[2026-09-05 00:00:03] local.INFO: TCP Data received {"connection_id":172557,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:00:03] local.INFO: Processing buffer {"connection_id":172557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:00:03] local.INFO: IMEI packet received {"connection_id":172557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":172557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:00:08] local.INFO: TCP Data received {"connection_id":172557,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:00:08] local.INFO: Processing buffer {"connection_id":172557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:00:08] local.INFO: IMEI packet received {"connection_id":172557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":172557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:00:09] local.INFO: TCP Data received {"connection_id":172557,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06dace6f8012d34c54006aa42a8001a011f27..."} 
[2026-09-05 00:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dace6f8012d34c54006aa42a8001a011f27..."} 
[2026-09-05 00:00:09] local.INFO: Processing buffer {"connection_id":172557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dace6f8012d34c54006aa42a8001a011f27..."} 
[2026-09-05 00:00:09] local.INFO: Packet analysis {"connection_id":172557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dac"} 
[2026-09-05 00:00:09] local.INFO: Extracted packet for processing {"connection_id":172557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dac"} 
[2026-09-05 00:00:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":26,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867814144001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788546443000,"timestamp_ms":1788546443000,"timestamp_seconds":1788546443,"priority":1,"record_length":96,"hex_timestamp":"000001a06dace6f8"} 
[2026-09-05 00:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:00: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-09-05 00: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-05 00:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867814144001,"66":25995,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867814144001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:00:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:00:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867814144001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":172557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:00:09] local.INFO: GPS data processed {"connection_id":172557,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:00:09] local.INFO: Acknowledgment sent {"connection_id":172557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:00:13] local.INFO: TCP Data received {"connection_id":172557,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06dace6f8012d34c54006aa42a8001a011f27..."} 
[2026-09-05 00:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dace6f8012d34c54006aa42a8001a011f27..."} 
[2026-09-05 00:00:13] local.INFO: Processing buffer {"connection_id":172557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dace6f8012d34c54006aa42a8001a011f27..."} 
[2026-09-05 00:00:13] local.INFO: Packet analysis {"connection_id":172557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dac"} 
[2026-09-05 00:00:13] local.INFO: Extracted packet for processing {"connection_id":172557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dac"} 
[2026-09-05 00:00:13] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":26,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867814144001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788546443000,"timestamp_ms":1788546443000,"timestamp_seconds":1788546443,"priority":1,"record_length":96,"hex_timestamp":"000001a06dace6f8"} 
[2026-09-05 00:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 00:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-05 00:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":172557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":172557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":172557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867814144001,"66":25995,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867814144001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:00:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:00:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867814144001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":172557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:00:13] local.INFO: GPS data processed {"connection_id":172557,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:00:13] local.INFO: Acknowledgment sent {"connection_id":172557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:00:58] local.INFO: TCP Data received {"connection_id":171453,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:00:58] local.INFO: Processing buffer {"connection_id":171453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:00:58] local.INFO: IMEI packet received {"connection_id":171453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":171453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:01:03] local.INFO: TCP Data received {"connection_id":171453,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:01:03] local.INFO: Processing buffer {"connection_id":171453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:01:03] local.INFO: IMEI packet received {"connection_id":171453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":171453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:01:05] local.INFO: TCP Data received {"connection_id":171453,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06dace6f8012d34c54006aa42a8001a011f27..."} 
[2026-09-05 00:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dace6f8012d34c54006aa42a8001a011f27..."} 
[2026-09-05 00:01:05] local.INFO: Processing buffer {"connection_id":171453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dace6f8012d34c54006aa42a8001a011f27..."} 
[2026-09-05 00:01:05] local.INFO: Packet analysis {"connection_id":171453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dac"} 
[2026-09-05 00:01:05] local.INFO: Extracted packet for processing {"connection_id":171453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dac"} 
[2026-09-05 00:01:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":26,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867814144001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788546443000,"timestamp_ms":1788546443000,"timestamp_seconds":1788546443,"priority":1,"record_length":96,"hex_timestamp":"000001a06dace6f8"} 
[2026-09-05 00:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:01: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-09-05 00: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-05 00:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:01: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-09-05 00:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867814144001,"66":25995,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867814144001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:01:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:01:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867814144001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":171453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:01:05] local.INFO: GPS data processed {"connection_id":171453,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:01:05] local.INFO: Acknowledgment sent {"connection_id":171453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:01:36] local.INFO: TCP Data received {"connection_id":171453,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06dace6f8012d34c54006aa42a8001a011f27..."} 
[2026-09-05 00:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dace6f8012d34c54006aa42a8001a011f27..."} 
[2026-09-05 00:01:36] local.INFO: Processing buffer {"connection_id":171453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dace6f8012d34c54006aa42a8001a011f27..."} 
[2026-09-05 00:01:36] local.INFO: Packet analysis {"connection_id":171453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dac"} 
[2026-09-05 00:01:36] local.INFO: Extracted packet for processing {"connection_id":171453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dac"} 
[2026-09-05 00:01:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":26,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867814144001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788546443000,"timestamp_ms":1788546443000,"timestamp_seconds":1788546443,"priority":1,"record_length":96,"hex_timestamp":"000001a06dace6f8"} 
[2026-09-05 00:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:01: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-09-05 00: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-05 00:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:01: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-09-05 00:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867814144001,"66":25995,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867814144001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:01:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:01:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867814144001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":171453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:01:36] local.INFO: GPS data processed {"connection_id":171453,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:01:36] local.INFO: Acknowledgment sent {"connection_id":171453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:01:58] local.INFO: TCP Data received {"connection_id":173844,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:01:58] local.INFO: Processing buffer {"connection_id":173844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:01:58] local.INFO: IMEI packet received {"connection_id":173844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":173844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:02:03] local.INFO: TCP Data received {"connection_id":173844,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:02:03] local.INFO: Processing buffer {"connection_id":173844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:02:03] local.INFO: IMEI packet received {"connection_id":173844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":173844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:02:04] local.INFO: TCP Data received {"connection_id":173844,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06dace6f8012d34c54006aa42a8001a011f27..."} 
[2026-09-05 00:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dace6f8012d34c54006aa42a8001a011f27..."} 
[2026-09-05 00:02:04] local.INFO: Processing buffer {"connection_id":173844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dace6f8012d34c54006aa42a8001a011f27..."} 
[2026-09-05 00:02:04] local.INFO: Packet analysis {"connection_id":173844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dac"} 
[2026-09-05 00:02:04] local.INFO: Extracted packet for processing {"connection_id":173844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dac"} 
[2026-09-05 00:02:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":26,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867814144001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788546443000,"timestamp_ms":1788546443000,"timestamp_seconds":1788546443,"priority":1,"record_length":96,"hex_timestamp":"000001a06dace6f8"} 
[2026-09-05 00:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:02: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-09-05 00: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-05 00:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:02: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-09-05 00:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867814144001,"66":25995,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867814144001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:02:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:02:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867814144001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":173844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:02:04] local.INFO: GPS data processed {"connection_id":173844,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:02:04] local.INFO: Acknowledgment sent {"connection_id":173844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:02:35] local.INFO: TCP Data received {"connection_id":173844,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06dace6f8012d34c54006aa42a8001a011f27..."} 
[2026-09-05 00:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dace6f8012d34c54006aa42a8001a011f27..."} 
[2026-09-05 00:02:35] local.INFO: Processing buffer {"connection_id":173844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dace6f8012d34c54006aa42a8001a011f27..."} 
[2026-09-05 00:02:35] local.INFO: Packet analysis {"connection_id":173844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dac"} 
[2026-09-05 00:02:35] local.INFO: Extracted packet for processing {"connection_id":173844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dac"} 
[2026-09-05 00:02:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":26,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867814144001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788546443000,"timestamp_ms":1788546443000,"timestamp_seconds":1788546443,"priority":1,"record_length":96,"hex_timestamp":"000001a06dace6f8"} 
[2026-09-05 00:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:02:35] 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-09-05 00: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-05 00:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867814144001,"66":25995,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867814144001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:02:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:02:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867814144001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":173844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:02:35] local.INFO: GPS data processed {"connection_id":173844,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:02:35] local.INFO: Acknowledgment sent {"connection_id":173844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:02:58] local.INFO: TCP Data received {"connection_id":172558,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:02:58] local.INFO: Processing buffer {"connection_id":172558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:02:58] local.INFO: IMEI packet received {"connection_id":172558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":172558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:03:02] local.INFO: TCP Data received {"connection_id":172558,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:03:02] local.INFO: Processing buffer {"connection_id":172558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:03:02] local.INFO: IMEI packet received {"connection_id":172558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":172558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:03:03] local.INFO: TCP Data received {"connection_id":172558,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06db17ec0012d34c54006aa42a8000f011f26..."} 
[2026-09-05 00:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06db17ec0012d34c54006aa42a8000f011f26..."} 
[2026-09-05 00:03:03] local.INFO: Processing buffer {"connection_id":172558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06db17ec0012d34c54006aa42a8000f011f26..."} 
[2026-09-05 00:03:03] local.INFO: Packet analysis {"connection_id":172558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06db1"} 
[2026-09-05 00:03:03] local.INFO: Extracted packet for processing {"connection_id":172558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06db1"} 
[2026-09-05 00:03:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867889408001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788546744000,"timestamp_ms":1788546744000,"timestamp_seconds":1788546744,"priority":1,"record_length":96,"hex_timestamp":"000001a06db17ec0"} 
[2026-09-05 00:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:03: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-09-05 00:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 00:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867889408001,"66":25973,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867889408001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:03:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:03:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867889408001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":172558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:03:03] local.INFO: GPS data processed {"connection_id":172558,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:03:03] local.INFO: Acknowledgment sent {"connection_id":172558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:03:34] local.INFO: TCP Data received {"connection_id":172558,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06db17ec0012d34c54006aa42a8000f011f26..."} 
[2026-09-05 00:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06db17ec0012d34c54006aa42a8000f011f26..."} 
[2026-09-05 00:03:34] local.INFO: Processing buffer {"connection_id":172558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06db17ec0012d34c54006aa42a8000f011f26..."} 
[2026-09-05 00:03:34] local.INFO: Packet analysis {"connection_id":172558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06db1"} 
[2026-09-05 00:03:34] local.INFO: Extracted packet for processing {"connection_id":172558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06db1"} 
[2026-09-05 00:03:34] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867889408001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788546744000,"timestamp_ms":1788546744000,"timestamp_seconds":1788546744,"priority":1,"record_length":96,"hex_timestamp":"000001a06db17ec0"} 
[2026-09-05 00:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:03: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-09-05 00: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 00:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867889408001,"66":25973,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867889408001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:03:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:03:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867889408001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":172558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:03:34] local.INFO: GPS data processed {"connection_id":172558,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:03:34] local.INFO: Acknowledgment sent {"connection_id":172558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:03:58] local.INFO: TCP Data received {"connection_id":173845,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:03:58] local.INFO: Processing buffer {"connection_id":173845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:03:58] local.INFO: IMEI packet received {"connection_id":173845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":173845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:04:03] local.INFO: TCP Data received {"connection_id":173845,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:04:03] local.INFO: Processing buffer {"connection_id":173845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:04:03] local.INFO: IMEI packet received {"connection_id":173845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":173845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:04:04] local.INFO: TCP Data received {"connection_id":173845,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06db17ec0012d34c54006aa42a8000f011f26..."} 
[2026-09-05 00:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06db17ec0012d34c54006aa42a8000f011f26..."} 
[2026-09-05 00:04:04] local.INFO: Processing buffer {"connection_id":173845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06db17ec0012d34c54006aa42a8000f011f26..."} 
[2026-09-05 00:04:04] local.INFO: Packet analysis {"connection_id":173845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06db1"} 
[2026-09-05 00:04:04] local.INFO: Extracted packet for processing {"connection_id":173845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06db1"} 
[2026-09-05 00:04:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867889408001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788546744000,"timestamp_ms":1788546744000,"timestamp_seconds":1788546744,"priority":1,"record_length":96,"hex_timestamp":"000001a06db17ec0"} 
[2026-09-05 00:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:04: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-09-05 00: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 00:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867889408001,"66":25973,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867889408001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:04:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:04:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867889408001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":173845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:04:04] local.INFO: GPS data processed {"connection_id":173845,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:04:04] local.INFO: Acknowledgment sent {"connection_id":173845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:04:35] local.INFO: TCP Data received {"connection_id":173845,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06db17ec0012d34c54006aa42a8000f011f26..."} 
[2026-09-05 00:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06db17ec0012d34c54006aa42a8000f011f26..."} 
[2026-09-05 00:04:35] local.INFO: Processing buffer {"connection_id":173845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06db17ec0012d34c54006aa42a8000f011f26..."} 
[2026-09-05 00:04:35] local.INFO: Packet analysis {"connection_id":173845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06db1"} 
[2026-09-05 00:04:35] local.INFO: Extracted packet for processing {"connection_id":173845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06db1"} 
[2026-09-05 00:04:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867889408001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788546744000,"timestamp_ms":1788546744000,"timestamp_seconds":1788546744,"priority":1,"record_length":96,"hex_timestamp":"000001a06db17ec0"} 
[2026-09-05 00:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:04:35] 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-09-05 00:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 00:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867889408001,"66":25973,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867889408001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:04:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:04:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867889408001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":173845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:04:35] local.INFO: GPS data processed {"connection_id":173845,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:04:35] local.INFO: Acknowledgment sent {"connection_id":173845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:05:03] local.INFO: TCP Data received {"connection_id":173846,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:05:03] local.INFO: Processing buffer {"connection_id":173846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:05:03] local.INFO: IMEI packet received {"connection_id":173846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":173846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:05:08] local.INFO: TCP Data received {"connection_id":173846,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:05:08] local.INFO: Processing buffer {"connection_id":173846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:05:08] local.INFO: IMEI packet received {"connection_id":173846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":173846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:05:09] local.INFO: TCP Data received {"connection_id":173846,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a06db17ec0012d34c54006aa42a8000f011f26..."} 
[2026-09-05 00:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06db17ec0012d34c54006aa42a8000f011f26..."} 
[2026-09-05 00:05:09] local.INFO: Processing buffer {"connection_id":173846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06db17ec0012d34c54006aa42a8000f011f26..."} 
[2026-09-05 00:05:09] local.INFO: Packet analysis {"connection_id":173846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06db1"} 
[2026-09-05 00:05:09] local.INFO: Extracted packet for processing {"connection_id":173846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06db1"} 
[2026-09-05 00:05:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867889408001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788546744000,"timestamp_ms":1788546744000,"timestamp_seconds":1788546744,"priority":1,"record_length":96,"hex_timestamp":"000001a06db17ec0"} 
[2026-09-05 00:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:05: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-09-05 00: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 00:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867889408001,"66":25973,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867889408001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:05:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:05:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867889408001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":173846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:05:09] local.INFO: GPS data processed {"connection_id":173846,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:05:09] local.INFO: Acknowledgment sent {"connection_id":173846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:05:13] local.INFO: TCP Data received {"connection_id":173846,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a06db17ec0012d34c54006aa42a8000f011f26..."} 
[2026-09-05 00:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06db17ec0012d34c54006aa42a8000f011f26..."} 
[2026-09-05 00:05:13] local.INFO: Processing buffer {"connection_id":173846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06db17ec0012d34c54006aa42a8000f011f26..."} 
[2026-09-05 00:05:13] local.INFO: Packet analysis {"connection_id":173846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06db1"} 
[2026-09-05 00:05:13] local.INFO: Extracted packet for processing {"connection_id":173846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06db1"} 
[2026-09-05 00:05:13] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867889408001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788546744000,"timestamp_ms":1788546744000,"timestamp_seconds":1788546744,"priority":1,"record_length":96,"hex_timestamp":"000001a06db17ec0"} 
[2026-09-05 00:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 00:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 00:05:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":173846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":173846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":173846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867889408001,"66":25973,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867889408001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:05:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:05:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867889408001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":173846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:05:13] local.INFO: GPS data processed {"connection_id":173846,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:05:13] local.INFO: Acknowledgment sent {"connection_id":173846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:05:58] local.INFO: TCP Data received {"connection_id":171155,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:05:58] local.INFO: Processing buffer {"connection_id":171155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:05:58] local.INFO: IMEI packet received {"connection_id":171155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":171155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:06:03] local.INFO: TCP Data received {"connection_id":171155,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:06:03] local.INFO: Processing buffer {"connection_id":171155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:06:03] local.INFO: IMEI packet received {"connection_id":171155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":171155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:06:04] local.INFO: TCP Data received {"connection_id":171155,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a06db17ec0012d34c54006aa42a8000f011f26..."} 
[2026-09-05 00:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06db17ec0012d34c54006aa42a8000f011f26..."} 
[2026-09-05 00:06:04] local.INFO: Processing buffer {"connection_id":171155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06db17ec0012d34c54006aa42a8000f011f26..."} 
[2026-09-05 00:06:04] local.INFO: Packet analysis {"connection_id":171155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06db1"} 
[2026-09-05 00:06:04] local.INFO: Extracted packet for processing {"connection_id":171155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06db1"} 
[2026-09-05 00:06:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867889408001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788546744000,"timestamp_ms":1788546744000,"timestamp_seconds":1788546744,"priority":1,"record_length":96,"hex_timestamp":"000001a06db17ec0"} 
[2026-09-05 00:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:06: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-09-05 00: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 00:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867889408001,"66":25973,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867889408001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:06:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:06:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867889408001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":171155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:06:04] local.INFO: GPS data processed {"connection_id":171155,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:06:04] local.INFO: Acknowledgment sent {"connection_id":171155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:06:35] local.INFO: TCP Data received {"connection_id":171155,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a06db17ec0012d34c54006aa42a8000f011f26..."} 
[2026-09-05 00:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06db17ec0012d34c54006aa42a8000f011f26..."} 
[2026-09-05 00:06:35] local.INFO: Processing buffer {"connection_id":171155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06db17ec0012d34c54006aa42a8000f011f26..."} 
[2026-09-05 00:06:35] local.INFO: Packet analysis {"connection_id":171155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06db1"} 
[2026-09-05 00:06:35] local.INFO: Extracted packet for processing {"connection_id":171155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06db1"} 
[2026-09-05 00:06:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867889408001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788546744000,"timestamp_ms":1788546744000,"timestamp_seconds":1788546744,"priority":1,"record_length":96,"hex_timestamp":"000001a06db17ec0"} 
[2026-09-05 00:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:06:35] 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-09-05 00:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 00:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867889408001,"66":25973,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867889408001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:06:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:06:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867889408001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":171155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:06:35] local.INFO: GPS data processed {"connection_id":171155,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:06:35] local.INFO: Acknowledgment sent {"connection_id":171155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:06:58] local.INFO: TCP Data received {"connection_id":171454,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:06:58] local.INFO: Processing buffer {"connection_id":171454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:06:58] local.INFO: IMEI packet received {"connection_id":171454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":171454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:07:03] local.INFO: TCP Data received {"connection_id":171454,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:07:03] local.INFO: Processing buffer {"connection_id":171454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:07:03] local.INFO: IMEI packet received {"connection_id":171454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":171454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:07:04] local.INFO: TCP Data received {"connection_id":171454,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a06db17ec0012d34c54006aa42a8000f011f26..."} 
[2026-09-05 00:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06db17ec0012d34c54006aa42a8000f011f26..."} 
[2026-09-05 00:07:04] local.INFO: Processing buffer {"connection_id":171454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06db17ec0012d34c54006aa42a8000f011f26..."} 
[2026-09-05 00:07:04] local.INFO: Packet analysis {"connection_id":171454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06db1"} 
[2026-09-05 00:07:04] local.INFO: Extracted packet for processing {"connection_id":171454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06db1"} 
[2026-09-05 00:07:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867889408001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788546744000,"timestamp_ms":1788546744000,"timestamp_seconds":1788546744,"priority":1,"record_length":96,"hex_timestamp":"000001a06db17ec0"} 
[2026-09-05 00:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:07: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-09-05 00:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 00:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867889408001,"66":25973,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867889408001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:07:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:07:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867889408001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":171454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:07:04] local.INFO: GPS data processed {"connection_id":171454,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:07:04] local.INFO: Acknowledgment sent {"connection_id":171454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:07:36] local.INFO: TCP Data received {"connection_id":171454,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a06db17ec0012d34c54006aa42a8000f011f26..."} 
[2026-09-05 00:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06db17ec0012d34c54006aa42a8000f011f26..."} 
[2026-09-05 00:07:36] local.INFO: Processing buffer {"connection_id":171454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06db17ec0012d34c54006aa42a8000f011f26..."} 
[2026-09-05 00:07:36] local.INFO: Packet analysis {"connection_id":171454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06db1"} 
[2026-09-05 00:07:36] local.INFO: Extracted packet for processing {"connection_id":171454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06db1"} 
[2026-09-05 00:07:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867889408001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788546744000,"timestamp_ms":1788546744000,"timestamp_seconds":1788546744,"priority":1,"record_length":96,"hex_timestamp":"000001a06db17ec0"} 
[2026-09-05 00:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:07: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-09-05 00: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 00:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867889408001,"66":25973,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867889408001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:07:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:07:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867889408001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":171454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:07:36] local.INFO: GPS data processed {"connection_id":171454,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:07:36] local.INFO: Acknowledgment sent {"connection_id":171454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:07:58] local.INFO: TCP Data received {"connection_id":172559,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:07:58] local.INFO: Processing buffer {"connection_id":172559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:07:58] local.INFO: IMEI packet received {"connection_id":172559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":172559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:08:03] local.INFO: TCP Data received {"connection_id":172559,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:08:03] local.INFO: Processing buffer {"connection_id":172559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:08:03] local.INFO: IMEI packet received {"connection_id":172559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":172559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:08:04] local.INFO: TCP Data received {"connection_id":172559,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a06db61688012d34c54006aa42a8000f011f21..."} 
[2026-09-05 00:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06db61688012d34c54006aa42a8000f011f21..."} 
[2026-09-05 00:08:04] local.INFO: Processing buffer {"connection_id":172559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06db61688012d34c54006aa42a8000f011f21..."} 
[2026-09-05 00:08:04] local.INFO: Packet analysis {"connection_id":172559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06db6"} 
[2026-09-05 00:08:04] local.INFO: Extracted packet for processing {"connection_id":172559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06db6"} 
[2026-09-05 00:08:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867966464001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788547045000,"timestamp_ms":1788547045000,"timestamp_seconds":1788547045,"priority":1,"record_length":96,"hex_timestamp":"000001a06db61688"} 
[2026-09-05 00:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:08: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-09-05 00: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-05 00:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867966464001,"66":25897,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867966464001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:08:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:08:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867966464001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":172559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:08:04] local.INFO: GPS data processed {"connection_id":172559,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:08:04] local.INFO: Acknowledgment sent {"connection_id":172559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:08:36] local.INFO: TCP Data received {"connection_id":172559,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a06db61688012d34c54006aa42a8000f011f21..."} 
[2026-09-05 00:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06db61688012d34c54006aa42a8000f011f21..."} 
[2026-09-05 00:08:36] local.INFO: Processing buffer {"connection_id":172559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06db61688012d34c54006aa42a8000f011f21..."} 
[2026-09-05 00:08:36] local.INFO: Packet analysis {"connection_id":172559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06db6"} 
[2026-09-05 00:08:36] local.INFO: Extracted packet for processing {"connection_id":172559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06db6"} 
[2026-09-05 00:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867966464001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788547045000,"timestamp_ms":1788547045000,"timestamp_seconds":1788547045,"priority":1,"record_length":96,"hex_timestamp":"000001a06db61688"} 
[2026-09-05 00:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:08: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-09-05 00: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":117,"data_length":795,"current_offset":136} 
[2026-09-05 00:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867966464001,"66":25897,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867966464001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:08:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:08:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867966464001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":172559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:08:36] local.INFO: GPS data processed {"connection_id":172559,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:08:36] local.INFO: Acknowledgment sent {"connection_id":172559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:08:58] local.INFO: TCP Data received {"connection_id":171455,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:08:58] local.INFO: Processing buffer {"connection_id":171455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:08:58] local.INFO: IMEI packet received {"connection_id":171455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":171455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:09:03] local.INFO: TCP Data received {"connection_id":171455,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:09:03] local.INFO: Processing buffer {"connection_id":171455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:09:03] local.INFO: IMEI packet received {"connection_id":171455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":171455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:09:04] local.INFO: TCP Data received {"connection_id":171455,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06db61688012d34c54006aa42a8000f011f21..."} 
[2026-09-05 00:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06db61688012d34c54006aa42a8000f011f21..."} 
[2026-09-05 00:09:04] local.INFO: Processing buffer {"connection_id":171455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06db61688012d34c54006aa42a8000f011f21..."} 
[2026-09-05 00:09:04] local.INFO: Packet analysis {"connection_id":171455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06db6"} 
[2026-09-05 00:09:04] local.INFO: Extracted packet for processing {"connection_id":171455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06db6"} 
[2026-09-05 00:09:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867966464001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788547045000,"timestamp_ms":1788547045000,"timestamp_seconds":1788547045,"priority":1,"record_length":96,"hex_timestamp":"000001a06db61688"} 
[2026-09-05 00:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:09: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-09-05 00: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-05 00:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:09: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-09-05 00:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867966464001,"66":25897,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867966464001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:09:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:09:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867966464001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":171455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:09:04] local.INFO: GPS data processed {"connection_id":171455,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:09:04] local.INFO: Acknowledgment sent {"connection_id":171455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:09:34] local.INFO: TCP Data received {"connection_id":171455,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06db61688012d34c54006aa42a8000f011f21..."} 
[2026-09-05 00:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06db61688012d34c54006aa42a8000f011f21..."} 
[2026-09-05 00:09:35] local.INFO: Processing buffer {"connection_id":171455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06db61688012d34c54006aa42a8000f011f21..."} 
[2026-09-05 00:09:35] local.INFO: Packet analysis {"connection_id":171455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06db6"} 
[2026-09-05 00:09:35] local.INFO: Extracted packet for processing {"connection_id":171455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06db6"} 
[2026-09-05 00:09:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867966464001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788547045000,"timestamp_ms":1788547045000,"timestamp_seconds":1788547045,"priority":1,"record_length":96,"hex_timestamp":"000001a06db61688"} 
[2026-09-05 00:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:09:35] 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-09-05 00:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-05 00:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867966464001,"66":25897,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867966464001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:09:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:09:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867966464001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":171455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:09:35] local.INFO: GPS data processed {"connection_id":171455,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:09:35] local.INFO: Acknowledgment sent {"connection_id":171455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:09:58] local.INFO: TCP Data received {"connection_id":171456,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:09:58] local.INFO: Processing buffer {"connection_id":171456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:09:58] local.INFO: IMEI packet received {"connection_id":171456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":171456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:10:03] local.INFO: TCP Data received {"connection_id":171456,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:10:03] local.INFO: Processing buffer {"connection_id":171456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:10:03] local.INFO: IMEI packet received {"connection_id":171456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":171456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:10:04] local.INFO: TCP Data received {"connection_id":171456,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06db61688012d34c54006aa42a8000f011f21..."} 
[2026-09-05 00:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06db61688012d34c54006aa42a8000f011f21..."} 
[2026-09-05 00:10:04] local.INFO: Processing buffer {"connection_id":171456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06db61688012d34c54006aa42a8000f011f21..."} 
[2026-09-05 00:10:04] local.INFO: Packet analysis {"connection_id":171456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06db6"} 
[2026-09-05 00:10:04] local.INFO: Extracted packet for processing {"connection_id":171456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06db6"} 
[2026-09-05 00:10:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867966464001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788547045000,"timestamp_ms":1788547045000,"timestamp_seconds":1788547045,"priority":1,"record_length":96,"hex_timestamp":"000001a06db61688"} 
[2026-09-05 00:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:10: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-09-05 00: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-05 00:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:10: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-09-05 00:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867966464001,"66":25897,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867966464001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:10:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:10:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867966464001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":171456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:10:04] local.INFO: GPS data processed {"connection_id":171456,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:10:04] local.INFO: Acknowledgment sent {"connection_id":171456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:10:35] local.INFO: TCP Data received {"connection_id":171456,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06db61688012d34c54006aa42a8000f011f21..."} 
[2026-09-05 00:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06db61688012d34c54006aa42a8000f011f21..."} 
[2026-09-05 00:10:35] local.INFO: Processing buffer {"connection_id":171456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06db61688012d34c54006aa42a8000f011f21..."} 
[2026-09-05 00:10:35] local.INFO: Packet analysis {"connection_id":171456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06db6"} 
[2026-09-05 00:10:35] local.INFO: Extracted packet for processing {"connection_id":171456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06db6"} 
[2026-09-05 00:10:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867966464001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788547045000,"timestamp_ms":1788547045000,"timestamp_seconds":1788547045,"priority":1,"record_length":96,"hex_timestamp":"000001a06db61688"} 
[2026-09-05 00:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:10:35] 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-09-05 00: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-05 00:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867966464001,"66":25897,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867966464001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:10:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:10:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867966464001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":171456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:10:35] local.INFO: GPS data processed {"connection_id":171456,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:10:35] local.INFO: Acknowledgment sent {"connection_id":171456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:10:58] local.INFO: TCP Data received {"connection_id":172560,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:10:58] local.INFO: Processing buffer {"connection_id":172560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:10:58] local.INFO: IMEI packet received {"connection_id":172560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":172560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:11:03] local.INFO: TCP Data received {"connection_id":172560,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:11:03] local.INFO: Processing buffer {"connection_id":172560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:11:03] local.INFO: IMEI packet received {"connection_id":172560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":172560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:11:04] local.INFO: TCP Data received {"connection_id":172560,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a06db61688012d34c54006aa42a8000f011f21..."} 
[2026-09-05 00:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06db61688012d34c54006aa42a8000f011f21..."} 
[2026-09-05 00:11:04] local.INFO: Processing buffer {"connection_id":172560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06db61688012d34c54006aa42a8000f011f21..."} 
[2026-09-05 00:11:04] local.INFO: Packet analysis {"connection_id":172560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06db6"} 
[2026-09-05 00:11:04] local.INFO: Extracted packet for processing {"connection_id":172560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06db6"} 
[2026-09-05 00:11:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867966464001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788547045000,"timestamp_ms":1788547045000,"timestamp_seconds":1788547045,"priority":1,"record_length":96,"hex_timestamp":"000001a06db61688"} 
[2026-09-05 00:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:11: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-09-05 00: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-05 00:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:11: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-09-05 00:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867966464001,"66":25897,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867966464001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:11:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:11:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867966464001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":172560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:11:04] local.INFO: GPS data processed {"connection_id":172560,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:11:04] local.INFO: Acknowledgment sent {"connection_id":172560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:11:35] local.INFO: TCP Data received {"connection_id":172560,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a06db61688012d34c54006aa42a8000f011f21..."} 
[2026-09-05 00:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06db61688012d34c54006aa42a8000f011f21..."} 
[2026-09-05 00:11:35] local.INFO: Processing buffer {"connection_id":172560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06db61688012d34c54006aa42a8000f011f21..."} 
[2026-09-05 00:11:35] local.INFO: Packet analysis {"connection_id":172560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06db6"} 
[2026-09-05 00:11:35] local.INFO: Extracted packet for processing {"connection_id":172560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06db6"} 
[2026-09-05 00:11:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867966464001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788547045000,"timestamp_ms":1788547045000,"timestamp_seconds":1788547045,"priority":1,"record_length":96,"hex_timestamp":"000001a06db61688"} 
[2026-09-05 00:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:11:35] 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-09-05 00:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-05 00:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867966464001,"66":25897,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867966464001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:11:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:11:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867966464001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":172560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:11:35] local.INFO: GPS data processed {"connection_id":172560,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:11:35] local.INFO: Acknowledgment sent {"connection_id":172560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:11:58] local.INFO: TCP Data received {"connection_id":171457,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:11:58] local.INFO: Processing buffer {"connection_id":171457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:11:58] local.INFO: IMEI packet received {"connection_id":171457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":171457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:12:03] local.INFO: TCP Data received {"connection_id":171457,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:12:03] local.INFO: Processing buffer {"connection_id":171457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:12:03] local.INFO: IMEI packet received {"connection_id":171457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":171457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:12:04] local.INFO: TCP Data received {"connection_id":171457,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a06db61688012d34c54006aa42a8000f011f21..."} 
[2026-09-05 00:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06db61688012d34c54006aa42a8000f011f21..."} 
[2026-09-05 00:12:04] local.INFO: Processing buffer {"connection_id":171457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06db61688012d34c54006aa42a8000f011f21..."} 
[2026-09-05 00:12:04] local.INFO: Packet analysis {"connection_id":171457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06db6"} 
[2026-09-05 00:12:04] local.INFO: Extracted packet for processing {"connection_id":171457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06db6"} 
[2026-09-05 00:12:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867966464001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788547045000,"timestamp_ms":1788547045000,"timestamp_seconds":1788547045,"priority":1,"record_length":96,"hex_timestamp":"000001a06db61688"} 
[2026-09-05 00:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:12: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-09-05 00:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-05 00:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:12: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-09-05 00:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867966464001,"66":25897,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867966464001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:12:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:12:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867966464001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":171457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:12:04] local.INFO: GPS data processed {"connection_id":171457,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:12:04] local.INFO: Acknowledgment sent {"connection_id":171457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:12:35] local.INFO: TCP Data received {"connection_id":171457,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a06db61688012d34c54006aa42a8000f011f21..."} 
[2026-09-05 00:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06db61688012d34c54006aa42a8000f011f21..."} 
[2026-09-05 00:12:35] local.INFO: Processing buffer {"connection_id":171457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06db61688012d34c54006aa42a8000f011f21..."} 
[2026-09-05 00:12:35] local.INFO: Packet analysis {"connection_id":171457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06db6"} 
[2026-09-05 00:12:35] local.INFO: Extracted packet for processing {"connection_id":171457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06db6"} 
[2026-09-05 00:12:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867966464001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788547045000,"timestamp_ms":1788547045000,"timestamp_seconds":1788547045,"priority":1,"record_length":96,"hex_timestamp":"000001a06db61688"} 
[2026-09-05 00:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:12:35] 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-09-05 00:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-05 00:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867966464001,"66":25897,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867966464001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:12:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:12:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867966464001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":171457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:12:35] local.INFO: GPS data processed {"connection_id":171457,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:12:35] local.INFO: Acknowledgment sent {"connection_id":171457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:12:58] local.INFO: TCP Data received {"connection_id":172561,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:12:58] local.INFO: Processing buffer {"connection_id":172561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:12:58] local.INFO: IMEI packet received {"connection_id":172561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":172561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:13:03] local.INFO: TCP Data received {"connection_id":172561,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:13:03] local.INFO: Processing buffer {"connection_id":172561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:13:03] local.INFO: IMEI packet received {"connection_id":172561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":172561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:13:04] local.INFO: TCP Data received {"connection_id":172561,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a06db61688012d34c54006aa42a8000f011f21..."} 
[2026-09-05 00:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06db61688012d34c54006aa42a8000f011f21..."} 
[2026-09-05 00:13:04] local.INFO: Processing buffer {"connection_id":172561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06db61688012d34c54006aa42a8000f011f21..."} 
[2026-09-05 00:13:04] local.INFO: Packet analysis {"connection_id":172561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06db6"} 
[2026-09-05 00:13:04] local.INFO: Extracted packet for processing {"connection_id":172561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06db6"} 
[2026-09-05 00:13:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457867966464001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788547045000,"timestamp_ms":1788547045000,"timestamp_seconds":1788547045,"priority":1,"record_length":96,"hex_timestamp":"000001a06db61688"} 
[2026-09-05 00:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:13: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-09-05 00: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-05 00:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:13: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-09-05 00:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457867966464001,"66":25897,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457867966464001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:13:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:13:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457867966464001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":172561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:13:04] local.INFO: GPS data processed {"connection_id":172561,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:13:04] local.INFO: Acknowledgment sent {"connection_id":172561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:13:35] local.INFO: TCP Data received {"connection_id":172561,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a06dbaae50012d34c54006aa42a8000f011f25..."} 
[2026-09-05 00:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dbaae50012d34c54006aa42a8000f011f25..."} 
[2026-09-05 00:13:35] local.INFO: Processing buffer {"connection_id":172561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dbaae50012d34c54006aa42a8000f011f25..."} 
[2026-09-05 00:13:35] local.INFO: Packet analysis {"connection_id":172561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dba"} 
[2026-09-05 00:13:35] local.INFO: Extracted packet for processing {"connection_id":172561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dba"} 
[2026-09-05 00:13:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868043520001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788547346000,"timestamp_ms":1788547346000,"timestamp_seconds":1788547346,"priority":1,"record_length":96,"hex_timestamp":"000001a06dbaae50"} 
[2026-09-05 00:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:13:35] 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-09-05 00:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-05 00:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868043520001,"66":25778,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868043520001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:13:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:13:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868043520001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":172561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:13:35] local.INFO: GPS data processed {"connection_id":172561,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:13:35] local.INFO: Acknowledgment sent {"connection_id":172561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:13:58] local.INFO: TCP Data received {"connection_id":173847,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:13:58] local.INFO: Processing buffer {"connection_id":173847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:13:58] local.INFO: IMEI packet received {"connection_id":173847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":173847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:14:03] local.INFO: TCP Data received {"connection_id":173847,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:14:03] local.INFO: Processing buffer {"connection_id":173847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:14:03] local.INFO: IMEI packet received {"connection_id":173847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":173847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:14:04] local.INFO: TCP Data received {"connection_id":173847,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a06dbaae50012d34c54006aa42a8000f011f25..."} 
[2026-09-05 00:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dbaae50012d34c54006aa42a8000f011f25..."} 
[2026-09-05 00:14:04] local.INFO: Processing buffer {"connection_id":173847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dbaae50012d34c54006aa42a8000f011f25..."} 
[2026-09-05 00:14:04] local.INFO: Packet analysis {"connection_id":173847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dba"} 
[2026-09-05 00:14:04] local.INFO: Extracted packet for processing {"connection_id":173847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dba"} 
[2026-09-05 00:14:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868043520001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788547346000,"timestamp_ms":1788547346000,"timestamp_seconds":1788547346,"priority":1,"record_length":96,"hex_timestamp":"000001a06dbaae50"} 
[2026-09-05 00:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:14: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-09-05 00: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-05 00:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:14: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-09-05 00:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868043520001,"66":25778,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868043520001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:14:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:14:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868043520001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":173847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:14:04] local.INFO: GPS data processed {"connection_id":173847,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:14:04] local.INFO: Acknowledgment sent {"connection_id":173847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:14:35] local.INFO: TCP Data received {"connection_id":173847,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a06dbaae50012d34c54006aa42a8000f011f25..."} 
[2026-09-05 00:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dbaae50012d34c54006aa42a8000f011f25..."} 
[2026-09-05 00:14:35] local.INFO: Processing buffer {"connection_id":173847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dbaae50012d34c54006aa42a8000f011f25..."} 
[2026-09-05 00:14:35] local.INFO: Packet analysis {"connection_id":173847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dba"} 
[2026-09-05 00:14:35] local.INFO: Extracted packet for processing {"connection_id":173847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dba"} 
[2026-09-05 00:14:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868043520001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788547346000,"timestamp_ms":1788547346000,"timestamp_seconds":1788547346,"priority":1,"record_length":96,"hex_timestamp":"000001a06dbaae50"} 
[2026-09-05 00:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:14:35] 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-09-05 00:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-05 00:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868043520001,"66":25778,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868043520001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:14:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:14:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868043520001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":173847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:14:35] local.INFO: GPS data processed {"connection_id":173847,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:14:35] local.INFO: Acknowledgment sent {"connection_id":173847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:14:58] local.INFO: TCP Data received {"connection_id":171458,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:14:58] local.INFO: Processing buffer {"connection_id":171458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:14:58] local.INFO: IMEI packet received {"connection_id":171458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":171458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:15:03] local.INFO: TCP Data received {"connection_id":171458,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:15:03] local.INFO: Processing buffer {"connection_id":171458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:15:03] local.INFO: IMEI packet received {"connection_id":171458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":171458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:15:04] local.INFO: TCP Data received {"connection_id":171458,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06dbaae50012d34c54006aa42a8000f011f25..."} 
[2026-09-05 00:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dbaae50012d34c54006aa42a8000f011f25..."} 
[2026-09-05 00:15:04] local.INFO: Processing buffer {"connection_id":171458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dbaae50012d34c54006aa42a8000f011f25..."} 
[2026-09-05 00:15:04] local.INFO: Packet analysis {"connection_id":171458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dba"} 
[2026-09-05 00:15:04] local.INFO: Extracted packet for processing {"connection_id":171458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dba"} 
[2026-09-05 00:15:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868043520001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788547346000,"timestamp_ms":1788547346000,"timestamp_seconds":1788547346,"priority":1,"record_length":96,"hex_timestamp":"000001a06dbaae50"} 
[2026-09-05 00:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:15: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-09-05 00: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-05 00:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00: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-09-05 00:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868043520001,"66":25778,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868043520001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:15:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:15:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868043520001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":171458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:15:04] local.INFO: GPS data processed {"connection_id":171458,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:15:04] local.INFO: Acknowledgment sent {"connection_id":171458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:15:35] local.INFO: TCP Data received {"connection_id":171458,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06dbaae50012d34c54006aa42a8000f011f25..."} 
[2026-09-05 00:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dbaae50012d34c54006aa42a8000f011f25..."} 
[2026-09-05 00:15:35] local.INFO: Processing buffer {"connection_id":171458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dbaae50012d34c54006aa42a8000f011f25..."} 
[2026-09-05 00:15:35] local.INFO: Packet analysis {"connection_id":171458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dba"} 
[2026-09-05 00:15:35] local.INFO: Extracted packet for processing {"connection_id":171458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dba"} 
[2026-09-05 00:15:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868043520001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788547346000,"timestamp_ms":1788547346000,"timestamp_seconds":1788547346,"priority":1,"record_length":96,"hex_timestamp":"000001a06dbaae50"} 
[2026-09-05 00:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:15:35] 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-09-05 00:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-05 00:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868043520001,"66":25778,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868043520001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:15:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:15:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868043520001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":171458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:15:35] local.INFO: GPS data processed {"connection_id":171458,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:15:35] local.INFO: Acknowledgment sent {"connection_id":171458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:15:58] local.INFO: TCP Data received {"connection_id":171156,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:15:58] local.INFO: Processing buffer {"connection_id":171156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:15:58] local.INFO: IMEI packet received {"connection_id":171156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":171156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:16:03] local.INFO: TCP Data received {"connection_id":171156,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:16:03] local.INFO: Processing buffer {"connection_id":171156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:16:03] local.INFO: IMEI packet received {"connection_id":171156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":171156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:16:04] local.INFO: TCP Data received {"connection_id":171156,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06dbaae50012d34c54006aa42a8000f011f25..."} 
[2026-09-05 00:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dbaae50012d34c54006aa42a8000f011f25..."} 
[2026-09-05 00:16:04] local.INFO: Processing buffer {"connection_id":171156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dbaae50012d34c54006aa42a8000f011f25..."} 
[2026-09-05 00:16:04] local.INFO: Packet analysis {"connection_id":171156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dba"} 
[2026-09-05 00:16:04] local.INFO: Extracted packet for processing {"connection_id":171156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dba"} 
[2026-09-05 00:16:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868043520001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788547346000,"timestamp_ms":1788547346000,"timestamp_seconds":1788547346,"priority":1,"record_length":96,"hex_timestamp":"000001a06dbaae50"} 
[2026-09-05 00:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:16: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-09-05 00: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-05 00:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:16: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-09-05 00:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868043520001,"66":25778,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868043520001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:16:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:16:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868043520001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":171156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:16:04] local.INFO: GPS data processed {"connection_id":171156,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:16:04] local.INFO: Acknowledgment sent {"connection_id":171156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:16:35] local.INFO: TCP Data received {"connection_id":171156,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06dbaae50012d34c54006aa42a8000f011f25..."} 
[2026-09-05 00:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dbaae50012d34c54006aa42a8000f011f25..."} 
[2026-09-05 00:16:35] local.INFO: Processing buffer {"connection_id":171156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dbaae50012d34c54006aa42a8000f011f25..."} 
[2026-09-05 00:16:35] local.INFO: Packet analysis {"connection_id":171156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dba"} 
[2026-09-05 00:16:35] local.INFO: Extracted packet for processing {"connection_id":171156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dba"} 
[2026-09-05 00:16:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868043520001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788547346000,"timestamp_ms":1788547346000,"timestamp_seconds":1788547346,"priority":1,"record_length":96,"hex_timestamp":"000001a06dbaae50"} 
[2026-09-05 00:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:16:35] 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-09-05 00: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-05 00:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868043520001,"66":25778,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868043520001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:16:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:16:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868043520001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":171156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:16:35] local.INFO: GPS data processed {"connection_id":171156,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:16:35] local.INFO: Acknowledgment sent {"connection_id":171156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:16:58] local.INFO: TCP Data received {"connection_id":172562,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:16:58] local.INFO: Processing buffer {"connection_id":172562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:16:58] local.INFO: IMEI packet received {"connection_id":172562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":172562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:17:03] local.INFO: TCP Data received {"connection_id":172562,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:17:03] local.INFO: Processing buffer {"connection_id":172562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:17:03] local.INFO: IMEI packet received {"connection_id":172562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":172562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:17:04] local.INFO: TCP Data received {"connection_id":172562,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06dbaae50012d34c54006aa42a8000f011f25..."} 
[2026-09-05 00:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dbaae50012d34c54006aa42a8000f011f25..."} 
[2026-09-05 00:17:04] local.INFO: Processing buffer {"connection_id":172562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dbaae50012d34c54006aa42a8000f011f25..."} 
[2026-09-05 00:17:04] local.INFO: Packet analysis {"connection_id":172562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dba"} 
[2026-09-05 00:17:04] local.INFO: Extracted packet for processing {"connection_id":172562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dba"} 
[2026-09-05 00:17:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868043520001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788547346000,"timestamp_ms":1788547346000,"timestamp_seconds":1788547346,"priority":1,"record_length":96,"hex_timestamp":"000001a06dbaae50"} 
[2026-09-05 00:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:17: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-09-05 00: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-05 00:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:17: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-09-05 00:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868043520001,"66":25778,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868043520001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:17:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:17:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868043520001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":172562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:17:04] local.INFO: GPS data processed {"connection_id":172562,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:17:04] local.INFO: Acknowledgment sent {"connection_id":172562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:17:36] local.INFO: TCP Data received {"connection_id":172562,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06dbaae50012d34c54006aa42a8000f011f25..."} 
[2026-09-05 00:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dbaae50012d34c54006aa42a8000f011f25..."} 
[2026-09-05 00:17:36] local.INFO: Processing buffer {"connection_id":172562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dbaae50012d34c54006aa42a8000f011f25..."} 
[2026-09-05 00:17:36] local.INFO: Packet analysis {"connection_id":172562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dba"} 
[2026-09-05 00:17:36] local.INFO: Extracted packet for processing {"connection_id":172562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dba"} 
[2026-09-05 00:17:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868043520001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788547346000,"timestamp_ms":1788547346000,"timestamp_seconds":1788547346,"priority":1,"record_length":96,"hex_timestamp":"000001a06dbaae50"} 
[2026-09-05 00:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:17: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-09-05 00: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-05 00:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:17: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-09-05 00:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868043520001,"66":25778,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868043520001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:17:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:17:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868043520001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":172562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:17:36] local.INFO: GPS data processed {"connection_id":172562,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:17:36] local.INFO: Acknowledgment sent {"connection_id":172562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:17:58] local.INFO: TCP Data received {"connection_id":171157,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:17:58] local.INFO: Processing buffer {"connection_id":171157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:17:58] local.INFO: IMEI packet received {"connection_id":171157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":171157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:18:03] local.INFO: TCP Data received {"connection_id":171157,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:18:03] local.INFO: Processing buffer {"connection_id":171157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:18:03] local.INFO: IMEI packet received {"connection_id":171157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":171157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:18:04] local.INFO: TCP Data received {"connection_id":171157,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06dbaae50012d34c54006aa42a8000f011f25..."} 
[2026-09-05 00:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dbaae50012d34c54006aa42a8000f011f25..."} 
[2026-09-05 00:18:04] local.INFO: Processing buffer {"connection_id":171157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dbaae50012d34c54006aa42a8000f011f25..."} 
[2026-09-05 00:18:04] local.INFO: Packet analysis {"connection_id":171157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dba"} 
[2026-09-05 00:18:04] local.INFO: Extracted packet for processing {"connection_id":171157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dba"} 
[2026-09-05 00:18:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868043520001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788547346000,"timestamp_ms":1788547346000,"timestamp_seconds":1788547346,"priority":1,"record_length":96,"hex_timestamp":"000001a06dbaae50"} 
[2026-09-05 00:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:18: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-09-05 00: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":41,"data_length":795,"current_offset":136} 
[2026-09-05 00:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:18: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-09-05 00:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868043520001,"66":25778,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868043520001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:18:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:18:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868043520001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":171157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:18:04] local.INFO: GPS data processed {"connection_id":171157,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:18:04] local.INFO: Acknowledgment sent {"connection_id":171157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:18:35] local.INFO: TCP Data received {"connection_id":171157,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06dbf4618012d34c54006aa42a8000b011f25..."} 
[2026-09-05 00:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dbf4618012d34c54006aa42a8000b011f25..."} 
[2026-09-05 00:18:35] local.INFO: Processing buffer {"connection_id":171157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dbf4618012d34c54006aa42a8000b011f25..."} 
[2026-09-05 00:18:35] local.INFO: Packet analysis {"connection_id":171157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dbf"} 
[2026-09-05 00:18:35] local.INFO: Extracted packet for processing {"connection_id":171157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dbf"} 
[2026-09-05 00:18:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868120576001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788547647000,"timestamp_ms":1788547647000,"timestamp_seconds":1788547647,"priority":1,"record_length":96,"hex_timestamp":"000001a06dbf4618"} 
[2026-09-05 00:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:18:35] 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-09-05 00:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 00:18:35] 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-09-05 00:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868120576001,"66":25756,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868120576001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:18:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:18:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868120576001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":171157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:18:35] local.INFO: GPS data processed {"connection_id":171157,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:18:35] local.INFO: Acknowledgment sent {"connection_id":171157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:18:58] local.INFO: TCP Data received {"connection_id":171459,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:18:58] local.INFO: Processing buffer {"connection_id":171459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:18:58] local.INFO: IMEI packet received {"connection_id":171459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":171459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:19:03] local.INFO: TCP Data received {"connection_id":171459,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:19:03] local.INFO: Processing buffer {"connection_id":171459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:19:03] local.INFO: IMEI packet received {"connection_id":171459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":171459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:19:04] local.INFO: TCP Data received {"connection_id":171459,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06dbf4618012d34c54006aa42a8000b011f25..."} 
[2026-09-05 00:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dbf4618012d34c54006aa42a8000b011f25..."} 
[2026-09-05 00:19:04] local.INFO: Processing buffer {"connection_id":171459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dbf4618012d34c54006aa42a8000b011f25..."} 
[2026-09-05 00:19:04] local.INFO: Packet analysis {"connection_id":171459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dbf"} 
[2026-09-05 00:19:04] local.INFO: Extracted packet for processing {"connection_id":171459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dbf"} 
[2026-09-05 00:19:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868120576001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788547647000,"timestamp_ms":1788547647000,"timestamp_seconds":1788547647,"priority":1,"record_length":96,"hex_timestamp":"000001a06dbf4618"} 
[2026-09-05 00:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:19: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-09-05 00: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":178,"data_length":795,"current_offset":136} 
[2026-09-05 00:19: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-09-05 00: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-09-05 00:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:19: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-09-05 00:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868120576001,"66":25756,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868120576001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:19:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:19:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868120576001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":171459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:19:04] local.INFO: GPS data processed {"connection_id":171459,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:19:04] local.INFO: Acknowledgment sent {"connection_id":171459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:19:35] local.INFO: TCP Data received {"connection_id":171459,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06dbf4618012d34c54006aa42a8000b011f25..."} 
[2026-09-05 00:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dbf4618012d34c54006aa42a8000b011f25..."} 
[2026-09-05 00:19:35] local.INFO: Processing buffer {"connection_id":171459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dbf4618012d34c54006aa42a8000b011f25..."} 
[2026-09-05 00:19:35] local.INFO: Packet analysis {"connection_id":171459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dbf"} 
[2026-09-05 00:19:35] local.INFO: Extracted packet for processing {"connection_id":171459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dbf"} 
[2026-09-05 00:19:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868120576001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788547647000,"timestamp_ms":1788547647000,"timestamp_seconds":1788547647,"priority":1,"record_length":96,"hex_timestamp":"000001a06dbf4618"} 
[2026-09-05 00:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:19:35] 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-09-05 00:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 00:19:35] 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-09-05 00:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868120576001,"66":25756,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868120576001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:19:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:19:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868120576001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":171459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:19:35] local.INFO: GPS data processed {"connection_id":171459,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:19:35] local.INFO: Acknowledgment sent {"connection_id":171459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:19:58] local.INFO: TCP Data received {"connection_id":172563,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:19:58] local.INFO: Processing buffer {"connection_id":172563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:19:58] local.INFO: IMEI packet received {"connection_id":172563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":172563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:20:03] local.INFO: TCP Data received {"connection_id":172563,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:20:03] local.INFO: Processing buffer {"connection_id":172563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:20:03] local.INFO: IMEI packet received {"connection_id":172563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":172563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:20:04] local.INFO: TCP Data received {"connection_id":172563,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06dbf4618012d34c54006aa42a8000b011f25..."} 
[2026-09-05 00:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dbf4618012d34c54006aa42a8000b011f25..."} 
[2026-09-05 00:20:04] local.INFO: Processing buffer {"connection_id":172563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dbf4618012d34c54006aa42a8000b011f25..."} 
[2026-09-05 00:20:04] local.INFO: Packet analysis {"connection_id":172563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dbf"} 
[2026-09-05 00:20:04] local.INFO: Extracted packet for processing {"connection_id":172563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dbf"} 
[2026-09-05 00:20:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868120576001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788547647000,"timestamp_ms":1788547647000,"timestamp_seconds":1788547647,"priority":1,"record_length":96,"hex_timestamp":"000001a06dbf4618"} 
[2026-09-05 00:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:20: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-09-05 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 00:20: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-09-05 00: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-09-05 00:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:20: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-09-05 00:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868120576001,"66":25756,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868120576001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:20:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:20:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868120576001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":172563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:20:04] local.INFO: GPS data processed {"connection_id":172563,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:20:04] local.INFO: Acknowledgment sent {"connection_id":172563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:20:06] local.INFO: TCP Data received {"connection_id":171460,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171460,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:20:06] local.INFO: Processing buffer {"connection_id":171460,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:20:06] local.INFO: IMEI packet received {"connection_id":171460,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 00:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":171460,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:20:12] local.INFO: TCP Data received {"connection_id":171460,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171460,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:20:12] local.INFO: Processing buffer {"connection_id":171460,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:20:12] local.INFO: IMEI packet received {"connection_id":171460,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 00:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":171460,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:20:14] local.INFO: TCP Data received {"connection_id":171460,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a00000000000013880100000000000000000000000000..."} 
[2026-09-05 00:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171460,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000013880100000000000000000000000000..."} 
[2026-09-05 00:20:14] local.INFO: Processing buffer {"connection_id":171460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000013880100000000000000000000000000..."} 
[2026-09-05 00:20:14] local.INFO: Packet analysis {"connection_id":171460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-05 00:20:14] local.INFO: Extracted packet for processing {"connection_id":171460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-05 00:20:14] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 00:20:14] 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-09-05 00:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-05 00:20:14] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-09-05 00:20:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5000,"timestamp_seconds":5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 00:20:14] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 00:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":171460,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":171460,"device_imei":"862567071632322","avl_records_count":0} 
[2026-09-05 00:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":171460,"device_imei":"862567071632322","avl_records_count":0} 
[2026-09-05 00:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 00:20:14] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 00:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":171460,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 00:20:14] local.ERROR: GPS data processing failed {"connection_id":171460,"error":"No valid data to process"} 
[2026-09-05 00:20:14] local.INFO: Acknowledgment sent {"connection_id":171460,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 00:20:36] local.INFO: TCP Data received {"connection_id":172563,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06dbf4618012d34c54006aa42a8000b011f25..."} 
[2026-09-05 00:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dbf4618012d34c54006aa42a8000b011f25..."} 
[2026-09-05 00:20:36] local.INFO: Processing buffer {"connection_id":172563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dbf4618012d34c54006aa42a8000b011f25..."} 
[2026-09-05 00:20:36] local.INFO: Packet analysis {"connection_id":172563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dbf"} 
[2026-09-05 00:20:36] local.INFO: Extracted packet for processing {"connection_id":172563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dbf"} 
[2026-09-05 00:20:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868120576001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788547647000,"timestamp_ms":1788547647000,"timestamp_seconds":1788547647,"priority":1,"record_length":96,"hex_timestamp":"000001a06dbf4618"} 
[2026-09-05 00:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:20: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-09-05 00: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":178,"data_length":795,"current_offset":136} 
[2026-09-05 00:20: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-09-05 00: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-09-05 00:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:20: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-09-05 00:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868120576001,"66":25756,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868120576001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:20:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:20:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868120576001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":172563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:20:36] local.INFO: GPS data processed {"connection_id":172563,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:20:36] local.INFO: Acknowledgment sent {"connection_id":172563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:20:47] local.INFO: TCP Data received {"connection_id":171460,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a00000000000013880100000000000000000000000000..."} 
[2026-09-05 00:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171460,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000013880100000000000000000000000000..."} 
[2026-09-05 00:20:47] local.INFO: Processing buffer {"connection_id":171460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000013880100000000000000000000000000..."} 
[2026-09-05 00:20:47] local.INFO: Packet analysis {"connection_id":171460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-05 00:20:47] local.INFO: Extracted packet for processing {"connection_id":171460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-05 00:20:47] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 00:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-05 00:20:47] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-09-05 00:20:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5000,"timestamp_seconds":5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 00:20:47] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 00:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":171460,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":171460,"device_imei":"862567071632322","avl_records_count":0} 
[2026-09-05 00:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":171460,"device_imei":"862567071632322","avl_records_count":0} 
[2026-09-05 00:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 00:20:47] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 00:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":171460,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 00:20:47] local.ERROR: GPS data processing failed {"connection_id":171460,"error":"No valid data to process"} 
[2026-09-05 00:20:47] local.INFO: Acknowledgment sent {"connection_id":171460,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 00:20:58] local.INFO: TCP Data received {"connection_id":171461,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:20:58] local.INFO: Processing buffer {"connection_id":171461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:20:58] local.INFO: IMEI packet received {"connection_id":171461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":171461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:21:03] local.INFO: TCP Data received {"connection_id":171461,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:21:03] local.INFO: Processing buffer {"connection_id":171461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:21:03] local.INFO: IMEI packet received {"connection_id":171461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":171461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:21:06] local.INFO: TCP Data received {"connection_id":171461,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06dbf4618012d34c54006aa42a8000b011f25..."} 
[2026-09-05 00:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dbf4618012d34c54006aa42a8000b011f25..."} 
[2026-09-05 00:21:06] local.INFO: Processing buffer {"connection_id":171461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dbf4618012d34c54006aa42a8000b011f25..."} 
[2026-09-05 00:21:06] local.INFO: Packet analysis {"connection_id":171461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dbf"} 
[2026-09-05 00:21:06] local.INFO: Extracted packet for processing {"connection_id":171461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dbf"} 
[2026-09-05 00:21:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868120576001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788547647000,"timestamp_ms":1788547647000,"timestamp_seconds":1788547647,"priority":1,"record_length":96,"hex_timestamp":"000001a06dbf4618"} 
[2026-09-05 00:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:21:06] 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-09-05 00:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 00:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:21:06] 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-09-05 00:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868120576001,"66":25756,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868120576001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:21:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:21:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868120576001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":171461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:21:06] local.INFO: GPS data processed {"connection_id":171461,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:21:06] local.INFO: Acknowledgment sent {"connection_id":171461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:21:19] local.INFO: TCP Data received {"connection_id":171460,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a00000000000013880100000000000000000000000000..."} 
[2026-09-05 00:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171460,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000013880100000000000000000000000000..."} 
[2026-09-05 00:21:19] local.INFO: Processing buffer {"connection_id":171460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000013880100000000000000000000000000..."} 
[2026-09-05 00:21:19] local.INFO: Packet analysis {"connection_id":171460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-05 00:21:19] local.INFO: Extracted packet for processing {"connection_id":171460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-05 00:21:19] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 00:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-05 00:21:19] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-09-05 00:21:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5000,"timestamp_seconds":5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 00:21:19] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 00:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":171460,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":171460,"device_imei":"862567071632322","avl_records_count":0} 
[2026-09-05 00:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":171460,"device_imei":"862567071632322","avl_records_count":0} 
[2026-09-05 00:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 00:21:19] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 00:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":171460,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 00:21:19] local.ERROR: GPS data processing failed {"connection_id":171460,"error":"No valid data to process"} 
[2026-09-05 00:21:19] local.INFO: Acknowledgment sent {"connection_id":171460,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 00:21:37] local.INFO: TCP Data received {"connection_id":171461,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06dbf4618012d34c54006aa42a8000b011f25..."} 
[2026-09-05 00:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dbf4618012d34c54006aa42a8000b011f25..."} 
[2026-09-05 00:21:37] local.INFO: Processing buffer {"connection_id":171461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dbf4618012d34c54006aa42a8000b011f25..."} 
[2026-09-05 00:21:37] local.INFO: Packet analysis {"connection_id":171461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dbf"} 
[2026-09-05 00:21:37] local.INFO: Extracted packet for processing {"connection_id":171461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dbf"} 
[2026-09-05 00:21:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868120576001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788547647000,"timestamp_ms":1788547647000,"timestamp_seconds":1788547647,"priority":1,"record_length":96,"hex_timestamp":"000001a06dbf4618"} 
[2026-09-05 00:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:21:37] 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-09-05 00:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 00:21:37] 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-09-05 00:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:21: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-09-05 00:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868120576001,"66":25756,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868120576001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:21:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:21:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868120576001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":171461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:21:37] local.INFO: GPS data processed {"connection_id":171461,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:21:37] local.INFO: Acknowledgment sent {"connection_id":171461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:21:51] local.INFO: TCP Data received {"connection_id":171460,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a00000000000013880100000000000000000000000000..."} 
[2026-09-05 00:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171460,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000013880100000000000000000000000000..."} 
[2026-09-05 00:21:51] local.INFO: Processing buffer {"connection_id":171460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000013880100000000000000000000000000..."} 
[2026-09-05 00:21:51] local.INFO: Packet analysis {"connection_id":171460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-05 00:21:51] local.INFO: Extracted packet for processing {"connection_id":171460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-05 00:21:51] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 00:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-05 00:21:51] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-09-05 00:21:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5000,"timestamp_seconds":5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 00:21:51] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 00:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171460,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171460,"device_imei":"862567071632322","avl_records_count":0} 
[2026-09-05 00:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171460,"device_imei":"862567071632322","avl_records_count":0} 
[2026-09-05 00:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 00:21:51] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 00:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":171460,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 00:21:51] local.ERROR: GPS data processing failed {"connection_id":171460,"error":"No valid data to process"} 
[2026-09-05 00:21:51] local.INFO: Acknowledgment sent {"connection_id":171460,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 00:22:03] local.INFO: TCP Data received {"connection_id":171462,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:22:03] local.INFO: Processing buffer {"connection_id":171462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:22:03] local.INFO: IMEI packet received {"connection_id":171462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":171462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:22:08] local.INFO: TCP Data received {"connection_id":171462,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:22:08] local.INFO: Processing buffer {"connection_id":171462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:22:08] local.INFO: IMEI packet received {"connection_id":171462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":171462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:22:09] local.INFO: TCP Data received {"connection_id":171462,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06dbf4618012d34c54006aa42a8000b011f25..."} 
[2026-09-05 00:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dbf4618012d34c54006aa42a8000b011f25..."} 
[2026-09-05 00:22:09] local.INFO: Processing buffer {"connection_id":171462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dbf4618012d34c54006aa42a8000b011f25..."} 
[2026-09-05 00:22:09] local.INFO: Packet analysis {"connection_id":171462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dbf"} 
[2026-09-05 00:22:09] local.INFO: Extracted packet for processing {"connection_id":171462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dbf"} 
[2026-09-05 00:22:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868120576001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788547647000,"timestamp_ms":1788547647000,"timestamp_seconds":1788547647,"priority":1,"record_length":96,"hex_timestamp":"000001a06dbf4618"} 
[2026-09-05 00:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:22: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-09-05 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 00:22:09] 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-09-05 00: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-09-05 00:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:22:09] 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-09-05 00:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868120576001,"66":25756,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868120576001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:22:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:22:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868120576001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":171462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:22:09] local.INFO: GPS data processed {"connection_id":171462,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:22:09] local.INFO: Acknowledgment sent {"connection_id":171462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:22:14] local.INFO: TCP Data received {"connection_id":171462,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06dbf4618012d34c54006aa42a8000b011f25..."} 
[2026-09-05 00:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dbf4618012d34c54006aa42a8000b011f25..."} 
[2026-09-05 00:22:14] local.INFO: Processing buffer {"connection_id":171462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dbf4618012d34c54006aa42a8000b011f25..."} 
[2026-09-05 00:22:14] local.INFO: Packet analysis {"connection_id":171462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dbf"} 
[2026-09-05 00:22:14] local.INFO: Extracted packet for processing {"connection_id":171462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dbf"} 
[2026-09-05 00:22:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868120576001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788547647000,"timestamp_ms":1788547647000,"timestamp_seconds":1788547647,"priority":1,"record_length":96,"hex_timestamp":"000001a06dbf4618"} 
[2026-09-05 00:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 00:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 00:22:14] 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-09-05 00:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":171462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":171462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":171462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:22:14] 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-09-05 00:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868120576001,"66":25756,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868120576001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:22:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:22:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868120576001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":171462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:22:14] local.INFO: GPS data processed {"connection_id":171462,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:22:14] local.INFO: Acknowledgment sent {"connection_id":171462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:22:23] local.INFO: TCP Data received {"connection_id":171460,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc37c38012d33afc006aa1fb8000400000b..."} 
[2026-09-05 00:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc37c38012d33afc006aa1fb8000400000b..."} 
[2026-09-05 00:22:23] local.INFO: Processing buffer {"connection_id":171460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc37c38012d33afc006aa1fb8000400000b..."} 
[2026-09-05 00:22:23] local.INFO: Packet analysis {"connection_id":171460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc3"} 
[2026-09-05 00:22:23] local.INFO: Extracted packet for processing {"connection_id":171460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc3"} 
[2026-09-05 00:22:23] local.INFO: GPS Element Parsed {"raw_longitude":758362048,"raw_latitude":111812536,"longitude_deg":75.8362048,"latitude_deg":11.1812536,"altitude":4,"angle":0,"satellites":11,"speed":0,"hex_longitude":"2d33afc0","hex_latitude":"06aa1fb8","is_valid_coordinates":true} 
[2026-09-05 00:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-05 00:22:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,170,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 00:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788547923000,"timestamp_ms":1788547923000,"timestamp_seconds":1788547923,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc37c38"} 
[2026-09-05 00:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 00:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-05 00:22:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:22:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":24962,"170":206,"28":21760,"24":0,"16":467142117949440},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16]} 
[2026-09-05 00:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-05 00:22:23] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-05 00:22:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-05 00:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:22:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":24962,"unknown_170":206,"unknown_28":21760,"ignition":0,"odometer":null}} 
[2026-09-05 00:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":171460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766262,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:22:23] local.INFO: GPS data processed {"connection_id":171460,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:22:23] local.INFO: Acknowledgment sent {"connection_id":171460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:22:56] local.INFO: TCP Data received {"connection_id":171460,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc3d610012d33af8006aa1fa0000400000b..."} 
[2026-09-05 00:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc3d610012d33af8006aa1fa0000400000b..."} 
[2026-09-05 00:22:56] local.INFO: Processing buffer {"connection_id":171460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc3d610012d33af8006aa1fa0000400000b..."} 
[2026-09-05 00:22:56] local.INFO: Packet analysis {"connection_id":171460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc3"} 
[2026-09-05 00:22:56] local.INFO: Extracted packet for processing {"connection_id":171460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc3"} 
[2026-09-05 00:22:56] local.INFO: GPS Element Parsed {"raw_longitude":758361984,"raw_latitude":111812512,"longitude_deg":75.8361984,"latitude_deg":11.1812512,"altitude":4,"angle":0,"satellites":11,"speed":0,"hex_longitude":"2d33af80","hex_latitude":"06aa1fa0","is_valid_coordinates":true} 
[2026-09-05 00:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868268288001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-05 00:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724406551715231744,"note":"Value kept but may cause issues"} 
[2026-09-05 00:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788547946000,"timestamp_ms":1788547946000,"timestamp_seconds":1788547946,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc3d610"} 
[2026-09-05 00:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 00:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-09-05 00:22:56] 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-09-05 00:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868268288001,"66":24854,"170":206,"28":21760,"24":0,"16":467142117949440,"45":3724406551715231744},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-09-05 00:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868268288001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:22:56] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-05 00:22:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-05 00:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724406551715231744,"description":"Unknown IO ID 45"} 
[2026-09-05 00:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868268288001,"power":24854,"unknown_170":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3724406551715231744}} 
[2026-09-05 00:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":171460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766263,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:22:56] local.INFO: GPS data processed {"connection_id":171460,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:22:56] local.INFO: Acknowledgment sent {"connection_id":171460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:22:58] local.INFO: TCP Data received {"connection_id":171463,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:22:58] local.INFO: Processing buffer {"connection_id":171463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:22:58] local.INFO: IMEI packet received {"connection_id":171463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":171463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:23:03] local.INFO: TCP Data received {"connection_id":171463,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:23:03] local.INFO: Processing buffer {"connection_id":171463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:23:03] local.INFO: IMEI packet received {"connection_id":171463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":171463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:23:04] local.INFO: TCP Data received {"connection_id":171463,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06dbf4618012d34c54006aa42a8000b011f25..."} 
[2026-09-05 00:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dbf4618012d34c54006aa42a8000b011f25..."} 
[2026-09-05 00:23:04] local.INFO: Processing buffer {"connection_id":171463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dbf4618012d34c54006aa42a8000b011f25..."} 
[2026-09-05 00:23:04] local.INFO: Packet analysis {"connection_id":171463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dbf"} 
[2026-09-05 00:23:04] local.INFO: Extracted packet for processing {"connection_id":171463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dbf"} 
[2026-09-05 00:23:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868120576001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788547647000,"timestamp_ms":1788547647000,"timestamp_seconds":1788547647,"priority":1,"record_length":96,"hex_timestamp":"000001a06dbf4618"} 
[2026-09-05 00:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:23: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-09-05 00: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 00:23: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-09-05 00: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-09-05 00:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:23: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-09-05 00:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868120576001,"66":25756,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868120576001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:23:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:23:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868120576001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":171463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:23:04] local.INFO: GPS data processed {"connection_id":171463,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:23:04] local.INFO: Acknowledgment sent {"connection_id":171463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:23:28] local.INFO: TCP Data received {"connection_id":171460,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc42818012d33af8006aa1fa0000400000b..."} 
[2026-09-05 00:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc42818012d33af8006aa1fa0000400000b..."} 
[2026-09-05 00:23:28] local.INFO: Processing buffer {"connection_id":171460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc42818012d33af8006aa1fa0000400000b..."} 
[2026-09-05 00:23:28] local.INFO: Packet analysis {"connection_id":171460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc4"} 
[2026-09-05 00:23:28] local.INFO: Extracted packet for processing {"connection_id":171460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc4"} 
[2026-09-05 00:23:28] local.INFO: GPS Element Parsed {"raw_longitude":758361984,"raw_latitude":111812512,"longitude_deg":75.8361984,"latitude_deg":11.1812512,"altitude":4,"angle":0,"satellites":11,"speed":0,"hex_longitude":"2d33af80","hex_latitude":"06aa1fa0","is_valid_coordinates":true} 
[2026-09-05 00:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868274176001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-05 00:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724336182971047936,"note":"Value kept but may cause issues"} 
[2026-09-05 00:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788547967000,"timestamp_ms":1788547967000,"timestamp_seconds":1788547967,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc42818"} 
[2026-09-05 00:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:23:28] 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-09-05 00:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-05 00:23:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":171460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":171460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":171460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868274176001,"66":24734,"170":206,"28":21760,"24":0,"16":467142117949440,"45":3724336182971047936},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-09-05 00:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868274176001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:23:28] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-05 00:23:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-05 00:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724336182971047936,"description":"Unknown IO ID 45"} 
[2026-09-05 00:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868274176001,"power":24734,"unknown_170":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3724336182971047936}} 
[2026-09-05 00:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":171460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766265,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:23:28] local.INFO: GPS data processed {"connection_id":171460,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:23:28] local.INFO: Acknowledgment sent {"connection_id":171460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:23:36] local.INFO: TCP Data received {"connection_id":171463,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc3dde0012d34c54006aa42a8000b011f23..."} 
[2026-09-05 00:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc3dde0012d34c54006aa42a8000b011f23..."} 
[2026-09-05 00:23:36] local.INFO: Processing buffer {"connection_id":171463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc3dde0012d34c54006aa42a8000b011f23..."} 
[2026-09-05 00:23:36] local.INFO: Packet analysis {"connection_id":171463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc3"} 
[2026-09-05 00:23:36] local.INFO: Extracted packet for processing {"connection_id":171463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc3"} 
[2026-09-05 00:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868197632001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788547948000,"timestamp_ms":1788547948000,"timestamp_seconds":1788547948,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc3dde0"} 
[2026-09-05 00:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:23: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-09-05 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 00:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:23: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-09-05 00:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868197632001,"66":25734,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868197632001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:23:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:23:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868197632001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":171463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:23:36] local.INFO: GPS data processed {"connection_id":171463,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:23:36] local.INFO: Acknowledgment sent {"connection_id":171463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:23:58] local.INFO: TCP Data received {"connection_id":172564,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:23:58] local.INFO: Processing buffer {"connection_id":172564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:23:58] local.INFO: IMEI packet received {"connection_id":172564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":172564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:23:59] local.INFO: TCP Data received {"connection_id":171460,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc47a20012d33af8006aa1fa0000400000b..."} 
[2026-09-05 00:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc47a20012d33af8006aa1fa0000400000b..."} 
[2026-09-05 00:23:59] local.INFO: Processing buffer {"connection_id":171460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc47a20012d33af8006aa1fa0000400000b..."} 
[2026-09-05 00:23:59] local.INFO: Packet analysis {"connection_id":171460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc4"} 
[2026-09-05 00:23:59] local.INFO: Extracted packet for processing {"connection_id":171460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc4"} 
[2026-09-05 00:23:59] local.INFO: GPS Element Parsed {"raw_longitude":758361984,"raw_latitude":111812512,"longitude_deg":75.8361984,"latitude_deg":11.1812512,"altitude":4,"angle":0,"satellites":11,"speed":0,"hex_longitude":"2d33af80","hex_latitude":"06aa1fa0","is_valid_coordinates":true} 
[2026-09-05 00:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868279552001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-05 00:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724336182971047936,"note":"Value kept but may cause issues"} 
[2026-09-05 00:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788547988000,"timestamp_ms":1788547988000,"timestamp_seconds":1788547988,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc47a20"} 
[2026-09-05 00:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:23:59] 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-09-05 00:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-05 00:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2100,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:23:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868279552001,"66":24745,"170":206,"28":21760,"24":0,"16":467142117949440,"45":3724336182971047936},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-09-05 00:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868279552001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:23:59] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-05 00:23:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-05 00:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724336182971047936,"description":"Unknown IO ID 45"} 
[2026-09-05 00:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868279552001,"power":24745,"unknown_170":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3724336182971047936}} 
[2026-09-05 00:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":171460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766267,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:24:00] local.INFO: GPS data processed {"connection_id":171460,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:24:00] local.INFO: Acknowledgment sent {"connection_id":171460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:24:03] local.INFO: TCP Data received {"connection_id":172564,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:24:03] local.INFO: Processing buffer {"connection_id":172564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:24:03] local.INFO: IMEI packet received {"connection_id":172564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":172564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:24:04] local.INFO: TCP Data received {"connection_id":172564,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc3dde0012d34c54006aa42a8000b011f23..."} 
[2026-09-05 00:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc3dde0012d34c54006aa42a8000b011f23..."} 
[2026-09-05 00:24:04] local.INFO: Processing buffer {"connection_id":172564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc3dde0012d34c54006aa42a8000b011f23..."} 
[2026-09-05 00:24:04] local.INFO: Packet analysis {"connection_id":172564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc3"} 
[2026-09-05 00:24:04] local.INFO: Extracted packet for processing {"connection_id":172564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc3"} 
[2026-09-05 00:24:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868197632001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788547948000,"timestamp_ms":1788547948000,"timestamp_seconds":1788547948,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc3dde0"} 
[2026-09-05 00:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:24: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-09-05 00:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 00:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:24: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-09-05 00:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868197632001,"66":25734,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868197632001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:24:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:24:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868197632001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":172564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:24:04] local.INFO: GPS data processed {"connection_id":172564,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:24:04] local.INFO: Acknowledgment sent {"connection_id":172564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:24:31] local.INFO: TCP Data received {"connection_id":171460,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc4cc28012d33af8006aa1fa0000400000b..."} 
[2026-09-05 00:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc4cc28012d33af8006aa1fa0000400000b..."} 
[2026-09-05 00:24:31] local.INFO: Processing buffer {"connection_id":171460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc4cc28012d33af8006aa1fa0000400000b..."} 
[2026-09-05 00:24:31] local.INFO: Packet analysis {"connection_id":171460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc4"} 
[2026-09-05 00:24:31] local.INFO: Extracted packet for processing {"connection_id":171460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc4"} 
[2026-09-05 00:24:31] local.INFO: GPS Element Parsed {"raw_longitude":758361984,"raw_latitude":111812512,"longitude_deg":75.8361984,"latitude_deg":11.1812512,"altitude":4,"angle":0,"satellites":11,"speed":0,"hex_longitude":"2d33af80","hex_latitude":"06aa1fa0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 00:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868284928001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-05 00:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724336182971047936,"note":"Value kept but may cause issues"} 
[2026-09-05 00:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788548009000,"timestamp_ms":1788548009000,"timestamp_seconds":1788548009,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc4cc28"} 
[2026-09-05 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-09-05 00:24:31] 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-09-05 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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 00:24:31] 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-09-05 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-09-05 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-09-05 00:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868284928001,"66":19614,"170":206,"28":21760,"24":0,"16":467142117949440,"45":3724336182971047936},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-09-05 00:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868284928001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:24:31] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-05 00:24:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-05 00:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724336182971047936,"description":"Unknown IO ID 45"} 
[2026-09-05 00:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868284928001,"power":19614,"unknown_170":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3724336182971047936}} 
[2026-09-05 00:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":171460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766269,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:24:31] local.INFO: GPS data processed {"connection_id":171460,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:24:31] local.INFO: Acknowledgment sent {"connection_id":171460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:24:35] local.INFO: TCP Data received {"connection_id":172564,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc3dde0012d34c54006aa42a8000b011f23..."} 
[2026-09-05 00:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc3dde0012d34c54006aa42a8000b011f23..."} 
[2026-09-05 00:24:35] local.INFO: Processing buffer {"connection_id":172564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc3dde0012d34c54006aa42a8000b011f23..."} 
[2026-09-05 00:24:35] local.INFO: Packet analysis {"connection_id":172564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc3"} 
[2026-09-05 00:24:35] local.INFO: Extracted packet for processing {"connection_id":172564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc3"} 
[2026-09-05 00:24:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868197632001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788547948000,"timestamp_ms":1788547948000,"timestamp_seconds":1788547948,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc3dde0"} 
[2026-09-05 00:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:24:35] 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-09-05 00:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 00:24:35] 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-09-05 00:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868197632001,"66":25734,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868197632001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:24:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:24:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868197632001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":172564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:24:35] local.INFO: GPS data processed {"connection_id":172564,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:24:35] local.INFO: Acknowledgment sent {"connection_id":172564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:24:46] local.INFO: TCP Data received {"connection_id":173848,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173848,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:24:46] local.INFO: Processing buffer {"connection_id":173848,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:24:46] local.INFO: IMEI packet received {"connection_id":173848,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 00:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":173848,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:24:46] local.INFO: TCP Data received {"connection_id":173848,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173848,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:24:46] local.INFO: Processing buffer {"connection_id":173848,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:24:46] local.INFO: IMEI packet received {"connection_id":173848,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 00:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":173848,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:24:52] local.INFO: TCP Data received {"connection_id":173848,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173848,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:24:52] local.INFO: Processing buffer {"connection_id":173848,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:24:52] local.INFO: IMEI packet received {"connection_id":173848,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 00:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":173848,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:24:54] local.INFO: TCP Data received {"connection_id":173848,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc51e30012d33af8006aa1fa0000400000b..."} 
[2026-09-05 00:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc51e30012d33af8006aa1fa0000400000b..."} 
[2026-09-05 00:24:54] local.INFO: Processing buffer {"connection_id":173848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc51e30012d33af8006aa1fa0000400000b..."} 
[2026-09-05 00:24:54] local.INFO: Packet analysis {"connection_id":173848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc5"} 
[2026-09-05 00:24:54] local.INFO: Extracted packet for processing {"connection_id":173848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc5"} 
[2026-09-05 00:24:54] local.INFO: GPS Element Parsed {"raw_longitude":758361984,"raw_latitude":111812512,"longitude_deg":75.8361984,"latitude_deg":11.1812512,"altitude":4,"angle":0,"satellites":11,"speed":0,"hex_longitude":"2d33af80","hex_latitude":"06aa1fa0","is_valid_coordinates":true} 
[2026-09-05 00:24: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-09-05 00:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868290304001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":467142117949440,"note":"Value kept but may cause issues"} 
[2026-09-05 00:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724336182971047936,"note":"Value kept but may cause issues"} 
[2026-09-05 00:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788548030000,"timestamp_ms":1788548030000,"timestamp_seconds":1788548030,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc51e30"} 
[2026-09-05 00:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 00:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":76,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-05 00:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2000,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868290304001,"66":27039,"170":206,"28":21760,"24":0,"16":467142117949440,"45":3724336182971047936},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-09-05 00:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868290304001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:24:54] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-05 00:24:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-05 00:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":467142117949440,"km_value":467142117949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724336182971047936,"description":"Unknown IO ID 45"} 
[2026-09-05 00:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868290304001,"power":27039,"unknown_170":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3724336182971047936}} 
[2026-09-05 00:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":173848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766271,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:24:54] local.INFO: GPS data processed {"connection_id":173848,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:24:54] local.INFO: Acknowledgment sent {"connection_id":173848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:24:58] local.INFO: TCP Data received {"connection_id":172565,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:24:58] local.INFO: Processing buffer {"connection_id":172565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:24:58] local.INFO: IMEI packet received {"connection_id":172565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":172565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:25:03] local.INFO: TCP Data received {"connection_id":172565,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:25:03] local.INFO: Processing buffer {"connection_id":172565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:25:03] local.INFO: IMEI packet received {"connection_id":172565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":172565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:25:04] local.INFO: TCP Data received {"connection_id":172565,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc3dde0012d34c54006aa42a8000b011f23..."} 
[2026-09-05 00:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc3dde0012d34c54006aa42a8000b011f23..."} 
[2026-09-05 00:25:04] local.INFO: Processing buffer {"connection_id":172565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc3dde0012d34c54006aa42a8000b011f23..."} 
[2026-09-05 00:25:04] local.INFO: Packet analysis {"connection_id":172565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc3"} 
[2026-09-05 00:25:04] local.INFO: Extracted packet for processing {"connection_id":172565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc3"} 
[2026-09-05 00:25:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868197632001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788547948000,"timestamp_ms":1788547948000,"timestamp_seconds":1788547948,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc3dde0"} 
[2026-09-05 00:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:25: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-09-05 00:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 00:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:25: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-09-05 00:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868197632001,"66":25734,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868197632001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:25:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:25:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868197632001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":172565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:25:04] local.INFO: GPS data processed {"connection_id":172565,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:25:04] local.INFO: Acknowledgment sent {"connection_id":172565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:25:27] local.INFO: TCP Data received {"connection_id":173848,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc63f40012d336fc006aaa0000009012b18..."} 
[2026-09-05 00:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc63f40012d336fc006aaa0000009012b18..."} 
[2026-09-05 00:25:27] local.INFO: Processing buffer {"connection_id":173848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc63f40012d336fc006aaa0000009012b18..."} 
[2026-09-05 00:25:27] local.INFO: Packet analysis {"connection_id":173848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc6"} 
[2026-09-05 00:25:27] local.INFO: Extracted packet for processing {"connection_id":173848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc6"} 
[2026-09-05 00:25:27] local.INFO: GPS Element Parsed {"raw_longitude":758345664,"raw_latitude":111845376,"longitude_deg":75.8345664,"latitude_deg":11.1845376,"altitude":9,"angle":299,"satellites":24,"speed":43,"hex_longitude":"2d336fc0","hex_latitude":"06aaa000","is_valid_coordinates":true} 
[2026-09-05 00:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868312320001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":469551594602496,"note":"Value kept but may cause issues"} 
[2026-09-05 00:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3715328983723466752,"note":"Value kept but may cause issues"} 
[2026-09-05 00:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788548104000,"timestamp_ms":1788548104000,"timestamp_seconds":1788548104,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc63f40"} 
[2026-09-05 00:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:25:27] 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-09-05 00:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-09-05 00:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1174,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868312320001,"66":27941,"170":206,"28":21760,"24":43,"16":469551594602496,"45":3715328983723466752},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-09-05 00:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868312320001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:25:27] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-05 00:25:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-05 00:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":469551594602496,"km_value":469551594602.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3715328983723466752,"description":"Unknown IO ID 45"} 
[2026-09-05 00:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868312320001,"power":27941,"unknown_170":206,"unknown_28":21760,"ignition":43,"odometer":null,"unknown_45":3715328983723466752}} 
[2026-09-05 00:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":173848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766273,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:25:27] local.INFO: GPS data processed {"connection_id":173848,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:25:27] local.INFO: Acknowledgment sent {"connection_id":173848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:25:36] local.INFO: TCP Data received {"connection_id":172565,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc3dde0012d34c54006aa42a8000b011f23..."} 
[2026-09-05 00:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc3dde0012d34c54006aa42a8000b011f23..."} 
[2026-09-05 00:25:36] local.INFO: Processing buffer {"connection_id":172565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc3dde0012d34c54006aa42a8000b011f23..."} 
[2026-09-05 00:25:36] local.INFO: Packet analysis {"connection_id":172565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc3"} 
[2026-09-05 00:25:36] local.INFO: Extracted packet for processing {"connection_id":172565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc3"} 
[2026-09-05 00:25:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868197632001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788547948000,"timestamp_ms":1788547948000,"timestamp_seconds":1788547948,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc3dde0"} 
[2026-09-05 00:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:25: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-09-05 00:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 00:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:25: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-09-05 00:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868197632001,"66":25734,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868197632001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:25:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:25:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868197632001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":172565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:25:36] local.INFO: GPS data processed {"connection_id":172565,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:25:36] local.INFO: Acknowledgment sent {"connection_id":172565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:25:59] local.INFO: TCP Data received {"connection_id":173848,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc66268012d33504006aab2300009012d18..."} 
[2026-09-05 00:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc66268012d33504006aab2300009012d18..."} 
[2026-09-05 00:25:59] local.INFO: Processing buffer {"connection_id":173848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc66268012d33504006aab2300009012d18..."} 
[2026-09-05 00:25:59] local.INFO: Packet analysis {"connection_id":173848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc6"} 
[2026-09-05 00:25:59] local.INFO: Extracted packet for processing {"connection_id":173848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc6"} 
[2026-09-05 00:25:59] local.INFO: GPS Element Parsed {"raw_longitude":758337600,"raw_latitude":111850032,"longitude_deg":75.83376,"latitude_deg":11.1850032,"altitude":9,"angle":301,"satellites":24,"speed":38,"hex_longitude":"2d335040","hex_latitude":"06aab230","is_valid_coordinates":true} 
[2026-09-05 00:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868314624001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":469993976233984,"note":"Value kept but may cause issues"} 
[2026-09-05 00:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3706392153214156800,"note":"Value kept but may cause issues"} 
[2026-09-05 00:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788548113000,"timestamp_ms":1788548113000,"timestamp_seconds":1788548113,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc66268"} 
[2026-09-05 00:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 00:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-05 00:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1076,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868314624001,"66":27800,"170":206,"28":21760,"24":38,"16":469993976233984,"45":3706392153214156800},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-09-05 00:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868314624001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:25:59] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-05 00:25:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-05 00:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":469993976233984,"km_value":469993976233.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3706392153214156800,"description":"Unknown IO ID 45"} 
[2026-09-05 00:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868314624001,"power":27800,"unknown_170":206,"unknown_28":21760,"ignition":38,"odometer":null,"unknown_45":3706392153214156800}} 
[2026-09-05 00:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":173848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766275,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:25:59] local.INFO: GPS data processed {"connection_id":173848,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:25:59] local.INFO: Acknowledgment sent {"connection_id":173848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:26:03] local.INFO: TCP Data received {"connection_id":173849,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:26:03] local.INFO: Processing buffer {"connection_id":173849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:26:03] local.INFO: IMEI packet received {"connection_id":173849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":173849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:26:08] local.INFO: TCP Data received {"connection_id":173849,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:26:08] local.INFO: Processing buffer {"connection_id":173849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:26:08] local.INFO: IMEI packet received {"connection_id":173849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":173849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:26:09] local.INFO: TCP Data received {"connection_id":173849,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc3dde0012d34c54006aa42a8000b011f23..."} 
[2026-09-05 00:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc3dde0012d34c54006aa42a8000b011f23..."} 
[2026-09-05 00:26:09] local.INFO: Processing buffer {"connection_id":173849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc3dde0012d34c54006aa42a8000b011f23..."} 
[2026-09-05 00:26:09] local.INFO: Packet analysis {"connection_id":173849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc3"} 
[2026-09-05 00:26:09] local.INFO: Extracted packet for processing {"connection_id":173849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc3"} 
[2026-09-05 00:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868197632001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788547948000,"timestamp_ms":1788547948000,"timestamp_seconds":1788547948,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc3dde0"} 
[2026-09-05 00:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:26: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-09-05 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 00:26:09] 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-09-05 00: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-09-05 00:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:26:09] 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-09-05 00:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868197632001,"66":25734,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868197632001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:26:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:26:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868197632001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":173849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:26:09] local.INFO: GPS data processed {"connection_id":173849,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:26:09] local.INFO: Acknowledgment sent {"connection_id":173849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:26:31] local.INFO: TCP Data received {"connection_id":173848,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc68978012d33308006aac538000f012b19..."} 
[2026-09-05 00:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc68978012d33308006aac538000f012b19..."} 
[2026-09-05 00:26:31] local.INFO: Processing buffer {"connection_id":173848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc68978012d33308006aac538000f012b19..."} 
[2026-09-05 00:26:31] local.INFO: Packet analysis {"connection_id":173848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc6"} 
[2026-09-05 00:26:31] local.INFO: Extracted packet for processing {"connection_id":173848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc6"} 
[2026-09-05 00:26:31] local.INFO: GPS Element Parsed {"raw_longitude":758329472,"raw_latitude":111854904,"longitude_deg":75.8329472,"latitude_deg":11.1854904,"altitude":15,"angle":299,"satellites":25,"speed":35,"hex_longitude":"2d333080","hex_latitude":"06aac538","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868316928001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":470444947800064,"note":"Value kept but may cause issues"} 
[2026-09-05 00:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3697525691448963072,"note":"Value kept but may cause issues"} 
[2026-09-05 00:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788548123000,"timestamp_ms":1788548123000,"timestamp_seconds":1788548123,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc68978"} 
[2026-09-05 00:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:26:31] 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-09-05 00:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 00:26: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-09-05 00: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-09-05 00:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868316928001,"66":27484,"170":206,"28":21760,"24":35,"16":470444947800064,"45":3697525691448963072},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-09-05 00:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868316928001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:26:31] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-05 00:26:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-05 00:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":470444947800064,"km_value":470444947800.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3697525691448963072,"description":"Unknown IO ID 45"} 
[2026-09-05 00:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868316928001,"power":27484,"unknown_170":206,"unknown_28":21760,"ignition":35,"odometer":null,"unknown_45":3697525691448963072}} 
[2026-09-05 00:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":173848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766277,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:26:31] local.INFO: GPS data processed {"connection_id":173848,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:26:31] local.INFO: Acknowledgment sent {"connection_id":173848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:26:40] local.INFO: TCP Data received {"connection_id":173849,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc3dde0012d34c54006aa42a8000b011f23..."} 
[2026-09-05 00:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc3dde0012d34c54006aa42a8000b011f23..."} 
[2026-09-05 00:26:40] local.INFO: Processing buffer {"connection_id":173849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc3dde0012d34c54006aa42a8000b011f23..."} 
[2026-09-05 00:26:40] local.INFO: Packet analysis {"connection_id":173849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc3"} 
[2026-09-05 00:26:40] local.INFO: Extracted packet for processing {"connection_id":173849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc3"} 
[2026-09-05 00:26:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868197632001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788547948000,"timestamp_ms":1788547948000,"timestamp_seconds":1788547948,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc3dde0"} 
[2026-09-05 00:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:26: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-09-05 00:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 00:26:40] 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-09-05 00:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":173849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":173849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":173849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:26:40] 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-09-05 00:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868197632001,"66":25734,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868197632001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:26:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:26:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868197632001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":173849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:26:40] local.INFO: GPS data processed {"connection_id":173849,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:26:40] local.INFO: Acknowledgment sent {"connection_id":173849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:26:59] local.INFO: TCP Data received {"connection_id":173850,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:26:59] local.INFO: Processing buffer {"connection_id":173850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:26:59] local.INFO: IMEI packet received {"connection_id":173850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":173850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:27:02] local.INFO: TCP Data received {"connection_id":173848,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc6a0e8012d331f0006aad0480010013819..."} 
[2026-09-05 00:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc6a0e8012d331f0006aad0480010013819..."} 
[2026-09-05 00:27:02] local.INFO: Processing buffer {"connection_id":173848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc6a0e8012d331f0006aad0480010013819..."} 
[2026-09-05 00:27:02] local.INFO: Packet analysis {"connection_id":173848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc6"} 
[2026-09-05 00:27:02] local.INFO: Extracted packet for processing {"connection_id":173848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc6"} 
[2026-09-05 00:27:02] local.INFO: GPS Element Parsed {"raw_longitude":758324992,"raw_latitude":111857736,"longitude_deg":75.8324992,"latitude_deg":11.1857736,"altitude":16,"angle":312,"satellites":25,"speed":33,"hex_longitude":"2d331f00","hex_latitude":"06aad048","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868319488001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":470702645837824,"note":"Value kept but may cause issues"} 
[2026-09-05 00:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3688588860939646976,"note":"Value kept but may cause issues"} 
[2026-09-05 00:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788548129000,"timestamp_ms":1788548129000,"timestamp_seconds":1788548129,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc6a0e8"} 
[2026-09-05 00:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4864,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00: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-09-05 00: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-09-05 00:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868319488001,"66":27626,"170":206,"28":21760,"24":33,"16":470702645837824,"45":3688588860939646976},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-09-05 00:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868319488001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:27:02] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-05 00:27:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-05 00:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":470702645837824,"km_value":470702645837.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3688588860939646976,"description":"Unknown IO ID 45"} 
[2026-09-05 00:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868319488001,"power":27626,"unknown_170":206,"unknown_28":21760,"ignition":33,"odometer":null,"unknown_45":3688588860939646976}} 
[2026-09-05 00:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":173848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766279,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:27:02] local.INFO: GPS data processed {"connection_id":173848,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:27:02] local.INFO: Acknowledgment sent {"connection_id":173848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:27:03] local.INFO: TCP Data received {"connection_id":173850,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:27:03] local.INFO: Processing buffer {"connection_id":173850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:27:03] local.INFO: IMEI packet received {"connection_id":173850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":173850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:27:04] local.INFO: TCP Data received {"connection_id":173850,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc3dde0012d34c54006aa42a8000b011f23..."} 
[2026-09-05 00:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc3dde0012d34c54006aa42a8000b011f23..."} 
[2026-09-05 00:27:04] local.INFO: Processing buffer {"connection_id":173850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc3dde0012d34c54006aa42a8000b011f23..."} 
[2026-09-05 00:27:04] local.INFO: Packet analysis {"connection_id":173850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc3"} 
[2026-09-05 00:27:04] local.INFO: Extracted packet for processing {"connection_id":173850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc3"} 
[2026-09-05 00:27:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868197632001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788547948000,"timestamp_ms":1788547948000,"timestamp_seconds":1788547948,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc3dde0"} 
[2026-09-05 00:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:27: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-09-05 00: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":156,"data_length":795,"current_offset":136} 
[2026-09-05 00:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:27: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-09-05 00:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868197632001,"66":25734,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868197632001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:27:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:27:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868197632001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":173850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:27:04] local.INFO: GPS data processed {"connection_id":173850,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:27:04] local.INFO: Acknowledgment sent {"connection_id":173850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:27:08] local.INFO: TCP Data received {"connection_id":173850,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc3dde0012d34c54006aa42a8000b011f23..."} 
[2026-09-05 00:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc3dde0012d34c54006aa42a8000b011f23..."} 
[2026-09-05 00:27:08] local.INFO: Processing buffer {"connection_id":173850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc3dde0012d34c54006aa42a8000b011f23..."} 
[2026-09-05 00:27:08] local.INFO: Packet analysis {"connection_id":173850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc3"} 
[2026-09-05 00:27:08] local.INFO: Extracted packet for processing {"connection_id":173850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc3"} 
[2026-09-05 00:27:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868197632001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788547948000,"timestamp_ms":1788547948000,"timestamp_seconds":1788547948,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc3dde0"} 
[2026-09-05 00:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:27: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-09-05 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 00:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868197632001,"66":25734,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868197632001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:27:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:27:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868197632001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":173850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:27:08] local.INFO: GPS data processed {"connection_id":173850,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:27:08] local.INFO: Acknowledgment sent {"connection_id":173850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:27:40] local.INFO: TCP Data received {"connection_id":173850,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc3dde0012d34c54006aa42a8000b011f23..."} 
[2026-09-05 00:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc3dde0012d34c54006aa42a8000b011f23..."} 
[2026-09-05 00:27:40] local.INFO: Processing buffer {"connection_id":173850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc3dde0012d34c54006aa42a8000b011f23..."} 
[2026-09-05 00:27:40] local.INFO: Packet analysis {"connection_id":173850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc3"} 
[2026-09-05 00:27:40] local.INFO: Extracted packet for processing {"connection_id":173850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc3"} 
[2026-09-05 00:27:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868197632001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788547948000,"timestamp_ms":1788547948000,"timestamp_seconds":1788547948,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc3dde0"} 
[2026-09-05 00:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:27: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-09-05 00:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 00:27:40] 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-09-05 00:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":173850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":173850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":173850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:27:40] 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-09-05 00:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868197632001,"66":25734,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868197632001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:27:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:27:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868197632001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":173850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:27:40] local.INFO: GPS data processed {"connection_id":173850,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:27:40] local.INFO: Acknowledgment sent {"connection_id":173850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:27:46] local.INFO: TCP Data received {"connection_id":171464,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171464,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:27:46] local.INFO: Processing buffer {"connection_id":171464,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:27:46] local.INFO: IMEI packet received {"connection_id":171464,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 00:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":171464,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:27:47] local.INFO: TCP Data received {"connection_id":171464,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171464,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:27:47] local.INFO: Processing buffer {"connection_id":171464,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:27:47] local.INFO: IMEI packet received {"connection_id":171464,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 00:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":171464,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:27:49] local.INFO: TCP Data received {"connection_id":171464,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171464,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:27:49] local.INFO: Processing buffer {"connection_id":171464,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:27:49] local.INFO: IMEI packet received {"connection_id":171464,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 00:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":171464,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:27:51] local.INFO: TCP Data received {"connection_id":171464,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171464,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:27:51] local.INFO: Processing buffer {"connection_id":171464,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:27:51] local.INFO: IMEI packet received {"connection_id":171464,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 00:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":171464,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:27:52] local.INFO: TCP Data received {"connection_id":171464,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc83340012d32674006aba3d8001301411b..."} 
[2026-09-05 00:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc83340012d32674006aba3d8001301411b..."} 
[2026-09-05 00:27:52] local.INFO: Processing buffer {"connection_id":171464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc83340012d32674006aba3d8001301411b..."} 
[2026-09-05 00:27:52] local.INFO: Packet analysis {"connection_id":171464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc8"} 
[2026-09-05 00:27:52] local.INFO: Extracted packet for processing {"connection_id":171464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc8"} 
[2026-09-05 00:27:52] local.INFO: GPS Element Parsed {"raw_longitude":758277952,"raw_latitude":111911896,"longitude_deg":75.8277952,"latitude_deg":11.1911896,"altitude":19,"angle":321,"satellites":27,"speed":23,"hex_longitude":"2d326740","hex_latitude":"06aba3d8","is_valid_coordinates":true} 
[2026-09-05 00:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868344832001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":474185864314880,"note":"Value kept but may cause issues"} 
[2026-09-05 00:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3635178984122089472,"note":"Value kept but may cause issues"} 
[2026-09-05 00:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788548232000,"timestamp_ms":1788548232000,"timestamp_seconds":1788548232,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc83340"} 
[2026-09-05 00:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:27:52] 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-09-05 00:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-05 00:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:27:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":171464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":171464,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":171464,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868344832001,"66":27713,"172":206,"28":21760,"24":23,"16":474185864314880,"45":3635178984122089472},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,28,24,16,45]} 
[2026-09-05 00:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868344832001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:27:52] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-05 00:27:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-05 00:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":474185864314880,"km_value":474185864314.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3635178984122089472,"description":"Unknown IO ID 45"} 
[2026-09-05 00:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868344832001,"power":27713,"unknown_172":206,"unknown_28":21760,"ignition":23,"odometer":null,"unknown_45":3635178984122089472}} 
[2026-09-05 00:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":171464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766283,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:27:52] local.INFO: GPS data processed {"connection_id":171464,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:27:52] local.INFO: Acknowledgment sent {"connection_id":171464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:27:58] local.INFO: TCP Data received {"connection_id":171465,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:27:58] local.INFO: Processing buffer {"connection_id":171465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:27:58] local.INFO: IMEI packet received {"connection_id":171465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":171465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:28:03] local.INFO: TCP Data received {"connection_id":171465,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:28:03] local.INFO: Processing buffer {"connection_id":171465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:28:03] local.INFO: IMEI packet received {"connection_id":171465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":171465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:28:04] local.INFO: TCP Data received {"connection_id":171465,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc3dde0012d34c54006aa42a8000b011f23..."} 
[2026-09-05 00:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc3dde0012d34c54006aa42a8000b011f23..."} 
[2026-09-05 00:28:04] local.INFO: Processing buffer {"connection_id":171465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc3dde0012d34c54006aa42a8000b011f23..."} 
[2026-09-05 00:28:04] local.INFO: Packet analysis {"connection_id":171465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc3"} 
[2026-09-05 00:28:04] local.INFO: Extracted packet for processing {"connection_id":171465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc3"} 
[2026-09-05 00:28:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868197632001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788547948000,"timestamp_ms":1788547948000,"timestamp_seconds":1788547948,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc3dde0"} 
[2026-09-05 00:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:28: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-09-05 00: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":156,"data_length":795,"current_offset":136} 
[2026-09-05 00:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:28: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-09-05 00:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868197632001,"66":25734,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868197632001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:28:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:28:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868197632001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":171465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:28:04] local.INFO: GPS data processed {"connection_id":171465,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:28:04] local.INFO: Acknowledgment sent {"connection_id":171465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:28:24] local.INFO: TCP Data received {"connection_id":171464,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc86608012d3250c006abbbd00010012c1a..."} 
[2026-09-05 00:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc86608012d3250c006abbbd00010012c1a..."} 
[2026-09-05 00:28:24] local.INFO: Processing buffer {"connection_id":171464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc86608012d3250c006abbbd00010012c1a..."} 
[2026-09-05 00:28:24] local.INFO: Packet analysis {"connection_id":171464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc8"} 
[2026-09-05 00:28:24] local.INFO: Extracted packet for processing {"connection_id":171464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc8"} 
[2026-09-05 00:28:24] local.INFO: GPS Element Parsed {"raw_longitude":758272192,"raw_latitude":111918032,"longitude_deg":75.8272192,"latitude_deg":11.1918032,"altitude":16,"angle":300,"satellites":26,"speed":27,"hex_longitude":"2d3250c0","hex_latitude":"06abbbd0","is_valid_coordinates":true} 
[2026-09-05 00:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868347392001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":474589591240704,"note":"Value kept but may cause issues"} 
[2026-09-05 00:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3631942021891217408,"note":"Value kept but may cause issues"} 
[2026-09-05 00:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788548245000,"timestamp_ms":1788548245000,"timestamp_seconds":1788548245,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc86608"} 
[2026-09-05 00:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:28:24] 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-09-05 00:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-05 00:28:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171464,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171464,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868347392001,"66":27626,"172":206,"28":21760,"24":27,"16":474589591240704,"45":3631942021891217408},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,28,24,16,45]} 
[2026-09-05 00:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868347392001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:28:24] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-05 00:28:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-05 00:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":474589591240704,"km_value":474589591240.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3631942021891217408,"description":"Unknown IO ID 45"} 
[2026-09-05 00:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868347392001,"power":27626,"unknown_172":206,"unknown_28":21760,"ignition":27,"odometer":null,"unknown_45":3631942021891217408}} 
[2026-09-05 00:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":171464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766285,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:28:24] local.INFO: GPS data processed {"connection_id":171464,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:28:24] local.INFO: Acknowledgment sent {"connection_id":171464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:28:35] local.INFO: TCP Data received {"connection_id":171465,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc875a8012d34c54006aa42a8000b011f28..."} 
[2026-09-05 00:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc875a8012d34c54006aa42a8000b011f28..."} 
[2026-09-05 00:28:35] local.INFO: Processing buffer {"connection_id":171465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc875a8012d34c54006aa42a8000b011f28..."} 
[2026-09-05 00:28:35] local.INFO: Packet analysis {"connection_id":171465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc8"} 
[2026-09-05 00:28:35] local.INFO: Extracted packet for processing {"connection_id":171465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc8"} 
[2026-09-05 00:28:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868274688001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788548249000,"timestamp_ms":1788548249000,"timestamp_seconds":1788548249,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc875a8"} 
[2026-09-05 00:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:28:35] 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-09-05 00:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 00:28:35] 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-09-05 00:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868274688001,"66":25582,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868274688001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:28:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:28:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868274688001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":171465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:28:35] local.INFO: GPS data processed {"connection_id":171465,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:28:35] local.INFO: Acknowledgment sent {"connection_id":171465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:28:50] local.INFO: TCP Data received {"connection_id":171158,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171158,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:28:50] local.INFO: Processing buffer {"connection_id":171158,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:28:50] local.INFO: IMEI packet received {"connection_id":171158,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 00:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":171158,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:28:51] local.INFO: TCP Data received {"connection_id":171158,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171158,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:28:51] local.INFO: Processing buffer {"connection_id":171158,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:28:51] local.INFO: IMEI packet received {"connection_id":171158,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 00:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":171158,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:28:58] local.INFO: TCP Data received {"connection_id":171159,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:28:58] local.INFO: Processing buffer {"connection_id":171159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:28:58] local.INFO: IMEI packet received {"connection_id":171159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":171159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:29:00] local.INFO: TCP Data received {"connection_id":171158,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171158,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:29:00] local.INFO: Processing buffer {"connection_id":171158,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:29:00] local.INFO: IMEI packet received {"connection_id":171158,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 00:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":171158,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:29:00] local.INFO: TCP Data received {"connection_id":171158,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc92188012d31be4006ac2ef0000a011f1a..."} 
[2026-09-05 00:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc92188012d31be4006ac2ef0000a011f1a..."} 
[2026-09-05 00:29:00] local.INFO: Processing buffer {"connection_id":171158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc92188012d31be4006ac2ef0000a011f1a..."} 
[2026-09-05 00:29:00] local.INFO: Packet analysis {"connection_id":171158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc9"} 
[2026-09-05 00:29:00] local.INFO: Extracted packet for processing {"connection_id":171158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc9"} 
[2026-09-05 00:29:00] local.INFO: GPS Element Parsed {"raw_longitude":758234688,"raw_latitude":111947504,"longitude_deg":75.8234688,"latitude_deg":11.1947504,"altitude":10,"angle":287,"satellites":26,"speed":46,"hex_longitude":"2d31be40","hex_latitude":"06ac2ef0","is_valid_coordinates":true} 
[2026-09-05 00:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868362496001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":476934643384320,"note":"Value kept but may cause issues"} 
[2026-09-05 00:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3586765288138047488,"note":"Value kept but may cause issues"} 
[2026-09-05 00:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788548293000,"timestamp_ms":1788548293000,"timestamp_seconds":1788548293,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc92188"} 
[2026-09-05 00:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:29:00] 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-09-05 00:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-05 00:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171158,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171158,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868362496001,"66":27876,"172":206,"28":21760,"24":46,"16":476934643384320,"45":3586765288138047488},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,28,24,16,45]} 
[2026-09-05 00:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868362496001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:29:00] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-05 00:29:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-05 00:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":476934643384320,"km_value":476934643384.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3586765288138047488,"description":"Unknown IO ID 45"} 
[2026-09-05 00:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868362496001,"power":27876,"unknown_172":206,"unknown_28":21760,"ignition":46,"odometer":null,"unknown_45":3586765288138047488}} 
[2026-09-05 00:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":171158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766287,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:29:01] local.INFO: GPS data processed {"connection_id":171158,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:29:01] local.INFO: Acknowledgment sent {"connection_id":171158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:29:02] local.INFO: TCP Data received {"connection_id":171158,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc940c8012d31998006ac3988000a011c1a..."} 
[2026-09-05 00:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc940c8012d31998006ac3988000a011c1a..."} 
[2026-09-05 00:29:02] local.INFO: Processing buffer {"connection_id":171158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc940c8012d31998006ac3988000a011c1a..."} 
[2026-09-05 00:29:02] local.INFO: Packet analysis {"connection_id":171158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc9"} 
[2026-09-05 00:29:02] local.INFO: Extracted packet for processing {"connection_id":171158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc9"} 
[2026-09-05 00:29:02] local.INFO: GPS Element Parsed {"raw_longitude":758225280,"raw_latitude":111950216,"longitude_deg":75.822528,"latitude_deg":11.1950216,"altitude":10,"angle":284,"satellites":26,"speed":49,"hex_longitude":"2d319980","hex_latitude":"06ac3988","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868363008001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":477402794819584,"note":"Value kept but may cause issues"} 
[2026-09-05 00:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3584372750836232192,"note":"Value kept but may cause issues"} 
[2026-09-05 00:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788548301000,"timestamp_ms":1788548301000,"timestamp_seconds":1788548301,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc940c8"} 
[2026-09-05 00:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:29:02] 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-09-05 00:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 00:29: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-09-05 00: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-09-05 00:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171158,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171158,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868363008001,"66":27691,"172":206,"28":21760,"24":49,"16":477402794819584,"45":3584372750836232192},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,28,24,16,45]} 
[2026-09-05 00:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868363008001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:29:02] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-05 00:29:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-05 00:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":477402794819584,"km_value":477402794819.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3584372750836232192,"description":"Unknown IO ID 45"} 
[2026-09-05 00:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868363008001,"power":27691,"unknown_172":206,"unknown_28":21760,"ignition":49,"odometer":null,"unknown_45":3584372750836232192}} 
[2026-09-05 00:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":171158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766288,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:29:02] local.INFO: GPS data processed {"connection_id":171158,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:29:02] local.INFO: Acknowledgment sent {"connection_id":171158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:29:03] local.INFO: TCP Data received {"connection_id":171159,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:29:03] local.INFO: Processing buffer {"connection_id":171159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:29:03] local.INFO: IMEI packet received {"connection_id":171159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":171159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:29:04] local.INFO: TCP Data received {"connection_id":171159,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc875a8012d34c54006aa42a8000b011f28..."} 
[2026-09-05 00:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc875a8012d34c54006aa42a8000b011f28..."} 
[2026-09-05 00:29:04] local.INFO: Processing buffer {"connection_id":171159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc875a8012d34c54006aa42a8000b011f28..."} 
[2026-09-05 00:29:04] local.INFO: Packet analysis {"connection_id":171159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc8"} 
[2026-09-05 00:29:04] local.INFO: Extracted packet for processing {"connection_id":171159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc8"} 
[2026-09-05 00:29:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868274688001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788548249000,"timestamp_ms":1788548249000,"timestamp_seconds":1788548249,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc875a8"} 
[2026-09-05 00:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:29: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-09-05 00: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":134,"data_length":795,"current_offset":136} 
[2026-09-05 00:29:04] 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-09-05 00: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-09-05 00:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00: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-09-05 00:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868274688001,"66":25582,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868274688001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:29:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:29:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868274688001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":171159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:29:04] local.INFO: GPS data processed {"connection_id":171159,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:29:04] local.INFO: Acknowledgment sent {"connection_id":171159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:29:35] local.INFO: TCP Data received {"connection_id":171159,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc875a8012d34c54006aa42a8000b011f28..."} 
[2026-09-05 00:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc875a8012d34c54006aa42a8000b011f28..."} 
[2026-09-05 00:29:35] local.INFO: Processing buffer {"connection_id":171159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc875a8012d34c54006aa42a8000b011f28..."} 
[2026-09-05 00:29:35] local.INFO: Packet analysis {"connection_id":171159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc8"} 
[2026-09-05 00:29:35] local.INFO: Extracted packet for processing {"connection_id":171159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc8"} 
[2026-09-05 00:29:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868274688001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788548249000,"timestamp_ms":1788548249000,"timestamp_seconds":1788548249,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc875a8"} 
[2026-09-05 00:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:29:35] 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-09-05 00:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 00:29:35] 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-09-05 00:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868274688001,"66":25582,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868274688001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:29:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:29:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868274688001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":171159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:29:35] local.INFO: GPS data processed {"connection_id":171159,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:29:35] local.INFO: Acknowledgment sent {"connection_id":171159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:29:45] local.INFO: TCP Data received {"connection_id":173851,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173851,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:29:45] local.INFO: Processing buffer {"connection_id":173851,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:29:45] local.INFO: IMEI packet received {"connection_id":173851,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 00:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":173851,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:29:46] local.INFO: TCP Data received {"connection_id":173851,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173851,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:29:46] local.INFO: Processing buffer {"connection_id":173851,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:29:46] local.INFO: IMEI packet received {"connection_id":173851,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 00:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":173851,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:29:47] local.INFO: TCP Data received {"connection_id":173851,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173851,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:29:47] local.INFO: Processing buffer {"connection_id":173851,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:29:47] local.INFO: IMEI packet received {"connection_id":173851,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 00:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":173851,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:29:52] local.INFO: TCP Data received {"connection_id":173851,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173851,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:29:52] local.INFO: Processing buffer {"connection_id":173851,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:29:52] local.INFO: IMEI packet received {"connection_id":173851,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 00:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":173851,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:29:53] local.INFO: TCP Data received {"connection_id":173851,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc94c80012d318ac006ac3b80000a01101a..."} 
[2026-09-05 00:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc94c80012d318ac006ac3b80000a01101a..."} 
[2026-09-05 00:29:53] local.INFO: Processing buffer {"connection_id":173851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc94c80012d318ac006ac3b80000a01101a..."} 
[2026-09-05 00:29:53] local.INFO: Packet analysis {"connection_id":173851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc9"} 
[2026-09-05 00:29:53] local.INFO: Extracted packet for processing {"connection_id":173851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc9"} 
[2026-09-05 00:29:53] local.INFO: GPS Element Parsed {"raw_longitude":758221504,"raw_latitude":111950720,"longitude_deg":75.8221504,"latitude_deg":11.195072,"altitude":10,"angle":272,"satellites":26,"speed":49,"hex_longitude":"2d318ac0","hex_latitude":"06ac3b80","is_valid_coordinates":true} 
[2026-09-05 00:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868365056001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":477583183446016,"note":"Value kept but may cause issues"} 
[2026-09-05 00:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3574028545442809856,"note":"Value kept but may cause issues"} 
[2026-09-05 00:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788548304000,"timestamp_ms":1788548304000,"timestamp_seconds":1788548304,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc94c80"} 
[2026-09-05 00:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 00:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-05 00:29:53] 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-09-05 00:29:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173851,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173851,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868365056001,"66":27691,"172":206,"28":21760,"24":49,"16":477583183446016,"45":3574028545442809856},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,28,24,16,45]} 
[2026-09-05 00:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868365056001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:29:53] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-05 00:29:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-05 00:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":477583183446016,"km_value":477583183446.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3574028545442809856,"description":"Unknown IO ID 45"} 
[2026-09-05 00:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868365056001,"power":27691,"unknown_172":206,"unknown_28":21760,"ignition":49,"odometer":null,"unknown_45":3574028545442809856}} 
[2026-09-05 00:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":173851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766291,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:29:53] local.INFO: GPS data processed {"connection_id":173851,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:29:53] local.INFO: Acknowledgment sent {"connection_id":173851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:29:58] local.INFO: TCP Data received {"connection_id":171466,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:29:58] local.INFO: Processing buffer {"connection_id":171466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:29:58] local.INFO: IMEI packet received {"connection_id":171466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":171466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:30:03] local.INFO: TCP Data received {"connection_id":171466,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:30:03] local.INFO: Processing buffer {"connection_id":171466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:30:03] local.INFO: IMEI packet received {"connection_id":171466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":171466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:30:04] local.INFO: TCP Data received {"connection_id":171466,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc875a8012d34c54006aa42a8000b011f28..."} 
[2026-09-05 00:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc875a8012d34c54006aa42a8000b011f28..."} 
[2026-09-05 00:30:04] local.INFO: Processing buffer {"connection_id":171466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc875a8012d34c54006aa42a8000b011f28..."} 
[2026-09-05 00:30:04] local.INFO: Packet analysis {"connection_id":171466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc8"} 
[2026-09-05 00:30:04] local.INFO: Extracted packet for processing {"connection_id":171466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc8"} 
[2026-09-05 00:30:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 00:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868274688001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788548249000,"timestamp_ms":1788548249000,"timestamp_seconds":1788548249,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc875a8"} 
[2026-09-05 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-09-05 00:30: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-09-05 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 00:30:04] 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-09-05 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-09-05 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-09-05 00:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:30: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-09-05 00:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868274688001,"66":25582,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868274688001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:30:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:30:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868274688001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":171466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:30:04] local.INFO: GPS data processed {"connection_id":171466,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:30:04] local.INFO: Acknowledgment sent {"connection_id":171466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:30:25] local.INFO: TCP Data received {"connection_id":173851,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc99e88012d313fc006ac27a0000a010a1b..."} 
[2026-09-05 00:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc99e88012d313fc006ac27a0000a010a1b..."} 
[2026-09-05 00:30:25] local.INFO: Processing buffer {"connection_id":173851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc99e88012d313fc006ac27a0000a010a1b..."} 
[2026-09-05 00:30:25] local.INFO: Packet analysis {"connection_id":173851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc9"} 
[2026-09-05 00:30:25] local.INFO: Extracted packet for processing {"connection_id":173851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc9"} 
[2026-09-05 00:30:25] local.INFO: GPS Element Parsed {"raw_longitude":758202304,"raw_latitude":111945632,"longitude_deg":75.8202304,"latitude_deg":11.1945632,"altitude":10,"angle":266,"satellites":27,"speed":0,"hex_longitude":"2d313fc0","hex_latitude":"06ac27a0","is_valid_coordinates":true} 
[2026-09-05 00:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868365824001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":477583183446016,"note":"Value kept but may cause issues"} 
[2026-09-05 00:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3569876789536456704,"note":"Value kept but may cause issues"} 
[2026-09-05 00:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788548325000,"timestamp_ms":1788548325000,"timestamp_seconds":1788548325,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc99e88"} 
[2026-09-05 00:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 00:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-05 00:30:25] 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-09-05 00:30:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173851,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173851,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868365824001,"66":27332,"172":206,"28":21760,"24":0,"16":477583183446016,"45":3569876789536456704},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,28,24,16,45]} 
[2026-09-05 00:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868365824001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:30:25] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-05 00:30:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-05 00:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":477583183446016,"km_value":477583183446.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3569876789536456704,"description":"Unknown IO ID 45"} 
[2026-09-05 00:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868365824001,"power":27332,"unknown_172":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3569876789536456704}} 
[2026-09-05 00:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":173851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766293,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:30:25] local.INFO: GPS data processed {"connection_id":173851,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:30:25] local.INFO: Acknowledgment sent {"connection_id":173851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:30:35] local.INFO: TCP Data received {"connection_id":171466,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc875a8012d34c54006aa42a8000b011f28..."} 
[2026-09-05 00:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc875a8012d34c54006aa42a8000b011f28..."} 
[2026-09-05 00:30:35] local.INFO: Processing buffer {"connection_id":171466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc875a8012d34c54006aa42a8000b011f28..."} 
[2026-09-05 00:30:35] local.INFO: Packet analysis {"connection_id":171466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc8"} 
[2026-09-05 00:30:35] local.INFO: Extracted packet for processing {"connection_id":171466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc8"} 
[2026-09-05 00:30:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868274688001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788548249000,"timestamp_ms":1788548249000,"timestamp_seconds":1788548249,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc875a8"} 
[2026-09-05 00:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:30:35] 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-09-05 00:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 00:30:35] 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-09-05 00:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868274688001,"66":25582,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868274688001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:30:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:30:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868274688001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":171466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:30:35] local.INFO: GPS data processed {"connection_id":171466,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:30:35] local.INFO: Acknowledgment sent {"connection_id":171466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:30:58] local.INFO: TCP Data received {"connection_id":172566,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:30:58] local.INFO: Processing buffer {"connection_id":172566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:30:58] local.INFO: IMEI packet received {"connection_id":172566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":172566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:31:03] local.INFO: TCP Data received {"connection_id":172566,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:31:03] local.INFO: Processing buffer {"connection_id":172566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:31:03] local.INFO: IMEI packet received {"connection_id":172566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":172566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:31:04] local.INFO: TCP Data received {"connection_id":172566,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc875a8012d34c54006aa42a8000b011f28..."} 
[2026-09-05 00:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc875a8012d34c54006aa42a8000b011f28..."} 
[2026-09-05 00:31:04] local.INFO: Processing buffer {"connection_id":172566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc875a8012d34c54006aa42a8000b011f28..."} 
[2026-09-05 00:31:04] local.INFO: Packet analysis {"connection_id":172566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc8"} 
[2026-09-05 00:31:04] local.INFO: Extracted packet for processing {"connection_id":172566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc8"} 
[2026-09-05 00:31:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868274688001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788548249000,"timestamp_ms":1788548249000,"timestamp_seconds":1788548249,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc875a8"} 
[2026-09-05 00:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:31: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-09-05 00: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":134,"data_length":795,"current_offset":136} 
[2026-09-05 00:31:04] 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-09-05 00: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-09-05 00:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:31: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-09-05 00:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868274688001,"66":25582,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868274688001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:31:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:31:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868274688001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":172566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:31:04] local.INFO: GPS data processed {"connection_id":172566,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:31:04] local.INFO: Acknowledgment sent {"connection_id":172566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:31:17] local.INFO: TCP Data received {"connection_id":171160,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-05 00:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171160,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-05 00:31:17] local.INFO: Processing buffer {"connection_id":171160,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-05 00:31:17] local.INFO: Packet analysis {"connection_id":171160,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-05 00:31:17] local.INFO: Extracted packet for processing {"connection_id":171160,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-05 00:31:17] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 00:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-05 00:31:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-05 00:31:17] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-05 00:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-05 00:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-05 00:31:17] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":171160,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-05 00:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":171160,"device_imei":null,"avl_records_count":1} 
[2026-09-05 00:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":171160,"device_imei":null,"avl_records_count":1} 
[2026-09-05 00:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":171160,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 00:31:17] local.INFO: GPS data processed {"connection_id":171160,"processed":0,"errors":0,"total":1} 
[2026-09-05 00:31:17] local.INFO: Acknowledgment sent {"connection_id":171160,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:31:17] local.INFO: TCP Data received {"connection_id":171161,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-05 00:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171161,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-05 00:31:17] local.INFO: Processing buffer {"connection_id":171161,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-05 00:31:17] local.INFO: Packet analysis {"connection_id":171161,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-05 00:31:17] local.INFO: Extracted packet for processing {"connection_id":171161,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-05 00:31:17] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 00:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-05 00:31:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-05 00:31:17] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-05 00:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-05 00:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-05 00:31:17] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":171161,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-05 00:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":171161,"device_imei":null,"avl_records_count":1} 
[2026-09-05 00:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":171161,"device_imei":null,"avl_records_count":1} 
[2026-09-05 00:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":171161,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 00:31:17] local.INFO: GPS data processed {"connection_id":171161,"processed":0,"errors":0,"total":1} 
[2026-09-05 00:31:17] local.INFO: Acknowledgment sent {"connection_id":171161,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:31:22] local.INFO: TCP Data received {"connection_id":171468,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-05 00:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171468,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-05 00:31:22] local.INFO: Processing buffer {"connection_id":171468,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-05 00:31:22] local.INFO: Packet analysis {"connection_id":171468,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-05 00:31:22] local.INFO: Extracted packet for processing {"connection_id":171468,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-05 00:31:22] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 00:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-05 00:31:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-05 00:31:22] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-05 00:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-05 00:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-05 00:31:22] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171468,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-05 00:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171468,"device_imei":null,"avl_records_count":1} 
[2026-09-05 00:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171468,"device_imei":null,"avl_records_count":1} 
[2026-09-05 00:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":171468,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 00:31:22] local.INFO: GPS data processed {"connection_id":171468,"processed":0,"errors":0,"total":1} 
[2026-09-05 00:31:22] local.INFO: Acknowledgment sent {"connection_id":171468,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:31:37] local.INFO: TCP Data received {"connection_id":172566,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc875a8012d34c54006aa42a8000b011f28..."} 
[2026-09-05 00:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc875a8012d34c54006aa42a8000b011f28..."} 
[2026-09-05 00:31:37] local.INFO: Processing buffer {"connection_id":172566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc875a8012d34c54006aa42a8000b011f28..."} 
[2026-09-05 00:31:37] local.INFO: Packet analysis {"connection_id":172566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc8"} 
[2026-09-05 00:31:37] local.INFO: Extracted packet for processing {"connection_id":172566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc8"} 
[2026-09-05 00:31:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868274688001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788548249000,"timestamp_ms":1788548249000,"timestamp_seconds":1788548249,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc875a8"} 
[2026-09-05 00:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:31:37] 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-09-05 00: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 00:31:37] 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-09-05 00: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-09-05 00:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:31: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-09-05 00:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868274688001,"66":25582,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868274688001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:31:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:31:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868274688001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":172566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:31:37] local.INFO: GPS data processed {"connection_id":172566,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:31:37] local.INFO: Acknowledgment sent {"connection_id":172566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:31:58] local.INFO: TCP Data received {"connection_id":172567,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:31:58] local.INFO: Processing buffer {"connection_id":172567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:31:58] local.INFO: IMEI packet received {"connection_id":172567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":172567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:32:03] local.INFO: TCP Data received {"connection_id":172567,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:32:03] local.INFO: Processing buffer {"connection_id":172567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:32:03] local.INFO: IMEI packet received {"connection_id":172567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":172567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:32:04] local.INFO: TCP Data received {"connection_id":172567,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc875a8012d34c54006aa42a8000b011f28..."} 
[2026-09-05 00:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc875a8012d34c54006aa42a8000b011f28..."} 
[2026-09-05 00:32:04] local.INFO: Processing buffer {"connection_id":172567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc875a8012d34c54006aa42a8000b011f28..."} 
[2026-09-05 00:32:04] local.INFO: Packet analysis {"connection_id":172567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc8"} 
[2026-09-05 00:32:04] local.INFO: Extracted packet for processing {"connection_id":172567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc8"} 
[2026-09-05 00:32:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868274688001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788548249000,"timestamp_ms":1788548249000,"timestamp_seconds":1788548249,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc875a8"} 
[2026-09-05 00:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:32: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-09-05 00:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 00:32:04] 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-09-05 00:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:32: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-09-05 00:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868274688001,"66":25582,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868274688001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:32:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:32:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868274688001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":172567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:32:04] local.INFO: GPS data processed {"connection_id":172567,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:32:04] local.INFO: Acknowledgment sent {"connection_id":172567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:32:35] local.INFO: TCP Data received {"connection_id":172567,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc875a8012d34c54006aa42a8000b011f28..."} 
[2026-09-05 00:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc875a8012d34c54006aa42a8000b011f28..."} 
[2026-09-05 00:32:35] local.INFO: Processing buffer {"connection_id":172567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc875a8012d34c54006aa42a8000b011f28..."} 
[2026-09-05 00:32:35] local.INFO: Packet analysis {"connection_id":172567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc8"} 
[2026-09-05 00:32:35] local.INFO: Extracted packet for processing {"connection_id":172567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc8"} 
[2026-09-05 00:32:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868274688001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788548249000,"timestamp_ms":1788548249000,"timestamp_seconds":1788548249,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc875a8"} 
[2026-09-05 00:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:32:35] 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-09-05 00: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 00:32:35] 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-09-05 00: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-09-05 00:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868274688001,"66":25582,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868274688001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:32:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:32:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868274688001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":172567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:32:35] local.INFO: GPS data processed {"connection_id":172567,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:32:35] local.INFO: Acknowledgment sent {"connection_id":172567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:32:58] local.INFO: TCP Data received {"connection_id":172569,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:32:58] local.INFO: Processing buffer {"connection_id":172569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:32:58] local.INFO: IMEI packet received {"connection_id":172569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":172569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:33:03] local.INFO: TCP Data received {"connection_id":172569,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:33:03] local.INFO: Processing buffer {"connection_id":172569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:33:03] local.INFO: IMEI packet received {"connection_id":172569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":172569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:33:04] local.INFO: TCP Data received {"connection_id":172569,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a06dc875a8012d34c54006aa42a8000b011f28..."} 
[2026-09-05 00:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dc875a8012d34c54006aa42a8000b011f28..."} 
[2026-09-05 00:33:04] local.INFO: Processing buffer {"connection_id":172569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dc875a8012d34c54006aa42a8000b011f28..."} 
[2026-09-05 00:33:04] local.INFO: Packet analysis {"connection_id":172569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dc8"} 
[2026-09-05 00:33:04] local.INFO: Extracted packet for processing {"connection_id":172569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dc8"} 
[2026-09-05 00:33:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868274688001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788548249000,"timestamp_ms":1788548249000,"timestamp_seconds":1788548249,"priority":1,"record_length":96,"hex_timestamp":"000001a06dc875a8"} 
[2026-09-05 00:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:33: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-09-05 00: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":134,"data_length":795,"current_offset":136} 
[2026-09-05 00:33:04] 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-09-05 00: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-09-05 00:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:33: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-09-05 00:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868274688001,"66":25582,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868274688001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:33:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:33:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868274688001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":172569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:33:04] local.INFO: GPS data processed {"connection_id":172569,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:33:04] local.INFO: Acknowledgment sent {"connection_id":172569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:33:36] local.INFO: TCP Data received {"connection_id":172569,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a06dcd0d70012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dcd0d70012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:33:36] local.INFO: Processing buffer {"connection_id":172569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dcd0d70012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:33:36] local.INFO: Packet analysis {"connection_id":172569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dcd"} 
[2026-09-05 00:33:36] local.INFO: Extracted packet for processing {"connection_id":172569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dcd"} 
[2026-09-05 00:33:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868351744001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788548550000,"timestamp_ms":1788548550000,"timestamp_seconds":1788548550,"priority":1,"record_length":96,"hex_timestamp":"000001a06dcd0d70"} 
[2026-09-05 00:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:33: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-09-05 00: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-05 00:33: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-09-05 00: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-09-05 00:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:33: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-09-05 00:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868351744001,"66":25712,"9":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-05 00:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868351744001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:33:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-05 00:33:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868351744001,"power":25712,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":172569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:33:36] local.INFO: GPS data processed {"connection_id":172569,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:33:36] local.INFO: Acknowledgment sent {"connection_id":172569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:34:03] local.INFO: TCP Data received {"connection_id":171162,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:34:03] local.INFO: Processing buffer {"connection_id":171162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:34:03] local.INFO: IMEI packet received {"connection_id":171162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":171162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:34:08] local.INFO: TCP Data received {"connection_id":171162,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:34:08] local.INFO: Processing buffer {"connection_id":171162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:34:08] local.INFO: IMEI packet received {"connection_id":171162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":171162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:34:09] local.INFO: TCP Data received {"connection_id":171162,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a06dcd0d70012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dcd0d70012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:34:09] local.INFO: Processing buffer {"connection_id":171162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dcd0d70012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:34:09] local.INFO: Packet analysis {"connection_id":171162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dcd"} 
[2026-09-05 00:34:09] local.INFO: Extracted packet for processing {"connection_id":171162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dcd"} 
[2026-09-05 00:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868351744001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788548550000,"timestamp_ms":1788548550000,"timestamp_seconds":1788548550,"priority":1,"record_length":96,"hex_timestamp":"000001a06dcd0d70"} 
[2026-09-05 00:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:34: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-09-05 00:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-05 00:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868351744001,"66":25712,"9":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-05 00:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868351744001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:34:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-05 00:34:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868351744001,"power":25712,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":171162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:34:09] local.INFO: GPS data processed {"connection_id":171162,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:34:09] local.INFO: Acknowledgment sent {"connection_id":171162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:34:13] local.INFO: TCP Data received {"connection_id":171162,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a06dcd0d70012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dcd0d70012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:34:13] local.INFO: Processing buffer {"connection_id":171162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dcd0d70012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:34:13] local.INFO: Packet analysis {"connection_id":171162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dcd"} 
[2026-09-05 00:34:13] local.INFO: Extracted packet for processing {"connection_id":171162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dcd"} 
[2026-09-05 00:34:13] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868351744001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788548550000,"timestamp_ms":1788548550000,"timestamp_seconds":1788548550,"priority":1,"record_length":96,"hex_timestamp":"000001a06dcd0d70"} 
[2026-09-05 00:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 00:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-05 00:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868351744001,"66":25712,"9":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-05 00:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868351744001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:34:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-05 00:34:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868351744001,"power":25712,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":171162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:34:13] local.INFO: GPS data processed {"connection_id":171162,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:34:13] local.INFO: Acknowledgment sent {"connection_id":171162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:34:58] local.INFO: TCP Data received {"connection_id":173853,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:34:58] local.INFO: Processing buffer {"connection_id":173853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:34:58] local.INFO: IMEI packet received {"connection_id":173853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":173853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:35:03] local.INFO: TCP Data received {"connection_id":173853,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:35:03] local.INFO: Processing buffer {"connection_id":173853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:35:03] local.INFO: IMEI packet received {"connection_id":173853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":173853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:35:04] local.INFO: TCP Data received {"connection_id":173853,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06dcd0d70012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dcd0d70012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:35:04] local.INFO: Processing buffer {"connection_id":173853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dcd0d70012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:35:04] local.INFO: Packet analysis {"connection_id":173853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dcd"} 
[2026-09-05 00:35:04] local.INFO: Extracted packet for processing {"connection_id":173853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dcd"} 
[2026-09-05 00:35:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868351744001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788548550000,"timestamp_ms":1788548550000,"timestamp_seconds":1788548550,"priority":1,"record_length":96,"hex_timestamp":"000001a06dcd0d70"} 
[2026-09-05 00:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:35: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-09-05 00: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":238,"data_length":795,"current_offset":136} 
[2026-09-05 00:35: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-09-05 00: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-09-05 00:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00: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-09-05 00:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868351744001,"66":25712,"9":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-05 00:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868351744001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:35:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-05 00:35:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868351744001,"power":25712,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":173853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:35:04] local.INFO: GPS data processed {"connection_id":173853,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:35:04] local.INFO: Acknowledgment sent {"connection_id":173853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:35:35] local.INFO: TCP Data received {"connection_id":173853,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06dcd0d70012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dcd0d70012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:35:35] local.INFO: Processing buffer {"connection_id":173853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dcd0d70012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:35:35] local.INFO: Packet analysis {"connection_id":173853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dcd"} 
[2026-09-05 00:35:35] local.INFO: Extracted packet for processing {"connection_id":173853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dcd"} 
[2026-09-05 00:35:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868351744001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788548550000,"timestamp_ms":1788548550000,"timestamp_seconds":1788548550,"priority":1,"record_length":96,"hex_timestamp":"000001a06dcd0d70"} 
[2026-09-05 00:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:35:35] 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-09-05 00:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-05 00:35: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-09-05 00: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-09-05 00:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868351744001,"66":25712,"9":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-05 00:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868351744001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:35:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-05 00:35:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868351744001,"power":25712,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":173853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:35:35] local.INFO: GPS data processed {"connection_id":173853,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:35:35] local.INFO: Acknowledgment sent {"connection_id":173853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:35:58] local.INFO: TCP Data received {"connection_id":173854,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:35:58] local.INFO: Processing buffer {"connection_id":173854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:35:58] local.INFO: IMEI packet received {"connection_id":173854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":173854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:36:03] local.INFO: TCP Data received {"connection_id":173854,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:36:03] local.INFO: Processing buffer {"connection_id":173854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:36:03] local.INFO: IMEI packet received {"connection_id":173854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":173854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:36:04] local.INFO: TCP Data received {"connection_id":173854,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06dcd0d70012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dcd0d70012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:36:04] local.INFO: Processing buffer {"connection_id":173854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dcd0d70012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:36:04] local.INFO: Packet analysis {"connection_id":173854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dcd"} 
[2026-09-05 00:36:04] local.INFO: Extracted packet for processing {"connection_id":173854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dcd"} 
[2026-09-05 00:36:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868351744001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788548550000,"timestamp_ms":1788548550000,"timestamp_seconds":1788548550,"priority":1,"record_length":96,"hex_timestamp":"000001a06dcd0d70"} 
[2026-09-05 00:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:36: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-09-05 00: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":238,"data_length":795,"current_offset":136} 
[2026-09-05 00:36: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-09-05 00: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-09-05 00:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:36: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-09-05 00:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868351744001,"66":25712,"9":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-05 00:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868351744001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:36:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-05 00:36:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868351744001,"power":25712,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":173854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:36:04] local.INFO: GPS data processed {"connection_id":173854,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:36:04] local.INFO: Acknowledgment sent {"connection_id":173854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:36:13] local.INFO: TCP Data received {"connection_id":171471,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171471,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:36:13] local.INFO: Processing buffer {"connection_id":171471,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:36:13] local.INFO: IMEI packet received {"connection_id":171471,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 00:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":171471,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:36:14] local.INFO: TCP Data received {"connection_id":171471,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dcf91f8012d2e9f4006b1b188000a00231b..."} 
[2026-09-05 00:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dcf91f8012d2e9f4006b1b188000a00231b..."} 
[2026-09-05 00:36:14] local.INFO: Processing buffer {"connection_id":171471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dcf91f8012d2e9f4006b1b188000a00231b..."} 
[2026-09-05 00:36:14] local.INFO: Packet analysis {"connection_id":171471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dcf"} 
[2026-09-05 00:36:14] local.INFO: Extracted packet for processing {"connection_id":171471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dcf"} 
[2026-09-05 00:36:14] local.INFO: GPS Element Parsed {"raw_longitude":758030144,"raw_latitude":112308616,"longitude_deg":75.8030144,"latitude_deg":11.2308616,"altitude":10,"angle":35,"satellites":27,"speed":43,"hex_longitude":"2d2e9f40","hex_latitude":"06b1b188","is_valid_coordinates":true} 
[2026-09-05 00:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868471040001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":497769529737216,"note":"Value kept but may cause issues"} 
[2026-09-05 00:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3359474244536862720,"note":"Value kept but may cause issues"} 
[2026-09-05 00:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,27,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788548715000,"timestamp_ms":1788548715000,"timestamp_seconds":1788548715,"priority":1,"record_length":96,"hex_timestamp":"000001a06dcf91f8"} 
[2026-09-05 00:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:36:14] 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-09-05 00:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 00:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":171471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":171471,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":171471,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868471040001,"66":27843,"74":206,"27":54528,"24":43,"16":497769529737216,"45":3359474244536862720},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,27,24,16,45]} 
[2026-09-05 00:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868471040001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:36:14] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-05 00:36:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-09-05 00:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":497769529737216,"km_value":497769529737.216,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3359474244536862720,"description":"Unknown IO ID 45"} 
[2026-09-05 00:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868471040001,"power":27843,"unknown_74":206,"unknown_27":54528,"ignition":43,"odometer":null,"unknown_45":3359474244536862720}} 
[2026-09-05 00:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":171471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766306,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:36:14] local.INFO: GPS data processed {"connection_id":171471,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:36:14] local.INFO: Acknowledgment sent {"connection_id":171471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:36:37] local.INFO: TCP Data received {"connection_id":173854,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06dcd0d70012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dcd0d70012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:36:37] local.INFO: Processing buffer {"connection_id":173854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dcd0d70012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:36:37] local.INFO: Packet analysis {"connection_id":173854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dcd"} 
[2026-09-05 00:36:37] local.INFO: Extracted packet for processing {"connection_id":173854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dcd"} 
[2026-09-05 00:36:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868351744001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788548550000,"timestamp_ms":1788548550000,"timestamp_seconds":1788548550,"priority":1,"record_length":96,"hex_timestamp":"000001a06dcd0d70"} 
[2026-09-05 00:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:36:37] 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-09-05 00: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-05 00:36: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-09-05 00: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-09-05 00:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:36: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-09-05 00:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868351744001,"66":25712,"9":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-05 00:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868351744001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:36:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-05 00:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868351744001,"power":25712,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":173854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:36:37] local.INFO: GPS data processed {"connection_id":173854,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:36:37] local.INFO: Acknowledgment sent {"connection_id":173854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:36:46] local.INFO: TCP Data received {"connection_id":172570,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:36:46] local.INFO: Processing buffer {"connection_id":172570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:36:46] local.INFO: IMEI packet received {"connection_id":172570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 00:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":172570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:36:48] local.INFO: TCP Data received {"connection_id":172570,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:36:48] local.INFO: Processing buffer {"connection_id":172570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:36:48] local.INFO: IMEI packet received {"connection_id":172570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 00:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":172570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:36:54] local.INFO: TCP Data received {"connection_id":172570,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:36:54] local.INFO: Processing buffer {"connection_id":172570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:36:54] local.INFO: IMEI packet received {"connection_id":172570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 00:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":172570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:36:55] local.INFO: TCP Data received {"connection_id":172570,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd08040012d2ee64006b2c770000f00041a..."} 
[2026-09-05 00:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd08040012d2ee64006b2c770000f00041a..."} 
[2026-09-05 00:36:55] local.INFO: Processing buffer {"connection_id":172570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd08040012d2ee64006b2c770000f00041a..."} 
[2026-09-05 00:36:55] local.INFO: Packet analysis {"connection_id":172570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd0"} 
[2026-09-05 00:36:55] local.INFO: Extracted packet for processing {"connection_id":172570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd0"} 
[2026-09-05 00:36:55] local.INFO: GPS Element Parsed {"raw_longitude":758048320,"raw_latitude":112379760,"longitude_deg":75.804832,"latitude_deg":11.237976,"altitude":15,"angle":4,"satellites":26,"speed":50,"hex_longitude":"2d2ee640","hex_latitude":"06b2c770","is_valid_coordinates":true} 
[2026-09-05 00:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868486656001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":501351532462080,"note":"Value kept but may cause issues"} 
[2026-09-05 00:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3379458967901532160,"note":"Value kept but may cause issues"} 
[2026-09-05 00:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788548776000,"timestamp_ms":1788548776000,"timestamp_seconds":1788548776,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd08040"} 
[2026-09-05 00:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:36:55] 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-09-05 00:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-05 00:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868486656001,"66":27691,"98":206,"28":21760,"24":50,"16":501351532462080,"45":3379458967901532160},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,28,24,16,45]} 
[2026-09-05 00:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868486656001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:36:55] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-05 00:36:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-05 00:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":501351532462080,"km_value":501351532462.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3379458967901532160,"description":"Unknown IO ID 45"} 
[2026-09-05 00:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868486656001,"power":27691,"unknown_98":206,"unknown_28":21760,"ignition":50,"odometer":null,"unknown_45":3379458967901532160}} 
[2026-09-05 00:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":172570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766308,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:36:55] local.INFO: GPS data processed {"connection_id":172570,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:36:55] local.INFO: Acknowledgment sent {"connection_id":172570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:36:57] local.INFO: TCP Data received {"connection_id":172570,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd08810012d2ee60006b2d158000f01601b..."} 
[2026-09-05 00:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd08810012d2ee60006b2d158000f01601b..."} 
[2026-09-05 00:36:57] local.INFO: Processing buffer {"connection_id":172570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd08810012d2ee60006b2d158000f01601b..."} 
[2026-09-05 00:36:57] local.INFO: Packet analysis {"connection_id":172570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd0"} 
[2026-09-05 00:36:57] local.INFO: Extracted packet for processing {"connection_id":172570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd0"} 
[2026-09-05 00:36:57] local.INFO: GPS Element Parsed {"raw_longitude":758048256,"raw_latitude":112382296,"longitude_deg":75.8048256,"latitude_deg":11.2382296,"altitude":15,"angle":352,"satellites":27,"speed":50,"hex_longitude":"2d2ee600","hex_latitude":"06b2d158","is_valid_coordinates":true} 
[2026-09-05 00:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868486656001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":501476086513664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3379458967901532160,"note":"Value kept but may cause issues"} 
[2026-09-05 00:36:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788548778000,"timestamp_ms":1788548778000,"timestamp_seconds":1788548778,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd08810"} 
[2026-09-05 00:36:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:36:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 00:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-05 00:36:57] 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-09-05 00:36:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:36:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868486656001,"66":27767,"98":206,"28":21760,"24":50,"16":501476086513664,"45":3379458967901532160},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,28,24,16,45]} 
[2026-09-05 00:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868486656001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:36:57] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-05 00:36:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-05 00:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":501476086513664,"km_value":501476086513.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3379458967901532160,"description":"Unknown IO ID 45"} 
[2026-09-05 00:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868486656001,"power":27767,"unknown_98":206,"unknown_28":21760,"ignition":50,"odometer":null,"unknown_45":3379458967901532160}} 
[2026-09-05 00:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":172570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766309,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:36:57] local.INFO: GPS data processed {"connection_id":172570,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:36:57] local.INFO: Acknowledgment sent {"connection_id":172570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:36:58] local.INFO: TCP Data received {"connection_id":171472,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:36:58] local.INFO: Processing buffer {"connection_id":171472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:36:58] local.INFO: IMEI packet received {"connection_id":171472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":171472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:37:03] local.INFO: TCP Data received {"connection_id":171472,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:37:03] local.INFO: Processing buffer {"connection_id":171472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:37:03] local.INFO: IMEI packet received {"connection_id":171472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":171472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:37:04] local.INFO: TCP Data received {"connection_id":171472,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a06dcd0d70012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dcd0d70012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:37:04] local.INFO: Processing buffer {"connection_id":171472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dcd0d70012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:37:04] local.INFO: Packet analysis {"connection_id":171472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dcd"} 
[2026-09-05 00:37:04] local.INFO: Extracted packet for processing {"connection_id":171472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dcd"} 
[2026-09-05 00:37:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868351744001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788548550000,"timestamp_ms":1788548550000,"timestamp_seconds":1788548550,"priority":1,"record_length":96,"hex_timestamp":"000001a06dcd0d70"} 
[2026-09-05 00:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:37: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-09-05 00: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":238,"data_length":795,"current_offset":136} 
[2026-09-05 00:37: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-09-05 00: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-09-05 00:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:37: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-09-05 00:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868351744001,"66":25712,"9":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-05 00:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868351744001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:37:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-05 00:37:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868351744001,"power":25712,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":171472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:37:04] local.INFO: GPS data processed {"connection_id":171472,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:37:04] local.INFO: Acknowledgment sent {"connection_id":171472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:37:28] local.INFO: TCP Data received {"connection_id":172570,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd0a368012d2ede0006b2f408000e015c1d..."} 
[2026-09-05 00:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd0a368012d2ede0006b2f408000e015c1d..."} 
[2026-09-05 00:37:28] local.INFO: Processing buffer {"connection_id":172570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd0a368012d2ede0006b2f408000e015c1d..."} 
[2026-09-05 00:37:28] local.INFO: Packet analysis {"connection_id":172570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd0"} 
[2026-09-05 00:37:28] local.INFO: Extracted packet for processing {"connection_id":172570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd0"} 
[2026-09-05 00:37:28] local.INFO: GPS Element Parsed {"raw_longitude":758046208,"raw_latitude":112391176,"longitude_deg":75.8046208,"latitude_deg":11.2391176,"altitude":14,"angle":348,"satellites":29,"speed":51,"hex_longitude":"2d2ede00","hex_latitude":"06b2f408","is_valid_coordinates":true} 
[2026-09-05 00:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868487168001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":501918468145152,"note":"Value kept but may cause issues"} 
[2026-09-05 00:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3379388599158003712,"note":"Value kept but may cause issues"} 
[2026-09-05 00:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788548785000,"timestamp_ms":1788548785000,"timestamp_seconds":1788548785,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd0a368"} 
[2026-09-05 00:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:37:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 00:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 00:37:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:37:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868487168001,"66":27713,"98":206,"28":21760,"24":51,"16":501918468145152,"45":3379388599158003712},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,28,24,16,45]} 
[2026-09-05 00:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868487168001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:37:28] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-05 00:37:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-05 00:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":501918468145152,"km_value":501918468145.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3379388599158003712,"description":"Unknown IO ID 45"} 
[2026-09-05 00:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868487168001,"power":27713,"unknown_98":206,"unknown_28":21760,"ignition":51,"odometer":null,"unknown_45":3379388599158003712}} 
[2026-09-05 00:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":172570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766311,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:37:28] local.INFO: GPS data processed {"connection_id":172570,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:37:28] local.INFO: Acknowledgment sent {"connection_id":172570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:37:36] local.INFO: TCP Data received {"connection_id":171472,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a06dcd0d70012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dcd0d70012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:37:36] local.INFO: Processing buffer {"connection_id":171472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dcd0d70012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:37:36] local.INFO: Packet analysis {"connection_id":171472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dcd"} 
[2026-09-05 00:37:36] local.INFO: Extracted packet for processing {"connection_id":171472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dcd"} 
[2026-09-05 00:37:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868351744001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788548550000,"timestamp_ms":1788548550000,"timestamp_seconds":1788548550,"priority":1,"record_length":96,"hex_timestamp":"000001a06dcd0d70"} 
[2026-09-05 00:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:37: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-09-05 00: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":238,"data_length":795,"current_offset":136} 
[2026-09-05 00:37: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-09-05 00: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-09-05 00:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:37: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-09-05 00:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868351744001,"66":25712,"9":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-05 00:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868351744001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:37:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-05 00:37:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868351744001,"power":25712,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":171472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:37:36] local.INFO: GPS data processed {"connection_id":171472,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:37:36] local.INFO: Acknowledgment sent {"connection_id":171472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:37:55] local.INFO: TCP Data received {"connection_id":173855,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173855,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:37:55] local.INFO: Processing buffer {"connection_id":173855,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:37:55] local.INFO: IMEI packet received {"connection_id":173855,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 00:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":173855,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:37:58] local.INFO: TCP Data received {"connection_id":173856,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:37:58] local.INFO: Processing buffer {"connection_id":173856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:37:58] local.INFO: IMEI packet received {"connection_id":173856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":173856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:38:03] local.INFO: TCP Data received {"connection_id":173856,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:38:03] local.INFO: Processing buffer {"connection_id":173856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:38:03] local.INFO: IMEI packet received {"connection_id":173856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":173856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:38:04] local.INFO: TCP Data received {"connection_id":173856,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a06dcd0d70012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dcd0d70012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:38:04] local.INFO: Processing buffer {"connection_id":173856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dcd0d70012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:38:04] local.INFO: Packet analysis {"connection_id":173856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dcd"} 
[2026-09-05 00:38:04] local.INFO: Extracted packet for processing {"connection_id":173856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dcd"} 
[2026-09-05 00:38:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868351744001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788548550000,"timestamp_ms":1788548550000,"timestamp_seconds":1788548550,"priority":1,"record_length":96,"hex_timestamp":"000001a06dcd0d70"} 
[2026-09-05 00:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00: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-09-05 00: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":238,"data_length":795,"current_offset":136} 
[2026-09-05 00:38: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-09-05 00: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-09-05 00:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00: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-09-05 00:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868351744001,"66":25712,"9":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-05 00:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868351744001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:38:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-05 00:38:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868351744001,"power":25712,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":173856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:38:04] local.INFO: GPS data processed {"connection_id":173856,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:38:04] local.INFO: Acknowledgment sent {"connection_id":173856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:38:05] local.INFO: TCP Data received {"connection_id":173855,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173855,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:38:05] local.INFO: Processing buffer {"connection_id":173855,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:38:05] local.INFO: IMEI packet received {"connection_id":173855,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 00:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":173855,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:38:07] local.INFO: TCP Data received {"connection_id":173855,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173855,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:38:07] local.INFO: Processing buffer {"connection_id":173855,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:38:07] local.INFO: IMEI packet received {"connection_id":173855,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 00:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":173855,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:38:08] local.INFO: TCP Data received {"connection_id":173855,"ip":"117.225.190.4","data_length":1360,"data_hex":"000000000000030f8e0a000001a06dd1cc48012d2e0a4006b3cbb8000801561d..."} 
[2026-09-05 00:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173855,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a06dd1cc48012d2e0a4006b3cbb8000801561d..."} 
[2026-09-05 00:38:08] local.INFO: Processing buffer {"connection_id":173855,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a06dd1cc48012d2e0a4006b3cbb8000801561d..."} 
[2026-09-05 00:38:08] local.INFO: Packet analysis {"connection_id":173855,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a06dd1"} 
[2026-09-05 00:38:08] local.INFO: Extracted packet for processing {"connection_id":173855,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a06dd1"} 
[2026-09-05 00:38:08] local.INFO: GPS Element Parsed {"raw_longitude":757992000,"raw_latitude":112446392,"longitude_deg":75.7992,"latitude_deg":11.2446392,"altitude":8,"angle":342,"satellites":29,"speed":35,"hex_longitude":"2d2e0a40","hex_latitude":"06b3cbb8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868507648001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":505758168907776,"note":"Value kept but may cause issues"} 
[2026-09-05 00:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3318730741692612608,"note":"Value kept but may cause issues"} 
[2026-09-05 00:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788548861000,"timestamp_ms":1788548861000,"timestamp_seconds":1788548861,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd1cc48"} 
[2026-09-05 00:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:38:08] 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-09-05 00:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-05 00:38: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-09-05 00: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-09-05 00:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868507648001,"66":27571,"248":206,"28":21760,"24":35,"16":505758168907776,"45":3318730741692612608},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,28,24,16,45]} 
[2026-09-05 00:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868507648001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:38:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-05 00:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":505758168907776,"km_value":505758168907.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3318730741692612608,"description":"Unknown IO ID 45"} 
[2026-09-05 00:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868507648001,"power":27571,"tamper_alert":206,"unknown_28":21760,"ignition":35,"odometer":null,"unknown_45":3318730741692612608}} 
[2026-09-05 00:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":173855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766314,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:38:08] local.INFO: GPS data processed {"connection_id":173855,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:38:08] local.INFO: Acknowledgment sent {"connection_id":173855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:38:08] local.INFO: Packet analysis {"connection_id":173855,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a06dd1"} 
[2026-09-05 00:38:08] local.INFO: Incomplete packet, waiting for more data {"connection_id":173855,"needed":795,"available":565} 
[2026-09-05 00:38:18] local.INFO: TCP Data received {"connection_id":173855,"ip":"117.225.190.4","data_length":1025,"data_hex":"2d2e9c4006b348080008012f1c00200000000a000400ef0100713a00f0010045..."} 
[2026-09-05 00:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173855,"packet_length":1025,"packet_hex":"2d2e9c4006b348080008012f1c00200000000a000400ef0100713a00f0010045..."} 
[2026-09-05 00:38:18] local.INFO: Processing buffer {"connection_id":173855,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a06dd1d800012d2e088006b3d570000801651d..."} 
[2026-09-05 00:38:18] local.INFO: Packet analysis {"connection_id":173855,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a06dd1"} 
[2026-09-05 00:38:18] local.INFO: Extracted packet for processing {"connection_id":173855,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd1"} 
[2026-09-05 00:38:18] local.INFO: GPS Element Parsed {"raw_longitude":757991552,"raw_latitude":112448880,"longitude_deg":75.7991552,"latitude_deg":11.244888,"altitude":8,"angle":357,"satellites":29,"speed":32,"hex_longitude":"2d2e0880","hex_latitude":"06b3d570","is_valid_coordinates":true} 
[2026-09-05 00:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868508416001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":505878427992064,"note":"Value kept but may cause issues"} 
[2026-09-05 00:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3317534473042245632,"note":"Value kept but may cause issues"} 
[2026-09-05 00:38:18] 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-09-05 00:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788548864000,"timestamp_ms":1788548864000,"timestamp_seconds":1788548864,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd1d800"} 
[2026-09-05 00:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 00:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-05 00:38:18] 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-09-05 00:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868508416001,"66":27745,"60":206,"28":21760,"24":32,"16":505878427992064,"45":3317534473042245632},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,28,24,16,45]} 
[2026-09-05 00:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868508416001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:38:18] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-05 00:38:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-05 00:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":505878427992064,"km_value":505878427992.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3317534473042245632,"description":"Unknown IO ID 45"} 
[2026-09-05 00:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868508416001,"power":27745,"unknown_60":206,"unknown_28":21760,"ignition":32,"odometer":null,"unknown_45":3317534473042245632}} 
[2026-09-05 00:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":173855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766315,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:38:19] local.INFO: GPS data processed {"connection_id":173855,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:38:19] local.INFO: Acknowledgment sent {"connection_id":173855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:38:19] local.INFO: Packet analysis {"connection_id":173855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd1"} 
[2026-09-05 00:38:19] local.INFO: Extracted packet for processing {"connection_id":173855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd1"} 
[2026-09-05 00:38:19] local.INFO: GPS Element Parsed {"raw_longitude":757991168,"raw_latitude":112451536,"longitude_deg":75.7991168,"latitude_deg":11.2451536,"altitude":8,"angle":345,"satellites":29,"speed":35,"hex_longitude":"2d2e0700","hex_latitude":"06b3dfd0","is_valid_coordinates":true} 
[2026-09-05 00:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868509184001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":506011571978240,"note":"Value kept but may cause issues"} 
[2026-09-05 00:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3317041891833638912,"note":"Value kept but may cause issues"} 
[2026-09-05 00:38:19] 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-09-05 00:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788548867000,"timestamp_ms":1788548867000,"timestamp_seconds":1788548867,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd1e3b8"} 
[2026-09-05 00:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:38:19] 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-09-05 00:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 00:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868509184001,"66":27626,"60":206,"28":21760,"24":35,"16":506011571978240,"45":3317041891833638912},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,28,24,16,45]} 
[2026-09-05 00:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868509184001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:38:19] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-05 00:38:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-05 00:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":506011571978240,"km_value":506011571978.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3317041891833638912,"description":"Unknown IO ID 45"} 
[2026-09-05 00:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868509184001,"power":27626,"unknown_60":206,"unknown_28":21760,"ignition":35,"odometer":null,"unknown_45":3317041891833638912}} 
[2026-09-05 00:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":173855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766316,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:38:19] local.INFO: GPS data processed {"connection_id":173855,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:38:19] local.INFO: Acknowledgment sent {"connection_id":173855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:38:35] local.INFO: TCP Data received {"connection_id":173856,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd1a538012d34c54006aa42a80009011f27..."} 
[2026-09-05 00:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd1a538012d34c54006aa42a80009011f27..."} 
[2026-09-05 00:38:35] local.INFO: Processing buffer {"connection_id":173856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd1a538012d34c54006aa42a80009011f27..."} 
[2026-09-05 00:38:35] local.INFO: Packet analysis {"connection_id":173856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd1"} 
[2026-09-05 00:38:35] local.INFO: Extracted packet for processing {"connection_id":173856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd1"} 
[2026-09-05 00:38:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868428800001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788548851000,"timestamp_ms":1788548851000,"timestamp_seconds":1788548851,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd1a538"} 
[2026-09-05 00:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:38:35] 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-09-05 00: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-05 00:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868428800001,"66":25702,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868428800001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:38:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:38:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868428800001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":173856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:38:35] local.INFO: GPS data processed {"connection_id":173856,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:38:35] local.INFO: Acknowledgment sent {"connection_id":173856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:38:48] local.INFO: TCP Data received {"connection_id":171473,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:38:48] local.INFO: Processing buffer {"connection_id":171473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:38:48] local.INFO: IMEI packet received {"connection_id":171473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 00:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":171473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:38:52] local.INFO: TCP Data received {"connection_id":171473,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:38:52] local.INFO: Processing buffer {"connection_id":171473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:38:52] local.INFO: IMEI packet received {"connection_id":171473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 00:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":171473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:38:57] local.INFO: TCP Data received {"connection_id":171473,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:38:57] local.INFO: Processing buffer {"connection_id":171473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:38:57] local.INFO: IMEI packet received {"connection_id":171473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 00:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":171473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:38:58] local.INFO: TCP Data received {"connection_id":171473,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd1f740012d2e040006b3f1b8000801651d..."} 
[2026-09-05 00:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd1f740012d2e040006b3f1b8000801651d..."} 
[2026-09-05 00:38:58] local.INFO: Processing buffer {"connection_id":171473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd1f740012d2e040006b3f1b8000801651d..."} 
[2026-09-05 00:38:58] local.INFO: Packet analysis {"connection_id":171473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd1"} 
[2026-09-05 00:38:58] local.INFO: Extracted packet for processing {"connection_id":171473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd1"} 
[2026-09-05 00:38:58] local.INFO: GPS Element Parsed {"raw_longitude":757990400,"raw_latitude":112456120,"longitude_deg":75.79904,"latitude_deg":11.245612,"altitude":8,"angle":357,"satellites":29,"speed":36,"hex_longitude":"2d2e0400","hex_latitude":"06b3f1b8","is_valid_coordinates":true} 
[2026-09-05 00:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868509952001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":506234910277632,"note":"Value kept but may cause issues"} 
[2026-09-05 00:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3316619679369252864,"note":"Value kept but may cause issues"} 
[2026-09-05 00:38:58] 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-09-05 00:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788548872000,"timestamp_ms":1788548872000,"timestamp_seconds":1788548872,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd1f740"} 
[2026-09-05 00:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:38:58] 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-09-05 00:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-05 00:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:38:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868509952001,"66":27767,"60":206,"28":21760,"24":36,"16":506234910277632,"45":3316619679369252864},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,28,24,16,45]} 
[2026-09-05 00:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868509952001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:38:58] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-05 00:38:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-05 00:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":506234910277632,"km_value":506234910277.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3316619679369252864,"description":"Unknown IO ID 45"} 
[2026-09-05 00:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868509952001,"power":27767,"unknown_60":206,"unknown_28":21760,"ignition":36,"odometer":null,"unknown_45":3316619679369252864}} 
[2026-09-05 00:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":171473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766318,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:38:58] local.INFO: GPS data processed {"connection_id":171473,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:38:58] local.INFO: Acknowledgment sent {"connection_id":171473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:38:58] local.INFO: TCP Data received {"connection_id":173857,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:38:58] local.INFO: Processing buffer {"connection_id":173857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:38:58] local.INFO: IMEI packet received {"connection_id":173857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":173857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:39:02] local.INFO: TCP Data received {"connection_id":171473,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd21a68012d2e054006b416c0000a00061c..."} 
[2026-09-05 00:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd21a68012d2e054006b416c0000a00061c..."} 
[2026-09-05 00:39:02] local.INFO: Processing buffer {"connection_id":171473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd21a68012d2e054006b416c0000a00061c..."} 
[2026-09-05 00:39:02] local.INFO: Packet analysis {"connection_id":171473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd2"} 
[2026-09-05 00:39:02] local.INFO: Extracted packet for processing {"connection_id":171473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd2"} 
[2026-09-05 00:39:02] local.INFO: GPS Element Parsed {"raw_longitude":757990720,"raw_latitude":112465600,"longitude_deg":75.799072,"latitude_deg":11.24656,"altitude":10,"angle":6,"satellites":28,"speed":43,"hex_longitude":"2d2e0540","hex_latitude":"06b416c0","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868511232001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":506694471778304,"note":"Value kept but may cause issues"} 
[2026-09-05 00:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3315775254440294400,"note":"Value kept but may cause issues"} 
[2026-09-05 00:39:02] 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-09-05 00:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788548881000,"timestamp_ms":1788548881000,"timestamp_seconds":1788548881,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd21a68"} 
[2026-09-05 00:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:39: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-09-05 00: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 00:39: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-09-05 00: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-09-05 00:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868511232001,"66":27658,"60":206,"28":21760,"24":43,"16":506694471778304,"45":3315775254440294400},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,28,24,16,45]} 
[2026-09-05 00:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868511232001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:39:02] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-05 00:39:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-05 00:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":506694471778304,"km_value":506694471778.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3315775254440294400,"description":"Unknown IO ID 45"} 
[2026-09-05 00:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868511232001,"power":27658,"unknown_60":206,"unknown_28":21760,"ignition":43,"odometer":null,"unknown_45":3315775254440294400}} 
[2026-09-05 00:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":171473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766319,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:39:02] local.INFO: GPS data processed {"connection_id":171473,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:39:02] local.INFO: Acknowledgment sent {"connection_id":171473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:39:03] local.INFO: TCP Data received {"connection_id":173857,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:39:03] local.INFO: Processing buffer {"connection_id":173857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:39:03] local.INFO: IMEI packet received {"connection_id":173857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":173857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:39:04] local.INFO: TCP Data received {"connection_id":173857,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd1a538012d34c54006aa42a80009011f27..."} 
[2026-09-05 00:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd1a538012d34c54006aa42a80009011f27..."} 
[2026-09-05 00:39:04] local.INFO: Processing buffer {"connection_id":173857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd1a538012d34c54006aa42a80009011f27..."} 
[2026-09-05 00:39:04] local.INFO: Packet analysis {"connection_id":173857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd1"} 
[2026-09-05 00:39:04] local.INFO: Extracted packet for processing {"connection_id":173857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd1"} 
[2026-09-05 00:39:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868428800001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788548851000,"timestamp_ms":1788548851000,"timestamp_seconds":1788548851,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd1a538"} 
[2026-09-05 00:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:39: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-09-05 00: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":112,"data_length":795,"current_offset":136} 
[2026-09-05 00:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:39: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-09-05 00:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868428800001,"66":25702,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868428800001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:39:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:39:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868428800001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":173857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:39:04] local.INFO: GPS data processed {"connection_id":173857,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:39:04] local.INFO: Acknowledgment sent {"connection_id":173857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:39:35] local.INFO: TCP Data received {"connection_id":173857,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd1a538012d34c54006aa42a80009011f27..."} 
[2026-09-05 00:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd1a538012d34c54006aa42a80009011f27..."} 
[2026-09-05 00:39:35] local.INFO: Processing buffer {"connection_id":173857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd1a538012d34c54006aa42a80009011f27..."} 
[2026-09-05 00:39:35] local.INFO: Packet analysis {"connection_id":173857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd1"} 
[2026-09-05 00:39:35] local.INFO: Extracted packet for processing {"connection_id":173857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd1"} 
[2026-09-05 00:39:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868428800001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788548851000,"timestamp_ms":1788548851000,"timestamp_seconds":1788548851,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd1a538"} 
[2026-09-05 00:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:39:35] 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-09-05 00:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-05 00:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868428800001,"66":25702,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868428800001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:39:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:39:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868428800001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":173857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:39:35] local.INFO: GPS data processed {"connection_id":173857,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:39:35] local.INFO: Acknowledgment sent {"connection_id":173857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:39:46] local.INFO: TCP Data received {"connection_id":172571,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:39:46] local.INFO: Processing buffer {"connection_id":172571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:39:46] local.INFO: IMEI packet received {"connection_id":172571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 00:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":172571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:39:52] local.INFO: TCP Data received {"connection_id":172571,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:39:52] local.INFO: Processing buffer {"connection_id":172571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:39:52] local.INFO: IMEI packet received {"connection_id":172571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 00:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":172571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:39:53] local.INFO: TCP Data received {"connection_id":172571,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd34348012d2db64006b4f4a8001801271d..."} 
[2026-09-05 00:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd34348012d2db64006b4f4a8001801271d..."} 
[2026-09-05 00:39:53] local.INFO: Processing buffer {"connection_id":172571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd34348012d2db64006b4f4a8001801271d..."} 
[2026-09-05 00:39:53] local.INFO: Packet analysis {"connection_id":172571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd3"} 
[2026-09-05 00:39:53] local.INFO: Extracted packet for processing {"connection_id":172571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd3"} 
[2026-09-05 00:39:53] local.INFO: GPS Element Parsed {"raw_longitude":757970496,"raw_latitude":112522408,"longitude_deg":75.7970496,"latitude_deg":11.2522408,"altitude":24,"angle":295,"satellites":29,"speed":26,"hex_longitude":"2d2db640","hex_latitude":"06b4f4a8","is_valid_coordinates":true} 
[2026-09-05 00:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868532224001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":509726718689280,"note":"Value kept but may cause issues"} 
[2026-09-05 00:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3295649793622190080,"note":"Value kept but may cause issues"} 
[2026-09-05 00:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,27,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788548957000,"timestamp_ms":1788548957000,"timestamp_seconds":1788548957,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd34348"} 
[2026-09-05 00:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 00:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 00:39:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:39:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868532224001,"66":27604,"108":206,"27":54528,"24":26,"16":509726718689280,"45":3295649793622190080},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,27,24,16,45]} 
[2026-09-05 00:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868532224001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:39:53] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-05 00:39:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-09-05 00:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":509726718689280,"km_value":509726718689.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3295649793622190080,"description":"Unknown IO ID 45"} 
[2026-09-05 00:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868532224001,"power":27604,"unknown_108":206,"unknown_27":54528,"ignition":26,"odometer":null,"unknown_45":3295649793622190080}} 
[2026-09-05 00:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":172571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766322,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:39:53] local.INFO: GPS data processed {"connection_id":172571,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:39:53] local.INFO: Acknowledgment sent {"connection_id":172571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:39:58] local.INFO: TCP Data received {"connection_id":173858,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:39:58] local.INFO: Processing buffer {"connection_id":173858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:39:58] local.INFO: IMEI packet received {"connection_id":173858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":173858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:40:03] local.INFO: TCP Data received {"connection_id":173858,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:40:03] local.INFO: Processing buffer {"connection_id":173858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:40:03] local.INFO: IMEI packet received {"connection_id":173858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":173858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:40:04] local.INFO: TCP Data received {"connection_id":173858,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd1a538012d34c54006aa42a80009011f27..."} 
[2026-09-05 00:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd1a538012d34c54006aa42a80009011f27..."} 
[2026-09-05 00:40:04] local.INFO: Processing buffer {"connection_id":173858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd1a538012d34c54006aa42a80009011f27..."} 
[2026-09-05 00:40:04] local.INFO: Packet analysis {"connection_id":173858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd1"} 
[2026-09-05 00:40:04] local.INFO: Extracted packet for processing {"connection_id":173858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd1"} 
[2026-09-05 00:40:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868428800001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788548851000,"timestamp_ms":1788548851000,"timestamp_seconds":1788548851,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd1a538"} 
[2026-09-05 00:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:40: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-09-05 00:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-05 00:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:40: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-09-05 00:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868428800001,"66":25702,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868428800001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:40:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:40:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868428800001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":173858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:40:04] local.INFO: GPS data processed {"connection_id":173858,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:40:04] local.INFO: Acknowledgment sent {"connection_id":173858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:40:24] local.INFO: TCP Data received {"connection_id":172571,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd352e8012d2dac4006b4f8100017011a1d..."} 
[2026-09-05 00:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd352e8012d2dac4006b4f8100017011a1d..."} 
[2026-09-05 00:40:24] local.INFO: Processing buffer {"connection_id":172571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd352e8012d2dac4006b4f8100017011a1d..."} 
[2026-09-05 00:40:24] local.INFO: Packet analysis {"connection_id":172571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd3"} 
[2026-09-05 00:40:24] local.INFO: Extracted packet for processing {"connection_id":172571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd3"} 
[2026-09-05 00:40:24] local.INFO: GPS Element Parsed {"raw_longitude":757967936,"raw_latitude":112523280,"longitude_deg":75.7967936,"latitude_deg":11.252328,"altitude":23,"angle":282,"satellites":29,"speed":26,"hex_longitude":"2d2dac40","hex_latitude":"06b4f810","is_valid_coordinates":true} 
[2026-09-05 00:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868532992001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":509855567708160,"note":"Value kept but may cause issues"} 
[2026-09-05 00:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3293890575018010624,"note":"Value kept but may cause issues"} 
[2026-09-05 00:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,27,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788548961000,"timestamp_ms":1788548961000,"timestamp_seconds":1788548961,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd352e8"} 
[2026-09-05 00:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 00:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-05 00:40:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868532992001,"66":27604,"108":206,"27":54528,"24":26,"16":509855567708160,"45":3293890575018010624},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,27,24,16,45]} 
[2026-09-05 00:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868532992001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:40:24] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-05 00:40:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-09-05 00:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":509855567708160,"km_value":509855567708.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3293890575018010624,"description":"Unknown IO ID 45"} 
[2026-09-05 00:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868532992001,"power":27604,"unknown_108":206,"unknown_27":54528,"ignition":26,"odometer":null,"unknown_45":3293890575018010624}} 
[2026-09-05 00:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":172571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766324,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:40:24] local.INFO: GPS data processed {"connection_id":172571,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:40:24] local.INFO: Acknowledgment sent {"connection_id":172571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:40:35] local.INFO: TCP Data received {"connection_id":173858,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd1a538012d34c54006aa42a80009011f27..."} 
[2026-09-05 00:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd1a538012d34c54006aa42a80009011f27..."} 
[2026-09-05 00:40:35] local.INFO: Processing buffer {"connection_id":173858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd1a538012d34c54006aa42a80009011f27..."} 
[2026-09-05 00:40:35] local.INFO: Packet analysis {"connection_id":173858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd1"} 
[2026-09-05 00:40:35] local.INFO: Extracted packet for processing {"connection_id":173858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd1"} 
[2026-09-05 00:40:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868428800001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788548851000,"timestamp_ms":1788548851000,"timestamp_seconds":1788548851,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd1a538"} 
[2026-09-05 00:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:40:35] 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-09-05 00: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-05 00:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868428800001,"66":25702,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868428800001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:40:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:40:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868428800001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":173858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:40:35] local.INFO: GPS data processed {"connection_id":173858,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:40:35] local.INFO: Acknowledgment sent {"connection_id":173858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:40:58] local.INFO: TCP Data received {"connection_id":171163,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:40:58] local.INFO: Processing buffer {"connection_id":171163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:40:58] local.INFO: IMEI packet received {"connection_id":171163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":171163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:41:03] local.INFO: TCP Data received {"connection_id":171163,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:41:03] local.INFO: Processing buffer {"connection_id":171163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:41:03] local.INFO: IMEI packet received {"connection_id":171163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":171163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:41:03] local.INFO: TCP Data received {"connection_id":171163,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd1a538012d34c54006aa42a80009011f27..."} 
[2026-09-05 00:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd1a538012d34c54006aa42a80009011f27..."} 
[2026-09-05 00:41:03] local.INFO: Processing buffer {"connection_id":171163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd1a538012d34c54006aa42a80009011f27..."} 
[2026-09-05 00:41:03] local.INFO: Packet analysis {"connection_id":171163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd1"} 
[2026-09-05 00:41:03] local.INFO: Extracted packet for processing {"connection_id":171163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd1"} 
[2026-09-05 00:41:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868428800001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788548851000,"timestamp_ms":1788548851000,"timestamp_seconds":1788548851,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd1a538"} 
[2026-09-05 00:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:41: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-09-05 00:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-05 00:41: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-09-05 00:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:41: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-09-05 00:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868428800001,"66":25702,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868428800001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:41:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:41:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868428800001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":171163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:41:03] local.INFO: GPS data processed {"connection_id":171163,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:41:03] local.INFO: Acknowledgment sent {"connection_id":171163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:41:27] local.INFO: TCP Data received {"connection_id":173859,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173859,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:41:27] local.INFO: Processing buffer {"connection_id":173859,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:41:27] local.INFO: IMEI packet received {"connection_id":173859,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 00:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":173859,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:41:28] local.INFO: TCP Data received {"connection_id":173859,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173859,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:41:28] local.INFO: Processing buffer {"connection_id":173859,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:41:28] local.INFO: IMEI packet received {"connection_id":173859,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 00:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":173859,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:41:29] local.INFO: TCP Data received {"connection_id":173859,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd4cdd0012d2cd6c006b5fd60000701591e..."} 
[2026-09-05 00:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd4cdd0012d2cd6c006b5fd60000701591e..."} 
[2026-09-05 00:41:29] local.INFO: Processing buffer {"connection_id":173859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd4cdd0012d2cd6c006b5fd60000701591e..."} 
[2026-09-05 00:41:29] local.INFO: Packet analysis {"connection_id":173859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd4"} 
[2026-09-05 00:41:29] local.INFO: Extracted packet for processing {"connection_id":173859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd4"} 
[2026-09-05 00:41:29] local.INFO: GPS Element Parsed {"raw_longitude":757913280,"raw_latitude":112590176,"longitude_deg":75.791328,"latitude_deg":11.2590176,"altitude":7,"angle":345,"satellites":30,"speed":20,"hex_longitude":"2d2cd6c0","hex_latitude":"06b5fd60","is_valid_coordinates":true} 
[2026-09-05 00:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868558080001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":512050295996416,"note":"Value kept but may cause issues"} 
[2026-09-05 00:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3231895711414388736,"note":"Value kept but may cause issues"} 
[2026-09-05 00:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788549058000,"timestamp_ms":1788549058000,"timestamp_seconds":1788549058,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd4cdd0"} 
[2026-09-05 00:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 00:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-05 00:41:29] 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-09-05 00:41:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173859,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173859,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:41:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868558080001,"66":27767,"75":206,"27":54528,"24":20,"16":512050295996416,"45":3231895711414388736},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,45]} 
[2026-09-05 00:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868558080001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:41:29] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-05 00:41:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-09-05 00:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":512050295996416,"km_value":512050295996.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3231895711414388736,"description":"Unknown IO ID 45"} 
[2026-09-05 00:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868558080001,"power":27767,"unknown_75":206,"unknown_27":54528,"ignition":20,"odometer":null,"unknown_45":3231895711414388736}} 
[2026-09-05 00:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":173859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766327,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:41:29] local.INFO: GPS data processed {"connection_id":173859,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:41:29] local.INFO: Acknowledgment sent {"connection_id":173859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:41:36] local.INFO: TCP Data received {"connection_id":171163,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd1a538012d34c54006aa42a80009011f27..."} 
[2026-09-05 00:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd1a538012d34c54006aa42a80009011f27..."} 
[2026-09-05 00:41:36] local.INFO: Processing buffer {"connection_id":171163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd1a538012d34c54006aa42a80009011f27..."} 
[2026-09-05 00:41:36] local.INFO: Packet analysis {"connection_id":171163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd1"} 
[2026-09-05 00:41:36] local.INFO: Extracted packet for processing {"connection_id":171163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd1"} 
[2026-09-05 00:41:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868428800001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788548851000,"timestamp_ms":1788548851000,"timestamp_seconds":1788548851,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd1a538"} 
[2026-09-05 00:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:41: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-09-05 00:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-05 00:41: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-09-05 00: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-09-05 00:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:41: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-09-05 00:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868428800001,"66":25702,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868428800001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:41:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:41:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868428800001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":171163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:41:36] local.INFO: GPS data processed {"connection_id":171163,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:41:36] local.INFO: Acknowledgment sent {"connection_id":171163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:41:51] local.INFO: TCP Data received {"connection_id":171474,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:41:51] local.INFO: Processing buffer {"connection_id":171474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:41:51] local.INFO: IMEI packet received {"connection_id":171474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 00:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":171474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:41:58] local.INFO: TCP Data received {"connection_id":171164,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:41:58] local.INFO: Processing buffer {"connection_id":171164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:41:58] local.INFO: IMEI packet received {"connection_id":171164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":171164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:42:01] local.INFO: TCP Data received {"connection_id":171474,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:42:01] local.INFO: Processing buffer {"connection_id":171474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:42:01] local.INFO: IMEI packet received {"connection_id":171474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 00:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":171474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:42:03] local.INFO: TCP Data received {"connection_id":171164,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:42:03] local.INFO: Processing buffer {"connection_id":171164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:42:03] local.INFO: IMEI packet received {"connection_id":171164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":171164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:42:03] local.INFO: TCP Data received {"connection_id":171474,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd4d1b8012d2cd6c006b5ff08000700041e..."} 
[2026-09-05 00:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd4d1b8012d2cd6c006b5ff08000700041e..."} 
[2026-09-05 00:42:03] local.INFO: Processing buffer {"connection_id":171474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd4d1b8012d2cd6c006b5ff08000700041e..."} 
[2026-09-05 00:42:03] local.INFO: Packet analysis {"connection_id":171474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd4"} 
[2026-09-05 00:42:03] local.INFO: Extracted packet for processing {"connection_id":171474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd4"} 
[2026-09-05 00:42:03] local.INFO: GPS Element Parsed {"raw_longitude":757913280,"raw_latitude":112590600,"longitude_deg":75.791328,"latitude_deg":11.25906,"altitude":7,"angle":4,"satellites":30,"speed":17,"hex_longitude":"2d2cd6c0","hex_latitude":"06b5ff08","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868558848001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":512071770832896,"note":"Value kept but may cause issues"} 
[2026-09-05 00:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3230980917740527616,"note":"Value kept but may cause issues"} 
[2026-09-05 00:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788549059000,"timestamp_ms":1788549059000,"timestamp_seconds":1788549059,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd4d1b8"} 
[2026-09-05 00:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:42: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-09-05 00: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":119,"data_length":795,"current_offset":136} 
[2026-09-05 00:42: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-09-05 00: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-09-05 00:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868558848001,"66":27767,"75":206,"27":54528,"24":17,"16":512071770832896,"45":3230980917740527616},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,45]} 
[2026-09-05 00:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868558848001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:42:03] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-05 00:42:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-09-05 00:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":512071770832896,"km_value":512071770832.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3230980917740527616,"description":"Unknown IO ID 45"} 
[2026-09-05 00:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868558848001,"power":27767,"unknown_75":206,"unknown_27":54528,"ignition":17,"odometer":null,"unknown_45":3230980917740527616}} 
[2026-09-05 00:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":171474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766329,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:42:03] local.INFO: GPS data processed {"connection_id":171474,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:42:03] local.INFO: Acknowledgment sent {"connection_id":171474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:42:03] local.INFO: TCP Data received {"connection_id":171164,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd1a538012d34c54006aa42a80009011f27..."} 
[2026-09-05 00:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd1a538012d34c54006aa42a80009011f27..."} 
[2026-09-05 00:42:03] local.INFO: Processing buffer {"connection_id":171164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd1a538012d34c54006aa42a80009011f27..."} 
[2026-09-05 00:42:03] local.INFO: Packet analysis {"connection_id":171164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd1"} 
[2026-09-05 00:42:03] local.INFO: Extracted packet for processing {"connection_id":171164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd1"} 
[2026-09-05 00:42:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868428800001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788548851000,"timestamp_ms":1788548851000,"timestamp_seconds":1788548851,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd1a538"} 
[2026-09-05 00:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:42: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-09-05 00: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-05 00:42: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-09-05 00: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-09-05 00:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:42: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-09-05 00:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868428800001,"66":25702,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868428800001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:42:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:42:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868428800001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":171164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:42:03] local.INFO: GPS data processed {"connection_id":171164,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:42:03] local.INFO: Acknowledgment sent {"connection_id":171164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:42:35] local.INFO: TCP Data received {"connection_id":171164,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd1a538012d34c54006aa42a80009011f27..."} 
[2026-09-05 00:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd1a538012d34c54006aa42a80009011f27..."} 
[2026-09-05 00:42:35] local.INFO: Processing buffer {"connection_id":171164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd1a538012d34c54006aa42a80009011f27..."} 
[2026-09-05 00:42:35] local.INFO: Packet analysis {"connection_id":171164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd1"} 
[2026-09-05 00:42:35] local.INFO: Extracted packet for processing {"connection_id":171164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd1"} 
[2026-09-05 00:42:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868428800001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788548851000,"timestamp_ms":1788548851000,"timestamp_seconds":1788548851,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd1a538"} 
[2026-09-05 00:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:42:35] 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-09-05 00:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-05 00:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868428800001,"66":25702,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868428800001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:42:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:42:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868428800001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":171164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:42:35] local.INFO: GPS data processed {"connection_id":171164,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:42:35] local.INFO: Acknowledgment sent {"connection_id":171164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:42:46] local.INFO: TCP Data received {"connection_id":171475,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:42:46] local.INFO: Processing buffer {"connection_id":171475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:42:46] local.INFO: IMEI packet received {"connection_id":171475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 00:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":171475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:42:48] local.INFO: TCP Data received {"connection_id":171475,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:42:48] local.INFO: Processing buffer {"connection_id":171475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:42:48] local.INFO: IMEI packet received {"connection_id":171475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 00:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":171475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:42:52] local.INFO: TCP Data received {"connection_id":171475,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:42:52] local.INFO: Processing buffer {"connection_id":171475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:42:52] local.INFO: IMEI packet received {"connection_id":171475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 00:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":171475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:42:53] local.INFO: TCP Data received {"connection_id":171475,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd4d5a0012d2cd70006b600a8000600141e..."} 
[2026-09-05 00:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd4d5a0012d2cd70006b600a8000600141e..."} 
[2026-09-05 00:42:53] local.INFO: Processing buffer {"connection_id":171475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd4d5a0012d2cd70006b600a8000600141e..."} 
[2026-09-05 00:42:53] local.INFO: Packet analysis {"connection_id":171475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd4"} 
[2026-09-05 00:42:53] local.INFO: Extracted packet for processing {"connection_id":171475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd4"} 
[2026-09-05 00:42:53] local.INFO: GPS Element Parsed {"raw_longitude":757913344,"raw_latitude":112591016,"longitude_deg":75.7913344,"latitude_deg":11.2591016,"altitude":6,"angle":20,"satellites":30,"speed":18,"hex_longitude":"2d2cd700","hex_latitude":"06b600a8","is_valid_coordinates":true} 
[2026-09-05 00:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868559104001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":512088950702080,"note":"Value kept but may cause issues"} 
[2026-09-05 00:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3230980917740636160,"note":"Value kept but may cause issues"} 
[2026-09-05 00:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788549060000,"timestamp_ms":1788549060000,"timestamp_seconds":1788549060,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd4d5a0"} 
[2026-09-05 00:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:42:53] 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-09-05 00:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 00:42:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868559104001,"66":27821,"75":206,"27":54528,"24":18,"16":512088950702080,"45":3230980917740636160},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,45]} 
[2026-09-05 00:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868559104001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:42:53] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-05 00:42:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-09-05 00:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":512088950702080,"km_value":512088950702.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3230980917740636160,"description":"Unknown IO ID 45"} 
[2026-09-05 00:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868559104001,"power":27821,"unknown_75":206,"unknown_27":54528,"ignition":18,"odometer":null,"unknown_45":3230980917740636160}} 
[2026-09-05 00:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":171475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766332,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:42:53] local.INFO: GPS data processed {"connection_id":171475,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:42:53] local.INFO: Acknowledgment sent {"connection_id":171475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:42:58] local.INFO: TCP Data received {"connection_id":171165,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:42:58] local.INFO: Processing buffer {"connection_id":171165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:42:58] local.INFO: IMEI packet received {"connection_id":171165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":171165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:43:03] local.INFO: TCP Data received {"connection_id":171165,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:43:03] local.INFO: Processing buffer {"connection_id":171165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:43:03] local.INFO: IMEI packet received {"connection_id":171165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":171165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:43:04] local.INFO: TCP Data received {"connection_id":171165,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd1a538012d34c54006aa42a80009011f27..."} 
[2026-09-05 00:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd1a538012d34c54006aa42a80009011f27..."} 
[2026-09-05 00:43:04] local.INFO: Processing buffer {"connection_id":171165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd1a538012d34c54006aa42a80009011f27..."} 
[2026-09-05 00:43:04] local.INFO: Packet analysis {"connection_id":171165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd1"} 
[2026-09-05 00:43:04] local.INFO: Extracted packet for processing {"connection_id":171165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd1"} 
[2026-09-05 00:43:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868428800001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788548851000,"timestamp_ms":1788548851000,"timestamp_seconds":1788548851,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd1a538"} 
[2026-09-05 00:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00: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-09-05 00: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-05 00:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00: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-09-05 00:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868428800001,"66":25702,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868428800001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:43:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:43:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868428800001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":171165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:43:04] local.INFO: GPS data processed {"connection_id":171165,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:43:04] local.INFO: Acknowledgment sent {"connection_id":171165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:43:25] local.INFO: TCP Data received {"connection_id":171475,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd4d988012d2cd80006b60220000600291e..."} 
[2026-09-05 00:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd4d988012d2cd80006b60220000600291e..."} 
[2026-09-05 00:43:25] local.INFO: Processing buffer {"connection_id":171475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd4d988012d2cd80006b60220000600291e..."} 
[2026-09-05 00:43:25] local.INFO: Packet analysis {"connection_id":171475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd4"} 
[2026-09-05 00:43:25] local.INFO: Extracted packet for processing {"connection_id":171475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd4"} 
[2026-09-05 00:43:25] local.INFO: GPS Element Parsed {"raw_longitude":757913600,"raw_latitude":112591392,"longitude_deg":75.79136,"latitude_deg":11.2591392,"altitude":6,"angle":41,"satellites":30,"speed":18,"hex_longitude":"2d2cd800","hex_latitude":"06b60220","is_valid_coordinates":true} 
[2026-09-05 00:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868559360001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":512110425538560,"note":"Value kept but may cause issues"} 
[2026-09-05 00:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3231051286484920320,"note":"Value kept but may cause issues"} 
[2026-09-05 00:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788549061000,"timestamp_ms":1788549061000,"timestamp_seconds":1788549061,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd4d988"} 
[2026-09-05 00:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 00:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 00:43:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:43:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:43:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868559360001,"66":27821,"75":206,"27":54528,"24":18,"16":512110425538560,"45":3231051286484920320},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,45]} 
[2026-09-05 00:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868559360001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:43:25] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-05 00:43:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-09-05 00:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":512110425538560,"km_value":512110425538.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3231051286484920320,"description":"Unknown IO ID 45"} 
[2026-09-05 00:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868559360001,"power":27821,"unknown_75":206,"unknown_27":54528,"ignition":18,"odometer":null,"unknown_45":3231051286484920320}} 
[2026-09-05 00:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":171475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766334,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:43:25] local.INFO: GPS data processed {"connection_id":171475,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:43:25] local.INFO: Acknowledgment sent {"connection_id":171475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:43:35] local.INFO: TCP Data received {"connection_id":171165,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd63d00012d34c54006aa42a80009011f29..."} 
[2026-09-05 00:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd63d00012d34c54006aa42a80009011f29..."} 
[2026-09-05 00:43:35] local.INFO: Processing buffer {"connection_id":171165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd63d00012d34c54006aa42a80009011f29..."} 
[2026-09-05 00:43:35] local.INFO: Packet analysis {"connection_id":171165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd6"} 
[2026-09-05 00:43:35] local.INFO: Extracted packet for processing {"connection_id":171165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd6"} 
[2026-09-05 00:43:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868505856001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788549152000,"timestamp_ms":1788549152000,"timestamp_seconds":1788549152,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd63d00"} 
[2026-09-05 00:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:43:35] 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-09-05 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 00:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868505856001,"66":25702,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868505856001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:43:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:43:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868505856001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":171165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:43:35] local.INFO: GPS data processed {"connection_id":171165,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:43:35] local.INFO: Acknowledgment sent {"connection_id":171165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:43:46] local.INFO: TCP Data received {"connection_id":171476,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171476,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:43:46] local.INFO: Processing buffer {"connection_id":171476,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:43:46] local.INFO: IMEI packet received {"connection_id":171476,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 00:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":171476,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:43:51] local.INFO: TCP Data received {"connection_id":171476,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171476,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:43:51] local.INFO: Processing buffer {"connection_id":171476,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:43:51] local.INFO: IMEI packet received {"connection_id":171476,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 00:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":171476,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:43:52] local.INFO: TCP Data received {"connection_id":171476,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd4dd70012d2cd98006b602e8000600411d..."} 
[2026-09-05 00:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd4dd70012d2cd98006b602e8000600411d..."} 
[2026-09-05 00:43:52] local.INFO: Processing buffer {"connection_id":171476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd4dd70012d2cd98006b602e8000600411d..."} 
[2026-09-05 00:43:52] local.INFO: Packet analysis {"connection_id":171476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd4"} 
[2026-09-05 00:43:52] local.INFO: Extracted packet for processing {"connection_id":171476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd4"} 
[2026-09-05 00:43:52] local.INFO: GPS Element Parsed {"raw_longitude":757913984,"raw_latitude":112591592,"longitude_deg":75.7913984,"latitude_deg":11.2591592,"altitude":6,"angle":65,"satellites":29,"speed":17,"hex_longitude":"2d2cd980","hex_latitude":"06b602e8","is_valid_coordinates":true} 
[2026-09-05 00:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868559616001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":512131900375040,"note":"Value kept but may cause issues"} 
[2026-09-05 00:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3231332761461727232,"note":"Value kept but may cause issues"} 
[2026-09-05 00:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788549062000,"timestamp_ms":1788549062000,"timestamp_seconds":1788549062,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd4dd70"} 
[2026-09-05 00:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 00:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 00:43:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:43:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":171476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":171476,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":171476,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:43:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868559616001,"66":27745,"75":206,"27":54528,"24":17,"16":512131900375040,"45":3231332761461727232},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,45]} 
[2026-09-05 00:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868559616001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:43:52] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-05 00:43:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-09-05 00:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":512131900375040,"km_value":512131900375.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3231332761461727232,"description":"Unknown IO ID 45"} 
[2026-09-05 00:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868559616001,"power":27745,"unknown_75":206,"unknown_27":54528,"ignition":17,"odometer":null,"unknown_45":3231332761461727232}} 
[2026-09-05 00:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":171476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766336,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:43:53] local.INFO: GPS data processed {"connection_id":171476,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:43:53] local.INFO: Acknowledgment sent {"connection_id":171476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:44:03] local.INFO: TCP Data received {"connection_id":172572,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:44:03] local.INFO: Processing buffer {"connection_id":172572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:44:03] local.INFO: IMEI packet received {"connection_id":172572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":172572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:44:08] local.INFO: TCP Data received {"connection_id":172572,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:44:08] local.INFO: Processing buffer {"connection_id":172572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:44:08] local.INFO: IMEI packet received {"connection_id":172572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":172572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:44:09] local.INFO: TCP Data received {"connection_id":172572,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd63d00012d34c54006aa42a80009011f29..."} 
[2026-09-05 00:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd63d00012d34c54006aa42a80009011f29..."} 
[2026-09-05 00:44:09] local.INFO: Processing buffer {"connection_id":172572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd63d00012d34c54006aa42a80009011f29..."} 
[2026-09-05 00:44:09] local.INFO: Packet analysis {"connection_id":172572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd6"} 
[2026-09-05 00:44:09] local.INFO: Extracted packet for processing {"connection_id":172572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd6"} 
[2026-09-05 00:44:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868505856001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788549152000,"timestamp_ms":1788549152000,"timestamp_seconds":1788549152,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd63d00"} 
[2026-09-05 00:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:44: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-09-05 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 00:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868505856001,"66":25702,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868505856001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:44:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:44:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868505856001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":172572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:44:09] local.INFO: GPS data processed {"connection_id":172572,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:44:09] local.INFO: Acknowledgment sent {"connection_id":172572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:44:13] local.INFO: TCP Data received {"connection_id":172572,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd63d00012d34c54006aa42a80009011f29..."} 
[2026-09-05 00:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd63d00012d34c54006aa42a80009011f29..."} 
[2026-09-05 00:44:13] local.INFO: Processing buffer {"connection_id":172572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd63d00012d34c54006aa42a80009011f29..."} 
[2026-09-05 00:44:13] local.INFO: Packet analysis {"connection_id":172572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd6"} 
[2026-09-05 00:44:13] local.INFO: Extracted packet for processing {"connection_id":172572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd6"} 
[2026-09-05 00:44:13] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868505856001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788549152000,"timestamp_ms":1788549152000,"timestamp_seconds":1788549152,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd63d00"} 
[2026-09-05 00:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 00:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 00:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":172572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":172572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":172572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:44:13] 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-09-05 00:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868505856001,"66":25702,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868505856001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:44:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:44:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868505856001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":172572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:44:13] local.INFO: GPS data processed {"connection_id":172572,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:44:13] local.INFO: Acknowledgment sent {"connection_id":172572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:44:24] local.INFO: TCP Data received {"connection_id":171476,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd4e158012d2cdb8006b602e00007005a1e..."} 
[2026-09-05 00:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd4e158012d2cdb8006b602e00007005a1e..."} 
[2026-09-05 00:44:24] local.INFO: Processing buffer {"connection_id":171476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd4e158012d2cdb8006b602e00007005a1e..."} 
[2026-09-05 00:44:24] local.INFO: Packet analysis {"connection_id":171476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd4"} 
[2026-09-05 00:44:24] local.INFO: Extracted packet for processing {"connection_id":171476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd4"} 
[2026-09-05 00:44:24] local.INFO: GPS Element Parsed {"raw_longitude":757914496,"raw_latitude":112591584,"longitude_deg":75.7914496,"latitude_deg":11.2591584,"altitude":7,"angle":90,"satellites":30,"speed":17,"hex_longitude":"2d2cdb80","hex_latitude":"06b602e0","is_valid_coordinates":true} 
[2026-09-05 00:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868559872001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":512157670178816,"note":"Value kept but may cause issues"} 
[2026-09-05 00:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3231754973926844416,"note":"Value kept but may cause issues"} 
[2026-09-05 00:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788549063000,"timestamp_ms":1788549063000,"timestamp_seconds":1788549063,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd4e158"} 
[2026-09-05 00:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 00:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 00:44:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171476,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171476,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868559872001,"66":27745,"75":206,"27":54528,"24":17,"16":512157670178816,"45":3231754973926844416},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,45]} 
[2026-09-05 00:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868559872001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:44:24] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-05 00:44:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-09-05 00:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":512157670178816,"km_value":512157670178.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3231754973926844416,"description":"Unknown IO ID 45"} 
[2026-09-05 00:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868559872001,"power":27745,"unknown_75":206,"unknown_27":54528,"ignition":17,"odometer":null,"unknown_45":3231754973926844416}} 
[2026-09-05 00:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":171476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766339,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:44:24] local.INFO: GPS data processed {"connection_id":171476,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:44:24] local.INFO: Acknowledgment sent {"connection_id":171476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:44:52] local.INFO: TCP Data received {"connection_id":171166,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171166,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:44:52] local.INFO: Processing buffer {"connection_id":171166,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:44:52] local.INFO: IMEI packet received {"connection_id":171166,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 00:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":171166,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:44:55] local.INFO: TCP Data received {"connection_id":171166,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171166,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:44:55] local.INFO: Processing buffer {"connection_id":171166,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:44:55] local.INFO: IMEI packet received {"connection_id":171166,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 00:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":171166,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:44:56] local.INFO: TCP Data received {"connection_id":171166,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171166,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:44:56] local.INFO: Processing buffer {"connection_id":171166,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:44:56] local.INFO: IMEI packet received {"connection_id":171166,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 00:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":171166,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:44:57] local.INFO: TCP Data received {"connection_id":171166,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd7c3a0012d2fa04006b68b68000f00251e..."} 
[2026-09-05 00:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd7c3a0012d2fa04006b68b68000f00251e..."} 
[2026-09-05 00:44:57] local.INFO: Processing buffer {"connection_id":171166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd7c3a0012d2fa04006b68b68000f00251e..."} 
[2026-09-05 00:44:57] local.INFO: Packet analysis {"connection_id":171166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd7"} 
[2026-09-05 00:44:57] local.INFO: Extracted packet for processing {"connection_id":171166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd7"} 
[2026-09-05 00:44:57] local.INFO: GPS Element Parsed {"raw_longitude":758095936,"raw_latitude":112626536,"longitude_deg":75.8095936,"latitude_deg":11.2626536,"altitude":15,"angle":37,"satellites":30,"speed":0,"hex_longitude":"2d2fa040","hex_latitude":"06b68b68","is_valid_coordinates":true} 
[2026-09-05 00:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868603136001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":512157670178816,"note":"Value kept but may cause issues"} 
[2026-09-05 00:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3419076570932260864,"note":"Value kept but may cause issues"} 
[2026-09-05 00:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788549252000,"timestamp_ms":1788549252000,"timestamp_seconds":1788549252,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd7c3a0"} 
[2026-09-05 00:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:44:57] 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-09-05 00:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-05 00:44:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:44:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":171166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":171166,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":171166,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868603136001,"66":27919,"173":206,"28":21760,"24":0,"16":512157670178816,"45":3419076570932260864},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,28,24,16,45]} 
[2026-09-05 00:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868603136001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:44:57] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-09-05 00:44:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-05 00:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":512157670178816,"km_value":512157670178.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3419076570932260864,"description":"Unknown IO ID 45"} 
[2026-09-05 00:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868603136001,"power":27919,"unknown_173":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3419076570932260864}} 
[2026-09-05 00:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":171166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766340,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:44:58] local.INFO: GPS data processed {"connection_id":171166,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:44:58] local.INFO: Acknowledgment sent {"connection_id":171166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:44:58] local.INFO: TCP Data received {"connection_id":172573,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:44:58] local.INFO: Processing buffer {"connection_id":172573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:44:58] local.INFO: IMEI packet received {"connection_id":172573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":172573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:45:03] local.INFO: TCP Data received {"connection_id":172573,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:45:03] local.INFO: Processing buffer {"connection_id":172573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:45:03] local.INFO: IMEI packet received {"connection_id":172573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":172573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:45:03] local.INFO: TCP Data received {"connection_id":171166,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd815a8012d2fcd8006b6cd30000f002b20..."} 
[2026-09-05 00:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd815a8012d2fcd8006b6cd30000f002b20..."} 
[2026-09-05 00:45:03] local.INFO: Processing buffer {"connection_id":171166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd815a8012d2fcd8006b6cd30000f002b20..."} 
[2026-09-05 00:45:03] local.INFO: Packet analysis {"connection_id":171166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd8"} 
[2026-09-05 00:45:03] local.INFO: Extracted packet for processing {"connection_id":171166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd8"} 
[2026-09-05 00:45:03] local.INFO: GPS Element Parsed {"raw_longitude":758107520,"raw_latitude":112643376,"longitude_deg":75.810752,"latitude_deg":11.2643376,"altitude":15,"angle":43,"satellites":32,"speed":0,"hex_longitude":"2d2fcd80","hex_latitude":"06b6cd30","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868608512001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":512157670178816,"note":"Value kept but may cause issues"} 
[2026-09-05 00:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3431813313632888832,"note":"Value kept but may cause issues"} 
[2026-09-05 00:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788549273000,"timestamp_ms":1788549273000,"timestamp_seconds":1788549273,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd815a8"} 
[2026-09-05 00:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:45: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-09-05 00: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 00:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171166,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171166,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868608512001,"66":27745,"173":206,"28":21760,"24":0,"16":512157670178816,"45":3431813313632888832},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,28,24,16,45]} 
[2026-09-05 00:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868608512001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:45:03] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-09-05 00:45:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-05 00:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":512157670178816,"km_value":512157670178.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3431813313632888832,"description":"Unknown IO ID 45"} 
[2026-09-05 00:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868608512001,"power":27745,"unknown_173":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3431813313632888832}} 
[2026-09-05 00:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":171166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766341,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:45:03] local.INFO: GPS data processed {"connection_id":171166,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:45:03] local.INFO: Acknowledgment sent {"connection_id":171166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:45:04] local.INFO: TCP Data received {"connection_id":172573,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd63d00012d34c54006aa42a80009011f29..."} 
[2026-09-05 00:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd63d00012d34c54006aa42a80009011f29..."} 
[2026-09-05 00:45:04] local.INFO: Processing buffer {"connection_id":172573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd63d00012d34c54006aa42a80009011f29..."} 
[2026-09-05 00:45:04] local.INFO: Packet analysis {"connection_id":172573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd6"} 
[2026-09-05 00:45:04] local.INFO: Extracted packet for processing {"connection_id":172573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd6"} 
[2026-09-05 00:45:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868505856001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788549152000,"timestamp_ms":1788549152000,"timestamp_seconds":1788549152,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd63d00"} 
[2026-09-05 00:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:45: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-09-05 00:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 00:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:45: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-09-05 00:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868505856001,"66":25702,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868505856001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:45:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:45:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868505856001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":172573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:45:04] local.INFO: GPS data processed {"connection_id":172573,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:45:04] local.INFO: Acknowledgment sent {"connection_id":172573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:45:35] local.INFO: TCP Data received {"connection_id":172573,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd63d00012d34c54006aa42a80009011f29..."} 
[2026-09-05 00:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd63d00012d34c54006aa42a80009011f29..."} 
[2026-09-05 00:45:35] local.INFO: Processing buffer {"connection_id":172573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd63d00012d34c54006aa42a80009011f29..."} 
[2026-09-05 00:45:35] local.INFO: Packet analysis {"connection_id":172573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd6"} 
[2026-09-05 00:45:35] local.INFO: Extracted packet for processing {"connection_id":172573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd6"} 
[2026-09-05 00:45:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868505856001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788549152000,"timestamp_ms":1788549152000,"timestamp_seconds":1788549152,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd63d00"} 
[2026-09-05 00:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:45:35] 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-09-05 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 00:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868505856001,"66":25702,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868505856001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:45:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:45:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868505856001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":172573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:45:35] local.INFO: GPS data processed {"connection_id":172573,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:45:35] local.INFO: Acknowledgment sent {"connection_id":172573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:45:46] local.INFO: TCP Data received {"connection_id":172574,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:45:46] local.INFO: Processing buffer {"connection_id":172574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:45:46] local.INFO: IMEI packet received {"connection_id":172574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 00:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":172574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:45:48] local.INFO: TCP Data received {"connection_id":172574,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:45:48] local.INFO: Processing buffer {"connection_id":172574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:45:48] local.INFO: IMEI packet received {"connection_id":172574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 00:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":172574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:45:51] local.INFO: TCP Data received {"connection_id":172574,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:45:51] local.INFO: Processing buffer {"connection_id":172574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:45:51] local.INFO: IMEI packet received {"connection_id":172574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 00:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":172574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:45:52] local.INFO: TCP Data received {"connection_id":172574,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd84488012d2fdf0006b6eb70001201461f..."} 
[2026-09-05 00:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd84488012d2fdf0006b6eb70001201461f..."} 
[2026-09-05 00:45:52] local.INFO: Processing buffer {"connection_id":172574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd84488012d2fdf0006b6eb70001201461f..."} 
[2026-09-05 00:45:52] local.INFO: Packet analysis {"connection_id":172574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd8"} 
[2026-09-05 00:45:52] local.INFO: Extracted packet for processing {"connection_id":172574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd8"} 
[2026-09-05 00:45:52] local.INFO: GPS Element Parsed {"raw_longitude":758112000,"raw_latitude":112651120,"longitude_deg":75.8112,"latitude_deg":11.265112,"altitude":18,"angle":326,"satellites":31,"speed":19,"hex_longitude":"2d2fdf00","hex_latitude":"06b6eb70","is_valid_coordinates":true} 
[2026-09-05 00:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868613888001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":512157670178816,"note":"Value kept but may cause issues"} 
[2026-09-05 00:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3444550056333357056,"note":"Value kept but may cause issues"} 
[2026-09-05 00:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788549285000,"timestamp_ms":1788549285000,"timestamp_seconds":1788549285,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd84488"} 
[2026-09-05 00:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:45:52] 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-09-05 00:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 00:45:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172574,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172574,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868613888001,"66":27430,"172":206,"28":21760,"24":19,"16":512157670178816,"45":3444550056333357056},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,28,24,16,45]} 
[2026-09-05 00:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868613888001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:45:52] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-05 00:45:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-05 00:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":512157670178816,"km_value":512157670178.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3444550056333357056,"description":"Unknown IO ID 45"} 
[2026-09-05 00:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868613888001,"power":27430,"unknown_172":206,"unknown_28":21760,"ignition":19,"odometer":null,"unknown_45":3444550056333357056}} 
[2026-09-05 00:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":172574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766344,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:45:52] local.INFO: GPS data processed {"connection_id":172574,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:45:52] local.INFO: Acknowledgment sent {"connection_id":172574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:45:58] local.INFO: TCP Data received {"connection_id":172575,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:45:58] local.INFO: Processing buffer {"connection_id":172575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:45:58] local.INFO: IMEI packet received {"connection_id":172575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":172575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:46:03] local.INFO: TCP Data received {"connection_id":172575,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:46:03] local.INFO: Processing buffer {"connection_id":172575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:46:03] local.INFO: IMEI packet received {"connection_id":172575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":172575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:46:04] local.INFO: TCP Data received {"connection_id":172575,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd63d00012d34c54006aa42a80009011f29..."} 
[2026-09-05 00:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd63d00012d34c54006aa42a80009011f29..."} 
[2026-09-05 00:46:04] local.INFO: Processing buffer {"connection_id":172575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd63d00012d34c54006aa42a80009011f29..."} 
[2026-09-05 00:46:04] local.INFO: Packet analysis {"connection_id":172575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd6"} 
[2026-09-05 00:46:04] local.INFO: Extracted packet for processing {"connection_id":172575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd6"} 
[2026-09-05 00:46:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868505856001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788549152000,"timestamp_ms":1788549152000,"timestamp_seconds":1788549152,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd63d00"} 
[2026-09-05 00:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:46: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-09-05 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 00:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00: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-09-05 00:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868505856001,"66":25702,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868505856001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:46:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:46:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868505856001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":172575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:46:04] local.INFO: GPS data processed {"connection_id":172575,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:46:04] local.INFO: Acknowledgment sent {"connection_id":172575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:46:24] local.INFO: TCP Data received {"connection_id":172574,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000000000017aa980100000000000000000000000000..."} 
[2026-09-05 00:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172574,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000017aa980100000000000000000000000000..."} 
[2026-09-05 00:46:24] local.INFO: Processing buffer {"connection_id":172574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000017aa980100000000000000000000000000..."} 
[2026-09-05 00:46:24] local.INFO: Packet analysis {"connection_id":172574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000017"} 
[2026-09-05 00:46:24] local.INFO: Extracted packet for processing {"connection_id":172574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000017"} 
[2026-09-05 00:46:24] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 00:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868616960001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":512157670178816,"note":"Value kept but may cause issues"} 
[2026-09-05 00:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3449475868427776000,"note":"Value kept but may cause issues"} 
[2026-09-05 00:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:46:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1551000,"timestamp_seconds":1551,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 00:46:24] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 00:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172574,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172574,"device_imei":"862567071632322","avl_records_count":0} 
[2026-09-05 00:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172574,"device_imei":"862567071632322","avl_records_count":0} 
[2026-09-05 00:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 00:46:24] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 00:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":172574,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 00:46:24] local.ERROR: GPS data processing failed {"connection_id":172574,"error":"No valid data to process"} 
[2026-09-05 00:46:24] local.INFO: Acknowledgment sent {"connection_id":172574,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 00:46:35] local.INFO: TCP Data received {"connection_id":172575,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd63d00012d34c54006aa42a80009011f29..."} 
[2026-09-05 00:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd63d00012d34c54006aa42a80009011f29..."} 
[2026-09-05 00:46:35] local.INFO: Processing buffer {"connection_id":172575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd63d00012d34c54006aa42a80009011f29..."} 
[2026-09-05 00:46:35] local.INFO: Packet analysis {"connection_id":172575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd6"} 
[2026-09-05 00:46:35] local.INFO: Extracted packet for processing {"connection_id":172575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd6"} 
[2026-09-05 00:46:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 00:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868505856001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788549152000,"timestamp_ms":1788549152000,"timestamp_seconds":1788549152,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd63d00"} 
[2026-09-05 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-09-05 00:46:35] 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-09-05 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 00:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 00:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868505856001,"66":25702,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868505856001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:46:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:46:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868505856001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":172575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:46:35] local.INFO: GPS data processed {"connection_id":172575,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:46:35] local.INFO: Acknowledgment sent {"connection_id":172575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:46:56] local.INFO: TCP Data received {"connection_id":171477,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:46:56] local.INFO: Processing buffer {"connection_id":171477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:46:56] local.INFO: IMEI packet received {"connection_id":171477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 00:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":171477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:46:58] local.INFO: TCP Data received {"connection_id":172576,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:46:58] local.INFO: Processing buffer {"connection_id":172576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:46:58] local.INFO: IMEI packet received {"connection_id":172576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":172576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:47:00] local.INFO: TCP Data received {"connection_id":171477,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:47:00] local.INFO: Processing buffer {"connection_id":171477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:47:00] local.INFO: IMEI packet received {"connection_id":171477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 00:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":171477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:47:01] local.INFO: TCP Data received {"connection_id":171477,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd8a248012d2fc24006b71998000e01531c..."} 
[2026-09-05 00:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd8a248012d2fc24006b71998000e01531c..."} 
[2026-09-05 00:47:01] local.INFO: Processing buffer {"connection_id":171477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd8a248012d2fc24006b71998000e01531c..."} 
[2026-09-05 00:47:01] local.INFO: Packet analysis {"connection_id":171477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd8"} 
[2026-09-05 00:47:01] local.INFO: Extracted packet for processing {"connection_id":171477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd8"} 
[2026-09-05 00:47:01] local.INFO: GPS Element Parsed {"raw_longitude":758104640,"raw_latitude":112662936,"longitude_deg":75.810464,"latitude_deg":11.2662936,"altitude":14,"angle":339,"satellites":28,"speed":21,"hex_longitude":"2d2fc240","hex_latitude":"06b71998","is_valid_coordinates":true} 
[2026-09-05 00:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":512157670178816,"note":"Value kept but may cause issues"} 
[2026-09-05 00:47:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,172,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 00:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788549309000,"timestamp_ms":1788549309000,"timestamp_seconds":1788549309,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd8a248"} 
[2026-09-05 00:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:47:01] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 00:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-05 00:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27376,"172":206,"28":21760,"24":21,"16":512157670178816},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,28,24,16]} 
[2026-09-05 00:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-05 00:47:01] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-05 00:47:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-05 00:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":512157670178816,"km_value":512157670178.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:47:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27376,"unknown_172":206,"unknown_28":21760,"ignition":21,"odometer":null}} 
[2026-09-05 00:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":171477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766347,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:47:01] local.INFO: GPS data processed {"connection_id":171477,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:47:01] local.INFO: Acknowledgment sent {"connection_id":171477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:47:03] local.INFO: TCP Data received {"connection_id":172576,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:47:03] local.INFO: Processing buffer {"connection_id":172576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:47:03] local.INFO: IMEI packet received {"connection_id":172576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":172576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:47:04] local.INFO: TCP Data received {"connection_id":172576,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd63d00012d34c54006aa42a80009011f29..."} 
[2026-09-05 00:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd63d00012d34c54006aa42a80009011f29..."} 
[2026-09-05 00:47:04] local.INFO: Processing buffer {"connection_id":172576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd63d00012d34c54006aa42a80009011f29..."} 
[2026-09-05 00:47:04] local.INFO: Packet analysis {"connection_id":172576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd6"} 
[2026-09-05 00:47:04] local.INFO: Extracted packet for processing {"connection_id":172576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd6"} 
[2026-09-05 00:47:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868505856001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788549152000,"timestamp_ms":1788549152000,"timestamp_seconds":1788549152,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd63d00"} 
[2026-09-05 00:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:47: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-09-05 00:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 00:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:47: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-09-05 00:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868505856001,"66":25702,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868505856001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:47:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:47:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868505856001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":172576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:47:04] local.INFO: GPS data processed {"connection_id":172576,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:47:04] local.INFO: Acknowledgment sent {"connection_id":172576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:47:35] local.INFO: TCP Data received {"connection_id":172576,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd63d00012d34c54006aa42a80009011f29..."} 
[2026-09-05 00:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd63d00012d34c54006aa42a80009011f29..."} 
[2026-09-05 00:47:35] local.INFO: Processing buffer {"connection_id":172576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd63d00012d34c54006aa42a80009011f29..."} 
[2026-09-05 00:47:35] local.INFO: Packet analysis {"connection_id":172576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd6"} 
[2026-09-05 00:47:35] local.INFO: Extracted packet for processing {"connection_id":172576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd6"} 
[2026-09-05 00:47:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868505856001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788549152000,"timestamp_ms":1788549152000,"timestamp_seconds":1788549152,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd63d00"} 
[2026-09-05 00:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:47:35] 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-09-05 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 00:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868505856001,"66":25702,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868505856001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:47:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:47:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868505856001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":172576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:47:35] local.INFO: GPS data processed {"connection_id":172576,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:47:35] local.INFO: Acknowledgment sent {"connection_id":172576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:47:46] local.INFO: TCP Data received {"connection_id":172577,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:47:46] local.INFO: Processing buffer {"connection_id":172577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:47:46] local.INFO: IMEI packet received {"connection_id":172577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 00:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":172577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:47:48] local.INFO: TCP Data received {"connection_id":172577,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:47:48] local.INFO: Processing buffer {"connection_id":172577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:47:48] local.INFO: IMEI packet received {"connection_id":172577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 00:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":172577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:47:52] local.INFO: TCP Data received {"connection_id":172577,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:47:52] local.INFO: Processing buffer {"connection_id":172577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:47:52] local.INFO: IMEI packet received {"connection_id":172577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 00:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":172577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:47:53] local.INFO: TCP Data received {"connection_id":172577,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dda6f38012d2f1e8006b8b208000a014821..."} 
[2026-09-05 00:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dda6f38012d2f1e8006b8b208000a014821..."} 
[2026-09-05 00:47:53] local.INFO: Processing buffer {"connection_id":172577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dda6f38012d2f1e8006b8b208000a014821..."} 
[2026-09-05 00:47:53] local.INFO: Packet analysis {"connection_id":172577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dda"} 
[2026-09-05 00:47:53] local.INFO: Extracted packet for processing {"connection_id":172577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dda"} 
[2026-09-05 00:47:53] local.INFO: GPS Element Parsed {"raw_longitude":758062720,"raw_latitude":112767496,"longitude_deg":75.806272,"latitude_deg":11.2767496,"altitude":10,"angle":328,"satellites":33,"speed":59,"hex_longitude":"2d2f1e80","hex_latitude":"06b8b208","is_valid_coordinates":true} 
[2026-09-05 00:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868651776001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":517642343415808,"note":"Value kept but may cause issues"} 
[2026-09-05 00:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3400499222507945984,"note":"Value kept but may cause issues"} 
[2026-09-05 00:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788549427000,"timestamp_ms":1788549427000,"timestamp_seconds":1788549427,"priority":1,"record_length":96,"hex_timestamp":"000001a06dda6f38"} 
[2026-09-05 00:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:47:53] 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-09-05 00:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 00:47:53] 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-09-05 00:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868651776001,"66":26930,"39":206,"2":57088,"24":59,"16":517642343415808,"45":3400499222507945984},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,2,24,16,45]} 
[2026-09-05 00:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868651776001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:47:53] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-05 00:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":517642343415808,"km_value":517642343415.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3400499222507945984,"description":"Unknown IO ID 45"} 
[2026-09-05 00:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868651776001,"power":26930,"unknown_39":206,"power_alt":57088,"ignition":59,"odometer":null,"unknown_45":3400499222507945984}} 
[2026-09-05 00:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":172577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766350,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:47:53] local.INFO: GPS data processed {"connection_id":172577,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:47:53] local.INFO: Acknowledgment sent {"connection_id":172577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:47:58] local.INFO: TCP Data received {"connection_id":172578,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:47:58] local.INFO: Processing buffer {"connection_id":172578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:47:58] local.INFO: IMEI packet received {"connection_id":172578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":172578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:48:03] local.INFO: TCP Data received {"connection_id":172578,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:48:03] local.INFO: Processing buffer {"connection_id":172578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:48:03] local.INFO: IMEI packet received {"connection_id":172578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":172578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:48:03] local.INFO: TCP Data received {"connection_id":172578,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06dd63d00012d34c54006aa42a80009011f29..."} 
[2026-09-05 00:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dd63d00012d34c54006aa42a80009011f29..."} 
[2026-09-05 00:48:03] local.INFO: Processing buffer {"connection_id":172578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dd63d00012d34c54006aa42a80009011f29..."} 
[2026-09-05 00:48:03] local.INFO: Packet analysis {"connection_id":172578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dd6"} 
[2026-09-05 00:48:03] local.INFO: Extracted packet for processing {"connection_id":172578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dd6"} 
[2026-09-05 00:48:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868505856001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788549152000,"timestamp_ms":1788549152000,"timestamp_seconds":1788549152,"priority":1,"record_length":96,"hex_timestamp":"000001a06dd63d00"} 
[2026-09-05 00:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:48: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-09-05 00:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 00:48: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-09-05 00:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:48: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-09-05 00:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868505856001,"66":25702,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868505856001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:48:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:48:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868505856001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":172578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:48:03] local.INFO: GPS data processed {"connection_id":172578,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:48:03] local.INFO: Acknowledgment sent {"connection_id":172578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:48:28] local.INFO: TCP Data received {"connection_id":172577,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06dda86a8012d2f0c8006b8cfc80009014923..."} 
[2026-09-05 00:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dda86a8012d2f0c8006b8cfc80009014923..."} 
[2026-09-05 00:48:28] local.INFO: Processing buffer {"connection_id":172577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dda86a8012d2f0c8006b8cfc80009014923..."} 
[2026-09-05 00:48:28] local.INFO: Packet analysis {"connection_id":172577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dda"} 
[2026-09-05 00:48:28] local.INFO: Extracted packet for processing {"connection_id":172577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dda"} 
[2026-09-05 00:48:28] local.INFO: GPS Element Parsed {"raw_longitude":758058112,"raw_latitude":112775112,"longitude_deg":75.8058112,"latitude_deg":11.2775112,"altitude":9,"angle":329,"satellites":35,"speed":58,"hex_longitude":"2d2f0c80","hex_latitude":"06b8cfc8","is_valid_coordinates":true} 
[2026-09-05 00:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868653312001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":518071840145408,"note":"Value kept but may cause issues"} 
[2026-09-05 00:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3395291935440766976,"note":"Value kept but may cause issues"} 
[2026-09-05 00:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788549433000,"timestamp_ms":1788549433000,"timestamp_seconds":1788549433,"priority":1,"record_length":96,"hex_timestamp":"000001a06dda86a8"} 
[2026-09-05 00:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:48:28] 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-09-05 00:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-09-05 00:48:28] 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-09-05 00:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868653312001,"66":26745,"39":206,"2":57088,"24":58,"16":518071840145408,"45":3395291935440766976},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,2,24,16,45]} 
[2026-09-05 00:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868653312001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:48:28] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-05 00:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":518071840145408,"km_value":518071840145.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3395291935440766976,"description":"Unknown IO ID 45"} 
[2026-09-05 00:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868653312001,"power":26745,"unknown_39":206,"power_alt":57088,"ignition":58,"odometer":null,"unknown_45":3395291935440766976}} 
[2026-09-05 00:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":172577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766352,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:48:28] local.INFO: GPS data processed {"connection_id":172577,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:48:28] local.INFO: Acknowledgment sent {"connection_id":172577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:48:35] local.INFO: TCP Data received {"connection_id":172578,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06ddad4c8012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ddad4c8012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:48:35] local.INFO: Processing buffer {"connection_id":172578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ddad4c8012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:48:35] local.INFO: Packet analysis {"connection_id":172578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dda"} 
[2026-09-05 00:48:35] local.INFO: Extracted packet for processing {"connection_id":172578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dda"} 
[2026-09-05 00:48:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868582912001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788549453000,"timestamp_ms":1788549453000,"timestamp_seconds":1788549453,"priority":1,"record_length":96,"hex_timestamp":"000001a06ddad4c8"} 
[2026-09-05 00:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 00:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 00:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868582912001,"66":25702,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868582912001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:48:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:48:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868582912001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":172578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:48:35] local.INFO: GPS data processed {"connection_id":172578,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:48:35] local.INFO: Acknowledgment sent {"connection_id":172578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:48:50] local.INFO: TCP Data received {"connection_id":173860,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:48:50] local.INFO: Processing buffer {"connection_id":173860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:48:50] local.INFO: IMEI packet received {"connection_id":173860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 00:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":173860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:48:50] local.INFO: TCP Data received {"connection_id":173860,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:48:50] local.INFO: Processing buffer {"connection_id":173860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:48:50] local.INFO: IMEI packet received {"connection_id":173860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 00:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":173860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:48:51] local.INFO: TCP Data received {"connection_id":173860,"ip":"117.225.190.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:48:51] local.INFO: Processing buffer {"connection_id":173860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 00:48:51] local.INFO: IMEI packet received {"connection_id":173860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 00:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":173860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:48:53] local.INFO: TCP Data received {"connection_id":173860,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ddaa200012d2ef70006b8f2080009014822..."} 
[2026-09-05 00:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ddaa200012d2ef70006b8f2080009014822..."} 
[2026-09-05 00:48:53] local.INFO: Processing buffer {"connection_id":173860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ddaa200012d2ef70006b8f2080009014822..."} 
[2026-09-05 00:48:53] local.INFO: Packet analysis {"connection_id":173860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dda"} 
[2026-09-05 00:48:53] local.INFO: Extracted packet for processing {"connection_id":173860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dda"} 
[2026-09-05 00:48:53] local.INFO: GPS Element Parsed {"raw_longitude":758052608,"raw_latitude":112783880,"longitude_deg":75.8052608,"latitude_deg":11.278388,"altitude":9,"angle":328,"satellites":34,"speed":58,"hex_longitude":"2d2ef700","hex_latitude":"06b8f208","is_valid_coordinates":true} 
[2026-09-05 00:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868654848001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":518570056351744,"note":"Value kept but may cause issues"} 
[2026-09-05 00:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3390225385861924864,"note":"Value kept but may cause issues"} 
[2026-09-05 00:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788549440000,"timestamp_ms":1788549440000,"timestamp_seconds":1788549440,"priority":1,"record_length":96,"hex_timestamp":"000001a06ddaa200"} 
[2026-09-05 00:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:48:53] 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-09-05 00:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-05 00:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1807,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173860,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173860,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868654848001,"66":25495,"39":206,"2":57088,"24":58,"16":518570056351744,"45":3390225385861924864},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,2,24,16,45]} 
[2026-09-05 00:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868654848001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:48:53] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-05 00:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":518570056351744,"km_value":518570056351.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3390225385861924864,"description":"Unknown IO ID 45"} 
[2026-09-05 00:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868654848001,"power":25495,"unknown_39":206,"power_alt":57088,"ignition":58,"odometer":null,"unknown_45":3390225385861924864}} 
[2026-09-05 00:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":173860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766354,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:48:53] local.INFO: GPS data processed {"connection_id":173860,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:48:53] local.INFO: Acknowledgment sent {"connection_id":173860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:48:58] local.INFO: TCP Data received {"connection_id":171167,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:48:58] local.INFO: Processing buffer {"connection_id":171167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:48:58] local.INFO: IMEI packet received {"connection_id":171167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":171167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:48:59] local.INFO: TCP Data received {"connection_id":173860,"ip":"117.225.190.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06ddabd58012d2ee28006b914380009014923..."} 
[2026-09-05 00:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ddabd58012d2ee28006b914380009014923..."} 
[2026-09-05 00:48:59] local.INFO: Processing buffer {"connection_id":173860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ddabd58012d2ee28006b914380009014923..."} 
[2026-09-05 00:48:59] local.INFO: Packet analysis {"connection_id":173860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dda"} 
[2026-09-05 00:48:59] local.INFO: Extracted packet for processing {"connection_id":173860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dda"} 
[2026-09-05 00:48:59] local.INFO: GPS Element Parsed {"raw_longitude":758047360,"raw_latitude":112792632,"longitude_deg":75.804736,"latitude_deg":11.2792632,"altitude":9,"angle":329,"satellites":35,"speed":57,"hex_longitude":"2d2ee280","hex_latitude":"06b91438","is_valid_coordinates":true} 
[2026-09-05 00:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868656640001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":519063977590784,"note":"Value kept but may cause issues"} 
[2026-09-05 00:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3384173673864890368,"note":"Value kept but may cause issues"} 
[2026-09-05 00:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788549447000,"timestamp_ms":1788549447000,"timestamp_seconds":1788549447,"priority":1,"record_length":96,"hex_timestamp":"000001a06ddabd58"} 
[2026-09-05 00:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:48:59] 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-09-05 00:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 00:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:48:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173860,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173860,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 00:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 00:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 00:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868656640001,"66":26147,"39":206,"2":57088,"24":57,"16":519063977590784,"45":3384173673864890368},"client_ip":"117.225.190.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,2,24,16,45]} 
[2026-09-05 00:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 00:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 00:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868656640001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:48:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-05 00:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":519063977590784,"km_value":519063977590.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3384173673864890368,"description":"Unknown IO ID 45"} 
[2026-09-05 00:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868656640001,"power":26147,"unknown_39":206,"power_alt":57088,"ignition":57,"odometer":null,"unknown_45":3384173673864890368}} 
[2026-09-05 00:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":173860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766355,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:49:00] local.INFO: GPS data processed {"connection_id":173860,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:49:00] local.INFO: Acknowledgment sent {"connection_id":173860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:49:03] local.INFO: TCP Data received {"connection_id":171167,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:49:03] local.INFO: Processing buffer {"connection_id":171167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:49:03] local.INFO: IMEI packet received {"connection_id":171167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":171167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:49:04] local.INFO: TCP Data received {"connection_id":171167,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06ddad4c8012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ddad4c8012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:49:04] local.INFO: Processing buffer {"connection_id":171167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ddad4c8012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:49:04] local.INFO: Packet analysis {"connection_id":171167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dda"} 
[2026-09-05 00:49:04] local.INFO: Extracted packet for processing {"connection_id":171167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dda"} 
[2026-09-05 00:49:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868582912001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788549453000,"timestamp_ms":1788549453000,"timestamp_seconds":1788549453,"priority":1,"record_length":96,"hex_timestamp":"000001a06ddad4c8"} 
[2026-09-05 00:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 00:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:49: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-09-05 00:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868582912001,"66":25702,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868582912001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:49:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:49:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868582912001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":171167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:49:04] local.INFO: GPS data processed {"connection_id":171167,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:49:04] local.INFO: Acknowledgment sent {"connection_id":171167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:49:08] local.INFO: TCP Data received {"connection_id":171167,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06ddad4c8012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ddad4c8012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:49:08] local.INFO: Processing buffer {"connection_id":171167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ddad4c8012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:49:08] local.INFO: Packet analysis {"connection_id":171167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dda"} 
[2026-09-05 00:49:08] local.INFO: Extracted packet for processing {"connection_id":171167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dda"} 
[2026-09-05 00:49:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868582912001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788549453000,"timestamp_ms":1788549453000,"timestamp_seconds":1788549453,"priority":1,"record_length":96,"hex_timestamp":"000001a06ddad4c8"} 
[2026-09-05 00:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 00: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":102,"data_length":795,"current_offset":136} 
[2026-09-05 00:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:49:08] 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-09-05 00:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868582912001,"66":25702,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868582912001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:49:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:49:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868582912001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":171167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:49:08] local.INFO: GPS data processed {"connection_id":171167,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:49:08] local.INFO: Acknowledgment sent {"connection_id":171167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:49:39] local.INFO: TCP Data received {"connection_id":171167,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06ddad4c8012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ddad4c8012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:49:39] local.INFO: Processing buffer {"connection_id":171167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ddad4c8012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:49:39] local.INFO: Packet analysis {"connection_id":171167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dda"} 
[2026-09-05 00:49:39] local.INFO: Extracted packet for processing {"connection_id":171167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dda"} 
[2026-09-05 00:49:39] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868582912001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788549453000,"timestamp_ms":1788549453000,"timestamp_seconds":1788549453,"priority":1,"record_length":96,"hex_timestamp":"000001a06ddad4c8"} 
[2026-09-05 00:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 00:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868582912001,"66":25702,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868582912001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:49:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:49:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868582912001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":171167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:49:39] local.INFO: GPS data processed {"connection_id":171167,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:49:39] local.INFO: Acknowledgment sent {"connection_id":171167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:49:58] local.INFO: TCP Data received {"connection_id":173861,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:49:58] local.INFO: Processing buffer {"connection_id":173861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:49:58] local.INFO: IMEI packet received {"connection_id":173861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":173861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:50:03] local.INFO: TCP Data received {"connection_id":173861,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:50:03] local.INFO: Processing buffer {"connection_id":173861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:50:03] local.INFO: IMEI packet received {"connection_id":173861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":173861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:50:03] local.INFO: TCP Data received {"connection_id":173861,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06ddad4c8012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ddad4c8012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:50:03] local.INFO: Processing buffer {"connection_id":173861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ddad4c8012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:50:03] local.INFO: Packet analysis {"connection_id":173861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dda"} 
[2026-09-05 00:50:03] local.INFO: Extracted packet for processing {"connection_id":173861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dda"} 
[2026-09-05 00:50:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868582912001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788549453000,"timestamp_ms":1788549453000,"timestamp_seconds":1788549453,"priority":1,"record_length":96,"hex_timestamp":"000001a06ddad4c8"} 
[2026-09-05 00:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 00:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 00:50: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-09-05 00:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:50: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-09-05 00:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868582912001,"66":25702,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868582912001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:50:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:50:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868582912001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":173861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:50:03] local.INFO: GPS data processed {"connection_id":173861,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:50:03] local.INFO: Acknowledgment sent {"connection_id":173861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:50:35] local.INFO: TCP Data received {"connection_id":173861,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06ddad4c8012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ddad4c8012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:50:35] local.INFO: Processing buffer {"connection_id":173861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ddad4c8012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:50:35] local.INFO: Packet analysis {"connection_id":173861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dda"} 
[2026-09-05 00:50:35] local.INFO: Extracted packet for processing {"connection_id":173861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dda"} 
[2026-09-05 00:50:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868582912001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788549453000,"timestamp_ms":1788549453000,"timestamp_seconds":1788549453,"priority":1,"record_length":96,"hex_timestamp":"000001a06ddad4c8"} 
[2026-09-05 00:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 00:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 00:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868582912001,"66":25702,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868582912001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:50:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:50:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868582912001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":173861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:50:35] local.INFO: GPS data processed {"connection_id":173861,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:50:35] local.INFO: Acknowledgment sent {"connection_id":173861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:50:58] local.INFO: TCP Data received {"connection_id":172579,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:50:58] local.INFO: Processing buffer {"connection_id":172579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:50:58] local.INFO: IMEI packet received {"connection_id":172579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":172579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:51:03] local.INFO: TCP Data received {"connection_id":172579,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:51:03] local.INFO: Processing buffer {"connection_id":172579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:51:03] local.INFO: IMEI packet received {"connection_id":172579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":172579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:51:04] local.INFO: TCP Data received {"connection_id":172579,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06ddad4c8012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ddad4c8012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:51:04] local.INFO: Processing buffer {"connection_id":172579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ddad4c8012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:51:04] local.INFO: Packet analysis {"connection_id":172579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dda"} 
[2026-09-05 00:51:04] local.INFO: Extracted packet for processing {"connection_id":172579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dda"} 
[2026-09-05 00:51:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868582912001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788549453000,"timestamp_ms":1788549453000,"timestamp_seconds":1788549453,"priority":1,"record_length":96,"hex_timestamp":"000001a06ddad4c8"} 
[2026-09-05 00:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 00:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:51: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-09-05 00:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868582912001,"66":25702,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868582912001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:51:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:51:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868582912001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":172579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:51:04] local.INFO: GPS data processed {"connection_id":172579,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:51:04] local.INFO: Acknowledgment sent {"connection_id":172579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:51:35] local.INFO: TCP Data received {"connection_id":172579,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06ddad4c8012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ddad4c8012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:51:35] local.INFO: Processing buffer {"connection_id":172579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ddad4c8012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:51:35] local.INFO: Packet analysis {"connection_id":172579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dda"} 
[2026-09-05 00:51:35] local.INFO: Extracted packet for processing {"connection_id":172579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dda"} 
[2026-09-05 00:51:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868582912001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788549453000,"timestamp_ms":1788549453000,"timestamp_seconds":1788549453,"priority":1,"record_length":96,"hex_timestamp":"000001a06ddad4c8"} 
[2026-09-05 00:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 00:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 00:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868582912001,"66":25702,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868582912001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:51:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:51:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868582912001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":172579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:51:35] local.INFO: GPS data processed {"connection_id":172579,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:51:35] local.INFO: Acknowledgment sent {"connection_id":172579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:51:58] local.INFO: TCP Data received {"connection_id":172580,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:51:58] local.INFO: Processing buffer {"connection_id":172580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:51:58] local.INFO: IMEI packet received {"connection_id":172580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":172580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:52:03] local.INFO: TCP Data received {"connection_id":172580,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:52:03] local.INFO: Processing buffer {"connection_id":172580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:52:03] local.INFO: IMEI packet received {"connection_id":172580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":172580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:52:06] local.INFO: TCP Data received {"connection_id":172580,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06ddad4c8012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ddad4c8012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:52:06] local.INFO: Processing buffer {"connection_id":172580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ddad4c8012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:52:06] local.INFO: Packet analysis {"connection_id":172580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dda"} 
[2026-09-05 00:52:06] local.INFO: Extracted packet for processing {"connection_id":172580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dda"} 
[2026-09-05 00:52:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868582912001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788549453000,"timestamp_ms":1788549453000,"timestamp_seconds":1788549453,"priority":1,"record_length":96,"hex_timestamp":"000001a06ddad4c8"} 
[2026-09-05 00:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 00:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 00:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868582912001,"66":25702,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868582912001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:52:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:52:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868582912001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":172580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:52:06] local.INFO: GPS data processed {"connection_id":172580,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:52:06] local.INFO: Acknowledgment sent {"connection_id":172580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:52:37] local.INFO: TCP Data received {"connection_id":172580,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06ddad4c8012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ddad4c8012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:52:37] local.INFO: Processing buffer {"connection_id":172580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ddad4c8012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:52:37] local.INFO: Packet analysis {"connection_id":172580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dda"} 
[2026-09-05 00:52:37] local.INFO: Extracted packet for processing {"connection_id":172580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dda"} 
[2026-09-05 00:52:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868582912001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788549453000,"timestamp_ms":1788549453000,"timestamp_seconds":1788549453,"priority":1,"record_length":96,"hex_timestamp":"000001a06ddad4c8"} 
[2026-09-05 00:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 00:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 00:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:52:37] 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-09-05 00:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868582912001,"66":25702,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868582912001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:52:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:52:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868582912001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":172580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:52:37] local.INFO: GPS data processed {"connection_id":172580,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:52:37] local.INFO: Acknowledgment sent {"connection_id":172580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:52:58] local.INFO: TCP Data received {"connection_id":173862,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:52:58] local.INFO: Processing buffer {"connection_id":173862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:52:58] local.INFO: IMEI packet received {"connection_id":173862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":173862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:53:03] local.INFO: TCP Data received {"connection_id":173862,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:53:03] local.INFO: Processing buffer {"connection_id":173862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:53:03] local.INFO: IMEI packet received {"connection_id":173862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":173862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:53:04] local.INFO: TCP Data received {"connection_id":173862,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06ddad4c8012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ddad4c8012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:53:04] local.INFO: Processing buffer {"connection_id":173862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ddad4c8012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:53:04] local.INFO: Packet analysis {"connection_id":173862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dda"} 
[2026-09-05 00:53:04] local.INFO: Extracted packet for processing {"connection_id":173862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dda"} 
[2026-09-05 00:53:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868582912001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788549453000,"timestamp_ms":1788549453000,"timestamp_seconds":1788549453,"priority":1,"record_length":96,"hex_timestamp":"000001a06ddad4c8"} 
[2026-09-05 00:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 00:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:53: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-09-05 00:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868582912001,"66":25702,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868582912001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:53:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:53:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868582912001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":173862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:53:04] local.INFO: GPS data processed {"connection_id":173862,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:53:04] local.INFO: Acknowledgment sent {"connection_id":173862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:53:35] local.INFO: TCP Data received {"connection_id":173862,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06ddf6c90012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ddf6c90012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:53:35] local.INFO: Processing buffer {"connection_id":173862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ddf6c90012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:53:35] local.INFO: Packet analysis {"connection_id":173862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ddf"} 
[2026-09-05 00:53:35] local.INFO: Extracted packet for processing {"connection_id":173862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ddf"} 
[2026-09-05 00:53:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868659968001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788549754000,"timestamp_ms":1788549754000,"timestamp_seconds":1788549754,"priority":1,"record_length":96,"hex_timestamp":"000001a06ddf6c90"} 
[2026-09-05 00:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 00:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868659968001,"66":25647,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868659968001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:53:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:53:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868659968001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":173862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:53:35] local.INFO: GPS data processed {"connection_id":173862,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:53:35] local.INFO: Acknowledgment sent {"connection_id":173862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:54:03] local.INFO: TCP Data received {"connection_id":171168,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:54:03] local.INFO: Processing buffer {"connection_id":171168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:54:03] local.INFO: IMEI packet received {"connection_id":171168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":171168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:54:08] local.INFO: TCP Data received {"connection_id":171168,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:54:08] local.INFO: Processing buffer {"connection_id":171168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:54:08] local.INFO: IMEI packet received {"connection_id":171168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":171168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:54:09] local.INFO: TCP Data received {"connection_id":171168,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06ddf6c90012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ddf6c90012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:54:09] local.INFO: Processing buffer {"connection_id":171168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ddf6c90012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:54:09] local.INFO: Packet analysis {"connection_id":171168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ddf"} 
[2026-09-05 00:54:09] local.INFO: Extracted packet for processing {"connection_id":171168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ddf"} 
[2026-09-05 00:54:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868659968001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788549754000,"timestamp_ms":1788549754000,"timestamp_seconds":1788549754,"priority":1,"record_length":96,"hex_timestamp":"000001a06ddf6c90"} 
[2026-09-05 00:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 00:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868659968001,"66":25647,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868659968001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:54:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:54:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868659968001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":171168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:54:09] local.INFO: GPS data processed {"connection_id":171168,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:54:09] local.INFO: Acknowledgment sent {"connection_id":171168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:54:13] local.INFO: TCP Data received {"connection_id":171168,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06ddf6c90012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ddf6c90012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:54:13] local.INFO: Processing buffer {"connection_id":171168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ddf6c90012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:54:13] local.INFO: Packet analysis {"connection_id":171168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ddf"} 
[2026-09-05 00:54:13] local.INFO: Extracted packet for processing {"connection_id":171168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ddf"} 
[2026-09-05 00:54:13] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868659968001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788549754000,"timestamp_ms":1788549754000,"timestamp_seconds":1788549754,"priority":1,"record_length":96,"hex_timestamp":"000001a06ddf6c90"} 
[2026-09-05 00:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 00:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 00:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:54:13] 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-09-05 00:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868659968001,"66":25647,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868659968001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:54:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:54:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868659968001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":171168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:54:13] local.INFO: GPS data processed {"connection_id":171168,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:54:13] local.INFO: Acknowledgment sent {"connection_id":171168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:54:58] local.INFO: TCP Data received {"connection_id":171478,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:54:58] local.INFO: Processing buffer {"connection_id":171478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:54:58] local.INFO: IMEI packet received {"connection_id":171478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":171478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:55:03] local.INFO: TCP Data received {"connection_id":171478,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:55:03] local.INFO: Processing buffer {"connection_id":171478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:55:03] local.INFO: IMEI packet received {"connection_id":171478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":171478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:55:03] local.INFO: TCP Data received {"connection_id":171478,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ddf6c90012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ddf6c90012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:55:03] local.INFO: Processing buffer {"connection_id":171478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ddf6c90012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:55:03] local.INFO: Packet analysis {"connection_id":171478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ddf"} 
[2026-09-05 00:55:03] local.INFO: Extracted packet for processing {"connection_id":171478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ddf"} 
[2026-09-05 00:55:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868659968001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788549754000,"timestamp_ms":1788549754000,"timestamp_seconds":1788549754,"priority":1,"record_length":96,"hex_timestamp":"000001a06ddf6c90"} 
[2026-09-05 00:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 00:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 00:55: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-09-05 00:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00: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-09-05 00:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868659968001,"66":25647,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868659968001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:55:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:55:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868659968001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":171478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:55:03] local.INFO: GPS data processed {"connection_id":171478,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:55:03] local.INFO: Acknowledgment sent {"connection_id":171478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:55:34] local.INFO: TCP Data received {"connection_id":171478,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ddf6c90012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ddf6c90012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:55:34] local.INFO: Processing buffer {"connection_id":171478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ddf6c90012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:55:34] local.INFO: Packet analysis {"connection_id":171478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ddf"} 
[2026-09-05 00:55:34] local.INFO: Extracted packet for processing {"connection_id":171478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ddf"} 
[2026-09-05 00:55:34] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 00:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868659968001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788549754000,"timestamp_ms":1788549754000,"timestamp_seconds":1788549754,"priority":1,"record_length":96,"hex_timestamp":"000001a06ddf6c90"} 
[2026-09-05 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-09-05 00:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 00:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 00:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:55: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-09-05 00:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868659968001,"66":25647,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868659968001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:55:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:55:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868659968001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":171478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:55:34] local.INFO: GPS data processed {"connection_id":171478,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:55:34] local.INFO: Acknowledgment sent {"connection_id":171478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:55:58] local.INFO: TCP Data received {"connection_id":171169,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:55:58] local.INFO: Processing buffer {"connection_id":171169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:55:58] local.INFO: IMEI packet received {"connection_id":171169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":171169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:56:03] local.INFO: TCP Data received {"connection_id":171169,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:56:03] local.INFO: Processing buffer {"connection_id":171169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:56:03] local.INFO: IMEI packet received {"connection_id":171169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":171169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:56:04] local.INFO: TCP Data received {"connection_id":171169,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ddf6c90012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ddf6c90012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:56:04] local.INFO: Processing buffer {"connection_id":171169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ddf6c90012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:56:04] local.INFO: Packet analysis {"connection_id":171169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ddf"} 
[2026-09-05 00:56:04] local.INFO: Extracted packet for processing {"connection_id":171169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ddf"} 
[2026-09-05 00:56:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868659968001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788549754000,"timestamp_ms":1788549754000,"timestamp_seconds":1788549754,"priority":1,"record_length":96,"hex_timestamp":"000001a06ddf6c90"} 
[2026-09-05 00:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 00:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 00:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:56: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-09-05 00:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868659968001,"66":25647,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868659968001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:56:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:56:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868659968001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":171169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:56:04] local.INFO: GPS data processed {"connection_id":171169,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:56:04] local.INFO: Acknowledgment sent {"connection_id":171169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:56:36] local.INFO: TCP Data received {"connection_id":171169,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ddf6c90012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ddf6c90012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:56:36] local.INFO: Processing buffer {"connection_id":171169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ddf6c90012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:56:36] local.INFO: Packet analysis {"connection_id":171169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ddf"} 
[2026-09-05 00:56:36] local.INFO: Extracted packet for processing {"connection_id":171169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ddf"} 
[2026-09-05 00:56:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868659968001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788549754000,"timestamp_ms":1788549754000,"timestamp_seconds":1788549754,"priority":1,"record_length":96,"hex_timestamp":"000001a06ddf6c90"} 
[2026-09-05 00:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 00:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:56: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-09-05 00:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868659968001,"66":25647,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868659968001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:56:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:56:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868659968001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":171169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:56:36] local.INFO: GPS data processed {"connection_id":171169,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:56:36] local.INFO: Acknowledgment sent {"connection_id":171169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:56:58] local.INFO: TCP Data received {"connection_id":172581,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:56:58] local.INFO: Processing buffer {"connection_id":172581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:56:58] local.INFO: IMEI packet received {"connection_id":172581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":172581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:57:03] local.INFO: TCP Data received {"connection_id":172581,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:57:03] local.INFO: Processing buffer {"connection_id":172581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:57:03] local.INFO: IMEI packet received {"connection_id":172581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":172581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:57:04] local.INFO: TCP Data received {"connection_id":172581,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a06ddf6c90012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ddf6c90012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:57:04] local.INFO: Processing buffer {"connection_id":172581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ddf6c90012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:57:04] local.INFO: Packet analysis {"connection_id":172581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ddf"} 
[2026-09-05 00:57:04] local.INFO: Extracted packet for processing {"connection_id":172581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ddf"} 
[2026-09-05 00:57:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868659968001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788549754000,"timestamp_ms":1788549754000,"timestamp_seconds":1788549754,"priority":1,"record_length":96,"hex_timestamp":"000001a06ddf6c90"} 
[2026-09-05 00:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 00:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868659968001,"66":25647,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868659968001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:57:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:57:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868659968001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":172581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:57:04] local.INFO: GPS data processed {"connection_id":172581,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:57:04] local.INFO: Acknowledgment sent {"connection_id":172581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:57:35] local.INFO: TCP Data received {"connection_id":172581,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a06ddf6c90012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ddf6c90012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:57:35] local.INFO: Processing buffer {"connection_id":172581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ddf6c90012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:57:35] local.INFO: Packet analysis {"connection_id":172581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ddf"} 
[2026-09-05 00:57:35] local.INFO: Extracted packet for processing {"connection_id":172581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ddf"} 
[2026-09-05 00:57:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 00:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868659968001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788549754000,"timestamp_ms":1788549754000,"timestamp_seconds":1788549754,"priority":1,"record_length":96,"hex_timestamp":"000001a06ddf6c90"} 
[2026-09-05 00:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 00:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 00:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 00:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 00:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868659968001,"66":25647,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868659968001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:57:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:57:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868659968001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":172581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:57:35] local.INFO: GPS data processed {"connection_id":172581,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:57:35] local.INFO: Acknowledgment sent {"connection_id":172581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:57:58] local.INFO: TCP Data received {"connection_id":173863,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:57:58] local.INFO: Processing buffer {"connection_id":173863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:57:58] local.INFO: IMEI packet received {"connection_id":173863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":173863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:58:03] local.INFO: TCP Data received {"connection_id":173863,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:58:03] local.INFO: Processing buffer {"connection_id":173863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:58:03] local.INFO: IMEI packet received {"connection_id":173863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":173863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:58:04] local.INFO: TCP Data received {"connection_id":173863,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a06ddf6c90012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ddf6c90012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:58:04] local.INFO: Processing buffer {"connection_id":173863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ddf6c90012d34c54006aa42a80009011f24..."} 
[2026-09-05 00:58:04] local.INFO: Packet analysis {"connection_id":173863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ddf"} 
[2026-09-05 00:58:04] local.INFO: Extracted packet for processing {"connection_id":173863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ddf"} 
[2026-09-05 00:58:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":9,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868659968001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788549754000,"timestamp_ms":1788549754000,"timestamp_seconds":1788549754,"priority":1,"record_length":96,"hex_timestamp":"000001a06ddf6c90"} 
[2026-09-05 00:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 00:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:58: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-09-05 00:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868659968001,"66":25647,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868659968001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:58:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:58:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868659968001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":173863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:58:04] local.INFO: GPS data processed {"connection_id":173863,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:58:04] local.INFO: Acknowledgment sent {"connection_id":173863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:58:35] local.INFO: TCP Data received {"connection_id":173863,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a06de40458012d34c54006aa42a80007011f25..."} 
[2026-09-05 00:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06de40458012d34c54006aa42a80007011f25..."} 
[2026-09-05 00:58:35] local.INFO: Processing buffer {"connection_id":173863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06de40458012d34c54006aa42a80007011f25..."} 
[2026-09-05 00:58:35] local.INFO: Packet analysis {"connection_id":173863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06de4"} 
[2026-09-05 00:58:35] local.INFO: Extracted packet for processing {"connection_id":173863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06de4"} 
[2026-09-05 00:58:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":7,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868737024001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788550055000,"timestamp_ms":1788550055000,"timestamp_seconds":1788550055,"priority":1,"record_length":96,"hex_timestamp":"000001a06de40458"} 
[2026-09-05 00:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:58:35] 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-09-05 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 00:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:58:35] 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-09-05 00:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868737024001,"66":25680,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868737024001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:58:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:58:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868737024001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":173863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:58:35] local.INFO: GPS data processed {"connection_id":173863,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:58:35] local.INFO: Acknowledgment sent {"connection_id":173863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:59:03] local.INFO: TCP Data received {"connection_id":172582,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:59:03] local.INFO: Processing buffer {"connection_id":172582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:59:03] local.INFO: IMEI packet received {"connection_id":172582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":172582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 00:59:08] local.INFO: TCP Data received {"connection_id":172582,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:59:08] local.INFO: Processing buffer {"connection_id":172582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:59:08] local.INFO: IMEI packet received {"connection_id":172582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 00:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":172582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 00:59:09] local.INFO: TCP Data received {"connection_id":172582,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06de40458012d34c54006aa42a80007011f25..."} 
[2026-09-05 00:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06de40458012d34c54006aa42a80007011f25..."} 
[2026-09-05 00:59:10] local.INFO: Processing buffer {"connection_id":172582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06de40458012d34c54006aa42a80007011f25..."} 
[2026-09-05 00:59:10] local.INFO: Packet analysis {"connection_id":172582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06de4"} 
[2026-09-05 00:59:10] local.INFO: Extracted packet for processing {"connection_id":172582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06de4"} 
[2026-09-05 00:59:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":7,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00: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-09-05 00:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868737024001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788550055000,"timestamp_ms":1788550055000,"timestamp_seconds":1788550055,"priority":1,"record_length":96,"hex_timestamp":"000001a06de40458"} 
[2026-09-05 00:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:59: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-09-05 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 00:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00: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-09-05 00:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":172582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":172582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":172582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:59:10] 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-09-05 00:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868737024001,"66":25680,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868737024001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:59:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:59:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868737024001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":172582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:59:10] local.INFO: GPS data processed {"connection_id":172582,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:59:10] local.INFO: Acknowledgment sent {"connection_id":172582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:59:13] local.INFO: TCP Data received {"connection_id":172582,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06de40458012d34c54006aa42a80007011f25..."} 
[2026-09-05 00:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06de40458012d34c54006aa42a80007011f25..."} 
[2026-09-05 00:59:13] local.INFO: Processing buffer {"connection_id":172582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06de40458012d34c54006aa42a80007011f25..."} 
[2026-09-05 00:59:13] local.INFO: Packet analysis {"connection_id":172582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06de4"} 
[2026-09-05 00:59:13] local.INFO: Extracted packet for processing {"connection_id":172582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06de4"} 
[2026-09-05 00:59:13] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":7,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 00:59: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-09-05 00:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868737024001,"note":"Value kept but may cause issues"} 
[2026-09-05 00:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 00:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 00:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 00:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788550055000,"timestamp_ms":1788550055000,"timestamp_seconds":1788550055,"priority":1,"record_length":96,"hex_timestamp":"000001a06de40458"} 
[2026-09-05 00:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 00:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 00:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 00:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 00:59: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-09-05 00:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 00:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 00:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":172582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 00:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":172582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":172582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 00:59:13] 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-09-05 00:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 00:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 00:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868737024001,"66":25680,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 00:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 00:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 00:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868737024001,"description":"Unknown IO ID 0"} 
[2026-09-05 00:59:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 00:59:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 00:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 00:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 00:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868737024001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 00:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":172582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 00:59:13] local.INFO: GPS data processed {"connection_id":172582,"processed":1,"errors":0,"total":1} 
[2026-09-05 00:59:13] local.INFO: Acknowledgment sent {"connection_id":172582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 00:59:58] local.INFO: TCP Data received {"connection_id":171170,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:59:58] local.INFO: Processing buffer {"connection_id":171170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 00:59:58] local.INFO: IMEI packet received {"connection_id":171170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 00:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":171170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:00:03] local.INFO: TCP Data received {"connection_id":171170,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:00:03] local.INFO: Processing buffer {"connection_id":171170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:00:03] local.INFO: IMEI packet received {"connection_id":171170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":171170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:00:04] local.INFO: TCP Data received {"connection_id":171170,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a06de40458012d34c54006aa42a80007011f25..."} 
[2026-09-05 01:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06de40458012d34c54006aa42a80007011f25..."} 
[2026-09-05 01:00:04] local.INFO: Processing buffer {"connection_id":171170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06de40458012d34c54006aa42a80007011f25..."} 
[2026-09-05 01:00:04] local.INFO: Packet analysis {"connection_id":171170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06de4"} 
[2026-09-05 01:00:04] local.INFO: Extracted packet for processing {"connection_id":171170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06de4"} 
[2026-09-05 01:00:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":7,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868737024001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 01:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788550055000,"timestamp_ms":1788550055000,"timestamp_seconds":1788550055,"priority":1,"record_length":96,"hex_timestamp":"000001a06de40458"} 
[2026-09-05 01:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:00: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-09-05 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:00: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-09-05 01: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-09-05 01:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 01:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868737024001,"66":25680,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 01:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868737024001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:00:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 01:00:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868737024001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":171170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:00:04] local.INFO: GPS data processed {"connection_id":171170,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:00:04] local.INFO: Acknowledgment sent {"connection_id":171170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:00:35] local.INFO: TCP Data received {"connection_id":171170,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a06de40458012d34c54006aa42a80007011f25..."} 
[2026-09-05 01:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06de40458012d34c54006aa42a80007011f25..."} 
[2026-09-05 01:00:35] local.INFO: Processing buffer {"connection_id":171170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06de40458012d34c54006aa42a80007011f25..."} 
[2026-09-05 01:00:35] local.INFO: Packet analysis {"connection_id":171170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06de4"} 
[2026-09-05 01:00:35] local.INFO: Extracted packet for processing {"connection_id":171170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06de4"} 
[2026-09-05 01:00:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":7,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868737024001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 01:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788550055000,"timestamp_ms":1788550055000,"timestamp_seconds":1788550055,"priority":1,"record_length":96,"hex_timestamp":"000001a06de40458"} 
[2026-09-05 01:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:00:35] 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-09-05 01:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 01:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868737024001,"66":25680,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 01:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868737024001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:00:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 01:00:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868737024001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":171170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:00:35] local.INFO: GPS data processed {"connection_id":171170,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:00:35] local.INFO: Acknowledgment sent {"connection_id":171170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:00:58] local.INFO: TCP Data received {"connection_id":173864,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:00:58] local.INFO: Processing buffer {"connection_id":173864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:00:58] local.INFO: IMEI packet received {"connection_id":173864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":173864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:01:03] local.INFO: TCP Data received {"connection_id":173864,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:01:03] local.INFO: Processing buffer {"connection_id":173864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:01:03] local.INFO: IMEI packet received {"connection_id":173864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":173864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:01:04] local.INFO: TCP Data received {"connection_id":173864,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06de40458012d34c54006aa42a80007011f25..."} 
[2026-09-05 01:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06de40458012d34c54006aa42a80007011f25..."} 
[2026-09-05 01:01:04] local.INFO: Processing buffer {"connection_id":173864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06de40458012d34c54006aa42a80007011f25..."} 
[2026-09-05 01:01:04] local.INFO: Packet analysis {"connection_id":173864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06de4"} 
[2026-09-05 01:01:04] local.INFO: Extracted packet for processing {"connection_id":173864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06de4"} 
[2026-09-05 01:01:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":7,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868737024001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 01:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788550055000,"timestamp_ms":1788550055000,"timestamp_seconds":1788550055,"priority":1,"record_length":96,"hex_timestamp":"000001a06de40458"} 
[2026-09-05 01:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:01: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-09-05 01: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":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:01: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-09-05 01: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-09-05 01:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01: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-09-05 01:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868737024001,"66":25680,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 01:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868737024001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:01:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 01:01:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868737024001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":173864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:01:04] local.INFO: GPS data processed {"connection_id":173864,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:01:04] local.INFO: Acknowledgment sent {"connection_id":173864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:01:36] local.INFO: TCP Data received {"connection_id":173864,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06de40458012d34c54006aa42a80007011f25..."} 
[2026-09-05 01:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06de40458012d34c54006aa42a80007011f25..."} 
[2026-09-05 01:01:36] local.INFO: Processing buffer {"connection_id":173864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06de40458012d34c54006aa42a80007011f25..."} 
[2026-09-05 01:01:36] local.INFO: Packet analysis {"connection_id":173864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06de4"} 
[2026-09-05 01:01:36] local.INFO: Extracted packet for processing {"connection_id":173864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06de4"} 
[2026-09-05 01:01:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":7,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868737024001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 01:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788550055000,"timestamp_ms":1788550055000,"timestamp_seconds":1788550055,"priority":1,"record_length":96,"hex_timestamp":"000001a06de40458"} 
[2026-09-05 01:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:01: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-09-05 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:01:36] 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-09-05 01:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868737024001,"66":25680,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 01:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868737024001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:01:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 01:01:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868737024001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":173864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:01:36] local.INFO: GPS data processed {"connection_id":173864,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:01:36] local.INFO: Acknowledgment sent {"connection_id":173864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:01:58] local.INFO: TCP Data received {"connection_id":172583,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:01:58] local.INFO: Processing buffer {"connection_id":172583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:01:58] local.INFO: IMEI packet received {"connection_id":172583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":172583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:02:03] local.INFO: TCP Data received {"connection_id":172583,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:02:03] local.INFO: Processing buffer {"connection_id":172583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:02:03] local.INFO: IMEI packet received {"connection_id":172583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":172583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:02:04] local.INFO: TCP Data received {"connection_id":172583,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06de40458012d34c54006aa42a80007011f25..."} 
[2026-09-05 01:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06de40458012d34c54006aa42a80007011f25..."} 
[2026-09-05 01:02:04] local.INFO: Processing buffer {"connection_id":172583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06de40458012d34c54006aa42a80007011f25..."} 
[2026-09-05 01:02:04] local.INFO: Packet analysis {"connection_id":172583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06de4"} 
[2026-09-05 01:02:04] local.INFO: Extracted packet for processing {"connection_id":172583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06de4"} 
[2026-09-05 01:02:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":7,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 01:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868737024001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 01:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788550055000,"timestamp_ms":1788550055000,"timestamp_seconds":1788550055,"priority":1,"record_length":96,"hex_timestamp":"000001a06de40458"} 
[2026-09-05 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-09-05 01:02: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-09-05 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:02: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-09-05 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-09-05 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-09-05 01:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:02: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-09-05 01:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868737024001,"66":25680,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 01:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868737024001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:02:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 01:02:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868737024001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":172583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:02:04] local.INFO: GPS data processed {"connection_id":172583,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:02:04] local.INFO: Acknowledgment sent {"connection_id":172583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:02:35] local.INFO: TCP Data received {"connection_id":172583,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06de40458012d34c54006aa42a80007011f25..."} 
[2026-09-05 01:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06de40458012d34c54006aa42a80007011f25..."} 
[2026-09-05 01:02:35] local.INFO: Processing buffer {"connection_id":172583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06de40458012d34c54006aa42a80007011f25..."} 
[2026-09-05 01:02:35] local.INFO: Packet analysis {"connection_id":172583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06de4"} 
[2026-09-05 01:02:35] local.INFO: Extracted packet for processing {"connection_id":172583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06de4"} 
[2026-09-05 01:02:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":7,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868737024001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 01:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788550055000,"timestamp_ms":1788550055000,"timestamp_seconds":1788550055,"priority":1,"record_length":96,"hex_timestamp":"000001a06de40458"} 
[2026-09-05 01:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:02:35] 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-09-05 01:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 01:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868737024001,"66":25680,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 01:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868737024001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:02:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 01:02:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868737024001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":172583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:02:35] local.INFO: GPS data processed {"connection_id":172583,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:02:35] local.INFO: Acknowledgment sent {"connection_id":172583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:02:58] local.INFO: TCP Data received {"connection_id":171479,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:02:58] local.INFO: Processing buffer {"connection_id":171479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:02:58] local.INFO: IMEI packet received {"connection_id":171479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":171479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:03:03] local.INFO: TCP Data received {"connection_id":171479,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:03:03] local.INFO: Processing buffer {"connection_id":171479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:03:03] local.INFO: IMEI packet received {"connection_id":171479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":171479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:03:03] local.INFO: TCP Data received {"connection_id":171479,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06de40458012d34c54006aa42a80007011f25..."} 
[2026-09-05 01:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06de40458012d34c54006aa42a80007011f25..."} 
[2026-09-05 01:03:03] local.INFO: Processing buffer {"connection_id":171479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06de40458012d34c54006aa42a80007011f25..."} 
[2026-09-05 01:03:03] local.INFO: Packet analysis {"connection_id":171479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06de4"} 
[2026-09-05 01:03:03] local.INFO: Extracted packet for processing {"connection_id":171479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06de4"} 
[2026-09-05 01:03:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":7,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868737024001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 01:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788550055000,"timestamp_ms":1788550055000,"timestamp_seconds":1788550055,"priority":1,"record_length":96,"hex_timestamp":"000001a06de40458"} 
[2026-09-05 01:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:03: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-09-05 01:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01: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-09-05 01:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868737024001,"66":25680,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 01:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868737024001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:03:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 01:03:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868737024001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":171479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:03:03] local.INFO: GPS data processed {"connection_id":171479,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:03:03] local.INFO: Acknowledgment sent {"connection_id":171479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:03:34] local.INFO: TCP Data received {"connection_id":171479,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06de89c20012d34c54006aa42a8000a011f27..."} 
[2026-09-05 01:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06de89c20012d34c54006aa42a8000a011f27..."} 
[2026-09-05 01:03:34] local.INFO: Processing buffer {"connection_id":171479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06de89c20012d34c54006aa42a8000a011f27..."} 
[2026-09-05 01:03:34] local.INFO: Packet analysis {"connection_id":171479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06de8"} 
[2026-09-05 01:03:34] local.INFO: Extracted packet for processing {"connection_id":171479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06de8"} 
[2026-09-05 01:03:34] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":10,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868814080001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 01:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788550356000,"timestamp_ms":1788550356000,"timestamp_seconds":1788550356,"priority":1,"record_length":96,"hex_timestamp":"000001a06de89c20"} 
[2026-09-05 01:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 01:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:03:34] 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-09-05 01:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868814080001,"66":25647,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 01:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868814080001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:03:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 01:03:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868814080001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":171479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:03:34] local.INFO: GPS data processed {"connection_id":171479,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:03:34] local.INFO: Acknowledgment sent {"connection_id":171479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:03:58] local.INFO: TCP Data received {"connection_id":172584,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:03:58] local.INFO: Processing buffer {"connection_id":172584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:03:58] local.INFO: IMEI packet received {"connection_id":172584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":172584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:04:03] local.INFO: TCP Data received {"connection_id":172584,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:04:03] local.INFO: Processing buffer {"connection_id":172584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:04:03] local.INFO: IMEI packet received {"connection_id":172584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":172584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:04:04] local.INFO: TCP Data received {"connection_id":172584,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a06de89c20012d34c54006aa42a8000a011f27..."} 
[2026-09-05 01:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06de89c20012d34c54006aa42a8000a011f27..."} 
[2026-09-05 01:04:04] local.INFO: Processing buffer {"connection_id":172584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06de89c20012d34c54006aa42a8000a011f27..."} 
[2026-09-05 01:04:04] local.INFO: Packet analysis {"connection_id":172584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06de8"} 
[2026-09-05 01:04:04] local.INFO: Extracted packet for processing {"connection_id":172584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06de8"} 
[2026-09-05 01:04:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":10,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868814080001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 01:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788550356000,"timestamp_ms":1788550356000,"timestamp_seconds":1788550356,"priority":1,"record_length":96,"hex_timestamp":"000001a06de89c20"} 
[2026-09-05 01:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01: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":80,"data_length":795,"current_offset":136} 
[2026-09-05 01:04: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-09-05 01: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-09-05 01:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 01:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868814080001,"66":25647,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 01:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868814080001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:04:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 01:04:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868814080001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":172584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:04:04] local.INFO: GPS data processed {"connection_id":172584,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:04:04] local.INFO: Acknowledgment sent {"connection_id":172584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:04:36] local.INFO: TCP Data received {"connection_id":172584,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a06de89c20012d34c54006aa42a8000a011f27..."} 
[2026-09-05 01:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06de89c20012d34c54006aa42a8000a011f27..."} 
[2026-09-05 01:04:36] local.INFO: Processing buffer {"connection_id":172584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06de89c20012d34c54006aa42a8000a011f27..."} 
[2026-09-05 01:04:36] local.INFO: Packet analysis {"connection_id":172584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06de8"} 
[2026-09-05 01:04:36] local.INFO: Extracted packet for processing {"connection_id":172584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06de8"} 
[2026-09-05 01:04:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":10,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868814080001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 01:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788550356000,"timestamp_ms":1788550356000,"timestamp_seconds":1788550356,"priority":1,"record_length":96,"hex_timestamp":"000001a06de89c20"} 
[2026-09-05 01:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01: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-09-05 01: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-09-05 01:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 01:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868814080001,"66":25647,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 01:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868814080001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:04:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 01:04:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868814080001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":172584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:04:36] local.INFO: GPS data processed {"connection_id":172584,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:04:36] local.INFO: Acknowledgment sent {"connection_id":172584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:04:58] local.INFO: TCP Data received {"connection_id":171480,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:04:58] local.INFO: Processing buffer {"connection_id":171480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:04:58] local.INFO: IMEI packet received {"connection_id":171480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":171480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:05:03] local.INFO: TCP Data received {"connection_id":171480,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:05:03] local.INFO: Processing buffer {"connection_id":171480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:05:03] local.INFO: IMEI packet received {"connection_id":171480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":171480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:05:04] local.INFO: TCP Data received {"connection_id":171480,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a06de89c20012d34c54006aa42a8000a011f27..."} 
[2026-09-05 01:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06de89c20012d34c54006aa42a8000a011f27..."} 
[2026-09-05 01:05:04] local.INFO: Processing buffer {"connection_id":171480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06de89c20012d34c54006aa42a8000a011f27..."} 
[2026-09-05 01:05:04] local.INFO: Packet analysis {"connection_id":171480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06de8"} 
[2026-09-05 01:05:04] local.INFO: Extracted packet for processing {"connection_id":171480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06de8"} 
[2026-09-05 01:05:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":10,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868814080001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 01:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788550356000,"timestamp_ms":1788550356000,"timestamp_seconds":1788550356,"priority":1,"record_length":96,"hex_timestamp":"000001a06de89c20"} 
[2026-09-05 01:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01: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":80,"data_length":795,"current_offset":136} 
[2026-09-05 01:05: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-09-05 01: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-09-05 01:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01: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-09-05 01:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868814080001,"66":25647,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 01:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868814080001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:05:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 01:05:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868814080001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":171480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:05:04] local.INFO: GPS data processed {"connection_id":171480,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:05:04] local.INFO: Acknowledgment sent {"connection_id":171480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:05:35] local.INFO: TCP Data received {"connection_id":171480,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a06de89c20012d34c54006aa42a8000a011f27..."} 
[2026-09-05 01:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06de89c20012d34c54006aa42a8000a011f27..."} 
[2026-09-05 01:05:35] local.INFO: Processing buffer {"connection_id":171480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06de89c20012d34c54006aa42a8000a011f27..."} 
[2026-09-05 01:05:35] local.INFO: Packet analysis {"connection_id":171480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06de8"} 
[2026-09-05 01:05:35] local.INFO: Extracted packet for processing {"connection_id":171480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06de8"} 
[2026-09-05 01:05:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":10,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868814080001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 01:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788550356000,"timestamp_ms":1788550356000,"timestamp_seconds":1788550356,"priority":1,"record_length":96,"hex_timestamp":"000001a06de89c20"} 
[2026-09-05 01:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 01:05:35] 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-09-05 01:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 01:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868814080001,"66":25647,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 01:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868814080001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:05:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 01:05:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868814080001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":171480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:05:35] local.INFO: GPS data processed {"connection_id":171480,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:05:35] local.INFO: Acknowledgment sent {"connection_id":171480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:05:58] local.INFO: TCP Data received {"connection_id":171171,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:05:58] local.INFO: Processing buffer {"connection_id":171171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:05:58] local.INFO: IMEI packet received {"connection_id":171171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":171171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:06:03] local.INFO: TCP Data received {"connection_id":171171,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:06:03] local.INFO: Processing buffer {"connection_id":171171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:06:03] local.INFO: IMEI packet received {"connection_id":171171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":171171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:06:04] local.INFO: TCP Data received {"connection_id":171171,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a06de89c20012d34c54006aa42a8000a011f27..."} 
[2026-09-05 01:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06de89c20012d34c54006aa42a8000a011f27..."} 
[2026-09-05 01:06:04] local.INFO: Processing buffer {"connection_id":171171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06de89c20012d34c54006aa42a8000a011f27..."} 
[2026-09-05 01:06:04] local.INFO: Packet analysis {"connection_id":171171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06de8"} 
[2026-09-05 01:06:04] local.INFO: Extracted packet for processing {"connection_id":171171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06de8"} 
[2026-09-05 01:06:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":10,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868814080001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 01:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788550356000,"timestamp_ms":1788550356000,"timestamp_seconds":1788550356,"priority":1,"record_length":96,"hex_timestamp":"000001a06de89c20"} 
[2026-09-05 01:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01: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-09-05 01: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-09-05 01:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:06: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-09-05 01:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868814080001,"66":25647,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 01:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868814080001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:06:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 01:06:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868814080001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":171171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:06:04] local.INFO: GPS data processed {"connection_id":171171,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:06:04] local.INFO: Acknowledgment sent {"connection_id":171171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:06:36] local.INFO: TCP Data received {"connection_id":171171,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a06de89c20012d34c54006aa42a8000a011f27..."} 
[2026-09-05 01:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06de89c20012d34c54006aa42a8000a011f27..."} 
[2026-09-05 01:06:36] local.INFO: Processing buffer {"connection_id":171171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06de89c20012d34c54006aa42a8000a011f27..."} 
[2026-09-05 01:06:36] local.INFO: Packet analysis {"connection_id":171171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06de8"} 
[2026-09-05 01:06:36] local.INFO: Extracted packet for processing {"connection_id":171171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06de8"} 
[2026-09-05 01:06:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":10,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868814080001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 01:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788550356000,"timestamp_ms":1788550356000,"timestamp_seconds":1788550356,"priority":1,"record_length":96,"hex_timestamp":"000001a06de89c20"} 
[2026-09-05 01:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 01:06: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-09-05 01:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:06:36] 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-09-05 01:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868814080001,"66":25647,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 01:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868814080001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:06:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 01:06:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868814080001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":171171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:06:36] local.INFO: GPS data processed {"connection_id":171171,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:06:36] local.INFO: Acknowledgment sent {"connection_id":171171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:06:58] local.INFO: TCP Data received {"connection_id":172585,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:06:58] local.INFO: Processing buffer {"connection_id":172585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:06:58] local.INFO: IMEI packet received {"connection_id":172585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":172585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:07:03] local.INFO: TCP Data received {"connection_id":172585,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:07:03] local.INFO: Processing buffer {"connection_id":172585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:07:03] local.INFO: IMEI packet received {"connection_id":172585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":172585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:07:04] local.INFO: TCP Data received {"connection_id":172585,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06de89c20012d34c54006aa42a8000a011f27..."} 
[2026-09-05 01:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06de89c20012d34c54006aa42a8000a011f27..."} 
[2026-09-05 01:07:04] local.INFO: Processing buffer {"connection_id":172585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06de89c20012d34c54006aa42a8000a011f27..."} 
[2026-09-05 01:07:04] local.INFO: Packet analysis {"connection_id":172585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06de8"} 
[2026-09-05 01:07:04] local.INFO: Extracted packet for processing {"connection_id":172585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06de8"} 
[2026-09-05 01:07:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":10,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868814080001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 01:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788550356000,"timestamp_ms":1788550356000,"timestamp_seconds":1788550356,"priority":1,"record_length":96,"hex_timestamp":"000001a06de89c20"} 
[2026-09-05 01:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01: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-09-05 01: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-09-05 01:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:07: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-09-05 01:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868814080001,"66":25647,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 01:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868814080001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:07:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 01:07:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868814080001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":172585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:07:04] local.INFO: GPS data processed {"connection_id":172585,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:07:04] local.INFO: Acknowledgment sent {"connection_id":172585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:07:35] local.INFO: TCP Data received {"connection_id":172585,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06de89c20012d34c54006aa42a8000a011f27..."} 
[2026-09-05 01:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06de89c20012d34c54006aa42a8000a011f27..."} 
[2026-09-05 01:07:35] local.INFO: Processing buffer {"connection_id":172585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06de89c20012d34c54006aa42a8000a011f27..."} 
[2026-09-05 01:07:35] local.INFO: Packet analysis {"connection_id":172585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06de8"} 
[2026-09-05 01:07:35] local.INFO: Extracted packet for processing {"connection_id":172585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06de8"} 
[2026-09-05 01:07:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":10,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868814080001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 01:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788550356000,"timestamp_ms":1788550356000,"timestamp_seconds":1788550356,"priority":1,"record_length":96,"hex_timestamp":"000001a06de89c20"} 
[2026-09-05 01:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 01:07:35] 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-09-05 01:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:07:35] 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-09-05 01:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868814080001,"66":25647,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 01:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868814080001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:07:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 01:07:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868814080001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":172585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:07:35] local.INFO: GPS data processed {"connection_id":172585,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:07:35] local.INFO: Acknowledgment sent {"connection_id":172585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:07:58] local.INFO: TCP Data received {"connection_id":171172,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:07:58] local.INFO: Processing buffer {"connection_id":171172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:07:58] local.INFO: IMEI packet received {"connection_id":171172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":171172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:08:03] local.INFO: TCP Data received {"connection_id":171172,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:08:03] local.INFO: Processing buffer {"connection_id":171172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:08:03] local.INFO: IMEI packet received {"connection_id":171172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":171172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:08:04] local.INFO: TCP Data received {"connection_id":171172,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06de89c20012d34c54006aa42a8000a011f27..."} 
[2026-09-05 01:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06de89c20012d34c54006aa42a8000a011f27..."} 
[2026-09-05 01:08:04] local.INFO: Processing buffer {"connection_id":171172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06de89c20012d34c54006aa42a8000a011f27..."} 
[2026-09-05 01:08:04] local.INFO: Packet analysis {"connection_id":171172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06de8"} 
[2026-09-05 01:08:04] local.INFO: Extracted packet for processing {"connection_id":171172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06de8"} 
[2026-09-05 01:08:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":10,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868814080001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 01:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788550356000,"timestamp_ms":1788550356000,"timestamp_seconds":1788550356,"priority":1,"record_length":96,"hex_timestamp":"000001a06de89c20"} 
[2026-09-05 01:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01: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-09-05 01: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-09-05 01:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:08: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-09-05 01:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868814080001,"66":25647,"97":206,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 01:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868814080001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:08:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 01:08:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868814080001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":171172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:08:04] local.INFO: GPS data processed {"connection_id":171172,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:08:04] local.INFO: Acknowledgment sent {"connection_id":171172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:08:36] local.INFO: TCP Data received {"connection_id":171172,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06ded33e8012d34c54006aa42a8000f011f1f..."} 
[2026-09-05 01:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ded33e8012d34c54006aa42a8000f011f1f..."} 
[2026-09-05 01:08:36] local.INFO: Processing buffer {"connection_id":171172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ded33e8012d34c54006aa42a8000f011f1f..."} 
[2026-09-05 01:08:36] local.INFO: Packet analysis {"connection_id":171172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ded"} 
[2026-09-05 01:08:36] local.INFO: Extracted packet for processing {"connection_id":171172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ded"} 
[2026-09-05 01:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868891136001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:08:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788550657000,"timestamp_ms":1788550657000,"timestamp_seconds":1788550657,"priority":1,"record_length":96,"hex_timestamp":"000001a06ded33e8"} 
[2026-09-05 01:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:08: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-09-05 01:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868891136001,"66":25680,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868891136001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:08:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868891136001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":171172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:08:36] local.INFO: GPS data processed {"connection_id":171172,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:08:36] local.INFO: Acknowledgment sent {"connection_id":171172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:09:04] local.INFO: TCP Data received {"connection_id":172586,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:09:04] local.INFO: Processing buffer {"connection_id":172586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:09:04] local.INFO: IMEI packet received {"connection_id":172586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":172586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:09:09] local.INFO: TCP Data received {"connection_id":172586,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:09:09] local.INFO: Processing buffer {"connection_id":172586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:09:09] local.INFO: IMEI packet received {"connection_id":172586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":172586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:09:10] local.INFO: TCP Data received {"connection_id":172586,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06ded33e8012d34c54006aa42a8000f011f1f..."} 
[2026-09-05 01:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ded33e8012d34c54006aa42a8000f011f1f..."} 
[2026-09-05 01:09:11] local.INFO: Processing buffer {"connection_id":172586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ded33e8012d34c54006aa42a8000f011f1f..."} 
[2026-09-05 01:09:11] local.INFO: Packet analysis {"connection_id":172586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ded"} 
[2026-09-05 01:09:11] local.INFO: Extracted packet for processing {"connection_id":172586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ded"} 
[2026-09-05 01:09:11] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868891136001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:09:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788550657000,"timestamp_ms":1788550657000,"timestamp_seconds":1788550657,"priority":1,"record_length":96,"hex_timestamp":"000001a06ded33e8"} 
[2026-09-05 01:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":172586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":172586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":172586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:09:11] 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-09-05 01:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868891136001,"66":25680,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868891136001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:09:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868891136001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":172586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:09:11] local.INFO: GPS data processed {"connection_id":172586,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:09:11] local.INFO: Acknowledgment sent {"connection_id":172586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:09:13] local.INFO: TCP Data received {"connection_id":172586,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06ded33e8012d34c54006aa42a8000f011f1f..."} 
[2026-09-05 01:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ded33e8012d34c54006aa42a8000f011f1f..."} 
[2026-09-05 01:09:13] local.INFO: Processing buffer {"connection_id":172586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ded33e8012d34c54006aa42a8000f011f1f..."} 
[2026-09-05 01:09:13] local.INFO: Packet analysis {"connection_id":172586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ded"} 
[2026-09-05 01:09:13] local.INFO: Extracted packet for processing {"connection_id":172586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ded"} 
[2026-09-05 01:09:13] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868891136001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:09:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788550657000,"timestamp_ms":1788550657000,"timestamp_seconds":1788550657,"priority":1,"record_length":96,"hex_timestamp":"000001a06ded33e8"} 
[2026-09-05 01:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":172586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":172586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":172586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:09: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-09-05 01:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868891136001,"66":25680,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868891136001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:09:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868891136001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":172586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:09:13] local.INFO: GPS data processed {"connection_id":172586,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:09:13] local.INFO: Acknowledgment sent {"connection_id":172586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:09:58] local.INFO: TCP Data received {"connection_id":171481,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:09:58] local.INFO: Processing buffer {"connection_id":171481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:09:58] local.INFO: IMEI packet received {"connection_id":171481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":171481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:10:03] local.INFO: TCP Data received {"connection_id":171481,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:10:03] local.INFO: Processing buffer {"connection_id":171481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:10:03] local.INFO: IMEI packet received {"connection_id":171481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":171481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:10:03] local.INFO: TCP Data received {"connection_id":171481,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06ded33e8012d34c54006aa42a8000f011f1f..."} 
[2026-09-05 01:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ded33e8012d34c54006aa42a8000f011f1f..."} 
[2026-09-05 01:10:03] local.INFO: Processing buffer {"connection_id":171481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ded33e8012d34c54006aa42a8000f011f1f..."} 
[2026-09-05 01:10:03] local.INFO: Packet analysis {"connection_id":171481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ded"} 
[2026-09-05 01:10:03] local.INFO: Extracted packet for processing {"connection_id":171481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ded"} 
[2026-09-05 01:10:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868891136001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:10:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788550657000,"timestamp_ms":1788550657000,"timestamp_seconds":1788550657,"priority":1,"record_length":96,"hex_timestamp":"000001a06ded33e8"} 
[2026-09-05 01:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:10: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-09-05 01:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868891136001,"66":25680,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868891136001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:10:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868891136001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":171481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:10:03] local.INFO: GPS data processed {"connection_id":171481,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:10:03] local.INFO: Acknowledgment sent {"connection_id":171481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:10:35] local.INFO: TCP Data received {"connection_id":171481,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06ded33e8012d34c54006aa42a8000f011f1f..."} 
[2026-09-05 01:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ded33e8012d34c54006aa42a8000f011f1f..."} 
[2026-09-05 01:10:35] local.INFO: Processing buffer {"connection_id":171481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ded33e8012d34c54006aa42a8000f011f1f..."} 
[2026-09-05 01:10:35] local.INFO: Packet analysis {"connection_id":171481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ded"} 
[2026-09-05 01:10:35] local.INFO: Extracted packet for processing {"connection_id":171481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ded"} 
[2026-09-05 01:10:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868891136001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:10:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788550657000,"timestamp_ms":1788550657000,"timestamp_seconds":1788550657,"priority":1,"record_length":96,"hex_timestamp":"000001a06ded33e8"} 
[2026-09-05 01:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:10:35] 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-09-05 01:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868891136001,"66":25680,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868891136001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:10:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868891136001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":171481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:10:35] local.INFO: GPS data processed {"connection_id":171481,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:10:35] local.INFO: Acknowledgment sent {"connection_id":171481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:11:00] local.INFO: TCP Data received {"connection_id":171173,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:11:00] local.INFO: Processing buffer {"connection_id":171173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:11:00] local.INFO: IMEI packet received {"connection_id":171173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":171173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:11:03] local.INFO: TCP Data received {"connection_id":171173,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:11:03] local.INFO: Processing buffer {"connection_id":171173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:11:03] local.INFO: IMEI packet received {"connection_id":171173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":171173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:11:03] local.INFO: TCP Data received {"connection_id":171173,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06ded33e8012d34c54006aa42a8000f011f1f..."} 
[2026-09-05 01:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ded33e8012d34c54006aa42a8000f011f1f..."} 
[2026-09-05 01:11:03] local.INFO: Processing buffer {"connection_id":171173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ded33e8012d34c54006aa42a8000f011f1f..."} 
[2026-09-05 01:11:03] local.INFO: Packet analysis {"connection_id":171173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ded"} 
[2026-09-05 01:11:03] local.INFO: Extracted packet for processing {"connection_id":171173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ded"} 
[2026-09-05 01:11:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868891136001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:11:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788550657000,"timestamp_ms":1788550657000,"timestamp_seconds":1788550657,"priority":1,"record_length":96,"hex_timestamp":"000001a06ded33e8"} 
[2026-09-05 01:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:11: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-09-05 01:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868891136001,"66":25680,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868891136001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:11:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868891136001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":171173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:11:03] local.INFO: GPS data processed {"connection_id":171173,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:11:03] local.INFO: Acknowledgment sent {"connection_id":171173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:11:08] local.INFO: TCP Data received {"connection_id":171173,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06ded33e8012d34c54006aa42a8000f011f1f..."} 
[2026-09-05 01:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ded33e8012d34c54006aa42a8000f011f1f..."} 
[2026-09-05 01:11:08] local.INFO: Processing buffer {"connection_id":171173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ded33e8012d34c54006aa42a8000f011f1f..."} 
[2026-09-05 01:11:08] local.INFO: Packet analysis {"connection_id":171173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ded"} 
[2026-09-05 01:11:08] local.INFO: Extracted packet for processing {"connection_id":171173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ded"} 
[2026-09-05 01:11:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868891136001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:11:08] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788550657000,"timestamp_ms":1788550657000,"timestamp_seconds":1788550657,"priority":1,"record_length":96,"hex_timestamp":"000001a06ded33e8"} 
[2026-09-05 01:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:11: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-09-05 01:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868891136001,"66":25680,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868891136001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:11:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868891136001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":171173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:11:08] local.INFO: GPS data processed {"connection_id":171173,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:11:08] local.INFO: Acknowledgment sent {"connection_id":171173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:11:40] local.INFO: TCP Data received {"connection_id":171173,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06ded33e8012d34c54006aa42a8000f011f1f..."} 
[2026-09-05 01:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ded33e8012d34c54006aa42a8000f011f1f..."} 
[2026-09-05 01:11:40] local.INFO: Processing buffer {"connection_id":171173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ded33e8012d34c54006aa42a8000f011f1f..."} 
[2026-09-05 01:11:40] local.INFO: Packet analysis {"connection_id":171173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ded"} 
[2026-09-05 01:11:40] local.INFO: Extracted packet for processing {"connection_id":171173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ded"} 
[2026-09-05 01:11:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868891136001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:11:40] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788550657000,"timestamp_ms":1788550657000,"timestamp_seconds":1788550657,"priority":1,"record_length":96,"hex_timestamp":"000001a06ded33e8"} 
[2026-09-05 01:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":171173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":171173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":171173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:11:40] 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-09-05 01:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868891136001,"66":25680,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868891136001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:11:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868891136001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":171173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:11:40] local.INFO: GPS data processed {"connection_id":171173,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:11:40] local.INFO: Acknowledgment sent {"connection_id":171173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:11:58] local.INFO: TCP Data received {"connection_id":171174,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:11:58] local.INFO: Processing buffer {"connection_id":171174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:11:58] local.INFO: IMEI packet received {"connection_id":171174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":171174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:12:03] local.INFO: TCP Data received {"connection_id":171174,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:12:03] local.INFO: Processing buffer {"connection_id":171174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:12:03] local.INFO: IMEI packet received {"connection_id":171174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":171174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:12:03] local.INFO: TCP Data received {"connection_id":171174,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06ded33e8012d34c54006aa42a8000f011f1f..."} 
[2026-09-05 01:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ded33e8012d34c54006aa42a8000f011f1f..."} 
[2026-09-05 01:12:03] local.INFO: Processing buffer {"connection_id":171174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ded33e8012d34c54006aa42a8000f011f1f..."} 
[2026-09-05 01:12:03] local.INFO: Packet analysis {"connection_id":171174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ded"} 
[2026-09-05 01:12:03] local.INFO: Extracted packet for processing {"connection_id":171174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ded"} 
[2026-09-05 01:12:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868891136001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:12:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788550657000,"timestamp_ms":1788550657000,"timestamp_seconds":1788550657,"priority":1,"record_length":96,"hex_timestamp":"000001a06ded33e8"} 
[2026-09-05 01:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:12: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-09-05 01:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868891136001,"66":25680,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868891136001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:12:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868891136001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":171174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:12:03] local.INFO: GPS data processed {"connection_id":171174,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:12:03] local.INFO: Acknowledgment sent {"connection_id":171174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:12:35] local.INFO: TCP Data received {"connection_id":171174,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06ded33e8012d34c54006aa42a8000f011f1f..."} 
[2026-09-05 01:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ded33e8012d34c54006aa42a8000f011f1f..."} 
[2026-09-05 01:12:35] local.INFO: Processing buffer {"connection_id":171174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ded33e8012d34c54006aa42a8000f011f1f..."} 
[2026-09-05 01:12:35] local.INFO: Packet analysis {"connection_id":171174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ded"} 
[2026-09-05 01:12:35] local.INFO: Extracted packet for processing {"connection_id":171174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ded"} 
[2026-09-05 01:12:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868891136001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:12:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788550657000,"timestamp_ms":1788550657000,"timestamp_seconds":1788550657,"priority":1,"record_length":96,"hex_timestamp":"000001a06ded33e8"} 
[2026-09-05 01:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:12:35] 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-09-05 01:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868891136001,"66":25680,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868891136001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:12:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868891136001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":171174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:12:35] local.INFO: GPS data processed {"connection_id":171174,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:12:35] local.INFO: Acknowledgment sent {"connection_id":171174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:12:58] local.INFO: TCP Data received {"connection_id":173865,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:12:58] local.INFO: Processing buffer {"connection_id":173865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:12:58] local.INFO: IMEI packet received {"connection_id":173865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":173865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:13:03] local.INFO: TCP Data received {"connection_id":173865,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:13:03] local.INFO: Processing buffer {"connection_id":173865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:13:03] local.INFO: IMEI packet received {"connection_id":173865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":173865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:13:04] local.INFO: TCP Data received {"connection_id":173865,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06ded33e8012d34c54006aa42a8000f011f1f..."} 
[2026-09-05 01:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ded33e8012d34c54006aa42a8000f011f1f..."} 
[2026-09-05 01:13:04] local.INFO: Processing buffer {"connection_id":173865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ded33e8012d34c54006aa42a8000f011f1f..."} 
[2026-09-05 01:13:04] local.INFO: Packet analysis {"connection_id":173865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ded"} 
[2026-09-05 01:13:04] local.INFO: Extracted packet for processing {"connection_id":173865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ded"} 
[2026-09-05 01:13:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868891136001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:13:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788550657000,"timestamp_ms":1788550657000,"timestamp_seconds":1788550657,"priority":1,"record_length":96,"hex_timestamp":"000001a06ded33e8"} 
[2026-09-05 01:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01: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":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:13: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-09-05 01: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-09-05 01:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:13: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-09-05 01:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868891136001,"66":25680,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868891136001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:13:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868891136001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":173865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:13:04] local.INFO: GPS data processed {"connection_id":173865,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:13:04] local.INFO: Acknowledgment sent {"connection_id":173865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:13:35] local.INFO: TCP Data received {"connection_id":173865,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06df1cbb0012d34c54006aa42a8000f011f2a..."} 
[2026-09-05 01:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06df1cbb0012d34c54006aa42a8000f011f2a..."} 
[2026-09-05 01:13:35] local.INFO: Processing buffer {"connection_id":173865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06df1cbb0012d34c54006aa42a8000f011f2a..."} 
[2026-09-05 01:13:35] local.INFO: Packet analysis {"connection_id":173865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06df1"} 
[2026-09-05 01:13:35] local.INFO: Extracted packet for processing {"connection_id":173865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06df1"} 
[2026-09-05 01:13:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868968192001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:13:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788550958000,"timestamp_ms":1788550958000,"timestamp_seconds":1788550958,"priority":1,"record_length":96,"hex_timestamp":"000001a06df1cbb0"} 
[2026-09-05 01:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:13:35] 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-09-05 01:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 01:13:35] 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-09-05 01:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:13:35] 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-09-05 01:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868968192001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868968192001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:13:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868968192001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":173865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:13:35] local.INFO: GPS data processed {"connection_id":173865,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:13:35] local.INFO: Acknowledgment sent {"connection_id":173865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:14:03] local.INFO: TCP Data received {"connection_id":171175,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:14:03] local.INFO: Processing buffer {"connection_id":171175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:14:03] local.INFO: IMEI packet received {"connection_id":171175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":171175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:14:08] local.INFO: TCP Data received {"connection_id":171175,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:14:08] local.INFO: Processing buffer {"connection_id":171175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:14:08] local.INFO: IMEI packet received {"connection_id":171175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":171175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:14:09] local.INFO: TCP Data received {"connection_id":171175,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06df1cbb0012d34c54006aa42a8000f011f2a..."} 
[2026-09-05 01:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06df1cbb0012d34c54006aa42a8000f011f2a..."} 
[2026-09-05 01:14:09] local.INFO: Processing buffer {"connection_id":171175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06df1cbb0012d34c54006aa42a8000f011f2a..."} 
[2026-09-05 01:14:09] local.INFO: Packet analysis {"connection_id":171175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06df1"} 
[2026-09-05 01:14:09] local.INFO: Extracted packet for processing {"connection_id":171175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06df1"} 
[2026-09-05 01:14:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868968192001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:14:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788550958000,"timestamp_ms":1788550958000,"timestamp_seconds":1788550958,"priority":1,"record_length":96,"hex_timestamp":"000001a06df1cbb0"} 
[2026-09-05 01:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:14: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-09-05 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 01:14:09] 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-09-05 01: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-09-05 01:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:14:09] 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-09-05 01:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868968192001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868968192001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:14:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868968192001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":171175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:14:09] local.INFO: GPS data processed {"connection_id":171175,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:14:09] local.INFO: Acknowledgment sent {"connection_id":171175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:14:13] local.INFO: TCP Data received {"connection_id":171175,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06df1cbb0012d34c54006aa42a8000f011f2a..."} 
[2026-09-05 01:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06df1cbb0012d34c54006aa42a8000f011f2a..."} 
[2026-09-05 01:14:13] local.INFO: Processing buffer {"connection_id":171175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06df1cbb0012d34c54006aa42a8000f011f2a..."} 
[2026-09-05 01:14:13] local.INFO: Packet analysis {"connection_id":171175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06df1"} 
[2026-09-05 01:14:13] local.INFO: Extracted packet for processing {"connection_id":171175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06df1"} 
[2026-09-05 01:14:13] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868968192001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:14:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788550958000,"timestamp_ms":1788550958000,"timestamp_seconds":1788550958,"priority":1,"record_length":96,"hex_timestamp":"000001a06df1cbb0"} 
[2026-09-05 01:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 01:14:13] 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-09-05 01:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:14: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-09-05 01:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868968192001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868968192001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:14:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868968192001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":171175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:14:13] local.INFO: GPS data processed {"connection_id":171175,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:14:13] local.INFO: Acknowledgment sent {"connection_id":171175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:14:58] local.INFO: TCP Data received {"connection_id":172587,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:14:58] local.INFO: Processing buffer {"connection_id":172587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:14:58] local.INFO: IMEI packet received {"connection_id":172587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":172587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:15:03] local.INFO: TCP Data received {"connection_id":172587,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:15:03] local.INFO: Processing buffer {"connection_id":172587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:15:03] local.INFO: IMEI packet received {"connection_id":172587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":172587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:15:04] local.INFO: TCP Data received {"connection_id":172587,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06df1cbb0012d34c54006aa42a8000f011f2a..."} 
[2026-09-05 01:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06df1cbb0012d34c54006aa42a8000f011f2a..."} 
[2026-09-05 01:15:04] local.INFO: Processing buffer {"connection_id":172587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06df1cbb0012d34c54006aa42a8000f011f2a..."} 
[2026-09-05 01:15:04] local.INFO: Packet analysis {"connection_id":172587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06df1"} 
[2026-09-05 01:15:04] local.INFO: Extracted packet for processing {"connection_id":172587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06df1"} 
[2026-09-05 01:15:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868968192001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:15:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788550958000,"timestamp_ms":1788550958000,"timestamp_seconds":1788550958,"priority":1,"record_length":96,"hex_timestamp":"000001a06df1cbb0"} 
[2026-09-05 01:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:15: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-09-05 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 01:15: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-09-05 01: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-09-05 01:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:15: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-09-05 01:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868968192001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868968192001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:15:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868968192001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":172587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:15:04] local.INFO: GPS data processed {"connection_id":172587,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:15:04] local.INFO: Acknowledgment sent {"connection_id":172587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:15:36] local.INFO: TCP Data received {"connection_id":172587,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06df1cbb0012d34c54006aa42a8000f011f2a..."} 
[2026-09-05 01:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06df1cbb0012d34c54006aa42a8000f011f2a..."} 
[2026-09-05 01:15:36] local.INFO: Processing buffer {"connection_id":172587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06df1cbb0012d34c54006aa42a8000f011f2a..."} 
[2026-09-05 01:15:36] local.INFO: Packet analysis {"connection_id":172587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06df1"} 
[2026-09-05 01:15:36] local.INFO: Extracted packet for processing {"connection_id":172587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06df1"} 
[2026-09-05 01:15:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868968192001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:15:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788550958000,"timestamp_ms":1788550958000,"timestamp_seconds":1788550958,"priority":1,"record_length":96,"hex_timestamp":"000001a06df1cbb0"} 
[2026-09-05 01:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:15: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-09-05 01:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 01:15: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-09-05 01: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-09-05 01:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:15: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-09-05 01:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868968192001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868968192001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:15:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868968192001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":172587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:15:36] local.INFO: GPS data processed {"connection_id":172587,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:15:36] local.INFO: Acknowledgment sent {"connection_id":172587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:16:00] local.INFO: TCP Data received {"connection_id":172588,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:16:00] local.INFO: Processing buffer {"connection_id":172588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:16:00] local.INFO: IMEI packet received {"connection_id":172588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":172588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:16:03] local.INFO: TCP Data received {"connection_id":172588,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:16:03] local.INFO: Processing buffer {"connection_id":172588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:16:03] local.INFO: IMEI packet received {"connection_id":172588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":172588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:16:04] local.INFO: TCP Data received {"connection_id":172588,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06df1cbb0012d34c54006aa42a8000f011f2a..."} 
[2026-09-05 01:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06df1cbb0012d34c54006aa42a8000f011f2a..."} 
[2026-09-05 01:16:04] local.INFO: Processing buffer {"connection_id":172588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06df1cbb0012d34c54006aa42a8000f011f2a..."} 
[2026-09-05 01:16:04] local.INFO: Packet analysis {"connection_id":172588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06df1"} 
[2026-09-05 01:16:04] local.INFO: Extracted packet for processing {"connection_id":172588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06df1"} 
[2026-09-05 01:16:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868968192001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:16:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788550958000,"timestamp_ms":1788550958000,"timestamp_seconds":1788550958,"priority":1,"record_length":96,"hex_timestamp":"000001a06df1cbb0"} 
[2026-09-05 01:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:16: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-09-05 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 01:16: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-09-05 01: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-09-05 01:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:16: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-09-05 01:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868968192001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868968192001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:16:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868968192001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":172588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:16:04] local.INFO: GPS data processed {"connection_id":172588,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:16:04] local.INFO: Acknowledgment sent {"connection_id":172588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:16:08] local.INFO: TCP Data received {"connection_id":172588,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06df1cbb0012d34c54006aa42a8000f011f2a..."} 
[2026-09-05 01:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06df1cbb0012d34c54006aa42a8000f011f2a..."} 
[2026-09-05 01:16:08] local.INFO: Processing buffer {"connection_id":172588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06df1cbb0012d34c54006aa42a8000f011f2a..."} 
[2026-09-05 01:16:08] local.INFO: Packet analysis {"connection_id":172588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06df1"} 
[2026-09-05 01:16:08] local.INFO: Extracted packet for processing {"connection_id":172588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06df1"} 
[2026-09-05 01:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868968192001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:16:08] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788550958000,"timestamp_ms":1788550958000,"timestamp_seconds":1788550958,"priority":1,"record_length":96,"hex_timestamp":"000001a06df1cbb0"} 
[2026-09-05 01:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:16: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-09-05 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 01:16: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-09-05 01: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-09-05 01:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:16: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-09-05 01:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868968192001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868968192001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:16:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868968192001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":172588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:16:08] local.INFO: GPS data processed {"connection_id":172588,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:16:08] local.INFO: Acknowledgment sent {"connection_id":172588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:16:39] local.INFO: TCP Data received {"connection_id":172588,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06df1cbb0012d34c54006aa42a8000f011f2a..."} 
[2026-09-05 01:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06df1cbb0012d34c54006aa42a8000f011f2a..."} 
[2026-09-05 01:16:39] local.INFO: Processing buffer {"connection_id":172588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06df1cbb0012d34c54006aa42a8000f011f2a..."} 
[2026-09-05 01:16:39] local.INFO: Packet analysis {"connection_id":172588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06df1"} 
[2026-09-05 01:16:39] local.INFO: Extracted packet for processing {"connection_id":172588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06df1"} 
[2026-09-05 01:16:39] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868968192001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:16:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788550958000,"timestamp_ms":1788550958000,"timestamp_seconds":1788550958,"priority":1,"record_length":96,"hex_timestamp":"000001a06df1cbb0"} 
[2026-09-05 01:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:16: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-09-05 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 01:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:16:39] 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-09-05 01:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868968192001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868968192001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:16:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868968192001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":172588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:16:39] local.INFO: GPS data processed {"connection_id":172588,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:16:39] local.INFO: Acknowledgment sent {"connection_id":172588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:16:57] local.INFO: TCP Data received {"connection_id":171176,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:16:57] local.INFO: Processing buffer {"connection_id":171176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:16:57] local.INFO: IMEI packet received {"connection_id":171176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":171176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:17:03] local.INFO: TCP Data received {"connection_id":171176,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:17:03] local.INFO: Processing buffer {"connection_id":171176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:17:03] local.INFO: IMEI packet received {"connection_id":171176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":171176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:17:04] local.INFO: TCP Data received {"connection_id":171176,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06df1cbb0012d34c54006aa42a8000f011f2a..."} 
[2026-09-05 01:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06df1cbb0012d34c54006aa42a8000f011f2a..."} 
[2026-09-05 01:17:04] local.INFO: Processing buffer {"connection_id":171176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06df1cbb0012d34c54006aa42a8000f011f2a..."} 
[2026-09-05 01:17:04] local.INFO: Packet analysis {"connection_id":171176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06df1"} 
[2026-09-05 01:17:04] local.INFO: Extracted packet for processing {"connection_id":171176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06df1"} 
[2026-09-05 01:17:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868968192001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:17:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788550958000,"timestamp_ms":1788550958000,"timestamp_seconds":1788550958,"priority":1,"record_length":96,"hex_timestamp":"000001a06df1cbb0"} 
[2026-09-05 01:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:17: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-09-05 01: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":80,"data_length":795,"current_offset":136} 
[2026-09-05 01:17: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-09-05 01: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-09-05 01:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:17: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-09-05 01:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868968192001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868968192001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:17:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868968192001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":171176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:17:04] local.INFO: GPS data processed {"connection_id":171176,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:17:04] local.INFO: Acknowledgment sent {"connection_id":171176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:17:36] local.INFO: TCP Data received {"connection_id":171176,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06df1cbb0012d34c54006aa42a8000f011f2a..."} 
[2026-09-05 01:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06df1cbb0012d34c54006aa42a8000f011f2a..."} 
[2026-09-05 01:17:36] local.INFO: Processing buffer {"connection_id":171176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06df1cbb0012d34c54006aa42a8000f011f2a..."} 
[2026-09-05 01:17:36] local.INFO: Packet analysis {"connection_id":171176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06df1"} 
[2026-09-05 01:17:36] local.INFO: Extracted packet for processing {"connection_id":171176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06df1"} 
[2026-09-05 01:17:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868968192001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:17:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788550958000,"timestamp_ms":1788550958000,"timestamp_seconds":1788550958,"priority":1,"record_length":96,"hex_timestamp":"000001a06df1cbb0"} 
[2026-09-05 01:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:17: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-09-05 01:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 01:17: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-09-05 01:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:17: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-09-05 01:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868968192001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868968192001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:17:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868968192001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":171176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:17:36] local.INFO: GPS data processed {"connection_id":171176,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:17:36] local.INFO: Acknowledgment sent {"connection_id":171176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:17:57] local.INFO: TCP Data received {"connection_id":171482,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:17:57] local.INFO: Processing buffer {"connection_id":171482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:17:57] local.INFO: IMEI packet received {"connection_id":171482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":171482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:18:03] local.INFO: TCP Data received {"connection_id":171482,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:18:03] local.INFO: Processing buffer {"connection_id":171482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:18:03] local.INFO: IMEI packet received {"connection_id":171482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":171482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:18:04] local.INFO: TCP Data received {"connection_id":171482,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06df1cbb0012d34c54006aa42a8000f011f2a..."} 
[2026-09-05 01:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06df1cbb0012d34c54006aa42a8000f011f2a..."} 
[2026-09-05 01:18:04] local.INFO: Processing buffer {"connection_id":171482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06df1cbb0012d34c54006aa42a8000f011f2a..."} 
[2026-09-05 01:18:04] local.INFO: Packet analysis {"connection_id":171482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06df1"} 
[2026-09-05 01:18:04] local.INFO: Extracted packet for processing {"connection_id":171482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06df1"} 
[2026-09-05 01:18:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457868968192001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:18:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788550958000,"timestamp_ms":1788550958000,"timestamp_seconds":1788550958,"priority":1,"record_length":96,"hex_timestamp":"000001a06df1cbb0"} 
[2026-09-05 01:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:18: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-09-05 01: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":80,"data_length":795,"current_offset":136} 
[2026-09-05 01:18: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-09-05 01: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-09-05 01:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:18: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-09-05 01:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457868968192001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457868968192001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:18:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457868968192001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":171482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:18:04] local.INFO: GPS data processed {"connection_id":171482,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:18:04] local.INFO: Acknowledgment sent {"connection_id":171482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:18:35] local.INFO: TCP Data received {"connection_id":171482,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06df66378012d34c54006aa42a8000f011f21..."} 
[2026-09-05 01:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06df66378012d34c54006aa42a8000f011f21..."} 
[2026-09-05 01:18:35] local.INFO: Processing buffer {"connection_id":171482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06df66378012d34c54006aa42a8000f011f21..."} 
[2026-09-05 01:18:35] local.INFO: Packet analysis {"connection_id":171482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06df6"} 
[2026-09-05 01:18:35] local.INFO: Extracted packet for processing {"connection_id":171482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06df6"} 
[2026-09-05 01:18:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869045248001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:18:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788551259000,"timestamp_ms":1788551259000,"timestamp_seconds":1788551259,"priority":1,"record_length":96,"hex_timestamp":"000001a06df66378"} 
[2026-09-05 01:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:18:35] 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-09-05 01:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869045248001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869045248001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:18:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869045248001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":171482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:18:35] local.INFO: GPS data processed {"connection_id":171482,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:18:35] local.INFO: Acknowledgment sent {"connection_id":171482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:19:03] local.INFO: TCP Data received {"connection_id":172589,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:19:03] local.INFO: Processing buffer {"connection_id":172589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:19:03] local.INFO: IMEI packet received {"connection_id":172589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":172589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:19:08] local.INFO: TCP Data received {"connection_id":172589,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:19:08] local.INFO: Processing buffer {"connection_id":172589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:19:08] local.INFO: IMEI packet received {"connection_id":172589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":172589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:19:09] local.INFO: TCP Data received {"connection_id":172589,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06df66378012d34c54006aa42a8000f011f21..."} 
[2026-09-05 01:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06df66378012d34c54006aa42a8000f011f21..."} 
[2026-09-05 01:19:09] local.INFO: Processing buffer {"connection_id":172589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06df66378012d34c54006aa42a8000f011f21..."} 
[2026-09-05 01:19:09] local.INFO: Packet analysis {"connection_id":172589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06df6"} 
[2026-09-05 01:19:09] local.INFO: Extracted packet for processing {"connection_id":172589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06df6"} 
[2026-09-05 01:19:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869045248001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:19:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788551259000,"timestamp_ms":1788551259000,"timestamp_seconds":1788551259,"priority":1,"record_length":96,"hex_timestamp":"000001a06df66378"} 
[2026-09-05 01:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:19:09] 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-09-05 01:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869045248001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869045248001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:19:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869045248001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":172589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:19:09] local.INFO: GPS data processed {"connection_id":172589,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:19:09] local.INFO: Acknowledgment sent {"connection_id":172589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:19:16] local.INFO: TCP Data received {"connection_id":172589,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06df66378012d34c54006aa42a8000f011f21..."} 
[2026-09-05 01:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06df66378012d34c54006aa42a8000f011f21..."} 
[2026-09-05 01:19:16] local.INFO: Processing buffer {"connection_id":172589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06df66378012d34c54006aa42a8000f011f21..."} 
[2026-09-05 01:19:16] local.INFO: Packet analysis {"connection_id":172589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06df6"} 
[2026-09-05 01:19:16] local.INFO: Extracted packet for processing {"connection_id":172589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06df6"} 
[2026-09-05 01:19:16] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869045248001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:19:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788551259000,"timestamp_ms":1788551259000,"timestamp_seconds":1788551259,"priority":1,"record_length":96,"hex_timestamp":"000001a06df66378"} 
[2026-09-05 01:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":172589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":172589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":172589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 01:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869045248001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869045248001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:19:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869045248001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":172589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:19:16] local.INFO: GPS data processed {"connection_id":172589,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:19:16] local.INFO: Acknowledgment sent {"connection_id":172589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:19:58] local.INFO: TCP Data received {"connection_id":173866,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:19:58] local.INFO: Processing buffer {"connection_id":173866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:19:58] local.INFO: IMEI packet received {"connection_id":173866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":173866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:20:03] local.INFO: TCP Data received {"connection_id":173866,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:20:03] local.INFO: Processing buffer {"connection_id":173866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:20:03] local.INFO: IMEI packet received {"connection_id":173866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":173866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:20:04] local.INFO: TCP Data received {"connection_id":173866,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06df66378012d34c54006aa42a8000f011f21..."} 
[2026-09-05 01:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06df66378012d34c54006aa42a8000f011f21..."} 
[2026-09-05 01:20:04] local.INFO: Processing buffer {"connection_id":173866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06df66378012d34c54006aa42a8000f011f21..."} 
[2026-09-05 01:20:04] local.INFO: Packet analysis {"connection_id":173866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06df6"} 
[2026-09-05 01:20:04] local.INFO: Extracted packet for processing {"connection_id":173866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06df6"} 
[2026-09-05 01:20:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 01:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869045248001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:20:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788551259000,"timestamp_ms":1788551259000,"timestamp_seconds":1788551259,"priority":1,"record_length":96,"hex_timestamp":"000001a06df66378"} 
[2026-09-05 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-09-05 01:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:20: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-09-05 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-09-05 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-09-05 01:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01: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-09-05 01:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869045248001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869045248001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:20:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869045248001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":173866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:20:04] local.INFO: GPS data processed {"connection_id":173866,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:20:04] local.INFO: Acknowledgment sent {"connection_id":173866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:20:35] local.INFO: TCP Data received {"connection_id":173866,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06df66378012d34c54006aa42a8000f011f21..."} 
[2026-09-05 01:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06df66378012d34c54006aa42a8000f011f21..."} 
[2026-09-05 01:20:35] local.INFO: Processing buffer {"connection_id":173866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06df66378012d34c54006aa42a8000f011f21..."} 
[2026-09-05 01:20:35] local.INFO: Packet analysis {"connection_id":173866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06df6"} 
[2026-09-05 01:20:35] local.INFO: Extracted packet for processing {"connection_id":173866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06df6"} 
[2026-09-05 01:20:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869045248001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:20:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788551259000,"timestamp_ms":1788551259000,"timestamp_seconds":1788551259,"priority":1,"record_length":96,"hex_timestamp":"000001a06df66378"} 
[2026-09-05 01:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:20:35] 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-09-05 01:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869045248001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869045248001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:20:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869045248001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":173866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:20:35] local.INFO: GPS data processed {"connection_id":173866,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:20:35] local.INFO: Acknowledgment sent {"connection_id":173866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:20:58] local.INFO: TCP Data received {"connection_id":171483,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:20:58] local.INFO: Processing buffer {"connection_id":171483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:20:58] local.INFO: IMEI packet received {"connection_id":171483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":171483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:21:03] local.INFO: TCP Data received {"connection_id":171483,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:21:03] local.INFO: Processing buffer {"connection_id":171483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:21:03] local.INFO: IMEI packet received {"connection_id":171483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":171483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:21:04] local.INFO: TCP Data received {"connection_id":171483,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06df66378012d34c54006aa42a8000f011f21..."} 
[2026-09-05 01:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06df66378012d34c54006aa42a8000f011f21..."} 
[2026-09-05 01:21:04] local.INFO: Processing buffer {"connection_id":171483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06df66378012d34c54006aa42a8000f011f21..."} 
[2026-09-05 01:21:04] local.INFO: Packet analysis {"connection_id":171483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06df6"} 
[2026-09-05 01:21:04] local.INFO: Extracted packet for processing {"connection_id":171483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06df6"} 
[2026-09-05 01:21:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869045248001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:21:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788551259000,"timestamp_ms":1788551259000,"timestamp_seconds":1788551259,"priority":1,"record_length":96,"hex_timestamp":"000001a06df66378"} 
[2026-09-05 01:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:21: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-09-05 01: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-09-05 01:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:21: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-09-05 01:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869045248001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869045248001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:21:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869045248001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":171483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:21:04] local.INFO: GPS data processed {"connection_id":171483,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:21:04] local.INFO: Acknowledgment sent {"connection_id":171483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:21:35] local.INFO: TCP Data received {"connection_id":171483,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06df66378012d34c54006aa42a8000f011f21..."} 
[2026-09-05 01:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06df66378012d34c54006aa42a8000f011f21..."} 
[2026-09-05 01:21:35] local.INFO: Processing buffer {"connection_id":171483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06df66378012d34c54006aa42a8000f011f21..."} 
[2026-09-05 01:21:35] local.INFO: Packet analysis {"connection_id":171483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06df6"} 
[2026-09-05 01:21:35] local.INFO: Extracted packet for processing {"connection_id":171483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06df6"} 
[2026-09-05 01:21:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869045248001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:21:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788551259000,"timestamp_ms":1788551259000,"timestamp_seconds":1788551259,"priority":1,"record_length":96,"hex_timestamp":"000001a06df66378"} 
[2026-09-05 01:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:21:35] 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-09-05 01:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869045248001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869045248001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:21:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869045248001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":171483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:21:35] local.INFO: GPS data processed {"connection_id":171483,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:21:35] local.INFO: Acknowledgment sent {"connection_id":171483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:21:58] local.INFO: TCP Data received {"connection_id":172590,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:21:58] local.INFO: Processing buffer {"connection_id":172590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:21:58] local.INFO: IMEI packet received {"connection_id":172590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":172590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:22:03] local.INFO: TCP Data received {"connection_id":172590,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:22:03] local.INFO: Processing buffer {"connection_id":172590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:22:03] local.INFO: IMEI packet received {"connection_id":172590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":172590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:22:04] local.INFO: TCP Data received {"connection_id":172590,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06df66378012d34c54006aa42a8000f011f21..."} 
[2026-09-05 01:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06df66378012d34c54006aa42a8000f011f21..."} 
[2026-09-05 01:22:04] local.INFO: Processing buffer {"connection_id":172590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06df66378012d34c54006aa42a8000f011f21..."} 
[2026-09-05 01:22:04] local.INFO: Packet analysis {"connection_id":172590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06df6"} 
[2026-09-05 01:22:04] local.INFO: Extracted packet for processing {"connection_id":172590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06df6"} 
[2026-09-05 01:22:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869045248001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:22:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788551259000,"timestamp_ms":1788551259000,"timestamp_seconds":1788551259,"priority":1,"record_length":96,"hex_timestamp":"000001a06df66378"} 
[2026-09-05 01:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01: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":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:22: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-09-05 01: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-09-05 01:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:22: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-09-05 01:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869045248001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869045248001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:22:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869045248001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":172590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:22:04] local.INFO: GPS data processed {"connection_id":172590,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:22:04] local.INFO: Acknowledgment sent {"connection_id":172590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:22:36] local.INFO: TCP Data received {"connection_id":172590,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06df66378012d34c54006aa42a8000f011f21..."} 
[2026-09-05 01:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06df66378012d34c54006aa42a8000f011f21..."} 
[2026-09-05 01:22:36] local.INFO: Processing buffer {"connection_id":172590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06df66378012d34c54006aa42a8000f011f21..."} 
[2026-09-05 01:22:36] local.INFO: Packet analysis {"connection_id":172590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06df6"} 
[2026-09-05 01:22:36] local.INFO: Extracted packet for processing {"connection_id":172590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06df6"} 
[2026-09-05 01:22:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869045248001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:22:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788551259000,"timestamp_ms":1788551259000,"timestamp_seconds":1788551259,"priority":1,"record_length":96,"hex_timestamp":"000001a06df66378"} 
[2026-09-05 01:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:22: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-09-05 01:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869045248001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869045248001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:22:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869045248001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":172590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:22:36] local.INFO: GPS data processed {"connection_id":172590,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:22:36] local.INFO: Acknowledgment sent {"connection_id":172590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:22:58] local.INFO: TCP Data received {"connection_id":173867,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:22:58] local.INFO: Processing buffer {"connection_id":173867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:22:58] local.INFO: IMEI packet received {"connection_id":173867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":173867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:23:03] local.INFO: TCP Data received {"connection_id":173867,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:23:03] local.INFO: Processing buffer {"connection_id":173867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:23:03] local.INFO: IMEI packet received {"connection_id":173867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":173867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:23:04] local.INFO: TCP Data received {"connection_id":173867,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06df66378012d34c54006aa42a8000f011f21..."} 
[2026-09-05 01:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06df66378012d34c54006aa42a8000f011f21..."} 
[2026-09-05 01:23:04] local.INFO: Processing buffer {"connection_id":173867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06df66378012d34c54006aa42a8000f011f21..."} 
[2026-09-05 01:23:04] local.INFO: Packet analysis {"connection_id":173867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06df6"} 
[2026-09-05 01:23:04] local.INFO: Extracted packet for processing {"connection_id":173867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06df6"} 
[2026-09-05 01:23:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869045248001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:23:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788551259000,"timestamp_ms":1788551259000,"timestamp_seconds":1788551259,"priority":1,"record_length":96,"hex_timestamp":"000001a06df66378"} 
[2026-09-05 01:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:23: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-09-05 01: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-09-05 01:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:23: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-09-05 01:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869045248001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869045248001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:23:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869045248001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":173867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:23:04] local.INFO: GPS data processed {"connection_id":173867,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:23:04] local.INFO: Acknowledgment sent {"connection_id":173867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:23:36] local.INFO: TCP Data received {"connection_id":173867,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06dfafb40012d34c54006aa42a8000f011f24..."} 
[2026-09-05 01:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dfafb40012d34c54006aa42a8000f011f24..."} 
[2026-09-05 01:23:36] local.INFO: Processing buffer {"connection_id":173867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dfafb40012d34c54006aa42a8000f011f24..."} 
[2026-09-05 01:23:36] local.INFO: Packet analysis {"connection_id":173867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dfa"} 
[2026-09-05 01:23:36] local.INFO: Extracted packet for processing {"connection_id":173867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dfa"} 
[2026-09-05 01:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869122304001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:23:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788551560000,"timestamp_ms":1788551560000,"timestamp_seconds":1788551560,"priority":1,"record_length":96,"hex_timestamp":"000001a06dfafb40"} 
[2026-09-05 01:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:23: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-09-05 01:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:23: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-09-05 01:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869122304001,"66":25702,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869122304001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:23:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869122304001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":173867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:23:36] local.INFO: GPS data processed {"connection_id":173867,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:23:36] local.INFO: Acknowledgment sent {"connection_id":173867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:23:58] local.INFO: TCP Data received {"connection_id":172591,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:23:58] local.INFO: Processing buffer {"connection_id":172591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:23:58] local.INFO: IMEI packet received {"connection_id":172591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":172591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:24:03] local.INFO: TCP Data received {"connection_id":172591,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:24:03] local.INFO: Processing buffer {"connection_id":172591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:24:03] local.INFO: IMEI packet received {"connection_id":172591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":172591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:24:04] local.INFO: TCP Data received {"connection_id":172591,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06dfafb40012d34c54006aa42a8000f011f24..."} 
[2026-09-05 01:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dfafb40012d34c54006aa42a8000f011f24..."} 
[2026-09-05 01:24:04] local.INFO: Processing buffer {"connection_id":172591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dfafb40012d34c54006aa42a8000f011f24..."} 
[2026-09-05 01:24:04] local.INFO: Packet analysis {"connection_id":172591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dfa"} 
[2026-09-05 01:24:04] local.INFO: Extracted packet for processing {"connection_id":172591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dfa"} 
[2026-09-05 01:24:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869122304001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:24:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788551560000,"timestamp_ms":1788551560000,"timestamp_seconds":1788551560,"priority":1,"record_length":96,"hex_timestamp":"000001a06dfafb40"} 
[2026-09-05 01:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:24: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-09-05 01:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:24: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-09-05 01: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-09-05 01:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:24: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-09-05 01:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869122304001,"66":25702,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869122304001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:24:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869122304001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":172591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:24:04] local.INFO: GPS data processed {"connection_id":172591,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:24:04] local.INFO: Acknowledgment sent {"connection_id":172591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:24:35] local.INFO: TCP Data received {"connection_id":172591,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06dfafb40012d34c54006aa42a8000f011f24..."} 
[2026-09-05 01:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dfafb40012d34c54006aa42a8000f011f24..."} 
[2026-09-05 01:24:35] local.INFO: Processing buffer {"connection_id":172591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dfafb40012d34c54006aa42a8000f011f24..."} 
[2026-09-05 01:24:35] local.INFO: Packet analysis {"connection_id":172591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dfa"} 
[2026-09-05 01:24:35] local.INFO: Extracted packet for processing {"connection_id":172591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dfa"} 
[2026-09-05 01:24:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869122304001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:24:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788551560000,"timestamp_ms":1788551560000,"timestamp_seconds":1788551560,"priority":1,"record_length":96,"hex_timestamp":"000001a06dfafb40"} 
[2026-09-05 01:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:24:35] 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-09-05 01:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:24:35] 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-09-05 01:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869122304001,"66":25702,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869122304001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:24:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869122304001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":172591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:24:35] local.INFO: GPS data processed {"connection_id":172591,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:24:35] local.INFO: Acknowledgment sent {"connection_id":172591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:24:58] local.INFO: TCP Data received {"connection_id":171177,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:24:58] local.INFO: Processing buffer {"connection_id":171177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:24:58] local.INFO: IMEI packet received {"connection_id":171177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":171177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:25:03] local.INFO: TCP Data received {"connection_id":171177,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:25:03] local.INFO: Processing buffer {"connection_id":171177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:25:03] local.INFO: IMEI packet received {"connection_id":171177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":171177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:25:04] local.INFO: TCP Data received {"connection_id":171177,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06dfafb40012d34c54006aa42a8000f011f24..."} 
[2026-09-05 01:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dfafb40012d34c54006aa42a8000f011f24..."} 
[2026-09-05 01:25:04] local.INFO: Processing buffer {"connection_id":171177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dfafb40012d34c54006aa42a8000f011f24..."} 
[2026-09-05 01:25:04] local.INFO: Packet analysis {"connection_id":171177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dfa"} 
[2026-09-05 01:25:04] local.INFO: Extracted packet for processing {"connection_id":171177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dfa"} 
[2026-09-05 01:25:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869122304001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:25:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788551560000,"timestamp_ms":1788551560000,"timestamp_seconds":1788551560,"priority":1,"record_length":96,"hex_timestamp":"000001a06dfafb40"} 
[2026-09-05 01:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:25: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-09-05 01: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":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:25: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-09-05 01: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-09-05 01:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:25: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-09-05 01:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869122304001,"66":25702,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869122304001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:25:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869122304001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":171177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:25:04] local.INFO: GPS data processed {"connection_id":171177,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:25:04] local.INFO: Acknowledgment sent {"connection_id":171177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:25:35] local.INFO: TCP Data received {"connection_id":171177,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06dfafb40012d34c54006aa42a8000f011f24..."} 
[2026-09-05 01:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dfafb40012d34c54006aa42a8000f011f24..."} 
[2026-09-05 01:25:35] local.INFO: Processing buffer {"connection_id":171177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dfafb40012d34c54006aa42a8000f011f24..."} 
[2026-09-05 01:25:35] local.INFO: Packet analysis {"connection_id":171177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dfa"} 
[2026-09-05 01:25:35] local.INFO: Extracted packet for processing {"connection_id":171177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dfa"} 
[2026-09-05 01:25:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869122304001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:25:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788551560000,"timestamp_ms":1788551560000,"timestamp_seconds":1788551560,"priority":1,"record_length":96,"hex_timestamp":"000001a06dfafb40"} 
[2026-09-05 01:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:25:35] 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-09-05 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:25:35] 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-09-05 01:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869122304001,"66":25702,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869122304001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:25:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869122304001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":171177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:25:35] local.INFO: GPS data processed {"connection_id":171177,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:25:35] local.INFO: Acknowledgment sent {"connection_id":171177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:25:58] local.INFO: TCP Data received {"connection_id":173868,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:25:58] local.INFO: Processing buffer {"connection_id":173868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:25:58] local.INFO: IMEI packet received {"connection_id":173868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":173868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:26:03] local.INFO: TCP Data received {"connection_id":173868,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:26:03] local.INFO: Processing buffer {"connection_id":173868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:26:03] local.INFO: IMEI packet received {"connection_id":173868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":173868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:26:04] local.INFO: TCP Data received {"connection_id":173868,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06dfafb40012d34c54006aa42a8000f011f24..."} 
[2026-09-05 01:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dfafb40012d34c54006aa42a8000f011f24..."} 
[2026-09-05 01:26:04] local.INFO: Processing buffer {"connection_id":173868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dfafb40012d34c54006aa42a8000f011f24..."} 
[2026-09-05 01:26:04] local.INFO: Packet analysis {"connection_id":173868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dfa"} 
[2026-09-05 01:26:04] local.INFO: Extracted packet for processing {"connection_id":173868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dfa"} 
[2026-09-05 01:26:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869122304001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:26:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788551560000,"timestamp_ms":1788551560000,"timestamp_seconds":1788551560,"priority":1,"record_length":96,"hex_timestamp":"000001a06dfafb40"} 
[2026-09-05 01:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:26: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-09-05 01: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":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:26: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-09-05 01: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-09-05 01:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:26: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-09-05 01:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869122304001,"66":25702,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869122304001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:26:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869122304001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":173868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:26:04] local.INFO: GPS data processed {"connection_id":173868,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:26:04] local.INFO: Acknowledgment sent {"connection_id":173868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:26:35] local.INFO: TCP Data received {"connection_id":173868,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06dfafb40012d34c54006aa42a8000f011f24..."} 
[2026-09-05 01:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dfafb40012d34c54006aa42a8000f011f24..."} 
[2026-09-05 01:26:35] local.INFO: Processing buffer {"connection_id":173868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dfafb40012d34c54006aa42a8000f011f24..."} 
[2026-09-05 01:26:35] local.INFO: Packet analysis {"connection_id":173868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dfa"} 
[2026-09-05 01:26:35] local.INFO: Extracted packet for processing {"connection_id":173868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dfa"} 
[2026-09-05 01:26:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869122304001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:26:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788551560000,"timestamp_ms":1788551560000,"timestamp_seconds":1788551560,"priority":1,"record_length":96,"hex_timestamp":"000001a06dfafb40"} 
[2026-09-05 01:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:26:35] 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-09-05 01:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:26:35] 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-09-05 01:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869122304001,"66":25702,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869122304001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:26:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869122304001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":173868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:26:35] local.INFO: GPS data processed {"connection_id":173868,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:26:35] local.INFO: Acknowledgment sent {"connection_id":173868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:26:58] local.INFO: TCP Data received {"connection_id":173869,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:26:58] local.INFO: Processing buffer {"connection_id":173869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:26:58] local.INFO: IMEI packet received {"connection_id":173869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":173869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:27:03] local.INFO: TCP Data received {"connection_id":173869,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:27:03] local.INFO: Processing buffer {"connection_id":173869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:27:03] local.INFO: IMEI packet received {"connection_id":173869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":173869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:27:04] local.INFO: TCP Data received {"connection_id":173869,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06dfafb40012d34c54006aa42a8000f011f24..."} 
[2026-09-05 01:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dfafb40012d34c54006aa42a8000f011f24..."} 
[2026-09-05 01:27:04] local.INFO: Processing buffer {"connection_id":173869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dfafb40012d34c54006aa42a8000f011f24..."} 
[2026-09-05 01:27:04] local.INFO: Packet analysis {"connection_id":173869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dfa"} 
[2026-09-05 01:27:04] local.INFO: Extracted packet for processing {"connection_id":173869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dfa"} 
[2026-09-05 01:27:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869122304001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:27:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788551560000,"timestamp_ms":1788551560000,"timestamp_seconds":1788551560,"priority":1,"record_length":96,"hex_timestamp":"000001a06dfafb40"} 
[2026-09-05 01:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:27: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-09-05 01: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":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:27: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-09-05 01: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-09-05 01:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:27: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-09-05 01:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869122304001,"66":25702,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869122304001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:27:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869122304001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":173869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:27:04] local.INFO: GPS data processed {"connection_id":173869,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:27:04] local.INFO: Acknowledgment sent {"connection_id":173869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:27:35] local.INFO: TCP Data received {"connection_id":173869,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06dfafb40012d34c54006aa42a8000f011f24..."} 
[2026-09-05 01:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dfafb40012d34c54006aa42a8000f011f24..."} 
[2026-09-05 01:27:35] local.INFO: Processing buffer {"connection_id":173869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dfafb40012d34c54006aa42a8000f011f24..."} 
[2026-09-05 01:27:35] local.INFO: Packet analysis {"connection_id":173869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dfa"} 
[2026-09-05 01:27:35] local.INFO: Extracted packet for processing {"connection_id":173869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dfa"} 
[2026-09-05 01:27:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869122304001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:27:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788551560000,"timestamp_ms":1788551560000,"timestamp_seconds":1788551560,"priority":1,"record_length":96,"hex_timestamp":"000001a06dfafb40"} 
[2026-09-05 01:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:27:35] 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-09-05 01:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:27:35] 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-09-05 01:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869122304001,"66":25702,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869122304001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:27:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869122304001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":173869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:27:35] local.INFO: GPS data processed {"connection_id":173869,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:27:35] local.INFO: Acknowledgment sent {"connection_id":173869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:27:58] local.INFO: TCP Data received {"connection_id":173870,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:27:58] local.INFO: Processing buffer {"connection_id":173870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:27:58] local.INFO: IMEI packet received {"connection_id":173870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":173870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:28:03] local.INFO: TCP Data received {"connection_id":173870,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:28:03] local.INFO: Processing buffer {"connection_id":173870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:28:03] local.INFO: IMEI packet received {"connection_id":173870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":173870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:28:04] local.INFO: TCP Data received {"connection_id":173870,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06dfafb40012d34c54006aa42a8000f011f24..."} 
[2026-09-05 01:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dfafb40012d34c54006aa42a8000f011f24..."} 
[2026-09-05 01:28:04] local.INFO: Processing buffer {"connection_id":173870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dfafb40012d34c54006aa42a8000f011f24..."} 
[2026-09-05 01:28:04] local.INFO: Packet analysis {"connection_id":173870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dfa"} 
[2026-09-05 01:28:04] local.INFO: Extracted packet for processing {"connection_id":173870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dfa"} 
[2026-09-05 01:28:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":15,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869122304001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:28:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788551560000,"timestamp_ms":1788551560000,"timestamp_seconds":1788551560,"priority":1,"record_length":96,"hex_timestamp":"000001a06dfafb40"} 
[2026-09-05 01:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:28: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-09-05 01: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":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:28: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-09-05 01: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-09-05 01:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:28: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-09-05 01:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869122304001,"66":25702,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869122304001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:28:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869122304001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":173870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:28:04] local.INFO: GPS data processed {"connection_id":173870,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:28:04] local.INFO: Acknowledgment sent {"connection_id":173870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:28:36] local.INFO: TCP Data received {"connection_id":173870,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06dff9308012d34c54006aa42a80006011f23..."} 
[2026-09-05 01:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dff9308012d34c54006aa42a80006011f23..."} 
[2026-09-05 01:28:36] local.INFO: Processing buffer {"connection_id":173870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dff9308012d34c54006aa42a80006011f23..."} 
[2026-09-05 01:28:36] local.INFO: Packet analysis {"connection_id":173870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dff"} 
[2026-09-05 01:28:36] local.INFO: Extracted packet for processing {"connection_id":173870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dff"} 
[2026-09-05 01:28:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869199360001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:28:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788551861000,"timestamp_ms":1788551861000,"timestamp_seconds":1788551861,"priority":1,"record_length":96,"hex_timestamp":"000001a06dff9308"} 
[2026-09-05 01:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:28: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-09-05 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 01:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:28: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-09-05 01:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869199360001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869199360001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:28:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869199360001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":173870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:28:36] local.INFO: GPS data processed {"connection_id":173870,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:28:36] local.INFO: Acknowledgment sent {"connection_id":173870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:28:58] local.INFO: TCP Data received {"connection_id":171178,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:28:58] local.INFO: Processing buffer {"connection_id":171178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:28:58] local.INFO: IMEI packet received {"connection_id":171178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":171178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:29:03] local.INFO: TCP Data received {"connection_id":171178,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:29:03] local.INFO: Processing buffer {"connection_id":171178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:29:03] local.INFO: IMEI packet received {"connection_id":171178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":171178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:29:04] local.INFO: TCP Data received {"connection_id":171178,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06dff9308012d34c54006aa42a80006011f23..."} 
[2026-09-05 01:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dff9308012d34c54006aa42a80006011f23..."} 
[2026-09-05 01:29:04] local.INFO: Processing buffer {"connection_id":171178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dff9308012d34c54006aa42a80006011f23..."} 
[2026-09-05 01:29:04] local.INFO: Packet analysis {"connection_id":171178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dff"} 
[2026-09-05 01:29:04] local.INFO: Extracted packet for processing {"connection_id":171178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dff"} 
[2026-09-05 01:29:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869199360001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:29:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788551861000,"timestamp_ms":1788551861000,"timestamp_seconds":1788551861,"priority":1,"record_length":96,"hex_timestamp":"000001a06dff9308"} 
[2026-09-05 01:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:29: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-09-05 01: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":102,"data_length":795,"current_offset":136} 
[2026-09-05 01:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01: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-09-05 01:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869199360001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869199360001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:29:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869199360001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":171178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:29:04] local.INFO: GPS data processed {"connection_id":171178,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:29:04] local.INFO: Acknowledgment sent {"connection_id":171178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:29:35] local.INFO: TCP Data received {"connection_id":171178,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06dff9308012d34c54006aa42a80006011f23..."} 
[2026-09-05 01:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dff9308012d34c54006aa42a80006011f23..."} 
[2026-09-05 01:29:35] local.INFO: Processing buffer {"connection_id":171178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dff9308012d34c54006aa42a80006011f23..."} 
[2026-09-05 01:29:35] local.INFO: Packet analysis {"connection_id":171178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dff"} 
[2026-09-05 01:29:35] local.INFO: Extracted packet for processing {"connection_id":171178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dff"} 
[2026-09-05 01:29:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869199360001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:29:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788551861000,"timestamp_ms":1788551861000,"timestamp_seconds":1788551861,"priority":1,"record_length":96,"hex_timestamp":"000001a06dff9308"} 
[2026-09-05 01:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:29:35] 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-09-05 01:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 01:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:29:35] 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-09-05 01:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869199360001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869199360001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:29:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869199360001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":171178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:29:35] local.INFO: GPS data processed {"connection_id":171178,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:29:35] local.INFO: Acknowledgment sent {"connection_id":171178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:29:58] local.INFO: TCP Data received {"connection_id":171179,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:29:58] local.INFO: Processing buffer {"connection_id":171179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:29:58] local.INFO: IMEI packet received {"connection_id":171179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":171179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:30:03] local.INFO: TCP Data received {"connection_id":171179,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:30:03] local.INFO: Processing buffer {"connection_id":171179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:30:03] local.INFO: IMEI packet received {"connection_id":171179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":171179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:30:04] local.INFO: TCP Data received {"connection_id":171179,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06dff9308012d34c54006aa42a80006011f23..."} 
[2026-09-05 01:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dff9308012d34c54006aa42a80006011f23..."} 
[2026-09-05 01:30:04] local.INFO: Processing buffer {"connection_id":171179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dff9308012d34c54006aa42a80006011f23..."} 
[2026-09-05 01:30:04] local.INFO: Packet analysis {"connection_id":171179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dff"} 
[2026-09-05 01:30:04] local.INFO: Extracted packet for processing {"connection_id":171179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dff"} 
[2026-09-05 01:30:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 01:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869199360001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:30:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788551861000,"timestamp_ms":1788551861000,"timestamp_seconds":1788551861,"priority":1,"record_length":96,"hex_timestamp":"000001a06dff9308"} 
[2026-09-05 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-09-05 01:30: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-09-05 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 01:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 01:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:30: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-09-05 01:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869199360001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869199360001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:30:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869199360001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":171179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:30:04] local.INFO: GPS data processed {"connection_id":171179,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:30:04] local.INFO: Acknowledgment sent {"connection_id":171179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:30:36] local.INFO: TCP Data received {"connection_id":171179,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06dff9308012d34c54006aa42a80006011f23..."} 
[2026-09-05 01:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dff9308012d34c54006aa42a80006011f23..."} 
[2026-09-05 01:30:36] local.INFO: Processing buffer {"connection_id":171179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dff9308012d34c54006aa42a80006011f23..."} 
[2026-09-05 01:30:36] local.INFO: Packet analysis {"connection_id":171179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dff"} 
[2026-09-05 01:30:36] local.INFO: Extracted packet for processing {"connection_id":171179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dff"} 
[2026-09-05 01:30:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869199360001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:30:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788551861000,"timestamp_ms":1788551861000,"timestamp_seconds":1788551861,"priority":1,"record_length":96,"hex_timestamp":"000001a06dff9308"} 
[2026-09-05 01:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:30: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-09-05 01:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 01:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:30: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-09-05 01:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869199360001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869199360001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:30:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869199360001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":171179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:30:36] local.INFO: GPS data processed {"connection_id":171179,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:30:36] local.INFO: Acknowledgment sent {"connection_id":171179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:30:57] local.INFO: TCP Data received {"connection_id":172593,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:30:57] local.INFO: Processing buffer {"connection_id":172593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:30:57] local.INFO: IMEI packet received {"connection_id":172593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":172593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:31:03] local.INFO: TCP Data received {"connection_id":172593,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:31:03] local.INFO: Processing buffer {"connection_id":172593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:31:03] local.INFO: IMEI packet received {"connection_id":172593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":172593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:31:04] local.INFO: TCP Data received {"connection_id":172593,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06dff9308012d34c54006aa42a80006011f23..."} 
[2026-09-05 01:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dff9308012d34c54006aa42a80006011f23..."} 
[2026-09-05 01:31:04] local.INFO: Processing buffer {"connection_id":172593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dff9308012d34c54006aa42a80006011f23..."} 
[2026-09-05 01:31:04] local.INFO: Packet analysis {"connection_id":172593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dff"} 
[2026-09-05 01:31:04] local.INFO: Extracted packet for processing {"connection_id":172593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dff"} 
[2026-09-05 01:31:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869199360001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:31:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788551861000,"timestamp_ms":1788551861000,"timestamp_seconds":1788551861,"priority":1,"record_length":96,"hex_timestamp":"000001a06dff9308"} 
[2026-09-05 01:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:31: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-09-05 01: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":102,"data_length":795,"current_offset":136} 
[2026-09-05 01:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01: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-09-05 01:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869199360001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869199360001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:31:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869199360001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":172593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:31:04] local.INFO: GPS data processed {"connection_id":172593,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:31:04] local.INFO: Acknowledgment sent {"connection_id":172593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:31:35] local.INFO: TCP Data received {"connection_id":172593,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06dff9308012d34c54006aa42a80006011f23..."} 
[2026-09-05 01:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dff9308012d34c54006aa42a80006011f23..."} 
[2026-09-05 01:31:35] local.INFO: Processing buffer {"connection_id":172593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dff9308012d34c54006aa42a80006011f23..."} 
[2026-09-05 01:31:35] local.INFO: Packet analysis {"connection_id":172593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dff"} 
[2026-09-05 01:31:35] local.INFO: Extracted packet for processing {"connection_id":172593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dff"} 
[2026-09-05 01:31:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869199360001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:31:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788551861000,"timestamp_ms":1788551861000,"timestamp_seconds":1788551861,"priority":1,"record_length":96,"hex_timestamp":"000001a06dff9308"} 
[2026-09-05 01:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:31:35] 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-09-05 01:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 01:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:31:35] 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-09-05 01:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869199360001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869199360001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:31:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869199360001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":172593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:31:35] local.INFO: GPS data processed {"connection_id":172593,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:31:35] local.INFO: Acknowledgment sent {"connection_id":172593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:31:57] local.INFO: TCP Data received {"connection_id":173871,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:31:57] local.INFO: Processing buffer {"connection_id":173871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:31:57] local.INFO: IMEI packet received {"connection_id":173871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":173871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:32:03] local.INFO: TCP Data received {"connection_id":173871,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:32:03] local.INFO: Processing buffer {"connection_id":173871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:32:03] local.INFO: IMEI packet received {"connection_id":173871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":173871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:32:05] local.INFO: TCP Data received {"connection_id":173871,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06dff9308012d34c54006aa42a80006011f23..."} 
[2026-09-05 01:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dff9308012d34c54006aa42a80006011f23..."} 
[2026-09-05 01:32:05] local.INFO: Processing buffer {"connection_id":173871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dff9308012d34c54006aa42a80006011f23..."} 
[2026-09-05 01:32:05] local.INFO: Packet analysis {"connection_id":173871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dff"} 
[2026-09-05 01:32:05] local.INFO: Extracted packet for processing {"connection_id":173871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dff"} 
[2026-09-05 01:32:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 01:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869199360001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:32:05] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788551861000,"timestamp_ms":1788551861000,"timestamp_seconds":1788551861,"priority":1,"record_length":96,"hex_timestamp":"000001a06dff9308"} 
[2026-09-05 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-09-05 01:32: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-09-05 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 01:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 01:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 01:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869199360001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869199360001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:32:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869199360001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":173871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:32:05] local.INFO: GPS data processed {"connection_id":173871,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:32:05] local.INFO: Acknowledgment sent {"connection_id":173871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:32:37] local.INFO: TCP Data received {"connection_id":173871,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06dff9308012d34c54006aa42a80006011f23..."} 
[2026-09-05 01:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dff9308012d34c54006aa42a80006011f23..."} 
[2026-09-05 01:32:37] local.INFO: Processing buffer {"connection_id":173871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dff9308012d34c54006aa42a80006011f23..."} 
[2026-09-05 01:32:37] local.INFO: Packet analysis {"connection_id":173871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dff"} 
[2026-09-05 01:32:37] local.INFO: Extracted packet for processing {"connection_id":173871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dff"} 
[2026-09-05 01:32:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869199360001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:32:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788551861000,"timestamp_ms":1788551861000,"timestamp_seconds":1788551861,"priority":1,"record_length":96,"hex_timestamp":"000001a06dff9308"} 
[2026-09-05 01:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:32:37] 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-09-05 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 01:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:32: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-09-05 01:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869199360001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869199360001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:32:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869199360001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":173871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:32:37] local.INFO: GPS data processed {"connection_id":173871,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:32:37] local.INFO: Acknowledgment sent {"connection_id":173871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:32:57] local.INFO: TCP Data received {"connection_id":171484,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:32:57] local.INFO: Processing buffer {"connection_id":171484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:32:57] local.INFO: IMEI packet received {"connection_id":171484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":171484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:33:02] local.INFO: TCP Data received {"connection_id":171484,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:33:03] local.INFO: Processing buffer {"connection_id":171484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:33:03] local.INFO: IMEI packet received {"connection_id":171484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":171484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:33:04] local.INFO: TCP Data received {"connection_id":171484,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06dff9308012d34c54006aa42a80006011f23..."} 
[2026-09-05 01:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06dff9308012d34c54006aa42a80006011f23..."} 
[2026-09-05 01:33:04] local.INFO: Processing buffer {"connection_id":171484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06dff9308012d34c54006aa42a80006011f23..."} 
[2026-09-05 01:33:04] local.INFO: Packet analysis {"connection_id":171484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06dff"} 
[2026-09-05 01:33:04] local.INFO: Extracted packet for processing {"connection_id":171484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06dff"} 
[2026-09-05 01:33:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869199360001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:33:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788551861000,"timestamp_ms":1788551861000,"timestamp_seconds":1788551861,"priority":1,"record_length":96,"hex_timestamp":"000001a06dff9308"} 
[2026-09-05 01:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:33: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-09-05 01: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":102,"data_length":795,"current_offset":136} 
[2026-09-05 01:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:33: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-09-05 01:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869199360001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869199360001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:33:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869199360001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":171484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:33:04] local.INFO: GPS data processed {"connection_id":171484,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:33:04] local.INFO: Acknowledgment sent {"connection_id":171484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:33:35] local.INFO: TCP Data received {"connection_id":171484,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e042ad0012d34c54006aa42a80006011f22..."} 
[2026-09-05 01:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e042ad0012d34c54006aa42a80006011f22..."} 
[2026-09-05 01:33:35] local.INFO: Processing buffer {"connection_id":171484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e042ad0012d34c54006aa42a80006011f22..."} 
[2026-09-05 01:33:35] local.INFO: Packet analysis {"connection_id":171484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e04"} 
[2026-09-05 01:33:35] local.INFO: Extracted packet for processing {"connection_id":171484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e04"} 
[2026-09-05 01:33:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869276416001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:33:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788552162000,"timestamp_ms":1788552162000,"timestamp_seconds":1788552162,"priority":1,"record_length":96,"hex_timestamp":"000001a06e042ad0"} 
[2026-09-05 01:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:33:35] 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-09-05 01:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:33:35] 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-09-05 01:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869276416001,"66":25702,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869276416001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:33:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869276416001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":171484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:33:35] local.INFO: GPS data processed {"connection_id":171484,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:33:35] local.INFO: Acknowledgment sent {"connection_id":171484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:34:07] local.INFO: TCP Data received {"connection_id":171180,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:34:07] local.INFO: Processing buffer {"connection_id":171180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:34:07] local.INFO: IMEI packet received {"connection_id":171180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":171180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:34:13] local.INFO: TCP Data received {"connection_id":171180,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:34:13] local.INFO: Processing buffer {"connection_id":171180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:34:13] local.INFO: IMEI packet received {"connection_id":171180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":171180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:34:14] local.INFO: TCP Data received {"connection_id":171180,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e042ad0012d34c54006aa42a80006011f22..."} 
[2026-09-05 01:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e042ad0012d34c54006aa42a80006011f22..."} 
[2026-09-05 01:34:14] local.INFO: Processing buffer {"connection_id":171180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e042ad0012d34c54006aa42a80006011f22..."} 
[2026-09-05 01:34:14] local.INFO: Packet analysis {"connection_id":171180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e04"} 
[2026-09-05 01:34:14] local.INFO: Extracted packet for processing {"connection_id":171180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e04"} 
[2026-09-05 01:34:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869276416001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:34:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:34:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788552162000,"timestamp_ms":1788552162000,"timestamp_seconds":1788552162,"priority":1,"record_length":96,"hex_timestamp":"000001a06e042ad0"} 
[2026-09-05 01:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:34:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:34:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01:34:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":171180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":171180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":171180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:34:14] 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-09-05 01:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869276416001,"66":25702,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869276416001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:34:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869276416001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":171180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:34:14] local.INFO: GPS data processed {"connection_id":171180,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:34:14] local.INFO: Acknowledgment sent {"connection_id":171180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:34:57] local.INFO: TCP Data received {"connection_id":171181,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:34:57] local.INFO: Processing buffer {"connection_id":171181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:34:57] local.INFO: IMEI packet received {"connection_id":171181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":171181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:35:06] local.INFO: TCP Data received {"connection_id":171181,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:35:06] local.INFO: Processing buffer {"connection_id":171181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:35:06] local.INFO: IMEI packet received {"connection_id":171181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":171181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:35:08] local.INFO: TCP Data received {"connection_id":171181,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e042ad0012d34c54006aa42a80006011f22..."} 
[2026-09-05 01:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e042ad0012d34c54006aa42a80006011f22..."} 
[2026-09-05 01:35:08] local.INFO: Processing buffer {"connection_id":171181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e042ad0012d34c54006aa42a80006011f22..."} 
[2026-09-05 01:35:08] local.INFO: Packet analysis {"connection_id":171181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e04"} 
[2026-09-05 01:35:08] local.INFO: Extracted packet for processing {"connection_id":171181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e04"} 
[2026-09-05 01:35:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869276416001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:35:08] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788552162000,"timestamp_ms":1788552162000,"timestamp_seconds":1788552162,"priority":1,"record_length":96,"hex_timestamp":"000001a06e042ad0"} 
[2026-09-05 01:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:35: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-09-05 01:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:35: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-09-05 01:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869276416001,"66":25702,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869276416001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:35:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869276416001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":171181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:35:08] local.INFO: GPS data processed {"connection_id":171181,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:35:08] local.INFO: Acknowledgment sent {"connection_id":171181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:35:40] local.INFO: TCP Data received {"connection_id":171181,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e042ad0012d34c54006aa42a80006011f22..."} 
[2026-09-05 01:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e042ad0012d34c54006aa42a80006011f22..."} 
[2026-09-05 01:35:40] local.INFO: Processing buffer {"connection_id":171181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e042ad0012d34c54006aa42a80006011f22..."} 
[2026-09-05 01:35:40] local.INFO: Packet analysis {"connection_id":171181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e04"} 
[2026-09-05 01:35:40] local.INFO: Extracted packet for processing {"connection_id":171181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e04"} 
[2026-09-05 01:35:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869276416001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:35:40] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788552162000,"timestamp_ms":1788552162000,"timestamp_seconds":1788552162,"priority":1,"record_length":96,"hex_timestamp":"000001a06e042ad0"} 
[2026-09-05 01:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:35: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-09-05 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":171181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":171181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":171181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:35:40] 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-09-05 01:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869276416001,"66":25702,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869276416001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:35:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869276416001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":171181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:35:40] local.INFO: GPS data processed {"connection_id":171181,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:35:40] local.INFO: Acknowledgment sent {"connection_id":171181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:35:52] local.INFO: TCP Data received {"connection_id":171182,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 01:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 01:35:52] local.INFO: Processing buffer {"connection_id":171182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 01:35:52] local.INFO: IMEI packet received {"connection_id":171182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 01:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":171182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:36:03] local.INFO: TCP Data received {"connection_id":172594,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:36:03] local.INFO: Processing buffer {"connection_id":172594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:36:03] local.INFO: IMEI packet received {"connection_id":172594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":172594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:36:08] local.INFO: TCP Data received {"connection_id":172594,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:36:08] local.INFO: Processing buffer {"connection_id":172594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:36:08] local.INFO: IMEI packet received {"connection_id":172594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":172594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:36:08] local.INFO: TCP Data received {"connection_id":172594,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e042ad0012d34c54006aa42a80006011f22..."} 
[2026-09-05 01:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e042ad0012d34c54006aa42a80006011f22..."} 
[2026-09-05 01:36:08] local.INFO: Processing buffer {"connection_id":172594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e042ad0012d34c54006aa42a80006011f22..."} 
[2026-09-05 01:36:08] local.INFO: Packet analysis {"connection_id":172594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e04"} 
[2026-09-05 01:36:08] local.INFO: Extracted packet for processing {"connection_id":172594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e04"} 
[2026-09-05 01:36:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869276416001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:36:08] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788552162000,"timestamp_ms":1788552162000,"timestamp_seconds":1788552162,"priority":1,"record_length":96,"hex_timestamp":"000001a06e042ad0"} 
[2026-09-05 01:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:36: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-09-05 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:36: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-09-05 01:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869276416001,"66":25702,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869276416001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:36:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869276416001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":172594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:36:09] local.INFO: GPS data processed {"connection_id":172594,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:36:09] local.INFO: Acknowledgment sent {"connection_id":172594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:36:13] local.INFO: TCP Data received {"connection_id":172594,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e042ad0012d34c54006aa42a80006011f22..."} 
[2026-09-05 01:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e042ad0012d34c54006aa42a80006011f22..."} 
[2026-09-05 01:36:13] local.INFO: Processing buffer {"connection_id":172594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e042ad0012d34c54006aa42a80006011f22..."} 
[2026-09-05 01:36:13] local.INFO: Packet analysis {"connection_id":172594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e04"} 
[2026-09-05 01:36:13] local.INFO: Extracted packet for processing {"connection_id":172594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e04"} 
[2026-09-05 01:36:13] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869276416001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:36:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788552162000,"timestamp_ms":1788552162000,"timestamp_seconds":1788552162,"priority":1,"record_length":96,"hex_timestamp":"000001a06e042ad0"} 
[2026-09-05 01:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":172594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":172594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":172594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:36: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-09-05 01:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869276416001,"66":25702,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869276416001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:36:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869276416001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":172594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:36:13] local.INFO: GPS data processed {"connection_id":172594,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:36:13] local.INFO: Acknowledgment sent {"connection_id":172594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:36:58] local.INFO: TCP Data received {"connection_id":172595,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:36:58] local.INFO: Processing buffer {"connection_id":172595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:36:58] local.INFO: IMEI packet received {"connection_id":172595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":172595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:37:03] local.INFO: TCP Data received {"connection_id":172595,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:37:03] local.INFO: Processing buffer {"connection_id":172595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:37:03] local.INFO: IMEI packet received {"connection_id":172595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":172595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:37:04] local.INFO: TCP Data received {"connection_id":172595,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e042ad0012d34c54006aa42a80006011f22..."} 
[2026-09-05 01:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e042ad0012d34c54006aa42a80006011f22..."} 
[2026-09-05 01:37:04] local.INFO: Processing buffer {"connection_id":172595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e042ad0012d34c54006aa42a80006011f22..."} 
[2026-09-05 01:37:04] local.INFO: Packet analysis {"connection_id":172595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e04"} 
[2026-09-05 01:37:04] local.INFO: Extracted packet for processing {"connection_id":172595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e04"} 
[2026-09-05 01:37:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869276416001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:37:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788552162000,"timestamp_ms":1788552162000,"timestamp_seconds":1788552162,"priority":1,"record_length":96,"hex_timestamp":"000001a06e042ad0"} 
[2026-09-05 01:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:37: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-09-05 01: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":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:37: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-09-05 01: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-09-05 01:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:37: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-09-05 01:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869276416001,"66":25702,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869276416001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:37:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869276416001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":172595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:37:04] local.INFO: GPS data processed {"connection_id":172595,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:37:04] local.INFO: Acknowledgment sent {"connection_id":172595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:37:35] local.INFO: TCP Data received {"connection_id":172595,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e042ad0012d34c54006aa42a80006011f22..."} 
[2026-09-05 01:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e042ad0012d34c54006aa42a80006011f22..."} 
[2026-09-05 01:37:35] local.INFO: Processing buffer {"connection_id":172595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e042ad0012d34c54006aa42a80006011f22..."} 
[2026-09-05 01:37:35] local.INFO: Packet analysis {"connection_id":172595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e04"} 
[2026-09-05 01:37:35] local.INFO: Extracted packet for processing {"connection_id":172595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e04"} 
[2026-09-05 01:37:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869276416001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:37:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788552162000,"timestamp_ms":1788552162000,"timestamp_seconds":1788552162,"priority":1,"record_length":96,"hex_timestamp":"000001a06e042ad0"} 
[2026-09-05 01:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:37:35] 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-09-05 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:37:35] 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-09-05 01:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869276416001,"66":25702,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869276416001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:37:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869276416001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":172595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:37:35] local.INFO: GPS data processed {"connection_id":172595,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:37:35] local.INFO: Acknowledgment sent {"connection_id":172595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:37:58] local.INFO: TCP Data received {"connection_id":172596,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:37:58] local.INFO: Processing buffer {"connection_id":172596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:37:58] local.INFO: IMEI packet received {"connection_id":172596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":172596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:38:03] local.INFO: TCP Data received {"connection_id":172596,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:38:03] local.INFO: Processing buffer {"connection_id":172596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:38:03] local.INFO: IMEI packet received {"connection_id":172596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":172596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:38:04] local.INFO: TCP Data received {"connection_id":172596,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e042ad0012d34c54006aa42a80006011f22..."} 
[2026-09-05 01:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e042ad0012d34c54006aa42a80006011f22..."} 
[2026-09-05 01:38:04] local.INFO: Processing buffer {"connection_id":172596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e042ad0012d34c54006aa42a80006011f22..."} 
[2026-09-05 01:38:04] local.INFO: Packet analysis {"connection_id":172596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e04"} 
[2026-09-05 01:38:04] local.INFO: Extracted packet for processing {"connection_id":172596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e04"} 
[2026-09-05 01:38:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869276416001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:38:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788552162000,"timestamp_ms":1788552162000,"timestamp_seconds":1788552162,"priority":1,"record_length":96,"hex_timestamp":"000001a06e042ad0"} 
[2026-09-05 01:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01: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-09-05 01: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":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:38: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-09-05 01: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-09-05 01:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:38: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-09-05 01:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869276416001,"66":25702,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869276416001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:38:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869276416001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":172596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:38:04] local.INFO: GPS data processed {"connection_id":172596,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:38:04] local.INFO: Acknowledgment sent {"connection_id":172596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:38:35] local.INFO: TCP Data received {"connection_id":172596,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e08c298012d34c54006aa42a80006011f1f..."} 
[2026-09-05 01:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e08c298012d34c54006aa42a80006011f1f..."} 
[2026-09-05 01:38:35] local.INFO: Processing buffer {"connection_id":172596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e08c298012d34c54006aa42a80006011f1f..."} 
[2026-09-05 01:38:35] local.INFO: Packet analysis {"connection_id":172596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e08"} 
[2026-09-05 01:38:35] local.INFO: Extracted packet for processing {"connection_id":172596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e08"} 
[2026-09-05 01:38:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869353472001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:38:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788552463000,"timestamp_ms":1788552463000,"timestamp_seconds":1788552463,"priority":1,"record_length":96,"hex_timestamp":"000001a06e08c298"} 
[2026-09-05 01:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:38:35] 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-09-05 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 01:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:38:35] 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-09-05 01:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869353472001,"66":25680,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869353472001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:38:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869353472001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":172596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:38:35] local.INFO: GPS data processed {"connection_id":172596,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:38:35] local.INFO: Acknowledgment sent {"connection_id":172596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:38:57] local.INFO: TCP Data received {"connection_id":171485,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:38:57] local.INFO: Processing buffer {"connection_id":171485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:38:57] local.INFO: IMEI packet received {"connection_id":171485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":171485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:39:03] local.INFO: TCP Data received {"connection_id":171485,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:39:03] local.INFO: Processing buffer {"connection_id":171485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:39:03] local.INFO: IMEI packet received {"connection_id":171485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":171485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:39:04] local.INFO: TCP Data received {"connection_id":171485,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e08c298012d34c54006aa42a80006011f1f..."} 
[2026-09-05 01:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e08c298012d34c54006aa42a80006011f1f..."} 
[2026-09-05 01:39:04] local.INFO: Processing buffer {"connection_id":171485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e08c298012d34c54006aa42a80006011f1f..."} 
[2026-09-05 01:39:04] local.INFO: Packet analysis {"connection_id":171485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e08"} 
[2026-09-05 01:39:04] local.INFO: Extracted packet for processing {"connection_id":171485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e08"} 
[2026-09-05 01:39:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869353472001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:39:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788552463000,"timestamp_ms":1788552463000,"timestamp_seconds":1788552463,"priority":1,"record_length":96,"hex_timestamp":"000001a06e08c298"} 
[2026-09-05 01:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:39: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-09-05 01:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 01:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:39: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-09-05 01:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869353472001,"66":25680,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869353472001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:39:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869353472001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":171485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:39:04] local.INFO: GPS data processed {"connection_id":171485,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:39:04] local.INFO: Acknowledgment sent {"connection_id":171485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:39:35] local.INFO: TCP Data received {"connection_id":171485,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e08c298012d34c54006aa42a80006011f1f..."} 
[2026-09-05 01:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e08c298012d34c54006aa42a80006011f1f..."} 
[2026-09-05 01:39:35] local.INFO: Processing buffer {"connection_id":171485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e08c298012d34c54006aa42a80006011f1f..."} 
[2026-09-05 01:39:35] local.INFO: Packet analysis {"connection_id":171485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e08"} 
[2026-09-05 01:39:35] local.INFO: Extracted packet for processing {"connection_id":171485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e08"} 
[2026-09-05 01:39:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869353472001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:39:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788552463000,"timestamp_ms":1788552463000,"timestamp_seconds":1788552463,"priority":1,"record_length":96,"hex_timestamp":"000001a06e08c298"} 
[2026-09-05 01:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:39:35] 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-09-05 01:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 01:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:39:35] 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-09-05 01:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869353472001,"66":25680,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869353472001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:39:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869353472001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":171485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:39:35] local.INFO: GPS data processed {"connection_id":171485,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:39:35] local.INFO: Acknowledgment sent {"connection_id":171485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:39:58] local.INFO: TCP Data received {"connection_id":173872,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:39:58] local.INFO: Processing buffer {"connection_id":173872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:39:58] local.INFO: IMEI packet received {"connection_id":173872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":173872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:40:03] local.INFO: TCP Data received {"connection_id":173872,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:40:03] local.INFO: Processing buffer {"connection_id":173872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:40:03] local.INFO: IMEI packet received {"connection_id":173872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":173872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:40:04] local.INFO: TCP Data received {"connection_id":173872,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e08c298012d34c54006aa42a80006011f1f..."} 
[2026-09-05 01:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e08c298012d34c54006aa42a80006011f1f..."} 
[2026-09-05 01:40:04] local.INFO: Processing buffer {"connection_id":173872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e08c298012d34c54006aa42a80006011f1f..."} 
[2026-09-05 01:40:04] local.INFO: Packet analysis {"connection_id":173872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e08"} 
[2026-09-05 01:40:04] local.INFO: Extracted packet for processing {"connection_id":173872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e08"} 
[2026-09-05 01:40:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 01:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869353472001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:40:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788552463000,"timestamp_ms":1788552463000,"timestamp_seconds":1788552463,"priority":1,"record_length":96,"hex_timestamp":"000001a06e08c298"} 
[2026-09-05 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-09-05 01:40: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-09-05 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 01:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 01:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:40: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-09-05 01:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869353472001,"66":25680,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869353472001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:40:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869353472001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":173872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:40:04] local.INFO: GPS data processed {"connection_id":173872,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:40:04] local.INFO: Acknowledgment sent {"connection_id":173872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:40:35] local.INFO: TCP Data received {"connection_id":173872,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e08c298012d34c54006aa42a80006011f1f..."} 
[2026-09-05 01:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e08c298012d34c54006aa42a80006011f1f..."} 
[2026-09-05 01:40:35] local.INFO: Processing buffer {"connection_id":173872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e08c298012d34c54006aa42a80006011f1f..."} 
[2026-09-05 01:40:35] local.INFO: Packet analysis {"connection_id":173872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e08"} 
[2026-09-05 01:40:35] local.INFO: Extracted packet for processing {"connection_id":173872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e08"} 
[2026-09-05 01:40:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869353472001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:40:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788552463000,"timestamp_ms":1788552463000,"timestamp_seconds":1788552463,"priority":1,"record_length":96,"hex_timestamp":"000001a06e08c298"} 
[2026-09-05 01:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:40:35] 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-09-05 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 01:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:40:35] 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-09-05 01:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869353472001,"66":25680,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869353472001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:40:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869353472001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":173872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:40:35] local.INFO: GPS data processed {"connection_id":173872,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:40:35] local.INFO: Acknowledgment sent {"connection_id":173872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:41:03] local.INFO: TCP Data received {"connection_id":173873,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:41:03] local.INFO: Processing buffer {"connection_id":173873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:41:03] local.INFO: IMEI packet received {"connection_id":173873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":173873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:41:08] local.INFO: TCP Data received {"connection_id":173873,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:41:08] local.INFO: Processing buffer {"connection_id":173873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:41:08] local.INFO: IMEI packet received {"connection_id":173873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":173873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:41:09] local.INFO: TCP Data received {"connection_id":173873,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e08c298012d34c54006aa42a80006011f1f..."} 
[2026-09-05 01:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e08c298012d34c54006aa42a80006011f1f..."} 
[2026-09-05 01:41:09] local.INFO: Processing buffer {"connection_id":173873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e08c298012d34c54006aa42a80006011f1f..."} 
[2026-09-05 01:41:09] local.INFO: Packet analysis {"connection_id":173873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e08"} 
[2026-09-05 01:41:09] local.INFO: Extracted packet for processing {"connection_id":173873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e08"} 
[2026-09-05 01:41:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869353472001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:41:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788552463000,"timestamp_ms":1788552463000,"timestamp_seconds":1788552463,"priority":1,"record_length":96,"hex_timestamp":"000001a06e08c298"} 
[2026-09-05 01:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:41: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-09-05 01:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 01:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:41:09] 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-09-05 01:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869353472001,"66":25680,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869353472001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:41:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869353472001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":173873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:41:09] local.INFO: GPS data processed {"connection_id":173873,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:41:09] local.INFO: Acknowledgment sent {"connection_id":173873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:41:12] local.INFO: TCP Data received {"connection_id":172597,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 01:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172597,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 01:41:12] local.INFO: Processing buffer {"connection_id":172597,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 01:41:12] local.INFO: IMEI packet received {"connection_id":172597,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 01:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":172597,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:41:13] local.INFO: TCP Data received {"connection_id":173873,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e08c298012d34c54006aa42a80006011f1f..."} 
[2026-09-05 01:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e08c298012d34c54006aa42a80006011f1f..."} 
[2026-09-05 01:41:13] local.INFO: Processing buffer {"connection_id":173873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e08c298012d34c54006aa42a80006011f1f..."} 
[2026-09-05 01:41:13] local.INFO: Packet analysis {"connection_id":173873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e08"} 
[2026-09-05 01:41:13] local.INFO: Extracted packet for processing {"connection_id":173873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e08"} 
[2026-09-05 01:41:13] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869353472001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:41:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788552463000,"timestamp_ms":1788552463000,"timestamp_seconds":1788552463,"priority":1,"record_length":96,"hex_timestamp":"000001a06e08c298"} 
[2026-09-05 01:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 01:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":173873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":173873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":173873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:41: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-09-05 01:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869353472001,"66":25680,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869353472001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:41:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869353472001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":173873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:41:13] local.INFO: GPS data processed {"connection_id":173873,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:41:13] local.INFO: Acknowledgment sent {"connection_id":173873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:41:58] local.INFO: TCP Data received {"connection_id":173874,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:41:58] local.INFO: Processing buffer {"connection_id":173874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:41:58] local.INFO: IMEI packet received {"connection_id":173874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":173874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:42:03] local.INFO: TCP Data received {"connection_id":173874,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:42:03] local.INFO: Processing buffer {"connection_id":173874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:42:03] local.INFO: IMEI packet received {"connection_id":173874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":173874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:42:04] local.INFO: TCP Data received {"connection_id":173874,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e08c298012d34c54006aa42a80006011f1f..."} 
[2026-09-05 01:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e08c298012d34c54006aa42a80006011f1f..."} 
[2026-09-05 01:42:04] local.INFO: Processing buffer {"connection_id":173874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e08c298012d34c54006aa42a80006011f1f..."} 
[2026-09-05 01:42:04] local.INFO: Packet analysis {"connection_id":173874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e08"} 
[2026-09-05 01:42:04] local.INFO: Extracted packet for processing {"connection_id":173874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e08"} 
[2026-09-05 01:42:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869353472001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:42:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788552463000,"timestamp_ms":1788552463000,"timestamp_seconds":1788552463,"priority":1,"record_length":96,"hex_timestamp":"000001a06e08c298"} 
[2026-09-05 01:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:42: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-09-05 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 01:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:42: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-09-05 01:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869353472001,"66":25680,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869353472001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:42:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869353472001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":173874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:42:04] local.INFO: GPS data processed {"connection_id":173874,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:42:04] local.INFO: Acknowledgment sent {"connection_id":173874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:42:35] local.INFO: TCP Data received {"connection_id":173874,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e08c298012d34c54006aa42a80006011f1f..."} 
[2026-09-05 01:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e08c298012d34c54006aa42a80006011f1f..."} 
[2026-09-05 01:42:35] local.INFO: Processing buffer {"connection_id":173874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e08c298012d34c54006aa42a80006011f1f..."} 
[2026-09-05 01:42:35] local.INFO: Packet analysis {"connection_id":173874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e08"} 
[2026-09-05 01:42:35] local.INFO: Extracted packet for processing {"connection_id":173874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e08"} 
[2026-09-05 01:42:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869353472001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:42:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788552463000,"timestamp_ms":1788552463000,"timestamp_seconds":1788552463,"priority":1,"record_length":96,"hex_timestamp":"000001a06e08c298"} 
[2026-09-05 01:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:42:35] 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-09-05 01:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 01:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:42:35] 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-09-05 01:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869353472001,"66":25680,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869353472001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:42:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869353472001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":173874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:42:35] local.INFO: GPS data processed {"connection_id":173874,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:42:35] local.INFO: Acknowledgment sent {"connection_id":173874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:43:00] local.INFO: TCP Data received {"connection_id":171183,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:43:00] local.INFO: Processing buffer {"connection_id":171183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:43:00] local.INFO: IMEI packet received {"connection_id":171183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":171183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:43:02] local.INFO: TCP Data received {"connection_id":171183,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:43:02] local.INFO: Processing buffer {"connection_id":171183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:43:02] local.INFO: IMEI packet received {"connection_id":171183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":171183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:43:03] local.INFO: TCP Data received {"connection_id":171183,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e08c298012d34c54006aa42a80006011f1f..."} 
[2026-09-05 01:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e08c298012d34c54006aa42a80006011f1f..."} 
[2026-09-05 01:43:03] local.INFO: Processing buffer {"connection_id":171183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e08c298012d34c54006aa42a80006011f1f..."} 
[2026-09-05 01:43:03] local.INFO: Packet analysis {"connection_id":171183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e08"} 
[2026-09-05 01:43:03] local.INFO: Extracted packet for processing {"connection_id":171183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e08"} 
[2026-09-05 01:43:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869353472001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:43:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788552463000,"timestamp_ms":1788552463000,"timestamp_seconds":1788552463,"priority":1,"record_length":96,"hex_timestamp":"000001a06e08c298"} 
[2026-09-05 01:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:43: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-09-05 01:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 01:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:43: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-09-05 01:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869353472001,"66":25680,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869353472001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:43:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869353472001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":171183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:43:03] local.INFO: GPS data processed {"connection_id":171183,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:43:03] local.INFO: Acknowledgment sent {"connection_id":171183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:43:08] local.INFO: TCP Data received {"connection_id":171183,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e08c298012d34c54006aa42a80006011f1f..."} 
[2026-09-05 01:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e08c298012d34c54006aa42a80006011f1f..."} 
[2026-09-05 01:43:08] local.INFO: Processing buffer {"connection_id":171183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e08c298012d34c54006aa42a80006011f1f..."} 
[2026-09-05 01:43:08] local.INFO: Packet analysis {"connection_id":171183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e08"} 
[2026-09-05 01:43:08] local.INFO: Extracted packet for processing {"connection_id":171183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e08"} 
[2026-09-05 01:43:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869353472001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:43:08] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788552463000,"timestamp_ms":1788552463000,"timestamp_seconds":1788552463,"priority":1,"record_length":96,"hex_timestamp":"000001a06e08c298"} 
[2026-09-05 01:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:43: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-09-05 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 01:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:43: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-09-05 01:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869353472001,"66":25680,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869353472001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:43:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869353472001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":171183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:43:08] local.INFO: GPS data processed {"connection_id":171183,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:43:08] local.INFO: Acknowledgment sent {"connection_id":171183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:43:39] local.INFO: TCP Data received {"connection_id":171183,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e0d5a60012d34c54006aa42a80006011f1c..."} 
[2026-09-05 01:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e0d5a60012d34c54006aa42a80006011f1c..."} 
[2026-09-05 01:43:39] local.INFO: Processing buffer {"connection_id":171183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e0d5a60012d34c54006aa42a80006011f1c..."} 
[2026-09-05 01:43:39] local.INFO: Packet analysis {"connection_id":171183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e0d"} 
[2026-09-05 01:43:39] local.INFO: Extracted packet for processing {"connection_id":171183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e0d"} 
[2026-09-05 01:43:39] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":28,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869430528001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:43:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788552764000,"timestamp_ms":1788552764000,"timestamp_seconds":1788552764,"priority":1,"record_length":96,"hex_timestamp":"000001a06e0d5a60"} 
[2026-09-05 01:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:43: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-09-05 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 01:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:43:39] 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-09-05 01:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869430528001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869430528001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:43:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869430528001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":171183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:43:39] local.INFO: GPS data processed {"connection_id":171183,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:43:39] local.INFO: Acknowledgment sent {"connection_id":171183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:43:57] local.INFO: TCP Data received {"connection_id":171184,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:43:57] local.INFO: Processing buffer {"connection_id":171184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:43:57] local.INFO: IMEI packet received {"connection_id":171184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":171184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:44:03] local.INFO: TCP Data received {"connection_id":171184,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:44:03] local.INFO: Processing buffer {"connection_id":171184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:44:03] local.INFO: IMEI packet received {"connection_id":171184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":171184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:44:04] local.INFO: TCP Data received {"connection_id":171184,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e0d5a60012d34c54006aa42a80006011f1c..."} 
[2026-09-05 01:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e0d5a60012d34c54006aa42a80006011f1c..."} 
[2026-09-05 01:44:04] local.INFO: Processing buffer {"connection_id":171184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e0d5a60012d34c54006aa42a80006011f1c..."} 
[2026-09-05 01:44:04] local.INFO: Packet analysis {"connection_id":171184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e0d"} 
[2026-09-05 01:44:04] local.INFO: Extracted packet for processing {"connection_id":171184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e0d"} 
[2026-09-05 01:44:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":28,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869430528001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:44:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788552764000,"timestamp_ms":1788552764000,"timestamp_seconds":1788552764,"priority":1,"record_length":96,"hex_timestamp":"000001a06e0d5a60"} 
[2026-09-05 01:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:44: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-09-05 01:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 01:44: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-09-05 01: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-09-05 01:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:44: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-09-05 01:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869430528001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869430528001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:44:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869430528001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":171184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:44:04] local.INFO: GPS data processed {"connection_id":171184,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:44:04] local.INFO: Acknowledgment sent {"connection_id":171184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:44:35] local.INFO: TCP Data received {"connection_id":171184,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e0d5a60012d34c54006aa42a80006011f1c..."} 
[2026-09-05 01:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e0d5a60012d34c54006aa42a80006011f1c..."} 
[2026-09-05 01:44:35] local.INFO: Processing buffer {"connection_id":171184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e0d5a60012d34c54006aa42a80006011f1c..."} 
[2026-09-05 01:44:35] local.INFO: Packet analysis {"connection_id":171184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e0d"} 
[2026-09-05 01:44:35] local.INFO: Extracted packet for processing {"connection_id":171184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e0d"} 
[2026-09-05 01:44:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":28,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869430528001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:44:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788552764000,"timestamp_ms":1788552764000,"timestamp_seconds":1788552764,"priority":1,"record_length":96,"hex_timestamp":"000001a06e0d5a60"} 
[2026-09-05 01:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:44:35] 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-09-05 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 01:44:35] 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-09-05 01: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-09-05 01:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:44:35] 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-09-05 01:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869430528001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869430528001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:44:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869430528001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":171184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:44:35] local.INFO: GPS data processed {"connection_id":171184,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:44:35] local.INFO: Acknowledgment sent {"connection_id":171184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:44:57] local.INFO: TCP Data received {"connection_id":171185,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:44:57] local.INFO: Processing buffer {"connection_id":171185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:44:57] local.INFO: IMEI packet received {"connection_id":171185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":171185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:45:03] local.INFO: TCP Data received {"connection_id":171185,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:45:03] local.INFO: Processing buffer {"connection_id":171185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:45:03] local.INFO: IMEI packet received {"connection_id":171185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":171185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:45:04] local.INFO: TCP Data received {"connection_id":171185,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e0d5a60012d34c54006aa42a80006011f1c..."} 
[2026-09-05 01:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e0d5a60012d34c54006aa42a80006011f1c..."} 
[2026-09-05 01:45:04] local.INFO: Processing buffer {"connection_id":171185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e0d5a60012d34c54006aa42a80006011f1c..."} 
[2026-09-05 01:45:04] local.INFO: Packet analysis {"connection_id":171185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e0d"} 
[2026-09-05 01:45:04] local.INFO: Extracted packet for processing {"connection_id":171185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e0d"} 
[2026-09-05 01:45:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":28,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869430528001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:45:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788552764000,"timestamp_ms":1788552764000,"timestamp_seconds":1788552764,"priority":1,"record_length":96,"hex_timestamp":"000001a06e0d5a60"} 
[2026-09-05 01:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:45: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-09-05 01:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 01:45: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-09-05 01: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-09-05 01:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:45: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-09-05 01:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869430528001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869430528001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:45:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869430528001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":171185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:45:04] local.INFO: GPS data processed {"connection_id":171185,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:45:04] local.INFO: Acknowledgment sent {"connection_id":171185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:45:35] local.INFO: TCP Data received {"connection_id":171185,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e0d5a60012d34c54006aa42a80006011f1c..."} 
[2026-09-05 01:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e0d5a60012d34c54006aa42a80006011f1c..."} 
[2026-09-05 01:45:35] local.INFO: Processing buffer {"connection_id":171185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e0d5a60012d34c54006aa42a80006011f1c..."} 
[2026-09-05 01:45:35] local.INFO: Packet analysis {"connection_id":171185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e0d"} 
[2026-09-05 01:45:35] local.INFO: Extracted packet for processing {"connection_id":171185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e0d"} 
[2026-09-05 01:45:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":28,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869430528001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:45:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788552764000,"timestamp_ms":1788552764000,"timestamp_seconds":1788552764,"priority":1,"record_length":96,"hex_timestamp":"000001a06e0d5a60"} 
[2026-09-05 01:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:45:35] 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-09-05 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 01:45:35] 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-09-05 01: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-09-05 01:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:45:35] 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-09-05 01:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869430528001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869430528001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:45:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869430528001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":171185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:45:35] local.INFO: GPS data processed {"connection_id":171185,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:45:35] local.INFO: Acknowledgment sent {"connection_id":171185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:45:57] local.INFO: TCP Data received {"connection_id":171186,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:45:57] local.INFO: Processing buffer {"connection_id":171186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:45:57] local.INFO: IMEI packet received {"connection_id":171186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":171186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:46:03] local.INFO: TCP Data received {"connection_id":171186,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:46:03] local.INFO: Processing buffer {"connection_id":171186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:46:03] local.INFO: IMEI packet received {"connection_id":171186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":171186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:46:04] local.INFO: TCP Data received {"connection_id":171186,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e0d5a60012d34c54006aa42a80006011f1c..."} 
[2026-09-05 01:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e0d5a60012d34c54006aa42a80006011f1c..."} 
[2026-09-05 01:46:04] local.INFO: Processing buffer {"connection_id":171186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e0d5a60012d34c54006aa42a80006011f1c..."} 
[2026-09-05 01:46:04] local.INFO: Packet analysis {"connection_id":171186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e0d"} 
[2026-09-05 01:46:04] local.INFO: Extracted packet for processing {"connection_id":171186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e0d"} 
[2026-09-05 01:46:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":28,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869430528001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:46:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788552764000,"timestamp_ms":1788552764000,"timestamp_seconds":1788552764,"priority":1,"record_length":96,"hex_timestamp":"000001a06e0d5a60"} 
[2026-09-05 01:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:46: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-09-05 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 01:46: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-09-05 01: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-09-05 01:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:46: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-09-05 01:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869430528001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869430528001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:46:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869430528001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":171186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:46:04] local.INFO: GPS data processed {"connection_id":171186,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:46:04] local.INFO: Acknowledgment sent {"connection_id":171186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:46:35] local.INFO: TCP Data received {"connection_id":171186,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e0d5a60012d34c54006aa42a80006011f1c..."} 
[2026-09-05 01:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e0d5a60012d34c54006aa42a80006011f1c..."} 
[2026-09-05 01:46:35] local.INFO: Processing buffer {"connection_id":171186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e0d5a60012d34c54006aa42a80006011f1c..."} 
[2026-09-05 01:46:35] local.INFO: Packet analysis {"connection_id":171186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e0d"} 
[2026-09-05 01:46:35] local.INFO: Extracted packet for processing {"connection_id":171186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e0d"} 
[2026-09-05 01:46:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":28,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869430528001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:46:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788552764000,"timestamp_ms":1788552764000,"timestamp_seconds":1788552764,"priority":1,"record_length":96,"hex_timestamp":"000001a06e0d5a60"} 
[2026-09-05 01:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:46:35] 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-09-05 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 01:46:35] 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-09-05 01: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-09-05 01:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:46:35] 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-09-05 01:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869430528001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869430528001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:46:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869430528001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":171186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:46:35] local.INFO: GPS data processed {"connection_id":171186,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:46:35] local.INFO: Acknowledgment sent {"connection_id":171186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:46:46] local.INFO: TCP Data received {"connection_id":173875,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 01:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173875,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 01:46:46] local.INFO: Processing buffer {"connection_id":173875,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 01:46:46] local.INFO: IMEI packet received {"connection_id":173875,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 01:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":173875,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:47:03] local.INFO: TCP Data received {"connection_id":171486,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:47:03] local.INFO: Processing buffer {"connection_id":171486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:47:03] local.INFO: IMEI packet received {"connection_id":171486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":171486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:47:08] local.INFO: TCP Data received {"connection_id":171486,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:47:08] local.INFO: Processing buffer {"connection_id":171486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:47:08] local.INFO: IMEI packet received {"connection_id":171486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":171486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:47:09] local.INFO: TCP Data received {"connection_id":171486,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e0d5a60012d34c54006aa42a80006011f1c..."} 
[2026-09-05 01:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e0d5a60012d34c54006aa42a80006011f1c..."} 
[2026-09-05 01:47:09] local.INFO: Processing buffer {"connection_id":171486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e0d5a60012d34c54006aa42a80006011f1c..."} 
[2026-09-05 01:47:09] local.INFO: Packet analysis {"connection_id":171486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e0d"} 
[2026-09-05 01:47:09] local.INFO: Extracted packet for processing {"connection_id":171486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e0d"} 
[2026-09-05 01:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":28,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869430528001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:47:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788552764000,"timestamp_ms":1788552764000,"timestamp_seconds":1788552764,"priority":1,"record_length":96,"hex_timestamp":"000001a06e0d5a60"} 
[2026-09-05 01:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:47: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-09-05 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 01:47:09] 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-09-05 01: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-09-05 01:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:47:09] 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-09-05 01:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869430528001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869430528001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:47:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869430528001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":171486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:47:09] local.INFO: GPS data processed {"connection_id":171486,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:47:09] local.INFO: Acknowledgment sent {"connection_id":171486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:47:40] local.INFO: TCP Data received {"connection_id":171486,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e0d5a60012d34c54006aa42a80006011f1c..."} 
[2026-09-05 01:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e0d5a60012d34c54006aa42a80006011f1c..."} 
[2026-09-05 01:47:40] local.INFO: Processing buffer {"connection_id":171486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e0d5a60012d34c54006aa42a80006011f1c..."} 
[2026-09-05 01:47:40] local.INFO: Packet analysis {"connection_id":171486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e0d"} 
[2026-09-05 01:47:40] local.INFO: Extracted packet for processing {"connection_id":171486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e0d"} 
[2026-09-05 01:47:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":28,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:47: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-09-05 01:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869430528001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:47:40] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788552764000,"timestamp_ms":1788552764000,"timestamp_seconds":1788552764,"priority":1,"record_length":96,"hex_timestamp":"000001a06e0d5a60"} 
[2026-09-05 01:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:47: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-09-05 01:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 01:47:40] 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-09-05 01:47: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-09-05 01:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":171486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":171486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":171486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:47:40] 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-09-05 01:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869430528001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869430528001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:47:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869430528001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":171486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:47:40] local.INFO: GPS data processed {"connection_id":171486,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:47:40] local.INFO: Acknowledgment sent {"connection_id":171486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:47:58] local.INFO: TCP Data received {"connection_id":172598,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:47:58] local.INFO: Processing buffer {"connection_id":172598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:47:58] local.INFO: IMEI packet received {"connection_id":172598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":172598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:48:03] local.INFO: TCP Data received {"connection_id":172598,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:48:03] local.INFO: Processing buffer {"connection_id":172598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:48:03] local.INFO: IMEI packet received {"connection_id":172598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":172598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:48:04] local.INFO: TCP Data received {"connection_id":172598,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e0d5a60012d34c54006aa42a80006011f1c..."} 
[2026-09-05 01:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e0d5a60012d34c54006aa42a80006011f1c..."} 
[2026-09-05 01:48:04] local.INFO: Processing buffer {"connection_id":172598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e0d5a60012d34c54006aa42a80006011f1c..."} 
[2026-09-05 01:48:04] local.INFO: Packet analysis {"connection_id":172598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e0d"} 
[2026-09-05 01:48:04] local.INFO: Extracted packet for processing {"connection_id":172598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e0d"} 
[2026-09-05 01:48:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":6,"angle":287,"satellites":28,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869430528001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:48:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788552764000,"timestamp_ms":1788552764000,"timestamp_seconds":1788552764,"priority":1,"record_length":96,"hex_timestamp":"000001a06e0d5a60"} 
[2026-09-05 01:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:48: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-09-05 01:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 01:48: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-09-05 01:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:48: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-09-05 01:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869430528001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869430528001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:48:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869430528001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":172598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:48:04] local.INFO: GPS data processed {"connection_id":172598,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:48:04] local.INFO: Acknowledgment sent {"connection_id":172598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:48:35] local.INFO: TCP Data received {"connection_id":172598,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e11f228012d34c54006aa42a80017011f1a..."} 
[2026-09-05 01:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e11f228012d34c54006aa42a80017011f1a..."} 
[2026-09-05 01:48:35] local.INFO: Processing buffer {"connection_id":172598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e11f228012d34c54006aa42a80017011f1a..."} 
[2026-09-05 01:48:35] local.INFO: Packet analysis {"connection_id":172598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e11"} 
[2026-09-05 01:48:35] local.INFO: Extracted packet for processing {"connection_id":172598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e11"} 
[2026-09-05 01:48:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":23,"angle":287,"satellites":26,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869507584001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:48:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788553065000,"timestamp_ms":1788553065000,"timestamp_seconds":1788553065,"priority":1,"record_length":96,"hex_timestamp":"000001a06e11f228"} 
[2026-09-05 01:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:48:35] 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-09-05 01:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:48:35] 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-09-05 01:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869507584001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869507584001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:48:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869507584001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":172598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:48:35] local.INFO: GPS data processed {"connection_id":172598,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:48:35] local.INFO: Acknowledgment sent {"connection_id":172598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:48:58] local.INFO: TCP Data received {"connection_id":173876,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:48:58] local.INFO: Processing buffer {"connection_id":173876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:48:58] local.INFO: IMEI packet received {"connection_id":173876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":173876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:49:03] local.INFO: TCP Data received {"connection_id":173876,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:49:03] local.INFO: Processing buffer {"connection_id":173876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:49:03] local.INFO: IMEI packet received {"connection_id":173876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":173876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:49:04] local.INFO: TCP Data received {"connection_id":173876,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e11f228012d34c54006aa42a80017011f1a..."} 
[2026-09-05 01:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e11f228012d34c54006aa42a80017011f1a..."} 
[2026-09-05 01:49:04] local.INFO: Processing buffer {"connection_id":173876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e11f228012d34c54006aa42a80017011f1a..."} 
[2026-09-05 01:49:04] local.INFO: Packet analysis {"connection_id":173876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e11"} 
[2026-09-05 01:49:04] local.INFO: Extracted packet for processing {"connection_id":173876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e11"} 
[2026-09-05 01:49:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":23,"angle":287,"satellites":26,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869507584001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:49:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788553065000,"timestamp_ms":1788553065000,"timestamp_seconds":1788553065,"priority":1,"record_length":96,"hex_timestamp":"000001a06e11f228"} 
[2026-09-05 01:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:49: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-09-05 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:49: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-09-05 01: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-09-05 01:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 01:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869507584001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869507584001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:49:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869507584001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":173876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:49:04] local.INFO: GPS data processed {"connection_id":173876,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:49:04] local.INFO: Acknowledgment sent {"connection_id":173876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:49:35] local.INFO: TCP Data received {"connection_id":173876,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e11f228012d34c54006aa42a80017011f1a..."} 
[2026-09-05 01:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e11f228012d34c54006aa42a80017011f1a..."} 
[2026-09-05 01:49:35] local.INFO: Processing buffer {"connection_id":173876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e11f228012d34c54006aa42a80017011f1a..."} 
[2026-09-05 01:49:35] local.INFO: Packet analysis {"connection_id":173876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e11"} 
[2026-09-05 01:49:35] local.INFO: Extracted packet for processing {"connection_id":173876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e11"} 
[2026-09-05 01:49:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":23,"angle":287,"satellites":26,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869507584001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:49:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788553065000,"timestamp_ms":1788553065000,"timestamp_seconds":1788553065,"priority":1,"record_length":96,"hex_timestamp":"000001a06e11f228"} 
[2026-09-05 01:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:49:35] 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-09-05 01:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:49:35] 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-09-05 01:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869507584001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869507584001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:49:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869507584001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":173876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:49:35] local.INFO: GPS data processed {"connection_id":173876,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:49:35] local.INFO: Acknowledgment sent {"connection_id":173876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:49:57] local.INFO: TCP Data received {"connection_id":171487,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:49:57] local.INFO: Processing buffer {"connection_id":171487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:49:57] local.INFO: IMEI packet received {"connection_id":171487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":171487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:50:03] local.INFO: TCP Data received {"connection_id":171487,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:50:03] local.INFO: Processing buffer {"connection_id":171487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:50:03] local.INFO: IMEI packet received {"connection_id":171487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":171487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:50:03] local.INFO: TCP Data received {"connection_id":171487,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e11f228012d34c54006aa42a80017011f1a..."} 
[2026-09-05 01:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e11f228012d34c54006aa42a80017011f1a..."} 
[2026-09-05 01:50:03] local.INFO: Processing buffer {"connection_id":171487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e11f228012d34c54006aa42a80017011f1a..."} 
[2026-09-05 01:50:03] local.INFO: Packet analysis {"connection_id":171487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e11"} 
[2026-09-05 01:50:03] local.INFO: Extracted packet for processing {"connection_id":171487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e11"} 
[2026-09-05 01:50:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":23,"angle":287,"satellites":26,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869507584001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:50:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788553065000,"timestamp_ms":1788553065000,"timestamp_seconds":1788553065,"priority":1,"record_length":96,"hex_timestamp":"000001a06e11f228"} 
[2026-09-05 01:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:50: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-09-05 01:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:50: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-09-05 01:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869507584001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869507584001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:50:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869507584001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":171487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:50:03] local.INFO: GPS data processed {"connection_id":171487,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:50:03] local.INFO: Acknowledgment sent {"connection_id":171487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:50:35] local.INFO: TCP Data received {"connection_id":171487,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e11f228012d34c54006aa42a80017011f1a..."} 
[2026-09-05 01:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e11f228012d34c54006aa42a80017011f1a..."} 
[2026-09-05 01:50:35] local.INFO: Processing buffer {"connection_id":171487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e11f228012d34c54006aa42a80017011f1a..."} 
[2026-09-05 01:50:35] local.INFO: Packet analysis {"connection_id":171487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e11"} 
[2026-09-05 01:50:35] local.INFO: Extracted packet for processing {"connection_id":171487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e11"} 
[2026-09-05 01:50:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":23,"angle":287,"satellites":26,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869507584001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:50:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788553065000,"timestamp_ms":1788553065000,"timestamp_seconds":1788553065,"priority":1,"record_length":96,"hex_timestamp":"000001a06e11f228"} 
[2026-09-05 01:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:50:35] 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-09-05 01:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:50:35] 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-09-05 01:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869507584001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869507584001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:50:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869507584001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":171487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:50:35] local.INFO: GPS data processed {"connection_id":171487,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:50:35] local.INFO: Acknowledgment sent {"connection_id":171487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:51:03] local.INFO: TCP Data received {"connection_id":173878,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:51:03] local.INFO: Processing buffer {"connection_id":173878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:51:03] local.INFO: IMEI packet received {"connection_id":173878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":173878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:51:08] local.INFO: TCP Data received {"connection_id":173878,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:51:08] local.INFO: Processing buffer {"connection_id":173878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:51:08] local.INFO: IMEI packet received {"connection_id":173878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":173878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:51:09] local.INFO: TCP Data received {"connection_id":173878,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e11f228012d34c54006aa42a80017011f1a..."} 
[2026-09-05 01:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e11f228012d34c54006aa42a80017011f1a..."} 
[2026-09-05 01:51:09] local.INFO: Processing buffer {"connection_id":173878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e11f228012d34c54006aa42a80017011f1a..."} 
[2026-09-05 01:51:09] local.INFO: Packet analysis {"connection_id":173878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e11"} 
[2026-09-05 01:51:09] local.INFO: Extracted packet for processing {"connection_id":173878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e11"} 
[2026-09-05 01:51:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":23,"angle":287,"satellites":26,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869507584001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:51:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788553065000,"timestamp_ms":1788553065000,"timestamp_seconds":1788553065,"priority":1,"record_length":96,"hex_timestamp":"000001a06e11f228"} 
[2026-09-05 01:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:51: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-09-05 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:51:09] 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-09-05 01:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869507584001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869507584001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:51:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869507584001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":173878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:51:09] local.INFO: GPS data processed {"connection_id":173878,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:51:09] local.INFO: Acknowledgment sent {"connection_id":173878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:51:13] local.INFO: TCP Data received {"connection_id":173878,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e11f228012d34c54006aa42a80017011f1a..."} 
[2026-09-05 01:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e11f228012d34c54006aa42a80017011f1a..."} 
[2026-09-05 01:51:13] local.INFO: Processing buffer {"connection_id":173878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e11f228012d34c54006aa42a80017011f1a..."} 
[2026-09-05 01:51:13] local.INFO: Packet analysis {"connection_id":173878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e11"} 
[2026-09-05 01:51:13] local.INFO: Extracted packet for processing {"connection_id":173878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e11"} 
[2026-09-05 01:51:13] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":23,"angle":287,"satellites":26,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869507584001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:51:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788553065000,"timestamp_ms":1788553065000,"timestamp_seconds":1788553065,"priority":1,"record_length":96,"hex_timestamp":"000001a06e11f228"} 
[2026-09-05 01:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":173878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":173878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":173878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:51: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-09-05 01:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869507584001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869507584001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:51:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869507584001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":173878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:51:13] local.INFO: GPS data processed {"connection_id":173878,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:51:13] local.INFO: Acknowledgment sent {"connection_id":173878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:51:58] local.INFO: TCP Data received {"connection_id":173879,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:51:58] local.INFO: Processing buffer {"connection_id":173879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:51:58] local.INFO: IMEI packet received {"connection_id":173879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":173879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:52:03] local.INFO: TCP Data received {"connection_id":173879,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:52:03] local.INFO: Processing buffer {"connection_id":173879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:52:03] local.INFO: IMEI packet received {"connection_id":173879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":173879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:52:04] local.INFO: TCP Data received {"connection_id":173879,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e11f228012d34c54006aa42a80017011f1a..."} 
[2026-09-05 01:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e11f228012d34c54006aa42a80017011f1a..."} 
[2026-09-05 01:52:04] local.INFO: Processing buffer {"connection_id":173879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e11f228012d34c54006aa42a80017011f1a..."} 
[2026-09-05 01:52:04] local.INFO: Packet analysis {"connection_id":173879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e11"} 
[2026-09-05 01:52:04] local.INFO: Extracted packet for processing {"connection_id":173879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e11"} 
[2026-09-05 01:52:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":23,"angle":287,"satellites":26,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869507584001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:52:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788553065000,"timestamp_ms":1788553065000,"timestamp_seconds":1788553065,"priority":1,"record_length":96,"hex_timestamp":"000001a06e11f228"} 
[2026-09-05 01:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:52: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-09-05 01:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:52: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-09-05 01: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-09-05 01:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:52: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-09-05 01:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869507584001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869507584001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:52:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869507584001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":173879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:52:04] local.INFO: GPS data processed {"connection_id":173879,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:52:04] local.INFO: Acknowledgment sent {"connection_id":173879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:52:21] local.INFO: TCP Data received {"connection_id":173877,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 01:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173877,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 01:52:21] local.INFO: Processing buffer {"connection_id":173877,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 01:52:21] local.INFO: IMEI packet received {"connection_id":173877,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 01:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":173877,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:52:35] local.INFO: TCP Data received {"connection_id":173879,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e11f228012d34c54006aa42a80017011f1a..."} 
[2026-09-05 01:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e11f228012d34c54006aa42a80017011f1a..."} 
[2026-09-05 01:52:35] local.INFO: Processing buffer {"connection_id":173879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e11f228012d34c54006aa42a80017011f1a..."} 
[2026-09-05 01:52:35] local.INFO: Packet analysis {"connection_id":173879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e11"} 
[2026-09-05 01:52:35] local.INFO: Extracted packet for processing {"connection_id":173879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e11"} 
[2026-09-05 01:52:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":23,"angle":287,"satellites":26,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869507584001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:52:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788553065000,"timestamp_ms":1788553065000,"timestamp_seconds":1788553065,"priority":1,"record_length":96,"hex_timestamp":"000001a06e11f228"} 
[2026-09-05 01:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:52:35] 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-09-05 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:52:35] 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-09-05 01:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869507584001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869507584001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:52:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869507584001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":173879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:52:35] local.INFO: GPS data processed {"connection_id":173879,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:52:35] local.INFO: Acknowledgment sent {"connection_id":173879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:52:58] local.INFO: TCP Data received {"connection_id":172599,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:52:58] local.INFO: Processing buffer {"connection_id":172599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:52:58] local.INFO: IMEI packet received {"connection_id":172599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":172599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:53:03] local.INFO: TCP Data received {"connection_id":172599,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:53:03] local.INFO: Processing buffer {"connection_id":172599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:53:03] local.INFO: IMEI packet received {"connection_id":172599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":172599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:53:04] local.INFO: TCP Data received {"connection_id":172599,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e11f228012d34c54006aa42a80017011f1a..."} 
[2026-09-05 01:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e11f228012d34c54006aa42a80017011f1a..."} 
[2026-09-05 01:53:04] local.INFO: Processing buffer {"connection_id":172599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e11f228012d34c54006aa42a80017011f1a..."} 
[2026-09-05 01:53:04] local.INFO: Packet analysis {"connection_id":172599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e11"} 
[2026-09-05 01:53:04] local.INFO: Extracted packet for processing {"connection_id":172599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e11"} 
[2026-09-05 01:53:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":23,"angle":287,"satellites":26,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869507584001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:53:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788553065000,"timestamp_ms":1788553065000,"timestamp_seconds":1788553065,"priority":1,"record_length":96,"hex_timestamp":"000001a06e11f228"} 
[2026-09-05 01:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:53: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-09-05 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:53: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-09-05 01: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-09-05 01:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:53: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-09-05 01:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869507584001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869507584001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:53:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869507584001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":172599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:53:04] local.INFO: GPS data processed {"connection_id":172599,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:53:04] local.INFO: Acknowledgment sent {"connection_id":172599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:53:35] local.INFO: TCP Data received {"connection_id":172599,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e1689f0012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e1689f0012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:53:35] local.INFO: Processing buffer {"connection_id":172599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e1689f0012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:53:35] local.INFO: Packet analysis {"connection_id":172599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e16"} 
[2026-09-05 01:53:35] local.INFO: Extracted packet for processing {"connection_id":172599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e16"} 
[2026-09-05 01:53:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":21,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869584640001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:53:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788553366000,"timestamp_ms":1788553366000,"timestamp_seconds":1788553366,"priority":1,"record_length":96,"hex_timestamp":"000001a06e1689f0"} 
[2026-09-05 01:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:53:35] 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-09-05 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 01:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869584640001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869584640001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:53:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869584640001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":172599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:53:35] local.INFO: GPS data processed {"connection_id":172599,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:53:35] local.INFO: Acknowledgment sent {"connection_id":172599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:53:57] local.INFO: TCP Data received {"connection_id":171488,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:53:57] local.INFO: Processing buffer {"connection_id":171488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:53:57] local.INFO: IMEI packet received {"connection_id":171488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":171488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:54:03] local.INFO: TCP Data received {"connection_id":171488,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:54:03] local.INFO: Processing buffer {"connection_id":171488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:54:03] local.INFO: IMEI packet received {"connection_id":171488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":171488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:54:04] local.INFO: TCP Data received {"connection_id":171488,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e1689f0012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e1689f0012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:54:04] local.INFO: Processing buffer {"connection_id":171488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e1689f0012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:54:04] local.INFO: Packet analysis {"connection_id":171488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e16"} 
[2026-09-05 01:54:04] local.INFO: Extracted packet for processing {"connection_id":171488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e16"} 
[2026-09-05 01:54:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":21,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869584640001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:54:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788553366000,"timestamp_ms":1788553366000,"timestamp_seconds":1788553366,"priority":1,"record_length":96,"hex_timestamp":"000001a06e1689f0"} 
[2026-09-05 01:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:54: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-09-05 01:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:54: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-09-05 01: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-09-05 01:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:54: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-09-05 01:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869584640001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869584640001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:54:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869584640001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":171488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:54:04] local.INFO: GPS data processed {"connection_id":171488,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:54:04] local.INFO: Acknowledgment sent {"connection_id":171488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:54:35] local.INFO: TCP Data received {"connection_id":171488,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e1689f0012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e1689f0012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:54:35] local.INFO: Processing buffer {"connection_id":171488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e1689f0012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:54:35] local.INFO: Packet analysis {"connection_id":171488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e16"} 
[2026-09-05 01:54:35] local.INFO: Extracted packet for processing {"connection_id":171488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e16"} 
[2026-09-05 01:54:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":21,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869584640001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:54:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788553366000,"timestamp_ms":1788553366000,"timestamp_seconds":1788553366,"priority":1,"record_length":96,"hex_timestamp":"000001a06e1689f0"} 
[2026-09-05 01:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:54:35] 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-09-05 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 01:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869584640001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869584640001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:54:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869584640001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":171488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:54:35] local.INFO: GPS data processed {"connection_id":171488,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:54:35] local.INFO: Acknowledgment sent {"connection_id":171488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:54:57] local.INFO: TCP Data received {"connection_id":171187,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:54:57] local.INFO: Processing buffer {"connection_id":171187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:54:57] local.INFO: IMEI packet received {"connection_id":171187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":171187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:55:03] local.INFO: TCP Data received {"connection_id":171187,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:55:03] local.INFO: Processing buffer {"connection_id":171187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:55:03] local.INFO: IMEI packet received {"connection_id":171187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":171187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:55:04] local.INFO: TCP Data received {"connection_id":171187,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e1689f0012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e1689f0012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:55:04] local.INFO: Processing buffer {"connection_id":171187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e1689f0012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:55:04] local.INFO: Packet analysis {"connection_id":171187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e16"} 
[2026-09-05 01:55:04] local.INFO: Extracted packet for processing {"connection_id":171187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e16"} 
[2026-09-05 01:55:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":21,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869584640001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:55:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788553366000,"timestamp_ms":1788553366000,"timestamp_seconds":1788553366,"priority":1,"record_length":96,"hex_timestamp":"000001a06e1689f0"} 
[2026-09-05 01:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:55: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-09-05 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:55: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-09-05 01: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-09-05 01:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:55: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-09-05 01:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869584640001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869584640001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:55:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869584640001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":171187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:55:04] local.INFO: GPS data processed {"connection_id":171187,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:55:04] local.INFO: Acknowledgment sent {"connection_id":171187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:55:35] local.INFO: TCP Data received {"connection_id":171187,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e1689f0012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e1689f0012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:55:35] local.INFO: Processing buffer {"connection_id":171187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e1689f0012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:55:35] local.INFO: Packet analysis {"connection_id":171187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e16"} 
[2026-09-05 01:55:35] local.INFO: Extracted packet for processing {"connection_id":171187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e16"} 
[2026-09-05 01:55:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":21,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869584640001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:55:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788553366000,"timestamp_ms":1788553366000,"timestamp_seconds":1788553366,"priority":1,"record_length":96,"hex_timestamp":"000001a06e1689f0"} 
[2026-09-05 01:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:55:35] 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-09-05 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 01:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869584640001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869584640001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:55:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869584640001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":171187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:55:35] local.INFO: GPS data processed {"connection_id":171187,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:55:35] local.INFO: Acknowledgment sent {"connection_id":171187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:56:03] local.INFO: TCP Data received {"connection_id":173880,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:56:03] local.INFO: Processing buffer {"connection_id":173880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:56:03] local.INFO: IMEI packet received {"connection_id":173880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":173880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:56:08] local.INFO: TCP Data received {"connection_id":173880,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:56:08] local.INFO: Processing buffer {"connection_id":173880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:56:08] local.INFO: IMEI packet received {"connection_id":173880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":173880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:56:09] local.INFO: TCP Data received {"connection_id":173880,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e1689f0012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e1689f0012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:56:09] local.INFO: Processing buffer {"connection_id":173880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e1689f0012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:56:09] local.INFO: Packet analysis {"connection_id":173880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e16"} 
[2026-09-05 01:56:09] local.INFO: Extracted packet for processing {"connection_id":173880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e16"} 
[2026-09-05 01:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":21,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869584640001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:56:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788553366000,"timestamp_ms":1788553366000,"timestamp_seconds":1788553366,"priority":1,"record_length":96,"hex_timestamp":"000001a06e1689f0"} 
[2026-09-05 01:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:56: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-09-05 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:56: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-09-05 01:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869584640001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869584640001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:56:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869584640001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":173880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:56:09] local.INFO: GPS data processed {"connection_id":173880,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:56:09] local.INFO: Acknowledgment sent {"connection_id":173880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:56:13] local.INFO: TCP Data received {"connection_id":173880,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e1689f0012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e1689f0012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:56:13] local.INFO: Processing buffer {"connection_id":173880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e1689f0012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:56:13] local.INFO: Packet analysis {"connection_id":173880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e16"} 
[2026-09-05 01:56:13] local.INFO: Extracted packet for processing {"connection_id":173880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e16"} 
[2026-09-05 01:56:13] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":21,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869584640001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:56:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788553366000,"timestamp_ms":1788553366000,"timestamp_seconds":1788553366,"priority":1,"record_length":96,"hex_timestamp":"000001a06e1689f0"} 
[2026-09-05 01:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 01:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":173880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":173880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":173880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:56:13] 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-09-05 01:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869584640001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869584640001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:56:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869584640001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":173880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:56:13] local.INFO: GPS data processed {"connection_id":173880,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:56:13] local.INFO: Acknowledgment sent {"connection_id":173880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:56:58] local.INFO: TCP Data received {"connection_id":173881,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:56:58] local.INFO: Processing buffer {"connection_id":173881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:56:58] local.INFO: IMEI packet received {"connection_id":173881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":173881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:57:03] local.INFO: TCP Data received {"connection_id":173881,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:57:03] local.INFO: Processing buffer {"connection_id":173881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:57:03] local.INFO: IMEI packet received {"connection_id":173881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":173881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:57:04] local.INFO: TCP Data received {"connection_id":173881,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e1689f0012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e1689f0012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:57:04] local.INFO: Processing buffer {"connection_id":173881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e1689f0012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:57:04] local.INFO: Packet analysis {"connection_id":173881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e16"} 
[2026-09-05 01:57:04] local.INFO: Extracted packet for processing {"connection_id":173881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e16"} 
[2026-09-05 01:57:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":21,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869584640001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:57:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788553366000,"timestamp_ms":1788553366000,"timestamp_seconds":1788553366,"priority":1,"record_length":96,"hex_timestamp":"000001a06e1689f0"} 
[2026-09-05 01:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:57: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-09-05 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:57: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-09-05 01: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-09-05 01:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:57: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-09-05 01:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869584640001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869584640001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:57:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869584640001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":173881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:57:04] local.INFO: GPS data processed {"connection_id":173881,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:57:04] local.INFO: Acknowledgment sent {"connection_id":173881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:57:35] local.INFO: TCP Data received {"connection_id":173881,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e1689f0012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e1689f0012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:57:35] local.INFO: Processing buffer {"connection_id":173881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e1689f0012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:57:35] local.INFO: Packet analysis {"connection_id":173881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e16"} 
[2026-09-05 01:57:35] local.INFO: Extracted packet for processing {"connection_id":173881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e16"} 
[2026-09-05 01:57:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":21,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869584640001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:57:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788553366000,"timestamp_ms":1788553366000,"timestamp_seconds":1788553366,"priority":1,"record_length":96,"hex_timestamp":"000001a06e1689f0"} 
[2026-09-05 01:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:57:35] 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-09-05 01:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 01:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869584640001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869584640001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:57:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869584640001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":173881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:57:35] local.INFO: GPS data processed {"connection_id":173881,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:57:35] local.INFO: Acknowledgment sent {"connection_id":173881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:57:56] local.INFO: TCP Data received {"connection_id":171489,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 01:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171489,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 01:57:56] local.INFO: Processing buffer {"connection_id":171489,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 01:57:56] local.INFO: IMEI packet received {"connection_id":171489,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 01:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":171489,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:57:58] local.INFO: TCP Data received {"connection_id":172600,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:57:58] local.INFO: Processing buffer {"connection_id":172600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:57:58] local.INFO: IMEI packet received {"connection_id":172600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":172600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:58:02] local.INFO: TCP Data received {"connection_id":172600,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:58:02] local.INFO: Processing buffer {"connection_id":172600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:58:02] local.INFO: IMEI packet received {"connection_id":172600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":172600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:58:03] local.INFO: TCP Data received {"connection_id":172600,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e1689f0012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e1689f0012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:58:03] local.INFO: Processing buffer {"connection_id":172600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e1689f0012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:58:03] local.INFO: Packet analysis {"connection_id":172600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e16"} 
[2026-09-05 01:58:03] local.INFO: Extracted packet for processing {"connection_id":172600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e16"} 
[2026-09-05 01:58:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":21,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 01:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869584640001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:58:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788553366000,"timestamp_ms":1788553366000,"timestamp_seconds":1788553366,"priority":1,"record_length":96,"hex_timestamp":"000001a06e1689f0"} 
[2026-09-05 01:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:58: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-09-05 01:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 01:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:58: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-09-05 01:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869584640001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869584640001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:58:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869584640001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":172600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:58:03] local.INFO: GPS data processed {"connection_id":172600,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:58:03] local.INFO: Acknowledgment sent {"connection_id":172600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:58:35] local.INFO: TCP Data received {"connection_id":172600,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e1b21b8012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e1b21b8012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:58:35] local.INFO: Processing buffer {"connection_id":172600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e1b21b8012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:58:35] local.INFO: Packet analysis {"connection_id":172600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e1b"} 
[2026-09-05 01:58:35] local.INFO: Extracted packet for processing {"connection_id":172600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e1b"} 
[2026-09-05 01:58:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":21,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 01:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869661696001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:58:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788553667000,"timestamp_ms":1788553667000,"timestamp_seconds":1788553667,"priority":1,"record_length":96,"hex_timestamp":"000001a06e1b21b8"} 
[2026-09-05 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-09-05 01:58:35] 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-09-05 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 01:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 01:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869661696001,"66":25625,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869661696001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:58:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869661696001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":172600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:58:35] local.INFO: GPS data processed {"connection_id":172600,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:58:35] local.INFO: Acknowledgment sent {"connection_id":172600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:58:57] local.INFO: TCP Data received {"connection_id":172601,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:58:57] local.INFO: Processing buffer {"connection_id":172601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:58:57] local.INFO: IMEI packet received {"connection_id":172601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":172601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 01:59:02] local.INFO: TCP Data received {"connection_id":172601,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:59:02] local.INFO: Processing buffer {"connection_id":172601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:59:02] local.INFO: IMEI packet received {"connection_id":172601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 01:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":172601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 01:59:03] local.INFO: TCP Data received {"connection_id":172601,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e1b21b8012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e1b21b8012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:59:03] local.INFO: Processing buffer {"connection_id":172601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e1b21b8012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:59:03] local.INFO: Packet analysis {"connection_id":172601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e1b"} 
[2026-09-05 01:59:03] local.INFO: Extracted packet for processing {"connection_id":172601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e1b"} 
[2026-09-05 01:59:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":21,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869661696001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:59:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788553667000,"timestamp_ms":1788553667000,"timestamp_seconds":1788553667,"priority":1,"record_length":96,"hex_timestamp":"000001a06e1b21b8"} 
[2026-09-05 01:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:59: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-09-05 01: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":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:59: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-09-05 01:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869661696001,"66":25625,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869661696001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:59:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869661696001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":172601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:59:03] local.INFO: GPS data processed {"connection_id":172601,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:59:03] local.INFO: Acknowledgment sent {"connection_id":172601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:59:34] local.INFO: TCP Data received {"connection_id":172601,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e1b21b8012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e1b21b8012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:59:34] local.INFO: Processing buffer {"connection_id":172601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e1b21b8012d34c54006aa42a80015011f1f..."} 
[2026-09-05 01:59:34] local.INFO: Packet analysis {"connection_id":172601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e1b"} 
[2026-09-05 01:59:34] local.INFO: Extracted packet for processing {"connection_id":172601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e1b"} 
[2026-09-05 01:59:34] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":21,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 01: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-09-05 01:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869661696001,"note":"Value kept but may cause issues"} 
[2026-09-05 01:59:34] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 01:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 01:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 01:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 01:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788553667000,"timestamp_ms":1788553667000,"timestamp_seconds":1788553667,"priority":1,"record_length":96,"hex_timestamp":"000001a06e1b21b8"} 
[2026-09-05 01:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 01:59: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-09-05 01:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 01:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 01: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-09-05 01:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 01:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 01:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 01:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 01:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 01:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 01:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 01:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869661696001,"66":25625,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 01:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 01:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 01:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869661696001,"description":"Unknown IO ID 0"} 
[2026-09-05 01:59:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 01:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 01:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 01:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869661696001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 01:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":172601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 01:59:35] local.INFO: GPS data processed {"connection_id":172601,"processed":1,"errors":0,"total":1} 
[2026-09-05 01:59:35] local.INFO: Acknowledgment sent {"connection_id":172601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 01:59:57] local.INFO: TCP Data received {"connection_id":171490,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:59:57] local.INFO: Processing buffer {"connection_id":171490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 01:59:57] local.INFO: IMEI packet received {"connection_id":171490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 01:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":171490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:00:03] local.INFO: TCP Data received {"connection_id":171490,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:00:03] local.INFO: Processing buffer {"connection_id":171490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:00:03] local.INFO: IMEI packet received {"connection_id":171490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":171490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:00:04] local.INFO: TCP Data received {"connection_id":171490,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e1b21b8012d34c54006aa42a80015011f1f..."} 
[2026-09-05 02:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e1b21b8012d34c54006aa42a80015011f1f..."} 
[2026-09-05 02:00:04] local.INFO: Processing buffer {"connection_id":171490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e1b21b8012d34c54006aa42a80015011f1f..."} 
[2026-09-05 02:00:04] local.INFO: Packet analysis {"connection_id":171490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e1b"} 
[2026-09-05 02:00:04] local.INFO: Extracted packet for processing {"connection_id":171490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e1b"} 
[2026-09-05 02:00:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":21,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869661696001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:00:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788553667000,"timestamp_ms":1788553667000,"timestamp_seconds":1788553667,"priority":1,"record_length":96,"hex_timestamp":"000001a06e1b21b8"} 
[2026-09-05 02:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:00: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-09-05 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 02:00: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-09-05 02: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-09-05 02:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:00: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-09-05 02:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869661696001,"66":25625,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869661696001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:00:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869661696001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":171490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:00:04] local.INFO: GPS data processed {"connection_id":171490,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:00:04] local.INFO: Acknowledgment sent {"connection_id":171490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:00:35] local.INFO: TCP Data received {"connection_id":171490,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e1b21b8012d34c54006aa42a80015011f1f..."} 
[2026-09-05 02:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e1b21b8012d34c54006aa42a80015011f1f..."} 
[2026-09-05 02:00:35] local.INFO: Processing buffer {"connection_id":171490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e1b21b8012d34c54006aa42a80015011f1f..."} 
[2026-09-05 02:00:35] local.INFO: Packet analysis {"connection_id":171490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e1b"} 
[2026-09-05 02:00:35] local.INFO: Extracted packet for processing {"connection_id":171490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e1b"} 
[2026-09-05 02:00:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":21,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869661696001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:00:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788553667000,"timestamp_ms":1788553667000,"timestamp_seconds":1788553667,"priority":1,"record_length":96,"hex_timestamp":"000001a06e1b21b8"} 
[2026-09-05 02:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:00:35] 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-09-05 02:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 02:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869661696001,"66":25625,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869661696001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:00:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869661696001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":171490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:00:35] local.INFO: GPS data processed {"connection_id":171490,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:00:35] local.INFO: Acknowledgment sent {"connection_id":171490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:01:03] local.INFO: TCP Data received {"connection_id":172602,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:01:03] local.INFO: Processing buffer {"connection_id":172602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:01:03] local.INFO: IMEI packet received {"connection_id":172602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":172602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:01:08] local.INFO: TCP Data received {"connection_id":172602,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:01:08] local.INFO: Processing buffer {"connection_id":172602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:01:08] local.INFO: IMEI packet received {"connection_id":172602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":172602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:01:09] local.INFO: TCP Data received {"connection_id":172602,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e1b21b8012d34c54006aa42a80015011f1f..."} 
[2026-09-05 02:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e1b21b8012d34c54006aa42a80015011f1f..."} 
[2026-09-05 02:01:09] local.INFO: Processing buffer {"connection_id":172602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e1b21b8012d34c54006aa42a80015011f1f..."} 
[2026-09-05 02:01:09] local.INFO: Packet analysis {"connection_id":172602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e1b"} 
[2026-09-05 02:01:09] local.INFO: Extracted packet for processing {"connection_id":172602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e1b"} 
[2026-09-05 02:01:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":21,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869661696001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:01:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788553667000,"timestamp_ms":1788553667000,"timestamp_seconds":1788553667,"priority":1,"record_length":96,"hex_timestamp":"000001a06e1b21b8"} 
[2026-09-05 02:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:01: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-09-05 02:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 02:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:01: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-09-05 02:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869661696001,"66":25625,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869661696001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:01:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869661696001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":172602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:01:09] local.INFO: GPS data processed {"connection_id":172602,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:01:09] local.INFO: Acknowledgment sent {"connection_id":172602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:01:13] local.INFO: TCP Data received {"connection_id":172602,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e1b21b8012d34c54006aa42a80015011f1f..."} 
[2026-09-05 02:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e1b21b8012d34c54006aa42a80015011f1f..."} 
[2026-09-05 02:01:13] local.INFO: Processing buffer {"connection_id":172602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e1b21b8012d34c54006aa42a80015011f1f..."} 
[2026-09-05 02:01:13] local.INFO: Packet analysis {"connection_id":172602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e1b"} 
[2026-09-05 02:01:13] local.INFO: Extracted packet for processing {"connection_id":172602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e1b"} 
[2026-09-05 02:01:13] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":21,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869661696001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:01:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788553667000,"timestamp_ms":1788553667000,"timestamp_seconds":1788553667,"priority":1,"record_length":96,"hex_timestamp":"000001a06e1b21b8"} 
[2026-09-05 02:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 02:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":172602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":172602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":172602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:01:13] 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-09-05 02:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869661696001,"66":25625,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869661696001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:01:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869661696001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":172602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:01:13] local.INFO: GPS data processed {"connection_id":172602,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:01:13] local.INFO: Acknowledgment sent {"connection_id":172602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:01:58] local.INFO: TCP Data received {"connection_id":173883,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:01:58] local.INFO: Processing buffer {"connection_id":173883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:01:58] local.INFO: IMEI packet received {"connection_id":173883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":173883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:02:03] local.INFO: TCP Data received {"connection_id":173883,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:02:03] local.INFO: Processing buffer {"connection_id":173883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:02:03] local.INFO: IMEI packet received {"connection_id":173883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":173883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:02:04] local.INFO: TCP Data received {"connection_id":173883,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e1b21b8012d34c54006aa42a80015011f1f..."} 
[2026-09-05 02:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e1b21b8012d34c54006aa42a80015011f1f..."} 
[2026-09-05 02:02:04] local.INFO: Processing buffer {"connection_id":173883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e1b21b8012d34c54006aa42a80015011f1f..."} 
[2026-09-05 02:02:04] local.INFO: Packet analysis {"connection_id":173883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e1b"} 
[2026-09-05 02:02:04] local.INFO: Extracted packet for processing {"connection_id":173883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e1b"} 
[2026-09-05 02:02:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":21,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869661696001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:02:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788553667000,"timestamp_ms":1788553667000,"timestamp_seconds":1788553667,"priority":1,"record_length":96,"hex_timestamp":"000001a06e1b21b8"} 
[2026-09-05 02:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:02: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-09-05 02: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":47,"data_length":795,"current_offset":136} 
[2026-09-05 02:02: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-09-05 02: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-09-05 02:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:02: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-09-05 02:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869661696001,"66":25625,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869661696001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:02:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869661696001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":173883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:02:04] local.INFO: GPS data processed {"connection_id":173883,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:02:04] local.INFO: Acknowledgment sent {"connection_id":173883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:02:34] local.INFO: TCP Data received {"connection_id":173883,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e1b21b8012d34c54006aa42a80015011f1f..."} 
[2026-09-05 02:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e1b21b8012d34c54006aa42a80015011f1f..."} 
[2026-09-05 02:02:34] local.INFO: Processing buffer {"connection_id":173883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e1b21b8012d34c54006aa42a80015011f1f..."} 
[2026-09-05 02:02:34] local.INFO: Packet analysis {"connection_id":173883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e1b"} 
[2026-09-05 02:02:34] local.INFO: Extracted packet for processing {"connection_id":173883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e1b"} 
[2026-09-05 02:02:34] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":21,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869661696001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:02:34] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788553667000,"timestamp_ms":1788553667000,"timestamp_seconds":1788553667,"priority":1,"record_length":96,"hex_timestamp":"000001a06e1b21b8"} 
[2026-09-05 02:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:02: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-09-05 02:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 02:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:02: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-09-05 02:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869661696001,"66":25625,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869661696001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:02:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869661696001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":173883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:02:34] local.INFO: GPS data processed {"connection_id":173883,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:02:34] local.INFO: Acknowledgment sent {"connection_id":173883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:03:00] local.INFO: TCP Data received {"connection_id":172603,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:03:00] local.INFO: Processing buffer {"connection_id":172603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:03:00] local.INFO: IMEI packet received {"connection_id":172603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":172603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:03:03] local.INFO: TCP Data received {"connection_id":172603,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:03:03] local.INFO: Processing buffer {"connection_id":172603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:03:03] local.INFO: IMEI packet received {"connection_id":172603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":172603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:03:04] local.INFO: TCP Data received {"connection_id":172603,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e1b21b8012d34c54006aa42a80015011f1f..."} 
[2026-09-05 02:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e1b21b8012d34c54006aa42a80015011f1f..."} 
[2026-09-05 02:03:04] local.INFO: Processing buffer {"connection_id":172603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e1b21b8012d34c54006aa42a80015011f1f..."} 
[2026-09-05 02:03:04] local.INFO: Packet analysis {"connection_id":172603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e1b"} 
[2026-09-05 02:03:04] local.INFO: Extracted packet for processing {"connection_id":172603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e1b"} 
[2026-09-05 02:03:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":21,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869661696001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:03:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788553667000,"timestamp_ms":1788553667000,"timestamp_seconds":1788553667,"priority":1,"record_length":96,"hex_timestamp":"000001a06e1b21b8"} 
[2026-09-05 02:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:03: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-09-05 02:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 02:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:03: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-09-05 02:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869661696001,"66":25625,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869661696001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:03:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869661696001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":172603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:03:04] local.INFO: GPS data processed {"connection_id":172603,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:03:04] local.INFO: Acknowledgment sent {"connection_id":172603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:03:08] local.INFO: TCP Data received {"connection_id":172603,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e1b21b8012d34c54006aa42a80015011f1f..."} 
[2026-09-05 02:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e1b21b8012d34c54006aa42a80015011f1f..."} 
[2026-09-05 02:03:08] local.INFO: Processing buffer {"connection_id":172603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e1b21b8012d34c54006aa42a80015011f1f..."} 
[2026-09-05 02:03:08] local.INFO: Packet analysis {"connection_id":172603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e1b"} 
[2026-09-05 02:03:08] local.INFO: Extracted packet for processing {"connection_id":172603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e1b"} 
[2026-09-05 02:03:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":21,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869661696001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:03:08] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788553667000,"timestamp_ms":1788553667000,"timestamp_seconds":1788553667,"priority":1,"record_length":96,"hex_timestamp":"000001a06e1b21b8"} 
[2026-09-05 02:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:03: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-09-05 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 02:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:03: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-09-05 02:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869661696001,"66":25625,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869661696001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:03:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869661696001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":172603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:03:08] local.INFO: GPS data processed {"connection_id":172603,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:03:08] local.INFO: Acknowledgment sent {"connection_id":172603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:03:40] local.INFO: TCP Data received {"connection_id":172603,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e1fb980012d34c54006aa42a8000b011f24..."} 
[2026-09-05 02:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e1fb980012d34c54006aa42a8000b011f24..."} 
[2026-09-05 02:03:40] local.INFO: Processing buffer {"connection_id":172603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e1fb980012d34c54006aa42a8000b011f24..."} 
[2026-09-05 02:03:40] local.INFO: Packet analysis {"connection_id":172603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e1f"} 
[2026-09-05 02:03:40] local.INFO: Extracted packet for processing {"connection_id":172603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e1f"} 
[2026-09-05 02:03:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869738752001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:03:40] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788553968000,"timestamp_ms":1788553968000,"timestamp_seconds":1788553968,"priority":1,"record_length":96,"hex_timestamp":"000001a06e1fb980"} 
[2026-09-05 02:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:03: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-09-05 02: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-05 02:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":172603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":172603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":172603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869738752001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869738752001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:03:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869738752001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":172603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:03:40] local.INFO: GPS data processed {"connection_id":172603,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:03:40] local.INFO: Acknowledgment sent {"connection_id":172603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:03:42] local.INFO: TCP Data received {"connection_id":171188,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171188,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:03:42] local.INFO: Processing buffer {"connection_id":171188,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:03:42] local.INFO: IMEI packet received {"connection_id":171188,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 02:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":171188,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:03:57] local.INFO: TCP Data received {"connection_id":173884,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:03:57] local.INFO: Processing buffer {"connection_id":173884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:03:57] local.INFO: IMEI packet received {"connection_id":173884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":173884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:04:02] local.INFO: TCP Data received {"connection_id":173884,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:04:02] local.INFO: Processing buffer {"connection_id":173884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:04:02] local.INFO: IMEI packet received {"connection_id":173884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":173884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:04:03] local.INFO: TCP Data received {"connection_id":173884,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e1fb980012d34c54006aa42a8000b011f24..."} 
[2026-09-05 02:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e1fb980012d34c54006aa42a8000b011f24..."} 
[2026-09-05 02:04:03] local.INFO: Processing buffer {"connection_id":173884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e1fb980012d34c54006aa42a8000b011f24..."} 
[2026-09-05 02:04:03] local.INFO: Packet analysis {"connection_id":173884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e1f"} 
[2026-09-05 02:04:03] local.INFO: Extracted packet for processing {"connection_id":173884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e1f"} 
[2026-09-05 02:04:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869738752001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:04:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788553968000,"timestamp_ms":1788553968000,"timestamp_seconds":1788553968,"priority":1,"record_length":96,"hex_timestamp":"000001a06e1fb980"} 
[2026-09-05 02:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:04: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-09-05 02:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-05 02:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:04: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-09-05 02:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869738752001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869738752001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:04:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869738752001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":173884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:04:03] local.INFO: GPS data processed {"connection_id":173884,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:04:03] local.INFO: Acknowledgment sent {"connection_id":173884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:04:35] local.INFO: TCP Data received {"connection_id":173884,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e1fb980012d34c54006aa42a8000b011f24..."} 
[2026-09-05 02:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e1fb980012d34c54006aa42a8000b011f24..."} 
[2026-09-05 02:04:35] local.INFO: Processing buffer {"connection_id":173884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e1fb980012d34c54006aa42a8000b011f24..."} 
[2026-09-05 02:04:35] local.INFO: Packet analysis {"connection_id":173884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e1f"} 
[2026-09-05 02:04:35] local.INFO: Extracted packet for processing {"connection_id":173884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e1f"} 
[2026-09-05 02:04:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869738752001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:04:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788553968000,"timestamp_ms":1788553968000,"timestamp_seconds":1788553968,"priority":1,"record_length":96,"hex_timestamp":"000001a06e1fb980"} 
[2026-09-05 02:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:04:35] 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-09-05 02:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-05 02:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869738752001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869738752001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:04:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869738752001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":173884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:04:35] local.INFO: GPS data processed {"connection_id":173884,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:04:35] local.INFO: Acknowledgment sent {"connection_id":173884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:04:57] local.INFO: TCP Data received {"connection_id":171189,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:04:57] local.INFO: Processing buffer {"connection_id":171189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:04:57] local.INFO: IMEI packet received {"connection_id":171189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":171189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:05:02] local.INFO: TCP Data received {"connection_id":171189,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:05:02] local.INFO: Processing buffer {"connection_id":171189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:05:02] local.INFO: IMEI packet received {"connection_id":171189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":171189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:05:04] local.INFO: TCP Data received {"connection_id":171189,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e1fb980012d34c54006aa42a8000b011f24..."} 
[2026-09-05 02:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e1fb980012d34c54006aa42a8000b011f24..."} 
[2026-09-05 02:05:04] local.INFO: Processing buffer {"connection_id":171189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e1fb980012d34c54006aa42a8000b011f24..."} 
[2026-09-05 02:05:04] local.INFO: Packet analysis {"connection_id":171189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e1f"} 
[2026-09-05 02:05:04] local.INFO: Extracted packet for processing {"connection_id":171189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e1f"} 
[2026-09-05 02:05:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869738752001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:05:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788553968000,"timestamp_ms":1788553968000,"timestamp_seconds":1788553968,"priority":1,"record_length":96,"hex_timestamp":"000001a06e1fb980"} 
[2026-09-05 02:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:05: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-09-05 02: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":25,"data_length":795,"current_offset":136} 
[2026-09-05 02:05: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-09-05 02: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-09-05 02:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:05: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-09-05 02:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869738752001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869738752001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:05:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869738752001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":171189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:05:04] local.INFO: GPS data processed {"connection_id":171189,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:05:04] local.INFO: Acknowledgment sent {"connection_id":171189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:05:35] local.INFO: TCP Data received {"connection_id":171189,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e1fb980012d34c54006aa42a8000b011f24..."} 
[2026-09-05 02:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e1fb980012d34c54006aa42a8000b011f24..."} 
[2026-09-05 02:05:35] local.INFO: Processing buffer {"connection_id":171189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e1fb980012d34c54006aa42a8000b011f24..."} 
[2026-09-05 02:05:35] local.INFO: Packet analysis {"connection_id":171189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e1f"} 
[2026-09-05 02:05:35] local.INFO: Extracted packet for processing {"connection_id":171189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e1f"} 
[2026-09-05 02:05:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869738752001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:05:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788553968000,"timestamp_ms":1788553968000,"timestamp_seconds":1788553968,"priority":1,"record_length":96,"hex_timestamp":"000001a06e1fb980"} 
[2026-09-05 02:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:05:35] 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-09-05 02:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-05 02:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869738752001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869738752001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:05:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869738752001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":171189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:05:35] local.INFO: GPS data processed {"connection_id":171189,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:05:35] local.INFO: Acknowledgment sent {"connection_id":171189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:06:02] local.INFO: TCP Data received {"connection_id":171492,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:06:02] local.INFO: Processing buffer {"connection_id":171492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:06:02] local.INFO: IMEI packet received {"connection_id":171492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":171492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:06:08] local.INFO: TCP Data received {"connection_id":171492,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:06:08] local.INFO: Processing buffer {"connection_id":171492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:06:08] local.INFO: IMEI packet received {"connection_id":171492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":171492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:06:09] local.INFO: TCP Data received {"connection_id":171492,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e1fb980012d34c54006aa42a8000b011f24..."} 
[2026-09-05 02:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e1fb980012d34c54006aa42a8000b011f24..."} 
[2026-09-05 02:06:09] local.INFO: Processing buffer {"connection_id":171492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e1fb980012d34c54006aa42a8000b011f24..."} 
[2026-09-05 02:06:09] local.INFO: Packet analysis {"connection_id":171492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e1f"} 
[2026-09-05 02:06:09] local.INFO: Extracted packet for processing {"connection_id":171492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e1f"} 
[2026-09-05 02:06:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869738752001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:06:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788553968000,"timestamp_ms":1788553968000,"timestamp_seconds":1788553968,"priority":1,"record_length":96,"hex_timestamp":"000001a06e1fb980"} 
[2026-09-05 02:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:06: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-09-05 02: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-05 02:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:06: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-09-05 02:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869738752001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869738752001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:06:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869738752001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":171492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:06:09] local.INFO: GPS data processed {"connection_id":171492,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:06:09] local.INFO: Acknowledgment sent {"connection_id":171492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:06:41] local.INFO: TCP Data received {"connection_id":171492,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e1fb980012d34c54006aa42a8000b011f24..."} 
[2026-09-05 02:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e1fb980012d34c54006aa42a8000b011f24..."} 
[2026-09-05 02:06:41] local.INFO: Processing buffer {"connection_id":171492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e1fb980012d34c54006aa42a8000b011f24..."} 
[2026-09-05 02:06:41] local.INFO: Packet analysis {"connection_id":171492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e1f"} 
[2026-09-05 02:06:41] local.INFO: Extracted packet for processing {"connection_id":171492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e1f"} 
[2026-09-05 02:06:41] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869738752001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:06:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788553968000,"timestamp_ms":1788553968000,"timestamp_seconds":1788553968,"priority":1,"record_length":96,"hex_timestamp":"000001a06e1fb980"} 
[2026-09-05 02:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:06: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-09-05 02:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-05 02:06: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-09-05 02:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":171492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":171492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":171492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869738752001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869738752001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:06:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869738752001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":171492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:06:41] local.INFO: GPS data processed {"connection_id":171492,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:06:41] local.INFO: Acknowledgment sent {"connection_id":171492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:06:58] local.INFO: TCP Data received {"connection_id":172604,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:06:58] local.INFO: Processing buffer {"connection_id":172604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:06:58] local.INFO: IMEI packet received {"connection_id":172604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":172604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:07:03] local.INFO: TCP Data received {"connection_id":172604,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:07:03] local.INFO: Processing buffer {"connection_id":172604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:07:03] local.INFO: IMEI packet received {"connection_id":172604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":172604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:07:04] local.INFO: TCP Data received {"connection_id":172604,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e1fb980012d34c54006aa42a8000b011f24..."} 
[2026-09-05 02:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e1fb980012d34c54006aa42a8000b011f24..."} 
[2026-09-05 02:07:04] local.INFO: Processing buffer {"connection_id":172604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e1fb980012d34c54006aa42a8000b011f24..."} 
[2026-09-05 02:07:04] local.INFO: Packet analysis {"connection_id":172604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e1f"} 
[2026-09-05 02:07:04] local.INFO: Extracted packet for processing {"connection_id":172604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e1f"} 
[2026-09-05 02:07:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869738752001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:07:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788553968000,"timestamp_ms":1788553968000,"timestamp_seconds":1788553968,"priority":1,"record_length":96,"hex_timestamp":"000001a06e1fb980"} 
[2026-09-05 02:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:07: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-09-05 02:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-05 02:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:07: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-09-05 02:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869738752001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869738752001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:07:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869738752001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":172604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:07:04] local.INFO: GPS data processed {"connection_id":172604,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:07:04] local.INFO: Acknowledgment sent {"connection_id":172604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:07:35] local.INFO: TCP Data received {"connection_id":172604,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e1fb980012d34c54006aa42a8000b011f24..."} 
[2026-09-05 02:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e1fb980012d34c54006aa42a8000b011f24..."} 
[2026-09-05 02:07:35] local.INFO: Processing buffer {"connection_id":172604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e1fb980012d34c54006aa42a8000b011f24..."} 
[2026-09-05 02:07:35] local.INFO: Packet analysis {"connection_id":172604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e1f"} 
[2026-09-05 02:07:35] local.INFO: Extracted packet for processing {"connection_id":172604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e1f"} 
[2026-09-05 02:07:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869738752001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:07:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788553968000,"timestamp_ms":1788553968000,"timestamp_seconds":1788553968,"priority":1,"record_length":96,"hex_timestamp":"000001a06e1fb980"} 
[2026-09-05 02:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:07:35] 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-09-05 02: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-05 02:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869738752001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869738752001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:07:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869738752001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":172604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:07:35] local.INFO: GPS data processed {"connection_id":172604,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:07:35] local.INFO: Acknowledgment sent {"connection_id":172604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:07:57] local.INFO: TCP Data received {"connection_id":172605,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:07:57] local.INFO: Processing buffer {"connection_id":172605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:07:57] local.INFO: IMEI packet received {"connection_id":172605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":172605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:08:03] local.INFO: TCP Data received {"connection_id":172605,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:08:03] local.INFO: Processing buffer {"connection_id":172605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:08:03] local.INFO: IMEI packet received {"connection_id":172605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":172605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:08:04] local.INFO: TCP Data received {"connection_id":172605,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e1fb980012d34c54006aa42a8000b011f24..."} 
[2026-09-05 02:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e1fb980012d34c54006aa42a8000b011f24..."} 
[2026-09-05 02:08:04] local.INFO: Processing buffer {"connection_id":172605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e1fb980012d34c54006aa42a8000b011f24..."} 
[2026-09-05 02:08:04] local.INFO: Packet analysis {"connection_id":172605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e1f"} 
[2026-09-05 02:08:04] local.INFO: Extracted packet for processing {"connection_id":172605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e1f"} 
[2026-09-05 02:08:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":11,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869738752001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:08:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788553968000,"timestamp_ms":1788553968000,"timestamp_seconds":1788553968,"priority":1,"record_length":96,"hex_timestamp":"000001a06e1fb980"} 
[2026-09-05 02:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:08: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-09-05 02: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":25,"data_length":795,"current_offset":136} 
[2026-09-05 02:08: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-09-05 02: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-09-05 02:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02: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-09-05 02:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869738752001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869738752001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:08:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869738752001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":172605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:08:04] local.INFO: GPS data processed {"connection_id":172605,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:08:04] local.INFO: Acknowledgment sent {"connection_id":172605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:08:35] local.INFO: TCP Data received {"connection_id":172605,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e245148012d34c54006aa42a80010011f20..."} 
[2026-09-05 02:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e245148012d34c54006aa42a80010011f20..."} 
[2026-09-05 02:08:35] local.INFO: Processing buffer {"connection_id":172605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e245148012d34c54006aa42a80010011f20..."} 
[2026-09-05 02:08:35] local.INFO: Packet analysis {"connection_id":172605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e24"} 
[2026-09-05 02:08:35] local.INFO: Extracted packet for processing {"connection_id":172605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e24"} 
[2026-09-05 02:08:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":16,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869815808001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:08:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788554269000,"timestamp_ms":1788554269000,"timestamp_seconds":1788554269,"priority":1,"record_length":96,"hex_timestamp":"000001a06e245148"} 
[2026-09-05 02:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:08:35] 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-09-05 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 02:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869815808001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869815808001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:08:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869815808001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":172605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:08:35] local.INFO: GPS data processed {"connection_id":172605,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:08:35] local.INFO: Acknowledgment sent {"connection_id":172605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:08:57] local.INFO: TCP Data received {"connection_id":171493,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:08:57] local.INFO: Processing buffer {"connection_id":171493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:08:57] local.INFO: IMEI packet received {"connection_id":171493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":171493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:09:03] local.INFO: TCP Data received {"connection_id":171493,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:09:03] local.INFO: Processing buffer {"connection_id":171493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:09:03] local.INFO: IMEI packet received {"connection_id":171493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":171493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:09:04] local.INFO: TCP Data received {"connection_id":171493,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e245148012d34c54006aa42a80010011f20..."} 
[2026-09-05 02:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e245148012d34c54006aa42a80010011f20..."} 
[2026-09-05 02:09:04] local.INFO: Processing buffer {"connection_id":171493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e245148012d34c54006aa42a80010011f20..."} 
[2026-09-05 02:09:04] local.INFO: Packet analysis {"connection_id":171493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e24"} 
[2026-09-05 02:09:04] local.INFO: Extracted packet for processing {"connection_id":171493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e24"} 
[2026-09-05 02:09:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":16,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869815808001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:09:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788554269000,"timestamp_ms":1788554269000,"timestamp_seconds":1788554269,"priority":1,"record_length":96,"hex_timestamp":"000001a06e245148"} 
[2026-09-05 02:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:09: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-09-05 02: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":47,"data_length":795,"current_offset":136} 
[2026-09-05 02:09: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-09-05 02: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-09-05 02:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02: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-09-05 02:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869815808001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869815808001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:09:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869815808001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":171493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:09:04] local.INFO: GPS data processed {"connection_id":171493,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:09:04] local.INFO: Acknowledgment sent {"connection_id":171493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:09:16] local.INFO: TCP Data received {"connection_id":171491,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:09:16] local.INFO: Processing buffer {"connection_id":171491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:09:16] local.INFO: IMEI packet received {"connection_id":171491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 02:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":171491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:09:35] local.INFO: TCP Data received {"connection_id":171493,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e245148012d34c54006aa42a80010011f20..."} 
[2026-09-05 02:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e245148012d34c54006aa42a80010011f20..."} 
[2026-09-05 02:09:35] local.INFO: Processing buffer {"connection_id":171493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e245148012d34c54006aa42a80010011f20..."} 
[2026-09-05 02:09:35] local.INFO: Packet analysis {"connection_id":171493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e24"} 
[2026-09-05 02:09:35] local.INFO: Extracted packet for processing {"connection_id":171493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e24"} 
[2026-09-05 02:09:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":16,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869815808001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:09:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788554269000,"timestamp_ms":1788554269000,"timestamp_seconds":1788554269,"priority":1,"record_length":96,"hex_timestamp":"000001a06e245148"} 
[2026-09-05 02:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:09:35] 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-09-05 02:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 02:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869815808001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869815808001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:09:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869815808001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":171493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:09:35] local.INFO: GPS data processed {"connection_id":171493,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:09:35] local.INFO: Acknowledgment sent {"connection_id":171493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:10:03] local.INFO: TCP Data received {"connection_id":173885,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:10:03] local.INFO: Processing buffer {"connection_id":173885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:10:03] local.INFO: IMEI packet received {"connection_id":173885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":173885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:10:08] local.INFO: TCP Data received {"connection_id":173885,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:10:08] local.INFO: Processing buffer {"connection_id":173885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:10:08] local.INFO: IMEI packet received {"connection_id":173885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":173885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:10:09] local.INFO: TCP Data received {"connection_id":173885,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e245148012d34c54006aa42a80010011f20..."} 
[2026-09-05 02:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e245148012d34c54006aa42a80010011f20..."} 
[2026-09-05 02:10:09] local.INFO: Processing buffer {"connection_id":173885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e245148012d34c54006aa42a80010011f20..."} 
[2026-09-05 02:10:09] local.INFO: Packet analysis {"connection_id":173885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e24"} 
[2026-09-05 02:10:09] local.INFO: Extracted packet for processing {"connection_id":173885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e24"} 
[2026-09-05 02:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":16,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869815808001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:10:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788554269000,"timestamp_ms":1788554269000,"timestamp_seconds":1788554269,"priority":1,"record_length":96,"hex_timestamp":"000001a06e245148"} 
[2026-09-05 02:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:10: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-09-05 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 02:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:10: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-09-05 02:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869815808001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869815808001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:10:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869815808001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":173885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:10:09] local.INFO: GPS data processed {"connection_id":173885,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:10:09] local.INFO: Acknowledgment sent {"connection_id":173885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:10:13] local.INFO: TCP Data received {"connection_id":173885,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e245148012d34c54006aa42a80010011f20..."} 
[2026-09-05 02:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e245148012d34c54006aa42a80010011f20..."} 
[2026-09-05 02:10:13] local.INFO: Processing buffer {"connection_id":173885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e245148012d34c54006aa42a80010011f20..."} 
[2026-09-05 02:10:13] local.INFO: Packet analysis {"connection_id":173885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e24"} 
[2026-09-05 02:10:13] local.INFO: Extracted packet for processing {"connection_id":173885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e24"} 
[2026-09-05 02:10:13] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":16,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869815808001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:10:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788554269000,"timestamp_ms":1788554269000,"timestamp_seconds":1788554269,"priority":1,"record_length":96,"hex_timestamp":"000001a06e245148"} 
[2026-09-05 02:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 02:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 02:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":173885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":173885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":173885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:10:13] 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-09-05 02:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869815808001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869815808001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:10:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869815808001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":173885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:10:13] local.INFO: GPS data processed {"connection_id":173885,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:10:13] local.INFO: Acknowledgment sent {"connection_id":173885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:10:58] local.INFO: TCP Data received {"connection_id":172606,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:10:58] local.INFO: Processing buffer {"connection_id":172606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:10:58] local.INFO: IMEI packet received {"connection_id":172606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":172606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:11:03] local.INFO: TCP Data received {"connection_id":172606,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:11:03] local.INFO: Processing buffer {"connection_id":172606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:11:03] local.INFO: IMEI packet received {"connection_id":172606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":172606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:11:03] local.INFO: TCP Data received {"connection_id":172606,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e245148012d34c54006aa42a80010011f20..."} 
[2026-09-05 02:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e245148012d34c54006aa42a80010011f20..."} 
[2026-09-05 02:11:03] local.INFO: Processing buffer {"connection_id":172606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e245148012d34c54006aa42a80010011f20..."} 
[2026-09-05 02:11:03] local.INFO: Packet analysis {"connection_id":172606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e24"} 
[2026-09-05 02:11:03] local.INFO: Extracted packet for processing {"connection_id":172606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e24"} 
[2026-09-05 02:11:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":16,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869815808001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:11:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788554269000,"timestamp_ms":1788554269000,"timestamp_seconds":1788554269,"priority":1,"record_length":96,"hex_timestamp":"000001a06e245148"} 
[2026-09-05 02:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:11: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-09-05 02: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":47,"data_length":795,"current_offset":136} 
[2026-09-05 02:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:11: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-09-05 02:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869815808001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869815808001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:11:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869815808001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":172606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:11:03] local.INFO: GPS data processed {"connection_id":172606,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:11:03] local.INFO: Acknowledgment sent {"connection_id":172606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:11:35] local.INFO: TCP Data received {"connection_id":172606,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e245148012d34c54006aa42a80010011f20..."} 
[2026-09-05 02:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e245148012d34c54006aa42a80010011f20..."} 
[2026-09-05 02:11:35] local.INFO: Processing buffer {"connection_id":172606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e245148012d34c54006aa42a80010011f20..."} 
[2026-09-05 02:11:35] local.INFO: Packet analysis {"connection_id":172606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e24"} 
[2026-09-05 02:11:35] local.INFO: Extracted packet for processing {"connection_id":172606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e24"} 
[2026-09-05 02:11:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":16,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869815808001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:11:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788554269000,"timestamp_ms":1788554269000,"timestamp_seconds":1788554269,"priority":1,"record_length":96,"hex_timestamp":"000001a06e245148"} 
[2026-09-05 02:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:11:35] 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-09-05 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 02:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869815808001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869815808001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:11:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869815808001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":172606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:11:35] local.INFO: GPS data processed {"connection_id":172606,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:11:35] local.INFO: Acknowledgment sent {"connection_id":172606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:11:58] local.INFO: TCP Data received {"connection_id":171190,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:11:58] local.INFO: Processing buffer {"connection_id":171190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:11:58] local.INFO: IMEI packet received {"connection_id":171190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":171190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:12:03] local.INFO: TCP Data received {"connection_id":171190,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:12:03] local.INFO: Processing buffer {"connection_id":171190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:12:03] local.INFO: IMEI packet received {"connection_id":171190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":171190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:12:04] local.INFO: TCP Data received {"connection_id":171190,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e245148012d34c54006aa42a80010011f20..."} 
[2026-09-05 02:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e245148012d34c54006aa42a80010011f20..."} 
[2026-09-05 02:12:04] local.INFO: Processing buffer {"connection_id":171190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e245148012d34c54006aa42a80010011f20..."} 
[2026-09-05 02:12:04] local.INFO: Packet analysis {"connection_id":171190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e24"} 
[2026-09-05 02:12:04] local.INFO: Extracted packet for processing {"connection_id":171190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e24"} 
[2026-09-05 02:12:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":16,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869815808001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:12:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788554269000,"timestamp_ms":1788554269000,"timestamp_seconds":1788554269,"priority":1,"record_length":96,"hex_timestamp":"000001a06e245148"} 
[2026-09-05 02:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:12: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-09-05 02:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 02:12: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-09-05 02:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:12: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-09-05 02:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869815808001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869815808001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:12:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869815808001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":171190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:12:04] local.INFO: GPS data processed {"connection_id":171190,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:12:04] local.INFO: Acknowledgment sent {"connection_id":171190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:12:35] local.INFO: TCP Data received {"connection_id":171190,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e245148012d34c54006aa42a80010011f20..."} 
[2026-09-05 02:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e245148012d34c54006aa42a80010011f20..."} 
[2026-09-05 02:12:35] local.INFO: Processing buffer {"connection_id":171190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e245148012d34c54006aa42a80010011f20..."} 
[2026-09-05 02:12:35] local.INFO: Packet analysis {"connection_id":171190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e24"} 
[2026-09-05 02:12:35] local.INFO: Extracted packet for processing {"connection_id":171190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e24"} 
[2026-09-05 02:12:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":16,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869815808001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:12:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788554269000,"timestamp_ms":1788554269000,"timestamp_seconds":1788554269,"priority":1,"record_length":96,"hex_timestamp":"000001a06e245148"} 
[2026-09-05 02:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:12:35] 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-09-05 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 02:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869815808001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869815808001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:12:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869815808001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":171190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:12:35] local.INFO: GPS data processed {"connection_id":171190,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:12:35] local.INFO: Acknowledgment sent {"connection_id":171190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:12:58] local.INFO: TCP Data received {"connection_id":172607,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:12:58] local.INFO: Processing buffer {"connection_id":172607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:12:58] local.INFO: IMEI packet received {"connection_id":172607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":172607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:13:04] local.INFO: TCP Data received {"connection_id":172607,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:13:04] local.INFO: Processing buffer {"connection_id":172607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:13:04] local.INFO: IMEI packet received {"connection_id":172607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":172607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:13:05] local.INFO: TCP Data received {"connection_id":172607,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a06e245148012d34c54006aa42a80010011f20..."} 
[2026-09-05 02:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e245148012d34c54006aa42a80010011f20..."} 
[2026-09-05 02:13:05] local.INFO: Processing buffer {"connection_id":172607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e245148012d34c54006aa42a80010011f20..."} 
[2026-09-05 02:13:05] local.INFO: Packet analysis {"connection_id":172607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e24"} 
[2026-09-05 02:13:05] local.INFO: Extracted packet for processing {"connection_id":172607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e24"} 
[2026-09-05 02:13:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":16,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869815808001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:13:05] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788554269000,"timestamp_ms":1788554269000,"timestamp_seconds":1788554269,"priority":1,"record_length":96,"hex_timestamp":"000001a06e245148"} 
[2026-09-05 02:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:13: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-09-05 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 02:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869815808001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869815808001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:13:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869815808001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":172607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:13:05] local.INFO: GPS data processed {"connection_id":172607,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:13:05] local.INFO: Acknowledgment sent {"connection_id":172607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:13:37] local.INFO: TCP Data received {"connection_id":172607,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a06e28e910012d34c54006aa42a80010011f23..."} 
[2026-09-05 02:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e28e910012d34c54006aa42a80010011f23..."} 
[2026-09-05 02:13:37] local.INFO: Processing buffer {"connection_id":172607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e28e910012d34c54006aa42a80010011f23..."} 
[2026-09-05 02:13:37] local.INFO: Packet analysis {"connection_id":172607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e28"} 
[2026-09-05 02:13:37] local.INFO: Extracted packet for processing {"connection_id":172607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e28"} 
[2026-09-05 02:13:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":16,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869892864001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:13:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788554570000,"timestamp_ms":1788554570000,"timestamp_seconds":1788554570,"priority":1,"record_length":96,"hex_timestamp":"000001a06e28e910"} 
[2026-09-05 02:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:13:37] 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-09-05 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 02:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869892864001,"66":25625,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869892864001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:13:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869892864001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":172607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:13:37] local.INFO: GPS data processed {"connection_id":172607,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:13:37] local.INFO: Acknowledgment sent {"connection_id":172607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:13:57] local.INFO: TCP Data received {"connection_id":171494,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:13:57] local.INFO: Processing buffer {"connection_id":171494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:13:57] local.INFO: IMEI packet received {"connection_id":171494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":171494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:14:03] local.INFO: TCP Data received {"connection_id":171494,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:14:03] local.INFO: Processing buffer {"connection_id":171494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:14:03] local.INFO: IMEI packet received {"connection_id":171494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":171494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:14:04] local.INFO: TCP Data received {"connection_id":171494,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a06e28e910012d34c54006aa42a80010011f23..."} 
[2026-09-05 02:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e28e910012d34c54006aa42a80010011f23..."} 
[2026-09-05 02:14:04] local.INFO: Processing buffer {"connection_id":171494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e28e910012d34c54006aa42a80010011f23..."} 
[2026-09-05 02:14:04] local.INFO: Packet analysis {"connection_id":171494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e28"} 
[2026-09-05 02:14:04] local.INFO: Extracted packet for processing {"connection_id":171494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e28"} 
[2026-09-05 02:14:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":16,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869892864001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:14:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788554570000,"timestamp_ms":1788554570000,"timestamp_seconds":1788554570,"priority":1,"record_length":96,"hex_timestamp":"000001a06e28e910"} 
[2026-09-05 02:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:14: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-09-05 02: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":47,"data_length":795,"current_offset":136} 
[2026-09-05 02:14: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-09-05 02: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-09-05 02:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869892864001,"66":25625,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869892864001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:14:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869892864001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":171494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:14:04] local.INFO: GPS data processed {"connection_id":171494,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:14:04] local.INFO: Acknowledgment sent {"connection_id":171494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:14:36] local.INFO: TCP Data received {"connection_id":171494,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a06e28e910012d34c54006aa42a80010011f23..."} 
[2026-09-05 02:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e28e910012d34c54006aa42a80010011f23..."} 
[2026-09-05 02:14:36] local.INFO: Processing buffer {"connection_id":171494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e28e910012d34c54006aa42a80010011f23..."} 
[2026-09-05 02:14:36] local.INFO: Packet analysis {"connection_id":171494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e28"} 
[2026-09-05 02:14:36] local.INFO: Extracted packet for processing {"connection_id":171494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e28"} 
[2026-09-05 02:14:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":16,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 02:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869892864001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:14:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788554570000,"timestamp_ms":1788554570000,"timestamp_seconds":1788554570,"priority":1,"record_length":96,"hex_timestamp":"000001a06e28e910"} 
[2026-09-05 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-09-05 02:14: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-09-05 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 02:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 02:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869892864001,"66":25625,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869892864001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:14:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869892864001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":171494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:14:36] local.INFO: GPS data processed {"connection_id":171494,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:14:36] local.INFO: Acknowledgment sent {"connection_id":171494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:14:57] local.INFO: TCP Data received {"connection_id":173886,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:14:57] local.INFO: Processing buffer {"connection_id":173886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:14:57] local.INFO: IMEI packet received {"connection_id":173886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":173886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:15:03] local.INFO: TCP Data received {"connection_id":173886,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:15:03] local.INFO: Processing buffer {"connection_id":173886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:15:03] local.INFO: IMEI packet received {"connection_id":173886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":173886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:15:04] local.INFO: TCP Data received {"connection_id":173886,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a06e28e910012d34c54006aa42a80010011f23..."} 
[2026-09-05 02:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e28e910012d34c54006aa42a80010011f23..."} 
[2026-09-05 02:15:04] local.INFO: Processing buffer {"connection_id":173886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e28e910012d34c54006aa42a80010011f23..."} 
[2026-09-05 02:15:04] local.INFO: Packet analysis {"connection_id":173886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e28"} 
[2026-09-05 02:15:04] local.INFO: Extracted packet for processing {"connection_id":173886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e28"} 
[2026-09-05 02:15:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":16,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869892864001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:15:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788554570000,"timestamp_ms":1788554570000,"timestamp_seconds":1788554570,"priority":1,"record_length":96,"hex_timestamp":"000001a06e28e910"} 
[2026-09-05 02:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:15: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-09-05 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 02:15: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-09-05 02: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-09-05 02:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:15: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-09-05 02:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869892864001,"66":25625,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869892864001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:15:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869892864001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":173886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:15:04] local.INFO: GPS data processed {"connection_id":173886,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:15:04] local.INFO: Acknowledgment sent {"connection_id":173886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:15:06] local.INFO: TCP Data received {"connection_id":173887,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173887,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:15:06] local.INFO: Processing buffer {"connection_id":173887,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:15:06] local.INFO: IMEI packet received {"connection_id":173887,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 02:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":173887,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:15:35] local.INFO: TCP Data received {"connection_id":173886,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a06e28e910012d34c54006aa42a80010011f23..."} 
[2026-09-05 02:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e28e910012d34c54006aa42a80010011f23..."} 
[2026-09-05 02:15:35] local.INFO: Processing buffer {"connection_id":173886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e28e910012d34c54006aa42a80010011f23..."} 
[2026-09-05 02:15:35] local.INFO: Packet analysis {"connection_id":173886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e28"} 
[2026-09-05 02:15:35] local.INFO: Extracted packet for processing {"connection_id":173886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e28"} 
[2026-09-05 02:15:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":16,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869892864001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:15:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788554570000,"timestamp_ms":1788554570000,"timestamp_seconds":1788554570,"priority":1,"record_length":96,"hex_timestamp":"000001a06e28e910"} 
[2026-09-05 02:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:15:35] 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-09-05 02:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 02:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869892864001,"66":25625,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869892864001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:15:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869892864001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":173886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:15:35] local.INFO: GPS data processed {"connection_id":173886,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:15:35] local.INFO: Acknowledgment sent {"connection_id":173886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:15:37] local.INFO: TCP Data received {"connection_id":172608,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172608,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:15:37] local.INFO: Processing buffer {"connection_id":172608,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:15:37] local.INFO: IMEI packet received {"connection_id":172608,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 02:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":172608,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:16:03] local.INFO: TCP Data received {"connection_id":171495,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:16:03] local.INFO: Processing buffer {"connection_id":171495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:16:03] local.INFO: IMEI packet received {"connection_id":171495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":171495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:16:08] local.INFO: TCP Data received {"connection_id":171495,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:16:08] local.INFO: Processing buffer {"connection_id":171495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:16:08] local.INFO: IMEI packet received {"connection_id":171495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":171495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:16:09] local.INFO: TCP Data received {"connection_id":171495,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e28e910012d34c54006aa42a80010011f23..."} 
[2026-09-05 02:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e28e910012d34c54006aa42a80010011f23..."} 
[2026-09-05 02:16:09] local.INFO: Processing buffer {"connection_id":171495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e28e910012d34c54006aa42a80010011f23..."} 
[2026-09-05 02:16:09] local.INFO: Packet analysis {"connection_id":171495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e28"} 
[2026-09-05 02:16:09] local.INFO: Extracted packet for processing {"connection_id":171495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e28"} 
[2026-09-05 02:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":16,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869892864001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:16:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788554570000,"timestamp_ms":1788554570000,"timestamp_seconds":1788554570,"priority":1,"record_length":96,"hex_timestamp":"000001a06e28e910"} 
[2026-09-05 02:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:16: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-09-05 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 02:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869892864001,"66":25625,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869892864001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:16:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869892864001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":171495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:16:09] local.INFO: GPS data processed {"connection_id":171495,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:16:09] local.INFO: Acknowledgment sent {"connection_id":171495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:16:13] local.INFO: TCP Data received {"connection_id":171495,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e28e910012d34c54006aa42a80010011f23..."} 
[2026-09-05 02:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e28e910012d34c54006aa42a80010011f23..."} 
[2026-09-05 02:16:13] local.INFO: Processing buffer {"connection_id":171495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e28e910012d34c54006aa42a80010011f23..."} 
[2026-09-05 02:16:13] local.INFO: Packet analysis {"connection_id":171495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e28"} 
[2026-09-05 02:16:13] local.INFO: Extracted packet for processing {"connection_id":171495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e28"} 
[2026-09-05 02:16:13] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":16,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02:16: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-09-05 02:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869892864001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:16:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788554570000,"timestamp_ms":1788554570000,"timestamp_seconds":1788554570,"priority":1,"record_length":96,"hex_timestamp":"000001a06e28e910"} 
[2026-09-05 02:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 02:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 02:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:16: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-09-05 02:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:16:13] 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-09-05 02:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869892864001,"66":25625,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869892864001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:16:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869892864001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":171495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:16:13] local.INFO: GPS data processed {"connection_id":171495,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:16:13] local.INFO: Acknowledgment sent {"connection_id":171495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:16:58] local.INFO: TCP Data received {"connection_id":173888,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:16:58] local.INFO: Processing buffer {"connection_id":173888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:16:58] local.INFO: IMEI packet received {"connection_id":173888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":173888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:17:02] local.INFO: TCP Data received {"connection_id":173888,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:17:02] local.INFO: Processing buffer {"connection_id":173888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:17:02] local.INFO: IMEI packet received {"connection_id":173888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":173888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:17:08] local.INFO: TCP Data received {"connection_id":173888,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:17:08] local.INFO: Processing buffer {"connection_id":173888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:17:08] local.INFO: IMEI packet received {"connection_id":173888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":173888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:17:09] local.INFO: TCP Data received {"connection_id":173888,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a06e28e910012d34c54006aa42a80010011f23..."} 
[2026-09-05 02:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e28e910012d34c54006aa42a80010011f23..."} 
[2026-09-05 02:17:09] local.INFO: Processing buffer {"connection_id":173888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e28e910012d34c54006aa42a80010011f23..."} 
[2026-09-05 02:17:09] local.INFO: Packet analysis {"connection_id":173888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e28"} 
[2026-09-05 02:17:09] local.INFO: Extracted packet for processing {"connection_id":173888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e28"} 
[2026-09-05 02:17:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":16,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869892864001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:17:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788554570000,"timestamp_ms":1788554570000,"timestamp_seconds":1788554570,"priority":1,"record_length":96,"hex_timestamp":"000001a06e28e910"} 
[2026-09-05 02:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:17: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-09-05 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 02:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:17: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-09-05 02:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869892864001,"66":25625,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869892864001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:17:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869892864001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":173888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:17:09] local.INFO: GPS data processed {"connection_id":173888,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:17:09] local.INFO: Acknowledgment sent {"connection_id":173888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:17:41] local.INFO: TCP Data received {"connection_id":173888,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a06e28e910012d34c54006aa42a80010011f23..."} 
[2026-09-05 02:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e28e910012d34c54006aa42a80010011f23..."} 
[2026-09-05 02:17:41] local.INFO: Processing buffer {"connection_id":173888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e28e910012d34c54006aa42a80010011f23..."} 
[2026-09-05 02:17:41] local.INFO: Packet analysis {"connection_id":173888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e28"} 
[2026-09-05 02:17:41] local.INFO: Extracted packet for processing {"connection_id":173888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e28"} 
[2026-09-05 02:17:41] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":16,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869892864001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:17:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788554570000,"timestamp_ms":1788554570000,"timestamp_seconds":1788554570,"priority":1,"record_length":96,"hex_timestamp":"000001a06e28e910"} 
[2026-09-05 02:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:17: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-09-05 02:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 02:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":173888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":173888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":173888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:17:41] 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-09-05 02:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869892864001,"66":25625,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869892864001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:17:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869892864001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":173888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:17:41] local.INFO: GPS data processed {"connection_id":173888,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:17:41] local.INFO: Acknowledgment sent {"connection_id":173888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:17:58] local.INFO: TCP Data received {"connection_id":171496,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:17:58] local.INFO: Processing buffer {"connection_id":171496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:17:58] local.INFO: IMEI packet received {"connection_id":171496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":171496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:18:03] local.INFO: TCP Data received {"connection_id":171496,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:18:03] local.INFO: Processing buffer {"connection_id":171496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:18:03] local.INFO: IMEI packet received {"connection_id":171496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":171496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:18:04] local.INFO: TCP Data received {"connection_id":171496,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a06e28e910012d34c54006aa42a80010011f23..."} 
[2026-09-05 02:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e28e910012d34c54006aa42a80010011f23..."} 
[2026-09-05 02:18:04] local.INFO: Processing buffer {"connection_id":171496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e28e910012d34c54006aa42a80010011f23..."} 
[2026-09-05 02:18:04] local.INFO: Packet analysis {"connection_id":171496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e28"} 
[2026-09-05 02:18:04] local.INFO: Extracted packet for processing {"connection_id":171496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e28"} 
[2026-09-05 02:18:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":16,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869892864001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:18:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788554570000,"timestamp_ms":1788554570000,"timestamp_seconds":1788554570,"priority":1,"record_length":96,"hex_timestamp":"000001a06e28e910"} 
[2026-09-05 02:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:18: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-09-05 02:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 02: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-09-05 02:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:18: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-09-05 02:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869892864001,"66":25625,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869892864001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:18:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869892864001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":171496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:18:04] local.INFO: GPS data processed {"connection_id":171496,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:18:04] local.INFO: Acknowledgment sent {"connection_id":171496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:18:35] local.INFO: TCP Data received {"connection_id":171496,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a06e2d80d8012d34c54006aa42a80010011f21..."} 
[2026-09-05 02:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e2d80d8012d34c54006aa42a80010011f21..."} 
[2026-09-05 02:18:35] local.INFO: Processing buffer {"connection_id":171496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e2d80d8012d34c54006aa42a80010011f21..."} 
[2026-09-05 02:18:35] local.INFO: Packet analysis {"connection_id":171496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e2d"} 
[2026-09-05 02:18:35] local.INFO: Extracted packet for processing {"connection_id":171496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e2d"} 
[2026-09-05 02:18:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":16,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869969920001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:18:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788554871000,"timestamp_ms":1788554871000,"timestamp_seconds":1788554871,"priority":1,"record_length":96,"hex_timestamp":"000001a06e2d80d8"} 
[2026-09-05 02:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:18:35] 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-09-05 02:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-05 02:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:18:35] 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-09-05 02:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869969920001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869969920001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:18:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869969920001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":171496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:18:35] local.INFO: GPS data processed {"connection_id":171496,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:18:35] local.INFO: Acknowledgment sent {"connection_id":171496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:18:57] local.INFO: TCP Data received {"connection_id":172609,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:18:57] local.INFO: Processing buffer {"connection_id":172609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:18:57] local.INFO: IMEI packet received {"connection_id":172609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":172609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:19:03] local.INFO: TCP Data received {"connection_id":172609,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:19:03] local.INFO: Processing buffer {"connection_id":172609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:19:03] local.INFO: IMEI packet received {"connection_id":172609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":172609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:19:04] local.INFO: TCP Data received {"connection_id":172609,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e2d80d8012d34c54006aa42a80010011f21..."} 
[2026-09-05 02:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e2d80d8012d34c54006aa42a80010011f21..."} 
[2026-09-05 02:19:04] local.INFO: Processing buffer {"connection_id":172609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e2d80d8012d34c54006aa42a80010011f21..."} 
[2026-09-05 02:19:04] local.INFO: Packet analysis {"connection_id":172609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e2d"} 
[2026-09-05 02:19:04] local.INFO: Extracted packet for processing {"connection_id":172609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e2d"} 
[2026-09-05 02:19:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":16,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869969920001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:19:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788554871000,"timestamp_ms":1788554871000,"timestamp_seconds":1788554871,"priority":1,"record_length":96,"hex_timestamp":"000001a06e2d80d8"} 
[2026-09-05 02:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:19: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-09-05 02: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":25,"data_length":795,"current_offset":136} 
[2026-09-05 02:19: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-09-05 02: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-09-05 02:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:19: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-09-05 02:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869969920001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869969920001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:19:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869969920001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":172609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:19:04] local.INFO: GPS data processed {"connection_id":172609,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:19:04] local.INFO: Acknowledgment sent {"connection_id":172609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:19:35] local.INFO: TCP Data received {"connection_id":172609,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e2d80d8012d34c54006aa42a80010011f21..."} 
[2026-09-05 02:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e2d80d8012d34c54006aa42a80010011f21..."} 
[2026-09-05 02:19:35] local.INFO: Processing buffer {"connection_id":172609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e2d80d8012d34c54006aa42a80010011f21..."} 
[2026-09-05 02:19:35] local.INFO: Packet analysis {"connection_id":172609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e2d"} 
[2026-09-05 02:19:35] local.INFO: Extracted packet for processing {"connection_id":172609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e2d"} 
[2026-09-05 02:19:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":16,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869969920001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:19:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788554871000,"timestamp_ms":1788554871000,"timestamp_seconds":1788554871,"priority":1,"record_length":96,"hex_timestamp":"000001a06e2d80d8"} 
[2026-09-05 02:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:19:35] 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-09-05 02:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-05 02:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869969920001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869969920001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:19:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869969920001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":172609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:19:35] local.INFO: GPS data processed {"connection_id":172609,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:19:35] local.INFO: Acknowledgment sent {"connection_id":172609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:19:57] local.INFO: TCP Data received {"connection_id":171497,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:19:57] local.INFO: Processing buffer {"connection_id":171497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:19:57] local.INFO: IMEI packet received {"connection_id":171497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":171497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:20:03] local.INFO: TCP Data received {"connection_id":171497,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:20:03] local.INFO: Processing buffer {"connection_id":171497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:20:03] local.INFO: IMEI packet received {"connection_id":171497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":171497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:20:04] local.INFO: TCP Data received {"connection_id":171497,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e2d80d8012d34c54006aa42a80010011f21..."} 
[2026-09-05 02:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e2d80d8012d34c54006aa42a80010011f21..."} 
[2026-09-05 02:20:04] local.INFO: Processing buffer {"connection_id":171497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e2d80d8012d34c54006aa42a80010011f21..."} 
[2026-09-05 02:20:04] local.INFO: Packet analysis {"connection_id":171497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e2d"} 
[2026-09-05 02:20:04] local.INFO: Extracted packet for processing {"connection_id":171497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e2d"} 
[2026-09-05 02:20:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":16,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869969920001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:20:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788554871000,"timestamp_ms":1788554871000,"timestamp_seconds":1788554871,"priority":1,"record_length":96,"hex_timestamp":"000001a06e2d80d8"} 
[2026-09-05 02:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:20: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-09-05 02: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-05 02:20: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-09-05 02: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-09-05 02:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:20: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-09-05 02:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869969920001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869969920001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:20:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869969920001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":171497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:20:04] local.INFO: GPS data processed {"connection_id":171497,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:20:04] local.INFO: Acknowledgment sent {"connection_id":171497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:20:35] local.INFO: TCP Data received {"connection_id":171497,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e2d80d8012d34c54006aa42a80010011f21..."} 
[2026-09-05 02:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e2d80d8012d34c54006aa42a80010011f21..."} 
[2026-09-05 02:20:35] local.INFO: Processing buffer {"connection_id":171497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e2d80d8012d34c54006aa42a80010011f21..."} 
[2026-09-05 02:20:35] local.INFO: Packet analysis {"connection_id":171497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e2d"} 
[2026-09-05 02:20:35] local.INFO: Extracted packet for processing {"connection_id":171497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e2d"} 
[2026-09-05 02:20:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":16,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869969920001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:20:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788554871000,"timestamp_ms":1788554871000,"timestamp_seconds":1788554871,"priority":1,"record_length":96,"hex_timestamp":"000001a06e2d80d8"} 
[2026-09-05 02:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:20:35] 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-09-05 02:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-05 02:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869969920001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869969920001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:20:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869969920001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":171497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:20:35] local.INFO: GPS data processed {"connection_id":171497,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:20:35] local.INFO: Acknowledgment sent {"connection_id":171497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:20:39] local.INFO: TCP Data received {"connection_id":171191,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171191,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:20:39] local.INFO: Processing buffer {"connection_id":171191,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:20:39] local.INFO: IMEI packet received {"connection_id":171191,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 02:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":171191,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:20:57] local.INFO: TCP Data received {"connection_id":172610,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:20:57] local.INFO: Processing buffer {"connection_id":172610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:20:57] local.INFO: IMEI packet received {"connection_id":172610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":172610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:21:03] local.INFO: TCP Data received {"connection_id":172610,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:21:03] local.INFO: Processing buffer {"connection_id":172610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:21:03] local.INFO: IMEI packet received {"connection_id":172610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":172610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:21:04] local.INFO: TCP Data received {"connection_id":172610,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e2d80d8012d34c54006aa42a80010011f21..."} 
[2026-09-05 02:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e2d80d8012d34c54006aa42a80010011f21..."} 
[2026-09-05 02:21:04] local.INFO: Processing buffer {"connection_id":172610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e2d80d8012d34c54006aa42a80010011f21..."} 
[2026-09-05 02:21:04] local.INFO: Packet analysis {"connection_id":172610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e2d"} 
[2026-09-05 02:21:04] local.INFO: Extracted packet for processing {"connection_id":172610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e2d"} 
[2026-09-05 02:21:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":16,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869969920001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:21:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788554871000,"timestamp_ms":1788554871000,"timestamp_seconds":1788554871,"priority":1,"record_length":96,"hex_timestamp":"000001a06e2d80d8"} 
[2026-09-05 02:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:21: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-09-05 02: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-05 02:21: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-09-05 02: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-09-05 02:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:21: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-09-05 02:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869969920001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869969920001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:21:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869969920001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":172610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:21:04] local.INFO: GPS data processed {"connection_id":172610,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:21:04] local.INFO: Acknowledgment sent {"connection_id":172610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:21:35] local.INFO: TCP Data received {"connection_id":172610,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e2d80d8012d34c54006aa42a80010011f21..."} 
[2026-09-05 02:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e2d80d8012d34c54006aa42a80010011f21..."} 
[2026-09-05 02:21:35] local.INFO: Processing buffer {"connection_id":172610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e2d80d8012d34c54006aa42a80010011f21..."} 
[2026-09-05 02:21:35] local.INFO: Packet analysis {"connection_id":172610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e2d"} 
[2026-09-05 02:21:35] local.INFO: Extracted packet for processing {"connection_id":172610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e2d"} 
[2026-09-05 02:21:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":16,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869969920001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:21:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788554871000,"timestamp_ms":1788554871000,"timestamp_seconds":1788554871,"priority":1,"record_length":96,"hex_timestamp":"000001a06e2d80d8"} 
[2026-09-05 02:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:21:35] 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-09-05 02: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-05 02:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869969920001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869969920001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:21:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869969920001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":172610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:21:35] local.INFO: GPS data processed {"connection_id":172610,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:21:35] local.INFO: Acknowledgment sent {"connection_id":172610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:22:03] local.INFO: TCP Data received {"connection_id":171192,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:22:03] local.INFO: Processing buffer {"connection_id":171192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:22:03] local.INFO: IMEI packet received {"connection_id":171192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":171192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:22:08] local.INFO: TCP Data received {"connection_id":171192,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:22:08] local.INFO: Processing buffer {"connection_id":171192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:22:08] local.INFO: IMEI packet received {"connection_id":171192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":171192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:22:09] local.INFO: TCP Data received {"connection_id":171192,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e2d80d8012d34c54006aa42a80010011f21..."} 
[2026-09-05 02:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e2d80d8012d34c54006aa42a80010011f21..."} 
[2026-09-05 02:22:09] local.INFO: Processing buffer {"connection_id":171192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e2d80d8012d34c54006aa42a80010011f21..."} 
[2026-09-05 02:22:09] local.INFO: Packet analysis {"connection_id":171192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e2d"} 
[2026-09-05 02:22:09] local.INFO: Extracted packet for processing {"connection_id":171192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e2d"} 
[2026-09-05 02:22:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":16,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869969920001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:22:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788554871000,"timestamp_ms":1788554871000,"timestamp_seconds":1788554871,"priority":1,"record_length":96,"hex_timestamp":"000001a06e2d80d8"} 
[2026-09-05 02:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:22: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-09-05 02: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-05 02:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869969920001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869969920001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:22:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869969920001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":171192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:22:09] local.INFO: GPS data processed {"connection_id":171192,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:22:09] local.INFO: Acknowledgment sent {"connection_id":171192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:22:13] local.INFO: TCP Data received {"connection_id":171192,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e2d80d8012d34c54006aa42a80010011f21..."} 
[2026-09-05 02:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e2d80d8012d34c54006aa42a80010011f21..."} 
[2026-09-05 02:22:13] local.INFO: Processing buffer {"connection_id":171192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e2d80d8012d34c54006aa42a80010011f21..."} 
[2026-09-05 02:22:13] local.INFO: Packet analysis {"connection_id":171192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e2d"} 
[2026-09-05 02:22:13] local.INFO: Extracted packet for processing {"connection_id":171192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e2d"} 
[2026-09-05 02:22:13] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":16,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457869969920001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:22:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788554871000,"timestamp_ms":1788554871000,"timestamp_seconds":1788554871,"priority":1,"record_length":96,"hex_timestamp":"000001a06e2d80d8"} 
[2026-09-05 02:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 02:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-05 02:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:22:13] 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-09-05 02:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457869969920001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457869969920001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:22:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457869969920001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":171192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:22:13] local.INFO: GPS data processed {"connection_id":171192,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:22:13] local.INFO: Acknowledgment sent {"connection_id":171192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:22:58] local.INFO: TCP Data received {"connection_id":173889,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:22:58] local.INFO: Processing buffer {"connection_id":173889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:22:58] local.INFO: IMEI packet received {"connection_id":173889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":173889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:23:00] local.INFO: TCP Data received {"connection_id":173889,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:23:00] local.INFO: Processing buffer {"connection_id":173889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:23:00] local.INFO: IMEI packet received {"connection_id":173889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":173889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:23:00] local.INFO: TCP Data received {"connection_id":173889,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e314998012d34c54006aa42a80008011f1d..."} 
[2026-09-05 02:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e314998012d34c54006aa42a80008011f1d..."} 
[2026-09-05 02:23:00] local.INFO: Processing buffer {"connection_id":173889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e314998012d34c54006aa42a80008011f1d..."} 
[2026-09-05 02:23:00] local.INFO: Packet analysis {"connection_id":173889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e31"} 
[2026-09-05 02:23:00] local.INFO: Extracted packet for processing {"connection_id":173889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e31"} 
[2026-09-05 02:23:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821480,"longitude_deg":75.8433088,"latitude_deg":11.182148,"altitude":8,"angle":287,"satellites":29,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa42a8","is_valid_coordinates":true} 
[2026-09-05 02:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870046976001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:23:00] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788555119000,"timestamp_ms":1788555119000,"timestamp_seconds":1788555119,"priority":1,"record_length":96,"hex_timestamp":"000001a06e314998"} 
[2026-09-05 02:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:23:00] 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-09-05 02:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 02:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870046976001,"66":25647,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870046976001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:23:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870046976001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":173889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:23:00] local.INFO: GPS data processed {"connection_id":173889,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:23:00] local.INFO: Acknowledgment sent {"connection_id":173889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:23:32] local.INFO: TCP Data received {"connection_id":173889,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e315168012d34c84006aa41e8000801311e..."} 
[2026-09-05 02:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e315168012d34c84006aa41e8000801311e..."} 
[2026-09-05 02:23:32] local.INFO: Processing buffer {"connection_id":173889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e315168012d34c84006aa41e8000801311e..."} 
[2026-09-05 02:23:32] local.INFO: Packet analysis {"connection_id":173889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e31"} 
[2026-09-05 02:23:32] local.INFO: Extracted packet for processing {"connection_id":173889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e31"} 
[2026-09-05 02:23:32] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111821288,"longitude_deg":75.8433856,"latitude_deg":11.1821288,"altitude":8,"angle":305,"satellites":30,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa41e8","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870110464001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:23:32] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 02:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031491482353664,"note":"Value kept but may cause issues"} 
[2026-09-05 02:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754728448,"note":"Value kept but may cause issues"} 
[2026-09-05 02:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 02:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788555121000,"timestamp_ms":1788555121000,"timestamp_seconds":1788555121,"priority":1,"record_length":96,"hex_timestamp":"000001a06e315168"} 
[2026-09-05 02:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:23: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-09-05 02: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":47,"data_length":795,"current_offset":136} 
[2026-09-05 02:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:23: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-09-05 02:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870110464001,"66":25517,"200":0,"81":23296,"24":0,"16":399031491482353664,"45":3802515857754728448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-05 02:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870110464001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:23:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031491482353664,"km_value":399031491482353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754728448,"description":"Unknown IO ID 45"} 
[2026-09-05 02:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870110464001,"power":25517,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754728448}} 
[2026-09-05 02:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":173889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:23:32] local.INFO: GPS data processed {"connection_id":173889,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:23:32] local.INFO: Acknowledgment sent {"connection_id":173889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:23:56] local.INFO: TCP Data received {"connection_id":171498,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:23:56] local.INFO: Processing buffer {"connection_id":171498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:23:56] local.INFO: IMEI packet received {"connection_id":171498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":171498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:23:57] local.INFO: TCP Data received {"connection_id":171498,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:23:57] local.INFO: Processing buffer {"connection_id":171498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:23:57] local.INFO: IMEI packet received {"connection_id":171498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":171498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:23:58] local.INFO: TCP Data received {"connection_id":171498,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:23:58] local.INFO: Processing buffer {"connection_id":171498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:23:58] local.INFO: IMEI packet received {"connection_id":171498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":171498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:24:02] local.INFO: TCP Data received {"connection_id":171498,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:24:02] local.INFO: Processing buffer {"connection_id":171498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:24:02] local.INFO: IMEI packet received {"connection_id":171498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":171498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:24:03] local.INFO: TCP Data received {"connection_id":171498,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e327e30012d34c40006aa3f900008004424..."} 
[2026-09-05 02:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e327e30012d34c40006aa3f900008004424..."} 
[2026-09-05 02:24:03] local.INFO: Processing buffer {"connection_id":171498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e327e30012d34c40006aa3f900008004424..."} 
[2026-09-05 02:24:03] local.INFO: Packet analysis {"connection_id":171498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e32"} 
[2026-09-05 02:24:03] local.INFO: Extracted packet for processing {"connection_id":171498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e32"} 
[2026-09-05 02:24:03] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111820688,"longitude_deg":75.8432768,"latitude_deg":11.1820688,"altitude":8,"angle":68,"satellites":36,"speed":2,"hex_longitude":"2d34c400","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870130176001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031620331372544,"note":"Value kept but may cause issues"} 
[2026-09-05 02:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545267712,"note":"Value kept but may cause issues"} 
[2026-09-05 02:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788555198000,"timestamp_ms":1788555198000,"timestamp_seconds":1788555198,"priority":1,"record_length":96,"hex_timestamp":"000001a06e327e30"} 
[2026-09-05 02:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:24: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-09-05 02:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 02:24: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-09-05 02: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-09-05 02:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:24: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-09-05 02:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870130176001,"66":27800,"97":206,"81":23296,"24":2,"16":399031620331372544,"45":3802023276545267712},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870130176001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:24:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:24:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031620331372544,"km_value":399031620331372.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545267712,"description":"Unknown IO ID 45"} 
[2026-09-05 02:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870130176001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3802023276545267712}} 
[2026-09-05 02:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":171498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:24:03] local.INFO: GPS data processed {"connection_id":171498,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:24:03] local.INFO: Acknowledgment sent {"connection_id":171498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:24:34] local.INFO: TCP Data received {"connection_id":171498,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e3289e8012d34c48006aa3fb80008005024..."} 
[2026-09-05 02:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e3289e8012d34c48006aa3fb80008005024..."} 
[2026-09-05 02:24:34] local.INFO: Processing buffer {"connection_id":171498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e3289e8012d34c48006aa3fb80008005024..."} 
[2026-09-05 02:24:34] local.INFO: Packet analysis {"connection_id":171498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e32"} 
[2026-09-05 02:24:34] local.INFO: Extracted packet for processing {"connection_id":171498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e32"} 
[2026-09-05 02:24:34] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820728,"longitude_deg":75.8432896,"latitude_deg":11.1820728,"altitude":8,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3fb8","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870130688001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031624626339840,"note":"Value kept but may cause issues"} 
[2026-09-05 02:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033637376,"note":"Value kept but may cause issues"} 
[2026-09-05 02:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788555201000,"timestamp_ms":1788555201000,"timestamp_seconds":1788555201,"priority":1,"record_length":96,"hex_timestamp":"000001a06e3289e8"} 
[2026-09-05 02:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 02: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 02:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:24: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-09-05 02:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870130688001,"66":27919,"97":206,"81":23296,"24":0,"16":399031624626339840,"45":3802164014033637376},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870130688001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:24:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:24:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031624626339840,"km_value":399031624626339.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033637376,"description":"Unknown IO ID 45"} 
[2026-09-05 02:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870130688001,"power":27919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033637376}} 
[2026-09-05 02:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":171498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:24:34] local.INFO: GPS data processed {"connection_id":171498,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:24:34] local.INFO: Acknowledgment sent {"connection_id":171498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:24:58] local.INFO: TCP Data received {"connection_id":173890,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:24:58] local.INFO: Processing buffer {"connection_id":173890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:24:58] local.INFO: IMEI packet received {"connection_id":173890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":173890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:25:02] local.INFO: TCP Data received {"connection_id":173890,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:25:02] local.INFO: Processing buffer {"connection_id":173890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:25:02] local.INFO: IMEI packet received {"connection_id":173890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":173890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:25:03] local.INFO: TCP Data received {"connection_id":173890,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e3295a0012d34c58006aa3fd00008006424..."} 
[2026-09-05 02:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e3295a0012d34c58006aa3fd00008006424..."} 
[2026-09-05 02:25:03] local.INFO: Processing buffer {"connection_id":173890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e3295a0012d34c58006aa3fd00008006424..."} 
[2026-09-05 02:25:03] local.INFO: Packet analysis {"connection_id":173890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e32"} 
[2026-09-05 02:25:03] local.INFO: Extracted packet for processing {"connection_id":173890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e32"} 
[2026-09-05 02:25:03] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820752,"longitude_deg":75.8433152,"latitude_deg":11.1820752,"altitude":8,"angle":100,"satellites":36,"speed":2,"hex_longitude":"2d34c580","hex_latitude":"06aa3fd0","is_valid_coordinates":true} 
[2026-09-05 02:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870131456001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031637511241728,"note":"Value kept but may cause issues"} 
[2026-09-05 02:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522002944,"note":"Value kept but may cause issues"} 
[2026-09-05 02:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788555204000,"timestamp_ms":1788555204000,"timestamp_seconds":1788555204,"priority":1,"record_length":96,"hex_timestamp":"000001a06e3295a0"} 
[2026-09-05 02:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:25: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-09-05 02:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 02:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870131456001,"66":27876,"97":206,"81":23296,"24":2,"16":399031637511241728,"45":3802304751522002944},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870131456001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:25:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:25:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031637511241728,"km_value":399031637511241.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522002944,"description":"Unknown IO ID 45"} 
[2026-09-05 02:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870131456001,"power":27876,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3802304751522002944}} 
[2026-09-05 02:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":173890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:25:03] local.INFO: GPS data processed {"connection_id":173890,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:25:03] local.INFO: Acknowledgment sent {"connection_id":173890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:25:34] local.INFO: TCP Data received {"connection_id":173890,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e329988012d34c58006aa3fc00008007524..."} 
[2026-09-05 02:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e329988012d34c58006aa3fc00008007524..."} 
[2026-09-05 02:25:34] local.INFO: Processing buffer {"connection_id":173890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e329988012d34c58006aa3fc00008007524..."} 
[2026-09-05 02:25:34] local.INFO: Packet analysis {"connection_id":173890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e32"} 
[2026-09-05 02:25:34] local.INFO: Extracted packet for processing {"connection_id":173890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e32"} 
[2026-09-05 02:25:34] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820736,"longitude_deg":75.8433152,"latitude_deg":11.1820736,"altitude":8,"angle":117,"satellites":36,"speed":1,"hex_longitude":"2d34c580","hex_latitude":"06aa3fc0","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870132224001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031637511241728,"note":"Value kept but may cause issues"} 
[2026-09-05 02:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498719744,"note":"Value kept but may cause issues"} 
[2026-09-05 02:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788555205000,"timestamp_ms":1788555205000,"timestamp_seconds":1788555205,"priority":1,"record_length":96,"hex_timestamp":"000001a06e329988"} 
[2026-09-05 02:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 02:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 02:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:25: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-09-05 02:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870132224001,"66":27800,"97":206,"81":23296,"24":1,"16":399031637511241728,"45":3802586226498719744},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870132224001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:25:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:25:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031637511241728,"km_value":399031637511241.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498719744,"description":"Unknown IO ID 45"} 
[2026-09-05 02:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870132224001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3802586226498719744}} 
[2026-09-05 02:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":173890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:25:34] local.INFO: GPS data processed {"connection_id":173890,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:25:34] local.INFO: Acknowledgment sent {"connection_id":173890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:25:57] local.INFO: TCP Data received {"connection_id":171499,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:25:57] local.INFO: Processing buffer {"connection_id":171499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:25:57] local.INFO: IMEI packet received {"connection_id":171499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":171499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:26:01] local.INFO: TCP Data received {"connection_id":171193,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:26:01] local.INFO: Processing buffer {"connection_id":171193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:26:01] local.INFO: IMEI packet received {"connection_id":171193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 02:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":171193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:26:03] local.INFO: TCP Data received {"connection_id":171499,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:26:03] local.INFO: Processing buffer {"connection_id":171499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:26:03] local.INFO: IMEI packet received {"connection_id":171499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":171499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:26:04] local.INFO: TCP Data received {"connection_id":171499,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e32a158012d34c5c006aa3f880008009924..."} 
[2026-09-05 02:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e32a158012d34c5c006aa3f880008009924..."} 
[2026-09-05 02:26:04] local.INFO: Processing buffer {"connection_id":171499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e32a158012d34c5c006aa3f880008009924..."} 
[2026-09-05 02:26:04] local.INFO: Packet analysis {"connection_id":171499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e32"} 
[2026-09-05 02:26:04] local.INFO: Extracted packet for processing {"connection_id":171499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e32"} 
[2026-09-05 02:26:04] local.INFO: GPS Element Parsed {"raw_longitude":758433216,"raw_latitude":111820680,"longitude_deg":75.8433216,"latitude_deg":11.182068,"altitude":8,"angle":153,"satellites":36,"speed":0,"hex_longitude":"2d34c5c0","hex_latitude":"06aa3f88","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870132480001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031641806209024,"note":"Value kept but may cause issues"} 
[2026-09-05 02:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498715648,"note":"Value kept but may cause issues"} 
[2026-09-05 02:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788555207000,"timestamp_ms":1788555207000,"timestamp_seconds":1788555207,"priority":1,"record_length":96,"hex_timestamp":"000001a06e32a158"} 
[2026-09-05 02:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:26: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-09-05 02: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 02:26: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-09-05 02: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-09-05 02:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:26: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-09-05 02:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870132480001,"66":27745,"97":206,"81":23296,"24":0,"16":399031641806209024,"45":3802586226498715648},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870132480001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:26:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:26:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031641806209024,"km_value":399031641806209.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498715648,"description":"Unknown IO ID 45"} 
[2026-09-05 02:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870132480001,"power":27745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498715648}} 
[2026-09-05 02:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":171499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:26:04] local.INFO: GPS data processed {"connection_id":171499,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:26:04] local.INFO: Acknowledgment sent {"connection_id":171499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:26:35] local.INFO: TCP Data received {"connection_id":171499,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e32a540012d34c5c006aa3f58000800a624..."} 
[2026-09-05 02:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e32a540012d34c5c006aa3f58000800a624..."} 
[2026-09-05 02:26:35] local.INFO: Processing buffer {"connection_id":171499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e32a540012d34c5c006aa3f58000800a624..."} 
[2026-09-05 02:26:35] local.INFO: Packet analysis {"connection_id":171499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e32"} 
[2026-09-05 02:26:35] local.INFO: Extracted packet for processing {"connection_id":171499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e32"} 
[2026-09-05 02:26:35] local.INFO: GPS Element Parsed {"raw_longitude":758433216,"raw_latitude":111820632,"longitude_deg":75.8433216,"latitude_deg":11.1820632,"altitude":8,"angle":166,"satellites":36,"speed":2,"hex_longitude":"2d34c5c0","hex_latitude":"06aa3f58","is_valid_coordinates":true} 
[2026-09-05 02:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870132992001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031646101176320,"note":"Value kept but may cause issues"} 
[2026-09-05 02:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595242878976,"note":"Value kept but may cause issues"} 
[2026-09-05 02:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788555208000,"timestamp_ms":1788555208000,"timestamp_seconds":1788555208,"priority":1,"record_length":96,"hex_timestamp":"000001a06e32a540"} 
[2026-09-05 02:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:26:35] 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-09-05 02:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 02:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870132992001,"66":27745,"97":206,"81":23296,"24":2,"16":399031646101176320,"45":3802656595242878976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870132992001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:26:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:26:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031646101176320,"km_value":399031646101176.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595242878976,"description":"Unknown IO ID 45"} 
[2026-09-05 02:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870132992001,"power":27745,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3802656595242878976}} 
[2026-09-05 02:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":171499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:26:35] local.INFO: GPS data processed {"connection_id":171499,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:26:35] local.INFO: Acknowledgment sent {"connection_id":171499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:26:57] local.INFO: TCP Data received {"connection_id":171194,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:26:57] local.INFO: Processing buffer {"connection_id":171194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:26:57] local.INFO: IMEI packet received {"connection_id":171194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":171194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:27:02] local.INFO: TCP Data received {"connection_id":171194,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:27:02] local.INFO: Processing buffer {"connection_id":171194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:27:02] local.INFO: IMEI packet received {"connection_id":171194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":171194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:27:03] local.INFO: TCP Data received {"connection_id":171194,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e32c098012d34c60006aa3eb80008009b22..."} 
[2026-09-05 02:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e32c098012d34c60006aa3eb80008009b22..."} 
[2026-09-05 02:27:03] local.INFO: Processing buffer {"connection_id":171194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e32c098012d34c60006aa3eb80008009b22..."} 
[2026-09-05 02:27:03] local.INFO: Packet analysis {"connection_id":171194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e32"} 
[2026-09-05 02:27:03] local.INFO: Extracted packet for processing {"connection_id":171194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e32"} 
[2026-09-05 02:27:03] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111820472,"longitude_deg":75.843328,"latitude_deg":11.1820472,"altitude":8,"angle":155,"satellites":34,"speed":0,"hex_longitude":"2d34c600","hex_latitude":"06aa3eb8","is_valid_coordinates":true} 
[2026-09-05 02:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870133248001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031658986078208,"note":"Value kept but may cause issues"} 
[2026-09-05 02:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595242866688,"note":"Value kept but may cause issues"} 
[2026-09-05 02:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788555215000,"timestamp_ms":1788555215000,"timestamp_seconds":1788555215,"priority":1,"record_length":96,"hex_timestamp":"000001a06e32c098"} 
[2026-09-05 02:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:27: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-09-05 02:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 02:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:27: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-09-05 02:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870133248001,"66":27800,"97":206,"81":23296,"24":0,"16":399031658986078208,"45":3802656595242866688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870133248001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:27:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:27:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031658986078208,"km_value":399031658986078.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595242866688,"description":"Unknown IO ID 45"} 
[2026-09-05 02:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870133248001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802656595242866688}} 
[2026-09-05 02:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":171194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:27:03] local.INFO: GPS data processed {"connection_id":171194,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:27:03] local.INFO: Acknowledgment sent {"connection_id":171194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:27:35] local.INFO: TCP Data received {"connection_id":171194,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e32c868012d34c60006aa3e580008009b23..."} 
[2026-09-05 02:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e32c868012d34c60006aa3e580008009b23..."} 
[2026-09-05 02:27:35] local.INFO: Processing buffer {"connection_id":171194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e32c868012d34c60006aa3e580008009b23..."} 
[2026-09-05 02:27:35] local.INFO: Packet analysis {"connection_id":171194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e32"} 
[2026-09-05 02:27:35] local.INFO: Extracted packet for processing {"connection_id":171194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e32"} 
[2026-09-05 02:27:35] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111820376,"longitude_deg":75.843328,"latitude_deg":11.1820376,"altitude":8,"angle":155,"satellites":35,"speed":2,"hex_longitude":"2d34c600","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-05 02:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870135040001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987003392,"note":"Value kept but may cause issues"} 
[2026-09-05 02:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788555217000,"timestamp_ms":1788555217000,"timestamp_seconds":1788555217,"priority":1,"record_length":96,"hex_timestamp":"000001a06e32c868"} 
[2026-09-05 02:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:27:35] 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-09-05 02:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 02:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870135040001,"66":27821,"97":206,"81":23296,"24":2,"16":399031663281045504,"45":3802726963987003392},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870135040001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:27:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:27:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987003392,"description":"Unknown IO ID 45"} 
[2026-09-05 02:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870135040001,"power":27821,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3802726963987003392}} 
[2026-09-05 02:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":171194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:27:35] local.INFO: GPS data processed {"connection_id":171194,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:27:35] local.INFO: Acknowledgment sent {"connection_id":171194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:28:03] local.INFO: TCP Data received {"connection_id":173891,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:28:03] local.INFO: Processing buffer {"connection_id":173891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:28:03] local.INFO: IMEI packet received {"connection_id":173891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":173891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:28:07] local.INFO: TCP Data received {"connection_id":173891,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:28:07] local.INFO: Processing buffer {"connection_id":173891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:28:07] local.INFO: IMEI packet received {"connection_id":173891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":173891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:28:08] local.INFO: TCP Data received {"connection_id":173891,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e32d420012d34c68006aa3db00008008623..."} 
[2026-09-05 02:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e32d420012d34c68006aa3db00008008623..."} 
[2026-09-05 02:28:08] local.INFO: Processing buffer {"connection_id":173891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e32d420012d34c68006aa3db00008008623..."} 
[2026-09-05 02:28:08] local.INFO: Packet analysis {"connection_id":173891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e32"} 
[2026-09-05 02:28:08] local.INFO: Extracted packet for processing {"connection_id":173891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e32"} 
[2026-09-05 02:28:08] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111820208,"longitude_deg":75.8433408,"latitude_deg":11.1820208,"altitude":8,"angle":134,"satellites":35,"speed":1,"hex_longitude":"2d34c680","hex_latitude":"06aa3db0","is_valid_coordinates":true} 
[2026-09-05 02:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870135552001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963986978816,"note":"Value kept but may cause issues"} 
[2026-09-05 02:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788555220000,"timestamp_ms":1788555220000,"timestamp_seconds":1788555220,"priority":1,"record_length":96,"hex_timestamp":"000001a06e32d420"} 
[2026-09-05 02:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:28: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-09-05 02:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 02:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:28:08] 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-09-05 02:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870135552001,"66":27484,"97":206,"81":23296,"24":1,"16":399031663281045504,"45":3802726963986978816},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870135552001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:28:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:28:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963986978816,"description":"Unknown IO ID 45"} 
[2026-09-05 02:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870135552001,"power":27484,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3802726963986978816}} 
[2026-09-05 02:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":173891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:28:08] local.INFO: GPS data processed {"connection_id":173891,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:28:08] local.INFO: Acknowledgment sent {"connection_id":173891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:28:13] local.INFO: TCP Data received {"connection_id":173891,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e32d420012d34c68006aa3db00008008623..."} 
[2026-09-05 02:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e32d420012d34c68006aa3db00008008623..."} 
[2026-09-05 02:28:13] local.INFO: Processing buffer {"connection_id":173891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e32d420012d34c68006aa3db00008008623..."} 
[2026-09-05 02:28:13] local.INFO: Packet analysis {"connection_id":173891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e32"} 
[2026-09-05 02:28:13] local.INFO: Extracted packet for processing {"connection_id":173891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e32"} 
[2026-09-05 02:28:13] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111820208,"longitude_deg":75.8433408,"latitude_deg":11.1820208,"altitude":8,"angle":134,"satellites":35,"speed":1,"hex_longitude":"2d34c680","hex_latitude":"06aa3db0","is_valid_coordinates":true} 
[2026-09-05 02:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870135552001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963986978816,"note":"Value kept but may cause issues"} 
[2026-09-05 02:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788555220000,"timestamp_ms":1788555220000,"timestamp_seconds":1788555220,"priority":1,"record_length":96,"hex_timestamp":"000001a06e32d420"} 
[2026-09-05 02:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 02:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 02:28:13] 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-09-05 02:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":173891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":173891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":173891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:28:13] 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-09-05 02:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870135552001,"66":27484,"97":206,"81":23296,"24":1,"16":399031663281045504,"45":3802726963986978816},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870135552001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:28:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:28:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963986978816,"description":"Unknown IO ID 45"} 
[2026-09-05 02:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870135552001,"power":27484,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3802726963986978816}} 
[2026-09-05 02:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":173891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:28:13] local.INFO: GPS data processed {"connection_id":173891,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:28:13] local.INFO: Acknowledgment sent {"connection_id":173891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:28:58] local.INFO: TCP Data received {"connection_id":171195,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:28:58] local.INFO: Processing buffer {"connection_id":171195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:28:58] local.INFO: IMEI packet received {"connection_id":171195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":171195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:29:03] local.INFO: TCP Data received {"connection_id":171195,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:29:03] local.INFO: Processing buffer {"connection_id":171195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:29:03] local.INFO: IMEI packet received {"connection_id":171195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":171195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:29:04] local.INFO: TCP Data received {"connection_id":171195,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e32d420012d34c68006aa3db00008008623..."} 
[2026-09-05 02:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e32d420012d34c68006aa3db00008008623..."} 
[2026-09-05 02:29:04] local.INFO: Processing buffer {"connection_id":171195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e32d420012d34c68006aa3db00008008623..."} 
[2026-09-05 02:29:04] local.INFO: Packet analysis {"connection_id":171195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e32"} 
[2026-09-05 02:29:04] local.INFO: Extracted packet for processing {"connection_id":171195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e32"} 
[2026-09-05 02:29:04] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111820208,"longitude_deg":75.8433408,"latitude_deg":11.1820208,"altitude":8,"angle":134,"satellites":35,"speed":1,"hex_longitude":"2d34c680","hex_latitude":"06aa3db0","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870135552001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963986978816,"note":"Value kept but may cause issues"} 
[2026-09-05 02:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788555220000,"timestamp_ms":1788555220000,"timestamp_seconds":1788555220,"priority":1,"record_length":96,"hex_timestamp":"000001a06e32d420"} 
[2026-09-05 02:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:29: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-09-05 02: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 02:29: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-09-05 02: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-09-05 02:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:29: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-09-05 02:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870135552001,"66":27484,"97":206,"81":23296,"24":1,"16":399031663281045504,"45":3802726963986978816},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870135552001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:29:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:29:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963986978816,"description":"Unknown IO ID 45"} 
[2026-09-05 02:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870135552001,"power":27484,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3802726963986978816}} 
[2026-09-05 02:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":171195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:29:04] local.INFO: GPS data processed {"connection_id":171195,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:29:04] local.INFO: Acknowledgment sent {"connection_id":171195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:29:35] local.INFO: TCP Data received {"connection_id":171195,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e01000001a06e376be8012d34c9c006aa3d28000200801d..."} 
[2026-09-05 02:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171195,"packet_length":93,"packet_hex":"00000000000000518e01000001a06e376be8012d34c9c006aa3d28000200801d..."} 
[2026-09-05 02:29:35] local.INFO: Processing buffer {"connection_id":171195,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a06e376be8012d34c9c006aa3d28000200801d..."} 
[2026-09-05 02:29:35] local.INFO: Packet analysis {"connection_id":171195,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a06e37"} 
[2026-09-05 02:29:35] local.INFO: Extracted packet for processing {"connection_id":171195,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a06e37"} 
[2026-09-05 02:29:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":2,"angle":128,"satellites":29,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02: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":93,"current_offset":40} 
[2026-09-05 02:29:35] 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-09-05 02:29:35] 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-09-05 02:29:35] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:29:35] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 02:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171195,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-05 02:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171195,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-05 02:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171195,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-05 02:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 02:29:35] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 02:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":171195,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 02:29:35] local.ERROR: GPS data processing failed {"connection_id":171195,"error":"No valid data to process"} 
[2026-09-05 02:29:35] local.INFO: Acknowledgment sent {"connection_id":171195,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 02:29:57] local.INFO: TCP Data received {"connection_id":173892,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:29:57] local.INFO: Processing buffer {"connection_id":173892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:29:57] local.INFO: IMEI packet received {"connection_id":173892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":173892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:30:03] local.INFO: TCP Data received {"connection_id":173892,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:30:03] local.INFO: Processing buffer {"connection_id":173892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:30:03] local.INFO: IMEI packet received {"connection_id":173892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":173892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:30:04] local.INFO: TCP Data received {"connection_id":173892,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e376be8012d34c9c006aa3d28000200801d..."} 
[2026-09-05 02:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e376be8012d34c9c006aa3d28000200801d..."} 
[2026-09-05 02:30:04] local.INFO: Processing buffer {"connection_id":173892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e376be8012d34c9c006aa3d28000200801d..."} 
[2026-09-05 02:30:04] local.INFO: Packet analysis {"connection_id":173892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e37"} 
[2026-09-05 02:30:04] local.INFO: Extracted packet for processing {"connection_id":173892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e37"} 
[2026-09-05 02:30:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":2,"angle":128,"satellites":29,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870136320001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475291136,"note":"Value kept but may cause issues"} 
[2026-09-05 02:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788555521000,"timestamp_ms":1788555521000,"timestamp_seconds":1788555521,"priority":1,"record_length":96,"hex_timestamp":"000001a06e376be8"} 
[2026-09-05 02:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:30: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-09-05 02:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 02: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-09-05 02:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:30: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-09-05 02:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870136320001,"66":26321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3802867701475291136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870136320001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:30:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:30:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475291136,"description":"Unknown IO ID 45"} 
[2026-09-05 02:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870136320001,"power":26321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802867701475291136}} 
[2026-09-05 02:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":173892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:30:04] local.INFO: GPS data processed {"connection_id":173892,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:30:04] local.INFO: Acknowledgment sent {"connection_id":173892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:30:35] local.INFO: TCP Data received {"connection_id":173892,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e376be8012d34c9c006aa3d28000200801d..."} 
[2026-09-05 02:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e376be8012d34c9c006aa3d28000200801d..."} 
[2026-09-05 02:30:35] local.INFO: Processing buffer {"connection_id":173892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e376be8012d34c9c006aa3d28000200801d..."} 
[2026-09-05 02:30:35] local.INFO: Packet analysis {"connection_id":173892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e37"} 
[2026-09-05 02:30:35] local.INFO: Extracted packet for processing {"connection_id":173892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e37"} 
[2026-09-05 02:30:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":2,"angle":128,"satellites":29,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870136320001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475291136,"note":"Value kept but may cause issues"} 
[2026-09-05 02:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788555521000,"timestamp_ms":1788555521000,"timestamp_seconds":1788555521,"priority":1,"record_length":96,"hex_timestamp":"000001a06e376be8"} 
[2026-09-05 02:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:30:35] 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-09-05 02:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 02:30:35] 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-09-05 02:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870136320001,"66":26321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3802867701475291136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870136320001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:30:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:30:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475291136,"description":"Unknown IO ID 45"} 
[2026-09-05 02:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870136320001,"power":26321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802867701475291136}} 
[2026-09-05 02:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":173892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:30:35] local.INFO: GPS data processed {"connection_id":173892,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:30:35] local.INFO: Acknowledgment sent {"connection_id":173892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:30:57] local.INFO: TCP Data received {"connection_id":171197,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:30:57] local.INFO: Processing buffer {"connection_id":171197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:30:57] local.INFO: IMEI packet received {"connection_id":171197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":171197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:31:03] local.INFO: TCP Data received {"connection_id":171197,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:31:03] local.INFO: Processing buffer {"connection_id":171197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:31:03] local.INFO: IMEI packet received {"connection_id":171197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":171197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:31:04] local.INFO: TCP Data received {"connection_id":171197,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e376be8012d34c9c006aa3d28000200801d..."} 
[2026-09-05 02:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e376be8012d34c9c006aa3d28000200801d..."} 
[2026-09-05 02:31:04] local.INFO: Processing buffer {"connection_id":171197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e376be8012d34c9c006aa3d28000200801d..."} 
[2026-09-05 02:31:04] local.INFO: Packet analysis {"connection_id":171197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e37"} 
[2026-09-05 02:31:04] local.INFO: Extracted packet for processing {"connection_id":171197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e37"} 
[2026-09-05 02:31:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":2,"angle":128,"satellites":29,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870136320001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475291136,"note":"Value kept but may cause issues"} 
[2026-09-05 02:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788555521000,"timestamp_ms":1788555521000,"timestamp_seconds":1788555521,"priority":1,"record_length":96,"hex_timestamp":"000001a06e376be8"} 
[2026-09-05 02:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:31: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-09-05 02: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":92,"data_length":795,"current_offset":136} 
[2026-09-05 02:31: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-09-05 02: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-09-05 02:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:31: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-09-05 02:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870136320001,"66":26321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3802867701475291136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870136320001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:31:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:31:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475291136,"description":"Unknown IO ID 45"} 
[2026-09-05 02:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870136320001,"power":26321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802867701475291136}} 
[2026-09-05 02:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":171197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:31:04] local.INFO: GPS data processed {"connection_id":171197,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:31:04] local.INFO: Acknowledgment sent {"connection_id":171197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:31:35] local.INFO: TCP Data received {"connection_id":171197,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e376be8012d34c9c006aa3d28000200801d..."} 
[2026-09-05 02:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e376be8012d34c9c006aa3d28000200801d..."} 
[2026-09-05 02:31:35] local.INFO: Processing buffer {"connection_id":171197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e376be8012d34c9c006aa3d28000200801d..."} 
[2026-09-05 02:31:35] local.INFO: Packet analysis {"connection_id":171197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e37"} 
[2026-09-05 02:31:35] local.INFO: Extracted packet for processing {"connection_id":171197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e37"} 
[2026-09-05 02:31:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":2,"angle":128,"satellites":29,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870136320001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475291136,"note":"Value kept but may cause issues"} 
[2026-09-05 02:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788555521000,"timestamp_ms":1788555521000,"timestamp_seconds":1788555521,"priority":1,"record_length":96,"hex_timestamp":"000001a06e376be8"} 
[2026-09-05 02:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:31:35] 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-09-05 02: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 02:31:35] 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-09-05 02: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-09-05 02:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870136320001,"66":26321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3802867701475291136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870136320001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:31:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:31:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475291136,"description":"Unknown IO ID 45"} 
[2026-09-05 02:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870136320001,"power":26321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802867701475291136}} 
[2026-09-05 02:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":171197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:31:35] local.INFO: GPS data processed {"connection_id":171197,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:31:35] local.INFO: Acknowledgment sent {"connection_id":171197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:31:36] local.INFO: TCP Data received {"connection_id":171196,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171196,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:31:36] local.INFO: Processing buffer {"connection_id":171196,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:31:36] local.INFO: IMEI packet received {"connection_id":171196,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 02:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":171196,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:31:57] local.INFO: TCP Data received {"connection_id":172611,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:31:57] local.INFO: Processing buffer {"connection_id":172611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:31:57] local.INFO: IMEI packet received {"connection_id":172611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":172611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:32:03] local.INFO: TCP Data received {"connection_id":172611,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:32:03] local.INFO: Processing buffer {"connection_id":172611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:32:03] local.INFO: IMEI packet received {"connection_id":172611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":172611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:32:04] local.INFO: TCP Data received {"connection_id":172611,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e376be8012d34c9c006aa3d28000200801d..."} 
[2026-09-05 02:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e376be8012d34c9c006aa3d28000200801d..."} 
[2026-09-05 02:32:04] local.INFO: Processing buffer {"connection_id":172611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e376be8012d34c9c006aa3d28000200801d..."} 
[2026-09-05 02:32:04] local.INFO: Packet analysis {"connection_id":172611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e37"} 
[2026-09-05 02:32:04] local.INFO: Extracted packet for processing {"connection_id":172611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e37"} 
[2026-09-05 02:32:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":2,"angle":128,"satellites":29,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870136320001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475291136,"note":"Value kept but may cause issues"} 
[2026-09-05 02:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788555521000,"timestamp_ms":1788555521000,"timestamp_seconds":1788555521,"priority":1,"record_length":96,"hex_timestamp":"000001a06e376be8"} 
[2026-09-05 02:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:32: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-09-05 02: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 02:32: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-09-05 02: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-09-05 02:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:32: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-09-05 02:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870136320001,"66":26321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3802867701475291136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870136320001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:32:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:32:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475291136,"description":"Unknown IO ID 45"} 
[2026-09-05 02:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870136320001,"power":26321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802867701475291136}} 
[2026-09-05 02:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":172611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:32:04] local.INFO: GPS data processed {"connection_id":172611,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:32:04] local.INFO: Acknowledgment sent {"connection_id":172611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:32:35] local.INFO: TCP Data received {"connection_id":172611,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e376be8012d34c9c006aa3d28000200801d..."} 
[2026-09-05 02:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e376be8012d34c9c006aa3d28000200801d..."} 
[2026-09-05 02:32:35] local.INFO: Processing buffer {"connection_id":172611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e376be8012d34c9c006aa3d28000200801d..."} 
[2026-09-05 02:32:35] local.INFO: Packet analysis {"connection_id":172611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e37"} 
[2026-09-05 02:32:35] local.INFO: Extracted packet for processing {"connection_id":172611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e37"} 
[2026-09-05 02:32:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":2,"angle":128,"satellites":29,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870136320001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475291136,"note":"Value kept but may cause issues"} 
[2026-09-05 02:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788555521000,"timestamp_ms":1788555521000,"timestamp_seconds":1788555521,"priority":1,"record_length":96,"hex_timestamp":"000001a06e376be8"} 
[2026-09-05 02:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:32:35] 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-09-05 02: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 02:32:35] 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-09-05 02: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-09-05 02:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870136320001,"66":26321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3802867701475291136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870136320001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:32:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:32:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475291136,"description":"Unknown IO ID 45"} 
[2026-09-05 02:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870136320001,"power":26321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802867701475291136}} 
[2026-09-05 02:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":172611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:32:35] local.INFO: GPS data processed {"connection_id":172611,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:32:35] local.INFO: Acknowledgment sent {"connection_id":172611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:33:03] local.INFO: TCP Data received {"connection_id":171500,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:33:03] local.INFO: Processing buffer {"connection_id":171500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:33:03] local.INFO: IMEI packet received {"connection_id":171500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":171500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:33:08] local.INFO: TCP Data received {"connection_id":171500,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:33:08] local.INFO: Processing buffer {"connection_id":171500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:33:08] local.INFO: IMEI packet received {"connection_id":171500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":171500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:33:09] local.INFO: TCP Data received {"connection_id":171500,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e376be8012d34c9c006aa3d28000200801d..."} 
[2026-09-05 02:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e376be8012d34c9c006aa3d28000200801d..."} 
[2026-09-05 02:33:09] local.INFO: Processing buffer {"connection_id":171500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e376be8012d34c9c006aa3d28000200801d..."} 
[2026-09-05 02:33:09] local.INFO: Packet analysis {"connection_id":171500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e37"} 
[2026-09-05 02:33:09] local.INFO: Extracted packet for processing {"connection_id":171500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e37"} 
[2026-09-05 02:33:09] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":2,"angle":128,"satellites":29,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870136320001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475291136,"note":"Value kept but may cause issues"} 
[2026-09-05 02:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788555521000,"timestamp_ms":1788555521000,"timestamp_seconds":1788555521,"priority":1,"record_length":96,"hex_timestamp":"000001a06e376be8"} 
[2026-09-05 02:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:33: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-09-05 02:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 02:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870136320001,"66":26321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3802867701475291136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870136320001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:33:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:33:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475291136,"description":"Unknown IO ID 45"} 
[2026-09-05 02:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870136320001,"power":26321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802867701475291136}} 
[2026-09-05 02:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":171500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:33:09] local.INFO: GPS data processed {"connection_id":171500,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:33:09] local.INFO: Acknowledgment sent {"connection_id":171500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:33:13] local.INFO: TCP Data received {"connection_id":171500,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e376be8012d34c9c006aa3d28000200801d..."} 
[2026-09-05 02:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e376be8012d34c9c006aa3d28000200801d..."} 
[2026-09-05 02:33:13] local.INFO: Processing buffer {"connection_id":171500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e376be8012d34c9c006aa3d28000200801d..."} 
[2026-09-05 02:33:13] local.INFO: Packet analysis {"connection_id":171500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e37"} 
[2026-09-05 02:33:13] local.INFO: Extracted packet for processing {"connection_id":171500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e37"} 
[2026-09-05 02:33:13] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":2,"angle":128,"satellites":29,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870136320001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475291136,"note":"Value kept but may cause issues"} 
[2026-09-05 02:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788555521000,"timestamp_ms":1788555521000,"timestamp_seconds":1788555521,"priority":1,"record_length":96,"hex_timestamp":"000001a06e376be8"} 
[2026-09-05 02:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 02:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 02:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:33:13] 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-09-05 02:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870136320001,"66":26321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3802867701475291136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870136320001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:33:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:33:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475291136,"description":"Unknown IO ID 45"} 
[2026-09-05 02:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870136320001,"power":26321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802867701475291136}} 
[2026-09-05 02:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":171500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:33:13] local.INFO: GPS data processed {"connection_id":171500,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:33:13] local.INFO: Acknowledgment sent {"connection_id":171500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:33:58] local.INFO: TCP Data received {"connection_id":173893,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:33:58] local.INFO: Processing buffer {"connection_id":173893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:33:58] local.INFO: IMEI packet received {"connection_id":173893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":173893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:34:03] local.INFO: TCP Data received {"connection_id":173893,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:34:03] local.INFO: Processing buffer {"connection_id":173893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:34:03] local.INFO: IMEI packet received {"connection_id":173893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":173893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:34:04] local.INFO: TCP Data received {"connection_id":173893,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e376be8012d34c9c006aa3d28000200801d..."} 
[2026-09-05 02:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e376be8012d34c9c006aa3d28000200801d..."} 
[2026-09-05 02:34:04] local.INFO: Processing buffer {"connection_id":173893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e376be8012d34c9c006aa3d28000200801d..."} 
[2026-09-05 02:34:04] local.INFO: Packet analysis {"connection_id":173893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e37"} 
[2026-09-05 02:34:04] local.INFO: Extracted packet for processing {"connection_id":173893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e37"} 
[2026-09-05 02:34:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":2,"angle":128,"satellites":29,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870136320001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475291136,"note":"Value kept but may cause issues"} 
[2026-09-05 02:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788555521000,"timestamp_ms":1788555521000,"timestamp_seconds":1788555521,"priority":1,"record_length":96,"hex_timestamp":"000001a06e376be8"} 
[2026-09-05 02:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:34: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-09-05 02: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 02:34: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-09-05 02: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-09-05 02:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:34: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-09-05 02:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870136320001,"66":26321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3802867701475291136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870136320001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:34:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:34:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475291136,"description":"Unknown IO ID 45"} 
[2026-09-05 02:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870136320001,"power":26321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802867701475291136}} 
[2026-09-05 02:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":173893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:34:04] local.INFO: GPS data processed {"connection_id":173893,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:34:04] local.INFO: Acknowledgment sent {"connection_id":173893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:34:35] local.INFO: TCP Data received {"connection_id":173893,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e3c03b0012d34c9c006aa3d28000e008020..."} 
[2026-09-05 02:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e3c03b0012d34c9c006aa3d28000e008020..."} 
[2026-09-05 02:34:35] local.INFO: Processing buffer {"connection_id":173893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e3c03b0012d34c9c006aa3d28000e008020..."} 
[2026-09-05 02:34:35] local.INFO: Packet analysis {"connection_id":173893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e3c"} 
[2026-09-05 02:34:35] local.INFO: Extracted packet for processing {"connection_id":173893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e3c"} 
[2026-09-05 02:34:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":14,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870213376001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788555822000,"timestamp_ms":1788555822000,"timestamp_seconds":1788555822,"priority":1,"record_length":96,"hex_timestamp":"000001a06e3c03b0"} 
[2026-09-05 02:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:34:35] 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-09-05 02:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-05 02:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870213376001,"66":26115,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870213376001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:34:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:34:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870213376001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":173893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:34:35] local.INFO: GPS data processed {"connection_id":173893,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:34:35] local.INFO: Acknowledgment sent {"connection_id":173893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:34:57] local.INFO: TCP Data received {"connection_id":172612,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:34:57] local.INFO: Processing buffer {"connection_id":172612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:34:57] local.INFO: IMEI packet received {"connection_id":172612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":172612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:35:03] local.INFO: TCP Data received {"connection_id":172612,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:35:03] local.INFO: Processing buffer {"connection_id":172612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:35:03] local.INFO: IMEI packet received {"connection_id":172612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":172612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:35:03] local.INFO: TCP Data received {"connection_id":172612,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e3c03b0012d34c9c006aa3d28000e008020..."} 
[2026-09-05 02:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e3c03b0012d34c9c006aa3d28000e008020..."} 
[2026-09-05 02:35:03] local.INFO: Processing buffer {"connection_id":172612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e3c03b0012d34c9c006aa3d28000e008020..."} 
[2026-09-05 02:35:03] local.INFO: Packet analysis {"connection_id":172612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e3c"} 
[2026-09-05 02:35:03] local.INFO: Extracted packet for processing {"connection_id":172612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e3c"} 
[2026-09-05 02:35:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":14,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870213376001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788555822000,"timestamp_ms":1788555822000,"timestamp_seconds":1788555822,"priority":1,"record_length":96,"hex_timestamp":"000001a06e3c03b0"} 
[2026-09-05 02:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:35: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-09-05 02: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-05 02:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:35: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-09-05 02:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870213376001,"66":26115,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870213376001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:35:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:35:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870213376001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":172612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:35:03] local.INFO: GPS data processed {"connection_id":172612,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:35:03] local.INFO: Acknowledgment sent {"connection_id":172612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:35:35] local.INFO: TCP Data received {"connection_id":172612,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a06e3c03b0012d34c9c006aa3d28000e008020..."} 
[2026-09-05 02:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e3c03b0012d34c9c006aa3d28000e008020..."} 
[2026-09-05 02:35:35] local.INFO: Processing buffer {"connection_id":172612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e3c03b0012d34c9c006aa3d28000e008020..."} 
[2026-09-05 02:35:35] local.INFO: Packet analysis {"connection_id":172612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e3c"} 
[2026-09-05 02:35:35] local.INFO: Extracted packet for processing {"connection_id":172612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e3c"} 
[2026-09-05 02:35:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":14,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870213376001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788555822000,"timestamp_ms":1788555822000,"timestamp_seconds":1788555822,"priority":1,"record_length":96,"hex_timestamp":"000001a06e3c03b0"} 
[2026-09-05 02:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:35:35] 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-09-05 02: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-05 02:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870213376001,"66":26115,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870213376001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:35:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:35:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870213376001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":172612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:35:35] local.INFO: GPS data processed {"connection_id":172612,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:35:35] local.INFO: Acknowledgment sent {"connection_id":172612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:35:57] local.INFO: TCP Data received {"connection_id":172614,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:35:57] local.INFO: Processing buffer {"connection_id":172614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:35:57] local.INFO: IMEI packet received {"connection_id":172614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":172614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:36:03] local.INFO: TCP Data received {"connection_id":172614,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:36:03] local.INFO: Processing buffer {"connection_id":172614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:36:03] local.INFO: IMEI packet received {"connection_id":172614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":172614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:36:04] local.INFO: TCP Data received {"connection_id":172614,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06e3c03b0012d34c9c006aa3d28000e008020..."} 
[2026-09-05 02:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e3c03b0012d34c9c006aa3d28000e008020..."} 
[2026-09-05 02:36:04] local.INFO: Processing buffer {"connection_id":172614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e3c03b0012d34c9c006aa3d28000e008020..."} 
[2026-09-05 02:36:04] local.INFO: Packet analysis {"connection_id":172614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e3c"} 
[2026-09-05 02:36:04] local.INFO: Extracted packet for processing {"connection_id":172614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e3c"} 
[2026-09-05 02:36:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":14,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 02:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870213376001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788555822000,"timestamp_ms":1788555822000,"timestamp_seconds":1788555822,"priority":1,"record_length":96,"hex_timestamp":"000001a06e3c03b0"} 
[2026-09-05 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-09-05 02:36: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-09-05 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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-05 02:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 02:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:36: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-09-05 02:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870213376001,"66":26115,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870213376001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:36:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:36:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870213376001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":172614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:36:04] local.INFO: GPS data processed {"connection_id":172614,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:36:04] local.INFO: Acknowledgment sent {"connection_id":172614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:36:35] local.INFO: TCP Data received {"connection_id":172614,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06e3c03b0012d34c9c006aa3d28000e008020..."} 
[2026-09-05 02:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e3c03b0012d34c9c006aa3d28000e008020..."} 
[2026-09-05 02:36:35] local.INFO: Processing buffer {"connection_id":172614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e3c03b0012d34c9c006aa3d28000e008020..."} 
[2026-09-05 02:36:35] local.INFO: Packet analysis {"connection_id":172614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e3c"} 
[2026-09-05 02:36:35] local.INFO: Extracted packet for processing {"connection_id":172614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e3c"} 
[2026-09-05 02:36:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":14,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870213376001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788555822000,"timestamp_ms":1788555822000,"timestamp_seconds":1788555822,"priority":1,"record_length":96,"hex_timestamp":"000001a06e3c03b0"} 
[2026-09-05 02:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:36:35] 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-09-05 02: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-05 02:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870213376001,"66":26115,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870213376001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:36:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:36:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870213376001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":172614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:36:35] local.INFO: GPS data processed {"connection_id":172614,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:36:35] local.INFO: Acknowledgment sent {"connection_id":172614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:37:03] local.INFO: TCP Data received {"connection_id":171198,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:37:03] local.INFO: Processing buffer {"connection_id":171198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:37:03] local.INFO: IMEI packet received {"connection_id":171198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":171198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:37:08] local.INFO: TCP Data received {"connection_id":171198,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:37:08] local.INFO: Processing buffer {"connection_id":171198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:37:08] local.INFO: IMEI packet received {"connection_id":171198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":171198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:37:09] local.INFO: TCP Data received {"connection_id":171198,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06e3c03b0012d34c9c006aa3d28000e008020..."} 
[2026-09-05 02:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e3c03b0012d34c9c006aa3d28000e008020..."} 
[2026-09-05 02:37:09] local.INFO: Processing buffer {"connection_id":171198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e3c03b0012d34c9c006aa3d28000e008020..."} 
[2026-09-05 02:37:09] local.INFO: Packet analysis {"connection_id":171198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e3c"} 
[2026-09-05 02:37:09] local.INFO: Extracted packet for processing {"connection_id":171198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e3c"} 
[2026-09-05 02:37:09] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":14,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 02:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870213376001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788555822000,"timestamp_ms":1788555822000,"timestamp_seconds":1788555822,"priority":1,"record_length":96,"hex_timestamp":"000001a06e3c03b0"} 
[2026-09-05 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-09-05 02:37: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-09-05 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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-05 02:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 02:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:37: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-09-05 02:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870213376001,"66":26115,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870213376001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:37:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:37:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870213376001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":171198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:37:09] local.INFO: GPS data processed {"connection_id":171198,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:37:09] local.INFO: Acknowledgment sent {"connection_id":171198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:37:13] local.INFO: TCP Data received {"connection_id":171198,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06e3c03b0012d34c9c006aa3d28000e008020..."} 
[2026-09-05 02:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e3c03b0012d34c9c006aa3d28000e008020..."} 
[2026-09-05 02:37:13] local.INFO: Processing buffer {"connection_id":171198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e3c03b0012d34c9c006aa3d28000e008020..."} 
[2026-09-05 02:37:13] local.INFO: Packet analysis {"connection_id":171198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e3c"} 
[2026-09-05 02:37:13] local.INFO: Extracted packet for processing {"connection_id":171198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e3c"} 
[2026-09-05 02:37:13] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":14,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870213376001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788555822000,"timestamp_ms":1788555822000,"timestamp_seconds":1788555822,"priority":1,"record_length":96,"hex_timestamp":"000001a06e3c03b0"} 
[2026-09-05 02:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 02:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-05 02:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:37:13] 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-09-05 02:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870213376001,"66":26115,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870213376001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:37:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:37:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870213376001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":171198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:37:13] local.INFO: GPS data processed {"connection_id":171198,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:37:13] local.INFO: Acknowledgment sent {"connection_id":171198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:37:31] local.INFO: TCP Data received {"connection_id":171199,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171199,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:37:31] local.INFO: Processing buffer {"connection_id":171199,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:37:31] local.INFO: IMEI packet received {"connection_id":171199,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 02:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":171199,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:37:58] local.INFO: TCP Data received {"connection_id":172615,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:37:58] local.INFO: Processing buffer {"connection_id":172615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:37:58] local.INFO: IMEI packet received {"connection_id":172615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":172615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:38:03] local.INFO: TCP Data received {"connection_id":172615,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:38:03] local.INFO: Processing buffer {"connection_id":172615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:38:03] local.INFO: IMEI packet received {"connection_id":172615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":172615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:38:03] local.INFO: TCP Data received {"connection_id":172615,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e3c03b0012d34c9c006aa3d28000e008020..."} 
[2026-09-05 02:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e3c03b0012d34c9c006aa3d28000e008020..."} 
[2026-09-05 02:38:03] local.INFO: Processing buffer {"connection_id":172615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e3c03b0012d34c9c006aa3d28000e008020..."} 
[2026-09-05 02:38:03] local.INFO: Packet analysis {"connection_id":172615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e3c"} 
[2026-09-05 02:38:03] local.INFO: Extracted packet for processing {"connection_id":172615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e3c"} 
[2026-09-05 02:38:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":14,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870213376001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788555822000,"timestamp_ms":1788555822000,"timestamp_seconds":1788555822,"priority":1,"record_length":96,"hex_timestamp":"000001a06e3c03b0"} 
[2026-09-05 02:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:38: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-09-05 02:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-05 02:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:38: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-09-05 02:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870213376001,"66":26115,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870213376001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:38:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:38:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870213376001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":172615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:38:03] local.INFO: GPS data processed {"connection_id":172615,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:38:03] local.INFO: Acknowledgment sent {"connection_id":172615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:38:35] local.INFO: TCP Data received {"connection_id":172615,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e3c03b0012d34c9c006aa3d28000e008020..."} 
[2026-09-05 02:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e3c03b0012d34c9c006aa3d28000e008020..."} 
[2026-09-05 02:38:35] local.INFO: Processing buffer {"connection_id":172615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e3c03b0012d34c9c006aa3d28000e008020..."} 
[2026-09-05 02:38:35] local.INFO: Packet analysis {"connection_id":172615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e3c"} 
[2026-09-05 02:38:35] local.INFO: Extracted packet for processing {"connection_id":172615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e3c"} 
[2026-09-05 02:38:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":14,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870213376001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788555822000,"timestamp_ms":1788555822000,"timestamp_seconds":1788555822,"priority":1,"record_length":96,"hex_timestamp":"000001a06e3c03b0"} 
[2026-09-05 02:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:38:35] 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-09-05 02: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-05 02:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870213376001,"66":26115,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870213376001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:38:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:38:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870213376001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":172615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:38:35] local.INFO: GPS data processed {"connection_id":172615,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:38:35] local.INFO: Acknowledgment sent {"connection_id":172615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:38:58] local.INFO: TCP Data received {"connection_id":173894,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:38:58] local.INFO: Processing buffer {"connection_id":173894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:38:58] local.INFO: IMEI packet received {"connection_id":173894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":173894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:39:03] local.INFO: TCP Data received {"connection_id":173894,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:39:03] local.INFO: Processing buffer {"connection_id":173894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:39:03] local.INFO: IMEI packet received {"connection_id":173894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":173894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:39:03] local.INFO: TCP Data received {"connection_id":173894,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e3c03b0012d34c9c006aa3d28000e008020..."} 
[2026-09-05 02:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e3c03b0012d34c9c006aa3d28000e008020..."} 
[2026-09-05 02:39:03] local.INFO: Processing buffer {"connection_id":173894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e3c03b0012d34c9c006aa3d28000e008020..."} 
[2026-09-05 02:39:03] local.INFO: Packet analysis {"connection_id":173894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e3c"} 
[2026-09-05 02:39:03] local.INFO: Extracted packet for processing {"connection_id":173894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e3c"} 
[2026-09-05 02:39:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":14,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870213376001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788555822000,"timestamp_ms":1788555822000,"timestamp_seconds":1788555822,"priority":1,"record_length":96,"hex_timestamp":"000001a06e3c03b0"} 
[2026-09-05 02:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:39: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-09-05 02: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-05 02:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:39: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-09-05 02:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870213376001,"66":26115,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870213376001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:39:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:39:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870213376001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":173894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:39:03] local.INFO: GPS data processed {"connection_id":173894,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:39:03] local.INFO: Acknowledgment sent {"connection_id":173894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:39:35] local.INFO: TCP Data received {"connection_id":173894,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e409b78012d34c9c006aa3d28000800801e..."} 
[2026-09-05 02:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e409b78012d34c9c006aa3d28000800801e..."} 
[2026-09-05 02:39:35] local.INFO: Processing buffer {"connection_id":173894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e409b78012d34c9c006aa3d28000800801e..."} 
[2026-09-05 02:39:35] local.INFO: Packet analysis {"connection_id":173894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e40"} 
[2026-09-05 02:39:35] local.INFO: Extracted packet for processing {"connection_id":173894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e40"} 
[2026-09-05 02:39:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":8,"angle":128,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870290432001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788556123000,"timestamp_ms":1788556123000,"timestamp_seconds":1788556123,"priority":1,"record_length":96,"hex_timestamp":"000001a06e409b78"} 
[2026-09-05 02:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:39:35] 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-09-05 02:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-05 02:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870290432001,"66":25952,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870290432001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:39:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:39:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870290432001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":173894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:39:35] local.INFO: GPS data processed {"connection_id":173894,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:39:35] local.INFO: Acknowledgment sent {"connection_id":173894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:39:57] local.INFO: TCP Data received {"connection_id":173895,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:39:57] local.INFO: Processing buffer {"connection_id":173895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:39:57] local.INFO: IMEI packet received {"connection_id":173895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":173895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:40:07] local.INFO: TCP Data received {"connection_id":173895,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:40:07] local.INFO: Processing buffer {"connection_id":173895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:40:07] local.INFO: IMEI packet received {"connection_id":173895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":173895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:40:11] local.INFO: TCP Data received {"connection_id":173895,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e409b78012d34c9c006aa3d28000800801e..."} 
[2026-09-05 02:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e409b78012d34c9c006aa3d28000800801e..."} 
[2026-09-05 02:40:11] local.INFO: Processing buffer {"connection_id":173895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e409b78012d34c9c006aa3d28000800801e..."} 
[2026-09-05 02:40:11] local.INFO: Packet analysis {"connection_id":173895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e40"} 
[2026-09-05 02:40:11] local.INFO: Extracted packet for processing {"connection_id":173895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e40"} 
[2026-09-05 02:40:11] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":8,"angle":128,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870290432001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788556123000,"timestamp_ms":1788556123000,"timestamp_seconds":1788556123,"priority":1,"record_length":96,"hex_timestamp":"000001a06e409b78"} 
[2026-09-05 02:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:40: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-09-05 02:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-05 02:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:40:11] 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-09-05 02:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870290432001,"66":25952,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870290432001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:40:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:40:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870290432001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":173895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:40:11] local.INFO: GPS data processed {"connection_id":173895,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:40:11] local.INFO: Acknowledgment sent {"connection_id":173895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:40:43] local.INFO: TCP Data received {"connection_id":173895,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e409b78012d34c9c006aa3d28000800801e..."} 
[2026-09-05 02:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e409b78012d34c9c006aa3d28000800801e..."} 
[2026-09-05 02:40:43] local.INFO: Processing buffer {"connection_id":173895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e409b78012d34c9c006aa3d28000800801e..."} 
[2026-09-05 02:40:43] local.INFO: Packet analysis {"connection_id":173895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e40"} 
[2026-09-05 02:40:43] local.INFO: Extracted packet for processing {"connection_id":173895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e40"} 
[2026-09-05 02:40:43] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":8,"angle":128,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870290432001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788556123000,"timestamp_ms":1788556123000,"timestamp_seconds":1788556123,"priority":1,"record_length":96,"hex_timestamp":"000001a06e409b78"} 
[2026-09-05 02:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:40:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 02: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-05 02:40:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":173895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":173895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":173895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:40:43] 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-09-05 02:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870290432001,"66":25952,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870290432001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:40:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:40:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870290432001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":173895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:40:43] local.INFO: GPS data processed {"connection_id":173895,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:40:43] local.INFO: Acknowledgment sent {"connection_id":173895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:40:57] local.INFO: TCP Data received {"connection_id":173897,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:40:57] local.INFO: Processing buffer {"connection_id":173897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:40:57] local.INFO: IMEI packet received {"connection_id":173897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":173897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:41:03] local.INFO: TCP Data received {"connection_id":173897,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:41:03] local.INFO: Processing buffer {"connection_id":173897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:41:03] local.INFO: IMEI packet received {"connection_id":173897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":173897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:41:04] local.INFO: TCP Data received {"connection_id":173897,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e409b78012d34c9c006aa3d28000800801e..."} 
[2026-09-05 02:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e409b78012d34c9c006aa3d28000800801e..."} 
[2026-09-05 02:41:04] local.INFO: Processing buffer {"connection_id":173897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e409b78012d34c9c006aa3d28000800801e..."} 
[2026-09-05 02:41:04] local.INFO: Packet analysis {"connection_id":173897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e40"} 
[2026-09-05 02:41:04] local.INFO: Extracted packet for processing {"connection_id":173897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e40"} 
[2026-09-05 02:41:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":8,"angle":128,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 02:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870290432001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788556123000,"timestamp_ms":1788556123000,"timestamp_seconds":1788556123,"priority":1,"record_length":96,"hex_timestamp":"000001a06e409b78"} 
[2026-09-05 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-09-05 02:41: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-09-05 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-05 02:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 02:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:41: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-09-05 02:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870290432001,"66":25952,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870290432001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:41:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:41:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870290432001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":173897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:41:04] local.INFO: GPS data processed {"connection_id":173897,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:41:04] local.INFO: Acknowledgment sent {"connection_id":173897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:41:36] local.INFO: TCP Data received {"connection_id":173897,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e409b78012d34c9c006aa3d28000800801e..."} 
[2026-09-05 02:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e409b78012d34c9c006aa3d28000800801e..."} 
[2026-09-05 02:41:36] local.INFO: Processing buffer {"connection_id":173897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e409b78012d34c9c006aa3d28000800801e..."} 
[2026-09-05 02:41:36] local.INFO: Packet analysis {"connection_id":173897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e40"} 
[2026-09-05 02:41:36] local.INFO: Extracted packet for processing {"connection_id":173897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e40"} 
[2026-09-05 02:41:36] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":8,"angle":128,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870290432001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788556123000,"timestamp_ms":1788556123000,"timestamp_seconds":1788556123,"priority":1,"record_length":96,"hex_timestamp":"000001a06e409b78"} 
[2026-09-05 02:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:41: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-09-05 02:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-05 02:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:41: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-09-05 02:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870290432001,"66":25952,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870290432001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:41:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:41:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870290432001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":173897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:41:36] local.INFO: GPS data processed {"connection_id":173897,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:41:36] local.INFO: Acknowledgment sent {"connection_id":173897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:42:03] local.INFO: TCP Data received {"connection_id":171200,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:42:03] local.INFO: Processing buffer {"connection_id":171200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:42:03] local.INFO: IMEI packet received {"connection_id":171200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":171200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:42:08] local.INFO: TCP Data received {"connection_id":171200,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:42:08] local.INFO: Processing buffer {"connection_id":171200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:42:08] local.INFO: IMEI packet received {"connection_id":171200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":171200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:42:09] local.INFO: TCP Data received {"connection_id":171200,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e409b78012d34c9c006aa3d28000800801e..."} 
[2026-09-05 02:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e409b78012d34c9c006aa3d28000800801e..."} 
[2026-09-05 02:42:09] local.INFO: Processing buffer {"connection_id":171200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e409b78012d34c9c006aa3d28000800801e..."} 
[2026-09-05 02:42:09] local.INFO: Packet analysis {"connection_id":171200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e40"} 
[2026-09-05 02:42:09] local.INFO: Extracted packet for processing {"connection_id":171200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e40"} 
[2026-09-05 02:42:09] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":8,"angle":128,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870290432001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788556123000,"timestamp_ms":1788556123000,"timestamp_seconds":1788556123,"priority":1,"record_length":96,"hex_timestamp":"000001a06e409b78"} 
[2026-09-05 02:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02: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-09-05 02: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-05 02:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:42:09] 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-09-05 02:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870290432001,"66":25952,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870290432001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:42:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:42:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870290432001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":171200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:42:09] local.INFO: GPS data processed {"connection_id":171200,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:42:09] local.INFO: Acknowledgment sent {"connection_id":171200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:42:13] local.INFO: TCP Data received {"connection_id":171200,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e409b78012d34c9c006aa3d28000800801e..."} 
[2026-09-05 02:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e409b78012d34c9c006aa3d28000800801e..."} 
[2026-09-05 02:42:13] local.INFO: Processing buffer {"connection_id":171200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e409b78012d34c9c006aa3d28000800801e..."} 
[2026-09-05 02:42:13] local.INFO: Packet analysis {"connection_id":171200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e40"} 
[2026-09-05 02:42:13] local.INFO: Extracted packet for processing {"connection_id":171200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e40"} 
[2026-09-05 02:42:13] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":8,"angle":128,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870290432001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788556123000,"timestamp_ms":1788556123000,"timestamp_seconds":1788556123,"priority":1,"record_length":96,"hex_timestamp":"000001a06e409b78"} 
[2026-09-05 02:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 02:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-05 02:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:42:13] 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-09-05 02:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870290432001,"66":25952,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870290432001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:42:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:42:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870290432001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":171200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:42:13] local.INFO: GPS data processed {"connection_id":171200,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:42:13] local.INFO: Acknowledgment sent {"connection_id":171200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:42:58] local.INFO: TCP Data received {"connection_id":171501,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:42:58] local.INFO: Processing buffer {"connection_id":171501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:42:58] local.INFO: IMEI packet received {"connection_id":171501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":171501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:43:01] local.INFO: TCP Data received {"connection_id":173896,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:43:01] local.INFO: Processing buffer {"connection_id":173896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:43:01] local.INFO: IMEI packet received {"connection_id":173896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 02:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":173896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:43:03] local.INFO: TCP Data received {"connection_id":171501,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:43:03] local.INFO: Processing buffer {"connection_id":171501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:43:03] local.INFO: IMEI packet received {"connection_id":171501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":171501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:43:04] local.INFO: TCP Data received {"connection_id":171501,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e409b78012d34c9c006aa3d28000800801e..."} 
[2026-09-05 02:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e409b78012d34c9c006aa3d28000800801e..."} 
[2026-09-05 02:43:04] local.INFO: Processing buffer {"connection_id":171501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e409b78012d34c9c006aa3d28000800801e..."} 
[2026-09-05 02:43:04] local.INFO: Packet analysis {"connection_id":171501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e40"} 
[2026-09-05 02:43:04] local.INFO: Extracted packet for processing {"connection_id":171501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e40"} 
[2026-09-05 02:43:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":8,"angle":128,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 02:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870290432001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788556123000,"timestamp_ms":1788556123000,"timestamp_seconds":1788556123,"priority":1,"record_length":96,"hex_timestamp":"000001a06e409b78"} 
[2026-09-05 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-09-05 02: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-09-05 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-05 02:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 02:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:43: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-09-05 02:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870290432001,"66":25952,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870290432001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:43:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:43:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870290432001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":171501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:43:04] local.INFO: GPS data processed {"connection_id":171501,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:43:04] local.INFO: Acknowledgment sent {"connection_id":171501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:43:35] local.INFO: TCP Data received {"connection_id":171501,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e409b78012d34c9c006aa3d28000800801e..."} 
[2026-09-05 02:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e409b78012d34c9c006aa3d28000800801e..."} 
[2026-09-05 02:43:35] local.INFO: Processing buffer {"connection_id":171501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e409b78012d34c9c006aa3d28000800801e..."} 
[2026-09-05 02:43:35] local.INFO: Packet analysis {"connection_id":171501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e40"} 
[2026-09-05 02:43:35] local.INFO: Extracted packet for processing {"connection_id":171501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e40"} 
[2026-09-05 02:43:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":8,"angle":128,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870290432001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788556123000,"timestamp_ms":1788556123000,"timestamp_seconds":1788556123,"priority":1,"record_length":96,"hex_timestamp":"000001a06e409b78"} 
[2026-09-05 02:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:43:35] 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-09-05 02: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-05 02:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870290432001,"66":25952,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870290432001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:43:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:43:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870290432001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":171501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:43:35] local.INFO: GPS data processed {"connection_id":171501,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:43:35] local.INFO: Acknowledgment sent {"connection_id":171501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:43:58] local.INFO: TCP Data received {"connection_id":171502,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:43:58] local.INFO: Processing buffer {"connection_id":171502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:43:58] local.INFO: IMEI packet received {"connection_id":171502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":171502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:44:03] local.INFO: TCP Data received {"connection_id":171502,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:44:03] local.INFO: Processing buffer {"connection_id":171502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:44:03] local.INFO: IMEI packet received {"connection_id":171502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":171502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:44:03] local.INFO: TCP Data received {"connection_id":171502,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e409b78012d34c9c006aa3d28000800801e..."} 
[2026-09-05 02:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e409b78012d34c9c006aa3d28000800801e..."} 
[2026-09-05 02:44:03] local.INFO: Processing buffer {"connection_id":171502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e409b78012d34c9c006aa3d28000800801e..."} 
[2026-09-05 02:44:03] local.INFO: Packet analysis {"connection_id":171502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e40"} 
[2026-09-05 02:44:03] local.INFO: Extracted packet for processing {"connection_id":171502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e40"} 
[2026-09-05 02:44:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":8,"angle":128,"satellites":30,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870290432001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788556123000,"timestamp_ms":1788556123000,"timestamp_seconds":1788556123,"priority":1,"record_length":96,"hex_timestamp":"000001a06e409b78"} 
[2026-09-05 02:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:44: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-09-05 02: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-05 02:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:44: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-09-05 02:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870290432001,"66":25952,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870290432001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:44:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:44:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870290432001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":171502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:44:03] local.INFO: GPS data processed {"connection_id":171502,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:44:03] local.INFO: Acknowledgment sent {"connection_id":171502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:44:35] local.INFO: TCP Data received {"connection_id":171502,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e453340012d34c9c006aa3d280020008020..."} 
[2026-09-05 02:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e453340012d34c9c006aa3d280020008020..."} 
[2026-09-05 02:44:35] local.INFO: Processing buffer {"connection_id":171502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e453340012d34c9c006aa3d280020008020..."} 
[2026-09-05 02:44:35] local.INFO: Packet analysis {"connection_id":171502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e45"} 
[2026-09-05 02:44:35] local.INFO: Extracted packet for processing {"connection_id":171502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e45"} 
[2026-09-05 02:44:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":32,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870367488001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788556424000,"timestamp_ms":1788556424000,"timestamp_seconds":1788556424,"priority":1,"record_length":96,"hex_timestamp":"000001a06e453340"} 
[2026-09-05 02:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:44:35] 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-09-05 02: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 02:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870367488001,"66":25854,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870367488001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:44:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:44:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870367488001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":171502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:44:35] local.INFO: GPS data processed {"connection_id":171502,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:44:35] local.INFO: Acknowledgment sent {"connection_id":171502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:44:57] local.INFO: TCP Data received {"connection_id":171503,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:44:57] local.INFO: Processing buffer {"connection_id":171503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:44:57] local.INFO: IMEI packet received {"connection_id":171503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":171503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:45:03] local.INFO: TCP Data received {"connection_id":171503,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:45:03] local.INFO: Processing buffer {"connection_id":171503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:45:03] local.INFO: IMEI packet received {"connection_id":171503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":171503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:45:04] local.INFO: TCP Data received {"connection_id":171503,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e453340012d34c9c006aa3d280020008020..."} 
[2026-09-05 02:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e453340012d34c9c006aa3d280020008020..."} 
[2026-09-05 02:45:04] local.INFO: Processing buffer {"connection_id":171503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e453340012d34c9c006aa3d280020008020..."} 
[2026-09-05 02:45:04] local.INFO: Packet analysis {"connection_id":171503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e45"} 
[2026-09-05 02:45:04] local.INFO: Extracted packet for processing {"connection_id":171503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e45"} 
[2026-09-05 02:45:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":32,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870367488001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788556424000,"timestamp_ms":1788556424000,"timestamp_seconds":1788556424,"priority":1,"record_length":96,"hex_timestamp":"000001a06e453340"} 
[2026-09-05 02:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:45: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-09-05 02:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 02:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:45: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-09-05 02:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870367488001,"66":25854,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870367488001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:45:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:45:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870367488001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":171503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:45:04] local.INFO: GPS data processed {"connection_id":171503,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:45:04] local.INFO: Acknowledgment sent {"connection_id":171503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:45:35] local.INFO: TCP Data received {"connection_id":171503,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e453340012d34c9c006aa3d280020008020..."} 
[2026-09-05 02:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e453340012d34c9c006aa3d280020008020..."} 
[2026-09-05 02:45:35] local.INFO: Processing buffer {"connection_id":171503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e453340012d34c9c006aa3d280020008020..."} 
[2026-09-05 02:45:35] local.INFO: Packet analysis {"connection_id":171503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e45"} 
[2026-09-05 02:45:35] local.INFO: Extracted packet for processing {"connection_id":171503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e45"} 
[2026-09-05 02:45:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":32,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870367488001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788556424000,"timestamp_ms":1788556424000,"timestamp_seconds":1788556424,"priority":1,"record_length":96,"hex_timestamp":"000001a06e453340"} 
[2026-09-05 02:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:45:35] 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-09-05 02: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 02:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870367488001,"66":25854,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870367488001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:45:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:45:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870367488001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":171503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:45:35] local.INFO: GPS data processed {"connection_id":171503,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:45:35] local.INFO: Acknowledgment sent {"connection_id":171503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:45:58] local.INFO: TCP Data received {"connection_id":171201,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:45:58] local.INFO: Processing buffer {"connection_id":171201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:45:58] local.INFO: IMEI packet received {"connection_id":171201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":171201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:46:03] local.INFO: TCP Data received {"connection_id":171201,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:46:03] local.INFO: Processing buffer {"connection_id":171201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:46:03] local.INFO: IMEI packet received {"connection_id":171201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":171201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:46:03] local.INFO: TCP Data received {"connection_id":171201,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e453340012d34c9c006aa3d280020008020..."} 
[2026-09-05 02:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e453340012d34c9c006aa3d280020008020..."} 
[2026-09-05 02:46:03] local.INFO: Processing buffer {"connection_id":171201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e453340012d34c9c006aa3d280020008020..."} 
[2026-09-05 02:46:03] local.INFO: Packet analysis {"connection_id":171201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e45"} 
[2026-09-05 02:46:03] local.INFO: Extracted packet for processing {"connection_id":171201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e45"} 
[2026-09-05 02:46:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":32,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870367488001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788556424000,"timestamp_ms":1788556424000,"timestamp_seconds":1788556424,"priority":1,"record_length":96,"hex_timestamp":"000001a06e453340"} 
[2026-09-05 02:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:46: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-09-05 02:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 02:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:46: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-09-05 02:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870367488001,"66":25854,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870367488001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:46:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:46:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870367488001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":171201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:46:03] local.INFO: GPS data processed {"connection_id":171201,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:46:03] local.INFO: Acknowledgment sent {"connection_id":171201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:46:35] local.INFO: TCP Data received {"connection_id":171201,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e453340012d34c9c006aa3d280020008020..."} 
[2026-09-05 02:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e453340012d34c9c006aa3d280020008020..."} 
[2026-09-05 02:46:35] local.INFO: Processing buffer {"connection_id":171201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e453340012d34c9c006aa3d280020008020..."} 
[2026-09-05 02:46:35] local.INFO: Packet analysis {"connection_id":171201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e45"} 
[2026-09-05 02:46:35] local.INFO: Extracted packet for processing {"connection_id":171201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e45"} 
[2026-09-05 02:46:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":32,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870367488001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788556424000,"timestamp_ms":1788556424000,"timestamp_seconds":1788556424,"priority":1,"record_length":96,"hex_timestamp":"000001a06e453340"} 
[2026-09-05 02:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:46:35] 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-09-05 02: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 02:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870367488001,"66":25854,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870367488001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:46:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:46:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870367488001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":171201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:46:35] local.INFO: GPS data processed {"connection_id":171201,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:46:35] local.INFO: Acknowledgment sent {"connection_id":171201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:47:03] local.INFO: TCP Data received {"connection_id":173899,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:47:03] local.INFO: Processing buffer {"connection_id":173899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:47:03] local.INFO: IMEI packet received {"connection_id":173899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":173899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:47:08] local.INFO: TCP Data received {"connection_id":173899,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:47:08] local.INFO: Processing buffer {"connection_id":173899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:47:08] local.INFO: IMEI packet received {"connection_id":173899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":173899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:47:09] local.INFO: TCP Data received {"connection_id":173899,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e453340012d34c9c006aa3d280020008020..."} 
[2026-09-05 02:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e453340012d34c9c006aa3d280020008020..."} 
[2026-09-05 02:47:09] local.INFO: Processing buffer {"connection_id":173899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e453340012d34c9c006aa3d280020008020..."} 
[2026-09-05 02:47:09] local.INFO: Packet analysis {"connection_id":173899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e45"} 
[2026-09-05 02:47:09] local.INFO: Extracted packet for processing {"connection_id":173899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e45"} 
[2026-09-05 02:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":32,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870367488001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788556424000,"timestamp_ms":1788556424000,"timestamp_seconds":1788556424,"priority":1,"record_length":96,"hex_timestamp":"000001a06e453340"} 
[2026-09-05 02:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:47: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-09-05 02: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 02:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:47:09] 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-09-05 02:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870367488001,"66":25854,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870367488001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:47:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:47:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870367488001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":173899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:47:09] local.INFO: GPS data processed {"connection_id":173899,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:47:09] local.INFO: Acknowledgment sent {"connection_id":173899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:47:13] local.INFO: TCP Data received {"connection_id":173899,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e453340012d34c9c006aa3d280020008020..."} 
[2026-09-05 02:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e453340012d34c9c006aa3d280020008020..."} 
[2026-09-05 02:47:13] local.INFO: Processing buffer {"connection_id":173899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e453340012d34c9c006aa3d280020008020..."} 
[2026-09-05 02:47:13] local.INFO: Packet analysis {"connection_id":173899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e45"} 
[2026-09-05 02:47:13] local.INFO: Extracted packet for processing {"connection_id":173899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e45"} 
[2026-09-05 02:47:13] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":32,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870367488001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788556424000,"timestamp_ms":1788556424000,"timestamp_seconds":1788556424,"priority":1,"record_length":96,"hex_timestamp":"000001a06e453340"} 
[2026-09-05 02:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 02:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 02:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":173899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":173899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":173899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:47:13] 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-09-05 02:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870367488001,"66":25854,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870367488001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:47:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:47:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870367488001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":173899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:47:13] local.INFO: GPS data processed {"connection_id":173899,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:47:13] local.INFO: Acknowledgment sent {"connection_id":173899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:47:58] local.INFO: TCP Data received {"connection_id":171504,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:47:58] local.INFO: Processing buffer {"connection_id":171504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:47:58] local.INFO: IMEI packet received {"connection_id":171504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":171504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:48:03] local.INFO: TCP Data received {"connection_id":171504,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:48:03] local.INFO: Processing buffer {"connection_id":171504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:48:03] local.INFO: IMEI packet received {"connection_id":171504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":171504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:48:03] local.INFO: TCP Data received {"connection_id":171504,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e453340012d34c9c006aa3d280020008020..."} 
[2026-09-05 02:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e453340012d34c9c006aa3d280020008020..."} 
[2026-09-05 02:48:03] local.INFO: Processing buffer {"connection_id":171504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e453340012d34c9c006aa3d280020008020..."} 
[2026-09-05 02:48:03] local.INFO: Packet analysis {"connection_id":171504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e45"} 
[2026-09-05 02:48:03] local.INFO: Extracted packet for processing {"connection_id":171504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e45"} 
[2026-09-05 02:48:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":32,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870367488001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788556424000,"timestamp_ms":1788556424000,"timestamp_seconds":1788556424,"priority":1,"record_length":96,"hex_timestamp":"000001a06e453340"} 
[2026-09-05 02:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:48: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-09-05 02:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 02:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:48: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-09-05 02:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870367488001,"66":25854,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870367488001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:48:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:48:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870367488001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":171504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:48:03] local.INFO: GPS data processed {"connection_id":171504,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:48:03] local.INFO: Acknowledgment sent {"connection_id":171504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:48:32] local.INFO: TCP Data received {"connection_id":172616,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172616,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:48:32] local.INFO: Processing buffer {"connection_id":172616,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:48:32] local.INFO: IMEI packet received {"connection_id":172616,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 02:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":172616,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:48:35] local.INFO: TCP Data received {"connection_id":171504,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e453340012d34c9c006aa3d280020008020..."} 
[2026-09-05 02:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e453340012d34c9c006aa3d280020008020..."} 
[2026-09-05 02:48:35] local.INFO: Processing buffer {"connection_id":171504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e453340012d34c9c006aa3d280020008020..."} 
[2026-09-05 02:48:35] local.INFO: Packet analysis {"connection_id":171504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e45"} 
[2026-09-05 02:48:35] local.INFO: Extracted packet for processing {"connection_id":171504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e45"} 
[2026-09-05 02:48:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":32,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870367488001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788556424000,"timestamp_ms":1788556424000,"timestamp_seconds":1788556424,"priority":1,"record_length":96,"hex_timestamp":"000001a06e453340"} 
[2026-09-05 02:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:48:35] 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-09-05 02:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 02:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870367488001,"66":25854,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870367488001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:48:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:48:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870367488001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":171504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:48:35] local.INFO: GPS data processed {"connection_id":171504,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:48:35] local.INFO: Acknowledgment sent {"connection_id":171504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:48:58] local.INFO: TCP Data received {"connection_id":172617,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:48:58] local.INFO: Processing buffer {"connection_id":172617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:48:58] local.INFO: IMEI packet received {"connection_id":172617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":172617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:49:03] local.INFO: TCP Data received {"connection_id":172617,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:49:03] local.INFO: Processing buffer {"connection_id":172617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:49:03] local.INFO: IMEI packet received {"connection_id":172617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":172617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:49:04] local.INFO: TCP Data received {"connection_id":172617,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e453340012d34c9c006aa3d280020008020..."} 
[2026-09-05 02:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e453340012d34c9c006aa3d280020008020..."} 
[2026-09-05 02:49:04] local.INFO: Processing buffer {"connection_id":172617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e453340012d34c9c006aa3d280020008020..."} 
[2026-09-05 02:49:04] local.INFO: Packet analysis {"connection_id":172617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e45"} 
[2026-09-05 02:49:04] local.INFO: Extracted packet for processing {"connection_id":172617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e45"} 
[2026-09-05 02:49:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":32,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870367488001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788556424000,"timestamp_ms":1788556424000,"timestamp_seconds":1788556424,"priority":1,"record_length":96,"hex_timestamp":"000001a06e453340"} 
[2026-09-05 02:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:49: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-09-05 02: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 02:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:49: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-09-05 02:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870367488001,"66":25854,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870367488001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:49:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:49:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870367488001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":172617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:49:04] local.INFO: GPS data processed {"connection_id":172617,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:49:04] local.INFO: Acknowledgment sent {"connection_id":172617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:49:35] local.INFO: TCP Data received {"connection_id":172617,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e49c720012d34c9c006aa3d280017008024..."} 
[2026-09-05 02:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e49c720012d34c9c006aa3d280017008024..."} 
[2026-09-05 02:49:35] local.INFO: Processing buffer {"connection_id":172617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e49c720012d34c9c006aa3d280017008024..."} 
[2026-09-05 02:49:35] local.INFO: Packet analysis {"connection_id":172617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e49"} 
[2026-09-05 02:49:35] local.INFO: Extracted packet for processing {"connection_id":172617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e49"} 
[2026-09-05 02:49:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870444544001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788556724000,"timestamp_ms":1788556724000,"timestamp_seconds":1788556724,"priority":1,"record_length":96,"hex_timestamp":"000001a06e49c720"} 
[2026-09-05 02:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:49:35] 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-09-05 02:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-05 02:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870444544001,"66":25778,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870444544001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:49:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:49:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870444544001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":172617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:49:35] local.INFO: GPS data processed {"connection_id":172617,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:49:35] local.INFO: Acknowledgment sent {"connection_id":172617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:49:57] local.INFO: TCP Data received {"connection_id":171505,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:49:57] local.INFO: Processing buffer {"connection_id":171505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:49:57] local.INFO: IMEI packet received {"connection_id":171505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":171505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:50:03] local.INFO: TCP Data received {"connection_id":171505,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:50:03] local.INFO: Processing buffer {"connection_id":171505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:50:03] local.INFO: IMEI packet received {"connection_id":171505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":171505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:50:04] local.INFO: TCP Data received {"connection_id":171505,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e49c720012d34c9c006aa3d280017008024..."} 
[2026-09-05 02:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e49c720012d34c9c006aa3d280017008024..."} 
[2026-09-05 02:50:04] local.INFO: Processing buffer {"connection_id":171505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e49c720012d34c9c006aa3d280017008024..."} 
[2026-09-05 02:50:04] local.INFO: Packet analysis {"connection_id":171505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e49"} 
[2026-09-05 02:50:04] local.INFO: Extracted packet for processing {"connection_id":171505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e49"} 
[2026-09-05 02:50:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 02:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870444544001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788556724000,"timestamp_ms":1788556724000,"timestamp_seconds":1788556724,"priority":1,"record_length":96,"hex_timestamp":"000001a06e49c720"} 
[2026-09-05 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-09-05 02:50: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-09-05 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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-05 02:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 02:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:50: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-09-05 02:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870444544001,"66":25778,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870444544001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:50:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:50:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870444544001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":171505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:50:04] local.INFO: GPS data processed {"connection_id":171505,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:50:04] local.INFO: Acknowledgment sent {"connection_id":171505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:50:35] local.INFO: TCP Data received {"connection_id":171505,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e49c720012d34c9c006aa3d280017008024..."} 
[2026-09-05 02:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e49c720012d34c9c006aa3d280017008024..."} 
[2026-09-05 02:50:35] local.INFO: Processing buffer {"connection_id":171505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e49c720012d34c9c006aa3d280017008024..."} 
[2026-09-05 02:50:35] local.INFO: Packet analysis {"connection_id":171505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e49"} 
[2026-09-05 02:50:35] local.INFO: Extracted packet for processing {"connection_id":171505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e49"} 
[2026-09-05 02:50:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870444544001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788556724000,"timestamp_ms":1788556724000,"timestamp_seconds":1788556724,"priority":1,"record_length":96,"hex_timestamp":"000001a06e49c720"} 
[2026-09-05 02:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:50:35] 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-09-05 02:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-05 02:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870444544001,"66":25778,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870444544001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:50:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:50:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870444544001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":171505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:50:35] local.INFO: GPS data processed {"connection_id":171505,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:50:35] local.INFO: Acknowledgment sent {"connection_id":171505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:51:03] local.INFO: TCP Data received {"connection_id":171506,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:51:03] local.INFO: Processing buffer {"connection_id":171506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:51:03] local.INFO: IMEI packet received {"connection_id":171506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":171506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:51:08] local.INFO: TCP Data received {"connection_id":171506,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:51:08] local.INFO: Processing buffer {"connection_id":171506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:51:08] local.INFO: IMEI packet received {"connection_id":171506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":171506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:51:08] local.INFO: TCP Data received {"connection_id":171506,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e49c720012d34c9c006aa3d280017008024..."} 
[2026-09-05 02:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e49c720012d34c9c006aa3d280017008024..."} 
[2026-09-05 02:51:08] local.INFO: Processing buffer {"connection_id":171506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e49c720012d34c9c006aa3d280017008024..."} 
[2026-09-05 02:51:08] local.INFO: Packet analysis {"connection_id":171506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e49"} 
[2026-09-05 02:51:08] local.INFO: Extracted packet for processing {"connection_id":171506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e49"} 
[2026-09-05 02:51:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870444544001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788556724000,"timestamp_ms":1788556724000,"timestamp_seconds":1788556724,"priority":1,"record_length":96,"hex_timestamp":"000001a06e49c720"} 
[2026-09-05 02:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:51: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-09-05 02: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-05 02:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:51: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-09-05 02:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870444544001,"66":25778,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870444544001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:51:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:51:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870444544001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":171506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:51:08] local.INFO: GPS data processed {"connection_id":171506,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:51:08] local.INFO: Acknowledgment sent {"connection_id":171506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:51:13] local.INFO: TCP Data received {"connection_id":171506,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e49c720012d34c9c006aa3d280017008024..."} 
[2026-09-05 02:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e49c720012d34c9c006aa3d280017008024..."} 
[2026-09-05 02:51:13] local.INFO: Processing buffer {"connection_id":171506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e49c720012d34c9c006aa3d280017008024..."} 
[2026-09-05 02:51:13] local.INFO: Packet analysis {"connection_id":171506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e49"} 
[2026-09-05 02:51:13] local.INFO: Extracted packet for processing {"connection_id":171506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e49"} 
[2026-09-05 02:51:13] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870444544001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788556724000,"timestamp_ms":1788556724000,"timestamp_seconds":1788556724,"priority":1,"record_length":96,"hex_timestamp":"000001a06e49c720"} 
[2026-09-05 02:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 02:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-05 02:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:51:13] 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-09-05 02:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870444544001,"66":25778,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870444544001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:51:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:51:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870444544001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":171506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:51:13] local.INFO: GPS data processed {"connection_id":171506,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:51:13] local.INFO: Acknowledgment sent {"connection_id":171506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:51:58] local.INFO: TCP Data received {"connection_id":173900,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:51:58] local.INFO: Processing buffer {"connection_id":173900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:51:58] local.INFO: IMEI packet received {"connection_id":173900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":173900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:52:03] local.INFO: TCP Data received {"connection_id":173900,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:52:03] local.INFO: Processing buffer {"connection_id":173900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:52:03] local.INFO: IMEI packet received {"connection_id":173900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":173900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:52:04] local.INFO: TCP Data received {"connection_id":173900,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e49c720012d34c9c006aa3d280017008024..."} 
[2026-09-05 02:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e49c720012d34c9c006aa3d280017008024..."} 
[2026-09-05 02:52:04] local.INFO: Processing buffer {"connection_id":173900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e49c720012d34c9c006aa3d280017008024..."} 
[2026-09-05 02:52:04] local.INFO: Packet analysis {"connection_id":173900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e49"} 
[2026-09-05 02:52:04] local.INFO: Extracted packet for processing {"connection_id":173900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e49"} 
[2026-09-05 02:52:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870444544001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788556724000,"timestamp_ms":1788556724000,"timestamp_seconds":1788556724,"priority":1,"record_length":96,"hex_timestamp":"000001a06e49c720"} 
[2026-09-05 02:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:52: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-09-05 02:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-05 02:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:52: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-09-05 02:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870444544001,"66":25778,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870444544001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:52:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:52:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870444544001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":173900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:52:04] local.INFO: GPS data processed {"connection_id":173900,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:52:04] local.INFO: Acknowledgment sent {"connection_id":173900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:52:35] local.INFO: TCP Data received {"connection_id":173900,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e49c720012d34c9c006aa3d280017008024..."} 
[2026-09-05 02:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e49c720012d34c9c006aa3d280017008024..."} 
[2026-09-05 02:52:35] local.INFO: Processing buffer {"connection_id":173900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e49c720012d34c9c006aa3d280017008024..."} 
[2026-09-05 02:52:35] local.INFO: Packet analysis {"connection_id":173900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e49"} 
[2026-09-05 02:52:35] local.INFO: Extracted packet for processing {"connection_id":173900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e49"} 
[2026-09-05 02:52:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870444544001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788556724000,"timestamp_ms":1788556724000,"timestamp_seconds":1788556724,"priority":1,"record_length":96,"hex_timestamp":"000001a06e49c720"} 
[2026-09-05 02:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:52:35] 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-09-05 02: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-05 02:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870444544001,"66":25778,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870444544001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:52:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:52:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870444544001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":173900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:52:35] local.INFO: GPS data processed {"connection_id":173900,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:52:35] local.INFO: Acknowledgment sent {"connection_id":173900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:52:58] local.INFO: TCP Data received {"connection_id":171507,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:52:58] local.INFO: Processing buffer {"connection_id":171507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:52:58] local.INFO: IMEI packet received {"connection_id":171507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":171507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:53:03] local.INFO: TCP Data received {"connection_id":171507,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:53:03] local.INFO: Processing buffer {"connection_id":171507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:53:03] local.INFO: IMEI packet received {"connection_id":171507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":171507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:53:04] local.INFO: TCP Data received {"connection_id":171507,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e49c720012d34c9c006aa3d280017008024..."} 
[2026-09-05 02:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e49c720012d34c9c006aa3d280017008024..."} 
[2026-09-05 02:53:04] local.INFO: Processing buffer {"connection_id":171507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e49c720012d34c9c006aa3d280017008024..."} 
[2026-09-05 02:53:04] local.INFO: Packet analysis {"connection_id":171507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e49"} 
[2026-09-05 02:53:04] local.INFO: Extracted packet for processing {"connection_id":171507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e49"} 
[2026-09-05 02:53:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870444544001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788556724000,"timestamp_ms":1788556724000,"timestamp_seconds":1788556724,"priority":1,"record_length":96,"hex_timestamp":"000001a06e49c720"} 
[2026-09-05 02:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:53: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-09-05 02: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-05 02:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:53: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-09-05 02:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870444544001,"66":25778,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870444544001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:53:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:53:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870444544001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":171507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:53:04] local.INFO: GPS data processed {"connection_id":171507,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:53:04] local.INFO: Acknowledgment sent {"connection_id":171507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:53:35] local.INFO: TCP Data received {"connection_id":171507,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e49c720012d34c9c006aa3d280017008024..."} 
[2026-09-05 02:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e49c720012d34c9c006aa3d280017008024..."} 
[2026-09-05 02:53:35] local.INFO: Processing buffer {"connection_id":171507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e49c720012d34c9c006aa3d280017008024..."} 
[2026-09-05 02:53:35] local.INFO: Packet analysis {"connection_id":171507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e49"} 
[2026-09-05 02:53:35] local.INFO: Extracted packet for processing {"connection_id":171507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e49"} 
[2026-09-05 02:53:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870444544001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788556724000,"timestamp_ms":1788556724000,"timestamp_seconds":1788556724,"priority":1,"record_length":96,"hex_timestamp":"000001a06e49c720"} 
[2026-09-05 02:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:53:35] 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-09-05 02:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-05 02:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870444544001,"66":25778,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870444544001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:53:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:53:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870444544001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":171507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:53:35] local.INFO: GPS data processed {"connection_id":171507,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:53:35] local.INFO: Acknowledgment sent {"connection_id":171507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:53:57] local.INFO: TCP Data received {"connection_id":172618,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:53:57] local.INFO: Processing buffer {"connection_id":172618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:53:57] local.INFO: IMEI packet received {"connection_id":172618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":172618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:54:03] local.INFO: TCP Data received {"connection_id":172618,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:54:03] local.INFO: Processing buffer {"connection_id":172618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:54:03] local.INFO: IMEI packet received {"connection_id":172618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":172618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:54:03] local.INFO: TCP Data received {"connection_id":172618,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e49c720012d34c9c006aa3d280017008024..."} 
[2026-09-05 02:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e49c720012d34c9c006aa3d280017008024..."} 
[2026-09-05 02:54:03] local.INFO: Processing buffer {"connection_id":172618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e49c720012d34c9c006aa3d280017008024..."} 
[2026-09-05 02:54:03] local.INFO: Packet analysis {"connection_id":172618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e49"} 
[2026-09-05 02:54:03] local.INFO: Extracted packet for processing {"connection_id":172618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e49"} 
[2026-09-05 02:54:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870444544001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788556724000,"timestamp_ms":1788556724000,"timestamp_seconds":1788556724,"priority":1,"record_length":96,"hex_timestamp":"000001a06e49c720"} 
[2026-09-05 02:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:54: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-09-05 02:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-05 02:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:54: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-09-05 02:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870444544001,"66":25778,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870444544001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:54:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:54:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870444544001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":172618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:54:04] local.INFO: GPS data processed {"connection_id":172618,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:54:04] local.INFO: Acknowledgment sent {"connection_id":172618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:54:07] local.INFO: TCP Data received {"connection_id":171202,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171202,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:54:07] local.INFO: Processing buffer {"connection_id":171202,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:54:07] local.INFO: IMEI packet received {"connection_id":171202,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 02:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":171202,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:54:35] local.INFO: TCP Data received {"connection_id":172618,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e4e5ee8012d34c9c006aa3d28000c008021..."} 
[2026-09-05 02:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e4e5ee8012d34c9c006aa3d28000c008021..."} 
[2026-09-05 02:54:35] local.INFO: Processing buffer {"connection_id":172618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e4e5ee8012d34c9c006aa3d28000c008021..."} 
[2026-09-05 02:54:35] local.INFO: Packet analysis {"connection_id":172618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e4e"} 
[2026-09-05 02:54:35] local.INFO: Extracted packet for processing {"connection_id":172618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e4e"} 
[2026-09-05 02:54:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":12,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870521344001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788557025000,"timestamp_ms":1788557025000,"timestamp_seconds":1788557025,"priority":1,"record_length":96,"hex_timestamp":"000001a06e4e5ee8"} 
[2026-09-05 02:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:54:35] 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-09-05 02: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 02:54:35] 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-09-05 02: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-09-05 02:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870521344001,"66":25756,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870521344001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:54:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:54:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870521344001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":172618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:54:35] local.INFO: GPS data processed {"connection_id":172618,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:54:35] local.INFO: Acknowledgment sent {"connection_id":172618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:54:58] local.INFO: TCP Data received {"connection_id":171508,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:54:58] local.INFO: Processing buffer {"connection_id":171508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:54:58] local.INFO: IMEI packet received {"connection_id":171508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":171508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:55:03] local.INFO: TCP Data received {"connection_id":171508,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:55:03] local.INFO: Processing buffer {"connection_id":171508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:55:03] local.INFO: IMEI packet received {"connection_id":171508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":171508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:55:04] local.INFO: TCP Data received {"connection_id":171508,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e4e5ee8012d34c9c006aa3d28000c008021..."} 
[2026-09-05 02:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e4e5ee8012d34c9c006aa3d28000c008021..."} 
[2026-09-05 02:55:04] local.INFO: Processing buffer {"connection_id":171508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e4e5ee8012d34c9c006aa3d28000c008021..."} 
[2026-09-05 02:55:04] local.INFO: Packet analysis {"connection_id":171508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e4e"} 
[2026-09-05 02:55:04] local.INFO: Extracted packet for processing {"connection_id":171508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e4e"} 
[2026-09-05 02:55:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":12,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 02:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870521344001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788557025000,"timestamp_ms":1788557025000,"timestamp_seconds":1788557025,"priority":1,"record_length":96,"hex_timestamp":"000001a06e4e5ee8"} 
[2026-09-05 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-09-05 02:55: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-09-05 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 02:55: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-09-05 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-09-05 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-09-05 02:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:55: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-09-05 02:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870521344001,"66":25756,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870521344001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:55:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:55:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870521344001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":171508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:55:04] local.INFO: GPS data processed {"connection_id":171508,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:55:04] local.INFO: Acknowledgment sent {"connection_id":171508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:55:35] local.INFO: TCP Data received {"connection_id":171508,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e4e5ee8012d34c9c006aa3d28000c008021..."} 
[2026-09-05 02:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e4e5ee8012d34c9c006aa3d28000c008021..."} 
[2026-09-05 02:55:35] local.INFO: Processing buffer {"connection_id":171508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e4e5ee8012d34c9c006aa3d28000c008021..."} 
[2026-09-05 02:55:35] local.INFO: Packet analysis {"connection_id":171508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e4e"} 
[2026-09-05 02:55:35] local.INFO: Extracted packet for processing {"connection_id":171508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e4e"} 
[2026-09-05 02:55:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":12,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870521344001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788557025000,"timestamp_ms":1788557025000,"timestamp_seconds":1788557025,"priority":1,"record_length":96,"hex_timestamp":"000001a06e4e5ee8"} 
[2026-09-05 02:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:55:35] 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-09-05 02: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 02:55:35] 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-09-05 02: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-09-05 02:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870521344001,"66":25756,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870521344001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:55:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:55:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870521344001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":171508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:55:35] local.INFO: GPS data processed {"connection_id":171508,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:55:35] local.INFO: Acknowledgment sent {"connection_id":171508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:55:58] local.INFO: TCP Data received {"connection_id":172619,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:55:58] local.INFO: Processing buffer {"connection_id":172619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:55:58] local.INFO: IMEI packet received {"connection_id":172619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":172619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:56:03] local.INFO: TCP Data received {"connection_id":172619,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:56:03] local.INFO: Processing buffer {"connection_id":172619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:56:03] local.INFO: IMEI packet received {"connection_id":172619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":172619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:56:04] local.INFO: TCP Data received {"connection_id":172619,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e4e5ee8012d34c9c006aa3d28000c008021..."} 
[2026-09-05 02:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e4e5ee8012d34c9c006aa3d28000c008021..."} 
[2026-09-05 02:56:04] local.INFO: Processing buffer {"connection_id":172619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e4e5ee8012d34c9c006aa3d28000c008021..."} 
[2026-09-05 02:56:04] local.INFO: Packet analysis {"connection_id":172619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e4e"} 
[2026-09-05 02:56:04] local.INFO: Extracted packet for processing {"connection_id":172619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e4e"} 
[2026-09-05 02:56:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":12,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 02:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870521344001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788557025000,"timestamp_ms":1788557025000,"timestamp_seconds":1788557025,"priority":1,"record_length":96,"hex_timestamp":"000001a06e4e5ee8"} 
[2026-09-05 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-09-05 02:56: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-09-05 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 02:56: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-09-05 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-09-05 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-09-05 02:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:56: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-09-05 02:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870521344001,"66":25756,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870521344001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:56:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:56:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870521344001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":172619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:56:04] local.INFO: GPS data processed {"connection_id":172619,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:56:04] local.INFO: Acknowledgment sent {"connection_id":172619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:56:35] local.INFO: TCP Data received {"connection_id":172619,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e4e5ee8012d34c9c006aa3d28000c008021..."} 
[2026-09-05 02:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e4e5ee8012d34c9c006aa3d28000c008021..."} 
[2026-09-05 02:56:35] local.INFO: Processing buffer {"connection_id":172619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e4e5ee8012d34c9c006aa3d28000c008021..."} 
[2026-09-05 02:56:35] local.INFO: Packet analysis {"connection_id":172619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e4e"} 
[2026-09-05 02:56:35] local.INFO: Extracted packet for processing {"connection_id":172619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e4e"} 
[2026-09-05 02:56:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":12,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870521344001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788557025000,"timestamp_ms":1788557025000,"timestamp_seconds":1788557025,"priority":1,"record_length":96,"hex_timestamp":"000001a06e4e5ee8"} 
[2026-09-05 02:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:56:35] 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-09-05 02:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 02:56:35] 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-09-05 02:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870521344001,"66":25756,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870521344001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:56:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:56:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870521344001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":172619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:56:35] local.INFO: GPS data processed {"connection_id":172619,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:56:35] local.INFO: Acknowledgment sent {"connection_id":172619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:56:58] local.INFO: TCP Data received {"connection_id":173902,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:56:58] local.INFO: Processing buffer {"connection_id":173902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:56:58] local.INFO: IMEI packet received {"connection_id":173902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":173902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:57:03] local.INFO: TCP Data received {"connection_id":173902,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:57:03] local.INFO: Processing buffer {"connection_id":173902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:57:03] local.INFO: IMEI packet received {"connection_id":173902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":173902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:57:03] local.INFO: TCP Data received {"connection_id":173902,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e4e5ee8012d34c9c006aa3d28000c008021..."} 
[2026-09-05 02:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e4e5ee8012d34c9c006aa3d28000c008021..."} 
[2026-09-05 02:57:03] local.INFO: Processing buffer {"connection_id":173902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e4e5ee8012d34c9c006aa3d28000c008021..."} 
[2026-09-05 02:57:03] local.INFO: Packet analysis {"connection_id":173902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e4e"} 
[2026-09-05 02:57:03] local.INFO: Extracted packet for processing {"connection_id":173902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e4e"} 
[2026-09-05 02:57:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":12,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870521344001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788557025000,"timestamp_ms":1788557025000,"timestamp_seconds":1788557025,"priority":1,"record_length":96,"hex_timestamp":"000001a06e4e5ee8"} 
[2026-09-05 02:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:57: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-09-05 02:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 02:57: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-09-05 02:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:57: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-09-05 02:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870521344001,"66":25756,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870521344001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:57:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:57:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870521344001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":173902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:57:03] local.INFO: GPS data processed {"connection_id":173902,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:57:03] local.INFO: Acknowledgment sent {"connection_id":173902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:57:35] local.INFO: TCP Data received {"connection_id":173902,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e4e5ee8012d34c9c006aa3d28000c008021..."} 
[2026-09-05 02:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e4e5ee8012d34c9c006aa3d28000c008021..."} 
[2026-09-05 02:57:35] local.INFO: Processing buffer {"connection_id":173902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e4e5ee8012d34c9c006aa3d28000c008021..."} 
[2026-09-05 02:57:35] local.INFO: Packet analysis {"connection_id":173902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e4e"} 
[2026-09-05 02:57:35] local.INFO: Extracted packet for processing {"connection_id":173902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e4e"} 
[2026-09-05 02:57:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":12,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870521344001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788557025000,"timestamp_ms":1788557025000,"timestamp_seconds":1788557025,"priority":1,"record_length":96,"hex_timestamp":"000001a06e4e5ee8"} 
[2026-09-05 02:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:57:35] 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-09-05 02:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 02:57:35] 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-09-05 02:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870521344001,"66":25756,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870521344001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:57:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:57:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870521344001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":173902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:57:35] local.INFO: GPS data processed {"connection_id":173902,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:57:35] local.INFO: Acknowledgment sent {"connection_id":173902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:57:57] local.INFO: TCP Data received {"connection_id":171509,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:57:57] local.INFO: Processing buffer {"connection_id":171509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:57:57] local.INFO: IMEI packet received {"connection_id":171509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":171509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:58:05] local.INFO: TCP Data received {"connection_id":171509,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:58:05] local.INFO: Processing buffer {"connection_id":171509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:58:05] local.INFO: IMEI packet received {"connection_id":171509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":171509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:58:09] local.INFO: TCP Data received {"connection_id":171509,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e4e5ee8012d34c9c006aa3d28000c008021..."} 
[2026-09-05 02:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e4e5ee8012d34c9c006aa3d28000c008021..."} 
[2026-09-05 02:58:09] local.INFO: Processing buffer {"connection_id":171509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e4e5ee8012d34c9c006aa3d28000c008021..."} 
[2026-09-05 02:58:09] local.INFO: Packet analysis {"connection_id":171509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e4e"} 
[2026-09-05 02:58:09] local.INFO: Extracted packet for processing {"connection_id":171509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e4e"} 
[2026-09-05 02:58:09] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":12,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870521344001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788557025000,"timestamp_ms":1788557025000,"timestamp_seconds":1788557025,"priority":1,"record_length":96,"hex_timestamp":"000001a06e4e5ee8"} 
[2026-09-05 02:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:58: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-09-05 02: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 02:58:09] 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-09-05 02: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-09-05 02:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:58:09] 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-09-05 02:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870521344001,"66":25756,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870521344001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:58:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:58:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870521344001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":171509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:58:09] local.INFO: GPS data processed {"connection_id":171509,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:58:09] local.INFO: Acknowledgment sent {"connection_id":171509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:58:44] local.INFO: TCP Data received {"connection_id":171509,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e4e5ee8012d34c9c006aa3d28000c008021..."} 
[2026-09-05 02:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e4e5ee8012d34c9c006aa3d28000c008021..."} 
[2026-09-05 02:58:44] local.INFO: Processing buffer {"connection_id":171509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e4e5ee8012d34c9c006aa3d28000c008021..."} 
[2026-09-05 02:58:44] local.INFO: Packet analysis {"connection_id":171509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e4e"} 
[2026-09-05 02:58:44] local.INFO: Extracted packet for processing {"connection_id":171509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e4e"} 
[2026-09-05 02:58:44] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":12,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 02:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870521344001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788557025000,"timestamp_ms":1788557025000,"timestamp_seconds":1788557025,"priority":1,"record_length":96,"hex_timestamp":"000001a06e4e5ee8"} 
[2026-09-05 02:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:58: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-09-05 02:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 02:58:44] 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-09-05 02:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 02:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":171509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":171509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":171509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:58:44] 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-09-05 02:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870521344001,"66":25756,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870521344001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:58:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:58:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870521344001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":171509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:58:44] local.INFO: GPS data processed {"connection_id":171509,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:58:44] local.INFO: Acknowledgment sent {"connection_id":171509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:58:57] local.INFO: TCP Data received {"connection_id":173903,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:58:57] local.INFO: Processing buffer {"connection_id":173903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:58:57] local.INFO: IMEI packet received {"connection_id":173903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":173903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:59:03] local.INFO: TCP Data received {"connection_id":173903,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:59:03] local.INFO: Processing buffer {"connection_id":173903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:59:03] local.INFO: IMEI packet received {"connection_id":173903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 02:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":173903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 02:59:06] local.INFO: TCP Data received {"connection_id":173903,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e4e5ee8012d34c9c006aa3d28000c008021..."} 
[2026-09-05 02:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e4e5ee8012d34c9c006aa3d28000c008021..."} 
[2026-09-05 02:59:06] local.INFO: Processing buffer {"connection_id":173903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e4e5ee8012d34c9c006aa3d28000c008021..."} 
[2026-09-05 02:59:06] local.INFO: Packet analysis {"connection_id":173903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e4e"} 
[2026-09-05 02:59:06] local.INFO: Extracted packet for processing {"connection_id":173903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e4e"} 
[2026-09-05 02:59:06] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":12,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870521344001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788557025000,"timestamp_ms":1788557025000,"timestamp_seconds":1788557025,"priority":1,"record_length":96,"hex_timestamp":"000001a06e4e5ee8"} 
[2026-09-05 02:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:59:06] 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-09-05 02: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 02:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 02: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-09-05 02:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:59:06] 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-09-05 02:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870521344001,"66":25756,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870521344001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:59:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:59:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870521344001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":173903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:59:06] local.INFO: GPS data processed {"connection_id":173903,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:59:06] local.INFO: Acknowledgment sent {"connection_id":173903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:59:38] local.INFO: TCP Data received {"connection_id":173903,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e52f6b0012d34c9c006aa3d28000c008023..."} 
[2026-09-05 02:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e52f6b0012d34c9c006aa3d28000c008023..."} 
[2026-09-05 02:59:38] local.INFO: Processing buffer {"connection_id":173903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e52f6b0012d34c9c006aa3d28000c008023..."} 
[2026-09-05 02:59:38] local.INFO: Packet analysis {"connection_id":173903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e52"} 
[2026-09-05 02:59:38] local.INFO: Extracted packet for processing {"connection_id":173903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e52"} 
[2026-09-05 02:59:38] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":12,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 02: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-09-05 02:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870598400001,"note":"Value kept but may cause issues"} 
[2026-09-05 02:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 02:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 02:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 02:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788557326000,"timestamp_ms":1788557326000,"timestamp_seconds":1788557326,"priority":1,"record_length":96,"hex_timestamp":"000001a06e52f6b0"} 
[2026-09-05 02:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 02:59: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-09-05 02:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 02:59:38] 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-09-05 02: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-09-05 02:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 02:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 02:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 02:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 02:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 02:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 02:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 02:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870598400001,"66":25702,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 02:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 02:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 02:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870598400001,"description":"Unknown IO ID 0"} 
[2026-09-05 02:59:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 02:59:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 02:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 02:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 02:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870598400001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 02:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":173903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 02:59:38] local.INFO: GPS data processed {"connection_id":173903,"processed":1,"errors":0,"total":1} 
[2026-09-05 02:59:38] local.INFO: Acknowledgment sent {"connection_id":173903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 02:59:41] local.INFO: TCP Data received {"connection_id":173901,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173901,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:59:41] local.INFO: Processing buffer {"connection_id":173901,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 02:59:41] local.INFO: IMEI packet received {"connection_id":173901,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 02:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":173901,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 02:59:58] local.INFO: TCP Data received {"connection_id":171203,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:59:58] local.INFO: Processing buffer {"connection_id":171203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 02:59:58] local.INFO: IMEI packet received {"connection_id":171203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 02:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":171203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:00:03] local.INFO: TCP Data received {"connection_id":171203,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:00:03] local.INFO: Processing buffer {"connection_id":171203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:00:03] local.INFO: IMEI packet received {"connection_id":171203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":171203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:00:03] local.INFO: TCP Data received {"connection_id":171203,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e52f6b0012d34c9c006aa3d28000c008023..."} 
[2026-09-05 03:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e52f6b0012d34c9c006aa3d28000c008023..."} 
[2026-09-05 03:00:03] local.INFO: Processing buffer {"connection_id":171203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e52f6b0012d34c9c006aa3d28000c008023..."} 
[2026-09-05 03:00:03] local.INFO: Packet analysis {"connection_id":171203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e52"} 
[2026-09-05 03:00:03] local.INFO: Extracted packet for processing {"connection_id":171203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e52"} 
[2026-09-05 03:00:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":12,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 03:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870598400001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788557326000,"timestamp_ms":1788557326000,"timestamp_seconds":1788557326,"priority":1,"record_length":96,"hex_timestamp":"000001a06e52f6b0"} 
[2026-09-05 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-09-05 03:00: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-09-05 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 03:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 03:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:00: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-09-05 03:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870598400001,"66":25702,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870598400001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:00:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:00:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870598400001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":171203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:00:03] local.INFO: GPS data processed {"connection_id":171203,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:00:03] local.INFO: Acknowledgment sent {"connection_id":171203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:00:35] local.INFO: TCP Data received {"connection_id":171203,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e52f6b0012d34c9c006aa3d28000c008023..."} 
[2026-09-05 03:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e52f6b0012d34c9c006aa3d28000c008023..."} 
[2026-09-05 03:00:35] local.INFO: Processing buffer {"connection_id":171203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e52f6b0012d34c9c006aa3d28000c008023..."} 
[2026-09-05 03:00:35] local.INFO: Packet analysis {"connection_id":171203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e52"} 
[2026-09-05 03:00:35] local.INFO: Extracted packet for processing {"connection_id":171203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e52"} 
[2026-09-05 03:00:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":12,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870598400001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788557326000,"timestamp_ms":1788557326000,"timestamp_seconds":1788557326,"priority":1,"record_length":96,"hex_timestamp":"000001a06e52f6b0"} 
[2026-09-05 03:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:00:35] 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-09-05 03:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 03:00:35] 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-09-05 03:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870598400001,"66":25702,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870598400001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:00:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:00:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870598400001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":171203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:00:35] local.INFO: GPS data processed {"connection_id":171203,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:00:35] local.INFO: Acknowledgment sent {"connection_id":171203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:01:00] local.INFO: TCP Data received {"connection_id":171511,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:01:00] local.INFO: Processing buffer {"connection_id":171511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:01:00] local.INFO: IMEI packet received {"connection_id":171511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":171511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:01:02] local.INFO: TCP Data received {"connection_id":171511,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:01:02] local.INFO: Processing buffer {"connection_id":171511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:01:02] local.INFO: IMEI packet received {"connection_id":171511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":171511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:01:03] local.INFO: TCP Data received {"connection_id":171511,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e52f6b0012d34c9c006aa3d28000c008023..."} 
[2026-09-05 03:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e52f6b0012d34c9c006aa3d28000c008023..."} 
[2026-09-05 03:01:03] local.INFO: Processing buffer {"connection_id":171511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e52f6b0012d34c9c006aa3d28000c008023..."} 
[2026-09-05 03:01:03] local.INFO: Packet analysis {"connection_id":171511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e52"} 
[2026-09-05 03:01:03] local.INFO: Extracted packet for processing {"connection_id":171511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e52"} 
[2026-09-05 03:01:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":12,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870598400001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788557326000,"timestamp_ms":1788557326000,"timestamp_seconds":1788557326,"priority":1,"record_length":96,"hex_timestamp":"000001a06e52f6b0"} 
[2026-09-05 03:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:01: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-09-05 03:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 03:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03: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-09-05 03:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:01: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-09-05 03:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870598400001,"66":25702,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870598400001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:01:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:01:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870598400001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":171511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:01:03] local.INFO: GPS data processed {"connection_id":171511,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:01:03] local.INFO: Acknowledgment sent {"connection_id":171511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:01:08] local.INFO: TCP Data received {"connection_id":171511,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e52f6b0012d34c9c006aa3d28000c008023..."} 
[2026-09-05 03:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e52f6b0012d34c9c006aa3d28000c008023..."} 
[2026-09-05 03:01:08] local.INFO: Processing buffer {"connection_id":171511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e52f6b0012d34c9c006aa3d28000c008023..."} 
[2026-09-05 03:01:08] local.INFO: Packet analysis {"connection_id":171511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e52"} 
[2026-09-05 03:01:08] local.INFO: Extracted packet for processing {"connection_id":171511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e52"} 
[2026-09-05 03:01:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":12,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870598400001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788557326000,"timestamp_ms":1788557326000,"timestamp_seconds":1788557326,"priority":1,"record_length":96,"hex_timestamp":"000001a06e52f6b0"} 
[2026-09-05 03:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03: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-09-05 03: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 03:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03: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-09-05 03:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:01: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-09-05 03:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870598400001,"66":25702,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870598400001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:01:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:01:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870598400001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":171511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:01:08] local.INFO: GPS data processed {"connection_id":171511,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:01:08] local.INFO: Acknowledgment sent {"connection_id":171511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:01:39] local.INFO: TCP Data received {"connection_id":171511,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e52f6b0012d34c9c006aa3d28000c008023..."} 
[2026-09-05 03:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e52f6b0012d34c9c006aa3d28000c008023..."} 
[2026-09-05 03:01:39] local.INFO: Processing buffer {"connection_id":171511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e52f6b0012d34c9c006aa3d28000c008023..."} 
[2026-09-05 03:01:39] local.INFO: Packet analysis {"connection_id":171511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e52"} 
[2026-09-05 03:01:39] local.INFO: Extracted packet for processing {"connection_id":171511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e52"} 
[2026-09-05 03:01:39] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":12,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870598400001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788557326000,"timestamp_ms":1788557326000,"timestamp_seconds":1788557326,"priority":1,"record_length":96,"hex_timestamp":"000001a06e52f6b0"} 
[2026-09-05 03:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:01: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-09-05 03: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 03:01:39] 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-09-05 03: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-09-05 03:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870598400001,"66":25702,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870598400001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:01:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:01:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870598400001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":171511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:01:39] local.INFO: GPS data processed {"connection_id":171511,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:01:39] local.INFO: Acknowledgment sent {"connection_id":171511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:01:57] local.INFO: TCP Data received {"connection_id":171204,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:01:57] local.INFO: Processing buffer {"connection_id":171204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:01:57] local.INFO: IMEI packet received {"connection_id":171204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":171204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:02:03] local.INFO: TCP Data received {"connection_id":171204,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:02:03] local.INFO: Processing buffer {"connection_id":171204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:02:03] local.INFO: IMEI packet received {"connection_id":171204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":171204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:02:03] local.INFO: TCP Data received {"connection_id":171204,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e52f6b0012d34c9c006aa3d28000c008023..."} 
[2026-09-05 03:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e52f6b0012d34c9c006aa3d28000c008023..."} 
[2026-09-05 03:02:03] local.INFO: Processing buffer {"connection_id":171204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e52f6b0012d34c9c006aa3d28000c008023..."} 
[2026-09-05 03:02:03] local.INFO: Packet analysis {"connection_id":171204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e52"} 
[2026-09-05 03:02:03] local.INFO: Extracted packet for processing {"connection_id":171204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e52"} 
[2026-09-05 03:02:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":12,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870598400001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788557326000,"timestamp_ms":1788557326000,"timestamp_seconds":1788557326,"priority":1,"record_length":96,"hex_timestamp":"000001a06e52f6b0"} 
[2026-09-05 03:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:02: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-09-05 03:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 03:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:02: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-09-05 03:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870598400001,"66":25702,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870598400001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:02:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:02:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870598400001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":171204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:02:03] local.INFO: GPS data processed {"connection_id":171204,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:02:03] local.INFO: Acknowledgment sent {"connection_id":171204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:02:35] local.INFO: TCP Data received {"connection_id":171204,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e52f6b0012d34c9c006aa3d28000c008023..."} 
[2026-09-05 03:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e52f6b0012d34c9c006aa3d28000c008023..."} 
[2026-09-05 03:02:35] local.INFO: Processing buffer {"connection_id":171204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e52f6b0012d34c9c006aa3d28000c008023..."} 
[2026-09-05 03:02:35] local.INFO: Packet analysis {"connection_id":171204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e52"} 
[2026-09-05 03:02:35] local.INFO: Extracted packet for processing {"connection_id":171204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e52"} 
[2026-09-05 03:02:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":12,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870598400001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788557326000,"timestamp_ms":1788557326000,"timestamp_seconds":1788557326,"priority":1,"record_length":96,"hex_timestamp":"000001a06e52f6b0"} 
[2026-09-05 03:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:02:35] 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-09-05 03:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 03:02:35] 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-09-05 03: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-09-05 03:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870598400001,"66":25702,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870598400001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:02:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:02:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870598400001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":171204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:02:35] local.INFO: GPS data processed {"connection_id":171204,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:02:35] local.INFO: Acknowledgment sent {"connection_id":171204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:02:57] local.INFO: TCP Data received {"connection_id":171205,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:02:57] local.INFO: Processing buffer {"connection_id":171205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:02:57] local.INFO: IMEI packet received {"connection_id":171205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":171205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:03:03] local.INFO: TCP Data received {"connection_id":171205,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:03:03] local.INFO: Processing buffer {"connection_id":171205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:03:03] local.INFO: IMEI packet received {"connection_id":171205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":171205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:03:03] local.INFO: TCP Data received {"connection_id":171205,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e52f6b0012d34c9c006aa3d28000c008023..."} 
[2026-09-05 03:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e52f6b0012d34c9c006aa3d28000c008023..."} 
[2026-09-05 03:03:03] local.INFO: Processing buffer {"connection_id":171205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e52f6b0012d34c9c006aa3d28000c008023..."} 
[2026-09-05 03:03:03] local.INFO: Packet analysis {"connection_id":171205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e52"} 
[2026-09-05 03:03:03] local.INFO: Extracted packet for processing {"connection_id":171205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e52"} 
[2026-09-05 03:03:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":12,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 03:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870598400001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788557326000,"timestamp_ms":1788557326000,"timestamp_seconds":1788557326,"priority":1,"record_length":96,"hex_timestamp":"000001a06e52f6b0"} 
[2026-09-05 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-09-05 03:03: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-09-05 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 03:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 03:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:03: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-09-05 03:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870598400001,"66":25702,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870598400001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:03:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:03:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870598400001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":171205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:03:03] local.INFO: GPS data processed {"connection_id":171205,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:03:03] local.INFO: Acknowledgment sent {"connection_id":171205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:03:35] local.INFO: TCP Data received {"connection_id":171205,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06e52f6b0012d34c9c006aa3d28000c008023..."} 
[2026-09-05 03:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e52f6b0012d34c9c006aa3d28000c008023..."} 
[2026-09-05 03:03:35] local.INFO: Processing buffer {"connection_id":171205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e52f6b0012d34c9c006aa3d28000c008023..."} 
[2026-09-05 03:03:35] local.INFO: Packet analysis {"connection_id":171205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e52"} 
[2026-09-05 03:03:35] local.INFO: Extracted packet for processing {"connection_id":171205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e52"} 
[2026-09-05 03:03:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":12,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870598400001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788557326000,"timestamp_ms":1788557326000,"timestamp_seconds":1788557326,"priority":1,"record_length":96,"hex_timestamp":"000001a06e52f6b0"} 
[2026-09-05 03:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:03:35] 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-09-05 03:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 03:03:35] 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-09-05 03:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870598400001,"66":25702,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870598400001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:03:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:03:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870598400001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":171205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:03:35] local.INFO: GPS data processed {"connection_id":171205,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:03:35] local.INFO: Acknowledgment sent {"connection_id":171205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:03:57] local.INFO: TCP Data received {"connection_id":171206,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:03:57] local.INFO: Processing buffer {"connection_id":171206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:03:57] local.INFO: IMEI packet received {"connection_id":171206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":171206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:04:03] local.INFO: TCP Data received {"connection_id":171206,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:04:03] local.INFO: Processing buffer {"connection_id":171206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:04:03] local.INFO: IMEI packet received {"connection_id":171206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":171206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:04:04] local.INFO: TCP Data received {"connection_id":171206,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a06e52f6b0012d34c9c006aa3d28000c008023..."} 
[2026-09-05 03:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e52f6b0012d34c9c006aa3d28000c008023..."} 
[2026-09-05 03:04:04] local.INFO: Processing buffer {"connection_id":171206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e52f6b0012d34c9c006aa3d28000c008023..."} 
[2026-09-05 03:04:04] local.INFO: Packet analysis {"connection_id":171206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e52"} 
[2026-09-05 03:04:04] local.INFO: Extracted packet for processing {"connection_id":171206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e52"} 
[2026-09-05 03:04:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":12,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870598400001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788557326000,"timestamp_ms":1788557326000,"timestamp_seconds":1788557326,"priority":1,"record_length":96,"hex_timestamp":"000001a06e52f6b0"} 
[2026-09-05 03:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:04: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-09-05 03: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":156,"data_length":795,"current_offset":136} 
[2026-09-05 03:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03: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-09-05 03:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:04: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-09-05 03:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870598400001,"66":25702,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870598400001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:04:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:04:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870598400001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":171206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:04:04] local.INFO: GPS data processed {"connection_id":171206,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:04:04] local.INFO: Acknowledgment sent {"connection_id":171206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:04:35] local.INFO: TCP Data received {"connection_id":171206,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a06e578e78012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e578e78012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:04:36] local.INFO: Processing buffer {"connection_id":171206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e578e78012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:04:36] local.INFO: Packet analysis {"connection_id":171206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e57"} 
[2026-09-05 03:04:36] local.INFO: Extracted packet for processing {"connection_id":171206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e57"} 
[2026-09-05 03:04:36] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870675456001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788557627000,"timestamp_ms":1788557627000,"timestamp_seconds":1788557627,"priority":1,"record_length":96,"hex_timestamp":"000001a06e578e78"} 
[2026-09-05 03:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:04: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-09-05 03: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":102,"data_length":795,"current_offset":136} 
[2026-09-05 03:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03: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-09-05 03:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:04: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-09-05 03:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870675456001,"66":25680,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870675456001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:04:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:04:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870675456001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":171206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:04:36] local.INFO: GPS data processed {"connection_id":171206,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:04:36] local.INFO: Acknowledgment sent {"connection_id":171206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:04:58] local.INFO: TCP Data received {"connection_id":171207,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:04:58] local.INFO: Processing buffer {"connection_id":171207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:04:58] local.INFO: IMEI packet received {"connection_id":171207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":171207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:05:03] local.INFO: TCP Data received {"connection_id":171207,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:05:03] local.INFO: Processing buffer {"connection_id":171207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:05:03] local.INFO: IMEI packet received {"connection_id":171207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":171207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:05:03] local.INFO: TCP Data received {"connection_id":171207,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a06e578e78012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e578e78012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:05:03] local.INFO: Processing buffer {"connection_id":171207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e578e78012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:05:03] local.INFO: Packet analysis {"connection_id":171207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e57"} 
[2026-09-05 03:05:03] local.INFO: Extracted packet for processing {"connection_id":171207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e57"} 
[2026-09-05 03:05:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870675456001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788557627000,"timestamp_ms":1788557627000,"timestamp_seconds":1788557627,"priority":1,"record_length":96,"hex_timestamp":"000001a06e578e78"} 
[2026-09-05 03:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:05: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-09-05 03:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 03:05: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-09-05 03:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:05: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-09-05 03:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870675456001,"66":25680,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870675456001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:05:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:05:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870675456001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":171207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:05:03] local.INFO: GPS data processed {"connection_id":171207,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:05:03] local.INFO: Acknowledgment sent {"connection_id":171207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:05:08] local.INFO: TCP Data received {"connection_id":171207,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a06e578e78012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e578e78012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:05:08] local.INFO: Processing buffer {"connection_id":171207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e578e78012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:05:08] local.INFO: Packet analysis {"connection_id":171207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e57"} 
[2026-09-05 03:05:08] local.INFO: Extracted packet for processing {"connection_id":171207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e57"} 
[2026-09-05 03:05:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870675456001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788557627000,"timestamp_ms":1788557627000,"timestamp_seconds":1788557627,"priority":1,"record_length":96,"hex_timestamp":"000001a06e578e78"} 
[2026-09-05 03:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:05: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-09-05 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 03:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03: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-09-05 03:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870675456001,"66":25680,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870675456001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:05:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:05:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870675456001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":171207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:05:08] local.INFO: GPS data processed {"connection_id":171207,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:05:08] local.INFO: Acknowledgment sent {"connection_id":171207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:05:13] local.INFO: TCP Data received {"connection_id":171510,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171510,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:05:13] local.INFO: Processing buffer {"connection_id":171510,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:05:13] local.INFO: IMEI packet received {"connection_id":171510,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 03:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":171510,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:05:33] local.INFO: TCP Data received {"connection_id":172620,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172620,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:05:33] local.INFO: Processing buffer {"connection_id":172620,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:05:33] local.INFO: IMEI packet received {"connection_id":172620,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 03:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":172620,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:05:37] local.INFO: TCP Data received {"connection_id":172620,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172620,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:05:37] local.INFO: Processing buffer {"connection_id":172620,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:05:37] local.INFO: IMEI packet received {"connection_id":172620,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 03:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":172620,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:05:37] local.INFO: TCP Data received {"connection_id":172620,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06e5803a8012cec4600071726d00027000426..."} 
[2026-09-05 03:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e5803a8012cec4600071726d00027000426..."} 
[2026-09-05 03:05:37] local.INFO: Processing buffer {"connection_id":172620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e5803a8012cec4600071726d00027000426..."} 
[2026-09-05 03:05:37] local.INFO: Packet analysis {"connection_id":172620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e58"} 
[2026-09-05 03:05:37] local.INFO: Extracted packet for processing {"connection_id":172620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e58"} 
[2026-09-05 03:05:37] local.INFO: GPS Element Parsed {"raw_longitude":753681920,"raw_latitude":118957776,"longitude_deg":75.368192,"latitude_deg":11.8957776,"altitude":39,"angle":4,"satellites":38,"speed":37,"hex_longitude":"2cec4600","hex_latitude":"071726d0","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870757120001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":195107479355392,"note":"Value kept but may cause issues"} 
[2026-09-05 03:05:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1421730076914737152,"note":"Value kept but may cause issues"} 
[2026-09-05 03:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788557657000,"timestamp_ms":1788557657000,"timestamp_seconds":1788557657,"priority":1,"record_length":96,"hex_timestamp":"000001a06e5803a8"} 
[2026-09-05 03:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 03:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 03:05: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-09-05 03: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-09-05 03:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 03:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 03:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 03:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 03:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870757120001,"66":27593,"116":206,"83":41216,"24":37,"16":195107479355392,"44":-1421730076914737152},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,83,24,16,44]} 
[2026-09-05 03:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 03:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 03:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870757120001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:05:37] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-05 03:05:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-05 03:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":195107479355392,"km_value":195107479355.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:05:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1421730076914737152,"description":"Unknown IO ID 44"} 
[2026-09-05 03:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870757120001,"power":27593,"unknown_116":206,"unknown_83":41216,"ignition":37,"odometer":null,"unknown_44":-1421730076914737152}} 
[2026-09-05 03:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":172620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766634,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:05:37] local.INFO: GPS data processed {"connection_id":172620,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:05:37] local.INFO: Acknowledgment sent {"connection_id":172620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:05:38] local.INFO: TCP Data received {"connection_id":172620,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06e5826d0012cec4900071749d00026000525..."} 
[2026-09-05 03:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e5826d0012cec4900071749d00026000525..."} 
[2026-09-05 03:05:38] local.INFO: Processing buffer {"connection_id":172620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e5826d0012cec4900071749d00026000525..."} 
[2026-09-05 03:05:38] local.INFO: Packet analysis {"connection_id":172620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e58"} 
[2026-09-05 03:05:38] local.INFO: Extracted packet for processing {"connection_id":172620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e58"} 
[2026-09-05 03:05:38] local.INFO: GPS Element Parsed {"raw_longitude":753682688,"raw_latitude":118966736,"longitude_deg":75.3682688,"latitude_deg":11.8966736,"altitude":38,"angle":5,"satellites":37,"speed":41,"hex_longitude":"2cec4900","hex_latitude":"071749d0","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870760192001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":195545566019584,"note":"Value kept but may cause issues"} 
[2026-09-05 03:05:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1421448601935622144,"note":"Value kept but may cause issues"} 
[2026-09-05 03:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788557666000,"timestamp_ms":1788557666000,"timestamp_seconds":1788557666,"priority":1,"record_length":96,"hex_timestamp":"000001a06e5826d0"} 
[2026-09-05 03:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:05: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-09-05 03: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":201,"data_length":795,"current_offset":136} 
[2026-09-05 03:05:38] 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-09-05 03: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-09-05 03:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":172620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":172620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 03:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":172620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 03:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 03:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 03:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870760192001,"66":27593,"116":206,"83":41216,"24":41,"16":195545566019584,"44":-1421448601935622144},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,83,24,16,44]} 
[2026-09-05 03:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 03:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 03:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870760192001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:05:38] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-05 03:05:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-05 03:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":195545566019584,"km_value":195545566019.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:05:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1421448601935622144,"description":"Unknown IO ID 44"} 
[2026-09-05 03:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870760192001,"power":27593,"unknown_116":206,"unknown_83":41216,"ignition":41,"odometer":null,"unknown_44":-1421448601935622144}} 
[2026-09-05 03:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":172620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766635,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:05:38] local.INFO: GPS data processed {"connection_id":172620,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:05:38] local.INFO: Acknowledgment sent {"connection_id":172620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:05:39] local.INFO: TCP Data received {"connection_id":171207,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a06e578e78012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e578e78012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:05:39] local.INFO: Processing buffer {"connection_id":171207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e578e78012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:05:39] local.INFO: Packet analysis {"connection_id":171207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e57"} 
[2026-09-05 03:05:39] local.INFO: Extracted packet for processing {"connection_id":171207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e57"} 
[2026-09-05 03:05:39] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870675456001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788557627000,"timestamp_ms":1788557627000,"timestamp_seconds":1788557627,"priority":1,"record_length":96,"hex_timestamp":"000001a06e578e78"} 
[2026-09-05 03:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:05: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-09-05 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 03:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03: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-09-05 03:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870675456001,"66":25680,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870675456001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:05:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:05:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870675456001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":171207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:05:39] local.INFO: GPS data processed {"connection_id":171207,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:05:39] local.INFO: Acknowledgment sent {"connection_id":171207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:05:58] local.INFO: TCP Data received {"connection_id":171512,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:05:58] local.INFO: Processing buffer {"connection_id":171512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:05:58] local.INFO: IMEI packet received {"connection_id":171512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":171512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:06:03] local.INFO: TCP Data received {"connection_id":171512,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:06:03] local.INFO: Processing buffer {"connection_id":171512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:06:03] local.INFO: IMEI packet received {"connection_id":171512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":171512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:06:03] local.INFO: TCP Data received {"connection_id":171512,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a06e578e78012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e578e78012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:06:03] local.INFO: Processing buffer {"connection_id":171512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e578e78012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:06:03] local.INFO: Packet analysis {"connection_id":171512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e57"} 
[2026-09-05 03:06:03] local.INFO: Extracted packet for processing {"connection_id":171512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e57"} 
[2026-09-05 03:06:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870675456001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788557627000,"timestamp_ms":1788557627000,"timestamp_seconds":1788557627,"priority":1,"record_length":96,"hex_timestamp":"000001a06e578e78"} 
[2026-09-05 03:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:06: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-09-05 03:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 03:06: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-09-05 03:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:06: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-09-05 03:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870675456001,"66":25680,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870675456001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:06:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:06:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870675456001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":171512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:06:03] local.INFO: GPS data processed {"connection_id":171512,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:06:03] local.INFO: Acknowledgment sent {"connection_id":171512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:06:10] local.INFO: TCP Data received {"connection_id":172621,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172621,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:06:10] local.INFO: Processing buffer {"connection_id":172621,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:06:10] local.INFO: IMEI packet received {"connection_id":172621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 03:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":172621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:06:35] local.INFO: TCP Data received {"connection_id":171512,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a06e578e78012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e578e78012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:06:35] local.INFO: Processing buffer {"connection_id":171512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e578e78012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:06:35] local.INFO: Packet analysis {"connection_id":171512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e57"} 
[2026-09-05 03:06:35] local.INFO: Extracted packet for processing {"connection_id":171512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e57"} 
[2026-09-05 03:06:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870675456001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788557627000,"timestamp_ms":1788557627000,"timestamp_seconds":1788557627,"priority":1,"record_length":96,"hex_timestamp":"000001a06e578e78"} 
[2026-09-05 03:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:06:35] 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-09-05 03:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 03:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03: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-09-05 03:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:06: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-09-05 03:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870675456001,"66":25680,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870675456001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:06:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:06:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870675456001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":171512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:06:35] local.INFO: GPS data processed {"connection_id":171512,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:06:35] local.INFO: Acknowledgment sent {"connection_id":171512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:06:57] local.INFO: TCP Data received {"connection_id":171513,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:06:57] local.INFO: Processing buffer {"connection_id":171513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:06:57] local.INFO: IMEI packet received {"connection_id":171513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":171513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:07:03] local.INFO: TCP Data received {"connection_id":171513,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:07:03] local.INFO: Processing buffer {"connection_id":171513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:07:03] local.INFO: IMEI packet received {"connection_id":171513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":171513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:07:03] local.INFO: TCP Data received {"connection_id":171513,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a06e578e78012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e578e78012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:07:03] local.INFO: Processing buffer {"connection_id":171513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e578e78012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:07:03] local.INFO: Packet analysis {"connection_id":171513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e57"} 
[2026-09-05 03:07:03] local.INFO: Extracted packet for processing {"connection_id":171513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e57"} 
[2026-09-05 03:07:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870675456001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788557627000,"timestamp_ms":1788557627000,"timestamp_seconds":1788557627,"priority":1,"record_length":96,"hex_timestamp":"000001a06e578e78"} 
[2026-09-05 03:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:07: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-09-05 03:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 03:07: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-09-05 03:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:07: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-09-05 03:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870675456001,"66":25680,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870675456001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:07:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:07:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870675456001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":171513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:07:03] local.INFO: GPS data processed {"connection_id":171513,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:07:03] local.INFO: Acknowledgment sent {"connection_id":171513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:07:35] local.INFO: TCP Data received {"connection_id":171513,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a06e578e78012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e578e78012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:07:35] local.INFO: Processing buffer {"connection_id":171513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e578e78012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:07:35] local.INFO: Packet analysis {"connection_id":171513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e57"} 
[2026-09-05 03:07:35] local.INFO: Extracted packet for processing {"connection_id":171513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e57"} 
[2026-09-05 03:07:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870675456001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788557627000,"timestamp_ms":1788557627000,"timestamp_seconds":1788557627,"priority":1,"record_length":96,"hex_timestamp":"000001a06e578e78"} 
[2026-09-05 03:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:07:35] 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-09-05 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 03:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03: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-09-05 03:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:07:35] 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-09-05 03:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870675456001,"66":25680,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870675456001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:07:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:07:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870675456001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":171513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:07:35] local.INFO: GPS data processed {"connection_id":171513,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:07:35] local.INFO: Acknowledgment sent {"connection_id":171513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:07:57] local.INFO: TCP Data received {"connection_id":171208,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:07:57] local.INFO: Processing buffer {"connection_id":171208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:07:57] local.INFO: IMEI packet received {"connection_id":171208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":171208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:08:03] local.INFO: TCP Data received {"connection_id":171208,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:08:03] local.INFO: Processing buffer {"connection_id":171208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:08:03] local.INFO: IMEI packet received {"connection_id":171208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":171208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:08:03] local.INFO: TCP Data received {"connection_id":171208,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a06e578e78012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e578e78012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:08:03] local.INFO: Processing buffer {"connection_id":171208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e578e78012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:08:03] local.INFO: Packet analysis {"connection_id":171208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e57"} 
[2026-09-05 03:08:03] local.INFO: Extracted packet for processing {"connection_id":171208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e57"} 
[2026-09-05 03:08:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870675456001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788557627000,"timestamp_ms":1788557627000,"timestamp_seconds":1788557627,"priority":1,"record_length":96,"hex_timestamp":"000001a06e578e78"} 
[2026-09-05 03:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:08: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-09-05 03: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":102,"data_length":795,"current_offset":136} 
[2026-09-05 03:08: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-09-05 03: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-09-05 03:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:08: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-09-05 03:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870675456001,"66":25680,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870675456001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:08:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:08:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870675456001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":171208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:08:03] local.INFO: GPS data processed {"connection_id":171208,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:08:03] local.INFO: Acknowledgment sent {"connection_id":171208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:08:35] local.INFO: TCP Data received {"connection_id":171208,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a06e578e78012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e578e78012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:08:35] local.INFO: Processing buffer {"connection_id":171208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e578e78012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:08:35] local.INFO: Packet analysis {"connection_id":171208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e57"} 
[2026-09-05 03:08:35] local.INFO: Extracted packet for processing {"connection_id":171208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e57"} 
[2026-09-05 03:08:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870675456001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788557627000,"timestamp_ms":1788557627000,"timestamp_seconds":1788557627,"priority":1,"record_length":96,"hex_timestamp":"000001a06e578e78"} 
[2026-09-05 03:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:08:35] 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-09-05 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 03:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03: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-09-05 03:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870675456001,"66":25680,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870675456001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:08:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:08:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870675456001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":171208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:08:35] local.INFO: GPS data processed {"connection_id":171208,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:08:35] local.INFO: Acknowledgment sent {"connection_id":171208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:08:57] local.INFO: TCP Data received {"connection_id":172623,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:08:57] local.INFO: Processing buffer {"connection_id":172623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:08:57] local.INFO: IMEI packet received {"connection_id":172623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":172623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:09:03] local.INFO: TCP Data received {"connection_id":172623,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:09:03] local.INFO: Processing buffer {"connection_id":172623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:09:03] local.INFO: IMEI packet received {"connection_id":172623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":172623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:09:03] local.INFO: TCP Data received {"connection_id":172623,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a06e578e78012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e578e78012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:09:03] local.INFO: Processing buffer {"connection_id":172623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e578e78012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:09:03] local.INFO: Packet analysis {"connection_id":172623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e57"} 
[2026-09-05 03:09:03] local.INFO: Extracted packet for processing {"connection_id":172623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e57"} 
[2026-09-05 03:09:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870675456001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788557627000,"timestamp_ms":1788557627000,"timestamp_seconds":1788557627,"priority":1,"record_length":96,"hex_timestamp":"000001a06e578e78"} 
[2026-09-05 03:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:09: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-09-05 03: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":102,"data_length":795,"current_offset":136} 
[2026-09-05 03:09: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-09-05 03: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-09-05 03:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870675456001,"66":25680,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870675456001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:09:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:09:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870675456001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":172623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:09:03] local.INFO: GPS data processed {"connection_id":172623,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:09:03] local.INFO: Acknowledgment sent {"connection_id":172623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:09:35] local.INFO: TCP Data received {"connection_id":172623,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a06e5c2640012d34c9c006aa3d280010008020..."} 
[2026-09-05 03:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e5c2640012d34c9c006aa3d280010008020..."} 
[2026-09-05 03:09:35] local.INFO: Processing buffer {"connection_id":172623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e5c2640012d34c9c006aa3d280010008020..."} 
[2026-09-05 03:09:35] local.INFO: Packet analysis {"connection_id":172623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e5c"} 
[2026-09-05 03:09:35] local.INFO: Extracted packet for processing {"connection_id":172623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e5c"} 
[2026-09-05 03:09:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870752512001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788557928000,"timestamp_ms":1788557928000,"timestamp_seconds":1788557928,"priority":1,"record_length":96,"hex_timestamp":"000001a06e5c2640"} 
[2026-09-05 03:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:09:35] 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-09-05 03:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 03:09:35] 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-09-05 03:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:09: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-09-05 03:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870752512001,"66":25647,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870752512001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:09:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:09:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870752512001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":172623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:09:35] local.INFO: GPS data processed {"connection_id":172623,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:09:35] local.INFO: Acknowledgment sent {"connection_id":172623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:09:58] local.INFO: TCP Data received {"connection_id":173904,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:09:58] local.INFO: Processing buffer {"connection_id":173904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:09:58] local.INFO: IMEI packet received {"connection_id":173904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":173904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:10:03] local.INFO: TCP Data received {"connection_id":173904,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:10:03] local.INFO: Processing buffer {"connection_id":173904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:10:03] local.INFO: IMEI packet received {"connection_id":173904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":173904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:10:03] local.INFO: TCP Data received {"connection_id":173904,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a06e5c2640012d34c9c006aa3d280010008020..."} 
[2026-09-05 03:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e5c2640012d34c9c006aa3d280010008020..."} 
[2026-09-05 03:10:03] local.INFO: Processing buffer {"connection_id":173904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e5c2640012d34c9c006aa3d280010008020..."} 
[2026-09-05 03:10:03] local.INFO: Packet analysis {"connection_id":173904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e5c"} 
[2026-09-05 03:10:03] local.INFO: Extracted packet for processing {"connection_id":173904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e5c"} 
[2026-09-05 03:10:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870752512001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788557928000,"timestamp_ms":1788557928000,"timestamp_seconds":1788557928,"priority":1,"record_length":96,"hex_timestamp":"000001a06e5c2640"} 
[2026-09-05 03:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:10: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-09-05 03:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 03:10: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-09-05 03:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:10: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-09-05 03:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870752512001,"66":25647,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870752512001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:10:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:10:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870752512001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":173904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:10:03] local.INFO: GPS data processed {"connection_id":173904,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:10:03] local.INFO: Acknowledgment sent {"connection_id":173904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:10:35] local.INFO: TCP Data received {"connection_id":173904,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a06e5c2640012d34c9c006aa3d280010008020..."} 
[2026-09-05 03:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e5c2640012d34c9c006aa3d280010008020..."} 
[2026-09-05 03:10:36] local.INFO: Processing buffer {"connection_id":173904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e5c2640012d34c9c006aa3d280010008020..."} 
[2026-09-05 03:10:36] local.INFO: Packet analysis {"connection_id":173904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e5c"} 
[2026-09-05 03:10:36] local.INFO: Extracted packet for processing {"connection_id":173904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e5c"} 
[2026-09-05 03:10:36] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870752512001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788557928000,"timestamp_ms":1788557928000,"timestamp_seconds":1788557928,"priority":1,"record_length":96,"hex_timestamp":"000001a06e5c2640"} 
[2026-09-05 03:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:10: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-09-05 03: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 03:10: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-09-05 03: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-09-05 03:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870752512001,"66":25647,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870752512001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:10:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:10:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870752512001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":173904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:10:36] local.INFO: GPS data processed {"connection_id":173904,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:10:36] local.INFO: Acknowledgment sent {"connection_id":173904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:10:58] local.INFO: TCP Data received {"connection_id":171209,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:10:58] local.INFO: Processing buffer {"connection_id":171209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:10:58] local.INFO: IMEI packet received {"connection_id":171209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":171209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:11:03] local.INFO: TCP Data received {"connection_id":171209,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:11:03] local.INFO: Processing buffer {"connection_id":171209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:11:03] local.INFO: IMEI packet received {"connection_id":171209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":171209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:11:03] local.INFO: TCP Data received {"connection_id":171209,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a06e5c2640012d34c9c006aa3d280010008020..."} 
[2026-09-05 03:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e5c2640012d34c9c006aa3d280010008020..."} 
[2026-09-05 03:11:03] local.INFO: Processing buffer {"connection_id":171209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e5c2640012d34c9c006aa3d280010008020..."} 
[2026-09-05 03:11:03] local.INFO: Packet analysis {"connection_id":171209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e5c"} 
[2026-09-05 03:11:03] local.INFO: Extracted packet for processing {"connection_id":171209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e5c"} 
[2026-09-05 03:11:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870752512001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788557928000,"timestamp_ms":1788557928000,"timestamp_seconds":1788557928,"priority":1,"record_length":96,"hex_timestamp":"000001a06e5c2640"} 
[2026-09-05 03:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:11: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-09-05 03:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 03:11: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-09-05 03:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:11: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-09-05 03:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870752512001,"66":25647,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870752512001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:11:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:11:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870752512001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":171209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:11:03] local.INFO: GPS data processed {"connection_id":171209,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:11:03] local.INFO: Acknowledgment sent {"connection_id":171209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:11:17] local.INFO: TCP Data received {"connection_id":173905,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173905,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:11:17] local.INFO: Processing buffer {"connection_id":173905,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:11:17] local.INFO: IMEI packet received {"connection_id":173905,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 03:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":173905,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:11:35] local.INFO: TCP Data received {"connection_id":171209,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a06e5c2640012d34c9c006aa3d280010008020..."} 
[2026-09-05 03:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e5c2640012d34c9c006aa3d280010008020..."} 
[2026-09-05 03:11:35] local.INFO: Processing buffer {"connection_id":171209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e5c2640012d34c9c006aa3d280010008020..."} 
[2026-09-05 03:11:35] local.INFO: Packet analysis {"connection_id":171209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e5c"} 
[2026-09-05 03:11:35] local.INFO: Extracted packet for processing {"connection_id":171209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e5c"} 
[2026-09-05 03:11:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870752512001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788557928000,"timestamp_ms":1788557928000,"timestamp_seconds":1788557928,"priority":1,"record_length":96,"hex_timestamp":"000001a06e5c2640"} 
[2026-09-05 03:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:11:35] 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-09-05 03:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 03:11:35] 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-09-05 03:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:11: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-09-05 03:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870752512001,"66":25647,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870752512001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:11:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:11:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870752512001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":171209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:11:35] local.INFO: GPS data processed {"connection_id":171209,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:11:35] local.INFO: Acknowledgment sent {"connection_id":171209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:11:57] local.INFO: TCP Data received {"connection_id":173906,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:11:57] local.INFO: Processing buffer {"connection_id":173906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:11:57] local.INFO: IMEI packet received {"connection_id":173906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":173906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:12:03] local.INFO: TCP Data received {"connection_id":173906,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:12:03] local.INFO: Processing buffer {"connection_id":173906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:12:03] local.INFO: IMEI packet received {"connection_id":173906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":173906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:12:04] local.INFO: TCP Data received {"connection_id":173906,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a06e5c2640012d34c9c006aa3d280010008020..."} 
[2026-09-05 03:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e5c2640012d34c9c006aa3d280010008020..."} 
[2026-09-05 03:12:04] local.INFO: Processing buffer {"connection_id":173906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e5c2640012d34c9c006aa3d280010008020..."} 
[2026-09-05 03:12:04] local.INFO: Packet analysis {"connection_id":173906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e5c"} 
[2026-09-05 03:12:04] local.INFO: Extracted packet for processing {"connection_id":173906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e5c"} 
[2026-09-05 03:12:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870752512001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788557928000,"timestamp_ms":1788557928000,"timestamp_seconds":1788557928,"priority":1,"record_length":96,"hex_timestamp":"000001a06e5c2640"} 
[2026-09-05 03:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:12: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-09-05 03: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":80,"data_length":795,"current_offset":136} 
[2026-09-05 03:12: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-09-05 03: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-09-05 03:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:12: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-09-05 03:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870752512001,"66":25647,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870752512001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:12:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:12:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870752512001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":173906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:12:04] local.INFO: GPS data processed {"connection_id":173906,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:12:04] local.INFO: Acknowledgment sent {"connection_id":173906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:12:35] local.INFO: TCP Data received {"connection_id":173906,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a06e5c2640012d34c9c006aa3d280010008020..."} 
[2026-09-05 03:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e5c2640012d34c9c006aa3d280010008020..."} 
[2026-09-05 03:12:35] local.INFO: Processing buffer {"connection_id":173906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e5c2640012d34c9c006aa3d280010008020..."} 
[2026-09-05 03:12:35] local.INFO: Packet analysis {"connection_id":173906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e5c"} 
[2026-09-05 03:12:35] local.INFO: Extracted packet for processing {"connection_id":173906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e5c"} 
[2026-09-05 03:12:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870752512001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788557928000,"timestamp_ms":1788557928000,"timestamp_seconds":1788557928,"priority":1,"record_length":96,"hex_timestamp":"000001a06e5c2640"} 
[2026-09-05 03:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:12:35] 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-09-05 03: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 03:12:35] 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-09-05 03: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-09-05 03:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:12:35] 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-09-05 03:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870752512001,"66":25647,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870752512001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:12:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:12:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870752512001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":173906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:12:35] local.INFO: GPS data processed {"connection_id":173906,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:12:35] local.INFO: Acknowledgment sent {"connection_id":173906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:12:57] local.INFO: TCP Data received {"connection_id":171210,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:12:57] local.INFO: Processing buffer {"connection_id":171210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:12:57] local.INFO: IMEI packet received {"connection_id":171210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":171210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:13:03] local.INFO: TCP Data received {"connection_id":171210,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:13:03] local.INFO: Processing buffer {"connection_id":171210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:13:03] local.INFO: IMEI packet received {"connection_id":171210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":171210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:13:03] local.INFO: TCP Data received {"connection_id":171210,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a06e5c2640012d34c9c006aa3d280010008020..."} 
[2026-09-05 03:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e5c2640012d34c9c006aa3d280010008020..."} 
[2026-09-05 03:13:03] local.INFO: Processing buffer {"connection_id":171210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e5c2640012d34c9c006aa3d280010008020..."} 
[2026-09-05 03:13:03] local.INFO: Packet analysis {"connection_id":171210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e5c"} 
[2026-09-05 03:13:03] local.INFO: Extracted packet for processing {"connection_id":171210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e5c"} 
[2026-09-05 03:13:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870752512001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788557928000,"timestamp_ms":1788557928000,"timestamp_seconds":1788557928,"priority":1,"record_length":96,"hex_timestamp":"000001a06e5c2640"} 
[2026-09-05 03:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:13: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-09-05 03: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":80,"data_length":795,"current_offset":136} 
[2026-09-05 03:13: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-09-05 03: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-09-05 03:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:13: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-09-05 03:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870752512001,"66":25647,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870752512001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:13:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:13:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870752512001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":171210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:13:03] local.INFO: GPS data processed {"connection_id":171210,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:13:03] local.INFO: Acknowledgment sent {"connection_id":171210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:13:35] local.INFO: TCP Data received {"connection_id":171210,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a06e5c2640012d34c9c006aa3d280010008020..."} 
[2026-09-05 03:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e5c2640012d34c9c006aa3d280010008020..."} 
[2026-09-05 03:13:35] local.INFO: Processing buffer {"connection_id":171210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e5c2640012d34c9c006aa3d280010008020..."} 
[2026-09-05 03:13:35] local.INFO: Packet analysis {"connection_id":171210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e5c"} 
[2026-09-05 03:13:35] local.INFO: Extracted packet for processing {"connection_id":171210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e5c"} 
[2026-09-05 03:13:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870752512001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788557928000,"timestamp_ms":1788557928000,"timestamp_seconds":1788557928,"priority":1,"record_length":96,"hex_timestamp":"000001a06e5c2640"} 
[2026-09-05 03:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:13:35] 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-09-05 03: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 03:13:35] 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-09-05 03:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:13:35] 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-09-05 03:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870752512001,"66":25647,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870752512001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:13:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:13:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870752512001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":171210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:13:35] local.INFO: GPS data processed {"connection_id":171210,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:13:35] local.INFO: Acknowledgment sent {"connection_id":171210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:13:57] local.INFO: TCP Data received {"connection_id":171211,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:13:57] local.INFO: Processing buffer {"connection_id":171211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:13:57] local.INFO: IMEI packet received {"connection_id":171211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":171211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:14:03] local.INFO: TCP Data received {"connection_id":171211,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:14:03] local.INFO: Processing buffer {"connection_id":171211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:14:03] local.INFO: IMEI packet received {"connection_id":171211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":171211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:14:03] local.INFO: TCP Data received {"connection_id":171211,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a06e5c2640012d34c9c006aa3d280010008020..."} 
[2026-09-05 03:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e5c2640012d34c9c006aa3d280010008020..."} 
[2026-09-05 03:14:03] local.INFO: Processing buffer {"connection_id":171211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e5c2640012d34c9c006aa3d280010008020..."} 
[2026-09-05 03:14:03] local.INFO: Packet analysis {"connection_id":171211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e5c"} 
[2026-09-05 03:14:03] local.INFO: Extracted packet for processing {"connection_id":171211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e5c"} 
[2026-09-05 03:14:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870752512001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788557928000,"timestamp_ms":1788557928000,"timestamp_seconds":1788557928,"priority":1,"record_length":96,"hex_timestamp":"000001a06e5c2640"} 
[2026-09-05 03:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:14: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-09-05 03: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":80,"data_length":795,"current_offset":136} 
[2026-09-05 03:14: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-09-05 03: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-09-05 03:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:14: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-09-05 03:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870752512001,"66":25647,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870752512001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:14:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:14:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870752512001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":171211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:14:03] local.INFO: GPS data processed {"connection_id":171211,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:14:03] local.INFO: Acknowledgment sent {"connection_id":171211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:14:35] local.INFO: TCP Data received {"connection_id":171211,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a06e60be08012d34c9c006aa3d280010008023..."} 
[2026-09-05 03:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e60be08012d34c9c006aa3d280010008023..."} 
[2026-09-05 03:14:35] local.INFO: Processing buffer {"connection_id":171211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e60be08012d34c9c006aa3d280010008023..."} 
[2026-09-05 03:14:35] local.INFO: Packet analysis {"connection_id":171211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e60"} 
[2026-09-05 03:14:35] local.INFO: Extracted packet for processing {"connection_id":171211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e60"} 
[2026-09-05 03:14:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870829568001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788558229000,"timestamp_ms":1788558229000,"timestamp_seconds":1788558229,"priority":1,"record_length":96,"hex_timestamp":"000001a06e60be08"} 
[2026-09-05 03:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:14:35] 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-09-05 03:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 03:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:14:35] 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-09-05 03:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870829568001,"66":25647,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870829568001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:14:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:14:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870829568001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":171211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:14:35] local.INFO: GPS data processed {"connection_id":171211,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:14:35] local.INFO: Acknowledgment sent {"connection_id":171211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:15:05] local.INFO: TCP Data received {"connection_id":173907,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:15:05] local.INFO: Processing buffer {"connection_id":173907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:15:05] local.INFO: IMEI packet received {"connection_id":173907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":173907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:15:07] local.INFO: TCP Data received {"connection_id":173907,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:15:07] local.INFO: Processing buffer {"connection_id":173907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:15:07] local.INFO: IMEI packet received {"connection_id":173907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":173907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:15:08] local.INFO: TCP Data received {"connection_id":173907,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a06e60be08012d34c9c006aa3d280010008023..."} 
[2026-09-05 03:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e60be08012d34c9c006aa3d280010008023..."} 
[2026-09-05 03:15:08] local.INFO: Processing buffer {"connection_id":173907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e60be08012d34c9c006aa3d280010008023..."} 
[2026-09-05 03:15:08] local.INFO: Packet analysis {"connection_id":173907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e60"} 
[2026-09-05 03:15:08] local.INFO: Extracted packet for processing {"connection_id":173907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e60"} 
[2026-09-05 03:15:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870829568001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788558229000,"timestamp_ms":1788558229000,"timestamp_seconds":1788558229,"priority":1,"record_length":96,"hex_timestamp":"000001a06e60be08"} 
[2026-09-05 03:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:15: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-09-05 03:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 03:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03: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-09-05 03:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:15:08] 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-09-05 03:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870829568001,"66":25647,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870829568001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:15:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:15:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870829568001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":173907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:15:08] local.INFO: GPS data processed {"connection_id":173907,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:15:08] local.INFO: Acknowledgment sent {"connection_id":173907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:15:13] local.INFO: TCP Data received {"connection_id":173907,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a06e60be08012d34c9c006aa3d280010008023..."} 
[2026-09-05 03:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e60be08012d34c9c006aa3d280010008023..."} 
[2026-09-05 03:15:13] local.INFO: Processing buffer {"connection_id":173907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e60be08012d34c9c006aa3d280010008023..."} 
[2026-09-05 03:15:13] local.INFO: Packet analysis {"connection_id":173907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e60"} 
[2026-09-05 03:15:13] local.INFO: Extracted packet for processing {"connection_id":173907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e60"} 
[2026-09-05 03:15:13] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870829568001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788558229000,"timestamp_ms":1788558229000,"timestamp_seconds":1788558229,"priority":1,"record_length":96,"hex_timestamp":"000001a06e60be08"} 
[2026-09-05 03:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 03:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 03:15:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":173907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":173907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":173907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870829568001,"66":25647,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870829568001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:15:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:15:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870829568001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":173907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:15:13] local.INFO: GPS data processed {"connection_id":173907,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:15:13] local.INFO: Acknowledgment sent {"connection_id":173907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:15:58] local.INFO: TCP Data received {"connection_id":171514,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:15:58] local.INFO: Processing buffer {"connection_id":171514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:15:58] local.INFO: IMEI packet received {"connection_id":171514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":171514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:16:03] local.INFO: TCP Data received {"connection_id":171514,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:16:03] local.INFO: Processing buffer {"connection_id":171514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:16:03] local.INFO: IMEI packet received {"connection_id":171514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":171514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:16:04] local.INFO: TCP Data received {"connection_id":171514,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a06e60be08012d34c9c006aa3d280010008023..."} 
[2026-09-05 03:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e60be08012d34c9c006aa3d280010008023..."} 
[2026-09-05 03:16:04] local.INFO: Processing buffer {"connection_id":171514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e60be08012d34c9c006aa3d280010008023..."} 
[2026-09-05 03:16:04] local.INFO: Packet analysis {"connection_id":171514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e60"} 
[2026-09-05 03:16:04] local.INFO: Extracted packet for processing {"connection_id":171514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e60"} 
[2026-09-05 03:16:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870829568001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788558229000,"timestamp_ms":1788558229000,"timestamp_seconds":1788558229,"priority":1,"record_length":96,"hex_timestamp":"000001a06e60be08"} 
[2026-09-05 03:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:16: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-09-05 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 03:16: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-09-05 03: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-09-05 03:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870829568001,"66":25647,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870829568001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:16:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:16:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870829568001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":171514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:16:04] local.INFO: GPS data processed {"connection_id":171514,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:16:04] local.INFO: Acknowledgment sent {"connection_id":171514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:16:35] local.INFO: TCP Data received {"connection_id":171514,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a06e60be08012d34c9c006aa3d280010008023..."} 
[2026-09-05 03:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e60be08012d34c9c006aa3d280010008023..."} 
[2026-09-05 03:16:35] local.INFO: Processing buffer {"connection_id":171514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e60be08012d34c9c006aa3d280010008023..."} 
[2026-09-05 03:16:35] local.INFO: Packet analysis {"connection_id":171514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e60"} 
[2026-09-05 03:16:35] local.INFO: Extracted packet for processing {"connection_id":171514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e60"} 
[2026-09-05 03:16:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870829568001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788558229000,"timestamp_ms":1788558229000,"timestamp_seconds":1788558229,"priority":1,"record_length":96,"hex_timestamp":"000001a06e60be08"} 
[2026-09-05 03:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:16:35] 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-09-05 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 03:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03: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-09-05 03:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870829568001,"66":25647,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870829568001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:16:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:16:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870829568001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":171514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:16:35] local.INFO: GPS data processed {"connection_id":171514,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:16:35] local.INFO: Acknowledgment sent {"connection_id":171514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:16:58] local.INFO: TCP Data received {"connection_id":171212,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:16:58] local.INFO: Processing buffer {"connection_id":171212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:16:58] local.INFO: IMEI packet received {"connection_id":171212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":171212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:17:02] local.INFO: TCP Data received {"connection_id":173908,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173908,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:17:02] local.INFO: Processing buffer {"connection_id":173908,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:17:02] local.INFO: IMEI packet received {"connection_id":173908,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 03:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":173908,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:17:03] local.INFO: TCP Data received {"connection_id":171212,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:17:03] local.INFO: Processing buffer {"connection_id":171212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:17:03] local.INFO: IMEI packet received {"connection_id":171212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":171212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:17:04] local.INFO: TCP Data received {"connection_id":171212,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e60be08012d34c9c006aa3d280010008023..."} 
[2026-09-05 03:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e60be08012d34c9c006aa3d280010008023..."} 
[2026-09-05 03:17:04] local.INFO: Processing buffer {"connection_id":171212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e60be08012d34c9c006aa3d280010008023..."} 
[2026-09-05 03:17:04] local.INFO: Packet analysis {"connection_id":171212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e60"} 
[2026-09-05 03:17:04] local.INFO: Extracted packet for processing {"connection_id":171212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e60"} 
[2026-09-05 03:17:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 03:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870829568001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788558229000,"timestamp_ms":1788558229000,"timestamp_seconds":1788558229,"priority":1,"record_length":96,"hex_timestamp":"000001a06e60be08"} 
[2026-09-05 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-09-05 03:17: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-09-05 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 03: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-09-05 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-09-05 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-09-05 03:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03: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-09-05 03:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870829568001,"66":25647,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870829568001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:17:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:17:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870829568001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":171212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:17:04] local.INFO: GPS data processed {"connection_id":171212,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:17:04] local.INFO: Acknowledgment sent {"connection_id":171212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:17:35] local.INFO: TCP Data received {"connection_id":171212,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e60be08012d34c9c006aa3d280010008023..."} 
[2026-09-05 03:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e60be08012d34c9c006aa3d280010008023..."} 
[2026-09-05 03:17:35] local.INFO: Processing buffer {"connection_id":171212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e60be08012d34c9c006aa3d280010008023..."} 
[2026-09-05 03:17:35] local.INFO: Packet analysis {"connection_id":171212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e60"} 
[2026-09-05 03:17:35] local.INFO: Extracted packet for processing {"connection_id":171212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e60"} 
[2026-09-05 03:17:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870829568001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788558229000,"timestamp_ms":1788558229000,"timestamp_seconds":1788558229,"priority":1,"record_length":96,"hex_timestamp":"000001a06e60be08"} 
[2026-09-05 03:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:17:35] 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-09-05 03:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 03:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870829568001,"66":25647,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870829568001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:17:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:17:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870829568001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":171212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:17:35] local.INFO: GPS data processed {"connection_id":171212,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:17:35] local.INFO: Acknowledgment sent {"connection_id":171212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:17:57] local.INFO: TCP Data received {"connection_id":171515,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:17:57] local.INFO: Processing buffer {"connection_id":171515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:17:57] local.INFO: IMEI packet received {"connection_id":171515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":171515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:18:03] local.INFO: TCP Data received {"connection_id":171515,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:18:03] local.INFO: Processing buffer {"connection_id":171515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:18:03] local.INFO: IMEI packet received {"connection_id":171515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":171515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:18:05] local.INFO: TCP Data received {"connection_id":171515,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a06e60be08012d34c9c006aa3d280010008023..."} 
[2026-09-05 03:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e60be08012d34c9c006aa3d280010008023..."} 
[2026-09-05 03:18:05] local.INFO: Processing buffer {"connection_id":171515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e60be08012d34c9c006aa3d280010008023..."} 
[2026-09-05 03:18:05] local.INFO: Packet analysis {"connection_id":171515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e60"} 
[2026-09-05 03:18:05] local.INFO: Extracted packet for processing {"connection_id":171515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e60"} 
[2026-09-05 03:18:05] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870829568001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788558229000,"timestamp_ms":1788558229000,"timestamp_seconds":1788558229,"priority":1,"record_length":96,"hex_timestamp":"000001a06e60be08"} 
[2026-09-05 03:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:18: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-09-05 03:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 03:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03: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-09-05 03:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870829568001,"66":25647,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870829568001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:18:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:18:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870829568001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":171515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:18:05] local.INFO: GPS data processed {"connection_id":171515,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:18:05] local.INFO: Acknowledgment sent {"connection_id":171515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:18:36] local.INFO: TCP Data received {"connection_id":171515,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a06e60be08012d34c9c006aa3d280010008023..."} 
[2026-09-05 03:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e60be08012d34c9c006aa3d280010008023..."} 
[2026-09-05 03:18:36] local.INFO: Processing buffer {"connection_id":171515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e60be08012d34c9c006aa3d280010008023..."} 
[2026-09-05 03:18:36] local.INFO: Packet analysis {"connection_id":171515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e60"} 
[2026-09-05 03:18:36] local.INFO: Extracted packet for processing {"connection_id":171515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e60"} 
[2026-09-05 03:18:36] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870829568001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788558229000,"timestamp_ms":1788558229000,"timestamp_seconds":1788558229,"priority":1,"record_length":96,"hex_timestamp":"000001a06e60be08"} 
[2026-09-05 03:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:18: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-09-05 03:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 03:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03: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-09-05 03:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:18: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-09-05 03:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870829568001,"66":25647,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870829568001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:18:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:18:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870829568001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":171515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:18:36] local.INFO: GPS data processed {"connection_id":171515,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:18:36] local.INFO: Acknowledgment sent {"connection_id":171515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:18:57] local.INFO: TCP Data received {"connection_id":173909,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:18:57] local.INFO: Processing buffer {"connection_id":173909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:18:57] local.INFO: IMEI packet received {"connection_id":173909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":173909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:19:03] local.INFO: TCP Data received {"connection_id":173909,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:19:03] local.INFO: Processing buffer {"connection_id":173909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:19:03] local.INFO: IMEI packet received {"connection_id":173909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":173909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:19:03] local.INFO: TCP Data received {"connection_id":173909,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a06e60be08012d34c9c006aa3d280010008023..."} 
[2026-09-05 03:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e60be08012d34c9c006aa3d280010008023..."} 
[2026-09-05 03:19:03] local.INFO: Processing buffer {"connection_id":173909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e60be08012d34c9c006aa3d280010008023..."} 
[2026-09-05 03:19:03] local.INFO: Packet analysis {"connection_id":173909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e60"} 
[2026-09-05 03:19:03] local.INFO: Extracted packet for processing {"connection_id":173909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e60"} 
[2026-09-05 03:19:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870829568001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788558229000,"timestamp_ms":1788558229000,"timestamp_seconds":1788558229,"priority":1,"record_length":96,"hex_timestamp":"000001a06e60be08"} 
[2026-09-05 03:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:19: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-09-05 03:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 03:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:19: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-09-05 03:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870829568001,"66":25647,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870829568001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:19:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:19:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870829568001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":173909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:19:03] local.INFO: GPS data processed {"connection_id":173909,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:19:03] local.INFO: Acknowledgment sent {"connection_id":173909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:19:35] local.INFO: TCP Data received {"connection_id":173909,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a06e6555d0012d34c9c006aa3d280010008027..."} 
[2026-09-05 03:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e6555d0012d34c9c006aa3d280010008027..."} 
[2026-09-05 03:19:35] local.INFO: Processing buffer {"connection_id":173909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e6555d0012d34c9c006aa3d280010008027..."} 
[2026-09-05 03:19:35] local.INFO: Packet analysis {"connection_id":173909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e65"} 
[2026-09-05 03:19:35] local.INFO: Extracted packet for processing {"connection_id":173909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e65"} 
[2026-09-05 03:19:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870906624001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788558530000,"timestamp_ms":1788558530000,"timestamp_seconds":1788558530,"priority":1,"record_length":96,"hex_timestamp":"000001a06e6555d0"} 
[2026-09-05 03:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:19:35] 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-09-05 03:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 03:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870906624001,"66":25615,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870906624001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:19:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:19:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870906624001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":173909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:19:35] local.INFO: GPS data processed {"connection_id":173909,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:19:35] local.INFO: Acknowledgment sent {"connection_id":173909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:20:03] local.INFO: TCP Data received {"connection_id":173910,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:20:03] local.INFO: Processing buffer {"connection_id":173910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:20:03] local.INFO: IMEI packet received {"connection_id":173910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":173910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:20:08] local.INFO: TCP Data received {"connection_id":173910,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:20:08] local.INFO: Processing buffer {"connection_id":173910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:20:08] local.INFO: IMEI packet received {"connection_id":173910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":173910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:20:08] local.INFO: TCP Data received {"connection_id":173910,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06e6555d0012d34c9c006aa3d280010008027..."} 
[2026-09-05 03:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e6555d0012d34c9c006aa3d280010008027..."} 
[2026-09-05 03:20:08] local.INFO: Processing buffer {"connection_id":173910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e6555d0012d34c9c006aa3d280010008027..."} 
[2026-09-05 03:20:08] local.INFO: Packet analysis {"connection_id":173910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e65"} 
[2026-09-05 03:20:08] local.INFO: Extracted packet for processing {"connection_id":173910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e65"} 
[2026-09-05 03:20:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870906624001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788558530000,"timestamp_ms":1788558530000,"timestamp_seconds":1788558530,"priority":1,"record_length":96,"hex_timestamp":"000001a06e6555d0"} 
[2026-09-05 03:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:20: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-09-05 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 03:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03: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-09-05 03:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:20:08] 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-09-05 03:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870906624001,"66":25615,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870906624001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:20:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:20:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870906624001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":173910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:20:08] local.INFO: GPS data processed {"connection_id":173910,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:20:08] local.INFO: Acknowledgment sent {"connection_id":173910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:20:40] local.INFO: TCP Data received {"connection_id":173910,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06e6555d0012d34c9c006aa3d280010008027..."} 
[2026-09-05 03:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e6555d0012d34c9c006aa3d280010008027..."} 
[2026-09-05 03:20:40] local.INFO: Processing buffer {"connection_id":173910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e6555d0012d34c9c006aa3d280010008027..."} 
[2026-09-05 03:20:40] local.INFO: Packet analysis {"connection_id":173910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e65"} 
[2026-09-05 03:20:40] local.INFO: Extracted packet for processing {"connection_id":173910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e65"} 
[2026-09-05 03:20:40] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 03:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870906624001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788558530000,"timestamp_ms":1788558530000,"timestamp_seconds":1788558530,"priority":1,"record_length":96,"hex_timestamp":"000001a06e6555d0"} 
[2026-09-05 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-09-05 03:20: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-09-05 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 03:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 03:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":173910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":173910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":173910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:20:40] 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-09-05 03:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870906624001,"66":25615,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870906624001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:20:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:20:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870906624001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":173910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:20:40] local.INFO: GPS data processed {"connection_id":173910,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:20:40] local.INFO: Acknowledgment sent {"connection_id":173910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:20:58] local.INFO: TCP Data received {"connection_id":171214,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:20:58] local.INFO: Processing buffer {"connection_id":171214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:20:58] local.INFO: IMEI packet received {"connection_id":171214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":171214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:21:03] local.INFO: TCP Data received {"connection_id":171214,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:21:03] local.INFO: Processing buffer {"connection_id":171214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:21:03] local.INFO: IMEI packet received {"connection_id":171214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":171214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:21:03] local.INFO: TCP Data received {"connection_id":171214,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a06e6555d0012d34c9c006aa3d280010008027..."} 
[2026-09-05 03:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e6555d0012d34c9c006aa3d280010008027..."} 
[2026-09-05 03:21:03] local.INFO: Processing buffer {"connection_id":171214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e6555d0012d34c9c006aa3d280010008027..."} 
[2026-09-05 03:21:03] local.INFO: Packet analysis {"connection_id":171214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e65"} 
[2026-09-05 03:21:03] local.INFO: Extracted packet for processing {"connection_id":171214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e65"} 
[2026-09-05 03:21:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870906624001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788558530000,"timestamp_ms":1788558530000,"timestamp_seconds":1788558530,"priority":1,"record_length":96,"hex_timestamp":"000001a06e6555d0"} 
[2026-09-05 03:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:21: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-09-05 03:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 03:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:21: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-09-05 03:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870906624001,"66":25615,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870906624001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:21:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:21:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870906624001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":171214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:21:03] local.INFO: GPS data processed {"connection_id":171214,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:21:03] local.INFO: Acknowledgment sent {"connection_id":171214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:21:35] local.INFO: TCP Data received {"connection_id":171214,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a06e6555d0012d34c9c006aa3d280010008027..."} 
[2026-09-05 03:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e6555d0012d34c9c006aa3d280010008027..."} 
[2026-09-05 03:21:35] local.INFO: Processing buffer {"connection_id":171214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e6555d0012d34c9c006aa3d280010008027..."} 
[2026-09-05 03:21:35] local.INFO: Packet analysis {"connection_id":171214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e65"} 
[2026-09-05 03:21:35] local.INFO: Extracted packet for processing {"connection_id":171214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e65"} 
[2026-09-05 03:21:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870906624001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788558530000,"timestamp_ms":1788558530000,"timestamp_seconds":1788558530,"priority":1,"record_length":96,"hex_timestamp":"000001a06e6555d0"} 
[2026-09-05 03:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:21:35] 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-09-05 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 03:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03: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-09-05 03:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870906624001,"66":25615,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870906624001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:21:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:21:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870906624001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":171214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:21:35] local.INFO: GPS data processed {"connection_id":171214,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:21:35] local.INFO: Acknowledgment sent {"connection_id":171214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:21:58] local.INFO: TCP Data received {"connection_id":173911,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:21:58] local.INFO: Processing buffer {"connection_id":173911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:21:58] local.INFO: IMEI packet received {"connection_id":173911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":173911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:22:03] local.INFO: TCP Data received {"connection_id":173911,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:22:03] local.INFO: Processing buffer {"connection_id":173911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:22:03] local.INFO: IMEI packet received {"connection_id":173911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":173911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:22:03] local.INFO: TCP Data received {"connection_id":173911,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a06e6555d0012d34c9c006aa3d280010008027..."} 
[2026-09-05 03:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e6555d0012d34c9c006aa3d280010008027..."} 
[2026-09-05 03:22:03] local.INFO: Processing buffer {"connection_id":173911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e6555d0012d34c9c006aa3d280010008027..."} 
[2026-09-05 03:22:03] local.INFO: Packet analysis {"connection_id":173911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e65"} 
[2026-09-05 03:22:03] local.INFO: Extracted packet for processing {"connection_id":173911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e65"} 
[2026-09-05 03:22:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870906624001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788558530000,"timestamp_ms":1788558530000,"timestamp_seconds":1788558530,"priority":1,"record_length":96,"hex_timestamp":"000001a06e6555d0"} 
[2026-09-05 03:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:22: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-09-05 03:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 03:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:22: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-09-05 03:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870906624001,"66":25615,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870906624001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:22:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:22:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870906624001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":173911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:22:03] local.INFO: GPS data processed {"connection_id":173911,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:22:03] local.INFO: Acknowledgment sent {"connection_id":173911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:22:31] local.INFO: TCP Data received {"connection_id":171213,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171213,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:22:31] local.INFO: Processing buffer {"connection_id":171213,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:22:31] local.INFO: IMEI packet received {"connection_id":171213,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 03:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":171213,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:22:35] local.INFO: TCP Data received {"connection_id":173911,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a06e6555d0012d34c9c006aa3d280010008027..."} 
[2026-09-05 03:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e6555d0012d34c9c006aa3d280010008027..."} 
[2026-09-05 03:22:35] local.INFO: Processing buffer {"connection_id":173911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e6555d0012d34c9c006aa3d280010008027..."} 
[2026-09-05 03:22:35] local.INFO: Packet analysis {"connection_id":173911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e65"} 
[2026-09-05 03:22:35] local.INFO: Extracted packet for processing {"connection_id":173911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e65"} 
[2026-09-05 03:22:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870906624001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788558530000,"timestamp_ms":1788558530000,"timestamp_seconds":1788558530,"priority":1,"record_length":96,"hex_timestamp":"000001a06e6555d0"} 
[2026-09-05 03:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:22:35] 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-09-05 03:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 03:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870906624001,"66":25615,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870906624001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:22:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:22:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870906624001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":173911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:22:35] local.INFO: GPS data processed {"connection_id":173911,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:22:35] local.INFO: Acknowledgment sent {"connection_id":173911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:22:57] local.INFO: TCP Data received {"connection_id":171215,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:22:57] local.INFO: Processing buffer {"connection_id":171215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:22:57] local.INFO: IMEI packet received {"connection_id":171215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":171215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:23:03] local.INFO: TCP Data received {"connection_id":171215,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:23:03] local.INFO: Processing buffer {"connection_id":171215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:23:03] local.INFO: IMEI packet received {"connection_id":171215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":171215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:23:03] local.INFO: TCP Data received {"connection_id":171215,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a06e6555d0012d34c9c006aa3d280010008027..."} 
[2026-09-05 03:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e6555d0012d34c9c006aa3d280010008027..."} 
[2026-09-05 03:23:03] local.INFO: Processing buffer {"connection_id":171215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e6555d0012d34c9c006aa3d280010008027..."} 
[2026-09-05 03:23:03] local.INFO: Packet analysis {"connection_id":171215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e65"} 
[2026-09-05 03:23:03] local.INFO: Extracted packet for processing {"connection_id":171215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e65"} 
[2026-09-05 03:23:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870906624001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788558530000,"timestamp_ms":1788558530000,"timestamp_seconds":1788558530,"priority":1,"record_length":96,"hex_timestamp":"000001a06e6555d0"} 
[2026-09-05 03:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:23: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-09-05 03:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 03:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:23: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-09-05 03:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870906624001,"66":25615,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870906624001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:23:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:23:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870906624001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":171215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:23:03] local.INFO: GPS data processed {"connection_id":171215,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:23:03] local.INFO: Acknowledgment sent {"connection_id":171215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:23:35] local.INFO: TCP Data received {"connection_id":171215,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a06e6555d0012d34c9c006aa3d280010008027..."} 
[2026-09-05 03:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e6555d0012d34c9c006aa3d280010008027..."} 
[2026-09-05 03:23:35] local.INFO: Processing buffer {"connection_id":171215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e6555d0012d34c9c006aa3d280010008027..."} 
[2026-09-05 03:23:35] local.INFO: Packet analysis {"connection_id":171215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e65"} 
[2026-09-05 03:23:35] local.INFO: Extracted packet for processing {"connection_id":171215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e65"} 
[2026-09-05 03:23:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870906624001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788558530000,"timestamp_ms":1788558530000,"timestamp_seconds":1788558530,"priority":1,"record_length":96,"hex_timestamp":"000001a06e6555d0"} 
[2026-09-05 03:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:23:35] 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-09-05 03:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 03:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870906624001,"66":25615,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870906624001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:23:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:23:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870906624001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":171215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:23:35] local.INFO: GPS data processed {"connection_id":171215,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:23:35] local.INFO: Acknowledgment sent {"connection_id":171215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:23:57] local.INFO: TCP Data received {"connection_id":172624,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:23:57] local.INFO: Processing buffer {"connection_id":172624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:23:57] local.INFO: IMEI packet received {"connection_id":172624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":172624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:24:03] local.INFO: TCP Data received {"connection_id":172624,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:24:03] local.INFO: Processing buffer {"connection_id":172624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:24:03] local.INFO: IMEI packet received {"connection_id":172624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":172624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:24:04] local.INFO: TCP Data received {"connection_id":172624,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a06e6555d0012d34c9c006aa3d280010008027..."} 
[2026-09-05 03:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e6555d0012d34c9c006aa3d280010008027..."} 
[2026-09-05 03:24:04] local.INFO: Processing buffer {"connection_id":172624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e6555d0012d34c9c006aa3d280010008027..."} 
[2026-09-05 03:24:04] local.INFO: Packet analysis {"connection_id":172624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e65"} 
[2026-09-05 03:24:04] local.INFO: Extracted packet for processing {"connection_id":172624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e65"} 
[2026-09-05 03:24:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870906624001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788558530000,"timestamp_ms":1788558530000,"timestamp_seconds":1788558530,"priority":1,"record_length":96,"hex_timestamp":"000001a06e6555d0"} 
[2026-09-05 03:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:24: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-09-05 03:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 03:24: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-09-05 03: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-09-05 03:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:24: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-09-05 03:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870906624001,"66":25615,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870906624001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:24:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:24:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870906624001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":172624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:24:04] local.INFO: GPS data processed {"connection_id":172624,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:24:04] local.INFO: Acknowledgment sent {"connection_id":172624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:24:35] local.INFO: TCP Data received {"connection_id":172624,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a06e69ed98012d34c9c006aa3d280019008022..."} 
[2026-09-05 03:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e69ed98012d34c9c006aa3d280019008022..."} 
[2026-09-05 03:24:35] local.INFO: Processing buffer {"connection_id":172624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e69ed98012d34c9c006aa3d280019008022..."} 
[2026-09-05 03:24:35] local.INFO: Packet analysis {"connection_id":172624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e69"} 
[2026-09-05 03:24:35] local.INFO: Extracted packet for processing {"connection_id":172624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e69"} 
[2026-09-05 03:24:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":25,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870983680001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788558831000,"timestamp_ms":1788558831000,"timestamp_seconds":1788558831,"priority":1,"record_length":96,"hex_timestamp":"000001a06e69ed98"} 
[2026-09-05 03:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:24:35] 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-09-05 03:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 03:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:24:35] 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-09-05 03:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870983680001,"66":25604,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870983680001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:24:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:24:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870983680001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":172624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:24:35] local.INFO: GPS data processed {"connection_id":172624,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:24:35] local.INFO: Acknowledgment sent {"connection_id":172624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:25:03] local.INFO: TCP Data received {"connection_id":173912,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:25:03] local.INFO: Processing buffer {"connection_id":173912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:25:03] local.INFO: IMEI packet received {"connection_id":173912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":173912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:25:08] local.INFO: TCP Data received {"connection_id":173912,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:25:08] local.INFO: Processing buffer {"connection_id":173912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:25:08] local.INFO: IMEI packet received {"connection_id":173912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":173912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:25:08] local.INFO: TCP Data received {"connection_id":173912,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a06e69ed98012d34c9c006aa3d280019008022..."} 
[2026-09-05 03:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e69ed98012d34c9c006aa3d280019008022..."} 
[2026-09-05 03:25:08] local.INFO: Processing buffer {"connection_id":173912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e69ed98012d34c9c006aa3d280019008022..."} 
[2026-09-05 03:25:08] local.INFO: Packet analysis {"connection_id":173912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e69"} 
[2026-09-05 03:25:08] local.INFO: Extracted packet for processing {"connection_id":173912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e69"} 
[2026-09-05 03:25:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":25,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870983680001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788558831000,"timestamp_ms":1788558831000,"timestamp_seconds":1788558831,"priority":1,"record_length":96,"hex_timestamp":"000001a06e69ed98"} 
[2026-09-05 03:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:25: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-09-05 03:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 03:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870983680001,"66":25604,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870983680001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:25:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:25:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870983680001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":173912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:25:08] local.INFO: GPS data processed {"connection_id":173912,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:25:08] local.INFO: Acknowledgment sent {"connection_id":173912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:25:40] local.INFO: TCP Data received {"connection_id":173912,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a06e69ed98012d34c9c006aa3d280019008022..."} 
[2026-09-05 03:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e69ed98012d34c9c006aa3d280019008022..."} 
[2026-09-05 03:25:40] local.INFO: Processing buffer {"connection_id":173912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e69ed98012d34c9c006aa3d280019008022..."} 
[2026-09-05 03:25:40] local.INFO: Packet analysis {"connection_id":173912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e69"} 
[2026-09-05 03:25:40] local.INFO: Extracted packet for processing {"connection_id":173912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e69"} 
[2026-09-05 03:25:40] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":25,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870983680001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788558831000,"timestamp_ms":1788558831000,"timestamp_seconds":1788558831,"priority":1,"record_length":96,"hex_timestamp":"000001a06e69ed98"} 
[2026-09-05 03:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:25: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-09-05 03:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 03:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03: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-09-05 03:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":173912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":173912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":173912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870983680001,"66":25604,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870983680001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:25:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:25:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870983680001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":173912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:25:40] local.INFO: GPS data processed {"connection_id":173912,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:25:40] local.INFO: Acknowledgment sent {"connection_id":173912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:25:58] local.INFO: TCP Data received {"connection_id":171516,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:25:58] local.INFO: Processing buffer {"connection_id":171516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:25:58] local.INFO: IMEI packet received {"connection_id":171516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":171516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:26:03] local.INFO: TCP Data received {"connection_id":171516,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:26:03] local.INFO: Processing buffer {"connection_id":171516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:26:03] local.INFO: IMEI packet received {"connection_id":171516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":171516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:26:03] local.INFO: TCP Data received {"connection_id":171516,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a06e69ed98012d34c9c006aa3d280019008022..."} 
[2026-09-05 03:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e69ed98012d34c9c006aa3d280019008022..."} 
[2026-09-05 03:26:03] local.INFO: Processing buffer {"connection_id":171516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e69ed98012d34c9c006aa3d280019008022..."} 
[2026-09-05 03:26:03] local.INFO: Packet analysis {"connection_id":171516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e69"} 
[2026-09-05 03:26:03] local.INFO: Extracted packet for processing {"connection_id":171516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e69"} 
[2026-09-05 03:26:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":25,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870983680001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788558831000,"timestamp_ms":1788558831000,"timestamp_seconds":1788558831,"priority":1,"record_length":96,"hex_timestamp":"000001a06e69ed98"} 
[2026-09-05 03:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:26: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-09-05 03:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 03:26: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-09-05 03:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:26: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-09-05 03:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870983680001,"66":25604,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870983680001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:26:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:26:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870983680001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":171516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:26:03] local.INFO: GPS data processed {"connection_id":171516,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:26:03] local.INFO: Acknowledgment sent {"connection_id":171516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:26:36] local.INFO: TCP Data received {"connection_id":171516,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a06e69ed98012d34c9c006aa3d280019008022..."} 
[2026-09-05 03:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e69ed98012d34c9c006aa3d280019008022..."} 
[2026-09-05 03:26:36] local.INFO: Processing buffer {"connection_id":171516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e69ed98012d34c9c006aa3d280019008022..."} 
[2026-09-05 03:26:36] local.INFO: Packet analysis {"connection_id":171516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e69"} 
[2026-09-05 03:26:36] local.INFO: Extracted packet for processing {"connection_id":171516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e69"} 
[2026-09-05 03:26:36] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":25,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870983680001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788558831000,"timestamp_ms":1788558831000,"timestamp_seconds":1788558831,"priority":1,"record_length":96,"hex_timestamp":"000001a06e69ed98"} 
[2026-09-05 03:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:26: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-09-05 03:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 03:26: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-09-05 03:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:26: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-09-05 03:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870983680001,"66":25604,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870983680001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:26:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:26:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870983680001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":171516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:26:36] local.INFO: GPS data processed {"connection_id":171516,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:26:36] local.INFO: Acknowledgment sent {"connection_id":171516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:26:57] local.INFO: TCP Data received {"connection_id":171216,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:26:57] local.INFO: Processing buffer {"connection_id":171216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:26:57] local.INFO: IMEI packet received {"connection_id":171216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":171216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:27:03] local.INFO: TCP Data received {"connection_id":171216,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:27:03] local.INFO: Processing buffer {"connection_id":171216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:27:03] local.INFO: IMEI packet received {"connection_id":171216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":171216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:27:03] local.INFO: TCP Data received {"connection_id":171216,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a06e69ed98012d34c9c006aa3d280019008022..."} 
[2026-09-05 03:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e69ed98012d34c9c006aa3d280019008022..."} 
[2026-09-05 03:27:03] local.INFO: Processing buffer {"connection_id":171216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e69ed98012d34c9c006aa3d280019008022..."} 
[2026-09-05 03:27:03] local.INFO: Packet analysis {"connection_id":171216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e69"} 
[2026-09-05 03:27:03] local.INFO: Extracted packet for processing {"connection_id":171216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e69"} 
[2026-09-05 03:27:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":25,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870983680001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788558831000,"timestamp_ms":1788558831000,"timestamp_seconds":1788558831,"priority":1,"record_length":96,"hex_timestamp":"000001a06e69ed98"} 
[2026-09-05 03:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:27: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-09-05 03:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 03:27: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-09-05 03:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:27: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-09-05 03:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870983680001,"66":25604,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870983680001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:27:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:27:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870983680001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":171216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:27:03] local.INFO: GPS data processed {"connection_id":171216,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:27:03] local.INFO: Acknowledgment sent {"connection_id":171216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:27:35] local.INFO: TCP Data received {"connection_id":171216,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a06e69ed98012d34c9c006aa3d280019008022..."} 
[2026-09-05 03:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e69ed98012d34c9c006aa3d280019008022..."} 
[2026-09-05 03:27:35] local.INFO: Processing buffer {"connection_id":171216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e69ed98012d34c9c006aa3d280019008022..."} 
[2026-09-05 03:27:35] local.INFO: Packet analysis {"connection_id":171216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e69"} 
[2026-09-05 03:27:35] local.INFO: Extracted packet for processing {"connection_id":171216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e69"} 
[2026-09-05 03:27:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":25,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870983680001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788558831000,"timestamp_ms":1788558831000,"timestamp_seconds":1788558831,"priority":1,"record_length":96,"hex_timestamp":"000001a06e69ed98"} 
[2026-09-05 03:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:27:35] 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-09-05 03:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 03:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870983680001,"66":25604,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870983680001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:27:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:27:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870983680001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":171216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:27:35] local.INFO: GPS data processed {"connection_id":171216,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:27:35] local.INFO: Acknowledgment sent {"connection_id":171216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:27:57] local.INFO: TCP Data received {"connection_id":173913,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:27:57] local.INFO: Processing buffer {"connection_id":173913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:27:57] local.INFO: IMEI packet received {"connection_id":173913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":173913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:28:03] local.INFO: TCP Data received {"connection_id":173913,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:28:03] local.INFO: Processing buffer {"connection_id":173913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:28:03] local.INFO: IMEI packet received {"connection_id":173913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":173913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:28:03] local.INFO: TCP Data received {"connection_id":173913,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a06e69ed98012d34c9c006aa3d280019008022..."} 
[2026-09-05 03:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e69ed98012d34c9c006aa3d280019008022..."} 
[2026-09-05 03:28:03] local.INFO: Processing buffer {"connection_id":173913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e69ed98012d34c9c006aa3d280019008022..."} 
[2026-09-05 03:28:03] local.INFO: Packet analysis {"connection_id":173913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e69"} 
[2026-09-05 03:28:03] local.INFO: Extracted packet for processing {"connection_id":173913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e69"} 
[2026-09-05 03:28:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":25,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870983680001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788558831000,"timestamp_ms":1788558831000,"timestamp_seconds":1788558831,"priority":1,"record_length":96,"hex_timestamp":"000001a06e69ed98"} 
[2026-09-05 03:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:28: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-09-05 03:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 03:28: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-09-05 03:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:28: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-09-05 03:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870983680001,"66":25604,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870983680001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:28:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:28:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870983680001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":173913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:28:04] local.INFO: GPS data processed {"connection_id":173913,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:28:04] local.INFO: Acknowledgment sent {"connection_id":173913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:28:06] local.INFO: TCP Data received {"connection_id":172625,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172625,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:28:06] local.INFO: Processing buffer {"connection_id":172625,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:28:06] local.INFO: IMEI packet received {"connection_id":172625,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 03:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":172625,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:28:35] local.INFO: TCP Data received {"connection_id":173913,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a06e69ed98012d34c9c006aa3d280019008022..."} 
[2026-09-05 03:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e69ed98012d34c9c006aa3d280019008022..."} 
[2026-09-05 03:28:35] local.INFO: Processing buffer {"connection_id":173913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e69ed98012d34c9c006aa3d280019008022..."} 
[2026-09-05 03:28:35] local.INFO: Packet analysis {"connection_id":173913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e69"} 
[2026-09-05 03:28:35] local.INFO: Extracted packet for processing {"connection_id":173913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e69"} 
[2026-09-05 03:28:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":25,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870983680001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788558831000,"timestamp_ms":1788558831000,"timestamp_seconds":1788558831,"priority":1,"record_length":96,"hex_timestamp":"000001a06e69ed98"} 
[2026-09-05 03:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:28:35] 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-09-05 03:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 03:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870983680001,"66":25604,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870983680001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:28:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:28:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870983680001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":173913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:28:35] local.INFO: GPS data processed {"connection_id":173913,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:28:35] local.INFO: Acknowledgment sent {"connection_id":173913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:28:57] local.INFO: TCP Data received {"connection_id":171517,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:28:57] local.INFO: Processing buffer {"connection_id":171517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:28:57] local.INFO: IMEI packet received {"connection_id":171517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":171517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:29:03] local.INFO: TCP Data received {"connection_id":171517,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:29:03] local.INFO: Processing buffer {"connection_id":171517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:29:03] local.INFO: IMEI packet received {"connection_id":171517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":171517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:29:04] local.INFO: TCP Data received {"connection_id":171517,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a06e69ed98012d34c9c006aa3d280019008022..."} 
[2026-09-05 03:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e69ed98012d34c9c006aa3d280019008022..."} 
[2026-09-05 03:29:04] local.INFO: Processing buffer {"connection_id":171517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e69ed98012d34c9c006aa3d280019008022..."} 
[2026-09-05 03:29:04] local.INFO: Packet analysis {"connection_id":171517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e69"} 
[2026-09-05 03:29:04] local.INFO: Extracted packet for processing {"connection_id":171517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e69"} 
[2026-09-05 03:29:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":25,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 03:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457870983680001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788558831000,"timestamp_ms":1788558831000,"timestamp_seconds":1788558831,"priority":1,"record_length":96,"hex_timestamp":"000001a06e69ed98"} 
[2026-09-05 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-09-05 03:29: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-09-05 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 03:29: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-09-05 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-09-05 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-09-05 03:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 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-09-05 03:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457870983680001,"66":25604,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457870983680001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:29:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:29:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457870983680001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":171517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:29:04] local.INFO: GPS data processed {"connection_id":171517,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:29:04] local.INFO: Acknowledgment sent {"connection_id":171517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:29:35] local.INFO: TCP Data received {"connection_id":171517,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a06e6e8560012d34c9c006aa3d280013008026..."} 
[2026-09-05 03:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e6e8560012d34c9c006aa3d280013008026..."} 
[2026-09-05 03:29:35] local.INFO: Processing buffer {"connection_id":171517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e6e8560012d34c9c006aa3d280013008026..."} 
[2026-09-05 03:29:35] local.INFO: Packet analysis {"connection_id":171517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e6e"} 
[2026-09-05 03:29:35] local.INFO: Extracted packet for processing {"connection_id":171517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e6e"} 
[2026-09-05 03:29:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871060736001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788559132000,"timestamp_ms":1788559132000,"timestamp_seconds":1788559132,"priority":1,"record_length":96,"hex_timestamp":"000001a06e6e8560"} 
[2026-09-05 03:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:29:35] 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-09-05 03:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 03:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03: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-09-05 03:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:29: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-09-05 03:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871060736001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871060736001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:29:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:29:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871060736001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":171517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:29:35] local.INFO: GPS data processed {"connection_id":171517,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:29:35] local.INFO: Acknowledgment sent {"connection_id":171517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:30:03] local.INFO: TCP Data received {"connection_id":172626,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:30:03] local.INFO: Processing buffer {"connection_id":172626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:30:03] local.INFO: IMEI packet received {"connection_id":172626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":172626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:30:08] local.INFO: TCP Data received {"connection_id":172626,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:30:08] local.INFO: Processing buffer {"connection_id":172626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:30:08] local.INFO: IMEI packet received {"connection_id":172626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":172626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:30:08] local.INFO: TCP Data received {"connection_id":172626,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e6e8560012d34c9c006aa3d280013008026..."} 
[2026-09-05 03:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e6e8560012d34c9c006aa3d280013008026..."} 
[2026-09-05 03:30:08] local.INFO: Processing buffer {"connection_id":172626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e6e8560012d34c9c006aa3d280013008026..."} 
[2026-09-05 03:30:08] local.INFO: Packet analysis {"connection_id":172626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e6e"} 
[2026-09-05 03:30:08] local.INFO: Extracted packet for processing {"connection_id":172626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e6e"} 
[2026-09-05 03:30:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871060736001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788559132000,"timestamp_ms":1788559132000,"timestamp_seconds":1788559132,"priority":1,"record_length":96,"hex_timestamp":"000001a06e6e8560"} 
[2026-09-05 03:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:30: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-09-05 03:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 03:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:30: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-09-05 03:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871060736001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871060736001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:30:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:30:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871060736001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":172626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:30:08] local.INFO: GPS data processed {"connection_id":172626,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:30:08] local.INFO: Acknowledgment sent {"connection_id":172626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:30:40] local.INFO: TCP Data received {"connection_id":172626,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e6e8560012d34c9c006aa3d280013008026..."} 
[2026-09-05 03:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e6e8560012d34c9c006aa3d280013008026..."} 
[2026-09-05 03:30:40] local.INFO: Processing buffer {"connection_id":172626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e6e8560012d34c9c006aa3d280013008026..."} 
[2026-09-05 03:30:40] local.INFO: Packet analysis {"connection_id":172626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e6e"} 
[2026-09-05 03:30:40] local.INFO: Extracted packet for processing {"connection_id":172626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e6e"} 
[2026-09-05 03:30:40] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871060736001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788559132000,"timestamp_ms":1788559132000,"timestamp_seconds":1788559132,"priority":1,"record_length":96,"hex_timestamp":"000001a06e6e8560"} 
[2026-09-05 03:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:30: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-09-05 03: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 03:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03: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-09-05 03:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":172626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":172626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":172626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871060736001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871060736001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:30:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:30:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871060736001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":172626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:30:40] local.INFO: GPS data processed {"connection_id":172626,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:30:40] local.INFO: Acknowledgment sent {"connection_id":172626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:30:58] local.INFO: TCP Data received {"connection_id":171518,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:30:58] local.INFO: Processing buffer {"connection_id":171518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:30:58] local.INFO: IMEI packet received {"connection_id":171518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":171518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:31:03] local.INFO: TCP Data received {"connection_id":171518,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:31:03] local.INFO: Processing buffer {"connection_id":171518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:31:03] local.INFO: IMEI packet received {"connection_id":171518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":171518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:31:04] local.INFO: TCP Data received {"connection_id":171518,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a06e6e8560012d34c9c006aa3d280013008026..."} 
[2026-09-05 03:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e6e8560012d34c9c006aa3d280013008026..."} 
[2026-09-05 03:31:04] local.INFO: Processing buffer {"connection_id":171518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e6e8560012d34c9c006aa3d280013008026..."} 
[2026-09-05 03:31:04] local.INFO: Packet analysis {"connection_id":171518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e6e"} 
[2026-09-05 03:31:04] local.INFO: Extracted packet for processing {"connection_id":171518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e6e"} 
[2026-09-05 03:31:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 03:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871060736001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788559132000,"timestamp_ms":1788559132000,"timestamp_seconds":1788559132,"priority":1,"record_length":96,"hex_timestamp":"000001a06e6e8560"} 
[2026-09-05 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-09-05 03:31: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-09-05 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 03:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 03:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:31: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-09-05 03:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871060736001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871060736001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:31:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:31:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871060736001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":171518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:31:04] local.INFO: GPS data processed {"connection_id":171518,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:31:04] local.INFO: Acknowledgment sent {"connection_id":171518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:31:35] local.INFO: TCP Data received {"connection_id":171518,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a06e6e8560012d34c9c006aa3d280013008026..."} 
[2026-09-05 03:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e6e8560012d34c9c006aa3d280013008026..."} 
[2026-09-05 03:31:35] local.INFO: Processing buffer {"connection_id":171518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e6e8560012d34c9c006aa3d280013008026..."} 
[2026-09-05 03:31:35] local.INFO: Packet analysis {"connection_id":171518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e6e"} 
[2026-09-05 03:31:35] local.INFO: Extracted packet for processing {"connection_id":171518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e6e"} 
[2026-09-05 03:31:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871060736001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788559132000,"timestamp_ms":1788559132000,"timestamp_seconds":1788559132,"priority":1,"record_length":96,"hex_timestamp":"000001a06e6e8560"} 
[2026-09-05 03:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:31:35] 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-09-05 03:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 03:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03: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-09-05 03:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:31:35] 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-09-05 03:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871060736001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871060736001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:31:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:31:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871060736001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":171518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:31:35] local.INFO: GPS data processed {"connection_id":171518,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:31:35] local.INFO: Acknowledgment sent {"connection_id":171518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:31:57] local.INFO: TCP Data received {"connection_id":171218,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:31:57] local.INFO: Processing buffer {"connection_id":171218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:31:57] local.INFO: IMEI packet received {"connection_id":171218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":171218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:32:03] local.INFO: TCP Data received {"connection_id":171218,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:32:03] local.INFO: Processing buffer {"connection_id":171218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:32:03] local.INFO: IMEI packet received {"connection_id":171218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":171218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:32:03] local.INFO: TCP Data received {"connection_id":171218,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a06e6e8560012d34c9c006aa3d280013008026..."} 
[2026-09-05 03:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e6e8560012d34c9c006aa3d280013008026..."} 
[2026-09-05 03:32:03] local.INFO: Processing buffer {"connection_id":171218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e6e8560012d34c9c006aa3d280013008026..."} 
[2026-09-05 03:32:03] local.INFO: Packet analysis {"connection_id":171218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e6e"} 
[2026-09-05 03:32:03] local.INFO: Extracted packet for processing {"connection_id":171218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e6e"} 
[2026-09-05 03:32:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871060736001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788559132000,"timestamp_ms":1788559132000,"timestamp_seconds":1788559132,"priority":1,"record_length":96,"hex_timestamp":"000001a06e6e8560"} 
[2026-09-05 03:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:32: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-09-05 03:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 03:32: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-09-05 03:32:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:32: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-09-05 03:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871060736001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871060736001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:32:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:32:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871060736001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":171218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:32:03] local.INFO: GPS data processed {"connection_id":171218,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:32:03] local.INFO: Acknowledgment sent {"connection_id":171218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:32:35] local.INFO: TCP Data received {"connection_id":171218,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a06e6e8560012d34c9c006aa3d280013008026..."} 
[2026-09-05 03:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e6e8560012d34c9c006aa3d280013008026..."} 
[2026-09-05 03:32:35] local.INFO: Processing buffer {"connection_id":171218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e6e8560012d34c9c006aa3d280013008026..."} 
[2026-09-05 03:32:35] local.INFO: Packet analysis {"connection_id":171218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e6e"} 
[2026-09-05 03:32:35] local.INFO: Extracted packet for processing {"connection_id":171218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e6e"} 
[2026-09-05 03:32:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871060736001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788559132000,"timestamp_ms":1788559132000,"timestamp_seconds":1788559132,"priority":1,"record_length":96,"hex_timestamp":"000001a06e6e8560"} 
[2026-09-05 03:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:32:35] 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-09-05 03: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 03:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03: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-09-05 03:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:32: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-09-05 03:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871060736001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871060736001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:32:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:32:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871060736001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":171218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:32:35] local.INFO: GPS data processed {"connection_id":171218,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:32:35] local.INFO: Acknowledgment sent {"connection_id":171218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:32:57] local.INFO: TCP Data received {"connection_id":172627,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:32:57] local.INFO: Processing buffer {"connection_id":172627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:32:57] local.INFO: IMEI packet received {"connection_id":172627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":172627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:33:03] local.INFO: TCP Data received {"connection_id":172627,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:33:03] local.INFO: Processing buffer {"connection_id":172627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:33:03] local.INFO: IMEI packet received {"connection_id":172627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":172627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:33:03] local.INFO: TCP Data received {"connection_id":172627,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a06e6e8560012d34c9c006aa3d280013008026..."} 
[2026-09-05 03:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e6e8560012d34c9c006aa3d280013008026..."} 
[2026-09-05 03:33:03] local.INFO: Processing buffer {"connection_id":172627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e6e8560012d34c9c006aa3d280013008026..."} 
[2026-09-05 03:33:03] local.INFO: Packet analysis {"connection_id":172627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e6e"} 
[2026-09-05 03:33:03] local.INFO: Extracted packet for processing {"connection_id":172627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e6e"} 
[2026-09-05 03:33:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871060736001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788559132000,"timestamp_ms":1788559132000,"timestamp_seconds":1788559132,"priority":1,"record_length":96,"hex_timestamp":"000001a06e6e8560"} 
[2026-09-05 03:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:33: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-09-05 03:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 03:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:33: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-09-05 03:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871060736001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871060736001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:33:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:33:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871060736001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":172627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:33:03] local.INFO: GPS data processed {"connection_id":172627,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:33:03] local.INFO: Acknowledgment sent {"connection_id":172627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:33:35] local.INFO: TCP Data received {"connection_id":172627,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a06e6e8560012d34c9c006aa3d280013008026..."} 
[2026-09-05 03:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e6e8560012d34c9c006aa3d280013008026..."} 
[2026-09-05 03:33:35] local.INFO: Processing buffer {"connection_id":172627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e6e8560012d34c9c006aa3d280013008026..."} 
[2026-09-05 03:33:35] local.INFO: Packet analysis {"connection_id":172627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e6e"} 
[2026-09-05 03:33:35] local.INFO: Extracted packet for processing {"connection_id":172627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e6e"} 
[2026-09-05 03:33:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871060736001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788559132000,"timestamp_ms":1788559132000,"timestamp_seconds":1788559132,"priority":1,"record_length":96,"hex_timestamp":"000001a06e6e8560"} 
[2026-09-05 03:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:33:35] 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-09-05 03:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 03:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03: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-09-05 03:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:33: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-09-05 03:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871060736001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871060736001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:33:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:33:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871060736001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":172627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:33:35] local.INFO: GPS data processed {"connection_id":172627,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:33:35] local.INFO: Acknowledgment sent {"connection_id":172627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:33:42] local.INFO: TCP Data received {"connection_id":173914,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173914,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:33:42] local.INFO: Processing buffer {"connection_id":173914,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:33:42] local.INFO: IMEI packet received {"connection_id":173914,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 03:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":173914,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:33:57] local.INFO: TCP Data received {"connection_id":173915,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:33:57] local.INFO: Processing buffer {"connection_id":173915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:33:57] local.INFO: IMEI packet received {"connection_id":173915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":173915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:34:03] local.INFO: TCP Data received {"connection_id":173915,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:34:03] local.INFO: Processing buffer {"connection_id":173915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:34:03] local.INFO: IMEI packet received {"connection_id":173915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":173915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:34:04] local.INFO: TCP Data received {"connection_id":173915,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a06e6e8560012d34c9c006aa3d280013008026..."} 
[2026-09-05 03:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e6e8560012d34c9c006aa3d280013008026..."} 
[2026-09-05 03:34:04] local.INFO: Processing buffer {"connection_id":173915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e6e8560012d34c9c006aa3d280013008026..."} 
[2026-09-05 03:34:04] local.INFO: Packet analysis {"connection_id":173915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e6e"} 
[2026-09-05 03:34:04] local.INFO: Extracted packet for processing {"connection_id":173915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e6e"} 
[2026-09-05 03:34:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871060736001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788559132000,"timestamp_ms":1788559132000,"timestamp_seconds":1788559132,"priority":1,"record_length":96,"hex_timestamp":"000001a06e6e8560"} 
[2026-09-05 03:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:34: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-09-05 03: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 03:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03: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-09-05 03:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:34: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-09-05 03:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871060736001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871060736001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:34:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:34:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871060736001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":173915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:34:04] local.INFO: GPS data processed {"connection_id":173915,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:34:04] local.INFO: Acknowledgment sent {"connection_id":173915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:34:36] local.INFO: TCP Data received {"connection_id":173915,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a06e731d28012d34c9c006aa3d280013008023..."} 
[2026-09-05 03:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e731d28012d34c9c006aa3d280013008023..."} 
[2026-09-05 03:34:36] local.INFO: Processing buffer {"connection_id":173915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e731d28012d34c9c006aa3d280013008023..."} 
[2026-09-05 03:34:36] local.INFO: Packet analysis {"connection_id":173915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e73"} 
[2026-09-05 03:34:36] local.INFO: Extracted packet for processing {"connection_id":173915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e73"} 
[2026-09-05 03:34:36] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871137792001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788559433000,"timestamp_ms":1788559433000,"timestamp_seconds":1788559433,"priority":1,"record_length":96,"hex_timestamp":"000001a06e731d28"} 
[2026-09-05 03:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:34: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-09-05 03: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":53,"data_length":795,"current_offset":136} 
[2026-09-05 03:34: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-09-05 03: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-09-05 03:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:34: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-09-05 03:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871137792001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871137792001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:34:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:34:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871137792001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":173915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:34:36] local.INFO: GPS data processed {"connection_id":173915,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:34:36] local.INFO: Acknowledgment sent {"connection_id":173915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:35:02] local.INFO: TCP Data received {"connection_id":171219,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:35:02] local.INFO: Processing buffer {"connection_id":171219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:35:02] local.INFO: IMEI packet received {"connection_id":171219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":171219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:35:08] local.INFO: TCP Data received {"connection_id":171219,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:35:08] local.INFO: Processing buffer {"connection_id":171219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:35:08] local.INFO: IMEI packet received {"connection_id":171219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":171219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:35:09] local.INFO: TCP Data received {"connection_id":171219,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06e731d28012d34c9c006aa3d280013008023..."} 
[2026-09-05 03:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e731d28012d34c9c006aa3d280013008023..."} 
[2026-09-05 03:35:09] local.INFO: Processing buffer {"connection_id":171219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e731d28012d34c9c006aa3d280013008023..."} 
[2026-09-05 03:35:09] local.INFO: Packet analysis {"connection_id":171219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e73"} 
[2026-09-05 03:35:09] local.INFO: Extracted packet for processing {"connection_id":171219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e73"} 
[2026-09-05 03:35:09] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871137792001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788559433000,"timestamp_ms":1788559433000,"timestamp_seconds":1788559433,"priority":1,"record_length":96,"hex_timestamp":"000001a06e731d28"} 
[2026-09-05 03:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:35: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-09-05 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 03:35: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-09-05 03: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-09-05 03:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:35: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-09-05 03:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871137792001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871137792001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:35:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:35:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871137792001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":171219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:35:09] local.INFO: GPS data processed {"connection_id":171219,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:35:09] local.INFO: Acknowledgment sent {"connection_id":171219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:35:33] local.INFO: TCP Data received {"connection_id":171221,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:35:33] local.INFO: Processing buffer {"connection_id":171221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:35:33] local.INFO: IMEI packet received {"connection_id":171221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":171221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:35:37] local.INFO: TCP Data received {"connection_id":171221,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:35:38] local.INFO: Processing buffer {"connection_id":171221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:35:38] local.INFO: IMEI packet received {"connection_id":171221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":171221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:35:39] local.INFO: TCP Data received {"connection_id":171221,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06e731d28012d34c9c006aa3d280013008023..."} 
[2026-09-05 03:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e731d28012d34c9c006aa3d280013008023..."} 
[2026-09-05 03:35:39] local.INFO: Processing buffer {"connection_id":171221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e731d28012d34c9c006aa3d280013008023..."} 
[2026-09-05 03:35:39] local.INFO: Packet analysis {"connection_id":171221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e73"} 
[2026-09-05 03:35:39] local.INFO: Extracted packet for processing {"connection_id":171221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e73"} 
[2026-09-05 03:35:39] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871137792001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788559433000,"timestamp_ms":1788559433000,"timestamp_seconds":1788559433,"priority":1,"record_length":96,"hex_timestamp":"000001a06e731d28"} 
[2026-09-05 03:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:35: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-09-05 03: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":53,"data_length":795,"current_offset":136} 
[2026-09-05 03:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03: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-09-05 03:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:35:39] 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-09-05 03:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871137792001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871137792001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:35:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:35:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871137792001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":171221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:35:39] local.INFO: GPS data processed {"connection_id":171221,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:35:39] local.INFO: Acknowledgment sent {"connection_id":171221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:36:02] local.INFO: TCP Data received {"connection_id":171519,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:36:02] local.INFO: Processing buffer {"connection_id":171519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:36:02] local.INFO: IMEI packet received {"connection_id":171519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":171519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:36:07] local.INFO: TCP Data received {"connection_id":171519,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:36:08] local.INFO: Processing buffer {"connection_id":171519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:36:08] local.INFO: IMEI packet received {"connection_id":171519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":171519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:36:08] local.INFO: TCP Data received {"connection_id":171519,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06e731d28012d34c9c006aa3d280013008023..."} 
[2026-09-05 03:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e731d28012d34c9c006aa3d280013008023..."} 
[2026-09-05 03:36:08] local.INFO: Processing buffer {"connection_id":171519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e731d28012d34c9c006aa3d280013008023..."} 
[2026-09-05 03:36:08] local.INFO: Packet analysis {"connection_id":171519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e73"} 
[2026-09-05 03:36:08] local.INFO: Extracted packet for processing {"connection_id":171519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e73"} 
[2026-09-05 03:36:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871137792001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788559433000,"timestamp_ms":1788559433000,"timestamp_seconds":1788559433,"priority":1,"record_length":96,"hex_timestamp":"000001a06e731d28"} 
[2026-09-05 03:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:36: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-09-05 03: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-09-05 03: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-09-05 03: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-09-05 03:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871137792001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871137792001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:36:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:36:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871137792001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":171519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:36:08] local.INFO: GPS data processed {"connection_id":171519,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:36:08] local.INFO: Acknowledgment sent {"connection_id":171519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:36:40] local.INFO: TCP Data received {"connection_id":171519,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06e731d28012d34c9c006aa3d280013008023..."} 
[2026-09-05 03:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e731d28012d34c9c006aa3d280013008023..."} 
[2026-09-05 03:36:40] local.INFO: Processing buffer {"connection_id":171519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e731d28012d34c9c006aa3d280013008023..."} 
[2026-09-05 03:36:40] local.INFO: Packet analysis {"connection_id":171519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e73"} 
[2026-09-05 03:36:40] local.INFO: Extracted packet for processing {"connection_id":171519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e73"} 
[2026-09-05 03:36:40] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871137792001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788559433000,"timestamp_ms":1788559433000,"timestamp_seconds":1788559433,"priority":1,"record_length":96,"hex_timestamp":"000001a06e731d28"} 
[2026-09-05 03:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:36: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-09-05 03:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 03:36:40] 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-09-05 03:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":171519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":171519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":171519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871137792001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871137792001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:36:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:36:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871137792001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":171519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:36:40] local.INFO: GPS data processed {"connection_id":171519,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:36:40] local.INFO: Acknowledgment sent {"connection_id":171519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:36:57] local.INFO: TCP Data received {"connection_id":173916,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:36:57] local.INFO: Processing buffer {"connection_id":173916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:36:57] local.INFO: IMEI packet received {"connection_id":173916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":173916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:37:03] local.INFO: TCP Data received {"connection_id":173916,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:37:03] local.INFO: Processing buffer {"connection_id":173916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:37:03] local.INFO: IMEI packet received {"connection_id":173916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":173916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:37:03] local.INFO: TCP Data received {"connection_id":173916,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a06e731d28012d34c9c006aa3d280013008023..."} 
[2026-09-05 03:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e731d28012d34c9c006aa3d280013008023..."} 
[2026-09-05 03:37:03] local.INFO: Processing buffer {"connection_id":173916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e731d28012d34c9c006aa3d280013008023..."} 
[2026-09-05 03:37:03] local.INFO: Packet analysis {"connection_id":173916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e73"} 
[2026-09-05 03:37:03] local.INFO: Extracted packet for processing {"connection_id":173916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e73"} 
[2026-09-05 03:37:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871137792001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788559433000,"timestamp_ms":1788559433000,"timestamp_seconds":1788559433,"priority":1,"record_length":96,"hex_timestamp":"000001a06e731d28"} 
[2026-09-05 03:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:37: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-09-05 03:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 03: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-09-05 03:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871137792001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871137792001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:37:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:37:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871137792001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":173916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:37:03] local.INFO: GPS data processed {"connection_id":173916,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:37:03] local.INFO: Acknowledgment sent {"connection_id":173916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:37:35] local.INFO: TCP Data received {"connection_id":173916,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a06e731d28012d34c9c006aa3d280013008023..."} 
[2026-09-05 03:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e731d28012d34c9c006aa3d280013008023..."} 
[2026-09-05 03:37:35] local.INFO: Processing buffer {"connection_id":173916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e731d28012d34c9c006aa3d280013008023..."} 
[2026-09-05 03:37:35] local.INFO: Packet analysis {"connection_id":173916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e73"} 
[2026-09-05 03:37:35] local.INFO: Extracted packet for processing {"connection_id":173916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e73"} 
[2026-09-05 03:37:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 03:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871137792001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788559433000,"timestamp_ms":1788559433000,"timestamp_seconds":1788559433,"priority":1,"record_length":96,"hex_timestamp":"000001a06e731d28"} 
[2026-09-05 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-09-05 03:37:35] 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-09-05 03:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 03:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 03:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871137792001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871137792001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:37:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:37:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871137792001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":173916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:37:35] local.INFO: GPS data processed {"connection_id":173916,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:37:35] local.INFO: Acknowledgment sent {"connection_id":173916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:37:57] local.INFO: TCP Data received {"connection_id":171520,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:37:57] local.INFO: Processing buffer {"connection_id":171520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:37:57] local.INFO: IMEI packet received {"connection_id":171520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":171520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:38:03] local.INFO: TCP Data received {"connection_id":171520,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:38:03] local.INFO: Processing buffer {"connection_id":171520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:38:03] local.INFO: IMEI packet received {"connection_id":171520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":171520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:38:03] local.INFO: TCP Data received {"connection_id":171520,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a06e731d28012d34c9c006aa3d280013008023..."} 
[2026-09-05 03:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e731d28012d34c9c006aa3d280013008023..."} 
[2026-09-05 03:38:03] local.INFO: Processing buffer {"connection_id":171520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e731d28012d34c9c006aa3d280013008023..."} 
[2026-09-05 03:38:03] local.INFO: Packet analysis {"connection_id":171520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e73"} 
[2026-09-05 03:38:03] local.INFO: Extracted packet for processing {"connection_id":171520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e73"} 
[2026-09-05 03:38:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871137792001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788559433000,"timestamp_ms":1788559433000,"timestamp_seconds":1788559433,"priority":1,"record_length":96,"hex_timestamp":"000001a06e731d28"} 
[2026-09-05 03:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:38: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-09-05 03:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 03:38: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-09-05 03:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:38: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-09-05 03:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871137792001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871137792001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:38:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:38:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871137792001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":171520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:38:03] local.INFO: GPS data processed {"connection_id":171520,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:38:03] local.INFO: Acknowledgment sent {"connection_id":171520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:38:35] local.INFO: TCP Data received {"connection_id":171520,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a06e731d28012d34c9c006aa3d280013008023..."} 
[2026-09-05 03:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e731d28012d34c9c006aa3d280013008023..."} 
[2026-09-05 03:38:35] local.INFO: Processing buffer {"connection_id":171520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e731d28012d34c9c006aa3d280013008023..."} 
[2026-09-05 03:38:35] local.INFO: Packet analysis {"connection_id":171520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e73"} 
[2026-09-05 03:38:35] local.INFO: Extracted packet for processing {"connection_id":171520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e73"} 
[2026-09-05 03:38:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871137792001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788559433000,"timestamp_ms":1788559433000,"timestamp_seconds":1788559433,"priority":1,"record_length":96,"hex_timestamp":"000001a06e731d28"} 
[2026-09-05 03:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:38:35] 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-09-05 03:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 03:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:38:35] 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-09-05 03:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871137792001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871137792001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:38:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:38:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871137792001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":171520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:38:35] local.INFO: GPS data processed {"connection_id":171520,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:38:35] local.INFO: Acknowledgment sent {"connection_id":171520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:39:03] local.INFO: TCP Data received {"connection_id":173917,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:39:03] local.INFO: Processing buffer {"connection_id":173917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:39:03] local.INFO: IMEI packet received {"connection_id":173917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":173917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:39:08] local.INFO: TCP Data received {"connection_id":173917,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:39:08] local.INFO: Processing buffer {"connection_id":173917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:39:08] local.INFO: IMEI packet received {"connection_id":173917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":173917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:39:08] local.INFO: TCP Data received {"connection_id":173917,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a06e731d28012d34c9c006aa3d280013008023..."} 
[2026-09-05 03:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e731d28012d34c9c006aa3d280013008023..."} 
[2026-09-05 03:39:08] local.INFO: Processing buffer {"connection_id":173917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e731d28012d34c9c006aa3d280013008023..."} 
[2026-09-05 03:39:08] local.INFO: Packet analysis {"connection_id":173917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e73"} 
[2026-09-05 03:39:08] local.INFO: Extracted packet for processing {"connection_id":173917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e73"} 
[2026-09-05 03:39:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871137792001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788559433000,"timestamp_ms":1788559433000,"timestamp_seconds":1788559433,"priority":1,"record_length":96,"hex_timestamp":"000001a06e731d28"} 
[2026-09-05 03:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:39: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-09-05 03:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 03: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-09-05 03:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:39:08] 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-09-05 03:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871137792001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871137792001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:39:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:39:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871137792001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":173917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:39:08] local.INFO: GPS data processed {"connection_id":173917,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:39:08] local.INFO: Acknowledgment sent {"connection_id":173917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:39:13] local.INFO: TCP Data received {"connection_id":173917,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a06e731d28012d34c9c006aa3d280013008023..."} 
[2026-09-05 03:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e731d28012d34c9c006aa3d280013008023..."} 
[2026-09-05 03:39:13] local.INFO: Processing buffer {"connection_id":173917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e731d28012d34c9c006aa3d280013008023..."} 
[2026-09-05 03:39:13] local.INFO: Packet analysis {"connection_id":173917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e73"} 
[2026-09-05 03:39:13] local.INFO: Extracted packet for processing {"connection_id":173917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e73"} 
[2026-09-05 03:39:13] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871137792001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788559433000,"timestamp_ms":1788559433000,"timestamp_seconds":1788559433,"priority":1,"record_length":96,"hex_timestamp":"000001a06e731d28"} 
[2026-09-05 03:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 03:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 03:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":173917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":173917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":173917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:39:13] 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-09-05 03:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871137792001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871137792001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:39:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:39:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871137792001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":173917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:39:13] local.INFO: GPS data processed {"connection_id":173917,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:39:13] local.INFO: Acknowledgment sent {"connection_id":173917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:39:16] local.INFO: TCP Data received {"connection_id":171220,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171220,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:39:16] local.INFO: Processing buffer {"connection_id":171220,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:39:16] local.INFO: IMEI packet received {"connection_id":171220,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 03:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":171220,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:39:57] local.INFO: TCP Data received {"connection_id":172628,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:39:58] local.INFO: Processing buffer {"connection_id":172628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:39:58] local.INFO: IMEI packet received {"connection_id":172628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":172628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:40:02] local.INFO: TCP Data received {"connection_id":172628,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:40:02] local.INFO: Processing buffer {"connection_id":172628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:40:02] local.INFO: IMEI packet received {"connection_id":172628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":172628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:40:03] local.INFO: TCP Data received {"connection_id":172628,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e77b4f0012d34c9c006aa3d280013008020..."} 
[2026-09-05 03:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e77b4f0012d34c9c006aa3d280013008020..."} 
[2026-09-05 03:40:03] local.INFO: Processing buffer {"connection_id":172628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e77b4f0012d34c9c006aa3d280013008020..."} 
[2026-09-05 03:40:03] local.INFO: Packet analysis {"connection_id":172628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e77"} 
[2026-09-05 03:40:03] local.INFO: Extracted packet for processing {"connection_id":172628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e77"} 
[2026-09-05 03:40:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871214848001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788559734000,"timestamp_ms":1788559734000,"timestamp_seconds":1788559734,"priority":1,"record_length":96,"hex_timestamp":"000001a06e77b4f0"} 
[2026-09-05 03:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:40: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-09-05 03:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 03: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-09-05 03:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:40: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-09-05 03:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871214848001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871214848001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:40:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:40:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871214848001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":172628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:40:03] local.INFO: GPS data processed {"connection_id":172628,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:40:03] local.INFO: Acknowledgment sent {"connection_id":172628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:40:34] local.INFO: TCP Data received {"connection_id":172628,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06e77b4f0012d34c9c006aa3d280013008020..."} 
[2026-09-05 03:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e77b4f0012d34c9c006aa3d280013008020..."} 
[2026-09-05 03:40:34] local.INFO: Processing buffer {"connection_id":172628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e77b4f0012d34c9c006aa3d280013008020..."} 
[2026-09-05 03:40:34] local.INFO: Packet analysis {"connection_id":172628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e77"} 
[2026-09-05 03:40:34] local.INFO: Extracted packet for processing {"connection_id":172628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e77"} 
[2026-09-05 03:40:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871214848001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788559734000,"timestamp_ms":1788559734000,"timestamp_seconds":1788559734,"priority":1,"record_length":96,"hex_timestamp":"000001a06e77b4f0"} 
[2026-09-05 03:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:40: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-09-05 03:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 03:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03: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-09-05 03:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:40: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-09-05 03:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871214848001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871214848001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:40:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:40:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871214848001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":172628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:40:35] local.INFO: GPS data processed {"connection_id":172628,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:40:35] local.INFO: Acknowledgment sent {"connection_id":172628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:40:58] local.INFO: TCP Data received {"connection_id":172629,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:40:58] local.INFO: Processing buffer {"connection_id":172629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:40:58] local.INFO: IMEI packet received {"connection_id":172629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":172629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:41:02] local.INFO: TCP Data received {"connection_id":172629,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:41:02] local.INFO: Processing buffer {"connection_id":172629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:41:02] local.INFO: IMEI packet received {"connection_id":172629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":172629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:41:03] local.INFO: TCP Data received {"connection_id":172629,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06e77b4f0012d34c9c006aa3d280013008020..."} 
[2026-09-05 03:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e77b4f0012d34c9c006aa3d280013008020..."} 
[2026-09-05 03:41:03] local.INFO: Processing buffer {"connection_id":172629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e77b4f0012d34c9c006aa3d280013008020..."} 
[2026-09-05 03:41:03] local.INFO: Packet analysis {"connection_id":172629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e77"} 
[2026-09-05 03:41:03] local.INFO: Extracted packet for processing {"connection_id":172629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e77"} 
[2026-09-05 03:41:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871214848001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788559734000,"timestamp_ms":1788559734000,"timestamp_seconds":1788559734,"priority":1,"record_length":96,"hex_timestamp":"000001a06e77b4f0"} 
[2026-09-05 03:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:41: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-09-05 03:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 03:41: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-09-05 03:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871214848001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871214848001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:41:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:41:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871214848001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":172629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:41:03] local.INFO: GPS data processed {"connection_id":172629,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:41:03] local.INFO: Acknowledgment sent {"connection_id":172629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:41:35] local.INFO: TCP Data received {"connection_id":172629,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06e77b4f0012d34c9c006aa3d280013008020..."} 
[2026-09-05 03:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e77b4f0012d34c9c006aa3d280013008020..."} 
[2026-09-05 03:41:35] local.INFO: Processing buffer {"connection_id":172629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e77b4f0012d34c9c006aa3d280013008020..."} 
[2026-09-05 03:41:35] local.INFO: Packet analysis {"connection_id":172629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e77"} 
[2026-09-05 03:41:35] local.INFO: Extracted packet for processing {"connection_id":172629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e77"} 
[2026-09-05 03:41:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871214848001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788559734000,"timestamp_ms":1788559734000,"timestamp_seconds":1788559734,"priority":1,"record_length":96,"hex_timestamp":"000001a06e77b4f0"} 
[2026-09-05 03:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:41:35] 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-09-05 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 03:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871214848001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871214848001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:41:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:41:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871214848001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":172629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:41:35] local.INFO: GPS data processed {"connection_id":172629,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:41:35] local.INFO: Acknowledgment sent {"connection_id":172629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:41:57] local.INFO: TCP Data received {"connection_id":173918,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:41:57] local.INFO: Processing buffer {"connection_id":173918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:41:57] local.INFO: IMEI packet received {"connection_id":173918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":173918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:42:03] local.INFO: TCP Data received {"connection_id":173918,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:42:03] local.INFO: Processing buffer {"connection_id":173918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:42:03] local.INFO: IMEI packet received {"connection_id":173918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":173918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:42:03] local.INFO: TCP Data received {"connection_id":173918,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06e77b4f0012d34c9c006aa3d280013008020..."} 
[2026-09-05 03:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e77b4f0012d34c9c006aa3d280013008020..."} 
[2026-09-05 03:42:03] local.INFO: Processing buffer {"connection_id":173918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e77b4f0012d34c9c006aa3d280013008020..."} 
[2026-09-05 03:42:03] local.INFO: Packet analysis {"connection_id":173918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e77"} 
[2026-09-05 03:42:03] local.INFO: Extracted packet for processing {"connection_id":173918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e77"} 
[2026-09-05 03:42:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871214848001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788559734000,"timestamp_ms":1788559734000,"timestamp_seconds":1788559734,"priority":1,"record_length":96,"hex_timestamp":"000001a06e77b4f0"} 
[2026-09-05 03:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:42: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-09-05 03:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 03: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-09-05 03:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:42:03] 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-09-05 03:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871214848001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871214848001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:42:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:42:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871214848001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":173918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:42:04] local.INFO: GPS data processed {"connection_id":173918,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:42:04] local.INFO: Acknowledgment sent {"connection_id":173918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:42:35] local.INFO: TCP Data received {"connection_id":173918,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06e77b4f0012d34c9c006aa3d280013008020..."} 
[2026-09-05 03:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e77b4f0012d34c9c006aa3d280013008020..."} 
[2026-09-05 03:42:35] local.INFO: Processing buffer {"connection_id":173918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e77b4f0012d34c9c006aa3d280013008020..."} 
[2026-09-05 03:42:35] local.INFO: Packet analysis {"connection_id":173918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e77"} 
[2026-09-05 03:42:35] local.INFO: Extracted packet for processing {"connection_id":173918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e77"} 
[2026-09-05 03:42:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871214848001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788559734000,"timestamp_ms":1788559734000,"timestamp_seconds":1788559734,"priority":1,"record_length":96,"hex_timestamp":"000001a06e77b4f0"} 
[2026-09-05 03:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:42:35] 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-09-05 03:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 03:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871214848001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871214848001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:42:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:42:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871214848001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":173918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:42:35] local.INFO: GPS data processed {"connection_id":173918,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:42:35] local.INFO: Acknowledgment sent {"connection_id":173918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:42:57] local.INFO: TCP Data received {"connection_id":173919,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:42:57] local.INFO: Processing buffer {"connection_id":173919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:42:57] local.INFO: IMEI packet received {"connection_id":173919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":173919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:43:02] local.INFO: TCP Data received {"connection_id":173919,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:43:03] local.INFO: Processing buffer {"connection_id":173919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:43:03] local.INFO: IMEI packet received {"connection_id":173919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":173919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:43:03] local.INFO: TCP Data received {"connection_id":173919,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a06e77b4f0012d34c9c006aa3d280013008020..."} 
[2026-09-05 03:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e77b4f0012d34c9c006aa3d280013008020..."} 
[2026-09-05 03:43:03] local.INFO: Processing buffer {"connection_id":173919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e77b4f0012d34c9c006aa3d280013008020..."} 
[2026-09-05 03:43:03] local.INFO: Packet analysis {"connection_id":173919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e77"} 
[2026-09-05 03:43:03] local.INFO: Extracted packet for processing {"connection_id":173919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e77"} 
[2026-09-05 03:43:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871214848001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788559734000,"timestamp_ms":1788559734000,"timestamp_seconds":1788559734,"priority":1,"record_length":96,"hex_timestamp":"000001a06e77b4f0"} 
[2026-09-05 03:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:43: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-09-05 03:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 03:43: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-09-05 03:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:43: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-09-05 03:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871214848001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871214848001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:43:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:43:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871214848001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":173919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:43:03] local.INFO: GPS data processed {"connection_id":173919,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:43:03] local.INFO: Acknowledgment sent {"connection_id":173919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:43:34] local.INFO: TCP Data received {"connection_id":173919,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a06e77b4f0012d34c9c006aa3d280013008020..."} 
[2026-09-05 03:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e77b4f0012d34c9c006aa3d280013008020..."} 
[2026-09-05 03:43:34] local.INFO: Processing buffer {"connection_id":173919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e77b4f0012d34c9c006aa3d280013008020..."} 
[2026-09-05 03:43:34] local.INFO: Packet analysis {"connection_id":173919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e77"} 
[2026-09-05 03:43:34] local.INFO: Extracted packet for processing {"connection_id":173919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e77"} 
[2026-09-05 03:43:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 03:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871214848001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788559734000,"timestamp_ms":1788559734000,"timestamp_seconds":1788559734,"priority":1,"record_length":96,"hex_timestamp":"000001a06e77b4f0"} 
[2026-09-05 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-09-05 03:43: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-09-05 03:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 03:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 03:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:43:34] 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-09-05 03:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871214848001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871214848001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:43:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:43:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871214848001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":173919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:43:34] local.INFO: GPS data processed {"connection_id":173919,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:43:34] local.INFO: Acknowledgment sent {"connection_id":173919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:44:03] local.INFO: TCP Data received {"connection_id":171521,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:44:03] local.INFO: Processing buffer {"connection_id":171521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:44:03] local.INFO: IMEI packet received {"connection_id":171521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":171521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:44:07] local.INFO: TCP Data received {"connection_id":171521,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:44:07] local.INFO: Processing buffer {"connection_id":171521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:44:07] local.INFO: IMEI packet received {"connection_id":171521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":171521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:44:08] local.INFO: TCP Data received {"connection_id":171521,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e77b4f0012d34c9c006aa3d280013008020..."} 
[2026-09-05 03:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e77b4f0012d34c9c006aa3d280013008020..."} 
[2026-09-05 03:44:08] local.INFO: Processing buffer {"connection_id":171521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e77b4f0012d34c9c006aa3d280013008020..."} 
[2026-09-05 03:44:08] local.INFO: Packet analysis {"connection_id":171521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e77"} 
[2026-09-05 03:44:08] local.INFO: Extracted packet for processing {"connection_id":171521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e77"} 
[2026-09-05 03:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871214848001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788559734000,"timestamp_ms":1788559734000,"timestamp_seconds":1788559734,"priority":1,"record_length":96,"hex_timestamp":"000001a06e77b4f0"} 
[2026-09-05 03:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:44: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-09-05 03: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":53,"data_length":795,"current_offset":136} 
[2026-09-05 03:44: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-09-05 03: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-09-05 03:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:44: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-09-05 03:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871214848001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871214848001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:44:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:44:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871214848001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":171521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:44:08] local.INFO: GPS data processed {"connection_id":171521,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:44:08] local.INFO: Acknowledgment sent {"connection_id":171521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:44:13] local.INFO: TCP Data received {"connection_id":171521,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e77b4f0012d34c9c006aa3d280013008020..."} 
[2026-09-05 03:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e77b4f0012d34c9c006aa3d280013008020..."} 
[2026-09-05 03:44:13] local.INFO: Processing buffer {"connection_id":171521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e77b4f0012d34c9c006aa3d280013008020..."} 
[2026-09-05 03:44:13] local.INFO: Packet analysis {"connection_id":171521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e77"} 
[2026-09-05 03:44:13] local.INFO: Extracted packet for processing {"connection_id":171521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e77"} 
[2026-09-05 03:44:13] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871214848001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788559734000,"timestamp_ms":1788559734000,"timestamp_seconds":1788559734,"priority":1,"record_length":96,"hex_timestamp":"000001a06e77b4f0"} 
[2026-09-05 03:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 03:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 03:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871214848001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871214848001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:44:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:44:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871214848001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":171521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:44:13] local.INFO: GPS data processed {"connection_id":171521,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:44:13] local.INFO: Acknowledgment sent {"connection_id":171521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:44:49] local.INFO: TCP Data received {"connection_id":171222,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:44:49] local.INFO: Processing buffer {"connection_id":171222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:44:49] local.INFO: IMEI packet received {"connection_id":171222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 03:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":171222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:44:57] local.INFO: TCP Data received {"connection_id":173920,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:44:57] local.INFO: Processing buffer {"connection_id":173920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:44:57] local.INFO: IMEI packet received {"connection_id":173920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":173920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:45:03] local.INFO: TCP Data received {"connection_id":173920,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:45:03] local.INFO: Processing buffer {"connection_id":173920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:45:03] local.INFO: IMEI packet received {"connection_id":173920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":173920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:45:04] local.INFO: TCP Data received {"connection_id":173920,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e7c4cb8012d34c9c006aa3d280010008025..."} 
[2026-09-05 03:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e7c4cb8012d34c9c006aa3d280010008025..."} 
[2026-09-05 03:45:04] local.INFO: Processing buffer {"connection_id":173920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e7c4cb8012d34c9c006aa3d280010008025..."} 
[2026-09-05 03:45:04] local.INFO: Packet analysis {"connection_id":173920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e7c"} 
[2026-09-05 03:45:04] local.INFO: Extracted packet for processing {"connection_id":173920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e7c"} 
[2026-09-05 03:45:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871291904001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788560035000,"timestamp_ms":1788560035000,"timestamp_seconds":1788560035,"priority":1,"record_length":96,"hex_timestamp":"000001a06e7c4cb8"} 
[2026-09-05 03:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:45: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-09-05 03:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 03:45: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-09-05 03:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03: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-09-05 03:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871291904001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871291904001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:45:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:45:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871291904001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":173920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:45:04] local.INFO: GPS data processed {"connection_id":173920,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:45:04] local.INFO: Acknowledgment sent {"connection_id":173920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:45:32] local.INFO: TCP Data received {"connection_id":171223,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171223,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:45:32] local.INFO: Processing buffer {"connection_id":171223,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:45:32] local.INFO: IMEI packet received {"connection_id":171223,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 03:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":171223,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:45:35] local.INFO: TCP Data received {"connection_id":173920,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e7c4cb8012d34c9c006aa3d280010008025..."} 
[2026-09-05 03:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e7c4cb8012d34c9c006aa3d280010008025..."} 
[2026-09-05 03:45:35] local.INFO: Processing buffer {"connection_id":173920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e7c4cb8012d34c9c006aa3d280010008025..."} 
[2026-09-05 03:45:35] local.INFO: Packet analysis {"connection_id":173920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e7c"} 
[2026-09-05 03:45:35] local.INFO: Extracted packet for processing {"connection_id":173920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e7c"} 
[2026-09-05 03:45:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871291904001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788560035000,"timestamp_ms":1788560035000,"timestamp_seconds":1788560035,"priority":1,"record_length":96,"hex_timestamp":"000001a06e7c4cb8"} 
[2026-09-05 03:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:45:35] 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-09-05 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 03:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03: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-09-05 03:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871291904001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871291904001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:45:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:45:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871291904001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":173920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:45:35] local.INFO: GPS data processed {"connection_id":173920,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:45:35] local.INFO: Acknowledgment sent {"connection_id":173920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:45:57] local.INFO: TCP Data received {"connection_id":172630,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:45:57] local.INFO: Processing buffer {"connection_id":172630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:45:57] local.INFO: IMEI packet received {"connection_id":172630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":172630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:46:03] local.INFO: TCP Data received {"connection_id":172630,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:46:03] local.INFO: Processing buffer {"connection_id":172630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:46:03] local.INFO: IMEI packet received {"connection_id":172630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":172630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:46:04] local.INFO: TCP Data received {"connection_id":172630,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e7c4cb8012d34c9c006aa3d280010008025..."} 
[2026-09-05 03:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e7c4cb8012d34c9c006aa3d280010008025..."} 
[2026-09-05 03:46:04] local.INFO: Processing buffer {"connection_id":172630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e7c4cb8012d34c9c006aa3d280010008025..."} 
[2026-09-05 03:46:04] local.INFO: Packet analysis {"connection_id":172630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e7c"} 
[2026-09-05 03:46:04] local.INFO: Extracted packet for processing {"connection_id":172630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e7c"} 
[2026-09-05 03:46:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 03:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871291904001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788560035000,"timestamp_ms":1788560035000,"timestamp_seconds":1788560035,"priority":1,"record_length":96,"hex_timestamp":"000001a06e7c4cb8"} 
[2026-09-05 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-09-05 03:46: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-09-05 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 03:46: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-09-05 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-09-05 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-09-05 03:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:46: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-09-05 03:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871291904001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871291904001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:46:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:46:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871291904001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":172630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:46:04] local.INFO: GPS data processed {"connection_id":172630,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:46:04] local.INFO: Acknowledgment sent {"connection_id":172630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:46:35] local.INFO: TCP Data received {"connection_id":172630,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e7c4cb8012d34c9c006aa3d280010008025..."} 
[2026-09-05 03:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e7c4cb8012d34c9c006aa3d280010008025..."} 
[2026-09-05 03:46:35] local.INFO: Processing buffer {"connection_id":172630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e7c4cb8012d34c9c006aa3d280010008025..."} 
[2026-09-05 03:46:35] local.INFO: Packet analysis {"connection_id":172630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e7c"} 
[2026-09-05 03:46:35] local.INFO: Extracted packet for processing {"connection_id":172630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e7c"} 
[2026-09-05 03:46:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871291904001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788560035000,"timestamp_ms":1788560035000,"timestamp_seconds":1788560035,"priority":1,"record_length":96,"hex_timestamp":"000001a06e7c4cb8"} 
[2026-09-05 03:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:46:35] 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-09-05 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 03:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03: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-09-05 03:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871291904001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871291904001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:46:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:46:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871291904001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":172630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:46:35] local.INFO: GPS data processed {"connection_id":172630,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:46:35] local.INFO: Acknowledgment sent {"connection_id":172630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:46:57] local.INFO: TCP Data received {"connection_id":171522,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:46:57] local.INFO: Processing buffer {"connection_id":171522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:46:57] local.INFO: IMEI packet received {"connection_id":171522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":171522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:47:02] local.INFO: TCP Data received {"connection_id":171522,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:47:02] local.INFO: Processing buffer {"connection_id":171522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:47:02] local.INFO: IMEI packet received {"connection_id":171522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":171522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:47:05] local.INFO: TCP Data received {"connection_id":171522,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e7c4cb8012d34c9c006aa3d280010008025..."} 
[2026-09-05 03:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e7c4cb8012d34c9c006aa3d280010008025..."} 
[2026-09-05 03:47:05] local.INFO: Processing buffer {"connection_id":171522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e7c4cb8012d34c9c006aa3d280010008025..."} 
[2026-09-05 03:47:05] local.INFO: Packet analysis {"connection_id":171522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e7c"} 
[2026-09-05 03:47:05] local.INFO: Extracted packet for processing {"connection_id":171522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e7c"} 
[2026-09-05 03:47:05] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871291904001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788560035000,"timestamp_ms":1788560035000,"timestamp_seconds":1788560035,"priority":1,"record_length":96,"hex_timestamp":"000001a06e7c4cb8"} 
[2026-09-05 03:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 03:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 03:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03: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-09-05 03:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:47: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-09-05 03:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871291904001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871291904001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:47:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:47:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871291904001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":171522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:47:06] local.INFO: GPS data processed {"connection_id":171522,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:47:06] local.INFO: Acknowledgment sent {"connection_id":171522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:47:37] local.INFO: TCP Data received {"connection_id":171522,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e7c4cb8012d34c9c006aa3d280010008025..."} 
[2026-09-05 03:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e7c4cb8012d34c9c006aa3d280010008025..."} 
[2026-09-05 03:47:37] local.INFO: Processing buffer {"connection_id":171522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e7c4cb8012d34c9c006aa3d280010008025..."} 
[2026-09-05 03:47:37] local.INFO: Packet analysis {"connection_id":171522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e7c"} 
[2026-09-05 03:47:37] local.INFO: Extracted packet for processing {"connection_id":171522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e7c"} 
[2026-09-05 03:47:37] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871291904001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788560035000,"timestamp_ms":1788560035000,"timestamp_seconds":1788560035,"priority":1,"record_length":96,"hex_timestamp":"000001a06e7c4cb8"} 
[2026-09-05 03:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:47:37] 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-09-05 03:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 03:47: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-09-05 03: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-09-05 03:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:47: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-09-05 03:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871291904001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871291904001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:47:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:47:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871291904001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":171522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:47:37] local.INFO: GPS data processed {"connection_id":171522,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:47:37] local.INFO: Acknowledgment sent {"connection_id":171522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:47:57] local.INFO: TCP Data received {"connection_id":171224,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:47:57] local.INFO: Processing buffer {"connection_id":171224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:47:57] local.INFO: IMEI packet received {"connection_id":171224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":171224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:48:03] local.INFO: TCP Data received {"connection_id":171224,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:48:03] local.INFO: Processing buffer {"connection_id":171224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:48:03] local.INFO: IMEI packet received {"connection_id":171224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":171224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:48:04] local.INFO: TCP Data received {"connection_id":171224,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e7c4cb8012d34c9c006aa3d280010008025..."} 
[2026-09-05 03:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e7c4cb8012d34c9c006aa3d280010008025..."} 
[2026-09-05 03:48:04] local.INFO: Processing buffer {"connection_id":171224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e7c4cb8012d34c9c006aa3d280010008025..."} 
[2026-09-05 03:48:04] local.INFO: Packet analysis {"connection_id":171224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e7c"} 
[2026-09-05 03:48:04] local.INFO: Extracted packet for processing {"connection_id":171224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e7c"} 
[2026-09-05 03:48:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 03:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871291904001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788560035000,"timestamp_ms":1788560035000,"timestamp_seconds":1788560035,"priority":1,"record_length":96,"hex_timestamp":"000001a06e7c4cb8"} 
[2026-09-05 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-09-05 03:48: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-09-05 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 03: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-09-05 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-09-05 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-09-05 03:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:48: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-09-05 03:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871291904001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871291904001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:48:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:48:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871291904001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":171224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:48:04] local.INFO: GPS data processed {"connection_id":171224,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:48:04] local.INFO: Acknowledgment sent {"connection_id":171224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:48:35] local.INFO: TCP Data received {"connection_id":171224,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e7c4cb8012d34c9c006aa3d280010008025..."} 
[2026-09-05 03:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e7c4cb8012d34c9c006aa3d280010008025..."} 
[2026-09-05 03:48:35] local.INFO: Processing buffer {"connection_id":171224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e7c4cb8012d34c9c006aa3d280010008025..."} 
[2026-09-05 03:48:35] local.INFO: Packet analysis {"connection_id":171224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e7c"} 
[2026-09-05 03:48:35] local.INFO: Extracted packet for processing {"connection_id":171224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e7c"} 
[2026-09-05 03:48:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871291904001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788560035000,"timestamp_ms":1788560035000,"timestamp_seconds":1788560035,"priority":1,"record_length":96,"hex_timestamp":"000001a06e7c4cb8"} 
[2026-09-05 03:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:48:35] 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-09-05 03:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 03:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871291904001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871291904001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:48:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:48:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871291904001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":171224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:48:35] local.INFO: GPS data processed {"connection_id":171224,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:48:35] local.INFO: Acknowledgment sent {"connection_id":171224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:48:57] local.INFO: TCP Data received {"connection_id":173921,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:48:57] local.INFO: Processing buffer {"connection_id":173921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:48:57] local.INFO: IMEI packet received {"connection_id":173921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":173921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:49:02] local.INFO: TCP Data received {"connection_id":173921,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:49:02] local.INFO: Processing buffer {"connection_id":173921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:49:02] local.INFO: IMEI packet received {"connection_id":173921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":173921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:49:03] local.INFO: TCP Data received {"connection_id":173921,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e7c4cb8012d34c9c006aa3d280010008025..."} 
[2026-09-05 03:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e7c4cb8012d34c9c006aa3d280010008025..."} 
[2026-09-05 03:49:03] local.INFO: Processing buffer {"connection_id":173921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e7c4cb8012d34c9c006aa3d280010008025..."} 
[2026-09-05 03:49:03] local.INFO: Packet analysis {"connection_id":173921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e7c"} 
[2026-09-05 03:49:03] local.INFO: Extracted packet for processing {"connection_id":173921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e7c"} 
[2026-09-05 03:49:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871291904001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788560035000,"timestamp_ms":1788560035000,"timestamp_seconds":1788560035,"priority":1,"record_length":96,"hex_timestamp":"000001a06e7c4cb8"} 
[2026-09-05 03:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:49: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-09-05 03:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 03:49: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-09-05 03:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:49: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-09-05 03:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871291904001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871291904001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:49:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:49:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871291904001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":173921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:49:03] local.INFO: GPS data processed {"connection_id":173921,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:49:03] local.INFO: Acknowledgment sent {"connection_id":173921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:49:34] local.INFO: TCP Data received {"connection_id":173921,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e7c4cb8012d34c9c006aa3d280010008025..."} 
[2026-09-05 03:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e7c4cb8012d34c9c006aa3d280010008025..."} 
[2026-09-05 03:49:34] local.INFO: Processing buffer {"connection_id":173921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e7c4cb8012d34c9c006aa3d280010008025..."} 
[2026-09-05 03:49:34] local.INFO: Packet analysis {"connection_id":173921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e7c"} 
[2026-09-05 03:49:34] local.INFO: Extracted packet for processing {"connection_id":173921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e7c"} 
[2026-09-05 03:49:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871291904001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788560035000,"timestamp_ms":1788560035000,"timestamp_seconds":1788560035,"priority":1,"record_length":96,"hex_timestamp":"000001a06e7c4cb8"} 
[2026-09-05 03:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:49: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-09-05 03:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 03:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:49: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-09-05 03:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871291904001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871291904001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:49:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:49:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871291904001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":173921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:49:34] local.INFO: GPS data processed {"connection_id":173921,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:49:34] local.INFO: Acknowledgment sent {"connection_id":173921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:50:02] local.INFO: TCP Data received {"connection_id":171225,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:50:02] local.INFO: Processing buffer {"connection_id":171225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:50:02] local.INFO: IMEI packet received {"connection_id":171225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":171225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:50:07] local.INFO: TCP Data received {"connection_id":171225,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:50:08] local.INFO: Processing buffer {"connection_id":171225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:50:08] local.INFO: IMEI packet received {"connection_id":171225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":171225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:50:08] local.INFO: TCP Data received {"connection_id":171225,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e80e480012d34c9c006aa3d280010008024..."} 
[2026-09-05 03:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e80e480012d34c9c006aa3d280010008024..."} 
[2026-09-05 03:50:08] local.INFO: Processing buffer {"connection_id":171225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e80e480012d34c9c006aa3d280010008024..."} 
[2026-09-05 03:50:08] local.INFO: Packet analysis {"connection_id":171225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e80"} 
[2026-09-05 03:50:08] local.INFO: Extracted packet for processing {"connection_id":171225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e80"} 
[2026-09-05 03:50:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871368960001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788560336000,"timestamp_ms":1788560336000,"timestamp_seconds":1788560336,"priority":1,"record_length":96,"hex_timestamp":"000001a06e80e480"} 
[2026-09-05 03:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:50: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-09-05 03:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 03:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:50: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-09-05 03:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871368960001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871368960001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:50:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:50:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871368960001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":171225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:50:08] local.INFO: GPS data processed {"connection_id":171225,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:50:08] local.INFO: Acknowledgment sent {"connection_id":171225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:50:39] local.INFO: TCP Data received {"connection_id":171225,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e80e480012d34c9c006aa3d280010008024..."} 
[2026-09-05 03:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e80e480012d34c9c006aa3d280010008024..."} 
[2026-09-05 03:50:39] local.INFO: Processing buffer {"connection_id":171225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e80e480012d34c9c006aa3d280010008024..."} 
[2026-09-05 03:50:39] local.INFO: Packet analysis {"connection_id":171225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e80"} 
[2026-09-05 03:50:39] local.INFO: Extracted packet for processing {"connection_id":171225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e80"} 
[2026-09-05 03:50:39] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871368960001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788560336000,"timestamp_ms":1788560336000,"timestamp_seconds":1788560336,"priority":1,"record_length":96,"hex_timestamp":"000001a06e80e480"} 
[2026-09-05 03:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:50: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-09-05 03:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 03:50: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-09-05 03:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871368960001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871368960001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:50:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:50:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871368960001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":171225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:50:39] local.INFO: GPS data processed {"connection_id":171225,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:50:39] local.INFO: Acknowledgment sent {"connection_id":171225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:50:57] local.INFO: TCP Data received {"connection_id":171523,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:50:57] local.INFO: Processing buffer {"connection_id":171523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:50:57] local.INFO: IMEI packet received {"connection_id":171523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":171523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:51:02] local.INFO: TCP Data received {"connection_id":171523,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:51:02] local.INFO: Processing buffer {"connection_id":171523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:51:02] local.INFO: IMEI packet received {"connection_id":171523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":171523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:51:03] local.INFO: TCP Data received {"connection_id":171523,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e80e480012d34c9c006aa3d280010008024..."} 
[2026-09-05 03:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e80e480012d34c9c006aa3d280010008024..."} 
[2026-09-05 03:51:03] local.INFO: Processing buffer {"connection_id":171523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e80e480012d34c9c006aa3d280010008024..."} 
[2026-09-05 03:51:03] local.INFO: Packet analysis {"connection_id":171523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e80"} 
[2026-09-05 03:51:03] local.INFO: Extracted packet for processing {"connection_id":171523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e80"} 
[2026-09-05 03:51:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871368960001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788560336000,"timestamp_ms":1788560336000,"timestamp_seconds":1788560336,"priority":1,"record_length":96,"hex_timestamp":"000001a06e80e480"} 
[2026-09-05 03:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:51: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-09-05 03:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 03:51: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-09-05 03:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:51: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-09-05 03:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871368960001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871368960001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:51:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:51:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871368960001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":171523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:51:03] local.INFO: GPS data processed {"connection_id":171523,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:51:03] local.INFO: Acknowledgment sent {"connection_id":171523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:51:11] local.INFO: TCP Data received {"connection_id":173922,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173922,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:51:11] local.INFO: Processing buffer {"connection_id":173922,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:51:11] local.INFO: IMEI packet received {"connection_id":173922,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 03:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":173922,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:51:34] local.INFO: TCP Data received {"connection_id":171523,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e80e480012d34c9c006aa3d280010008024..."} 
[2026-09-05 03:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e80e480012d34c9c006aa3d280010008024..."} 
[2026-09-05 03:51:34] local.INFO: Processing buffer {"connection_id":171523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e80e480012d34c9c006aa3d280010008024..."} 
[2026-09-05 03:51:34] local.INFO: Packet analysis {"connection_id":171523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e80"} 
[2026-09-05 03:51:34] local.INFO: Extracted packet for processing {"connection_id":171523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e80"} 
[2026-09-05 03:51:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871368960001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788560336000,"timestamp_ms":1788560336000,"timestamp_seconds":1788560336,"priority":1,"record_length":96,"hex_timestamp":"000001a06e80e480"} 
[2026-09-05 03:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:51: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-09-05 03:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 03:51: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-09-05 03:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:51: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-09-05 03:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871368960001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871368960001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:51:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:51:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871368960001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":171523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:51:34] local.INFO: GPS data processed {"connection_id":171523,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:51:34] local.INFO: Acknowledgment sent {"connection_id":171523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:51:57] local.INFO: TCP Data received {"connection_id":172632,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:51:57] local.INFO: Processing buffer {"connection_id":172632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:51:57] local.INFO: IMEI packet received {"connection_id":172632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":172632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:52:02] local.INFO: TCP Data received {"connection_id":172632,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:52:02] local.INFO: Processing buffer {"connection_id":172632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:52:02] local.INFO: IMEI packet received {"connection_id":172632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":172632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:52:03] local.INFO: TCP Data received {"connection_id":172632,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e80e480012d34c9c006aa3d280010008024..."} 
[2026-09-05 03:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e80e480012d34c9c006aa3d280010008024..."} 
[2026-09-05 03:52:03] local.INFO: Processing buffer {"connection_id":172632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e80e480012d34c9c006aa3d280010008024..."} 
[2026-09-05 03:52:03] local.INFO: Packet analysis {"connection_id":172632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e80"} 
[2026-09-05 03:52:03] local.INFO: Extracted packet for processing {"connection_id":172632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e80"} 
[2026-09-05 03:52:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871368960001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788560336000,"timestamp_ms":1788560336000,"timestamp_seconds":1788560336,"priority":1,"record_length":96,"hex_timestamp":"000001a06e80e480"} 
[2026-09-05 03:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:52: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-09-05 03: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":31,"data_length":795,"current_offset":136} 
[2026-09-05 03:52: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-09-05 03: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-09-05 03:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:52: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-09-05 03:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871368960001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871368960001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:52:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:52:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871368960001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":172632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:52:03] local.INFO: GPS data processed {"connection_id":172632,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:52:03] local.INFO: Acknowledgment sent {"connection_id":172632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:52:35] local.INFO: TCP Data received {"connection_id":172632,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e80e480012d34c9c006aa3d280010008024..."} 
[2026-09-05 03:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e80e480012d34c9c006aa3d280010008024..."} 
[2026-09-05 03:52:35] local.INFO: Processing buffer {"connection_id":172632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e80e480012d34c9c006aa3d280010008024..."} 
[2026-09-05 03:52:35] local.INFO: Packet analysis {"connection_id":172632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e80"} 
[2026-09-05 03:52:35] local.INFO: Extracted packet for processing {"connection_id":172632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e80"} 
[2026-09-05 03:52:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871368960001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788560336000,"timestamp_ms":1788560336000,"timestamp_seconds":1788560336,"priority":1,"record_length":96,"hex_timestamp":"000001a06e80e480"} 
[2026-09-05 03:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:52:35] 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-09-05 03:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 03:52: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-09-05 03: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-09-05 03:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871368960001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871368960001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:52:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:52:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871368960001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":172632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:52:35] local.INFO: GPS data processed {"connection_id":172632,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:52:35] local.INFO: Acknowledgment sent {"connection_id":172632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:52:57] local.INFO: TCP Data received {"connection_id":171524,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:52:57] local.INFO: Processing buffer {"connection_id":171524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:52:57] local.INFO: IMEI packet received {"connection_id":171524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":171524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:53:02] local.INFO: TCP Data received {"connection_id":171524,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:53:02] local.INFO: Processing buffer {"connection_id":171524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:53:02] local.INFO: IMEI packet received {"connection_id":171524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":171524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:53:03] local.INFO: TCP Data received {"connection_id":171524,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e80e480012d34c9c006aa3d280010008024..."} 
[2026-09-05 03:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e80e480012d34c9c006aa3d280010008024..."} 
[2026-09-05 03:53:03] local.INFO: Processing buffer {"connection_id":171524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e80e480012d34c9c006aa3d280010008024..."} 
[2026-09-05 03:53:03] local.INFO: Packet analysis {"connection_id":171524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e80"} 
[2026-09-05 03:53:03] local.INFO: Extracted packet for processing {"connection_id":171524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e80"} 
[2026-09-05 03:53:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871368960001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788560336000,"timestamp_ms":1788560336000,"timestamp_seconds":1788560336,"priority":1,"record_length":96,"hex_timestamp":"000001a06e80e480"} 
[2026-09-05 03:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:53: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-09-05 03: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":31,"data_length":795,"current_offset":136} 
[2026-09-05 03:53: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-09-05 03: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-09-05 03:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:53: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-09-05 03:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871368960001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871368960001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:53:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:53:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871368960001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":171524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:53:03] local.INFO: GPS data processed {"connection_id":171524,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:53:03] local.INFO: Acknowledgment sent {"connection_id":171524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:53:34] local.INFO: TCP Data received {"connection_id":171524,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e80e480012d34c9c006aa3d280010008024..."} 
[2026-09-05 03:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e80e480012d34c9c006aa3d280010008024..."} 
[2026-09-05 03:53:34] local.INFO: Processing buffer {"connection_id":171524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e80e480012d34c9c006aa3d280010008024..."} 
[2026-09-05 03:53:34] local.INFO: Packet analysis {"connection_id":171524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e80"} 
[2026-09-05 03:53:34] local.INFO: Extracted packet for processing {"connection_id":171524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e80"} 
[2026-09-05 03:53:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871368960001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788560336000,"timestamp_ms":1788560336000,"timestamp_seconds":1788560336,"priority":1,"record_length":96,"hex_timestamp":"000001a06e80e480"} 
[2026-09-05 03:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:53: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-09-05 03:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 03:53: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-09-05 03: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-09-05 03:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:53: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-09-05 03:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871368960001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871368960001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:53:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:53:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871368960001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":171524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:53:34] local.INFO: GPS data processed {"connection_id":171524,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:53:34] local.INFO: Acknowledgment sent {"connection_id":171524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:53:57] local.INFO: TCP Data received {"connection_id":172633,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:53:57] local.INFO: Processing buffer {"connection_id":172633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:53:57] local.INFO: IMEI packet received {"connection_id":172633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":172633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:54:02] local.INFO: TCP Data received {"connection_id":172633,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:54:02] local.INFO: Processing buffer {"connection_id":172633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:54:02] local.INFO: IMEI packet received {"connection_id":172633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":172633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:54:03] local.INFO: TCP Data received {"connection_id":172633,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e80e480012d34c9c006aa3d280010008024..."} 
[2026-09-05 03:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e80e480012d34c9c006aa3d280010008024..."} 
[2026-09-05 03:54:03] local.INFO: Processing buffer {"connection_id":172633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e80e480012d34c9c006aa3d280010008024..."} 
[2026-09-05 03:54:03] local.INFO: Packet analysis {"connection_id":172633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e80"} 
[2026-09-05 03:54:03] local.INFO: Extracted packet for processing {"connection_id":172633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e80"} 
[2026-09-05 03:54:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871368960001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788560336000,"timestamp_ms":1788560336000,"timestamp_seconds":1788560336,"priority":1,"record_length":96,"hex_timestamp":"000001a06e80e480"} 
[2026-09-05 03:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:54: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-09-05 03: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-09-05 03: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-09-05 03: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-09-05 03:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03: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-09-05 03:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871368960001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871368960001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:54:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:54:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871368960001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":172633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:54:03] local.INFO: GPS data processed {"connection_id":172633,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:54:03] local.INFO: Acknowledgment sent {"connection_id":172633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:54:34] local.INFO: TCP Data received {"connection_id":172633,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e80e480012d34c9c006aa3d280010008024..."} 
[2026-09-05 03:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e80e480012d34c9c006aa3d280010008024..."} 
[2026-09-05 03:54:34] local.INFO: Processing buffer {"connection_id":172633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e80e480012d34c9c006aa3d280010008024..."} 
[2026-09-05 03:54:34] local.INFO: Packet analysis {"connection_id":172633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e80"} 
[2026-09-05 03:54:34] local.INFO: Extracted packet for processing {"connection_id":172633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e80"} 
[2026-09-05 03:54:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871368960001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788560336000,"timestamp_ms":1788560336000,"timestamp_seconds":1788560336,"priority":1,"record_length":96,"hex_timestamp":"000001a06e80e480"} 
[2026-09-05 03:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:54: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-09-05 03:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 03:54: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-09-05 03: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-09-05 03:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:54: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-09-05 03:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871368960001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871368960001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:54:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:54:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871368960001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":172633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:54:34] local.INFO: GPS data processed {"connection_id":172633,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:54:34] local.INFO: Acknowledgment sent {"connection_id":172633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:55:02] local.INFO: TCP Data received {"connection_id":171525,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:55:02] local.INFO: Processing buffer {"connection_id":171525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:55:02] local.INFO: IMEI packet received {"connection_id":171525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":171525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:55:07] local.INFO: TCP Data received {"connection_id":171525,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:55:07] local.INFO: Processing buffer {"connection_id":171525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:55:07] local.INFO: IMEI packet received {"connection_id":171525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":171525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:55:08] local.INFO: TCP Data received {"connection_id":171525,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e857c48012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e857c48012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:55:08] local.INFO: Processing buffer {"connection_id":171525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e857c48012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:55:08] local.INFO: Packet analysis {"connection_id":171525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e85"} 
[2026-09-05 03:55:08] local.INFO: Extracted packet for processing {"connection_id":171525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e85"} 
[2026-09-05 03:55:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871446016001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788560637000,"timestamp_ms":1788560637000,"timestamp_seconds":1788560637,"priority":1,"record_length":96,"hex_timestamp":"000001a06e857c48"} 
[2026-09-05 03:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:55: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-09-05 03:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 03:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 03:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:55: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-09-05 03:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871446016001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871446016001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:55:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:55:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871446016001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":171525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:55:08] local.INFO: GPS data processed {"connection_id":171525,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:55:08] local.INFO: Acknowledgment sent {"connection_id":171525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:55:13] local.INFO: TCP Data received {"connection_id":171525,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e857c48012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e857c48012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:55:13] local.INFO: Processing buffer {"connection_id":171525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e857c48012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:55:13] local.INFO: Packet analysis {"connection_id":171525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e85"} 
[2026-09-05 03:55:13] local.INFO: Extracted packet for processing {"connection_id":171525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e85"} 
[2026-09-05 03:55:13] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871446016001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788560637000,"timestamp_ms":1788560637000,"timestamp_seconds":1788560637,"priority":1,"record_length":96,"hex_timestamp":"000001a06e857c48"} 
[2026-09-05 03:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:55:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 03: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":31,"data_length":795,"current_offset":136} 
[2026-09-05 03:55:13] 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-09-05 03: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-09-05 03:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871446016001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871446016001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:55:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:55:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871446016001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":171525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:55:13] local.INFO: GPS data processed {"connection_id":171525,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:55:13] local.INFO: Acknowledgment sent {"connection_id":171525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:55:57] local.INFO: TCP Data received {"connection_id":172634,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:55:57] local.INFO: Processing buffer {"connection_id":172634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:55:57] local.INFO: IMEI packet received {"connection_id":172634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":172634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:56:02] local.INFO: TCP Data received {"connection_id":172634,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:56:02] local.INFO: Processing buffer {"connection_id":172634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:56:02] local.INFO: IMEI packet received {"connection_id":172634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":172634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:56:03] local.INFO: TCP Data received {"connection_id":172634,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e857c48012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e857c48012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:56:03] local.INFO: Processing buffer {"connection_id":172634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e857c48012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:56:03] local.INFO: Packet analysis {"connection_id":172634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e85"} 
[2026-09-05 03:56:03] local.INFO: Extracted packet for processing {"connection_id":172634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e85"} 
[2026-09-05 03:56:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871446016001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788560637000,"timestamp_ms":1788560637000,"timestamp_seconds":1788560637,"priority":1,"record_length":96,"hex_timestamp":"000001a06e857c48"} 
[2026-09-05 03:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:56: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-09-05 03:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 03:56: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-09-05 03:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:56: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-09-05 03:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871446016001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871446016001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:56:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:56:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871446016001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":172634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:56:03] local.INFO: GPS data processed {"connection_id":172634,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:56:03] local.INFO: Acknowledgment sent {"connection_id":172634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:56:22] local.INFO: TCP Data received {"connection_id":171226,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171226,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:56:22] local.INFO: Processing buffer {"connection_id":171226,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 03:56:22] local.INFO: IMEI packet received {"connection_id":171226,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 03:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":171226,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:56:34] local.INFO: TCP Data received {"connection_id":172634,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e857c48012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e857c48012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:56:34] local.INFO: Processing buffer {"connection_id":172634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e857c48012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:56:34] local.INFO: Packet analysis {"connection_id":172634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e85"} 
[2026-09-05 03:56:34] local.INFO: Extracted packet for processing {"connection_id":172634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e85"} 
[2026-09-05 03:56:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871446016001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788560637000,"timestamp_ms":1788560637000,"timestamp_seconds":1788560637,"priority":1,"record_length":96,"hex_timestamp":"000001a06e857c48"} 
[2026-09-05 03:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:56: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-09-05 03:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 03: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-09-05 03:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:56: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-09-05 03:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871446016001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871446016001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:56:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:56:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871446016001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":172634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:56:34] local.INFO: GPS data processed {"connection_id":172634,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:56:34] local.INFO: Acknowledgment sent {"connection_id":172634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:56:57] local.INFO: TCP Data received {"connection_id":171227,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:56:57] local.INFO: Processing buffer {"connection_id":171227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:56:57] local.INFO: IMEI packet received {"connection_id":171227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":171227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:57:02] local.INFO: TCP Data received {"connection_id":171227,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:57:02] local.INFO: Processing buffer {"connection_id":171227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:57:02] local.INFO: IMEI packet received {"connection_id":171227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":171227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:57:03] local.INFO: TCP Data received {"connection_id":171227,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e857c48012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e857c48012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:57:03] local.INFO: Processing buffer {"connection_id":171227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e857c48012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:57:03] local.INFO: Packet analysis {"connection_id":171227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e85"} 
[2026-09-05 03:57:03] local.INFO: Extracted packet for processing {"connection_id":171227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e85"} 
[2026-09-05 03:57:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871446016001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788560637000,"timestamp_ms":1788560637000,"timestamp_seconds":1788560637,"priority":1,"record_length":96,"hex_timestamp":"000001a06e857c48"} 
[2026-09-05 03:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:57: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-09-05 03:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 03: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-09-05 03:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03: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-09-05 03:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871446016001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871446016001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:57:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:57:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871446016001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":171227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:57:03] local.INFO: GPS data processed {"connection_id":171227,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:57:03] local.INFO: Acknowledgment sent {"connection_id":171227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:57:34] local.INFO: TCP Data received {"connection_id":171227,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e857c48012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e857c48012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:57:34] local.INFO: Processing buffer {"connection_id":171227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e857c48012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:57:34] local.INFO: Packet analysis {"connection_id":171227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e85"} 
[2026-09-05 03:57:34] local.INFO: Extracted packet for processing {"connection_id":171227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e85"} 
[2026-09-05 03:57:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871446016001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788560637000,"timestamp_ms":1788560637000,"timestamp_seconds":1788560637,"priority":1,"record_length":96,"hex_timestamp":"000001a06e857c48"} 
[2026-09-05 03:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:57: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-09-05 03:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 03: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-09-05 03:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:57: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-09-05 03:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871446016001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871446016001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:57:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:57:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871446016001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":171227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:57:34] local.INFO: GPS data processed {"connection_id":171227,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:57:34] local.INFO: Acknowledgment sent {"connection_id":171227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:57:57] local.INFO: TCP Data received {"connection_id":173923,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:57:58] local.INFO: Processing buffer {"connection_id":173923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:57:58] local.INFO: IMEI packet received {"connection_id":173923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":173923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:58:02] local.INFO: TCP Data received {"connection_id":173923,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:58:02] local.INFO: Processing buffer {"connection_id":173923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:58:02] local.INFO: IMEI packet received {"connection_id":173923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":173923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:58:03] local.INFO: TCP Data received {"connection_id":173923,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e857c48012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e857c48012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:58:03] local.INFO: Processing buffer {"connection_id":173923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e857c48012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:58:03] local.INFO: Packet analysis {"connection_id":173923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e85"} 
[2026-09-05 03:58:03] local.INFO: Extracted packet for processing {"connection_id":173923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e85"} 
[2026-09-05 03:58:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 03:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871446016001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788560637000,"timestamp_ms":1788560637000,"timestamp_seconds":1788560637,"priority":1,"record_length":96,"hex_timestamp":"000001a06e857c48"} 
[2026-09-05 03:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:58: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-09-05 03:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 03: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-09-05 03:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 03:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03: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-09-05 03:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871446016001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871446016001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:58:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:58:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871446016001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":173923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:58:03] local.INFO: GPS data processed {"connection_id":173923,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:58:03] local.INFO: Acknowledgment sent {"connection_id":173923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:58:35] local.INFO: TCP Data received {"connection_id":173923,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e857c48012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e857c48012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:58:35] local.INFO: Processing buffer {"connection_id":173923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e857c48012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:58:35] local.INFO: Packet analysis {"connection_id":173923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e85"} 
[2026-09-05 03:58:35] local.INFO: Extracted packet for processing {"connection_id":173923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e85"} 
[2026-09-05 03:58:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871446016001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788560637000,"timestamp_ms":1788560637000,"timestamp_seconds":1788560637,"priority":1,"record_length":96,"hex_timestamp":"000001a06e857c48"} 
[2026-09-05 03:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:58:35] 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-09-05 03: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-09-05 03: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-09-05 03: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-09-05 03:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 03:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871446016001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871446016001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:58:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:58:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871446016001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":173923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:58:35] local.INFO: GPS data processed {"connection_id":173923,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:58:35] local.INFO: Acknowledgment sent {"connection_id":173923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:58:57] local.INFO: TCP Data received {"connection_id":173924,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:58:57] local.INFO: Processing buffer {"connection_id":173924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:58:57] local.INFO: IMEI packet received {"connection_id":173924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 03:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":173924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 03:59:02] local.INFO: TCP Data received {"connection_id":173924,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:59:02] local.INFO: Processing buffer {"connection_id":173924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 03:59:02] local.INFO: IMEI packet received {"connection_id":173924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 03:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":173924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 03:59:03] local.INFO: TCP Data received {"connection_id":173924,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e857c48012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e857c48012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:59:03] local.INFO: Processing buffer {"connection_id":173924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e857c48012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:59:03] local.INFO: Packet analysis {"connection_id":173924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e85"} 
[2026-09-05 03:59:03] local.INFO: Extracted packet for processing {"connection_id":173924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e85"} 
[2026-09-05 03:59:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871446016001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788560637000,"timestamp_ms":1788560637000,"timestamp_seconds":1788560637,"priority":1,"record_length":96,"hex_timestamp":"000001a06e857c48"} 
[2026-09-05 03:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:59: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-09-05 03: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-09-05 03: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-09-05 03: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-09-05 03:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03: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-09-05 03:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871446016001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871446016001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:59:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:59:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871446016001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":173924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:59:03] local.INFO: GPS data processed {"connection_id":173924,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:59:03] local.INFO: Acknowledgment sent {"connection_id":173924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 03:59:34] local.INFO: TCP Data received {"connection_id":173924,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e857c48012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e857c48012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:59:34] local.INFO: Processing buffer {"connection_id":173924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e857c48012d34c9c006aa3d280017008024..."} 
[2026-09-05 03:59:34] local.INFO: Packet analysis {"connection_id":173924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e85"} 
[2026-09-05 03:59:34] local.INFO: Extracted packet for processing {"connection_id":173924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e85"} 
[2026-09-05 03:59:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 03: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-09-05 03:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871446016001,"note":"Value kept but may cause issues"} 
[2026-09-05 03:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 03:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 03:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 03:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788560637000,"timestamp_ms":1788560637000,"timestamp_seconds":1788560637,"priority":1,"record_length":96,"hex_timestamp":"000001a06e857c48"} 
[2026-09-05 03:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 03:59: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-09-05 03:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 03:59: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-09-05 03: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-09-05 03:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 03:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 03:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 03:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 03:59: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-09-05 03:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 03:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 03:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871446016001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 03:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 03:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 03:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871446016001,"description":"Unknown IO ID 0"} 
[2026-09-05 03:59:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 03:59:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 03:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 03:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 03:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871446016001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 03:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":173924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 03:59:34] local.INFO: GPS data processed {"connection_id":173924,"processed":1,"errors":0,"total":1} 
[2026-09-05 03:59:34] local.INFO: Acknowledgment sent {"connection_id":173924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:00:02] local.INFO: TCP Data received {"connection_id":171228,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:00:02] local.INFO: Processing buffer {"connection_id":171228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:00:02] local.INFO: IMEI packet received {"connection_id":171228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":171228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:00:08] local.INFO: TCP Data received {"connection_id":171228,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:00:08] local.INFO: Processing buffer {"connection_id":171228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:00:08] local.INFO: IMEI packet received {"connection_id":171228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":171228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:00:09] local.INFO: TCP Data received {"connection_id":171228,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e8a1410012d34c9c006aa3d280017008024..."} 
[2026-09-05 04:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e8a1410012d34c9c006aa3d280017008024..."} 
[2026-09-05 04:00:09] local.INFO: Processing buffer {"connection_id":171228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e8a1410012d34c9c006aa3d280017008024..."} 
[2026-09-05 04:00:09] local.INFO: Packet analysis {"connection_id":171228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e8a"} 
[2026-09-05 04:00:09] local.INFO: Extracted packet for processing {"connection_id":171228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e8a"} 
[2026-09-05 04:00:09] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871523072001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788560938000,"timestamp_ms":1788560938000,"timestamp_seconds":1788560938,"priority":1,"record_length":96,"hex_timestamp":"000001a06e8a1410"} 
[2026-09-05 04:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:00: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-09-05 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 04:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 04: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-09-05 04:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 04:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871523072001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871523072001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:00:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:00:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871523072001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":171228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:00:09] local.INFO: GPS data processed {"connection_id":171228,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:00:09] local.INFO: Acknowledgment sent {"connection_id":171228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:00:13] local.INFO: TCP Data received {"connection_id":171228,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e8a1410012d34c9c006aa3d280017008024..."} 
[2026-09-05 04:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e8a1410012d34c9c006aa3d280017008024..."} 
[2026-09-05 04:00:13] local.INFO: Processing buffer {"connection_id":171228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e8a1410012d34c9c006aa3d280017008024..."} 
[2026-09-05 04:00:13] local.INFO: Packet analysis {"connection_id":171228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e8a"} 
[2026-09-05 04:00:13] local.INFO: Extracted packet for processing {"connection_id":171228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e8a"} 
[2026-09-05 04:00:13] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871523072001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788560938000,"timestamp_ms":1788560938000,"timestamp_seconds":1788560938,"priority":1,"record_length":96,"hex_timestamp":"000001a06e8a1410"} 
[2026-09-05 04:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 04:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 04:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 04:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 04:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871523072001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871523072001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:00:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:00:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871523072001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":171228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:00:13] local.INFO: GPS data processed {"connection_id":171228,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:00:13] local.INFO: Acknowledgment sent {"connection_id":171228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:00:57] local.INFO: TCP Data received {"connection_id":173926,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:00:57] local.INFO: Processing buffer {"connection_id":173926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:00:57] local.INFO: IMEI packet received {"connection_id":173926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":173926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:01:02] local.INFO: TCP Data received {"connection_id":173926,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:01:02] local.INFO: Processing buffer {"connection_id":173926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:01:02] local.INFO: IMEI packet received {"connection_id":173926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":173926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:01:03] local.INFO: TCP Data received {"connection_id":173926,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e8a1410012d34c9c006aa3d280017008024..."} 
[2026-09-05 04:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e8a1410012d34c9c006aa3d280017008024..."} 
[2026-09-05 04:01:03] local.INFO: Processing buffer {"connection_id":173926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e8a1410012d34c9c006aa3d280017008024..."} 
[2026-09-05 04:01:03] local.INFO: Packet analysis {"connection_id":173926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e8a"} 
[2026-09-05 04:01:03] local.INFO: Extracted packet for processing {"connection_id":173926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e8a"} 
[2026-09-05 04:01:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871523072001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788560938000,"timestamp_ms":1788560938000,"timestamp_seconds":1788560938,"priority":1,"record_length":96,"hex_timestamp":"000001a06e8a1410"} 
[2026-09-05 04:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:01: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-09-05 04: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-09-05 04: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-09-05 04: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-09-05 04:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:01: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-09-05 04:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871523072001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871523072001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:01:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:01:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871523072001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":173926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:01:03] local.INFO: GPS data processed {"connection_id":173926,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:01:03] local.INFO: Acknowledgment sent {"connection_id":173926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:01:34] local.INFO: TCP Data received {"connection_id":173926,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e8a1410012d34c9c006aa3d280017008024..."} 
[2026-09-05 04:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e8a1410012d34c9c006aa3d280017008024..."} 
[2026-09-05 04:01:34] local.INFO: Processing buffer {"connection_id":173926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e8a1410012d34c9c006aa3d280017008024..."} 
[2026-09-05 04:01:34] local.INFO: Packet analysis {"connection_id":173926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e8a"} 
[2026-09-05 04:01:34] local.INFO: Extracted packet for processing {"connection_id":173926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e8a"} 
[2026-09-05 04:01:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871523072001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788560938000,"timestamp_ms":1788560938000,"timestamp_seconds":1788560938,"priority":1,"record_length":96,"hex_timestamp":"000001a06e8a1410"} 
[2026-09-05 04:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:01: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-09-05 04: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":255,"data_length":795,"current_offset":136} 
[2026-09-05 04:01: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-09-05 04: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-09-05 04:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:01: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-09-05 04:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871523072001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871523072001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:01:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:01:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871523072001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":173926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:01:34] local.INFO: GPS data processed {"connection_id":173926,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:01:34] local.INFO: Acknowledgment sent {"connection_id":173926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:01:53] local.INFO: TCP Data received {"connection_id":173925,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173925,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:01:53] local.INFO: Processing buffer {"connection_id":173925,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:01:53] local.INFO: IMEI packet received {"connection_id":173925,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 04:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":173925,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:01:57] local.INFO: TCP Data received {"connection_id":171526,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:01:57] local.INFO: Processing buffer {"connection_id":171526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:01:57] local.INFO: IMEI packet received {"connection_id":171526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":171526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:02:03] local.INFO: TCP Data received {"connection_id":171526,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:02:03] local.INFO: Processing buffer {"connection_id":171526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:02:03] local.INFO: IMEI packet received {"connection_id":171526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":171526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:02:04] local.INFO: TCP Data received {"connection_id":171526,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e8a1410012d34c9c006aa3d280017008024..."} 
[2026-09-05 04:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e8a1410012d34c9c006aa3d280017008024..."} 
[2026-09-05 04:02:05] local.INFO: Processing buffer {"connection_id":171526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e8a1410012d34c9c006aa3d280017008024..."} 
[2026-09-05 04:02:05] local.INFO: Packet analysis {"connection_id":171526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e8a"} 
[2026-09-05 04:02:05] local.INFO: Extracted packet for processing {"connection_id":171526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e8a"} 
[2026-09-05 04:02:05] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871523072001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788560938000,"timestamp_ms":1788560938000,"timestamp_seconds":1788560938,"priority":1,"record_length":96,"hex_timestamp":"000001a06e8a1410"} 
[2026-09-05 04:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:02: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-09-05 04:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 04:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 04: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-09-05 04:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:02: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-09-05 04:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871523072001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871523072001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:02:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:02:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871523072001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":171526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:02:05] local.INFO: GPS data processed {"connection_id":171526,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:02:05] local.INFO: Acknowledgment sent {"connection_id":171526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:02:35] local.INFO: TCP Data received {"connection_id":171526,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e8a1410012d34c9c006aa3d280017008024..."} 
[2026-09-05 04:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e8a1410012d34c9c006aa3d280017008024..."} 
[2026-09-05 04:02:35] local.INFO: Processing buffer {"connection_id":171526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e8a1410012d34c9c006aa3d280017008024..."} 
[2026-09-05 04:02:35] local.INFO: Packet analysis {"connection_id":171526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e8a"} 
[2026-09-05 04:02:35] local.INFO: Extracted packet for processing {"connection_id":171526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e8a"} 
[2026-09-05 04:02:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871523072001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788560938000,"timestamp_ms":1788560938000,"timestamp_seconds":1788560938,"priority":1,"record_length":96,"hex_timestamp":"000001a06e8a1410"} 
[2026-09-05 04:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:02:35] 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-09-05 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 04:02: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-09-05 04: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-09-05 04:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 04:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871523072001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871523072001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:02:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:02:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871523072001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":171526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:02:35] local.INFO: GPS data processed {"connection_id":171526,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:02:35] local.INFO: Acknowledgment sent {"connection_id":171526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:02:57] local.INFO: TCP Data received {"connection_id":171229,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:02:57] local.INFO: Processing buffer {"connection_id":171229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:02:57] local.INFO: IMEI packet received {"connection_id":171229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":171229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:03:02] local.INFO: TCP Data received {"connection_id":171229,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:03:02] local.INFO: Processing buffer {"connection_id":171229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:03:02] local.INFO: IMEI packet received {"connection_id":171229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":171229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:03:03] local.INFO: TCP Data received {"connection_id":171229,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e8a1410012d34c9c006aa3d280017008024..."} 
[2026-09-05 04:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e8a1410012d34c9c006aa3d280017008024..."} 
[2026-09-05 04:03:03] local.INFO: Processing buffer {"connection_id":171229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e8a1410012d34c9c006aa3d280017008024..."} 
[2026-09-05 04:03:03] local.INFO: Packet analysis {"connection_id":171229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e8a"} 
[2026-09-05 04:03:03] local.INFO: Extracted packet for processing {"connection_id":171229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e8a"} 
[2026-09-05 04:03:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871523072001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788560938000,"timestamp_ms":1788560938000,"timestamp_seconds":1788560938,"priority":1,"record_length":96,"hex_timestamp":"000001a06e8a1410"} 
[2026-09-05 04:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:03: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-09-05 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 04:03: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-09-05 04: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-09-05 04:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:03: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-09-05 04:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871523072001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871523072001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:03:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:03:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871523072001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":171229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:03:03] local.INFO: GPS data processed {"connection_id":171229,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:03:03] local.INFO: Acknowledgment sent {"connection_id":171229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:03:34] local.INFO: TCP Data received {"connection_id":171229,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e8a1410012d34c9c006aa3d280017008024..."} 
[2026-09-05 04:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e8a1410012d34c9c006aa3d280017008024..."} 
[2026-09-05 04:03:34] local.INFO: Processing buffer {"connection_id":171229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e8a1410012d34c9c006aa3d280017008024..."} 
[2026-09-05 04:03:34] local.INFO: Packet analysis {"connection_id":171229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e8a"} 
[2026-09-05 04:03:34] local.INFO: Extracted packet for processing {"connection_id":171229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e8a"} 
[2026-09-05 04:03:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871523072001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788560938000,"timestamp_ms":1788560938000,"timestamp_seconds":1788560938,"priority":1,"record_length":96,"hex_timestamp":"000001a06e8a1410"} 
[2026-09-05 04:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:03: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-09-05 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 04:03: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-09-05 04: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-09-05 04:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:03: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-09-05 04:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871523072001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871523072001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:03:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:03:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871523072001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":171229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:03:34] local.INFO: GPS data processed {"connection_id":171229,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:03:34] local.INFO: Acknowledgment sent {"connection_id":171229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:03:58] local.INFO: TCP Data received {"connection_id":171230,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:03:58] local.INFO: Processing buffer {"connection_id":171230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:03:58] local.INFO: IMEI packet received {"connection_id":171230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":171230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:04:06] local.INFO: TCP Data received {"connection_id":171230,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:04:06] local.INFO: Processing buffer {"connection_id":171230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:04:06] local.INFO: IMEI packet received {"connection_id":171230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":171230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:04:07] local.INFO: TCP Data received {"connection_id":171230,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e8a1410012d34c9c006aa3d280017008024..."} 
[2026-09-05 04:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e8a1410012d34c9c006aa3d280017008024..."} 
[2026-09-05 04:04:07] local.INFO: Processing buffer {"connection_id":171230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e8a1410012d34c9c006aa3d280017008024..."} 
[2026-09-05 04:04:07] local.INFO: Packet analysis {"connection_id":171230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e8a"} 
[2026-09-05 04:04:07] local.INFO: Extracted packet for processing {"connection_id":171230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e8a"} 
[2026-09-05 04:04:07] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871523072001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788560938000,"timestamp_ms":1788560938000,"timestamp_seconds":1788560938,"priority":1,"record_length":96,"hex_timestamp":"000001a06e8a1410"} 
[2026-09-05 04:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:04: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-09-05 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 04:04: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-09-05 04: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-09-05 04:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 04:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871523072001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871523072001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:04:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:04:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871523072001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":171230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:04:07] local.INFO: GPS data processed {"connection_id":171230,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:04:07] local.INFO: Acknowledgment sent {"connection_id":171230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:04:39] local.INFO: TCP Data received {"connection_id":171230,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e8eabd8012d34c9c006aa3d28000d008023..."} 
[2026-09-05 04:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e8eabd8012d34c9c006aa3d28000d008023..."} 
[2026-09-05 04:04:39] local.INFO: Processing buffer {"connection_id":171230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e8eabd8012d34c9c006aa3d28000d008023..."} 
[2026-09-05 04:04:39] local.INFO: Packet analysis {"connection_id":171230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e8e"} 
[2026-09-05 04:04:39] local.INFO: Extracted packet for processing {"connection_id":171230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e8e"} 
[2026-09-05 04:04:39] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":13,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871600128001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788561239000,"timestamp_ms":1788561239000,"timestamp_seconds":1788561239,"priority":1,"record_length":96,"hex_timestamp":"000001a06e8eabd8"} 
[2026-09-05 04:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:04: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-09-05 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 04:04: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-09-05 04: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-09-05 04:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 04:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871600128001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871600128001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:04:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:04:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871600128001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":171230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:04:39] local.INFO: GPS data processed {"connection_id":171230,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:04:39] local.INFO: Acknowledgment sent {"connection_id":171230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:04:57] local.INFO: TCP Data received {"connection_id":172635,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:04:57] local.INFO: Processing buffer {"connection_id":172635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:04:57] local.INFO: IMEI packet received {"connection_id":172635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":172635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:05:02] local.INFO: TCP Data received {"connection_id":172635,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:05:02] local.INFO: Processing buffer {"connection_id":172635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:05:02] local.INFO: IMEI packet received {"connection_id":172635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":172635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:05:03] local.INFO: TCP Data received {"connection_id":172635,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e8eabd8012d34c9c006aa3d28000d008023..."} 
[2026-09-05 04:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e8eabd8012d34c9c006aa3d28000d008023..."} 
[2026-09-05 04:05:03] local.INFO: Processing buffer {"connection_id":172635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e8eabd8012d34c9c006aa3d28000d008023..."} 
[2026-09-05 04:05:03] local.INFO: Packet analysis {"connection_id":172635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e8e"} 
[2026-09-05 04:05:03] local.INFO: Extracted packet for processing {"connection_id":172635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e8e"} 
[2026-09-05 04:05:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":13,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871600128001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788561239000,"timestamp_ms":1788561239000,"timestamp_seconds":1788561239,"priority":1,"record_length":96,"hex_timestamp":"000001a06e8eabd8"} 
[2026-09-05 04:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:05: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-09-05 04: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-09-05 04: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-09-05 04: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-09-05 04:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:05: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-09-05 04:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871600128001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871600128001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:05:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:05:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871600128001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":172635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:05:03] local.INFO: GPS data processed {"connection_id":172635,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:05:03] local.INFO: Acknowledgment sent {"connection_id":172635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:05:34] local.INFO: TCP Data received {"connection_id":172635,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e8eabd8012d34c9c006aa3d28000d008023..."} 
[2026-09-05 04:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e8eabd8012d34c9c006aa3d28000d008023..."} 
[2026-09-05 04:05:34] local.INFO: Processing buffer {"connection_id":172635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e8eabd8012d34c9c006aa3d28000d008023..."} 
[2026-09-05 04:05:34] local.INFO: Packet analysis {"connection_id":172635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e8e"} 
[2026-09-05 04:05:34] local.INFO: Extracted packet for processing {"connection_id":172635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e8e"} 
[2026-09-05 04:05:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":13,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871600128001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788561239000,"timestamp_ms":1788561239000,"timestamp_seconds":1788561239,"priority":1,"record_length":96,"hex_timestamp":"000001a06e8eabd8"} 
[2026-09-05 04:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:05: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-09-05 04: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":255,"data_length":795,"current_offset":136} 
[2026-09-05 04:05: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-09-05 04: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-09-05 04:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:05: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-09-05 04:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871600128001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871600128001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:05:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:05:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871600128001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":172635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:05:34] local.INFO: GPS data processed {"connection_id":172635,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:05:34] local.INFO: Acknowledgment sent {"connection_id":172635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:05:57] local.INFO: TCP Data received {"connection_id":171528,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:05:57] local.INFO: Processing buffer {"connection_id":171528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:05:57] local.INFO: IMEI packet received {"connection_id":171528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":171528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:06:02] local.INFO: TCP Data received {"connection_id":171528,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:06:02] local.INFO: Processing buffer {"connection_id":171528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:06:02] local.INFO: IMEI packet received {"connection_id":171528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":171528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:06:04] local.INFO: TCP Data received {"connection_id":171528,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e8eabd8012d34c9c006aa3d28000d008023..."} 
[2026-09-05 04:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e8eabd8012d34c9c006aa3d28000d008023..."} 
[2026-09-05 04:06:04] local.INFO: Processing buffer {"connection_id":171528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e8eabd8012d34c9c006aa3d28000d008023..."} 
[2026-09-05 04:06:04] local.INFO: Packet analysis {"connection_id":171528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e8e"} 
[2026-09-05 04:06:04] local.INFO: Extracted packet for processing {"connection_id":171528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e8e"} 
[2026-09-05 04:06:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":13,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 04:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871600128001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788561239000,"timestamp_ms":1788561239000,"timestamp_seconds":1788561239,"priority":1,"record_length":96,"hex_timestamp":"000001a06e8eabd8"} 
[2026-09-05 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-09-05 04:06: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-09-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 04: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-09-05 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-09-05 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-09-05 04:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04: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-09-05 04:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871600128001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871600128001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:06:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:06:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871600128001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":171528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:06:04] local.INFO: GPS data processed {"connection_id":171528,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:06:04] local.INFO: Acknowledgment sent {"connection_id":171528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:06:35] local.INFO: TCP Data received {"connection_id":171528,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e8eabd8012d34c9c006aa3d28000d008023..."} 
[2026-09-05 04:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e8eabd8012d34c9c006aa3d28000d008023..."} 
[2026-09-05 04:06:35] local.INFO: Processing buffer {"connection_id":171528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e8eabd8012d34c9c006aa3d28000d008023..."} 
[2026-09-05 04:06:35] local.INFO: Packet analysis {"connection_id":171528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e8e"} 
[2026-09-05 04:06:35] local.INFO: Extracted packet for processing {"connection_id":171528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e8e"} 
[2026-09-05 04:06:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":13,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871600128001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788561239000,"timestamp_ms":1788561239000,"timestamp_seconds":1788561239,"priority":1,"record_length":96,"hex_timestamp":"000001a06e8eabd8"} 
[2026-09-05 04:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:06:35] 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-09-05 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 04:06: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-09-05 04: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-09-05 04:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 04:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871600128001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871600128001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:06:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:06:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871600128001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":171528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:06:35] local.INFO: GPS data processed {"connection_id":171528,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:06:35] local.INFO: Acknowledgment sent {"connection_id":171528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:07:02] local.INFO: TCP Data received {"connection_id":173927,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:07:02] local.INFO: Processing buffer {"connection_id":173927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:07:02] local.INFO: IMEI packet received {"connection_id":173927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":173927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:07:07] local.INFO: TCP Data received {"connection_id":173927,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:07:07] local.INFO: Processing buffer {"connection_id":173927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:07:07] local.INFO: IMEI packet received {"connection_id":173927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":173927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:07:08] local.INFO: TCP Data received {"connection_id":173927,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e8eabd8012d34c9c006aa3d28000d008023..."} 
[2026-09-05 04:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e8eabd8012d34c9c006aa3d28000d008023..."} 
[2026-09-05 04:07:08] local.INFO: Processing buffer {"connection_id":173927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e8eabd8012d34c9c006aa3d28000d008023..."} 
[2026-09-05 04:07:08] local.INFO: Packet analysis {"connection_id":173927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e8e"} 
[2026-09-05 04:07:08] local.INFO: Extracted packet for processing {"connection_id":173927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e8e"} 
[2026-09-05 04:07:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":13,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871600128001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788561239000,"timestamp_ms":1788561239000,"timestamp_seconds":1788561239,"priority":1,"record_length":96,"hex_timestamp":"000001a06e8eabd8"} 
[2026-09-05 04:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:07: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-09-05 04:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 04:07: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-09-05 04:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:07: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-09-05 04:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871600128001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871600128001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:07:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:07:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871600128001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":173927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:07:08] local.INFO: GPS data processed {"connection_id":173927,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:07:08] local.INFO: Acknowledgment sent {"connection_id":173927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:07:13] local.INFO: TCP Data received {"connection_id":173927,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e8eabd8012d34c9c006aa3d28000d008023..."} 
[2026-09-05 04:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e8eabd8012d34c9c006aa3d28000d008023..."} 
[2026-09-05 04:07:13] local.INFO: Processing buffer {"connection_id":173927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e8eabd8012d34c9c006aa3d28000d008023..."} 
[2026-09-05 04:07:13] local.INFO: Packet analysis {"connection_id":173927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e8e"} 
[2026-09-05 04:07:13] local.INFO: Extracted packet for processing {"connection_id":173927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e8e"} 
[2026-09-05 04:07:13] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":13,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871600128001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788561239000,"timestamp_ms":1788561239000,"timestamp_seconds":1788561239,"priority":1,"record_length":96,"hex_timestamp":"000001a06e8eabd8"} 
[2026-09-05 04:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 04:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 04:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 04:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":173927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":173927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":173927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 04:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871600128001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871600128001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:07:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:07:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871600128001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":173927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:07:13] local.INFO: GPS data processed {"connection_id":173927,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:07:13] local.INFO: Acknowledgment sent {"connection_id":173927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:07:57] local.INFO: TCP Data received {"connection_id":171231,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:07:57] local.INFO: Processing buffer {"connection_id":171231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:07:57] local.INFO: IMEI packet received {"connection_id":171231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":171231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:08:03] local.INFO: TCP Data received {"connection_id":171231,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:08:03] local.INFO: Processing buffer {"connection_id":171231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:08:03] local.INFO: IMEI packet received {"connection_id":171231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":171231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:08:04] local.INFO: TCP Data received {"connection_id":171231,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e8eabd8012d34c9c006aa3d28000d008023..."} 
[2026-09-05 04:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e8eabd8012d34c9c006aa3d28000d008023..."} 
[2026-09-05 04:08:04] local.INFO: Processing buffer {"connection_id":171231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e8eabd8012d34c9c006aa3d28000d008023..."} 
[2026-09-05 04:08:04] local.INFO: Packet analysis {"connection_id":171231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e8e"} 
[2026-09-05 04:08:04] local.INFO: Extracted packet for processing {"connection_id":171231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e8e"} 
[2026-09-05 04:08:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":13,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 04:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871600128001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788561239000,"timestamp_ms":1788561239000,"timestamp_seconds":1788561239,"priority":1,"record_length":96,"hex_timestamp":"000001a06e8eabd8"} 
[2026-09-05 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-09-05 04:08: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-09-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 04: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-09-05 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-09-05 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-09-05 04:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:08: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-09-05 04:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871600128001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871600128001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:08:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:08:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871600128001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":171231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:08:04] local.INFO: GPS data processed {"connection_id":171231,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:08:04] local.INFO: Acknowledgment sent {"connection_id":171231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:08:31] local.INFO: TCP Data received {"connection_id":171232,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171232,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:08:31] local.INFO: Processing buffer {"connection_id":171232,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:08:31] local.INFO: IMEI packet received {"connection_id":171232,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 04:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":171232,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:08:35] local.INFO: TCP Data received {"connection_id":171231,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e8eabd8012d34c9c006aa3d28000d008023..."} 
[2026-09-05 04:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e8eabd8012d34c9c006aa3d28000d008023..."} 
[2026-09-05 04:08:35] local.INFO: Processing buffer {"connection_id":171231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e8eabd8012d34c9c006aa3d28000d008023..."} 
[2026-09-05 04:08:35] local.INFO: Packet analysis {"connection_id":171231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e8e"} 
[2026-09-05 04:08:35] local.INFO: Extracted packet for processing {"connection_id":171231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e8e"} 
[2026-09-05 04:08:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":13,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871600128001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788561239000,"timestamp_ms":1788561239000,"timestamp_seconds":1788561239,"priority":1,"record_length":96,"hex_timestamp":"000001a06e8eabd8"} 
[2026-09-05 04:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:08:35] 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-09-05 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 04:08: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-09-05 04: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-09-05 04:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 04:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871600128001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871600128001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:08:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:08:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871600128001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":171231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:08:35] local.INFO: GPS data processed {"connection_id":171231,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:08:35] local.INFO: Acknowledgment sent {"connection_id":171231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:08:57] local.INFO: TCP Data received {"connection_id":172636,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:08:57] local.INFO: Processing buffer {"connection_id":172636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:08:57] local.INFO: IMEI packet received {"connection_id":172636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":172636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:09:02] local.INFO: TCP Data received {"connection_id":172636,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:09:02] local.INFO: Processing buffer {"connection_id":172636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:09:02] local.INFO: IMEI packet received {"connection_id":172636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":172636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:09:03] local.INFO: TCP Data received {"connection_id":172636,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e8eabd8012d34c9c006aa3d28000d008023..."} 
[2026-09-05 04:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e8eabd8012d34c9c006aa3d28000d008023..."} 
[2026-09-05 04:09:03] local.INFO: Processing buffer {"connection_id":172636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e8eabd8012d34c9c006aa3d28000d008023..."} 
[2026-09-05 04:09:03] local.INFO: Packet analysis {"connection_id":172636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e8e"} 
[2026-09-05 04:09:03] local.INFO: Extracted packet for processing {"connection_id":172636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e8e"} 
[2026-09-05 04:09:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":13,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871600128001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788561239000,"timestamp_ms":1788561239000,"timestamp_seconds":1788561239,"priority":1,"record_length":96,"hex_timestamp":"000001a06e8eabd8"} 
[2026-09-05 04:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:09: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-09-05 04:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 04: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-09-05 04:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04: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-09-05 04:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871600128001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871600128001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:09:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:09:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871600128001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":172636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:09:03] local.INFO: GPS data processed {"connection_id":172636,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:09:03] local.INFO: Acknowledgment sent {"connection_id":172636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:09:34] local.INFO: TCP Data received {"connection_id":172636,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e8eabd8012d34c9c006aa3d28000d008023..."} 
[2026-09-05 04:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e8eabd8012d34c9c006aa3d28000d008023..."} 
[2026-09-05 04:09:34] local.INFO: Processing buffer {"connection_id":172636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e8eabd8012d34c9c006aa3d28000d008023..."} 
[2026-09-05 04:09:34] local.INFO: Packet analysis {"connection_id":172636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e8e"} 
[2026-09-05 04:09:34] local.INFO: Extracted packet for processing {"connection_id":172636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e8e"} 
[2026-09-05 04:09:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":13,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871600128001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788561239000,"timestamp_ms":1788561239000,"timestamp_seconds":1788561239,"priority":1,"record_length":96,"hex_timestamp":"000001a06e8eabd8"} 
[2026-09-05 04:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:09: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-09-05 04: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":255,"data_length":795,"current_offset":136} 
[2026-09-05 04:09: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-09-05 04: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-09-05 04:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:09: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-09-05 04:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871600128001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871600128001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:09:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:09:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871600128001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":172636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:09:35] local.INFO: GPS data processed {"connection_id":172636,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:09:35] local.INFO: Acknowledgment sent {"connection_id":172636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:09:57] local.INFO: TCP Data received {"connection_id":172637,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:09:57] local.INFO: Processing buffer {"connection_id":172637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:09:57] local.INFO: IMEI packet received {"connection_id":172637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":172637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:10:03] local.INFO: TCP Data received {"connection_id":172637,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:10:03] local.INFO: Processing buffer {"connection_id":172637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:10:03] local.INFO: IMEI packet received {"connection_id":172637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":172637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:10:04] local.INFO: TCP Data received {"connection_id":172637,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e9343a0012d34c9c006aa3d28000d008020..."} 
[2026-09-05 04:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e9343a0012d34c9c006aa3d28000d008020..."} 
[2026-09-05 04:10:04] local.INFO: Processing buffer {"connection_id":172637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e9343a0012d34c9c006aa3d28000d008020..."} 
[2026-09-05 04:10:04] local.INFO: Packet analysis {"connection_id":172637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e93"} 
[2026-09-05 04:10:04] local.INFO: Extracted packet for processing {"connection_id":172637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e93"} 
[2026-09-05 04:10:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":13,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 04:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871677184001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788561540000,"timestamp_ms":1788561540000,"timestamp_seconds":1788561540,"priority":1,"record_length":96,"hex_timestamp":"000001a06e9343a0"} 
[2026-09-05 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-09-05 04:10: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-09-05 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:10: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-09-05 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-09-05 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-09-05 04:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:10: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-09-05 04:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871677184001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871677184001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:10:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:10:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871677184001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":172637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:10:04] local.INFO: GPS data processed {"connection_id":172637,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:10:04] local.INFO: Acknowledgment sent {"connection_id":172637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:10:35] local.INFO: TCP Data received {"connection_id":172637,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e9343a0012d34c9c006aa3d28000d008020..."} 
[2026-09-05 04:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e9343a0012d34c9c006aa3d28000d008020..."} 
[2026-09-05 04:10:35] local.INFO: Processing buffer {"connection_id":172637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e9343a0012d34c9c006aa3d28000d008020..."} 
[2026-09-05 04:10:35] local.INFO: Packet analysis {"connection_id":172637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e93"} 
[2026-09-05 04:10:35] local.INFO: Extracted packet for processing {"connection_id":172637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e93"} 
[2026-09-05 04:10:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":13,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871677184001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788561540000,"timestamp_ms":1788561540000,"timestamp_seconds":1788561540,"priority":1,"record_length":96,"hex_timestamp":"000001a06e9343a0"} 
[2026-09-05 04:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:10:35] 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-09-05 04:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:10: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-09-05 04: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-09-05 04:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 04:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871677184001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871677184001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:10:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:10:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871677184001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":172637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:10:35] local.INFO: GPS data processed {"connection_id":172637,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:10:35] local.INFO: Acknowledgment sent {"connection_id":172637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:10:57] local.INFO: TCP Data received {"connection_id":171233,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:10:57] local.INFO: Processing buffer {"connection_id":171233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:10:57] local.INFO: IMEI packet received {"connection_id":171233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":171233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:11:02] local.INFO: TCP Data received {"connection_id":171233,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:11:02] local.INFO: Processing buffer {"connection_id":171233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:11:02] local.INFO: IMEI packet received {"connection_id":171233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":171233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:11:03] local.INFO: TCP Data received {"connection_id":171233,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e9343a0012d34c9c006aa3d28000d008020..."} 
[2026-09-05 04:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e9343a0012d34c9c006aa3d28000d008020..."} 
[2026-09-05 04:11:03] local.INFO: Processing buffer {"connection_id":171233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e9343a0012d34c9c006aa3d28000d008020..."} 
[2026-09-05 04:11:03] local.INFO: Packet analysis {"connection_id":171233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e93"} 
[2026-09-05 04:11:03] local.INFO: Extracted packet for processing {"connection_id":171233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e93"} 
[2026-09-05 04:11:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":13,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871677184001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788561540000,"timestamp_ms":1788561540000,"timestamp_seconds":1788561540,"priority":1,"record_length":96,"hex_timestamp":"000001a06e9343a0"} 
[2026-09-05 04:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:11: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-09-05 04:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:11: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-09-05 04:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:11: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-09-05 04:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871677184001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871677184001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:11:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:11:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871677184001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":171233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:11:03] local.INFO: GPS data processed {"connection_id":171233,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:11:03] local.INFO: Acknowledgment sent {"connection_id":171233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:11:34] local.INFO: TCP Data received {"connection_id":171233,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e9343a0012d34c9c006aa3d28000d008020..."} 
[2026-09-05 04:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e9343a0012d34c9c006aa3d28000d008020..."} 
[2026-09-05 04:11:34] local.INFO: Processing buffer {"connection_id":171233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e9343a0012d34c9c006aa3d28000d008020..."} 
[2026-09-05 04:11:34] local.INFO: Packet analysis {"connection_id":171233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e93"} 
[2026-09-05 04:11:34] local.INFO: Extracted packet for processing {"connection_id":171233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e93"} 
[2026-09-05 04:11:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":13,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871677184001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788561540000,"timestamp_ms":1788561540000,"timestamp_seconds":1788561540,"priority":1,"record_length":96,"hex_timestamp":"000001a06e9343a0"} 
[2026-09-05 04:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:11: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-09-05 04:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:11: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-09-05 04:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:11: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-09-05 04:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871677184001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871677184001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:11:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:11:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871677184001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":171233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:11:34] local.INFO: GPS data processed {"connection_id":171233,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:11:34] local.INFO: Acknowledgment sent {"connection_id":171233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:11:57] local.INFO: TCP Data received {"connection_id":171529,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:11:57] local.INFO: Processing buffer {"connection_id":171529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:11:57] local.INFO: IMEI packet received {"connection_id":171529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":171529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:12:02] local.INFO: TCP Data received {"connection_id":171529,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:12:02] local.INFO: Processing buffer {"connection_id":171529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:12:02] local.INFO: IMEI packet received {"connection_id":171529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":171529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:12:03] local.INFO: TCP Data received {"connection_id":171529,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e9343a0012d34c9c006aa3d28000d008020..."} 
[2026-09-05 04:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e9343a0012d34c9c006aa3d28000d008020..."} 
[2026-09-05 04:12:03] local.INFO: Processing buffer {"connection_id":171529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e9343a0012d34c9c006aa3d28000d008020..."} 
[2026-09-05 04:12:03] local.INFO: Packet analysis {"connection_id":171529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e93"} 
[2026-09-05 04:12:03] local.INFO: Extracted packet for processing {"connection_id":171529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e93"} 
[2026-09-05 04:12:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":13,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871677184001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788561540000,"timestamp_ms":1788561540000,"timestamp_seconds":1788561540,"priority":1,"record_length":96,"hex_timestamp":"000001a06e9343a0"} 
[2026-09-05 04:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:12: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-09-05 04: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":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:12: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-09-05 04: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-09-05 04:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04: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-09-05 04:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871677184001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871677184001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:12:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:12:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871677184001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":171529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:12:03] local.INFO: GPS data processed {"connection_id":171529,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:12:03] local.INFO: Acknowledgment sent {"connection_id":171529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:12:34] local.INFO: TCP Data received {"connection_id":171529,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e9343a0012d34c9c006aa3d28000d008020..."} 
[2026-09-05 04:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e9343a0012d34c9c006aa3d28000d008020..."} 
[2026-09-05 04:12:34] local.INFO: Processing buffer {"connection_id":171529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e9343a0012d34c9c006aa3d28000d008020..."} 
[2026-09-05 04:12:34] local.INFO: Packet analysis {"connection_id":171529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e93"} 
[2026-09-05 04:12:34] local.INFO: Extracted packet for processing {"connection_id":171529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e93"} 
[2026-09-05 04:12:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":13,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871677184001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788561540000,"timestamp_ms":1788561540000,"timestamp_seconds":1788561540,"priority":1,"record_length":96,"hex_timestamp":"000001a06e9343a0"} 
[2026-09-05 04:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:12: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-09-05 04:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:12: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-09-05 04: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-09-05 04:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:12: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-09-05 04:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871677184001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871677184001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:12:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:12:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871677184001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":171529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:12:34] local.INFO: GPS data processed {"connection_id":171529,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:12:34] local.INFO: Acknowledgment sent {"connection_id":171529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:13:02] local.INFO: TCP Data received {"connection_id":171530,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:13:02] local.INFO: Processing buffer {"connection_id":171530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:13:02] local.INFO: IMEI packet received {"connection_id":171530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":171530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:13:07] local.INFO: TCP Data received {"connection_id":171530,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:13:07] local.INFO: Processing buffer {"connection_id":171530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:13:07] local.INFO: IMEI packet received {"connection_id":171530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":171530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:13:08] local.INFO: TCP Data received {"connection_id":171530,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e9343a0012d34c9c006aa3d28000d008020..."} 
[2026-09-05 04:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e9343a0012d34c9c006aa3d28000d008020..."} 
[2026-09-05 04:13:08] local.INFO: Processing buffer {"connection_id":171530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e9343a0012d34c9c006aa3d28000d008020..."} 
[2026-09-05 04:13:08] local.INFO: Packet analysis {"connection_id":171530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e93"} 
[2026-09-05 04:13:08] local.INFO: Extracted packet for processing {"connection_id":171530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e93"} 
[2026-09-05 04:13:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":13,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871677184001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788561540000,"timestamp_ms":1788561540000,"timestamp_seconds":1788561540,"priority":1,"record_length":96,"hex_timestamp":"000001a06e9343a0"} 
[2026-09-05 04:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:13: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-09-05 04:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 04:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:13: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-09-05 04:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871677184001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871677184001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:13:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:13:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871677184001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":171530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:13:08] local.INFO: GPS data processed {"connection_id":171530,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:13:08] local.INFO: Acknowledgment sent {"connection_id":171530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:13:39] local.INFO: TCP Data received {"connection_id":171530,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e9343a0012d34c9c006aa3d28000d008020..."} 
[2026-09-05 04:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e9343a0012d34c9c006aa3d28000d008020..."} 
[2026-09-05 04:13:39] local.INFO: Processing buffer {"connection_id":171530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e9343a0012d34c9c006aa3d28000d008020..."} 
[2026-09-05 04:13:39] local.INFO: Packet analysis {"connection_id":171530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e93"} 
[2026-09-05 04:13:39] local.INFO: Extracted packet for processing {"connection_id":171530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e93"} 
[2026-09-05 04:13:39] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":13,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871677184001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788561540000,"timestamp_ms":1788561540000,"timestamp_seconds":1788561540,"priority":1,"record_length":96,"hex_timestamp":"000001a06e9343a0"} 
[2026-09-05 04:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:13: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-09-05 04: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:13: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-09-05 04: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-09-05 04:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 04:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871677184001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871677184001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:13:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:13:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871677184001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":171530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:13:39] local.INFO: GPS data processed {"connection_id":171530,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:13:39] local.INFO: Acknowledgment sent {"connection_id":171530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:13:58] local.INFO: TCP Data received {"connection_id":172638,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:13:58] local.INFO: Processing buffer {"connection_id":172638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:13:58] local.INFO: IMEI packet received {"connection_id":172638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":172638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:14:01] local.INFO: TCP Data received {"connection_id":173928,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173928,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:14:01] local.INFO: Processing buffer {"connection_id":173928,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:14:01] local.INFO: IMEI packet received {"connection_id":173928,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 04:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":173928,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:14:02] local.INFO: TCP Data received {"connection_id":172638,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:14:02] local.INFO: Processing buffer {"connection_id":172638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:14:02] local.INFO: IMEI packet received {"connection_id":172638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":172638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:14:03] local.INFO: TCP Data received {"connection_id":172638,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e9343a0012d34c9c006aa3d28000d008020..."} 
[2026-09-05 04:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e9343a0012d34c9c006aa3d28000d008020..."} 
[2026-09-05 04:14:03] local.INFO: Processing buffer {"connection_id":172638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e9343a0012d34c9c006aa3d28000d008020..."} 
[2026-09-05 04:14:03] local.INFO: Packet analysis {"connection_id":172638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e93"} 
[2026-09-05 04:14:03] local.INFO: Extracted packet for processing {"connection_id":172638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e93"} 
[2026-09-05 04:14:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":13,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871677184001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788561540000,"timestamp_ms":1788561540000,"timestamp_seconds":1788561540,"priority":1,"record_length":96,"hex_timestamp":"000001a06e9343a0"} 
[2026-09-05 04:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:14: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-09-05 04:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:14: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-09-05 04:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:14: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-09-05 04:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871677184001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871677184001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:14:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:14:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871677184001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":172638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:14:03] local.INFO: GPS data processed {"connection_id":172638,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:14:03] local.INFO: Acknowledgment sent {"connection_id":172638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:14:34] local.INFO: TCP Data received {"connection_id":172638,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e9343a0012d34c9c006aa3d28000d008020..."} 
[2026-09-05 04:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e9343a0012d34c9c006aa3d28000d008020..."} 
[2026-09-05 04:14:34] local.INFO: Processing buffer {"connection_id":172638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e9343a0012d34c9c006aa3d28000d008020..."} 
[2026-09-05 04:14:34] local.INFO: Packet analysis {"connection_id":172638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e93"} 
[2026-09-05 04:14:34] local.INFO: Extracted packet for processing {"connection_id":172638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e93"} 
[2026-09-05 04:14:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":13,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 04:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871677184001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788561540000,"timestamp_ms":1788561540000,"timestamp_seconds":1788561540,"priority":1,"record_length":96,"hex_timestamp":"000001a06e9343a0"} 
[2026-09-05 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-09-05 04:14: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-09-05 04:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:14: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-09-05 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-09-05 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-09-05 04:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:14: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-09-05 04:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871677184001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871677184001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:14:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:14:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871677184001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":172638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:14:34] local.INFO: GPS data processed {"connection_id":172638,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:14:34] local.INFO: Acknowledgment sent {"connection_id":172638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:14:57] local.INFO: TCP Data received {"connection_id":171531,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:14:57] local.INFO: Processing buffer {"connection_id":171531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:14:57] local.INFO: IMEI packet received {"connection_id":171531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":171531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:15:02] local.INFO: TCP Data received {"connection_id":171531,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:15:02] local.INFO: Processing buffer {"connection_id":171531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:15:02] local.INFO: IMEI packet received {"connection_id":171531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":171531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:15:03] local.INFO: TCP Data received {"connection_id":171531,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e97db68012d34c9c006aa3d280018008024..."} 
[2026-09-05 04:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e97db68012d34c9c006aa3d280018008024..."} 
[2026-09-05 04:15:03] local.INFO: Processing buffer {"connection_id":171531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e97db68012d34c9c006aa3d280018008024..."} 
[2026-09-05 04:15:03] local.INFO: Packet analysis {"connection_id":171531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e97"} 
[2026-09-05 04:15:03] local.INFO: Extracted packet for processing {"connection_id":171531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e97"} 
[2026-09-05 04:15:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":24,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871754240001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788561841000,"timestamp_ms":1788561841000,"timestamp_seconds":1788561841,"priority":1,"record_length":96,"hex_timestamp":"000001a06e97db68"} 
[2026-09-05 04:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:15: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-09-05 04:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:15: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-09-05 04:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:15: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-09-05 04:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871754240001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871754240001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:15:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:15:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871754240001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":171531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:15:03] local.INFO: GPS data processed {"connection_id":171531,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:15:03] local.INFO: Acknowledgment sent {"connection_id":171531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:15:34] local.INFO: TCP Data received {"connection_id":171531,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e97db68012d34c9c006aa3d280018008024..."} 
[2026-09-05 04:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e97db68012d34c9c006aa3d280018008024..."} 
[2026-09-05 04:15:34] local.INFO: Processing buffer {"connection_id":171531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e97db68012d34c9c006aa3d280018008024..."} 
[2026-09-05 04:15:34] local.INFO: Packet analysis {"connection_id":171531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e97"} 
[2026-09-05 04:15:34] local.INFO: Extracted packet for processing {"connection_id":171531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e97"} 
[2026-09-05 04:15:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":24,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871754240001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788561841000,"timestamp_ms":1788561841000,"timestamp_seconds":1788561841,"priority":1,"record_length":96,"hex_timestamp":"000001a06e97db68"} 
[2026-09-05 04:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:15: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-09-05 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:15: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-09-05 04: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-09-05 04:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:15: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-09-05 04:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871754240001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871754240001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:15:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:15:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871754240001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":171531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:15:34] local.INFO: GPS data processed {"connection_id":171531,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:15:34] local.INFO: Acknowledgment sent {"connection_id":171531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:15:57] local.INFO: TCP Data received {"connection_id":172639,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:15:57] local.INFO: Processing buffer {"connection_id":172639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:15:57] local.INFO: IMEI packet received {"connection_id":172639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":172639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:16:02] local.INFO: TCP Data received {"connection_id":172639,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:16:02] local.INFO: Processing buffer {"connection_id":172639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:16:02] local.INFO: IMEI packet received {"connection_id":172639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":172639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:16:03] local.INFO: TCP Data received {"connection_id":172639,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e97db68012d34c9c006aa3d280018008024..."} 
[2026-09-05 04:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e97db68012d34c9c006aa3d280018008024..."} 
[2026-09-05 04:16:03] local.INFO: Processing buffer {"connection_id":172639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e97db68012d34c9c006aa3d280018008024..."} 
[2026-09-05 04:16:03] local.INFO: Packet analysis {"connection_id":172639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e97"} 
[2026-09-05 04:16:03] local.INFO: Extracted packet for processing {"connection_id":172639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e97"} 
[2026-09-05 04:16:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":24,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871754240001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788561841000,"timestamp_ms":1788561841000,"timestamp_seconds":1788561841,"priority":1,"record_length":96,"hex_timestamp":"000001a06e97db68"} 
[2026-09-05 04:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:16: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-09-05 04:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:16: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-09-05 04:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04: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-09-05 04:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871754240001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871754240001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:16:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:16:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871754240001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":172639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:16:03] local.INFO: GPS data processed {"connection_id":172639,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:16:03] local.INFO: Acknowledgment sent {"connection_id":172639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:16:35] local.INFO: TCP Data received {"connection_id":172639,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e97db68012d34c9c006aa3d280018008024..."} 
[2026-09-05 04:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e97db68012d34c9c006aa3d280018008024..."} 
[2026-09-05 04:16:35] local.INFO: Processing buffer {"connection_id":172639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e97db68012d34c9c006aa3d280018008024..."} 
[2026-09-05 04:16:35] local.INFO: Packet analysis {"connection_id":172639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e97"} 
[2026-09-05 04:16:35] local.INFO: Extracted packet for processing {"connection_id":172639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e97"} 
[2026-09-05 04:16:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":24,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871754240001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788561841000,"timestamp_ms":1788561841000,"timestamp_seconds":1788561841,"priority":1,"record_length":96,"hex_timestamp":"000001a06e97db68"} 
[2026-09-05 04:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:16:35] 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-09-05 04:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:16: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-09-05 04:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 04:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871754240001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871754240001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:16:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:16:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871754240001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":172639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:16:35] local.INFO: GPS data processed {"connection_id":172639,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:16:35] local.INFO: Acknowledgment sent {"connection_id":172639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:16:57] local.INFO: TCP Data received {"connection_id":171532,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:16:57] local.INFO: Processing buffer {"connection_id":171532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:16:57] local.INFO: IMEI packet received {"connection_id":171532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":171532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:17:02] local.INFO: TCP Data received {"connection_id":171532,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:17:02] local.INFO: Processing buffer {"connection_id":171532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:17:02] local.INFO: IMEI packet received {"connection_id":171532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":171532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:17:03] local.INFO: TCP Data received {"connection_id":171532,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e97db68012d34c9c006aa3d280018008024..."} 
[2026-09-05 04:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e97db68012d34c9c006aa3d280018008024..."} 
[2026-09-05 04:17:03] local.INFO: Processing buffer {"connection_id":171532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e97db68012d34c9c006aa3d280018008024..."} 
[2026-09-05 04:17:03] local.INFO: Packet analysis {"connection_id":171532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e97"} 
[2026-09-05 04:17:03] local.INFO: Extracted packet for processing {"connection_id":171532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e97"} 
[2026-09-05 04:17:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":24,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871754240001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788561841000,"timestamp_ms":1788561841000,"timestamp_seconds":1788561841,"priority":1,"record_length":96,"hex_timestamp":"000001a06e97db68"} 
[2026-09-05 04:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:17: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-09-05 04:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:17: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-09-05 04:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04: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-09-05 04:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871754240001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871754240001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:17:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:17:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871754240001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":171532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:17:03] local.INFO: GPS data processed {"connection_id":171532,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:17:03] local.INFO: Acknowledgment sent {"connection_id":171532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:17:34] local.INFO: TCP Data received {"connection_id":171532,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e97db68012d34c9c006aa3d280018008024..."} 
[2026-09-05 04:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e97db68012d34c9c006aa3d280018008024..."} 
[2026-09-05 04:17:34] local.INFO: Processing buffer {"connection_id":171532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e97db68012d34c9c006aa3d280018008024..."} 
[2026-09-05 04:17:34] local.INFO: Packet analysis {"connection_id":171532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e97"} 
[2026-09-05 04:17:34] local.INFO: Extracted packet for processing {"connection_id":171532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e97"} 
[2026-09-05 04:17:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":24,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871754240001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788561841000,"timestamp_ms":1788561841000,"timestamp_seconds":1788561841,"priority":1,"record_length":96,"hex_timestamp":"000001a06e97db68"} 
[2026-09-05 04:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:17: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-09-05 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:17: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-09-05 04: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-09-05 04:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:17: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-09-05 04:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871754240001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871754240001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:17:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:17:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871754240001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":171532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:17:34] local.INFO: GPS data processed {"connection_id":171532,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:17:34] local.INFO: Acknowledgment sent {"connection_id":171532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:17:57] local.INFO: TCP Data received {"connection_id":171533,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:17:57] local.INFO: Processing buffer {"connection_id":171533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:17:57] local.INFO: IMEI packet received {"connection_id":171533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":171533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:18:03] local.INFO: TCP Data received {"connection_id":171533,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:18:03] local.INFO: Processing buffer {"connection_id":171533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:18:03] local.INFO: IMEI packet received {"connection_id":171533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":171533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:18:04] local.INFO: TCP Data received {"connection_id":171533,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e97db68012d34c9c006aa3d280018008024..."} 
[2026-09-05 04:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e97db68012d34c9c006aa3d280018008024..."} 
[2026-09-05 04:18:04] local.INFO: Processing buffer {"connection_id":171533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e97db68012d34c9c006aa3d280018008024..."} 
[2026-09-05 04:18:04] local.INFO: Packet analysis {"connection_id":171533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e97"} 
[2026-09-05 04:18:04] local.INFO: Extracted packet for processing {"connection_id":171533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e97"} 
[2026-09-05 04:18:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":24,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 04:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871754240001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788561841000,"timestamp_ms":1788561841000,"timestamp_seconds":1788561841,"priority":1,"record_length":96,"hex_timestamp":"000001a06e97db68"} 
[2026-09-05 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-09-05 04:18: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-09-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:18: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-09-05 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-09-05 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-09-05 04:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04: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-09-05 04:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871754240001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871754240001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:18:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:18:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871754240001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":171533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:18:04] local.INFO: GPS data processed {"connection_id":171533,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:18:04] local.INFO: Acknowledgment sent {"connection_id":171533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:18:35] local.INFO: TCP Data received {"connection_id":171533,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e97db68012d34c9c006aa3d280018008024..."} 
[2026-09-05 04:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e97db68012d34c9c006aa3d280018008024..."} 
[2026-09-05 04:18:35] local.INFO: Processing buffer {"connection_id":171533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e97db68012d34c9c006aa3d280018008024..."} 
[2026-09-05 04:18:35] local.INFO: Packet analysis {"connection_id":171533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e97"} 
[2026-09-05 04:18:35] local.INFO: Extracted packet for processing {"connection_id":171533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e97"} 
[2026-09-05 04:18:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":24,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871754240001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788561841000,"timestamp_ms":1788561841000,"timestamp_seconds":1788561841,"priority":1,"record_length":96,"hex_timestamp":"000001a06e97db68"} 
[2026-09-05 04:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:18:35] 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-09-05 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:18: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-09-05 04: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-09-05 04:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 04:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871754240001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871754240001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:18:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:18:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871754240001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":171533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:18:35] local.INFO: GPS data processed {"connection_id":171533,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:18:35] local.INFO: Acknowledgment sent {"connection_id":171533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:19:02] local.INFO: TCP Data received {"connection_id":171235,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:19:02] local.INFO: Processing buffer {"connection_id":171235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:19:02] local.INFO: IMEI packet received {"connection_id":171235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":171235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:19:07] local.INFO: TCP Data received {"connection_id":171235,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:19:07] local.INFO: Processing buffer {"connection_id":171235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:19:07] local.INFO: IMEI packet received {"connection_id":171235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":171235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:19:08] local.INFO: TCP Data received {"connection_id":171235,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e97db68012d34c9c006aa3d280018008024..."} 
[2026-09-05 04:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e97db68012d34c9c006aa3d280018008024..."} 
[2026-09-05 04:19:08] local.INFO: Processing buffer {"connection_id":171235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e97db68012d34c9c006aa3d280018008024..."} 
[2026-09-05 04:19:08] local.INFO: Packet analysis {"connection_id":171235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e97"} 
[2026-09-05 04:19:08] local.INFO: Extracted packet for processing {"connection_id":171235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e97"} 
[2026-09-05 04:19:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":24,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871754240001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788561841000,"timestamp_ms":1788561841000,"timestamp_seconds":1788561841,"priority":1,"record_length":96,"hex_timestamp":"000001a06e97db68"} 
[2026-09-05 04:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:19: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-09-05 04:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:19: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-09-05 04:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:19: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-09-05 04:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871754240001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871754240001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:19:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:19:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871754240001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":171235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:19:08] local.INFO: GPS data processed {"connection_id":171235,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:19:08] local.INFO: Acknowledgment sent {"connection_id":171235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:19:13] local.INFO: TCP Data received {"connection_id":171235,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e97db68012d34c9c006aa3d280018008024..."} 
[2026-09-05 04:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e97db68012d34c9c006aa3d280018008024..."} 
[2026-09-05 04:19:13] local.INFO: Processing buffer {"connection_id":171235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e97db68012d34c9c006aa3d280018008024..."} 
[2026-09-05 04:19:13] local.INFO: Packet analysis {"connection_id":171235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e97"} 
[2026-09-05 04:19:13] local.INFO: Extracted packet for processing {"connection_id":171235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e97"} 
[2026-09-05 04:19:13] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":24,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871754240001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788561841000,"timestamp_ms":1788561841000,"timestamp_seconds":1788561841,"priority":1,"record_length":96,"hex_timestamp":"000001a06e97db68"} 
[2026-09-05 04:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 04:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:19: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-09-05 04:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 04:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871754240001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871754240001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:19:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:19:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871754240001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":171235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:19:13] local.INFO: GPS data processed {"connection_id":171235,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:19:13] local.INFO: Acknowledgment sent {"connection_id":171235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:19:36] local.INFO: TCP Data received {"connection_id":171234,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171234,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:19:36] local.INFO: Processing buffer {"connection_id":171234,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:19:36] local.INFO: IMEI packet received {"connection_id":171234,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 04:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":171234,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:19:57] local.INFO: TCP Data received {"connection_id":171236,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:19:57] local.INFO: Processing buffer {"connection_id":171236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:19:57] local.INFO: IMEI packet received {"connection_id":171236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":171236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:20:02] local.INFO: TCP Data received {"connection_id":171236,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:20:02] local.INFO: Processing buffer {"connection_id":171236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:20:02] local.INFO: IMEI packet received {"connection_id":171236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":171236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:20:03] local.INFO: TCP Data received {"connection_id":171236,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e9c7330012d34c9c006aa3d28000a008022..."} 
[2026-09-05 04:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e9c7330012d34c9c006aa3d28000a008022..."} 
[2026-09-05 04:20:03] local.INFO: Processing buffer {"connection_id":171236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e9c7330012d34c9c006aa3d28000a008022..."} 
[2026-09-05 04:20:03] local.INFO: Packet analysis {"connection_id":171236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e9c"} 
[2026-09-05 04:20:03] local.INFO: Extracted packet for processing {"connection_id":171236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e9c"} 
[2026-09-05 04:20:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":10,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871831296001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788562142000,"timestamp_ms":1788562142000,"timestamp_seconds":1788562142,"priority":1,"record_length":96,"hex_timestamp":"000001a06e9c7330"} 
[2026-09-05 04:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:20: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-09-05 04:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:20: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-09-05 04:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 04:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871831296001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871831296001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:20:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:20:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871831296001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":171236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:20:04] local.INFO: GPS data processed {"connection_id":171236,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:20:04] local.INFO: Acknowledgment sent {"connection_id":171236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:20:34] local.INFO: TCP Data received {"connection_id":171236,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e9c7330012d34c9c006aa3d28000a008022..."} 
[2026-09-05 04:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e9c7330012d34c9c006aa3d28000a008022..."} 
[2026-09-05 04:20:34] local.INFO: Processing buffer {"connection_id":171236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e9c7330012d34c9c006aa3d28000a008022..."} 
[2026-09-05 04:20:34] local.INFO: Packet analysis {"connection_id":171236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e9c"} 
[2026-09-05 04:20:34] local.INFO: Extracted packet for processing {"connection_id":171236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e9c"} 
[2026-09-05 04:20:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":10,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871831296001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788562142000,"timestamp_ms":1788562142000,"timestamp_seconds":1788562142,"priority":1,"record_length":96,"hex_timestamp":"000001a06e9c7330"} 
[2026-09-05 04:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:20: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-09-05 04:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:20: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-09-05 04:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:20: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-09-05 04:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871831296001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871831296001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:20:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:20:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871831296001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":171236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:20:34] local.INFO: GPS data processed {"connection_id":171236,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:20:34] local.INFO: Acknowledgment sent {"connection_id":171236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:20:57] local.INFO: TCP Data received {"connection_id":172641,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:20:57] local.INFO: Processing buffer {"connection_id":172641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:20:57] local.INFO: IMEI packet received {"connection_id":172641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":172641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:21:02] local.INFO: TCP Data received {"connection_id":172641,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:21:02] local.INFO: Processing buffer {"connection_id":172641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:21:02] local.INFO: IMEI packet received {"connection_id":172641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":172641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:21:05] local.INFO: TCP Data received {"connection_id":172641,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e9c7330012d34c9c006aa3d28000a008022..."} 
[2026-09-05 04:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e9c7330012d34c9c006aa3d28000a008022..."} 
[2026-09-05 04:21:05] local.INFO: Processing buffer {"connection_id":172641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e9c7330012d34c9c006aa3d28000a008022..."} 
[2026-09-05 04:21:05] local.INFO: Packet analysis {"connection_id":172641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e9c"} 
[2026-09-05 04:21:05] local.INFO: Extracted packet for processing {"connection_id":172641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e9c"} 
[2026-09-05 04:21:05] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":10,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871831296001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788562142000,"timestamp_ms":1788562142000,"timestamp_seconds":1788562142,"priority":1,"record_length":96,"hex_timestamp":"000001a06e9c7330"} 
[2026-09-05 04:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:21: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-09-05 04:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:21: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-09-05 04:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:21: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-09-05 04:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871831296001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871831296001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:21:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:21:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871831296001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":172641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:21:05] local.INFO: GPS data processed {"connection_id":172641,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:21:05] local.INFO: Acknowledgment sent {"connection_id":172641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:21:39] local.INFO: TCP Data received {"connection_id":172641,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e9c7330012d34c9c006aa3d28000a008022..."} 
[2026-09-05 04:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e9c7330012d34c9c006aa3d28000a008022..."} 
[2026-09-05 04:21:39] local.INFO: Processing buffer {"connection_id":172641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e9c7330012d34c9c006aa3d28000a008022..."} 
[2026-09-05 04:21:39] local.INFO: Packet analysis {"connection_id":172641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e9c"} 
[2026-09-05 04:21:39] local.INFO: Extracted packet for processing {"connection_id":172641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e9c"} 
[2026-09-05 04:21:39] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":10,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871831296001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788562142000,"timestamp_ms":1788562142000,"timestamp_seconds":1788562142,"priority":1,"record_length":96,"hex_timestamp":"000001a06e9c7330"} 
[2026-09-05 04:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:21: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-09-05 04:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:21: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-09-05 04:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 04:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871831296001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871831296001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:21:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:21:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871831296001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":172641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:21:39] local.INFO: GPS data processed {"connection_id":172641,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:21:39] local.INFO: Acknowledgment sent {"connection_id":172641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:21:57] local.INFO: TCP Data received {"connection_id":171237,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:21:57] local.INFO: Processing buffer {"connection_id":171237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:21:57] local.INFO: IMEI packet received {"connection_id":171237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":171237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:22:02] local.INFO: TCP Data received {"connection_id":171237,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:22:02] local.INFO: Processing buffer {"connection_id":171237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:22:02] local.INFO: IMEI packet received {"connection_id":171237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":171237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:22:04] local.INFO: TCP Data received {"connection_id":171237,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e9c7330012d34c9c006aa3d28000a008022..."} 
[2026-09-05 04:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e9c7330012d34c9c006aa3d28000a008022..."} 
[2026-09-05 04:22:04] local.INFO: Processing buffer {"connection_id":171237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e9c7330012d34c9c006aa3d28000a008022..."} 
[2026-09-05 04:22:04] local.INFO: Packet analysis {"connection_id":171237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e9c"} 
[2026-09-05 04:22:04] local.INFO: Extracted packet for processing {"connection_id":171237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e9c"} 
[2026-09-05 04:22:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":10,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 04:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871831296001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788562142000,"timestamp_ms":1788562142000,"timestamp_seconds":1788562142,"priority":1,"record_length":96,"hex_timestamp":"000001a06e9c7330"} 
[2026-09-05 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-09-05 04:22: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-09-05 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":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:22: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-09-05 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-09-05 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-09-05 04:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:22: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-09-05 04:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871831296001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871831296001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:22:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:22:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871831296001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":171237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:22:04] local.INFO: GPS data processed {"connection_id":171237,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:22:04] local.INFO: Acknowledgment sent {"connection_id":171237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:22:35] local.INFO: TCP Data received {"connection_id":171237,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e9c7330012d34c9c006aa3d28000a008022..."} 
[2026-09-05 04:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e9c7330012d34c9c006aa3d28000a008022..."} 
[2026-09-05 04:22:35] local.INFO: Processing buffer {"connection_id":171237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e9c7330012d34c9c006aa3d28000a008022..."} 
[2026-09-05 04:22:35] local.INFO: Packet analysis {"connection_id":171237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e9c"} 
[2026-09-05 04:22:35] local.INFO: Extracted packet for processing {"connection_id":171237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e9c"} 
[2026-09-05 04:22:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":10,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871831296001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788562142000,"timestamp_ms":1788562142000,"timestamp_seconds":1788562142,"priority":1,"record_length":96,"hex_timestamp":"000001a06e9c7330"} 
[2026-09-05 04:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:22:35] 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-09-05 04:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:22: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-09-05 04:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 04:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871831296001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871831296001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:22:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:22:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871831296001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":171237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:22:35] local.INFO: GPS data processed {"connection_id":171237,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:22:35] local.INFO: Acknowledgment sent {"connection_id":171237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:22:57] local.INFO: TCP Data received {"connection_id":173929,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:22:57] local.INFO: Processing buffer {"connection_id":173929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:22:57] local.INFO: IMEI packet received {"connection_id":173929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":173929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:23:02] local.INFO: TCP Data received {"connection_id":173929,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:23:02] local.INFO: Processing buffer {"connection_id":173929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:23:02] local.INFO: IMEI packet received {"connection_id":173929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":173929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:23:03] local.INFO: TCP Data received {"connection_id":173929,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e9c7330012d34c9c006aa3d28000a008022..."} 
[2026-09-05 04:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e9c7330012d34c9c006aa3d28000a008022..."} 
[2026-09-05 04:23:03] local.INFO: Processing buffer {"connection_id":173929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e9c7330012d34c9c006aa3d28000a008022..."} 
[2026-09-05 04:23:03] local.INFO: Packet analysis {"connection_id":173929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e9c"} 
[2026-09-05 04:23:03] local.INFO: Extracted packet for processing {"connection_id":173929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e9c"} 
[2026-09-05 04:23:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":10,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871831296001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788562142000,"timestamp_ms":1788562142000,"timestamp_seconds":1788562142,"priority":1,"record_length":96,"hex_timestamp":"000001a06e9c7330"} 
[2026-09-05 04:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:23: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-09-05 04:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:23: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-09-05 04:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:23: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-09-05 04:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871831296001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871831296001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:23:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:23:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871831296001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":173929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:23:03] local.INFO: GPS data processed {"connection_id":173929,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:23:03] local.INFO: Acknowledgment sent {"connection_id":173929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:23:34] local.INFO: TCP Data received {"connection_id":173929,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e9c7330012d34c9c006aa3d28000a008022..."} 
[2026-09-05 04:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e9c7330012d34c9c006aa3d28000a008022..."} 
[2026-09-05 04:23:34] local.INFO: Processing buffer {"connection_id":173929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e9c7330012d34c9c006aa3d28000a008022..."} 
[2026-09-05 04:23:34] local.INFO: Packet analysis {"connection_id":173929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e9c"} 
[2026-09-05 04:23:34] local.INFO: Extracted packet for processing {"connection_id":173929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e9c"} 
[2026-09-05 04:23:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":10,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871831296001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788562142000,"timestamp_ms":1788562142000,"timestamp_seconds":1788562142,"priority":1,"record_length":96,"hex_timestamp":"000001a06e9c7330"} 
[2026-09-05 04:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04: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-09-05 04: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":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:23: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-09-05 04: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-09-05 04:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:23: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-09-05 04:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871831296001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871831296001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:23:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:23:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871831296001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":173929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:23:34] local.INFO: GPS data processed {"connection_id":173929,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:23:34] local.INFO: Acknowledgment sent {"connection_id":173929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:23:57] local.INFO: TCP Data received {"connection_id":171534,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:23:57] local.INFO: Processing buffer {"connection_id":171534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:23:57] local.INFO: IMEI packet received {"connection_id":171534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":171534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:24:02] local.INFO: TCP Data received {"connection_id":171534,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:24:02] local.INFO: Processing buffer {"connection_id":171534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:24:02] local.INFO: IMEI packet received {"connection_id":171534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":171534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:24:03] local.INFO: TCP Data received {"connection_id":171534,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e9c7330012d34c9c006aa3d28000a008022..."} 
[2026-09-05 04:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e9c7330012d34c9c006aa3d28000a008022..."} 
[2026-09-05 04:24:03] local.INFO: Processing buffer {"connection_id":171534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e9c7330012d34c9c006aa3d28000a008022..."} 
[2026-09-05 04:24:03] local.INFO: Packet analysis {"connection_id":171534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e9c"} 
[2026-09-05 04:24:03] local.INFO: Extracted packet for processing {"connection_id":171534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e9c"} 
[2026-09-05 04:24:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":10,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871831296001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788562142000,"timestamp_ms":1788562142000,"timestamp_seconds":1788562142,"priority":1,"record_length":96,"hex_timestamp":"000001a06e9c7330"} 
[2026-09-05 04:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:24: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-09-05 04:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:24: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-09-05 04: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-09-05 04:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04: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-09-05 04:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871831296001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871831296001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:24:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:24:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871831296001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":171534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:24:03] local.INFO: GPS data processed {"connection_id":171534,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:24:03] local.INFO: Acknowledgment sent {"connection_id":171534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:24:35] local.INFO: TCP Data received {"connection_id":171534,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06e9c7330012d34c9c006aa3d28000a008022..."} 
[2026-09-05 04:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06e9c7330012d34c9c006aa3d28000a008022..."} 
[2026-09-05 04:24:35] local.INFO: Processing buffer {"connection_id":171534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06e9c7330012d34c9c006aa3d28000a008022..."} 
[2026-09-05 04:24:35] local.INFO: Packet analysis {"connection_id":171534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06e9c"} 
[2026-09-05 04:24:35] local.INFO: Extracted packet for processing {"connection_id":171534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06e9c"} 
[2026-09-05 04:24:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":10,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871831296001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788562142000,"timestamp_ms":1788562142000,"timestamp_seconds":1788562142,"priority":1,"record_length":96,"hex_timestamp":"000001a06e9c7330"} 
[2026-09-05 04:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:24:35] 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-09-05 04:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:24: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-09-05 04:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 04:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871831296001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871831296001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:24:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:24:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871831296001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":171534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:24:35] local.INFO: GPS data processed {"connection_id":171534,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:24:35] local.INFO: Acknowledgment sent {"connection_id":171534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:24:40] local.INFO: TCP Data received {"connection_id":171535,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-05 04:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171535,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-05 04:24:40] local.INFO: Processing buffer {"connection_id":171535,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-05 04:24:40] local.INFO: Packet analysis {"connection_id":171535,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-05 04:24:40] local.INFO: Extracted packet for processing {"connection_id":171535,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-05 04:24: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-09-05 04:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-05 04:24:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-05 04:24:40] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-05 04:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-05 04:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-05 04:24:40] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":171535,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-05 04:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":171535,"device_imei":null,"avl_records_count":1} 
[2026-09-05 04:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":171535,"device_imei":null,"avl_records_count":1} 
[2026-09-05 04:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 04:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":171535,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 04:24:40] local.INFO: GPS data processed {"connection_id":171535,"processed":0,"errors":0,"total":1} 
[2026-09-05 04:24:40] local.INFO: Acknowledgment sent {"connection_id":171535,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:24:49] local.INFO: TCP Data received {"connection_id":171536,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-05 04:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171536,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-05 04:24:49] local.INFO: Processing buffer {"connection_id":171536,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-05 04:24:49] local.INFO: Packet analysis {"connection_id":171536,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-05 04:24:49] local.INFO: Extracted packet for processing {"connection_id":171536,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-05 04:24:49] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 04:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-05 04:24:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-05 04:24:49] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-05 04:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-05 04:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-05 04:24:49] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":171536,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-05 04:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":171536,"device_imei":null,"avl_records_count":1} 
[2026-09-05 04:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":171536,"device_imei":null,"avl_records_count":1} 
[2026-09-05 04:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 04:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":171536,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 04:24:49] local.INFO: GPS data processed {"connection_id":171536,"processed":0,"errors":0,"total":1} 
[2026-09-05 04:24:49] local.INFO: Acknowledgment sent {"connection_id":171536,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:25:02] local.INFO: TCP Data received {"connection_id":171537,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:25:02] local.INFO: Processing buffer {"connection_id":171537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:25:02] local.INFO: IMEI packet received {"connection_id":171537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":171537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:25:07] local.INFO: TCP Data received {"connection_id":171537,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:25:07] local.INFO: Processing buffer {"connection_id":171537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:25:07] local.INFO: IMEI packet received {"connection_id":171537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":171537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:25:08] local.INFO: TCP Data received {"connection_id":171537,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ea10af8012d34c9c006aa3d280011008021..."} 
[2026-09-05 04:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ea10af8012d34c9c006aa3d280011008021..."} 
[2026-09-05 04:25:08] local.INFO: Processing buffer {"connection_id":171537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ea10af8012d34c9c006aa3d280011008021..."} 
[2026-09-05 04:25:08] local.INFO: Packet analysis {"connection_id":171537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ea1"} 
[2026-09-05 04:25:08] local.INFO: Extracted packet for processing {"connection_id":171537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ea1"} 
[2026-09-05 04:25:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":17,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871908352001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788562443000,"timestamp_ms":1788562443000,"timestamp_seconds":1788562443,"priority":1,"record_length":96,"hex_timestamp":"000001a06ea10af8"} 
[2026-09-05 04:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:25: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-09-05 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:25: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-09-05 04: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-09-05 04:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 04:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871908352001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871908352001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:25:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:25:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871908352001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":171537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:25:08] local.INFO: GPS data processed {"connection_id":171537,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:25:08] local.INFO: Acknowledgment sent {"connection_id":171537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:25:11] local.INFO: TCP Data received {"connection_id":172640,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172640,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:25:11] local.INFO: Processing buffer {"connection_id":172640,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:25:11] local.INFO: IMEI packet received {"connection_id":172640,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 04:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":172640,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:25:13] local.INFO: TCP Data received {"connection_id":171537,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ea10af8012d34c9c006aa3d280011008021..."} 
[2026-09-05 04:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ea10af8012d34c9c006aa3d280011008021..."} 
[2026-09-05 04:25:13] local.INFO: Processing buffer {"connection_id":171537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ea10af8012d34c9c006aa3d280011008021..."} 
[2026-09-05 04:25:13] local.INFO: Packet analysis {"connection_id":171537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ea1"} 
[2026-09-05 04:25:13] local.INFO: Extracted packet for processing {"connection_id":171537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ea1"} 
[2026-09-05 04:25:13] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":17,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871908352001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788562443000,"timestamp_ms":1788562443000,"timestamp_seconds":1788562443,"priority":1,"record_length":96,"hex_timestamp":"000001a06ea10af8"} 
[2026-09-05 04:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 04:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:25: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-09-05 04:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 04:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871908352001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871908352001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:25:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:25:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871908352001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":171537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:25:13] local.INFO: GPS data processed {"connection_id":171537,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:25:13] local.INFO: Acknowledgment sent {"connection_id":171537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:25:31] local.INFO: TCP Data received {"connection_id":171238,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:25:31] local.INFO: Processing buffer {"connection_id":171238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:25:31] local.INFO: IMEI packet received {"connection_id":171238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 04:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":171238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:25:57] local.INFO: TCP Data received {"connection_id":172642,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:25:57] local.INFO: Processing buffer {"connection_id":172642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:25:57] local.INFO: IMEI packet received {"connection_id":172642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":172642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:26:02] local.INFO: TCP Data received {"connection_id":172642,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:26:02] local.INFO: Processing buffer {"connection_id":172642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:26:02] local.INFO: IMEI packet received {"connection_id":172642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":172642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:26:03] local.INFO: TCP Data received {"connection_id":172642,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ea10af8012d34c9c006aa3d280011008021..."} 
[2026-09-05 04:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ea10af8012d34c9c006aa3d280011008021..."} 
[2026-09-05 04:26:03] local.INFO: Processing buffer {"connection_id":172642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ea10af8012d34c9c006aa3d280011008021..."} 
[2026-09-05 04:26:03] local.INFO: Packet analysis {"connection_id":172642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ea1"} 
[2026-09-05 04:26:03] local.INFO: Extracted packet for processing {"connection_id":172642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ea1"} 
[2026-09-05 04:26:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":17,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871908352001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788562443000,"timestamp_ms":1788562443000,"timestamp_seconds":1788562443,"priority":1,"record_length":96,"hex_timestamp":"000001a06ea10af8"} 
[2026-09-05 04:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:26: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-09-05 04:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04: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-09-05 04:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04: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-09-05 04:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871908352001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871908352001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:26:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:26:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871908352001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":172642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:26:04] local.INFO: GPS data processed {"connection_id":172642,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:26:04] local.INFO: Acknowledgment sent {"connection_id":172642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:26:08] local.INFO: TCP Data received {"connection_id":172642,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ea10af8012d34c9c006aa3d280011008021..."} 
[2026-09-05 04:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ea10af8012d34c9c006aa3d280011008021..."} 
[2026-09-05 04:26:08] local.INFO: Processing buffer {"connection_id":172642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ea10af8012d34c9c006aa3d280011008021..."} 
[2026-09-05 04:26:08] local.INFO: Packet analysis {"connection_id":172642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ea1"} 
[2026-09-05 04:26:08] local.INFO: Extracted packet for processing {"connection_id":172642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ea1"} 
[2026-09-05 04:26:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":17,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871908352001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788562443000,"timestamp_ms":1788562443000,"timestamp_seconds":1788562443,"priority":1,"record_length":96,"hex_timestamp":"000001a06ea10af8"} 
[2026-09-05 04:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:26: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-09-05 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:26: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-09-05 04: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-09-05 04:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:26: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-09-05 04:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871908352001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871908352001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:26:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:26:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871908352001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":172642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:26:08] local.INFO: GPS data processed {"connection_id":172642,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:26:08] local.INFO: Acknowledgment sent {"connection_id":172642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:26:39] local.INFO: TCP Data received {"connection_id":172642,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ea10af8012d34c9c006aa3d280011008021..."} 
[2026-09-05 04:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ea10af8012d34c9c006aa3d280011008021..."} 
[2026-09-05 04:26:39] local.INFO: Processing buffer {"connection_id":172642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ea10af8012d34c9c006aa3d280011008021..."} 
[2026-09-05 04:26:39] local.INFO: Packet analysis {"connection_id":172642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ea1"} 
[2026-09-05 04:26:39] local.INFO: Extracted packet for processing {"connection_id":172642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ea1"} 
[2026-09-05 04:26:39] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":17,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871908352001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788562443000,"timestamp_ms":1788562443000,"timestamp_seconds":1788562443,"priority":1,"record_length":96,"hex_timestamp":"000001a06ea10af8"} 
[2026-09-05 04:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:26: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-09-05 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:26: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-09-05 04: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-09-05 04:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 04:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871908352001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871908352001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:26:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:26:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871908352001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":172642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:26:39] local.INFO: GPS data processed {"connection_id":172642,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:26:39] local.INFO: Acknowledgment sent {"connection_id":172642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:26:57] local.INFO: TCP Data received {"connection_id":173930,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:26:57] local.INFO: Processing buffer {"connection_id":173930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:26:57] local.INFO: IMEI packet received {"connection_id":173930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":173930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:27:02] local.INFO: TCP Data received {"connection_id":173930,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:27:02] local.INFO: Processing buffer {"connection_id":173930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:27:02] local.INFO: IMEI packet received {"connection_id":173930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":173930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:27:03] local.INFO: TCP Data received {"connection_id":173930,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ea10af8012d34c9c006aa3d280011008021..."} 
[2026-09-05 04:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ea10af8012d34c9c006aa3d280011008021..."} 
[2026-09-05 04:27:03] local.INFO: Processing buffer {"connection_id":173930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ea10af8012d34c9c006aa3d280011008021..."} 
[2026-09-05 04:27:03] local.INFO: Packet analysis {"connection_id":173930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ea1"} 
[2026-09-05 04:27:03] local.INFO: Extracted packet for processing {"connection_id":173930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ea1"} 
[2026-09-05 04:27:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":17,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871908352001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788562443000,"timestamp_ms":1788562443000,"timestamp_seconds":1788562443,"priority":1,"record_length":96,"hex_timestamp":"000001a06ea10af8"} 
[2026-09-05 04:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:27: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-09-05 04: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-09-05 04: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-09-05 04: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-09-05 04:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04: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-09-05 04:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871908352001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871908352001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:27:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:27:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871908352001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":173930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:27:03] local.INFO: GPS data processed {"connection_id":173930,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:27:03] local.INFO: Acknowledgment sent {"connection_id":173930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:27:34] local.INFO: TCP Data received {"connection_id":173930,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ea10af8012d34c9c006aa3d280011008021..."} 
[2026-09-05 04:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ea10af8012d34c9c006aa3d280011008021..."} 
[2026-09-05 04:27:34] local.INFO: Processing buffer {"connection_id":173930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ea10af8012d34c9c006aa3d280011008021..."} 
[2026-09-05 04:27:34] local.INFO: Packet analysis {"connection_id":173930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ea1"} 
[2026-09-05 04:27:34] local.INFO: Extracted packet for processing {"connection_id":173930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ea1"} 
[2026-09-05 04:27:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":17,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871908352001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788562443000,"timestamp_ms":1788562443000,"timestamp_seconds":1788562443,"priority":1,"record_length":96,"hex_timestamp":"000001a06ea10af8"} 
[2026-09-05 04:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:27: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-09-05 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:27: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-09-05 04: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-09-05 04:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:27: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-09-05 04:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871908352001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871908352001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:27:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:27:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871908352001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":173930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:27:34] local.INFO: GPS data processed {"connection_id":173930,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:27:34] local.INFO: Acknowledgment sent {"connection_id":173930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:27:57] local.INFO: TCP Data received {"connection_id":171239,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:27:57] local.INFO: Processing buffer {"connection_id":171239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:27:57] local.INFO: IMEI packet received {"connection_id":171239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":171239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:28:02] local.INFO: TCP Data received {"connection_id":171239,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:28:02] local.INFO: Processing buffer {"connection_id":171239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:28:02] local.INFO: IMEI packet received {"connection_id":171239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":171239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:28:03] local.INFO: TCP Data received {"connection_id":171239,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ea10af8012d34c9c006aa3d280011008021..."} 
[2026-09-05 04:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ea10af8012d34c9c006aa3d280011008021..."} 
[2026-09-05 04:28:03] local.INFO: Processing buffer {"connection_id":171239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ea10af8012d34c9c006aa3d280011008021..."} 
[2026-09-05 04:28:03] local.INFO: Packet analysis {"connection_id":171239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ea1"} 
[2026-09-05 04:28:03] local.INFO: Extracted packet for processing {"connection_id":171239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ea1"} 
[2026-09-05 04:28:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":17,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871908352001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788562443000,"timestamp_ms":1788562443000,"timestamp_seconds":1788562443,"priority":1,"record_length":96,"hex_timestamp":"000001a06ea10af8"} 
[2026-09-05 04:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:28: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-09-05 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:28: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-09-05 04: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-09-05 04:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:28: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-09-05 04:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871908352001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871908352001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:28:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:28:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871908352001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":171239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:28:03] local.INFO: GPS data processed {"connection_id":171239,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:28:03] local.INFO: Acknowledgment sent {"connection_id":171239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:28:34] local.INFO: TCP Data received {"connection_id":171239,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ea10af8012d34c9c006aa3d280011008021..."} 
[2026-09-05 04:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ea10af8012d34c9c006aa3d280011008021..."} 
[2026-09-05 04:28:34] local.INFO: Processing buffer {"connection_id":171239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ea10af8012d34c9c006aa3d280011008021..."} 
[2026-09-05 04:28:34] local.INFO: Packet analysis {"connection_id":171239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ea1"} 
[2026-09-05 04:28:34] local.INFO: Extracted packet for processing {"connection_id":171239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ea1"} 
[2026-09-05 04:28:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":17,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871908352001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788562443000,"timestamp_ms":1788562443000,"timestamp_seconds":1788562443,"priority":1,"record_length":96,"hex_timestamp":"000001a06ea10af8"} 
[2026-09-05 04:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:28: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-09-05 04: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":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:28: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-09-05 04: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-09-05 04:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:28: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-09-05 04:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871908352001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871908352001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:28:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:28:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871908352001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":171239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:28:34] local.INFO: GPS data processed {"connection_id":171239,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:28:34] local.INFO: Acknowledgment sent {"connection_id":171239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:28:57] local.INFO: TCP Data received {"connection_id":171538,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:28:57] local.INFO: Processing buffer {"connection_id":171538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:28:57] local.INFO: IMEI packet received {"connection_id":171538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":171538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:29:02] local.INFO: TCP Data received {"connection_id":171538,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:29:02] local.INFO: Processing buffer {"connection_id":171538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:29:02] local.INFO: IMEI packet received {"connection_id":171538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":171538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:29:03] local.INFO: TCP Data received {"connection_id":171538,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ea10af8012d34c9c006aa3d280011008021..."} 
[2026-09-05 04:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ea10af8012d34c9c006aa3d280011008021..."} 
[2026-09-05 04:29:03] local.INFO: Processing buffer {"connection_id":171538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ea10af8012d34c9c006aa3d280011008021..."} 
[2026-09-05 04:29:03] local.INFO: Packet analysis {"connection_id":171538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ea1"} 
[2026-09-05 04:29:03] local.INFO: Extracted packet for processing {"connection_id":171538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ea1"} 
[2026-09-05 04:29:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":17,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871908352001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788562443000,"timestamp_ms":1788562443000,"timestamp_seconds":1788562443,"priority":1,"record_length":96,"hex_timestamp":"000001a06ea10af8"} 
[2026-09-05 04:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:29: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-09-05 04:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:29: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-09-05 04:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:29: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-09-05 04:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871908352001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871908352001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:29:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:29:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871908352001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":171538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:29:03] local.INFO: GPS data processed {"connection_id":171538,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:29:03] local.INFO: Acknowledgment sent {"connection_id":171538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:29:34] local.INFO: TCP Data received {"connection_id":171538,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ea10af8012d34c9c006aa3d280011008021..."} 
[2026-09-05 04:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ea10af8012d34c9c006aa3d280011008021..."} 
[2026-09-05 04:29:34] local.INFO: Processing buffer {"connection_id":171538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ea10af8012d34c9c006aa3d280011008021..."} 
[2026-09-05 04:29:34] local.INFO: Packet analysis {"connection_id":171538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ea1"} 
[2026-09-05 04:29:34] local.INFO: Extracted packet for processing {"connection_id":171538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ea1"} 
[2026-09-05 04:29:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":17,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871908352001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788562443000,"timestamp_ms":1788562443000,"timestamp_seconds":1788562443,"priority":1,"record_length":96,"hex_timestamp":"000001a06ea10af8"} 
[2026-09-05 04:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:29: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-09-05 04:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:29: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-09-05 04:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:29: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-09-05 04:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871908352001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871908352001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:29:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:29:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871908352001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":171538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:29:34] local.INFO: GPS data processed {"connection_id":171538,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:29:34] local.INFO: Acknowledgment sent {"connection_id":171538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:29:57] local.INFO: TCP Data received {"connection_id":173931,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:29:57] local.INFO: Processing buffer {"connection_id":173931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:29:57] local.INFO: IMEI packet received {"connection_id":173931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":173931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:30:02] local.INFO: TCP Data received {"connection_id":173931,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:30:02] local.INFO: Processing buffer {"connection_id":173931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:30:02] local.INFO: IMEI packet received {"connection_id":173931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":173931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:30:03] local.INFO: TCP Data received {"connection_id":173931,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ea5a2c0012d34c9c006aa3d28000f008023..."} 
[2026-09-05 04:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ea5a2c0012d34c9c006aa3d28000f008023..."} 
[2026-09-05 04:30:03] local.INFO: Processing buffer {"connection_id":173931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ea5a2c0012d34c9c006aa3d28000f008023..."} 
[2026-09-05 04:30:03] local.INFO: Packet analysis {"connection_id":173931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ea5"} 
[2026-09-05 04:30:03] local.INFO: Extracted packet for processing {"connection_id":173931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ea5"} 
[2026-09-05 04:30:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":15,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871985408001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788562744000,"timestamp_ms":1788562744000,"timestamp_seconds":1788562744,"priority":1,"record_length":96,"hex_timestamp":"000001a06ea5a2c0"} 
[2026-09-05 04:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:30: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-09-05 04:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:30: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-09-05 04:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:30: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-09-05 04:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871985408001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871985408001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:30:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:30:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871985408001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":173931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:30:03] local.INFO: GPS data processed {"connection_id":173931,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:30:03] local.INFO: Acknowledgment sent {"connection_id":173931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:30:34] local.INFO: TCP Data received {"connection_id":173931,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ea5a2c0012d34c9c006aa3d28000f008023..."} 
[2026-09-05 04:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ea5a2c0012d34c9c006aa3d28000f008023..."} 
[2026-09-05 04:30:34] local.INFO: Processing buffer {"connection_id":173931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ea5a2c0012d34c9c006aa3d28000f008023..."} 
[2026-09-05 04:30:34] local.INFO: Packet analysis {"connection_id":173931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ea5"} 
[2026-09-05 04:30:34] local.INFO: Extracted packet for processing {"connection_id":173931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ea5"} 
[2026-09-05 04:30:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":15,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871985408001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788562744000,"timestamp_ms":1788562744000,"timestamp_seconds":1788562744,"priority":1,"record_length":96,"hex_timestamp":"000001a06ea5a2c0"} 
[2026-09-05 04:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:30: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-09-05 04:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:30: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-09-05 04:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:30: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-09-05 04:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871985408001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871985408001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:30:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:30:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871985408001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":173931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:30:34] local.INFO: GPS data processed {"connection_id":173931,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:30:34] local.INFO: Acknowledgment sent {"connection_id":173931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:30:56] local.INFO: TCP Data received {"connection_id":171539,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:30:56] local.INFO: Processing buffer {"connection_id":171539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:30:56] local.INFO: IMEI packet received {"connection_id":171539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 04:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":171539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:30:57] local.INFO: TCP Data received {"connection_id":171240,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:30:57] local.INFO: Processing buffer {"connection_id":171240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:30:57] local.INFO: IMEI packet received {"connection_id":171240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":171240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:31:02] local.INFO: TCP Data received {"connection_id":171240,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:31:02] local.INFO: Processing buffer {"connection_id":171240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:31:02] local.INFO: IMEI packet received {"connection_id":171240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":171240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:31:03] local.INFO: TCP Data received {"connection_id":171240,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ea5a2c0012d34c9c006aa3d28000f008023..."} 
[2026-09-05 04:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ea5a2c0012d34c9c006aa3d28000f008023..."} 
[2026-09-05 04:31:03] local.INFO: Processing buffer {"connection_id":171240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ea5a2c0012d34c9c006aa3d28000f008023..."} 
[2026-09-05 04:31:03] local.INFO: Packet analysis {"connection_id":171240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ea5"} 
[2026-09-05 04:31:03] local.INFO: Extracted packet for processing {"connection_id":171240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ea5"} 
[2026-09-05 04:31:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":15,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871985408001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788562744000,"timestamp_ms":1788562744000,"timestamp_seconds":1788562744,"priority":1,"record_length":96,"hex_timestamp":"000001a06ea5a2c0"} 
[2026-09-05 04:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:31: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-09-05 04:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:31: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-09-05 04:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04: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-09-05 04:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871985408001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871985408001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:31:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:31:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871985408001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":171240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:31:03] local.INFO: GPS data processed {"connection_id":171240,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:31:03] local.INFO: Acknowledgment sent {"connection_id":171240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:31:34] local.INFO: TCP Data received {"connection_id":171240,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ea5a2c0012d34c9c006aa3d28000f008023..."} 
[2026-09-05 04:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ea5a2c0012d34c9c006aa3d28000f008023..."} 
[2026-09-05 04:31:34] local.INFO: Processing buffer {"connection_id":171240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ea5a2c0012d34c9c006aa3d28000f008023..."} 
[2026-09-05 04:31:34] local.INFO: Packet analysis {"connection_id":171240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ea5"} 
[2026-09-05 04:31:34] local.INFO: Extracted packet for processing {"connection_id":171240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ea5"} 
[2026-09-05 04:31:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":15,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871985408001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788562744000,"timestamp_ms":1788562744000,"timestamp_seconds":1788562744,"priority":1,"record_length":96,"hex_timestamp":"000001a06ea5a2c0"} 
[2026-09-05 04:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:31: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-09-05 04: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:31: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-09-05 04: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-09-05 04:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:31: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-09-05 04:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871985408001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871985408001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:31:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:31:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871985408001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":171240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:31:34] local.INFO: GPS data processed {"connection_id":171240,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:31:34] local.INFO: Acknowledgment sent {"connection_id":171240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:31:57] local.INFO: TCP Data received {"connection_id":172643,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:31:57] local.INFO: Processing buffer {"connection_id":172643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:31:57] local.INFO: IMEI packet received {"connection_id":172643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":172643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:32:02] local.INFO: TCP Data received {"connection_id":172643,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:32:02] local.INFO: Processing buffer {"connection_id":172643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:32:02] local.INFO: IMEI packet received {"connection_id":172643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":172643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:32:03] local.INFO: TCP Data received {"connection_id":172643,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ea5a2c0012d34c9c006aa3d28000f008023..."} 
[2026-09-05 04:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ea5a2c0012d34c9c006aa3d28000f008023..."} 
[2026-09-05 04:32:04] local.INFO: Processing buffer {"connection_id":172643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ea5a2c0012d34c9c006aa3d28000f008023..."} 
[2026-09-05 04:32:04] local.INFO: Packet analysis {"connection_id":172643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ea5"} 
[2026-09-05 04:32:04] local.INFO: Extracted packet for processing {"connection_id":172643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ea5"} 
[2026-09-05 04:32:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":15,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 04:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871985408001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788562744000,"timestamp_ms":1788562744000,"timestamp_seconds":1788562744,"priority":1,"record_length":96,"hex_timestamp":"000001a06ea5a2c0"} 
[2026-09-05 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-09-05 04:32: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-09-05 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:32: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-09-05 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-09-05 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-09-05 04:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:32: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-09-05 04:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871985408001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871985408001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:32:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:32:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871985408001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":172643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:32:04] local.INFO: GPS data processed {"connection_id":172643,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:32:04] local.INFO: Acknowledgment sent {"connection_id":172643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:32:34] local.INFO: TCP Data received {"connection_id":172643,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ea5a2c0012d34c9c006aa3d28000f008023..."} 
[2026-09-05 04:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ea5a2c0012d34c9c006aa3d28000f008023..."} 
[2026-09-05 04:32:34] local.INFO: Processing buffer {"connection_id":172643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ea5a2c0012d34c9c006aa3d28000f008023..."} 
[2026-09-05 04:32:34] local.INFO: Packet analysis {"connection_id":172643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ea5"} 
[2026-09-05 04:32:34] local.INFO: Extracted packet for processing {"connection_id":172643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ea5"} 
[2026-09-05 04:32:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":15,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871985408001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788562744000,"timestamp_ms":1788562744000,"timestamp_seconds":1788562744,"priority":1,"record_length":96,"hex_timestamp":"000001a06ea5a2c0"} 
[2026-09-05 04:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:32: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-09-05 04:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:32: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-09-05 04: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-09-05 04:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:32: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-09-05 04:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871985408001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871985408001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:32:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:32:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871985408001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":172643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:32:35] local.INFO: GPS data processed {"connection_id":172643,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:32:35] local.INFO: Acknowledgment sent {"connection_id":172643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:33:02] local.INFO: TCP Data received {"connection_id":171241,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:33:02] local.INFO: Processing buffer {"connection_id":171241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:33:02] local.INFO: IMEI packet received {"connection_id":171241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":171241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:33:07] local.INFO: TCP Data received {"connection_id":171241,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:33:07] local.INFO: Processing buffer {"connection_id":171241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:33:07] local.INFO: IMEI packet received {"connection_id":171241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":171241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:33:08] local.INFO: TCP Data received {"connection_id":171241,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ea5a2c0012d34c9c006aa3d28000f008023..."} 
[2026-09-05 04:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ea5a2c0012d34c9c006aa3d28000f008023..."} 
[2026-09-05 04:33:08] local.INFO: Processing buffer {"connection_id":171241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ea5a2c0012d34c9c006aa3d28000f008023..."} 
[2026-09-05 04:33:08] local.INFO: Packet analysis {"connection_id":171241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ea5"} 
[2026-09-05 04:33:08] local.INFO: Extracted packet for processing {"connection_id":171241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ea5"} 
[2026-09-05 04:33:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":15,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871985408001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788562744000,"timestamp_ms":1788562744000,"timestamp_seconds":1788562744,"priority":1,"record_length":96,"hex_timestamp":"000001a06ea5a2c0"} 
[2026-09-05 04:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:33: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-09-05 04:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 04: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-09-05 04:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 04:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871985408001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871985408001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:33:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:33:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871985408001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":171241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:33:08] local.INFO: GPS data processed {"connection_id":171241,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:33:08] local.INFO: Acknowledgment sent {"connection_id":171241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:33:13] local.INFO: TCP Data received {"connection_id":171241,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ea5a2c0012d34c9c006aa3d28000f008023..."} 
[2026-09-05 04:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ea5a2c0012d34c9c006aa3d28000f008023..."} 
[2026-09-05 04:33:13] local.INFO: Processing buffer {"connection_id":171241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ea5a2c0012d34c9c006aa3d28000f008023..."} 
[2026-09-05 04:33:13] local.INFO: Packet analysis {"connection_id":171241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ea5"} 
[2026-09-05 04:33:13] local.INFO: Extracted packet for processing {"connection_id":171241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ea5"} 
[2026-09-05 04:33:13] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":15,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871985408001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788562744000,"timestamp_ms":1788562744000,"timestamp_seconds":1788562744,"priority":1,"record_length":96,"hex_timestamp":"000001a06ea5a2c0"} 
[2026-09-05 04:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 04:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:33:13] 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-09-05 04:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 04:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871985408001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871985408001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:33:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:33:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871985408001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":171241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:33:13] local.INFO: GPS data processed {"connection_id":171241,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:33:13] local.INFO: Acknowledgment sent {"connection_id":171241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:33:57] local.INFO: TCP Data received {"connection_id":172644,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:33:57] local.INFO: Processing buffer {"connection_id":172644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:33:57] local.INFO: IMEI packet received {"connection_id":172644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":172644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:34:02] local.INFO: TCP Data received {"connection_id":172644,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:34:02] local.INFO: Processing buffer {"connection_id":172644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:34:02] local.INFO: IMEI packet received {"connection_id":172644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":172644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:34:03] local.INFO: TCP Data received {"connection_id":172644,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ea5a2c0012d34c9c006aa3d28000f008023..."} 
[2026-09-05 04:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ea5a2c0012d34c9c006aa3d28000f008023..."} 
[2026-09-05 04:34:03] local.INFO: Processing buffer {"connection_id":172644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ea5a2c0012d34c9c006aa3d28000f008023..."} 
[2026-09-05 04:34:03] local.INFO: Packet analysis {"connection_id":172644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ea5"} 
[2026-09-05 04:34:03] local.INFO: Extracted packet for processing {"connection_id":172644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ea5"} 
[2026-09-05 04:34:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":15,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 04:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871985408001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788562744000,"timestamp_ms":1788562744000,"timestamp_seconds":1788562744,"priority":1,"record_length":96,"hex_timestamp":"000001a06ea5a2c0"} 
[2026-09-05 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-09-05 04:34: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-09-05 04:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:34: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-09-05 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-09-05 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-09-05 04:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 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-09-05 04:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871985408001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871985408001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:34:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:34:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871985408001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":172644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:34:03] local.INFO: GPS data processed {"connection_id":172644,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:34:03] local.INFO: Acknowledgment sent {"connection_id":172644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:34:34] local.INFO: TCP Data received {"connection_id":172644,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ea5a2c0012d34c9c006aa3d28000f008023..."} 
[2026-09-05 04:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ea5a2c0012d34c9c006aa3d28000f008023..."} 
[2026-09-05 04:34:34] local.INFO: Processing buffer {"connection_id":172644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ea5a2c0012d34c9c006aa3d28000f008023..."} 
[2026-09-05 04:34:34] local.INFO: Packet analysis {"connection_id":172644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ea5"} 
[2026-09-05 04:34:34] local.INFO: Extracted packet for processing {"connection_id":172644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ea5"} 
[2026-09-05 04:34:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":15,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457871985408001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788562744000,"timestamp_ms":1788562744000,"timestamp_seconds":1788562744,"priority":1,"record_length":96,"hex_timestamp":"000001a06ea5a2c0"} 
[2026-09-05 04:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:34: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-09-05 04: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:34: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-09-05 04: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-09-05 04:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:34: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-09-05 04:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457871985408001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457871985408001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:34:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:34:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457871985408001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":172644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:34:34] local.INFO: GPS data processed {"connection_id":172644,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:34:34] local.INFO: Acknowledgment sent {"connection_id":172644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:34:57] local.INFO: TCP Data received {"connection_id":171242,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:34:57] local.INFO: Processing buffer {"connection_id":171242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:34:57] local.INFO: IMEI packet received {"connection_id":171242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":171242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:35:02] local.INFO: TCP Data received {"connection_id":171242,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:35:02] local.INFO: Processing buffer {"connection_id":171242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:35:02] local.INFO: IMEI packet received {"connection_id":171242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":171242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:35:03] local.INFO: TCP Data received {"connection_id":171242,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eaa3a88012d34c9c006aa3d280010008022..."} 
[2026-09-05 04:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eaa3a88012d34c9c006aa3d280010008022..."} 
[2026-09-05 04:35:03] local.INFO: Processing buffer {"connection_id":171242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eaa3a88012d34c9c006aa3d280010008022..."} 
[2026-09-05 04:35:03] local.INFO: Packet analysis {"connection_id":171242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eaa"} 
[2026-09-05 04:35:03] local.INFO: Extracted packet for processing {"connection_id":171242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eaa"} 
[2026-09-05 04:35:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872062464001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788563045000,"timestamp_ms":1788563045000,"timestamp_seconds":1788563045,"priority":1,"record_length":96,"hex_timestamp":"000001a06eaa3a88"} 
[2026-09-05 04:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:35: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-09-05 04: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-09-05 04: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-09-05 04: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-09-05 04:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04: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-09-05 04:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872062464001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872062464001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:35:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:35:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872062464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":171242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:35:03] local.INFO: GPS data processed {"connection_id":171242,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:35:03] local.INFO: Acknowledgment sent {"connection_id":171242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:35:34] local.INFO: TCP Data received {"connection_id":171242,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eaa3a88012d34c9c006aa3d280010008022..."} 
[2026-09-05 04:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eaa3a88012d34c9c006aa3d280010008022..."} 
[2026-09-05 04:35:34] local.INFO: Processing buffer {"connection_id":171242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eaa3a88012d34c9c006aa3d280010008022..."} 
[2026-09-05 04:35:34] local.INFO: Packet analysis {"connection_id":171242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eaa"} 
[2026-09-05 04:35:34] local.INFO: Extracted packet for processing {"connection_id":171242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eaa"} 
[2026-09-05 04:35:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872062464001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788563045000,"timestamp_ms":1788563045000,"timestamp_seconds":1788563045,"priority":1,"record_length":96,"hex_timestamp":"000001a06eaa3a88"} 
[2026-09-05 04:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:35: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-09-05 04:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 04:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 04: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-09-05 04:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:35: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-09-05 04:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872062464001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872062464001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:35:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:35:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872062464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":171242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:35:34] local.INFO: GPS data processed {"connection_id":171242,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:35:34] local.INFO: Acknowledgment sent {"connection_id":171242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:35:57] local.INFO: TCP Data received {"connection_id":171540,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:35:57] local.INFO: Processing buffer {"connection_id":171540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:35:57] local.INFO: IMEI packet received {"connection_id":171540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":171540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:36:02] local.INFO: TCP Data received {"connection_id":171540,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:36:02] local.INFO: Processing buffer {"connection_id":171540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:36:02] local.INFO: IMEI packet received {"connection_id":171540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":171540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:36:03] local.INFO: TCP Data received {"connection_id":171540,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eaa3a88012d34c9c006aa3d280010008022..."} 
[2026-09-05 04:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eaa3a88012d34c9c006aa3d280010008022..."} 
[2026-09-05 04:36:03] local.INFO: Processing buffer {"connection_id":171540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eaa3a88012d34c9c006aa3d280010008022..."} 
[2026-09-05 04:36:03] local.INFO: Packet analysis {"connection_id":171540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eaa"} 
[2026-09-05 04:36:03] local.INFO: Extracted packet for processing {"connection_id":171540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eaa"} 
[2026-09-05 04:36:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872062464001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788563045000,"timestamp_ms":1788563045000,"timestamp_seconds":1788563045,"priority":1,"record_length":96,"hex_timestamp":"000001a06eaa3a88"} 
[2026-09-05 04:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04: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-09-05 04: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":53,"data_length":795,"current_offset":136} 
[2026-09-05 04:36: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-09-05 04: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-09-05 04:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:36: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-09-05 04:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872062464001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872062464001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:36:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:36:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872062464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":171540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:36:03] local.INFO: GPS data processed {"connection_id":171540,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:36:03] local.INFO: Acknowledgment sent {"connection_id":171540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:36:27] local.INFO: TCP Data received {"connection_id":172645,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172645,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:36:27] local.INFO: Processing buffer {"connection_id":172645,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:36:27] local.INFO: IMEI packet received {"connection_id":172645,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 04:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":172645,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:36:35] local.INFO: TCP Data received {"connection_id":171540,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eaa3a88012d34c9c006aa3d280010008022..."} 
[2026-09-05 04:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eaa3a88012d34c9c006aa3d280010008022..."} 
[2026-09-05 04:36:35] local.INFO: Processing buffer {"connection_id":171540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eaa3a88012d34c9c006aa3d280010008022..."} 
[2026-09-05 04:36:35] local.INFO: Packet analysis {"connection_id":171540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eaa"} 
[2026-09-05 04:36:35] local.INFO: Extracted packet for processing {"connection_id":171540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eaa"} 
[2026-09-05 04:36:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872062464001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788563045000,"timestamp_ms":1788563045000,"timestamp_seconds":1788563045,"priority":1,"record_length":96,"hex_timestamp":"000001a06eaa3a88"} 
[2026-09-05 04:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:36:35] 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-09-05 04:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 04:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 04: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-09-05 04:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 04:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872062464001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872062464001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:36:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:36:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872062464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":171540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:36:35] local.INFO: GPS data processed {"connection_id":171540,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:36:35] local.INFO: Acknowledgment sent {"connection_id":171540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:36:57] local.INFO: TCP Data received {"connection_id":173932,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:36:57] local.INFO: Processing buffer {"connection_id":173932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:36:57] local.INFO: IMEI packet received {"connection_id":173932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":173932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:37:02] local.INFO: TCP Data received {"connection_id":173932,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:37:02] local.INFO: Processing buffer {"connection_id":173932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:37:02] local.INFO: IMEI packet received {"connection_id":173932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":173932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:37:04] local.INFO: TCP Data received {"connection_id":173932,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eaa3a88012d34c9c006aa3d280010008022..."} 
[2026-09-05 04:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eaa3a88012d34c9c006aa3d280010008022..."} 
[2026-09-05 04:37:04] local.INFO: Processing buffer {"connection_id":173932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eaa3a88012d34c9c006aa3d280010008022..."} 
[2026-09-05 04:37:04] local.INFO: Packet analysis {"connection_id":173932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eaa"} 
[2026-09-05 04:37:04] local.INFO: Extracted packet for processing {"connection_id":173932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eaa"} 
[2026-09-05 04:37:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 04:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872062464001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788563045000,"timestamp_ms":1788563045000,"timestamp_seconds":1788563045,"priority":1,"record_length":96,"hex_timestamp":"000001a06eaa3a88"} 
[2026-09-05 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-09-05 04:37: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-09-05 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 04: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-09-05 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-09-05 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-09-05 04:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:37: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-09-05 04:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872062464001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872062464001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:37:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:37:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872062464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":173932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:37:04] local.INFO: GPS data processed {"connection_id":173932,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:37:04] local.INFO: Acknowledgment sent {"connection_id":173932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:37:35] local.INFO: TCP Data received {"connection_id":173932,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eaa3a88012d34c9c006aa3d280010008022..."} 
[2026-09-05 04:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eaa3a88012d34c9c006aa3d280010008022..."} 
[2026-09-05 04:37:35] local.INFO: Processing buffer {"connection_id":173932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eaa3a88012d34c9c006aa3d280010008022..."} 
[2026-09-05 04:37:35] local.INFO: Packet analysis {"connection_id":173932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eaa"} 
[2026-09-05 04:37:35] local.INFO: Extracted packet for processing {"connection_id":173932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eaa"} 
[2026-09-05 04:37:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872062464001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788563045000,"timestamp_ms":1788563045000,"timestamp_seconds":1788563045,"priority":1,"record_length":96,"hex_timestamp":"000001a06eaa3a88"} 
[2026-09-05 04:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:37:35] 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-09-05 04:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 04:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 04: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-09-05 04:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 04:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872062464001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872062464001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:37:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:37:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872062464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":173932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:37:35] local.INFO: GPS data processed {"connection_id":173932,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:37:35] local.INFO: Acknowledgment sent {"connection_id":173932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:37:57] local.INFO: TCP Data received {"connection_id":172646,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:37:57] local.INFO: Processing buffer {"connection_id":172646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:37:57] local.INFO: IMEI packet received {"connection_id":172646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":172646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:38:02] local.INFO: TCP Data received {"connection_id":172646,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:38:02] local.INFO: Processing buffer {"connection_id":172646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:38:02] local.INFO: IMEI packet received {"connection_id":172646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":172646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:38:03] local.INFO: TCP Data received {"connection_id":172646,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eaa3a88012d34c9c006aa3d280010008022..."} 
[2026-09-05 04:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eaa3a88012d34c9c006aa3d280010008022..."} 
[2026-09-05 04:38:03] local.INFO: Processing buffer {"connection_id":172646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eaa3a88012d34c9c006aa3d280010008022..."} 
[2026-09-05 04:38:03] local.INFO: Packet analysis {"connection_id":172646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eaa"} 
[2026-09-05 04:38:03] local.INFO: Extracted packet for processing {"connection_id":172646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eaa"} 
[2026-09-05 04:38:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872062464001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788563045000,"timestamp_ms":1788563045000,"timestamp_seconds":1788563045,"priority":1,"record_length":96,"hex_timestamp":"000001a06eaa3a88"} 
[2026-09-05 04:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:38: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-09-05 04: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":53,"data_length":795,"current_offset":136} 
[2026-09-05 04:38: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-09-05 04: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-09-05 04:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:38: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-09-05 04:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872062464001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872062464001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:38:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:38:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872062464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":172646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:38:03] local.INFO: GPS data processed {"connection_id":172646,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:38:03] local.INFO: Acknowledgment sent {"connection_id":172646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:38:34] local.INFO: TCP Data received {"connection_id":172646,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eaa3a88012d34c9c006aa3d280010008022..."} 
[2026-09-05 04:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eaa3a88012d34c9c006aa3d280010008022..."} 
[2026-09-05 04:38:34] local.INFO: Processing buffer {"connection_id":172646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eaa3a88012d34c9c006aa3d280010008022..."} 
[2026-09-05 04:38:34] local.INFO: Packet analysis {"connection_id":172646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eaa"} 
[2026-09-05 04:38:34] local.INFO: Extracted packet for processing {"connection_id":172646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eaa"} 
[2026-09-05 04:38:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872062464001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788563045000,"timestamp_ms":1788563045000,"timestamp_seconds":1788563045,"priority":1,"record_length":96,"hex_timestamp":"000001a06eaa3a88"} 
[2026-09-05 04:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04: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-09-05 04:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 04:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 04: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-09-05 04:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:38: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-09-05 04:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872062464001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872062464001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:38:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:38:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872062464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":172646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:38:34] local.INFO: GPS data processed {"connection_id":172646,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:38:34] local.INFO: Acknowledgment sent {"connection_id":172646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:38:57] local.INFO: TCP Data received {"connection_id":173933,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:38:57] local.INFO: Processing buffer {"connection_id":173933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:38:57] local.INFO: IMEI packet received {"connection_id":173933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":173933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:39:02] local.INFO: TCP Data received {"connection_id":173933,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:39:02] local.INFO: Processing buffer {"connection_id":173933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:39:02] local.INFO: IMEI packet received {"connection_id":173933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":173933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:39:03] local.INFO: TCP Data received {"connection_id":173933,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eaa3a88012d34c9c006aa3d280010008022..."} 
[2026-09-05 04:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eaa3a88012d34c9c006aa3d280010008022..."} 
[2026-09-05 04:39:03] local.INFO: Processing buffer {"connection_id":173933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eaa3a88012d34c9c006aa3d280010008022..."} 
[2026-09-05 04:39:03] local.INFO: Packet analysis {"connection_id":173933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eaa"} 
[2026-09-05 04:39:03] local.INFO: Extracted packet for processing {"connection_id":173933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eaa"} 
[2026-09-05 04:39:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872062464001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788563045000,"timestamp_ms":1788563045000,"timestamp_seconds":1788563045,"priority":1,"record_length":96,"hex_timestamp":"000001a06eaa3a88"} 
[2026-09-05 04:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:39: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-09-05 04:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 04: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-09-05 04:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04: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-09-05 04:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872062464001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872062464001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:39:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:39:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872062464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":173933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:39:03] local.INFO: GPS data processed {"connection_id":173933,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:39:03] local.INFO: Acknowledgment sent {"connection_id":173933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:39:34] local.INFO: TCP Data received {"connection_id":173933,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eaa3a88012d34c9c006aa3d280010008022..."} 
[2026-09-05 04:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eaa3a88012d34c9c006aa3d280010008022..."} 
[2026-09-05 04:39:34] local.INFO: Processing buffer {"connection_id":173933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eaa3a88012d34c9c006aa3d280010008022..."} 
[2026-09-05 04:39:34] local.INFO: Packet analysis {"connection_id":173933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eaa"} 
[2026-09-05 04:39:34] local.INFO: Extracted packet for processing {"connection_id":173933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eaa"} 
[2026-09-05 04:39:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872062464001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788563045000,"timestamp_ms":1788563045000,"timestamp_seconds":1788563045,"priority":1,"record_length":96,"hex_timestamp":"000001a06eaa3a88"} 
[2026-09-05 04:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:39: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-09-05 04:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 04:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 04: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-09-05 04:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:39: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-09-05 04:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872062464001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872062464001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:39:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:39:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872062464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":173933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:39:34] local.INFO: GPS data processed {"connection_id":173933,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:39:34] local.INFO: Acknowledgment sent {"connection_id":173933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:39:57] local.INFO: TCP Data received {"connection_id":173934,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:39:57] local.INFO: Processing buffer {"connection_id":173934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:39:57] local.INFO: IMEI packet received {"connection_id":173934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":173934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:40:02] local.INFO: TCP Data received {"connection_id":173934,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:40:02] local.INFO: Processing buffer {"connection_id":173934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:40:02] local.INFO: IMEI packet received {"connection_id":173934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":173934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:40:03] local.INFO: TCP Data received {"connection_id":173934,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eaed250012d34c9c006aa3d280010008020..."} 
[2026-09-05 04:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eaed250012d34c9c006aa3d280010008020..."} 
[2026-09-05 04:40:03] local.INFO: Processing buffer {"connection_id":173934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eaed250012d34c9c006aa3d280010008020..."} 
[2026-09-05 04:40:03] local.INFO: Packet analysis {"connection_id":173934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eae"} 
[2026-09-05 04:40:03] local.INFO: Extracted packet for processing {"connection_id":173934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eae"} 
[2026-09-05 04:40:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872139520001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788563346000,"timestamp_ms":1788563346000,"timestamp_seconds":1788563346,"priority":1,"record_length":96,"hex_timestamp":"000001a06eaed250"} 
[2026-09-05 04:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:40: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-09-05 04:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:40: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-09-05 04:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 04:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872139520001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872139520001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:40:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:40:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872139520001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":173934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:40:03] local.INFO: GPS data processed {"connection_id":173934,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:40:03] local.INFO: Acknowledgment sent {"connection_id":173934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:40:34] local.INFO: TCP Data received {"connection_id":173934,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eaed250012d34c9c006aa3d280010008020..."} 
[2026-09-05 04:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eaed250012d34c9c006aa3d280010008020..."} 
[2026-09-05 04:40:34] local.INFO: Processing buffer {"connection_id":173934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eaed250012d34c9c006aa3d280010008020..."} 
[2026-09-05 04:40:34] local.INFO: Packet analysis {"connection_id":173934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eae"} 
[2026-09-05 04:40:34] local.INFO: Extracted packet for processing {"connection_id":173934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eae"} 
[2026-09-05 04:40:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872139520001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788563346000,"timestamp_ms":1788563346000,"timestamp_seconds":1788563346,"priority":1,"record_length":96,"hex_timestamp":"000001a06eaed250"} 
[2026-09-05 04:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:40: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-09-05 04:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:40: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-09-05 04:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:40: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-09-05 04:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872139520001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872139520001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:40:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:40:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872139520001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":173934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:40:34] local.INFO: GPS data processed {"connection_id":173934,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:40:34] local.INFO: Acknowledgment sent {"connection_id":173934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:40:57] local.INFO: TCP Data received {"connection_id":172647,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:40:57] local.INFO: Processing buffer {"connection_id":172647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:40:57] local.INFO: IMEI packet received {"connection_id":172647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":172647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:41:02] local.INFO: TCP Data received {"connection_id":172647,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:41:02] local.INFO: Processing buffer {"connection_id":172647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:41:02] local.INFO: IMEI packet received {"connection_id":172647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":172647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:41:03] local.INFO: TCP Data received {"connection_id":172647,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eaed250012d34c9c006aa3d280010008020..."} 
[2026-09-05 04:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eaed250012d34c9c006aa3d280010008020..."} 
[2026-09-05 04:41:03] local.INFO: Processing buffer {"connection_id":172647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eaed250012d34c9c006aa3d280010008020..."} 
[2026-09-05 04:41:03] local.INFO: Packet analysis {"connection_id":172647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eae"} 
[2026-09-05 04:41:03] local.INFO: Extracted packet for processing {"connection_id":172647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eae"} 
[2026-09-05 04:41:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872139520001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788563346000,"timestamp_ms":1788563346000,"timestamp_seconds":1788563346,"priority":1,"record_length":96,"hex_timestamp":"000001a06eaed250"} 
[2026-09-05 04:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:41: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-09-05 04:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:41: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-09-05 04:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:41: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-09-05 04:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872139520001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872139520001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:41:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:41:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872139520001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":172647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:41:03] local.INFO: GPS data processed {"connection_id":172647,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:41:03] local.INFO: Acknowledgment sent {"connection_id":172647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:41:34] local.INFO: TCP Data received {"connection_id":172647,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eaed250012d34c9c006aa3d280010008020..."} 
[2026-09-05 04:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eaed250012d34c9c006aa3d280010008020..."} 
[2026-09-05 04:41:34] local.INFO: Processing buffer {"connection_id":172647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eaed250012d34c9c006aa3d280010008020..."} 
[2026-09-05 04:41:34] local.INFO: Packet analysis {"connection_id":172647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eae"} 
[2026-09-05 04:41:34] local.INFO: Extracted packet for processing {"connection_id":172647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eae"} 
[2026-09-05 04:41:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872139520001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788563346000,"timestamp_ms":1788563346000,"timestamp_seconds":1788563346,"priority":1,"record_length":96,"hex_timestamp":"000001a06eaed250"} 
[2026-09-05 04:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:41: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-09-05 04: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-09-05 04: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-09-05 04: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-09-05 04:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:41: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-09-05 04:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872139520001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872139520001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:41:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:41:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872139520001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":172647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:41:34] local.INFO: GPS data processed {"connection_id":172647,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:41:34] local.INFO: Acknowledgment sent {"connection_id":172647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:41:57] local.INFO: TCP Data received {"connection_id":171541,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:41:57] local.INFO: Processing buffer {"connection_id":171541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:41:57] local.INFO: IMEI packet received {"connection_id":171541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":171541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:42:01] local.INFO: TCP Data received {"connection_id":173935,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173935,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:42:01] local.INFO: Processing buffer {"connection_id":173935,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:42:01] local.INFO: IMEI packet received {"connection_id":173935,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 04:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":173935,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:42:02] local.INFO: TCP Data received {"connection_id":171541,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:42:02] local.INFO: Processing buffer {"connection_id":171541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:42:02] local.INFO: IMEI packet received {"connection_id":171541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":171541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:42:04] local.INFO: TCP Data received {"connection_id":171541,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eaed250012d34c9c006aa3d280010008020..."} 
[2026-09-05 04:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eaed250012d34c9c006aa3d280010008020..."} 
[2026-09-05 04:42:04] local.INFO: Processing buffer {"connection_id":171541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eaed250012d34c9c006aa3d280010008020..."} 
[2026-09-05 04:42:04] local.INFO: Packet analysis {"connection_id":171541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eae"} 
[2026-09-05 04:42:04] local.INFO: Extracted packet for processing {"connection_id":171541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eae"} 
[2026-09-05 04:42:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 04:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872139520001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788563346000,"timestamp_ms":1788563346000,"timestamp_seconds":1788563346,"priority":1,"record_length":96,"hex_timestamp":"000001a06eaed250"} 
[2026-09-05 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-09-05 04:42: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-09-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04: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-09-05 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-09-05 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-09-05 04:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:42: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-09-05 04:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872139520001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872139520001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:42:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:42:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872139520001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":171541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:42:04] local.INFO: GPS data processed {"connection_id":171541,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:42:04] local.INFO: Acknowledgment sent {"connection_id":171541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:42:35] local.INFO: TCP Data received {"connection_id":171541,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eaed250012d34c9c006aa3d280010008020..."} 
[2026-09-05 04:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eaed250012d34c9c006aa3d280010008020..."} 
[2026-09-05 04:42:35] local.INFO: Processing buffer {"connection_id":171541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eaed250012d34c9c006aa3d280010008020..."} 
[2026-09-05 04:42:35] local.INFO: Packet analysis {"connection_id":171541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eae"} 
[2026-09-05 04:42:35] local.INFO: Extracted packet for processing {"connection_id":171541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eae"} 
[2026-09-05 04:42:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872139520001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788563346000,"timestamp_ms":1788563346000,"timestamp_seconds":1788563346,"priority":1,"record_length":96,"hex_timestamp":"000001a06eaed250"} 
[2026-09-05 04:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:42:35] 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-09-05 04:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:42: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-09-05 04:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 04:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872139520001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872139520001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:42:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:42:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872139520001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":171541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:42:35] local.INFO: GPS data processed {"connection_id":171541,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:42:35] local.INFO: Acknowledgment sent {"connection_id":171541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:42:57] local.INFO: TCP Data received {"connection_id":173936,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:42:57] local.INFO: Processing buffer {"connection_id":173936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:42:57] local.INFO: IMEI packet received {"connection_id":173936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":173936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:43:02] local.INFO: TCP Data received {"connection_id":173936,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:43:02] local.INFO: Processing buffer {"connection_id":173936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:43:02] local.INFO: IMEI packet received {"connection_id":173936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":173936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:43:03] local.INFO: TCP Data received {"connection_id":173936,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eaed250012d34c9c006aa3d280010008020..."} 
[2026-09-05 04:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eaed250012d34c9c006aa3d280010008020..."} 
[2026-09-05 04:43:03] local.INFO: Processing buffer {"connection_id":173936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eaed250012d34c9c006aa3d280010008020..."} 
[2026-09-05 04:43:03] local.INFO: Packet analysis {"connection_id":173936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eae"} 
[2026-09-05 04:43:03] local.INFO: Extracted packet for processing {"connection_id":173936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eae"} 
[2026-09-05 04:43:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872139520001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788563346000,"timestamp_ms":1788563346000,"timestamp_seconds":1788563346,"priority":1,"record_length":96,"hex_timestamp":"000001a06eaed250"} 
[2026-09-05 04:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:43: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-09-05 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:43: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-09-05 04: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-09-05 04:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:43: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-09-05 04:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872139520001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872139520001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:43:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:43:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872139520001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":173936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:43:03] local.INFO: GPS data processed {"connection_id":173936,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:43:03] local.INFO: Acknowledgment sent {"connection_id":173936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:43:34] local.INFO: TCP Data received {"connection_id":173936,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eaed250012d34c9c006aa3d280010008020..."} 
[2026-09-05 04:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eaed250012d34c9c006aa3d280010008020..."} 
[2026-09-05 04:43:34] local.INFO: Processing buffer {"connection_id":173936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eaed250012d34c9c006aa3d280010008020..."} 
[2026-09-05 04:43:34] local.INFO: Packet analysis {"connection_id":173936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eae"} 
[2026-09-05 04:43:34] local.INFO: Extracted packet for processing {"connection_id":173936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eae"} 
[2026-09-05 04:43:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872139520001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788563346000,"timestamp_ms":1788563346000,"timestamp_seconds":1788563346,"priority":1,"record_length":96,"hex_timestamp":"000001a06eaed250"} 
[2026-09-05 04:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:43: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-09-05 04:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:43: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-09-05 04:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:43: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-09-05 04:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872139520001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872139520001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:43:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:43:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872139520001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":173936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:43:34] local.INFO: GPS data processed {"connection_id":173936,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:43:34] local.INFO: Acknowledgment sent {"connection_id":173936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:43:57] local.INFO: TCP Data received {"connection_id":171243,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:43:57] local.INFO: Processing buffer {"connection_id":171243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:43:57] local.INFO: IMEI packet received {"connection_id":171243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":171243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:44:02] local.INFO: TCP Data received {"connection_id":171243,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:44:02] local.INFO: Processing buffer {"connection_id":171243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:44:02] local.INFO: IMEI packet received {"connection_id":171243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":171243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:44:03] local.INFO: TCP Data received {"connection_id":171243,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eaed250012d34c9c006aa3d280010008020..."} 
[2026-09-05 04:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eaed250012d34c9c006aa3d280010008020..."} 
[2026-09-05 04:44:03] local.INFO: Processing buffer {"connection_id":171243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eaed250012d34c9c006aa3d280010008020..."} 
[2026-09-05 04:44:03] local.INFO: Packet analysis {"connection_id":171243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eae"} 
[2026-09-05 04:44:03] local.INFO: Extracted packet for processing {"connection_id":171243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eae"} 
[2026-09-05 04:44:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872139520001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788563346000,"timestamp_ms":1788563346000,"timestamp_seconds":1788563346,"priority":1,"record_length":96,"hex_timestamp":"000001a06eaed250"} 
[2026-09-05 04:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:44: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-09-05 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:44: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-09-05 04: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-09-05 04:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:44: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-09-05 04:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872139520001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872139520001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:44:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:44:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872139520001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":171243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:44:03] local.INFO: GPS data processed {"connection_id":171243,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:44:03] local.INFO: Acknowledgment sent {"connection_id":171243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:44:34] local.INFO: TCP Data received {"connection_id":171243,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eaed250012d34c9c006aa3d280010008020..."} 
[2026-09-05 04:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eaed250012d34c9c006aa3d280010008020..."} 
[2026-09-05 04:44:34] local.INFO: Processing buffer {"connection_id":171243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eaed250012d34c9c006aa3d280010008020..."} 
[2026-09-05 04:44:34] local.INFO: Packet analysis {"connection_id":171243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eae"} 
[2026-09-05 04:44:34] local.INFO: Extracted packet for processing {"connection_id":171243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eae"} 
[2026-09-05 04:44:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872139520001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788563346000,"timestamp_ms":1788563346000,"timestamp_seconds":1788563346,"priority":1,"record_length":96,"hex_timestamp":"000001a06eaed250"} 
[2026-09-05 04:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:44: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-09-05 04:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:44: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-09-05 04:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:44: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-09-05 04:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872139520001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872139520001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:44:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:44:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872139520001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":171243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:44:34] local.INFO: GPS data processed {"connection_id":171243,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:44:34] local.INFO: Acknowledgment sent {"connection_id":171243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:44:57] local.INFO: TCP Data received {"connection_id":173937,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:44:57] local.INFO: Processing buffer {"connection_id":173937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:44:57] local.INFO: IMEI packet received {"connection_id":173937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":173937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:45:02] local.INFO: TCP Data received {"connection_id":173937,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:45:02] local.INFO: Processing buffer {"connection_id":173937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:45:02] local.INFO: IMEI packet received {"connection_id":173937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":173937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:45:03] local.INFO: TCP Data received {"connection_id":173937,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eb36a18012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eb36a18012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:45:03] local.INFO: Processing buffer {"connection_id":173937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eb36a18012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:45:03] local.INFO: Packet analysis {"connection_id":173937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eb3"} 
[2026-09-05 04:45:03] local.INFO: Extracted packet for processing {"connection_id":173937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eb3"} 
[2026-09-05 04:45:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872216576001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788563647000,"timestamp_ms":1788563647000,"timestamp_seconds":1788563647,"priority":1,"record_length":96,"hex_timestamp":"000001a06eb36a18"} 
[2026-09-05 04:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:45: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-09-05 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:45: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-09-05 04: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-09-05 04:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04: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-09-05 04:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872216576001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872216576001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:45:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:45:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872216576001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":173937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:45:03] local.INFO: GPS data processed {"connection_id":173937,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:45:03] local.INFO: Acknowledgment sent {"connection_id":173937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:45:34] local.INFO: TCP Data received {"connection_id":173937,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eb36a18012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eb36a18012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:45:34] local.INFO: Processing buffer {"connection_id":173937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eb36a18012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:45:34] local.INFO: Packet analysis {"connection_id":173937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eb3"} 
[2026-09-05 04:45:34] local.INFO: Extracted packet for processing {"connection_id":173937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eb3"} 
[2026-09-05 04:45:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872216576001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788563647000,"timestamp_ms":1788563647000,"timestamp_seconds":1788563647,"priority":1,"record_length":96,"hex_timestamp":"000001a06eb36a18"} 
[2026-09-05 04:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:45: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-09-05 04: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-09-05 04: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-09-05 04: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-09-05 04:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:45: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-09-05 04:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872216576001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872216576001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:45:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:45:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872216576001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":173937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:45:34] local.INFO: GPS data processed {"connection_id":173937,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:45:34] local.INFO: Acknowledgment sent {"connection_id":173937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:46:02] local.INFO: TCP Data received {"connection_id":171244,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:46:02] local.INFO: Processing buffer {"connection_id":171244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:46:02] local.INFO: IMEI packet received {"connection_id":171244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":171244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:46:07] local.INFO: TCP Data received {"connection_id":171244,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:46:07] local.INFO: Processing buffer {"connection_id":171244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:46:07] local.INFO: IMEI packet received {"connection_id":171244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":171244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:46:08] local.INFO: TCP Data received {"connection_id":171244,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eb36a18012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eb36a18012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:46:08] local.INFO: Processing buffer {"connection_id":171244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eb36a18012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:46:08] local.INFO: Packet analysis {"connection_id":171244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eb3"} 
[2026-09-05 04:46:08] local.INFO: Extracted packet for processing {"connection_id":171244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eb3"} 
[2026-09-05 04:46:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872216576001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788563647000,"timestamp_ms":1788563647000,"timestamp_seconds":1788563647,"priority":1,"record_length":96,"hex_timestamp":"000001a06eb36a18"} 
[2026-09-05 04:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:46: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-09-05 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:46: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-09-05 04: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-09-05 04:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:46: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-09-05 04:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872216576001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872216576001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:46:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:46:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872216576001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":171244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:46:08] local.INFO: GPS data processed {"connection_id":171244,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:46:08] local.INFO: Acknowledgment sent {"connection_id":171244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:46:13] local.INFO: TCP Data received {"connection_id":171244,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eb36a18012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eb36a18012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:46:13] local.INFO: Processing buffer {"connection_id":171244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eb36a18012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:46:13] local.INFO: Packet analysis {"connection_id":171244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eb3"} 
[2026-09-05 04:46:13] local.INFO: Extracted packet for processing {"connection_id":171244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eb3"} 
[2026-09-05 04:46:13] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:46: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-09-05 04:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872216576001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788563647000,"timestamp_ms":1788563647000,"timestamp_seconds":1788563647,"priority":1,"record_length":96,"hex_timestamp":"000001a06eb36a18"} 
[2026-09-05 04:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 04:46: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-09-05 04:46: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-09-05 04:46: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-09-05 04:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 04:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872216576001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872216576001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:46:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:46:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872216576001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":171244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:46:13] local.INFO: GPS data processed {"connection_id":171244,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:46:13] local.INFO: Acknowledgment sent {"connection_id":171244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:46:57] local.INFO: TCP Data received {"connection_id":171245,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:46:57] local.INFO: Processing buffer {"connection_id":171245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:46:57] local.INFO: IMEI packet received {"connection_id":171245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":171245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:47:02] local.INFO: TCP Data received {"connection_id":171245,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:47:02] local.INFO: Processing buffer {"connection_id":171245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:47:02] local.INFO: IMEI packet received {"connection_id":171245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":171245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:47:03] local.INFO: TCP Data received {"connection_id":171245,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eb36a18012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eb36a18012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:47:03] local.INFO: Processing buffer {"connection_id":171245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eb36a18012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:47:03] local.INFO: Packet analysis {"connection_id":171245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eb3"} 
[2026-09-05 04:47:03] local.INFO: Extracted packet for processing {"connection_id":171245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eb3"} 
[2026-09-05 04:47:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872216576001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788563647000,"timestamp_ms":1788563647000,"timestamp_seconds":1788563647,"priority":1,"record_length":96,"hex_timestamp":"000001a06eb36a18"} 
[2026-09-05 04:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:47: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-09-05 04:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:47: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-09-05 04:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04: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-09-05 04:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872216576001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872216576001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:47:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:47:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872216576001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":171245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:47:03] local.INFO: GPS data processed {"connection_id":171245,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:47:03] local.INFO: Acknowledgment sent {"connection_id":171245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:47:34] local.INFO: TCP Data received {"connection_id":171245,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eb36a18012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eb36a18012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:47:35] local.INFO: Processing buffer {"connection_id":171245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eb36a18012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:47:35] local.INFO: Packet analysis {"connection_id":171245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eb3"} 
[2026-09-05 04:47:35] local.INFO: Extracted packet for processing {"connection_id":171245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eb3"} 
[2026-09-05 04:47:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872216576001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788563647000,"timestamp_ms":1788563647000,"timestamp_seconds":1788563647,"priority":1,"record_length":96,"hex_timestamp":"000001a06eb36a18"} 
[2026-09-05 04:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:47:35] 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-09-05 04:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:47: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-09-05 04:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 04:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872216576001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872216576001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:47:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:47:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872216576001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":171245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:47:35] local.INFO: GPS data processed {"connection_id":171245,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:47:35] local.INFO: Acknowledgment sent {"connection_id":171245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:47:36] local.INFO: TCP Data received {"connection_id":172648,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172648,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:47:36] local.INFO: Processing buffer {"connection_id":172648,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:47:36] local.INFO: IMEI packet received {"connection_id":172648,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 04:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":172648,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:47:57] local.INFO: TCP Data received {"connection_id":173938,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:47:57] local.INFO: Processing buffer {"connection_id":173938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:47:57] local.INFO: IMEI packet received {"connection_id":173938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":173938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:48:02] local.INFO: TCP Data received {"connection_id":173938,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:48:02] local.INFO: Processing buffer {"connection_id":173938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:48:02] local.INFO: IMEI packet received {"connection_id":173938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":173938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:48:03] local.INFO: TCP Data received {"connection_id":173938,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eb36a18012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eb36a18012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:48:03] local.INFO: Processing buffer {"connection_id":173938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eb36a18012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:48:03] local.INFO: Packet analysis {"connection_id":173938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eb3"} 
[2026-09-05 04:48:03] local.INFO: Extracted packet for processing {"connection_id":173938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eb3"} 
[2026-09-05 04:48:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872216576001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788563647000,"timestamp_ms":1788563647000,"timestamp_seconds":1788563647,"priority":1,"record_length":96,"hex_timestamp":"000001a06eb36a18"} 
[2026-09-05 04:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:48: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-09-05 04:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:48: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-09-05 04:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:48: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-09-05 04:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872216576001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872216576001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:48:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:48:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872216576001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":173938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:48:03] local.INFO: GPS data processed {"connection_id":173938,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:48:03] local.INFO: Acknowledgment sent {"connection_id":173938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:48:34] local.INFO: TCP Data received {"connection_id":173938,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eb36a18012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eb36a18012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:48:34] local.INFO: Processing buffer {"connection_id":173938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eb36a18012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:48:34] local.INFO: Packet analysis {"connection_id":173938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eb3"} 
[2026-09-05 04:48:34] local.INFO: Extracted packet for processing {"connection_id":173938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eb3"} 
[2026-09-05 04:48:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872216576001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788563647000,"timestamp_ms":1788563647000,"timestamp_seconds":1788563647,"priority":1,"record_length":96,"hex_timestamp":"000001a06eb36a18"} 
[2026-09-05 04:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:48: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-09-05 04: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-09-05 04: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-09-05 04: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-09-05 04:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:48: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-09-05 04:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872216576001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872216576001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:48:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:48:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872216576001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":173938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:48:34] local.INFO: GPS data processed {"connection_id":173938,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:48:34] local.INFO: Acknowledgment sent {"connection_id":173938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:48:57] local.INFO: TCP Data received {"connection_id":172649,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:48:57] local.INFO: Processing buffer {"connection_id":172649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:48:57] local.INFO: IMEI packet received {"connection_id":172649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":172649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:49:02] local.INFO: TCP Data received {"connection_id":172649,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:49:02] local.INFO: Processing buffer {"connection_id":172649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:49:02] local.INFO: IMEI packet received {"connection_id":172649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":172649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:49:03] local.INFO: TCP Data received {"connection_id":172649,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eb36a18012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eb36a18012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:49:03] local.INFO: Processing buffer {"connection_id":172649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eb36a18012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:49:03] local.INFO: Packet analysis {"connection_id":172649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eb3"} 
[2026-09-05 04:49:03] local.INFO: Extracted packet for processing {"connection_id":172649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eb3"} 
[2026-09-05 04:49:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872216576001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788563647000,"timestamp_ms":1788563647000,"timestamp_seconds":1788563647,"priority":1,"record_length":96,"hex_timestamp":"000001a06eb36a18"} 
[2026-09-05 04:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:49: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-09-05 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:49: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-09-05 04: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-09-05 04:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:49: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-09-05 04:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872216576001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872216576001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:49:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:49:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872216576001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":172649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:49:03] local.INFO: GPS data processed {"connection_id":172649,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:49:03] local.INFO: Acknowledgment sent {"connection_id":172649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:49:34] local.INFO: TCP Data received {"connection_id":172649,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eb36a18012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eb36a18012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:49:34] local.INFO: Processing buffer {"connection_id":172649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eb36a18012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:49:34] local.INFO: Packet analysis {"connection_id":172649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eb3"} 
[2026-09-05 04:49:34] local.INFO: Extracted packet for processing {"connection_id":172649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eb3"} 
[2026-09-05 04:49:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872216576001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788563647000,"timestamp_ms":1788563647000,"timestamp_seconds":1788563647,"priority":1,"record_length":96,"hex_timestamp":"000001a06eb36a18"} 
[2026-09-05 04:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:49: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-09-05 04: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-09-05 04: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-09-05 04: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-09-05 04:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:49: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-09-05 04:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872216576001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872216576001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:49:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:49:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872216576001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":172649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:49:34] local.INFO: GPS data processed {"connection_id":172649,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:49:34] local.INFO: Acknowledgment sent {"connection_id":172649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:49:57] local.INFO: TCP Data received {"connection_id":173939,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:49:57] local.INFO: Processing buffer {"connection_id":173939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:49:57] local.INFO: IMEI packet received {"connection_id":173939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":173939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:50:02] local.INFO: TCP Data received {"connection_id":173939,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:50:02] local.INFO: Processing buffer {"connection_id":173939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:50:02] local.INFO: IMEI packet received {"connection_id":173939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":173939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:50:03] local.INFO: TCP Data received {"connection_id":173939,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eb801e0012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eb801e0012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:50:03] local.INFO: Processing buffer {"connection_id":173939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eb801e0012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:50:03] local.INFO: Packet analysis {"connection_id":173939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eb8"} 
[2026-09-05 04:50:03] local.INFO: Extracted packet for processing {"connection_id":173939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eb8"} 
[2026-09-05 04:50:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872293632001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788563948000,"timestamp_ms":1788563948000,"timestamp_seconds":1788563948,"priority":1,"record_length":96,"hex_timestamp":"000001a06eb801e0"} 
[2026-09-05 04:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:50: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-09-05 04: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":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:50: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-09-05 04: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-09-05 04:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04: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-09-05 04:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872293632001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872293632001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:50:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:50:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872293632001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":173939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:50:03] local.INFO: GPS data processed {"connection_id":173939,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:50:03] local.INFO: Acknowledgment sent {"connection_id":173939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:50:34] local.INFO: TCP Data received {"connection_id":173939,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eb801e0012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eb801e0012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:50:34] local.INFO: Processing buffer {"connection_id":173939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eb801e0012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:50:34] local.INFO: Packet analysis {"connection_id":173939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eb8"} 
[2026-09-05 04:50:34] local.INFO: Extracted packet for processing {"connection_id":173939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eb8"} 
[2026-09-05 04:50:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872293632001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788563948000,"timestamp_ms":1788563948000,"timestamp_seconds":1788563948,"priority":1,"record_length":96,"hex_timestamp":"000001a06eb801e0"} 
[2026-09-05 04:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:50: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-09-05 04:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:50: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-09-05 04: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-09-05 04:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:50: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-09-05 04:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872293632001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872293632001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:50:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:50:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872293632001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":173939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:50:34] local.INFO: GPS data processed {"connection_id":173939,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:50:34] local.INFO: Acknowledgment sent {"connection_id":173939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:51:02] local.INFO: TCP Data received {"connection_id":171246,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:51:02] local.INFO: Processing buffer {"connection_id":171246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:51:02] local.INFO: IMEI packet received {"connection_id":171246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":171246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:51:07] local.INFO: TCP Data received {"connection_id":171246,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:51:07] local.INFO: Processing buffer {"connection_id":171246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:51:07] local.INFO: IMEI packet received {"connection_id":171246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":171246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:51:08] local.INFO: TCP Data received {"connection_id":171246,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eb801e0012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eb801e0012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:51:08] local.INFO: Processing buffer {"connection_id":171246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eb801e0012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:51:08] local.INFO: Packet analysis {"connection_id":171246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eb8"} 
[2026-09-05 04:51:08] local.INFO: Extracted packet for processing {"connection_id":171246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eb8"} 
[2026-09-05 04:51:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872293632001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788563948000,"timestamp_ms":1788563948000,"timestamp_seconds":1788563948,"priority":1,"record_length":96,"hex_timestamp":"000001a06eb801e0"} 
[2026-09-05 04:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:51: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-09-05 04:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 04:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:51: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-09-05 04:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872293632001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872293632001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:51:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:51:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872293632001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":171246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:51:08] local.INFO: GPS data processed {"connection_id":171246,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:51:08] local.INFO: Acknowledgment sent {"connection_id":171246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:51:12] local.INFO: TCP Data received {"connection_id":171246,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eb801e0012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eb801e0012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:51:12] local.INFO: Processing buffer {"connection_id":171246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eb801e0012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:51:12] local.INFO: Packet analysis {"connection_id":171246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eb8"} 
[2026-09-05 04:51:12] local.INFO: Extracted packet for processing {"connection_id":171246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eb8"} 
[2026-09-05 04:51:12] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872293632001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788563948000,"timestamp_ms":1788563948000,"timestamp_seconds":1788563948,"priority":1,"record_length":96,"hex_timestamp":"000001a06eb801e0"} 
[2026-09-05 04:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 04:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 04:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 04:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872293632001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872293632001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:51:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:51:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872293632001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":171246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:51:12] local.INFO: GPS data processed {"connection_id":171246,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:51:12] local.INFO: Acknowledgment sent {"connection_id":171246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:51:57] local.INFO: TCP Data received {"connection_id":172650,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:51:57] local.INFO: Processing buffer {"connection_id":172650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:51:57] local.INFO: IMEI packet received {"connection_id":172650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":172650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:52:02] local.INFO: TCP Data received {"connection_id":172650,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:52:02] local.INFO: Processing buffer {"connection_id":172650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:52:02] local.INFO: IMEI packet received {"connection_id":172650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":172650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:52:03] local.INFO: TCP Data received {"connection_id":172650,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eb801e0012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eb801e0012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:52:03] local.INFO: Processing buffer {"connection_id":172650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eb801e0012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:52:03] local.INFO: Packet analysis {"connection_id":172650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eb8"} 
[2026-09-05 04:52:03] local.INFO: Extracted packet for processing {"connection_id":172650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eb8"} 
[2026-09-05 04:52:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872293632001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788563948000,"timestamp_ms":1788563948000,"timestamp_seconds":1788563948,"priority":1,"record_length":96,"hex_timestamp":"000001a06eb801e0"} 
[2026-09-05 04:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:52: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-09-05 04: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":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:52: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-09-05 04: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-09-05 04:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:52: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-09-05 04:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872293632001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872293632001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:52:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:52:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872293632001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":172650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:52:03] local.INFO: GPS data processed {"connection_id":172650,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:52:03] local.INFO: Acknowledgment sent {"connection_id":172650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:52:08] local.INFO: TCP Data received {"connection_id":172650,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eb801e0012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eb801e0012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:52:08] local.INFO: Processing buffer {"connection_id":172650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eb801e0012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:52:08] local.INFO: Packet analysis {"connection_id":172650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eb8"} 
[2026-09-05 04:52:08] local.INFO: Extracted packet for processing {"connection_id":172650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eb8"} 
[2026-09-05 04:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872293632001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788563948000,"timestamp_ms":1788563948000,"timestamp_seconds":1788563948,"priority":1,"record_length":96,"hex_timestamp":"000001a06eb801e0"} 
[2026-09-05 04:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:52: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-09-05 04:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 04: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-09-05 04:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:52: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-09-05 04:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872293632001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872293632001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:52:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:52:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872293632001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":172650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:52:08] local.INFO: GPS data processed {"connection_id":172650,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:52:08] local.INFO: Acknowledgment sent {"connection_id":172650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:52:39] local.INFO: TCP Data received {"connection_id":172650,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eb801e0012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eb801e0012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:52:39] local.INFO: Processing buffer {"connection_id":172650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eb801e0012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:52:39] local.INFO: Packet analysis {"connection_id":172650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eb8"} 
[2026-09-05 04:52:39] local.INFO: Extracted packet for processing {"connection_id":172650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eb8"} 
[2026-09-05 04:52:39] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:52: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-09-05 04:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872293632001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788563948000,"timestamp_ms":1788563948000,"timestamp_seconds":1788563948,"priority":1,"record_length":96,"hex_timestamp":"000001a06eb801e0"} 
[2026-09-05 04:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:52: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-09-05 04:52: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-09-05 04:52: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-09-05 04:52: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-09-05 04:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 04:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872293632001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872293632001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:52:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:52:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872293632001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":172650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:52:39] local.INFO: GPS data processed {"connection_id":172650,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:52:39] local.INFO: Acknowledgment sent {"connection_id":172650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:52:57] local.INFO: TCP Data received {"connection_id":171543,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:52:57] local.INFO: Processing buffer {"connection_id":171543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:52:57] local.INFO: IMEI packet received {"connection_id":171543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":171543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:53:02] local.INFO: TCP Data received {"connection_id":171543,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:53:02] local.INFO: Processing buffer {"connection_id":171543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:53:02] local.INFO: IMEI packet received {"connection_id":171543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":171543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:53:03] local.INFO: TCP Data received {"connection_id":171543,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eb801e0012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eb801e0012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:53:03] local.INFO: Processing buffer {"connection_id":171543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eb801e0012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:53:03] local.INFO: Packet analysis {"connection_id":171543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eb8"} 
[2026-09-05 04:53:03] local.INFO: Extracted packet for processing {"connection_id":171543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eb8"} 
[2026-09-05 04:53:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872293632001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788563948000,"timestamp_ms":1788563948000,"timestamp_seconds":1788563948,"priority":1,"record_length":96,"hex_timestamp":"000001a06eb801e0"} 
[2026-09-05 04:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:53: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-09-05 04: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":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:53: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-09-05 04: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-09-05 04:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:53: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-09-05 04:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872293632001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872293632001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:53:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:53:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872293632001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":171543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:53:03] local.INFO: GPS data processed {"connection_id":171543,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:53:03] local.INFO: Acknowledgment sent {"connection_id":171543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:53:11] local.INFO: TCP Data received {"connection_id":171542,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171542,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:53:11] local.INFO: Processing buffer {"connection_id":171542,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:53:11] local.INFO: IMEI packet received {"connection_id":171542,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 04:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":171542,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:53:34] local.INFO: TCP Data received {"connection_id":171543,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eb801e0012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eb801e0012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:53:34] local.INFO: Processing buffer {"connection_id":171543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eb801e0012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:53:34] local.INFO: Packet analysis {"connection_id":171543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eb8"} 
[2026-09-05 04:53:34] local.INFO: Extracted packet for processing {"connection_id":171543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eb8"} 
[2026-09-05 04:53:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872293632001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788563948000,"timestamp_ms":1788563948000,"timestamp_seconds":1788563948,"priority":1,"record_length":96,"hex_timestamp":"000001a06eb801e0"} 
[2026-09-05 04:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:53: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-09-05 04:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:53: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-09-05 04:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:53: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-09-05 04:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872293632001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872293632001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:53:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:53:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872293632001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":171543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:53:34] local.INFO: GPS data processed {"connection_id":171543,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:53:34] local.INFO: Acknowledgment sent {"connection_id":171543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:53:57] local.INFO: TCP Data received {"connection_id":171247,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:53:57] local.INFO: Processing buffer {"connection_id":171247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:53:57] local.INFO: IMEI packet received {"connection_id":171247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":171247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:54:02] local.INFO: TCP Data received {"connection_id":171247,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:54:02] local.INFO: Processing buffer {"connection_id":171247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:54:02] local.INFO: IMEI packet received {"connection_id":171247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":171247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:54:03] local.INFO: TCP Data received {"connection_id":171247,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eb801e0012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eb801e0012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:54:03] local.INFO: Processing buffer {"connection_id":171247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eb801e0012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:54:03] local.INFO: Packet analysis {"connection_id":171247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eb8"} 
[2026-09-05 04:54:03] local.INFO: Extracted packet for processing {"connection_id":171247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eb8"} 
[2026-09-05 04:54:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872293632001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788563948000,"timestamp_ms":1788563948000,"timestamp_seconds":1788563948,"priority":1,"record_length":96,"hex_timestamp":"000001a06eb801e0"} 
[2026-09-05 04:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:54: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-09-05 04: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-09-05 04: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-09-05 04: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-09-05 04:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04: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-09-05 04:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872293632001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872293632001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:54:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:54:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872293632001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":171247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:54:03] local.INFO: GPS data processed {"connection_id":171247,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:54:03] local.INFO: Acknowledgment sent {"connection_id":171247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:54:34] local.INFO: TCP Data received {"connection_id":171247,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eb801e0012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eb801e0012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:54:34] local.INFO: Processing buffer {"connection_id":171247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eb801e0012d34c9c006aa3d280010008021..."} 
[2026-09-05 04:54:34] local.INFO: Packet analysis {"connection_id":171247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eb8"} 
[2026-09-05 04:54:34] local.INFO: Extracted packet for processing {"connection_id":171247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eb8"} 
[2026-09-05 04:54:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872293632001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788563948000,"timestamp_ms":1788563948000,"timestamp_seconds":1788563948,"priority":1,"record_length":96,"hex_timestamp":"000001a06eb801e0"} 
[2026-09-05 04:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:54: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-09-05 04:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 04:54: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-09-05 04:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:54: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-09-05 04:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872293632001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872293632001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:54:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:54:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872293632001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":171247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:54:35] local.INFO: GPS data processed {"connection_id":171247,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:54:35] local.INFO: Acknowledgment sent {"connection_id":171247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:54:57] local.INFO: TCP Data received {"connection_id":172651,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:54:57] local.INFO: Processing buffer {"connection_id":172651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:54:57] local.INFO: IMEI packet received {"connection_id":172651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":172651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:55:02] local.INFO: TCP Data received {"connection_id":172651,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:55:02] local.INFO: Processing buffer {"connection_id":172651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:55:02] local.INFO: IMEI packet received {"connection_id":172651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":172651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:55:03] local.INFO: TCP Data received {"connection_id":172651,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ebc99a8012d34c9c006aa3d280010008024..."} 
[2026-09-05 04:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ebc99a8012d34c9c006aa3d280010008024..."} 
[2026-09-05 04:55:03] local.INFO: Processing buffer {"connection_id":172651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ebc99a8012d34c9c006aa3d280010008024..."} 
[2026-09-05 04:55:03] local.INFO: Packet analysis {"connection_id":172651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ebc"} 
[2026-09-05 04:55:03] local.INFO: Extracted packet for processing {"connection_id":172651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ebc"} 
[2026-09-05 04:55:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872370688001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788564249000,"timestamp_ms":1788564249000,"timestamp_seconds":1788564249,"priority":1,"record_length":96,"hex_timestamp":"000001a06ebc99a8"} 
[2026-09-05 04:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:55: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-09-05 04:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 04:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04: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-09-05 04:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872370688001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872370688001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:55:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:55:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872370688001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":172651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:55:03] local.INFO: GPS data processed {"connection_id":172651,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:55:03] local.INFO: Acknowledgment sent {"connection_id":172651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:55:34] local.INFO: TCP Data received {"connection_id":172651,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ebc99a8012d34c9c006aa3d280010008024..."} 
[2026-09-05 04:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ebc99a8012d34c9c006aa3d280010008024..."} 
[2026-09-05 04:55:34] local.INFO: Processing buffer {"connection_id":172651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ebc99a8012d34c9c006aa3d280010008024..."} 
[2026-09-05 04:55:34] local.INFO: Packet analysis {"connection_id":172651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ebc"} 
[2026-09-05 04:55:34] local.INFO: Extracted packet for processing {"connection_id":172651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ebc"} 
[2026-09-05 04:55:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872370688001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788564249000,"timestamp_ms":1788564249000,"timestamp_seconds":1788564249,"priority":1,"record_length":96,"hex_timestamp":"000001a06ebc99a8"} 
[2026-09-05 04:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:55: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-09-05 04:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 04:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:55: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-09-05 04:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872370688001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872370688001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:55:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:55:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872370688001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":172651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:55:34] local.INFO: GPS data processed {"connection_id":172651,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:55:34] local.INFO: Acknowledgment sent {"connection_id":172651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:55:57] local.INFO: TCP Data received {"connection_id":171248,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:55:57] local.INFO: Processing buffer {"connection_id":171248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:55:57] local.INFO: IMEI packet received {"connection_id":171248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":171248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:56:02] local.INFO: TCP Data received {"connection_id":171248,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:56:02] local.INFO: Processing buffer {"connection_id":171248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:56:02] local.INFO: IMEI packet received {"connection_id":171248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":171248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:56:03] local.INFO: TCP Data received {"connection_id":171248,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ebc99a8012d34c9c006aa3d280010008024..."} 
[2026-09-05 04:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ebc99a8012d34c9c006aa3d280010008024..."} 
[2026-09-05 04:56:03] local.INFO: Processing buffer {"connection_id":171248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ebc99a8012d34c9c006aa3d280010008024..."} 
[2026-09-05 04:56:03] local.INFO: Packet analysis {"connection_id":171248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ebc"} 
[2026-09-05 04:56:03] local.INFO: Extracted packet for processing {"connection_id":171248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ebc"} 
[2026-09-05 04:56:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872370688001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788564249000,"timestamp_ms":1788564249000,"timestamp_seconds":1788564249,"priority":1,"record_length":96,"hex_timestamp":"000001a06ebc99a8"} 
[2026-09-05 04:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:56: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-09-05 04:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 04: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-09-05 04:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:56: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-09-05 04:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872370688001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872370688001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:56:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:56:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872370688001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":171248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:56:03] local.INFO: GPS data processed {"connection_id":171248,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:56:03] local.INFO: Acknowledgment sent {"connection_id":171248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:56:38] local.INFO: TCP Data received {"connection_id":171248,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ebc99a8012d34c9c006aa3d280010008024..."} 
[2026-09-05 04:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ebc99a8012d34c9c006aa3d280010008024..."} 
[2026-09-05 04:56:38] local.INFO: Processing buffer {"connection_id":171248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ebc99a8012d34c9c006aa3d280010008024..."} 
[2026-09-05 04:56:38] local.INFO: Packet analysis {"connection_id":171248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ebc"} 
[2026-09-05 04:56:38] local.INFO: Extracted packet for processing {"connection_id":171248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ebc"} 
[2026-09-05 04:56:38] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872370688001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788564249000,"timestamp_ms":1788564249000,"timestamp_seconds":1788564249,"priority":1,"record_length":96,"hex_timestamp":"000001a06ebc99a8"} 
[2026-09-05 04:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:56: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-09-05 04: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":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:56: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-09-05 04: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-09-05 04:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:56: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-09-05 04:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872370688001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872370688001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:56:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:56:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872370688001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":171248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:56:38] local.INFO: GPS data processed {"connection_id":171248,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:56:38] local.INFO: Acknowledgment sent {"connection_id":171248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:56:57] local.INFO: TCP Data received {"connection_id":171544,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:56:57] local.INFO: Processing buffer {"connection_id":171544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:56:57] local.INFO: IMEI packet received {"connection_id":171544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":171544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:57:02] local.INFO: TCP Data received {"connection_id":171544,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:57:02] local.INFO: Processing buffer {"connection_id":171544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:57:02] local.INFO: IMEI packet received {"connection_id":171544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":171544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:57:03] local.INFO: TCP Data received {"connection_id":171544,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ebc99a8012d34c9c006aa3d280010008024..."} 
[2026-09-05 04:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ebc99a8012d34c9c006aa3d280010008024..."} 
[2026-09-05 04:57:03] local.INFO: Processing buffer {"connection_id":171544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ebc99a8012d34c9c006aa3d280010008024..."} 
[2026-09-05 04:57:03] local.INFO: Packet analysis {"connection_id":171544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ebc"} 
[2026-09-05 04:57:03] local.INFO: Extracted packet for processing {"connection_id":171544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ebc"} 
[2026-09-05 04:57:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872370688001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788564249000,"timestamp_ms":1788564249000,"timestamp_seconds":1788564249,"priority":1,"record_length":96,"hex_timestamp":"000001a06ebc99a8"} 
[2026-09-05 04:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:57: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-09-05 04:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 04: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-09-05 04:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04: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-09-05 04:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872370688001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872370688001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:57:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:57:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872370688001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":171544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:57:03] local.INFO: GPS data processed {"connection_id":171544,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:57:03] local.INFO: Acknowledgment sent {"connection_id":171544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:57:34] local.INFO: TCP Data received {"connection_id":171544,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ebc99a8012d34c9c006aa3d280010008024..."} 
[2026-09-05 04:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ebc99a8012d34c9c006aa3d280010008024..."} 
[2026-09-05 04:57:34] local.INFO: Processing buffer {"connection_id":171544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ebc99a8012d34c9c006aa3d280010008024..."} 
[2026-09-05 04:57:34] local.INFO: Packet analysis {"connection_id":171544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ebc"} 
[2026-09-05 04:57:34] local.INFO: Extracted packet for processing {"connection_id":171544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ebc"} 
[2026-09-05 04:57:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872370688001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788564249000,"timestamp_ms":1788564249000,"timestamp_seconds":1788564249,"priority":1,"record_length":96,"hex_timestamp":"000001a06ebc99a8"} 
[2026-09-05 04:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:57: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-09-05 04:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04: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-09-05 04:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:57: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-09-05 04:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872370688001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872370688001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:57:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:57:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872370688001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":171544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:57:34] local.INFO: GPS data processed {"connection_id":171544,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:57:34] local.INFO: Acknowledgment sent {"connection_id":171544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:58:02] local.INFO: TCP Data received {"connection_id":171545,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:58:02] local.INFO: Processing buffer {"connection_id":171545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:58:02] local.INFO: IMEI packet received {"connection_id":171545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":171545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:58:07] local.INFO: TCP Data received {"connection_id":171545,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:58:07] local.INFO: Processing buffer {"connection_id":171545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:58:07] local.INFO: IMEI packet received {"connection_id":171545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":171545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:58:08] local.INFO: TCP Data received {"connection_id":171545,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ebc99a8012d34c9c006aa3d280010008024..."} 
[2026-09-05 04:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ebc99a8012d34c9c006aa3d280010008024..."} 
[2026-09-05 04:58:08] local.INFO: Processing buffer {"connection_id":171545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ebc99a8012d34c9c006aa3d280010008024..."} 
[2026-09-05 04:58:08] local.INFO: Packet analysis {"connection_id":171545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ebc"} 
[2026-09-05 04:58:08] local.INFO: Extracted packet for processing {"connection_id":171545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ebc"} 
[2026-09-05 04:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04: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-09-05 04:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872370688001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788564249000,"timestamp_ms":1788564249000,"timestamp_seconds":1788564249,"priority":1,"record_length":96,"hex_timestamp":"000001a06ebc99a8"} 
[2026-09-05 04:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:58: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-09-05 04:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 04: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-09-05 04:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:58: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-09-05 04:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872370688001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872370688001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:58:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:58:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872370688001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":171545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:58:08] local.INFO: GPS data processed {"connection_id":171545,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:58:08] local.INFO: Acknowledgment sent {"connection_id":171545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:58:13] local.INFO: TCP Data received {"connection_id":171545,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ebc99a8012d34c9c006aa3d280010008024..."} 
[2026-09-05 04:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ebc99a8012d34c9c006aa3d280010008024..."} 
[2026-09-05 04:58:13] local.INFO: Processing buffer {"connection_id":171545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ebc99a8012d34c9c006aa3d280010008024..."} 
[2026-09-05 04:58:13] local.INFO: Packet analysis {"connection_id":171545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ebc"} 
[2026-09-05 04:58:13] local.INFO: Extracted packet for processing {"connection_id":171545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ebc"} 
[2026-09-05 04:58:13] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872370688001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788564249000,"timestamp_ms":1788564249000,"timestamp_seconds":1788564249,"priority":1,"record_length":96,"hex_timestamp":"000001a06ebc99a8"} 
[2026-09-05 04:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 04:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 04:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 04:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872370688001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872370688001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:58:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:58:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872370688001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":171545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:58:13] local.INFO: GPS data processed {"connection_id":171545,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:58:13] local.INFO: Acknowledgment sent {"connection_id":171545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:58:46] local.INFO: TCP Data received {"connection_id":173940,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173940,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:58:46] local.INFO: Processing buffer {"connection_id":173940,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 04:58:46] local.INFO: IMEI packet received {"connection_id":173940,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 04:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":173940,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:58:57] local.INFO: TCP Data received {"connection_id":171546,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:58:57] local.INFO: Processing buffer {"connection_id":171546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:58:57] local.INFO: IMEI packet received {"connection_id":171546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":171546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 04:59:02] local.INFO: TCP Data received {"connection_id":171546,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:59:02] local.INFO: Processing buffer {"connection_id":171546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:59:02] local.INFO: IMEI packet received {"connection_id":171546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 04:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":171546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 04:59:03] local.INFO: TCP Data received {"connection_id":171546,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ebc99a8012d34c9c006aa3d280010008024..."} 
[2026-09-05 04:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ebc99a8012d34c9c006aa3d280010008024..."} 
[2026-09-05 04:59:03] local.INFO: Processing buffer {"connection_id":171546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ebc99a8012d34c9c006aa3d280010008024..."} 
[2026-09-05 04:59:03] local.INFO: Packet analysis {"connection_id":171546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ebc"} 
[2026-09-05 04:59:03] local.INFO: Extracted packet for processing {"connection_id":171546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ebc"} 
[2026-09-05 04:59:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872370688001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788564249000,"timestamp_ms":1788564249000,"timestamp_seconds":1788564249,"priority":1,"record_length":96,"hex_timestamp":"000001a06ebc99a8"} 
[2026-09-05 04:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:59: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-09-05 04:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:59: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-09-05 04:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04: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-09-05 04:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872370688001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872370688001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:59:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:59:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872370688001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":171546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:59:03] local.INFO: GPS data processed {"connection_id":171546,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:59:03] local.INFO: Acknowledgment sent {"connection_id":171546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:59:34] local.INFO: TCP Data received {"connection_id":171546,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ebc99a8012d34c9c006aa3d280010008024..."} 
[2026-09-05 04:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ebc99a8012d34c9c006aa3d280010008024..."} 
[2026-09-05 04:59:34] local.INFO: Processing buffer {"connection_id":171546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ebc99a8012d34c9c006aa3d280010008024..."} 
[2026-09-05 04:59:34] local.INFO: Packet analysis {"connection_id":171546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ebc"} 
[2026-09-05 04:59:34] local.INFO: Extracted packet for processing {"connection_id":171546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ebc"} 
[2026-09-05 04:59:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 04:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 04:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872370688001,"note":"Value kept but may cause issues"} 
[2026-09-05 04:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 04:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 04:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 04:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788564249000,"timestamp_ms":1788564249000,"timestamp_seconds":1788564249,"priority":1,"record_length":96,"hex_timestamp":"000001a06ebc99a8"} 
[2026-09-05 04:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 04:59: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-09-05 04:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 04:59: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-09-05 04:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 04:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 04:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 04:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 04:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 04:59: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-09-05 04:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 04:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 04:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872370688001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 04:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 04:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 04:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872370688001,"description":"Unknown IO ID 0"} 
[2026-09-05 04:59:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 04:59:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 04:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 04:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 04:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872370688001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 04:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":171546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 04:59:34] local.INFO: GPS data processed {"connection_id":171546,"processed":1,"errors":0,"total":1} 
[2026-09-05 04:59:34] local.INFO: Acknowledgment sent {"connection_id":171546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 04:59:57] local.INFO: TCP Data received {"connection_id":173941,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:59:57] local.INFO: Processing buffer {"connection_id":173941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 04:59:57] local.INFO: IMEI packet received {"connection_id":173941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 04:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":173941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:00:02] local.INFO: TCP Data received {"connection_id":173941,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:00:02] local.INFO: Processing buffer {"connection_id":173941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:00:02] local.INFO: IMEI packet received {"connection_id":173941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":173941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:00:04] local.INFO: TCP Data received {"connection_id":173941,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ec13170012d34c9c006aa3d28001000801f..."} 
[2026-09-05 05:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ec13170012d34c9c006aa3d28001000801f..."} 
[2026-09-05 05:00:04] local.INFO: Processing buffer {"connection_id":173941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ec13170012d34c9c006aa3d28001000801f..."} 
[2026-09-05 05:00:04] local.INFO: Packet analysis {"connection_id":173941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ec1"} 
[2026-09-05 05:00:04] local.INFO: Extracted packet for processing {"connection_id":173941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ec1"} 
[2026-09-05 05:00:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":31,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 05:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872447744001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788564550000,"timestamp_ms":1788564550000,"timestamp_seconds":1788564550,"priority":1,"record_length":96,"hex_timestamp":"000001a06ec13170"} 
[2026-09-05 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-09-05 05:00: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-09-05 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":31,"data_length":795,"current_offset":136} 
[2026-09-05 05:00: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-09-05 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-09-05 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-09-05 05:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:00: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-09-05 05:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872447744001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872447744001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:00:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:00:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872447744001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":173941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:00:04] local.INFO: GPS data processed {"connection_id":173941,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:00:04] local.INFO: Acknowledgment sent {"connection_id":173941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:00:35] local.INFO: TCP Data received {"connection_id":173941,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ec13170012d34c9c006aa3d28001000801f..."} 
[2026-09-05 05:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ec13170012d34c9c006aa3d28001000801f..."} 
[2026-09-05 05:00:35] local.INFO: Processing buffer {"connection_id":173941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ec13170012d34c9c006aa3d28001000801f..."} 
[2026-09-05 05:00:35] local.INFO: Packet analysis {"connection_id":173941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ec1"} 
[2026-09-05 05:00:35] local.INFO: Extracted packet for processing {"connection_id":173941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ec1"} 
[2026-09-05 05:00:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":31,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 05:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872447744001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788564550000,"timestamp_ms":1788564550000,"timestamp_seconds":1788564550,"priority":1,"record_length":96,"hex_timestamp":"000001a06ec13170"} 
[2026-09-05 05:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:00:35] 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-09-05 05:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 05:00: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-09-05 05:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 05:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 05:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872447744001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872447744001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:00:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:00:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872447744001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":173941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:00:35] local.INFO: GPS data processed {"connection_id":173941,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:00:35] local.INFO: Acknowledgment sent {"connection_id":173941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:00:57] local.INFO: TCP Data received {"connection_id":171250,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:00:57] local.INFO: Processing buffer {"connection_id":171250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:00:57] local.INFO: IMEI packet received {"connection_id":171250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":171250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:01:02] local.INFO: TCP Data received {"connection_id":171250,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:01:02] local.INFO: Processing buffer {"connection_id":171250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:01:02] local.INFO: IMEI packet received {"connection_id":171250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":171250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:01:03] local.INFO: TCP Data received {"connection_id":171250,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ec13170012d34c9c006aa3d28001000801f..."} 
[2026-09-05 05:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ec13170012d34c9c006aa3d28001000801f..."} 
[2026-09-05 05:01:03] local.INFO: Processing buffer {"connection_id":171250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ec13170012d34c9c006aa3d28001000801f..."} 
[2026-09-05 05:01:03] local.INFO: Packet analysis {"connection_id":171250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ec1"} 
[2026-09-05 05:01:03] local.INFO: Extracted packet for processing {"connection_id":171250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ec1"} 
[2026-09-05 05:01:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":31,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872447744001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788564550000,"timestamp_ms":1788564550000,"timestamp_seconds":1788564550,"priority":1,"record_length":96,"hex_timestamp":"000001a06ec13170"} 
[2026-09-05 05:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:01: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-09-05 05: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":31,"data_length":795,"current_offset":136} 
[2026-09-05 05:01: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-09-05 05: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-09-05 05:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:01: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-09-05 05:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872447744001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872447744001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:01:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:01:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872447744001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":171250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:01:03] local.INFO: GPS data processed {"connection_id":171250,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:01:03] local.INFO: Acknowledgment sent {"connection_id":171250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:01:35] local.INFO: TCP Data received {"connection_id":171250,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ec13170012d34c9c006aa3d28001000801f..."} 
[2026-09-05 05:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ec13170012d34c9c006aa3d28001000801f..."} 
[2026-09-05 05:01:35] local.INFO: Processing buffer {"connection_id":171250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ec13170012d34c9c006aa3d28001000801f..."} 
[2026-09-05 05:01:35] local.INFO: Packet analysis {"connection_id":171250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ec1"} 
[2026-09-05 05:01:35] local.INFO: Extracted packet for processing {"connection_id":171250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ec1"} 
[2026-09-05 05:01:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":31,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872447744001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788564550000,"timestamp_ms":1788564550000,"timestamp_seconds":1788564550,"priority":1,"record_length":96,"hex_timestamp":"000001a06ec13170"} 
[2026-09-05 05:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:01:35] 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-09-05 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 05:01: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-09-05 05: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-09-05 05:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 05:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872447744001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872447744001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:01:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:01:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872447744001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":171250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:01:35] local.INFO: GPS data processed {"connection_id":171250,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:01:35] local.INFO: Acknowledgment sent {"connection_id":171250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:01:57] local.INFO: TCP Data received {"connection_id":171547,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:01:57] local.INFO: Processing buffer {"connection_id":171547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:01:57] local.INFO: IMEI packet received {"connection_id":171547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":171547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:02:02] local.INFO: TCP Data received {"connection_id":171547,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:02:02] local.INFO: Processing buffer {"connection_id":171547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:02:02] local.INFO: IMEI packet received {"connection_id":171547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":171547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:02:03] local.INFO: TCP Data received {"connection_id":171547,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ec13170012d34c9c006aa3d28001000801f..."} 
[2026-09-05 05:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ec13170012d34c9c006aa3d28001000801f..."} 
[2026-09-05 05:02:03] local.INFO: Processing buffer {"connection_id":171547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ec13170012d34c9c006aa3d28001000801f..."} 
[2026-09-05 05:02:03] local.INFO: Packet analysis {"connection_id":171547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ec1"} 
[2026-09-05 05:02:03] local.INFO: Extracted packet for processing {"connection_id":171547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ec1"} 
[2026-09-05 05:02:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":31,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 05:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872447744001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788564550000,"timestamp_ms":1788564550000,"timestamp_seconds":1788564550,"priority":1,"record_length":96,"hex_timestamp":"000001a06ec13170"} 
[2026-09-05 05:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:02: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-09-05 05:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 05:02: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-09-05 05:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 05:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:02: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-09-05 05:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872447744001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872447744001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:02:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:02:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872447744001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":171547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:02:03] local.INFO: GPS data processed {"connection_id":171547,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:02:03] local.INFO: Acknowledgment sent {"connection_id":171547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:02:35] local.INFO: TCP Data received {"connection_id":171547,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ec13170012d34c9c006aa3d28001000801f..."} 
[2026-09-05 05:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ec13170012d34c9c006aa3d28001000801f..."} 
[2026-09-05 05:02:35] local.INFO: Processing buffer {"connection_id":171547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ec13170012d34c9c006aa3d28001000801f..."} 
[2026-09-05 05:02:35] local.INFO: Packet analysis {"connection_id":171547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ec1"} 
[2026-09-05 05:02:35] local.INFO: Extracted packet for processing {"connection_id":171547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ec1"} 
[2026-09-05 05:02:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":31,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872447744001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788564550000,"timestamp_ms":1788564550000,"timestamp_seconds":1788564550,"priority":1,"record_length":96,"hex_timestamp":"000001a06ec13170"} 
[2026-09-05 05:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:02:35] 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-09-05 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 05:02: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-09-05 05: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-09-05 05:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 05:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872447744001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872447744001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:02:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:02:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872447744001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":171547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:02:35] local.INFO: GPS data processed {"connection_id":171547,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:02:35] local.INFO: Acknowledgment sent {"connection_id":171547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:02:57] local.INFO: TCP Data received {"connection_id":173942,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:02:57] local.INFO: Processing buffer {"connection_id":173942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:02:57] local.INFO: IMEI packet received {"connection_id":173942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":173942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:03:02] local.INFO: TCP Data received {"connection_id":173942,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:03:02] local.INFO: Processing buffer {"connection_id":173942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:03:02] local.INFO: IMEI packet received {"connection_id":173942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":173942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:03:03] local.INFO: TCP Data received {"connection_id":173942,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ec13170012d34c9c006aa3d28001000801f..."} 
[2026-09-05 05:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ec13170012d34c9c006aa3d28001000801f..."} 
[2026-09-05 05:03:03] local.INFO: Processing buffer {"connection_id":173942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ec13170012d34c9c006aa3d28001000801f..."} 
[2026-09-05 05:03:03] local.INFO: Packet analysis {"connection_id":173942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ec1"} 
[2026-09-05 05:03:03] local.INFO: Extracted packet for processing {"connection_id":173942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ec1"} 
[2026-09-05 05:03:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":31,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 05:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872447744001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788564550000,"timestamp_ms":1788564550000,"timestamp_seconds":1788564550,"priority":1,"record_length":96,"hex_timestamp":"000001a06ec13170"} 
[2026-09-05 05:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:03: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-09-05 05:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 05: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-09-05 05:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 05:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:03: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-09-05 05:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872447744001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872447744001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:03:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:03:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872447744001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":173942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:03:03] local.INFO: GPS data processed {"connection_id":173942,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:03:03] local.INFO: Acknowledgment sent {"connection_id":173942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:03:35] local.INFO: TCP Data received {"connection_id":173942,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ec13170012d34c9c006aa3d28001000801f..."} 
[2026-09-05 05:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ec13170012d34c9c006aa3d28001000801f..."} 
[2026-09-05 05:03:35] local.INFO: Processing buffer {"connection_id":173942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ec13170012d34c9c006aa3d28001000801f..."} 
[2026-09-05 05:03:35] local.INFO: Packet analysis {"connection_id":173942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ec1"} 
[2026-09-05 05:03:35] local.INFO: Extracted packet for processing {"connection_id":173942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ec1"} 
[2026-09-05 05:03:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":31,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 05:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872447744001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788564550000,"timestamp_ms":1788564550000,"timestamp_seconds":1788564550,"priority":1,"record_length":96,"hex_timestamp":"000001a06ec13170"} 
[2026-09-05 05:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:03:35] 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-09-05 05:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 05:03: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-09-05 05:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 05:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 05:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872447744001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872447744001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:03:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:03:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872447744001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":173942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:03:35] local.INFO: GPS data processed {"connection_id":173942,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:03:35] local.INFO: Acknowledgment sent {"connection_id":173942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:03:57] local.INFO: TCP Data received {"connection_id":173943,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:03:57] local.INFO: Processing buffer {"connection_id":173943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:03:57] local.INFO: IMEI packet received {"connection_id":173943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":173943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:04:02] local.INFO: TCP Data received {"connection_id":173943,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:04:02] local.INFO: Processing buffer {"connection_id":173943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:04:02] local.INFO: IMEI packet received {"connection_id":173943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":173943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:04:03] local.INFO: TCP Data received {"connection_id":173943,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ec13170012d34c9c006aa3d28001000801f..."} 
[2026-09-05 05:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ec13170012d34c9c006aa3d28001000801f..."} 
[2026-09-05 05:04:03] local.INFO: Processing buffer {"connection_id":173943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ec13170012d34c9c006aa3d28001000801f..."} 
[2026-09-05 05:04:03] local.INFO: Packet analysis {"connection_id":173943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ec1"} 
[2026-09-05 05:04:03] local.INFO: Extracted packet for processing {"connection_id":173943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ec1"} 
[2026-09-05 05:04:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":31,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872447744001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788564550000,"timestamp_ms":1788564550000,"timestamp_seconds":1788564550,"priority":1,"record_length":96,"hex_timestamp":"000001a06ec13170"} 
[2026-09-05 05:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:04: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-09-05 05: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":31,"data_length":795,"current_offset":136} 
[2026-09-05 05:04: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-09-05 05: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-09-05 05:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:04: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-09-05 05:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872447744001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872447744001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:04:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:04:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872447744001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":173943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:04:03] local.INFO: GPS data processed {"connection_id":173943,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:04:03] local.INFO: Acknowledgment sent {"connection_id":173943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:04:21] local.INFO: TCP Data received {"connection_id":171249,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171249,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:04:21] local.INFO: Processing buffer {"connection_id":171249,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:04:21] local.INFO: IMEI packet received {"connection_id":171249,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 05:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":171249,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:04:34] local.INFO: TCP Data received {"connection_id":173943,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ec13170012d34c9c006aa3d28001000801f..."} 
[2026-09-05 05:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ec13170012d34c9c006aa3d28001000801f..."} 
[2026-09-05 05:04:34] local.INFO: Processing buffer {"connection_id":173943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ec13170012d34c9c006aa3d28001000801f..."} 
[2026-09-05 05:04:34] local.INFO: Packet analysis {"connection_id":173943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ec1"} 
[2026-09-05 05:04:34] local.INFO: Extracted packet for processing {"connection_id":173943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ec1"} 
[2026-09-05 05:04:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":31,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872447744001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788564550000,"timestamp_ms":1788564550000,"timestamp_seconds":1788564550,"priority":1,"record_length":96,"hex_timestamp":"000001a06ec13170"} 
[2026-09-05 05:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:04: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-09-05 05:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 05:04: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-09-05 05: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-09-05 05:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:04: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-09-05 05:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872447744001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872447744001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:04:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:04:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872447744001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":173943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:04:34] local.INFO: GPS data processed {"connection_id":173943,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:04:34] local.INFO: Acknowledgment sent {"connection_id":173943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:05:02] local.INFO: TCP Data received {"connection_id":171548,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:05:02] local.INFO: Processing buffer {"connection_id":171548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:05:02] local.INFO: IMEI packet received {"connection_id":171548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":171548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:05:07] local.INFO: TCP Data received {"connection_id":171548,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:05:07] local.INFO: Processing buffer {"connection_id":171548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:05:07] local.INFO: IMEI packet received {"connection_id":171548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":171548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:05:08] local.INFO: TCP Data received {"connection_id":171548,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ec5c938012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ec5c938012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:05:08] local.INFO: Processing buffer {"connection_id":171548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ec5c938012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:05:08] local.INFO: Packet analysis {"connection_id":171548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ec5"} 
[2026-09-05 05:05:08] local.INFO: Extracted packet for processing {"connection_id":171548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ec5"} 
[2026-09-05 05:05:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 05:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872524800001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788564851000,"timestamp_ms":1788564851000,"timestamp_seconds":1788564851,"priority":1,"record_length":96,"hex_timestamp":"000001a06ec5c938"} 
[2026-09-05 05:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:05: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-09-05 05:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 05:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 05:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 05:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:05: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-09-05 05:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872524800001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872524800001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:05:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:05:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872524800001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":171548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:05:08] local.INFO: GPS data processed {"connection_id":171548,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:05:08] local.INFO: Acknowledgment sent {"connection_id":171548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:05:13] local.INFO: TCP Data received {"connection_id":171548,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ec5c938012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ec5c938012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:05:13] local.INFO: Processing buffer {"connection_id":171548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ec5c938012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:05:13] local.INFO: Packet analysis {"connection_id":171548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ec5"} 
[2026-09-05 05:05:13] local.INFO: Extracted packet for processing {"connection_id":171548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ec5"} 
[2026-09-05 05:05:13] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 05:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872524800001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788564851000,"timestamp_ms":1788564851000,"timestamp_seconds":1788564851,"priority":1,"record_length":96,"hex_timestamp":"000001a06ec5c938"} 
[2026-09-05 05:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 05:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 05:05:13] 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-09-05 05:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 05:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 05:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872524800001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872524800001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:05:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:05:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872524800001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":171548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:05:13] local.INFO: GPS data processed {"connection_id":171548,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:05:13] local.INFO: Acknowledgment sent {"connection_id":171548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:05:57] local.INFO: TCP Data received {"connection_id":173945,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:05:57] local.INFO: Processing buffer {"connection_id":173945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:05:57] local.INFO: IMEI packet received {"connection_id":173945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":173945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:06:02] local.INFO: TCP Data received {"connection_id":173945,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:06:02] local.INFO: Processing buffer {"connection_id":173945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:06:02] local.INFO: IMEI packet received {"connection_id":173945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":173945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:06:03] local.INFO: TCP Data received {"connection_id":173945,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ec5c938012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ec5c938012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:06:03] local.INFO: Processing buffer {"connection_id":173945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ec5c938012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:06:03] local.INFO: Packet analysis {"connection_id":173945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ec5"} 
[2026-09-05 05:06:03] local.INFO: Extracted packet for processing {"connection_id":173945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ec5"} 
[2026-09-05 05:06:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872524800001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788564851000,"timestamp_ms":1788564851000,"timestamp_seconds":1788564851,"priority":1,"record_length":96,"hex_timestamp":"000001a06ec5c938"} 
[2026-09-05 05:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:06: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-09-05 05:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 05:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 05: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-09-05 05:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:06: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-09-05 05:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872524800001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872524800001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:06:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:06:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872524800001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":173945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:06:03] local.INFO: GPS data processed {"connection_id":173945,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:06:03] local.INFO: Acknowledgment sent {"connection_id":173945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:06:34] local.INFO: TCP Data received {"connection_id":173945,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ec5c938012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ec5c938012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:06:34] local.INFO: Processing buffer {"connection_id":173945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ec5c938012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:06:34] local.INFO: Packet analysis {"connection_id":173945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ec5"} 
[2026-09-05 05:06:34] local.INFO: Extracted packet for processing {"connection_id":173945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ec5"} 
[2026-09-05 05:06:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 05:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872524800001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788564851000,"timestamp_ms":1788564851000,"timestamp_seconds":1788564851,"priority":1,"record_length":96,"hex_timestamp":"000001a06ec5c938"} 
[2026-09-05 05:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:06: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-09-05 05:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 05:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 05:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 05:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:06: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-09-05 05:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872524800001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872524800001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:06:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:06:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872524800001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":173945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:06:34] local.INFO: GPS data processed {"connection_id":173945,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:06:34] local.INFO: Acknowledgment sent {"connection_id":173945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:06:57] local.INFO: TCP Data received {"connection_id":171549,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:06:57] local.INFO: Processing buffer {"connection_id":171549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:06:57] local.INFO: IMEI packet received {"connection_id":171549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":171549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:07:02] local.INFO: TCP Data received {"connection_id":171549,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:07:02] local.INFO: Processing buffer {"connection_id":171549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:07:02] local.INFO: IMEI packet received {"connection_id":171549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":171549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:07:03] local.INFO: TCP Data received {"connection_id":171549,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ec5c938012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ec5c938012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:07:03] local.INFO: Processing buffer {"connection_id":171549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ec5c938012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:07:03] local.INFO: Packet analysis {"connection_id":171549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ec5"} 
[2026-09-05 05:07:03] local.INFO: Extracted packet for processing {"connection_id":171549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ec5"} 
[2026-09-05 05:07:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872524800001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788564851000,"timestamp_ms":1788564851000,"timestamp_seconds":1788564851,"priority":1,"record_length":96,"hex_timestamp":"000001a06ec5c938"} 
[2026-09-05 05:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:07: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-09-05 05:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 05:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 05: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-09-05 05:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:07: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-09-05 05:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872524800001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872524800001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:07:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:07:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872524800001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":171549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:07:03] local.INFO: GPS data processed {"connection_id":171549,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:07:03] local.INFO: Acknowledgment sent {"connection_id":171549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:07:34] local.INFO: TCP Data received {"connection_id":171549,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ec5c938012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ec5c938012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:07:34] local.INFO: Processing buffer {"connection_id":171549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ec5c938012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:07:34] local.INFO: Packet analysis {"connection_id":171549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ec5"} 
[2026-09-05 05:07:34] local.INFO: Extracted packet for processing {"connection_id":171549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ec5"} 
[2026-09-05 05:07:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872524800001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788564851000,"timestamp_ms":1788564851000,"timestamp_seconds":1788564851,"priority":1,"record_length":96,"hex_timestamp":"000001a06ec5c938"} 
[2026-09-05 05:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:07: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-09-05 05:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 05:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 05: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-09-05 05:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:07: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-09-05 05:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872524800001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872524800001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:07:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:07:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872524800001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":171549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:07:34] local.INFO: GPS data processed {"connection_id":171549,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:07:34] local.INFO: Acknowledgment sent {"connection_id":171549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:07:57] local.INFO: TCP Data received {"connection_id":172652,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:07:57] local.INFO: Processing buffer {"connection_id":172652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:07:57] local.INFO: IMEI packet received {"connection_id":172652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":172652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:08:02] local.INFO: TCP Data received {"connection_id":172652,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:08:02] local.INFO: Processing buffer {"connection_id":172652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:08:02] local.INFO: IMEI packet received {"connection_id":172652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":172652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:08:03] local.INFO: TCP Data received {"connection_id":172652,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ec5c938012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ec5c938012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:08:03] local.INFO: Processing buffer {"connection_id":172652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ec5c938012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:08:03] local.INFO: Packet analysis {"connection_id":172652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ec5"} 
[2026-09-05 05:08:03] local.INFO: Extracted packet for processing {"connection_id":172652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ec5"} 
[2026-09-05 05:08:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 05:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872524800001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788564851000,"timestamp_ms":1788564851000,"timestamp_seconds":1788564851,"priority":1,"record_length":96,"hex_timestamp":"000001a06ec5c938"} 
[2026-09-05 05:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:08: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-09-05 05:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 05:08: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-09-05 05:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 05:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:08: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-09-05 05:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872524800001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872524800001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:08:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:08:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872524800001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":172652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:08:03] local.INFO: GPS data processed {"connection_id":172652,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:08:03] local.INFO: Acknowledgment sent {"connection_id":172652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:08:34] local.INFO: TCP Data received {"connection_id":172652,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ec5c938012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ec5c938012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:08:34] local.INFO: Processing buffer {"connection_id":172652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ec5c938012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:08:34] local.INFO: Packet analysis {"connection_id":172652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ec5"} 
[2026-09-05 05:08:34] local.INFO: Extracted packet for processing {"connection_id":172652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ec5"} 
[2026-09-05 05:08:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872524800001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788564851000,"timestamp_ms":1788564851000,"timestamp_seconds":1788564851,"priority":1,"record_length":96,"hex_timestamp":"000001a06ec5c938"} 
[2026-09-05 05:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:08: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-09-05 05:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 05:08: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-09-05 05: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-09-05 05:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 05:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872524800001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872524800001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:08:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:08:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872524800001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":172652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:08:34] local.INFO: GPS data processed {"connection_id":172652,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:08:34] local.INFO: Acknowledgment sent {"connection_id":172652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:08:57] local.INFO: TCP Data received {"connection_id":171251,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:08:57] local.INFO: Processing buffer {"connection_id":171251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:08:57] local.INFO: IMEI packet received {"connection_id":171251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":171251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:09:02] local.INFO: TCP Data received {"connection_id":171251,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:09:02] local.INFO: Processing buffer {"connection_id":171251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:09:02] local.INFO: IMEI packet received {"connection_id":171251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":171251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:09:03] local.INFO: TCP Data received {"connection_id":171251,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ec5c938012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ec5c938012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:09:03] local.INFO: Processing buffer {"connection_id":171251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ec5c938012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:09:03] local.INFO: Packet analysis {"connection_id":171251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ec5"} 
[2026-09-05 05:09:03] local.INFO: Extracted packet for processing {"connection_id":171251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ec5"} 
[2026-09-05 05:09:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872524800001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788564851000,"timestamp_ms":1788564851000,"timestamp_seconds":1788564851,"priority":1,"record_length":96,"hex_timestamp":"000001a06ec5c938"} 
[2026-09-05 05:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:09: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-09-05 05:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 05:09: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-09-05 05: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-09-05 05:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05: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-09-05 05:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872524800001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872524800001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:09:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:09:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872524800001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":171251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:09:03] local.INFO: GPS data processed {"connection_id":171251,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:09:03] local.INFO: Acknowledgment sent {"connection_id":171251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:09:35] local.INFO: TCP Data received {"connection_id":171251,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ec5c938012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ec5c938012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:09:35] local.INFO: Processing buffer {"connection_id":171251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ec5c938012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:09:35] local.INFO: Packet analysis {"connection_id":171251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ec5"} 
[2026-09-05 05:09:35] local.INFO: Extracted packet for processing {"connection_id":171251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ec5"} 
[2026-09-05 05:09:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 05:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872524800001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788564851000,"timestamp_ms":1788564851000,"timestamp_seconds":1788564851,"priority":1,"record_length":96,"hex_timestamp":"000001a06ec5c938"} 
[2026-09-05 05:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:09:35] 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-09-05 05:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 05:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 05:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 05:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 05:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872524800001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872524800001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:09:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:09:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872524800001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":171251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:09:35] local.INFO: GPS data processed {"connection_id":171251,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:09:35] local.INFO: Acknowledgment sent {"connection_id":171251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:09:56] local.INFO: TCP Data received {"connection_id":173944,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173944,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:09:56] local.INFO: Processing buffer {"connection_id":173944,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:09:56] local.INFO: IMEI packet received {"connection_id":173944,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 05:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":173944,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:09:57] local.INFO: TCP Data received {"connection_id":171252,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:09:57] local.INFO: Processing buffer {"connection_id":171252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:09:57] local.INFO: IMEI packet received {"connection_id":171252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":171252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:10:02] local.INFO: TCP Data received {"connection_id":171252,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:10:02] local.INFO: Processing buffer {"connection_id":171252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:10:02] local.INFO: IMEI packet received {"connection_id":171252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":171252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:10:03] local.INFO: TCP Data received {"connection_id":171252,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eca6100012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eca6100012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:10:03] local.INFO: Processing buffer {"connection_id":171252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eca6100012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:10:03] local.INFO: Packet analysis {"connection_id":171252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eca"} 
[2026-09-05 05:10:03] local.INFO: Extracted packet for processing {"connection_id":171252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eca"} 
[2026-09-05 05:10:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872601856001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788565152000,"timestamp_ms":1788565152000,"timestamp_seconds":1788565152,"priority":1,"record_length":96,"hex_timestamp":"000001a06eca6100"} 
[2026-09-05 05:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:10: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-09-05 05: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-09-05 05: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-09-05 05: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-09-05 05:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:10: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-09-05 05:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872601856001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872601856001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:10:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:10:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872601856001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":171252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:10:03] local.INFO: GPS data processed {"connection_id":171252,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:10:03] local.INFO: Acknowledgment sent {"connection_id":171252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:10:34] local.INFO: TCP Data received {"connection_id":171252,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eca6100012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eca6100012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:10:34] local.INFO: Processing buffer {"connection_id":171252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eca6100012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:10:34] local.INFO: Packet analysis {"connection_id":171252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eca"} 
[2026-09-05 05:10:34] local.INFO: Extracted packet for processing {"connection_id":171252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eca"} 
[2026-09-05 05:10:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872601856001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788565152000,"timestamp_ms":1788565152000,"timestamp_seconds":1788565152,"priority":1,"record_length":96,"hex_timestamp":"000001a06eca6100"} 
[2026-09-05 05:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:10: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-09-05 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:10: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-09-05 05: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-09-05 05:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:10: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-09-05 05:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872601856001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872601856001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:10:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:10:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872601856001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":171252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:10:34] local.INFO: GPS data processed {"connection_id":171252,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:10:34] local.INFO: Acknowledgment sent {"connection_id":171252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:10:36] local.INFO: TCP Data received {"connection_id":173946,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:10:36] local.INFO: Processing buffer {"connection_id":173946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:10:36] local.INFO: IMEI packet received {"connection_id":173946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 05:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":173946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:10:57] local.INFO: TCP Data received {"connection_id":172653,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:10:57] local.INFO: Processing buffer {"connection_id":172653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:10:57] local.INFO: IMEI packet received {"connection_id":172653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":172653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:11:02] local.INFO: TCP Data received {"connection_id":172653,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:11:02] local.INFO: Processing buffer {"connection_id":172653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:11:02] local.INFO: IMEI packet received {"connection_id":172653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":172653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:11:03] local.INFO: TCP Data received {"connection_id":172653,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eca6100012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eca6100012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:11:04] local.INFO: Processing buffer {"connection_id":172653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eca6100012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:11:04] local.INFO: Packet analysis {"connection_id":172653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eca"} 
[2026-09-05 05:11:04] local.INFO: Extracted packet for processing {"connection_id":172653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eca"} 
[2026-09-05 05:11:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872601856001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788565152000,"timestamp_ms":1788565152000,"timestamp_seconds":1788565152,"priority":1,"record_length":96,"hex_timestamp":"000001a06eca6100"} 
[2026-09-05 05:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:11: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-09-05 05: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":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:11: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-09-05 05: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-09-05 05:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:11: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-09-05 05:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872601856001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872601856001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:11:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:11:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872601856001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":172653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:11:04] local.INFO: GPS data processed {"connection_id":172653,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:11:04] local.INFO: Acknowledgment sent {"connection_id":172653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:11:35] local.INFO: TCP Data received {"connection_id":172653,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eca6100012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eca6100012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:11:35] local.INFO: Processing buffer {"connection_id":172653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eca6100012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:11:35] local.INFO: Packet analysis {"connection_id":172653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eca"} 
[2026-09-05 05:11:35] local.INFO: Extracted packet for processing {"connection_id":172653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eca"} 
[2026-09-05 05:11:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872601856001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788565152000,"timestamp_ms":1788565152000,"timestamp_seconds":1788565152,"priority":1,"record_length":96,"hex_timestamp":"000001a06eca6100"} 
[2026-09-05 05:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:11:35] 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-09-05 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:11: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-09-05 05: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-09-05 05:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 05:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872601856001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872601856001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:11:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:11:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872601856001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":172653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:11:35] local.INFO: GPS data processed {"connection_id":172653,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:11:35] local.INFO: Acknowledgment sent {"connection_id":172653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:11:57] local.INFO: TCP Data received {"connection_id":173947,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:11:57] local.INFO: Processing buffer {"connection_id":173947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:11:57] local.INFO: IMEI packet received {"connection_id":173947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":173947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:12:02] local.INFO: TCP Data received {"connection_id":173947,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:12:02] local.INFO: Processing buffer {"connection_id":173947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:12:02] local.INFO: IMEI packet received {"connection_id":173947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":173947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:12:04] local.INFO: TCP Data received {"connection_id":173947,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eca6100012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eca6100012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:12:04] local.INFO: Processing buffer {"connection_id":173947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eca6100012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:12:04] local.INFO: Packet analysis {"connection_id":173947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eca"} 
[2026-09-05 05:12:04] local.INFO: Extracted packet for processing {"connection_id":173947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eca"} 
[2026-09-05 05:12:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 05:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872601856001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788565152000,"timestamp_ms":1788565152000,"timestamp_seconds":1788565152,"priority":1,"record_length":96,"hex_timestamp":"000001a06eca6100"} 
[2026-09-05 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-09-05 05:12: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-09-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05: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-09-05 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-09-05 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-09-05 05:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:12: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-09-05 05:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872601856001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872601856001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:12:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:12:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872601856001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":173947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:12:04] local.INFO: GPS data processed {"connection_id":173947,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:12:04] local.INFO: Acknowledgment sent {"connection_id":173947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:12:35] local.INFO: TCP Data received {"connection_id":173947,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eca6100012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eca6100012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:12:35] local.INFO: Processing buffer {"connection_id":173947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eca6100012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:12:35] local.INFO: Packet analysis {"connection_id":173947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eca"} 
[2026-09-05 05:12:35] local.INFO: Extracted packet for processing {"connection_id":173947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eca"} 
[2026-09-05 05:12:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872601856001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788565152000,"timestamp_ms":1788565152000,"timestamp_seconds":1788565152,"priority":1,"record_length":96,"hex_timestamp":"000001a06eca6100"} 
[2026-09-05 05:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:12:35] 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-09-05 05:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:12: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-09-05 05: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-09-05 05:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 05:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872601856001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872601856001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:12:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:12:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872601856001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":173947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:12:35] local.INFO: GPS data processed {"connection_id":173947,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:12:35] local.INFO: Acknowledgment sent {"connection_id":173947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:12:57] local.INFO: TCP Data received {"connection_id":171550,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:12:57] local.INFO: Processing buffer {"connection_id":171550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:12:57] local.INFO: IMEI packet received {"connection_id":171550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":171550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:13:02] local.INFO: TCP Data received {"connection_id":171550,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:13:02] local.INFO: Processing buffer {"connection_id":171550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:13:02] local.INFO: IMEI packet received {"connection_id":171550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":171550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:13:03] local.INFO: TCP Data received {"connection_id":171550,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eca6100012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eca6100012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:13:03] local.INFO: Processing buffer {"connection_id":171550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eca6100012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:13:03] local.INFO: Packet analysis {"connection_id":171550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eca"} 
[2026-09-05 05:13:03] local.INFO: Extracted packet for processing {"connection_id":171550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eca"} 
[2026-09-05 05:13:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872601856001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788565152000,"timestamp_ms":1788565152000,"timestamp_seconds":1788565152,"priority":1,"record_length":96,"hex_timestamp":"000001a06eca6100"} 
[2026-09-05 05:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:13: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-09-05 05: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-09-05 05: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-09-05 05: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-09-05 05:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05: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-09-05 05:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872601856001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872601856001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:13:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:13:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872601856001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":171550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:13:03] local.INFO: GPS data processed {"connection_id":171550,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:13:03] local.INFO: Acknowledgment sent {"connection_id":171550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:13:34] local.INFO: TCP Data received {"connection_id":171550,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eca6100012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eca6100012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:13:34] local.INFO: Processing buffer {"connection_id":171550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eca6100012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:13:34] local.INFO: Packet analysis {"connection_id":171550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eca"} 
[2026-09-05 05:13:34] local.INFO: Extracted packet for processing {"connection_id":171550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eca"} 
[2026-09-05 05:13:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872601856001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788565152000,"timestamp_ms":1788565152000,"timestamp_seconds":1788565152,"priority":1,"record_length":96,"hex_timestamp":"000001a06eca6100"} 
[2026-09-05 05:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:13: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-09-05 05: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-09-05 05: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-09-05 05: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-09-05 05:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05: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-09-05 05:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872601856001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872601856001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:13:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:13:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872601856001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":171550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:13:34] local.INFO: GPS data processed {"connection_id":171550,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:13:34] local.INFO: Acknowledgment sent {"connection_id":171550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:13:57] local.INFO: TCP Data received {"connection_id":171253,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:13:57] local.INFO: Processing buffer {"connection_id":171253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:13:57] local.INFO: IMEI packet received {"connection_id":171253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":171253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:14:02] local.INFO: TCP Data received {"connection_id":171253,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:14:02] local.INFO: Processing buffer {"connection_id":171253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:14:02] local.INFO: IMEI packet received {"connection_id":171253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":171253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:14:03] local.INFO: TCP Data received {"connection_id":171253,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eca6100012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eca6100012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:14:03] local.INFO: Processing buffer {"connection_id":171253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eca6100012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:14:03] local.INFO: Packet analysis {"connection_id":171253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eca"} 
[2026-09-05 05:14:03] local.INFO: Extracted packet for processing {"connection_id":171253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eca"} 
[2026-09-05 05:14:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872601856001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788565152000,"timestamp_ms":1788565152000,"timestamp_seconds":1788565152,"priority":1,"record_length":96,"hex_timestamp":"000001a06eca6100"} 
[2026-09-05 05:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:14: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-09-05 05: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-09-05 05: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-09-05 05: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-09-05 05:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:14: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-09-05 05:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872601856001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872601856001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:14:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:14:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872601856001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":171253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:14:03] local.INFO: GPS data processed {"connection_id":171253,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:14:03] local.INFO: Acknowledgment sent {"connection_id":171253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:14:34] local.INFO: TCP Data received {"connection_id":171253,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eca6100012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eca6100012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:14:34] local.INFO: Processing buffer {"connection_id":171253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eca6100012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:14:34] local.INFO: Packet analysis {"connection_id":171253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eca"} 
[2026-09-05 05:14:34] local.INFO: Extracted packet for processing {"connection_id":171253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eca"} 
[2026-09-05 05:14:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872601856001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788565152000,"timestamp_ms":1788565152000,"timestamp_seconds":1788565152,"priority":1,"record_length":96,"hex_timestamp":"000001a06eca6100"} 
[2026-09-05 05:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:14: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-09-05 05: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":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:14: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-09-05 05: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-09-05 05:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:14: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-09-05 05:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872601856001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872601856001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:14:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:14:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872601856001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":171253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:14:34] local.INFO: GPS data processed {"connection_id":171253,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:14:34] local.INFO: Acknowledgment sent {"connection_id":171253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:14:57] local.INFO: TCP Data received {"connection_id":173948,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:14:57] local.INFO: Processing buffer {"connection_id":173948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:14:57] local.INFO: IMEI packet received {"connection_id":173948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":173948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:15:02] local.INFO: TCP Data received {"connection_id":173948,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:15:02] local.INFO: Processing buffer {"connection_id":173948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:15:02] local.INFO: IMEI packet received {"connection_id":173948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":173948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:15:03] local.INFO: TCP Data received {"connection_id":173948,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ecef8c8012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ecef8c8012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:15:03] local.INFO: Processing buffer {"connection_id":173948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ecef8c8012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:15:03] local.INFO: Packet analysis {"connection_id":173948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ece"} 
[2026-09-05 05:15:03] local.INFO: Extracted packet for processing {"connection_id":173948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ece"} 
[2026-09-05 05:15:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872678912001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788565453000,"timestamp_ms":1788565453000,"timestamp_seconds":1788565453,"priority":1,"record_length":96,"hex_timestamp":"000001a06ecef8c8"} 
[2026-09-05 05:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:15: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-09-05 05: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-09-05 05: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-09-05 05: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-09-05 05:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:15: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-09-05 05:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872678912001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872678912001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:15:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:15:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872678912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":173948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:15:03] local.INFO: GPS data processed {"connection_id":173948,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:15:03] local.INFO: Acknowledgment sent {"connection_id":173948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:15:35] local.INFO: TCP Data received {"connection_id":173948,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ecef8c8012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ecef8c8012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:15:35] local.INFO: Processing buffer {"connection_id":173948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ecef8c8012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:15:35] local.INFO: Packet analysis {"connection_id":173948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ece"} 
[2026-09-05 05:15:35] local.INFO: Extracted packet for processing {"connection_id":173948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ece"} 
[2026-09-05 05:15:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 05:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872678912001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788565453000,"timestamp_ms":1788565453000,"timestamp_seconds":1788565453,"priority":1,"record_length":96,"hex_timestamp":"000001a06ecef8c8"} 
[2026-09-05 05:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:15:35] 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-09-05 05:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:15: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-09-05 05:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 05:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 05:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872678912001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872678912001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:15:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:15:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872678912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":173948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:15:35] local.INFO: GPS data processed {"connection_id":173948,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:15:35] local.INFO: Acknowledgment sent {"connection_id":173948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:16:02] local.INFO: TCP Data received {"connection_id":172655,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:16:02] local.INFO: Processing buffer {"connection_id":172655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:16:02] local.INFO: IMEI packet received {"connection_id":172655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":172655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:16:06] local.INFO: TCP Data received {"connection_id":171254,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171254,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:16:06] local.INFO: Processing buffer {"connection_id":171254,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:16:06] local.INFO: IMEI packet received {"connection_id":171254,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 05:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":171254,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:16:07] local.INFO: TCP Data received {"connection_id":172655,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:16:07] local.INFO: Processing buffer {"connection_id":172655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:16:07] local.INFO: IMEI packet received {"connection_id":172655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":172655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:16:08] local.INFO: TCP Data received {"connection_id":172655,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ecef8c8012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ecef8c8012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:16:08] local.INFO: Processing buffer {"connection_id":172655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ecef8c8012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:16:08] local.INFO: Packet analysis {"connection_id":172655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ece"} 
[2026-09-05 05:16:08] local.INFO: Extracted packet for processing {"connection_id":172655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ece"} 
[2026-09-05 05:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872678912001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788565453000,"timestamp_ms":1788565453000,"timestamp_seconds":1788565453,"priority":1,"record_length":96,"hex_timestamp":"000001a06ecef8c8"} 
[2026-09-05 05:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:16: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-09-05 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:16: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-09-05 05: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-09-05 05:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:16: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-09-05 05:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872678912001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872678912001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:16:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:16:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872678912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":172655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:16:08] local.INFO: GPS data processed {"connection_id":172655,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:16:08] local.INFO: Acknowledgment sent {"connection_id":172655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:16:13] local.INFO: TCP Data received {"connection_id":172655,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ecef8c8012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ecef8c8012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:16:13] local.INFO: Processing buffer {"connection_id":172655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ecef8c8012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:16:13] local.INFO: Packet analysis {"connection_id":172655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ece"} 
[2026-09-05 05:16:13] local.INFO: Extracted packet for processing {"connection_id":172655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ece"} 
[2026-09-05 05:16:13] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05:16: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-09-05 05:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872678912001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788565453000,"timestamp_ms":1788565453000,"timestamp_seconds":1788565453,"priority":1,"record_length":96,"hex_timestamp":"000001a06ecef8c8"} 
[2026-09-05 05:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 05:16: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":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 05:16: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-09-05 05:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":172655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":172655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":172655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 05:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872678912001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872678912001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:16:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:16:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872678912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":172655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:16:13] local.INFO: GPS data processed {"connection_id":172655,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:16:13] local.INFO: Acknowledgment sent {"connection_id":172655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:16:57] local.INFO: TCP Data received {"connection_id":172656,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:16:57] local.INFO: Processing buffer {"connection_id":172656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:16:57] local.INFO: IMEI packet received {"connection_id":172656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":172656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:17:02] local.INFO: TCP Data received {"connection_id":172656,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:17:02] local.INFO: Processing buffer {"connection_id":172656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:17:02] local.INFO: IMEI packet received {"connection_id":172656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":172656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:17:03] local.INFO: TCP Data received {"connection_id":172656,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ecef8c8012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ecef8c8012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:17:03] local.INFO: Processing buffer {"connection_id":172656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ecef8c8012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:17:03] local.INFO: Packet analysis {"connection_id":172656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ece"} 
[2026-09-05 05:17:03] local.INFO: Extracted packet for processing {"connection_id":172656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ece"} 
[2026-09-05 05:17:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872678912001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788565453000,"timestamp_ms":1788565453000,"timestamp_seconds":1788565453,"priority":1,"record_length":96,"hex_timestamp":"000001a06ecef8c8"} 
[2026-09-05 05:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:17: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-09-05 05: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-09-05 05: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-09-05 05: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-09-05 05:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05: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-09-05 05:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872678912001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872678912001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:17:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:17:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872678912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":172656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:17:03] local.INFO: GPS data processed {"connection_id":172656,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:17:03] local.INFO: Acknowledgment sent {"connection_id":172656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:17:34] local.INFO: TCP Data received {"connection_id":172656,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ecef8c8012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ecef8c8012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:17:34] local.INFO: Processing buffer {"connection_id":172656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ecef8c8012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:17:34] local.INFO: Packet analysis {"connection_id":172656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ece"} 
[2026-09-05 05:17:34] local.INFO: Extracted packet for processing {"connection_id":172656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ece"} 
[2026-09-05 05:17:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872678912001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788565453000,"timestamp_ms":1788565453000,"timestamp_seconds":1788565453,"priority":1,"record_length":96,"hex_timestamp":"000001a06ecef8c8"} 
[2026-09-05 05:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:17: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-09-05 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:17: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-09-05 05: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-09-05 05:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:17: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-09-05 05:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872678912001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872678912001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:17:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:17:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872678912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":172656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:17:34] local.INFO: GPS data processed {"connection_id":172656,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:17:34] local.INFO: Acknowledgment sent {"connection_id":172656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:17:57] local.INFO: TCP Data received {"connection_id":173949,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:17:57] local.INFO: Processing buffer {"connection_id":173949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:17:57] local.INFO: IMEI packet received {"connection_id":173949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":173949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:18:02] local.INFO: TCP Data received {"connection_id":173949,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:18:02] local.INFO: Processing buffer {"connection_id":173949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:18:02] local.INFO: IMEI packet received {"connection_id":173949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":173949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:18:03] local.INFO: TCP Data received {"connection_id":173949,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ecef8c8012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ecef8c8012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:18:03] local.INFO: Processing buffer {"connection_id":173949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ecef8c8012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:18:03] local.INFO: Packet analysis {"connection_id":173949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ece"} 
[2026-09-05 05:18:03] local.INFO: Extracted packet for processing {"connection_id":173949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ece"} 
[2026-09-05 05:18:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 05:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872678912001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788565453000,"timestamp_ms":1788565453000,"timestamp_seconds":1788565453,"priority":1,"record_length":96,"hex_timestamp":"000001a06ecef8c8"} 
[2026-09-05 05:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:18: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-09-05 05:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05: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-09-05 05:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 05:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:18: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-09-05 05:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872678912001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872678912001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:18:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:18:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872678912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":173949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:18:03] local.INFO: GPS data processed {"connection_id":173949,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:18:03] local.INFO: Acknowledgment sent {"connection_id":173949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:18:35] local.INFO: TCP Data received {"connection_id":173949,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ecef8c8012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ecef8c8012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:18:35] local.INFO: Processing buffer {"connection_id":173949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ecef8c8012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:18:35] local.INFO: Packet analysis {"connection_id":173949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ece"} 
[2026-09-05 05:18:35] local.INFO: Extracted packet for processing {"connection_id":173949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ece"} 
[2026-09-05 05:18:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 05:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872678912001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788565453000,"timestamp_ms":1788565453000,"timestamp_seconds":1788565453,"priority":1,"record_length":96,"hex_timestamp":"000001a06ecef8c8"} 
[2026-09-05 05:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:18:35] 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-09-05 05:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:18: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-09-05 05:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 05:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 05:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872678912001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872678912001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:18:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:18:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872678912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":173949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:18:35] local.INFO: GPS data processed {"connection_id":173949,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:18:35] local.INFO: Acknowledgment sent {"connection_id":173949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:18:57] local.INFO: TCP Data received {"connection_id":171551,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:18:57] local.INFO: Processing buffer {"connection_id":171551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:18:57] local.INFO: IMEI packet received {"connection_id":171551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":171551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:19:02] local.INFO: TCP Data received {"connection_id":171551,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:19:02] local.INFO: Processing buffer {"connection_id":171551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:19:02] local.INFO: IMEI packet received {"connection_id":171551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":171551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:19:03] local.INFO: TCP Data received {"connection_id":171551,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ecef8c8012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ecef8c8012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:19:03] local.INFO: Processing buffer {"connection_id":171551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ecef8c8012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:19:03] local.INFO: Packet analysis {"connection_id":171551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ece"} 
[2026-09-05 05:19:03] local.INFO: Extracted packet for processing {"connection_id":171551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ece"} 
[2026-09-05 05:19:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872678912001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788565453000,"timestamp_ms":1788565453000,"timestamp_seconds":1788565453,"priority":1,"record_length":96,"hex_timestamp":"000001a06ecef8c8"} 
[2026-09-05 05:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:19: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-09-05 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:19: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-09-05 05: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-09-05 05:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05: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-09-05 05:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872678912001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872678912001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:19:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:19:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872678912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":171551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:19:03] local.INFO: GPS data processed {"connection_id":171551,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:19:03] local.INFO: Acknowledgment sent {"connection_id":171551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:19:34] local.INFO: TCP Data received {"connection_id":171551,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ecef8c8012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ecef8c8012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:19:34] local.INFO: Processing buffer {"connection_id":171551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ecef8c8012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:19:34] local.INFO: Packet analysis {"connection_id":171551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ece"} 
[2026-09-05 05:19:34] local.INFO: Extracted packet for processing {"connection_id":171551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ece"} 
[2026-09-05 05:19:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872678912001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788565453000,"timestamp_ms":1788565453000,"timestamp_seconds":1788565453,"priority":1,"record_length":96,"hex_timestamp":"000001a06ecef8c8"} 
[2026-09-05 05:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:19: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-09-05 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:19: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-09-05 05: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-09-05 05:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:19: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-09-05 05:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872678912001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872678912001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:19:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:19:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872678912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":171551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:19:34] local.INFO: GPS data processed {"connection_id":171551,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:19:34] local.INFO: Acknowledgment sent {"connection_id":171551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:19:57] local.INFO: TCP Data received {"connection_id":172657,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:19:57] local.INFO: Processing buffer {"connection_id":172657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:19:57] local.INFO: IMEI packet received {"connection_id":172657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":172657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:20:02] local.INFO: TCP Data received {"connection_id":172657,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:20:02] local.INFO: Processing buffer {"connection_id":172657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:20:02] local.INFO: IMEI packet received {"connection_id":172657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":172657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:20:04] local.INFO: TCP Data received {"connection_id":172657,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ed39090012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ed39090012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:20:04] local.INFO: Processing buffer {"connection_id":172657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ed39090012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:20:04] local.INFO: Packet analysis {"connection_id":172657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ed3"} 
[2026-09-05 05:20:04] local.INFO: Extracted packet for processing {"connection_id":172657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ed3"} 
[2026-09-05 05:20:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 05:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872755968001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788565754000,"timestamp_ms":1788565754000,"timestamp_seconds":1788565754,"priority":1,"record_length":96,"hex_timestamp":"000001a06ed39090"} 
[2026-09-05 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-09-05 05:20: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-09-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 05:20: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-09-05 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-09-05 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-09-05 05:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 05:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872755968001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872755968001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:20:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:20:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872755968001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":172657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:20:04] local.INFO: GPS data processed {"connection_id":172657,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:20:04] local.INFO: Acknowledgment sent {"connection_id":172657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:20:35] local.INFO: TCP Data received {"connection_id":172657,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ed39090012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ed39090012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:20:35] local.INFO: Processing buffer {"connection_id":172657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ed39090012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:20:35] local.INFO: Packet analysis {"connection_id":172657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ed3"} 
[2026-09-05 05:20:35] local.INFO: Extracted packet for processing {"connection_id":172657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ed3"} 
[2026-09-05 05:20:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 05:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872755968001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788565754000,"timestamp_ms":1788565754000,"timestamp_seconds":1788565754,"priority":1,"record_length":96,"hex_timestamp":"000001a06ed39090"} 
[2026-09-05 05:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:20:35] 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-09-05 05:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 05:20: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-09-05 05:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 05:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 05:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872755968001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872755968001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:20:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:20:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872755968001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":172657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:20:35] local.INFO: GPS data processed {"connection_id":172657,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:20:35] local.INFO: Acknowledgment sent {"connection_id":172657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:20:57] local.INFO: TCP Data received {"connection_id":173950,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:20:57] local.INFO: Processing buffer {"connection_id":173950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:20:57] local.INFO: IMEI packet received {"connection_id":173950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":173950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:21:02] local.INFO: TCP Data received {"connection_id":173950,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:21:02] local.INFO: Processing buffer {"connection_id":173950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:21:02] local.INFO: IMEI packet received {"connection_id":173950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":173950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:21:03] local.INFO: TCP Data received {"connection_id":173950,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ed39090012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ed39090012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:21:03] local.INFO: Processing buffer {"connection_id":173950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ed39090012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:21:03] local.INFO: Packet analysis {"connection_id":173950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ed3"} 
[2026-09-05 05:21:03] local.INFO: Extracted packet for processing {"connection_id":173950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ed3"} 
[2026-09-05 05:21:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872755968001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788565754000,"timestamp_ms":1788565754000,"timestamp_seconds":1788565754,"priority":1,"record_length":96,"hex_timestamp":"000001a06ed39090"} 
[2026-09-05 05:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:21: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-09-05 05: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":233,"data_length":795,"current_offset":136} 
[2026-09-05 05:21: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-09-05 05: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-09-05 05:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 05:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872755968001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872755968001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:21:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:21:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872755968001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":173950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:21:03] local.INFO: GPS data processed {"connection_id":173950,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:21:03] local.INFO: Acknowledgment sent {"connection_id":173950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:21:34] local.INFO: TCP Data received {"connection_id":173950,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ed39090012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ed39090012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:21:34] local.INFO: Processing buffer {"connection_id":173950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ed39090012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:21:34] local.INFO: Packet analysis {"connection_id":173950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ed3"} 
[2026-09-05 05:21:34] local.INFO: Extracted packet for processing {"connection_id":173950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ed3"} 
[2026-09-05 05:21:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 05:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872755968001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788565754000,"timestamp_ms":1788565754000,"timestamp_seconds":1788565754,"priority":1,"record_length":96,"hex_timestamp":"000001a06ed39090"} 
[2026-09-05 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-09-05 05:21: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-09-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 05:21: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-09-05 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-09-05 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-09-05 05:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:21: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-09-05 05:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872755968001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872755968001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:21:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:21:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872755968001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":173950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:21:34] local.INFO: GPS data processed {"connection_id":173950,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:21:34] local.INFO: Acknowledgment sent {"connection_id":173950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:21:41] local.INFO: TCP Data received {"connection_id":171255,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171255,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:21:41] local.INFO: Processing buffer {"connection_id":171255,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:21:41] local.INFO: IMEI packet received {"connection_id":171255,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 05:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":171255,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:22:02] local.INFO: TCP Data received {"connection_id":171552,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:22:02] local.INFO: Processing buffer {"connection_id":171552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:22:02] local.INFO: IMEI packet received {"connection_id":171552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":171552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:22:07] local.INFO: TCP Data received {"connection_id":171552,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:22:07] local.INFO: Processing buffer {"connection_id":171552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:22:07] local.INFO: IMEI packet received {"connection_id":171552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":171552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:22:08] local.INFO: TCP Data received {"connection_id":171552,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ed39090012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ed39090012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:22:08] local.INFO: Processing buffer {"connection_id":171552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ed39090012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:22:08] local.INFO: Packet analysis {"connection_id":171552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ed3"} 
[2026-09-05 05:22:08] local.INFO: Extracted packet for processing {"connection_id":171552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ed3"} 
[2026-09-05 05:22:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872755968001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788565754000,"timestamp_ms":1788565754000,"timestamp_seconds":1788565754,"priority":1,"record_length":96,"hex_timestamp":"000001a06ed39090"} 
[2026-09-05 05:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:22: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-09-05 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 05:22: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-09-05 05: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-09-05 05:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:22: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-09-05 05:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872755968001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872755968001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:22:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:22:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872755968001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":171552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:22:08] local.INFO: GPS data processed {"connection_id":171552,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:22:08] local.INFO: Acknowledgment sent {"connection_id":171552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:22:13] local.INFO: TCP Data received {"connection_id":171552,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ed39090012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ed39090012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:22:13] local.INFO: Processing buffer {"connection_id":171552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ed39090012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:22:13] local.INFO: Packet analysis {"connection_id":171552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ed3"} 
[2026-09-05 05:22:13] local.INFO: Extracted packet for processing {"connection_id":171552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ed3"} 
[2026-09-05 05:22:13] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 05:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872755968001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788565754000,"timestamp_ms":1788565754000,"timestamp_seconds":1788565754,"priority":1,"record_length":96,"hex_timestamp":"000001a06ed39090"} 
[2026-09-05 05:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 05:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 05:22: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-09-05 05:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 05:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 05:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872755968001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872755968001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:22:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:22:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872755968001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":171552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:22:13] local.INFO: GPS data processed {"connection_id":171552,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:22:13] local.INFO: Acknowledgment sent {"connection_id":171552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:22:57] local.INFO: TCP Data received {"connection_id":173951,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:22:57] local.INFO: Processing buffer {"connection_id":173951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:22:57] local.INFO: IMEI packet received {"connection_id":173951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":173951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:23:02] local.INFO: TCP Data received {"connection_id":173951,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:23:02] local.INFO: Processing buffer {"connection_id":173951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:23:02] local.INFO: IMEI packet received {"connection_id":173951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":173951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:23:03] local.INFO: TCP Data received {"connection_id":173951,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ed39090012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ed39090012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:23:03] local.INFO: Processing buffer {"connection_id":173951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ed39090012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:23:03] local.INFO: Packet analysis {"connection_id":173951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ed3"} 
[2026-09-05 05:23:03] local.INFO: Extracted packet for processing {"connection_id":173951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ed3"} 
[2026-09-05 05:23:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872755968001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788565754000,"timestamp_ms":1788565754000,"timestamp_seconds":1788565754,"priority":1,"record_length":96,"hex_timestamp":"000001a06ed39090"} 
[2026-09-05 05:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:23: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-09-05 05: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":233,"data_length":795,"current_offset":136} 
[2026-09-05 05:23: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-09-05 05: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-09-05 05:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:23: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-09-05 05:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872755968001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872755968001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:23:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:23:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872755968001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":173951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:23:03] local.INFO: GPS data processed {"connection_id":173951,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:23:03] local.INFO: Acknowledgment sent {"connection_id":173951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:23:35] local.INFO: TCP Data received {"connection_id":173951,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ed39090012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ed39090012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:23:35] local.INFO: Processing buffer {"connection_id":173951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ed39090012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:23:35] local.INFO: Packet analysis {"connection_id":173951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ed3"} 
[2026-09-05 05:23:35] local.INFO: Extracted packet for processing {"connection_id":173951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ed3"} 
[2026-09-05 05:23:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 05:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872755968001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788565754000,"timestamp_ms":1788565754000,"timestamp_seconds":1788565754,"priority":1,"record_length":96,"hex_timestamp":"000001a06ed39090"} 
[2026-09-05 05:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:23:35] 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-09-05 05:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 05:23: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-09-05 05:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 05:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 05:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872755968001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872755968001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:23:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:23:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872755968001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":173951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:23:35] local.INFO: GPS data processed {"connection_id":173951,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:23:35] local.INFO: Acknowledgment sent {"connection_id":173951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:23:57] local.INFO: TCP Data received {"connection_id":171553,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:23:57] local.INFO: Processing buffer {"connection_id":171553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:23:57] local.INFO: IMEI packet received {"connection_id":171553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":171553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:24:02] local.INFO: TCP Data received {"connection_id":171553,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:24:02] local.INFO: Processing buffer {"connection_id":171553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:24:02] local.INFO: IMEI packet received {"connection_id":171553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":171553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:24:03] local.INFO: TCP Data received {"connection_id":171553,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ed39090012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ed39090012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:24:03] local.INFO: Processing buffer {"connection_id":171553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ed39090012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:24:03] local.INFO: Packet analysis {"connection_id":171553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ed3"} 
[2026-09-05 05:24:03] local.INFO: Extracted packet for processing {"connection_id":171553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ed3"} 
[2026-09-05 05:24:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872755968001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788565754000,"timestamp_ms":1788565754000,"timestamp_seconds":1788565754,"priority":1,"record_length":96,"hex_timestamp":"000001a06ed39090"} 
[2026-09-05 05:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:24: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-09-05 05: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-09-05 05: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-09-05 05: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-09-05 05:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05: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-09-05 05:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872755968001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872755968001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:24:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:24:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872755968001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":171553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:24:03] local.INFO: GPS data processed {"connection_id":171553,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:24:03] local.INFO: Acknowledgment sent {"connection_id":171553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:24:35] local.INFO: TCP Data received {"connection_id":171553,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ed39090012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ed39090012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:24:35] local.INFO: Processing buffer {"connection_id":171553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ed39090012d34c9c006aa3d280010008024..."} 
[2026-09-05 05:24:35] local.INFO: Packet analysis {"connection_id":171553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ed3"} 
[2026-09-05 05:24:35] local.INFO: Extracted packet for processing {"connection_id":171553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ed3"} 
[2026-09-05 05:24:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 05:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872755968001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788565754000,"timestamp_ms":1788565754000,"timestamp_seconds":1788565754,"priority":1,"record_length":96,"hex_timestamp":"000001a06ed39090"} 
[2026-09-05 05:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:24:35] 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-09-05 05:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 05:24: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-09-05 05:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 05:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 05:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872755968001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872755968001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:24:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:24:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872755968001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":171553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:24:35] local.INFO: GPS data processed {"connection_id":171553,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:24:35] local.INFO: Acknowledgment sent {"connection_id":171553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:24:57] local.INFO: TCP Data received {"connection_id":172658,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:24:57] local.INFO: Processing buffer {"connection_id":172658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:24:57] local.INFO: IMEI packet received {"connection_id":172658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":172658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:25:02] local.INFO: TCP Data received {"connection_id":172658,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:25:02] local.INFO: Processing buffer {"connection_id":172658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:25:02] local.INFO: IMEI packet received {"connection_id":172658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":172658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:25:03] local.INFO: TCP Data received {"connection_id":172658,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ed82858012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ed82858012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:25:03] local.INFO: Processing buffer {"connection_id":172658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ed82858012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:25:03] local.INFO: Packet analysis {"connection_id":172658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ed8"} 
[2026-09-05 05:25:03] local.INFO: Extracted packet for processing {"connection_id":172658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ed8"} 
[2026-09-05 05:25:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872833024001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788566055000,"timestamp_ms":1788566055000,"timestamp_seconds":1788566055,"priority":1,"record_length":96,"hex_timestamp":"000001a06ed82858"} 
[2026-09-05 05:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:25: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-09-05 05: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-09-05 05: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-09-05 05: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-09-05 05:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05: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-09-05 05:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872833024001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872833024001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:25:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:25:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872833024001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":172658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:25:03] local.INFO: GPS data processed {"connection_id":172658,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:25:03] local.INFO: Acknowledgment sent {"connection_id":172658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:25:34] local.INFO: TCP Data received {"connection_id":172658,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ed82858012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ed82858012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:25:34] local.INFO: Processing buffer {"connection_id":172658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ed82858012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:25:34] local.INFO: Packet analysis {"connection_id":172658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ed8"} 
[2026-09-05 05:25:34] local.INFO: Extracted packet for processing {"connection_id":172658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ed8"} 
[2026-09-05 05:25:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 05:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872833024001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788566055000,"timestamp_ms":1788566055000,"timestamp_seconds":1788566055,"priority":1,"record_length":96,"hex_timestamp":"000001a06ed82858"} 
[2026-09-05 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-09-05 05: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-09-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:25: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-09-05 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-09-05 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-09-05 05:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:25: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-09-05 05:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872833024001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872833024001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:25:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:25:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872833024001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":172658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:25:34] local.INFO: GPS data processed {"connection_id":172658,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:25:34] local.INFO: Acknowledgment sent {"connection_id":172658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:25:57] local.INFO: TCP Data received {"connection_id":172659,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:25:57] local.INFO: Processing buffer {"connection_id":172659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:25:57] local.INFO: IMEI packet received {"connection_id":172659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":172659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:26:02] local.INFO: TCP Data received {"connection_id":172659,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:26:02] local.INFO: Processing buffer {"connection_id":172659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:26:02] local.INFO: IMEI packet received {"connection_id":172659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":172659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:26:03] local.INFO: TCP Data received {"connection_id":172659,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ed82858012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ed82858012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:26:03] local.INFO: Processing buffer {"connection_id":172659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ed82858012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:26:03] local.INFO: Packet analysis {"connection_id":172659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ed8"} 
[2026-09-05 05:26:03] local.INFO: Extracted packet for processing {"connection_id":172659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ed8"} 
[2026-09-05 05:26:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872833024001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788566055000,"timestamp_ms":1788566055000,"timestamp_seconds":1788566055,"priority":1,"record_length":96,"hex_timestamp":"000001a06ed82858"} 
[2026-09-05 05:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:26: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-09-05 05: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-09-05 05: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-09-05 05: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-09-05 05:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05: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-09-05 05:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872833024001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872833024001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:26:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:26:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872833024001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":172659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:26:03] local.INFO: GPS data processed {"connection_id":172659,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:26:03] local.INFO: Acknowledgment sent {"connection_id":172659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:26:34] local.INFO: TCP Data received {"connection_id":172659,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ed82858012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ed82858012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:26:34] local.INFO: Processing buffer {"connection_id":172659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ed82858012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:26:34] local.INFO: Packet analysis {"connection_id":172659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ed8"} 
[2026-09-05 05:26:34] local.INFO: Extracted packet for processing {"connection_id":172659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ed8"} 
[2026-09-05 05:26:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872833024001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788566055000,"timestamp_ms":1788566055000,"timestamp_seconds":1788566055,"priority":1,"record_length":96,"hex_timestamp":"000001a06ed82858"} 
[2026-09-05 05:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05: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-09-05 05:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 05: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-09-05 05:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:26: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-09-05 05:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872833024001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872833024001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:26:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:26:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872833024001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":172659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:26:34] local.INFO: GPS data processed {"connection_id":172659,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:26:34] local.INFO: Acknowledgment sent {"connection_id":172659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:26:57] local.INFO: TCP Data received {"connection_id":171257,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:26:57] local.INFO: Processing buffer {"connection_id":171257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:26:57] local.INFO: IMEI packet received {"connection_id":171257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":171257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:27:02] local.INFO: TCP Data received {"connection_id":171257,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:27:02] local.INFO: Processing buffer {"connection_id":171257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:27:02] local.INFO: IMEI packet received {"connection_id":171257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":171257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:27:03] local.INFO: TCP Data received {"connection_id":171257,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ed82858012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ed82858012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:27:03] local.INFO: Processing buffer {"connection_id":171257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ed82858012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:27:03] local.INFO: Packet analysis {"connection_id":171257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ed8"} 
[2026-09-05 05:27:03] local.INFO: Extracted packet for processing {"connection_id":171257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ed8"} 
[2026-09-05 05:27:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872833024001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788566055000,"timestamp_ms":1788566055000,"timestamp_seconds":1788566055,"priority":1,"record_length":96,"hex_timestamp":"000001a06ed82858"} 
[2026-09-05 05:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:27: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-09-05 05: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-09-05 05: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-09-05 05: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-09-05 05:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05: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-09-05 05:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872833024001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872833024001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:27:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:27:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872833024001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":171257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:27:03] local.INFO: GPS data processed {"connection_id":171257,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:27:03] local.INFO: Acknowledgment sent {"connection_id":171257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:27:16] local.INFO: TCP Data received {"connection_id":171256,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171256,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:27:16] local.INFO: Processing buffer {"connection_id":171256,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:27:16] local.INFO: IMEI packet received {"connection_id":171256,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 05:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":171256,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:27:34] local.INFO: TCP Data received {"connection_id":171257,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ed82858012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ed82858012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:27:34] local.INFO: Processing buffer {"connection_id":171257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ed82858012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:27:34] local.INFO: Packet analysis {"connection_id":171257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ed8"} 
[2026-09-05 05:27:34] local.INFO: Extracted packet for processing {"connection_id":171257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ed8"} 
[2026-09-05 05:27:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872833024001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788566055000,"timestamp_ms":1788566055000,"timestamp_seconds":1788566055,"priority":1,"record_length":96,"hex_timestamp":"000001a06ed82858"} 
[2026-09-05 05:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:27: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-09-05 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:27: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-09-05 05: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-09-05 05:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:27: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-09-05 05:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872833024001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872833024001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:27:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:27:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872833024001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":171257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:27:34] local.INFO: GPS data processed {"connection_id":171257,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:27:34] local.INFO: Acknowledgment sent {"connection_id":171257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:27:57] local.INFO: TCP Data received {"connection_id":172660,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:27:57] local.INFO: Processing buffer {"connection_id":172660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:27:57] local.INFO: IMEI packet received {"connection_id":172660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":172660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:28:02] local.INFO: TCP Data received {"connection_id":172660,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:28:02] local.INFO: Processing buffer {"connection_id":172660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:28:02] local.INFO: IMEI packet received {"connection_id":172660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":172660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:28:03] local.INFO: TCP Data received {"connection_id":172660,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ed82858012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ed82858012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:28:03] local.INFO: Processing buffer {"connection_id":172660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ed82858012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:28:03] local.INFO: Packet analysis {"connection_id":172660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ed8"} 
[2026-09-05 05:28:03] local.INFO: Extracted packet for processing {"connection_id":172660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ed8"} 
[2026-09-05 05:28:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872833024001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788566055000,"timestamp_ms":1788566055000,"timestamp_seconds":1788566055,"priority":1,"record_length":96,"hex_timestamp":"000001a06ed82858"} 
[2026-09-05 05:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:28: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-09-05 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:28: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-09-05 05: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-09-05 05:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:28: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-09-05 05:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872833024001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872833024001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:28:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:28:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872833024001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":172660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:28:03] local.INFO: GPS data processed {"connection_id":172660,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:28:03] local.INFO: Acknowledgment sent {"connection_id":172660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:28:34] local.INFO: TCP Data received {"connection_id":172660,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ed82858012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ed82858012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:28:34] local.INFO: Processing buffer {"connection_id":172660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ed82858012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:28:34] local.INFO: Packet analysis {"connection_id":172660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ed8"} 
[2026-09-05 05:28:34] local.INFO: Extracted packet for processing {"connection_id":172660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ed8"} 
[2026-09-05 05:28:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872833024001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788566055000,"timestamp_ms":1788566055000,"timestamp_seconds":1788566055,"priority":1,"record_length":96,"hex_timestamp":"000001a06ed82858"} 
[2026-09-05 05:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:28: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-09-05 05: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":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:28: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-09-05 05: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-09-05 05:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:28: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-09-05 05:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872833024001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872833024001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:28:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:28:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872833024001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":172660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:28:34] local.INFO: GPS data processed {"connection_id":172660,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:28:34] local.INFO: Acknowledgment sent {"connection_id":172660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:28:57] local.INFO: TCP Data received {"connection_id":172661,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:28:57] local.INFO: Processing buffer {"connection_id":172661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:28:57] local.INFO: IMEI packet received {"connection_id":172661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":172661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:29:02] local.INFO: TCP Data received {"connection_id":172661,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:29:02] local.INFO: Processing buffer {"connection_id":172661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:29:02] local.INFO: IMEI packet received {"connection_id":172661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":172661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:29:03] local.INFO: TCP Data received {"connection_id":172661,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ed82858012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ed82858012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:29:03] local.INFO: Processing buffer {"connection_id":172661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ed82858012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:29:03] local.INFO: Packet analysis {"connection_id":172661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ed8"} 
[2026-09-05 05:29:03] local.INFO: Extracted packet for processing {"connection_id":172661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ed8"} 
[2026-09-05 05:29:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872833024001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788566055000,"timestamp_ms":1788566055000,"timestamp_seconds":1788566055,"priority":1,"record_length":96,"hex_timestamp":"000001a06ed82858"} 
[2026-09-05 05:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:29: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-09-05 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:29: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-09-05 05: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-09-05 05:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:29: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-09-05 05:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872833024001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872833024001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:29:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:29:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872833024001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":172661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:29:03] local.INFO: GPS data processed {"connection_id":172661,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:29:03] local.INFO: Acknowledgment sent {"connection_id":172661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:29:34] local.INFO: TCP Data received {"connection_id":172661,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ed82858012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ed82858012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:29:34] local.INFO: Processing buffer {"connection_id":172661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ed82858012d34c9c006aa3d280010008022..."} 
[2026-09-05 05:29:34] local.INFO: Packet analysis {"connection_id":172661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ed8"} 
[2026-09-05 05:29:34] local.INFO: Extracted packet for processing {"connection_id":172661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ed8"} 
[2026-09-05 05:29:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872833024001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788566055000,"timestamp_ms":1788566055000,"timestamp_seconds":1788566055,"priority":1,"record_length":96,"hex_timestamp":"000001a06ed82858"} 
[2026-09-05 05:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:29: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-09-05 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:29: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-09-05 05: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-09-05 05:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:29: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-09-05 05:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872833024001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872833024001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:29:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:29:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872833024001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":172661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:29:34] local.INFO: GPS data processed {"connection_id":172661,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:29:34] local.INFO: Acknowledgment sent {"connection_id":172661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:30:02] local.INFO: TCP Data received {"connection_id":171554,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:30:02] local.INFO: Processing buffer {"connection_id":171554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:30:02] local.INFO: IMEI packet received {"connection_id":171554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":171554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:30:07] local.INFO: TCP Data received {"connection_id":171554,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:30:07] local.INFO: Processing buffer {"connection_id":171554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:30:07] local.INFO: IMEI packet received {"connection_id":171554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":171554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:30:09] local.INFO: TCP Data received {"connection_id":171554,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06edcc020012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06edcc020012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:30:09] local.INFO: Processing buffer {"connection_id":171554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06edcc020012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:30:09] local.INFO: Packet analysis {"connection_id":171554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06edc"} 
[2026-09-05 05:30:09] local.INFO: Extracted packet for processing {"connection_id":171554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06edc"} 
[2026-09-05 05:30:09] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872910080001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788566356000,"timestamp_ms":1788566356000,"timestamp_seconds":1788566356,"priority":1,"record_length":96,"hex_timestamp":"000001a06edcc020"} 
[2026-09-05 05:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:30: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-09-05 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 05:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 05:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 05:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872910080001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872910080001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:30:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:30:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872910080001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":171554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:30:09] local.INFO: GPS data processed {"connection_id":171554,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:30:09] local.INFO: Acknowledgment sent {"connection_id":171554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:30:12] local.INFO: TCP Data received {"connection_id":171554,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06edcc020012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06edcc020012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:30:12] local.INFO: Processing buffer {"connection_id":171554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06edcc020012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:30:12] local.INFO: Packet analysis {"connection_id":171554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06edc"} 
[2026-09-05 05:30:12] local.INFO: Extracted packet for processing {"connection_id":171554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06edc"} 
[2026-09-05 05:30:12] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 05:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872910080001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788566356000,"timestamp_ms":1788566356000,"timestamp_seconds":1788566356,"priority":1,"record_length":96,"hex_timestamp":"000001a06edcc020"} 
[2026-09-05 05:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 05:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 05:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 05:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 05:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872910080001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872910080001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:30:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:30:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872910080001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":171554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:30:12] local.INFO: GPS data processed {"connection_id":171554,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:30:12] local.INFO: Acknowledgment sent {"connection_id":171554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:30:57] local.INFO: TCP Data received {"connection_id":173952,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:30:57] local.INFO: Processing buffer {"connection_id":173952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:30:57] local.INFO: IMEI packet received {"connection_id":173952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":173952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:31:02] local.INFO: TCP Data received {"connection_id":173952,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:31:02] local.INFO: Processing buffer {"connection_id":173952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:31:02] local.INFO: IMEI packet received {"connection_id":173952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":173952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:31:03] local.INFO: TCP Data received {"connection_id":173952,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06edcc020012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06edcc020012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:31:03] local.INFO: Processing buffer {"connection_id":173952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06edcc020012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:31:03] local.INFO: Packet analysis {"connection_id":173952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06edc"} 
[2026-09-05 05:31:03] local.INFO: Extracted packet for processing {"connection_id":173952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06edc"} 
[2026-09-05 05:31:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872910080001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788566356000,"timestamp_ms":1788566356000,"timestamp_seconds":1788566356,"priority":1,"record_length":96,"hex_timestamp":"000001a06edcc020"} 
[2026-09-05 05:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:31: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-09-05 05: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-09-05 05: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-09-05 05: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-09-05 05:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05: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-09-05 05:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872910080001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872910080001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:31:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:31:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872910080001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":173952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:31:03] local.INFO: GPS data processed {"connection_id":173952,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:31:03] local.INFO: Acknowledgment sent {"connection_id":173952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:31:34] local.INFO: TCP Data received {"connection_id":173952,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06edcc020012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06edcc020012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:31:34] local.INFO: Processing buffer {"connection_id":173952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06edcc020012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:31:34] local.INFO: Packet analysis {"connection_id":173952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06edc"} 
[2026-09-05 05:31:34] local.INFO: Extracted packet for processing {"connection_id":173952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06edc"} 
[2026-09-05 05:31:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872910080001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788566356000,"timestamp_ms":1788566356000,"timestamp_seconds":1788566356,"priority":1,"record_length":96,"hex_timestamp":"000001a06edcc020"} 
[2026-09-05 05:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:31: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-09-05 05: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":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:31: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-09-05 05: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-09-05 05:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:31: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-09-05 05:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872910080001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872910080001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:31:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:31:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872910080001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":173952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:31:34] local.INFO: GPS data processed {"connection_id":173952,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:31:34] local.INFO: Acknowledgment sent {"connection_id":173952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:31:57] local.INFO: TCP Data received {"connection_id":173953,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:31:57] local.INFO: Processing buffer {"connection_id":173953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:31:57] local.INFO: IMEI packet received {"connection_id":173953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":173953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:32:02] local.INFO: TCP Data received {"connection_id":173953,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:32:02] local.INFO: Processing buffer {"connection_id":173953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:32:02] local.INFO: IMEI packet received {"connection_id":173953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":173953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:32:03] local.INFO: TCP Data received {"connection_id":173953,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06edcc020012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06edcc020012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:32:03] local.INFO: Processing buffer {"connection_id":173953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06edcc020012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:32:03] local.INFO: Packet analysis {"connection_id":173953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06edc"} 
[2026-09-05 05:32:03] local.INFO: Extracted packet for processing {"connection_id":173953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06edc"} 
[2026-09-05 05:32:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872910080001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788566356000,"timestamp_ms":1788566356000,"timestamp_seconds":1788566356,"priority":1,"record_length":96,"hex_timestamp":"000001a06edcc020"} 
[2026-09-05 05:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:32: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-09-05 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:32: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-09-05 05: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-09-05 05:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:32: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-09-05 05:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872910080001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872910080001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:32:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:32:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872910080001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":173953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:32:03] local.INFO: GPS data processed {"connection_id":173953,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:32:03] local.INFO: Acknowledgment sent {"connection_id":173953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:32:34] local.INFO: TCP Data received {"connection_id":173953,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06edcc020012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06edcc020012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:32:34] local.INFO: Processing buffer {"connection_id":173953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06edcc020012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:32:34] local.INFO: Packet analysis {"connection_id":173953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06edc"} 
[2026-09-05 05:32:34] local.INFO: Extracted packet for processing {"connection_id":173953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06edc"} 
[2026-09-05 05:32:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872910080001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788566356000,"timestamp_ms":1788566356000,"timestamp_seconds":1788566356,"priority":1,"record_length":96,"hex_timestamp":"000001a06edcc020"} 
[2026-09-05 05:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:32: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-09-05 05: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":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:32: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-09-05 05: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-09-05 05:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:32: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-09-05 05:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872910080001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872910080001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:32:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:32:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872910080001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":173953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:32:34] local.INFO: GPS data processed {"connection_id":173953,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:32:34] local.INFO: Acknowledgment sent {"connection_id":173953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:32:51] local.INFO: TCP Data received {"connection_id":171258,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171258,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:32:51] local.INFO: Processing buffer {"connection_id":171258,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:32:51] local.INFO: IMEI packet received {"connection_id":171258,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 05:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":171258,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:33:02] local.INFO: TCP Data received {"connection_id":171259,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:33:02] local.INFO: Processing buffer {"connection_id":171259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:33:02] local.INFO: IMEI packet received {"connection_id":171259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":171259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:33:07] local.INFO: TCP Data received {"connection_id":171259,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:33:07] local.INFO: Processing buffer {"connection_id":171259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:33:07] local.INFO: IMEI packet received {"connection_id":171259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":171259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:33:08] local.INFO: TCP Data received {"connection_id":171259,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06edcc020012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06edcc020012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:33:08] local.INFO: Processing buffer {"connection_id":171259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06edcc020012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:33:08] local.INFO: Packet analysis {"connection_id":171259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06edc"} 
[2026-09-05 05:33:08] local.INFO: Extracted packet for processing {"connection_id":171259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06edc"} 
[2026-09-05 05:33:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872910080001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788566356000,"timestamp_ms":1788566356000,"timestamp_seconds":1788566356,"priority":1,"record_length":96,"hex_timestamp":"000001a06edcc020"} 
[2026-09-05 05:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:33: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-09-05 05: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":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:33: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-09-05 05: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-09-05 05:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 05:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872910080001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872910080001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:33:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:33:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872910080001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":171259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:33:08] local.INFO: GPS data processed {"connection_id":171259,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:33:08] local.INFO: Acknowledgment sent {"connection_id":171259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:33:13] local.INFO: TCP Data received {"connection_id":171259,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06edcc020012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06edcc020012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:33:13] local.INFO: Processing buffer {"connection_id":171259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06edcc020012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:33:13] local.INFO: Packet analysis {"connection_id":171259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06edc"} 
[2026-09-05 05:33:13] local.INFO: Extracted packet for processing {"connection_id":171259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06edc"} 
[2026-09-05 05:33:13] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 05:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872910080001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788566356000,"timestamp_ms":1788566356000,"timestamp_seconds":1788566356,"priority":1,"record_length":96,"hex_timestamp":"000001a06edcc020"} 
[2026-09-05 05:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 05:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 05:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 05:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 05:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872910080001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872910080001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:33:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:33:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872910080001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":171259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:33:13] local.INFO: GPS data processed {"connection_id":171259,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:33:13] local.INFO: Acknowledgment sent {"connection_id":171259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:34:27] local.INFO: TCP Data received {"connection_id":172662,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:34:27] local.INFO: Processing buffer {"connection_id":172662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:34:27] local.INFO: IMEI packet received {"connection_id":172662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":172662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:34:32] local.INFO: TCP Data received {"connection_id":172662,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:34:32] local.INFO: Processing buffer {"connection_id":172662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:34:32] local.INFO: IMEI packet received {"connection_id":172662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":172662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:34:33] local.INFO: TCP Data received {"connection_id":172662,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06edcc020012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06edcc020012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:34:33] local.INFO: Processing buffer {"connection_id":172662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06edcc020012d34c9c006aa3d280010008023..."} 
[2026-09-05 05:34:33] local.INFO: Packet analysis {"connection_id":172662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06edc"} 
[2026-09-05 05:34:33] local.INFO: Extracted packet for processing {"connection_id":172662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06edc"} 
[2026-09-05 05:34:33] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":16,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872910080001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788566356000,"timestamp_ms":1788566356000,"timestamp_seconds":1788566356,"priority":1,"record_length":96,"hex_timestamp":"000001a06edcc020"} 
[2026-09-05 05:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:34: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-09-05 05: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":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:34: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-09-05 05: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-09-05 05:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05: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-09-05 05:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872910080001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872910080001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:34:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:34:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872910080001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":172662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:34:33] local.INFO: GPS data processed {"connection_id":172662,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:34:33] local.INFO: Acknowledgment sent {"connection_id":172662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:34:57] local.INFO: TCP Data received {"connection_id":173954,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:34:57] local.INFO: Processing buffer {"connection_id":173954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:34:57] local.INFO: IMEI packet received {"connection_id":173954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":173954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:35:02] local.INFO: TCP Data received {"connection_id":173954,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:35:02] local.INFO: Processing buffer {"connection_id":173954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:35:02] local.INFO: IMEI packet received {"connection_id":173954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":173954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:35:03] local.INFO: TCP Data received {"connection_id":173954,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ee157e8012d34c9c006aa3d280018008022..."} 
[2026-09-05 05:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ee157e8012d34c9c006aa3d280018008022..."} 
[2026-09-05 05:35:03] local.INFO: Processing buffer {"connection_id":173954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ee157e8012d34c9c006aa3d280018008022..."} 
[2026-09-05 05:35:03] local.INFO: Packet analysis {"connection_id":173954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ee1"} 
[2026-09-05 05:35:03] local.INFO: Extracted packet for processing {"connection_id":173954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ee1"} 
[2026-09-05 05:35:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":24,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 05:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872987136001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788566657000,"timestamp_ms":1788566657000,"timestamp_seconds":1788566657,"priority":1,"record_length":96,"hex_timestamp":"000001a06ee157e8"} 
[2026-09-05 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-09-05 05:35: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-09-05 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":31,"data_length":795,"current_offset":136} 
[2026-09-05 05:35: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-09-05 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-09-05 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-09-05 05:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 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-09-05 05:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872987136001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872987136001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:35:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:35:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872987136001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":173954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:35:03] local.INFO: GPS data processed {"connection_id":173954,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:35:03] local.INFO: Acknowledgment sent {"connection_id":173954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:35:34] local.INFO: TCP Data received {"connection_id":173954,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ee157e8012d34c9c006aa3d280018008022..."} 
[2026-09-05 05:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ee157e8012d34c9c006aa3d280018008022..."} 
[2026-09-05 05:35:34] local.INFO: Processing buffer {"connection_id":173954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ee157e8012d34c9c006aa3d280018008022..."} 
[2026-09-05 05:35:34] local.INFO: Packet analysis {"connection_id":173954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ee1"} 
[2026-09-05 05:35:34] local.INFO: Extracted packet for processing {"connection_id":173954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ee1"} 
[2026-09-05 05:35:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":24,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872987136001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788566657000,"timestamp_ms":1788566657000,"timestamp_seconds":1788566657,"priority":1,"record_length":96,"hex_timestamp":"000001a06ee157e8"} 
[2026-09-05 05:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:35: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-09-05 05:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 05:35: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-09-05 05: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-09-05 05:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:35: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-09-05 05:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872987136001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872987136001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:35:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:35:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872987136001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":173954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:35:34] local.INFO: GPS data processed {"connection_id":173954,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:35:34] local.INFO: Acknowledgment sent {"connection_id":173954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:35:57] local.INFO: TCP Data received {"connection_id":173956,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:35:57] local.INFO: Processing buffer {"connection_id":173956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:35:57] local.INFO: IMEI packet received {"connection_id":173956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":173956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:36:02] local.INFO: TCP Data received {"connection_id":173956,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:36:02] local.INFO: Processing buffer {"connection_id":173956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:36:02] local.INFO: IMEI packet received {"connection_id":173956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":173956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:36:03] local.INFO: TCP Data received {"connection_id":173956,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ee157e8012d34c9c006aa3d280018008022..."} 
[2026-09-05 05:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ee157e8012d34c9c006aa3d280018008022..."} 
[2026-09-05 05:36:03] local.INFO: Processing buffer {"connection_id":173956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ee157e8012d34c9c006aa3d280018008022..."} 
[2026-09-05 05:36:03] local.INFO: Packet analysis {"connection_id":173956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ee1"} 
[2026-09-05 05:36:03] local.INFO: Extracted packet for processing {"connection_id":173956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ee1"} 
[2026-09-05 05:36:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":24,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872987136001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788566657000,"timestamp_ms":1788566657000,"timestamp_seconds":1788566657,"priority":1,"record_length":96,"hex_timestamp":"000001a06ee157e8"} 
[2026-09-05 05:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05: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-09-05 05: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":31,"data_length":795,"current_offset":136} 
[2026-09-05 05:36: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-09-05 05: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-09-05 05:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:36: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-09-05 05:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872987136001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872987136001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:36:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:36:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872987136001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":173956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:36:03] local.INFO: GPS data processed {"connection_id":173956,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:36:03] local.INFO: Acknowledgment sent {"connection_id":173956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:36:34] local.INFO: TCP Data received {"connection_id":173956,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ee157e8012d34c9c006aa3d280018008022..."} 
[2026-09-05 05:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ee157e8012d34c9c006aa3d280018008022..."} 
[2026-09-05 05:36:34] local.INFO: Processing buffer {"connection_id":173956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ee157e8012d34c9c006aa3d280018008022..."} 
[2026-09-05 05:36:34] local.INFO: Packet analysis {"connection_id":173956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ee1"} 
[2026-09-05 05:36:34] local.INFO: Extracted packet for processing {"connection_id":173956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ee1"} 
[2026-09-05 05:36:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":24,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872987136001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788566657000,"timestamp_ms":1788566657000,"timestamp_seconds":1788566657,"priority":1,"record_length":96,"hex_timestamp":"000001a06ee157e8"} 
[2026-09-05 05:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:36: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-09-05 05:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 05:36: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-09-05 05: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-09-05 05:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:36: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-09-05 05:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872987136001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872987136001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:36:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:36:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872987136001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":173956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:36:34] local.INFO: GPS data processed {"connection_id":173956,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:36:34] local.INFO: Acknowledgment sent {"connection_id":173956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:36:57] local.INFO: TCP Data received {"connection_id":171556,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:36:57] local.INFO: Processing buffer {"connection_id":171556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:36:57] local.INFO: IMEI packet received {"connection_id":171556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":171556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:37:02] local.INFO: TCP Data received {"connection_id":171556,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:37:02] local.INFO: Processing buffer {"connection_id":171556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:37:02] local.INFO: IMEI packet received {"connection_id":171556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":171556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:37:03] local.INFO: TCP Data received {"connection_id":171556,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ee157e8012d34c9c006aa3d280018008022..."} 
[2026-09-05 05:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ee157e8012d34c9c006aa3d280018008022..."} 
[2026-09-05 05:37:03] local.INFO: Processing buffer {"connection_id":171556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ee157e8012d34c9c006aa3d280018008022..."} 
[2026-09-05 05:37:03] local.INFO: Packet analysis {"connection_id":171556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ee1"} 
[2026-09-05 05:37:03] local.INFO: Extracted packet for processing {"connection_id":171556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ee1"} 
[2026-09-05 05:37:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":24,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872987136001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788566657000,"timestamp_ms":1788566657000,"timestamp_seconds":1788566657,"priority":1,"record_length":96,"hex_timestamp":"000001a06ee157e8"} 
[2026-09-05 05:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:37: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-09-05 05: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-09-05 05: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-09-05 05: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-09-05 05:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05: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-09-05 05:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872987136001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872987136001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:37:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:37:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872987136001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":171556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:37:03] local.INFO: GPS data processed {"connection_id":171556,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:37:03] local.INFO: Acknowledgment sent {"connection_id":171556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:37:34] local.INFO: TCP Data received {"connection_id":171556,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ee157e8012d34c9c006aa3d280018008022..."} 
[2026-09-05 05:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ee157e8012d34c9c006aa3d280018008022..."} 
[2026-09-05 05:37:34] local.INFO: Processing buffer {"connection_id":171556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ee157e8012d34c9c006aa3d280018008022..."} 
[2026-09-05 05:37:34] local.INFO: Packet analysis {"connection_id":171556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ee1"} 
[2026-09-05 05:37:34] local.INFO: Extracted packet for processing {"connection_id":171556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ee1"} 
[2026-09-05 05:37:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":24,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872987136001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788566657000,"timestamp_ms":1788566657000,"timestamp_seconds":1788566657,"priority":1,"record_length":96,"hex_timestamp":"000001a06ee157e8"} 
[2026-09-05 05:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:37: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-09-05 05:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 05:37: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-09-05 05: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-09-05 05:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:37: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-09-05 05:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872987136001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872987136001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:37:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:37:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872987136001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":171556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:37:34] local.INFO: GPS data processed {"connection_id":171556,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:37:34] local.INFO: Acknowledgment sent {"connection_id":171556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:37:57] local.INFO: TCP Data received {"connection_id":173957,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:37:57] local.INFO: Processing buffer {"connection_id":173957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:37:57] local.INFO: IMEI packet received {"connection_id":173957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":173957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:38:02] local.INFO: TCP Data received {"connection_id":173957,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:38:02] local.INFO: Processing buffer {"connection_id":173957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:38:02] local.INFO: IMEI packet received {"connection_id":173957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":173957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:38:03] local.INFO: TCP Data received {"connection_id":173957,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ee157e8012d34c9c006aa3d280018008022..."} 
[2026-09-05 05:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ee157e8012d34c9c006aa3d280018008022..."} 
[2026-09-05 05:38:03] local.INFO: Processing buffer {"connection_id":173957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ee157e8012d34c9c006aa3d280018008022..."} 
[2026-09-05 05:38:03] local.INFO: Packet analysis {"connection_id":173957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ee1"} 
[2026-09-05 05:38:03] local.INFO: Extracted packet for processing {"connection_id":173957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ee1"} 
[2026-09-05 05:38:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":24,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 05:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872987136001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788566657000,"timestamp_ms":1788566657000,"timestamp_seconds":1788566657,"priority":1,"record_length":96,"hex_timestamp":"000001a06ee157e8"} 
[2026-09-05 05:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:38: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-09-05 05:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 05:38: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-09-05 05:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 05:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:38: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-09-05 05:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872987136001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872987136001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:38:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:38:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872987136001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":173957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:38:03] local.INFO: GPS data processed {"connection_id":173957,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:38:03] local.INFO: Acknowledgment sent {"connection_id":173957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:38:26] local.INFO: TCP Data received {"connection_id":171555,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171555,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:38:26] local.INFO: Processing buffer {"connection_id":171555,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:38:26] local.INFO: IMEI packet received {"connection_id":171555,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 05:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":171555,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:38:34] local.INFO: TCP Data received {"connection_id":173957,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ee157e8012d34c9c006aa3d280018008022..."} 
[2026-09-05 05:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ee157e8012d34c9c006aa3d280018008022..."} 
[2026-09-05 05:38:34] local.INFO: Processing buffer {"connection_id":173957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ee157e8012d34c9c006aa3d280018008022..."} 
[2026-09-05 05:38:34] local.INFO: Packet analysis {"connection_id":173957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ee1"} 
[2026-09-05 05:38:34] local.INFO: Extracted packet for processing {"connection_id":173957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ee1"} 
[2026-09-05 05:38:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":24,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 05:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872987136001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788566657000,"timestamp_ms":1788566657000,"timestamp_seconds":1788566657,"priority":1,"record_length":96,"hex_timestamp":"000001a06ee157e8"} 
[2026-09-05 05:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05: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-09-05 05:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 05:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 05:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 05:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:38: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-09-05 05:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872987136001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872987136001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:38:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:38:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872987136001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":173957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:38:34] local.INFO: GPS data processed {"connection_id":173957,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:38:34] local.INFO: Acknowledgment sent {"connection_id":173957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:38:57] local.INFO: TCP Data received {"connection_id":171260,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:38:57] local.INFO: Processing buffer {"connection_id":171260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:38:57] local.INFO: IMEI packet received {"connection_id":171260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":171260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:39:02] local.INFO: TCP Data received {"connection_id":171260,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:39:02] local.INFO: Processing buffer {"connection_id":171260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:39:02] local.INFO: IMEI packet received {"connection_id":171260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":171260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:39:03] local.INFO: TCP Data received {"connection_id":171260,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ee157e8012d34c9c006aa3d280018008022..."} 
[2026-09-05 05:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ee157e8012d34c9c006aa3d280018008022..."} 
[2026-09-05 05:39:03] local.INFO: Processing buffer {"connection_id":171260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ee157e8012d34c9c006aa3d280018008022..."} 
[2026-09-05 05:39:03] local.INFO: Packet analysis {"connection_id":171260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ee1"} 
[2026-09-05 05:39:03] local.INFO: Extracted packet for processing {"connection_id":171260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ee1"} 
[2026-09-05 05:39:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":24,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872987136001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788566657000,"timestamp_ms":1788566657000,"timestamp_seconds":1788566657,"priority":1,"record_length":96,"hex_timestamp":"000001a06ee157e8"} 
[2026-09-05 05:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:39: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-09-05 05: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":31,"data_length":795,"current_offset":136} 
[2026-09-05 05:39: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-09-05 05: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-09-05 05:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05: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-09-05 05:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872987136001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872987136001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:39:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:39:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872987136001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":171260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:39:03] local.INFO: GPS data processed {"connection_id":171260,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:39:03] local.INFO: Acknowledgment sent {"connection_id":171260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:39:34] local.INFO: TCP Data received {"connection_id":171260,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ee157e8012d34c9c006aa3d280018008022..."} 
[2026-09-05 05:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ee157e8012d34c9c006aa3d280018008022..."} 
[2026-09-05 05:39:34] local.INFO: Processing buffer {"connection_id":171260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ee157e8012d34c9c006aa3d280018008022..."} 
[2026-09-05 05:39:34] local.INFO: Packet analysis {"connection_id":171260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ee1"} 
[2026-09-05 05:39:34] local.INFO: Extracted packet for processing {"connection_id":171260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ee1"} 
[2026-09-05 05:39:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":24,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457872987136001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788566657000,"timestamp_ms":1788566657000,"timestamp_seconds":1788566657,"priority":1,"record_length":96,"hex_timestamp":"000001a06ee157e8"} 
[2026-09-05 05:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:39: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-09-05 05:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 05:39: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-09-05 05: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-09-05 05:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:39: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-09-05 05:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457872987136001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457872987136001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:39:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:39:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457872987136001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":171260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:39:34] local.INFO: GPS data processed {"connection_id":171260,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:39:34] local.INFO: Acknowledgment sent {"connection_id":171260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:39:56] local.INFO: TCP Data received {"connection_id":171557,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:39:56] local.INFO: Processing buffer {"connection_id":171557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:39:56] local.INFO: IMEI packet received {"connection_id":171557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":171557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:39:57] local.INFO: TCP Data received {"connection_id":171557,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:39:57] local.INFO: Processing buffer {"connection_id":171557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:39:57] local.INFO: IMEI packet received {"connection_id":171557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":171557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:40:02] local.INFO: TCP Data received {"connection_id":171557,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:40:02] local.INFO: Processing buffer {"connection_id":171557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:40:02] local.INFO: IMEI packet received {"connection_id":171557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":171557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:40:03] local.INFO: TCP Data received {"connection_id":171557,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ee5efb0012d34c9c006aa3d280012008021..."} 
[2026-09-05 05:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ee5efb0012d34c9c006aa3d280012008021..."} 
[2026-09-05 05:40:03] local.INFO: Processing buffer {"connection_id":171557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ee5efb0012d34c9c006aa3d280012008021..."} 
[2026-09-05 05:40:03] local.INFO: Packet analysis {"connection_id":171557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ee5"} 
[2026-09-05 05:40:03] local.INFO: Extracted packet for processing {"connection_id":171557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ee5"} 
[2026-09-05 05:40:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":18,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873064192001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788566958000,"timestamp_ms":1788566958000,"timestamp_seconds":1788566958,"priority":1,"record_length":96,"hex_timestamp":"000001a06ee5efb0"} 
[2026-09-05 05:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:40: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-09-05 05: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-09-05 05: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-09-05 05: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-09-05 05:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 05:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873064192001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873064192001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:40:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:40:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873064192001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":171557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:40:03] local.INFO: GPS data processed {"connection_id":171557,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:40:03] local.INFO: Acknowledgment sent {"connection_id":171557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:40:34] local.INFO: TCP Data received {"connection_id":171557,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ee5efb0012d34c9c006aa3d280012008021..."} 
[2026-09-05 05:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ee5efb0012d34c9c006aa3d280012008021..."} 
[2026-09-05 05:40:34] local.INFO: Processing buffer {"connection_id":171557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ee5efb0012d34c9c006aa3d280012008021..."} 
[2026-09-05 05:40:34] local.INFO: Packet analysis {"connection_id":171557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ee5"} 
[2026-09-05 05:40:34] local.INFO: Extracted packet for processing {"connection_id":171557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ee5"} 
[2026-09-05 05:40:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":18,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873064192001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788566958000,"timestamp_ms":1788566958000,"timestamp_seconds":1788566958,"priority":1,"record_length":96,"hex_timestamp":"000001a06ee5efb0"} 
[2026-09-05 05:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:40: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-09-05 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:40: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-09-05 05: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-09-05 05:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:40: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-09-05 05:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873064192001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873064192001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:40:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:40:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873064192001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":171557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:40:34] local.INFO: GPS data processed {"connection_id":171557,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:40:34] local.INFO: Acknowledgment sent {"connection_id":171557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:40:57] local.INFO: TCP Data received {"connection_id":171261,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:40:57] local.INFO: Processing buffer {"connection_id":171261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:40:57] local.INFO: IMEI packet received {"connection_id":171261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":171261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:41:02] local.INFO: TCP Data received {"connection_id":171261,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:41:02] local.INFO: Processing buffer {"connection_id":171261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:41:02] local.INFO: IMEI packet received {"connection_id":171261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":171261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:41:03] local.INFO: TCP Data received {"connection_id":171261,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ee5efb0012d34c9c006aa3d280012008021..."} 
[2026-09-05 05:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ee5efb0012d34c9c006aa3d280012008021..."} 
[2026-09-05 05:41:03] local.INFO: Processing buffer {"connection_id":171261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ee5efb0012d34c9c006aa3d280012008021..."} 
[2026-09-05 05:41:03] local.INFO: Packet analysis {"connection_id":171261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ee5"} 
[2026-09-05 05:41:03] local.INFO: Extracted packet for processing {"connection_id":171261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ee5"} 
[2026-09-05 05:41:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":18,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 05:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873064192001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788566958000,"timestamp_ms":1788566958000,"timestamp_seconds":1788566958,"priority":1,"record_length":96,"hex_timestamp":"000001a06ee5efb0"} 
[2026-09-05 05:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:41: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-09-05 05:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05: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-09-05 05:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 05:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:41: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-09-05 05:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873064192001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873064192001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:41:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:41:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873064192001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":171261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:41:03] local.INFO: GPS data processed {"connection_id":171261,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:41:03] local.INFO: Acknowledgment sent {"connection_id":171261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:41:07] local.INFO: TCP Data received {"connection_id":171261,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ee5efb0012d34c9c006aa3d280012008021..."} 
[2026-09-05 05:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ee5efb0012d34c9c006aa3d280012008021..."} 
[2026-09-05 05:41:07] local.INFO: Processing buffer {"connection_id":171261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ee5efb0012d34c9c006aa3d280012008021..."} 
[2026-09-05 05:41:07] local.INFO: Packet analysis {"connection_id":171261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ee5"} 
[2026-09-05 05:41:07] local.INFO: Extracted packet for processing {"connection_id":171261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ee5"} 
[2026-09-05 05:41:07] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":18,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 05:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873064192001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788566958000,"timestamp_ms":1788566958000,"timestamp_seconds":1788566958,"priority":1,"record_length":96,"hex_timestamp":"000001a06ee5efb0"} 
[2026-09-05 05:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:41: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-09-05 05:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:41: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-09-05 05:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 05:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 05:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873064192001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873064192001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:41:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:41:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873064192001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":171261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:41:07] local.INFO: GPS data processed {"connection_id":171261,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:41:07] local.INFO: Acknowledgment sent {"connection_id":171261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:41:38] local.INFO: TCP Data received {"connection_id":171261,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ee5efb0012d34c9c006aa3d280012008021..."} 
[2026-09-05 05:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ee5efb0012d34c9c006aa3d280012008021..."} 
[2026-09-05 05:41:38] local.INFO: Processing buffer {"connection_id":171261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ee5efb0012d34c9c006aa3d280012008021..."} 
[2026-09-05 05:41:38] local.INFO: Packet analysis {"connection_id":171261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ee5"} 
[2026-09-05 05:41:38] local.INFO: Extracted packet for processing {"connection_id":171261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ee5"} 
[2026-09-05 05:41:38] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":18,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 05:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873064192001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788566958000,"timestamp_ms":1788566958000,"timestamp_seconds":1788566958,"priority":1,"record_length":96,"hex_timestamp":"000001a06ee5efb0"} 
[2026-09-05 05:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05: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-09-05 05:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:41: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-09-05 05:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 05:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:41: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-09-05 05:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873064192001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873064192001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:41:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:41:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873064192001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":171261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:41:38] local.INFO: GPS data processed {"connection_id":171261,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:41:38] local.INFO: Acknowledgment sent {"connection_id":171261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:41:57] local.INFO: TCP Data received {"connection_id":173959,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:41:57] local.INFO: Processing buffer {"connection_id":173959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:41:57] local.INFO: IMEI packet received {"connection_id":173959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":173959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:42:02] local.INFO: TCP Data received {"connection_id":173959,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:42:02] local.INFO: Processing buffer {"connection_id":173959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:42:02] local.INFO: IMEI packet received {"connection_id":173959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":173959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:42:03] local.INFO: TCP Data received {"connection_id":173959,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ee5efb0012d34c9c006aa3d280012008021..."} 
[2026-09-05 05:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ee5efb0012d34c9c006aa3d280012008021..."} 
[2026-09-05 05:42:03] local.INFO: Processing buffer {"connection_id":173959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ee5efb0012d34c9c006aa3d280012008021..."} 
[2026-09-05 05:42:03] local.INFO: Packet analysis {"connection_id":173959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ee5"} 
[2026-09-05 05:42:03] local.INFO: Extracted packet for processing {"connection_id":173959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ee5"} 
[2026-09-05 05:42:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":18,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 05:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873064192001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788566958000,"timestamp_ms":1788566958000,"timestamp_seconds":1788566958,"priority":1,"record_length":96,"hex_timestamp":"000001a06ee5efb0"} 
[2026-09-05 05:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:42: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-09-05 05:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05: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-09-05 05:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 05:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05: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-09-05 05:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873064192001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873064192001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:42:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:42:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873064192001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":173959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:42:03] local.INFO: GPS data processed {"connection_id":173959,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:42:03] local.INFO: Acknowledgment sent {"connection_id":173959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:42:34] local.INFO: TCP Data received {"connection_id":173959,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ee5efb0012d34c9c006aa3d280012008021..."} 
[2026-09-05 05:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ee5efb0012d34c9c006aa3d280012008021..."} 
[2026-09-05 05:42:34] local.INFO: Processing buffer {"connection_id":173959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ee5efb0012d34c9c006aa3d280012008021..."} 
[2026-09-05 05:42:34] local.INFO: Packet analysis {"connection_id":173959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ee5"} 
[2026-09-05 05:42:34] local.INFO: Extracted packet for processing {"connection_id":173959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ee5"} 
[2026-09-05 05:42:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":18,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873064192001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788566958000,"timestamp_ms":1788566958000,"timestamp_seconds":1788566958,"priority":1,"record_length":96,"hex_timestamp":"000001a06ee5efb0"} 
[2026-09-05 05:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:42: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-09-05 05: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-09-05 05: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-09-05 05: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-09-05 05:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:42: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-09-05 05:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873064192001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873064192001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:42:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:42:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873064192001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":173959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:42:34] local.INFO: GPS data processed {"connection_id":173959,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:42:34] local.INFO: Acknowledgment sent {"connection_id":173959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:42:57] local.INFO: TCP Data received {"connection_id":171558,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:42:57] local.INFO: Processing buffer {"connection_id":171558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:42:57] local.INFO: IMEI packet received {"connection_id":171558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":171558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:43:02] local.INFO: TCP Data received {"connection_id":171558,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:43:02] local.INFO: Processing buffer {"connection_id":171558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:43:02] local.INFO: IMEI packet received {"connection_id":171558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":171558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:43:03] local.INFO: TCP Data received {"connection_id":171558,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ee5efb0012d34c9c006aa3d280012008021..."} 
[2026-09-05 05:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ee5efb0012d34c9c006aa3d280012008021..."} 
[2026-09-05 05:43:03] local.INFO: Processing buffer {"connection_id":171558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ee5efb0012d34c9c006aa3d280012008021..."} 
[2026-09-05 05:43:03] local.INFO: Packet analysis {"connection_id":171558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ee5"} 
[2026-09-05 05:43:03] local.INFO: Extracted packet for processing {"connection_id":171558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ee5"} 
[2026-09-05 05:43:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":18,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873064192001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788566958000,"timestamp_ms":1788566958000,"timestamp_seconds":1788566958,"priority":1,"record_length":96,"hex_timestamp":"000001a06ee5efb0"} 
[2026-09-05 05:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:43: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-09-05 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:43: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-09-05 05: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-09-05 05:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:43: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-09-05 05:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873064192001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873064192001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:43:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:43:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873064192001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":171558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:43:03] local.INFO: GPS data processed {"connection_id":171558,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:43:03] local.INFO: Acknowledgment sent {"connection_id":171558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:43:34] local.INFO: TCP Data received {"connection_id":171558,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ee5efb0012d34c9c006aa3d280012008021..."} 
[2026-09-05 05:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ee5efb0012d34c9c006aa3d280012008021..."} 
[2026-09-05 05:43:34] local.INFO: Processing buffer {"connection_id":171558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ee5efb0012d34c9c006aa3d280012008021..."} 
[2026-09-05 05:43:34] local.INFO: Packet analysis {"connection_id":171558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ee5"} 
[2026-09-05 05:43:34] local.INFO: Extracted packet for processing {"connection_id":171558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ee5"} 
[2026-09-05 05:43:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":18,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873064192001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788566958000,"timestamp_ms":1788566958000,"timestamp_seconds":1788566958,"priority":1,"record_length":96,"hex_timestamp":"000001a06ee5efb0"} 
[2026-09-05 05:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:43: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-09-05 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:43: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-09-05 05: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-09-05 05:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:43: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-09-05 05:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873064192001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873064192001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:43:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:43:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873064192001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":171558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:43:34] local.INFO: GPS data processed {"connection_id":171558,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:43:34] local.INFO: Acknowledgment sent {"connection_id":171558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:43:57] local.INFO: TCP Data received {"connection_id":173960,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:43:57] local.INFO: Processing buffer {"connection_id":173960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:43:57] local.INFO: IMEI packet received {"connection_id":173960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":173960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:44:01] local.INFO: TCP Data received {"connection_id":173958,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173958,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:44:01] local.INFO: Processing buffer {"connection_id":173958,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:44:01] local.INFO: IMEI packet received {"connection_id":173958,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 05:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":173958,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:44:02] local.INFO: TCP Data received {"connection_id":173960,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:44:02] local.INFO: Processing buffer {"connection_id":173960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:44:02] local.INFO: IMEI packet received {"connection_id":173960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":173960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:44:03] local.INFO: TCP Data received {"connection_id":173960,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ee5efb0012d34c9c006aa3d280012008021..."} 
[2026-09-05 05:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ee5efb0012d34c9c006aa3d280012008021..."} 
[2026-09-05 05:44:03] local.INFO: Processing buffer {"connection_id":173960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ee5efb0012d34c9c006aa3d280012008021..."} 
[2026-09-05 05:44:03] local.INFO: Packet analysis {"connection_id":173960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ee5"} 
[2026-09-05 05:44:03] local.INFO: Extracted packet for processing {"connection_id":173960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ee5"} 
[2026-09-05 05:44:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":18,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873064192001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788566958000,"timestamp_ms":1788566958000,"timestamp_seconds":1788566958,"priority":1,"record_length":96,"hex_timestamp":"000001a06ee5efb0"} 
[2026-09-05 05:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:44: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-09-05 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:44: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-09-05 05: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-09-05 05:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:44: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-09-05 05:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873064192001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873064192001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:44:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:44:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873064192001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":173960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:44:03] local.INFO: GPS data processed {"connection_id":173960,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:44:03] local.INFO: Acknowledgment sent {"connection_id":173960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:44:34] local.INFO: TCP Data received {"connection_id":173960,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ee5efb0012d34c9c006aa3d280012008021..."} 
[2026-09-05 05:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ee5efb0012d34c9c006aa3d280012008021..."} 
[2026-09-05 05:44:34] local.INFO: Processing buffer {"connection_id":173960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ee5efb0012d34c9c006aa3d280012008021..."} 
[2026-09-05 05:44:34] local.INFO: Packet analysis {"connection_id":173960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ee5"} 
[2026-09-05 05:44:34] local.INFO: Extracted packet for processing {"connection_id":173960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ee5"} 
[2026-09-05 05:44:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":18,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873064192001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788566958000,"timestamp_ms":1788566958000,"timestamp_seconds":1788566958,"priority":1,"record_length":96,"hex_timestamp":"000001a06ee5efb0"} 
[2026-09-05 05:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:44: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-09-05 05: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-09-05 05: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-09-05 05: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-09-05 05:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:44: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-09-05 05:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873064192001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873064192001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:44:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:44:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873064192001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":173960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:44:34] local.INFO: GPS data processed {"connection_id":173960,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:44:34] local.INFO: Acknowledgment sent {"connection_id":173960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:44:57] local.INFO: TCP Data received {"connection_id":171559,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:44:57] local.INFO: Processing buffer {"connection_id":171559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:44:57] local.INFO: IMEI packet received {"connection_id":171559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":171559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:44:57] local.INFO: TCP Data received {"connection_id":171559,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:44:57] local.INFO: Processing buffer {"connection_id":171559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:44:57] local.INFO: IMEI packet received {"connection_id":171559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":171559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:45:02] local.INFO: TCP Data received {"connection_id":171559,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:45:02] local.INFO: Processing buffer {"connection_id":171559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:45:02] local.INFO: IMEI packet received {"connection_id":171559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":171559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:45:03] local.INFO: TCP Data received {"connection_id":171559,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eea8778012d34c9c006aa3d280012008024..."} 
[2026-09-05 05:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eea8778012d34c9c006aa3d280012008024..."} 
[2026-09-05 05:45:03] local.INFO: Processing buffer {"connection_id":171559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eea8778012d34c9c006aa3d280012008024..."} 
[2026-09-05 05:45:03] local.INFO: Packet analysis {"connection_id":171559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eea"} 
[2026-09-05 05:45:03] local.INFO: Extracted packet for processing {"connection_id":171559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eea"} 
[2026-09-05 05:45:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":18,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873141248001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788567259000,"timestamp_ms":1788567259000,"timestamp_seconds":1788567259,"priority":1,"record_length":96,"hex_timestamp":"000001a06eea8778"} 
[2026-09-05 05:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:45: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-09-05 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:45: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-09-05 05: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-09-05 05:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05: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-09-05 05:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873141248001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873141248001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:45:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:45:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873141248001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":171559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:45:03] local.INFO: GPS data processed {"connection_id":171559,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:45:03] local.INFO: Acknowledgment sent {"connection_id":171559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:45:34] local.INFO: TCP Data received {"connection_id":171559,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eea8778012d34c9c006aa3d280012008024..."} 
[2026-09-05 05:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eea8778012d34c9c006aa3d280012008024..."} 
[2026-09-05 05:45:34] local.INFO: Processing buffer {"connection_id":171559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eea8778012d34c9c006aa3d280012008024..."} 
[2026-09-05 05:45:34] local.INFO: Packet analysis {"connection_id":171559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eea"} 
[2026-09-05 05:45:34] local.INFO: Extracted packet for processing {"connection_id":171559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eea"} 
[2026-09-05 05:45:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":18,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873141248001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788567259000,"timestamp_ms":1788567259000,"timestamp_seconds":1788567259,"priority":1,"record_length":96,"hex_timestamp":"000001a06eea8778"} 
[2026-09-05 05:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:45: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-09-05 05: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":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:45: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-09-05 05: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-09-05 05:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:45: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-09-05 05:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873141248001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873141248001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:45:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:45:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873141248001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":171559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:45:34] local.INFO: GPS data processed {"connection_id":171559,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:45:34] local.INFO: Acknowledgment sent {"connection_id":171559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:45:57] local.INFO: TCP Data received {"connection_id":172664,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:45:57] local.INFO: Processing buffer {"connection_id":172664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:45:57] local.INFO: IMEI packet received {"connection_id":172664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":172664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:46:02] local.INFO: TCP Data received {"connection_id":172664,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:46:02] local.INFO: Processing buffer {"connection_id":172664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:46:02] local.INFO: IMEI packet received {"connection_id":172664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":172664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:46:03] local.INFO: TCP Data received {"connection_id":172664,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eea8778012d34c9c006aa3d280012008024..."} 
[2026-09-05 05:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eea8778012d34c9c006aa3d280012008024..."} 
[2026-09-05 05:46:03] local.INFO: Processing buffer {"connection_id":172664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eea8778012d34c9c006aa3d280012008024..."} 
[2026-09-05 05:46:03] local.INFO: Packet analysis {"connection_id":172664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eea"} 
[2026-09-05 05:46:03] local.INFO: Extracted packet for processing {"connection_id":172664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eea"} 
[2026-09-05 05:46:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":18,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 05:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873141248001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788567259000,"timestamp_ms":1788567259000,"timestamp_seconds":1788567259,"priority":1,"record_length":96,"hex_timestamp":"000001a06eea8778"} 
[2026-09-05 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-09-05 05:46: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-09-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05: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-09-05 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-09-05 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-09-05 05:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05: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-09-05 05:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873141248001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873141248001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:46:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:46:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873141248001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":172664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:46:03] local.INFO: GPS data processed {"connection_id":172664,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:46:03] local.INFO: Acknowledgment sent {"connection_id":172664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:46:34] local.INFO: TCP Data received {"connection_id":172664,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eea8778012d34c9c006aa3d280012008024..."} 
[2026-09-05 05:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eea8778012d34c9c006aa3d280012008024..."} 
[2026-09-05 05:46:34] local.INFO: Processing buffer {"connection_id":172664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eea8778012d34c9c006aa3d280012008024..."} 
[2026-09-05 05:46:34] local.INFO: Packet analysis {"connection_id":172664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eea"} 
[2026-09-05 05:46:34] local.INFO: Extracted packet for processing {"connection_id":172664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eea"} 
[2026-09-05 05:46:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":18,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873141248001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788567259000,"timestamp_ms":1788567259000,"timestamp_seconds":1788567259,"priority":1,"record_length":96,"hex_timestamp":"000001a06eea8778"} 
[2026-09-05 05:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:46: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-09-05 05: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":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:46: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-09-05 05: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-09-05 05:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:46: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-09-05 05:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873141248001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873141248001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:46:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:46:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873141248001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":172664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:46:34] local.INFO: GPS data processed {"connection_id":172664,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:46:34] local.INFO: Acknowledgment sent {"connection_id":172664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:46:57] local.INFO: TCP Data received {"connection_id":171262,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:46:57] local.INFO: Processing buffer {"connection_id":171262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:46:57] local.INFO: IMEI packet received {"connection_id":171262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":171262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:47:02] local.INFO: TCP Data received {"connection_id":171262,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:47:02] local.INFO: Processing buffer {"connection_id":171262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:47:02] local.INFO: IMEI packet received {"connection_id":171262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":171262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:47:03] local.INFO: TCP Data received {"connection_id":171262,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eea8778012d34c9c006aa3d280012008024..."} 
[2026-09-05 05:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eea8778012d34c9c006aa3d280012008024..."} 
[2026-09-05 05:47:03] local.INFO: Processing buffer {"connection_id":171262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eea8778012d34c9c006aa3d280012008024..."} 
[2026-09-05 05:47:03] local.INFO: Packet analysis {"connection_id":171262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eea"} 
[2026-09-05 05:47:03] local.INFO: Extracted packet for processing {"connection_id":171262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eea"} 
[2026-09-05 05:47:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":18,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873141248001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788567259000,"timestamp_ms":1788567259000,"timestamp_seconds":1788567259,"priority":1,"record_length":96,"hex_timestamp":"000001a06eea8778"} 
[2026-09-05 05:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:47: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-09-05 05: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-09-05 05: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-09-05 05: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-09-05 05:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05: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-09-05 05:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873141248001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873141248001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:47:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:47:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873141248001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":171262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:47:03] local.INFO: GPS data processed {"connection_id":171262,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:47:03] local.INFO: Acknowledgment sent {"connection_id":171262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:47:34] local.INFO: TCP Data received {"connection_id":171262,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eea8778012d34c9c006aa3d280012008024..."} 
[2026-09-05 05:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eea8778012d34c9c006aa3d280012008024..."} 
[2026-09-05 05:47:34] local.INFO: Processing buffer {"connection_id":171262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eea8778012d34c9c006aa3d280012008024..."} 
[2026-09-05 05:47:34] local.INFO: Packet analysis {"connection_id":171262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eea"} 
[2026-09-05 05:47:34] local.INFO: Extracted packet for processing {"connection_id":171262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eea"} 
[2026-09-05 05:47:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":18,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 05:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873141248001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788567259000,"timestamp_ms":1788567259000,"timestamp_seconds":1788567259,"priority":1,"record_length":96,"hex_timestamp":"000001a06eea8778"} 
[2026-09-05 05:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:47: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-09-05 05:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:47: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-09-05 05:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 05:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:47: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-09-05 05:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873141248001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873141248001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:47:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:47:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873141248001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":171262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:47:34] local.INFO: GPS data processed {"connection_id":171262,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:47:34] local.INFO: Acknowledgment sent {"connection_id":171262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:48:02] local.INFO: TCP Data received {"connection_id":173961,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:48:02] local.INFO: Processing buffer {"connection_id":173961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:48:02] local.INFO: IMEI packet received {"connection_id":173961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":173961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:48:07] local.INFO: TCP Data received {"connection_id":173961,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:48:07] local.INFO: Processing buffer {"connection_id":173961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:48:07] local.INFO: IMEI packet received {"connection_id":173961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":173961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:48:08] local.INFO: TCP Data received {"connection_id":173961,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eea8778012d34c9c006aa3d280012008024..."} 
[2026-09-05 05:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eea8778012d34c9c006aa3d280012008024..."} 
[2026-09-05 05:48:08] local.INFO: Processing buffer {"connection_id":173961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eea8778012d34c9c006aa3d280012008024..."} 
[2026-09-05 05:48:08] local.INFO: Packet analysis {"connection_id":173961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eea"} 
[2026-09-05 05:48:08] local.INFO: Extracted packet for processing {"connection_id":173961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eea"} 
[2026-09-05 05:48:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":18,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873141248001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788567259000,"timestamp_ms":1788567259000,"timestamp_seconds":1788567259,"priority":1,"record_length":96,"hex_timestamp":"000001a06eea8778"} 
[2026-09-05 05:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:48: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-09-05 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:48: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-09-05 05: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-09-05 05:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:48: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-09-05 05:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873141248001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873141248001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:48:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:48:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873141248001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":173961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:48:08] local.INFO: GPS data processed {"connection_id":173961,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:48:08] local.INFO: Acknowledgment sent {"connection_id":173961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:48:13] local.INFO: TCP Data received {"connection_id":173961,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eea8778012d34c9c006aa3d280012008024..."} 
[2026-09-05 05:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eea8778012d34c9c006aa3d280012008024..."} 
[2026-09-05 05:48:13] local.INFO: Processing buffer {"connection_id":173961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eea8778012d34c9c006aa3d280012008024..."} 
[2026-09-05 05:48:13] local.INFO: Packet analysis {"connection_id":173961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eea"} 
[2026-09-05 05:48:13] local.INFO: Extracted packet for processing {"connection_id":173961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eea"} 
[2026-09-05 05:48:13] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":18,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 05:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873141248001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788567259000,"timestamp_ms":1788567259000,"timestamp_seconds":1788567259,"priority":1,"record_length":96,"hex_timestamp":"000001a06eea8778"} 
[2026-09-05 05:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 05:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:48:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 05:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 05:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":173961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":173961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":173961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 05:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873141248001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873141248001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:48:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:48:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873141248001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":173961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:48:13] local.INFO: GPS data processed {"connection_id":173961,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:48:13] local.INFO: Acknowledgment sent {"connection_id":173961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:48:57] local.INFO: TCP Data received {"connection_id":172665,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:48:57] local.INFO: Processing buffer {"connection_id":172665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:48:57] local.INFO: IMEI packet received {"connection_id":172665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":172665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:49:02] local.INFO: TCP Data received {"connection_id":172665,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:49:02] local.INFO: Processing buffer {"connection_id":172665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:49:02] local.INFO: IMEI packet received {"connection_id":172665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":172665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:49:03] local.INFO: TCP Data received {"connection_id":172665,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eea8778012d34c9c006aa3d280012008024..."} 
[2026-09-05 05:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eea8778012d34c9c006aa3d280012008024..."} 
[2026-09-05 05:49:03] local.INFO: Processing buffer {"connection_id":172665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eea8778012d34c9c006aa3d280012008024..."} 
[2026-09-05 05:49:03] local.INFO: Packet analysis {"connection_id":172665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eea"} 
[2026-09-05 05:49:03] local.INFO: Extracted packet for processing {"connection_id":172665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eea"} 
[2026-09-05 05:49:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":18,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873141248001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788567259000,"timestamp_ms":1788567259000,"timestamp_seconds":1788567259,"priority":1,"record_length":96,"hex_timestamp":"000001a06eea8778"} 
[2026-09-05 05:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:49: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-09-05 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:49: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-09-05 05: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-09-05 05:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:49: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-09-05 05:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873141248001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873141248001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:49:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:49:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873141248001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":172665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:49:03] local.INFO: GPS data processed {"connection_id":172665,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:49:03] local.INFO: Acknowledgment sent {"connection_id":172665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:49:34] local.INFO: TCP Data received {"connection_id":172665,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eea8778012d34c9c006aa3d280012008024..."} 
[2026-09-05 05:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eea8778012d34c9c006aa3d280012008024..."} 
[2026-09-05 05:49:34] local.INFO: Processing buffer {"connection_id":172665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eea8778012d34c9c006aa3d280012008024..."} 
[2026-09-05 05:49:34] local.INFO: Packet analysis {"connection_id":172665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eea"} 
[2026-09-05 05:49:34] local.INFO: Extracted packet for processing {"connection_id":172665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eea"} 
[2026-09-05 05:49:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":18,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873141248001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788567259000,"timestamp_ms":1788567259000,"timestamp_seconds":1788567259,"priority":1,"record_length":96,"hex_timestamp":"000001a06eea8778"} 
[2026-09-05 05:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:49: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-09-05 05: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":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:49: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-09-05 05: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-09-05 05:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:49: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-09-05 05:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873141248001,"66":25343,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873141248001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:49:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:49:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873141248001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":172665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:49:34] local.INFO: GPS data processed {"connection_id":172665,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:49:34] local.INFO: Acknowledgment sent {"connection_id":172665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:49:36] local.INFO: TCP Data received {"connection_id":172663,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172663,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:49:36] local.INFO: Processing buffer {"connection_id":172663,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:49:36] local.INFO: IMEI packet received {"connection_id":172663,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 05:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":172663,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:49:57] local.INFO: TCP Data received {"connection_id":172666,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:49:57] local.INFO: Processing buffer {"connection_id":172666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:49:57] local.INFO: IMEI packet received {"connection_id":172666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":172666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:49:58] local.INFO: TCP Data received {"connection_id":172666,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:49:58] local.INFO: Processing buffer {"connection_id":172666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:49:58] local.INFO: IMEI packet received {"connection_id":172666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":172666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:50:02] local.INFO: TCP Data received {"connection_id":172666,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:50:02] local.INFO: Processing buffer {"connection_id":172666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:50:02] local.INFO: IMEI packet received {"connection_id":172666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":172666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:50:03] local.INFO: TCP Data received {"connection_id":172666,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eef1f40012d34c9c006aa3d280017008022..."} 
[2026-09-05 05:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eef1f40012d34c9c006aa3d280017008022..."} 
[2026-09-05 05:50:03] local.INFO: Processing buffer {"connection_id":172666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eef1f40012d34c9c006aa3d280017008022..."} 
[2026-09-05 05:50:03] local.INFO: Packet analysis {"connection_id":172666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eef"} 
[2026-09-05 05:50:03] local.INFO: Extracted packet for processing {"connection_id":172666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eef"} 
[2026-09-05 05:50:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873218304001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788567560000,"timestamp_ms":1788567560000,"timestamp_seconds":1788567560,"priority":1,"record_length":96,"hex_timestamp":"000001a06eef1f40"} 
[2026-09-05 05:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:50: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-09-05 05: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-09-05 05: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-09-05 05: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-09-05 05:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05: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-09-05 05:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873218304001,"66":25299,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873218304001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:50:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:50:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873218304001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":172666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:50:03] local.INFO: GPS data processed {"connection_id":172666,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:50:03] local.INFO: Acknowledgment sent {"connection_id":172666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:50:34] local.INFO: TCP Data received {"connection_id":172666,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eef1f40012d34c9c006aa3d280017008022..."} 
[2026-09-05 05:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eef1f40012d34c9c006aa3d280017008022..."} 
[2026-09-05 05:50:34] local.INFO: Processing buffer {"connection_id":172666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eef1f40012d34c9c006aa3d280017008022..."} 
[2026-09-05 05:50:34] local.INFO: Packet analysis {"connection_id":172666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eef"} 
[2026-09-05 05:50:34] local.INFO: Extracted packet for processing {"connection_id":172666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eef"} 
[2026-09-05 05:50:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873218304001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788567560000,"timestamp_ms":1788567560000,"timestamp_seconds":1788567560,"priority":1,"record_length":96,"hex_timestamp":"000001a06eef1f40"} 
[2026-09-05 05:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:50: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-09-05 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:50: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-09-05 05: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-09-05 05:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:50: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-09-05 05:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873218304001,"66":25299,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873218304001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:50:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:50:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873218304001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":172666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:50:34] local.INFO: GPS data processed {"connection_id":172666,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:50:34] local.INFO: Acknowledgment sent {"connection_id":172666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:50:57] local.INFO: TCP Data received {"connection_id":171560,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:50:57] local.INFO: Processing buffer {"connection_id":171560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:50:57] local.INFO: IMEI packet received {"connection_id":171560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":171560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:51:02] local.INFO: TCP Data received {"connection_id":171560,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:51:02] local.INFO: Processing buffer {"connection_id":171560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:51:02] local.INFO: IMEI packet received {"connection_id":171560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":171560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:51:03] local.INFO: TCP Data received {"connection_id":171560,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eef1f40012d34c9c006aa3d280017008022..."} 
[2026-09-05 05:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eef1f40012d34c9c006aa3d280017008022..."} 
[2026-09-05 05:51:03] local.INFO: Processing buffer {"connection_id":171560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eef1f40012d34c9c006aa3d280017008022..."} 
[2026-09-05 05:51:03] local.INFO: Packet analysis {"connection_id":171560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eef"} 
[2026-09-05 05:51:03] local.INFO: Extracted packet for processing {"connection_id":171560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eef"} 
[2026-09-05 05:51:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873218304001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788567560000,"timestamp_ms":1788567560000,"timestamp_seconds":1788567560,"priority":1,"record_length":96,"hex_timestamp":"000001a06eef1f40"} 
[2026-09-05 05:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:51: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-09-05 05: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-09-05 05: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-09-05 05: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-09-05 05:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:51: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-09-05 05:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873218304001,"66":25299,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873218304001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:51:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:51:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873218304001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":171560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:51:03] local.INFO: GPS data processed {"connection_id":171560,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:51:03] local.INFO: Acknowledgment sent {"connection_id":171560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:51:34] local.INFO: TCP Data received {"connection_id":171560,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eef1f40012d34c9c006aa3d280017008022..."} 
[2026-09-05 05:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eef1f40012d34c9c006aa3d280017008022..."} 
[2026-09-05 05:51:34] local.INFO: Processing buffer {"connection_id":171560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eef1f40012d34c9c006aa3d280017008022..."} 
[2026-09-05 05:51:34] local.INFO: Packet analysis {"connection_id":171560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eef"} 
[2026-09-05 05:51:34] local.INFO: Extracted packet for processing {"connection_id":171560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eef"} 
[2026-09-05 05:51:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873218304001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788567560000,"timestamp_ms":1788567560000,"timestamp_seconds":1788567560,"priority":1,"record_length":96,"hex_timestamp":"000001a06eef1f40"} 
[2026-09-05 05:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:51: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-09-05 05: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":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:51: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-09-05 05: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-09-05 05:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:51: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-09-05 05:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873218304001,"66":25299,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873218304001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:51:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:51:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873218304001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":171560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:51:34] local.INFO: GPS data processed {"connection_id":171560,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:51:34] local.INFO: Acknowledgment sent {"connection_id":171560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:51:57] local.INFO: TCP Data received {"connection_id":171263,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:51:57] local.INFO: Processing buffer {"connection_id":171263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:51:57] local.INFO: IMEI packet received {"connection_id":171263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":171263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:52:02] local.INFO: TCP Data received {"connection_id":171263,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:52:02] local.INFO: Processing buffer {"connection_id":171263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:52:02] local.INFO: IMEI packet received {"connection_id":171263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":171263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:52:03] local.INFO: TCP Data received {"connection_id":171263,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eef1f40012d34c9c006aa3d280017008022..."} 
[2026-09-05 05:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eef1f40012d34c9c006aa3d280017008022..."} 
[2026-09-05 05:52:03] local.INFO: Processing buffer {"connection_id":171263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eef1f40012d34c9c006aa3d280017008022..."} 
[2026-09-05 05:52:03] local.INFO: Packet analysis {"connection_id":171263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eef"} 
[2026-09-05 05:52:03] local.INFO: Extracted packet for processing {"connection_id":171263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eef"} 
[2026-09-05 05:52:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 05:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873218304001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788567560000,"timestamp_ms":1788567560000,"timestamp_seconds":1788567560,"priority":1,"record_length":96,"hex_timestamp":"000001a06eef1f40"} 
[2026-09-05 05:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:52: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-09-05 05:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05: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-09-05 05:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 05:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:52: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-09-05 05:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873218304001,"66":25299,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873218304001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:52:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:52:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873218304001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":171263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:52:03] local.INFO: GPS data processed {"connection_id":171263,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:52:03] local.INFO: Acknowledgment sent {"connection_id":171263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:52:34] local.INFO: TCP Data received {"connection_id":171263,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eef1f40012d34c9c006aa3d280017008022..."} 
[2026-09-05 05:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eef1f40012d34c9c006aa3d280017008022..."} 
[2026-09-05 05:52:34] local.INFO: Processing buffer {"connection_id":171263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eef1f40012d34c9c006aa3d280017008022..."} 
[2026-09-05 05:52:34] local.INFO: Packet analysis {"connection_id":171263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eef"} 
[2026-09-05 05:52:34] local.INFO: Extracted packet for processing {"connection_id":171263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eef"} 
[2026-09-05 05:52:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873218304001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788567560000,"timestamp_ms":1788567560000,"timestamp_seconds":1788567560,"priority":1,"record_length":96,"hex_timestamp":"000001a06eef1f40"} 
[2026-09-05 05:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:52: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-09-05 05: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":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:52: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-09-05 05: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-09-05 05:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:52: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-09-05 05:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873218304001,"66":25299,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873218304001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:52:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:52:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873218304001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":171263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:52:34] local.INFO: GPS data processed {"connection_id":171263,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:52:34] local.INFO: Acknowledgment sent {"connection_id":171263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:52:57] local.INFO: TCP Data received {"connection_id":173963,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:52:57] local.INFO: Processing buffer {"connection_id":173963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:52:57] local.INFO: IMEI packet received {"connection_id":173963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":173963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:53:02] local.INFO: TCP Data received {"connection_id":173963,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:53:02] local.INFO: Processing buffer {"connection_id":173963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:53:02] local.INFO: IMEI packet received {"connection_id":173963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":173963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:53:03] local.INFO: TCP Data received {"connection_id":173963,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eef1f40012d34c9c006aa3d280017008022..."} 
[2026-09-05 05:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eef1f40012d34c9c006aa3d280017008022..."} 
[2026-09-05 05:53:03] local.INFO: Processing buffer {"connection_id":173963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eef1f40012d34c9c006aa3d280017008022..."} 
[2026-09-05 05:53:03] local.INFO: Packet analysis {"connection_id":173963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eef"} 
[2026-09-05 05:53:03] local.INFO: Extracted packet for processing {"connection_id":173963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eef"} 
[2026-09-05 05:53:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873218304001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788567560000,"timestamp_ms":1788567560000,"timestamp_seconds":1788567560,"priority":1,"record_length":96,"hex_timestamp":"000001a06eef1f40"} 
[2026-09-05 05:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:53: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-09-05 05: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-09-05 05: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-09-05 05: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-09-05 05:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:53: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-09-05 05:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873218304001,"66":25299,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873218304001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:53:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:53:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873218304001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":173963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:53:03] local.INFO: GPS data processed {"connection_id":173963,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:53:03] local.INFO: Acknowledgment sent {"connection_id":173963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:53:34] local.INFO: TCP Data received {"connection_id":173963,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eef1f40012d34c9c006aa3d280017008022..."} 
[2026-09-05 05:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eef1f40012d34c9c006aa3d280017008022..."} 
[2026-09-05 05:53:34] local.INFO: Processing buffer {"connection_id":173963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eef1f40012d34c9c006aa3d280017008022..."} 
[2026-09-05 05:53:34] local.INFO: Packet analysis {"connection_id":173963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eef"} 
[2026-09-05 05:53:34] local.INFO: Extracted packet for processing {"connection_id":173963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eef"} 
[2026-09-05 05:53:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873218304001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788567560000,"timestamp_ms":1788567560000,"timestamp_seconds":1788567560,"priority":1,"record_length":96,"hex_timestamp":"000001a06eef1f40"} 
[2026-09-05 05:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:53: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-09-05 05: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":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:53: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-09-05 05: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-09-05 05:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:53: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-09-05 05:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873218304001,"66":25299,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873218304001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:53:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:53:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873218304001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":173963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:53:34] local.INFO: GPS data processed {"connection_id":173963,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:53:34] local.INFO: Acknowledgment sent {"connection_id":173963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:54:02] local.INFO: TCP Data received {"connection_id":172667,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:54:02] local.INFO: Processing buffer {"connection_id":172667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:54:02] local.INFO: IMEI packet received {"connection_id":172667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":172667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:54:07] local.INFO: TCP Data received {"connection_id":172667,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:54:07] local.INFO: Processing buffer {"connection_id":172667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:54:07] local.INFO: IMEI packet received {"connection_id":172667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":172667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:54:08] local.INFO: TCP Data received {"connection_id":172667,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eef1f40012d34c9c006aa3d280017008022..."} 
[2026-09-05 05:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eef1f40012d34c9c006aa3d280017008022..."} 
[2026-09-05 05:54:08] local.INFO: Processing buffer {"connection_id":172667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eef1f40012d34c9c006aa3d280017008022..."} 
[2026-09-05 05:54:08] local.INFO: Packet analysis {"connection_id":172667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eef"} 
[2026-09-05 05:54:08] local.INFO: Extracted packet for processing {"connection_id":172667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eef"} 
[2026-09-05 05:54:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873218304001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788567560000,"timestamp_ms":1788567560000,"timestamp_seconds":1788567560,"priority":1,"record_length":96,"hex_timestamp":"000001a06eef1f40"} 
[2026-09-05 05:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:54: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-09-05 05:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:54: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-09-05 05: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-09-05 05:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:54: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-09-05 05:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873218304001,"66":25299,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873218304001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:54:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:54:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873218304001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":172667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:54:08] local.INFO: GPS data processed {"connection_id":172667,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:54:08] local.INFO: Acknowledgment sent {"connection_id":172667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:54:13] local.INFO: TCP Data received {"connection_id":172667,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06eef1f40012d34c9c006aa3d280017008022..."} 
[2026-09-05 05:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06eef1f40012d34c9c006aa3d280017008022..."} 
[2026-09-05 05:54:13] local.INFO: Processing buffer {"connection_id":172667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06eef1f40012d34c9c006aa3d280017008022..."} 
[2026-09-05 05:54:13] local.INFO: Packet analysis {"connection_id":172667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06eef"} 
[2026-09-05 05:54:13] local.INFO: Extracted packet for processing {"connection_id":172667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06eef"} 
[2026-09-05 05:54:13] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 05:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873218304001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788567560000,"timestamp_ms":1788567560000,"timestamp_seconds":1788567560,"priority":1,"record_length":96,"hex_timestamp":"000001a06eef1f40"} 
[2026-09-05 05:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 05:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 05:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 05:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 05:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":172667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":172667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":172667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 05:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873218304001,"66":25299,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873218304001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:54:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:54:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873218304001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":172667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:54:13] local.INFO: GPS data processed {"connection_id":172667,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:54:13] local.INFO: Acknowledgment sent {"connection_id":172667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:54:57] local.INFO: TCP Data received {"connection_id":173964,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:54:57] local.INFO: Processing buffer {"connection_id":173964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:54:57] local.INFO: IMEI packet received {"connection_id":173964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":173964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:54:59] local.INFO: TCP Data received {"connection_id":173964,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:54:59] local.INFO: Processing buffer {"connection_id":173964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:54:59] local.INFO: IMEI packet received {"connection_id":173964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":173964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:55:00] local.INFO: TCP Data received {"connection_id":173964,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ef3b708012d34c9c006aa3d280017008024..."} 
[2026-09-05 05:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ef3b708012d34c9c006aa3d280017008024..."} 
[2026-09-05 05:55:00] local.INFO: Processing buffer {"connection_id":173964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ef3b708012d34c9c006aa3d280017008024..."} 
[2026-09-05 05:55:00] local.INFO: Packet analysis {"connection_id":173964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ef3"} 
[2026-09-05 05:55:00] local.INFO: Extracted packet for processing {"connection_id":173964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ef3"} 
[2026-09-05 05:55:00] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 05:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873295360001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788567861000,"timestamp_ms":1788567861000,"timestamp_seconds":1788567861,"priority":1,"record_length":96,"hex_timestamp":"000001a06ef3b708"} 
[2026-09-05 05:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:55:00] 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-09-05 05:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-05 05:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 05:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 05:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 05:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873295360001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873295360001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:55:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:55:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873295360001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":173964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:55:00] local.INFO: GPS data processed {"connection_id":173964,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:55:00] local.INFO: Acknowledgment sent {"connection_id":173964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:55:02] local.INFO: TCP Data received {"connection_id":173964,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ef3b708012d34c9c006aa3d280017008024..."} 
[2026-09-05 05:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ef3b708012d34c9c006aa3d280017008024..."} 
[2026-09-05 05:55:02] local.INFO: Processing buffer {"connection_id":173964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ef3b708012d34c9c006aa3d280017008024..."} 
[2026-09-05 05:55:02] local.INFO: Packet analysis {"connection_id":173964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ef3"} 
[2026-09-05 05:55:02] local.INFO: Extracted packet for processing {"connection_id":173964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ef3"} 
[2026-09-05 05:55:02] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 05:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873295360001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788567861000,"timestamp_ms":1788567861000,"timestamp_seconds":1788567861,"priority":1,"record_length":96,"hex_timestamp":"000001a06ef3b708"} 
[2026-09-05 05:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:55:02] 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-09-05 05:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-05 05:55: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-09-05 05:55:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 05:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:55: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-09-05 05:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873295360001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873295360001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:55:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:55:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873295360001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":173964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:55:02] local.INFO: GPS data processed {"connection_id":173964,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:55:02] local.INFO: Acknowledgment sent {"connection_id":173964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:55:11] local.INFO: TCP Data received {"connection_id":173962,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173962,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:55:11] local.INFO: Processing buffer {"connection_id":173962,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:55:11] local.INFO: IMEI packet received {"connection_id":173962,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 05:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":173962,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:55:33] local.INFO: TCP Data received {"connection_id":173964,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ef3b708012d34c9c006aa3d280017008024..."} 
[2026-09-05 05:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ef3b708012d34c9c006aa3d280017008024..."} 
[2026-09-05 05:55:33] local.INFO: Processing buffer {"connection_id":173964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ef3b708012d34c9c006aa3d280017008024..."} 
[2026-09-05 05:55:33] local.INFO: Packet analysis {"connection_id":173964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ef3"} 
[2026-09-05 05:55:33] local.INFO: Extracted packet for processing {"connection_id":173964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ef3"} 
[2026-09-05 05:55:33] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 05:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873295360001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788567861000,"timestamp_ms":1788567861000,"timestamp_seconds":1788567861,"priority":1,"record_length":96,"hex_timestamp":"000001a06ef3b708"} 
[2026-09-05 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-09-05 05:55: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-09-05 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-05 05: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-09-05 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-09-05 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-09-05 05:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:55: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-09-05 05:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873295360001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873295360001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:55:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:55:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873295360001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":173964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:55:33] local.INFO: GPS data processed {"connection_id":173964,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:55:33] local.INFO: Acknowledgment sent {"connection_id":173964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:55:36] local.INFO: TCP Data received {"connection_id":171561,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171561,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:55:36] local.INFO: Processing buffer {"connection_id":171561,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 05:55:36] local.INFO: IMEI packet received {"connection_id":171561,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 05:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":171561,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:55:57] local.INFO: TCP Data received {"connection_id":172668,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:55:57] local.INFO: Processing buffer {"connection_id":172668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:55:57] local.INFO: IMEI packet received {"connection_id":172668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":172668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:56:02] local.INFO: TCP Data received {"connection_id":172668,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:56:02] local.INFO: Processing buffer {"connection_id":172668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:56:02] local.INFO: IMEI packet received {"connection_id":172668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":172668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:56:03] local.INFO: TCP Data received {"connection_id":172668,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ef3b708012d34c9c006aa3d280017008024..."} 
[2026-09-05 05:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ef3b708012d34c9c006aa3d280017008024..."} 
[2026-09-05 05:56:03] local.INFO: Processing buffer {"connection_id":172668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ef3b708012d34c9c006aa3d280017008024..."} 
[2026-09-05 05:56:03] local.INFO: Packet analysis {"connection_id":172668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ef3"} 
[2026-09-05 05:56:03] local.INFO: Extracted packet for processing {"connection_id":172668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ef3"} 
[2026-09-05 05:56:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 05:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873295360001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788567861000,"timestamp_ms":1788567861000,"timestamp_seconds":1788567861,"priority":1,"record_length":96,"hex_timestamp":"000001a06ef3b708"} 
[2026-09-05 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-09-05 05:56: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-09-05 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-05 05: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-09-05 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-09-05 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-09-05 05:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:56: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-09-05 05:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873295360001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873295360001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:56:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:56:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873295360001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":172668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:56:03] local.INFO: GPS data processed {"connection_id":172668,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:56:03] local.INFO: Acknowledgment sent {"connection_id":172668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:56:34] local.INFO: TCP Data received {"connection_id":172668,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ef3b708012d34c9c006aa3d280017008024..."} 
[2026-09-05 05:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ef3b708012d34c9c006aa3d280017008024..."} 
[2026-09-05 05:56:34] local.INFO: Processing buffer {"connection_id":172668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ef3b708012d34c9c006aa3d280017008024..."} 
[2026-09-05 05:56:34] local.INFO: Packet analysis {"connection_id":172668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ef3"} 
[2026-09-05 05:56:34] local.INFO: Extracted packet for processing {"connection_id":172668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ef3"} 
[2026-09-05 05:56:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873295360001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788567861000,"timestamp_ms":1788567861000,"timestamp_seconds":1788567861,"priority":1,"record_length":96,"hex_timestamp":"000001a06ef3b708"} 
[2026-09-05 05:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:56: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-09-05 05: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":211,"data_length":795,"current_offset":136} 
[2026-09-05 05:56:34] 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-09-05 05: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-09-05 05:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:56: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-09-05 05:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873295360001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873295360001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:56:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:56:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873295360001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":172668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:56:34] local.INFO: GPS data processed {"connection_id":172668,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:56:34] local.INFO: Acknowledgment sent {"connection_id":172668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:56:57] local.INFO: TCP Data received {"connection_id":173965,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:56:57] local.INFO: Processing buffer {"connection_id":173965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:56:57] local.INFO: IMEI packet received {"connection_id":173965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":173965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:57:02] local.INFO: TCP Data received {"connection_id":173965,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:57:02] local.INFO: Processing buffer {"connection_id":173965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:57:02] local.INFO: IMEI packet received {"connection_id":173965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":173965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:57:03] local.INFO: TCP Data received {"connection_id":173965,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ef3b708012d34c9c006aa3d280017008024..."} 
[2026-09-05 05:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ef3b708012d34c9c006aa3d280017008024..."} 
[2026-09-05 05:57:03] local.INFO: Processing buffer {"connection_id":173965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ef3b708012d34c9c006aa3d280017008024..."} 
[2026-09-05 05:57:03] local.INFO: Packet analysis {"connection_id":173965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ef3"} 
[2026-09-05 05:57:03] local.INFO: Extracted packet for processing {"connection_id":173965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ef3"} 
[2026-09-05 05:57:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873295360001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788567861000,"timestamp_ms":1788567861000,"timestamp_seconds":1788567861,"priority":1,"record_length":96,"hex_timestamp":"000001a06ef3b708"} 
[2026-09-05 05:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:57: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-09-05 05: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-09-05 05: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-09-05 05: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-09-05 05:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05: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-09-05 05:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873295360001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873295360001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:57:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:57:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873295360001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":173965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:57:03] local.INFO: GPS data processed {"connection_id":173965,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:57:03] local.INFO: Acknowledgment sent {"connection_id":173965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:57:34] local.INFO: TCP Data received {"connection_id":173965,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ef3b708012d34c9c006aa3d280017008024..."} 
[2026-09-05 05:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ef3b708012d34c9c006aa3d280017008024..."} 
[2026-09-05 05:57:34] local.INFO: Processing buffer {"connection_id":173965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ef3b708012d34c9c006aa3d280017008024..."} 
[2026-09-05 05:57:34] local.INFO: Packet analysis {"connection_id":173965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ef3"} 
[2026-09-05 05:57:34] local.INFO: Extracted packet for processing {"connection_id":173965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ef3"} 
[2026-09-05 05:57:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873295360001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788567861000,"timestamp_ms":1788567861000,"timestamp_seconds":1788567861,"priority":1,"record_length":96,"hex_timestamp":"000001a06ef3b708"} 
[2026-09-05 05:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:57: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-09-05 05: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":211,"data_length":795,"current_offset":136} 
[2026-09-05 05:57:34] 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-09-05 05: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-09-05 05:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:57: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-09-05 05:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873295360001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873295360001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:57:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:57:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873295360001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":173965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:57:34] local.INFO: GPS data processed {"connection_id":173965,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:57:34] local.INFO: Acknowledgment sent {"connection_id":173965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:57:57] local.INFO: TCP Data received {"connection_id":173966,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:57:57] local.INFO: Processing buffer {"connection_id":173966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:57:57] local.INFO: IMEI packet received {"connection_id":173966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":173966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:58:02] local.INFO: TCP Data received {"connection_id":173966,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:58:02] local.INFO: Processing buffer {"connection_id":173966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:58:02] local.INFO: IMEI packet received {"connection_id":173966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":173966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:58:03] local.INFO: TCP Data received {"connection_id":173966,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ef3b708012d34c9c006aa3d280017008024..."} 
[2026-09-05 05:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ef3b708012d34c9c006aa3d280017008024..."} 
[2026-09-05 05:58:03] local.INFO: Processing buffer {"connection_id":173966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ef3b708012d34c9c006aa3d280017008024..."} 
[2026-09-05 05:58:03] local.INFO: Packet analysis {"connection_id":173966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ef3"} 
[2026-09-05 05:58:03] local.INFO: Extracted packet for processing {"connection_id":173966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ef3"} 
[2026-09-05 05:58:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 05:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873295360001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788567861000,"timestamp_ms":1788567861000,"timestamp_seconds":1788567861,"priority":1,"record_length":96,"hex_timestamp":"000001a06ef3b708"} 
[2026-09-05 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-09-05 05:58: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-09-05 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-05 05: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-09-05 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-09-05 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-09-05 05:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 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-09-05 05:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873295360001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873295360001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:58:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:58:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873295360001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":173966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:58:03] local.INFO: GPS data processed {"connection_id":173966,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:58:03] local.INFO: Acknowledgment sent {"connection_id":173966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:58:34] local.INFO: TCP Data received {"connection_id":173966,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ef3b708012d34c9c006aa3d280017008024..."} 
[2026-09-05 05:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ef3b708012d34c9c006aa3d280017008024..."} 
[2026-09-05 05:58:34] local.INFO: Processing buffer {"connection_id":173966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ef3b708012d34c9c006aa3d280017008024..."} 
[2026-09-05 05:58:34] local.INFO: Packet analysis {"connection_id":173966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ef3"} 
[2026-09-05 05:58:34] local.INFO: Extracted packet for processing {"connection_id":173966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ef3"} 
[2026-09-05 05:58:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873295360001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788567861000,"timestamp_ms":1788567861000,"timestamp_seconds":1788567861,"priority":1,"record_length":96,"hex_timestamp":"000001a06ef3b708"} 
[2026-09-05 05:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:58: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-09-05 05: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":211,"data_length":795,"current_offset":136} 
[2026-09-05 05:58:34] 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-09-05 05: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-09-05 05:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:58: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-09-05 05:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873295360001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873295360001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:58:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:58:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873295360001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":173966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:58:34] local.INFO: GPS data processed {"connection_id":173966,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:58:34] local.INFO: Acknowledgment sent {"connection_id":173966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:58:57] local.INFO: TCP Data received {"connection_id":173967,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:58:57] local.INFO: Processing buffer {"connection_id":173967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:58:57] local.INFO: IMEI packet received {"connection_id":173967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":173967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 05:59:02] local.INFO: TCP Data received {"connection_id":173967,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:59:02] local.INFO: Processing buffer {"connection_id":173967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:59:02] local.INFO: IMEI packet received {"connection_id":173967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 05:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":173967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 05:59:03] local.INFO: TCP Data received {"connection_id":173967,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ef3b708012d34c9c006aa3d280017008024..."} 
[2026-09-05 05:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ef3b708012d34c9c006aa3d280017008024..."} 
[2026-09-05 05:59:03] local.INFO: Processing buffer {"connection_id":173967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ef3b708012d34c9c006aa3d280017008024..."} 
[2026-09-05 05:59:03] local.INFO: Packet analysis {"connection_id":173967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ef3"} 
[2026-09-05 05:59:03] local.INFO: Extracted packet for processing {"connection_id":173967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ef3"} 
[2026-09-05 05:59:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873295360001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788567861000,"timestamp_ms":1788567861000,"timestamp_seconds":1788567861,"priority":1,"record_length":96,"hex_timestamp":"000001a06ef3b708"} 
[2026-09-05 05:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:59: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-09-05 05: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-05 05:59: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-09-05 05: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-09-05 05:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05: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-09-05 05:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873295360001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873295360001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:59:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:59:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873295360001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":173967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:59:03] local.INFO: GPS data processed {"connection_id":173967,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:59:03] local.INFO: Acknowledgment sent {"connection_id":173967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:59:34] local.INFO: TCP Data received {"connection_id":173967,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ef3b708012d34c9c006aa3d280017008024..."} 
[2026-09-05 05:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ef3b708012d34c9c006aa3d280017008024..."} 
[2026-09-05 05:59:34] local.INFO: Processing buffer {"connection_id":173967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ef3b708012d34c9c006aa3d280017008024..."} 
[2026-09-05 05:59:34] local.INFO: Packet analysis {"connection_id":173967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ef3"} 
[2026-09-05 05:59:34] local.INFO: Extracted packet for processing {"connection_id":173967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ef3"} 
[2026-09-05 05:59:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 05: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-09-05 05:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873295360001,"note":"Value kept but may cause issues"} 
[2026-09-05 05:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 05:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 05:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 05:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788567861000,"timestamp_ms":1788567861000,"timestamp_seconds":1788567861,"priority":1,"record_length":96,"hex_timestamp":"000001a06ef3b708"} 
[2026-09-05 05:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 05:59: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-09-05 05: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-05 05:59:34] 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-09-05 05: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-09-05 05:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 05:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 05:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 05:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 05:59: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-09-05 05:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 05:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 05:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873295360001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 05:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 05:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 05:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873295360001,"description":"Unknown IO ID 0"} 
[2026-09-05 05:59:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 05:59:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 05:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 05:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 05:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873295360001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 05:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":173967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 05:59:34] local.INFO: GPS data processed {"connection_id":173967,"processed":1,"errors":0,"total":1} 
[2026-09-05 05:59:34] local.INFO: Acknowledgment sent {"connection_id":173967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 05:59:57] local.INFO: TCP Data received {"connection_id":172669,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:59:57] local.INFO: Processing buffer {"connection_id":172669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 05:59:57] local.INFO: IMEI packet received {"connection_id":172669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 05:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":172669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:00:00] local.INFO: TCP Data received {"connection_id":172669,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:00:00] local.INFO: Processing buffer {"connection_id":172669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:00:00] local.INFO: IMEI packet received {"connection_id":172669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":172669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:00:02] local.INFO: TCP Data received {"connection_id":172669,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:00:02] local.INFO: Processing buffer {"connection_id":172669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:00:02] local.INFO: IMEI packet received {"connection_id":172669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":172669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:00:03] local.INFO: TCP Data received {"connection_id":172669,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ef84ed0012d34c9c006aa3d280017008020..."} 
[2026-09-05 06:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ef84ed0012d34c9c006aa3d280017008020..."} 
[2026-09-05 06:00:03] local.INFO: Processing buffer {"connection_id":172669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ef84ed0012d34c9c006aa3d280017008020..."} 
[2026-09-05 06:00:03] local.INFO: Packet analysis {"connection_id":172669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ef8"} 
[2026-09-05 06:00:03] local.INFO: Extracted packet for processing {"connection_id":172669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ef8"} 
[2026-09-05 06:00:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873372416001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788568162000,"timestamp_ms":1788568162000,"timestamp_seconds":1788568162,"priority":1,"record_length":96,"hex_timestamp":"000001a06ef84ed0"} 
[2026-09-05 06:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:00: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-09-05 06:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 06:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06: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-09-05 06:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873372416001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873372416001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:00:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:00:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873372416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":172669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:00:03] local.INFO: GPS data processed {"connection_id":172669,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:00:03] local.INFO: Acknowledgment sent {"connection_id":172669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:00:34] local.INFO: TCP Data received {"connection_id":172669,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ef84ed0012d34c9c006aa3d280017008020..."} 
[2026-09-05 06:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ef84ed0012d34c9c006aa3d280017008020..."} 
[2026-09-05 06:00:34] local.INFO: Processing buffer {"connection_id":172669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ef84ed0012d34c9c006aa3d280017008020..."} 
[2026-09-05 06:00:34] local.INFO: Packet analysis {"connection_id":172669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ef8"} 
[2026-09-05 06:00:34] local.INFO: Extracted packet for processing {"connection_id":172669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ef8"} 
[2026-09-05 06:00:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873372416001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788568162000,"timestamp_ms":1788568162000,"timestamp_seconds":1788568162,"priority":1,"record_length":96,"hex_timestamp":"000001a06ef84ed0"} 
[2026-09-05 06:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:00: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-09-05 06:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 06:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:00: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-09-05 06:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873372416001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873372416001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:00:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:00:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873372416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":172669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:00:34] local.INFO: GPS data processed {"connection_id":172669,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:00:34] local.INFO: Acknowledgment sent {"connection_id":172669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:00:51] local.INFO: TCP Data received {"connection_id":172670,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 06:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172670,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 06:00:51] local.INFO: Processing buffer {"connection_id":172670,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 06:00:51] local.INFO: IMEI packet received {"connection_id":172670,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 06:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":172670,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:00:57] local.INFO: TCP Data received {"connection_id":171264,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:00:57] local.INFO: Processing buffer {"connection_id":171264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:00:57] local.INFO: IMEI packet received {"connection_id":171264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":171264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:01:02] local.INFO: TCP Data received {"connection_id":171264,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:01:02] local.INFO: Processing buffer {"connection_id":171264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:01:02] local.INFO: IMEI packet received {"connection_id":171264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":171264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:01:03] local.INFO: TCP Data received {"connection_id":171264,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ef84ed0012d34c9c006aa3d280017008020..."} 
[2026-09-05 06:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ef84ed0012d34c9c006aa3d280017008020..."} 
[2026-09-05 06:01:03] local.INFO: Processing buffer {"connection_id":171264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ef84ed0012d34c9c006aa3d280017008020..."} 
[2026-09-05 06:01:03] local.INFO: Packet analysis {"connection_id":171264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ef8"} 
[2026-09-05 06:01:03] local.INFO: Extracted packet for processing {"connection_id":171264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ef8"} 
[2026-09-05 06:01:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873372416001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788568162000,"timestamp_ms":1788568162000,"timestamp_seconds":1788568162,"priority":1,"record_length":96,"hex_timestamp":"000001a06ef84ed0"} 
[2026-09-05 06:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:01: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-09-05 06: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":233,"data_length":795,"current_offset":136} 
[2026-09-05 06:01: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-09-05 06: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-09-05 06:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:01: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-09-05 06:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873372416001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873372416001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:01:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:01:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873372416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":171264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:01:03] local.INFO: GPS data processed {"connection_id":171264,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:01:03] local.INFO: Acknowledgment sent {"connection_id":171264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:01:35] local.INFO: TCP Data received {"connection_id":171264,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ef84ed0012d34c9c006aa3d280017008020..."} 
[2026-09-05 06:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ef84ed0012d34c9c006aa3d280017008020..."} 
[2026-09-05 06:01:35] local.INFO: Processing buffer {"connection_id":171264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ef84ed0012d34c9c006aa3d280017008020..."} 
[2026-09-05 06:01:35] local.INFO: Packet analysis {"connection_id":171264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ef8"} 
[2026-09-05 06:01:35] local.INFO: Extracted packet for processing {"connection_id":171264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ef8"} 
[2026-09-05 06:01:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873372416001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788568162000,"timestamp_ms":1788568162000,"timestamp_seconds":1788568162,"priority":1,"record_length":96,"hex_timestamp":"000001a06ef84ed0"} 
[2026-09-05 06:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:01:35] 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-09-05 06:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 06: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-09-05 06:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873372416001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873372416001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:01:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:01:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873372416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":171264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:01:35] local.INFO: GPS data processed {"connection_id":171264,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:01:35] local.INFO: Acknowledgment sent {"connection_id":171264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:01:58] local.INFO: TCP Data received {"connection_id":173968,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:01:58] local.INFO: Processing buffer {"connection_id":173968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:01:58] local.INFO: IMEI packet received {"connection_id":173968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":173968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:02:02] local.INFO: TCP Data received {"connection_id":173968,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:02:02] local.INFO: Processing buffer {"connection_id":173968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:02:02] local.INFO: IMEI packet received {"connection_id":173968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":173968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:02:03] local.INFO: TCP Data received {"connection_id":173968,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ef84ed0012d34c9c006aa3d280017008020..."} 
[2026-09-05 06:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ef84ed0012d34c9c006aa3d280017008020..."} 
[2026-09-05 06:02:03] local.INFO: Processing buffer {"connection_id":173968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ef84ed0012d34c9c006aa3d280017008020..."} 
[2026-09-05 06:02:03] local.INFO: Packet analysis {"connection_id":173968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ef8"} 
[2026-09-05 06:02:03] local.INFO: Extracted packet for processing {"connection_id":173968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ef8"} 
[2026-09-05 06:02:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873372416001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788568162000,"timestamp_ms":1788568162000,"timestamp_seconds":1788568162,"priority":1,"record_length":96,"hex_timestamp":"000001a06ef84ed0"} 
[2026-09-05 06:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:02: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-09-05 06:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 06:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:02: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-09-05 06:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873372416001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873372416001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:02:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:02:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873372416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":173968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:02:03] local.INFO: GPS data processed {"connection_id":173968,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:02:03] local.INFO: Acknowledgment sent {"connection_id":173968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:02:34] local.INFO: TCP Data received {"connection_id":173968,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ef84ed0012d34c9c006aa3d280017008020..."} 
[2026-09-05 06:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ef84ed0012d34c9c006aa3d280017008020..."} 
[2026-09-05 06:02:34] local.INFO: Processing buffer {"connection_id":173968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ef84ed0012d34c9c006aa3d280017008020..."} 
[2026-09-05 06:02:34] local.INFO: Packet analysis {"connection_id":173968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ef8"} 
[2026-09-05 06:02:34] local.INFO: Extracted packet for processing {"connection_id":173968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ef8"} 
[2026-09-05 06:02:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873372416001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788568162000,"timestamp_ms":1788568162000,"timestamp_seconds":1788568162,"priority":1,"record_length":96,"hex_timestamp":"000001a06ef84ed0"} 
[2026-09-05 06:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:02: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-09-05 06:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 06:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:02: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-09-05 06:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873372416001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873372416001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:02:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:02:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873372416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":173968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:02:34] local.INFO: GPS data processed {"connection_id":173968,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:02:34] local.INFO: Acknowledgment sent {"connection_id":173968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:02:57] local.INFO: TCP Data received {"connection_id":171265,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:02:57] local.INFO: Processing buffer {"connection_id":171265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:02:57] local.INFO: IMEI packet received {"connection_id":171265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":171265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:03:02] local.INFO: TCP Data received {"connection_id":171265,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:03:02] local.INFO: Processing buffer {"connection_id":171265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:03:02] local.INFO: IMEI packet received {"connection_id":171265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":171265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:03:03] local.INFO: TCP Data received {"connection_id":171265,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ef84ed0012d34c9c006aa3d280017008020..."} 
[2026-09-05 06:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ef84ed0012d34c9c006aa3d280017008020..."} 
[2026-09-05 06:03:03] local.INFO: Processing buffer {"connection_id":171265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ef84ed0012d34c9c006aa3d280017008020..."} 
[2026-09-05 06:03:03] local.INFO: Packet analysis {"connection_id":171265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ef8"} 
[2026-09-05 06:03:03] local.INFO: Extracted packet for processing {"connection_id":171265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ef8"} 
[2026-09-05 06:03:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873372416001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788568162000,"timestamp_ms":1788568162000,"timestamp_seconds":1788568162,"priority":1,"record_length":96,"hex_timestamp":"000001a06ef84ed0"} 
[2026-09-05 06:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:03: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-09-05 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 06:03: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-09-05 06: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-09-05 06:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:03: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-09-05 06:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873372416001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873372416001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:03:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:03:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873372416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":171265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:03:03] local.INFO: GPS data processed {"connection_id":171265,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:03:03] local.INFO: Acknowledgment sent {"connection_id":171265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:03:34] local.INFO: TCP Data received {"connection_id":171265,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ef84ed0012d34c9c006aa3d280017008020..."} 
[2026-09-05 06:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ef84ed0012d34c9c006aa3d280017008020..."} 
[2026-09-05 06:03:34] local.INFO: Processing buffer {"connection_id":171265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ef84ed0012d34c9c006aa3d280017008020..."} 
[2026-09-05 06:03:34] local.INFO: Packet analysis {"connection_id":171265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ef8"} 
[2026-09-05 06:03:34] local.INFO: Extracted packet for processing {"connection_id":171265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ef8"} 
[2026-09-05 06:03:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873372416001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788568162000,"timestamp_ms":1788568162000,"timestamp_seconds":1788568162,"priority":1,"record_length":96,"hex_timestamp":"000001a06ef84ed0"} 
[2026-09-05 06:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:03: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-09-05 06:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 06:03: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-09-05 06:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:03: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-09-05 06:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873372416001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873372416001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:03:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:03:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873372416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":171265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:03:34] local.INFO: GPS data processed {"connection_id":171265,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:03:34] local.INFO: Acknowledgment sent {"connection_id":171265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:03:57] local.INFO: TCP Data received {"connection_id":171562,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:03:57] local.INFO: Processing buffer {"connection_id":171562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:03:57] local.INFO: IMEI packet received {"connection_id":171562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":171562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:04:02] local.INFO: TCP Data received {"connection_id":171562,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:04:02] local.INFO: Processing buffer {"connection_id":171562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:04:02] local.INFO: IMEI packet received {"connection_id":171562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":171562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:04:03] local.INFO: TCP Data received {"connection_id":171562,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ef84ed0012d34c9c006aa3d280017008020..."} 
[2026-09-05 06:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ef84ed0012d34c9c006aa3d280017008020..."} 
[2026-09-05 06:04:03] local.INFO: Processing buffer {"connection_id":171562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ef84ed0012d34c9c006aa3d280017008020..."} 
[2026-09-05 06:04:03] local.INFO: Packet analysis {"connection_id":171562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ef8"} 
[2026-09-05 06:04:03] local.INFO: Extracted packet for processing {"connection_id":171562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ef8"} 
[2026-09-05 06:04:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873372416001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788568162000,"timestamp_ms":1788568162000,"timestamp_seconds":1788568162,"priority":1,"record_length":96,"hex_timestamp":"000001a06ef84ed0"} 
[2026-09-05 06:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:04: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-09-05 06:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 06:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:04: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-09-05 06:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873372416001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873372416001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:04:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:04:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873372416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":171562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:04:03] local.INFO: GPS data processed {"connection_id":171562,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:04:03] local.INFO: Acknowledgment sent {"connection_id":171562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:04:34] local.INFO: TCP Data received {"connection_id":171562,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06ef84ed0012d34c9c006aa3d280017008020..."} 
[2026-09-05 06:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ef84ed0012d34c9c006aa3d280017008020..."} 
[2026-09-05 06:04:34] local.INFO: Processing buffer {"connection_id":171562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ef84ed0012d34c9c006aa3d280017008020..."} 
[2026-09-05 06:04:34] local.INFO: Packet analysis {"connection_id":171562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ef8"} 
[2026-09-05 06:04:34] local.INFO: Extracted packet for processing {"connection_id":171562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ef8"} 
[2026-09-05 06:04:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873372416001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788568162000,"timestamp_ms":1788568162000,"timestamp_seconds":1788568162,"priority":1,"record_length":96,"hex_timestamp":"000001a06ef84ed0"} 
[2026-09-05 06:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:04: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-09-05 06: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":233,"data_length":795,"current_offset":136} 
[2026-09-05 06:04: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-09-05 06: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-09-05 06:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:04: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-09-05 06:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873372416001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873372416001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:04:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:04:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873372416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":171562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:04:34] local.INFO: GPS data processed {"connection_id":171562,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:04:34] local.INFO: Acknowledgment sent {"connection_id":171562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:04:57] local.INFO: TCP Data received {"connection_id":173969,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:04:57] local.INFO: Processing buffer {"connection_id":173969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:04:57] local.INFO: IMEI packet received {"connection_id":173969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":173969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:05:01] local.INFO: TCP Data received {"connection_id":173969,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:05:01] local.INFO: Processing buffer {"connection_id":173969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:05:01] local.INFO: IMEI packet received {"connection_id":173969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":173969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:05:02] local.INFO: TCP Data received {"connection_id":173969,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:05:02] local.INFO: Processing buffer {"connection_id":173969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:05:02] local.INFO: IMEI packet received {"connection_id":173969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":173969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:05:03] local.INFO: TCP Data received {"connection_id":173969,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06efce698012d34c9c006aa3d280017008022..."} 
[2026-09-05 06:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06efce698012d34c9c006aa3d280017008022..."} 
[2026-09-05 06:05:03] local.INFO: Processing buffer {"connection_id":173969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06efce698012d34c9c006aa3d280017008022..."} 
[2026-09-05 06:05:03] local.INFO: Packet analysis {"connection_id":173969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06efc"} 
[2026-09-05 06:05:03] local.INFO: Extracted packet for processing {"connection_id":173969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06efc"} 
[2026-09-05 06:05:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873449472001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788568463000,"timestamp_ms":1788568463000,"timestamp_seconds":1788568463,"priority":1,"record_length":96,"hex_timestamp":"000001a06efce698"} 
[2026-09-05 06:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:05:03] 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-09-05 06:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 06:05: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-09-05 06:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:05: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-09-05 06:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873449472001,"66":25430,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873449472001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:05:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:05:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873449472001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":173969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:05:03] local.INFO: GPS data processed {"connection_id":173969,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:05:03] local.INFO: Acknowledgment sent {"connection_id":173969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:05:34] local.INFO: TCP Data received {"connection_id":173969,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06efce698012d34c9c006aa3d280017008022..."} 
[2026-09-05 06:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06efce698012d34c9c006aa3d280017008022..."} 
[2026-09-05 06:05:34] local.INFO: Processing buffer {"connection_id":173969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06efce698012d34c9c006aa3d280017008022..."} 
[2026-09-05 06:05:34] local.INFO: Packet analysis {"connection_id":173969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06efc"} 
[2026-09-05 06:05:34] local.INFO: Extracted packet for processing {"connection_id":173969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06efc"} 
[2026-09-05 06:05:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873449472001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788568463000,"timestamp_ms":1788568463000,"timestamp_seconds":1788568463,"priority":1,"record_length":96,"hex_timestamp":"000001a06efce698"} 
[2026-09-05 06:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:05: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-09-05 06: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":233,"data_length":795,"current_offset":136} 
[2026-09-05 06:05: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-09-05 06: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-09-05 06:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:05: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-09-05 06:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873449472001,"66":25430,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873449472001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:05:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:05:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873449472001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":173969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":766999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:05:34] local.INFO: GPS data processed {"connection_id":173969,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:05:34] local.INFO: Acknowledgment sent {"connection_id":173969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:05:57] local.INFO: TCP Data received {"connection_id":171266,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:05:57] local.INFO: Processing buffer {"connection_id":171266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:05:57] local.INFO: IMEI packet received {"connection_id":171266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":171266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:06:02] local.INFO: TCP Data received {"connection_id":171266,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:06:02] local.INFO: Processing buffer {"connection_id":171266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:06:02] local.INFO: IMEI packet received {"connection_id":171266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":171266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:06:03] local.INFO: TCP Data received {"connection_id":171266,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06efce698012d34c9c006aa3d280017008022..."} 
[2026-09-05 06:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06efce698012d34c9c006aa3d280017008022..."} 
[2026-09-05 06:06:03] local.INFO: Processing buffer {"connection_id":171266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06efce698012d34c9c006aa3d280017008022..."} 
[2026-09-05 06:06:03] local.INFO: Packet analysis {"connection_id":171266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06efc"} 
[2026-09-05 06:06:03] local.INFO: Extracted packet for processing {"connection_id":171266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06efc"} 
[2026-09-05 06:06:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873449472001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788568463000,"timestamp_ms":1788568463000,"timestamp_seconds":1788568463,"priority":1,"record_length":96,"hex_timestamp":"000001a06efce698"} 
[2026-09-05 06:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:06:03] 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-09-05 06:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 06:06: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-09-05 06:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:06: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-09-05 06:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873449472001,"66":25430,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873449472001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:06:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:06:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873449472001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":171266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:06:03] local.INFO: GPS data processed {"connection_id":171266,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:06:03] local.INFO: Acknowledgment sent {"connection_id":171266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:06:26] local.INFO: TCP Data received {"connection_id":171563,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 06:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 06:06:26] local.INFO: Processing buffer {"connection_id":171563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 06:06:26] local.INFO: IMEI packet received {"connection_id":171563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 06:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":171563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:06:34] local.INFO: TCP Data received {"connection_id":171266,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06efce698012d34c9c006aa3d280017008022..."} 
[2026-09-05 06:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06efce698012d34c9c006aa3d280017008022..."} 
[2026-09-05 06:06:34] local.INFO: Processing buffer {"connection_id":171266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06efce698012d34c9c006aa3d280017008022..."} 
[2026-09-05 06:06:34] local.INFO: Packet analysis {"connection_id":171266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06efc"} 
[2026-09-05 06:06:34] local.INFO: Extracted packet for processing {"connection_id":171266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06efc"} 
[2026-09-05 06:06:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873449472001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788568463000,"timestamp_ms":1788568463000,"timestamp_seconds":1788568463,"priority":1,"record_length":96,"hex_timestamp":"000001a06efce698"} 
[2026-09-05 06:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:06: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-09-05 06:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 06:06: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-09-05 06:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:06: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-09-05 06:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873449472001,"66":25430,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873449472001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:06:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:06:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873449472001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":171266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:06:34] local.INFO: GPS data processed {"connection_id":171266,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:06:34] local.INFO: Acknowledgment sent {"connection_id":171266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:06:57] local.INFO: TCP Data received {"connection_id":173970,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:06:57] local.INFO: Processing buffer {"connection_id":173970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:06:57] local.INFO: IMEI packet received {"connection_id":173970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":173970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:07:02] local.INFO: TCP Data received {"connection_id":173970,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:07:02] local.INFO: Processing buffer {"connection_id":173970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:07:02] local.INFO: IMEI packet received {"connection_id":173970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":173970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:07:03] local.INFO: TCP Data received {"connection_id":173970,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06efce698012d34c9c006aa3d280017008022..."} 
[2026-09-05 06:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06efce698012d34c9c006aa3d280017008022..."} 
[2026-09-05 06:07:03] local.INFO: Processing buffer {"connection_id":173970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06efce698012d34c9c006aa3d280017008022..."} 
[2026-09-05 06:07:03] local.INFO: Packet analysis {"connection_id":173970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06efc"} 
[2026-09-05 06:07:03] local.INFO: Extracted packet for processing {"connection_id":173970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06efc"} 
[2026-09-05 06:07:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873449472001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788568463000,"timestamp_ms":1788568463000,"timestamp_seconds":1788568463,"priority":1,"record_length":96,"hex_timestamp":"000001a06efce698"} 
[2026-09-05 06:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:07:03] 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-09-05 06: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":233,"data_length":795,"current_offset":136} 
[2026-09-05 06:07: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-09-05 06: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-09-05 06:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:07: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-09-05 06:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873449472001,"66":25430,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873449472001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:07:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:07:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873449472001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":173970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:07:03] local.INFO: GPS data processed {"connection_id":173970,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:07:03] local.INFO: Acknowledgment sent {"connection_id":173970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:07:34] local.INFO: TCP Data received {"connection_id":173970,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06efce698012d34c9c006aa3d280017008022..."} 
[2026-09-05 06:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06efce698012d34c9c006aa3d280017008022..."} 
[2026-09-05 06:07:34] local.INFO: Processing buffer {"connection_id":173970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06efce698012d34c9c006aa3d280017008022..."} 
[2026-09-05 06:07:34] local.INFO: Packet analysis {"connection_id":173970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06efc"} 
[2026-09-05 06:07:34] local.INFO: Extracted packet for processing {"connection_id":173970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06efc"} 
[2026-09-05 06:07:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873449472001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788568463000,"timestamp_ms":1788568463000,"timestamp_seconds":1788568463,"priority":1,"record_length":96,"hex_timestamp":"000001a06efce698"} 
[2026-09-05 06:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:07: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-09-05 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 06:07: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-09-05 06: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-09-05 06:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:07: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-09-05 06:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873449472001,"66":25430,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873449472001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:07:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:07:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873449472001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":173970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:07:34] local.INFO: GPS data processed {"connection_id":173970,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:07:34] local.INFO: Acknowledgment sent {"connection_id":173970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:07:57] local.INFO: TCP Data received {"connection_id":171564,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:07:57] local.INFO: Processing buffer {"connection_id":171564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:07:57] local.INFO: IMEI packet received {"connection_id":171564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":171564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:08:02] local.INFO: TCP Data received {"connection_id":171564,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:08:02] local.INFO: Processing buffer {"connection_id":171564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:08:02] local.INFO: IMEI packet received {"connection_id":171564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":171564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:08:03] local.INFO: TCP Data received {"connection_id":171564,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06efce698012d34c9c006aa3d280017008022..."} 
[2026-09-05 06:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06efce698012d34c9c006aa3d280017008022..."} 
[2026-09-05 06:08:03] local.INFO: Processing buffer {"connection_id":171564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06efce698012d34c9c006aa3d280017008022..."} 
[2026-09-05 06:08:03] local.INFO: Packet analysis {"connection_id":171564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06efc"} 
[2026-09-05 06:08:03] local.INFO: Extracted packet for processing {"connection_id":171564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06efc"} 
[2026-09-05 06:08:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873449472001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788568463000,"timestamp_ms":1788568463000,"timestamp_seconds":1788568463,"priority":1,"record_length":96,"hex_timestamp":"000001a06efce698"} 
[2026-09-05 06:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:08:03] 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-09-05 06:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 06:08: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-09-05 06:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:08: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-09-05 06:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873449472001,"66":25430,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873449472001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:08:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:08:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873449472001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":171564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:08:03] local.INFO: GPS data processed {"connection_id":171564,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:08:03] local.INFO: Acknowledgment sent {"connection_id":171564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:08:34] local.INFO: TCP Data received {"connection_id":171564,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06efce698012d34c9c006aa3d280017008022..."} 
[2026-09-05 06:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06efce698012d34c9c006aa3d280017008022..."} 
[2026-09-05 06:08:34] local.INFO: Processing buffer {"connection_id":171564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06efce698012d34c9c006aa3d280017008022..."} 
[2026-09-05 06:08:34] local.INFO: Packet analysis {"connection_id":171564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06efc"} 
[2026-09-05 06:08:34] local.INFO: Extracted packet for processing {"connection_id":171564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06efc"} 
[2026-09-05 06:08:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873449472001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788568463000,"timestamp_ms":1788568463000,"timestamp_seconds":1788568463,"priority":1,"record_length":96,"hex_timestamp":"000001a06efce698"} 
[2026-09-05 06:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:08: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-09-05 06: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-09-05 06: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-09-05 06: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-09-05 06:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873449472001,"66":25430,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873449472001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:08:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:08:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873449472001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":171564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:08:34] local.INFO: GPS data processed {"connection_id":171564,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:08:34] local.INFO: Acknowledgment sent {"connection_id":171564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:08:57] local.INFO: TCP Data received {"connection_id":173971,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:08:57] local.INFO: Processing buffer {"connection_id":173971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:08:57] local.INFO: IMEI packet received {"connection_id":173971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":173971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:09:02] local.INFO: TCP Data received {"connection_id":173971,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:09:02] local.INFO: Processing buffer {"connection_id":173971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:09:02] local.INFO: IMEI packet received {"connection_id":173971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":173971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:09:03] local.INFO: TCP Data received {"connection_id":173971,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06efce698012d34c9c006aa3d280017008022..."} 
[2026-09-05 06:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06efce698012d34c9c006aa3d280017008022..."} 
[2026-09-05 06:09:03] local.INFO: Processing buffer {"connection_id":173971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06efce698012d34c9c006aa3d280017008022..."} 
[2026-09-05 06:09:03] local.INFO: Packet analysis {"connection_id":173971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06efc"} 
[2026-09-05 06:09:03] local.INFO: Extracted packet for processing {"connection_id":173971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06efc"} 
[2026-09-05 06:09:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873449472001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788568463000,"timestamp_ms":1788568463000,"timestamp_seconds":1788568463,"priority":1,"record_length":96,"hex_timestamp":"000001a06efce698"} 
[2026-09-05 06:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:09:03] 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-09-05 06:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 06:09: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-09-05 06:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06: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-09-05 06:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873449472001,"66":25430,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873449472001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:09:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:09:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873449472001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":173971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:09:03] local.INFO: GPS data processed {"connection_id":173971,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:09:03] local.INFO: Acknowledgment sent {"connection_id":173971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:09:34] local.INFO: TCP Data received {"connection_id":173971,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06efce698012d34c9c006aa3d280017008022..."} 
[2026-09-05 06:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06efce698012d34c9c006aa3d280017008022..."} 
[2026-09-05 06:09:34] local.INFO: Processing buffer {"connection_id":173971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06efce698012d34c9c006aa3d280017008022..."} 
[2026-09-05 06:09:34] local.INFO: Packet analysis {"connection_id":173971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06efc"} 
[2026-09-05 06:09:34] local.INFO: Extracted packet for processing {"connection_id":173971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06efc"} 
[2026-09-05 06:09:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873449472001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788568463000,"timestamp_ms":1788568463000,"timestamp_seconds":1788568463,"priority":1,"record_length":96,"hex_timestamp":"000001a06efce698"} 
[2026-09-05 06:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:09: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-09-05 06: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":233,"data_length":795,"current_offset":136} 
[2026-09-05 06:09: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-09-05 06: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-09-05 06:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:09: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-09-05 06:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873449472001,"66":25430,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873449472001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:09:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:09:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873449472001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":173971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:09:34] local.INFO: GPS data processed {"connection_id":173971,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:09:34] local.INFO: Acknowledgment sent {"connection_id":173971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:09:57] local.INFO: TCP Data received {"connection_id":171267,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:09:57] local.INFO: Processing buffer {"connection_id":171267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:09:57] local.INFO: IMEI packet received {"connection_id":171267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":171267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:10:02] local.INFO: TCP Data received {"connection_id":171267,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:10:02] local.INFO: Processing buffer {"connection_id":171267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:10:02] local.INFO: IMEI packet received {"connection_id":171267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":171267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:10:03] local.INFO: TCP Data received {"connection_id":171267,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a06f017e60012d34c9c006aa3d280014008022..."} 
[2026-09-05 06:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f017e60012d34c9c006aa3d280014008022..."} 
[2026-09-05 06:10:03] local.INFO: Processing buffer {"connection_id":171267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f017e60012d34c9c006aa3d280014008022..."} 
[2026-09-05 06:10:03] local.INFO: Packet analysis {"connection_id":171267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f01"} 
[2026-09-05 06:10:03] local.INFO: Extracted packet for processing {"connection_id":171267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f01"} 
[2026-09-05 06:10:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":20,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873526528001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788568764000,"timestamp_ms":1788568764000,"timestamp_seconds":1788568764,"priority":1,"record_length":96,"hex_timestamp":"000001a06f017e60"} 
[2026-09-05 06:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:10: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-09-05 06:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 06:10: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-09-05 06: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-09-05 06:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873526528001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873526528001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:10:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:10:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873526528001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":171267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:10:03] local.INFO: GPS data processed {"connection_id":171267,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:10:03] local.INFO: Acknowledgment sent {"connection_id":171267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:10:34] local.INFO: TCP Data received {"connection_id":171267,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a06f017e60012d34c9c006aa3d280014008022..."} 
[2026-09-05 06:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f017e60012d34c9c006aa3d280014008022..."} 
[2026-09-05 06:10:34] local.INFO: Processing buffer {"connection_id":171267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f017e60012d34c9c006aa3d280014008022..."} 
[2026-09-05 06:10:34] local.INFO: Packet analysis {"connection_id":171267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f01"} 
[2026-09-05 06:10:34] local.INFO: Extracted packet for processing {"connection_id":171267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f01"} 
[2026-09-05 06:10:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":20,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873526528001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788568764000,"timestamp_ms":1788568764000,"timestamp_seconds":1788568764,"priority":1,"record_length":96,"hex_timestamp":"000001a06f017e60"} 
[2026-09-05 06:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:10: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-09-05 06:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 06:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873526528001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873526528001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:10:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:10:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873526528001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":171267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:10:34] local.INFO: GPS data processed {"connection_id":171267,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:10:34] local.INFO: Acknowledgment sent {"connection_id":171267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:10:57] local.INFO: TCP Data received {"connection_id":171565,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:10:57] local.INFO: Processing buffer {"connection_id":171565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:10:57] local.INFO: IMEI packet received {"connection_id":171565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":171565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:11:02] local.INFO: TCP Data received {"connection_id":171565,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:11:02] local.INFO: Processing buffer {"connection_id":171565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:11:02] local.INFO: IMEI packet received {"connection_id":171565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":171565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:11:03] local.INFO: TCP Data received {"connection_id":171565,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f017e60012d34c9c006aa3d280014008022..."} 
[2026-09-05 06:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f017e60012d34c9c006aa3d280014008022..."} 
[2026-09-05 06:11:03] local.INFO: Processing buffer {"connection_id":171565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f017e60012d34c9c006aa3d280014008022..."} 
[2026-09-05 06:11:03] local.INFO: Packet analysis {"connection_id":171565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f01"} 
[2026-09-05 06:11:03] local.INFO: Extracted packet for processing {"connection_id":171565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f01"} 
[2026-09-05 06:11:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":20,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873526528001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788568764000,"timestamp_ms":1788568764000,"timestamp_seconds":1788568764,"priority":1,"record_length":96,"hex_timestamp":"000001a06f017e60"} 
[2026-09-05 06:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:11: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-09-05 06:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 06:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:11: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-09-05 06:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873526528001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873526528001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:11:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:11:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873526528001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":171565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:11:03] local.INFO: GPS data processed {"connection_id":171565,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:11:03] local.INFO: Acknowledgment sent {"connection_id":171565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:11:34] local.INFO: TCP Data received {"connection_id":171565,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f017e60012d34c9c006aa3d280014008022..."} 
[2026-09-05 06:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f017e60012d34c9c006aa3d280014008022..."} 
[2026-09-05 06:11:34] local.INFO: Processing buffer {"connection_id":171565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f017e60012d34c9c006aa3d280014008022..."} 
[2026-09-05 06:11:34] local.INFO: Packet analysis {"connection_id":171565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f01"} 
[2026-09-05 06:11:34] local.INFO: Extracted packet for processing {"connection_id":171565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f01"} 
[2026-09-05 06:11:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":20,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873526528001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788568764000,"timestamp_ms":1788568764000,"timestamp_seconds":1788568764,"priority":1,"record_length":96,"hex_timestamp":"000001a06f017e60"} 
[2026-09-05 06:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:11: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-09-05 06:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 06:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873526528001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873526528001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:11:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:11:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873526528001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":171565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:11:34] local.INFO: GPS data processed {"connection_id":171565,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:11:34] local.INFO: Acknowledgment sent {"connection_id":171565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:11:57] local.INFO: TCP Data received {"connection_id":173973,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:11:57] local.INFO: Processing buffer {"connection_id":173973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:11:57] local.INFO: IMEI packet received {"connection_id":173973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":173973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:12:01] local.INFO: TCP Data received {"connection_id":173972,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 06:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 06:12:01] local.INFO: Processing buffer {"connection_id":173972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 06:12:01] local.INFO: IMEI packet received {"connection_id":173972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 06:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":173972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:12:02] local.INFO: TCP Data received {"connection_id":173973,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:12:02] local.INFO: Processing buffer {"connection_id":173973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:12:02] local.INFO: IMEI packet received {"connection_id":173973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":173973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:12:03] local.INFO: TCP Data received {"connection_id":173973,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06f017e60012d34c9c006aa3d280014008022..."} 
[2026-09-05 06:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f017e60012d34c9c006aa3d280014008022..."} 
[2026-09-05 06:12:03] local.INFO: Processing buffer {"connection_id":173973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f017e60012d34c9c006aa3d280014008022..."} 
[2026-09-05 06:12:03] local.INFO: Packet analysis {"connection_id":173973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f01"} 
[2026-09-05 06:12:03] local.INFO: Extracted packet for processing {"connection_id":173973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f01"} 
[2026-09-05 06:12:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":20,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873526528001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788568764000,"timestamp_ms":1788568764000,"timestamp_seconds":1788568764,"priority":1,"record_length":96,"hex_timestamp":"000001a06f017e60"} 
[2026-09-05 06:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:12: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-09-05 06: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":86,"data_length":795,"current_offset":136} 
[2026-09-05 06:12: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-09-05 06: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-09-05 06:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:12: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-09-05 06:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873526528001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873526528001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:12:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:12:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873526528001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":173973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:12:03] local.INFO: GPS data processed {"connection_id":173973,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:12:03] local.INFO: Acknowledgment sent {"connection_id":173973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:12:34] local.INFO: TCP Data received {"connection_id":173973,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06f017e60012d34c9c006aa3d280014008022..."} 
[2026-09-05 06:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f017e60012d34c9c006aa3d280014008022..."} 
[2026-09-05 06:12:34] local.INFO: Processing buffer {"connection_id":173973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f017e60012d34c9c006aa3d280014008022..."} 
[2026-09-05 06:12:34] local.INFO: Packet analysis {"connection_id":173973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f01"} 
[2026-09-05 06:12:34] local.INFO: Extracted packet for processing {"connection_id":173973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f01"} 
[2026-09-05 06:12:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":20,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873526528001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788568764000,"timestamp_ms":1788568764000,"timestamp_seconds":1788568764,"priority":1,"record_length":96,"hex_timestamp":"000001a06f017e60"} 
[2026-09-05 06:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:12: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-09-05 06:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 06:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873526528001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873526528001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:12:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:12:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873526528001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":173973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:12:35] local.INFO: GPS data processed {"connection_id":173973,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:12:35] local.INFO: Acknowledgment sent {"connection_id":173973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:12:57] local.INFO: TCP Data received {"connection_id":171268,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:12:57] local.INFO: Processing buffer {"connection_id":171268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:12:57] local.INFO: IMEI packet received {"connection_id":171268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":171268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:13:02] local.INFO: TCP Data received {"connection_id":171268,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:13:02] local.INFO: Processing buffer {"connection_id":171268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:13:02] local.INFO: IMEI packet received {"connection_id":171268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":171268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:13:03] local.INFO: TCP Data received {"connection_id":171268,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06f017e60012d34c9c006aa3d280014008022..."} 
[2026-09-05 06:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f017e60012d34c9c006aa3d280014008022..."} 
[2026-09-05 06:13:03] local.INFO: Processing buffer {"connection_id":171268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f017e60012d34c9c006aa3d280014008022..."} 
[2026-09-05 06:13:03] local.INFO: Packet analysis {"connection_id":171268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f01"} 
[2026-09-05 06:13:03] local.INFO: Extracted packet for processing {"connection_id":171268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f01"} 
[2026-09-05 06:13:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":20,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873526528001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788568764000,"timestamp_ms":1788568764000,"timestamp_seconds":1788568764,"priority":1,"record_length":96,"hex_timestamp":"000001a06f017e60"} 
[2026-09-05 06:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:13: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-09-05 06:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 06:13: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-09-05 06:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06: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-09-05 06:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873526528001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873526528001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:13:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:13:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873526528001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":171268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:13:03] local.INFO: GPS data processed {"connection_id":171268,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:13:03] local.INFO: Acknowledgment sent {"connection_id":171268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:13:34] local.INFO: TCP Data received {"connection_id":171268,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06f017e60012d34c9c006aa3d280014008022..."} 
[2026-09-05 06:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f017e60012d34c9c006aa3d280014008022..."} 
[2026-09-05 06:13:34] local.INFO: Processing buffer {"connection_id":171268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f017e60012d34c9c006aa3d280014008022..."} 
[2026-09-05 06:13:34] local.INFO: Packet analysis {"connection_id":171268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f01"} 
[2026-09-05 06:13:34] local.INFO: Extracted packet for processing {"connection_id":171268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f01"} 
[2026-09-05 06:13:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":20,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873526528001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788568764000,"timestamp_ms":1788568764000,"timestamp_seconds":1788568764,"priority":1,"record_length":96,"hex_timestamp":"000001a06f017e60"} 
[2026-09-05 06:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:13: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-09-05 06: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 06:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873526528001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873526528001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:13:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:13:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873526528001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":171268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:13:34] local.INFO: GPS data processed {"connection_id":171268,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:13:34] local.INFO: Acknowledgment sent {"connection_id":171268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:13:57] local.INFO: TCP Data received {"connection_id":173974,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:13:57] local.INFO: Processing buffer {"connection_id":173974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:13:57] local.INFO: IMEI packet received {"connection_id":173974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":173974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:14:02] local.INFO: TCP Data received {"connection_id":173974,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:14:02] local.INFO: Processing buffer {"connection_id":173974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:14:02] local.INFO: IMEI packet received {"connection_id":173974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":173974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:14:03] local.INFO: TCP Data received {"connection_id":173974,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a06f017e60012d34c9c006aa3d280014008022..."} 
[2026-09-05 06:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f017e60012d34c9c006aa3d280014008022..."} 
[2026-09-05 06:14:03] local.INFO: Processing buffer {"connection_id":173974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f017e60012d34c9c006aa3d280014008022..."} 
[2026-09-05 06:14:03] local.INFO: Packet analysis {"connection_id":173974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f01"} 
[2026-09-05 06:14:03] local.INFO: Extracted packet for processing {"connection_id":173974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f01"} 
[2026-09-05 06:14:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":20,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873526528001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788568764000,"timestamp_ms":1788568764000,"timestamp_seconds":1788568764,"priority":1,"record_length":96,"hex_timestamp":"000001a06f017e60"} 
[2026-09-05 06:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:14: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-09-05 06:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 06:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:14: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-09-05 06:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873526528001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873526528001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:14:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:14:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873526528001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":173974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:14:03] local.INFO: GPS data processed {"connection_id":173974,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:14:03] local.INFO: Acknowledgment sent {"connection_id":173974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:14:35] local.INFO: TCP Data received {"connection_id":173974,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a06f017e60012d34c9c006aa3d280014008022..."} 
[2026-09-05 06:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f017e60012d34c9c006aa3d280014008022..."} 
[2026-09-05 06:14:35] local.INFO: Processing buffer {"connection_id":173974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f017e60012d34c9c006aa3d280014008022..."} 
[2026-09-05 06:14:35] local.INFO: Packet analysis {"connection_id":173974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f01"} 
[2026-09-05 06:14:35] local.INFO: Extracted packet for processing {"connection_id":173974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f01"} 
[2026-09-05 06:14:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":20,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873526528001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788568764000,"timestamp_ms":1788568764000,"timestamp_seconds":1788568764,"priority":1,"record_length":96,"hex_timestamp":"000001a06f017e60"} 
[2026-09-05 06:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:14:35] 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-09-05 06:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 06:14:35] 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-09-05 06:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:14:35] 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-09-05 06:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873526528001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873526528001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:14:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:14:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873526528001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":173974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:14:35] local.INFO: GPS data processed {"connection_id":173974,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:14:35] local.INFO: Acknowledgment sent {"connection_id":173974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:14:57] local.INFO: TCP Data received {"connection_id":173975,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:14:57] local.INFO: Processing buffer {"connection_id":173975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:14:57] local.INFO: IMEI packet received {"connection_id":173975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":173975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:15:02] local.INFO: TCP Data received {"connection_id":173975,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:15:02] local.INFO: Processing buffer {"connection_id":173975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:15:02] local.INFO: IMEI packet received {"connection_id":173975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":173975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:15:03] local.INFO: TCP Data received {"connection_id":173975,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a06f017e60012d34c9c006aa3d280014008022..."} 
[2026-09-05 06:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f017e60012d34c9c006aa3d280014008022..."} 
[2026-09-05 06:15:03] local.INFO: Processing buffer {"connection_id":173975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f017e60012d34c9c006aa3d280014008022..."} 
[2026-09-05 06:15:03] local.INFO: Packet analysis {"connection_id":173975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f01"} 
[2026-09-05 06:15:03] local.INFO: Extracted packet for processing {"connection_id":173975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f01"} 
[2026-09-05 06:15:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":20,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873526528001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788568764000,"timestamp_ms":1788568764000,"timestamp_seconds":1788568764,"priority":1,"record_length":96,"hex_timestamp":"000001a06f017e60"} 
[2026-09-05 06:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:15: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-09-05 06:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 06:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:15: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-09-05 06:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873526528001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873526528001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:15:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:15:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873526528001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":173975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:15:03] local.INFO: GPS data processed {"connection_id":173975,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:15:03] local.INFO: Acknowledgment sent {"connection_id":173975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:15:34] local.INFO: TCP Data received {"connection_id":173975,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a06f061628012d34c9c006aa3d280017008025..."} 
[2026-09-05 06:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f061628012d34c9c006aa3d280017008025..."} 
[2026-09-05 06:15:34] local.INFO: Processing buffer {"connection_id":173975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f061628012d34c9c006aa3d280017008025..."} 
[2026-09-05 06:15:34] local.INFO: Packet analysis {"connection_id":173975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f06"} 
[2026-09-05 06:15:34] local.INFO: Extracted packet for processing {"connection_id":173975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f06"} 
[2026-09-05 06:15:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873603584001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788569065000,"timestamp_ms":1788569065000,"timestamp_seconds":1788569065,"priority":1,"record_length":96,"hex_timestamp":"000001a06f061628"} 
[2026-09-05 06:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:15: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-09-05 06:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 06:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:15:34] 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-09-05 06:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873603584001,"66":25430,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873603584001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:15:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:15:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873603584001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":173975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:15:34] local.INFO: GPS data processed {"connection_id":173975,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:15:34] local.INFO: Acknowledgment sent {"connection_id":173975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:15:57] local.INFO: TCP Data received {"connection_id":173976,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:15:57] local.INFO: Processing buffer {"connection_id":173976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:15:57] local.INFO: IMEI packet received {"connection_id":173976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":173976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:16:02] local.INFO: TCP Data received {"connection_id":173976,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:16:02] local.INFO: Processing buffer {"connection_id":173976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:16:02] local.INFO: IMEI packet received {"connection_id":173976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":173976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:16:03] local.INFO: TCP Data received {"connection_id":173976,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a06f061628012d34c9c006aa3d280017008025..."} 
[2026-09-05 06:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f061628012d34c9c006aa3d280017008025..."} 
[2026-09-05 06:16:03] local.INFO: Processing buffer {"connection_id":173976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f061628012d34c9c006aa3d280017008025..."} 
[2026-09-05 06:16:03] local.INFO: Packet analysis {"connection_id":173976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f06"} 
[2026-09-05 06:16:03] local.INFO: Extracted packet for processing {"connection_id":173976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f06"} 
[2026-09-05 06:16:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 06:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873603584001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788569065000,"timestamp_ms":1788569065000,"timestamp_seconds":1788569065,"priority":1,"record_length":96,"hex_timestamp":"000001a06f061628"} 
[2026-09-05 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-09-05 06:16:03] 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-09-05 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":53,"data_length":795,"current_offset":136} 
[2026-09-05 06:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 06:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 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-09-05 06:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873603584001,"66":25430,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873603584001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:16:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:16:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873603584001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":173976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:16:03] local.INFO: GPS data processed {"connection_id":173976,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:16:03] local.INFO: Acknowledgment sent {"connection_id":173976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:16:34] local.INFO: TCP Data received {"connection_id":173976,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a06f061628012d34c9c006aa3d280017008025..."} 
[2026-09-05 06:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f061628012d34c9c006aa3d280017008025..."} 
[2026-09-05 06:16:34] local.INFO: Processing buffer {"connection_id":173976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f061628012d34c9c006aa3d280017008025..."} 
[2026-09-05 06:16:34] local.INFO: Packet analysis {"connection_id":173976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f06"} 
[2026-09-05 06:16:34] local.INFO: Extracted packet for processing {"connection_id":173976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f06"} 
[2026-09-05 06:16:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873603584001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788569065000,"timestamp_ms":1788569065000,"timestamp_seconds":1788569065,"priority":1,"record_length":96,"hex_timestamp":"000001a06f061628"} 
[2026-09-05 06:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:16: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-09-05 06:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 06:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:16:34] 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-09-05 06:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873603584001,"66":25430,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873603584001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:16:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:16:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873603584001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":173976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:16:34] local.INFO: GPS data processed {"connection_id":173976,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:16:34] local.INFO: Acknowledgment sent {"connection_id":173976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:16:58] local.INFO: TCP Data received {"connection_id":171269,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:16:58] local.INFO: Processing buffer {"connection_id":171269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:16:58] local.INFO: IMEI packet received {"connection_id":171269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":171269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:17:02] local.INFO: TCP Data received {"connection_id":171269,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:17:02] local.INFO: Processing buffer {"connection_id":171269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:17:02] local.INFO: IMEI packet received {"connection_id":171269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":171269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:17:03] local.INFO: TCP Data received {"connection_id":171269,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a06f061628012d34c9c006aa3d280017008025..."} 
[2026-09-05 06:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f061628012d34c9c006aa3d280017008025..."} 
[2026-09-05 06:17:03] local.INFO: Processing buffer {"connection_id":171269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f061628012d34c9c006aa3d280017008025..."} 
[2026-09-05 06:17:03] local.INFO: Packet analysis {"connection_id":171269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f06"} 
[2026-09-05 06:17:03] local.INFO: Extracted packet for processing {"connection_id":171269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f06"} 
[2026-09-05 06:17:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873603584001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788569065000,"timestamp_ms":1788569065000,"timestamp_seconds":1788569065,"priority":1,"record_length":96,"hex_timestamp":"000001a06f061628"} 
[2026-09-05 06:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:17:03] 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-09-05 06:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 06: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-09-05 06:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:17: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-09-05 06:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873603584001,"66":25430,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873603584001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:17:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:17:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873603584001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":171269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:17:03] local.INFO: GPS data processed {"connection_id":171269,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:17:03] local.INFO: Acknowledgment sent {"connection_id":171269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:17:34] local.INFO: TCP Data received {"connection_id":171269,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a06f061628012d34c9c006aa3d280017008025..."} 
[2026-09-05 06:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f061628012d34c9c006aa3d280017008025..."} 
[2026-09-05 06:17:34] local.INFO: Processing buffer {"connection_id":171269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f061628012d34c9c006aa3d280017008025..."} 
[2026-09-05 06:17:34] local.INFO: Packet analysis {"connection_id":171269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f06"} 
[2026-09-05 06:17:34] local.INFO: Extracted packet for processing {"connection_id":171269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f06"} 
[2026-09-05 06:17:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873603584001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788569065000,"timestamp_ms":1788569065000,"timestamp_seconds":1788569065,"priority":1,"record_length":96,"hex_timestamp":"000001a06f061628"} 
[2026-09-05 06:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 06:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 06:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:17:34] 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-09-05 06:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873603584001,"66":25430,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873603584001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:17:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:17:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873603584001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":171269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:17:34] local.INFO: GPS data processed {"connection_id":171269,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:17:34] local.INFO: Acknowledgment sent {"connection_id":171269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:17:36] local.INFO: TCP Data received {"connection_id":172671,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 06:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172671,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 06:17:36] local.INFO: Processing buffer {"connection_id":172671,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 06:17:36] local.INFO: IMEI packet received {"connection_id":172671,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 06:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":172671,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:17:57] local.INFO: TCP Data received {"connection_id":173977,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:17:57] local.INFO: Processing buffer {"connection_id":173977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:17:57] local.INFO: IMEI packet received {"connection_id":173977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":173977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:18:02] local.INFO: TCP Data received {"connection_id":173977,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:18:02] local.INFO: Processing buffer {"connection_id":173977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:18:02] local.INFO: IMEI packet received {"connection_id":173977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":173977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:18:03] local.INFO: TCP Data received {"connection_id":173977,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a06f061628012d34c9c006aa3d280017008025..."} 
[2026-09-05 06:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f061628012d34c9c006aa3d280017008025..."} 
[2026-09-05 06:18:03] local.INFO: Processing buffer {"connection_id":173977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f061628012d34c9c006aa3d280017008025..."} 
[2026-09-05 06:18:03] local.INFO: Packet analysis {"connection_id":173977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f06"} 
[2026-09-05 06:18:03] local.INFO: Extracted packet for processing {"connection_id":173977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f06"} 
[2026-09-05 06:18:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873603584001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788569065000,"timestamp_ms":1788569065000,"timestamp_seconds":1788569065,"priority":1,"record_length":96,"hex_timestamp":"000001a06f061628"} 
[2026-09-05 06:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:18:03] 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-09-05 06: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":53,"data_length":795,"current_offset":136} 
[2026-09-05 06:18: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-09-05 06: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-09-05 06:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:18: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-09-05 06:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873603584001,"66":25430,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873603584001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:18:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:18:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873603584001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":173977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:18:03] local.INFO: GPS data processed {"connection_id":173977,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:18:03] local.INFO: Acknowledgment sent {"connection_id":173977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:18:34] local.INFO: TCP Data received {"connection_id":173977,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a06f061628012d34c9c006aa3d280017008025..."} 
[2026-09-05 06:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f061628012d34c9c006aa3d280017008025..."} 
[2026-09-05 06:18:34] local.INFO: Processing buffer {"connection_id":173977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f061628012d34c9c006aa3d280017008025..."} 
[2026-09-05 06:18:34] local.INFO: Packet analysis {"connection_id":173977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f06"} 
[2026-09-05 06:18:34] local.INFO: Extracted packet for processing {"connection_id":173977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f06"} 
[2026-09-05 06:18:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873603584001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788569065000,"timestamp_ms":1788569065000,"timestamp_seconds":1788569065,"priority":1,"record_length":96,"hex_timestamp":"000001a06f061628"} 
[2026-09-05 06:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:18: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-09-05 06:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 06:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:18:34] 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-09-05 06:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873603584001,"66":25430,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873603584001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:18:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:18:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873603584001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":173977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:18:34] local.INFO: GPS data processed {"connection_id":173977,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:18:34] local.INFO: Acknowledgment sent {"connection_id":173977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:18:57] local.INFO: TCP Data received {"connection_id":172672,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:18:57] local.INFO: Processing buffer {"connection_id":172672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:18:57] local.INFO: IMEI packet received {"connection_id":172672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":172672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:19:02] local.INFO: TCP Data received {"connection_id":172672,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:19:02] local.INFO: Processing buffer {"connection_id":172672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:19:02] local.INFO: IMEI packet received {"connection_id":172672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":172672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:19:03] local.INFO: TCP Data received {"connection_id":172672,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a06f061628012d34c9c006aa3d280017008025..."} 
[2026-09-05 06:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f061628012d34c9c006aa3d280017008025..."} 
[2026-09-05 06:19:03] local.INFO: Processing buffer {"connection_id":172672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f061628012d34c9c006aa3d280017008025..."} 
[2026-09-05 06:19:03] local.INFO: Packet analysis {"connection_id":172672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f06"} 
[2026-09-05 06:19:03] local.INFO: Extracted packet for processing {"connection_id":172672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f06"} 
[2026-09-05 06:19:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873603584001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788569065000,"timestamp_ms":1788569065000,"timestamp_seconds":1788569065,"priority":1,"record_length":96,"hex_timestamp":"000001a06f061628"} 
[2026-09-05 06:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:19:03] 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-09-05 06: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":53,"data_length":795,"current_offset":136} 
[2026-09-05 06:19: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-09-05 06: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-09-05 06:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:19: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-09-05 06:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873603584001,"66":25430,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873603584001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:19:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:19:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873603584001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":172672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:19:03] local.INFO: GPS data processed {"connection_id":172672,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:19:03] local.INFO: Acknowledgment sent {"connection_id":172672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:19:34] local.INFO: TCP Data received {"connection_id":172672,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a06f061628012d34c9c006aa3d280017008025..."} 
[2026-09-05 06:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f061628012d34c9c006aa3d280017008025..."} 
[2026-09-05 06:19:34] local.INFO: Processing buffer {"connection_id":172672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f061628012d34c9c006aa3d280017008025..."} 
[2026-09-05 06:19:34] local.INFO: Packet analysis {"connection_id":172672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f06"} 
[2026-09-05 06:19:34] local.INFO: Extracted packet for processing {"connection_id":172672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f06"} 
[2026-09-05 06:19:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873603584001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788569065000,"timestamp_ms":1788569065000,"timestamp_seconds":1788569065,"priority":1,"record_length":96,"hex_timestamp":"000001a06f061628"} 
[2026-09-05 06:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:19: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-09-05 06:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 06:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:19:34] 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-09-05 06:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873603584001,"66":25430,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873603584001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:19:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:19:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873603584001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":172672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:19:34] local.INFO: GPS data processed {"connection_id":172672,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:19:34] local.INFO: Acknowledgment sent {"connection_id":172672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:19:57] local.INFO: TCP Data received {"connection_id":171566,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:19:57] local.INFO: Processing buffer {"connection_id":171566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:19:57] local.INFO: IMEI packet received {"connection_id":171566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":171566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:20:02] local.INFO: TCP Data received {"connection_id":171566,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:20:02] local.INFO: Processing buffer {"connection_id":171566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:20:02] local.INFO: IMEI packet received {"connection_id":171566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":171566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:20:03] local.INFO: TCP Data received {"connection_id":171566,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06f061628012d34c9c006aa3d280017008025..."} 
[2026-09-05 06:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f061628012d34c9c006aa3d280017008025..."} 
[2026-09-05 06:20:03] local.INFO: Processing buffer {"connection_id":171566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f061628012d34c9c006aa3d280017008025..."} 
[2026-09-05 06:20:03] local.INFO: Packet analysis {"connection_id":171566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f06"} 
[2026-09-05 06:20:03] local.INFO: Extracted packet for processing {"connection_id":171566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f06"} 
[2026-09-05 06:20:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873603584001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788569065000,"timestamp_ms":1788569065000,"timestamp_seconds":1788569065,"priority":1,"record_length":96,"hex_timestamp":"000001a06f061628"} 
[2026-09-05 06:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:20:03] 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-09-05 06:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 06:20: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-09-05 06: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-09-05 06:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:20: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-09-05 06:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873603584001,"66":25430,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873603584001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:20:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:20:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873603584001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":171566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:20:03] local.INFO: GPS data processed {"connection_id":171566,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:20:03] local.INFO: Acknowledgment sent {"connection_id":171566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:20:34] local.INFO: TCP Data received {"connection_id":171566,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06f0aadf0012d34c9c006aa3d280017008023..."} 
[2026-09-05 06:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f0aadf0012d34c9c006aa3d280017008023..."} 
[2026-09-05 06:20:34] local.INFO: Processing buffer {"connection_id":171566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f0aadf0012d34c9c006aa3d280017008023..."} 
[2026-09-05 06:20:34] local.INFO: Packet analysis {"connection_id":171566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f0a"} 
[2026-09-05 06:20:34] local.INFO: Extracted packet for processing {"connection_id":171566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f0a"} 
[2026-09-05 06:20:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873680640001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788569366000,"timestamp_ms":1788569366000,"timestamp_seconds":1788569366,"priority":1,"record_length":96,"hex_timestamp":"000001a06f0aadf0"} 
[2026-09-05 06:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:20: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-09-05 06:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 06:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873680640001,"66":25430,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873680640001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:20:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:20:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873680640001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":171566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:20:34] local.INFO: GPS data processed {"connection_id":171566,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:20:34] local.INFO: Acknowledgment sent {"connection_id":171566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:20:57] local.INFO: TCP Data received {"connection_id":173978,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:20:57] local.INFO: Processing buffer {"connection_id":173978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:20:57] local.INFO: IMEI packet received {"connection_id":173978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":173978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:21:02] local.INFO: TCP Data received {"connection_id":173978,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:21:02] local.INFO: Processing buffer {"connection_id":173978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:21:02] local.INFO: IMEI packet received {"connection_id":173978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":173978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:21:03] local.INFO: TCP Data received {"connection_id":173978,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06f0aadf0012d34c9c006aa3d280017008023..."} 
[2026-09-05 06:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f0aadf0012d34c9c006aa3d280017008023..."} 
[2026-09-05 06:21:03] local.INFO: Processing buffer {"connection_id":173978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f0aadf0012d34c9c006aa3d280017008023..."} 
[2026-09-05 06:21:03] local.INFO: Packet analysis {"connection_id":173978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f0a"} 
[2026-09-05 06:21:03] local.INFO: Extracted packet for processing {"connection_id":173978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f0a"} 
[2026-09-05 06:21:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 06:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873680640001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788569366000,"timestamp_ms":1788569366000,"timestamp_seconds":1788569366,"priority":1,"record_length":96,"hex_timestamp":"000001a06f0aadf0"} 
[2026-09-05 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-09-05 06:21:03] 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-09-05 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":86,"data_length":795,"current_offset":136} 
[2026-09-05 06:21: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-09-05 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-09-05 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-09-05 06:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:21: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-09-05 06:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873680640001,"66":25430,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873680640001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:21:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:21:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873680640001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":173978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:21:03] local.INFO: GPS data processed {"connection_id":173978,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:21:03] local.INFO: Acknowledgment sent {"connection_id":173978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:21:34] local.INFO: TCP Data received {"connection_id":173978,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06f0aadf0012d34c9c006aa3d280017008023..."} 
[2026-09-05 06:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f0aadf0012d34c9c006aa3d280017008023..."} 
[2026-09-05 06:21:34] local.INFO: Processing buffer {"connection_id":173978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f0aadf0012d34c9c006aa3d280017008023..."} 
[2026-09-05 06:21:34] local.INFO: Packet analysis {"connection_id":173978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f0a"} 
[2026-09-05 06:21:34] local.INFO: Extracted packet for processing {"connection_id":173978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f0a"} 
[2026-09-05 06:21:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873680640001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788569366000,"timestamp_ms":1788569366000,"timestamp_seconds":1788569366,"priority":1,"record_length":96,"hex_timestamp":"000001a06f0aadf0"} 
[2026-09-05 06:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:21: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-09-05 06: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":86,"data_length":795,"current_offset":136} 
[2026-09-05 06:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873680640001,"66":25430,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873680640001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:21:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:21:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873680640001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":173978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:21:34] local.INFO: GPS data processed {"connection_id":173978,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:21:34] local.INFO: Acknowledgment sent {"connection_id":173978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:21:57] local.INFO: TCP Data received {"connection_id":171271,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:21:57] local.INFO: Processing buffer {"connection_id":171271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:21:57] local.INFO: IMEI packet received {"connection_id":171271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":171271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:22:02] local.INFO: TCP Data received {"connection_id":171271,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:22:02] local.INFO: Processing buffer {"connection_id":171271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:22:02] local.INFO: IMEI packet received {"connection_id":171271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":171271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:22:03] local.INFO: TCP Data received {"connection_id":171271,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06f0aadf0012d34c9c006aa3d280017008023..."} 
[2026-09-05 06:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f0aadf0012d34c9c006aa3d280017008023..."} 
[2026-09-05 06:22:03] local.INFO: Processing buffer {"connection_id":171271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f0aadf0012d34c9c006aa3d280017008023..."} 
[2026-09-05 06:22:03] local.INFO: Packet analysis {"connection_id":171271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f0a"} 
[2026-09-05 06:22:03] local.INFO: Extracted packet for processing {"connection_id":171271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f0a"} 
[2026-09-05 06:22:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873680640001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788569366000,"timestamp_ms":1788569366000,"timestamp_seconds":1788569366,"priority":1,"record_length":96,"hex_timestamp":"000001a06f0aadf0"} 
[2026-09-05 06:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:22:03] 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-09-05 06: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":86,"data_length":795,"current_offset":136} 
[2026-09-05 06:22: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-09-05 06: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-09-05 06:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:22: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-09-05 06:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873680640001,"66":25430,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873680640001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:22:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:22:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873680640001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":171271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:22:03] local.INFO: GPS data processed {"connection_id":171271,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:22:03] local.INFO: Acknowledgment sent {"connection_id":171271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:22:35] local.INFO: TCP Data received {"connection_id":171271,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06f0aadf0012d34c9c006aa3d280017008023..."} 
[2026-09-05 06:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f0aadf0012d34c9c006aa3d280017008023..."} 
[2026-09-05 06:22:35] local.INFO: Processing buffer {"connection_id":171271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f0aadf0012d34c9c006aa3d280017008023..."} 
[2026-09-05 06:22:35] local.INFO: Packet analysis {"connection_id":171271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f0a"} 
[2026-09-05 06:22:35] local.INFO: Extracted packet for processing {"connection_id":171271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f0a"} 
[2026-09-05 06:22:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873680640001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788569366000,"timestamp_ms":1788569366000,"timestamp_seconds":1788569366,"priority":1,"record_length":96,"hex_timestamp":"000001a06f0aadf0"} 
[2026-09-05 06:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:22:35] 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-09-05 06:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 06:22:35] 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-09-05 06:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873680640001,"66":25430,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873680640001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:22:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:22:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873680640001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":171271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:22:35] local.INFO: GPS data processed {"connection_id":171271,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:22:35] local.INFO: Acknowledgment sent {"connection_id":171271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:22:57] local.INFO: TCP Data received {"connection_id":171272,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:22:57] local.INFO: Processing buffer {"connection_id":171272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:22:57] local.INFO: IMEI packet received {"connection_id":171272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":171272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:23:02] local.INFO: TCP Data received {"connection_id":171272,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:23:02] local.INFO: Processing buffer {"connection_id":171272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:23:02] local.INFO: IMEI packet received {"connection_id":171272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":171272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:23:04] local.INFO: TCP Data received {"connection_id":171272,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06f0aadf0012d34c9c006aa3d280017008023..."} 
[2026-09-05 06:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f0aadf0012d34c9c006aa3d280017008023..."} 
[2026-09-05 06:23:04] local.INFO: Processing buffer {"connection_id":171272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f0aadf0012d34c9c006aa3d280017008023..."} 
[2026-09-05 06:23:04] local.INFO: Packet analysis {"connection_id":171272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f0a"} 
[2026-09-05 06:23:04] local.INFO: Extracted packet for processing {"connection_id":171272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f0a"} 
[2026-09-05 06:23:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873680640001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788569366000,"timestamp_ms":1788569366000,"timestamp_seconds":1788569366,"priority":1,"record_length":96,"hex_timestamp":"000001a06f0aadf0"} 
[2026-09-05 06:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:23: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-09-05 06:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 06:23: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-09-05 06:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:23: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-09-05 06:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873680640001,"66":25430,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873680640001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:23:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:23:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873680640001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":171272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:23:04] local.INFO: GPS data processed {"connection_id":171272,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:23:04] local.INFO: Acknowledgment sent {"connection_id":171272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:23:11] local.INFO: TCP Data received {"connection_id":171270,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 06:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171270,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 06:23:11] local.INFO: Processing buffer {"connection_id":171270,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 06:23:11] local.INFO: IMEI packet received {"connection_id":171270,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 06:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":171270,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:23:35] local.INFO: TCP Data received {"connection_id":171272,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06f0aadf0012d34c9c006aa3d280017008023..."} 
[2026-09-05 06:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f0aadf0012d34c9c006aa3d280017008023..."} 
[2026-09-05 06:23:35] local.INFO: Processing buffer {"connection_id":171272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f0aadf0012d34c9c006aa3d280017008023..."} 
[2026-09-05 06:23:35] local.INFO: Packet analysis {"connection_id":171272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f0a"} 
[2026-09-05 06:23:35] local.INFO: Extracted packet for processing {"connection_id":171272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f0a"} 
[2026-09-05 06:23:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873680640001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788569366000,"timestamp_ms":1788569366000,"timestamp_seconds":1788569366,"priority":1,"record_length":96,"hex_timestamp":"000001a06f0aadf0"} 
[2026-09-05 06:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:23:35] 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-09-05 06:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 06:23:35] 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-09-05 06:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873680640001,"66":25430,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873680640001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:23:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:23:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873680640001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":171272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:23:35] local.INFO: GPS data processed {"connection_id":171272,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:23:35] local.INFO: Acknowledgment sent {"connection_id":171272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:23:57] local.INFO: TCP Data received {"connection_id":172673,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:23:57] local.INFO: Processing buffer {"connection_id":172673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:23:57] local.INFO: IMEI packet received {"connection_id":172673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":172673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:24:02] local.INFO: TCP Data received {"connection_id":172673,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:24:02] local.INFO: Processing buffer {"connection_id":172673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:24:02] local.INFO: IMEI packet received {"connection_id":172673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":172673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:24:03] local.INFO: TCP Data received {"connection_id":172673,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06f0aadf0012d34c9c006aa3d280017008023..."} 
[2026-09-05 06:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f0aadf0012d34c9c006aa3d280017008023..."} 
[2026-09-05 06:24:03] local.INFO: Processing buffer {"connection_id":172673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f0aadf0012d34c9c006aa3d280017008023..."} 
[2026-09-05 06:24:03] local.INFO: Packet analysis {"connection_id":172673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f0a"} 
[2026-09-05 06:24:03] local.INFO: Extracted packet for processing {"connection_id":172673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f0a"} 
[2026-09-05 06:24:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873680640001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788569366000,"timestamp_ms":1788569366000,"timestamp_seconds":1788569366,"priority":1,"record_length":96,"hex_timestamp":"000001a06f0aadf0"} 
[2026-09-05 06:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:24:03] 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-09-05 06:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 06:24: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-09-05 06:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:24: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-09-05 06:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873680640001,"66":25430,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873680640001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:24:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:24:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873680640001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":172673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:24:03] local.INFO: GPS data processed {"connection_id":172673,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:24:03] local.INFO: Acknowledgment sent {"connection_id":172673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:24:34] local.INFO: TCP Data received {"connection_id":172673,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06f0aadf0012d34c9c006aa3d280017008023..."} 
[2026-09-05 06:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f0aadf0012d34c9c006aa3d280017008023..."} 
[2026-09-05 06:24:34] local.INFO: Processing buffer {"connection_id":172673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f0aadf0012d34c9c006aa3d280017008023..."} 
[2026-09-05 06:24:34] local.INFO: Packet analysis {"connection_id":172673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f0a"} 
[2026-09-05 06:24:34] local.INFO: Extracted packet for processing {"connection_id":172673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f0a"} 
[2026-09-05 06:24:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873680640001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788569366000,"timestamp_ms":1788569366000,"timestamp_seconds":1788569366,"priority":1,"record_length":96,"hex_timestamp":"000001a06f0aadf0"} 
[2026-09-05 06:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:24: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-09-05 06:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 06:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873680640001,"66":25430,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873680640001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:24:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:24:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873680640001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":172673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:24:34] local.INFO: GPS data processed {"connection_id":172673,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:24:34] local.INFO: Acknowledgment sent {"connection_id":172673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:24:57] local.INFO: TCP Data received {"connection_id":171567,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:24:57] local.INFO: Processing buffer {"connection_id":171567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:24:57] local.INFO: IMEI packet received {"connection_id":171567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":171567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:25:02] local.INFO: TCP Data received {"connection_id":171567,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:25:02] local.INFO: Processing buffer {"connection_id":171567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:25:02] local.INFO: IMEI packet received {"connection_id":171567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":171567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:25:03] local.INFO: TCP Data received {"connection_id":171567,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06f0aadf0012d34c9c006aa3d280017008023..."} 
[2026-09-05 06:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f0aadf0012d34c9c006aa3d280017008023..."} 
[2026-09-05 06:25:03] local.INFO: Processing buffer {"connection_id":171567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f0aadf0012d34c9c006aa3d280017008023..."} 
[2026-09-05 06:25:03] local.INFO: Packet analysis {"connection_id":171567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f0a"} 
[2026-09-05 06:25:03] local.INFO: Extracted packet for processing {"connection_id":171567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f0a"} 
[2026-09-05 06:25:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873680640001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788569366000,"timestamp_ms":1788569366000,"timestamp_seconds":1788569366,"priority":1,"record_length":96,"hex_timestamp":"000001a06f0aadf0"} 
[2026-09-05 06:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:25:03] 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-09-05 06: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":86,"data_length":795,"current_offset":136} 
[2026-09-05 06:25: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-09-05 06: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-09-05 06:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:25: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-09-05 06:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873680640001,"66":25430,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873680640001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:25:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:25:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873680640001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":171567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:25:03] local.INFO: GPS data processed {"connection_id":171567,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:25:03] local.INFO: Acknowledgment sent {"connection_id":171567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:25:34] local.INFO: TCP Data received {"connection_id":171567,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06f0f45b8012d34c9c006aa3d280017008024..."} 
[2026-09-05 06:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f0f45b8012d34c9c006aa3d280017008024..."} 
[2026-09-05 06:25:34] local.INFO: Processing buffer {"connection_id":171567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f0f45b8012d34c9c006aa3d280017008024..."} 
[2026-09-05 06:25:34] local.INFO: Packet analysis {"connection_id":171567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f0f"} 
[2026-09-05 06:25:34] local.INFO: Extracted packet for processing {"connection_id":171567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f0f"} 
[2026-09-05 06:25:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873757696001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788569667000,"timestamp_ms":1788569667000,"timestamp_seconds":1788569667,"priority":1,"record_length":96,"hex_timestamp":"000001a06f0f45b8"} 
[2026-09-05 06:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:25: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-09-05 06: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":86,"data_length":795,"current_offset":136} 
[2026-09-05 06:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873757696001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873757696001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:25:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:25:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873757696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":171567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:25:34] local.INFO: GPS data processed {"connection_id":171567,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:25:34] local.INFO: Acknowledgment sent {"connection_id":171567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:25:57] local.INFO: TCP Data received {"connection_id":172674,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:25:57] local.INFO: Processing buffer {"connection_id":172674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:25:57] local.INFO: IMEI packet received {"connection_id":172674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":172674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:26:02] local.INFO: TCP Data received {"connection_id":172674,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:26:02] local.INFO: Processing buffer {"connection_id":172674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:26:02] local.INFO: IMEI packet received {"connection_id":172674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":172674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:26:03] local.INFO: TCP Data received {"connection_id":172674,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a06f0f45b8012d34c9c006aa3d280017008024..."} 
[2026-09-05 06:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f0f45b8012d34c9c006aa3d280017008024..."} 
[2026-09-05 06:26:03] local.INFO: Processing buffer {"connection_id":172674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f0f45b8012d34c9c006aa3d280017008024..."} 
[2026-09-05 06:26:03] local.INFO: Packet analysis {"connection_id":172674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f0f"} 
[2026-09-05 06:26:03] local.INFO: Extracted packet for processing {"connection_id":172674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f0f"} 
[2026-09-05 06:26:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 06:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873757696001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788569667000,"timestamp_ms":1788569667000,"timestamp_seconds":1788569667,"priority":1,"record_length":96,"hex_timestamp":"000001a06f0f45b8"} 
[2026-09-05 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-09-05 06:26:03] 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-09-05 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":86,"data_length":795,"current_offset":136} 
[2026-09-05 06:26: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-09-05 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-09-05 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-09-05 06:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:26: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-09-05 06:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873757696001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873757696001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:26:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:26:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873757696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":172674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:26:03] local.INFO: GPS data processed {"connection_id":172674,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:26:03] local.INFO: Acknowledgment sent {"connection_id":172674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:26:36] local.INFO: TCP Data received {"connection_id":172674,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a06f0f45b8012d34c9c006aa3d280017008024..."} 
[2026-09-05 06:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f0f45b8012d34c9c006aa3d280017008024..."} 
[2026-09-05 06:26:36] local.INFO: Processing buffer {"connection_id":172674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f0f45b8012d34c9c006aa3d280017008024..."} 
[2026-09-05 06:26:36] local.INFO: Packet analysis {"connection_id":172674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f0f"} 
[2026-09-05 06:26:36] local.INFO: Extracted packet for processing {"connection_id":172674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f0f"} 
[2026-09-05 06:26:36] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873757696001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788569667000,"timestamp_ms":1788569667000,"timestamp_seconds":1788569667,"priority":1,"record_length":96,"hex_timestamp":"000001a06f0f45b8"} 
[2026-09-05 06:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 06: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":86,"data_length":795,"current_offset":136} 
[2026-09-05 06:26: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-09-05 06: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-09-05 06:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:26: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-09-05 06:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873757696001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873757696001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:26:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:26:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873757696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":172674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:26:36] local.INFO: GPS data processed {"connection_id":172674,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:26:36] local.INFO: Acknowledgment sent {"connection_id":172674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:26:57] local.INFO: TCP Data received {"connection_id":173980,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:26:57] local.INFO: Processing buffer {"connection_id":173980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:26:57] local.INFO: IMEI packet received {"connection_id":173980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":173980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:27:02] local.INFO: TCP Data received {"connection_id":173980,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:27:02] local.INFO: Processing buffer {"connection_id":173980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:27:02] local.INFO: IMEI packet received {"connection_id":173980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":173980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:27:03] local.INFO: TCP Data received {"connection_id":173980,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06f0f45b8012d34c9c006aa3d280017008024..."} 
[2026-09-05 06:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f0f45b8012d34c9c006aa3d280017008024..."} 
[2026-09-05 06:27:03] local.INFO: Processing buffer {"connection_id":173980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f0f45b8012d34c9c006aa3d280017008024..."} 
[2026-09-05 06:27:03] local.INFO: Packet analysis {"connection_id":173980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f0f"} 
[2026-09-05 06:27:03] local.INFO: Extracted packet for processing {"connection_id":173980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f0f"} 
[2026-09-05 06:27:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873757696001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788569667000,"timestamp_ms":1788569667000,"timestamp_seconds":1788569667,"priority":1,"record_length":96,"hex_timestamp":"000001a06f0f45b8"} 
[2026-09-05 06:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:27:03] 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-09-05 06:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 06:27: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-09-05 06:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:27: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-09-05 06:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873757696001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873757696001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:27:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:27:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873757696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":173980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:27:03] local.INFO: GPS data processed {"connection_id":173980,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:27:03] local.INFO: Acknowledgment sent {"connection_id":173980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:27:36] local.INFO: TCP Data received {"connection_id":173980,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06f0f45b8012d34c9c006aa3d280017008024..."} 
[2026-09-05 06:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f0f45b8012d34c9c006aa3d280017008024..."} 
[2026-09-05 06:27:36] local.INFO: Processing buffer {"connection_id":173980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f0f45b8012d34c9c006aa3d280017008024..."} 
[2026-09-05 06:27:36] local.INFO: Packet analysis {"connection_id":173980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f0f"} 
[2026-09-05 06:27:36] local.INFO: Extracted packet for processing {"connection_id":173980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f0f"} 
[2026-09-05 06:27:36] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873757696001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788569667000,"timestamp_ms":1788569667000,"timestamp_seconds":1788569667,"priority":1,"record_length":96,"hex_timestamp":"000001a06f0f45b8"} 
[2026-09-05 06:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 06: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":86,"data_length":795,"current_offset":136} 
[2026-09-05 06:27: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-09-05 06: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-09-05 06:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06: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-09-05 06:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873757696001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873757696001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:27:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:27:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873757696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":173980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:27:36] local.INFO: GPS data processed {"connection_id":173980,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:27:36] local.INFO: Acknowledgment sent {"connection_id":173980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:27:57] local.INFO: TCP Data received {"connection_id":171570,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:27:57] local.INFO: Processing buffer {"connection_id":171570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:27:57] local.INFO: IMEI packet received {"connection_id":171570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":171570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:28:02] local.INFO: TCP Data received {"connection_id":171570,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:28:02] local.INFO: Processing buffer {"connection_id":171570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:28:02] local.INFO: IMEI packet received {"connection_id":171570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":171570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:28:03] local.INFO: TCP Data received {"connection_id":171570,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a06f0f45b8012d34c9c006aa3d280017008024..."} 
[2026-09-05 06:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f0f45b8012d34c9c006aa3d280017008024..."} 
[2026-09-05 06:28:03] local.INFO: Processing buffer {"connection_id":171570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f0f45b8012d34c9c006aa3d280017008024..."} 
[2026-09-05 06:28:03] local.INFO: Packet analysis {"connection_id":171570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f0f"} 
[2026-09-05 06:28:03] local.INFO: Extracted packet for processing {"connection_id":171570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f0f"} 
[2026-09-05 06:28:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873757696001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788569667000,"timestamp_ms":1788569667000,"timestamp_seconds":1788569667,"priority":1,"record_length":96,"hex_timestamp":"000001a06f0f45b8"} 
[2026-09-05 06:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:28:03] 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-09-05 06: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":86,"data_length":795,"current_offset":136} 
[2026-09-05 06:28: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-09-05 06: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-09-05 06:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873757696001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873757696001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:28:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:28:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873757696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":171570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:28:03] local.INFO: GPS data processed {"connection_id":171570,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:28:03] local.INFO: Acknowledgment sent {"connection_id":171570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:28:34] local.INFO: TCP Data received {"connection_id":171570,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a06f0f45b8012d34c9c006aa3d280017008024..."} 
[2026-09-05 06:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f0f45b8012d34c9c006aa3d280017008024..."} 
[2026-09-05 06:28:34] local.INFO: Processing buffer {"connection_id":171570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f0f45b8012d34c9c006aa3d280017008024..."} 
[2026-09-05 06:28:34] local.INFO: Packet analysis {"connection_id":171570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f0f"} 
[2026-09-05 06:28:34] local.INFO: Extracted packet for processing {"connection_id":171570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f0f"} 
[2026-09-05 06:28:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873757696001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788569667000,"timestamp_ms":1788569667000,"timestamp_seconds":1788569667,"priority":1,"record_length":96,"hex_timestamp":"000001a06f0f45b8"} 
[2026-09-05 06:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:28: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-09-05 06: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 06:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873757696001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873757696001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:28:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:28:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873757696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":171570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:28:35] local.INFO: GPS data processed {"connection_id":171570,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:28:35] local.INFO: Acknowledgment sent {"connection_id":171570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:28:46] local.INFO: TCP Data received {"connection_id":173979,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 06:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173979,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 06:28:46] local.INFO: Processing buffer {"connection_id":173979,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 06:28:46] local.INFO: IMEI packet received {"connection_id":173979,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 06:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":173979,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:28:57] local.INFO: TCP Data received {"connection_id":171273,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:28:57] local.INFO: Processing buffer {"connection_id":171273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:28:57] local.INFO: IMEI packet received {"connection_id":171273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":171273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:29:02] local.INFO: TCP Data received {"connection_id":171273,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:29:02] local.INFO: Processing buffer {"connection_id":171273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:29:02] local.INFO: IMEI packet received {"connection_id":171273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":171273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:29:03] local.INFO: TCP Data received {"connection_id":171273,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06f0f45b8012d34c9c006aa3d280017008024..."} 
[2026-09-05 06:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f0f45b8012d34c9c006aa3d280017008024..."} 
[2026-09-05 06:29:03] local.INFO: Processing buffer {"connection_id":171273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f0f45b8012d34c9c006aa3d280017008024..."} 
[2026-09-05 06:29:03] local.INFO: Packet analysis {"connection_id":171273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f0f"} 
[2026-09-05 06:29:03] local.INFO: Extracted packet for processing {"connection_id":171273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f0f"} 
[2026-09-05 06:29:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873757696001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788569667000,"timestamp_ms":1788569667000,"timestamp_seconds":1788569667,"priority":1,"record_length":96,"hex_timestamp":"000001a06f0f45b8"} 
[2026-09-05 06:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:29:03] 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-09-05 06: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":86,"data_length":795,"current_offset":136} 
[2026-09-05 06:29: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-09-05 06: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-09-05 06:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:29: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-09-05 06:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873757696001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873757696001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:29:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:29:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873757696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":171273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:29:03] local.INFO: GPS data processed {"connection_id":171273,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:29:03] local.INFO: Acknowledgment sent {"connection_id":171273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:29:34] local.INFO: TCP Data received {"connection_id":171273,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06f0f45b8012d34c9c006aa3d280017008024..."} 
[2026-09-05 06:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f0f45b8012d34c9c006aa3d280017008024..."} 
[2026-09-05 06:29:34] local.INFO: Processing buffer {"connection_id":171273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f0f45b8012d34c9c006aa3d280017008024..."} 
[2026-09-05 06:29:34] local.INFO: Packet analysis {"connection_id":171273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f0f"} 
[2026-09-05 06:29:34] local.INFO: Extracted packet for processing {"connection_id":171273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f0f"} 
[2026-09-05 06:29:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873757696001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788569667000,"timestamp_ms":1788569667000,"timestamp_seconds":1788569667,"priority":1,"record_length":96,"hex_timestamp":"000001a06f0f45b8"} 
[2026-09-05 06:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:29: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-09-05 06:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 06:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:29:34] 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-09-05 06:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873757696001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873757696001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:29:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:29:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873757696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":171273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:29:34] local.INFO: GPS data processed {"connection_id":171273,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:29:34] local.INFO: Acknowledgment sent {"connection_id":171273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:29:57] local.INFO: TCP Data received {"connection_id":171571,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:29:57] local.INFO: Processing buffer {"connection_id":171571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:29:57] local.INFO: IMEI packet received {"connection_id":171571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":171571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:30:02] local.INFO: TCP Data received {"connection_id":171571,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:30:02] local.INFO: Processing buffer {"connection_id":171571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:30:02] local.INFO: IMEI packet received {"connection_id":171571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":171571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:30:03] local.INFO: TCP Data received {"connection_id":171571,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06f0f45b8012d34c9c006aa3d280017008024..."} 
[2026-09-05 06:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f0f45b8012d34c9c006aa3d280017008024..."} 
[2026-09-05 06:30:03] local.INFO: Processing buffer {"connection_id":171571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f0f45b8012d34c9c006aa3d280017008024..."} 
[2026-09-05 06:30:03] local.INFO: Packet analysis {"connection_id":171571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f0f"} 
[2026-09-05 06:30:03] local.INFO: Extracted packet for processing {"connection_id":171571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f0f"} 
[2026-09-05 06:30:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873757696001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788569667000,"timestamp_ms":1788569667000,"timestamp_seconds":1788569667,"priority":1,"record_length":96,"hex_timestamp":"000001a06f0f45b8"} 
[2026-09-05 06:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:30:03] 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-09-05 06:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 06:30: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-09-05 06:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:30: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-09-05 06:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873757696001,"66":25375,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873757696001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:30:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:30:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873757696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":171571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:30:03] local.INFO: GPS data processed {"connection_id":171571,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:30:03] local.INFO: Acknowledgment sent {"connection_id":171571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:30:34] local.INFO: TCP Data received {"connection_id":171571,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06f13dd80012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f13dd80012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:30:34] local.INFO: Processing buffer {"connection_id":171571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f13dd80012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:30:34] local.INFO: Packet analysis {"connection_id":171571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f13"} 
[2026-09-05 06:30:34] local.INFO: Extracted packet for processing {"connection_id":171571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f13"} 
[2026-09-05 06:30:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873834752001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788569968000,"timestamp_ms":1788569968000,"timestamp_seconds":1788569968,"priority":1,"record_length":96,"hex_timestamp":"000001a06f13dd80"} 
[2026-09-05 06:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:30: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-09-05 06:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 06:30: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-09-05 06:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873834752001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873834752001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:30:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:30:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873834752001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":171571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:30:34] local.INFO: GPS data processed {"connection_id":171571,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:30:34] local.INFO: Acknowledgment sent {"connection_id":171571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:30:57] local.INFO: TCP Data received {"connection_id":171572,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:30:57] local.INFO: Processing buffer {"connection_id":171572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:30:57] local.INFO: IMEI packet received {"connection_id":171572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":171572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:31:02] local.INFO: TCP Data received {"connection_id":171572,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:31:02] local.INFO: Processing buffer {"connection_id":171572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:31:02] local.INFO: IMEI packet received {"connection_id":171572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":171572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:31:03] local.INFO: TCP Data received {"connection_id":171572,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06f13dd80012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f13dd80012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:31:03] local.INFO: Processing buffer {"connection_id":171572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f13dd80012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:31:03] local.INFO: Packet analysis {"connection_id":171572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f13"} 
[2026-09-05 06:31:03] local.INFO: Extracted packet for processing {"connection_id":171572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f13"} 
[2026-09-05 06:31:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 06:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873834752001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788569968000,"timestamp_ms":1788569968000,"timestamp_seconds":1788569968,"priority":1,"record_length":96,"hex_timestamp":"000001a06f13dd80"} 
[2026-09-05 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-09-05 06:31:03] 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-09-05 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":31,"data_length":795,"current_offset":136} 
[2026-09-05 06:31: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-09-05 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-09-05 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-09-05 06:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:31: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-09-05 06:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873834752001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873834752001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:31:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:31:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873834752001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":171572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:31:03] local.INFO: GPS data processed {"connection_id":171572,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:31:03] local.INFO: Acknowledgment sent {"connection_id":171572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:31:08] local.INFO: TCP Data received {"connection_id":171572,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06f13dd80012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f13dd80012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:31:08] local.INFO: Processing buffer {"connection_id":171572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f13dd80012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:31:08] local.INFO: Packet analysis {"connection_id":171572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f13"} 
[2026-09-05 06:31:08] local.INFO: Extracted packet for processing {"connection_id":171572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f13"} 
[2026-09-05 06:31:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873834752001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788569968000,"timestamp_ms":1788569968000,"timestamp_seconds":1788569968,"priority":1,"record_length":96,"hex_timestamp":"000001a06f13dd80"} 
[2026-09-05 06:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:31:08] 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-09-05 06:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 06:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06: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-09-05 06:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873834752001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873834752001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:31:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:31:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873834752001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":171572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:31:08] local.INFO: GPS data processed {"connection_id":171572,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:31:08] local.INFO: Acknowledgment sent {"connection_id":171572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:31:39] local.INFO: TCP Data received {"connection_id":171572,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06f13dd80012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f13dd80012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:31:39] local.INFO: Processing buffer {"connection_id":171572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f13dd80012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:31:39] local.INFO: Packet analysis {"connection_id":171572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f13"} 
[2026-09-05 06:31:39] local.INFO: Extracted packet for processing {"connection_id":171572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f13"} 
[2026-09-05 06:31:39] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873834752001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788569968000,"timestamp_ms":1788569968000,"timestamp_seconds":1788569968,"priority":1,"record_length":96,"hex_timestamp":"000001a06f13dd80"} 
[2026-09-05 06:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:31: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-09-05 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 06:31: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-09-05 06: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-09-05 06:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873834752001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873834752001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:31:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:31:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873834752001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":171572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:31:39] local.INFO: GPS data processed {"connection_id":171572,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:31:39] local.INFO: Acknowledgment sent {"connection_id":171572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:31:57] local.INFO: TCP Data received {"connection_id":172675,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:31:57] local.INFO: Processing buffer {"connection_id":172675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:31:57] local.INFO: IMEI packet received {"connection_id":172675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":172675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:32:02] local.INFO: TCP Data received {"connection_id":172675,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:32:02] local.INFO: Processing buffer {"connection_id":172675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:32:02] local.INFO: IMEI packet received {"connection_id":172675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":172675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:32:03] local.INFO: TCP Data received {"connection_id":172675,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06f13dd80012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f13dd80012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:32:03] local.INFO: Processing buffer {"connection_id":172675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f13dd80012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:32:03] local.INFO: Packet analysis {"connection_id":172675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f13"} 
[2026-09-05 06:32:03] local.INFO: Extracted packet for processing {"connection_id":172675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f13"} 
[2026-09-05 06:32:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873834752001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788569968000,"timestamp_ms":1788569968000,"timestamp_seconds":1788569968,"priority":1,"record_length":96,"hex_timestamp":"000001a06f13dd80"} 
[2026-09-05 06:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:32:03] 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-09-05 06: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":31,"data_length":795,"current_offset":136} 
[2026-09-05 06:32: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-09-05 06: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-09-05 06:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:32: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-09-05 06:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873834752001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873834752001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:32:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:32:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873834752001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":172675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:32:03] local.INFO: GPS data processed {"connection_id":172675,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:32:03] local.INFO: Acknowledgment sent {"connection_id":172675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:32:34] local.INFO: TCP Data received {"connection_id":172675,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06f13dd80012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f13dd80012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:32:34] local.INFO: Processing buffer {"connection_id":172675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f13dd80012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:32:34] local.INFO: Packet analysis {"connection_id":172675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f13"} 
[2026-09-05 06:32:34] local.INFO: Extracted packet for processing {"connection_id":172675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f13"} 
[2026-09-05 06:32:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873834752001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788569968000,"timestamp_ms":1788569968000,"timestamp_seconds":1788569968,"priority":1,"record_length":96,"hex_timestamp":"000001a06f13dd80"} 
[2026-09-05 06:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:32: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-09-05 06:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 06:32: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-09-05 06: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-09-05 06:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873834752001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873834752001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:32:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:32:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873834752001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":172675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:32:34] local.INFO: GPS data processed {"connection_id":172675,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:32:34] local.INFO: Acknowledgment sent {"connection_id":172675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:32:57] local.INFO: TCP Data received {"connection_id":172676,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:32:57] local.INFO: Processing buffer {"connection_id":172676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:32:57] local.INFO: IMEI packet received {"connection_id":172676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":172676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:33:02] local.INFO: TCP Data received {"connection_id":172676,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:33:02] local.INFO: Processing buffer {"connection_id":172676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:33:02] local.INFO: IMEI packet received {"connection_id":172676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":172676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:33:03] local.INFO: TCP Data received {"connection_id":172676,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06f13dd80012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f13dd80012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:33:03] local.INFO: Processing buffer {"connection_id":172676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f13dd80012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:33:03] local.INFO: Packet analysis {"connection_id":172676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f13"} 
[2026-09-05 06:33:03] local.INFO: Extracted packet for processing {"connection_id":172676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f13"} 
[2026-09-05 06:33:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873834752001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788569968000,"timestamp_ms":1788569968000,"timestamp_seconds":1788569968,"priority":1,"record_length":96,"hex_timestamp":"000001a06f13dd80"} 
[2026-09-05 06:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:33:03] 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-09-05 06: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":31,"data_length":795,"current_offset":136} 
[2026-09-05 06:33: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-09-05 06: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-09-05 06:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:33: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-09-05 06:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873834752001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873834752001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:33:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:33:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873834752001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":172676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:33:03] local.INFO: GPS data processed {"connection_id":172676,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:33:03] local.INFO: Acknowledgment sent {"connection_id":172676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:33:35] local.INFO: TCP Data received {"connection_id":172676,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06f13dd80012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f13dd80012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:33:35] local.INFO: Processing buffer {"connection_id":172676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f13dd80012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:33:35] local.INFO: Packet analysis {"connection_id":172676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f13"} 
[2026-09-05 06:33:35] local.INFO: Extracted packet for processing {"connection_id":172676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f13"} 
[2026-09-05 06:33:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873834752001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788569968000,"timestamp_ms":1788569968000,"timestamp_seconds":1788569968,"priority":1,"record_length":96,"hex_timestamp":"000001a06f13dd80"} 
[2026-09-05 06:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:33:35] 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-09-05 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 06:33: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-09-05 06: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-09-05 06:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873834752001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873834752001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:33:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:33:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873834752001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":172676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:33:35] local.INFO: GPS data processed {"connection_id":172676,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:33:35] local.INFO: Acknowledgment sent {"connection_id":172676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:33:57] local.INFO: TCP Data received {"connection_id":173981,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:33:57] local.INFO: Processing buffer {"connection_id":173981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:33:57] local.INFO: IMEI packet received {"connection_id":173981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":173981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:34:02] local.INFO: TCP Data received {"connection_id":173981,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:34:02] local.INFO: Processing buffer {"connection_id":173981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:34:02] local.INFO: IMEI packet received {"connection_id":173981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":173981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:34:03] local.INFO: TCP Data received {"connection_id":173981,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06f13dd80012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f13dd80012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:34:03] local.INFO: Processing buffer {"connection_id":173981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f13dd80012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:34:03] local.INFO: Packet analysis {"connection_id":173981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f13"} 
[2026-09-05 06:34:03] local.INFO: Extracted packet for processing {"connection_id":173981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f13"} 
[2026-09-05 06:34:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873834752001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788569968000,"timestamp_ms":1788569968000,"timestamp_seconds":1788569968,"priority":1,"record_length":96,"hex_timestamp":"000001a06f13dd80"} 
[2026-09-05 06:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:34:03] 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-09-05 06: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":31,"data_length":795,"current_offset":136} 
[2026-09-05 06:34: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-09-05 06: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-09-05 06:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:34: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-09-05 06:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873834752001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873834752001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:34:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:34:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873834752001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":173981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:34:03] local.INFO: GPS data processed {"connection_id":173981,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:34:03] local.INFO: Acknowledgment sent {"connection_id":173981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:34:21] local.INFO: TCP Data received {"connection_id":171274,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 06:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171274,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 06:34:21] local.INFO: Processing buffer {"connection_id":171274,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 06:34:21] local.INFO: IMEI packet received {"connection_id":171274,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 06:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":171274,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:34:34] local.INFO: TCP Data received {"connection_id":173981,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06f13dd80012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f13dd80012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:34:34] local.INFO: Processing buffer {"connection_id":173981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f13dd80012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:34:34] local.INFO: Packet analysis {"connection_id":173981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f13"} 
[2026-09-05 06:34:34] local.INFO: Extracted packet for processing {"connection_id":173981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f13"} 
[2026-09-05 06:34:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873834752001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788569968000,"timestamp_ms":1788569968000,"timestamp_seconds":1788569968,"priority":1,"record_length":96,"hex_timestamp":"000001a06f13dd80"} 
[2026-09-05 06:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:34: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-09-05 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 06:34: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-09-05 06: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-09-05 06:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873834752001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873834752001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:34:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:34:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873834752001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":173981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:34:34] local.INFO: GPS data processed {"connection_id":173981,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:34:34] local.INFO: Acknowledgment sent {"connection_id":173981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:34:57] local.INFO: TCP Data received {"connection_id":171573,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:34:57] local.INFO: Processing buffer {"connection_id":171573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:34:57] local.INFO: IMEI packet received {"connection_id":171573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":171573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:35:02] local.INFO: TCP Data received {"connection_id":171573,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:35:02] local.INFO: Processing buffer {"connection_id":171573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:35:02] local.INFO: IMEI packet received {"connection_id":171573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":171573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:35:03] local.INFO: TCP Data received {"connection_id":171573,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06f13dd80012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f13dd80012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:35:03] local.INFO: Processing buffer {"connection_id":171573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f13dd80012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:35:03] local.INFO: Packet analysis {"connection_id":171573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f13"} 
[2026-09-05 06:35:03] local.INFO: Extracted packet for processing {"connection_id":171573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f13"} 
[2026-09-05 06:35:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873834752001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788569968000,"timestamp_ms":1788569968000,"timestamp_seconds":1788569968,"priority":1,"record_length":96,"hex_timestamp":"000001a06f13dd80"} 
[2026-09-05 06:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:35:03] 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-09-05 06: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":31,"data_length":795,"current_offset":136} 
[2026-09-05 06:35: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-09-05 06: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-09-05 06:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:35: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-09-05 06:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873834752001,"66":25397,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873834752001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:35:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:35:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873834752001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":171573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:35:03] local.INFO: GPS data processed {"connection_id":171573,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:35:03] local.INFO: Acknowledgment sent {"connection_id":171573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:35:05] local.INFO: TCP Data received {"connection_id":171275,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:35:05] local.INFO: Processing buffer {"connection_id":171275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:35:05] local.INFO: IMEI packet received {"connection_id":171275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 06:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":171275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:35:06] local.INFO: TCP Data received {"connection_id":171275,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:35:06] local.INFO: Processing buffer {"connection_id":171275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:35:06] local.INFO: IMEI packet received {"connection_id":171275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 06:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":171275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:35:10] local.INFO: TCP Data received {"connection_id":171275,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:35:10] local.INFO: Processing buffer {"connection_id":171275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:35:10] local.INFO: IMEI packet received {"connection_id":171275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 06:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":171275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:35:11] local.INFO: TCP Data received {"connection_id":171275,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000000000000bf680100000000000000000000000000..."} 
[2026-09-05 06:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171275,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bf680100000000000000000000000000..."} 
[2026-09-05 06:35:11] local.INFO: Processing buffer {"connection_id":171275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bf680100000000000000000000000000..."} 
[2026-09-05 06:35:11] local.INFO: Packet analysis {"connection_id":171275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-05 06:35:11] local.INFO: Extracted packet for processing {"connection_id":171275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-05 06:35: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-09-05 06: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-09-05 06:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259749366988800,"note":"Value kept but may cause issues"} 
[2026-09-05 06:35:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,197,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 06:35:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":49000,"timestamp_seconds":49,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 06:35:11] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 06:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171275,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171275,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-05 06:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171275,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-05 06:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 06:35:11] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 06:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":171275,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 06:35:11] local.ERROR: GPS data processing failed {"connection_id":171275,"error":"No valid data to process"} 
[2026-09-05 06:35:11] local.INFO: Acknowledgment sent {"connection_id":171275,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 06:35:34] local.INFO: TCP Data received {"connection_id":171573,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06f187548012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f187548012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:35:34] local.INFO: Processing buffer {"connection_id":171573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f187548012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:35:34] local.INFO: Packet analysis {"connection_id":171573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f18"} 
[2026-09-05 06:35:34] local.INFO: Extracted packet for processing {"connection_id":171573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f18"} 
[2026-09-05 06:35:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873911808001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788570269000,"timestamp_ms":1788570269000,"timestamp_seconds":1788570269,"priority":1,"record_length":96,"hex_timestamp":"000001a06f187548"} 
[2026-09-05 06:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:35: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-09-05 06:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 06:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873911808001,"66":25441,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873911808001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:35:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:35:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873911808001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":171573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:35:34] local.INFO: GPS data processed {"connection_id":171573,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:35:34] local.INFO: Acknowledgment sent {"connection_id":171573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:35:41] local.INFO: TCP Data received {"connection_id":171275,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a06f18a040012d7c078005bd4bb8000000000d..."} 
[2026-09-05 06:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f18a040012d7c078005bd4bb8000000000d..."} 
[2026-09-05 06:35:41] local.INFO: Processing buffer {"connection_id":171275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f18a040012d7c078005bd4bb8000000000d..."} 
[2026-09-05 06:35:41] local.INFO: Packet analysis {"connection_id":171275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f18"} 
[2026-09-05 06:35:41] local.INFO: Extracted packet for processing {"connection_id":171275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f18"} 
[2026-09-05 06:35:41] local.INFO: GPS Element Parsed {"raw_longitude":763103104,"raw_latitude":96291768,"longitude_deg":76.3103104,"latitude_deg":9.6291768,"altitude":0,"angle":0,"satellites":13,"speed":0,"hex_longitude":"2d7c0780","hex_latitude":"05bd4bb8","is_valid_coordinates":true} 
[2026-09-05 06:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259749366988800,"note":"Value kept but may cause issues"} 
[2026-09-05 06:35:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,197,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 06:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788570280000,"timestamp_ms":1788570280000,"timestamp_seconds":1788570280,"priority":1,"record_length":96,"hex_timestamp":"000001a06f18a040"} 
[2026-09-05 06:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 06: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-05 06:35: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-09-05 06: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-09-05 06:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":171275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":171275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 06:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":171275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 06:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 06:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 06:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13678,"197":206,"85":12544,"24":0,"16":128259749366988800},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16]} 
[2026-09-05 06:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 06:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 06:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-05 06:35:41] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 06:35:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 06:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128259749366988800,"km_value":128259749366988.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:35:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13678,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null}} 
[2026-09-05 06:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":171275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767061,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:35:41] local.INFO: GPS data processed {"connection_id":171275,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:35:41] local.INFO: Acknowledgment sent {"connection_id":171275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:35:57] local.INFO: TCP Data received {"connection_id":171276,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:35:57] local.INFO: Processing buffer {"connection_id":171276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:35:57] local.INFO: IMEI packet received {"connection_id":171276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":171276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:36:02] local.INFO: TCP Data received {"connection_id":171276,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:36:02] local.INFO: Processing buffer {"connection_id":171276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:36:02] local.INFO: IMEI packet received {"connection_id":171276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":171276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:36:03] local.INFO: TCP Data received {"connection_id":171276,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06f187548012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f187548012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:36:03] local.INFO: Processing buffer {"connection_id":171276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f187548012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:36:03] local.INFO: Packet analysis {"connection_id":171276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f18"} 
[2026-09-05 06:36:03] local.INFO: Extracted packet for processing {"connection_id":171276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f18"} 
[2026-09-05 06:36:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873911808001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788570269000,"timestamp_ms":1788570269000,"timestamp_seconds":1788570269,"priority":1,"record_length":96,"hex_timestamp":"000001a06f187548"} 
[2026-09-05 06:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:36:03] 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-09-05 06: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":53,"data_length":795,"current_offset":136} 
[2026-09-05 06:36: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-09-05 06: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-09-05 06:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06: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-09-05 06:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873911808001,"66":25441,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873911808001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:36:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:36:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873911808001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":171276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:36:03] local.INFO: GPS data processed {"connection_id":171276,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:36:03] local.INFO: Acknowledgment sent {"connection_id":171276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:36:12] local.INFO: TCP Data received {"connection_id":171275,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a06f18fa18012d7c07c005bd4bd0000000000f..."} 
[2026-09-05 06:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f18fa18012d7c07c005bd4bd0000000000f..."} 
[2026-09-05 06:36:12] local.INFO: Processing buffer {"connection_id":171275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f18fa18012d7c07c005bd4bd0000000000f..."} 
[2026-09-05 06:36:12] local.INFO: Packet analysis {"connection_id":171275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f18"} 
[2026-09-05 06:36:12] local.INFO: Extracted packet for processing {"connection_id":171275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f18"} 
[2026-09-05 06:36:12] local.INFO: GPS Element Parsed {"raw_longitude":763103168,"raw_latitude":96291792,"longitude_deg":76.3103168,"latitude_deg":9.6291792,"altitude":0,"angle":0,"satellites":15,"speed":0,"hex_longitude":"2d7c07c0","hex_latitude":"05bd4bd0","is_valid_coordinates":true} 
[2026-09-05 06:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873991680001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259757956923392,"note":"Value kept but may cause issues"} 
[2026-09-05 06:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937252747679086592,"note":"Value kept but may cause issues"} 
[2026-09-05 06:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788570303000,"timestamp_ms":1788570303000,"timestamp_seconds":1788570303,"priority":1,"record_length":96,"hex_timestamp":"000001a06f18fa18"} 
[2026-09-05 06:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 06:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-05 06:36:12] 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-09-05 06:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 06:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 06:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 06:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 06:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873991680001,"66":13906,"197":206,"85":12544,"24":0,"16":128259757956923392,"45":8937252747679086592},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 06:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 06:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 06:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873991680001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:36:12] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 06:36:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 06:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128259757956923392,"km_value":128259757956923.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937252747679086592,"description":"Unknown IO ID 45"} 
[2026-09-05 06:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873991680001,"power":13906,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937252747679086592}} 
[2026-09-05 06:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":171275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767063,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:36:12] local.INFO: GPS data processed {"connection_id":171275,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:36:12] local.INFO: Acknowledgment sent {"connection_id":171275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:36:34] local.INFO: TCP Data received {"connection_id":171276,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a06f187548012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f187548012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:36:34] local.INFO: Processing buffer {"connection_id":171276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f187548012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:36:34] local.INFO: Packet analysis {"connection_id":171276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f18"} 
[2026-09-05 06:36:34] local.INFO: Extracted packet for processing {"connection_id":171276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f18"} 
[2026-09-05 06:36:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873911808001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788570269000,"timestamp_ms":1788570269000,"timestamp_seconds":1788570269,"priority":1,"record_length":96,"hex_timestamp":"000001a06f187548"} 
[2026-09-05 06:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:36: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-09-05 06:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 06:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873911808001,"66":25441,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873911808001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:36:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:36:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873911808001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":171276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:36:34] local.INFO: GPS data processed {"connection_id":171276,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:36:34] local.INFO: Acknowledgment sent {"connection_id":171276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:36:43] local.INFO: TCP Data received {"connection_id":171275,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a06f194c20012d7c088005bd4c200000000011..."} 
[2026-09-05 06:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f194c20012d7c088005bd4c200000000011..."} 
[2026-09-05 06:36:43] local.INFO: Processing buffer {"connection_id":171275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f194c20012d7c088005bd4c200000000011..."} 
[2026-09-05 06:36:43] local.INFO: Packet analysis {"connection_id":171275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f19"} 
[2026-09-05 06:36:43] local.INFO: Extracted packet for processing {"connection_id":171275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f19"} 
[2026-09-05 06:36:43] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291872,"longitude_deg":76.310336,"latitude_deg":9.6291872,"altitude":0,"angle":0,"satellites":17,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd4c20","is_valid_coordinates":true} 
[2026-09-05 06:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873997568001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259770841825280,"note":"Value kept but may cause issues"} 
[2026-09-05 06:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937323116423270400,"note":"Value kept but may cause issues"} 
[2026-09-05 06:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788570324000,"timestamp_ms":1788570324000,"timestamp_seconds":1788570324,"priority":1,"record_length":96,"hex_timestamp":"000001a06f194c20"} 
[2026-09-05 06:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2048,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 06:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-05 06:36:43] 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-09-05 06:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":171275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":171275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 06:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":171275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 06:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 06:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 06:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873997568001,"66":13939,"197":206,"85":12544,"24":0,"16":128259770841825280,"45":8937323116423270400},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 06:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 06:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 06:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873997568001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:36:43] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 06:36:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 06:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128259770841825280,"km_value":128259770841825.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937323116423270400,"description":"Unknown IO ID 45"} 
[2026-09-05 06:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873997568001,"power":13939,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937323116423270400}} 
[2026-09-05 06:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":171275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767065,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:36:44] local.INFO: GPS data processed {"connection_id":171275,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:36:44] local.INFO: Acknowledgment sent {"connection_id":171275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:36:57] local.INFO: TCP Data received {"connection_id":172677,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:36:57] local.INFO: Processing buffer {"connection_id":172677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:36:57] local.INFO: IMEI packet received {"connection_id":172677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":172677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:37:02] local.INFO: TCP Data received {"connection_id":172677,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:37:02] local.INFO: Processing buffer {"connection_id":172677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:37:02] local.INFO: IMEI packet received {"connection_id":172677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":172677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:37:03] local.INFO: TCP Data received {"connection_id":172677,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06f187548012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f187548012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:37:03] local.INFO: Processing buffer {"connection_id":172677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f187548012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:37:03] local.INFO: Packet analysis {"connection_id":172677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f18"} 
[2026-09-05 06:37:03] local.INFO: Extracted packet for processing {"connection_id":172677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f18"} 
[2026-09-05 06:37:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873911808001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788570269000,"timestamp_ms":1788570269000,"timestamp_seconds":1788570269,"priority":1,"record_length":96,"hex_timestamp":"000001a06f187548"} 
[2026-09-05 06:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:37:03] 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-09-05 06: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-09-05 06: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-09-05 06: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-09-05 06:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06: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-09-05 06:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873911808001,"66":25441,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873911808001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:37:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:37:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873911808001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":172677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:37:03] local.INFO: GPS data processed {"connection_id":172677,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:37:03] local.INFO: Acknowledgment sent {"connection_id":172677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:37:15] local.INFO: TCP Data received {"connection_id":171275,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a06f199e28012d7c088005bd4c200000000013..."} 
[2026-09-05 06:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f199e28012d7c088005bd4c200000000013..."} 
[2026-09-05 06:37:15] local.INFO: Processing buffer {"connection_id":171275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f199e28012d7c088005bd4c200000000013..."} 
[2026-09-05 06:37:15] local.INFO: Packet analysis {"connection_id":171275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f19"} 
[2026-09-05 06:37:15] local.INFO: Extracted packet for processing {"connection_id":171275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f19"} 
[2026-09-05 06:37:15] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291872,"longitude_deg":76.310336,"latitude_deg":9.6291872,"altitude":0,"angle":0,"satellites":19,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd4c20","is_valid_coordinates":true} 
[2026-09-05 06:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874002944001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259770841825280,"note":"Value kept but may cause issues"} 
[2026-09-05 06:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937534222655823872,"note":"Value kept but may cause issues"} 
[2026-09-05 06:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788570345000,"timestamp_ms":1788570345000,"timestamp_seconds":1788570345,"priority":1,"record_length":96,"hex_timestamp":"000001a06f199e28"} 
[2026-09-05 06:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 06:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-05 06:37:15] 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-09-05 06:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":171275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":171275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 06:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":171275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 06:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 06:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 06:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874002944001,"66":13906,"197":206,"85":12544,"24":0,"16":128259770841825280,"45":8937534222655823872},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 06:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 06:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 06:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874002944001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:37:15] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 06:37:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 06:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128259770841825280,"km_value":128259770841825.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937534222655823872,"description":"Unknown IO ID 45"} 
[2026-09-05 06:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874002944001,"power":13906,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937534222655823872}} 
[2026-09-05 06:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":171275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767067,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:37:15] local.INFO: GPS data processed {"connection_id":171275,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:37:15] local.INFO: Acknowledgment sent {"connection_id":171275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:37:34] local.INFO: TCP Data received {"connection_id":172677,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06f187548012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f187548012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:37:34] local.INFO: Processing buffer {"connection_id":172677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f187548012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:37:34] local.INFO: Packet analysis {"connection_id":172677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f18"} 
[2026-09-05 06:37:34] local.INFO: Extracted packet for processing {"connection_id":172677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f18"} 
[2026-09-05 06:37:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873911808001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788570269000,"timestamp_ms":1788570269000,"timestamp_seconds":1788570269,"priority":1,"record_length":96,"hex_timestamp":"000001a06f187548"} 
[2026-09-05 06:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:37: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-09-05 06:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 06:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:37: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-09-05 06:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873911808001,"66":25441,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873911808001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:37:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:37:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873911808001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":172677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:37:34] local.INFO: GPS data processed {"connection_id":172677,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:37:34] local.INFO: Acknowledgment sent {"connection_id":172677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:37:46] local.INFO: TCP Data received {"connection_id":171275,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a06f19f030012d7c088005bd4c900000000013..."} 
[2026-09-05 06:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f19f030012d7c088005bd4c900000000013..."} 
[2026-09-05 06:37:46] local.INFO: Processing buffer {"connection_id":171275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f19f030012d7c088005bd4c900000000013..."} 
[2026-09-05 06:37:46] local.INFO: Packet analysis {"connection_id":171275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f19"} 
[2026-09-05 06:37:46] local.INFO: Extracted packet for processing {"connection_id":171275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f19"} 
[2026-09-05 06:37:46] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291984,"longitude_deg":76.310336,"latitude_deg":9.6291984,"altitude":0,"angle":0,"satellites":19,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd4c90","is_valid_coordinates":true} 
[2026-09-05 06:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874008320001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259779431759872,"note":"Value kept but may cause issues"} 
[2026-09-05 06:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937534222655823872,"note":"Value kept but may cause issues"} 
[2026-09-05 06:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788570366000,"timestamp_ms":1788570366000,"timestamp_seconds":1788570366,"priority":1,"record_length":96,"hex_timestamp":"000001a06f19f030"} 
[2026-09-05 06:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:37:46] 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-09-05 06:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-05 06:37: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-09-05 06:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":171275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":171275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 06:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":171275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 06:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 06:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 06:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874008320001,"66":13972,"197":206,"85":12544,"24":0,"16":128259779431759872,"45":8937534222655823872},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 06:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 06:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 06:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874008320001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:37:46] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 06:37:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 06:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128259779431759872,"km_value":128259779431759.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937534222655823872,"description":"Unknown IO ID 45"} 
[2026-09-05 06:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874008320001,"power":13972,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937534222655823872}} 
[2026-09-05 06:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":171275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767069,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:37:46] local.INFO: GPS data processed {"connection_id":171275,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:37:46] local.INFO: Acknowledgment sent {"connection_id":171275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:37:58] local.INFO: TCP Data received {"connection_id":172678,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:37:58] local.INFO: Processing buffer {"connection_id":172678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:37:58] local.INFO: IMEI packet received {"connection_id":172678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":172678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:38:02] local.INFO: TCP Data received {"connection_id":172678,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:38:02] local.INFO: Processing buffer {"connection_id":172678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:38:02] local.INFO: IMEI packet received {"connection_id":172678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":172678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:38:04] local.INFO: TCP Data received {"connection_id":172678,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a06f187548012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f187548012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:38:04] local.INFO: Processing buffer {"connection_id":172678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f187548012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:38:04] local.INFO: Packet analysis {"connection_id":172678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f18"} 
[2026-09-05 06:38:04] local.INFO: Extracted packet for processing {"connection_id":172678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f18"} 
[2026-09-05 06:38:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 06:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873911808001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788570269000,"timestamp_ms":1788570269000,"timestamp_seconds":1788570269,"priority":1,"record_length":96,"hex_timestamp":"000001a06f187548"} 
[2026-09-05 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-09-05 06:38: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-09-05 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":53,"data_length":795,"current_offset":136} 
[2026-09-05 06: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-09-05 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-09-05 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-09-05 06:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:38: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-09-05 06:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873911808001,"66":25441,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873911808001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:38:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:38:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873911808001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":172678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:38:04] local.INFO: GPS data processed {"connection_id":172678,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:38:04] local.INFO: Acknowledgment sent {"connection_id":172678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:38:35] local.INFO: TCP Data received {"connection_id":172678,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a06f187548012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f187548012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:38:35] local.INFO: Processing buffer {"connection_id":172678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f187548012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:38:35] local.INFO: Packet analysis {"connection_id":172678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f18"} 
[2026-09-05 06:38:35] local.INFO: Extracted packet for processing {"connection_id":172678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f18"} 
[2026-09-05 06:38:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873911808001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788570269000,"timestamp_ms":1788570269000,"timestamp_seconds":1788570269,"priority":1,"record_length":96,"hex_timestamp":"000001a06f187548"} 
[2026-09-05 06:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:38:35] 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-09-05 06:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 06:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873911808001,"66":25441,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873911808001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:38:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:38:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873911808001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":172678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:38:35] local.INFO: GPS data processed {"connection_id":172678,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:38:35] local.INFO: Acknowledgment sent {"connection_id":172678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:38:57] local.INFO: TCP Data received {"connection_id":171574,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:38:57] local.INFO: Processing buffer {"connection_id":171574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:38:57] local.INFO: IMEI packet received {"connection_id":171574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":171574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:39:02] local.INFO: TCP Data received {"connection_id":171574,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:39:02] local.INFO: Processing buffer {"connection_id":171574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:39:02] local.INFO: IMEI packet received {"connection_id":171574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":171574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:39:03] local.INFO: TCP Data received {"connection_id":171574,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a06f187548012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f187548012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:39:03] local.INFO: Processing buffer {"connection_id":171574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f187548012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:39:03] local.INFO: Packet analysis {"connection_id":171574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f18"} 
[2026-09-05 06:39:03] local.INFO: Extracted packet for processing {"connection_id":171574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f18"} 
[2026-09-05 06:39:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873911808001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788570269000,"timestamp_ms":1788570269000,"timestamp_seconds":1788570269,"priority":1,"record_length":96,"hex_timestamp":"000001a06f187548"} 
[2026-09-05 06:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:39:03] 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-09-05 06: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-09-05 06: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-09-05 06: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-09-05 06:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873911808001,"66":25441,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873911808001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:39:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:39:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873911808001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":171574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:39:03] local.INFO: GPS data processed {"connection_id":171574,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:39:03] local.INFO: Acknowledgment sent {"connection_id":171574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:39:35] local.INFO: TCP Data received {"connection_id":171574,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a06f187548012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f187548012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:39:35] local.INFO: Processing buffer {"connection_id":171574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f187548012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:39:35] local.INFO: Packet analysis {"connection_id":171574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f18"} 
[2026-09-05 06:39:35] local.INFO: Extracted packet for processing {"connection_id":171574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f18"} 
[2026-09-05 06:39:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873911808001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788570269000,"timestamp_ms":1788570269000,"timestamp_seconds":1788570269,"priority":1,"record_length":96,"hex_timestamp":"000001a06f187548"} 
[2026-09-05 06:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:39:35] 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-09-05 06:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 06:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873911808001,"66":25441,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873911808001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:39:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:39:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873911808001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":171574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:39:35] local.INFO: GPS data processed {"connection_id":171574,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:39:35] local.INFO: Acknowledgment sent {"connection_id":171574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:39:56] local.INFO: TCP Data received {"connection_id":173982,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 06:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 06:39:56] local.INFO: Processing buffer {"connection_id":173982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 06:39:56] local.INFO: IMEI packet received {"connection_id":173982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 06:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":173982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:39:57] local.INFO: TCP Data received {"connection_id":173983,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:39:57] local.INFO: Processing buffer {"connection_id":173983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:39:57] local.INFO: IMEI packet received {"connection_id":173983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":173983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:40:02] local.INFO: TCP Data received {"connection_id":173983,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:40:02] local.INFO: Processing buffer {"connection_id":173983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:40:02] local.INFO: IMEI packet received {"connection_id":173983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":173983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:40:03] local.INFO: TCP Data received {"connection_id":173983,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06f187548012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f187548012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:40:03] local.INFO: Processing buffer {"connection_id":173983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f187548012d34c9c006aa3d280017008021..."} 
[2026-09-05 06:40:03] local.INFO: Packet analysis {"connection_id":173983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f18"} 
[2026-09-05 06:40:03] local.INFO: Extracted packet for processing {"connection_id":173983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f18"} 
[2026-09-05 06:40:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873911808001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788570269000,"timestamp_ms":1788570269000,"timestamp_seconds":1788570269,"priority":1,"record_length":96,"hex_timestamp":"000001a06f187548"} 
[2026-09-05 06:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:40:03] 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-09-05 06: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-09-05 06: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-09-05 06: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-09-05 06:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:40: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-09-05 06:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873911808001,"66":25441,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873911808001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:40:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:40:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873911808001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":173983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:40:03] local.INFO: GPS data processed {"connection_id":173983,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:40:03] local.INFO: Acknowledgment sent {"connection_id":173983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:40:34] local.INFO: TCP Data received {"connection_id":173983,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06f1d0d10012d34c9c006aa3d28001700801f..."} 
[2026-09-05 06:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f1d0d10012d34c9c006aa3d28001700801f..."} 
[2026-09-05 06:40:34] local.INFO: Processing buffer {"connection_id":173983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f1d0d10012d34c9c006aa3d28001700801f..."} 
[2026-09-05 06:40:34] local.INFO: Packet analysis {"connection_id":173983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f1d"} 
[2026-09-05 06:40:34] local.INFO: Extracted packet for processing {"connection_id":173983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f1d"} 
[2026-09-05 06:40:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":31,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873988864001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788570570000,"timestamp_ms":1788570570000,"timestamp_seconds":1788570570,"priority":1,"record_length":96,"hex_timestamp":"000001a06f1d0d10"} 
[2026-09-05 06:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:40:34] 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-09-05 06:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 06:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:40: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-09-05 06:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873988864001,"66":25441,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873988864001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:40:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:40:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873988864001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":173983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:40:34] local.INFO: GPS data processed {"connection_id":173983,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:40:34] local.INFO: Acknowledgment sent {"connection_id":173983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:40:57] local.INFO: TCP Data received {"connection_id":171575,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:40:57] local.INFO: Processing buffer {"connection_id":171575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:40:57] local.INFO: IMEI packet received {"connection_id":171575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":171575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:41:02] local.INFO: TCP Data received {"connection_id":171575,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:41:02] local.INFO: Processing buffer {"connection_id":171575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:41:02] local.INFO: IMEI packet received {"connection_id":171575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":171575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:41:03] local.INFO: TCP Data received {"connection_id":171575,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a06f1d0d10012d34c9c006aa3d28001700801f..."} 
[2026-09-05 06:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f1d0d10012d34c9c006aa3d28001700801f..."} 
[2026-09-05 06:41:03] local.INFO: Processing buffer {"connection_id":171575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f1d0d10012d34c9c006aa3d28001700801f..."} 
[2026-09-05 06:41:03] local.INFO: Packet analysis {"connection_id":171575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f1d"} 
[2026-09-05 06:41:03] local.INFO: Extracted packet for processing {"connection_id":171575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f1d"} 
[2026-09-05 06:41:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":31,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873988864001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788570570000,"timestamp_ms":1788570570000,"timestamp_seconds":1788570570,"priority":1,"record_length":96,"hex_timestamp":"000001a06f1d0d10"} 
[2026-09-05 06:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:41:03] 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-09-05 06:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 06:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873988864001,"66":25441,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873988864001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:41:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:41:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873988864001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":171575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:41:03] local.INFO: GPS data processed {"connection_id":171575,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:41:03] local.INFO: Acknowledgment sent {"connection_id":171575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:41:34] local.INFO: TCP Data received {"connection_id":171575,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a06f1d0d10012d34c9c006aa3d28001700801f..."} 
[2026-09-05 06:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f1d0d10012d34c9c006aa3d28001700801f..."} 
[2026-09-05 06:41:34] local.INFO: Processing buffer {"connection_id":171575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f1d0d10012d34c9c006aa3d28001700801f..."} 
[2026-09-05 06:41:34] local.INFO: Packet analysis {"connection_id":171575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f1d"} 
[2026-09-05 06:41:34] local.INFO: Extracted packet for processing {"connection_id":171575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f1d"} 
[2026-09-05 06:41:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":31,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873988864001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788570570000,"timestamp_ms":1788570570000,"timestamp_seconds":1788570570,"priority":1,"record_length":96,"hex_timestamp":"000001a06f1d0d10"} 
[2026-09-05 06:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:41:34] 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-09-05 06:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 06:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873988864001,"66":25441,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873988864001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:41:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:41:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873988864001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":171575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:41:34] local.INFO: GPS data processed {"connection_id":171575,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:41:34] local.INFO: Acknowledgment sent {"connection_id":171575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:41:57] local.INFO: TCP Data received {"connection_id":172679,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:41:57] local.INFO: Processing buffer {"connection_id":172679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:41:57] local.INFO: IMEI packet received {"connection_id":172679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":172679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:42:02] local.INFO: TCP Data received {"connection_id":172679,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:42:02] local.INFO: Processing buffer {"connection_id":172679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:42:02] local.INFO: IMEI packet received {"connection_id":172679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":172679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:42:03] local.INFO: TCP Data received {"connection_id":172679,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a06f1d0d10012d34c9c006aa3d28001700801f..."} 
[2026-09-05 06:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f1d0d10012d34c9c006aa3d28001700801f..."} 
[2026-09-05 06:42:03] local.INFO: Processing buffer {"connection_id":172679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f1d0d10012d34c9c006aa3d28001700801f..."} 
[2026-09-05 06:42:03] local.INFO: Packet analysis {"connection_id":172679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f1d"} 
[2026-09-05 06:42:03] local.INFO: Extracted packet for processing {"connection_id":172679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f1d"} 
[2026-09-05 06:42:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":31,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873988864001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788570570000,"timestamp_ms":1788570570000,"timestamp_seconds":1788570570,"priority":1,"record_length":96,"hex_timestamp":"000001a06f1d0d10"} 
[2026-09-05 06:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:42:03] 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-09-05 06:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 06:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873988864001,"66":25441,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873988864001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:42:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:42:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873988864001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":172679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:42:03] local.INFO: GPS data processed {"connection_id":172679,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:42:03] local.INFO: Acknowledgment sent {"connection_id":172679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:42:36] local.INFO: TCP Data received {"connection_id":172679,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a06f1d0d10012d34c9c006aa3d28001700801f..."} 
[2026-09-05 06:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f1d0d10012d34c9c006aa3d28001700801f..."} 
[2026-09-05 06:42:36] local.INFO: Processing buffer {"connection_id":172679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f1d0d10012d34c9c006aa3d28001700801f..."} 
[2026-09-05 06:42:36] local.INFO: Packet analysis {"connection_id":172679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f1d"} 
[2026-09-05 06:42:36] local.INFO: Extracted packet for processing {"connection_id":172679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f1d"} 
[2026-09-05 06:42:36] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":31,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873988864001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788570570000,"timestamp_ms":1788570570000,"timestamp_seconds":1788570570,"priority":1,"record_length":96,"hex_timestamp":"000001a06f1d0d10"} 
[2026-09-05 06:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 06: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":97,"data_length":795,"current_offset":136} 
[2026-09-05 06:42: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-09-05 06: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-09-05 06:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873988864001,"66":25441,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873988864001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:42:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:42:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873988864001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":172679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:42:36] local.INFO: GPS data processed {"connection_id":172679,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:42:36] local.INFO: Acknowledgment sent {"connection_id":172679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:42:57] local.INFO: TCP Data received {"connection_id":171278,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:42:57] local.INFO: Processing buffer {"connection_id":171278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:42:57] local.INFO: IMEI packet received {"connection_id":171278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":171278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:43:02] local.INFO: TCP Data received {"connection_id":171278,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:43:02] local.INFO: Processing buffer {"connection_id":171278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:43:02] local.INFO: IMEI packet received {"connection_id":171278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":171278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:43:03] local.INFO: TCP Data received {"connection_id":171278,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06f1d0d10012d34c9c006aa3d28001700801f..."} 
[2026-09-05 06:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f1d0d10012d34c9c006aa3d28001700801f..."} 
[2026-09-05 06:43:03] local.INFO: Processing buffer {"connection_id":171278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f1d0d10012d34c9c006aa3d28001700801f..."} 
[2026-09-05 06:43:03] local.INFO: Packet analysis {"connection_id":171278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f1d"} 
[2026-09-05 06:43:03] local.INFO: Extracted packet for processing {"connection_id":171278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f1d"} 
[2026-09-05 06:43:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":31,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873988864001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788570570000,"timestamp_ms":1788570570000,"timestamp_seconds":1788570570,"priority":1,"record_length":96,"hex_timestamp":"000001a06f1d0d10"} 
[2026-09-05 06:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:43:03] 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-09-05 06:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 06:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:43: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-09-05 06:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873988864001,"66":25441,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873988864001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:43:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:43:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873988864001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":171278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:43:03] local.INFO: GPS data processed {"connection_id":171278,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:43:03] local.INFO: Acknowledgment sent {"connection_id":171278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:43:34] local.INFO: TCP Data received {"connection_id":171278,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06f1d0d10012d34c9c006aa3d28001700801f..."} 
[2026-09-05 06:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f1d0d10012d34c9c006aa3d28001700801f..."} 
[2026-09-05 06:43:34] local.INFO: Processing buffer {"connection_id":171278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f1d0d10012d34c9c006aa3d28001700801f..."} 
[2026-09-05 06:43:34] local.INFO: Packet analysis {"connection_id":171278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f1d"} 
[2026-09-05 06:43:34] local.INFO: Extracted packet for processing {"connection_id":171278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f1d"} 
[2026-09-05 06:43:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":31,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873988864001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788570570000,"timestamp_ms":1788570570000,"timestamp_seconds":1788570570,"priority":1,"record_length":96,"hex_timestamp":"000001a06f1d0d10"} 
[2026-09-05 06:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:43:34] 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-09-05 06:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 06:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873988864001,"66":25441,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873988864001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:43:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:43:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873988864001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":171278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:43:34] local.INFO: GPS data processed {"connection_id":171278,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:43:34] local.INFO: Acknowledgment sent {"connection_id":171278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:43:57] local.INFO: TCP Data received {"connection_id":172680,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:43:57] local.INFO: Processing buffer {"connection_id":172680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:43:57] local.INFO: IMEI packet received {"connection_id":172680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":172680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:44:02] local.INFO: TCP Data received {"connection_id":172680,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:44:02] local.INFO: Processing buffer {"connection_id":172680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:44:02] local.INFO: IMEI packet received {"connection_id":172680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":172680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:44:03] local.INFO: TCP Data received {"connection_id":172680,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06f1d0d10012d34c9c006aa3d28001700801f..."} 
[2026-09-05 06:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f1d0d10012d34c9c006aa3d28001700801f..."} 
[2026-09-05 06:44:03] local.INFO: Processing buffer {"connection_id":172680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f1d0d10012d34c9c006aa3d28001700801f..."} 
[2026-09-05 06:44:03] local.INFO: Packet analysis {"connection_id":172680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f1d"} 
[2026-09-05 06:44:03] local.INFO: Extracted packet for processing {"connection_id":172680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f1d"} 
[2026-09-05 06:44:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":31,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873988864001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788570570000,"timestamp_ms":1788570570000,"timestamp_seconds":1788570570,"priority":1,"record_length":96,"hex_timestamp":"000001a06f1d0d10"} 
[2026-09-05 06:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:44:03] 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-09-05 06:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 06:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:44: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-09-05 06:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873988864001,"66":25441,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873988864001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:44:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:44:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873988864001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":172680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:44:03] local.INFO: GPS data processed {"connection_id":172680,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:44:03] local.INFO: Acknowledgment sent {"connection_id":172680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:44:35] local.INFO: TCP Data received {"connection_id":172680,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06f1d0d10012d34c9c006aa3d28001700801f..."} 
[2026-09-05 06:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f1d0d10012d34c9c006aa3d28001700801f..."} 
[2026-09-05 06:44:35] local.INFO: Processing buffer {"connection_id":172680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f1d0d10012d34c9c006aa3d28001700801f..."} 
[2026-09-05 06:44:35] local.INFO: Packet analysis {"connection_id":172680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f1d"} 
[2026-09-05 06:44:35] local.INFO: Extracted packet for processing {"connection_id":172680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f1d"} 
[2026-09-05 06:44:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":31,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873988864001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788570570000,"timestamp_ms":1788570570000,"timestamp_seconds":1788570570,"priority":1,"record_length":96,"hex_timestamp":"000001a06f1d0d10"} 
[2026-09-05 06:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:44:35] 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-09-05 06: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 06:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873988864001,"66":25441,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873988864001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:44:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:44:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873988864001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":172680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:44:35] local.INFO: GPS data processed {"connection_id":172680,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:44:35] local.INFO: Acknowledgment sent {"connection_id":172680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:44:57] local.INFO: TCP Data received {"connection_id":171279,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:44:57] local.INFO: Processing buffer {"connection_id":171279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:44:57] local.INFO: IMEI packet received {"connection_id":171279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":171279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:45:02] local.INFO: TCP Data received {"connection_id":171279,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:45:02] local.INFO: Processing buffer {"connection_id":171279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:45:02] local.INFO: IMEI packet received {"connection_id":171279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":171279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:45:03] local.INFO: TCP Data received {"connection_id":171279,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06f1d0d10012d34c9c006aa3d28001700801f..."} 
[2026-09-05 06:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f1d0d10012d34c9c006aa3d28001700801f..."} 
[2026-09-05 06:45:03] local.INFO: Processing buffer {"connection_id":171279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f1d0d10012d34c9c006aa3d28001700801f..."} 
[2026-09-05 06:45:03] local.INFO: Packet analysis {"connection_id":171279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f1d"} 
[2026-09-05 06:45:03] local.INFO: Extracted packet for processing {"connection_id":171279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f1d"} 
[2026-09-05 06:45:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":31,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457873988864001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788570570000,"timestamp_ms":1788570570000,"timestamp_seconds":1788570570,"priority":1,"record_length":96,"hex_timestamp":"000001a06f1d0d10"} 
[2026-09-05 06:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:45:03] 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-09-05 06: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":97,"data_length":795,"current_offset":136} 
[2026-09-05 06:45: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-09-05 06: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-09-05 06:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:45: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-09-05 06:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457873988864001,"66":25441,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457873988864001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:45:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:45:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457873988864001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":171279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:45:03] local.INFO: GPS data processed {"connection_id":171279,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:45:03] local.INFO: Acknowledgment sent {"connection_id":171279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:45:31] local.INFO: TCP Data received {"connection_id":171576,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 06:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171576,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 06:45:31] local.INFO: Processing buffer {"connection_id":171576,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 06:45:31] local.INFO: IMEI packet received {"connection_id":171576,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 06:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":171576,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:45:35] local.INFO: TCP Data received {"connection_id":171279,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06f21a4d8012d34c9c006aa3d280009008025..."} 
[2026-09-05 06:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f21a4d8012d34c9c006aa3d280009008025..."} 
[2026-09-05 06:45:35] local.INFO: Processing buffer {"connection_id":171279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f21a4d8012d34c9c006aa3d280009008025..."} 
[2026-09-05 06:45:35] local.INFO: Packet analysis {"connection_id":171279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f21"} 
[2026-09-05 06:45:35] local.INFO: Extracted packet for processing {"connection_id":171279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f21"} 
[2026-09-05 06:45:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874065920001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788570871000,"timestamp_ms":1788570871000,"timestamp_seconds":1788570871,"priority":1,"record_length":96,"hex_timestamp":"000001a06f21a4d8"} 
[2026-09-05 06:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:45:35] 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-09-05 06: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 06:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874065920001,"66":25462,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874065920001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:45:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:45:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874065920001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":171279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:45:35] local.INFO: GPS data processed {"connection_id":171279,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:45:35] local.INFO: Acknowledgment sent {"connection_id":171279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:46:02] local.INFO: TCP Data received {"connection_id":172681,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:46:02] local.INFO: Processing buffer {"connection_id":172681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:46:02] local.INFO: IMEI packet received {"connection_id":172681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":172681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:46:07] local.INFO: TCP Data received {"connection_id":172681,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:46:07] local.INFO: Processing buffer {"connection_id":172681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:46:07] local.INFO: IMEI packet received {"connection_id":172681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":172681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:46:08] local.INFO: TCP Data received {"connection_id":172681,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06f21a4d8012d34c9c006aa3d280009008025..."} 
[2026-09-05 06:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f21a4d8012d34c9c006aa3d280009008025..."} 
[2026-09-05 06:46:08] local.INFO: Processing buffer {"connection_id":172681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f21a4d8012d34c9c006aa3d280009008025..."} 
[2026-09-05 06:46:08] local.INFO: Packet analysis {"connection_id":172681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f21"} 
[2026-09-05 06:46:08] local.INFO: Extracted packet for processing {"connection_id":172681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f21"} 
[2026-09-05 06:46:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874065920001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788570871000,"timestamp_ms":1788570871000,"timestamp_seconds":1788570871,"priority":1,"record_length":96,"hex_timestamp":"000001a06f21a4d8"} 
[2026-09-05 06:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:46:08] 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-09-05 06:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 06:46: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-09-05 06: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-09-05 06:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874065920001,"66":25462,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874065920001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:46:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:46:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874065920001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":172681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:46:08] local.INFO: GPS data processed {"connection_id":172681,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:46:08] local.INFO: Acknowledgment sent {"connection_id":172681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:46:13] local.INFO: TCP Data received {"connection_id":172681,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06f21a4d8012d34c9c006aa3d280009008025..."} 
[2026-09-05 06:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f21a4d8012d34c9c006aa3d280009008025..."} 
[2026-09-05 06:46:13] local.INFO: Processing buffer {"connection_id":172681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f21a4d8012d34c9c006aa3d280009008025..."} 
[2026-09-05 06:46:13] local.INFO: Packet analysis {"connection_id":172681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f21"} 
[2026-09-05 06:46:13] local.INFO: Extracted packet for processing {"connection_id":172681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f21"} 
[2026-09-05 06:46:13] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06:46: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-09-05 06:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874065920001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788570871000,"timestamp_ms":1788570871000,"timestamp_seconds":1788570871,"priority":1,"record_length":96,"hex_timestamp":"000001a06f21a4d8"} 
[2026-09-05 06:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:46:13] 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-09-05 06:46: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-09-05 06:46: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-09-05 06:46: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-09-05 06:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":172681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":172681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":172681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874065920001,"66":25462,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874065920001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:46:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:46:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874065920001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":172681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:46:13] local.INFO: GPS data processed {"connection_id":172681,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:46:13] local.INFO: Acknowledgment sent {"connection_id":172681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:46:57] local.INFO: TCP Data received {"connection_id":171577,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:46:57] local.INFO: Processing buffer {"connection_id":171577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:46:57] local.INFO: IMEI packet received {"connection_id":171577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":171577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:47:02] local.INFO: TCP Data received {"connection_id":171577,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:47:02] local.INFO: Processing buffer {"connection_id":171577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:47:02] local.INFO: IMEI packet received {"connection_id":171577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":171577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:47:03] local.INFO: TCP Data received {"connection_id":171577,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06f21a4d8012d34c9c006aa3d280009008025..."} 
[2026-09-05 06:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f21a4d8012d34c9c006aa3d280009008025..."} 
[2026-09-05 06:47:03] local.INFO: Processing buffer {"connection_id":171577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f21a4d8012d34c9c006aa3d280009008025..."} 
[2026-09-05 06:47:03] local.INFO: Packet analysis {"connection_id":171577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f21"} 
[2026-09-05 06:47:03] local.INFO: Extracted packet for processing {"connection_id":171577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f21"} 
[2026-09-05 06:47:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874065920001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788570871000,"timestamp_ms":1788570871000,"timestamp_seconds":1788570871,"priority":1,"record_length":96,"hex_timestamp":"000001a06f21a4d8"} 
[2026-09-05 06:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:47:03] 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-09-05 06:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 06:47: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-09-05 06:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:47: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-09-05 06:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874065920001,"66":25462,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874065920001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:47:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:47:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874065920001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":171577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:47:03] local.INFO: GPS data processed {"connection_id":171577,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:47:03] local.INFO: Acknowledgment sent {"connection_id":171577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:47:35] local.INFO: TCP Data received {"connection_id":171577,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a06f21a4d8012d34c9c006aa3d280009008025..."} 
[2026-09-05 06:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f21a4d8012d34c9c006aa3d280009008025..."} 
[2026-09-05 06:47:35] local.INFO: Processing buffer {"connection_id":171577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f21a4d8012d34c9c006aa3d280009008025..."} 
[2026-09-05 06:47:35] local.INFO: Packet analysis {"connection_id":171577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f21"} 
[2026-09-05 06:47:35] local.INFO: Extracted packet for processing {"connection_id":171577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f21"} 
[2026-09-05 06:47:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874065920001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788570871000,"timestamp_ms":1788570871000,"timestamp_seconds":1788570871,"priority":1,"record_length":96,"hex_timestamp":"000001a06f21a4d8"} 
[2026-09-05 06:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:47:35] 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-09-05 06: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 06:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874065920001,"66":25462,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874065920001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:47:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:47:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874065920001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":171577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:47:35] local.INFO: GPS data processed {"connection_id":171577,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:47:35] local.INFO: Acknowledgment sent {"connection_id":171577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:47:57] local.INFO: TCP Data received {"connection_id":172682,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:47:57] local.INFO: Processing buffer {"connection_id":172682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:47:57] local.INFO: IMEI packet received {"connection_id":172682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":172682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:48:02] local.INFO: TCP Data received {"connection_id":172682,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:48:02] local.INFO: Processing buffer {"connection_id":172682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:48:02] local.INFO: IMEI packet received {"connection_id":172682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":172682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:48:03] local.INFO: TCP Data received {"connection_id":172682,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06f21a4d8012d34c9c006aa3d280009008025..."} 
[2026-09-05 06:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f21a4d8012d34c9c006aa3d280009008025..."} 
[2026-09-05 06:48:03] local.INFO: Processing buffer {"connection_id":172682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f21a4d8012d34c9c006aa3d280009008025..."} 
[2026-09-05 06:48:03] local.INFO: Packet analysis {"connection_id":172682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f21"} 
[2026-09-05 06:48:03] local.INFO: Extracted packet for processing {"connection_id":172682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f21"} 
[2026-09-05 06:48:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874065920001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788570871000,"timestamp_ms":1788570871000,"timestamp_seconds":1788570871,"priority":1,"record_length":96,"hex_timestamp":"000001a06f21a4d8"} 
[2026-09-05 06:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:48:03] 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-09-05 06: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":97,"data_length":795,"current_offset":136} 
[2026-09-05 06:48: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-09-05 06: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-09-05 06:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:48: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-09-05 06:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874065920001,"66":25462,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874065920001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:48:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:48:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874065920001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":172682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:48:03] local.INFO: GPS data processed {"connection_id":172682,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:48:03] local.INFO: Acknowledgment sent {"connection_id":172682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:48:34] local.INFO: TCP Data received {"connection_id":172682,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06f21a4d8012d34c9c006aa3d280009008025..."} 
[2026-09-05 06:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f21a4d8012d34c9c006aa3d280009008025..."} 
[2026-09-05 06:48:34] local.INFO: Processing buffer {"connection_id":172682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f21a4d8012d34c9c006aa3d280009008025..."} 
[2026-09-05 06:48:34] local.INFO: Packet analysis {"connection_id":172682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f21"} 
[2026-09-05 06:48:34] local.INFO: Extracted packet for processing {"connection_id":172682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f21"} 
[2026-09-05 06:48:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874065920001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788570871000,"timestamp_ms":1788570871000,"timestamp_seconds":1788570871,"priority":1,"record_length":96,"hex_timestamp":"000001a06f21a4d8"} 
[2026-09-05 06:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:48: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-09-05 06:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 06:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874065920001,"66":25462,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874065920001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:48:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:48:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874065920001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":172682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:48:34] local.INFO: GPS data processed {"connection_id":172682,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:48:34] local.INFO: Acknowledgment sent {"connection_id":172682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:48:58] local.INFO: TCP Data received {"connection_id":171280,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:48:58] local.INFO: Processing buffer {"connection_id":171280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:48:58] local.INFO: IMEI packet received {"connection_id":171280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":171280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:49:02] local.INFO: TCP Data received {"connection_id":171280,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:49:02] local.INFO: Processing buffer {"connection_id":171280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:49:02] local.INFO: IMEI packet received {"connection_id":171280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":171280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:49:03] local.INFO: TCP Data received {"connection_id":171280,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06f21a4d8012d34c9c006aa3d280009008025..."} 
[2026-09-05 06:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f21a4d8012d34c9c006aa3d280009008025..."} 
[2026-09-05 06:49:03] local.INFO: Processing buffer {"connection_id":171280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f21a4d8012d34c9c006aa3d280009008025..."} 
[2026-09-05 06:49:03] local.INFO: Packet analysis {"connection_id":171280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f21"} 
[2026-09-05 06:49:03] local.INFO: Extracted packet for processing {"connection_id":171280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f21"} 
[2026-09-05 06:49:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874065920001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788570871000,"timestamp_ms":1788570871000,"timestamp_seconds":1788570871,"priority":1,"record_length":96,"hex_timestamp":"000001a06f21a4d8"} 
[2026-09-05 06:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:49:03] 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-09-05 06: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":97,"data_length":795,"current_offset":136} 
[2026-09-05 06:49: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-09-05 06: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-09-05 06:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:49: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-09-05 06:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874065920001,"66":25462,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874065920001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:49:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:49:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874065920001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":171280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:49:03] local.INFO: GPS data processed {"connection_id":171280,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:49:03] local.INFO: Acknowledgment sent {"connection_id":171280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:49:34] local.INFO: TCP Data received {"connection_id":171280,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a06f21a4d8012d34c9c006aa3d280009008025..."} 
[2026-09-05 06:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f21a4d8012d34c9c006aa3d280009008025..."} 
[2026-09-05 06:49:34] local.INFO: Processing buffer {"connection_id":171280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f21a4d8012d34c9c006aa3d280009008025..."} 
[2026-09-05 06:49:34] local.INFO: Packet analysis {"connection_id":171280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f21"} 
[2026-09-05 06:49:34] local.INFO: Extracted packet for processing {"connection_id":171280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f21"} 
[2026-09-05 06:49:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874065920001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788570871000,"timestamp_ms":1788570871000,"timestamp_seconds":1788570871,"priority":1,"record_length":96,"hex_timestamp":"000001a06f21a4d8"} 
[2026-09-05 06:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:49: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-09-05 06:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 06:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874065920001,"66":25462,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874065920001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:49:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:49:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874065920001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":171280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:49:34] local.INFO: GPS data processed {"connection_id":171280,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:49:34] local.INFO: Acknowledgment sent {"connection_id":171280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:49:57] local.INFO: TCP Data received {"connection_id":171281,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:49:57] local.INFO: Processing buffer {"connection_id":171281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:49:57] local.INFO: IMEI packet received {"connection_id":171281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":171281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:50:02] local.INFO: TCP Data received {"connection_id":171281,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:50:02] local.INFO: Processing buffer {"connection_id":171281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:50:02] local.INFO: IMEI packet received {"connection_id":171281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":171281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:50:03] local.INFO: TCP Data received {"connection_id":171281,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06f21a4d8012d34c9c006aa3d280009008025..."} 
[2026-09-05 06:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f21a4d8012d34c9c006aa3d280009008025..."} 
[2026-09-05 06:50:03] local.INFO: Processing buffer {"connection_id":171281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f21a4d8012d34c9c006aa3d280009008025..."} 
[2026-09-05 06:50:03] local.INFO: Packet analysis {"connection_id":171281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f21"} 
[2026-09-05 06:50:03] local.INFO: Extracted packet for processing {"connection_id":171281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f21"} 
[2026-09-05 06:50:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 06:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874065920001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788570871000,"timestamp_ms":1788570871000,"timestamp_seconds":1788570871,"priority":1,"record_length":96,"hex_timestamp":"000001a06f21a4d8"} 
[2026-09-05 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-09-05 06:50:03] 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-09-05 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 06:50: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-09-05 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-09-05 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-09-05 06:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:50: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-09-05 06:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874065920001,"66":25462,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874065920001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:50:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:50:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874065920001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":171281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:50:03] local.INFO: GPS data processed {"connection_id":171281,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:50:03] local.INFO: Acknowledgment sent {"connection_id":171281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:50:34] local.INFO: TCP Data received {"connection_id":171281,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06f263ca0012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f263ca0012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:50:34] local.INFO: Processing buffer {"connection_id":171281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f263ca0012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:50:34] local.INFO: Packet analysis {"connection_id":171281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f26"} 
[2026-09-05 06:50:34] local.INFO: Extracted packet for processing {"connection_id":171281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f26"} 
[2026-09-05 06:50:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874142976001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788571172000,"timestamp_ms":1788571172000,"timestamp_seconds":1788571172,"priority":1,"record_length":96,"hex_timestamp":"000001a06f263ca0"} 
[2026-09-05 06:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:50: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-09-05 06:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 06:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874142976001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874142976001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:50:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:50:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874142976001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":171281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:50:34] local.INFO: GPS data processed {"connection_id":171281,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:50:34] local.INFO: Acknowledgment sent {"connection_id":171281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:50:57] local.INFO: TCP Data received {"connection_id":171579,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:50:57] local.INFO: Processing buffer {"connection_id":171579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:50:57] local.INFO: IMEI packet received {"connection_id":171579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":171579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:51:01] local.INFO: TCP Data received {"connection_id":171578,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 06:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 06:51:01] local.INFO: Processing buffer {"connection_id":171578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 06:51:01] local.INFO: IMEI packet received {"connection_id":171578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 06:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":171578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:51:02] local.INFO: TCP Data received {"connection_id":171579,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:51:02] local.INFO: Processing buffer {"connection_id":171579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:51:02] local.INFO: IMEI packet received {"connection_id":171579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":171579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:51:03] local.INFO: TCP Data received {"connection_id":171579,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06f263ca0012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f263ca0012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:51:03] local.INFO: Processing buffer {"connection_id":171579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f263ca0012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:51:03] local.INFO: Packet analysis {"connection_id":171579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f26"} 
[2026-09-05 06:51:03] local.INFO: Extracted packet for processing {"connection_id":171579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f26"} 
[2026-09-05 06:51:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874142976001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788571172000,"timestamp_ms":1788571172000,"timestamp_seconds":1788571172,"priority":1,"record_length":96,"hex_timestamp":"000001a06f263ca0"} 
[2026-09-05 06:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:51:03] 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-09-05 06:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 06:51: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-09-05 06:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:51: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-09-05 06:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874142976001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874142976001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:51:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:51:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874142976001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":171579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:51:03] local.INFO: GPS data processed {"connection_id":171579,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:51:03] local.INFO: Acknowledgment sent {"connection_id":171579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:51:08] local.INFO: TCP Data received {"connection_id":171579,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06f263ca0012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f263ca0012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:51:08] local.INFO: Processing buffer {"connection_id":171579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f263ca0012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:51:08] local.INFO: Packet analysis {"connection_id":171579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f26"} 
[2026-09-05 06:51:08] local.INFO: Extracted packet for processing {"connection_id":171579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f26"} 
[2026-09-05 06:51:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874142976001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788571172000,"timestamp_ms":1788571172000,"timestamp_seconds":1788571172,"priority":1,"record_length":96,"hex_timestamp":"000001a06f263ca0"} 
[2026-09-05 06:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:51:08] 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-09-05 06: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 06:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874142976001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874142976001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:51:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:51:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874142976001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":171579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:51:08] local.INFO: GPS data processed {"connection_id":171579,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:51:08] local.INFO: Acknowledgment sent {"connection_id":171579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:51:40] local.INFO: TCP Data received {"connection_id":171579,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06f263ca0012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f263ca0012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:51:40] local.INFO: Processing buffer {"connection_id":171579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f263ca0012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:51:40] local.INFO: Packet analysis {"connection_id":171579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f26"} 
[2026-09-05 06:51:40] local.INFO: Extracted packet for processing {"connection_id":171579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f26"} 
[2026-09-05 06:51:40] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874142976001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788571172000,"timestamp_ms":1788571172000,"timestamp_seconds":1788571172,"priority":1,"record_length":96,"hex_timestamp":"000001a06f263ca0"} 
[2026-09-05 06:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:51:40] 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-09-05 06: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":118,"data_length":795,"current_offset":136} 
[2026-09-05 06:51: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-09-05 06: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-09-05 06:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":171579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":171579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":171579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:51:40] 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-09-05 06:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874142976001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874142976001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:51:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:51:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874142976001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":171579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:51:40] local.INFO: GPS data processed {"connection_id":171579,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:51:40] local.INFO: Acknowledgment sent {"connection_id":171579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:51:57] local.INFO: TCP Data received {"connection_id":171282,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:51:57] local.INFO: Processing buffer {"connection_id":171282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:51:57] local.INFO: IMEI packet received {"connection_id":171282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":171282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:52:02] local.INFO: TCP Data received {"connection_id":171282,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:52:02] local.INFO: Processing buffer {"connection_id":171282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:52:02] local.INFO: IMEI packet received {"connection_id":171282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":171282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:52:03] local.INFO: TCP Data received {"connection_id":171282,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06f263ca0012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f263ca0012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:52:03] local.INFO: Processing buffer {"connection_id":171282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f263ca0012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:52:03] local.INFO: Packet analysis {"connection_id":171282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f26"} 
[2026-09-05 06:52:03] local.INFO: Extracted packet for processing {"connection_id":171282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f26"} 
[2026-09-05 06:52:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874142976001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788571172000,"timestamp_ms":1788571172000,"timestamp_seconds":1788571172,"priority":1,"record_length":96,"hex_timestamp":"000001a06f263ca0"} 
[2026-09-05 06:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:52:03] 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-09-05 06:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 06:52: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-09-05 06:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874142976001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874142976001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:52:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:52:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874142976001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":171282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:52:03] local.INFO: GPS data processed {"connection_id":171282,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:52:03] local.INFO: Acknowledgment sent {"connection_id":171282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:52:34] local.INFO: TCP Data received {"connection_id":171282,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a06f263ca0012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f263ca0012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:52:34] local.INFO: Processing buffer {"connection_id":171282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f263ca0012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:52:34] local.INFO: Packet analysis {"connection_id":171282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f26"} 
[2026-09-05 06:52:34] local.INFO: Extracted packet for processing {"connection_id":171282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f26"} 
[2026-09-05 06:52:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874142976001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788571172000,"timestamp_ms":1788571172000,"timestamp_seconds":1788571172,"priority":1,"record_length":96,"hex_timestamp":"000001a06f263ca0"} 
[2026-09-05 06:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:52: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-09-05 06: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 06:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874142976001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874142976001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:52:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:52:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874142976001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":171282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:52:34] local.INFO: GPS data processed {"connection_id":171282,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:52:34] local.INFO: Acknowledgment sent {"connection_id":171282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:52:46] local.INFO: TCP Data received {"connection_id":173984,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:52:46] local.INFO: Processing buffer {"connection_id":173984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:52:46] local.INFO: IMEI packet received {"connection_id":173984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 06:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":173984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:52:46] local.INFO: TCP Data received {"connection_id":173984,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:52:46] local.INFO: Processing buffer {"connection_id":173984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:52:46] local.INFO: IMEI packet received {"connection_id":173984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 06:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":173984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:52:51] local.INFO: TCP Data received {"connection_id":173984,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:52:51] local.INFO: Processing buffer {"connection_id":173984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:52:51] local.INFO: IMEI packet received {"connection_id":173984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 06:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":173984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:52:51] local.INFO: TCP Data received {"connection_id":173984,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-05 06:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173984,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-05 06:52:51] local.INFO: Processing buffer {"connection_id":173984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-05 06:52:51] local.INFO: Packet analysis {"connection_id":173984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-05 06:52:51] local.INFO: Extracted packet for processing {"connection_id":173984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-05 06:52:51] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 06:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259749366988800,"note":"Value kept but may cause issues"} 
[2026-09-05 06:52:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,197,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 06:52:51] 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-09-05 06:52:51] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 06:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173984,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173984,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-05 06:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173984,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-05 06:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 06:52:51] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 06:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":173984,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 06:52:51] local.ERROR: GPS data processing failed {"connection_id":173984,"error":"No valid data to process"} 
[2026-09-05 06:52:51] local.INFO: Acknowledgment sent {"connection_id":173984,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 06:52:57] local.INFO: TCP Data received {"connection_id":172683,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:52:57] local.INFO: Processing buffer {"connection_id":172683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:52:57] local.INFO: IMEI packet received {"connection_id":172683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":172683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:53:02] local.INFO: TCP Data received {"connection_id":172683,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:53:02] local.INFO: Processing buffer {"connection_id":172683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:53:02] local.INFO: IMEI packet received {"connection_id":172683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":172683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:53:03] local.INFO: TCP Data received {"connection_id":172683,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f263ca0012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f263ca0012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:53:03] local.INFO: Processing buffer {"connection_id":172683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f263ca0012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:53:03] local.INFO: Packet analysis {"connection_id":172683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f26"} 
[2026-09-05 06:53:03] local.INFO: Extracted packet for processing {"connection_id":172683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f26"} 
[2026-09-05 06:53:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874142976001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788571172000,"timestamp_ms":1788571172000,"timestamp_seconds":1788571172,"priority":1,"record_length":96,"hex_timestamp":"000001a06f263ca0"} 
[2026-09-05 06:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:53:03] 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-09-05 06:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 06:53: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-09-05 06:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:53: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-09-05 06:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874142976001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874142976001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:53:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:53:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874142976001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":172683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:53:03] local.INFO: GPS data processed {"connection_id":172683,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:53:03] local.INFO: Acknowledgment sent {"connection_id":172683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:53:22] local.INFO: TCP Data received {"connection_id":173984,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-05 06:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173984,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-05 06:53:22] local.INFO: Processing buffer {"connection_id":173984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-05 06:53:22] local.INFO: Packet analysis {"connection_id":173984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-05 06:53:22] local.INFO: Extracted packet for processing {"connection_id":173984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-05 06:53:22] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 06:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259749366988800,"note":"Value kept but may cause issues"} 
[2026-09-05 06:53:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,197,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 06:53:22] 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-09-05 06:53:22] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 06:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173984,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173984,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-05 06:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173984,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-05 06:53:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 06:53:23] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 06:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":173984,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 06:53:23] local.ERROR: GPS data processing failed {"connection_id":173984,"error":"No valid data to process"} 
[2026-09-05 06:53:23] local.INFO: Acknowledgment sent {"connection_id":173984,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 06:53:34] local.INFO: TCP Data received {"connection_id":172683,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f263ca0012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f263ca0012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:53:34] local.INFO: Processing buffer {"connection_id":172683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f263ca0012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:53:34] local.INFO: Packet analysis {"connection_id":172683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f26"} 
[2026-09-05 06:53:34] local.INFO: Extracted packet for processing {"connection_id":172683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f26"} 
[2026-09-05 06:53:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874142976001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788571172000,"timestamp_ms":1788571172000,"timestamp_seconds":1788571172,"priority":1,"record_length":96,"hex_timestamp":"000001a06f263ca0"} 
[2026-09-05 06:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:53: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-09-05 06:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 06:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874142976001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874142976001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:53:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:53:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874142976001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":172683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:53:34] local.INFO: GPS data processed {"connection_id":172683,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:53:34] local.INFO: Acknowledgment sent {"connection_id":172683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:53:53] local.INFO: TCP Data received {"connection_id":173984,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-05 06:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-05 06:53:53] local.INFO: Processing buffer {"connection_id":173984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-05 06:53:53] local.INFO: Packet analysis {"connection_id":173984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-05 06:53:53] local.INFO: Extracted packet for processing {"connection_id":173984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-05 06:53:53] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 06:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259749366988800,"note":"Value kept but may cause issues"} 
[2026-09-05 06:53:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,197,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 06:53:53] 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-09-05 06:53:53] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 06:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173984,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173984,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-05 06:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173984,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-05 06:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 06:53:53] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 06:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":173984,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 06:53:53] local.ERROR: GPS data processing failed {"connection_id":173984,"error":"No valid data to process"} 
[2026-09-05 06:53:53] local.INFO: Acknowledgment sent {"connection_id":173984,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 06:53:57] local.INFO: TCP Data received {"connection_id":173985,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:53:57] local.INFO: Processing buffer {"connection_id":173985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:53:57] local.INFO: IMEI packet received {"connection_id":173985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":173985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:54:02] local.INFO: TCP Data received {"connection_id":173985,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:54:02] local.INFO: Processing buffer {"connection_id":173985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:54:02] local.INFO: IMEI packet received {"connection_id":173985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":173985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:54:03] local.INFO: TCP Data received {"connection_id":173985,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a06f263ca0012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f263ca0012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:54:03] local.INFO: Processing buffer {"connection_id":173985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f263ca0012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:54:03] local.INFO: Packet analysis {"connection_id":173985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f26"} 
[2026-09-05 06:54:03] local.INFO: Extracted packet for processing {"connection_id":173985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f26"} 
[2026-09-05 06:54:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874142976001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788571172000,"timestamp_ms":1788571172000,"timestamp_seconds":1788571172,"priority":1,"record_length":96,"hex_timestamp":"000001a06f263ca0"} 
[2026-09-05 06:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:54:03] 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-09-05 06: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":118,"data_length":795,"current_offset":136} 
[2026-09-05 06:54: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-09-05 06: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-09-05 06:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:54: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-09-05 06:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874142976001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874142976001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:54:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:54:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874142976001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":173985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:54:03] local.INFO: GPS data processed {"connection_id":173985,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:54:03] local.INFO: Acknowledgment sent {"connection_id":173985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:54:24] local.INFO: TCP Data received {"connection_id":173984,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-05 06:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173984,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-05 06:54:24] local.INFO: Processing buffer {"connection_id":173984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-05 06:54:24] local.INFO: Packet analysis {"connection_id":173984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-05 06:54:24] local.INFO: Extracted packet for processing {"connection_id":173984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-05 06:54:24] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 06:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259749366988800,"note":"Value kept but may cause issues"} 
[2026-09-05 06:54:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,197,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 06:54:24] 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-09-05 06:54:24] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 06:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173984,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173984,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-05 06:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173984,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-05 06:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 06:54:24] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 06:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":173984,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 06:54:24] local.ERROR: GPS data processing failed {"connection_id":173984,"error":"No valid data to process"} 
[2026-09-05 06:54:24] local.INFO: Acknowledgment sent {"connection_id":173984,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 06:54:34] local.INFO: TCP Data received {"connection_id":173985,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a06f263ca0012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f263ca0012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:54:34] local.INFO: Processing buffer {"connection_id":173985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f263ca0012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:54:34] local.INFO: Packet analysis {"connection_id":173985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f26"} 
[2026-09-05 06:54:34] local.INFO: Extracted packet for processing {"connection_id":173985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f26"} 
[2026-09-05 06:54:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874142976001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788571172000,"timestamp_ms":1788571172000,"timestamp_seconds":1788571172,"priority":1,"record_length":96,"hex_timestamp":"000001a06f263ca0"} 
[2026-09-05 06:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:54: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-09-05 06:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 06:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:54:34] 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-09-05 06:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874142976001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874142976001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:54:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:54:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874142976001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":173985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:54:34] local.INFO: GPS data processed {"connection_id":173985,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:54:34] local.INFO: Acknowledgment sent {"connection_id":173985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:54:55] local.INFO: TCP Data received {"connection_id":173984,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2a76a80100000000000000000000000000..."} 
[2026-09-05 06:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2a76a80100000000000000000000000000..."} 
[2026-09-05 06:54:55] local.INFO: Processing buffer {"connection_id":173984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2a76a80100000000000000000000000000..."} 
[2026-09-05 06:54:55] local.INFO: Packet analysis {"connection_id":173984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2a"} 
[2026-09-05 06:54:55] local.INFO: Extracted packet for processing {"connection_id":173984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2a"} 
[2026-09-05 06:54:55] 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-09-05 06:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259749366988800,"note":"Value kept but may cause issues"} 
[2026-09-05 06:54:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,197,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 06:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788571449000,"timestamp_ms":1788571449000,"timestamp_seconds":1788571449,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2a76a8"} 
[2026-09-05 06:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":768,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 06:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-05 06:54:55] 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-09-05 06:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 06:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 06:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 06:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 06:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":173984,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 06:54:55] local.INFO: GPS data processed {"connection_id":173984,"processed":0,"errors":0,"total":1} 
[2026-09-05 06:54:55] local.INFO: Acknowledgment sent {"connection_id":173984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:54:57] local.INFO: TCP Data received {"connection_id":171283,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:54:57] local.INFO: Processing buffer {"connection_id":171283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:54:57] local.INFO: IMEI packet received {"connection_id":171283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":171283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:55:02] local.INFO: TCP Data received {"connection_id":171283,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:55:02] local.INFO: Processing buffer {"connection_id":171283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:55:02] local.INFO: IMEI packet received {"connection_id":171283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":171283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:55:03] local.INFO: TCP Data received {"connection_id":171283,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a06f263ca0012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f263ca0012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:55:03] local.INFO: Processing buffer {"connection_id":171283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f263ca0012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:55:03] local.INFO: Packet analysis {"connection_id":171283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f26"} 
[2026-09-05 06:55:03] local.INFO: Extracted packet for processing {"connection_id":171283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f26"} 
[2026-09-05 06:55:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874142976001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788571172000,"timestamp_ms":1788571172000,"timestamp_seconds":1788571172,"priority":1,"record_length":96,"hex_timestamp":"000001a06f263ca0"} 
[2026-09-05 06:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:55:03] 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-09-05 06:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 06:55: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-09-05 06:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:55: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-09-05 06:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874142976001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874142976001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:55:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:55:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874142976001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":171283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:55:03] local.INFO: GPS data processed {"connection_id":171283,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:55:03] local.INFO: Acknowledgment sent {"connection_id":171283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:55:26] local.INFO: TCP Data received {"connection_id":173984,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2ac0e0012d7bb2c005bd27000003010e07..."} 
[2026-09-05 06:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2ac0e0012d7bb2c005bd27000003010e07..."} 
[2026-09-05 06:55:26] local.INFO: Processing buffer {"connection_id":173984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2ac0e0012d7bb2c005bd27000003010e07..."} 
[2026-09-05 06:55:26] local.INFO: Packet analysis {"connection_id":173984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2a"} 
[2026-09-05 06:55:26] local.INFO: Extracted packet for processing {"connection_id":173984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2a"} 
[2026-09-05 06:55:26] local.INFO: GPS Element Parsed {"raw_longitude":763081408,"raw_latitude":96282368,"longitude_deg":76.3081408,"latitude_deg":9.6282368,"altitude":3,"angle":270,"satellites":7,"speed":11,"hex_longitude":"2d7bb2c0","hex_latitude":"05bd2700","is_valid_coordinates":true} 
[2026-09-05 06:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128259749366988800,"note":"Value kept but may cause issues"} 
[2026-09-05 06:55:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,197,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 06:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788571468000,"timestamp_ms":1788571468000,"timestamp_seconds":1788571468,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2ac0e0"} 
[2026-09-05 06:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:55:26] 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-09-05 06: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 06:55:26] 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-09-05 06: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-09-05 06:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 06:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 06:55:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 06:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 06:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13906,"197":206,"85":12544,"24":11,"16":128259749366988800},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16]} 
[2026-09-05 06:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 06:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 06:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-05 06:55:26] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 06:55:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 06:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128259749366988800,"km_value":128259749366988.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:55:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13906,"unknown_197":206,"unknown_85":12544,"ignition":11,"odometer":null}} 
[2026-09-05 06:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":173984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:55:26] local.INFO: GPS data processed {"connection_id":173984,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:55:26] local.INFO: Acknowledgment sent {"connection_id":173984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:55:34] local.INFO: TCP Data received {"connection_id":171283,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2ad468012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2ad468012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:55:34] local.INFO: Processing buffer {"connection_id":171283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2ad468012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:55:34] local.INFO: Packet analysis {"connection_id":171283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2a"} 
[2026-09-05 06:55:34] local.INFO: Extracted packet for processing {"connection_id":171283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2a"} 
[2026-09-05 06:55:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874220032001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788571473000,"timestamp_ms":1788571473000,"timestamp_seconds":1788571473,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2ad468"} 
[2026-09-05 06:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:55: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-09-05 06:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-05 06:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874220032001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874220032001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:55:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:55:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874220032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":171283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:55:34] local.INFO: GPS data processed {"connection_id":171283,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:55:34] local.INFO: Acknowledgment sent {"connection_id":171283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:55:57] local.INFO: TCP Data received {"connection_id":173984,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2ba370012d7ac54005bd17080000010c07..."} 
[2026-09-05 06:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2ba370012d7ac54005bd17080000010c07..."} 
[2026-09-05 06:55:57] local.INFO: Processing buffer {"connection_id":173984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2ba370012d7ac54005bd17080000010c07..."} 
[2026-09-05 06:55:57] local.INFO: Packet analysis {"connection_id":173984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2b"} 
[2026-09-05 06:55:57] local.INFO: Extracted packet for processing {"connection_id":173984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2b"} 
[2026-09-05 06:55:57] local.INFO: GPS Element Parsed {"raw_longitude":763020608,"raw_latitude":96278280,"longitude_deg":76.3020608,"latitude_deg":9.627828,"altitude":0,"angle":268,"satellites":7,"speed":51,"hex_longitude":"2d7ac540","hex_latitude":"05bd1708","is_valid_coordinates":true} 
[2026-09-05 06:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874308608001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128262691419586560,"note":"Value kept but may cause issues"} 
[2026-09-05 06:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857806435499085824,"note":"Value kept but may cause issues"} 
[2026-09-05 06:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788571526000,"timestamp_ms":1788571526000,"timestamp_seconds":1788571526,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2ba370"} 
[2026-09-05 06:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 06:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-05 06:55:57] 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-09-05 06:55:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 06:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 06:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 06:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 06:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874308608001,"66":13830,"8":206,"85":12544,"24":51,"16":128262691419586560,"45":8857806435499085824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,85,24,16,45]} 
[2026-09-05 06:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 06:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 06:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874308608001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:55:57] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-05 06:55:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 06:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128262691419586560,"km_value":128262691419586.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857806435499085824,"description":"Unknown IO ID 45"} 
[2026-09-05 06:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874308608001,"power":13830,"unknown_8":206,"unknown_85":12544,"ignition":51,"odometer":null,"unknown_45":8857806435499085824}} 
[2026-09-05 06:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":173984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767108,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:55:57] local.INFO: GPS data processed {"connection_id":173984,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:55:57] local.INFO: Acknowledgment sent {"connection_id":173984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:56:02] local.INFO: TCP Data received {"connection_id":172684,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:56:02] local.INFO: Processing buffer {"connection_id":172684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:56:02] local.INFO: IMEI packet received {"connection_id":172684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":172684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:56:07] local.INFO: TCP Data received {"connection_id":172684,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:56:07] local.INFO: Processing buffer {"connection_id":172684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:56:07] local.INFO: IMEI packet received {"connection_id":172684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":172684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:56:08] local.INFO: TCP Data received {"connection_id":172684,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2ad468012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2ad468012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:56:08] local.INFO: Processing buffer {"connection_id":172684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2ad468012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:56:08] local.INFO: Packet analysis {"connection_id":172684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2a"} 
[2026-09-05 06:56:08] local.INFO: Extracted packet for processing {"connection_id":172684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2a"} 
[2026-09-05 06:56:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874220032001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788571473000,"timestamp_ms":1788571473000,"timestamp_seconds":1788571473,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2ad468"} 
[2026-09-05 06:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:56:08] 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-09-05 06: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-05 06:56: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-09-05 06: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-09-05 06:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874220032001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874220032001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:56:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:56:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874220032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":172684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:56:08] local.INFO: GPS data processed {"connection_id":172684,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:56:08] local.INFO: Acknowledgment sent {"connection_id":172684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:56:13] local.INFO: TCP Data received {"connection_id":172684,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2ad468012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2ad468012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:56:13] local.INFO: Processing buffer {"connection_id":172684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2ad468012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:56:13] local.INFO: Packet analysis {"connection_id":172684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2a"} 
[2026-09-05 06:56:13] local.INFO: Extracted packet for processing {"connection_id":172684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2a"} 
[2026-09-05 06:56:13] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874220032001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788571473000,"timestamp_ms":1788571473000,"timestamp_seconds":1788571473,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2ad468"} 
[2026-09-05 06:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:56:13] 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-09-05 06:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-05 06:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":172684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":172684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":172684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:56:13] 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-09-05 06:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874220032001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874220032001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:56:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:56:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874220032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":172684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:56:13] local.INFO: GPS data processed {"connection_id":172684,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:56:13] local.INFO: Acknowledgment sent {"connection_id":172684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:56:28] local.INFO: TCP Data received {"connection_id":173984,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2bbec8012d7a9e0005bd13400000010d08..."} 
[2026-09-05 06:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2bbec8012d7a9e0005bd13400000010d08..."} 
[2026-09-05 06:56:28] local.INFO: Processing buffer {"connection_id":173984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2bbec8012d7a9e0005bd13400000010d08..."} 
[2026-09-05 06:56:28] local.INFO: Packet analysis {"connection_id":173984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2b"} 
[2026-09-05 06:56:28] local.INFO: Extracted packet for processing {"connection_id":173984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2b"} 
[2026-09-05 06:56:28] local.INFO: GPS Element Parsed {"raw_longitude":763010560,"raw_latitude":96277312,"longitude_deg":76.301056,"latitude_deg":9.6277312,"altitude":0,"angle":269,"satellites":8,"speed":51,"hex_longitude":"2d7a9e00","hex_latitude":"05bd1340","is_valid_coordinates":true} 
[2026-09-05 06:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874310656001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128263176750891008,"note":"Value kept but may cause issues"} 
[2026-09-05 06:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8846547436430624768,"note":"Value kept but may cause issues"} 
[2026-09-05 06:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788571533000,"timestamp_ms":1788571533000,"timestamp_seconds":1788571533,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2bbec8"} 
[2026-09-05 06:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:56:28] 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-09-05 06:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-05 06:56:28] local.WARNING: Large IO value detected {"io_id":24,"raw_value":11259007674155008,"note":"Value kept but may cause issues"} 
[2026-09-05 06:56:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627268944128,"note":"Value kept but may cause issues"} 
[2026-09-05 06:56:28] local.WARNING: Large IO value detected {"io_id":26,"raw_value":3087084923,"note":"Value kept but may cause issues"} 
[2026-09-05 06:56:28] local.WARNING: Large IO value detected {"io_id":172,"raw_value":4093640704,"note":"Value kept but may cause issues"} 
[2026-09-05 06:56:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797928654,"corrected_to":0} 
[2026-09-05 06:56:28] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3774926246,"note":"Value kept but may cause issues"} 
[2026-09-05 06:56:28] local.WARNING: Large IO value detected {"io_id":199,"raw_value":2892955648,"note":"Value kept but may cause issues"} 
[2026-09-05 06:56:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3172995072,"note":"Value kept but may cause issues"} 
[2026-09-05 06:56:28] local.WARNING: Large IO value detected {"io_id":251,"raw_value":8647242768088827325,"note":"Value kept but may cause issues"} 
[2026-09-05 06:56:28] local.WARNING: Large IO value detected {"io_id":38,"raw_value":4611686022773145636,"note":"Value kept but may cause issues"} 
[2026-09-05 06:56:28] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,8,85,24,241,157,16,174,160,132,45,64,23,7,10,66,173,100,26,197,69,192,1,240,230,227,172,111,189,4,113,205,39,103,168,239,52,2,199,5,40,251,38],"length":528,"final_offset":658,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2797928654,"validated":0}]} 
[2026-09-05 06:56:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":294699184357376,"timestamp_seconds":294699184357.376,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 06:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 06:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 06:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 06:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 06:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874310656001,"66":13906,"8":206,"85":12544,"24":51,"16":128263176750891008,"45":8846547436430624768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,85,24,16,45]} 
[2026-09-05 06:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 06:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 06:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874310656001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:56:28] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-05 06:56:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 06:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128263176750891008,"km_value":128263176750891.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8846547436430624768,"description":"Unknown IO ID 45"} 
[2026-09-05 06:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874310656001,"power":13906,"unknown_8":206,"unknown_85":12544,"ignition":51,"odometer":null,"unknown_45":8846547436430624768}} 
[2026-09-05 06:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":173984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767111,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:56:28] local.INFO: GPS data processed {"connection_id":173984,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:56:28] local.INFO: Acknowledgment sent {"connection_id":173984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:56:37] local.INFO: TCP Data received {"connection_id":171284,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 06:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171284,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 06:56:37] local.INFO: Processing buffer {"connection_id":171284,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 06:56:37] local.INFO: IMEI packet received {"connection_id":171284,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 06:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":171284,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:56:57] local.INFO: TCP Data received {"connection_id":171580,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:56:57] local.INFO: Processing buffer {"connection_id":171580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:56:57] local.INFO: IMEI packet received {"connection_id":171580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":171580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:56:59] local.INFO: TCP Data received {"connection_id":173984,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2be1f0012d7a7a4005bd11700000010908..."} 
[2026-09-05 06:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2be1f0012d7a7a4005bd11700000010908..."} 
[2026-09-05 06:56:59] local.INFO: Processing buffer {"connection_id":173984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2be1f0012d7a7a4005bd11700000010908..."} 
[2026-09-05 06:56:59] local.INFO: Packet analysis {"connection_id":173984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2b"} 
[2026-09-05 06:56:59] local.INFO: Extracted packet for processing {"connection_id":173984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2b"} 
[2026-09-05 06:56:59] local.INFO: GPS Element Parsed {"raw_longitude":763001408,"raw_latitude":96276848,"longitude_deg":76.3001408,"latitude_deg":9.6276848,"altitude":0,"angle":265,"satellites":8,"speed":28,"hex_longitude":"2d7a7a40","hex_latitude":"05bd1170","is_valid_coordinates":true} 
[2026-09-05 06:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874312448001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128263614837555200,"note":"Value kept but may cause issues"} 
[2026-09-05 06:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835499543594483712,"note":"Value kept but may cause issues"} 
[2026-09-05 06:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788571542000,"timestamp_ms":1788571542000,"timestamp_seconds":1788571542,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2be1f0"} 
[2026-09-05 06:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:56:59] 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-09-05 06:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-05 06:56:59] 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-09-05 06:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 06:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 06:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 06:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 06:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874312448001,"66":13798,"8":206,"85":12544,"24":28,"16":128263614837555200,"45":8835499543594483712},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,85,24,16,45]} 
[2026-09-05 06:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 06:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 06:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874312448001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:56:59] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-05 06:56:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 06:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128263614837555200,"km_value":128263614837555.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835499543594483712,"description":"Unknown IO ID 45"} 
[2026-09-05 06:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874312448001,"power":13798,"unknown_8":206,"unknown_85":12544,"ignition":28,"odometer":null,"unknown_45":8835499543594483712}} 
[2026-09-05 06:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":173984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767112,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:56:59] local.INFO: GPS data processed {"connection_id":173984,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:56:59] local.INFO: Acknowledgment sent {"connection_id":173984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:57:02] local.INFO: TCP Data received {"connection_id":171580,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:57:02] local.INFO: Processing buffer {"connection_id":171580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:57:02] local.INFO: IMEI packet received {"connection_id":171580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":171580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:57:03] local.INFO: TCP Data received {"connection_id":171580,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2ad468012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2ad468012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:57:03] local.INFO: Processing buffer {"connection_id":171580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2ad468012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:57:03] local.INFO: Packet analysis {"connection_id":171580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2a"} 
[2026-09-05 06:57:03] local.INFO: Extracted packet for processing {"connection_id":171580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2a"} 
[2026-09-05 06:57:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874220032001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788571473000,"timestamp_ms":1788571473000,"timestamp_seconds":1788571473,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2ad468"} 
[2026-09-05 06:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:57:03] 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-09-05 06: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":129,"data_length":795,"current_offset":136} 
[2026-09-05 06:57: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-09-05 06: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-09-05 06:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06: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-09-05 06:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874220032001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874220032001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:57:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:57:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874220032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":171580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:57:03] local.INFO: GPS data processed {"connection_id":171580,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:57:03] local.INFO: Acknowledgment sent {"connection_id":171580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:57:26] local.INFO: TCP Data received {"connection_id":173986,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:57:26] local.INFO: Processing buffer {"connection_id":173986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:57:26] local.INFO: IMEI packet received {"connection_id":173986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 06:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":173986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:57:28] local.INFO: TCP Data received {"connection_id":173986,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:57:28] local.INFO: Processing buffer {"connection_id":173986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:57:28] local.INFO: IMEI packet received {"connection_id":173986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 06:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":173986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:57:30] local.INFO: TCP Data received {"connection_id":173986,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:57:30] local.INFO: Processing buffer {"connection_id":173986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:57:30] local.INFO: IMEI packet received {"connection_id":173986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 06:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":173986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:57:31] local.INFO: TCP Data received {"connection_id":173986,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2d1688012d7a5f8005bdabe0000001640a..."} 
[2026-09-05 06:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2d1688012d7a5f8005bdabe0000001640a..."} 
[2026-09-05 06:57:31] local.INFO: Processing buffer {"connection_id":173986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2d1688012d7a5f8005bdabe0000001640a..."} 
[2026-09-05 06:57:31] local.INFO: Packet analysis {"connection_id":173986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2d"} 
[2026-09-05 06:57:31] local.INFO: Extracted packet for processing {"connection_id":173986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2d"} 
[2026-09-05 06:57:31] local.INFO: GPS Element Parsed {"raw_longitude":762994560,"raw_latitude":96316384,"longitude_deg":76.299456,"latitude_deg":9.6316384,"altitude":0,"angle":356,"satellites":10,"speed":47,"hex_longitude":"2d7a5f80","hex_latitude":"05bdabe0","is_valid_coordinates":true} 
[2026-09-05 06:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874332928001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128265792385974272,"note":"Value kept but may cause issues"} 
[2026-09-05 06:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818399938766848000,"note":"Value kept but may cause issues"} 
[2026-09-05 06:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788571621000,"timestamp_ms":1788571621000,"timestamp_seconds":1788571621,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2d1688"} 
[2026-09-05 06:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:57:31] 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-09-05 06:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 06:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 06:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 06:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 06:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 06:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874332928001,"66":13852,"7":206,"85":12544,"24":47,"16":128265792385974272,"45":8818399938766848000},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-09-05 06:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 06:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 06:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874332928001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:57:31] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-09-05 06:57:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 06:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128265792385974272,"km_value":128265792385974.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818399938766848000,"description":"Unknown IO ID 45"} 
[2026-09-05 06:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874332928001,"power":13852,"unknown_7":206,"unknown_85":12544,"ignition":47,"odometer":null,"unknown_45":8818399938766848000}} 
[2026-09-05 06:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":173986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767114,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:57:31] local.INFO: GPS data processed {"connection_id":173986,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:57:31] local.INFO: Acknowledgment sent {"connection_id":173986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:57:34] local.INFO: TCP Data received {"connection_id":171580,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2ad468012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2ad468012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:57:34] local.INFO: Processing buffer {"connection_id":171580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2ad468012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:57:34] local.INFO: Packet analysis {"connection_id":171580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2a"} 
[2026-09-05 06:57:34] local.INFO: Extracted packet for processing {"connection_id":171580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2a"} 
[2026-09-05 06:57:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874220032001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788571473000,"timestamp_ms":1788571473000,"timestamp_seconds":1788571473,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2ad468"} 
[2026-09-05 06:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:57: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-09-05 06: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":129,"data_length":795,"current_offset":136} 
[2026-09-05 06:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874220032001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874220032001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:57:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:57:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874220032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":171580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:57:34] local.INFO: GPS data processed {"connection_id":171580,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:57:34] local.INFO: Acknowledgment sent {"connection_id":171580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:57:36] local.INFO: TCP Data received {"connection_id":173986,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2d35c8012d7a5c8005bdd0b8000001620b..."} 
[2026-09-05 06:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2d35c8012d7a5c8005bdd0b8000001620b..."} 
[2026-09-05 06:57:36] local.INFO: Processing buffer {"connection_id":173986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2d35c8012d7a5c8005bdd0b8000001620b..."} 
[2026-09-05 06:57:36] local.INFO: Packet analysis {"connection_id":173986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2d"} 
[2026-09-05 06:57:36] local.INFO: Extracted packet for processing {"connection_id":173986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2d"} 
[2026-09-05 06:57:36] local.INFO: GPS Element Parsed {"raw_longitude":762993792,"raw_latitude":96325816,"longitude_deg":76.2993792,"latitude_deg":9.6325816,"altitude":0,"angle":354,"satellites":11,"speed":46,"hex_longitude":"2d7a5c80","hex_latitude":"05bdd0b8","is_valid_coordinates":true} 
[2026-09-05 06:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874334976001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128266247652507648,"note":"Value kept but may cause issues"} 
[2026-09-05 06:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817907357560070144,"note":"Value kept but may cause issues"} 
[2026-09-05 06:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788571629000,"timestamp_ms":1788571629000,"timestamp_seconds":1788571629,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2d35c8"} 
[2026-09-05 06:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:57:36] 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-09-05 06:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-05 06:57:36] 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-09-05 06:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 06:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 06:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 06:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 06:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874334976001,"66":13928,"7":206,"85":12544,"24":46,"16":128266247652507648,"45":8817907357560070144},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-09-05 06:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 06:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 06:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874334976001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:57:36] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-09-05 06:57:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 06:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128266247652507648,"km_value":128266247652507.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817907357560070144,"description":"Unknown IO ID 45"} 
[2026-09-05 06:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874334976001,"power":13928,"unknown_7":206,"unknown_85":12544,"ignition":46,"odometer":null,"unknown_45":8817907357560070144}} 
[2026-09-05 06:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":173986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:57:36] local.INFO: GPS data processed {"connection_id":173986,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:57:36] local.INFO: Acknowledgment sent {"connection_id":173986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:57:57] local.INFO: TCP Data received {"connection_id":172685,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:57:57] local.INFO: Processing buffer {"connection_id":172685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:57:57] local.INFO: IMEI packet received {"connection_id":172685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":172685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:58:02] local.INFO: TCP Data received {"connection_id":172685,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:58:02] local.INFO: Processing buffer {"connection_id":172685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:58:02] local.INFO: IMEI packet received {"connection_id":172685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":172685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:58:03] local.INFO: TCP Data received {"connection_id":172685,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2ad468012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2ad468012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:58:03] local.INFO: Processing buffer {"connection_id":172685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2ad468012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:58:03] local.INFO: Packet analysis {"connection_id":172685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2a"} 
[2026-09-05 06:58:03] local.INFO: Extracted packet for processing {"connection_id":172685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2a"} 
[2026-09-05 06:58:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874220032001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788571473000,"timestamp_ms":1788571473000,"timestamp_seconds":1788571473,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2ad468"} 
[2026-09-05 06:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:58:03] 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-09-05 06: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":129,"data_length":795,"current_offset":136} 
[2026-09-05 06:58: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-09-05 06: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-09-05 06:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:58: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-09-05 06:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874220032001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874220032001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:58:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:58:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874220032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":172685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:58:03] local.INFO: GPS data processed {"connection_id":172685,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:58:03] local.INFO: Acknowledgment sent {"connection_id":172685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:58:07] local.INFO: TCP Data received {"connection_id":173986,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2d5508012d7a580005bdf4400000015d0c..."} 
[2026-09-05 06:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2d5508012d7a580005bdf4400000015d0c..."} 
[2026-09-05 06:58:07] local.INFO: Processing buffer {"connection_id":173986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2d5508012d7a580005bdf4400000015d0c..."} 
[2026-09-05 06:58:07] local.INFO: Packet analysis {"connection_id":173986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2d"} 
[2026-09-05 06:58:07] local.INFO: Extracted packet for processing {"connection_id":173986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2d"} 
[2026-09-05 06:58:07] local.INFO: GPS Element Parsed {"raw_longitude":762992640,"raw_latitude":96334912,"longitude_deg":76.299264,"latitude_deg":9.6334912,"altitude":0,"angle":349,"satellites":12,"speed":43,"hex_longitude":"2d7a5800","hex_latitude":"05bdf440","is_valid_coordinates":true} 
[2026-09-05 06:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 06:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874337024001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128266694329106432,"note":"Value kept but may cause issues"} 
[2026-09-05 06:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817062932632352768,"note":"Value kept but may cause issues"} 
[2026-09-05 06:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788571637000,"timestamp_ms":1788571637000,"timestamp_seconds":1788571637,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2d5508"} 
[2026-09-05 06:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:58: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-09-05 06:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-05 06:58:07] 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-09-05 06:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 06:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 06:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 06:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 06:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874337024001,"66":13820,"7":206,"85":12544,"24":43,"16":128266694329106432,"45":8817062932632352768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-09-05 06:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 06:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 06:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874337024001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:58:07] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-09-05 06:58:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 06:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128266694329106432,"km_value":128266694329106.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817062932632352768,"description":"Unknown IO ID 45"} 
[2026-09-05 06:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874337024001,"power":13820,"unknown_7":206,"unknown_85":12544,"ignition":43,"odometer":null,"unknown_45":8817062932632352768}} 
[2026-09-05 06:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":173986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:58:07] local.INFO: GPS data processed {"connection_id":173986,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:58:07] local.INFO: Acknowledgment sent {"connection_id":173986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:58:35] local.INFO: TCP Data received {"connection_id":172685,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2ad468012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2ad468012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:58:35] local.INFO: Processing buffer {"connection_id":172685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2ad468012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:58:35] local.INFO: Packet analysis {"connection_id":172685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2a"} 
[2026-09-05 06:58:35] local.INFO: Extracted packet for processing {"connection_id":172685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2a"} 
[2026-09-05 06:58:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874220032001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788571473000,"timestamp_ms":1788571473000,"timestamp_seconds":1788571473,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2ad468"} 
[2026-09-05 06:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:58:35] 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-09-05 06: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":129,"data_length":795,"current_offset":136} 
[2026-09-05 06:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:58: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-09-05 06:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874220032001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874220032001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:58:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:58:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874220032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":172685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:58:35] local.INFO: GPS data processed {"connection_id":172685,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:58:35] local.INFO: Acknowledgment sent {"connection_id":172685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:58:38] local.INFO: TCP Data received {"connection_id":173986,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2d7448012d7a50c005be17700001015c0b..."} 
[2026-09-05 06:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2d7448012d7a50c005be17700001015c0b..."} 
[2026-09-05 06:58:38] local.INFO: Processing buffer {"connection_id":173986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2d7448012d7a50c005be17700001015c0b..."} 
[2026-09-05 06:58:38] local.INFO: Packet analysis {"connection_id":173986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2d"} 
[2026-09-05 06:58:38] local.INFO: Extracted packet for processing {"connection_id":173986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2d"} 
[2026-09-05 06:58:38] local.INFO: GPS Element Parsed {"raw_longitude":762990784,"raw_latitude":96343920,"longitude_deg":76.2990784,"latitude_deg":9.634392,"altitude":1,"angle":348,"satellites":11,"speed":44,"hex_longitude":"2d7a50c0","hex_latitude":"05be1770","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874339072001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128267141005705216,"note":"Value kept but may cause issues"} 
[2026-09-05 06:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815796295239483392,"note":"Value kept but may cause issues"} 
[2026-09-05 06:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788571645000,"timestamp_ms":1788571645000,"timestamp_seconds":1788571645,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2d7448"} 
[2026-09-05 06:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 06: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-05 06:58: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-09-05 06: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-09-05 06:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 06:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 06:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 06:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 06:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874339072001,"66":13526,"7":206,"85":12544,"24":44,"16":128267141005705216,"45":8815796295239483392},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-09-05 06:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 06:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 06:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874339072001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:58:38] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-09-05 06:58:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 06:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128267141005705216,"km_value":128267141005705.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815796295239483392,"description":"Unknown IO ID 45"} 
[2026-09-05 06:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874339072001,"power":13526,"unknown_7":206,"unknown_85":12544,"ignition":44,"odometer":null,"unknown_45":8815796295239483392}} 
[2026-09-05 06:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":173986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767120,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:58:38] local.INFO: GPS data processed {"connection_id":173986,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:58:38] local.INFO: Acknowledgment sent {"connection_id":173986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:58:57] local.INFO: TCP Data received {"connection_id":172686,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:58:57] local.INFO: Processing buffer {"connection_id":172686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:58:57] local.INFO: IMEI packet received {"connection_id":172686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":172686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:59:02] local.INFO: TCP Data received {"connection_id":172686,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:59:02] local.INFO: Processing buffer {"connection_id":172686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:59:02] local.INFO: IMEI packet received {"connection_id":172686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 06:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":172686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:59:03] local.INFO: TCP Data received {"connection_id":172686,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2ad468012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2ad468012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:59:03] local.INFO: Processing buffer {"connection_id":172686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2ad468012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:59:03] local.INFO: Packet analysis {"connection_id":172686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2a"} 
[2026-09-05 06:59:03] local.INFO: Extracted packet for processing {"connection_id":172686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2a"} 
[2026-09-05 06:59:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874220032001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788571473000,"timestamp_ms":1788571473000,"timestamp_seconds":1788571473,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2ad468"} 
[2026-09-05 06:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:59:03] 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-09-05 06: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":129,"data_length":795,"current_offset":136} 
[2026-09-05 06:59: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-09-05 06: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-09-05 06:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874220032001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874220032001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:59:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:59:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874220032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":172686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:59:03] local.INFO: GPS data processed {"connection_id":172686,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:59:03] local.INFO: Acknowledgment sent {"connection_id":172686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:59:09] local.INFO: TCP Data received {"connection_id":173986,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2ecff0012d7a3a8005bf41c80000002d0d..."} 
[2026-09-05 06:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2ecff0012d7a3a8005bf41c80000002d0d..."} 
[2026-09-05 06:59:09] local.INFO: Processing buffer {"connection_id":173986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2ecff0012d7a3a8005bf41c80000002d0d..."} 
[2026-09-05 06:59:09] local.INFO: Packet analysis {"connection_id":173986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2e"} 
[2026-09-05 06:59:09] local.INFO: Extracted packet for processing {"connection_id":173986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2e"} 
[2026-09-05 06:59:09] local.INFO: GPS Element Parsed {"raw_longitude":762985088,"raw_latitude":96420296,"longitude_deg":76.2985088,"latitude_deg":9.6420296,"altitude":0,"angle":45,"satellites":13,"speed":7,"hex_longitude":"2d7a3a80","hex_latitude":"05bf41c8","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874363648001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807281677215819776,"note":"Value kept but may cause issues"} 
[2026-09-05 06:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128270886217187328,"note":"Value kept but may cause issues"} 
[2026-09-05 06:59:09] 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-09-05 06:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788571734000,"timestamp_ms":1788571734000,"timestamp_seconds":1788571734,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2ecff0"} 
[2026-09-05 06:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:59:09] 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-09-05 06: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-05 06:59:09] 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-09-05 06: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-09-05 06:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 06:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 06:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 06:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 06:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874363648001,"66":13798,"45":8807281677215819776,"85":12288,"24":7,"16":128270886217187328},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-05 06:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 06:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 06:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874363648001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807281677215819776,"description":"Unknown IO ID 45"} 
[2026-09-05 06:59:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 06:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128270886217187328,"km_value":128270886217187.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:59:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457874363648001,"power":13798,"unknown_45":8807281677215819776,"unknown_85":12288,"ignition":7,"odometer":null}} 
[2026-09-05 06:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":173986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:59:09] local.INFO: GPS data processed {"connection_id":173986,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:59:09] local.INFO: Acknowledgment sent {"connection_id":173986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:59:25] local.INFO: TCP Data received {"connection_id":172687,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:59:25] local.INFO: Processing buffer {"connection_id":172687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:59:25] local.INFO: IMEI packet received {"connection_id":172687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 06:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":172687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 06:59:29] local.INFO: TCP Data received {"connection_id":172687,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:59:29] local.INFO: Processing buffer {"connection_id":172687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:59:29] local.INFO: IMEI packet received {"connection_id":172687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 06:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":172687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:59:30] local.INFO: TCP Data received {"connection_id":172687,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:59:30] local.INFO: Processing buffer {"connection_id":172687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 06:59:30] local.INFO: IMEI packet received {"connection_id":172687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 06:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":172687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 06:59:31] local.INFO: TCP Data received {"connection_id":172687,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2ed3d8012d7a3b4005bf41c0000000520d..."} 
[2026-09-05 06:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2ed3d8012d7a3b4005bf41c0000000520d..."} 
[2026-09-05 06:59:31] local.INFO: Processing buffer {"connection_id":172687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2ed3d8012d7a3b4005bf41c0000000520d..."} 
[2026-09-05 06:59:31] local.INFO: Packet analysis {"connection_id":172687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2e"} 
[2026-09-05 06:59:31] local.INFO: Extracted packet for processing {"connection_id":172687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2e"} 
[2026-09-05 06:59:31] local.INFO: GPS Element Parsed {"raw_longitude":762985280,"raw_latitude":96420288,"longitude_deg":76.298528,"latitude_deg":9.6420288,"altitude":0,"angle":82,"satellites":13,"speed":7,"hex_longitude":"2d7a3b40","hex_latitude":"05bf41c0","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874363904001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807492783448377344,"note":"Value kept but may cause issues"} 
[2026-09-05 06:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128270899102089216,"note":"Value kept but may cause issues"} 
[2026-09-05 06:59: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-09-05 06:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788571735000,"timestamp_ms":1788571735000,"timestamp_seconds":1788571735,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2ed3d8"} 
[2026-09-05 06:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:59:31] 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-09-05 06: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 06:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06: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-09-05 06:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 06:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 06:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 06:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 06:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874363904001,"66":13798,"45":8807492783448377344,"85":12288,"24":7,"16":128270899102089216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-05 06:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 06:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 06:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874363904001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807492783448377344,"description":"Unknown IO ID 45"} 
[2026-09-05 06:59:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 06:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128270899102089216,"km_value":128270899102089.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:59:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457874363904001,"power":13798,"unknown_45":8807492783448377344,"unknown_85":12288,"ignition":7,"odometer":null}} 
[2026-09-05 06:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":172687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767123,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:59:31] local.INFO: GPS data processed {"connection_id":172687,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:59:31] local.INFO: Acknowledgment sent {"connection_id":172687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:59:35] local.INFO: TCP Data received {"connection_id":172686,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2ad468012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2ad468012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:59:35] local.INFO: Processing buffer {"connection_id":172686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2ad468012d34c9c006aa3d280009008021..."} 
[2026-09-05 06:59:35] local.INFO: Packet analysis {"connection_id":172686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2a"} 
[2026-09-05 06:59:35] local.INFO: Extracted packet for processing {"connection_id":172686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2a"} 
[2026-09-05 06:59:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 06: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-09-05 06:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874220032001,"note":"Value kept but may cause issues"} 
[2026-09-05 06:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 06:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 06:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 06:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788571473000,"timestamp_ms":1788571473000,"timestamp_seconds":1788571473,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2ad468"} 
[2026-09-05 06:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 06:59:35] 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-09-05 06: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-05 06:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 06:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 06:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 06:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 06:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 06:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 06:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 06:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 06:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 06:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874220032001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 06:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 06:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 06:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874220032001,"description":"Unknown IO ID 0"} 
[2026-09-05 06:59:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 06:59:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 06:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 06:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 06:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874220032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 06:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":172686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 06:59:35] local.INFO: GPS data processed {"connection_id":172686,"processed":1,"errors":0,"total":1} 
[2026-09-05 06:59:35] local.INFO: Acknowledgment sent {"connection_id":172686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 06:59:57] local.INFO: TCP Data received {"connection_id":171581,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:59:57] local.INFO: Processing buffer {"connection_id":171581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 06:59:57] local.INFO: IMEI packet received {"connection_id":171581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 06:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":171581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:00:02] local.INFO: TCP Data received {"connection_id":172687,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2edba8012d7a3e0005bf41880001005f0d..."} 
[2026-09-05 07:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2edba8012d7a3e0005bf41880001005f0d..."} 
[2026-09-05 07:00:02] local.INFO: Processing buffer {"connection_id":172687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2edba8012d7a3e0005bf41880001005f0d..."} 
[2026-09-05 07:00:02] local.INFO: Packet analysis {"connection_id":172687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2e"} 
[2026-09-05 07:00:02] local.INFO: Extracted packet for processing {"connection_id":172687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2e"} 
[2026-09-05 07:00:02] local.INFO: GPS Element Parsed {"raw_longitude":762985984,"raw_latitude":96420232,"longitude_deg":76.2985984,"latitude_deg":9.6420232,"altitude":1,"angle":95,"satellites":13,"speed":13,"hex_longitude":"2d7a3e00","hex_latitude":"05bf4188","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874364160001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807703889680908288,"note":"Value kept but may cause issues"} 
[2026-09-05 07:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128270933461827584,"note":"Value kept but may cause issues"} 
[2026-09-05 07:00:02] 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-09-05 07:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788571737000,"timestamp_ms":1788571737000,"timestamp_seconds":1788571737,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2edba8"} 
[2026-09-05 07:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:00:02] 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-09-05 07: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 07:00: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-09-05 07: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-09-05 07:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874364160001,"66":13906,"45":8807703889680908288,"85":12288,"24":13,"16":128270933461827584},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-05 07:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874364160001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807703889680908288,"description":"Unknown IO ID 45"} 
[2026-09-05 07:00:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128270933461827584,"km_value":128270933461827.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:00:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457874364160001,"power":13906,"unknown_45":8807703889680908288,"unknown_85":12288,"ignition":13,"odometer":null}} 
[2026-09-05 07:00:02] local.INFO: TCP Data received {"connection_id":171581,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:00:02] local.INFO: Processing buffer {"connection_id":171581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:00:02] local.INFO: IMEI packet received {"connection_id":171581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":171581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":172687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:00:02] local.INFO: GPS data processed {"connection_id":172687,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:00:02] local.INFO: Acknowledgment sent {"connection_id":172687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:00:03] local.INFO: TCP Data received {"connection_id":171581,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2ad468012d34c9c006aa3d280009008021..."} 
[2026-09-05 07:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2ad468012d34c9c006aa3d280009008021..."} 
[2026-09-05 07:00:03] local.INFO: Processing buffer {"connection_id":171581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2ad468012d34c9c006aa3d280009008021..."} 
[2026-09-05 07:00:03] local.INFO: Packet analysis {"connection_id":171581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2a"} 
[2026-09-05 07:00:03] local.INFO: Extracted packet for processing {"connection_id":171581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2a"} 
[2026-09-05 07:00:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874220032001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788571473000,"timestamp_ms":1788571473000,"timestamp_seconds":1788571473,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2ad468"} 
[2026-09-05 07:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:00:03] 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-09-05 07: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":129,"data_length":795,"current_offset":136} 
[2026-09-05 07:00: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-09-05 07: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-09-05 07:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:00: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-09-05 07:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874220032001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874220032001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:00:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:00:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874220032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":171581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:00:03] local.INFO: GPS data processed {"connection_id":171581,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:00:03] local.INFO: Acknowledgment sent {"connection_id":171581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:00:25] local.INFO: TCP Data received {"connection_id":173987,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173987,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:00:25] local.INFO: Processing buffer {"connection_id":173987,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:00:25] local.INFO: IMEI packet received {"connection_id":173987,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":173987,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:00:31] local.INFO: TCP Data received {"connection_id":173987,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173987,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:00:31] local.INFO: Processing buffer {"connection_id":173987,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:00:31] local.INFO: IMEI packet received {"connection_id":173987,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":173987,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:00:31] local.INFO: TCP Data received {"connection_id":173987,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2f0e70012d7a634005bf4120000600590c..."} 
[2026-09-05 07:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2f0e70012d7a634005bf4120000600590c..."} 
[2026-09-05 07:00:31] local.INFO: Processing buffer {"connection_id":173987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2f0e70012d7a634005bf4120000600590c..."} 
[2026-09-05 07:00:31] local.INFO: Packet analysis {"connection_id":173987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2f"} 
[2026-09-05 07:00:31] local.INFO: Extracted packet for processing {"connection_id":173987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2f"} 
[2026-09-05 07:00:31] local.INFO: GPS Element Parsed {"raw_longitude":762995520,"raw_latitude":96420128,"longitude_deg":76.299552,"latitude_deg":9.6420128,"altitude":6,"angle":89,"satellites":12,"speed":35,"hex_longitude":"2d7a6340","hex_latitude":"05bf4120","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874364672001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808477945866848256,"note":"Value kept but may cause issues"} 
[2026-09-05 07:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128271388728360960,"note":"Value kept but may cause issues"} 
[2026-09-05 07:00: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-09-05 07:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788571750000,"timestamp_ms":1788571750000,"timestamp_seconds":1788571750,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2f0e70"} 
[2026-09-05 07:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:00:31] 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-09-05 07: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-05 07:00: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-09-05 07: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-09-05 07:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173987,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173987,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874364672001,"66":13472,"45":8808477945866848256,"85":12288,"24":35,"16":128271388728360960},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-05 07:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874364672001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808477945866848256,"description":"Unknown IO ID 45"} 
[2026-09-05 07:00:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128271388728360960,"km_value":128271388728360.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:00:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457874364672001,"power":13472,"unknown_45":8808477945866848256,"unknown_85":12288,"ignition":35,"odometer":null}} 
[2026-09-05 07:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":173987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767127,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:00:32] local.INFO: GPS data processed {"connection_id":173987,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:00:32] local.INFO: Acknowledgment sent {"connection_id":173987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:00:34] local.INFO: TCP Data received {"connection_id":171581,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2f6c30012d34c9c006aa3d280009008024..."} 
[2026-09-05 07:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2f6c30012d34c9c006aa3d280009008024..."} 
[2026-09-05 07:00:34] local.INFO: Processing buffer {"connection_id":171581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2f6c30012d34c9c006aa3d280009008024..."} 
[2026-09-05 07:00:34] local.INFO: Packet analysis {"connection_id":171581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2f"} 
[2026-09-05 07:00:34] local.INFO: Extracted packet for processing {"connection_id":171581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2f"} 
[2026-09-05 07:00:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874297088001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788571774000,"timestamp_ms":1788571774000,"timestamp_seconds":1788571774,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2f6c30"} 
[2026-09-05 07:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:00: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-09-05 07:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-05 07:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:00: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-09-05 07:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874297088001,"66":25462,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874297088001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:00:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:00:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874297088001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":171581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:00:34] local.INFO: GPS data processed {"connection_id":171581,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:00:34] local.INFO: Acknowledgment sent {"connection_id":171581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:00:57] local.INFO: TCP Data received {"connection_id":173988,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:00:57] local.INFO: Processing buffer {"connection_id":173988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:00:57] local.INFO: IMEI packet received {"connection_id":173988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":173988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:01:02] local.INFO: TCP Data received {"connection_id":173988,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:01:02] local.INFO: Processing buffer {"connection_id":173988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:01:02] local.INFO: IMEI packet received {"connection_id":173988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":173988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:01:03] local.INFO: TCP Data received {"connection_id":173987,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2f3198012d7a88c005bf41600007005a0c..."} 
[2026-09-05 07:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2f3198012d7a88c005bf41600007005a0c..."} 
[2026-09-05 07:01:03] local.INFO: Processing buffer {"connection_id":173987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2f3198012d7a88c005bf41600007005a0c..."} 
[2026-09-05 07:01:03] local.INFO: Packet analysis {"connection_id":173987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2f"} 
[2026-09-05 07:01:03] local.INFO: Extracted packet for processing {"connection_id":173987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2f"} 
[2026-09-05 07:01:03] local.INFO: GPS Element Parsed {"raw_longitude":763005120,"raw_latitude":96420192,"longitude_deg":76.300512,"latitude_deg":9.6420192,"altitude":7,"angle":90,"satellites":12,"speed":47,"hex_longitude":"2d7a88c0","hex_latitude":"05bf4160","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874368000001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818962888749293568,"note":"Value kept but may cause issues"} 
[2026-09-05 07:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128271848289861632,"note":"Value kept but may cause issues"} 
[2026-09-05 07:01:03] 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-09-05 07:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788571759000,"timestamp_ms":1788571759000,"timestamp_seconds":1788571759,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2f3198"} 
[2026-09-05 07:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:01: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-09-05 07:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-05 07:01: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-09-05 07: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-09-05 07:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173987,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173987,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874368000001,"66":13820,"45":8818962888749293568,"85":12288,"24":47,"16":128271848289861632},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-05 07:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874368000001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818962888749293568,"description":"Unknown IO ID 45"} 
[2026-09-05 07:01:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128271848289861632,"km_value":128271848289861.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:01:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457874368000001,"power":13820,"unknown_45":8818962888749293568,"unknown_85":12288,"ignition":47,"odometer":null}} 
[2026-09-05 07:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":173987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767129,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:01:03] local.INFO: GPS data processed {"connection_id":173987,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:01:03] local.INFO: Acknowledgment sent {"connection_id":173987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:01:03] local.INFO: TCP Data received {"connection_id":173988,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2f6c30012d34c9c006aa3d280009008024..."} 
[2026-09-05 07:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2f6c30012d34c9c006aa3d280009008024..."} 
[2026-09-05 07:01:03] local.INFO: Processing buffer {"connection_id":173988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2f6c30012d34c9c006aa3d280009008024..."} 
[2026-09-05 07:01:03] local.INFO: Packet analysis {"connection_id":173988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2f"} 
[2026-09-05 07:01:03] local.INFO: Extracted packet for processing {"connection_id":173988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2f"} 
[2026-09-05 07:01:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874297088001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788571774000,"timestamp_ms":1788571774000,"timestamp_seconds":1788571774,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2f6c30"} 
[2026-09-05 07:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:01:03] 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-09-05 07: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":129,"data_length":795,"current_offset":136} 
[2026-09-05 07:01: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-09-05 07: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-09-05 07:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:01: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-09-05 07:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874297088001,"66":25462,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874297088001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:01:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:01:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874297088001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":173988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:01:03] local.INFO: GPS data processed {"connection_id":173988,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:01:03] local.INFO: Acknowledgment sent {"connection_id":173988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:01:35] local.INFO: TCP Data received {"connection_id":173988,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2f6c30012d34c9c006aa3d280009008024..."} 
[2026-09-05 07:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2f6c30012d34c9c006aa3d280009008024..."} 
[2026-09-05 07:01:35] local.INFO: Processing buffer {"connection_id":173988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2f6c30012d34c9c006aa3d280009008024..."} 
[2026-09-05 07:01:35] local.INFO: Packet analysis {"connection_id":173988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2f"} 
[2026-09-05 07:01:35] local.INFO: Extracted packet for processing {"connection_id":173988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2f"} 
[2026-09-05 07:01:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874297088001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788571774000,"timestamp_ms":1788571774000,"timestamp_seconds":1788571774,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2f6c30"} 
[2026-09-05 07:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:01:35] 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-09-05 07: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-05 07:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:01:35] 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-09-05 07:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874297088001,"66":25462,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874297088001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:01:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:01:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874297088001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":173988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:01:35] local.INFO: GPS data processed {"connection_id":173988,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:01:35] local.INFO: Acknowledgment sent {"connection_id":173988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:01:57] local.INFO: TCP Data received {"connection_id":171582,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:01:57] local.INFO: Processing buffer {"connection_id":171582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:01:57] local.INFO: IMEI packet received {"connection_id":171582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":171582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:02:00] local.INFO: TCP Data received {"connection_id":171583,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171583,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:02:00] local.INFO: Processing buffer {"connection_id":171583,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:02:00] local.INFO: IMEI packet received {"connection_id":171583,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":171583,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:02:02] local.INFO: TCP Data received {"connection_id":171582,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:02:02] local.INFO: Processing buffer {"connection_id":171582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:02:02] local.INFO: IMEI packet received {"connection_id":171582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":171582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:02:04] local.INFO: TCP Data received {"connection_id":171582,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2f6c30012d34c9c006aa3d280009008024..."} 
[2026-09-05 07:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2f6c30012d34c9c006aa3d280009008024..."} 
[2026-09-05 07:02:04] local.INFO: Processing buffer {"connection_id":171582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2f6c30012d34c9c006aa3d280009008024..."} 
[2026-09-05 07:02:04] local.INFO: Packet analysis {"connection_id":171582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2f"} 
[2026-09-05 07:02:04] local.INFO: Extracted packet for processing {"connection_id":171582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2f"} 
[2026-09-05 07:02:04] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 07:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874297088001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788571774000,"timestamp_ms":1788571774000,"timestamp_seconds":1788571774,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2f6c30"} 
[2026-09-05 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-09-05 07:02: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-09-05 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":129,"data_length":795,"current_offset":136} 
[2026-09-05 07: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-09-05 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-09-05 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-09-05 07:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:02: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-09-05 07:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874297088001,"66":25462,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874297088001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:02:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:02:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874297088001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":171582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:02:04] local.INFO: GPS data processed {"connection_id":171582,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:02:04] local.INFO: Acknowledgment sent {"connection_id":171582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:02:06] local.INFO: TCP Data received {"connection_id":171583,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171583,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:02:06] local.INFO: Processing buffer {"connection_id":171583,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:02:06] local.INFO: IMEI packet received {"connection_id":171583,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":171583,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:02:07] local.INFO: TCP Data received {"connection_id":171583,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f30e330012d7c068005bf75f8000f004c0f..."} 
[2026-09-05 07:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f30e330012d7c068005bf75f8000f004c0f..."} 
[2026-09-05 07:02:07] local.INFO: Processing buffer {"connection_id":171583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f30e330012d7c068005bf75f8000f004c0f..."} 
[2026-09-05 07:02:07] local.INFO: Packet analysis {"connection_id":171583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f30"} 
[2026-09-05 07:02:07] local.INFO: Extracted packet for processing {"connection_id":171583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f30"} 
[2026-09-05 07:02:07] local.INFO: GPS Element Parsed {"raw_longitude":763102848,"raw_latitude":96433656,"longitude_deg":76.3102848,"latitude_deg":9.6433656,"altitude":15,"angle":76,"satellites":15,"speed":44,"hex_longitude":"2d7c0680","hex_latitude":"05bf75f8","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874396416001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128276607113625600,"note":"Value kept but may cause issues"} 
[2026-09-05 07:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926697436088250368,"note":"Value kept but may cause issues"} 
[2026-09-05 07:02:07] 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-09-05 07:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788571870000,"timestamp_ms":1788571870000,"timestamp_seconds":1788571870,"priority":1,"record_length":96,"hex_timestamp":"000001a06f30e330"} 
[2026-09-05 07:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07: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":104,"data_length":795,"current_offset":136} 
[2026-09-05 07:02:07] 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-09-05 07: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-09-05 07:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874396416001,"66":13852,"109":206,"85":12288,"24":44,"16":128276607113625600,"45":8926697436088250368},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-05 07:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874396416001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:02:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-05 07:02:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128276607113625600,"km_value":128276607113625.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926697436088250368,"description":"Unknown IO ID 45"} 
[2026-09-05 07:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874396416001,"power":13852,"unknown_109":206,"unknown_85":12288,"ignition":44,"odometer":null,"unknown_45":8926697436088250368}} 
[2026-09-05 07:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":171583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767133,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:02:07] local.INFO: GPS data processed {"connection_id":171583,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:02:07] local.INFO: Acknowledgment sent {"connection_id":171583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:02:11] local.INFO: TCP Data received {"connection_id":171285,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171285,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:02:11] local.INFO: Processing buffer {"connection_id":171285,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:02:11] local.INFO: IMEI packet received {"connection_id":171285,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 07:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":171285,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:02:30] local.INFO: TCP Data received {"connection_id":171286,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:02:30] local.INFO: Processing buffer {"connection_id":171286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:02:30] local.INFO: IMEI packet received {"connection_id":171286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":171286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:02:35] local.INFO: TCP Data received {"connection_id":171582,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2f6c30012d34c9c006aa3d280009008024..."} 
[2026-09-05 07:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2f6c30012d34c9c006aa3d280009008024..."} 
[2026-09-05 07:02:35] local.INFO: Processing buffer {"connection_id":171582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2f6c30012d34c9c006aa3d280009008024..."} 
[2026-09-05 07:02:35] local.INFO: Packet analysis {"connection_id":171582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2f"} 
[2026-09-05 07:02:35] local.INFO: Extracted packet for processing {"connection_id":171582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2f"} 
[2026-09-05 07:02:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874297088001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788571774000,"timestamp_ms":1788571774000,"timestamp_seconds":1788571774,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2f6c30"} 
[2026-09-05 07:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:02:35] 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-09-05 07:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-05 07:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:02:35] 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-09-05 07:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874297088001,"66":25462,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874297088001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:02:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:02:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874297088001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":171582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:02:35] local.INFO: GPS data processed {"connection_id":171582,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:02:35] local.INFO: Acknowledgment sent {"connection_id":171582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:02:36] local.INFO: TCP Data received {"connection_id":171286,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:02:36] local.INFO: Processing buffer {"connection_id":171286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:02:36] local.INFO: IMEI packet received {"connection_id":171286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":171286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:02:36] local.INFO: TCP Data received {"connection_id":171286,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f30f2d0012d7c190005bf7850001000590f..."} 
[2026-09-05 07:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f30f2d0012d7c190005bf7850001000590f..."} 
[2026-09-05 07:02:36] local.INFO: Processing buffer {"connection_id":171286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f30f2d0012d7c190005bf7850001000590f..."} 
[2026-09-05 07:02:36] local.INFO: Packet analysis {"connection_id":171286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f30"} 
[2026-09-05 07:02:36] local.INFO: Extracted packet for processing {"connection_id":171286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f30"} 
[2026-09-05 07:02:36] local.INFO: GPS Element Parsed {"raw_longitude":763107584,"raw_latitude":96434256,"longitude_deg":76.3107584,"latitude_deg":9.6434256,"altitude":16,"angle":89,"satellites":15,"speed":48,"hex_longitude":"2d7c1900","hex_latitude":"05bf7850","is_valid_coordinates":true} 
[2026-09-05 07:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874398720001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128276834746892288,"note":"Value kept but may cause issues"} 
[2026-09-05 07:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936971272738699264,"note":"Value kept but may cause issues"} 
[2026-09-05 07:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788571874000,"timestamp_ms":1788571874000,"timestamp_seconds":1788571874,"priority":1,"record_length":96,"hex_timestamp":"000001a06f30f2d0"} 
[2026-09-05 07:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:02:36] 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-09-05 07:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-05 07:02:36] 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-09-05 07:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874398720001,"66":13798,"44":206,"85":12288,"24":48,"16":128276834746892288,"45":8936971272738699264},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-09-05 07:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874398720001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:02:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-05 07:02:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128276834746892288,"km_value":128276834746892.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936971272738699264,"description":"Unknown IO ID 45"} 
[2026-09-05 07:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874398720001,"power":13798,"unknown_44":206,"unknown_85":12288,"ignition":48,"odometer":null,"unknown_45":8936971272738699264}} 
[2026-09-05 07:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":171286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767135,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:02:36] local.INFO: GPS data processed {"connection_id":171286,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:02:36] local.INFO: Acknowledgment sent {"connection_id":171286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:02:58] local.INFO: TCP Data received {"connection_id":173989,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:02:58] local.INFO: Processing buffer {"connection_id":173989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:02:58] local.INFO: IMEI packet received {"connection_id":173989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":173989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:03:02] local.INFO: TCP Data received {"connection_id":173989,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:03:02] local.INFO: Processing buffer {"connection_id":173989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:03:02] local.INFO: IMEI packet received {"connection_id":173989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":173989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:03:03] local.INFO: TCP Data received {"connection_id":173989,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2f6c30012d34c9c006aa3d280009008024..."} 
[2026-09-05 07:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2f6c30012d34c9c006aa3d280009008024..."} 
[2026-09-05 07:03:03] local.INFO: Processing buffer {"connection_id":173989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2f6c30012d34c9c006aa3d280009008024..."} 
[2026-09-05 07:03:03] local.INFO: Packet analysis {"connection_id":173989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2f"} 
[2026-09-05 07:03:03] local.INFO: Extracted packet for processing {"connection_id":173989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2f"} 
[2026-09-05 07:03:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874297088001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788571774000,"timestamp_ms":1788571774000,"timestamp_seconds":1788571774,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2f6c30"} 
[2026-09-05 07:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:03:03] 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-09-05 07: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":129,"data_length":795,"current_offset":136} 
[2026-09-05 07:03: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-09-05 07: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-09-05 07:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874297088001,"66":25462,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874297088001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:03:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:03:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874297088001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":173989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:03:03] local.INFO: GPS data processed {"connection_id":173989,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:03:03] local.INFO: Acknowledgment sent {"connection_id":173989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:03:07] local.INFO: TCP Data received {"connection_id":171286,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f328910012d7d2ec005bfee30000d00200f..."} 
[2026-09-05 07:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f328910012d7d2ec005bfee30000d00200f..."} 
[2026-09-05 07:03:07] local.INFO: Processing buffer {"connection_id":171286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f328910012d7d2ec005bfee30000d00200f..."} 
[2026-09-05 07:03:07] local.INFO: Packet analysis {"connection_id":171286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f32"} 
[2026-09-05 07:03:07] local.INFO: Extracted packet for processing {"connection_id":171286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f32"} 
[2026-09-05 07:03:07] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":96464432,"longitude_deg":76.3178688,"latitude_deg":9.6464432,"altitude":13,"angle":32,"satellites":15,"speed":44,"hex_longitude":"2d7d2ec0","hex_latitude":"05bfee30","is_valid_coordinates":true} 
[2026-09-05 07:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874424320001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128281344462553088,"note":"Value kept but may cause issues"} 
[2026-09-05 07:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014587997572481024,"note":"Value kept but may cause issues"} 
[2026-09-05 07:03:07] 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-09-05 07:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788571978000,"timestamp_ms":1788571978000,"timestamp_seconds":1788571978,"priority":1,"record_length":96,"hex_timestamp":"000001a06f328910"} 
[2026-09-05 07:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-05 07:03: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-09-05 07:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874424320001,"66":13678,"25":206,"85":12288,"24":44,"16":128281344462553088,"45":9014587997572481024},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-05 07:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874424320001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:03:07] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-05 07:03:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128281344462553088,"km_value":128281344462553.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014587997572481024,"description":"Unknown IO ID 45"} 
[2026-09-05 07:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874424320001,"power":13678,"unknown_25":206,"unknown_85":12288,"ignition":44,"odometer":null,"unknown_45":9014587997572481024}} 
[2026-09-05 07:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":171286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767137,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:03:07] local.INFO: GPS data processed {"connection_id":171286,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:03:07] local.INFO: Acknowledgment sent {"connection_id":171286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:03:25] local.INFO: TCP Data received {"connection_id":171584,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:03:25] local.INFO: Processing buffer {"connection_id":171584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:03:25] local.INFO: IMEI packet received {"connection_id":171584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":171584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:03:31] local.INFO: TCP Data received {"connection_id":171584,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:03:31] local.INFO: Processing buffer {"connection_id":171584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:03:31] local.INFO: IMEI packet received {"connection_id":171584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":171584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:03:31] local.INFO: TCP Data received {"connection_id":171584,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3298b0012d7d364005bffd10000e00110f..."} 
[2026-09-05 07:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3298b0012d7d364005bffd10000e00110f..."} 
[2026-09-05 07:03:32] local.INFO: Processing buffer {"connection_id":171584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3298b0012d7d364005bffd10000e00110f..."} 
[2026-09-05 07:03:32] local.INFO: Packet analysis {"connection_id":171584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f32"} 
[2026-09-05 07:03:32] local.INFO: Extracted packet for processing {"connection_id":171584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f32"} 
[2026-09-05 07:03:32] local.INFO: GPS Element Parsed {"raw_longitude":763180608,"raw_latitude":96468240,"longitude_deg":76.3180608,"latitude_deg":9.646824,"altitude":14,"angle":17,"satellites":15,"speed":42,"hex_longitude":"2d7d3640","hex_latitude":"05bffd10","is_valid_coordinates":true} 
[2026-09-05 07:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874426368001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128281550620983296,"note":"Value kept but may cause issues"} 
[2026-09-05 07:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358234597109760,"note":"Value kept but may cause issues"} 
[2026-09-05 07:03:32] 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-09-05 07:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788571982000,"timestamp_ms":1788571982000,"timestamp_seconds":1788571982,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3298b0"} 
[2026-09-05 07:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:03:32] 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-09-05 07:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-05 07:03: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-09-05 07:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874426368001,"66":13961,"25":206,"85":12288,"24":42,"16":128281550620983296,"45":9020358234597109760},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-05 07:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874426368001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:03:32] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-05 07:03:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128281550620983296,"km_value":128281550620983.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358234597109760,"description":"Unknown IO ID 45"} 
[2026-09-05 07:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874426368001,"power":13961,"unknown_25":206,"unknown_85":12288,"ignition":42,"odometer":null,"unknown_45":9020358234597109760}} 
[2026-09-05 07:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":171584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:03:32] local.INFO: GPS data processed {"connection_id":171584,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:03:32] local.INFO: Acknowledgment sent {"connection_id":171584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:03:34] local.INFO: TCP Data received {"connection_id":173989,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2f6c30012d34c9c006aa3d280009008024..."} 
[2026-09-05 07:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2f6c30012d34c9c006aa3d280009008024..."} 
[2026-09-05 07:03:34] local.INFO: Processing buffer {"connection_id":173989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2f6c30012d34c9c006aa3d280009008024..."} 
[2026-09-05 07:03:34] local.INFO: Packet analysis {"connection_id":173989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2f"} 
[2026-09-05 07:03:34] local.INFO: Extracted packet for processing {"connection_id":173989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2f"} 
[2026-09-05 07:03:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874297088001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788571774000,"timestamp_ms":1788571774000,"timestamp_seconds":1788571774,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2f6c30"} 
[2026-09-05 07:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:03: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-09-05 07:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-05 07:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874297088001,"66":25462,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874297088001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:03:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:03:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874297088001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":173989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:03:34] local.INFO: GPS data processed {"connection_id":173989,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:03:34] local.INFO: Acknowledgment sent {"connection_id":173989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:03:57] local.INFO: TCP Data received {"connection_id":171287,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:03:57] local.INFO: Processing buffer {"connection_id":171287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:03:57] local.INFO: IMEI packet received {"connection_id":171287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":171287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:04:02] local.INFO: TCP Data received {"connection_id":171287,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:04:02] local.INFO: Processing buffer {"connection_id":171287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:04:02] local.INFO: IMEI packet received {"connection_id":171287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":171287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:04:03] local.INFO: TCP Data received {"connection_id":171584,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f32a468012d7d388005c009f0000f00040f..."} 
[2026-09-05 07:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f32a468012d7d388005c009f0000f00040f..."} 
[2026-09-05 07:04:03] local.INFO: Processing buffer {"connection_id":171584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f32a468012d7d388005c009f0000f00040f..."} 
[2026-09-05 07:04:03] local.INFO: Packet analysis {"connection_id":171584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f32"} 
[2026-09-05 07:04:03] local.INFO: Extracted packet for processing {"connection_id":171584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f32"} 
[2026-09-05 07:04:03] local.INFO: GPS Element Parsed {"raw_longitude":763181184,"raw_latitude":96471536,"longitude_deg":76.3181184,"latitude_deg":9.6471536,"altitude":15,"angle":4,"satellites":15,"speed":44,"hex_longitude":"2d7d3880","hex_latitude":"05c009f0","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874427392001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128281713829740544,"note":"Value kept but may cause issues"} 
[2026-09-05 07:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022469296923414528,"note":"Value kept but may cause issues"} 
[2026-09-05 07:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788571985000,"timestamp_ms":1788571985000,"timestamp_seconds":1788571985,"priority":1,"record_length":96,"hex_timestamp":"000001a06f32a468"} 
[2026-09-05 07:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:04:03] 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-09-05 07: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-05 07:04:03] 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-09-05 07: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-09-05 07:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874427392001,"66":13656,"10":206,"85":12288,"24":44,"16":128281713829740544,"45":9022469296923414528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-09-05 07:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874427392001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:04:03] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-05 07:04:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128281713829740544,"km_value":128281713829740.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022469296923414528,"description":"Unknown IO ID 45"} 
[2026-09-05 07:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874427392001,"power":13656,"unknown_10":206,"unknown_85":12288,"ignition":44,"odometer":null,"unknown_45":9022469296923414528}} 
[2026-09-05 07:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":171584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:04:03] local.INFO: GPS data processed {"connection_id":171584,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:04:03] local.INFO: Acknowledgment sent {"connection_id":171584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:04:03] local.INFO: TCP Data received {"connection_id":171287,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2f6c30012d34c9c006aa3d280009008024..."} 
[2026-09-05 07:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2f6c30012d34c9c006aa3d280009008024..."} 
[2026-09-05 07:04:03] local.INFO: Processing buffer {"connection_id":171287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2f6c30012d34c9c006aa3d280009008024..."} 
[2026-09-05 07:04:03] local.INFO: Packet analysis {"connection_id":171287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2f"} 
[2026-09-05 07:04:03] local.INFO: Extracted packet for processing {"connection_id":171287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2f"} 
[2026-09-05 07:04:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874297088001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788571774000,"timestamp_ms":1788571774000,"timestamp_seconds":1788571774,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2f6c30"} 
[2026-09-05 07:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:04:03] 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-09-05 07: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":129,"data_length":795,"current_offset":136} 
[2026-09-05 07:04: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-09-05 07: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-09-05 07:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:04: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-09-05 07:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874297088001,"66":25462,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874297088001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:04:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:04:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874297088001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":171287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:04:03] local.INFO: GPS data processed {"connection_id":171287,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:04:03] local.INFO: Acknowledgment sent {"connection_id":171287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:04:31] local.INFO: TCP Data received {"connection_id":171288,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:04:31] local.INFO: Processing buffer {"connection_id":171288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:04:31] local.INFO: IMEI packet received {"connection_id":171288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":171288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:04:34] local.INFO: TCP Data received {"connection_id":171287,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2f6c30012d34c9c006aa3d280009008024..."} 
[2026-09-05 07:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2f6c30012d34c9c006aa3d280009008024..."} 
[2026-09-05 07:04:34] local.INFO: Processing buffer {"connection_id":171287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2f6c30012d34c9c006aa3d280009008024..."} 
[2026-09-05 07:04:34] local.INFO: Packet analysis {"connection_id":171287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2f"} 
[2026-09-05 07:04:34] local.INFO: Extracted packet for processing {"connection_id":171287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2f"} 
[2026-09-05 07:04:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874297088001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788571774000,"timestamp_ms":1788571774000,"timestamp_seconds":1788571774,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2f6c30"} 
[2026-09-05 07:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:04: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-09-05 07:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-05 07:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874297088001,"66":25462,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874297088001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:04:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:04:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874297088001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":171287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:04:34] local.INFO: GPS data processed {"connection_id":171287,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:04:34] local.INFO: Acknowledgment sent {"connection_id":171287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:04:36] local.INFO: TCP Data received {"connection_id":171288,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:04:36] local.INFO: Processing buffer {"connection_id":171288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:04:36] local.INFO: IMEI packet received {"connection_id":171288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":171288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:04:36] local.INFO: TCP Data received {"connection_id":171288,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f32c3a8012d7d388005c02fc80010016610..."} 
[2026-09-05 07:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f32c3a8012d7d388005c02fc80010016610..."} 
[2026-09-05 07:04:36] local.INFO: Processing buffer {"connection_id":171288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f32c3a8012d7d388005c02fc80010016610..."} 
[2026-09-05 07:04:36] local.INFO: Packet analysis {"connection_id":171288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f32"} 
[2026-09-05 07:04:36] local.INFO: Extracted packet for processing {"connection_id":171288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f32"} 
[2026-09-05 07:04:36] local.INFO: GPS Element Parsed {"raw_longitude":763181184,"raw_latitude":96481224,"longitude_deg":76.3181184,"latitude_deg":9.6481224,"altitude":16,"angle":358,"satellites":16,"speed":47,"hex_longitude":"2d7d3880","hex_latitude":"05c02fc8","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874428160001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128282181981175808,"note":"Value kept but may cause issues"} 
[2026-09-05 07:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023102615621857280,"note":"Value kept but may cause issues"} 
[2026-09-05 07:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788571993000,"timestamp_ms":1788571993000,"timestamp_seconds":1788571993,"priority":1,"record_length":96,"hex_timestamp":"000001a06f32c3a8"} 
[2026-09-05 07:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:04: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-09-05 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 07:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874428160001,"66":13830,"10":206,"85":12288,"24":47,"16":128282181981175808,"45":9023102615621857280},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-09-05 07:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874428160001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:04:36] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-05 07:04:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128282181981175808,"km_value":128282181981175.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023102615621857280,"description":"Unknown IO ID 45"} 
[2026-09-05 07:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874428160001,"power":13830,"unknown_10":206,"unknown_85":12288,"ignition":47,"odometer":null,"unknown_45":9023102615621857280}} 
[2026-09-05 07:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":171288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767143,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:04:36] local.INFO: GPS data processed {"connection_id":171288,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:04:36] local.INFO: Acknowledgment sent {"connection_id":171288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:04:41] local.INFO: TCP Data received {"connection_id":171288,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f32e2e8012d7d39c005c055300012000610..."} 
[2026-09-05 07:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f32e2e8012d7d39c005c055300012000610..."} 
[2026-09-05 07:04:41] local.INFO: Processing buffer {"connection_id":171288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f32e2e8012d7d39c005c055300012000610..."} 
[2026-09-05 07:04:41] local.INFO: Packet analysis {"connection_id":171288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f32"} 
[2026-09-05 07:04:41] local.INFO: Extracted packet for processing {"connection_id":171288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f32"} 
[2026-09-05 07:04:41] local.INFO: GPS Element Parsed {"raw_longitude":763181504,"raw_latitude":96490800,"longitude_deg":76.3181504,"latitude_deg":9.64908,"altitude":18,"angle":6,"satellites":16,"speed":48,"hex_longitude":"2d7d39c0","hex_latitude":"05c05530","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874430208001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128282645837643776,"note":"Value kept but may cause issues"} 
[2026-09-05 07:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023102615624337408,"note":"Value kept but may cause issues"} 
[2026-09-05 07:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788572001000,"timestamp_ms":1788572001000,"timestamp_seconds":1788572001,"priority":1,"record_length":96,"hex_timestamp":"000001a06f32e2e8"} 
[2026-09-05 07:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-05 07:04:41] local.WARNING: Large IO value detected {"io_id":24,"raw_value":9851632790601728,"note":"Value kept but may cause issues"} 
[2026-09-05 07:04:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627267766784,"note":"Value kept but may cause issues"} 
[2026-09-05 07:04:41] local.WARNING: Large IO value detected {"io_id":191,"raw_value":3468689419,"note":"Value kept but may cause issues"} 
[2026-09-05 07:04:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1645805774,"corrected_to":0} 
[2026-09-05 07:04:41] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743842,"note":"Value kept but may cause issues"} 
[2026-09-05 07:04:41] local.WARNING: Large IO value detected {"io_id":199,"raw_value":3197173760,"note":"Value kept but may cause issues"} 
[2026-09-05 07:04:41] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3214929920,"note":"Value kept but may cause issues"} 
[2026-09-05 07:04:41] local.WARNING: Large IO value detected {"io_id":244,"raw_value":-6917197537673738817,"note":"Value kept but may cause issues"} 
[2026-09-05 07:04:41] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-7493976585753657339,"note":"Value kept but may cause issues"} 
[2026-09-05 07:04:41] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,10,85,24,241,157,16,191,160,164,45,128,9,15,66,152,64,253,14,25,137,192,1,240,110,227,111,4,113,205,49,90,239,53,2,199,5,35,244,122],"length":528,"final_offset":658,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1645805774,"validated":0}]} 
[2026-09-05 07:04:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153315198492147712,"timestamp_seconds":1153315198492147.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 07:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":171288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":171288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":171288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874430208001,"66":13798,"10":206,"85":12288,"24":48,"16":128282645837643776,"45":9023102615624337408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-09-05 07:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874430208001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:04:41] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-05 07:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128282645837643776,"km_value":128282645837643.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023102615624337408,"description":"Unknown IO ID 45"} 
[2026-09-05 07:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874430208001,"power":13798,"unknown_10":206,"unknown_85":12288,"ignition":48,"odometer":null,"unknown_45":9023102615624337408}} 
[2026-09-05 07:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":171288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767144,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:04:41] local.INFO: GPS data processed {"connection_id":171288,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:04:41] local.INFO: Acknowledgment sent {"connection_id":171288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:04:57] local.INFO: TCP Data received {"connection_id":173990,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:04:57] local.INFO: Processing buffer {"connection_id":173990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:04:57] local.INFO: IMEI packet received {"connection_id":173990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":173990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:05:02] local.INFO: TCP Data received {"connection_id":173990,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:05:02] local.INFO: Processing buffer {"connection_id":173990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:05:02] local.INFO: IMEI packet received {"connection_id":173990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":173990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:05:03] local.INFO: TCP Data received {"connection_id":173990,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a06f2f6c30012d34c9c006aa3d280009008024..."} 
[2026-09-05 07:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f2f6c30012d34c9c006aa3d280009008024..."} 
[2026-09-05 07:05:03] local.INFO: Processing buffer {"connection_id":173990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f2f6c30012d34c9c006aa3d280009008024..."} 
[2026-09-05 07:05:03] local.INFO: Packet analysis {"connection_id":173990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f2f"} 
[2026-09-05 07:05:03] local.INFO: Extracted packet for processing {"connection_id":173990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f2f"} 
[2026-09-05 07:05:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874297088001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788571774000,"timestamp_ms":1788571774000,"timestamp_seconds":1788571774,"priority":1,"record_length":96,"hex_timestamp":"000001a06f2f6c30"} 
[2026-09-05 07:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:05:03] 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-09-05 07: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":129,"data_length":795,"current_offset":136} 
[2026-09-05 07:05: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-09-05 07: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-09-05 07:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:05: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-09-05 07:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874297088001,"66":25462,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874297088001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:05:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:05:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874297088001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":173990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:05:03] local.INFO: GPS data processed {"connection_id":173990,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:05:03] local.INFO: Acknowledgment sent {"connection_id":173990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:05:24] local.INFO: TCP Data received {"connection_id":172688,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172688,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:05:24] local.INFO: Processing buffer {"connection_id":172688,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:05:24] local.INFO: IMEI packet received {"connection_id":172688,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":172688,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:05:25] local.INFO: TCP Data received {"connection_id":172688,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172688,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:05:25] local.INFO: Processing buffer {"connection_id":172688,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:05:25] local.INFO: IMEI packet received {"connection_id":172688,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":172688,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:05:31] local.INFO: TCP Data received {"connection_id":172688,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172688,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:05:31] local.INFO: Processing buffer {"connection_id":172688,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:05:31] local.INFO: IMEI packet received {"connection_id":172688,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":172688,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:05:31] local.INFO: TCP Data received {"connection_id":172688,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f330228012d7d3cc005c07a68001200040f..."} 
[2026-09-05 07:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f330228012d7d3cc005c07a68001200040f..."} 
[2026-09-05 07:05:31] local.INFO: Processing buffer {"connection_id":172688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f330228012d7d3cc005c07a68001200040f..."} 
[2026-09-05 07:05:31] local.INFO: Packet analysis {"connection_id":172688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f33"} 
[2026-09-05 07:05:31] local.INFO: Extracted packet for processing {"connection_id":172688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f33"} 
[2026-09-05 07:05:31] local.INFO: GPS Element Parsed {"raw_longitude":763182272,"raw_latitude":96500328,"longitude_deg":76.3182272,"latitude_deg":9.6500328,"altitude":18,"angle":4,"satellites":15,"speed":45,"hex_longitude":"2d7d3cc0","hex_latitude":"05c07a68","is_valid_coordinates":true} 
[2026-09-05 07:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874432256001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128283109694111744,"note":"Value kept but may cause issues"} 
[2026-09-05 07:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023454459347677184,"note":"Value kept but may cause issues"} 
[2026-09-05 07:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788572009000,"timestamp_ms":1788572009000,"timestamp_seconds":1788572009,"priority":1,"record_length":96,"hex_timestamp":"000001a06f330228"} 
[2026-09-05 07:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:05:31] 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-09-05 07:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 07:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874432256001,"66":13961,"10":206,"85":12288,"24":45,"16":128283109694111744,"45":9023454459347677184},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-09-05 07:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874432256001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:05:31] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-05 07:05:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128283109694111744,"km_value":128283109694111.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023454459347677184,"description":"Unknown IO ID 45"} 
[2026-09-05 07:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874432256001,"power":13961,"unknown_10":206,"unknown_85":12288,"ignition":45,"odometer":null,"unknown_45":9023454459347677184}} 
[2026-09-05 07:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":172688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767146,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:05:31] local.INFO: GPS data processed {"connection_id":172688,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:05:31] local.INFO: Acknowledgment sent {"connection_id":172688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:05:34] local.INFO: TCP Data received {"connection_id":173990,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3403f8012d34c9c006aa3d280009008021..."} 
[2026-09-05 07:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3403f8012d34c9c006aa3d280009008021..."} 
[2026-09-05 07:05:34] local.INFO: Processing buffer {"connection_id":173990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3403f8012d34c9c006aa3d280009008021..."} 
[2026-09-05 07:05:34] local.INFO: Packet analysis {"connection_id":173990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f34"} 
[2026-09-05 07:05:34] local.INFO: Extracted packet for processing {"connection_id":173990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f34"} 
[2026-09-05 07:05:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874374144001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788572075000,"timestamp_ms":1788572075000,"timestamp_seconds":1788572075,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3403f8"} 
[2026-09-05 07:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:05:34] 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-09-05 07:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 07:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874374144001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874374144001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:05:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:05:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874374144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":173990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:05:34] local.INFO: GPS data processed {"connection_id":173990,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:05:34] local.INFO: Acknowledgment sent {"connection_id":173990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:05:57] local.INFO: TCP Data received {"connection_id":171586,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:05:57] local.INFO: Processing buffer {"connection_id":171586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:05:57] local.INFO: IMEI packet received {"connection_id":171586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":171586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:06:02] local.INFO: TCP Data received {"connection_id":171586,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:06:02] local.INFO: Processing buffer {"connection_id":171586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:06:02] local.INFO: IMEI packet received {"connection_id":171586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":171586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:06:02] local.INFO: TCP Data received {"connection_id":172688,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f330de0012d7d3c4005c087e8001301620f..."} 
[2026-09-05 07:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f330de0012d7d3c4005c087e8001301620f..."} 
[2026-09-05 07:06:02] local.INFO: Processing buffer {"connection_id":172688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f330de0012d7d3c4005c087e8001301620f..."} 
[2026-09-05 07:06:02] local.INFO: Packet analysis {"connection_id":172688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f33"} 
[2026-09-05 07:06:02] local.INFO: Extracted packet for processing {"connection_id":172688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f33"} 
[2026-09-05 07:06:02] local.INFO: GPS Element Parsed {"raw_longitude":763182144,"raw_latitude":96503784,"longitude_deg":76.3182144,"latitude_deg":9.6503784,"altitude":19,"angle":354,"satellites":15,"speed":46,"hex_longitude":"2d7d3c40","hex_latitude":"05c087e8","is_valid_coordinates":true} 
[2026-09-05 07:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874434304001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128283277197836288,"note":"Value kept but may cause issues"} 
[2026-09-05 07:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024298884280248320,"note":"Value kept but may cause issues"} 
[2026-09-05 07:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788572012000,"timestamp_ms":1788572012000,"timestamp_seconds":1788572012,"priority":1,"record_length":96,"hex_timestamp":"000001a06f330de0"} 
[2026-09-05 07:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:06:02] 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-09-05 07:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-05 07:06: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-09-05 07:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874434304001,"66":13678,"10":206,"85":12288,"24":46,"16":128283277197836288,"45":9024298884280248320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-09-05 07:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874434304001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:06:02] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-05 07:06:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128283277197836288,"km_value":128283277197836.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024298884280248320,"description":"Unknown IO ID 45"} 
[2026-09-05 07:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874434304001,"power":13678,"unknown_10":206,"unknown_85":12288,"ignition":46,"odometer":null,"unknown_45":9024298884280248320}} 
[2026-09-05 07:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":172688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767148,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:06:02] local.INFO: GPS data processed {"connection_id":172688,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:06:02] local.INFO: Acknowledgment sent {"connection_id":172688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:06:03] local.INFO: TCP Data received {"connection_id":171586,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3403f8012d34c9c006aa3d280009008021..."} 
[2026-09-05 07:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3403f8012d34c9c006aa3d280009008021..."} 
[2026-09-05 07:06:03] local.INFO: Processing buffer {"connection_id":171586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3403f8012d34c9c006aa3d280009008021..."} 
[2026-09-05 07:06:03] local.INFO: Packet analysis {"connection_id":171586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f34"} 
[2026-09-05 07:06:03] local.INFO: Extracted packet for processing {"connection_id":171586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f34"} 
[2026-09-05 07:06:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874374144001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788572075000,"timestamp_ms":1788572075000,"timestamp_seconds":1788572075,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3403f8"} 
[2026-09-05 07:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:06:03] 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-09-05 07:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 07:06: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-09-05 07: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-09-05 07:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:06: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-09-05 07:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874374144001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874374144001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:06:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:06:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874374144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":171586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:06:03] local.INFO: GPS data processed {"connection_id":171586,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:06:03] local.INFO: Acknowledgment sent {"connection_id":171586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:06:26] local.INFO: TCP Data received {"connection_id":171587,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171587,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:06:26] local.INFO: Processing buffer {"connection_id":171587,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:06:26] local.INFO: IMEI packet received {"connection_id":171587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":171587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:06:26] local.INFO: TCP Data received {"connection_id":171587,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171587,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:06:26] local.INFO: Processing buffer {"connection_id":171587,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:06:26] local.INFO: IMEI packet received {"connection_id":171587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":171587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:06:32] local.INFO: TCP Data received {"connection_id":171587,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171587,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:06:32] local.INFO: Processing buffer {"connection_id":171587,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:06:32] local.INFO: IMEI packet received {"connection_id":171587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":171587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:06:33] local.INFO: TCP Data received {"connection_id":171587,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f357ee0012d7d2fc005c12bc0000900061a..."} 
[2026-09-05 07:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f357ee0012d7d2fc005c12bc0000900061a..."} 
[2026-09-05 07:06:33] local.INFO: Processing buffer {"connection_id":171587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f357ee0012d7d2fc005c12bc0000900061a..."} 
[2026-09-05 07:06:33] local.INFO: Packet analysis {"connection_id":171587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f35"} 
[2026-09-05 07:06:33] local.INFO: Extracted packet for processing {"connection_id":171587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f35"} 
[2026-09-05 07:06:33] local.INFO: GPS Element Parsed {"raw_longitude":763178944,"raw_latitude":96545728,"longitude_deg":76.3178944,"latitude_deg":9.6545728,"altitude":9,"angle":6,"satellites":26,"speed":36,"hex_longitude":"2d7d2fc0","hex_latitude":"05c12bc0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 07:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874472704001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128285390321745920,"note":"Value kept but may cause issues"} 
[2026-09-05 07:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019091597220333568,"note":"Value kept but may cause issues"} 
[2026-09-05 07:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788572172000,"timestamp_ms":1788572172000,"timestamp_seconds":1788572172,"priority":1,"record_length":96,"hex_timestamp":"000001a06f357ee0"} 
[2026-09-05 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-09-05 07:06:33] 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-09-05 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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-05 07:06:33] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-09-05 07:06:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627267491072,"note":"Value kept but may cause issues"} 
[2026-09-05 07:06:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2802385102,"corrected_to":0} 
[2026-09-05 07:06:33] local.WARNING: Large IO value detected {"io_id":42,"raw_value":3221602566,"note":"Value kept but may cause issues"} 
[2026-09-05 07:06:33] local.WARNING: Large IO value detected {"io_id":199,"raw_value":3261923328,"note":"Value kept but may cause issues"} 
[2026-09-05 07:06:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3238348800,"note":"Value kept but may cause issues"} 
[2026-09-05 07:06:33] local.WARNING: Large IO value detected {"io_id":92,"raw_value":331490537768384,"note":"Value kept but may cause issues"} 
[2026-09-05 07:06:33] local.WARNING: Large IO value detected {"io_id":232,"raw_value":5764624021732720687,"note":"Value kept but may cause issues"} 
[2026-09-05 07:06:33] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,9,85,24,241,157,16,194,160,17,45,64,6,12,25,10,66,191,26,109,1,240,227,111,193,4,113,205,201,42,8,18,239,53,2,199,5,92,232],"length":528,"final_offset":658,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2802385102,"validated":0}]} 
[2026-09-05 07:06:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720588146677121024,"timestamp_seconds":720588146677121.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 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-09-05 07:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874472704001,"66":13972,"9":206,"85":12288,"24":36,"16":128285390321745920,"45":9019091597220333568},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-09-05 07:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874472704001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:06:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-05 07:06:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128285390321745920,"km_value":128285390321745.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019091597220333568,"description":"Unknown IO ID 45"} 
[2026-09-05 07:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874472704001,"power":13972,"unknown_9":206,"unknown_85":12288,"ignition":36,"odometer":null,"unknown_45":9019091597220333568}} 
[2026-09-05 07:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":171587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767150,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:06:33] local.INFO: GPS data processed {"connection_id":171587,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:06:33] local.INFO: Acknowledgment sent {"connection_id":171587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:06:34] local.INFO: TCP Data received {"connection_id":171586,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3403f8012d34c9c006aa3d280009008021..."} 
[2026-09-05 07:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3403f8012d34c9c006aa3d280009008021..."} 
[2026-09-05 07:06:34] local.INFO: Processing buffer {"connection_id":171586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3403f8012d34c9c006aa3d280009008021..."} 
[2026-09-05 07:06:34] local.INFO: Packet analysis {"connection_id":171586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f34"} 
[2026-09-05 07:06:34] local.INFO: Extracted packet for processing {"connection_id":171586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f34"} 
[2026-09-05 07:06:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874374144001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788572075000,"timestamp_ms":1788572075000,"timestamp_seconds":1788572075,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3403f8"} 
[2026-09-05 07:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:06:34] 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-09-05 07:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 07:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874374144001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874374144001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:06:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:06:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874374144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":171586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:06:34] local.INFO: GPS data processed {"connection_id":171586,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:06:34] local.INFO: Acknowledgment sent {"connection_id":171586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:06:57] local.INFO: TCP Data received {"connection_id":171289,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:06:57] local.INFO: Processing buffer {"connection_id":171289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:06:57] local.INFO: IMEI packet received {"connection_id":171289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":171289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:07:02] local.INFO: TCP Data received {"connection_id":171289,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:07:02] local.INFO: Processing buffer {"connection_id":171289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:07:02] local.INFO: IMEI packet received {"connection_id":171289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":171289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:07:03] local.INFO: TCP Data received {"connection_id":171289,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3403f8012d34c9c006aa3d280009008021..."} 
[2026-09-05 07:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3403f8012d34c9c006aa3d280009008021..."} 
[2026-09-05 07:07:03] local.INFO: Processing buffer {"connection_id":171289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3403f8012d34c9c006aa3d280009008021..."} 
[2026-09-05 07:07:03] local.INFO: Packet analysis {"connection_id":171289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f34"} 
[2026-09-05 07:07:03] local.INFO: Extracted packet for processing {"connection_id":171289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f34"} 
[2026-09-05 07:07:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874374144001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788572075000,"timestamp_ms":1788572075000,"timestamp_seconds":1788572075,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3403f8"} 
[2026-09-05 07:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:07:03] 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-09-05 07: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":118,"data_length":795,"current_offset":136} 
[2026-09-05 07:07: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-09-05 07: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-09-05 07:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874374144001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874374144001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:07:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:07:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874374144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":171289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:07:03] local.INFO: GPS data processed {"connection_id":171289,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:07:03] local.INFO: Acknowledgment sent {"connection_id":171289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:07:04] local.INFO: TCP Data received {"connection_id":171587,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f359650012d7d314005c14348000b016419..."} 
[2026-09-05 07:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f359650012d7d314005c14348000b016419..."} 
[2026-09-05 07:07:04] local.INFO: Processing buffer {"connection_id":171587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f359650012d7d314005c14348000b016419..."} 
[2026-09-05 07:07:04] local.INFO: Packet analysis {"connection_id":171587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f35"} 
[2026-09-05 07:07:04] local.INFO: Extracted packet for processing {"connection_id":171587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f35"} 
[2026-09-05 07:07:04] local.INFO: GPS Element Parsed {"raw_longitude":763179328,"raw_latitude":96551752,"longitude_deg":76.3179328,"latitude_deg":9.6551752,"altitude":11,"angle":356,"satellites":25,"speed":43,"hex_longitude":"2d7d3140","hex_latitude":"05c14348","is_valid_coordinates":true} 
[2026-09-05 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-09-05 07:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874476032001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128285686674489344,"note":"Value kept but may cause issues"} 
[2026-09-05 07:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020639709594632192,"note":"Value kept but may cause issues"} 
[2026-09-05 07:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788572178000,"timestamp_ms":1788572178000,"timestamp_seconds":1788572178,"priority":1,"record_length":96,"hex_timestamp":"000001a06f359650"} 
[2026-09-05 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-09-05 07:07: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-09-05 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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 07:07: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-09-05 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-09-05 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-09-05 07:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874476032001,"66":13820,"9":206,"85":12288,"24":43,"16":128285686674489344,"45":9020639709594632192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-09-05 07:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874476032001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:07:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-05 07:07:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128285686674489344,"km_value":128285686674489.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020639709594632192,"description":"Unknown IO ID 45"} 
[2026-09-05 07:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874476032001,"power":13820,"unknown_9":206,"unknown_85":12288,"ignition":43,"odometer":null,"unknown_45":9020639709594632192}} 
[2026-09-05 07:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":171587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767153,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:07:04] local.INFO: GPS data processed {"connection_id":171587,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:07:04] local.INFO: Acknowledgment sent {"connection_id":171587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:07:26] local.INFO: TCP Data received {"connection_id":173991,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:07:26] local.INFO: Processing buffer {"connection_id":173991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:07:26] local.INFO: IMEI packet received {"connection_id":173991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":173991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:07:31] local.INFO: TCP Data received {"connection_id":173991,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:07:31] local.INFO: Processing buffer {"connection_id":173991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:07:31] local.INFO: IMEI packet received {"connection_id":173991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":173991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:07:31] local.INFO: TCP Data received {"connection_id":173991,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f35adc0012d7d31c005c15fb8000c00061a..."} 
[2026-09-05 07:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f35adc0012d7d31c005c15fb8000c00061a..."} 
[2026-09-05 07:07:31] local.INFO: Processing buffer {"connection_id":173991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f35adc0012d7d31c005c15fb8000c00061a..."} 
[2026-09-05 07:07:31] local.INFO: Packet analysis {"connection_id":173991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f35"} 
[2026-09-05 07:07:31] local.INFO: Extracted packet for processing {"connection_id":173991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f35"} 
[2026-09-05 07:07:31] local.INFO: GPS Element Parsed {"raw_longitude":763179456,"raw_latitude":96559032,"longitude_deg":76.3179456,"latitude_deg":9.6559032,"altitude":12,"angle":6,"satellites":26,"speed":51,"hex_longitude":"2d7d31c0","hex_latitude":"05c15fb8","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874477568001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128286038861807616,"note":"Value kept but may cause issues"} 
[2026-09-05 07:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021061922061240320,"note":"Value kept but may cause issues"} 
[2026-09-05 07:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788572184000,"timestamp_ms":1788572184000,"timestamp_seconds":1788572184,"priority":1,"record_length":96,"hex_timestamp":"000001a06f35adc0"} 
[2026-09-05 07:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-05 07:07: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-09-05 07: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-09-05 07:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874477568001,"66":13765,"9":206,"85":12288,"24":51,"16":128286038861807616,"45":9021061922061240320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-09-05 07:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874477568001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:07:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-05 07:07:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128286038861807616,"km_value":128286038861807.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021061922061240320,"description":"Unknown IO ID 45"} 
[2026-09-05 07:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874477568001,"power":13765,"unknown_9":206,"unknown_85":12288,"ignition":51,"odometer":null,"unknown_45":9021061922061240320}} 
[2026-09-05 07:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":173991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767154,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:07:31] local.INFO: GPS data processed {"connection_id":173991,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:07:31] local.INFO: Acknowledgment sent {"connection_id":173991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:07:35] local.INFO: TCP Data received {"connection_id":171289,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3403f8012d34c9c006aa3d280009008021..."} 
[2026-09-05 07:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3403f8012d34c9c006aa3d280009008021..."} 
[2026-09-05 07:07:35] local.INFO: Processing buffer {"connection_id":171289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3403f8012d34c9c006aa3d280009008021..."} 
[2026-09-05 07:07:35] local.INFO: Packet analysis {"connection_id":171289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f34"} 
[2026-09-05 07:07:35] local.INFO: Extracted packet for processing {"connection_id":171289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f34"} 
[2026-09-05 07:07:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874374144001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788572075000,"timestamp_ms":1788572075000,"timestamp_seconds":1788572075,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3403f8"} 
[2026-09-05 07:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:07:35] 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-09-05 07: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 07:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874374144001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874374144001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:07:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:07:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874374144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":171289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:07:35] local.INFO: GPS data processed {"connection_id":171289,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:07:35] local.INFO: Acknowledgment sent {"connection_id":171289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:07:46] local.INFO: TCP Data received {"connection_id":171585,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:07:46] local.INFO: Processing buffer {"connection_id":171585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:07:46] local.INFO: IMEI packet received {"connection_id":171585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 07:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":171585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:07:57] local.INFO: TCP Data received {"connection_id":173992,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:07:57] local.INFO: Processing buffer {"connection_id":173992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:07:57] local.INFO: IMEI packet received {"connection_id":173992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":173992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:08:02] local.INFO: TCP Data received {"connection_id":173992,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:08:02] local.INFO: Processing buffer {"connection_id":173992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:08:02] local.INFO: IMEI packet received {"connection_id":173992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":173992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:08:02] local.INFO: TCP Data received {"connection_id":173991,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f35cd00012d7d358005c18370000e00041a..."} 
[2026-09-05 07:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f35cd00012d7d358005c18370000e00041a..."} 
[2026-09-05 07:08:02] local.INFO: Processing buffer {"connection_id":173991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f35cd00012d7d358005c18370000e00041a..."} 
[2026-09-05 07:08:02] local.INFO: Packet analysis {"connection_id":173991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f35"} 
[2026-09-05 07:08:02] local.INFO: Extracted packet for processing {"connection_id":173991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f35"} 
[2026-09-05 07:08:02] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":96568176,"longitude_deg":76.3180416,"latitude_deg":9.6568176,"altitude":14,"angle":4,"satellites":26,"speed":31,"hex_longitude":"2d7d3580","hex_latitude":"05c18370","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874479104001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128286485538406400,"note":"Value kept but may cause issues"} 
[2026-09-05 07:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021202659551459328,"note":"Value kept but may cause issues"} 
[2026-09-05 07:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788572192000,"timestamp_ms":1788572192000,"timestamp_seconds":1788572192,"priority":1,"record_length":96,"hex_timestamp":"000001a06f35cd00"} 
[2026-09-05 07:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:08: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-09-05 07: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-05 07:08:02] 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-09-05 07: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-09-05 07:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874479104001,"66":13537,"9":206,"85":12288,"24":31,"16":128286485538406400,"45":9021202659551459328},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-09-05 07:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874479104001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:08:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-05 07:08:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128286485538406400,"km_value":128286485538406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021202659551459328,"description":"Unknown IO ID 45"} 
[2026-09-05 07:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874479104001,"power":13537,"unknown_9":206,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":9021202659551459328}} 
[2026-09-05 07:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":173991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767156,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:08:02] local.INFO: GPS data processed {"connection_id":173991,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:08:02] local.INFO: Acknowledgment sent {"connection_id":173991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:08:03] local.INFO: TCP Data received {"connection_id":173992,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3403f8012d34c9c006aa3d280009008021..."} 
[2026-09-05 07:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3403f8012d34c9c006aa3d280009008021..."} 
[2026-09-05 07:08:03] local.INFO: Processing buffer {"connection_id":173992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3403f8012d34c9c006aa3d280009008021..."} 
[2026-09-05 07:08:03] local.INFO: Packet analysis {"connection_id":173992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f34"} 
[2026-09-05 07:08:03] local.INFO: Extracted packet for processing {"connection_id":173992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f34"} 
[2026-09-05 07:08:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874374144001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788572075000,"timestamp_ms":1788572075000,"timestamp_seconds":1788572075,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3403f8"} 
[2026-09-05 07:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:08:03] 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-09-05 07:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 07:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:08: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-09-05 07:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874374144001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874374144001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:08:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:08:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874374144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":173992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:08:03] local.INFO: GPS data processed {"connection_id":173992,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:08:03] local.INFO: Acknowledgment sent {"connection_id":173992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:08:26] local.INFO: TCP Data received {"connection_id":171588,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:08:26] local.INFO: Processing buffer {"connection_id":171588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:08:26] local.INFO: IMEI packet received {"connection_id":171588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":171588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:08:31] local.INFO: TCP Data received {"connection_id":171588,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:08:31] local.INFO: Processing buffer {"connection_id":171588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:08:31] local.INFO: IMEI packet received {"connection_id":171588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":171588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:08:31] local.INFO: TCP Data received {"connection_id":171588,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f361f08012d7d38c005c19fa0000b00071a..."} 
[2026-09-05 07:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f361f08012d7d38c005c19fa0000b00071a..."} 
[2026-09-05 07:08:31] local.INFO: Processing buffer {"connection_id":171588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f361f08012d7d38c005c19fa0000b00071a..."} 
[2026-09-05 07:08:31] local.INFO: Packet analysis {"connection_id":171588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f36"} 
[2026-09-05 07:08:31] local.INFO: Extracted packet for processing {"connection_id":171588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f36"} 
[2026-09-05 07:08:31] local.INFO: GPS Element Parsed {"raw_longitude":763181248,"raw_latitude":96575392,"longitude_deg":76.3181248,"latitude_deg":9.6575392,"altitude":11,"angle":7,"satellites":26,"speed":30,"hex_longitude":"2d7d38c0","hex_latitude":"05c19fa0","is_valid_coordinates":true} 
[2026-09-05 07:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874481152001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128286842020691968,"note":"Value kept but may cause issues"} 
[2026-09-05 07:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258190716465152,"note":"Value kept but may cause issues"} 
[2026-09-05 07:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788572213000,"timestamp_ms":1788572213000,"timestamp_seconds":1788572213,"priority":1,"record_length":96,"hex_timestamp":"000001a06f361f08"} 
[2026-09-05 07:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-05 07:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874481152001,"66":13820,"9":206,"85":12288,"24":30,"16":128286842020691968,"45":9022258190716465152},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-09-05 07:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874481152001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:08:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-05 07:08:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128286842020691968,"km_value":128286842020691.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258190716465152,"description":"Unknown IO ID 45"} 
[2026-09-05 07:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874481152001,"power":13820,"unknown_9":206,"unknown_85":12288,"ignition":30,"odometer":null,"unknown_45":9022258190716465152}} 
[2026-09-05 07:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":171588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767158,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:08:31] local.INFO: GPS data processed {"connection_id":171588,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:08:31] local.INFO: Acknowledgment sent {"connection_id":171588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:08:35] local.INFO: TCP Data received {"connection_id":173992,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3403f8012d34c9c006aa3d280009008021..."} 
[2026-09-05 07:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3403f8012d34c9c006aa3d280009008021..."} 
[2026-09-05 07:08:35] local.INFO: Processing buffer {"connection_id":173992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3403f8012d34c9c006aa3d280009008021..."} 
[2026-09-05 07:08:35] local.INFO: Packet analysis {"connection_id":173992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f34"} 
[2026-09-05 07:08:35] local.INFO: Extracted packet for processing {"connection_id":173992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f34"} 
[2026-09-05 07:08:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874374144001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788572075000,"timestamp_ms":1788572075000,"timestamp_seconds":1788572075,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3403f8"} 
[2026-09-05 07:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:08:35] 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-09-05 07: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 07:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874374144001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874374144001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:08:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:08:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874374144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":173992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:08:35] local.INFO: GPS data processed {"connection_id":173992,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:08:35] local.INFO: Acknowledgment sent {"connection_id":173992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:08:57] local.INFO: TCP Data received {"connection_id":171290,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:08:57] local.INFO: Processing buffer {"connection_id":171290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:08:57] local.INFO: IMEI packet received {"connection_id":171290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":171290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:09:02] local.INFO: TCP Data received {"connection_id":171290,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:09:02] local.INFO: Processing buffer {"connection_id":171290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:09:02] local.INFO: IMEI packet received {"connection_id":171290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":171290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:09:02] local.INFO: TCP Data received {"connection_id":171588,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f364618012d7d39c005c1c3c8000a00011a..."} 
[2026-09-05 07:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f364618012d7d39c005c1c3c8000a00011a..."} 
[2026-09-05 07:09:02] local.INFO: Processing buffer {"connection_id":171588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f364618012d7d39c005c1c3c8000a00011a..."} 
[2026-09-05 07:09:02] local.INFO: Packet analysis {"connection_id":171588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f36"} 
[2026-09-05 07:09:02] local.INFO: Extracted packet for processing {"connection_id":171588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f36"} 
[2026-09-05 07:09:02] local.INFO: GPS Element Parsed {"raw_longitude":763181504,"raw_latitude":96584648,"longitude_deg":76.3181504,"latitude_deg":9.6584648,"altitude":10,"angle":1,"satellites":26,"speed":43,"hex_longitude":"2d7d39c0","hex_latitude":"05c1c3c8","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874486528001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128287292992258048,"note":"Value kept but may cause issues"} 
[2026-09-05 07:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023172984392622080,"note":"Value kept but may cause issues"} 
[2026-09-05 07:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788572223000,"timestamp_ms":1788572223000,"timestamp_seconds":1788572223,"priority":1,"record_length":96,"hex_timestamp":"000001a06f364618"} 
[2026-09-05 07:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:09: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-09-05 07: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-05 07:09:02] 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-09-05 07: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-09-05 07:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874486528001,"66":13689,"9":206,"85":12288,"24":43,"16":128287292992258048,"45":9023172984392622080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-09-05 07:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874486528001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:09:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-05 07:09:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128287292992258048,"km_value":128287292992258.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023172984392622080,"description":"Unknown IO ID 45"} 
[2026-09-05 07:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874486528001,"power":13689,"unknown_9":206,"unknown_85":12288,"ignition":43,"odometer":null,"unknown_45":9023172984392622080}} 
[2026-09-05 07:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":171588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767160,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:09:02] local.INFO: GPS data processed {"connection_id":171588,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:09:02] local.INFO: Acknowledgment sent {"connection_id":171588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:09:03] local.INFO: TCP Data received {"connection_id":171290,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3403f8012d34c9c006aa3d280009008021..."} 
[2026-09-05 07:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3403f8012d34c9c006aa3d280009008021..."} 
[2026-09-05 07:09:03] local.INFO: Processing buffer {"connection_id":171290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3403f8012d34c9c006aa3d280009008021..."} 
[2026-09-05 07:09:03] local.INFO: Packet analysis {"connection_id":171290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f34"} 
[2026-09-05 07:09:03] local.INFO: Extracted packet for processing {"connection_id":171290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f34"} 
[2026-09-05 07:09:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874374144001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788572075000,"timestamp_ms":1788572075000,"timestamp_seconds":1788572075,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3403f8"} 
[2026-09-05 07:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:09:03] 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-09-05 07:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 07:09: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-09-05 07:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:09: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-09-05 07:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874374144001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874374144001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:09:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:09:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874374144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":171290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:09:03] local.INFO: GPS data processed {"connection_id":171290,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:09:03] local.INFO: Acknowledgment sent {"connection_id":171290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:09:26] local.INFO: TCP Data received {"connection_id":173993,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:09:26] local.INFO: Processing buffer {"connection_id":173993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:09:26] local.INFO: IMEI packet received {"connection_id":173993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":173993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:09:33] local.INFO: TCP Data received {"connection_id":173993,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:09:33] local.INFO: Processing buffer {"connection_id":173993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:09:33] local.INFO: IMEI packet received {"connection_id":173993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":173993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:09:34] local.INFO: TCP Data received {"connection_id":173993,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f367110012d7d3b4005c1e768000a00051a..."} 
[2026-09-05 07:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f367110012d7d3b4005c1e768000a00051a..."} 
[2026-09-05 07:09:34] local.INFO: Processing buffer {"connection_id":173993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f367110012d7d3b4005c1e768000a00051a..."} 
[2026-09-05 07:09:34] local.INFO: Packet analysis {"connection_id":173993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f36"} 
[2026-09-05 07:09:34] local.INFO: Extracted packet for processing {"connection_id":173993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f36"} 
[2026-09-05 07:09:34] local.INFO: GPS Element Parsed {"raw_longitude":763181888,"raw_latitude":96593768,"longitude_deg":76.3181888,"latitude_deg":9.6593768,"altitude":10,"angle":5,"satellites":26,"speed":21,"hex_longitude":"2d7d3b40","hex_latitude":"05c1e768","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874489088001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128287735373889536,"note":"Value kept but may cause issues"} 
[2026-09-05 07:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023454459371702272,"note":"Value kept but may cause issues"} 
[2026-09-05 07:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788572234000,"timestamp_ms":1788572234000,"timestamp_seconds":1788572234,"priority":1,"record_length":96,"hex_timestamp":"000001a06f367110"} 
[2026-09-05 07:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:09: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-09-05 07: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-05 07:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874489088001,"66":12645,"9":206,"85":12288,"24":21,"16":128287735373889536,"45":9023454459371702272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-09-05 07:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874489088001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:09:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-05 07:09:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128287735373889536,"km_value":128287735373889.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023454459371702272,"description":"Unknown IO ID 45"} 
[2026-09-05 07:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874489088001,"power":12645,"unknown_9":206,"unknown_85":12288,"ignition":21,"odometer":null,"unknown_45":9023454459371702272}} 
[2026-09-05 07:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":173993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:09:34] local.INFO: GPS data processed {"connection_id":173993,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:09:34] local.INFO: Acknowledgment sent {"connection_id":173993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:09:34] local.INFO: TCP Data received {"connection_id":171290,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3403f8012d34c9c006aa3d280009008021..."} 
[2026-09-05 07:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3403f8012d34c9c006aa3d280009008021..."} 
[2026-09-05 07:09:34] local.INFO: Processing buffer {"connection_id":171290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3403f8012d34c9c006aa3d280009008021..."} 
[2026-09-05 07:09:34] local.INFO: Packet analysis {"connection_id":171290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f34"} 
[2026-09-05 07:09:34] local.INFO: Extracted packet for processing {"connection_id":171290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f34"} 
[2026-09-05 07:09:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874374144001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788572075000,"timestamp_ms":1788572075000,"timestamp_seconds":1788572075,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3403f8"} 
[2026-09-05 07:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:09:34] 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-09-05 07:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 07:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:09:34] 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-09-05 07:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874374144001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874374144001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:09:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:09:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874374144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":171290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:09:34] local.INFO: GPS data processed {"connection_id":171290,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:09:34] local.INFO: Acknowledgment sent {"connection_id":171290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:09:57] local.INFO: TCP Data received {"connection_id":172689,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:09:57] local.INFO: Processing buffer {"connection_id":172689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:09:57] local.INFO: IMEI packet received {"connection_id":172689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":172689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:10:02] local.INFO: TCP Data received {"connection_id":172689,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:10:02] local.INFO: Processing buffer {"connection_id":172689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:10:02] local.INFO: IMEI packet received {"connection_id":172689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":172689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:10:03] local.INFO: TCP Data received {"connection_id":172689,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3403f8012d34c9c006aa3d280009008021..."} 
[2026-09-05 07:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3403f8012d34c9c006aa3d280009008021..."} 
[2026-09-05 07:10:03] local.INFO: Processing buffer {"connection_id":172689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3403f8012d34c9c006aa3d280009008021..."} 
[2026-09-05 07:10:03] local.INFO: Packet analysis {"connection_id":172689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f34"} 
[2026-09-05 07:10:03] local.INFO: Extracted packet for processing {"connection_id":172689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f34"} 
[2026-09-05 07:10:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874374144001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788572075000,"timestamp_ms":1788572075000,"timestamp_seconds":1788572075,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3403f8"} 
[2026-09-05 07:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:10:03] 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-09-05 07:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 07:10: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-09-05 07:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874374144001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874374144001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:10:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:10:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874374144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":172689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:10:03] local.INFO: GPS data processed {"connection_id":172689,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:10:03] local.INFO: Acknowledgment sent {"connection_id":172689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:10:05] local.INFO: TCP Data received {"connection_id":173993,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f36bf30012d7d3c0005c1f0d00008000019..."} 
[2026-09-05 07:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f36bf30012d7d3c0005c1f0d00008000019..."} 
[2026-09-05 07:10:05] local.INFO: Processing buffer {"connection_id":173993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f36bf30012d7d3c0005c1f0d00008000019..."} 
[2026-09-05 07:10:05] local.INFO: Packet analysis {"connection_id":173993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f36"} 
[2026-09-05 07:10:05] local.INFO: Extracted packet for processing {"connection_id":173993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f36"} 
[2026-09-05 07:10:05] local.INFO: GPS Element Parsed {"raw_longitude":763182080,"raw_latitude":96596176,"longitude_deg":76.318208,"latitude_deg":9.6596176,"altitude":8,"angle":0,"satellites":25,"speed":0,"hex_longitude":"2d7d3c00","hex_latitude":"05c1f0d0","is_valid_coordinates":true} 
[2026-09-05 07:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874491904001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128287855632973824,"note":"Value kept but may cause issues"} 
[2026-09-05 07:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023876671839102976,"note":"Value kept but may cause issues"} 
[2026-09-05 07:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788572254000,"timestamp_ms":1788572254000,"timestamp_seconds":1788572254,"priority":1,"record_length":96,"hex_timestamp":"000001a06f36bf30"} 
[2026-09-05 07:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:10: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-09-05 07:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-05 07:10: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-09-05 07:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874491904001,"66":13276,"9":206,"85":12288,"24":0,"16":128287855632973824,"45":9023876671839102976},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-09-05 07:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874491904001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:10:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-05 07:10:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128287855632973824,"km_value":128287855632973.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023876671839102976,"description":"Unknown IO ID 45"} 
[2026-09-05 07:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874491904001,"power":13276,"unknown_9":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9023876671839102976}} 
[2026-09-05 07:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":173993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767165,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:10:05] local.INFO: GPS data processed {"connection_id":173993,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:10:05] local.INFO: Acknowledgment sent {"connection_id":173993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:10:26] local.INFO: TCP Data received {"connection_id":171291,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171291,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:10:26] local.INFO: Processing buffer {"connection_id":171291,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:10:26] local.INFO: IMEI packet received {"connection_id":171291,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":171291,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:10:31] local.INFO: TCP Data received {"connection_id":171291,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171291,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:10:31] local.INFO: Processing buffer {"connection_id":171291,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:10:31] local.INFO: IMEI packet received {"connection_id":171291,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":171291,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:10:31] local.INFO: TCP Data received {"connection_id":171291,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f371138012d7d3c0005c1f0d0000800001c..."} 
[2026-09-05 07:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f371138012d7d3c0005c1f0d0000800001c..."} 
[2026-09-05 07:10:31] local.INFO: Processing buffer {"connection_id":171291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f371138012d7d3c0005c1f0d0000800001c..."} 
[2026-09-05 07:10:31] local.INFO: Packet analysis {"connection_id":171291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f37"} 
[2026-09-05 07:10:31] local.INFO: Extracted packet for processing {"connection_id":171291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f37"} 
[2026-09-05 07:10:31] local.INFO: GPS Element Parsed {"raw_longitude":763182080,"raw_latitude":96596176,"longitude_deg":76.318208,"latitude_deg":9.6596176,"altitude":8,"angle":0,"satellites":28,"speed":0,"hex_longitude":"2d7d3c00","hex_latitude":"05c1f0d0","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874497024001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128287855632973824,"note":"Value kept but may cause issues"} 
[2026-09-05 07:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024087778072252416,"note":"Value kept but may cause issues"} 
[2026-09-05 07:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788572275000,"timestamp_ms":1788572275000,"timestamp_seconds":1788572275,"priority":1,"record_length":96,"hex_timestamp":"000001a06f371138"} 
[2026-09-05 07:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-05 07:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874497024001,"66":13493,"9":206,"85":12288,"24":0,"16":128287855632973824,"45":9024087778072252416},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-09-05 07:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874497024001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:10:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-05 07:10:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128287855632973824,"km_value":128287855632973.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024087778072252416,"description":"Unknown IO ID 45"} 
[2026-09-05 07:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874497024001,"power":13493,"unknown_9":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9024087778072252416}} 
[2026-09-05 07:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":171291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767166,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:10:31] local.INFO: GPS data processed {"connection_id":171291,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:10:31] local.INFO: Acknowledgment sent {"connection_id":171291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:10:34] local.INFO: TCP Data received {"connection_id":172689,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a06f389bc0012d34c9c006aa3d280009008020..."} 
[2026-09-05 07:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f389bc0012d34c9c006aa3d280009008020..."} 
[2026-09-05 07:10:34] local.INFO: Processing buffer {"connection_id":172689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f389bc0012d34c9c006aa3d280009008020..."} 
[2026-09-05 07:10:34] local.INFO: Packet analysis {"connection_id":172689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f38"} 
[2026-09-05 07:10:34] local.INFO: Extracted packet for processing {"connection_id":172689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f38"} 
[2026-09-05 07:10:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874451200001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788572376000,"timestamp_ms":1788572376000,"timestamp_seconds":1788572376,"priority":1,"record_length":96,"hex_timestamp":"000001a06f389bc0"} 
[2026-09-05 07:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:10:34] 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-09-05 07:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-05 07:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874451200001,"66":25495,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874451200001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:10:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:10:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874451200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":172689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:10:34] local.INFO: GPS data processed {"connection_id":172689,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:10:34] local.INFO: Acknowledgment sent {"connection_id":172689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:10:57] local.INFO: TCP Data received {"connection_id":171589,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:10:57] local.INFO: Processing buffer {"connection_id":171589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:10:57] local.INFO: IMEI packet received {"connection_id":171589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":171589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:11:02] local.INFO: TCP Data received {"connection_id":171589,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:11:02] local.INFO: Processing buffer {"connection_id":171589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:11:02] local.INFO: IMEI packet received {"connection_id":171589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":171589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:11:02] local.INFO: TCP Data received {"connection_id":171291,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f376340012d7d3c0005c1f0d0000800001b..."} 
[2026-09-05 07:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f376340012d7d3c0005c1f0d0000800001b..."} 
[2026-09-05 07:11:02] local.INFO: Processing buffer {"connection_id":171291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f376340012d7d3c0005c1f0d0000800001b..."} 
[2026-09-05 07:11:02] local.INFO: Packet analysis {"connection_id":171291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f37"} 
[2026-09-05 07:11:02] local.INFO: Extracted packet for processing {"connection_id":171291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f37"} 
[2026-09-05 07:11:02] local.INFO: GPS Element Parsed {"raw_longitude":763182080,"raw_latitude":96596176,"longitude_deg":76.318208,"latitude_deg":9.6596176,"altitude":8,"angle":0,"satellites":27,"speed":0,"hex_longitude":"2d7d3c00","hex_latitude":"05c1f0d0","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874502400001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128287855632973824,"note":"Value kept but may cause issues"} 
[2026-09-05 07:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024087778072252416,"note":"Value kept but may cause issues"} 
[2026-09-05 07:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788572296000,"timestamp_ms":1788572296000,"timestamp_seconds":1788572296,"priority":1,"record_length":96,"hex_timestamp":"000001a06f376340"} 
[2026-09-05 07:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-05 07:11:02] 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-09-05 07: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-09-05 07:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874502400001,"66":12504,"9":206,"85":12288,"24":0,"16":128287855632973824,"45":9024087778072252416},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-09-05 07:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874502400001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:11:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-05 07:11:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128287855632973824,"km_value":128287855632973.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024087778072252416,"description":"Unknown IO ID 45"} 
[2026-09-05 07:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874502400001,"power":12504,"unknown_9":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9024087778072252416}} 
[2026-09-05 07:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":171291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767168,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:11:02] local.INFO: GPS data processed {"connection_id":171291,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:11:02] local.INFO: Acknowledgment sent {"connection_id":171291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:11:03] local.INFO: TCP Data received {"connection_id":171589,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a06f389bc0012d34c9c006aa3d280009008020..."} 
[2026-09-05 07:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f389bc0012d34c9c006aa3d280009008020..."} 
[2026-09-05 07:11:03] local.INFO: Processing buffer {"connection_id":171589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f389bc0012d34c9c006aa3d280009008020..."} 
[2026-09-05 07:11:03] local.INFO: Packet analysis {"connection_id":171589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f38"} 
[2026-09-05 07:11:03] local.INFO: Extracted packet for processing {"connection_id":171589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f38"} 
[2026-09-05 07:11:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874451200001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788572376000,"timestamp_ms":1788572376000,"timestamp_seconds":1788572376,"priority":1,"record_length":96,"hex_timestamp":"000001a06f389bc0"} 
[2026-09-05 07:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:11:03] 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-09-05 07: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":129,"data_length":795,"current_offset":136} 
[2026-09-05 07:11: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-09-05 07: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-09-05 07:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874451200001,"66":25495,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874451200001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:11:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:11:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874451200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":171589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:11:03] local.INFO: GPS data processed {"connection_id":171589,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:11:03] local.INFO: Acknowledgment sent {"connection_id":171589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:11:25] local.INFO: TCP Data received {"connection_id":173994,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:11:25] local.INFO: Processing buffer {"connection_id":173994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:11:25] local.INFO: IMEI packet received {"connection_id":173994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":173994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:11:30] local.INFO: TCP Data received {"connection_id":173994,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:11:30] local.INFO: Processing buffer {"connection_id":173994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:11:30] local.INFO: IMEI packet received {"connection_id":173994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":173994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:11:31] local.INFO: TCP Data received {"connection_id":173994,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f37b548012d7d3c0005c1f310000800041c..."} 
[2026-09-05 07:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f37b548012d7d3c0005c1f310000800041c..."} 
[2026-09-05 07:11:31] local.INFO: Processing buffer {"connection_id":173994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f37b548012d7d3c0005c1f310000800041c..."} 
[2026-09-05 07:11:31] local.INFO: Packet analysis {"connection_id":173994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f37"} 
[2026-09-05 07:11:31] local.INFO: Extracted packet for processing {"connection_id":173994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f37"} 
[2026-09-05 07:11:31] local.INFO: GPS Element Parsed {"raw_longitude":763182080,"raw_latitude":96596752,"longitude_deg":76.318208,"latitude_deg":9.6596752,"altitude":8,"angle":4,"satellites":28,"speed":12,"hex_longitude":"2d7d3c00","hex_latitude":"05c1f310","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874507776001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128287885697744896,"note":"Value kept but may cause issues"} 
[2026-09-05 07:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024087778072252416,"note":"Value kept but may cause issues"} 
[2026-09-05 07:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788572317000,"timestamp_ms":1788572317000,"timestamp_seconds":1788572317,"priority":1,"record_length":96,"hex_timestamp":"000001a06f37b548"} 
[2026-09-05 07:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:11: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-09-05 07: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 07:11: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-09-05 07: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-09-05 07:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874507776001,"66":13526,"9":206,"85":12288,"24":12,"16":128287885697744896,"45":9024087778072252416},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-09-05 07:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874507776001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:11:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-05 07:11:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128287885697744896,"km_value":128287885697744.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024087778072252416,"description":"Unknown IO ID 45"} 
[2026-09-05 07:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874507776001,"power":13526,"unknown_9":206,"unknown_85":12288,"ignition":12,"odometer":null,"unknown_45":9024087778072252416}} 
[2026-09-05 07:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":173994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767170,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:11:31] local.INFO: GPS data processed {"connection_id":173994,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:11:31] local.INFO: Acknowledgment sent {"connection_id":173994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:11:35] local.INFO: TCP Data received {"connection_id":171589,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a06f389bc0012d34c9c006aa3d280009008020..."} 
[2026-09-05 07:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f389bc0012d34c9c006aa3d280009008020..."} 
[2026-09-05 07:11:35] local.INFO: Processing buffer {"connection_id":171589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f389bc0012d34c9c006aa3d280009008020..."} 
[2026-09-05 07:11:35] local.INFO: Packet analysis {"connection_id":171589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f38"} 
[2026-09-05 07:11:35] local.INFO: Extracted packet for processing {"connection_id":171589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f38"} 
[2026-09-05 07:11:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874451200001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788572376000,"timestamp_ms":1788572376000,"timestamp_seconds":1788572376,"priority":1,"record_length":96,"hex_timestamp":"000001a06f389bc0"} 
[2026-09-05 07:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:11:35] 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-09-05 07:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-05 07:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:11:35] 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-09-05 07:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874451200001,"66":25495,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874451200001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:11:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:11:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874451200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":171589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:11:35] local.INFO: GPS data processed {"connection_id":171589,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:11:35] local.INFO: Acknowledgment sent {"connection_id":171589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:11:57] local.INFO: TCP Data received {"connection_id":171590,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:11:57] local.INFO: Processing buffer {"connection_id":171590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:11:57] local.INFO: IMEI packet received {"connection_id":171590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":171590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:12:02] local.INFO: TCP Data received {"connection_id":173994,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3a7850012d7d470005c35708000b00021d..."} 
[2026-09-05 07:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3a7850012d7d470005c35708000b00021d..."} 
[2026-09-05 07:12:02] local.INFO: Processing buffer {"connection_id":173994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3a7850012d7d470005c35708000b00021d..."} 
[2026-09-05 07:12:02] local.INFO: Packet analysis {"connection_id":173994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f3a"} 
[2026-09-05 07:12:02] local.INFO: Extracted packet for processing {"connection_id":173994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f3a"} 
[2026-09-05 07:12:02] local.INFO: GPS Element Parsed {"raw_longitude":763184896,"raw_latitude":96687880,"longitude_deg":76.3184896,"latitude_deg":9.668788,"altitude":11,"angle":2,"satellites":29,"speed":20,"hex_longitude":"2d7d4700","hex_latitude":"05c35708","is_valid_coordinates":true} 
[2026-09-05 07:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874558208001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128292365348634624,"note":"Value kept but may cause issues"} 
[2026-09-05 07:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027184002839166976,"note":"Value kept but may cause issues"} 
[2026-09-05 07:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788572498000,"timestamp_ms":1788572498000,"timestamp_seconds":1788572498,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3a7850"} 
[2026-09-05 07:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:12:02] 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-09-05 07:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-05 07:12:02] 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-09-05 07:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874558208001,"66":13722,"135":206,"85":12288,"24":20,"16":128292365348634624,"45":9027184002839166976},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-09-05 07:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874558208001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:12:02] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-05 07:12:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128292365348634624,"km_value":128292365348634.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027184002839166976,"description":"Unknown IO ID 45"} 
[2026-09-05 07:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874558208001,"power":13722,"unknown_135":206,"unknown_85":12288,"ignition":20,"odometer":null,"unknown_45":9027184002839166976}} 
[2026-09-05 07:12:02] local.INFO: TCP Data received {"connection_id":171590,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:12:02] local.INFO: Processing buffer {"connection_id":171590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:12:02] local.INFO: IMEI packet received {"connection_id":171590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":171590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":173994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767172,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:12:02] local.INFO: GPS data processed {"connection_id":173994,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:12:02] local.INFO: Acknowledgment sent {"connection_id":173994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:12:03] local.INFO: TCP Data received {"connection_id":171590,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a06f389bc0012d34c9c006aa3d280009008020..."} 
[2026-09-05 07:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f389bc0012d34c9c006aa3d280009008020..."} 
[2026-09-05 07:12:03] local.INFO: Processing buffer {"connection_id":171590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f389bc0012d34c9c006aa3d280009008020..."} 
[2026-09-05 07:12:03] local.INFO: Packet analysis {"connection_id":171590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f38"} 
[2026-09-05 07:12:03] local.INFO: Extracted packet for processing {"connection_id":171590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f38"} 
[2026-09-05 07:12:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874451200001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788572376000,"timestamp_ms":1788572376000,"timestamp_seconds":1788572376,"priority":1,"record_length":96,"hex_timestamp":"000001a06f389bc0"} 
[2026-09-05 07:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:12:03] 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-09-05 07: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":129,"data_length":795,"current_offset":136} 
[2026-09-05 07:12: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-09-05 07: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-09-05 07:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:12: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-09-05 07:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874451200001,"66":25495,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874451200001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:12:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:12:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874451200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":171590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:12:03] local.INFO: GPS data processed {"connection_id":171590,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:12:03] local.INFO: Acknowledgment sent {"connection_id":171590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:12:27] local.INFO: TCP Data received {"connection_id":173995,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:12:27] local.INFO: Processing buffer {"connection_id":173995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:12:27] local.INFO: IMEI packet received {"connection_id":173995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":173995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:12:31] local.INFO: TCP Data received {"connection_id":173995,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:12:31] local.INFO: Processing buffer {"connection_id":173995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:12:31] local.INFO: IMEI packet received {"connection_id":173995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":173995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:12:35] local.INFO: TCP Data received {"connection_id":171590,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a06f389bc0012d34c9c006aa3d280009008020..."} 
[2026-09-05 07:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f389bc0012d34c9c006aa3d280009008020..."} 
[2026-09-05 07:12:35] local.INFO: Processing buffer {"connection_id":171590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f389bc0012d34c9c006aa3d280009008020..."} 
[2026-09-05 07:12:35] local.INFO: Packet analysis {"connection_id":171590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f38"} 
[2026-09-05 07:12:35] local.INFO: Extracted packet for processing {"connection_id":171590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f38"} 
[2026-09-05 07:12:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874451200001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788572376000,"timestamp_ms":1788572376000,"timestamp_seconds":1788572376,"priority":1,"record_length":96,"hex_timestamp":"000001a06f389bc0"} 
[2026-09-05 07:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:12:35] 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-09-05 07: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-05 07:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874451200001,"66":25495,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874451200001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:12:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:12:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874451200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":171590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:12:35] local.INFO: GPS data processed {"connection_id":171590,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:12:35] local.INFO: Acknowledgment sent {"connection_id":171590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:12:36] local.INFO: TCP Data received {"connection_id":173995,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:12:36] local.INFO: Processing buffer {"connection_id":173995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:12:36] local.INFO: IMEI packet received {"connection_id":173995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":173995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:12:36] local.INFO: TCP Data received {"connection_id":173995,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3aa730012d7d4a4005c37c98000a00031d..."} 
[2026-09-05 07:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3aa730012d7d4a4005c37c98000a00031d..."} 
[2026-09-05 07:12:36] local.INFO: Processing buffer {"connection_id":173995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3aa730012d7d4a4005c37c98000a00031d..."} 
[2026-09-05 07:12:36] local.INFO: Packet analysis {"connection_id":173995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f3a"} 
[2026-09-05 07:12:36] local.INFO: Extracted packet for processing {"connection_id":173995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f3a"} 
[2026-09-05 07:12:36] local.INFO: GPS Element Parsed {"raw_longitude":763185728,"raw_latitude":96697496,"longitude_deg":76.3185728,"latitude_deg":9.6697496,"altitude":10,"angle":3,"satellites":29,"speed":36,"hex_longitude":"2d7d4a40","hex_latitude":"05c37c98","is_valid_coordinates":true} 
[2026-09-05 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-09-05 07:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874559488001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128292829205102592,"note":"Value kept but may cause issues"} 
[2026-09-05 07:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027184002839545856,"note":"Value kept but may cause issues"} 
[2026-09-05 07:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788572510000,"timestamp_ms":1788572510000,"timestamp_seconds":1788572510,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3aa730"} 
[2026-09-05 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-09-05 07:12: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-09-05 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":154,"data_length":795,"current_offset":136} 
[2026-09-05 07:12:36] 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-09-05 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-09-05 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-09-05 07:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874559488001,"66":13559,"135":206,"85":12288,"24":36,"16":128292829205102592,"45":9027184002839545856},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-09-05 07:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874559488001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:12:36] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-05 07:12:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128292829205102592,"km_value":128292829205102.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027184002839545856,"description":"Unknown IO ID 45"} 
[2026-09-05 07:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874559488001,"power":13559,"unknown_135":206,"unknown_85":12288,"ignition":36,"odometer":null,"unknown_45":9027184002839545856}} 
[2026-09-05 07:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":173995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767175,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:12:37] local.INFO: GPS data processed {"connection_id":173995,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:12:37] local.INFO: Acknowledgment sent {"connection_id":173995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:12:57] local.INFO: TCP Data received {"connection_id":171591,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:12:58] local.INFO: Processing buffer {"connection_id":171591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:12:58] local.INFO: IMEI packet received {"connection_id":171591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":171591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:13:02] local.INFO: TCP Data received {"connection_id":171591,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:13:02] local.INFO: Processing buffer {"connection_id":171591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:13:02] local.INFO: IMEI packet received {"connection_id":171591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":171591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:13:03] local.INFO: TCP Data received {"connection_id":171591,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06f389bc0012d34c9c006aa3d280009008020..."} 
[2026-09-05 07:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f389bc0012d34c9c006aa3d280009008020..."} 
[2026-09-05 07:13:03] local.INFO: Processing buffer {"connection_id":171591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f389bc0012d34c9c006aa3d280009008020..."} 
[2026-09-05 07:13:03] local.INFO: Packet analysis {"connection_id":171591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f38"} 
[2026-09-05 07:13:03] local.INFO: Extracted packet for processing {"connection_id":171591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f38"} 
[2026-09-05 07:13:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874451200001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788572376000,"timestamp_ms":1788572376000,"timestamp_seconds":1788572376,"priority":1,"record_length":96,"hex_timestamp":"000001a06f389bc0"} 
[2026-09-05 07:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:13:03] 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-09-05 07: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":129,"data_length":795,"current_offset":136} 
[2026-09-05 07:13: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-09-05 07: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-09-05 07:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07: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-09-05 07:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874451200001,"66":25495,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874451200001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:13:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:13:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874451200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":171591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:13:03] local.INFO: GPS data processed {"connection_id":171591,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:13:03] local.INFO: Acknowledgment sent {"connection_id":171591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:13:08] local.INFO: TCP Data received {"connection_id":173995,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3aca58012d7d4a0005c3a120000a01641d..."} 
[2026-09-05 07:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3aca58012d7d4a0005c3a120000a01641d..."} 
[2026-09-05 07:13:08] local.INFO: Processing buffer {"connection_id":173995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3aca58012d7d4a0005c3a120000a01641d..."} 
[2026-09-05 07:13:08] local.INFO: Packet analysis {"connection_id":173995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f3a"} 
[2026-09-05 07:13:08] local.INFO: Extracted packet for processing {"connection_id":173995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f3a"} 
[2026-09-05 07:13:08] local.INFO: GPS Element Parsed {"raw_longitude":763185664,"raw_latitude":96706848,"longitude_deg":76.3185664,"latitude_deg":9.6706848,"altitude":10,"angle":356,"satellites":29,"speed":44,"hex_longitude":"2d7d4a00","hex_latitude":"05c3a120","is_valid_coordinates":true} 
[2026-09-05 07:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874562560001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128293284471635968,"note":"Value kept but may cause issues"} 
[2026-09-05 07:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028098796516317184,"note":"Value kept but may cause issues"} 
[2026-09-05 07:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788572519000,"timestamp_ms":1788572519000,"timestamp_seconds":1788572519,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3aca58"} 
[2026-09-05 07:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:13: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-09-05 07:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-05 07:13: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-09-05 07:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874562560001,"66":13906,"104":206,"85":12288,"24":44,"16":128293284471635968,"45":9028098796516317184},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-05 07:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874562560001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:13:08] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-05 07:13:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128293284471635968,"km_value":128293284471635.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028098796516317184,"description":"Unknown IO ID 45"} 
[2026-09-05 07:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874562560001,"power":13906,"unknown_104":206,"unknown_85":12288,"ignition":44,"odometer":null,"unknown_45":9028098796516317184}} 
[2026-09-05 07:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":173995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767177,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:13:08] local.INFO: GPS data processed {"connection_id":173995,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:13:08] local.INFO: Acknowledgment sent {"connection_id":173995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:13:21] local.INFO: TCP Data received {"connection_id":172690,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:13:21] local.INFO: Processing buffer {"connection_id":172690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:13:21] local.INFO: IMEI packet received {"connection_id":172690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 07:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":172690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:13:26] local.INFO: TCP Data received {"connection_id":173996,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173996,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:13:26] local.INFO: Processing buffer {"connection_id":173996,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:13:26] local.INFO: IMEI packet received {"connection_id":173996,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":173996,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:13:27] local.INFO: TCP Data received {"connection_id":173996,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173996,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:13:27] local.INFO: Processing buffer {"connection_id":173996,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:13:27] local.INFO: IMEI packet received {"connection_id":173996,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":173996,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:13:31] local.INFO: TCP Data received {"connection_id":173996,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173996,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:13:31] local.INFO: Processing buffer {"connection_id":173996,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:13:31] local.INFO: IMEI packet received {"connection_id":173996,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":173996,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:13:31] local.INFO: TCP Data received {"connection_id":173996,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3ae998012d7d46c005c3c780000a015d1d..."} 
[2026-09-05 07:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3ae998012d7d46c005c3c780000a015d1d..."} 
[2026-09-05 07:13:31] local.INFO: Processing buffer {"connection_id":173996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3ae998012d7d46c005c3c780000a015d1d..."} 
[2026-09-05 07:13:31] local.INFO: Packet analysis {"connection_id":173996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f3a"} 
[2026-09-05 07:13:31] local.INFO: Extracted packet for processing {"connection_id":173996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f3a"} 
[2026-09-05 07:13:31] local.INFO: GPS Element Parsed {"raw_longitude":763184832,"raw_latitude":96716672,"longitude_deg":76.3184832,"latitude_deg":9.6716672,"altitude":10,"angle":349,"satellites":29,"speed":50,"hex_longitude":"2d7d46c0","hex_latitude":"05c3c780","is_valid_coordinates":true} 
[2026-09-05 07:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874564864001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128293765507973120,"note":"Value kept but may cause issues"} 
[2026-09-05 07:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028028427774533632,"note":"Value kept but may cause issues"} 
[2026-09-05 07:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788572527000,"timestamp_ms":1788572527000,"timestamp_seconds":1788572527,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3ae998"} 
[2026-09-05 07:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:13: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-09-05 07:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-05 07:13: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-09-05 07:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874564864001,"66":13798,"104":206,"85":12288,"24":50,"16":128293765507973120,"45":9028028427774533632},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-05 07:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874564864001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:13:31] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-05 07:13:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128293765507973120,"km_value":128293765507973.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028028427774533632,"description":"Unknown IO ID 45"} 
[2026-09-05 07:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874564864001,"power":13798,"unknown_104":206,"unknown_85":12288,"ignition":50,"odometer":null,"unknown_45":9028028427774533632}} 
[2026-09-05 07:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":173996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:13:31] local.INFO: GPS data processed {"connection_id":173996,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:13:31] local.INFO: Acknowledgment sent {"connection_id":173996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:13:32] local.INFO: TCP Data received {"connection_id":173996,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3b04f0012d7d400005c3e9e0000701611c..."} 
[2026-09-05 07:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3b04f0012d7d400005c3e9e0000701611c..."} 
[2026-09-05 07:13:32] local.INFO: Processing buffer {"connection_id":173996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3b04f0012d7d400005c3e9e0000701611c..."} 
[2026-09-05 07:13:32] local.INFO: Packet analysis {"connection_id":173996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f3b"} 
[2026-09-05 07:13:32] local.INFO: Extracted packet for processing {"connection_id":173996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f3b"} 
[2026-09-05 07:13:32] local.INFO: GPS Element Parsed {"raw_longitude":763183104,"raw_latitude":96725472,"longitude_deg":76.3183104,"latitude_deg":9.6725472,"altitude":7,"angle":353,"satellites":28,"speed":53,"hex_longitude":"2d7d4000","hex_latitude":"05c3e9e0","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874566912001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128294199299670016,"note":"Value kept but may cause issues"} 
[2026-09-05 07:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027113634102738944,"note":"Value kept but may cause issues"} 
[2026-09-05 07:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788572534000,"timestamp_ms":1788572534000,"timestamp_seconds":1788572534,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3b04f0"} 
[2026-09-05 07:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:13:32] 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-09-05 07: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 07:13: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-09-05 07: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-09-05 07:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874566912001,"66":13450,"104":206,"85":12288,"24":53,"16":128294199299670016,"45":9027113634102738944},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-05 07:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874566912001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:13:32] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-05 07:13:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128294199299670016,"km_value":128294199299670.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027113634102738944,"description":"Unknown IO ID 45"} 
[2026-09-05 07:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874566912001,"power":13450,"unknown_104":206,"unknown_85":12288,"ignition":53,"odometer":null,"unknown_45":9027113634102738944}} 
[2026-09-05 07:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":173996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767179,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:13:32] local.INFO: GPS data processed {"connection_id":173996,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:13:32] local.INFO: Acknowledgment sent {"connection_id":173996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:13:34] local.INFO: TCP Data received {"connection_id":171591,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06f389bc0012d34c9c006aa3d280009008020..."} 
[2026-09-05 07:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f389bc0012d34c9c006aa3d280009008020..."} 
[2026-09-05 07:13:34] local.INFO: Processing buffer {"connection_id":171591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f389bc0012d34c9c006aa3d280009008020..."} 
[2026-09-05 07:13:34] local.INFO: Packet analysis {"connection_id":171591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f38"} 
[2026-09-05 07:13:34] local.INFO: Extracted packet for processing {"connection_id":171591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f38"} 
[2026-09-05 07:13:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874451200001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788572376000,"timestamp_ms":1788572376000,"timestamp_seconds":1788572376,"priority":1,"record_length":96,"hex_timestamp":"000001a06f389bc0"} 
[2026-09-05 07:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:13:34] 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-09-05 07: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-05 07:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07: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-09-05 07:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874451200001,"66":25495,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874451200001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:13:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:13:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874451200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":171591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:13:34] local.INFO: GPS data processed {"connection_id":171591,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:13:34] local.INFO: Acknowledgment sent {"connection_id":171591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:13:57] local.INFO: TCP Data received {"connection_id":172691,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:13:57] local.INFO: Processing buffer {"connection_id":172691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:13:57] local.INFO: IMEI packet received {"connection_id":172691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":172691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:14:02] local.INFO: TCP Data received {"connection_id":172691,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:14:02] local.INFO: Processing buffer {"connection_id":172691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:14:02] local.INFO: IMEI packet received {"connection_id":172691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":172691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:14:03] local.INFO: TCP Data received {"connection_id":172691,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a06f389bc0012d34c9c006aa3d280009008020..."} 
[2026-09-05 07:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f389bc0012d34c9c006aa3d280009008020..."} 
[2026-09-05 07:14:03] local.INFO: Processing buffer {"connection_id":172691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f389bc0012d34c9c006aa3d280009008020..."} 
[2026-09-05 07:14:03] local.INFO: Packet analysis {"connection_id":172691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f38"} 
[2026-09-05 07:14:03] local.INFO: Extracted packet for processing {"connection_id":172691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f38"} 
[2026-09-05 07:14:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874451200001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788572376000,"timestamp_ms":1788572376000,"timestamp_seconds":1788572376,"priority":1,"record_length":96,"hex_timestamp":"000001a06f389bc0"} 
[2026-09-05 07:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:14:03] 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-09-05 07:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-05 07:14: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-09-05 07:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874451200001,"66":25495,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874451200001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:14:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:14:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874451200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":172691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:14:03] local.INFO: GPS data processed {"connection_id":172691,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:14:03] local.INFO: Acknowledgment sent {"connection_id":172691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:14:03] local.INFO: TCP Data received {"connection_id":173996,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3b1878012d7d40c005c40550000800031d..."} 
[2026-09-05 07:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3b1878012d7d40c005c40550000800031d..."} 
[2026-09-05 07:14:03] local.INFO: Processing buffer {"connection_id":173996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3b1878012d7d40c005c40550000800031d..."} 
[2026-09-05 07:14:03] local.INFO: Packet analysis {"connection_id":173996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f3b"} 
[2026-09-05 07:14:03] local.INFO: Extracted packet for processing {"connection_id":173996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f3b"} 
[2026-09-05 07:14:03] local.INFO: GPS Element Parsed {"raw_longitude":763183296,"raw_latitude":96732496,"longitude_deg":76.3183296,"latitude_deg":9.6732496,"altitude":8,"angle":3,"satellites":29,"speed":56,"hex_longitude":"2d7d40c0","hex_latitude":"05c40550","is_valid_coordinates":true} 
[2026-09-05 07:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874568704001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128294538602086400,"note":"Value kept but may cause issues"} 
[2026-09-05 07:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025213678012194816,"note":"Value kept but may cause issues"} 
[2026-09-05 07:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788572539000,"timestamp_ms":1788572539000,"timestamp_seconds":1788572539,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3b1878"} 
[2026-09-05 07:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-05 07:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874568704001,"66":13678,"104":206,"85":12288,"24":56,"16":128294538602086400,"45":9025213678012194816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-05 07:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874568704001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:14:03] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-05 07:14:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128294538602086400,"km_value":128294538602086.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025213678012194816,"description":"Unknown IO ID 45"} 
[2026-09-05 07:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874568704001,"power":13678,"unknown_104":206,"unknown_85":12288,"ignition":56,"odometer":null,"unknown_45":9025213678012194816}} 
[2026-09-05 07:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":173996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767182,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:14:04] local.INFO: GPS data processed {"connection_id":173996,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:14:04] local.INFO: Acknowledgment sent {"connection_id":173996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:14:25] local.INFO: TCP Data received {"connection_id":172692,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:14:25] local.INFO: Processing buffer {"connection_id":172692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:14:25] local.INFO: IMEI packet received {"connection_id":172692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":172692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:14:27] local.INFO: TCP Data received {"connection_id":172692,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:14:27] local.INFO: Processing buffer {"connection_id":172692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:14:27] local.INFO: IMEI packet received {"connection_id":172692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":172692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:14:31] local.INFO: TCP Data received {"connection_id":172692,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:14:31] local.INFO: Processing buffer {"connection_id":172692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:14:31] local.INFO: IMEI packet received {"connection_id":172692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":172692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:14:32] local.INFO: TCP Data received {"connection_id":172692,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3b33d0012d7d42c005c42870000a00001d..."} 
[2026-09-05 07:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3b33d0012d7d42c005c42870000a00001d..."} 
[2026-09-05 07:14:32] local.INFO: Processing buffer {"connection_id":172692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3b33d0012d7d42c005c42870000a00001d..."} 
[2026-09-05 07:14:32] local.INFO: Packet analysis {"connection_id":172692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f3b"} 
[2026-09-05 07:14:32] local.INFO: Extracted packet for processing {"connection_id":172692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f3b"} 
[2026-09-05 07:14:32] local.INFO: GPS Element Parsed {"raw_longitude":763183808,"raw_latitude":96741488,"longitude_deg":76.3183808,"latitude_deg":9.6741488,"altitude":10,"angle":0,"satellites":29,"speed":45,"hex_longitude":"2d7d42c0","hex_latitude":"05c42870","is_valid_coordinates":true} 
[2026-09-05 07:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874569984001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128294976688750592,"note":"Value kept but may cause issues"} 
[2026-09-05 07:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025424784246525952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788572546000,"timestamp_ms":1788572546000,"timestamp_seconds":1788572546,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3b33d0"} 
[2026-09-05 07:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:14:32] 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-09-05 07:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-05 07:14: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-09-05 07:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874569984001,"66":13059,"103":206,"85":12288,"24":45,"16":128294976688750592,"45":9025424784246525952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-09-05 07:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874569984001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:14:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 07:14:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128294976688750592,"km_value":128294976688750.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025424784246525952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874569984001,"power":13059,"unknown_103":206,"unknown_85":12288,"ignition":45,"odometer":null,"unknown_45":9025424784246525952}} 
[2026-09-05 07:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":172692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767183,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:14:32] local.INFO: GPS data processed {"connection_id":172692,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:14:32] local.INFO: Acknowledgment sent {"connection_id":172692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:14:35] local.INFO: TCP Data received {"connection_id":172691,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a06f389bc0012d34c9c006aa3d280009008020..."} 
[2026-09-05 07:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f389bc0012d34c9c006aa3d280009008020..."} 
[2026-09-05 07:14:35] local.INFO: Processing buffer {"connection_id":172691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f389bc0012d34c9c006aa3d280009008020..."} 
[2026-09-05 07:14:35] local.INFO: Packet analysis {"connection_id":172691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f38"} 
[2026-09-05 07:14:35] local.INFO: Extracted packet for processing {"connection_id":172691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f38"} 
[2026-09-05 07:14:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874451200001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788572376000,"timestamp_ms":1788572376000,"timestamp_seconds":1788572376,"priority":1,"record_length":96,"hex_timestamp":"000001a06f389bc0"} 
[2026-09-05 07:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:14:35] 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-09-05 07:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-05 07:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874451200001,"66":25495,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874451200001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:14:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:14:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874451200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":172691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:14:35] local.INFO: GPS data processed {"connection_id":172691,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:14:35] local.INFO: Acknowledgment sent {"connection_id":172691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:14:57] local.INFO: TCP Data received {"connection_id":173997,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:14:57] local.INFO: Processing buffer {"connection_id":173997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:14:57] local.INFO: IMEI packet received {"connection_id":173997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":173997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:15:02] local.INFO: TCP Data received {"connection_id":173997,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:15:02] local.INFO: Processing buffer {"connection_id":173997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:15:02] local.INFO: IMEI packet received {"connection_id":173997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":173997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:15:03] local.INFO: TCP Data received {"connection_id":172692,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3d2bb8012d7d3f4005c5b048000d015d1d..."} 
[2026-09-05 07:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3d2bb8012d7d3f4005c5b048000d015d1d..."} 
[2026-09-05 07:15:03] local.INFO: Processing buffer {"connection_id":172692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3d2bb8012d7d3f4005c5b048000d015d1d..."} 
[2026-09-05 07:15:03] local.INFO: Packet analysis {"connection_id":172692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f3d"} 
[2026-09-05 07:15:03] local.INFO: Extracted packet for processing {"connection_id":172692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f3d"} 
[2026-09-05 07:15:03] local.INFO: GPS Element Parsed {"raw_longitude":763182912,"raw_latitude":96841800,"longitude_deg":76.3182912,"latitude_deg":9.68418,"altitude":13,"angle":349,"satellites":29,"speed":32,"hex_longitude":"2d7d3f40","hex_latitude":"05c5b048","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874601984001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128299864361533440,"note":"Value kept but may cause issues"} 
[2026-09-05 07:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025565521760581632,"note":"Value kept but may cause issues"} 
[2026-09-05 07:15:03] 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-09-05 07:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788572675000,"timestamp_ms":1788572675000,"timestamp_seconds":1788572675,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3d2bb8"} 
[2026-09-05 07:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:15: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-09-05 07: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 07:15:03] 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-09-05 07: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-09-05 07:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874601984001,"66":13678,"229":206,"85":12288,"24":32,"16":128299864361533440,"45":9025565521760581632},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 07:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874601984001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:15:03] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 07:15:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128299864361533440,"km_value":128299864361533.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025565521760581632,"description":"Unknown IO ID 45"} 
[2026-09-05 07:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874601984001,"power":13678,"unknown_229":206,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":9025565521760581632}} 
[2026-09-05 07:15:03] local.INFO: TCP Data received {"connection_id":173997,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a06f389bc0012d34c9c006aa3d280009008020..."} 
[2026-09-05 07:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f389bc0012d34c9c006aa3d280009008020..."} 
[2026-09-05 07:15:03] local.INFO: Processing buffer {"connection_id":173997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f389bc0012d34c9c006aa3d280009008020..."} 
[2026-09-05 07:15:03] local.INFO: Packet analysis {"connection_id":173997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f38"} 
[2026-09-05 07:15:03] local.INFO: Extracted packet for processing {"connection_id":173997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f38"} 
[2026-09-05 07:15:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":9,"angle":128,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874451200001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788572376000,"timestamp_ms":1788572376000,"timestamp_seconds":1788572376,"priority":1,"record_length":96,"hex_timestamp":"000001a06f389bc0"} 
[2026-09-05 07:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:15:03] 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-09-05 07: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":129,"data_length":795,"current_offset":136} 
[2026-09-05 07:15: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-09-05 07: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-09-05 07:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:15: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-09-05 07:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874451200001,"66":25495,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874451200001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:15:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:15:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874451200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":172692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767185,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:15:03] local.INFO: GPS data processed {"connection_id":172692,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:15:03] local.INFO: Acknowledgment sent {"connection_id":172692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":173997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:15:03] local.INFO: GPS data processed {"connection_id":173997,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:15:03] local.INFO: Acknowledgment sent {"connection_id":173997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:15:25] local.INFO: TCP Data received {"connection_id":173998,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173998,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:15:25] local.INFO: Processing buffer {"connection_id":173998,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:15:25] local.INFO: IMEI packet received {"connection_id":173998,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":173998,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:15:31] local.INFO: TCP Data received {"connection_id":173998,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173998,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:15:31] local.INFO: Processing buffer {"connection_id":173998,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:15:31] local.INFO: IMEI packet received {"connection_id":173998,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":173998,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:15:31] local.INFO: TCP Data received {"connection_id":173998,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3d5a98012d7d370005c5d318000c01621d..."} 
[2026-09-05 07:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3d5a98012d7d370005c5d318000c01621d..."} 
[2026-09-05 07:15:31] local.INFO: Processing buffer {"connection_id":173998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3d5a98012d7d370005c5d318000c01621d..."} 
[2026-09-05 07:15:31] local.INFO: Packet analysis {"connection_id":173998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f3d"} 
[2026-09-05 07:15:31] local.INFO: Extracted packet for processing {"connection_id":173998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f3d"} 
[2026-09-05 07:15:31] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":96850712,"longitude_deg":76.31808,"latitude_deg":9.6850712,"altitude":12,"angle":354,"satellites":29,"speed":20,"hex_longitude":"2d7d3700","hex_latitude":"05c5d318","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874604800001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128300311038132224,"note":"Value kept but may cause issues"} 
[2026-09-05 07:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025002571809441792,"note":"Value kept but may cause issues"} 
[2026-09-05 07:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788572687000,"timestamp_ms":1788572687000,"timestamp_seconds":1788572687,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3d5a98"} 
[2026-09-05 07:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-05 07:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874604800001,"66":13830,"227":206,"85":12288,"24":20,"16":128300311038132224,"45":9025002571809441792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-09-05 07:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874604800001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:15:31] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-05 07:15:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128300311038132224,"km_value":128300311038132.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025002571809441792,"description":"Unknown IO ID 45"} 
[2026-09-05 07:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874604800001,"power":13830,"unknown_227":206,"unknown_85":12288,"ignition":20,"odometer":null,"unknown_45":9025002571809441792}} 
[2026-09-05 07:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":173998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767187,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:15:32] local.INFO: GPS data processed {"connection_id":173998,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:15:32] local.INFO: Acknowledgment sent {"connection_id":173998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:15:34] local.INFO: TCP Data received {"connection_id":173997,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3d3388012d34c9c006aa3d280013008021..."} 
[2026-09-05 07:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3d3388012d34c9c006aa3d280013008021..."} 
[2026-09-05 07:15:34] local.INFO: Processing buffer {"connection_id":173997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3d3388012d34c9c006aa3d280013008021..."} 
[2026-09-05 07:15:34] local.INFO: Packet analysis {"connection_id":173997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f3d"} 
[2026-09-05 07:15:34] local.INFO: Extracted packet for processing {"connection_id":173997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f3d"} 
[2026-09-05 07:15:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874528256001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788572677000,"timestamp_ms":1788572677000,"timestamp_seconds":1788572677,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3d3388"} 
[2026-09-05 07:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:15: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-09-05 07:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 07:15: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-09-05 07: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-09-05 07:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:15:34] 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-09-05 07:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874528256001,"66":25495,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874528256001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:15:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:15:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874528256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":173997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:15:34] local.INFO: GPS data processed {"connection_id":173997,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:15:34] local.INFO: Acknowledgment sent {"connection_id":173997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:16:02] local.INFO: TCP Data received {"connection_id":172694,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:16:02] local.INFO: Processing buffer {"connection_id":172694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:16:02] local.INFO: IMEI packet received {"connection_id":172694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":172694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:16:03] local.INFO: TCP Data received {"connection_id":173998,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3d8978012d7d320005c5f6a0000b01621d..."} 
[2026-09-05 07:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3d8978012d7d320005c5f6a0000b01621d..."} 
[2026-09-05 07:16:03] local.INFO: Processing buffer {"connection_id":173998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3d8978012d7d320005c5f6a0000b01621d..."} 
[2026-09-05 07:16:03] local.INFO: Packet analysis {"connection_id":173998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f3d"} 
[2026-09-05 07:16:03] local.INFO: Extracted packet for processing {"connection_id":173998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f3d"} 
[2026-09-05 07:16:03] local.INFO: GPS Element Parsed {"raw_longitude":763179520,"raw_latitude":96859808,"longitude_deg":76.317952,"latitude_deg":9.6859808,"altitude":11,"angle":354,"satellites":29,"speed":32,"hex_longitude":"2d7d3200","hex_latitude":"05c5f6a0","is_valid_coordinates":true} 
[2026-09-05 07:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874607872001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128300757714731008,"note":"Value kept but may cause issues"} 
[2026-09-05 07:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403253860352,"note":"Value kept but may cause issues"} 
[2026-09-05 07:16:03] 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-09-05 07:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788572699000,"timestamp_ms":1788572699000,"timestamp_seconds":1788572699,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3d8978"} 
[2026-09-05 07:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:16: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-09-05 07:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-05 07:16:03] local.WARNING: Large IO value detected {"io_id":24,"raw_value":12666382557708288,"note":"Value kept but may cause issues"} 
[2026-09-05 07:16:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627266731776,"note":"Value kept but may cause issues"} 
[2026-09-05 07:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3458433022720735804,"note":"Value kept but may cause issues"} 
[2026-09-05 07:16:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1650917582,"corrected_to":0} 
[2026-09-05 07:16:03] local.WARNING: Large IO value detected {"io_id":123,"raw_value":4026609021,"note":"Value kept but may cause issues"} 
[2026-09-05 07:16:03] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3590376802,"note":"Value kept but may cause issues"} 
[2026-09-05 07:16:03] local.WARNING: Large IO value detected {"io_id":199,"raw_value":3463118848,"note":"Value kept but may cause issues"} 
[2026-09-05 07:16:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3304820736,"note":"Value kept but may cause issues"} 
[2026-09-05 07:16:03] local.WARNING: Large IO value detected {"io_id":214,"raw_value":5764622922221944885,"note":"Value kept but may cause issues"} 
[2026-09-05 07:16:03] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,227,85,24,241,157,16,208,160,43,45,64,176,13,29,10,66,229,141,12,103,207,209,1,240,197,111,4,113,205,37,123,69,32,239,52,2,199,5,14,214],"length":528,"final_offset":658,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1650917582,"validated":0}]} 
[2026-09-05 07:16:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865080480126730240,"timestamp_seconds":865080480126730.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 07:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874607872001,"66":13319,"229":206,"85":12288,"24":32,"16":128300757714731008,"45":9022680403253860352},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 07:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874607872001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:16:03] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 07:16:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128300757714731008,"km_value":128300757714731.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403253860352,"description":"Unknown IO ID 45"} 
[2026-09-05 07:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874607872001,"power":13319,"unknown_229":206,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":9022680403253860352}} 
[2026-09-05 07:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":173998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767189,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:16:03] local.INFO: GPS data processed {"connection_id":173998,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:16:03] local.INFO: Acknowledgment sent {"connection_id":173998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:16:07] local.INFO: TCP Data received {"connection_id":172694,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:16:07] local.INFO: Processing buffer {"connection_id":172694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:16:07] local.INFO: IMEI packet received {"connection_id":172694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":172694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:16:08] local.INFO: TCP Data received {"connection_id":172694,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3d3388012d34c9c006aa3d280013008021..."} 
[2026-09-05 07:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3d3388012d34c9c006aa3d280013008021..."} 
[2026-09-05 07:16:08] local.INFO: Processing buffer {"connection_id":172694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3d3388012d34c9c006aa3d280013008021..."} 
[2026-09-05 07:16:08] local.INFO: Packet analysis {"connection_id":172694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f3d"} 
[2026-09-05 07:16:08] local.INFO: Extracted packet for processing {"connection_id":172694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f3d"} 
[2026-09-05 07:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874528256001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788572677000,"timestamp_ms":1788572677000,"timestamp_seconds":1788572677,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3d3388"} 
[2026-09-05 07:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:16:08] 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-09-05 07: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 07:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:16:08] 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-09-05 07:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874528256001,"66":25495,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874528256001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:16:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:16:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874528256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":172694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:16:08] local.INFO: GPS data processed {"connection_id":172694,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:16:08] local.INFO: Acknowledgment sent {"connection_id":172694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:16:12] local.INFO: TCP Data received {"connection_id":172694,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3d3388012d34c9c006aa3d280013008021..."} 
[2026-09-05 07:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3d3388012d34c9c006aa3d280013008021..."} 
[2026-09-05 07:16:12] local.INFO: Processing buffer {"connection_id":172694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3d3388012d34c9c006aa3d280013008021..."} 
[2026-09-05 07:16:12] local.INFO: Packet analysis {"connection_id":172694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f3d"} 
[2026-09-05 07:16:12] local.INFO: Extracted packet for processing {"connection_id":172694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f3d"} 
[2026-09-05 07:16:12] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874528256001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788572677000,"timestamp_ms":1788572677000,"timestamp_seconds":1788572677,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3d3388"} 
[2026-09-05 07:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 07:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 07:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":172694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":172694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":172694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:16:12] 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-09-05 07:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874528256001,"66":25495,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874528256001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:16:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:16:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874528256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":172694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:16:13] local.INFO: GPS data processed {"connection_id":172694,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:16:13] local.INFO: Acknowledgment sent {"connection_id":172694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:16:25] local.INFO: TCP Data received {"connection_id":171292,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171292,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:16:25] local.INFO: Processing buffer {"connection_id":171292,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:16:25] local.INFO: IMEI packet received {"connection_id":171292,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":171292,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:16:30] local.INFO: TCP Data received {"connection_id":171292,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171292,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:16:30] local.INFO: Processing buffer {"connection_id":171292,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:16:30] local.INFO: IMEI packet received {"connection_id":171292,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":171292,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:16:30] local.INFO: TCP Data received {"connection_id":171292,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171292,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:16:30] local.INFO: Processing buffer {"connection_id":171292,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:16:30] local.INFO: IMEI packet received {"connection_id":171292,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":171292,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:16:31] local.INFO: TCP Data received {"connection_id":171292,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3db470012d7d328005c61c08000c00011d..."} 
[2026-09-05 07:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3db470012d7d328005c61c08000c00011d..."} 
[2026-09-05 07:16:31] local.INFO: Processing buffer {"connection_id":171292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3db470012d7d328005c61c08000c00011d..."} 
[2026-09-05 07:16:31] local.INFO: Packet analysis {"connection_id":171292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f3d"} 
[2026-09-05 07:16:31] local.INFO: Extracted packet for processing {"connection_id":171292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f3d"} 
[2026-09-05 07:16:31] local.INFO: GPS Element Parsed {"raw_longitude":763179648,"raw_latitude":96869384,"longitude_deg":76.3179648,"latitude_deg":9.6869384,"altitude":12,"angle":1,"satellites":29,"speed":36,"hex_longitude":"2d7d3280","hex_latitude":"05c61c08","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874610944001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128301221571198976,"note":"Value kept but may cause issues"} 
[2026-09-05 07:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021273028372635648,"note":"Value kept but may cause issues"} 
[2026-09-05 07:16:31] 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-09-05 07:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788572710000,"timestamp_ms":1788572710000,"timestamp_seconds":1788572710,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3db470"} 
[2026-09-05 07:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-05 07:16:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 07:16:31] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2147861828,"note":"Value kept but may cause issues"} 
[2026-09-05 07:16:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-05 07:16:31] local.WARNING: Large IO value detected {"io_id":214,"raw_value":57810564760360240,"note":"Value kept but may cause issues"} 
[2026-09-05 07:16:31] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2801795072,"note":"Value kept but may cause issues"} 
[2026-09-05 07:16:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1650917582,"corrected_to":0} 
[2026-09-05 07:16:31] local.WARNING: Large IO value detected {"io_id":170,"raw_value":3489738109,"note":"Value kept but may cause issues"} 
[2026-09-05 07:16:31] local.WARNING: Large IO value detected {"io_id":199,"raw_value":3469934592,"note":"Value kept but may cause issues"} 
[2026-09-05 07:16:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3307216896,"note":"Value kept but may cause issues"} 
[2026-09-05 07:16:31] local.WARNING: Large IO value detected {"io_id":60,"raw_value":5271464658724028421,"note":"Value kept but may cause issues"} 
[2026-09-05 07:16:31] local.WARNING: Large IO value detected {"io_id":196,"raw_value":-319755513390555904,"note":"Value kept but may cause issues"} 
[2026-09-05 07:16:31] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,229,85,24,241,157,16,208,160,90,45,211,12,29,10,66,227,43,64,176,13,1,240,214,207,111,197,4,113,205,23,170,8,239,53,103,2,199,5,20,60,196],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1650917582,"validated":0}]} 
[2026-09-05 07:16:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":793022886089588736,"timestamp_seconds":793022886089588.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 07:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874610944001,"66":13678,"229":206,"85":12288,"24":36,"16":128301221571198976,"45":9021273028372635648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 07:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874610944001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:16:31] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 07:16:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128301221571198976,"km_value":128301221571198.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021273028372635648,"description":"Unknown IO ID 45"} 
[2026-09-05 07:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874610944001,"power":13678,"unknown_229":206,"unknown_85":12288,"ignition":36,"odometer":null,"unknown_45":9021273028372635648}} 
[2026-09-05 07:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":171292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:16:31] local.INFO: GPS data processed {"connection_id":171292,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:16:31] local.INFO: Acknowledgment sent {"connection_id":171292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:16:36] local.INFO: TCP Data received {"connection_id":171292,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3e0678012d7d350005c63b70000600071d..."} 
[2026-09-05 07:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3e0678012d7d350005c63b70000600071d..."} 
[2026-09-05 07:16:36] local.INFO: Processing buffer {"connection_id":171292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3e0678012d7d350005c63b70000600071d..."} 
[2026-09-05 07:16:36] local.INFO: Packet analysis {"connection_id":171292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f3e"} 
[2026-09-05 07:16:36] local.INFO: Extracted packet for processing {"connection_id":171292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f3e"} 
[2026-09-05 07:16:36] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":96877424,"longitude_deg":76.3180288,"latitude_deg":9.6877424,"altitude":6,"angle":7,"satellites":29,"speed":12,"hex_longitude":"2d7d3500","hex_latitude":"05c63b70","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874613760001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128301616708190208,"note":"Value kept but may cause issues"} 
[2026-09-05 07:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021413765863442432,"note":"Value kept but may cause issues"} 
[2026-09-05 07:16: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-09-05 07:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788572731000,"timestamp_ms":1788572731000,"timestamp_seconds":1788572731,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3e0678"} 
[2026-09-05 07:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:16: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-09-05 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-05 07:16: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-09-05 07: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-09-05 07:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874613760001,"66":13656,"229":206,"85":12288,"24":12,"16":128301616708190208,"45":9021413765863442432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 07:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874613760001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:16:36] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 07:16:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128301616708190208,"km_value":128301616708190.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021413765863442432,"description":"Unknown IO ID 45"} 
[2026-09-05 07:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874613760001,"power":13656,"unknown_229":206,"unknown_85":12288,"ignition":12,"odometer":null,"unknown_45":9021413765863442432}} 
[2026-09-05 07:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":171292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767193,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:16:36] local.INFO: GPS data processed {"connection_id":171292,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:16:36] local.INFO: Acknowledgment sent {"connection_id":171292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:16:57] local.INFO: TCP Data received {"connection_id":173999,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:16:57] local.INFO: Processing buffer {"connection_id":173999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:16:57] local.INFO: IMEI packet received {"connection_id":173999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":173999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:17:02] local.INFO: TCP Data received {"connection_id":173999,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:17:02] local.INFO: Processing buffer {"connection_id":173999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:17:02] local.INFO: IMEI packet received {"connection_id":173999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":173999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:17:03] local.INFO: TCP Data received {"connection_id":173999,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3d3388012d34c9c006aa3d280013008021..."} 
[2026-09-05 07:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3d3388012d34c9c006aa3d280013008021..."} 
[2026-09-05 07:17:03] local.INFO: Processing buffer {"connection_id":173999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3d3388012d34c9c006aa3d280013008021..."} 
[2026-09-05 07:17:03] local.INFO: Packet analysis {"connection_id":173999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f3d"} 
[2026-09-05 07:17:03] local.INFO: Extracted packet for processing {"connection_id":173999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f3d"} 
[2026-09-05 07:17:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874528256001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788572677000,"timestamp_ms":1788572677000,"timestamp_seconds":1788572677,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3d3388"} 
[2026-09-05 07:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:17:03] 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-09-05 07: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":151,"data_length":795,"current_offset":136} 
[2026-09-05 07:17: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-09-05 07: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-09-05 07:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:17: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-09-05 07:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874528256001,"66":25495,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874528256001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:17:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:17:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874528256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":173999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:17:03] local.INFO: GPS data processed {"connection_id":173999,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:17:03] local.INFO: Acknowledgment sent {"connection_id":173999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:17:07] local.INFO: TCP Data received {"connection_id":171292,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3e5880012d7d37c005c65bd8000600071d..."} 
[2026-09-05 07:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3e5880012d7d37c005c65bd8000600071d..."} 
[2026-09-05 07:17:07] local.INFO: Processing buffer {"connection_id":171292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3e5880012d7d37c005c65bd8000600071d..."} 
[2026-09-05 07:17:07] local.INFO: Packet analysis {"connection_id":171292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f3e"} 
[2026-09-05 07:17:07] local.INFO: Extracted packet for processing {"connection_id":171292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f3e"} 
[2026-09-05 07:17:07] local.INFO: GPS Element Parsed {"raw_longitude":763180992,"raw_latitude":96885720,"longitude_deg":76.3180992,"latitude_deg":9.688572,"altitude":6,"angle":7,"satellites":29,"speed":32,"hex_longitude":"2d7d37c0","hex_latitude":"05c65bd8","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874619136001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128302020435116032,"note":"Value kept but may cause issues"} 
[2026-09-05 07:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453307277312,"note":"Value kept but may cause issues"} 
[2026-09-05 07:17: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-09-05 07:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788572752000,"timestamp_ms":1788572752000,"timestamp_seconds":1788572752,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3e5880"} 
[2026-09-05 07:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:17: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-09-05 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 07:17:07] 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-09-05 07: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-09-05 07:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874619136001,"66":13798,"229":206,"85":12288,"24":32,"16":128302020435116032,"45":9022117453307277312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 07:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874619136001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:17:07] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 07:17:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128302020435116032,"km_value":128302020435116.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453307277312,"description":"Unknown IO ID 45"} 
[2026-09-05 07:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874619136001,"power":13798,"unknown_229":206,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":9022117453307277312}} 
[2026-09-05 07:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":171292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767195,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:17:07] local.INFO: GPS data processed {"connection_id":171292,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:17:07] local.INFO: Acknowledgment sent {"connection_id":171292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:17:28] local.INFO: TCP Data received {"connection_id":171592,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:17:28] local.INFO: Processing buffer {"connection_id":171592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:17:28] local.INFO: IMEI packet received {"connection_id":171592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":171592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:17:31] local.INFO: TCP Data received {"connection_id":171592,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:17:31] local.INFO: Processing buffer {"connection_id":171592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:17:31] local.INFO: IMEI packet received {"connection_id":171592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":171592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:17:36] local.INFO: TCP Data received {"connection_id":171592,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:17:36] local.INFO: Processing buffer {"connection_id":171592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:17:36] local.INFO: IMEI packet received {"connection_id":171592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":171592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:17:36] local.INFO: TCP Data received {"connection_id":173999,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3d3388012d34c9c006aa3d280013008021..."} 
[2026-09-05 07:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3d3388012d34c9c006aa3d280013008021..."} 
[2026-09-05 07:17:36] local.INFO: Processing buffer {"connection_id":173999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3d3388012d34c9c006aa3d280013008021..."} 
[2026-09-05 07:17:36] local.INFO: Packet analysis {"connection_id":173999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f3d"} 
[2026-09-05 07:17:36] local.INFO: Extracted packet for processing {"connection_id":173999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f3d"} 
[2026-09-05 07:17:36] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874528256001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788572677000,"timestamp_ms":1788572677000,"timestamp_seconds":1788572677,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3d3388"} 
[2026-09-05 07:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 07:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 07:17: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-09-05 07: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-09-05 07:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:17:36] 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-09-05 07:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874528256001,"66":25495,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874528256001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:17:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:17:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874528256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":173999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:17:36] local.INFO: GPS data processed {"connection_id":173999,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:17:36] local.INFO: Acknowledgment sent {"connection_id":173999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:17:36] local.INFO: TCP Data received {"connection_id":171592,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3e7f90012d7d3b4005c67f00000800031d..."} 
[2026-09-05 07:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3e7f90012d7d3b4005c67f00000800031d..."} 
[2026-09-05 07:17:36] local.INFO: Processing buffer {"connection_id":171592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3e7f90012d7d3b4005c67f00000800031d..."} 
[2026-09-05 07:17:36] local.INFO: Packet analysis {"connection_id":171592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f3e"} 
[2026-09-05 07:17:36] local.INFO: Extracted packet for processing {"connection_id":171592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f3e"} 
[2026-09-05 07:17:36] local.INFO: GPS Element Parsed {"raw_longitude":763181888,"raw_latitude":96894720,"longitude_deg":76.3181888,"latitude_deg":9.689472,"altitude":8,"angle":3,"satellites":29,"speed":34,"hex_longitude":"2d7d3b40","hex_latitude":"05c67f00","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874624512001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128302458521780224,"note":"Value kept but may cause issues"} 
[2026-09-05 07:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022891509495355392,"note":"Value kept but may cause issues"} 
[2026-09-05 07:17: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-09-05 07:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788572762000,"timestamp_ms":1788572762000,"timestamp_seconds":1788572762,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3e7f90"} 
[2026-09-05 07:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:17: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-09-05 07:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 07:17: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-09-05 07: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-09-05 07:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874624512001,"66":13928,"229":206,"85":12288,"24":34,"16":128302458521780224,"45":9022891509495355392},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 07:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874624512001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:17:36] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 07:17:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128302458521780224,"km_value":128302458521780.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022891509495355392,"description":"Unknown IO ID 45"} 
[2026-09-05 07:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874624512001,"power":13928,"unknown_229":206,"unknown_85":12288,"ignition":34,"odometer":null,"unknown_45":9022891509495355392}} 
[2026-09-05 07:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":171592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767197,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:17:36] local.INFO: GPS data processed {"connection_id":171592,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:17:36] local.INFO: Acknowledgment sent {"connection_id":171592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:17:38] local.INFO: TCP Data received {"connection_id":171592,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3e8f30012d7d3b4005c68cd80008015f1d..."} 
[2026-09-05 07:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3e8f30012d7d3b4005c68cd80008015f1d..."} 
[2026-09-05 07:17:38] local.INFO: Processing buffer {"connection_id":171592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3e8f30012d7d3b4005c68cd80008015f1d..."} 
[2026-09-05 07:17:38] local.INFO: Packet analysis {"connection_id":171592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f3e"} 
[2026-09-05 07:17:38] local.INFO: Extracted packet for processing {"connection_id":171592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f3e"} 
[2026-09-05 07:17:38] local.INFO: GPS Element Parsed {"raw_longitude":763181888,"raw_latitude":96898264,"longitude_deg":76.3181888,"latitude_deg":9.6898264,"altitude":8,"angle":351,"satellites":29,"speed":34,"hex_longitude":"2d7d3b40","hex_latitude":"05c68cd8","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874627072001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128302630320472064,"note":"Value kept but may cause issues"} 
[2026-09-05 07:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023876671916146688,"note":"Value kept but may cause issues"} 
[2026-09-05 07:17:38] 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-09-05 07:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788572766000,"timestamp_ms":1788572766000,"timestamp_seconds":1788572766,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3e8f30"} 
[2026-09-05 07:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:17: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-09-05 07: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-05 07:17: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-09-05 07: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-09-05 07:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874627072001,"66":13917,"229":206,"85":12288,"24":34,"16":128302630320472064,"45":9023876671916146688},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 07:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874627072001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:17:38] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 07:17:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128302630320472064,"km_value":128302630320472.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023876671916146688,"description":"Unknown IO ID 45"} 
[2026-09-05 07:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874627072001,"power":13917,"unknown_229":206,"unknown_85":12288,"ignition":34,"odometer":null,"unknown_45":9023876671916146688}} 
[2026-09-05 07:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":171592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767198,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:17:38] local.INFO: GPS data processed {"connection_id":171592,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:17:38] local.INFO: Acknowledgment sent {"connection_id":171592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:17:57] local.INFO: TCP Data received {"connection_id":171593,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:17:57] local.INFO: Processing buffer {"connection_id":171593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:17:57] local.INFO: IMEI packet received {"connection_id":171593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":171593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:18:02] local.INFO: TCP Data received {"connection_id":171593,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:18:02] local.INFO: Processing buffer {"connection_id":171593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:18:02] local.INFO: IMEI packet received {"connection_id":171593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":171593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:18:03] local.INFO: TCP Data received {"connection_id":171593,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3d3388012d34c9c006aa3d280013008021..."} 
[2026-09-05 07:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3d3388012d34c9c006aa3d280013008021..."} 
[2026-09-05 07:18:03] local.INFO: Processing buffer {"connection_id":171593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3d3388012d34c9c006aa3d280013008021..."} 
[2026-09-05 07:18:03] local.INFO: Packet analysis {"connection_id":171593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f3d"} 
[2026-09-05 07:18:03] local.INFO: Extracted packet for processing {"connection_id":171593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f3d"} 
[2026-09-05 07:18:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874528256001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788572677000,"timestamp_ms":1788572677000,"timestamp_seconds":1788572677,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3d3388"} 
[2026-09-05 07:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:18:03] 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-09-05 07: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":151,"data_length":795,"current_offset":136} 
[2026-09-05 07:18: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-09-05 07: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-09-05 07:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:18: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-09-05 07:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874528256001,"66":25495,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874528256001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:18:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:18:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874528256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":171593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:18:03] local.INFO: GPS data processed {"connection_id":171593,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:18:03] local.INFO: Acknowledgment sent {"connection_id":171593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:18:09] local.INFO: TCP Data received {"connection_id":171592,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f405c20012d7d358005c7cc90000b00291b..."} 
[2026-09-05 07:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f405c20012d7d358005c7cc90000b00291b..."} 
[2026-09-05 07:18:09] local.INFO: Processing buffer {"connection_id":171592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f405c20012d7d358005c7cc90000b00291b..."} 
[2026-09-05 07:18:09] local.INFO: Packet analysis {"connection_id":171592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f40"} 
[2026-09-05 07:18:09] local.INFO: Extracted packet for processing {"connection_id":171592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f40"} 
[2026-09-05 07:18:09] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":96980112,"longitude_deg":76.3180416,"latitude_deg":9.6980112,"altitude":11,"angle":41,"satellites":27,"speed":8,"hex_longitude":"2d7d3580","hex_latitude":"05c7cc90","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874656512001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:18:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 07:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128306779258880000,"note":"Value kept but may cause issues"} 
[2026-09-05 07:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020710078449819648,"note":"Value kept but may cause issues"} 
[2026-09-05 07:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 07:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788572884000,"timestamp_ms":1788572884000,"timestamp_seconds":1788572884,"priority":1,"record_length":96,"hex_timestamp":"000001a06f405c20"} 
[2026-09-05 07:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:18: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-09-05 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 07:18:09] 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-09-05 07: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-09-05 07:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874656512001,"66":13798,"200":0,"85":12288,"24":8,"16":128306779258880000,"45":9020710078449819648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-05 07:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874656512001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:18:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128306779258880000,"km_value":128306779258880,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020710078449819648,"description":"Unknown IO ID 45"} 
[2026-09-05 07:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874656512001,"power":13798,"gsm_signal":0,"unknown_85":12288,"ignition":8,"odometer":null,"unknown_45":9020710078449819648}} 
[2026-09-05 07:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":171592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767200,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:18:09] local.INFO: GPS data processed {"connection_id":171592,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:18:09] local.INFO: Acknowledgment sent {"connection_id":171592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:18:22] local.INFO: TCP Data received {"connection_id":172695,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:18:22] local.INFO: Processing buffer {"connection_id":172695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:18:22] local.INFO: IMEI packet received {"connection_id":172695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":172695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:18:26] local.INFO: TCP Data received {"connection_id":172695,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:18:26] local.INFO: Processing buffer {"connection_id":172695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:18:26] local.INFO: IMEI packet received {"connection_id":172695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":172695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:18:30] local.INFO: TCP Data received {"connection_id":172695,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:18:30] local.INFO: Processing buffer {"connection_id":172695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:18:30] local.INFO: IMEI packet received {"connection_id":172695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":172695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:18:31] local.INFO: TCP Data received {"connection_id":172695,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f406008012d7d360005c7cd48000b001a1a..."} 
[2026-09-05 07:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f406008012d7d360005c7cd48000b001a1a..."} 
[2026-09-05 07:18:31] local.INFO: Processing buffer {"connection_id":172695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f406008012d7d360005c7cd48000b001a1a..."} 
[2026-09-05 07:18:31] local.INFO: Packet analysis {"connection_id":172695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f40"} 
[2026-09-05 07:18:31] local.INFO: Extracted packet for processing {"connection_id":172695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f40"} 
[2026-09-05 07:18:31] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":96980296,"longitude_deg":76.3180544,"latitude_deg":9.6980296,"altitude":11,"angle":26,"satellites":26,"speed":7,"hex_longitude":"2d7d3600","hex_latitude":"05c7cd48","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874658304001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:18:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 07:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128306792143781888,"note":"Value kept but may cause issues"} 
[2026-09-05 07:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258190821920768,"note":"Value kept but may cause issues"} 
[2026-09-05 07:18: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-09-05 07:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788572885000,"timestamp_ms":1788572885000,"timestamp_seconds":1788572885,"priority":1,"record_length":96,"hex_timestamp":"000001a06f406008"} 
[2026-09-05 07:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:18:31] 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-09-05 07: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 07:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874658304001,"66":12950,"200":0,"85":12288,"24":7,"16":128306792143781888,"45":9022258190821920768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-05 07:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874658304001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:18:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128306792143781888,"km_value":128306792143781.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258190821920768,"description":"Unknown IO ID 45"} 
[2026-09-05 07:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874658304001,"power":12950,"gsm_signal":0,"unknown_85":12288,"ignition":7,"odometer":null,"unknown_45":9022258190821920768}} 
[2026-09-05 07:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":172695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767201,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:18:31] local.INFO: GPS data processed {"connection_id":172695,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:18:31] local.INFO: Acknowledgment sent {"connection_id":172695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:18:35] local.INFO: TCP Data received {"connection_id":171593,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3d3388012d34c9c006aa3d280013008021..."} 
[2026-09-05 07:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3d3388012d34c9c006aa3d280013008021..."} 
[2026-09-05 07:18:35] local.INFO: Processing buffer {"connection_id":171593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3d3388012d34c9c006aa3d280013008021..."} 
[2026-09-05 07:18:35] local.INFO: Packet analysis {"connection_id":171593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f3d"} 
[2026-09-05 07:18:35] local.INFO: Extracted packet for processing {"connection_id":171593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f3d"} 
[2026-09-05 07:18:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874528256001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788572677000,"timestamp_ms":1788572677000,"timestamp_seconds":1788572677,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3d3388"} 
[2026-09-05 07:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:18:35] 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-09-05 07:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 07:18: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-09-05 07:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:18:35] 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-09-05 07:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874528256001,"66":25495,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874528256001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:18:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:18:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874528256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":171593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:18:35] local.INFO: GPS data processed {"connection_id":171593,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:18:35] local.INFO: Acknowledgment sent {"connection_id":171593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:18:56] local.INFO: TCP Data received {"connection_id":172693,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172693,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:18:56] local.INFO: Processing buffer {"connection_id":172693,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:18:56] local.INFO: IMEI packet received {"connection_id":172693,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 07:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":172693,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:18:57] local.INFO: TCP Data received {"connection_id":171293,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:18:57] local.INFO: Processing buffer {"connection_id":171293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:18:57] local.INFO: IMEI packet received {"connection_id":171293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":171293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:19:02] local.INFO: TCP Data received {"connection_id":171293,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:19:02] local.INFO: Processing buffer {"connection_id":171293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:19:02] local.INFO: IMEI packet received {"connection_id":171293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":171293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:19:02] local.INFO: TCP Data received {"connection_id":172695,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4063f0012d7d360005c7cde8000b01651b..."} 
[2026-09-05 07:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4063f0012d7d360005c7cde8000b01651b..."} 
[2026-09-05 07:19:02] local.INFO: Processing buffer {"connection_id":172695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4063f0012d7d360005c7cde8000b01651b..."} 
[2026-09-05 07:19:02] local.INFO: Packet analysis {"connection_id":172695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f40"} 
[2026-09-05 07:19:02] local.INFO: Extracted packet for processing {"connection_id":172695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f40"} 
[2026-09-05 07:19:02] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":96980456,"longitude_deg":76.3180544,"latitude_deg":9.6980456,"altitude":11,"angle":357,"satellites":27,"speed":6,"hex_longitude":"2d7d3600","hex_latitude":"05c7cde8","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874658560001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:19:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 07:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128306800733716480,"note":"Value kept but may cause issues"} 
[2026-09-05 07:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928310323200,"note":"Value kept but may cause issues"} 
[2026-09-05 07:19:02] 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-09-05 07:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788572886000,"timestamp_ms":1788572886000,"timestamp_seconds":1788572886,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4063f0"} 
[2026-09-05 07:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:19:02] 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-09-05 07: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-05 07:19:02] 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-09-05 07: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-09-05 07:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874658560001,"66":12950,"200":0,"85":12288,"24":6,"16":128306800733716480,"45":9022398928310323200},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-05 07:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874658560001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:19:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128306800733716480,"km_value":128306800733716.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928310323200,"description":"Unknown IO ID 45"} 
[2026-09-05 07:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874658560001,"power":12950,"gsm_signal":0,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":9022398928310323200}} 
[2026-09-05 07:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":172695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:19:02] local.INFO: GPS data processed {"connection_id":172695,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:19:02] local.INFO: Acknowledgment sent {"connection_id":172695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:19:03] local.INFO: TCP Data received {"connection_id":171293,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3d3388012d34c9c006aa3d280013008021..."} 
[2026-09-05 07:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3d3388012d34c9c006aa3d280013008021..."} 
[2026-09-05 07:19:03] local.INFO: Processing buffer {"connection_id":171293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3d3388012d34c9c006aa3d280013008021..."} 
[2026-09-05 07:19:03] local.INFO: Packet analysis {"connection_id":171293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f3d"} 
[2026-09-05 07:19:03] local.INFO: Extracted packet for processing {"connection_id":171293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f3d"} 
[2026-09-05 07:19:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 07:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874528256001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788572677000,"timestamp_ms":1788572677000,"timestamp_seconds":1788572677,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3d3388"} 
[2026-09-05 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-09-05 07:19:03] 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-09-05 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":151,"data_length":795,"current_offset":136} 
[2026-09-05 07:19: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-09-05 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-09-05 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-09-05 07:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874528256001,"66":25495,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874528256001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:19:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:19:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874528256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":171293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:19:03] local.INFO: GPS data processed {"connection_id":171293,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:19:03] local.INFO: Acknowledgment sent {"connection_id":171293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:19:26] local.INFO: TCP Data received {"connection_id":174000,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:19:26] local.INFO: Processing buffer {"connection_id":174000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:19:26] local.INFO: IMEI packet received {"connection_id":174000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":174000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:19:27] local.INFO: TCP Data received {"connection_id":174000,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:19:27] local.INFO: Processing buffer {"connection_id":174000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:19:27] local.INFO: IMEI packet received {"connection_id":174000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":174000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:19:30] local.INFO: TCP Data received {"connection_id":174000,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:19:30] local.INFO: Processing buffer {"connection_id":174000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:19:30] local.INFO: IMEI packet received {"connection_id":174000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":174000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:19:31] local.INFO: TCP Data received {"connection_id":174000,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4067d8012d7d360005c7cea0000b01551b..."} 
[2026-09-05 07:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4067d8012d7d360005c7cea0000b01551b..."} 
[2026-09-05 07:19:31] local.INFO: Processing buffer {"connection_id":174000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4067d8012d7d360005c7cea0000b01551b..."} 
[2026-09-05 07:19:31] local.INFO: Packet analysis {"connection_id":174000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f40"} 
[2026-09-05 07:19:31] local.INFO: Extracted packet for processing {"connection_id":174000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f40"} 
[2026-09-05 07:19:31] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":96980640,"longitude_deg":76.3180544,"latitude_deg":9.698064,"altitude":11,"angle":341,"satellites":27,"speed":8,"hex_longitude":"2d7d3600","hex_latitude":"05c7cea0","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874658816001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:19:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 07:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128306809323651072,"note":"Value kept but may cause issues"} 
[2026-09-05 07:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928310364160,"note":"Value kept but may cause issues"} 
[2026-09-05 07:19: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-09-05 07:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788572887000,"timestamp_ms":1788572887000,"timestamp_seconds":1788572887,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4067d8"} 
[2026-09-05 07:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:19:31] 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-09-05 07: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-05 07:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874658816001,"66":13656,"200":0,"85":12288,"24":8,"16":128306809323651072,"45":9022398928310364160},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-05 07:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874658816001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:19:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128306809323651072,"km_value":128306809323651.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928310364160,"description":"Unknown IO ID 45"} 
[2026-09-05 07:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874658816001,"power":13656,"gsm_signal":0,"unknown_85":12288,"ignition":8,"odometer":null,"unknown_45":9022398928310364160}} 
[2026-09-05 07:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":174000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767205,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:19:31] local.INFO: GPS data processed {"connection_id":174000,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:19:31] local.INFO: Acknowledgment sent {"connection_id":174000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:19:35] local.INFO: TCP Data received {"connection_id":171293,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3d3388012d34c9c006aa3d280013008021..."} 
[2026-09-05 07:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3d3388012d34c9c006aa3d280013008021..."} 
[2026-09-05 07:19:35] local.INFO: Processing buffer {"connection_id":171293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3d3388012d34c9c006aa3d280013008021..."} 
[2026-09-05 07:19:35] local.INFO: Packet analysis {"connection_id":171293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f3d"} 
[2026-09-05 07:19:35] local.INFO: Extracted packet for processing {"connection_id":171293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f3d"} 
[2026-09-05 07:19:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874528256001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788572677000,"timestamp_ms":1788572677000,"timestamp_seconds":1788572677,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3d3388"} 
[2026-09-05 07:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:19:35] 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-09-05 07:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 07:19: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-09-05 07:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874528256001,"66":25495,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874528256001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:19:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:19:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874528256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":171293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:19:35] local.INFO: GPS data processed {"connection_id":171293,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:19:35] local.INFO: Acknowledgment sent {"connection_id":171293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:19:36] local.INFO: TCP Data received {"connection_id":174000,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f409e88012d7d298005c7f070000701571a..."} 
[2026-09-05 07:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f409e88012d7d298005c7f070000701571a..."} 
[2026-09-05 07:19:36] local.INFO: Processing buffer {"connection_id":174000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f409e88012d7d298005c7f070000701571a..."} 
[2026-09-05 07:19:36] local.INFO: Packet analysis {"connection_id":174000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f40"} 
[2026-09-05 07:19:36] local.INFO: Extracted packet for processing {"connection_id":174000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f40"} 
[2026-09-05 07:19:36] local.INFO: GPS Element Parsed {"raw_longitude":763177344,"raw_latitude":96989296,"longitude_deg":76.3177344,"latitude_deg":9.6989296,"altitude":7,"angle":343,"satellites":26,"speed":40,"hex_longitude":"2d7d2980","hex_latitude":"05c7f070","is_valid_coordinates":true} 
[2026-09-05 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-09-05 07:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874659072001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:19:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 07:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128307256000249856,"note":"Value kept but may cause issues"} 
[2026-09-05 07:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928310411264,"note":"Value kept but may cause issues"} 
[2026-09-05 07:19: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-09-05 07:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788572901000,"timestamp_ms":1788572901000,"timestamp_seconds":1788572901,"priority":1,"record_length":96,"hex_timestamp":"000001a06f409e88"} 
[2026-09-05 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-09-05 07:19: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-09-05 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":88,"data_length":795,"current_offset":136} 
[2026-09-05 07:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 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-09-05 07:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":174000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":174000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":174000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874659072001,"66":13798,"200":0,"85":12288,"24":40,"16":128307256000249856,"45":9022398928310411264},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-05 07:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874659072001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:19:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128307256000249856,"km_value":128307256000249.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928310411264,"description":"Unknown IO ID 45"} 
[2026-09-05 07:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874659072001,"power":13798,"gsm_signal":0,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":9022398928310411264}} 
[2026-09-05 07:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":174000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:19:36] local.INFO: GPS data processed {"connection_id":174000,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:19:36] local.INFO: Acknowledgment sent {"connection_id":174000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:19:57] local.INFO: TCP Data received {"connection_id":172696,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:19:57] local.INFO: Processing buffer {"connection_id":172696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:19:57] local.INFO: IMEI packet received {"connection_id":172696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":172696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:20:02] local.INFO: TCP Data received {"connection_id":172696,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:20:02] local.INFO: Processing buffer {"connection_id":172696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:20:02] local.INFO: IMEI packet received {"connection_id":172696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":172696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:20:03] local.INFO: TCP Data received {"connection_id":172696,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a06f3d3388012d34c9c006aa3d280013008021..."} 
[2026-09-05 07:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f3d3388012d34c9c006aa3d280013008021..."} 
[2026-09-05 07:20:03] local.INFO: Processing buffer {"connection_id":172696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f3d3388012d34c9c006aa3d280013008021..."} 
[2026-09-05 07:20:03] local.INFO: Packet analysis {"connection_id":172696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f3d"} 
[2026-09-05 07:20:03] local.INFO: Extracted packet for processing {"connection_id":172696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f3d"} 
[2026-09-05 07:20:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":19,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874528256001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788572677000,"timestamp_ms":1788572677000,"timestamp_seconds":1788572677,"priority":1,"record_length":96,"hex_timestamp":"000001a06f3d3388"} 
[2026-09-05 07:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:20:03] 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-09-05 07:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 07:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:20: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-09-05 07:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874528256001,"66":25495,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874528256001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:20:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:20:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874528256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":172696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:20:03] local.INFO: GPS data processed {"connection_id":172696,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:20:03] local.INFO: Acknowledgment sent {"connection_id":172696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:20:07] local.INFO: TCP Data received {"connection_id":174000,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f40c1b0012d7d214005c815980006015f1b..."} 
[2026-09-05 07:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f40c1b0012d7d214005c815980006015f1b..."} 
[2026-09-05 07:20:07] local.INFO: Processing buffer {"connection_id":174000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f40c1b0012d7d214005c815980006015f1b..."} 
[2026-09-05 07:20:07] local.INFO: Packet analysis {"connection_id":174000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f40"} 
[2026-09-05 07:20:07] local.INFO: Extracted packet for processing {"connection_id":174000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f40"} 
[2026-09-05 07:20:07] local.INFO: GPS Element Parsed {"raw_longitude":763175232,"raw_latitude":96998808,"longitude_deg":76.3175232,"latitude_deg":9.6998808,"altitude":6,"angle":351,"satellites":27,"speed":47,"hex_longitude":"2d7d2140","hex_latitude":"05c81598","is_valid_coordinates":true} 
[2026-09-05 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-09-05 07:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874662656001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:20:07] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 07:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128307728446652416,"note":"Value kept but may cause issues"} 
[2026-09-05 07:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018880491103744000,"note":"Value kept but may cause issues"} 
[2026-09-05 07:20:07] 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-09-05 07:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788572910000,"timestamp_ms":1788572910000,"timestamp_seconds":1788572910,"priority":1,"record_length":96,"hex_timestamp":"000001a06f40c1b0"} 
[2026-09-05 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-09-05 07:20: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-09-05 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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 07:20:07] 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-09-05 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-09-05 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-09-05 07:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874662656001,"66":13722,"200":0,"85":12288,"24":47,"16":128307728446652416,"45":9018880491103744000},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-05 07:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874662656001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:20:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128307728446652416,"km_value":128307728446652.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018880491103744000,"description":"Unknown IO ID 45"} 
[2026-09-05 07:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874662656001,"power":13722,"gsm_signal":0,"unknown_85":12288,"ignition":47,"odometer":null,"unknown_45":9018880491103744000}} 
[2026-09-05 07:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":174000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:20:07] local.INFO: GPS data processed {"connection_id":174000,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:20:07] local.INFO: Acknowledgment sent {"connection_id":174000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:20:25] local.INFO: TCP Data received {"connection_id":174001,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174001,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:20:25] local.INFO: Processing buffer {"connection_id":174001,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:20:25] local.INFO: IMEI packet received {"connection_id":174001,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":174001,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:20:30] local.INFO: TCP Data received {"connection_id":174001,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174001,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:20:30] local.INFO: Processing buffer {"connection_id":174001,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:20:30] local.INFO: IMEI packet received {"connection_id":174001,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":174001,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:20:31] local.INFO: TCP Data received {"connection_id":174001,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f40e0f0012d7d1c0005c83bb0000701601c..."} 
[2026-09-05 07:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f40e0f0012d7d1c0005c83bb0000701601c..."} 
[2026-09-05 07:20:31] local.INFO: Processing buffer {"connection_id":174001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f40e0f0012d7d1c0005c83bb0000701601c..."} 
[2026-09-05 07:20:31] local.INFO: Packet analysis {"connection_id":174001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f40"} 
[2026-09-05 07:20:31] local.INFO: Extracted packet for processing {"connection_id":174001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f40"} 
[2026-09-05 07:20:31] local.INFO: GPS Element Parsed {"raw_longitude":763173888,"raw_latitude":97008560,"longitude_deg":76.3173888,"latitude_deg":9.700856,"altitude":7,"angle":352,"satellites":28,"speed":43,"hex_longitude":"2d7d1c00","hex_latitude":"05c83bb0","is_valid_coordinates":true} 
[2026-09-05 07:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874664960001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:20:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 07:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128308205188022272,"note":"Value kept but may cause issues"} 
[2026-09-05 07:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016558322548316160,"note":"Value kept but may cause issues"} 
[2026-09-05 07:20: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-09-05 07:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788572918000,"timestamp_ms":1788572918000,"timestamp_seconds":1788572918,"priority":1,"record_length":96,"hex_timestamp":"000001a06f40e0f0"} 
[2026-09-05 07:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:20:31] 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-09-05 07:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-05 07:20:31] 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-09-05 07:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874664960001,"66":13820,"200":0,"85":12288,"24":43,"16":128308205188022272,"45":9016558322548316160},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-05 07:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874664960001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:20:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128308205188022272,"km_value":128308205188022.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016558322548316160,"description":"Unknown IO ID 45"} 
[2026-09-05 07:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874664960001,"power":13820,"gsm_signal":0,"unknown_85":12288,"ignition":43,"odometer":null,"unknown_45":9016558322548316160}} 
[2026-09-05 07:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":174001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767210,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:20:31] local.INFO: GPS data processed {"connection_id":174001,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:20:31] local.INFO: Acknowledgment sent {"connection_id":174001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:20:34] local.INFO: TCP Data received {"connection_id":172696,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a06f41cb50012d34c9c006aa3d28000c008022..."} 
[2026-09-05 07:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f41cb50012d34c9c006aa3d28000c008022..."} 
[2026-09-05 07:20:34] local.INFO: Processing buffer {"connection_id":172696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f41cb50012d34c9c006aa3d28000c008022..."} 
[2026-09-05 07:20:34] local.INFO: Packet analysis {"connection_id":172696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f41"} 
[2026-09-05 07:20:34] local.INFO: Extracted packet for processing {"connection_id":172696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f41"} 
[2026-09-05 07:20:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":12,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874605312001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788572978000,"timestamp_ms":1788572978000,"timestamp_seconds":1788572978,"priority":1,"record_length":96,"hex_timestamp":"000001a06f41cb50"} 
[2026-09-05 07:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:20: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-09-05 07:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 07: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-09-05 07:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874605312001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874605312001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:20:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:20:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874605312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":172696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:20:34] local.INFO: GPS data processed {"connection_id":172696,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:20:34] local.INFO: Acknowledgment sent {"connection_id":172696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:21:02] local.INFO: TCP Data received {"connection_id":172698,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:21:02] local.INFO: Processing buffer {"connection_id":172698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:21:02] local.INFO: IMEI packet received {"connection_id":172698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":172698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:21:02] local.INFO: TCP Data received {"connection_id":174001,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f42cd20012d7d094005c9a738000c00051f..."} 
[2026-09-05 07:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f42cd20012d7d094005c9a738000c00051f..."} 
[2026-09-05 07:21:02] local.INFO: Processing buffer {"connection_id":174001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f42cd20012d7d094005c9a738000c00051f..."} 
[2026-09-05 07:21:02] local.INFO: Packet analysis {"connection_id":174001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f42"} 
[2026-09-05 07:21:02] local.INFO: Extracted packet for processing {"connection_id":174001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f42"} 
[2026-09-05 07:21:02] local.INFO: GPS Element Parsed {"raw_longitude":763169088,"raw_latitude":97101624,"longitude_deg":76.3169088,"latitude_deg":9.7101624,"altitude":12,"angle":5,"satellites":31,"speed":54,"hex_longitude":"2d7d0940","hex_latitude":"05c9a738","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874697472001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128312740673486848,"note":"Value kept but may cause issues"} 
[2026-09-05 07:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008958498201032704,"note":"Value kept but may cause issues"} 
[2026-09-05 07:21: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-09-05 07:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788573044000,"timestamp_ms":1788573044000,"timestamp_seconds":1788573044,"priority":1,"record_length":96,"hex_timestamp":"000001a06f42cd20"} 
[2026-09-05 07:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-05 07:21:02] 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-09-05 07: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-09-05 07:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874697472001,"66":13830,"205":206,"85":12288,"24":54,"16":128312740673486848,"45":9008958498201032704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-05 07:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874697472001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:21:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128312740673486848,"km_value":128312740673486.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008958498201032704,"description":"Unknown IO ID 45"} 
[2026-09-05 07:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874697472001,"power":13830,"cell_id":206,"unknown_85":12288,"ignition":54,"odometer":null,"unknown_45":9008958498201032704}} 
[2026-09-05 07:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":174001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767212,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:21:03] local.INFO: GPS data processed {"connection_id":174001,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:21:03] local.INFO: Acknowledgment sent {"connection_id":174001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:21:07] local.INFO: TCP Data received {"connection_id":172698,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:21:07] local.INFO: Processing buffer {"connection_id":172698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:21:07] local.INFO: IMEI packet received {"connection_id":172698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":172698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:21:08] local.INFO: TCP Data received {"connection_id":172698,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a06f41cb50012d34c9c006aa3d28000c008022..."} 
[2026-09-05 07:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f41cb50012d34c9c006aa3d28000c008022..."} 
[2026-09-05 07:21:08] local.INFO: Processing buffer {"connection_id":172698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f41cb50012d34c9c006aa3d28000c008022..."} 
[2026-09-05 07:21:08] local.INFO: Packet analysis {"connection_id":172698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f41"} 
[2026-09-05 07:21:08] local.INFO: Extracted packet for processing {"connection_id":172698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f41"} 
[2026-09-05 07:21:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":12,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874605312001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788572978000,"timestamp_ms":1788572978000,"timestamp_seconds":1788572978,"priority":1,"record_length":96,"hex_timestamp":"000001a06f41cb50"} 
[2026-09-05 07:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:21: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-09-05 07:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 07:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874605312001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874605312001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:21:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:21:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874605312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":172698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:21:08] local.INFO: GPS data processed {"connection_id":172698,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:21:08] local.INFO: Acknowledgment sent {"connection_id":172698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:21:14] local.INFO: TCP Data received {"connection_id":172698,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a06f41cb50012d34c9c006aa3d28000c008022..."} 
[2026-09-05 07:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f41cb50012d34c9c006aa3d28000c008022..."} 
[2026-09-05 07:21:14] local.INFO: Processing buffer {"connection_id":172698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f41cb50012d34c9c006aa3d28000c008022..."} 
[2026-09-05 07:21:14] local.INFO: Packet analysis {"connection_id":172698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f41"} 
[2026-09-05 07:21:14] local.INFO: Extracted packet for processing {"connection_id":172698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f41"} 
[2026-09-05 07:21:14] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":12,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874605312001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788572978000,"timestamp_ms":1788572978000,"timestamp_seconds":1788572978,"priority":1,"record_length":96,"hex_timestamp":"000001a06f41cb50"} 
[2026-09-05 07:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:21:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 07:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 07:21:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07:21:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":172698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":172698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":172698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:21:14] 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-09-05 07:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874605312001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874605312001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:21:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:21:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874605312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":172698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:21:14] local.INFO: GPS data processed {"connection_id":172698,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:21:14] local.INFO: Acknowledgment sent {"connection_id":172698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:21:25] local.INFO: TCP Data received {"connection_id":174002,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:21:25] local.INFO: Processing buffer {"connection_id":174002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:21:25] local.INFO: IMEI packet received {"connection_id":174002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":174002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:21:29] local.INFO: TCP Data received {"connection_id":174002,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:21:29] local.INFO: Processing buffer {"connection_id":174002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:21:29] local.INFO: IMEI packet received {"connection_id":174002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":174002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:21:37] local.INFO: TCP Data received {"connection_id":174002,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:21:37] local.INFO: Processing buffer {"connection_id":174002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:21:37] local.INFO: IMEI packet received {"connection_id":174002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":174002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:21:38] local.INFO: TCP Data received {"connection_id":174002,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f42e878012d7d0cc005c9cef8000c00051f..."} 
[2026-09-05 07:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f42e878012d7d0cc005c9cef8000c00051f..."} 
[2026-09-05 07:21:38] local.INFO: Processing buffer {"connection_id":174002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f42e878012d7d0cc005c9cef8000c00051f..."} 
[2026-09-05 07:21:38] local.INFO: Packet analysis {"connection_id":174002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f42"} 
[2026-09-05 07:21:38] local.INFO: Extracted packet for processing {"connection_id":174002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f42"} 
[2026-09-05 07:21:38] local.INFO: GPS Element Parsed {"raw_longitude":763169984,"raw_latitude":97111800,"longitude_deg":76.3169984,"latitude_deg":9.71118,"altitude":12,"angle":5,"satellites":31,"speed":59,"hex_longitude":"2d7d0cc0","hex_latitude":"05c9cef8","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874699264001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128313234594725888,"note":"Value kept but may cause issues"} 
[2026-09-05 07:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009802923133581312,"note":"Value kept but may cause issues"} 
[2026-09-05 07:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788573051000,"timestamp_ms":1788573051000,"timestamp_seconds":1788573051,"priority":1,"record_length":96,"hex_timestamp":"000001a06f42e878"} 
[2026-09-05 07:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:21: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-09-05 07: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-05 07:21:38] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-09-05 07:21:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627265948416,"note":"Value kept but may cause issues"} 
[2026-09-05 07:21:38] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-09-05 07:21:38] local.WARNING: Large IO value detected {"io_id":7,"raw_value":3221604616,"note":"Value kept but may cause issues"} 
[2026-09-05 07:21:38] local.WARNING: Large IO value detected {"io_id":199,"raw_value":3656843264,"note":"Value kept but may cause issues"} 
[2026-09-05 07:21:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3372752896,"note":"Value kept but may cause issues"} 
[2026-09-05 07:21:38] local.WARNING: Large IO value detected {"io_id":156,"raw_value":8070782022286575048,"note":"Value kept but may cause issues"} 
[2026-09-05 07:21:38] local.WARNING: Large IO value detected {"io_id":238,"raw_value":-8646905781002108886,"note":"Value kept but may cause issues"} 
[2026-09-05 07:21:38] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,205,85,24,241,157,16,219,160,177,45,64,130,13,29,10,66,146,128,93,12,218,107,1,240,28,227,111,201,4,113,22,254,7,248,239,53,2,199,5,156,238],"length":528,"final_offset":658,"validated_count":42,"validation_warnings":[]} 
[2026-09-05 07:21:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864696759160799232,"timestamp_seconds":864696759160799.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 07:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874699264001,"66":13961,"203":206,"85":12288,"24":59,"16":128313234594725888,"45":9009802923133581312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,85,24,16,45]} 
[2026-09-05 07:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874699264001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:21:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128313234594725888,"km_value":128313234594725.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009802923133581312,"description":"Unknown IO ID 45"} 
[2026-09-05 07:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874699264001,"power":13961,"mnc":206,"unknown_85":12288,"ignition":59,"odometer":null,"unknown_45":9009802923133581312}} 
[2026-09-05 07:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":174002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767215,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:21:38] local.INFO: GPS data processed {"connection_id":174002,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:21:38] local.INFO: Acknowledgment sent {"connection_id":174002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:21:39] local.INFO: TCP Data received {"connection_id":174002,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f42ffe8012d7d10c005c9f368000c00051f..."} 
[2026-09-05 07:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f42ffe8012d7d10c005c9f368000c00051f..."} 
[2026-09-05 07:21:39] local.INFO: Processing buffer {"connection_id":174002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f42ffe8012d7d10c005c9f368000c00051f..."} 
[2026-09-05 07:21:39] local.INFO: Packet analysis {"connection_id":174002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f42"} 
[2026-09-05 07:21:39] local.INFO: Extracted packet for processing {"connection_id":174002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f42"} 
[2026-09-05 07:21:39] local.INFO: GPS Element Parsed {"raw_longitude":763171008,"raw_latitude":97121128,"longitude_deg":76.3171008,"latitude_deg":9.7121128,"altitude":12,"angle":5,"satellites":31,"speed":63,"hex_longitude":"2d7d10c0","hex_latitude":"05c9f368","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874701056001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128313689861259264,"note":"Value kept but may cause issues"} 
[2026-09-05 07:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010788085554673664,"note":"Value kept but may cause issues"} 
[2026-09-05 07:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788573057000,"timestamp_ms":1788573057000,"timestamp_seconds":1788573057,"priority":1,"record_length":96,"hex_timestamp":"000001a06f42ffe8"} 
[2026-09-05 07:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:21: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-09-05 07: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-05 07:21:39] 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-09-05 07: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-09-05 07:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874701056001,"66":13765,"203":206,"85":12288,"24":63,"16":128313689861259264,"45":9010788085554673664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,85,24,16,45]} 
[2026-09-05 07:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874701056001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:21:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128313689861259264,"km_value":128313689861259.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010788085554673664,"description":"Unknown IO ID 45"} 
[2026-09-05 07:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874701056001,"power":13765,"mnc":206,"unknown_85":12288,"ignition":63,"odometer":null,"unknown_45":9010788085554673664}} 
[2026-09-05 07:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":174002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767216,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:21:39] local.INFO: GPS data processed {"connection_id":174002,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:21:39] local.INFO: Acknowledgment sent {"connection_id":174002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:21:57] local.INFO: TCP Data received {"connection_id":171594,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:21:57] local.INFO: Processing buffer {"connection_id":171594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:21:57] local.INFO: IMEI packet received {"connection_id":171594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":171594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:22:02] local.INFO: TCP Data received {"connection_id":171594,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:22:02] local.INFO: Processing buffer {"connection_id":171594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:22:02] local.INFO: IMEI packet received {"connection_id":171594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":171594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:22:03] local.INFO: TCP Data received {"connection_id":171594,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a06f41cb50012d34c9c006aa3d28000c008022..."} 
[2026-09-05 07:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f41cb50012d34c9c006aa3d28000c008022..."} 
[2026-09-05 07:22:03] local.INFO: Processing buffer {"connection_id":171594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f41cb50012d34c9c006aa3d28000c008022..."} 
[2026-09-05 07:22:03] local.INFO: Packet analysis {"connection_id":171594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f41"} 
[2026-09-05 07:22:03] local.INFO: Extracted packet for processing {"connection_id":171594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f41"} 
[2026-09-05 07:22:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":12,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874605312001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788572978000,"timestamp_ms":1788572978000,"timestamp_seconds":1788572978,"priority":1,"record_length":96,"hex_timestamp":"000001a06f41cb50"} 
[2026-09-05 07:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:22: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-09-05 07:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 07:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:22: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-09-05 07:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874605312001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874605312001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:22:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:22:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874605312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":171594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:22:03] local.INFO: GPS data processed {"connection_id":171594,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:22:03] local.INFO: Acknowledgment sent {"connection_id":171594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:22:10] local.INFO: TCP Data received {"connection_id":174002,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f431758012d7d144005ca1910000c00051f..."} 
[2026-09-05 07:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f431758012d7d144005ca1910000c00051f..."} 
[2026-09-05 07:22:10] local.INFO: Processing buffer {"connection_id":174002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f431758012d7d144005ca1910000c00051f..."} 
[2026-09-05 07:22:10] local.INFO: Packet analysis {"connection_id":174002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f43"} 
[2026-09-05 07:22:10] local.INFO: Extracted packet for processing {"connection_id":174002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f43"} 
[2026-09-05 07:22:10] local.INFO: GPS Element Parsed {"raw_longitude":763171904,"raw_latitude":97130768,"longitude_deg":76.3171904,"latitude_deg":9.7130768,"altitude":12,"angle":5,"satellites":31,"speed":64,"hex_longitude":"2d7d1440","hex_latitude":"05ca1910","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874702592001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128314158012694528,"note":"Value kept but may cause issues"} 
[2026-09-05 07:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011913985463904256,"note":"Value kept but may cause issues"} 
[2026-09-05 07:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788573063000,"timestamp_ms":1788573063000,"timestamp_seconds":1788573063,"priority":1,"record_length":96,"hex_timestamp":"000001a06f431758"} 
[2026-09-05 07:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-05 07:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":174002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":174002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":174002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874702592001,"66":13678,"203":206,"85":12288,"24":64,"16":128314158012694528,"45":9011913985463904256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,85,24,16,45]} 
[2026-09-05 07:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874702592001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 07:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128314158012694528,"km_value":128314158012694.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011913985463904256,"description":"Unknown IO ID 45"} 
[2026-09-05 07:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874702592001,"power":13678,"mnc":206,"unknown_85":12288,"ignition":64,"odometer":null,"unknown_45":9011913985463904256}} 
[2026-09-05 07:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":174002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:22:10] local.INFO: GPS data processed {"connection_id":174002,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:22:10] local.INFO: Acknowledgment sent {"connection_id":174002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:22:30] local.INFO: TCP Data received {"connection_id":171595,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171595,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:22:30] local.INFO: Processing buffer {"connection_id":171595,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:22:30] local.INFO: IMEI packet received {"connection_id":171595,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":171595,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:22:31] local.INFO: TCP Data received {"connection_id":171595,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171595,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:22:31] local.INFO: Processing buffer {"connection_id":171595,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:22:31] local.INFO: IMEI packet received {"connection_id":171595,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":171595,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:22:35] local.INFO: TCP Data received {"connection_id":171594,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a06f41cb50012d34c9c006aa3d28000c008022..."} 
[2026-09-05 07:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f41cb50012d34c9c006aa3d28000c008022..."} 
[2026-09-05 07:22:35] local.INFO: Processing buffer {"connection_id":171594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f41cb50012d34c9c006aa3d28000c008022..."} 
[2026-09-05 07:22:35] local.INFO: Packet analysis {"connection_id":171594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f41"} 
[2026-09-05 07:22:35] local.INFO: Extracted packet for processing {"connection_id":171594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f41"} 
[2026-09-05 07:22:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":12,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874605312001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788572978000,"timestamp_ms":1788572978000,"timestamp_seconds":1788572978,"priority":1,"record_length":96,"hex_timestamp":"000001a06f41cb50"} 
[2026-09-05 07:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:22:35] 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-09-05 07:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 07:22: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-09-05 07:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:22:35] 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-09-05 07:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874605312001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874605312001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:22:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:22:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874605312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":171594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:22:35] local.INFO: GPS data processed {"connection_id":171594,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:22:35] local.INFO: Acknowledgment sent {"connection_id":171594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:22:36] local.INFO: TCP Data received {"connection_id":171595,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171595,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:22:36] local.INFO: Processing buffer {"connection_id":171595,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:22:36] local.INFO: IMEI packet received {"connection_id":171595,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":171595,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:22:37] local.INFO: TCP Data received {"connection_id":171595,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f441d10012d7d360005cbb470001200061e..."} 
[2026-09-05 07:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f441d10012d7d360005cbb470001200061e..."} 
[2026-09-05 07:22:37] local.INFO: Processing buffer {"connection_id":171595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f441d10012d7d360005cbb470001200061e..."} 
[2026-09-05 07:22:37] local.INFO: Packet analysis {"connection_id":171595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f44"} 
[2026-09-05 07:22:37] local.INFO: Extracted packet for processing {"connection_id":171595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f44"} 
[2026-09-05 07:22:37] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":97236080,"longitude_deg":76.3180544,"latitude_deg":9.723608,"altitude":18,"angle":6,"satellites":30,"speed":44,"hex_longitude":"2d7d3600","hex_latitude":"05cbb470","is_valid_coordinates":true} 
[2026-09-05 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-09-05 07:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874719488001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128319281908678656,"note":"Value kept but may cause issues"} 
[2026-09-05 07:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021273028466499584,"note":"Value kept but may cause issues"} 
[2026-09-05 07:22: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-09-05 07:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788573130000,"timestamp_ms":1788573130000,"timestamp_seconds":1788573130,"priority":1,"record_length":96,"hex_timestamp":"000001a06f441d10"} 
[2026-09-05 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-09-05 07:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":230,"data_length":795,"current_offset":136} 
[2026-09-05 07:22: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-09-05 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-09-05 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-09-05 07:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874719488001,"66":13504,"131":206,"85":15104,"24":44,"16":128319281908678656,"45":9021273028466499584},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-05 07:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874719488001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:22:37] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-05 07:22:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128319281908678656,"km_value":128319281908678.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021273028466499584,"description":"Unknown IO ID 45"} 
[2026-09-05 07:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874719488001,"power":13504,"unknown_131":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9021273028466499584}} 
[2026-09-05 07:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":171595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:22:37] local.INFO: GPS data processed {"connection_id":171595,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:22:37] local.INFO: Acknowledgment sent {"connection_id":171595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:22:57] local.INFO: TCP Data received {"connection_id":174003,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:22:57] local.INFO: Processing buffer {"connection_id":174003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:22:57] local.INFO: IMEI packet received {"connection_id":174003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":174003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:23:02] local.INFO: TCP Data received {"connection_id":174003,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:23:02] local.INFO: Processing buffer {"connection_id":174003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:23:02] local.INFO: IMEI packet received {"connection_id":174003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":174003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:23:03] local.INFO: TCP Data received {"connection_id":174003,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a06f41cb50012d34c9c006aa3d28000c008022..."} 
[2026-09-05 07:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f41cb50012d34c9c006aa3d28000c008022..."} 
[2026-09-05 07:23:03] local.INFO: Processing buffer {"connection_id":174003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f41cb50012d34c9c006aa3d28000c008022..."} 
[2026-09-05 07:23:03] local.INFO: Packet analysis {"connection_id":174003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f41"} 
[2026-09-05 07:23:03] local.INFO: Extracted packet for processing {"connection_id":174003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f41"} 
[2026-09-05 07:23:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":12,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874605312001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788572978000,"timestamp_ms":1788572978000,"timestamp_seconds":1788572978,"priority":1,"record_length":96,"hex_timestamp":"000001a06f41cb50"} 
[2026-09-05 07:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:23: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-09-05 07:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 07:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:23: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-09-05 07:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874605312001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874605312001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:23:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:23:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874605312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":174003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:23:03] local.INFO: GPS data processed {"connection_id":174003,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:23:03] local.INFO: Acknowledgment sent {"connection_id":174003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:23:07] local.INFO: TCP Data received {"connection_id":171595,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f444420012d7d3ac005cbd6e0001400091e..."} 
[2026-09-05 07:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f444420012d7d3ac005cbd6e0001400091e..."} 
[2026-09-05 07:23:07] local.INFO: Processing buffer {"connection_id":171595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f444420012d7d3ac005cbd6e0001400091e..."} 
[2026-09-05 07:23:07] local.INFO: Packet analysis {"connection_id":171595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f44"} 
[2026-09-05 07:23:07] local.INFO: Extracted packet for processing {"connection_id":171595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f44"} 
[2026-09-05 07:23:07] local.INFO: GPS Element Parsed {"raw_longitude":763181760,"raw_latitude":97244896,"longitude_deg":76.318176,"latitude_deg":9.7244896,"altitude":20,"angle":9,"satellites":30,"speed":39,"hex_longitude":"2d7d3ac0","hex_latitude":"05cbd6e0","is_valid_coordinates":true} 
[2026-09-05 07:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874721280001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128319711405408256,"note":"Value kept but may cause issues"} 
[2026-09-05 07:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928375803904,"note":"Value kept but may cause issues"} 
[2026-09-05 07:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788573140000,"timestamp_ms":1788573140000,"timestamp_seconds":1788573140,"priority":1,"record_length":96,"hex_timestamp":"000001a06f444420"} 
[2026-09-05 07:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:23:07] 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-09-05 07:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-05 07:23:07] 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-09-05 07:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874721280001,"66":13906,"130":206,"85":15104,"24":39,"16":128319711405408256,"45":9022398928375803904},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,45]} 
[2026-09-05 07:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874721280001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:23:07] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-05 07:23:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128319711405408256,"km_value":128319711405408.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928375803904,"description":"Unknown IO ID 45"} 
[2026-09-05 07:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874721280001,"power":13906,"unknown_130":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9022398928375803904}} 
[2026-09-05 07:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":171595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767222,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:23:08] local.INFO: GPS data processed {"connection_id":171595,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:23:08] local.INFO: Acknowledgment sent {"connection_id":171595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:23:24] local.INFO: TCP Data received {"connection_id":171294,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:23:24] local.INFO: Processing buffer {"connection_id":171294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:23:24] local.INFO: IMEI packet received {"connection_id":171294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":171294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:23:25] local.INFO: TCP Data received {"connection_id":171294,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:23:25] local.INFO: Processing buffer {"connection_id":171294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:23:25] local.INFO: IMEI packet received {"connection_id":171294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":171294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:23:30] local.INFO: TCP Data received {"connection_id":171294,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:23:30] local.INFO: Processing buffer {"connection_id":171294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:23:30] local.INFO: IMEI packet received {"connection_id":171294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":171294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:23:31] local.INFO: TCP Data received {"connection_id":171294,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f446360012d7d40c005cbfa100012000a1e..."} 
[2026-09-05 07:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f446360012d7d40c005cbfa100012000a1e..."} 
[2026-09-05 07:23:31] local.INFO: Processing buffer {"connection_id":171294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f446360012d7d40c005cbfa100012000a1e..."} 
[2026-09-05 07:23:31] local.INFO: Packet analysis {"connection_id":171294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f44"} 
[2026-09-05 07:23:31] local.INFO: Extracted packet for processing {"connection_id":171294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f44"} 
[2026-09-05 07:23:31] local.INFO: GPS Element Parsed {"raw_longitude":763183296,"raw_latitude":97253904,"longitude_deg":76.3183296,"latitude_deg":9.7253904,"altitude":18,"angle":10,"satellites":30,"speed":52,"hex_longitude":"2d7d40c0","hex_latitude":"05cbfa10","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874723840001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128320158082007040,"note":"Value kept but may cause issues"} 
[2026-09-05 07:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023735934517436416,"note":"Value kept but may cause issues"} 
[2026-09-05 07:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788573148000,"timestamp_ms":1788573148000,"timestamp_seconds":1788573148,"priority":1,"record_length":96,"hex_timestamp":"000001a06f446360"} 
[2026-09-05 07:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:23: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-09-05 07: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-05 07:23: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-09-05 07: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-09-05 07:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874723840001,"66":13646,"130":206,"85":15104,"24":52,"16":128320158082007040,"45":9023735934517436416},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,45]} 
[2026-09-05 07:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874723840001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:23:31] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-05 07:23:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128320158082007040,"km_value":128320158082007.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023735934517436416,"description":"Unknown IO ID 45"} 
[2026-09-05 07:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874723840001,"power":13646,"unknown_130":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":9023735934517436416}} 
[2026-09-05 07:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":171294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767223,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:23:31] local.INFO: GPS data processed {"connection_id":171294,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:23:31] local.INFO: Acknowledgment sent {"connection_id":171294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:23:34] local.INFO: TCP Data received {"connection_id":174003,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a06f41cb50012d34c9c006aa3d28000c008022..."} 
[2026-09-05 07:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f41cb50012d34c9c006aa3d28000c008022..."} 
[2026-09-05 07:23:34] local.INFO: Processing buffer {"connection_id":174003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f41cb50012d34c9c006aa3d28000c008022..."} 
[2026-09-05 07:23:34] local.INFO: Packet analysis {"connection_id":174003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f41"} 
[2026-09-05 07:23:34] local.INFO: Extracted packet for processing {"connection_id":174003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f41"} 
[2026-09-05 07:23:34] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":12,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874605312001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788572978000,"timestamp_ms":1788572978000,"timestamp_seconds":1788572978,"priority":1,"record_length":96,"hex_timestamp":"000001a06f41cb50"} 
[2026-09-05 07:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07: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-09-05 07:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 07:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:23:34] 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-09-05 07:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874605312001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874605312001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:23:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:23:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874605312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":174003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:23:34] local.INFO: GPS data processed {"connection_id":174003,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:23:34] local.INFO: Acknowledgment sent {"connection_id":174003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:23:57] local.INFO: TCP Data received {"connection_id":172699,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:23:57] local.INFO: Processing buffer {"connection_id":172699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:23:57] local.INFO: IMEI packet received {"connection_id":172699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":172699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:24:02] local.INFO: TCP Data received {"connection_id":172699,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:24:02] local.INFO: Processing buffer {"connection_id":172699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:24:02] local.INFO: IMEI packet received {"connection_id":172699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":172699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:24:03] local.INFO: TCP Data received {"connection_id":171294,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f458088012d7d400005cdc660000a01661f..."} 
[2026-09-05 07:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f458088012d7d400005cdc660000a01661f..."} 
[2026-09-05 07:24:03] local.INFO: Processing buffer {"connection_id":171294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f458088012d7d400005cdc660000a01661f..."} 
[2026-09-05 07:24:03] local.INFO: Packet analysis {"connection_id":171294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f45"} 
[2026-09-05 07:24:03] local.INFO: Extracted packet for processing {"connection_id":171294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f45"} 
[2026-09-05 07:24:03] local.INFO: GPS Element Parsed {"raw_longitude":763183104,"raw_latitude":97371744,"longitude_deg":76.3183104,"latitude_deg":9.7371744,"altitude":10,"angle":358,"satellites":31,"speed":64,"hex_longitude":"2d7d4000","hex_latitude":"05cdc660","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874743040001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128325909043216384,"note":"Value kept but may cause issues"} 
[2026-09-05 07:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025846996872720384,"note":"Value kept but may cause issues"} 
[2026-09-05 07:24: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-09-05 07:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788573221000,"timestamp_ms":1788573221000,"timestamp_seconds":1788573221,"priority":1,"record_length":96,"hex_timestamp":"000001a06f458088"} 
[2026-09-05 07:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:24: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-09-05 07: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":82,"data_length":795,"current_offset":136} 
[2026-09-05 07:24: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-09-05 07: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-09-05 07:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874743040001,"66":13646,"129":206,"85":15104,"24":64,"16":128325909043216384,"45":9025846996872720384},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-09-05 07:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874743040001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:24:03] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-05 07:24:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128325909043216384,"km_value":128325909043216.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025846996872720384,"description":"Unknown IO ID 45"} 
[2026-09-05 07:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874743040001,"power":13646,"unknown_129":206,"unknown_85":15104,"ignition":64,"odometer":null,"unknown_45":9025846996872720384}} 
[2026-09-05 07:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":171294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:24:03] local.INFO: GPS data processed {"connection_id":171294,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:24:03] local.INFO: Acknowledgment sent {"connection_id":171294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:24:03] local.INFO: TCP Data received {"connection_id":172699,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a06f41cb50012d34c9c006aa3d28000c008022..."} 
[2026-09-05 07:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f41cb50012d34c9c006aa3d28000c008022..."} 
[2026-09-05 07:24:03] local.INFO: Processing buffer {"connection_id":172699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f41cb50012d34c9c006aa3d28000c008022..."} 
[2026-09-05 07:24:03] local.INFO: Packet analysis {"connection_id":172699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f41"} 
[2026-09-05 07:24:03] local.INFO: Extracted packet for processing {"connection_id":172699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f41"} 
[2026-09-05 07:24:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":12,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874605312001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788572978000,"timestamp_ms":1788572978000,"timestamp_seconds":1788572978,"priority":1,"record_length":96,"hex_timestamp":"000001a06f41cb50"} 
[2026-09-05 07:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:24: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-09-05 07:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 07:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:24: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-09-05 07:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874605312001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874605312001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:24:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:24:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874605312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":172699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:24:03] local.INFO: GPS data processed {"connection_id":172699,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:24:03] local.INFO: Acknowledgment sent {"connection_id":172699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:24:25] local.INFO: TCP Data received {"connection_id":172700,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:24:25] local.INFO: Processing buffer {"connection_id":172700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:24:25] local.INFO: IMEI packet received {"connection_id":172700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":172700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:24:26] local.INFO: TCP Data received {"connection_id":172700,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:24:26] local.INFO: Processing buffer {"connection_id":172700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:24:26] local.INFO: IMEI packet received {"connection_id":172700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":172700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:24:30] local.INFO: TCP Data received {"connection_id":172700,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:24:30] local.INFO: Processing buffer {"connection_id":172700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:24:30] local.INFO: IMEI packet received {"connection_id":172700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":172700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:24:31] local.INFO: TCP Data received {"connection_id":172700,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4597f8012d7d3fc005cdeac8000d00011f..."} 
[2026-09-05 07:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4597f8012d7d3fc005cdeac8000d00011f..."} 
[2026-09-05 07:24:31] local.INFO: Processing buffer {"connection_id":172700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4597f8012d7d3fc005cdeac8000d00011f..."} 
[2026-09-05 07:24:31] local.INFO: Packet analysis {"connection_id":172700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f45"} 
[2026-09-05 07:24:31] local.INFO: Extracted packet for processing {"connection_id":172700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f45"} 
[2026-09-05 07:24:31] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":97381064,"longitude_deg":76.318304,"latitude_deg":9.7381064,"altitude":13,"angle":1,"satellites":31,"speed":59,"hex_longitude":"2d7d3fc0","hex_latitude":"05cdeac8","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874744576001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128326360014782464,"note":"Value kept but may cause issues"} 
[2026-09-05 07:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025213678177640448,"note":"Value kept but may cause issues"} 
[2026-09-05 07:24: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-09-05 07:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788573227000,"timestamp_ms":1788573227000,"timestamp_seconds":1788573227,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4597f8"} 
[2026-09-05 07:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:24: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-09-05 07: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-05 07:24: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-09-05 07: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-09-05 07:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874744576001,"66":13580,"235":206,"85":15104,"24":59,"16":128326360014782464,"45":9025213678177640448},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-09-05 07:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874744576001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:24:31] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 07:24:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128326360014782464,"km_value":128326360014782.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025213678177640448,"description":"Unknown IO ID 45"} 
[2026-09-05 07:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874744576001,"power":13580,"unknown_235":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9025213678177640448}} 
[2026-09-05 07:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":172700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767227,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:24:31] local.INFO: GPS data processed {"connection_id":172700,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:24:31] local.INFO: Acknowledgment sent {"connection_id":172700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:24:31] local.INFO: TCP Data received {"connection_id":172697,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172697,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:24:31] local.INFO: Processing buffer {"connection_id":172697,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:24:31] local.INFO: IMEI packet received {"connection_id":172697,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 07:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":172697,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:24:35] local.INFO: TCP Data received {"connection_id":172699,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a06f41cb50012d34c9c006aa3d28000c008022..."} 
[2026-09-05 07:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f41cb50012d34c9c006aa3d28000c008022..."} 
[2026-09-05 07:24:35] local.INFO: Processing buffer {"connection_id":172699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f41cb50012d34c9c006aa3d28000c008022..."} 
[2026-09-05 07:24:35] local.INFO: Packet analysis {"connection_id":172699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f41"} 
[2026-09-05 07:24:35] local.INFO: Extracted packet for processing {"connection_id":172699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f41"} 
[2026-09-05 07:24:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":12,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874605312001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788572978000,"timestamp_ms":1788572978000,"timestamp_seconds":1788572978,"priority":1,"record_length":96,"hex_timestamp":"000001a06f41cb50"} 
[2026-09-05 07:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:24:35] 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-09-05 07:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 07:24: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-09-05 07:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:24:35] 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-09-05 07:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874605312001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874605312001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:24:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:24:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874605312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":172699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:24:35] local.INFO: GPS data processed {"connection_id":172699,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:24:35] local.INFO: Acknowledgment sent {"connection_id":172699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:24:57] local.INFO: TCP Data received {"connection_id":171295,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:24:57] local.INFO: Processing buffer {"connection_id":171295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:24:57] local.INFO: IMEI packet received {"connection_id":171295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":171295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:25:02] local.INFO: TCP Data received {"connection_id":171295,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:25:02] local.INFO: Processing buffer {"connection_id":171295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:25:02] local.INFO: IMEI packet received {"connection_id":171295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":171295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:25:02] local.INFO: TCP Data received {"connection_id":172700,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f45bb20012d7d418005ce0f38000e00021f..."} 
[2026-09-05 07:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f45bb20012d7d418005ce0f38000e00021f..."} 
[2026-09-05 07:25:02] local.INFO: Processing buffer {"connection_id":172700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f45bb20012d7d418005ce0f38000e00021f..."} 
[2026-09-05 07:25:02] local.INFO: Packet analysis {"connection_id":172700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f45"} 
[2026-09-05 07:25:02] local.INFO: Extracted packet for processing {"connection_id":172700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f45"} 
[2026-09-05 07:25:02] local.INFO: GPS Element Parsed {"raw_longitude":763183488,"raw_latitude":97390392,"longitude_deg":76.3183488,"latitude_deg":9.7390392,"altitude":14,"angle":2,"satellites":31,"speed":25,"hex_longitude":"2d7d4180","hex_latitude":"05ce0f38","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874746112001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128326815281315840,"note":"Value kept but may cause issues"} 
[2026-09-05 07:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309435848704,"note":"Value kept but may cause issues"} 
[2026-09-05 07:25: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-09-05 07:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788573236000,"timestamp_ms":1788573236000,"timestamp_seconds":1788573236,"priority":1,"record_length":96,"hex_timestamp":"000001a06f45bb20"} 
[2026-09-05 07:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:25: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-09-05 07: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-05 07:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630309,"note":"Value kept but may cause issues"} 
[2026-09-05 07:25:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 07:25:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":7213922465880211466,"note":"Value kept but may cause issues"} 
[2026-09-05 07:25:02] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 07:25:02] local.WARNING: Large IO value detected {"io_id":230,"raw_value":3758096384,"note":"Value kept but may cause issues"} 
[2026-09-05 07:25:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2894135502,"corrected_to":0} 
[2026-09-05 07:25:02] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636610435132545,"note":"Value kept but may cause issues"} 
[2026-09-05 07:25:02] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3355520381,"note":"Value kept but may cause issues"} 
[2026-09-05 07:25:02] local.WARNING: Large IO value detected {"io_id":77,"raw_value":3221605678,"note":"Value kept but may cause issues"} 
[2026-09-05 07:25:02] local.WARNING: Large IO value detected {"io_id":53,"raw_value":5620718475740761685,"note":"Value kept but may cause issues"} 
[2026-09-05 07:25:02] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-05 07:25:02] local.WARNING: Large IO value detected {"io_id":199,"raw_value":3858890752,"note":"Value kept but may cause issues"} 
[2026-09-05 07:25:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3439794176,"note":"Value kept but may cause issues"} 
[2026-09-05 07:25:02] local.WARNING: Large IO value detected {"io_id":125,"raw_value":6052844276669218830,"note":"Value kept but may cause issues"} 
[2026-09-05 07:25:02] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755687203995889,"note":"Value kept but may cause issues"} 
[2026-09-05 07:25:02] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,235,85,24,241,157,16,232,160,128,45,198,10,31,66,129,231,105,64,159,8,81,1,240,82,227,230,111,205,4,113,34,77,48,239,53,2,199,5,11,125,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2894135502,"validated":0}]} 
[2026-09-05 07:25:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936749955152543744,"timestamp_seconds":936749955152543.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 07:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874746112001,"66":13678,"235":206,"85":15104,"24":25,"16":128326815281315840,"45":9025143309435848704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-09-05 07:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874746112001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:25:02] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 07:25:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128326815281315840,"km_value":128326815281315.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309435848704,"description":"Unknown IO ID 45"} 
[2026-09-05 07:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874746112001,"power":13678,"unknown_235":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9025143309435848704}} 
[2026-09-05 07:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":172700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767229,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:25:02] local.INFO: GPS data processed {"connection_id":172700,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:25:02] local.INFO: Acknowledgment sent {"connection_id":172700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:25:03] local.INFO: TCP Data received {"connection_id":171295,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06f41cb50012d34c9c006aa3d28000c008022..."} 
[2026-09-05 07:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f41cb50012d34c9c006aa3d28000c008022..."} 
[2026-09-05 07:25:03] local.INFO: Processing buffer {"connection_id":171295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f41cb50012d34c9c006aa3d28000c008022..."} 
[2026-09-05 07:25:03] local.INFO: Packet analysis {"connection_id":171295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f41"} 
[2026-09-05 07:25:03] local.INFO: Extracted packet for processing {"connection_id":171295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f41"} 
[2026-09-05 07:25:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":12,"angle":128,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874605312001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788572978000,"timestamp_ms":1788572978000,"timestamp_seconds":1788572978,"priority":1,"record_length":96,"hex_timestamp":"000001a06f41cb50"} 
[2026-09-05 07:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:25: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-09-05 07: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":151,"data_length":795,"current_offset":136} 
[2026-09-05 07:25: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-09-05 07: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-09-05 07:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:25: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-09-05 07:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874605312001,"66":25473,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874605312001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:25:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:25:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874605312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":171295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:25:03] local.INFO: GPS data processed {"connection_id":171295,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:25:03] local.INFO: Acknowledgment sent {"connection_id":171295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:25:25] local.INFO: TCP Data received {"connection_id":171596,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:25:25] local.INFO: Processing buffer {"connection_id":171596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:25:25] local.INFO: IMEI packet received {"connection_id":171596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":171596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:25:26] local.INFO: TCP Data received {"connection_id":171596,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:25:26] local.INFO: Processing buffer {"connection_id":171596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:25:26] local.INFO: IMEI packet received {"connection_id":171596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":171596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:25:30] local.INFO: TCP Data received {"connection_id":171596,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:25:30] local.INFO: Processing buffer {"connection_id":171596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:25:30] local.INFO: IMEI packet received {"connection_id":171596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":171596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:25:31] local.INFO: TCP Data received {"connection_id":171596,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f45ede8012d7d440005ce3348000d00011f..."} 
[2026-09-05 07:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f45ede8012d7d440005ce3348000d00011f..."} 
[2026-09-05 07:25:31] local.INFO: Processing buffer {"connection_id":171596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f45ede8012d7d440005ce3348000d00011f..."} 
[2026-09-05 07:25:31] local.INFO: Packet analysis {"connection_id":171596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f45"} 
[2026-09-05 07:25:31] local.INFO: Extracted packet for processing {"connection_id":171596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f45"} 
[2026-09-05 07:25:31] local.INFO: GPS Element Parsed {"raw_longitude":763184128,"raw_latitude":97399624,"longitude_deg":76.3184128,"latitude_deg":9.7399624,"altitude":13,"angle":1,"satellites":31,"speed":40,"hex_longitude":"2d7d4400","hex_latitude":"05ce3348","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874748416001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128327261957914624,"note":"Value kept but may cause issues"} 
[2026-09-05 07:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025635890647480320,"note":"Value kept but may cause issues"} 
[2026-09-05 07:25: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-09-05 07:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788573249000,"timestamp_ms":1788573249000,"timestamp_seconds":1788573249,"priority":1,"record_length":96,"hex_timestamp":"000001a06f45ede8"} 
[2026-09-05 07:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:25: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-09-05 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-05 07:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874748416001,"66":13678,"235":206,"85":15104,"24":40,"16":128327261957914624,"45":9025635890647480320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-09-05 07:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874748416001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:25:31] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 07:25:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128327261957914624,"km_value":128327261957914.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025635890647480320,"description":"Unknown IO ID 45"} 
[2026-09-05 07:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874748416001,"power":13678,"unknown_235":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9025635890647480320}} 
[2026-09-05 07:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":171596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767231,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:25:31] local.INFO: GPS data processed {"connection_id":171596,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:25:31] local.INFO: Acknowledgment sent {"connection_id":171596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:25:35] local.INFO: TCP Data received {"connection_id":171295,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a06f466318012d34c9c006aa3d280017008024..."} 
[2026-09-05 07:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f466318012d34c9c006aa3d280017008024..."} 
[2026-09-05 07:25:35] local.INFO: Processing buffer {"connection_id":171295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f466318012d34c9c006aa3d280017008024..."} 
[2026-09-05 07:25:35] local.INFO: Packet analysis {"connection_id":171295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f46"} 
[2026-09-05 07:25:35] local.INFO: Extracted packet for processing {"connection_id":171295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f46"} 
[2026-09-05 07:25:35] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874682368001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788573279000,"timestamp_ms":1788573279000,"timestamp_seconds":1788573279,"priority":1,"record_length":96,"hex_timestamp":"000001a06f466318"} 
[2026-09-05 07:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:25:35] 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-09-05 07:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-05 07:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:25:35] 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-09-05 07:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874682368001,"66":25495,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874682368001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:25:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:25:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874682368001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":171295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:25:35] local.INFO: GPS data processed {"connection_id":171295,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:25:35] local.INFO: Acknowledgment sent {"connection_id":171295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:25:58] local.INFO: TCP Data received {"connection_id":171598,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:25:58] local.INFO: Processing buffer {"connection_id":171598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:25:58] local.INFO: IMEI packet received {"connection_id":171598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":171598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:26:02] local.INFO: TCP Data received {"connection_id":171598,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:26:02] local.INFO: Processing buffer {"connection_id":171598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:26:02] local.INFO: IMEI packet received {"connection_id":171598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":171598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:26:03] local.INFO: TCP Data received {"connection_id":171596,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f478428012d7d494005d02fc8000a002920..."} 
[2026-09-05 07:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f478428012d7d494005d02fc8000a002920..."} 
[2026-09-05 07:26:03] local.INFO: Processing buffer {"connection_id":171596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f478428012d7d494005d02fc8000a002920..."} 
[2026-09-05 07:26:03] local.INFO: Packet analysis {"connection_id":171596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f47"} 
[2026-09-05 07:26:03] local.INFO: Extracted packet for processing {"connection_id":171596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f47"} 
[2026-09-05 07:26:03] local.INFO: GPS Element Parsed {"raw_longitude":763185472,"raw_latitude":97529800,"longitude_deg":76.3185472,"latitude_deg":9.75298,"altitude":10,"angle":41,"satellites":32,"speed":5,"hex_longitude":"2d7d4940","hex_latitude":"05d02fc8","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874777600001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128333584149774336,"note":"Value kept but may cause issues"} 
[2026-09-05 07:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027606215520059392,"note":"Value kept but may cause issues"} 
[2026-09-05 07:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788573353000,"timestamp_ms":1788573353000,"timestamp_seconds":1788573353,"priority":1,"record_length":96,"hex_timestamp":"000001a06f478428"} 
[2026-09-05 07:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:26: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-09-05 07: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-05 07:26:03] 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-09-05 07: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-09-05 07:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874777600001,"66":13493,"198":206,"85":15104,"24":5,"16":128333584149774336,"45":9027606215520059392},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-05 07:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874777600001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:26:03] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 07:26:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128333584149774336,"km_value":128333584149774.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027606215520059392,"description":"Unknown IO ID 45"} 
[2026-09-05 07:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874777600001,"power":13493,"unknown_198":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9027606215520059392}} 
[2026-09-05 07:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":171596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767233,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:26:03] local.INFO: GPS data processed {"connection_id":171596,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:26:03] local.INFO: Acknowledgment sent {"connection_id":171596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:26:07] local.INFO: TCP Data received {"connection_id":171598,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:26:07] local.INFO: Processing buffer {"connection_id":171598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:26:07] local.INFO: IMEI packet received {"connection_id":171598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":171598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:26:08] local.INFO: TCP Data received {"connection_id":171598,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06f46fb70012d34c9c006aa3d280017008021..."} 
[2026-09-05 07:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f46fb70012d34c9c006aa3d280017008021..."} 
[2026-09-05 07:26:08] local.INFO: Processing buffer {"connection_id":171598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f46fb70012d34c9c006aa3d280017008021..."} 
[2026-09-05 07:26:08] local.INFO: Packet analysis {"connection_id":171598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f46"} 
[2026-09-05 07:26:08] local.INFO: Extracted packet for processing {"connection_id":171598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f46"} 
[2026-09-05 07:26:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111820072,"longitude_deg":75.843424,"latitude_deg":11.1820072,"altitude":23,"angle":128,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-05 07:26: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-09-05 07:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874759424001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788573318000,"timestamp_ms":1788573318000,"timestamp_seconds":1788573318,"priority":1,"record_length":96,"hex_timestamp":"000001a06f46fb70"} 
[2026-09-05 07:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:26:08] 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-09-05 07: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":151,"data_length":795,"current_offset":136} 
[2026-09-05 07:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:26: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-09-05 07:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874759424001,"66":25495,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874759424001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:26:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:26:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874759424001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":171598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:26:08] local.INFO: GPS data processed {"connection_id":171598,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:26:08] local.INFO: Acknowledgment sent {"connection_id":171598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:26:12] local.INFO: TCP Data received {"connection_id":171598,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06f470340012d34c44006aa3ec00017006621..."} 
[2026-09-05 07:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f470340012d34c44006aa3ec00017006621..."} 
[2026-09-05 07:26:12] local.INFO: Processing buffer {"connection_id":171598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f470340012d34c44006aa3ec00017006621..."} 
[2026-09-05 07:26:12] local.INFO: Packet analysis {"connection_id":171598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f47"} 
[2026-09-05 07:26:12] local.INFO: Extracted packet for processing {"connection_id":171598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f47"} 
[2026-09-05 07:26:12] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820480,"longitude_deg":75.8432832,"latitude_deg":11.182048,"altitude":23,"angle":102,"satellites":33,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3ec0","is_valid_coordinates":true} 
[2026-09-05 07:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874769408001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495149565952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788573320000,"timestamp_ms":1788573320000,"timestamp_seconds":1788573320,"priority":1,"record_length":96,"hex_timestamp":"000001a06f470340"} 
[2026-09-05 07:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:26:12] 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-09-05 07:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 07:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874769408001,"66":25321,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3803782495149565952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874769408001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:26:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:26:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495149565952,"description":"Unknown IO ID 45"} 
[2026-09-05 07:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874769408001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495149565952}} 
[2026-09-05 07:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":171598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:26:12] local.INFO: GPS data processed {"connection_id":171598,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:26:12] local.INFO: Acknowledgment sent {"connection_id":171598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:26:29] local.INFO: TCP Data received {"connection_id":171296,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:26:29] local.INFO: Processing buffer {"connection_id":171296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:26:29] local.INFO: IMEI packet received {"connection_id":171296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":171296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:26:30] local.INFO: TCP Data received {"connection_id":171296,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:26:30] local.INFO: Processing buffer {"connection_id":171296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:26:30] local.INFO: IMEI packet received {"connection_id":171296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":171296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:26:41] local.INFO: TCP Data received {"connection_id":171296,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:26:41] local.INFO: Processing buffer {"connection_id":171296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:26:41] local.INFO: IMEI packet received {"connection_id":171296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":171296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:26:42] local.INFO: TCP Data received {"connection_id":171296,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f478bf8012d7d4a4005d030b80009001820..."} 
[2026-09-05 07:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f478bf8012d7d4a4005d030b80009001820..."} 
[2026-09-05 07:26:42] local.INFO: Processing buffer {"connection_id":171296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f478bf8012d7d4a4005d030b80009001820..."} 
[2026-09-05 07:26:42] local.INFO: Packet analysis {"connection_id":171296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f47"} 
[2026-09-05 07:26:42] local.INFO: Extracted packet for processing {"connection_id":171296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f47"} 
[2026-09-05 07:26:42] local.INFO: GPS Element Parsed {"raw_longitude":763185728,"raw_latitude":97530040,"longitude_deg":76.3185728,"latitude_deg":9.753004,"altitude":9,"angle":24,"satellites":32,"speed":7,"hex_longitude":"2d7d4a40","hex_latitude":"05d030b8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 07:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874778368001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128333601329643520,"note":"Value kept but may cause issues"} 
[2026-09-05 07:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027817321752676352,"note":"Value kept but may cause issues"} 
[2026-09-05 07:26: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-09-05 07:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788573355000,"timestamp_ms":1788573355000,"timestamp_seconds":1788573355,"priority":1,"record_length":96,"hex_timestamp":"000001a06f478bf8"} 
[2026-09-05 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-09-05 07:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-05 07:26: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-09-05 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-09-05 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-09-05 07:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":171296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":171296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":171296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874778368001,"66":13678,"198":206,"85":15104,"24":7,"16":128333601329643520,"45":9027817321752676352},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-05 07:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874778368001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:26:42] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 07:26:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128333601329643520,"km_value":128333601329643.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027817321752676352,"description":"Unknown IO ID 45"} 
[2026-09-05 07:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874778368001,"power":13678,"unknown_198":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9027817321752676352}} 
[2026-09-05 07:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":171296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767236,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:26:42] local.INFO: GPS data processed {"connection_id":171296,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:26:42] local.INFO: Acknowledgment sent {"connection_id":171296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:26:42] local.INFO: TCP Data received {"connection_id":171296,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4793c8012d7d4a8005d032980009000120..."} 
[2026-09-05 07:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4793c8012d7d4a8005d032980009000120..."} 
[2026-09-05 07:26:42] local.INFO: Processing buffer {"connection_id":171296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4793c8012d7d4a8005d032980009000120..."} 
[2026-09-05 07:26:42] local.INFO: Packet analysis {"connection_id":171296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f47"} 
[2026-09-05 07:26:42] local.INFO: Extracted packet for processing {"connection_id":171296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f47"} 
[2026-09-05 07:26:42] local.INFO: GPS Element Parsed {"raw_longitude":763185792,"raw_latitude":97530520,"longitude_deg":76.3185792,"latitude_deg":9.753052,"altitude":9,"angle":1,"satellites":32,"speed":12,"hex_longitude":"2d7d4a80","hex_latitude":"05d03298","is_valid_coordinates":true} 
[2026-09-05 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-09-05 07:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874778880001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128333622804480000,"note":"Value kept but may cause issues"} 
[2026-09-05 07:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028098796729448448,"note":"Value kept but may cause issues"} 
[2026-09-05 07:26: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-09-05 07:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788573357000,"timestamp_ms":1788573357000,"timestamp_seconds":1788573357,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4793c8"} 
[2026-09-05 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-09-05 07:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-05 07:26: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-09-05 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-09-05 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-09-05 07:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":171296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":171296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":171296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874778880001,"66":13656,"198":206,"85":15104,"24":12,"16":128333622804480000,"45":9028098796729448448},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-05 07:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874778880001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:26:42] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 07:26:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128333622804480000,"km_value":128333622804480,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028098796729448448,"description":"Unknown IO ID 45"} 
[2026-09-05 07:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874778880001,"power":13656,"unknown_198":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9028098796729448448}} 
[2026-09-05 07:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":171296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767237,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:26:42] local.INFO: GPS data processed {"connection_id":171296,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:26:42] local.INFO: Acknowledgment sent {"connection_id":171296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:26:57] local.INFO: TCP Data received {"connection_id":172701,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:26:57] local.INFO: Processing buffer {"connection_id":172701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:26:57] local.INFO: IMEI packet received {"connection_id":172701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":172701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:27:01] local.INFO: TCP Data received {"connection_id":172701,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:27:01] local.INFO: Processing buffer {"connection_id":172701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:27:01] local.INFO: IMEI packet received {"connection_id":172701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":172701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:27:02] local.INFO: TCP Data received {"connection_id":172701,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06f475548012d34c44006aa3ec00017006620..."} 
[2026-09-05 07:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f475548012d34c44006aa3ec00017006620..."} 
[2026-09-05 07:27:02] local.INFO: Processing buffer {"connection_id":172701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f475548012d34c44006aa3ec00017006620..."} 
[2026-09-05 07:27:02] local.INFO: Packet analysis {"connection_id":172701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f47"} 
[2026-09-05 07:27:02] local.INFO: Extracted packet for processing {"connection_id":172701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f47"} 
[2026-09-05 07:27:02] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820480,"longitude_deg":75.8432832,"latitude_deg":11.182048,"altitude":23,"angle":102,"satellites":32,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3ec0","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874769920001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777761792,"note":"Value kept but may cause issues"} 
[2026-09-05 07:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788573341000,"timestamp_ms":1788573341000,"timestamp_seconds":1788573341,"priority":1,"record_length":96,"hex_timestamp":"000001a06f475548"} 
[2026-09-05 07:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:27:02] 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-09-05 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 07:27: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-09-05 07: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-09-05 07:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07: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-09-05 07:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874769920001,"66":27658,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3802234382777761792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874769920001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:27:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:27:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777761792,"description":"Unknown IO ID 45"} 
[2026-09-05 07:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874769920001,"power":27658,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382777761792}} 
[2026-09-05 07:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":172701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:27:02] local.INFO: GPS data processed {"connection_id":172701,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:27:02] local.INFO: Acknowledgment sent {"connection_id":172701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:27:25] local.INFO: TCP Data received {"connection_id":172702,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:27:25] local.INFO: Processing buffer {"connection_id":172702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:27:25] local.INFO: IMEI packet received {"connection_id":172702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":172702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:27:25] local.INFO: TCP Data received {"connection_id":172702,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:27:25] local.INFO: Processing buffer {"connection_id":172702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:27:25] local.INFO: IMEI packet received {"connection_id":172702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":172702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:27:26] local.INFO: TCP Data received {"connection_id":172702,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:27:26] local.INFO: Processing buffer {"connection_id":172702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:27:26] local.INFO: IMEI packet received {"connection_id":172702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":172702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:27:31] local.INFO: TCP Data received {"connection_id":172702,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:27:31] local.INFO: Processing buffer {"connection_id":172702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:27:31] local.INFO: IMEI packet received {"connection_id":172702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":172702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:27:32] local.INFO: TCP Data received {"connection_id":172702,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f47c690012d7d46c005d057700005016320..."} 
[2026-09-05 07:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f47c690012d7d46c005d057700005016320..."} 
[2026-09-05 07:27:32] local.INFO: Processing buffer {"connection_id":172702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f47c690012d7d46c005d057700005016320..."} 
[2026-09-05 07:27:32] local.INFO: Packet analysis {"connection_id":172702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f47"} 
[2026-09-05 07:27:32] local.INFO: Extracted packet for processing {"connection_id":172702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f47"} 
[2026-09-05 07:27:32] local.INFO: GPS Element Parsed {"raw_longitude":763184832,"raw_latitude":97539952,"longitude_deg":76.3184832,"latitude_deg":9.7539952,"altitude":5,"angle":355,"satellites":32,"speed":39,"hex_longitude":"2d7d46c0","hex_latitude":"05d05770","is_valid_coordinates":true} 
[2026-09-05 07:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874779392001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128334082365980672,"note":"Value kept but may cause issues"} 
[2026-09-05 07:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028169165473748992,"note":"Value kept but may cause issues"} 
[2026-09-05 07:27:32] 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-09-05 07:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788573370000,"timestamp_ms":1788573370000,"timestamp_seconds":1788573370,"priority":1,"record_length":96,"hex_timestamp":"000001a06f47c690"} 
[2026-09-05 07:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:27: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-09-05 07:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 07:27:32] 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-09-05 07:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874779392001,"66":13906,"198":206,"85":15104,"24":39,"16":128334082365980672,"45":9028169165473748992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-05 07:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874779392001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:27:32] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 07:27:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128334082365980672,"km_value":128334082365980.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028169165473748992,"description":"Unknown IO ID 45"} 
[2026-09-05 07:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874779392001,"power":13906,"unknown_198":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9028169165473748992}} 
[2026-09-05 07:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":172702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767239,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:27:32] local.INFO: GPS data processed {"connection_id":172702,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:27:32] local.INFO: Acknowledgment sent {"connection_id":172702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:27:33] local.INFO: TCP Data received {"connection_id":172701,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06f47a750012d34c44006aa3ec0001700661f..."} 
[2026-09-05 07:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f47a750012d34c44006aa3ec0001700661f..."} 
[2026-09-05 07:27:33] local.INFO: Processing buffer {"connection_id":172701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f47a750012d34c44006aa3ec0001700661f..."} 
[2026-09-05 07:27:33] local.INFO: Packet analysis {"connection_id":172701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f47"} 
[2026-09-05 07:27:33] local.INFO: Extracted packet for processing {"connection_id":172701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f47"} 
[2026-09-05 07:27:33] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820480,"longitude_deg":75.8432832,"latitude_deg":11.182048,"altitude":23,"angle":102,"satellites":31,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3ec0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 07:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874775296001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777761792,"note":"Value kept but may cause issues"} 
[2026-09-05 07:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788573362000,"timestamp_ms":1788573362000,"timestamp_seconds":1788573362,"priority":1,"record_length":96,"hex_timestamp":"000001a06f47a750"} 
[2026-09-05 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-09-05 07:27: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-09-05 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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-05 07:27: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-09-05 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-09-05 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-09-05 07:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:27: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-09-05 07:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874775296001,"66":27745,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3802234382777761792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874775296001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:27:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:27:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777761792,"description":"Unknown IO ID 45"} 
[2026-09-05 07:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874775296001,"power":27745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382777761792}} 
[2026-09-05 07:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":172701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:27:33] local.INFO: GPS data processed {"connection_id":172701,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:27:33] local.INFO: Acknowledgment sent {"connection_id":172701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:27:33] local.INFO: TCP Data received {"connection_id":172702,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f47e5d0012d7d430005d079f80005016320..."} 
[2026-09-05 07:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f47e5d0012d7d430005d079f80005016320..."} 
[2026-09-05 07:27:33] local.INFO: Processing buffer {"connection_id":172702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f47e5d0012d7d430005d079f80005016320..."} 
[2026-09-05 07:27:33] local.INFO: Packet analysis {"connection_id":172702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f47"} 
[2026-09-05 07:27:33] local.INFO: Extracted packet for processing {"connection_id":172702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f47"} 
[2026-09-05 07:27:33] local.INFO: GPS Element Parsed {"raw_longitude":763183872,"raw_latitude":97548792,"longitude_deg":76.3183872,"latitude_deg":9.7548792,"altitude":5,"angle":355,"satellites":32,"speed":46,"hex_longitude":"2d7d4300","hex_latitude":"05d079f8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 07:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874782720001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128334516157677568,"note":"Value kept but may cause issues"} 
[2026-09-05 07:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027113634313498624,"note":"Value kept but may cause issues"} 
[2026-09-05 07:27: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-09-05 07:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788573378000,"timestamp_ms":1788573378000,"timestamp_seconds":1788573378,"priority":1,"record_length":96,"hex_timestamp":"000001a06f47e5d0"} 
[2026-09-05 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-09-05 07: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-09-05 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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-05 07:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 07:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874782720001,"66":12982,"198":206,"85":15104,"24":46,"16":128334516157677568,"45":9027113634313498624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-05 07:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874782720001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:27:33] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 07:27:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128334516157677568,"km_value":128334516157677.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027113634313498624,"description":"Unknown IO ID 45"} 
[2026-09-05 07:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874782720001,"power":12982,"unknown_198":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9027113634313498624}} 
[2026-09-05 07:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":172702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:27:33] local.INFO: GPS data processed {"connection_id":172702,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:27:33] local.INFO: Acknowledgment sent {"connection_id":172702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:27:57] local.INFO: TCP Data received {"connection_id":174004,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:27:57] local.INFO: Processing buffer {"connection_id":174004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:27:57] local.INFO: IMEI packet received {"connection_id":174004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":174004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:28:02] local.INFO: TCP Data received {"connection_id":174004,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:28:02] local.INFO: Processing buffer {"connection_id":174004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:28:02] local.INFO: IMEI packet received {"connection_id":174004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":174004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:28:03] local.INFO: TCP Data received {"connection_id":174004,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06f47f958012d34c44006aa3ec00017006623..."} 
[2026-09-05 07:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f47f958012d34c44006aa3ec00017006623..."} 
[2026-09-05 07:28:03] local.INFO: Processing buffer {"connection_id":174004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f47f958012d34c44006aa3ec00017006623..."} 
[2026-09-05 07:28:03] local.INFO: Packet analysis {"connection_id":174004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f47"} 
[2026-09-05 07:28:03] local.INFO: Extracted packet for processing {"connection_id":174004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f47"} 
[2026-09-05 07:28:03] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820480,"longitude_deg":75.8432832,"latitude_deg":11.182048,"altitude":23,"angle":102,"satellites":35,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3ec0","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874780672001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777761792,"note":"Value kept but may cause issues"} 
[2026-09-05 07:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788573383000,"timestamp_ms":1788573383000,"timestamp_seconds":1788573383,"priority":1,"record_length":96,"hex_timestamp":"000001a06f47f958"} 
[2026-09-05 07:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:28:03] 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-09-05 07: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":97,"data_length":795,"current_offset":136} 
[2026-09-05 07:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:28: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-09-05 07:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874780672001,"66":27908,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3802234382777761792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874780672001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:28:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:28:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777761792,"description":"Unknown IO ID 45"} 
[2026-09-05 07:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874780672001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382777761792}} 
[2026-09-05 07:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":174004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:28:03] local.INFO: GPS data processed {"connection_id":174004,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:28:03] local.INFO: Acknowledgment sent {"connection_id":174004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:28:04] local.INFO: TCP Data received {"connection_id":172702,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f492620012d7d24c005d1d6780005016320..."} 
[2026-09-05 07:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f492620012d7d24c005d1d6780005016320..."} 
[2026-09-05 07:28:04] local.INFO: Processing buffer {"connection_id":172702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f492620012d7d24c005d1d6780005016320..."} 
[2026-09-05 07:28:04] local.INFO: Packet analysis {"connection_id":172702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f49"} 
[2026-09-05 07:28:04] local.INFO: Extracted packet for processing {"connection_id":172702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f49"} 
[2026-09-05 07:28:04] local.INFO: GPS Element Parsed {"raw_longitude":763176128,"raw_latitude":97638008,"longitude_deg":76.3176128,"latitude_deg":9.7638008,"altitude":5,"angle":355,"satellites":32,"speed":41,"hex_longitude":"2d7d24c0","hex_latitude":"05d1d678","is_valid_coordinates":true} 
[2026-09-05 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-09-05 07:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874802944001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128338871254515712,"note":"Value kept but may cause issues"} 
[2026-09-05 07:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018176803825539072,"note":"Value kept but may cause issues"} 
[2026-09-05 07:28:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 07:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788573460000,"timestamp_ms":1788573460000,"timestamp_seconds":1788573460,"priority":1,"record_length":96,"hex_timestamp":"000001a06f492620"} 
[2026-09-05 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-09-05 07:28: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-09-05 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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-05 07:28: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-09-05 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-09-05 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-09-05 07:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874802944001,"66":13656,"24":41,"85":15104,"16":128338871254515712,"45":9018176803825539072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-05 07:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874802944001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:28:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128338871254515712,"km_value":128338871254515.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018176803825539072,"description":"Unknown IO ID 45"} 
[2026-09-05 07:28:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457874802944001,"power":13656,"ignition":41,"unknown_85":15104,"odometer":null,"unknown_45":9018176803825539072}} 
[2026-09-05 07:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":172702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:28:04] local.INFO: GPS data processed {"connection_id":172702,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:28:04] local.INFO: Acknowledgment sent {"connection_id":172702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:28:23] local.INFO: TCP Data received {"connection_id":171297,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:28:23] local.INFO: Processing buffer {"connection_id":171297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:28:23] local.INFO: IMEI packet received {"connection_id":171297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":171297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:28:25] local.INFO: TCP Data received {"connection_id":171297,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:28:25] local.INFO: Processing buffer {"connection_id":171297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:28:25] local.INFO: IMEI packet received {"connection_id":171297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":171297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:28:32] local.INFO: TCP Data received {"connection_id":171297,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:28:32] local.INFO: Processing buffer {"connection_id":171297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:28:32] local.INFO: IMEI packet received {"connection_id":171297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":171297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:28:33] local.INFO: TCP Data received {"connection_id":171297,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f494560012d7d238005d1f9d0000600011f..."} 
[2026-09-05 07:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f494560012d7d238005d1f9d0000600011f..."} 
[2026-09-05 07:28:33] local.INFO: Processing buffer {"connection_id":171297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f494560012d7d238005d1f9d0000600011f..."} 
[2026-09-05 07:28:33] local.INFO: Packet analysis {"connection_id":171297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f49"} 
[2026-09-05 07:28:33] local.INFO: Extracted packet for processing {"connection_id":171297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f49"} 
[2026-09-05 07:28:33] local.INFO: GPS Element Parsed {"raw_longitude":763175808,"raw_latitude":97647056,"longitude_deg":76.3175808,"latitude_deg":9.7647056,"altitude":6,"angle":1,"satellites":31,"speed":48,"hex_longitude":"2d7d2380","hex_latitude":"05d1f9d0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 07:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874805760001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128339309341179904,"note":"Value kept but may cause issues"} 
[2026-09-05 07:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017543485130438656,"note":"Value kept but may cause issues"} 
[2026-09-05 07:28:33] 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-09-05 07:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788573468000,"timestamp_ms":1788573468000,"timestamp_seconds":1788573468,"priority":1,"record_length":96,"hex_timestamp":"000001a06f494560"} 
[2026-09-05 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-09-05 07: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-09-05 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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 07:28: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-09-05 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-09-05 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-09-05 07:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874805760001,"66":13678,"24":48,"85":15104,"16":128339309341179904,"45":9017543485130438656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-05 07:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874805760001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:28:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128339309341179904,"km_value":128339309341179.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017543485130438656,"description":"Unknown IO ID 45"} 
[2026-09-05 07:28:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457874805760001,"power":13678,"ignition":48,"unknown_85":15104,"odometer":null,"unknown_45":9017543485130438656}} 
[2026-09-05 07:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":171297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767244,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:28:33] local.INFO: GPS data processed {"connection_id":171297,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:28:33] local.INFO: Acknowledgment sent {"connection_id":171297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:28:34] local.INFO: TCP Data received {"connection_id":174004,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06f484b60012d34c44006aa3ec00017006624..."} 
[2026-09-05 07:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f484b60012d34c44006aa3ec00017006624..."} 
[2026-09-05 07:28:34] local.INFO: Processing buffer {"connection_id":174004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f484b60012d34c44006aa3ec00017006624..."} 
[2026-09-05 07:28:34] local.INFO: Packet analysis {"connection_id":174004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f48"} 
[2026-09-05 07:28:34] local.INFO: Extracted packet for processing {"connection_id":174004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f48"} 
[2026-09-05 07:28:34] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820480,"longitude_deg":75.8432832,"latitude_deg":11.182048,"altitude":23,"angle":102,"satellites":36,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3ec0","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874786048001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031663281045504,"note":"Value kept but may cause issues"} 
[2026-09-05 07:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777761792,"note":"Value kept but may cause issues"} 
[2026-09-05 07:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788573404000,"timestamp_ms":1788573404000,"timestamp_seconds":1788573404,"priority":1,"record_length":96,"hex_timestamp":"000001a06f484b60"} 
[2026-09-05 07:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 07:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:28: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-09-05 07:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874786048001,"66":27767,"97":206,"81":23296,"24":0,"16":399031663281045504,"45":3802234382777761792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874786048001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:28:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:28:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031663281045504,"km_value":399031663281045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777761792,"description":"Unknown IO ID 45"} 
[2026-09-05 07:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874786048001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382777761792}} 
[2026-09-05 07:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":174004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:28:34] local.INFO: GPS data processed {"connection_id":174004,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:28:34] local.INFO: Acknowledgment sent {"connection_id":174004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:28:55] local.INFO: TCP Data received {"connection_id":171298,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:28:55] local.INFO: Processing buffer {"connection_id":171298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:28:55] local.INFO: IMEI packet received {"connection_id":171298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":171298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:28:56] local.INFO: TCP Data received {"connection_id":171298,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:28:56] local.INFO: Processing buffer {"connection_id":171298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:28:56] local.INFO: IMEI packet received {"connection_id":171298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":171298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:28:57] local.INFO: TCP Data received {"connection_id":171298,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:28:57] local.INFO: Processing buffer {"connection_id":171298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:28:57] local.INFO: IMEI packet received {"connection_id":171298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":171298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:29:00] local.INFO: TCP Data received {"connection_id":171298,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:29:00] local.INFO: Processing buffer {"connection_id":171298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:29:00] local.INFO: IMEI packet received {"connection_id":171298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":171298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:29:01] local.INFO: TCP Data received {"connection_id":171298,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06f499768012d34c48006aa37f8000d009826..."} 
[2026-09-05 07:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f499768012d34c48006aa37f8000d009826..."} 
[2026-09-05 07:29:01] local.INFO: Processing buffer {"connection_id":171298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f499768012d34c48006aa37f8000d009826..."} 
[2026-09-05 07:29:01] local.INFO: Packet analysis {"connection_id":171298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f49"} 
[2026-09-05 07:29:01] local.INFO: Extracted packet for processing {"connection_id":171298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f49"} 
[2026-09-05 07:29:01] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111818744,"longitude_deg":75.8432896,"latitude_deg":11.1818744,"altitude":13,"angle":152,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa37f8","is_valid_coordinates":true} 
[2026-09-05 07:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874812416001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031753475358720,"note":"Value kept but may cause issues"} 
[2026-09-05 07:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777370624,"note":"Value kept but may cause issues"} 
[2026-09-05 07:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788573489000,"timestamp_ms":1788573489000,"timestamp_seconds":1788573489,"priority":1,"record_length":96,"hex_timestamp":"000001a06f499768"} 
[2026-09-05 07:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 07:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874812416001,"66":27876,"97":206,"81":23296,"24":0,"16":399031753475358720,"45":3802234382777370624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874812416001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:29:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:29:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031753475358720,"km_value":399031753475358.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777370624,"description":"Unknown IO ID 45"} 
[2026-09-05 07:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874812416001,"power":27876,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382777370624}} 
[2026-09-05 07:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":171298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:29:01] local.INFO: GPS data processed {"connection_id":171298,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:29:01] local.INFO: Acknowledgment sent {"connection_id":171298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:29:04] local.INFO: TCP Data received {"connection_id":171297,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f497828012d7d26c005d21cd8000600081b..."} 
[2026-09-05 07:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f497828012d7d26c005d21cd8000600081b..."} 
[2026-09-05 07:29:04] local.INFO: Processing buffer {"connection_id":171297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f497828012d7d26c005d21cd8000600081b..."} 
[2026-09-05 07:29:04] local.INFO: Packet analysis {"connection_id":171297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f49"} 
[2026-09-05 07:29:04] local.INFO: Extracted packet for processing {"connection_id":171297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f49"} 
[2026-09-05 07:29:04] local.INFO: GPS Element Parsed {"raw_longitude":763176640,"raw_latitude":97656024,"longitude_deg":76.317664,"latitude_deg":9.7656024,"altitude":6,"angle":8,"satellites":27,"speed":8,"hex_longitude":"2d7d26c0","hex_latitude":"05d21cd8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 07:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874807808001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128339747427844096,"note":"Value kept but may cause issues"} 
[2026-09-05 07:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017191641411866624,"note":"Value kept but may cause issues"} 
[2026-09-05 07:29:04] 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-09-05 07:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788573481000,"timestamp_ms":1788573481000,"timestamp_seconds":1788573481,"priority":1,"record_length":96,"hex_timestamp":"000001a06f497828"} 
[2026-09-05 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-09-05 07:29: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-09-05 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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-05 07:29: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-09-05 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-09-05 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-09-05 07:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874807808001,"66":13646,"23":206,"85":15104,"24":8,"16":128339747427844096,"45":9017191641411866624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-05 07:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874807808001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:29:04] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-05 07:29:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128339747427844096,"km_value":128339747427844.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017191641411866624,"description":"Unknown IO ID 45"} 
[2026-09-05 07:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874807808001,"power":13646,"unknown_23":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9017191641411866624}} 
[2026-09-05 07:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":171297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767247,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:29:04] local.INFO: GPS data processed {"connection_id":171297,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:29:04] local.INFO: Acknowledgment sent {"connection_id":171297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:29:26] local.INFO: TCP Data received {"connection_id":174005,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174005,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:29:26] local.INFO: Processing buffer {"connection_id":174005,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:29:26] local.INFO: IMEI packet received {"connection_id":174005,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":174005,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:29:26] local.INFO: TCP Data received {"connection_id":174005,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174005,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:29:26] local.INFO: Processing buffer {"connection_id":174005,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:29:26] local.INFO: IMEI packet received {"connection_id":174005,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":174005,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:29:31] local.INFO: TCP Data received {"connection_id":174005,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174005,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:29:31] local.INFO: Processing buffer {"connection_id":174005,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:29:31] local.INFO: IMEI packet received {"connection_id":174005,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":174005,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:29:32] local.INFO: TCP Data received {"connection_id":174005,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f49ca30012d7d2b4005d237d00007000620..."} 
[2026-09-05 07:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f49ca30012d7d2b4005d237d00007000620..."} 
[2026-09-05 07:29:32] local.INFO: Processing buffer {"connection_id":174005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f49ca30012d7d2b4005d237d00007000620..."} 
[2026-09-05 07:29:32] local.INFO: Packet analysis {"connection_id":174005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f49"} 
[2026-09-05 07:29:32] local.INFO: Extracted packet for processing {"connection_id":174005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f49"} 
[2026-09-05 07:29:32] local.INFO: GPS Element Parsed {"raw_longitude":763177792,"raw_latitude":97662928,"longitude_deg":76.3177792,"latitude_deg":9.7662928,"altitude":7,"angle":6,"satellites":32,"speed":0,"hex_longitude":"2d7d2b40","hex_latitude":"05d237d0","is_valid_coordinates":true} 
[2026-09-05 07:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874811136001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128340091025227776,"note":"Value kept but may cause issues"} 
[2026-09-05 07:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018106435088472064,"note":"Value kept but may cause issues"} 
[2026-09-05 07:29: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-09-05 07:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788573502000,"timestamp_ms":1788573502000,"timestamp_seconds":1788573502,"priority":1,"record_length":96,"hex_timestamp":"000001a06f49ca30"} 
[2026-09-05 07:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:29: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-09-05 07:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-05 07:29:32] 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-09-05 07:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874811136001,"66":13656,"23":206,"85":15104,"24":0,"16":128340091025227776,"45":9018106435088472064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-05 07:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874811136001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:29:32] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-05 07:29:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128340091025227776,"km_value":128340091025227.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018106435088472064,"description":"Unknown IO ID 45"} 
[2026-09-05 07:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874811136001,"power":13656,"unknown_23":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9018106435088472064}} 
[2026-09-05 07:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":174005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:29:32] local.INFO: GPS data processed {"connection_id":174005,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:29:32] local.INFO: Acknowledgment sent {"connection_id":174005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:29:32] local.INFO: TCP Data received {"connection_id":171298,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4a1468012d34c44006aa4170000e016127..."} 
[2026-09-05 07:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4a1468012d34c44006aa4170000e016127..."} 
[2026-09-05 07:29:32] local.INFO: Processing buffer {"connection_id":171298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4a1468012d34c44006aa4170000e016127..."} 
[2026-09-05 07:29:32] local.INFO: Packet analysis {"connection_id":171298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4a"} 
[2026-09-05 07:29:32] local.INFO: Extracted packet for processing {"connection_id":171298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4a"} 
[2026-09-05 07:29:32] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821168,"longitude_deg":75.8432832,"latitude_deg":11.1821168,"altitude":14,"angle":353,"satellites":39,"speed":3,"hex_longitude":"2d34c440","hex_latitude":"06aa4170","is_valid_coordinates":true} 
[2026-09-05 07:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874820864001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031886619344896,"note":"Value kept but may cause issues"} 
[2026-09-05 07:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777880576,"note":"Value kept but may cause issues"} 
[2026-09-05 07:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788573521000,"timestamp_ms":1788573521000,"timestamp_seconds":1788573521,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4a1468"} 
[2026-09-05 07:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:29:32] 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-09-05 07:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 07:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:29: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-09-05 07:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874820864001,"66":27517,"97":206,"81":23296,"24":3,"16":399031886619344896,"45":3802234382777880576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874820864001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:29:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:29:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031886619344896,"km_value":399031886619344.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777880576,"description":"Unknown IO ID 45"} 
[2026-09-05 07:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874820864001,"power":27517,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802234382777880576}} 
[2026-09-05 07:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":171298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:29:32] local.INFO: GPS data processed {"connection_id":171298,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:29:32] local.INFO: Acknowledgment sent {"connection_id":171298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:29:57] local.INFO: TCP Data received {"connection_id":174006,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:29:57] local.INFO: Processing buffer {"connection_id":174006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:29:57] local.INFO: IMEI packet received {"connection_id":174006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":174006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:30:02] local.INFO: TCP Data received {"connection_id":174006,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:30:02] local.INFO: Processing buffer {"connection_id":174006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:30:02] local.INFO: IMEI packet received {"connection_id":174006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":174006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:30:02] local.INFO: TCP Data received {"connection_id":174005,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4a1c38012d7d2cc005d244680008000921..."} 
[2026-09-05 07:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4a1c38012d7d2cc005d244680008000921..."} 
[2026-09-05 07:30:02] local.INFO: Processing buffer {"connection_id":174005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4a1c38012d7d2cc005d244680008000921..."} 
[2026-09-05 07:30:02] local.INFO: Packet analysis {"connection_id":174005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4a"} 
[2026-09-05 07:30:02] local.INFO: Extracted packet for processing {"connection_id":174005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4a"} 
[2026-09-05 07:30:02] local.INFO: GPS Element Parsed {"raw_longitude":763178176,"raw_latitude":97666152,"longitude_deg":76.3178176,"latitude_deg":9.7666152,"altitude":8,"angle":9,"satellites":33,"speed":19,"hex_longitude":"2d7d2cc0","hex_latitude":"05d24468","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874816512001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128340249939017728,"note":"Value kept but may cause issues"} 
[2026-09-05 07:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019373072485437440,"note":"Value kept but may cause issues"} 
[2026-09-05 07:30:02] 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-09-05 07:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788573523000,"timestamp_ms":1788573523000,"timestamp_seconds":1788573523,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4a1c38"} 
[2026-09-05 07:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 07:30:02] 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-09-05 07: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-09-05 07:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874816512001,"66":13852,"23":206,"85":15104,"24":19,"16":128340249939017728,"45":9019373072485437440},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-05 07:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874816512001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:30:02] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-05 07:30:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128340249939017728,"km_value":128340249939017.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019373072485437440,"description":"Unknown IO ID 45"} 
[2026-09-05 07:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874816512001,"power":13852,"unknown_23":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9019373072485437440}} 
[2026-09-05 07:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":174005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767250,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:30:02] local.INFO: GPS data processed {"connection_id":174005,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:30:02] local.INFO: Acknowledgment sent {"connection_id":174005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:30:03] local.INFO: TCP Data received {"connection_id":174006,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4a1850012d34c44006aa41d0000e015328..."} 
[2026-09-05 07:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4a1850012d34c44006aa41d0000e015328..."} 
[2026-09-05 07:30:03] local.INFO: Processing buffer {"connection_id":174006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4a1850012d34c44006aa41d0000e015328..."} 
[2026-09-05 07:30:03] local.INFO: Packet analysis {"connection_id":174006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4a"} 
[2026-09-05 07:30:03] local.INFO: Extracted packet for processing {"connection_id":174006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4a"} 
[2026-09-05 07:30:03] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821264,"longitude_deg":75.8432832,"latitude_deg":11.1821264,"altitude":14,"angle":339,"satellites":40,"speed":3,"hex_longitude":"2d34c440","hex_latitude":"06aa41d0","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874821376001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031886619344896,"note":"Value kept but may cause issues"} 
[2026-09-05 07:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777937920,"note":"Value kept but may cause issues"} 
[2026-09-05 07:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788573522000,"timestamp_ms":1788573522000,"timestamp_seconds":1788573522,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4a1850"} 
[2026-09-05 07:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:30:03] 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-09-05 07: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 07:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:30: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-09-05 07:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874821376001,"66":27321,"97":206,"81":23296,"24":3,"16":399031886619344896,"45":3802234382777937920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874821376001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:30:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:30:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031886619344896,"km_value":399031886619344.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777937920,"description":"Unknown IO ID 45"} 
[2026-09-05 07:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874821376001,"power":27321,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802234382777937920}} 
[2026-09-05 07:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":174006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:30:03] local.INFO: GPS data processed {"connection_id":174006,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:30:03] local.INFO: Acknowledgment sent {"connection_id":174006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:30:06] local.INFO: TCP Data received {"connection_id":171597,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171597,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:30:06] local.INFO: Processing buffer {"connection_id":171597,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:30:06] local.INFO: IMEI packet received {"connection_id":171597,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 07:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":171597,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:30:26] local.INFO: TCP Data received {"connection_id":172703,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172703,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:30:26] local.INFO: Processing buffer {"connection_id":172703,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:30:26] local.INFO: IMEI packet received {"connection_id":172703,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":172703,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:30:27] local.INFO: TCP Data received {"connection_id":172703,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172703,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:30:27] local.INFO: Processing buffer {"connection_id":172703,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:30:27] local.INFO: IMEI packet received {"connection_id":172703,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":172703,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:30:29] local.INFO: TCP Data received {"connection_id":172703,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172703,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:30:29] local.INFO: Processing buffer {"connection_id":172703,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:30:29] local.INFO: IMEI packet received {"connection_id":172703,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":172703,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:30:30] local.INFO: TCP Data received {"connection_id":172703,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4a6e40012d7d328005d261c00009000620..."} 
[2026-09-05 07:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4a6e40012d7d328005d261c00009000620..."} 
[2026-09-05 07:30:30] local.INFO: Processing buffer {"connection_id":172703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4a6e40012d7d328005d261c00009000620..."} 
[2026-09-05 07:30:30] local.INFO: Packet analysis {"connection_id":172703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4a"} 
[2026-09-05 07:30:30] local.INFO: Extracted packet for processing {"connection_id":172703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4a"} 
[2026-09-05 07:30:30] local.INFO: GPS Element Parsed {"raw_longitude":763179648,"raw_latitude":97673664,"longitude_deg":76.3179648,"latitude_deg":9.7673664,"altitude":9,"angle":6,"satellites":32,"speed":11,"hex_longitude":"2d7d3280","hex_latitude":"05d261c0","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874821888001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128340623601172480,"note":"Value kept but may cause issues"} 
[2026-09-05 07:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019795284951328768,"note":"Value kept but may cause issues"} 
[2026-09-05 07:30:30] 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-09-05 07:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788573544000,"timestamp_ms":1788573544000,"timestamp_seconds":1788573544,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4a6e40"} 
[2026-09-05 07:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-05 07:30:30] 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-09-05 07: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-09-05 07:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874821888001,"66":13493,"23":206,"85":15104,"24":11,"16":128340623601172480,"45":9019795284951328768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-05 07:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874821888001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:30:30] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-05 07:30:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128340623601172480,"km_value":128340623601172.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019795284951328768,"description":"Unknown IO ID 45"} 
[2026-09-05 07:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874821888001,"power":13493,"unknown_23":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9019795284951328768}} 
[2026-09-05 07:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":172703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767252,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:30:30] local.INFO: GPS data processed {"connection_id":172703,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:30:30] local.INFO: Acknowledgment sent {"connection_id":172703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:30:31] local.INFO: TCP Data received {"connection_id":172704,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:30:31] local.INFO: Processing buffer {"connection_id":172704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:30:31] local.INFO: IMEI packet received {"connection_id":172704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 07:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":172704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:30:34] local.INFO: TCP Data received {"connection_id":174006,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4a1c38012d34c40006aa4210000e016228..."} 
[2026-09-05 07:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4a1c38012d34c40006aa4210000e016228..."} 
[2026-09-05 07:30:34] local.INFO: Processing buffer {"connection_id":174006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4a1c38012d34c40006aa4210000e016228..."} 
[2026-09-05 07:30:34] local.INFO: Packet analysis {"connection_id":174006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4a"} 
[2026-09-05 07:30:34] local.INFO: Extracted packet for processing {"connection_id":174006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4a"} 
[2026-09-05 07:30:34] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111821328,"longitude_deg":75.8432768,"latitude_deg":11.1821328,"altitude":14,"angle":354,"satellites":40,"speed":3,"hex_longitude":"2d34c400","hex_latitude":"06aa4210","is_valid_coordinates":true} 
[2026-09-05 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-09-05 07:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874821632001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031886619344896,"note":"Value kept but may cause issues"} 
[2026-09-05 07:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777962496,"note":"Value kept but may cause issues"} 
[2026-09-05 07:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788573523000,"timestamp_ms":1788573523000,"timestamp_seconds":1788573523,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4a1c38"} 
[2026-09-05 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-09-05 07:30: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-09-05 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 07:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 07:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874821632001,"66":27321,"97":206,"81":23296,"24":3,"16":399031886619344896,"45":3802234382777962496},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874821632001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:30:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:30:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031886619344896,"km_value":399031886619344.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777962496,"description":"Unknown IO ID 45"} 
[2026-09-05 07:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874821632001,"power":27321,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802234382777962496}} 
[2026-09-05 07:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":174006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:30:34] local.INFO: GPS data processed {"connection_id":174006,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:30:34] local.INFO: Acknowledgment sent {"connection_id":174006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:31:01] local.INFO: TCP Data received {"connection_id":172703,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4be928012d7d39c005d29e68000c001319..."} 
[2026-09-05 07:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4be928012d7d39c005d29e68000c001319..."} 
[2026-09-05 07:31:01] local.INFO: Processing buffer {"connection_id":172703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4be928012d7d39c005d29e68000c001319..."} 
[2026-09-05 07:31:01] local.INFO: Packet analysis {"connection_id":172703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4b"} 
[2026-09-05 07:31:01] local.INFO: Extracted packet for processing {"connection_id":172703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4b"} 
[2026-09-05 07:31:01] local.INFO: GPS Element Parsed {"raw_longitude":763181504,"raw_latitude":97689192,"longitude_deg":76.3181504,"latitude_deg":9.7689192,"altitude":12,"angle":19,"satellites":25,"speed":5,"hex_longitude":"2d7d39c0","hex_latitude":"05d29e68","is_valid_coordinates":true} 
[2026-09-05 07:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874851584001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128341409580187648,"note":"Value kept but may cause issues"} 
[2026-09-05 07:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384090910203904,"note":"Value kept but may cause issues"} 
[2026-09-05 07:31:01] 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-09-05 07:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788573641000,"timestamp_ms":1788573641000,"timestamp_seconds":1788573641,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4be928"} 
[2026-09-05 07:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:31:01] 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-09-05 07:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 07:31:01] 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-09-05 07:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874851584001,"66":13646,"117":206,"85":15104,"24":5,"16":128341409580187648,"45":9023384090910203904},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-05 07:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874851584001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:31:01] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-05 07:31:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128341409580187648,"km_value":128341409580187.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384090910203904,"description":"Unknown IO ID 45"} 
[2026-09-05 07:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874851584001,"power":13646,"unknown_117":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9023384090910203904}} 
[2026-09-05 07:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":172703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767254,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:31:01] local.INFO: GPS data processed {"connection_id":172703,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:31:01] local.INFO: Acknowledgment sent {"connection_id":172703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:31:02] local.INFO: TCP Data received {"connection_id":171599,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:31:02] local.INFO: Processing buffer {"connection_id":171599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:31:02] local.INFO: IMEI packet received {"connection_id":171599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":171599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:31:07] local.INFO: TCP Data received {"connection_id":171599,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:31:07] local.INFO: Processing buffer {"connection_id":171599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:31:07] local.INFO: IMEI packet received {"connection_id":171599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":171599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:31:08] local.INFO: TCP Data received {"connection_id":171599,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4a1c38012d34c40006aa4210000e016228..."} 
[2026-09-05 07:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4a1c38012d34c40006aa4210000e016228..."} 
[2026-09-05 07:31:08] local.INFO: Processing buffer {"connection_id":171599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4a1c38012d34c40006aa4210000e016228..."} 
[2026-09-05 07:31:08] local.INFO: Packet analysis {"connection_id":171599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4a"} 
[2026-09-05 07:31:08] local.INFO: Extracted packet for processing {"connection_id":171599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4a"} 
[2026-09-05 07:31:08] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111821328,"longitude_deg":75.8432768,"latitude_deg":11.1821328,"altitude":14,"angle":354,"satellites":40,"speed":3,"hex_longitude":"2d34c400","hex_latitude":"06aa4210","is_valid_coordinates":true} 
[2026-09-05 07:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874821632001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031886619344896,"note":"Value kept but may cause issues"} 
[2026-09-05 07:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777962496,"note":"Value kept but may cause issues"} 
[2026-09-05 07:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788573523000,"timestamp_ms":1788573523000,"timestamp_seconds":1788573523,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4a1c38"} 
[2026-09-05 07:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:31: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-09-05 07:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 07:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874821632001,"66":27321,"97":206,"81":23296,"24":3,"16":399031886619344896,"45":3802234382777962496},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874821632001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:31:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:31:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031886619344896,"km_value":399031886619344.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777962496,"description":"Unknown IO ID 45"} 
[2026-09-05 07:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874821632001,"power":27321,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802234382777962496}} 
[2026-09-05 07:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":171599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:31:08] local.INFO: GPS data processed {"connection_id":171599,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:31:08] local.INFO: Acknowledgment sent {"connection_id":171599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:31:13] local.INFO: TCP Data received {"connection_id":171599,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4a1c38012d34c40006aa4210000e016228..."} 
[2026-09-05 07:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4a1c38012d34c40006aa4210000e016228..."} 
[2026-09-05 07:31:13] local.INFO: Processing buffer {"connection_id":171599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4a1c38012d34c40006aa4210000e016228..."} 
[2026-09-05 07:31:13] local.INFO: Packet analysis {"connection_id":171599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4a"} 
[2026-09-05 07:31:13] local.INFO: Extracted packet for processing {"connection_id":171599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4a"} 
[2026-09-05 07:31:13] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111821328,"longitude_deg":75.8432768,"latitude_deg":11.1821328,"altitude":14,"angle":354,"satellites":40,"speed":3,"hex_longitude":"2d34c400","hex_latitude":"06aa4210","is_valid_coordinates":true} 
[2026-09-05 07:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874821632001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031886619344896,"note":"Value kept but may cause issues"} 
[2026-09-05 07:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777962496,"note":"Value kept but may cause issues"} 
[2026-09-05 07:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788573523000,"timestamp_ms":1788573523000,"timestamp_seconds":1788573523,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4a1c38"} 
[2026-09-05 07:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 07:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 07:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874821632001,"66":27321,"97":206,"81":23296,"24":3,"16":399031886619344896,"45":3802234382777962496},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874821632001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:31:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:31:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031886619344896,"km_value":399031886619344.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777962496,"description":"Unknown IO ID 45"} 
[2026-09-05 07:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874821632001,"power":27321,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802234382777962496}} 
[2026-09-05 07:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":171599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:31:13] local.INFO: GPS data processed {"connection_id":171599,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:31:13] local.INFO: Acknowledgment sent {"connection_id":171599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:31:25] local.INFO: TCP Data received {"connection_id":174007,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174007,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:31:25] local.INFO: Processing buffer {"connection_id":174007,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:31:25] local.INFO: IMEI packet received {"connection_id":174007,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":174007,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:31:26] local.INFO: TCP Data received {"connection_id":174007,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174007,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:31:26] local.INFO: Processing buffer {"connection_id":174007,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:31:26] local.INFO: IMEI packet received {"connection_id":174007,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":174007,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:31:31] local.INFO: TCP Data received {"connection_id":174007,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174007,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:31:31] local.INFO: Processing buffer {"connection_id":174007,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:31:31] local.INFO: IMEI packet received {"connection_id":174007,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":174007,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:31:31] local.INFO: TCP Data received {"connection_id":174007,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4bf8c8012d7d3b0005d2a348000b00071a..."} 
[2026-09-05 07:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4bf8c8012d7d3b0005d2a348000b00071a..."} 
[2026-09-05 07:31:31] local.INFO: Processing buffer {"connection_id":174007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4bf8c8012d7d3b0005d2a348000b00071a..."} 
[2026-09-05 07:31:31] local.INFO: Packet analysis {"connection_id":174007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4b"} 
[2026-09-05 07:31:31] local.INFO: Extracted packet for processing {"connection_id":174007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4b"} 
[2026-09-05 07:31:31] local.INFO: GPS Element Parsed {"raw_longitude":763181824,"raw_latitude":97690440,"longitude_deg":76.3181824,"latitude_deg":9.769044,"altitude":11,"angle":7,"satellites":26,"speed":16,"hex_longitude":"2d7d3b00","hex_latitude":"05d2a348","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874852096001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128341474004697088,"note":"Value kept but may cause issues"} 
[2026-09-05 07:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023454459654465536,"note":"Value kept but may cause issues"} 
[2026-09-05 07:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788573645000,"timestamp_ms":1788573645000,"timestamp_seconds":1788573645,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4bf8c8"} 
[2026-09-05 07:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:31:31] 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-09-05 07: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-05 07:31: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-09-05 07: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-09-05 07:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874852096001,"66":13352,"117":206,"85":15104,"24":16,"16":128341474004697088,"45":9023454459654465536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-05 07:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874852096001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:31:31] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-05 07:31:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128341474004697088,"km_value":128341474004697.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023454459654465536,"description":"Unknown IO ID 45"} 
[2026-09-05 07:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874852096001,"power":13352,"unknown_117":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9023454459654465536}} 
[2026-09-05 07:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":174007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:31:31] local.INFO: GPS data processed {"connection_id":174007,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:31:31] local.INFO: Acknowledgment sent {"connection_id":174007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:31:57] local.INFO: TCP Data received {"connection_id":172705,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:31:57] local.INFO: Processing buffer {"connection_id":172705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:31:57] local.INFO: IMEI packet received {"connection_id":172705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":172705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:32:02] local.INFO: TCP Data received {"connection_id":172705,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:32:02] local.INFO: Processing buffer {"connection_id":172705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:32:02] local.INFO: IMEI packet received {"connection_id":172705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":172705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:32:03] local.INFO: TCP Data received {"connection_id":174007,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4c2b90012d7d3b0005d2be400008016518..."} 
[2026-09-05 07:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4c2b90012d7d3b0005d2be400008016518..."} 
[2026-09-05 07:32:03] local.INFO: Processing buffer {"connection_id":174007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4c2b90012d7d3b0005d2be400008016518..."} 
[2026-09-05 07:32:03] local.INFO: Packet analysis {"connection_id":174007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4c"} 
[2026-09-05 07:32:03] local.INFO: Extracted packet for processing {"connection_id":174007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4c"} 
[2026-09-05 07:32:03] local.INFO: GPS Element Parsed {"raw_longitude":763181824,"raw_latitude":97697344,"longitude_deg":76.3181824,"latitude_deg":9.7697344,"altitude":8,"angle":357,"satellites":24,"speed":28,"hex_longitude":"2d7d3b00","hex_latitude":"05d2be40","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874853120001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128341809012146176,"note":"Value kept but may cause issues"} 
[2026-09-05 07:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023806303375673344,"note":"Value kept but may cause issues"} 
[2026-09-05 07:32: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-09-05 07:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788573658000,"timestamp_ms":1788573658000,"timestamp_seconds":1788573658,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4c2b90"} 
[2026-09-05 07:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07: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-09-05 07: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-05 07:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874853120001,"66":13820,"117":206,"85":15104,"24":28,"16":128341809012146176,"45":9023806303375673344},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-05 07:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874853120001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:32:03] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-05 07:32:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128341809012146176,"km_value":128341809012146.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023806303375673344,"description":"Unknown IO ID 45"} 
[2026-09-05 07:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874853120001,"power":13820,"unknown_117":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9023806303375673344}} 
[2026-09-05 07:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":174007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767258,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:32:03] local.INFO: GPS data processed {"connection_id":174007,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:32:03] local.INFO: Acknowledgment sent {"connection_id":174007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:32:03] local.INFO: TCP Data received {"connection_id":172705,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4a1c38012d34c40006aa4210000e016228..."} 
[2026-09-05 07:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4a1c38012d34c40006aa4210000e016228..."} 
[2026-09-05 07:32:03] local.INFO: Processing buffer {"connection_id":172705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4a1c38012d34c40006aa4210000e016228..."} 
[2026-09-05 07:32:03] local.INFO: Packet analysis {"connection_id":172705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4a"} 
[2026-09-05 07:32:03] local.INFO: Extracted packet for processing {"connection_id":172705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4a"} 
[2026-09-05 07:32:03] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111821328,"longitude_deg":75.8432768,"latitude_deg":11.1821328,"altitude":14,"angle":354,"satellites":40,"speed":3,"hex_longitude":"2d34c400","hex_latitude":"06aa4210","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874821632001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031886619344896,"note":"Value kept but may cause issues"} 
[2026-09-05 07:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777962496,"note":"Value kept but may cause issues"} 
[2026-09-05 07:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788573523000,"timestamp_ms":1788573523000,"timestamp_seconds":1788573523,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4a1c38"} 
[2026-09-05 07:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:32: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-09-05 07:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 07:32: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-09-05 07: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-09-05 07:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:32: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-09-05 07:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874821632001,"66":27321,"97":206,"81":23296,"24":3,"16":399031886619344896,"45":3802234382777962496},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874821632001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:32:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:32:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031886619344896,"km_value":399031886619344.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777962496,"description":"Unknown IO ID 45"} 
[2026-09-05 07:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874821632001,"power":27321,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802234382777962496}} 
[2026-09-05 07:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":172705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:32:03] local.INFO: GPS data processed {"connection_id":172705,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:32:03] local.INFO: Acknowledgment sent {"connection_id":172705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:32:07] local.INFO: TCP Data received {"connection_id":172705,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4a1c38012d34c40006aa4210000e016228..."} 
[2026-09-05 07:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4a1c38012d34c40006aa4210000e016228..."} 
[2026-09-05 07:32:07] local.INFO: Processing buffer {"connection_id":172705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4a1c38012d34c40006aa4210000e016228..."} 
[2026-09-05 07:32:07] local.INFO: Packet analysis {"connection_id":172705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4a"} 
[2026-09-05 07:32:07] local.INFO: Extracted packet for processing {"connection_id":172705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4a"} 
[2026-09-05 07:32:07] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111821328,"longitude_deg":75.8432768,"latitude_deg":11.1821328,"altitude":14,"angle":354,"satellites":40,"speed":3,"hex_longitude":"2d34c400","hex_latitude":"06aa4210","is_valid_coordinates":true} 
[2026-09-05 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-09-05 07:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874821632001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031886619344896,"note":"Value kept but may cause issues"} 
[2026-09-05 07:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777962496,"note":"Value kept but may cause issues"} 
[2026-09-05 07:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788573523000,"timestamp_ms":1788573523000,"timestamp_seconds":1788573523,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4a1c38"} 
[2026-09-05 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-09-05 07:32: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-09-05 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 07:32: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-09-05 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-09-05 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-09-05 07:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:32: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-09-05 07:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874821632001,"66":27321,"97":206,"81":23296,"24":3,"16":399031886619344896,"45":3802234382777962496},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874821632001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:32:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:32:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031886619344896,"km_value":399031886619344.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777962496,"description":"Unknown IO ID 45"} 
[2026-09-05 07:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874821632001,"power":27321,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802234382777962496}} 
[2026-09-05 07:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":172705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:32:07] local.INFO: GPS data processed {"connection_id":172705,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:32:07] local.INFO: Acknowledgment sent {"connection_id":172705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:32:25] local.INFO: TCP Data received {"connection_id":172706,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:32:25] local.INFO: Processing buffer {"connection_id":172706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:32:25] local.INFO: IMEI packet received {"connection_id":172706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":172706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:32:32] local.INFO: TCP Data received {"connection_id":172706,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:32:32] local.INFO: Processing buffer {"connection_id":172706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:32:32] local.INFO: IMEI packet received {"connection_id":172706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":172706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:32:32] local.INFO: TCP Data received {"connection_id":172706,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4d5470012d7d3c8005d454f00000016214..."} 
[2026-09-05 07:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4d5470012d7d3c8005d454f00000016214..."} 
[2026-09-05 07:32:32] local.INFO: Processing buffer {"connection_id":172706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4d5470012d7d3c8005d454f00000016214..."} 
[2026-09-05 07:32:32] local.INFO: Packet analysis {"connection_id":172706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4d"} 
[2026-09-05 07:32:32] local.INFO: Extracted packet for processing {"connection_id":172706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4d"} 
[2026-09-05 07:32:32] local.INFO: GPS Element Parsed {"raw_longitude":763182208,"raw_latitude":97801456,"longitude_deg":76.3182208,"latitude_deg":9.7801456,"altitude":0,"angle":354,"satellites":20,"speed":64,"hex_longitude":"2d7d3c80","hex_latitude":"05d454f0","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874874368001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128346864188653568,"note":"Value kept but may cause issues"} 
[2026-09-05 07:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024509990843373568,"note":"Value kept but may cause issues"} 
[2026-09-05 07:32:32] 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-09-05 07:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788573734000,"timestamp_ms":1788573734000,"timestamp_seconds":1788573734,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4d5470"} 
[2026-09-05 07:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-05 07:32:32] 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-09-05 07: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-09-05 07:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874874368001,"66":13341,"81":206,"85":15104,"24":64,"16":128346864188653568,"45":9024509990843373568},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-05 07:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874874368001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:32:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-05 07:32:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128346864188653568,"km_value":128346864188653.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024509990843373568,"description":"Unknown IO ID 45"} 
[2026-09-05 07:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874874368001,"power":13341,"unknown_81":206,"unknown_85":15104,"ignition":64,"odometer":null,"unknown_45":9024509990843373568}} 
[2026-09-05 07:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":172706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767261,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:32:32] local.INFO: GPS data processed {"connection_id":172706,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:32:32] local.INFO: Acknowledgment sent {"connection_id":172706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:32:39] local.INFO: TCP Data received {"connection_id":172705,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4a1c38012d34c40006aa4210000e016228..."} 
[2026-09-05 07:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4a1c38012d34c40006aa4210000e016228..."} 
[2026-09-05 07:32:39] local.INFO: Processing buffer {"connection_id":172705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4a1c38012d34c40006aa4210000e016228..."} 
[2026-09-05 07:32:39] local.INFO: Packet analysis {"connection_id":172705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4a"} 
[2026-09-05 07:32:39] local.INFO: Extracted packet for processing {"connection_id":172705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4a"} 
[2026-09-05 07:32:39] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111821328,"longitude_deg":75.8432768,"latitude_deg":11.1821328,"altitude":14,"angle":354,"satellites":40,"speed":3,"hex_longitude":"2d34c400","hex_latitude":"06aa4210","is_valid_coordinates":true} 
[2026-09-05 07:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874821632001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031886619344896,"note":"Value kept but may cause issues"} 
[2026-09-05 07:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777962496,"note":"Value kept but may cause issues"} 
[2026-09-05 07:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788573523000,"timestamp_ms":1788573523000,"timestamp_seconds":1788573523,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4a1c38"} 
[2026-09-05 07:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:32: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-09-05 07:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 07: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-09-05 07:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874821632001,"66":27321,"97":206,"81":23296,"24":3,"16":399031886619344896,"45":3802234382777962496},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874821632001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:32:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:32:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031886619344896,"km_value":399031886619344.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777962496,"description":"Unknown IO ID 45"} 
[2026-09-05 07:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874821632001,"power":27321,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802234382777962496}} 
[2026-09-05 07:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":172705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:32:39] local.INFO: GPS data processed {"connection_id":172705,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:32:39] local.INFO: Acknowledgment sent {"connection_id":172705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:32:57] local.INFO: TCP Data received {"connection_id":174008,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:32:57] local.INFO: Processing buffer {"connection_id":174008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:32:57] local.INFO: IMEI packet received {"connection_id":174008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":174008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:33:02] local.INFO: TCP Data received {"connection_id":174008,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:33:02] local.INFO: Processing buffer {"connection_id":174008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:33:02] local.INFO: IMEI packet received {"connection_id":174008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":174008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:33:03] local.INFO: TCP Data received {"connection_id":174008,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4a1c38012d34c40006aa4210000e016228..."} 
[2026-09-05 07:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4a1c38012d34c40006aa4210000e016228..."} 
[2026-09-05 07:33:03] local.INFO: Processing buffer {"connection_id":174008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4a1c38012d34c40006aa4210000e016228..."} 
[2026-09-05 07:33:03] local.INFO: Packet analysis {"connection_id":174008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4a"} 
[2026-09-05 07:33:03] local.INFO: Extracted packet for processing {"connection_id":174008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4a"} 
[2026-09-05 07:33:03] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111821328,"longitude_deg":75.8432768,"latitude_deg":11.1821328,"altitude":14,"angle":354,"satellites":40,"speed":3,"hex_longitude":"2d34c400","hex_latitude":"06aa4210","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874821632001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031886619344896,"note":"Value kept but may cause issues"} 
[2026-09-05 07:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777962496,"note":"Value kept but may cause issues"} 
[2026-09-05 07:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788573523000,"timestamp_ms":1788573523000,"timestamp_seconds":1788573523,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4a1c38"} 
[2026-09-05 07:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:33: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-09-05 07:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 07:33: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-09-05 07: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-09-05 07:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:33: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-09-05 07:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874821632001,"66":27321,"97":206,"81":23296,"24":3,"16":399031886619344896,"45":3802234382777962496},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874821632001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:33:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:33:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031886619344896,"km_value":399031886619344.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777962496,"description":"Unknown IO ID 45"} 
[2026-09-05 07:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874821632001,"power":27321,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802234382777962496}} 
[2026-09-05 07:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":174008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:33:03] local.INFO: GPS data processed {"connection_id":174008,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:33:03] local.INFO: Acknowledgment sent {"connection_id":174008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:33:11] local.INFO: TCP Data received {"connection_id":172706,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4d6fc8012d7d37c005d47c400000016012..."} 
[2026-09-05 07:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4d6fc8012d7d37c005d47c400000016012..."} 
[2026-09-05 07:33:11] local.INFO: Processing buffer {"connection_id":172706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4d6fc8012d7d37c005d47c400000016012..."} 
[2026-09-05 07:33:11] local.INFO: Packet analysis {"connection_id":172706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4d"} 
[2026-09-05 07:33:11] local.INFO: Extracted packet for processing {"connection_id":172706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4d"} 
[2026-09-05 07:33:11] local.INFO: GPS Element Parsed {"raw_longitude":763180992,"raw_latitude":97811520,"longitude_deg":76.3180992,"latitude_deg":9.781152,"altitude":0,"angle":352,"satellites":18,"speed":51,"hex_longitude":"2d7d37c0","hex_latitude":"05d47c40","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874875904001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128347353814925312,"note":"Value kept but may cause issues"} 
[2026-09-05 07:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515869159424,"note":"Value kept but may cause issues"} 
[2026-09-05 07:33: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-09-05 07:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788573741000,"timestamp_ms":1788573741000,"timestamp_seconds":1788573741,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4d6fc8"} 
[2026-09-05 07:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-05 07:33:11] 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-09-05 07: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-09-05 07:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":172706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":172706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":172706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874875904001,"66":13396,"81":206,"85":15104,"24":51,"16":128347353814925312,"45":9024228515869159424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-05 07:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874875904001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:33:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-05 07:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128347353814925312,"km_value":128347353814925.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228515869159424,"description":"Unknown IO ID 45"} 
[2026-09-05 07:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874875904001,"power":13396,"unknown_81":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":9024228515869159424}} 
[2026-09-05 07:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":172706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767264,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:33:11] local.INFO: GPS data processed {"connection_id":172706,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:33:11] local.INFO: Acknowledgment sent {"connection_id":172706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:33:30] local.INFO: TCP Data received {"connection_id":172707,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172707,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:33:30] local.INFO: Processing buffer {"connection_id":172707,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:33:30] local.INFO: IMEI packet received {"connection_id":172707,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":172707,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:33:34] local.INFO: TCP Data received {"connection_id":174008,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4a1c38012d34c40006aa4210000e016228..."} 
[2026-09-05 07:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4a1c38012d34c40006aa4210000e016228..."} 
[2026-09-05 07:33:34] local.INFO: Processing buffer {"connection_id":174008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4a1c38012d34c40006aa4210000e016228..."} 
[2026-09-05 07:33:34] local.INFO: Packet analysis {"connection_id":174008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4a"} 
[2026-09-05 07:33:34] local.INFO: Extracted packet for processing {"connection_id":174008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4a"} 
[2026-09-05 07:33:34] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111821328,"longitude_deg":75.8432768,"latitude_deg":11.1821328,"altitude":14,"angle":354,"satellites":40,"speed":3,"hex_longitude":"2d34c400","hex_latitude":"06aa4210","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874821632001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031886619344896,"note":"Value kept but may cause issues"} 
[2026-09-05 07:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777962496,"note":"Value kept but may cause issues"} 
[2026-09-05 07:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788573523000,"timestamp_ms":1788573523000,"timestamp_seconds":1788573523,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4a1c38"} 
[2026-09-05 07:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:33: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-09-05 07:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 07:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874821632001,"66":27321,"97":206,"81":23296,"24":3,"16":399031886619344896,"45":3802234382777962496},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874821632001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:33:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:33:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031886619344896,"km_value":399031886619344.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777962496,"description":"Unknown IO ID 45"} 
[2026-09-05 07:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874821632001,"power":27321,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802234382777962496}} 
[2026-09-05 07:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":174008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:33:34] local.INFO: GPS data processed {"connection_id":174008,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:33:34] local.INFO: Acknowledgment sent {"connection_id":174008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:33:35] local.INFO: TCP Data received {"connection_id":172707,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172707,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:33:35] local.INFO: Processing buffer {"connection_id":172707,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:33:35] local.INFO: IMEI packet received {"connection_id":172707,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":172707,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:33:35] local.INFO: TCP Data received {"connection_id":172707,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172707,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:33:35] local.INFO: Processing buffer {"connection_id":172707,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:33:35] local.INFO: IMEI packet received {"connection_id":172707,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":172707,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:33:36] local.INFO: TCP Data received {"connection_id":172707,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4d8f08012d7d320005d4a1200000015d14..."} 
[2026-09-05 07:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4d8f08012d7d320005d4a1200000015d14..."} 
[2026-09-05 07:33:36] local.INFO: Processing buffer {"connection_id":172707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4d8f08012d7d320005d4a1200000015d14..."} 
[2026-09-05 07:33:36] local.INFO: Packet analysis {"connection_id":172707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4d"} 
[2026-09-05 07:33:36] local.INFO: Extracted packet for processing {"connection_id":172707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4d"} 
[2026-09-05 07:33:36] local.INFO: GPS Element Parsed {"raw_longitude":763179520,"raw_latitude":97820960,"longitude_deg":76.317952,"latitude_deg":9.782096,"altitude":0,"angle":349,"satellites":20,"speed":50,"hex_longitude":"2d7d3200","hex_latitude":"05d4a120","is_valid_coordinates":true} 
[2026-09-05 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-09-05 07:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874877696001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128347817671393280,"note":"Value kept but may cause issues"} 
[2026-09-05 07:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022891509732360192,"note":"Value kept but may cause issues"} 
[2026-09-05 07:33: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-09-05 07:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788573749000,"timestamp_ms":1788573749000,"timestamp_seconds":1788573749,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4d8f08"} 
[2026-09-05 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-09-05 07:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-05 07:33: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-09-05 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-09-05 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-09-05 07:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874877696001,"66":13917,"81":206,"85":15104,"24":50,"16":128347817671393280,"45":9022891509732360192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-05 07:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874877696001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:33:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-05 07:33:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128347817671393280,"km_value":128347817671393.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022891509732360192,"description":"Unknown IO ID 45"} 
[2026-09-05 07:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874877696001,"power":13917,"unknown_81":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9022891509732360192}} 
[2026-09-05 07:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":172707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:33:36] local.INFO: GPS data processed {"connection_id":172707,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:33:36] local.INFO: Acknowledgment sent {"connection_id":172707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:33:45] local.INFO: TCP Data received {"connection_id":172707,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4daa60012d7d2d0005d4c5a00000016115..."} 
[2026-09-05 07:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4daa60012d7d2d0005d4c5a00000016115..."} 
[2026-09-05 07:33:45] local.INFO: Processing buffer {"connection_id":172707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4daa60012d7d2d0005d4c5a00000016115..."} 
[2026-09-05 07:33:45] local.INFO: Packet analysis {"connection_id":172707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4d"} 
[2026-09-05 07:33:45] local.INFO: Extracted packet for processing {"connection_id":172707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4d"} 
[2026-09-05 07:33:45] local.INFO: GPS Element Parsed {"raw_longitude":763178240,"raw_latitude":97830304,"longitude_deg":76.317824,"latitude_deg":9.7830304,"altitude":0,"angle":353,"satellites":21,"speed":55,"hex_longitude":"2d7d2d00","hex_latitude":"05d4c5a0","is_valid_coordinates":true} 
[2026-09-05 07:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874879744001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128348277232893952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021273028618690560,"note":"Value kept but may cause issues"} 
[2026-09-05 07:33:45] 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-09-05 07:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788573756000,"timestamp_ms":1788573756000,"timestamp_seconds":1788573756,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4daa60"} 
[2026-09-05 07:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-05 07:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":172707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":172707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":172707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874879744001,"66":13689,"81":206,"85":15104,"24":55,"16":128348277232893952,"45":9021273028618690560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-05 07:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874879744001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:33:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-05 07:33:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128348277232893952,"km_value":128348277232893.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021273028618690560,"description":"Unknown IO ID 45"} 
[2026-09-05 07:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874879744001,"power":13689,"unknown_81":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":9021273028618690560}} 
[2026-09-05 07:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":172707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767267,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:33:45] local.INFO: GPS data processed {"connection_id":172707,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:33:45] local.INFO: Acknowledgment sent {"connection_id":172707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:33:57] local.INFO: TCP Data received {"connection_id":171299,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:33:57] local.INFO: Processing buffer {"connection_id":171299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:33:57] local.INFO: IMEI packet received {"connection_id":171299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":171299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:34:02] local.INFO: TCP Data received {"connection_id":171299,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:34:02] local.INFO: Processing buffer {"connection_id":171299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:34:02] local.INFO: IMEI packet received {"connection_id":171299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":171299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:34:03] local.INFO: TCP Data received {"connection_id":171299,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4a1c38012d34c40006aa4210000e016228..."} 
[2026-09-05 07:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4a1c38012d34c40006aa4210000e016228..."} 
[2026-09-05 07:34:03] local.INFO: Processing buffer {"connection_id":171299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4a1c38012d34c40006aa4210000e016228..."} 
[2026-09-05 07:34:03] local.INFO: Packet analysis {"connection_id":171299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4a"} 
[2026-09-05 07:34:03] local.INFO: Extracted packet for processing {"connection_id":171299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4a"} 
[2026-09-05 07:34:03] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111821328,"longitude_deg":75.8432768,"latitude_deg":11.1821328,"altitude":14,"angle":354,"satellites":40,"speed":3,"hex_longitude":"2d34c400","hex_latitude":"06aa4210","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874821632001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031886619344896,"note":"Value kept but may cause issues"} 
[2026-09-05 07:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777962496,"note":"Value kept but may cause issues"} 
[2026-09-05 07:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788573523000,"timestamp_ms":1788573523000,"timestamp_seconds":1788573523,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4a1c38"} 
[2026-09-05 07:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:34: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-09-05 07:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 07:34: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-09-05 07: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-09-05 07:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:34: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-09-05 07:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874821632001,"66":27321,"97":206,"81":23296,"24":3,"16":399031886619344896,"45":3802234382777962496},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874821632001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:34:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:34:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031886619344896,"km_value":399031886619344.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777962496,"description":"Unknown IO ID 45"} 
[2026-09-05 07:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874821632001,"power":27321,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802234382777962496}} 
[2026-09-05 07:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":171299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:34:03] local.INFO: GPS data processed {"connection_id":171299,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:34:03] local.INFO: Acknowledgment sent {"connection_id":171299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:34:25] local.INFO: TCP Data received {"connection_id":171300,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:34:25] local.INFO: Processing buffer {"connection_id":171300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:34:25] local.INFO: IMEI packet received {"connection_id":171300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":171300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:34:28] local.INFO: TCP Data received {"connection_id":171300,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:34:28] local.INFO: Processing buffer {"connection_id":171300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:34:28] local.INFO: IMEI packet received {"connection_id":171300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":171300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:34:31] local.INFO: TCP Data received {"connection_id":171300,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:34:31] local.INFO: Processing buffer {"connection_id":171300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:34:31] local.INFO: IMEI packet received {"connection_id":171300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":171300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:34:31] local.INFO: TCP Data received {"connection_id":171300,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4ecf58012d7cea4005d67de00000016315..."} 
[2026-09-05 07:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4ecf58012d7cea4005d67de00000016315..."} 
[2026-09-05 07:34:31] local.INFO: Processing buffer {"connection_id":171300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4ecf58012d7cea4005d67de00000016315..."} 
[2026-09-05 07:34:31] local.INFO: Packet analysis {"connection_id":171300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4e"} 
[2026-09-05 07:34:31] local.INFO: Extracted packet for processing {"connection_id":171300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4e"} 
[2026-09-05 07:34:31] local.INFO: GPS Element Parsed {"raw_longitude":763161152,"raw_latitude":97943008,"longitude_deg":76.3161152,"latitude_deg":9.7943008,"altitude":0,"angle":355,"satellites":21,"speed":58,"hex_longitude":"2d7cea40","hex_latitude":"05d67de0","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874899200001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128353843510509568,"note":"Value kept but may cause issues"} 
[2026-09-05 07:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9002062361487136768,"note":"Value kept but may cause issues"} 
[2026-09-05 07:34:31] 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-09-05 07:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788573831000,"timestamp_ms":1788573831000,"timestamp_seconds":1788573831,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4ecf58"} 
[2026-09-05 07:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:34: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-09-05 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-05 07:34:31] 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-09-05 07: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-09-05 07:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874899200001,"66":13820,"253":206,"85":15104,"24":58,"16":128353843510509568,"45":9002062361487136768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-09-05 07:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874899200001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:34:31] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-09-05 07:34:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128353843510509568,"km_value":128353843510509.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9002062361487136768,"description":"Unknown IO ID 45"} 
[2026-09-05 07:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874899200001,"power":13820,"unknown_253":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":9002062361487136768}} 
[2026-09-05 07:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":171300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767269,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:34:31] local.INFO: GPS data processed {"connection_id":171300,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:34:31] local.INFO: Acknowledgment sent {"connection_id":171300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:34:34] local.INFO: TCP Data received {"connection_id":171299,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4eb7e8012d34c3c006aa47c0000e016020..."} 
[2026-09-05 07:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4eb7e8012d34c3c006aa47c0000e016020..."} 
[2026-09-05 07:34:34] local.INFO: Processing buffer {"connection_id":171299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4eb7e8012d34c3c006aa47c0000e016020..."} 
[2026-09-05 07:34:34] local.INFO: Packet analysis {"connection_id":171299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4e"} 
[2026-09-05 07:34:34] local.INFO: Extracted packet for processing {"connection_id":171299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4e"} 
[2026-09-05 07:34:34] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822784,"longitude_deg":75.8432704,"latitude_deg":11.1822784,"altitude":14,"angle":352,"satellites":32,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa47c0","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874821888001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031886619344896,"note":"Value kept but may cause issues"} 
[2026-09-05 07:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033801216,"note":"Value kept but may cause issues"} 
[2026-09-05 07:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788573825000,"timestamp_ms":1788573825000,"timestamp_seconds":1788573825,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4eb7e8"} 
[2026-09-05 07:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:34: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-09-05 07: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":185,"data_length":795,"current_offset":136} 
[2026-09-05 07:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874821888001,"66":26267,"97":206,"81":23296,"24":0,"16":399031886619344896,"45":3802164014033801216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874821888001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:34:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:34:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031886619344896,"km_value":399031886619344.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033801216,"description":"Unknown IO ID 45"} 
[2026-09-05 07:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874821888001,"power":26267,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033801216}} 
[2026-09-05 07:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":171299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:34:34] local.INFO: GPS data processed {"connection_id":171299,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:34:34] local.INFO: Acknowledgment sent {"connection_id":171299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:34:57] local.INFO: TCP Data received {"connection_id":172708,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:34:57] local.INFO: Processing buffer {"connection_id":172708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:34:57] local.INFO: IMEI packet received {"connection_id":172708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":172708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:35:02] local.INFO: TCP Data received {"connection_id":172708,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:35:02] local.INFO: Processing buffer {"connection_id":172708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:35:02] local.INFO: IMEI packet received {"connection_id":172708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":172708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:35:03] local.INFO: TCP Data received {"connection_id":172708,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4eb7e8012d34c3c006aa47c0000e016020..."} 
[2026-09-05 07:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4eb7e8012d34c3c006aa47c0000e016020..."} 
[2026-09-05 07:35:03] local.INFO: Processing buffer {"connection_id":172708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4eb7e8012d34c3c006aa47c0000e016020..."} 
[2026-09-05 07:35:03] local.INFO: Packet analysis {"connection_id":172708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4e"} 
[2026-09-05 07:35:03] local.INFO: Extracted packet for processing {"connection_id":172708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4e"} 
[2026-09-05 07:35:03] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822784,"longitude_deg":75.8432704,"latitude_deg":11.1822784,"altitude":14,"angle":352,"satellites":32,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa47c0","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874821888001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031886619344896,"note":"Value kept but may cause issues"} 
[2026-09-05 07:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033801216,"note":"Value kept but may cause issues"} 
[2026-09-05 07:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788573825000,"timestamp_ms":1788573825000,"timestamp_seconds":1788573825,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4eb7e8"} 
[2026-09-05 07:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:35: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-09-05 07: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 07:35: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-09-05 07: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-09-05 07:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07: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-09-05 07:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874821888001,"66":26267,"97":206,"81":23296,"24":0,"16":399031886619344896,"45":3802164014033801216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874821888001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:35:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:35:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031886619344896,"km_value":399031886619344.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033801216,"description":"Unknown IO ID 45"} 
[2026-09-05 07:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874821888001,"power":26267,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033801216}} 
[2026-09-05 07:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":172708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:35:03] local.INFO: GPS data processed {"connection_id":172708,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:35:03] local.INFO: Acknowledgment sent {"connection_id":172708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:35:03] local.INFO: TCP Data received {"connection_id":171300,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4eeab0012d7ce54005d6a4d80000015f16..."} 
[2026-09-05 07:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4eeab0012d7ce54005d6a4d80000015f16..."} 
[2026-09-05 07:35:03] local.INFO: Processing buffer {"connection_id":171300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4eeab0012d7ce54005d6a4d80000015f16..."} 
[2026-09-05 07:35:03] local.INFO: Packet analysis {"connection_id":171300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4e"} 
[2026-09-05 07:35:03] local.INFO: Extracted packet for processing {"connection_id":171300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4e"} 
[2026-09-05 07:35:03] local.INFO: GPS Element Parsed {"raw_longitude":763159872,"raw_latitude":97952984,"longitude_deg":76.3159872,"latitude_deg":9.7952984,"altitude":0,"angle":351,"satellites":22,"speed":56,"hex_longitude":"2d7ce540","hex_latitude":"05d6a4d8","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874900736001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128354328841814016,"note":"Value kept but may cause issues"} 
[2026-09-05 07:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001077199070945280,"note":"Value kept but may cause issues"} 
[2026-09-05 07:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788573838000,"timestamp_ms":1788573838000,"timestamp_seconds":1788573838,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4eeab0"} 
[2026-09-05 07:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:35:03] 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-09-05 07: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-05 07:35:03] 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-09-05 07: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-09-05 07:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874900736001,"66":13798,"29":206,"85":15104,"24":56,"16":128354328841814016,"45":9001077199070945280},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-09-05 07:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874900736001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:35:03] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-05 07:35:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128354328841814016,"km_value":128354328841814.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001077199070945280,"description":"Unknown IO ID 45"} 
[2026-09-05 07:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874900736001,"power":13798,"unknown_29":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":9001077199070945280}} 
[2026-09-05 07:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":171300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767272,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:35:03] local.INFO: GPS data processed {"connection_id":171300,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:35:03] local.INFO: Acknowledgment sent {"connection_id":171300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:35:31] local.INFO: TCP Data received {"connection_id":171301,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171301,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:35:31] local.INFO: Processing buffer {"connection_id":171301,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:35:31] local.INFO: IMEI packet received {"connection_id":171301,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":171301,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:35:34] local.INFO: TCP Data received {"connection_id":171301,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171301,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:35:34] local.INFO: Processing buffer {"connection_id":171301,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:35:34] local.INFO: IMEI packet received {"connection_id":171301,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":171301,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:35:34] local.INFO: TCP Data received {"connection_id":171301,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4f0608012d7cddc005d6cbf80000015b17..."} 
[2026-09-05 07:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4f0608012d7cddc005d6cbf80000015b17..."} 
[2026-09-05 07:35:34] local.INFO: Processing buffer {"connection_id":171301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4f0608012d7cddc005d6cbf80000015b17..."} 
[2026-09-05 07:35:34] local.INFO: Packet analysis {"connection_id":171301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4f"} 
[2026-09-05 07:35:34] local.INFO: Extracted packet for processing {"connection_id":171301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4f"} 
[2026-09-05 07:35:34] local.INFO: GPS Element Parsed {"raw_longitude":763157952,"raw_latitude":97963000,"longitude_deg":76.3157952,"latitude_deg":9.7963,"altitude":0,"angle":347,"satellites":23,"speed":58,"hex_longitude":"2d7cddc0","hex_latitude":"05d6cbf8","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874902528001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128354822763053056,"note":"Value kept but may cause issues"} 
[2026-09-05 07:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999669824189945856,"note":"Value kept but may cause issues"} 
[2026-09-05 07:35:34] 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-09-05 07:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788573845000,"timestamp_ms":1788573845000,"timestamp_seconds":1788573845,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4f0608"} 
[2026-09-05 07:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:35: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-09-05 07: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 07:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874902528001,"66":13820,"29":206,"85":15104,"24":58,"16":128354822763053056,"45":8999669824189945856},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-09-05 07:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874902528001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:35:34] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-05 07:35:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128354822763053056,"km_value":128354822763053.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999669824189945856,"description":"Unknown IO ID 45"} 
[2026-09-05 07:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874902528001,"power":13820,"unknown_29":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":8999669824189945856}} 
[2026-09-05 07:35:35] local.INFO: TCP Data received {"connection_id":172708,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4eb7e8012d34c3c006aa47c0000e016020..."} 
[2026-09-05 07:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4eb7e8012d34c3c006aa47c0000e016020..."} 
[2026-09-05 07:35:35] local.INFO: Processing buffer {"connection_id":172708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4eb7e8012d34c3c006aa47c0000e016020..."} 
[2026-09-05 07:35:35] local.INFO: Packet analysis {"connection_id":172708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4e"} 
[2026-09-05 07:35:35] local.INFO: Extracted packet for processing {"connection_id":172708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4e"} 
[2026-09-05 07:35:35] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822784,"longitude_deg":75.8432704,"latitude_deg":11.1822784,"altitude":14,"angle":352,"satellites":32,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa47c0","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874821888001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031886619344896,"note":"Value kept but may cause issues"} 
[2026-09-05 07:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033801216,"note":"Value kept but may cause issues"} 
[2026-09-05 07:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788573825000,"timestamp_ms":1788573825000,"timestamp_seconds":1788573825,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4eb7e8"} 
[2026-09-05 07:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:35:35] 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-09-05 07: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 07:35: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-09-05 07: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-09-05 07:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874821888001,"66":26267,"97":206,"81":23296,"24":0,"16":399031886619344896,"45":3802164014033801216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874821888001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:35:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:35:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031886619344896,"km_value":399031886619344.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033801216,"description":"Unknown IO ID 45"} 
[2026-09-05 07:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874821888001,"power":26267,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033801216}} 
[2026-09-05 07:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":171301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:35:35] local.INFO: GPS data processed {"connection_id":171301,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:35:35] local.INFO: Acknowledgment sent {"connection_id":171301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":172708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:35:35] local.INFO: GPS data processed {"connection_id":172708,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:35:35] local.INFO: Acknowledgment sent {"connection_id":172708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:35:36] local.INFO: TCP Data received {"connection_id":171301,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4f2160012d7cd34005d6f0e80000015617..."} 
[2026-09-05 07:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4f2160012d7cd34005d6f0e80000015617..."} 
[2026-09-05 07:35:36] local.INFO: Processing buffer {"connection_id":171301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4f2160012d7cd34005d6f0e80000015617..."} 
[2026-09-05 07:35:36] local.INFO: Packet analysis {"connection_id":171301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4f"} 
[2026-09-05 07:35:36] local.INFO: Extracted packet for processing {"connection_id":171301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4f"} 
[2026-09-05 07:35:36] local.INFO: GPS Element Parsed {"raw_longitude":763155264,"raw_latitude":97972456,"longitude_deg":76.3155264,"latitude_deg":9.7972456,"altitude":0,"angle":342,"satellites":23,"speed":57,"hex_longitude":"2d7cd340","hex_latitude":"05d6f0e8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 07:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874904320001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128355299504422912,"note":"Value kept but may cause issues"} 
[2026-09-05 07:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8997558761867180032,"note":"Value kept but may cause issues"} 
[2026-09-05 07:35: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-09-05 07:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788573852000,"timestamp_ms":1788573852000,"timestamp_seconds":1788573852,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4f2160"} 
[2026-09-05 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-09-05 07:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":252,"data_length":795,"current_offset":136} 
[2026-09-05 07:35: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-09-05 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-09-05 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-09-05 07:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874904320001,"66":13928,"29":206,"85":15104,"24":57,"16":128355299504422912,"45":8997558761867180032},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-09-05 07:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874904320001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:35:36] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-05 07:35:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128355299504422912,"km_value":128355299504422.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8997558761867180032,"description":"Unknown IO ID 45"} 
[2026-09-05 07:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874904320001,"power":13928,"unknown_29":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":8997558761867180032}} 
[2026-09-05 07:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":171301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767275,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:35:36] local.INFO: GPS data processed {"connection_id":171301,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:35:36] local.INFO: Acknowledgment sent {"connection_id":171301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:35:46] local.INFO: TCP Data received {"connection_id":171302,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171302,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:35:46] local.INFO: Processing buffer {"connection_id":171302,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:35:46] local.INFO: IMEI packet received {"connection_id":171302,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 07:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":171302,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:36:02] local.INFO: TCP Data received {"connection_id":174009,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:36:02] local.INFO: Processing buffer {"connection_id":174009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:36:02] local.INFO: IMEI packet received {"connection_id":174009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":174009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:36:07] local.INFO: TCP Data received {"connection_id":171301,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f509090012d7c95c005d885b80000016515..."} 
[2026-09-05 07:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f509090012d7c95c005d885b80000016515..."} 
[2026-09-05 07:36:07] local.INFO: Processing buffer {"connection_id":171301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f509090012d7c95c005d885b80000016515..."} 
[2026-09-05 07:36:07] local.INFO: Packet analysis {"connection_id":171301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f50"} 
[2026-09-05 07:36:07] local.INFO: Extracted packet for processing {"connection_id":171301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f50"} 
[2026-09-05 07:36:07] local.INFO: GPS Element Parsed {"raw_longitude":763139520,"raw_latitude":98076088,"longitude_deg":76.313952,"latitude_deg":9.8076088,"altitude":0,"angle":357,"satellites":21,"speed":57,"hex_longitude":"2d7c95c0","hex_latitude":"05d885b8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 07:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874928384001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128360410515505152,"note":"Value kept but may cause issues"} 
[2026-09-05 07:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977714776035450880,"note":"Value kept but may cause issues"} 
[2026-09-05 07:36:07] 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-09-05 07:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788573946000,"timestamp_ms":1788573946000,"timestamp_seconds":1788573946,"priority":1,"record_length":96,"hex_timestamp":"000001a06f509090"} 
[2026-09-05 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-09-05 07:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":252,"data_length":795,"current_offset":136} 
[2026-09-05 07:36: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-09-05 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-09-05 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-09-05 07:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874928384001,"66":13830,"196":206,"85":15104,"24":57,"16":128360410515505152,"45":8977714776035450880},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-09-05 07:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874928384001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:36:07] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-05 07:36:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128360410515505152,"km_value":128360410515505.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977714776035450880,"description":"Unknown IO ID 45"} 
[2026-09-05 07:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874928384001,"power":13830,"unknown_196":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":8977714776035450880}} 
[2026-09-05 07:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":171301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:36:07] local.INFO: GPS data processed {"connection_id":171301,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:36:07] local.INFO: Acknowledgment sent {"connection_id":171301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:36:07] local.INFO: TCP Data received {"connection_id":174009,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:36:07] local.INFO: Processing buffer {"connection_id":174009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:36:07] local.INFO: IMEI packet received {"connection_id":174009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":174009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:36:08] local.INFO: TCP Data received {"connection_id":174009,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4eb7e8012d34c3c006aa47c0000e016020..."} 
[2026-09-05 07:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4eb7e8012d34c3c006aa47c0000e016020..."} 
[2026-09-05 07:36:08] local.INFO: Processing buffer {"connection_id":174009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4eb7e8012d34c3c006aa47c0000e016020..."} 
[2026-09-05 07:36:08] local.INFO: Packet analysis {"connection_id":174009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4e"} 
[2026-09-05 07:36:08] local.INFO: Extracted packet for processing {"connection_id":174009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4e"} 
[2026-09-05 07:36:08] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822784,"longitude_deg":75.8432704,"latitude_deg":11.1822784,"altitude":14,"angle":352,"satellites":32,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa47c0","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874821888001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031886619344896,"note":"Value kept but may cause issues"} 
[2026-09-05 07:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033801216,"note":"Value kept but may cause issues"} 
[2026-09-05 07:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788573825000,"timestamp_ms":1788573825000,"timestamp_seconds":1788573825,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4eb7e8"} 
[2026-09-05 07:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:36: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-09-05 07: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 07:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874821888001,"66":26267,"97":206,"81":23296,"24":0,"16":399031886619344896,"45":3802164014033801216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874821888001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:36:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:36:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031886619344896,"km_value":399031886619344.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033801216,"description":"Unknown IO ID 45"} 
[2026-09-05 07:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874821888001,"power":26267,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033801216}} 
[2026-09-05 07:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":174009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:36:08] local.INFO: GPS data processed {"connection_id":174009,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:36:08] local.INFO: Acknowledgment sent {"connection_id":174009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:36:27] local.INFO: TCP Data received {"connection_id":171601,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:36:27] local.INFO: Processing buffer {"connection_id":171601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:36:27] local.INFO: IMEI packet received {"connection_id":171601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":171601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:36:27] local.INFO: TCP Data received {"connection_id":171601,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:36:27] local.INFO: Processing buffer {"connection_id":171601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:36:27] local.INFO: IMEI packet received {"connection_id":171601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":171601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:36:31] local.INFO: TCP Data received {"connection_id":171601,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:36:31] local.INFO: Processing buffer {"connection_id":171601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:36:31] local.INFO: IMEI packet received {"connection_id":171601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":171601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:36:33] local.INFO: TCP Data received {"connection_id":171601,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:36:33] local.INFO: Processing buffer {"connection_id":171601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:36:33] local.INFO: IMEI packet received {"connection_id":171601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":171601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:36:34] local.INFO: TCP Data received {"connection_id":171601,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f50abe8012d7c934005d8ac680000016412..."} 
[2026-09-05 07:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f50abe8012d7c934005d8ac680000016412..."} 
[2026-09-05 07:36:34] local.INFO: Processing buffer {"connection_id":171601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f50abe8012d7c934005d8ac680000016412..."} 
[2026-09-05 07:36:34] local.INFO: Packet analysis {"connection_id":171601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f50"} 
[2026-09-05 07:36:34] local.INFO: Extracted packet for processing {"connection_id":171601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f50"} 
[2026-09-05 07:36:34] local.INFO: GPS Element Parsed {"raw_longitude":763138880,"raw_latitude":98085992,"longitude_deg":76.313888,"latitude_deg":9.8085992,"altitude":0,"angle":356,"satellites":18,"speed":56,"hex_longitude":"2d7c9340","hex_latitude":"05d8ac68","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874930176001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128360891551842304,"note":"Value kept but may cause issues"} 
[2026-09-05 07:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977292563572963328,"note":"Value kept but may cause issues"} 
[2026-09-05 07:36:34] 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-09-05 07:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788573953000,"timestamp_ms":1788573953000,"timestamp_seconds":1788573953,"priority":1,"record_length":96,"hex_timestamp":"000001a06f50abe8"} 
[2026-09-05 07:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-05 07:36:34] local.WARNING: Large IO value detected {"io_id":24,"raw_value":13792282464550912,"note":"Value kept but may cause issues"} 
[2026-09-05 07:36:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627263152896,"note":"Value kept but may cause issues"} 
[2026-09-05 07:36:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3618158592,"note":"Value kept but may cause issues"} 
[2026-09-05 07:36:34] local.WARNING: Large IO value detected {"io_id":215,"raw_value":4003987456,"note":"Value kept but may cause issues"} 
[2026-09-05 07:36:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455620302,"corrected_to":0} 
[2026-09-05 07:36:34] local.WARNING: Large IO value detected {"io_id":232,"raw_value":2550214012,"note":"Value kept but may cause issues"} 
[2026-09-05 07:36:34] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2147866571,"note":"Value kept but may cause issues"} 
[2026-09-05 07:36:34] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":84148224,"corrected_to":0} 
[2026-09-05 07:36:34] local.WARNING: Large IO value detected {"io_id":154,"raw_value":8647242772962608599,"note":"Value kept but may cause issues"} 
[2026-09-05 07:36:34] local.WARNING: Large IO value detected {"io_id":131,"raw_value":-5764607517194387411,"note":"Value kept but may cause issues"} 
[2026-09-05 07:36:34] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,196,85,24,241,157,16,7,160,117,45,64,94,22,10,66,195,6,89,55,23,58,192,1,240,115,227,5,111,215,4,113,205,36,232,158,239,52,2,200,49,154,131],"length":528,"final_offset":658,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1455620302,"validated":0},{"io_id":200,"original":84148224,"validated":0}]} 
[2026-09-05 07:36:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":392615849164800,"timestamp_seconds":392615849164.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 07:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874930176001,"66":13765,"196":206,"85":15104,"24":56,"16":128360891551842304,"45":8977292563572963328},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-09-05 07:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874930176001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:36:34] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-05 07:36:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128360891551842304,"km_value":128360891551842.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977292563572963328,"description":"Unknown IO ID 45"} 
[2026-09-05 07:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874930176001,"power":13765,"unknown_196":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":8977292563572963328}} 
[2026-09-05 07:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":171601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767278,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:36:34] local.INFO: GPS data processed {"connection_id":171601,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:36:34] local.INFO: Acknowledgment sent {"connection_id":171601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:36:39] local.INFO: TCP Data received {"connection_id":174009,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4eb7e8012d34c3c006aa47c0000e016020..."} 
[2026-09-05 07:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4eb7e8012d34c3c006aa47c0000e016020..."} 
[2026-09-05 07:36:39] local.INFO: Processing buffer {"connection_id":174009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4eb7e8012d34c3c006aa47c0000e016020..."} 
[2026-09-05 07:36:39] local.INFO: Packet analysis {"connection_id":174009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4e"} 
[2026-09-05 07:36:39] local.INFO: Extracted packet for processing {"connection_id":174009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4e"} 
[2026-09-05 07:36:39] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822784,"longitude_deg":75.8432704,"latitude_deg":11.1822784,"altitude":14,"angle":352,"satellites":32,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa47c0","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874821888001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031886619344896,"note":"Value kept but may cause issues"} 
[2026-09-05 07:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033801216,"note":"Value kept but may cause issues"} 
[2026-09-05 07:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788573825000,"timestamp_ms":1788573825000,"timestamp_seconds":1788573825,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4eb7e8"} 
[2026-09-05 07:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07: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-09-05 07: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 07:36: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-09-05 07: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-09-05 07:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874821888001,"66":26267,"97":206,"81":23296,"24":0,"16":399031886619344896,"45":3802164014033801216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874821888001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:36:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:36:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031886619344896,"km_value":399031886619344.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033801216,"description":"Unknown IO ID 45"} 
[2026-09-05 07:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874821888001,"power":26267,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033801216}} 
[2026-09-05 07:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":174009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:36:39] local.INFO: GPS data processed {"connection_id":174009,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:36:39] local.INFO: Acknowledgment sent {"connection_id":174009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:37:02] local.INFO: TCP Data received {"connection_id":171303,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:37:02] local.INFO: Processing buffer {"connection_id":171303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:37:02] local.INFO: IMEI packet received {"connection_id":171303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":171303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:37:05] local.INFO: TCP Data received {"connection_id":171601,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f50c740012d7c8fc005d8d2e00000016113..."} 
[2026-09-05 07:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f50c740012d7c8fc005d8d2e00000016113..."} 
[2026-09-05 07:37:05] local.INFO: Processing buffer {"connection_id":171601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f50c740012d7c8fc005d8d2e00000016113..."} 
[2026-09-05 07:37:05] local.INFO: Packet analysis {"connection_id":171601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f50"} 
[2026-09-05 07:37:05] local.INFO: Extracted packet for processing {"connection_id":171601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f50"} 
[2026-09-05 07:37:05] local.INFO: GPS Element Parsed {"raw_longitude":763137984,"raw_latitude":98095840,"longitude_deg":76.3137984,"latitude_deg":9.809584,"altitude":0,"angle":353,"satellites":19,"speed":58,"hex_longitude":"2d7c8fc0","hex_latitude":"05d8d2e0","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874931968001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128361372588179456,"note":"Value kept but may cause issues"} 
[2026-09-05 07:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976588876133722112,"note":"Value kept but may cause issues"} 
[2026-09-05 07:37:05] 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-09-05 07:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788573960000,"timestamp_ms":1788573960000,"timestamp_seconds":1788573960,"priority":1,"record_length":96,"hex_timestamp":"000001a06f50c740"} 
[2026-09-05 07:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:37:05] 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-09-05 07: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-05 07:37:05] 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-09-05 07: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-09-05 07:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874931968001,"66":13798,"196":206,"85":15104,"24":58,"16":128361372588179456,"45":8976588876133722112},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-09-05 07:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874931968001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:37:05] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-05 07:37:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128361372588179456,"km_value":128361372588179.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976588876133722112,"description":"Unknown IO ID 45"} 
[2026-09-05 07:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874931968001,"power":13798,"unknown_196":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":8976588876133722112}} 
[2026-09-05 07:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":171601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767280,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:37:05] local.INFO: GPS data processed {"connection_id":171601,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:37:05] local.INFO: Acknowledgment sent {"connection_id":171601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:37:07] local.INFO: TCP Data received {"connection_id":171303,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:37:07] local.INFO: Processing buffer {"connection_id":171303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:37:07] local.INFO: IMEI packet received {"connection_id":171303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":171303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:37:08] local.INFO: TCP Data received {"connection_id":171303,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4eb7e8012d34c3c006aa47c0000e016020..."} 
[2026-09-05 07:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4eb7e8012d34c3c006aa47c0000e016020..."} 
[2026-09-05 07:37:08] local.INFO: Processing buffer {"connection_id":171303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4eb7e8012d34c3c006aa47c0000e016020..."} 
[2026-09-05 07:37:08] local.INFO: Packet analysis {"connection_id":171303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4e"} 
[2026-09-05 07:37:08] local.INFO: Extracted packet for processing {"connection_id":171303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4e"} 
[2026-09-05 07:37:08] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822784,"longitude_deg":75.8432704,"latitude_deg":11.1822784,"altitude":14,"angle":352,"satellites":32,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa47c0","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874821888001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031886619344896,"note":"Value kept but may cause issues"} 
[2026-09-05 07:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033801216,"note":"Value kept but may cause issues"} 
[2026-09-05 07:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788573825000,"timestamp_ms":1788573825000,"timestamp_seconds":1788573825,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4eb7e8"} 
[2026-09-05 07:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:37: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-09-05 07:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 07:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874821888001,"66":26267,"97":206,"81":23296,"24":0,"16":399031886619344896,"45":3802164014033801216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874821888001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:37:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:37:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031886619344896,"km_value":399031886619344.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033801216,"description":"Unknown IO ID 45"} 
[2026-09-05 07:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874821888001,"power":26267,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033801216}} 
[2026-09-05 07:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":171303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:37:08] local.INFO: GPS data processed {"connection_id":171303,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:37:08] local.INFO: Acknowledgment sent {"connection_id":171303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:37:13] local.INFO: TCP Data received {"connection_id":171303,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4eb7e8012d34c3c006aa47c0000e016020..."} 
[2026-09-05 07:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4eb7e8012d34c3c006aa47c0000e016020..."} 
[2026-09-05 07:37:13] local.INFO: Processing buffer {"connection_id":171303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4eb7e8012d34c3c006aa47c0000e016020..."} 
[2026-09-05 07:37:13] local.INFO: Packet analysis {"connection_id":171303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4e"} 
[2026-09-05 07:37:13] local.INFO: Extracted packet for processing {"connection_id":171303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4e"} 
[2026-09-05 07:37:13] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822784,"longitude_deg":75.8432704,"latitude_deg":11.1822784,"altitude":14,"angle":352,"satellites":32,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa47c0","is_valid_coordinates":true} 
[2026-09-05 07:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874821888001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031886619344896,"note":"Value kept but may cause issues"} 
[2026-09-05 07:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033801216,"note":"Value kept but may cause issues"} 
[2026-09-05 07:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788573825000,"timestamp_ms":1788573825000,"timestamp_seconds":1788573825,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4eb7e8"} 
[2026-09-05 07:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 07:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 07:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:37:13] 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-09-05 07:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874821888001,"66":26267,"97":206,"81":23296,"24":0,"16":399031886619344896,"45":3802164014033801216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874821888001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:37:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:37:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031886619344896,"km_value":399031886619344.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033801216,"description":"Unknown IO ID 45"} 
[2026-09-05 07:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874821888001,"power":26267,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033801216}} 
[2026-09-05 07:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":171303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:37:13] local.INFO: GPS data processed {"connection_id":171303,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:37:13] local.INFO: Acknowledgment sent {"connection_id":171303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:37:26] local.INFO: TCP Data received {"connection_id":171602,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171602,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:37:26] local.INFO: Processing buffer {"connection_id":171602,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:37:26] local.INFO: IMEI packet received {"connection_id":171602,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":171602,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:37:38] local.INFO: TCP Data received {"connection_id":171602,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171602,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:37:38] local.INFO: Processing buffer {"connection_id":171602,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:37:38] local.INFO: IMEI packet received {"connection_id":171602,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":171602,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:37:51] local.INFO: TCP Data received {"connection_id":171602,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f50deb0012d7c8c8005d8f5780000016213..."} 
[2026-09-05 07:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f50deb0012d7c8c8005d8f5780000016213..."} 
[2026-09-05 07:37:51] local.INFO: Processing buffer {"connection_id":171602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f50deb0012d7c8c8005d8f5780000016213..."} 
[2026-09-05 07:37:51] local.INFO: Packet analysis {"connection_id":171602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f50"} 
[2026-09-05 07:37:51] local.INFO: Extracted packet for processing {"connection_id":171602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f50"} 
[2026-09-05 07:37:51] local.INFO: GPS Element Parsed {"raw_longitude":763137152,"raw_latitude":98104696,"longitude_deg":76.3137152,"latitude_deg":9.8104696,"altitude":0,"angle":354,"satellites":19,"speed":59,"hex_longitude":"2d7c8c80","hex_latitude":"05d8f578","is_valid_coordinates":true} 
[2026-09-05 07:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874933760001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128361802084909056,"note":"Value kept but may cause issues"} 
[2026-09-05 07:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975603713717755904,"note":"Value kept but may cause issues"} 
[2026-09-05 07:37:51] 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-09-05 07:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788573966000,"timestamp_ms":1788573966000,"timestamp_seconds":1788573966,"priority":1,"record_length":96,"hex_timestamp":"000001a06f50deb0"} 
[2026-09-05 07:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 07:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874933760001,"66":13678,"196":206,"85":15104,"24":59,"16":128361802084909056,"45":8975603713717755904},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-09-05 07:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874933760001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:37:51] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-05 07:37:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128361802084909056,"km_value":128361802084909.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975603713717755904,"description":"Unknown IO ID 45"} 
[2026-09-05 07:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874933760001,"power":13678,"unknown_196":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":8975603713717755904}} 
[2026-09-05 07:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":171602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:37:51] local.INFO: GPS data processed {"connection_id":171602,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:37:51] local.INFO: Acknowledgment sent {"connection_id":171602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:37:52] local.INFO: TCP Data received {"connection_id":171602,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f51ffc0012d7c484005da7f800000015514..."} 
[2026-09-05 07:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f51ffc0012d7c484005da7f800000015514..."} 
[2026-09-05 07:37:52] local.INFO: Processing buffer {"connection_id":171602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f51ffc0012d7c484005da7f800000015514..."} 
[2026-09-05 07:37:52] local.INFO: Packet analysis {"connection_id":171602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f51"} 
[2026-09-05 07:37:52] local.INFO: Extracted packet for processing {"connection_id":171602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f51"} 
[2026-09-05 07:37:52] local.INFO: GPS Element Parsed {"raw_longitude":763119680,"raw_latitude":98205568,"longitude_deg":76.311968,"latitude_deg":9.8205568,"altitude":0,"angle":341,"satellites":20,"speed":31,"hex_longitude":"2d7c4840","hex_latitude":"05da7f80","is_valid_coordinates":true} 
[2026-09-05 07:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874951936001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128366788541939712,"note":"Value kept but may cause issues"} 
[2026-09-05 07:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8958785583885240320,"note":"Value kept but may cause issues"} 
[2026-09-05 07:37:52] 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-09-05 07:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788574040000,"timestamp_ms":1788574040000,"timestamp_seconds":1788574040,"priority":1,"record_length":96,"hex_timestamp":"000001a06f51ffc0"} 
[2026-09-05 07:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-05 07:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07:37:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":171602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":171602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":171602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874951936001,"66":13602,"245":206,"85":15104,"24":31,"16":128366788541939712,"45":8958785583885240320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-09-05 07:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874951936001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:37:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128366788541939712,"km_value":128366788541939.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8958785583885240320,"description":"Unknown IO ID 45"} 
[2026-09-05 07:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874951936001,"power":13602,"geofence_id":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8958785583885240320}} 
[2026-09-05 07:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":171602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767284,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:37:52] local.INFO: GPS data processed {"connection_id":171602,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:37:52] local.INFO: Acknowledgment sent {"connection_id":171602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:37:57] local.INFO: TCP Data received {"connection_id":172709,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:37:57] local.INFO: Processing buffer {"connection_id":172709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:37:57] local.INFO: IMEI packet received {"connection_id":172709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":172709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:38:02] local.INFO: TCP Data received {"connection_id":172709,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:38:02] local.INFO: Processing buffer {"connection_id":172709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:38:02] local.INFO: IMEI packet received {"connection_id":172709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":172709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:38:03] local.INFO: TCP Data received {"connection_id":172709,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4eb7e8012d34c3c006aa47c0000e016020..."} 
[2026-09-05 07:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4eb7e8012d34c3c006aa47c0000e016020..."} 
[2026-09-05 07:38:03] local.INFO: Processing buffer {"connection_id":172709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4eb7e8012d34c3c006aa47c0000e016020..."} 
[2026-09-05 07:38:03] local.INFO: Packet analysis {"connection_id":172709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4e"} 
[2026-09-05 07:38:03] local.INFO: Extracted packet for processing {"connection_id":172709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4e"} 
[2026-09-05 07:38:03] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822784,"longitude_deg":75.8432704,"latitude_deg":11.1822784,"altitude":14,"angle":352,"satellites":32,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa47c0","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874821888001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031886619344896,"note":"Value kept but may cause issues"} 
[2026-09-05 07:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033801216,"note":"Value kept but may cause issues"} 
[2026-09-05 07:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788573825000,"timestamp_ms":1788573825000,"timestamp_seconds":1788573825,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4eb7e8"} 
[2026-09-05 07:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:38: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-09-05 07:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 07:38: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-09-05 07: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-09-05 07:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:38:03] 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-09-05 07:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874821888001,"66":26267,"97":206,"81":23296,"24":0,"16":399031886619344896,"45":3802164014033801216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874821888001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:38:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:38:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031886619344896,"km_value":399031886619344.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033801216,"description":"Unknown IO ID 45"} 
[2026-09-05 07:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874821888001,"power":26267,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033801216}} 
[2026-09-05 07:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":172709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:38:03] local.INFO: GPS data processed {"connection_id":172709,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:38:03] local.INFO: Acknowledgment sent {"connection_id":172709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:38:26] local.INFO: TCP Data received {"connection_id":171304,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:38:26] local.INFO: Processing buffer {"connection_id":171304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:38:26] local.INFO: IMEI packet received {"connection_id":171304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":171304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:38:29] local.INFO: TCP Data received {"connection_id":171304,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:38:29] local.INFO: Processing buffer {"connection_id":171304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:38:29] local.INFO: IMEI packet received {"connection_id":171304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":171304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:38:31] local.INFO: TCP Data received {"connection_id":171304,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f522ea0012d7c3c8005daa2200000015614..."} 
[2026-09-05 07:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f522ea0012d7c3c8005daa2200000015614..."} 
[2026-09-05 07:38:31] local.INFO: Processing buffer {"connection_id":171304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f522ea0012d7c3c8005daa2200000015614..."} 
[2026-09-05 07:38:31] local.INFO: Packet analysis {"connection_id":171304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f52"} 
[2026-09-05 07:38:31] local.INFO: Extracted packet for processing {"connection_id":171304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f52"} 
[2026-09-05 07:38:31] local.INFO: GPS Element Parsed {"raw_longitude":763116672,"raw_latitude":98214432,"longitude_deg":76.3116672,"latitude_deg":9.8214432,"altitude":0,"angle":342,"satellites":20,"speed":35,"hex_longitude":"2d7c3c80","hex_latitude":"05daa220","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874954240001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128367243808473088,"note":"Value kept but may cause issues"} 
[2026-09-05 07:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8955478252911034368,"note":"Value kept but may cause issues"} 
[2026-09-05 07:38: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-09-05 07:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788574052000,"timestamp_ms":1788574052000,"timestamp_seconds":1788574052,"priority":1,"record_length":96,"hex_timestamp":"000001a06f522ea0"} 
[2026-09-05 07:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-05 07:38:31] 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-09-05 07: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-09-05 07:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874954240001,"66":13450,"245":206,"85":15104,"24":35,"16":128367243808473088,"45":8955478252911034368},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-09-05 07:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874954240001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:38:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128367243808473088,"km_value":128367243808473.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8955478252911034368,"description":"Unknown IO ID 45"} 
[2026-09-05 07:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874954240001,"power":13450,"geofence_id":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8955478252911034368}} 
[2026-09-05 07:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":171304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:38:31] local.INFO: GPS data processed {"connection_id":171304,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:38:31] local.INFO: Acknowledgment sent {"connection_id":171304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:38:34] local.INFO: TCP Data received {"connection_id":172709,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4eb7e8012d34c3c006aa47c0000e016020..."} 
[2026-09-05 07:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4eb7e8012d34c3c006aa47c0000e016020..."} 
[2026-09-05 07:38:34] local.INFO: Processing buffer {"connection_id":172709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4eb7e8012d34c3c006aa47c0000e016020..."} 
[2026-09-05 07:38:34] local.INFO: Packet analysis {"connection_id":172709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4e"} 
[2026-09-05 07:38:34] local.INFO: Extracted packet for processing {"connection_id":172709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4e"} 
[2026-09-05 07:38:34] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822784,"longitude_deg":75.8432704,"latitude_deg":11.1822784,"altitude":14,"angle":352,"satellites":32,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa47c0","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874821888001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031886619344896,"note":"Value kept but may cause issues"} 
[2026-09-05 07:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033801216,"note":"Value kept but may cause issues"} 
[2026-09-05 07:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788573825000,"timestamp_ms":1788573825000,"timestamp_seconds":1788573825,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4eb7e8"} 
[2026-09-05 07:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07: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-09-05 07: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":185,"data_length":795,"current_offset":136} 
[2026-09-05 07:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:38:34] 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-09-05 07:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874821888001,"66":26267,"97":206,"81":23296,"24":0,"16":399031886619344896,"45":3802164014033801216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874821888001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:38:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:38:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031886619344896,"km_value":399031886619344.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033801216,"description":"Unknown IO ID 45"} 
[2026-09-05 07:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874821888001,"power":26267,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033801216}} 
[2026-09-05 07:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":172709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:38:34] local.INFO: GPS data processed {"connection_id":172709,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:38:34] local.INFO: Acknowledgment sent {"connection_id":172709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:38:57] local.INFO: TCP Data received {"connection_id":174010,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:38:57] local.INFO: Processing buffer {"connection_id":174010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:38:57] local.INFO: IMEI packet received {"connection_id":174010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":174010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:39:02] local.INFO: TCP Data received {"connection_id":171304,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f535f50012d7ba44005daea400002010a1e..."} 
[2026-09-05 07:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f535f50012d7ba44005daea400002010a1e..."} 
[2026-09-05 07:39:02] local.INFO: Processing buffer {"connection_id":171304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f535f50012d7ba44005daea400002010a1e..."} 
[2026-09-05 07:39:02] local.INFO: Packet analysis {"connection_id":171304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f53"} 
[2026-09-05 07:39:02] local.INFO: Extracted packet for processing {"connection_id":171304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f53"} 
[2026-09-05 07:39:02] local.INFO: GPS Element Parsed {"raw_longitude":763077696,"raw_latitude":98232896,"longitude_deg":76.3077696,"latitude_deg":9.8232896,"altitude":2,"angle":266,"satellites":30,"speed":38,"hex_longitude":"2d7ba440","hex_latitude":"05daea40","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874974464001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128369790724079616,"note":"Value kept but may cause issues"} 
[2026-09-05 07:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919308718410856448,"note":"Value kept but may cause issues"} 
[2026-09-05 07:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788574130000,"timestamp_ms":1788574130000,"timestamp_seconds":1788574130,"priority":1,"record_length":96,"hex_timestamp":"000001a06f535f50"} 
[2026-09-05 07:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-05 07:39:02] 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-09-05 07: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-09-05 07:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874974464001,"66":13765,"188":206,"85":15104,"24":38,"16":128369790724079616,"45":8919308718410856448},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-09-05 07:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874974464001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:39:02] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-05 07:39:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128369790724079616,"km_value":128369790724079.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919308718410856448,"description":"Unknown IO ID 45"} 
[2026-09-05 07:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874974464001,"power":13765,"unknown_188":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8919308718410856448}} 
[2026-09-05 07:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":171304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:39:02] local.INFO: GPS data processed {"connection_id":171304,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:39:02] local.INFO: Acknowledgment sent {"connection_id":171304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:39:02] local.INFO: TCP Data received {"connection_id":174010,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:39:02] local.INFO: Processing buffer {"connection_id":174010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:39:02] local.INFO: IMEI packet received {"connection_id":174010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":174010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:39:03] local.INFO: TCP Data received {"connection_id":174010,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a06f4eb7e8012d34c3c006aa47c0000e016020..."} 
[2026-09-05 07:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f4eb7e8012d34c3c006aa47c0000e016020..."} 
[2026-09-05 07:39:03] local.INFO: Processing buffer {"connection_id":174010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f4eb7e8012d34c3c006aa47c0000e016020..."} 
[2026-09-05 07:39:03] local.INFO: Packet analysis {"connection_id":174010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f4e"} 
[2026-09-05 07:39:03] local.INFO: Extracted packet for processing {"connection_id":174010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f4e"} 
[2026-09-05 07:39:03] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822784,"longitude_deg":75.8432704,"latitude_deg":11.1822784,"altitude":14,"angle":352,"satellites":32,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa47c0","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874821888001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031886619344896,"note":"Value kept but may cause issues"} 
[2026-09-05 07:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033801216,"note":"Value kept but may cause issues"} 
[2026-09-05 07:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788573825000,"timestamp_ms":1788573825000,"timestamp_seconds":1788573825,"priority":1,"record_length":96,"hex_timestamp":"000001a06f4eb7e8"} 
[2026-09-05 07:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:39: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-09-05 07:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 07:39: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-09-05 07: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-09-05 07:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874821888001,"66":26267,"97":206,"81":23296,"24":0,"16":399031886619344896,"45":3802164014033801216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874821888001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:39:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:39:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031886619344896,"km_value":399031886619344.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033801216,"description":"Unknown IO ID 45"} 
[2026-09-05 07:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874821888001,"power":26267,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033801216}} 
[2026-09-05 07:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":174010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:39:03] local.INFO: GPS data processed {"connection_id":174010,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:39:03] local.INFO: Acknowledgment sent {"connection_id":174010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:39:26] local.INFO: TCP Data received {"connection_id":171305,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:39:26] local.INFO: Processing buffer {"connection_id":171305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:39:26] local.INFO: IMEI packet received {"connection_id":171305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":171305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:39:31] local.INFO: TCP Data received {"connection_id":171305,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:39:31] local.INFO: Processing buffer {"connection_id":171305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:39:31] local.INFO: IMEI packet received {"connection_id":171305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":171305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:39:32] local.INFO: TCP Data received {"connection_id":171305,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f538278012d7b81c005dae440000300fe1f..."} 
[2026-09-05 07:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f538278012d7b81c005dae440000300fe1f..."} 
[2026-09-05 07:39:32] local.INFO: Processing buffer {"connection_id":171305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f538278012d7b81c005dae440000300fe1f..."} 
[2026-09-05 07:39:32] local.INFO: Packet analysis {"connection_id":171305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f53"} 
[2026-09-05 07:39:32] local.INFO: Extracted packet for processing {"connection_id":171305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f53"} 
[2026-09-05 07:39:32] local.INFO: GPS Element Parsed {"raw_longitude":763068864,"raw_latitude":98231360,"longitude_deg":76.3068864,"latitude_deg":9.823136,"altitude":3,"angle":254,"satellites":31,"speed":39,"hex_longitude":"2d7b81c0","hex_latitude":"05dae440","is_valid_coordinates":true} 
[2026-09-05 07:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874977280001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128370220220809216,"note":"Value kept but may cause issues"} 
[2026-09-05 07:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909316356737482752,"note":"Value kept but may cause issues"} 
[2026-09-05 07:39:32] 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-09-05 07:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788574139000,"timestamp_ms":1788574139000,"timestamp_seconds":1788574139,"priority":1,"record_length":96,"hex_timestamp":"000001a06f538278"} 
[2026-09-05 07:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:39: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-09-05 07:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-05 07:39:32] 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-09-05 07:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874977280001,"66":13722,"188":206,"85":15104,"24":39,"16":128370220220809216,"45":8909316356737482752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-09-05 07:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874977280001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:39:32] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-05 07:39:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128370220220809216,"km_value":128370220220809.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909316356737482752,"description":"Unknown IO ID 45"} 
[2026-09-05 07:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874977280001,"power":13722,"unknown_188":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8909316356737482752}} 
[2026-09-05 07:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":171305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767290,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:39:32] local.INFO: GPS data processed {"connection_id":171305,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:39:32] local.INFO: Acknowledgment sent {"connection_id":171305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:39:34] local.INFO: TCP Data received {"connection_id":174010,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a06f534fb0012d34c3c006aa47c0000e016028..."} 
[2026-09-05 07:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f534fb0012d34c3c006aa47c0000e016028..."} 
[2026-09-05 07:39:34] local.INFO: Processing buffer {"connection_id":174010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f534fb0012d34c3c006aa47c0000e016028..."} 
[2026-09-05 07:39:34] local.INFO: Packet analysis {"connection_id":174010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f53"} 
[2026-09-05 07:39:34] local.INFO: Extracted packet for processing {"connection_id":174010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f53"} 
[2026-09-05 07:39:34] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822784,"longitude_deg":75.8432704,"latitude_deg":11.1822784,"altitude":14,"angle":352,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa47c0","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874899200001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031886619344896,"note":"Value kept but may cause issues"} 
[2026-09-05 07:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289996288,"note":"Value kept but may cause issues"} 
[2026-09-05 07:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788574126000,"timestamp_ms":1788574126000,"timestamp_seconds":1788574126,"priority":1,"record_length":96,"hex_timestamp":"000001a06f534fb0"} 
[2026-09-05 07:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:39: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-09-05 07: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-05 07:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874899200001,"66":26060,"97":206,"81":23296,"24":0,"16":399031886619344896,"45":3802093645289996288},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874899200001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:39:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:39:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031886619344896,"km_value":399031886619344.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289996288,"description":"Unknown IO ID 45"} 
[2026-09-05 07:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874899200001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289996288}} 
[2026-09-05 07:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":174010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:39:34] local.INFO: GPS data processed {"connection_id":174010,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:39:34] local.INFO: Acknowledgment sent {"connection_id":174010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:39:57] local.INFO: TCP Data received {"connection_id":171306,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:39:57] local.INFO: Processing buffer {"connection_id":171306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:39:57] local.INFO: IMEI packet received {"connection_id":171306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":171306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:40:02] local.INFO: TCP Data received {"connection_id":171306,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:40:02] local.INFO: Processing buffer {"connection_id":171306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:40:02] local.INFO: IMEI packet received {"connection_id":171306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":171306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:40:03] local.INFO: TCP Data received {"connection_id":171305,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f538278012d7b81c005dae440000300fe1f..."} 
[2026-09-05 07:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f538278012d7b81c005dae440000300fe1f..."} 
[2026-09-05 07:40:03] local.INFO: Processing buffer {"connection_id":171305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f538278012d7b81c005dae440000300fe1f..."} 
[2026-09-05 07:40:03] local.INFO: Packet analysis {"connection_id":171305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f53"} 
[2026-09-05 07:40:03] local.INFO: Extracted packet for processing {"connection_id":171305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f53"} 
[2026-09-05 07:40:03] local.INFO: GPS Element Parsed {"raw_longitude":763068864,"raw_latitude":98231360,"longitude_deg":76.3068864,"latitude_deg":9.823136,"altitude":3,"angle":254,"satellites":31,"speed":39,"hex_longitude":"2d7b81c0","hex_latitude":"05dae440","is_valid_coordinates":true} 
[2026-09-05 07:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874979584001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128370220220809216,"note":"Value kept but may cause issues"} 
[2026-09-05 07:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899605470040571904,"note":"Value kept but may cause issues"} 
[2026-09-05 07:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788574139000,"timestamp_ms":1788574139000,"timestamp_seconds":1788574139,"priority":1,"record_length":96,"hex_timestamp":"000001a06f538278"} 
[2026-09-05 07:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-05 07:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874979584001,"66":13722,"188":206,"85":15104,"24":39,"16":128370220220809216,"45":8899605470040571904},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-09-05 07:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874979584001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:40:03] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-05 07:40:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128370220220809216,"km_value":128370220220809.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899605470040571904,"description":"Unknown IO ID 45"} 
[2026-09-05 07:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874979584001,"power":13722,"unknown_188":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8899605470040571904}} 
[2026-09-05 07:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":171305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767292,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:40:03] local.INFO: GPS data processed {"connection_id":171305,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:40:03] local.INFO: Acknowledgment sent {"connection_id":171305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:40:03] local.INFO: TCP Data received {"connection_id":171306,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06f534fb0012d34c3c006aa47c0000e016028..."} 
[2026-09-05 07:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f534fb0012d34c3c006aa47c0000e016028..."} 
[2026-09-05 07:40:03] local.INFO: Processing buffer {"connection_id":171306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f534fb0012d34c3c006aa47c0000e016028..."} 
[2026-09-05 07:40:03] local.INFO: Packet analysis {"connection_id":171306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f53"} 
[2026-09-05 07:40:03] local.INFO: Extracted packet for processing {"connection_id":171306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f53"} 
[2026-09-05 07:40:03] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822784,"longitude_deg":75.8432704,"latitude_deg":11.1822784,"altitude":14,"angle":352,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa47c0","is_valid_coordinates":true} 
[2026-09-05 07:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874899200001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031886619344896,"note":"Value kept but may cause issues"} 
[2026-09-05 07:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289996288,"note":"Value kept but may cause issues"} 
[2026-09-05 07:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788574126000,"timestamp_ms":1788574126000,"timestamp_seconds":1788574126,"priority":1,"record_length":96,"hex_timestamp":"000001a06f534fb0"} 
[2026-09-05 07:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:40: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-09-05 07:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-05 07:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874899200001,"66":26060,"97":206,"81":23296,"24":0,"16":399031886619344896,"45":3802093645289996288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874899200001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:40:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:40:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031886619344896,"km_value":399031886619344.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289996288,"description":"Unknown IO ID 45"} 
[2026-09-05 07:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874899200001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289996288}} 
[2026-09-05 07:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":171306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:40:03] local.INFO: GPS data processed {"connection_id":171306,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:40:03] local.INFO: Acknowledgment sent {"connection_id":171306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:40:25] local.INFO: TCP Data received {"connection_id":171603,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171603,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:40:25] local.INFO: Processing buffer {"connection_id":171603,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:40:25] local.INFO: IMEI packet received {"connection_id":171603,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":171603,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:40:31] local.INFO: TCP Data received {"connection_id":171603,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171603,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:40:31] local.INFO: Processing buffer {"connection_id":171603,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:40:31] local.INFO: IMEI packet received {"connection_id":171603,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":171603,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:40:31] local.INFO: TCP Data received {"connection_id":171603,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f53ad70012d7b5cc005dad998000400fd21..."} 
[2026-09-05 07:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f53ad70012d7b5cc005dad998000400fd21..."} 
[2026-09-05 07:40:31] local.INFO: Processing buffer {"connection_id":171603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f53ad70012d7b5cc005dad998000400fd21..."} 
[2026-09-05 07:40:31] local.INFO: Packet analysis {"connection_id":171603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f53"} 
[2026-09-05 07:40:31] local.INFO: Extracted packet for processing {"connection_id":171603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f53"} 
[2026-09-05 07:40:31] local.INFO: GPS Element Parsed {"raw_longitude":763059392,"raw_latitude":98228632,"longitude_deg":76.3059392,"latitude_deg":9.8228632,"altitude":4,"angle":253,"satellites":33,"speed":31,"hex_longitude":"2d7b5cc0","hex_latitude":"05dad998","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874979584001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128370688372244480,"note":"Value kept but may cause issues"} 
[2026-09-05 07:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899605470040571904,"note":"Value kept but may cause issues"} 
[2026-09-05 07:40:31] 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-09-05 07:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788574150000,"timestamp_ms":1788574150000,"timestamp_seconds":1788574150,"priority":1,"record_length":96,"hex_timestamp":"000001a06f53ad70"} 
[2026-09-05 07:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:40: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-09-05 07:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-05 07:40:31] 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-09-05 07: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-09-05 07:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874979584001,"66":13580,"188":206,"85":15104,"24":31,"16":128370688372244480,"45":8899605470040571904},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-09-05 07:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874979584001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:40:31] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-05 07:40:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128370688372244480,"km_value":128370688372244.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899605470040571904,"description":"Unknown IO ID 45"} 
[2026-09-05 07:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874979584001,"power":13580,"unknown_188":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8899605470040571904}} 
[2026-09-05 07:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":171603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767294,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:40:31] local.INFO: GPS data processed {"connection_id":171603,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:40:31] local.INFO: Acknowledgment sent {"connection_id":171603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:40:34] local.INFO: TCP Data received {"connection_id":171306,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06f534fb0012d34c3c006aa47c0000e016028..."} 
[2026-09-05 07:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f534fb0012d34c3c006aa47c0000e016028..."} 
[2026-09-05 07:40:34] local.INFO: Processing buffer {"connection_id":171306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f534fb0012d34c3c006aa47c0000e016028..."} 
[2026-09-05 07:40:34] local.INFO: Packet analysis {"connection_id":171306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f53"} 
[2026-09-05 07:40:34] local.INFO: Extracted packet for processing {"connection_id":171306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f53"} 
[2026-09-05 07:40:34] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822784,"longitude_deg":75.8432704,"latitude_deg":11.1822784,"altitude":14,"angle":352,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa47c0","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874899200001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031886619344896,"note":"Value kept but may cause issues"} 
[2026-09-05 07:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289996288,"note":"Value kept but may cause issues"} 
[2026-09-05 07:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788574126000,"timestamp_ms":1788574126000,"timestamp_seconds":1788574126,"priority":1,"record_length":96,"hex_timestamp":"000001a06f534fb0"} 
[2026-09-05 07:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:40: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-09-05 07: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-05 07:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:40: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-09-05 07:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874899200001,"66":26060,"97":206,"81":23296,"24":0,"16":399031886619344896,"45":3802093645289996288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874899200001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:40:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:40:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031886619344896,"km_value":399031886619344.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289996288,"description":"Unknown IO ID 45"} 
[2026-09-05 07:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874899200001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289996288}} 
[2026-09-05 07:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":171306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:40:34] local.INFO: GPS data processed {"connection_id":171306,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:40:34] local.INFO: Acknowledgment sent {"connection_id":171306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:40:57] local.INFO: TCP Data received {"connection_id":172710,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:40:57] local.INFO: Processing buffer {"connection_id":172710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:40:57] local.INFO: IMEI packet received {"connection_id":172710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":172710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:40:58] local.INFO: TCP Data received {"connection_id":172710,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:40:58] local.INFO: Processing buffer {"connection_id":172710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:40:58] local.INFO: IMEI packet received {"connection_id":172710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":172710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:41:02] local.INFO: TCP Data received {"connection_id":172710,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:41:02] local.INFO: Processing buffer {"connection_id":172710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:41:02] local.INFO: IMEI packet received {"connection_id":172710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":172710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:41:03] local.INFO: TCP Data received {"connection_id":171603,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f53d868012d7b380005dacf08000000fe21..."} 
[2026-09-05 07:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f53d868012d7b380005dacf08000000fe21..."} 
[2026-09-05 07:41:03] local.INFO: Processing buffer {"connection_id":171603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f53d868012d7b380005dacf08000000fe21..."} 
[2026-09-05 07:41:03] local.INFO: Packet analysis {"connection_id":171603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f53"} 
[2026-09-05 07:41:03] local.INFO: Extracted packet for processing {"connection_id":171603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f53"} 
[2026-09-05 07:41:03] local.INFO: GPS Element Parsed {"raw_longitude":763049984,"raw_latitude":98225928,"longitude_deg":76.3049984,"latitude_deg":9.8225928,"altitude":0,"angle":254,"satellites":33,"speed":29,"hex_longitude":"2d7b3800","hex_latitude":"05dacf08","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874982400001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128371156523679744,"note":"Value kept but may cause issues"} 
[2026-09-05 07:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889190895901579264,"note":"Value kept but may cause issues"} 
[2026-09-05 07:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788574161000,"timestamp_ms":1788574161000,"timestamp_seconds":1788574161,"priority":1,"record_length":96,"hex_timestamp":"000001a06f53d868"} 
[2026-09-05 07:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:41: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-09-05 07: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-05 07:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630350,"note":"Value kept but may cause issues"} 
[2026-09-05 07:41:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 07:41:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":222928207324643338,"note":"Value kept but may cause issues"} 
[2026-09-05 07:41:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 07:41:03] local.WARNING: Large IO value detected {"io_id":15,"raw_value":2768240640,"note":"Value kept but may cause issues"} 
[2026-09-05 07:41:03] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3967287298,"note":"Value kept but may cause issues"} 
[2026-09-05 07:41:03] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636842363365051,"note":"Value kept but may cause issues"} 
[2026-09-05 07:41:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797338830,"corrected_to":0} 
[2026-09-05 07:41:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3673085952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:41:03] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-05 07:41:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":249036800,"corrected_to":0} 
[2026-09-05 07:41:03] local.WARNING: Large IO value detected {"io_id":124,"raw_value":2197763056039100416,"note":"Value kept but may cause issues"} 
[2026-09-05 07:41:03] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2017838749047639637,"note":"Value kept but may cause issues"} 
[2026-09-05 07:41:03] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-09-05 07:41:03] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,188,85,24,241,157,16,160,130,45,192,228,3,31,10,66,95,64,1,240,197,227,15,111,218,4,113,205,29,5,236,28,239,53,187,2,200,22,124,54,59],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2797338830,"validated":0},{"io_id":200,"original":249036800,"validated":0}]} 
[2026-09-05 07:41:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288508694329491456,"timestamp_seconds":288508694329491.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 07:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874982400001,"66":13580,"188":206,"85":15104,"24":29,"16":128371156523679744,"45":8889190895901579264},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-09-05 07:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874982400001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:41:03] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-05 07:41:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128371156523679744,"km_value":128371156523679.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889190895901579264,"description":"Unknown IO ID 45"} 
[2026-09-05 07:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874982400001,"power":13580,"unknown_188":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8889190895901579264}} 
[2026-09-05 07:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":171603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767296,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:41:03] local.INFO: GPS data processed {"connection_id":171603,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:41:03] local.INFO: Acknowledgment sent {"connection_id":171603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:41:03] local.INFO: TCP Data received {"connection_id":172710,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a06f54ab58012d34c3c006aa47c0000e016027..."} 
[2026-09-05 07:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f54ab58012d34c3c006aa47c0000e016027..."} 
[2026-09-05 07:41:03] local.INFO: Processing buffer {"connection_id":172710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f54ab58012d34c3c006aa47c0000e016027..."} 
[2026-09-05 07:41:03] local.INFO: Packet analysis {"connection_id":172710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f54"} 
[2026-09-05 07:41:03] local.INFO: Extracted packet for processing {"connection_id":172710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f54"} 
[2026-09-05 07:41:03] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822784,"longitude_deg":75.8432704,"latitude_deg":11.1822784,"altitude":14,"angle":352,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa47c0","is_valid_coordinates":true} 
[2026-09-05 07:41: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-09-05 07:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874976256001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031886619344896,"note":"Value kept but may cause issues"} 
[2026-09-05 07:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289996288,"note":"Value kept but may cause issues"} 
[2026-09-05 07:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788574215000,"timestamp_ms":1788574215000,"timestamp_seconds":1788574215,"priority":1,"record_length":96,"hex_timestamp":"000001a06f54ab58"} 
[2026-09-05 07:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:41: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-09-05 07: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":204,"data_length":795,"current_offset":136} 
[2026-09-05 07:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:41: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-09-05 07:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874976256001,"66":26006,"97":206,"81":23296,"24":0,"16":399031886619344896,"45":3802093645289996288},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874976256001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:41:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:41:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031886619344896,"km_value":399031886619344.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289996288,"description":"Unknown IO ID 45"} 
[2026-09-05 07:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874976256001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289996288}} 
[2026-09-05 07:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":172710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:41:03] local.INFO: GPS data processed {"connection_id":172710,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:41:03] local.INFO: Acknowledgment sent {"connection_id":172710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:41:21] local.INFO: TCP Data received {"connection_id":171604,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:41:21] local.INFO: Processing buffer {"connection_id":171604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:41:21] local.INFO: IMEI packet received {"connection_id":171604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 07:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":171604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:41:25] local.INFO: TCP Data received {"connection_id":172711,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:41:25] local.INFO: Processing buffer {"connection_id":172711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:41:25] local.INFO: IMEI packet received {"connection_id":172711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":172711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:41:26] local.INFO: TCP Data received {"connection_id":172711,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:41:26] local.INFO: Processing buffer {"connection_id":172711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:41:26] local.INFO: IMEI packet received {"connection_id":172711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":172711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:41:29] local.INFO: TCP Data received {"connection_id":172711,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:41:29] local.INFO: Processing buffer {"connection_id":172711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:41:29] local.INFO: IMEI packet received {"connection_id":172711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":172711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:41:30] local.INFO: TCP Data received {"connection_id":172711,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:41:30] local.INFO: Processing buffer {"connection_id":172711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:41:30] local.INFO: IMEI packet received {"connection_id":172711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":172711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:41:31] local.INFO: TCP Data received {"connection_id":172711,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f5599a0012d7a3c8005da9800000201661f..."} 
[2026-09-05 07:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f5599a0012d7a3c8005da9800000201661f..."} 
[2026-09-05 07:41:31] local.INFO: Processing buffer {"connection_id":172711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f5599a0012d7a3c8005da9800000201661f..."} 
[2026-09-05 07:41:31] local.INFO: Packet analysis {"connection_id":172711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f55"} 
[2026-09-05 07:41:31] local.INFO: Extracted packet for processing {"connection_id":172711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f55"} 
[2026-09-05 07:41:31] local.INFO: GPS Element Parsed {"raw_longitude":762985600,"raw_latitude":98211840,"longitude_deg":76.29856,"latitude_deg":9.821184,"altitude":2,"angle":358,"satellites":31,"speed":10,"hex_longitude":"2d7a3c80","hex_latitude":"05da9800","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875014144001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128374364864249856,"note":"Value kept but may cause issues"} 
[2026-09-05 07:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808126102604482560,"note":"Value kept but may cause issues"} 
[2026-09-05 07:41:31] 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-09-05 07:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788574276000,"timestamp_ms":1788574276000,"timestamp_seconds":1788574276,"priority":1,"record_length":96,"hex_timestamp":"000001a06f5599a0"} 
[2026-09-05 07:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-05 07:41:31] 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-09-05 07: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-09-05 07:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875014144001,"66":13580,"229":206,"85":15104,"24":10,"16":128374364864249856,"45":8808126102604482560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 07:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875014144001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:41:31] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 07:41:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128374364864249856,"km_value":128374364864249.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808126102604482560,"description":"Unknown IO ID 45"} 
[2026-09-05 07:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875014144001,"power":13580,"unknown_229":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8808126102604482560}} 
[2026-09-05 07:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":172711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767298,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:41:31] local.INFO: GPS data processed {"connection_id":172711,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:41:31] local.INFO: Acknowledgment sent {"connection_id":172711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:41:35] local.INFO: TCP Data received {"connection_id":172710,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a06f54bee0012d34c40006aa4948000e012226..."} 
[2026-09-05 07:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f54bee0012d34c40006aa4948000e012226..."} 
[2026-09-05 07:41:35] local.INFO: Processing buffer {"connection_id":172710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f54bee0012d34c40006aa4948000e012226..."} 
[2026-09-05 07:41:35] local.INFO: Packet analysis {"connection_id":172710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f54"} 
[2026-09-05 07:41:35] local.INFO: Extracted packet for processing {"connection_id":172710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f54"} 
[2026-09-05 07:41:35] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111823176,"longitude_deg":75.8432768,"latitude_deg":11.1823176,"altitude":14,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4948","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457874999040001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031886619344896,"note":"Value kept but may cause issues"} 
[2026-09-05 07:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289996288,"note":"Value kept but may cause issues"} 
[2026-09-05 07:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788574220000,"timestamp_ms":1788574220000,"timestamp_seconds":1788574220,"priority":1,"record_length":96,"hex_timestamp":"000001a06f54bee0"} 
[2026-09-05 07:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:41:35] 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-09-05 07: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-05 07:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457874999040001,"66":27593,"97":206,"81":23296,"24":0,"16":399031886619344896,"45":3802093645289996288},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457874999040001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:41:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:41:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031886619344896,"km_value":399031886619344.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289996288,"description":"Unknown IO ID 45"} 
[2026-09-05 07:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457874999040001,"power":27593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289996288}} 
[2026-09-05 07:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":172710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:41:35] local.INFO: GPS data processed {"connection_id":172710,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:41:35] local.INFO: Acknowledgment sent {"connection_id":172710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:41:57] local.INFO: TCP Data received {"connection_id":174011,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:41:57] local.INFO: Processing buffer {"connection_id":174011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:41:57] local.INFO: IMEI packet received {"connection_id":174011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":174011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:42:02] local.INFO: TCP Data received {"connection_id":172711,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f55bcc8012d7a3b4005daa470000301571f..."} 
[2026-09-05 07:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f55bcc8012d7a3b4005daa470000301571f..."} 
[2026-09-05 07:42:02] local.INFO: Processing buffer {"connection_id":172711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f55bcc8012d7a3b4005daa470000301571f..."} 
[2026-09-05 07:42:02] local.INFO: Packet analysis {"connection_id":172711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f55"} 
[2026-09-05 07:42:02] local.INFO: Extracted packet for processing {"connection_id":172711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f55"} 
[2026-09-05 07:42:02] local.INFO: GPS Element Parsed {"raw_longitude":762985280,"raw_latitude":98215024,"longitude_deg":76.298528,"latitude_deg":9.8215024,"altitude":3,"angle":343,"satellites":31,"speed":9,"hex_longitude":"2d7a3b40","hex_latitude":"05daa470","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875014656001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128374519483072512,"note":"Value kept but may cause issues"} 
[2026-09-05 07:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808055733860433920,"note":"Value kept but may cause issues"} 
[2026-09-05 07:42:02] 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-09-05 07:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788574285000,"timestamp_ms":1788574285000,"timestamp_seconds":1788574285,"priority":1,"record_length":96,"hex_timestamp":"000001a06f55bcc8"} 
[2026-09-05 07:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-05 07:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630354,"note":"Value kept but may cause issues"} 
[2026-09-05 07:42:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 07:42:02] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3187671040,"note":"Value kept but may cause issues"} 
[2026-09-05 07:42:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-4029928918612967424,"note":"Value kept but may cause issues"} 
[2026-09-05 07:42:02] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 07:42:02] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2484600832,"note":"Value kept but may cause issues"} 
[2026-09-05 07:42:02] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636747874084540,"note":"Value kept but may cause issues"} 
[2026-09-05 07:42:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797338830,"corrected_to":0} 
[2026-09-05 07:42:02] local.WARNING: Large IO value detected {"io_id":109,"raw_value":2147867287,"note":"Value kept but may cause issues"} 
[2026-09-05 07:42:02] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2483080614,"note":"Value kept but may cause issues"} 
[2026-09-05 07:42:02] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-05 07:42:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":322568192,"corrected_to":0} 
[2026-09-05 07:42:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3668013056,"note":"Value kept but may cause issues"} 
[2026-09-05 07:42:02] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-6070845860994875392,"note":"Value kept but may cause issues"} 
[2026-09-05 07:42:02] local.WARNING: Large IO value detected {"io_id":52,"raw_value":6773639955567660629,"note":"Value kept but may cause issues"} 
[2026-09-05 07:42:02] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-09-05 07:42:02] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,229,85,24,241,157,16,19,160,145,45,192,150,1,31,10,66,141,64,149,118,128,240,110,227,111,218,4,113,205,25,44,109,136,30,239,54,188,2,200,5,28,122,52,59],"length":577,"final_offset":707,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2797338830,"validated":0},{"io_id":200,"original":322568192,"validated":0}]} 
[2026-09-05 07:42:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144508946383241216,"timestamp_seconds":144508946383241.22,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 07:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:42:02] local.INFO: TCP Data received {"connection_id":174011,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875014656001,"66":12982,"229":206,"85":15104,"24":9,"16":128374519483072512,"45":8808055733860433920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 07:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:42:02] local.INFO: Processing buffer {"connection_id":174011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:42:02] local.INFO: IMEI packet received {"connection_id":174011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":174011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875014656001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:42:02] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 07:42:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128374519483072512,"km_value":128374519483072.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808055733860433920,"description":"Unknown IO ID 45"} 
[2026-09-05 07:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875014656001,"power":12982,"unknown_229":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8808055733860433920}} 
[2026-09-05 07:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":172711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767300,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:42:02] local.INFO: GPS data processed {"connection_id":172711,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:42:02] local.INFO: Acknowledgment sent {"connection_id":172711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:42:03] local.INFO: TCP Data received {"connection_id":174011,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a06f5510e8012d34c40006aa4948000e012226..."} 
[2026-09-05 07:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f5510e8012d34c40006aa4948000e012226..."} 
[2026-09-05 07:42:03] local.INFO: Processing buffer {"connection_id":174011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f5510e8012d34c40006aa4948000e012226..."} 
[2026-09-05 07:42:03] local.INFO: Packet analysis {"connection_id":174011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f55"} 
[2026-09-05 07:42:03] local.INFO: Extracted packet for processing {"connection_id":174011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f55"} 
[2026-09-05 07:42:03] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111823176,"longitude_deg":75.8432768,"latitude_deg":11.1823176,"altitude":14,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4948","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875000320001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031886619344896,"note":"Value kept but may cause issues"} 
[2026-09-05 07:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034274304,"note":"Value kept but may cause issues"} 
[2026-09-05 07:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788574241000,"timestamp_ms":1788574241000,"timestamp_seconds":1788574241,"priority":1,"record_length":96,"hex_timestamp":"000001a06f5510e8"} 
[2026-09-05 07:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:42: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-09-05 07: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-05 07:42:03] 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-09-05 07: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-09-05 07:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:42: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-09-05 07:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875000320001,"66":27658,"97":206,"81":23296,"24":0,"16":399031886619344896,"45":3802164014034274304},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875000320001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:42:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:42:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031886619344896,"km_value":399031886619344.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034274304,"description":"Unknown IO ID 45"} 
[2026-09-05 07:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875000320001,"power":27658,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034274304}} 
[2026-09-05 07:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":174011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:42:03] local.INFO: GPS data processed {"connection_id":174011,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:42:03] local.INFO: Acknowledgment sent {"connection_id":174011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:42:25] local.INFO: TCP Data received {"connection_id":171605,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:42:25] local.INFO: Processing buffer {"connection_id":171605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:42:25] local.INFO: IMEI packet received {"connection_id":171605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":171605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:42:26] local.INFO: TCP Data received {"connection_id":171605,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:42:26] local.INFO: Processing buffer {"connection_id":171605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:42:26] local.INFO: IMEI packet received {"connection_id":171605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":171605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:42:31] local.INFO: TCP Data received {"connection_id":171605,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:42:31] local.INFO: Processing buffer {"connection_id":171605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:42:31] local.INFO: IMEI packet received {"connection_id":171605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":171605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:42:31] local.INFO: TCP Data received {"connection_id":171605,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f55c498012d7a3ac005daa5f8000401471f..."} 
[2026-09-05 07:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f55c498012d7a3ac005daa5f8000401471f..."} 
[2026-09-05 07:42:31] local.INFO: Processing buffer {"connection_id":171605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f55c498012d7a3ac005daa5f8000401471f..."} 
[2026-09-05 07:42:31] local.INFO: Packet analysis {"connection_id":171605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f55"} 
[2026-09-05 07:42:31] local.INFO: Extracted packet for processing {"connection_id":171605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f55"} 
[2026-09-05 07:42:31] local.INFO: GPS Element Parsed {"raw_longitude":762985152,"raw_latitude":98215416,"longitude_deg":76.2985152,"latitude_deg":9.8215416,"altitude":4,"angle":327,"satellites":31,"speed":6,"hex_longitude":"2d7a3ac0","hex_latitude":"05daa5f8","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875016960001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128374540957908992,"note":"Value kept but may cause issues"} 
[2026-09-05 07:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807703890140360704,"note":"Value kept but may cause issues"} 
[2026-09-05 07:42:31] 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-09-05 07:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788574287000,"timestamp_ms":1788574287000,"timestamp_seconds":1788574287,"priority":1,"record_length":96,"hex_timestamp":"000001a06f55c498"} 
[2026-09-05 07:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:42: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-09-05 07: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-05 07:42:31] 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-09-05 07: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-09-05 07:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875016960001,"66":13526,"229":206,"85":15104,"24":6,"16":128374540957908992,"45":8807703890140360704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 07:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875016960001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:42:31] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 07:42:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128374540957908992,"km_value":128374540957908.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807703890140360704,"description":"Unknown IO ID 45"} 
[2026-09-05 07:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875016960001,"power":13526,"unknown_229":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8807703890140360704}} 
[2026-09-05 07:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":171605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:42:31] local.INFO: GPS data processed {"connection_id":171605,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:42:31] local.INFO: Acknowledgment sent {"connection_id":171605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:42:35] local.INFO: TCP Data received {"connection_id":174011,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a06f5562f0012d34c40006aa4948000e012227..."} 
[2026-09-05 07:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f5562f0012d34c40006aa4948000e012227..."} 
[2026-09-05 07:42:35] local.INFO: Processing buffer {"connection_id":174011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f5562f0012d34c40006aa4948000e012227..."} 
[2026-09-05 07:42:35] local.INFO: Packet analysis {"connection_id":174011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f55"} 
[2026-09-05 07:42:35] local.INFO: Extracted packet for processing {"connection_id":174011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f55"} 
[2026-09-05 07:42:35] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111823176,"longitude_deg":75.8432768,"latitude_deg":11.1823176,"altitude":14,"angle":290,"satellites":39,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4948","is_valid_coordinates":true} 
[2026-09-05 07:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875005696001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031886619344896,"note":"Value kept but may cause issues"} 
[2026-09-05 07:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034274304,"note":"Value kept but may cause issues"} 
[2026-09-05 07:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788574262000,"timestamp_ms":1788574262000,"timestamp_seconds":1788574262,"priority":1,"record_length":96,"hex_timestamp":"000001a06f5562f0"} 
[2026-09-05 07:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:42:35] 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-09-05 07:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-05 07:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875005696001,"66":27843,"97":206,"81":23296,"24":0,"16":399031886619344896,"45":3802164014034274304},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875005696001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:42:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:42:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031886619344896,"km_value":399031886619344.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034274304,"description":"Unknown IO ID 45"} 
[2026-09-05 07:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875005696001,"power":27843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034274304}} 
[2026-09-05 07:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":174011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:42:35] local.INFO: GPS data processed {"connection_id":174011,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:42:35] local.INFO: Acknowledgment sent {"connection_id":174011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:42:57] local.INFO: TCP Data received {"connection_id":174012,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:42:57] local.INFO: Processing buffer {"connection_id":174012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:42:57] local.INFO: IMEI packet received {"connection_id":174012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":174012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:43:02] local.INFO: TCP Data received {"connection_id":174012,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:43:02] local.INFO: Processing buffer {"connection_id":174012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:43:02] local.INFO: IMEI packet received {"connection_id":174012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":174012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:43:02] local.INFO: TCP Data received {"connection_id":171605,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f55e7c0012d7a37c005daa7280003010020..."} 
[2026-09-05 07:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f55e7c0012d7a37c005daa7280003010020..."} 
[2026-09-05 07:43:02] local.INFO: Processing buffer {"connection_id":171605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f55e7c0012d7a37c005daa7280003010020..."} 
[2026-09-05 07:43:02] local.INFO: Packet analysis {"connection_id":171605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f55"} 
[2026-09-05 07:43:02] local.INFO: Extracted packet for processing {"connection_id":171605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f55"} 
[2026-09-05 07:43:02] local.INFO: GPS Element Parsed {"raw_longitude":762984384,"raw_latitude":98215720,"longitude_deg":76.2984384,"latitude_deg":9.821572,"altitude":3,"angle":256,"satellites":32,"speed":5,"hex_longitude":"2d7a37c0","hex_latitude":"05daa728","is_valid_coordinates":true} 
[2026-09-05 07:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875017472001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128374588202549248,"note":"Value kept but may cause issues"} 
[2026-09-05 07:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807563152652105728,"note":"Value kept but may cause issues"} 
[2026-09-05 07:43:02] 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-09-05 07:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788574296000,"timestamp_ms":1788574296000,"timestamp_seconds":1788574296,"priority":1,"record_length":96,"hex_timestamp":"000001a06f55e7c0"} 
[2026-09-05 07:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 07:43:02] 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-09-05 07:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875017472001,"66":13646,"229":206,"85":15104,"24":5,"16":128374588202549248,"45":8807563152652105728},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 07:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875017472001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:43:02] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 07:43:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128374588202549248,"km_value":128374588202549.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807563152652105728,"description":"Unknown IO ID 45"} 
[2026-09-05 07:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875017472001,"power":13646,"unknown_229":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8807563152652105728}} 
[2026-09-05 07:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":171605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767304,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:43:03] local.INFO: GPS data processed {"connection_id":171605,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:43:03] local.INFO: Acknowledgment sent {"connection_id":171605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:43:03] local.INFO: TCP Data received {"connection_id":174012,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a06f5566d8012d34c5c006aa49d0000b004327..."} 
[2026-09-05 07:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f5566d8012d34c5c006aa49d0000b004327..."} 
[2026-09-05 07:43:03] local.INFO: Processing buffer {"connection_id":174012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f5566d8012d34c5c006aa49d0000b004327..."} 
[2026-09-05 07:43:03] local.INFO: Packet analysis {"connection_id":174012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f55"} 
[2026-09-05 07:43:03] local.INFO: Extracted packet for processing {"connection_id":174012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f55"} 
[2026-09-05 07:43:03] local.INFO: GPS Element Parsed {"raw_longitude":758433216,"raw_latitude":111823312,"longitude_deg":75.8433216,"latitude_deg":11.1823312,"altitude":11,"angle":67,"satellites":39,"speed":6,"hex_longitude":"2d34c5c0","hex_latitude":"06aa49d0","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875011072001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399031908094181376,"note":"Value kept but may cause issues"} 
[2026-09-05 07:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034274304,"note":"Value kept but may cause issues"} 
[2026-09-05 07:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788574263000,"timestamp_ms":1788574263000,"timestamp_seconds":1788574263,"priority":1,"record_length":96,"hex_timestamp":"000001a06f5566d8"} 
[2026-09-05 07:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:43: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-09-05 07:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 07:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:43: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-09-05 07:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875011072001,"66":27843,"97":206,"81":23296,"24":6,"16":399031908094181376,"45":3802164014034274304},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875011072001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:43:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:43:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399031908094181376,"km_value":399031908094181.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034274304,"description":"Unknown IO ID 45"} 
[2026-09-05 07:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875011072001,"power":27843,"unknown_97":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3802164014034274304}} 
[2026-09-05 07:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":174012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:43:03] local.INFO: GPS data processed {"connection_id":174012,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:43:03] local.INFO: Acknowledgment sent {"connection_id":174012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:43:31] local.INFO: TCP Data received {"connection_id":174013,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174013,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:43:31] local.INFO: Processing buffer {"connection_id":174013,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:43:31] local.INFO: IMEI packet received {"connection_id":174013,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":174013,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:43:33] local.INFO: TCP Data received {"connection_id":174013,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174013,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:43:33] local.INFO: Processing buffer {"connection_id":174013,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:43:33] local.INFO: IMEI packet received {"connection_id":174013,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":174013,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:43:34] local.INFO: TCP Data received {"connection_id":174013,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f573b98012d7a338005daa6d80001014621..."} 
[2026-09-05 07:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f573b98012d7a338005daa6d80001014621..."} 
[2026-09-05 07:43:34] local.INFO: Processing buffer {"connection_id":174013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f573b98012d7a338005daa6d80001014621..."} 
[2026-09-05 07:43:34] local.INFO: Packet analysis {"connection_id":174013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f57"} 
[2026-09-05 07:43:34] local.INFO: Extracted packet for processing {"connection_id":174013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f57"} 
[2026-09-05 07:43:34] local.INFO: GPS Element Parsed {"raw_longitude":762983296,"raw_latitude":98215640,"longitude_deg":76.2983296,"latitude_deg":9.821564,"altitude":1,"angle":326,"satellites":33,"speed":3,"hex_longitude":"2d7a3380","hex_latitude":"05daa6d8","is_valid_coordinates":true} 
[2026-09-05 07:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875041536001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128374721346535424,"note":"Value kept but may cause issues"} 
[2026-09-05 07:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805733565303508992,"note":"Value kept but may cause issues"} 
[2026-09-05 07:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788574383000,"timestamp_ms":1788574383000,"timestamp_seconds":1788574383,"priority":1,"record_length":96,"hex_timestamp":"000001a06f573b98"} 
[2026-09-05 07:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:43: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-09-05 07:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-05 07:43: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-09-05 07:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875041536001,"66":13428,"229":206,"85":15104,"24":3,"16":128374721346535424,"45":8805733565303508992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 07:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875041536001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:43:34] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 07:43:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128374721346535424,"km_value":128374721346535.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805733565303508992,"description":"Unknown IO ID 45"} 
[2026-09-05 07:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875041536001,"power":13428,"unknown_229":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8805733565303508992}} 
[2026-09-05 07:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":174013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:43:34] local.INFO: GPS data processed {"connection_id":174013,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:43:34] local.INFO: Acknowledgment sent {"connection_id":174013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:43:34] local.INFO: TCP Data received {"connection_id":174012,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a06f56e990012d34c6c006aa55a8000f003328..."} 
[2026-09-05 07:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f56e990012d34c6c006aa55a8000f003328..."} 
[2026-09-05 07:43:34] local.INFO: Processing buffer {"connection_id":174012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f56e990012d34c6c006aa55a8000f003328..."} 
[2026-09-05 07:43:34] local.INFO: Packet analysis {"connection_id":174012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f56"} 
[2026-09-05 07:43:34] local.INFO: Extracted packet for processing {"connection_id":174012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f56"} 
[2026-09-05 07:43:34] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111826344,"longitude_deg":75.8433472,"latitude_deg":11.1826344,"altitude":15,"angle":51,"satellites":40,"speed":11,"hex_longitude":"2d34c6c0","hex_latitude":"06aa55a8","is_valid_coordinates":true} 
[2026-09-05 07:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875036416001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399032075597905920,"note":"Value kept but may cause issues"} 
[2026-09-05 07:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963988461568,"note":"Value kept but may cause issues"} 
[2026-09-05 07:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788574362000,"timestamp_ms":1788574362000,"timestamp_seconds":1788574362,"priority":1,"record_length":96,"hex_timestamp":"000001a06f56e990"} 
[2026-09-05 07:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 07:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875036416001,"66":27767,"97":206,"81":23296,"24":11,"16":399032075597905920,"45":3802726963988461568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875036416001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:43:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:43:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399032075597905920,"km_value":399032075597905.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963988461568,"description":"Unknown IO ID 45"} 
[2026-09-05 07:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875036416001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":11,"odometer":null,"unknown_45":3802726963988461568}} 
[2026-09-05 07:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":174012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:43:34] local.INFO: GPS data processed {"connection_id":174012,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:43:34] local.INFO: Acknowledgment sent {"connection_id":174012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:43:35] local.INFO: TCP Data received {"connection_id":174013,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f574f20012d7a338005daa7180002004821..."} 
[2026-09-05 07:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f574f20012d7a338005daa7180002004821..."} 
[2026-09-05 07:43:35] local.INFO: Processing buffer {"connection_id":174013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f574f20012d7a338005daa7180002004821..."} 
[2026-09-05 07:43:35] local.INFO: Packet analysis {"connection_id":174013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f57"} 
[2026-09-05 07:43:35] local.INFO: Extracted packet for processing {"connection_id":174013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f57"} 
[2026-09-05 07:43:35] local.INFO: GPS Element Parsed {"raw_longitude":762983296,"raw_latitude":98215704,"longitude_deg":76.2983296,"latitude_deg":9.8215704,"altitude":2,"angle":72,"satellites":33,"speed":0,"hex_longitude":"2d7a3380","hex_latitude":"05daa718","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875042048001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128374725641502720,"note":"Value kept but may cause issues"} 
[2026-09-05 07:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805522459071010816,"note":"Value kept but may cause issues"} 
[2026-09-05 07:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788574388000,"timestamp_ms":1788574388000,"timestamp_seconds":1788574388,"priority":1,"record_length":96,"hex_timestamp":"000001a06f574f20"} 
[2026-09-05 07:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-05 07:43:35] 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-09-05 07: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-09-05 07:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875042048001,"66":13917,"229":206,"85":15104,"24":0,"16":128374725641502720,"45":8805522459071010816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 07:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875042048001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:43:35] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 07:43:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128374725641502720,"km_value":128374725641502.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805522459071010816,"description":"Unknown IO ID 45"} 
[2026-09-05 07:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875042048001,"power":13917,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805522459071010816}} 
[2026-09-05 07:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":174013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767308,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:43:35] local.INFO: GPS data processed {"connection_id":174013,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:43:35] local.INFO: Acknowledgment sent {"connection_id":174013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:43:57] local.INFO: TCP Data received {"connection_id":172712,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:43:57] local.INFO: Processing buffer {"connection_id":172712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:43:57] local.INFO: IMEI packet received {"connection_id":172712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":172712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:44:01] local.INFO: TCP Data received {"connection_id":172712,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:44:01] local.INFO: Processing buffer {"connection_id":172712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:44:01] local.INFO: IMEI packet received {"connection_id":172712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":172712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:44:02] local.INFO: TCP Data received {"connection_id":172712,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a06f56ed78012d34c80006aa5640000f004028..."} 
[2026-09-05 07:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f56ed78012d34c80006aa5640000f004028..."} 
[2026-09-05 07:44:02] local.INFO: Processing buffer {"connection_id":172712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f56ed78012d34c80006aa5640000f004028..."} 
[2026-09-05 07:44:02] local.INFO: Packet analysis {"connection_id":172712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f56"} 
[2026-09-05 07:44:02] local.INFO: Extracted packet for processing {"connection_id":172712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f56"} 
[2026-09-05 07:44:02] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111826496,"longitude_deg":75.8433792,"latitude_deg":11.1826496,"altitude":15,"angle":64,"satellites":40,"speed":13,"hex_longitude":"2d34c800","hex_latitude":"06aa5640","is_valid_coordinates":true} 
[2026-09-05 07:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875036672001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399032088482807808,"note":"Value kept but may cause issues"} 
[2026-09-05 07:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070221039616,"note":"Value kept but may cause issues"} 
[2026-09-05 07:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788574363000,"timestamp_ms":1788574363000,"timestamp_seconds":1788574363,"priority":1,"record_length":96,"hex_timestamp":"000001a06f56ed78"} 
[2026-09-05 07:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:44: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-09-05 07:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 07:44: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-09-05 07:44:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:44: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-09-05 07:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875036672001,"66":27767,"97":206,"81":23296,"24":13,"16":399032088482807808,"45":3802938070221039616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875036672001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:44:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:44:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399032088482807808,"km_value":399032088482807.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070221039616,"description":"Unknown IO ID 45"} 
[2026-09-05 07:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875036672001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":13,"odometer":null,"unknown_45":3802938070221039616}} 
[2026-09-05 07:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":172712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:44:02] local.INFO: GPS data processed {"connection_id":172712,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:44:02] local.INFO: Acknowledgment sent {"connection_id":172712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:44:06] local.INFO: TCP Data received {"connection_id":174013,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f5756f0012d7a34c005daa7380002005321..."} 
[2026-09-05 07:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f5756f0012d7a34c005daa7380002005321..."} 
[2026-09-05 07:44:06] local.INFO: Processing buffer {"connection_id":174013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f5756f0012d7a34c005daa7380002005321..."} 
[2026-09-05 07:44:06] local.INFO: Packet analysis {"connection_id":174013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f57"} 
[2026-09-05 07:44:06] local.INFO: Extracted packet for processing {"connection_id":174013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f57"} 
[2026-09-05 07:44:06] local.INFO: GPS Element Parsed {"raw_longitude":762983616,"raw_latitude":98215736,"longitude_deg":76.2983616,"latitude_deg":9.8215736,"altitude":2,"angle":83,"satellites":33,"speed":5,"hex_longitude":"2d7a34c0","hex_latitude":"05daa738","is_valid_coordinates":true} 
[2026-09-05 07:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875043328001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128374738526404608,"note":"Value kept but may cause issues"} 
[2026-09-05 07:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805522459071027200,"note":"Value kept but may cause issues"} 
[2026-09-05 07:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788574390000,"timestamp_ms":1788574390000,"timestamp_seconds":1788574390,"priority":1,"record_length":96,"hex_timestamp":"000001a06f5756f0"} 
[2026-09-05 07:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:44: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-09-05 07:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-05 07:44: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-09-05 07:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875043328001,"66":13450,"229":206,"85":15104,"24":5,"16":128374738526404608,"45":8805522459071027200},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 07:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875043328001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:44:06] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 07:44:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128374738526404608,"km_value":128374738526404.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805522459071027200,"description":"Unknown IO ID 45"} 
[2026-09-05 07:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875043328001,"power":13450,"unknown_229":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8805522459071027200}} 
[2026-09-05 07:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":174013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:44:06] local.INFO: GPS data processed {"connection_id":174013,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:44:06] local.INFO: Acknowledgment sent {"connection_id":174013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:44:26] local.INFO: TCP Data received {"connection_id":174014,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174014,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:44:26] local.INFO: Processing buffer {"connection_id":174014,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:44:26] local.INFO: IMEI packet received {"connection_id":174014,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":174014,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:44:26] local.INFO: TCP Data received {"connection_id":174014,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174014,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:44:26] local.INFO: Processing buffer {"connection_id":174014,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:44:26] local.INFO: IMEI packet received {"connection_id":174014,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":174014,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:44:31] local.INFO: TCP Data received {"connection_id":174014,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174014,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:44:31] local.INFO: Processing buffer {"connection_id":174014,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:44:31] local.INFO: IMEI packet received {"connection_id":174014,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":174014,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:44:31] local.INFO: TCP Data received {"connection_id":174014,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f575ad8012d7a358005daa7680002004521..."} 
[2026-09-05 07:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f575ad8012d7a358005daa7680002004521..."} 
[2026-09-05 07:44:31] local.INFO: Processing buffer {"connection_id":174014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f575ad8012d7a358005daa7680002004521..."} 
[2026-09-05 07:44:31] local.INFO: Packet analysis {"connection_id":174014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f57"} 
[2026-09-05 07:44:31] local.INFO: Extracted packet for processing {"connection_id":174014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f57"} 
[2026-09-05 07:44:31] local.INFO: GPS Element Parsed {"raw_longitude":762983808,"raw_latitude":98215784,"longitude_deg":76.2983808,"latitude_deg":9.8215784,"altitude":2,"angle":69,"satellites":33,"speed":9,"hex_longitude":"2d7a3580","hex_latitude":"05daa768","is_valid_coordinates":true} 
[2026-09-05 07:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875043840001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128374747116339200,"note":"Value kept but may cause issues"} 
[2026-09-05 07:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805874302791923712,"note":"Value kept but may cause issues"} 
[2026-09-05 07:44:31] 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-09-05 07:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788574391000,"timestamp_ms":1788574391000,"timestamp_seconds":1788574391,"priority":1,"record_length":96,"hex_timestamp":"000001a06f575ad8"} 
[2026-09-05 07:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:44: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-09-05 07:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-05 07:44:31] 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-09-05 07:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875043840001,"66":13559,"229":206,"85":15104,"24":9,"16":128374747116339200,"45":8805874302791923712},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 07:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875043840001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:44:31] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 07:44:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128374747116339200,"km_value":128374747116339.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805874302791923712,"description":"Unknown IO ID 45"} 
[2026-09-05 07:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875043840001,"power":13559,"unknown_229":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8805874302791923712}} 
[2026-09-05 07:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":174014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767311,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:44:31] local.INFO: GPS data processed {"connection_id":174014,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:44:31] local.INFO: Acknowledgment sent {"connection_id":174014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:44:33] local.INFO: TCP Data received {"connection_id":172712,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a06f56f160012d34c90006aa56a0000f004b28..."} 
[2026-09-05 07:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f56f160012d34c90006aa56a0000f004b28..."} 
[2026-09-05 07:44:33] local.INFO: Processing buffer {"connection_id":172712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f56f160012d34c90006aa56a0000f004b28..."} 
[2026-09-05 07:44:33] local.INFO: Packet analysis {"connection_id":172712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f56"} 
[2026-09-05 07:44:33] local.INFO: Extracted packet for processing {"connection_id":172712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f56"} 
[2026-09-05 07:44:33] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111826592,"longitude_deg":75.8434048,"latitude_deg":11.1826592,"altitude":15,"angle":75,"satellites":40,"speed":14,"hex_longitude":"2d34c900","hex_latitude":"06aa56a0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 07:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875036928001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399032105662676992,"note":"Value kept but may cause issues"} 
[2026-09-05 07:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913941966848,"note":"Value kept but may cause issues"} 
[2026-09-05 07:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788574364000,"timestamp_ms":1788574364000,"timestamp_seconds":1788574364,"priority":1,"record_length":96,"hex_timestamp":"000001a06f56f160"} 
[2026-09-05 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-09-05 07:44: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-09-05 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 07:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 07:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:44: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-09-05 07:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875036928001,"66":27767,"97":206,"81":23296,"24":14,"16":399032105662676992,"45":3803289913941966848},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875036928001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:44:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:44:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399032105662676992,"km_value":399032105662677.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913941966848,"description":"Unknown IO ID 45"} 
[2026-09-05 07:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875036928001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":14,"odometer":null,"unknown_45":3803289913941966848}} 
[2026-09-05 07:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":172712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:44:33] local.INFO: GPS data processed {"connection_id":172712,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:44:33] local.INFO: Acknowledgment sent {"connection_id":172712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:45:02] local.INFO: TCP Data received {"connection_id":174014,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f5762a8012d7a378005daa7c00002005c21..."} 
[2026-09-05 07:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f5762a8012d7a378005daa7c00002005c21..."} 
[2026-09-05 07:45:02] local.INFO: Processing buffer {"connection_id":174014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f5762a8012d7a378005daa7c00002005c21..."} 
[2026-09-05 07:45:02] local.INFO: Packet analysis {"connection_id":174014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f57"} 
[2026-09-05 07:45:02] local.INFO: Extracted packet for processing {"connection_id":174014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f57"} 
[2026-09-05 07:45:02] local.INFO: GPS Element Parsed {"raw_longitude":762984320,"raw_latitude":98215872,"longitude_deg":76.298432,"latitude_deg":9.8215872,"altitude":2,"angle":92,"satellites":33,"speed":8,"hex_longitude":"2d7a3780","hex_latitude":"05daa7c0","is_valid_coordinates":true} 
[2026-09-05 07:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875044096001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128374772886142976,"note":"Value kept but may cause issues"} 
[2026-09-05 07:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8806085409024468992,"note":"Value kept but may cause issues"} 
[2026-09-05 07:45:02] 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-09-05 07:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788574393000,"timestamp_ms":1788574393000,"timestamp_seconds":1788574393,"priority":1,"record_length":96,"hex_timestamp":"000001a06f5762a8"} 
[2026-09-05 07:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-05 07:45:02] 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-09-05 07:45:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875044096001,"66":13559,"229":206,"85":15104,"24":8,"16":128374772886142976,"45":8806085409024468992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 07:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875044096001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:45:02] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 07:45:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128374772886142976,"km_value":128374772886142.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8806085409024468992,"description":"Unknown IO ID 45"} 
[2026-09-05 07:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875044096001,"power":13559,"unknown_229":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8806085409024468992}} 
[2026-09-05 07:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":174014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767313,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:45:03] local.INFO: GPS data processed {"connection_id":174014,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:45:03] local.INFO: Acknowledgment sent {"connection_id":174014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:45:07] local.INFO: TCP Data received {"connection_id":174015,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:45:07] local.INFO: Processing buffer {"connection_id":174015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:45:07] local.INFO: IMEI packet received {"connection_id":174015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":174015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:45:09] local.INFO: TCP Data received {"connection_id":174015,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:45:09] local.INFO: Processing buffer {"connection_id":174015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:45:09] local.INFO: IMEI packet received {"connection_id":174015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":174015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:45:13] local.INFO: TCP Data received {"connection_id":174015,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:45:13] local.INFO: Processing buffer {"connection_id":174015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:45:13] local.INFO: IMEI packet received {"connection_id":174015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":174015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:45:17] local.INFO: TCP Data received {"connection_id":174015,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a06f57ef48012d34ea8006aa7638000e012225..."} 
[2026-09-05 07:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f57ef48012d34ea8006aa7638000e012225..."} 
[2026-09-05 07:45:17] local.INFO: Processing buffer {"connection_id":174015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f57ef48012d34ea8006aa7638000e012225..."} 
[2026-09-05 07:45:17] local.INFO: Packet analysis {"connection_id":174015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f57"} 
[2026-09-05 07:45:17] local.INFO: Extracted packet for processing {"connection_id":174015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f57"} 
[2026-09-05 07:45:17] local.INFO: GPS Element Parsed {"raw_longitude":758442624,"raw_latitude":111834680,"longitude_deg":75.8442624,"latitude_deg":11.183468,"altitude":14,"angle":290,"satellites":37,"speed":33,"hex_longitude":"2d34ea80","hex_latitude":"06aa7638","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875049984001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399033488642146304,"note":"Value kept but may cause issues"} 
[2026-09-05 07:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3822570949847939072,"note":"Value kept but may cause issues"} 
[2026-09-05 07:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788574429000,"timestamp_ms":1788574429000,"timestamp_seconds":1788574429,"priority":1,"record_length":96,"hex_timestamp":"000001a06f57ef48"} 
[2026-09-05 07:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:45: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-09-05 07: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 07:45:17] 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-09-05 07: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-09-05 07:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875049984001,"66":27865,"97":206,"81":23296,"24":33,"16":399033488642146304,"45":3822570949847939072},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875049984001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:45:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:45:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399033488642146304,"km_value":399033488642146.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3822570949847939072,"description":"Unknown IO ID 45"} 
[2026-09-05 07:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875049984001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":33,"odometer":null,"unknown_45":3822570949847939072}} 
[2026-09-05 07:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":174015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:45:17] local.INFO: GPS data processed {"connection_id":174015,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:45:17] local.INFO: Acknowledgment sent {"connection_id":174015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:45:26] local.INFO: TCP Data received {"connection_id":172713,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:45:26] local.INFO: Processing buffer {"connection_id":172713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:45:26] local.INFO: IMEI packet received {"connection_id":172713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":172713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:45:26] local.INFO: TCP Data received {"connection_id":172713,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:45:26] local.INFO: Processing buffer {"connection_id":172713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:45:26] local.INFO: IMEI packet received {"connection_id":172713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":172713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:45:31] local.INFO: TCP Data received {"connection_id":172713,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:45:31] local.INFO: Processing buffer {"connection_id":172713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:45:31] local.INFO: IMEI packet received {"connection_id":172713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":172713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:45:31] local.INFO: TCP Data received {"connection_id":172713,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f591ff8012d7a47c005da5bc8000400ac20..."} 
[2026-09-05 07:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f591ff8012d7a47c005da5bc8000400ac20..."} 
[2026-09-05 07:45:31] local.INFO: Processing buffer {"connection_id":172713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f591ff8012d7a47c005da5bc8000400ac20..."} 
[2026-09-05 07:45:31] local.INFO: Packet analysis {"connection_id":172713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f59"} 
[2026-09-05 07:45:31] local.INFO: Extracted packet for processing {"connection_id":172713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f59"} 
[2026-09-05 07:45:31] local.INFO: GPS Element Parsed {"raw_longitude":762988480,"raw_latitude":98196424,"longitude_deg":76.298848,"latitude_deg":9.8196424,"altitude":4,"angle":172,"satellites":32,"speed":21,"hex_longitude":"2d7a47c0","hex_latitude":"05da5bc8","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875069184001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128375786498424832,"note":"Value kept but may cause issues"} 
[2026-09-05 07:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809463108742316032,"note":"Value kept but may cause issues"} 
[2026-09-05 07:45:31] 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-09-05 07:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788574507000,"timestamp_ms":1788574507000,"timestamp_seconds":1788574507,"priority":1,"record_length":96,"hex_timestamp":"000001a06f591ff8"} 
[2026-09-05 07:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-05 07:45:31] 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-09-05 07: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-09-05 07:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875069184001,"66":13678,"229":206,"85":15104,"24":21,"16":128375786498424832,"45":8809463108742316032},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 07:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875069184001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:45:31] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 07:45:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128375786498424832,"km_value":128375786498424.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809463108742316032,"description":"Unknown IO ID 45"} 
[2026-09-05 07:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875069184001,"power":13678,"unknown_229":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8809463108742316032}} 
[2026-09-05 07:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":172713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767315,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:45:31] local.INFO: GPS data processed {"connection_id":172713,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:45:31] local.INFO: Acknowledgment sent {"connection_id":172713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:45:57] local.INFO: TCP Data received {"connection_id":174016,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:45:57] local.INFO: Processing buffer {"connection_id":174016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:45:57] local.INFO: IMEI packet received {"connection_id":174016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":174016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:45:58] local.INFO: TCP Data received {"connection_id":174016,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:45:58] local.INFO: Processing buffer {"connection_id":174016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:45:58] local.INFO: IMEI packet received {"connection_id":174016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":174016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:45:58] local.INFO: TCP Data received {"connection_id":174016,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:45:58] local.INFO: Processing buffer {"connection_id":174016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:45:58] local.INFO: IMEI packet received {"connection_id":174016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":174016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:46:02] local.INFO: TCP Data received {"connection_id":174016,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:46:02] local.INFO: Processing buffer {"connection_id":174016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:46:02] local.INFO: IMEI packet received {"connection_id":174016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":174016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:46:02] local.INFO: TCP Data received {"connection_id":172713,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f5952c0012d7a4cc005da42d0000400a020..."} 
[2026-09-05 07:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f5952c0012d7a4cc005da42d0000400a020..."} 
[2026-09-05 07:46:03] local.INFO: Processing buffer {"connection_id":172713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f5952c0012d7a4cc005da42d0000400a020..."} 
[2026-09-05 07:46:03] local.INFO: Packet analysis {"connection_id":172713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f59"} 
[2026-09-05 07:46:03] local.INFO: Extracted packet for processing {"connection_id":172713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f59"} 
[2026-09-05 07:46:03] local.INFO: GPS Element Parsed {"raw_longitude":762989760,"raw_latitude":98190032,"longitude_deg":76.298976,"latitude_deg":9.8190032,"altitude":4,"angle":160,"satellites":32,"speed":13,"hex_longitude":"2d7a4cc0","hex_latitude":"05da42d0","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875073792001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128376104326004736,"note":"Value kept but may cause issues"} 
[2026-09-05 07:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8811222327344482304,"note":"Value kept but may cause issues"} 
[2026-09-05 07:46:03] 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-09-05 07:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788574520000,"timestamp_ms":1788574520000,"timestamp_seconds":1788574520,"priority":1,"record_length":96,"hex_timestamp":"000001a06f5952c0"} 
[2026-09-05 07:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:46: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-09-05 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-05 07:46: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-09-05 07: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-09-05 07:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875073792001,"66":13559,"229":206,"85":15104,"24":13,"16":128376104326004736,"45":8811222327344482304},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 07:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875073792001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:46:03] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 07:46:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128376104326004736,"km_value":128376104326004.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8811222327344482304,"description":"Unknown IO ID 45"} 
[2026-09-05 07:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875073792001,"power":13559,"unknown_229":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8811222327344482304}} 
[2026-09-05 07:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":172713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:46:03] local.INFO: GPS data processed {"connection_id":172713,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:46:03] local.INFO: Acknowledgment sent {"connection_id":172713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:46:03] local.INFO: TCP Data received {"connection_id":174016,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a06f581658012d34c80006aa82b0000c012124..."} 
[2026-09-05 07:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f581658012d34c80006aa82b0000c012124..."} 
[2026-09-05 07:46:03] local.INFO: Processing buffer {"connection_id":174016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f581658012d34c80006aa82b0000c012124..."} 
[2026-09-05 07:46:03] local.INFO: Packet analysis {"connection_id":174016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f58"} 
[2026-09-05 07:46:03] local.INFO: Extracted packet for processing {"connection_id":174016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f58"} 
[2026-09-05 07:46:03] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111837872,"longitude_deg":75.8433792,"latitude_deg":11.1837872,"altitude":12,"angle":289,"satellites":36,"speed":38,"hex_longitude":"2d34c800","hex_latitude":"06aa82b0","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875053824001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399033939613712384,"note":"Value kept but may cause issues"} 
[2026-09-05 07:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3813000800640579584,"note":"Value kept but may cause issues"} 
[2026-09-05 07:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788574439000,"timestamp_ms":1788574439000,"timestamp_seconds":1788574439,"priority":1,"record_length":96,"hex_timestamp":"000001a06f581658"} 
[2026-09-05 07:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:46: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-09-05 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 07:46: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-09-05 07: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-09-05 07:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:46: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-09-05 07:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875053824001,"66":27821,"97":206,"81":23296,"24":38,"16":399033939613712384,"45":3813000800640579584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875053824001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:46:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:46:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399033939613712384,"km_value":399033939613712.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3813000800640579584,"description":"Unknown IO ID 45"} 
[2026-09-05 07:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875053824001,"power":27821,"unknown_97":206,"unknown_81":23296,"ignition":38,"odometer":null,"unknown_45":3813000800640579584}} 
[2026-09-05 07:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":174016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:46:03] local.INFO: GPS data processed {"connection_id":174016,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:46:03] local.INFO: Acknowledgment sent {"connection_id":174016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:46:27] local.INFO: TCP Data received {"connection_id":172714,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:46:27] local.INFO: Processing buffer {"connection_id":172714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:46:27] local.INFO: IMEI packet received {"connection_id":172714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":172714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:46:31] local.INFO: TCP Data received {"connection_id":172714,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:46:31] local.INFO: Processing buffer {"connection_id":172714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:46:31] local.INFO: IMEI packet received {"connection_id":172714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":172714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:46:31] local.INFO: TCP Data received {"connection_id":172714,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f596260012d7a4dc005da3f28000400ab20..."} 
[2026-09-05 07:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f596260012d7a4dc005da3f28000400ab20..."} 
[2026-09-05 07:46:31] local.INFO: Processing buffer {"connection_id":172714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f596260012d7a4dc005da3f28000400ab20..."} 
[2026-09-05 07:46:31] local.INFO: Packet analysis {"connection_id":172714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f59"} 
[2026-09-05 07:46:31] local.INFO: Extracted packet for processing {"connection_id":172714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f59"} 
[2026-09-05 07:46:31] local.INFO: GPS Element Parsed {"raw_longitude":762990016,"raw_latitude":98189096,"longitude_deg":76.2990016,"latitude_deg":9.8189096,"altitude":4,"angle":171,"satellites":32,"speed":7,"hex_longitude":"2d7a4dc0","hex_latitude":"05da3f28","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875077120001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128376151570644992,"note":"Value kept but may cause issues"} 
[2026-09-05 07:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8812629702226399232,"note":"Value kept but may cause issues"} 
[2026-09-05 07:46:31] 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-09-05 07:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788574524000,"timestamp_ms":1788574524000,"timestamp_seconds":1788574524,"priority":1,"record_length":96,"hex_timestamp":"000001a06f596260"} 
[2026-09-05 07:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-05 07:46:31] 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-09-05 07: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-09-05 07:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875077120001,"66":13504,"229":206,"85":15104,"24":7,"16":128376151570644992,"45":8812629702226399232},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 07:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875077120001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:46:31] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 07:46:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128376151570644992,"km_value":128376151570644.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8812629702226399232,"description":"Unknown IO ID 45"} 
[2026-09-05 07:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875077120001,"power":13504,"unknown_229":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8812629702226399232}} 
[2026-09-05 07:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":172714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:46:31] local.INFO: GPS data processed {"connection_id":172714,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:46:31] local.INFO: Acknowledgment sent {"connection_id":172714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:46:34] local.INFO: TCP Data received {"connection_id":174016,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a06f583980012d34a68006aa8eb8000d012126..."} 
[2026-09-05 07:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f583980012d34a68006aa8eb8000d012126..."} 
[2026-09-05 07:46:34] local.INFO: Processing buffer {"connection_id":174016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f583980012d34a68006aa8eb8000d012126..."} 
[2026-09-05 07:46:34] local.INFO: Packet analysis {"connection_id":174016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f58"} 
[2026-09-05 07:46:34] local.INFO: Extracted packet for processing {"connection_id":174016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f58"} 
[2026-09-05 07:46:34] local.INFO: GPS Element Parsed {"raw_longitude":758425216,"raw_latitude":111840952,"longitude_deg":75.8425216,"latitude_deg":11.1840952,"altitude":13,"angle":289,"satellites":38,"speed":39,"hex_longitude":"2d34a680","hex_latitude":"06aa8eb8","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875056384001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399034369110441984,"note":"Value kept but may cause issues"} 
[2026-09-05 07:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913944879104,"note":"Value kept but may cause issues"} 
[2026-09-05 07:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788574448000,"timestamp_ms":1788574448000,"timestamp_seconds":1788574448,"priority":1,"record_length":96,"hex_timestamp":"000001a06f583980"} 
[2026-09-05 07:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 07:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875056384001,"66":27767,"97":206,"81":23296,"24":39,"16":399034369110441984,"45":3803289913944879104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875056384001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:46:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:46:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399034369110441984,"km_value":399034369110442.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913944879104,"description":"Unknown IO ID 45"} 
[2026-09-05 07:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875056384001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":39,"odometer":null,"unknown_45":3803289913944879104}} 
[2026-09-05 07:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":174016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:46:34] local.INFO: GPS data processed {"connection_id":174016,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:46:34] local.INFO: Acknowledgment sent {"connection_id":174016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:46:56] local.INFO: TCP Data received {"connection_id":171307,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171307,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:46:56] local.INFO: Processing buffer {"connection_id":171307,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:46:56] local.INFO: IMEI packet received {"connection_id":171307,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 07:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":171307,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:46:57] local.INFO: TCP Data received {"connection_id":174017,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:46:57] local.INFO: Processing buffer {"connection_id":174017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:46:57] local.INFO: IMEI packet received {"connection_id":174017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":174017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:47:02] local.INFO: TCP Data received {"connection_id":174017,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:47:02] local.INFO: Processing buffer {"connection_id":174017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:47:02] local.INFO: IMEI packet received {"connection_id":174017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":174017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:47:02] local.INFO: TCP Data received {"connection_id":172714,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06f599528012d7a4dc005da3f680003016320..."} 
[2026-09-05 07:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f599528012d7a4dc005da3f680003016320..."} 
[2026-09-05 07:47:02] local.INFO: Processing buffer {"connection_id":172714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f599528012d7a4dc005da3f680003016320..."} 
[2026-09-05 07:47:02] local.INFO: Packet analysis {"connection_id":172714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f59"} 
[2026-09-05 07:47:02] local.INFO: Extracted packet for processing {"connection_id":172714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f59"} 
[2026-09-05 07:47:02] local.INFO: GPS Element Parsed {"raw_longitude":762990016,"raw_latitude":98189160,"longitude_deg":76.2990016,"latitude_deg":9.818916,"altitude":3,"angle":355,"satellites":32,"speed":3,"hex_longitude":"2d7a4dc0","hex_latitude":"05da3f68","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875078144001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128376198815285248,"note":"Value kept but may cause issues"} 
[2026-09-05 07:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8812911177202870272,"note":"Value kept but may cause issues"} 
[2026-09-05 07:47:02] 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-09-05 07:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788574537000,"timestamp_ms":1788574537000,"timestamp_seconds":1788574537,"priority":1,"record_length":96,"hex_timestamp":"000001a06f599528"} 
[2026-09-05 07:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-05 07:47:02] 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-09-05 07: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-09-05 07:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875078144001,"66":13722,"229":206,"85":15104,"24":3,"16":128376198815285248,"45":8812911177202870272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 07:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875078144001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:47:02] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 07:47:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128376198815285248,"km_value":128376198815285.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8812911177202870272,"description":"Unknown IO ID 45"} 
[2026-09-05 07:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875078144001,"power":13722,"unknown_229":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8812911177202870272}} 
[2026-09-05 07:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":172714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767320,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:47:02] local.INFO: GPS data processed {"connection_id":172714,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:47:02] local.INFO: Acknowledgment sent {"connection_id":172714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:47:03] local.INFO: TCP Data received {"connection_id":174017,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a06f585ca8012d34864006aa97980010011625..."} 
[2026-09-05 07:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f585ca8012d34864006aa97980010011625..."} 
[2026-09-05 07:47:03] local.INFO: Processing buffer {"connection_id":174017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f585ca8012d34864006aa97980010011625..."} 
[2026-09-05 07:47:03] local.INFO: Packet analysis {"connection_id":174017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f58"} 
[2026-09-05 07:47:03] local.INFO: Extracted packet for processing {"connection_id":174017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f58"} 
[2026-09-05 07:47:03] local.INFO: GPS Element Parsed {"raw_longitude":758416960,"raw_latitude":111843224,"longitude_deg":75.841696,"latitude_deg":11.1843224,"altitude":16,"angle":278,"satellites":37,"speed":34,"hex_longitude":"2d348640","hex_latitude":"06aa9798","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875058688001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399034777132335104,"note":"Value kept but may cause issues"} 
[2026-09-05 07:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3793860502225860608,"note":"Value kept but may cause issues"} 
[2026-09-05 07:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788574457000,"timestamp_ms":1788574457000,"timestamp_seconds":1788574457,"priority":1,"record_length":96,"hex_timestamp":"000001a06f585ca8"} 
[2026-09-05 07:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:47: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-09-05 07:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 07:47: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-09-05 07: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-09-05 07:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:47: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-09-05 07:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875058688001,"66":27843,"97":206,"81":23296,"24":34,"16":399034777132335104,"45":3793860502225860608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-05 07:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875058688001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:47:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 07:47:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399034777132335104,"km_value":399034777132335.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3793860502225860608,"description":"Unknown IO ID 45"} 
[2026-09-05 07:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875058688001,"power":27843,"unknown_97":206,"unknown_81":23296,"ignition":34,"odometer":null,"unknown_45":3793860502225860608}} 
[2026-09-05 07:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":174017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:47:03] local.INFO: GPS data processed {"connection_id":174017,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:47:03] local.INFO: Acknowledgment sent {"connection_id":174017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:47:24] local.INFO: TCP Data received {"connection_id":174018,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174018,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:47:24] local.INFO: Processing buffer {"connection_id":174018,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:47:24] local.INFO: IMEI packet received {"connection_id":174018,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":174018,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:47:24] local.INFO: TCP Data received {"connection_id":174018,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174018,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:47:24] local.INFO: Processing buffer {"connection_id":174018,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:47:24] local.INFO: IMEI packet received {"connection_id":174018,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":174018,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:47:25] local.INFO: TCP Data received {"connection_id":174018,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174018,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:47:25] local.INFO: Processing buffer {"connection_id":174018,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:47:25] local.INFO: IMEI packet received {"connection_id":174018,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":174018,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:47:27] local.INFO: TCP Data received {"connection_id":174018,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174018,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:47:27] local.INFO: Processing buffer {"connection_id":174018,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:47:27] local.INFO: IMEI packet received {"connection_id":174018,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":174018,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:47:34] local.INFO: TCP Data received {"connection_id":174017,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a06f587be8012d346a4006aa99000011010a25..."} 
[2026-09-05 07:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f587be8012d346a4006aa99000011010a25..."} 
[2026-09-05 07:47:34] local.INFO: Processing buffer {"connection_id":174017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f587be8012d346a4006aa99000011010a25..."} 
[2026-09-05 07:47:34] local.INFO: Packet analysis {"connection_id":174017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f58"} 
[2026-09-05 07:47:34] local.INFO: Extracted packet for processing {"connection_id":174017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f58"} 
[2026-09-05 07:47:34] local.INFO: GPS Element Parsed {"raw_longitude":758409792,"raw_latitude":111843584,"longitude_deg":75.8409792,"latitude_deg":11.1843584,"altitude":17,"angle":266,"satellites":37,"speed":35,"hex_longitude":"2d346a40","hex_latitude":"06aa9900","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875060992001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399035120729718784,"note":"Value kept but may cause issues"} 
[2026-09-05 07:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3784782934227523584,"note":"Value kept but may cause issues"} 
[2026-09-05 07:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788574465000,"timestamp_ms":1788574465000,"timestamp_seconds":1788574465,"priority":1,"record_length":96,"hex_timestamp":"000001a06f587be8"} 
[2026-09-05 07:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 07:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875060992001,"66":27745,"75":206,"81":23296,"24":35,"16":399035120729718784,"45":3784782934227523584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-09-05 07:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875060992001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:47:34] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-05 07:47:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399035120729718784,"km_value":399035120729718.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3784782934227523584,"description":"Unknown IO ID 45"} 
[2026-09-05 07:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875060992001,"power":27745,"unknown_75":206,"unknown_81":23296,"ignition":35,"odometer":null,"unknown_45":3784782934227523584}} 
[2026-09-05 07:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":174017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:47:34] local.INFO: GPS data processed {"connection_id":174017,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:47:34] local.INFO: Acknowledgment sent {"connection_id":174017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:48:02] local.INFO: TCP Data received {"connection_id":171308,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:48:02] local.INFO: Processing buffer {"connection_id":171308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:48:02] local.INFO: IMEI packet received {"connection_id":171308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":171308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:48:07] local.INFO: TCP Data received {"connection_id":171308,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:48:07] local.INFO: Processing buffer {"connection_id":171308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:48:07] local.INFO: IMEI packet received {"connection_id":171308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":171308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:48:08] local.INFO: TCP Data received {"connection_id":171308,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a06f589358012d34544006aa94e0001000fc25..."} 
[2026-09-05 07:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f589358012d34544006aa94e0001000fc25..."} 
[2026-09-05 07:48:08] local.INFO: Processing buffer {"connection_id":171308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f589358012d34544006aa94e0001000fc25..."} 
[2026-09-05 07:48:08] local.INFO: Packet analysis {"connection_id":171308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f58"} 
[2026-09-05 07:48:08] local.INFO: Extracted packet for processing {"connection_id":171308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f58"} 
[2026-09-05 07:48:08] local.INFO: GPS Element Parsed {"raw_longitude":758404160,"raw_latitude":111842528,"longitude_deg":75.840416,"latitude_deg":11.1842528,"altitude":16,"angle":252,"satellites":37,"speed":40,"hex_longitude":"2d345440","hex_latitude":"06aa94e0","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875063040001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399035395607625728,"note":"Value kept but may cause issues"} 
[2026-09-05 07:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3776901634879717376,"note":"Value kept but may cause issues"} 
[2026-09-05 07:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788574471000,"timestamp_ms":1788574471000,"timestamp_seconds":1788574471,"priority":1,"record_length":96,"hex_timestamp":"000001a06f589358"} 
[2026-09-05 07:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:48: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-09-05 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 07:48:08] 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-09-05 07: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-09-05 07:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875063040001,"66":27767,"47":206,"81":23296,"24":40,"16":399035395607625728,"45":3776901634879717376},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,81,24,16,45]} 
[2026-09-05 07:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875063040001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:48:08] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-05 07:48:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399035395607625728,"km_value":399035395607625.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3776901634879717376,"description":"Unknown IO ID 45"} 
[2026-09-05 07:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875063040001,"power":27767,"unknown_47":206,"unknown_81":23296,"ignition":40,"odometer":null,"unknown_45":3776901634879717376}} 
[2026-09-05 07:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":171308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:48:08] local.INFO: GPS data processed {"connection_id":171308,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:48:08] local.INFO: Acknowledgment sent {"connection_id":171308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:48:12] local.INFO: TCP Data received {"connection_id":171308,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a06f58b680012d342ec006aa88e0000f010023..."} 
[2026-09-05 07:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f58b680012d342ec006aa88e0000f010023..."} 
[2026-09-05 07:48:12] local.INFO: Processing buffer {"connection_id":171308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f58b680012d342ec006aa88e0000f010023..."} 
[2026-09-05 07:48:12] local.INFO: Packet analysis {"connection_id":171308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f58"} 
[2026-09-05 07:48:12] local.INFO: Extracted packet for processing {"connection_id":171308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f58"} 
[2026-09-05 07:48:12] local.INFO: GPS Element Parsed {"raw_longitude":758394560,"raw_latitude":111839456,"longitude_deg":75.839456,"latitude_deg":11.1839456,"altitude":15,"angle":256,"satellites":35,"speed":45,"hex_longitude":"2d342ec0","hex_latitude":"06aa88e0","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875064576001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399035876643962880,"note":"Value kept but may cause issues"} 
[2026-09-05 07:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3770709185391812608,"note":"Value kept but may cause issues"} 
[2026-09-05 07:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788574480000,"timestamp_ms":1788574480000,"timestamp_seconds":1788574480,"priority":1,"record_length":96,"hex_timestamp":"000001a06f58b680"} 
[2026-09-05 07:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:48:12] 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-09-05 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 07:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875064576001,"66":27745,"47":206,"81":23296,"24":45,"16":399035876643962880,"45":3770709185391812608},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,81,24,16,45]} 
[2026-09-05 07:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875064576001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:48:12] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-05 07:48:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399035876643962880,"km_value":399035876643962.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3770709185391812608,"description":"Unknown IO ID 45"} 
[2026-09-05 07:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875064576001,"power":27745,"unknown_47":206,"unknown_81":23296,"ignition":45,"odometer":null,"unknown_45":3770709185391812608}} 
[2026-09-05 07:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":171308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:48:12] local.INFO: GPS data processed {"connection_id":171308,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:48:12] local.INFO: Acknowledgment sent {"connection_id":171308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:48:57] local.INFO: TCP Data received {"connection_id":174019,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:48:57] local.INFO: Processing buffer {"connection_id":174019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:48:57] local.INFO: IMEI packet received {"connection_id":174019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":174019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:49:02] local.INFO: TCP Data received {"connection_id":174019,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:49:02] local.INFO: Processing buffer {"connection_id":174019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:49:02] local.INFO: IMEI packet received {"connection_id":174019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":174019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:49:03] local.INFO: TCP Data received {"connection_id":174019,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a06f58d9a8012d3408c006aa7eb8001200fb25..."} 
[2026-09-05 07:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f58d9a8012d3408c006aa7eb8001200fb25..."} 
[2026-09-05 07:49:03] local.INFO: Processing buffer {"connection_id":174019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f58d9a8012d3408c006aa7eb8001200fb25..."} 
[2026-09-05 07:49:03] local.INFO: Packet analysis {"connection_id":174019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f58"} 
[2026-09-05 07:49:03] local.INFO: Extracted packet for processing {"connection_id":174019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f58"} 
[2026-09-05 07:49:03] local.INFO: GPS Element Parsed {"raw_longitude":758384832,"raw_latitude":111836856,"longitude_deg":75.8384832,"latitude_deg":11.1836856,"altitude":18,"angle":251,"satellites":37,"speed":42,"hex_longitude":"2d3408c0","hex_latitude":"06aa7eb8","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875066880001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399036353385332736,"note":"Value kept but may cause issues"} 
[2026-09-05 07:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3760153873764376576,"note":"Value kept but may cause issues"} 
[2026-09-05 07:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788574489000,"timestamp_ms":1788574489000,"timestamp_seconds":1788574489,"priority":1,"record_length":96,"hex_timestamp":"000001a06f58d9a8"} 
[2026-09-05 07:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:49: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-09-05 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 07:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:49: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-09-05 07:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875066880001,"66":27800,"47":206,"81":23296,"24":42,"16":399036353385332736,"45":3760153873764376576},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,81,24,16,45]} 
[2026-09-05 07:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875066880001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:49:03] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-05 07:49:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399036353385332736,"km_value":399036353385332.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3760153873764376576,"description":"Unknown IO ID 45"} 
[2026-09-05 07:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875066880001,"power":27800,"unknown_47":206,"unknown_81":23296,"ignition":42,"odometer":null,"unknown_45":3760153873764376576}} 
[2026-09-05 07:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":174019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:49:03] local.INFO: GPS data processed {"connection_id":174019,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:49:03] local.INFO: Acknowledgment sent {"connection_id":174019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:49:34] local.INFO: TCP Data received {"connection_id":174019,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a06f58f118012d33f2c006aa7508001200ed24..."} 
[2026-09-05 07:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f58f118012d33f2c006aa7508001200ed24..."} 
[2026-09-05 07:49:34] local.INFO: Processing buffer {"connection_id":174019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f58f118012d33f2c006aa7508001200ed24..."} 
[2026-09-05 07:49:34] local.INFO: Packet analysis {"connection_id":174019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f58"} 
[2026-09-05 07:49:34] local.INFO: Extracted packet for processing {"connection_id":174019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f58"} 
[2026-09-05 07:49:34] local.INFO: GPS Element Parsed {"raw_longitude":758379200,"raw_latitude":111834376,"longitude_deg":75.83792,"latitude_deg":11.1834376,"altitude":18,"angle":237,"satellites":36,"speed":38,"hex_longitude":"2d33f2c0","hex_latitude":"06aa7508","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875069184001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399036649738076160,"note":"Value kept but may cause issues"} 
[2026-09-05 07:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3749457824648706048,"note":"Value kept but may cause issues"} 
[2026-09-05 07:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788574495000,"timestamp_ms":1788574495000,"timestamp_seconds":1788574495,"priority":1,"record_length":96,"hex_timestamp":"000001a06f58f118"} 
[2026-09-05 07:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 07:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:49: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-09-05 07:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875069184001,"66":27647,"47":206,"81":23296,"24":38,"16":399036649738076160,"45":3749457824648706048},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,81,24,16,45]} 
[2026-09-05 07:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875069184001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:49:34] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-05 07:49:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399036649738076160,"km_value":399036649738076.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3749457824648706048,"description":"Unknown IO ID 45"} 
[2026-09-05 07:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875069184001,"power":27647,"unknown_47":206,"unknown_81":23296,"ignition":38,"odometer":null,"unknown_45":3749457824648706048}} 
[2026-09-05 07:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":174019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:49:34] local.INFO: GPS data processed {"connection_id":174019,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:49:34] local.INFO: Acknowledgment sent {"connection_id":174019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:49:57] local.INFO: TCP Data received {"connection_id":174020,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:49:57] local.INFO: Processing buffer {"connection_id":174020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:49:57] local.INFO: IMEI packet received {"connection_id":174020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":174020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:50:02] local.INFO: TCP Data received {"connection_id":174020,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:50:02] local.INFO: Processing buffer {"connection_id":174020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:50:02] local.INFO: IMEI packet received {"connection_id":174020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":174020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:50:03] local.INFO: TCP Data received {"connection_id":174020,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a06f591828012d33d64006aa5c30000e00e223..."} 
[2026-09-05 07:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f591828012d33d64006aa5c30000e00e223..."} 
[2026-09-05 07:50:03] local.INFO: Processing buffer {"connection_id":174020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f591828012d33d64006aa5c30000e00e223..."} 
[2026-09-05 07:50:03] local.INFO: Packet analysis {"connection_id":174020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f59"} 
[2026-09-05 07:50:03] local.INFO: Extracted packet for processing {"connection_id":174020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f59"} 
[2026-09-05 07:50:03] local.INFO: GPS Element Parsed {"raw_longitude":758371904,"raw_latitude":111828016,"longitude_deg":75.8371904,"latitude_deg":11.1828016,"altitude":14,"angle":226,"satellites":35,"speed":37,"hex_longitude":"2d33d640","hex_latitude":"06aa5c30","is_valid_coordinates":true} 
[2026-09-05 07:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875070720001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399037113594544128,"note":"Value kept but may cause issues"} 
[2026-09-05 07:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3743265375160436736,"note":"Value kept but may cause issues"} 
[2026-09-05 07:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788574505000,"timestamp_ms":1788574505000,"timestamp_seconds":1788574505,"priority":1,"record_length":96,"hex_timestamp":"000001a06f591828"} 
[2026-09-05 07:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:50: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-09-05 07:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 07:50:03] 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-09-05 07:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:50: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-09-05 07:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875070720001,"66":27745,"75":206,"81":23296,"24":37,"16":399037113594544128,"45":3743265375160436736},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-09-05 07:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875070720001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:50:03] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-05 07:50:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399037113594544128,"km_value":399037113594544.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3743265375160436736,"description":"Unknown IO ID 45"} 
[2026-09-05 07:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875070720001,"power":27745,"unknown_75":206,"unknown_81":23296,"ignition":37,"odometer":null,"unknown_45":3743265375160436736}} 
[2026-09-05 07:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":174020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:50:03] local.INFO: GPS data processed {"connection_id":174020,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:50:03] local.INFO: Acknowledgment sent {"connection_id":174020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:50:34] local.INFO: TCP Data received {"connection_id":174020,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a06f593768012d33c14006aa4760000c00d723..."} 
[2026-09-05 07:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f593768012d33c14006aa4760000c00d723..."} 
[2026-09-05 07:50:34] local.INFO: Processing buffer {"connection_id":174020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f593768012d33c14006aa4760000c00d723..."} 
[2026-09-05 07:50:34] local.INFO: Packet analysis {"connection_id":174020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f59"} 
[2026-09-05 07:50:34] local.INFO: Extracted packet for processing {"connection_id":174020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f59"} 
[2026-09-05 07:50:34] local.INFO: GPS Element Parsed {"raw_longitude":758366528,"raw_latitude":111822688,"longitude_deg":75.8366528,"latitude_deg":11.1822688,"altitude":12,"angle":215,"satellites":35,"speed":36,"hex_longitude":"2d33c140","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875073280001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399037478666764288,"note":"Value kept but may cause issues"} 
[2026-09-05 07:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3735243338322554880,"note":"Value kept but may cause issues"} 
[2026-09-05 07:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788574513000,"timestamp_ms":1788574513000,"timestamp_seconds":1788574513,"priority":1,"record_length":96,"hex_timestamp":"000001a06f593768"} 
[2026-09-05 07:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 07:50: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-09-05 07: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-09-05 07:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:50: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-09-05 07:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875073280001,"66":27767,"75":206,"81":23296,"24":36,"16":399037478666764288,"45":3735243338322554880},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-09-05 07:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875073280001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:50:34] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-05 07:50:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399037478666764288,"km_value":399037478666764.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3735243338322554880,"description":"Unknown IO ID 45"} 
[2026-09-05 07:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875073280001,"power":27767,"unknown_75":206,"unknown_81":23296,"ignition":36,"odometer":null,"unknown_45":3735243338322554880}} 
[2026-09-05 07:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":174020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:50:34] local.INFO: GPS data processed {"connection_id":174020,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:50:34] local.INFO: Acknowledgment sent {"connection_id":174020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:50:57] local.INFO: TCP Data received {"connection_id":171606,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:50:57] local.INFO: Processing buffer {"connection_id":171606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:50:57] local.INFO: IMEI packet received {"connection_id":171606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":171606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:51:02] local.INFO: TCP Data received {"connection_id":171606,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:51:02] local.INFO: Processing buffer {"connection_id":171606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:51:02] local.INFO: IMEI packet received {"connection_id":171606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":171606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:51:03] local.INFO: TCP Data received {"connection_id":171606,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06f5952c0012d33b48006aa3118000c00cb25..."} 
[2026-09-05 07:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f5952c0012d33b48006aa3118000c00cb25..."} 
[2026-09-05 07:51:03] local.INFO: Processing buffer {"connection_id":171606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f5952c0012d33b48006aa3118000c00cb25..."} 
[2026-09-05 07:51:03] local.INFO: Packet analysis {"connection_id":171606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f59"} 
[2026-09-05 07:51:03] local.INFO: Extracted packet for processing {"connection_id":171606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f59"} 
[2026-09-05 07:51:03] local.INFO: GPS Element Parsed {"raw_longitude":758363264,"raw_latitude":111816984,"longitude_deg":75.8363264,"latitude_deg":11.1816984,"altitude":12,"angle":203,"satellites":37,"speed":32,"hex_longitude":"2d33b480","hex_latitude":"06aa3118","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875075328001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399037796494344192,"note":"Value kept but may cause issues"} 
[2026-09-05 07:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3729332363810267136,"note":"Value kept but may cause issues"} 
[2026-09-05 07:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788574520000,"timestamp_ms":1788574520000,"timestamp_seconds":1788574520,"priority":1,"record_length":96,"hex_timestamp":"000001a06f5952c0"} 
[2026-09-05 07:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:51: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-09-05 07:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 07:51: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-09-05 07: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-09-05 07:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:51:03] 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-09-05 07:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875075328001,"66":27843,"75":206,"81":23296,"24":32,"16":399037796494344192,"45":3729332363810267136},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-09-05 07:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875075328001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:51:03] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-05 07:51:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399037796494344192,"km_value":399037796494344.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3729332363810267136,"description":"Unknown IO ID 45"} 
[2026-09-05 07:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875075328001,"power":27843,"unknown_75":206,"unknown_81":23296,"ignition":32,"odometer":null,"unknown_45":3729332363810267136}} 
[2026-09-05 07:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":171606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:51:03] local.INFO: GPS data processed {"connection_id":171606,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:51:03] local.INFO: Acknowledgment sent {"connection_id":171606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:51:34] local.INFO: TCP Data received {"connection_id":171606,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06f5952c0012d33b48006aa3118000c00cb25..."} 
[2026-09-05 07:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f5952c0012d33b48006aa3118000c00cb25..."} 
[2026-09-05 07:51:34] local.INFO: Processing buffer {"connection_id":171606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f5952c0012d33b48006aa3118000c00cb25..."} 
[2026-09-05 07:51:34] local.INFO: Packet analysis {"connection_id":171606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f59"} 
[2026-09-05 07:51:34] local.INFO: Extracted packet for processing {"connection_id":171606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f59"} 
[2026-09-05 07:51:34] local.INFO: GPS Element Parsed {"raw_longitude":758363264,"raw_latitude":111816984,"longitude_deg":75.8363264,"latitude_deg":11.1816984,"altitude":12,"angle":203,"satellites":37,"speed":32,"hex_longitude":"2d33b480","hex_latitude":"06aa3118","is_valid_coordinates":true} 
[2026-09-05 07:51: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-09-05 07:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875077120001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399037796494344192,"note":"Value kept but may cause issues"} 
[2026-09-05 07:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725743557855746048,"note":"Value kept but may cause issues"} 
[2026-09-05 07:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788574520000,"timestamp_ms":1788574520000,"timestamp_seconds":1788574520,"priority":1,"record_length":96,"hex_timestamp":"000001a06f5952c0"} 
[2026-09-05 07:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 07:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:51:34] 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-09-05 07:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875077120001,"66":27843,"75":206,"81":23296,"24":32,"16":399037796494344192,"45":3725743557855746048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-09-05 07:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875077120001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:51:34] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-05 07:51:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399037796494344192,"km_value":399037796494344.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725743557855746048,"description":"Unknown IO ID 45"} 
[2026-09-05 07:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875077120001,"power":27843,"unknown_75":206,"unknown_81":23296,"ignition":32,"odometer":null,"unknown_45":3725743557855746048}} 
[2026-09-05 07:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":171606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:51:34] local.INFO: GPS data processed {"connection_id":171606,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:51:34] local.INFO: Acknowledgment sent {"connection_id":171606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:52:02] local.INFO: TCP Data received {"connection_id":171310,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:52:02] local.INFO: Processing buffer {"connection_id":171310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:52:02] local.INFO: IMEI packet received {"connection_id":171310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":171310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:52:07] local.INFO: TCP Data received {"connection_id":171310,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:52:07] local.INFO: Processing buffer {"connection_id":171310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:52:07] local.INFO: IMEI packet received {"connection_id":171310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":171310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:52:08] local.INFO: TCP Data received {"connection_id":171310,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f596648012d33b00006aa2608000d00bb26..."} 
[2026-09-05 07:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f596648012d33b00006aa2608000d00bb26..."} 
[2026-09-05 07:52:08] local.INFO: Processing buffer {"connection_id":171310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f596648012d33b00006aa2608000d00bb26..."} 
[2026-09-05 07:52:08] local.INFO: Packet analysis {"connection_id":171310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f59"} 
[2026-09-05 07:52:08] local.INFO: Extracted packet for processing {"connection_id":171310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f59"} 
[2026-09-05 07:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758362112,"raw_latitude":111814152,"longitude_deg":75.8362112,"latitude_deg":11.1814152,"altitude":13,"angle":187,"satellites":38,"speed":0,"hex_longitude":"2d33b000","hex_latitude":"06aa2608","is_valid_coordinates":true} 
[2026-09-05 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-09-05 07:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875077120001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399037796494344192,"note":"Value kept but may cause issues"} 
[2026-09-05 07:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725743557855746048,"note":"Value kept but may cause issues"} 
[2026-09-05 07:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788574525000,"timestamp_ms":1788574525000,"timestamp_seconds":1788574525,"priority":1,"record_length":96,"hex_timestamp":"000001a06f596648"} 
[2026-09-05 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-09-05 07:52: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-09-05 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 07:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 07:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:52: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-09-05 07:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875077120001,"66":27365,"75":206,"81":23296,"24":0,"16":399037796494344192,"45":3725743557855746048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-09-05 07:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875077120001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:52:08] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-05 07:52:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399037796494344192,"km_value":399037796494344.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725743557855746048,"description":"Unknown IO ID 45"} 
[2026-09-05 07:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875077120001,"power":27365,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3725743557855746048}} 
[2026-09-05 07:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":171310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:52:08] local.INFO: GPS data processed {"connection_id":171310,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:52:08] local.INFO: Acknowledgment sent {"connection_id":171310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:52:12] local.INFO: TCP Data received {"connection_id":171310,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f5dfe10012d33b0c006aa1e38000c00bb23..."} 
[2026-09-05 07:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f5dfe10012d33b0c006aa1e38000c00bb23..."} 
[2026-09-05 07:52:12] local.INFO: Processing buffer {"connection_id":171310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f5dfe10012d33b0c006aa1e38000c00bb23..."} 
[2026-09-05 07:52:12] local.INFO: Packet analysis {"connection_id":171310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f5d"} 
[2026-09-05 07:52:12] local.INFO: Extracted packet for processing {"connection_id":171310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f5d"} 
[2026-09-05 07:52:12] local.INFO: GPS Element Parsed {"raw_longitude":758362304,"raw_latitude":111812152,"longitude_deg":75.8362304,"latitude_deg":11.1812152,"altitude":12,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d33b0c0","hex_latitude":"06aa1e38","is_valid_coordinates":true} 
[2026-09-05 07:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875078400001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399037796494344192,"note":"Value kept but may cause issues"} 
[2026-09-05 07:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724476920459823104,"note":"Value kept but may cause issues"} 
[2026-09-05 07:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788574826000,"timestamp_ms":1788574826000,"timestamp_seconds":1788574826,"priority":1,"record_length":96,"hex_timestamp":"000001a06f5dfe10"} 
[2026-09-05 07:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 07:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-05 07:52: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-09-05 07:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875078400001,"66":26223,"75":206,"81":23296,"24":0,"16":399037796494344192,"45":3724476920459823104},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-09-05 07:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875078400001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:52:12] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-05 07:52:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399037796494344192,"km_value":399037796494344.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724476920459823104,"description":"Unknown IO ID 45"} 
[2026-09-05 07:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875078400001,"power":26223,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3724476920459823104}} 
[2026-09-05 07:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":171310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:52:12] local.INFO: GPS data processed {"connection_id":171310,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:52:12] local.INFO: Acknowledgment sent {"connection_id":171310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:52:31] local.INFO: TCP Data received {"connection_id":174023,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174023,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:52:31] local.INFO: Processing buffer {"connection_id":174023,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:52:31] local.INFO: IMEI packet received {"connection_id":174023,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":174023,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:52:31] local.INFO: TCP Data received {"connection_id":174023,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f5f03c8012d7a904005daa2600006004d23..."} 
[2026-09-05 07:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f5f03c8012d7a904005daa2600006004d23..."} 
[2026-09-05 07:52:31] local.INFO: Processing buffer {"connection_id":174023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f5f03c8012d7a904005daa2600006004d23..."} 
[2026-09-05 07:52:31] local.INFO: Packet analysis {"connection_id":174023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f5f"} 
[2026-09-05 07:52:31] local.INFO: Extracted packet for processing {"connection_id":174023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f5f"} 
[2026-09-05 07:52:31] local.INFO: GPS Element Parsed {"raw_longitude":763007040,"raw_latitude":98214496,"longitude_deg":76.300704,"latitude_deg":9.8214496,"altitude":6,"angle":77,"satellites":35,"speed":0,"hex_longitude":"2d7a9040","hex_latitude":"05daa260","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875167232001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128378324824096768,"note":"Value kept but may cause issues"} 
[2026-09-05 07:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8831629263160631296,"note":"Value kept but may cause issues"} 
[2026-09-05 07:52:31] 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-09-05 07:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788574893000,"timestamp_ms":1788574893000,"timestamp_seconds":1788574893,"priority":1,"record_length":96,"hex_timestamp":"000001a06f5f03c8"} 
[2026-09-05 07:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07: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":148,"data_length":795,"current_offset":136} 
[2026-09-05 07:52:31] 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-09-05 07: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-09-05 07:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875167232001,"66":13961,"229":206,"85":15104,"24":0,"16":128378324824096768,"45":8831629263160631296},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 07:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875167232001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:52:31] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 07:52:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128378324824096768,"km_value":128378324824096.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8831629263160631296,"description":"Unknown IO ID 45"} 
[2026-09-05 07:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875167232001,"power":13961,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8831629263160631296}} 
[2026-09-05 07:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":174023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767333,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:52:32] local.INFO: GPS data processed {"connection_id":174023,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:52:32] local.INFO: Acknowledgment sent {"connection_id":174023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:52:46] local.INFO: TCP Data received {"connection_id":172716,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172716,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:52:46] local.INFO: Processing buffer {"connection_id":172716,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:52:46] local.INFO: IMEI packet received {"connection_id":172716,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 07:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":172716,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:53:03] local.INFO: TCP Data received {"connection_id":174023,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f5f55d0012d7a91c005daa2e00007005225..."} 
[2026-09-05 07:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f5f55d0012d7a91c005daa2e00007005225..."} 
[2026-09-05 07:53:03] local.INFO: Processing buffer {"connection_id":174023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f5f55d0012d7a91c005daa2e00007005225..."} 
[2026-09-05 07:53:03] local.INFO: Packet analysis {"connection_id":174023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f5f"} 
[2026-09-05 07:53:03] local.INFO: Extracted packet for processing {"connection_id":174023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f5f"} 
[2026-09-05 07:53:03] local.INFO: GPS Element Parsed {"raw_longitude":763007424,"raw_latitude":98214624,"longitude_deg":76.3007424,"latitude_deg":9.8214624,"altitude":7,"angle":82,"satellites":37,"speed":0,"hex_longitude":"2d7a91c0","hex_latitude":"05daa2e0","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875172608001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128378342003965952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8831629263160631296,"note":"Value kept but may cause issues"} 
[2026-09-05 07:53:03] 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-09-05 07:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788574914000,"timestamp_ms":1788574914000,"timestamp_seconds":1788574914,"priority":1,"record_length":96,"hex_timestamp":"000001a06f5f55d0"} 
[2026-09-05 07:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:53: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-09-05 07: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-05 07:53:03] 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-09-05 07: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-09-05 07:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875172608001,"66":13656,"229":206,"85":15104,"24":0,"16":128378342003965952,"45":8831629263160631296},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 07:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875172608001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:53:03] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 07:53:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128378342003965952,"km_value":128378342003965.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8831629263160631296,"description":"Unknown IO ID 45"} 
[2026-09-05 07:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875172608001,"power":13656,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8831629263160631296}} 
[2026-09-05 07:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":174023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:53:03] local.INFO: GPS data processed {"connection_id":174023,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:53:03] local.INFO: Acknowledgment sent {"connection_id":174023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:53:03] local.INFO: TCP Data received {"connection_id":171608,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:53:03] local.INFO: Processing buffer {"connection_id":171608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:53:03] local.INFO: IMEI packet received {"connection_id":171608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":171608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:53:25] local.INFO: TCP Data received {"connection_id":171609,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:53:25] local.INFO: Processing buffer {"connection_id":171609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:53:25] local.INFO: IMEI packet received {"connection_id":171609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":171609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:53:27] local.INFO: TCP Data received {"connection_id":171608,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:53:27] local.INFO: Processing buffer {"connection_id":171608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:53:27] local.INFO: IMEI packet received {"connection_id":171608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":171608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:53:31] local.INFO: TCP Data received {"connection_id":171609,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:53:31] local.INFO: Processing buffer {"connection_id":171609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:53:31] local.INFO: IMEI packet received {"connection_id":171609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":171609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:53:31] local.INFO: TCP Data received {"connection_id":171609,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f5fa7d8012d7a91c005daa2e00007005223..."} 
[2026-09-05 07:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f5fa7d8012d7a91c005daa2e00007005223..."} 
[2026-09-05 07:53:31] local.INFO: Processing buffer {"connection_id":171609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f5fa7d8012d7a91c005daa2e00007005223..."} 
[2026-09-05 07:53:31] local.INFO: Packet analysis {"connection_id":171609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f5f"} 
[2026-09-05 07:53:31] local.INFO: Extracted packet for processing {"connection_id":171609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f5f"} 
[2026-09-05 07:53:31] local.INFO: GPS Element Parsed {"raw_longitude":763007424,"raw_latitude":98214624,"longitude_deg":76.3007424,"latitude_deg":9.8214624,"altitude":7,"angle":82,"satellites":35,"speed":0,"hex_longitude":"2d7a91c0","hex_latitude":"05daa2e0","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875177984001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128378342003965952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8832051475625730048,"note":"Value kept but may cause issues"} 
[2026-09-05 07:53:31] 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-09-05 07:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788574935000,"timestamp_ms":1788574935000,"timestamp_seconds":1788574935,"priority":1,"record_length":96,"hex_timestamp":"000001a06f5fa7d8"} 
[2026-09-05 07:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:53:31] 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-09-05 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 07:53:31] 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-09-05 07: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-09-05 07:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875177984001,"66":13678,"229":206,"85":15104,"24":0,"16":128378342003965952,"45":8832051475625730048},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 07:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875177984001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:53:31] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 07:53:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128378342003965952,"km_value":128378342003965.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8832051475625730048,"description":"Unknown IO ID 45"} 
[2026-09-05 07:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875177984001,"power":13678,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8832051475625730048}} 
[2026-09-05 07:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":171609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:53:31] local.INFO: GPS data processed {"connection_id":171609,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:53:31] local.INFO: Acknowledgment sent {"connection_id":171609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:53:33] local.INFO: TCP Data received {"connection_id":171608,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:53:33] local.INFO: Processing buffer {"connection_id":171608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:53:33] local.INFO: IMEI packet received {"connection_id":171608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":171608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:53:33] local.INFO: TCP Data received {"connection_id":171608,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:53:33] local.INFO: Processing buffer {"connection_id":171608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:53:33] local.INFO: IMEI packet received {"connection_id":171608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":171608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:54:03] local.INFO: TCP Data received {"connection_id":171609,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f5ff9e0012d7a91c005daa2e00007005224..."} 
[2026-09-05 07:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f5ff9e0012d7a91c005daa2e00007005224..."} 
[2026-09-05 07:54:03] local.INFO: Processing buffer {"connection_id":171609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f5ff9e0012d7a91c005daa2e00007005224..."} 
[2026-09-05 07:54:03] local.INFO: Packet analysis {"connection_id":171609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f5f"} 
[2026-09-05 07:54:03] local.INFO: Extracted packet for processing {"connection_id":171609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f5f"} 
[2026-09-05 07:54:03] local.INFO: GPS Element Parsed {"raw_longitude":763007424,"raw_latitude":98214624,"longitude_deg":76.3007424,"latitude_deg":9.8214624,"altitude":7,"angle":82,"satellites":36,"speed":0,"hex_longitude":"2d7a91c0","hex_latitude":"05daa2e0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 07:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875183360001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128378342003965952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8832051475625730048,"note":"Value kept but may cause issues"} 
[2026-09-05 07:54:03] 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-09-05 07:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788574956000,"timestamp_ms":1788574956000,"timestamp_seconds":1788574956,"priority":1,"record_length":96,"hex_timestamp":"000001a06f5ff9e0"} 
[2026-09-05 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-09-05 07:54: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-09-05 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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-05 07:54: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-09-05 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-09-05 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-09-05 07:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875183360001,"66":13493,"229":206,"85":15104,"24":0,"16":128378342003965952,"45":8832051475625730048},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 07:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875183360001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:54:03] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 07:54:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128378342003965952,"km_value":128378342003965.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8832051475625730048,"description":"Unknown IO ID 45"} 
[2026-09-05 07:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875183360001,"power":13493,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8832051475625730048}} 
[2026-09-05 07:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":171609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767336,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:54:03] local.INFO: GPS data processed {"connection_id":171609,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:54:03] local.INFO: Acknowledgment sent {"connection_id":171609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:54:27] local.INFO: TCP Data received {"connection_id":172717,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172717,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:54:27] local.INFO: Processing buffer {"connection_id":172717,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:54:27] local.INFO: IMEI packet received {"connection_id":172717,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":172717,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:54:31] local.INFO: TCP Data received {"connection_id":172717,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172717,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:54:31] local.INFO: Processing buffer {"connection_id":172717,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:54:31] local.INFO: IMEI packet received {"connection_id":172717,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":172717,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:54:36] local.INFO: TCP Data received {"connection_id":172717,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172717,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:54:36] local.INFO: Processing buffer {"connection_id":172717,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:54:36] local.INFO: IMEI packet received {"connection_id":172717,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":172717,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:54:36] local.INFO: TCP Data received {"connection_id":172717,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f612e78012d7ab44005daad200008004b26..."} 
[2026-09-05 07:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f612e78012d7ab44005daad200008004b26..."} 
[2026-09-05 07:54:36] local.INFO: Processing buffer {"connection_id":172717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f612e78012d7ab44005daad200008004b26..."} 
[2026-09-05 07:54:36] local.INFO: Packet analysis {"connection_id":172717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f61"} 
[2026-09-05 07:54:36] local.INFO: Extracted packet for processing {"connection_id":172717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f61"} 
[2026-09-05 07:54:36] local.INFO: GPS Element Parsed {"raw_longitude":763016256,"raw_latitude":98217248,"longitude_deg":76.3016256,"latitude_deg":9.8217248,"altitude":8,"angle":75,"satellites":38,"speed":8,"hex_longitude":"2d7ab440","hex_latitude":"05daad20","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875208448001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128378801565466624,"note":"Value kept but may cause issues"} 
[2026-09-05 07:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8841480887346182144,"note":"Value kept but may cause issues"} 
[2026-09-05 07:54: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-09-05 07:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788575035000,"timestamp_ms":1788575035000,"timestamp_seconds":1788575035,"priority":1,"record_length":96,"hex_timestamp":"000001a06f612e78"} 
[2026-09-05 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-09-05 07:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":34,"data_length":795,"current_offset":136} 
[2026-09-05 07:54:36] 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-09-05 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-09-05 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-09-05 07:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875208448001,"66":13722,"229":206,"85":15104,"24":8,"16":128378801565466624,"45":8841480887346182144},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 07:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875208448001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:54:36] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 07:54:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128378801565466624,"km_value":128378801565466.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8841480887346182144,"description":"Unknown IO ID 45"} 
[2026-09-05 07:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875208448001,"power":13722,"unknown_229":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8841480887346182144}} 
[2026-09-05 07:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":172717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:54:36] local.INFO: GPS data processed {"connection_id":172717,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:54:36] local.INFO: Acknowledgment sent {"connection_id":172717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:54:40] local.INFO: TCP Data received {"connection_id":172717,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f615d58012d7ad78005dab7980008004927..."} 
[2026-09-05 07:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f615d58012d7ad78005dab7980008004927..."} 
[2026-09-05 07:54:40] local.INFO: Processing buffer {"connection_id":172717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f615d58012d7ad78005dab7980008004927..."} 
[2026-09-05 07:54:40] local.INFO: Packet analysis {"connection_id":172717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f61"} 
[2026-09-05 07:54:40] local.INFO: Extracted packet for processing {"connection_id":172717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f61"} 
[2026-09-05 07:54:40] local.INFO: GPS Element Parsed {"raw_longitude":763025280,"raw_latitude":98219928,"longitude_deg":76.302528,"latitude_deg":9.8219928,"altitude":8,"angle":73,"satellites":39,"speed":39,"hex_longitude":"2d7ad780","hex_latitude":"05dab798","is_valid_coordinates":true} 
[2026-09-05 07:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875208960001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128379248242065408,"note":"Value kept but may cause issues"} 
[2026-09-05 07:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8841762362322919424,"note":"Value kept but may cause issues"} 
[2026-09-05 07:54:40] 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-09-05 07:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788575047000,"timestamp_ms":1788575047000,"timestamp_seconds":1788575047,"priority":1,"record_length":96,"hex_timestamp":"000001a06f615d58"} 
[2026-09-05 07:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-05 07:54:40] 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-09-05 07:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":172717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":172717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":172717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875208960001,"66":13515,"229":206,"85":15104,"24":39,"16":128379248242065408,"45":8841762362322919424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 07:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875208960001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:54:40] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 07:54:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128379248242065408,"km_value":128379248242065.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8841762362322919424,"description":"Unknown IO ID 45"} 
[2026-09-05 07:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875208960001,"power":13515,"unknown_229":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8841762362322919424}} 
[2026-09-05 07:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":172717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767338,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:54:41] local.INFO: GPS data processed {"connection_id":172717,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:54:41] local.INFO: Acknowledgment sent {"connection_id":172717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:55:25] local.INFO: TCP Data received {"connection_id":171312,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171312,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:55:25] local.INFO: Processing buffer {"connection_id":171312,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:55:25] local.INFO: IMEI packet received {"connection_id":171312,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":171312,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:55:25] local.INFO: TCP Data received {"connection_id":171312,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171312,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:55:25] local.INFO: Processing buffer {"connection_id":171312,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:55:25] local.INFO: IMEI packet received {"connection_id":171312,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":171312,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:55:31] local.INFO: TCP Data received {"connection_id":171312,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171312,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:55:31] local.INFO: Processing buffer {"connection_id":171312,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:55:31] local.INFO: IMEI packet received {"connection_id":171312,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":171312,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:55:31] local.INFO: TCP Data received {"connection_id":171312,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f618080012d7afb8005dac0e00007004c25..."} 
[2026-09-05 07:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f618080012d7afb8005dac0e00007004c25..."} 
[2026-09-05 07:55:31] local.INFO: Processing buffer {"connection_id":171312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f618080012d7afb8005dac0e00007004c25..."} 
[2026-09-05 07:55:31] local.INFO: Packet analysis {"connection_id":171312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f61"} 
[2026-09-05 07:55:31] local.INFO: Extracted packet for processing {"connection_id":171312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f61"} 
[2026-09-05 07:55:31] local.INFO: GPS Element Parsed {"raw_longitude":763034496,"raw_latitude":98222304,"longitude_deg":76.3034496,"latitude_deg":9.8222304,"altitude":7,"angle":76,"satellites":37,"speed":45,"hex_longitude":"2d7afb80","hex_latitude":"05dac0e0","is_valid_coordinates":true} 
[2026-09-05 07:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875212032001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128379703508598784,"note":"Value kept but may cause issues"} 
[2026-09-05 07:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851684355252656128,"note":"Value kept but may cause issues"} 
[2026-09-05 07:55:31] 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-09-05 07:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788575056000,"timestamp_ms":1788575056000,"timestamp_seconds":1788575056,"priority":1,"record_length":96,"hex_timestamp":"000001a06f618080"} 
[2026-09-05 07:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:55: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-09-05 07:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-05 07:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875212032001,"66":13820,"229":206,"85":15104,"24":45,"16":128379703508598784,"45":8851684355252656128},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 07:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875212032001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:55:31] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 07:55:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128379703508598784,"km_value":128379703508598.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851684355252656128,"description":"Unknown IO ID 45"} 
[2026-09-05 07:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875212032001,"power":13820,"unknown_229":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8851684355252656128}} 
[2026-09-05 07:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":171312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:55:31] local.INFO: GPS data processed {"connection_id":171312,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:55:31] local.INFO: Acknowledgment sent {"connection_id":171312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:56:05] local.INFO: TCP Data received {"connection_id":171312,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f61a790012d7b1f0005dac9580006004b26..."} 
[2026-09-05 07:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f61a790012d7b1f0005dac9580006004b26..."} 
[2026-09-05 07:56:05] local.INFO: Processing buffer {"connection_id":171312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f61a790012d7b1f0005dac9580006004b26..."} 
[2026-09-05 07:56:05] local.INFO: Packet analysis {"connection_id":171312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f61"} 
[2026-09-05 07:56:05] local.INFO: Extracted packet for processing {"connection_id":171312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f61"} 
[2026-09-05 07:56:05] local.INFO: GPS Element Parsed {"raw_longitude":763043584,"raw_latitude":98224472,"longitude_deg":76.3043584,"latitude_deg":9.8224472,"altitude":6,"angle":75,"satellites":38,"speed":27,"hex_longitude":"2d7b1f00","hex_latitude":"05dac958","is_valid_coordinates":true} 
[2026-09-05 07:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875214336001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128380150185197568,"note":"Value kept but may cause issues"} 
[2026-09-05 07:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861817454414848000,"note":"Value kept but may cause issues"} 
[2026-09-05 07:56:05] 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-09-05 07:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788575066000,"timestamp_ms":1788575066000,"timestamp_seconds":1788575066,"priority":1,"record_length":96,"hex_timestamp":"000001a06f61a790"} 
[2026-09-05 07:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-05 07:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875214336001,"66":13678,"188":206,"85":15104,"24":27,"16":128380150185197568,"45":8861817454414848000},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-09-05 07:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875214336001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:56:05] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-05 07:56:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128380150185197568,"km_value":128380150185197.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861817454414848000,"description":"Unknown IO ID 45"} 
[2026-09-05 07:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875214336001,"power":13678,"unknown_188":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8861817454414848000}} 
[2026-09-05 07:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":171312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767340,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:56:05] local.INFO: GPS data processed {"connection_id":171312,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:56:05] local.INFO: Acknowledgment sent {"connection_id":171312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:56:26] local.INFO: TCP Data received {"connection_id":171313,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:56:26] local.INFO: Processing buffer {"connection_id":171313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:56:26] local.INFO: IMEI packet received {"connection_id":171313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":171313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:56:28] local.INFO: TCP Data received {"connection_id":171313,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:56:28] local.INFO: Processing buffer {"connection_id":171313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:56:28] local.INFO: IMEI packet received {"connection_id":171313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":171313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:56:31] local.INFO: TCP Data received {"connection_id":171313,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:56:31] local.INFO: Processing buffer {"connection_id":171313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:56:31] local.INFO: IMEI packet received {"connection_id":171313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":171313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:56:32] local.INFO: TCP Data received {"connection_id":171313,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f61d670012d7b410005dad2680007004926..."} 
[2026-09-05 07:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f61d670012d7b410005dad2680007004926..."} 
[2026-09-05 07:56:32] local.INFO: Processing buffer {"connection_id":171313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f61d670012d7b410005dad2680007004926..."} 
[2026-09-05 07:56:32] local.INFO: Packet analysis {"connection_id":171313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f61"} 
[2026-09-05 07:56:32] local.INFO: Extracted packet for processing {"connection_id":171313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f61"} 
[2026-09-05 07:56:32] local.INFO: GPS Element Parsed {"raw_longitude":763052288,"raw_latitude":98226792,"longitude_deg":76.3052288,"latitude_deg":9.8226792,"altitude":7,"angle":73,"satellites":38,"speed":32,"hex_longitude":"2d7b4100","hex_latitude":"05dad268","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875216896001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128380579681927168,"note":"Value kept but may cause issues"} 
[2026-09-05 07:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871809816088631296,"note":"Value kept but may cause issues"} 
[2026-09-05 07:56:32] 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-09-05 07:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788575078000,"timestamp_ms":1788575078000,"timestamp_seconds":1788575078,"priority":1,"record_length":96,"hex_timestamp":"000001a06f61d670"} 
[2026-09-05 07:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:56: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-09-05 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-05 07:56: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-09-05 07: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-09-05 07:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875216896001,"66":13765,"188":206,"85":15104,"24":32,"16":128380579681927168,"45":8871809816088631296},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-09-05 07:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875216896001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:56:32] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-05 07:56:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128380579681927168,"km_value":128380579681927.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871809816088631296,"description":"Unknown IO ID 45"} 
[2026-09-05 07:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875216896001,"power":13765,"unknown_188":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8871809816088631296}} 
[2026-09-05 07:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":171313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767341,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:56:32] local.INFO: GPS data processed {"connection_id":171313,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:56:32] local.INFO: Acknowledgment sent {"connection_id":171313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:56:36] local.INFO: TCP Data received {"connection_id":171313,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f620938012d7b638005dadc48000a004a27..."} 
[2026-09-05 07:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f620938012d7b638005dadc48000a004a27..."} 
[2026-09-05 07:56:36] local.INFO: Processing buffer {"connection_id":171313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f620938012d7b638005dadc48000a004a27..."} 
[2026-09-05 07:56:36] local.INFO: Packet analysis {"connection_id":171313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f62"} 
[2026-09-05 07:56:36] local.INFO: Extracted packet for processing {"connection_id":171313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f62"} 
[2026-09-05 07:56:36] local.INFO: GPS Element Parsed {"raw_longitude":763061120,"raw_latitude":98229320,"longitude_deg":76.306112,"latitude_deg":9.822932,"altitude":10,"angle":74,"satellites":39,"speed":23,"hex_longitude":"2d7b6380","hex_latitude":"05dadc48","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875219968001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128381022063558656,"note":"Value kept but may cause issues"} 
[2026-09-05 07:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881379965297387520,"note":"Value kept but may cause issues"} 
[2026-09-05 07:56: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-09-05 07:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788575091000,"timestamp_ms":1788575091000,"timestamp_seconds":1788575091,"priority":1,"record_length":96,"hex_timestamp":"000001a06f620938"} 
[2026-09-05 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-09-05 07:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":197,"data_length":795,"current_offset":136} 
[2026-09-05 07:56:36] 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-09-05 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-09-05 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-09-05 07:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875219968001,"66":13917,"188":206,"85":15104,"24":23,"16":128381022063558656,"45":8881379965297387520},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-09-05 07:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875219968001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:56:36] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-05 07:56:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128381022063558656,"km_value":128381022063558.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881379965297387520,"description":"Unknown IO ID 45"} 
[2026-09-05 07:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875219968001,"power":13917,"unknown_188":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8881379965297387520}} 
[2026-09-05 07:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":171313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:56:36] local.INFO: GPS data processed {"connection_id":171313,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:56:36] local.INFO: Acknowledgment sent {"connection_id":171313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:57:08] local.INFO: TCP Data received {"connection_id":171313,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f63ab30012d7c104005db3ae00007015d1f..."} 
[2026-09-05 07:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f63ab30012d7c104005db3ae00007015d1f..."} 
[2026-09-05 07:57:08] local.INFO: Processing buffer {"connection_id":171313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f63ab30012d7c104005db3ae00007015d1f..."} 
[2026-09-05 07:57:08] local.INFO: Packet analysis {"connection_id":171313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f63"} 
[2026-09-05 07:57:08] local.INFO: Extracted packet for processing {"connection_id":171313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f63"} 
[2026-09-05 07:57:08] local.INFO: GPS Element Parsed {"raw_longitude":763105344,"raw_latitude":98253536,"longitude_deg":76.3105344,"latitude_deg":9.8253536,"altitude":7,"angle":349,"satellites":31,"speed":32,"hex_longitude":"2d7c1040","hex_latitude":"05db3ae0","is_valid_coordinates":true} 
[2026-09-05 07:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875247616001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128384329188376576,"note":"Value kept but may cause issues"} 
[2026-09-05 07:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942389666503905280,"note":"Value kept but may cause issues"} 
[2026-09-05 07:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788575198000,"timestamp_ms":1788575198000,"timestamp_seconds":1788575198,"priority":1,"record_length":96,"hex_timestamp":"000001a06f63ab30"} 
[2026-09-05 07:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:57: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-09-05 07:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-05 07:57:08] 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-09-05 07:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875247616001,"66":13798,"186":206,"85":15104,"24":32,"16":128384329188376576,"45":8942389666503905280},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-09-05 07:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875247616001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:57:08] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-05 07:57:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128384329188376576,"km_value":128384329188376.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942389666503905280,"description":"Unknown IO ID 45"} 
[2026-09-05 07:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875247616001,"power":13798,"unknown_186":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8942389666503905280}} 
[2026-09-05 07:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":171313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767343,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:57:08] local.INFO: GPS data processed {"connection_id":171313,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:57:08] local.INFO: Acknowledgment sent {"connection_id":171313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:57:26] local.INFO: TCP Data received {"connection_id":172718,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172718,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:57:26] local.INFO: Processing buffer {"connection_id":172718,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:57:26] local.INFO: IMEI packet received {"connection_id":172718,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":172718,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:57:26] local.INFO: TCP Data received {"connection_id":172718,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172718,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:57:26] local.INFO: Processing buffer {"connection_id":172718,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:57:26] local.INFO: IMEI packet received {"connection_id":172718,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":172718,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:57:31] local.INFO: TCP Data received {"connection_id":172718,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172718,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:57:31] local.INFO: Processing buffer {"connection_id":172718,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:57:31] local.INFO: IMEI packet received {"connection_id":172718,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":172718,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:57:32] local.INFO: TCP Data received {"connection_id":172718,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f63ce58012d7c090005db5e080005015b1b..."} 
[2026-09-05 07:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f63ce58012d7c090005db5e080005015b1b..."} 
[2026-09-05 07:57:32] local.INFO: Processing buffer {"connection_id":172718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f63ce58012d7c090005db5e080005015b1b..."} 
[2026-09-05 07:57:32] local.INFO: Packet analysis {"connection_id":172718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f63"} 
[2026-09-05 07:57:32] local.INFO: Extracted packet for processing {"connection_id":172718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f63"} 
[2026-09-05 07:57:32] local.INFO: GPS Element Parsed {"raw_longitude":763103488,"raw_latitude":98262536,"longitude_deg":76.3103488,"latitude_deg":9.8262536,"altitude":5,"angle":347,"satellites":27,"speed":45,"hex_longitude":"2d7c0900","hex_latitude":"05db5e08","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875250688001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128384775864975360,"note":"Value kept but may cause issues"} 
[2026-09-05 07:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939715654227517440,"note":"Value kept but may cause issues"} 
[2026-09-05 07:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788575207000,"timestamp_ms":1788575207000,"timestamp_seconds":1788575207,"priority":1,"record_length":96,"hex_timestamp":"000001a06f63ce58"} 
[2026-09-05 07:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:57: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-09-05 07: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-09-05 07: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-09-05 07: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-09-05 07:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875250688001,"66":13830,"186":206,"85":15104,"24":45,"16":128384775864975360,"45":8939715654227517440},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-09-05 07:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875250688001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:57:32] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-05 07:57:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128384775864975360,"km_value":128384775864975.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939715654227517440,"description":"Unknown IO ID 45"} 
[2026-09-05 07:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875250688001,"power":13830,"unknown_186":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8939715654227517440}} 
[2026-09-05 07:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":172718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:57:32] local.INFO: GPS data processed {"connection_id":172718,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:57:32] local.INFO: Acknowledgment sent {"connection_id":172718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:58:03] local.INFO: TCP Data received {"connection_id":172718,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f63f180012d7c00c005db80600001015a1a..."} 
[2026-09-05 07:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f63f180012d7c00c005db80600001015a1a..."} 
[2026-09-05 07:58:03] local.INFO: Processing buffer {"connection_id":172718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f63f180012d7c00c005db80600001015a1a..."} 
[2026-09-05 07:58:03] local.INFO: Packet analysis {"connection_id":172718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f63"} 
[2026-09-05 07:58:03] local.INFO: Extracted packet for processing {"connection_id":172718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f63"} 
[2026-09-05 07:58:03] local.INFO: GPS Element Parsed {"raw_longitude":763101376,"raw_latitude":98271328,"longitude_deg":76.3101376,"latitude_deg":9.8271328,"altitude":1,"angle":346,"satellites":26,"speed":36,"hex_longitude":"2d7c00c0","hex_latitude":"05db8060","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875252992001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128385213951639552,"note":"Value kept but may cause issues"} 
[2026-09-05 07:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937674960648669184,"note":"Value kept but may cause issues"} 
[2026-09-05 07:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788575216000,"timestamp_ms":1788575216000,"timestamp_seconds":1788575216,"priority":1,"record_length":96,"hex_timestamp":"000001a06f63f180"} 
[2026-09-05 07:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07: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":6,"data_length":795,"current_offset":136} 
[2026-09-05 07:58:03] local.WARNING: Large IO value detected {"io_id":24,"raw_value":1688858465992704,"note":"Value kept but may cause issues"} 
[2026-09-05 07:58:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627261620224,"note":"Value kept but may cause issues"} 
[2026-09-05 07:58:03] local.WARNING: Large IO value detected {"io_id":218,"raw_value":4055891977,"note":"Value kept but may cause issues"} 
[2026-09-05 07:58:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2816868558,"corrected_to":0} 
[2026-09-05 07:58:03] local.WARNING: Large IO value detected {"io_id":61,"raw_value":3489738108,"note":"Value kept but may cause issues"} 
[2026-09-05 07:58:03] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2147867376,"note":"Value kept but may cause issues"} 
[2026-09-05 07:58:03] local.WARNING: Large IO value detected {"io_id":239,"raw_value":-6341060577243889638,"note":"Value kept but may cause issues"} 
[2026-09-05 07:58:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":469893120,"corrected_to":0} 
[2026-09-05 07:58:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3673184256,"note":"Value kept but may cause issues"} 
[2026-09-05 07:58:03] local.WARNING: Large IO value detected {"io_id":231,"raw_value":-2305511523449043494,"note":"Value kept but may cause issues"} 
[2026-09-05 07:58:03] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,186,85,24,241,157,16,29,160,171,45,64,58,7,31,10,66,28,124,192,22,9,34,187,69,1,240,6,227,111,218,4,113,205,8,61,33,248,35,239,52,230,2,200,5,231],"length":528,"final_offset":658,"validated_count":46,"validation_warnings":[{"io_id":205,"original":2816868558,"validated":0},{"io_id":200,"original":469893120,"validated":0}]} 
[2026-09-05 07:58:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360669616691544064,"timestamp_seconds":360669616691544.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 07:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875252992001,"66":13646,"186":206,"85":15104,"24":36,"16":128385213951639552,"45":8937674960648669184},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-09-05 07:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875252992001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:58:03] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-05 07:58:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128385213951639552,"km_value":128385213951639.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937674960648669184,"description":"Unknown IO ID 45"} 
[2026-09-05 07:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875252992001,"power":13646,"unknown_186":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8937674960648669184}} 
[2026-09-05 07:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":172718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767345,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:58:03] local.INFO: GPS data processed {"connection_id":172718,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:58:03] local.INFO: Acknowledgment sent {"connection_id":172718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:58:06] local.INFO: TCP Data received {"connection_id":174025,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174025,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:58:06] local.INFO: Processing buffer {"connection_id":174025,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 07:58:06] local.INFO: IMEI packet received {"connection_id":174025,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 07:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":174025,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:58:32] local.INFO: TCP Data received {"connection_id":171314,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171314,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:58:32] local.INFO: Processing buffer {"connection_id":171314,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:58:32] local.INFO: IMEI packet received {"connection_id":171314,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":171314,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:58:36] local.INFO: TCP Data received {"connection_id":171314,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171314,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:58:36] local.INFO: Processing buffer {"connection_id":171314,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:58:36] local.INFO: IMEI packet received {"connection_id":171314,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":171314,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:58:37] local.INFO: TCP Data received {"connection_id":172719,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:58:37] local.INFO: Processing buffer {"connection_id":172719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:58:37] local.INFO: IMEI packet received {"connection_id":172719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":172719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:58:40] local.INFO: TCP Data received {"connection_id":171314,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171314,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:58:40] local.INFO: Processing buffer {"connection_id":171314,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:58:40] local.INFO: IMEI packet received {"connection_id":171314,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":171314,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:58:40] local.INFO: TCP Data received {"connection_id":172719,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f63d628012d36d88006a9a5d8000b006d2a..."} 
[2026-09-05 07:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f63d628012d36d88006a9a5d8000b006d2a..."} 
[2026-09-05 07:58:40] local.INFO: Processing buffer {"connection_id":172719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f63d628012d36d88006a9a5d8000b006d2a..."} 
[2026-09-05 07:58:40] local.INFO: Packet analysis {"connection_id":172719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f63"} 
[2026-09-05 07:58:40] local.INFO: Extracted packet for processing {"connection_id":172719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f63"} 
[2026-09-05 07:58:40] local.INFO: GPS Element Parsed {"raw_longitude":758569088,"raw_latitude":111781336,"longitude_deg":75.8569088,"latitude_deg":11.1781336,"altitude":11,"angle":109,"satellites":42,"speed":50,"hex_longitude":"2d36d880","hex_latitude":"06a9a5d8","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875252224001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399049023538855936,"note":"Value kept but may cause issues"} 
[2026-09-05 07:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3945716252146679808,"note":"Value kept but may cause issues"} 
[2026-09-05 07:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788575209000,"timestamp_ms":1788575209000,"timestamp_seconds":1788575209,"priority":1,"record_length":96,"hex_timestamp":"000001a06f63d628"} 
[2026-09-05 07:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:58:40] 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-09-05 07: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 07:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":172719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":172719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":172719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875252224001,"66":27865,"76":206,"81":23296,"24":50,"16":399049023538855936,"45":3945716252146679808},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,81,24,16,45]} 
[2026-09-05 07:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875252224001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:58:40] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-05 07:58:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399049023538855936,"km_value":399049023538855.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3945716252146679808,"description":"Unknown IO ID 45"} 
[2026-09-05 07:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875252224001,"power":27865,"unknown_76":206,"unknown_81":23296,"ignition":50,"odometer":null,"unknown_45":3945716252146679808}} 
[2026-09-05 07:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":172719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:58:40] local.INFO: GPS data processed {"connection_id":172719,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:58:40] local.INFO: Acknowledgment sent {"connection_id":172719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:58:40] local.INFO: TCP Data received {"connection_id":171314,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f641c78012d7bf88005dba4800000015b1a..."} 
[2026-09-05 07:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f641c78012d7bf88005dba4800000015b1a..."} 
[2026-09-05 07:58:40] local.INFO: Processing buffer {"connection_id":171314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f641c78012d7bf88005dba4800000015b1a..."} 
[2026-09-05 07:58:40] local.INFO: Packet analysis {"connection_id":171314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f64"} 
[2026-09-05 07:58:40] local.INFO: Extracted packet for processing {"connection_id":171314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f64"} 
[2026-09-05 07:58:40] local.INFO: GPS Element Parsed {"raw_longitude":763099264,"raw_latitude":98280576,"longitude_deg":76.3099264,"latitude_deg":9.8280576,"altitude":0,"angle":347,"satellites":26,"speed":39,"hex_longitude":"2d7bf880","hex_latitude":"05dba480","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875255296001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128385673513140224,"note":"Value kept but may cause issues"} 
[2026-09-05 07:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935352792093057024,"note":"Value kept but may cause issues"} 
[2026-09-05 07:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788575227000,"timestamp_ms":1788575227000,"timestamp_seconds":1788575227,"priority":1,"record_length":96,"hex_timestamp":"000001a06f641c78"} 
[2026-09-05 07:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-05 07:58: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-09-05 07: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-09-05 07:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":171314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":171314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":171314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875255296001,"66":13830,"186":206,"85":15104,"24":39,"16":128385673513140224,"45":8935352792093057024},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-09-05 07:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875255296001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:58:40] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-05 07:58:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128385673513140224,"km_value":128385673513140.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935352792093057024,"description":"Unknown IO ID 45"} 
[2026-09-05 07:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875255296001,"power":13830,"unknown_186":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8935352792093057024}} 
[2026-09-05 07:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":171314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767347,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:58:40] local.INFO: GPS data processed {"connection_id":171314,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:58:40] local.INFO: Acknowledgment sent {"connection_id":171314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:58:41] local.INFO: TCP Data received {"connection_id":171314,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f643fa0012d7bf0c005dbc9680000015c1d..."} 
[2026-09-05 07:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f643fa0012d7bf0c005dbc9680000015c1d..."} 
[2026-09-05 07:58:41] local.INFO: Processing buffer {"connection_id":171314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f643fa0012d7bf0c005dbc9680000015c1d..."} 
[2026-09-05 07:58:41] local.INFO: Packet analysis {"connection_id":171314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f64"} 
[2026-09-05 07:58:41] local.INFO: Extracted packet for processing {"connection_id":171314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f64"} 
[2026-09-05 07:58:41] local.INFO: GPS Element Parsed {"raw_longitude":763097280,"raw_latitude":98290024,"longitude_deg":76.309728,"latitude_deg":9.8290024,"altitude":0,"angle":348,"satellites":29,"speed":44,"hex_longitude":"2d7bf0c0","hex_latitude":"05dbc968","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875258112001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128386141664575488,"note":"Value kept but may cause issues"} 
[2026-09-05 07:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8933030623537561600,"note":"Value kept but may cause issues"} 
[2026-09-05 07:58:41] 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-09-05 07:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788575236000,"timestamp_ms":1788575236000,"timestamp_seconds":1788575236,"priority":1,"record_length":96,"hex_timestamp":"000001a06f643fa0"} 
[2026-09-05 07:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:58: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-09-05 07: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-05 07:58:41] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2251808419414016,"note":"Value kept but may cause issues"} 
[2026-09-05 07:58:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627261619200,"note":"Value kept but may cause issues"} 
[2026-09-05 07:58:41] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3673276416,"note":"Value kept but may cause issues"} 
[2026-09-05 07:58:41] local.WARNING: Large IO value detected {"io_id":240,"raw_value":-576450856260272120,"note":"Value kept but may cause issues"} 
[2026-09-05 07:58:41] local.WARNING: Large IO value detected {"io_id":28,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-09-05 07:58:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-09-05 07:58:41] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221609202,"note":"Value kept but may cause issues"} 
[2026-09-05 07:58:41] local.WARNING: Large IO value detected {"io_id":69,"raw_value":2684431740,"note":"Value kept but may cause issues"} 
[2026-09-05 07:58:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":470286336,"corrected_to":0} 
[2026-09-05 07:58:41] local.WARNING: Large IO value detected {"io_id":61,"raw_value":-3458433027682597414,"note":"Value kept but may cause issues"} 
[2026-09-05 07:58:41] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,186,85,24,241,157,16,30,160,45,192,128,1,26,10,66,29,206,94,5,27,171,64,240,230,227,28,111,219,4,113,205,33,69,232,35,239,54,2,200,9,8,61],"length":528,"final_offset":658,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0},{"io_id":200,"original":470286336,"validated":0}]} 
[2026-09-05 07:58:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":381642206543872,"timestamp_seconds":381642206543.872,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 07:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":171314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":171314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":171314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875258112001,"66":13928,"185":206,"85":15104,"24":44,"16":128386141664575488,"45":8933030623537561600},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-09-05 07:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875258112001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:58:41] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-05 07:58:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128386141664575488,"km_value":128386141664575.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8933030623537561600,"description":"Unknown IO ID 45"} 
[2026-09-05 07:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875258112001,"power":13928,"unknown_185":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8933030623537561600}} 
[2026-09-05 07:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":171314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767348,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:58:41] local.INFO: GPS data processed {"connection_id":171314,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:58:41] local.INFO: Acknowledgment sent {"connection_id":171314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:58:57] local.INFO: TCP Data received {"connection_id":172720,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:58:57] local.INFO: Processing buffer {"connection_id":172720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:58:57] local.INFO: IMEI packet received {"connection_id":172720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":172720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:58:58] local.INFO: TCP Data received {"connection_id":172720,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:58:58] local.INFO: Processing buffer {"connection_id":172720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:58:58] local.INFO: IMEI packet received {"connection_id":172720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":172720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:59:02] local.INFO: TCP Data received {"connection_id":172720,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:59:02] local.INFO: Processing buffer {"connection_id":172720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:59:02] local.INFO: IMEI packet received {"connection_id":172720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 07:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":172720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:59:03] local.INFO: TCP Data received {"connection_id":172720,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f63f180012d36fb4006a99d00000a006429..."} 
[2026-09-05 07:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f63f180012d36fb4006a99d00000a006429..."} 
[2026-09-05 07:59:03] local.INFO: Processing buffer {"connection_id":172720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f63f180012d36fb4006a99d00000a006429..."} 
[2026-09-05 07:59:03] local.INFO: Packet analysis {"connection_id":172720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f63"} 
[2026-09-05 07:59:03] local.INFO: Extracted packet for processing {"connection_id":172720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f63"} 
[2026-09-05 07:59:03] local.INFO: GPS Element Parsed {"raw_longitude":758577984,"raw_latitude":111779072,"longitude_deg":75.8577984,"latitude_deg":11.1779072,"altitude":10,"angle":100,"satellites":41,"speed":51,"hex_longitude":"2d36fb40","hex_latitude":"06a99d00","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875253504001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399049457330552832,"note":"Value kept but may cause issues"} 
[2026-09-05 07:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3952049439121987584,"note":"Value kept but may cause issues"} 
[2026-09-05 07:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788575216000,"timestamp_ms":1788575216000,"timestamp_seconds":1788575216,"priority":1,"record_length":96,"hex_timestamp":"000001a06f63f180"} 
[2026-09-05 07:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:59: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-09-05 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 07:59: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-09-05 07: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-09-05 07:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:59: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-09-05 07:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875253504001,"66":27865,"76":206,"81":23296,"24":51,"16":399049457330552832,"45":3952049439121987584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,81,24,16,45]} 
[2026-09-05 07:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875253504001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:59:03] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-05 07:59:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399049457330552832,"km_value":399049457330552.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3952049439121987584,"description":"Unknown IO ID 45"} 
[2026-09-05 07:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875253504001,"power":27865,"unknown_76":206,"unknown_81":23296,"ignition":51,"odometer":null,"unknown_45":3952049439121987584}} 
[2026-09-05 07:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":172720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:59:03] local.INFO: GPS data processed {"connection_id":172720,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:59:03] local.INFO: Acknowledgment sent {"connection_id":172720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:59:23] local.INFO: TCP Data received {"connection_id":174027,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174027,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:59:23] local.INFO: Processing buffer {"connection_id":174027,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 07:59:23] local.INFO: IMEI packet received {"connection_id":174027,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 07:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":174027,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 07:59:34] local.INFO: TCP Data received {"connection_id":174027,"ip":"42.109.136.4","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-05 07:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174027,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-05 07:59:34] local.INFO: Processing buffer {"connection_id":174027,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-05 07:59:34] local.INFO: IMEI packet received {"connection_id":174027,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":174027,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:59:34] local.INFO: TCP Data received {"connection_id":172720,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f6410c0012d371e0006a99648000c006629..."} 
[2026-09-05 07:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f6410c0012d371e0006a99648000c006629..."} 
[2026-09-05 07:59:34] local.INFO: Processing buffer {"connection_id":172720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f6410c0012d371e0006a99648000c006629..."} 
[2026-09-05 07:59:34] local.INFO: Packet analysis {"connection_id":172720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f64"} 
[2026-09-05 07:59:34] local.INFO: Extracted packet for processing {"connection_id":172720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f64"} 
[2026-09-05 07:59:34] local.INFO: GPS Element Parsed {"raw_longitude":758586880,"raw_latitude":111777352,"longitude_deg":75.858688,"latitude_deg":11.1777352,"altitude":12,"angle":102,"satellites":41,"speed":39,"hex_longitude":"2d371e00","hex_latitude":"06a99648","is_valid_coordinates":true} 
[2026-09-05 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-09-05 07:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875255296001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399049891122249728,"note":"Value kept but may cause issues"} 
[2026-09-05 07:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3961830694562103296,"note":"Value kept but may cause issues"} 
[2026-09-05 07:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 07:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788575224000,"timestamp_ms":1788575224000,"timestamp_seconds":1788575224,"priority":1,"record_length":96,"hex_timestamp":"000001a06f6410c0"} 
[2026-09-05 07:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 07:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07: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-09-05 07:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 07:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 07:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 07:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875255296001,"66":27865,"51":206,"81":23296,"24":39,"16":399049891122249728,"45":3961830694562103296},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,81,24,16,45]} 
[2026-09-05 07:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 07:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 07:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875255296001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:59:34] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-05 07:59:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 07:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399049891122249728,"km_value":399049891122249.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3961830694562103296,"description":"Unknown IO ID 45"} 
[2026-09-05 07:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875255296001,"power":27865,"unknown_51":206,"unknown_81":23296,"ignition":39,"odometer":null,"unknown_45":3961830694562103296}} 
[2026-09-05 07:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":172720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:59:34] local.INFO: GPS data processed {"connection_id":172720,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:59:34] local.INFO: Acknowledgment sent {"connection_id":172720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:59:36] local.INFO: TCP Data received {"connection_id":174027,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f65ba88012d7bcdc005dd82380000015e1e..."} 
[2026-09-05 07:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f65ba88012d7bcdc005dd82380000015e1e..."} 
[2026-09-05 07:59:36] local.INFO: Processing buffer {"connection_id":174027,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a06f..."} 
[2026-09-05 07:59:36] local.INFO: IMEI packet received {"connection_id":174027,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 07:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":174027,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 07:59:39] local.INFO: TCP Data received {"connection_id":174027,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f65d5e0012d7bc78005dda8a00000015e1d..."} 
[2026-09-05 07:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f65d5e0012d7bc78005dda8a00000015e1d..."} 
[2026-09-05 07:59:39] local.INFO: Processing buffer {"connection_id":174027,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a06f65ba88012d7bcdc005dd82380000015e1e..."} 
[2026-09-05 07:59:39] local.INFO: Packet analysis {"connection_id":174027,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a06f65"} 
[2026-09-05 07:59:39] local.INFO: Extracted packet for processing {"connection_id":174027,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f65"} 
[2026-09-05 07:59:39] local.INFO: GPS Element Parsed {"raw_longitude":763088320,"raw_latitude":98402872,"longitude_deg":76.308832,"latitude_deg":9.8402872,"altitude":0,"angle":350,"satellites":30,"speed":54,"hex_longitude":"2d7bcdc0","hex_latitude":"05dd8238","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875283456001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128391634927747072,"note":"Value kept but may cause issues"} 
[2026-09-05 07:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922686418172381184,"note":"Value kept but may cause issues"} 
[2026-09-05 07:59: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-09-05 07:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788575333000,"timestamp_ms":1788575333000,"timestamp_seconds":1788575333,"priority":1,"record_length":96,"hex_timestamp":"000001a06f65ba88"} 
[2026-09-05 07:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:59:39] 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-09-05 07: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-05 07:59:39] 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-09-05 07: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-09-05 07:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875283456001,"66":13678,"169":206,"85":15104,"24":54,"16":128391634927747072,"45":8922686418172381184},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-09-05 07:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875283456001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:59:39] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-05 07:59:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128391634927747072,"km_value":128391634927747.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922686418172381184,"description":"Unknown IO ID 45"} 
[2026-09-05 07:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875283456001,"power":13678,"unknown_169":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8922686418172381184}} 
[2026-09-05 07:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":174027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767351,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:59:39] local.INFO: GPS data processed {"connection_id":174027,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:59:39] local.INFO: Acknowledgment sent {"connection_id":174027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:59:39] local.INFO: Packet analysis {"connection_id":174027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f65"} 
[2026-09-05 07:59:39] local.INFO: Extracted packet for processing {"connection_id":174027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f65"} 
[2026-09-05 07:59:39] local.INFO: GPS Element Parsed {"raw_longitude":763086720,"raw_latitude":98412704,"longitude_deg":76.308672,"latitude_deg":9.8412704,"altitude":0,"angle":350,"satellites":29,"speed":54,"hex_longitude":"2d7bc780","hex_latitude":"05dda8a0","is_valid_coordinates":true} 
[2026-09-05 07: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-09-05 07:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875285248001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128392120259051520,"note":"Value kept but may cause issues"} 
[2026-09-05 07:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920997568314488832,"note":"Value kept but may cause issues"} 
[2026-09-05 07:59: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-09-05 07:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788575340000,"timestamp_ms":1788575340000,"timestamp_seconds":1788575340,"priority":1,"record_length":96,"hex_timestamp":"000001a06f65d5e0"} 
[2026-09-05 07:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-05 07:59: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-09-05 07: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-09-05 07:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875285248001,"66":13917,"169":206,"85":15104,"24":54,"16":128392120259051520,"45":8920997568314488832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-09-05 07:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875285248001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:59:39] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-05 07:59:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128392120259051520,"km_value":128392120259051.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920997568314488832,"description":"Unknown IO ID 45"} 
[2026-09-05 07:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875285248001,"power":13917,"unknown_169":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8920997568314488832}} 
[2026-09-05 07:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":174027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767352,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:59:40] local.INFO: GPS data processed {"connection_id":174027,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:59:40] local.INFO: Acknowledgment sent {"connection_id":174027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:59:40] local.INFO: TCP Data received {"connection_id":174027,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f65f138012d7bc04005ddce900000015d1d..."} 
[2026-09-05 07:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f65f138012d7bc04005ddce900000015d1d..."} 
[2026-09-05 07:59:40] local.INFO: Processing buffer {"connection_id":174027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f65f138012d7bc04005ddce900000015d1d..."} 
[2026-09-05 07:59:40] local.INFO: Packet analysis {"connection_id":174027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f65"} 
[2026-09-05 07:59:40] local.INFO: Extracted packet for processing {"connection_id":174027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f65"} 
[2026-09-05 07:59:40] local.INFO: GPS Element Parsed {"raw_longitude":763084864,"raw_latitude":98422416,"longitude_deg":76.3084864,"latitude_deg":9.8422416,"altitude":0,"angle":349,"satellites":29,"speed":55,"hex_longitude":"2d7bc040","hex_latitude":"05ddce90","is_valid_coordinates":true} 
[2026-09-05 07:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 07:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875287040001,"note":"Value kept but may cause issues"} 
[2026-09-05 07:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128392597000421376,"note":"Value kept but may cause issues"} 
[2026-09-05 07:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919238349712564224,"note":"Value kept but may cause issues"} 
[2026-09-05 07:59: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-09-05 07:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788575347000,"timestamp_ms":1788575347000,"timestamp_seconds":1788575347,"priority":1,"record_length":96,"hex_timestamp":"000001a06f65f138"} 
[2026-09-05 07:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 07:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 07:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-05 07:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 07:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 07:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 07:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 07:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":174027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 07:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":174027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":174027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 07:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 07:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 07:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 07:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875287040001,"66":13820,"169":206,"85":15104,"24":55,"16":128392597000421376,"45":8919238349712564224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-09-05 07:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 07:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 07:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875287040001,"description":"Unknown IO ID 0"} 
[2026-09-05 07:59:40] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-05 07:59:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 07:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128392597000421376,"km_value":128392597000421.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 07:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919238349712564224,"description":"Unknown IO ID 45"} 
[2026-09-05 07:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875287040001,"power":13820,"unknown_169":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":8919238349712564224}} 
[2026-09-05 07:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":174027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767353,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 07:59:40] local.INFO: GPS data processed {"connection_id":174027,"processed":1,"errors":0,"total":1} 
[2026-09-05 07:59:40] local.INFO: Acknowledgment sent {"connection_id":174027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 07:59:57] local.INFO: TCP Data received {"connection_id":172721,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:59:57] local.INFO: Processing buffer {"connection_id":172721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 07:59:57] local.INFO: IMEI packet received {"connection_id":172721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 07:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":172721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:00:02] local.INFO: TCP Data received {"connection_id":172721,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:00:02] local.INFO: Processing buffer {"connection_id":172721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:00:02] local.INFO: IMEI packet received {"connection_id":172721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":172721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:00:04] local.INFO: TCP Data received {"connection_id":172721,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:00:04] local.INFO: Processing buffer {"connection_id":172721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:00:04] local.INFO: IMEI packet received {"connection_id":172721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":172721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:00:07] local.INFO: TCP Data received {"connection_id":172721,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:00:07] local.INFO: Processing buffer {"connection_id":172721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:00:07] local.INFO: IMEI packet received {"connection_id":172721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":172721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:00:08] local.INFO: TCP Data received {"connection_id":172721,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f65ce10012d386a8006a98ee8000c00632a..."} 
[2026-09-05 08:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f65ce10012d386a8006a98ee8000c00632a..."} 
[2026-09-05 08:00:08] local.INFO: Processing buffer {"connection_id":172721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f65ce10012d386a8006a98ee8000c00632a..."} 
[2026-09-05 08:00:08] local.INFO: Packet analysis {"connection_id":172721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f65"} 
[2026-09-05 08:00:08] local.INFO: Extracted packet for processing {"connection_id":172721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f65"} 
[2026-09-05 08:00:08] local.INFO: GPS Element Parsed {"raw_longitude":758672000,"raw_latitude":111775464,"longitude_deg":75.8672,"latitude_deg":11.1775464,"altitude":12,"angle":99,"satellites":42,"speed":24,"hex_longitude":"2d386a80","hex_latitude":"06a98ee8","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875284480001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399053975636148224,"note":"Value kept but may cause issues"} 
[2026-09-05 08:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4060698780131028992,"note":"Value kept but may cause issues"} 
[2026-09-05 08:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788575338000,"timestamp_ms":1788575338000,"timestamp_seconds":1788575338,"priority":1,"record_length":96,"hex_timestamp":"000001a06f65ce10"} 
[2026-09-05 08:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:00: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-09-05 08: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 08:00:08] 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-09-05 08: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-09-05 08:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:00: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-09-05 08:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875284480001,"66":27800,"46":206,"81":23296,"24":24,"16":399053975636148224,"45":4060698780131028992},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-05 08:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875284480001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:00:08] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-05 08:00:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 08:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399053975636148224,"km_value":399053975636148.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4060698780131028992,"description":"Unknown IO ID 45"} 
[2026-09-05 08:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875284480001,"power":27800,"unknown_46":206,"unknown_81":23296,"ignition":24,"odometer":null,"unknown_45":4060698780131028992}} 
[2026-09-05 08:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":172721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:00:08] local.INFO: GPS data processed {"connection_id":172721,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:00:08] local.INFO: Acknowledgment sent {"connection_id":172721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:00:25] local.INFO: TCP Data received {"connection_id":171315,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171315,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:00:25] local.INFO: Processing buffer {"connection_id":171315,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:00:25] local.INFO: IMEI packet received {"connection_id":171315,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":171315,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:00:31] local.INFO: TCP Data received {"connection_id":171315,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171315,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:00:31] local.INFO: Processing buffer {"connection_id":171315,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:00:31] local.INFO: IMEI packet received {"connection_id":171315,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":171315,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:00:31] local.INFO: TCP Data received {"connection_id":171315,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f660c90012d7bb9c005ddf2f00000015c1c..."} 
[2026-09-05 08:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f660c90012d7bb9c005ddf2f00000015c1c..."} 
[2026-09-05 08:00:31] local.INFO: Processing buffer {"connection_id":171315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f660c90012d7bb9c005ddf2f00000015c1c..."} 
[2026-09-05 08:00:31] local.INFO: Packet analysis {"connection_id":171315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f66"} 
[2026-09-05 08:00:31] local.INFO: Extracted packet for processing {"connection_id":171315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f66"} 
[2026-09-05 08:00:31] local.INFO: GPS Element Parsed {"raw_longitude":763083200,"raw_latitude":98431728,"longitude_deg":76.30832,"latitude_deg":9.8431728,"altitude":0,"angle":348,"satellites":28,"speed":52,"hex_longitude":"2d7bb9c0","hex_latitude":"05ddf2f0","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875288832001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128393056561922048,"note":"Value kept but may cause issues"} 
[2026-09-05 08:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917197656133898240,"note":"Value kept but may cause issues"} 
[2026-09-05 08:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788575354000,"timestamp_ms":1788575354000,"timestamp_seconds":1788575354,"priority":1,"record_length":96,"hex_timestamp":"000001a06f660c90"} 
[2026-09-05 08:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-05 08:00: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-09-05 08: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-09-05 08:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875288832001,"66":13820,"169":206,"85":15104,"24":52,"16":128393056561922048,"45":8917197656133898240},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-09-05 08:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875288832001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:00:31] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-05 08:00:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128393056561922048,"km_value":128393056561922.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917197656133898240,"description":"Unknown IO ID 45"} 
[2026-09-05 08:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875288832001,"power":13820,"unknown_169":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8917197656133898240}} 
[2026-09-05 08:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":171315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767355,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:00:32] local.INFO: GPS data processed {"connection_id":171315,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:00:32] local.INFO: Acknowledgment sent {"connection_id":171315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:00:41] local.INFO: TCP Data received {"connection_id":172721,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f65f908012d387d8006a98a40000d007429..."} 
[2026-09-05 08:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f65f908012d387d8006a98a40000d007429..."} 
[2026-09-05 08:00:41] local.INFO: Processing buffer {"connection_id":172721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f65f908012d387d8006a98a40000d007429..."} 
[2026-09-05 08:00:41] local.INFO: Packet analysis {"connection_id":172721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f65"} 
[2026-09-05 08:00:41] local.INFO: Extracted packet for processing {"connection_id":172721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f65"} 
[2026-09-05 08:00:41] local.INFO: GPS Element Parsed {"raw_longitude":758676864,"raw_latitude":111774272,"longitude_deg":75.8676864,"latitude_deg":11.1774272,"altitude":13,"angle":116,"satellites":41,"speed":12,"hex_longitude":"2d387d80","hex_latitude":"06a98a40","is_valid_coordinates":true} 
[2026-09-05 08:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875286528001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399054211859349504,"note":"Value kept but may cause issues"} 
[2026-09-05 08:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4065202379758168064,"note":"Value kept but may cause issues"} 
[2026-09-05 08:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788575349000,"timestamp_ms":1788575349000,"timestamp_seconds":1788575349,"priority":1,"record_length":96,"hex_timestamp":"000001a06f65f908"} 
[2026-09-05 08:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:00: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-09-05 08:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 08:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":172721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":172721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":172721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:00: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-09-05 08:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875286528001,"66":28006,"46":206,"81":23296,"24":12,"16":399054211859349504,"45":4065202379758168064},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-05 08:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875286528001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:00:41] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-05 08:00:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 08:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399054211859349504,"km_value":399054211859349.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":4065202379758168064,"description":"Unknown IO ID 45"} 
[2026-09-05 08:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875286528001,"power":28006,"unknown_46":206,"unknown_81":23296,"ignition":12,"odometer":null,"unknown_45":4065202379758168064}} 
[2026-09-05 08:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":172721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:00:41] local.INFO: GPS data processed {"connection_id":172721,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:00:41] local.INFO: Acknowledgment sent {"connection_id":172721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:01:01] local.INFO: TCP Data received {"connection_id":171611,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:01:01] local.INFO: Processing buffer {"connection_id":171611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:01:01] local.INFO: IMEI packet received {"connection_id":171611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":171611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:01:02] local.INFO: TCP Data received {"connection_id":171611,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:01:02] local.INFO: Processing buffer {"connection_id":171611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:01:02] local.INFO: IMEI packet received {"connection_id":171611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":171611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:01:03] local.INFO: TCP Data received {"connection_id":171315,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f6627e8012d7bb24005de14e00000015d1f..."} 
[2026-09-05 08:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f6627e8012d7bb24005de14e00000015d1f..."} 
[2026-09-05 08:01:03] local.INFO: Processing buffer {"connection_id":171315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f6627e8012d7bb24005de14e00000015d1f..."} 
[2026-09-05 08:01:03] local.INFO: Packet analysis {"connection_id":171315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f66"} 
[2026-09-05 08:01:03] local.INFO: Extracted packet for processing {"connection_id":171315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f66"} 
[2026-09-05 08:01:03] local.INFO: GPS Element Parsed {"raw_longitude":763081280,"raw_latitude":98440416,"longitude_deg":76.308128,"latitude_deg":9.8440416,"altitude":0,"angle":349,"satellites":31,"speed":49,"hex_longitude":"2d7bb240","hex_latitude":"05de14e0","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875290624001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128393486058651648,"note":"Value kept but may cause issues"} 
[2026-09-05 08:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915368068787662848,"note":"Value kept but may cause issues"} 
[2026-09-05 08:01:03] 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-09-05 08:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788575361000,"timestamp_ms":1788575361000,"timestamp_seconds":1788575361,"priority":1,"record_length":96,"hex_timestamp":"000001a06f6627e8"} 
[2026-09-05 08:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-05 08:01:03] 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-09-05 08: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-09-05 08:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875290624001,"66":13906,"185":206,"85":15104,"24":49,"16":128393486058651648,"45":8915368068787662848},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-09-05 08:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875290624001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:01:03] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-05 08:01:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128393486058651648,"km_value":128393486058651.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915368068787662848,"description":"Unknown IO ID 45"} 
[2026-09-05 08:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875290624001,"power":13906,"unknown_185":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8915368068787662848}} 
[2026-09-05 08:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":171315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767357,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:01:03] local.INFO: GPS data processed {"connection_id":171315,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:01:03] local.INFO: Acknowledgment sent {"connection_id":171315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:01:07] local.INFO: TCP Data received {"connection_id":171611,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:01:07] local.INFO: Processing buffer {"connection_id":171611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:01:07] local.INFO: IMEI packet received {"connection_id":171611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":171611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:01:08] local.INFO: TCP Data received {"connection_id":171611,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f6604c0012d38824006a988a8000c006527..."} 
[2026-09-05 08:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f6604c0012d38824006a988a8000c006527..."} 
[2026-09-05 08:01:08] local.INFO: Processing buffer {"connection_id":171611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f6604c0012d38824006a988a8000c006527..."} 
[2026-09-05 08:01:08] local.INFO: Packet analysis {"connection_id":171611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f66"} 
[2026-09-05 08:01:08] local.INFO: Extracted packet for processing {"connection_id":171611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f66"} 
[2026-09-05 08:01:08] local.INFO: GPS Element Parsed {"raw_longitude":758678080,"raw_latitude":111773864,"longitude_deg":75.867808,"latitude_deg":11.1773864,"altitude":12,"angle":101,"satellites":39,"speed":18,"hex_longitude":"2d388240","hex_latitude":"06a988a8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875289344001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399054271988891648,"note":"Value kept but may cause issues"} 
[2026-09-05 08:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4070550404315365376,"note":"Value kept but may cause issues"} 
[2026-09-05 08:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788575352000,"timestamp_ms":1788575352000,"timestamp_seconds":1788575352,"priority":1,"record_length":96,"hex_timestamp":"000001a06f6604c0"} 
[2026-09-05 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-09-05 08:01: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-09-05 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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 08:01:08] 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-09-05 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-09-05 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-09-05 08:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:01: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-09-05 08:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875289344001,"66":27832,"46":206,"81":23296,"24":18,"16":399054271988891648,"45":4070550404315365376},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-05 08:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875289344001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:01:08] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-05 08:01:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 08:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399054271988891648,"km_value":399054271988891.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4070550404315365376,"description":"Unknown IO ID 45"} 
[2026-09-05 08:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875289344001,"power":27832,"unknown_46":206,"unknown_81":23296,"ignition":18,"odometer":null,"unknown_45":4070550404315365376}} 
[2026-09-05 08:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":171611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:01:08] local.INFO: GPS data processed {"connection_id":171611,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:01:08] local.INFO: Acknowledgment sent {"connection_id":171611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:01:13] local.INFO: TCP Data received {"connection_id":171611,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f663b70012d38a58006a98008000c006728..."} 
[2026-09-05 08:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f663b70012d38a58006a98008000c006728..."} 
[2026-09-05 08:01:13] local.INFO: Processing buffer {"connection_id":171611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f663b70012d38a58006a98008000c006728..."} 
[2026-09-05 08:01:13] local.INFO: Packet analysis {"connection_id":171611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f66"} 
[2026-09-05 08:01:13] local.INFO: Extracted packet for processing {"connection_id":171611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f66"} 
[2026-09-05 08:01:13] local.INFO: GPS Element Parsed {"raw_longitude":758687104,"raw_latitude":111771656,"longitude_deg":75.8687104,"latitude_deg":11.1771656,"altitude":12,"angle":103,"satellites":40,"speed":24,"hex_longitude":"2d38a580","hex_latitude":"06a98008","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875290112001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399054718665490432,"note":"Value kept but may cause issues"} 
[2026-09-05 08:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4071887410454636544,"note":"Value kept but may cause issues"} 
[2026-09-05 08:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788575366000,"timestamp_ms":1788575366000,"timestamp_seconds":1788575366,"priority":1,"record_length":96,"hex_timestamp":"000001a06f663b70"} 
[2026-09-05 08:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 08:01:13] 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-09-05 08: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-09-05 08:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875290112001,"66":27821,"46":206,"81":23296,"24":24,"16":399054718665490432,"45":4071887410454636544},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-05 08:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875290112001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:01:13] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-05 08:01:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 08:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399054718665490432,"km_value":399054718665490.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4071887410454636544,"description":"Unknown IO ID 45"} 
[2026-09-05 08:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875290112001,"power":27821,"unknown_46":206,"unknown_81":23296,"ignition":24,"odometer":null,"unknown_45":4071887410454636544}} 
[2026-09-05 08:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":171611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:01:13] local.INFO: GPS data processed {"connection_id":171611,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:01:13] local.INFO: Acknowledgment sent {"connection_id":171611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:01:26] local.INFO: TCP Data received {"connection_id":174028,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174028,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:01:26] local.INFO: Processing buffer {"connection_id":174028,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:01:26] local.INFO: IMEI packet received {"connection_id":174028,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":174028,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:01:31] local.INFO: TCP Data received {"connection_id":174028,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174028,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:01:31] local.INFO: Processing buffer {"connection_id":174028,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:01:31] local.INFO: IMEI packet received {"connection_id":174028,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":174028,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:01:32] local.INFO: TCP Data received {"connection_id":174028,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f679718012d7b824005dfa460000001601e..."} 
[2026-09-05 08:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f679718012d7b824005dfa460000001601e..."} 
[2026-09-05 08:01:32] local.INFO: Processing buffer {"connection_id":174028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f679718012d7b824005dfa460000001601e..."} 
[2026-09-05 08:01:32] local.INFO: Packet analysis {"connection_id":174028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f67"} 
[2026-09-05 08:01:32] local.INFO: Extracted packet for processing {"connection_id":174028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f67"} 
[2026-09-05 08:01:32] local.INFO: GPS Element Parsed {"raw_longitude":763068992,"raw_latitude":98542688,"longitude_deg":76.3068992,"latitude_deg":9.8542688,"altitude":0,"angle":352,"satellites":30,"speed":46,"hex_longitude":"2d7b8240","hex_latitude":"05dfa460","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875314432001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128398489695551488,"note":"Value kept but may cause issues"} 
[2026-09-05 08:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901083213745676288,"note":"Value kept but may cause issues"} 
[2026-09-05 08:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788575455000,"timestamp_ms":1788575455000,"timestamp_seconds":1788575455,"priority":1,"record_length":96,"hex_timestamp":"000001a06f679718"} 
[2026-09-05 08:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:01:32] 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-09-05 08: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-05 08:01:32] 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-09-05 08: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-09-05 08:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875314432001,"66":13472,"44":206,"85":15104,"24":46,"16":128398489695551488,"45":8901083213745676288},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-09-05 08:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875314432001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:01:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-05 08:01:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128398489695551488,"km_value":128398489695551.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901083213745676288,"description":"Unknown IO ID 45"} 
[2026-09-05 08:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875314432001,"power":13472,"unknown_44":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8901083213745676288}} 
[2026-09-05 08:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":174028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767360,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:01:32] local.INFO: GPS data processed {"connection_id":174028,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:01:32] local.INFO: Acknowledgment sent {"connection_id":174028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:02:02] local.INFO: TCP Data received {"connection_id":171317,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:02:02] local.INFO: Processing buffer {"connection_id":171317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:02:02] local.INFO: IMEI packet received {"connection_id":171317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":171317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:02:07] local.INFO: TCP Data received {"connection_id":171317,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:02:07] local.INFO: Processing buffer {"connection_id":171317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:02:07] local.INFO: IMEI packet received {"connection_id":171317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":171317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:02:07] local.INFO: TCP Data received {"connection_id":171317,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f67c210012d39640006a95400000c009b28..."} 
[2026-09-05 08:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f67c210012d39640006a95400000c009b28..."} 
[2026-09-05 08:02:07] local.INFO: Processing buffer {"connection_id":171317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f67c210012d39640006a95400000c009b28..."} 
[2026-09-05 08:02:07] local.INFO: Packet analysis {"connection_id":171317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f67"} 
[2026-09-05 08:02:07] local.INFO: Extracted packet for processing {"connection_id":171317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f67"} 
[2026-09-05 08:02:07] local.INFO: GPS Element Parsed {"raw_longitude":758735872,"raw_latitude":111760384,"longitude_deg":75.8735872,"latitude_deg":11.1760384,"altitude":12,"angle":155,"satellites":40,"speed":7,"hex_longitude":"2d396400","hex_latitude":"06a95400","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875319040001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399057110962274304,"note":"Value kept but may cause issues"} 
[2026-09-05 08:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4135360017699479552,"note":"Value kept but may cause issues"} 
[2026-09-05 08:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788575466000,"timestamp_ms":1788575466000,"timestamp_seconds":1788575466,"priority":1,"record_length":96,"hex_timestamp":"000001a06f67c210"} 
[2026-09-05 08:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:02: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-09-05 08: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 08:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875319040001,"66":27908,"91":206,"81":23296,"24":7,"16":399057110962274304,"45":4135360017699479552},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-09-05 08:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875319040001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:02:07] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-05 08:02:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 08:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399057110962274304,"km_value":399057110962274.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4135360017699479552,"description":"Unknown IO ID 45"} 
[2026-09-05 08:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875319040001,"power":27908,"unknown_91":206,"unknown_81":23296,"ignition":7,"odometer":null,"unknown_45":4135360017699479552}} 
[2026-09-05 08:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":171317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:02:07] local.INFO: GPS data processed {"connection_id":171317,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:02:07] local.INFO: Acknowledgment sent {"connection_id":171317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:02:09] local.INFO: TCP Data received {"connection_id":174028,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f67b658012d7b7d4005dfc700000001601e..."} 
[2026-09-05 08:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f67b658012d7b7d4005dfc700000001601e..."} 
[2026-09-05 08:02:09] local.INFO: Processing buffer {"connection_id":174028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f67b658012d7b7d4005dfc700000001601e..."} 
[2026-09-05 08:02:09] local.INFO: Packet analysis {"connection_id":174028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f67"} 
[2026-09-05 08:02:09] local.INFO: Extracted packet for processing {"connection_id":174028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f67"} 
[2026-09-05 08:02:09] local.INFO: GPS Element Parsed {"raw_longitude":763067712,"raw_latitude":98551552,"longitude_deg":76.3067712,"latitude_deg":9.8551552,"altitude":0,"angle":352,"satellites":30,"speed":39,"hex_longitude":"2d7b7d40","hex_latitude":"05dfc700","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875316480001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128398923487248384,"note":"Value kept but may cause issues"} 
[2026-09-05 08:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899746207608627200,"note":"Value kept but may cause issues"} 
[2026-09-05 08:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788575463000,"timestamp_ms":1788575463000,"timestamp_seconds":1788575463,"priority":1,"record_length":96,"hex_timestamp":"000001a06f67b658"} 
[2026-09-05 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-09-05 08:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-05 08:02:09] 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-09-05 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-09-05 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-09-05 08:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":174028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":174028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":174028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875316480001,"66":13787,"103":206,"85":15104,"24":39,"16":128398923487248384,"45":8899746207608627200},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-09-05 08:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875316480001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:02:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 08:02:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128398923487248384,"km_value":128398923487248.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899746207608627200,"description":"Unknown IO ID 45"} 
[2026-09-05 08:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875316480001,"power":13787,"unknown_103":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8899746207608627200}} 
[2026-09-05 08:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":174028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:02:09] local.INFO: GPS data processed {"connection_id":174028,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:02:09] local.INFO: Acknowledgment sent {"connection_id":174028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:02:25] local.INFO: TCP Data received {"connection_id":171318,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:02:25] local.INFO: Processing buffer {"connection_id":171318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:02:25] local.INFO: IMEI packet received {"connection_id":171318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":171318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:02:26] local.INFO: TCP Data received {"connection_id":171318,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:02:26] local.INFO: Processing buffer {"connection_id":171318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:02:26] local.INFO: IMEI packet received {"connection_id":171318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":171318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:02:31] local.INFO: TCP Data received {"connection_id":171318,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:02:31] local.INFO: Processing buffer {"connection_id":171318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:02:31] local.INFO: IMEI packet received {"connection_id":171318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":171318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:02:32] local.INFO: TCP Data received {"connection_id":171318,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f67d980012d7b784005dfea180000015f1d..."} 
[2026-09-05 08:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f67d980012d7b784005dfea180000015f1d..."} 
[2026-09-05 08:02:32] local.INFO: Processing buffer {"connection_id":171318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f67d980012d7b784005dfea180000015f1d..."} 
[2026-09-05 08:02:32] local.INFO: Packet analysis {"connection_id":171318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f67"} 
[2026-09-05 08:02:32] local.INFO: Extracted packet for processing {"connection_id":171318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f67"} 
[2026-09-05 08:02:32] local.INFO: GPS Element Parsed {"raw_longitude":763066432,"raw_latitude":98560536,"longitude_deg":76.3066432,"latitude_deg":9.8560536,"altitude":0,"angle":351,"satellites":29,"speed":44,"hex_longitude":"2d7b7840","hex_latitude":"05dfea18","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875318528001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128399361573912576,"note":"Value kept but may cause issues"} 
[2026-09-05 08:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898338832727343104,"note":"Value kept but may cause issues"} 
[2026-09-05 08:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788575472000,"timestamp_ms":1788575472000,"timestamp_seconds":1788575472,"priority":1,"record_length":96,"hex_timestamp":"000001a06f67d980"} 
[2026-09-05 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-09-05 08:02:32] 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-09-05 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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-05 08:02:32] 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-09-05 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-09-05 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-09-05 08:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875318528001,"66":13646,"103":206,"85":15104,"24":44,"16":128399361573912576,"45":8898338832727343104},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-09-05 08:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875318528001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:02:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 08:02:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128399361573912576,"km_value":128399361573912.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898338832727343104,"description":"Unknown IO ID 45"} 
[2026-09-05 08:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875318528001,"power":13646,"unknown_103":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8898338832727343104}} 
[2026-09-05 08:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":171318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767363,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:02:32] local.INFO: GPS data processed {"connection_id":171318,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:02:32] local.INFO: Acknowledgment sent {"connection_id":171318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:02:39] local.INFO: TCP Data received {"connection_id":171317,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f67c9e0012d3964c006a95298000d00ae29..."} 
[2026-09-05 08:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f67c9e0012d3964c006a95298000d00ae29..."} 
[2026-09-05 08:02:39] local.INFO: Processing buffer {"connection_id":171317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f67c9e0012d3964c006a95298000d00ae29..."} 
[2026-09-05 08:02:39] local.INFO: Packet analysis {"connection_id":171317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f67"} 
[2026-09-05 08:02:39] local.INFO: Extracted packet for processing {"connection_id":171317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f67"} 
[2026-09-05 08:02:39] local.INFO: GPS Element Parsed {"raw_longitude":758736064,"raw_latitude":111760024,"longitude_deg":75.8736064,"latitude_deg":11.1760024,"altitude":13,"angle":174,"satellites":41,"speed":9,"hex_longitude":"2d3964c0","hex_latitude":"06a95298","is_valid_coordinates":true} 
[2026-09-05 08:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875319296001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399057132437110784,"note":"Value kept but may cause issues"} 
[2026-09-05 08:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4135430386443616256,"note":"Value kept but may cause issues"} 
[2026-09-05 08:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788575468000,"timestamp_ms":1788575468000,"timestamp_seconds":1788575468,"priority":1,"record_length":96,"hex_timestamp":"000001a06f67c9e0"} 
[2026-09-05 08:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:02:39] 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-09-05 08:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 08:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875319296001,"66":27800,"91":206,"81":23296,"24":9,"16":399057132437110784,"45":4135430386443616256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-09-05 08:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875319296001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:02:39] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-05 08:02:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 08:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399057132437110784,"km_value":399057132437110.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4135430386443616256,"description":"Unknown IO ID 45"} 
[2026-09-05 08:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875319296001,"power":27800,"unknown_91":206,"unknown_81":23296,"ignition":9,"odometer":null,"unknown_45":4135430386443616256}} 
[2026-09-05 08:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":171317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:02:39] local.INFO: GPS data processed {"connection_id":171317,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:02:39] local.INFO: Acknowledgment sent {"connection_id":171317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:02:57] local.INFO: TCP Data received {"connection_id":172722,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:02:57] local.INFO: Processing buffer {"connection_id":172722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:02:57] local.INFO: IMEI packet received {"connection_id":172722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":172722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:02:58] local.INFO: TCP Data received {"connection_id":172722,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:02:58] local.INFO: Processing buffer {"connection_id":172722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:02:58] local.INFO: IMEI packet received {"connection_id":172722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":172722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:03:02] local.INFO: TCP Data received {"connection_id":172722,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:03:02] local.INFO: Processing buffer {"connection_id":172722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:03:02] local.INFO: IMEI packet received {"connection_id":172722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":172722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:03:03] local.INFO: TCP Data received {"connection_id":171318,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f693140012d7b42c005e157e8000001661d..."} 
[2026-09-05 08:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f693140012d7b42c005e157e8000001661d..."} 
[2026-09-05 08:03:03] local.INFO: Processing buffer {"connection_id":171318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f693140012d7b42c005e157e8000001661d..."} 
[2026-09-05 08:03:03] local.INFO: Packet analysis {"connection_id":171318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f69"} 
[2026-09-05 08:03:03] local.INFO: Extracted packet for processing {"connection_id":171318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f69"} 
[2026-09-05 08:03:03] local.INFO: GPS Element Parsed {"raw_longitude":763052736,"raw_latitude":98654184,"longitude_deg":76.3052736,"latitude_deg":9.8654184,"altitude":0,"angle":358,"satellites":29,"speed":7,"hex_longitude":"2d7b42c0","hex_latitude":"05e157e8","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875342848001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128403952893952000,"note":"Value kept but may cause issues"} 
[2026-09-05 08:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881942915360133120,"note":"Value kept but may cause issues"} 
[2026-09-05 08:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788575560000,"timestamp_ms":1788575560000,"timestamp_seconds":1788575560,"priority":1,"record_length":96,"hex_timestamp":"000001a06f693140"} 
[2026-09-05 08:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-05 08:03:03] 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-09-05 08: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-09-05 08:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875342848001,"66":14080,"217":206,"85":15104,"24":7,"16":128403952893952000,"45":8881942915360133120},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-09-05 08:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875342848001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:03:03] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-05 08:03:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128403952893952000,"km_value":128403952893952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881942915360133120,"description":"Unknown IO ID 45"} 
[2026-09-05 08:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875342848001,"power":14080,"unknown_217":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8881942915360133120}} 
[2026-09-05 08:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":171318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:03:03] local.INFO: GPS data processed {"connection_id":171318,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:03:03] local.INFO: Acknowledgment sent {"connection_id":171318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:03:03] local.INFO: TCP Data received {"connection_id":172722,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f67e150012d39664006a94d10000e00bd28..."} 
[2026-09-05 08:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f67e150012d39664006a94d10000e00bd28..."} 
[2026-09-05 08:03:04] local.INFO: Processing buffer {"connection_id":172722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f67e150012d39664006a94d10000e00bd28..."} 
[2026-09-05 08:03:04] local.INFO: Packet analysis {"connection_id":172722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f67"} 
[2026-09-05 08:03:04] local.INFO: Extracted packet for processing {"connection_id":172722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f67"} 
[2026-09-05 08:03:04] local.INFO: GPS Element Parsed {"raw_longitude":758736448,"raw_latitude":111758608,"longitude_deg":75.8736448,"latitude_deg":11.1758608,"altitude":14,"angle":189,"satellites":40,"speed":7,"hex_longitude":"2d396640","hex_latitude":"06a94d10","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875319808001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399057201156587520,"note":"Value kept but may cause issues"} 
[2026-09-05 08:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4135641492676057088,"note":"Value kept but may cause issues"} 
[2026-09-05 08:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788575474000,"timestamp_ms":1788575474000,"timestamp_seconds":1788575474,"priority":1,"record_length":96,"hex_timestamp":"000001a06f67e150"} 
[2026-09-05 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-09-05 08: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-09-05 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 08:03: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-09-05 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-09-05 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-09-05 08:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:03: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-09-05 08:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875319808001,"66":27865,"91":206,"81":23296,"24":7,"16":399057201156587520,"45":4135641492676057088},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-09-05 08:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875319808001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:03:04] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-05 08:03:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 08:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399057201156587520,"km_value":399057201156587.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4135641492676057088,"description":"Unknown IO ID 45"} 
[2026-09-05 08:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875319808001,"power":27865,"unknown_91":206,"unknown_81":23296,"ignition":7,"odometer":null,"unknown_45":4135641492676057088}} 
[2026-09-05 08:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":172722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:03:04] local.INFO: GPS data processed {"connection_id":172722,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:03:04] local.INFO: Acknowledgment sent {"connection_id":172722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:03:06] local.INFO: TCP Data received {"connection_id":172722,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f67e538012d39668006a94c18000e00af28..."} 
[2026-09-05 08:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f67e538012d39668006a94c18000e00af28..."} 
[2026-09-05 08:03:06] local.INFO: Processing buffer {"connection_id":172722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f67e538012d39668006a94c18000e00af28..."} 
[2026-09-05 08:03:06] local.INFO: Packet analysis {"connection_id":172722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f67"} 
[2026-09-05 08:03:06] local.INFO: Extracted packet for processing {"connection_id":172722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f67"} 
[2026-09-05 08:03:06] local.INFO: GPS Element Parsed {"raw_longitude":758736512,"raw_latitude":111758360,"longitude_deg":75.8736512,"latitude_deg":11.175836,"altitude":14,"angle":175,"satellites":40,"speed":10,"hex_longitude":"2d396680","hex_latitude":"06a94c18","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875321344001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399057214041489408,"note":"Value kept but may cause issues"} 
[2026-09-05 08:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4136063705140760576,"note":"Value kept but may cause issues"} 
[2026-09-05 08:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788575475000,"timestamp_ms":1788575475000,"timestamp_seconds":1788575475,"priority":1,"record_length":96,"hex_timestamp":"000001a06f67e538"} 
[2026-09-05 08:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 08:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875321344001,"66":27767,"91":206,"81":23296,"24":10,"16":399057214041489408,"45":4136063705140760576},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-09-05 08:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875321344001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:03:06] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-05 08:03:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-05 08:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399057214041489408,"km_value":399057214041489.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":4136063705140760576,"description":"Unknown IO ID 45"} 
[2026-09-05 08:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875321344001,"power":27767,"unknown_91":206,"unknown_81":23296,"ignition":10,"odometer":null,"unknown_45":4136063705140760576}} 
[2026-09-05 08:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":172722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:03:06] local.INFO: GPS data processed {"connection_id":172722,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:03:06] local.INFO: Acknowledgment sent {"connection_id":172722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:03:25] local.INFO: TCP Data received {"connection_id":171319,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:03:25] local.INFO: Processing buffer {"connection_id":171319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:03:25] local.INFO: IMEI packet received {"connection_id":171319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":171319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:03:31] local.INFO: TCP Data received {"connection_id":171319,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:03:31] local.INFO: Processing buffer {"connection_id":171319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:03:31] local.INFO: IMEI packet received {"connection_id":171319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":171319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:03:31] local.INFO: TCP Data received {"connection_id":171319,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f693910012d7b428005e159800000015b1d..."} 
[2026-09-05 08:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f693910012d7b428005e159800000015b1d..."} 
[2026-09-05 08:03:31] local.INFO: Processing buffer {"connection_id":171319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f693910012d7b428005e159800000015b1d..."} 
[2026-09-05 08:03:31] local.INFO: Packet analysis {"connection_id":171319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f69"} 
[2026-09-05 08:03:31] local.INFO: Extracted packet for processing {"connection_id":171319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f69"} 
[2026-09-05 08:03:31] local.INFO: GPS Element Parsed {"raw_longitude":763052672,"raw_latitude":98654592,"longitude_deg":76.3052672,"latitude_deg":9.8654592,"altitude":0,"angle":347,"satellites":29,"speed":11,"hex_longitude":"2d7b4280","hex_latitude":"05e15980","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875343360001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128403974368788480,"note":"Value kept but may cause issues"} 
[2026-09-05 08:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881872546616043520,"note":"Value kept but may cause issues"} 
[2026-09-05 08:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788575562000,"timestamp_ms":1788575562000,"timestamp_seconds":1788575562,"priority":1,"record_length":96,"hex_timestamp":"000001a06f693910"} 
[2026-09-05 08:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-05 08:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3448465152,"note":"Value kept but may cause issues"} 
[2026-09-05 08:03:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 08:03:31] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":43009,"corrected_to":0} 
[2026-09-05 08:03:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1608057038,"corrected_to":0} 
[2026-09-05 08:03:31] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3674262923,"note":"Value kept but may cause issues"} 
[2026-09-05 08:03:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":762445824,"corrected_to":0} 
[2026-09-05 08:03:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3771068416,"note":"Value kept but may cause issues"} 
[2026-09-05 08:03:31] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,217,85,24,241,157,16,46,160,41,45,86,30,10,66,33,26,246,192,1,240,169,227,111,225,4,113,205,180,232,32,239,53,103,2,200,5],"length":479,"final_offset":609,"validated_count":37,"validation_warnings":[{"io_id":246,"original":43009,"validated":0},{"io_id":205,"original":1608057038,"validated":0},{"io_id":200,"original":762445824,"validated":0}]} 
[2026-09-05 08:03:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":393749717254144,"timestamp_seconds":393749717254.144,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 08:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875343360001,"66":13798,"217":206,"85":15104,"24":11,"16":128403974368788480,"45":8881872546616043520},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-09-05 08:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875343360001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:03:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-05 08:03:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128403974368788480,"km_value":128403974368788.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881872546616043520,"description":"Unknown IO ID 45"} 
[2026-09-05 08:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875343360001,"power":13798,"unknown_217":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8881872546616043520}} 
[2026-09-05 08:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":171319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767368,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:03:31] local.INFO: GPS data processed {"connection_id":171319,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:03:31] local.INFO: Acknowledgment sent {"connection_id":171319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:03:38] local.INFO: TCP Data received {"connection_id":172722,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f683740012d396b8006a93c98000e00a726..."} 
[2026-09-05 08:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f683740012d396b8006a93c98000e00a726..."} 
[2026-09-05 08:03:38] local.INFO: Processing buffer {"connection_id":172722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f683740012d396b8006a93c98000e00a726..."} 
[2026-09-05 08:03:38] local.INFO: Packet analysis {"connection_id":172722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f68"} 
[2026-09-05 08:03:38] local.INFO: Extracted packet for processing {"connection_id":172722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f68"} 
[2026-09-05 08:03:38] local.INFO: GPS Element Parsed {"raw_longitude":758737792,"raw_latitude":111754392,"longitude_deg":75.8737792,"latitude_deg":11.1754392,"altitude":14,"angle":167,"satellites":38,"speed":11,"hex_longitude":"2d396b80","hex_latitude":"06a93c98","is_valid_coordinates":true} 
[2026-09-05 08:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875321600001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399057424494886912,"note":"Value kept but may cause issues"} 
[2026-09-05 08:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4136134073884874752,"note":"Value kept but may cause issues"} 
[2026-09-05 08:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788575496000,"timestamp_ms":1788575496000,"timestamp_seconds":1788575496,"priority":1,"record_length":96,"hex_timestamp":"000001a06f683740"} 
[2026-09-05 08:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:03: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-09-05 08:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 08:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":172722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":172722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":172722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:03: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-09-05 08:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875321600001,"66":27800,"239":206,"81":49664,"24":11,"16":399057424494886912,"45":4136134073884874752},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,81,24,16,45]} 
[2026-09-05 08:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875321600001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:03:38] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-05 08:03:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-05 08:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399057424494886912,"km_value":399057424494886.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4136134073884874752,"description":"Unknown IO ID 45"} 
[2026-09-05 08:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875321600001,"power":27800,"unknown_239":206,"unknown_81":49664,"ignition":11,"odometer":null,"unknown_45":4136134073884874752}} 
[2026-09-05 08:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":172722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:03:38] local.INFO: GPS data processed {"connection_id":172722,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:03:38] local.INFO: Acknowledgment sent {"connection_id":172722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:03:39] local.INFO: TCP Data received {"connection_id":171316,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171316,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:03:39] local.INFO: Processing buffer {"connection_id":171316,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:03:39] local.INFO: IMEI packet received {"connection_id":171316,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 08:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":171316,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:03:57] local.INFO: TCP Data received {"connection_id":174029,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:03:57] local.INFO: Processing buffer {"connection_id":174029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:03:57] local.INFO: IMEI packet received {"connection_id":174029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":174029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:04:01] local.INFO: TCP Data received {"connection_id":174029,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:04:01] local.INFO: Processing buffer {"connection_id":174029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:04:01] local.INFO: IMEI packet received {"connection_id":174029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":174029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:04:03] local.INFO: TCP Data received {"connection_id":171319,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f697790012d7b3d4005e17d180000016021..."} 
[2026-09-05 08:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f697790012d7b3d4005e17d180000016021..."} 
[2026-09-05 08:04:03] local.INFO: Processing buffer {"connection_id":171319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f697790012d7b3d4005e17d180000016021..."} 
[2026-09-05 08:04:03] local.INFO: Packet analysis {"connection_id":171319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f69"} 
[2026-09-05 08:04:03] local.INFO: Extracted packet for processing {"connection_id":171319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f69"} 
[2026-09-05 08:04:03] local.INFO: GPS Element Parsed {"raw_longitude":763051328,"raw_latitude":98663704,"longitude_deg":76.3051328,"latitude_deg":9.8663704,"altitude":0,"angle":352,"satellites":33,"speed":30,"hex_longitude":"2d7b3d40","hex_latitude":"05e17d18","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875343872001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881802177871970304,"note":"Value kept but may cause issues"} 
[2026-09-05 08:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128404421045387264,"note":"Value kept but may cause issues"} 
[2026-09-05 08:04:03] 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-09-05 08:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788575578000,"timestamp_ms":1788575578000,"timestamp_seconds":1788575578,"priority":1,"record_length":96,"hex_timestamp":"000001a06f697790"} 
[2026-09-05 08:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 08:04:03] 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-09-05 08: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-09-05 08:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875343872001,"66":13798,"45":8881802177871970304,"85":15104,"24":30,"16":128404421045387264},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-05 08:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:04:03] local.INFO: TCP Data received {"connection_id":174029,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f688948012d39750006a91e70001100a627..."} 
[2026-09-05 08:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875343872001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881802177871970304,"description":"Unknown IO ID 45"} 
[2026-09-05 08:04:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128404421045387264,"km_value":128404421045387.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:04:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457875343872001,"power":13798,"unknown_45":8881802177871970304,"unknown_85":15104,"ignition":30,"odometer":null}} 
[2026-09-05 08:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f688948012d39750006a91e70001100a627..."} 
[2026-09-05 08:04:03] local.INFO: Processing buffer {"connection_id":174029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f688948012d39750006a91e70001100a627..."} 
[2026-09-05 08:04:03] local.INFO: Packet analysis {"connection_id":174029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f68"} 
[2026-09-05 08:04:03] local.INFO: Extracted packet for processing {"connection_id":174029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f68"} 
[2026-09-05 08:04:03] local.INFO: GPS Element Parsed {"raw_longitude":758740224,"raw_latitude":111746672,"longitude_deg":75.8740224,"latitude_deg":11.1746672,"altitude":17,"angle":166,"satellites":39,"speed":24,"hex_longitude":"2d397500","hex_latitude":"06a91e70","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875326976001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399057819631878144,"note":"Value kept but may cause issues"} 
[2026-09-05 08:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4137541448767412224,"note":"Value kept but may cause issues"} 
[2026-09-05 08:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788575517000,"timestamp_ms":1788575517000,"timestamp_seconds":1788575517,"priority":1,"record_length":96,"hex_timestamp":"000001a06f688948"} 
[2026-09-05 08:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:04: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-09-05 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 08:04: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-09-05 08: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-09-05 08:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875326976001,"66":27832,"237":206,"81":49664,"24":24,"16":399057819631878144,"45":4137541448767412224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,81,24,16,45]} 
[2026-09-05 08:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875326976001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:04:03] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-05 08:04:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-05 08:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399057819631878144,"km_value":399057819631878.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4137541448767412224,"description":"Unknown IO ID 45"} 
[2026-09-05 08:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875326976001,"power":27832,"unknown_237":206,"unknown_81":49664,"ignition":24,"odometer":null,"unknown_45":4137541448767412224}} 
[2026-09-05 08:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":174029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:04:03] local.INFO: GPS data processed {"connection_id":174029,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:04:03] local.INFO: Acknowledgment sent {"connection_id":174029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":171319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767371,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:04:03] local.INFO: GPS data processed {"connection_id":171319,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:04:03] local.INFO: Acknowledgment sent {"connection_id":171319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:04:25] local.INFO: TCP Data received {"connection_id":174030,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:04:25] local.INFO: Processing buffer {"connection_id":174030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:04:25] local.INFO: IMEI packet received {"connection_id":174030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":174030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:04:31] local.INFO: TCP Data received {"connection_id":174030,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:04:31] local.INFO: Processing buffer {"connection_id":174030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:04:31] local.INFO: IMEI packet received {"connection_id":174030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":174030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:04:31] local.INFO: TCP Data received {"connection_id":174030,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f69a670012d7b39c005e1a0d0000001621d..."} 
[2026-09-05 08:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f69a670012d7b39c005e1a0d0000001621d..."} 
[2026-09-05 08:04:31] local.INFO: Processing buffer {"connection_id":174030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f69a670012d7b39c005e1a0d0000001621d..."} 
[2026-09-05 08:04:31] local.INFO: Packet analysis {"connection_id":174030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f69"} 
[2026-09-05 08:04:31] local.INFO: Extracted packet for processing {"connection_id":174030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f69"} 
[2026-09-05 08:04:31] local.INFO: GPS Element Parsed {"raw_longitude":763050432,"raw_latitude":98672848,"longitude_deg":76.3050432,"latitude_deg":9.8672848,"altitude":0,"angle":354,"satellites":29,"speed":29,"hex_longitude":"2d7b39c0","hex_latitude":"05e1a0d0","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875347968001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880324434246572032,"note":"Value kept but may cause issues"} 
[2026-09-05 08:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128404867721986048,"note":"Value kept but may cause issues"} 
[2026-09-05 08:04: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-09-05 08:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788575590000,"timestamp_ms":1788575590000,"timestamp_seconds":1788575590,"priority":1,"record_length":96,"hex_timestamp":"000001a06f69a670"} 
[2026-09-05 08:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:04:31] 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-09-05 08: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 08:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875347968001,"66":13798,"45":8880324434246572032,"85":15104,"24":29,"16":128404867721986048},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-05 08:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875347968001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880324434246572032,"description":"Unknown IO ID 45"} 
[2026-09-05 08:04:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128404867721986048,"km_value":128404867721986.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:04:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457875347968001,"power":13798,"unknown_45":8880324434246572032,"unknown_85":15104,"ignition":29,"odometer":null}} 
[2026-09-05 08:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":174030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767372,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:04:31] local.INFO: GPS data processed {"connection_id":174030,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:04:31] local.INFO: Acknowledgment sent {"connection_id":174030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:04:35] local.INFO: TCP Data received {"connection_id":174029,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f68b828012d397cc006a8fb88000e00a524..."} 
[2026-09-05 08:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f68b828012d397cc006a8fb88000e00a524..."} 
[2026-09-05 08:04:35] local.INFO: Processing buffer {"connection_id":174029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f68b828012d397cc006a8fb88000e00a524..."} 
[2026-09-05 08:04:35] local.INFO: Packet analysis {"connection_id":174029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f68"} 
[2026-09-05 08:04:35] local.INFO: Extracted packet for processing {"connection_id":174029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f68"} 
[2026-09-05 08:04:35] local.INFO: GPS Element Parsed {"raw_longitude":758742208,"raw_latitude":111737736,"longitude_deg":75.8742208,"latitude_deg":11.1737736,"altitude":14,"angle":165,"satellites":36,"speed":33,"hex_longitude":"2d397cc0","hex_latitude":"06a8fb88","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875332352001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399058262013509632,"note":"Value kept but may cause issues"} 
[2026-09-05 08:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4140215461044187136,"note":"Value kept but may cause issues"} 
[2026-09-05 08:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788575529000,"timestamp_ms":1788575529000,"timestamp_seconds":1788575529,"priority":1,"record_length":96,"hex_timestamp":"000001a06f68b828"} 
[2026-09-05 08:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:04:35] 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-09-05 08: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":184,"data_length":795,"current_offset":136} 
[2026-09-05 08:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875332352001,"66":27821,"237":206,"81":49664,"24":33,"16":399058262013509632,"45":4140215461044187136},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,81,24,16,45]} 
[2026-09-05 08:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875332352001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:04:35] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-05 08:04:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-05 08:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399058262013509632,"km_value":399058262013509.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4140215461044187136,"description":"Unknown IO ID 45"} 
[2026-09-05 08:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875332352001,"power":27821,"unknown_237":206,"unknown_81":49664,"ignition":33,"odometer":null,"unknown_45":4140215461044187136}} 
[2026-09-05 08:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":174029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:04:35] local.INFO: GPS data processed {"connection_id":174029,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:04:35] local.INFO: Acknowledgment sent {"connection_id":174029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:04:57] local.INFO: TCP Data received {"connection_id":171612,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:04:57] local.INFO: Processing buffer {"connection_id":171612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:04:57] local.INFO: IMEI packet received {"connection_id":171612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":171612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:04:58] local.INFO: TCP Data received {"connection_id":171612,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:04:58] local.INFO: Processing buffer {"connection_id":171612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:04:58] local.INFO: IMEI packet received {"connection_id":171612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":171612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:05:02] local.INFO: TCP Data received {"connection_id":171612,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:05:02] local.INFO: Processing buffer {"connection_id":171612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:05:02] local.INFO: IMEI packet received {"connection_id":171612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":171612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:05:03] local.INFO: TCP Data received {"connection_id":171612,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f6a7578012d39e68006a790080017009b27..."} 
[2026-09-05 08:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f6a7578012d39e68006a790080017009b27..."} 
[2026-09-05 08:05:03] local.INFO: Processing buffer {"connection_id":171612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f6a7578012d39e68006a790080017009b27..."} 
[2026-09-05 08:05:03] local.INFO: Packet analysis {"connection_id":171612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f6a"} 
[2026-09-05 08:05:03] local.INFO: Extracted packet for processing {"connection_id":171612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f6a"} 
[2026-09-05 08:05:03] local.INFO: GPS Element Parsed {"raw_longitude":758769280,"raw_latitude":111644680,"longitude_deg":75.876928,"latitude_deg":11.164468,"altitude":23,"angle":155,"satellites":39,"speed":41,"hex_longitude":"2d39e680","hex_latitude":"06a79008","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875362304001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399062965002698752,"note":"Value kept but may cause issues"} 
[2026-09-05 08:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4168433327435546624,"note":"Value kept but may cause issues"} 
[2026-09-05 08:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788575643000,"timestamp_ms":1788575643000,"timestamp_seconds":1788575643,"priority":1,"record_length":96,"hex_timestamp":"000001a06f6a7578"} 
[2026-09-05 08:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:05: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-09-05 08:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 08:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:05: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-09-05 08:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875362304001,"66":27821,"102":206,"81":49664,"24":41,"16":399062965002698752,"45":4168433327435546624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-09-05 08:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875362304001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:05:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 08:05:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-05 08:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399062965002698752,"km_value":399062965002698.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4168433327435546624,"description":"Unknown IO ID 45"} 
[2026-09-05 08:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875362304001,"power":27821,"unknown_102":206,"unknown_81":49664,"ignition":41,"odometer":null,"unknown_45":4168433327435546624}} 
[2026-09-05 08:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":171612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:05:03] local.INFO: GPS data processed {"connection_id":171612,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:05:03] local.INFO: Acknowledgment sent {"connection_id":171612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:05:03] local.INFO: TCP Data received {"connection_id":174030,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f69d550012d7b370005e1c650000001631e..."} 
[2026-09-05 08:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f69d550012d7b370005e1c650000001631e..."} 
[2026-09-05 08:05:03] local.INFO: Processing buffer {"connection_id":174030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f69d550012d7b370005e1c650000001631e..."} 
[2026-09-05 08:05:03] local.INFO: Packet analysis {"connection_id":174030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f69"} 
[2026-09-05 08:05:03] local.INFO: Extracted packet for processing {"connection_id":174030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f69"} 
[2026-09-05 08:05:03] local.INFO: GPS Element Parsed {"raw_longitude":763049728,"raw_latitude":98682448,"longitude_deg":76.3049728,"latitude_deg":9.8682448,"altitude":0,"angle":355,"satellites":30,"speed":34,"hex_longitude":"2d7b3700","hex_latitude":"05e1c650","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875351040001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879339271830425600,"note":"Value kept but may cause issues"} 
[2026-09-05 08:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128405335873421312,"note":"Value kept but may cause issues"} 
[2026-09-05 08:05:03] 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-09-05 08:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788575602000,"timestamp_ms":1788575602000,"timestamp_seconds":1788575602,"priority":1,"record_length":96,"hex_timestamp":"000001a06f69d550"} 
[2026-09-05 08:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 08:05:03] 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-09-05 08:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875351040001,"66":13820,"45":8879339271830425600,"85":15104,"24":34,"16":128405335873421312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-05 08:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875351040001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879339271830425600,"description":"Unknown IO ID 45"} 
[2026-09-05 08:05:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128405335873421312,"km_value":128405335873421.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:05:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457875351040001,"power":13820,"unknown_45":8879339271830425600,"unknown_85":15104,"ignition":34,"odometer":null}} 
[2026-09-05 08:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":174030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:05:03] local.INFO: GPS data processed {"connection_id":174030,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:05:03] local.INFO: Acknowledgment sent {"connection_id":174030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:05:27] local.INFO: TCP Data received {"connection_id":172723,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172723,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:05:27] local.INFO: Processing buffer {"connection_id":172723,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:05:27] local.INFO: IMEI packet received {"connection_id":172723,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":172723,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:05:31] local.INFO: TCP Data received {"connection_id":172723,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172723,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:05:31] local.INFO: Processing buffer {"connection_id":172723,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:05:31] local.INFO: IMEI packet received {"connection_id":172723,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":172723,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:05:34] local.INFO: TCP Data received {"connection_id":171612,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f6a8ce8012d39f38006a77b100019008e28..."} 
[2026-09-05 08:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f6a8ce8012d39f38006a77b100019008e28..."} 
[2026-09-05 08:05:34] local.INFO: Processing buffer {"connection_id":171612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f6a8ce8012d39f38006a77b100019008e28..."} 
[2026-09-05 08:05:34] local.INFO: Packet analysis {"connection_id":171612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f6a"} 
[2026-09-05 08:05:34] local.INFO: Extracted packet for processing {"connection_id":171612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f6a"} 
[2026-09-05 08:05:34] local.INFO: GPS Element Parsed {"raw_longitude":758772608,"raw_latitude":111639312,"longitude_deg":75.8772608,"latitude_deg":11.1639312,"altitude":25,"angle":142,"satellites":40,"speed":40,"hex_longitude":"2d39f380","hex_latitude":"06a77b10","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875364608001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399063269945376768,"note":"Value kept but may cause issues"} 
[2026-09-05 08:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4172162870874736640,"note":"Value kept but may cause issues"} 
[2026-09-05 08:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788575649000,"timestamp_ms":1788575649000,"timestamp_seconds":1788575649,"priority":1,"record_length":96,"hex_timestamp":"000001a06f6a8ce8"} 
[2026-09-05 08:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 08:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875364608001,"66":27800,"102":206,"81":49664,"24":40,"16":399063269945376768,"45":4172162870874736640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-09-05 08:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875364608001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:05:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 08:05:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-05 08:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399063269945376768,"km_value":399063269945376.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":4172162870874736640,"description":"Unknown IO ID 45"} 
[2026-09-05 08:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875364608001,"power":27800,"unknown_102":206,"unknown_81":49664,"ignition":40,"odometer":null,"unknown_45":4172162870874736640}} 
[2026-09-05 08:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":171612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:05:34] local.INFO: GPS data processed {"connection_id":171612,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:05:34] local.INFO: Acknowledgment sent {"connection_id":171612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:05:36] local.INFO: TCP Data received {"connection_id":172723,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172723,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:05:36] local.INFO: Processing buffer {"connection_id":172723,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:05:36] local.INFO: IMEI packet received {"connection_id":172723,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":172723,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:05:36] local.INFO: TCP Data received {"connection_id":172723,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f6a0430012d7b338005e1e9c00000015e1b..."} 
[2026-09-05 08:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f6a0430012d7b338005e1e9c00000015e1b..."} 
[2026-09-05 08:05:36] local.INFO: Processing buffer {"connection_id":172723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f6a0430012d7b338005e1e9c00000015e1b..."} 
[2026-09-05 08:05:36] local.INFO: Packet analysis {"connection_id":172723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f6a"} 
[2026-09-05 08:05:36] local.INFO: Extracted packet for processing {"connection_id":172723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f6a"} 
[2026-09-05 08:05:36] local.INFO: GPS Element Parsed {"raw_longitude":763048832,"raw_latitude":98691520,"longitude_deg":76.3048832,"latitude_deg":9.869152,"altitude":0,"angle":350,"satellites":27,"speed":25,"hex_longitude":"2d7b3380","hex_latitude":"05e1e9c0","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875354112001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878565215646928896,"note":"Value kept but may cause issues"} 
[2026-09-05 08:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128405778255052800,"note":"Value kept but may cause issues"} 
[2026-09-05 08:05: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-09-05 08:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788575614000,"timestamp_ms":1788575614000,"timestamp_seconds":1788575614,"priority":1,"record_length":96,"hex_timestamp":"000001a06f6a0430"} 
[2026-09-05 08:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-05 08:05: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-09-05 08: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-09-05 08:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875354112001,"66":13993,"45":8878565215646928896,"85":15104,"24":25,"16":128405778255052800},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-05 08:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875354112001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878565215646928896,"description":"Unknown IO ID 45"} 
[2026-09-05 08:05:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128405778255052800,"km_value":128405778255052.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:05:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457875354112001,"power":13993,"unknown_45":8878565215646928896,"unknown_85":15104,"ignition":25,"odometer":null}} 
[2026-09-05 08:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":172723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767377,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:05:36] local.INFO: GPS data processed {"connection_id":172723,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:05:36] local.INFO: Acknowledgment sent {"connection_id":172723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:05:41] local.INFO: TCP Data received {"connection_id":172723,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f6a5250012d7b2e0005e20c500000015a1d..."} 
[2026-09-05 08:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f6a5250012d7b2e0005e20c500000015a1d..."} 
[2026-09-05 08:05:41] local.INFO: Processing buffer {"connection_id":172723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f6a5250012d7b2e0005e20c500000015a1d..."} 
[2026-09-05 08:05:41] local.INFO: Packet analysis {"connection_id":172723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f6a"} 
[2026-09-05 08:05:41] local.INFO: Extracted packet for processing {"connection_id":172723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f6a"} 
[2026-09-05 08:05:41] local.INFO: GPS Element Parsed {"raw_longitude":763047424,"raw_latitude":98700368,"longitude_deg":76.3047424,"latitude_deg":9.8700368,"altitude":0,"angle":346,"satellites":29,"speed":21,"hex_longitude":"2d7b2e00","hex_latitude":"05e20c50","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875357184001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877580053230764032,"note":"Value kept but may cause issues"} 
[2026-09-05 08:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128406212046749696,"note":"Value kept but may cause issues"} 
[2026-09-05 08:05: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-09-05 08:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788575634000,"timestamp_ms":1788575634000,"timestamp_seconds":1788575634,"priority":1,"record_length":96,"hex_timestamp":"000001a06f6a5250"} 
[2026-09-05 08:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 08:05:41] 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-09-05 08: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-09-05 08:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":172723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":172723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":172723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875357184001,"66":13798,"45":8877580053230764032,"85":15104,"24":21,"16":128406212046749696},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-05 08:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875357184001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877580053230764032,"description":"Unknown IO ID 45"} 
[2026-09-05 08:05:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128406212046749696,"km_value":128406212046749.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:05:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457875357184001,"power":13798,"unknown_45":8877580053230764032,"unknown_85":15104,"ignition":21,"odometer":null}} 
[2026-09-05 08:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":172723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:05:41] local.INFO: GPS data processed {"connection_id":172723,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:05:41] local.INFO: Acknowledgment sent {"connection_id":172723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:05:57] local.INFO: TCP Data received {"connection_id":171613,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:05:57] local.INFO: Processing buffer {"connection_id":171613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:05:57] local.INFO: IMEI packet received {"connection_id":171613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":171613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:06:01] local.INFO: TCP Data received {"connection_id":171613,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:06:01] local.INFO: Processing buffer {"connection_id":171613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:06:01] local.INFO: IMEI packet received {"connection_id":171613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":171613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:06:02] local.INFO: TCP Data received {"connection_id":171613,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:06:02] local.INFO: Processing buffer {"connection_id":171613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:06:02] local.INFO: IMEI packet received {"connection_id":171613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":171613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:06:02] local.INFO: TCP Data received {"connection_id":171613,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f6a9c88012d39fec006a76f78001a008129..."} 
[2026-09-05 08:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f6a9c88012d39fec006a76f78001a008129..."} 
[2026-09-05 08:06:02] local.INFO: Processing buffer {"connection_id":171613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f6a9c88012d39fec006a76f78001a008129..."} 
[2026-09-05 08:06:02] local.INFO: Packet analysis {"connection_id":171613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f6a"} 
[2026-09-05 08:06:02] local.INFO: Extracted packet for processing {"connection_id":171613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f6a"} 
[2026-09-05 08:06:02] local.INFO: GPS Element Parsed {"raw_longitude":758775488,"raw_latitude":111636344,"longitude_deg":75.8775488,"latitude_deg":11.1636344,"altitude":26,"angle":129,"satellites":41,"speed":40,"hex_longitude":"2d39fec0","hex_latitude":"06a76f78","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875366144001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399063467513872384,"note":"Value kept but may cause issues"} 
[2026-09-05 08:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4175822045570600960,"note":"Value kept but may cause issues"} 
[2026-09-05 08:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788575653000,"timestamp_ms":1788575653000,"timestamp_seconds":1788575653,"priority":1,"record_length":96,"hex_timestamp":"000001a06f6a9c88"} 
[2026-09-05 08:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:06: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-09-05 08: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":152,"data_length":795,"current_offset":136} 
[2026-09-05 08:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:06: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-09-05 08:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875366144001,"66":27800,"102":206,"81":49664,"24":40,"16":399063467513872384,"45":4175822045570600960},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-09-05 08:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875366144001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:06:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 08:06:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-05 08:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399063467513872384,"km_value":399063467513872.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4175822045570600960,"description":"Unknown IO ID 45"} 
[2026-09-05 08:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875366144001,"power":27800,"unknown_102":206,"unknown_81":49664,"ignition":40,"odometer":null,"unknown_45":4175822045570600960}} 
[2026-09-05 08:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":171613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:06:02] local.INFO: GPS data processed {"connection_id":171613,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:06:02] local.INFO: Acknowledgment sent {"connection_id":171613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:06:07] local.INFO: TCP Data received {"connection_id":171613,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f6ab010012d3a0f8006a76430001b00762a..."} 
[2026-09-05 08:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f6ab010012d3a0f8006a76430001b00762a..."} 
[2026-09-05 08:06:07] local.INFO: Processing buffer {"connection_id":171613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f6ab010012d3a0f8006a76430001b00762a..."} 
[2026-09-05 08:06:07] local.INFO: Packet analysis {"connection_id":171613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f6a"} 
[2026-09-05 08:06:07] local.INFO: Extracted packet for processing {"connection_id":171613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f6a"} 
[2026-09-05 08:06:07] local.INFO: GPS Element Parsed {"raw_longitude":758779776,"raw_latitude":111633456,"longitude_deg":75.8779776,"latitude_deg":11.1633456,"altitude":27,"angle":118,"satellites":42,"speed":40,"hex_longitude":"2d3a0f80","hex_latitude":"06a76430","is_valid_coordinates":true} 
[2026-09-05 08:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875367168001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399063716621975552,"note":"Value kept but may cause issues"} 
[2026-09-05 08:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4178988639057836032,"note":"Value kept but may cause issues"} 
[2026-09-05 08:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788575658000,"timestamp_ms":1788575658000,"timestamp_seconds":1788575658,"priority":1,"record_length":96,"hex_timestamp":"000001a06f6ab010"} 
[2026-09-05 08:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:06: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-09-05 08:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 08:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875367168001,"66":27865,"102":206,"81":49664,"24":40,"16":399063716621975552,"45":4178988639057836032},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-09-05 08:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875367168001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:06:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 08:06:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-05 08:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399063716621975552,"km_value":399063716621975.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4178988639057836032,"description":"Unknown IO ID 45"} 
[2026-09-05 08:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875367168001,"power":27865,"unknown_102":206,"unknown_81":49664,"ignition":40,"odometer":null,"unknown_45":4178988639057836032}} 
[2026-09-05 08:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":171613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:06:07] local.INFO: GPS data processed {"connection_id":171613,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:06:07] local.INFO: Acknowledgment sent {"connection_id":171613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:06:26] local.INFO: TCP Data received {"connection_id":171321,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171321,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:06:26] local.INFO: Processing buffer {"connection_id":171321,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:06:26] local.INFO: IMEI packet received {"connection_id":171321,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":171321,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:06:31] local.INFO: TCP Data received {"connection_id":171321,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171321,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:06:31] local.INFO: Processing buffer {"connection_id":171321,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:06:31] local.INFO: IMEI packet received {"connection_id":171321,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":171321,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:06:31] local.INFO: TCP Data received {"connection_id":171321,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f6a8900012d7b2a4005e22ef00000015e20..."} 
[2026-09-05 08:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f6a8900012d7b2a4005e22ef00000015e20..."} 
[2026-09-05 08:06:31] local.INFO: Processing buffer {"connection_id":171321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f6a8900012d7b2a4005e22ef00000015e20..."} 
[2026-09-05 08:06:31] local.INFO: Packet analysis {"connection_id":171321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f6a"} 
[2026-09-05 08:06:31] local.INFO: Extracted packet for processing {"connection_id":171321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f6a"} 
[2026-09-05 08:06:31] local.INFO: GPS Element Parsed {"raw_longitude":763046464,"raw_latitude":98709232,"longitude_deg":76.3046464,"latitude_deg":9.8709232,"altitude":0,"angle":350,"satellites":32,"speed":26,"hex_longitude":"2d7b2a40","hex_latitude":"05e22ef0","is_valid_coordinates":true} 
[2026-09-05 08:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875362304001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876031940861120512,"note":"Value kept but may cause issues"} 
[2026-09-05 08:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128406645838446592,"note":"Value kept but may cause issues"} 
[2026-09-05 08:06: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-09-05 08:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788575648000,"timestamp_ms":1788575648000,"timestamp_seconds":1788575648,"priority":1,"record_length":96,"hex_timestamp":"000001a06f6a8900"} 
[2026-09-05 08:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:06:31] 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-09-05 08:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 08:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:06:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171321,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171321,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875362304001,"66":13820,"45":8876031940861120512,"85":15104,"24":26,"16":128406645838446592},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-05 08:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875362304001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876031940861120512,"description":"Unknown IO ID 45"} 
[2026-09-05 08:06:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128406645838446592,"km_value":128406645838446.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:06:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457875362304001,"power":13820,"unknown_45":8876031940861120512,"unknown_85":15104,"ignition":26,"odometer":null}} 
[2026-09-05 08:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":171321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:06:32] local.INFO: GPS data processed {"connection_id":171321,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:06:32] local.INFO: Acknowledgment sent {"connection_id":171321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:06:39] local.INFO: TCP Data received {"connection_id":171613,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f6abfb0012d3a1e4006a75e28001b006a2a..."} 
[2026-09-05 08:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f6abfb0012d3a1e4006a75e28001b006a2a..."} 
[2026-09-05 08:06:39] local.INFO: Processing buffer {"connection_id":171613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f6abfb0012d3a1e4006a75e28001b006a2a..."} 
[2026-09-05 08:06:39] local.INFO: Packet analysis {"connection_id":171613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f6a"} 
[2026-09-05 08:06:39] local.INFO: Extracted packet for processing {"connection_id":171613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f6a"} 
[2026-09-05 08:06:39] local.INFO: GPS Element Parsed {"raw_longitude":758783552,"raw_latitude":111631912,"longitude_deg":75.8783552,"latitude_deg":11.1631912,"altitude":27,"angle":106,"satellites":42,"speed":40,"hex_longitude":"2d3a1e40","hex_latitude":"06a75e28","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875368448001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399063914190471168,"note":"Value kept but may cause issues"} 
[2026-09-05 08:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4183703344917000192,"note":"Value kept but may cause issues"} 
[2026-09-05 08:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788575662000,"timestamp_ms":1788575662000,"timestamp_seconds":1788575662,"priority":1,"record_length":96,"hex_timestamp":"000001a06f6abfb0"} 
[2026-09-05 08:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:06:39] 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-09-05 08: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":217,"data_length":795,"current_offset":136} 
[2026-09-05 08:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875368448001,"66":27604,"102":206,"81":49664,"24":40,"16":399063914190471168,"45":4183703344917000192},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-09-05 08:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875368448001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:06:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 08:06:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-05 08:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399063914190471168,"km_value":399063914190471.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4183703344917000192,"description":"Unknown IO ID 45"} 
[2026-09-05 08:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875368448001,"power":27604,"unknown_102":206,"unknown_81":49664,"ignition":40,"odometer":null,"unknown_45":4183703344917000192}} 
[2026-09-05 08:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":171613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:06:39] local.INFO: GPS data processed {"connection_id":171613,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:06:39] local.INFO: Acknowledgment sent {"connection_id":171613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:07:02] local.INFO: TCP Data received {"connection_id":172724,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:07:02] local.INFO: Processing buffer {"connection_id":172724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:07:02] local.INFO: IMEI packet received {"connection_id":172724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":172724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:07:03] local.INFO: TCP Data received {"connection_id":171321,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f6abfb0012d7b258005e25370000001601c..."} 
[2026-09-05 08:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f6abfb0012d7b258005e25370000001601c..."} 
[2026-09-05 08:07:03] local.INFO: Processing buffer {"connection_id":171321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f6abfb0012d7b258005e25370000001601c..."} 
[2026-09-05 08:07:03] local.INFO: Packet analysis {"connection_id":171321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f6a"} 
[2026-09-05 08:07:03] local.INFO: Extracted packet for processing {"connection_id":171321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f6a"} 
[2026-09-05 08:07:03] local.INFO: GPS Element Parsed {"raw_longitude":763045248,"raw_latitude":98718576,"longitude_deg":76.3045248,"latitude_deg":9.8718576,"altitude":0,"angle":352,"satellites":28,"speed":26,"hex_longitude":"2d7b2580","hex_latitude":"05e25370","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875365888001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874976409700724736,"note":"Value kept but may cause issues"} 
[2026-09-05 08:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128407105399947264,"note":"Value kept but may cause issues"} 
[2026-09-05 08:07:03] 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-09-05 08:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788575662000,"timestamp_ms":1788575662000,"timestamp_seconds":1788575662,"priority":1,"record_length":96,"hex_timestamp":"000001a06f6abfb0"} 
[2026-09-05 08:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-05 08:07:03] 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-09-05 08: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-09-05 08:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171321,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171321,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875365888001,"66":13820,"45":8874976409700724736,"85":15104,"24":26,"16":128407105399947264},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-05 08:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875365888001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874976409700724736,"description":"Unknown IO ID 45"} 
[2026-09-05 08:07:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128407105399947264,"km_value":128407105399947.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:07:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457875365888001,"power":13820,"unknown_45":8874976409700724736,"unknown_85":15104,"ignition":26,"odometer":null}} 
[2026-09-05 08:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":171321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:07:03] local.INFO: GPS data processed {"connection_id":171321,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:07:03] local.INFO: Acknowledgment sent {"connection_id":171321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:07:03] local.INFO: TCP Data received {"connection_id":172724,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:07:03] local.INFO: Processing buffer {"connection_id":172724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:07:03] local.INFO: IMEI packet received {"connection_id":172724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":172724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:07:07] local.INFO: TCP Data received {"connection_id":172724,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:07:07] local.INFO: Processing buffer {"connection_id":172724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:07:07] local.INFO: IMEI packet received {"connection_id":172724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":172724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:07:09] local.INFO: TCP Data received {"connection_id":172724,"ip":"42.106.6.16","data_length":1348,"data_hex":"000000000000030f8e0a000001a06f6ae2d8012d3a41c006a756a8001d006329..."} 
[2026-09-05 08:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172724,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a06f6ae2d8012d3a41c006a756a8001d006329..."} 
[2026-09-05 08:07:09] local.INFO: Processing buffer {"connection_id":172724,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a06f6ae2d8012d3a41c006a756a8001d006329..."} 
[2026-09-05 08:07:09] local.INFO: Packet analysis {"connection_id":172724,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a06f6a"} 
[2026-09-05 08:07:09] local.INFO: Extracted packet for processing {"connection_id":172724,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a06f6a"} 
[2026-09-05 08:07:09] local.INFO: GPS Element Parsed {"raw_longitude":758792640,"raw_latitude":111629992,"longitude_deg":75.879264,"latitude_deg":11.1629992,"altitude":29,"angle":99,"satellites":41,"speed":41,"hex_longitude":"2d3a41c0","hex_latitude":"06a756a8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875369472001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399064352277135360,"note":"Value kept but may cause issues"} 
[2026-09-05 08:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4187855100823087104,"note":"Value kept but may cause issues"} 
[2026-09-05 08:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788575671000,"timestamp_ms":1788575671000,"timestamp_seconds":1788575671,"priority":1,"record_length":96,"hex_timestamp":"000001a06f6ae2d8"} 
[2026-09-05 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-09-05 08:07: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-09-05 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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-05 08:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 08:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875369472001,"66":27908,"102":206,"81":49664,"24":41,"16":399064352277135360,"45":4187855100823087104},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-09-05 08:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875369472001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:07:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 08:07:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-05 08:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399064352277135360,"km_value":399064352277135.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4187855100823087104,"description":"Unknown IO ID 45"} 
[2026-09-05 08:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875369472001,"power":27908,"unknown_102":206,"unknown_81":49664,"ignition":41,"odometer":null,"unknown_45":4187855100823087104}} 
[2026-09-05 08:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":172724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:07:09] local.INFO: GPS data processed {"connection_id":172724,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:07:09] local.INFO: Acknowledgment sent {"connection_id":172724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:07:09] local.INFO: Packet analysis {"connection_id":172724,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a06f6b"} 
[2026-09-05 08:07:09] local.INFO: Incomplete packet, waiting for more data {"connection_id":172724,"needed":795,"available":553} 
[2026-09-05 08:07:11] local.INFO: TCP Data received {"connection_id":172724,"ip":"42.106.6.16","data_length":242,"data_hex":"000000000001a06f6a5250012d39d94006a7b200001600a02700290000000a00..."} 
[2026-09-05 08:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172724,"packet_length":242,"packet_hex":"000000000001a06f6a5250012d39d94006a7b200001600a02700290000000a00..."} 
[2026-09-05 08:07:11] local.INFO: Processing buffer {"connection_id":172724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f6b0600012d3a664006a751180020006329..."} 
[2026-09-05 08:07:11] local.INFO: Packet analysis {"connection_id":172724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f6b"} 
[2026-09-05 08:07:11] local.INFO: Extracted packet for processing {"connection_id":172724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f6b"} 
[2026-09-05 08:07:11] local.INFO: GPS Element Parsed {"raw_longitude":758801984,"raw_latitude":111628568,"longitude_deg":75.8801984,"latitude_deg":11.1628568,"altitude":32,"angle":99,"satellites":41,"speed":40,"hex_longitude":"2d3a6640","hex_latitude":"06a75118","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875371776001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399064803248701440,"note":"Value kept but may cause issues"} 
[2026-09-05 08:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4197847462495823872,"note":"Value kept but may cause issues"} 
[2026-09-05 08:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788575680000,"timestamp_ms":1788575680000,"timestamp_seconds":1788575680,"priority":1,"record_length":96,"hex_timestamp":"000001a06f6b0600"} 
[2026-09-05 08:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":4,"data_length":795,"current_offset":136} 
[2026-09-05 08:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":172724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":172724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":172724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875371776001,"66":27745,"102":206,"81":49664,"24":40,"16":399064803248701440,"45":4197847462495823872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-09-05 08:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875371776001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:07:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 08:07:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-05 08:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399064803248701440,"km_value":399064803248701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4197847462495823872,"description":"Unknown IO ID 45"} 
[2026-09-05 08:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875371776001,"power":27745,"unknown_102":206,"unknown_81":49664,"ignition":40,"odometer":null,"unknown_45":4197847462495823872}} 
[2026-09-05 08:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":172724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:07:11] local.INFO: GPS data processed {"connection_id":172724,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:07:11] local.INFO: Acknowledgment sent {"connection_id":172724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:07:13] local.INFO: TCP Data received {"connection_id":172724,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f6b2d10012d3a8c4006a74a38002400642a..."} 
[2026-09-05 08:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f6b2d10012d3a8c4006a74a38002400642a..."} 
[2026-09-05 08:07:13] local.INFO: Processing buffer {"connection_id":172724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f6b2d10012d3a8c4006a74a38002400642a..."} 
[2026-09-05 08:07:13] local.INFO: Packet analysis {"connection_id":172724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f6b"} 
[2026-09-05 08:07:13] local.INFO: Extracted packet for processing {"connection_id":172724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f6b"} 
[2026-09-05 08:07:13] local.INFO: GPS Element Parsed {"raw_longitude":758811712,"raw_latitude":111626808,"longitude_deg":75.8811712,"latitude_deg":11.1626808,"altitude":36,"angle":100,"satellites":42,"speed":37,"hex_longitude":"2d3a8c40","hex_latitude":"06a74a38","is_valid_coordinates":true} 
[2026-09-05 08:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875374080001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399065275695104000,"note":"Value kept but may cause issues"} 
[2026-09-05 08:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4208121299145398272,"note":"Value kept but may cause issues"} 
[2026-09-05 08:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788575690000,"timestamp_ms":1788575690000,"timestamp_seconds":1788575690,"priority":1,"record_length":96,"hex_timestamp":"000001a06f6b2d10"} 
[2026-09-05 08:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 08:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":172724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":172724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":172724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875374080001,"66":27821,"102":206,"81":49664,"24":37,"16":399065275695104000,"45":4208121299145398272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-09-05 08:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875374080001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:07:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 08:07:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-05 08:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399065275695104000,"km_value":399065275695104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4208121299145398272,"description":"Unknown IO ID 45"} 
[2026-09-05 08:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875374080001,"power":27821,"unknown_102":206,"unknown_81":49664,"ignition":37,"odometer":null,"unknown_45":4208121299145398272}} 
[2026-09-05 08:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":172724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:07:13] local.INFO: GPS data processed {"connection_id":172724,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:07:13] local.INFO: Acknowledgment sent {"connection_id":172724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:07:26] local.INFO: TCP Data received {"connection_id":174031,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:07:26] local.INFO: Processing buffer {"connection_id":174031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:07:26] local.INFO: IMEI packet received {"connection_id":174031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":174031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:07:31] local.INFO: TCP Data received {"connection_id":174031,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:07:31] local.INFO: Processing buffer {"connection_id":174031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:07:31] local.INFO: IMEI packet received {"connection_id":174031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":174031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:07:32] local.INFO: TCP Data received {"connection_id":174031,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f6aee90012d7b220005e278b80000015d1a..."} 
[2026-09-05 08:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f6aee90012d7b220005e278b80000015d1a..."} 
[2026-09-05 08:07:32] local.INFO: Processing buffer {"connection_id":174031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f6aee90012d7b220005e278b80000015d1a..."} 
[2026-09-05 08:07:32] local.INFO: Packet analysis {"connection_id":174031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f6a"} 
[2026-09-05 08:07:32] local.INFO: Extracted packet for processing {"connection_id":174031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f6a"} 
[2026-09-05 08:07:32] local.INFO: GPS Element Parsed {"raw_longitude":763044352,"raw_latitude":98728120,"longitude_deg":76.3044352,"latitude_deg":9.872812,"altitude":0,"angle":349,"satellites":26,"speed":34,"hex_longitude":"2d7b2200","hex_latitude":"05e278b8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875369472001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873639403563741184,"note":"Value kept but may cause issues"} 
[2026-09-05 08:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128407569256415232,"note":"Value kept but may cause issues"} 
[2026-09-05 08:07:32] 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-09-05 08:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788575674000,"timestamp_ms":1788575674000,"timestamp_seconds":1788575674,"priority":1,"record_length":96,"hex_timestamp":"000001a06f6aee90"} 
[2026-09-05 08:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:07: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-09-05 08: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-05 08:07:32] 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-09-05 08: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-09-05 08:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875369472001,"66":13939,"45":8873639403563741184,"85":15104,"24":34,"16":128407569256415232},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-05 08:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875369472001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873639403563741184,"description":"Unknown IO ID 45"} 
[2026-09-05 08:07:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128407569256415232,"km_value":128407569256415.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:07:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457875369472001,"power":13939,"unknown_45":8873639403563741184,"unknown_85":15104,"ignition":34,"odometer":null}} 
[2026-09-05 08:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":174031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:07:32] local.INFO: GPS data processed {"connection_id":174031,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:07:32] local.INFO: Acknowledgment sent {"connection_id":174031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:07:58] local.INFO: TCP Data received {"connection_id":171614,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:07:58] local.INFO: Processing buffer {"connection_id":171614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:07:58] local.INFO: IMEI packet received {"connection_id":171614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":171614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:07:59] local.INFO: TCP Data received {"connection_id":171614,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:07:59] local.INFO: Processing buffer {"connection_id":171614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:07:59] local.INFO: IMEI packet received {"connection_id":171614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":171614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:08:00] local.INFO: TCP Data received {"connection_id":171614,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f6ce678012d3bbf4006a6cca0003f00992a..."} 
[2026-09-05 08:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f6ce678012d3bbf4006a6cca0003f00992a..."} 
[2026-09-05 08:08:00] local.INFO: Processing buffer {"connection_id":171614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f6ce678012d3bbf4006a6cca0003f00992a..."} 
[2026-09-05 08:08:00] local.INFO: Packet analysis {"connection_id":171614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f6c"} 
[2026-09-05 08:08:00] local.INFO: Extracted packet for processing {"connection_id":171614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f6c"} 
[2026-09-05 08:08:00] local.INFO: GPS Element Parsed {"raw_longitude":758890304,"raw_latitude":111594656,"longitude_deg":75.8890304,"latitude_deg":11.1594656,"altitude":63,"angle":153,"satellites":42,"speed":36,"hex_longitude":"2d3bbf40","hex_latitude":"06a6cca0","is_valid_coordinates":true} 
[2026-09-05 08:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875402752001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399069557777498112,"note":"Value kept but may cause issues"} 
[2026-09-05 08:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4300374722755840000,"note":"Value kept but may cause issues"} 
[2026-09-05 08:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788575803000,"timestamp_ms":1788575803000,"timestamp_seconds":1788575803,"priority":1,"record_length":96,"hex_timestamp":"000001a06f6ce678"} 
[2026-09-05 08:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:08:00] 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-09-05 08:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 08:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875402752001,"66":27887,"41":206,"81":49664,"24":36,"16":399069557777498112,"45":4300374722755840000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,81,24,16,45]} 
[2026-09-05 08:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875402752001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:08:00] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-05 08:08:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-05 08:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399069557777498112,"km_value":399069557777498.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":4300374722755840000,"description":"Unknown IO ID 45"} 
[2026-09-05 08:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875402752001,"power":27887,"unknown_41":206,"unknown_81":49664,"ignition":36,"odometer":null,"unknown_45":4300374722755840000}} 
[2026-09-05 08:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":171614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:08:00] local.INFO: GPS data processed {"connection_id":171614,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:08:00] local.INFO: Acknowledgment sent {"connection_id":171614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:08:03] local.INFO: TCP Data received {"connection_id":174031,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f6b15a0012d7b1b8005e29ce00000015e1c..."} 
[2026-09-05 08:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f6b15a0012d7b1b8005e29ce00000015e1c..."} 
[2026-09-05 08:08:03] local.INFO: Processing buffer {"connection_id":174031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f6b15a0012d7b1b8005e29ce00000015e1c..."} 
[2026-09-05 08:08:03] local.INFO: Packet analysis {"connection_id":174031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f6b"} 
[2026-09-05 08:08:03] local.INFO: Extracted packet for processing {"connection_id":174031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f6b"} 
[2026-09-05 08:08:03] local.INFO: GPS Element Parsed {"raw_longitude":763042688,"raw_latitude":98737376,"longitude_deg":76.3042688,"latitude_deg":9.8737376,"altitude":0,"angle":350,"satellites":28,"speed":40,"hex_longitude":"2d7b1b80","hex_latitude":"05e29ce0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875372544001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128408024522948608,"note":"Value kept but may cause issues"} 
[2026-09-05 08:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872654241147697152,"note":"Value kept but may cause issues"} 
[2026-09-05 08:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788575684000,"timestamp_ms":1788575684000,"timestamp_seconds":1788575684,"priority":1,"record_length":96,"hex_timestamp":"000001a06f6b15a0"} 
[2026-09-05 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-09-05 08:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-05 08:08:03] 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-09-05 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-09-05 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-09-05 08:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875372544001,"66":13972,"207":206,"85":15104,"24":40,"16":128408024522948608,"45":8872654241147697152},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-05 08:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875372544001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:08:03] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 08:08:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128408024522948608,"km_value":128408024522948.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872654241147697152,"description":"Unknown IO ID 45"} 
[2026-09-05 08:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875372544001,"power":13972,"unknown_207":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8872654241147697152}} 
[2026-09-05 08:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":174031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767389,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:08:03] local.INFO: GPS data processed {"connection_id":174031,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:08:03] local.INFO: Acknowledgment sent {"connection_id":174031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:08:24] local.INFO: TCP Data received {"connection_id":171614,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f6d0d88012d3bcf0006a6abf00040009929..."} 
[2026-09-05 08:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f6d0d88012d3bcf0006a6abf00040009929..."} 
[2026-09-05 08:08:24] local.INFO: Processing buffer {"connection_id":171614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f6d0d88012d3bcf0006a6abf00040009929..."} 
[2026-09-05 08:08:24] local.INFO: Packet analysis {"connection_id":171614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f6d"} 
[2026-09-05 08:08:24] local.INFO: Extracted packet for processing {"connection_id":171614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f6d"} 
[2026-09-05 08:08:24] local.INFO: GPS Element Parsed {"raw_longitude":758894336,"raw_latitude":111586288,"longitude_deg":75.8894336,"latitude_deg":11.1586288,"altitude":64,"angle":153,"satellites":41,"speed":36,"hex_longitude":"2d3bcf00","hex_latitude":"06a6abf0","is_valid_coordinates":true} 
[2026-09-05 08:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875405568001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399070008749064192,"note":"Value kept but may cause issues"} 
[2026-09-05 08:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4305230166101893120,"note":"Value kept but may cause issues"} 
[2026-09-05 08:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788575813000,"timestamp_ms":1788575813000,"timestamp_seconds":1788575813,"priority":1,"record_length":96,"hex_timestamp":"000001a06f6d0d88"} 
[2026-09-05 08:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:08: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-09-05 08:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-05 08:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875405568001,"66":27767,"41":206,"81":49664,"24":36,"16":399070008749064192,"45":4305230166101893120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,81,24,16,45]} 
[2026-09-05 08:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875405568001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:08:24] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-05 08:08:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-05 08:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399070008749064192,"km_value":399070008749064.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":4305230166101893120,"description":"Unknown IO ID 45"} 
[2026-09-05 08:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875405568001,"power":27767,"unknown_41":206,"unknown_81":49664,"ignition":36,"odometer":null,"unknown_45":4305230166101893120}} 
[2026-09-05 08:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":171614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:08:24] local.INFO: GPS data processed {"connection_id":171614,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:08:24] local.INFO: Acknowledgment sent {"connection_id":171614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:08:25] local.INFO: TCP Data received {"connection_id":172725,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:08:25] local.INFO: Processing buffer {"connection_id":172725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:08:25] local.INFO: IMEI packet received {"connection_id":172725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":172725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:08:31] local.INFO: TCP Data received {"connection_id":172725,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:08:31] local.INFO: Processing buffer {"connection_id":172725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:08:31] local.INFO: IMEI packet received {"connection_id":172725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":172725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:08:32] local.INFO: TCP Data received {"connection_id":172725,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f6b67a8012d7b158005e2bc38000001621a..."} 
[2026-09-05 08:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f6b67a8012d7b158005e2bc38000001621a..."} 
[2026-09-05 08:08:32] local.INFO: Processing buffer {"connection_id":172725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f6b67a8012d7b158005e2bc38000001621a..."} 
[2026-09-05 08:08:32] local.INFO: Packet analysis {"connection_id":172725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f6b"} 
[2026-09-05 08:08:32] local.INFO: Extracted packet for processing {"connection_id":172725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f6b"} 
[2026-09-05 08:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763041152,"raw_latitude":98745400,"longitude_deg":76.3041152,"latitude_deg":9.87454,"altitude":0,"angle":354,"satellites":26,"speed":0,"hex_longitude":"2d7b1580","hex_latitude":"05e2bc38","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875375104001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128408428249874432,"note":"Value kept but may cause issues"} 
[2026-09-05 08:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870824653801447424,"note":"Value kept but may cause issues"} 
[2026-09-05 08:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788575705000,"timestamp_ms":1788575705000,"timestamp_seconds":1788575705,"priority":1,"record_length":96,"hex_timestamp":"000001a06f6b67a8"} 
[2026-09-05 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-09-05 08:08: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-09-05 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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 08:08: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-09-05 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-09-05 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-09-05 08:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875375104001,"66":13722,"207":206,"85":15104,"24":0,"16":128408428249874432,"45":8870824653801447424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-05 08:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875375104001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:08:32] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 08:08:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128408428249874432,"km_value":128408428249874.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870824653801447424,"description":"Unknown IO ID 45"} 
[2026-09-05 08:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875375104001,"power":13722,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8870824653801447424}} 
[2026-09-05 08:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":172725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767391,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:08:32] local.INFO: GPS data processed {"connection_id":172725,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:08:32] local.INFO: Acknowledgment sent {"connection_id":172725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:08:57] local.INFO: TCP Data received {"connection_id":174032,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:08:57] local.INFO: Processing buffer {"connection_id":174032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:08:57] local.INFO: IMEI packet received {"connection_id":174032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":174032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:08:57] local.INFO: TCP Data received {"connection_id":174032,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:08:57] local.INFO: Processing buffer {"connection_id":174032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:08:57] local.INFO: IMEI packet received {"connection_id":174032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":174032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:09:01] local.INFO: TCP Data received {"connection_id":174032,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:09:01] local.INFO: Processing buffer {"connection_id":174032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:09:01] local.INFO: IMEI packet received {"connection_id":174032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":174032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:09:02] local.INFO: TCP Data received {"connection_id":174032,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f6d3498012d3bdf4006a68c700041009829..."} 
[2026-09-05 08:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f6d3498012d3bdf4006a68c700041009829..."} 
[2026-09-05 08:09:02] local.INFO: Processing buffer {"connection_id":174032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f6d3498012d3bdf4006a68c700041009829..."} 
[2026-09-05 08:09:02] local.INFO: Packet analysis {"connection_id":174032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f6d"} 
[2026-09-05 08:09:02] local.INFO: Extracted packet for processing {"connection_id":174032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f6d"} 
[2026-09-05 08:09:02] local.INFO: GPS Element Parsed {"raw_longitude":758898496,"raw_latitude":111578224,"longitude_deg":75.8898496,"latitude_deg":11.1578224,"altitude":65,"angle":152,"satellites":41,"speed":35,"hex_longitude":"2d3bdf40","hex_latitude":"06a68c70","is_valid_coordinates":true} 
[2026-09-05 08:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875408128001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399070446835728384,"note":"Value kept but may cause issues"} 
[2026-09-05 08:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4309663396982943744,"note":"Value kept but may cause issues"} 
[2026-09-05 08:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788575823000,"timestamp_ms":1788575823000,"timestamp_seconds":1788575823,"priority":1,"record_length":96,"hex_timestamp":"000001a06f6d3498"} 
[2026-09-05 08:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:09: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-09-05 08:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 08:09: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-09-05 08:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:09: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-09-05 08:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875408128001,"66":27919,"41":206,"81":49664,"24":35,"16":399070446835728384,"45":4309663396982943744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,81,24,16,45]} 
[2026-09-05 08:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875408128001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:09:02] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-05 08:09:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-05 08:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399070446835728384,"km_value":399070446835728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4309663396982943744,"description":"Unknown IO ID 45"} 
[2026-09-05 08:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875408128001,"power":27919,"unknown_41":206,"unknown_81":49664,"ignition":35,"odometer":null,"unknown_45":4309663396982943744}} 
[2026-09-05 08:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":174032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:09:02] local.INFO: GPS data processed {"connection_id":174032,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:09:02] local.INFO: Acknowledgment sent {"connection_id":174032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:09:03] local.INFO: TCP Data received {"connection_id":172725,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f6bb9b0012d7b150005e2be200000015e1c..."} 
[2026-09-05 08:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f6bb9b0012d7b150005e2be200000015e1c..."} 
[2026-09-05 08:09:03] local.INFO: Processing buffer {"connection_id":172725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f6bb9b0012d7b150005e2be200000015e1c..."} 
[2026-09-05 08:09:03] local.INFO: Packet analysis {"connection_id":172725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f6b"} 
[2026-09-05 08:09:03] local.INFO: Extracted packet for processing {"connection_id":172725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f6b"} 
[2026-09-05 08:09:03] local.INFO: GPS Element Parsed {"raw_longitude":763041024,"raw_latitude":98745888,"longitude_deg":76.3041024,"latitude_deg":9.8745888,"altitude":0,"angle":350,"satellites":28,"speed":4,"hex_longitude":"2d7b1500","hex_latitude":"05e2be20","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875380480001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128408454019678208,"note":"Value kept but may cause issues"} 
[2026-09-05 08:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869135803943237632,"note":"Value kept but may cause issues"} 
[2026-09-05 08:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788575726000,"timestamp_ms":1788575726000,"timestamp_seconds":1788575726,"priority":1,"record_length":96,"hex_timestamp":"000001a06f6bb9b0"} 
[2026-09-05 08:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-05 08:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875380480001,"66":13580,"207":206,"85":15104,"24":4,"16":128408454019678208,"45":8869135803943237632},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-05 08:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875380480001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:09:03] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 08:09:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128408454019678208,"km_value":128408454019678.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869135803943237632,"description":"Unknown IO ID 45"} 
[2026-09-05 08:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875380480001,"power":13580,"unknown_207":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8869135803943237632}} 
[2026-09-05 08:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":172725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:09:03] local.INFO: GPS data processed {"connection_id":172725,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:09:03] local.INFO: Acknowledgment sent {"connection_id":172725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:09:11] local.INFO: TCP Data received {"connection_id":171320,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171320,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:09:11] local.INFO: Processing buffer {"connection_id":171320,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:09:11] local.INFO: IMEI packet received {"connection_id":171320,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 08:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":171320,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:09:26] local.INFO: TCP Data received {"connection_id":171322,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171322,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:09:26] local.INFO: Processing buffer {"connection_id":171322,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:09:26] local.INFO: IMEI packet received {"connection_id":171322,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":171322,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:09:27] local.INFO: TCP Data received {"connection_id":171322,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171322,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:09:27] local.INFO: Processing buffer {"connection_id":171322,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:09:27] local.INFO: IMEI packet received {"connection_id":171322,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":171322,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:09:30] local.INFO: TCP Data received {"connection_id":171322,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171322,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:09:30] local.INFO: Processing buffer {"connection_id":171322,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:09:30] local.INFO: IMEI packet received {"connection_id":171322,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":171322,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:09:31] local.INFO: TCP Data received {"connection_id":171322,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f6ebb38012d7b154005e2c088000001601f..."} 
[2026-09-05 08:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f6ebb38012d7b154005e2c088000001601f..."} 
[2026-09-05 08:09:31] local.INFO: Processing buffer {"connection_id":171322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f6ebb38012d7b154005e2c088000001601f..."} 
[2026-09-05 08:09:31] local.INFO: Packet analysis {"connection_id":171322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f6e"} 
[2026-09-05 08:09:31] local.INFO: Extracted packet for processing {"connection_id":171322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f6e"} 
[2026-09-05 08:09:31] local.INFO: GPS Element Parsed {"raw_longitude":763041088,"raw_latitude":98746504,"longitude_deg":76.3041088,"latitude_deg":9.8746504,"altitude":0,"angle":352,"satellites":31,"speed":2,"hex_longitude":"2d7b1540","hex_latitude":"05e2c088","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875435776001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128408505559285760,"note":"Value kept but may cause issues"} 
[2026-09-05 08:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869487647664338944,"note":"Value kept but may cause issues"} 
[2026-09-05 08:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788575923000,"timestamp_ms":1788575923000,"timestamp_seconds":1788575923,"priority":1,"record_length":96,"hex_timestamp":"000001a06f6ebb38"} 
[2026-09-05 08:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-05 08:09:31] 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-09-05 08: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-09-05 08:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875435776001,"66":13798,"207":206,"85":15104,"24":2,"16":128408505559285760,"45":8869487647664338944},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-05 08:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875435776001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:09:31] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 08:09:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128408505559285760,"km_value":128408505559285.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869487647664338944,"description":"Unknown IO ID 45"} 
[2026-09-05 08:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875435776001,"power":13798,"unknown_207":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8869487647664338944}} 
[2026-09-05 08:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":171322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:09:31] local.INFO: GPS data processed {"connection_id":171322,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:09:31] local.INFO: Acknowledgment sent {"connection_id":171322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:09:33] local.INFO: TCP Data received {"connection_id":174032,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f6ecad8012d3ccf0006a4b420003400b328..."} 
[2026-09-05 08:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f6ecad8012d3ccf0006a4b420003400b328..."} 
[2026-09-05 08:09:33] local.INFO: Processing buffer {"connection_id":174032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f6ecad8012d3ccf0006a4b420003400b328..."} 
[2026-09-05 08:09:33] local.INFO: Packet analysis {"connection_id":174032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f6e"} 
[2026-09-05 08:09:33] local.INFO: Extracted packet for processing {"connection_id":174032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f6e"} 
[2026-09-05 08:09:33] local.INFO: GPS Element Parsed {"raw_longitude":758959872,"raw_latitude":111457312,"longitude_deg":75.8959872,"latitude_deg":11.1457312,"altitude":52,"angle":179,"satellites":40,"speed":69,"hex_longitude":"2d3ccf00","hex_latitude":"06a4b420","is_valid_coordinates":true} 
[2026-09-05 08:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875436032001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399077146984710144,"note":"Value kept but may cause issues"} 
[2026-09-05 08:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4380806197315844096,"note":"Value kept but may cause issues"} 
[2026-09-05 08:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788575927000,"timestamp_ms":1788575927000,"timestamp_seconds":1788575927,"priority":1,"record_length":96,"hex_timestamp":"000001a06f6ecad8"} 
[2026-09-05 08:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:09: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-09-05 08:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 08:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:09:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:09: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-09-05 08:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875436032001,"66":27767,"133":206,"81":49664,"24":69,"16":399077146984710144,"45":4380806197315844096},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,81,24,16,45]} 
[2026-09-05 08:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875436032001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:09:33] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-05 08:09:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-05 08:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399077146984710144,"km_value":399077146984710.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4380806197315844096,"description":"Unknown IO ID 45"} 
[2026-09-05 08:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875436032001,"power":27767,"unknown_133":206,"unknown_81":49664,"ignition":69,"odometer":null,"unknown_45":4380806197315844096}} 
[2026-09-05 08:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":174032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:09:33] local.INFO: GPS data processed {"connection_id":174032,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:09:33] local.INFO: Acknowledgment sent {"connection_id":174032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:10:02] local.INFO: TCP Data received {"connection_id":171615,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:10:02] local.INFO: Processing buffer {"connection_id":171615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:10:02] local.INFO: IMEI packet received {"connection_id":171615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":171615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:10:02] local.INFO: TCP Data received {"connection_id":171322,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f6f0570012d7b0fc005e2e3200000015e1e..."} 
[2026-09-05 08:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f6f0570012d7b0fc005e2e3200000015e1e..."} 
[2026-09-05 08:10:02] local.INFO: Processing buffer {"connection_id":171322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f6f0570012d7b0fc005e2e3200000015e1e..."} 
[2026-09-05 08:10:02] local.INFO: Packet analysis {"connection_id":171322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f6f"} 
[2026-09-05 08:10:02] local.INFO: Extracted packet for processing {"connection_id":171322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f6f"} 
[2026-09-05 08:10:02] local.INFO: GPS Element Parsed {"raw_longitude":763039680,"raw_latitude":98755360,"longitude_deg":76.303968,"latitude_deg":9.875536,"altitude":0,"angle":350,"satellites":30,"speed":33,"hex_longitude":"2d7b0fc0","hex_latitude":"05e2e320","is_valid_coordinates":true} 
[2026-09-05 08:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875436288001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128408943645949952,"note":"Value kept but may cause issues"} 
[2026-09-05 08:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869065435199342592,"note":"Value kept but may cause issues"} 
[2026-09-05 08:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788575942000,"timestamp_ms":1788575942000,"timestamp_seconds":1788575942,"priority":1,"record_length":96,"hex_timestamp":"000001a06f6f0570"} 
[2026-09-05 08:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 08:10: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-09-05 08:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875436288001,"66":13765,"207":206,"85":15104,"24":33,"16":128408943645949952,"45":8869065435199342592},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-05 08:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875436288001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:10:02] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 08:10:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128408943645949952,"km_value":128408943645949.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869065435199342592,"description":"Unknown IO ID 45"} 
[2026-09-05 08:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875436288001,"power":13765,"unknown_207":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8869065435199342592}} 
[2026-09-05 08:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":171322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767396,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:10:02] local.INFO: GPS data processed {"connection_id":171322,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:10:02] local.INFO: Acknowledgment sent {"connection_id":171322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:10:05] local.INFO: TCP Data received {"connection_id":171615,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:10:05] local.INFO: Processing buffer {"connection_id":171615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:10:05] local.INFO: IMEI packet received {"connection_id":171615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":171615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:10:07] local.INFO: TCP Data received {"connection_id":171615,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f6ed690012d3ccd8006a4a040003500be29..."} 
[2026-09-05 08:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f6ed690012d3ccd8006a4a040003500be29..."} 
[2026-09-05 08:10:07] local.INFO: Processing buffer {"connection_id":171615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f6ed690012d3ccd8006a4a040003500be29..."} 
[2026-09-05 08:10:07] local.INFO: Packet analysis {"connection_id":171615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f6e"} 
[2026-09-05 08:10:07] local.INFO: Extracted packet for processing {"connection_id":171615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f6e"} 
[2026-09-05 08:10:07] local.INFO: GPS Element Parsed {"raw_longitude":758959488,"raw_latitude":111452224,"longitude_deg":75.8959488,"latitude_deg":11.1452224,"altitude":53,"angle":190,"satellites":41,"speed":66,"hex_longitude":"2d3ccd80","hex_latitude":"06a4a040","is_valid_coordinates":true} 
[2026-09-05 08:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875437312001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399077391797846016,"note":"Value kept but may cause issues"} 
[2026-09-05 08:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4381720990987853824,"note":"Value kept but may cause issues"} 
[2026-09-05 08:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788575930000,"timestamp_ms":1788575930000,"timestamp_seconds":1788575930,"priority":1,"record_length":96,"hex_timestamp":"000001a06f6ed690"} 
[2026-09-05 08:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:10: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-09-05 08:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 08:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875437312001,"66":27876,"133":206,"81":49664,"24":66,"16":399077391797846016,"45":4381720990987853824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,81,24,16,45]} 
[2026-09-05 08:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875437312001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:10:07] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-05 08:10:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-05 08:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399077391797846016,"km_value":399077391797846.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4381720990987853824,"description":"Unknown IO ID 45"} 
[2026-09-05 08:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875437312001,"power":27876,"unknown_133":206,"unknown_81":49664,"ignition":66,"odometer":null,"unknown_45":4381720990987853824}} 
[2026-09-05 08:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":171615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:10:07] local.INFO: GPS data processed {"connection_id":171615,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:10:07] local.INFO: Acknowledgment sent {"connection_id":171615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:10:25] local.INFO: TCP Data received {"connection_id":174033,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174033,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:10:25] local.INFO: Processing buffer {"connection_id":174033,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:10:25] local.INFO: IMEI packet received {"connection_id":174033,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":174033,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:10:31] local.INFO: TCP Data received {"connection_id":174033,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174033,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:10:31] local.INFO: Processing buffer {"connection_id":174033,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:10:31] local.INFO: IMEI packet received {"connection_id":174033,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":174033,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:10:32] local.INFO: TCP Data received {"connection_id":174033,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f6fe418012d7b10c005e31d40000000ab22..."} 
[2026-09-05 08:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f6fe418012d7b10c005e31d40000000ab22..."} 
[2026-09-05 08:10:32] local.INFO: Processing buffer {"connection_id":174033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f6fe418012d7b10c005e31d40000000ab22..."} 
[2026-09-05 08:10:32] local.INFO: Packet analysis {"connection_id":174033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f6f"} 
[2026-09-05 08:10:32] local.INFO: Extracted packet for processing {"connection_id":174033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f6f"} 
[2026-09-05 08:10:32] local.INFO: GPS Element Parsed {"raw_longitude":763039936,"raw_latitude":98770240,"longitude_deg":76.3039936,"latitude_deg":9.877024,"altitude":0,"angle":171,"satellites":34,"speed":0,"hex_longitude":"2d7b10c0","hex_latitude":"05e31d40","is_valid_coordinates":true} 
[2026-09-05 08:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875450368001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128409824114245632,"note":"Value kept but may cause issues"} 
[2026-09-05 08:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867517322833518592,"note":"Value kept but may cause issues"} 
[2026-09-05 08:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788575999000,"timestamp_ms":1788575999000,"timestamp_seconds":1788575999,"priority":1,"record_length":96,"hex_timestamp":"000001a06f6fe418"} 
[2026-09-05 08:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-05 08:10:32] 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-09-05 08:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875450368001,"66":13798,"208":206,"85":15104,"24":0,"16":128409824114245632,"45":8867517322833518592},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 08:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875450368001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:10:32] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 08:10:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128409824114245632,"km_value":128409824114245.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867517322833518592,"description":"Unknown IO ID 45"} 
[2026-09-05 08:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875450368001,"power":13798,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8867517322833518592}} 
[2026-09-05 08:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":174033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767398,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:10:32] local.INFO: GPS data processed {"connection_id":174033,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:10:32] local.INFO: Acknowledgment sent {"connection_id":174033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:10:38] local.INFO: TCP Data received {"connection_id":171615,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f6ee630012d3cc68006a488a8003600cb29..."} 
[2026-09-05 08:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f6ee630012d3cc68006a488a8003600cb29..."} 
[2026-09-05 08:10:38] local.INFO: Processing buffer {"connection_id":171615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f6ee630012d3cc68006a488a8003600cb29..."} 
[2026-09-05 08:10:38] local.INFO: Packet analysis {"connection_id":171615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f6e"} 
[2026-09-05 08:10:38] local.INFO: Extracted packet for processing {"connection_id":171615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f6e"} 
[2026-09-05 08:10:38] local.INFO: GPS Element Parsed {"raw_longitude":758957696,"raw_latitude":111446184,"longitude_deg":75.8957696,"latitude_deg":11.1446184,"altitude":54,"angle":203,"satellites":41,"speed":60,"hex_longitude":"2d3cc680","hex_latitude":"06a488a8","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875438080001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399077701035491328,"note":"Value kept but may cause issues"} 
[2026-09-05 08:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4381298778521485312,"note":"Value kept but may cause issues"} 
[2026-09-05 08:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788575934000,"timestamp_ms":1788575934000,"timestamp_seconds":1788575934,"priority":1,"record_length":96,"hex_timestamp":"000001a06f6ee630"} 
[2026-09-05 08:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:10: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-09-05 08: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":228,"data_length":795,"current_offset":136} 
[2026-09-05 08:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:10: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-09-05 08:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875438080001,"66":27789,"133":206,"81":49664,"24":60,"16":399077701035491328,"45":4381298778521485312},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,81,24,16,45]} 
[2026-09-05 08:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875438080001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:10:38] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-05 08:10:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-05 08:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399077701035491328,"km_value":399077701035491.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4381298778521485312,"description":"Unknown IO ID 45"} 
[2026-09-05 08:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875438080001,"power":27789,"unknown_133":206,"unknown_81":49664,"ignition":60,"odometer":null,"unknown_45":4381298778521485312}} 
[2026-09-05 08:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":171615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:10:38] local.INFO: GPS data processed {"connection_id":171615,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:10:38] local.INFO: Acknowledgment sent {"connection_id":171615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:10:57] local.INFO: TCP Data received {"connection_id":171323,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:10:57] local.INFO: Processing buffer {"connection_id":171323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:10:57] local.INFO: IMEI packet received {"connection_id":171323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":171323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:10:59] local.INFO: TCP Data received {"connection_id":171323,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:10:59] local.INFO: Processing buffer {"connection_id":171323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:10:59] local.INFO: IMEI packet received {"connection_id":171323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":171323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:11:02] local.INFO: TCP Data received {"connection_id":171323,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:11:02] local.INFO: Processing buffer {"connection_id":171323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:11:02] local.INFO: IMEI packet received {"connection_id":171323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":171323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:11:03] local.INFO: TCP Data received {"connection_id":171323,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f6fff70012d3c8d4006a32cf8004300bc2a..."} 
[2026-09-05 08:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f6fff70012d3c8d4006a32cf8004300bc2a..."} 
[2026-09-05 08:11:03] local.INFO: Processing buffer {"connection_id":171323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f6fff70012d3c8d4006a32cf8004300bc2a..."} 
[2026-09-05 08:11:03] local.INFO: Packet analysis {"connection_id":171323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f6f"} 
[2026-09-05 08:11:03] local.INFO: Extracted packet for processing {"connection_id":171323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f6f"} 
[2026-09-05 08:11:03] local.INFO: GPS Element Parsed {"raw_longitude":758943040,"raw_latitude":111357176,"longitude_deg":75.894304,"latitude_deg":11.1357176,"altitude":67,"angle":188,"satellites":42,"speed":46,"hex_longitude":"2d3c8d40","hex_latitude":"06a32cf8","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875455744001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364621386129297408,"note":"Value kept but may cause issues"} 
[2026-09-05 08:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399082137736708096,"note":"Value kept but may cause issues"} 
[2026-09-05 08:11:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 08:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788576006000,"timestamp_ms":1788576006000,"timestamp_seconds":1788576006,"priority":1,"record_length":96,"hex_timestamp":"000001a06f6fff70"} 
[2026-09-05 08:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:11: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-09-05 08:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-05 08:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:11: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-09-05 08:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875455744001,"66":27865,"45":4364621386129297408,"81":49664,"24":46,"16":399082137736708096},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-09-05 08:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875455744001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364621386129297408,"description":"Unknown IO ID 45"} 
[2026-09-05 08:11:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-05 08:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399082137736708096,"km_value":399082137736708.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:11:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457875455744001,"power":27865,"unknown_45":4364621386129297408,"unknown_81":49664,"ignition":46,"odometer":null}} 
[2026-09-05 08:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":171323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:11:03] local.INFO: GPS data processed {"connection_id":171323,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:11:03] local.INFO: Acknowledgment sent {"connection_id":171323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:11:04] local.INFO: TCP Data received {"connection_id":174033,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f700b28012d7b12c005e319b00000009f23..."} 
[2026-09-05 08:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f700b28012d7b12c005e319b00000009f23..."} 
[2026-09-05 08:11:04] local.INFO: Processing buffer {"connection_id":174033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f700b28012d7b12c005e319b00000009f23..."} 
[2026-09-05 08:11:04] local.INFO: Packet analysis {"connection_id":174033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f70"} 
[2026-09-05 08:11:04] local.INFO: Extracted packet for processing {"connection_id":174033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f70"} 
[2026-09-05 08:11:04] local.INFO: GPS Element Parsed {"raw_longitude":763040448,"raw_latitude":98769328,"longitude_deg":76.3040448,"latitude_deg":9.8769328,"altitude":0,"angle":159,"satellites":35,"speed":5,"hex_longitude":"2d7b12c0","hex_latitude":"05e319b0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875455744001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128409879948820480,"note":"Value kept but may cause issues"} 
[2026-09-05 08:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867798797810221056,"note":"Value kept but may cause issues"} 
[2026-09-05 08:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788576009000,"timestamp_ms":1788576009000,"timestamp_seconds":1788576009,"priority":1,"record_length":96,"hex_timestamp":"000001a06f700b28"} 
[2026-09-05 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-09-05 08:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 08:11: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-09-05 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-09-05 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-09-05 08:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875455744001,"66":13765,"208":206,"85":15104,"24":5,"16":128409879948820480,"45":8867798797810221056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 08:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875455744001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:11:04] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 08:11:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128409879948820480,"km_value":128409879948820.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867798797810221056,"description":"Unknown IO ID 45"} 
[2026-09-05 08:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875455744001,"power":13765,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8867798797810221056}} 
[2026-09-05 08:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":174033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767401,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:11:04] local.INFO: GPS data processed {"connection_id":174033,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:11:04] local.INFO: Acknowledgment sent {"connection_id":174033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:11:31] local.INFO: TCP Data received {"connection_id":174034,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174034,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:11:31] local.INFO: Processing buffer {"connection_id":174034,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:11:31] local.INFO: IMEI packet received {"connection_id":174034,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":174034,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:11:34] local.INFO: TCP Data received {"connection_id":171323,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f701eb0012d3c87c006a30a40004600bd29..."} 
[2026-09-05 08:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f701eb0012d3c87c006a30a40004600bd29..."} 
[2026-09-05 08:11:34] local.INFO: Processing buffer {"connection_id":171323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f701eb0012d3c87c006a30a40004600bd29..."} 
[2026-09-05 08:11:34] local.INFO: Packet analysis {"connection_id":171323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f70"} 
[2026-09-05 08:11:34] local.INFO: Extracted packet for processing {"connection_id":171323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f70"} 
[2026-09-05 08:11:34] local.INFO: GPS Element Parsed {"raw_longitude":758941632,"raw_latitude":111348288,"longitude_deg":75.8941632,"latitude_deg":11.1348288,"altitude":70,"angle":189,"satellites":41,"speed":43,"hex_longitude":"2d3c87c0","hex_latitude":"06a30a40","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875457536001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4363214011243493376,"note":"Value kept but may cause issues"} 
[2026-09-05 08:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399082575823372288,"note":"Value kept but may cause issues"} 
[2026-09-05 08:11:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 08:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788576014000,"timestamp_ms":1788576014000,"timestamp_seconds":1788576014,"priority":1,"record_length":96,"hex_timestamp":"000001a06f701eb0"} 
[2026-09-05 08:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 08:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875457536001,"66":27821,"45":4363214011243493376,"81":49664,"24":43,"16":399082575823372288},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-09-05 08:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875457536001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":4363214011243493376,"description":"Unknown IO ID 45"} 
[2026-09-05 08:11:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-05 08:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399082575823372288,"km_value":399082575823372.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:11:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457875457536001,"power":27821,"unknown_45":4363214011243493376,"unknown_81":49664,"ignition":43,"odometer":null}} 
[2026-09-05 08:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":171323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:11:34] local.INFO: GPS data processed {"connection_id":171323,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:11:34] local.INFO: Acknowledgment sent {"connection_id":171323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:11:36] local.INFO: TCP Data received {"connection_id":174034,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174034,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:11:36] local.INFO: Processing buffer {"connection_id":174034,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:11:36] local.INFO: IMEI packet received {"connection_id":174034,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":174034,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:11:37] local.INFO: TCP Data received {"connection_id":174034,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f703238012d7b140005e316880001008e26..."} 
[2026-09-05 08:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f703238012d7b140005e316880001008e26..."} 
[2026-09-05 08:11:37] local.INFO: Processing buffer {"connection_id":174034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f703238012d7b140005e316880001008e26..."} 
[2026-09-05 08:11:37] local.INFO: Packet analysis {"connection_id":174034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f70"} 
[2026-09-05 08:11:37] local.INFO: Extracted packet for processing {"connection_id":174034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f70"} 
[2026-09-05 08:11:37] local.INFO: GPS Element Parsed {"raw_longitude":763040768,"raw_latitude":98768520,"longitude_deg":76.3040768,"latitude_deg":9.876852,"altitude":1,"angle":142,"satellites":38,"speed":1,"hex_longitude":"2d7b1400","hex_latitude":"05e31688","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875458304001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128409922898493440,"note":"Value kept but may cause issues"} 
[2026-09-05 08:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868361747763408896,"note":"Value kept but may cause issues"} 
[2026-09-05 08:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788576019000,"timestamp_ms":1788576019000,"timestamp_seconds":1788576019,"priority":1,"record_length":96,"hex_timestamp":"000001a06f703238"} 
[2026-09-05 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-09-05 08:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-05 08:11:37] 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-09-05 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-09-05 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-09-05 08:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875458304001,"66":13656,"208":206,"85":15104,"24":1,"16":128409922898493440,"45":8868361747763408896},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 08:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875458304001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:11:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 08:11:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128409922898493440,"km_value":128409922898493.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868361747763408896,"description":"Unknown IO ID 45"} 
[2026-09-05 08:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875458304001,"power":13656,"unknown_208":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8868361747763408896}} 
[2026-09-05 08:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":174034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:11:37] local.INFO: GPS data processed {"connection_id":174034,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:11:37] local.INFO: Acknowledgment sent {"connection_id":174034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:11:41] local.INFO: TCP Data received {"connection_id":174034,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f708058012d7b144005e316880001008e21..."} 
[2026-09-05 08:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f708058012d7b144005e316880001008e21..."} 
[2026-09-05 08:11:41] local.INFO: Processing buffer {"connection_id":174034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f708058012d7b144005e316880001008e21..."} 
[2026-09-05 08:11:41] local.INFO: Packet analysis {"connection_id":174034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f70"} 
[2026-09-05 08:11:41] local.INFO: Extracted packet for processing {"connection_id":174034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f70"} 
[2026-09-05 08:11:41] local.INFO: GPS Element Parsed {"raw_longitude":763040832,"raw_latitude":98768520,"longitude_deg":76.3040832,"latitude_deg":9.876852,"altitude":1,"angle":142,"satellites":33,"speed":0,"hex_longitude":"2d7b1440","hex_latitude":"05e31688","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875460864001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128409927193460736,"note":"Value kept but may cause issues"} 
[2026-09-05 08:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868713591484090368,"note":"Value kept but may cause issues"} 
[2026-09-05 08:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788576039000,"timestamp_ms":1788576039000,"timestamp_seconds":1788576039,"priority":1,"record_length":96,"hex_timestamp":"000001a06f708058"} 
[2026-09-05 08:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":88,"data_length":795,"current_offset":136} 
[2026-09-05 08:11:41] 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-09-05 08: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-09-05 08:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":174034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":174034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":174034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875460864001,"66":13928,"208":206,"85":15104,"24":0,"16":128409927193460736,"45":8868713591484090368},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 08:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875460864001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:11:41] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 08:11:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128409927193460736,"km_value":128409927193460.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868713591484090368,"description":"Unknown IO ID 45"} 
[2026-09-05 08:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875460864001,"power":13928,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868713591484090368}} 
[2026-09-05 08:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":174034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767404,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:11:41] local.INFO: GPS data processed {"connection_id":174034,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:11:41] local.INFO: Acknowledgment sent {"connection_id":174034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:12:03] local.INFO: TCP Data received {"connection_id":172727,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:12:03] local.INFO: Processing buffer {"connection_id":172727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:12:03] local.INFO: IMEI packet received {"connection_id":172727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":172727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:12:07] local.INFO: TCP Data received {"connection_id":172727,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:12:07] local.INFO: Processing buffer {"connection_id":172727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:12:07] local.INFO: IMEI packet received {"connection_id":172727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":172727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:12:09] local.INFO: TCP Data received {"connection_id":172727,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:12:09] local.INFO: Processing buffer {"connection_id":172727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:12:09] local.INFO: IMEI packet received {"connection_id":172727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":172727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:12:09] local.INFO: TCP Data received {"connection_id":172727,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f7041d8012d3c824006a2e538004900bc27..."} 
[2026-09-05 08:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f7041d8012d3c824006a2e538004900bc27..."} 
[2026-09-05 08:12:09] local.INFO: Processing buffer {"connection_id":172727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f7041d8012d3c824006a2e538004900bc27..."} 
[2026-09-05 08:12:09] local.INFO: Packet analysis {"connection_id":172727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f70"} 
[2026-09-05 08:12:09] local.INFO: Extracted packet for processing {"connection_id":172727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f70"} 
[2026-09-05 08:12:09] local.INFO: GPS Element Parsed {"raw_longitude":758940224,"raw_latitude":111338808,"longitude_deg":75.8940224,"latitude_deg":11.1338808,"altitude":73,"angle":188,"satellites":39,"speed":41,"hex_longitude":"2d3c8240","hex_latitude":"06a2e538","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875459584001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399083039679840256,"note":"Value kept but may cause issues"} 
[2026-09-05 08:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4361665898869309440,"note":"Value kept but may cause issues"} 
[2026-09-05 08:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788576023000,"timestamp_ms":1788576023000,"timestamp_seconds":1788576023,"priority":1,"record_length":96,"hex_timestamp":"000001a06f7041d8"} 
[2026-09-05 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-09-05 08:12: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-09-05 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 08:12:09] 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-09-05 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-09-05 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-09-05 08:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875459584001,"66":27865,"44":206,"81":49664,"24":41,"16":399083039679840256,"45":4361665898869309440},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-05 08:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875459584001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:12:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-05 08:12:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-05 08:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399083039679840256,"km_value":399083039679840.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4361665898869309440,"description":"Unknown IO ID 45"} 
[2026-09-05 08:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875459584001,"power":27865,"unknown_44":206,"unknown_81":49664,"ignition":41,"odometer":null,"unknown_45":4361665898869309440}} 
[2026-09-05 08:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":172727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:12:09] local.INFO: GPS data processed {"connection_id":172727,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:12:09] local.INFO: Acknowledgment sent {"connection_id":172727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:12:26] local.INFO: TCP Data received {"connection_id":171616,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:12:26] local.INFO: Processing buffer {"connection_id":171616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:12:26] local.INFO: IMEI packet received {"connection_id":171616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":171616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:12:26] local.INFO: TCP Data received {"connection_id":171616,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:12:26] local.INFO: Processing buffer {"connection_id":171616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:12:26] local.INFO: IMEI packet received {"connection_id":171616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":171616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:12:31] local.INFO: TCP Data received {"connection_id":171616,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:12:31] local.INFO: Processing buffer {"connection_id":171616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:12:31] local.INFO: IMEI packet received {"connection_id":171616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":171616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:12:32] local.INFO: TCP Data received {"connection_id":171616,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f70d260012d7b144005e316880001008e1e..."} 
[2026-09-05 08:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f70d260012d7b144005e316880001008e1e..."} 
[2026-09-05 08:12:32] local.INFO: Processing buffer {"connection_id":171616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f70d260012d7b144005e316880001008e1e..."} 
[2026-09-05 08:12:32] local.INFO: Packet analysis {"connection_id":171616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f70"} 
[2026-09-05 08:12:32] local.INFO: Extracted packet for processing {"connection_id":171616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f70"} 
[2026-09-05 08:12:32] local.INFO: GPS Element Parsed {"raw_longitude":763040832,"raw_latitude":98768520,"longitude_deg":76.3040832,"latitude_deg":9.876852,"altitude":1,"angle":142,"satellites":30,"speed":0,"hex_longitude":"2d7b1440","hex_latitude":"05e31688","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875465984001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128409927193460736,"note":"Value kept but may cause issues"} 
[2026-09-05 08:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868783960228268032,"note":"Value kept but may cause issues"} 
[2026-09-05 08:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788576060000,"timestamp_ms":1788576060000,"timestamp_seconds":1788576060,"priority":1,"record_length":96,"hex_timestamp":"000001a06f70d260"} 
[2026-09-05 08:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-05 08:12:32] 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-09-05 08: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-09-05 08:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875465984001,"66":13689,"208":206,"85":15104,"24":0,"16":128409927193460736,"45":8868783960228268032},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 08:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875465984001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:12:32] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 08:12:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128409927193460736,"km_value":128409927193460.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868783960228268032,"description":"Unknown IO ID 45"} 
[2026-09-05 08:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875465984001,"power":13689,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868783960228268032}} 
[2026-09-05 08:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":171616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767406,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:12:32] local.INFO: GPS data processed {"connection_id":171616,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:12:32] local.INFO: Acknowledgment sent {"connection_id":171616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:12:37] local.INFO: TCP Data received {"connection_id":171616,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f712468012d7b144005e316880001008e21..."} 
[2026-09-05 08:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f712468012d7b144005e316880001008e21..."} 
[2026-09-05 08:12:37] local.INFO: Processing buffer {"connection_id":171616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f712468012d7b144005e316880001008e21..."} 
[2026-09-05 08:12:37] local.INFO: Packet analysis {"connection_id":171616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f71"} 
[2026-09-05 08:12:37] local.INFO: Extracted packet for processing {"connection_id":171616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f71"} 
[2026-09-05 08:12:37] local.INFO: GPS Element Parsed {"raw_longitude":763040832,"raw_latitude":98768520,"longitude_deg":76.3040832,"latitude_deg":9.876852,"altitude":1,"angle":142,"satellites":33,"speed":0,"hex_longitude":"2d7b1440","hex_latitude":"05e31688","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875471360001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128409927193460736,"note":"Value kept but may cause issues"} 
[2026-09-05 08:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868783960228268032,"note":"Value kept but may cause issues"} 
[2026-09-05 08:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788576081000,"timestamp_ms":1788576081000,"timestamp_seconds":1788576081,"priority":1,"record_length":96,"hex_timestamp":"000001a06f712468"} 
[2026-09-05 08:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:12: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-09-05 08: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-05 08:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875471360001,"66":13787,"208":206,"85":15104,"24":0,"16":128409927193460736,"45":8868783960228268032},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 08:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875471360001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:12:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 08:12:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128409927193460736,"km_value":128409927193460.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868783960228268032,"description":"Unknown IO ID 45"} 
[2026-09-05 08:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875471360001,"power":13787,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868783960228268032}} 
[2026-09-05 08:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":171616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:12:37] local.INFO: GPS data processed {"connection_id":171616,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:12:37] local.INFO: Acknowledgment sent {"connection_id":171616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:12:41] local.INFO: TCP Data received {"connection_id":172727,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f71a550012d3c82c006a0e7a8003200c528..."} 
[2026-09-05 08:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f71a550012d3c82c006a0e7a8003200c528..."} 
[2026-09-05 08:12:41] local.INFO: Processing buffer {"connection_id":172727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f71a550012d3c82c006a0e7a8003200c528..."} 
[2026-09-05 08:12:41] local.INFO: Packet analysis {"connection_id":172727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f71"} 
[2026-09-05 08:12:41] local.INFO: Extracted packet for processing {"connection_id":172727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f71"} 
[2026-09-05 08:12:41] local.INFO: GPS Element Parsed {"raw_longitude":758940352,"raw_latitude":111208360,"longitude_deg":75.8940352,"latitude_deg":11.120836,"altitude":50,"angle":197,"satellites":40,"speed":75,"hex_longitude":"2d3c82c0","hex_latitude":"06a0e7a8","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875483904001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399089486425751552,"note":"Value kept but may cause issues"} 
[2026-09-05 08:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4363425117440208896,"note":"Value kept but may cause issues"} 
[2026-09-05 08:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788576114000,"timestamp_ms":1788576114000,"timestamp_seconds":1788576114,"priority":1,"record_length":96,"hex_timestamp":"000001a06f71a550"} 
[2026-09-05 08:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:12: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-09-05 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 08:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":172727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":172727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":172727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:12: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-09-05 08:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875483904001,"66":27713,"107":206,"81":47616,"24":75,"16":399089486425751552,"45":4363425117440208896},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,81,24,16,45]} 
[2026-09-05 08:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875483904001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:12:41] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-05 08:12:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-05 08:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399089486425751552,"km_value":399089486425751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":4363425117440208896,"description":"Unknown IO ID 45"} 
[2026-09-05 08:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875483904001,"power":27713,"unknown_107":206,"unknown_81":47616,"ignition":75,"odometer":null,"unknown_45":4363425117440208896}} 
[2026-09-05 08:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":172727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:12:41] local.INFO: GPS data processed {"connection_id":172727,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:12:41] local.INFO: Acknowledgment sent {"connection_id":172727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:12:57] local.INFO: TCP Data received {"connection_id":171617,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:12:57] local.INFO: Processing buffer {"connection_id":171617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:12:57] local.INFO: IMEI packet received {"connection_id":171617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":171617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:12:59] local.INFO: TCP Data received {"connection_id":171617,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:12:59] local.INFO: Processing buffer {"connection_id":171617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:12:59] local.INFO: IMEI packet received {"connection_id":171617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":171617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:13:02] local.INFO: TCP Data received {"connection_id":171617,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:13:02] local.INFO: Processing buffer {"connection_id":171617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:13:02] local.INFO: IMEI packet received {"connection_id":171617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":171617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:13:04] local.INFO: TCP Data received {"connection_id":171617,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f71b8d8012d3c778006a0c460002f00c529..."} 
[2026-09-05 08:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f71b8d8012d3c778006a0c460002f00c529..."} 
[2026-09-05 08:13:04] local.INFO: Processing buffer {"connection_id":171617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f71b8d8012d3c778006a0c460002f00c529..."} 
[2026-09-05 08:13:04] local.INFO: Packet analysis {"connection_id":171617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f71"} 
[2026-09-05 08:13:04] local.INFO: Extracted packet for processing {"connection_id":171617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f71"} 
[2026-09-05 08:13:04] local.INFO: GPS Element Parsed {"raw_longitude":758937472,"raw_latitude":111199328,"longitude_deg":75.8937472,"latitude_deg":11.1199328,"altitude":47,"angle":197,"satellites":41,"speed":75,"hex_longitude":"2d3c7780","hex_latitude":"06a0c460","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875485184001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399089945987252224,"note":"Value kept but may cause issues"} 
[2026-09-05 08:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4360258523949934592,"note":"Value kept but may cause issues"} 
[2026-09-05 08:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788576119000,"timestamp_ms":1788576119000,"timestamp_seconds":1788576119,"priority":1,"record_length":96,"hex_timestamp":"000001a06f71b8d8"} 
[2026-09-05 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-09-05 08:13: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-09-05 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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-05 08:13: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-09-05 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-09-05 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-09-05 08:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:13: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-09-05 08:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875485184001,"66":27908,"107":206,"81":47616,"24":75,"16":399089945987252224,"45":4360258523949934592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,81,24,16,45]} 
[2026-09-05 08:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875485184001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:13:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-05 08:13:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-05 08:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399089945987252224,"km_value":399089945987252.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4360258523949934592,"description":"Unknown IO ID 45"} 
[2026-09-05 08:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875485184001,"power":27908,"unknown_107":206,"unknown_81":47616,"ignition":75,"odometer":null,"unknown_45":4360258523949934592}} 
[2026-09-05 08:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":171617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:13:04] local.INFO: GPS data processed {"connection_id":171617,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:13:04] local.INFO: Acknowledgment sent {"connection_id":171617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:13:08] local.INFO: TCP Data received {"connection_id":171617,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f71cc60012d3c6c8006a0a1c8002e00c429..."} 
[2026-09-05 08:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f71cc60012d3c6c8006a0a1c8002e00c429..."} 
[2026-09-05 08:13:08] local.INFO: Processing buffer {"connection_id":171617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f71cc60012d3c6c8006a0a1c8002e00c429..."} 
[2026-09-05 08:13:08] local.INFO: Packet analysis {"connection_id":171617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f71"} 
[2026-09-05 08:13:08] local.INFO: Extracted packet for processing {"connection_id":171617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f71"} 
[2026-09-05 08:13:08] local.INFO: GPS Element Parsed {"raw_longitude":758934656,"raw_latitude":111190472,"longitude_deg":75.8934656,"latitude_deg":11.1190472,"altitude":46,"angle":196,"satellites":41,"speed":72,"hex_longitude":"2d3c6c80","hex_latitude":"06a0a1c8","is_valid_coordinates":true} 
[2026-09-05 08:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875486464001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399090392663851008,"note":"Value kept but may cause issues"} 
[2026-09-05 08:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4357091930459627520,"note":"Value kept but may cause issues"} 
[2026-09-05 08:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788576124000,"timestamp_ms":1788576124000,"timestamp_seconds":1788576124,"priority":1,"record_length":96,"hex_timestamp":"000001a06f71cc60"} 
[2026-09-05 08:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:13: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-09-05 08:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 08:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:13: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-09-05 08:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875486464001,"66":27919,"107":206,"81":47616,"24":72,"16":399090392663851008,"45":4357091930459627520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,81,24,16,45]} 
[2026-09-05 08:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875486464001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:13:08] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-05 08:13:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-05 08:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399090392663851008,"km_value":399090392663851.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4357091930459627520,"description":"Unknown IO ID 45"} 
[2026-09-05 08:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875486464001,"power":27919,"unknown_107":206,"unknown_81":47616,"ignition":72,"odometer":null,"unknown_45":4357091930459627520}} 
[2026-09-05 08:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":171617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:13:08] local.INFO: GPS data processed {"connection_id":171617,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:13:08] local.INFO: Acknowledgment sent {"connection_id":171617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:13:08] local.INFO: TCP Data received {"connection_id":171616,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f717670012d7b144005e316880001008e1f..."} 
[2026-09-05 08:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f717670012d7b144005e316880001008e1f..."} 
[2026-09-05 08:13:08] local.INFO: Processing buffer {"connection_id":171616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f717670012d7b144005e316880001008e1f..."} 
[2026-09-05 08:13:08] local.INFO: Packet analysis {"connection_id":171616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f71"} 
[2026-09-05 08:13:08] local.INFO: Extracted packet for processing {"connection_id":171616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f71"} 
[2026-09-05 08:13:08] local.INFO: GPS Element Parsed {"raw_longitude":763040832,"raw_latitude":98768520,"longitude_deg":76.3040832,"latitude_deg":9.876852,"altitude":1,"angle":142,"satellites":31,"speed":0,"hex_longitude":"2d7b1440","hex_latitude":"05e31688","is_valid_coordinates":true} 
[2026-09-05 08:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875476736001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128409927193460736,"note":"Value kept but may cause issues"} 
[2026-09-05 08:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868783960228268032,"note":"Value kept but may cause issues"} 
[2026-09-05 08:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788576102000,"timestamp_ms":1788576102000,"timestamp_seconds":1788576102,"priority":1,"record_length":96,"hex_timestamp":"000001a06f717670"} 
[2026-09-05 08:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:13: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-09-05 08:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-05 08:13:08] 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-09-05 08:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875476736001,"66":13656,"208":206,"85":15104,"24":0,"16":128409927193460736,"45":8868783960228268032},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 08:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875476736001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:13:08] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 08:13:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128409927193460736,"km_value":128409927193460.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868783960228268032,"description":"Unknown IO ID 45"} 
[2026-09-05 08:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875476736001,"power":13656,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868783960228268032}} 
[2026-09-05 08:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":171616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:13:08] local.INFO: GPS data processed {"connection_id":171616,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:13:08] local.INFO: Acknowledgment sent {"connection_id":171616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:13:26] local.INFO: TCP Data received {"connection_id":174035,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174035,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:13:26] local.INFO: Processing buffer {"connection_id":174035,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:13:26] local.INFO: IMEI packet received {"connection_id":174035,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":174035,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:13:27] local.INFO: TCP Data received {"connection_id":174035,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174035,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:13:27] local.INFO: Processing buffer {"connection_id":174035,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:13:27] local.INFO: IMEI packet received {"connection_id":174035,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":174035,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:13:30] local.INFO: TCP Data received {"connection_id":174035,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174035,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:13:30] local.INFO: Processing buffer {"connection_id":174035,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:13:30] local.INFO: IMEI packet received {"connection_id":174035,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":174035,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:13:31] local.INFO: TCP Data received {"connection_id":174035,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f71c878012d7b144005e316880001008e1f..."} 
[2026-09-05 08:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f71c878012d7b144005e316880001008e1f..."} 
[2026-09-05 08:13:31] local.INFO: Processing buffer {"connection_id":174035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f71c878012d7b144005e316880001008e1f..."} 
[2026-09-05 08:13:31] local.INFO: Packet analysis {"connection_id":174035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f71"} 
[2026-09-05 08:13:31] local.INFO: Extracted packet for processing {"connection_id":174035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f71"} 
[2026-09-05 08:13:31] local.INFO: GPS Element Parsed {"raw_longitude":763040832,"raw_latitude":98768520,"longitude_deg":76.3040832,"latitude_deg":9.876852,"altitude":1,"angle":142,"satellites":31,"speed":0,"hex_longitude":"2d7b1440","hex_latitude":"05e31688","is_valid_coordinates":true} 
[2026-09-05 08:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875482112001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128409927193460736,"note":"Value kept but may cause issues"} 
[2026-09-05 08:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868783960228268032,"note":"Value kept but may cause issues"} 
[2026-09-05 08:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788576123000,"timestamp_ms":1788576123000,"timestamp_seconds":1788576123,"priority":1,"record_length":96,"hex_timestamp":"000001a06f71c878"} 
[2026-09-05 08:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 08:13:31] 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-09-05 08:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875482112001,"66":13678,"208":206,"85":15104,"24":0,"16":128409927193460736,"45":8868783960228268032},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 08:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875482112001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:13:31] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 08:13:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128409927193460736,"km_value":128409927193460.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868783960228268032,"description":"Unknown IO ID 45"} 
[2026-09-05 08:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875482112001,"power":13678,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868783960228268032}} 
[2026-09-05 08:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":174035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767412,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:13:31] local.INFO: GPS data processed {"connection_id":174035,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:13:31] local.INFO: Acknowledgment sent {"connection_id":174035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:13:35] local.INFO: TCP Data received {"connection_id":174035,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f721a80012d7b144005e316880001008e22..."} 
[2026-09-05 08:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f721a80012d7b144005e316880001008e22..."} 
[2026-09-05 08:13:35] local.INFO: Processing buffer {"connection_id":174035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f721a80012d7b144005e316880001008e22..."} 
[2026-09-05 08:13:35] local.INFO: Packet analysis {"connection_id":174035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f72"} 
[2026-09-05 08:13:35] local.INFO: Extracted packet for processing {"connection_id":174035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f72"} 
[2026-09-05 08:13:35] local.INFO: GPS Element Parsed {"raw_longitude":763040832,"raw_latitude":98768520,"longitude_deg":76.3040832,"latitude_deg":9.876852,"altitude":1,"angle":142,"satellites":34,"speed":0,"hex_longitude":"2d7b1440","hex_latitude":"05e31688","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875487488001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128409927193460736,"note":"Value kept but may cause issues"} 
[2026-09-05 08:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868783960228268032,"note":"Value kept but may cause issues"} 
[2026-09-05 08:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788576144000,"timestamp_ms":1788576144000,"timestamp_seconds":1788576144,"priority":1,"record_length":96,"hex_timestamp":"000001a06f721a80"} 
[2026-09-05 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-09-05 08:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-05 08:13: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-09-05 08:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 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-09-05 08:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875487488001,"66":13624,"208":206,"85":15104,"24":0,"16":128409927193460736,"45":8868783960228268032},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 08:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875487488001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:13:35] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 08:13:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128409927193460736,"km_value":128409927193460.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868783960228268032,"description":"Unknown IO ID 45"} 
[2026-09-05 08:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875487488001,"power":13624,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868783960228268032}} 
[2026-09-05 08:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":174035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:13:35] local.INFO: GPS data processed {"connection_id":174035,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:13:35] local.INFO: Acknowledgment sent {"connection_id":174035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:13:42] local.INFO: TCP Data received {"connection_id":171617,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f71e3d0012d3c5f8006a07b68002f00c828..."} 
[2026-09-05 08:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f71e3d0012d3c5f8006a07b68002f00c828..."} 
[2026-09-05 08:13:42] local.INFO: Processing buffer {"connection_id":171617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f71e3d0012d3c5f8006a07b68002f00c828..."} 
[2026-09-05 08:13:42] local.INFO: Packet analysis {"connection_id":171617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f71"} 
[2026-09-05 08:13:42] local.INFO: Extracted packet for processing {"connection_id":171617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f71"} 
[2026-09-05 08:13:42] local.INFO: GPS Element Parsed {"raw_longitude":758931328,"raw_latitude":111180648,"longitude_deg":75.8931328,"latitude_deg":11.1180648,"altitude":47,"angle":200,"satellites":40,"speed":64,"hex_longitude":"2d3c5f80","hex_latitude":"06a07b68","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875487744001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399090895175024640,"note":"Value kept but may cause issues"} 
[2026-09-05 08:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4353995705713543168,"note":"Value kept but may cause issues"} 
[2026-09-05 08:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788576130000,"timestamp_ms":1788576130000,"timestamp_seconds":1788576130,"priority":1,"record_length":96,"hex_timestamp":"000001a06f71e3d0"} 
[2026-09-05 08:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:13:42] 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-09-05 08: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 08:13:42] 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-09-05 08: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-09-05 08:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":171617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":171617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":171617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:13: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-09-05 08:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875487744001,"66":27843,"107":206,"81":47616,"24":64,"16":399090895175024640,"45":4353995705713543168},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,81,24,16,45]} 
[2026-09-05 08:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875487744001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:13:42] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-05 08:13:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-05 08:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399090895175024640,"km_value":399090895175024.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4353995705713543168,"description":"Unknown IO ID 45"} 
[2026-09-05 08:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875487744001,"power":27843,"unknown_107":206,"unknown_81":47616,"ignition":64,"odometer":null,"unknown_45":4353995705713543168}} 
[2026-09-05 08:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":171617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:13:42] local.INFO: GPS data processed {"connection_id":171617,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:13:42] local.INFO: Acknowledgment sent {"connection_id":171617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:14:02] local.INFO: TCP Data received {"connection_id":171324,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:14:02] local.INFO: Processing buffer {"connection_id":171324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:14:02] local.INFO: IMEI packet received {"connection_id":171324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":171324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:14:06] local.INFO: TCP Data received {"connection_id":174035,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f726c88012d7b144005e316880001008e23..."} 
[2026-09-05 08:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f726c88012d7b144005e316880001008e23..."} 
[2026-09-05 08:14:06] local.INFO: Processing buffer {"connection_id":174035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f726c88012d7b144005e316880001008e23..."} 
[2026-09-05 08:14:06] local.INFO: Packet analysis {"connection_id":174035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f72"} 
[2026-09-05 08:14:06] local.INFO: Extracted packet for processing {"connection_id":174035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f72"} 
[2026-09-05 08:14:06] local.INFO: GPS Element Parsed {"raw_longitude":763040832,"raw_latitude":98768520,"longitude_deg":76.3040832,"latitude_deg":9.876852,"altitude":1,"angle":142,"satellites":35,"speed":0,"hex_longitude":"2d7b1440","hex_latitude":"05e31688","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875492864001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128409927193460736,"note":"Value kept but may cause issues"} 
[2026-09-05 08:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868783960228268032,"note":"Value kept but may cause issues"} 
[2026-09-05 08:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788576165000,"timestamp_ms":1788576165000,"timestamp_seconds":1788576165,"priority":1,"record_length":96,"hex_timestamp":"000001a06f726c88"} 
[2026-09-05 08:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-05 08:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875492864001,"66":13798,"208":206,"85":15104,"24":0,"16":128409927193460736,"45":8868783960228268032},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 08:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875492864001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:14:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 08:14:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128409927193460736,"km_value":128409927193460.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868783960228268032,"description":"Unknown IO ID 45"} 
[2026-09-05 08:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875492864001,"power":13798,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868783960228268032}} 
[2026-09-05 08:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":174035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:14:06] local.INFO: GPS data processed {"connection_id":174035,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:14:06] local.INFO: Acknowledgment sent {"connection_id":174035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:14:24] local.INFO: TCP Data received {"connection_id":171324,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:14:24] local.INFO: Processing buffer {"connection_id":171324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:14:24] local.INFO: IMEI packet received {"connection_id":171324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":171324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:14:24] local.INFO: TCP Data received {"connection_id":171324,"ip":"42.106.6.16","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 08:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171324,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 08:14:24] local.INFO: Processing buffer {"connection_id":171324,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 08:14:24] local.INFO: IMEI packet received {"connection_id":171324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":171324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:14:25] local.INFO: TCP Data received {"connection_id":174036,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:14:25] local.INFO: Processing buffer {"connection_id":174036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:14:25] local.INFO: IMEI packet received {"connection_id":174036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":174036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:14:25] local.INFO: TCP Data received {"connection_id":174036,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:14:25] local.INFO: Processing buffer {"connection_id":174036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:14:25] local.INFO: IMEI packet received {"connection_id":174036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":174036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:14:31] local.INFO: TCP Data received {"connection_id":174036,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:14:31] local.INFO: Processing buffer {"connection_id":174036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:14:31] local.INFO: IMEI packet received {"connection_id":174036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":174036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:14:31] local.INFO: TCP Data received {"connection_id":174036,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f72baa8012d7b178005e31630000200a223..."} 
[2026-09-05 08:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f72baa8012d7b178005e31630000200a223..."} 
[2026-09-05 08:14:31] local.INFO: Processing buffer {"connection_id":174036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f72baa8012d7b178005e31630000200a223..."} 
[2026-09-05 08:14:31] local.INFO: Packet analysis {"connection_id":174036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f72"} 
[2026-09-05 08:14:31] local.INFO: Extracted packet for processing {"connection_id":174036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f72"} 
[2026-09-05 08:14:31] local.INFO: GPS Element Parsed {"raw_longitude":763041664,"raw_latitude":98768432,"longitude_deg":76.3041664,"latitude_deg":9.8768432,"altitude":2,"angle":162,"satellites":35,"speed":3,"hex_longitude":"2d7b1780","hex_latitude":"05e31630","is_valid_coordinates":true} 
[2026-09-05 08:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875498240001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128409965848166400,"note":"Value kept but may cause issues"} 
[2026-09-05 08:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868783960228268032,"note":"Value kept but may cause issues"} 
[2026-09-05 08:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788576185000,"timestamp_ms":1788576185000,"timestamp_seconds":1788576185,"priority":1,"record_length":96,"hex_timestamp":"000001a06f72baa8"} 
[2026-09-05 08:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:14: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-09-05 08:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 08:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:14:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875498240001,"66":13450,"208":206,"85":15104,"24":3,"16":128409965848166400,"45":8868783960228268032},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 08:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875498240001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:14:31] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 08:14:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128409965848166400,"km_value":128409965848166.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868783960228268032,"description":"Unknown IO ID 45"} 
[2026-09-05 08:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875498240001,"power":13450,"unknown_208":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8868783960228268032}} 
[2026-09-05 08:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":174036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767416,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:14:31] local.INFO: GPS data processed {"connection_id":174036,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:14:31] local.INFO: Acknowledgment sent {"connection_id":174036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:14:51] local.INFO: TCP Data received {"connection_id":172726,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172726,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:14:51] local.INFO: Processing buffer {"connection_id":172726,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:14:51] local.INFO: IMEI packet received {"connection_id":172726,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 08:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":172726,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:15:03] local.INFO: TCP Data received {"connection_id":174036,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f73eb58012d7b218005e294f80001016425..."} 
[2026-09-05 08:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f73eb58012d7b218005e294f80001016425..."} 
[2026-09-05 08:15:03] local.INFO: Processing buffer {"connection_id":174036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f73eb58012d7b218005e294f80001016425..."} 
[2026-09-05 08:15:03] local.INFO: Packet analysis {"connection_id":174036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f73"} 
[2026-09-05 08:15:03] local.INFO: Extracted packet for processing {"connection_id":174036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f73"} 
[2026-09-05 08:15:03] local.INFO: GPS Element Parsed {"raw_longitude":763044224,"raw_latitude":98735352,"longitude_deg":76.3044224,"latitude_deg":9.8735352,"altitude":1,"angle":356,"satellites":37,"speed":16,"hex_longitude":"2d7b2180","hex_latitude":"05e294f8","is_valid_coordinates":true} 
[2026-09-05 08:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875522816001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128411765439463424,"note":"Value kept but may cause issues"} 
[2026-09-05 08:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872583872405155840,"note":"Value kept but may cause issues"} 
[2026-09-05 08:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788576263000,"timestamp_ms":1788576263000,"timestamp_seconds":1788576263,"priority":1,"record_length":96,"hex_timestamp":"000001a06f73eb58"} 
[2026-09-05 08:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 08:15:03] 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-09-05 08:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875522816001,"66":13559,"207":206,"85":15104,"24":16,"16":128411765439463424,"45":8872583872405155840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-05 08:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875522816001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:15:03] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 08:15:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128411765439463424,"km_value":128411765439463.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872583872405155840,"description":"Unknown IO ID 45"} 
[2026-09-05 08:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875522816001,"power":13559,"unknown_207":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8872583872405155840}} 
[2026-09-05 08:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":174036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767417,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:15:03] local.INFO: GPS data processed {"connection_id":174036,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:15:03] local.INFO: Acknowledgment sent {"connection_id":174036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:15:26] local.INFO: TCP Data received {"connection_id":171618,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171618,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:15:26] local.INFO: Processing buffer {"connection_id":171618,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:15:26] local.INFO: IMEI packet received {"connection_id":171618,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":171618,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:15:31] local.INFO: TCP Data received {"connection_id":171618,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171618,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:15:31] local.INFO: Processing buffer {"connection_id":171618,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:15:31] local.INFO: IMEI packet received {"connection_id":171618,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":171618,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:15:31] local.INFO: TCP Data received {"connection_id":171619,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171619,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:15:31] local.INFO: Processing buffer {"connection_id":171619,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:15:31] local.INFO: IMEI packet received {"connection_id":171619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 08:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":171619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:15:32] local.INFO: TCP Data received {"connection_id":171618,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f741650012d7b1ac005e2b8080001015f1e..."} 
[2026-09-05 08:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f741650012d7b1ac005e2b8080001015f1e..."} 
[2026-09-05 08:15:32] local.INFO: Processing buffer {"connection_id":171618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f741650012d7b1ac005e2b8080001015f1e..."} 
[2026-09-05 08:15:32] local.INFO: Packet analysis {"connection_id":171618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f74"} 
[2026-09-05 08:15:32] local.INFO: Extracted packet for processing {"connection_id":171618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f74"} 
[2026-09-05 08:15:32] local.INFO: GPS Element Parsed {"raw_longitude":763042496,"raw_latitude":98744328,"longitude_deg":76.3042496,"latitude_deg":9.8744328,"altitude":1,"angle":351,"satellites":30,"speed":41,"hex_longitude":"2d7b1ac0","hex_latitude":"05e2b808","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875523328001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128412207821094912,"note":"Value kept but may cause issues"} 
[2026-09-05 08:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872513503661193216,"note":"Value kept but may cause issues"} 
[2026-09-05 08:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788576274000,"timestamp_ms":1788576274000,"timestamp_seconds":1788576274,"priority":1,"record_length":96,"hex_timestamp":"000001a06f741650"} 
[2026-09-05 08:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-05 08:15:32] 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-09-05 08: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-09-05 08:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875523328001,"66":13820,"207":206,"85":15104,"24":41,"16":128412207821094912,"45":8872513503661193216},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-05 08:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875523328001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:15:32] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 08:15:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128412207821094912,"km_value":128412207821094.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872513503661193216,"description":"Unknown IO ID 45"} 
[2026-09-05 08:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875523328001,"power":13820,"unknown_207":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8872513503661193216}} 
[2026-09-05 08:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":171618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:15:32] local.INFO: GPS data processed {"connection_id":171618,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:15:32] local.INFO: Acknowledgment sent {"connection_id":171618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:16:04] local.INFO: TCP Data received {"connection_id":171618,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f743590012d7b148005e2db880001015f20..."} 
[2026-09-05 08:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f743590012d7b148005e2db880001015f20..."} 
[2026-09-05 08:16:04] local.INFO: Processing buffer {"connection_id":171618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f743590012d7b148005e2db880001015f20..."} 
[2026-09-05 08:16:04] local.INFO: Packet analysis {"connection_id":171618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f74"} 
[2026-09-05 08:16:04] local.INFO: Extracted packet for processing {"connection_id":171618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f74"} 
[2026-09-05 08:16:04] local.INFO: GPS Element Parsed {"raw_longitude":763040896,"raw_latitude":98753416,"longitude_deg":76.3040896,"latitude_deg":9.8753416,"altitude":1,"angle":351,"satellites":32,"speed":45,"hex_longitude":"2d7b1480","hex_latitude":"05e2db88","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875526144001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128412654497693696,"note":"Value kept but may cause issues"} 
[2026-09-05 08:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870613547570694144,"note":"Value kept but may cause issues"} 
[2026-09-05 08:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788576282000,"timestamp_ms":1788576282000,"timestamp_seconds":1788576282,"priority":1,"record_length":96,"hex_timestamp":"000001a06f743590"} 
[2026-09-05 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-09-05 08:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-05 08:16: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-09-05 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-09-05 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-09-05 08:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875526144001,"66":13580,"207":206,"85":15104,"24":45,"16":128412654497693696,"45":8870613547570694144},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-05 08:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875526144001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:16:04] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 08:16:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128412654497693696,"km_value":128412654497693.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870613547570694144,"description":"Unknown IO ID 45"} 
[2026-09-05 08:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875526144001,"power":13580,"unknown_207":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8870613547570694144}} 
[2026-09-05 08:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":171618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:16:04] local.INFO: GPS data processed {"connection_id":171618,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:16:04] local.INFO: Acknowledgment sent {"connection_id":171618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:16:23] local.INFO: TCP Data received {"connection_id":171327,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:16:23] local.INFO: Processing buffer {"connection_id":171327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:16:23] local.INFO: IMEI packet received {"connection_id":171327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":171327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:16:25] local.INFO: TCP Data received {"connection_id":171327,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:16:25] local.INFO: Processing buffer {"connection_id":171327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:16:25] local.INFO: IMEI packet received {"connection_id":171327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":171327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:16:31] local.INFO: TCP Data received {"connection_id":171327,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:16:31] local.INFO: Processing buffer {"connection_id":171327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:16:31] local.INFO: IMEI packet received {"connection_id":171327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":171327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:16:32] local.INFO: TCP Data received {"connection_id":171327,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f748798012d7b0d4005e2fbe80000016518..."} 
[2026-09-05 08:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f748798012d7b0d4005e2fbe80000016518..."} 
[2026-09-05 08:16:32] local.INFO: Processing buffer {"connection_id":171327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f748798012d7b0d4005e2fbe80000016518..."} 
[2026-09-05 08:16:32] local.INFO: Packet analysis {"connection_id":171327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f74"} 
[2026-09-05 08:16:32] local.INFO: Extracted packet for processing {"connection_id":171327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f74"} 
[2026-09-05 08:16:32] local.INFO: GPS Element Parsed {"raw_longitude":763039040,"raw_latitude":98761704,"longitude_deg":76.303904,"latitude_deg":9.8761704,"altitude":0,"angle":357,"satellites":24,"speed":0,"hex_longitude":"2d7b0d40","hex_latitude":"05e2fbe8","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875528192001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128413083994423296,"note":"Value kept but may cause issues"} 
[2026-09-05 08:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868854328968579072,"note":"Value kept but may cause issues"} 
[2026-09-05 08:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788576303000,"timestamp_ms":1788576303000,"timestamp_seconds":1788576303,"priority":1,"record_length":96,"hex_timestamp":"000001a06f748798"} 
[2026-09-05 08:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:16: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-09-05 08: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-05 08:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630389,"note":"Value kept but may cause issues"} 
[2026-09-05 08:16:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 08:16:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-4020109180265299968,"note":"Value kept but may cause issues"} 
[2026-09-05 08:16:32] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-288004564773188011,"note":"Value kept but may cause issues"} 
[2026-09-05 08:16:32] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 08:16:32] local.WARNING: Large IO value detected {"io_id":226,"raw_value":2420637697,"note":"Value kept but may cause issues"} 
[2026-09-05 08:16:32] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18632362712457167,"note":"Value kept but may cause issues"} 
[2026-09-05 08:16:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607401678,"corrected_to":0} 
[2026-09-05 08:16:32] local.WARNING: Large IO value detected {"io_id":176,"raw_value":3221302651,"note":"Value kept but may cause issues"} 
[2026-09-05 08:16:32] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-05 08:16:32] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":901185536,"corrected_to":0} 
[2026-09-05 08:16:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3801161728,"note":"Value kept but may cause issues"} 
[2026-09-05 08:16:32] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2702166247190560770,"note":"Value kept but may cause issues"} 
[2026-09-05 08:16:32] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755493930467569,"note":"Value kept but may cause issues"} 
[2026-09-05 08:16:32] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,207,85,24,241,157,16,54,160,22,45,192,184,1,30,10,66,235,128,148,37,53,227,240,230,111,226,4,113,205,176,38,112,35,239,51,2,200,5,11,123,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1607401678,"validated":0},{"io_id":200,"original":901185536,"validated":0}]} 
[2026-09-05 08:16:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72443660061179904,"timestamp_seconds":72443660061179.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 08:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875528192001,"66":13222,"207":206,"85":15104,"24":0,"16":128413083994423296,"45":8868854328968579072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-05 08:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875528192001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:16:32] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 08:16:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128413083994423296,"km_value":128413083994423.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868854328968579072,"description":"Unknown IO ID 45"} 
[2026-09-05 08:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875528192001,"power":13222,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868854328968579072}} 
[2026-09-05 08:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":171327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767420,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:16:32] local.INFO: GPS data processed {"connection_id":171327,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:16:32] local.INFO: Acknowledgment sent {"connection_id":171327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:17:03] local.INFO: TCP Data received {"connection_id":171327,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f749738012d7b0b4005e2fe48000001551a..."} 
[2026-09-05 08:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f749738012d7b0b4005e2fe48000001551a..."} 
[2026-09-05 08:17:03] local.INFO: Processing buffer {"connection_id":171327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f749738012d7b0b4005e2fe48000001551a..."} 
[2026-09-05 08:17:03] local.INFO: Packet analysis {"connection_id":171327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f74"} 
[2026-09-05 08:17:03] local.INFO: Extracted packet for processing {"connection_id":171327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f74"} 
[2026-09-05 08:17:03] local.INFO: GPS Element Parsed {"raw_longitude":763038528,"raw_latitude":98762312,"longitude_deg":76.3038528,"latitude_deg":9.8762312,"altitude":0,"angle":341,"satellites":26,"speed":9,"hex_longitude":"2d7b0b40","hex_latitude":"05e2fe48","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875533568001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128413122649128960,"note":"Value kept but may cause issues"} 
[2026-09-05 08:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866813635389548544,"note":"Value kept but may cause issues"} 
[2026-09-05 08:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788576307000,"timestamp_ms":1788576307000,"timestamp_seconds":1788576307,"priority":1,"record_length":96,"hex_timestamp":"000001a06f749738"} 
[2026-09-05 08:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-05 08:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875533568001,"66":13646,"207":206,"85":15104,"24":9,"16":128413122649128960,"45":8866813635389548544},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-05 08:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875533568001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:17:03] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 08:17:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128413122649128960,"km_value":128413122649128.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866813635389548544,"description":"Unknown IO ID 45"} 
[2026-09-05 08:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875533568001,"power":13646,"unknown_207":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8866813635389548544}} 
[2026-09-05 08:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":171327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767421,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:17:03] local.INFO: GPS data processed {"connection_id":171327,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:17:03] local.INFO: Acknowledgment sent {"connection_id":171327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:17:25] local.INFO: TCP Data received {"connection_id":174038,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:17:25] local.INFO: Processing buffer {"connection_id":174038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:17:25] local.INFO: IMEI packet received {"connection_id":174038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":174038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:17:26] local.INFO: TCP Data received {"connection_id":174038,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:17:26] local.INFO: Processing buffer {"connection_id":174038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:17:26] local.INFO: IMEI packet received {"connection_id":174038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":174038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:17:31] local.INFO: TCP Data received {"connection_id":174038,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:17:31] local.INFO: Processing buffer {"connection_id":174038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:17:31] local.INFO: IMEI packet received {"connection_id":174038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":174038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:17:31] local.INFO: TCP Data received {"connection_id":174038,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f74cde8012d7b094005e30b18000001621c..."} 
[2026-09-05 08:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f74cde8012d7b094005e30b18000001621c..."} 
[2026-09-05 08:17:31] local.INFO: Processing buffer {"connection_id":174038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f74cde8012d7b094005e30b18000001621c..."} 
[2026-09-05 08:17:31] local.INFO: Packet analysis {"connection_id":174038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f74"} 
[2026-09-05 08:17:31] local.INFO: Extracted packet for processing {"connection_id":174038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f74"} 
[2026-09-05 08:17:31] local.INFO: GPS Element Parsed {"raw_longitude":763038016,"raw_latitude":98765592,"longitude_deg":76.3038016,"latitude_deg":9.8765592,"altitude":0,"angle":354,"satellites":28,"speed":8,"hex_longitude":"2d7b0940","hex_latitude":"05e30b18","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875534592001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128413298742788096,"note":"Value kept but may cause issues"} 
[2026-09-05 08:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866250685436282880,"note":"Value kept but may cause issues"} 
[2026-09-05 08:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788576321000,"timestamp_ms":1788576321000,"timestamp_seconds":1788576321,"priority":1,"record_length":96,"hex_timestamp":"000001a06f74cde8"} 
[2026-09-05 08:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:17: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-09-05 08: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-05 08:17: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-09-05 08: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-09-05 08:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875534592001,"66":13961,"208":206,"85":15104,"24":8,"16":128413298742788096,"45":8866250685436282880},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 08:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875534592001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:17:31] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 08:17:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128413298742788096,"km_value":128413298742788.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866250685436282880,"description":"Unknown IO ID 45"} 
[2026-09-05 08:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875534592001,"power":13961,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8866250685436282880}} 
[2026-09-05 08:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":174038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:17:32] local.INFO: GPS data processed {"connection_id":174038,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:17:32] local.INFO: Acknowledgment sent {"connection_id":174038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:18:03] local.INFO: TCP Data received {"connection_id":174038,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f751050012d7b058005e32da0000001651b..."} 
[2026-09-05 08:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f751050012d7b058005e32da0000001651b..."} 
[2026-09-05 08:18:03] local.INFO: Processing buffer {"connection_id":174038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f751050012d7b058005e32da0000001651b..."} 
[2026-09-05 08:18:03] local.INFO: Packet analysis {"connection_id":174038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f75"} 
[2026-09-05 08:18:03] local.INFO: Extracted packet for processing {"connection_id":174038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f75"} 
[2026-09-05 08:18:03] local.INFO: GPS Element Parsed {"raw_longitude":763037056,"raw_latitude":98774432,"longitude_deg":76.3037056,"latitude_deg":9.8774432,"altitude":0,"angle":357,"satellites":27,"speed":23,"hex_longitude":"2d7b0580","hex_latitude":"05e32da0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875538176001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128413736829452288,"note":"Value kept but may cause issues"} 
[2026-09-05 08:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865687735483701248,"note":"Value kept but may cause issues"} 
[2026-09-05 08:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788576338000,"timestamp_ms":1788576338000,"timestamp_seconds":1788576338,"priority":1,"record_length":96,"hex_timestamp":"000001a06f751050"} 
[2026-09-05 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-09-05 08:18: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-09-05 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":137,"data_length":795,"current_offset":136} 
[2026-09-05 08:18:03] 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-09-05 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-09-05 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-09-05 08:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875538176001,"66":13678,"208":206,"85":15104,"24":23,"16":128413736829452288,"45":8865687735483701248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 08:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875538176001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:18:03] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 08:18:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128413736829452288,"km_value":128413736829452.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865687735483701248,"description":"Unknown IO ID 45"} 
[2026-09-05 08:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875538176001,"power":13678,"unknown_208":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8865687735483701248}} 
[2026-09-05 08:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":174038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767423,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:18:03] local.INFO: GPS data processed {"connection_id":174038,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:18:03] local.INFO: Acknowledgment sent {"connection_id":174038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:18:25] local.INFO: TCP Data received {"connection_id":171328,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171328,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:18:25] local.INFO: Processing buffer {"connection_id":171328,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:18:25] local.INFO: IMEI packet received {"connection_id":171328,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":171328,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:18:26] local.INFO: TCP Data received {"connection_id":171328,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171328,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:18:26] local.INFO: Processing buffer {"connection_id":171328,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:18:26] local.INFO: IMEI packet received {"connection_id":171328,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":171328,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:18:31] local.INFO: TCP Data received {"connection_id":171328,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171328,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:18:31] local.INFO: Processing buffer {"connection_id":171328,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:18:31] local.INFO: IMEI packet received {"connection_id":171328,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":171328,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:18:32] local.INFO: TCP Data received {"connection_id":171328,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f774aa0012d7aeb4005e39f780004015927..."} 
[2026-09-05 08:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f774aa0012d7aeb4005e39f780004015927..."} 
[2026-09-05 08:18:32] local.INFO: Processing buffer {"connection_id":171328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f774aa0012d7aeb4005e39f780004015927..."} 
[2026-09-05 08:18:32] local.INFO: Packet analysis {"connection_id":171328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f77"} 
[2026-09-05 08:18:32] local.INFO: Extracted packet for processing {"connection_id":171328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f77"} 
[2026-09-05 08:18:32] local.INFO: GPS Element Parsed {"raw_longitude":763030336,"raw_latitude":98803576,"longitude_deg":76.3030336,"latitude_deg":9.8803576,"altitude":4,"angle":345,"satellites":39,"speed":20,"hex_longitude":"2d7aeb40","hex_latitude":"05e39f78","is_valid_coordinates":true} 
[2026-09-05 08:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875578880001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128415205708267520,"note":"Value kept but may cause issues"} 
[2026-09-05 08:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857595329912659968,"note":"Value kept but may cause issues"} 
[2026-09-05 08:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788576484000,"timestamp_ms":1788576484000,"timestamp_seconds":1788576484,"priority":1,"record_length":96,"hex_timestamp":"000001a06f774aa0"} 
[2026-09-05 08:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:18: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-09-05 08:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-05 08:18:32] 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-09-05 08:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875578880001,"66":13820,"208":206,"85":15104,"24":20,"16":128415205708267520,"45":8857595329912659968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 08:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875578880001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:18:32] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 08:18:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128415205708267520,"km_value":128415205708267.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857595329912659968,"description":"Unknown IO ID 45"} 
[2026-09-05 08:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875578880001,"power":13820,"unknown_208":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8857595329912659968}} 
[2026-09-05 08:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":171328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:18:32] local.INFO: GPS data processed {"connection_id":171328,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:18:32] local.INFO: Acknowledgment sent {"connection_id":171328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:19:04] local.INFO: TCP Data received {"connection_id":171328,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f777980012d7ae0c005e3c3180005015a26..."} 
[2026-09-05 08:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f777980012d7ae0c005e3c3180005015a26..."} 
[2026-09-05 08:19:04] local.INFO: Processing buffer {"connection_id":171328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f777980012d7ae0c005e3c3180005015a26..."} 
[2026-09-05 08:19:04] local.INFO: Packet analysis {"connection_id":171328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f77"} 
[2026-09-05 08:19:04] local.INFO: Extracted packet for processing {"connection_id":171328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f77"} 
[2026-09-05 08:19:04] local.INFO: GPS Element Parsed {"raw_longitude":763027648,"raw_latitude":98812696,"longitude_deg":76.3027648,"latitude_deg":9.8812696,"altitude":5,"angle":346,"satellites":38,"speed":34,"hex_longitude":"2d7ae0c0","hex_latitude":"05e3c318","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875579904001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128415665269768192,"note":"Value kept but may cause issues"} 
[2026-09-05 08:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857243486192105472,"note":"Value kept but may cause issues"} 
[2026-09-05 08:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788576496000,"timestamp_ms":1788576496000,"timestamp_seconds":1788576496,"priority":1,"record_length":96,"hex_timestamp":"000001a06f777980"} 
[2026-09-05 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-09-05 08:19: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-09-05 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":252,"data_length":795,"current_offset":136} 
[2026-09-05 08:19: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-09-05 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-09-05 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-09-05 08:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875579904001,"66":13319,"208":206,"85":15104,"24":34,"16":128415665269768192,"45":8857243486192105472},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 08:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875579904001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:19:04] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 08:19:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128415665269768192,"km_value":128415665269768.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857243486192105472,"description":"Unknown IO ID 45"} 
[2026-09-05 08:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875579904001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8857243486192105472}} 
[2026-09-05 08:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":171328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767425,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:19:04] local.INFO: GPS data processed {"connection_id":171328,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:19:04] local.INFO: Acknowledgment sent {"connection_id":171328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:19:24] local.INFO: TCP Data received {"connection_id":172730,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:19:24] local.INFO: Processing buffer {"connection_id":172730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:19:24] local.INFO: IMEI packet received {"connection_id":172730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":172730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:19:25] local.INFO: TCP Data received {"connection_id":172730,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f76cda0012d3de800069a53a0002000ae29..."} 
[2026-09-05 08:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f76cda0012d3de800069a53a0002000ae29..."} 
[2026-09-05 08:19:25] local.INFO: Processing buffer {"connection_id":172730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f76cda0012d3de800069a53a0002000ae29..."} 
[2026-09-05 08:19:25] local.INFO: Packet analysis {"connection_id":172730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f76"} 
[2026-09-05 08:19:25] local.INFO: Extracted packet for processing {"connection_id":172730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f76"} 
[2026-09-05 08:19:25] local.INFO: GPS Element Parsed {"raw_longitude":759031808,"raw_latitude":110777248,"longitude_deg":75.9031808,"latitude_deg":11.0777248,"altitude":32,"angle":174,"satellites":41,"speed":65,"hex_longitude":"2d3de800","hex_latitude":"069a53a0","is_valid_coordinates":true} 
[2026-09-05 08:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875570432001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399112348536668160,"note":"Value kept but may cause issues"} 
[2026-09-05 08:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4458985871922853888,"note":"Value kept but may cause issues"} 
[2026-09-05 08:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788576452000,"timestamp_ms":1788576452000,"timestamp_seconds":1788576452,"priority":1,"record_length":96,"hex_timestamp":"000001a06f76cda0"} 
[2026-09-05 08:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:19:25] 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-09-05 08:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 08:19:25] 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-09-05 08:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875570432001,"66":27930,"147":206,"81":47616,"24":65,"16":399112348536668160,"45":4458985871922853888},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,81,24,16,45]} 
[2026-09-05 08:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875570432001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:19:25] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-09-05 08:19:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-05 08:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399112348536668160,"km_value":399112348536668.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4458985871922853888,"description":"Unknown IO ID 45"} 
[2026-09-05 08:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875570432001,"power":27930,"unknown_147":206,"unknown_81":47616,"ignition":65,"odometer":null,"unknown_45":4458985871922853888}} 
[2026-09-05 08:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":172730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:19:25] local.INFO: GPS data processed {"connection_id":172730,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:19:25] local.INFO: Acknowledgment sent {"connection_id":172730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:19:31] local.INFO: TCP Data received {"connection_id":171620,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171620,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:19:31] local.INFO: Processing buffer {"connection_id":171620,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:19:31] local.INFO: IMEI packet received {"connection_id":171620,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":171620,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:19:36] local.INFO: TCP Data received {"connection_id":171620,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171620,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:19:36] local.INFO: Processing buffer {"connection_id":171620,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:19:36] local.INFO: IMEI packet received {"connection_id":171620,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":171620,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:19:38] local.INFO: TCP Data received {"connection_id":171620,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f7798c0012d7adac005e3d6f80005014c26..."} 
[2026-09-05 08:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f7798c0012d7adac005e3d6f80005014c26..."} 
[2026-09-05 08:19:38] local.INFO: Processing buffer {"connection_id":171620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f7798c0012d7adac005e3d6f80005014c26..."} 
[2026-09-05 08:19:38] local.INFO: Packet analysis {"connection_id":171620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f77"} 
[2026-09-05 08:19:38] local.INFO: Extracted packet for processing {"connection_id":171620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f77"} 
[2026-09-05 08:19:38] local.INFO: GPS Element Parsed {"raw_longitude":763026112,"raw_latitude":98817784,"longitude_deg":76.3026112,"latitude_deg":9.8817784,"altitude":5,"angle":332,"satellites":38,"speed":22,"hex_longitude":"2d7adac0","hex_latitude":"05e3d6f8","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875582976001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128415922967805952,"note":"Value kept but may cause issues"} 
[2026-09-05 08:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854287998938978304,"note":"Value kept but may cause issues"} 
[2026-09-05 08:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788576504000,"timestamp_ms":1788576504000,"timestamp_seconds":1788576504,"priority":1,"record_length":96,"hex_timestamp":"000001a06f7798c0"} 
[2026-09-05 08:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:19: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-09-05 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-05 08:19:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 08:19:38] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3707764736,"note":"Value kept but may cause issues"} 
[2026-09-05 08:19:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3818186752,"note":"Value kept but may cause issues"} 
[2026-09-05 08:19:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-05 08:19:38] local.WARNING: Large IO value detected {"io_id":227,"raw_value":8306889517002269952,"note":"Value kept but may cause issues"} 
[2026-09-05 08:19:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-05 08:19:38] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2147869592,"note":"Value kept but may cause issues"} 
[2026-09-05 08:19:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":954007552,"corrected_to":0} 
[2026-09-05 08:19:38] local.WARNING: Large IO value detected {"io_id":34,"raw_value":57807717197043003,"note":"Value kept but may cause issues"} 
[2026-09-05 08:19:38] local.WARNING: Large IO value detected {"io_id":117,"raw_value":-4886404300848742395,"note":"Value kept but may cause issues"} 
[2026-09-05 08:19:38] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,208,85,24,241,157,16,57,160,74,45,64,159,4,39,10,66,56,59,128,154,5,1,240,192,227,111,113,205,92,236,38,239,52,2,200,9,34,117],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0},{"io_id":200,"original":954007552,"validated":0}]} 
[2026-09-05 08:19:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360668564423835648,"timestamp_seconds":360668564423835.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 08:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875582976001,"66":13048,"208":206,"85":15104,"24":22,"16":128415922967805952,"45":8854287998938978304},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 08:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875582976001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:19:38] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 08:19:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128415922967805952,"km_value":128415922967805.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854287998938978304,"description":"Unknown IO ID 45"} 
[2026-09-05 08:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875582976001,"power":13048,"unknown_208":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8854287998938978304}} 
[2026-09-05 08:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":171620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:19:38] local.INFO: GPS data processed {"connection_id":171620,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:19:38] local.INFO: Acknowledgment sent {"connection_id":171620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:19:39] local.INFO: TCP Data received {"connection_id":171620,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f77e2f8012d7ad8c005e3de080002000627..."} 
[2026-09-05 08:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f77e2f8012d7ad8c005e3de080002000627..."} 
[2026-09-05 08:19:39] local.INFO: Processing buffer {"connection_id":171620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f77e2f8012d7ad8c005e3de080002000627..."} 
[2026-09-05 08:19:39] local.INFO: Packet analysis {"connection_id":171620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f77"} 
[2026-09-05 08:19:39] local.INFO: Extracted packet for processing {"connection_id":171620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f77"} 
[2026-09-05 08:19:39] local.INFO: GPS Element Parsed {"raw_longitude":763025600,"raw_latitude":98819592,"longitude_deg":76.30256,"latitude_deg":9.8819592,"altitude":2,"angle":6,"satellites":39,"speed":8,"hex_longitude":"2d7ad8c0","hex_latitude":"05e3de08","is_valid_coordinates":true} 
[2026-09-05 08:19: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-09-05 08:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875585024001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128416017457086464,"note":"Value kept but may cause issues"} 
[2026-09-05 08:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8852599149080016896,"note":"Value kept but may cause issues"} 
[2026-09-05 08:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788576523000,"timestamp_ms":1788576523000,"timestamp_seconds":1788576523,"priority":1,"record_length":96,"hex_timestamp":"000001a06f77e2f8"} 
[2026-09-05 08:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-05 08:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:19: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-09-05 08:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875585024001,"66":13830,"208":206,"85":15104,"24":8,"16":128416017457086464,"45":8852599149080016896},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 08:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875585024001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:19:39] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 08:19:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128416017457086464,"km_value":128416017457086.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8852599149080016896,"description":"Unknown IO ID 45"} 
[2026-09-05 08:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875585024001,"power":13830,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8852599149080016896}} 
[2026-09-05 08:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":171620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767428,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:19:39] local.INFO: GPS data processed {"connection_id":171620,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:19:39] local.INFO: Acknowledgment sent {"connection_id":171620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:19:57] local.INFO: TCP Data received {"connection_id":171621,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:19:57] local.INFO: Processing buffer {"connection_id":171621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:19:57] local.INFO: IMEI packet received {"connection_id":171621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":171621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:19:58] local.INFO: TCP Data received {"connection_id":171621,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:19:58] local.INFO: Processing buffer {"connection_id":171621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:19:58] local.INFO: IMEI packet received {"connection_id":171621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":171621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:19:58] local.INFO: TCP Data received {"connection_id":171621,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:19:58] local.INFO: Processing buffer {"connection_id":171621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:19:58] local.INFO: IMEI packet received {"connection_id":171621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":171621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:20:02] local.INFO: TCP Data received {"connection_id":171621,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:20:02] local.INFO: Processing buffer {"connection_id":171621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:20:02] local.INFO: IMEI packet received {"connection_id":171621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":171621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:20:04] local.INFO: TCP Data received {"connection_id":171621,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f787380012d3f8700069947e0001b004329..."} 
[2026-09-05 08:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f787380012d3f8700069947e0001b004329..."} 
[2026-09-05 08:20:04] local.INFO: Processing buffer {"connection_id":171621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f787380012d3f8700069947e0001b004329..."} 
[2026-09-05 08:20:04] local.INFO: Packet analysis {"connection_id":171621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f78"} 
[2026-09-05 08:20:04] local.INFO: Extracted packet for processing {"connection_id":171621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f78"} 
[2026-09-05 08:20:04] local.INFO: GPS Element Parsed {"raw_longitude":759138048,"raw_latitude":110708704,"longitude_deg":75.9138048,"latitude_deg":11.0708704,"altitude":27,"angle":67,"satellites":41,"speed":61,"hex_longitude":"2d3f8700","hex_latitude":"069947e0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875597824001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399116518949912576,"note":"Value kept but may cause issues"} 
[2026-09-05 08:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4568409269098680320,"note":"Value kept but may cause issues"} 
[2026-09-05 08:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788576560000,"timestamp_ms":1788576560000,"timestamp_seconds":1788576560,"priority":1,"record_length":96,"hex_timestamp":"000001a06f787380"} 
[2026-09-05 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-09-05 08:20: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-09-05 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 08:20:04] 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-09-05 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-09-05 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-09-05 08:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 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-09-05 08:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875597824001,"66":27974,"232":206,"81":47616,"24":61,"16":399116518949912576,"45":4568409269098680320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-09-05 08:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875597824001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:20:04] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-05 08:20:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-05 08:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399116518949912576,"km_value":399116518949912.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4568409269098680320,"description":"Unknown IO ID 45"} 
[2026-09-05 08:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875597824001,"power":27974,"unknown_232":206,"unknown_81":47616,"ignition":61,"odometer":null,"unknown_45":4568409269098680320}} 
[2026-09-05 08:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":171621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:20:04] local.INFO: GPS data processed {"connection_id":171621,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:20:04] local.INFO: Acknowledgment sent {"connection_id":171621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:20:13] local.INFO: TCP Data received {"connection_id":171620,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f790bd8012d7a9fc005e40b580002006122..."} 
[2026-09-05 08:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f790bd8012d7a9fc005e40b580002006122..."} 
[2026-09-05 08:20:13] local.INFO: Processing buffer {"connection_id":171620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f790bd8012d7a9fc005e40b580002006122..."} 
[2026-09-05 08:20:13] local.INFO: Packet analysis {"connection_id":171620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f79"} 
[2026-09-05 08:20:13] local.INFO: Extracted packet for processing {"connection_id":171620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f79"} 
[2026-09-05 08:20:13] local.INFO: GPS Element Parsed {"raw_longitude":763011008,"raw_latitude":98831192,"longitude_deg":76.3011008,"latitude_deg":9.8831192,"altitude":2,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d7a9fc0","hex_latitude":"05e40b58","is_valid_coordinates":true} 
[2026-09-05 08:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875609088001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128417267292569600,"note":"Value kept but may cause issues"} 
[2026-09-05 08:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835992125457526784,"note":"Value kept but may cause issues"} 
[2026-09-05 08:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788576599000,"timestamp_ms":1788576599000,"timestamp_seconds":1788576599,"priority":1,"record_length":96,"hex_timestamp":"000001a06f790bd8"} 
[2026-09-05 08:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-05 08:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875609088001,"66":13352,"208":206,"85":15104,"24":0,"16":128417267292569600,"45":8835992125457526784},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 08:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875609088001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:20:13] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 08:20:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128417267292569600,"km_value":128417267292569.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835992125457526784,"description":"Unknown IO ID 45"} 
[2026-09-05 08:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875609088001,"power":13352,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8835992125457526784}} 
[2026-09-05 08:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":171620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:20:13] local.INFO: GPS data processed {"connection_id":171620,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:20:13] local.INFO: Acknowledgment sent {"connection_id":171620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:20:23] local.INFO: TCP Data received {"connection_id":172731,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172731,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:20:23] local.INFO: Processing buffer {"connection_id":172731,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:20:23] local.INFO: IMEI packet received {"connection_id":172731,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":172731,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:20:25] local.INFO: TCP Data received {"connection_id":172731,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172731,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:20:25] local.INFO: Processing buffer {"connection_id":172731,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:20:25] local.INFO: IMEI packet received {"connection_id":172731,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":172731,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:20:28] local.INFO: TCP Data received {"connection_id":172731,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172731,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:20:28] local.INFO: Processing buffer {"connection_id":172731,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:20:28] local.INFO: IMEI packet received {"connection_id":172731,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":172731,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:20:29] local.INFO: TCP Data received {"connection_id":172731,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f790fc0012d7a9fc005e40b38000200aa22..."} 
[2026-09-05 08:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f790fc0012d7a9fc005e40b38000200aa22..."} 
[2026-09-05 08:20:29] local.INFO: Processing buffer {"connection_id":172731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f790fc0012d7a9fc005e40b38000200aa22..."} 
[2026-09-05 08:20:29] local.INFO: Packet analysis {"connection_id":172731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f79"} 
[2026-09-05 08:20:29] local.INFO: Extracted packet for processing {"connection_id":172731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f79"} 
[2026-09-05 08:20:29] local.INFO: GPS Element Parsed {"raw_longitude":763011008,"raw_latitude":98831160,"longitude_deg":76.3011008,"latitude_deg":9.883116,"altitude":2,"angle":170,"satellites":34,"speed":0,"hex_longitude":"2d7a9fc0","hex_latitude":"05e40b38","is_valid_coordinates":true} 
[2026-09-05 08:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875609344001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128417271587536896,"note":"Value kept but may cause issues"} 
[2026-09-05 08:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835992125457520640,"note":"Value kept but may cause issues"} 
[2026-09-05 08:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788576600000,"timestamp_ms":1788576600000,"timestamp_seconds":1788576600,"priority":1,"record_length":96,"hex_timestamp":"000001a06f790fc0"} 
[2026-09-05 08:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:20:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-05 08:20:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:20:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875609344001,"66":13656,"208":206,"85":15104,"24":0,"16":128417271587536896,"45":8835992125457520640},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 08:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875609344001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:20:29] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 08:20:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128417271587536896,"km_value":128417271587536.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835992125457520640,"description":"Unknown IO ID 45"} 
[2026-09-05 08:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875609344001,"power":13656,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8835992125457520640}} 
[2026-09-05 08:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":172731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:20:30] local.INFO: GPS data processed {"connection_id":172731,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:20:30] local.INFO: Acknowledgment sent {"connection_id":172731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:20:33] local.INFO: TCP Data received {"connection_id":171329,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171329,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:20:33] local.INFO: Processing buffer {"connection_id":171329,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:20:33] local.INFO: IMEI packet received {"connection_id":171329,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 08:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":171329,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:20:35] local.INFO: TCP Data received {"connection_id":171621,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f788af0012d3fa840069954a80019004829..."} 
[2026-09-05 08:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f788af0012d3fa840069954a80019004829..."} 
[2026-09-05 08:20:35] local.INFO: Processing buffer {"connection_id":171621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f788af0012d3fa840069954a80019004829..."} 
[2026-09-05 08:20:35] local.INFO: Packet analysis {"connection_id":171621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f78"} 
[2026-09-05 08:20:35] local.INFO: Extracted packet for processing {"connection_id":171621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f78"} 
[2026-09-05 08:20:35] local.INFO: GPS Element Parsed {"raw_longitude":759146560,"raw_latitude":110711976,"longitude_deg":75.914656,"latitude_deg":11.0711976,"altitude":25,"angle":72,"satellites":41,"speed":59,"hex_longitude":"2d3fa840","hex_latitude":"069954a8","is_valid_coordinates":true} 
[2026-09-05 08:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875599360001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399116957036576768,"note":"Value kept but may cause issues"} 
[2026-09-05 08:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4577627574586826752,"note":"Value kept but may cause issues"} 
[2026-09-05 08:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788576566000,"timestamp_ms":1788576566000,"timestamp_seconds":1788576566,"priority":1,"record_length":96,"hex_timestamp":"000001a06f788af0"} 
[2026-09-05 08:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:20:35] 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-09-05 08:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 08:20:35] 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-09-05 08:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875599360001,"66":27930,"232":206,"81":47616,"24":59,"16":399116957036576768,"45":4577627574586826752},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-09-05 08:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875599360001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:20:35] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-05 08:20:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-05 08:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399116957036576768,"km_value":399116957036576.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4577627574586826752,"description":"Unknown IO ID 45"} 
[2026-09-05 08:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875599360001,"power":27930,"unknown_232":206,"unknown_81":47616,"ignition":59,"odometer":null,"unknown_45":4577627574586826752}} 
[2026-09-05 08:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":171621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:20:35] local.INFO: GPS data processed {"connection_id":171621,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:20:35] local.INFO: Acknowledgment sent {"connection_id":171621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:21:02] local.INFO: TCP Data received {"connection_id":172731,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f7913a8012d7a9fc005e40b200002009722..."} 
[2026-09-05 08:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f7913a8012d7a9fc005e40b200002009722..."} 
[2026-09-05 08:21:02] local.INFO: Processing buffer {"connection_id":172731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f7913a8012d7a9fc005e40b200002009722..."} 
[2026-09-05 08:21:02] local.INFO: Packet analysis {"connection_id":172731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f79"} 
[2026-09-05 08:21:02] local.INFO: Extracted packet for processing {"connection_id":172731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f79"} 
[2026-09-05 08:21:02] local.INFO: GPS Element Parsed {"raw_longitude":763011008,"raw_latitude":98831136,"longitude_deg":76.3011008,"latitude_deg":9.8831136,"altitude":2,"angle":151,"satellites":34,"speed":0,"hex_longitude":"2d7a9fc0","hex_latitude":"05e40b20","is_valid_coordinates":true} 
[2026-09-05 08:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:21:02] local.INFO: TCP Data received {"connection_id":174039,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875609600001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128417271587536896,"note":"Value kept but may cause issues"} 
[2026-09-05 08:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835992125457512448,"note":"Value kept but may cause issues"} 
[2026-09-05 08:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788576601000,"timestamp_ms":1788576601000,"timestamp_seconds":1788576601,"priority":1,"record_length":96,"hex_timestamp":"000001a06f7913a8"} 
[2026-09-05 08:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:21: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-09-05 08:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 08:21:02] 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-09-05 08:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875609600001,"66":13656,"208":206,"85":15104,"24":0,"16":128417271587536896,"45":8835992125457512448},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 08:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:21:02] local.INFO: Processing buffer {"connection_id":174039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:21:02] local.INFO: IMEI packet received {"connection_id":174039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":174039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875609600001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:21:02] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 08:21:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128417271587536896,"km_value":128417271587536.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835992125457512448,"description":"Unknown IO ID 45"} 
[2026-09-05 08:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875609600001,"power":13656,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8835992125457512448}} 
[2026-09-05 08:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":172731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767433,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:21:02] local.INFO: GPS data processed {"connection_id":172731,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:21:02] local.INFO: Acknowledgment sent {"connection_id":172731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:21:02] local.INFO: TCP Data received {"connection_id":174039,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:21:02] local.INFO: Processing buffer {"connection_id":174039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:21:02] local.INFO: IMEI packet received {"connection_id":174039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":174039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:21:07] local.INFO: TCP Data received {"connection_id":174039,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:21:07] local.INFO: Processing buffer {"connection_id":174039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:21:07] local.INFO: IMEI packet received {"connection_id":174039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":174039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:21:08] local.INFO: TCP Data received {"connection_id":174039,"ip":"42.106.6.16","data_length":1348,"data_hex":"000000000000030f8e0a000001a06f797938012d40c6800698dc380025007b2a..."} 
[2026-09-05 08:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174039,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a06f797938012d40c6800698dc380025007b2a..."} 
[2026-09-05 08:21:08] local.INFO: Processing buffer {"connection_id":174039,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a06f797938012d40c6800698dc380025007b2a..."} 
[2026-09-05 08:21:08] local.INFO: Packet analysis {"connection_id":174039,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a06f79"} 
[2026-09-05 08:21:08] local.INFO: Extracted packet for processing {"connection_id":174039,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a06f79"} 
[2026-09-05 08:21:08] local.INFO: GPS Element Parsed {"raw_longitude":759219840,"raw_latitude":110681144,"longitude_deg":75.921984,"latitude_deg":11.0681144,"altitude":37,"angle":123,"satellites":42,"speed":54,"hex_longitude":"2d40c680","hex_latitude":"0698dc38","is_valid_coordinates":true} 
[2026-09-05 08:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875614720001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399120947061194752,"note":"Value kept but may cause issues"} 
[2026-09-05 08:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4659114580338882560,"note":"Value kept but may cause issues"} 
[2026-09-05 08:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788576627000,"timestamp_ms":1788576627000,"timestamp_seconds":1788576627,"priority":1,"record_length":96,"hex_timestamp":"000001a06f797938"} 
[2026-09-05 08:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:21: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-09-05 08:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 08:21:08] 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-09-05 08:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:21: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-09-05 08:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875614720001,"66":27887,"73":206,"81":47616,"24":54,"16":399120947061194752,"45":4659114580338882560},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-09-05 08:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875614720001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:21:08] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-05 08:21:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-05 08:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399120947061194752,"km_value":399120947061194.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4659114580338882560,"description":"Unknown IO ID 45"} 
[2026-09-05 08:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875614720001,"power":27887,"unknown_73":206,"unknown_81":47616,"ignition":54,"odometer":null,"unknown_45":4659114580338882560}} 
[2026-09-05 08:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":174039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:21:08] local.INFO: GPS data processed {"connection_id":174039,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:21:08] local.INFO: Acknowledgment sent {"connection_id":174039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:21:08] local.INFO: Packet analysis {"connection_id":174039,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a06f79"} 
[2026-09-05 08:21:08] local.INFO: Incomplete packet, waiting for more data {"connection_id":174039,"needed":795,"available":553} 
[2026-09-05 08:21:10] local.INFO: TCP Data received {"connection_id":174039,"ip":"42.106.6.16","data_length":242,"data_hex":"000000000001a06f78f080012d4034c0069948c8001900762b00350000000a00..."} 
[2026-09-05 08:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174039,"packet_length":242,"packet_hex":"000000000001a06f78f080012d4034c0069948c8001900762b00350000000a00..."} 
[2026-09-05 08:21:10] local.INFO: Processing buffer {"connection_id":174039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f799490012d40e7000698c7a00026007a2b..."} 
[2026-09-05 08:21:10] local.INFO: Packet analysis {"connection_id":174039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f79"} 
[2026-09-05 08:21:10] local.INFO: Extracted packet for processing {"connection_id":174039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f79"} 
[2026-09-05 08:21:10] local.INFO: GPS Element Parsed {"raw_longitude":759228160,"raw_latitude":110675872,"longitude_deg":75.922816,"latitude_deg":11.0675872,"altitude":38,"angle":122,"satellites":43,"speed":57,"hex_longitude":"2d40e700","hex_latitude":"0698c7a0","is_valid_coordinates":true} 
[2026-09-05 08:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875616512001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399121419507597312,"note":"Value kept but may cause issues"} 
[2026-09-05 08:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4667558829638825984,"note":"Value kept but may cause issues"} 
[2026-09-05 08:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788576634000,"timestamp_ms":1788576634000,"timestamp_seconds":1788576634,"priority":1,"record_length":96,"hex_timestamp":"000001a06f799490"} 
[2026-09-05 08:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-05 08:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":174039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":174039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":174039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875616512001,"66":26658,"73":206,"81":47616,"24":57,"16":399121419507597312,"45":4667558829638825984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-09-05 08:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875616512001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:21:10] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-05 08:21:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-05 08:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399121419507597312,"km_value":399121419507597.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4667558829638825984,"description":"Unknown IO ID 45"} 
[2026-09-05 08:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875616512001,"power":26658,"unknown_73":206,"unknown_81":47616,"ignition":57,"odometer":null,"unknown_45":4667558829638825984}} 
[2026-09-05 08:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":174039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:21:10] local.INFO: GPS data processed {"connection_id":174039,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:21:10] local.INFO: Acknowledgment sent {"connection_id":174039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:21:12] local.INFO: TCP Data received {"connection_id":174039,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f79afe8012d4109400698b1f80026007a2b..."} 
[2026-09-05 08:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f79afe8012d4109400698b1f80026007a2b..."} 
[2026-09-05 08:21:12] local.INFO: Processing buffer {"connection_id":174039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f79afe8012d4109400698b1f80026007a2b..."} 
[2026-09-05 08:21:12] local.INFO: Packet analysis {"connection_id":174039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f79"} 
[2026-09-05 08:21:12] local.INFO: Extracted packet for processing {"connection_id":174039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f79"} 
[2026-09-05 08:21:12] local.INFO: GPS Element Parsed {"raw_longitude":759236928,"raw_latitude":110670328,"longitude_deg":75.9236928,"latitude_deg":11.0670328,"altitude":38,"angle":122,"satellites":43,"speed":58,"hex_longitude":"2d410940","hex_latitude":"0698b1f8","is_valid_coordinates":true} 
[2026-09-05 08:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875618304001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399121917723803648,"note":"Value kept but may cause issues"} 
[2026-09-05 08:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4676706766380572672,"note":"Value kept but may cause issues"} 
[2026-09-05 08:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788576641000,"timestamp_ms":1788576641000,"timestamp_seconds":1788576641,"priority":1,"record_length":96,"hex_timestamp":"000001a06f79afe8"} 
[2026-09-05 08:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:21:12] 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-09-05 08:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-05 08:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1024,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875618304001,"66":27865,"73":206,"81":47616,"24":58,"16":399121917723803648,"45":4676706766380572672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-09-05 08:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875618304001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:21:12] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-05 08:21:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-05 08:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399121917723803648,"km_value":399121917723803.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4676706766380572672,"description":"Unknown IO ID 45"} 
[2026-09-05 08:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875618304001,"power":27865,"unknown_73":206,"unknown_81":47616,"ignition":58,"odometer":null,"unknown_45":4676706766380572672}} 
[2026-09-05 08:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":174039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:21:12] local.INFO: GPS data processed {"connection_id":174039,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:21:12] local.INFO: Acknowledgment sent {"connection_id":174039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:21:26] local.INFO: TCP Data received {"connection_id":172732,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:21:26] local.INFO: Processing buffer {"connection_id":172732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:21:26] local.INFO: IMEI packet received {"connection_id":172732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":172732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:21:27] local.INFO: TCP Data received {"connection_id":172732,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:21:27] local.INFO: Processing buffer {"connection_id":172732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:21:27] local.INFO: IMEI packet received {"connection_id":172732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":172732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:21:31] local.INFO: TCP Data received {"connection_id":172732,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:21:31] local.INFO: Processing buffer {"connection_id":172732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:21:31] local.INFO: IMEI packet received {"connection_id":172732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":172732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:21:32] local.INFO: TCP Data received {"connection_id":172732,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f7965b0012d7a9fc005e40b20000200971f..."} 
[2026-09-05 08:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f7965b0012d7a9fc005e40b20000200971f..."} 
[2026-09-05 08:21:32] local.INFO: Processing buffer {"connection_id":172732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f7965b0012d7a9fc005e40b20000200971f..."} 
[2026-09-05 08:21:32] local.INFO: Packet analysis {"connection_id":172732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f79"} 
[2026-09-05 08:21:32] local.INFO: Extracted packet for processing {"connection_id":172732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f79"} 
[2026-09-05 08:21:32] local.INFO: GPS Element Parsed {"raw_longitude":763011008,"raw_latitude":98831136,"longitude_deg":76.3011008,"latitude_deg":9.8831136,"altitude":2,"angle":151,"satellites":31,"speed":0,"hex_longitude":"2d7a9fc0","hex_latitude":"05e40b20","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875609856001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128417271587536896,"note":"Value kept but may cause issues"} 
[2026-09-05 08:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835992125457506304,"note":"Value kept but may cause issues"} 
[2026-09-05 08:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788576622000,"timestamp_ms":1788576622000,"timestamp_seconds":1788576622,"priority":1,"record_length":96,"hex_timestamp":"000001a06f7965b0"} 
[2026-09-05 08:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:21: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-09-05 08: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 08:21:32] 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-09-05 08: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-09-05 08:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875609856001,"66":12102,"208":206,"85":15104,"24":0,"16":128417271587536896,"45":8835992125457506304},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 08:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875609856001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:21:32] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 08:21:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128417271587536896,"km_value":128417271587536.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835992125457506304,"description":"Unknown IO ID 45"} 
[2026-09-05 08:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875609856001,"power":12102,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8835992125457506304}} 
[2026-09-05 08:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":172732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767437,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:21:32] local.INFO: GPS data processed {"connection_id":172732,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:21:32] local.INFO: Acknowledgment sent {"connection_id":172732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:21:36] local.INFO: TCP Data received {"connection_id":172732,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f797550012d7a9f4005e40c000002003d21..."} 
[2026-09-05 08:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f797550012d7a9f4005e40c000002003d21..."} 
[2026-09-05 08:21:36] local.INFO: Processing buffer {"connection_id":172732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f797550012d7a9f4005e40c000002003d21..."} 
[2026-09-05 08:21:36] local.INFO: Packet analysis {"connection_id":172732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f79"} 
[2026-09-05 08:21:36] local.INFO: Extracted packet for processing {"connection_id":172732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f79"} 
[2026-09-05 08:21:36] local.INFO: GPS Element Parsed {"raw_longitude":763010880,"raw_latitude":98831360,"longitude_deg":76.301088,"latitude_deg":9.883136,"altitude":2,"angle":61,"satellites":33,"speed":4,"hex_longitude":"2d7a9f40","hex_latitude":"05e40c00","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875615232001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128417284472438784,"note":"Value kept but may cause issues"} 
[2026-09-05 08:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835992125457506304,"note":"Value kept but may cause issues"} 
[2026-09-05 08:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788576626000,"timestamp_ms":1788576626000,"timestamp_seconds":1788576626,"priority":1,"record_length":96,"hex_timestamp":"000001a06f797550"} 
[2026-09-05 08:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:21: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-09-05 08: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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 08:21:36] 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-09-05 08: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-09-05 08:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875615232001,"66":13961,"208":206,"85":15104,"24":4,"16":128417284472438784,"45":8835992125457506304},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 08:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875615232001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:21:36] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 08:21:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128417284472438784,"km_value":128417284472438.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835992125457506304,"description":"Unknown IO ID 45"} 
[2026-09-05 08:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875615232001,"power":13961,"unknown_208":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8835992125457506304}} 
[2026-09-05 08:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":172732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:21:36] local.INFO: GPS data processed {"connection_id":172732,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:21:36] local.INFO: Acknowledgment sent {"connection_id":172732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:21:57] local.INFO: TCP Data received {"connection_id":174040,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:21:57] local.INFO: Processing buffer {"connection_id":174040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:21:57] local.INFO: IMEI packet received {"connection_id":174040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":174040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:22:02] local.INFO: TCP Data received {"connection_id":174040,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:22:02] local.INFO: Processing buffer {"connection_id":174040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:22:02] local.INFO: IMEI packet received {"connection_id":174040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":174040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:22:03] local.INFO: TCP Data received {"connection_id":174040,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f79c758012d41278006989eb80025007b29..."} 
[2026-09-05 08:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f79c758012d41278006989eb80025007b29..."} 
[2026-09-05 08:22:03] local.INFO: Processing buffer {"connection_id":174040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f79c758012d41278006989eb80025007b29..."} 
[2026-09-05 08:22:03] local.INFO: Packet analysis {"connection_id":174040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f79"} 
[2026-09-05 08:22:03] local.INFO: Extracted packet for processing {"connection_id":174040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f79"} 
[2026-09-05 08:22:03] local.INFO: GPS Element Parsed {"raw_longitude":759244672,"raw_latitude":110665400,"longitude_deg":75.9244672,"latitude_deg":11.06654,"altitude":37,"angle":123,"satellites":41,"speed":60,"hex_longitude":"2d412780","hex_latitude":"06989eb8","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875620096001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399122355810467840,"note":"Value kept but may cause issues"} 
[2026-09-05 08:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4686347284331493376,"note":"Value kept but may cause issues"} 
[2026-09-05 08:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788576647000,"timestamp_ms":1788576647000,"timestamp_seconds":1788576647,"priority":1,"record_length":96,"hex_timestamp":"000001a06f79c758"} 
[2026-09-05 08:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:22: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-09-05 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 08:22: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-09-05 08: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-09-05 08:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:22: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-09-05 08:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875620096001,"66":27908,"72":206,"81":47616,"24":60,"16":399122355810467840,"45":4686347284331493376},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,81,24,16,45]} 
[2026-09-05 08:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875620096001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:22:03] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-05 08:22:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-05 08:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399122355810467840,"km_value":399122355810467.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4686347284331493376,"description":"Unknown IO ID 45"} 
[2026-09-05 08:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875620096001,"power":27908,"unknown_72":206,"unknown_81":47616,"ignition":60,"odometer":null,"unknown_45":4686347284331493376}} 
[2026-09-05 08:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":174040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:22:03] local.INFO: GPS data processed {"connection_id":174040,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:22:03] local.INFO: Acknowledgment sent {"connection_id":174040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:22:07] local.INFO: TCP Data received {"connection_id":172732,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f797d20012d7aa0c005e40c480001004f21..."} 
[2026-09-05 08:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f797d20012d7aa0c005e40c480001004f21..."} 
[2026-09-05 08:22:07] local.INFO: Processing buffer {"connection_id":172732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f797d20012d7aa0c005e40c480001004f21..."} 
[2026-09-05 08:22:07] local.INFO: Packet analysis {"connection_id":172732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f79"} 
[2026-09-05 08:22:07] local.INFO: Extracted packet for processing {"connection_id":172732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f79"} 
[2026-09-05 08:22:07] local.INFO: GPS Element Parsed {"raw_longitude":763011264,"raw_latitude":98831432,"longitude_deg":76.3011264,"latitude_deg":9.8831432,"altitude":1,"angle":79,"satellites":33,"speed":7,"hex_longitude":"2d7aa0c0","hex_latitude":"05e40c48","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875616256001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128417301652307968,"note":"Value kept but may cause issues"} 
[2026-09-05 08:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835851387969208320,"note":"Value kept but may cause issues"} 
[2026-09-05 08:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788576628000,"timestamp_ms":1788576628000,"timestamp_seconds":1788576628,"priority":1,"record_length":96,"hex_timestamp":"000001a06f797d20"} 
[2026-09-05 08:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-05 08:22: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-09-05 08: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-09-05 08:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875616256001,"66":13678,"208":206,"85":15104,"24":7,"16":128417301652307968,"45":8835851387969208320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 08:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875616256001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:22:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 08:22:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128417301652307968,"km_value":128417301652307.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835851387969208320,"description":"Unknown IO ID 45"} 
[2026-09-05 08:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875616256001,"power":13678,"unknown_208":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8835851387969208320}} 
[2026-09-05 08:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":172732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767440,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:22:07] local.INFO: GPS data processed {"connection_id":172732,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:22:07] local.INFO: Acknowledgment sent {"connection_id":172732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:22:23] local.INFO: TCP Data received {"connection_id":171622,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:22:23] local.INFO: Processing buffer {"connection_id":171622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:22:23] local.INFO: IMEI packet received {"connection_id":171622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":171622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:22:25] local.INFO: TCP Data received {"connection_id":171622,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:22:25] local.INFO: Processing buffer {"connection_id":171622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:22:25] local.INFO: IMEI packet received {"connection_id":171622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":171622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:22:31] local.INFO: TCP Data received {"connection_id":171622,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:22:31] local.INFO: Processing buffer {"connection_id":171622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:22:31] local.INFO: IMEI packet received {"connection_id":171622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":171622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:22:32] local.INFO: TCP Data received {"connection_id":171622,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f7ad4e0012d7af58005e38638000700a326..."} 
[2026-09-05 08:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f7ad4e0012d7af58005e38638000700a326..."} 
[2026-09-05 08:22:32] local.INFO: Processing buffer {"connection_id":171622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f7ad4e0012d7af58005e38638000700a326..."} 
[2026-09-05 08:22:32] local.INFO: Packet analysis {"connection_id":171622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f7a"} 
[2026-09-05 08:22:32] local.INFO: Extracted packet for processing {"connection_id":171622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f7a"} 
[2026-09-05 08:22:32] local.INFO: GPS Element Parsed {"raw_longitude":763032960,"raw_latitude":98797112,"longitude_deg":76.303296,"latitude_deg":9.8797112,"altitude":7,"angle":163,"satellites":38,"speed":20,"hex_longitude":"2d7af580","hex_latitude":"05e38638","is_valid_coordinates":true} 
[2026-09-05 08:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875633920001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128419650999418880,"note":"Value kept but may cause issues"} 
[2026-09-05 08:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857313854936608768,"note":"Value kept but may cause issues"} 
[2026-09-05 08:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788576716000,"timestamp_ms":1788576716000,"timestamp_seconds":1788576716,"priority":1,"record_length":96,"hex_timestamp":"000001a06f7ad4e0"} 
[2026-09-05 08:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:22: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-09-05 08:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-05 08:22: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-09-05 08:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875633920001,"66":13798,"208":206,"85":15104,"24":20,"16":128419650999418880,"45":8857313854936608768},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 08:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875633920001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:22:32] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 08:22:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128419650999418880,"km_value":128419650999418.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857313854936608768,"description":"Unknown IO ID 45"} 
[2026-09-05 08:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875633920001,"power":13798,"unknown_208":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8857313854936608768}} 
[2026-09-05 08:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":171622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767441,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:22:32] local.INFO: GPS data processed {"connection_id":171622,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:22:32] local.INFO: Acknowledgment sent {"connection_id":171622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:22:38] local.INFO: TCP Data received {"connection_id":174040,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f7b0f78012d42ac000697d6c80032007c2b..."} 
[2026-09-05 08:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f7b0f78012d42ac000697d6c80032007c2b..."} 
[2026-09-05 08:22:38] local.INFO: Processing buffer {"connection_id":174040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f7b0f78012d42ac000697d6c80032007c2b..."} 
[2026-09-05 08:22:38] local.INFO: Packet analysis {"connection_id":174040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f7b"} 
[2026-09-05 08:22:38] local.INFO: Extracted packet for processing {"connection_id":174040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f7b"} 
[2026-09-05 08:22:38] local.INFO: GPS Element Parsed {"raw_longitude":759344128,"raw_latitude":110614216,"longitude_deg":75.9344128,"latitude_deg":11.0614216,"altitude":50,"angle":124,"satellites":43,"speed":50,"hex_longitude":"2d42ac00","hex_latitude":"0697d6c8","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875641600001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399127728814555136,"note":"Value kept but may cause issues"} 
[2026-09-05 08:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4796966950165286912,"note":"Value kept but may cause issues"} 
[2026-09-05 08:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788576731000,"timestamp_ms":1788576731000,"timestamp_seconds":1788576731,"priority":1,"record_length":96,"hex_timestamp":"000001a06f7b0f78"} 
[2026-09-05 08:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:22: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-09-05 08: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 08:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:22: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-09-05 08:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875641600001,"66":27908,"29":206,"81":47616,"24":50,"16":399127728814555136,"45":4796966950165286912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,81,24,16,45]} 
[2026-09-05 08:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875641600001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:22:38] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-05 08:22:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-05 08:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399127728814555136,"km_value":399127728814555.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4796966950165286912,"description":"Unknown IO ID 45"} 
[2026-09-05 08:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875641600001,"power":27908,"unknown_29":206,"unknown_81":47616,"ignition":50,"odometer":null,"unknown_45":4796966950165286912}} 
[2026-09-05 08:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":174040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:22:38] local.INFO: GPS data processed {"connection_id":174040,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:22:38] local.INFO: Acknowledgment sent {"connection_id":174040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:22:57] local.INFO: TCP Data received {"connection_id":171623,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:22:57] local.INFO: Processing buffer {"connection_id":171623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:22:57] local.INFO: IMEI packet received {"connection_id":171623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":171623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:22:58] local.INFO: TCP Data received {"connection_id":171623,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:22:58] local.INFO: Processing buffer {"connection_id":171623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:22:58] local.INFO: IMEI packet received {"connection_id":171623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":171623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:23:02] local.INFO: TCP Data received {"connection_id":171623,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:23:02] local.INFO: Processing buffer {"connection_id":171623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:23:02] local.INFO: IMEI packet received {"connection_id":171623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":171623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:23:03] local.INFO: TCP Data received {"connection_id":171622,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f7b26e8012d7b000005e363600009009c26..."} 
[2026-09-05 08:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f7b26e8012d7b000005e363600009009c26..."} 
[2026-09-05 08:23:03] local.INFO: Processing buffer {"connection_id":171622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f7b26e8012d7b000005e363600009009c26..."} 
[2026-09-05 08:23:03] local.INFO: Packet analysis {"connection_id":171622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f7b"} 
[2026-09-05 08:23:03] local.INFO: Extracted packet for processing {"connection_id":171622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f7b"} 
[2026-09-05 08:23:03] local.INFO: GPS Element Parsed {"raw_longitude":763035648,"raw_latitude":98788192,"longitude_deg":76.3035648,"latitude_deg":9.8788192,"altitude":9,"angle":156,"satellites":38,"speed":26,"hex_longitude":"2d7b0000","hex_latitude":"05e36360","is_valid_coordinates":true} 
[2026-09-05 08:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875639296001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128420101970984960,"note":"Value kept but may cause issues"} 
[2026-09-05 08:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860128604701734912,"note":"Value kept but may cause issues"} 
[2026-09-05 08:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788576737000,"timestamp_ms":1788576737000,"timestamp_seconds":1788576737,"priority":1,"record_length":96,"hex_timestamp":"000001a06f7b26e8"} 
[2026-09-05 08:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:23: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-09-05 08:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 08:23:03] 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-09-05 08:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875639296001,"66":13917,"208":206,"85":15104,"24":26,"16":128420101970984960,"45":8860128604701734912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 08:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875639296001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:23:03] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 08:23:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128420101970984960,"km_value":128420101970984.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860128604701734912,"description":"Unknown IO ID 45"} 
[2026-09-05 08:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875639296001,"power":13917,"unknown_208":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8860128604701734912}} 
[2026-09-05 08:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":171622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:23:03] local.INFO: GPS data processed {"connection_id":171622,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:23:03] local.INFO: Acknowledgment sent {"connection_id":171622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:23:03] local.INFO: TCP Data received {"connection_id":171623,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f7b1b30012d42b7c00697ccf0003200872a..."} 
[2026-09-05 08:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f7b1b30012d42b7c00697ccf0003200872a..."} 
[2026-09-05 08:23:03] local.INFO: Processing buffer {"connection_id":171623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f7b1b30012d42b7c00697ccf0003200872a..."} 
[2026-09-05 08:23:03] local.INFO: Packet analysis {"connection_id":171623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f7b"} 
[2026-09-05 08:23:03] local.INFO: Extracted packet for processing {"connection_id":171623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f7b"} 
[2026-09-05 08:23:03] local.INFO: GPS Element Parsed {"raw_longitude":759347136,"raw_latitude":110611696,"longitude_deg":75.9347136,"latitude_deg":11.0611696,"altitude":50,"angle":135,"satellites":42,"speed":53,"hex_longitude":"2d42b7c0","hex_latitude":"0697ccf0","is_valid_coordinates":true} 
[2026-09-05 08:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875643136001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399127922088083456,"note":"Value kept but may cause issues"} 
[2026-09-05 08:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4804214930814715904,"note":"Value kept but may cause issues"} 
[2026-09-05 08:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788576734000,"timestamp_ms":1788576734000,"timestamp_seconds":1788576734,"priority":1,"record_length":96,"hex_timestamp":"000001a06f7b1b30"} 
[2026-09-05 08:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:23: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-09-05 08:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 08:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:23: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-09-05 08:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875643136001,"66":28028,"29":206,"81":47616,"24":53,"16":399127922088083456,"45":4804214930814715904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,81,24,16,45]} 
[2026-09-05 08:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875643136001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:23:03] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-05 08:23:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-05 08:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399127922088083456,"km_value":399127922088083.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4804214930814715904,"description":"Unknown IO ID 45"} 
[2026-09-05 08:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875643136001,"power":28028,"unknown_29":206,"unknown_81":47616,"ignition":53,"odometer":null,"unknown_45":4804214930814715904}} 
[2026-09-05 08:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":171623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:23:03] local.INFO: GPS data processed {"connection_id":171623,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:23:03] local.INFO: Acknowledgment sent {"connection_id":171623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:23:25] local.INFO: TCP Data received {"connection_id":174041,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174041,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:23:25] local.INFO: Processing buffer {"connection_id":174041,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:23:25] local.INFO: IMEI packet received {"connection_id":174041,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":174041,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:23:31] local.INFO: TCP Data received {"connection_id":174041,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174041,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:23:31] local.INFO: Processing buffer {"connection_id":174041,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:23:31] local.INFO: IMEI packet received {"connection_id":174041,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":174041,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:23:32] local.INFO: TCP Data received {"connection_id":174041,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f7b3a70012d7b058005e359c00009008d23..."} 
[2026-09-05 08:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f7b3a70012d7b058005e359c00009008d23..."} 
[2026-09-05 08:23:32] local.INFO: Processing buffer {"connection_id":174041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f7b3a70012d7b058005e359c00009008d23..."} 
[2026-09-05 08:23:32] local.INFO: Packet analysis {"connection_id":174041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f7b"} 
[2026-09-05 08:23:32] local.INFO: Extracted packet for processing {"connection_id":174041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f7b"} 
[2026-09-05 08:23:32] local.INFO: GPS Element Parsed {"raw_longitude":763037056,"raw_latitude":98785728,"longitude_deg":76.3037056,"latitude_deg":9.8785728,"altitude":9,"angle":141,"satellites":35,"speed":17,"hex_longitude":"2d7b0580","hex_latitude":"05e359c0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875644672001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128420239409938432,"note":"Value kept but may cause issues"} 
[2026-09-05 08:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863084091954913280,"note":"Value kept but may cause issues"} 
[2026-09-05 08:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788576742000,"timestamp_ms":1788576742000,"timestamp_seconds":1788576742,"priority":1,"record_length":96,"hex_timestamp":"000001a06f7b3a70"} 
[2026-09-05 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-09-05 08:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-05 08:23: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-09-05 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-09-05 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-09-05 08:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875644672001,"66":12906,"208":206,"85":15104,"24":17,"16":128420239409938432,"45":8863084091954913280},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 08:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875644672001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:23:32] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 08:23:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128420239409938432,"km_value":128420239409938.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863084091954913280,"description":"Unknown IO ID 45"} 
[2026-09-05 08:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875644672001,"power":12906,"unknown_208":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8863084091954913280}} 
[2026-09-05 08:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":174041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767445,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:23:32] local.INFO: GPS data processed {"connection_id":174041,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:23:32] local.INFO: Acknowledgment sent {"connection_id":174041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:23:35] local.INFO: TCP Data received {"connection_id":171623,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f7c01a8012d431280069645300012009229..."} 
[2026-09-05 08:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f7c01a8012d431280069645300012009229..."} 
[2026-09-05 08:23:35] local.INFO: Processing buffer {"connection_id":171623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f7c01a8012d431280069645300012009229..."} 
[2026-09-05 08:23:35] local.INFO: Packet analysis {"connection_id":171623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f7c"} 
[2026-09-05 08:23:35] local.INFO: Extracted packet for processing {"connection_id":171623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f7c"} 
[2026-09-05 08:23:35] local.INFO: GPS Element Parsed {"raw_longitude":759370368,"raw_latitude":110511408,"longitude_deg":75.9370368,"latitude_deg":11.0511408,"altitude":18,"angle":146,"satellites":41,"speed":77,"hex_longitude":"2d431280","hex_latitude":"06964530","is_valid_coordinates":true} 
[2026-09-05 08:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875657728001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399132981559558144,"note":"Value kept but may cause issues"} 
[2026-09-05 08:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4827858828834330624,"note":"Value kept but may cause issues"} 
[2026-09-05 08:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788576793000,"timestamp_ms":1788576793000,"timestamp_seconds":1788576793,"priority":1,"record_length":96,"hex_timestamp":"000001a06f7c01a8"} 
[2026-09-05 08:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:23:35] 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-09-05 08:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 08:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875657728001,"66":27995,"196":206,"86":48640,"24":77,"16":399132981559558144,"45":4827858828834330624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,86,24,16,45]} 
[2026-09-05 08:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875657728001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:23:35] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-05 08:23:35] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-05 08:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399132981559558144,"km_value":399132981559558.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4827858828834330624,"description":"Unknown IO ID 45"} 
[2026-09-05 08:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875657728001,"power":27995,"unknown_196":206,"unknown_86":48640,"ignition":77,"odometer":null,"unknown_45":4827858828834330624}} 
[2026-09-05 08:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":171623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:23:35] local.INFO: GPS data processed {"connection_id":171623,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:23:35] local.INFO: Acknowledgment sent {"connection_id":171623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:23:57] local.INFO: TCP Data received {"connection_id":171330,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:23:57] local.INFO: Processing buffer {"connection_id":171330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:23:57] local.INFO: IMEI packet received {"connection_id":171330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":171330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:24:03] local.INFO: TCP Data received {"connection_id":171330,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:24:03] local.INFO: Processing buffer {"connection_id":171330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:24:03] local.INFO: IMEI packet received {"connection_id":171330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":171330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:24:04] local.INFO: TCP Data received {"connection_id":174041,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f7c7ac0012d7b3ec005e39fd00008002126..."} 
[2026-09-05 08:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f7c7ac0012d7b3ec005e39fd00008002126..."} 
[2026-09-05 08:24:04] local.INFO: Processing buffer {"connection_id":174041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f7c7ac0012d7b3ec005e39fd00008002126..."} 
[2026-09-05 08:24:04] local.INFO: Packet analysis {"connection_id":174041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f7c"} 
[2026-09-05 08:24:04] local.INFO: Extracted packet for processing {"connection_id":174041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f7c"} 
[2026-09-05 08:24:04] local.INFO: GPS Element Parsed {"raw_longitude":763051712,"raw_latitude":98803664,"longitude_deg":76.3051712,"latitude_deg":9.8803664,"altitude":8,"angle":33,"satellites":38,"speed":42,"hex_longitude":"2d7b3ec0","hex_latitude":"05e39fd0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875664128001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128421506425290752,"note":"Value kept but may cause issues"} 
[2026-09-05 08:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874835672234528768,"note":"Value kept but may cause issues"} 
[2026-09-05 08:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788576824000,"timestamp_ms":1788576824000,"timestamp_seconds":1788576824,"priority":1,"record_length":96,"hex_timestamp":"000001a06f7c7ac0"} 
[2026-09-05 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-09-05 08:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-05 08: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-09-05 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-09-05 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-09-05 08:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875664128001,"66":13602,"208":206,"85":15104,"24":42,"16":128421506425290752,"45":8874835672234528768},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 08:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875664128001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:24:04] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 08:24:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128421506425290752,"km_value":128421506425290.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874835672234528768,"description":"Unknown IO ID 45"} 
[2026-09-05 08:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875664128001,"power":13602,"unknown_208":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8874835672234528768}} 
[2026-09-05 08:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":174041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:24:04] local.INFO: GPS data processed {"connection_id":174041,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:24:04] local.INFO: Acknowledgment sent {"connection_id":174041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:24:12] local.INFO: TCP Data received {"connection_id":171330,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f7c01a8012d431280069645300012009229..."} 
[2026-09-05 08:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f7c01a8012d431280069645300012009229..."} 
[2026-09-05 08:24:12] local.INFO: Processing buffer {"connection_id":171330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f7c01a8012d431280069645300012009229..."} 
[2026-09-05 08:24:12] local.INFO: Packet analysis {"connection_id":171330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f7c"} 
[2026-09-05 08:24:12] local.INFO: Extracted packet for processing {"connection_id":171330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f7c"} 
[2026-09-05 08:24:12] local.INFO: GPS Element Parsed {"raw_longitude":759370368,"raw_latitude":110511408,"longitude_deg":75.9370368,"latitude_deg":11.0511408,"altitude":18,"angle":146,"satellites":41,"speed":77,"hex_longitude":"2d431280","hex_latitude":"06964530","is_valid_coordinates":true} 
[2026-09-05 08:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875659008001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399132981559558144,"note":"Value kept but may cause issues"} 
[2026-09-05 08:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4833066115901239296,"note":"Value kept but may cause issues"} 
[2026-09-05 08:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788576793000,"timestamp_ms":1788576793000,"timestamp_seconds":1788576793,"priority":1,"record_length":96,"hex_timestamp":"000001a06f7c01a8"} 
[2026-09-05 08:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:24:12] 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-09-05 08:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 08:24:12] 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-09-05 08:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875659008001,"66":27995,"196":206,"86":48640,"24":77,"16":399132981559558144,"45":4833066115901239296},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,86,24,16,45]} 
[2026-09-05 08:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875659008001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:24:12] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-05 08:24:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-05 08:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399132981559558144,"km_value":399132981559558.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4833066115901239296,"description":"Unknown IO ID 45"} 
[2026-09-05 08:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875659008001,"power":27995,"unknown_196":206,"unknown_86":48640,"ignition":77,"odometer":null,"unknown_45":4833066115901239296}} 
[2026-09-05 08:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":171330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:24:12] local.INFO: GPS data processed {"connection_id":171330,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:24:12] local.INFO: Acknowledgment sent {"connection_id":171330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:24:25] local.INFO: TCP Data received {"connection_id":171624,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:24:25] local.INFO: Processing buffer {"connection_id":171624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:24:25] local.INFO: IMEI packet received {"connection_id":171624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":171624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:24:31] local.INFO: TCP Data received {"connection_id":171624,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:24:31] local.INFO: Processing buffer {"connection_id":171624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:24:31] local.INFO: IMEI packet received {"connection_id":171624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":171624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:24:32] local.INFO: TCP Data received {"connection_id":171624,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f7c9de8012d7b530005e3baf00009003226..."} 
[2026-09-05 08:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f7c9de8012d7b530005e3baf00009003226..."} 
[2026-09-05 08:24:32] local.INFO: Processing buffer {"connection_id":171624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f7c9de8012d7b530005e3baf00009003226..."} 
[2026-09-05 08:24:32] local.INFO: Packet analysis {"connection_id":171624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f7c"} 
[2026-09-05 08:24:32] local.INFO: Extracted packet for processing {"connection_id":171624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f7c"} 
[2026-09-05 08:24:32] local.INFO: GPS Element Parsed {"raw_longitude":763056896,"raw_latitude":98810608,"longitude_deg":76.3056896,"latitude_deg":9.8810608,"altitude":9,"angle":50,"satellites":38,"speed":28,"hex_longitude":"2d7b5300","hex_latitude":"05e3baf0","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875666944001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128421927332085760,"note":"Value kept but may cause issues"} 
[2026-09-05 08:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880746646747467776,"note":"Value kept but may cause issues"} 
[2026-09-05 08:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788576833000,"timestamp_ms":1788576833000,"timestamp_seconds":1788576833,"priority":1,"record_length":96,"hex_timestamp":"000001a06f7c9de8"} 
[2026-09-05 08:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-05 08:24:32] 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-09-05 08: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-09-05 08:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875666944001,"66":13526,"208":206,"85":15104,"24":28,"16":128421927332085760,"45":8880746646747467776},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 08:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875666944001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:24:32] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 08:24:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128421927332085760,"km_value":128421927332085.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880746646747467776,"description":"Unknown IO ID 45"} 
[2026-09-05 08:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875666944001,"power":13526,"unknown_208":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8880746646747467776}} 
[2026-09-05 08:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":171624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:24:32] local.INFO: GPS data processed {"connection_id":171624,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:24:32] local.INFO: Acknowledgment sent {"connection_id":171624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:24:57] local.INFO: TCP Data received {"connection_id":172733,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:24:57] local.INFO: Processing buffer {"connection_id":172733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:24:57] local.INFO: IMEI packet received {"connection_id":172733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":172733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:25:02] local.INFO: TCP Data received {"connection_id":172733,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:25:02] local.INFO: Processing buffer {"connection_id":172733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:25:02] local.INFO: IMEI packet received {"connection_id":172733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":172733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:25:02] local.INFO: TCP Data received {"connection_id":172733,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f7ceff0012d43810006950ad0001300c52a..."} 
[2026-09-05 08:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f7ceff0012d43810006950ad0001300c52a..."} 
[2026-09-05 08:25:02] local.INFO: Processing buffer {"connection_id":172733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f7ceff0012d43810006950ad0001300c52a..."} 
[2026-09-05 08:25:02] local.INFO: Packet analysis {"connection_id":172733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f7c"} 
[2026-09-05 08:25:02] local.INFO: Extracted packet for processing {"connection_id":172733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f7c"} 
[2026-09-05 08:25:02] local.INFO: GPS Element Parsed {"raw_longitude":759398656,"raw_latitude":110430928,"longitude_deg":75.9398656,"latitude_deg":11.0430928,"altitude":19,"angle":197,"satellites":42,"speed":56,"hex_longitude":"2d438100","hex_latitude":"06950ad0","is_valid_coordinates":true} 
[2026-09-05 08:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875672832001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399137396785938432,"note":"Value kept but may cause issues"} 
[2026-09-05 08:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4867617169274378240,"note":"Value kept but may cause issues"} 
[2026-09-05 08:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788576854000,"timestamp_ms":1788576854000,"timestamp_seconds":1788576854,"priority":1,"record_length":96,"hex_timestamp":"000001a06f7ceff0"} 
[2026-09-05 08:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:25: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-09-05 08:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 08:25: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-09-05 08:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:25: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-09-05 08:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875672832001,"66":27908,"211":206,"86":48640,"24":56,"16":399137396785938432,"45":4867617169274378240},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,86,24,16,45]} 
[2026-09-05 08:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875672832001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:25:02] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-05 08:25:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-05 08:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399137396785938432,"km_value":399137396785938.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4867617169274378240,"description":"Unknown IO ID 45"} 
[2026-09-05 08:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875672832001,"power":27908,"unknown_211":206,"unknown_86":48640,"ignition":56,"odometer":null,"unknown_45":4867617169274378240}} 
[2026-09-05 08:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":172733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:25:02] local.INFO: GPS data processed {"connection_id":172733,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:25:02] local.INFO: Acknowledgment sent {"connection_id":172733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:25:05] local.INFO: TCP Data received {"connection_id":171624,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f7cad88012d7b5b4005e3c2580009002427..."} 
[2026-09-05 08:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f7cad88012d7b5b4005e3c2580009002427..."} 
[2026-09-05 08:25:05] local.INFO: Processing buffer {"connection_id":171624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f7cad88012d7b5b4005e3c2580009002427..."} 
[2026-09-05 08:25:05] local.INFO: Packet analysis {"connection_id":171624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f7c"} 
[2026-09-05 08:25:05] local.INFO: Extracted packet for processing {"connection_id":171624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f7c"} 
[2026-09-05 08:25:05] local.INFO: GPS Element Parsed {"raw_longitude":763059008,"raw_latitude":98812504,"longitude_deg":76.3059008,"latitude_deg":9.8812504,"altitude":9,"angle":36,"satellites":39,"speed":31,"hex_longitude":"2d7b5b40","hex_latitude":"05e3c258","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875669248001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128422064771039232,"note":"Value kept but may cause issues"} 
[2026-09-05 08:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886446515027636224,"note":"Value kept but may cause issues"} 
[2026-09-05 08:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788576837000,"timestamp_ms":1788576837000,"timestamp_seconds":1788576837,"priority":1,"record_length":96,"hex_timestamp":"000001a06f7cad88"} 
[2026-09-05 08:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 08:25:05] 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-09-05 08: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-09-05 08:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875669248001,"66":13515,"208":206,"85":15104,"24":31,"16":128422064771039232,"45":8886446515027636224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 08:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875669248001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:25:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 08:25:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128422064771039232,"km_value":128422064771039.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886446515027636224,"description":"Unknown IO ID 45"} 
[2026-09-05 08:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875669248001,"power":13515,"unknown_208":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8886446515027636224}} 
[2026-09-05 08:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":171624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767451,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:25:05] local.INFO: GPS data processed {"connection_id":171624,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:25:05] local.INFO: Acknowledgment sent {"connection_id":171624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:25:26] local.INFO: TCP Data received {"connection_id":171331,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171331,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:25:26] local.INFO: Processing buffer {"connection_id":171331,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:25:26] local.INFO: IMEI packet received {"connection_id":171331,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":171331,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:25:30] local.INFO: TCP Data received {"connection_id":171331,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171331,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:25:30] local.INFO: Processing buffer {"connection_id":171331,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:25:30] local.INFO: IMEI packet received {"connection_id":171331,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":171331,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:25:31] local.INFO: TCP Data received {"connection_id":171331,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171331,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:25:31] local.INFO: Processing buffer {"connection_id":171331,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:25:31] local.INFO: IMEI packet received {"connection_id":171331,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":171331,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:25:33] local.INFO: TCP Data received {"connection_id":171331,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f7cd498012d7b70c005e3e258000a002026..."} 
[2026-09-05 08:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f7cd498012d7b70c005e3e258000a002026..."} 
[2026-09-05 08:25:33] local.INFO: Processing buffer {"connection_id":171331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f7cd498012d7b70c005e3e258000a002026..."} 
[2026-09-05 08:25:33] local.INFO: Packet analysis {"connection_id":171331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f7c"} 
[2026-09-05 08:25:33] local.INFO: Extracted packet for processing {"connection_id":171331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f7c"} 
[2026-09-05 08:25:33] local.INFO: GPS Element Parsed {"raw_longitude":763064512,"raw_latitude":98820696,"longitude_deg":76.3064512,"latitude_deg":9.8820696,"altitude":10,"angle":32,"satellites":38,"speed":42,"hex_longitude":"2d7b70c0","hex_latitude":"05e3e258","is_valid_coordinates":true} 
[2026-09-05 08:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875670272001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128422541512409088,"note":"Value kept but may cause issues"} 
[2026-09-05 08:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888768683585984512,"note":"Value kept but may cause issues"} 
[2026-09-05 08:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788576847000,"timestamp_ms":1788576847000,"timestamp_seconds":1788576847,"priority":1,"record_length":96,"hex_timestamp":"000001a06f7cd498"} 
[2026-09-05 08:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08: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-09-05 08:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-05 08:25:33] 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-09-05 08:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875670272001,"66":13656,"208":206,"85":15104,"24":42,"16":128422541512409088,"45":8888768683585984512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 08:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875670272001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:25:33] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 08:25:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128422541512409088,"km_value":128422541512409.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888768683585984512,"description":"Unknown IO ID 45"} 
[2026-09-05 08:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875670272001,"power":13656,"unknown_208":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8888768683585984512}} 
[2026-09-05 08:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":171331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:25:33] local.INFO: GPS data processed {"connection_id":171331,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:25:33] local.INFO: Acknowledgment sent {"connection_id":171331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:25:35] local.INFO: TCP Data received {"connection_id":172733,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f7d0b48012d4375000694e750001300c629..."} 
[2026-09-05 08:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f7d0b48012d4375000694e750001300c629..."} 
[2026-09-05 08:25:35] local.INFO: Processing buffer {"connection_id":172733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f7d0b48012d4375000694e750001300c629..."} 
[2026-09-05 08:25:35] local.INFO: Packet analysis {"connection_id":172733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f7d"} 
[2026-09-05 08:25:35] local.INFO: Extracted packet for processing {"connection_id":172733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f7d"} 
[2026-09-05 08:25:35] local.INFO: GPS Element Parsed {"raw_longitude":759395584,"raw_latitude":110421840,"longitude_deg":75.9395584,"latitude_deg":11.042184,"altitude":19,"angle":198,"satellites":41,"speed":53,"hex_longitude":"2d437500","hex_latitude":"0694e750","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875674624001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399137860642406400,"note":"Value kept but may cause issues"} 
[2026-09-05 08:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4864169100807163904,"note":"Value kept but may cause issues"} 
[2026-09-05 08:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788576861000,"timestamp_ms":1788576861000,"timestamp_seconds":1788576861,"priority":1,"record_length":96,"hex_timestamp":"000001a06f7d0b48"} 
[2026-09-05 08:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:25:35] 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-09-05 08: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 08:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875674624001,"66":27930,"211":206,"86":48640,"24":53,"16":399137860642406400,"45":4864169100807163904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,86,24,16,45]} 
[2026-09-05 08:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875674624001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:25:35] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-05 08:25:35] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-05 08:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399137860642406400,"km_value":399137860642406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4864169100807163904,"description":"Unknown IO ID 45"} 
[2026-09-05 08:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875674624001,"power":27930,"unknown_211":206,"unknown_86":48640,"ignition":53,"odometer":null,"unknown_45":4864169100807163904}} 
[2026-09-05 08:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":172733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:25:35] local.INFO: GPS data processed {"connection_id":172733,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:25:35] local.INFO: Acknowledgment sent {"connection_id":172733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:25:35] local.INFO: TCP Data received {"connection_id":171331,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f7cf3d8012d7b844005e40088000c002027..."} 
[2026-09-05 08:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f7cf3d8012d7b844005e40088000c002027..."} 
[2026-09-05 08:25:35] local.INFO: Processing buffer {"connection_id":171331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f7cf3d8012d7b844005e40088000c002027..."} 
[2026-09-05 08:25:35] local.INFO: Packet analysis {"connection_id":171331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f7c"} 
[2026-09-05 08:25:35] local.INFO: Extracted packet for processing {"connection_id":171331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f7c"} 
[2026-09-05 08:25:35] local.INFO: GPS Element Parsed {"raw_longitude":763069504,"raw_latitude":98828424,"longitude_deg":76.3069504,"latitude_deg":9.8828424,"altitude":12,"angle":32,"satellites":39,"speed":49,"hex_longitude":"2d7b8440","hex_latitude":"05e40088","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875672832001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128422983894040576,"note":"Value kept but may cause issues"} 
[2026-09-05 08:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894820395587360768,"note":"Value kept but may cause issues"} 
[2026-09-05 08:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788576855000,"timestamp_ms":1788576855000,"timestamp_seconds":1788576855,"priority":1,"record_length":96,"hex_timestamp":"000001a06f7cf3d8"} 
[2026-09-05 08:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:25: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-09-05 08: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 08:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875672832001,"66":13689,"208":206,"85":15104,"24":49,"16":128422983894040576,"45":8894820395587360768},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 08:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875672832001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:25:35] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 08:25:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 08:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128422983894040576,"km_value":128422983894040.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894820395587360768,"description":"Unknown IO ID 45"} 
[2026-09-05 08:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875672832001,"power":13689,"unknown_208":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8894820395587360768}} 
[2026-09-05 08:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":171331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767454,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:25:35] local.INFO: GPS data processed {"connection_id":171331,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:25:35] local.INFO: Acknowledgment sent {"connection_id":171331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:25:56] local.INFO: TCP Data received {"connection_id":171332,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171332,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:25:56] local.INFO: Processing buffer {"connection_id":171332,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:25:56] local.INFO: IMEI packet received {"connection_id":171332,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 08:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":171332,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:25:57] local.INFO: TCP Data received {"connection_id":171333,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:25:57] local.INFO: Processing buffer {"connection_id":171333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:25:57] local.INFO: IMEI packet received {"connection_id":171333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":171333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:26:02] local.INFO: TCP Data received {"connection_id":171333,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:26:02] local.INFO: Processing buffer {"connection_id":171333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:26:02] local.INFO: IMEI packet received {"connection_id":171333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":171333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:26:06] local.INFO: TCP Data received {"connection_id":171331,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f7e6ad8012d7c318005e559700003014923..."} 
[2026-09-05 08:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f7e6ad8012d7c318005e559700003014923..."} 
[2026-09-05 08:26:06] local.INFO: Processing buffer {"connection_id":171331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f7e6ad8012d7c318005e559700003014923..."} 
[2026-09-05 08:26:06] local.INFO: Packet analysis {"connection_id":171331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f7e"} 
[2026-09-05 08:26:06] local.INFO: Extracted packet for processing {"connection_id":171331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f7e"} 
[2026-09-05 08:26:06] local.INFO: GPS Element Parsed {"raw_longitude":763113856,"raw_latitude":98916720,"longitude_deg":76.3113856,"latitude_deg":9.891672,"altitude":3,"angle":329,"satellites":35,"speed":29,"hex_longitude":"2d7c3180","hex_latitude":"05e55970","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875697920001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128427961761136640,"note":"Value kept but may cause issues"} 
[2026-09-05 08:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950904284720408576,"note":"Value kept but may cause issues"} 
[2026-09-05 08:26:06] 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-09-05 08:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788576951000,"timestamp_ms":1788576951000,"timestamp_seconds":1788576951,"priority":1,"record_length":96,"hex_timestamp":"000001a06f7e6ad8"} 
[2026-09-05 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-09-05 08:26: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-09-05 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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-05 08:26:06] 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-09-05 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-09-05 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-09-05 08:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875697920001,"66":13646,"39":206,"87":13824,"24":29,"16":128427961761136640,"45":8950904284720408576},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-05 08:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875697920001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:26:06] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-05 08:26:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128427961761136640,"km_value":128427961761136.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950904284720408576,"description":"Unknown IO ID 45"} 
[2026-09-05 08:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875697920001,"power":13646,"unknown_39":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8950904284720408576}} 
[2026-09-05 08:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":171331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767455,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:26:06] local.INFO: GPS data processed {"connection_id":171331,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:26:06] local.INFO: Acknowledgment sent {"connection_id":171331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:26:07] local.INFO: TCP Data received {"connection_id":171333,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f7d26a0012d4368c00694c3e8001300c728..."} 
[2026-09-05 08:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f7d26a0012d4368c00694c3e8001300c728..."} 
[2026-09-05 08:26:07] local.INFO: Processing buffer {"connection_id":171333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f7d26a0012d4368c00694c3e8001300c728..."} 
[2026-09-05 08:26:07] local.INFO: Packet analysis {"connection_id":171333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f7d"} 
[2026-09-05 08:26:07] local.INFO: Extracted packet for processing {"connection_id":171333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f7d"} 
[2026-09-05 08:26:07] local.INFO: GPS Element Parsed {"raw_longitude":759392448,"raw_latitude":110412776,"longitude_deg":75.9392448,"latitude_deg":11.0412776,"altitude":19,"angle":199,"satellites":40,"speed":55,"hex_longitude":"2d4368c0","hex_latitude":"0694c3e8","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875676416001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399138324498874368,"note":"Value kept but may cause issues"} 
[2026-09-05 08:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4860791401084309504,"note":"Value kept but may cause issues"} 
[2026-09-05 08:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788576868000,"timestamp_ms":1788576868000,"timestamp_seconds":1788576868,"priority":1,"record_length":96,"hex_timestamp":"000001a06f7d26a0"} 
[2026-09-05 08:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:26: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-09-05 08:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 08:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875676416001,"66":27800,"211":206,"86":48640,"24":55,"16":399138324498874368,"45":4860791401084309504},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,86,24,16,45]} 
[2026-09-05 08:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875676416001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:26:07] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-05 08:26:07] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-05 08:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399138324498874368,"km_value":399138324498874.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4860791401084309504,"description":"Unknown IO ID 45"} 
[2026-09-05 08:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875676416001,"power":27800,"unknown_211":206,"unknown_86":48640,"ignition":55,"odometer":null,"unknown_45":4860791401084309504}} 
[2026-09-05 08:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":171333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:26:07] local.INFO: GPS data processed {"connection_id":171333,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:26:07] local.INFO: Acknowledgment sent {"connection_id":171333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:26:34] local.INFO: TCP Data received {"connection_id":171334,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:26:34] local.INFO: Processing buffer {"connection_id":171334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:26:34] local.INFO: IMEI packet received {"connection_id":171334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":171334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:26:37] local.INFO: TCP Data received {"connection_id":171334,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:26:37] local.INFO: Processing buffer {"connection_id":171334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:26:37] local.INFO: IMEI packet received {"connection_id":171334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":171334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:26:37] local.INFO: TCP Data received {"connection_id":171334,"ip":"42.109.136.4","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-05 08:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171334,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-05 08:26:37] local.INFO: Processing buffer {"connection_id":171334,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-05 08:26:37] local.INFO: IMEI packet received {"connection_id":171334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":171334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:26:40] local.INFO: TCP Data received {"connection_id":171333,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f7e7e60012d43b00006933038002d00942a..."} 
[2026-09-05 08:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f7e7e60012d43b00006933038002d00942a..."} 
[2026-09-05 08:26:40] local.INFO: Processing buffer {"connection_id":171333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f7e7e60012d43b00006933038002d00942a..."} 
[2026-09-05 08:26:40] local.INFO: Packet analysis {"connection_id":171333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f7e"} 
[2026-09-05 08:26:40] local.INFO: Extracted packet for processing {"connection_id":171333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f7e"} 
[2026-09-05 08:26:40] local.INFO: GPS Element Parsed {"raw_longitude":759410688,"raw_latitude":110309432,"longitude_deg":75.9410688,"latitude_deg":11.0309432,"altitude":45,"angle":148,"satellites":42,"speed":53,"hex_longitude":"2d43b000","hex_latitude":"06933038","is_valid_coordinates":true} 
[2026-09-05 08:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875698944001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399143989560737792,"note":"Value kept but may cause issues"} 
[2026-09-05 08:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4872050400125933568,"note":"Value kept but may cause issues"} 
[2026-09-05 08:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788576956000,"timestamp_ms":1788576956000,"timestamp_seconds":1788576956,"priority":1,"record_length":96,"hex_timestamp":"000001a06f7e7e60"} 
[2026-09-05 08:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:26:40] 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-09-05 08:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 08:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":171333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":171333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":171333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875698944001,"66":27995,"141":206,"86":48640,"24":53,"16":399143989560737792,"45":4872050400125933568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,86,24,16,45]} 
[2026-09-05 08:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875698944001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:26:40] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-05 08:26:40] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-05 08:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399143989560737792,"km_value":399143989560737.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":4872050400125933568,"description":"Unknown IO ID 45"} 
[2026-09-05 08:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875698944001,"power":27995,"unknown_141":206,"unknown_86":48640,"ignition":53,"odometer":null,"unknown_45":4872050400125933568}} 
[2026-09-05 08:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":171333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:26:40] local.INFO: GPS data processed {"connection_id":171333,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:26:40] local.INFO: Acknowledgment sent {"connection_id":171333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:27:00] local.INFO: TCP Data received {"connection_id":172734,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:27:00] local.INFO: Processing buffer {"connection_id":172734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:27:00] local.INFO: IMEI packet received {"connection_id":172734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":172734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:27:02] local.INFO: TCP Data received {"connection_id":172734,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:27:02] local.INFO: Processing buffer {"connection_id":172734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:27:02] local.INFO: IMEI packet received {"connection_id":172734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":172734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:27:10] local.INFO: TCP Data received {"connection_id":172734,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:27:10] local.INFO: Processing buffer {"connection_id":172734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:27:10] local.INFO: IMEI packet received {"connection_id":172734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":172734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:27:11] local.INFO: TCP Data received {"connection_id":172734,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f7e99b8012d43c40006931048002d00942a..."} 
[2026-09-05 08:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f7e99b8012d43c40006931048002d00942a..."} 
[2026-09-05 08:27:11] local.INFO: Processing buffer {"connection_id":172734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f7e99b8012d43c40006931048002d00942a..."} 
[2026-09-05 08:27:11] local.INFO: Packet analysis {"connection_id":172734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f7e"} 
[2026-09-05 08:27:11] local.INFO: Extracted packet for processing {"connection_id":172734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f7e"} 
[2026-09-05 08:27:11] local.INFO: GPS Element Parsed {"raw_longitude":759415808,"raw_latitude":110301256,"longitude_deg":75.9415808,"latitude_deg":11.0301256,"altitude":45,"angle":148,"satellites":42,"speed":56,"hex_longitude":"2d43c400","hex_latitude":"06931048","is_valid_coordinates":true} 
[2026-09-05 08:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875700736001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399144453417205760,"note":"Value kept but may cause issues"} 
[2026-09-05 08:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4877398424681461760,"note":"Value kept but may cause issues"} 
[2026-09-05 08:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788576963000,"timestamp_ms":1788576963000,"timestamp_seconds":1788576963,"priority":1,"record_length":96,"hex_timestamp":"000001a06f7e99b8"} 
[2026-09-05 08:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 08:27:11] 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-09-05 08:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":172734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":172734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":172734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875700736001,"66":27908,"141":206,"86":48640,"24":56,"16":399144453417205760,"45":4877398424681461760},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,86,24,16,45]} 
[2026-09-05 08:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875700736001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:27:11] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-05 08:27:11] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-05 08:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399144453417205760,"km_value":399144453417205.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4877398424681461760,"description":"Unknown IO ID 45"} 
[2026-09-05 08:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875700736001,"power":27908,"unknown_141":206,"unknown_86":48640,"ignition":56,"odometer":null,"unknown_45":4877398424681461760}} 
[2026-09-05 08:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":172734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:27:11] local.INFO: GPS data processed {"connection_id":172734,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:27:11] local.INFO: Acknowledgment sent {"connection_id":172734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:27:11] local.INFO: TCP Data received {"connection_id":172734,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f7eb510012d43d9800692eeb8002e00922a..."} 
[2026-09-05 08:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f7eb510012d43d9800692eeb8002e00922a..."} 
[2026-09-05 08:27:11] local.INFO: Processing buffer {"connection_id":172734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f7eb510012d43d9800692eeb8002e00922a..."} 
[2026-09-05 08:27:11] local.INFO: Packet analysis {"connection_id":172734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f7e"} 
[2026-09-05 08:27:11] local.INFO: Extracted packet for processing {"connection_id":172734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f7e"} 
[2026-09-05 08:27:11] local.INFO: GPS Element Parsed {"raw_longitude":759421312,"raw_latitude":110292664,"longitude_deg":75.9421312,"latitude_deg":11.0292664,"altitude":46,"angle":146,"satellites":42,"speed":57,"hex_longitude":"2d43d980","hex_latitude":"0692eeb8","is_valid_coordinates":true} 
[2026-09-05 08:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875702528001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399144947338444800,"note":"Value kept but may cause issues"} 
[2026-09-05 08:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4883027924213581824,"note":"Value kept but may cause issues"} 
[2026-09-05 08:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788576970000,"timestamp_ms":1788576970000,"timestamp_seconds":1788576970,"priority":1,"record_length":96,"hex_timestamp":"000001a06f7eb510"} 
[2026-09-05 08:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 08:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":172734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":172734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":172734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875702528001,"66":27832,"142":206,"86":48640,"24":57,"16":399144947338444800,"45":4883027924213581824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-05 08:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875702528001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:27:11] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-05 08:27:11] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-05 08:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399144947338444800,"km_value":399144947338444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4883027924213581824,"description":"Unknown IO ID 45"} 
[2026-09-05 08:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875702528001,"power":27832,"unknown_142":206,"unknown_86":48640,"ignition":57,"odometer":null,"unknown_45":4883027924213581824}} 
[2026-09-05 08:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":172734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:27:11] local.INFO: GPS data processed {"connection_id":172734,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:27:11] local.INFO: Acknowledgment sent {"connection_id":172734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:27:57] local.INFO: TCP Data received {"connection_id":171336,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:27:57] local.INFO: Processing buffer {"connection_id":171336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:27:57] local.INFO: IMEI packet received {"connection_id":171336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":171336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:28:00] local.INFO: TCP Data received {"connection_id":171336,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:28:00] local.INFO: Processing buffer {"connection_id":171336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:28:00] local.INFO: IMEI packet received {"connection_id":171336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":171336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:28:01] local.INFO: TCP Data received {"connection_id":171336,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f7f8030012d44b34006923c60002e00ae2c..."} 
[2026-09-05 08:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f7f8030012d44b34006923c60002e00ae2c..."} 
[2026-09-05 08:28:01] local.INFO: Processing buffer {"connection_id":171336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f7f8030012d44b34006923c60002e00ae2c..."} 
[2026-09-05 08:28:01] local.INFO: Packet analysis {"connection_id":171336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f7f"} 
[2026-09-05 08:28:01] local.INFO: Extracted packet for processing {"connection_id":171336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f7f"} 
[2026-09-05 08:28:01] local.INFO: GPS Element Parsed {"raw_longitude":759477056,"raw_latitude":110247008,"longitude_deg":75.9477056,"latitude_deg":11.0247008,"altitude":46,"angle":174,"satellites":44,"speed":58,"hex_longitude":"2d44b340","hex_latitude":"06923c60","is_valid_coordinates":true} 
[2026-09-05 08:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875716352001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399148602355613696,"note":"Value kept but may cause issues"} 
[2026-09-05 08:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4948893068751818752,"note":"Value kept but may cause issues"} 
[2026-09-05 08:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788577022000,"timestamp_ms":1788577022000,"timestamp_seconds":1788577022,"priority":1,"record_length":96,"hex_timestamp":"000001a06f7f8030"} 
[2026-09-05 08:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 08:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875716352001,"66":27843,"253":206,"86":48896,"24":58,"16":399148602355613696,"45":4948893068751818752},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,86,24,16,45]} 
[2026-09-05 08:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875716352001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:28:01] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-09-05 08:28:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-05 08:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399148602355613696,"km_value":399148602355613.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4948893068751818752,"description":"Unknown IO ID 45"} 
[2026-09-05 08:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875716352001,"power":27843,"unknown_253":206,"unknown_86":48896,"ignition":58,"odometer":null,"unknown_45":4948893068751818752}} 
[2026-09-05 08:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":171336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:28:01] local.INFO: GPS data processed {"connection_id":171336,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:28:01] local.INFO: Acknowledgment sent {"connection_id":171336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:28:33] local.INFO: TCP Data received {"connection_id":171336,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f7f9b88012d44b580069214a0002f00b12c..."} 
[2026-09-05 08:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f7f9b88012d44b580069214a0002f00b12c..."} 
[2026-09-05 08:28:33] local.INFO: Processing buffer {"connection_id":171336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f7f9b88012d44b580069214a0002f00b12c..."} 
[2026-09-05 08:28:33] local.INFO: Packet analysis {"connection_id":171336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f7f"} 
[2026-09-05 08:28:33] local.INFO: Extracted packet for processing {"connection_id":171336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f7f"} 
[2026-09-05 08:28:33] local.INFO: GPS Element Parsed {"raw_longitude":759477632,"raw_latitude":110236832,"longitude_deg":75.9477632,"latitude_deg":11.0236832,"altitude":47,"angle":177,"satellites":44,"speed":57,"hex_longitude":"2d44b580","hex_latitude":"069214a0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875717632001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399149096276852736,"note":"Value kept but may cause issues"} 
[2026-09-05 08:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4950370812377718784,"note":"Value kept but may cause issues"} 
[2026-09-05 08:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788577029000,"timestamp_ms":1788577029000,"timestamp_seconds":1788577029,"priority":1,"record_length":96,"hex_timestamp":"000001a06f7f9b88"} 
[2026-09-05 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-09-05 08:28: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-09-05 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 08:28: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-09-05 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-09-05 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-09-05 08:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:28: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-09-05 08:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875717632001,"66":27821,"253":206,"86":48896,"24":57,"16":399149096276852736,"45":4950370812377718784},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,86,24,16,45]} 
[2026-09-05 08:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875717632001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:28:33] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-09-05 08:28:33] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-05 08:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399149096276852736,"km_value":399149096276852.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4950370812377718784,"description":"Unknown IO ID 45"} 
[2026-09-05 08:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875717632001,"power":27821,"unknown_253":206,"unknown_86":48896,"ignition":57,"odometer":null,"unknown_45":4950370812377718784}} 
[2026-09-05 08:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":171336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:28:33] local.INFO: GPS data processed {"connection_id":171336,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:28:33] local.INFO: Acknowledgment sent {"connection_id":171336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:28:57] local.INFO: TCP Data received {"connection_id":171625,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:28:57] local.INFO: Processing buffer {"connection_id":171625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:28:57] local.INFO: IMEI packet received {"connection_id":171625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":171625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:29:01] local.INFO: TCP Data received {"connection_id":171625,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:29:01] local.INFO: Processing buffer {"connection_id":171625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:29:01] local.INFO: IMEI packet received {"connection_id":171625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":171625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:29:02] local.INFO: TCP Data received {"connection_id":171625,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f7fb6e0012d44b7000691edc0003100b12c..."} 
[2026-09-05 08:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f7fb6e0012d44b7000691edc0003100b12c..."} 
[2026-09-05 08:29:02] local.INFO: Processing buffer {"connection_id":171625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f7fb6e0012d44b7000691edc0003100b12c..."} 
[2026-09-05 08:29:02] local.INFO: Packet analysis {"connection_id":171625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f7f"} 
[2026-09-05 08:29:02] local.INFO: Extracted packet for processing {"connection_id":171625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f7f"} 
[2026-09-05 08:29:02] local.INFO: GPS Element Parsed {"raw_longitude":759478016,"raw_latitude":110226880,"longitude_deg":75.9478016,"latitude_deg":11.022688,"altitude":49,"angle":177,"satellites":44,"speed":56,"hex_longitude":"2d44b700","hex_latitude":"0691edc0","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875719424001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399149577313189888,"note":"Value kept but may cause issues"} 
[2026-09-05 08:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4951004131072712704,"note":"Value kept but may cause issues"} 
[2026-09-05 08:29:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 08:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788577036000,"timestamp_ms":1788577036000,"timestamp_seconds":1788577036,"priority":1,"record_length":96,"hex_timestamp":"000001a06f7fb6e0"} 
[2026-09-05 08:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:29: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-09-05 08:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 08:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:29: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-09-05 08:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875719424001,"66":27832,"86":48896,"24":56,"16":399149577313189888,"45":4951004131072712704},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-05 08:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875719424001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:29:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-05 08:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399149577313189888,"km_value":399149577313189.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4951004131072712704,"description":"Unknown IO ID 45"} 
[2026-09-05 08:29:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457875719424001,"power":27832,"unknown_86":48896,"ignition":56,"odometer":null,"unknown_45":4951004131072712704}} 
[2026-09-05 08:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":171625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:29:02] local.INFO: GPS data processed {"connection_id":171625,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:29:02] local.INFO: Acknowledgment sent {"connection_id":171625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:29:26] local.INFO: TCP Data received {"connection_id":174043,"ip":"117.225.203.178","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174043,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:29:26] local.INFO: Processing buffer {"connection_id":174043,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:29:26] local.INFO: IMEI packet received {"connection_id":174043,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 08:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":174043,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:29:27] local.INFO: TCP Data received {"connection_id":174043,"ip":"117.225.203.178","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174043,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:29:27] local.INFO: Processing buffer {"connection_id":174043,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:29:27] local.INFO: IMEI packet received {"connection_id":174043,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 08:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":174043,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:29:30] local.INFO: TCP Data received {"connection_id":174043,"ip":"117.225.203.178","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174043,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:29:30] local.INFO: Processing buffer {"connection_id":174043,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:29:30] local.INFO: IMEI packet received {"connection_id":174043,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 08:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":174043,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:29:31] local.INFO: TCP Data received {"connection_id":174043,"ip":"117.225.203.178","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-05 08:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174043,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-05 08:29:31] local.INFO: Processing buffer {"connection_id":174043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-05 08:29:31] local.INFO: Packet analysis {"connection_id":174043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-05 08:29:31] local.INFO: Extracted packet for processing {"connection_id":174043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-05 08:29:31] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30240284910551040,"note":"Value kept but may cause issues"} 
[2026-09-05 08:29:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,105,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 08:29:31] 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-09-05 08:29:31] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 08:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174043,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174043,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-05 08:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174043,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-05 08:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.203.178","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 08:29:31] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 08:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":174043,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 08:29:31] local.ERROR: GPS data processing failed {"connection_id":174043,"error":"No valid data to process"} 
[2026-09-05 08:29:31] local.INFO: Acknowledgment sent {"connection_id":174043,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 08:29:33] local.INFO: TCP Data received {"connection_id":171625,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f80eb78012d4557c0069078d00042008729..."} 
[2026-09-05 08:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f80eb78012d4557c0069078d00042008729..."} 
[2026-09-05 08:29:33] local.INFO: Processing buffer {"connection_id":171625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f80eb78012d4557c0069078d00042008729..."} 
[2026-09-05 08:29:33] local.INFO: Packet analysis {"connection_id":171625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f80"} 
[2026-09-05 08:29:33] local.INFO: Extracted packet for processing {"connection_id":171625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f80"} 
[2026-09-05 08:29:33] local.INFO: GPS Element Parsed {"raw_longitude":759519168,"raw_latitude":110131408,"longitude_deg":75.9519168,"latitude_deg":11.0131408,"altitude":66,"angle":135,"satellites":41,"speed":49,"hex_longitude":"2d4557c0","hex_latitude":"069078d0","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875739392001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399154718389043200,"note":"Value kept but may cause issues"} 
[2026-09-05 08:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4989706940345344000,"note":"Value kept but may cause issues"} 
[2026-09-05 08:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788577115000,"timestamp_ms":1788577115000,"timestamp_seconds":1788577115,"priority":1,"record_length":96,"hex_timestamp":"000001a06f80eb78"} 
[2026-09-05 08:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:29: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-09-05 08: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 08:29: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-09-05 08: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-09-05 08:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:29: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-09-05 08:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875739392001,"66":27876,"47":206,"86":48896,"24":49,"16":399154718389043200,"45":4989706940345344000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,86,24,16,45]} 
[2026-09-05 08:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875739392001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:29:33] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-05 08:29:33] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-05 08:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399154718389043200,"km_value":399154718389043.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4989706940345344000,"description":"Unknown IO ID 45"} 
[2026-09-05 08:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875739392001,"power":27876,"unknown_47":206,"unknown_86":48896,"ignition":49,"odometer":null,"unknown_45":4989706940345344000}} 
[2026-09-05 08:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":171625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:29:33] local.INFO: GPS data processed {"connection_id":171625,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:29:33] local.INFO: Acknowledgment sent {"connection_id":171625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:29:56] local.INFO: TCP Data received {"connection_id":172735,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:29:56] local.INFO: Processing buffer {"connection_id":172735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:29:56] local.INFO: IMEI packet received {"connection_id":172735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":172735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:29:57] local.INFO: TCP Data received {"connection_id":172735,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:29:57] local.INFO: Processing buffer {"connection_id":172735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:29:57] local.INFO: IMEI packet received {"connection_id":172735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":172735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:30:02] local.INFO: TCP Data received {"connection_id":172735,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:30:02] local.INFO: Processing buffer {"connection_id":172735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:30:02] local.INFO: IMEI packet received {"connection_id":172735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":172735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:30:03] local.INFO: TCP Data received {"connection_id":172735,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f810ab8012d45750006905e580044008229..."} 
[2026-09-05 08:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f810ab8012d45750006905e580044008229..."} 
[2026-09-05 08:30:03] local.INFO: Processing buffer {"connection_id":172735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f810ab8012d45750006905e580044008229..."} 
[2026-09-05 08:30:03] local.INFO: Packet analysis {"connection_id":172735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f81"} 
[2026-09-05 08:30:03] local.INFO: Extracted packet for processing {"connection_id":172735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f81"} 
[2026-09-05 08:30:03] local.INFO: GPS Element Parsed {"raw_longitude":759526656,"raw_latitude":110124632,"longitude_deg":75.9526656,"latitude_deg":11.0124632,"altitude":68,"angle":130,"satellites":41,"speed":51,"hex_longitude":"2d457500","hex_latitude":"06905e58","is_valid_coordinates":true} 
[2026-09-05 08:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875741440001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399155203720347648,"note":"Value kept but may cause issues"} 
[2026-09-05 08:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4996673446017028096,"note":"Value kept but may cause issues"} 
[2026-09-05 08:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788577123000,"timestamp_ms":1788577123000,"timestamp_seconds":1788577123,"priority":1,"record_length":96,"hex_timestamp":"000001a06f810ab8"} 
[2026-09-05 08:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:30: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-09-05 08:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 08:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875741440001,"66":27908,"47":206,"86":48896,"24":51,"16":399155203720347648,"45":4996673446017028096},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,86,24,16,45]} 
[2026-09-05 08:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875741440001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:30:03] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-05 08:30:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-05 08:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399155203720347648,"km_value":399155203720347.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4996673446017028096,"description":"Unknown IO ID 45"} 
[2026-09-05 08:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875741440001,"power":27908,"unknown_47":206,"unknown_86":48896,"ignition":51,"odometer":null,"unknown_45":4996673446017028096}} 
[2026-09-05 08:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":172735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:30:03] local.INFO: GPS data processed {"connection_id":172735,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:30:03] local.INFO: Acknowledgment sent {"connection_id":172735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:30:15] local.INFO: TCP Data received {"connection_id":174043,"ip":"117.225.203.178","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-05 08:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174043,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-05 08:30:15] local.INFO: Processing buffer {"connection_id":174043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-05 08:30:15] local.INFO: Packet analysis {"connection_id":174043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-05 08:30:15] local.INFO: Extracted packet for processing {"connection_id":174043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-05 08:30:15] 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-09-05 08: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-09-05 08:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30240284910551040,"note":"Value kept but may cause issues"} 
[2026-09-05 08:30:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,105,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 08:30:15] 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-09-05 08:30:15] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 08:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":174043,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":174043,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-05 08:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":174043,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-05 08:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.203.178","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 08:30:15] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 08:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":174043,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 08:30:15] local.ERROR: GPS data processing failed {"connection_id":174043,"error":"No valid data to process"} 
[2026-09-05 08:30:15] local.INFO: Acknowledgment sent {"connection_id":174043,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 08:30:34] local.INFO: TCP Data received {"connection_id":172735,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f812610012d4590c0069046d8004500822a..."} 
[2026-09-05 08:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f812610012d4590c0069046d8004500822a..."} 
[2026-09-05 08:30:34] local.INFO: Processing buffer {"connection_id":172735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f812610012d4590c0069046d8004500822a..."} 
[2026-09-05 08:30:34] local.INFO: Packet analysis {"connection_id":172735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f81"} 
[2026-09-05 08:30:34] local.INFO: Extracted packet for processing {"connection_id":172735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f81"} 
[2026-09-05 08:30:34] local.INFO: GPS Element Parsed {"raw_longitude":759533760,"raw_latitude":110118616,"longitude_deg":75.953376,"latitude_deg":11.0118616,"altitude":69,"angle":130,"satellites":42,"speed":53,"hex_longitude":"2d4590c0","hex_latitude":"069046d8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875743488001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399155650396946432,"note":"Value kept but may cause issues"} 
[2026-09-05 08:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5004906589084080128,"note":"Value kept but may cause issues"} 
[2026-09-05 08:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788577130000,"timestamp_ms":1788577130000,"timestamp_seconds":1788577130,"priority":1,"record_length":96,"hex_timestamp":"000001a06f812610"} 
[2026-09-05 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-09-05 08:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 08:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 08:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875743488001,"66":27767,"47":206,"86":48896,"24":53,"16":399155650396946432,"45":5004906589084080128},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,86,24,16,45]} 
[2026-09-05 08:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875743488001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:30:34] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-05 08:30:34] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-05 08:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399155650396946432,"km_value":399155650396946.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5004906589084080128,"description":"Unknown IO ID 45"} 
[2026-09-05 08:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875743488001,"power":27767,"unknown_47":206,"unknown_86":48896,"ignition":53,"odometer":null,"unknown_45":5004906589084080128}} 
[2026-09-05 08:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":172735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:30:34] local.INFO: GPS data processed {"connection_id":172735,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:30:34] local.INFO: Acknowledgment sent {"connection_id":172735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:30:47] local.INFO: TCP Data received {"connection_id":174043,"ip":"117.225.203.178","data_length":795,"data_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-05 08:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-05 08:30:47] local.INFO: Processing buffer {"connection_id":174043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-05 08:30:47] local.INFO: Packet analysis {"connection_id":174043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-05 08:30:47] local.INFO: Extracted packet for processing {"connection_id":174043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-05 08:30:47] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 08:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30240284910551040,"note":"Value kept but may cause issues"} 
[2026-09-05 08:30:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,105,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 08:30:47] 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-09-05 08:30:47] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 08:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174043,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174043,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-05 08:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174043,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-05 08:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.203.178","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 08:30:47] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 08:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":174043,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 08:30:47] local.ERROR: GPS data processing failed {"connection_id":174043,"error":"No valid data to process"} 
[2026-09-05 08:30:47] local.INFO: Acknowledgment sent {"connection_id":174043,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 08:31:00] local.INFO: TCP Data received {"connection_id":174044,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:31:00] local.INFO: Processing buffer {"connection_id":174044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:31:00] local.INFO: IMEI packet received {"connection_id":174044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":174044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:31:02] local.INFO: TCP Data received {"connection_id":174044,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:31:02] local.INFO: Processing buffer {"connection_id":174044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:31:02] local.INFO: IMEI packet received {"connection_id":174044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":174044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:31:07] local.INFO: TCP Data received {"connection_id":174044,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:31:07] local.INFO: Processing buffer {"connection_id":174044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:31:07] local.INFO: IMEI packet received {"connection_id":174044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":174044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:31:07] local.INFO: TCP Data received {"connection_id":174044,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f824ef0012d463ec0068ed8b0004800ac2b..."} 
[2026-09-05 08:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f824ef0012d463ec0068ed8b0004800ac2b..."} 
[2026-09-05 08:31:07] local.INFO: Processing buffer {"connection_id":174044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f824ef0012d463ec0068ed8b0004800ac2b..."} 
[2026-09-05 08:31:07] local.INFO: Packet analysis {"connection_id":174044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f82"} 
[2026-09-05 08:31:07] local.INFO: Extracted packet for processing {"connection_id":174044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f82"} 
[2026-09-05 08:31:07] local.INFO: GPS Element Parsed {"raw_longitude":759578304,"raw_latitude":110024880,"longitude_deg":75.9578304,"latitude_deg":11.002488,"altitude":72,"angle":172,"satellites":43,"speed":48,"hex_longitude":"2d463ec0","hex_latitude":"068ed8b0","is_valid_coordinates":true} 
[2026-09-05 08:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875762944001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399160774292930560,"note":"Value kept but may cause issues"} 
[2026-09-05 08:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5059934947007782912,"note":"Value kept but may cause issues"} 
[2026-09-05 08:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788577206000,"timestamp_ms":1788577206000,"timestamp_seconds":1788577206,"priority":1,"record_length":96,"hex_timestamp":"000001a06f824ef0"} 
[2026-09-05 08:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:31: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-09-05 08:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 08:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875762944001,"66":27821,"48":206,"86":48896,"24":48,"16":399160774292930560,"45":5059934947007782912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,86,24,16,45]} 
[2026-09-05 08:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875762944001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:31:07] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-05 08:31:07] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-05 08:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399160774292930560,"km_value":399160774292930.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5059934947007782912,"description":"Unknown IO ID 45"} 
[2026-09-05 08:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875762944001,"power":27821,"unknown_48":206,"unknown_86":48896,"ignition":48,"odometer":null,"unknown_45":5059934947007782912}} 
[2026-09-05 08:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":174044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:31:07] local.INFO: GPS data processed {"connection_id":174044,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:31:07] local.INFO: Acknowledgment sent {"connection_id":174044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:31:18] local.INFO: TCP Data received {"connection_id":174043,"ip":"117.225.203.178","data_length":795,"data_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-05 08:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174043,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-05 08:31:18] local.INFO: Processing buffer {"connection_id":174043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-05 08:31:18] local.INFO: Packet analysis {"connection_id":174043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-05 08:31:18] local.INFO: Extracted packet for processing {"connection_id":174043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-05 08:31:18] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 08:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30240284910551040,"note":"Value kept but may cause issues"} 
[2026-09-05 08:31:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 08:31:18] 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-09-05 08:31:18] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 08:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174043,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174043,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-05 08:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174043,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-05 08:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.203.178","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 08:31:18] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 08:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":174043,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 08:31:18] local.ERROR: GPS data processing failed {"connection_id":174043,"error":"No valid data to process"} 
[2026-09-05 08:31:18] local.INFO: Acknowledgment sent {"connection_id":174043,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 08:31:31] local.INFO: TCP Data received {"connection_id":171338,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171338,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:31:31] local.INFO: Processing buffer {"connection_id":171338,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:31:31] local.INFO: IMEI packet received {"connection_id":171338,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 08:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":171338,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:31:38] local.INFO: TCP Data received {"connection_id":171626,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:31:38] local.INFO: Processing buffer {"connection_id":171626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:31:38] local.INFO: IMEI packet received {"connection_id":171626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":171626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:31:38] local.INFO: TCP Data received {"connection_id":174044,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f826e30012d464140068eb3a0004a00b22b..."} 
[2026-09-05 08:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f826e30012d464140068eb3a0004a00b22b..."} 
[2026-09-05 08:31:38] local.INFO: Processing buffer {"connection_id":174044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f826e30012d464140068eb3a0004a00b22b..."} 
[2026-09-05 08:31:38] local.INFO: Packet analysis {"connection_id":174044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f82"} 
[2026-09-05 08:31:38] local.INFO: Extracted packet for processing {"connection_id":174044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f82"} 
[2026-09-05 08:31:38] local.INFO: GPS Element Parsed {"raw_longitude":759578944,"raw_latitude":110015392,"longitude_deg":75.9578944,"latitude_deg":11.0015392,"altitude":74,"angle":178,"satellites":43,"speed":46,"hex_longitude":"2d464140","hex_latitude":"068eb3a0","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875764736001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399161233854431232,"note":"Value kept but may cause issues"} 
[2026-09-05 08:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5061694165609918464,"note":"Value kept but may cause issues"} 
[2026-09-05 08:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788577214000,"timestamp_ms":1788577214000,"timestamp_seconds":1788577214,"priority":1,"record_length":96,"hex_timestamp":"000001a06f826e30"} 
[2026-09-05 08:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:31: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-09-05 08: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 08:31: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-09-05 08: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-09-05 08:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:31: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-09-05 08:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875764736001,"66":27908,"48":206,"86":48896,"24":46,"16":399161233854431232,"45":5061694165609918464},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,86,24,16,45]} 
[2026-09-05 08:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875764736001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:31:38] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-05 08:31:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-05 08:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399161233854431232,"km_value":399161233854431.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5061694165609918464,"description":"Unknown IO ID 45"} 
[2026-09-05 08:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875764736001,"power":27908,"unknown_48":206,"unknown_86":48896,"ignition":46,"odometer":null,"unknown_45":5061694165609918464}} 
[2026-09-05 08:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":174044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:31:38] local.INFO: GPS data processed {"connection_id":174044,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:31:38] local.INFO: Acknowledgment sent {"connection_id":174044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:31:39] local.INFO: TCP Data received {"connection_id":171626,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f822bc8012d7b6ac005e781280001015623..."} 
[2026-09-05 08:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f822bc8012d7b6ac005e781280001015623..."} 
[2026-09-05 08:31:39] local.INFO: Processing buffer {"connection_id":171626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f822bc8012d7b6ac005e781280001015623..."} 
[2026-09-05 08:31:39] local.INFO: Packet analysis {"connection_id":171626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f82"} 
[2026-09-05 08:31:39] local.INFO: Extracted packet for processing {"connection_id":171626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f82"} 
[2026-09-05 08:31:39] local.INFO: GPS Element Parsed {"raw_longitude":763062976,"raw_latitude":99057960,"longitude_deg":76.3062976,"latitude_deg":9.905796,"altitude":1,"angle":342,"satellites":35,"speed":32,"hex_longitude":"2d7b6ac0","hex_latitude":"05e78128","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875760896001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128435447889133568,"note":"Value kept but may cause issues"} 
[2026-09-05 08:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894187076949407744,"note":"Value kept but may cause issues"} 
[2026-09-05 08:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788577197000,"timestamp_ms":1788577197000,"timestamp_seconds":1788577197,"priority":1,"record_length":96,"hex_timestamp":"000001a06f822bc8"} 
[2026-09-05 08:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:31: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-09-05 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-05 08:31: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-09-05 08: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-09-05 08:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875760896001,"66":13472,"96":206,"87":13824,"24":32,"16":128435447889133568,"45":8894187076949407744},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-05 08:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875760896001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:31:39] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-05 08:31:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128435447889133568,"km_value":128435447889133.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894187076949407744,"description":"Unknown IO ID 45"} 
[2026-09-05 08:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875760896001,"power":13472,"unknown_96":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8894187076949407744}} 
[2026-09-05 08:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":171626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767468,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:31:39] local.INFO: GPS data processed {"connection_id":171626,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:31:39] local.INFO: Acknowledgment sent {"connection_id":171626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:31:49] local.INFO: TCP Data received {"connection_id":174043,"ip":"117.225.203.178","data_length":795,"data_hex":"000000000000030f8e0a000000000001ffb80100000000000000000000000000..."} 
[2026-09-05 08:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174043,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001ffb80100000000000000000000000000..."} 
[2026-09-05 08:31:49] local.INFO: Processing buffer {"connection_id":174043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001ffb80100000000000000000000000000..."} 
[2026-09-05 08:31:49] local.INFO: Packet analysis {"connection_id":174043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-05 08:31:49] local.INFO: Extracted packet for processing {"connection_id":174043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-05 08:31:49] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 08:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30240284910551040,"note":"Value kept but may cause issues"} 
[2026-09-05 08:31:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 08:31:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":131000,"timestamp_seconds":131,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 08:31:49] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 08:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174043,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174043,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-05 08:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174043,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-05 08:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.203.178","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 08:31:49] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 08:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":174043,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 08:31:49] local.ERROR: GPS data processing failed {"connection_id":174043,"error":"No valid data to process"} 
[2026-09-05 08:31:49] local.INFO: Acknowledgment sent {"connection_id":174043,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 08:31:57] local.INFO: TCP Data received {"connection_id":171627,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:31:57] local.INFO: Processing buffer {"connection_id":171627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:31:57] local.INFO: IMEI packet received {"connection_id":171627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":171627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:31:57] local.INFO: TCP Data received {"connection_id":171627,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:31:57] local.INFO: Processing buffer {"connection_id":171627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:31:57] local.INFO: IMEI packet received {"connection_id":171627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":171627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:32:02] local.INFO: TCP Data received {"connection_id":171627,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:32:02] local.INFO: Processing buffer {"connection_id":171627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:32:02] local.INFO: IMEI packet received {"connection_id":171627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":171627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:32:03] local.INFO: TCP Data received {"connection_id":171627,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f828d70012d464200068e8ea0004d00b22c..."} 
[2026-09-05 08:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f828d70012d464200068e8ea0004d00b22c..."} 
[2026-09-05 08:32:03] local.INFO: Processing buffer {"connection_id":171627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f828d70012d464200068e8ea0004d00b22c..."} 
[2026-09-05 08:32:03] local.INFO: Packet analysis {"connection_id":171627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f82"} 
[2026-09-05 08:32:03] local.INFO: Extracted packet for processing {"connection_id":171627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f82"} 
[2026-09-05 08:32:03] local.INFO: GPS Element Parsed {"raw_longitude":759579136,"raw_latitude":110005920,"longitude_deg":75.9579136,"latitude_deg":11.000592,"altitude":77,"angle":178,"satellites":44,"speed":47,"hex_longitude":"2d464200","hex_latitude":"068e8ea0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875766784001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399161693415931904,"note":"Value kept but may cause issues"} 
[2026-09-05 08:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5062397853049266176,"note":"Value kept but may cause issues"} 
[2026-09-05 08:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788577222000,"timestamp_ms":1788577222000,"timestamp_seconds":1788577222,"priority":1,"record_length":96,"hex_timestamp":"000001a06f828d70"} 
[2026-09-05 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-09-05 08:32: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-09-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 08:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 08:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875766784001,"66":27745,"48":206,"86":48896,"24":47,"16":399161693415931904,"45":5062397853049266176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,86,24,16,45]} 
[2026-09-05 08:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875766784001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:32:03] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-05 08:32:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-05 08:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399161693415931904,"km_value":399161693415931.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5062397853049266176,"description":"Unknown IO ID 45"} 
[2026-09-05 08:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875766784001,"power":27745,"unknown_48":206,"unknown_86":48896,"ignition":47,"odometer":null,"unknown_45":5062397853049266176}} 
[2026-09-05 08:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":171627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:32:03] local.INFO: GPS data processed {"connection_id":171627,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:32:03] local.INFO: Acknowledgment sent {"connection_id":171627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:32:21] local.INFO: TCP Data received {"connection_id":174043,"ip":"117.225.203.178","data_length":795,"data_hex":"000000000000030f8e0a00000000000251c00100000000000000000000000000..."} 
[2026-09-05 08:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174043,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000251c00100000000000000000000000000..."} 
[2026-09-05 08:32:21] local.INFO: Processing buffer {"connection_id":174043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000251c00100000000000000000000000000..."} 
[2026-09-05 08:32:21] local.INFO: Packet analysis {"connection_id":174043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-05 08:32:21] local.INFO: Extracted packet for processing {"connection_id":174043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-05 08:32:21] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 08:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30240284910551040,"note":"Value kept but may cause issues"} 
[2026-09-05 08:32:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 08:32:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":152000,"timestamp_seconds":152,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 08:32:21] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 08:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174043,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174043,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-05 08:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174043,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-05 08:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.203.178","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 08:32:21] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 08:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":174043,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 08:32:21] local.ERROR: GPS data processing failed {"connection_id":174043,"error":"No valid data to process"} 
[2026-09-05 08:32:21] local.INFO: Acknowledgment sent {"connection_id":174043,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 08:32:26] local.INFO: TCP Data received {"connection_id":171628,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:32:26] local.INFO: Processing buffer {"connection_id":171628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:32:26] local.INFO: IMEI packet received {"connection_id":171628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":171628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:32:27] local.INFO: TCP Data received {"connection_id":171628,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:32:27] local.INFO: Processing buffer {"connection_id":171628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:32:27] local.INFO: IMEI packet received {"connection_id":171628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":171628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:32:30] local.INFO: TCP Data received {"connection_id":171628,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:32:30] local.INFO: Processing buffer {"connection_id":171628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:32:30] local.INFO: IMEI packet received {"connection_id":171628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":171628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:32:31] local.INFO: TCP Data received {"connection_id":171628,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f843350012d7b554005e8c2600000016225..."} 
[2026-09-05 08:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f843350012d7b554005e8c2600000016225..."} 
[2026-09-05 08:32:31] local.INFO: Processing buffer {"connection_id":171628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f843350012d7b554005e8c2600000016225..."} 
[2026-09-05 08:32:31] local.INFO: Packet analysis {"connection_id":171628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f84"} 
[2026-09-05 08:32:31] local.INFO: Extracted packet for processing {"connection_id":171628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f84"} 
[2026-09-05 08:32:31] local.INFO: GPS Element Parsed {"raw_longitude":763057472,"raw_latitude":99140192,"longitude_deg":76.3057472,"latitude_deg":9.9140192,"altitude":0,"angle":354,"satellites":37,"speed":43,"hex_longitude":"2d7b5540","hex_latitude":"05e8c260","is_valid_coordinates":true} 
[2026-09-05 08:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875794432001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128439472273489920,"note":"Value kept but may cause issues"} 
[2026-09-05 08:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887924258737354752,"note":"Value kept but may cause issues"} 
[2026-09-05 08:32:31] 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-09-05 08:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788577330000,"timestamp_ms":1788577330000,"timestamp_seconds":1788577330,"priority":1,"record_length":96,"hex_timestamp":"000001a06f843350"} 
[2026-09-05 08:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 08:32:31] 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-09-05 08:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875794432001,"66":13363,"201":206,"87":13824,"24":43,"16":128439472273489920,"45":8887924258737354752},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-05 08:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875794432001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:32:31] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-05 08:32:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128439472273489920,"km_value":128439472273489.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887924258737354752,"description":"Unknown IO ID 45"} 
[2026-09-05 08:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875794432001,"power":13363,"unknown_201":206,"unknown_87":13824,"ignition":43,"odometer":null,"unknown_45":8887924258737354752}} 
[2026-09-05 08:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":171628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767470,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:32:31] local.INFO: GPS data processed {"connection_id":171628,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:32:31] local.INFO: Acknowledgment sent {"connection_id":171628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:32:34] local.INFO: TCP Data received {"connection_id":171627,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f83d1a8012d47a7c0068df3700043004a29..."} 
[2026-09-05 08:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f83d1a8012d47a7c0068df3700043004a29..."} 
[2026-09-05 08:32:34] local.INFO: Processing buffer {"connection_id":171627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f83d1a8012d47a7c0068df3700043004a29..."} 
[2026-09-05 08:32:34] local.INFO: Packet analysis {"connection_id":171627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f83"} 
[2026-09-05 08:32:34] local.INFO: Extracted packet for processing {"connection_id":171627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f83"} 
[2026-09-05 08:32:34] local.INFO: GPS Element Parsed {"raw_longitude":759670720,"raw_latitude":109966192,"longitude_deg":75.967072,"latitude_deg":10.9966192,"altitude":67,"angle":74,"satellites":41,"speed":78,"hex_longitude":"2d47a7c0","hex_latitude":"068df370","is_valid_coordinates":true} 
[2026-09-05 08:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875788800001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399167431492239360,"note":"Value kept but may cause issues"} 
[2026-09-05 08:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5152892058048436224,"note":"Value kept but may cause issues"} 
[2026-09-05 08:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788577305000,"timestamp_ms":1788577305000,"timestamp_seconds":1788577305,"priority":1,"record_length":96,"hex_timestamp":"000001a06f83d1a8"} 
[2026-09-05 08:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 08:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875788800001,"66":27930,"62":206,"86":48896,"24":78,"16":399167431492239360,"45":5152892058048436224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,86,24,16,45]} 
[2026-09-05 08:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875788800001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:32:34] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-05 08:32:34] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-05 08:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399167431492239360,"km_value":399167431492239.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5152892058048436224,"description":"Unknown IO ID 45"} 
[2026-09-05 08:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875788800001,"power":27930,"unknown_62":206,"unknown_86":48896,"ignition":78,"odometer":null,"unknown_45":5152892058048436224}} 
[2026-09-05 08:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":171627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:32:34] local.INFO: GPS data processed {"connection_id":171627,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:32:34] local.INFO: Acknowledgment sent {"connection_id":171627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:32:53] local.INFO: TCP Data received {"connection_id":174043,"ip":"117.225.203.178","data_length":795,"data_hex":"000000000000030f8e0a000000000002a3c80100000000000000000000000000..."} 
[2026-09-05 08:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174043,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000002a3c80100000000000000000000000000..."} 
[2026-09-05 08:32:53] local.INFO: Processing buffer {"connection_id":174043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000002a3c80100000000000000000000000000..."} 
[2026-09-05 08:32:53] local.INFO: Packet analysis {"connection_id":174043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-05 08:32:53] local.INFO: Extracted packet for processing {"connection_id":174043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-05 08:32:53] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 08:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30240284910551040,"note":"Value kept but may cause issues"} 
[2026-09-05 08:32:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 08:32:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":173000,"timestamp_seconds":173,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 08:32:53] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 08:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174043,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174043,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-05 08:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174043,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-05 08:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.203.178","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 08:32:53] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 08:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":174043,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 08:32:53] local.ERROR: GPS data processing failed {"connection_id":174043,"error":"No valid data to process"} 
[2026-09-05 08:32:53] local.INFO: Acknowledgment sent {"connection_id":174043,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 08:33:05] local.INFO: TCP Data received {"connection_id":172737,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:33:05] local.INFO: Processing buffer {"connection_id":172737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:33:05] local.INFO: IMEI packet received {"connection_id":172737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":172737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:33:05] local.INFO: TCP Data received {"connection_id":171628,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f845290012d7b510005e8e6600000016325..."} 
[2026-09-05 08:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f845290012d7b510005e8e6600000016325..."} 
[2026-09-05 08:33:05] local.INFO: Processing buffer {"connection_id":171628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f845290012d7b510005e8e6600000016325..."} 
[2026-09-05 08:33:05] local.INFO: Packet analysis {"connection_id":171628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f84"} 
[2026-09-05 08:33:05] local.INFO: Extracted packet for processing {"connection_id":171628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f84"} 
[2026-09-05 08:33:05] local.INFO: GPS Element Parsed {"raw_longitude":763056384,"raw_latitude":99149408,"longitude_deg":76.3056384,"latitude_deg":9.9149408,"altitude":0,"angle":355,"satellites":37,"speed":49,"hex_longitude":"2d7b5100","hex_latitude":"05e8e660","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875796480001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128439923245056000,"note":"Value kept but may cause issues"} 
[2026-09-05 08:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887079833809608704,"note":"Value kept but may cause issues"} 
[2026-09-05 08:33:05] 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-09-05 08:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788577338000,"timestamp_ms":1788577338000,"timestamp_seconds":1788577338,"priority":1,"record_length":96,"hex_timestamp":"000001a06f845290"} 
[2026-09-05 08:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-05 08:33:05] 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-09-05 08: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-09-05 08:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875796480001,"66":13656,"201":206,"87":13824,"24":49,"16":128439923245056000,"45":8887079833809608704},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-05 08:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875796480001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:33:05] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-05 08:33:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128439923245056000,"km_value":128439923245056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887079833809608704,"description":"Unknown IO ID 45"} 
[2026-09-05 08:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875796480001,"power":13656,"unknown_201":206,"unknown_87":13824,"ignition":49,"odometer":null,"unknown_45":8887079833809608704}} 
[2026-09-05 08:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":171628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767472,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:33:06] local.INFO: GPS data processed {"connection_id":171628,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:33:06] local.INFO: Acknowledgment sent {"connection_id":171628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:33:07] local.INFO: TCP Data received {"connection_id":172737,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:33:07] local.INFO: Processing buffer {"connection_id":172737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:33:07] local.INFO: IMEI packet received {"connection_id":172737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":172737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:33:09] local.INFO: TCP Data received {"connection_id":172737,"ip":"42.106.6.16","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 08:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172737,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 08:33:09] local.INFO: Processing buffer {"connection_id":172737,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 08:33:09] local.INFO: IMEI packet received {"connection_id":172737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":172737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:33:25] local.INFO: TCP Data received {"connection_id":174043,"ip":"117.225.203.178","data_length":795,"data_hex":"000000000000030f8e0a000000000002f5d00100000000000000000000000000..."} 
[2026-09-05 08:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174043,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000002f5d00100000000000000000000000000..."} 
[2026-09-05 08:33:25] local.INFO: Processing buffer {"connection_id":174043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000002f5d00100000000000000000000000000..."} 
[2026-09-05 08:33:25] local.INFO: Packet analysis {"connection_id":174043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-05 08:33:25] local.INFO: Extracted packet for processing {"connection_id":174043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-05 08:33:25] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 08:33: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-09-05 08:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30240284910551040,"note":"Value kept but may cause issues"} 
[2026-09-05 08:33:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 08:33:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":194000,"timestamp_seconds":194,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 08:33:25] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 08:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174043,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174043,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-05 08:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174043,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-05 08:33:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.203.178","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 08:33:25] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 08:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":174043,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 08:33:25] local.ERROR: GPS data processing failed {"connection_id":174043,"error":"No valid data to process"} 
[2026-09-05 08:33:25] local.INFO: Acknowledgment sent {"connection_id":174043,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 08:33:25] local.INFO: TCP Data received {"connection_id":172738,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:33:25] local.INFO: Processing buffer {"connection_id":172738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:33:25] local.INFO: IMEI packet received {"connection_id":172738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":172738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:33:28] local.INFO: TCP Data received {"connection_id":172738,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:33:28] local.INFO: Processing buffer {"connection_id":172738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:33:28] local.INFO: IMEI packet received {"connection_id":172738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":172738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:33:30] local.INFO: TCP Data received {"connection_id":172738,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:33:30] local.INFO: Processing buffer {"connection_id":172738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:33:30] local.INFO: IMEI packet received {"connection_id":172738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":172738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:33:31] local.INFO: TCP Data received {"connection_id":172738,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f8471d0012d7b4c4005e90b000000015f25..."} 
[2026-09-05 08:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f8471d0012d7b4c4005e90b000000015f25..."} 
[2026-09-05 08:33:31] local.INFO: Processing buffer {"connection_id":172738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f8471d0012d7b4c4005e90b000000015f25..."} 
[2026-09-05 08:33:31] local.INFO: Packet analysis {"connection_id":172738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f84"} 
[2026-09-05 08:33:31] local.INFO: Extracted packet for processing {"connection_id":172738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f84"} 
[2026-09-05 08:33:31] local.INFO: GPS Element Parsed {"raw_longitude":763055168,"raw_latitude":99158784,"longitude_deg":76.3055168,"latitude_deg":9.9158784,"altitude":0,"angle":351,"satellites":37,"speed":44,"hex_longitude":"2d7b4c40","hex_latitude":"05e90b00","is_valid_coordinates":true} 
[2026-09-05 08:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875798528001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128440382806556672,"note":"Value kept but may cause issues"} 
[2026-09-05 08:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885883565160947712,"note":"Value kept but may cause issues"} 
[2026-09-05 08:33:31] 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-09-05 08:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788577346000,"timestamp_ms":1788577346000,"timestamp_seconds":1788577346,"priority":1,"record_length":96,"hex_timestamp":"000001a06f8471d0"} 
[2026-09-05 08:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 08:33:31] 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-09-05 08:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875798528001,"66":13559,"201":206,"87":13824,"24":44,"16":128440382806556672,"45":8885883565160947712},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-05 08:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875798528001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:33:31] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-05 08:33:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128440382806556672,"km_value":128440382806556.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885883565160947712,"description":"Unknown IO ID 45"} 
[2026-09-05 08:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875798528001,"power":13559,"unknown_201":206,"unknown_87":13824,"ignition":44,"odometer":null,"unknown_45":8885883565160947712}} 
[2026-09-05 08:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":172738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:33:31] local.INFO: GPS data processed {"connection_id":172738,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:33:31] local.INFO: Acknowledgment sent {"connection_id":172738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:34:03] local.INFO: TCP Data received {"connection_id":172738,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f85cd78012d7bcac005e959000000003a22..."} 
[2026-09-05 08:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f85cd78012d7bcac005e959000000003a22..."} 
[2026-09-05 08:34:03] local.INFO: Processing buffer {"connection_id":172738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f85cd78012d7bcac005e959000000003a22..."} 
[2026-09-05 08:34:03] local.INFO: Packet analysis {"connection_id":172738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f85"} 
[2026-09-05 08:34:03] local.INFO: Extracted packet for processing {"connection_id":172738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f85"} 
[2026-09-05 08:34:03] local.INFO: GPS Element Parsed {"raw_longitude":763087552,"raw_latitude":99178752,"longitude_deg":76.3087552,"latitude_deg":9.9178752,"altitude":0,"angle":58,"satellites":34,"speed":26,"hex_longitude":"2d7bcac0","hex_latitude":"05e95900","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875822592001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128442530290204672,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918464293722400768,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:03] 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-09-05 08:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788577435000,"timestamp_ms":1788577435000,"timestamp_seconds":1788577435,"priority":1,"record_length":96,"hex_timestamp":"000001a06f85cd78"} 
[2026-09-05 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-09-05 08:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-05 08:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630416,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:03] local.WARNING: Large IO value detected {"io_id":123,"raw_value":5566455638532816896,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-4012504957847601152,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:03] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4244635648,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:03] local.WARNING: Large IO value detected {"io_id":111,"raw_value":2232291329,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:03] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636704924380617,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":768147662,"corrected_to":0} 
[2026-09-05 08:34:03] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3590376749,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:03] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1355677696,"corrected_to":0} 
[2026-09-05 08:34:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3912638464,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:03] local.WARNING: Large IO value detected {"io_id":53,"raw_value":6341293871867154007,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:03] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755463865696497,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:03] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,201,87,24,241,157,16,81,160,174,45,128,76,34,10,66,123,64,33,92,192,1,240,214,227,80,111,233,4,113,205,7,254,121,168,239,52,2,200,5,25,53,54],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":768147662,"validated":0},{"io_id":200,"original":1355677696,"validated":0}]} 
[2026-09-05 08:34:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":50719270240256,"timestamp_seconds":50719270240.256,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 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-09-05 08:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875822592001,"66":13450,"201":206,"87":13824,"24":26,"16":128442530290204672,"45":8918464293722400768},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-05 08:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875822592001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:34:03] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-05 08:34:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128442530290204672,"km_value":128442530290204.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918464293722400768,"description":"Unknown IO ID 45"} 
[2026-09-05 08:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875822592001,"power":13450,"unknown_201":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8918464293722400768}} 
[2026-09-05 08:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":172738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767474,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:34:03] local.INFO: GPS data processed {"connection_id":172738,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:34:03] local.INFO: Acknowledgment sent {"connection_id":172738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:34:15] local.INFO: TCP Data received {"connection_id":174045,"ip":"117.225.203.178","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174045,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:34:15] local.INFO: Processing buffer {"connection_id":174045,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:34:15] local.INFO: IMEI packet received {"connection_id":174045,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 08:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":174045,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:34:21] local.INFO: TCP Data received {"connection_id":174045,"ip":"117.225.203.178","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174045,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:34:21] local.INFO: Processing buffer {"connection_id":174045,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:34:21] local.INFO: IMEI packet received {"connection_id":174045,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 08:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":174045,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:34:23] local.INFO: TCP Data received {"connection_id":174045,"ip":"117.225.203.178","data_length":795,"data_hex":"000000000000030f8e0a00000000000347d80100000000000000000000000000..."} 
[2026-09-05 08:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174045,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000347d80100000000000000000000000000..."} 
[2026-09-05 08:34:23] local.INFO: Processing buffer {"connection_id":174045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000347d80100000000000000000000000000..."} 
[2026-09-05 08:34:23] local.INFO: Packet analysis {"connection_id":174045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-09-05 08:34:23] local.INFO: Extracted packet for processing {"connection_id":174045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-09-05 08:34:23] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 08:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30240284910551040,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 08:34:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":215000,"timestamp_seconds":215,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 08:34:23] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 08:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174045,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174045,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-05 08:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174045,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-05 08:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.203.178","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 08:34:23] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 08:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":174045,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 08:34:23] local.ERROR: GPS data processing failed {"connection_id":174045,"error":"No valid data to process"} 
[2026-09-05 08:34:23] local.INFO: Acknowledgment sent {"connection_id":174045,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 08:34:24] local.INFO: TCP Data received {"connection_id":174045,"ip":"117.225.203.178","data_length":795,"data_hex":"000000000000030f8e0a00000000000399e00100000000000000000000000000..."} 
[2026-09-05 08:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174045,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000399e00100000000000000000000000000..."} 
[2026-09-05 08:34:24] local.INFO: Processing buffer {"connection_id":174045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000399e00100000000000000000000000000..."} 
[2026-09-05 08:34:24] local.INFO: Packet analysis {"connection_id":174045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-09-05 08:34:24] local.INFO: Extracted packet for processing {"connection_id":174045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-09-05 08:34:24] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 08:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30240284910551040,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 08:34:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":236000,"timestamp_seconds":236,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 08:34:24] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 08:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174045,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174045,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-05 08:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174045,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-05 08:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.203.178","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 08:34:24] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 08:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":174045,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 08:34:24] local.ERROR: GPS data processing failed {"connection_id":174045,"error":"No valid data to process"} 
[2026-09-05 08:34:24] local.INFO: Acknowledgment sent {"connection_id":174045,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 08:34:31] local.INFO: TCP Data received {"connection_id":172739,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172739,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:34:31] local.INFO: Processing buffer {"connection_id":172739,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:34:31] local.INFO: IMEI packet received {"connection_id":172739,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":172739,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:34:31] local.INFO: TCP Data received {"connection_id":172739,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172739,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:34:31] local.INFO: Processing buffer {"connection_id":172739,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:34:31] local.INFO: IMEI packet received {"connection_id":172739,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":172739,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:34:36] local.INFO: TCP Data received {"connection_id":172739,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172739,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:34:36] local.INFO: Processing buffer {"connection_id":172739,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:34:36] local.INFO: IMEI packet received {"connection_id":172739,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":172739,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:34:37] local.INFO: TCP Data received {"connection_id":172739,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f85d548012d7bcfc005e95b100000004923..."} 
[2026-09-05 08:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f85d548012d7bcfc005e95b100000004923..."} 
[2026-09-05 08:34:37] local.INFO: Processing buffer {"connection_id":172739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f85d548012d7bcfc005e95b100000004923..."} 
[2026-09-05 08:34:37] local.INFO: Packet analysis {"connection_id":172739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f85"} 
[2026-09-05 08:34:37] local.INFO: Extracted packet for processing {"connection_id":172739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f85"} 
[2026-09-05 08:34:37] local.INFO: GPS Element Parsed {"raw_longitude":763088832,"raw_latitude":99179280,"longitude_deg":76.3088832,"latitude_deg":9.917928,"altitude":0,"angle":73,"satellites":35,"speed":26,"hex_longitude":"2d7bcfc0","hex_latitude":"05e95b10","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875823360001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128442594714714112,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920153143582982144,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:37] 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-09-05 08:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788577437000,"timestamp_ms":1788577437000,"timestamp_seconds":1788577437,"priority":1,"record_length":96,"hex_timestamp":"000001a06f85d548"} 
[2026-09-05 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-09-05 08: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-09-05 08:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-05 08:34:37] 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-09-05 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-09-05 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-09-05 08:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875823360001,"66":13363,"201":206,"87":13824,"24":26,"16":128442594714714112,"45":8920153143582982144},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-05 08:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875823360001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:34:37] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-05 08:34:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128442594714714112,"km_value":128442594714714.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920153143582982144,"description":"Unknown IO ID 45"} 
[2026-09-05 08:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875823360001,"power":13363,"unknown_201":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8920153143582982144}} 
[2026-09-05 08:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":172739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767475,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:34:37] local.INFO: GPS data processed {"connection_id":172739,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:34:37] local.INFO: Acknowledgment sent {"connection_id":172739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:34:55] local.INFO: TCP Data received {"connection_id":174045,"ip":"117.225.203.178","data_length":795,"data_hex":"000000000000030f8e0a000001a06f864a78012d0b81c007039bf80013006307..."} 
[2026-09-05 08:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f864a78012d0b81c007039bf80013006307..."} 
[2026-09-05 08:34:55] local.INFO: Processing buffer {"connection_id":174045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f864a78012d0b81c007039bf80013006307..."} 
[2026-09-05 08:34:55] local.INFO: Packet analysis {"connection_id":174045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f86"} 
[2026-09-05 08:34:55] local.INFO: Extracted packet for processing {"connection_id":174045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f86"} 
[2026-09-05 08:34:55] local.INFO: GPS Element Parsed {"raw_longitude":755728832,"raw_latitude":117677048,"longitude_deg":75.5728832,"latitude_deg":11.7677048,"altitude":19,"angle":99,"satellites":7,"speed":13,"hex_longitude":"2d0b81c0","hex_latitude":"07039bf8","is_valid_coordinates":true} 
[2026-09-05 08:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875831040001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30240843256299520,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828521624073187328,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788577467000,"timestamp_ms":1788577467000,"timestamp_seconds":1788577467,"priority":1,"record_length":96,"hex_timestamp":"000001a06f864a78"} 
[2026-09-05 08:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:34:55] 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-09-05 08:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-05 08:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733137664,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:55] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4504061057499136,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:55] local.WARNING: Large IO value detected {"io_id":111,"raw_value":2247139329,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:55] local.WARNING: Large IO value detected {"io_id":248,"raw_value":72057594037927936,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:55] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133468930441282,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:55] local.WARNING: Large IO value detected {"io_id":3,"raw_value":2890399759,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:55] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639878905260309,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:55] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4395777123403760128,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3910467790,"corrected_to":0} 
[2026-09-05 08:34:55] local.WARNING: Large IO value detected {"io_id":232,"raw_value":3489737995,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:55] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3221685163,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:55] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-09-05 08:34:55] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,21,28,24,241,158,16,111,160,47,45,161,7,10,66,171,19,248,192,1,240,201,3,4,113,205,232,88,112,239,56,2,107,206],"length":628,"final_offset":758,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3910467790,"validated":0}]} 
[2026-09-05 08:34:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1513334849187741696,"timestamp_seconds":1513334849187741.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 08:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174045,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174045,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.203.178","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 08:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 08:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875831040001,"66":14548,"21":206,"28":32256,"24":13,"16":30240843256299520,"45":828521624073187328},"client_ip":"117.225.203.178","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-09-05 08:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 08:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 08:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875831040001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:34:55] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-05 08:34:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-05 08:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30240843256299520,"km_value":30240843256299.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":828521624073187328,"description":"Unknown IO ID 45"} 
[2026-09-05 08:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875831040001,"power":14548,"unknown_21":206,"unknown_28":32256,"ignition":13,"odometer":null,"unknown_45":828521624073187328}} 
[2026-09-05 08:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":174045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767476,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:34:56] local.INFO: GPS data processed {"connection_id":174045,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:34:56] local.INFO: Acknowledgment sent {"connection_id":174045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:35:08] local.INFO: TCP Data received {"connection_id":172739,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f85dd18012d7bd54005e95c380001005423..."} 
[2026-09-05 08:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f85dd18012d7bd54005e95c380001005423..."} 
[2026-09-05 08:35:08] local.INFO: Processing buffer {"connection_id":172739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f85dd18012d7bd54005e95c380001005423..."} 
[2026-09-05 08:35:08] local.INFO: Packet analysis {"connection_id":172739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f85"} 
[2026-09-05 08:35:08] local.INFO: Extracted packet for processing {"connection_id":172739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f85"} 
[2026-09-05 08:35:08] local.INFO: GPS Element Parsed {"raw_longitude":763090240,"raw_latitude":99179576,"longitude_deg":76.309024,"latitude_deg":9.9179576,"altitude":1,"angle":84,"satellites":35,"speed":29,"hex_longitude":"2d7bd540","hex_latitude":"05e95c38","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875823872001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128442663434190848,"note":"Value kept but may cause issues"} 
[2026-09-05 08:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921560518466670592,"note":"Value kept but may cause issues"} 
[2026-09-05 08:35:08] 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-09-05 08:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788577439000,"timestamp_ms":1788577439000,"timestamp_seconds":1788577439,"priority":1,"record_length":96,"hex_timestamp":"000001a06f85dd18"} 
[2026-09-05 08:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-05 08:35: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-09-05 08: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-09-05 08:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875823872001,"66":13602,"201":206,"87":13824,"24":29,"16":128442663434190848,"45":8921560518466670592},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-05 08:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875823872001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:35:08] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-05 08:35:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128442663434190848,"km_value":128442663434190.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921560518466670592,"description":"Unknown IO ID 45"} 
[2026-09-05 08:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875823872001,"power":13602,"unknown_201":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8921560518466670592}} 
[2026-09-05 08:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":172739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:35:08] local.INFO: GPS data processed {"connection_id":172739,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:35:08] local.INFO: Acknowledgment sent {"connection_id":172739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:35:25] local.INFO: TCP Data received {"connection_id":171630,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:35:25] local.INFO: Processing buffer {"connection_id":171630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:35:25] local.INFO: IMEI packet received {"connection_id":171630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":171630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:35:26] local.INFO: TCP Data received {"connection_id":171630,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:35:26] local.INFO: Processing buffer {"connection_id":171630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:35:26] local.INFO: IMEI packet received {"connection_id":171630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":171630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:35:27] local.INFO: TCP Data received {"connection_id":174045,"ip":"117.225.203.178","data_length":795,"data_hex":"000000000000030f8e0a000001a06f867188012d0b94c007039ce00013005707..."} 
[2026-09-05 08:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f867188012d0b94c007039ce00013005707..."} 
[2026-09-05 08:35:27] local.INFO: Processing buffer {"connection_id":174045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f867188012d0b94c007039ce00013005707..."} 
[2026-09-05 08:35:27] local.INFO: Packet analysis {"connection_id":174045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f86"} 
[2026-09-05 08:35:27] local.INFO: Extracted packet for processing {"connection_id":174045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f86"} 
[2026-09-05 08:35:27] local.INFO: GPS Element Parsed {"raw_longitude":755733696,"raw_latitude":117677280,"longitude_deg":75.5733696,"latitude_deg":11.767728,"altitude":19,"angle":87,"satellites":7,"speed":21,"hex_longitude":"2d0b94c0","hex_latitude":"07039ce0","is_valid_coordinates":true} 
[2026-09-05 08:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875831552001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30241075184533504,"note":"Value kept but may cause issues"} 
[2026-09-05 08:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":829154942770739200,"note":"Value kept but may cause issues"} 
[2026-09-05 08:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788577477000,"timestamp_ms":1788577477000,"timestamp_seconds":1788577477,"priority":1,"record_length":96,"hex_timestamp":"000001a06f867188"} 
[2026-09-05 08:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:35:27] 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-09-05 08:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-05 08:35:27] 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-09-05 08:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174045,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174045,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.203.178","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 08:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 08:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875831552001,"66":14439,"21":206,"28":32256,"24":21,"16":30241075184533504,"45":829154942770739200},"client_ip":"117.225.203.178","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-09-05 08:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 08:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 08:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875831552001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:35:27] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-05 08:35:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-05 08:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30241075184533504,"km_value":30241075184533.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":829154942770739200,"description":"Unknown IO ID 45"} 
[2026-09-05 08:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875831552001,"power":14439,"unknown_21":206,"unknown_28":32256,"ignition":21,"odometer":null,"unknown_45":829154942770739200}} 
[2026-09-05 08:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":174045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767478,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:35:27] local.INFO: GPS data processed {"connection_id":174045,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:35:27] local.INFO: Acknowledgment sent {"connection_id":174045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:35:31] local.INFO: TCP Data received {"connection_id":171630,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:35:31] local.INFO: Processing buffer {"connection_id":171630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:35:31] local.INFO: IMEI packet received {"connection_id":171630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":171630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:35:32] local.INFO: TCP Data received {"connection_id":171630,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f85f0a0012d7be40005e95ee00002004924..."} 
[2026-09-05 08:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f85f0a0012d7be40005e95ee00002004924..."} 
[2026-09-05 08:35:32] local.INFO: Processing buffer {"connection_id":171630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f85f0a0012d7be40005e95ee00002004924..."} 
[2026-09-05 08:35:32] local.INFO: Packet analysis {"connection_id":171630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f85"} 
[2026-09-05 08:35:32] local.INFO: Extracted packet for processing {"connection_id":171630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f85"} 
[2026-09-05 08:35:32] local.INFO: GPS Element Parsed {"raw_longitude":763094016,"raw_latitude":99180256,"longitude_deg":76.3094016,"latitude_deg":9.9180256,"altitude":2,"angle":73,"satellites":36,"speed":28,"hex_longitude":"2d7be400","hex_latitude":"05e95ee0","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875824384001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128442848117784576,"note":"Value kept but may cause issues"} 
[2026-09-05 08:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923108630838654976,"note":"Value kept but may cause issues"} 
[2026-09-05 08:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788577444000,"timestamp_ms":1788577444000,"timestamp_seconds":1788577444,"priority":1,"record_length":96,"hex_timestamp":"000001a06f85f0a0"} 
[2026-09-05 08:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08: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-09-05 08: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-05 08:35:32] 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-09-05 08: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-09-05 08:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875824384001,"66":13341,"192":206,"87":13824,"24":28,"16":128442848117784576,"45":8923108630838654976},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-05 08:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875824384001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:35:32] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-05 08:35:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128442848117784576,"km_value":128442848117784.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923108630838654976,"description":"Unknown IO ID 45"} 
[2026-09-05 08:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875824384001,"power":13341,"unknown_192":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8923108630838654976}} 
[2026-09-05 08:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":171630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:35:32] local.INFO: GPS data processed {"connection_id":171630,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:35:32] local.INFO: Acknowledgment sent {"connection_id":171630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:36:05] local.INFO: TCP Data received {"connection_id":171630,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f877f10012d7c8c8005e9a7c80004016122..."} 
[2026-09-05 08:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f877f10012d7c8c8005e9a7c80004016122..."} 
[2026-09-05 08:36:05] local.INFO: Processing buffer {"connection_id":171630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f877f10012d7c8c8005e9a7c80004016122..."} 
[2026-09-05 08:36:05] local.INFO: Packet analysis {"connection_id":171630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f87"} 
[2026-09-05 08:36:05] local.INFO: Extracted packet for processing {"connection_id":171630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f87"} 
[2026-09-05 08:36:05] local.INFO: GPS Element Parsed {"raw_longitude":763137152,"raw_latitude":99198920,"longitude_deg":76.3137152,"latitude_deg":9.919892,"altitude":4,"angle":353,"satellites":34,"speed":11,"hex_longitude":"2d7c8c80","hex_latitude":"05e9a7c8","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875849984001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128445244709535744,"note":"Value kept but may cause issues"} 
[2026-09-05 08:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975533345255284736,"note":"Value kept but may cause issues"} 
[2026-09-05 08:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788577546000,"timestamp_ms":1788577546000,"timestamp_seconds":1788577546,"priority":1,"record_length":96,"hex_timestamp":"000001a06f877f10"} 
[2026-09-05 08:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:36: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-09-05 08: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-05 08:36:05] 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-09-05 08: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-09-05 08:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875849984001,"66":13765,"192":206,"87":13824,"24":11,"16":128445244709535744,"45":8975533345255284736},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-05 08:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875849984001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:36:05] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-05 08:36:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128445244709535744,"km_value":128445244709535.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975533345255284736,"description":"Unknown IO ID 45"} 
[2026-09-05 08:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875849984001,"power":13765,"unknown_192":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8975533345255284736}} 
[2026-09-05 08:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":171630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767480,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:36:05] local.INFO: GPS data processed {"connection_id":171630,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:36:05] local.INFO: Acknowledgment sent {"connection_id":171630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:36:06] local.INFO: TCP Data received {"connection_id":172740,"ip":"117.225.203.178","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172740,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:36:06] local.INFO: Processing buffer {"connection_id":172740,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:36:06] local.INFO: IMEI packet received {"connection_id":172740,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 08:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":172740,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:36:09] local.INFO: TCP Data received {"connection_id":172740,"ip":"117.225.203.178","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172740,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:36:09] local.INFO: Processing buffer {"connection_id":172740,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:36:09] local.INFO: IMEI packet received {"connection_id":172740,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 08:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":172740,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:36:10] local.INFO: TCP Data received {"connection_id":172740,"ip":"117.225.203.178","data_length":795,"data_hex":"000000000000030f8e0a000001a06f875800012d0c0f0007039b280009005409..."} 
[2026-09-05 08:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f875800012d0c0f0007039b280009005409..."} 
[2026-09-05 08:36:10] local.INFO: Processing buffer {"connection_id":172740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f875800012d0c0f0007039b280009005409..."} 
[2026-09-05 08:36:10] local.INFO: Packet analysis {"connection_id":172740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f87"} 
[2026-09-05 08:36:10] local.INFO: Extracted packet for processing {"connection_id":172740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f87"} 
[2026-09-05 08:36:10] local.INFO: GPS Element Parsed {"raw_longitude":755764992,"raw_latitude":117676840,"longitude_deg":75.5764992,"latitude_deg":11.767684,"altitude":9,"angle":84,"satellites":9,"speed":1,"hex_longitude":"2d0c0f00","hex_latitude":"07039b28","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875848960001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30242690092236800,"note":"Value kept but may cause issues"} 
[2026-09-05 08:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868842914486876160,"note":"Value kept but may cause issues"} 
[2026-09-05 08:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788577536000,"timestamp_ms":1788577536000,"timestamp_seconds":1788577536,"priority":1,"record_length":96,"hex_timestamp":"000001a06f875800"} 
[2026-09-05 08:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:36: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-09-05 08:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-05 08:36:10] 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-09-05 08: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-09-05 08:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":172740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":172740,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":172740,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.203.178","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 08:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 08:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875848960001,"66":14689,"21":206,"28":32256,"24":1,"16":30242690092236800,"45":868842914486876160},"client_ip":"117.225.203.178","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-09-05 08:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 08:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 08:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875848960001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:36:10] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-05 08:36:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-05 08:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30242690092236800,"km_value":30242690092236.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":868842914486876160,"description":"Unknown IO ID 45"} 
[2026-09-05 08:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875848960001,"power":14689,"unknown_21":206,"unknown_28":32256,"ignition":1,"odometer":null,"unknown_45":868842914486876160}} 
[2026-09-05 08:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":172740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767481,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:36:10] local.INFO: GPS data processed {"connection_id":172740,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:36:10] local.INFO: Acknowledgment sent {"connection_id":172740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:36:25] local.INFO: TCP Data received {"connection_id":172741,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:36:25] local.INFO: Processing buffer {"connection_id":172741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:36:25] local.INFO: IMEI packet received {"connection_id":172741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":172741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:36:31] local.INFO: TCP Data received {"connection_id":172741,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:36:31] local.INFO: Processing buffer {"connection_id":172741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:36:31] local.INFO: IMEI packet received {"connection_id":172741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":172741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:36:32] local.INFO: TCP Data received {"connection_id":172741,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f878ac8012d7c8bc005e9ac500004015523..."} 
[2026-09-05 08:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f878ac8012d7c8bc005e9ac500004015523..."} 
[2026-09-05 08:36:32] local.INFO: Processing buffer {"connection_id":172741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f878ac8012d7c8bc005e9ac500004015523..."} 
[2026-09-05 08:36:32] local.INFO: Packet analysis {"connection_id":172741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f87"} 
[2026-09-05 08:36:32] local.INFO: Extracted packet for processing {"connection_id":172741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f87"} 
[2026-09-05 08:36:32] local.INFO: GPS Element Parsed {"raw_longitude":763136960,"raw_latitude":99200080,"longitude_deg":76.313696,"latitude_deg":9.920008,"altitude":4,"angle":341,"satellites":35,"speed":17,"hex_longitude":"2d7c8bc0","hex_latitude":"05e9ac50","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875851776001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128445300544110592,"note":"Value kept but may cause issues"} 
[2026-09-05 08:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974688920325834752,"note":"Value kept but may cause issues"} 
[2026-09-05 08:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788577549000,"timestamp_ms":1788577549000,"timestamp_seconds":1788577549,"priority":1,"record_length":96,"hex_timestamp":"000001a06f878ac8"} 
[2026-09-05 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-09-05 08:36: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-09-05 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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-05 08:36:32] 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-09-05 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-09-05 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-09-05 08:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875851776001,"66":13559,"192":206,"87":13824,"24":17,"16":128445300544110592,"45":8974688920325834752},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-05 08:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875851776001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:36:32] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-05 08:36:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128445300544110592,"km_value":128445300544110.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974688920325834752,"description":"Unknown IO ID 45"} 
[2026-09-05 08:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875851776001,"power":13559,"unknown_192":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8974688920325834752}} 
[2026-09-05 08:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":172741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767482,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:36:32] local.INFO: GPS data processed {"connection_id":172741,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:36:32] local.INFO: Acknowledgment sent {"connection_id":172741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:36:42] local.INFO: TCP Data received {"connection_id":172740,"ip":"117.225.203.178","data_length":795,"data_hex":"000000000000030f8e0a000001a06f87fff8012d0c59c00703e5b00002002a09..."} 
[2026-09-05 08:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f87fff8012d0c59c00703e5b00002002a09..."} 
[2026-09-05 08:36:42] local.INFO: Processing buffer {"connection_id":172740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f87fff8012d0c59c00703e5b00002002a09..."} 
[2026-09-05 08:36:42] local.INFO: Packet analysis {"connection_id":172740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f87"} 
[2026-09-05 08:36:42] local.INFO: Extracted packet for processing {"connection_id":172740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f87"} 
[2026-09-05 08:36:42] local.INFO: GPS Element Parsed {"raw_longitude":755784128,"raw_latitude":117695920,"longitude_deg":75.5784128,"latitude_deg":11.769592,"altitude":2,"angle":42,"satellites":9,"speed":31,"hex_longitude":"2d0c59c0","hex_latitude":"0703e5b0","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875859712001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30244085956608000,"note":"Value kept but may cause issues"} 
[2026-09-05 08:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888898006582061056,"note":"Value kept but may cause issues"} 
[2026-09-05 08:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788577579000,"timestamp_ms":1788577579000,"timestamp_seconds":1788577579,"priority":1,"record_length":96,"hex_timestamp":"000001a06f87fff8"} 
[2026-09-05 08:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:36: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-09-05 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 08:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":172740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":172740,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":172740,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.203.178","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 08:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 08:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875859712001,"66":14428,"21":206,"28":32256,"24":31,"16":30244085956608000,"45":888898006582061056},"client_ip":"117.225.203.178","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-09-05 08:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 08:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 08:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875859712001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:36:42] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-05 08:36:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-05 08:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30244085956608000,"km_value":30244085956608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":888898006582061056,"description":"Unknown IO ID 45"} 
[2026-09-05 08:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875859712001,"power":14428,"unknown_21":206,"unknown_28":32256,"ignition":31,"odometer":null,"unknown_45":888898006582061056}} 
[2026-09-05 08:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":172740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767483,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:36:42] local.INFO: GPS data processed {"connection_id":172740,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:36:42] local.INFO: Acknowledgment sent {"connection_id":172740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:37:05] local.INFO: TCP Data received {"connection_id":171340,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171340,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:37:05] local.INFO: Processing buffer {"connection_id":171340,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:37:05] local.INFO: IMEI packet received {"connection_id":171340,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 08:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":171340,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:37:05] local.INFO: TCP Data received {"connection_id":172741,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f886588012d7c8a4005e9b3580004009a22..."} 
[2026-09-05 08:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f886588012d7c8a4005e9b3580004009a22..."} 
[2026-09-05 08:37:05] local.INFO: Processing buffer {"connection_id":172741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f886588012d7c8a4005e9b3580004009a22..."} 
[2026-09-05 08:37:05] local.INFO: Packet analysis {"connection_id":172741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f88"} 
[2026-09-05 08:37:05] local.INFO: Extracted packet for processing {"connection_id":172741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f88"} 
[2026-09-05 08:37:05] local.INFO: GPS Element Parsed {"raw_longitude":763136576,"raw_latitude":99201880,"longitude_deg":76.3136576,"latitude_deg":9.920188,"altitude":4,"angle":154,"satellites":34,"speed":1,"hex_longitude":"2d7c8a40","hex_latitude":"05e9b358","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875866368001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128445485227704320,"note":"Value kept but may cause issues"} 
[2026-09-05 08:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973985232884834304,"note":"Value kept but may cause issues"} 
[2026-09-05 08:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788577605000,"timestamp_ms":1788577605000,"timestamp_seconds":1788577605,"priority":1,"record_length":96,"hex_timestamp":"000001a06f886588"} 
[2026-09-05 08:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-05 08:37:05] 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-09-05 08: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-09-05 08:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875866368001,"66":13580,"192":206,"87":13824,"24":1,"16":128445485227704320,"45":8973985232884834304},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-05 08:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875866368001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:37:05] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-05 08:37:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128445485227704320,"km_value":128445485227704.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973985232884834304,"description":"Unknown IO ID 45"} 
[2026-09-05 08:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875866368001,"power":13580,"unknown_192":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8973985232884834304}} 
[2026-09-05 08:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":172741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767484,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:37:05] local.INFO: GPS data processed {"connection_id":172741,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:37:05] local.INFO: Acknowledgment sent {"connection_id":172741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:37:06] local.INFO: TCP Data received {"connection_id":171342,"ip":"117.225.203.178","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171342,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:37:06] local.INFO: Processing buffer {"connection_id":171342,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:37:06] local.INFO: IMEI packet received {"connection_id":171342,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 08:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":171342,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:37:09] local.INFO: TCP Data received {"connection_id":171342,"ip":"117.225.203.178","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171342,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:37:09] local.INFO: Processing buffer {"connection_id":171342,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:37:09] local.INFO: IMEI packet received {"connection_id":171342,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 08:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":171342,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:37:11] local.INFO: TCP Data received {"connection_id":171342,"ip":"117.225.203.178","data_length":795,"data_hex":"000000000000030f8e0a000001a06f881b50012d0c6bc00703f5680002003609..."} 
[2026-09-05 08:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f881b50012d0c6bc00703f5680002003609..."} 
[2026-09-05 08:37:11] local.INFO: Processing buffer {"connection_id":171342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f881b50012d0c6bc00703f5680002003609..."} 
[2026-09-05 08:37:11] local.INFO: Packet analysis {"connection_id":171342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f88"} 
[2026-09-05 08:37:11] local.INFO: Extracted packet for processing {"connection_id":171342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f88"} 
[2026-09-05 08:37:11] local.INFO: GPS Element Parsed {"raw_longitude":755788736,"raw_latitude":117699944,"longitude_deg":75.5788736,"latitude_deg":11.7699944,"altitude":2,"angle":54,"satellites":9,"speed":31,"hex_longitude":"2d0c6bc0","hex_latitude":"0703f568","is_valid_coordinates":true} 
[2026-09-05 08:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875860224001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30244378014384128,"note":"Value kept but may cause issues"} 
[2026-09-05 08:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":889953537745072128,"note":"Value kept but may cause issues"} 
[2026-09-05 08:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788577586000,"timestamp_ms":1788577586000,"timestamp_seconds":1788577586,"priority":1,"record_length":96,"hex_timestamp":"000001a06f881b50"} 
[2026-09-05 08:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:37: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-09-05 08:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 08:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.203.178","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 08:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 08:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875860224001,"66":14580,"21":206,"28":32256,"24":31,"16":30244378014384128,"45":889953537745072128},"client_ip":"117.225.203.178","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-09-05 08:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 08:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 08:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875860224001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:37:11] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-05 08:37:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-05 08:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30244378014384128,"km_value":30244378014384.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":889953537745072128,"description":"Unknown IO ID 45"} 
[2026-09-05 08:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875860224001,"power":14580,"unknown_21":206,"unknown_28":32256,"ignition":31,"odometer":null,"unknown_45":889953537745072128}} 
[2026-09-05 08:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":171342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767485,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:37:11] local.INFO: GPS data processed {"connection_id":171342,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:37:11] local.INFO: Acknowledgment sent {"connection_id":171342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:37:30] local.INFO: TCP Data received {"connection_id":171631,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171631,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:37:30] local.INFO: Processing buffer {"connection_id":171631,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:37:30] local.INFO: IMEI packet received {"connection_id":171631,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":171631,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:37:34] local.INFO: TCP Data received {"connection_id":171631,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171631,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:37:34] local.INFO: Processing buffer {"connection_id":171631,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:37:34] local.INFO: IMEI packet received {"connection_id":171631,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":171631,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:37:34] local.INFO: TCP Data received {"connection_id":171631,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f8888b0012d7c8b0005e9b208000400ac23..."} 
[2026-09-05 08:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f8888b0012d7c8b0005e9b208000400ac23..."} 
[2026-09-05 08:37:34] local.INFO: Processing buffer {"connection_id":171631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f8888b0012d7c8b0005e9b208000400ac23..."} 
[2026-09-05 08:37:34] local.INFO: Packet analysis {"connection_id":171631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f88"} 
[2026-09-05 08:37:34] local.INFO: Extracted packet for processing {"connection_id":171631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f88"} 
[2026-09-05 08:37:34] local.INFO: GPS Element Parsed {"raw_longitude":763136768,"raw_latitude":99201544,"longitude_deg":76.3136768,"latitude_deg":9.9201544,"altitude":4,"angle":172,"satellites":35,"speed":1,"hex_longitude":"2d7c8b00","hex_latitude":"05e9b208","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875866880001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128445506702540800,"note":"Value kept but may cause issues"} 
[2026-09-05 08:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974055601628993536,"note":"Value kept but may cause issues"} 
[2026-09-05 08:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788577614000,"timestamp_ms":1788577614000,"timestamp_seconds":1788577614,"priority":1,"record_length":96,"hex_timestamp":"000001a06f8888b0"} 
[2026-09-05 08:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:37: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-09-05 08:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-05 08:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630420,"note":"Value kept but may cause issues"} 
[2026-09-05 08:37:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 08:37:34] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634789368977088,"note":"Value kept but may cause issues"} 
[2026-09-05 08:37:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-4011454924243075072,"note":"Value kept but may cause issues"} 
[2026-09-05 08:37:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 08:37:34] local.WARNING: Large IO value detected {"io_id":111,"raw_value":2286819329,"note":"Value kept but may cause issues"} 
[2026-09-05 08:37:34] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3025666052,"note":"Value kept but may cause issues"} 
[2026-09-05 08:37:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455423694,"corrected_to":0} 
[2026-09-05 08:37:34] local.WARNING: Large IO value detected {"io_id":52,"raw_value":6773639612037385815,"note":"Value kept but may cause issues"} 
[2026-09-05 08:37:34] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-05 08:37:34] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1417150464,"corrected_to":0} 
[2026-09-05 08:37:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3920984064,"note":"Value kept but may cause issues"} 
[2026-09-05 08:37:34] local.WARNING: Large IO value detected {"io_id":124,"raw_value":-8376688805581160444,"note":"Value kept but may cause issues"} 
[2026-09-05 08:37:34] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755412326088945,"note":"Value kept but may cause issues"} 
[2026-09-05 08:37:34] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,192,87,24,241,157,16,84,160,93,45,179,4,34,10,66,89,85,1,240,138,227,111,233,113,205,3,74,176,36,239,52,2,200,5,124,54],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1455423694,"validated":0},{"io_id":200,"original":1417150464,"validated":0}]} 
[2026-09-05 08:37:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288399846971342848,"timestamp_seconds":288399846971342.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 08:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875866880001,"66":13656,"192":206,"87":13824,"24":1,"16":128445506702540800,"45":8974055601628993536},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-05 08:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875866880001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:37:34] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-05 08:37:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128445506702540800,"km_value":128445506702540.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974055601628993536,"description":"Unknown IO ID 45"} 
[2026-09-05 08:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875866880001,"power":13656,"unknown_192":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8974055601628993536}} 
[2026-09-05 08:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":171631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767486,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:37:34] local.INFO: GPS data processed {"connection_id":171631,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:37:34] local.INFO: Acknowledgment sent {"connection_id":171631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:37:43] local.INFO: TCP Data received {"connection_id":171342,"ip":"117.225.203.178","data_length":795,"data_hex":"000000000000030f8e0a000001a06f884648012d0c8ac007040c980003003809..."} 
[2026-09-05 08:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f884648012d0c8ac007040c980003003809..."} 
[2026-09-05 08:37:43] local.INFO: Processing buffer {"connection_id":171342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f884648012d0c8ac007040c980003003809..."} 
[2026-09-05 08:37:43] local.INFO: Packet analysis {"connection_id":171342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f88"} 
[2026-09-05 08:37:43] local.INFO: Extracted packet for processing {"connection_id":171342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f88"} 
[2026-09-05 08:37:43] local.INFO: GPS Element Parsed {"raw_longitude":755796672,"raw_latitude":117705880,"longitude_deg":75.5796672,"latitude_deg":11.770588,"altitude":3,"angle":56,"satellites":9,"speed":37,"hex_longitude":"2d0c8ac0","hex_latitude":"07040c98","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875862016001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30244854755753984,"note":"Value kept but may cause issues"} 
[2026-09-05 08:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895020087326894080,"note":"Value kept but may cause issues"} 
[2026-09-05 08:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788577597000,"timestamp_ms":1788577597000,"timestamp_seconds":1788577597,"priority":1,"record_length":96,"hex_timestamp":"000001a06f884648"} 
[2026-09-05 08:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-05 08:37:43] 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-09-05 08: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-09-05 08:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":171342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":171342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":171342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.203.178","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 08:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 08:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875862016001,"66":14461,"21":206,"28":32256,"24":37,"16":30244854755753984,"45":895020087326894080},"client_ip":"117.225.203.178","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-09-05 08:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 08:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 08:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875862016001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:37:43] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-05 08:37:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-05 08:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30244854755753984,"km_value":30244854755753.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":895020087326894080,"description":"Unknown IO ID 45"} 
[2026-09-05 08:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875862016001,"power":14461,"unknown_21":206,"unknown_28":32256,"ignition":37,"odometer":null,"unknown_45":895020087326894080}} 
[2026-09-05 08:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":171342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767487,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:37:43] local.INFO: GPS data processed {"connection_id":171342,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:37:43] local.INFO: Acknowledgment sent {"connection_id":171342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:38:06] local.INFO: TCP Data received {"connection_id":171631,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f896f28012d7ccf8005e9b6300002007823..."} 
[2026-09-05 08:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f896f28012d7ccf8005e9b6300002007823..."} 
[2026-09-05 08:38:06] local.INFO: Processing buffer {"connection_id":171631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f896f28012d7ccf8005e9b6300002007823..."} 
[2026-09-05 08:38:06] local.INFO: Packet analysis {"connection_id":171631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f89"} 
[2026-09-05 08:38:06] local.INFO: Extracted packet for processing {"connection_id":171631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f89"} 
[2026-09-05 08:38:06] local.INFO: GPS Element Parsed {"raw_longitude":763154304,"raw_latitude":99202608,"longitude_deg":76.3154304,"latitude_deg":9.9202608,"altitude":2,"angle":120,"satellites":35,"speed":12,"hex_longitude":"2d7ccf80","hex_latitude":"05e9b630","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875884032001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128446511724888064,"note":"Value kept but may cause issues"} 
[2026-09-05 08:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993195900045547520,"note":"Value kept but may cause issues"} 
[2026-09-05 08:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788577673000,"timestamp_ms":1788577673000,"timestamp_seconds":1788577673,"priority":1,"record_length":96,"hex_timestamp":"000001a06f896f28"} 
[2026-09-05 08:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-05 08:38: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-09-05 08: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-09-05 08:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875884032001,"66":13678,"192":206,"87":13824,"24":12,"16":128446511724888064,"45":8993195900045547520},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-05 08:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875884032001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:38:06] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-05 08:38:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128446511724888064,"km_value":128446511724888.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993195900045547520,"description":"Unknown IO ID 45"} 
[2026-09-05 08:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875884032001,"power":13678,"unknown_192":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8993195900045547520}} 
[2026-09-05 08:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":171631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767488,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:38:06] local.INFO: GPS data processed {"connection_id":171631,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:38:06] local.INFO: Acknowledgment sent {"connection_id":171631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:38:12] local.INFO: TCP Data received {"connection_id":171632,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:38:12] local.INFO: Processing buffer {"connection_id":171632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:38:12] local.INFO: IMEI packet received {"connection_id":171632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":171632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:38:21] local.INFO: TCP Data received {"connection_id":174047,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:38:21] local.INFO: Processing buffer {"connection_id":174047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:38:21] local.INFO: IMEI packet received {"connection_id":174047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":174047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:38:22] local.INFO: TCP Data received {"connection_id":174047,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:38:22] local.INFO: Processing buffer {"connection_id":174047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:38:22] local.INFO: IMEI packet received {"connection_id":174047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":174047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:38:23] local.INFO: TCP Data received {"connection_id":174047,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:38:23] local.INFO: Processing buffer {"connection_id":174047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:38:23] local.INFO: IMEI packet received {"connection_id":174047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":174047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:38:24] local.INFO: TCP Data received {"connection_id":171632,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f879e50012d4c4640068b00b8003f00632a..."} 
[2026-09-05 08:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f879e50012d4c4640068b00b8003f00632a..."} 
[2026-09-05 08:38:24] local.INFO: Processing buffer {"connection_id":171632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f879e50012d4c4640068b00b8003f00632a..."} 
[2026-09-05 08:38:24] local.INFO: Packet analysis {"connection_id":171632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f87"} 
[2026-09-05 08:38:24] local.INFO: Extracted packet for processing {"connection_id":171632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f87"} 
[2026-09-05 08:38:24] local.INFO: GPS Element Parsed {"raw_longitude":759973440,"raw_latitude":109772984,"longitude_deg":75.997344,"latitude_deg":10.9772984,"altitude":63,"angle":99,"satellites":42,"speed":36,"hex_longitude":"2d4c4640","hex_latitude":"068b00b8","is_valid_coordinates":true} 
[2026-09-05 08:38: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-09-05 08:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875851264001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399186187614420992,"note":"Value kept but may cause issues"} 
[2026-09-05 08:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5486088061681301504,"note":"Value kept but may cause issues"} 
[2026-09-05 08:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788577554000,"timestamp_ms":1788577554000,"timestamp_seconds":1788577554,"priority":1,"record_length":96,"hex_timestamp":"000001a06f879e50"} 
[2026-09-05 08:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:38: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-09-05 08:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 08:38:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:38: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-09-05 08:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875851264001,"66":27767,"187":206,"86":48896,"24":36,"16":399186187614420992,"45":5486088061681301504},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-09-05 08:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875851264001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:38:24] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-05 08:38:24] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-05 08:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399186187614420992,"km_value":399186187614421.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5486088061681301504,"description":"Unknown IO ID 45"} 
[2026-09-05 08:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875851264001,"power":27767,"unknown_187":206,"unknown_86":48896,"ignition":36,"odometer":null,"unknown_45":5486088061681301504}} 
[2026-09-05 08:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":171632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:38:24] local.INFO: GPS data processed {"connection_id":171632,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:38:24] local.INFO: Acknowledgment sent {"connection_id":171632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:38:24] local.INFO: TCP Data received {"connection_id":174047,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:38:24] local.INFO: Processing buffer {"connection_id":174047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:38:24] local.INFO: IMEI packet received {"connection_id":174047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":174047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:38:44] local.INFO: TCP Data received {"connection_id":171633,"ip":"117.225.203.178","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171633,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:38:44] local.INFO: Processing buffer {"connection_id":171633,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:38:44] local.INFO: IMEI packet received {"connection_id":171633,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 08:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":171633,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:38:45] local.INFO: TCP Data received {"connection_id":171633,"ip":"117.225.203.178","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171633,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:38:45] local.INFO: Processing buffer {"connection_id":171633,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:38:45] local.INFO: IMEI packet received {"connection_id":171633,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 08:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":171633,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:38:55] local.INFO: TCP Data received {"connection_id":171343,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:38:55] local.INFO: Processing buffer {"connection_id":171343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:38:55] local.INFO: IMEI packet received {"connection_id":171343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":171343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:38:57] local.INFO: TCP Data received {"connection_id":171343,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:38:57] local.INFO: Processing buffer {"connection_id":171343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:38:57] local.INFO: IMEI packet received {"connection_id":171343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":171343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:39:31] local.INFO: TCP Data received {"connection_id":171343,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:39:31] local.INFO: Processing buffer {"connection_id":171343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:39:31] local.INFO: IMEI packet received {"connection_id":171343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":171343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:39:33] local.INFO: TCP Data received {"connection_id":171343,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:39:33] local.INFO: Processing buffer {"connection_id":171343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:39:33] local.INFO: IMEI packet received {"connection_id":171343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":171343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:39:33] local.INFO: TCP Data received {"connection_id":171343,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f897310012d4ddfc0068a85a0006a007f2b..."} 
[2026-09-05 08:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f897310012d4ddfc0068a85a0006a007f2b..."} 
[2026-09-05 08:39:33] local.INFO: Processing buffer {"connection_id":171343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f897310012d4ddfc0068a85a0006a007f2b..."} 
[2026-09-05 08:39:33] local.INFO: Packet analysis {"connection_id":171343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f89"} 
[2026-09-05 08:39:33] local.INFO: Extracted packet for processing {"connection_id":171343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f89"} 
[2026-09-05 08:39:33] local.INFO: GPS Element Parsed {"raw_longitude":760078272,"raw_latitude":109741472,"longitude_deg":76.0078272,"latitude_deg":10.9741472,"altitude":106,"angle":127,"satellites":43,"speed":43,"hex_longitude":"2d4ddfc0","hex_latitude":"068a85a0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875882240001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399191526258769920,"note":"Value kept but may cause issues"} 
[2026-09-05 08:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5603181651986114560,"note":"Value kept but may cause issues"} 
[2026-09-05 08:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788577674000,"timestamp_ms":1788577674000,"timestamp_seconds":1788577674,"priority":1,"record_length":96,"hex_timestamp":"000001a06f897310"} 
[2026-09-05 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-09-05 08:39: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-09-05 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 08:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 08:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:39: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-09-05 08:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875882240001,"66":28017,"8":206,"86":48896,"24":43,"16":399191526258769920,"45":5603181651986114560},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,86,24,16,45]} 
[2026-09-05 08:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875882240001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:39:33] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-05 08:39:33] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-05 08:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399191526258769920,"km_value":399191526258769.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5603181651986114560,"description":"Unknown IO ID 45"} 
[2026-09-05 08:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875882240001,"power":28017,"unknown_8":206,"unknown_86":48896,"ignition":43,"odometer":null,"unknown_45":5603181651986114560}} 
[2026-09-05 08:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":171343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:39:33] local.INFO: GPS data processed {"connection_id":171343,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:39:33] local.INFO: Acknowledgment sent {"connection_id":171343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:39:34] local.INFO: TCP Data received {"connection_id":171343,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f899250012d4df9c0068a6d00006c008c1b..."} 
[2026-09-05 08:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f899250012d4df9c0068a6d00006c008c1b..."} 
[2026-09-05 08:39:34] local.INFO: Processing buffer {"connection_id":171343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f899250012d4df9c0068a6d00006c008c1b..."} 
[2026-09-05 08:39:34] local.INFO: Packet analysis {"connection_id":171343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f89"} 
[2026-09-05 08:39:34] local.INFO: Extracted packet for processing {"connection_id":171343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f89"} 
[2026-09-05 08:39:34] local.INFO: GPS Element Parsed {"raw_longitude":760084928,"raw_latitude":109735168,"longitude_deg":76.0084928,"latitude_deg":10.9735168,"altitude":108,"angle":140,"satellites":27,"speed":46,"hex_longitude":"2d4df9c0","hex_latitude":"068a6d00","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875884544001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399191968640401408,"note":"Value kept but may cause issues"} 
[2026-09-05 08:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5611414795053277184,"note":"Value kept but may cause issues"} 
[2026-09-05 08:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788577682000,"timestamp_ms":1788577682000,"timestamp_seconds":1788577682,"priority":1,"record_length":96,"hex_timestamp":"000001a06f899250"} 
[2026-09-05 08:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-05 08:39:34] 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-09-05 08: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-09-05 08:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875884544001,"66":27908,"8":206,"86":48896,"24":46,"16":399191968640401408,"45":5611414795053277184},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,86,24,16,45]} 
[2026-09-05 08:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875884544001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:39:34] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-05 08:39:34] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-05 08:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399191968640401408,"km_value":399191968640401.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5611414795053277184,"description":"Unknown IO ID 45"} 
[2026-09-05 08:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875884544001,"power":27908,"unknown_8":206,"unknown_86":48896,"ignition":46,"odometer":null,"unknown_45":5611414795053277184}} 
[2026-09-05 08:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":171343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:39:34] local.INFO: GPS data processed {"connection_id":171343,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:39:34] local.INFO: Acknowledgment sent {"connection_id":171343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:39:56] local.INFO: TCP Data received {"connection_id":171634,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:39:56] local.INFO: Processing buffer {"connection_id":171634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:39:56] local.INFO: IMEI packet received {"connection_id":171634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":171634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:39:56] local.INFO: TCP Data received {"connection_id":171634,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:39:56] local.INFO: Processing buffer {"connection_id":171634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:39:56] local.INFO: IMEI packet received {"connection_id":171634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":171634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:40:01] local.INFO: TCP Data received {"connection_id":171634,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:40:01] local.INFO: Processing buffer {"connection_id":171634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:40:01] local.INFO: IMEI packet received {"connection_id":171634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":171634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:40:02] local.INFO: TCP Data received {"connection_id":171634,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f8a6d10012d4de5c0068925e0005c00b32b..."} 
[2026-09-05 08:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f8a6d10012d4de5c0068925e0005c00b32b..."} 
[2026-09-05 08:40:02] local.INFO: Processing buffer {"connection_id":171634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f8a6d10012d4de5c0068925e0005c00b32b..."} 
[2026-09-05 08:40:02] local.INFO: Packet analysis {"connection_id":171634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f8a"} 
[2026-09-05 08:40:02] local.INFO: Extracted packet for processing {"connection_id":171634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f8a"} 
[2026-09-05 08:40:02] local.INFO: GPS Element Parsed {"raw_longitude":760079808,"raw_latitude":109651424,"longitude_deg":76.0079808,"latitude_deg":10.9651424,"altitude":92,"angle":179,"satellites":43,"speed":70,"hex_longitude":"2d4de5c0","hex_latitude":"068925e0","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875899648001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399196147643580416,"note":"Value kept but may cause issues"} 
[2026-09-05 08:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5614018438567041024,"note":"Value kept but may cause issues"} 
[2026-09-05 08:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788577738000,"timestamp_ms":1788577738000,"timestamp_seconds":1788577738,"priority":1,"record_length":96,"hex_timestamp":"000001a06f8a6d10"} 
[2026-09-05 08:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:40: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-09-05 08:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 08:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:40: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-09-05 08:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875899648001,"66":27865,"237":206,"86":48896,"24":70,"16":399196147643580416,"45":5614018438567041024},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-09-05 08:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875899648001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:40:02] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-05 08:40:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-05 08:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399196147643580416,"km_value":399196147643580.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5614018438567041024,"description":"Unknown IO ID 45"} 
[2026-09-05 08:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875899648001,"power":27865,"unknown_237":206,"unknown_86":48896,"ignition":70,"odometer":null,"unknown_45":5614018438567041024}} 
[2026-09-05 08:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":171634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:40:02] local.INFO: GPS data processed {"connection_id":171634,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:40:02] local.INFO: Acknowledgment sent {"connection_id":171634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:40:32] local.INFO: TCP Data received {"connection_id":171634,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f8a8098012d4de80006890338005900ad2c..."} 
[2026-09-05 08:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f8a8098012d4de80006890338005900ad2c..."} 
[2026-09-05 08:40:32] local.INFO: Processing buffer {"connection_id":171634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f8a8098012d4de80006890338005900ad2c..."} 
[2026-09-05 08:40:32] local.INFO: Packet analysis {"connection_id":171634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f8a"} 
[2026-09-05 08:40:32] local.INFO: Extracted packet for processing {"connection_id":171634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f8a"} 
[2026-09-05 08:40:32] local.INFO: GPS Element Parsed {"raw_longitude":760080384,"raw_latitude":109642552,"longitude_deg":76.0080384,"latitude_deg":10.9642552,"altitude":89,"angle":173,"satellites":44,"speed":71,"hex_longitude":"2d4de800","hex_latitude":"06890338","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875900928001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399196577140310016,"note":"Value kept but may cause issues"} 
[2026-09-05 08:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5613103644890488832,"note":"Value kept but may cause issues"} 
[2026-09-05 08:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788577743000,"timestamp_ms":1788577743000,"timestamp_seconds":1788577743,"priority":1,"record_length":96,"hex_timestamp":"000001a06f8a8098"} 
[2026-09-05 08:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:40: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-09-05 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 08:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:40: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-09-05 08:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875900928001,"66":27832,"237":206,"86":48896,"24":71,"16":399196577140310016,"45":5613103644890488832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-09-05 08:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875900928001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:40:32] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-05 08:40:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-05 08:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399196577140310016,"km_value":399196577140310.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5613103644890488832,"description":"Unknown IO ID 45"} 
[2026-09-05 08:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875900928001,"power":27832,"unknown_237":206,"unknown_86":48896,"ignition":71,"odometer":null,"unknown_45":5613103644890488832}} 
[2026-09-05 08:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":171634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:40:32] local.INFO: GPS data processed {"connection_id":171634,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:40:32] local.INFO: Acknowledgment sent {"connection_id":171634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:40:41] local.INFO: TCP Data received {"connection_id":172742,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172742,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:40:41] local.INFO: Processing buffer {"connection_id":172742,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:40:41] local.INFO: IMEI packet received {"connection_id":172742,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 08:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":172742,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:40:46] local.INFO: TCP Data received {"connection_id":172742,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172742,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:40:46] local.INFO: Processing buffer {"connection_id":172742,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:40:46] local.INFO: IMEI packet received {"connection_id":172742,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 08:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":172742,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:40:46] local.INFO: TCP Data received {"connection_id":172742,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f8b99d8012d0cd2400705b640001d00510d..."} 
[2026-09-05 08:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f8b99d8012d0cd2400705b640001d00510d..."} 
[2026-09-05 08:40:46] local.INFO: Processing buffer {"connection_id":172742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f8b99d8012d0cd2400705b640001d00510d..."} 
[2026-09-05 08:40:46] local.INFO: Packet analysis {"connection_id":172742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f8b"} 
[2026-09-05 08:40:46] local.INFO: Extracted packet for processing {"connection_id":172742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f8b"} 
[2026-09-05 08:40:46] local.INFO: GPS Element Parsed {"raw_longitude":755814976,"raw_latitude":117814848,"longitude_deg":75.5814976,"latitude_deg":11.7814848,"altitude":29,"angle":81,"satellites":13,"speed":38,"hex_longitude":"2d0cd240","hex_latitude":"0705b640","is_valid_coordinates":true} 
[2026-09-05 08:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875919616001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30252306524012544,"note":"Value kept but may cause issues"} 
[2026-09-05 08:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":920000991539329024,"note":"Value kept but may cause issues"} 
[2026-09-05 08:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788577815000,"timestamp_ms":1788577815000,"timestamp_seconds":1788577815,"priority":1,"record_length":96,"hex_timestamp":"000001a06f8b99d8"} 
[2026-09-05 08:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-05 08:40:46] 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-09-05 08:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172742,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172742,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 08:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 08:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875919616001,"66":14559,"167":206,"94":11008,"24":38,"16":30252306524012544,"45":920000991539329024},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-05 08:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 08:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 08:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875919616001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:40:46] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-05 08:40:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 08:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30252306524012544,"km_value":30252306524012.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":920000991539329024,"description":"Unknown IO ID 45"} 
[2026-09-05 08:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875919616001,"power":14559,"unknown_167":206,"unknown_94":11008,"ignition":38,"odometer":null,"unknown_45":920000991539329024}} 
[2026-09-05 08:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":172742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767494,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:40:46] local.INFO: GPS data processed {"connection_id":172742,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:40:46] local.INFO: Acknowledgment sent {"connection_id":172742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:40:56] local.INFO: TCP Data received {"connection_id":172743,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:40:56] local.INFO: Processing buffer {"connection_id":172743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:40:56] local.INFO: IMEI packet received {"connection_id":172743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":172743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:40:58] local.INFO: TCP Data received {"connection_id":172743,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:40:58] local.INFO: Processing buffer {"connection_id":172743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:40:58] local.INFO: IMEI packet received {"connection_id":172743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":172743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:41:02] local.INFO: TCP Data received {"connection_id":172743,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:41:02] local.INFO: Processing buffer {"connection_id":172743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:41:02] local.INFO: IMEI packet received {"connection_id":172743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":172743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:41:03] local.INFO: TCP Data received {"connection_id":172743,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f8a9420012d4dec800688e078005600ac2b..."} 
[2026-09-05 08:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f8a9420012d4dec800688e078005600ac2b..."} 
[2026-09-05 08:41:03] local.INFO: Processing buffer {"connection_id":172743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f8a9420012d4dec800688e078005600ac2b..."} 
[2026-09-05 08:41:03] local.INFO: Packet analysis {"connection_id":172743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f8a"} 
[2026-09-05 08:41:03] local.INFO: Extracted packet for processing {"connection_id":172743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f8a"} 
[2026-09-05 08:41:03] local.INFO: GPS Element Parsed {"raw_longitude":760081536,"raw_latitude":109633656,"longitude_deg":76.0081536,"latitude_deg":10.9633656,"altitude":86,"angle":172,"satellites":43,"speed":71,"hex_longitude":"2d4dec80","hex_latitude":"0688e078","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875902208001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399197010932006912,"note":"Value kept but may cause issues"} 
[2026-09-05 08:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5613736963585816576,"note":"Value kept but may cause issues"} 
[2026-09-05 08:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788577748000,"timestamp_ms":1788577748000,"timestamp_seconds":1788577748,"priority":1,"record_length":96,"hex_timestamp":"000001a06f8a9420"} 
[2026-09-05 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-09-05 08:41: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-09-05 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 08:41:03] 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-09-05 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-09-05 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-09-05 08:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:41: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-09-05 08:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875902208001,"66":27800,"237":206,"86":48896,"24":71,"16":399197010932006912,"45":5613736963585816576},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-09-05 08:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875902208001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:41:03] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-05 08:41:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-05 08:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399197010932006912,"km_value":399197010932006.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5613736963585816576,"description":"Unknown IO ID 45"} 
[2026-09-05 08:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875902208001,"power":27800,"unknown_237":206,"unknown_86":48896,"ignition":71,"odometer":null,"unknown_45":5613736963585816576}} 
[2026-09-05 08:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":172743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:41:03] local.INFO: GPS data processed {"connection_id":172743,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:41:03] local.INFO: Acknowledgment sent {"connection_id":172743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:41:09] local.INFO: TCP Data received {"connection_id":171635,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171635,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:41:09] local.INFO: Processing buffer {"connection_id":171635,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:41:09] local.INFO: IMEI packet received {"connection_id":171635,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 08:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":171635,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:41:10] local.INFO: TCP Data received {"connection_id":171635,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171635,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:41:10] local.INFO: Processing buffer {"connection_id":171635,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:41:10] local.INFO: IMEI packet received {"connection_id":171635,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 08:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":171635,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:41:11] local.INFO: TCP Data received {"connection_id":171635,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171635,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:41:11] local.INFO: Processing buffer {"connection_id":171635,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:41:11] local.INFO: IMEI packet received {"connection_id":171635,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 08:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":171635,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:41:11] local.INFO: TCP Data received {"connection_id":171635,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171635,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:41:11] local.INFO: Processing buffer {"connection_id":171635,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:41:11] local.INFO: IMEI packet received {"connection_id":171635,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 08:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":171635,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:41:33] local.INFO: TCP Data received {"connection_id":172743,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f8bebe0012d4d9b4006870770006900c22a..."} 
[2026-09-05 08:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f8bebe0012d4d9b4006870770006900c22a..."} 
[2026-09-05 08:41:33] local.INFO: Processing buffer {"connection_id":172743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f8bebe0012d4d9b4006870770006900c22a..."} 
[2026-09-05 08:41:33] local.INFO: Packet analysis {"connection_id":172743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f8b"} 
[2026-09-05 08:41:33] local.INFO: Extracted packet for processing {"connection_id":172743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f8b"} 
[2026-09-05 08:41:33] local.INFO: GPS Element Parsed {"raw_longitude":760060736,"raw_latitude":109512560,"longitude_deg":76.0060736,"latitude_deg":10.951256,"altitude":105,"angle":194,"satellites":42,"speed":47,"hex_longitude":"2d4d9b40","hex_latitude":"06870770","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875923968001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399203028181188608,"note":"Value kept but may cause issues"} 
[2026-09-05 08:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5594737402626932736,"note":"Value kept but may cause issues"} 
[2026-09-05 08:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788577836000,"timestamp_ms":1788577836000,"timestamp_seconds":1788577836,"priority":1,"record_length":96,"hex_timestamp":"000001a06f8bebe0"} 
[2026-09-05 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-09-05 08:41: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-09-05 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 08:41:33] 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-09-05 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-09-05 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-09-05 08:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08: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-09-05 08:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875923968001,"66":27365,"239":206,"86":48896,"24":47,"16":399203028181188608,"45":5594737402626932736},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,86,24,16,45]} 
[2026-09-05 08:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875923968001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:41:33] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-05 08:41:33] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-05 08:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399203028181188608,"km_value":399203028181188.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5594737402626932736,"description":"Unknown IO ID 45"} 
[2026-09-05 08:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875923968001,"power":27365,"unknown_239":206,"unknown_86":48896,"ignition":47,"odometer":null,"unknown_45":5594737402626932736}} 
[2026-09-05 08:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":172743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:41:33] local.INFO: GPS data processed {"connection_id":172743,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:41:33] local.INFO: Acknowledgment sent {"connection_id":172743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:42:05] local.INFO: TCP Data received {"connection_id":171636,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:42:05] local.INFO: Processing buffer {"connection_id":171636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:42:05] local.INFO: IMEI packet received {"connection_id":171636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":171636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:42:06] local.INFO: TCP Data received {"connection_id":171636,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:42:06] local.INFO: Processing buffer {"connection_id":171636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:42:06] local.INFO: IMEI packet received {"connection_id":171636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":171636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:42:06] local.INFO: TCP Data received {"connection_id":171636,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:42:06] local.INFO: Processing buffer {"connection_id":171636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:42:06] local.INFO: IMEI packet received {"connection_id":171636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":171636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:42:07] local.INFO: TCP Data received {"connection_id":171636,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f8c0b20012d4d92000686e348006c00c229..."} 
[2026-09-05 08:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f8c0b20012d4d92000686e348006c00c229..."} 
[2026-09-05 08:42:07] local.INFO: Processing buffer {"connection_id":171636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f8c0b20012d4d92000686e348006c00c229..."} 
[2026-09-05 08:42:07] local.INFO: Packet analysis {"connection_id":171636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f8c"} 
[2026-09-05 08:42:07] local.INFO: Extracted packet for processing {"connection_id":171636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f8c"} 
[2026-09-05 08:42:07] local.INFO: GPS Element Parsed {"raw_longitude":760058368,"raw_latitude":109503304,"longitude_deg":76.0058368,"latitude_deg":10.9503304,"altitude":108,"angle":194,"satellites":41,"speed":47,"hex_longitude":"2d4d9200","hex_latitude":"0686e348","is_valid_coordinates":true} 
[2026-09-05 08:42: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-09-05 08:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875926016001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399203492037656576,"note":"Value kept but may cause issues"} 
[2026-09-05 08:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5592133759089995776,"note":"Value kept but may cause issues"} 
[2026-09-05 08:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788577844000,"timestamp_ms":1788577844000,"timestamp_seconds":1788577844,"priority":1,"record_length":96,"hex_timestamp":"000001a06f8c0b20"} 
[2026-09-05 08:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:42: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-09-05 08:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-05 08:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:42: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-09-05 08:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875926016001,"66":27865,"239":206,"86":48896,"24":47,"16":399203492037656576,"45":5592133759089995776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,86,24,16,45]} 
[2026-09-05 08:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875926016001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:42:07] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-05 08:42:07] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-05 08:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399203492037656576,"km_value":399203492037656.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5592133759089995776,"description":"Unknown IO ID 45"} 
[2026-09-05 08:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875926016001,"power":27865,"unknown_239":206,"unknown_86":48896,"ignition":47,"odometer":null,"unknown_45":5592133759089995776}} 
[2026-09-05 08:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":171636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:42:07] local.INFO: GPS data processed {"connection_id":171636,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:42:07] local.INFO: Acknowledgment sent {"connection_id":171636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:42:11] local.INFO: TCP Data received {"connection_id":171636,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f8c2a60012d4d88800686bf60006e00c229..."} 
[2026-09-05 08:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f8c2a60012d4d88800686bf60006e00c229..."} 
[2026-09-05 08:42:11] local.INFO: Processing buffer {"connection_id":171636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f8c2a60012d4d88800686bf60006e00c229..."} 
[2026-09-05 08:42:11] local.INFO: Packet analysis {"connection_id":171636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f8c"} 
[2026-09-05 08:42:11] local.INFO: Extracted packet for processing {"connection_id":171636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f8c"} 
[2026-09-05 08:42:11] local.INFO: GPS Element Parsed {"raw_longitude":760055936,"raw_latitude":109494112,"longitude_deg":76.0055936,"latitude_deg":10.9494112,"altitude":110,"angle":194,"satellites":41,"speed":47,"hex_longitude":"2d4d8880","hex_latitude":"0686bf60","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875928064001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399203951599157248,"note":"Value kept but may cause issues"} 
[2026-09-05 08:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5589530115553052672,"note":"Value kept but may cause issues"} 
[2026-09-05 08:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788577852000,"timestamp_ms":1788577852000,"timestamp_seconds":1788577852,"priority":1,"record_length":96,"hex_timestamp":"000001a06f8c2a60"} 
[2026-09-05 08:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 08:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875928064001,"66":27821,"239":206,"86":48896,"24":47,"16":399203951599157248,"45":5589530115553052672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,86,24,16,45]} 
[2026-09-05 08:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875928064001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:42:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-05 08:42:11] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-05 08:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399203951599157248,"km_value":399203951599157.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5589530115553052672,"description":"Unknown IO ID 45"} 
[2026-09-05 08:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875928064001,"power":27821,"unknown_239":206,"unknown_86":48896,"ignition":47,"odometer":null,"unknown_45":5589530115553052672}} 
[2026-09-05 08:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":171636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:42:11] local.INFO: GPS data processed {"connection_id":171636,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:42:11] local.INFO: Acknowledgment sent {"connection_id":171636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:42:36] local.INFO: TCP Data received {"connection_id":174050,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174050,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:42:36] local.INFO: Processing buffer {"connection_id":174050,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:42:36] local.INFO: IMEI packet received {"connection_id":174050,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 08:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":174050,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:42:42] local.INFO: TCP Data received {"connection_id":171636,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f8c49a0012d4d7c4006869d00007200ca2a..."} 
[2026-09-05 08:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f8c49a0012d4d7c4006869d00007200ca2a..."} 
[2026-09-05 08:42:42] local.INFO: Processing buffer {"connection_id":171636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f8c49a0012d4d7c4006869d00007200ca2a..."} 
[2026-09-05 08:42:42] local.INFO: Packet analysis {"connection_id":171636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f8c"} 
[2026-09-05 08:42:42] local.INFO: Extracted packet for processing {"connection_id":171636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f8c"} 
[2026-09-05 08:42:42] local.INFO: GPS Element Parsed {"raw_longitude":760052800,"raw_latitude":109485312,"longitude_deg":76.00528,"latitude_deg":10.9485312,"altitude":114,"angle":202,"satellites":42,"speed":45,"hex_longitude":"2d4d7c40","hex_latitude":"06869d00","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875930112001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399204402570723328,"note":"Value kept but may cause issues"} 
[2026-09-05 08:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5586856103271948288,"note":"Value kept but may cause issues"} 
[2026-09-05 08:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788577860000,"timestamp_ms":1788577860000,"timestamp_seconds":1788577860,"priority":1,"record_length":96,"hex_timestamp":"000001a06f8c49a0"} 
[2026-09-05 08:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:42:42] 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-09-05 08: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 08:42:42] 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-09-05 08: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-09-05 08:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":171636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":171636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":171636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:42: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-09-05 08:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875930112001,"66":27919,"239":206,"86":48896,"24":45,"16":399204402570723328,"45":5586856103271948288},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,86,24,16,45]} 
[2026-09-05 08:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875930112001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:42:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-05 08:42:42] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-05 08:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399204402570723328,"km_value":399204402570723.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5586856103271948288,"description":"Unknown IO ID 45"} 
[2026-09-05 08:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875930112001,"power":27919,"unknown_239":206,"unknown_86":48896,"ignition":45,"odometer":null,"unknown_45":5586856103271948288}} 
[2026-09-05 08:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":171636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:42:42] local.INFO: GPS data processed {"connection_id":171636,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:42:42] local.INFO: Acknowledgment sent {"connection_id":171636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:42:57] local.INFO: TCP Data received {"connection_id":171344,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:42:57] local.INFO: Processing buffer {"connection_id":171344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:42:57] local.INFO: IMEI packet received {"connection_id":171344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":171344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:42:57] local.INFO: TCP Data received {"connection_id":171344,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:42:57] local.INFO: Processing buffer {"connection_id":171344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:42:57] local.INFO: IMEI packet received {"connection_id":171344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":171344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:43:02] local.INFO: TCP Data received {"connection_id":171344,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:43:02] local.INFO: Processing buffer {"connection_id":171344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:43:02] local.INFO: IMEI packet received {"connection_id":171344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":171344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:43:03] local.INFO: TCP Data received {"connection_id":171344,"ip":"42.106.6.16","data_length":1348,"data_hex":"000000000000030f8e0a000001a06f8d3bd0012d4cbc0006859c20007200be2b..."} 
[2026-09-05 08:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171344,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a06f8d3bd0012d4cbc0006859c20007200be2b..."} 
[2026-09-05 08:43:03] local.INFO: Processing buffer {"connection_id":171344,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a06f8d3bd0012d4cbc0006859c20007200be2b..."} 
[2026-09-05 08:43:03] local.INFO: Packet analysis {"connection_id":171344,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a06f8d"} 
[2026-09-05 08:43:03] local.INFO: Extracted packet for processing {"connection_id":171344,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a06f8d"} 
[2026-09-05 08:43:03] local.INFO: GPS Element Parsed {"raw_longitude":760003584,"raw_latitude":109419552,"longitude_deg":76.0003584,"latitude_deg":10.9419552,"altitude":114,"angle":190,"satellites":43,"speed":63,"hex_longitude":"2d4cbc00","hex_latitude":"06859c20","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875947008001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399208384005406720,"note":"Value kept but may cause issues"} 
[2026-09-05 08:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5531475901586569216,"note":"Value kept but may cause issues"} 
[2026-09-05 08:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788577922000,"timestamp_ms":1788577922000,"timestamp_seconds":1788577922,"priority":1,"record_length":96,"hex_timestamp":"000001a06f8d3bd0"} 
[2026-09-05 08:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:43: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-09-05 08:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 08:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875947008001,"66":27876,"103":206,"80":60928,"24":63,"16":399208384005406720,"45":5531475901586569216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-09-05 08:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875947008001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:43:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 08:43:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-05 08:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399208384005406720,"km_value":399208384005406.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5531475901586569216,"description":"Unknown IO ID 45"} 
[2026-09-05 08:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875947008001,"power":27876,"unknown_103":206,"unknown_80":60928,"ignition":63,"odometer":null,"unknown_45":5531475901586569216}} 
[2026-09-05 08:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":171344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:43:03] local.INFO: GPS data processed {"connection_id":171344,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:43:03] local.INFO: Acknowledgment sent {"connection_id":171344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:43:03] local.INFO: Packet analysis {"connection_id":171344,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a06f8d"} 
[2026-09-05 08:43:03] local.INFO: Incomplete packet, waiting for more data {"connection_id":171344,"needed":795,"available":553} 
[2026-09-05 08:43:06] local.INFO: TCP Data received {"connection_id":171344,"ip":"42.106.6.16","data_length":242,"data_hex":"000000000001a06f8cc6a0012d4d228006862800007700dc2900340000000a00..."} 
[2026-09-05 08:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171344,"packet_length":242,"packet_hex":"000000000001a06f8cc6a0012d4d228006862800007700dc2900340000000a00..."} 
[2026-09-05 08:43:06] local.INFO: Processing buffer {"connection_id":171344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f8d4788012d4cbac006858978007100b12a..."} 
[2026-09-05 08:43:06] local.INFO: Packet analysis {"connection_id":171344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f8d"} 
[2026-09-05 08:43:06] local.INFO: Extracted packet for processing {"connection_id":171344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f8d"} 
[2026-09-05 08:43:06] local.INFO: GPS Element Parsed {"raw_longitude":760003264,"raw_latitude":109414776,"longitude_deg":76.0003264,"latitude_deg":10.9414776,"altitude":113,"angle":177,"satellites":42,"speed":64,"hex_longitude":"2d4cbac0","hex_latitude":"06858978","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875948032001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399208620228608000,"note":"Value kept but may cause issues"} 
[2026-09-05 08:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5529294470515531776,"note":"Value kept but may cause issues"} 
[2026-09-05 08:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788577925000,"timestamp_ms":1788577925000,"timestamp_seconds":1788577925,"priority":1,"record_length":96,"hex_timestamp":"000001a06f8d4788"} 
[2026-09-05 08:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 08:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875948032001,"66":27919,"103":206,"80":60928,"24":64,"16":399208620228608000,"45":5529294470515531776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-09-05 08:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875948032001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:43:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 08:43:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-05 08:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399208620228608000,"km_value":399208620228608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5529294470515531776,"description":"Unknown IO ID 45"} 
[2026-09-05 08:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875948032001,"power":27919,"unknown_103":206,"unknown_80":60928,"ignition":64,"odometer":null,"unknown_45":5529294470515531776}} 
[2026-09-05 08:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":171344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:43:06] local.INFO: GPS data processed {"connection_id":171344,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:43:06] local.INFO: Acknowledgment sent {"connection_id":171344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:43:07] local.INFO: TCP Data received {"connection_id":171344,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f8d5340012d4cbd80068576b0006f00a52c..."} 
[2026-09-05 08:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f8d5340012d4cbd80068576b0006f00a52c..."} 
[2026-09-05 08:43:07] local.INFO: Processing buffer {"connection_id":171344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f8d5340012d4cbd80068576b0006f00a52c..."} 
[2026-09-05 08:43:07] local.INFO: Packet analysis {"connection_id":171344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f8d"} 
[2026-09-05 08:43:07] local.INFO: Extracted packet for processing {"connection_id":171344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f8d"} 
[2026-09-05 08:43:07] local.INFO: GPS Element Parsed {"raw_longitude":760003968,"raw_latitude":109409968,"longitude_deg":76.0003968,"latitude_deg":10.9409968,"altitude":111,"angle":165,"satellites":44,"speed":65,"hex_longitude":"2d4cbd80","hex_latitude":"068576b0","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875948800001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399208852156841984,"note":"Value kept but may cause issues"} 
[2026-09-05 08:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5528942626793420800,"note":"Value kept but may cause issues"} 
[2026-09-05 08:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788577928000,"timestamp_ms":1788577928000,"timestamp_seconds":1788577928,"priority":1,"record_length":96,"hex_timestamp":"000001a06f8d5340"} 
[2026-09-05 08:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:43: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-09-05 08: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 08:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875948800001,"66":27908,"103":206,"80":60928,"24":65,"16":399208852156841984,"45":5528942626793420800},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-09-05 08:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875948800001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:43:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 08:43:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-05 08:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399208852156841984,"km_value":399208852156842.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5528942626793420800,"description":"Unknown IO ID 45"} 
[2026-09-05 08:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875948800001,"power":27908,"unknown_103":206,"unknown_80":60928,"ignition":65,"odometer":null,"unknown_45":5528942626793420800}} 
[2026-09-05 08:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":171344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:43:07] local.INFO: GPS data processed {"connection_id":171344,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:43:07] local.INFO: Acknowledgment sent {"connection_id":171344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:43:25] local.INFO: TCP Data received {"connection_id":171637,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171637,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:43:25] local.INFO: Processing buffer {"connection_id":171637,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:43:25] local.INFO: IMEI packet received {"connection_id":171637,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":171637,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:43:27] local.INFO: TCP Data received {"connection_id":171637,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171637,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:43:27] local.INFO: Processing buffer {"connection_id":171637,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:43:27] local.INFO: IMEI packet received {"connection_id":171637,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":171637,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:43:31] local.INFO: TCP Data received {"connection_id":171637,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171637,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:43:31] local.INFO: Processing buffer {"connection_id":171637,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:43:31] local.INFO: IMEI packet received {"connection_id":171637,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":171637,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:43:31] local.INFO: TCP Data received {"connection_id":171637,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f8d14c0012d7ce9c005eaebf0000901141f..."} 
[2026-09-05 08:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f8d14c0012d7ce9c005eaebf0000901141f..."} 
[2026-09-05 08:43:31] local.INFO: Processing buffer {"connection_id":171637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f8d14c0012d7ce9c005eaebf0000901141f..."} 
[2026-09-05 08:43:31] local.INFO: Packet analysis {"connection_id":171637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f8d"} 
[2026-09-05 08:43:31] local.INFO: Extracted packet for processing {"connection_id":171637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f8d"} 
[2026-09-05 08:43:31] local.INFO: GPS Element Parsed {"raw_longitude":763161024,"raw_latitude":99281904,"longitude_deg":76.3161024,"latitude_deg":9.9281904,"altitude":9,"angle":276,"satellites":31,"speed":17,"hex_longitude":"2d7ce9c0","hex_latitude":"05eaebf0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875944192001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128452060822634496,"note":"Value kept but may cause issues"} 
[2026-09-05 08:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003258630483273728,"note":"Value kept but may cause issues"} 
[2026-09-05 08:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788577912000,"timestamp_ms":1788577912000,"timestamp_seconds":1788577912,"priority":1,"record_length":96,"hex_timestamp":"000001a06f8d14c0"} 
[2026-09-05 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-09-05 08:43: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-09-05 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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-05 08:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 08:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875944192001,"66":13254,"158":206,"87":13824,"24":17,"16":128452060822634496,"45":9003258630483273728},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-05 08:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875944192001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:43:31] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-05 08:43:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128452060822634496,"km_value":128452060822634.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003258630483273728,"description":"Unknown IO ID 45"} 
[2026-09-05 08:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875944192001,"power":13254,"unknown_158":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":9003258630483273728}} 
[2026-09-05 08:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":171637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:43:31] local.INFO: GPS data processed {"connection_id":171637,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:43:31] local.INFO: Acknowledgment sent {"connection_id":171637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:43:38] local.INFO: TCP Data received {"connection_id":171344,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f8d66c8012d4cc98006855950006e009a2c..."} 
[2026-09-05 08:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f8d66c8012d4cc98006855950006e009a2c..."} 
[2026-09-05 08:43:38] local.INFO: Processing buffer {"connection_id":171344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f8d66c8012d4cc98006855950006e009a2c..."} 
[2026-09-05 08:43:38] local.INFO: Packet analysis {"connection_id":171344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f8d"} 
[2026-09-05 08:43:38] local.INFO: Extracted packet for processing {"connection_id":171344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f8d"} 
[2026-09-05 08:43:38] local.INFO: GPS Element Parsed {"raw_longitude":760007040,"raw_latitude":109402448,"longitude_deg":76.000704,"latitude_deg":10.9402448,"altitude":110,"angle":154,"satellites":44,"speed":64,"hex_longitude":"2d4cc980","hex_latitude":"06855950","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875949568001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399209247293833216,"note":"Value kept but may cause issues"} 
[2026-09-05 08:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5529716682978144256,"note":"Value kept but may cause issues"} 
[2026-09-05 08:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788577933000,"timestamp_ms":1788577933000,"timestamp_seconds":1788577933,"priority":1,"record_length":96,"hex_timestamp":"000001a06f8d66c8"} 
[2026-09-05 08:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:43: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-09-05 08: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 08:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:43: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-09-05 08:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875949568001,"66":27876,"103":206,"80":60928,"24":64,"16":399209247293833216,"45":5529716682978144256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-09-05 08:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875949568001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:43:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 08:43:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-05 08:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399209247293833216,"km_value":399209247293833.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5529716682978144256,"description":"Unknown IO ID 45"} 
[2026-09-05 08:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875949568001,"power":27876,"unknown_103":206,"unknown_80":60928,"ignition":64,"odometer":null,"unknown_45":5529716682978144256}} 
[2026-09-05 08:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":171344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:43:38] local.INFO: GPS data processed {"connection_id":171344,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:43:38] local.INFO: Acknowledgment sent {"connection_id":171344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:43:54] local.INFO: TCP Data received {"connection_id":172746,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:43:54] local.INFO: Processing buffer {"connection_id":172746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:43:54] local.INFO: IMEI packet received {"connection_id":172746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":172746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:43:57] local.INFO: TCP Data received {"connection_id":172746,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:43:57] local.INFO: Processing buffer {"connection_id":172746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:43:57] local.INFO: IMEI packet received {"connection_id":172746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":172746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:44:01] local.INFO: TCP Data received {"connection_id":172746,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:44:01] local.INFO: Processing buffer {"connection_id":172746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:44:01] local.INFO: IMEI packet received {"connection_id":172746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":172746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:44:01] local.INFO: TCP Data received {"connection_id":172746,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f8d7e38012d4cd900068537a0006d009b2c..."} 
[2026-09-05 08:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f8d7e38012d4cd900068537a0006d009b2c..."} 
[2026-09-05 08:44:01] local.INFO: Processing buffer {"connection_id":172746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f8d7e38012d4cd900068537a0006d009b2c..."} 
[2026-09-05 08:44:01] local.INFO: Packet analysis {"connection_id":172746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f8d"} 
[2026-09-05 08:44:01] local.INFO: Extracted packet for processing {"connection_id":172746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f8d"} 
[2026-09-05 08:44:01] local.INFO: GPS Element Parsed {"raw_longitude":760011008,"raw_latitude":109393824,"longitude_deg":76.0011008,"latitude_deg":10.9393824,"altitude":109,"angle":155,"satellites":44,"speed":61,"hex_longitude":"2d4cd900","hex_latitude":"068537a0","is_valid_coordinates":true} 
[2026-09-05 08:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875950848001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399209706855333888,"note":"Value kept but may cause issues"} 
[2026-09-05 08:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5533094382696747008,"note":"Value kept but may cause issues"} 
[2026-09-05 08:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788577939000,"timestamp_ms":1788577939000,"timestamp_seconds":1788577939,"priority":1,"record_length":96,"hex_timestamp":"000001a06f8d7e38"} 
[2026-09-05 08:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 08:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875950848001,"66":27821,"103":206,"80":60928,"24":61,"16":399209706855333888,"45":5533094382696747008},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-09-05 08:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875950848001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:44:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 08:44:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-05 08:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399209706855333888,"km_value":399209706855333.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5533094382696747008,"description":"Unknown IO ID 45"} 
[2026-09-05 08:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875950848001,"power":27821,"unknown_103":206,"unknown_80":60928,"ignition":61,"odometer":null,"unknown_45":5533094382696747008}} 
[2026-09-05 08:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":172746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:44:01] local.INFO: GPS data processed {"connection_id":172746,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:44:01] local.INFO: Acknowledgment sent {"connection_id":172746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:44:03] local.INFO: TCP Data received {"connection_id":171637,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f8eca40012d7c3f0005eac7f00005014f1e..."} 
[2026-09-05 08:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f8eca40012d7c3f0005eac7f00005014f1e..."} 
[2026-09-05 08:44:03] local.INFO: Processing buffer {"connection_id":171637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f8eca40012d7c3f0005eac7f00005014f1e..."} 
[2026-09-05 08:44:03] local.INFO: Packet analysis {"connection_id":171637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f8e"} 
[2026-09-05 08:44:03] local.INFO: Extracted packet for processing {"connection_id":171637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f8e"} 
[2026-09-05 08:44:03] local.INFO: GPS Element Parsed {"raw_longitude":763117312,"raw_latitude":99272688,"longitude_deg":76.3117312,"latitude_deg":9.9272688,"altitude":5,"angle":335,"satellites":30,"speed":8,"hex_longitude":"2d7c3f00","hex_latitude":"05eac7f0","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875973888001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128454238371053568,"note":"Value kept but may cause issues"} 
[2026-09-05 08:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952944978393778176,"note":"Value kept but may cause issues"} 
[2026-09-05 08:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788578024000,"timestamp_ms":1788578024000,"timestamp_seconds":1788578024,"priority":1,"record_length":96,"hex_timestamp":"000001a06f8eca40"} 
[2026-09-05 08:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 08:44:03] 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-09-05 08: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-09-05 08:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875973888001,"66":13906,"10":206,"87":13824,"24":8,"16":128454238371053568,"45":8952944978393778176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-05 08:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875973888001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:44:03] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-05 08:44:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128454238371053568,"km_value":128454238371053.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952944978393778176,"description":"Unknown IO ID 45"} 
[2026-09-05 08:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875973888001,"power":13906,"unknown_10":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8952944978393778176}} 
[2026-09-05 08:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":171637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767506,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:44:03] local.INFO: GPS data processed {"connection_id":171637,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:44:03] local.INFO: Acknowledgment sent {"connection_id":171637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:44:30] local.INFO: TCP Data received {"connection_id":172747,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:44:30] local.INFO: Processing buffer {"connection_id":172747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:44:30] local.INFO: IMEI packet received {"connection_id":172747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":172747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:44:36] local.INFO: TCP Data received {"connection_id":172747,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:44:36] local.INFO: Processing buffer {"connection_id":172747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:44:36] local.INFO: IMEI packet received {"connection_id":172747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":172747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:44:37] local.INFO: TCP Data received {"connection_id":172747,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f8ece28012d7c3f0005eac910000501661f..."} 
[2026-09-05 08:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f8ece28012d7c3f0005eac910000501661f..."} 
[2026-09-05 08:44:37] local.INFO: Processing buffer {"connection_id":172747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f8ece28012d7c3f0005eac910000501661f..."} 
[2026-09-05 08:44:37] local.INFO: Packet analysis {"connection_id":172747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f8e"} 
[2026-09-05 08:44:37] local.INFO: Extracted packet for processing {"connection_id":172747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f8e"} 
[2026-09-05 08:44:37] local.INFO: GPS Element Parsed {"raw_longitude":763117312,"raw_latitude":99272976,"longitude_deg":76.3117312,"latitude_deg":9.9272976,"altitude":5,"angle":358,"satellites":31,"speed":11,"hex_longitude":"2d7c3f00","hex_latitude":"05eac910","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875974144001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128454251255955456,"note":"Value kept but may cause issues"} 
[2026-09-05 08:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952874609649643520,"note":"Value kept but may cause issues"} 
[2026-09-05 08:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788578025000,"timestamp_ms":1788578025000,"timestamp_seconds":1788578025,"priority":1,"record_length":96,"hex_timestamp":"000001a06f8ece28"} 
[2026-09-05 08:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":82,"data_length":795,"current_offset":136} 
[2026-09-05 08:44: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-09-05 08: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-09-05 08:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875974144001,"66":13906,"10":206,"87":13824,"24":11,"16":128454251255955456,"45":8952874609649643520},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-05 08:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875974144001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:44:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-05 08:44:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128454251255955456,"km_value":128454251255955.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952874609649643520,"description":"Unknown IO ID 45"} 
[2026-09-05 08:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875974144001,"power":13906,"unknown_10":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8952874609649643520}} 
[2026-09-05 08:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":172747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767507,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:44:37] local.INFO: GPS data processed {"connection_id":172747,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:44:37] local.INFO: Acknowledgment sent {"connection_id":172747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:44:41] local.INFO: TCP Data received {"connection_id":172746,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f8ebe88012d4e34c0068449780079008429..."} 
[2026-09-05 08:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f8ebe88012d4e34c0068449780079008429..."} 
[2026-09-05 08:44:41] local.INFO: Processing buffer {"connection_id":172746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f8ebe88012d4e34c0068449780079008429..."} 
[2026-09-05 08:44:41] local.INFO: Packet analysis {"connection_id":172746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f8e"} 
[2026-09-05 08:44:41] local.INFO: Extracted packet for processing {"connection_id":172746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f8e"} 
[2026-09-05 08:44:41] local.INFO: GPS Element Parsed {"raw_longitude":760100032,"raw_latitude":109332856,"longitude_deg":76.0100032,"latitude_deg":10.9332856,"altitude":121,"angle":132,"satellites":41,"speed":61,"hex_longitude":"2d4e34c0","hex_latitude":"06844978","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875973376001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399215200118505472,"note":"Value kept but may cause issues"} 
[2026-09-05 08:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5635340167969077248,"note":"Value kept but may cause issues"} 
[2026-09-05 08:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788578021000,"timestamp_ms":1788578021000,"timestamp_seconds":1788578021,"priority":1,"record_length":96,"hex_timestamp":"000001a06f8ebe88"} 
[2026-09-05 08:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:44: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-09-05 08: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 08:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":172746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":172746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":172746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:44: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-09-05 08:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875973376001,"66":27908,"184":206,"80":60928,"24":61,"16":399215200118505472,"45":5635340167969077248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,80,24,16,45]} 
[2026-09-05 08:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875973376001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:44:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-05 08:44:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-05 08:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399215200118505472,"km_value":399215200118505.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":5635340167969077248,"description":"Unknown IO ID 45"} 
[2026-09-05 08:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875973376001,"power":27908,"unknown_184":206,"unknown_80":60928,"ignition":61,"odometer":null,"unknown_45":5635340167969077248}} 
[2026-09-05 08:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":172746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:44:41] local.INFO: GPS data processed {"connection_id":172746,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:44:41] local.INFO: Acknowledgment sent {"connection_id":172746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:45:07] local.INFO: TCP Data received {"connection_id":171346,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:45:07] local.INFO: Processing buffer {"connection_id":171346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:45:07] local.INFO: IMEI packet received {"connection_id":171346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":171346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:45:08] local.INFO: TCP Data received {"connection_id":172747,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f8f00f0012d7c3e0005eaee78000501661e..."} 
[2026-09-05 08:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f8f00f0012d7c3e0005eaee78000501661e..."} 
[2026-09-05 08:45:08] local.INFO: Processing buffer {"connection_id":172747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f8f00f0012d7c3e0005eaee78000501661e..."} 
[2026-09-05 08:45:08] local.INFO: Packet analysis {"connection_id":172747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f8f"} 
[2026-09-05 08:45:08] local.INFO: Extracted packet for processing {"connection_id":172747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f8f"} 
[2026-09-05 08:45:08] local.INFO: GPS Element Parsed {"raw_longitude":763117056,"raw_latitude":99282552,"longitude_deg":76.3117056,"latitude_deg":9.9282552,"altitude":5,"angle":358,"satellites":30,"speed":34,"hex_longitude":"2d7c3e00","hex_latitude":"05eaee78","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875974400001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128454719407390720,"note":"Value kept but may cause issues"} 
[2026-09-05 08:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952874609649717248,"note":"Value kept but may cause issues"} 
[2026-09-05 08:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788578038000,"timestamp_ms":1788578038000,"timestamp_seconds":1788578038,"priority":1,"record_length":96,"hex_timestamp":"000001a06f8f00f0"} 
[2026-09-05 08:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-05 08:45:08] 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-09-05 08: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-09-05 08:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875974400001,"66":13526,"10":206,"87":13824,"24":34,"16":128454719407390720,"45":8952874609649717248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-05 08:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875974400001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:45:08] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-05 08:45:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128454719407390720,"km_value":128454719407390.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952874609649717248,"description":"Unknown IO ID 45"} 
[2026-09-05 08:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875974400001,"power":13526,"unknown_10":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8952874609649717248}} 
[2026-09-05 08:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":172747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767509,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:45:08] local.INFO: GPS data processed {"connection_id":172747,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:45:08] local.INFO: Acknowledgment sent {"connection_id":172747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:45:11] local.INFO: TCP Data received {"connection_id":171346,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:45:11] local.INFO: Processing buffer {"connection_id":171346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:45:11] local.INFO: IMEI packet received {"connection_id":171346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":171346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:45:12] local.INFO: TCP Data received {"connection_id":171346,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f8ed5f8012d4e4d4006842e480076008e2b..."} 
[2026-09-05 08:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f8ed5f8012d4e4d4006842e480076008e2b..."} 
[2026-09-05 08:45:12] local.INFO: Processing buffer {"connection_id":171346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f8ed5f8012d4e4d4006842e480076008e2b..."} 
[2026-09-05 08:45:12] local.INFO: Packet analysis {"connection_id":171346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f8e"} 
[2026-09-05 08:45:12] local.INFO: Extracted packet for processing {"connection_id":171346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f8e"} 
[2026-09-05 08:45:12] local.INFO: GPS Element Parsed {"raw_longitude":760106304,"raw_latitude":109325896,"longitude_deg":76.0106304,"latitude_deg":10.9325896,"altitude":118,"angle":142,"satellites":43,"speed":62,"hex_longitude":"2d4e4d40","hex_latitude":"06842e48","is_valid_coordinates":true} 
[2026-09-05 08:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875973376001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399215651090071552,"note":"Value kept but may cause issues"} 
[2026-09-05 08:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5635340167969077248,"note":"Value kept but may cause issues"} 
[2026-09-05 08:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788578027000,"timestamp_ms":1788578027000,"timestamp_seconds":1788578027,"priority":1,"record_length":96,"hex_timestamp":"000001a06f8ed5f8"} 
[2026-09-05 08:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:45:12] 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-09-05 08:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 08:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875973376001,"66":27865,"184":206,"80":60928,"24":62,"16":399215651090071552,"45":5635340167969077248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,80,24,16,45]} 
[2026-09-05 08:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875973376001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:45:12] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-05 08:45:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-05 08:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399215651090071552,"km_value":399215651090071.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5635340167969077248,"description":"Unknown IO ID 45"} 
[2026-09-05 08:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875973376001,"power":27865,"unknown_184":206,"unknown_80":60928,"ignition":62,"odometer":null,"unknown_45":5635340167969077248}} 
[2026-09-05 08:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":171346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:45:12] local.INFO: GPS data processed {"connection_id":171346,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:45:12] local.INFO: Acknowledgment sent {"connection_id":171346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:45:30] local.INFO: TCP Data received {"connection_id":171638,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:45:30] local.INFO: Processing buffer {"connection_id":171638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:45:30] local.INFO: IMEI packet received {"connection_id":171638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":171638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:45:31] local.INFO: TCP Data received {"connection_id":171638,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:45:31] local.INFO: Processing buffer {"connection_id":171638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:45:31] local.INFO: IMEI packet received {"connection_id":171638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":171638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:45:36] local.INFO: TCP Data received {"connection_id":171638,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:45:36] local.INFO: Processing buffer {"connection_id":171638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:45:36] local.INFO: IMEI packet received {"connection_id":171638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":171638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:45:37] local.INFO: TCP Data received {"connection_id":171638,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f8ffaf0012d7c13c005eb99e80000015720..."} 
[2026-09-05 08:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f8ffaf0012d7c13c005eb99e80000015720..."} 
[2026-09-05 08:45:37] local.INFO: Processing buffer {"connection_id":171638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f8ffaf0012d7c13c005eb99e80000015720..."} 
[2026-09-05 08:45:37] local.INFO: Packet analysis {"connection_id":171638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f8f"} 
[2026-09-05 08:45:37] local.INFO: Extracted packet for processing {"connection_id":171638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f8f"} 
[2026-09-05 08:45:37] local.INFO: GPS Element Parsed {"raw_longitude":763106240,"raw_latitude":99326440,"longitude_deg":76.310624,"latitude_deg":9.932644,"altitude":0,"angle":343,"satellites":32,"speed":34,"hex_longitude":"2d7c13c0","hex_latitude":"05eb99e8","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875990784001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128456957085351936,"note":"Value kept but may cause issues"} 
[2026-09-05 08:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943304460452956160,"note":"Value kept but may cause issues"} 
[2026-09-05 08:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788578102000,"timestamp_ms":1788578102000,"timestamp_seconds":1788578102,"priority":1,"record_length":96,"hex_timestamp":"000001a06f8ffaf0"} 
[2026-09-05 08:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-05 08:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875990784001,"66":13678,"10":206,"87":13824,"24":34,"16":128456957085351936,"45":8943304460452956160},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-05 08:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875990784001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:45:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-05 08:45:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128456957085351936,"km_value":128456957085351.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943304460452956160,"description":"Unknown IO ID 45"} 
[2026-09-05 08:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875990784001,"power":13678,"unknown_10":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8943304460452956160}} 
[2026-09-05 08:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":171638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767511,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:45:37] local.INFO: GPS data processed {"connection_id":171638,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:45:37] local.INFO: Acknowledgment sent {"connection_id":171638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:45:59] local.INFO: TCP Data received {"connection_id":171347,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:45:59] local.INFO: Processing buffer {"connection_id":171347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:45:59] local.INFO: IMEI packet received {"connection_id":171347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":171347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:46:08] local.INFO: TCP Data received {"connection_id":171347,"ip":"42.106.6.16","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 08:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171347,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 08:46:08] local.INFO: Processing buffer {"connection_id":171347,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 08:46:08] local.INFO: IMEI packet received {"connection_id":171347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":171347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:46:08] local.INFO: TCP Data received {"connection_id":171638,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f901e18012d7c07c005ebb5480002014b1f..."} 
[2026-09-05 08:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f901e18012d7c07c005ebb5480002014b1f..."} 
[2026-09-05 08:46:08] local.INFO: Processing buffer {"connection_id":171638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f901e18012d7c07c005ebb5480002014b1f..."} 
[2026-09-05 08:46:08] local.INFO: Packet analysis {"connection_id":171638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f90"} 
[2026-09-05 08:46:08] local.INFO: Extracted packet for processing {"connection_id":171638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f90"} 
[2026-09-05 08:46:08] local.INFO: GPS Element Parsed {"raw_longitude":763103168,"raw_latitude":99333448,"longitude_deg":76.3103168,"latitude_deg":9.9333448,"altitude":2,"angle":331,"satellites":31,"speed":30,"hex_longitude":"2d7c07c0","hex_latitude":"05ebb548","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875994112001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128457326452539392,"note":"Value kept but may cause issues"} 
[2026-09-05 08:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940700816920668160,"note":"Value kept but may cause issues"} 
[2026-09-05 08:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788578111000,"timestamp_ms":1788578111000,"timestamp_seconds":1788578111,"priority":1,"record_length":96,"hex_timestamp":"000001a06f901e18"} 
[2026-09-05 08:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-05 08:46: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-09-05 08: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-09-05 08:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875994112001,"66":13374,"10":206,"87":13824,"24":30,"16":128457326452539392,"45":8940700816920668160},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-05 08:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875994112001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:46:08] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-05 08:46:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128457326452539392,"km_value":128457326452539.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940700816920668160,"description":"Unknown IO ID 45"} 
[2026-09-05 08:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875994112001,"power":13374,"unknown_10":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8940700816920668160}} 
[2026-09-05 08:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":171638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:46:08] local.INFO: GPS data processed {"connection_id":171638,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:46:08] local.INFO: Acknowledgment sent {"connection_id":171638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:46:08] local.INFO: TCP Data received {"connection_id":171347,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f8fe768012d4f9cc00683b418008300632b..."} 
[2026-09-05 08:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f8fe768012d4f9cc00683b418008300632b..."} 
[2026-09-05 08:46:08] local.INFO: Processing buffer {"connection_id":171347,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a06f..."} 
[2026-09-05 08:46:08] local.INFO: IMEI packet received {"connection_id":171347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":171347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:46:09] local.INFO: TCP Data received {"connection_id":171347,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9006a8012d4fc2c00683aca0008600622b..."} 
[2026-09-05 08:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9006a8012d4fc2c00683aca0008600622b..."} 
[2026-09-05 08:46:09] local.INFO: Processing buffer {"connection_id":171347,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a06f8fe768012d4f9cc00683b418008300632b..."} 
[2026-09-05 08:46:09] local.INFO: Packet analysis {"connection_id":171347,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a06f8f"} 
[2026-09-05 08:46:09] local.INFO: Extracted packet for processing {"connection_id":171347,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f8f"} 
[2026-09-05 08:46:09] local.INFO: GPS Element Parsed {"raw_longitude":760192192,"raw_latitude":109294616,"longitude_deg":76.0192192,"latitude_deg":10.9294616,"altitude":131,"angle":99,"satellites":43,"speed":48,"hex_longitude":"2d4f9cc0","hex_latitude":"0683b418","is_valid_coordinates":true} 
[2026-09-05 08:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875990784001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399220246705078272,"note":"Value kept but may cause issues"} 
[2026-09-05 08:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5725834372972132352,"note":"Value kept but may cause issues"} 
[2026-09-05 08:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788578097000,"timestamp_ms":1788578097000,"timestamp_seconds":1788578097,"priority":1,"record_length":96,"hex_timestamp":"000001a06f8fe768"} 
[2026-09-05 08:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:46: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-09-05 08:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-05 08:46:09] 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-09-05 08:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875990784001,"66":27745,"174":206,"80":60928,"24":48,"16":399220246705078272,"45":5725834372972132352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,80,24,16,45]} 
[2026-09-05 08:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875990784001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:46:09] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-09-05 08:46:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-05 08:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399220246705078272,"km_value":399220246705078.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":5725834372972132352,"description":"Unknown IO ID 45"} 
[2026-09-05 08:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875990784001,"power":27745,"unknown_174":206,"unknown_80":60928,"ignition":48,"odometer":null,"unknown_45":5725834372972132352}} 
[2026-09-05 08:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":171347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:46:09] local.INFO: GPS data processed {"connection_id":171347,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:46:09] local.INFO: Acknowledgment sent {"connection_id":171347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:46:09] local.INFO: Packet analysis {"connection_id":171347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f90"} 
[2026-09-05 08:46:09] local.INFO: Extracted packet for processing {"connection_id":171347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f90"} 
[2026-09-05 08:46:09] local.INFO: GPS Element Parsed {"raw_longitude":760201920,"raw_latitude":109292704,"longitude_deg":76.020192,"latitude_deg":10.9292704,"altitude":134,"angle":98,"satellites":43,"speed":49,"hex_longitude":"2d4fc2c0","hex_latitude":"0683aca0","is_valid_coordinates":true} 
[2026-09-05 08:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875992832001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399220719151480832,"note":"Value kept but may cause issues"} 
[2026-09-05 08:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5736671159575123968,"note":"Value kept but may cause issues"} 
[2026-09-05 08:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788578105000,"timestamp_ms":1788578105000,"timestamp_seconds":1788578105,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9006a8"} 
[2026-09-05 08:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:46: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-09-05 08:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 08:46:09] 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-09-05 08:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875992832001,"66":27843,"174":206,"80":60928,"24":49,"16":399220719151480832,"45":5736671159575123968},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,80,24,16,45]} 
[2026-09-05 08:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875992832001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:46:09] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-09-05 08:46:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-05 08:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399220719151480832,"km_value":399220719151480.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":5736671159575123968,"description":"Unknown IO ID 45"} 
[2026-09-05 08:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875992832001,"power":27843,"unknown_174":206,"unknown_80":60928,"ignition":49,"odometer":null,"unknown_45":5736671159575123968}} 
[2026-09-05 08:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":171347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:46:09] local.INFO: GPS data processed {"connection_id":171347,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:46:09] local.INFO: Acknowledgment sent {"connection_id":171347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:46:12] local.INFO: TCP Data received {"connection_id":171347,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9025e8012d4fe9800683a6f0008a00612b..."} 
[2026-09-05 08:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9025e8012d4fe9800683a6f0008a00612b..."} 
[2026-09-05 08:46:12] local.INFO: Processing buffer {"connection_id":171347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9025e8012d4fe9800683a6f0008a00612b..."} 
[2026-09-05 08:46:12] local.INFO: Packet analysis {"connection_id":171347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f90"} 
[2026-09-05 08:46:12] local.INFO: Extracted packet for processing {"connection_id":171347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f90"} 
[2026-09-05 08:46:12] local.INFO: GPS Element Parsed {"raw_longitude":760211840,"raw_latitude":109291248,"longitude_deg":76.021184,"latitude_deg":10.9291248,"altitude":138,"angle":97,"satellites":43,"speed":49,"hex_longitude":"2d4fe980","hex_latitude":"0683a6f0","is_valid_coordinates":true} 
[2026-09-05 08:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875994880001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399221200187817984,"note":"Value kept but may cause issues"} 
[2026-09-05 08:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5747367208689639424,"note":"Value kept but may cause issues"} 
[2026-09-05 08:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788578113000,"timestamp_ms":1788578113000,"timestamp_seconds":1788578113,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9025e8"} 
[2026-09-05 08:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:46:12] 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-09-05 08:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 08:46:12] 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-09-05 08:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875994880001,"66":27908,"174":206,"80":60928,"24":49,"16":399221200187817984,"45":5747367208689639424},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,80,24,16,45]} 
[2026-09-05 08:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875994880001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:46:12] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-09-05 08:46:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-05 08:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399221200187817984,"km_value":399221200187818.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5747367208689639424,"description":"Unknown IO ID 45"} 
[2026-09-05 08:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875994880001,"power":27908,"unknown_174":206,"unknown_80":60928,"ignition":49,"odometer":null,"unknown_45":5747367208689639424}} 
[2026-09-05 08:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":171347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:46:12] local.INFO: GPS data processed {"connection_id":171347,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:46:12] local.INFO: Acknowledgment sent {"connection_id":171347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:46:13] local.INFO: TCP Data received {"connection_id":174054,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174054,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:46:13] local.INFO: Processing buffer {"connection_id":174054,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:46:13] local.INFO: IMEI packet received {"connection_id":174054,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 08:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":174054,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:46:13] local.INFO: TCP Data received {"connection_id":174054,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06f90dd80012d0dff4007070628001f005d16..."} 
[2026-09-05 08:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f90dd80012d0dff4007070628001f005d16..."} 
[2026-09-05 08:46:13] local.INFO: Processing buffer {"connection_id":174054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f90dd80012d0dff4007070628001f005d16..."} 
[2026-09-05 08:46:13] local.INFO: Packet analysis {"connection_id":174054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f90"} 
[2026-09-05 08:46:13] local.INFO: Extracted packet for processing {"connection_id":174054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f90"} 
[2026-09-05 08:46:13] local.INFO: GPS Element Parsed {"raw_longitude":755892032,"raw_latitude":117900840,"longitude_deg":75.5892032,"latitude_deg":11.790084,"altitude":31,"angle":93,"satellites":22,"speed":22,"hex_longitude":"2d0dff40","hex_latitude":"07070628","is_valid_coordinates":true} 
[2026-09-05 08:46: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-09-05 08:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876007936001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30259869961420800,"note":"Value kept but may cause issues"} 
[2026-09-05 08:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1005569384481290240,"note":"Value kept but may cause issues"} 
[2026-09-05 08:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788578160000,"timestamp_ms":1788578160000,"timestamp_seconds":1788578160,"priority":1,"record_length":96,"hex_timestamp":"000001a06f90dd80"} 
[2026-09-05 08:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 08:46:13] 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-09-05 08:46: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-09-05 08:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":174054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":174054,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":174054,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 08:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 08:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876007936001,"66":14428,"219":206,"94":10240,"24":22,"16":30259869961420800,"45":1005569384481290240},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-05 08:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 08:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 08:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876007936001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:46:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-05 08:46:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 08:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30259869961420800,"km_value":30259869961420.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1005569384481290240,"description":"Unknown IO ID 45"} 
[2026-09-05 08:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876007936001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":1005569384481290240}} 
[2026-09-05 08:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":174054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767516,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:46:13] local.INFO: GPS data processed {"connection_id":174054,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:46:13] local.INFO: Acknowledgment sent {"connection_id":174054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:46:25] local.INFO: TCP Data received {"connection_id":174055,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:46:25] local.INFO: Processing buffer {"connection_id":174055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:46:25] local.INFO: IMEI packet received {"connection_id":174055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":174055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:46:31] local.INFO: TCP Data received {"connection_id":174055,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:46:31] local.INFO: Processing buffer {"connection_id":174055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:46:31] local.INFO: IMEI packet received {"connection_id":174055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":174055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:46:32] local.INFO: TCP Data received {"connection_id":174055,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f903588012d7c00c005ebc7b00002015720..."} 
[2026-09-05 08:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f903588012d7c00c005ebc7b00002015720..."} 
[2026-09-05 08:46:32] local.INFO: Processing buffer {"connection_id":174055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f903588012d7c00c005ebc7b00002015720..."} 
[2026-09-05 08:46:32] local.INFO: Packet analysis {"connection_id":174055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f90"} 
[2026-09-05 08:46:32] local.INFO: Extracted packet for processing {"connection_id":174055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f90"} 
[2026-09-05 08:46:32] local.INFO: GPS Element Parsed {"raw_longitude":763101376,"raw_latitude":99338160,"longitude_deg":76.3101376,"latitude_deg":9.933816,"altitude":2,"angle":343,"satellites":32,"speed":33,"hex_longitude":"2d7c00c0","hex_latitude":"05ebc7b0","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875996416001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128457571265675264,"note":"Value kept but may cause issues"} 
[2026-09-05 08:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937323117201934336,"note":"Value kept but may cause issues"} 
[2026-09-05 08:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788578117000,"timestamp_ms":1788578117000,"timestamp_seconds":1788578117,"priority":1,"record_length":96,"hex_timestamp":"000001a06f903588"} 
[2026-09-05 08:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:46: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-09-05 08: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-05 08:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875996416001,"66":13678,"10":206,"87":13824,"24":33,"16":128457571265675264,"45":8937323117201934336},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-05 08:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875996416001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:46:32] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-05 08:46:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128457571265675264,"km_value":128457571265675.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937323117201934336,"description":"Unknown IO ID 45"} 
[2026-09-05 08:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875996416001,"power":13678,"unknown_10":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8937323117201934336}} 
[2026-09-05 08:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":174055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767517,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:46:32] local.INFO: GPS data processed {"connection_id":174055,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:46:32] local.INFO: Acknowledgment sent {"connection_id":174055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:46:45] local.INFO: TCP Data received {"connection_id":174054,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06f90e168012d0e0140070705b8001f006916..."} 
[2026-09-05 08:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f90e168012d0e0140070705b8001f006916..."} 
[2026-09-05 08:46:45] local.INFO: Processing buffer {"connection_id":174054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f90e168012d0e0140070705b8001f006916..."} 
[2026-09-05 08:46:45] local.INFO: Packet analysis {"connection_id":174054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f90"} 
[2026-09-05 08:46:45] local.INFO: Extracted packet for processing {"connection_id":174054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f90"} 
[2026-09-05 08:46:45] local.INFO: GPS Element Parsed {"raw_longitude":755892544,"raw_latitude":117900728,"longitude_deg":75.5892544,"latitude_deg":11.7900728,"altitude":31,"angle":105,"satellites":22,"speed":18,"hex_longitude":"2d0e0140","hex_latitude":"070705b8","is_valid_coordinates":true} 
[2026-09-05 08:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876008960001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30259895731224576,"note":"Value kept but may cause issues"} 
[2026-09-05 08:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1008595240481073152,"note":"Value kept but may cause issues"} 
[2026-09-05 08:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788578161000,"timestamp_ms":1788578161000,"timestamp_seconds":1788578161,"priority":1,"record_length":96,"hex_timestamp":"000001a06f90e168"} 
[2026-09-05 08:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 08:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":174054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":174054,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":174054,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 08:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 08:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876008960001,"66":14428,"219":206,"94":10240,"24":18,"16":30259895731224576,"45":1008595240481073152},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-05 08:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 08:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 08:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876008960001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:46:45] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-05 08:46:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 08:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30259895731224576,"km_value":30259895731224.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1008595240481073152,"description":"Unknown IO ID 45"} 
[2026-09-05 08:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876008960001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":1008595240481073152}} 
[2026-09-05 08:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":174054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767518,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:46:45] local.INFO: GPS data processed {"connection_id":174054,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:46:45] local.INFO: Acknowledgment sent {"connection_id":174054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:46:57] local.INFO: TCP Data received {"connection_id":172748,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:46:57] local.INFO: Processing buffer {"connection_id":172748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:46:57] local.INFO: IMEI packet received {"connection_id":172748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":172748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:47:03] local.INFO: TCP Data received {"connection_id":172748,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:47:03] local.INFO: Processing buffer {"connection_id":172748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:47:03] local.INFO: IMEI packet received {"connection_id":172748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":172748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:47:04] local.INFO: TCP Data received {"connection_id":174055,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9171f0012d7c5e4005ec3ae00008005723..."} 
[2026-09-05 08:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9171f0012d7c5e4005ec3ae00008005723..."} 
[2026-09-05 08:47:04] local.INFO: Processing buffer {"connection_id":174055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9171f0012d7c5e4005ec3ae00008005723..."} 
[2026-09-05 08:47:04] local.INFO: Packet analysis {"connection_id":174055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f91"} 
[2026-09-05 08:47:04] local.INFO: Extracted packet for processing {"connection_id":174055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f91"} 
[2026-09-05 08:47:04] local.INFO: GPS Element Parsed {"raw_longitude":763125312,"raw_latitude":99367648,"longitude_deg":76.3125312,"latitude_deg":9.9367648,"altitude":8,"angle":87,"satellites":35,"speed":43,"hex_longitude":"2d7c5e40","hex_latitude":"05ec3ae0","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876016384001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128460504728338432,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950833916092733440,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788578198000,"timestamp_ms":1788578198000,"timestamp_seconds":1788578198,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9171f0"} 
[2026-09-05 08:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:47: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-09-05 08: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-05 08:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630432,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:04] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:04] local.WARNING: Large IO value detected {"io_id":96,"raw_value":3573547008,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6206241843097632778,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:04] local.WARNING: Large IO value detected {"io_id":111,"raw_value":2431203329,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:04] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636095039034822,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-09-05 08:47:04] local.WARNING: Large IO value detected {"io_id":228,"raw_value":3221613622,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1623916544,"corrected_to":0} 
[2026-09-05 08:47:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3962918912,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:04] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-2035620519535968256,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:04] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512734159712681,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:04] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755481045565681,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:04] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,198,87,24,241,157,16,97,160,43,45,192,56,3,33,10,66,55,2,96,237,1,240,7,227,111,236,4,113,205,229,228,176,239,53,200,5,19,123,50,54],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0},{"io_id":200,"original":1623916544,"validated":0}]} 
[2026-09-05 08:47:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432443571089047552,"timestamp_seconds":432443571089047.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 08:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876016384001,"66":13374,"198":206,"87":13824,"24":43,"16":128460504728338432,"45":8950833916092733440},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 08:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876016384001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:47:04] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 08:47:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128460504728338432,"km_value":128460504728338.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950833916092733440,"description":"Unknown IO ID 45"} 
[2026-09-05 08:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876016384001,"power":13374,"unknown_198":206,"unknown_87":13824,"ignition":43,"odometer":null,"unknown_45":8950833916092733440}} 
[2026-09-05 08:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":174055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:47:04] local.INFO: GPS data processed {"connection_id":174055,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:47:04] local.INFO: Acknowledgment sent {"connection_id":174055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:47:04] local.INFO: TCP Data received {"connection_id":172748,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f904528012d5011800683a248008c00622b..."} 
[2026-09-05 08:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f904528012d5011800683a248008c00622b..."} 
[2026-09-05 08:47:04] local.INFO: Processing buffer {"connection_id":172748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f904528012d5011800683a248008c00622b..."} 
[2026-09-05 08:47:04] local.INFO: Packet analysis {"connection_id":172748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f90"} 
[2026-09-05 08:47:04] local.INFO: Extracted packet for processing {"connection_id":172748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f90"} 
[2026-09-05 08:47:04] local.INFO: GPS Element Parsed {"raw_longitude":760222080,"raw_latitude":109290056,"longitude_deg":76.022208,"latitude_deg":10.9290056,"altitude":140,"angle":98,"satellites":43,"speed":51,"hex_longitude":"2d501180","hex_latitude":"0683a248","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875996928001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399221689814089728,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5758274364036804608,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788578121000,"timestamp_ms":1788578121000,"timestamp_seconds":1788578121,"priority":1,"record_length":96,"hex_timestamp":"000001a06f904528"} 
[2026-09-05 08:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:47: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-09-05 08: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 08:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875996928001,"66":27865,"174":206,"80":60928,"24":51,"16":399221689814089728,"45":5758274364036804608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,80,24,16,45]} 
[2026-09-05 08:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875996928001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:47:04] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-09-05 08:47:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-05 08:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399221689814089728,"km_value":399221689814089.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5758274364036804608,"description":"Unknown IO ID 45"} 
[2026-09-05 08:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875996928001,"power":27865,"unknown_174":206,"unknown_80":60928,"ignition":51,"odometer":null,"unknown_45":5758274364036804608}} 
[2026-09-05 08:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":172748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:47:04] local.INFO: GPS data processed {"connection_id":172748,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:47:04] local.INFO: Acknowledgment sent {"connection_id":172748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:47:05] local.INFO: TCP Data received {"connection_id":171348,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171348,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:47:05] local.INFO: Processing buffer {"connection_id":171348,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:47:05] local.INFO: IMEI packet received {"connection_id":171348,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 08:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":171348,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:47:06] local.INFO: TCP Data received {"connection_id":171348,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171348,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:47:06] local.INFO: Processing buffer {"connection_id":171348,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:47:06] local.INFO: IMEI packet received {"connection_id":171348,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 08:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":171348,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:47:09] local.INFO: TCP Data received {"connection_id":171348,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171348,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:47:09] local.INFO: Processing buffer {"connection_id":171348,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:47:09] local.INFO: IMEI packet received {"connection_id":171348,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 08:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":171348,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:47:10] local.INFO: TCP Data received {"connection_id":171348,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171348,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:47:10] local.INFO: Processing buffer {"connection_id":171348,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:47:10] local.INFO: IMEI packet received {"connection_id":171348,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 08:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":171348,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:47:11] local.INFO: TCP Data received {"connection_id":171348,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06f91cbc8012d0e3e800706daa00020009b16..."} 
[2026-09-05 08:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f91cbc8012d0e3e800706daa00020009b16..."} 
[2026-09-05 08:47:11] local.INFO: Processing buffer {"connection_id":171348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f91cbc8012d0e3e800706daa00020009b16..."} 
[2026-09-05 08:47:11] local.INFO: Packet analysis {"connection_id":171348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f91"} 
[2026-09-05 08:47:11] local.INFO: Extracted packet for processing {"connection_id":171348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f91"} 
[2026-09-05 08:47:11] local.INFO: GPS Element Parsed {"raw_longitude":755908224,"raw_latitude":117889696,"longitude_deg":75.5908224,"latitude_deg":11.7889696,"altitude":32,"angle":155,"satellites":22,"speed":12,"hex_longitude":"2d0e3e80","hex_latitude":"0706daa0","is_valid_coordinates":true} 
[2026-09-05 08:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876023808001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30261145566707712,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026117057778745344,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788578221000,"timestamp_ms":1788578221000,"timestamp_seconds":1788578221,"priority":1,"record_length":96,"hex_timestamp":"000001a06f91cbc8"} 
[2026-09-05 08:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-05 08:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171348,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171348,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 08:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 08:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876023808001,"66":14428,"219":206,"94":10240,"24":12,"16":30261145566707712,"45":1026117057778745344},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-05 08:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 08:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 08:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876023808001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:47:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-05 08:47:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 08:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30261145566707712,"km_value":30261145566707.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026117057778745344,"description":"Unknown IO ID 45"} 
[2026-09-05 08:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876023808001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":1026117057778745344}} 
[2026-09-05 08:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":171348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767521,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:47:11] local.INFO: GPS data processed {"connection_id":171348,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:47:11] local.INFO: Acknowledgment sent {"connection_id":171348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:47:16] local.INFO: TCP Data received {"connection_id":171348,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06f91db68012d0e40800706d678001e00a916..."} 
[2026-09-05 08:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f91db68012d0e40800706d678001e00a916..."} 
[2026-09-05 08:47:16] local.INFO: Processing buffer {"connection_id":171348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f91db68012d0e40800706d678001e00a916..."} 
[2026-09-05 08:47:16] local.INFO: Packet analysis {"connection_id":171348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f91"} 
[2026-09-05 08:47:16] local.INFO: Extracted packet for processing {"connection_id":171348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f91"} 
[2026-09-05 08:47:16] local.INFO: GPS Element Parsed {"raw_longitude":755908736,"raw_latitude":117888632,"longitude_deg":75.5908736,"latitude_deg":11.7888632,"altitude":30,"angle":169,"satellites":22,"speed":11,"hex_longitude":"2d0e4080","hex_latitude":"0706d678","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876024576001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30261205696249856,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026398532755169280,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788578225000,"timestamp_ms":1788578225000,"timestamp_seconds":1788578225,"priority":1,"record_length":96,"hex_timestamp":"000001a06f91db68"} 
[2026-09-05 08:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:47: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-09-05 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 08:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":171348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":171348,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":171348,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 08:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 08:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876024576001,"66":13754,"219":206,"94":10240,"24":11,"16":30261205696249856,"45":1026398532755169280},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-05 08:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 08:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 08:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876024576001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:47:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-05 08:47:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 08:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30261205696249856,"km_value":30261205696249.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026398532755169280,"description":"Unknown IO ID 45"} 
[2026-09-05 08:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876024576001,"power":13754,"unknown_219":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":1026398532755169280}} 
[2026-09-05 08:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":171348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767522,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:47:16] local.INFO: GPS data processed {"connection_id":171348,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:47:16] local.INFO: Acknowledgment sent {"connection_id":171348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:47:31] local.INFO: TCP Data received {"connection_id":171640,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171640,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:47:31] local.INFO: Processing buffer {"connection_id":171640,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:47:31] local.INFO: IMEI packet received {"connection_id":171640,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":171640,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:47:33] local.INFO: TCP Data received {"connection_id":171640,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171640,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:47:33] local.INFO: Processing buffer {"connection_id":171640,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:47:33] local.INFO: IMEI packet received {"connection_id":171640,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":171640,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:47:34] local.INFO: TCP Data received {"connection_id":171640,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f919518012d7c824005ec3c180006005725..."} 
[2026-09-05 08:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f919518012d7c824005ec3c180006005725..."} 
[2026-09-05 08:47:34] local.INFO: Processing buffer {"connection_id":171640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f919518012d7c824005ec3c180006005725..."} 
[2026-09-05 08:47:34] local.INFO: Packet analysis {"connection_id":171640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f91"} 
[2026-09-05 08:47:34] local.INFO: Extracted packet for processing {"connection_id":171640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f91"} 
[2026-09-05 08:47:34] local.INFO: GPS Element Parsed {"raw_longitude":763134528,"raw_latitude":99367960,"longitude_deg":76.3134528,"latitude_deg":9.936796,"altitude":6,"angle":87,"satellites":37,"speed":30,"hex_longitude":"2d7c8240","hex_latitude":"05ec3c18","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876018688001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128460947109969920,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961670702696161280,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788578207000,"timestamp_ms":1788578207000,"timestamp_seconds":1788578207,"priority":1,"record_length":96,"hex_timestamp":"000001a06f919518"} 
[2026-09-05 08:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-05 08:47:34] 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-09-05 08: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-09-05 08:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876018688001,"66":13102,"198":206,"87":13824,"24":30,"16":128460947109969920,"45":8961670702696161280},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 08:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876018688001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:47:34] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 08:47:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128460947109969920,"km_value":128460947109969.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961670702696161280,"description":"Unknown IO ID 45"} 
[2026-09-05 08:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876018688001,"power":13102,"unknown_198":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8961670702696161280}} 
[2026-09-05 08:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":171640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767523,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:47:34] local.INFO: GPS data processed {"connection_id":171640,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:47:34] local.INFO: Acknowledgment sent {"connection_id":171640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:47:35] local.INFO: TCP Data received {"connection_id":172748,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f906080012d50354006839d40008f00622b..."} 
[2026-09-05 08:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f906080012d50354006839d40008f00622b..."} 
[2026-09-05 08:47:35] local.INFO: Processing buffer {"connection_id":172748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f906080012d50354006839d40008f00622b..."} 
[2026-09-05 08:47:35] local.INFO: Packet analysis {"connection_id":172748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f90"} 
[2026-09-05 08:47:35] local.INFO: Extracted packet for processing {"connection_id":172748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f90"} 
[2026-09-05 08:47:35] local.INFO: GPS Element Parsed {"raw_longitude":760231232,"raw_latitude":109288768,"longitude_deg":76.0231232,"latitude_deg":10.9288768,"altitude":143,"angle":98,"satellites":43,"speed":52,"hex_longitude":"2d503540","hex_latitude":"06839d40","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457875998976001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399222127900753920,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5769533363104925696,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788578128000,"timestamp_ms":1788578128000,"timestamp_seconds":1788578128,"priority":1,"record_length":96,"hex_timestamp":"000001a06f906080"} 
[2026-09-05 08:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:47:35] 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-09-05 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 08:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457875998976001,"66":28028,"174":206,"80":60928,"24":52,"16":399222127900753920,"45":5769533363104925696},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,80,24,16,45]} 
[2026-09-05 08:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457875998976001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:47:35] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-09-05 08:47:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-05 08:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399222127900753920,"km_value":399222127900753.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5769533363104925696,"description":"Unknown IO ID 45"} 
[2026-09-05 08:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457875998976001,"power":28028,"unknown_174":206,"unknown_80":60928,"ignition":52,"odometer":null,"unknown_45":5769533363104925696}} 
[2026-09-05 08:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":172748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:47:35] local.INFO: GPS data processed {"connection_id":172748,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:47:35] local.INFO: Acknowledgment sent {"connection_id":172748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:47:36] local.INFO: TCP Data received {"connection_id":171640,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f91bc28012d7ca90005ec3d480004005725..."} 
[2026-09-05 08:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f91bc28012d7ca90005ec3d480004005725..."} 
[2026-09-05 08:47:36] local.INFO: Processing buffer {"connection_id":171640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f91bc28012d7ca90005ec3d480004005725..."} 
[2026-09-05 08:47:36] local.INFO: Packet analysis {"connection_id":171640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f91"} 
[2026-09-05 08:47:36] local.INFO: Extracted packet for processing {"connection_id":171640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f91"} 
[2026-09-05 08:47:36] local.INFO: GPS Element Parsed {"raw_longitude":763144448,"raw_latitude":99368264,"longitude_deg":76.3144448,"latitude_deg":9.9368264,"altitude":4,"angle":87,"satellites":37,"speed":49,"hex_longitude":"2d7ca900","hex_latitude":"05ec3d48","is_valid_coordinates":true} 
[2026-09-05 08:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876020992001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128461419556372480,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971803801857824768,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788578217000,"timestamp_ms":1788578217000,"timestamp_seconds":1788578217,"priority":1,"record_length":96,"hex_timestamp":"000001a06f91bc28"} 
[2026-09-05 08:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:47: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-09-05 08:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-05 08:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876020992001,"66":13602,"198":206,"87":13824,"24":49,"16":128461419556372480,"45":8971803801857824768},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 08:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876020992001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:47:36] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 08:47:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128461419556372480,"km_value":128461419556372.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971803801857824768,"description":"Unknown IO ID 45"} 
[2026-09-05 08:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876020992001,"power":13602,"unknown_198":206,"unknown_87":13824,"ignition":49,"odometer":null,"unknown_45":8971803801857824768}} 
[2026-09-05 08:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":171640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767525,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:47:36] local.INFO: GPS data processed {"connection_id":171640,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:47:36] local.INFO: Acknowledgment sent {"connection_id":171640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:47:47] local.INFO: TCP Data received {"connection_id":171348,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06f91e338012d0e40800706d510001e00ba16..."} 
[2026-09-05 08:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f91e338012d0e40800706d510001e00ba16..."} 
[2026-09-05 08:47:47] local.INFO: Processing buffer {"connection_id":171348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f91e338012d0e40800706d510001e00ba16..."} 
[2026-09-05 08:47:47] local.INFO: Packet analysis {"connection_id":171348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f91"} 
[2026-09-05 08:47:47] local.INFO: Extracted packet for processing {"connection_id":171348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f91"} 
[2026-09-05 08:47:47] local.INFO: GPS Element Parsed {"raw_longitude":755908736,"raw_latitude":117888272,"longitude_deg":75.5908736,"latitude_deg":11.7888272,"altitude":30,"angle":186,"satellites":22,"speed":6,"hex_longitude":"2d0e4080","hex_latitude":"0706d510","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876025600001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30261222876119040,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026961482708318208,"note":"Value kept but may cause issues"} 
[2026-09-05 08:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788578227000,"timestamp_ms":1788578227000,"timestamp_seconds":1788578227,"priority":1,"record_length":96,"hex_timestamp":"000001a06f91e338"} 
[2026-09-05 08:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-09-05 08:47:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":171348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":171348,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":171348,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 08:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 08:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876025600001,"66":14515,"219":206,"94":10240,"24":6,"16":30261222876119040,"45":1026961482708318208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-05 08:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 08:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 08:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876025600001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:47:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-05 08:47:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 08:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30261222876119040,"km_value":30261222876119.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026961482708318208,"description":"Unknown IO ID 45"} 
[2026-09-05 08:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876025600001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":1026961482708318208}} 
[2026-09-05 08:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":171348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767526,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:47:47] local.INFO: GPS data processed {"connection_id":171348,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:47:47] local.INFO: Acknowledgment sent {"connection_id":171348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:47:56] local.INFO: TCP Data received {"connection_id":171641,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:47:56] local.INFO: Processing buffer {"connection_id":171641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:47:56] local.INFO: IMEI packet received {"connection_id":171641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":171641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:47:57] local.INFO: TCP Data received {"connection_id":171641,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:47:57] local.INFO: Processing buffer {"connection_id":171641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:47:57] local.INFO: IMEI packet received {"connection_id":171641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":171641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:48:02] local.INFO: TCP Data received {"connection_id":171641,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:48:02] local.INFO: Processing buffer {"connection_id":171641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:48:02] local.INFO: IMEI packet received {"connection_id":171641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":171641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:48:03] local.INFO: TCP Data received {"connection_id":171641,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f91e338012d517e800682fce8008d008c2a..."} 
[2026-09-05 08:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f91e338012d517e800682fce8008d008c2a..."} 
[2026-09-05 08:48:03] local.INFO: Processing buffer {"connection_id":171641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f91e338012d517e800682fce8008d008c2a..."} 
[2026-09-05 08:48:03] local.INFO: Packet analysis {"connection_id":171641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f91"} 
[2026-09-05 08:48:03] local.INFO: Extracted packet for processing {"connection_id":171641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f91"} 
[2026-09-05 08:48:03] local.INFO: GPS Element Parsed {"raw_longitude":760315520,"raw_latitude":109247720,"longitude_deg":76.031552,"latitude_deg":10.924772,"altitude":141,"angle":140,"satellites":42,"speed":62,"hex_longitude":"2d517e80","hex_latitude":"0682fce8","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876024576001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399226796530204672,"note":"Value kept but may cause issues"} 
[2026-09-05 08:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5866008911363438592,"note":"Value kept but may cause issues"} 
[2026-09-05 08:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788578227000,"timestamp_ms":1788578227000,"timestamp_seconds":1788578227,"priority":1,"record_length":96,"hex_timestamp":"000001a06f91e338"} 
[2026-09-05 08:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:48: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-09-05 08: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 08:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876024576001,"66":27930,"165":206,"80":60928,"24":62,"16":399226796530204672,"45":5866008911363438592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,80,24,16,45]} 
[2026-09-05 08:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876024576001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:48:03] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-05 08:48:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-05 08:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399226796530204672,"km_value":399226796530204.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5866008911363438592,"description":"Unknown IO ID 45"} 
[2026-09-05 08:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876024576001,"power":27930,"unknown_165":206,"unknown_80":60928,"ignition":62,"odometer":null,"unknown_45":5866008911363438592}} 
[2026-09-05 08:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":171641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:48:03] local.INFO: GPS data processed {"connection_id":171641,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:48:03] local.INFO: Acknowledgment sent {"connection_id":171641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:48:05] local.INFO: TCP Data received {"connection_id":171642,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171642,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:48:05] local.INFO: Processing buffer {"connection_id":171642,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:48:05] local.INFO: IMEI packet received {"connection_id":171642,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 08:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":171642,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:48:06] local.INFO: TCP Data received {"connection_id":171642,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171642,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:48:06] local.INFO: Processing buffer {"connection_id":171642,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:48:06] local.INFO: IMEI packet received {"connection_id":171642,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 08:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":171642,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:48:08] local.INFO: TCP Data received {"connection_id":171640,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f91db68012d7cd0c005ec41280003005522..."} 
[2026-09-05 08:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f91db68012d7cd0c005ec41280003005522..."} 
[2026-09-05 08:48:08] local.INFO: Processing buffer {"connection_id":171640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f91db68012d7cd0c005ec41280003005522..."} 
[2026-09-05 08:48:08] local.INFO: Packet analysis {"connection_id":171640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f91"} 
[2026-09-05 08:48:08] local.INFO: Extracted packet for processing {"connection_id":171640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f91"} 
[2026-09-05 08:48:08] local.INFO: GPS Element Parsed {"raw_longitude":763154624,"raw_latitude":99369256,"longitude_deg":76.3154624,"latitude_deg":9.9369256,"altitude":3,"angle":85,"satellites":34,"speed":46,"hex_longitude":"2d7cd0c0","hex_latitude":"05ec4128","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876023552001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128461904887676928,"note":"Value kept but may cause issues"} 
[2026-09-05 08:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982710957205440512,"note":"Value kept but may cause issues"} 
[2026-09-05 08:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788578225000,"timestamp_ms":1788578225000,"timestamp_seconds":1788578225,"priority":1,"record_length":96,"hex_timestamp":"000001a06f91db68"} 
[2026-09-05 08:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-05 08:48:08] 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-09-05 08: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-09-05 08:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876023552001,"66":13504,"198":206,"87":13824,"24":46,"16":128461904887676928,"45":8982710957205440512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 08:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876023552001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:48:08] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 08:48:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128461904887676928,"km_value":128461904887676.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982710957205440512,"description":"Unknown IO ID 45"} 
[2026-09-05 08:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876023552001,"power":13504,"unknown_198":206,"unknown_87":13824,"ignition":46,"odometer":null,"unknown_45":8982710957205440512}} 
[2026-09-05 08:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":171640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767528,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:48:08] local.INFO: GPS data processed {"connection_id":171640,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:48:08] local.INFO: Acknowledgment sent {"connection_id":171640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:48:11] local.INFO: TCP Data received {"connection_id":171639,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171639,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:48:11] local.INFO: Processing buffer {"connection_id":171639,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:48:11] local.INFO: IMEI packet received {"connection_id":171639,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 08:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":171639,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:48:11] local.INFO: TCP Data received {"connection_id":171642,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171642,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:48:11] local.INFO: Processing buffer {"connection_id":171642,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:48:11] local.INFO: IMEI packet received {"connection_id":171642,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 08:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":171642,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:48:11] local.INFO: TCP Data received {"connection_id":171642,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06f922988012d0e3a400706b300001900c016..."} 
[2026-09-05 08:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f922988012d0e3a400706b300001900c016..."} 
[2026-09-05 08:48:11] local.INFO: Processing buffer {"connection_id":171642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f922988012d0e3a400706b300001900c016..."} 
[2026-09-05 08:48:11] local.INFO: Packet analysis {"connection_id":171642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f92"} 
[2026-09-05 08:48:11] local.INFO: Extracted packet for processing {"connection_id":171642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f92"} 
[2026-09-05 08:48:11] local.INFO: GPS Element Parsed {"raw_longitude":755907136,"raw_latitude":117879552,"longitude_deg":75.5907136,"latitude_deg":11.7879552,"altitude":25,"angle":192,"satellites":22,"speed":23,"hex_longitude":"2d0e3a40","hex_latitude":"0706b300","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876026112001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30261652372848640,"note":"Value kept but may cause issues"} 
[2026-09-05 08:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026961482708226048,"note":"Value kept but may cause issues"} 
[2026-09-05 08:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788578245000,"timestamp_ms":1788578245000,"timestamp_seconds":1788578245,"priority":1,"record_length":96,"hex_timestamp":"000001a06f922988"} 
[2026-09-05 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-09-05 08:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-05 08:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 08:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171642,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171642,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 08:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 08:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876026112001,"66":14537,"219":206,"94":10240,"24":23,"16":30261652372848640,"45":1026961482708226048},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-05 08:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 08:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 08:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876026112001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:48:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-05 08:48:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 08:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30261652372848640,"km_value":30261652372848.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026961482708226048,"description":"Unknown IO ID 45"} 
[2026-09-05 08:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876026112001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":1026961482708226048}} 
[2026-09-05 08:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":171642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767529,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:48:11] local.INFO: GPS data processed {"connection_id":171642,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:48:11] local.INFO: Acknowledgment sent {"connection_id":171642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:48:26] local.INFO: TCP Data received {"connection_id":172749,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:48:26] local.INFO: Processing buffer {"connection_id":172749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:48:26] local.INFO: IMEI packet received {"connection_id":172749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":172749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:48:31] local.INFO: TCP Data received {"connection_id":172749,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:48:31] local.INFO: Processing buffer {"connection_id":172749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:48:31] local.INFO: IMEI packet received {"connection_id":172749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":172749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:48:33] local.INFO: TCP Data received {"connection_id":172749,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f920278012d7cf58005ec41e00005005723..."} 
[2026-09-05 08:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f920278012d7cf58005ec41e00005005723..."} 
[2026-09-05 08:48:33] local.INFO: Processing buffer {"connection_id":172749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f920278012d7cf58005ec41e00005005723..."} 
[2026-09-05 08:48:33] local.INFO: Packet analysis {"connection_id":172749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f92"} 
[2026-09-05 08:48:33] local.INFO: Extracted packet for processing {"connection_id":172749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f92"} 
[2026-09-05 08:48:33] local.INFO: GPS Element Parsed {"raw_longitude":763164032,"raw_latitude":99369440,"longitude_deg":76.3164032,"latitude_deg":9.936944,"altitude":5,"angle":87,"satellites":35,"speed":28,"hex_longitude":"2d7cf580","hex_latitude":"05ec41e0","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876025600001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128462360154210304,"note":"Value kept but may cause issues"} 
[2026-09-05 08:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993899587529943040,"note":"Value kept but may cause issues"} 
[2026-09-05 08:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788578235000,"timestamp_ms":1788578235000,"timestamp_seconds":1788578235,"priority":1,"record_length":96,"hex_timestamp":"000001a06f920278"} 
[2026-09-05 08:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-05 08:48:33] 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-09-05 08: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-09-05 08:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876025600001,"66":13124,"198":206,"87":13824,"24":28,"16":128462360154210304,"45":8993899587529943040},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 08:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876025600001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:48:33] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 08:48:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128462360154210304,"km_value":128462360154210.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993899587529943040,"description":"Unknown IO ID 45"} 
[2026-09-05 08:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876025600001,"power":13124,"unknown_198":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8993899587529943040}} 
[2026-09-05 08:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":172749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767530,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:48:33] local.INFO: GPS data processed {"connection_id":172749,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:48:33] local.INFO: Acknowledgment sent {"connection_id":172749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:48:34] local.INFO: TCP Data received {"connection_id":171641,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f91faa8012d5197400682e1a0008b008924..."} 
[2026-09-05 08:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f91faa8012d5197400682e1a0008b008924..."} 
[2026-09-05 08:48:34] local.INFO: Processing buffer {"connection_id":171641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f91faa8012d5197400682e1a0008b008924..."} 
[2026-09-05 08:48:34] local.INFO: Packet analysis {"connection_id":171641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f91"} 
[2026-09-05 08:48:34] local.INFO: Extracted packet for processing {"connection_id":171641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f91"} 
[2026-09-05 08:48:34] local.INFO: GPS Element Parsed {"raw_longitude":760321856,"raw_latitude":109240736,"longitude_deg":76.0321856,"latitude_deg":10.9240736,"altitude":139,"angle":137,"satellites":36,"speed":62,"hex_longitude":"2d519740","hex_latitude":"0682e1a0","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876026112001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399227251796738048,"note":"Value kept but may cause issues"} 
[2026-09-05 08:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5872271729593477120,"note":"Value kept but may cause issues"} 
[2026-09-05 08:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788578233000,"timestamp_ms":1788578233000,"timestamp_seconds":1788578233,"priority":1,"record_length":96,"hex_timestamp":"000001a06f91faa8"} 
[2026-09-05 08:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 08:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876026112001,"66":27974,"165":206,"80":60928,"24":62,"16":399227251796738048,"45":5872271729593477120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,80,24,16,45]} 
[2026-09-05 08:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876026112001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:48:34] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-05 08:48:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-05 08:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399227251796738048,"km_value":399227251796738.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5872271729593477120,"description":"Unknown IO ID 45"} 
[2026-09-05 08:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876026112001,"power":27974,"unknown_165":206,"unknown_80":60928,"ignition":62,"odometer":null,"unknown_45":5872271729593477120}} 
[2026-09-05 08:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":171641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:48:34] local.INFO: GPS data processed {"connection_id":171641,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:48:34] local.INFO: Acknowledgment sent {"connection_id":171641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:48:34] local.INFO: TCP Data received {"connection_id":172749,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9240f8012d7d190005ec43680006005c25..."} 
[2026-09-05 08:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9240f8012d7d190005ec43680006005c25..."} 
[2026-09-05 08:48:34] local.INFO: Processing buffer {"connection_id":172749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9240f8012d7d190005ec43680006005c25..."} 
[2026-09-05 08:48:34] local.INFO: Packet analysis {"connection_id":172749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f92"} 
[2026-09-05 08:48:34] local.INFO: Extracted packet for processing {"connection_id":172749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f92"} 
[2026-09-05 08:48:34] local.INFO: GPS Element Parsed {"raw_longitude":763173120,"raw_latitude":99369832,"longitude_deg":76.317312,"latitude_deg":9.9369832,"altitude":6,"angle":92,"satellites":37,"speed":18,"hex_longitude":"2d7d1900","hex_latitude":"05ec4368","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876028160001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128462793945907200,"note":"Value kept but may cause issues"} 
[2026-09-05 08:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004243792924106752,"note":"Value kept but may cause issues"} 
[2026-09-05 08:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788578251000,"timestamp_ms":1788578251000,"timestamp_seconds":1788578251,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9240f8"} 
[2026-09-05 08:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-05 08:48:34] 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-09-05 08: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-09-05 08:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876028160001,"66":13678,"110":206,"87":13824,"24":18,"16":128462793945907200,"45":9004243792924106752},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-05 08:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876028160001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:48:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 08:48:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128462793945907200,"km_value":128462793945907.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004243792924106752,"description":"Unknown IO ID 45"} 
[2026-09-05 08:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876028160001,"power":13678,"unknown_110":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":9004243792924106752}} 
[2026-09-05 08:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":172749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767532,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:48:34] local.INFO: GPS data processed {"connection_id":172749,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:48:34] local.INFO: Acknowledgment sent {"connection_id":172749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:48:42] local.INFO: TCP Data received {"connection_id":171642,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9342c8012d0e0a80070688600016013a16..."} 
[2026-09-05 08:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9342c8012d0e0a80070688600016013a16..."} 
[2026-09-05 08:48:42] local.INFO: Processing buffer {"connection_id":171642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9342c8012d0e0a80070688600016013a16..."} 
[2026-09-05 08:48:42] local.INFO: Packet analysis {"connection_id":171642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f93"} 
[2026-09-05 08:48:42] local.INFO: Extracted packet for processing {"connection_id":171642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f93"} 
[2026-09-05 08:48:42] local.INFO: GPS Element Parsed {"raw_longitude":755894912,"raw_latitude":117868640,"longitude_deg":75.5894912,"latitude_deg":11.786864,"altitude":22,"angle":314,"satellites":22,"speed":4,"hex_longitude":"2d0e0a80","hex_latitude":"07068860","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876048640001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30262769064345600,"note":"Value kept but may cause issues"} 
[2026-09-05 08:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1012043308937492480,"note":"Value kept but may cause issues"} 
[2026-09-05 08:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788578317000,"timestamp_ms":1788578317000,"timestamp_seconds":1788578317,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9342c8"} 
[2026-09-05 08:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-05 08:48:42] 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-09-05 08: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-09-05 08:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":171642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":171642,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":171642,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 08:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 08:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876048640001,"66":13852,"219":206,"94":10240,"24":4,"16":30262769064345600,"45":1012043308937492480},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-05 08:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 08:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 08:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876048640001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:48:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-05 08:48:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 08:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30262769064345600,"km_value":30262769064345.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1012043308937492480,"description":"Unknown IO ID 45"} 
[2026-09-05 08:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876048640001,"power":13852,"unknown_219":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":1012043308937492480}} 
[2026-09-05 08:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":171642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767533,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:48:42] local.INFO: GPS data processed {"connection_id":171642,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:48:42] local.INFO: Acknowledgment sent {"connection_id":171642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:48:56] local.INFO: TCP Data received {"connection_id":172750,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:48:56] local.INFO: Processing buffer {"connection_id":172750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:48:56] local.INFO: IMEI packet received {"connection_id":172750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":172750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:49:02] local.INFO: TCP Data received {"connection_id":172750,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:49:02] local.INFO: Processing buffer {"connection_id":172750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:49:02] local.INFO: IMEI packet received {"connection_id":172750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":172750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:49:03] local.INFO: TCP Data received {"connection_id":172750,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f921218012d51b2800682c7b00089008227..."} 
[2026-09-05 08:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f921218012d51b2800682c7b00089008227..."} 
[2026-09-05 08:49:03] local.INFO: Processing buffer {"connection_id":172750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f921218012d51b2800682c7b00089008227..."} 
[2026-09-05 08:49:03] local.INFO: Packet analysis {"connection_id":172750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f92"} 
[2026-09-05 08:49:03] local.INFO: Extracted packet for processing {"connection_id":172750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f92"} 
[2026-09-05 08:49:03] local.INFO: GPS Element Parsed {"raw_longitude":760328832,"raw_latitude":109234096,"longitude_deg":76.0328832,"latitude_deg":10.9234096,"altitude":137,"angle":130,"satellites":39,"speed":62,"hex_longitude":"2d51b280","hex_latitude":"0682c7b0","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876027648001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399227711358238720,"note":"Value kept but may cause issues"} 
[2026-09-05 08:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5879238235265277952,"note":"Value kept but may cause issues"} 
[2026-09-05 08:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788578239000,"timestamp_ms":1788578239000,"timestamp_seconds":1788578239,"priority":1,"record_length":96,"hex_timestamp":"000001a06f921218"} 
[2026-09-05 08:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:49: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-09-05 08: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 08:49:03] 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-09-05 08: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-09-05 08:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:49: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-09-05 08:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876027648001,"66":27843,"165":206,"80":60928,"24":62,"16":399227711358238720,"45":5879238235265277952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,80,24,16,45]} 
[2026-09-05 08:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876027648001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:49:03] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-05 08:49:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-05 08:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399227711358238720,"km_value":399227711358238.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5879238235265277952,"description":"Unknown IO ID 45"} 
[2026-09-05 08:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876027648001,"power":27843,"unknown_165":206,"unknown_80":60928,"ignition":62,"odometer":null,"unknown_45":5879238235265277952}} 
[2026-09-05 08:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":172750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:49:03] local.INFO: GPS data processed {"connection_id":172750,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:49:03] local.INFO: Acknowledgment sent {"connection_id":172750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:49:05] local.INFO: TCP Data received {"connection_id":174056,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174056,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:49:05] local.INFO: Processing buffer {"connection_id":174056,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:49:05] local.INFO: IMEI packet received {"connection_id":174056,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 08:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":174056,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:49:05] local.INFO: TCP Data received {"connection_id":172749,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f925098012d7d1e4005ec42c80005007424..."} 
[2026-09-05 08:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f925098012d7d1e4005ec42c80005007424..."} 
[2026-09-05 08:49:05] local.INFO: Processing buffer {"connection_id":172749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f925098012d7d1e4005ec42c80005007424..."} 
[2026-09-05 08:49:05] local.INFO: Packet analysis {"connection_id":172749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f92"} 
[2026-09-05 08:49:05] local.INFO: Extracted packet for processing {"connection_id":172749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f92"} 
[2026-09-05 08:49:05] local.INFO: GPS Element Parsed {"raw_longitude":763174464,"raw_latitude":99369672,"longitude_deg":76.3174464,"latitude_deg":9.9369672,"altitude":5,"angle":116,"satellites":36,"speed":12,"hex_longitude":"2d7d1e40","hex_latitude":"05ec42c8","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876032256001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128462858370416640,"note":"Value kept but may cause issues"} 
[2026-09-05 08:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014236154597435392,"note":"Value kept but may cause issues"} 
[2026-09-05 08:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788578255000,"timestamp_ms":1788578255000,"timestamp_seconds":1788578255,"priority":1,"record_length":96,"hex_timestamp":"000001a06f925098"} 
[2026-09-05 08:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08: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-09-05 08: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-09-05 08:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876032256001,"66":13374,"110":206,"87":13824,"24":12,"16":128462858370416640,"45":9014236154597435392},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-05 08:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876032256001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:49:05] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 08:49:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128462858370416640,"km_value":128462858370416.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014236154597435392,"description":"Unknown IO ID 45"} 
[2026-09-05 08:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876032256001,"power":13374,"unknown_110":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":9014236154597435392}} 
[2026-09-05 08:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":172749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767535,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:49:06] local.INFO: GPS data processed {"connection_id":172749,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:49:06] local.INFO: Acknowledgment sent {"connection_id":172749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:49:06] local.INFO: TCP Data received {"connection_id":174056,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174056,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:49:06] local.INFO: Processing buffer {"connection_id":174056,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:49:06] local.INFO: IMEI packet received {"connection_id":174056,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 08:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":174056,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:49:07] local.INFO: TCP Data received {"connection_id":174056,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174056,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:49:07] local.INFO: Processing buffer {"connection_id":174056,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:49:07] local.INFO: IMEI packet received {"connection_id":174056,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 08:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":174056,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:49:08] local.INFO: TCP Data received {"connection_id":174056,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174056,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:49:08] local.INFO: Processing buffer {"connection_id":174056,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:49:08] local.INFO: IMEI packet received {"connection_id":174056,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 08:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":174056,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:49:26] local.INFO: TCP Data received {"connection_id":171643,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:49:26] local.INFO: Processing buffer {"connection_id":171643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:49:26] local.INFO: IMEI packet received {"connection_id":171643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":171643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:49:26] local.INFO: TCP Data received {"connection_id":171643,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:49:26] local.INFO: Processing buffer {"connection_id":171643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:49:26] local.INFO: IMEI packet received {"connection_id":171643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":171643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:49:30] local.INFO: TCP Data received {"connection_id":171643,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:49:30] local.INFO: Processing buffer {"connection_id":171643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:49:30] local.INFO: IMEI packet received {"connection_id":171643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":171643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:49:31] local.INFO: TCP Data received {"connection_id":171643,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f925480012d7d1f4005ec41f00005008c24..."} 
[2026-09-05 08:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f925480012d7d1f4005ec41f00005008c24..."} 
[2026-09-05 08:49:31] local.INFO: Processing buffer {"connection_id":171643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f925480012d7d1f4005ec41f00005008c24..."} 
[2026-09-05 08:49:31] local.INFO: Packet analysis {"connection_id":171643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f92"} 
[2026-09-05 08:49:31] local.INFO: Extracted packet for processing {"connection_id":171643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f92"} 
[2026-09-05 08:49:31] local.INFO: GPS Element Parsed {"raw_longitude":763174720,"raw_latitude":99369456,"longitude_deg":76.317472,"latitude_deg":9.9369456,"altitude":5,"angle":140,"satellites":36,"speed":12,"hex_longitude":"2d7d1f40","hex_latitude":"05ec41f0","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876033280001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128462875550285824,"note":"Value kept but may cause issues"} 
[2026-09-05 08:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015713898225125376,"note":"Value kept but may cause issues"} 
[2026-09-05 08:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788578256000,"timestamp_ms":1788578256000,"timestamp_seconds":1788578256,"priority":1,"record_length":96,"hex_timestamp":"000001a06f925480"} 
[2026-09-05 08:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-05 08:49:31] 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-09-05 08: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-09-05 08:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876033280001,"66":13559,"110":206,"87":13824,"24":12,"16":128462875550285824,"45":9015713898225125376},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-05 08:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876033280001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:49:31] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 08:49:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128462875550285824,"km_value":128462875550285.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015713898225125376,"description":"Unknown IO ID 45"} 
[2026-09-05 08:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876033280001,"power":13559,"unknown_110":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":9015713898225125376}} 
[2026-09-05 08:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":171643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:49:31] local.INFO: GPS data processed {"connection_id":171643,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:49:31] local.INFO: Acknowledgment sent {"connection_id":171643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:49:33] local.INFO: TCP Data received {"connection_id":172750,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f935a38012d53324006819a90008a00852b..."} 
[2026-09-05 08:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f935a38012d53324006819a90008a00852b..."} 
[2026-09-05 08:49:33] local.INFO: Processing buffer {"connection_id":172750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f935a38012d53324006819a90008a00852b..."} 
[2026-09-05 08:49:33] local.INFO: Packet analysis {"connection_id":172750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f93"} 
[2026-09-05 08:49:33] local.INFO: Extracted packet for processing {"connection_id":172750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f93"} 
[2026-09-05 08:49:33] local.INFO: GPS Element Parsed {"raw_longitude":760427072,"raw_latitude":109157008,"longitude_deg":76.0427072,"latitude_deg":10.9157008,"altitude":138,"angle":133,"satellites":43,"speed":60,"hex_longitude":"2d533240","hex_latitude":"06819a90","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876049152001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399233715722518528,"note":"Value kept but may cause issues"} 
[2026-09-05 08:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5987535732534890496,"note":"Value kept but may cause issues"} 
[2026-09-05 08:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788578323000,"timestamp_ms":1788578323000,"timestamp_seconds":1788578323,"priority":1,"record_length":96,"hex_timestamp":"000001a06f935a38"} 
[2026-09-05 08:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:49: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-09-05 08: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":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-05 08:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:49: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-09-05 08:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876049152001,"66":27876,"153":206,"80":60928,"24":60,"16":399233715722518528,"45":5987535732534890496},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,80,24,16,45]} 
[2026-09-05 08:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876049152001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:49:34] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-05 08:49:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-05 08:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399233715722518528,"km_value":399233715722518.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5987535732534890496,"description":"Unknown IO ID 45"} 
[2026-09-05 08:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876049152001,"power":27876,"unknown_153":206,"unknown_80":60928,"ignition":60,"odometer":null,"unknown_45":5987535732534890496}} 
[2026-09-05 08:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":172750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:49:34] local.INFO: GPS data processed {"connection_id":172750,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:49:34] local.INFO: Acknowledgment sent {"connection_id":172750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:50:03] local.INFO: TCP Data received {"connection_id":171643,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f925868012d7d1fc005ec40e8000500a524..."} 
[2026-09-05 08:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f925868012d7d1fc005ec40e8000500a524..."} 
[2026-09-05 08:50:03] local.INFO: Processing buffer {"connection_id":171643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f925868012d7d1fc005ec40e8000500a524..."} 
[2026-09-05 08:50:03] local.INFO: Packet analysis {"connection_id":171643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f92"} 
[2026-09-05 08:50:03] local.INFO: Extracted packet for processing {"connection_id":171643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f92"} 
[2026-09-05 08:50:03] local.INFO: GPS Element Parsed {"raw_longitude":763174848,"raw_latitude":99369192,"longitude_deg":76.3174848,"latitude_deg":9.9369192,"altitude":5,"angle":165,"satellites":36,"speed":10,"hex_longitude":"2d7d1fc0","hex_latitude":"05ec40e8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876033536001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128462888435187712,"note":"Value kept but may cause issues"} 
[2026-09-05 08:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015995373201780736,"note":"Value kept but may cause issues"} 
[2026-09-05 08:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788578257000,"timestamp_ms":1788578257000,"timestamp_seconds":1788578257,"priority":1,"record_length":96,"hex_timestamp":"000001a06f925868"} 
[2026-09-05 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-09-05 08:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-05 08:50:03] 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-09-05 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-09-05 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-09-05 08:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876033536001,"66":13319,"110":206,"87":13824,"24":10,"16":128462888435187712,"45":9015995373201780736},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-05 08:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876033536001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:50:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 08:50:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128462888435187712,"km_value":128462888435187.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015995373201780736,"description":"Unknown IO ID 45"} 
[2026-09-05 08:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876033536001,"power":13319,"unknown_110":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9015995373201780736}} 
[2026-09-05 08:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":171643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767538,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:50:03] local.INFO: GPS data processed {"connection_id":171643,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:50:03] local.INFO: Acknowledgment sent {"connection_id":171643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:50:06] local.INFO: TCP Data received {"connection_id":171350,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:50:06] local.INFO: Processing buffer {"connection_id":171350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:50:06] local.INFO: IMEI packet received {"connection_id":171350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":171350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:50:09] local.INFO: TCP Data received {"connection_id":171350,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:50:09] local.INFO: Processing buffer {"connection_id":171350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:50:09] local.INFO: IMEI packet received {"connection_id":171350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":171350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:50:12] local.INFO: TCP Data received {"connection_id":171350,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:50:12] local.INFO: Processing buffer {"connection_id":171350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:50:12] local.INFO: IMEI packet received {"connection_id":171350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":171350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:50:14] local.INFO: TCP Data received {"connection_id":171350,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9371a8012d534cc0068181780088008628..."} 
[2026-09-05 08:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9371a8012d534cc0068181780088008628..."} 
[2026-09-05 08:50:14] local.INFO: Processing buffer {"connection_id":171350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9371a8012d534cc0068181780088008628..."} 
[2026-09-05 08:50:14] local.INFO: Packet analysis {"connection_id":171350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f93"} 
[2026-09-05 08:50:14] local.INFO: Extracted packet for processing {"connection_id":171350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f93"} 
[2026-09-05 08:50:14] local.INFO: GPS Element Parsed {"raw_longitude":760433856,"raw_latitude":109150584,"longitude_deg":76.0433856,"latitude_deg":10.9150584,"altitude":136,"angle":134,"satellites":40,"speed":62,"hex_longitude":"2d534cc0","hex_latitude":"06818178","is_valid_coordinates":true} 
[2026-09-05 08:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876050688001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399234166694084608,"note":"Value kept but may cause issues"} 
[2026-09-05 08:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5994924450671923200,"note":"Value kept but may cause issues"} 
[2026-09-05 08:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788578329000,"timestamp_ms":1788578329000,"timestamp_seconds":1788578329,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9371a8"} 
[2026-09-05 08:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:50:14] 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-09-05 08:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 08:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":171350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":171350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":171350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876050688001,"66":27908,"153":206,"80":60928,"24":62,"16":399234166694084608,"45":5994924450671923200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,80,24,16,45]} 
[2026-09-05 08:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876050688001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:50:14] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-05 08:50:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-05 08:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399234166694084608,"km_value":399234166694084.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5994924450671923200,"description":"Unknown IO ID 45"} 
[2026-09-05 08:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876050688001,"power":27908,"unknown_153":206,"unknown_80":60928,"ignition":62,"odometer":null,"unknown_45":5994924450671923200}} 
[2026-09-05 08:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":171350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:50:14] local.INFO: GPS data processed {"connection_id":171350,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:50:14] local.INFO: Acknowledgment sent {"connection_id":171350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:50:25] local.INFO: TCP Data received {"connection_id":174057,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:50:25] local.INFO: Processing buffer {"connection_id":174057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:50:25] local.INFO: IMEI packet received {"connection_id":174057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":174057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:50:26] local.INFO: TCP Data received {"connection_id":174057,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:50:26] local.INFO: Processing buffer {"connection_id":174057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:50:26] local.INFO: IMEI packet received {"connection_id":174057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":174057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:50:31] local.INFO: TCP Data received {"connection_id":174057,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:50:31] local.INFO: Processing buffer {"connection_id":174057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:50:31] local.INFO: IMEI packet received {"connection_id":174057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":174057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:50:32] local.INFO: TCP Data received {"connection_id":174057,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f944880012d7bf68005ec31780010010826..."} 
[2026-09-05 08:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f944880012d7bf68005ec31780010010826..."} 
[2026-09-05 08:50:32] local.INFO: Processing buffer {"connection_id":174057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f944880012d7bf68005ec31780010010826..."} 
[2026-09-05 08:50:32] local.INFO: Packet analysis {"connection_id":174057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f94"} 
[2026-09-05 08:50:32] local.INFO: Extracted packet for processing {"connection_id":174057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f94"} 
[2026-09-05 08:50:32] local.INFO: GPS Element Parsed {"raw_longitude":763098752,"raw_latitude":99365240,"longitude_deg":76.3098752,"latitude_deg":9.936524,"altitude":16,"angle":264,"satellites":38,"speed":0,"hex_longitude":"2d7bf680","hex_latitude":"05ec3178","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876061184001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128466556337258496,"note":"Value kept but may cause issues"} 
[2026-09-05 08:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941967454325938176,"note":"Value kept but may cause issues"} 
[2026-09-05 08:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788578384000,"timestamp_ms":1788578384000,"timestamp_seconds":1788578384,"priority":1,"record_length":96,"hex_timestamp":"000001a06f944880"} 
[2026-09-05 08:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-05 08:50:32] 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-09-05 08: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-09-05 08:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876061184001,"66":13472,"198":206,"87":13824,"24":0,"16":128466556337258496,"45":8941967454325938176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 08:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876061184001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:50:32] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 08:50:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128466556337258496,"km_value":128466556337258.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941967454325938176,"description":"Unknown IO ID 45"} 
[2026-09-05 08:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876061184001,"power":13472,"unknown_198":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8941967454325938176}} 
[2026-09-05 08:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":174057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767540,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:50:32] local.INFO: GPS data processed {"connection_id":174057,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:50:32] local.INFO: Acknowledgment sent {"connection_id":174057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:51:04] local.INFO: TCP Data received {"connection_id":174057,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f949a88012d7beb0005ec2f90000f010326..."} 
[2026-09-05 08:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f949a88012d7beb0005ec2f90000f010326..."} 
[2026-09-05 08:51:04] local.INFO: Processing buffer {"connection_id":174057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f949a88012d7beb0005ec2f90000f010326..."} 
[2026-09-05 08:51:04] local.INFO: Packet analysis {"connection_id":174057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f94"} 
[2026-09-05 08:51:04] local.INFO: Extracted packet for processing {"connection_id":174057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f94"} 
[2026-09-05 08:51:04] local.INFO: GPS Element Parsed {"raw_longitude":763095808,"raw_latitude":99364752,"longitude_deg":76.3095808,"latitude_deg":9.9364752,"altitude":15,"angle":259,"satellites":38,"speed":13,"hex_longitude":"2d7beb00","hex_latitude":"05ec2f90","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876066304001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128466702366146560,"note":"Value kept but may cause issues"} 
[2026-09-05 08:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8932467673861814272,"note":"Value kept but may cause issues"} 
[2026-09-05 08:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788578405000,"timestamp_ms":1788578405000,"timestamp_seconds":1788578405,"priority":1,"record_length":96,"hex_timestamp":"000001a06f949a88"} 
[2026-09-05 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-09-05 08:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-05 08:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 08:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876066304001,"66":13222,"198":206,"87":13824,"24":13,"16":128466702366146560,"45":8932467673861814272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 08:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876066304001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:51:04] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 08:51:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128466702366146560,"km_value":128466702366146.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8932467673861814272,"description":"Unknown IO ID 45"} 
[2026-09-05 08:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876066304001,"power":13222,"unknown_198":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8932467673861814272}} 
[2026-09-05 08:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":174057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767541,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:51:04] local.INFO: GPS data processed {"connection_id":174057,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:51:04] local.INFO: Acknowledgment sent {"connection_id":174057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:51:26] local.INFO: TCP Data received {"connection_id":172751,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:51:26] local.INFO: Processing buffer {"connection_id":172751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:51:26] local.INFO: IMEI packet received {"connection_id":172751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":172751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:51:29] local.INFO: TCP Data received {"connection_id":172751,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:51:29] local.INFO: Processing buffer {"connection_id":172751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:51:29] local.INFO: IMEI packet received {"connection_id":172751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":172751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:51:30] local.INFO: TCP Data received {"connection_id":172751,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f94e0d8012d7bc78005ec26e0001100fc26..."} 
[2026-09-05 08:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f94e0d8012d7bc78005ec26e0001100fc26..."} 
[2026-09-05 08:51:30] local.INFO: Processing buffer {"connection_id":172751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f94e0d8012d7bc78005ec26e0001100fc26..."} 
[2026-09-05 08:51:30] local.INFO: Packet analysis {"connection_id":172751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f94"} 
[2026-09-05 08:51:30] local.INFO: Extracted packet for processing {"connection_id":172751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f94"} 
[2026-09-05 08:51:30] local.INFO: GPS Element Parsed {"raw_longitude":763086720,"raw_latitude":99362528,"longitude_deg":76.308672,"latitude_deg":9.9362528,"altitude":17,"angle":252,"satellites":38,"speed":25,"hex_longitude":"2d7bc780","hex_latitude":"05ec26e0","is_valid_coordinates":true} 
[2026-09-05 08:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876071680001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128467149042745344,"note":"Value kept but may cause issues"} 
[2026-09-05 08:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929230711629516800,"note":"Value kept but may cause issues"} 
[2026-09-05 08:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788578423000,"timestamp_ms":1788578423000,"timestamp_seconds":1788578423,"priority":1,"record_length":96,"hex_timestamp":"000001a06f94e0d8"} 
[2026-09-05 08:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-05 08:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876071680001,"66":13493,"198":206,"87":13824,"24":25,"16":128467149042745344,"45":8929230711629516800},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 08:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876071680001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:51:30] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 08:51:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128467149042745344,"km_value":128467149042745.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929230711629516800,"description":"Unknown IO ID 45"} 
[2026-09-05 08:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876071680001,"power":13493,"unknown_198":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8929230711629516800}} 
[2026-09-05 08:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":172751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767542,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:51:30] local.INFO: GPS data processed {"connection_id":172751,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:51:30] local.INFO: Acknowledgment sent {"connection_id":172751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:51:31] local.INFO: TCP Data received {"connection_id":172752,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:51:31] local.INFO: Processing buffer {"connection_id":172752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:51:31] local.INFO: IMEI packet received {"connection_id":172752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":172752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:51:40] local.INFO: TCP Data received {"connection_id":172752,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:51:40] local.INFO: Processing buffer {"connection_id":172752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:51:40] local.INFO: IMEI packet received {"connection_id":172752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":172752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:51:41] local.INFO: TCP Data received {"connection_id":172752,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:51:41] local.INFO: Processing buffer {"connection_id":172752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:51:41] local.INFO: IMEI packet received {"connection_id":172752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":172752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:51:42] local.INFO: TCP Data received {"connection_id":172752,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f952728012d555280067edf58002500922b..."} 
[2026-09-05 08:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f952728012d555280067edf58002500922b..."} 
[2026-09-05 08:51:42] local.INFO: Processing buffer {"connection_id":172752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f952728012d555280067edf58002500922b..."} 
[2026-09-05 08:51:42] local.INFO: Packet analysis {"connection_id":172752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f95"} 
[2026-09-05 08:51:42] local.INFO: Extracted packet for processing {"connection_id":172752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f95"} 
[2026-09-05 08:51:42] local.INFO: GPS Element Parsed {"raw_longitude":760566400,"raw_latitude":108978008,"longitude_deg":76.05664,"latitude_deg":10.8978008,"altitude":37,"angle":146,"satellites":43,"speed":82,"hex_longitude":"2d555280","hex_latitude":"067edf58","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876079616001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399244848277749760,"note":"Value kept but may cause issues"} 
[2026-09-05 08:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6141572913494552576,"note":"Value kept but may cause issues"} 
[2026-09-05 08:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788578441000,"timestamp_ms":1788578441000,"timestamp_seconds":1788578441,"priority":1,"record_length":96,"hex_timestamp":"000001a06f952728"} 
[2026-09-05 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-09-05 08:51:42] 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-09-05 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 08:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 08:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":172752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":172752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":172752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:51: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-09-05 08:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876079616001,"66":27930,"228":206,"80":60928,"24":82,"16":399244848277749760,"45":6141572913494552576},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,80,24,16,45]} 
[2026-09-05 08:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876079616001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:51:42] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-05 08:51:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-05 08:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399244848277749760,"km_value":399244848277749.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6141572913494552576,"description":"Unknown IO ID 45"} 
[2026-09-05 08:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876079616001,"power":27930,"unknown_228":206,"unknown_80":60928,"ignition":82,"odometer":null,"unknown_45":6141572913494552576}} 
[2026-09-05 08:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":172752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:51:42] local.INFO: GPS data processed {"connection_id":172752,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:51:42] local.INFO: Acknowledgment sent {"connection_id":172752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:52:01] local.INFO: TCP Data received {"connection_id":172751,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f950fb8012d7ba3c005ec1c38001200fd25..."} 
[2026-09-05 08:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f950fb8012d7ba3c005ec1c38001200fd25..."} 
[2026-09-05 08:52:01] local.INFO: Processing buffer {"connection_id":172751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f950fb8012d7ba3c005ec1c38001200fd25..."} 
[2026-09-05 08:52:01] local.INFO: Packet analysis {"connection_id":172751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f95"} 
[2026-09-05 08:52:01] local.INFO: Extracted packet for processing {"connection_id":172751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f95"} 
[2026-09-05 08:52:01] local.INFO: GPS Element Parsed {"raw_longitude":763077568,"raw_latitude":99359800,"longitude_deg":76.3077568,"latitude_deg":9.93598,"altitude":18,"angle":253,"satellites":37,"speed":32,"hex_longitude":"2d7ba3c0","hex_latitude":"05ec1c38","is_valid_coordinates":true} 
[2026-09-05 08:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876076288001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128467604309278720,"note":"Value kept but may cause issues"} 
[2026-09-05 08:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919238349955719168,"note":"Value kept but may cause issues"} 
[2026-09-05 08:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788578435000,"timestamp_ms":1788578435000,"timestamp_seconds":1788578435,"priority":1,"record_length":96,"hex_timestamp":"000001a06f950fb8"} 
[2026-09-05 08:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-05 08:52:01] 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-09-05 08:52:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876076288001,"66":13689,"198":206,"87":13824,"24":32,"16":128467604309278720,"45":8919238349955719168},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 08:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876076288001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:52:01] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 08:52:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128467604309278720,"km_value":128467604309278.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919238349955719168,"description":"Unknown IO ID 45"} 
[2026-09-05 08:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876076288001,"power":13689,"unknown_198":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8919238349955719168}} 
[2026-09-05 08:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":172751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:52:02] local.INFO: GPS data processed {"connection_id":172751,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:52:02] local.INFO: Acknowledgment sent {"connection_id":172751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:52:02] local.INFO: TCP Data received {"connection_id":172753,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:52:02] local.INFO: Processing buffer {"connection_id":172753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:52:02] local.INFO: IMEI packet received {"connection_id":172753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":172753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:52:04] local.INFO: TCP Data received {"connection_id":172753,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:52:04] local.INFO: Processing buffer {"connection_id":172753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:52:04] local.INFO: IMEI packet received {"connection_id":172753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":172753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:52:06] local.INFO: TCP Data received {"connection_id":172753,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:52:06] local.INFO: Processing buffer {"connection_id":172753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:52:06] local.INFO: IMEI packet received {"connection_id":172753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":172753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:52:07] local.INFO: TCP Data received {"connection_id":172753,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f953ab0012d556580067ebb80002200a02a..."} 
[2026-09-05 08:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f953ab0012d556580067ebb80002200a02a..."} 
[2026-09-05 08:52:07] local.INFO: Processing buffer {"connection_id":172753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f953ab0012d556580067ebb80002200a02a..."} 
[2026-09-05 08:52:07] local.INFO: Packet analysis {"connection_id":172753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f95"} 
[2026-09-05 08:52:07] local.INFO: Extracted packet for processing {"connection_id":172753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f95"} 
[2026-09-05 08:52:07] local.INFO: GPS Element Parsed {"raw_longitude":760571264,"raw_latitude":108968832,"longitude_deg":76.0571264,"latitude_deg":10.8968832,"altitude":34,"angle":160,"satellites":42,"speed":82,"hex_longitude":"2d556580","hex_latitude":"067ebb80","is_valid_coordinates":true} 
[2026-09-05 08:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876082176001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399245355083890688,"note":"Value kept but may cause issues"} 
[2026-09-05 08:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6153465231256027136,"note":"Value kept but may cause issues"} 
[2026-09-05 08:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788578446000,"timestamp_ms":1788578446000,"timestamp_seconds":1788578446,"priority":1,"record_length":96,"hex_timestamp":"000001a06f953ab0"} 
[2026-09-05 08:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:52: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-09-05 08:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 08:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876082176001,"66":27908,"228":206,"80":60928,"24":82,"16":399245355083890688,"45":6153465231256027136},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,80,24,16,45]} 
[2026-09-05 08:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876082176001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:52:07] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-05 08:52:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-05 08:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399245355083890688,"km_value":399245355083890.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6153465231256027136,"description":"Unknown IO ID 45"} 
[2026-09-05 08:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876082176001,"power":27908,"unknown_228":206,"unknown_80":60928,"ignition":82,"odometer":null,"unknown_45":6153465231256027136}} 
[2026-09-05 08:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":172753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:52:07] local.INFO: GPS data processed {"connection_id":172753,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:52:07] local.INFO: Acknowledgment sent {"connection_id":172753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:52:25] local.INFO: TCP Data received {"connection_id":174058,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174058,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:52:25] local.INFO: Processing buffer {"connection_id":174058,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:52:25] local.INFO: IMEI packet received {"connection_id":174058,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":174058,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:52:30] local.INFO: TCP Data received {"connection_id":174058,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174058,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:52:30] local.INFO: Processing buffer {"connection_id":174058,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:52:30] local.INFO: IMEI packet received {"connection_id":174058,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":174058,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:52:31] local.INFO: TCP Data received {"connection_id":174058,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9536c8012d7b820005ec1218001200fd26..."} 
[2026-09-05 08:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9536c8012d7b820005ec1218001200fd26..."} 
[2026-09-05 08:52:31] local.INFO: Processing buffer {"connection_id":174058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9536c8012d7b820005ec1218001200fd26..."} 
[2026-09-05 08:52:31] local.INFO: Packet analysis {"connection_id":174058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f95"} 
[2026-09-05 08:52:31] local.INFO: Extracted packet for processing {"connection_id":174058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f95"} 
[2026-09-05 08:52:31] local.INFO: GPS Element Parsed {"raw_longitude":763068928,"raw_latitude":99357208,"longitude_deg":76.3068928,"latitude_deg":9.9357208,"altitude":18,"angle":253,"satellites":38,"speed":35,"hex_longitude":"2d7b8200","hex_latitude":"05ec1218","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876079360001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128468033806008320,"note":"Value kept but may cause issues"} 
[2026-09-05 08:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909175619537614848,"note":"Value kept but may cause issues"} 
[2026-09-05 08:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788578445000,"timestamp_ms":1788578445000,"timestamp_seconds":1788578445,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9536c8"} 
[2026-09-05 08:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-05 08:52:31] 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-09-05 08: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-09-05 08:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876079360001,"66":13656,"198":206,"87":13824,"24":35,"16":128468033806008320,"45":8909175619537614848},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 08:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876079360001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:52:31] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 08:52:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128468033806008320,"km_value":128468033806008.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909175619537614848,"description":"Unknown IO ID 45"} 
[2026-09-05 08:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876079360001,"power":13656,"unknown_198":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8909175619537614848}} 
[2026-09-05 08:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":174058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767546,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:52:31] local.INFO: GPS data processed {"connection_id":174058,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:52:31] local.INFO: Acknowledgment sent {"connection_id":174058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:52:39] local.INFO: TCP Data received {"connection_id":172753,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f961d40012d561a00067d4358001600862b..."} 
[2026-09-05 08:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f961d40012d561a00067d4358001600862b..."} 
[2026-09-05 08:52:39] local.INFO: Processing buffer {"connection_id":172753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f961d40012d561a00067d4358001600862b..."} 
[2026-09-05 08:52:39] local.INFO: Packet analysis {"connection_id":172753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f96"} 
[2026-09-05 08:52:39] local.INFO: Extracted packet for processing {"connection_id":172753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f96"} 
[2026-09-05 08:52:39] local.INFO: GPS Element Parsed {"raw_longitude":760617472,"raw_latitude":108872536,"longitude_deg":76.0617472,"latitude_deg":10.8872536,"altitude":22,"angle":134,"satellites":43,"speed":59,"hex_longitude":"2d561a00","hex_latitude":"067d4358","is_valid_coordinates":true} 
[2026-09-05 08:52: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-09-05 08:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876095488001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399250616418828288,"note":"Value kept but may cause issues"} 
[2026-09-05 08:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6196812377646553088,"note":"Value kept but may cause issues"} 
[2026-09-05 08:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788578504000,"timestamp_ms":1788578504000,"timestamp_seconds":1788578504,"priority":1,"record_length":96,"hex_timestamp":"000001a06f961d40"} 
[2026-09-05 08:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:52:39] 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-09-05 08:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 08:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:52: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-09-05 08:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876095488001,"66":27865,"109":206,"80":60928,"24":59,"16":399250616418828288,"45":6196812377646553088},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-09-05 08:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876095488001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:52:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-05 08:52:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-05 08:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399250616418828288,"km_value":399250616418828.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":6196812377646553088,"description":"Unknown IO ID 45"} 
[2026-09-05 08:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876095488001,"power":27865,"unknown_109":206,"unknown_80":60928,"ignition":59,"odometer":null,"unknown_45":6196812377646553088}} 
[2026-09-05 08:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":172753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:52:39] local.INFO: GPS data processed {"connection_id":172753,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:52:39] local.INFO: Acknowledgment sent {"connection_id":172753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:53:02] local.INFO: TCP Data received {"connection_id":174058,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9561c0012d7b5fc005ec06b8001100f925..."} 
[2026-09-05 08:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9561c0012d7b5fc005ec06b8001100f925..."} 
[2026-09-05 08:53:02] local.INFO: Processing buffer {"connection_id":174058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9561c0012d7b5fc005ec06b8001100f925..."} 
[2026-09-05 08:53:02] local.INFO: Packet analysis {"connection_id":174058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f95"} 
[2026-09-05 08:53:02] local.INFO: Extracted packet for processing {"connection_id":174058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f95"} 
[2026-09-05 08:53:02] local.INFO: GPS Element Parsed {"raw_longitude":763060160,"raw_latitude":99354296,"longitude_deg":76.306016,"latitude_deg":9.9354296,"altitude":17,"angle":249,"satellites":37,"speed":33,"hex_longitude":"2d7b5fc0","hex_latitude":"05ec06b8","is_valid_coordinates":true} 
[2026-09-05 08:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876081920001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128468476187639808,"note":"Value kept but may cause issues"} 
[2026-09-05 08:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899675839072966656,"note":"Value kept but may cause issues"} 
[2026-09-05 08:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788578456000,"timestamp_ms":1788578456000,"timestamp_seconds":1788578456,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9561c0"} 
[2026-09-05 08:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 08:53:02] 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-09-05 08:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876081920001,"66":13059,"198":206,"87":13824,"24":33,"16":128468476187639808,"45":8899675839072966656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 08:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876081920001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:53:02] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 08:53:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128468476187639808,"km_value":128468476187639.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899675839072966656,"description":"Unknown IO ID 45"} 
[2026-09-05 08:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876081920001,"power":13059,"unknown_198":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8899675839072966656}} 
[2026-09-05 08:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":174058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767548,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:53:02] local.INFO: GPS data processed {"connection_id":174058,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:53:02] local.INFO: Acknowledgment sent {"connection_id":174058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:53:08] local.INFO: TCP Data received {"connection_id":171646,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:53:09] local.INFO: Processing buffer {"connection_id":171646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:53:09] local.INFO: IMEI packet received {"connection_id":171646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":171646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:53:10] local.INFO: TCP Data received {"connection_id":171646,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:53:10] local.INFO: Processing buffer {"connection_id":171646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:53:10] local.INFO: IMEI packet received {"connection_id":171646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":171646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:53:13] local.INFO: TCP Data received {"connection_id":171646,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:53:13] local.INFO: Processing buffer {"connection_id":171646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:53:13] local.INFO: IMEI packet received {"connection_id":171646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":171646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:53:15] local.INFO: TCP Data received {"connection_id":171646,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f963898012d563680067d2728001800862b..."} 
[2026-09-05 08:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f963898012d563680067d2728001800862b..."} 
[2026-09-05 08:53:15] local.INFO: Processing buffer {"connection_id":171646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f963898012d563680067d2728001800862b..."} 
[2026-09-05 08:53:15] local.INFO: Packet analysis {"connection_id":171646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f96"} 
[2026-09-05 08:53:15] local.INFO: Extracted packet for processing {"connection_id":171646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f96"} 
[2026-09-05 08:53:15] local.INFO: GPS Element Parsed {"raw_longitude":760624768,"raw_latitude":108865320,"longitude_deg":76.0624768,"latitude_deg":10.886532,"altitude":24,"angle":134,"satellites":43,"speed":57,"hex_longitude":"2d563680","hex_latitude":"067d2728","is_valid_coordinates":true} 
[2026-09-05 08:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876097024001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399251110340067328,"note":"Value kept but may cause issues"} 
[2026-09-05 08:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6204271464527648768,"note":"Value kept but may cause issues"} 
[2026-09-05 08:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788578511000,"timestamp_ms":1788578511000,"timestamp_seconds":1788578511,"priority":1,"record_length":96,"hex_timestamp":"000001a06f963898"} 
[2026-09-05 08:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 08:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":171646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":171646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":171646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876097024001,"66":27865,"109":206,"80":60928,"24":57,"16":399251110340067328,"45":6204271464527648768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-09-05 08:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876097024001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:53:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-05 08:53:15] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-05 08:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399251110340067328,"km_value":399251110340067.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":6204271464527648768,"description":"Unknown IO ID 45"} 
[2026-09-05 08:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876097024001,"power":27865,"unknown_109":206,"unknown_80":60928,"ignition":57,"odometer":null,"unknown_45":6204271464527648768}} 
[2026-09-05 08:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":171646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:53:15] local.INFO: GPS data processed {"connection_id":171646,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:53:15] local.INFO: Acknowledgment sent {"connection_id":171646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:53:25] local.INFO: TCP Data received {"connection_id":174059,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:53:25] local.INFO: Processing buffer {"connection_id":174059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:53:25] local.INFO: IMEI packet received {"connection_id":174059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":174059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:53:26] local.INFO: TCP Data received {"connection_id":174059,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:53:26] local.INFO: Processing buffer {"connection_id":174059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:53:26] local.INFO: IMEI packet received {"connection_id":174059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":174059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:53:30] local.INFO: TCP Data received {"connection_id":174059,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:53:31] local.INFO: Processing buffer {"connection_id":174059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:53:31] local.INFO: IMEI packet received {"connection_id":174059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":174059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:53:31] local.INFO: TCP Data received {"connection_id":174059,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f974620012d7a680005eb98d0000500f720..."} 
[2026-09-05 08:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f974620012d7a680005eb98d0000500f720..."} 
[2026-09-05 08:53:31] local.INFO: Processing buffer {"connection_id":174059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f974620012d7a680005eb98d0000500f720..."} 
[2026-09-05 08:53:31] local.INFO: Packet analysis {"connection_id":174059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f97"} 
[2026-09-05 08:53:31] local.INFO: Extracted packet for processing {"connection_id":174059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f97"} 
[2026-09-05 08:53:31] local.INFO: GPS Element Parsed {"raw_longitude":762996736,"raw_latitude":99326160,"longitude_deg":76.2996736,"latitude_deg":9.932616,"altitude":5,"angle":247,"satellites":32,"speed":2,"hex_longitude":"2d7a6800","hex_latitude":"05eb98d0","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876115712001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128471804787294208,"note":"Value kept but may cause issues"} 
[2026-09-05 08:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820581370609342464,"note":"Value kept but may cause issues"} 
[2026-09-05 08:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788578580000,"timestamp_ms":1788578580000,"timestamp_seconds":1788578580,"priority":1,"record_length":96,"hex_timestamp":"000001a06f974620"} 
[2026-09-05 08:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-05 08:53:31] 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-09-05 08: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-09-05 08:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876115712001,"66":13526,"161":206,"87":13824,"24":2,"16":128471804787294208,"45":8820581370609342464},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-05 08:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876115712001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:53:31] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-05 08:53:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128471804787294208,"km_value":128471804787294.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820581370609342464,"description":"Unknown IO ID 45"} 
[2026-09-05 08:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876115712001,"power":13526,"unknown_161":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8820581370609342464}} 
[2026-09-05 08:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":174059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:53:31] local.INFO: GPS data processed {"connection_id":174059,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:53:31] local.INFO: Acknowledgment sent {"connection_id":174059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:53:46] local.INFO: TCP Data received {"connection_id":171644,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171644,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:53:46] local.INFO: Processing buffer {"connection_id":171644,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:53:46] local.INFO: IMEI packet received {"connection_id":171644,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 08:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":171644,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:54:02] local.INFO: TCP Data received {"connection_id":172755,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:54:02] local.INFO: Processing buffer {"connection_id":172755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:54:02] local.INFO: IMEI packet received {"connection_id":172755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":172755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:54:03] local.INFO: TCP Data received {"connection_id":174059,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9751d8012d7a660005eb98580005010520..."} 
[2026-09-05 08:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9751d8012d7a660005eb98580005010520..."} 
[2026-09-05 08:54:03] local.INFO: Processing buffer {"connection_id":174059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9751d8012d7a660005eb98580005010520..."} 
[2026-09-05 08:54:03] local.INFO: Packet analysis {"connection_id":174059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f97"} 
[2026-09-05 08:54:03] local.INFO: Extracted packet for processing {"connection_id":174059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f97"} 
[2026-09-05 08:54:03] local.INFO: GPS Element Parsed {"raw_longitude":762996224,"raw_latitude":99326040,"longitude_deg":76.2996224,"latitude_deg":9.932604,"altitude":5,"angle":261,"satellites":32,"speed":9,"hex_longitude":"2d7a6600","hex_latitude":"05eb9858","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876116480001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128471830557097984,"note":"Value kept but may cause issues"} 
[2026-09-05 08:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820299895632613376,"note":"Value kept but may cause issues"} 
[2026-09-05 08:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788578583000,"timestamp_ms":1788578583000,"timestamp_seconds":1788578583,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9751d8"} 
[2026-09-05 08:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 08:54:03] 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-09-05 08: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-09-05 08:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876116480001,"66":12635,"161":206,"87":13824,"24":9,"16":128471830557097984,"45":8820299895632613376},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-05 08:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876116480001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:54:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-05 08:54:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128471830557097984,"km_value":128471830557097.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820299895632613376,"description":"Unknown IO ID 45"} 
[2026-09-05 08:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876116480001,"power":12635,"unknown_161":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8820299895632613376}} 
[2026-09-05 08:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":174059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767551,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:54:03] local.INFO: GPS data processed {"connection_id":174059,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:54:03] local.INFO: Acknowledgment sent {"connection_id":174059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:54:06] local.INFO: TCP Data received {"connection_id":172755,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:54:06] local.INFO: Processing buffer {"connection_id":172755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:54:06] local.INFO: IMEI packet received {"connection_id":172755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":172755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:54:07] local.INFO: TCP Data received {"connection_id":172755,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f973680012d571700067c0c98001f00ab2b..."} 
[2026-09-05 08:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f973680012d571700067c0c98001f00ab2b..."} 
[2026-09-05 08:54:07] local.INFO: Processing buffer {"connection_id":172755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f973680012d571700067c0c98001f00ab2b..."} 
[2026-09-05 08:54:07] local.INFO: Packet analysis {"connection_id":172755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f97"} 
[2026-09-05 08:54:07] local.INFO: Extracted packet for processing {"connection_id":172755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f97"} 
[2026-09-05 08:54:07] local.INFO: GPS Element Parsed {"raw_longitude":760682240,"raw_latitude":108792984,"longitude_deg":76.068224,"latitude_deg":10.8792984,"altitude":31,"angle":171,"satellites":43,"speed":57,"hex_longitude":"2d571700","hex_latitude":"067c0c98","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876113664001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399255654415466496,"note":"Value kept but may cause issues"} 
[2026-09-05 08:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6273443940036415488,"note":"Value kept but may cause issues"} 
[2026-09-05 08:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788578576000,"timestamp_ms":1788578576000,"timestamp_seconds":1788578576,"priority":1,"record_length":96,"hex_timestamp":"000001a06f973680"} 
[2026-09-05 08:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:54: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-09-05 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 08:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876113664001,"66":27843,"108":206,"80":60928,"24":57,"16":399255654415466496,"45":6273443940036415488},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,80,24,16,45]} 
[2026-09-05 08:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876113664001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:54:07] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-05 08:54:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-05 08:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399255654415466496,"km_value":399255654415466.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6273443940036415488,"description":"Unknown IO ID 45"} 
[2026-09-05 08:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876113664001,"power":27843,"unknown_108":206,"unknown_80":60928,"ignition":57,"odometer":null,"unknown_45":6273443940036415488}} 
[2026-09-05 08:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":172755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:54:07] local.INFO: GPS data processed {"connection_id":172755,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:54:07] local.INFO: Acknowledgment sent {"connection_id":172755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:54:11] local.INFO: TCP Data received {"connection_id":174060,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174060,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:54:11] local.INFO: Processing buffer {"connection_id":174060,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:54:11] local.INFO: IMEI packet received {"connection_id":174060,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 08:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":174060,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:54:11] local.INFO: TCP Data received {"connection_id":174060,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06f979ff8012d0e3d00070701b00020014c1b..."} 
[2026-09-05 08:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f979ff8012d0e3d00070701b00020014c1b..."} 
[2026-09-05 08:54:11] local.INFO: Processing buffer {"connection_id":174060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f979ff8012d0e3d00070701b00020014c1b..."} 
[2026-09-05 08:54:11] local.INFO: Packet analysis {"connection_id":174060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f97"} 
[2026-09-05 08:54:11] local.INFO: Extracted packet for processing {"connection_id":174060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f97"} 
[2026-09-05 08:54:11] local.INFO: GPS Element Parsed {"raw_longitude":755907840,"raw_latitude":117899696,"longitude_deg":75.590784,"latitude_deg":11.7899696,"altitude":32,"angle":332,"satellites":27,"speed":12,"hex_longitude":"2d0e3d00","hex_latitude":"070701b0","is_valid_coordinates":true} 
[2026-09-05 08:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876121856001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30265260145377280,"note":"Value kept but may cause issues"} 
[2026-09-05 08:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026187426525030400,"note":"Value kept but may cause issues"} 
[2026-09-05 08:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788578603000,"timestamp_ms":1788578603000,"timestamp_seconds":1788578603,"priority":1,"record_length":96,"hex_timestamp":"000001a06f979ff8"} 
[2026-09-05 08:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:54: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-09-05 08:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-09-05 08:54:11] 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-09-05 08:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174060,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174060,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 08:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 08:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876121856001,"66":14407,"219":206,"94":10240,"24":12,"16":30265260145377280,"45":1026187426525030400},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-05 08:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 08:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 08:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876121856001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:54:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-05 08:54:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 08:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30265260145377280,"km_value":30265260145377.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026187426525030400,"description":"Unknown IO ID 45"} 
[2026-09-05 08:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876121856001,"power":14407,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":1026187426525030400}} 
[2026-09-05 08:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":174060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767553,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:54:11] local.INFO: GPS data processed {"connection_id":174060,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:54:11] local.INFO: Acknowledgment sent {"connection_id":174060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:54:31] local.INFO: TCP Data received {"connection_id":171647,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171647,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:54:31] local.INFO: Processing buffer {"connection_id":171647,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:54:31] local.INFO: IMEI packet received {"connection_id":171647,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":171647,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:54:36] local.INFO: TCP Data received {"connection_id":171647,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171647,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:54:36] local.INFO: Processing buffer {"connection_id":171647,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:54:36] local.INFO: IMEI packet received {"connection_id":171647,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":171647,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:54:36] local.INFO: TCP Data received {"connection_id":171647,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f976560012d7a608005eb9668000500fa21..."} 
[2026-09-05 08:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f976560012d7a608005eb9668000500fa21..."} 
[2026-09-05 08:54:36] local.INFO: Processing buffer {"connection_id":171647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f976560012d7a608005eb9668000500fa21..."} 
[2026-09-05 08:54:36] local.INFO: Packet analysis {"connection_id":171647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f97"} 
[2026-09-05 08:54:36] local.INFO: Extracted packet for processing {"connection_id":171647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f97"} 
[2026-09-05 08:54:36] local.INFO: GPS Element Parsed {"raw_longitude":762994816,"raw_latitude":99325544,"longitude_deg":76.2994816,"latitude_deg":9.9325544,"altitude":5,"angle":250,"satellites":33,"speed":16,"hex_longitude":"2d7a6080","hex_latitude":"05eb9668","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876117248001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128471903571542016,"note":"Value kept but may cause issues"} 
[2026-09-05 08:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819736945679161344,"note":"Value kept but may cause issues"} 
[2026-09-05 08:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788578588000,"timestamp_ms":1788578588000,"timestamp_seconds":1788578588,"priority":1,"record_length":96,"hex_timestamp":"000001a06f976560"} 
[2026-09-05 08:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 08:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876117248001,"66":13091,"161":206,"87":13824,"24":16,"16":128471903571542016,"45":8819736945679161344},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-05 08:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876117248001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:54:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-05 08:54:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128471903571542016,"km_value":128471903571542.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819736945679161344,"description":"Unknown IO ID 45"} 
[2026-09-05 08:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876117248001,"power":13091,"unknown_161":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8819736945679161344}} 
[2026-09-05 08:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":171647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767554,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:54:37] local.INFO: GPS data processed {"connection_id":171647,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:54:37] local.INFO: Acknowledgment sent {"connection_id":171647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:54:37] local.INFO: TCP Data received {"connection_id":171647,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f977cd0012d7a564005eb93580005010823..."} 
[2026-09-05 08:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f977cd0012d7a564005eb93580005010823..."} 
[2026-09-05 08:54:37] local.INFO: Processing buffer {"connection_id":171647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f977cd0012d7a564005eb93580005010823..."} 
[2026-09-05 08:54:37] local.INFO: Packet analysis {"connection_id":171647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f97"} 
[2026-09-05 08:54:37] local.INFO: Extracted packet for processing {"connection_id":171647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f97"} 
[2026-09-05 08:54:37] local.INFO: GPS Element Parsed {"raw_longitude":762992192,"raw_latitude":99324760,"longitude_deg":76.2992192,"latitude_deg":9.932476,"altitude":5,"angle":264,"satellites":35,"speed":12,"hex_longitude":"2d7a5640","hex_latitude":"05eb9358","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876118528001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128472036715528192,"note":"Value kept but may cause issues"} 
[2026-09-05 08:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818188833307125760,"note":"Value kept but may cause issues"} 
[2026-09-05 08:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788578594000,"timestamp_ms":1788578594000,"timestamp_seconds":1788578594,"priority":1,"record_length":96,"hex_timestamp":"000001a06f977cd0"} 
[2026-09-05 08:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-05 08:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876118528001,"66":13678,"161":206,"87":13824,"24":12,"16":128472036715528192,"45":8818188833307125760},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-05 08:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876118528001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:54:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-05 08:54:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128472036715528192,"km_value":128472036715528.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818188833307125760,"description":"Unknown IO ID 45"} 
[2026-09-05 08:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876118528001,"power":13678,"unknown_161":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8818188833307125760}} 
[2026-09-05 08:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":171647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767555,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:54:37] local.INFO: GPS data processed {"connection_id":171647,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:54:37] local.INFO: Acknowledgment sent {"connection_id":171647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:54:38] local.INFO: TCP Data received {"connection_id":172755,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f974df0012d571bc0067bea18001e00af2a..."} 
[2026-09-05 08:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f974df0012d571bc0067bea18001e00af2a..."} 
[2026-09-05 08:54:38] local.INFO: Processing buffer {"connection_id":172755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f974df0012d571bc0067bea18001e00af2a..."} 
[2026-09-05 08:54:38] local.INFO: Packet analysis {"connection_id":172755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f97"} 
[2026-09-05 08:54:38] local.INFO: Extracted packet for processing {"connection_id":172755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f97"} 
[2026-09-05 08:54:38] local.INFO: GPS Element Parsed {"raw_longitude":760683456,"raw_latitude":108784152,"longitude_deg":76.0683456,"latitude_deg":10.8784152,"altitude":30,"angle":175,"satellites":42,"speed":60,"hex_longitude":"2d571bc0","hex_latitude":"067bea18","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876115456001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399256088207163392,"note":"Value kept but may cause issues"} 
[2026-09-05 08:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6275484633615079424,"note":"Value kept but may cause issues"} 
[2026-09-05 08:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788578582000,"timestamp_ms":1788578582000,"timestamp_seconds":1788578582,"priority":1,"record_length":96,"hex_timestamp":"000001a06f974df0"} 
[2026-09-05 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-09-05 08:54: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-09-05 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 08:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 08:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":172755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":172755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":172755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:54: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-09-05 08:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876115456001,"66":27919,"108":206,"80":60928,"24":60,"16":399256088207163392,"45":6275484633615079424},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,80,24,16,45]} 
[2026-09-05 08:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876115456001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:54:38] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-05 08:54:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-05 08:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399256088207163392,"km_value":399256088207163.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6275484633615079424,"description":"Unknown IO ID 45"} 
[2026-09-05 08:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876115456001,"power":27919,"unknown_108":206,"unknown_80":60928,"ignition":60,"odometer":null,"unknown_45":6275484633615079424}} 
[2026-09-05 08:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":172755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:54:38] local.INFO: GPS data processed {"connection_id":172755,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:54:38] local.INFO: Acknowledgment sent {"connection_id":172755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:54:42] local.INFO: TCP Data received {"connection_id":174060,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06f97a3e0012d0e3c0007070288002001371b..."} 
[2026-09-05 08:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f97a3e0012d0e3c0007070288002001371b..."} 
[2026-09-05 08:54:42] local.INFO: Processing buffer {"connection_id":174060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f97a3e0012d0e3c0007070288002001371b..."} 
[2026-09-05 08:54:42] local.INFO: Packet analysis {"connection_id":174060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f97"} 
[2026-09-05 08:54:42] local.INFO: Extracted packet for processing {"connection_id":174060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f97"} 
[2026-09-05 08:54:42] local.INFO: GPS Element Parsed {"raw_longitude":755907584,"raw_latitude":117899912,"longitude_deg":75.5907584,"latitude_deg":11.7899912,"altitude":32,"angle":311,"satellites":27,"speed":11,"hex_longitude":"2d0e3c00","hex_latitude":"07070288","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876122368001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30265277325246464,"note":"Value kept but may cause issues"} 
[2026-09-05 08:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025976320292663296,"note":"Value kept but may cause issues"} 
[2026-09-05 08:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788578604000,"timestamp_ms":1788578604000,"timestamp_seconds":1788578604,"priority":1,"record_length":96,"hex_timestamp":"000001a06f97a3e0"} 
[2026-09-05 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-09-05 08:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-05 08:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 08:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":174060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":174060,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":174060,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 08:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 08:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876122368001,"66":14428,"219":206,"94":10240,"24":11,"16":30265277325246464,"45":1025976320292663296},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-05 08:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 08:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 08:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876122368001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:54:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-05 08:54:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 08:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30265277325246464,"km_value":30265277325246.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025976320292663296,"description":"Unknown IO ID 45"} 
[2026-09-05 08:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876122368001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":1025976320292663296}} 
[2026-09-05 08:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":174060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767557,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:54:42] local.INFO: GPS data processed {"connection_id":174060,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:54:42] local.INFO: Acknowledgment sent {"connection_id":174060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:54:56] local.INFO: TCP Data received {"connection_id":171352,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:54:56] local.INFO: Processing buffer {"connection_id":171352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:54:56] local.INFO: IMEI packet received {"connection_id":171352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":171352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:55:02] local.INFO: TCP Data received {"connection_id":171352,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:55:02] local.INFO: Processing buffer {"connection_id":171352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:55:02] local.INFO: IMEI packet received {"connection_id":171352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":171352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:55:02] local.INFO: TCP Data received {"connection_id":171352,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f983468012d561800067b2d58001c00fe29..."} 
[2026-09-05 08:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f983468012d561800067b2d58001c00fe29..."} 
[2026-09-05 08:55:02] local.INFO: Processing buffer {"connection_id":171352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f983468012d561800067b2d58001c00fe29..."} 
[2026-09-05 08:55:02] local.INFO: Packet analysis {"connection_id":171352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f98"} 
[2026-09-05 08:55:02] local.INFO: Extracted packet for processing {"connection_id":171352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f98"} 
[2026-09-05 08:55:02] local.INFO: GPS Element Parsed {"raw_longitude":760616960,"raw_latitude":108735832,"longitude_deg":76.061696,"latitude_deg":10.8735832,"altitude":28,"angle":254,"satellites":41,"speed":58,"hex_longitude":"2d561800","hex_latitude":"067b2d58","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876130304001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399260314454982656,"note":"Value kept but may cause issues"} 
[2026-09-05 08:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6214826776120047616,"note":"Value kept but may cause issues"} 
[2026-09-05 08:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788578641000,"timestamp_ms":1788578641000,"timestamp_seconds":1788578641,"priority":1,"record_length":96,"hex_timestamp":"000001a06f983468"} 
[2026-09-05 08:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:55: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-09-05 08: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 08:55: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-09-05 08: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-09-05 08:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:55: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-09-05 08:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876130304001,"66":27919,"110":206,"80":60928,"24":58,"16":399260314454982656,"45":6214826776120047616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,80,24,16,45]} 
[2026-09-05 08:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876130304001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:55:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 08:55:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-05 08:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399260314454982656,"km_value":399260314454982.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6214826776120047616,"description":"Unknown IO ID 45"} 
[2026-09-05 08:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876130304001,"power":27919,"unknown_110":206,"unknown_80":60928,"ignition":58,"odometer":null,"unknown_45":6214826776120047616}} 
[2026-09-05 08:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":171352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:55:02] local.INFO: GPS data processed {"connection_id":171352,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:55:02] local.INFO: Acknowledgment sent {"connection_id":171352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:55:04] local.INFO: TCP Data received {"connection_id":171353,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171353,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:55:04] local.INFO: Processing buffer {"connection_id":171353,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:55:04] local.INFO: IMEI packet received {"connection_id":171353,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 08:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":171353,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:55:05] local.INFO: TCP Data received {"connection_id":171353,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171353,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:55:05] local.INFO: Processing buffer {"connection_id":171353,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:55:05] local.INFO: IMEI packet received {"connection_id":171353,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 08:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":171353,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:55:09] local.INFO: TCP Data received {"connection_id":171647,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f978888012d7a534005eb93c00006012e22..."} 
[2026-09-05 08:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f978888012d7a534005eb93c00006012e22..."} 
[2026-09-05 08:55:09] local.INFO: Processing buffer {"connection_id":171647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f978888012d7a534005eb93c00006012e22..."} 
[2026-09-05 08:55:09] local.INFO: Packet analysis {"connection_id":171647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f97"} 
[2026-09-05 08:55:09] local.INFO: Extracted packet for processing {"connection_id":171647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f97"} 
[2026-09-05 08:55:09] local.INFO: GPS Element Parsed {"raw_longitude":762991424,"raw_latitude":99324864,"longitude_deg":76.2991424,"latitude_deg":9.9324864,"altitude":6,"angle":302,"satellites":34,"speed":11,"hex_longitude":"2d7a5340","hex_latitude":"05eb93c0","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876120064001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128472075370233856,"note":"Value kept but may cause issues"} 
[2026-09-05 08:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815303714795640832,"note":"Value kept but may cause issues"} 
[2026-09-05 08:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788578597000,"timestamp_ms":1788578597000,"timestamp_seconds":1788578597,"priority":1,"record_length":96,"hex_timestamp":"000001a06f978888"} 
[2026-09-05 08:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-05 08:55:09] 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-09-05 08: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-09-05 08:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876120064001,"66":13798,"161":206,"87":13824,"24":11,"16":128472075370233856,"45":8815303714795640832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-05 08:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876120064001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:55:09] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-05 08:55:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128472075370233856,"km_value":128472075370233.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815303714795640832,"description":"Unknown IO ID 45"} 
[2026-09-05 08:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876120064001,"power":13798,"unknown_161":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8815303714795640832}} 
[2026-09-05 08:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":171647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767559,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:55:09] local.INFO: GPS data processed {"connection_id":171647,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:55:09] local.INFO: Acknowledgment sent {"connection_id":171647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:55:11] local.INFO: TCP Data received {"connection_id":171353,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171353,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:55:11] local.INFO: Processing buffer {"connection_id":171353,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:55:11] local.INFO: IMEI packet received {"connection_id":171353,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 08:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":171353,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:55:11] local.INFO: TCP Data received {"connection_id":171353,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06f98d878012d0dcec00706f750001f00d31b..."} 
[2026-09-05 08:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f98d878012d0dcec00706f750001f00d31b..."} 
[2026-09-05 08:55:11] local.INFO: Processing buffer {"connection_id":171353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f98d878012d0dcec00706f750001f00d31b..."} 
[2026-09-05 08:55:11] local.INFO: Packet analysis {"connection_id":171353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f98"} 
[2026-09-05 08:55:11] local.INFO: Extracted packet for processing {"connection_id":171353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f98"} 
[2026-09-05 08:55:11] local.INFO: GPS Element Parsed {"raw_longitude":755879616,"raw_latitude":117897040,"longitude_deg":75.5879616,"latitude_deg":11.789704,"altitude":31,"angle":211,"satellites":27,"speed":9,"hex_longitude":"2d0dcec0","hex_latitude":"0706f750","is_valid_coordinates":true} 
[2026-09-05 08:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876142080001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30266651714781184,"note":"Value kept but may cause issues"} 
[2026-09-05 08:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995365916574810112,"note":"Value kept but may cause issues"} 
[2026-09-05 08:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788578683000,"timestamp_ms":1788578683000,"timestamp_seconds":1788578683,"priority":1,"record_length":96,"hex_timestamp":"000001a06f98d878"} 
[2026-09-05 08:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:55: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-09-05 08:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-05 08:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 08:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 08:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876142080001,"66":14374,"219":206,"94":10240,"24":9,"16":30266651714781184,"45":995365916574810112},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-05 08:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 08:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 08:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876142080001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:55:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-05 08:55:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 08:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30266651714781184,"km_value":30266651714781.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":995365916574810112,"description":"Unknown IO ID 45"} 
[2026-09-05 08:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876142080001,"power":14374,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":995365916574810112}} 
[2026-09-05 08:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":171353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767560,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:55:11] local.INFO: GPS data processed {"connection_id":171353,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:55:11] local.INFO: Acknowledgment sent {"connection_id":171353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:55:22] local.INFO: TCP Data received {"connection_id":172756,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172756,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:55:22] local.INFO: Processing buffer {"connection_id":172756,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:55:22] local.INFO: IMEI packet received {"connection_id":172756,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":172756,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:55:26] local.INFO: TCP Data received {"connection_id":172756,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172756,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:55:26] local.INFO: Processing buffer {"connection_id":172756,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:55:26] local.INFO: IMEI packet received {"connection_id":172756,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":172756,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:55:31] local.INFO: TCP Data received {"connection_id":172756,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172756,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:55:31] local.INFO: Processing buffer {"connection_id":172756,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:55:31] local.INFO: IMEI packet received {"connection_id":172756,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":172756,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:55:31] local.INFO: TCP Data received {"connection_id":172756,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f978c70012d7a524005eb94880006013f22..."} 
[2026-09-05 08:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f978c70012d7a524005eb94880006013f22..."} 
[2026-09-05 08:55:31] local.INFO: Processing buffer {"connection_id":172756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f978c70012d7a524005eb94880006013f22..."} 
[2026-09-05 08:55:31] local.INFO: Packet analysis {"connection_id":172756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f97"} 
[2026-09-05 08:55:31] local.INFO: Extracted packet for processing {"connection_id":172756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f97"} 
[2026-09-05 08:55:32] local.INFO: GPS Element Parsed {"raw_longitude":762991168,"raw_latitude":99325064,"longitude_deg":76.2991168,"latitude_deg":9.9325064,"altitude":6,"angle":319,"satellites":34,"speed":11,"hex_longitude":"2d7a5240","hex_latitude":"05eb9488","is_valid_coordinates":true} 
[2026-09-05 08:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876120832001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128472088255135744,"note":"Value kept but may cause issues"} 
[2026-09-05 08:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814459289865535488,"note":"Value kept but may cause issues"} 
[2026-09-05 08:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788578598000,"timestamp_ms":1788578598000,"timestamp_seconds":1788578598,"priority":1,"record_length":96,"hex_timestamp":"000001a06f978c70"} 
[2026-09-05 08:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 08:55: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-09-05 08:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876120832001,"66":13656,"161":206,"87":13824,"24":11,"16":128472088255135744,"45":8814459289865535488},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-05 08:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876120832001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:55:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-05 08:55:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128472088255135744,"km_value":128472088255135.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814459289865535488,"description":"Unknown IO ID 45"} 
[2026-09-05 08:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876120832001,"power":13656,"unknown_161":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8814459289865535488}} 
[2026-09-05 08:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":172756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767561,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:55:32] local.INFO: GPS data processed {"connection_id":172756,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:55:32] local.INFO: Acknowledgment sent {"connection_id":172756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:55:33] local.INFO: TCP Data received {"connection_id":171352,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f984fc0012d55f280067b22c8001c00fc28..."} 
[2026-09-05 08:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f984fc0012d55f280067b22c8001c00fc28..."} 
[2026-09-05 08:55:33] local.INFO: Processing buffer {"connection_id":171352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f984fc0012d55f280067b22c8001c00fc28..."} 
[2026-09-05 08:55:33] local.INFO: Packet analysis {"connection_id":171352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f98"} 
[2026-09-05 08:55:33] local.INFO: Extracted packet for processing {"connection_id":171352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f98"} 
[2026-09-05 08:55:33] local.INFO: GPS Element Parsed {"raw_longitude":760607360,"raw_latitude":108733128,"longitude_deg":76.060736,"latitude_deg":10.8733128,"altitude":28,"angle":252,"satellites":40,"speed":52,"hex_longitude":"2d55f280","hex_latitude":"067b22c8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876132096001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399260791196352512,"note":"Value kept but may cause issues"} 
[2026-09-05 08:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6203708514539231232,"note":"Value kept but may cause issues"} 
[2026-09-05 08:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788578648000,"timestamp_ms":1788578648000,"timestamp_seconds":1788578648,"priority":1,"record_length":96,"hex_timestamp":"000001a06f984fc0"} 
[2026-09-05 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-09-05 08: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-09-05 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 08:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 08:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:55: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-09-05 08:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876132096001,"66":27843,"110":206,"80":60928,"24":52,"16":399260791196352512,"45":6203708514539231232},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,80,24,16,45]} 
[2026-09-05 08:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876132096001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:55:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 08:55:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-05 08:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399260791196352512,"km_value":399260791196352.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6203708514539231232,"description":"Unknown IO ID 45"} 
[2026-09-05 08:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876132096001,"power":27843,"unknown_110":206,"unknown_80":60928,"ignition":52,"odometer":null,"unknown_45":6203708514539231232}} 
[2026-09-05 08:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":171352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:55:33] local.INFO: GPS data processed {"connection_id":171352,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:55:33] local.INFO: Acknowledgment sent {"connection_id":171352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:55:42] local.INFO: TCP Data received {"connection_id":171353,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06f98e818012d0dcbc00706f320002000e81b..."} 
[2026-09-05 08:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f98e818012d0dcbc00706f320002000e81b..."} 
[2026-09-05 08:55:42] local.INFO: Processing buffer {"connection_id":171353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f98e818012d0dcbc00706f320002000e81b..."} 
[2026-09-05 08:55:42] local.INFO: Packet analysis {"connection_id":171353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f98"} 
[2026-09-05 08:55:42] local.INFO: Extracted packet for processing {"connection_id":171353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f98"} 
[2026-09-05 08:55:42] local.INFO: GPS Element Parsed {"raw_longitude":755878848,"raw_latitude":117895968,"longitude_deg":75.5878848,"latitude_deg":11.7895968,"altitude":32,"angle":232,"satellites":27,"speed":16,"hex_longitude":"2d0dcbc0","hex_latitude":"0706f320","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876142848001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30266716139290624,"note":"Value kept but may cause issues"} 
[2026-09-05 08:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994943704109633536,"note":"Value kept but may cause issues"} 
[2026-09-05 08:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788578687000,"timestamp_ms":1788578687000,"timestamp_seconds":1788578687,"priority":1,"record_length":96,"hex_timestamp":"000001a06f98e818"} 
[2026-09-05 08:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 08:55:42] 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-09-05 08:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":171353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":171353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":171353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 08:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 08:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876142848001,"66":14450,"219":206,"94":10240,"24":16,"16":30266716139290624,"45":994943704109633536},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-05 08:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 08:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 08:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876142848001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:55:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-05 08:55:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 08:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30266716139290624,"km_value":30266716139290.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":994943704109633536,"description":"Unknown IO ID 45"} 
[2026-09-05 08:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876142848001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":994943704109633536}} 
[2026-09-05 08:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":171353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767563,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:55:42] local.INFO: GPS data processed {"connection_id":171353,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:55:42] local.INFO: Acknowledgment sent {"connection_id":171353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:55:56] local.INFO: TCP Data received {"connection_id":172758,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:55:56] local.INFO: Processing buffer {"connection_id":172758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:55:56] local.INFO: IMEI packet received {"connection_id":172758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":172758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:56:00] local.INFO: TCP Data received {"connection_id":172758,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:56:00] local.INFO: Processing buffer {"connection_id":172758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:56:00] local.INFO: IMEI packet received {"connection_id":172758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":172758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:56:01] local.INFO: TCP Data received {"connection_id":172758,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:56:01] local.INFO: Processing buffer {"connection_id":172758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:56:01] local.INFO: IMEI packet received {"connection_id":172758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":172758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:56:03] local.INFO: TCP Data received {"connection_id":172758,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f986b18012d55cfc0067b18b8001d00fc28..."} 
[2026-09-05 08:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f986b18012d55cfc0067b18b8001d00fc28..."} 
[2026-09-05 08:56:03] local.INFO: Processing buffer {"connection_id":172758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f986b18012d55cfc0067b18b8001d00fc28..."} 
[2026-09-05 08:56:03] local.INFO: Packet analysis {"connection_id":172758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f98"} 
[2026-09-05 08:56:03] local.INFO: Extracted packet for processing {"connection_id":172758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f98"} 
[2026-09-05 08:56:03] local.INFO: GPS Element Parsed {"raw_longitude":760598464,"raw_latitude":108730552,"longitude_deg":76.0598464,"latitude_deg":10.8730552,"altitude":29,"angle":252,"satellites":40,"speed":52,"hex_longitude":"2d55cfc0","hex_latitude":"067b18b8","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876133888001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399261233577984000,"note":"Value kept but may cause issues"} 
[2026-09-05 08:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6193153202911889408,"note":"Value kept but may cause issues"} 
[2026-09-05 08:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788578655000,"timestamp_ms":1788578655000,"timestamp_seconds":1788578655,"priority":1,"record_length":96,"hex_timestamp":"000001a06f986b18"} 
[2026-09-05 08:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:56: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-09-05 08:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 08:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:56: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-09-05 08:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876133888001,"66":27919,"110":206,"80":60928,"24":52,"16":399261233577984000,"45":6193153202911889408},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,80,24,16,45]} 
[2026-09-05 08:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876133888001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:56:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 08:56:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-05 08:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399261233577984000,"km_value":399261233577984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6193153202911889408,"description":"Unknown IO ID 45"} 
[2026-09-05 08:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876133888001,"power":27919,"unknown_110":206,"unknown_80":60928,"ignition":52,"odometer":null,"unknown_45":6193153202911889408}} 
[2026-09-05 08:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":172758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:56:03] local.INFO: GPS data processed {"connection_id":172758,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:56:03] local.INFO: Acknowledgment sent {"connection_id":172758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:56:03] local.INFO: TCP Data received {"connection_id":172756,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f99a398012d79fa8005ec6d300005015123..."} 
[2026-09-05 08:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f99a398012d79fa8005ec6d300005015123..."} 
[2026-09-05 08:56:03] local.INFO: Processing buffer {"connection_id":172756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f99a398012d79fa8005ec6d300005015123..."} 
[2026-09-05 08:56:03] local.INFO: Packet analysis {"connection_id":172756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f99"} 
[2026-09-05 08:56:03] local.INFO: Extracted packet for processing {"connection_id":172756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f99"} 
[2026-09-05 08:56:03] local.INFO: GPS Element Parsed {"raw_longitude":762968704,"raw_latitude":99380528,"longitude_deg":76.2968704,"latitude_deg":9.9380528,"altitude":5,"angle":337,"satellites":35,"speed":18,"hex_longitude":"2d79fa80","hex_latitude":"05ec6d30","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876152576001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128475017422831616,"note":"Value kept but may cause issues"} 
[2026-09-05 08:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792433872950097920,"note":"Value kept but may cause issues"} 
[2026-09-05 08:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788578735000,"timestamp_ms":1788578735000,"timestamp_seconds":1788578735,"priority":1,"record_length":96,"hex_timestamp":"000001a06f99a398"} 
[2026-09-05 08:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-05 08:56: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-09-05 08: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-09-05 08:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876152576001,"66":13037,"100":206,"87":13824,"24":18,"16":128475017422831616,"45":8792433872950097920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-05 08:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876152576001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:56:03] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-05 08:56:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128475017422831616,"km_value":128475017422831.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792433872950097920,"description":"Unknown IO ID 45"} 
[2026-09-05 08:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876152576001,"power":13037,"unknown_100":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8792433872950097920}} 
[2026-09-05 08:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":172756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767565,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:56:03] local.INFO: GPS data processed {"connection_id":172756,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:56:03] local.INFO: Acknowledgment sent {"connection_id":172756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:56:06] local.INFO: TCP Data received {"connection_id":171648,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171648,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:56:06] local.INFO: Processing buffer {"connection_id":171648,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:56:06] local.INFO: IMEI packet received {"connection_id":171648,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 08:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":171648,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:56:07] local.INFO: TCP Data received {"connection_id":172758,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f988670012d55ad80067b0c68001f00f524..."} 
[2026-09-05 08:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f988670012d55ad80067b0c68001f00f524..."} 
[2026-09-05 08:56:07] local.INFO: Processing buffer {"connection_id":172758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f988670012d55ad80067b0c68001f00f524..."} 
[2026-09-05 08:56:07] local.INFO: Packet analysis {"connection_id":172758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f98"} 
[2026-09-05 08:56:07] local.INFO: Extracted packet for processing {"connection_id":172758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f98"} 
[2026-09-05 08:56:07] local.INFO: GPS Element Parsed {"raw_longitude":760589696,"raw_latitude":108727400,"longitude_deg":76.0589696,"latitude_deg":10.87274,"altitude":31,"angle":245,"satellites":36,"speed":52,"hex_longitude":"2d55ad80","hex_latitude":"067b0c68","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876135680001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399261680254582784,"note":"Value kept but may cause issues"} 
[2026-09-05 08:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6183371947470534656,"note":"Value kept but may cause issues"} 
[2026-09-05 08:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788578662000,"timestamp_ms":1788578662000,"timestamp_seconds":1788578662,"priority":1,"record_length":96,"hex_timestamp":"000001a06f988670"} 
[2026-09-05 08:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:56: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-09-05 08: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 08:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876135680001,"66":27919,"110":206,"80":60928,"24":52,"16":399261680254582784,"45":6183371947470534656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,80,24,16,45]} 
[2026-09-05 08:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876135680001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:56:07] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 08:56:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-05 08:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399261680254582784,"km_value":399261680254582.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6183371947470534656,"description":"Unknown IO ID 45"} 
[2026-09-05 08:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876135680001,"power":27919,"unknown_110":206,"unknown_80":60928,"ignition":52,"odometer":null,"unknown_45":6183371947470534656}} 
[2026-09-05 08:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":172758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:56:07] local.INFO: GPS data processed {"connection_id":172758,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:56:07] local.INFO: Acknowledgment sent {"connection_id":172758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:56:11] local.INFO: TCP Data received {"connection_id":171648,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171648,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:56:11] local.INFO: Processing buffer {"connection_id":171648,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:56:11] local.INFO: IMEI packet received {"connection_id":171648,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 08:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":171648,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:56:11] local.INFO: TCP Data received {"connection_id":171648,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06f99edd0012d0d2e80070714c8001d01171b..."} 
[2026-09-05 08:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f99edd0012d0d2e80070714c8001d01171b..."} 
[2026-09-05 08:56:11] local.INFO: Processing buffer {"connection_id":171648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f99edd0012d0d2e80070714c8001d01171b..."} 
[2026-09-05 08:56:11] local.INFO: Packet analysis {"connection_id":171648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f99"} 
[2026-09-05 08:56:11] local.INFO: Extracted packet for processing {"connection_id":171648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f99"} 
[2026-09-05 08:56:11] local.INFO: GPS Element Parsed {"raw_longitude":755838592,"raw_latitude":117904584,"longitude_deg":75.5838592,"latitude_deg":11.7904584,"altitude":29,"angle":279,"satellites":27,"speed":12,"hex_longitude":"2d0d2e80","hex_latitude":"070714c8","is_valid_coordinates":true} 
[2026-09-05 08:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876160000001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30268773428625408,"note":"Value kept but may cause issues"} 
[2026-09-05 08:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":951807663930648576,"note":"Value kept but may cause issues"} 
[2026-09-05 08:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788578754000,"timestamp_ms":1788578754000,"timestamp_seconds":1788578754,"priority":1,"record_length":96,"hex_timestamp":"000001a06f99edd0"} 
[2026-09-05 08:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 08:56: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-09-05 08:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171648,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171648,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 08:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 08:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876160000001,"66":14515,"219":206,"94":10240,"24":12,"16":30268773428625408,"45":951807663930648576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-05 08:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 08:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 08:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876160000001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:56:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-05 08:56:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 08:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30268773428625408,"km_value":30268773428625.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":951807663930648576,"description":"Unknown IO ID 45"} 
[2026-09-05 08:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876160000001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":951807663930648576}} 
[2026-09-05 08:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":171648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767567,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:56:11] local.INFO: GPS data processed {"connection_id":171648,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:56:11] local.INFO: Acknowledgment sent {"connection_id":171648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:56:25] local.INFO: TCP Data received {"connection_id":174061,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:56:25] local.INFO: Processing buffer {"connection_id":174061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:56:25] local.INFO: IMEI packet received {"connection_id":174061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":174061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:56:31] local.INFO: TCP Data received {"connection_id":174061,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:56:31] local.INFO: Processing buffer {"connection_id":174061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:56:31] local.INFO: IMEI packet received {"connection_id":174061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":174061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:56:31] local.INFO: TCP Data received {"connection_id":174061,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f99c6c0012d79f88005ec74e00005002424..."} 
[2026-09-05 08:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f99c6c0012d79f88005ec74e00005002424..."} 
[2026-09-05 08:56:31] local.INFO: Processing buffer {"connection_id":174061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f99c6c0012d79f88005ec74e00005002424..."} 
[2026-09-05 08:56:31] local.INFO: Packet analysis {"connection_id":174061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f99"} 
[2026-09-05 08:56:31] local.INFO: Extracted packet for processing {"connection_id":174061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f99"} 
[2026-09-05 08:56:31] local.INFO: GPS Element Parsed {"raw_longitude":762968192,"raw_latitude":99382496,"longitude_deg":76.2968192,"latitude_deg":9.9382496,"altitude":5,"angle":36,"satellites":36,"speed":9,"hex_longitude":"2d79f880","hex_latitude":"05ec74e0","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876156160001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128475120502046720,"note":"Value kept but may cause issues"} 
[2026-09-05 08:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789478385696714752,"note":"Value kept but may cause issues"} 
[2026-09-05 08:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788578744000,"timestamp_ms":1788578744000,"timestamp_seconds":1788578744,"priority":1,"record_length":96,"hex_timestamp":"000001a06f99c6c0"} 
[2026-09-05 08:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-05 08:56:31] 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-09-05 08: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-09-05 08:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876156160001,"66":12515,"100":206,"87":13824,"24":9,"16":128475120502046720,"45":8789478385696714752},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-05 08:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876156160001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:56:31] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-05 08:56:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128475120502046720,"km_value":128475120502046.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789478385696714752,"description":"Unknown IO ID 45"} 
[2026-09-05 08:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876156160001,"power":12515,"unknown_100":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8789478385696714752}} 
[2026-09-05 08:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":174061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767568,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:56:32] local.INFO: GPS data processed {"connection_id":174061,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:56:32] local.INFO: Acknowledgment sent {"connection_id":174061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:56:39] local.INFO: TCP Data received {"connection_id":172758,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f98a1c8012d558dc0067afa98002100ec28..."} 
[2026-09-05 08:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f98a1c8012d558dc0067afa98002100ec28..."} 
[2026-09-05 08:56:39] local.INFO: Processing buffer {"connection_id":172758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f98a1c8012d558dc0067afa98002100ec28..."} 
[2026-09-05 08:56:39] local.INFO: Packet analysis {"connection_id":172758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f98"} 
[2026-09-05 08:56:39] local.INFO: Extracted packet for processing {"connection_id":172758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f98"} 
[2026-09-05 08:56:39] local.INFO: GPS Element Parsed {"raw_longitude":760581568,"raw_latitude":108722840,"longitude_deg":76.0581568,"latitude_deg":10.872284,"altitude":33,"angle":236,"satellites":40,"speed":51,"hex_longitude":"2d558dc0","hex_latitude":"067afa98","is_valid_coordinates":true} 
[2026-09-05 08:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876137472001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399262126931181568,"note":"Value kept but may cause issues"} 
[2026-09-05 08:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6173731429517387776,"note":"Value kept but may cause issues"} 
[2026-09-05 08:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788578669000,"timestamp_ms":1788578669000,"timestamp_seconds":1788578669,"priority":1,"record_length":96,"hex_timestamp":"000001a06f98a1c8"} 
[2026-09-05 08:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:56:39] 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-09-05 08:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 08:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 08:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 08:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 08:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876137472001,"66":27930,"110":206,"80":60928,"24":51,"16":399262126931181568,"45":6173731429517387776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,80,24,16,45]} 
[2026-09-05 08:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 08:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 08:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876137472001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:56:39] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 08:56:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-05 08:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399262126931181568,"km_value":399262126931181.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":6173731429517387776,"description":"Unknown IO ID 45"} 
[2026-09-05 08:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876137472001,"power":27930,"unknown_110":206,"unknown_80":60928,"ignition":51,"odometer":null,"unknown_45":6173731429517387776}} 
[2026-09-05 08:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":172758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:56:39] local.INFO: GPS data processed {"connection_id":172758,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:56:39] local.INFO: Acknowledgment sent {"connection_id":172758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:56:42] local.INFO: TCP Data received {"connection_id":171648,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06f99f1b8012d0d2d8007071548001d012a1b..."} 
[2026-09-05 08:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f99f1b8012d0d2d8007071548001d012a1b..."} 
[2026-09-05 08:56:42] local.INFO: Processing buffer {"connection_id":171648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f99f1b8012d0d2d8007071548001d012a1b..."} 
[2026-09-05 08:56:42] local.INFO: Packet analysis {"connection_id":171648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f99"} 
[2026-09-05 08:56:42] local.INFO: Extracted packet for processing {"connection_id":171648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f99"} 
[2026-09-05 08:56:42] local.INFO: GPS Element Parsed {"raw_longitude":755838336,"raw_latitude":117904712,"longitude_deg":75.5838336,"latitude_deg":11.7904712,"altitude":29,"angle":298,"satellites":27,"speed":10,"hex_longitude":"2d0d2d80","hex_latitude":"07071548","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876161024001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30268790608494592,"note":"Value kept but may cause issues"} 
[2026-09-05 08:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949837339093682176,"note":"Value kept but may cause issues"} 
[2026-09-05 08:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788578755000,"timestamp_ms":1788578755000,"timestamp_seconds":1788578755,"priority":1,"record_length":96,"hex_timestamp":"000001a06f99f1b8"} 
[2026-09-05 08:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:56: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-09-05 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-05 08:56:42] 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-09-05 08: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-09-05 08:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":171648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":171648,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":171648,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 08:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 08:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876161024001,"66":14396,"219":206,"94":10240,"24":10,"16":30268790608494592,"45":949837339093682176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-05 08:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 08:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 08:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876161024001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:56:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-05 08:56:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 08:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30268790608494592,"km_value":30268790608494.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":949837339093682176,"description":"Unknown IO ID 45"} 
[2026-09-05 08:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876161024001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":949837339093682176}} 
[2026-09-05 08:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":171648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767570,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:56:42] local.INFO: GPS data processed {"connection_id":171648,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:56:42] local.INFO: Acknowledgment sent {"connection_id":171648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:57:02] local.INFO: TCP Data received {"connection_id":171354,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:57:02] local.INFO: Processing buffer {"connection_id":171354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:57:02] local.INFO: IMEI packet received {"connection_id":171354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 08:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":171354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:57:03] local.INFO: TCP Data received {"connection_id":174061,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f99de30012d79fb8005ec76e00005004424..."} 
[2026-09-05 08:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f99de30012d79fb8005ec76e00005004424..."} 
[2026-09-05 08:57:03] local.INFO: Processing buffer {"connection_id":174061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f99de30012d79fb8005ec76e00005004424..."} 
[2026-09-05 08:57:03] local.INFO: Packet analysis {"connection_id":174061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f99"} 
[2026-09-05 08:57:03] local.INFO: Extracted packet for processing {"connection_id":174061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f99"} 
[2026-09-05 08:57:03] local.INFO: GPS Element Parsed {"raw_longitude":762968960,"raw_latitude":99383008,"longitude_deg":76.296896,"latitude_deg":9.9383008,"altitude":5,"angle":68,"satellites":36,"speed":6,"hex_longitude":"2d79fb80","hex_latitude":"05ec76e0","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876158464001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128475167746686976,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788915435743797248,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788578750000,"timestamp_ms":1788578750000,"timestamp_seconds":1788578750,"priority":1,"record_length":96,"hex_timestamp":"000001a06f99de30"} 
[2026-09-05 08:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-05 08:57:03] 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-09-05 08: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-09-05 08:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876158464001,"66":13580,"100":206,"87":13824,"24":6,"16":128475167746686976,"45":8788915435743797248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-05 08:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876158464001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:57:03] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-05 08:57:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128475167746686976,"km_value":128475167746686.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788915435743797248,"description":"Unknown IO ID 45"} 
[2026-09-05 08:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876158464001,"power":13580,"unknown_100":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8788915435743797248}} 
[2026-09-05 08:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":174061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767571,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:57:03] local.INFO: GPS data processed {"connection_id":174061,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:57:03] local.INFO: Acknowledgment sent {"connection_id":174061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:57:05] local.INFO: TCP Data received {"connection_id":171649,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171649,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:57:05] local.INFO: Processing buffer {"connection_id":171649,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:57:05] local.INFO: IMEI packet received {"connection_id":171649,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 08:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":171649,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:57:10] local.INFO: TCP Data received {"connection_id":171649,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171649,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:57:10] local.INFO: Processing buffer {"connection_id":171649,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:57:10] local.INFO: IMEI packet received {"connection_id":171649,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 08:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":171649,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:57:10] local.INFO: TCP Data received {"connection_id":171649,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171649,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:57:10] local.INFO: Processing buffer {"connection_id":171649,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:57:10] local.INFO: IMEI packet received {"connection_id":171649,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 08:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":171649,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:57:11] local.INFO: TCP Data received {"connection_id":171649,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9ab120012d0ce34007075520002a00e41b..."} 
[2026-09-05 08:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9ab120012d0ce34007075520002a00e41b..."} 
[2026-09-05 08:57:11] local.INFO: Processing buffer {"connection_id":171649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9ab120012d0ce34007075520002a00e41b..."} 
[2026-09-05 08:57:11] local.INFO: Packet analysis {"connection_id":171649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9a"} 
[2026-09-05 08:57:11] local.INFO: Extracted packet for processing {"connection_id":171649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9a"} 
[2026-09-05 08:57:11] local.INFO: GPS Element Parsed {"raw_longitude":755819328,"raw_latitude":117921056,"longitude_deg":75.5819328,"latitude_deg":11.7921056,"altitude":42,"angle":228,"satellites":27,"speed":9,"hex_longitude":"2d0ce340","hex_latitude":"07075520","is_valid_coordinates":true} 
[2026-09-05 08:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876173568001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30270246602407936,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":928867453332992000,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788578804000,"timestamp_ms":1788578804000,"timestamp_seconds":1788578804,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9ab120"} 
[2026-09-05 08:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:57: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-09-05 08:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-05 08:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171649,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171649,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 08:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 08:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876173568001,"66":14439,"221":206,"94":10240,"24":9,"16":30270246602407936,"45":928867453332992000},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-05 08:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 08:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 08:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876173568001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:57:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-05 08:57:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 08:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30270246602407936,"km_value":30270246602407.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":928867453332992000,"description":"Unknown IO ID 45"} 
[2026-09-05 08:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876173568001,"power":14439,"unknown_221":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":928867453332992000}} 
[2026-09-05 08:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":171649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767572,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:57:11] local.INFO: GPS data processed {"connection_id":171649,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:57:11] local.INFO: Acknowledgment sent {"connection_id":171649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:57:17] local.INFO: TCP Data received {"connection_id":171649,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9ab508012d0ce2c007075418002900ce1b..."} 
[2026-09-05 08:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9ab508012d0ce2c007075418002900ce1b..."} 
[2026-09-05 08:57:17] local.INFO: Processing buffer {"connection_id":171649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9ab508012d0ce2c007075418002900ce1b..."} 
[2026-09-05 08:57:17] local.INFO: Packet analysis {"connection_id":171649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9a"} 
[2026-09-05 08:57:17] local.INFO: Extracted packet for processing {"connection_id":171649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9a"} 
[2026-09-05 08:57:17] local.INFO: GPS Element Parsed {"raw_longitude":755819200,"raw_latitude":117920792,"longitude_deg":75.58192,"latitude_deg":11.7920792,"altitude":41,"angle":206,"satellites":27,"speed":12,"hex_longitude":"2d0ce2c0","hex_latitude":"07075418","is_valid_coordinates":true} 
[2026-09-05 08:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876173824001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30270263782277120,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":928656347100422144,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788578805000,"timestamp_ms":1788578805000,"timestamp_seconds":1788578805,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9ab508"} 
[2026-09-05 08:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-05 08:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":171649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":171649,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":171649,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 08:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 08:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876173824001,"66":14439,"221":206,"94":10240,"24":12,"16":30270263782277120,"45":928656347100422144},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-05 08:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 08:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 08:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876173824001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:57:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-05 08:57:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 08:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30270263782277120,"km_value":30270263782277.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":928656347100422144,"description":"Unknown IO ID 45"} 
[2026-09-05 08:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876173824001,"power":14439,"unknown_221":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":928656347100422144}} 
[2026-09-05 08:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":171649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767573,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:57:18] local.INFO: GPS data processed {"connection_id":171649,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:57:18] local.INFO: Acknowledgment sent {"connection_id":171649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:57:23] local.INFO: TCP Data received {"connection_id":171354,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:57:23] local.INFO: Processing buffer {"connection_id":171354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 08:57:23] local.INFO: IMEI packet received {"connection_id":171354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":171354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:57:23] local.INFO: TCP Data received {"connection_id":171354,"ip":"42.106.6.16","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 08:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171354,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 08:57:23] local.INFO: Processing buffer {"connection_id":171354,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 08:57:23] local.INFO: IMEI packet received {"connection_id":171354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 08:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":171354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:57:25] local.INFO: TCP Data received {"connection_id":172759,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:57:25] local.INFO: Processing buffer {"connection_id":172759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:57:25] local.INFO: IMEI packet received {"connection_id":172759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":172759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:57:27] local.INFO: TCP Data received {"connection_id":172759,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:57:27] local.INFO: Processing buffer {"connection_id":172759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:57:27] local.INFO: IMEI packet received {"connection_id":172759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":172759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:57:28] local.INFO: TCP Data received {"connection_id":172759,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:57:28] local.INFO: Processing buffer {"connection_id":172759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:57:28] local.INFO: IMEI packet received {"connection_id":172759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":172759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:57:29] local.INFO: TCP Data received {"connection_id":172759,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:57:29] local.INFO: Processing buffer {"connection_id":172759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:57:29] local.INFO: IMEI packet received {"connection_id":172759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":172759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:57:30] local.INFO: TCP Data received {"connection_id":172759,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9a3038012d7a0a4005ec7d880006004621..."} 
[2026-09-05 08:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9a3038012d7a0a4005ec7d880006004621..."} 
[2026-09-05 08:57:30] local.INFO: Processing buffer {"connection_id":172759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9a3038012d7a0a4005ec7d880006004621..."} 
[2026-09-05 08:57:30] local.INFO: Packet analysis {"connection_id":172759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9a"} 
[2026-09-05 08:57:30] local.INFO: Extracted packet for processing {"connection_id":172759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9a"} 
[2026-09-05 08:57:30] local.INFO: GPS Element Parsed {"raw_longitude":762972736,"raw_latitude":99384712,"longitude_deg":76.2972736,"latitude_deg":9.9384712,"altitude":6,"angle":70,"satellites":33,"speed":0,"hex_longitude":"2d7a0a40","hex_latitude":"05ec7d88","is_valid_coordinates":true} 
[2026-09-05 08:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876160000001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128475361020215296,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789759860674060288,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788578771000,"timestamp_ms":1788578771000,"timestamp_seconds":1788578771,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9a3038"} 
[2026-09-05 08:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-05 08:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630445,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:30] local.WARNING: Large IO value detected {"io_id":111,"raw_value":2572515329,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960356864,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5341269274025525258,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:30] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:30] local.WARNING: Large IO value detected {"io_id":110,"raw_value":4177526784,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:30] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634926807925859,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147338958,"corrected_to":0} 
[2026-09-05 08:57:30] local.WARNING: Large IO value detected {"io_id":22,"raw_value":4160826746,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:30] local.WARNING: Large IO value detected {"io_id":12,"raw_value":2147871791,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:30] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2882529357409078871,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:30] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1855782912,"corrected_to":0} 
[2026-09-05 08:57:30] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2377907114295164930,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:30] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755515405304049,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:30] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,100,87,24,241,157,16,111,160,198,45,128,116,5,36,10,66,163,109,35,108,1,240,227,110,236,4,113,205,7,22,12,224,34,239,52,99,2,200,27,122,54],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1147338958,"validated":0},{"io_id":200,"original":1855782912,"validated":0}]} 
[2026-09-05 08:57:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360362891599544320,"timestamp_seconds":360362891599544.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 08:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876160000001,"66":13319,"100":206,"87":13824,"24":0,"16":128475361020215296,"45":8789759860674060288},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-05 08:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876160000001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:57:30] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-05 08:57:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128475361020215296,"km_value":128475361020215.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789759860674060288,"description":"Unknown IO ID 45"} 
[2026-09-05 08:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876160000001,"power":13319,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8789759860674060288}} 
[2026-09-05 08:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":172759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:57:30] local.INFO: GPS data processed {"connection_id":172759,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:57:30] local.INFO: Acknowledgment sent {"connection_id":172759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:57:31] local.INFO: TCP Data received {"connection_id":172759,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9a8240012d7a0a4005ec7d880006004620..."} 
[2026-09-05 08:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9a8240012d7a0a4005ec7d880006004620..."} 
[2026-09-05 08:57:31] local.INFO: Processing buffer {"connection_id":172759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9a8240012d7a0a4005ec7d880006004620..."} 
[2026-09-05 08:57:31] local.INFO: Packet analysis {"connection_id":172759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9a"} 
[2026-09-05 08:57:31] local.INFO: Extracted packet for processing {"connection_id":172759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9a"} 
[2026-09-05 08:57:31] local.INFO: GPS Element Parsed {"raw_longitude":762972736,"raw_latitude":99384712,"longitude_deg":76.2972736,"latitude_deg":9.9384712,"altitude":6,"angle":70,"satellites":32,"speed":0,"hex_longitude":"2d7a0a40","hex_latitude":"05ec7d88","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876165376001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128475361020215296,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793911616580978688,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788578792000,"timestamp_ms":1788578792000,"timestamp_seconds":1788578792,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9a8240"} 
[2026-09-05 08:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-05 08:57:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:31] local.WARNING: Large IO value detected {"io_id":111,"raw_value":2574051329,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3962560512,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:31] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1026820723652762624,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147338958,"corrected_to":0} 
[2026-09-05 08:57:31] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227910980,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1861353472,"corrected_to":0} 
[2026-09-05 08:57:31] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":57777562231658294,"corrected_to":0} 
[2026-09-05 08:57:31] local.WARNING: Large IO value detected {"io_id":152,"raw_value":-2848525469478174715,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:31] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,100,87,24,241,157,16,111,160,222,45,128,118,5,36,10,66,198,116,163,1,240,237,227,236,4,113,205,8,85,80,33,239,53,99,2,200,3,23,247,152],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1147338958,"validated":0},{"io_id":200,"original":1861353472,"validated":0},{"io_id":247,"original":57777562231658294,"validated":0}]} 
[2026-09-05 08:57:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432422671775432704,"timestamp_seconds":432422671775432.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 08:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876165376001,"66":13189,"100":206,"87":13824,"24":0,"16":128475361020215296,"45":8793911616580978688},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-05 08:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876165376001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:57:31] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-05 08:57:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128475361020215296,"km_value":128475361020215.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793911616580978688,"description":"Unknown IO ID 45"} 
[2026-09-05 08:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876165376001,"power":13189,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8793911616580978688}} 
[2026-09-05 08:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":172759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767575,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:57:31] local.INFO: GPS data processed {"connection_id":172759,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:57:31] local.INFO: Acknowledgment sent {"connection_id":172759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:57:48] local.INFO: TCP Data received {"connection_id":171649,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9b9b80012d0cab4007077650001e013f1b..."} 
[2026-09-05 08:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9b9b80012d0cab4007077650001e013f1b..."} 
[2026-09-05 08:57:48] local.INFO: Processing buffer {"connection_id":171649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9b9b80012d0cab4007077650001e013f1b..."} 
[2026-09-05 08:57:48] local.INFO: Packet analysis {"connection_id":171649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9b"} 
[2026-09-05 08:57:48] local.INFO: Extracted packet for processing {"connection_id":171649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9b"} 
[2026-09-05 08:57:48] local.INFO: GPS Element Parsed {"raw_longitude":755804992,"raw_latitude":117929552,"longitude_deg":75.5804992,"latitude_deg":11.7929552,"altitude":30,"angle":319,"satellites":27,"speed":10,"hex_longitude":"2d0cab40","hex_latitude":"07077650","is_valid_coordinates":true} 
[2026-09-05 08:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876188928001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30271316049264640,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":913034485895092224,"note":"Value kept but may cause issues"} 
[2026-09-05 08:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788578864000,"timestamp_ms":1788578864000,"timestamp_seconds":1788578864,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9b9b80"} 
[2026-09-05 08:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-05 08:57:48] 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-09-05 08:57:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":171649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":171649,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":171649,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 08:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 08:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876188928001,"66":13656,"221":206,"94":10240,"24":10,"16":30271316049264640,"45":913034485895092224},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-05 08:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 08:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 08:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876188928001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:57:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-05 08:57:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 08:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30271316049264640,"km_value":30271316049264.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":913034485895092224,"description":"Unknown IO ID 45"} 
[2026-09-05 08:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876188928001,"power":13656,"unknown_221":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":913034485895092224}} 
[2026-09-05 08:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":171649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767576,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:57:49] local.INFO: GPS data processed {"connection_id":171649,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:57:49] local.INFO: Acknowledgment sent {"connection_id":171649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:58:03] local.INFO: TCP Data received {"connection_id":172759,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9ad448012d7a0a4005ec7d880006004620..."} 
[2026-09-05 08:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9ad448012d7a0a4005ec7d880006004620..."} 
[2026-09-05 08:58:03] local.INFO: Processing buffer {"connection_id":172759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9ad448012d7a0a4005ec7d880006004620..."} 
[2026-09-05 08:58:03] local.INFO: Packet analysis {"connection_id":172759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9a"} 
[2026-09-05 08:58:03] local.INFO: Extracted packet for processing {"connection_id":172759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9a"} 
[2026-09-05 08:58:03] local.INFO: GPS Element Parsed {"raw_longitude":762972736,"raw_latitude":99384712,"longitude_deg":76.2972736,"latitude_deg":9.9384712,"altitude":6,"angle":70,"satellites":32,"speed":0,"hex_longitude":"2d7a0a40","hex_latitude":"05ec7d88","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876170752001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128475361020215296,"note":"Value kept but may cause issues"} 
[2026-09-05 08:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793911616580978688,"note":"Value kept but may cause issues"} 
[2026-09-05 08:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788578813000,"timestamp_ms":1788578813000,"timestamp_seconds":1788578813,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9ad448"} 
[2026-09-05 08:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-05 08:58:03] 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-09-05 08: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-09-05 08:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876170752001,"66":13472,"100":206,"87":13824,"24":0,"16":128475361020215296,"45":8793911616580978688},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-05 08:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876170752001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:58:03] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-05 08:58:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128475361020215296,"km_value":128475361020215.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793911616580978688,"description":"Unknown IO ID 45"} 
[2026-09-05 08:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876170752001,"power":13472,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8793911616580978688}} 
[2026-09-05 08:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":172759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767577,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:58:03] local.INFO: GPS data processed {"connection_id":172759,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:58:03] local.INFO: Acknowledgment sent {"connection_id":172759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:58:05] local.INFO: TCP Data received {"connection_id":171355,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171355,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:58:05] local.INFO: Processing buffer {"connection_id":171355,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:58:05] local.INFO: IMEI packet received {"connection_id":171355,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 08:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":171355,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:58:08] local.INFO: TCP Data received {"connection_id":171355,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171355,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:58:08] local.INFO: Processing buffer {"connection_id":171355,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:58:08] local.INFO: IMEI packet received {"connection_id":171355,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 08:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":171355,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:58:09] local.INFO: TCP Data received {"connection_id":171355,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171355,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:58:09] local.INFO: Processing buffer {"connection_id":171355,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:58:09] local.INFO: IMEI packet received {"connection_id":171355,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 08:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":171355,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:58:10] local.INFO: TCP Data received {"connection_id":171355,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171355,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:58:10] local.INFO: Processing buffer {"connection_id":171355,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:58:10] local.INFO: IMEI packet received {"connection_id":171355,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 08:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":171355,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:58:11] local.INFO: TCP Data received {"connection_id":171355,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9b9f68012d0caa0007077700001e01271b..."} 
[2026-09-05 08:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9b9f68012d0caa0007077700001e01271b..."} 
[2026-09-05 08:58:11] local.INFO: Processing buffer {"connection_id":171355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9b9f68012d0caa0007077700001e01271b..."} 
[2026-09-05 08:58:11] local.INFO: Packet analysis {"connection_id":171355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9b"} 
[2026-09-05 08:58:11] local.INFO: Extracted packet for processing {"connection_id":171355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9b"} 
[2026-09-05 08:58:11] local.INFO: GPS Element Parsed {"raw_longitude":755804672,"raw_latitude":117929728,"longitude_deg":75.5804672,"latitude_deg":11.7929728,"altitude":30,"angle":295,"satellites":27,"speed":11,"hex_longitude":"2d0caa00","hex_latitude":"07077700","is_valid_coordinates":true} 
[2026-09-05 08:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876189184001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30271333229133824,"note":"Value kept but may cause issues"} 
[2026-09-05 08:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912893748406800384,"note":"Value kept but may cause issues"} 
[2026-09-05 08:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788578865000,"timestamp_ms":1788578865000,"timestamp_seconds":1788578865,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9b9f68"} 
[2026-09-05 08:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:58: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-09-05 08:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 08:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 08:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 08:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876189184001,"66":13656,"221":206,"94":10240,"24":11,"16":30271333229133824,"45":912893748406800384},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-05 08:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 08:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 08:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876189184001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:58:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-05 08:58:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 08:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30271333229133824,"km_value":30271333229133.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":912893748406800384,"description":"Unknown IO ID 45"} 
[2026-09-05 08:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876189184001,"power":13656,"unknown_221":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":912893748406800384}} 
[2026-09-05 08:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":171355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767578,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:58:11] local.INFO: GPS data processed {"connection_id":171355,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:58:11] local.INFO: Acknowledgment sent {"connection_id":171355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:58:12] local.INFO: TCP Data received {"connection_id":171355,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9ba350012d0ca8c007077770001e01181b..."} 
[2026-09-05 08:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9ba350012d0ca8c007077770001e01181b..."} 
[2026-09-05 08:58:12] local.INFO: Processing buffer {"connection_id":171355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9ba350012d0ca8c007077770001e01181b..."} 
[2026-09-05 08:58:12] local.INFO: Packet analysis {"connection_id":171355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9b"} 
[2026-09-05 08:58:12] local.INFO: Extracted packet for processing {"connection_id":171355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9b"} 
[2026-09-05 08:58:12] local.INFO: GPS Element Parsed {"raw_longitude":755804352,"raw_latitude":117929840,"longitude_deg":75.5804352,"latitude_deg":11.792984,"altitude":30,"angle":280,"satellites":27,"speed":12,"hex_longitude":"2d0ca8c0","hex_latitude":"07077770","is_valid_coordinates":true} 
[2026-09-05 08:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876189440001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30271350409003008,"note":"Value kept but may cause issues"} 
[2026-09-05 08:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912541904685957120,"note":"Value kept but may cause issues"} 
[2026-09-05 08:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788578866000,"timestamp_ms":1788578866000,"timestamp_seconds":1788578866,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9ba350"} 
[2026-09-05 08:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:58: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-09-05 08:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 08:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 08:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 08:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876189440001,"66":14461,"221":206,"94":10240,"24":12,"16":30271350409003008,"45":912541904685957120},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-05 08:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 08:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 08:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876189440001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:58:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-05 08:58:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 08:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30271350409003008,"km_value":30271350409003.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":912541904685957120,"description":"Unknown IO ID 45"} 
[2026-09-05 08:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876189440001,"power":14461,"unknown_221":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":912541904685957120}} 
[2026-09-05 08:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":171355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767579,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:58:12] local.INFO: GPS data processed {"connection_id":171355,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:58:12] local.INFO: Acknowledgment sent {"connection_id":171355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:58:24] local.INFO: TCP Data received {"connection_id":171356,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171356,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:58:24] local.INFO: Processing buffer {"connection_id":171356,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:58:24] local.INFO: IMEI packet received {"connection_id":171356,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":171356,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:58:25] local.INFO: TCP Data received {"connection_id":171356,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171356,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:58:25] local.INFO: Processing buffer {"connection_id":171356,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:58:25] local.INFO: IMEI packet received {"connection_id":171356,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":171356,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:58:30] local.INFO: TCP Data received {"connection_id":171356,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171356,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:58:30] local.INFO: Processing buffer {"connection_id":171356,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:58:30] local.INFO: IMEI packet received {"connection_id":171356,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":171356,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:58:31] local.INFO: TCP Data received {"connection_id":171356,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9bf558012d79f94005ec74a8000600c326..."} 
[2026-09-05 08:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9bf558012d79f94005ec74a8000600c326..."} 
[2026-09-05 08:58:31] local.INFO: Processing buffer {"connection_id":171356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9bf558012d79f94005ec74a8000600c326..."} 
[2026-09-05 08:58:31] local.INFO: Packet analysis {"connection_id":171356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9b"} 
[2026-09-05 08:58:31] local.INFO: Extracted packet for processing {"connection_id":171356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9b"} 
[2026-09-05 08:58:31] local.INFO: GPS Element Parsed {"raw_longitude":762968384,"raw_latitude":99382440,"longitude_deg":76.2968384,"latitude_deg":9.938244,"altitude":6,"angle":195,"satellites":38,"speed":5,"hex_longitude":"2d79f940","hex_latitude":"05ec74a8","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876190464001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128476108344524800,"note":"Value kept but may cause issues"} 
[2026-09-05 08:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360208760832,"note":"Value kept but may cause issues"} 
[2026-09-05 08:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788578887000,"timestamp_ms":1788578887000,"timestamp_seconds":1788578887,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9bf558"} 
[2026-09-05 08:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:58: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-09-05 08: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-05 08:58: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-09-05 08: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-09-05 08:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876190464001,"66":13580,"100":206,"87":13824,"24":5,"16":128476108344524800,"45":8795389360208760832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-05 08:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876190464001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:58:31] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-05 08:58:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128476108344524800,"km_value":128476108344524.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360208760832,"description":"Unknown IO ID 45"} 
[2026-09-05 08:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876190464001,"power":13580,"unknown_100":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8795389360208760832}} 
[2026-09-05 08:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":171356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767580,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:58:31] local.INFO: GPS data processed {"connection_id":171356,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:58:31] local.INFO: Acknowledgment sent {"connection_id":171356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:58:43] local.INFO: TCP Data received {"connection_id":171355,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9bab20012d0ca5c007077770001d010a1b..."} 
[2026-09-05 08:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9bab20012d0ca5c007077770001d010a1b..."} 
[2026-09-05 08:58:43] local.INFO: Processing buffer {"connection_id":171355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9bab20012d0ca5c007077770001d010a1b..."} 
[2026-09-05 08:58:43] local.INFO: Packet analysis {"connection_id":171355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9b"} 
[2026-09-05 08:58:43] local.INFO: Extracted packet for processing {"connection_id":171355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9b"} 
[2026-09-05 08:58:43] local.INFO: GPS Element Parsed {"raw_longitude":755803584,"raw_latitude":117929840,"longitude_deg":75.5803584,"latitude_deg":11.792984,"altitude":29,"angle":266,"satellites":27,"speed":15,"hex_longitude":"2d0ca5c0","hex_latitude":"07077770","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876189696001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30271384768741376,"note":"Value kept but may cause issues"} 
[2026-09-05 08:58:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912190060965097472,"note":"Value kept but may cause issues"} 
[2026-09-05 08:58:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788578868000,"timestamp_ms":1788578868000,"timestamp_seconds":1788578868,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9bab20"} 
[2026-09-05 08:58:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:58: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-09-05 08: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 08:58:43] 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-09-05 08: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-09-05 08:58:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":171355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":171355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":171355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:58:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 08:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 08:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876189696001,"66":14135,"221":206,"94":10240,"24":15,"16":30271384768741376,"45":912190060965097472},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-05 08:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 08:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 08:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876189696001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:58:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-05 08:58:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 08:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30271384768741376,"km_value":30271384768741.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:58:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":912190060965097472,"description":"Unknown IO ID 45"} 
[2026-09-05 08:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876189696001,"power":14135,"unknown_221":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":912190060965097472}} 
[2026-09-05 08:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":171355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767581,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:58:43] local.INFO: GPS data processed {"connection_id":171355,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:58:43] local.INFO: Acknowledgment sent {"connection_id":171355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:59:02] local.INFO: TCP Data received {"connection_id":171356,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9bf940012d79f94005ec73f0000700aa26..."} 
[2026-09-05 08:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9bf940012d79f94005ec73f0000700aa26..."} 
[2026-09-05 08:59:02] local.INFO: Processing buffer {"connection_id":171356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9bf940012d79f94005ec73f0000700aa26..."} 
[2026-09-05 08:59:02] local.INFO: Packet analysis {"connection_id":171356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9b"} 
[2026-09-05 08:59:02] local.INFO: Extracted packet for processing {"connection_id":171356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9b"} 
[2026-09-05 08:59:02] local.INFO: GPS Element Parsed {"raw_longitude":762968384,"raw_latitude":99382256,"longitude_deg":76.2968384,"latitude_deg":9.9382256,"altitude":7,"angle":170,"satellites":38,"speed":8,"hex_longitude":"2d79f940","hex_latitude":"05ec73f0","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876195072001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128476116934459392,"note":"Value kept but may cause issues"} 
[2026-09-05 08:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789126541976315904,"note":"Value kept but may cause issues"} 
[2026-09-05 08:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788578888000,"timestamp_ms":1788578888000,"timestamp_seconds":1788578888,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9bf940"} 
[2026-09-05 08:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-05 08:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630447,"note":"Value kept but may cause issues"} 
[2026-09-05 08:59:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 08:59:02] local.WARNING: Large IO value detected {"io_id":111,"raw_value":2609891329,"note":"Value kept but may cause issues"} 
[2026-09-05 08:59:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-4003736352616087552,"note":"Value kept but may cause issues"} 
[2026-09-05 08:59:02] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 08:59:02] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2200961030,"note":"Value kept but may cause issues"} 
[2026-09-05 08:59:02] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633015547479140,"note":"Value kept but may cause issues"} 
[2026-09-05 08:59:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-09-05 08:59:02] local.WARNING: Large IO value detected {"io_id":96,"raw_value":3892391290,"note":"Value kept but may cause issues"} 
[2026-09-05 08:59:02] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748868,"note":"Value kept but may cause issues"} 
[2026-09-05 08:59:02] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-05 08:59:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1877016576,"corrected_to":0} 
[2026-09-05 08:59:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968081920,"note":"Value kept but may cause issues"} 
[2026-09-05 08:59:02] local.WARNING: Large IO value detected {"io_id":122,"raw_value":1909532755375947783,"note":"Value kept but may cause issues"} 
[2026-09-05 08:59:02] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6845245739983909289,"note":"Value kept but may cause issues"} 
[2026-09-05 08:59:02] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755455275761905,"note":"Value kept but may cause issues"} 
[2026-09-05 08:59:02] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,100,87,24,241,157,16,112,160,175,45,128,126,6,36,10,66,155,130,111,147,1,240,7,227,236,4,113,205,96,27,38,239,49,2,200,5,11,122,50,54],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0},{"io_id":200,"original":1877016576,"validated":0}]} 
[2026-09-05 08:59:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432560132204068864,"timestamp_seconds":432560132204068.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 08:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876195072001,"66":13678,"100":206,"87":13824,"24":8,"16":128476116934459392,"45":8789126541976315904},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-05 08:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876195072001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:59:02] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-05 08:59:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128476116934459392,"km_value":128476116934459.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789126541976315904,"description":"Unknown IO ID 45"} 
[2026-09-05 08:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876195072001,"power":13678,"unknown_100":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8789126541976315904}} 
[2026-09-05 08:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":171356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767582,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:59:02] local.INFO: GPS data processed {"connection_id":171356,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:59:02] local.INFO: Acknowledgment sent {"connection_id":171356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:59:08] local.INFO: TCP Data received {"connection_id":172761,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172761,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:59:08] local.INFO: Processing buffer {"connection_id":172761,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:59:08] local.INFO: IMEI packet received {"connection_id":172761,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 08:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":172761,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:59:11] local.INFO: TCP Data received {"connection_id":172761,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172761,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:59:11] local.INFO: Processing buffer {"connection_id":172761,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:59:11] local.INFO: IMEI packet received {"connection_id":172761,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 08:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":172761,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:59:15] local.INFO: TCP Data received {"connection_id":172761,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172761,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:59:15] local.INFO: Processing buffer {"connection_id":172761,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 08:59:15] local.INFO: IMEI packet received {"connection_id":172761,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 08:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":172761,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:59:16] local.INFO: TCP Data received {"connection_id":172761,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9c85e0012d0c358007077130001000ea1b..."} 
[2026-09-05 08:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9c85e0012d0c358007077130001000ea1b..."} 
[2026-09-05 08:59:16] local.INFO: Processing buffer {"connection_id":172761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9c85e0012d0c358007077130001000ea1b..."} 
[2026-09-05 08:59:16] local.INFO: Packet analysis {"connection_id":172761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9c"} 
[2026-09-05 08:59:16] local.INFO: Extracted packet for processing {"connection_id":172761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9c"} 
[2026-09-05 08:59:16] local.INFO: GPS Element Parsed {"raw_longitude":755774848,"raw_latitude":117928240,"longitude_deg":75.5774848,"latitude_deg":11.792824,"altitude":16,"angle":234,"satellites":27,"speed":14,"hex_longitude":"2d0c3580","hex_latitude":"07077130","is_valid_coordinates":true} 
[2026-09-05 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-09-05 08:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876204288001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30272784928079872,"note":"Value kept but may cause issues"} 
[2026-09-05 08:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880101913619728384,"note":"Value kept but may cause issues"} 
[2026-09-05 08:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788578924000,"timestamp_ms":1788578924000,"timestamp_seconds":1788578924,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9c85e0"} 
[2026-09-05 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-09-05 08:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-05 08:59: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-09-05 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-09-05 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-09-05 08:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":172761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":172761,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":172761,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 08:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 08:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876204288001,"66":14537,"221":206,"94":10240,"24":14,"16":30272784928079872,"45":880101913619728384},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-05 08:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 08:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 08:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876204288001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:59:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-05 08:59:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 08:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30272784928079872,"km_value":30272784928079.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":880101913619728384,"description":"Unknown IO ID 45"} 
[2026-09-05 08:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876204288001,"power":14537,"unknown_221":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":880101913619728384}} 
[2026-09-05 08:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":172761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767583,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:59:16] local.INFO: GPS data processed {"connection_id":172761,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:59:16] local.INFO: Acknowledgment sent {"connection_id":172761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:59:20] local.INFO: TCP Data received {"connection_id":172761,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9c89c8012d0c354007076fc0001000cd1b..."} 
[2026-09-05 08:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9c89c8012d0c354007076fc0001000cd1b..."} 
[2026-09-05 08:59:20] local.INFO: Processing buffer {"connection_id":172761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9c89c8012d0c354007076fc0001000cd1b..."} 
[2026-09-05 08:59:20] local.INFO: Packet analysis {"connection_id":172761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9c"} 
[2026-09-05 08:59:20] local.INFO: Extracted packet for processing {"connection_id":172761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9c"} 
[2026-09-05 08:59:20] local.INFO: GPS Element Parsed {"raw_longitude":755774784,"raw_latitude":117927872,"longitude_deg":75.5774784,"latitude_deg":11.7927872,"altitude":16,"angle":205,"satellites":27,"speed":15,"hex_longitude":"2d0c3540","hex_latitude":"07076fc0","is_valid_coordinates":true} 
[2026-09-05 08:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 08:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876204544001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30272802107949056,"note":"Value kept but may cause issues"} 
[2026-09-05 08:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":879750069898784768,"note":"Value kept but may cause issues"} 
[2026-09-05 08:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788578925000,"timestamp_ms":1788578925000,"timestamp_seconds":1788578925,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9c89c8"} 
[2026-09-05 08:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 08:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-05 08:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 08:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172761,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172761,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 08:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 08:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 08:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876204544001,"66":14537,"221":206,"94":10240,"24":15,"16":30272802107949056,"45":879750069898784768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-05 08:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 08:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 08:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876204544001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:59:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-05 08:59:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 08:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30272802107949056,"km_value":30272802107949.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":879750069898784768,"description":"Unknown IO ID 45"} 
[2026-09-05 08:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876204544001,"power":14537,"unknown_221":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":879750069898784768}} 
[2026-09-05 08:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":172761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767584,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:59:20] local.INFO: GPS data processed {"connection_id":172761,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:59:20] local.INFO: Acknowledgment sent {"connection_id":172761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:59:25] local.INFO: TCP Data received {"connection_id":171357,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:59:25] local.INFO: Processing buffer {"connection_id":171357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:59:25] local.INFO: IMEI packet received {"connection_id":171357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 08:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":171357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 08:59:30] local.INFO: TCP Data received {"connection_id":171357,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:59:30] local.INFO: Processing buffer {"connection_id":171357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 08:59:30] local.INFO: IMEI packet received {"connection_id":171357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 08:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":171357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 08:59:31] local.INFO: TCP Data received {"connection_id":171357,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9c33d8012d7a040005ec5168000700a425..."} 
[2026-09-05 08:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9c33d8012d7a040005ec5168000700a425..."} 
[2026-09-05 08:59:31] local.INFO: Processing buffer {"connection_id":171357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9c33d8012d7a040005ec5168000700a425..."} 
[2026-09-05 08:59:31] local.INFO: Packet analysis {"connection_id":171357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9c"} 
[2026-09-05 08:59:31] local.INFO: Extracted packet for processing {"connection_id":171357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9c"} 
[2026-09-05 08:59:31] local.INFO: GPS Element Parsed {"raw_longitude":762971136,"raw_latitude":99373416,"longitude_deg":76.2971136,"latitude_deg":9.9373416,"altitude":7,"angle":164,"satellites":37,"speed":34,"hex_longitude":"2d7a0400","hex_latitude":"05ec5168","is_valid_coordinates":true} 
[2026-09-05 08: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-09-05 08:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876195328001,"note":"Value kept but may cause issues"} 
[2026-09-05 08:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128476563611058176,"note":"Value kept but may cause issues"} 
[2026-09-05 08:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789126541976268800,"note":"Value kept but may cause issues"} 
[2026-09-05 08:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 08:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788578903000,"timestamp_ms":1788578903000,"timestamp_seconds":1788578903,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9c33d8"} 
[2026-09-05 08:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 08:59: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-09-05 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-05 08:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 08: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-09-05 08:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 08:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 08:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 08:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 08:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 08:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 08:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 08:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876195328001,"66":13939,"100":206,"87":13824,"24":34,"16":128476563611058176,"45":8789126541976268800},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-05 08:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 08:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 08:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876195328001,"description":"Unknown IO ID 0"} 
[2026-09-05 08:59:31] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-05 08:59:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 08:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128476563611058176,"km_value":128476563611058.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 08:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789126541976268800,"description":"Unknown IO ID 45"} 
[2026-09-05 08:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876195328001,"power":13939,"unknown_100":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8789126541976268800}} 
[2026-09-05 08:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":171357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767585,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 08:59:31] local.INFO: GPS data processed {"connection_id":171357,"processed":1,"errors":0,"total":1} 
[2026-09-05 08:59:31] local.INFO: Acknowledgment sent {"connection_id":171357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 08:59:41] local.INFO: TCP Data received {"connection_id":171358,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:59:41] local.INFO: Processing buffer {"connection_id":171358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 08:59:41] local.INFO: IMEI packet received {"connection_id":171358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 08:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":171358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:00:01] local.INFO: TCP Data received {"connection_id":171650,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171650,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:00:01] local.INFO: Processing buffer {"connection_id":171650,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:00:01] local.INFO: IMEI packet received {"connection_id":171650,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":171650,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:00:02] local.INFO: TCP Data received {"connection_id":171357,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9c5ae8012d7a0d4005ec2ea0000700a022..."} 
[2026-09-05 09:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9c5ae8012d7a0d4005ec2ea0000700a022..."} 
[2026-09-05 09:00:02] local.INFO: Processing buffer {"connection_id":171357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9c5ae8012d7a0d4005ec2ea0000700a022..."} 
[2026-09-05 09:00:02] local.INFO: Packet analysis {"connection_id":171357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9c"} 
[2026-09-05 09:00:02] local.INFO: Extracted packet for processing {"connection_id":171357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9c"} 
[2026-09-05 09:00:02] local.INFO: GPS Element Parsed {"raw_longitude":762973504,"raw_latitude":99364512,"longitude_deg":76.2973504,"latitude_deg":9.9364512,"altitude":7,"angle":160,"satellites":34,"speed":32,"hex_longitude":"2d7a0d40","hex_latitude":"05ec2ea0","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876199168001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128477010287656960,"note":"Value kept but may cause issues"} 
[2026-09-05 09:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792152397973645312,"note":"Value kept but may cause issues"} 
[2026-09-05 09:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788578913000,"timestamp_ms":1788578913000,"timestamp_seconds":1788578913,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9c5ae8"} 
[2026-09-05 09:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-05 09:00:02] 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-09-05 09: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-09-05 09:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876199168001,"66":13580,"100":206,"87":13824,"24":32,"16":128477010287656960,"45":8792152397973645312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-05 09:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876199168001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:00:02] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-05 09:00:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128477010287656960,"km_value":128477010287656.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792152397973645312,"description":"Unknown IO ID 45"} 
[2026-09-05 09:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876199168001,"power":13580,"unknown_100":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8792152397973645312}} 
[2026-09-05 09:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":171357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767586,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:00:02] local.INFO: GPS data processed {"connection_id":171357,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:00:02] local.INFO: Acknowledgment sent {"connection_id":171357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:00:06] local.INFO: TCP Data received {"connection_id":171650,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171650,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:00:06] local.INFO: Processing buffer {"connection_id":171650,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:00:06] local.INFO: IMEI packet received {"connection_id":171650,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":171650,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:00:06] local.INFO: TCP Data received {"connection_id":171650,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171650,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:00:06] local.INFO: Processing buffer {"connection_id":171650,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:00:06] local.INFO: IMEI packet received {"connection_id":171650,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":171650,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:00:07] local.INFO: TCP Data received {"connection_id":171650,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9d6870012d0bb240070740a0001400eb1b..."} 
[2026-09-05 09:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9d6870012d0bb240070740a0001400eb1b..."} 
[2026-09-05 09:00:07] local.INFO: Processing buffer {"connection_id":171650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9d6870012d0bb240070740a0001400eb1b..."} 
[2026-09-05 09:00:07] local.INFO: Packet analysis {"connection_id":171650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9d"} 
[2026-09-05 09:00:07] local.INFO: Extracted packet for processing {"connection_id":171650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9d"} 
[2026-09-05 09:00:07] local.INFO: GPS Element Parsed {"raw_longitude":755741248,"raw_latitude":117915808,"longitude_deg":75.5741248,"latitude_deg":11.7915808,"altitude":20,"angle":235,"satellites":27,"speed":23,"hex_longitude":"2d0bb240","hex_latitude":"070740a0","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876218880001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30274734843232256,"note":"Value kept but may cause issues"} 
[2026-09-05 09:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843932379109308416,"note":"Value kept but may cause issues"} 
[2026-09-05 09:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788578982000,"timestamp_ms":1788578982000,"timestamp_seconds":1788578982,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9d6870"} 
[2026-09-05 09:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 09:00:07] 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-09-05 09: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-09-05 09:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876218880001,"66":13722,"221":206,"94":10240,"24":23,"16":30274734843232256,"45":843932379109308416},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-05 09:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876218880001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:00:07] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-05 09:00:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30274734843232256,"km_value":30274734843232.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":843932379109308416,"description":"Unknown IO ID 45"} 
[2026-09-05 09:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876218880001,"power":13722,"unknown_221":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":843932379109308416}} 
[2026-09-05 09:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":171650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767587,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:00:07] local.INFO: GPS data processed {"connection_id":171650,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:00:07] local.INFO: Acknowledgment sent {"connection_id":171650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:00:11] local.INFO: TCP Data received {"connection_id":171650,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9d6c58012d0bb1c007073f38001600d61b..."} 
[2026-09-05 09:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9d6c58012d0bb1c007073f38001600d61b..."} 
[2026-09-05 09:00:11] local.INFO: Processing buffer {"connection_id":171650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9d6c58012d0bb1c007073f38001600d61b..."} 
[2026-09-05 09:00:11] local.INFO: Packet analysis {"connection_id":171650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9d"} 
[2026-09-05 09:00:11] local.INFO: Extracted packet for processing {"connection_id":171650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9d"} 
[2026-09-05 09:00:11] local.INFO: GPS Element Parsed {"raw_longitude":755741120,"raw_latitude":117915448,"longitude_deg":75.574112,"latitude_deg":11.7915448,"altitude":22,"angle":214,"satellites":27,"speed":18,"hex_longitude":"2d0bb1c0","hex_latitude":"07073f38","is_valid_coordinates":true} 
[2026-09-05 09:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876219392001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30274756318068736,"note":"Value kept but may cause issues"} 
[2026-09-05 09:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":842806479202328576,"note":"Value kept but may cause issues"} 
[2026-09-05 09:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788578983000,"timestamp_ms":1788578983000,"timestamp_seconds":1788578983,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9d6c58"} 
[2026-09-05 09:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-05 09:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876219392001,"66":13722,"221":206,"94":10240,"24":18,"16":30274756318068736,"45":842806479202328576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-05 09:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876219392001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:00:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-05 09:00:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30274756318068736,"km_value":30274756318068.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":842806479202328576,"description":"Unknown IO ID 45"} 
[2026-09-05 09:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876219392001,"power":13722,"unknown_221":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":842806479202328576}} 
[2026-09-05 09:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":171650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767588,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:00:11] local.INFO: GPS data processed {"connection_id":171650,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:00:11] local.INFO: Acknowledgment sent {"connection_id":171650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:00:31] local.INFO: TCP Data received {"connection_id":174063,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:00:31] local.INFO: Processing buffer {"connection_id":174063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:00:31] local.INFO: IMEI packet received {"connection_id":174063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":174063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:00:32] local.INFO: TCP Data received {"connection_id":174063,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:00:32] local.INFO: Processing buffer {"connection_id":174063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:00:32] local.INFO: IMEI packet received {"connection_id":174063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":174063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:00:33] local.INFO: TCP Data received {"connection_id":174063,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9dce00012d7ac2c005ebbd080007004225..."} 
[2026-09-05 09:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9dce00012d7ac2c005ebbd080007004225..."} 
[2026-09-05 09:00:33] local.INFO: Processing buffer {"connection_id":174063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9dce00012d7ac2c005ebbd080007004225..."} 
[2026-09-05 09:00:33] local.INFO: Packet analysis {"connection_id":174063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9d"} 
[2026-09-05 09:00:33] local.INFO: Extracted packet for processing {"connection_id":174063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9d"} 
[2026-09-05 09:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763019968,"raw_latitude":99335432,"longitude_deg":76.3019968,"latitude_deg":9.9335432,"altitude":7,"angle":66,"satellites":37,"speed":38,"hex_longitude":"2d7ac2c0","hex_latitude":"05ebbd08","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876223232001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128480527865872384,"note":"Value kept but may cause issues"} 
[2026-09-05 09:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835640281864755200,"note":"Value kept but may cause issues"} 
[2026-09-05 09:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788579008000,"timestamp_ms":1788579008000,"timestamp_seconds":1788579008,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9dce00"} 
[2026-09-05 09:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:00: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-09-05 09: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-05 09:00:33] 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-09-05 09: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-09-05 09:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876223232001,"66":13559,"161":206,"87":13824,"24":38,"16":128480527865872384,"45":8835640281864755200},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-05 09:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876223232001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:00:33] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-05 09:00:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128480527865872384,"km_value":128480527865872.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835640281864755200,"description":"Unknown IO ID 45"} 
[2026-09-05 09:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876223232001,"power":13559,"unknown_161":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8835640281864755200}} 
[2026-09-05 09:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":174063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767589,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:00:33] local.INFO: GPS data processed {"connection_id":174063,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:00:33] local.INFO: Acknowledgment sent {"connection_id":174063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:00:36] local.INFO: TCP Data received {"connection_id":174063,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9df8f8012d7ae40005ebcd400008003f25..."} 
[2026-09-05 09:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9df8f8012d7ae40005ebcd400008003f25..."} 
[2026-09-05 09:00:36] local.INFO: Processing buffer {"connection_id":174063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9df8f8012d7ae40005ebcd400008003f25..."} 
[2026-09-05 09:00:36] local.INFO: Packet analysis {"connection_id":174063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9d"} 
[2026-09-05 09:00:36] local.INFO: Extracted packet for processing {"connection_id":174063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9d"} 
[2026-09-05 09:00:36] local.INFO: GPS Element Parsed {"raw_longitude":763028480,"raw_latitude":99339584,"longitude_deg":76.302848,"latitude_deg":9.9339584,"altitude":8,"angle":63,"satellites":37,"speed":33,"hex_longitude":"2d7ae400","hex_latitude":"05ebcd40","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876226048001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128480983132405760,"note":"Value kept but may cause issues"} 
[2026-09-05 09:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8845843749771479040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788579019000,"timestamp_ms":1788579019000,"timestamp_seconds":1788579019,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9df8f8"} 
[2026-09-05 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-09-05 09: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-09-05 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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-05 09:00:36] 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-09-05 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-09-05 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-09-05 09:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":174063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":174063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":174063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876226048001,"66":13602,"98":206,"87":13824,"24":33,"16":128480983132405760,"45":8845843749771479040},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-05 09:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876226048001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:00:36] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-05 09:00:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128480983132405760,"km_value":128480983132405.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8845843749771479040,"description":"Unknown IO ID 45"} 
[2026-09-05 09:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876226048001,"power":13602,"unknown_98":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8845843749771479040}} 
[2026-09-05 09:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":174063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767590,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:00:36] local.INFO: GPS data processed {"connection_id":174063,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:00:36] local.INFO: Acknowledgment sent {"connection_id":174063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:00:42] local.INFO: TCP Data received {"connection_id":171650,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9d7040012d0bb20007073d18001600bc1b..."} 
[2026-09-05 09:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9d7040012d0bb20007073d18001600bc1b..."} 
[2026-09-05 09:00:42] local.INFO: Processing buffer {"connection_id":171650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9d7040012d0bb20007073d18001600bc1b..."} 
[2026-09-05 09:00:42] local.INFO: Packet analysis {"connection_id":171650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9d"} 
[2026-09-05 09:00:42] local.INFO: Extracted packet for processing {"connection_id":171650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9d"} 
[2026-09-05 09:00:42] local.INFO: GPS Element Parsed {"raw_longitude":755741184,"raw_latitude":117914904,"longitude_deg":75.5741184,"latitude_deg":11.7914904,"altitude":22,"angle":188,"satellites":27,"speed":21,"hex_longitude":"2d0bb200","hex_latitude":"07073d18","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876219648001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30274782087872512,"note":"Value kept but may cause issues"} 
[2026-09-05 09:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":842665741713881088,"note":"Value kept but may cause issues"} 
[2026-09-05 09:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788578984000,"timestamp_ms":1788578984000,"timestamp_seconds":1788578984,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9d7040"} 
[2026-09-05 09:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:00: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-09-05 09: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-05 09:00:42] 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-09-05 09: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-09-05 09:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":171650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":171650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":171650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876219648001,"66":14439,"221":206,"94":10240,"24":21,"16":30274782087872512,"45":842665741713881088},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-05 09:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876219648001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:00:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-05 09:00:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30274782087872512,"km_value":30274782087872.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":842665741713881088,"description":"Unknown IO ID 45"} 
[2026-09-05 09:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876219648001,"power":14439,"unknown_221":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":842665741713881088}} 
[2026-09-05 09:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":171650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767591,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:00:42] local.INFO: GPS data processed {"connection_id":171650,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:00:42] local.INFO: Acknowledgment sent {"connection_id":171650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:01:06] local.INFO: TCP Data received {"connection_id":171360,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171360,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:01:06] local.INFO: Processing buffer {"connection_id":171360,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:01:06] local.INFO: IMEI packet received {"connection_id":171360,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":171360,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:01:07] local.INFO: TCP Data received {"connection_id":174063,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9e27d8012d7b058005ebde000008003f25..."} 
[2026-09-05 09:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9e27d8012d7b058005ebde000008003f25..."} 
[2026-09-05 09:01:07] local.INFO: Processing buffer {"connection_id":174063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9e27d8012d7b058005ebde000008003f25..."} 
[2026-09-05 09:01:07] local.INFO: Packet analysis {"connection_id":174063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9e"} 
[2026-09-05 09:01:07] local.INFO: Extracted packet for processing {"connection_id":174063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9e"} 
[2026-09-05 09:01:07] local.INFO: GPS Element Parsed {"raw_longitude":763037056,"raw_latitude":99343872,"longitude_deg":76.3037056,"latitude_deg":9.9343872,"altitude":8,"angle":63,"satellites":37,"speed":29,"hex_longitude":"2d7b0580","hex_latitude":"05ebde00","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876228864001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128481442693906432,"note":"Value kept but may cause issues"} 
[2026-09-05 09:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8855202792748171264,"note":"Value kept but may cause issues"} 
[2026-09-05 09:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788579031000,"timestamp_ms":1788579031000,"timestamp_seconds":1788579031,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9e27d8"} 
[2026-09-05 09:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-05 09:01:07] 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-09-05 09: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-09-05 09:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876228864001,"66":13406,"98":206,"87":13824,"24":29,"16":128481442693906432,"45":8855202792748171264},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-05 09:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876228864001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:01:07] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-05 09:01:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128481442693906432,"km_value":128481442693906.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8855202792748171264,"description":"Unknown IO ID 45"} 
[2026-09-05 09:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876228864001,"power":13406,"unknown_98":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8855202792748171264}} 
[2026-09-05 09:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":174063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767592,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:01:07] local.INFO: GPS data processed {"connection_id":174063,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:01:07] local.INFO: Acknowledgment sent {"connection_id":174063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:01:09] local.INFO: TCP Data received {"connection_id":171360,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171360,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:01:09] local.INFO: Processing buffer {"connection_id":171360,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:01:09] local.INFO: IMEI packet received {"connection_id":171360,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":171360,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:01:09] local.INFO: TCP Data received {"connection_id":171360,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9e2bc0012d0b40000706f0f8000e00d41b..."} 
[2026-09-05 09:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9e2bc0012d0b40000706f0f8000e00d41b..."} 
[2026-09-05 09:01:09] local.INFO: Processing buffer {"connection_id":171360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9e2bc0012d0b40000706f0f8000e00d41b..."} 
[2026-09-05 09:01:09] local.INFO: Packet analysis {"connection_id":171360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9e"} 
[2026-09-05 09:01:09] local.INFO: Extracted packet for processing {"connection_id":171360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9e"} 
[2026-09-05 09:01:09] local.INFO: GPS Element Parsed {"raw_longitude":755712000,"raw_latitude":117895416,"longitude_deg":75.5712,"latitude_deg":11.7895416,"altitude":14,"angle":212,"satellites":27,"speed":39,"hex_longitude":"2d0b4000","hex_latitude":"0706f0f8","is_valid_coordinates":true} 
[2026-09-05 09:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876231680001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30276770657730560,"note":"Value kept but may cause issues"} 
[2026-09-05 09:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":811844231759345664,"note":"Value kept but may cause issues"} 
[2026-09-05 09:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788579032000,"timestamp_ms":1788579032000,"timestamp_seconds":1788579032,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9e2bc0"} 
[2026-09-05 09:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:01: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-09-05 09:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 09:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171360,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171360,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876231680001,"66":14461,"163":206,"94":10240,"24":39,"16":30276770657730560,"45":811844231759345664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-05 09:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876231680001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:01:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 09:01:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30276770657730560,"km_value":30276770657730.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":811844231759345664,"description":"Unknown IO ID 45"} 
[2026-09-05 09:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876231680001,"power":14461,"unknown_163":206,"unknown_94":10240,"ignition":39,"odometer":null,"unknown_45":811844231759345664}} 
[2026-09-05 09:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":171360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767593,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:01:10] local.INFO: GPS data processed {"connection_id":171360,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:01:10] local.INFO: Acknowledgment sent {"connection_id":171360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:01:10] local.INFO: TCP Data received {"connection_id":171360,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9e52d0012d0b30000706cf28000f00cd1b..."} 
[2026-09-05 09:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9e52d0012d0b30000706cf28000f00cd1b..."} 
[2026-09-05 09:01:10] local.INFO: Processing buffer {"connection_id":171360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9e52d0012d0b30000706cf28000f00cd1b..."} 
[2026-09-05 09:01:10] local.INFO: Packet analysis {"connection_id":171360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9e"} 
[2026-09-05 09:01:10] local.INFO: Extracted packet for processing {"connection_id":171360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9e"} 
[2026-09-05 09:01:10] local.INFO: GPS Element Parsed {"raw_longitude":755707904,"raw_latitude":117886760,"longitude_deg":75.5707904,"latitude_deg":11.788676,"altitude":15,"angle":205,"satellites":27,"speed":43,"hex_longitude":"2d0b3000","hex_latitude":"0706cf28","is_valid_coordinates":true} 
[2026-09-05 09:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876232192001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30277234514198528,"note":"Value kept but may cause issues"} 
[2026-09-05 09:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":810647963107915776,"note":"Value kept but may cause issues"} 
[2026-09-05 09:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788579042000,"timestamp_ms":1788579042000,"timestamp_seconds":1788579042,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9e52d0"} 
[2026-09-05 09:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:01: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-09-05 09:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 09:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171360,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171360,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876232192001,"66":14352,"163":206,"94":10240,"24":43,"16":30277234514198528,"45":810647963107915776},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-05 09:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876232192001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:01:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 09:01:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30277234514198528,"km_value":30277234514198.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":810647963107915776,"description":"Unknown IO ID 45"} 
[2026-09-05 09:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876232192001,"power":14352,"unknown_163":206,"unknown_94":10240,"ignition":43,"odometer":null,"unknown_45":810647963107915776}} 
[2026-09-05 09:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":171360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767594,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:01:11] local.INFO: GPS data processed {"connection_id":171360,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:01:11] local.INFO: Acknowledgment sent {"connection_id":171360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:01:23] local.INFO: TCP Data received {"connection_id":172763,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172763,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:01:23] local.INFO: Processing buffer {"connection_id":172763,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:01:23] local.INFO: IMEI packet received {"connection_id":172763,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":172763,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:01:25] local.INFO: TCP Data received {"connection_id":172763,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172763,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:01:25] local.INFO: Processing buffer {"connection_id":172763,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:01:25] local.INFO: IMEI packet received {"connection_id":172763,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":172763,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:01:31] local.INFO: TCP Data received {"connection_id":172763,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172763,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:01:31] local.INFO: Processing buffer {"connection_id":172763,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:01:31] local.INFO: IMEI packet received {"connection_id":172763,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":172763,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:01:31] local.INFO: TCP Data received {"connection_id":172763,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9e79e0012d7b258005ebee100008003f26..."} 
[2026-09-05 09:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9e79e0012d7b258005ebee100008003f26..."} 
[2026-09-05 09:01:31] local.INFO: Processing buffer {"connection_id":172763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9e79e0012d7b258005ebee100008003f26..."} 
[2026-09-05 09:01:31] local.INFO: Packet analysis {"connection_id":172763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9e"} 
[2026-09-05 09:01:31] local.INFO: Extracted packet for processing {"connection_id":172763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9e"} 
[2026-09-05 09:01:31] local.INFO: GPS Element Parsed {"raw_longitude":763045248,"raw_latitude":99347984,"longitude_deg":76.3045248,"latitude_deg":9.9347984,"altitude":8,"angle":63,"satellites":38,"speed":20,"hex_longitude":"2d7b2580","hex_latitude":"05ebee10","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876231936001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128481880780570624,"note":"Value kept but may cause issues"} 
[2026-09-05 09:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864632204469075968,"note":"Value kept but may cause issues"} 
[2026-09-05 09:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788579052000,"timestamp_ms":1788579052000,"timestamp_seconds":1788579052,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9e79e0"} 
[2026-09-05 09:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-05 09:01:31] 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-09-05 09: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-09-05 09:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876231936001,"66":13613,"98":206,"87":13824,"24":20,"16":128481880780570624,"45":8864632204469075968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-05 09:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876231936001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:01:31] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-05 09:01:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128481880780570624,"km_value":128481880780570.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864632204469075968,"description":"Unknown IO ID 45"} 
[2026-09-05 09:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876231936001,"power":13613,"unknown_98":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8864632204469075968}} 
[2026-09-05 09:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":172763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767595,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:01:31] local.INFO: GPS data processed {"connection_id":172763,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:01:31] local.INFO: Acknowledgment sent {"connection_id":172763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:01:41] local.INFO: TCP Data received {"connection_id":171360,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9e7210012d0b21c00706af80000f00cf1b..."} 
[2026-09-05 09:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9e7210012d0b21c00706af80000f00cf1b..."} 
[2026-09-05 09:01:41] local.INFO: Processing buffer {"connection_id":171360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9e7210012d0b21c00706af80000f00cf1b..."} 
[2026-09-05 09:01:41] local.INFO: Packet analysis {"connection_id":171360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9e"} 
[2026-09-05 09:01:41] local.INFO: Extracted packet for processing {"connection_id":171360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9e"} 
[2026-09-05 09:01:41] local.INFO: GPS Element Parsed {"raw_longitude":755704256,"raw_latitude":117878656,"longitude_deg":75.5704256,"latitude_deg":11.7878656,"altitude":15,"angle":207,"satellites":27,"speed":41,"hex_longitude":"2d0b21c0","hex_latitude":"0706af80","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876234752001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30277664010928128,"note":"Value kept but may cause issues"} 
[2026-09-05 09:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":806144363478329344,"note":"Value kept but may cause issues"} 
[2026-09-05 09:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788579050000,"timestamp_ms":1788579050000,"timestamp_seconds":1788579050,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9e7210"} 
[2026-09-05 09:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-05 09:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733147392,"note":"Value kept but may cause issues"} 
[2026-09-05 09:01:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 09:01:41] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 09:01:41] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":14336,"corrected_to":0} 
[2026-09-05 09:01:41] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504061594501120,"note":"Value kept but may cause issues"} 
[2026-09-05 09:01:41] local.WARNING: Large IO value detected {"io_id":111,"raw_value":2651107329,"note":"Value kept but may cause issues"} 
[2026-09-05 09:01:41] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639316264511395,"note":"Value kept but may cause issues"} 
[2026-09-05 09:01:41] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6845735320693309696,"note":"Value kept but may cause issues"} 
[2026-09-05 09:01:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738735822,"corrected_to":0} 
[2026-09-05 09:01:41] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-05 09:01:41] local.WARNING: Large IO value detected {"io_id":107,"raw_value":2411659264,"note":"Value kept but may cause issues"} 
[2026-09-05 09:01:41] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84736813163808533,"note":"Value kept but may cause issues"} 
[2026-09-05 09:01:41] local.WARNING: Large IO value detected {"io_id":232,"raw_value":6474947119552512,"note":"Value kept but may cause issues"} 
[2026-09-05 09:01:41] local.WARNING: Large IO value detected {"io_id":11,"raw_value":-5674527803454259177,"note":"Value kept but may cause issues"} 
[2026-09-05 09:01:41] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,163,94,24,241,157,16,144,160,43,45,240,14,27,10,66,35,64,247,13,28,1,92,227,111,7,4,113,205,38,229,129,136,239,56,2,107,23,33,206,192,232,11],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":247,"original":14336,"validated":0},{"io_id":205,"original":1738735822,"validated":0}]} 
[2026-09-05 09:01:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081089426419548160,"timestamp_seconds":1081089426419548.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 09:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":171360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":171360,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":171360,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876234752001,"66":14439,"163":206,"94":10240,"24":41,"16":30277664010928128,"45":806144363478329344},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-05 09:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876234752001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:01:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 09:01:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30277664010928128,"km_value":30277664010928.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":806144363478329344,"description":"Unknown IO ID 45"} 
[2026-09-05 09:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876234752001,"power":14439,"unknown_163":206,"unknown_94":10240,"ignition":41,"odometer":null,"unknown_45":806144363478329344}} 
[2026-09-05 09:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":171360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767596,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:01:42] local.INFO: GPS data processed {"connection_id":171360,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:01:42] local.INFO: Acknowledgment sent {"connection_id":171360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:02:04] local.INFO: TCP Data received {"connection_id":172763,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9eb090012d7b454005ebfdc0000c004126..."} 
[2026-09-05 09:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9eb090012d7b454005ebfdc0000c004126..."} 
[2026-09-05 09:02:04] local.INFO: Processing buffer {"connection_id":172763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9eb090012d7b454005ebfdc0000c004126..."} 
[2026-09-05 09:02:04] local.INFO: Packet analysis {"connection_id":172763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9e"} 
[2026-09-05 09:02:04] local.INFO: Extracted packet for processing {"connection_id":172763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9e"} 
[2026-09-05 09:02:04] local.INFO: GPS Element Parsed {"raw_longitude":763053376,"raw_latitude":99352000,"longitude_deg":76.3053376,"latitude_deg":9.9352,"altitude":12,"angle":65,"satellites":38,"speed":29,"hex_longitude":"2d7b4540","hex_latitude":"05ebfdc0","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876237312001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128482314572267520,"note":"Value kept but may cause issues"} 
[2026-09-05 09:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873639403724869632,"note":"Value kept but may cause issues"} 
[2026-09-05 09:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788579066000,"timestamp_ms":1788579066000,"timestamp_seconds":1788579066,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9eb090"} 
[2026-09-05 09:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:02: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-09-05 09: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":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-05 09:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876237312001,"66":13678,"98":206,"87":13824,"24":29,"16":128482314572267520,"45":8873639403724869632},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-05 09:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876237312001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:02:04] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-05 09:02:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128482314572267520,"km_value":128482314572267.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873639403724869632,"description":"Unknown IO ID 45"} 
[2026-09-05 09:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876237312001,"power":13678,"unknown_98":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8873639403724869632}} 
[2026-09-05 09:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":172763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767597,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:02:04] local.INFO: GPS data processed {"connection_id":172763,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:02:04] local.INFO: Acknowledgment sent {"connection_id":172763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:02:05] local.INFO: TCP Data received {"connection_id":171361,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171361,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:02:05] local.INFO: Processing buffer {"connection_id":171361,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:02:05] local.INFO: IMEI packet received {"connection_id":171361,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":171361,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:02:11] local.INFO: TCP Data received {"connection_id":171361,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171361,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:02:11] local.INFO: Processing buffer {"connection_id":171361,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:02:11] local.INFO: IMEI packet received {"connection_id":171361,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":171361,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:02:11] local.INFO: TCP Data received {"connection_id":171361,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9e9150012d0b11c007069548001100db1b..."} 
[2026-09-05 09:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9e9150012d0b11c007069548001100db1b..."} 
[2026-09-05 09:02:11] local.INFO: Processing buffer {"connection_id":171361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9e9150012d0b11c007069548001100db1b..."} 
[2026-09-05 09:02:11] local.INFO: Packet analysis {"connection_id":171361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9e"} 
[2026-09-05 09:02:11] local.INFO: Extracted packet for processing {"connection_id":171361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9e"} 
[2026-09-05 09:02:11] local.INFO: GPS Element Parsed {"raw_longitude":755700160,"raw_latitude":117871944,"longitude_deg":75.570016,"latitude_deg":11.7871944,"altitude":17,"angle":219,"satellites":27,"speed":40,"hex_longitude":"2d0b11c0","hex_latitude":"07069548","is_valid_coordinates":true} 
[2026-09-05 09:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876236800001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30278041968050176,"note":"Value kept but may cause issues"} 
[2026-09-05 09:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802133345058127872,"note":"Value kept but may cause issues"} 
[2026-09-05 09:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788579058000,"timestamp_ms":1788579058000,"timestamp_seconds":1788579058,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9e9150"} 
[2026-09-05 09:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:02: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-09-05 09:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-05 09:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171361,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171361,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876236800001,"66":14439,"163":206,"94":10240,"24":40,"16":30278041968050176,"45":802133345058127872},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-05 09:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876236800001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:02:11] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 09:02:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30278041968050176,"km_value":30278041968050.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":802133345058127872,"description":"Unknown IO ID 45"} 
[2026-09-05 09:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876236800001,"power":14439,"unknown_163":206,"unknown_94":10240,"ignition":40,"odometer":null,"unknown_45":802133345058127872}} 
[2026-09-05 09:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":171361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767598,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:02:11] local.INFO: GPS data processed {"connection_id":171361,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:02:11] local.INFO: Acknowledgment sent {"connection_id":171361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:02:24] local.INFO: TCP Data received {"connection_id":172764,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:02:24] local.INFO: Processing buffer {"connection_id":172764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:02:24] local.INFO: IMEI packet received {"connection_id":172764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":172764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:02:26] local.INFO: TCP Data received {"connection_id":174065,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:02:26] local.INFO: Processing buffer {"connection_id":174065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:02:26] local.INFO: IMEI packet received {"connection_id":174065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":174065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:02:27] local.INFO: TCP Data received {"connection_id":172764,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9e56b8012d515040067694a0001100ca28..."} 
[2026-09-05 09:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9e56b8012d515040067694a0001100ca28..."} 
[2026-09-05 09:02:27] local.INFO: Processing buffer {"connection_id":172764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9e56b8012d515040067694a0001100ca28..."} 
[2026-09-05 09:02:27] local.INFO: Packet analysis {"connection_id":172764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9e"} 
[2026-09-05 09:02:27] local.INFO: Extracted packet for processing {"connection_id":172764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9e"} 
[2026-09-05 09:02:27] local.INFO: GPS Element Parsed {"raw_longitude":760303680,"raw_latitude":108434592,"longitude_deg":76.030368,"latitude_deg":10.8434592,"altitude":17,"angle":202,"satellites":40,"speed":10,"hex_longitude":"2d515040","hex_latitude":"067694a0","is_valid_coordinates":true} 
[2026-09-05 09:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876230912001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399283889530470400,"note":"Value kept but may cause issues"} 
[2026-09-05 09:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5863053423900188672,"note":"Value kept but may cause issues"} 
[2026-09-05 09:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788579043000,"timestamp_ms":1788579043000,"timestamp_seconds":1788579043,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9e56b8"} 
[2026-09-05 09:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:02:27] 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-09-05 09:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 09:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876230912001,"66":27876,"146":206,"80":60160,"24":10,"16":399283889530470400,"45":5863053423900188672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,80,24,16,45]} 
[2026-09-05 09:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876230912001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:02:27] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-05 09:02:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-05 09:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399283889530470400,"km_value":399283889530470.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5863053423900188672,"description":"Unknown IO ID 45"} 
[2026-09-05 09:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876230912001,"power":27876,"unknown_146":206,"unknown_80":60160,"ignition":10,"odometer":null,"unknown_45":5863053423900188672}} 
[2026-09-05 09:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":172764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:02:27] local.INFO: GPS data processed {"connection_id":172764,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:02:27] local.INFO: Acknowledgment sent {"connection_id":172764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:02:29] local.INFO: TCP Data received {"connection_id":174065,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:02:29] local.INFO: Processing buffer {"connection_id":174065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:02:29] local.INFO: IMEI packet received {"connection_id":174065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":174065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:02:30] local.INFO: TCP Data received {"connection_id":174065,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9eeb28012d7b668005ec0b28000f004626..."} 
[2026-09-05 09:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9eeb28012d7b668005ec0b28000f004626..."} 
[2026-09-05 09:02:30] local.INFO: Processing buffer {"connection_id":174065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9eeb28012d7b668005ec0b28000f004626..."} 
[2026-09-05 09:02:30] local.INFO: Packet analysis {"connection_id":174065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9e"} 
[2026-09-05 09:02:30] local.INFO: Extracted packet for processing {"connection_id":174065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9e"} 
[2026-09-05 09:02:30] local.INFO: GPS Element Parsed {"raw_longitude":763061888,"raw_latitude":99355432,"longitude_deg":76.3061888,"latitude_deg":9.9355432,"altitude":15,"angle":70,"satellites":38,"speed":20,"hex_longitude":"2d7b6680","hex_latitude":"05ec0b28","is_valid_coordinates":true} 
[2026-09-05 09:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876240896001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128482756953899008,"note":"Value kept but may cause issues"} 
[2026-09-05 09:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882576234236461056,"note":"Value kept but may cause issues"} 
[2026-09-05 09:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788579081000,"timestamp_ms":1788579081000,"timestamp_seconds":1788579081,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9eeb28"} 
[2026-09-05 09:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:02: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-09-05 09:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-05 09:02:30] 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-09-05 09:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876240896001,"66":13515,"98":206,"87":13824,"24":20,"16":128482756953899008,"45":8882576234236461056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-05 09:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876240896001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:02:30] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-05 09:02:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128482756953899008,"km_value":128482756953899.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882576234236461056,"description":"Unknown IO ID 45"} 
[2026-09-05 09:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876240896001,"power":13515,"unknown_98":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8882576234236461056}} 
[2026-09-05 09:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":174065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767600,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:02:30] local.INFO: GPS data processed {"connection_id":174065,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:02:30] local.INFO: Acknowledgment sent {"connection_id":174065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:02:42] local.INFO: TCP Data received {"connection_id":171361,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9eb478012d0afbc007067b00000f00cf1b..."} 
[2026-09-05 09:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9eb478012d0afbc007067b00000f00cf1b..."} 
[2026-09-05 09:02:42] local.INFO: Processing buffer {"connection_id":171361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9eb478012d0afbc007067b00000f00cf1b..."} 
[2026-09-05 09:02:42] local.INFO: Packet analysis {"connection_id":171361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9e"} 
[2026-09-05 09:02:42] local.INFO: Extracted packet for processing {"connection_id":171361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9e"} 
[2026-09-05 09:02:42] local.INFO: GPS Element Parsed {"raw_longitude":755694528,"raw_latitude":117865216,"longitude_deg":75.5694528,"latitude_deg":11.7865216,"altitude":15,"angle":207,"satellites":27,"speed":27,"hex_longitude":"2d0afbc0","hex_latitude":"07067b00","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876238848001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30278467169812480,"note":"Value kept but may cause issues"} 
[2026-09-05 09:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797629745429039104,"note":"Value kept but may cause issues"} 
[2026-09-05 09:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788579067000,"timestamp_ms":1788579067000,"timestamp_seconds":1788579067,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9eb478"} 
[2026-09-05 09:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:02: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-09-05 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-05 09:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":171361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":171361,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":171361,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876238848001,"66":14580,"163":206,"94":10240,"24":27,"16":30278467169812480,"45":797629745429039104},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-05 09:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876238848001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:02:42] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 09:02:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30278467169812480,"km_value":30278467169812.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":797629745429039104,"description":"Unknown IO ID 45"} 
[2026-09-05 09:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876238848001,"power":14580,"unknown_163":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":797629745429039104}} 
[2026-09-05 09:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":171361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767601,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:02:43] local.INFO: GPS data processed {"connection_id":171361,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:02:43] local.INFO: Acknowledgment sent {"connection_id":171361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:02:55] local.INFO: TCP Data received {"connection_id":172765,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:02:55] local.INFO: Processing buffer {"connection_id":172765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:02:55] local.INFO: IMEI packet received {"connection_id":172765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":172765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:02:56] local.INFO: TCP Data received {"connection_id":172765,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:02:56] local.INFO: Processing buffer {"connection_id":172765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:02:56] local.INFO: IMEI packet received {"connection_id":172765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":172765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:03:00] local.INFO: TCP Data received {"connection_id":172765,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:03:00] local.INFO: Processing buffer {"connection_id":172765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:03:00] local.INFO: IMEI packet received {"connection_id":172765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":172765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:03:01] local.INFO: TCP Data received {"connection_id":172765,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9eaca8012d514c80067686e0001900bf22..."} 
[2026-09-05 09:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9eaca8012d514c80067686e0001900bf22..."} 
[2026-09-05 09:03:01] local.INFO: Processing buffer {"connection_id":172765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9eaca8012d514c80067686e0001900bf22..."} 
[2026-09-05 09:03:01] local.INFO: Packet analysis {"connection_id":172765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9e"} 
[2026-09-05 09:03:01] local.INFO: Extracted packet for processing {"connection_id":172765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9e"} 
[2026-09-05 09:03:01] local.INFO: GPS Element Parsed {"raw_longitude":760302720,"raw_latitude":108431072,"longitude_deg":76.030272,"latitude_deg":10.8431072,"altitude":25,"angle":191,"satellites":34,"speed":3,"hex_longitude":"2d514c80","hex_latitude":"067686e0","is_valid_coordinates":true} 
[2026-09-05 09:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876235008001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399284074214064128,"note":"Value kept but may cause issues"} 
[2026-09-05 09:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5859253511712448512,"note":"Value kept but may cause issues"} 
[2026-09-05 09:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788579065000,"timestamp_ms":1788579065000,"timestamp_seconds":1788579065,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9eaca8"} 
[2026-09-05 09:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:03:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 09:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876235008001,"66":27745,"146":206,"80":60160,"24":3,"16":399284074214064128,"45":5859253511712448512},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,80,24,16,45]} 
[2026-09-05 09:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876235008001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:03:01] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-05 09:03:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-05 09:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399284074214064128,"km_value":399284074214064.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5859253511712448512,"description":"Unknown IO ID 45"} 
[2026-09-05 09:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876235008001,"power":27745,"unknown_146":206,"unknown_80":60160,"ignition":3,"odometer":null,"unknown_45":5859253511712448512}} 
[2026-09-05 09:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":172765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:03:01] local.INFO: GPS data processed {"connection_id":172765,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:03:01] local.INFO: Acknowledgment sent {"connection_id":172765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:03:01] local.INFO: TCP Data received {"connection_id":174065,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9f1df0012d7b89c005ec1650000d004726..."} 
[2026-09-05 09:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9f1df0012d7b89c005ec1650000d004726..."} 
[2026-09-05 09:03:01] local.INFO: Processing buffer {"connection_id":174065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9f1df0012d7b89c005ec1650000d004726..."} 
[2026-09-05 09:03:01] local.INFO: Packet analysis {"connection_id":174065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9f"} 
[2026-09-05 09:03:01] local.INFO: Extracted packet for processing {"connection_id":174065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9f"} 
[2026-09-05 09:03:01] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":99358288,"longitude_deg":76.3070912,"latitude_deg":9.9358288,"altitude":13,"angle":71,"satellites":38,"speed":25,"hex_longitude":"2d7b89c0","hex_latitude":"05ec1650","is_valid_coordinates":true} 
[2026-09-05 09:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876244736001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128483207925465088,"note":"Value kept but may cause issues"} 
[2026-09-05 09:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891935277212968960,"note":"Value kept but may cause issues"} 
[2026-09-05 09:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788579094000,"timestamp_ms":1788579094000,"timestamp_seconds":1788579094,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9f1df0"} 
[2026-09-05 09:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:03: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-09-05 09:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-05 09:03:01] 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-09-05 09:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876244736001,"66":13559,"98":206,"87":13824,"24":25,"16":128483207925465088,"45":8891935277212968960},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-05 09:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876244736001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:03:01] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-05 09:03:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128483207925465088,"km_value":128483207925465.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891935277212968960,"description":"Unknown IO ID 45"} 
[2026-09-05 09:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876244736001,"power":13559,"unknown_98":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8891935277212968960}} 
[2026-09-05 09:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":174065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767603,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:03:01] local.INFO: GPS data processed {"connection_id":174065,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:03:01] local.INFO: Acknowledgment sent {"connection_id":174065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:03:03] local.INFO: TCP Data received {"connection_id":172766,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172766,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:03:03] local.INFO: Processing buffer {"connection_id":172766,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:03:03] local.INFO: IMEI packet received {"connection_id":172766,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":172766,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:03:05] local.INFO: TCP Data received {"connection_id":172766,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172766,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:03:05] local.INFO: Processing buffer {"connection_id":172766,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:03:05] local.INFO: IMEI packet received {"connection_id":172766,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":172766,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:03:10] local.INFO: TCP Data received {"connection_id":172766,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172766,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:03:10] local.INFO: Processing buffer {"connection_id":172766,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:03:10] local.INFO: IMEI packet received {"connection_id":172766,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":172766,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:03:11] local.INFO: TCP Data received {"connection_id":172766,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa03b18012d0b4e000705ff70000c00571c..."} 
[2026-09-05 09:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa03b18012d0b4e000705ff70000c00571c..."} 
[2026-09-05 09:03:11] local.INFO: Processing buffer {"connection_id":172766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa03b18012d0b4e000705ff70000c00571c..."} 
[2026-09-05 09:03:11] local.INFO: Packet analysis {"connection_id":172766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa0"} 
[2026-09-05 09:03:11] local.INFO: Extracted packet for processing {"connection_id":172766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa0"} 
[2026-09-05 09:03:11] local.INFO: GPS Element Parsed {"raw_longitude":755715584,"raw_latitude":117833584,"longitude_deg":75.5715584,"latitude_deg":11.7833584,"altitude":12,"angle":87,"satellites":28,"speed":6,"hex_longitude":"2d0b4e00","hex_latitude":"0705ff70","is_valid_coordinates":true} 
[2026-09-05 09:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876266496001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30280541639016448,"note":"Value kept but may cause issues"} 
[2026-09-05 09:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814307137789333504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788579167000,"timestamp_ms":1788579167000,"timestamp_seconds":1788579167,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa03b18"} 
[2026-09-05 09:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 09:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":172766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":172766,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":172766,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876266496001,"66":14396,"165":206,"94":10240,"24":6,"16":30280541639016448,"45":814307137789333504},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-05 09:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876266496001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:03:11] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-05 09:03:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30280541639016448,"km_value":30280541639016.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":814307137789333504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876266496001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":814307137789333504}} 
[2026-09-05 09:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":172766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767604,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:03:11] local.INFO: GPS data processed {"connection_id":172766,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:03:11] local.INFO: Acknowledgment sent {"connection_id":172766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:03:25] local.INFO: TCP Data received {"connection_id":174066,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174066,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:03:25] local.INFO: Processing buffer {"connection_id":174066,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:03:25] local.INFO: IMEI packet received {"connection_id":174066,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":174066,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:03:26] local.INFO: TCP Data received {"connection_id":174066,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174066,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:03:26] local.INFO: Processing buffer {"connection_id":174066,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:03:26] local.INFO: IMEI packet received {"connection_id":174066,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":174066,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:03:31] local.INFO: TCP Data received {"connection_id":174066,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174066,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:03:31] local.INFO: Processing buffer {"connection_id":174066,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:03:31] local.INFO: IMEI packet received {"connection_id":174066,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":174066,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:03:31] local.INFO: TCP Data received {"connection_id":174066,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9f54a0012d7babc005ec2088000d004926..."} 
[2026-09-05 09:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9f54a0012d7babc005ec2088000d004926..."} 
[2026-09-05 09:03:31] local.INFO: Processing buffer {"connection_id":174066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9f54a0012d7babc005ec2088000d004926..."} 
[2026-09-05 09:03:31] local.INFO: Packet analysis {"connection_id":174066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9f"} 
[2026-09-05 09:03:31] local.INFO: Extracted packet for processing {"connection_id":174066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9f"} 
[2026-09-05 09:03:31] local.INFO: GPS Element Parsed {"raw_longitude":763079616,"raw_latitude":99360904,"longitude_deg":76.3079616,"latitude_deg":9.9360904,"altitude":13,"angle":73,"satellites":38,"speed":28,"hex_longitude":"2d7babc0","hex_latitude":"05ec2088","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876248064001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128483641717161984,"note":"Value kept but may cause issues"} 
[2026-09-05 09:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270142750720,"note":"Value kept but may cause issues"} 
[2026-09-05 09:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788579108000,"timestamp_ms":1788579108000,"timestamp_seconds":1788579108,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9f54a0"} 
[2026-09-05 09:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:03: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-09-05 09: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-05 09:03:31] 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-09-05 09: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-09-05 09:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876248064001,"66":13689,"98":206,"87":13824,"24":28,"16":128483641717161984,"45":8901857270142750720},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-05 09:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876248064001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:03:31] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-05 09:03:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128483641717161984,"km_value":128483641717161.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270142750720,"description":"Unknown IO ID 45"} 
[2026-09-05 09:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876248064001,"power":13689,"unknown_98":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8901857270142750720}} 
[2026-09-05 09:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":174066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767605,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:03:31] local.INFO: GPS data processed {"connection_id":174066,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:03:31] local.INFO: Acknowledgment sent {"connection_id":174066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:03:33] local.INFO: TCP Data received {"connection_id":172765,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9eaca8012d514c80067686e0001900bf22..."} 
[2026-09-05 09:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9eaca8012d514c80067686e0001900bf22..."} 
[2026-09-05 09:03:33] local.INFO: Processing buffer {"connection_id":172765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9eaca8012d514c80067686e0001900bf22..."} 
[2026-09-05 09:03:33] local.INFO: Packet analysis {"connection_id":172765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9e"} 
[2026-09-05 09:03:33] local.INFO: Extracted packet for processing {"connection_id":172765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9e"} 
[2026-09-05 09:03:33] local.INFO: GPS Element Parsed {"raw_longitude":760302720,"raw_latitude":108431072,"longitude_deg":76.030272,"latitude_deg":10.8431072,"altitude":25,"angle":191,"satellites":34,"speed":3,"hex_longitude":"2d514c80","hex_latitude":"067686e0","is_valid_coordinates":true} 
[2026-09-05 09:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876240640001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399284074214064128,"note":"Value kept but may cause issues"} 
[2026-09-05 09:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5858197980548882432,"note":"Value kept but may cause issues"} 
[2026-09-05 09:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788579065000,"timestamp_ms":1788579065000,"timestamp_seconds":1788579065,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9eaca8"} 
[2026-09-05 09:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09: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-09-05 09:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 09:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:03: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-09-05 09:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876240640001,"66":27745,"146":206,"80":60160,"24":3,"16":399284074214064128,"45":5858197980548882432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,80,24,16,45]} 
[2026-09-05 09:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876240640001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:03:33] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-05 09:03:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-05 09:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399284074214064128,"km_value":399284074214064.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5858197980548882432,"description":"Unknown IO ID 45"} 
[2026-09-05 09:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876240640001,"power":27745,"unknown_146":206,"unknown_80":60160,"ignition":3,"odometer":null,"unknown_45":5858197980548882432}} 
[2026-09-05 09:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":172765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:03:33] local.INFO: GPS data processed {"connection_id":172765,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:03:33] local.INFO: Acknowledgment sent {"connection_id":172765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:03:42] local.INFO: TCP Data received {"connection_id":172766,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa03f00012d0b4e400705ff98000c003d1c..."} 
[2026-09-05 09:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa03f00012d0b4e400705ff98000c003d1c..."} 
[2026-09-05 09:03:42] local.INFO: Processing buffer {"connection_id":172766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa03f00012d0b4e400705ff98000c003d1c..."} 
[2026-09-05 09:03:42] local.INFO: Packet analysis {"connection_id":172766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa0"} 
[2026-09-05 09:03:42] local.INFO: Extracted packet for processing {"connection_id":172766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa0"} 
[2026-09-05 09:03:42] local.INFO: GPS Element Parsed {"raw_longitude":755715648,"raw_latitude":117833624,"longitude_deg":75.5715648,"latitude_deg":11.7833624,"altitude":12,"angle":61,"satellites":28,"speed":5,"hex_longitude":"2d0b4e40","hex_latitude":"0705ff98","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876266752001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30280545933983744,"note":"Value kept but may cause issues"} 
[2026-09-05 09:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814588612766035968,"note":"Value kept but may cause issues"} 
[2026-09-05 09:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788579168000,"timestamp_ms":1788579168000,"timestamp_seconds":1788579168,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa03f00"} 
[2026-09-05 09:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 09:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":172766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":172766,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":172766,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876266752001,"66":14428,"165":206,"94":10240,"24":5,"16":30280545933983744,"45":814588612766035968},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-05 09:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876266752001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:03:42] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-05 09:03:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30280545933983744,"km_value":30280545933983.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":814588612766035968,"description":"Unknown IO ID 45"} 
[2026-09-05 09:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876266752001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":814588612766035968}} 
[2026-09-05 09:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":172766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767607,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:03:42] local.INFO: GPS data processed {"connection_id":172766,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:03:42] local.INFO: Acknowledgment sent {"connection_id":172766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:03:57] local.INFO: TCP Data received {"connection_id":174067,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:03:57] local.INFO: Processing buffer {"connection_id":174067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:03:57] local.INFO: IMEI packet received {"connection_id":174067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":174067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:04:03] local.INFO: TCP Data received {"connection_id":174066,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9f8768012d7bce0005ec2ac0000c004926..."} 
[2026-09-05 09:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9f8768012d7bce0005ec2ac0000c004926..."} 
[2026-09-05 09:04:03] local.INFO: Processing buffer {"connection_id":174066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9f8768012d7bce0005ec2ac0000c004926..."} 
[2026-09-05 09:04:03] local.INFO: Packet analysis {"connection_id":174066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9f"} 
[2026-09-05 09:04:03] local.INFO: Extracted packet for processing {"connection_id":174066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9f"} 
[2026-09-05 09:04:03] local.INFO: GPS Element Parsed {"raw_longitude":763088384,"raw_latitude":99363520,"longitude_deg":76.3088384,"latitude_deg":9.936352,"altitude":12,"angle":73,"satellites":38,"speed":26,"hex_longitude":"2d7bce00","hex_latitude":"05ec2ac0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876251648001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128484079803826176,"note":"Value kept but may cause issues"} 
[2026-09-05 09:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911427419351582720,"note":"Value kept but may cause issues"} 
[2026-09-05 09:04: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-09-05 09:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788579121000,"timestamp_ms":1788579121000,"timestamp_seconds":1788579121,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9f8768"} 
[2026-09-05 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-09-05 09:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-05 09:04:03] 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-09-05 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-09-05 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-09-05 09:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876251648001,"66":13656,"95":206,"87":13824,"24":26,"16":128484079803826176,"45":8911427419351582720},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-05 09:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876251648001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:04:03] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-05 09:04:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128484079803826176,"km_value":128484079803826.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911427419351582720,"description":"Unknown IO ID 45"} 
[2026-09-05 09:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876251648001,"power":13656,"unknown_95":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8911427419351582720}} 
[2026-09-05 09:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":174066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:04:03] local.INFO: GPS data processed {"connection_id":174066,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:04:03] local.INFO: Acknowledgment sent {"connection_id":174066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:04:05] local.INFO: TCP Data received {"connection_id":171362,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171362,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:04:05] local.INFO: Processing buffer {"connection_id":171362,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:04:05] local.INFO: IMEI packet received {"connection_id":171362,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":171362,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:04:10] local.INFO: TCP Data received {"connection_id":171362,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171362,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:04:10] local.INFO: Processing buffer {"connection_id":171362,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:04:10] local.INFO: IMEI packet received {"connection_id":171362,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":171362,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:04:11] local.INFO: TCP Data received {"connection_id":171362,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa042e8012d0b4ec00705fff0000d002e1c..."} 
[2026-09-05 09:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa042e8012d0b4ec00705fff0000d002e1c..."} 
[2026-09-05 09:04:11] local.INFO: Processing buffer {"connection_id":171362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa042e8012d0b4ec00705fff0000d002e1c..."} 
[2026-09-05 09:04:11] local.INFO: Packet analysis {"connection_id":171362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa0"} 
[2026-09-05 09:04:11] local.INFO: Extracted packet for processing {"connection_id":171362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa0"} 
[2026-09-05 09:04:11] local.INFO: GPS Element Parsed {"raw_longitude":755715776,"raw_latitude":117833712,"longitude_deg":75.5715776,"latitude_deg":11.7833712,"altitude":13,"angle":46,"satellites":28,"speed":5,"hex_longitude":"2d0b4ec0","hex_latitude":"0705fff0","is_valid_coordinates":true} 
[2026-09-05 09:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876267008001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30280554523918336,"note":"Value kept but may cause issues"} 
[2026-09-05 09:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814658981510223872,"note":"Value kept but may cause issues"} 
[2026-09-05 09:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788579169000,"timestamp_ms":1788579169000,"timestamp_seconds":1788579169,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa042e8"} 
[2026-09-05 09:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:04: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-09-05 09:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 09:04: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-09-05 09:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171362,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171362,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876267008001,"66":14428,"165":206,"94":10240,"24":5,"16":30280554523918336,"45":814658981510223872},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-05 09:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876267008001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:04:11] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-05 09:04:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30280554523918336,"km_value":30280554523918.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":814658981510223872,"description":"Unknown IO ID 45"} 
[2026-09-05 09:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876267008001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":814658981510223872}} 
[2026-09-05 09:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":171362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767609,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:04:11] local.INFO: GPS data processed {"connection_id":171362,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:04:11] local.INFO: Acknowledgment sent {"connection_id":171362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:04:25] local.INFO: TCP Data received {"connection_id":174068,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174068,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:04:25] local.INFO: Processing buffer {"connection_id":174068,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:04:25] local.INFO: IMEI packet received {"connection_id":174068,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":174068,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:04:31] local.INFO: TCP Data received {"connection_id":174068,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174068,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:04:31] local.INFO: Processing buffer {"connection_id":174068,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:04:31] local.INFO: IMEI packet received {"connection_id":174068,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":174068,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:04:31] local.INFO: TCP Data received {"connection_id":174068,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06f9fc200012d7bf18005ec3260000b005326..."} 
[2026-09-05 09:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06f9fc200012d7bf18005ec3260000b005326..."} 
[2026-09-05 09:04:31] local.INFO: Processing buffer {"connection_id":174068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06f9fc200012d7bf18005ec3260000b005326..."} 
[2026-09-05 09:04:31] local.INFO: Packet analysis {"connection_id":174068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06f9f"} 
[2026-09-05 09:04:31] local.INFO: Extracted packet for processing {"connection_id":174068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06f9f"} 
[2026-09-05 09:04:31] local.INFO: GPS Element Parsed {"raw_longitude":763097472,"raw_latitude":99365472,"longitude_deg":76.3097472,"latitude_deg":9.9365472,"altitude":11,"angle":83,"satellites":38,"speed":25,"hex_longitude":"2d7bf180","hex_latitude":"05ec3260","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876254976001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128484522185457664,"note":"Value kept but may cause issues"} 
[2026-09-05 09:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921067937304592384,"note":"Value kept but may cause issues"} 
[2026-09-05 09:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788579136000,"timestamp_ms":1788579136000,"timestamp_seconds":1788579136,"priority":1,"record_length":96,"hex_timestamp":"000001a06f9fc200"} 
[2026-09-05 09:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 09:04:31] 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-09-05 09: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-09-05 09:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876254976001,"66":13820,"198":206,"87":13824,"24":25,"16":128484522185457664,"45":8921067937304592384},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 09:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876254976001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:04:31] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 09:04:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128484522185457664,"km_value":128484522185457.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921067937304592384,"description":"Unknown IO ID 45"} 
[2026-09-05 09:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876254976001,"power":13820,"unknown_198":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8921067937304592384}} 
[2026-09-05 09:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":174068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767610,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:04:31] local.INFO: GPS data processed {"connection_id":174068,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:04:31] local.INFO: Acknowledgment sent {"connection_id":174068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:04:43] local.INFO: TCP Data received {"connection_id":171362,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa04ea0012d0b4fc007060120000d001c1c..."} 
[2026-09-05 09:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa04ea0012d0b4fc007060120000d001c1c..."} 
[2026-09-05 09:04:43] local.INFO: Processing buffer {"connection_id":171362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa04ea0012d0b4fc007060120000d001c1c..."} 
[2026-09-05 09:04:43] local.INFO: Packet analysis {"connection_id":171362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa0"} 
[2026-09-05 09:04:43] local.INFO: Extracted packet for processing {"connection_id":171362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa0"} 
[2026-09-05 09:04:43] local.INFO: GPS Element Parsed {"raw_longitude":755716032,"raw_latitude":117834016,"longitude_deg":75.5716032,"latitude_deg":11.7834016,"altitude":13,"angle":28,"satellites":28,"speed":6,"hex_longitude":"2d0b4fc0","hex_latitude":"07060120","is_valid_coordinates":true} 
[2026-09-05 09:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876267264001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30280571703787520,"note":"Value kept but may cause issues"} 
[2026-09-05 09:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814799718998601728,"note":"Value kept but may cause issues"} 
[2026-09-05 09:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788579172000,"timestamp_ms":1788579172000,"timestamp_seconds":1788579172,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa04ea0"} 
[2026-09-05 09:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:04: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-09-05 09:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 09:04:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:04:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":171362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":171362,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":171362,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876267264001,"66":14548,"165":206,"94":10240,"24":6,"16":30280571703787520,"45":814799718998601728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-05 09:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876267264001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:04:43] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-05 09:04:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30280571703787520,"km_value":30280571703787.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":814799718998601728,"description":"Unknown IO ID 45"} 
[2026-09-05 09:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876267264001,"power":14548,"unknown_165":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":814799718998601728}} 
[2026-09-05 09:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":171362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767611,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:04:43] local.INFO: GPS data processed {"connection_id":171362,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:04:43] local.INFO: Acknowledgment sent {"connection_id":171362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:05:03] local.INFO: TCP Data received {"connection_id":172767,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 09:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 09:05:03] local.INFO: Processing buffer {"connection_id":172767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 09:05:03] local.INFO: IMEI packet received {"connection_id":172767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 09:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":172767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:05:03] local.INFO: TCP Data received {"connection_id":174068,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa236e8012d7d368005ec3520000200cf25..."} 
[2026-09-05 09:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa236e8012d7d368005ec3520000200cf25..."} 
[2026-09-05 09:05:03] local.INFO: Processing buffer {"connection_id":174068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa236e8012d7d368005ec3520000200cf25..."} 
[2026-09-05 09:05:03] local.INFO: Packet analysis {"connection_id":174068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa2"} 
[2026-09-05 09:05:03] local.INFO: Extracted packet for processing {"connection_id":174068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa2"} 
[2026-09-05 09:05:03] local.INFO: GPS Element Parsed {"raw_longitude":763180672,"raw_latitude":99366176,"longitude_deg":76.3180672,"latitude_deg":9.9366176,"altitude":2,"angle":207,"satellites":37,"speed":5,"hex_longitude":"2d7d3680","hex_latitude":"05ec3520","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876299264001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128488684008767488,"note":"Value kept but may cause issues"} 
[2026-09-05 09:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022891510130464768,"note":"Value kept but may cause issues"} 
[2026-09-05 09:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788579297000,"timestamp_ms":1788579297000,"timestamp_seconds":1788579297,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa236e8"} 
[2026-09-05 09:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:05: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-09-05 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-05 09:05:03] local.WARNING: Large IO value detected {"io_id":110,"raw_value":57783107034437430,"note":"Value kept but may cause issues"} 
[2026-09-05 09:05:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 09:05:03] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2835349504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:05:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-05 09:05:03] local.WARNING: Large IO value detected {"io_id":111,"raw_value":2715619329,"note":"Value kept but may cause issues"} 
[2026-09-05 09:05:03] local.WARNING: Large IO value detected {"io_id":236,"raw_value":4465319047723689216,"note":"Value kept but may cause issues"} 
[2026-09-05 09:05:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-09-05 09:05:03] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2701184329,"note":"Value kept but may cause issues"} 
[2026-09-05 09:05:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2073427968,"corrected_to":0} 
[2026-09-05 09:05:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3963635712,"note":"Value kept but may cause issues"} 
[2026-09-05 09:05:03] local.WARNING: Large IO value detected {"io_id":161,"raw_value":5514659038598709253,"note":"Value kept but may cause issues"} 
[2026-09-05 09:05:03] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,110,87,24,241,157,16,123,160,19,45,192,57,3,34,10,66,228,60,35,224,128,1,240,198,227,111,236,4,113,205,8,174,52,37,239,50,2,200,5,9,161],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0},{"io_id":200,"original":2073427968,"validated":0}]} 
[2026-09-05 09:05:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216420318259511296,"timestamp_seconds":216420318259511.28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 09:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876299264001,"66":13678,"110":206,"87":13824,"24":5,"16":128488684008767488,"45":9022891510130464768},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-05 09:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876299264001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:05:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 09:05:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128488684008767488,"km_value":128488684008767.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022891510130464768,"description":"Unknown IO ID 45"} 
[2026-09-05 09:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876299264001,"power":13678,"unknown_110":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9022891510130464768}} 
[2026-09-05 09:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":174068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767612,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:05:03] local.INFO: GPS data processed {"connection_id":174068,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:05:03] local.INFO: Acknowledgment sent {"connection_id":174068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:05:05] local.INFO: TCP Data received {"connection_id":172768,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172768,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:05:05] local.INFO: Processing buffer {"connection_id":172768,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:05:05] local.INFO: IMEI packet received {"connection_id":172768,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":172768,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:05:08] local.INFO: TCP Data received {"connection_id":172768,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172768,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:05:08] local.INFO: Processing buffer {"connection_id":172768,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:05:08] local.INFO: IMEI packet received {"connection_id":172768,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":172768,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:05:09] local.INFO: TCP Data received {"connection_id":174067,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:05:09] local.INFO: Processing buffer {"connection_id":174067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:05:09] local.INFO: IMEI packet received {"connection_id":174067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":174067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:05:10] local.INFO: TCP Data received {"connection_id":172768,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172768,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:05:10] local.INFO: Processing buffer {"connection_id":172768,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:05:10] local.INFO: IMEI packet received {"connection_id":172768,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":172768,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:05:11] local.INFO: TCP Data received {"connection_id":172768,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa075b0012d0b534007060a68000f00101c..."} 
[2026-09-05 09:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa075b0012d0b534007060a68000f00101c..."} 
[2026-09-05 09:05:11] local.INFO: Processing buffer {"connection_id":172768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa075b0012d0b534007060a68000f00101c..."} 
[2026-09-05 09:05:11] local.INFO: Packet analysis {"connection_id":172768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa0"} 
[2026-09-05 09:05:11] local.INFO: Extracted packet for processing {"connection_id":172768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa0"} 
[2026-09-05 09:05:11] local.INFO: GPS Element Parsed {"raw_longitude":755716928,"raw_latitude":117836392,"longitude_deg":75.5716928,"latitude_deg":11.7836392,"altitude":15,"angle":16,"satellites":28,"speed":8,"hex_longitude":"2d0b5340","hex_latitude":"07060a68","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876268032001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30280696257839104,"note":"Value kept but may cause issues"} 
[2026-09-05 09:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815081193975390208,"note":"Value kept but may cause issues"} 
[2026-09-05 09:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788579182000,"timestamp_ms":1788579182000,"timestamp_seconds":1788579182,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa075b0"} 
[2026-09-05 09:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09: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":212,"data_length":795,"current_offset":136} 
[2026-09-05 09:05:11] 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-09-05 09: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-09-05 09:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":172768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":172768,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":172768,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876268032001,"66":14309,"165":206,"94":10240,"24":8,"16":30280696257839104,"45":815081193975390208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-05 09:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876268032001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:05:11] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-05 09:05:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30280696257839104,"km_value":30280696257839.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":815081193975390208,"description":"Unknown IO ID 45"} 
[2026-09-05 09:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876268032001,"power":14309,"unknown_165":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":815081193975390208}} 
[2026-09-05 09:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":172768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767613,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:05:11] local.INFO: GPS data processed {"connection_id":172768,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:05:11] local.INFO: Acknowledgment sent {"connection_id":172768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:05:12] local.INFO: TCP Data received {"connection_id":174069,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:05:12] local.INFO: Processing buffer {"connection_id":174069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:05:12] local.INFO: IMEI packet received {"connection_id":174069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":174069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:05:12] local.INFO: TCP Data received {"connection_id":174069,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:05:12] local.INFO: Processing buffer {"connection_id":174069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:05:12] local.INFO: IMEI packet received {"connection_id":174069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":174069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:05:25] local.INFO: TCP Data received {"connection_id":171651,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171651,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:05:25] local.INFO: Processing buffer {"connection_id":171651,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:05:25] local.INFO: IMEI packet received {"connection_id":171651,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":171651,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:05:30] local.INFO: TCP Data received {"connection_id":171651,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171651,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:05:30] local.INFO: Processing buffer {"connection_id":171651,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:05:30] local.INFO: IMEI packet received {"connection_id":171651,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":171651,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:05:32] local.INFO: TCP Data received {"connection_id":171651,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa23ad0012d7d370005ec34d0000200bf25..."} 
[2026-09-05 09:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa23ad0012d7d370005ec34d0000200bf25..."} 
[2026-09-05 09:05:32] local.INFO: Processing buffer {"connection_id":171651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa23ad0012d7d370005ec34d0000200bf25..."} 
[2026-09-05 09:05:32] local.INFO: Packet analysis {"connection_id":171651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa2"} 
[2026-09-05 09:05:32] local.INFO: Extracted packet for processing {"connection_id":171651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa2"} 
[2026-09-05 09:05:32] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99366096,"longitude_deg":76.31808,"latitude_deg":9.9366096,"altitude":2,"angle":191,"satellites":37,"speed":3,"hex_longitude":"2d7d3700","hex_latitude":"05ec34d0","is_valid_coordinates":true} 
[2026-09-05 09:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876300032001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128488688303734784,"note":"Value kept but may cause issues"} 
[2026-09-05 09:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022539666409463808,"note":"Value kept but may cause issues"} 
[2026-09-05 09:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788579298000,"timestamp_ms":1788579298000,"timestamp_seconds":1788579298,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa23ad0"} 
[2026-09-05 09:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:05: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-09-05 09:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-05 09:05: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-09-05 09:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876300032001,"66":13559,"110":206,"87":13824,"24":3,"16":128488688303734784,"45":9022539666409463808},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-05 09:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876300032001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:05:32] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 09:05:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128488688303734784,"km_value":128488688303734.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022539666409463808,"description":"Unknown IO ID 45"} 
[2026-09-05 09:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876300032001,"power":13559,"unknown_110":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9022539666409463808}} 
[2026-09-05 09:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":171651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:05:32] local.INFO: GPS data processed {"connection_id":171651,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:05:32] local.INFO: Acknowledgment sent {"connection_id":171651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:05:42] local.INFO: TCP Data received {"connection_id":172768,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa29890012d0b294007060500000d00bd1c..."} 
[2026-09-05 09:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa29890012d0b294007060500000d00bd1c..."} 
[2026-09-05 09:05:42] local.INFO: Processing buffer {"connection_id":172768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa29890012d0b294007060500000d00bd1c..."} 
[2026-09-05 09:05:42] local.INFO: Packet analysis {"connection_id":172768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa2"} 
[2026-09-05 09:05:42] local.INFO: Extracted packet for processing {"connection_id":172768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa2"} 
[2026-09-05 09:05:42] local.INFO: GPS Element Parsed {"raw_longitude":755706176,"raw_latitude":117835008,"longitude_deg":75.5706176,"latitude_deg":11.7835008,"altitude":13,"angle":189,"satellites":28,"speed":25,"hex_longitude":"2d0b2940","hex_latitude":"07060500","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876304896001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30281628265742336,"note":"Value kept but may cause issues"} 
[2026-09-05 09:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803892563652155392,"note":"Value kept but may cause issues"} 
[2026-09-05 09:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788579322000,"timestamp_ms":1788579322000,"timestamp_seconds":1788579322,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa29890"} 
[2026-09-05 09:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-05 09:05:42] 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-09-05 09: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-09-05 09:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":172768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":172768,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":172768,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876304896001,"66":14439,"165":206,"94":10240,"24":25,"16":30281628265742336,"45":803892563652155392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-05 09:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876304896001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:05:42] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-05 09:05:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30281628265742336,"km_value":30281628265742.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":803892563652155392,"description":"Unknown IO ID 45"} 
[2026-09-05 09:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876304896001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":803892563652155392}} 
[2026-09-05 09:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":172768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767615,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:05:42] local.INFO: GPS data processed {"connection_id":172768,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:05:42] local.INFO: Acknowledgment sent {"connection_id":172768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:06:03] local.INFO: TCP Data received {"connection_id":171651,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa23eb8012d7d374005ec3490000200a825..."} 
[2026-09-05 09:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa23eb8012d7d374005ec3490000200a825..."} 
[2026-09-05 09:06:03] local.INFO: Processing buffer {"connection_id":171651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa23eb8012d7d374005ec3490000200a825..."} 
[2026-09-05 09:06:03] local.INFO: Packet analysis {"connection_id":171651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa2"} 
[2026-09-05 09:06:03] local.INFO: Extracted packet for processing {"connection_id":171651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa2"} 
[2026-09-05 09:06:03] local.INFO: GPS Element Parsed {"raw_longitude":763180864,"raw_latitude":99366032,"longitude_deg":76.3180864,"latitude_deg":9.9366032,"altitude":2,"angle":168,"satellites":37,"speed":2,"hex_longitude":"2d7d3740","hex_latitude":"05ec3490","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876300288001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128488692598702080,"note":"Value kept but may cause issues"} 
[2026-09-05 09:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403897798656,"note":"Value kept but may cause issues"} 
[2026-09-05 09:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788579299000,"timestamp_ms":1788579299000,"timestamp_seconds":1788579299,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa23eb8"} 
[2026-09-05 09:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:06: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-09-05 09: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-05 09:06:03] 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-09-05 09: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-09-05 09:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171651,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876300288001,"66":13559,"110":206,"87":13824,"24":2,"16":128488692598702080,"45":9022680403897798656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-05 09:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876300288001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:06:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 09:06:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128488692598702080,"km_value":128488692598702.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403897798656,"description":"Unknown IO ID 45"} 
[2026-09-05 09:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876300288001,"power":13559,"unknown_110":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9022680403897798656}} 
[2026-09-05 09:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":171651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:06:03] local.INFO: GPS data processed {"connection_id":171651,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:06:03] local.INFO: Acknowledgment sent {"connection_id":171651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:06:11] local.INFO: TCP Data received {"connection_id":172770,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172770,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:06:11] local.INFO: Processing buffer {"connection_id":172770,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:06:11] local.INFO: IMEI packet received {"connection_id":172770,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":172770,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:06:16] local.INFO: TCP Data received {"connection_id":172770,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172770,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:06:16] local.INFO: Processing buffer {"connection_id":172770,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:06:16] local.INFO: IMEI packet received {"connection_id":172770,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":172770,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:06:16] local.INFO: TCP Data received {"connection_id":172770,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa2b3e8012d0b25c00705f460000d00c81c..."} 
[2026-09-05 09:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa2b3e8012d0b25c00705f460000d00c81c..."} 
[2026-09-05 09:06:16] local.INFO: Processing buffer {"connection_id":172770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa2b3e8012d0b25c00705f460000d00c81c..."} 
[2026-09-05 09:06:16] local.INFO: Packet analysis {"connection_id":172770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa2"} 
[2026-09-05 09:06:16] local.INFO: Extracted packet for processing {"connection_id":172770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa2"} 
[2026-09-05 09:06:16] local.INFO: GPS Element Parsed {"raw_longitude":755705280,"raw_latitude":117830752,"longitude_deg":75.570528,"latitude_deg":11.7830752,"altitude":13,"angle":200,"satellites":28,"speed":25,"hex_longitude":"2d0b25c0","hex_latitude":"0705f460","is_valid_coordinates":true} 
[2026-09-05 09:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876306432001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30281838719139840,"note":"Value kept but may cause issues"} 
[2026-09-05 09:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804244407372283904,"note":"Value kept but may cause issues"} 
[2026-09-05 09:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788579329000,"timestamp_ms":1788579329000,"timestamp_seconds":1788579329,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa2b3e8"} 
[2026-09-05 09:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-05 09:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:06:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":172770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":172770,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":172770,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876306432001,"66":14450,"165":206,"94":10240,"24":25,"16":30281838719139840,"45":804244407372283904},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-05 09:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876306432001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:06:16] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-05 09:06:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30281838719139840,"km_value":30281838719139.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":804244407372283904,"description":"Unknown IO ID 45"} 
[2026-09-05 09:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876306432001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":804244407372283904}} 
[2026-09-05 09:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":172770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767617,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:06:17] local.INFO: GPS data processed {"connection_id":172770,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:06:17] local.INFO: Acknowledgment sent {"connection_id":172770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:06:21] local.INFO: TCP Data received {"connection_id":172770,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa2bfa0012d0b23400705ec40000c00bd1c..."} 
[2026-09-05 09:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa2bfa0012d0b23400705ec40000c00bd1c..."} 
[2026-09-05 09:06:21] local.INFO: Processing buffer {"connection_id":172770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa2bfa0012d0b23400705ec40000c00bd1c..."} 
[2026-09-05 09:06:21] local.INFO: Packet analysis {"connection_id":172770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa2"} 
[2026-09-05 09:06:21] local.INFO: Extracted packet for processing {"connection_id":172770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa2"} 
[2026-09-05 09:06:21] local.INFO: GPS Element Parsed {"raw_longitude":755704640,"raw_latitude":117828672,"longitude_deg":75.570464,"latitude_deg":11.7828672,"altitude":12,"angle":189,"satellites":28,"speed":29,"hex_longitude":"2d0b2340","hex_latitude":"0705ec40","is_valid_coordinates":true} 
[2026-09-05 09:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876308224001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30281941798354944,"note":"Value kept but may cause issues"} 
[2026-09-05 09:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803259244952707072,"note":"Value kept but may cause issues"} 
[2026-09-05 09:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788579332000,"timestamp_ms":1788579332000,"timestamp_seconds":1788579332,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa2bfa0"} 
[2026-09-05 09:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-05 09:06:21] 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-09-05 09:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172770,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172770,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876308224001,"66":14450,"165":206,"94":10240,"24":29,"16":30281941798354944,"45":803259244952707072},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-05 09:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876308224001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:06:21] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-05 09:06:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30281941798354944,"km_value":30281941798354.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":803259244952707072,"description":"Unknown IO ID 45"} 
[2026-09-05 09:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876308224001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":29,"odometer":null,"unknown_45":803259244952707072}} 
[2026-09-05 09:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":172770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767618,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:06:22] local.INFO: GPS data processed {"connection_id":172770,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:06:22] local.INFO: Acknowledgment sent {"connection_id":172770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:06:25] local.INFO: TCP Data received {"connection_id":171653,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:06:25] local.INFO: Processing buffer {"connection_id":171653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:06:25] local.INFO: IMEI packet received {"connection_id":171653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":171653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:06:31] local.INFO: TCP Data received {"connection_id":171653,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:06:31] local.INFO: Processing buffer {"connection_id":171653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:06:31] local.INFO: IMEI packet received {"connection_id":171653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":171653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:06:32] local.INFO: TCP Data received {"connection_id":171653,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa25df8012d7d378005ec3450000200c124..."} 
[2026-09-05 09:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa25df8012d7d378005ec3450000200c124..."} 
[2026-09-05 09:06:32] local.INFO: Processing buffer {"connection_id":171653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa25df8012d7d378005ec3450000200c124..."} 
[2026-09-05 09:06:32] local.INFO: Packet analysis {"connection_id":171653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa2"} 
[2026-09-05 09:06:32] local.INFO: Extracted packet for processing {"connection_id":171653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa2"} 
[2026-09-05 09:06:32] local.INFO: GPS Element Parsed {"raw_longitude":763180928,"raw_latitude":99365968,"longitude_deg":76.3180928,"latitude_deg":9.9365968,"altitude":2,"angle":193,"satellites":36,"speed":1,"hex_longitude":"2d7d3780","hex_latitude":"05ec3450","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876300544001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128488696893669376,"note":"Value kept but may cause issues"} 
[2026-09-05 09:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022750772641959936,"note":"Value kept but may cause issues"} 
[2026-09-05 09:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788579307000,"timestamp_ms":1788579307000,"timestamp_seconds":1788579307,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa25df8"} 
[2026-09-05 09:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:06: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-09-05 09: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-05 09:06:32] 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-09-05 09: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-09-05 09:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876300544001,"66":13678,"110":206,"87":13824,"24":1,"16":128488696893669376,"45":9022750772641959936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-05 09:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876300544001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:06:32] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 09:06:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128488696893669376,"km_value":128488696893669.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022750772641959936,"description":"Unknown IO ID 45"} 
[2026-09-05 09:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876300544001,"power":13678,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9022750772641959936}} 
[2026-09-05 09:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":171653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767619,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:06:32] local.INFO: GPS data processed {"connection_id":171653,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:06:32] local.INFO: Acknowledgment sent {"connection_id":171653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:07:03] local.INFO: TCP Data received {"connection_id":171653,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa27d38012d7d364005ec2cf8000200b522..."} 
[2026-09-05 09:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa27d38012d7d364005ec2cf8000200b522..."} 
[2026-09-05 09:07:03] local.INFO: Processing buffer {"connection_id":171653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa27d38012d7d364005ec2cf8000200b522..."} 
[2026-09-05 09:07:03] local.INFO: Packet analysis {"connection_id":171653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa2"} 
[2026-09-05 09:07:03] local.INFO: Extracted packet for processing {"connection_id":171653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa2"} 
[2026-09-05 09:07:03] local.INFO: GPS Element Parsed {"raw_longitude":763180608,"raw_latitude":99364088,"longitude_deg":76.3180608,"latitude_deg":9.9364088,"altitude":2,"angle":181,"satellites":34,"speed":14,"hex_longitude":"2d7d3640","hex_latitude":"05ec2cf8","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876302592001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128488795677917184,"note":"Value kept but may cause issues"} 
[2026-09-05 09:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022821141386121216,"note":"Value kept but may cause issues"} 
[2026-09-05 09:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788579315000,"timestamp_ms":1788579315000,"timestamp_seconds":1788579315,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa27d38"} 
[2026-09-05 09:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:07: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-09-05 09: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-05 09:07: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-09-05 09: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-09-05 09:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876302592001,"66":13928,"110":206,"87":13824,"24":14,"16":128488795677917184,"45":9022821141386121216},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-05 09:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876302592001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:07:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 09:07:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128488795677917184,"km_value":128488795677917.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022821141386121216,"description":"Unknown IO ID 45"} 
[2026-09-05 09:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876302592001,"power":13928,"unknown_110":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":9022821141386121216}} 
[2026-09-05 09:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":171653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:07:03] local.INFO: GPS data processed {"connection_id":171653,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:07:03] local.INFO: Acknowledgment sent {"connection_id":171653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:07:13] local.INFO: TCP Data received {"connection_id":171654,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171654,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:07:13] local.INFO: Processing buffer {"connection_id":171654,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:07:13] local.INFO: IMEI packet received {"connection_id":171654,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":171654,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:07:13] local.INFO: TCP Data received {"connection_id":171654,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171654,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:07:13] local.INFO: Processing buffer {"connection_id":171654,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:07:13] local.INFO: IMEI packet received {"connection_id":171654,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":171654,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:07:15] local.INFO: TCP Data received {"connection_id":171654,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa3b9a0012d0ae4c007059290002201221c..."} 
[2026-09-05 09:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa3b9a0012d0ae4c007059290002201221c..."} 
[2026-09-05 09:07:15] local.INFO: Processing buffer {"connection_id":171654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa3b9a0012d0ae4c007059290002201221c..."} 
[2026-09-05 09:07:15] local.INFO: Packet analysis {"connection_id":171654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa3"} 
[2026-09-05 09:07:15] local.INFO: Extracted packet for processing {"connection_id":171654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa3"} 
[2026-09-05 09:07:15] local.INFO: GPS Element Parsed {"raw_longitude":755688640,"raw_latitude":117805712,"longitude_deg":75.568864,"latitude_deg":11.7805712,"altitude":34,"angle":290,"satellites":28,"speed":11,"hex_longitude":"2d0ae4c0","hex_latitude":"07059290","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876324864001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30283711324880896,"note":"Value kept but may cause issues"} 
[2026-09-05 09:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":785526321413482496,"note":"Value kept but may cause issues"} 
[2026-09-05 09:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788579396000,"timestamp_ms":1788579396000,"timestamp_seconds":1788579396,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa3b9a0"} 
[2026-09-05 09:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-05 09:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":171654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":171654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":171654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876324864001,"66":14428,"165":206,"94":10240,"24":11,"16":30283711324880896,"45":785526321413482496},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-05 09:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876324864001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:07:15] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-05 09:07:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30283711324880896,"km_value":30283711324880.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":785526321413482496,"description":"Unknown IO ID 45"} 
[2026-09-05 09:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876324864001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":785526321413482496}} 
[2026-09-05 09:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":171654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767621,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:07:15] local.INFO: GPS data processed {"connection_id":171654,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:07:15] local.INFO: Acknowledgment sent {"connection_id":171654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:07:16] local.INFO: TCP Data received {"connection_id":171654,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa3c558012d0ae0c0070593c00024010c1c..."} 
[2026-09-05 09:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa3c558012d0ae0c0070593c00024010c1c..."} 
[2026-09-05 09:07:16] local.INFO: Processing buffer {"connection_id":171654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa3c558012d0ae0c0070593c00024010c1c..."} 
[2026-09-05 09:07:16] local.INFO: Packet analysis {"connection_id":171654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa3"} 
[2026-09-05 09:07:16] local.INFO: Extracted packet for processing {"connection_id":171654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa3"} 
[2026-09-05 09:07:16] local.INFO: GPS Element Parsed {"raw_longitude":755687616,"raw_latitude":117806016,"longitude_deg":75.5687616,"latitude_deg":11.7806016,"altitude":36,"angle":268,"satellites":28,"speed":13,"hex_longitude":"2d0ae0c0","hex_latitude":"070593c0","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876325376001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30283758569521152,"note":"Value kept but may cause issues"} 
[2026-09-05 09:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":784963371460104192,"note":"Value kept but may cause issues"} 
[2026-09-05 09:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788579399000,"timestamp_ms":1788579399000,"timestamp_seconds":1788579399,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa3c558"} 
[2026-09-05 09:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 09:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":171654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":171654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":171654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876325376001,"66":14548,"165":206,"94":10240,"24":13,"16":30283758569521152,"45":784963371460104192},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-05 09:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876325376001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:07:16] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-05 09:07:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30283758569521152,"km_value":30283758569521.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":784963371460104192,"description":"Unknown IO ID 45"} 
[2026-09-05 09:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876325376001,"power":14548,"unknown_165":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":784963371460104192}} 
[2026-09-05 09:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":171654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767622,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:07:16] local.INFO: GPS data processed {"connection_id":171654,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:07:16] local.INFO: Acknowledgment sent {"connection_id":171654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:07:31] local.INFO: TCP Data received {"connection_id":171363,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:07:31] local.INFO: Processing buffer {"connection_id":171363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:07:31] local.INFO: IMEI packet received {"connection_id":171363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":171363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:07:36] local.INFO: TCP Data received {"connection_id":171363,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:07:36] local.INFO: Processing buffer {"connection_id":171363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:07:36] local.INFO: IMEI packet received {"connection_id":171363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":171363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:07:36] local.INFO: TCP Data received {"connection_id":171363,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa2bbb8012d7d378005ec0d48000100981b..."} 
[2026-09-05 09:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa2bbb8012d7d378005ec0d48000100981b..."} 
[2026-09-05 09:07:36] local.INFO: Processing buffer {"connection_id":171363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa2bbb8012d7d378005ec0d48000100981b..."} 
[2026-09-05 09:07:36] local.INFO: Packet analysis {"connection_id":171363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa2"} 
[2026-09-05 09:07:36] local.INFO: Extracted packet for processing {"connection_id":171363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa2"} 
[2026-09-05 09:07:36] local.INFO: GPS Element Parsed {"raw_longitude":763180928,"raw_latitude":99355976,"longitude_deg":76.3180928,"latitude_deg":9.9355976,"altitude":1,"angle":152,"satellites":27,"speed":5,"hex_longitude":"2d7d3780","hex_latitude":"05ec0d48","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876304640001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489195109875712,"note":"Value kept but may cause issues"} 
[2026-09-05 09:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022469297664751616,"note":"Value kept but may cause issues"} 
[2026-09-05 09:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788579331000,"timestamp_ms":1788579331000,"timestamp_seconds":1788579331,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa2bbb8"} 
[2026-09-05 09:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:07: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-09-05 09: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-05 09:07:36] 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-09-05 09: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-09-05 09:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876304640001,"66":13396,"110":206,"87":13824,"24":5,"16":128489195109875712,"45":9022469297664751616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-05 09:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876304640001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:07:36] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 09:07:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489195109875712,"km_value":128489195109875.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022469297664751616,"description":"Unknown IO ID 45"} 
[2026-09-05 09:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876304640001,"power":13396,"unknown_110":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9022469297664751616}} 
[2026-09-05 09:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":171363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:07:36] local.INFO: GPS data processed {"connection_id":171363,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:07:36] local.INFO: Acknowledgment sent {"connection_id":171363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:07:39] local.INFO: TCP Data received {"connection_id":171363,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa30dc0012d7d344005ec0b28000100981f..."} 
[2026-09-05 09:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa30dc0012d7d344005ec0b28000100981f..."} 
[2026-09-05 09:07:39] local.INFO: Processing buffer {"connection_id":171363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa30dc0012d7d344005ec0b28000100981f..."} 
[2026-09-05 09:07:39] local.INFO: Packet analysis {"connection_id":171363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa3"} 
[2026-09-05 09:07:39] local.INFO: Extracted packet for processing {"connection_id":171363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa3"} 
[2026-09-05 09:07:39] local.INFO: GPS Element Parsed {"raw_longitude":763180096,"raw_latitude":99355432,"longitude_deg":76.3180096,"latitude_deg":9.9355432,"altitude":1,"angle":152,"satellites":31,"speed":0,"hex_longitude":"2d7d3440","hex_latitude":"05ec0b28","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876308736001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022821141383563264,"note":"Value kept but may cause issues"} 
[2026-09-05 09:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788579352000,"timestamp_ms":1788579352000,"timestamp_seconds":1788579352,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa30dc0"} 
[2026-09-05 09:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:07: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-09-05 09: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-05 09:07:39] 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-09-05 09: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-09-05 09:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876308736001,"66":13374,"110":206,"87":13824,"24":0,"16":128489272419287040,"45":9022821141383563264},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-05 09:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876308736001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:07:39] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 09:07:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022821141383563264,"description":"Unknown IO ID 45"} 
[2026-09-05 09:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876308736001,"power":13374,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022821141383563264}} 
[2026-09-05 09:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":171363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767624,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:07:39] local.INFO: GPS data processed {"connection_id":171363,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:07:39] local.INFO: Acknowledgment sent {"connection_id":171363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:07:53] local.INFO: TCP Data received {"connection_id":171654,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa3c940012d0adf4007059368002500ff1c..."} 
[2026-09-05 09:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa3c940012d0adf4007059368002500ff1c..."} 
[2026-09-05 09:07:53] local.INFO: Processing buffer {"connection_id":171654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa3c940012d0adf4007059368002500ff1c..."} 
[2026-09-05 09:07:53] local.INFO: Packet analysis {"connection_id":171654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa3"} 
[2026-09-05 09:07:53] local.INFO: Extracted packet for processing {"connection_id":171654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa3"} 
[2026-09-05 09:07:53] local.INFO: GPS Element Parsed {"raw_longitude":755687232,"raw_latitude":117805928,"longitude_deg":75.5687232,"latitude_deg":11.7805928,"altitude":37,"angle":255,"satellites":28,"speed":16,"hex_longitude":"2d0adf40","hex_latitude":"07059368","is_valid_coordinates":true} 
[2026-09-05 09:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876326144001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30283780044357632,"note":"Value kept but may cause issues"} 
[2026-09-05 09:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":783837471553339392,"note":"Value kept but may cause issues"} 
[2026-09-05 09:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788579400000,"timestamp_ms":1788579400000,"timestamp_seconds":1788579400,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa3c940"} 
[2026-09-05 09:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-05 09:07:53] 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-09-05 09:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876326144001,"66":14439,"165":206,"94":10240,"24":16,"16":30283780044357632,"45":783837471553339392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-05 09:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876326144001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:07:53] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-05 09:07:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30283780044357632,"km_value":30283780044357.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":783837471553339392,"description":"Unknown IO ID 45"} 
[2026-09-05 09:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876326144001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":783837471553339392}} 
[2026-09-05 09:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":171654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767625,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:07:54] local.INFO: GPS data processed {"connection_id":171654,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:07:54] local.INFO: Acknowledgment sent {"connection_id":171654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:08:05] local.INFO: TCP Data received {"connection_id":172772,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172772,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:08:05] local.INFO: Processing buffer {"connection_id":172772,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:08:05] local.INFO: IMEI packet received {"connection_id":172772,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":172772,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:08:10] local.INFO: TCP Data received {"connection_id":171363,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa35fc8012d7d344005ec0b280001009820..."} 
[2026-09-05 09:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa35fc8012d7d344005ec0b280001009820..."} 
[2026-09-05 09:08:10] local.INFO: Processing buffer {"connection_id":171363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa35fc8012d7d344005ec0b280001009820..."} 
[2026-09-05 09:08:10] local.INFO: Packet analysis {"connection_id":171363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa3"} 
[2026-09-05 09:08:10] local.INFO: Extracted packet for processing {"connection_id":171363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa3"} 
[2026-09-05 09:08:10] local.INFO: GPS Element Parsed {"raw_longitude":763180096,"raw_latitude":99355432,"longitude_deg":76.3180096,"latitude_deg":9.9355432,"altitude":1,"angle":152,"satellites":32,"speed":0,"hex_longitude":"2d7d3440","hex_latitude":"05ec0b28","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876314112001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021906347709114368,"note":"Value kept but may cause issues"} 
[2026-09-05 09:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788579373000,"timestamp_ms":1788579373000,"timestamp_seconds":1788579373,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa35fc8"} 
[2026-09-05 09:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-05 09:08:10] 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-09-05 09: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-09-05 09:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876314112001,"66":13493,"110":206,"87":13824,"24":0,"16":128489272419287040,"45":9021906347709114368},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-05 09:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876314112001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:08:10] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 09:08:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021906347709114368,"description":"Unknown IO ID 45"} 
[2026-09-05 09:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876314112001,"power":13493,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021906347709114368}} 
[2026-09-05 09:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":171363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:08:10] local.INFO: GPS data processed {"connection_id":171363,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:08:10] local.INFO: Acknowledgment sent {"connection_id":171363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:08:11] local.INFO: TCP Data received {"connection_id":172772,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172772,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:08:11] local.INFO: Processing buffer {"connection_id":172772,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:08:11] local.INFO: IMEI packet received {"connection_id":172772,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":172772,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:08:12] local.INFO: TCP Data received {"connection_id":172772,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa4ee38012d0a84c00705a8900011010e1c..."} 
[2026-09-05 09:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa4ee38012d0a84c00705a8900011010e1c..."} 
[2026-09-05 09:08:12] local.INFO: Processing buffer {"connection_id":172772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa4ee38012d0a84c00705a8900011010e1c..."} 
[2026-09-05 09:08:12] local.INFO: Packet analysis {"connection_id":172772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa4"} 
[2026-09-05 09:08:12] local.INFO: Extracted packet for processing {"connection_id":172772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa4"} 
[2026-09-05 09:08:12] local.INFO: GPS Element Parsed {"raw_longitude":755664064,"raw_latitude":117811344,"longitude_deg":75.5664064,"latitude_deg":11.7811344,"altitude":17,"angle":270,"satellites":28,"speed":8,"hex_longitude":"2d0a84c0","hex_latitude":"0705a890","is_valid_coordinates":true} 
[2026-09-05 09:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876345344001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30285171613761536,"note":"Value kept but may cause issues"} 
[2026-09-05 09:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758293617418199040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788579475000,"timestamp_ms":1788579475000,"timestamp_seconds":1788579475,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa4ee38"} 
[2026-09-05 09:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-05 09:08: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-09-05 09:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":172772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":172772,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":172772,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876345344001,"66":13689,"153":206,"94":10240,"24":8,"16":30285171613761536,"45":758293617418199040},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-05 09:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876345344001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:08:12] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-05 09:08:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30285171613761536,"km_value":30285171613761.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":758293617418199040,"description":"Unknown IO ID 45"} 
[2026-09-05 09:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876345344001,"power":13689,"unknown_153":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":758293617418199040}} 
[2026-09-05 09:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":172772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767627,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:08:12] local.INFO: GPS data processed {"connection_id":172772,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:08:12] local.INFO: Acknowledgment sent {"connection_id":172772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:08:25] local.INFO: TCP Data received {"connection_id":174071,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:08:25] local.INFO: Processing buffer {"connection_id":174071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:08:25] local.INFO: IMEI packet received {"connection_id":174071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":174071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:08:31] local.INFO: TCP Data received {"connection_id":174071,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:08:31] local.INFO: Processing buffer {"connection_id":174071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:08:31] local.INFO: IMEI packet received {"connection_id":174071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":174071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:08:32] local.INFO: TCP Data received {"connection_id":174071,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa3b1d0012d7d344005ec0b28000100981f..."} 
[2026-09-05 09:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa3b1d0012d7d344005ec0b28000100981f..."} 
[2026-09-05 09:08:32] local.INFO: Processing buffer {"connection_id":174071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa3b1d0012d7d344005ec0b28000100981f..."} 
[2026-09-05 09:08:32] local.INFO: Packet analysis {"connection_id":174071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa3"} 
[2026-09-05 09:08:32] local.INFO: Extracted packet for processing {"connection_id":174071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa3"} 
[2026-09-05 09:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763180096,"raw_latitude":99355432,"longitude_deg":76.3180096,"latitude_deg":9.9355432,"altitude":1,"angle":152,"satellites":31,"speed":0,"hex_longitude":"2d7d3440","hex_latitude":"05ec0b28","is_valid_coordinates":true} 
[2026-09-05 09:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876319488001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021906347709114368,"note":"Value kept but may cause issues"} 
[2026-09-05 09:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788579394000,"timestamp_ms":1788579394000,"timestamp_seconds":1788579394,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa3b1d0"} 
[2026-09-05 09:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:08: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-09-05 09:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-05 09:08: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-09-05 09:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876319488001,"66":13363,"110":206,"87":13824,"24":0,"16":128489272419287040,"45":9021906347709114368},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-05 09:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876319488001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:08:32] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 09:08:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021906347709114368,"description":"Unknown IO ID 45"} 
[2026-09-05 09:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876319488001,"power":13363,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021906347709114368}} 
[2026-09-05 09:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":174071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:08:32] local.INFO: GPS data processed {"connection_id":174071,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:08:32] local.INFO: Acknowledgment sent {"connection_id":174071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:08:36] local.INFO: TCP Data received {"connection_id":174071,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa403d8012d7d344005ec0b280001009821..."} 
[2026-09-05 09:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa403d8012d7d344005ec0b280001009821..."} 
[2026-09-05 09:08:36] local.INFO: Processing buffer {"connection_id":174071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa403d8012d7d344005ec0b280001009821..."} 
[2026-09-05 09:08:36] local.INFO: Packet analysis {"connection_id":174071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa4"} 
[2026-09-05 09:08:36] local.INFO: Extracted packet for processing {"connection_id":174071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa4"} 
[2026-09-05 09:08:36] local.INFO: GPS Element Parsed {"raw_longitude":763180096,"raw_latitude":99355432,"longitude_deg":76.3180096,"latitude_deg":9.9355432,"altitude":1,"angle":152,"satellites":33,"speed":0,"hex_longitude":"2d7d3440","hex_latitude":"05ec0b28","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876324864001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021906347709114368,"note":"Value kept but may cause issues"} 
[2026-09-05 09:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788579415000,"timestamp_ms":1788579415000,"timestamp_seconds":1788579415,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa403d8"} 
[2026-09-05 09:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-05 09:08:36] 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-09-05 09: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-09-05 09:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":174071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":174071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":174071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876324864001,"66":13428,"110":206,"87":13824,"24":0,"16":128489272419287040,"45":9021906347709114368},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-05 09:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876324864001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:08:36] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 09:08:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021906347709114368,"description":"Unknown IO ID 45"} 
[2026-09-05 09:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876324864001,"power":13428,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021906347709114368}} 
[2026-09-05 09:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":174071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:08:36] local.INFO: GPS data processed {"connection_id":174071,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:08:36] local.INFO: Acknowledgment sent {"connection_id":174071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:08:44] local.INFO: TCP Data received {"connection_id":172772,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa4f220012d0a83c00705a848001000f01c..."} 
[2026-09-05 09:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa4f220012d0a83c00705a848001000f01c..."} 
[2026-09-05 09:08:44] local.INFO: Processing buffer {"connection_id":172772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa4f220012d0a83c00705a848001000f01c..."} 
[2026-09-05 09:08:44] local.INFO: Packet analysis {"connection_id":172772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa4"} 
[2026-09-05 09:08:44] local.INFO: Extracted packet for processing {"connection_id":172772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa4"} 
[2026-09-05 09:08:44] local.INFO: GPS Element Parsed {"raw_longitude":755663808,"raw_latitude":117811272,"longitude_deg":75.5663808,"latitude_deg":11.7811272,"altitude":16,"angle":240,"satellites":28,"speed":8,"hex_longitude":"2d0a83c0","hex_latitude":"0705a848","is_valid_coordinates":true} 
[2026-09-05 09:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876345600001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30285180203696128,"note":"Value kept but may cause issues"} 
[2026-09-05 09:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757941773697323008,"note":"Value kept but may cause issues"} 
[2026-09-05 09:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788579476000,"timestamp_ms":1788579476000,"timestamp_seconds":1788579476,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa4f220"} 
[2026-09-05 09:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-05 09:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":172772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":172772,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":172772,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876345600001,"66":14515,"153":206,"94":10240,"24":8,"16":30285180203696128,"45":757941773697323008},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-05 09:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876345600001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:08:44] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-05 09:08:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30285180203696128,"km_value":30285180203696.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":757941773697323008,"description":"Unknown IO ID 45"} 
[2026-09-05 09:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876345600001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":757941773697323008}} 
[2026-09-05 09:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":172772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767630,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:08:44] local.INFO: GPS data processed {"connection_id":172772,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:08:44] local.INFO: Acknowledgment sent {"connection_id":172772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:09:05] local.INFO: TCP Data received {"connection_id":171656,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171656,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:09:05] local.INFO: Processing buffer {"connection_id":171656,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:09:05] local.INFO: IMEI packet received {"connection_id":171656,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":171656,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:09:07] local.INFO: TCP Data received {"connection_id":174071,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa455e0012d7d344005ec0b280001009820..."} 
[2026-09-05 09:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa455e0012d7d344005ec0b280001009820..."} 
[2026-09-05 09:09:07] local.INFO: Processing buffer {"connection_id":174071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa455e0012d7d344005ec0b280001009820..."} 
[2026-09-05 09:09:07] local.INFO: Packet analysis {"connection_id":174071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa4"} 
[2026-09-05 09:09:07] local.INFO: Extracted packet for processing {"connection_id":174071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa4"} 
[2026-09-05 09:09:07] local.INFO: GPS Element Parsed {"raw_longitude":763180096,"raw_latitude":99355432,"longitude_deg":76.3180096,"latitude_deg":9.9355432,"altitude":1,"angle":152,"satellites":32,"speed":0,"hex_longitude":"2d7d3440","hex_latitude":"05ec0b28","is_valid_coordinates":true} 
[2026-09-05 09:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876330240001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021906347709114368,"note":"Value kept but may cause issues"} 
[2026-09-05 09:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788579436000,"timestamp_ms":1788579436000,"timestamp_seconds":1788579436,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa455e0"} 
[2026-09-05 09:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-05 09:09:07] 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-09-05 09:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876330240001,"66":13450,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9021906347709114368},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876330240001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:09:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:09:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021906347709114368,"description":"Unknown IO ID 45"} 
[2026-09-05 09:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876330240001,"power":13450,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021906347709114368}} 
[2026-09-05 09:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":174071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:09:07] local.INFO: GPS data processed {"connection_id":174071,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:09:07] local.INFO: Acknowledgment sent {"connection_id":174071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:09:10] local.INFO: TCP Data received {"connection_id":171656,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171656,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:09:10] local.INFO: Processing buffer {"connection_id":171656,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:09:10] local.INFO: IMEI packet received {"connection_id":171656,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":171656,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:09:11] local.INFO: TCP Data received {"connection_id":171656,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa5dc80012d0a4a00070587c0000801461c..."} 
[2026-09-05 09:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa5dc80012d0a4a00070587c0000801461c..."} 
[2026-09-05 09:09:11] local.INFO: Processing buffer {"connection_id":171656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa5dc80012d0a4a00070587c0000801461c..."} 
[2026-09-05 09:09:11] local.INFO: Packet analysis {"connection_id":171656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa5"} 
[2026-09-05 09:09:11] local.INFO: Extracted packet for processing {"connection_id":171656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa5"} 
[2026-09-05 09:09:11] local.INFO: GPS Element Parsed {"raw_longitude":755649024,"raw_latitude":117802944,"longitude_deg":75.5649024,"latitude_deg":11.7802944,"altitude":8,"angle":326,"satellites":28,"speed":11,"hex_longitude":"2d0a4a00","hex_latitude":"070587c0","is_valid_coordinates":true} 
[2026-09-05 09:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876357632001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30286232470683648,"note":"Value kept but may cause issues"} 
[2026-09-05 09:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":742108806254757888,"note":"Value kept but may cause issues"} 
[2026-09-05 09:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788579536000,"timestamp_ms":1788579536000,"timestamp_seconds":1788579536,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa5dc80"} 
[2026-09-05 09:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 09:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171656,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171656,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876357632001,"66":14396,"177":206,"94":10240,"24":11,"16":30286232470683648,"45":742108806254757888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-05 09:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876357632001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:09:11] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-05 09:09:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30286232470683648,"km_value":30286232470683.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":742108806254757888,"description":"Unknown IO ID 45"} 
[2026-09-05 09:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876357632001,"power":14396,"unknown_177":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":742108806254757888}} 
[2026-09-05 09:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":171656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767632,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:09:12] local.INFO: GPS data processed {"connection_id":171656,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:09:12] local.INFO: Acknowledgment sent {"connection_id":171656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:09:25] local.INFO: TCP Data received {"connection_id":172773,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172773,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:09:25] local.INFO: Processing buffer {"connection_id":172773,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:09:25] local.INFO: IMEI packet received {"connection_id":172773,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":172773,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:09:30] local.INFO: TCP Data received {"connection_id":172773,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172773,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:09:31] local.INFO: Processing buffer {"connection_id":172773,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:09:31] local.INFO: IMEI packet received {"connection_id":172773,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":172773,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:09:31] local.INFO: TCP Data received {"connection_id":172773,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa4a7e8012d7d344005ec0b28000100981c..."} 
[2026-09-05 09:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa4a7e8012d7d344005ec0b28000100981c..."} 
[2026-09-05 09:09:31] local.INFO: Processing buffer {"connection_id":172773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa4a7e8012d7d344005ec0b28000100981c..."} 
[2026-09-05 09:09:31] local.INFO: Packet analysis {"connection_id":172773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa4"} 
[2026-09-05 09:09:31] local.INFO: Extracted packet for processing {"connection_id":172773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa4"} 
[2026-09-05 09:09:31] local.INFO: GPS Element Parsed {"raw_longitude":763180096,"raw_latitude":99355432,"longitude_deg":76.3180096,"latitude_deg":9.9355432,"altitude":1,"angle":152,"satellites":28,"speed":0,"hex_longitude":"2d7d3440","hex_latitude":"05ec0b28","is_valid_coordinates":true} 
[2026-09-05 09:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876335616001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021906347709114368,"note":"Value kept but may cause issues"} 
[2026-09-05 09:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788579457000,"timestamp_ms":1788579457000,"timestamp_seconds":1788579457,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa4a7e8"} 
[2026-09-05 09:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:09: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-09-05 09:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-05 09:09:31] 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-09-05 09:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876335616001,"66":13798,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9021906347709114368},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876335616001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:09:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:09:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021906347709114368,"description":"Unknown IO ID 45"} 
[2026-09-05 09:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876335616001,"power":13798,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021906347709114368}} 
[2026-09-05 09:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":172773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767633,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:09:31] local.INFO: GPS data processed {"connection_id":172773,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:09:31] local.INFO: Acknowledgment sent {"connection_id":172773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:09:42] local.INFO: TCP Data received {"connection_id":171656,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa5e068012d0a494007058880000801331c..."} 
[2026-09-05 09:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa5e068012d0a494007058880000801331c..."} 
[2026-09-05 09:09:42] local.INFO: Processing buffer {"connection_id":171656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa5e068012d0a494007058880000801331c..."} 
[2026-09-05 09:09:42] local.INFO: Packet analysis {"connection_id":171656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa5"} 
[2026-09-05 09:09:42] local.INFO: Extracted packet for processing {"connection_id":171656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa5"} 
[2026-09-05 09:09:42] local.INFO: GPS Element Parsed {"raw_longitude":755648832,"raw_latitude":117803136,"longitude_deg":75.5648832,"latitude_deg":11.7803136,"altitude":8,"angle":307,"satellites":28,"speed":10,"hex_longitude":"2d0a4940","hex_latitude":"07058880","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876361216001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30286245355585536,"note":"Value kept but may cause issues"} 
[2026-09-05 09:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":741405118813421568,"note":"Value kept but may cause issues"} 
[2026-09-05 09:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788579537000,"timestamp_ms":1788579537000,"timestamp_seconds":1788579537,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa5e068"} 
[2026-09-05 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-09-05 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-09-05 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 09:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 09:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":171656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":171656,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":171656,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876361216001,"66":14396,"177":206,"94":10240,"24":10,"16":30286245355585536,"45":741405118813421568},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-05 09:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876361216001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:09:42] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-05 09:09:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30286245355585536,"km_value":30286245355585.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":741405118813421568,"description":"Unknown IO ID 45"} 
[2026-09-05 09:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876361216001,"power":14396,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":741405118813421568}} 
[2026-09-05 09:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":171656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767634,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:09:42] local.INFO: GPS data processed {"connection_id":171656,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:09:42] local.INFO: Acknowledgment sent {"connection_id":171656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:10:02] local.INFO: TCP Data received {"connection_id":172773,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa4f9f0012d7d344005ec0b28000100981b..."} 
[2026-09-05 09:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa4f9f0012d7d344005ec0b28000100981b..."} 
[2026-09-05 09:10:02] local.INFO: Processing buffer {"connection_id":172773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa4f9f0012d7d344005ec0b28000100981b..."} 
[2026-09-05 09:10:02] local.INFO: Packet analysis {"connection_id":172773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa4"} 
[2026-09-05 09:10:02] local.INFO: Extracted packet for processing {"connection_id":172773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa4"} 
[2026-09-05 09:10:02] local.INFO: GPS Element Parsed {"raw_longitude":763180096,"raw_latitude":99355432,"longitude_deg":76.3180096,"latitude_deg":9.9355432,"altitude":1,"angle":152,"satellites":27,"speed":0,"hex_longitude":"2d7d3440","hex_latitude":"05ec0b28","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876340992001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021906347709114368,"note":"Value kept but may cause issues"} 
[2026-09-05 09:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788579478000,"timestamp_ms":1788579478000,"timestamp_seconds":1788579478,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa4f9f0"} 
[2026-09-05 09:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 09:10: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-09-05 09: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-09-05 09:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876340992001,"66":13472,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9021906347709114368},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876340992001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:10:02] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:10:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021906347709114368,"description":"Unknown IO ID 45"} 
[2026-09-05 09:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876340992001,"power":13472,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021906347709114368}} 
[2026-09-05 09:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":172773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:10:02] local.INFO: GPS data processed {"connection_id":172773,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:10:02] local.INFO: Acknowledgment sent {"connection_id":172773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:10:11] local.INFO: TCP Data received {"connection_id":171657,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171657,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:10:11] local.INFO: Processing buffer {"connection_id":171657,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:10:11] local.INFO: IMEI packet received {"connection_id":171657,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":171657,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:10:14] local.INFO: TCP Data received {"connection_id":171657,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171657,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:10:14] local.INFO: Processing buffer {"connection_id":171657,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:10:14] local.INFO: IMEI packet received {"connection_id":171657,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":171657,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:10:14] local.INFO: TCP Data received {"connection_id":171657,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa6af70012d0a3640070584d80007007a1d..."} 
[2026-09-05 09:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa6af70012d0a3640070584d80007007a1d..."} 
[2026-09-05 09:10:14] local.INFO: Processing buffer {"connection_id":171657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa6af70012d0a3640070584d80007007a1d..."} 
[2026-09-05 09:10:14] local.INFO: Packet analysis {"connection_id":171657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa6"} 
[2026-09-05 09:10:14] local.INFO: Extracted packet for processing {"connection_id":171657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa6"} 
[2026-09-05 09:10:14] local.INFO: GPS Element Parsed {"raw_longitude":755643968,"raw_latitude":117802200,"longitude_deg":75.5643968,"latitude_deg":11.78022,"altitude":7,"angle":122,"satellites":29,"speed":2,"hex_longitude":"2d0a3640","hex_latitude":"070584d8","is_valid_coordinates":true} 
[2026-09-05 09:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876374528001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30286528823427072,"note":"Value kept but may cause issues"} 
[2026-09-05 09:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":735775619279032320,"note":"Value kept but may cause issues"} 
[2026-09-05 09:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788579590000,"timestamp_ms":1788579590000,"timestamp_seconds":1788579590,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa6af70"} 
[2026-09-05 09:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-05 09:10:14] 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-09-05 09:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":171657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":171657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":171657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876374528001,"66":14450,"177":206,"94":10240,"24":2,"16":30286528823427072,"45":735775619279032320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-05 09:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876374528001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:10:14] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-05 09:10:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30286528823427072,"km_value":30286528823427.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":735775619279032320,"description":"Unknown IO ID 45"} 
[2026-09-05 09:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876374528001,"power":14450,"unknown_177":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":735775619279032320}} 
[2026-09-05 09:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":171657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767636,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:10:14] local.INFO: GPS data processed {"connection_id":171657,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:10:14] local.INFO: Acknowledgment sent {"connection_id":171657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:10:15] local.INFO: TCP Data received {"connection_id":171657,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa6b358012d0a3640070584b0000700871d..."} 
[2026-09-05 09:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa6b358012d0a3640070584b0000700871d..."} 
[2026-09-05 09:10:15] local.INFO: Processing buffer {"connection_id":171657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa6b358012d0a3640070584b0000700871d..."} 
[2026-09-05 09:10:15] local.INFO: Packet analysis {"connection_id":171657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa6"} 
[2026-09-05 09:10:15] local.INFO: Extracted packet for processing {"connection_id":171657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa6"} 
[2026-09-05 09:10:15] local.INFO: GPS Element Parsed {"raw_longitude":755643968,"raw_latitude":117802160,"longitude_deg":75.5643968,"latitude_deg":11.780216,"altitude":7,"angle":135,"satellites":29,"speed":2,"hex_longitude":"2d0a3640","hex_latitude":"070584b0","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876375040001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30286533118394368,"note":"Value kept but may cause issues"} 
[2026-09-05 09:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":735845988023195648,"note":"Value kept but may cause issues"} 
[2026-09-05 09:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788579591000,"timestamp_ms":1788579591000,"timestamp_seconds":1788579591,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa6b358"} 
[2026-09-05 09:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-05 09:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":171657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":171657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":171657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876375040001,"66":14450,"177":206,"94":10240,"24":2,"16":30286533118394368,"45":735845988023195648},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-05 09:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876375040001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:10:15] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-05 09:10:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30286533118394368,"km_value":30286533118394.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":735845988023195648,"description":"Unknown IO ID 45"} 
[2026-09-05 09:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876375040001,"power":14450,"unknown_177":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":735845988023195648}} 
[2026-09-05 09:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":171657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767637,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:10:15] local.INFO: GPS data processed {"connection_id":171657,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:10:15] local.INFO: Acknowledgment sent {"connection_id":171657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:10:17] local.INFO: TCP Data received {"connection_id":171658,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:10:17] local.INFO: Processing buffer {"connection_id":171658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:10:17] local.INFO: IMEI packet received {"connection_id":171658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":171658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:10:18] local.INFO: TCP Data received {"connection_id":171658,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa5e450012d4f3d0006727518000700fe27..."} 
[2026-09-05 09:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa5e450012d4f3d0006727518000700fe27..."} 
[2026-09-05 09:10:18] local.INFO: Processing buffer {"connection_id":171658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa5e450012d4f3d0006727518000700fe27..."} 
[2026-09-05 09:10:18] local.INFO: Packet analysis {"connection_id":171658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa5"} 
[2026-09-05 09:10:18] local.INFO: Extracted packet for processing {"connection_id":171658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa5"} 
[2026-09-05 09:10:18] local.INFO: GPS Element Parsed {"raw_longitude":760167680,"raw_latitude":108164376,"longitude_deg":76.016768,"latitude_deg":10.8164376,"altitude":7,"angle":254,"satellites":39,"speed":55,"hex_longitude":"2d4f3d00","hex_latitude":"06727518","is_valid_coordinates":true} 
[2026-09-05 09:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876359936001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399304724416823296,"note":"Value kept but may cause issues"} 
[2026-09-05 09:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5720556716869707776,"note":"Value kept but may cause issues"} 
[2026-09-05 09:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788579538000,"timestamp_ms":1788579538000,"timestamp_seconds":1788579538,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa5e450"} 
[2026-09-05 09:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 09:10:18] 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-09-05 09:10:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":171658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":171658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":171658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876359936001,"66":27843,"143":206,"80":60160,"24":55,"16":399304724416823296,"45":5720556716869707776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,80,24,16,45]} 
[2026-09-05 09:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876359936001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:10:18] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-09-05 09:10:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-05 09:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399304724416823296,"km_value":399304724416823.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5720556716869707776,"description":"Unknown IO ID 45"} 
[2026-09-05 09:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876359936001,"power":27843,"unknown_143":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5720556716869707776}} 
[2026-09-05 09:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":171658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:10:18] local.INFO: GPS data processed {"connection_id":171658,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:10:18] local.INFO: Acknowledgment sent {"connection_id":171658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:10:25] local.INFO: TCP Data received {"connection_id":171364,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:10:25] local.INFO: Processing buffer {"connection_id":171364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:10:25] local.INFO: IMEI packet received {"connection_id":171364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":171364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:10:30] local.INFO: TCP Data received {"connection_id":171364,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:10:31] local.INFO: Processing buffer {"connection_id":171364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:10:31] local.INFO: IMEI packet received {"connection_id":171364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":171364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:10:31] local.INFO: TCP Data received {"connection_id":171364,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa530a0012d7d344005ec0b28000100981c..."} 
[2026-09-05 09:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa530a0012d7d344005ec0b28000100981c..."} 
[2026-09-05 09:10:31] local.INFO: Processing buffer {"connection_id":171364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa530a0012d7d344005ec0b28000100981c..."} 
[2026-09-05 09:10:31] local.INFO: Packet analysis {"connection_id":171364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa5"} 
[2026-09-05 09:10:31] local.INFO: Extracted packet for processing {"connection_id":171364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa5"} 
[2026-09-05 09:10:31] local.INFO: GPS Element Parsed {"raw_longitude":763180096,"raw_latitude":99355432,"longitude_deg":76.3180096,"latitude_deg":9.9355432,"altitude":1,"angle":152,"satellites":28,"speed":0,"hex_longitude":"2d7d3440","hex_latitude":"05ec0b28","is_valid_coordinates":true} 
[2026-09-05 09:10: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-09-05 09:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876346368001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021906347709114368,"note":"Value kept but may cause issues"} 
[2026-09-05 09:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788579492000,"timestamp_ms":1788579492000,"timestamp_seconds":1788579492,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa530a0"} 
[2026-09-05 09:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-05 09:10:31] 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-09-05 09:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876346368001,"66":13646,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9021906347709114368},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876346368001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:10:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:10:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021906347709114368,"description":"Unknown IO ID 45"} 
[2026-09-05 09:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876346368001,"power":13646,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021906347709114368}} 
[2026-09-05 09:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":171364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767639,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:10:31] local.INFO: GPS data processed {"connection_id":171364,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:10:31] local.INFO: Acknowledgment sent {"connection_id":171364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:10:36] local.INFO: TCP Data received {"connection_id":171365,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 09:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171365,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 09:10:36] local.INFO: Processing buffer {"connection_id":171365,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 09:10:36] local.INFO: IMEI packet received {"connection_id":171365,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 09:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":171365,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:10:46] local.INFO: TCP Data received {"connection_id":171657,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa73828012d0a530007057a28000e00931d..."} 
[2026-09-05 09:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa73828012d0a530007057a28000e00931d..."} 
[2026-09-05 09:10:46] local.INFO: Processing buffer {"connection_id":171657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa73828012d0a530007057a28000e00931d..."} 
[2026-09-05 09:10:46] local.INFO: Packet analysis {"connection_id":171657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa7"} 
[2026-09-05 09:10:46] local.INFO: Extracted packet for processing {"connection_id":171657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa7"} 
[2026-09-05 09:10:46] local.INFO: GPS Element Parsed {"raw_longitude":755651328,"raw_latitude":117799464,"longitude_deg":75.5651328,"latitude_deg":11.7799464,"altitude":14,"angle":147,"satellites":29,"speed":11,"hex_longitude":"2d0a5300","hex_latitude":"07057a28","is_valid_coordinates":true} 
[2026-09-05 09:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876383488001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30287001269829632,"note":"Value kept but may cause issues"} 
[2026-09-05 09:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743445812393771008,"note":"Value kept but may cause issues"} 
[2026-09-05 09:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788579625000,"timestamp_ms":1788579625000,"timestamp_seconds":1788579625,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa73828"} 
[2026-09-05 09:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-05 09:10:46] 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-09-05 09:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":171657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":171657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":171657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876383488001,"66":14428,"177":206,"94":10240,"24":11,"16":30287001269829632,"45":743445812393771008},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-05 09:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876383488001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:10:46] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-05 09:10:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30287001269829632,"km_value":30287001269829.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":743445812393771008,"description":"Unknown IO ID 45"} 
[2026-09-05 09:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876383488001,"power":14428,"unknown_177":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":743445812393771008}} 
[2026-09-05 09:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":171657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767640,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:10:46] local.INFO: GPS data processed {"connection_id":171657,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:10:46] local.INFO: Acknowledgment sent {"connection_id":171657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:10:59] local.INFO: TCP Data received {"connection_id":172774,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:10:59] local.INFO: Processing buffer {"connection_id":172774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:10:59] local.INFO: IMEI packet received {"connection_id":172774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":172774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:11:02] local.INFO: TCP Data received {"connection_id":171366,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171366,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:11:02] local.INFO: Processing buffer {"connection_id":171366,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:11:02] local.INFO: IMEI packet received {"connection_id":171366,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":171366,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:11:02] local.INFO: TCP Data received {"connection_id":171364,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa530a0012d7d344005ec0b28000100981c..."} 
[2026-09-05 09:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa530a0012d7d344005ec0b28000100981c..."} 
[2026-09-05 09:11:02] local.INFO: Processing buffer {"connection_id":171364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa530a0012d7d344005ec0b28000100981c..."} 
[2026-09-05 09:11:02] local.INFO: Packet analysis {"connection_id":171364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa5"} 
[2026-09-05 09:11:02] local.INFO: Extracted packet for processing {"connection_id":171364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa5"} 
[2026-09-05 09:11:02] local.INFO: GPS Element Parsed {"raw_longitude":763180096,"raw_latitude":99355432,"longitude_deg":76.3180096,"latitude_deg":9.9355432,"altitude":1,"angle":152,"satellites":28,"speed":0,"hex_longitude":"2d7d3440","hex_latitude":"05ec0b28","is_valid_coordinates":true} 
[2026-09-05 09:11:02] 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-09-05 09:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876349952001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021906347709114368,"note":"Value kept but may cause issues"} 
[2026-09-05 09:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788579492000,"timestamp_ms":1788579492000,"timestamp_seconds":1788579492,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa530a0"} 
[2026-09-05 09:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 09:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-05 09:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876349952001,"66":13646,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9021906347709114368},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876349952001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:11:02] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:11:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021906347709114368,"description":"Unknown IO ID 45"} 
[2026-09-05 09:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876349952001,"power":13646,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021906347709114368}} 
[2026-09-05 09:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":171364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767641,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:11:03] local.INFO: GPS data processed {"connection_id":171364,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:11:03] local.INFO: Acknowledgment sent {"connection_id":171364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:11:05] local.INFO: TCP Data received {"connection_id":172774,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:11:05] local.INFO: Processing buffer {"connection_id":172774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:11:05] local.INFO: IMEI packet received {"connection_id":172774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":172774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:11:07] local.INFO: TCP Data received {"connection_id":171366,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171366,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:11:07] local.INFO: Processing buffer {"connection_id":171366,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:11:07] local.INFO: IMEI packet received {"connection_id":171366,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":171366,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:11:11] local.INFO: TCP Data received {"connection_id":171366,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171366,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:11:11] local.INFO: Processing buffer {"connection_id":171366,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:11:11] local.INFO: IMEI packet received {"connection_id":171366,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":171366,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:11:11] local.INFO: TCP Data received {"connection_id":171366,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa73c10012d0a5380070578f0000e00a71d..."} 
[2026-09-05 09:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa73c10012d0a5380070578f0000e00a71d..."} 
[2026-09-05 09:11:11] local.INFO: Processing buffer {"connection_id":171366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa73c10012d0a5380070578f0000e00a71d..."} 
[2026-09-05 09:11:11] local.INFO: Packet analysis {"connection_id":171366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa7"} 
[2026-09-05 09:11:11] local.INFO: Extracted packet for processing {"connection_id":171366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa7"} 
[2026-09-05 09:11:11] local.INFO: GPS Element Parsed {"raw_longitude":755651456,"raw_latitude":117799152,"longitude_deg":75.5651456,"latitude_deg":11.7799152,"altitude":14,"angle":167,"satellites":29,"speed":13,"hex_longitude":"2d0a5380","hex_latitude":"070578f0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876384000001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30287018449698816,"note":"Value kept but may cause issues"} 
[2026-09-05 09:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743938393602926592,"note":"Value kept but may cause issues"} 
[2026-09-05 09:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788579626000,"timestamp_ms":1788579626000,"timestamp_seconds":1788579626,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa73c10"} 
[2026-09-05 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-09-05 09:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 09:11: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-09-05 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-09-05 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-09-05 09:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876384000001,"66":14439,"177":206,"94":10240,"24":13,"16":30287018449698816,"45":743938393602926592},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-05 09:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876384000001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:11:12] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-05 09:11:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30287018449698816,"km_value":30287018449698.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":743938393602926592,"description":"Unknown IO ID 45"} 
[2026-09-05 09:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876384000001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":743938393602926592}} 
[2026-09-05 09:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":171366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767642,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:11:12] local.INFO: GPS data processed {"connection_id":171366,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:11:12] local.INFO: Acknowledgment sent {"connection_id":171366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:11:18] local.INFO: TCP Data received {"connection_id":171366,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa75768012d0a550007056e28000f00b71d..."} 
[2026-09-05 09:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa75768012d0a550007056e28000f00b71d..."} 
[2026-09-05 09:11:18] local.INFO: Processing buffer {"connection_id":171366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa75768012d0a550007056e28000f00b71d..."} 
[2026-09-05 09:11:18] local.INFO: Packet analysis {"connection_id":171366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa7"} 
[2026-09-05 09:11:18] local.INFO: Extracted packet for processing {"connection_id":171366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa7"} 
[2026-09-05 09:11:18] local.INFO: GPS Element Parsed {"raw_longitude":755651840,"raw_latitude":117796392,"longitude_deg":75.565184,"latitude_deg":11.7796392,"altitude":15,"angle":183,"satellites":29,"speed":16,"hex_longitude":"2d0a5500","hex_latitude":"07056e28","is_valid_coordinates":true} 
[2026-09-05 09:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876384256001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30287155888652288,"note":"Value kept but may cause issues"} 
[2026-09-05 09:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":744079131091202048,"note":"Value kept but may cause issues"} 
[2026-09-05 09:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788579633000,"timestamp_ms":1788579633000,"timestamp_seconds":1788579633,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa75768"} 
[2026-09-05 09:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-05 09:11:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:11:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":171366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":171366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":171366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876384256001,"66":14537,"177":206,"94":10240,"24":16,"16":30287155888652288,"45":744079131091202048},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-05 09:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876384256001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:11:18] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-05 09:11:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30287155888652288,"km_value":30287155888652.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":744079131091202048,"description":"Unknown IO ID 45"} 
[2026-09-05 09:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876384256001,"power":14537,"unknown_177":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":744079131091202048}} 
[2026-09-05 09:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":171366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767643,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:11:19] local.INFO: GPS data processed {"connection_id":171366,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:11:19] local.INFO: Acknowledgment sent {"connection_id":171366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:11:19] local.INFO: TCP Data received {"connection_id":172774,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:11:20] local.INFO: Processing buffer {"connection_id":172774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:11:20] local.INFO: IMEI packet received {"connection_id":172774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":172774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:11:21] local.INFO: TCP Data received {"connection_id":172774,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa72888012d4e1480067189d8000700e925..."} 
[2026-09-05 09:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa72888012d4e1480067189d8000700e925..."} 
[2026-09-05 09:11:21] local.INFO: Processing buffer {"connection_id":172774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa72888012d4e1480067189d8000700e925..."} 
[2026-09-05 09:11:21] local.INFO: Packet analysis {"connection_id":172774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa7"} 
[2026-09-05 09:11:21] local.INFO: Extracted packet for processing {"connection_id":172774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa7"} 
[2026-09-05 09:11:21] local.INFO: GPS Element Parsed {"raw_longitude":760091776,"raw_latitude":108104152,"longitude_deg":76.0091776,"latitude_deg":10.8104152,"altitude":7,"angle":233,"satellites":37,"speed":57,"hex_longitude":"2d4e1480","hex_latitude":"067189d8","is_valid_coordinates":true} 
[2026-09-05 09:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876381184001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399309457470783488,"note":"Value kept but may cause issues"} 
[2026-09-05 09:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5636325330074277888,"note":"Value kept but may cause issues"} 
[2026-09-05 09:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788579621000,"timestamp_ms":1788579621000,"timestamp_seconds":1788579621,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa72888"} 
[2026-09-05 09:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 09:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876381184001,"66":27908,"145":206,"80":60160,"24":57,"16":399309457470783488,"45":5636325330074277888},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,80,24,16,45]} 
[2026-09-05 09:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876381184001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:11:21] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-05 09:11:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-05 09:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399309457470783488,"km_value":399309457470783.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5636325330074277888,"description":"Unknown IO ID 45"} 
[2026-09-05 09:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876381184001,"power":27908,"unknown_145":206,"unknown_80":60160,"ignition":57,"odometer":null,"unknown_45":5636325330074277888}} 
[2026-09-05 09:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":172774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:11:21] local.INFO: GPS data processed {"connection_id":172774,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:11:21] local.INFO: Acknowledgment sent {"connection_id":172774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:11:22] local.INFO: TCP Data received {"connection_id":172774,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa73440012d4e088006717ea0000900da27..."} 
[2026-09-05 09:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa73440012d4e088006717ea0000900da27..."} 
[2026-09-05 09:11:22] local.INFO: Processing buffer {"connection_id":172774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa73440012d4e088006717ea0000900da27..."} 
[2026-09-05 09:11:22] local.INFO: Packet analysis {"connection_id":172774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa7"} 
[2026-09-05 09:11:22] local.INFO: Extracted packet for processing {"connection_id":172774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa7"} 
[2026-09-05 09:11:22] local.INFO: GPS Element Parsed {"raw_longitude":760088704,"raw_latitude":108101280,"longitude_deg":76.0088704,"latitude_deg":10.810128,"altitude":9,"angle":218,"satellites":39,"speed":52,"hex_longitude":"2d4e0880","hex_latitude":"06717ea0","is_valid_coordinates":true} 
[2026-09-05 09:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876382976001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399309659334246400,"note":"Value kept but may cause issues"} 
[2026-09-05 09:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5626262599655610368,"note":"Value kept but may cause issues"} 
[2026-09-05 09:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788579624000,"timestamp_ms":1788579624000,"timestamp_seconds":1788579624,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa73440"} 
[2026-09-05 09:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 09:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876382976001,"66":27908,"145":206,"80":60160,"24":52,"16":399309659334246400,"45":5626262599655610368},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,80,24,16,45]} 
[2026-09-05 09:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876382976001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:11:22] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-05 09:11:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-05 09:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399309659334246400,"km_value":399309659334246.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5626262599655610368,"description":"Unknown IO ID 45"} 
[2026-09-05 09:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876382976001,"power":27908,"unknown_145":206,"unknown_80":60160,"ignition":52,"odometer":null,"unknown_45":5626262599655610368}} 
[2026-09-05 09:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":172774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:11:22] local.INFO: GPS data processed {"connection_id":172774,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:11:22] local.INFO: Acknowledgment sent {"connection_id":172774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:11:25] local.INFO: TCP Data received {"connection_id":171659,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171659,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:11:25] local.INFO: Processing buffer {"connection_id":171659,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:11:25] local.INFO: IMEI packet received {"connection_id":171659,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":171659,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:11:30] local.INFO: TCP Data received {"connection_id":171659,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171659,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:11:31] local.INFO: Processing buffer {"connection_id":171659,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:11:31] local.INFO: IMEI packet received {"connection_id":171659,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":171659,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:11:31] local.INFO: TCP Data received {"connection_id":171659,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa5f7d8012d7d360005ec0b40000100981d..."} 
[2026-09-05 09:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa5f7d8012d7d360005ec0b40000100981d..."} 
[2026-09-05 09:11:31] local.INFO: Processing buffer {"connection_id":171659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa5f7d8012d7d360005ec0b40000100981d..."} 
[2026-09-05 09:11:31] local.INFO: Packet analysis {"connection_id":171659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa5"} 
[2026-09-05 09:11:31] local.INFO: Extracted packet for processing {"connection_id":171659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa5"} 
[2026-09-05 09:11:31] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99355456,"longitude_deg":76.3180544,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":29,"speed":0,"hex_longitude":"2d7d3600","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09:11:31] 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-09-05 09:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876349952001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021906347709114368,"note":"Value kept but may cause issues"} 
[2026-09-05 09:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788579543000,"timestamp_ms":1788579543000,"timestamp_seconds":1788579543,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa5f7d8"} 
[2026-09-05 09:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 09: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-05 09:11: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-09-05 09: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-09-05 09:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876349952001,"66":5242,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9021906347709114368},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876349952001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:11:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:11:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021906347709114368,"description":"Unknown IO ID 45"} 
[2026-09-05 09:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876349952001,"power":5242,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021906347709114368}} 
[2026-09-05 09:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":171659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767646,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:11:32] local.INFO: GPS data processed {"connection_id":171659,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:11:32] local.INFO: Acknowledgment sent {"connection_id":171659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:11:50] local.INFO: TCP Data received {"connection_id":171366,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa85550012d0a40400704ef28001400bd1d..."} 
[2026-09-05 09:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa85550012d0a40400704ef28001400bd1d..."} 
[2026-09-05 09:11:50] local.INFO: Processing buffer {"connection_id":171366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa85550012d0a40400704ef28001400bd1d..."} 
[2026-09-05 09:11:50] local.INFO: Packet analysis {"connection_id":171366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa8"} 
[2026-09-05 09:11:50] local.INFO: Extracted packet for processing {"connection_id":171366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa8"} 
[2026-09-05 09:11:50] local.INFO: GPS Element Parsed {"raw_longitude":755646528,"raw_latitude":117763880,"longitude_deg":75.5646528,"latitude_deg":11.776388,"altitude":20,"angle":189,"satellites":29,"speed":20,"hex_longitude":"2d0a4040","hex_latitude":"0704ef28","is_valid_coordinates":true} 
[2026-09-05 09:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876399360001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30288860990668800,"note":"Value kept but may cause issues"} 
[2026-09-05 09:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":740419956387246080,"note":"Value kept but may cause issues"} 
[2026-09-05 09:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788579698000,"timestamp_ms":1788579698000,"timestamp_seconds":1788579698,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa85550"} 
[2026-09-05 09:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 09:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:11:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876399360001,"66":14515,"177":206,"94":10240,"24":20,"16":30288860990668800,"45":740419956387246080},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-05 09:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876399360001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:11:50] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-05 09:11:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30288860990668800,"km_value":30288860990668.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":740419956387246080,"description":"Unknown IO ID 45"} 
[2026-09-05 09:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876399360001,"power":14515,"unknown_177":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":740419956387246080}} 
[2026-09-05 09:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":171366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767647,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:11:50] local.INFO: GPS data processed {"connection_id":171366,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:11:50] local.INFO: Acknowledgment sent {"connection_id":171366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:12:01] local.INFO: TCP Data received {"connection_id":171660,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:12:01] local.INFO: Processing buffer {"connection_id":171660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:12:01] local.INFO: IMEI packet received {"connection_id":171660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":171660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:12:03] local.INFO: TCP Data received {"connection_id":171659,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa5f7d8012d7d360005ec0b40000100981d..."} 
[2026-09-05 09:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa5f7d8012d7d360005ec0b40000100981d..."} 
[2026-09-05 09:12:03] local.INFO: Processing buffer {"connection_id":171659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa5f7d8012d7d360005ec0b40000100981d..."} 
[2026-09-05 09:12:03] local.INFO: Packet analysis {"connection_id":171659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa5"} 
[2026-09-05 09:12:03] local.INFO: Extracted packet for processing {"connection_id":171659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa5"} 
[2026-09-05 09:12:03] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99355456,"longitude_deg":76.3180544,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":29,"speed":0,"hex_longitude":"2d7d3600","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09:12:03] 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-09-05 09:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876363008001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928918364160,"note":"Value kept but may cause issues"} 
[2026-09-05 09:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788579543000,"timestamp_ms":1788579543000,"timestamp_seconds":1788579543,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa5f7d8"} 
[2026-09-05 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-09-05 09:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-05 09:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 09:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876363008001,"66":5242,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022398928918364160},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876363008001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:12:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:12:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928918364160,"description":"Unknown IO ID 45"} 
[2026-09-05 09:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876363008001,"power":5242,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022398928918364160}} 
[2026-09-05 09:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":171659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767648,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:12:03] local.INFO: GPS data processed {"connection_id":171659,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:12:03] local.INFO: Acknowledgment sent {"connection_id":171659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:12:14] local.INFO: TCP Data received {"connection_id":171367,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171367,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:12:14] local.INFO: Processing buffer {"connection_id":171367,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:12:14] local.INFO: IMEI packet received {"connection_id":171367,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":171367,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:12:16] local.INFO: TCP Data received {"connection_id":171367,"ip":"42.109.136.6","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-05 09:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171367,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-05 09:12:16] local.INFO: Processing buffer {"connection_id":171367,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-05 09:12:16] local.INFO: IMEI packet received {"connection_id":171367,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":171367,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:12:17] local.INFO: TCP Data received {"connection_id":171367,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171367,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:12:17] local.INFO: Processing buffer {"connection_id":171367,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-05 09:12:17] local.INFO: IMEI packet received {"connection_id":171367,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":171367,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:12:25] local.INFO: TCP Data received {"connection_id":171660,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:12:25] local.INFO: Processing buffer {"connection_id":171660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:12:25] local.INFO: IMEI packet received {"connection_id":171660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":171660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:12:25] local.INFO: TCP Data received {"connection_id":171660,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:12:25] local.INFO: Processing buffer {"connection_id":171660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:12:25] local.INFO: IMEI packet received {"connection_id":171660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":171660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:12:25] local.INFO: TCP Data received {"connection_id":172775,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:12:25] local.INFO: Processing buffer {"connection_id":172775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:12:25] local.INFO: IMEI packet received {"connection_id":172775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":172775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:12:26] local.INFO: TCP Data received {"connection_id":171660,"ip":"42.106.6.16","data_length":1348,"data_hex":"000000000000030f8e0a000001a06fa82a58012d4df60006705448001600aa2b..."} 
[2026-09-05 09:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171660,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a06fa82a58012d4df60006705448001600aa2b..."} 
[2026-09-05 09:12:26] local.INFO: Processing buffer {"connection_id":171660,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a06fa82a58012d4df60006705448001600aa2b..."} 
[2026-09-05 09:12:26] local.INFO: Packet analysis {"connection_id":171660,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a06fa8"} 
[2026-09-05 09:12:26] local.INFO: Extracted packet for processing {"connection_id":171660,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a06fa8"} 
[2026-09-05 09:12:26] local.INFO: GPS Element Parsed {"raw_longitude":760083968,"raw_latitude":108024904,"longitude_deg":76.0083968,"latitude_deg":10.8024904,"altitude":22,"angle":170,"satellites":43,"speed":53,"hex_longitude":"2d4df600","hex_latitude":"06705448","is_valid_coordinates":true} 
[2026-09-05 09:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876399872001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399313533394747392,"note":"Value kept but may cause issues"} 
[2026-09-05 09:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5617677612845647872,"note":"Value kept but may cause issues"} 
[2026-09-05 09:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788579687000,"timestamp_ms":1788579687000,"timestamp_seconds":1788579687,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa82a58"} 
[2026-09-05 09:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:12:26] 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-09-05 09:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 09:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876399872001,"66":27908,"11":206,"80":60160,"24":53,"16":399313533394747392,"45":5617677612845647872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-09-05 09:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876399872001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:12:26] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 09:12:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-05 09:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399313533394747392,"km_value":399313533394747.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5617677612845647872,"description":"Unknown IO ID 45"} 
[2026-09-05 09:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876399872001,"power":27908,"unknown_11":206,"unknown_80":60160,"ignition":53,"odometer":null,"unknown_45":5617677612845647872}} 
[2026-09-05 09:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":171660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:12:26] local.INFO: GPS data processed {"connection_id":171660,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:12:26] local.INFO: Acknowledgment sent {"connection_id":171660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:12:26] local.INFO: Packet analysis {"connection_id":171660,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a06fa8"} 
[2026-09-05 09:12:26] local.INFO: Incomplete packet, waiting for more data {"connection_id":171660,"needed":795,"available":553} 
[2026-09-05 09:12:29] local.INFO: TCP Data received {"connection_id":171660,"ip":"42.106.6.16","data_length":1037,"data_hex":"000000000001a06fa7a970012d4dde000670fac0000f00b12b00360000000a00..."} 
[2026-09-05 09:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171660,"packet_length":1037,"packet_hex":"000000000001a06fa7a970012d4dde000670fac0000f00b12b00360000000a00..."} 
[2026-09-05 09:12:29] local.INFO: Processing buffer {"connection_id":171660,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a06fa839f8012d4df6c006703fb8001400b929..."} 
[2026-09-05 09:12:29] local.INFO: Packet analysis {"connection_id":171660,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a06fa8"} 
[2026-09-05 09:12:29] local.INFO: Extracted packet for processing {"connection_id":171660,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa8"} 
[2026-09-05 09:12:29] local.INFO: GPS Element Parsed {"raw_longitude":760084160,"raw_latitude":108019640,"longitude_deg":76.008416,"latitude_deg":10.801964,"altitude":20,"angle":185,"satellites":41,"speed":52,"hex_longitude":"2d4df6c0","hex_latitude":"06703fb8","is_valid_coordinates":true} 
[2026-09-05 09:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876399872001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399313791092785152,"note":"Value kept but may cause issues"} 
[2026-09-05 09:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5617677612845647872,"note":"Value kept but may cause issues"} 
[2026-09-05 09:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788579691000,"timestamp_ms":1788579691000,"timestamp_seconds":1788579691,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa839f8"} 
[2026-09-05 09:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 09:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":171660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":171660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":171660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876399872001,"66":27832,"11":206,"80":60160,"24":52,"16":399313791092785152,"45":5617677612845647872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-09-05 09:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876399872001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:12:29] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 09:12:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-05 09:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399313791092785152,"km_value":399313791092785.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5617677612845647872,"description":"Unknown IO ID 45"} 
[2026-09-05 09:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876399872001,"power":27832,"unknown_11":206,"unknown_80":60160,"ignition":52,"odometer":null,"unknown_45":5617677612845647872}} 
[2026-09-05 09:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":171660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:12:29] local.INFO: GPS data processed {"connection_id":171660,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:12:29] local.INFO: Acknowledgment sent {"connection_id":171660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:12:29] local.INFO: Packet analysis {"connection_id":171660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa8"} 
[2026-09-05 09:12:29] local.INFO: Extracted packet for processing {"connection_id":171660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa8"} 
[2026-09-05 09:12:29] local.INFO: GPS Element Parsed {"raw_longitude":760083392,"raw_latitude":108010648,"longitude_deg":76.0083392,"latitude_deg":10.8010648,"altitude":18,"angle":183,"satellites":40,"speed":48,"hex_longitude":"2d4df3c0","hex_latitude":"06701c98","is_valid_coordinates":true} 
[2026-09-05 09:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876400896001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399314224884482048,"note":"Value kept but may cause issues"} 
[2026-09-05 09:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5617888719076833280,"note":"Value kept but may cause issues"} 
[2026-09-05 09:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788579698000,"timestamp_ms":1788579698000,"timestamp_seconds":1788579698,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa85550"} 
[2026-09-05 09:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 09:12: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-09-05 09:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":171660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":171660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":171660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876400896001,"66":27876,"11":206,"80":60160,"24":48,"16":399314224884482048,"45":5617888719076833280},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-09-05 09:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876400896001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:12:29] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 09:12:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-05 09:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399314224884482048,"km_value":399314224884482.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5617888719076833280,"description":"Unknown IO ID 45"} 
[2026-09-05 09:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876400896001,"power":27876,"unknown_11":206,"unknown_80":60160,"ignition":48,"odometer":null,"unknown_45":5617888719076833280}} 
[2026-09-05 09:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":171660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:12:29] local.INFO: GPS data processed {"connection_id":171660,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:12:29] local.INFO: Acknowledgment sent {"connection_id":171660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:12:30] local.INFO: TCP Data received {"connection_id":172775,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:12:30] local.INFO: Processing buffer {"connection_id":172775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:12:30] local.INFO: IMEI packet received {"connection_id":172775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":172775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:12:31] local.INFO: TCP Data received {"connection_id":172775,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa5f7d8012d7d360005ec0b40000100981d..."} 
[2026-09-05 09:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa5f7d8012d7d360005ec0b40000100981d..."} 
[2026-09-05 09:12:31] local.INFO: Processing buffer {"connection_id":172775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa5f7d8012d7d360005ec0b40000100981d..."} 
[2026-09-05 09:12:31] local.INFO: Packet analysis {"connection_id":172775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa5"} 
[2026-09-05 09:12:31] local.INFO: Extracted packet for processing {"connection_id":172775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa5"} 
[2026-09-05 09:12:31] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99355456,"longitude_deg":76.3180544,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":29,"speed":0,"hex_longitude":"2d7d3600","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876363008001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928918364160,"note":"Value kept but may cause issues"} 
[2026-09-05 09:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788579543000,"timestamp_ms":1788579543000,"timestamp_seconds":1788579543,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa5f7d8"} 
[2026-09-05 09:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 09: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":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-05 09:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876363008001,"66":5242,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022398928918364160},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876363008001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:12:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:12:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928918364160,"description":"Unknown IO ID 45"} 
[2026-09-05 09:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876363008001,"power":5242,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022398928918364160}} 
[2026-09-05 09:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":172775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767652,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:12:31] local.INFO: GPS data processed {"connection_id":172775,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:12:31] local.INFO: Acknowledgment sent {"connection_id":172775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:12:56] local.INFO: TCP Data received {"connection_id":171368,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:12:56] local.INFO: Processing buffer {"connection_id":171368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:12:56] local.INFO: IMEI packet received {"connection_id":171368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":171368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:12:58] local.INFO: TCP Data received {"connection_id":171368,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:12:58] local.INFO: Processing buffer {"connection_id":171368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:12:58] local.INFO: IMEI packet received {"connection_id":171368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":171368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:13:02] local.INFO: TCP Data received {"connection_id":171368,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:13:02] local.INFO: Processing buffer {"connection_id":171368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:13:02] local.INFO: IMEI packet received {"connection_id":171368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":171368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:13:03] local.INFO: TCP Data received {"connection_id":172775,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa5f7d8012d7d360005ec0b40000100981d..."} 
[2026-09-05 09:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa5f7d8012d7d360005ec0b40000100981d..."} 
[2026-09-05 09:13:03] local.INFO: Processing buffer {"connection_id":172775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa5f7d8012d7d360005ec0b40000100981d..."} 
[2026-09-05 09:13:03] local.INFO: Packet analysis {"connection_id":172775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa5"} 
[2026-09-05 09:13:03] local.INFO: Extracted packet for processing {"connection_id":172775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa5"} 
[2026-09-05 09:13:03] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99355456,"longitude_deg":76.3180544,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":29,"speed":0,"hex_longitude":"2d7d3600","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09:13:03] 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-09-05 09:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876363008001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928918364160,"note":"Value kept but may cause issues"} 
[2026-09-05 09:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788579543000,"timestamp_ms":1788579543000,"timestamp_seconds":1788579543,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa5f7d8"} 
[2026-09-05 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-09-05 09: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-09-05 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":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-05 09:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 09:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876363008001,"66":5242,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022398928918364160},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876363008001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:13:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:13:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928918364160,"description":"Unknown IO ID 45"} 
[2026-09-05 09:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876363008001,"power":5242,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022398928918364160}} 
[2026-09-05 09:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":172775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767653,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:13:03] local.INFO: GPS data processed {"connection_id":172775,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:13:03] local.INFO: Acknowledgment sent {"connection_id":172775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:13:04] local.INFO: TCP Data received {"connection_id":171368,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa87878012d4dee40066ff688001600c227..."} 
[2026-09-05 09:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa87878012d4dee40066ff688001600c227..."} 
[2026-09-05 09:13:04] local.INFO: Processing buffer {"connection_id":171368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa87878012d4dee40066ff688001600c227..."} 
[2026-09-05 09:13:04] local.INFO: Packet analysis {"connection_id":171368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa8"} 
[2026-09-05 09:13:04] local.INFO: Extracted packet for processing {"connection_id":171368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa8"} 
[2026-09-05 09:13:04] local.INFO: GPS Element Parsed {"raw_longitude":760081984,"raw_latitude":108000904,"longitude_deg":76.0081984,"latitude_deg":10.8000904,"altitude":22,"angle":194,"satellites":39,"speed":41,"hex_longitude":"2d4dee40","hex_latitude":"066ff688","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876402688001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399314705920819200,"note":"Value kept but may cause issues"} 
[2026-09-05 09:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5617044294144399360,"note":"Value kept but may cause issues"} 
[2026-09-05 09:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788579707000,"timestamp_ms":1788579707000,"timestamp_seconds":1788579707,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa87878"} 
[2026-09-05 09:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:13: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-09-05 09:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 09:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:13: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-09-05 09:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876402688001,"66":27919,"11":206,"80":60160,"24":41,"16":399314705920819200,"45":5617044294144399360},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-09-05 09:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876402688001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:13:04] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 09:13:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-05 09:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399314705920819200,"km_value":399314705920819.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5617044294144399360,"description":"Unknown IO ID 45"} 
[2026-09-05 09:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876402688001,"power":27919,"unknown_11":206,"unknown_80":60160,"ignition":41,"odometer":null,"unknown_45":5617044294144399360}} 
[2026-09-05 09:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":171368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:13:04] local.INFO: GPS data processed {"connection_id":171368,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:13:04] local.INFO: Acknowledgment sent {"connection_id":171368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:13:30] local.INFO: TCP Data received {"connection_id":171661,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:13:30] local.INFO: Processing buffer {"connection_id":171661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:13:30] local.INFO: IMEI packet received {"connection_id":171661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":171661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:13:35] local.INFO: TCP Data received {"connection_id":171368,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa9b4e0012d4dfd80066e8cd8001500b729..."} 
[2026-09-05 09:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa9b4e0012d4dfd80066e8cd8001500b729..."} 
[2026-09-05 09:13:35] local.INFO: Processing buffer {"connection_id":171368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa9b4e0012d4dfd80066e8cd8001500b729..."} 
[2026-09-05 09:13:35] local.INFO: Packet analysis {"connection_id":171368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa9"} 
[2026-09-05 09:13:35] local.INFO: Extracted packet for processing {"connection_id":171368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa9"} 
[2026-09-05 09:13:35] local.INFO: GPS Element Parsed {"raw_longitude":760085888,"raw_latitude":107908312,"longitude_deg":76.0085888,"latitude_deg":10.7908312,"altitude":21,"angle":183,"satellites":41,"speed":42,"hex_longitude":"2d4dfd80","hex_latitude":"066e8cd8","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876424960001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399319529169092608,"note":"Value kept but may cause issues"} 
[2026-09-05 09:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5619718306397765632,"note":"Value kept but may cause issues"} 
[2026-09-05 09:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788579788000,"timestamp_ms":1788579788000,"timestamp_seconds":1788579788,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa9b4e0"} 
[2026-09-05 09:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:13:35] 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-09-05 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 09:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876424960001,"66":27887,"223":206,"80":60160,"24":42,"16":399319529169092608,"45":5619718306397765632},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-09-05 09:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876424960001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:13:35] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-09-05 09:13:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-05 09:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399319529169092608,"km_value":399319529169092.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5619718306397765632,"description":"Unknown IO ID 45"} 
[2026-09-05 09:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876424960001,"power":27887,"unknown_223":206,"unknown_80":60160,"ignition":42,"odometer":null,"unknown_45":5619718306397765632}} 
[2026-09-05 09:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":171368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:13:35] local.INFO: GPS data processed {"connection_id":171368,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:13:35] local.INFO: Acknowledgment sent {"connection_id":171368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:13:35] local.INFO: TCP Data received {"connection_id":171661,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:13:36] local.INFO: Processing buffer {"connection_id":171661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:13:36] local.INFO: IMEI packet received {"connection_id":171661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":171661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:13:36] local.INFO: TCP Data received {"connection_id":171661,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa9cc50012d7d350005ec0b400000009823..."} 
[2026-09-05 09:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa9cc50012d7d350005ec0b400000009823..."} 
[2026-09-05 09:13:36] local.INFO: Processing buffer {"connection_id":171661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa9cc50012d7d350005ec0b400000009823..."} 
[2026-09-05 09:13:36] local.INFO: Packet analysis {"connection_id":171661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa9"} 
[2026-09-05 09:13:36] local.INFO: Extracted packet for processing {"connection_id":171661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa9"} 
[2026-09-05 09:13:36] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":0,"angle":152,"satellites":35,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876363008001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928918364160,"note":"Value kept but may cause issues"} 
[2026-09-05 09:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788579794000,"timestamp_ms":1788579794000,"timestamp_seconds":1788579794,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa9cc50"} 
[2026-09-05 09:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09: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-09-05 09: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":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-05 09:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876363008001,"66":2525,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022398928918364160},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876363008001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:13:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:13:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928918364160,"description":"Unknown IO ID 45"} 
[2026-09-05 09:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876363008001,"power":2525,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022398928918364160}} 
[2026-09-05 09:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":171661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767656,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:13:36] local.INFO: GPS data processed {"connection_id":171661,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:13:36] local.INFO: Acknowledgment sent {"connection_id":171661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:13:41] local.INFO: TCP Data received {"connection_id":171661,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa9cc50012d7d350005ec0b400000009823..."} 
[2026-09-05 09:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa9cc50012d7d350005ec0b400000009823..."} 
[2026-09-05 09:13:41] local.INFO: Processing buffer {"connection_id":171661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa9cc50012d7d350005ec0b400000009823..."} 
[2026-09-05 09:13:41] local.INFO: Packet analysis {"connection_id":171661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa9"} 
[2026-09-05 09:13:41] local.INFO: Extracted packet for processing {"connection_id":171661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa9"} 
[2026-09-05 09:13:41] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":0,"angle":152,"satellites":35,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876363008001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928918364160,"note":"Value kept but may cause issues"} 
[2026-09-05 09:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788579794000,"timestamp_ms":1788579794000,"timestamp_seconds":1788579794,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa9cc50"} 
[2026-09-05 09:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 09: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":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-05 09:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":171661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":171661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":171661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876363008001,"66":2525,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022398928918364160},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876363008001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:13:41] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:13:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928918364160,"description":"Unknown IO ID 45"} 
[2026-09-05 09:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876363008001,"power":2525,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022398928918364160}} 
[2026-09-05 09:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":171661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767657,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:13:41] local.INFO: GPS data processed {"connection_id":171661,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:13:41] local.INFO: Acknowledgment sent {"connection_id":171661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:13:56] local.INFO: TCP Data received {"connection_id":174072,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:13:56] local.INFO: Processing buffer {"connection_id":174072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:13:56] local.INFO: IMEI packet received {"connection_id":174072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":174072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:14:00] local.INFO: TCP Data received {"connection_id":174072,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:14:00] local.INFO: Processing buffer {"connection_id":174072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:14:00] local.INFO: IMEI packet received {"connection_id":174072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":174072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:14:02] local.INFO: TCP Data received {"connection_id":174072,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:14:02] local.INFO: Processing buffer {"connection_id":174072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:14:02] local.INFO: IMEI packet received {"connection_id":174072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":174072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:14:04] local.INFO: TCP Data received {"connection_id":174072,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa9d420012d4df900066e6a20001600bf28..."} 
[2026-09-05 09:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa9d420012d4df900066e6a20001600bf28..."} 
[2026-09-05 09:14:04] local.INFO: Processing buffer {"connection_id":174072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa9d420012d4df900066e6a20001600bf28..."} 
[2026-09-05 09:14:04] local.INFO: Packet analysis {"connection_id":174072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa9"} 
[2026-09-05 09:14:04] local.INFO: Extracted packet for processing {"connection_id":174072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa9"} 
[2026-09-05 09:14:04] local.INFO: GPS Element Parsed {"raw_longitude":760084736,"raw_latitude":107899424,"longitude_deg":76.0084736,"latitude_deg":10.7899424,"altitude":22,"angle":191,"satellites":40,"speed":45,"hex_longitude":"2d4df900","hex_latitude":"066e6a20","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876425728001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399319962960789504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5619788675141130240,"note":"Value kept but may cause issues"} 
[2026-09-05 09:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788579796000,"timestamp_ms":1788579796000,"timestamp_seconds":1788579796,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa9d420"} 
[2026-09-05 09:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:14: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-09-05 09: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-05 09:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09: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-09-05 09:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876425728001,"66":27887,"223":206,"80":60160,"24":45,"16":399319962960789504,"45":5619788675141130240},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-09-05 09:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876425728001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:14:04] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-09-05 09:14:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-05 09:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399319962960789504,"km_value":399319962960789.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5619788675141130240,"description":"Unknown IO ID 45"} 
[2026-09-05 09:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876425728001,"power":27887,"unknown_223":206,"unknown_80":60160,"ignition":45,"odometer":null,"unknown_45":5619788675141130240}} 
[2026-09-05 09:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":174072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:14:04] local.INFO: GPS data processed {"connection_id":174072,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:14:04] local.INFO: Acknowledgment sent {"connection_id":174072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:14:25] local.INFO: TCP Data received {"connection_id":171370,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:14:25] local.INFO: Processing buffer {"connection_id":171370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:14:25] local.INFO: IMEI packet received {"connection_id":171370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":171370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:14:30] local.INFO: TCP Data received {"connection_id":171370,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:14:30] local.INFO: Processing buffer {"connection_id":171370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:14:30] local.INFO: IMEI packet received {"connection_id":171370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":171370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:14:31] local.INFO: TCP Data received {"connection_id":171370,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa9cc50012d7d350005ec0b400000009823..."} 
[2026-09-05 09:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa9cc50012d7d350005ec0b400000009823..."} 
[2026-09-05 09:14:31] local.INFO: Processing buffer {"connection_id":171370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa9cc50012d7d350005ec0b400000009823..."} 
[2026-09-05 09:14:31] local.INFO: Packet analysis {"connection_id":171370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa9"} 
[2026-09-05 09:14:31] local.INFO: Extracted packet for processing {"connection_id":171370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa9"} 
[2026-09-05 09:14:31] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":0,"angle":152,"satellites":35,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876363008001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928918364160,"note":"Value kept but may cause issues"} 
[2026-09-05 09:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788579794000,"timestamp_ms":1788579794000,"timestamp_seconds":1788579794,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa9cc50"} 
[2026-09-05 09:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 09:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-05 09:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:14:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876363008001,"66":2525,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022398928918364160},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876363008001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:14:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:14:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928918364160,"description":"Unknown IO ID 45"} 
[2026-09-05 09:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876363008001,"power":2525,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022398928918364160}} 
[2026-09-05 09:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":171370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767659,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:14:31] local.INFO: GPS data processed {"connection_id":171370,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:14:31] local.INFO: Acknowledgment sent {"connection_id":171370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:14:37] local.INFO: TCP Data received {"connection_id":174072,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa9f360012d4df1c0066e4800001800bd2b..."} 
[2026-09-05 09:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa9f360012d4df1c0066e4800001800bd2b..."} 
[2026-09-05 09:14:37] local.INFO: Processing buffer {"connection_id":174072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa9f360012d4df1c0066e4800001800bd2b..."} 
[2026-09-05 09:14:37] local.INFO: Packet analysis {"connection_id":174072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa9"} 
[2026-09-05 09:14:37] local.INFO: Extracted packet for processing {"connection_id":174072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa9"} 
[2026-09-05 09:14:37] local.INFO: GPS Element Parsed {"raw_longitude":760082880,"raw_latitude":107890688,"longitude_deg":76.008288,"latitude_deg":10.7890688,"altitude":24,"angle":189,"satellites":43,"speed":43,"hex_longitude":"2d4df1c0","hex_latitude":"066e4800","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876427776001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399320396752486400,"note":"Value kept but may cause issues"} 
[2026-09-05 09:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5618522037743656960,"note":"Value kept but may cause issues"} 
[2026-09-05 09:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788579804000,"timestamp_ms":1788579804000,"timestamp_seconds":1788579804,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa9f360"} 
[2026-09-05 09:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-05 09:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:14: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-09-05 09:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876427776001,"66":27691,"223":206,"80":60160,"24":43,"16":399320396752486400,"45":5618522037743656960},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-09-05 09:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876427776001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:14:37] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-09-05 09:14:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-05 09:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399320396752486400,"km_value":399320396752486.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5618522037743656960,"description":"Unknown IO ID 45"} 
[2026-09-05 09:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876427776001,"power":27691,"unknown_223":206,"unknown_80":60160,"ignition":43,"odometer":null,"unknown_45":5618522037743656960}} 
[2026-09-05 09:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":174072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:14:37] local.INFO: GPS data processed {"connection_id":174072,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:14:37] local.INFO: Acknowledgment sent {"connection_id":174072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:14:56] local.INFO: TCP Data received {"connection_id":172776,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:14:56] local.INFO: Processing buffer {"connection_id":172776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:14:56] local.INFO: IMEI packet received {"connection_id":172776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":172776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:14:57] local.INFO: TCP Data received {"connection_id":172776,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:14:57] local.INFO: Processing buffer {"connection_id":172776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:14:57] local.INFO: IMEI packet received {"connection_id":172776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":172776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:15:01] local.INFO: TCP Data received {"connection_id":172776,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:15:01] local.INFO: Processing buffer {"connection_id":172776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:15:01] local.INFO: IMEI packet received {"connection_id":172776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":172776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:15:02] local.INFO: TCP Data received {"connection_id":172776,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06faa12a0012d4def80066e2b98001a00b029..."} 
[2026-09-05 09:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06faa12a0012d4def80066e2b98001a00b029..."} 
[2026-09-05 09:15:02] local.INFO: Processing buffer {"connection_id":172776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06faa12a0012d4def80066e2b98001a00b029..."} 
[2026-09-05 09:15:02] local.INFO: Packet analysis {"connection_id":172776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06faa"} 
[2026-09-05 09:15:02] local.INFO: Extracted packet for processing {"connection_id":172776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06faa"} 
[2026-09-05 09:15:02] local.INFO: GPS Element Parsed {"raw_longitude":760082304,"raw_latitude":107883416,"longitude_deg":76.0082304,"latitude_deg":10.7883416,"altitude":26,"angle":176,"satellites":41,"speed":31,"hex_longitude":"2d4def80","hex_latitude":"066e2b98","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876429824001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399320753234771968,"note":"Value kept but may cause issues"} 
[2026-09-05 09:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5616481344160268288,"note":"Value kept but may cause issues"} 
[2026-09-05 09:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788579812000,"timestamp_ms":1788579812000,"timestamp_seconds":1788579812,"priority":1,"record_length":96,"hex_timestamp":"000001a06faa12a0"} 
[2026-09-05 09:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:15: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-09-05 09:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-05 09:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09: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-09-05 09:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876429824001,"66":27908,"223":206,"80":60160,"24":31,"16":399320753234771968,"45":5616481344160268288},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-09-05 09:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876429824001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:15:02] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-09-05 09:15:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-05 09:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399320753234771968,"km_value":399320753234771.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5616481344160268288,"description":"Unknown IO ID 45"} 
[2026-09-05 09:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876429824001,"power":27908,"unknown_223":206,"unknown_80":60160,"ignition":31,"odometer":null,"unknown_45":5616481344160268288}} 
[2026-09-05 09:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":172776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:15:02] local.INFO: GPS data processed {"connection_id":172776,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:15:02] local.INFO: Acknowledgment sent {"connection_id":172776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:15:03] local.INFO: TCP Data received {"connection_id":171370,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa9cc50012d7d350005ec0b400000009823..."} 
[2026-09-05 09:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa9cc50012d7d350005ec0b400000009823..."} 
[2026-09-05 09:15:03] local.INFO: Processing buffer {"connection_id":171370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa9cc50012d7d350005ec0b400000009823..."} 
[2026-09-05 09:15:03] local.INFO: Packet analysis {"connection_id":171370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa9"} 
[2026-09-05 09:15:03] local.INFO: Extracted packet for processing {"connection_id":171370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa9"} 
[2026-09-05 09:15:03] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":0,"angle":152,"satellites":35,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876363008001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928918364160,"note":"Value kept but may cause issues"} 
[2026-09-05 09:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788579794000,"timestamp_ms":1788579794000,"timestamp_seconds":1788579794,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa9cc50"} 
[2026-09-05 09:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 09: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":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-05 09:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876363008001,"66":2525,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022398928918364160},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876363008001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:15:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:15:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928918364160,"description":"Unknown IO ID 45"} 
[2026-09-05 09:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876363008001,"power":2525,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022398928918364160}} 
[2026-09-05 09:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":171370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767662,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:15:03] local.INFO: GPS data processed {"connection_id":171370,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:15:03] local.INFO: Acknowledgment sent {"connection_id":171370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:15:25] local.INFO: TCP Data received {"connection_id":171663,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:15:25] local.INFO: Processing buffer {"connection_id":171663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:15:25] local.INFO: IMEI packet received {"connection_id":171663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":171663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:15:30] local.INFO: TCP Data received {"connection_id":171663,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:15:30] local.INFO: Processing buffer {"connection_id":171663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:15:30] local.INFO: IMEI packet received {"connection_id":171663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":171663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:15:32] local.INFO: TCP Data received {"connection_id":171663,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa9cc50012d7d350005ec0b400000009823..."} 
[2026-09-05 09:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa9cc50012d7d350005ec0b400000009823..."} 
[2026-09-05 09:15:32] local.INFO: Processing buffer {"connection_id":171663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa9cc50012d7d350005ec0b400000009823..."} 
[2026-09-05 09:15:32] local.INFO: Packet analysis {"connection_id":171663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa9"} 
[2026-09-05 09:15:32] local.INFO: Extracted packet for processing {"connection_id":171663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa9"} 
[2026-09-05 09:15:32] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":0,"angle":152,"satellites":35,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876363008001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928918364160,"note":"Value kept but may cause issues"} 
[2026-09-05 09:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788579794000,"timestamp_ms":1788579794000,"timestamp_seconds":1788579794,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa9cc50"} 
[2026-09-05 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-09-05 09:15: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-09-05 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":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-05 09:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 09:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876363008001,"66":2525,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022398928918364160},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876363008001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:15:32] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:15:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928918364160,"description":"Unknown IO ID 45"} 
[2026-09-05 09:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876363008001,"power":2525,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022398928918364160}} 
[2026-09-05 09:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":171663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767663,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:15:32] local.INFO: GPS data processed {"connection_id":171663,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:15:32] local.INFO: Acknowledgment sent {"connection_id":171663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:15:34] local.INFO: TCP Data received {"connection_id":172776,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06faa35c8012d4df440066e1068001b00a529..."} 
[2026-09-05 09:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06faa35c8012d4df440066e1068001b00a529..."} 
[2026-09-05 09:15:34] local.INFO: Processing buffer {"connection_id":172776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06faa35c8012d4df440066e1068001b00a529..."} 
[2026-09-05 09:15:34] local.INFO: Packet analysis {"connection_id":172776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06faa"} 
[2026-09-05 09:15:34] local.INFO: Extracted packet for processing {"connection_id":172776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06faa"} 
[2026-09-05 09:15:34] local.INFO: GPS Element Parsed {"raw_longitude":760083520,"raw_latitude":107876456,"longitude_deg":76.008352,"latitude_deg":10.7876456,"altitude":27,"angle":165,"satellites":41,"speed":32,"hex_longitude":"2d4df440","hex_latitude":"066e1068","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876431872001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399321096832155648,"note":"Value kept but may cause issues"} 
[2026-09-05 09:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5615848025460807680,"note":"Value kept but may cause issues"} 
[2026-09-05 09:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788579821000,"timestamp_ms":1788579821000,"timestamp_seconds":1788579821,"priority":1,"record_length":96,"hex_timestamp":"000001a06faa35c8"} 
[2026-09-05 09:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 09:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876431872001,"66":27865,"223":206,"80":60160,"24":32,"16":399321096832155648,"45":5615848025460807680},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-09-05 09:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876431872001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:15:34] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-09-05 09:15:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-05 09:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399321096832155648,"km_value":399321096832155.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5615848025460807680,"description":"Unknown IO ID 45"} 
[2026-09-05 09:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876431872001,"power":27865,"unknown_223":206,"unknown_80":60160,"ignition":32,"odometer":null,"unknown_45":5615848025460807680}} 
[2026-09-05 09:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":172776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:15:34] local.INFO: GPS data processed {"connection_id":172776,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:15:34] local.INFO: Acknowledgment sent {"connection_id":172776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:15:58] local.INFO: TCP Data received {"connection_id":172777,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:15:58] local.INFO: Processing buffer {"connection_id":172777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:15:58] local.INFO: IMEI packet received {"connection_id":172777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":172777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:16:02] local.INFO: TCP Data received {"connection_id":172777,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:16:02] local.INFO: Processing buffer {"connection_id":172777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:16:02] local.INFO: IMEI packet received {"connection_id":172777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":172777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:16:03] local.INFO: TCP Data received {"connection_id":171663,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa9cc50012d7d350005ec0b400000009823..."} 
[2026-09-05 09:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa9cc50012d7d350005ec0b400000009823..."} 
[2026-09-05 09:16:03] local.INFO: Processing buffer {"connection_id":171663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa9cc50012d7d350005ec0b400000009823..."} 
[2026-09-05 09:16:03] local.INFO: Packet analysis {"connection_id":171663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa9"} 
[2026-09-05 09:16:03] local.INFO: Extracted packet for processing {"connection_id":171663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa9"} 
[2026-09-05 09:16:03] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":0,"angle":152,"satellites":35,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876363008001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928918364160,"note":"Value kept but may cause issues"} 
[2026-09-05 09:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788579794000,"timestamp_ms":1788579794000,"timestamp_seconds":1788579794,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa9cc50"} 
[2026-09-05 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-09-05 09:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-05 09:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 09:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876363008001,"66":2525,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022398928918364160},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876363008001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:16:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:16:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928918364160,"description":"Unknown IO ID 45"} 
[2026-09-05 09:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876363008001,"power":2525,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022398928918364160}} 
[2026-09-05 09:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":171663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767665,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:16:03] local.INFO: GPS data processed {"connection_id":171663,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:16:03] local.INFO: Acknowledgment sent {"connection_id":171663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:16:06] local.INFO: TCP Data received {"connection_id":174074,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 09:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 09:16:06] local.INFO: Processing buffer {"connection_id":174074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 09:16:06] local.INFO: IMEI packet received {"connection_id":174074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 09:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":174074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:16:07] local.INFO: TCP Data received {"connection_id":172777,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:16:07] local.INFO: Processing buffer {"connection_id":172777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:16:07] local.INFO: IMEI packet received {"connection_id":172777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":172777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:16:08] local.INFO: TCP Data received {"connection_id":172777,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06fabcff0012d4dfd00066cfd10002600962a..."} 
[2026-09-05 09:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fabcff0012d4dfd00066cfd10002600962a..."} 
[2026-09-05 09:16:08] local.INFO: Processing buffer {"connection_id":172777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fabcff0012d4dfd00066cfd10002600962a..."} 
[2026-09-05 09:16:08] local.INFO: Packet analysis {"connection_id":172777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fab"} 
[2026-09-05 09:16:08] local.INFO: Extracted packet for processing {"connection_id":172777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fab"} 
[2026-09-05 09:16:08] local.INFO: GPS Element Parsed {"raw_longitude":760085760,"raw_latitude":107805968,"longitude_deg":76.008576,"latitude_deg":10.7805968,"altitude":38,"angle":150,"satellites":42,"speed":27,"hex_longitude":"2d4dfd00","hex_latitude":"066cfd10","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876456192001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399324700309716992,"note":"Value kept but may cause issues"} 
[2026-09-05 09:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5614862863024568320,"note":"Value kept but may cause issues"} 
[2026-09-05 09:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788579926000,"timestamp_ms":1788579926000,"timestamp_seconds":1788579926,"priority":1,"record_length":96,"hex_timestamp":"000001a06fabcff0"} 
[2026-09-05 09:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:16: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-09-05 09: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 09:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:16: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-09-05 09:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876456192001,"66":27843,"48":206,"80":60160,"24":27,"16":399324700309716992,"45":5614862863024568320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,80,24,16,45]} 
[2026-09-05 09:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876456192001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:16:08] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-05 09:16:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-05 09:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399324700309716992,"km_value":399324700309717.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5614862863024568320,"description":"Unknown IO ID 45"} 
[2026-09-05 09:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876456192001,"power":27843,"unknown_48":206,"unknown_80":60160,"ignition":27,"odometer":null,"unknown_45":5614862863024568320}} 
[2026-09-05 09:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":172777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:16:08] local.INFO: GPS data processed {"connection_id":172777,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:16:08] local.INFO: Acknowledgment sent {"connection_id":172777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:16:25] local.INFO: TCP Data received {"connection_id":174075,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:16:25] local.INFO: Processing buffer {"connection_id":174075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:16:25] local.INFO: IMEI packet received {"connection_id":174075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":174075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:16:30] local.INFO: TCP Data received {"connection_id":174075,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:16:30] local.INFO: Processing buffer {"connection_id":174075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:16:30] local.INFO: IMEI packet received {"connection_id":174075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":174075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:16:32] local.INFO: TCP Data received {"connection_id":174075,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa9cc50012d7d350005ec0b400000009823..."} 
[2026-09-05 09:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa9cc50012d7d350005ec0b400000009823..."} 
[2026-09-05 09:16:32] local.INFO: Processing buffer {"connection_id":174075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa9cc50012d7d350005ec0b400000009823..."} 
[2026-09-05 09:16:32] local.INFO: Packet analysis {"connection_id":174075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa9"} 
[2026-09-05 09:16:32] local.INFO: Extracted packet for processing {"connection_id":174075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa9"} 
[2026-09-05 09:16:32] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":0,"angle":152,"satellites":35,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876363008001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928918364160,"note":"Value kept but may cause issues"} 
[2026-09-05 09:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788579794000,"timestamp_ms":1788579794000,"timestamp_seconds":1788579794,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa9cc50"} 
[2026-09-05 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-09-05 09: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-09-05 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":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-05 09:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 09:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876363008001,"66":2525,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022398928918364160},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876363008001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:16:32] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:16:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928918364160,"description":"Unknown IO ID 45"} 
[2026-09-05 09:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876363008001,"power":2525,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022398928918364160}} 
[2026-09-05 09:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":174075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767667,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:16:32] local.INFO: GPS data processed {"connection_id":174075,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:16:32] local.INFO: Acknowledgment sent {"connection_id":174075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:16:39] local.INFO: TCP Data received {"connection_id":172777,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06fabf700012d4e0f80066cde90002300972b..."} 
[2026-09-05 09:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fabf700012d4e0f80066cde90002300972b..."} 
[2026-09-05 09:16:39] local.INFO: Processing buffer {"connection_id":172777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fabf700012d4e0f80066cde90002300972b..."} 
[2026-09-05 09:16:39] local.INFO: Packet analysis {"connection_id":172777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fab"} 
[2026-09-05 09:16:39] local.INFO: Extracted packet for processing {"connection_id":172777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fab"} 
[2026-09-05 09:16:39] local.INFO: GPS Element Parsed {"raw_longitude":760090496,"raw_latitude":107798160,"longitude_deg":76.0090496,"latitude_deg":10.779816,"altitude":35,"angle":151,"satellites":43,"speed":43,"hex_longitude":"2d4e0f80","hex_latitude":"066cde90","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876461056001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399325138396381184,"note":"Value kept but may cause issues"} 
[2026-09-05 09:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5619647937626574848,"note":"Value kept but may cause issues"} 
[2026-09-05 09:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788579936000,"timestamp_ms":1788579936000,"timestamp_seconds":1788579936,"priority":1,"record_length":96,"hex_timestamp":"000001a06fabf700"} 
[2026-09-05 09:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:16:39] 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-09-05 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 09:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876461056001,"66":27919,"48":206,"80":60160,"24":43,"16":399325138396381184,"45":5619647937626574848},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,80,24,16,45]} 
[2026-09-05 09:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876461056001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:16:39] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-05 09:16:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-05 09:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399325138396381184,"km_value":399325138396381.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":5619647937626574848,"description":"Unknown IO ID 45"} 
[2026-09-05 09:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876461056001,"power":27919,"unknown_48":206,"unknown_80":60160,"ignition":43,"odometer":null,"unknown_45":5619647937626574848}} 
[2026-09-05 09:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":172777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:16:39] local.INFO: GPS data processed {"connection_id":172777,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:16:39] local.INFO: Acknowledgment sent {"connection_id":172777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:16:54] local.INFO: TCP Data received {"connection_id":172778,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:16:54] local.INFO: Processing buffer {"connection_id":172778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:16:54] local.INFO: IMEI packet received {"connection_id":172778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":172778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:16:57] local.INFO: TCP Data received {"connection_id":172778,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:16:57] local.INFO: Processing buffer {"connection_id":172778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:16:57] local.INFO: IMEI packet received {"connection_id":172778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":172778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:16:58] local.INFO: TCP Data received {"connection_id":172778,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:16:58] local.INFO: Processing buffer {"connection_id":172778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:16:58] local.INFO: IMEI packet received {"connection_id":172778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":172778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:17:01] local.INFO: TCP Data received {"connection_id":172778,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:17:01] local.INFO: Processing buffer {"connection_id":172778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:17:01] local.INFO: IMEI packet received {"connection_id":172778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":172778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:17:02] local.INFO: TCP Data received {"connection_id":172778,"ip":"42.106.6.16","data_length":1348,"data_hex":"000000000000030f8e0a000001a06fac1a28012d4e2080066cbdc80022009b2a..."} 
[2026-09-05 09:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172778,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a06fac1a28012d4e2080066cbdc80022009b2a..."} 
[2026-09-05 09:17:02] local.INFO: Processing buffer {"connection_id":172778,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a06fac1a28012d4e2080066cbdc80022009b2a..."} 
[2026-09-05 09:17:02] local.INFO: Packet analysis {"connection_id":172778,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a06fac"} 
[2026-09-05 09:17:02] local.INFO: Extracted packet for processing {"connection_id":172778,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a06fac"} 
[2026-09-05 09:17:02] local.INFO: GPS Element Parsed {"raw_longitude":760094848,"raw_latitude":107789768,"longitude_deg":76.0094848,"latitude_deg":10.7789768,"altitude":34,"angle":155,"satellites":42,"speed":35,"hex_longitude":"2d4e2080","hex_latitude":"066cbdc8","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876463616001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399325597957881856,"note":"Value kept but may cause issues"} 
[2026-09-05 09:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5624855224693723136,"note":"Value kept but may cause issues"} 
[2026-09-05 09:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788579945000,"timestamp_ms":1788579945000,"timestamp_seconds":1788579945,"priority":1,"record_length":96,"hex_timestamp":"000001a06fac1a28"} 
[2026-09-05 09:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:17: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-09-05 09:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 09:17: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-09-05 09: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-09-05 09:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:17: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-09-05 09:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876463616001,"66":27919,"48":206,"80":60160,"24":35,"16":399325597957881856,"45":5624855224693723136},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,80,24,16,45]} 
[2026-09-05 09:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876463616001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:17:02] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-05 09:17:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-05 09:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399325597957881856,"km_value":399325597957881.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5624855224693723136,"description":"Unknown IO ID 45"} 
[2026-09-05 09:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876463616001,"power":27919,"unknown_48":206,"unknown_80":60160,"ignition":35,"odometer":null,"unknown_45":5624855224693723136}} 
[2026-09-05 09:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":172778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:17:02] local.INFO: GPS data processed {"connection_id":172778,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:17:02] local.INFO: Acknowledgment sent {"connection_id":172778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:17:02] local.INFO: Packet analysis {"connection_id":172778,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a06fac"} 
[2026-09-05 09:17:02] local.INFO: Incomplete packet, waiting for more data {"connection_id":172778,"needed":795,"available":553} 
[2026-09-05 09:17:03] local.INFO: TCP Data received {"connection_id":174075,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa9cc50012d7d350005ec0b400000009823..."} 
[2026-09-05 09:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa9cc50012d7d350005ec0b400000009823..."} 
[2026-09-05 09:17:03] local.INFO: Processing buffer {"connection_id":174075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa9cc50012d7d350005ec0b400000009823..."} 
[2026-09-05 09:17:03] local.INFO: Packet analysis {"connection_id":174075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa9"} 
[2026-09-05 09:17:03] local.INFO: Extracted packet for processing {"connection_id":174075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa9"} 
[2026-09-05 09:17:03] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":0,"angle":152,"satellites":35,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876363008001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928918364160,"note":"Value kept but may cause issues"} 
[2026-09-05 09:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788579794000,"timestamp_ms":1788579794000,"timestamp_seconds":1788579794,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa9cc50"} 
[2026-09-05 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-09-05 09: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-09-05 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":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-05 09:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 09:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876363008001,"66":2525,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022398928918364160},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876363008001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:17:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:17:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928918364160,"description":"Unknown IO ID 45"} 
[2026-09-05 09:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876363008001,"power":2525,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022398928918364160}} 
[2026-09-05 09:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":174075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767670,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:17:03] local.INFO: GPS data processed {"connection_id":174075,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:17:03] local.INFO: Acknowledgment sent {"connection_id":174075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:17:03] local.INFO: TCP Data received {"connection_id":172778,"ip":"42.106.6.16","data_length":242,"data_hex":"000000000001a06fab1088012d4dda00066d7110002500b12900220000000a00..."} 
[2026-09-05 09:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172778,"packet_length":242,"packet_hex":"000000000001a06fab1088012d4dda00066d7110002500b12900220000000a00..."} 
[2026-09-05 09:17:03] local.INFO: Processing buffer {"connection_id":172778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fac4520012d4e2fc0066c9da0001f009c28..."} 
[2026-09-05 09:17:03] local.INFO: Packet analysis {"connection_id":172778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fac"} 
[2026-09-05 09:17:03] local.INFO: Extracted packet for processing {"connection_id":172778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fac"} 
[2026-09-05 09:17:03] local.INFO: GPS Element Parsed {"raw_longitude":760098752,"raw_latitude":107781536,"longitude_deg":76.0098752,"latitude_deg":10.7781536,"altitude":31,"angle":156,"satellites":40,"speed":31,"hex_longitude":"2d4e2fc0","hex_latitude":"066c9da0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876465920001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399326036044546048,"note":"Value kept but may cause issues"} 
[2026-09-05 09:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5629640299295655936,"note":"Value kept but may cause issues"} 
[2026-09-05 09:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788579956000,"timestamp_ms":1788579956000,"timestamp_seconds":1788579956,"priority":1,"record_length":96,"hex_timestamp":"000001a06fac4520"} 
[2026-09-05 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-09-05 09:17: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-09-05 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 09:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 09:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:17: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-09-05 09:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876465920001,"66":27745,"49":206,"80":60160,"24":31,"16":399326036044546048,"45":5629640299295655936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-09-05 09:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876465920001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:17:03] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-05 09:17:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-05 09:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399326036044546048,"km_value":399326036044546.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5629640299295655936,"description":"Unknown IO ID 45"} 
[2026-09-05 09:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876465920001,"power":27745,"unknown_49":206,"unknown_80":60160,"ignition":31,"odometer":null,"unknown_45":5629640299295655936}} 
[2026-09-05 09:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":172778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:17:03] local.INFO: GPS data processed {"connection_id":172778,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:17:03] local.INFO: Acknowledgment sent {"connection_id":172778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:17:07] local.INFO: TCP Data received {"connection_id":172778,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06fac77e8012d4e4200066c7cb8001700962a..."} 
[2026-09-05 09:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fac77e8012d4e4200066c7cb8001700962a..."} 
[2026-09-05 09:17:07] local.INFO: Processing buffer {"connection_id":172778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fac77e8012d4e4200066c7cb8001700962a..."} 
[2026-09-05 09:17:07] local.INFO: Packet analysis {"connection_id":172778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fac"} 
[2026-09-05 09:17:07] local.INFO: Extracted packet for processing {"connection_id":172778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fac"} 
[2026-09-05 09:17:07] local.INFO: GPS Element Parsed {"raw_longitude":760103424,"raw_latitude":107773112,"longitude_deg":76.0103424,"latitude_deg":10.7773112,"altitude":23,"angle":150,"satellites":42,"speed":32,"hex_longitude":"2d4e4200","hex_latitude":"066c7cb8","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876468736001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399326504195981312,"note":"Value kept but may cause issues"} 
[2026-09-05 09:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5633932792688386048,"note":"Value kept but may cause issues"} 
[2026-09-05 09:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788579969000,"timestamp_ms":1788579969000,"timestamp_seconds":1788579969,"priority":1,"record_length":96,"hex_timestamp":"000001a06fac77e8"} 
[2026-09-05 09:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:17: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-09-05 09: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 09:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876468736001,"66":27865,"49":206,"80":60160,"24":32,"16":399326504195981312,"45":5633932792688386048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-09-05 09:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876468736001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:17:07] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-05 09:17:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-05 09:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399326504195981312,"km_value":399326504195981.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5633932792688386048,"description":"Unknown IO ID 45"} 
[2026-09-05 09:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876468736001,"power":27865,"unknown_49":206,"unknown_80":60160,"ignition":32,"odometer":null,"unknown_45":5633932792688386048}} 
[2026-09-05 09:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":172778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:17:07] local.INFO: GPS data processed {"connection_id":172778,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:17:07] local.INFO: Acknowledgment sent {"connection_id":172778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:17:20] local.INFO: TCP Data received {"connection_id":171372,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171372,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:17:20] local.INFO: Processing buffer {"connection_id":171372,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:17:20] local.INFO: IMEI packet received {"connection_id":171372,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":171372,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:17:21] local.INFO: TCP Data received {"connection_id":171372,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fac2db0012d0aa4400704f1b80017005b1d..."} 
[2026-09-05 09:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fac2db0012d0aa4400704f1b80017005b1d..."} 
[2026-09-05 09:17:21] local.INFO: Processing buffer {"connection_id":171372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fac2db0012d0aa4400704f1b80017005b1d..."} 
[2026-09-05 09:17:21] local.INFO: Packet analysis {"connection_id":171372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fac"} 
[2026-09-05 09:17:21] local.INFO: Extracted packet for processing {"connection_id":171372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fac"} 
[2026-09-05 09:17:21] local.INFO: GPS Element Parsed {"raw_longitude":755672128,"raw_latitude":117764536,"longitude_deg":75.5672128,"latitude_deg":11.7764536,"altitude":23,"angle":91,"satellites":29,"speed":27,"hex_longitude":"2d0aa440","hex_latitude":"0704f1b8","is_valid_coordinates":true} 
[2026-09-05 09:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876466944001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30295385045991424,"note":"Value kept but may cause issues"} 
[2026-09-05 09:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":765963810521612288,"note":"Value kept but may cause issues"} 
[2026-09-05 09:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788579950000,"timestamp_ms":1788579950000,"timestamp_seconds":1788579950,"priority":1,"record_length":96,"hex_timestamp":"000001a06fac2db0"} 
[2026-09-05 09:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-05 09:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876466944001,"66":14428,"177":206,"94":10240,"24":27,"16":30295385045991424,"45":765963810521612288},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-05 09:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876466944001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:17:21] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-05 09:17:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30295385045991424,"km_value":30295385045991.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":765963810521612288,"description":"Unknown IO ID 45"} 
[2026-09-05 09:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876466944001,"power":14428,"unknown_177":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":765963810521612288}} 
[2026-09-05 09:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":171372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767673,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:17:21] local.INFO: GPS data processed {"connection_id":171372,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:17:21] local.INFO: Acknowledgment sent {"connection_id":171372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:17:25] local.INFO: TCP Data received {"connection_id":171664,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:17:25] local.INFO: Processing buffer {"connection_id":171664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:17:25] local.INFO: IMEI packet received {"connection_id":171664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":171664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:17:30] local.INFO: TCP Data received {"connection_id":171664,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:17:30] local.INFO: Processing buffer {"connection_id":171664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:17:30] local.INFO: IMEI packet received {"connection_id":171664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":171664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:17:31] local.INFO: TCP Data received {"connection_id":171664,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa9cc50012d7d350005ec0b400000009823..."} 
[2026-09-05 09:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa9cc50012d7d350005ec0b400000009823..."} 
[2026-09-05 09:17:31] local.INFO: Processing buffer {"connection_id":171664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa9cc50012d7d350005ec0b400000009823..."} 
[2026-09-05 09:17:31] local.INFO: Packet analysis {"connection_id":171664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa9"} 
[2026-09-05 09:17:31] local.INFO: Extracted packet for processing {"connection_id":171664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa9"} 
[2026-09-05 09:17:31] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":0,"angle":152,"satellites":35,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876363008001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928918364160,"note":"Value kept but may cause issues"} 
[2026-09-05 09:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788579794000,"timestamp_ms":1788579794000,"timestamp_seconds":1788579794,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa9cc50"} 
[2026-09-05 09:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 09: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":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-05 09:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876363008001,"66":2525,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022398928918364160},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876363008001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:17:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:17:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928918364160,"description":"Unknown IO ID 45"} 
[2026-09-05 09:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876363008001,"power":2525,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022398928918364160}} 
[2026-09-05 09:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":171664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767674,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:17:31] local.INFO: GPS data processed {"connection_id":171664,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:17:31] local.INFO: Acknowledgment sent {"connection_id":171664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:17:39] local.INFO: TCP Data received {"connection_id":172778,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06fad7da0012d4eb2c0066bd6b80016006d2b..."} 
[2026-09-05 09:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fad7da0012d4eb2c0066bd6b80016006d2b..."} 
[2026-09-05 09:17:39] local.INFO: Processing buffer {"connection_id":172778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fad7da0012d4eb2c0066bd6b80016006d2b..."} 
[2026-09-05 09:17:39] local.INFO: Packet analysis {"connection_id":172778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fad"} 
[2026-09-05 09:17:39] local.INFO: Extracted packet for processing {"connection_id":172778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fad"} 
[2026-09-05 09:17:39] local.INFO: GPS Element Parsed {"raw_longitude":760132288,"raw_latitude":107730616,"longitude_deg":76.0132288,"latitude_deg":10.7730616,"altitude":22,"angle":109,"satellites":43,"speed":20,"hex_longitude":"2d4eb2c0","hex_latitude":"066bd6b8","is_valid_coordinates":true} 
[2026-09-05 09:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876485120001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399329278744854528,"note":"Value kept but may cause issues"} 
[2026-09-05 09:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5660602546719047680,"note":"Value kept but may cause issues"} 
[2026-09-05 09:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788580036000,"timestamp_ms":1788580036000,"timestamp_seconds":1788580036,"priority":1,"record_length":96,"hex_timestamp":"000001a06fad7da0"} 
[2026-09-05 09:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:17:39] 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-09-05 09:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 09:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876485120001,"66":27832,"1":206,"80":60160,"24":20,"16":399329278744854528,"45":5660602546719047680},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-09-05 09:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876485120001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:17:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-05 09:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399329278744854528,"km_value":399329278744854.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":5660602546719047680,"description":"Unknown IO ID 45"} 
[2026-09-05 09:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876485120001,"power":27832,"imei":206,"unknown_80":60160,"ignition":20,"odometer":null,"unknown_45":5660602546719047680}} 
[2026-09-05 09:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":172778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:17:39] local.INFO: GPS data processed {"connection_id":172778,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:17:39] local.INFO: Acknowledgment sent {"connection_id":172778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:17:55] local.INFO: TCP Data received {"connection_id":171665,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:17:55] local.INFO: Processing buffer {"connection_id":171665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:17:55] local.INFO: IMEI packet received {"connection_id":171665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":171665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:17:56] local.INFO: TCP Data received {"connection_id":171665,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:17:56] local.INFO: Processing buffer {"connection_id":171665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:17:56] local.INFO: IMEI packet received {"connection_id":171665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":171665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:18:02] local.INFO: TCP Data received {"connection_id":171665,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:18:02] local.INFO: Processing buffer {"connection_id":171665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:18:02] local.INFO: IMEI packet received {"connection_id":171665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":171665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:18:03] local.INFO: TCP Data received {"connection_id":171664,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fa9cc50012d7d350005ec0b400000009823..."} 
[2026-09-05 09:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fa9cc50012d7d350005ec0b400000009823..."} 
[2026-09-05 09:18:03] local.INFO: Processing buffer {"connection_id":171664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fa9cc50012d7d350005ec0b400000009823..."} 
[2026-09-05 09:18:03] local.INFO: Packet analysis {"connection_id":171664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fa9"} 
[2026-09-05 09:18:03] local.INFO: Extracted packet for processing {"connection_id":171664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fa9"} 
[2026-09-05 09:18:03] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":0,"angle":152,"satellites":35,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876363008001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928918364160,"note":"Value kept but may cause issues"} 
[2026-09-05 09:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788579794000,"timestamp_ms":1788579794000,"timestamp_seconds":1788579794,"priority":1,"record_length":96,"hex_timestamp":"000001a06fa9cc50"} 
[2026-09-05 09:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09: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-09-05 09: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":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-05 09:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876363008001,"66":2525,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022398928918364160},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876363008001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:18:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:18:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928918364160,"description":"Unknown IO ID 45"} 
[2026-09-05 09:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876363008001,"power":2525,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022398928918364160}} 
[2026-09-05 09:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":171664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767676,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:18:03] local.INFO: GPS data processed {"connection_id":171664,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:18:03] local.INFO: Acknowledgment sent {"connection_id":171664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:18:03] local.INFO: TCP Data received {"connection_id":171665,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06fad9510012d4ec000066bd0a8001700792c..."} 
[2026-09-05 09:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fad9510012d4ec000066bd0a8001700792c..."} 
[2026-09-05 09:18:03] local.INFO: Processing buffer {"connection_id":171665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fad9510012d4ec000066bd0a8001700792c..."} 
[2026-09-05 09:18:03] local.INFO: Packet analysis {"connection_id":171665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fad"} 
[2026-09-05 09:18:03] local.INFO: Extracted packet for processing {"connection_id":171665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fad"} 
[2026-09-05 09:18:03] local.INFO: GPS Element Parsed {"raw_longitude":760135680,"raw_latitude":107729064,"longitude_deg":76.013568,"latitude_deg":10.7729064,"altitude":23,"angle":121,"satellites":44,"speed":25,"hex_longitude":"2d4ec000","hex_latitude":"066bd0a8","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876489216001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399329454838513664,"note":"Value kept but may cause issues"} 
[2026-09-05 09:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5670806014624446464,"note":"Value kept but may cause issues"} 
[2026-09-05 09:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788580042000,"timestamp_ms":1788580042000,"timestamp_seconds":1788580042,"priority":1,"record_length":96,"hex_timestamp":"000001a06fad9510"} 
[2026-09-05 09:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:18: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-09-05 09:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 09:18:03] 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-09-05 09: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-09-05 09:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:18: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-09-05 09:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876489216001,"66":27843,"1":206,"80":60160,"24":25,"16":399329454838513664,"45":5670806014624446464},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-09-05 09:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876489216001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:18:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-05 09:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399329454838513664,"km_value":399329454838513.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5670806014624446464,"description":"Unknown IO ID 45"} 
[2026-09-05 09:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876489216001,"power":27843,"imei":206,"unknown_80":60160,"ignition":25,"odometer":null,"unknown_45":5670806014624446464}} 
[2026-09-05 09:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":171665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:18:03] local.INFO: GPS data processed {"connection_id":171665,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:18:03] local.INFO: Acknowledgment sent {"connection_id":171665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:18:05] local.INFO: TCP Data received {"connection_id":174076,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174076,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:18:05] local.INFO: Processing buffer {"connection_id":174076,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:18:05] local.INFO: IMEI packet received {"connection_id":174076,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":174076,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:18:06] local.INFO: TCP Data received {"connection_id":174076,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174076,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:18:06] local.INFO: Processing buffer {"connection_id":174076,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:18:06] local.INFO: IMEI packet received {"connection_id":174076,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":174076,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:18:10] local.INFO: TCP Data received {"connection_id":174076,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174076,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:18:10] local.INFO: Processing buffer {"connection_id":174076,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:18:10] local.INFO: IMEI packet received {"connection_id":174076,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":174076,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:18:10] local.INFO: TCP Data received {"connection_id":174076,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fadfe88012d0b5e800704ef88001100ab1b..."} 
[2026-09-05 09:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fadfe88012d0b5e800704ef88001100ab1b..."} 
[2026-09-05 09:18:10] local.INFO: Processing buffer {"connection_id":174076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fadfe88012d0b5e800704ef88001100ab1b..."} 
[2026-09-05 09:18:10] local.INFO: Packet analysis {"connection_id":174076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fad"} 
[2026-09-05 09:18:10] local.INFO: Extracted packet for processing {"connection_id":174076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fad"} 
[2026-09-05 09:18:10] local.INFO: GPS Element Parsed {"raw_longitude":755719808,"raw_latitude":117763976,"longitude_deg":75.5719808,"latitude_deg":11.7763976,"altitude":17,"angle":171,"satellites":27,"speed":3,"hex_longitude":"2d0b5e80","hex_latitude":"0704ef88","is_valid_coordinates":true} 
[2026-09-05 09:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876492800001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30297700033363968,"note":"Value kept but may cause issues"} 
[2026-09-05 09:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":819444056096499712,"note":"Value kept but may cause issues"} 
[2026-09-05 09:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788580069000,"timestamp_ms":1788580069000,"timestamp_seconds":1788580069,"priority":1,"record_length":96,"hex_timestamp":"000001a06fadfe88"} 
[2026-09-05 09:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-05 09:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447173376,"note":"Value kept but may cause issues"} 
[2026-09-05 09:18:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 09:18:10] local.WARNING: Large IO value detected {"io_id":163,"raw_value":2399141888,"note":"Value kept but may cause issues"} 
[2026-09-05 09:18:10] local.WARNING: Large IO value detected {"io_id":111,"raw_value":2900963329,"note":"Value kept but may cause issues"} 
[2026-09-05 09:18:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2008088782,"corrected_to":0} 
[2026-09-05 09:18:10] local.WARNING: Large IO value detected {"io_id":174,"raw_value":2550213899,"note":"Value kept but may cause issues"} 
[2026-09-05 09:18:10] local.WARNING: Large IO value detected {"io_id":107,"raw_value":2731868160,"note":"Value kept but may cause issues"} 
[2026-09-05 09:18:10] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,96,94,24,241,157,16,163,160,98,45,64,239,17,29,10,66,20,128,240,12,1,60,227,111,4,113,205,36,174,28,248,56,177,2,107,7,35],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2008088782,"validated":0}]} 
[2026-09-05 09:18:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225117748779024384,"timestamp_seconds":1225117748779024.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 09:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":174076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":174076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":174076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876492800001,"66":14537,"96":206,"94":10240,"24":3,"16":30297700033363968,"45":819444056096499712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-05 09:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876492800001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:18:10] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-05 09:18:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30297700033363968,"km_value":30297700033363.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":819444056096499712,"description":"Unknown IO ID 45"} 
[2026-09-05 09:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876492800001,"power":14537,"unknown_96":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":819444056096499712}} 
[2026-09-05 09:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":174076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767678,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:18:10] local.INFO: GPS data processed {"connection_id":174076,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:18:10] local.INFO: Acknowledgment sent {"connection_id":174076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:18:25] local.INFO: TCP Data received {"connection_id":171666,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171666,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:18:25] local.INFO: Processing buffer {"connection_id":171666,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:18:25] local.INFO: IMEI packet received {"connection_id":171666,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":171666,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:18:30] local.INFO: TCP Data received {"connection_id":171666,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171666,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:18:31] local.INFO: Processing buffer {"connection_id":171666,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:18:31] local.INFO: IMEI packet received {"connection_id":171666,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":171666,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:18:31] local.INFO: TCP Data received {"connection_id":171666,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fae6418012d7d350005ec0b400000009822..."} 
[2026-09-05 09:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fae6418012d7d350005ec0b400000009822..."} 
[2026-09-05 09:18:31] local.INFO: Processing buffer {"connection_id":171666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fae6418012d7d350005ec0b400000009822..."} 
[2026-09-05 09:18:31] local.INFO: Packet analysis {"connection_id":171666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fae"} 
[2026-09-05 09:18:31] local.INFO: Extracted packet for processing {"connection_id":171666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fae"} 
[2026-09-05 09:18:31] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":0,"angle":152,"satellites":34,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876427264001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788580095000,"timestamp_ms":1788580095000,"timestamp_seconds":1788580095,"priority":1,"record_length":96,"hex_timestamp":"000001a06fae6418"} 
[2026-09-05 09:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:18:31] 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-09-05 09:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-05 09:18:31] 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-09-05 09:18:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876427264001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876427264001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:18:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:18:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876427264001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":171666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767679,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:18:31] local.INFO: GPS data processed {"connection_id":171666,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:18:31] local.INFO: Acknowledgment sent {"connection_id":171666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:18:34] local.INFO: TCP Data received {"connection_id":171665,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06fadc008012d4edb00066bba50001900832b..."} 
[2026-09-05 09:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fadc008012d4edb00066bba50001900832b..."} 
[2026-09-05 09:18:34] local.INFO: Processing buffer {"connection_id":171665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fadc008012d4edb00066bba50001900832b..."} 
[2026-09-05 09:18:34] local.INFO: Packet analysis {"connection_id":171665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fad"} 
[2026-09-05 09:18:34] local.INFO: Extracted packet for processing {"connection_id":171665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fad"} 
[2026-09-05 09:18:34] local.INFO: GPS Element Parsed {"raw_longitude":760142592,"raw_latitude":107723344,"longitude_deg":76.0142592,"latitude_deg":10.7723344,"altitude":25,"angle":131,"satellites":43,"speed":37,"hex_longitude":"2d4edb00","hex_latitude":"066bba50","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876490752001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399329888630210560,"note":"Value kept but may cause issues"} 
[2026-09-05 09:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5674535558065465344,"note":"Value kept but may cause issues"} 
[2026-09-05 09:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788580053000,"timestamp_ms":1788580053000,"timestamp_seconds":1788580053,"priority":1,"record_length":96,"hex_timestamp":"000001a06fadc008"} 
[2026-09-05 09:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 09:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876490752001,"66":27767,"1":206,"80":60160,"24":37,"16":399329888630210560,"45":5674535558065465344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-09-05 09:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876490752001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:18:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-05 09:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399329888630210560,"km_value":399329888630210.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5674535558065465344,"description":"Unknown IO ID 45"} 
[2026-09-05 09:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876490752001,"power":27767,"imei":206,"unknown_80":60160,"ignition":37,"odometer":null,"unknown_45":5674535558065465344}} 
[2026-09-05 09:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":171665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:18:34] local.INFO: GPS data processed {"connection_id":171665,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:18:34] local.INFO: Acknowledgment sent {"connection_id":171665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:18:41] local.INFO: TCP Data received {"connection_id":174076,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06faeba08012d0bba000704bbf0001100431b..."} 
[2026-09-05 09:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06faeba08012d0bba000704bbf0001100431b..."} 
[2026-09-05 09:18:41] local.INFO: Processing buffer {"connection_id":174076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06faeba08012d0bba000704bbf0001100431b..."} 
[2026-09-05 09:18:41] local.INFO: Packet analysis {"connection_id":174076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fae"} 
[2026-09-05 09:18:41] local.INFO: Extracted packet for processing {"connection_id":174076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fae"} 
[2026-09-05 09:18:41] local.INFO: GPS Element Parsed {"raw_longitude":755743232,"raw_latitude":117750768,"longitude_deg":75.5743232,"latitude_deg":11.7750768,"altitude":17,"angle":67,"satellites":27,"speed":14,"hex_longitude":"2d0bba00","hex_latitude":"0704bbf0","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876509696001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30299302056165376,"note":"Value kept but may cause issues"} 
[2026-09-05 09:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":844565697764485120,"note":"Value kept but may cause issues"} 
[2026-09-05 09:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788580117000,"timestamp_ms":1788580117000,"timestamp_seconds":1788580117,"priority":1,"record_length":96,"hex_timestamp":"000001a06faeba08"} 
[2026-09-05 09:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:18: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-09-05 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 09:18: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-09-05 09: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-09-05 09:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":174076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":174076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":174076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876509696001,"66":14428,"96":206,"94":10240,"24":14,"16":30299302056165376,"45":844565697764485120},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-05 09:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876509696001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:18:41] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-05 09:18:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30299302056165376,"km_value":30299302056165.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":844565697764485120,"description":"Unknown IO ID 45"} 
[2026-09-05 09:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876509696001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":844565697764485120}} 
[2026-09-05 09:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":174076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767681,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:18:41] local.INFO: GPS data processed {"connection_id":174076,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:18:41] local.INFO: Acknowledgment sent {"connection_id":174076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:18:55] local.INFO: TCP Data received {"connection_id":172779,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:18:55] local.INFO: Processing buffer {"connection_id":172779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:18:55] local.INFO: IMEI packet received {"connection_id":172779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":172779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:18:56] local.INFO: TCP Data received {"connection_id":172779,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:18:56] local.INFO: Processing buffer {"connection_id":172779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:18:56] local.INFO: IMEI packet received {"connection_id":172779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":172779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:18:59] local.INFO: TCP Data received {"connection_id":172779,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:18:59] local.INFO: Processing buffer {"connection_id":172779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:18:59] local.INFO: IMEI packet received {"connection_id":172779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":172779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:19:03] local.INFO: TCP Data received {"connection_id":171666,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fae6418012d7d350005ec0b400000009822..."} 
[2026-09-05 09:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fae6418012d7d350005ec0b400000009822..."} 
[2026-09-05 09:19:03] local.INFO: Processing buffer {"connection_id":171666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fae6418012d7d350005ec0b400000009822..."} 
[2026-09-05 09:19:03] local.INFO: Packet analysis {"connection_id":171666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fae"} 
[2026-09-05 09:19:03] local.INFO: Extracted packet for processing {"connection_id":171666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fae"} 
[2026-09-05 09:19:03] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":0,"angle":152,"satellites":34,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876427264001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788580095000,"timestamp_ms":1788580095000,"timestamp_seconds":1788580095,"priority":1,"record_length":96,"hex_timestamp":"000001a06fae6418"} 
[2026-09-05 09:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:19: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-09-05 09: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":9,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-05 09:19:03] 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-09-05 09: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-09-05 09:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876427264001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876427264001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:19:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:19:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876427264001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:19:03] local.INFO: TCP Data received {"connection_id":172779,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:19:03] local.INFO: Processing buffer {"connection_id":172779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:19:03] local.INFO: IMEI packet received {"connection_id":172779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":172779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":171666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767682,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:19:03] local.INFO: GPS data processed {"connection_id":171666,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:19:03] local.INFO: Acknowledgment sent {"connection_id":171666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:19:05] local.INFO: TCP Data received {"connection_id":172779,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06faed948012d4edfc0066a6e88000d00a82c..."} 
[2026-09-05 09:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06faed948012d4edfc0066a6e88000d00a82c..."} 
[2026-09-05 09:19:05] local.INFO: Processing buffer {"connection_id":172779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06faed948012d4edfc0066a6e88000d00a82c..."} 
[2026-09-05 09:19:05] local.INFO: Packet analysis {"connection_id":172779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fae"} 
[2026-09-05 09:19:05] local.INFO: Extracted packet for processing {"connection_id":172779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fae"} 
[2026-09-05 09:19:05] local.INFO: GPS Element Parsed {"raw_longitude":760143808,"raw_latitude":107638408,"longitude_deg":76.0143808,"latitude_deg":10.7638408,"altitude":13,"angle":168,"satellites":44,"speed":60,"hex_longitude":"2d4edfc0","hex_latitude":"066a6e88","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876510464001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399334175007571968,"note":"Value kept but may cause issues"} 
[2026-09-05 09:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5682839069857472512,"note":"Value kept but may cause issues"} 
[2026-09-05 09:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788580125000,"timestamp_ms":1788580125000,"timestamp_seconds":1788580125,"priority":1,"record_length":96,"hex_timestamp":"000001a06faed948"} 
[2026-09-05 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-09-05 09:19:05] 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-09-05 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 09:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 09:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:19: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-09-05 09:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876510464001,"66":27919,"151":206,"80":60416,"24":60,"16":399334175007571968,"45":5682839069857472512},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,80,24,16,45]} 
[2026-09-05 09:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876510464001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:19:05] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-05 09:19:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399334175007571968,"km_value":399334175007571.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5682839069857472512,"description":"Unknown IO ID 45"} 
[2026-09-05 09:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876510464001,"power":27919,"unknown_151":206,"unknown_80":60416,"ignition":60,"odometer":null,"unknown_45":5682839069857472512}} 
[2026-09-05 09:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":172779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:19:05] local.INFO: GPS data processed {"connection_id":172779,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:19:05] local.INFO: Acknowledgment sent {"connection_id":172779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:19:25] local.INFO: TCP Data received {"connection_id":172780,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:19:25] local.INFO: Processing buffer {"connection_id":172780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:19:25] local.INFO: IMEI packet received {"connection_id":172780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":172780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:19:30] local.INFO: TCP Data received {"connection_id":172780,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:19:31] local.INFO: Processing buffer {"connection_id":172780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:19:31] local.INFO: IMEI packet received {"connection_id":172780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":172780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:19:31] local.INFO: TCP Data received {"connection_id":172780,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fae6418012d7d350005ec0b400000009822..."} 
[2026-09-05 09:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fae6418012d7d350005ec0b400000009822..."} 
[2026-09-05 09:19:31] local.INFO: Processing buffer {"connection_id":172780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fae6418012d7d350005ec0b400000009822..."} 
[2026-09-05 09:19:31] local.INFO: Packet analysis {"connection_id":172780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fae"} 
[2026-09-05 09:19:31] local.INFO: Extracted packet for processing {"connection_id":172780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fae"} 
[2026-09-05 09:19:31] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":0,"angle":152,"satellites":34,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876427264001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788580095000,"timestamp_ms":1788580095000,"timestamp_seconds":1788580095,"priority":1,"record_length":96,"hex_timestamp":"000001a06fae6418"} 
[2026-09-05 09:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:19:31] 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-09-05 09: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":9,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-05 09:19:31] 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-09-05 09: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-09-05 09:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876427264001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876427264001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:19:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:19:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876427264001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":172780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767684,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:19:32] local.INFO: GPS data processed {"connection_id":172780,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:19:32] local.INFO: Acknowledgment sent {"connection_id":172780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:19:37] local.INFO: TCP Data received {"connection_id":172779,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06faef0b8012d4ee880066a4c90000a00a52c..."} 
[2026-09-05 09:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06faef0b8012d4ee880066a4c90000a00a52c..."} 
[2026-09-05 09:19:37] local.INFO: Processing buffer {"connection_id":172779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06faef0b8012d4ee880066a4c90000a00a52c..."} 
[2026-09-05 09:19:37] local.INFO: Packet analysis {"connection_id":172779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fae"} 
[2026-09-05 09:19:37] local.INFO: Extracted packet for processing {"connection_id":172779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fae"} 
[2026-09-05 09:19:37] local.INFO: GPS Element Parsed {"raw_longitude":760146048,"raw_latitude":107629712,"longitude_deg":76.0146048,"latitude_deg":10.7629712,"altitude":10,"angle":165,"satellites":44,"speed":59,"hex_longitude":"2d4ee880","hex_latitude":"066a4c90","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876512000001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399334613094236160,"note":"Value kept but may cause issues"} 
[2026-09-05 09:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5683472388552820736,"note":"Value kept but may cause issues"} 
[2026-09-05 09:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788580131000,"timestamp_ms":1788580131000,"timestamp_seconds":1788580131,"priority":1,"record_length":96,"hex_timestamp":"000001a06faef0b8"} 
[2026-09-05 09:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 09:19:37] 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-09-05 09: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-09-05 09:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:19: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-09-05 09:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876512000001,"66":28028,"151":206,"80":60416,"24":59,"16":399334613094236160,"45":5683472388552820736},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,80,24,16,45]} 
[2026-09-05 09:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876512000001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:19:37] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-05 09:19:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399334613094236160,"km_value":399334613094236.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5683472388552820736,"description":"Unknown IO ID 45"} 
[2026-09-05 09:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876512000001,"power":28028,"unknown_151":206,"unknown_80":60416,"ignition":59,"odometer":null,"unknown_45":5683472388552820736}} 
[2026-09-05 09:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":172779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:19:37] local.INFO: GPS data processed {"connection_id":172779,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:19:37] local.INFO: Acknowledgment sent {"connection_id":172779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:19:40] local.INFO: TCP Data received {"connection_id":174077,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174077,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:19:40] local.INFO: Processing buffer {"connection_id":174077,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:19:40] local.INFO: IMEI packet received {"connection_id":174077,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":174077,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:19:44] local.INFO: TCP Data received {"connection_id":174077,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174077,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:19:44] local.INFO: Processing buffer {"connection_id":174077,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:19:44] local.INFO: IMEI packet received {"connection_id":174077,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":174077,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:19:45] local.INFO: TCP Data received {"connection_id":174077,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06faf2768012d0bc000070504e8001400071b..."} 
[2026-09-05 09:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06faf2768012d0bc000070504e8001400071b..."} 
[2026-09-05 09:19:45] local.INFO: Processing buffer {"connection_id":174077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06faf2768012d0bc000070504e8001400071b..."} 
[2026-09-05 09:19:45] local.INFO: Packet analysis {"connection_id":174077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06faf"} 
[2026-09-05 09:19:45] local.INFO: Extracted packet for processing {"connection_id":174077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06faf"} 
[2026-09-05 09:19:45] local.INFO: GPS Element Parsed {"raw_longitude":755744768,"raw_latitude":117769448,"longitude_deg":75.5744768,"latitude_deg":11.7769448,"altitude":20,"angle":7,"satellites":27,"speed":26,"hex_longitude":"2d0bc000","hex_latitude":"070504e8","is_valid_coordinates":true} 
[2026-09-05 09:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876516608001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30300242654003200,"note":"Value kept but may cause issues"} 
[2026-09-05 09:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":846465653861791744,"note":"Value kept but may cause issues"} 
[2026-09-05 09:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788580145000,"timestamp_ms":1788580145000,"timestamp_seconds":1788580145,"priority":1,"record_length":96,"hex_timestamp":"000001a06faf2768"} 
[2026-09-05 09:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 09:19: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-09-05 09:19:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":174077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":174077,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":174077,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876516608001,"66":14494,"96":206,"94":10240,"24":26,"16":30300242654003200,"45":846465653861791744},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-05 09:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876516608001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:19:45] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-05 09:19:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30300242654003200,"km_value":30300242654003.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":846465653861791744,"description":"Unknown IO ID 45"} 
[2026-09-05 09:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876516608001,"power":14494,"unknown_96":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":846465653861791744}} 
[2026-09-05 09:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":174077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767686,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:19:45] local.INFO: GPS data processed {"connection_id":174077,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:19:45] local.INFO: Acknowledgment sent {"connection_id":174077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:19:56] local.INFO: TCP Data received {"connection_id":171373,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:19:56] local.INFO: Processing buffer {"connection_id":171373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:19:56] local.INFO: IMEI packet received {"connection_id":171373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":171373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:19:59] local.INFO: TCP Data received {"connection_id":171373,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:19:59] local.INFO: Processing buffer {"connection_id":171373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:19:59] local.INFO: IMEI packet received {"connection_id":171373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":171373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:20:02] local.INFO: TCP Data received {"connection_id":171373,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:20:02] local.INFO: Processing buffer {"connection_id":171373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:20:02] local.INFO: IMEI packet received {"connection_id":171373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":171373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:20:03] local.INFO: TCP Data received {"connection_id":172780,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fae6418012d7d350005ec0b400000009822..."} 
[2026-09-05 09:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fae6418012d7d350005ec0b400000009822..."} 
[2026-09-05 09:20:03] local.INFO: Processing buffer {"connection_id":172780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fae6418012d7d350005ec0b400000009822..."} 
[2026-09-05 09:20:03] local.INFO: Packet analysis {"connection_id":172780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fae"} 
[2026-09-05 09:20:03] local.INFO: Extracted packet for processing {"connection_id":172780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fae"} 
[2026-09-05 09:20:03] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":0,"angle":152,"satellites":34,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876427264001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788580095000,"timestamp_ms":1788580095000,"timestamp_seconds":1788580095,"priority":1,"record_length":96,"hex_timestamp":"000001a06fae6418"} 
[2026-09-05 09:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:20: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-09-05 09: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":9,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-05 09:20:03] 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-09-05 09: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-09-05 09:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876427264001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876427264001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:20:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:20:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876427264001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":172780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767687,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:20:03] local.INFO: GPS data processed {"connection_id":172780,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:20:03] local.INFO: Acknowledgment sent {"connection_id":172780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:20:04] local.INFO: TCP Data received {"connection_id":171373,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06fafbfc0012d4f7bc006698468000700762a..."} 
[2026-09-05 09:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fafbfc0012d4f7bc006698468000700762a..."} 
[2026-09-05 09:20:04] local.INFO: Processing buffer {"connection_id":171373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fafbfc0012d4f7bc006698468000700762a..."} 
[2026-09-05 09:20:04] local.INFO: Packet analysis {"connection_id":171373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06faf"} 
[2026-09-05 09:20:04] local.INFO: Extracted packet for processing {"connection_id":171373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06faf"} 
[2026-09-05 09:20:04] local.INFO: GPS Element Parsed {"raw_longitude":760183744,"raw_latitude":107578472,"longitude_deg":76.0183744,"latitude_deg":10.7578472,"altitude":7,"angle":118,"satellites":42,"speed":52,"hex_longitude":"2d4f7bc0","hex_latitude":"06698468","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876525312001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399338070542909440,"note":"Value kept but may cause issues"} 
[2026-09-05 09:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5718375285650663424,"note":"Value kept but may cause issues"} 
[2026-09-05 09:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788580184000,"timestamp_ms":1788580184000,"timestamp_seconds":1788580184,"priority":1,"record_length":96,"hex_timestamp":"000001a06fafbfc0"} 
[2026-09-05 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-09-05 09:20: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-09-05 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 09:20:04] 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-09-05 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-09-05 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-09-05 09:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09: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-09-05 09:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876525312001,"66":27876,"152":206,"80":60416,"24":52,"16":399338070542909440,"45":5718375285650663424},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-09-05 09:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876525312001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:20:04] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-05 09:20:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399338070542909440,"km_value":399338070542909.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5718375285650663424,"description":"Unknown IO ID 45"} 
[2026-09-05 09:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876525312001,"power":27876,"unknown_152":206,"unknown_80":60416,"ignition":52,"odometer":null,"unknown_45":5718375285650663424}} 
[2026-09-05 09:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":171373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:20:04] local.INFO: GPS data processed {"connection_id":171373,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:20:04] local.INFO: Acknowledgment sent {"connection_id":171373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:20:05] local.INFO: TCP Data received {"connection_id":171373,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06fafdb18012d4f9cc0066973b0000700722b..."} 
[2026-09-05 09:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fafdb18012d4f9cc0066973b0000700722b..."} 
[2026-09-05 09:20:05] local.INFO: Processing buffer {"connection_id":171373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fafdb18012d4f9cc0066973b0000700722b..."} 
[2026-09-05 09:20:05] local.INFO: Packet analysis {"connection_id":171373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06faf"} 
[2026-09-05 09:20:05] local.INFO: Extracted packet for processing {"connection_id":171373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06faf"} 
[2026-09-05 09:20:05] local.INFO: GPS Element Parsed {"raw_longitude":760192192,"raw_latitude":107574192,"longitude_deg":76.0192192,"latitude_deg":10.7574192,"altitude":7,"angle":114,"satellites":43,"speed":53,"hex_longitude":"2d4f9cc0","hex_latitude":"066973b0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876527104001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399338525809442816,"note":"Value kept but may cause issues"} 
[2026-09-05 09:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5727382484904339456,"note":"Value kept but may cause issues"} 
[2026-09-05 09:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788580191000,"timestamp_ms":1788580191000,"timestamp_seconds":1788580191,"priority":1,"record_length":96,"hex_timestamp":"000001a06fafdb18"} 
[2026-09-05 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-09-05 09:20:05] 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-09-05 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 09:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 09:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:20: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-09-05 09:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876527104001,"66":27767,"152":206,"80":60416,"24":53,"16":399338525809442816,"45":5727382484904339456},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-09-05 09:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876527104001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:20:05] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-05 09:20:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399338525809442816,"km_value":399338525809442.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5727382484904339456,"description":"Unknown IO ID 45"} 
[2026-09-05 09:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876527104001,"power":27767,"unknown_152":206,"unknown_80":60416,"ignition":53,"odometer":null,"unknown_45":5727382484904339456}} 
[2026-09-05 09:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":171373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:20:05] local.INFO: GPS data processed {"connection_id":171373,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:20:05] local.INFO: Acknowledgment sent {"connection_id":171373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:20:11] local.INFO: TCP Data received {"connection_id":171667,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171667,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:20:11] local.INFO: Processing buffer {"connection_id":171667,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:20:11] local.INFO: IMEI packet received {"connection_id":171667,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":171667,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:20:16] local.INFO: TCP Data received {"connection_id":171667,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171667,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:20:16] local.INFO: Processing buffer {"connection_id":171667,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:20:16] local.INFO: IMEI packet received {"connection_id":171667,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":171667,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:20:16] local.INFO: TCP Data received {"connection_id":171667,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fafdf00012d0bd34007057ca00011000e1c..."} 
[2026-09-05 09:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fafdf00012d0bd34007057ca00011000e1c..."} 
[2026-09-05 09:20:16] local.INFO: Processing buffer {"connection_id":171667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fafdf00012d0bd34007057ca00011000e1c..."} 
[2026-09-05 09:20:16] local.INFO: Packet analysis {"connection_id":171667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06faf"} 
[2026-09-05 09:20:16] local.INFO: Extracted packet for processing {"connection_id":171667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06faf"} 
[2026-09-05 09:20:16] local.INFO: GPS Element Parsed {"raw_longitude":755749696,"raw_latitude":117800096,"longitude_deg":75.5749696,"latitude_deg":11.7800096,"altitude":17,"angle":14,"satellites":28,"speed":43,"hex_longitude":"2d0bd340","hex_latitude":"07057ca0","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876526592001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30301801727131648,"note":"Value kept but may cause issues"} 
[2026-09-05 09:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":850547041029824512,"note":"Value kept but may cause issues"} 
[2026-09-05 09:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788580192000,"timestamp_ms":1788580192000,"timestamp_seconds":1788580192,"priority":1,"record_length":96,"hex_timestamp":"000001a06fafdf00"} 
[2026-09-05 09:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09: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":103,"data_length":795,"current_offset":136} 
[2026-09-05 09:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":171667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":171667,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":171667,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876526592001,"66":14439,"164":206,"94":10240,"24":43,"16":30301801727131648,"45":850547041029824512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-05 09:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876526592001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:20:16] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-05 09:20:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30301801727131648,"km_value":30301801727131.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":850547041029824512,"description":"Unknown IO ID 45"} 
[2026-09-05 09:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876526592001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":43,"odometer":null,"unknown_45":850547041029824512}} 
[2026-09-05 09:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":171667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767690,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:20:17] local.INFO: GPS data processed {"connection_id":171667,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:20:17] local.INFO: Acknowledgment sent {"connection_id":171667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:20:30] local.INFO: TCP Data received {"connection_id":172781,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172781,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:20:31] local.INFO: Processing buffer {"connection_id":172781,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:20:31] local.INFO: IMEI packet received {"connection_id":172781,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":172781,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:20:35] local.INFO: TCP Data received {"connection_id":172781,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172781,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:20:35] local.INFO: Processing buffer {"connection_id":172781,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:20:35] local.INFO: IMEI packet received {"connection_id":172781,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":172781,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:20:36] local.INFO: TCP Data received {"connection_id":171373,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06faff288012d4fb4c0066967200008007f2c..."} 
[2026-09-05 09:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06faff288012d4fb4c0066967200008007f2c..."} 
[2026-09-05 09:20:36] local.INFO: Processing buffer {"connection_id":171373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06faff288012d4fb4c0066967200008007f2c..."} 
[2026-09-05 09:20:36] local.INFO: Packet analysis {"connection_id":171373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06faf"} 
[2026-09-05 09:20:36] local.INFO: Extracted packet for processing {"connection_id":171373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06faf"} 
[2026-09-05 09:20:36] local.INFO: GPS Element Parsed {"raw_longitude":760198336,"raw_latitude":107570976,"longitude_deg":76.0198336,"latitude_deg":10.7570976,"altitude":8,"angle":127,"satellites":44,"speed":33,"hex_longitude":"2d4fb4c0","hex_latitude":"06696720","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876528896001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399338856521924608,"note":"Value kept but may cause issues"} 
[2026-09-05 09:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5736671159134695424,"note":"Value kept but may cause issues"} 
[2026-09-05 09:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788580197000,"timestamp_ms":1788580197000,"timestamp_seconds":1788580197,"priority":1,"record_length":96,"hex_timestamp":"000001a06faff288"} 
[2026-09-05 09:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:20: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-09-05 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 09:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09: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-09-05 09:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876528896001,"66":27821,"1":206,"80":60416,"24":33,"16":399338856521924608,"45":5736671159134695424},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-09-05 09:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876528896001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:20:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399338856521924608,"km_value":399338856521924.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5736671159134695424,"description":"Unknown IO ID 45"} 
[2026-09-05 09:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876528896001,"power":27821,"imei":206,"unknown_80":60416,"ignition":33,"odometer":null,"unknown_45":5736671159134695424}} 
[2026-09-05 09:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":171373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:20:36] local.INFO: GPS data processed {"connection_id":171373,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:20:36] local.INFO: Acknowledgment sent {"connection_id":171373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:20:37] local.INFO: TCP Data received {"connection_id":172781,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fae6418012d7d350005ec0b400000009822..."} 
[2026-09-05 09:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fae6418012d7d350005ec0b400000009822..."} 
[2026-09-05 09:20:37] local.INFO: Processing buffer {"connection_id":172781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fae6418012d7d350005ec0b400000009822..."} 
[2026-09-05 09:20:37] local.INFO: Packet analysis {"connection_id":172781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fae"} 
[2026-09-05 09:20:37] local.INFO: Extracted packet for processing {"connection_id":172781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fae"} 
[2026-09-05 09:20:37] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":0,"angle":152,"satellites":34,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876427264001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788580095000,"timestamp_ms":1788580095000,"timestamp_seconds":1788580095,"priority":1,"record_length":96,"hex_timestamp":"000001a06fae6418"} 
[2026-09-05 09:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:20: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-09-05 09:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-05 09:20:37] 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-09-05 09:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876427264001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876427264001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:20:37] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:20:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876427264001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":172781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767692,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:20:37] local.INFO: GPS data processed {"connection_id":172781,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:20:37] local.INFO: Acknowledgment sent {"connection_id":172781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:20:41] local.INFO: TCP Data received {"connection_id":172781,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fae6418012d7d350005ec0b400000009822..."} 
[2026-09-05 09:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fae6418012d7d350005ec0b400000009822..."} 
[2026-09-05 09:20:41] local.INFO: Processing buffer {"connection_id":172781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fae6418012d7d350005ec0b400000009822..."} 
[2026-09-05 09:20:41] local.INFO: Packet analysis {"connection_id":172781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fae"} 
[2026-09-05 09:20:41] local.INFO: Extracted packet for processing {"connection_id":172781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fae"} 
[2026-09-05 09:20:41] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":0,"angle":152,"satellites":34,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876427264001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788580095000,"timestamp_ms":1788580095000,"timestamp_seconds":1788580095,"priority":1,"record_length":96,"hex_timestamp":"000001a06fae6418"} 
[2026-09-05 09:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 09: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":9,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-05 09:20:41] 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-09-05 09: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-09-05 09:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":172781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":172781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":172781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876427264001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876427264001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:20:41] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:20:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876427264001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":172781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767693,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:20:41] local.INFO: GPS data processed {"connection_id":172781,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:20:41] local.INFO: Acknowledgment sent {"connection_id":172781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:20:48] local.INFO: TCP Data received {"connection_id":171667,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06faff288012d0bd6c007058e48000d00031c..."} 
[2026-09-05 09:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06faff288012d0bd6c007058e48000d00031c..."} 
[2026-09-05 09:20:48] local.INFO: Processing buffer {"connection_id":171667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06faff288012d0bd6c007058e48000d00031c..."} 
[2026-09-05 09:20:48] local.INFO: Packet analysis {"connection_id":171667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06faf"} 
[2026-09-05 09:20:48] local.INFO: Extracted packet for processing {"connection_id":171667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06faf"} 
[2026-09-05 09:20:48] local.INFO: GPS Element Parsed {"raw_longitude":755750592,"raw_latitude":117804616,"longitude_deg":75.5750592,"latitude_deg":11.7804616,"altitude":13,"angle":3,"satellites":28,"speed":32,"hex_longitude":"2d0bd6c0","hex_latitude":"07058e48","is_valid_coordinates":true} 
[2026-09-05 09:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876529152001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30302025065431040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":852095153404157952,"note":"Value kept but may cause issues"} 
[2026-09-05 09:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788580197000,"timestamp_ms":1788580197000,"timestamp_seconds":1788580197,"priority":1,"record_length":96,"hex_timestamp":"000001a06faff288"} 
[2026-09-05 09:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-05 09:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:20:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":171667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":171667,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":171667,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876529152001,"66":14407,"164":206,"94":10240,"24":32,"16":30302025065431040,"45":852095153404157952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-05 09:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876529152001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:20:48] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-05 09:20:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30302025065431040,"km_value":30302025065431.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":852095153404157952,"description":"Unknown IO ID 45"} 
[2026-09-05 09:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876529152001,"power":14407,"unknown_164":206,"unknown_94":10240,"ignition":32,"odometer":null,"unknown_45":852095153404157952}} 
[2026-09-05 09:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":171667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767694,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:20:48] local.INFO: GPS data processed {"connection_id":171667,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:20:48] local.INFO: Acknowledgment sent {"connection_id":171667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:20:57] local.INFO: TCP Data received {"connection_id":174078,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:20:57] local.INFO: Processing buffer {"connection_id":174078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:20:57] local.INFO: IMEI packet received {"connection_id":174078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":174078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:20:58] local.INFO: TCP Data received {"connection_id":174078,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:20:58] local.INFO: Processing buffer {"connection_id":174078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:20:58] local.INFO: IMEI packet received {"connection_id":174078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":174078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:21:04] local.INFO: TCP Data received {"connection_id":171669,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171669,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:21:04] local.INFO: Processing buffer {"connection_id":171669,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:21:04] local.INFO: IMEI packet received {"connection_id":171669,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":171669,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:21:05] local.INFO: TCP Data received {"connection_id":171669,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171669,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:21:05] local.INFO: Processing buffer {"connection_id":171669,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:21:05] local.INFO: IMEI packet received {"connection_id":171669,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":171669,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:21:10] local.INFO: TCP Data received {"connection_id":171669,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171669,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:21:10] local.INFO: Processing buffer {"connection_id":171669,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:21:10] local.INFO: IMEI packet received {"connection_id":171669,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":171669,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:21:11] local.INFO: TCP Data received {"connection_id":171669,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb009f8012d0bd84007059c60000c00111c..."} 
[2026-09-05 09:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb009f8012d0bd84007059c60000c00111c..."} 
[2026-09-05 09:21:11] local.INFO: Processing buffer {"connection_id":171669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb009f8012d0bd84007059c60000c00111c..."} 
[2026-09-05 09:21:11] local.INFO: Packet analysis {"connection_id":171669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb0"} 
[2026-09-05 09:21:11] local.INFO: Extracted packet for processing {"connection_id":171669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb0"} 
[2026-09-05 09:21:11] local.INFO: GPS Element Parsed {"raw_longitude":755750976,"raw_latitude":117808224,"longitude_deg":75.5750976,"latitude_deg":11.7808224,"altitude":12,"angle":17,"satellites":28,"speed":14,"hex_longitude":"2d0bd840","hex_latitude":"07059c60","is_valid_coordinates":true} 
[2026-09-05 09:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876530432001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30302201159090176,"note":"Value kept but may cause issues"} 
[2026-09-05 09:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":853080315823802368,"note":"Value kept but may cause issues"} 
[2026-09-05 09:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788580203000,"timestamp_ms":1788580203000,"timestamp_seconds":1788580203,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb009f8"} 
[2026-09-05 09:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-05 09:21:11] 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-09-05 09:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171669,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171669,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876530432001,"66":14461,"164":206,"94":10240,"24":14,"16":30302201159090176,"45":853080315823802368},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-05 09:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876530432001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:21:11] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-05 09:21:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30302201159090176,"km_value":30302201159090.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":853080315823802368,"description":"Unknown IO ID 45"} 
[2026-09-05 09:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876530432001,"power":14461,"unknown_164":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":853080315823802368}} 
[2026-09-05 09:21:11] local.INFO: TCP Data received {"connection_id":174078,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:21:11] local.INFO: Processing buffer {"connection_id":174078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:21:11] local.INFO: IMEI packet received {"connection_id":174078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":174078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":171669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767695,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:21:11] local.INFO: GPS data processed {"connection_id":171669,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:21:11] local.INFO: Acknowledgment sent {"connection_id":171669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:21:12] local.INFO: TCP Data received {"connection_id":174078,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb009f8012d4fc3c0066958f8000a008d2a..."} 
[2026-09-05 09:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb009f8012d4fc3c0066958f8000a008d2a..."} 
[2026-09-05 09:21:12] local.INFO: Processing buffer {"connection_id":174078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb009f8012d4fc3c0066958f8000a008d2a..."} 
[2026-09-05 09:21:12] local.INFO: Packet analysis {"connection_id":174078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb0"} 
[2026-09-05 09:21:12] local.INFO: Extracted packet for processing {"connection_id":174078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb0"} 
[2026-09-05 09:21:12] local.INFO: GPS Element Parsed {"raw_longitude":760202176,"raw_latitude":107567352,"longitude_deg":76.0202176,"latitude_deg":10.7567352,"altitude":10,"angle":141,"satellites":42,"speed":33,"hex_longitude":"2d4fc3c0","hex_latitude":"066958f8","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876530432001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399339109924995072,"note":"Value kept but may cause issues"} 
[2026-09-05 09:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5743426558574927872,"note":"Value kept but may cause issues"} 
[2026-09-05 09:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788580203000,"timestamp_ms":1788580203000,"timestamp_seconds":1788580203,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb009f8"} 
[2026-09-05 09:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:21:12] 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-09-05 09: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 09:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876530432001,"66":27865,"1":206,"80":60416,"24":33,"16":399339109924995072,"45":5743426558574927872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-09-05 09:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876530432001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:21:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399339109924995072,"km_value":399339109924995.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5743426558574927872,"description":"Unknown IO ID 45"} 
[2026-09-05 09:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876530432001,"power":27865,"imei":206,"unknown_80":60416,"ignition":33,"odometer":null,"unknown_45":5743426558574927872}} 
[2026-09-05 09:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":174078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:21:12] local.INFO: GPS data processed {"connection_id":174078,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:21:12] local.INFO: Acknowledgment sent {"connection_id":174078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:21:25] local.INFO: TCP Data received {"connection_id":171374,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:21:25] local.INFO: Processing buffer {"connection_id":171374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:21:25] local.INFO: IMEI packet received {"connection_id":171374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":171374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:21:31] local.INFO: TCP Data received {"connection_id":171374,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:21:31] local.INFO: Processing buffer {"connection_id":171374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:21:31] local.INFO: IMEI packet received {"connection_id":171374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":171374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:21:31] local.INFO: TCP Data received {"connection_id":171374,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fae6418012d7d350005ec0b400000009822..."} 
[2026-09-05 09:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fae6418012d7d350005ec0b400000009822..."} 
[2026-09-05 09:21:31] local.INFO: Processing buffer {"connection_id":171374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fae6418012d7d350005ec0b400000009822..."} 
[2026-09-05 09:21:31] local.INFO: Packet analysis {"connection_id":171374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fae"} 
[2026-09-05 09:21:31] local.INFO: Extracted packet for processing {"connection_id":171374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fae"} 
[2026-09-05 09:21:31] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":0,"angle":152,"satellites":34,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876427264001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788580095000,"timestamp_ms":1788580095000,"timestamp_seconds":1788580095,"priority":1,"record_length":96,"hex_timestamp":"000001a06fae6418"} 
[2026-09-05 09:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:21:31] 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-09-05 09: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":9,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-05 09:21:31] 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-09-05 09: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-09-05 09:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876427264001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876427264001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:21:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:21:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876427264001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":171374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:21:32] local.INFO: GPS data processed {"connection_id":171374,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:21:32] local.INFO: Acknowledgment sent {"connection_id":171374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:21:40] local.INFO: TCP Data received {"connection_id":171668,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 09:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 09:21:40] local.INFO: Processing buffer {"connection_id":171668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 09:21:40] local.INFO: IMEI packet received {"connection_id":171668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 09:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":171668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:21:42] local.INFO: TCP Data received {"connection_id":171669,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb05818012d0bda000705a368000d00171c..."} 
[2026-09-05 09:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb05818012d0bda000705a368000d00171c..."} 
[2026-09-05 09:21:42] local.INFO: Processing buffer {"connection_id":171669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb05818012d0bda000705a368000d00171c..."} 
[2026-09-05 09:21:42] local.INFO: Packet analysis {"connection_id":171669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb0"} 
[2026-09-05 09:21:42] local.INFO: Extracted packet for processing {"connection_id":171669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb0"} 
[2026-09-05 09:21:42] local.INFO: GPS Element Parsed {"raw_longitude":755751424,"raw_latitude":117810024,"longitude_deg":75.5751424,"latitude_deg":11.7810024,"altitude":13,"angle":23,"satellites":28,"speed":0,"hex_longitude":"2d0bda00","hex_latitude":"0705a368","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876531968001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30302299943337984,"note":"Value kept but may cause issues"} 
[2026-09-05 09:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":853502528289792000,"note":"Value kept but may cause issues"} 
[2026-09-05 09:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788580223000,"timestamp_ms":1788580223000,"timestamp_seconds":1788580223,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb05818"} 
[2026-09-05 09:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 09:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":171669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":171669,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":171669,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876531968001,"66":14374,"164":206,"94":10240,"24":0,"16":30302299943337984,"45":853502528289792000},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-05 09:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876531968001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:21:42] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-05 09:21:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30302299943337984,"km_value":30302299943337.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":853502528289792000,"description":"Unknown IO ID 45"} 
[2026-09-05 09:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876531968001,"power":14374,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":853502528289792000}} 
[2026-09-05 09:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":171669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767698,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:21:43] local.INFO: GPS data processed {"connection_id":171669,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:21:43] local.INFO: Acknowledgment sent {"connection_id":171669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:22:01] local.INFO: TCP Data received {"connection_id":172782,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:22:01] local.INFO: Processing buffer {"connection_id":172782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:22:01] local.INFO: IMEI packet received {"connection_id":172782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":172782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:22:01] local.INFO: TCP Data received {"connection_id":172782,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:22:01] local.INFO: Processing buffer {"connection_id":172782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:22:01] local.INFO: IMEI packet received {"connection_id":172782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":172782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:22:03] local.INFO: TCP Data received {"connection_id":171374,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fae6418012d7d350005ec0b400000009822..."} 
[2026-09-05 09:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fae6418012d7d350005ec0b400000009822..."} 
[2026-09-05 09:22:03] local.INFO: Processing buffer {"connection_id":171374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fae6418012d7d350005ec0b400000009822..."} 
[2026-09-05 09:22:03] local.INFO: Packet analysis {"connection_id":171374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fae"} 
[2026-09-05 09:22:03] local.INFO: Extracted packet for processing {"connection_id":171374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fae"} 
[2026-09-05 09:22:03] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":0,"angle":152,"satellites":34,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876427264001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788580095000,"timestamp_ms":1788580095000,"timestamp_seconds":1788580095,"priority":1,"record_length":96,"hex_timestamp":"000001a06fae6418"} 
[2026-09-05 09:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:22: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-09-05 09: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":9,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-05 09:22:03] 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-09-05 09: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-09-05 09:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876427264001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876427264001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:22:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:22:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876427264001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":171374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767699,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:22:03] local.INFO: GPS data processed {"connection_id":171374,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:22:03] local.INFO: Acknowledgment sent {"connection_id":171374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:22:05] local.INFO: TCP Data received {"connection_id":171375,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171375,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:22:05] local.INFO: Processing buffer {"connection_id":171375,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:22:05] local.INFO: IMEI packet received {"connection_id":171375,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":171375,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:22:07] local.INFO: TCP Data received {"connection_id":172782,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:22:07] local.INFO: Processing buffer {"connection_id":172782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:22:07] local.INFO: IMEI packet received {"connection_id":172782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":172782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:22:08] local.INFO: TCP Data received {"connection_id":172782,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb12720012d504f8006682700001a007b2c..."} 
[2026-09-05 09:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb12720012d504f8006682700001a007b2c..."} 
[2026-09-05 09:22:08] local.INFO: Processing buffer {"connection_id":172782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb12720012d504f8006682700001a007b2c..."} 
[2026-09-05 09:22:08] local.INFO: Packet analysis {"connection_id":172782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb1"} 
[2026-09-05 09:22:08] local.INFO: Extracted packet for processing {"connection_id":172782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb1"} 
[2026-09-05 09:22:08] local.INFO: GPS Element Parsed {"raw_longitude":760237952,"raw_latitude":107489024,"longitude_deg":76.0237952,"latitude_deg":10.7489024,"altitude":26,"angle":123,"satellites":44,"speed":48,"hex_longitude":"2d504f80","hex_latitude":"06682700","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876550656001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399343447841964032,"note":"Value kept but may cause issues"} 
[2026-09-05 09:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5786984811199922176,"note":"Value kept but may cause issues"} 
[2026-09-05 09:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788580276000,"timestamp_ms":1788580276000,"timestamp_seconds":1788580276,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb12720"} 
[2026-09-05 09:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:22: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-09-05 09: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 09:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:22: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-09-05 09:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876550656001,"66":27876,"3":206,"80":60416,"24":48,"16":399343447841964032,"45":5786984811199922176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,80,24,16,45]} 
[2026-09-05 09:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876550656001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:22:08] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-05 09:22:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399343447841964032,"km_value":399343447841964.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5786984811199922176,"description":"Unknown IO ID 45"} 
[2026-09-05 09:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876550656001,"power":27876,"unknown_3":206,"unknown_80":60416,"ignition":48,"odometer":null,"unknown_45":5786984811199922176}} 
[2026-09-05 09:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":172782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:22:08] local.INFO: GPS data processed {"connection_id":172782,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:22:08] local.INFO: Acknowledgment sent {"connection_id":172782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:22:11] local.INFO: TCP Data received {"connection_id":171375,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171375,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:22:11] local.INFO: Processing buffer {"connection_id":171375,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:22:11] local.INFO: IMEI packet received {"connection_id":171375,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":171375,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:22:11] local.INFO: TCP Data received {"connection_id":171375,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb19480012d0c24800705e108001b000d1c..."} 
[2026-09-05 09:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb19480012d0c24800705e108001b000d1c..."} 
[2026-09-05 09:22:11] local.INFO: Processing buffer {"connection_id":171375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb19480012d0c24800705e108001b000d1c..."} 
[2026-09-05 09:22:11] local.INFO: Packet analysis {"connection_id":171375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb1"} 
[2026-09-05 09:22:11] local.INFO: Extracted packet for processing {"connection_id":171375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb1"} 
[2026-09-05 09:22:11] local.INFO: GPS Element Parsed {"raw_longitude":755770496,"raw_latitude":117825800,"longitude_deg":75.5770496,"latitude_deg":11.78258,"altitude":27,"angle":13,"satellites":28,"speed":15,"hex_longitude":"2d0c2480","hex_latitude":"0705e108","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876554752001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30304065174896640,"note":"Value kept but may cause issues"} 
[2026-09-05 09:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874542782801547264,"note":"Value kept but may cause issues"} 
[2026-09-05 09:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788580304000,"timestamp_ms":1788580304000,"timestamp_seconds":1788580304,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb19480"} 
[2026-09-05 09:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 09:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876554752001,"66":14309,"164":206,"94":10240,"24":15,"16":30304065174896640,"45":874542782801547264},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-05 09:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876554752001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:22:11] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-05 09:22:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30304065174896640,"km_value":30304065174896.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":874542782801547264,"description":"Unknown IO ID 45"} 
[2026-09-05 09:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876554752001,"power":14309,"unknown_164":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":874542782801547264}} 
[2026-09-05 09:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":171375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767701,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:22:12] local.INFO: GPS data processed {"connection_id":171375,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:22:12] local.INFO: Acknowledgment sent {"connection_id":171375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:22:25] local.INFO: TCP Data received {"connection_id":174079,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:22:25] local.INFO: Processing buffer {"connection_id":174079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:22:25] local.INFO: IMEI packet received {"connection_id":174079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":174079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:22:30] local.INFO: TCP Data received {"connection_id":174079,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:22:30] local.INFO: Processing buffer {"connection_id":174079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:22:30] local.INFO: IMEI packet received {"connection_id":174079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":174079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:22:31] local.INFO: TCP Data received {"connection_id":174079,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fae6418012d7d350005ec0b400000009822..."} 
[2026-09-05 09:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fae6418012d7d350005ec0b400000009822..."} 
[2026-09-05 09:22:31] local.INFO: Processing buffer {"connection_id":174079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fae6418012d7d350005ec0b400000009822..."} 
[2026-09-05 09:22:31] local.INFO: Packet analysis {"connection_id":174079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fae"} 
[2026-09-05 09:22:31] local.INFO: Extracted packet for processing {"connection_id":174079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fae"} 
[2026-09-05 09:22:31] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":0,"angle":152,"satellites":34,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876427264001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788580095000,"timestamp_ms":1788580095000,"timestamp_seconds":1788580095,"priority":1,"record_length":96,"hex_timestamp":"000001a06fae6418"} 
[2026-09-05 09:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:22:31] 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-09-05 09: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":9,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-05 09:22:31] 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-09-05 09: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-09-05 09:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876427264001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876427264001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:22:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:22:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876427264001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":174079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767702,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:22:31] local.INFO: GPS data processed {"connection_id":174079,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:22:31] local.INFO: Acknowledgment sent {"connection_id":174079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:22:40] local.INFO: TCP Data received {"connection_id":172782,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb14660012d506d40066813d0001b00792b..."} 
[2026-09-05 09:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb14660012d506d40066813d0001b00792b..."} 
[2026-09-05 09:22:40] local.INFO: Processing buffer {"connection_id":172782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb14660012d506d40066813d0001b00792b..."} 
[2026-09-05 09:22:40] local.INFO: Packet analysis {"connection_id":172782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb1"} 
[2026-09-05 09:22:40] local.INFO: Extracted packet for processing {"connection_id":172782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb1"} 
[2026-09-05 09:22:40] local.INFO: GPS Element Parsed {"raw_longitude":760245568,"raw_latitude":107484112,"longitude_deg":76.0245568,"latitude_deg":10.7484112,"altitude":27,"angle":121,"satellites":43,"speed":39,"hex_longitude":"2d506d40","hex_latitude":"066813d0","is_valid_coordinates":true} 
[2026-09-05 09:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876550656001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399343881633660928,"note":"Value kept but may cause issues"} 
[2026-09-05 09:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5786984811199922176,"note":"Value kept but may cause issues"} 
[2026-09-05 09:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788580284000,"timestamp_ms":1788580284000,"timestamp_seconds":1788580284,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb14660"} 
[2026-09-05 09:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:22:40] 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-09-05 09:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 09:22:40] 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-09-05 09:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":172782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":172782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":172782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876550656001,"66":27974,"78":206,"80":60416,"24":39,"16":399343881633660928,"45":5786984811199922176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,80,24,16,45]} 
[2026-09-05 09:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876550656001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:22:40] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-05 09:22:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399343881633660928,"km_value":399343881633660.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5786984811199922176,"description":"Unknown IO ID 45"} 
[2026-09-05 09:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876550656001,"power":27974,"unknown_78":206,"unknown_80":60416,"ignition":39,"odometer":null,"unknown_45":5786984811199922176}} 
[2026-09-05 09:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":172782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:22:40] local.INFO: GPS data processed {"connection_id":172782,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:22:40] local.INFO: Acknowledgment sent {"connection_id":172782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:22:43] local.INFO: TCP Data received {"connection_id":171375,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb1abf0012d0c26000705ec00001e00011c..."} 
[2026-09-05 09:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb1abf0012d0c26000705ec00001e00011c..."} 
[2026-09-05 09:22:43] local.INFO: Processing buffer {"connection_id":171375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb1abf0012d0c26000705ec00001e00011c..."} 
[2026-09-05 09:22:43] local.INFO: Packet analysis {"connection_id":171375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb1"} 
[2026-09-05 09:22:43] local.INFO: Extracted packet for processing {"connection_id":171375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb1"} 
[2026-09-05 09:22:43] local.INFO: GPS Element Parsed {"raw_longitude":755770880,"raw_latitude":117828608,"longitude_deg":75.577088,"latitude_deg":11.7828608,"altitude":30,"angle":1,"satellites":28,"speed":24,"hex_longitude":"2d0c2600","hex_latitude":"0705ec00","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876557824001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30304202613850112,"note":"Value kept but may cause issues"} 
[2026-09-05 09:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874964995268478976,"note":"Value kept but may cause issues"} 
[2026-09-05 09:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788580310000,"timestamp_ms":1788580310000,"timestamp_seconds":1788580310,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb1abf0"} 
[2026-09-05 09:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:22: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-09-05 09: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-05 09:22:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":171375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":171375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":171375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876557824001,"66":14428,"164":206,"94":10240,"24":24,"16":30304202613850112,"45":874964995268478976},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-05 09:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876557824001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:22:43] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-05 09:22:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30304202613850112,"km_value":30304202613850.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":874964995268478976,"description":"Unknown IO ID 45"} 
[2026-09-05 09:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876557824001,"power":14428,"unknown_164":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":874964995268478976}} 
[2026-09-05 09:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":171375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767704,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:22:43] local.INFO: GPS data processed {"connection_id":171375,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:22:43] local.INFO: Acknowledgment sent {"connection_id":171375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:22:55] local.INFO: TCP Data received {"connection_id":171376,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:22:55] local.INFO: Processing buffer {"connection_id":171376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:22:55] local.INFO: IMEI packet received {"connection_id":171376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":171376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:22:56] local.INFO: TCP Data received {"connection_id":171376,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:22:56] local.INFO: Processing buffer {"connection_id":171376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:22:56] local.INFO: IMEI packet received {"connection_id":171376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":171376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:23:02] local.INFO: TCP Data received {"connection_id":171376,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:23:02] local.INFO: Processing buffer {"connection_id":171376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:23:02] local.INFO: IMEI packet received {"connection_id":171376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":171376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:23:03] local.INFO: TCP Data received {"connection_id":171376,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb16d70012d508cc00667ffb8001b007e2b..."} 
[2026-09-05 09:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb16d70012d508cc00667ffb8001b007e2b..."} 
[2026-09-05 09:23:03] local.INFO: Processing buffer {"connection_id":171376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb16d70012d508cc00667ffb8001b007e2b..."} 
[2026-09-05 09:23:03] local.INFO: Packet analysis {"connection_id":171376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb1"} 
[2026-09-05 09:23:03] local.INFO: Extracted packet for processing {"connection_id":171376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb1"} 
[2026-09-05 09:23:03] local.INFO: GPS Element Parsed {"raw_longitude":760253632,"raw_latitude":107478968,"longitude_deg":76.0253632,"latitude_deg":10.7478968,"altitude":27,"angle":126,"satellites":43,"speed":39,"hex_longitude":"2d508cc0","hex_latitude":"0667ffb8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876552704001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399344336900194304,"note":"Value kept but may cause issues"} 
[2026-09-05 09:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5795358691755806720,"note":"Value kept but may cause issues"} 
[2026-09-05 09:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788580294000,"timestamp_ms":1788580294000,"timestamp_seconds":1788580294,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb16d70"} 
[2026-09-05 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-09-05 09:23: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-09-05 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 09:23:03] 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-09-05 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-09-05 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-09-05 09:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:23: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-09-05 09:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876552704001,"66":27821,"79":206,"80":60416,"24":39,"16":399344336900194304,"45":5795358691755806720},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,80,24,16,45]} 
[2026-09-05 09:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876552704001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:23:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-05 09:23:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399344336900194304,"km_value":399344336900194.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5795358691755806720,"description":"Unknown IO ID 45"} 
[2026-09-05 09:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876552704001,"power":27821,"unknown_79":206,"unknown_80":60416,"ignition":39,"odometer":null,"unknown_45":5795358691755806720}} 
[2026-09-05 09:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":171376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:23:03] local.INFO: GPS data processed {"connection_id":171376,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:23:03] local.INFO: Acknowledgment sent {"connection_id":171376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:23:03] local.INFO: TCP Data received {"connection_id":174079,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fae6418012d7d350005ec0b400000009822..."} 
[2026-09-05 09:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fae6418012d7d350005ec0b400000009822..."} 
[2026-09-05 09:23:03] local.INFO: Processing buffer {"connection_id":174079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fae6418012d7d350005ec0b400000009822..."} 
[2026-09-05 09:23:03] local.INFO: Packet analysis {"connection_id":174079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fae"} 
[2026-09-05 09:23:03] local.INFO: Extracted packet for processing {"connection_id":174079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fae"} 
[2026-09-05 09:23:03] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":0,"angle":152,"satellites":34,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876427264001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788580095000,"timestamp_ms":1788580095000,"timestamp_seconds":1788580095,"priority":1,"record_length":96,"hex_timestamp":"000001a06fae6418"} 
[2026-09-05 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-09-05 09:23: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-09-05 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":9,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-05 09:23:03] 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-09-05 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-09-05 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-09-05 09:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876427264001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876427264001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:23:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:23:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876427264001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":174079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767706,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:23:03] local.INFO: GPS data processed {"connection_id":174079,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:23:03] local.INFO: Acknowledgment sent {"connection_id":174079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:23:06] local.INFO: TCP Data received {"connection_id":174080,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174080,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:23:06] local.INFO: Processing buffer {"connection_id":174080,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:23:06] local.INFO: IMEI packet received {"connection_id":174080,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":174080,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:23:11] local.INFO: TCP Data received {"connection_id":174080,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174080,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:23:11] local.INFO: Processing buffer {"connection_id":174080,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:23:11] local.INFO: IMEI packet received {"connection_id":174080,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":174080,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:23:16] local.INFO: TCP Data received {"connection_id":174080,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174080,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:23:16] local.INFO: Processing buffer {"connection_id":174080,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:23:16] local.INFO: IMEI packet received {"connection_id":174080,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":174080,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:23:17] local.INFO: TCP Data received {"connection_id":174080,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb2b590012d0c3d0007062f90001b00031c..."} 
[2026-09-05 09:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb2b590012d0c3d0007062f90001b00031c..."} 
[2026-09-05 09:23:17] local.INFO: Processing buffer {"connection_id":174080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb2b590012d0c3d0007062f90001b00031c..."} 
[2026-09-05 09:23:17] local.INFO: Packet analysis {"connection_id":174080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb2"} 
[2026-09-05 09:23:17] local.INFO: Extracted packet for processing {"connection_id":174080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb2"} 
[2026-09-05 09:23:17] local.INFO: GPS Element Parsed {"raw_longitude":755776768,"raw_latitude":117845904,"longitude_deg":75.5776768,"latitude_deg":11.7845904,"altitude":27,"angle":3,"satellites":28,"speed":14,"hex_longitude":"2d0c3d00","hex_latitude":"07062f90","is_valid_coordinates":true} 
[2026-09-05 09:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876576512001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30305194751295488,"note":"Value kept but may cause issues"} 
[2026-09-05 09:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881790763458770944,"note":"Value kept but may cause issues"} 
[2026-09-05 09:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788580378000,"timestamp_ms":1788580378000,"timestamp_seconds":1788580378,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb2b590"} 
[2026-09-05 09:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:23:17] 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-09-05 09:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 09:23:17] 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-09-05 09:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174080,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174080,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876576512001,"66":14374,"164":206,"94":10240,"24":14,"16":30305194751295488,"45":881790763458770944},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-05 09:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876576512001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:23:17] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-05 09:23:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30305194751295488,"km_value":30305194751295.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":881790763458770944,"description":"Unknown IO ID 45"} 
[2026-09-05 09:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876576512001,"power":14374,"unknown_164":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":881790763458770944}} 
[2026-09-05 09:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":174080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767707,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:23:17] local.INFO: GPS data processed {"connection_id":174080,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:23:17] local.INFO: Acknowledgment sent {"connection_id":174080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:23:18] local.INFO: TCP Data received {"connection_id":174080,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb2b978012d0c3d0007063120001b015e1c..."} 
[2026-09-05 09:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb2b978012d0c3d0007063120001b015e1c..."} 
[2026-09-05 09:23:18] local.INFO: Processing buffer {"connection_id":174080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb2b978012d0c3d0007063120001b015e1c..."} 
[2026-09-05 09:23:18] local.INFO: Packet analysis {"connection_id":174080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb2"} 
[2026-09-05 09:23:18] local.INFO: Extracted packet for processing {"connection_id":174080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb2"} 
[2026-09-05 09:23:18] local.INFO: GPS Element Parsed {"raw_longitude":755776768,"raw_latitude":117846304,"longitude_deg":75.5776768,"latitude_deg":11.7846304,"altitude":27,"angle":350,"satellites":28,"speed":16,"hex_longitude":"2d0c3d00","hex_latitude":"07063120","is_valid_coordinates":true} 
[2026-09-05 09:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876576768001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30305216226131968,"note":"Value kept but may cause issues"} 
[2026-09-05 09:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881861132203036672,"note":"Value kept but may cause issues"} 
[2026-09-05 09:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788580379000,"timestamp_ms":1788580379000,"timestamp_seconds":1788580379,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb2b978"} 
[2026-09-05 09:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 09:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174080,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174080,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876576768001,"66":14374,"164":206,"94":10240,"24":16,"16":30305216226131968,"45":881861132203036672},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-05 09:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876576768001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:23:18] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-05 09:23:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30305216226131968,"km_value":30305216226131.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":881861132203036672,"description":"Unknown IO ID 45"} 
[2026-09-05 09:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876576768001,"power":14374,"unknown_164":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":881861132203036672}} 
[2026-09-05 09:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":174080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767708,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:23:18] local.INFO: GPS data processed {"connection_id":174080,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:23:18] local.INFO: Acknowledgment sent {"connection_id":174080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:23:25] local.INFO: TCP Data received {"connection_id":171377,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:23:25] local.INFO: Processing buffer {"connection_id":171377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:23:25] local.INFO: IMEI packet received {"connection_id":171377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":171377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:23:30] local.INFO: TCP Data received {"connection_id":171377,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:23:30] local.INFO: Processing buffer {"connection_id":171377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:23:30] local.INFO: IMEI packet received {"connection_id":171377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":171377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:23:31] local.INFO: TCP Data received {"connection_id":171377,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb2fbe0012d7d350005ec0b40000000981e..."} 
[2026-09-05 09:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb2fbe0012d7d350005ec0b40000000981e..."} 
[2026-09-05 09:23:31] local.INFO: Processing buffer {"connection_id":171377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb2fbe0012d7d350005ec0b40000000981e..."} 
[2026-09-05 09:23:31] local.INFO: Packet analysis {"connection_id":171377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb2"} 
[2026-09-05 09:23:31] local.INFO: Extracted packet for processing {"connection_id":171377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb2"} 
[2026-09-05 09:23:31] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":0,"angle":152,"satellites":30,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876504320001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788580396000,"timestamp_ms":1788580396000,"timestamp_seconds":1788580396,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb2fbe0"} 
[2026-09-05 09:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:23:31] 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-09-05 09:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:23:31] 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-09-05 09: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-09-05 09:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876504320001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876504320001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:23:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:23:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876504320001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":171377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767709,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:23:31] local.INFO: GPS data processed {"connection_id":171377,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:23:31] local.INFO: Acknowledgment sent {"connection_id":171377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:23:33] local.INFO: TCP Data received {"connection_id":171376,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb19098012d50ac000667e768001b00812b..."} 
[2026-09-05 09:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb19098012d50ac000667e768001b00812b..."} 
[2026-09-05 09:23:33] local.INFO: Processing buffer {"connection_id":171376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb19098012d50ac000667e768001b00812b..."} 
[2026-09-05 09:23:33] local.INFO: Packet analysis {"connection_id":171376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb1"} 
[2026-09-05 09:23:33] local.INFO: Extracted packet for processing {"connection_id":171376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb1"} 
[2026-09-05 09:23:33] local.INFO: GPS Element Parsed {"raw_longitude":760261632,"raw_latitude":107472744,"longitude_deg":76.0261632,"latitude_deg":10.7472744,"altitude":27,"angle":129,"satellites":43,"speed":49,"hex_longitude":"2d50ac00","hex_latitude":"0667e768","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876555264001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399344822231498752,"note":"Value kept but may cause issues"} 
[2026-09-05 09:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5804225153520875520,"note":"Value kept but may cause issues"} 
[2026-09-05 09:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788580303000,"timestamp_ms":1788580303000,"timestamp_seconds":1788580303,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb19098"} 
[2026-09-05 09:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:23: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-09-05 09:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 09:23: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-09-05 09: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-09-05 09:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09: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-09-05 09:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876555264001,"66":27876,"79":206,"80":60416,"24":49,"16":399344822231498752,"45":5804225153520875520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,80,24,16,45]} 
[2026-09-05 09:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876555264001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:23:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-05 09:23:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399344822231498752,"km_value":399344822231498.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5804225153520875520,"description":"Unknown IO ID 45"} 
[2026-09-05 09:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876555264001,"power":27876,"unknown_79":206,"unknown_80":60416,"ignition":49,"odometer":null,"unknown_45":5804225153520875520}} 
[2026-09-05 09:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":171376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:23:33] local.INFO: GPS data processed {"connection_id":171376,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:23:33] local.INFO: Acknowledgment sent {"connection_id":171376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:23:49] local.INFO: TCP Data received {"connection_id":174080,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb2d0e8012d0c3b4007063e10001a00021c..."} 
[2026-09-05 09:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb2d0e8012d0c3b4007063e10001a00021c..."} 
[2026-09-05 09:23:49] local.INFO: Processing buffer {"connection_id":174080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb2d0e8012d0c3b4007063e10001a00021c..."} 
[2026-09-05 09:23:49] local.INFO: Packet analysis {"connection_id":174080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb2"} 
[2026-09-05 09:23:49] local.INFO: Extracted packet for processing {"connection_id":174080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb2"} 
[2026-09-05 09:23:49] local.INFO: GPS Element Parsed {"raw_longitude":755776320,"raw_latitude":117849616,"longitude_deg":75.577632,"latitude_deg":11.7849616,"altitude":26,"angle":2,"satellites":28,"speed":16,"hex_longitude":"2d0c3b40","hex_latitude":"07063e10","is_valid_coordinates":true} 
[2026-09-05 09:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876577024001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30305379434889216,"note":"Value kept but may cause issues"} 
[2026-09-05 09:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881861132203139072,"note":"Value kept but may cause issues"} 
[2026-09-05 09:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788580385000,"timestamp_ms":1788580385000,"timestamp_seconds":1788580385,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb2d0e8"} 
[2026-09-05 09:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:23:49] 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-09-05 09:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 09:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:23:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174080,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174080,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876577024001,"66":14407,"164":206,"94":10240,"24":16,"16":30305379434889216,"45":881861132203139072},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-05 09:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876577024001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:23:49] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-05 09:23:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30305379434889216,"km_value":30305379434889.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":881861132203139072,"description":"Unknown IO ID 45"} 
[2026-09-05 09:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876577024001,"power":14407,"unknown_164":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":881861132203139072}} 
[2026-09-05 09:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":174080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767711,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:23:49] local.INFO: GPS data processed {"connection_id":174080,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:23:49] local.INFO: Acknowledgment sent {"connection_id":174080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:23:57] local.INFO: TCP Data received {"connection_id":172783,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:23:57] local.INFO: Processing buffer {"connection_id":172783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:23:57] local.INFO: IMEI packet received {"connection_id":172783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":172783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:23:57] local.INFO: TCP Data received {"connection_id":172783,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:23:57] local.INFO: Processing buffer {"connection_id":172783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:23:57] local.INFO: IMEI packet received {"connection_id":172783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":172783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:24:02] local.INFO: TCP Data received {"connection_id":172783,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:24:02] local.INFO: Processing buffer {"connection_id":172783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:24:02] local.INFO: IMEI packet received {"connection_id":172783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":172783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:24:03] local.INFO: TCP Data received {"connection_id":171377,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb2fbe0012d7d350005ec0b40000000981e..."} 
[2026-09-05 09:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb2fbe0012d7d350005ec0b40000000981e..."} 
[2026-09-05 09:24:03] local.INFO: Processing buffer {"connection_id":171377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb2fbe0012d7d350005ec0b40000000981e..."} 
[2026-09-05 09:24:03] local.INFO: Packet analysis {"connection_id":171377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb2"} 
[2026-09-05 09:24:03] local.INFO: Extracted packet for processing {"connection_id":171377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb2"} 
[2026-09-05 09:24:03] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":0,"angle":152,"satellites":30,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876504320001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788580396000,"timestamp_ms":1788580396000,"timestamp_seconds":1788580396,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb2fbe0"} 
[2026-09-05 09:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:24: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-09-05 09:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:24:03] 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-09-05 09:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876504320001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876504320001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:24:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:24:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876504320001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":171377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767712,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:24:03] local.INFO: GPS data processed {"connection_id":171377,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:24:03] local.INFO: Acknowledgment sent {"connection_id":171377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:24:03] local.INFO: TCP Data received {"connection_id":172783,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb31b20012d5126800666a1e0001900bf2b..."} 
[2026-09-05 09:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb31b20012d5126800666a1e0001900bf2b..."} 
[2026-09-05 09:24:03] local.INFO: Processing buffer {"connection_id":172783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb31b20012d5126800666a1e0001900bf2b..."} 
[2026-09-05 09:24:03] local.INFO: Packet analysis {"connection_id":172783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb3"} 
[2026-09-05 09:24:03] local.INFO: Extracted packet for processing {"connection_id":172783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb3"} 
[2026-09-05 09:24:03] local.INFO: GPS Element Parsed {"raw_longitude":760292992,"raw_latitude":107389408,"longitude_deg":76.0292992,"latitude_deg":10.7389408,"altitude":25,"angle":191,"satellites":43,"speed":8,"hex_longitude":"2d512680","hex_latitude":"0666a1e0","is_valid_coordinates":true} 
[2026-09-05 09:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876580352001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399349374896832512,"note":"Value kept but may cause issues"} 
[2026-09-05 09:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5847924143633754112,"note":"Value kept but may cause issues"} 
[2026-09-05 09:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788580404000,"timestamp_ms":1788580404000,"timestamp_seconds":1788580404,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb31b20"} 
[2026-09-05 09:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:24: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-09-05 09:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 09:24: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-09-05 09:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876580352001,"66":27887,"173":206,"80":60416,"24":8,"16":399349374896832512,"45":5847924143633754112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,80,24,16,45]} 
[2026-09-05 09:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876580352001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:24:03] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-09-05 09:24:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399349374896832512,"km_value":399349374896832.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5847924143633754112,"description":"Unknown IO ID 45"} 
[2026-09-05 09:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876580352001,"power":27887,"unknown_173":206,"unknown_80":60416,"ignition":8,"odometer":null,"unknown_45":5847924143633754112}} 
[2026-09-05 09:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":172783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:24:03] local.INFO: GPS data processed {"connection_id":172783,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:24:03] local.INFO: Acknowledgment sent {"connection_id":172783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:24:05] local.INFO: TCP Data received {"connection_id":171670,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171670,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:24:05] local.INFO: Processing buffer {"connection_id":171670,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:24:05] local.INFO: IMEI packet received {"connection_id":171670,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":171670,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:24:10] local.INFO: TCP Data received {"connection_id":171670,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171670,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:24:10] local.INFO: Processing buffer {"connection_id":171670,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:24:10] local.INFO: IMEI packet received {"connection_id":171670,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":171670,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:24:11] local.INFO: TCP Data received {"connection_id":171670,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb2f7f8012d0c3c40070647c8001500121c..."} 
[2026-09-05 09:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb2f7f8012d0c3c40070647c8001500121c..."} 
[2026-09-05 09:24:11] local.INFO: Processing buffer {"connection_id":171670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb2f7f8012d0c3c40070647c8001500121c..."} 
[2026-09-05 09:24:11] local.INFO: Packet analysis {"connection_id":171670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb2"} 
[2026-09-05 09:24:11] local.INFO: Extracted packet for processing {"connection_id":171670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb2"} 
[2026-09-05 09:24:11] local.INFO: GPS Element Parsed {"raw_longitude":755776576,"raw_latitude":117852104,"longitude_deg":75.5776576,"latitude_deg":11.7852104,"altitude":21,"angle":18,"satellites":28,"speed":12,"hex_longitude":"2d0c3c40","hex_latitude":"070647c8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876578560001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30305499693973504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881368550994743296,"note":"Value kept but may cause issues"} 
[2026-09-05 09:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788580395000,"timestamp_ms":1788580395000,"timestamp_seconds":1788580395,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb2f7f8"} 
[2026-09-05 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-09-05 09:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-05 09:24:11] 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-09-05 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-09-05 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-09-05 09:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171670,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171670,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876578560001,"66":14450,"164":206,"94":10240,"24":12,"16":30305499693973504,"45":881368550994743296},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-05 09:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876578560001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:24:11] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-05 09:24:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30305499693973504,"km_value":30305499693973.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":881368550994743296,"description":"Unknown IO ID 45"} 
[2026-09-05 09:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876578560001,"power":14450,"unknown_164":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":881368550994743296}} 
[2026-09-05 09:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":171670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767714,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:24:11] local.INFO: GPS data processed {"connection_id":171670,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:24:11] local.INFO: Acknowledgment sent {"connection_id":171670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:24:25] local.INFO: TCP Data received {"connection_id":171378,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:24:25] local.INFO: Processing buffer {"connection_id":171378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:24:25] local.INFO: IMEI packet received {"connection_id":171378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":171378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:24:30] local.INFO: TCP Data received {"connection_id":171378,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:24:30] local.INFO: Processing buffer {"connection_id":171378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:24:30] local.INFO: IMEI packet received {"connection_id":171378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":171378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:24:31] local.INFO: TCP Data received {"connection_id":171378,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb2fbe0012d7d350005ec0b40000000981e..."} 
[2026-09-05 09:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb2fbe0012d7d350005ec0b40000000981e..."} 
[2026-09-05 09:24:31] local.INFO: Processing buffer {"connection_id":171378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb2fbe0012d7d350005ec0b40000000981e..."} 
[2026-09-05 09:24:31] local.INFO: Packet analysis {"connection_id":171378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb2"} 
[2026-09-05 09:24:31] local.INFO: Extracted packet for processing {"connection_id":171378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb2"} 
[2026-09-05 09:24:31] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":0,"angle":152,"satellites":30,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876504320001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788580396000,"timestamp_ms":1788580396000,"timestamp_seconds":1788580396,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb2fbe0"} 
[2026-09-05 09:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:24:31] 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-09-05 09:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:24:31] 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-09-05 09: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-09-05 09:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876504320001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876504320001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:24:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:24:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876504320001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":171378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767715,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:24:31] local.INFO: GPS data processed {"connection_id":171378,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:24:31] local.INFO: Acknowledgment sent {"connection_id":171378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:24:34] local.INFO: TCP Data received {"connection_id":172783,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb35d88012d511dc006667dd8001800c029..."} 
[2026-09-05 09:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb35d88012d511dc006667dd8001800c029..."} 
[2026-09-05 09:24:34] local.INFO: Processing buffer {"connection_id":172783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb35d88012d511dc006667dd8001800c029..."} 
[2026-09-05 09:24:34] local.INFO: Packet analysis {"connection_id":172783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb3"} 
[2026-09-05 09:24:34] local.INFO: Extracted packet for processing {"connection_id":172783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb3"} 
[2026-09-05 09:24:34] local.INFO: GPS Element Parsed {"raw_longitude":760290752,"raw_latitude":107380184,"longitude_deg":76.0290752,"latitude_deg":10.7380184,"altitude":24,"angle":192,"satellites":41,"speed":34,"hex_longitude":"2d511dc0","hex_latitude":"06667dd8","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876583424001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399349838753300480,"note":"Value kept but may cause issues"} 
[2026-09-05 09:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5847501931167211520,"note":"Value kept but may cause issues"} 
[2026-09-05 09:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788580421000,"timestamp_ms":1788580421000,"timestamp_seconds":1788580421,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb35d88"} 
[2026-09-05 09:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-05 09:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876583424001,"66":27767,"173":206,"80":60416,"24":34,"16":399349838753300480,"45":5847501931167211520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,80,24,16,45]} 
[2026-09-05 09:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876583424001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:24:34] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-09-05 09:24:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399349838753300480,"km_value":399349838753300.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5847501931167211520,"description":"Unknown IO ID 45"} 
[2026-09-05 09:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876583424001,"power":27767,"unknown_173":206,"unknown_80":60416,"ignition":34,"odometer":null,"unknown_45":5847501931167211520}} 
[2026-09-05 09:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":172783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:24:34] local.INFO: GPS data processed {"connection_id":172783,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:24:34] local.INFO: Acknowledgment sent {"connection_id":172783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:24:42] local.INFO: TCP Data received {"connection_id":171670,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb34618012d0c3ec007065168001200121d..."} 
[2026-09-05 09:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb34618012d0c3ec007065168001200121d..."} 
[2026-09-05 09:24:42] local.INFO: Processing buffer {"connection_id":171670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb34618012d0c3ec007065168001200121d..."} 
[2026-09-05 09:24:42] local.INFO: Packet analysis {"connection_id":171670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb3"} 
[2026-09-05 09:24:42] local.INFO: Extracted packet for processing {"connection_id":171670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb3"} 
[2026-09-05 09:24:42] local.INFO: GPS Element Parsed {"raw_longitude":755777216,"raw_latitude":117854568,"longitude_deg":75.5777216,"latitude_deg":11.7854568,"altitude":18,"angle":18,"satellites":29,"speed":0,"hex_longitude":"2d0c3ec0","hex_latitude":"07065168","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876581120001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30305624248025088,"note":"Value kept but may cause issues"} 
[2026-09-05 09:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881650025972090880,"note":"Value kept but may cause issues"} 
[2026-09-05 09:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788580415000,"timestamp_ms":1788580415000,"timestamp_seconds":1788580415,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb34618"} 
[2026-09-05 09:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-05 09:24:42] 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-09-05 09: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-09-05 09:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":171670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":171670,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":171670,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876581120001,"66":14396,"164":206,"94":10240,"24":0,"16":30305624248025088,"45":881650025972090880},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-05 09:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876581120001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:24:42] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-05 09:24:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30305624248025088,"km_value":30305624248025.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":881650025972090880,"description":"Unknown IO ID 45"} 
[2026-09-05 09:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876581120001,"power":14396,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":881650025972090880}} 
[2026-09-05 09:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":171670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767717,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:24:42] local.INFO: GPS data processed {"connection_id":171670,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:24:42] local.INFO: Acknowledgment sent {"connection_id":171670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:24:57] local.INFO: TCP Data received {"connection_id":171379,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:24:57] local.INFO: Processing buffer {"connection_id":171379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:24:57] local.INFO: IMEI packet received {"connection_id":171379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":171379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:25:02] local.INFO: TCP Data received {"connection_id":171379,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:25:02] local.INFO: Processing buffer {"connection_id":171379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:25:02] local.INFO: IMEI packet received {"connection_id":171379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":171379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:25:03] local.INFO: TCP Data received {"connection_id":171379,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb38498012d51158006665a38001800c02a..."} 
[2026-09-05 09:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb38498012d51158006665a38001800c02a..."} 
[2026-09-05 09:25:03] local.INFO: Processing buffer {"connection_id":171379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb38498012d51158006665a38001800c02a..."} 
[2026-09-05 09:25:03] local.INFO: Packet analysis {"connection_id":171379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb3"} 
[2026-09-05 09:25:03] local.INFO: Extracted packet for processing {"connection_id":171379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb3"} 
[2026-09-05 09:25:03] local.INFO: GPS Element Parsed {"raw_longitude":760288640,"raw_latitude":107371064,"longitude_deg":76.028864,"latitude_deg":10.7371064,"altitude":24,"angle":192,"satellites":42,"speed":35,"hex_longitude":"2d511580","hex_latitude":"06665a38","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876587776001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399350289724866560,"note":"Value kept but may cause issues"} 
[2026-09-05 09:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5845039025118631936,"note":"Value kept but may cause issues"} 
[2026-09-05 09:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788580431000,"timestamp_ms":1788580431000,"timestamp_seconds":1788580431,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb38498"} 
[2026-09-05 09:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:25: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-09-05 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 09:25: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-09-05 09: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-09-05 09:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:25: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-09-05 09:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876587776001,"66":27713,"173":206,"80":60416,"24":35,"16":399350289724866560,"45":5845039025118631936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,80,24,16,45]} 
[2026-09-05 09:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876587776001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:25:03] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-09-05 09:25:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399350289724866560,"km_value":399350289724866.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5845039025118631936,"description":"Unknown IO ID 45"} 
[2026-09-05 09:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876587776001,"power":27713,"unknown_173":206,"unknown_80":60416,"ignition":35,"odometer":null,"unknown_45":5845039025118631936}} 
[2026-09-05 09:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":171379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:25:03] local.INFO: GPS data processed {"connection_id":171379,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:25:03] local.INFO: Acknowledgment sent {"connection_id":171379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:25:03] local.INFO: TCP Data received {"connection_id":171378,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb2fbe0012d7d350005ec0b40000000981e..."} 
[2026-09-05 09:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb2fbe0012d7d350005ec0b40000000981e..."} 
[2026-09-05 09:25:03] local.INFO: Processing buffer {"connection_id":171378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb2fbe0012d7d350005ec0b40000000981e..."} 
[2026-09-05 09:25:03] local.INFO: Packet analysis {"connection_id":171378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb2"} 
[2026-09-05 09:25:03] local.INFO: Extracted packet for processing {"connection_id":171378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb2"} 
[2026-09-05 09:25:03] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":0,"angle":152,"satellites":30,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876504320001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788580396000,"timestamp_ms":1788580396000,"timestamp_seconds":1788580396,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb2fbe0"} 
[2026-09-05 09:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:25: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-09-05 09: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":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:25:03] 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-09-05 09: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-09-05 09:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876504320001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876504320001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:25:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:25:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876504320001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":171378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767719,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:25:03] local.INFO: GPS data processed {"connection_id":171378,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:25:03] local.INFO: Acknowledgment sent {"connection_id":171378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:25:05] local.INFO: TCP Data received {"connection_id":171671,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171671,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:25:05] local.INFO: Processing buffer {"connection_id":171671,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:25:05] local.INFO: IMEI packet received {"connection_id":171671,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":171671,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:25:11] local.INFO: TCP Data received {"connection_id":171671,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171671,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:25:11] local.INFO: Processing buffer {"connection_id":171671,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:25:11] local.INFO: IMEI packet received {"connection_id":171671,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":171671,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:25:12] local.INFO: TCP Data received {"connection_id":171671,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb39820012d0c3ec007065168001200121d..."} 
[2026-09-05 09:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb39820012d0c3ec007065168001200121d..."} 
[2026-09-05 09:25:12] local.INFO: Processing buffer {"connection_id":171671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb39820012d0c3ec007065168001200121d..."} 
[2026-09-05 09:25:12] local.INFO: Packet analysis {"connection_id":171671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb3"} 
[2026-09-05 09:25:12] local.INFO: Extracted packet for processing {"connection_id":171671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb3"} 
[2026-09-05 09:25:12] local.INFO: GPS Element Parsed {"raw_longitude":755777216,"raw_latitude":117854568,"longitude_deg":75.5777216,"latitude_deg":11.7854568,"altitude":18,"angle":18,"satellites":29,"speed":0,"hex_longitude":"2d0c3ec0","hex_latitude":"07065168","is_valid_coordinates":true} 
[2026-09-05 09:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876586240001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30305624248025088,"note":"Value kept but may cause issues"} 
[2026-09-05 09:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882353713414498304,"note":"Value kept but may cause issues"} 
[2026-09-05 09:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788580436000,"timestamp_ms":1788580436000,"timestamp_seconds":1788580436,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb39820"} 
[2026-09-05 09:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 09:25: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-09-05 09:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171671,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171671,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876586240001,"66":14515,"164":206,"94":10240,"24":0,"16":30305624248025088,"45":882353713414498304},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-05 09:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876586240001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:25:12] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-05 09:25:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30305624248025088,"km_value":30305624248025.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":882353713414498304,"description":"Unknown IO ID 45"} 
[2026-09-05 09:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876586240001,"power":14515,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":882353713414498304}} 
[2026-09-05 09:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":171671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767720,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:25:12] local.INFO: GPS data processed {"connection_id":171671,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:25:12] local.INFO: Acknowledgment sent {"connection_id":171671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:25:25] local.INFO: TCP Data received {"connection_id":172784,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:25:25] local.INFO: Processing buffer {"connection_id":172784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:25:25] local.INFO: IMEI packet received {"connection_id":172784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":172784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:25:30] local.INFO: TCP Data received {"connection_id":172784,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:25:30] local.INFO: Processing buffer {"connection_id":172784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:25:30] local.INFO: IMEI packet received {"connection_id":172784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":172784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:25:31] local.INFO: TCP Data received {"connection_id":172784,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb2fbe0012d7d350005ec0b40000000981e..."} 
[2026-09-05 09:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb2fbe0012d7d350005ec0b40000000981e..."} 
[2026-09-05 09:25:31] local.INFO: Processing buffer {"connection_id":172784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb2fbe0012d7d350005ec0b40000000981e..."} 
[2026-09-05 09:25:31] local.INFO: Packet analysis {"connection_id":172784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb2"} 
[2026-09-05 09:25:31] local.INFO: Extracted packet for processing {"connection_id":172784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb2"} 
[2026-09-05 09:25:31] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":0,"angle":152,"satellites":30,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876504320001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788580396000,"timestamp_ms":1788580396000,"timestamp_seconds":1788580396,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb2fbe0"} 
[2026-09-05 09:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:25:31] 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-09-05 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:25:31] 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-09-05 09: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-09-05 09:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876504320001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876504320001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:25:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:25:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876504320001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":172784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767721,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:25:31] local.INFO: GPS data processed {"connection_id":172784,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:25:31] local.INFO: Acknowledgment sent {"connection_id":172784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:25:43] local.INFO: TCP Data received {"connection_id":171671,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb3ea28012d0c3ec007065168001200121d..."} 
[2026-09-05 09:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb3ea28012d0c3ec007065168001200121d..."} 
[2026-09-05 09:25:43] local.INFO: Processing buffer {"connection_id":171671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb3ea28012d0c3ec007065168001200121d..."} 
[2026-09-05 09:25:43] local.INFO: Packet analysis {"connection_id":171671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb3"} 
[2026-09-05 09:25:43] local.INFO: Extracted packet for processing {"connection_id":171671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb3"} 
[2026-09-05 09:25:43] local.INFO: GPS Element Parsed {"raw_longitude":755777216,"raw_latitude":117854568,"longitude_deg":75.5777216,"latitude_deg":11.7854568,"altitude":18,"angle":18,"satellites":29,"speed":0,"hex_longitude":"2d0c3ec0","hex_latitude":"07065168","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876591616001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30305624248025088,"note":"Value kept but may cause issues"} 
[2026-09-05 09:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882353713414498304,"note":"Value kept but may cause issues"} 
[2026-09-05 09:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788580457000,"timestamp_ms":1788580457000,"timestamp_seconds":1788580457,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb3ea28"} 
[2026-09-05 09:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:25: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-09-05 09: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-05 09:25:43] 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-09-05 09: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-09-05 09:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":171671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":171671,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":171671,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876591616001,"66":14396,"164":206,"94":10240,"24":0,"16":30305624248025088,"45":882353713414498304},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-05 09:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876591616001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:25:43] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-05 09:25:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30305624248025088,"km_value":30305624248025.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":882353713414498304,"description":"Unknown IO ID 45"} 
[2026-09-05 09:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876591616001,"power":14396,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":882353713414498304}} 
[2026-09-05 09:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":171671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767722,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:25:43] local.INFO: GPS data processed {"connection_id":171671,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:25:43] local.INFO: Acknowledgment sent {"connection_id":171671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:26:02] local.INFO: TCP Data received {"connection_id":171672,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171672,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:26:02] local.INFO: Processing buffer {"connection_id":171672,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:26:02] local.INFO: IMEI packet received {"connection_id":171672,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":171672,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:26:03] local.INFO: TCP Data received {"connection_id":172784,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb2fbe0012d7d350005ec0b40000000981e..."} 
[2026-09-05 09:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb2fbe0012d7d350005ec0b40000000981e..."} 
[2026-09-05 09:26:03] local.INFO: Processing buffer {"connection_id":172784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb2fbe0012d7d350005ec0b40000000981e..."} 
[2026-09-05 09:26:03] local.INFO: Packet analysis {"connection_id":172784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb2"} 
[2026-09-05 09:26:03] local.INFO: Extracted packet for processing {"connection_id":172784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb2"} 
[2026-09-05 09:26:03] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":0,"angle":152,"satellites":30,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876504320001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788580396000,"timestamp_ms":1788580396000,"timestamp_seconds":1788580396,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb2fbe0"} 
[2026-09-05 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-09-05 09:26: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-09-05 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:26:03] 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-09-05 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-09-05 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-09-05 09:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876504320001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876504320001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:26:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:26:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876504320001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":172784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767723,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:26:03] local.INFO: GPS data processed {"connection_id":172784,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:26:03] local.INFO: Acknowledgment sent {"connection_id":172784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:26:04] local.INFO: TCP Data received {"connection_id":171672,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171672,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:26:04] local.INFO: Processing buffer {"connection_id":171672,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:26:04] local.INFO: IMEI packet received {"connection_id":171672,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":171672,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:26:05] local.INFO: TCP Data received {"connection_id":171672,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171672,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:26:05] local.INFO: Processing buffer {"connection_id":171672,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:26:05] local.INFO: IMEI packet received {"connection_id":171672,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":171672,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:26:11] local.INFO: TCP Data received {"connection_id":171672,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171672,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:26:11] local.INFO: Processing buffer {"connection_id":171672,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:26:11] local.INFO: IMEI packet received {"connection_id":171672,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":171672,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:26:11] local.INFO: TCP Data received {"connection_id":171672,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb43c30012d0c3f00070651a8001200171e..."} 
[2026-09-05 09:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb43c30012d0c3f00070651a8001200171e..."} 
[2026-09-05 09:26:11] local.INFO: Processing buffer {"connection_id":171672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb43c30012d0c3f00070651a8001200171e..."} 
[2026-09-05 09:26:11] local.INFO: Packet analysis {"connection_id":171672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb4"} 
[2026-09-05 09:26:11] local.INFO: Extracted packet for processing {"connection_id":171672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb4"} 
[2026-09-05 09:26:11] local.INFO: GPS Element Parsed {"raw_longitude":755777280,"raw_latitude":117854632,"longitude_deg":75.577728,"latitude_deg":11.7854632,"altitude":18,"angle":23,"satellites":30,"speed":0,"hex_longitude":"2d0c3f00","hex_latitude":"070651a8","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876596992001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30305641427894272,"note":"Value kept but may cause issues"} 
[2026-09-05 09:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882353713414498304,"note":"Value kept but may cause issues"} 
[2026-09-05 09:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788580478000,"timestamp_ms":1788580478000,"timestamp_seconds":1788580478,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb43c30"} 
[2026-09-05 09:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:26: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-09-05 09: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":60,"data_length":795,"current_offset":136} 
[2026-09-05 09:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171672,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171672,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876596992001,"66":14374,"164":206,"94":10240,"24":0,"16":30305641427894272,"45":882353713414498304},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-05 09:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876596992001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:26:11] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-05 09:26:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30305641427894272,"km_value":30305641427894.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":882353713414498304,"description":"Unknown IO ID 45"} 
[2026-09-05 09:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876596992001,"power":14374,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":882353713414498304}} 
[2026-09-05 09:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":171672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767724,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:26:12] local.INFO: GPS data processed {"connection_id":171672,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:26:12] local.INFO: Acknowledgment sent {"connection_id":171672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:26:12] local.INFO: TCP Data received {"connection_id":171673,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:26:12] local.INFO: Processing buffer {"connection_id":171673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:26:12] local.INFO: IMEI packet received {"connection_id":171673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":171673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:26:17] local.INFO: TCP Data received {"connection_id":171673,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:26:17] local.INFO: Processing buffer {"connection_id":171673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:26:17] local.INFO: IMEI packet received {"connection_id":171673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":171673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:26:18] local.INFO: TCP Data received {"connection_id":171673,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb4f3c8012d5252400665b830000b005e2c..."} 
[2026-09-05 09:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb4f3c8012d5252400665b830000b005e2c..."} 
[2026-09-05 09:26:18] local.INFO: Processing buffer {"connection_id":171673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb4f3c8012d5252400665b830000b005e2c..."} 
[2026-09-05 09:26:18] local.INFO: Packet analysis {"connection_id":171673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb4"} 
[2026-09-05 09:26:18] local.INFO: Extracted packet for processing {"connection_id":171673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb4"} 
[2026-09-05 09:26:18] local.INFO: GPS Element Parsed {"raw_longitude":760369728,"raw_latitude":107329584,"longitude_deg":76.0369728,"latitude_deg":10.7329584,"altitude":11,"angle":94,"satellites":44,"speed":42,"hex_longitude":"2d525240","hex_latitude":"0665b830","is_valid_coordinates":true} 
[2026-09-05 09:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876613376001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399355246117126144,"note":"Value kept but may cause issues"} 
[2026-09-05 09:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5927018612072890368,"note":"Value kept but may cause issues"} 
[2026-09-05 09:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788580525000,"timestamp_ms":1788580525000,"timestamp_seconds":1788580525,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb4f3c8"} 
[2026-09-05 09:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 09:26:18] 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-09-05 09:26:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":171673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":171673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":171673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:26:18] 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-09-05 09:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876613376001,"66":27865,"77":206,"80":60416,"24":42,"16":399355246117126144,"45":5927018612072890368},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,80,24,16,45]} 
[2026-09-05 09:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876613376001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:26:18] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-05 09:26:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399355246117126144,"km_value":399355246117126.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5927018612072890368,"description":"Unknown IO ID 45"} 
[2026-09-05 09:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876613376001,"power":27865,"unknown_77":206,"unknown_80":60416,"ignition":42,"odometer":null,"unknown_45":5927018612072890368}} 
[2026-09-05 09:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":171673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:26:18] local.INFO: GPS data processed {"connection_id":171673,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:26:18] local.INFO: Acknowledgment sent {"connection_id":171673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:26:31] local.INFO: TCP Data received {"connection_id":171381,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:26:31] local.INFO: Processing buffer {"connection_id":171381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:26:31] local.INFO: IMEI packet received {"connection_id":171381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":171381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:26:35] local.INFO: TCP Data received {"connection_id":171381,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:26:35] local.INFO: Processing buffer {"connection_id":171381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:26:35] local.INFO: IMEI packet received {"connection_id":171381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":171381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:26:36] local.INFO: TCP Data received {"connection_id":171381,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb2fbe0012d7d350005ec0b40000000981e..."} 
[2026-09-05 09:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb2fbe0012d7d350005ec0b40000000981e..."} 
[2026-09-05 09:26:36] local.INFO: Processing buffer {"connection_id":171381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb2fbe0012d7d350005ec0b40000000981e..."} 
[2026-09-05 09:26:36] local.INFO: Packet analysis {"connection_id":171381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb2"} 
[2026-09-05 09:26:36] local.INFO: Extracted packet for processing {"connection_id":171381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb2"} 
[2026-09-05 09:26:36] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":0,"angle":152,"satellites":30,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876504320001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788580396000,"timestamp_ms":1788580396000,"timestamp_seconds":1788580396,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb2fbe0"} 
[2026-09-05 09:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 09:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:26:36] 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-09-05 09: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-09-05 09:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876504320001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876504320001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:26:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:26:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876504320001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":171381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767726,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:26:36] local.INFO: GPS data processed {"connection_id":171381,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:26:36] local.INFO: Acknowledgment sent {"connection_id":171381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:26:41] local.INFO: TCP Data received {"connection_id":171381,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb2fbe0012d7d350005ec0b40000000981e..."} 
[2026-09-05 09:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb2fbe0012d7d350005ec0b40000000981e..."} 
[2026-09-05 09:26:41] local.INFO: Processing buffer {"connection_id":171381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb2fbe0012d7d350005ec0b40000000981e..."} 
[2026-09-05 09:26:41] local.INFO: Packet analysis {"connection_id":171381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb2"} 
[2026-09-05 09:26:41] local.INFO: Extracted packet for processing {"connection_id":171381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb2"} 
[2026-09-05 09:26:41] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":0,"angle":152,"satellites":30,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876504320001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788580396000,"timestamp_ms":1788580396000,"timestamp_seconds":1788580396,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb2fbe0"} 
[2026-09-05 09:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 09:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:26:41] 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-09-05 09: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-09-05 09:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":171381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":171381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":171381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876504320001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876504320001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:26:41] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:26:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876504320001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":171381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767727,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:26:41] local.INFO: GPS data processed {"connection_id":171381,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:26:41] local.INFO: Acknowledgment sent {"connection_id":171381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:26:43] local.INFO: TCP Data received {"connection_id":171672,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb5e5f8012d0c510007063eb0001500781f..."} 
[2026-09-05 09:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb5e5f8012d0c510007063eb0001500781f..."} 
[2026-09-05 09:26:43] local.INFO: Processing buffer {"connection_id":171672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb5e5f8012d0c510007063eb0001500781f..."} 
[2026-09-05 09:26:43] local.INFO: Packet analysis {"connection_id":171672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb5"} 
[2026-09-05 09:26:43] local.INFO: Extracted packet for processing {"connection_id":171672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb5"} 
[2026-09-05 09:26:43] local.INFO: GPS Element Parsed {"raw_longitude":755781888,"raw_latitude":117849776,"longitude_deg":75.5781888,"latitude_deg":11.7849776,"altitude":21,"angle":120,"satellites":31,"speed":17,"hex_longitude":"2d0c5100","hex_latitude":"07063eb0","is_valid_coordinates":true} 
[2026-09-05 09:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876626688001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30306088104493056,"note":"Value kept but may cause issues"} 
[2026-09-05 09:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882072238436921344,"note":"Value kept but may cause issues"} 
[2026-09-05 09:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788580587000,"timestamp_ms":1788580587000,"timestamp_seconds":1788580587,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb5e5f8"} 
[2026-09-05 09:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:26:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 09:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":171672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":171672,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":171672,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:26:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876626688001,"66":14439,"220":206,"94":10240,"24":17,"16":30306088104493056,"45":882072238436921344},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-05 09:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876626688001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:26:43] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-05 09:26:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30306088104493056,"km_value":30306088104493.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":882072238436921344,"description":"Unknown IO ID 45"} 
[2026-09-05 09:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876626688001,"power":14439,"unknown_220":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":882072238436921344}} 
[2026-09-05 09:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":171672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767728,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:26:43] local.INFO: GPS data processed {"connection_id":171672,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:26:43] local.INFO: Acknowledgment sent {"connection_id":171672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:27:02] local.INFO: TCP Data received {"connection_id":171382,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:27:02] local.INFO: Processing buffer {"connection_id":171382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:27:02] local.INFO: IMEI packet received {"connection_id":171382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":171382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:27:03] local.INFO: TCP Data received {"connection_id":171382,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:27:03] local.INFO: Processing buffer {"connection_id":171382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:27:03] local.INFO: IMEI packet received {"connection_id":171382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":171382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:27:05] local.INFO: TCP Data received {"connection_id":171383,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171383,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:27:05] local.INFO: Processing buffer {"connection_id":171383,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:27:05] local.INFO: IMEI packet received {"connection_id":171383,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":171383,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:27:06] local.INFO: TCP Data received {"connection_id":171382,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb516f0012d5277400665b760000c005b2b..."} 
[2026-09-05 09:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb516f0012d5277400665b760000c005b2b..."} 
[2026-09-05 09:27:06] local.INFO: Processing buffer {"connection_id":171382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb516f0012d5277400665b760000c005b2b..."} 
[2026-09-05 09:27:06] local.INFO: Packet analysis {"connection_id":171382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb5"} 
[2026-09-05 09:27:06] local.INFO: Extracted packet for processing {"connection_id":171382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb5"} 
[2026-09-05 09:27:06] local.INFO: GPS Element Parsed {"raw_longitude":760379200,"raw_latitude":107329376,"longitude_deg":76.03792,"latitude_deg":10.7329376,"altitude":12,"angle":91,"satellites":43,"speed":40,"hex_longitude":"2d527740","hex_latitude":"0665b760","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876614400001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399355697088692224,"note":"Value kept but may cause issues"} 
[2026-09-05 09:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5931874055420915712,"note":"Value kept but may cause issues"} 
[2026-09-05 09:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788580534000,"timestamp_ms":1788580534000,"timestamp_seconds":1788580534,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb516f0"} 
[2026-09-05 09:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 09:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:27:06] 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-09-05 09:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876614400001,"66":27995,"182":206,"80":60416,"24":40,"16":399355697088692224,"45":5931874055420915712},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,80,24,16,45]} 
[2026-09-05 09:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876614400001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:27:06] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-05 09:27:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399355697088692224,"km_value":399355697088692.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5931874055420915712,"description":"Unknown IO ID 45"} 
[2026-09-05 09:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876614400001,"power":27995,"unknown_182":206,"unknown_80":60416,"ignition":40,"odometer":null,"unknown_45":5931874055420915712}} 
[2026-09-05 09:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":171382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:27:06] local.INFO: GPS data processed {"connection_id":171382,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:27:06] local.INFO: Acknowledgment sent {"connection_id":171382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:27:07] local.INFO: TCP Data received {"connection_id":171382,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb55188012d529c400665b2a8000c00652c..."} 
[2026-09-05 09:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb55188012d529c400665b2a8000c00652c..."} 
[2026-09-05 09:27:07] local.INFO: Processing buffer {"connection_id":171382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb55188012d529c400665b2a8000c00652c..."} 
[2026-09-05 09:27:07] local.INFO: Packet analysis {"connection_id":171382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb5"} 
[2026-09-05 09:27:07] local.INFO: Extracted packet for processing {"connection_id":171382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb5"} 
[2026-09-05 09:27:07] local.INFO: GPS Element Parsed {"raw_longitude":760388672,"raw_latitude":107328168,"longitude_deg":76.0388672,"latitude_deg":10.7328168,"altitude":12,"angle":101,"satellites":44,"speed":22,"hex_longitude":"2d529c40","hex_latitude":"0665b2a8","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876616704001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399356152355225600,"note":"Value kept but may cause issues"} 
[2026-09-05 09:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5942288629559156736,"note":"Value kept but may cause issues"} 
[2026-09-05 09:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788580549000,"timestamp_ms":1788580549000,"timestamp_seconds":1788580549,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb55188"} 
[2026-09-05 09:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:27: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-09-05 09: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 09:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:27:07] 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-09-05 09:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876616704001,"66":27930,"182":206,"80":60416,"24":22,"16":399356152355225600,"45":5942288629559156736},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,80,24,16,45]} 
[2026-09-05 09:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876616704001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:27:07] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-05 09:27:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399356152355225600,"km_value":399356152355225.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5942288629559156736,"description":"Unknown IO ID 45"} 
[2026-09-05 09:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876616704001,"power":27930,"unknown_182":206,"unknown_80":60416,"ignition":22,"odometer":null,"unknown_45":5942288629559156736}} 
[2026-09-05 09:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":171382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:27:07] local.INFO: GPS data processed {"connection_id":171382,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:27:07] local.INFO: Acknowledgment sent {"connection_id":171382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:27:10] local.INFO: TCP Data received {"connection_id":171383,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171383,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:27:10] local.INFO: Processing buffer {"connection_id":171383,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:27:10] local.INFO: IMEI packet received {"connection_id":171383,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":171383,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:27:10] local.INFO: TCP Data received {"connection_id":171383,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb5f1b0012d0c560007063b18001600851f..."} 
[2026-09-05 09:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb5f1b0012d0c560007063b18001600851f..."} 
[2026-09-05 09:27:10] local.INFO: Processing buffer {"connection_id":171383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb5f1b0012d0c560007063b18001600851f..."} 
[2026-09-05 09:27:10] local.INFO: Packet analysis {"connection_id":171383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb5"} 
[2026-09-05 09:27:10] local.INFO: Extracted packet for processing {"connection_id":171383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb5"} 
[2026-09-05 09:27:10] local.INFO: GPS Element Parsed {"raw_longitude":755783168,"raw_latitude":117848856,"longitude_deg":75.5783168,"latitude_deg":11.7848856,"altitude":22,"angle":133,"satellites":31,"speed":20,"hex_longitude":"2d0c5600","hex_latitude":"07063b18","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876630272001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30306165413904384,"note":"Value kept but may cause issues"} 
[2026-09-05 09:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887490631738241024,"note":"Value kept but may cause issues"} 
[2026-09-05 09:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788580590000,"timestamp_ms":1788580590000,"timestamp_seconds":1788580590,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb5f1b0"} 
[2026-09-05 09:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:27: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-09-05 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-05 09:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171383,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171383,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876630272001,"66":14102,"220":206,"94":10240,"24":20,"16":30306165413904384,"45":887490631738241024},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-05 09:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876630272001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:27:10] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-05 09:27:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30306165413904384,"km_value":30306165413904.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":887490631738241024,"description":"Unknown IO ID 45"} 
[2026-09-05 09:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876630272001,"power":14102,"unknown_220":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":887490631738241024}} 
[2026-09-05 09:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":171383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767731,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:27:10] local.INFO: GPS data processed {"connection_id":171383,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:27:10] local.INFO: Acknowledgment sent {"connection_id":171383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:27:23] local.INFO: TCP Data received {"connection_id":172785,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 09:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 09:27:23] local.INFO: Processing buffer {"connection_id":172785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 09:27:23] local.INFO: IMEI packet received {"connection_id":172785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 09:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":172785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:27:24] local.INFO: TCP Data received {"connection_id":171675,"ip":"194.187.176.196","data_length":277,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-05 09:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171675,"packet_length":277,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-05 09:27:24] local.INFO: Processing buffer {"connection_id":171675,"buffer_length":277,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-05 09:27:24] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":171675,"buffer_length":277,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-09-05 09:27:25] local.INFO: TCP Data received {"connection_id":171674,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:27:25] local.INFO: Processing buffer {"connection_id":171674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:27:25] local.INFO: IMEI packet received {"connection_id":171674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":171674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:27:30] local.INFO: TCP Data received {"connection_id":171674,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:27:30] local.INFO: Processing buffer {"connection_id":171674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:27:30] local.INFO: IMEI packet received {"connection_id":171674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":171674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:27:31] local.INFO: TCP Data received {"connection_id":171674,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb2fbe0012d7d350005ec0b40000000981e..."} 
[2026-09-05 09:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb2fbe0012d7d350005ec0b40000000981e..."} 
[2026-09-05 09:27:31] local.INFO: Processing buffer {"connection_id":171674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb2fbe0012d7d350005ec0b40000000981e..."} 
[2026-09-05 09:27:31] local.INFO: Packet analysis {"connection_id":171674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb2"} 
[2026-09-05 09:27:31] local.INFO: Extracted packet for processing {"connection_id":171674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb2"} 
[2026-09-05 09:27:31] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":0,"angle":152,"satellites":30,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876504320001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788580396000,"timestamp_ms":1788580396000,"timestamp_seconds":1788580396,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb2fbe0"} 
[2026-09-05 09:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:27:31] 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-09-05 09:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:27:31] 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-09-05 09: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-09-05 09:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876504320001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876504320001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:27:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:27:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876504320001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":171674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:27:31] local.INFO: GPS data processed {"connection_id":171674,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:27:31] local.INFO: Acknowledgment sent {"connection_id":171674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:27:39] local.INFO: TCP Data received {"connection_id":171382,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb58068012d52c2400665aa58000b00632c..."} 
[2026-09-05 09:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb58068012d52c2400665aa58000b00632c..."} 
[2026-09-05 09:27:39] local.INFO: Processing buffer {"connection_id":171382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb58068012d52c2400665aa58000b00632c..."} 
[2026-09-05 09:27:39] local.INFO: Packet analysis {"connection_id":171382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb5"} 
[2026-09-05 09:27:39] local.INFO: Extracted packet for processing {"connection_id":171382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb5"} 
[2026-09-05 09:27:39] local.INFO: GPS Element Parsed {"raw_longitude":760398400,"raw_latitude":107326040,"longitude_deg":76.03984,"latitude_deg":10.732604,"altitude":11,"angle":99,"satellites":44,"speed":42,"hex_longitude":"2d52c240","hex_latitude":"0665aa58","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876620544001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399356629096595456,"note":"Value kept but may cause issues"} 
[2026-09-05 09:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5952703203697141760,"note":"Value kept but may cause issues"} 
[2026-09-05 09:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788580561000,"timestamp_ms":1788580561000,"timestamp_seconds":1788580561,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb58068"} 
[2026-09-05 09:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:27:39] 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-09-05 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 09:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:27:39] 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-09-05 09:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876620544001,"66":27865,"182":206,"80":60416,"24":42,"16":399356629096595456,"45":5952703203697141760},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,80,24,16,45]} 
[2026-09-05 09:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876620544001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:27:39] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-05 09:27:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399356629096595456,"km_value":399356629096595.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":5952703203697141760,"description":"Unknown IO ID 45"} 
[2026-09-05 09:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876620544001,"power":27865,"unknown_182":206,"unknown_80":60416,"ignition":42,"odometer":null,"unknown_45":5952703203697141760}} 
[2026-09-05 09:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":171382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:27:39] local.INFO: GPS data processed {"connection_id":171382,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:27:39] local.INFO: Acknowledgment sent {"connection_id":171382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:27:41] local.INFO: TCP Data received {"connection_id":171383,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb60538012d0c5d0007063340001600911f..."} 
[2026-09-05 09:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb60538012d0c5d0007063340001600911f..."} 
[2026-09-05 09:27:41] local.INFO: Processing buffer {"connection_id":171383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb60538012d0c5d0007063340001600911f..."} 
[2026-09-05 09:27:41] local.INFO: Packet analysis {"connection_id":171383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb6"} 
[2026-09-05 09:27:41] local.INFO: Extracted packet for processing {"connection_id":171383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb6"} 
[2026-09-05 09:27:41] local.INFO: GPS Element Parsed {"raw_longitude":755784960,"raw_latitude":117846848,"longitude_deg":75.578496,"latitude_deg":11.7846848,"altitude":22,"angle":145,"satellites":31,"speed":22,"hex_longitude":"2d0c5d00","hex_latitude":"07063340","is_valid_coordinates":true} 
[2026-09-05 09:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876631040001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30306294262923264,"note":"Value kept but may cause issues"} 
[2026-09-05 09:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888898006621558784,"note":"Value kept but may cause issues"} 
[2026-09-05 09:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788580595000,"timestamp_ms":1788580595000,"timestamp_seconds":1788580595,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb60538"} 
[2026-09-05 09:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:27: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-09-05 09:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-05 09:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":171383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":171383,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":171383,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876631040001,"66":14428,"220":206,"94":10240,"24":22,"16":30306294262923264,"45":888898006621558784},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-05 09:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876631040001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:27:41] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-05 09:27:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30306294262923264,"km_value":30306294262923.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":888898006621558784,"description":"Unknown IO ID 45"} 
[2026-09-05 09:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876631040001,"power":14428,"unknown_220":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":888898006621558784}} 
[2026-09-05 09:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":171383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767734,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:27:41] local.INFO: GPS data processed {"connection_id":171383,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:27:41] local.INFO: Acknowledgment sent {"connection_id":171383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:27:57] local.INFO: TCP Data received {"connection_id":172786,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:27:57] local.INFO: Processing buffer {"connection_id":172786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:27:57] local.INFO: IMEI packet received {"connection_id":172786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":172786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:27:58] local.INFO: TCP Data received {"connection_id":172786,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:27:58] local.INFO: Processing buffer {"connection_id":172786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:27:58] local.INFO: IMEI packet received {"connection_id":172786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":172786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:28:01] local.INFO: TCP Data received {"connection_id":172786,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb70320012d54544006660410000b00602b..."} 
[2026-09-05 09:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb70320012d54544006660410000b00602b..."} 
[2026-09-05 09:28:01] local.INFO: Processing buffer {"connection_id":172786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb70320012d54544006660410000b00602b..."} 
[2026-09-05 09:28:01] local.INFO: Packet analysis {"connection_id":172786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:28:01] local.INFO: Extracted packet for processing {"connection_id":172786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:28:01] local.INFO: GPS Element Parsed {"raw_longitude":760501312,"raw_latitude":107349008,"longitude_deg":76.0501312,"latitude_deg":10.7349008,"altitude":11,"angle":96,"satellites":43,"speed":32,"hex_longitude":"2d545440","hex_latitude":"06660410","is_valid_coordinates":true} 
[2026-09-05 09:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876644352001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399361765877481472,"note":"Value kept but may cause issues"} 
[2026-09-05 09:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6066067250572763136,"note":"Value kept but may cause issues"} 
[2026-09-05 09:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788580660000,"timestamp_ms":1788580660000,"timestamp_seconds":1788580660,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb70320"} 
[2026-09-05 09:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 09:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:28:01] 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-09-05 09:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876644352001,"66":27865,"193":206,"80":60416,"24":32,"16":399361765877481472,"45":6066067250572763136},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,80,24,16,45]} 
[2026-09-05 09:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876644352001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:28:01] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-05 09:28:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399361765877481472,"km_value":399361765877481.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6066067250572763136,"description":"Unknown IO ID 45"} 
[2026-09-05 09:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876644352001,"power":27865,"unknown_193":206,"unknown_80":60416,"ignition":32,"odometer":null,"unknown_45":6066067250572763136}} 
[2026-09-05 09:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":172786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:28:01] local.INFO: GPS data processed {"connection_id":172786,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:28:01] local.INFO: Acknowledgment sent {"connection_id":172786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:28:02] local.INFO: TCP Data received {"connection_id":171674,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb2fbe0012d7d350005ec0b40000000981e..."} 
[2026-09-05 09:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb2fbe0012d7d350005ec0b40000000981e..."} 
[2026-09-05 09:28:02] local.INFO: Processing buffer {"connection_id":171674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb2fbe0012d7d350005ec0b40000000981e..."} 
[2026-09-05 09:28:02] local.INFO: Packet analysis {"connection_id":171674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb2"} 
[2026-09-05 09:28:02] local.INFO: Extracted packet for processing {"connection_id":171674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb2"} 
[2026-09-05 09:28:02] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":0,"angle":152,"satellites":30,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876504320001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788580396000,"timestamp_ms":1788580396000,"timestamp_seconds":1788580396,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb2fbe0"} 
[2026-09-05 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-09-05 09:28:02] 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-09-05 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 09:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876504320001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876504320001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:28:02] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:28:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876504320001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":171674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767736,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:28:03] local.INFO: GPS data processed {"connection_id":171674,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:28:03] local.INFO: Acknowledgment sent {"connection_id":171674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:28:03] local.INFO: TCP Data received {"connection_id":172786,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb70320012d54544006660410000b00602b..."} 
[2026-09-05 09:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb70320012d54544006660410000b00602b..."} 
[2026-09-05 09:28:03] local.INFO: Processing buffer {"connection_id":172786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb70320012d54544006660410000b00602b..."} 
[2026-09-05 09:28:03] local.INFO: Packet analysis {"connection_id":172786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:28:03] local.INFO: Extracted packet for processing {"connection_id":172786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:28:03] local.INFO: GPS Element Parsed {"raw_longitude":760501312,"raw_latitude":107349008,"longitude_deg":76.0501312,"latitude_deg":10.7349008,"altitude":11,"angle":96,"satellites":43,"speed":32,"hex_longitude":"2d545440","hex_latitude":"06660410","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876648960001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399361765877481472,"note":"Value kept but may cause issues"} 
[2026-09-05 09:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6076552193455165440,"note":"Value kept but may cause issues"} 
[2026-09-05 09:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788580660000,"timestamp_ms":1788580660000,"timestamp_seconds":1788580660,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb70320"} 
[2026-09-05 09:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:28: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-09-05 09: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":217,"data_length":795,"current_offset":136} 
[2026-09-05 09:28: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-09-05 09: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-09-05 09:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:28: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-09-05 09:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876648960001,"66":27865,"193":206,"80":60416,"24":32,"16":399361765877481472,"45":6076552193455165440},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,80,24,16,45]} 
[2026-09-05 09:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876648960001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:28:03] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-05 09:28:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399361765877481472,"km_value":399361765877481.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6076552193455165440,"description":"Unknown IO ID 45"} 
[2026-09-05 09:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876648960001,"power":27865,"unknown_193":206,"unknown_80":60416,"ignition":32,"odometer":null,"unknown_45":6076552193455165440}} 
[2026-09-05 09:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":172786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:28:03] local.INFO: GPS data processed {"connection_id":172786,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:28:03] local.INFO: Acknowledgment sent {"connection_id":172786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:28:06] local.INFO: TCP Data received {"connection_id":171384,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171384,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:28:06] local.INFO: Processing buffer {"connection_id":171384,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:28:06] local.INFO: IMEI packet received {"connection_id":171384,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":171384,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:28:06] local.INFO: TCP Data received {"connection_id":171384,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171384,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:28:06] local.INFO: Processing buffer {"connection_id":171384,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:28:06] local.INFO: IMEI packet received {"connection_id":171384,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":171384,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:28:08] local.INFO: TCP Data received {"connection_id":174081,"ip":"94.154.43.87","data_length":211,"data_hex":"474554202f2e2e2532462e2e2532462e2e2532462e2e2532462e2e2532462e2e..."} 
[2026-09-05 09:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174081,"packet_length":211,"packet_hex":"474554202f2e2e2532462e2e2532462e2e2532462e2e2532462e2e2532462e2e..."} 
[2026-09-05 09:28:08] local.INFO: Processing buffer {"connection_id":174081,"buffer_length":211,"buffer_hex":"474554202f2e2e2532462e2e2532462e2e2532462e2e2532462e2e2532462e2e..."} 
[2026-09-05 09:28:08] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":174081,"buffer_length":211,"first_bytes_hex":"474554202f2e2e2532462e2e2532462e"} 
[2026-09-05 09:28:11] local.INFO: TCP Data received {"connection_id":171384,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171384,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:28:11] local.INFO: Processing buffer {"connection_id":171384,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:28:11] local.INFO: IMEI packet received {"connection_id":171384,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":171384,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:28:11] local.INFO: TCP Data received {"connection_id":171384,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb65358012d0c71c0070619980014008e1f..."} 
[2026-09-05 09:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb65358012d0c71c0070619980014008e1f..."} 
[2026-09-05 09:28:11] local.INFO: Processing buffer {"connection_id":171384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb65358012d0c71c0070619980014008e1f..."} 
[2026-09-05 09:28:11] local.INFO: Packet analysis {"connection_id":171384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb6"} 
[2026-09-05 09:28:11] local.INFO: Extracted packet for processing {"connection_id":171384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb6"} 
[2026-09-05 09:28:11] local.INFO: GPS Element Parsed {"raw_longitude":755790272,"raw_latitude":117840280,"longitude_deg":75.5790272,"latitude_deg":11.784028,"altitude":20,"angle":142,"satellites":31,"speed":12,"hex_longitude":"2d0c71c0","hex_latitude":"07061998","is_valid_coordinates":true} 
[2026-09-05 09:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876632320001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30306702284816384,"note":"Value kept but may cause issues"} 
[2026-09-05 09:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":890868331458019328,"note":"Value kept but may cause issues"} 
[2026-09-05 09:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788580615000,"timestamp_ms":1788580615000,"timestamp_seconds":1788580615,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb65358"} 
[2026-09-05 09:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:28: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-09-05 09:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 09:28: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-09-05 09:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876632320001,"66":14439,"220":206,"94":10240,"24":12,"16":30306702284816384,"45":890868331458019328},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-05 09:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876632320001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:28:11] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-05 09:28:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30306702284816384,"km_value":30306702284816.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":890868331458019328,"description":"Unknown IO ID 45"} 
[2026-09-05 09:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876632320001,"power":14439,"unknown_220":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":890868331458019328}} 
[2026-09-05 09:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":171384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767738,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:28:12] local.INFO: GPS data processed {"connection_id":171384,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:28:12] local.INFO: Acknowledgment sent {"connection_id":171384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:28:25] local.INFO: TCP Data received {"connection_id":171676,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:28:25] local.INFO: Processing buffer {"connection_id":171676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:28:25] local.INFO: IMEI packet received {"connection_id":171676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":171676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:28:31] local.INFO: TCP Data received {"connection_id":171676,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:28:31] local.INFO: Processing buffer {"connection_id":171676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:28:31] local.INFO: IMEI packet received {"connection_id":171676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":171676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:28:32] local.INFO: TCP Data received {"connection_id":171676,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb793a8012d7d350005ec0b40000100981c..."} 
[2026-09-05 09:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb793a8012d7d350005ec0b40000100981c..."} 
[2026-09-05 09:28:32] local.INFO: Processing buffer {"connection_id":171676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb793a8012d7d350005ec0b40000100981c..."} 
[2026-09-05 09:28:32] local.INFO: Packet analysis {"connection_id":171676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:28:32] local.INFO: Extracted packet for processing {"connection_id":171676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:28:32] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":28,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876581376001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788580697000,"timestamp_ms":1788580697000,"timestamp_seconds":1788580697,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb793a8"} 
[2026-09-05 09:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 09:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:28:32] 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-09-05 09: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-09-05 09:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876581376001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876581376001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:28:32] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:28:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876581376001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":171676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767739,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:28:32] local.INFO: GPS data processed {"connection_id":171676,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:28:32] local.INFO: Acknowledgment sent {"connection_id":171676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:28:35] local.INFO: TCP Data received {"connection_id":172786,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb72260012d5470000665fdb0000c006d2c..."} 
[2026-09-05 09:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb72260012d5470000665fdb0000c006d2c..."} 
[2026-09-05 09:28:35] local.INFO: Processing buffer {"connection_id":172786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb72260012d5470000665fdb0000c006d2c..."} 
[2026-09-05 09:28:35] local.INFO: Packet analysis {"connection_id":172786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:28:35] local.INFO: Extracted packet for processing {"connection_id":172786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:28:35] local.INFO: GPS Element Parsed {"raw_longitude":760508416,"raw_latitude":107347376,"longitude_deg":76.0508416,"latitude_deg":10.7347376,"altitude":12,"angle":109,"satellites":44,"speed":36,"hex_longitude":"2d547000","hex_latitude":"0665fdb0","is_valid_coordinates":true} 
[2026-09-05 09:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876648960001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399362113769832448,"note":"Value kept but may cause issues"} 
[2026-09-05 09:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6076552193455165440,"note":"Value kept but may cause issues"} 
[2026-09-05 09:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788580668000,"timestamp_ms":1788580668000,"timestamp_seconds":1788580668,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb72260"} 
[2026-09-05 09:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:28:35] 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-09-05 09:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 09:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:28:35] 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-09-05 09:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876648960001,"66":27908,"193":206,"80":60416,"24":36,"16":399362113769832448,"45":6076552193455165440},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,80,24,16,45]} 
[2026-09-05 09:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876648960001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:28:35] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-05 09:28:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399362113769832448,"km_value":399362113769832.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6076552193455165440,"description":"Unknown IO ID 45"} 
[2026-09-05 09:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876648960001,"power":27908,"unknown_193":206,"unknown_80":60416,"ignition":36,"odometer":null,"unknown_45":6076552193455165440}} 
[2026-09-05 09:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":172786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:28:35] local.INFO: GPS data processed {"connection_id":172786,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:28:35] local.INFO: Acknowledgment sent {"connection_id":172786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:28:42] local.INFO: TCP Data received {"connection_id":171384,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb79f60012d0cb8800705cd98001600951f..."} 
[2026-09-05 09:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb79f60012d0cb8800705cd98001600951f..."} 
[2026-09-05 09:28:42] local.INFO: Processing buffer {"connection_id":171384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb79f60012d0cb8800705cd98001600951f..."} 
[2026-09-05 09:28:42] local.INFO: Packet analysis {"connection_id":171384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:28:42] local.INFO: Extracted packet for processing {"connection_id":171384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:28:42] local.INFO: GPS Element Parsed {"raw_longitude":755808384,"raw_latitude":117820824,"longitude_deg":75.5808384,"latitude_deg":11.7820824,"altitude":22,"angle":149,"satellites":31,"speed":12,"hex_longitude":"2d0cb880","hex_latitude":"0705cd98","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876658688001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30307999364939776,"note":"Value kept but may cause issues"} 
[2026-09-05 09:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916201079355451392,"note":"Value kept but may cause issues"} 
[2026-09-05 09:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788580700000,"timestamp_ms":1788580700000,"timestamp_seconds":1788580700,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb79f60"} 
[2026-09-05 09:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:28: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-09-05 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 09:28:42] 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-09-05 09: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-09-05 09:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":171384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":171384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":171384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876658688001,"66":14211,"220":206,"94":10240,"24":12,"16":30307999364939776,"45":916201079355451392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-05 09:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876658688001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:28:42] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-05 09:28:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30307999364939776,"km_value":30307999364939.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":916201079355451392,"description":"Unknown IO ID 45"} 
[2026-09-05 09:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876658688001,"power":14211,"unknown_220":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":916201079355451392}} 
[2026-09-05 09:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":171384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767741,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:28:43] local.INFO: GPS data processed {"connection_id":171384,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:28:43] local.INFO: Acknowledgment sent {"connection_id":171384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:28:56] local.INFO: TCP Data received {"connection_id":171677,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:28:56] local.INFO: Processing buffer {"connection_id":171677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:28:56] local.INFO: IMEI packet received {"connection_id":171677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":171677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:29:00] local.INFO: TCP Data received {"connection_id":171677,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:29:00] local.INFO: Processing buffer {"connection_id":171677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:29:00] local.INFO: IMEI packet received {"connection_id":171677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":171677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:29:01] local.INFO: TCP Data received {"connection_id":171677,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb73200012d547dc00665f6c8000d007a2a..."} 
[2026-09-05 09:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb73200012d547dc00665f6c8000d007a2a..."} 
[2026-09-05 09:29:01] local.INFO: Processing buffer {"connection_id":171677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb73200012d547dc00665f6c8000d007a2a..."} 
[2026-09-05 09:29:01] local.INFO: Packet analysis {"connection_id":171677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:29:01] local.INFO: Extracted packet for processing {"connection_id":171677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:29:01] local.INFO: GPS Element Parsed {"raw_longitude":760511936,"raw_latitude":107345608,"longitude_deg":76.0511936,"latitude_deg":10.7345608,"altitude":13,"angle":122,"satellites":42,"speed":39,"hex_longitude":"2d547dc0","hex_latitude":"0665f6c8","is_valid_coordinates":true} 
[2026-09-05 09:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876651008001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399362298453426176,"note":"Value kept but may cause issues"} 
[2026-09-05 09:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6084363124058468352,"note":"Value kept but may cause issues"} 
[2026-09-05 09:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788580672000,"timestamp_ms":1788580672000,"timestamp_seconds":1788580672,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb73200"} 
[2026-09-05 09:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 09:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:29:01] 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-09-05 09:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876651008001,"66":27767,"191":206,"80":60416,"24":39,"16":399362298453426176,"45":6084363124058468352},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,80,24,16,45]} 
[2026-09-05 09:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876651008001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:29:01] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-05 09:29:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399362298453426176,"km_value":399362298453426.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6084363124058468352,"description":"Unknown IO ID 45"} 
[2026-09-05 09:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876651008001,"power":27767,"unknown_191":206,"unknown_80":60416,"ignition":39,"odometer":null,"unknown_45":6084363124058468352}} 
[2026-09-05 09:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":171677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:29:01] local.INFO: GPS data processed {"connection_id":171677,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:29:01] local.INFO: Acknowledgment sent {"connection_id":171677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:29:03] local.INFO: TCP Data received {"connection_id":171676,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb793a8012d7d350005ec0b40000100981c..."} 
[2026-09-05 09:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb793a8012d7d350005ec0b40000100981c..."} 
[2026-09-05 09:29:03] local.INFO: Processing buffer {"connection_id":171676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb793a8012d7d350005ec0b40000100981c..."} 
[2026-09-05 09:29:03] local.INFO: Packet analysis {"connection_id":171676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:29:03] local.INFO: Extracted packet for processing {"connection_id":171676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:29:03] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":28,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876581376001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788580697000,"timestamp_ms":1788580697000,"timestamp_seconds":1788580697,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb793a8"} 
[2026-09-05 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-09-05 09:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:29:03] 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-09-05 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-09-05 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-09-05 09:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876581376001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876581376001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:29:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:29:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876581376001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":171676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767743,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:29:03] local.INFO: GPS data processed {"connection_id":171676,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:29:03] local.INFO: Acknowledgment sent {"connection_id":171676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:29:10] local.INFO: TCP Data received {"connection_id":172787,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172787,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:29:10] local.INFO: Processing buffer {"connection_id":172787,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:29:10] local.INFO: IMEI packet received {"connection_id":172787,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":172787,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:29:14] local.INFO: TCP Data received {"connection_id":172787,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172787,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:29:14] local.INFO: Processing buffer {"connection_id":172787,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:29:14] local.INFO: IMEI packet received {"connection_id":172787,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":172787,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:29:15] local.INFO: TCP Data received {"connection_id":172787,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb7ab18012d0cba800705c978001500a01f..."} 
[2026-09-05 09:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb7ab18012d0cba800705c978001500a01f..."} 
[2026-09-05 09:29:15] local.INFO: Processing buffer {"connection_id":172787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb7ab18012d0cba800705c978001500a01f..."} 
[2026-09-05 09:29:15] local.INFO: Packet analysis {"connection_id":172787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:29:15] local.INFO: Extracted packet for processing {"connection_id":172787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:29:15] local.INFO: GPS Element Parsed {"raw_longitude":755808896,"raw_latitude":117819768,"longitude_deg":75.5808896,"latitude_deg":11.7819768,"altitude":21,"angle":160,"satellites":31,"speed":18,"hex_longitude":"2d0cba80","hex_latitude":"0705c978","is_valid_coordinates":true} 
[2026-09-05 09:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876659200001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30308055199514624,"note":"Value kept but may cause issues"} 
[2026-09-05 09:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916623291820382208,"note":"Value kept but may cause issues"} 
[2026-09-05 09:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788580703000,"timestamp_ms":1788580703000,"timestamp_seconds":1788580703,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb7ab18"} 
[2026-09-05 09:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-05 09:29:15] 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-09-05 09:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172787,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172787,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876659200001,"66":14309,"220":206,"94":10240,"24":18,"16":30308055199514624,"45":916623291820382208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-05 09:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876659200001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:29:15] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-05 09:29:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30308055199514624,"km_value":30308055199514.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":916623291820382208,"description":"Unknown IO ID 45"} 
[2026-09-05 09:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876659200001,"power":14309,"unknown_220":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":916623291820382208}} 
[2026-09-05 09:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":172787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767744,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:29:15] local.INFO: GPS data processed {"connection_id":172787,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:29:15] local.INFO: Acknowledgment sent {"connection_id":172787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:29:16] local.INFO: TCP Data received {"connection_id":172787,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb7bab8012d0cbc000705c2b0001400ae1f..."} 
[2026-09-05 09:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb7bab8012d0cbc000705c2b0001400ae1f..."} 
[2026-09-05 09:29:16] local.INFO: Processing buffer {"connection_id":172787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb7bab8012d0cbc000705c2b0001400ae1f..."} 
[2026-09-05 09:29:16] local.INFO: Packet analysis {"connection_id":172787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:29:16] local.INFO: Extracted packet for processing {"connection_id":172787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:29:16] local.INFO: GPS Element Parsed {"raw_longitude":755809280,"raw_latitude":117818032,"longitude_deg":75.580928,"latitude_deg":11.7818032,"altitude":20,"angle":174,"satellites":31,"speed":17,"hex_longitude":"2d0cbc00","hex_latitude":"0705c2b0","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876659968001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30308141098860544,"note":"Value kept but may cause issues"} 
[2026-09-05 09:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":917186241773533184,"note":"Value kept but may cause issues"} 
[2026-09-05 09:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788580707000,"timestamp_ms":1788580707000,"timestamp_seconds":1788580707,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb7bab8"} 
[2026-09-05 09:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:29: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-09-05 09: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-05 09:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":172787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":172787,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":172787,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876659968001,"66":13678,"220":206,"94":10240,"24":17,"16":30308141098860544,"45":917186241773533184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-05 09:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876659968001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:29:16] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-05 09:29:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30308141098860544,"km_value":30308141098860.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":917186241773533184,"description":"Unknown IO ID 45"} 
[2026-09-05 09:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876659968001,"power":13678,"unknown_220":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":917186241773533184}} 
[2026-09-05 09:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":172787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767745,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:29:16] local.INFO: GPS data processed {"connection_id":172787,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:29:16] local.INFO: Acknowledgment sent {"connection_id":172787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:29:25] local.INFO: TCP Data received {"connection_id":174082,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:29:25] local.INFO: Processing buffer {"connection_id":174082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:29:25] local.INFO: IMEI packet received {"connection_id":174082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":174082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:29:30] local.INFO: TCP Data received {"connection_id":174082,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:29:30] local.INFO: Processing buffer {"connection_id":174082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:29:30] local.INFO: IMEI packet received {"connection_id":174082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":174082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:29:31] local.INFO: TCP Data received {"connection_id":174082,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb793a8012d7d350005ec0b40000100981c..."} 
[2026-09-05 09:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb793a8012d7d350005ec0b40000100981c..."} 
[2026-09-05 09:29:31] local.INFO: Processing buffer {"connection_id":174082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb793a8012d7d350005ec0b40000100981c..."} 
[2026-09-05 09:29:31] local.INFO: Packet analysis {"connection_id":174082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:29:31] local.INFO: Extracted packet for processing {"connection_id":174082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:29:31] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":28,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876581376001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788580697000,"timestamp_ms":1788580697000,"timestamp_seconds":1788580697,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb793a8"} 
[2026-09-05 09:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:29:31] 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-09-05 09: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-09-05 09:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876581376001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876581376001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:29:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:29:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876581376001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":174082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767746,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:29:31] local.INFO: GPS data processed {"connection_id":174082,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:29:31] local.INFO: Acknowledgment sent {"connection_id":174082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:29:33] local.INFO: TCP Data received {"connection_id":171677,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb84f28012d54f8c00664bb28001400932a..."} 
[2026-09-05 09:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb84f28012d54f8c00664bb28001400932a..."} 
[2026-09-05 09:29:33] local.INFO: Processing buffer {"connection_id":171677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb84f28012d54f8c00664bb28001400932a..."} 
[2026-09-05 09:29:33] local.INFO: Packet analysis {"connection_id":171677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb8"} 
[2026-09-05 09:29:33] local.INFO: Extracted packet for processing {"connection_id":171677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb8"} 
[2026-09-05 09:29:33] local.INFO: GPS Element Parsed {"raw_longitude":760543424,"raw_latitude":107264808,"longitude_deg":76.0543424,"latitude_deg":10.7264808,"altitude":20,"angle":147,"satellites":42,"speed":52,"hex_longitude":"2d54f8c0","hex_latitude":"0664bb28","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876669440001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399366584830787584,"note":"Value kept but may cause issues"} 
[2026-09-05 09:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6119547496127670272,"note":"Value kept but may cause issues"} 
[2026-09-05 09:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788580745000,"timestamp_ms":1788580745000,"timestamp_seconds":1788580745,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb84f28"} 
[2026-09-05 09:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:29: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-09-05 09: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 09:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876669440001,"66":27767,"192":206,"80":60416,"24":52,"16":399366584830787584,"45":6119547496127670272},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,80,24,16,45]} 
[2026-09-05 09:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876669440001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:29:33] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-05 09:29:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399366584830787584,"km_value":399366584830787.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6119547496127670272,"description":"Unknown IO ID 45"} 
[2026-09-05 09:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876669440001,"power":27767,"unknown_192":206,"unknown_80":60416,"ignition":52,"odometer":null,"unknown_45":6119547496127670272}} 
[2026-09-05 09:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":171677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:29:33] local.INFO: GPS data processed {"connection_id":171677,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:29:33] local.INFO: Acknowledgment sent {"connection_id":171677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:29:48] local.INFO: TCP Data received {"connection_id":172787,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb89d48012d0c6d4007058e28002000da20..."} 
[2026-09-05 09:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb89d48012d0c6d4007058e28002000da20..."} 
[2026-09-05 09:29:48] local.INFO: Processing buffer {"connection_id":172787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb89d48012d0c6d4007058e28002000da20..."} 
[2026-09-05 09:29:48] local.INFO: Packet analysis {"connection_id":172787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb8"} 
[2026-09-05 09:29:48] local.INFO: Extracted packet for processing {"connection_id":172787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb8"} 
[2026-09-05 09:29:48] local.INFO: GPS Element Parsed {"raw_longitude":755789120,"raw_latitude":117804584,"longitude_deg":75.578912,"latitude_deg":11.7804584,"altitude":32,"angle":218,"satellites":32,"speed":20,"hex_longitude":"2d0c6d40","hex_latitude":"07058e28","is_valid_coordinates":true} 
[2026-09-05 09:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876675584001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30309571322970112,"note":"Value kept but may cause issues"} 
[2026-09-05 09:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895794143539750912,"note":"Value kept but may cause issues"} 
[2026-09-05 09:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788580765000,"timestamp_ms":1788580765000,"timestamp_seconds":1788580765,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb89d48"} 
[2026-09-05 09:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:29:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-05 09:29:48] 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-09-05 09:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":172787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":172787,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":172787,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876675584001,"66":13722,"220":206,"94":10240,"24":20,"16":30309571322970112,"45":895794143539750912},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-05 09:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876675584001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:29:48] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-05 09:29:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30309571322970112,"km_value":30309571322970.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":895794143539750912,"description":"Unknown IO ID 45"} 
[2026-09-05 09:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876675584001,"power":13722,"unknown_220":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":895794143539750912}} 
[2026-09-05 09:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":172787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767748,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:29:48] local.INFO: GPS data processed {"connection_id":172787,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:29:48] local.INFO: Acknowledgment sent {"connection_id":172787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:29:57] local.INFO: TCP Data received {"connection_id":174083,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:29:57] local.INFO: Processing buffer {"connection_id":174083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:29:57] local.INFO: IMEI packet received {"connection_id":174083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":174083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:30:02] local.INFO: TCP Data received {"connection_id":174083,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:30:02] local.INFO: Processing buffer {"connection_id":174083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:30:02] local.INFO: IMEI packet received {"connection_id":174083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":174083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:30:03] local.INFO: TCP Data received {"connection_id":174083,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb86a80012d550d8006649e880017008e2c..."} 
[2026-09-05 09:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb86a80012d550d8006649e880017008e2c..."} 
[2026-09-05 09:30:03] local.INFO: Processing buffer {"connection_id":174083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb86a80012d550d8006649e880017008e2c..."} 
[2026-09-05 09:30:03] local.INFO: Packet analysis {"connection_id":174083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb8"} 
[2026-09-05 09:30:03] local.INFO: Extracted packet for processing {"connection_id":174083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb8"} 
[2026-09-05 09:30:03] local.INFO: GPS Element Parsed {"raw_longitude":760548736,"raw_latitude":107257480,"longitude_deg":76.0548736,"latitude_deg":10.725748,"altitude":23,"angle":142,"satellites":44,"speed":48,"hex_longitude":"2d550d80","hex_latitude":"06649e88","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876670720001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399367018622484480,"note":"Value kept but may cause issues"} 
[2026-09-05 09:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6122854827102513152,"note":"Value kept but may cause issues"} 
[2026-09-05 09:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788580752000,"timestamp_ms":1788580752000,"timestamp_seconds":1788580752,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb86a80"} 
[2026-09-05 09:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:30: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-09-05 09: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-09-05 09: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-09-05 09: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-09-05 09:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:30: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-09-05 09:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876670720001,"66":27843,"192":206,"80":60416,"24":48,"16":399367018622484480,"45":6122854827102513152},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,80,24,16,45]} 
[2026-09-05 09:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876670720001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:30:03] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-05 09:30:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399367018622484480,"km_value":399367018622484.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6122854827102513152,"description":"Unknown IO ID 45"} 
[2026-09-05 09:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876670720001,"power":27843,"unknown_192":206,"unknown_80":60416,"ignition":48,"odometer":null,"unknown_45":6122854827102513152}} 
[2026-09-05 09:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":174083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:30:03] local.INFO: GPS data processed {"connection_id":174083,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:30:03] local.INFO: Acknowledgment sent {"connection_id":174083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:30:03] local.INFO: TCP Data received {"connection_id":174082,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb793a8012d7d350005ec0b40000100981c..."} 
[2026-09-05 09:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb793a8012d7d350005ec0b40000100981c..."} 
[2026-09-05 09:30:03] local.INFO: Processing buffer {"connection_id":174082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb793a8012d7d350005ec0b40000100981c..."} 
[2026-09-05 09:30:03] local.INFO: Packet analysis {"connection_id":174082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:30:03] local.INFO: Extracted packet for processing {"connection_id":174082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:30:03] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":28,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876581376001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788580697000,"timestamp_ms":1788580697000,"timestamp_seconds":1788580697,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb793a8"} 
[2026-09-05 09:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:30:03] 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-09-05 09: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-09-05 09:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876581376001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876581376001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:30:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:30:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876581376001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":174082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767750,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:30:03] local.INFO: GPS data processed {"connection_id":174082,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:30:03] local.INFO: Acknowledgment sent {"connection_id":174082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:30:05] local.INFO: TCP Data received {"connection_id":174084,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174084,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:30:05] local.INFO: Processing buffer {"connection_id":174084,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:30:05] local.INFO: IMEI packet received {"connection_id":174084,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":174084,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:30:11] local.INFO: TCP Data received {"connection_id":174084,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174084,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:30:11] local.INFO: Processing buffer {"connection_id":174084,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:30:11] local.INFO: IMEI packet received {"connection_id":174084,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":174084,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:30:11] local.INFO: TCP Data received {"connection_id":174084,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb8a130012d0c6b8007058cf8002000ef20..."} 
[2026-09-05 09:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb8a130012d0c6b8007058cf8002000ef20..."} 
[2026-09-05 09:30:11] local.INFO: Processing buffer {"connection_id":174084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb8a130012d0c6b8007058cf8002000ef20..."} 
[2026-09-05 09:30:11] local.INFO: Packet analysis {"connection_id":174084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb8"} 
[2026-09-05 09:30:11] local.INFO: Extracted packet for processing {"connection_id":174084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb8"} 
[2026-09-05 09:30:11] local.INFO: GPS Element Parsed {"raw_longitude":755788672,"raw_latitude":117804280,"longitude_deg":75.5788672,"latitude_deg":11.780428,"altitude":32,"angle":239,"satellites":32,"speed":22,"hex_longitude":"2d0c6b80","hex_latitude":"07058cf8","is_valid_coordinates":true} 
[2026-09-05 09:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876675840001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30309597092773888,"note":"Value kept but may cause issues"} 
[2026-09-05 09:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895442299818747904,"note":"Value kept but may cause issues"} 
[2026-09-05 09:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788580766000,"timestamp_ms":1788580766000,"timestamp_seconds":1788580766,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb8a130"} 
[2026-09-05 09:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:30: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-09-05 09:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-05 09:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174084,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174084,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876675840001,"66":14374,"220":206,"94":10240,"24":22,"16":30309597092773888,"45":895442299818747904},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-05 09:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876675840001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:30:11] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-05 09:30:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30309597092773888,"km_value":30309597092773.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":895442299818747904,"description":"Unknown IO ID 45"} 
[2026-09-05 09:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876675840001,"power":14374,"unknown_220":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":895442299818747904}} 
[2026-09-05 09:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":174084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767751,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:30:11] local.INFO: GPS data processed {"connection_id":174084,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:30:11] local.INFO: Acknowledgment sent {"connection_id":174084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:30:25] local.INFO: TCP Data received {"connection_id":171385,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:30:25] local.INFO: Processing buffer {"connection_id":171385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:30:25] local.INFO: IMEI packet received {"connection_id":171385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":171385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:30:30] local.INFO: TCP Data received {"connection_id":171385,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:30:30] local.INFO: Processing buffer {"connection_id":171385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:30:30] local.INFO: IMEI packet received {"connection_id":171385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":171385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:30:31] local.INFO: TCP Data received {"connection_id":171385,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb793a8012d7d350005ec0b40000100981c..."} 
[2026-09-05 09:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb793a8012d7d350005ec0b40000100981c..."} 
[2026-09-05 09:30:31] local.INFO: Processing buffer {"connection_id":171385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb793a8012d7d350005ec0b40000100981c..."} 
[2026-09-05 09:30:31] local.INFO: Packet analysis {"connection_id":171385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:30:31] local.INFO: Extracted packet for processing {"connection_id":171385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:30:31] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":28,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876581376001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788580697000,"timestamp_ms":1788580697000,"timestamp_seconds":1788580697,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb793a8"} 
[2026-09-05 09:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:30:31] 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-09-05 09: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-09-05 09:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876581376001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876581376001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:30:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:30:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876581376001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":171385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767752,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:30:31] local.INFO: GPS data processed {"connection_id":171385,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:30:31] local.INFO: Acknowledgment sent {"connection_id":171385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:30:34] local.INFO: TCP Data received {"connection_id":174083,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb889c0012d55244006648018001c008d2a..."} 
[2026-09-05 09:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb889c0012d55244006648018001c008d2a..."} 
[2026-09-05 09:30:34] local.INFO: Processing buffer {"connection_id":174083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb889c0012d55244006648018001c008d2a..."} 
[2026-09-05 09:30:34] local.INFO: Packet analysis {"connection_id":174083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb8"} 
[2026-09-05 09:30:34] local.INFO: Extracted packet for processing {"connection_id":174083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb8"} 
[2026-09-05 09:30:34] local.INFO: GPS Element Parsed {"raw_longitude":760554560,"raw_latitude":107249688,"longitude_deg":76.055456,"latitude_deg":10.7249688,"altitude":28,"angle":141,"satellites":42,"speed":47,"hex_longitude":"2d552440","hex_latitude":"06648018","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876672512001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399367491068887040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6128695432867383296,"note":"Value kept but may cause issues"} 
[2026-09-05 09:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788580760000,"timestamp_ms":1788580760000,"timestamp_seconds":1788580760,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb889c0"} 
[2026-09-05 09:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 09:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:30:34] 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-09-05 09:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876672512001,"66":27865,"192":206,"80":60416,"24":47,"16":399367491068887040,"45":6128695432867383296},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,80,24,16,45]} 
[2026-09-05 09:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876672512001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:30:34] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-05 09:30:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399367491068887040,"km_value":399367491068887.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6128695432867383296,"description":"Unknown IO ID 45"} 
[2026-09-05 09:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876672512001,"power":27865,"unknown_192":206,"unknown_80":60416,"ignition":47,"odometer":null,"unknown_45":6128695432867383296}} 
[2026-09-05 09:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":174083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:30:34] local.INFO: GPS data processed {"connection_id":174083,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:30:34] local.INFO: Acknowledgment sent {"connection_id":174083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:30:44] local.INFO: TCP Data received {"connection_id":174084,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb8a900012d0c658007058b00001f00fb20..."} 
[2026-09-05 09:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb8a900012d0c658007058b00001f00fb20..."} 
[2026-09-05 09:30:44] local.INFO: Processing buffer {"connection_id":174084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb8a900012d0c658007058b00001f00fb20..."} 
[2026-09-05 09:30:44] local.INFO: Packet analysis {"connection_id":174084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb8"} 
[2026-09-05 09:30:44] local.INFO: Extracted packet for processing {"connection_id":174084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb8"} 
[2026-09-05 09:30:44] local.INFO: GPS Element Parsed {"raw_longitude":755787136,"raw_latitude":117803776,"longitude_deg":75.5787136,"latitude_deg":11.7803776,"altitude":31,"angle":251,"satellites":32,"speed":31,"hex_longitude":"2d0c6580","hex_latitude":"07058b00","is_valid_coordinates":true} 
[2026-09-05 09:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876676096001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30309674402185216,"note":"Value kept but may cause issues"} 
[2026-09-05 09:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894949718609426432,"note":"Value kept but may cause issues"} 
[2026-09-05 09:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788580768000,"timestamp_ms":1788580768000,"timestamp_seconds":1788580768,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb8a900"} 
[2026-09-05 09:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 09:30:44] 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-09-05 09:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":174084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":174084,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":174084,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876676096001,"66":14309,"220":206,"94":10240,"24":31,"16":30309674402185216,"45":894949718609426432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-05 09:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876676096001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:30:44] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-05 09:30:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30309674402185216,"km_value":30309674402185.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":894949718609426432,"description":"Unknown IO ID 45"} 
[2026-09-05 09:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876676096001,"power":14309,"unknown_220":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_45":894949718609426432}} 
[2026-09-05 09:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":174084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767754,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:30:44] local.INFO: GPS data processed {"connection_id":174084,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:30:44] local.INFO: Acknowledgment sent {"connection_id":174084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:30:57] local.INFO: TCP Data received {"connection_id":171386,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:30:57] local.INFO: Processing buffer {"connection_id":171386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:30:57] local.INFO: IMEI packet received {"connection_id":171386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":171386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:30:58] local.INFO: TCP Data received {"connection_id":171386,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:30:58] local.INFO: Processing buffer {"connection_id":171386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:30:58] local.INFO: IMEI packet received {"connection_id":171386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":171386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:31:03] local.INFO: TCP Data received {"connection_id":171385,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb793a8012d7d350005ec0b40000100981c..."} 
[2026-09-05 09:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb793a8012d7d350005ec0b40000100981c..."} 
[2026-09-05 09:31:03] local.INFO: Processing buffer {"connection_id":171385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb793a8012d7d350005ec0b40000100981c..."} 
[2026-09-05 09:31:03] local.INFO: Packet analysis {"connection_id":171385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:31:03] local.INFO: Extracted packet for processing {"connection_id":171385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:31:03] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":28,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876581376001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788580697000,"timestamp_ms":1788580697000,"timestamp_seconds":1788580697,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb793a8"} 
[2026-09-05 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-09-05 09:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:31:03] 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-09-05 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-09-05 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-09-05 09:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876581376001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876581376001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:31:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:31:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876581376001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":171385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767755,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:31:03] local.INFO: GPS data processed {"connection_id":171385,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:31:03] local.INFO: Acknowledgment sent {"connection_id":171385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:31:06] local.INFO: TCP Data received {"connection_id":171386,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:31:06] local.INFO: Processing buffer {"connection_id":171386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:31:06] local.INFO: IMEI packet received {"connection_id":171386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":171386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:31:07] local.INFO: TCP Data received {"connection_id":171386,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb9b2a0012d5659c0066380e8000b007e2b..."} 
[2026-09-05 09:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb9b2a0012d5659c0066380e8000b007e2b..."} 
[2026-09-05 09:31:07] local.INFO: Processing buffer {"connection_id":171386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb9b2a0012d5659c0066380e8000b007e2b..."} 
[2026-09-05 09:31:07] local.INFO: Packet analysis {"connection_id":171386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb9"} 
[2026-09-05 09:31:07] local.INFO: Extracted packet for processing {"connection_id":171386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb9"} 
[2026-09-05 09:31:07] local.INFO: GPS Element Parsed {"raw_longitude":760633792,"raw_latitude":107184360,"longitude_deg":76.0633792,"latitude_deg":10.718436,"altitude":11,"angle":126,"satellites":43,"speed":53,"hex_longitude":"2d5659c0","hex_latitude":"066380e8","is_valid_coordinates":true} 
[2026-09-05 09:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876692224001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399372481820884992,"note":"Value kept but may cause issues"} 
[2026-09-05 09:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6213560138328399872,"note":"Value kept but may cause issues"} 
[2026-09-05 09:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788580836000,"timestamp_ms":1788580836000,"timestamp_seconds":1788580836,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb9b2a0"} 
[2026-09-05 09:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:31: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-09-05 09:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 09:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:31:07] 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-09-05 09:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876692224001,"66":27908,"202":206,"80":60416,"24":53,"16":399372481820884992,"45":6213560138328399872},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,80,24,16,45]} 
[2026-09-05 09:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876692224001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:31:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399372481820884992,"km_value":399372481820885.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6213560138328399872,"description":"Unknown IO ID 45"} 
[2026-09-05 09:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876692224001,"power":27908,"mcc":206,"unknown_80":60416,"ignition":53,"odometer":null,"unknown_45":6213560138328399872}} 
[2026-09-05 09:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":171386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:31:07] local.INFO: GPS data processed {"connection_id":171386,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:31:07] local.INFO: Acknowledgment sent {"connection_id":171386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:31:25] local.INFO: TCP Data received {"connection_id":174085,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174085,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:31:25] local.INFO: Processing buffer {"connection_id":174085,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:31:25] local.INFO: IMEI packet received {"connection_id":174085,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":174085,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:31:30] local.INFO: TCP Data received {"connection_id":174085,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174085,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:31:30] local.INFO: Processing buffer {"connection_id":174085,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:31:30] local.INFO: IMEI packet received {"connection_id":174085,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":174085,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:31:32] local.INFO: TCP Data received {"connection_id":174085,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb793a8012d7d350005ec0b40000100981c..."} 
[2026-09-05 09:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb793a8012d7d350005ec0b40000100981c..."} 
[2026-09-05 09:31:32] local.INFO: Processing buffer {"connection_id":174085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb793a8012d7d350005ec0b40000100981c..."} 
[2026-09-05 09:31:32] local.INFO: Packet analysis {"connection_id":174085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:31:32] local.INFO: Extracted packet for processing {"connection_id":174085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:31:32] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":28,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876581376001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788580697000,"timestamp_ms":1788580697000,"timestamp_seconds":1788580697,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb793a8"} 
[2026-09-05 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-09-05 09:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:31:32] 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-09-05 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-09-05 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-09-05 09:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876581376001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876581376001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:31:32] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:31:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876581376001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":174085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767757,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:31:32] local.INFO: GPS data processed {"connection_id":174085,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:31:32] local.INFO: Acknowledgment sent {"connection_id":174085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:31:38] local.INFO: TCP Data received {"connection_id":171679,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171679,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:31:38] local.INFO: Processing buffer {"connection_id":171679,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:31:38] local.INFO: IMEI packet received {"connection_id":171679,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":171679,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:31:38] local.INFO: TCP Data received {"connection_id":171386,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb9c240012d566b40066375f8000c00712d..."} 
[2026-09-05 09:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb9c240012d566b40066375f8000c00712d..."} 
[2026-09-05 09:31:38] local.INFO: Processing buffer {"connection_id":171386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb9c240012d566b40066375f8000c00712d..."} 
[2026-09-05 09:31:38] local.INFO: Packet analysis {"connection_id":171386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb9"} 
[2026-09-05 09:31:38] local.INFO: Extracted packet for processing {"connection_id":171386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb9"} 
[2026-09-05 09:31:38] local.INFO: GPS Element Parsed {"raw_longitude":760638272,"raw_latitude":107181560,"longitude_deg":76.0638272,"latitude_deg":10.718156,"altitude":12,"angle":113,"satellites":45,"speed":51,"hex_longitude":"2d566b40","hex_latitude":"066375f8","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876694016001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399372735223955456,"note":"Value kept but may cause issues"} 
[2026-09-05 09:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6222215493860780032,"note":"Value kept but may cause issues"} 
[2026-09-05 09:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788580840000,"timestamp_ms":1788580840000,"timestamp_seconds":1788580840,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb9c240"} 
[2026-09-05 09:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:31: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-09-05 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 09:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:31:38] 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-09-05 09:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876694016001,"66":27930,"202":206,"80":60416,"24":51,"16":399372735223955456,"45":6222215493860780032},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,80,24,16,45]} 
[2026-09-05 09:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876694016001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:31:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399372735223955456,"km_value":399372735223955.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6222215493860780032,"description":"Unknown IO ID 45"} 
[2026-09-05 09:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876694016001,"power":27930,"mcc":206,"unknown_80":60416,"ignition":51,"odometer":null,"unknown_45":6222215493860780032}} 
[2026-09-05 09:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":171386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:31:38] local.INFO: GPS data processed {"connection_id":171386,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:31:38] local.INFO: Acknowledgment sent {"connection_id":171386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:31:41] local.INFO: TCP Data received {"connection_id":171679,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171679,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:31:41] local.INFO: Processing buffer {"connection_id":171679,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:31:41] local.INFO: IMEI packet received {"connection_id":171679,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":171679,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:31:46] local.INFO: TCP Data received {"connection_id":171679,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171679,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:31:46] local.INFO: Processing buffer {"connection_id":171679,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:31:46] local.INFO: IMEI packet received {"connection_id":171679,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":171679,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:31:46] local.INFO: TCP Data received {"connection_id":171679,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fba52c8012d0c3d8007057f88001b00d822..."} 
[2026-09-05 09:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fba52c8012d0c3d8007057f88001b00d822..."} 
[2026-09-05 09:31:46] local.INFO: Processing buffer {"connection_id":171679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fba52c8012d0c3d8007057f88001b00d822..."} 
[2026-09-05 09:31:46] local.INFO: Packet analysis {"connection_id":171679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fba"} 
[2026-09-05 09:31:46] local.INFO: Extracted packet for processing {"connection_id":171679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fba"} 
[2026-09-05 09:31:46] local.INFO: GPS Element Parsed {"raw_longitude":755776896,"raw_latitude":117800840,"longitude_deg":75.5776896,"latitude_deg":11.780084,"altitude":27,"angle":216,"satellites":34,"speed":3,"hex_longitude":"2d0c3d80","hex_latitude":"07057f88","is_valid_coordinates":true} 
[2026-09-05 09:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876703232001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30310194093228032,"note":"Value kept but may cause issues"} 
[2026-09-05 09:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882987032098496512,"note":"Value kept but may cause issues"} 
[2026-09-05 09:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788580877000,"timestamp_ms":1788580877000,"timestamp_seconds":1788580877,"priority":1,"record_length":96,"hex_timestamp":"000001a06fba52c8"} 
[2026-09-05 09:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:31: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-09-05 09:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-05 09:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":171679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":171679,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":171679,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876703232001,"66":14450,"164":206,"94":10240,"24":3,"16":30310194093228032,"45":882987032098496512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-05 09:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876703232001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:31:46] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-05 09:31:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30310194093228032,"km_value":30310194093228.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":882987032098496512,"description":"Unknown IO ID 45"} 
[2026-09-05 09:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876703232001,"power":14450,"unknown_164":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":882987032098496512}} 
[2026-09-05 09:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":171679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767759,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:31:46] local.INFO: GPS data processed {"connection_id":171679,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:31:46] local.INFO: Acknowledgment sent {"connection_id":171679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:31:47] local.INFO: TCP Data received {"connection_id":171679,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fba56b0012d0c3d4007057f30001b00c722..."} 
[2026-09-05 09:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fba56b0012d0c3d4007057f30001b00c722..."} 
[2026-09-05 09:31:47] local.INFO: Processing buffer {"connection_id":171679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fba56b0012d0c3d4007057f30001b00c722..."} 
[2026-09-05 09:31:47] local.INFO: Packet analysis {"connection_id":171679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fba"} 
[2026-09-05 09:31:47] local.INFO: Extracted packet for processing {"connection_id":171679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fba"} 
[2026-09-05 09:31:47] local.INFO: GPS Element Parsed {"raw_longitude":755776832,"raw_latitude":117800752,"longitude_deg":75.5776832,"latitude_deg":11.7800752,"altitude":27,"angle":199,"satellites":34,"speed":3,"hex_longitude":"2d0c3d40","hex_latitude":"07057f30","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876704512001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30310198388195328,"note":"Value kept but may cause issues"} 
[2026-09-05 09:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882001869679855616,"note":"Value kept but may cause issues"} 
[2026-09-05 09:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788580878000,"timestamp_ms":1788580878000,"timestamp_seconds":1788580878,"priority":1,"record_length":96,"hex_timestamp":"000001a06fba56b0"} 
[2026-09-05 09:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:31: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-09-05 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-05 09:31:47] 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-09-05 09:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":171679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":171679,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":171679,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876704512001,"66":14461,"164":206,"94":10240,"24":3,"16":30310198388195328,"45":882001869679855616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-05 09:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876704512001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:31:47] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-05 09:31:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30310198388195328,"km_value":30310198388195.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":882001869679855616,"description":"Unknown IO ID 45"} 
[2026-09-05 09:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876704512001,"power":14461,"unknown_164":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":882001869679855616}} 
[2026-09-05 09:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":171679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767760,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:31:48] local.INFO: GPS data processed {"connection_id":171679,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:31:48] local.INFO: Acknowledgment sent {"connection_id":171679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:31:56] local.INFO: TCP Data received {"connection_id":171387,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:31:56] local.INFO: Processing buffer {"connection_id":171387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:31:56] local.INFO: IMEI packet received {"connection_id":171387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":171387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:32:01] local.INFO: TCP Data received {"connection_id":171387,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:32:01] local.INFO: Processing buffer {"connection_id":171387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:32:01] local.INFO: IMEI packet received {"connection_id":171387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":171387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:32:02] local.INFO: TCP Data received {"connection_id":171387,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb9cdf8012d567980066371c8000d00632d..."} 
[2026-09-05 09:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb9cdf8012d567980066371c8000d00632d..."} 
[2026-09-05 09:32:02] local.INFO: Processing buffer {"connection_id":171387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb9cdf8012d567980066371c8000d00632d..."} 
[2026-09-05 09:32:02] local.INFO: Packet analysis {"connection_id":171387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb9"} 
[2026-09-05 09:32:02] local.INFO: Extracted packet for processing {"connection_id":171387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb9"} 
[2026-09-05 09:32:02] local.INFO: GPS Element Parsed {"raw_longitude":760641920,"raw_latitude":107180488,"longitude_deg":76.064192,"latitude_deg":10.7180488,"altitude":13,"angle":99,"satellites":45,"speed":48,"hex_longitude":"2d567980","hex_latitude":"066371c8","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876695040001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399372919907549184,"note":"Value kept but may cause issues"} 
[2026-09-05 09:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6227141305952499712,"note":"Value kept but may cause issues"} 
[2026-09-05 09:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788580843000,"timestamp_ms":1788580843000,"timestamp_seconds":1788580843,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb9cdf8"} 
[2026-09-05 09:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:32: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-09-05 09:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 09:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:32: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-09-05 09:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876695040001,"66":27691,"202":206,"80":60416,"24":48,"16":399372919907549184,"45":6227141305952499712},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,80,24,16,45]} 
[2026-09-05 09:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876695040001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:32:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399372919907549184,"km_value":399372919907549.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6227141305952499712,"description":"Unknown IO ID 45"} 
[2026-09-05 09:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876695040001,"power":27691,"mcc":206,"unknown_80":60416,"ignition":48,"odometer":null,"unknown_45":6227141305952499712}} 
[2026-09-05 09:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":171387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:32:02] local.INFO: GPS data processed {"connection_id":171387,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:32:02] local.INFO: Acknowledgment sent {"connection_id":171387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:32:03] local.INFO: TCP Data received {"connection_id":174085,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb793a8012d7d350005ec0b40000100981c..."} 
[2026-09-05 09:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb793a8012d7d350005ec0b40000100981c..."} 
[2026-09-05 09:32:03] local.INFO: Processing buffer {"connection_id":174085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb793a8012d7d350005ec0b40000100981c..."} 
[2026-09-05 09:32:03] local.INFO: Packet analysis {"connection_id":174085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:32:03] local.INFO: Extracted packet for processing {"connection_id":174085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:32:03] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":28,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876581376001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788580697000,"timestamp_ms":1788580697000,"timestamp_seconds":1788580697,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb793a8"} 
[2026-09-05 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-09-05 09:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:32:03] 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-09-05 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-09-05 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-09-05 09:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876581376001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876581376001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:32:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:32:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876581376001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":174085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767762,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:32:03] local.INFO: GPS data processed {"connection_id":174085,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:32:03] local.INFO: Acknowledgment sent {"connection_id":174085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:32:25] local.INFO: TCP Data received {"connection_id":171680,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:32:25] local.INFO: Processing buffer {"connection_id":171680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:32:25] local.INFO: IMEI packet received {"connection_id":171680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":171680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:32:30] local.INFO: TCP Data received {"connection_id":171680,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:32:30] local.INFO: Processing buffer {"connection_id":171680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:32:30] local.INFO: IMEI packet received {"connection_id":171680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":171680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:32:32] local.INFO: TCP Data received {"connection_id":171680,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb793a8012d7d350005ec0b40000100981c..."} 
[2026-09-05 09:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb793a8012d7d350005ec0b40000100981c..."} 
[2026-09-05 09:32:32] local.INFO: Processing buffer {"connection_id":171680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb793a8012d7d350005ec0b40000100981c..."} 
[2026-09-05 09:32:32] local.INFO: Packet analysis {"connection_id":171680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:32:32] local.INFO: Extracted packet for processing {"connection_id":171680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:32:32] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":28,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876581376001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788580697000,"timestamp_ms":1788580697000,"timestamp_seconds":1788580697,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb793a8"} 
[2026-09-05 09:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:32:32] 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-09-05 09: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-09-05 09:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876581376001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876581376001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:32:32] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:32:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876581376001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":171680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767763,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:32:32] local.INFO: GPS data processed {"connection_id":171680,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:32:32] local.INFO: Acknowledgment sent {"connection_id":171680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:32:34] local.INFO: TCP Data received {"connection_id":171387,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb9e180012d56910006637100000e00572d..."} 
[2026-09-05 09:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb9e180012d56910006637100000e00572d..."} 
[2026-09-05 09:32:34] local.INFO: Processing buffer {"connection_id":171387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb9e180012d56910006637100000e00572d..."} 
[2026-09-05 09:32:34] local.INFO: Packet analysis {"connection_id":171387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb9"} 
[2026-09-05 09:32:34] local.INFO: Extracted packet for processing {"connection_id":171387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb9"} 
[2026-09-05 09:32:34] local.INFO: GPS Element Parsed {"raw_longitude":760647936,"raw_latitude":107180288,"longitude_deg":76.0647936,"latitude_deg":10.7180288,"altitude":14,"angle":87,"satellites":45,"speed":44,"hex_longitude":"2d569100","hex_latitude":"06637100","is_valid_coordinates":true} 
[2026-09-05 09:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876695808001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399373207670358016,"note":"Value kept but may cause issues"} 
[2026-09-05 09:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6231152324370352128,"note":"Value kept but may cause issues"} 
[2026-09-05 09:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788580848000,"timestamp_ms":1788580848000,"timestamp_seconds":1788580848,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb9e180"} 
[2026-09-05 09:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-05 09:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876695808001,"66":27767,"202":206,"80":60416,"24":44,"16":399373207670358016,"45":6231152324370352128},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,80,24,16,45]} 
[2026-09-05 09:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876695808001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:32:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399373207670358016,"km_value":399373207670358.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6231152324370352128,"description":"Unknown IO ID 45"} 
[2026-09-05 09:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876695808001,"power":27767,"mcc":206,"unknown_80":60416,"ignition":44,"odometer":null,"unknown_45":6231152324370352128}} 
[2026-09-05 09:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":171387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:32:34] local.INFO: GPS data processed {"connection_id":171387,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:32:34] local.INFO: Acknowledgment sent {"connection_id":171387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:32:41] local.INFO: TCP Data received {"connection_id":172788,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172788,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:32:41] local.INFO: Processing buffer {"connection_id":172788,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:32:41] local.INFO: IMEI packet received {"connection_id":172788,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":172788,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:32:42] local.INFO: TCP Data received {"connection_id":172788,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172788,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:32:42] local.INFO: Processing buffer {"connection_id":172788,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:32:42] local.INFO: IMEI packet received {"connection_id":172788,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":172788,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:32:44] local.INFO: TCP Data received {"connection_id":172788,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172788,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:32:44] local.INFO: Processing buffer {"connection_id":172788,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:32:44] local.INFO: IMEI packet received {"connection_id":172788,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":172788,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:32:46] local.INFO: TCP Data received {"connection_id":172788,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172788,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:32:46] local.INFO: Processing buffer {"connection_id":172788,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:32:46] local.INFO: IMEI packet received {"connection_id":172788,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":172788,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:32:56] local.INFO: TCP Data received {"connection_id":171678,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 09:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 09:32:56] local.INFO: Processing buffer {"connection_id":171678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 09:32:56] local.INFO: IMEI packet received {"connection_id":171678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 09:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":171678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:32:56] local.INFO: TCP Data received {"connection_id":174086,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:32:56] local.INFO: Processing buffer {"connection_id":174086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:32:56] local.INFO: IMEI packet received {"connection_id":174086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":174086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:33:02] local.INFO: TCP Data received {"connection_id":174086,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:33:02] local.INFO: Processing buffer {"connection_id":174086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:33:02] local.INFO: IMEI packet received {"connection_id":174086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":174086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:33:02] local.INFO: TCP Data received {"connection_id":174086,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06fba04a8012d56b58006637310000f00542d..."} 
[2026-09-05 09:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fba04a8012d56b58006637310000f00542d..."} 
[2026-09-05 09:33:02] local.INFO: Processing buffer {"connection_id":174086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fba04a8012d56b58006637310000f00542d..."} 
[2026-09-05 09:33:02] local.INFO: Packet analysis {"connection_id":174086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fba"} 
[2026-09-05 09:33:02] local.INFO: Extracted packet for processing {"connection_id":174086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fba"} 
[2026-09-05 09:33:02] local.INFO: GPS Element Parsed {"raw_longitude":760657280,"raw_latitude":107180816,"longitude_deg":76.065728,"latitude_deg":10.7180816,"altitude":15,"angle":84,"satellites":45,"speed":34,"hex_longitude":"2d56b580","hex_latitude":"06637310","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876697088001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399373650051989504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6237766986323001344,"note":"Value kept but may cause issues"} 
[2026-09-05 09:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788580857000,"timestamp_ms":1788580857000,"timestamp_seconds":1788580857,"priority":1,"record_length":96,"hex_timestamp":"000001a06fba04a8"} 
[2026-09-05 09:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:33: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-09-05 09:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 09:33: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-09-05 09: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-09-05 09:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:33: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-09-05 09:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876697088001,"66":27930,"202":206,"80":60416,"24":34,"16":399373650051989504,"45":6237766986323001344},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,80,24,16,45]} 
[2026-09-05 09:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876697088001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:33:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399373650051989504,"km_value":399373650051989.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6237766986323001344,"description":"Unknown IO ID 45"} 
[2026-09-05 09:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876697088001,"power":27930,"mcc":206,"unknown_80":60416,"ignition":34,"odometer":null,"unknown_45":6237766986323001344}} 
[2026-09-05 09:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":174086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:33:02] local.INFO: GPS data processed {"connection_id":174086,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:33:02] local.INFO: Acknowledgment sent {"connection_id":174086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:33:03] local.INFO: TCP Data received {"connection_id":171680,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06fb793a8012d7d350005ec0b40000100981c..."} 
[2026-09-05 09:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fb793a8012d7d350005ec0b40000100981c..."} 
[2026-09-05 09:33:03] local.INFO: Processing buffer {"connection_id":171680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fb793a8012d7d350005ec0b40000100981c..."} 
[2026-09-05 09:33:03] local.INFO: Packet analysis {"connection_id":171680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:33:03] local.INFO: Extracted packet for processing {"connection_id":171680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fb7"} 
[2026-09-05 09:33:03] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":28,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876581376001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788580697000,"timestamp_ms":1788580697000,"timestamp_seconds":1788580697,"priority":1,"record_length":96,"hex_timestamp":"000001a06fb793a8"} 
[2026-09-05 09:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:33:03] 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-09-05 09: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-09-05 09:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876581376001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876581376001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:33:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:33:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876581376001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":171680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767766,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:33:03] local.INFO: GPS data processed {"connection_id":171680,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:33:03] local.INFO: Acknowledgment sent {"connection_id":171680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:33:30] local.INFO: TCP Data received {"connection_id":172790,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:33:30] local.INFO: Processing buffer {"connection_id":172790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:33:30] local.INFO: IMEI packet received {"connection_id":172790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":172790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:33:34] local.INFO: TCP Data received {"connection_id":174086,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a06fba04a8012d56b58006637310000f00542d..."} 
[2026-09-05 09:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fba04a8012d56b58006637310000f00542d..."} 
[2026-09-05 09:33:34] local.INFO: Processing buffer {"connection_id":174086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fba04a8012d56b58006637310000f00542d..."} 
[2026-09-05 09:33:34] local.INFO: Packet analysis {"connection_id":174086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fba"} 
[2026-09-05 09:33:34] local.INFO: Extracted packet for processing {"connection_id":174086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fba"} 
[2026-09-05 09:33:34] local.INFO: GPS Element Parsed {"raw_longitude":760657280,"raw_latitude":107180816,"longitude_deg":76.065728,"latitude_deg":10.7180816,"altitude":15,"angle":84,"satellites":45,"speed":34,"hex_longitude":"2d56b580","hex_latitude":"06637310","is_valid_coordinates":true} 
[2026-09-05 09:33: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-09-05 09:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876699392001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399373650051989504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6248040822973075456,"note":"Value kept but may cause issues"} 
[2026-09-05 09:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788580857000,"timestamp_ms":1788580857000,"timestamp_seconds":1788580857,"priority":1,"record_length":96,"hex_timestamp":"000001a06fba04a8"} 
[2026-09-05 09:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 09:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876699392001,"66":27930,"202":206,"80":60416,"24":34,"16":399373650051989504,"45":6248040822973075456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,80,24,16,45]} 
[2026-09-05 09:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876699392001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:33:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399373650051989504,"km_value":399373650051989.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6248040822973075456,"description":"Unknown IO ID 45"} 
[2026-09-05 09:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876699392001,"power":27930,"mcc":206,"unknown_80":60416,"ignition":34,"odometer":null,"unknown_45":6248040822973075456}} 
[2026-09-05 09:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":174086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:33:34] local.INFO: GPS data processed {"connection_id":174086,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:33:34] local.INFO: Acknowledgment sent {"connection_id":174086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:33:36] local.INFO: TCP Data received {"connection_id":172790,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:33:36] local.INFO: Processing buffer {"connection_id":172790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:33:36] local.INFO: IMEI packet received {"connection_id":172790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":172790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:33:36] local.INFO: TCP Data received {"connection_id":172790,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fbc2b70012d7d350005ec0b400001009826..."} 
[2026-09-05 09:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fbc2b70012d7d350005ec0b400001009826..."} 
[2026-09-05 09:33:36] local.INFO: Processing buffer {"connection_id":172790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fbc2b70012d7d350005ec0b400001009826..."} 
[2026-09-05 09:33:36] local.INFO: Packet analysis {"connection_id":172790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fbc"} 
[2026-09-05 09:33:36] local.INFO: Extracted packet for processing {"connection_id":172790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fbc"} 
[2026-09-05 09:33:36] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":38,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876658432001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788580998000,"timestamp_ms":1788580998000,"timestamp_seconds":1788580998,"priority":1,"record_length":96,"hex_timestamp":"000001a06fbc2b70"} 
[2026-09-05 09:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 09:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:33:36] 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-09-05 09: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-09-05 09:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876658432001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876658432001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:33:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:33:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876658432001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":172790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767768,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:33:36] local.INFO: GPS data processed {"connection_id":172790,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:33:36] local.INFO: Acknowledgment sent {"connection_id":172790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:33:41] local.INFO: TCP Data received {"connection_id":172790,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fbc2b70012d7d350005ec0b400001009826..."} 
[2026-09-05 09:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fbc2b70012d7d350005ec0b400001009826..."} 
[2026-09-05 09:33:41] local.INFO: Processing buffer {"connection_id":172790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fbc2b70012d7d350005ec0b400001009826..."} 
[2026-09-05 09:33:41] local.INFO: Packet analysis {"connection_id":172790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fbc"} 
[2026-09-05 09:33:41] local.INFO: Extracted packet for processing {"connection_id":172790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fbc"} 
[2026-09-05 09:33:41] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":38,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876658432001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788580998000,"timestamp_ms":1788580998000,"timestamp_seconds":1788580998,"priority":1,"record_length":96,"hex_timestamp":"000001a06fbc2b70"} 
[2026-09-05 09:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 09:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:33:41] 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-09-05 09: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-09-05 09:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":172790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":172790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":172790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876658432001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876658432001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:33:41] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:33:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876658432001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":172790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767769,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:33:41] local.INFO: GPS data processed {"connection_id":172790,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:33:41] local.INFO: Acknowledgment sent {"connection_id":172790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:34:01] local.INFO: TCP Data received {"connection_id":174087,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:34:01] local.INFO: Processing buffer {"connection_id":174087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:34:01] local.INFO: IMEI packet received {"connection_id":174087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":174087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:34:07] local.INFO: TCP Data received {"connection_id":174087,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:34:07] local.INFO: Processing buffer {"connection_id":174087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:34:07] local.INFO: IMEI packet received {"connection_id":174087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":174087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:34:08] local.INFO: TCP Data received {"connection_id":174087,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a06fba1830012d56c34006637518000f00482c..."} 
[2026-09-05 09:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fba1830012d56c34006637518000f00482c..."} 
[2026-09-05 09:34:08] local.INFO: Processing buffer {"connection_id":174087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fba1830012d56c34006637518000f00482c..."} 
[2026-09-05 09:34:08] local.INFO: Packet analysis {"connection_id":174087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fba"} 
[2026-09-05 09:34:08] local.INFO: Extracted packet for processing {"connection_id":174087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fba"} 
[2026-09-05 09:34:08] local.INFO: GPS Element Parsed {"raw_longitude":760660800,"raw_latitude":107181336,"longitude_deg":76.06608,"latitude_deg":10.7181336,"altitude":15,"angle":72,"satellites":44,"speed":24,"hex_longitude":"2d56c340","hex_latitude":"06637518","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876699392001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399373650051989504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6248040822973075456,"note":"Value kept but may cause issues"} 
[2026-09-05 09:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788580862000,"timestamp_ms":1788580862000,"timestamp_seconds":1788580862,"priority":1,"record_length":96,"hex_timestamp":"000001a06fba1830"} 
[2026-09-05 09:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:34: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-09-05 09: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":26,"data_length":795,"current_offset":136} 
[2026-09-05 09:34:08] 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-09-05 09: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-09-05 09:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09: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-09-05 09:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876699392001,"66":27343,"202":206,"80":60416,"24":24,"16":399373650051989504,"45":6248040822973075456},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,80,24,16,45]} 
[2026-09-05 09:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876699392001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:34:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399373650051989504,"km_value":399373650051989.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6248040822973075456,"description":"Unknown IO ID 45"} 
[2026-09-05 09:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876699392001,"power":27343,"mcc":206,"unknown_80":60416,"ignition":24,"odometer":null,"unknown_45":6248040822973075456}} 
[2026-09-05 09:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":174087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:34:08] local.INFO: GPS data processed {"connection_id":174087,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:34:08] local.INFO: Acknowledgment sent {"connection_id":174087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:34:25] local.INFO: TCP Data received {"connection_id":171681,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171681,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:34:25] local.INFO: Processing buffer {"connection_id":171681,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:34:25] local.INFO: IMEI packet received {"connection_id":171681,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":171681,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:34:30] local.INFO: TCP Data received {"connection_id":171681,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171681,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:34:30] local.INFO: Processing buffer {"connection_id":171681,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:34:30] local.INFO: IMEI packet received {"connection_id":171681,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":171681,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:34:31] local.INFO: TCP Data received {"connection_id":171681,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06fbc2b70012d7d350005ec0b400001009826..."} 
[2026-09-05 09:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fbc2b70012d7d350005ec0b400001009826..."} 
[2026-09-05 09:34:31] local.INFO: Processing buffer {"connection_id":171681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fbc2b70012d7d350005ec0b400001009826..."} 
[2026-09-05 09:34:31] local.INFO: Packet analysis {"connection_id":171681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fbc"} 
[2026-09-05 09:34:31] local.INFO: Extracted packet for processing {"connection_id":171681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fbc"} 
[2026-09-05 09:34:31] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":38,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876658432001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788580998000,"timestamp_ms":1788580998000,"timestamp_seconds":1788580998,"priority":1,"record_length":96,"hex_timestamp":"000001a06fbc2b70"} 
[2026-09-05 09:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:34:31] 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-09-05 09: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-09-05 09:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876658432001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876658432001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:34:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:34:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876658432001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":171681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767771,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:34:31] local.INFO: GPS data processed {"connection_id":171681,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:34:31] local.INFO: Acknowledgment sent {"connection_id":171681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:34:39] local.INFO: TCP Data received {"connection_id":174087,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a06fba1830012d56c34006637518000f00482c..."} 
[2026-09-05 09:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fba1830012d56c34006637518000f00482c..."} 
[2026-09-05 09:34:39] local.INFO: Processing buffer {"connection_id":174087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fba1830012d56c34006637518000f00482c..."} 
[2026-09-05 09:34:39] local.INFO: Packet analysis {"connection_id":174087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fba"} 
[2026-09-05 09:34:39] local.INFO: Extracted packet for processing {"connection_id":174087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fba"} 
[2026-09-05 09:34:39] local.INFO: GPS Element Parsed {"raw_longitude":760660800,"raw_latitude":107181336,"longitude_deg":76.06608,"latitude_deg":10.7181336,"altitude":15,"angle":72,"satellites":44,"speed":24,"hex_longitude":"2d56c340","hex_latitude":"06637518","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876699392001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399373650051989504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6248040822973075456,"note":"Value kept but may cause issues"} 
[2026-09-05 09:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788580862000,"timestamp_ms":1788580862000,"timestamp_seconds":1788580862,"priority":1,"record_length":96,"hex_timestamp":"000001a06fba1830"} 
[2026-09-05 09:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:34: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-09-05 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 09:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876699392001,"66":27343,"202":206,"80":60416,"24":24,"16":399373650051989504,"45":6248040822973075456},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,80,24,16,45]} 
[2026-09-05 09:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876699392001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:34:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399373650051989504,"km_value":399373650051989.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":6248040822973075456,"description":"Unknown IO ID 45"} 
[2026-09-05 09:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876699392001,"power":27343,"mcc":206,"unknown_80":60416,"ignition":24,"odometer":null,"unknown_45":6248040822973075456}} 
[2026-09-05 09:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":174087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:34:39] local.INFO: GPS data processed {"connection_id":174087,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:34:39] local.INFO: Acknowledgment sent {"connection_id":174087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:34:57] local.INFO: TCP Data received {"connection_id":171682,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:34:57] local.INFO: Processing buffer {"connection_id":171682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:34:57] local.INFO: IMEI packet received {"connection_id":171682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":171682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:35:02] local.INFO: TCP Data received {"connection_id":171682,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:35:02] local.INFO: Processing buffer {"connection_id":171682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:35:02] local.INFO: IMEI packet received {"connection_id":171682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":171682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:35:02] local.INFO: TCP Data received {"connection_id":171681,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a06fbc2b70012d7d350005ec0b400001009826..."} 
[2026-09-05 09:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fbc2b70012d7d350005ec0b400001009826..."} 
[2026-09-05 09:35:02] local.INFO: Processing buffer {"connection_id":171681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fbc2b70012d7d350005ec0b400001009826..."} 
[2026-09-05 09:35:02] local.INFO: Packet analysis {"connection_id":171681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fbc"} 
[2026-09-05 09:35:02] local.INFO: Extracted packet for processing {"connection_id":171681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fbc"} 
[2026-09-05 09:35:02] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":38,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876658432001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788580998000,"timestamp_ms":1788580998000,"timestamp_seconds":1788580998,"priority":1,"record_length":96,"hex_timestamp":"000001a06fbc2b70"} 
[2026-09-05 09:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:35:02] 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-09-05 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876658432001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876658432001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:35:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:35:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876658432001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":171681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767773,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:35:03] local.INFO: GPS data processed {"connection_id":171681,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:35:03] local.INFO: Acknowledgment sent {"connection_id":171681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:35:04] local.INFO: TCP Data received {"connection_id":171682,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a06fba1830012d56c34006637518000f00482c..."} 
[2026-09-05 09:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fba1830012d56c34006637518000f00482c..."} 
[2026-09-05 09:35:04] local.INFO: Processing buffer {"connection_id":171682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fba1830012d56c34006637518000f00482c..."} 
[2026-09-05 09:35:04] local.INFO: Packet analysis {"connection_id":171682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fba"} 
[2026-09-05 09:35:04] local.INFO: Extracted packet for processing {"connection_id":171682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fba"} 
[2026-09-05 09:35:04] local.INFO: GPS Element Parsed {"raw_longitude":760660800,"raw_latitude":107181336,"longitude_deg":76.06608,"latitude_deg":10.7181336,"altitude":15,"angle":72,"satellites":44,"speed":24,"hex_longitude":"2d56c340","hex_latitude":"06637518","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876699392001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399373650051989504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6248040822973075456,"note":"Value kept but may cause issues"} 
[2026-09-05 09:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788580862000,"timestamp_ms":1788580862000,"timestamp_seconds":1788580862,"priority":1,"record_length":96,"hex_timestamp":"000001a06fba1830"} 
[2026-09-05 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-09-05 09:35: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-09-05 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 09:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 09:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:35: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-09-05 09:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876699392001,"66":27343,"202":206,"80":60416,"24":24,"16":399373650051989504,"45":6248040822973075456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,80,24,16,45]} 
[2026-09-05 09:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876699392001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:35:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399373650051989504,"km_value":399373650051989.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6248040822973075456,"description":"Unknown IO ID 45"} 
[2026-09-05 09:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876699392001,"power":27343,"mcc":206,"unknown_80":60416,"ignition":24,"odometer":null,"unknown_45":6248040822973075456}} 
[2026-09-05 09:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":171682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:35:04] local.INFO: GPS data processed {"connection_id":171682,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:35:04] local.INFO: Acknowledgment sent {"connection_id":171682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:35:26] local.INFO: TCP Data received {"connection_id":171684,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171684,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:35:26] local.INFO: Processing buffer {"connection_id":171684,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:35:26] local.INFO: IMEI packet received {"connection_id":171684,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":171684,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:35:31] local.INFO: TCP Data received {"connection_id":171684,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171684,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:35:31] local.INFO: Processing buffer {"connection_id":171684,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:35:31] local.INFO: IMEI packet received {"connection_id":171684,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":171684,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:35:32] local.INFO: TCP Data received {"connection_id":171684,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fbc2b70012d7d350005ec0b400001009826..."} 
[2026-09-05 09:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fbc2b70012d7d350005ec0b400001009826..."} 
[2026-09-05 09:35:32] local.INFO: Processing buffer {"connection_id":171684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fbc2b70012d7d350005ec0b400001009826..."} 
[2026-09-05 09:35:32] local.INFO: Packet analysis {"connection_id":171684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fbc"} 
[2026-09-05 09:35:32] local.INFO: Extracted packet for processing {"connection_id":171684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fbc"} 
[2026-09-05 09:35:32] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":38,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876658432001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788580998000,"timestamp_ms":1788580998000,"timestamp_seconds":1788580998,"priority":1,"record_length":96,"hex_timestamp":"000001a06fbc2b70"} 
[2026-09-05 09:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:35: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-09-05 09: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":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:35:32] 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-09-05 09: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-09-05 09:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171684,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171684,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876658432001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876658432001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:35:32] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:35:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876658432001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":171684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767775,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:35:32] local.INFO: GPS data processed {"connection_id":171684,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:35:32] local.INFO: Acknowledgment sent {"connection_id":171684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:35:36] local.INFO: TCP Data received {"connection_id":171682,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a06fba1830012d56c34006637518000f00482c..."} 
[2026-09-05 09:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fba1830012d56c34006637518000f00482c..."} 
[2026-09-05 09:35:36] local.INFO: Processing buffer {"connection_id":171682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fba1830012d56c34006637518000f00482c..."} 
[2026-09-05 09:35:36] local.INFO: Packet analysis {"connection_id":171682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fba"} 
[2026-09-05 09:35:36] local.INFO: Extracted packet for processing {"connection_id":171682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fba"} 
[2026-09-05 09:35:36] local.INFO: GPS Element Parsed {"raw_longitude":760660800,"raw_latitude":107181336,"longitude_deg":76.06608,"latitude_deg":10.7181336,"altitude":15,"angle":72,"satellites":44,"speed":24,"hex_longitude":"2d56c340","hex_latitude":"06637518","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876699392001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399373650051989504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6248040822973075456,"note":"Value kept but may cause issues"} 
[2026-09-05 09:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788580862000,"timestamp_ms":1788580862000,"timestamp_seconds":1788580862,"priority":1,"record_length":96,"hex_timestamp":"000001a06fba1830"} 
[2026-09-05 09:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:35: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-09-05 09:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 09:35: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-09-05 09: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-09-05 09:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876699392001,"66":27343,"202":206,"80":60416,"24":24,"16":399373650051989504,"45":6248040822973075456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,80,24,16,45]} 
[2026-09-05 09:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876699392001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:35:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399373650051989504,"km_value":399373650051989.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6248040822973075456,"description":"Unknown IO ID 45"} 
[2026-09-05 09:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876699392001,"power":27343,"mcc":206,"unknown_80":60416,"ignition":24,"odometer":null,"unknown_45":6248040822973075456}} 
[2026-09-05 09:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":171682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:35:36] local.INFO: GPS data processed {"connection_id":171682,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:35:36] local.INFO: Acknowledgment sent {"connection_id":171682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:35:56] local.INFO: TCP Data received {"connection_id":171389,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:35:56] local.INFO: Processing buffer {"connection_id":171389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:35:56] local.INFO: IMEI packet received {"connection_id":171389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":171389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:36:01] local.INFO: TCP Data received {"connection_id":171389,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:36:01] local.INFO: Processing buffer {"connection_id":171389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:36:01] local.INFO: IMEI packet received {"connection_id":171389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":171389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:36:02] local.INFO: TCP Data received {"connection_id":171389,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a06fba1830012d56c34006637518000f00482c..."} 
[2026-09-05 09:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fba1830012d56c34006637518000f00482c..."} 
[2026-09-05 09:36:02] local.INFO: Processing buffer {"connection_id":171389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fba1830012d56c34006637518000f00482c..."} 
[2026-09-05 09:36:02] local.INFO: Packet analysis {"connection_id":171389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fba"} 
[2026-09-05 09:36:02] local.INFO: Extracted packet for processing {"connection_id":171389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fba"} 
[2026-09-05 09:36:02] local.INFO: GPS Element Parsed {"raw_longitude":760660800,"raw_latitude":107181336,"longitude_deg":76.06608,"latitude_deg":10.7181336,"altitude":15,"angle":72,"satellites":44,"speed":24,"hex_longitude":"2d56c340","hex_latitude":"06637518","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876699392001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399373650051989504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6248040822973075456,"note":"Value kept but may cause issues"} 
[2026-09-05 09:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788580862000,"timestamp_ms":1788580862000,"timestamp_seconds":1788580862,"priority":1,"record_length":96,"hex_timestamp":"000001a06fba1830"} 
[2026-09-05 09:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:36:02] 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-09-05 09: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":26,"data_length":795,"current_offset":136} 
[2026-09-05 09:36: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-09-05 09: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-09-05 09:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:36: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-09-05 09:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876699392001,"66":27343,"202":206,"80":60416,"24":24,"16":399373650051989504,"45":6248040822973075456},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,80,24,16,45]} 
[2026-09-05 09:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876699392001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:36:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-05 09:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399373650051989504,"km_value":399373650051989.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6248040822973075456,"description":"Unknown IO ID 45"} 
[2026-09-05 09:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876699392001,"power":27343,"mcc":206,"unknown_80":60416,"ignition":24,"odometer":null,"unknown_45":6248040822973075456}} 
[2026-09-05 09:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":171389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:36:02] local.INFO: GPS data processed {"connection_id":171389,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:36:02] local.INFO: Acknowledgment sent {"connection_id":171389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:36:03] local.INFO: TCP Data received {"connection_id":171684,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fbc2b70012d7d350005ec0b400001009826..."} 
[2026-09-05 09:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fbc2b70012d7d350005ec0b400001009826..."} 
[2026-09-05 09:36:03] local.INFO: Processing buffer {"connection_id":171684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fbc2b70012d7d350005ec0b400001009826..."} 
[2026-09-05 09:36:03] local.INFO: Packet analysis {"connection_id":171684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fbc"} 
[2026-09-05 09:36:03] local.INFO: Extracted packet for processing {"connection_id":171684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fbc"} 
[2026-09-05 09:36:03] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":38,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876658432001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788580998000,"timestamp_ms":1788580998000,"timestamp_seconds":1788580998,"priority":1,"record_length":96,"hex_timestamp":"000001a06fbc2b70"} 
[2026-09-05 09:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:36: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-09-05 09: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":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:36:03] 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-09-05 09: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-09-05 09:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171684,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171684,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876658432001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876658432001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:36:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:36:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876658432001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":171684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767778,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:36:03] local.INFO: GPS data processed {"connection_id":171684,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:36:03] local.INFO: Acknowledgment sent {"connection_id":171684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:36:25] local.INFO: TCP Data received {"connection_id":172791,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:36:25] local.INFO: Processing buffer {"connection_id":172791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:36:25] local.INFO: IMEI packet received {"connection_id":172791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":172791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:36:30] local.INFO: TCP Data received {"connection_id":172791,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:36:30] local.INFO: Processing buffer {"connection_id":172791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:36:30] local.INFO: IMEI packet received {"connection_id":172791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":172791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:36:31] local.INFO: TCP Data received {"connection_id":172791,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06fbc2b70012d7d350005ec0b400001009826..."} 
[2026-09-05 09:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fbc2b70012d7d350005ec0b400001009826..."} 
[2026-09-05 09:36:31] local.INFO: Processing buffer {"connection_id":172791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fbc2b70012d7d350005ec0b400001009826..."} 
[2026-09-05 09:36:31] local.INFO: Packet analysis {"connection_id":172791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fbc"} 
[2026-09-05 09:36:31] local.INFO: Extracted packet for processing {"connection_id":172791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fbc"} 
[2026-09-05 09:36:31] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":38,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876658432001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788580998000,"timestamp_ms":1788580998000,"timestamp_seconds":1788580998,"priority":1,"record_length":96,"hex_timestamp":"000001a06fbc2b70"} 
[2026-09-05 09:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 09:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:36:31] 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-09-05 09: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-09-05 09:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876658432001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876658432001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:36:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:36:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876658432001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":172791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767779,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:36:31] local.INFO: GPS data processed {"connection_id":172791,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:36:31] local.INFO: Acknowledgment sent {"connection_id":172791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:36:33] local.INFO: TCP Data received {"connection_id":171389,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a06fbea058012d56ce00066377b8000f00462c..."} 
[2026-09-05 09:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fbea058012d56ce00066377b8000f00462c..."} 
[2026-09-05 09:36:33] local.INFO: Processing buffer {"connection_id":171389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fbea058012d56ce00066377b8000f00462c..."} 
[2026-09-05 09:36:33] local.INFO: Packet analysis {"connection_id":171389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fbe"} 
[2026-09-05 09:36:33] local.INFO: Extracted packet for processing {"connection_id":171389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fbe"} 
[2026-09-05 09:36:33] local.INFO: GPS Element Parsed {"raw_longitude":760663552,"raw_latitude":107182008,"longitude_deg":76.0663552,"latitude_deg":10.7182008,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d56ce00","hex_latitude":"066377b8","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876700672001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399373650051989504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6251911103902980096,"note":"Value kept but may cause issues"} 
[2026-09-05 09:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788581159000,"timestamp_ms":1788581159000,"timestamp_seconds":1788581159,"priority":1,"record_length":96,"hex_timestamp":"000001a06fbea058"} 
[2026-09-05 09:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:36: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-09-05 09: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":207,"data_length":795,"current_offset":136} 
[2026-09-05 09:36: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-09-05 09: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-09-05 09:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876700672001,"66":26539,"11":206,"78":63744,"24":0,"16":399373650051989504,"45":6251911103902980096},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-09-05 09:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876700672001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:36:33] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 09:36:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399373650051989504,"km_value":399373650051989.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6251911103902980096,"description":"Unknown IO ID 45"} 
[2026-09-05 09:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876700672001,"power":26539,"unknown_11":206,"unknown_78":63744,"ignition":0,"odometer":null,"unknown_45":6251911103902980096}} 
[2026-09-05 09:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":171389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:36:33] local.INFO: GPS data processed {"connection_id":171389,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:36:33] local.INFO: Acknowledgment sent {"connection_id":171389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:37:01] local.INFO: TCP Data received {"connection_id":172792,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:37:01] local.INFO: Processing buffer {"connection_id":172792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:37:01] local.INFO: IMEI packet received {"connection_id":172792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":172792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:37:02] local.INFO: TCP Data received {"connection_id":172791,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06fbc2b70012d7d350005ec0b400001009826..."} 
[2026-09-05 09:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fbc2b70012d7d350005ec0b400001009826..."} 
[2026-09-05 09:37:02] local.INFO: Processing buffer {"connection_id":172791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fbc2b70012d7d350005ec0b400001009826..."} 
[2026-09-05 09:37:02] local.INFO: Packet analysis {"connection_id":172791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fbc"} 
[2026-09-05 09:37:02] local.INFO: Extracted packet for processing {"connection_id":172791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fbc"} 
[2026-09-05 09:37:02] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":38,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876658432001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788580998000,"timestamp_ms":1788580998000,"timestamp_seconds":1788580998,"priority":1,"record_length":96,"hex_timestamp":"000001a06fbc2b70"} 
[2026-09-05 09:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:37:02] 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-09-05 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:37:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876658432001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876658432001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:37:02] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:37:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876658432001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":172791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767781,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:37:02] local.INFO: GPS data processed {"connection_id":172791,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:37:02] local.INFO: Acknowledgment sent {"connection_id":172791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:37:06] local.INFO: TCP Data received {"connection_id":172792,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:37:06] local.INFO: Processing buffer {"connection_id":172792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:37:06] local.INFO: IMEI packet received {"connection_id":172792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":172792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:37:07] local.INFO: TCP Data received {"connection_id":172792,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a06fbea058012d56ce00066377b8000f00462c..."} 
[2026-09-05 09:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fbea058012d56ce00066377b8000f00462c..."} 
[2026-09-05 09:37:07] local.INFO: Processing buffer {"connection_id":172792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fbea058012d56ce00066377b8000f00462c..."} 
[2026-09-05 09:37:07] local.INFO: Packet analysis {"connection_id":172792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fbe"} 
[2026-09-05 09:37:07] local.INFO: Extracted packet for processing {"connection_id":172792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fbe"} 
[2026-09-05 09:37:07] local.INFO: GPS Element Parsed {"raw_longitude":760663552,"raw_latitude":107182008,"longitude_deg":76.0663552,"latitude_deg":10.7182008,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d56ce00","hex_latitude":"066377b8","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876700672001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399373650051989504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6251911103902980096,"note":"Value kept but may cause issues"} 
[2026-09-05 09:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788581159000,"timestamp_ms":1788581159000,"timestamp_seconds":1788581159,"priority":1,"record_length":96,"hex_timestamp":"000001a06fbea058"} 
[2026-09-05 09:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:37: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-09-05 09:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 09:37: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-09-05 09: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-09-05 09:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876700672001,"66":26539,"11":206,"78":63744,"24":0,"16":399373650051989504,"45":6251911103902980096},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-09-05 09:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876700672001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:37:07] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 09:37:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399373650051989504,"km_value":399373650051989.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6251911103902980096,"description":"Unknown IO ID 45"} 
[2026-09-05 09:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876700672001,"power":26539,"unknown_11":206,"unknown_78":63744,"ignition":0,"odometer":null,"unknown_45":6251911103902980096}} 
[2026-09-05 09:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":172792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:37:07] local.INFO: GPS data processed {"connection_id":172792,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:37:07] local.INFO: Acknowledgment sent {"connection_id":172792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:37:12] local.INFO: TCP Data received {"connection_id":172792,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a06fbea058012d56ce00066377b8000f00462c..."} 
[2026-09-05 09:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fbea058012d56ce00066377b8000f00462c..."} 
[2026-09-05 09:37:12] local.INFO: Processing buffer {"connection_id":172792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fbea058012d56ce00066377b8000f00462c..."} 
[2026-09-05 09:37:12] local.INFO: Packet analysis {"connection_id":172792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fbe"} 
[2026-09-05 09:37:12] local.INFO: Extracted packet for processing {"connection_id":172792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fbe"} 
[2026-09-05 09:37:12] local.INFO: GPS Element Parsed {"raw_longitude":760663552,"raw_latitude":107182008,"longitude_deg":76.0663552,"latitude_deg":10.7182008,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d56ce00","hex_latitude":"066377b8","is_valid_coordinates":true} 
[2026-09-05 09:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876700672001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399373650051989504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6251911103902980096,"note":"Value kept but may cause issues"} 
[2026-09-05 09:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788581159000,"timestamp_ms":1788581159000,"timestamp_seconds":1788581159,"priority":1,"record_length":96,"hex_timestamp":"000001a06fbea058"} 
[2026-09-05 09:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 09:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 09:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":172792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":172792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":172792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:37:12] 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-09-05 09:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876700672001,"66":26539,"11":206,"78":63744,"24":0,"16":399373650051989504,"45":6251911103902980096},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-09-05 09:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876700672001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:37:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 09:37:12] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399373650051989504,"km_value":399373650051989.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6251911103902980096,"description":"Unknown IO ID 45"} 
[2026-09-05 09:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876700672001,"power":26539,"unknown_11":206,"unknown_78":63744,"ignition":0,"odometer":null,"unknown_45":6251911103902980096}} 
[2026-09-05 09:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":172792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:37:12] local.INFO: GPS data processed {"connection_id":172792,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:37:12] local.INFO: Acknowledgment sent {"connection_id":172792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:37:25] local.INFO: TCP Data received {"connection_id":174091,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:37:25] local.INFO: Processing buffer {"connection_id":174091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:37:25] local.INFO: IMEI packet received {"connection_id":174091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":174091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:37:30] local.INFO: TCP Data received {"connection_id":174091,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:37:30] local.INFO: Processing buffer {"connection_id":174091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:37:30] local.INFO: IMEI packet received {"connection_id":174091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":174091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:37:31] local.INFO: TCP Data received {"connection_id":174091,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06fbc2b70012d7d350005ec0b400001009826..."} 
[2026-09-05 09:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fbc2b70012d7d350005ec0b400001009826..."} 
[2026-09-05 09:37:31] local.INFO: Processing buffer {"connection_id":174091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fbc2b70012d7d350005ec0b400001009826..."} 
[2026-09-05 09:37:31] local.INFO: Packet analysis {"connection_id":174091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fbc"} 
[2026-09-05 09:37:31] local.INFO: Extracted packet for processing {"connection_id":174091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fbc"} 
[2026-09-05 09:37:31] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":38,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876658432001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788580998000,"timestamp_ms":1788580998000,"timestamp_seconds":1788580998,"priority":1,"record_length":96,"hex_timestamp":"000001a06fbc2b70"} 
[2026-09-05 09:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 09:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:37:31] 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-09-05 09: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-09-05 09:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876658432001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876658432001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:37:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:37:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876658432001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":174091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767784,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:37:31] local.INFO: GPS data processed {"connection_id":174091,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:37:31] local.INFO: Acknowledgment sent {"connection_id":174091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:37:47] local.INFO: TCP Data received {"connection_id":174090,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174090,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:37:47] local.INFO: Processing buffer {"connection_id":174090,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:37:47] local.INFO: IMEI packet received {"connection_id":174090,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":174090,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:37:47] local.INFO: TCP Data received {"connection_id":174090,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fbf7b18012d0d29c00703eb38001200b921..."} 
[2026-09-05 09:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fbf7b18012d0d29c00703eb38001200b921..."} 
[2026-09-05 09:37:47] local.INFO: Processing buffer {"connection_id":174090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fbf7b18012d0d29c00703eb38001200b921..."} 
[2026-09-05 09:37:47] local.INFO: Packet analysis {"connection_id":174090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fbf"} 
[2026-09-05 09:37:47] local.INFO: Extracted packet for processing {"connection_id":174090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fbf"} 
[2026-09-05 09:37:47] local.INFO: GPS Element Parsed {"raw_longitude":755837376,"raw_latitude":117697336,"longitude_deg":75.5837376,"latitude_deg":11.7697336,"altitude":18,"angle":185,"satellites":33,"speed":10,"hex_longitude":"2d0d29c0","hex_latitude":"0703eb38","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876787712001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30317443998023680,"note":"Value kept but may cause issues"} 
[2026-09-05 09:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948289226669869056,"note":"Value kept but may cause issues"} 
[2026-09-05 09:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788581215000,"timestamp_ms":1788581215000,"timestamp_seconds":1788581215,"priority":1,"record_length":96,"hex_timestamp":"000001a06fbf7b18"} 
[2026-09-05 09:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-05 09:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174090,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174090,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876787712001,"66":14428,"17":206,"94":11008,"24":10,"16":30317443998023680,"45":948289226669869056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-05 09:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876787712001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:37:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 09:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30317443998023680,"km_value":30317443998023.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":948289226669869056,"description":"Unknown IO ID 45"} 
[2026-09-05 09:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876787712001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":948289226669869056}} 
[2026-09-05 09:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":174090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767785,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:37:48] local.INFO: GPS data processed {"connection_id":174090,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:37:48] local.INFO: Acknowledgment sent {"connection_id":174090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:37:56] local.INFO: TCP Data received {"connection_id":171391,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:37:56] local.INFO: Processing buffer {"connection_id":171391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:37:56] local.INFO: IMEI packet received {"connection_id":171391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":171391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:38:01] local.INFO: TCP Data received {"connection_id":171391,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:38:01] local.INFO: Processing buffer {"connection_id":171391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:38:01] local.INFO: IMEI packet received {"connection_id":171391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":171391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:38:02] local.INFO: TCP Data received {"connection_id":171391,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fbea058012d56ce00066377b8000f00462c..."} 
[2026-09-05 09:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fbea058012d56ce00066377b8000f00462c..."} 
[2026-09-05 09:38:02] local.INFO: Processing buffer {"connection_id":171391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fbea058012d56ce00066377b8000f00462c..."} 
[2026-09-05 09:38:02] local.INFO: Packet analysis {"connection_id":171391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fbe"} 
[2026-09-05 09:38:02] local.INFO: Extracted packet for processing {"connection_id":171391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fbe"} 
[2026-09-05 09:38:02] local.INFO: GPS Element Parsed {"raw_longitude":760663552,"raw_latitude":107182008,"longitude_deg":76.0663552,"latitude_deg":10.7182008,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d56ce00","hex_latitude":"066377b8","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876700672001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399373650051989504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6251911103902980096,"note":"Value kept but may cause issues"} 
[2026-09-05 09:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788581159000,"timestamp_ms":1788581159000,"timestamp_seconds":1788581159,"priority":1,"record_length":96,"hex_timestamp":"000001a06fbea058"} 
[2026-09-05 09:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:38:02] 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-09-05 09: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":207,"data_length":795,"current_offset":136} 
[2026-09-05 09:38: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-09-05 09: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-09-05 09:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876700672001,"66":26539,"11":206,"78":63744,"24":0,"16":399373650051989504,"45":6251911103902980096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-09-05 09:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876700672001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:38:02] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 09:38:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399373650051989504,"km_value":399373650051989.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6251911103902980096,"description":"Unknown IO ID 45"} 
[2026-09-05 09:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876700672001,"power":26539,"unknown_11":206,"unknown_78":63744,"ignition":0,"odometer":null,"unknown_45":6251911103902980096}} 
[2026-09-05 09:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":171391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:38:02] local.INFO: GPS data processed {"connection_id":171391,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:38:02] local.INFO: Acknowledgment sent {"connection_id":171391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:38:03] local.INFO: TCP Data received {"connection_id":174091,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a06fbc2b70012d7d350005ec0b400001009826..."} 
[2026-09-05 09:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fbc2b70012d7d350005ec0b400001009826..."} 
[2026-09-05 09:38:03] local.INFO: Processing buffer {"connection_id":174091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fbc2b70012d7d350005ec0b400001009826..."} 
[2026-09-05 09:38:03] local.INFO: Packet analysis {"connection_id":174091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fbc"} 
[2026-09-05 09:38:03] local.INFO: Extracted packet for processing {"connection_id":174091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fbc"} 
[2026-09-05 09:38:03] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":38,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876658432001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788580998000,"timestamp_ms":1788580998000,"timestamp_seconds":1788580998,"priority":1,"record_length":96,"hex_timestamp":"000001a06fbc2b70"} 
[2026-09-05 09:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:38: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-09-05 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:38:03] 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-09-05 09: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-09-05 09:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876658432001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876658432001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:38:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:38:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876658432001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":174091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767787,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:38:03] local.INFO: GPS data processed {"connection_id":174091,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:38:03] local.INFO: Acknowledgment sent {"connection_id":174091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:38:05] local.INFO: TCP Data received {"connection_id":174092,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174092,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:38:05] local.INFO: Processing buffer {"connection_id":174092,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:38:05] local.INFO: IMEI packet received {"connection_id":174092,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":174092,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:38:10] local.INFO: TCP Data received {"connection_id":174092,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174092,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:38:10] local.INFO: Processing buffer {"connection_id":174092,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:38:10] local.INFO: IMEI packet received {"connection_id":174092,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":174092,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:38:11] local.INFO: TCP Data received {"connection_id":174092,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fbf8ab8012d0d29c00703e720001100ad22..."} 
[2026-09-05 09:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fbf8ab8012d0d29c00703e720001100ad22..."} 
[2026-09-05 09:38:11] local.INFO: Processing buffer {"connection_id":174092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fbf8ab8012d0d29c00703e720001100ad22..."} 
[2026-09-05 09:38:11] local.INFO: Packet analysis {"connection_id":174092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fbf"} 
[2026-09-05 09:38:11] local.INFO: Extracted packet for processing {"connection_id":174092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fbf"} 
[2026-09-05 09:38:11] local.INFO: GPS Element Parsed {"raw_longitude":755837376,"raw_latitude":117696288,"longitude_deg":75.5837376,"latitude_deg":11.7696288,"altitude":17,"angle":173,"satellites":34,"speed":10,"hex_longitude":"2d0d29c0","hex_latitude":"0703e720","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876791040001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30317495537631232,"note":"Value kept but may cause issues"} 
[2026-09-05 09:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948500332901251072,"note":"Value kept but may cause issues"} 
[2026-09-05 09:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788581219000,"timestamp_ms":1788581219000,"timestamp_seconds":1788581219,"priority":1,"record_length":96,"hex_timestamp":"000001a06fbf8ab8"} 
[2026-09-05 09:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:38: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-09-05 09:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 09:38: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-09-05 09:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174092,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174092,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876791040001,"66":14461,"17":206,"94":11008,"24":10,"16":30317495537631232,"45":948500332901251072},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-05 09:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876791040001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:38:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 09:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30317495537631232,"km_value":30317495537631.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":948500332901251072,"description":"Unknown IO ID 45"} 
[2026-09-05 09:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876791040001,"power":14461,"axis_x":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":948500332901251072}} 
[2026-09-05 09:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":174092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767788,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:38:11] local.INFO: GPS data processed {"connection_id":174092,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:38:11] local.INFO: Acknowledgment sent {"connection_id":174092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:38:25] local.INFO: TCP Data received {"connection_id":171392,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:38:25] local.INFO: Processing buffer {"connection_id":171392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:38:25] local.INFO: IMEI packet received {"connection_id":171392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":171392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:38:30] local.INFO: TCP Data received {"connection_id":171392,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:38:30] local.INFO: Processing buffer {"connection_id":171392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:38:30] local.INFO: IMEI packet received {"connection_id":171392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":171392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:38:31] local.INFO: TCP Data received {"connection_id":174089,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 09:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174089,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 09:38:31] local.INFO: Processing buffer {"connection_id":174089,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 09:38:31] local.INFO: IMEI packet received {"connection_id":174089,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 09:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":174089,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:38:31] local.INFO: TCP Data received {"connection_id":171392,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc0c338012d7d350005ec0b400001009820..."} 
[2026-09-05 09:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc0c338012d7d350005ec0b400001009820..."} 
[2026-09-05 09:38:31] local.INFO: Processing buffer {"connection_id":171392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc0c338012d7d350005ec0b400001009820..."} 
[2026-09-05 09:38:31] local.INFO: Packet analysis {"connection_id":171392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc0"} 
[2026-09-05 09:38:31] local.INFO: Extracted packet for processing {"connection_id":171392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc0"} 
[2026-09-05 09:38:31] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":32,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876735488001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788581299000,"timestamp_ms":1788581299000,"timestamp_seconds":1788581299,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc0c338"} 
[2026-09-05 09:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:38:31] 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-09-05 09:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:38:31] 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-09-05 09:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876735488001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876735488001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:38:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:38:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876735488001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":171392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767789,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:38:31] local.INFO: GPS data processed {"connection_id":171392,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:38:31] local.INFO: Acknowledgment sent {"connection_id":171392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:38:33] local.INFO: TCP Data received {"connection_id":171391,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fbea058012d56ce00066377b8000f00462c..."} 
[2026-09-05 09:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fbea058012d56ce00066377b8000f00462c..."} 
[2026-09-05 09:38:33] local.INFO: Processing buffer {"connection_id":171391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fbea058012d56ce00066377b8000f00462c..."} 
[2026-09-05 09:38:33] local.INFO: Packet analysis {"connection_id":171391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fbe"} 
[2026-09-05 09:38:33] local.INFO: Extracted packet for processing {"connection_id":171391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fbe"} 
[2026-09-05 09:38:33] local.INFO: GPS Element Parsed {"raw_longitude":760663552,"raw_latitude":107182008,"longitude_deg":76.0663552,"latitude_deg":10.7182008,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d56ce00","hex_latitude":"066377b8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876700672001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399373650051989504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6251911103902980096,"note":"Value kept but may cause issues"} 
[2026-09-05 09:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788581159000,"timestamp_ms":1788581159000,"timestamp_seconds":1788581159,"priority":1,"record_length":96,"hex_timestamp":"000001a06fbea058"} 
[2026-09-05 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-09-05 09:38: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-09-05 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 09:38: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-09-05 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-09-05 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-09-05 09:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:38: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-09-05 09:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876700672001,"66":26539,"11":206,"78":63744,"24":0,"16":399373650051989504,"45":6251911103902980096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-09-05 09:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876700672001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:38:33] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 09:38:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399373650051989504,"km_value":399373650051989.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6251911103902980096,"description":"Unknown IO ID 45"} 
[2026-09-05 09:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876700672001,"power":26539,"unknown_11":206,"unknown_78":63744,"ignition":0,"odometer":null,"unknown_45":6251911103902980096}} 
[2026-09-05 09:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":171391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:38:33] local.INFO: GPS data processed {"connection_id":171391,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:38:33] local.INFO: Acknowledgment sent {"connection_id":171391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:38:42] local.INFO: TCP Data received {"connection_id":174092,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc0b780012d0d2dc00703cc58001001471e..."} 
[2026-09-05 09:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc0b780012d0d2dc00703cc58001001471e..."} 
[2026-09-05 09:38:42] local.INFO: Processing buffer {"connection_id":174092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc0b780012d0d2dc00703cc58001001471e..."} 
[2026-09-05 09:38:42] local.INFO: Packet analysis {"connection_id":174092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc0"} 
[2026-09-05 09:38:42] local.INFO: Extracted packet for processing {"connection_id":174092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc0"} 
[2026-09-05 09:38:42] local.INFO: GPS Element Parsed {"raw_longitude":755838400,"raw_latitude":117689432,"longitude_deg":75.58384,"latitude_deg":11.7689432,"altitude":16,"angle":327,"satellites":30,"speed":4,"hex_longitude":"2d0d2dc0","hex_latitude":"0703cc58","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876811520001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30317933624295424,"note":"Value kept but may cause issues"} 
[2026-09-05 09:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949696601550223360,"note":"Value kept but may cause issues"} 
[2026-09-05 09:38:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 09:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788581296000,"timestamp_ms":1788581296000,"timestamp_seconds":1788581296,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc0b780"} 
[2026-09-05 09:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:38: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-09-05 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 09:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":174092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":174092,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":174092,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876811520001,"66":14396,"16":30317933624295424,"94":11008,"24":4,"45":949696601550223360},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-05 09:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876811520001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30317933624295424,"km_value":30317933624295.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:38:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 09:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":949696601550223360,"description":"Unknown IO ID 45"} 
[2026-09-05 09:38:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457876811520001,"power":14396,"odometer":null,"unknown_94":11008,"ignition":4,"unknown_45":949696601550223360}} 
[2026-09-05 09:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":174092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767791,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:38:42] local.INFO: GPS data processed {"connection_id":174092,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:38:42] local.INFO: Acknowledgment sent {"connection_id":174092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:38:56] local.INFO: TCP Data received {"connection_id":172793,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:38:56] local.INFO: Processing buffer {"connection_id":172793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:38:56] local.INFO: IMEI packet received {"connection_id":172793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":172793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:39:01] local.INFO: TCP Data received {"connection_id":172793,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:39:01] local.INFO: Processing buffer {"connection_id":172793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:39:01] local.INFO: IMEI packet received {"connection_id":172793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":172793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:39:03] local.INFO: TCP Data received {"connection_id":171392,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc0c338012d7d350005ec0b400001009820..."} 
[2026-09-05 09:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc0c338012d7d350005ec0b400001009820..."} 
[2026-09-05 09:39:03] local.INFO: Processing buffer {"connection_id":171392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc0c338012d7d350005ec0b400001009820..."} 
[2026-09-05 09:39:03] local.INFO: Packet analysis {"connection_id":171392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc0"} 
[2026-09-05 09:39:03] local.INFO: Extracted packet for processing {"connection_id":171392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc0"} 
[2026-09-05 09:39:03] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":32,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876735488001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788581299000,"timestamp_ms":1788581299000,"timestamp_seconds":1788581299,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc0c338"} 
[2026-09-05 09:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:39: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-09-05 09:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:39:03] 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-09-05 09:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876735488001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876735488001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:39:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:39:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876735488001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":171392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767792,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:39:03] local.INFO: GPS data processed {"connection_id":171392,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:39:03] local.INFO: Acknowledgment sent {"connection_id":171392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:39:03] local.INFO: TCP Data received {"connection_id":172793,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a06fbea058012d56ce00066377b8000f00462c..."} 
[2026-09-05 09:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fbea058012d56ce00066377b8000f00462c..."} 
[2026-09-05 09:39:03] local.INFO: Processing buffer {"connection_id":172793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fbea058012d56ce00066377b8000f00462c..."} 
[2026-09-05 09:39:03] local.INFO: Packet analysis {"connection_id":172793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fbe"} 
[2026-09-05 09:39:03] local.INFO: Extracted packet for processing {"connection_id":172793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fbe"} 
[2026-09-05 09:39:03] local.INFO: GPS Element Parsed {"raw_longitude":760663552,"raw_latitude":107182008,"longitude_deg":76.0663552,"latitude_deg":10.7182008,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d56ce00","hex_latitude":"066377b8","is_valid_coordinates":true} 
[2026-09-05 09:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876700672001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399373650051989504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6251911103902980096,"note":"Value kept but may cause issues"} 
[2026-09-05 09:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788581159000,"timestamp_ms":1788581159000,"timestamp_seconds":1788581159,"priority":1,"record_length":96,"hex_timestamp":"000001a06fbea058"} 
[2026-09-05 09:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:39: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-09-05 09:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 09:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876700672001,"66":26539,"11":206,"78":63744,"24":0,"16":399373650051989504,"45":6251911103902980096},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-09-05 09:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876700672001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:39:03] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 09:39:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399373650051989504,"km_value":399373650051989.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6251911103902980096,"description":"Unknown IO ID 45"} 
[2026-09-05 09:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876700672001,"power":26539,"unknown_11":206,"unknown_78":63744,"ignition":0,"odometer":null,"unknown_45":6251911103902980096}} 
[2026-09-05 09:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":172793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:39:03] local.INFO: GPS data processed {"connection_id":172793,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:39:03] local.INFO: Acknowledgment sent {"connection_id":172793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:39:05] local.INFO: TCP Data received {"connection_id":172794,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172794,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:39:05] local.INFO: Processing buffer {"connection_id":172794,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:39:05] local.INFO: IMEI packet received {"connection_id":172794,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":172794,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:39:11] local.INFO: TCP Data received {"connection_id":172794,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172794,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:39:11] local.INFO: Processing buffer {"connection_id":172794,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:39:11] local.INFO: IMEI packet received {"connection_id":172794,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":172794,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:39:11] local.INFO: TCP Data received {"connection_id":172794,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc0bb68012d0d2dc00703ccc8001001571e..."} 
[2026-09-05 09:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc0bb68012d0d2dc00703ccc8001001571e..."} 
[2026-09-05 09:39:11] local.INFO: Processing buffer {"connection_id":172794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc0bb68012d0d2dc00703ccc8001001571e..."} 
[2026-09-05 09:39:11] local.INFO: Packet analysis {"connection_id":172794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc0"} 
[2026-09-05 09:39:11] local.INFO: Extracted packet for processing {"connection_id":172794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc0"} 
[2026-09-05 09:39:11] local.INFO: GPS Element Parsed {"raw_longitude":755838400,"raw_latitude":117689544,"longitude_deg":75.58384,"latitude_deg":11.7689544,"altitude":16,"angle":343,"satellites":30,"speed":5,"hex_longitude":"2d0d2dc0","hex_latitude":"0703ccc8","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876811776001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30317937919262720,"note":"Value kept but may cause issues"} 
[2026-09-05 09:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949626232806070272,"note":"Value kept but may cause issues"} 
[2026-09-05 09:39:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 09:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788581297000,"timestamp_ms":1788581297000,"timestamp_seconds":1788581297,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc0bb68"} 
[2026-09-05 09:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:39: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-09-05 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 09:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":172794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":172794,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":172794,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876811776001,"66":14396,"16":30317937919262720,"94":11008,"24":5,"45":949626232806070272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-05 09:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876811776001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30317937919262720,"km_value":30317937919262.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:39:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 09:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":949626232806070272,"description":"Unknown IO ID 45"} 
[2026-09-05 09:39:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457876811776001,"power":14396,"odometer":null,"unknown_94":11008,"ignition":5,"unknown_45":949626232806070272}} 
[2026-09-05 09:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":172794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767794,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:39:11] local.INFO: GPS data processed {"connection_id":172794,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:39:11] local.INFO: Acknowledgment sent {"connection_id":172794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:39:25] local.INFO: TCP Data received {"connection_id":171393,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:39:25] local.INFO: Processing buffer {"connection_id":171393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:39:25] local.INFO: IMEI packet received {"connection_id":171393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":171393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:39:31] local.INFO: TCP Data received {"connection_id":171393,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:39:31] local.INFO: Processing buffer {"connection_id":171393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:39:31] local.INFO: IMEI packet received {"connection_id":171393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":171393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:39:32] local.INFO: TCP Data received {"connection_id":171393,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc0c338012d7d350005ec0b400001009820..."} 
[2026-09-05 09:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc0c338012d7d350005ec0b400001009820..."} 
[2026-09-05 09:39:32] local.INFO: Processing buffer {"connection_id":171393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc0c338012d7d350005ec0b400001009820..."} 
[2026-09-05 09:39:32] local.INFO: Packet analysis {"connection_id":171393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc0"} 
[2026-09-05 09:39:32] local.INFO: Extracted packet for processing {"connection_id":171393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc0"} 
[2026-09-05 09:39:32] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":32,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876735488001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788581299000,"timestamp_ms":1788581299000,"timestamp_seconds":1788581299,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc0c338"} 
[2026-09-05 09:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:39: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-09-05 09: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":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:39:32] 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-09-05 09: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-09-05 09:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876735488001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876735488001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:39:32] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:39:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876735488001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":171393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767795,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:39:32] local.INFO: GPS data processed {"connection_id":171393,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:39:32] local.INFO: Acknowledgment sent {"connection_id":171393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:39:35] local.INFO: TCP Data received {"connection_id":172793,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a06fbea058012d56ce00066377b8000f00462c..."} 
[2026-09-05 09:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fbea058012d56ce00066377b8000f00462c..."} 
[2026-09-05 09:39:35] local.INFO: Processing buffer {"connection_id":172793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fbea058012d56ce00066377b8000f00462c..."} 
[2026-09-05 09:39:35] local.INFO: Packet analysis {"connection_id":172793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fbe"} 
[2026-09-05 09:39:35] local.INFO: Extracted packet for processing {"connection_id":172793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fbe"} 
[2026-09-05 09:39:35] local.INFO: GPS Element Parsed {"raw_longitude":760663552,"raw_latitude":107182008,"longitude_deg":76.0663552,"latitude_deg":10.7182008,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d56ce00","hex_latitude":"066377b8","is_valid_coordinates":true} 
[2026-09-05 09:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876700672001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399373650051989504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6251911103902980096,"note":"Value kept but may cause issues"} 
[2026-09-05 09:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788581159000,"timestamp_ms":1788581159000,"timestamp_seconds":1788581159,"priority":1,"record_length":96,"hex_timestamp":"000001a06fbea058"} 
[2026-09-05 09:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:39:35] 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-09-05 09:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 09:39: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-09-05 09:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876700672001,"66":26539,"11":206,"78":63744,"24":0,"16":399373650051989504,"45":6251911103902980096},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-09-05 09:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876700672001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:39:35] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 09:39:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399373650051989504,"km_value":399373650051989.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6251911103902980096,"description":"Unknown IO ID 45"} 
[2026-09-05 09:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876700672001,"power":26539,"unknown_11":206,"unknown_78":63744,"ignition":0,"odometer":null,"unknown_45":6251911103902980096}} 
[2026-09-05 09:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":172793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:39:35] local.INFO: GPS data processed {"connection_id":172793,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:39:35] local.INFO: Acknowledgment sent {"connection_id":172793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:39:42] local.INFO: TCP Data received {"connection_id":172794,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc0e660012d0d2b000703d8480013016321..."} 
[2026-09-05 09:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc0e660012d0d2b000703d8480013016321..."} 
[2026-09-05 09:39:42] local.INFO: Processing buffer {"connection_id":172794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc0e660012d0d2b000703d8480013016321..."} 
[2026-09-05 09:39:42] local.INFO: Packet analysis {"connection_id":172794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc0"} 
[2026-09-05 09:39:42] local.INFO: Extracted packet for processing {"connection_id":172794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc0"} 
[2026-09-05 09:39:42] local.INFO: GPS Element Parsed {"raw_longitude":755837696,"raw_latitude":117692488,"longitude_deg":75.5837696,"latitude_deg":11.7692488,"altitude":19,"angle":355,"satellites":33,"speed":14,"hex_longitude":"2d0d2b00","hex_latitude":"0703d848","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876812032001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30318088243118080,"note":"Value kept but may cause issues"} 
[2026-09-05 09:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949626232806098944,"note":"Value kept but may cause issues"} 
[2026-09-05 09:39:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 09:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788581308000,"timestamp_ms":1788581308000,"timestamp_seconds":1788581308,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc0e660"} 
[2026-09-05 09:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:39: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-09-05 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 09:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":172794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":172794,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":172794,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876812032001,"66":14559,"16":30318088243118080,"94":11008,"24":14,"45":949626232806098944},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-05 09:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876812032001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30318088243118080,"km_value":30318088243118.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:39:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 09:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":949626232806098944,"description":"Unknown IO ID 45"} 
[2026-09-05 09:39:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457876812032001,"power":14559,"odometer":null,"unknown_94":11008,"ignition":14,"unknown_45":949626232806098944}} 
[2026-09-05 09:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":172794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767797,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:39:43] local.INFO: GPS data processed {"connection_id":172794,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:39:43] local.INFO: Acknowledgment sent {"connection_id":172794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:39:56] local.INFO: TCP Data received {"connection_id":171685,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:39:56] local.INFO: Processing buffer {"connection_id":171685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:39:56] local.INFO: IMEI packet received {"connection_id":171685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":171685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:40:01] local.INFO: TCP Data received {"connection_id":171685,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:40:01] local.INFO: Processing buffer {"connection_id":171685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:40:01] local.INFO: IMEI packet received {"connection_id":171685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":171685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:40:02] local.INFO: TCP Data received {"connection_id":171685,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06fbea058012d56ce00066377b8000f00462c..."} 
[2026-09-05 09:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fbea058012d56ce00066377b8000f00462c..."} 
[2026-09-05 09:40:02] local.INFO: Processing buffer {"connection_id":171685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fbea058012d56ce00066377b8000f00462c..."} 
[2026-09-05 09:40:02] local.INFO: Packet analysis {"connection_id":171685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fbe"} 
[2026-09-05 09:40:02] local.INFO: Extracted packet for processing {"connection_id":171685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fbe"} 
[2026-09-05 09:40:02] local.INFO: GPS Element Parsed {"raw_longitude":760663552,"raw_latitude":107182008,"longitude_deg":76.0663552,"latitude_deg":10.7182008,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d56ce00","hex_latitude":"066377b8","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876700672001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399373650051989504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6251911103902980096,"note":"Value kept but may cause issues"} 
[2026-09-05 09:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788581159000,"timestamp_ms":1788581159000,"timestamp_seconds":1788581159,"priority":1,"record_length":96,"hex_timestamp":"000001a06fbea058"} 
[2026-09-05 09:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:40:02] 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-09-05 09:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 09:40: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-09-05 09: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-09-05 09:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:40: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-09-05 09:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876700672001,"66":26539,"11":206,"78":63744,"24":0,"16":399373650051989504,"45":6251911103902980096},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-09-05 09:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876700672001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:40:02] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 09:40:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399373650051989504,"km_value":399373650051989.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6251911103902980096,"description":"Unknown IO ID 45"} 
[2026-09-05 09:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876700672001,"power":26539,"unknown_11":206,"unknown_78":63744,"ignition":0,"odometer":null,"unknown_45":6251911103902980096}} 
[2026-09-05 09:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":171685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:40:02] local.INFO: GPS data processed {"connection_id":171685,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:40:02] local.INFO: Acknowledgment sent {"connection_id":171685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:40:04] local.INFO: TCP Data received {"connection_id":171393,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc0c338012d7d350005ec0b400001009820..."} 
[2026-09-05 09:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc0c338012d7d350005ec0b400001009820..."} 
[2026-09-05 09:40:04] local.INFO: Processing buffer {"connection_id":171393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc0c338012d7d350005ec0b400001009820..."} 
[2026-09-05 09:40:04] local.INFO: Packet analysis {"connection_id":171393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc0"} 
[2026-09-05 09:40:04] local.INFO: Extracted packet for processing {"connection_id":171393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc0"} 
[2026-09-05 09:40:04] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":32,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876735488001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788581299000,"timestamp_ms":1788581299000,"timestamp_seconds":1788581299,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc0c338"} 
[2026-09-05 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-09-05 09:40: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-09-05 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:40:04] 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-09-05 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-09-05 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-09-05 09:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876735488001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876735488001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:40:04] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:40:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876735488001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":171393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767799,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:40:04] local.INFO: GPS data processed {"connection_id":171393,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:40:04] local.INFO: Acknowledgment sent {"connection_id":171393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:40:10] local.INFO: TCP Data received {"connection_id":174093,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174093,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:40:10] local.INFO: Processing buffer {"connection_id":174093,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:40:10] local.INFO: IMEI packet received {"connection_id":174093,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":174093,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:40:10] local.INFO: TCP Data received {"connection_id":174093,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174093,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:40:10] local.INFO: Processing buffer {"connection_id":174093,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:40:10] local.INFO: IMEI packet received {"connection_id":174093,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":174093,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:40:15] local.INFO: TCP Data received {"connection_id":174093,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174093,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:40:15] local.INFO: Processing buffer {"connection_id":174093,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:40:15] local.INFO: IMEI packet received {"connection_id":174093,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":174093,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:40:16] local.INFO: TCP Data received {"connection_id":174093,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc13480012d0d28000703f868001501631f..."} 
[2026-09-05 09:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc13480012d0d28000703f868001501631f..."} 
[2026-09-05 09:40:16] local.INFO: Processing buffer {"connection_id":174093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc13480012d0d28000703f868001501631f..."} 
[2026-09-05 09:40:16] local.INFO: Packet analysis {"connection_id":174093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc1"} 
[2026-09-05 09:40:16] local.INFO: Extracted packet for processing {"connection_id":174093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc1"} 
[2026-09-05 09:40:16] local.INFO: GPS Element Parsed {"raw_longitude":755836928,"raw_latitude":117700712,"longitude_deg":75.5836928,"latitude_deg":11.7700712,"altitude":21,"angle":355,"satellites":31,"speed":14,"hex_longitude":"2d0d2800","hex_latitude":"0703f868","is_valid_coordinates":true} 
[2026-09-05 09:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876814848001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30318487675076608,"note":"Value kept but may cause issues"} 
[2026-09-05 09:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948852176620898304,"note":"Value kept but may cause issues"} 
[2026-09-05 09:40:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 09:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788581328000,"timestamp_ms":1788581328000,"timestamp_seconds":1788581328,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc13480"} 
[2026-09-05 09:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:40:16] 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-09-05 09:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-05 09:40:16] 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-09-05 09:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":174093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":174093,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":174093,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876814848001,"66":14450,"16":30318487675076608,"94":11008,"24":14,"45":948852176620898304},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-05 09:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876814848001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30318487675076608,"km_value":30318487675076.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:40:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 09:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":948852176620898304,"description":"Unknown IO ID 45"} 
[2026-09-05 09:40:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457876814848001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":14,"unknown_45":948852176620898304}} 
[2026-09-05 09:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":174093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767800,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:40:16] local.INFO: GPS data processed {"connection_id":174093,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:40:16] local.INFO: Acknowledgment sent {"connection_id":174093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:40:26] local.INFO: TCP Data received {"connection_id":174094,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:40:26] local.INFO: Processing buffer {"connection_id":174094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:40:26] local.INFO: IMEI packet received {"connection_id":174094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":174094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:40:30] local.INFO: TCP Data received {"connection_id":174094,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:40:30] local.INFO: Processing buffer {"connection_id":174094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:40:30] local.INFO: IMEI packet received {"connection_id":174094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":174094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:40:31] local.INFO: TCP Data received {"connection_id":174094,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc0c338012d7d350005ec0b400001009820..."} 
[2026-09-05 09:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc0c338012d7d350005ec0b400001009820..."} 
[2026-09-05 09:40:31] local.INFO: Processing buffer {"connection_id":174094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc0c338012d7d350005ec0b400001009820..."} 
[2026-09-05 09:40:31] local.INFO: Packet analysis {"connection_id":174094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc0"} 
[2026-09-05 09:40:31] local.INFO: Extracted packet for processing {"connection_id":174094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc0"} 
[2026-09-05 09:40:31] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":32,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876735488001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788581299000,"timestamp_ms":1788581299000,"timestamp_seconds":1788581299,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc0c338"} 
[2026-09-05 09:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:40:31] 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-09-05 09:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:40:31] 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-09-05 09:40:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876735488001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876735488001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:40:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:40:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876735488001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":174094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767801,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:40:31] local.INFO: GPS data processed {"connection_id":174094,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:40:31] local.INFO: Acknowledgment sent {"connection_id":174094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:40:36] local.INFO: TCP Data received {"connection_id":171685,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a06fbea058012d56ce00066377b8000f00462c..."} 
[2026-09-05 09:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fbea058012d56ce00066377b8000f00462c..."} 
[2026-09-05 09:40:36] local.INFO: Processing buffer {"connection_id":171685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fbea058012d56ce00066377b8000f00462c..."} 
[2026-09-05 09:40:36] local.INFO: Packet analysis {"connection_id":171685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fbe"} 
[2026-09-05 09:40:36] local.INFO: Extracted packet for processing {"connection_id":171685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fbe"} 
[2026-09-05 09:40:36] local.INFO: GPS Element Parsed {"raw_longitude":760663552,"raw_latitude":107182008,"longitude_deg":76.0663552,"latitude_deg":10.7182008,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d56ce00","hex_latitude":"066377b8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876700672001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399373650051989504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6251911103902980096,"note":"Value kept but may cause issues"} 
[2026-09-05 09:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788581159000,"timestamp_ms":1788581159000,"timestamp_seconds":1788581159,"priority":1,"record_length":96,"hex_timestamp":"000001a06fbea058"} 
[2026-09-05 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-09-05 09:40: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-09-05 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 09:40: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-09-05 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-09-05 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-09-05 09:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:40: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-09-05 09:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876700672001,"66":26539,"11":206,"78":63744,"24":0,"16":399373650051989504,"45":6251911103902980096},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-09-05 09:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876700672001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:40:36] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 09:40:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399373650051989504,"km_value":399373650051989.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6251911103902980096,"description":"Unknown IO ID 45"} 
[2026-09-05 09:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876700672001,"power":26539,"unknown_11":206,"unknown_78":63744,"ignition":0,"odometer":null,"unknown_45":6251911103902980096}} 
[2026-09-05 09:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":171685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:40:36] local.INFO: GPS data processed {"connection_id":171685,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:40:36] local.INFO: Acknowledgment sent {"connection_id":171685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:40:49] local.INFO: TCP Data received {"connection_id":174093,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc2bf08012d0d3240070464880017000720..."} 
[2026-09-05 09:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc2bf08012d0d3240070464880017000720..."} 
[2026-09-05 09:40:49] local.INFO: Processing buffer {"connection_id":174093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc2bf08012d0d3240070464880017000720..."} 
[2026-09-05 09:40:49] local.INFO: Packet analysis {"connection_id":174093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc2"} 
[2026-09-05 09:40:49] local.INFO: Extracted packet for processing {"connection_id":174093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc2"} 
[2026-09-05 09:40:49] local.INFO: GPS Element Parsed {"raw_longitude":755839552,"raw_latitude":117728392,"longitude_deg":75.5839552,"latitude_deg":11.7728392,"altitude":23,"angle":7,"satellites":32,"speed":12,"hex_longitude":"2d0d3240","hex_latitude":"07046488","is_valid_coordinates":true} 
[2026-09-05 09:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876844032001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30319883539447808,"note":"Value kept but may cause issues"} 
[2026-09-05 09:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949837339048065024,"note":"Value kept but may cause issues"} 
[2026-09-05 09:40:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 09:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788581429000,"timestamp_ms":1788581429000,"timestamp_seconds":1788581429,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc2bf08"} 
[2026-09-05 09:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:40:49] 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-09-05 09:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 09:40:49] 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-09-05 09:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174093,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174093,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876844032001,"66":14450,"16":30319883539447808,"94":11008,"24":12,"45":949837339048065024},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-05 09:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876844032001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30319883539447808,"km_value":30319883539447.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:40:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 09:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":949837339048065024,"description":"Unknown IO ID 45"} 
[2026-09-05 09:40:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457876844032001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":12,"unknown_45":949837339048065024}} 
[2026-09-05 09:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":174093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767803,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:40:49] local.INFO: GPS data processed {"connection_id":174093,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:40:49] local.INFO: Acknowledgment sent {"connection_id":174093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:40:56] local.INFO: TCP Data received {"connection_id":172796,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:40:56] local.INFO: Processing buffer {"connection_id":172796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:40:56] local.INFO: IMEI packet received {"connection_id":172796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":172796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:41:01] local.INFO: TCP Data received {"connection_id":172796,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:41:01] local.INFO: Processing buffer {"connection_id":172796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:41:01] local.INFO: IMEI packet received {"connection_id":172796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":172796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:41:02] local.INFO: TCP Data received {"connection_id":172796,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a06fbea058012d56ce00066377b8000f00462c..."} 
[2026-09-05 09:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fbea058012d56ce00066377b8000f00462c..."} 
[2026-09-05 09:41:02] local.INFO: Processing buffer {"connection_id":172796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fbea058012d56ce00066377b8000f00462c..."} 
[2026-09-05 09:41:02] local.INFO: Packet analysis {"connection_id":172796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fbe"} 
[2026-09-05 09:41:02] local.INFO: Extracted packet for processing {"connection_id":172796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fbe"} 
[2026-09-05 09:41:02] local.INFO: GPS Element Parsed {"raw_longitude":760663552,"raw_latitude":107182008,"longitude_deg":76.0663552,"latitude_deg":10.7182008,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d56ce00","hex_latitude":"066377b8","is_valid_coordinates":true} 
[2026-09-05 09:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876700672001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399373650051989504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6251911103902980096,"note":"Value kept but may cause issues"} 
[2026-09-05 09:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788581159000,"timestamp_ms":1788581159000,"timestamp_seconds":1788581159,"priority":1,"record_length":96,"hex_timestamp":"000001a06fbea058"} 
[2026-09-05 09:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:41:02] 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-09-05 09:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 09:41: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-09-05 09:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:41: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-09-05 09:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876700672001,"66":26539,"11":206,"78":63744,"24":0,"16":399373650051989504,"45":6251911103902980096},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-09-05 09:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876700672001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:41:02] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 09:41:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399373650051989504,"km_value":399373650051989.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6251911103902980096,"description":"Unknown IO ID 45"} 
[2026-09-05 09:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876700672001,"power":26539,"unknown_11":206,"unknown_78":63744,"ignition":0,"odometer":null,"unknown_45":6251911103902980096}} 
[2026-09-05 09:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":172796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:41:02] local.INFO: GPS data processed {"connection_id":172796,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:41:02] local.INFO: Acknowledgment sent {"connection_id":172796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:41:03] local.INFO: TCP Data received {"connection_id":174094,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc0c338012d7d350005ec0b400001009820..."} 
[2026-09-05 09:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc0c338012d7d350005ec0b400001009820..."} 
[2026-09-05 09:41:03] local.INFO: Processing buffer {"connection_id":174094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc0c338012d7d350005ec0b400001009820..."} 
[2026-09-05 09:41:03] local.INFO: Packet analysis {"connection_id":174094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc0"} 
[2026-09-05 09:41:03] local.INFO: Extracted packet for processing {"connection_id":174094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc0"} 
[2026-09-05 09:41:03] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":32,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876735488001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788581299000,"timestamp_ms":1788581299000,"timestamp_seconds":1788581299,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc0c338"} 
[2026-09-05 09:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:41: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-09-05 09:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:41:03] 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-09-05 09: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-09-05 09:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876735488001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876735488001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:41:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:41:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876735488001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":174094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767805,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:41:03] local.INFO: GPS data processed {"connection_id":174094,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:41:03] local.INFO: Acknowledgment sent {"connection_id":174094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:41:20] local.INFO: TCP Data received {"connection_id":171686,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171686,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:41:20] local.INFO: Processing buffer {"connection_id":171686,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:41:20] local.INFO: IMEI packet received {"connection_id":171686,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":171686,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:41:25] local.INFO: TCP Data received {"connection_id":171686,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171686,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:41:25] local.INFO: Processing buffer {"connection_id":171686,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:41:25] local.INFO: IMEI packet received {"connection_id":171686,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":171686,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:41:25] local.INFO: TCP Data received {"connection_id":171687,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:41:25] local.INFO: Processing buffer {"connection_id":171687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:41:25] local.INFO: IMEI packet received {"connection_id":171687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":171687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:41:26] local.INFO: TCP Data received {"connection_id":171686,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc2d290012d0d338007046c08001800121f..."} 
[2026-09-05 09:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc2d290012d0d338007046c08001800121f..."} 
[2026-09-05 09:41:26] local.INFO: Processing buffer {"connection_id":171686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc2d290012d0d338007046c08001800121f..."} 
[2026-09-05 09:41:26] local.INFO: Packet analysis {"connection_id":171686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc2"} 
[2026-09-05 09:41:26] local.INFO: Extracted packet for processing {"connection_id":171686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc2"} 
[2026-09-05 09:41:26] local.INFO: GPS Element Parsed {"raw_longitude":755839872,"raw_latitude":117730312,"longitude_deg":75.5839872,"latitude_deg":11.7730312,"altitude":24,"angle":18,"satellites":31,"speed":17,"hex_longitude":"2d0d3380","hex_latitude":"07046c08","is_valid_coordinates":true} 
[2026-09-05 09:41: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-09-05 09:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876845824001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30319978028728320,"note":"Value kept but may cause issues"} 
[2026-09-05 09:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950892870211241984,"note":"Value kept but may cause issues"} 
[2026-09-05 09:41:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 09:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788581434000,"timestamp_ms":1788581434000,"timestamp_seconds":1788581434,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc2d290"} 
[2026-09-05 09:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:41:26] 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-09-05 09:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-05 09:41:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:41: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-09-05 09:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171686,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171686,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876845824001,"66":14439,"16":30319978028728320,"94":11008,"24":17,"45":950892870211241984},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-05 09:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876845824001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30319978028728320,"km_value":30319978028728.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:41:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 09:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":950892870211241984,"description":"Unknown IO ID 45"} 
[2026-09-05 09:41:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457876845824001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":17,"unknown_45":950892870211241984}} 
[2026-09-05 09:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":171686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767806,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:41:26] local.INFO: GPS data processed {"connection_id":171686,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:41:26] local.INFO: Acknowledgment sent {"connection_id":171686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:41:31] local.INFO: TCP Data received {"connection_id":171687,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:41:31] local.INFO: Processing buffer {"connection_id":171687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:41:31] local.INFO: IMEI packet received {"connection_id":171687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":171687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:41:32] local.INFO: TCP Data received {"connection_id":171687,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc0c338012d7d350005ec0b400001009820..."} 
[2026-09-05 09:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc0c338012d7d350005ec0b400001009820..."} 
[2026-09-05 09:41:32] local.INFO: Processing buffer {"connection_id":171687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc0c338012d7d350005ec0b400001009820..."} 
[2026-09-05 09:41:32] local.INFO: Packet analysis {"connection_id":171687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc0"} 
[2026-09-05 09:41:32] local.INFO: Extracted packet for processing {"connection_id":171687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc0"} 
[2026-09-05 09:41:32] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":32,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876735488001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788581299000,"timestamp_ms":1788581299000,"timestamp_seconds":1788581299,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc0c338"} 
[2026-09-05 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-09-05 09:41: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-09-05 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:41:32] 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-09-05 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-09-05 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-09-05 09:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876735488001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876735488001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:41:32] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:41:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876735488001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":171687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767807,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:41:32] local.INFO: GPS data processed {"connection_id":171687,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:41:32] local.INFO: Acknowledgment sent {"connection_id":171687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:41:33] local.INFO: TCP Data received {"connection_id":172796,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc32498012d56ce00066377b8000f00462d..."} 
[2026-09-05 09:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc32498012d56ce00066377b8000f00462d..."} 
[2026-09-05 09:41:33] local.INFO: Processing buffer {"connection_id":172796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc32498012d56ce00066377b8000f00462d..."} 
[2026-09-05 09:41:33] local.INFO: Packet analysis {"connection_id":172796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc3"} 
[2026-09-05 09:41:33] local.INFO: Extracted packet for processing {"connection_id":172796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc3"} 
[2026-09-05 09:41:33] local.INFO: GPS Element Parsed {"raw_longitude":760663552,"raw_latitude":107182008,"longitude_deg":76.0663552,"latitude_deg":10.7182008,"altitude":15,"angle":70,"satellites":45,"speed":0,"hex_longitude":"2d56ce00","hex_latitude":"066377b8","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876776704001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399373650051989504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6254936959902791680,"note":"Value kept but may cause issues"} 
[2026-09-05 09:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788581455000,"timestamp_ms":1788581455000,"timestamp_seconds":1788581455,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc32498"} 
[2026-09-05 09:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 09: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-05 09:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:41: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-09-05 09:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876776704001,"66":26310,"11":206,"78":63744,"24":0,"16":399373650051989504,"45":6254936959902791680},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-09-05 09:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876776704001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:41:33] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 09:41:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399373650051989504,"km_value":399373650051989.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6254936959902791680,"description":"Unknown IO ID 45"} 
[2026-09-05 09:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876776704001,"power":26310,"unknown_11":206,"unknown_78":63744,"ignition":0,"odometer":null,"unknown_45":6254936959902791680}} 
[2026-09-05 09:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":172796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:41:33] local.INFO: GPS data processed {"connection_id":172796,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:41:33] local.INFO: Acknowledgment sent {"connection_id":172796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:41:56] local.INFO: TCP Data received {"connection_id":171394,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:41:56] local.INFO: Processing buffer {"connection_id":171394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:41:56] local.INFO: IMEI packet received {"connection_id":171394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":171394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:42:01] local.INFO: TCP Data received {"connection_id":171394,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:42:01] local.INFO: Processing buffer {"connection_id":171394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:42:01] local.INFO: IMEI packet received {"connection_id":171394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":171394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:42:02] local.INFO: TCP Data received {"connection_id":171394,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc32498012d56ce00066377b8000f00462d..."} 
[2026-09-05 09:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc32498012d56ce00066377b8000f00462d..."} 
[2026-09-05 09:42:02] local.INFO: Processing buffer {"connection_id":171394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc32498012d56ce00066377b8000f00462d..."} 
[2026-09-05 09:42:02] local.INFO: Packet analysis {"connection_id":171394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc3"} 
[2026-09-05 09:42:02] local.INFO: Extracted packet for processing {"connection_id":171394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc3"} 
[2026-09-05 09:42:02] local.INFO: GPS Element Parsed {"raw_longitude":760663552,"raw_latitude":107182008,"longitude_deg":76.0663552,"latitude_deg":10.7182008,"altitude":15,"angle":70,"satellites":45,"speed":0,"hex_longitude":"2d56ce00","hex_latitude":"066377b8","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876776704001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399373650051989504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6254936959902791680,"note":"Value kept but may cause issues"} 
[2026-09-05 09:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788581455000,"timestamp_ms":1788581455000,"timestamp_seconds":1788581455,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc32498"} 
[2026-09-05 09:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 09: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-05 09:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:42: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-09-05 09:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876776704001,"66":26310,"11":206,"78":63744,"24":0,"16":399373650051989504,"45":6254936959902791680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-09-05 09:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876776704001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:42:02] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 09:42:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399373650051989504,"km_value":399373650051989.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6254936959902791680,"description":"Unknown IO ID 45"} 
[2026-09-05 09:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876776704001,"power":26310,"unknown_11":206,"unknown_78":63744,"ignition":0,"odometer":null,"unknown_45":6254936959902791680}} 
[2026-09-05 09:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":171394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:42:02] local.INFO: GPS data processed {"connection_id":171394,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:42:02] local.INFO: Acknowledgment sent {"connection_id":171394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:42:03] local.INFO: TCP Data received {"connection_id":171687,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc0c338012d7d350005ec0b400001009820..."} 
[2026-09-05 09:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc0c338012d7d350005ec0b400001009820..."} 
[2026-09-05 09:42:03] local.INFO: Processing buffer {"connection_id":171687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc0c338012d7d350005ec0b400001009820..."} 
[2026-09-05 09:42:03] local.INFO: Packet analysis {"connection_id":171687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc0"} 
[2026-09-05 09:42:03] local.INFO: Extracted packet for processing {"connection_id":171687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc0"} 
[2026-09-05 09:42:03] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":32,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876735488001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788581299000,"timestamp_ms":1788581299000,"timestamp_seconds":1788581299,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc0c338"} 
[2026-09-05 09:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:42: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-09-05 09: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":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:42:03] 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-09-05 09: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-09-05 09:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876735488001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876735488001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:42:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:42:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876735488001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":171687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:42:03] local.INFO: GPS data processed {"connection_id":171687,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:42:03] local.INFO: Acknowledgment sent {"connection_id":171687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:42:05] local.INFO: TCP Data received {"connection_id":172797,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172797,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:42:05] local.INFO: Processing buffer {"connection_id":172797,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:42:05] local.INFO: IMEI packet received {"connection_id":172797,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":172797,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:42:09] local.INFO: TCP Data received {"connection_id":172797,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172797,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:42:09] local.INFO: Processing buffer {"connection_id":172797,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:42:09] local.INFO: IMEI packet received {"connection_id":172797,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":172797,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:42:10] local.INFO: TCP Data received {"connection_id":172797,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172797,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:42:10] local.INFO: Processing buffer {"connection_id":172797,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:42:10] local.INFO: IMEI packet received {"connection_id":172797,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":172797,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:42:11] local.INFO: TCP Data received {"connection_id":172797,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc2f5b8012d0d3780070479d0001900001e..."} 
[2026-09-05 09:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc2f5b8012d0d3780070479d0001900001e..."} 
[2026-09-05 09:42:11] local.INFO: Processing buffer {"connection_id":172797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc2f5b8012d0d3780070479d0001900001e..."} 
[2026-09-05 09:42:11] local.INFO: Packet analysis {"connection_id":172797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc2"} 
[2026-09-05 09:42:11] local.INFO: Extracted packet for processing {"connection_id":172797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc2"} 
[2026-09-05 09:42:11] local.INFO: GPS Element Parsed {"raw_longitude":755840896,"raw_latitude":117733840,"longitude_deg":75.5840896,"latitude_deg":11.773384,"altitude":25,"angle":0,"satellites":30,"speed":14,"hex_longitude":"2d0d3780","hex_latitude":"070479d0","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876847104001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30320158417354752,"note":"Value kept but may cause issues"} 
[2026-09-05 09:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":951244713932621824,"note":"Value kept but may cause issues"} 
[2026-09-05 09:42:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 09:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788581443000,"timestamp_ms":1788581443000,"timestamp_seconds":1788581443,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc2f5b8"} 
[2026-09-05 09:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:42: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-09-05 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-05 09:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":172797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":172797,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":172797,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876847104001,"66":14494,"16":30320158417354752,"94":11008,"24":14,"45":951244713932621824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-05 09:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876847104001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30320158417354752,"km_value":30320158417354.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:42:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 09:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":951244713932621824,"description":"Unknown IO ID 45"} 
[2026-09-05 09:42:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457876847104001,"power":14494,"odometer":null,"unknown_94":11008,"ignition":14,"unknown_45":951244713932621824}} 
[2026-09-05 09:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":172797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767811,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:42:11] local.INFO: GPS data processed {"connection_id":172797,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:42:11] local.INFO: Acknowledgment sent {"connection_id":172797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:42:16] local.INFO: TCP Data received {"connection_id":172797,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc343d8012d0d3a00070496b8001a01641e..."} 
[2026-09-05 09:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc343d8012d0d3a00070496b8001a01641e..."} 
[2026-09-05 09:42:16] local.INFO: Processing buffer {"connection_id":172797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc343d8012d0d3a00070496b8001a01641e..."} 
[2026-09-05 09:42:16] local.INFO: Packet analysis {"connection_id":172797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc3"} 
[2026-09-05 09:42:16] local.INFO: Extracted packet for processing {"connection_id":172797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc3"} 
[2026-09-05 09:42:16] local.INFO: GPS Element Parsed {"raw_longitude":755841536,"raw_latitude":117741240,"longitude_deg":75.5841536,"latitude_deg":11.774124,"altitude":26,"angle":356,"satellites":30,"speed":16,"hex_longitude":"2d0d3a00","hex_latitude":"070496b8","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876849408001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30320519194607616,"note":"Value kept but may cause issues"} 
[2026-09-05 09:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952370613840367616,"note":"Value kept but may cause issues"} 
[2026-09-05 09:42:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 09:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788581463000,"timestamp_ms":1788581463000,"timestamp_seconds":1788581463,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc343d8"} 
[2026-09-05 09:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:42:16] 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-09-05 09:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-05 09:42:16] 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-09-05 09: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-09-05 09:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":172797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":172797,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":172797,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876849408001,"66":14135,"16":30320519194607616,"94":11008,"24":16,"45":952370613840367616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-05 09:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876849408001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30320519194607616,"km_value":30320519194607.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:42:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 09:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":952370613840367616,"description":"Unknown IO ID 45"} 
[2026-09-05 09:42:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457876849408001,"power":14135,"odometer":null,"unknown_94":11008,"ignition":16,"unknown_45":952370613840367616}} 
[2026-09-05 09:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":172797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767812,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:42:16] local.INFO: GPS data processed {"connection_id":172797,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:42:16] local.INFO: Acknowledgment sent {"connection_id":172797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:42:25] local.INFO: TCP Data received {"connection_id":172798,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:42:25] local.INFO: Processing buffer {"connection_id":172798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:42:25] local.INFO: IMEI packet received {"connection_id":172798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":172798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:42:30] local.INFO: TCP Data received {"connection_id":172798,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:42:30] local.INFO: Processing buffer {"connection_id":172798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:42:30] local.INFO: IMEI packet received {"connection_id":172798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":172798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:42:31] local.INFO: TCP Data received {"connection_id":172798,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc0c338012d7d350005ec0b400001009820..."} 
[2026-09-05 09:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc0c338012d7d350005ec0b400001009820..."} 
[2026-09-05 09:42:31] local.INFO: Processing buffer {"connection_id":172798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc0c338012d7d350005ec0b400001009820..."} 
[2026-09-05 09:42:31] local.INFO: Packet analysis {"connection_id":172798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc0"} 
[2026-09-05 09:42:31] local.INFO: Extracted packet for processing {"connection_id":172798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc0"} 
[2026-09-05 09:42:31] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":32,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876735488001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788581299000,"timestamp_ms":1788581299000,"timestamp_seconds":1788581299,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc0c338"} 
[2026-09-05 09:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:42:31] 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-09-05 09:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:42:31] 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-09-05 09: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-09-05 09:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876735488001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876735488001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:42:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:42:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876735488001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":172798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767813,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:42:31] local.INFO: GPS data processed {"connection_id":172798,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:42:31] local.INFO: Acknowledgment sent {"connection_id":172798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:42:34] local.INFO: TCP Data received {"connection_id":171394,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc32498012d56ce00066377b8000f00462d..."} 
[2026-09-05 09:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc32498012d56ce00066377b8000f00462d..."} 
[2026-09-05 09:42:34] local.INFO: Processing buffer {"connection_id":171394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc32498012d56ce00066377b8000f00462d..."} 
[2026-09-05 09:42:34] local.INFO: Packet analysis {"connection_id":171394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc3"} 
[2026-09-05 09:42:34] local.INFO: Extracted packet for processing {"connection_id":171394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc3"} 
[2026-09-05 09:42:34] local.INFO: GPS Element Parsed {"raw_longitude":760663552,"raw_latitude":107182008,"longitude_deg":76.0663552,"latitude_deg":10.7182008,"altitude":15,"angle":70,"satellites":45,"speed":0,"hex_longitude":"2d56ce00","hex_latitude":"066377b8","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876776704001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399373650051989504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6254936959902791680,"note":"Value kept but may cause issues"} 
[2026-09-05 09:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788581455000,"timestamp_ms":1788581455000,"timestamp_seconds":1788581455,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc32498"} 
[2026-09-05 09:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 09: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-05 09:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:42: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-09-05 09:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876776704001,"66":26310,"11":206,"78":63744,"24":0,"16":399373650051989504,"45":6254936959902791680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-09-05 09:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876776704001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:42:34] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 09:42:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399373650051989504,"km_value":399373650051989.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6254936959902791680,"description":"Unknown IO ID 45"} 
[2026-09-05 09:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876776704001,"power":26310,"unknown_11":206,"unknown_78":63744,"ignition":0,"odometer":null,"unknown_45":6254936959902791680}} 
[2026-09-05 09:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":171394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:42:34] local.INFO: GPS data processed {"connection_id":171394,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:42:34] local.INFO: Acknowledgment sent {"connection_id":171394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:42:47] local.INFO: TCP Data received {"connection_id":172797,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc4b6f0012d0cb3400704be480025011e20..."} 
[2026-09-05 09:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc4b6f0012d0cb3400704be480025011e20..."} 
[2026-09-05 09:42:47] local.INFO: Processing buffer {"connection_id":172797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc4b6f0012d0cb3400704be480025011e20..."} 
[2026-09-05 09:42:47] local.INFO: Packet analysis {"connection_id":172797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc4"} 
[2026-09-05 09:42:47] local.INFO: Extracted packet for processing {"connection_id":172797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc4"} 
[2026-09-05 09:42:47] local.INFO: GPS Element Parsed {"raw_longitude":755807040,"raw_latitude":117751368,"longitude_deg":75.580704,"latitude_deg":11.7751368,"altitude":37,"angle":286,"satellites":32,"speed":33,"hex_longitude":"2d0cb340","hex_latitude":"0704be48","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876878336001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30322628023549952,"note":"Value kept but may cause issues"} 
[2026-09-05 09:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916975135523389440,"note":"Value kept but may cause issues"} 
[2026-09-05 09:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788581558000,"timestamp_ms":1788581558000,"timestamp_seconds":1788581558,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc4b6f0"} 
[2026-09-05 09:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:42:47] 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-09-05 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-05 09:42:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":172797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":172797,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":172797,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876878336001,"66":14450,"17":206,"94":11008,"24":33,"16":30322628023549952,"45":916975135523389440},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-05 09:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876878336001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:42:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 09:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30322628023549952,"km_value":30322628023549.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":916975135523389440,"description":"Unknown IO ID 45"} 
[2026-09-05 09:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876878336001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":33,"odometer":null,"unknown_45":916975135523389440}} 
[2026-09-05 09:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":172797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767815,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:42:47] local.INFO: GPS data processed {"connection_id":172797,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:42:47] local.INFO: Acknowledgment sent {"connection_id":172797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:42:56] local.INFO: TCP Data received {"connection_id":171688,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:42:56] local.INFO: Processing buffer {"connection_id":171688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:42:56] local.INFO: IMEI packet received {"connection_id":171688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":171688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:42:58] local.INFO: TCP Data received {"connection_id":171688,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:42:58] local.INFO: Processing buffer {"connection_id":171688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:42:58] local.INFO: IMEI packet received {"connection_id":171688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":171688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:43:01] local.INFO: TCP Data received {"connection_id":171688,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:43:01] local.INFO: Processing buffer {"connection_id":171688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:43:01] local.INFO: IMEI packet received {"connection_id":171688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":171688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:43:02] local.INFO: TCP Data received {"connection_id":171688,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc49f80012d56ce00066377b8000f00462c..."} 
[2026-09-05 09:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc49f80012d56ce00066377b8000f00462c..."} 
[2026-09-05 09:43:02] local.INFO: Processing buffer {"connection_id":171688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc49f80012d56ce00066377b8000f00462c..."} 
[2026-09-05 09:43:02] local.INFO: Packet analysis {"connection_id":171688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc4"} 
[2026-09-05 09:43:02] local.INFO: Extracted packet for processing {"connection_id":171688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc4"} 
[2026-09-05 09:43:02] local.INFO: GPS Element Parsed {"raw_longitude":760663552,"raw_latitude":107182008,"longitude_deg":76.0663552,"latitude_deg":10.7182008,"altitude":15,"angle":70,"satellites":44,"speed":0,"hex_longitude":"2d56ce00","hex_latitude":"066377b8","is_valid_coordinates":true} 
[2026-09-05 09:43: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-09-05 09:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876852480001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399373650051989504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6254936959902791680,"note":"Value kept but may cause issues"} 
[2026-09-05 09:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788581552000,"timestamp_ms":1788581552000,"timestamp_seconds":1788581552,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc49f80"} 
[2026-09-05 09:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 09: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-05 09:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:43: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-09-05 09:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876852480001,"66":26223,"11":206,"78":63744,"24":0,"16":399373650051989504,"45":6254936959902791680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-09-05 09:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876852480001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:43:02] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 09:43:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399373650051989504,"km_value":399373650051989.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6254936959902791680,"description":"Unknown IO ID 45"} 
[2026-09-05 09:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876852480001,"power":26223,"unknown_11":206,"unknown_78":63744,"ignition":0,"odometer":null,"unknown_45":6254936959902791680}} 
[2026-09-05 09:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":171688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:43:02] local.INFO: GPS data processed {"connection_id":171688,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:43:02] local.INFO: Acknowledgment sent {"connection_id":171688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:43:03] local.INFO: TCP Data received {"connection_id":172798,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc0c338012d7d350005ec0b400001009820..."} 
[2026-09-05 09:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc0c338012d7d350005ec0b400001009820..."} 
[2026-09-05 09:43:03] local.INFO: Processing buffer {"connection_id":172798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc0c338012d7d350005ec0b400001009820..."} 
[2026-09-05 09:43:03] local.INFO: Packet analysis {"connection_id":172798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc0"} 
[2026-09-05 09:43:03] local.INFO: Extracted packet for processing {"connection_id":172798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc0"} 
[2026-09-05 09:43:03] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":32,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876735488001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788581299000,"timestamp_ms":1788581299000,"timestamp_seconds":1788581299,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc0c338"} 
[2026-09-05 09:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:43: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-09-05 09: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":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:43:03] 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-09-05 09: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-09-05 09:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876735488001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876735488001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:43:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:43:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876735488001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":172798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767817,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:43:03] local.INFO: GPS data processed {"connection_id":172798,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:43:03] local.INFO: Acknowledgment sent {"connection_id":172798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:43:10] local.INFO: TCP Data received {"connection_id":172799,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172799,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:43:10] local.INFO: Processing buffer {"connection_id":172799,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:43:10] local.INFO: IMEI packet received {"connection_id":172799,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":172799,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:43:13] local.INFO: TCP Data received {"connection_id":172799,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172799,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:43:13] local.INFO: Processing buffer {"connection_id":172799,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:43:13] local.INFO: IMEI packet received {"connection_id":172799,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":172799,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:43:14] local.INFO: TCP Data received {"connection_id":172799,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc4c2a8012d0cab000704c1580024012a1f..."} 
[2026-09-05 09:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc4c2a8012d0cab000704c1580024012a1f..."} 
[2026-09-05 09:43:14] local.INFO: Processing buffer {"connection_id":172799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc4c2a8012d0cab000704c1580024012a1f..."} 
[2026-09-05 09:43:14] local.INFO: Packet analysis {"connection_id":172799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc4"} 
[2026-09-05 09:43:14] local.INFO: Extracted packet for processing {"connection_id":172799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc4"} 
[2026-09-05 09:43:14] local.INFO: GPS Element Parsed {"raw_longitude":755804928,"raw_latitude":117752152,"longitude_deg":75.5804928,"latitude_deg":11.7752152,"altitude":36,"angle":298,"satellites":31,"speed":25,"hex_longitude":"2d0cab00","hex_latitude":"0704c158","is_valid_coordinates":true} 
[2026-09-05 09:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876878848001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30322739692699648,"note":"Value kept but may cause issues"} 
[2026-09-05 09:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":915145548174870528,"note":"Value kept but may cause issues"} 
[2026-09-05 09:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788581561000,"timestamp_ms":1788581561000,"timestamp_seconds":1788581561,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc4c2a8"} 
[2026-09-05 09:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:43:14] 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-09-05 09:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-05 09:43:14] 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-09-05 09:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":172799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":172799,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":172799,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876878848001,"66":14450,"17":206,"94":11008,"24":25,"16":30322739692699648,"45":915145548174870528},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-05 09:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876878848001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:43:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 09:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30322739692699648,"km_value":30322739692699.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":915145548174870528,"description":"Unknown IO ID 45"} 
[2026-09-05 09:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876878848001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":25,"odometer":null,"unknown_45":915145548174870528}} 
[2026-09-05 09:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":172799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767818,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:43:14] local.INFO: GPS data processed {"connection_id":172799,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:43:14] local.INFO: Acknowledgment sent {"connection_id":172799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:43:15] local.INFO: TCP Data received {"connection_id":172799,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc4ca78012d0ca7400704c408002501371f..."} 
[2026-09-05 09:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc4ca78012d0ca7400704c408002501371f..."} 
[2026-09-05 09:43:15] local.INFO: Processing buffer {"connection_id":172799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc4ca78012d0ca7400704c408002501371f..."} 
[2026-09-05 09:43:15] local.INFO: Packet analysis {"connection_id":172799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc4"} 
[2026-09-05 09:43:15] local.INFO: Extracted packet for processing {"connection_id":172799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc4"} 
[2026-09-05 09:43:15] local.INFO: GPS Element Parsed {"raw_longitude":755803968,"raw_latitude":117752840,"longitude_deg":75.5803968,"latitude_deg":11.775284,"altitude":37,"angle":311,"satellites":31,"speed":21,"hex_longitude":"2d0ca740","hex_latitude":"0704c408","is_valid_coordinates":true} 
[2026-09-05 09:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876879616001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30322791232307200,"note":"Value kept but may cause issues"} 
[2026-09-05 09:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912823379617208320,"note":"Value kept but may cause issues"} 
[2026-09-05 09:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788581563000,"timestamp_ms":1788581563000,"timestamp_seconds":1788581563,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc4ca78"} 
[2026-09-05 09:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:43:15] 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-09-05 09:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-05 09:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172799,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172799,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876879616001,"66":14450,"17":206,"94":11008,"24":21,"16":30322791232307200,"45":912823379617208320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-05 09:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876879616001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:43:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 09:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30322791232307200,"km_value":30322791232307.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":912823379617208320,"description":"Unknown IO ID 45"} 
[2026-09-05 09:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876879616001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":912823379617208320}} 
[2026-09-05 09:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":172799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767819,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:43:16] local.INFO: GPS data processed {"connection_id":172799,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:43:16] local.INFO: Acknowledgment sent {"connection_id":172799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:43:25] local.INFO: TCP Data received {"connection_id":174095,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174095,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:43:25] local.INFO: Processing buffer {"connection_id":174095,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:43:25] local.INFO: IMEI packet received {"connection_id":174095,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":174095,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:43:30] local.INFO: TCP Data received {"connection_id":174095,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174095,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:43:30] local.INFO: Processing buffer {"connection_id":174095,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:43:30] local.INFO: IMEI packet received {"connection_id":174095,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":174095,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:43:32] local.INFO: TCP Data received {"connection_id":174095,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc55b00012d7d350005ec0b400001009821..."} 
[2026-09-05 09:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc55b00012d7d350005ec0b400001009821..."} 
[2026-09-05 09:43:32] local.INFO: Processing buffer {"connection_id":174095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc55b00012d7d350005ec0b400001009821..."} 
[2026-09-05 09:43:32] local.INFO: Packet analysis {"connection_id":174095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc5"} 
[2026-09-05 09:43:32] local.INFO: Extracted packet for processing {"connection_id":174095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc5"} 
[2026-09-05 09:43:32] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":33,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876812544001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788581600000,"timestamp_ms":1788581600000,"timestamp_seconds":1788581600,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc55b00"} 
[2026-09-05 09:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09: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-09-05 09: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":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:43:32] 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-09-05 09: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-09-05 09:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876812544001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876812544001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:43:32] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:43:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876812544001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":174095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767820,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:43:32] local.INFO: GPS data processed {"connection_id":174095,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:43:32] local.INFO: Acknowledgment sent {"connection_id":174095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:43:33] local.INFO: TCP Data received {"connection_id":171688,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc4b308012d56cc80066377e0000f00552c..."} 
[2026-09-05 09:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc4b308012d56cc80066377e0000f00552c..."} 
[2026-09-05 09:43:33] local.INFO: Processing buffer {"connection_id":171688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc4b308012d56cc80066377e0000f00552c..."} 
[2026-09-05 09:43:33] local.INFO: Packet analysis {"connection_id":171688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc4"} 
[2026-09-05 09:43:33] local.INFO: Extracted packet for processing {"connection_id":171688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc4"} 
[2026-09-05 09:43:33] local.INFO: GPS Element Parsed {"raw_longitude":760663168,"raw_latitude":107182048,"longitude_deg":76.0663168,"latitude_deg":10.7182048,"altitude":15,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d56cc80","hex_latitude":"066377e0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876877312001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399373650051989504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6254936959902791680,"note":"Value kept but may cause issues"} 
[2026-09-05 09:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788581557000,"timestamp_ms":1788581557000,"timestamp_seconds":1788581557,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc4b308"} 
[2026-09-05 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-09-05 09:43: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-09-05 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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-05 09:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 09:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:43: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-09-05 09:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876877312001,"66":27484,"11":206,"78":63744,"24":0,"16":399373650051989504,"45":6254936959902791680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-09-05 09:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876877312001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:43:33] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 09:43:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399373650051989504,"km_value":399373650051989.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6254936959902791680,"description":"Unknown IO ID 45"} 
[2026-09-05 09:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876877312001,"power":27484,"unknown_11":206,"unknown_78":63744,"ignition":0,"odometer":null,"unknown_45":6254936959902791680}} 
[2026-09-05 09:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":171688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:43:33] local.INFO: GPS data processed {"connection_id":171688,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:43:33] local.INFO: Acknowledgment sent {"connection_id":171688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:43:46] local.INFO: TCP Data received {"connection_id":172799,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc4d630012d0ca5000704c760002401471f..."} 
[2026-09-05 09:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc4d630012d0ca5000704c760002401471f..."} 
[2026-09-05 09:43:46] local.INFO: Processing buffer {"connection_id":172799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc4d630012d0ca5000704c760002401471f..."} 
[2026-09-05 09:43:46] local.INFO: Packet analysis {"connection_id":172799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc4"} 
[2026-09-05 09:43:46] local.INFO: Extracted packet for processing {"connection_id":172799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc4"} 
[2026-09-05 09:43:46] local.INFO: GPS Element Parsed {"raw_longitude":755803392,"raw_latitude":117753696,"longitude_deg":75.5803392,"latitude_deg":11.7753696,"altitude":36,"angle":327,"satellites":31,"speed":10,"hex_longitude":"2d0ca500","hex_latitude":"0704c760","is_valid_coordinates":true} 
[2026-09-05 09:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876880128001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30322842771914752,"note":"Value kept but may cause issues"} 
[2026-09-05 09:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":911767848454719488,"note":"Value kept but may cause issues"} 
[2026-09-05 09:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788581566000,"timestamp_ms":1788581566000,"timestamp_seconds":1788581566,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc4d630"} 
[2026-09-05 09:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-05 09:43:46] 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-09-05 09:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172799,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172799,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876880128001,"66":14548,"17":206,"94":11008,"24":10,"16":30322842771914752,"45":911767848454719488},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-05 09:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876880128001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:43:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 09:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30322842771914752,"km_value":30322842771914.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":911767848454719488,"description":"Unknown IO ID 45"} 
[2026-09-05 09:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876880128001,"power":14548,"axis_x":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":911767848454719488}} 
[2026-09-05 09:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":172799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767822,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:43:47] local.INFO: GPS data processed {"connection_id":172799,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:43:47] local.INFO: Acknowledgment sent {"connection_id":172799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:43:56] local.INFO: TCP Data received {"connection_id":171395,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:43:56] local.INFO: Processing buffer {"connection_id":171395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:43:56] local.INFO: IMEI packet received {"connection_id":171395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":171395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:43:57] local.INFO: TCP Data received {"connection_id":171395,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:43:57] local.INFO: Processing buffer {"connection_id":171395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:43:57] local.INFO: IMEI packet received {"connection_id":171395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":171395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:44:02] local.INFO: TCP Data received {"connection_id":171395,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:44:02] local.INFO: Processing buffer {"connection_id":171395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:44:02] local.INFO: IMEI packet received {"connection_id":171395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":171395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:44:03] local.INFO: TCP Data received {"connection_id":174095,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc55b00012d7d350005ec0b400001009821..."} 
[2026-09-05 09:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc55b00012d7d350005ec0b400001009821..."} 
[2026-09-05 09:44:03] local.INFO: Processing buffer {"connection_id":174095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc55b00012d7d350005ec0b400001009821..."} 
[2026-09-05 09:44:03] local.INFO: Packet analysis {"connection_id":174095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc5"} 
[2026-09-05 09:44:03] local.INFO: Extracted packet for processing {"connection_id":174095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc5"} 
[2026-09-05 09:44:03] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":33,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876812544001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788581600000,"timestamp_ms":1788581600000,"timestamp_seconds":1788581600,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc55b00"} 
[2026-09-05 09:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:44: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-09-05 09: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":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:44:03] 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-09-05 09: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-09-05 09:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876812544001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876812544001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:44:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:44:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876812544001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":174095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767823,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:44:03] local.INFO: GPS data processed {"connection_id":174095,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:44:03] local.INFO: Acknowledgment sent {"connection_id":174095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:44:06] local.INFO: TCP Data received {"connection_id":172795,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 09:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172795,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 09:44:06] local.INFO: Processing buffer {"connection_id":172795,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 09:44:06] local.INFO: IMEI packet received {"connection_id":172795,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 09:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":172795,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:44:08] local.INFO: TCP Data received {"connection_id":171395,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc50510012d56cc80066377e0000f00552c..."} 
[2026-09-05 09:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc50510012d56cc80066377e0000f00552c..."} 
[2026-09-05 09:44:08] local.INFO: Processing buffer {"connection_id":171395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc50510012d56cc80066377e0000f00552c..."} 
[2026-09-05 09:44:08] local.INFO: Packet analysis {"connection_id":171395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc5"} 
[2026-09-05 09:44:08] local.INFO: Extracted packet for processing {"connection_id":171395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc5"} 
[2026-09-05 09:44:08] local.INFO: GPS Element Parsed {"raw_longitude":760663168,"raw_latitude":107182048,"longitude_deg":76.0663168,"latitude_deg":10.7182048,"altitude":15,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d56cc80","hex_latitude":"066377e0","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876878592001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399373650051989504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6254514747437735936,"note":"Value kept but may cause issues"} 
[2026-09-05 09:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788581578000,"timestamp_ms":1788581578000,"timestamp_seconds":1788581578,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc50510"} 
[2026-09-05 09:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:44:08] 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-09-05 09: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 09:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:44: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-09-05 09:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876878592001,"66":27865,"11":206,"78":63744,"24":0,"16":399373650051989504,"45":6254514747437735936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-09-05 09:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876878592001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:44:08] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 09:44:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399373650051989504,"km_value":399373650051989.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6254514747437735936,"description":"Unknown IO ID 45"} 
[2026-09-05 09:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876878592001,"power":27865,"unknown_11":206,"unknown_78":63744,"ignition":0,"odometer":null,"unknown_45":6254514747437735936}} 
[2026-09-05 09:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":171395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:44:08] local.INFO: GPS data processed {"connection_id":171395,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:44:08] local.INFO: Acknowledgment sent {"connection_id":171395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:44:11] local.INFO: TCP Data received {"connection_id":171689,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171689,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:44:11] local.INFO: Processing buffer {"connection_id":171689,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:44:11] local.INFO: IMEI packet received {"connection_id":171689,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":171689,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:44:12] local.INFO: TCP Data received {"connection_id":171689,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171689,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:44:12] local.INFO: Processing buffer {"connection_id":171689,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:44:12] local.INFO: IMEI packet received {"connection_id":171689,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":171689,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:44:13] local.INFO: TCP Data received {"connection_id":171689,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc5eb88012d0cac00070438e8001b00c821..."} 
[2026-09-05 09:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc5eb88012d0cac00070438e8001b00c821..."} 
[2026-09-05 09:44:13] local.INFO: Processing buffer {"connection_id":171689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc5eb88012d0cac00070438e8001b00c821..."} 
[2026-09-05 09:44:13] local.INFO: Packet analysis {"connection_id":171689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc5"} 
[2026-09-05 09:44:13] local.INFO: Extracted packet for processing {"connection_id":171689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc5"} 
[2026-09-05 09:44:13] local.INFO: GPS Element Parsed {"raw_longitude":755805184,"raw_latitude":117717224,"longitude_deg":75.5805184,"latitude_deg":11.7717224,"altitude":27,"angle":200,"satellites":33,"speed":35,"hex_longitude":"2d0cac00","hex_latitude":"070438e8","is_valid_coordinates":true} 
[2026-09-05 09:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876896768001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30325114809614336,"note":"Value kept but may cause issues"} 
[2026-09-05 09:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916341816819316736,"note":"Value kept but may cause issues"} 
[2026-09-05 09:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788581637000,"timestamp_ms":1788581637000,"timestamp_seconds":1788581637,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc5eb88"} 
[2026-09-05 09:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-05 09:44:13] 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-09-05 09:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171689,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171689,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876896768001,"66":14439,"95":206,"94":10240,"24":35,"16":30325114809614336,"45":916341816819316736},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-05 09:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876896768001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:44:13] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-05 09:44:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30325114809614336,"km_value":30325114809614.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":916341816819316736,"description":"Unknown IO ID 45"} 
[2026-09-05 09:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876896768001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":35,"odometer":null,"unknown_45":916341816819316736}} 
[2026-09-05 09:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":171689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767825,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:44:14] local.INFO: GPS data processed {"connection_id":171689,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:44:14] local.INFO: Acknowledgment sent {"connection_id":171689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:44:14] local.INFO: TCP Data received {"connection_id":171689,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc5fb28012d0ca5c007042cf0001a00d41f..."} 
[2026-09-05 09:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc5fb28012d0ca5c007042cf0001a00d41f..."} 
[2026-09-05 09:44:14] local.INFO: Processing buffer {"connection_id":171689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc5fb28012d0ca5c007042cf0001a00d41f..."} 
[2026-09-05 09:44:14] local.INFO: Packet analysis {"connection_id":171689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc5"} 
[2026-09-05 09:44:14] local.INFO: Extracted packet for processing {"connection_id":171689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc5"} 
[2026-09-05 09:44:14] local.INFO: GPS Element Parsed {"raw_longitude":755803584,"raw_latitude":117714160,"longitude_deg":75.5803584,"latitude_deg":11.771416,"altitude":26,"angle":212,"satellites":31,"speed":32,"hex_longitude":"2d0ca5c0","hex_latitude":"07042cf0","is_valid_coordinates":true} 
[2026-09-05 09:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876899072001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30325282313338880,"note":"Value kept but may cause issues"} 
[2026-09-05 09:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":913104854584977408,"note":"Value kept but may cause issues"} 
[2026-09-05 09:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788581641000,"timestamp_ms":1788581641000,"timestamp_seconds":1788581641,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc5fb28"} 
[2026-09-05 09:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:44:14] 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-09-05 09:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-05 09:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":171689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":171689,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":171689,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876899072001,"66":14537,"95":206,"94":10240,"24":32,"16":30325282313338880,"45":913104854584977408},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-05 09:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876899072001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:44:14] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-05 09:44:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30325282313338880,"km_value":30325282313338.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":913104854584977408,"description":"Unknown IO ID 45"} 
[2026-09-05 09:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876899072001,"power":14537,"unknown_95":206,"unknown_94":10240,"ignition":32,"odometer":null,"unknown_45":913104854584977408}} 
[2026-09-05 09:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":171689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767826,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:44:15] local.INFO: GPS data processed {"connection_id":171689,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:44:15] local.INFO: Acknowledgment sent {"connection_id":171689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:44:30] local.INFO: TCP Data received {"connection_id":174096,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:44:30] local.INFO: Processing buffer {"connection_id":174096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:44:30] local.INFO: IMEI packet received {"connection_id":174096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":174096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:44:35] local.INFO: TCP Data received {"connection_id":174096,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:44:35] local.INFO: Processing buffer {"connection_id":174096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:44:35] local.INFO: IMEI packet received {"connection_id":174096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":174096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:44:36] local.INFO: TCP Data received {"connection_id":174096,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc55b00012d7d350005ec0b400001009821..."} 
[2026-09-05 09:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc55b00012d7d350005ec0b400001009821..."} 
[2026-09-05 09:44:36] local.INFO: Processing buffer {"connection_id":174096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc55b00012d7d350005ec0b400001009821..."} 
[2026-09-05 09:44:36] local.INFO: Packet analysis {"connection_id":174096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc5"} 
[2026-09-05 09:44:36] local.INFO: Extracted packet for processing {"connection_id":174096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc5"} 
[2026-09-05 09:44:36] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":33,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876812544001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788581600000,"timestamp_ms":1788581600000,"timestamp_seconds":1788581600,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc55b00"} 
[2026-09-05 09:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:44:36] 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-09-05 09:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:44:36] 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-09-05 09: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-09-05 09:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":174096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":174096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":174096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876812544001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876812544001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:44:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:44:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876812544001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":174096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767827,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:44:37] local.INFO: GPS data processed {"connection_id":174096,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:44:37] local.INFO: Acknowledgment sent {"connection_id":174096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:44:41] local.INFO: TCP Data received {"connection_id":174096,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc55b00012d7d350005ec0b400001009821..."} 
[2026-09-05 09:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc55b00012d7d350005ec0b400001009821..."} 
[2026-09-05 09:44:41] local.INFO: Processing buffer {"connection_id":174096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc55b00012d7d350005ec0b400001009821..."} 
[2026-09-05 09:44:41] local.INFO: Packet analysis {"connection_id":174096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc5"} 
[2026-09-05 09:44:41] local.INFO: Extracted packet for processing {"connection_id":174096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc5"} 
[2026-09-05 09:44:41] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":33,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876812544001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788581600000,"timestamp_ms":1788581600000,"timestamp_seconds":1788581600,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc55b00"} 
[2026-09-05 09:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:44:41] 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-09-05 09: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":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:44:41] 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-09-05 09: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-09-05 09:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":174096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":174096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":174096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876812544001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876812544001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:44:41] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:44:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876812544001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":174096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767828,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:44:41] local.INFO: GPS data processed {"connection_id":174096,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:44:41] local.INFO: Acknowledgment sent {"connection_id":174096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:44:41] local.INFO: TCP Data received {"connection_id":171395,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc52068012d56cd40066377e0000f00652a..."} 
[2026-09-05 09:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc52068012d56cd40066377e0000f00652a..."} 
[2026-09-05 09:44:41] local.INFO: Processing buffer {"connection_id":171395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc52068012d56cd40066377e0000f00652a..."} 
[2026-09-05 09:44:41] local.INFO: Packet analysis {"connection_id":171395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc5"} 
[2026-09-05 09:44:41] local.INFO: Extracted packet for processing {"connection_id":171395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc5"} 
[2026-09-05 09:44:41] local.INFO: GPS Element Parsed {"raw_longitude":760663360,"raw_latitude":107182048,"longitude_deg":76.066336,"latitude_deg":10.7182048,"altitude":15,"angle":101,"satellites":42,"speed":8,"hex_longitude":"2d56cd40","hex_latitude":"066377e0","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876883968001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399373658641924096,"note":"Value kept but may cause issues"} 
[2026-09-05 09:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6254514747437735936,"note":"Value kept but may cause issues"} 
[2026-09-05 09:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788581585000,"timestamp_ms":1788581585000,"timestamp_seconds":1788581585,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc52068"} 
[2026-09-05 09:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:44: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-09-05 09: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 09:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":171395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":171395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":171395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:44:41] 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-09-05 09:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876883968001,"66":27908,"11":206,"78":63744,"24":8,"16":399373658641924096,"45":6254514747437735936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-09-05 09:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876883968001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:44:41] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 09:44:41] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399373658641924096,"km_value":399373658641924.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6254514747437735936,"description":"Unknown IO ID 45"} 
[2026-09-05 09:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876883968001,"power":27908,"unknown_11":206,"unknown_78":63744,"ignition":8,"odometer":null,"unknown_45":6254514747437735936}} 
[2026-09-05 09:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":171395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:44:41] local.INFO: GPS data processed {"connection_id":171395,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:44:41] local.INFO: Acknowledgment sent {"connection_id":171395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:44:46] local.INFO: TCP Data received {"connection_id":171689,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc61a68012d0c9780070416b0001900e11f..."} 
[2026-09-05 09:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc61a68012d0c9780070416b0001900e11f..."} 
[2026-09-05 09:44:46] local.INFO: Processing buffer {"connection_id":171689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc61a68012d0c9780070416b0001900e11f..."} 
[2026-09-05 09:44:46] local.INFO: Packet analysis {"connection_id":171689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc6"} 
[2026-09-05 09:44:46] local.INFO: Extracted packet for processing {"connection_id":171689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc6"} 
[2026-09-05 09:44:46] local.INFO: GPS Element Parsed {"raw_longitude":755799936,"raw_latitude":117708464,"longitude_deg":75.5799936,"latitude_deg":11.7708464,"altitude":25,"angle":225,"satellites":31,"speed":31,"hex_longitude":"2d0c9780","hex_latitude":"070416b0","is_valid_coordinates":true} 
[2026-09-05 09:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876900096001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30325608730853376,"note":"Value kept but may cause issues"} 
[2026-09-05 09:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":911345635979751424,"note":"Value kept but may cause issues"} 
[2026-09-05 09:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788581649000,"timestamp_ms":1788581649000,"timestamp_seconds":1788581649,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc61a68"} 
[2026-09-05 09:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-05 09:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":171689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":171689,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":171689,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876900096001,"66":14559,"95":206,"94":10240,"24":31,"16":30325608730853376,"45":911345635979751424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-05 09:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876900096001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:44:46] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-05 09:44:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 09:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30325608730853376,"km_value":30325608730853.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":911345635979751424,"description":"Unknown IO ID 45"} 
[2026-09-05 09:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876900096001,"power":14559,"unknown_95":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_45":911345635979751424}} 
[2026-09-05 09:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":171689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767830,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:44:46] local.INFO: GPS data processed {"connection_id":171689,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:44:46] local.INFO: Acknowledgment sent {"connection_id":171689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:45:03] local.INFO: TCP Data received {"connection_id":174097,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174097,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:45:03] local.INFO: Processing buffer {"connection_id":174097,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:45:03] local.INFO: IMEI packet received {"connection_id":174097,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":174097,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:45:04] local.INFO: TCP Data received {"connection_id":174097,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174097,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:45:04] local.INFO: Processing buffer {"connection_id":174097,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:45:04] local.INFO: IMEI packet received {"connection_id":174097,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":174097,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:45:05] local.INFO: TCP Data received {"connection_id":174097,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174097,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:45:05] local.INFO: Processing buffer {"connection_id":174097,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:45:05] local.INFO: IMEI packet received {"connection_id":174097,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":174097,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:45:06] local.INFO: TCP Data received {"connection_id":174097,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174097,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:45:06] local.INFO: Processing buffer {"connection_id":174097,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:45:06] local.INFO: IMEI packet received {"connection_id":174097,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":174097,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:45:14] local.INFO: TCP Data received {"connection_id":171396,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:45:14] local.INFO: Processing buffer {"connection_id":171396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:45:14] local.INFO: IMEI packet received {"connection_id":171396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":171396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:45:16] local.INFO: TCP Data received {"connection_id":171396,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:45:16] local.INFO: Processing buffer {"connection_id":171396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:45:16] local.INFO: IMEI packet received {"connection_id":171396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":171396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:45:21] local.INFO: TCP Data received {"connection_id":171396,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:45:21] local.INFO: Processing buffer {"connection_id":171396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:45:21] local.INFO: IMEI packet received {"connection_id":171396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":171396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:45:21] local.INFO: TCP Data received {"connection_id":171396,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc67440012d5830c0066398e00020005728..."} 
[2026-09-05 09:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc67440012d5830c0066398e00020005728..."} 
[2026-09-05 09:45:21] local.INFO: Processing buffer {"connection_id":171396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc67440012d5830c0066398e00020005728..."} 
[2026-09-05 09:45:21] local.INFO: Packet analysis {"connection_id":171396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc6"} 
[2026-09-05 09:45:21] local.INFO: Extracted packet for processing {"connection_id":171396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc6"} 
[2026-09-05 09:45:21] local.INFO: GPS Element Parsed {"raw_longitude":760754368,"raw_latitude":107190496,"longitude_deg":76.0754368,"latitude_deg":10.7190496,"altitude":32,"angle":87,"satellites":40,"speed":51,"hex_longitude":"2d5830c0","hex_latitude":"066398e0","is_valid_coordinates":true} 
[2026-09-05 09:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876906240001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399378035213598720,"note":"Value kept but may cause issues"} 
[2026-09-05 09:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6344657108731381760,"note":"Value kept but may cause issues"} 
[2026-09-05 09:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788581672000,"timestamp_ms":1788581672000,"timestamp_seconds":1788581672,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc67440"} 
[2026-09-05 09:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 09:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:45:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876906240001,"66":27876,"9":206,"78":63744,"24":51,"16":399378035213598720,"45":6344657108731381760},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,78,24,16,45]} 
[2026-09-05 09:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876906240001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:45:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-05 09:45:21] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399378035213598720,"km_value":399378035213598.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6344657108731381760,"description":"Unknown IO ID 45"} 
[2026-09-05 09:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876906240001,"power":27876,"unknown_9":206,"unknown_78":63744,"ignition":51,"odometer":null,"unknown_45":6344657108731381760}} 
[2026-09-05 09:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":171396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:45:21] local.INFO: GPS data processed {"connection_id":171396,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:45:21] local.INFO: Acknowledgment sent {"connection_id":171396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:45:24] local.INFO: TCP Data received {"connection_id":171396,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc68f98012d58548006639d08001b004b2c..."} 
[2026-09-05 09:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc68f98012d58548006639d08001b004b2c..."} 
[2026-09-05 09:45:24] local.INFO: Processing buffer {"connection_id":171396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc68f98012d58548006639d08001b004b2c..."} 
[2026-09-05 09:45:24] local.INFO: Packet analysis {"connection_id":171396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc6"} 
[2026-09-05 09:45:24] local.INFO: Extracted packet for processing {"connection_id":171396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc6"} 
[2026-09-05 09:45:24] local.INFO: GPS Element Parsed {"raw_longitude":760763520,"raw_latitude":107191560,"longitude_deg":76.076352,"latitude_deg":10.719156,"altitude":27,"angle":75,"satellites":44,"speed":55,"hex_longitude":"2d585480","hex_latitude":"06639d08","is_valid_coordinates":true} 
[2026-09-05 09:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876908032001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399378477595230208,"note":"Value kept but may cause issues"} 
[2026-09-05 09:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6354790207893069824,"note":"Value kept but may cause issues"} 
[2026-09-05 09:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788581679000,"timestamp_ms":1788581679000,"timestamp_seconds":1788581679,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc68f98"} 
[2026-09-05 09:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 09:45:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:45:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:45:24] 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-09-05 09:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876908032001,"66":27974,"9":206,"78":63744,"24":55,"16":399378477595230208,"45":6354790207893069824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,78,24,16,45]} 
[2026-09-05 09:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876908032001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:45:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-05 09:45:24] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399378477595230208,"km_value":399378477595230.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":6354790207893069824,"description":"Unknown IO ID 45"} 
[2026-09-05 09:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876908032001,"power":27974,"unknown_9":206,"unknown_78":63744,"ignition":55,"odometer":null,"unknown_45":6354790207893069824}} 
[2026-09-05 09:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":171396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:45:24] local.INFO: GPS data processed {"connection_id":171396,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:45:24] local.INFO: Acknowledgment sent {"connection_id":171396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:45:26] local.INFO: TCP Data received {"connection_id":171690,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:45:26] local.INFO: Processing buffer {"connection_id":171690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:45:26] local.INFO: IMEI packet received {"connection_id":171690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":171690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:45:30] local.INFO: TCP Data received {"connection_id":171690,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:45:30] local.INFO: Processing buffer {"connection_id":171690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:45:30] local.INFO: IMEI packet received {"connection_id":171690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":171690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:45:32] local.INFO: TCP Data received {"connection_id":171690,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc55b00012d7d350005ec0b400001009821..."} 
[2026-09-05 09:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc55b00012d7d350005ec0b400001009821..."} 
[2026-09-05 09:45:32] local.INFO: Processing buffer {"connection_id":171690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc55b00012d7d350005ec0b400001009821..."} 
[2026-09-05 09:45:32] local.INFO: Packet analysis {"connection_id":171690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc5"} 
[2026-09-05 09:45:32] local.INFO: Extracted packet for processing {"connection_id":171690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc5"} 
[2026-09-05 09:45:32] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":33,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876812544001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788581600000,"timestamp_ms":1788581600000,"timestamp_seconds":1788581600,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc55b00"} 
[2026-09-05 09:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:45: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-09-05 09:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:45:32] 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-09-05 09:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876812544001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876812544001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:45:32] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:45:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876812544001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":171690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767833,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:45:32] local.INFO: GPS data processed {"connection_id":171690,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:45:32] local.INFO: Acknowledgment sent {"connection_id":171690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:45:54] local.INFO: TCP Data received {"connection_id":172801,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:45:54] local.INFO: Processing buffer {"connection_id":172801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:45:54] local.INFO: IMEI packet received {"connection_id":172801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":172801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:45:57] local.INFO: TCP Data received {"connection_id":172801,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:45:57] local.INFO: Processing buffer {"connection_id":172801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:45:57] local.INFO: IMEI packet received {"connection_id":172801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":172801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:46:00] local.INFO: TCP Data received {"connection_id":172801,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:46:00] local.INFO: Processing buffer {"connection_id":172801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:46:00] local.INFO: IMEI packet received {"connection_id":172801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":172801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:46:01] local.INFO: TCP Data received {"connection_id":172801,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc68f98012d58548006639d08001b004b2c..."} 
[2026-09-05 09:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc68f98012d58548006639d08001b004b2c..."} 
[2026-09-05 09:46:01] local.INFO: Processing buffer {"connection_id":172801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc68f98012d58548006639d08001b004b2c..."} 
[2026-09-05 09:46:01] local.INFO: Packet analysis {"connection_id":172801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc6"} 
[2026-09-05 09:46:01] local.INFO: Extracted packet for processing {"connection_id":172801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc6"} 
[2026-09-05 09:46:01] local.INFO: GPS Element Parsed {"raw_longitude":760763520,"raw_latitude":107191560,"longitude_deg":76.076352,"latitude_deg":10.719156,"altitude":27,"angle":75,"satellites":44,"speed":55,"hex_longitude":"2d585480","hex_latitude":"06639d08","is_valid_coordinates":true} 
[2026-09-05 09:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876909824001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399378477595230208,"note":"Value kept but may cause issues"} 
[2026-09-05 09:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6364852938310748160,"note":"Value kept but may cause issues"} 
[2026-09-05 09:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788581679000,"timestamp_ms":1788581679000,"timestamp_seconds":1788581679,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc68f98"} 
[2026-09-05 09:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 09:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876909824001,"66":27974,"9":206,"78":63744,"24":55,"16":399378477595230208,"45":6364852938310748160},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,78,24,16,45]} 
[2026-09-05 09:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876909824001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:46:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-05 09:46:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399378477595230208,"km_value":399378477595230.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6364852938310748160,"description":"Unknown IO ID 45"} 
[2026-09-05 09:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876909824001,"power":27974,"unknown_9":206,"unknown_78":63744,"ignition":55,"odometer":null,"unknown_45":6364852938310748160}} 
[2026-09-05 09:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":172801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:46:01] local.INFO: GPS data processed {"connection_id":172801,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:46:01] local.INFO: Acknowledgment sent {"connection_id":172801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:46:03] local.INFO: TCP Data received {"connection_id":171690,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc55b00012d7d350005ec0b400001009821..."} 
[2026-09-05 09:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc55b00012d7d350005ec0b400001009821..."} 
[2026-09-05 09:46:03] local.INFO: Processing buffer {"connection_id":171690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc55b00012d7d350005ec0b400001009821..."} 
[2026-09-05 09:46:03] local.INFO: Packet analysis {"connection_id":171690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc5"} 
[2026-09-05 09:46:03] local.INFO: Extracted packet for processing {"connection_id":171690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc5"} 
[2026-09-05 09:46:03] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":33,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876812544001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788581600000,"timestamp_ms":1788581600000,"timestamp_seconds":1788581600,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc55b00"} 
[2026-09-05 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-09-05 09:46: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-09-05 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:46:03] 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-09-05 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-09-05 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-09-05 09:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876812544001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876812544001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:46:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:46:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876812544001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":171690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767835,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:46:03] local.INFO: GPS data processed {"connection_id":171690,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:46:03] local.INFO: Acknowledgment sent {"connection_id":171690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:46:26] local.INFO: TCP Data received {"connection_id":174099,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:46:26] local.INFO: Processing buffer {"connection_id":174099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:46:26] local.INFO: IMEI packet received {"connection_id":174099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":174099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:46:30] local.INFO: TCP Data received {"connection_id":174099,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:46:30] local.INFO: Processing buffer {"connection_id":174099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:46:30] local.INFO: IMEI packet received {"connection_id":174099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":174099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:46:31] local.INFO: TCP Data received {"connection_id":174099,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc55b00012d7d350005ec0b400001009821..."} 
[2026-09-05 09:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc55b00012d7d350005ec0b400001009821..."} 
[2026-09-05 09:46:31] local.INFO: Processing buffer {"connection_id":174099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc55b00012d7d350005ec0b400001009821..."} 
[2026-09-05 09:46:31] local.INFO: Packet analysis {"connection_id":174099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc5"} 
[2026-09-05 09:46:31] local.INFO: Extracted packet for processing {"connection_id":174099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc5"} 
[2026-09-05 09:46:31] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":33,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876812544001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788581600000,"timestamp_ms":1788581600000,"timestamp_seconds":1788581600,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc55b00"} 
[2026-09-05 09:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:46:31] 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-09-05 09:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:46:31] 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-09-05 09:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876812544001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876812544001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:46:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:46:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876812544001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":174099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767836,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:46:32] local.INFO: GPS data processed {"connection_id":174099,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:46:32] local.INFO: Acknowledgment sent {"connection_id":174099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:46:33] local.INFO: TCP Data received {"connection_id":172801,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc79168012d59a10006631fe0002000822c..."} 
[2026-09-05 09:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc79168012d59a10006631fe0002000822c..."} 
[2026-09-05 09:46:33] local.INFO: Processing buffer {"connection_id":172801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc79168012d59a10006631fe0002000822c..."} 
[2026-09-05 09:46:33] local.INFO: Packet analysis {"connection_id":172801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc7"} 
[2026-09-05 09:46:33] local.INFO: Extracted packet for processing {"connection_id":172801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc7"} 
[2026-09-05 09:46:33] local.INFO: GPS Element Parsed {"raw_longitude":760848640,"raw_latitude":107159520,"longitude_deg":76.084864,"latitude_deg":10.715952,"altitude":32,"angle":130,"satellites":44,"speed":56,"hex_longitude":"2d59a100","hex_latitude":"06631fe0","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876924928001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399383124749844480,"note":"Value kept but may cause issues"} 
[2026-09-05 09:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6449999118759147520,"note":"Value kept but may cause issues"} 
[2026-09-05 09:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788581745000,"timestamp_ms":1788581745000,"timestamp_seconds":1788581745,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc79168"} 
[2026-09-05 09:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:46: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-09-05 09: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 09:46:33] 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-09-05 09: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-09-05 09:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:46: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-09-05 09:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876924928001,"66":27919,"165":206,"78":63744,"24":56,"16":399383124749844480,"45":6449999118759147520},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,78,24,16,45]} 
[2026-09-05 09:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876924928001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:46:33] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-05 09:46:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399383124749844480,"km_value":399383124749844.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6449999118759147520,"description":"Unknown IO ID 45"} 
[2026-09-05 09:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876924928001,"power":27919,"unknown_165":206,"unknown_78":63744,"ignition":56,"odometer":null,"unknown_45":6449999118759147520}} 
[2026-09-05 09:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":172801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:46:33] local.INFO: GPS data processed {"connection_id":172801,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:46:33] local.INFO: Acknowledgment sent {"connection_id":172801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:46:57] local.INFO: TCP Data received {"connection_id":171691,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:46:57] local.INFO: Processing buffer {"connection_id":171691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:46:57] local.INFO: IMEI packet received {"connection_id":171691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":171691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:47:00] local.INFO: TCP Data received {"connection_id":171691,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:47:00] local.INFO: Processing buffer {"connection_id":171691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:47:00] local.INFO: IMEI packet received {"connection_id":171691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":171691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:47:01] local.INFO: TCP Data received {"connection_id":171691,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc7acc0012d59c000066306c0001f00812b..."} 
[2026-09-05 09:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc7acc0012d59c000066306c0001f00812b..."} 
[2026-09-05 09:47:01] local.INFO: Processing buffer {"connection_id":171691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc7acc0012d59c000066306c0001f00812b..."} 
[2026-09-05 09:47:01] local.INFO: Packet analysis {"connection_id":171691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc7"} 
[2026-09-05 09:47:01] local.INFO: Extracted packet for processing {"connection_id":171691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc7"} 
[2026-09-05 09:47:01] local.INFO: GPS Element Parsed {"raw_longitude":760856576,"raw_latitude":107153088,"longitude_deg":76.0856576,"latitude_deg":10.7153088,"altitude":31,"angle":129,"satellites":43,"speed":57,"hex_longitude":"2d59c000","hex_latitude":"066306c0","is_valid_coordinates":true} 
[2026-09-05 09:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876926720001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399383614376116224,"note":"Value kept but may cause issues"} 
[2026-09-05 09:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6458443368058839040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788581752000,"timestamp_ms":1788581752000,"timestamp_seconds":1788581752,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc7acc0"} 
[2026-09-05 09:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 09:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876926720001,"66":28093,"165":206,"78":63744,"24":57,"16":399383614376116224,"45":6458443368058839040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,78,24,16,45]} 
[2026-09-05 09:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876926720001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:47:01] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-05 09:47:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399383614376116224,"km_value":399383614376116.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6458443368058839040,"description":"Unknown IO ID 45"} 
[2026-09-05 09:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876926720001,"power":28093,"unknown_165":206,"unknown_78":63744,"ignition":57,"odometer":null,"unknown_45":6458443368058839040}} 
[2026-09-05 09:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":171691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:47:01] local.INFO: GPS data processed {"connection_id":171691,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:47:01] local.INFO: Acknowledgment sent {"connection_id":171691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:47:02] local.INFO: TCP Data received {"connection_id":174099,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc55b00012d7d350005ec0b400001009821..."} 
[2026-09-05 09:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc55b00012d7d350005ec0b400001009821..."} 
[2026-09-05 09:47:02] local.INFO: Processing buffer {"connection_id":174099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc55b00012d7d350005ec0b400001009821..."} 
[2026-09-05 09:47:02] local.INFO: Packet analysis {"connection_id":174099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc5"} 
[2026-09-05 09:47:02] local.INFO: Extracted packet for processing {"connection_id":174099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc5"} 
[2026-09-05 09:47:02] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":33,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876812544001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788581600000,"timestamp_ms":1788581600000,"timestamp_seconds":1788581600,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc55b00"} 
[2026-09-05 09:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:47:02] 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-09-05 09:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:47:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876812544001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876812544001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:47:02] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:47:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876812544001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":174099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767839,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:47:02] local.INFO: GPS data processed {"connection_id":174099,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:47:02] local.INFO: Acknowledgment sent {"connection_id":174099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:47:26] local.INFO: TCP Data received {"connection_id":171397,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:47:26] local.INFO: Processing buffer {"connection_id":171397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:47:26] local.INFO: IMEI packet received {"connection_id":171397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":171397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:47:30] local.INFO: TCP Data received {"connection_id":171397,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:47:30] local.INFO: Processing buffer {"connection_id":171397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:47:30] local.INFO: IMEI packet received {"connection_id":171397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":171397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:47:31] local.INFO: TCP Data received {"connection_id":171397,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc55b00012d7d350005ec0b400001009821..."} 
[2026-09-05 09:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc55b00012d7d350005ec0b400001009821..."} 
[2026-09-05 09:47:31] local.INFO: Processing buffer {"connection_id":171397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc55b00012d7d350005ec0b400001009821..."} 
[2026-09-05 09:47:31] local.INFO: Packet analysis {"connection_id":171397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc5"} 
[2026-09-05 09:47:31] local.INFO: Extracted packet for processing {"connection_id":171397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc5"} 
[2026-09-05 09:47:31] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":33,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876812544001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788581600000,"timestamp_ms":1788581600000,"timestamp_seconds":1788581600,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc55b00"} 
[2026-09-05 09:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:47:31] 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-09-05 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:47:31] 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-09-05 09: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-09-05 09:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876812544001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876812544001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:47:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:47:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876812544001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":171397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767840,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:47:31] local.INFO: GPS data processed {"connection_id":171397,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:47:31] local.INFO: Acknowledgment sent {"connection_id":171397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:47:33] local.INFO: TCP Data received {"connection_id":171691,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc7c818012d59df000662ecd8001c008229..."} 
[2026-09-05 09:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc7c818012d59df000662ecd8001c008229..."} 
[2026-09-05 09:47:33] local.INFO: Processing buffer {"connection_id":171691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc7c818012d59df000662ecd8001c008229..."} 
[2026-09-05 09:47:33] local.INFO: Packet analysis {"connection_id":171691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc7"} 
[2026-09-05 09:47:33] local.INFO: Extracted packet for processing {"connection_id":171691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc7"} 
[2026-09-05 09:47:33] local.INFO: GPS Element Parsed {"raw_longitude":760864512,"raw_latitude":107146456,"longitude_deg":76.0864512,"latitude_deg":10.7146456,"altitude":28,"angle":130,"satellites":41,"speed":60,"hex_longitude":"2d59df00","hex_latitude":"0662ecd8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876928512001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399384108297355264,"note":"Value kept but may cause issues"} 
[2026-09-05 09:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6467169092335222784,"note":"Value kept but may cause issues"} 
[2026-09-05 09:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788581759000,"timestamp_ms":1788581759000,"timestamp_seconds":1788581759,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc7c818"} 
[2026-09-05 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-09-05 09:47: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-09-05 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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-09-05 09:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 09:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:47: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-09-05 09:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876928512001,"66":27908,"165":206,"78":63744,"24":60,"16":399384108297355264,"45":6467169092335222784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,78,24,16,45]} 
[2026-09-05 09:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876928512001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:47:33] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-05 09:47:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399384108297355264,"km_value":399384108297355.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6467169092335222784,"description":"Unknown IO ID 45"} 
[2026-09-05 09:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876928512001,"power":27908,"unknown_165":206,"unknown_78":63744,"ignition":60,"odometer":null,"unknown_45":6467169092335222784}} 
[2026-09-05 09:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":171691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:47:33] local.INFO: GPS data processed {"connection_id":171691,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:47:33] local.INFO: Acknowledgment sent {"connection_id":171691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:47:57] local.INFO: TCP Data received {"connection_id":174100,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:47:57] local.INFO: Processing buffer {"connection_id":174100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:47:57] local.INFO: IMEI packet received {"connection_id":174100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":174100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:48:01] local.INFO: TCP Data received {"connection_id":174100,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:48:01] local.INFO: Processing buffer {"connection_id":174100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:48:01] local.INFO: IMEI packet received {"connection_id":174100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":174100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:48:02] local.INFO: TCP Data received {"connection_id":174100,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc8ed10012d5a4f80066189f0002500ae2c..."} 
[2026-09-05 09:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc8ed10012d5a4f80066189f0002500ae2c..."} 
[2026-09-05 09:48:02] local.INFO: Processing buffer {"connection_id":174100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc8ed10012d5a4f80066189f0002500ae2c..."} 
[2026-09-05 09:48:02] local.INFO: Packet analysis {"connection_id":174100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc8"} 
[2026-09-05 09:48:02] local.INFO: Extracted packet for processing {"connection_id":174100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc8"} 
[2026-09-05 09:48:02] local.INFO: GPS Element Parsed {"raw_longitude":760893312,"raw_latitude":107055600,"longitude_deg":76.0893312,"latitude_deg":10.70556,"altitude":37,"angle":174,"satellites":44,"speed":48,"hex_longitude":"2d5a4f80","hex_latitude":"066189f0","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876947456001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399388837056348160,"note":"Value kept but may cause issues"} 
[2026-09-05 09:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6506927432773060608,"note":"Value kept but may cause issues"} 
[2026-09-05 09:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788581834000,"timestamp_ms":1788581834000,"timestamp_seconds":1788581834,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc8ed10"} 
[2026-09-05 09:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 09:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:48: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-09-05 09:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876947456001,"66":27843,"187":206,"78":63744,"24":48,"16":399388837056348160,"45":6506927432773060608},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,78,24,16,45]} 
[2026-09-05 09:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876947456001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:48:02] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-05 09:48:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399388837056348160,"km_value":399388837056348.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6506927432773060608,"description":"Unknown IO ID 45"} 
[2026-09-05 09:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876947456001,"power":27843,"unknown_187":206,"unknown_78":63744,"ignition":48,"odometer":null,"unknown_45":6506927432773060608}} 
[2026-09-05 09:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":174100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:48:02] local.INFO: GPS data processed {"connection_id":174100,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:48:02] local.INFO: Acknowledgment sent {"connection_id":174100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:48:03] local.INFO: TCP Data received {"connection_id":171397,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc55b00012d7d350005ec0b400001009821..."} 
[2026-09-05 09:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc55b00012d7d350005ec0b400001009821..."} 
[2026-09-05 09:48:03] local.INFO: Processing buffer {"connection_id":171397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc55b00012d7d350005ec0b400001009821..."} 
[2026-09-05 09:48:03] local.INFO: Packet analysis {"connection_id":171397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc5"} 
[2026-09-05 09:48:03] local.INFO: Extracted packet for processing {"connection_id":171397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc5"} 
[2026-09-05 09:48:03] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":1,"angle":152,"satellites":33,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876812544001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788581600000,"timestamp_ms":1788581600000,"timestamp_seconds":1788581600,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc55b00"} 
[2026-09-05 09:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:48: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-09-05 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:48:03] 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-09-05 09: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-09-05 09:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876812544001,"66":2253,"197":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-09-05 09:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876812544001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:48:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 09:48:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876812544001,"power":2253,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":171397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767843,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:48:03] local.INFO: GPS data processed {"connection_id":171397,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:48:03] local.INFO: Acknowledgment sent {"connection_id":171397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:48:25] local.INFO: TCP Data received {"connection_id":172804,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:48:25] local.INFO: Processing buffer {"connection_id":172804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:48:25] local.INFO: IMEI packet received {"connection_id":172804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":172804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:48:30] local.INFO: TCP Data received {"connection_id":172804,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:48:30] local.INFO: Processing buffer {"connection_id":172804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:48:30] local.INFO: IMEI packet received {"connection_id":172804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":172804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:48:31] local.INFO: TCP Data received {"connection_id":172804,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc9f2c8012d7d350005ec0b400003009823..."} 
[2026-09-05 09:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc9f2c8012d7d350005ec0b400003009823..."} 
[2026-09-05 09:48:31] local.INFO: Processing buffer {"connection_id":172804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc9f2c8012d7d350005ec0b400003009823..."} 
[2026-09-05 09:48:31] local.INFO: Packet analysis {"connection_id":172804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc9"} 
[2026-09-05 09:48:31] local.INFO: Extracted packet for processing {"connection_id":172804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc9"} 
[2026-09-05 09:48:31] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":3,"angle":152,"satellites":35,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876889600001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788581901000,"timestamp_ms":1788581901000,"timestamp_seconds":1788581901,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc9f2c8"} 
[2026-09-05 09:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:48:31] 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-09-05 09: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-09-05 09:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876889600001,"66":2242,"109":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-05 09:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876889600001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:48:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-05 09:48:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876889600001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":172804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767844,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:48:32] local.INFO: GPS data processed {"connection_id":172804,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:48:32] local.INFO: Acknowledgment sent {"connection_id":172804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:48:33] local.INFO: TCP Data received {"connection_id":174100,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc90868012d5a5140066166d0002200b12c..."} 
[2026-09-05 09:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc90868012d5a5140066166d0002200b12c..."} 
[2026-09-05 09:48:33] local.INFO: Processing buffer {"connection_id":174100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc90868012d5a5140066166d0002200b12c..."} 
[2026-09-05 09:48:33] local.INFO: Packet analysis {"connection_id":174100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc9"} 
[2026-09-05 09:48:33] local.INFO: Extracted packet for processing {"connection_id":174100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc9"} 
[2026-09-05 09:48:33] local.INFO: GPS Element Parsed {"raw_longitude":760893760,"raw_latitude":107046608,"longitude_deg":76.089376,"latitude_deg":10.7046608,"altitude":34,"angle":177,"satellites":44,"speed":53,"hex_longitude":"2d5a5140","hex_latitude":"066166d0","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876949504001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399389270848045056,"note":"Value kept but may cause issues"} 
[2026-09-05 09:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6507560751468244992,"note":"Value kept but may cause issues"} 
[2026-09-05 09:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788581841000,"timestamp_ms":1788581841000,"timestamp_seconds":1788581841,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc90868"} 
[2026-09-05 09:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:48: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-09-05 09: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":195,"data_length":795,"current_offset":136} 
[2026-09-05 09:48: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-09-05 09: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-09-05 09:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:48: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-09-05 09:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876949504001,"66":27930,"61":206,"78":63744,"24":53,"16":399389270848045056,"45":6507560751468244992},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-09-05 09:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876949504001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:48:33] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-05 09:48:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399389270848045056,"km_value":399389270848045.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6507560751468244992,"description":"Unknown IO ID 45"} 
[2026-09-05 09:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876949504001,"power":27930,"unknown_61":206,"unknown_78":63744,"ignition":53,"odometer":null,"unknown_45":6507560751468244992}} 
[2026-09-05 09:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":174100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:48:33] local.INFO: GPS data processed {"connection_id":174100,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:48:33] local.INFO: Acknowledgment sent {"connection_id":174100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:48:56] local.INFO: TCP Data received {"connection_id":174101,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:48:56] local.INFO: Processing buffer {"connection_id":174101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:48:56] local.INFO: IMEI packet received {"connection_id":174101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":174101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:49:02] local.INFO: TCP Data received {"connection_id":174101,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:49:02] local.INFO: Processing buffer {"connection_id":174101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:49:02] local.INFO: IMEI packet received {"connection_id":174101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":174101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:49:03] local.INFO: TCP Data received {"connection_id":174101,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc923c0012d5a540006613fa8002000af2d..."} 
[2026-09-05 09:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc923c0012d5a540006613fa8002000af2d..."} 
[2026-09-05 09:49:03] local.INFO: Processing buffer {"connection_id":174101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc923c0012d5a540006613fa8002000af2d..."} 
[2026-09-05 09:49:03] local.INFO: Packet analysis {"connection_id":174101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc9"} 
[2026-09-05 09:49:03] local.INFO: Extracted packet for processing {"connection_id":174101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc9"} 
[2026-09-05 09:49:03] local.INFO: GPS Element Parsed {"raw_longitude":760894464,"raw_latitude":107036584,"longitude_deg":76.0894464,"latitude_deg":10.7036584,"altitude":32,"angle":175,"satellites":45,"speed":57,"hex_longitude":"2d5a5400","hex_latitude":"06613fa8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876951296001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399389760474316800,"note":"Value kept but may cause issues"} 
[2026-09-05 09:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6508053332675186688,"note":"Value kept but may cause issues"} 
[2026-09-05 09:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788581848000,"timestamp_ms":1788581848000,"timestamp_seconds":1788581848,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc923c0"} 
[2026-09-05 09:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:49: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-09-05 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 09:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:49: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-09-05 09:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876951296001,"66":27832,"61":206,"78":63744,"24":57,"16":399389760474316800,"45":6508053332675186688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-09-05 09:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876951296001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:49:03] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-05 09:49:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399389760474316800,"km_value":399389760474316.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6508053332675186688,"description":"Unknown IO ID 45"} 
[2026-09-05 09:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876951296001,"power":27832,"unknown_61":206,"unknown_78":63744,"ignition":57,"odometer":null,"unknown_45":6508053332675186688}} 
[2026-09-05 09:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":174101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:49:03] local.INFO: GPS data processed {"connection_id":174101,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:49:03] local.INFO: Acknowledgment sent {"connection_id":174101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:49:03] local.INFO: TCP Data received {"connection_id":172804,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc9f2c8012d7d350005ec0b400003009823..."} 
[2026-09-05 09:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc9f2c8012d7d350005ec0b400003009823..."} 
[2026-09-05 09:49:03] local.INFO: Processing buffer {"connection_id":172804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc9f2c8012d7d350005ec0b400003009823..."} 
[2026-09-05 09:49:03] local.INFO: Packet analysis {"connection_id":172804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc9"} 
[2026-09-05 09:49:03] local.INFO: Extracted packet for processing {"connection_id":172804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc9"} 
[2026-09-05 09:49:03] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":3,"angle":152,"satellites":35,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876889600001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788581901000,"timestamp_ms":1788581901000,"timestamp_seconds":1788581901,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc9f2c8"} 
[2026-09-05 09:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:49: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-09-05 09: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":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:49:03] 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-09-05 09: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-09-05 09:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876889600001,"66":2242,"109":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-05 09:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876889600001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:49:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-05 09:49:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876889600001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":172804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767847,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:49:03] local.INFO: GPS data processed {"connection_id":172804,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:49:03] local.INFO: Acknowledgment sent {"connection_id":172804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:49:25] local.INFO: TCP Data received {"connection_id":171399,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:49:25] local.INFO: Processing buffer {"connection_id":171399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:49:25] local.INFO: IMEI packet received {"connection_id":171399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":171399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:49:30] local.INFO: TCP Data received {"connection_id":171399,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:49:30] local.INFO: Processing buffer {"connection_id":171399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:49:30] local.INFO: IMEI packet received {"connection_id":171399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":171399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:49:32] local.INFO: TCP Data received {"connection_id":171399,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc9f2c8012d7d350005ec0b400003009823..."} 
[2026-09-05 09:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc9f2c8012d7d350005ec0b400003009823..."} 
[2026-09-05 09:49:32] local.INFO: Processing buffer {"connection_id":171399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc9f2c8012d7d350005ec0b400003009823..."} 
[2026-09-05 09:49:32] local.INFO: Packet analysis {"connection_id":171399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc9"} 
[2026-09-05 09:49:32] local.INFO: Extracted packet for processing {"connection_id":171399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc9"} 
[2026-09-05 09:49:32] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":3,"angle":152,"satellites":35,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876889600001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788581901000,"timestamp_ms":1788581901000,"timestamp_seconds":1788581901,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc9f2c8"} 
[2026-09-05 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-09-05 09:49: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-09-05 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:49:32] 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-09-05 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-09-05 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-09-05 09:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876889600001,"66":2242,"109":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-05 09:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876889600001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:49:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-05 09:49:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876889600001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":171399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767848,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:49:32] local.INFO: GPS data processed {"connection_id":171399,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:49:32] local.INFO: Acknowledgment sent {"connection_id":171399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:49:34] local.INFO: TCP Data received {"connection_id":174101,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc93f18012d5a570006611ad8001e00a82b..."} 
[2026-09-05 09:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc93f18012d5a570006611ad8001e00a82b..."} 
[2026-09-05 09:49:34] local.INFO: Processing buffer {"connection_id":174101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc93f18012d5a570006611ad8001e00a82b..."} 
[2026-09-05 09:49:34] local.INFO: Packet analysis {"connection_id":174101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc9"} 
[2026-09-05 09:49:34] local.INFO: Extracted packet for processing {"connection_id":174101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc9"} 
[2026-09-05 09:49:34] local.INFO: GPS Element Parsed {"raw_longitude":760895232,"raw_latitude":107027160,"longitude_deg":76.0895232,"latitude_deg":10.702716,"altitude":30,"angle":168,"satellites":43,"speed":51,"hex_longitude":"2d5a5700","hex_latitude":"06611ad8","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876953088001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399390220035817472,"note":"Value kept but may cause issues"} 
[2026-09-05 09:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6508827388858574848,"note":"Value kept but may cause issues"} 
[2026-09-05 09:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788581855000,"timestamp_ms":1788581855000,"timestamp_seconds":1788581855,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc93f18"} 
[2026-09-05 09:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:49: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-09-05 09: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 09:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 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-09-05 09:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:49:34] 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-09-05 09:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876953088001,"66":27919,"61":206,"78":63744,"24":51,"16":399390220035817472,"45":6508827388858574848},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-09-05 09:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876953088001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:49:34] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-05 09:49:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399390220035817472,"km_value":399390220035817.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6508827388858574848,"description":"Unknown IO ID 45"} 
[2026-09-05 09:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876953088001,"power":27919,"unknown_61":206,"unknown_78":63744,"ignition":51,"odometer":null,"unknown_45":6508827388858574848}} 
[2026-09-05 09:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":174101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:49:34] local.INFO: GPS data processed {"connection_id":174101,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:49:34] local.INFO: Acknowledgment sent {"connection_id":174101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:50:01] local.INFO: TCP Data received {"connection_id":171692,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:50:01] local.INFO: Processing buffer {"connection_id":171692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:50:01] local.INFO: IMEI packet received {"connection_id":171692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":171692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:50:01] local.INFO: TCP Data received {"connection_id":171692,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:50:01] local.INFO: Processing buffer {"connection_id":171692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:50:01] local.INFO: IMEI packet received {"connection_id":171692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":171692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:50:03] local.INFO: TCP Data received {"connection_id":171399,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc9f2c8012d7d350005ec0b400003009823..."} 
[2026-09-05 09:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc9f2c8012d7d350005ec0b400003009823..."} 
[2026-09-05 09:50:03] local.INFO: Processing buffer {"connection_id":171399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc9f2c8012d7d350005ec0b400003009823..."} 
[2026-09-05 09:50:03] local.INFO: Packet analysis {"connection_id":171399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc9"} 
[2026-09-05 09:50:03] local.INFO: Extracted packet for processing {"connection_id":171399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc9"} 
[2026-09-05 09:50:03] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":3,"angle":152,"satellites":35,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876889600001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788581901000,"timestamp_ms":1788581901000,"timestamp_seconds":1788581901,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc9f2c8"} 
[2026-09-05 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-09-05 09:50: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-09-05 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:50:03] 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-09-05 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-09-05 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-09-05 09:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876889600001,"66":2242,"109":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-05 09:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876889600001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:50:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-05 09:50:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876889600001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":171399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767850,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:50:03] local.INFO: GPS data processed {"connection_id":171399,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:50:03] local.INFO: Acknowledgment sent {"connection_id":171399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:50:07] local.INFO: TCP Data received {"connection_id":171692,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:50:07] local.INFO: Processing buffer {"connection_id":171692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:50:07] local.INFO: IMEI packet received {"connection_id":171692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":171692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:50:09] local.INFO: TCP Data received {"connection_id":171692,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc94ad0012d5a5b8006610c58001e009d2e..."} 
[2026-09-05 09:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc94ad0012d5a5b8006610c58001e009d2e..."} 
[2026-09-05 09:50:09] local.INFO: Processing buffer {"connection_id":171692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc94ad0012d5a5b8006610c58001e009d2e..."} 
[2026-09-05 09:50:09] local.INFO: Packet analysis {"connection_id":171692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc9"} 
[2026-09-05 09:50:09] local.INFO: Extracted packet for processing {"connection_id":171692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc9"} 
[2026-09-05 09:50:09] local.INFO: GPS Element Parsed {"raw_longitude":760896384,"raw_latitude":107023448,"longitude_deg":76.0896384,"latitude_deg":10.7023448,"altitude":30,"angle":157,"satellites":46,"speed":51,"hex_longitude":"2d5a5b80","hex_latitude":"06610c58","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876954880001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399390404719411200,"note":"Value kept but may cause issues"} 
[2026-09-05 09:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6509671813786294272,"note":"Value kept but may cause issues"} 
[2026-09-05 09:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788581858000,"timestamp_ms":1788581858000,"timestamp_seconds":1788581858,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc94ad0"} 
[2026-09-05 09:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:50: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-09-05 09: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 09:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:50:09] 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-09-05 09:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876954880001,"66":27919,"61":206,"78":63744,"24":51,"16":399390404719411200,"45":6509671813786294272},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-09-05 09:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876954880001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:50:09] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-05 09:50:09] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399390404719411200,"km_value":399390404719411.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6509671813786294272,"description":"Unknown IO ID 45"} 
[2026-09-05 09:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876954880001,"power":27919,"unknown_61":206,"unknown_78":63744,"ignition":51,"odometer":null,"unknown_45":6509671813786294272}} 
[2026-09-05 09:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":171692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:50:09] local.INFO: GPS data processed {"connection_id":171692,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:50:09] local.INFO: Acknowledgment sent {"connection_id":171692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:50:10] local.INFO: TCP Data received {"connection_id":171692,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc95a70012d5a65800660faf0001f00912f..."} 
[2026-09-05 09:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc95a70012d5a65800660faf0001f00912f..."} 
[2026-09-05 09:50:10] local.INFO: Processing buffer {"connection_id":171692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc95a70012d5a65800660faf0001f00912f..."} 
[2026-09-05 09:50:10] local.INFO: Packet analysis {"connection_id":171692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc9"} 
[2026-09-05 09:50:10] local.INFO: Extracted packet for processing {"connection_id":171692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc9"} 
[2026-09-05 09:50:10] local.INFO: GPS Element Parsed {"raw_longitude":760898944,"raw_latitude":107018992,"longitude_deg":76.0898944,"latitude_deg":10.7018992,"altitude":31,"angle":145,"satellites":47,"speed":50,"hex_longitude":"2d5a6580","hex_latitude":"0660faf0","is_valid_coordinates":true} 
[2026-09-05 09:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876955648001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399390653827514368,"note":"Value kept but may cause issues"} 
[2026-09-05 09:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6510938451180541952,"note":"Value kept but may cause issues"} 
[2026-09-05 09:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788581862000,"timestamp_ms":1788581862000,"timestamp_seconds":1788581862,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc95a70"} 
[2026-09-05 09:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 09:50:10] 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-09-05 09:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:50:10] 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-09-05 09:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876955648001,"66":27974,"61":206,"78":63744,"24":50,"16":399390653827514368,"45":6510938451180541952},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-09-05 09:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876955648001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:50:10] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-05 09:50:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399390653827514368,"km_value":399390653827514.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6510938451180541952,"description":"Unknown IO ID 45"} 
[2026-09-05 09:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876955648001,"power":27974,"unknown_61":206,"unknown_78":63744,"ignition":50,"odometer":null,"unknown_45":6510938451180541952}} 
[2026-09-05 09:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":171692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:50:10] local.INFO: GPS data processed {"connection_id":171692,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:50:10] local.INFO: Acknowledgment sent {"connection_id":171692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:50:10] local.INFO: TCP Data received {"connection_id":174102,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174102,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:50:10] local.INFO: Processing buffer {"connection_id":174102,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:50:10] local.INFO: IMEI packet received {"connection_id":174102,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":174102,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:50:11] local.INFO: TCP Data received {"connection_id":174102,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fcb42b8012d0bf8c007035a600010011b1f..."} 
[2026-09-05 09:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fcb42b8012d0bf8c007035a600010011b1f..."} 
[2026-09-05 09:50:11] local.INFO: Processing buffer {"connection_id":174102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fcb42b8012d0bf8c007035a600010011b1f..."} 
[2026-09-05 09:50:11] local.INFO: Packet analysis {"connection_id":174102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fcb"} 
[2026-09-05 09:50:11] local.INFO: Extracted packet for processing {"connection_id":174102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fcb"} 
[2026-09-05 09:50:11] local.INFO: GPS Element Parsed {"raw_longitude":755759296,"raw_latitude":117660256,"longitude_deg":75.5759296,"latitude_deg":11.7660256,"altitude":16,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d0bf8c0","hex_latitude":"07035a60","is_valid_coordinates":true} 
[2026-09-05 09:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876988160001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30330204345860096,"note":"Value kept but may cause issues"} 
[2026-09-05 09:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862720833739182080,"note":"Value kept but may cause issues"} 
[2026-09-05 09:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788581987000,"timestamp_ms":1788581987000,"timestamp_seconds":1788581987,"priority":1,"record_length":96,"hex_timestamp":"000001a06fcb42b8"} 
[2026-09-05 09:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 09:50: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-09-05 09:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174102,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174102,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876988160001,"66":14298,"37":206,"94":11008,"24":0,"16":30330204345860096,"45":862720833739182080},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-05 09:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876988160001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:50:11] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-05 09:50:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 09:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30330204345860096,"km_value":30330204345860.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":862720833739182080,"description":"Unknown IO ID 45"} 
[2026-09-05 09:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876988160001,"power":14298,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":862720833739182080}} 
[2026-09-05 09:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":174102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767853,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:50:11] local.INFO: GPS data processed {"connection_id":174102,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:50:11] local.INFO: Acknowledgment sent {"connection_id":174102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:50:30] local.INFO: TCP Data received {"connection_id":171693,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171693,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:50:30] local.INFO: Processing buffer {"connection_id":171693,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:50:30] local.INFO: IMEI packet received {"connection_id":171693,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 09:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":171693,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:50:35] local.INFO: TCP Data received {"connection_id":171693,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171693,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:50:35] local.INFO: Processing buffer {"connection_id":171693,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 09:50:35] local.INFO: IMEI packet received {"connection_id":171693,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 09:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":171693,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:50:36] local.INFO: TCP Data received {"connection_id":171693,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc9f2c8012d7d350005ec0b400003009823..."} 
[2026-09-05 09:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc9f2c8012d7d350005ec0b400003009823..."} 
[2026-09-05 09:50:36] local.INFO: Processing buffer {"connection_id":171693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc9f2c8012d7d350005ec0b400003009823..."} 
[2026-09-05 09:50:36] local.INFO: Packet analysis {"connection_id":171693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc9"} 
[2026-09-05 09:50:36] local.INFO: Extracted packet for processing {"connection_id":171693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc9"} 
[2026-09-05 09:50:36] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":3,"angle":152,"satellites":35,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876889600001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788581901000,"timestamp_ms":1788581901000,"timestamp_seconds":1788581901,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc9f2c8"} 
[2026-09-05 09:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 09:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:50:36] 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-09-05 09: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-09-05 09:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876889600001,"66":2242,"109":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-05 09:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876889600001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:50:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-05 09:50:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876889600001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":171693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:50:36] local.INFO: GPS data processed {"connection_id":171693,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:50:36] local.INFO: Acknowledgment sent {"connection_id":171693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:50:41] local.INFO: TCP Data received {"connection_id":171692,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fcb1f90012d5a8f00065f6830001d00c727..."} 
[2026-09-05 09:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fcb1f90012d5a8f00065f6830001d00c727..."} 
[2026-09-05 09:50:41] local.INFO: Processing buffer {"connection_id":171692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fcb1f90012d5a8f00065f6830001d00c727..."} 
[2026-09-05 09:50:41] local.INFO: Packet analysis {"connection_id":171692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fcb"} 
[2026-09-05 09:50:41] local.INFO: Extracted packet for processing {"connection_id":171692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fcb"} 
[2026-09-05 09:50:41] local.INFO: GPS Element Parsed {"raw_longitude":760909568,"raw_latitude":106915888,"longitude_deg":76.0909568,"latitude_deg":10.6915888,"altitude":29,"angle":199,"satellites":39,"speed":52,"hex_longitude":"2d5a8f00","hex_latitude":"065f6830","is_valid_coordinates":true} 
[2026-09-05 09:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876984576001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399396005356765184,"note":"Value kept but may cause issues"} 
[2026-09-05 09:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6529023218408894464,"note":"Value kept but may cause issues"} 
[2026-09-05 09:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788581978000,"timestamp_ms":1788581978000,"timestamp_seconds":1788581978,"priority":1,"record_length":96,"hex_timestamp":"000001a06fcb1f90"} 
[2026-09-05 09:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:50: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-09-05 09:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 09:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":171692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":171692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":171692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:50:41] 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-09-05 09:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876984576001,"66":27984,"205":206,"78":63744,"24":52,"16":399396005356765184,"45":6529023218408894464},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,78,24,16,45]} 
[2026-09-05 09:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876984576001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:50:41] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399396005356765184,"km_value":399396005356765.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6529023218408894464,"description":"Unknown IO ID 45"} 
[2026-09-05 09:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876984576001,"power":27984,"cell_id":206,"unknown_78":63744,"ignition":52,"odometer":null,"unknown_45":6529023218408894464}} 
[2026-09-05 09:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":171692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:50:41] local.INFO: GPS data processed {"connection_id":171692,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:50:41] local.INFO: Acknowledgment sent {"connection_id":171692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:50:41] local.INFO: TCP Data received {"connection_id":171693,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fc9f2c8012d7d350005ec0b400003009823..."} 
[2026-09-05 09:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fc9f2c8012d7d350005ec0b400003009823..."} 
[2026-09-05 09:50:41] local.INFO: Processing buffer {"connection_id":171693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fc9f2c8012d7d350005ec0b400003009823..."} 
[2026-09-05 09:50:41] local.INFO: Packet analysis {"connection_id":171693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fc9"} 
[2026-09-05 09:50:41] local.INFO: Extracted packet for processing {"connection_id":171693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fc9"} 
[2026-09-05 09:50:41] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99355456,"longitude_deg":76.3180288,"latitude_deg":9.9355456,"altitude":3,"angle":152,"satellites":35,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05ec0b40","is_valid_coordinates":true} 
[2026-09-05 09:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876889600001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453941653504,"note":"Value kept but may cause issues"} 
[2026-09-05 09:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788581901000,"timestamp_ms":1788581901000,"timestamp_seconds":1788581901,"priority":1,"record_length":96,"hex_timestamp":"000001a06fc9f2c8"} 
[2026-09-05 09:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 09:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 09:50:41] 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-09-05 09:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":171693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":171693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":171693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 09:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 09:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 09:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876889600001,"66":2242,"109":206,"87":13824,"24":0,"16":128489272419287040,"45":9022117453941653504},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-05 09:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 09:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 09:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876889600001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:50:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-05 09:50:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 09:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453941653504,"description":"Unknown IO ID 45"} 
[2026-09-05 09:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876889600001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022117453941653504}} 
[2026-09-05 09:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":171693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767856,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:50:41] local.INFO: GPS data processed {"connection_id":171693,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:50:41] local.INFO: Acknowledgment sent {"connection_id":171693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:50:42] local.INFO: TCP Data received {"connection_id":174102,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fcb5258012d0bf60007035ad00011010f1f..."} 
[2026-09-05 09:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fcb5258012d0bf60007035ad00011010f1f..."} 
[2026-09-05 09:50:42] local.INFO: Processing buffer {"connection_id":174102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fcb5258012d0bf60007035ad00011010f1f..."} 
[2026-09-05 09:50:42] local.INFO: Packet analysis {"connection_id":174102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fcb"} 
[2026-09-05 09:50:42] local.INFO: Extracted packet for processing {"connection_id":174102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fcb"} 
[2026-09-05 09:50:42] local.INFO: GPS Element Parsed {"raw_longitude":755758592,"raw_latitude":117660368,"longitude_deg":75.5758592,"latitude_deg":11.7660368,"altitude":17,"angle":271,"satellites":31,"speed":10,"hex_longitude":"2d0bf600","hex_latitude":"07035ad0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876988672001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30330238705598464,"note":"Value kept but may cause issues"} 
[2026-09-05 09:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862650464995008512,"note":"Value kept but may cause issues"} 
[2026-09-05 09:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788581991000,"timestamp_ms":1788581991000,"timestamp_seconds":1788581991,"priority":1,"record_length":96,"hex_timestamp":"000001a06fcb5258"} 
[2026-09-05 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-09-05 09:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-05 09:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 09:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":174102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":174102,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":174102,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876988672001,"66":14428,"37":206,"94":11008,"24":10,"16":30330238705598464,"45":862650464995008512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-05 09:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876988672001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:50:42] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-05 09:50:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 09:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30330238705598464,"km_value":30330238705598.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":862650464995008512,"description":"Unknown IO ID 45"} 
[2026-09-05 09:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876988672001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":862650464995008512}} 
[2026-09-05 09:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":174102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767857,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:50:43] local.INFO: GPS data processed {"connection_id":174102,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:50:43] local.INFO: Acknowledgment sent {"connection_id":174102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:50:57] local.INFO: TCP Data received {"connection_id":174103,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:50:57] local.INFO: Processing buffer {"connection_id":174103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:50:57] local.INFO: IMEI packet received {"connection_id":174103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":174103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:50:58] local.INFO: TCP Data received {"connection_id":174103,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:50:58] local.INFO: Processing buffer {"connection_id":174103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:50:58] local.INFO: IMEI packet received {"connection_id":174103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":174103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:50:59] local.INFO: TCP Data received {"connection_id":174103,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fcb3ae8012d5a8180065f46f0001d00ca25..."} 
[2026-09-05 09:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fcb3ae8012d5a8180065f46f0001d00ca25..."} 
[2026-09-05 09:50:59] local.INFO: Processing buffer {"connection_id":174103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fcb3ae8012d5a8180065f46f0001d00ca25..."} 
[2026-09-05 09:50:59] local.INFO: Packet analysis {"connection_id":174103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fcb"} 
[2026-09-05 09:50:59] local.INFO: Extracted packet for processing {"connection_id":174103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fcb"} 
[2026-09-05 09:50:59] local.INFO: GPS Element Parsed {"raw_longitude":760906112,"raw_latitude":106907376,"longitude_deg":76.0906112,"latitude_deg":10.6907376,"altitude":29,"angle":202,"satellites":37,"speed":51,"hex_longitude":"2d5a8180","hex_latitude":"065f46f0","is_valid_coordinates":true} 
[2026-09-05 09:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876986368001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399396452033363968,"note":"Value kept but may cause issues"} 
[2026-09-05 09:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6525434412453605376,"note":"Value kept but may cause issues"} 
[2026-09-05 09:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788581985000,"timestamp_ms":1788581985000,"timestamp_seconds":1788581985,"priority":1,"record_length":96,"hex_timestamp":"000001a06fcb3ae8"} 
[2026-09-05 09:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 09:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876986368001,"66":27919,"205":206,"78":63744,"24":51,"16":399396452033363968,"45":6525434412453605376},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,78,24,16,45]} 
[2026-09-05 09:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876986368001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:50:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399396452033363968,"km_value":399396452033363.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6525434412453605376,"description":"Unknown IO ID 45"} 
[2026-09-05 09:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876986368001,"power":27919,"cell_id":206,"unknown_78":63744,"ignition":51,"odometer":null,"unknown_45":6525434412453605376}} 
[2026-09-05 09:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":174103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:50:59] local.INFO: GPS data processed {"connection_id":174103,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:50:59] local.INFO: Acknowledgment sent {"connection_id":174103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:51:05] local.INFO: TCP Data received {"connection_id":172805,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172805,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:51:05] local.INFO: Processing buffer {"connection_id":172805,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:51:05] local.INFO: IMEI packet received {"connection_id":172805,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":172805,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:51:10] local.INFO: TCP Data received {"connection_id":172805,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172805,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:51:10] local.INFO: Processing buffer {"connection_id":172805,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:51:10] local.INFO: IMEI packet received {"connection_id":172805,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":172805,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:51:11] local.INFO: TCP Data received {"connection_id":172805,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fcc5810012d0b8340070345b0001100c81d..."} 
[2026-09-05 09:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fcc5810012d0b8340070345b0001100c81d..."} 
[2026-09-05 09:51:11] local.INFO: Processing buffer {"connection_id":172805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fcc5810012d0b8340070345b0001100c81d..."} 
[2026-09-05 09:51:11] local.INFO: Packet analysis {"connection_id":172805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fcc"} 
[2026-09-05 09:51:11] local.INFO: Extracted packet for processing {"connection_id":172805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fcc"} 
[2026-09-05 09:51:11] local.INFO: GPS Element Parsed {"raw_longitude":755729216,"raw_latitude":117654960,"longitude_deg":75.5729216,"latitude_deg":11.765496,"altitude":17,"angle":200,"satellites":29,"speed":14,"hex_longitude":"2d0b8340","hex_latitude":"070345b0","is_valid_coordinates":true} 
[2026-09-05 09:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877006336001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30331767713955840,"note":"Value kept but may cause issues"} 
[2026-09-05 09:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":829717892718716928,"note":"Value kept but may cause issues"} 
[2026-09-05 09:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788582058000,"timestamp_ms":1788582058000,"timestamp_seconds":1788582058,"priority":1,"record_length":96,"hex_timestamp":"000001a06fcc5810"} 
[2026-09-05 09:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-05 09:51:11] 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-09-05 09:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":172805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":172805,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":172805,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877006336001,"66":14559,"37":206,"94":11008,"24":14,"16":30331767713955840,"45":829717892718716928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-05 09:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877006336001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:51:11] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-05 09:51:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 09:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30331767713955840,"km_value":30331767713955.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":829717892718716928,"description":"Unknown IO ID 45"} 
[2026-09-05 09:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877006336001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":829717892718716928}} 
[2026-09-05 09:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":172805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767859,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:51:11] local.INFO: GPS data processed {"connection_id":172805,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:51:11] local.INFO: Acknowledgment sent {"connection_id":172805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:51:32] local.INFO: TCP Data received {"connection_id":174103,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fcb5e10012d5a7300065f24c8001c00cd26..."} 
[2026-09-05 09:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fcb5e10012d5a7300065f24c8001c00cd26..."} 
[2026-09-05 09:51:32] local.INFO: Processing buffer {"connection_id":174103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fcb5e10012d5a7300065f24c8001c00cd26..."} 
[2026-09-05 09:51:32] local.INFO: Packet analysis {"connection_id":174103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fcb"} 
[2026-09-05 09:51:32] local.INFO: Extracted packet for processing {"connection_id":174103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fcb"} 
[2026-09-05 09:51:32] local.INFO: GPS Element Parsed {"raw_longitude":760902400,"raw_latitude":106898632,"longitude_deg":76.09024,"latitude_deg":10.6898632,"altitude":28,"angle":205,"satellites":38,"speed":34,"hex_longitude":"2d5a7300","hex_latitude":"065f24c8","is_valid_coordinates":true} 
[2026-09-05 09:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876988160001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399396911594864640,"note":"Value kept but may cause issues"} 
[2026-09-05 09:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6521634500265832448,"note":"Value kept but may cause issues"} 
[2026-09-05 09:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788581994000,"timestamp_ms":1788581994000,"timestamp_seconds":1788581994,"priority":1,"record_length":96,"hex_timestamp":"000001a06fcb5e10"} 
[2026-09-05 09:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:51: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-09-05 09:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 09:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:51: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-09-05 09:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876988160001,"66":27865,"205":206,"78":63744,"24":34,"16":399396911594864640,"45":6521634500265832448},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,78,24,16,45]} 
[2026-09-05 09:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876988160001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:51:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399396911594864640,"km_value":399396911594864.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6521634500265832448,"description":"Unknown IO ID 45"} 
[2026-09-05 09:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876988160001,"power":27865,"cell_id":206,"unknown_78":63744,"ignition":34,"odometer":null,"unknown_45":6521634500265832448}} 
[2026-09-05 09:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":174103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:51:32] local.INFO: GPS data processed {"connection_id":174103,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:51:32] local.INFO: Acknowledgment sent {"connection_id":174103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:51:49] local.INFO: TCP Data received {"connection_id":172805,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fcc5bf8012d0b8240070344a0001100df1d..."} 
[2026-09-05 09:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fcc5bf8012d0b8240070344a0001100df1d..."} 
[2026-09-05 09:51:49] local.INFO: Processing buffer {"connection_id":172805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fcc5bf8012d0b8240070344a0001100df1d..."} 
[2026-09-05 09:51:49] local.INFO: Packet analysis {"connection_id":172805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fcc"} 
[2026-09-05 09:51:49] local.INFO: Extracted packet for processing {"connection_id":172805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fcc"} 
[2026-09-05 09:51:49] local.INFO: GPS Element Parsed {"raw_longitude":755728960,"raw_latitude":117654688,"longitude_deg":75.572896,"latitude_deg":11.7654688,"altitude":17,"angle":223,"satellites":29,"speed":13,"hex_longitude":"2d0b8240","hex_latitude":"070344a0","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877006848001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30331784893825024,"note":"Value kept but may cause issues"} 
[2026-09-05 09:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":829577155230150656,"note":"Value kept but may cause issues"} 
[2026-09-05 09:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788582059000,"timestamp_ms":1788582059000,"timestamp_seconds":1788582059,"priority":1,"record_length":96,"hex_timestamp":"000001a06fcc5bf8"} 
[2026-09-05 09:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-05 09:51:49] 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-09-05 09: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-09-05 09:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172805,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172805,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877006848001,"66":14450,"37":206,"94":11008,"24":13,"16":30331784893825024,"45":829577155230150656},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-05 09:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877006848001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:51:49] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-05 09:51:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 09:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30331784893825024,"km_value":30331784893825.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":829577155230150656,"description":"Unknown IO ID 45"} 
[2026-09-05 09:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877006848001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":829577155230150656}} 
[2026-09-05 09:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":172805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767861,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:51:49] local.INFO: GPS data processed {"connection_id":172805,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:51:49] local.INFO: Acknowledgment sent {"connection_id":172805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:51:55] local.INFO: TCP Data received {"connection_id":171694,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:51:55] local.INFO: Processing buffer {"connection_id":171694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:51:55] local.INFO: IMEI packet received {"connection_id":171694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":171694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:51:56] local.INFO: TCP Data received {"connection_id":171694,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:51:56] local.INFO: Processing buffer {"connection_id":171694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:51:56] local.INFO: IMEI packet received {"connection_id":171694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":171694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:52:02] local.INFO: TCP Data received {"connection_id":171694,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:52:02] local.INFO: Processing buffer {"connection_id":171694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:52:02] local.INFO: IMEI packet received {"connection_id":171694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":171694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:52:03] local.INFO: TCP Data received {"connection_id":171694,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fcb8520012d5a5fc0065f04d0001a00d528..."} 
[2026-09-05 09:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fcb8520012d5a5fc0065f04d0001a00d528..."} 
[2026-09-05 09:52:03] local.INFO: Processing buffer {"connection_id":171694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fcb8520012d5a5fc0065f04d0001a00d528..."} 
[2026-09-05 09:52:03] local.INFO: Packet analysis {"connection_id":171694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fcb"} 
[2026-09-05 09:52:03] local.INFO: Extracted packet for processing {"connection_id":171694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fcb"} 
[2026-09-05 09:52:03] local.INFO: GPS Element Parsed {"raw_longitude":760897472,"raw_latitude":106890448,"longitude_deg":76.0897472,"latitude_deg":10.6890448,"altitude":26,"angle":213,"satellites":40,"speed":38,"hex_longitude":"2d5a5fc0","hex_latitude":"065f04d0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457876990464001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399397371156365312,"note":"Value kept but may cause issues"} 
[2026-09-05 09:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6517553113101289472,"note":"Value kept but may cause issues"} 
[2026-09-05 09:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788582004000,"timestamp_ms":1788582004000,"timestamp_seconds":1788582004,"priority":1,"record_length":96,"hex_timestamp":"000001a06fcb8520"} 
[2026-09-05 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-09-05 09:52: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-09-05 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 09:52: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-09-05 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-09-05 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-09-05 09:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:52: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-09-05 09:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457876990464001,"66":27919,"205":206,"78":63744,"24":38,"16":399397371156365312,"45":6517553113101289472},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,78,24,16,45]} 
[2026-09-05 09:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457876990464001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:52:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399397371156365312,"km_value":399397371156365.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6517553113101289472,"description":"Unknown IO ID 45"} 
[2026-09-05 09:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457876990464001,"power":27919,"cell_id":206,"unknown_78":63744,"ignition":38,"odometer":null,"unknown_45":6517553113101289472}} 
[2026-09-05 09:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":171694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:52:03] local.INFO: GPS data processed {"connection_id":171694,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:52:03] local.INFO: Acknowledgment sent {"connection_id":171694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:52:20] local.INFO: TCP Data received {"connection_id":171400,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171400,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:52:20] local.INFO: Processing buffer {"connection_id":171400,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:52:20] local.INFO: IMEI packet received {"connection_id":171400,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":171400,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:52:25] local.INFO: TCP Data received {"connection_id":171400,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171400,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:52:25] local.INFO: Processing buffer {"connection_id":171400,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:52:25] local.INFO: IMEI packet received {"connection_id":171400,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":171400,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:52:27] local.INFO: TCP Data received {"connection_id":171400,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fcc5fe0012d0b8140070343e8001100f51d..."} 
[2026-09-05 09:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fcc5fe0012d0b8140070343e8001100f51d..."} 
[2026-09-05 09:52:27] local.INFO: Processing buffer {"connection_id":171400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fcc5fe0012d0b8140070343e8001100f51d..."} 
[2026-09-05 09:52:27] local.INFO: Packet analysis {"connection_id":171400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fcc"} 
[2026-09-05 09:52:27] local.INFO: Extracted packet for processing {"connection_id":171400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fcc"} 
[2026-09-05 09:52:27] local.INFO: GPS Element Parsed {"raw_longitude":755728704,"raw_latitude":117654504,"longitude_deg":75.5728704,"latitude_deg":11.7654504,"altitude":17,"angle":245,"satellites":29,"speed":14,"hex_longitude":"2d0b8140","hex_latitude":"070343e8","is_valid_coordinates":true} 
[2026-09-05 09:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877007104001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30331802073694208,"note":"Value kept but may cause issues"} 
[2026-09-05 09:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":829295680253370368,"note":"Value kept but may cause issues"} 
[2026-09-05 09:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788582060000,"timestamp_ms":1788582060000,"timestamp_seconds":1788582060,"priority":1,"record_length":96,"hex_timestamp":"000001a06fcc5fe0"} 
[2026-09-05 09:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:52:27] 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-09-05 09:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-05 09:52:27] 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-09-05 09:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171400,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171400,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877007104001,"66":14450,"37":206,"94":11008,"24":14,"16":30331802073694208,"45":829295680253370368},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-05 09:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877007104001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:52:27] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-05 09:52:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 09:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30331802073694208,"km_value":30331802073694.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":829295680253370368,"description":"Unknown IO ID 45"} 
[2026-09-05 09:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877007104001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":829295680253370368}} 
[2026-09-05 09:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":171400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767863,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:52:27] local.INFO: GPS data processed {"connection_id":171400,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:52:27] local.INFO: Acknowledgment sent {"connection_id":171400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:52:35] local.INFO: TCP Data received {"connection_id":171694,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fccfc20012d597380065d74e0000d00d62c..."} 
[2026-09-05 09:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fccfc20012d597380065d74e0000d00d62c..."} 
[2026-09-05 09:52:35] local.INFO: Processing buffer {"connection_id":171694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fccfc20012d597380065d74e0000d00d62c..."} 
[2026-09-05 09:52:35] local.INFO: Packet analysis {"connection_id":171694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fcc"} 
[2026-09-05 09:52:35] local.INFO: Extracted packet for processing {"connection_id":171694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fcc"} 
[2026-09-05 09:52:35] local.INFO: GPS Element Parsed {"raw_longitude":760836992,"raw_latitude":106788064,"longitude_deg":76.0836992,"latitude_deg":10.6788064,"altitude":13,"angle":214,"satellites":44,"speed":49,"hex_longitude":"2d597380","hex_latitude":"065d74e0","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877015808001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399403130707509248,"note":"Value kept but may cause issues"} 
[2026-09-05 09:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6451476862292078592,"note":"Value kept but may cause issues"} 
[2026-09-05 09:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788582100000,"timestamp_ms":1788582100000,"timestamp_seconds":1788582100,"priority":1,"record_length":96,"hex_timestamp":"000001a06fccfc20"} 
[2026-09-05 09:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:52: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-09-05 09:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 09:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:52:35] 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-09-05 09:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877015808001,"66":27908,"207":206,"78":63744,"24":49,"16":399403130707509248,"45":6451476862292078592},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,78,24,16,45]} 
[2026-09-05 09:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877015808001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:52:35] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 09:52:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399403130707509248,"km_value":399403130707509.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6451476862292078592,"description":"Unknown IO ID 45"} 
[2026-09-05 09:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877015808001,"power":27908,"unknown_207":206,"unknown_78":63744,"ignition":49,"odometer":null,"unknown_45":6451476862292078592}} 
[2026-09-05 09:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":171694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:52:35] local.INFO: GPS data processed {"connection_id":171694,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:52:35] local.INFO: Acknowledgment sent {"connection_id":171694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:53:06] local.INFO: TCP Data received {"connection_id":174104,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174104,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:53:06] local.INFO: Processing buffer {"connection_id":174104,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:53:06] local.INFO: IMEI packet received {"connection_id":174104,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":174104,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:53:10] local.INFO: TCP Data received {"connection_id":174104,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174104,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:53:10] local.INFO: Processing buffer {"connection_id":174104,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:53:10] local.INFO: IMEI packet received {"connection_id":174104,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":174104,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:53:12] local.INFO: TCP Data received {"connection_id":171695,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:53:12] local.INFO: Processing buffer {"connection_id":171695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:53:12] local.INFO: IMEI packet received {"connection_id":171695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":171695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:53:12] local.INFO: TCP Data received {"connection_id":174104,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fce01d8012d0b6b0007034cf80013012c1e..."} 
[2026-09-05 09:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fce01d8012d0b6b0007034cf80013012c1e..."} 
[2026-09-05 09:53:12] local.INFO: Processing buffer {"connection_id":174104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fce01d8012d0b6b0007034cf80013012c1e..."} 
[2026-09-05 09:53:12] local.INFO: Packet analysis {"connection_id":174104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fce"} 
[2026-09-05 09:53:12] local.INFO: Extracted packet for processing {"connection_id":174104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fce"} 
[2026-09-05 09:53:12] local.INFO: GPS Element Parsed {"raw_longitude":755723008,"raw_latitude":117656824,"longitude_deg":75.5723008,"latitude_deg":11.7656824,"altitude":19,"angle":300,"satellites":30,"speed":9,"hex_longitude":"2d0b6b00","hex_latitude":"07034cf8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877034496001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30332154261012480,"note":"Value kept but may cause issues"} 
[2026-09-05 09:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823032862022066176,"note":"Value kept but may cause issues"} 
[2026-09-05 09:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788582167000,"timestamp_ms":1788582167000,"timestamp_seconds":1788582167,"priority":1,"record_length":96,"hex_timestamp":"000001a06fce01d8"} 
[2026-09-05 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-09-05 09:53: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-09-05 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-05 09:53:12] 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-09-05 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-09-05 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-09-05 09:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174104,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174104,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877034496001,"66":14515,"17":206,"94":11008,"24":9,"16":30332154261012480,"45":823032862022066176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-05 09:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877034496001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:53:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 09:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30332154261012480,"km_value":30332154261012.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":823032862022066176,"description":"Unknown IO ID 45"} 
[2026-09-05 09:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877034496001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":823032862022066176}} 
[2026-09-05 09:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":174104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767865,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:53:12] local.INFO: GPS data processed {"connection_id":174104,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:53:12] local.INFO: Acknowledgment sent {"connection_id":174104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:53:14] local.INFO: TCP Data received {"connection_id":171695,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:53:14] local.INFO: Processing buffer {"connection_id":171695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:53:14] local.INFO: IMEI packet received {"connection_id":171695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":171695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:53:17] local.INFO: TCP Data received {"connection_id":171695,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:53:17] local.INFO: Processing buffer {"connection_id":171695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:53:17] local.INFO: IMEI packet received {"connection_id":171695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":171695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:53:18] local.INFO: TCP Data received {"connection_id":171695,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fcd1b60012d595fc0065d53c0000e00d32d..."} 
[2026-09-05 09:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fcd1b60012d595fc0065d53c0000e00d32d..."} 
[2026-09-05 09:53:18] local.INFO: Processing buffer {"connection_id":171695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fcd1b60012d595fc0065d53c0000e00d32d..."} 
[2026-09-05 09:53:18] local.INFO: Packet analysis {"connection_id":171695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fcd"} 
[2026-09-05 09:53:18] local.INFO: Extracted packet for processing {"connection_id":171695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fcd"} 
[2026-09-05 09:53:18] local.INFO: GPS Element Parsed {"raw_longitude":760831936,"raw_latitude":106779584,"longitude_deg":76.0831936,"latitude_deg":10.6779584,"altitude":14,"angle":211,"satellites":45,"speed":46,"hex_longitude":"2d595fc0","hex_latitude":"065d53c0","is_valid_coordinates":true} 
[2026-09-05 09:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877017600001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399403607448879104,"note":"Value kept but may cause issues"} 
[2026-09-05 09:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6445636256523411456,"note":"Value kept but may cause issues"} 
[2026-09-05 09:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788582108000,"timestamp_ms":1788582108000,"timestamp_seconds":1788582108,"priority":1,"record_length":96,"hex_timestamp":"000001a06fcd1b60"} 
[2026-09-05 09:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 09:53:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":171695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":171695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":171695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877017600001,"66":27995,"207":206,"78":63744,"24":46,"16":399403607448879104,"45":6445636256523411456},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,78,24,16,45]} 
[2026-09-05 09:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877017600001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:53:18] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 09:53:18] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399403607448879104,"km_value":399403607448879.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6445636256523411456,"description":"Unknown IO ID 45"} 
[2026-09-05 09:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877017600001,"power":27995,"unknown_207":206,"unknown_78":63744,"ignition":46,"odometer":null,"unknown_45":6445636256523411456}} 
[2026-09-05 09:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":171695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:53:18] local.INFO: GPS data processed {"connection_id":171695,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:53:18] local.INFO: Acknowledgment sent {"connection_id":171695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:53:43] local.INFO: TCP Data received {"connection_id":174104,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fce1178012d0b688007034e580013011e1e..."} 
[2026-09-05 09:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fce1178012d0b688007034e580013011e1e..."} 
[2026-09-05 09:53:43] local.INFO: Processing buffer {"connection_id":174104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fce1178012d0b688007034e580013011e1e..."} 
[2026-09-05 09:53:43] local.INFO: Packet analysis {"connection_id":174104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fce"} 
[2026-09-05 09:53:43] local.INFO: Extracted packet for processing {"connection_id":174104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fce"} 
[2026-09-05 09:53:43] local.INFO: GPS Element Parsed {"raw_longitude":755722368,"raw_latitude":117657176,"longitude_deg":75.5722368,"latitude_deg":11.7657176,"altitude":19,"angle":286,"satellites":30,"speed":3,"hex_longitude":"2d0b6880","hex_latitude":"07034e58","is_valid_coordinates":true} 
[2026-09-05 09:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877034752001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30332192915718144,"note":"Value kept but may cause issues"} 
[2026-09-05 09:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822751387045394432,"note":"Value kept but may cause issues"} 
[2026-09-05 09:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788582171000,"timestamp_ms":1788582171000,"timestamp_seconds":1788582171,"priority":1,"record_length":96,"hex_timestamp":"000001a06fce1178"} 
[2026-09-05 09:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:53:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-05 09:53:43] 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-09-05 09:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":174104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":174104,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":174104,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877034752001,"66":13722,"17":206,"94":11008,"24":3,"16":30332192915718144,"45":822751387045394432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-05 09:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877034752001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:53:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 09:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30332192915718144,"km_value":30332192915718.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":822751387045394432,"description":"Unknown IO ID 45"} 
[2026-09-05 09:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877034752001,"power":13722,"axis_x":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":822751387045394432}} 
[2026-09-05 09:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":174104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767867,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:53:44] local.INFO: GPS data processed {"connection_id":174104,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:53:44] local.INFO: Acknowledgment sent {"connection_id":174104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:53:58] local.INFO: TCP Data received {"connection_id":174105,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:53:58] local.INFO: Processing buffer {"connection_id":174105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:53:58] local.INFO: IMEI packet received {"connection_id":174105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":174105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:54:02] local.INFO: TCP Data received {"connection_id":174105,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:54:02] local.INFO: Processing buffer {"connection_id":174105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:54:02] local.INFO: IMEI packet received {"connection_id":174105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":174105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:54:05] local.INFO: TCP Data received {"connection_id":171401,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171401,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:54:05] local.INFO: Processing buffer {"connection_id":171401,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:54:05] local.INFO: IMEI packet received {"connection_id":171401,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":171401,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:54:07] local.INFO: TCP Data received {"connection_id":174105,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:54:07] local.INFO: Processing buffer {"connection_id":174105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:54:07] local.INFO: IMEI packet received {"connection_id":174105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":174105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:54:08] local.INFO: TCP Data received {"connection_id":174105,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fcd3aa0012d594b00065d3490000d00d42b..."} 
[2026-09-05 09:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fcd3aa0012d594b00065d3490000d00d42b..."} 
[2026-09-05 09:54:08] local.INFO: Processing buffer {"connection_id":174105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fcd3aa0012d594b00065d3490000d00d42b..."} 
[2026-09-05 09:54:08] local.INFO: Packet analysis {"connection_id":174105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fcd"} 
[2026-09-05 09:54:08] local.INFO: Extracted packet for processing {"connection_id":174105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fcd"} 
[2026-09-05 09:54:08] local.INFO: GPS Element Parsed {"raw_longitude":760826624,"raw_latitude":106771600,"longitude_deg":76.0826624,"latitude_deg":10.67716,"altitude":13,"angle":212,"satellites":43,"speed":47,"hex_longitude":"2d594b00","hex_latitude":"065d3490","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877019648001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399404071305347072,"note":"Value kept but may cause issues"} 
[2026-09-05 09:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6440077125731205120,"note":"Value kept but may cause issues"} 
[2026-09-05 09:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788582116000,"timestamp_ms":1788582116000,"timestamp_seconds":1788582116,"priority":1,"record_length":96,"hex_timestamp":"000001a06fcd3aa0"} 
[2026-09-05 09:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:54:08] 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-09-05 09: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 09:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:54: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-09-05 09:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877019648001,"66":27919,"207":206,"78":63744,"24":47,"16":399404071305347072,"45":6440077125731205120},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,78,24,16,45]} 
[2026-09-05 09:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877019648001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:54:08] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 09:54:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399404071305347072,"km_value":399404071305347.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6440077125731205120,"description":"Unknown IO ID 45"} 
[2026-09-05 09:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877019648001,"power":27919,"unknown_207":206,"unknown_78":63744,"ignition":47,"odometer":null,"unknown_45":6440077125731205120}} 
[2026-09-05 09:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":174105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:54:08] local.INFO: GPS data processed {"connection_id":174105,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:54:08] local.INFO: Acknowledgment sent {"connection_id":174105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:54:09] local.INFO: TCP Data received {"connection_id":174105,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fcd59e0012d593640065d1520000d00d62a..."} 
[2026-09-05 09:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fcd59e0012d593640065d1520000d00d62a..."} 
[2026-09-05 09:54:09] local.INFO: Processing buffer {"connection_id":174105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fcd59e0012d593640065d1520000d00d62a..."} 
[2026-09-05 09:54:09] local.INFO: Packet analysis {"connection_id":174105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fcd"} 
[2026-09-05 09:54:09] local.INFO: Extracted packet for processing {"connection_id":174105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fcd"} 
[2026-09-05 09:54:09] local.INFO: GPS Element Parsed {"raw_longitude":760821312,"raw_latitude":106763552,"longitude_deg":76.0821312,"latitude_deg":10.6763552,"altitude":13,"angle":214,"satellites":42,"speed":46,"hex_longitude":"2d593640","hex_latitude":"065d1520","is_valid_coordinates":true} 
[2026-09-05 09:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877021696001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399404535161815040,"note":"Value kept but may cause issues"} 
[2026-09-05 09:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6434236519962415104,"note":"Value kept but may cause issues"} 
[2026-09-05 09:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788582124000,"timestamp_ms":1788582124000,"timestamp_seconds":1788582124,"priority":1,"record_length":96,"hex_timestamp":"000001a06fcd59e0"} 
[2026-09-05 09:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:54: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-09-05 09:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 09:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":174105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":174105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":174105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:54:09] 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-09-05 09:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877021696001,"66":27876,"207":206,"78":63744,"24":46,"16":399404535161815040,"45":6434236519962415104},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,78,24,16,45]} 
[2026-09-05 09:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877021696001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:54:09] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 09:54:09] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399404535161815040,"km_value":399404535161815.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6434236519962415104,"description":"Unknown IO ID 45"} 
[2026-09-05 09:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877021696001,"power":27876,"unknown_207":206,"unknown_78":63744,"ignition":46,"odometer":null,"unknown_45":6434236519962415104}} 
[2026-09-05 09:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":174105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:54:09] local.INFO: GPS data processed {"connection_id":174105,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:54:09] local.INFO: Acknowledgment sent {"connection_id":174105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:54:10] local.INFO: TCP Data received {"connection_id":171401,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171401,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:54:10] local.INFO: Processing buffer {"connection_id":171401,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:54:10] local.INFO: IMEI packet received {"connection_id":171401,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":171401,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:54:12] local.INFO: TCP Data received {"connection_id":171401,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fce28e8012d0b654007034f00001301111f..."} 
[2026-09-05 09:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fce28e8012d0b654007034f00001301111f..."} 
[2026-09-05 09:54:12] local.INFO: Processing buffer {"connection_id":171401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fce28e8012d0b654007034f00001301111f..."} 
[2026-09-05 09:54:12] local.INFO: Packet analysis {"connection_id":171401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fce"} 
[2026-09-05 09:54:12] local.INFO: Extracted packet for processing {"connection_id":171401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fce"} 
[2026-09-05 09:54:12] local.INFO: GPS Element Parsed {"raw_longitude":755721536,"raw_latitude":117657344,"longitude_deg":75.5721536,"latitude_deg":11.7657344,"altitude":19,"angle":273,"satellites":31,"speed":12,"hex_longitude":"2d0b6540","hex_latitude":"07034f00","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877035776001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30332235865391104,"note":"Value kept but may cause issues"} 
[2026-09-05 09:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822047699603707904,"note":"Value kept but may cause issues"} 
[2026-09-05 09:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788582177000,"timestamp_ms":1788582177000,"timestamp_seconds":1788582177,"priority":1,"record_length":96,"hex_timestamp":"000001a06fce28e8"} 
[2026-09-05 09:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:54:12] 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-09-05 09: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-05 09:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877035776001,"66":14439,"17":206,"94":11008,"24":12,"16":30332235865391104,"45":822047699603707904},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-05 09:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877035776001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:54:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 09:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30332235865391104,"km_value":30332235865391.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":822047699603707904,"description":"Unknown IO ID 45"} 
[2026-09-05 09:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877035776001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":822047699603707904}} 
[2026-09-05 09:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":171401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767870,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:54:12] local.INFO: GPS data processed {"connection_id":171401,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:54:12] local.INFO: Acknowledgment sent {"connection_id":171401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:54:40] local.INFO: TCP Data received {"connection_id":174105,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fcd7920012d5921c0065cf678000d00d52b..."} 
[2026-09-05 09:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fcd7920012d5921c0065cf678000d00d52b..."} 
[2026-09-05 09:54:40] local.INFO: Processing buffer {"connection_id":174105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fcd7920012d5921c0065cf678000d00d52b..."} 
[2026-09-05 09:54:40] local.INFO: Packet analysis {"connection_id":174105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fcd"} 
[2026-09-05 09:54:40] local.INFO: Extracted packet for processing {"connection_id":174105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fcd"} 
[2026-09-05 09:54:40] local.INFO: GPS Element Parsed {"raw_longitude":760816064,"raw_latitude":106755704,"longitude_deg":76.0816064,"latitude_deg":10.6755704,"altitude":13,"angle":213,"satellites":43,"speed":46,"hex_longitude":"2d5921c0","hex_latitude":"065cf678","is_valid_coordinates":true} 
[2026-09-05 09:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877023744001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399404990428348416,"note":"Value kept but may cause issues"} 
[2026-09-05 09:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6428395914193608704,"note":"Value kept but may cause issues"} 
[2026-09-05 09:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788582132000,"timestamp_ms":1788582132000,"timestamp_seconds":1788582132,"priority":1,"record_length":96,"hex_timestamp":"000001a06fcd7920"} 
[2026-09-05 09:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:54: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-09-05 09:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 09:54:40] 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-09-05 09:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":174105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":174105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":174105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:54: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-09-05 09:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877023744001,"66":28050,"207":206,"78":63744,"24":46,"16":399404990428348416,"45":6428395914193608704},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,78,24,16,45]} 
[2026-09-05 09:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877023744001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:54:40] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 09:54:40] local.INFO: Unknown IO ID detected {"io_id":78,"value":63744,"description":"Unknown IO ID 78"} 
[2026-09-05 09:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399404990428348416,"km_value":399404990428348.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":6428395914193608704,"description":"Unknown IO ID 45"} 
[2026-09-05 09:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877023744001,"power":28050,"unknown_207":206,"unknown_78":63744,"ignition":46,"odometer":null,"unknown_45":6428395914193608704}} 
[2026-09-05 09:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":174105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:54:40] local.INFO: GPS data processed {"connection_id":174105,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:54:40] local.INFO: Acknowledgment sent {"connection_id":174105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:54:43] local.INFO: TCP Data received {"connection_id":171401,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fcf9c00012d0b27c007036118000f00c61d..."} 
[2026-09-05 09:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fcf9c00012d0b27c007036118000f00c61d..."} 
[2026-09-05 09:54:43] local.INFO: Processing buffer {"connection_id":171401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fcf9c00012d0b27c007036118000f00c61d..."} 
[2026-09-05 09:54:43] local.INFO: Packet analysis {"connection_id":171401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fcf"} 
[2026-09-05 09:54:43] local.INFO: Extracted packet for processing {"connection_id":171401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fcf"} 
[2026-09-05 09:54:43] local.INFO: GPS Element Parsed {"raw_longitude":755705792,"raw_latitude":117661976,"longitude_deg":75.5705792,"latitude_deg":11.7661976,"altitude":15,"angle":198,"satellites":29,"speed":3,"hex_longitude":"2d0b27c0","hex_latitude":"07036118","is_valid_coordinates":true} 
[2026-09-05 09:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877061120001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30333322492116992,"note":"Value kept but may cause issues"} 
[2026-09-05 09:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803892563607146496,"note":"Value kept but may cause issues"} 
[2026-09-05 09:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788582272000,"timestamp_ms":1788582272000,"timestamp_seconds":1788582272,"priority":1,"record_length":96,"hex_timestamp":"000001a06fcf9c00"} 
[2026-09-05 09:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:54: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-09-05 09:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 09:54:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":171401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":171401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":171401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877061120001,"66":14428,"37":206,"94":11008,"24":3,"16":30333322492116992,"45":803892563607146496},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-05 09:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877061120001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:54:43] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-05 09:54:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 09:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30333322492116992,"km_value":30333322492116.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":803892563607146496,"description":"Unknown IO ID 45"} 
[2026-09-05 09:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877061120001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":803892563607146496}} 
[2026-09-05 09:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":171401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767872,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:54:43] local.INFO: GPS data processed {"connection_id":171401,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:54:43] local.INFO: Acknowledgment sent {"connection_id":171401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:54:57] local.INFO: TCP Data received {"connection_id":171696,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:54:57] local.INFO: Processing buffer {"connection_id":171696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:54:57] local.INFO: IMEI packet received {"connection_id":171696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":171696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:54:57] local.INFO: TCP Data received {"connection_id":171696,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:54:57] local.INFO: Processing buffer {"connection_id":171696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:54:57] local.INFO: IMEI packet received {"connection_id":171696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":171696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:55:02] local.INFO: TCP Data received {"connection_id":171696,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:55:02] local.INFO: Processing buffer {"connection_id":171696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:55:02] local.INFO: IMEI packet received {"connection_id":171696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":171696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:55:04] local.INFO: TCP Data received {"connection_id":171696,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fcf1f00012d584340065ba5d0000d00d42d..."} 
[2026-09-05 09:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fcf1f00012d584340065ba5d0000d00d42d..."} 
[2026-09-05 09:55:04] local.INFO: Processing buffer {"connection_id":171696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fcf1f00012d584340065ba5d0000d00d42d..."} 
[2026-09-05 09:55:04] local.INFO: Packet analysis {"connection_id":171696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fcf"} 
[2026-09-05 09:55:04] local.INFO: Extracted packet for processing {"connection_id":171696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fcf"} 
[2026-09-05 09:55:04] local.INFO: GPS Element Parsed {"raw_longitude":760759104,"raw_latitude":106669520,"longitude_deg":76.0759104,"latitude_deg":10.666952,"altitude":13,"angle":212,"satellites":45,"speed":40,"hex_longitude":"2d584340","hex_latitude":"065ba5d0","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877050880001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399409989770280960,"note":"Value kept but may cause issues"} 
[2026-09-05 09:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6365556625620936704,"note":"Value kept but may cause issues"} 
[2026-09-05 09:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788582240000,"timestamp_ms":1788582240000,"timestamp_seconds":1788582240,"priority":1,"record_length":96,"hex_timestamp":"000001a06fcf1f00"} 
[2026-09-05 09:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:55: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-09-05 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 09:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:55: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-09-05 09:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877050880001,"66":27843,"144":206,"78":62464,"24":40,"16":399409989770280960,"45":6365556625620936704},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,78,24,16,45]} 
[2026-09-05 09:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877050880001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:55:04] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-05 09:55:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 09:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399409989770280960,"km_value":399409989770280.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6365556625620936704,"description":"Unknown IO ID 45"} 
[2026-09-05 09:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877050880001,"power":27843,"unknown_144":206,"unknown_78":62464,"ignition":40,"odometer":null,"unknown_45":6365556625620936704}} 
[2026-09-05 09:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":171696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:55:04] local.INFO: GPS data processed {"connection_id":171696,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:55:04] local.INFO: Acknowledgment sent {"connection_id":171696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:55:05] local.INFO: TCP Data received {"connection_id":171696,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fcf4228012d5830c0065b86f8000c00d32d..."} 
[2026-09-05 09:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fcf4228012d5830c0065b86f8000c00d32d..."} 
[2026-09-05 09:55:05] local.INFO: Processing buffer {"connection_id":171696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fcf4228012d5830c0065b86f8000c00d32d..."} 
[2026-09-05 09:55:05] local.INFO: Packet analysis {"connection_id":171696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fcf"} 
[2026-09-05 09:55:05] local.INFO: Extracted packet for processing {"connection_id":171696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fcf"} 
[2026-09-05 09:55:05] local.INFO: GPS Element Parsed {"raw_longitude":760754368,"raw_latitude":106661624,"longitude_deg":76.0754368,"latitude_deg":10.6661624,"altitude":12,"angle":211,"satellites":45,"speed":39,"hex_longitude":"2d5830c0","hex_latitude":"065b86f8","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877053440001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399410436446879744,"note":"Value kept but may cause issues"} 
[2026-09-05 09:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6359997494828847104,"note":"Value kept but may cause issues"} 
[2026-09-05 09:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788582249000,"timestamp_ms":1788582249000,"timestamp_seconds":1788582249,"priority":1,"record_length":96,"hex_timestamp":"000001a06fcf4228"} 
[2026-09-05 09:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 09:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:55: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-09-05 09:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877053440001,"66":27995,"144":206,"78":62464,"24":39,"16":399410436446879744,"45":6359997494828847104},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,78,24,16,45]} 
[2026-09-05 09:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877053440001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:55:05] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-05 09:55:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 09:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399410436446879744,"km_value":399410436446879.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6359997494828847104,"description":"Unknown IO ID 45"} 
[2026-09-05 09:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877053440001,"power":27995,"unknown_144":206,"unknown_78":62464,"ignition":39,"odometer":null,"unknown_45":6359997494828847104}} 
[2026-09-05 09:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":171696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:55:05] local.INFO: GPS data processed {"connection_id":171696,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:55:05] local.INFO: Acknowledgment sent {"connection_id":171696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:55:08] local.INFO: TCP Data received {"connection_id":171697,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171697,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:55:08] local.INFO: Processing buffer {"connection_id":171697,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:55:08] local.INFO: IMEI packet received {"connection_id":171697,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":171697,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:55:10] local.INFO: TCP Data received {"connection_id":171697,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171697,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:55:10] local.INFO: Processing buffer {"connection_id":171697,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:55:10] local.INFO: IMEI packet received {"connection_id":171697,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":171697,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:55:15] local.INFO: TCP Data received {"connection_id":171697,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171697,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:55:15] local.INFO: Processing buffer {"connection_id":171697,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:55:15] local.INFO: IMEI packet received {"connection_id":171697,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":171697,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:55:17] local.INFO: TCP Data received {"connection_id":171697,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fcf9fe8012d0b27c0070360b8000f00b71d..."} 
[2026-09-05 09:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fcf9fe8012d0b27c0070360b8000f00b71d..."} 
[2026-09-05 09:55:17] local.INFO: Processing buffer {"connection_id":171697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fcf9fe8012d0b27c0070360b8000f00b71d..."} 
[2026-09-05 09:55:17] local.INFO: Packet analysis {"connection_id":171697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fcf"} 
[2026-09-05 09:55:17] local.INFO: Extracted packet for processing {"connection_id":171697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fcf"} 
[2026-09-05 09:55:17] local.INFO: GPS Element Parsed {"raw_longitude":755705792,"raw_latitude":117661880,"longitude_deg":75.5705792,"latitude_deg":11.766188,"altitude":15,"angle":183,"satellites":29,"speed":4,"hex_longitude":"2d0b27c0","hex_latitude":"070360b8","is_valid_coordinates":true} 
[2026-09-05 09:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877061632001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30333326787084288,"note":"Value kept but may cause issues"} 
[2026-09-05 09:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803822194862921728,"note":"Value kept but may cause issues"} 
[2026-09-05 09:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788582273000,"timestamp_ms":1788582273000,"timestamp_seconds":1788582273,"priority":1,"record_length":96,"hex_timestamp":"000001a06fcf9fe8"} 
[2026-09-05 09:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 09:55:17] 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-09-05 09:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":171697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":171697,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":171697,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877061632001,"66":14428,"37":206,"94":11008,"24":4,"16":30333326787084288,"45":803822194862921728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-05 09:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877061632001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:55:17] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-05 09:55:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 09:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30333326787084288,"km_value":30333326787084.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":803822194862921728,"description":"Unknown IO ID 45"} 
[2026-09-05 09:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877061632001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":803822194862921728}} 
[2026-09-05 09:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":171697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767875,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:55:17] local.INFO: GPS data processed {"connection_id":171697,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:55:17] local.INFO: Acknowledgment sent {"connection_id":171697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:55:50] local.INFO: TCP Data received {"connection_id":171697,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd076c0012d0b0740070320b8000a00c920..."} 
[2026-09-05 09:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd076c0012d0b0740070320b8000a00c920..."} 
[2026-09-05 09:55:50] local.INFO: Processing buffer {"connection_id":171697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd076c0012d0b0740070320b8000a00c920..."} 
[2026-09-05 09:55:50] local.INFO: Packet analysis {"connection_id":171697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd0"} 
[2026-09-05 09:55:50] local.INFO: Extracted packet for processing {"connection_id":171697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd0"} 
[2026-09-05 09:55:50] local.INFO: GPS Element Parsed {"raw_longitude":755697472,"raw_latitude":117645496,"longitude_deg":75.5697472,"latitude_deg":11.7645496,"altitude":10,"angle":201,"satellites":32,"speed":29,"hex_longitude":"2d0b0740","hex_latitude":"070320b8","is_valid_coordinates":true} 
[2026-09-05 09:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877075200001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30334233025183744,"note":"Value kept but may cause issues"} 
[2026-09-05 09:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795589051790403584,"note":"Value kept but may cause issues"} 
[2026-09-05 09:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788582328000,"timestamp_ms":1788582328000,"timestamp_seconds":1788582328,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd076c0"} 
[2026-09-05 09:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-05 09:55:50] 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-09-05 09:55:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171697,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171697,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877075200001,"66":14450,"37":206,"94":11008,"24":29,"16":30334233025183744,"45":795589051790403584},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-05 09:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877075200001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:55:50] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-05 09:55:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 09:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30334233025183744,"km_value":30334233025183.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":795589051790403584,"description":"Unknown IO ID 45"} 
[2026-09-05 09:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877075200001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":29,"odometer":null,"unknown_45":795589051790403584}} 
[2026-09-05 09:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":171697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767876,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:55:50] local.INFO: GPS data processed {"connection_id":171697,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:55:50] local.INFO: Acknowledgment sent {"connection_id":171697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:55:54] local.INFO: TCP Data received {"connection_id":172806,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:55:54] local.INFO: Processing buffer {"connection_id":172806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:55:54] local.INFO: IMEI packet received {"connection_id":172806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":172806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:55:57] local.INFO: TCP Data received {"connection_id":172806,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:55:57] local.INFO: Processing buffer {"connection_id":172806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:55:57] local.INFO: IMEI packet received {"connection_id":172806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":172806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:56:02] local.INFO: TCP Data received {"connection_id":172806,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:56:02] local.INFO: Processing buffer {"connection_id":172806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:56:02] local.INFO: IMEI packet received {"connection_id":172806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":172806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:56:03] local.INFO: TCP Data received {"connection_id":172806,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fcf6550012d581d40065b6728000c00d32c..."} 
[2026-09-05 09:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fcf6550012d581d40065b6728000c00d32c..."} 
[2026-09-05 09:56:03] local.INFO: Processing buffer {"connection_id":172806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fcf6550012d581d40065b6728000c00d32c..."} 
[2026-09-05 09:56:03] local.INFO: Packet analysis {"connection_id":172806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fcf"} 
[2026-09-05 09:56:03] local.INFO: Extracted packet for processing {"connection_id":172806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fcf"} 
[2026-09-05 09:56:03] local.INFO: GPS Element Parsed {"raw_longitude":760749376,"raw_latitude":106653480,"longitude_deg":76.0749376,"latitude_deg":10.665348,"altitude":12,"angle":211,"satellites":44,"speed":44,"hex_longitude":"2d581d40","hex_latitude":"065b6728","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877055744001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399410896008380416,"note":"Value kept but may cause issues"} 
[2026-09-05 09:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6354790207757678592,"note":"Value kept but may cause issues"} 
[2026-09-05 09:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788582258000,"timestamp_ms":1788582258000,"timestamp_seconds":1788582258,"priority":1,"record_length":96,"hex_timestamp":"000001a06fcf6550"} 
[2026-09-05 09:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:56: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-09-05 09: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 09:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:56: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-09-05 09:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877055744001,"66":27908,"144":206,"78":62464,"24":44,"16":399410896008380416,"45":6354790207757678592},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,78,24,16,45]} 
[2026-09-05 09:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877055744001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:56:03] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-05 09:56:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 09:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399410896008380416,"km_value":399410896008380.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6354790207757678592,"description":"Unknown IO ID 45"} 
[2026-09-05 09:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877055744001,"power":27908,"unknown_144":206,"unknown_78":62464,"ignition":44,"odometer":null,"unknown_45":6354790207757678592}} 
[2026-09-05 09:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":172806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:56:03] local.INFO: GPS data processed {"connection_id":172806,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:56:03] local.INFO: Acknowledgment sent {"connection_id":172806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:56:05] local.INFO: TCP Data received {"connection_id":174106,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174106,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:56:05] local.INFO: Processing buffer {"connection_id":174106,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:56:05] local.INFO: IMEI packet received {"connection_id":174106,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":174106,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:56:07] local.INFO: TCP Data received {"connection_id":174106,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174106,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:56:07] local.INFO: Processing buffer {"connection_id":174106,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:56:07] local.INFO: IMEI packet received {"connection_id":174106,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":174106,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:56:14] local.INFO: TCP Data received {"connection_id":174106,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174106,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:56:14] local.INFO: Processing buffer {"connection_id":174106,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:56:14] local.INFO: IMEI packet received {"connection_id":174106,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 09:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":174106,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:56:14] local.INFO: TCP Data received {"connection_id":174106,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd0a1b8012d0afc000702ff98000900c920..."} 
[2026-09-05 09:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd0a1b8012d0afc000702ff98000900c920..."} 
[2026-09-05 09:56:14] local.INFO: Processing buffer {"connection_id":174106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd0a1b8012d0afc000702ff98000900c920..."} 
[2026-09-05 09:56:14] local.INFO: Packet analysis {"connection_id":174106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd0"} 
[2026-09-05 09:56:14] local.INFO: Extracted packet for processing {"connection_id":174106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd0"} 
[2026-09-05 09:56:14] local.INFO: GPS Element Parsed {"raw_longitude":755694592,"raw_latitude":117637016,"longitude_deg":75.5694592,"latitude_deg":11.7637016,"altitude":9,"angle":201,"satellites":32,"speed":29,"hex_longitude":"2d0afc00","hex_latitude":"0702ff98","is_valid_coordinates":true} 
[2026-09-05 09:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877075968001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30334666816880640,"note":"Value kept but may cause issues"} 
[2026-09-05 09:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":794674258115606528,"note":"Value kept but may cause issues"} 
[2026-09-05 09:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788582339000,"timestamp_ms":1788582339000,"timestamp_seconds":1788582339,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd0a1b8"} 
[2026-09-05 09:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:56:14] 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-09-05 09:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-05 09:56:14] 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-09-05 09:56:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":174106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":174106,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":174106,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877075968001,"66":14537,"37":206,"94":11008,"24":29,"16":30334666816880640,"45":794674258115606528},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-05 09:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877075968001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:56:14] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-05 09:56:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 09:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30334666816880640,"km_value":30334666816880.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":794674258115606528,"description":"Unknown IO ID 45"} 
[2026-09-05 09:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877075968001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":29,"odometer":null,"unknown_45":794674258115606528}} 
[2026-09-05 09:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":174106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767878,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:56:15] local.INFO: GPS data processed {"connection_id":174106,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:56:15] local.INFO: Acknowledgment sent {"connection_id":174106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:56:16] local.INFO: TCP Data received {"connection_id":174106,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd0b540012d0af9800702f630000900bd1e..."} 
[2026-09-05 09:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd0b540012d0af9800702f630000900bd1e..."} 
[2026-09-05 09:56:16] local.INFO: Processing buffer {"connection_id":174106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd0b540012d0af9800702f630000900bd1e..."} 
[2026-09-05 09:56:16] local.INFO: Packet analysis {"connection_id":174106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd0"} 
[2026-09-05 09:56:16] local.INFO: Extracted packet for processing {"connection_id":174106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd0"} 
[2026-09-05 09:56:16] local.INFO: GPS Element Parsed {"raw_longitude":755693952,"raw_latitude":117634608,"longitude_deg":75.5693952,"latitude_deg":11.7634608,"altitude":9,"angle":189,"satellites":30,"speed":16,"hex_longitude":"2d0af980","hex_latitude":"0702f630","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877078784001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30334787075964928,"note":"Value kept but may cause issues"} 
[2026-09-05 09:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791507664625440768,"note":"Value kept but may cause issues"} 
[2026-09-05 09:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788582344000,"timestamp_ms":1788582344000,"timestamp_seconds":1788582344,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd0b540"} 
[2026-09-05 09:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-05 09:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":174106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":174106,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":174106,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877078784001,"66":14439,"37":206,"94":11008,"24":16,"16":30334787075964928,"45":791507664625440768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-05 09:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877078784001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:56:16] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-05 09:56:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 09:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30334787075964928,"km_value":30334787075964.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":791507664625440768,"description":"Unknown IO ID 45"} 
[2026-09-05 09:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877078784001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":791507664625440768}} 
[2026-09-05 09:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":174106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767879,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:56:16] local.INFO: GPS data processed {"connection_id":174106,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:56:16] local.INFO: Acknowledgment sent {"connection_id":174106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:56:36] local.INFO: TCP Data received {"connection_id":172806,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fcf8490012d580b00065b4768000b00cf2c..."} 
[2026-09-05 09:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fcf8490012d580b00065b4768000b00cf2c..."} 
[2026-09-05 09:56:36] local.INFO: Processing buffer {"connection_id":172806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fcf8490012d580b00065b4768000b00cf2c..."} 
[2026-09-05 09:56:36] local.INFO: Packet analysis {"connection_id":172806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fcf"} 
[2026-09-05 09:56:36] local.INFO: Extracted packet for processing {"connection_id":172806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fcf"} 
[2026-09-05 09:56:36] local.INFO: GPS Element Parsed {"raw_longitude":760744704,"raw_latitude":106645352,"longitude_deg":76.0744704,"latitude_deg":10.6645352,"altitude":11,"angle":207,"satellites":44,"speed":47,"hex_longitude":"2d580b00","hex_latitude":"065b4768","is_valid_coordinates":true} 
[2026-09-05 09:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877058048001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399411351274913792,"note":"Value kept but may cause issues"} 
[2026-09-05 09:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6349301445709735936,"note":"Value kept but may cause issues"} 
[2026-09-05 09:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788582266000,"timestamp_ms":1788582266000,"timestamp_seconds":1788582266,"priority":1,"record_length":96,"hex_timestamp":"000001a06fcf8490"} 
[2026-09-05 09:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 09:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:56: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-09-05 09:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877058048001,"66":27919,"144":206,"78":62464,"24":47,"16":399411351274913792,"45":6349301445709735936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,78,24,16,45]} 
[2026-09-05 09:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877058048001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:56:36] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-05 09:56:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 09:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399411351274913792,"km_value":399411351274913.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6349301445709735936,"description":"Unknown IO ID 45"} 
[2026-09-05 09:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877058048001,"power":27919,"unknown_144":206,"unknown_78":62464,"ignition":47,"odometer":null,"unknown_45":6349301445709735936}} 
[2026-09-05 09:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":172806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:56:36] local.INFO: GPS data processed {"connection_id":172806,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:56:36] local.INFO: Acknowledgment sent {"connection_id":172806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:56:57] local.INFO: TCP Data received {"connection_id":171698,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:56:57] local.INFO: Processing buffer {"connection_id":171698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:56:57] local.INFO: IMEI packet received {"connection_id":171698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":171698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:56:59] local.INFO: TCP Data received {"connection_id":174106,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd18c18012d0b00400702be10000f00b21f..."} 
[2026-09-05 09:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd18c18012d0b00400702be10000f00b21f..."} 
[2026-09-05 09:56:59] local.INFO: Processing buffer {"connection_id":174106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd18c18012d0b00400702be10000f00b21f..."} 
[2026-09-05 09:56:59] local.INFO: Packet analysis {"connection_id":174106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd1"} 
[2026-09-05 09:56:59] local.INFO: Extracted packet for processing {"connection_id":174106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd1"} 
[2026-09-05 09:56:59] local.INFO: GPS Element Parsed {"raw_longitude":755695680,"raw_latitude":117620240,"longitude_deg":75.569568,"latitude_deg":11.762024,"altitude":15,"angle":178,"satellites":31,"speed":14,"hex_longitude":"2d0b0040","hex_latitude":"0702be10","is_valid_coordinates":true} 
[2026-09-05 09:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877093376001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30335689019097088,"note":"Value kept but may cause issues"} 
[2026-09-05 09:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":792774302016585728,"note":"Value kept but may cause issues"} 
[2026-09-05 09:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788582399000,"timestamp_ms":1788582399000,"timestamp_seconds":1788582399,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd18c18"} 
[2026-09-05 09:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 09:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-05 09:56:59] 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-09-05 09:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 09:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174106,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174106,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 09:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 09:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 09:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877093376001,"66":14439,"17":206,"94":11008,"24":14,"16":30335689019097088,"45":792774302016585728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-05 09:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 09:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 09:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877093376001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:56:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 09:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30335689019097088,"km_value":30335689019097.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":792774302016585728,"description":"Unknown IO ID 45"} 
[2026-09-05 09:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877093376001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":792774302016585728}} 
[2026-09-05 09:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":174106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767881,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:57:00] local.INFO: GPS data processed {"connection_id":174106,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:57:00] local.INFO: Acknowledgment sent {"connection_id":174106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:57:02] local.INFO: TCP Data received {"connection_id":171698,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:57:02] local.INFO: Processing buffer {"connection_id":171698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:57:02] local.INFO: IMEI packet received {"connection_id":171698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":171698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:57:03] local.INFO: TCP Data received {"connection_id":171698,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fcfa3d0012d57f8c0065b26d0000b00d22e..."} 
[2026-09-05 09:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fcfa3d0012d57f8c0065b26d0000b00d22e..."} 
[2026-09-05 09:57:03] local.INFO: Processing buffer {"connection_id":171698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fcfa3d0012d57f8c0065b26d0000b00d22e..."} 
[2026-09-05 09:57:03] local.INFO: Packet analysis {"connection_id":171698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fcf"} 
[2026-09-05 09:57:03] local.INFO: Extracted packet for processing {"connection_id":171698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fcf"} 
[2026-09-05 09:57:03] local.INFO: GPS Element Parsed {"raw_longitude":760740032,"raw_latitude":106637008,"longitude_deg":76.0740032,"latitude_deg":10.6637008,"altitude":11,"angle":210,"satellites":46,"speed":46,"hex_longitude":"2d57f8c0","hex_latitude":"065b26d0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877060096001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399411810836414464,"note":"Value kept but may cause issues"} 
[2026-09-05 09:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6344164527382685696,"note":"Value kept but may cause issues"} 
[2026-09-05 09:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788582274000,"timestamp_ms":1788582274000,"timestamp_seconds":1788582274,"priority":1,"record_length":96,"hex_timestamp":"000001a06fcfa3d0"} 
[2026-09-05 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-09-05 09:57: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-09-05 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 09:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 09:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:57: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-09-05 09:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877060096001,"66":27821,"144":206,"78":62464,"24":46,"16":399411810836414464,"45":6344164527382685696},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,78,24,16,45]} 
[2026-09-05 09:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877060096001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:57:03] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-05 09:57:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 09:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399411810836414464,"km_value":399411810836414.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6344164527382685696,"description":"Unknown IO ID 45"} 
[2026-09-05 09:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877060096001,"power":27821,"unknown_144":206,"unknown_78":62464,"ignition":46,"odometer":null,"unknown_45":6344164527382685696}} 
[2026-09-05 09:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":171698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:57:03] local.INFO: GPS data processed {"connection_id":171698,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:57:03] local.INFO: Acknowledgment sent {"connection_id":171698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:57:22] local.INFO: TCP Data received {"connection_id":171402,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171402,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:57:22] local.INFO: Processing buffer {"connection_id":171402,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 09:57:22] local.INFO: IMEI packet received {"connection_id":171402,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 09:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":171402,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:57:34] local.INFO: TCP Data received {"connection_id":171698,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd1c2c8012d5772800659b170002100692c..."} 
[2026-09-05 09:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd1c2c8012d5772800659b170002100692c..."} 
[2026-09-05 09:57:34] local.INFO: Processing buffer {"connection_id":171698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd1c2c8012d5772800659b170002100692c..."} 
[2026-09-05 09:57:34] local.INFO: Packet analysis {"connection_id":171698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd1"} 
[2026-09-05 09:57:34] local.INFO: Extracted packet for processing {"connection_id":171698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd1"} 
[2026-09-05 09:57:34] local.INFO: GPS Element Parsed {"raw_longitude":760705664,"raw_latitude":106541424,"longitude_deg":76.0705664,"latitude_deg":10.6541424,"altitude":33,"angle":105,"satellites":44,"speed":14,"hex_longitude":"2d577280","hex_latitude":"0659b170","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877093120001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399417454423441408,"note":"Value kept but may cause issues"} 
[2026-09-05 09:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6291599075455221760,"note":"Value kept but may cause issues"} 
[2026-09-05 09:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788582413000,"timestamp_ms":1788582413000,"timestamp_seconds":1788582413,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd1c2c8"} 
[2026-09-05 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-09-05 09:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 09:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 09:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:57:34] 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-09-05 09:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877093120001,"66":27484,"12":206,"78":62464,"24":14,"16":399417454423441408,"45":6291599075455221760},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,78,24,16,45]} 
[2026-09-05 09:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877093120001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:57:34] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 09:57:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 09:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399417454423441408,"km_value":399417454423441.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6291599075455221760,"description":"Unknown IO ID 45"} 
[2026-09-05 09:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877093120001,"power":27484,"unknown_12":206,"unknown_78":62464,"ignition":14,"odometer":null,"unknown_45":6291599075455221760}} 
[2026-09-05 09:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":171698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:57:34] local.INFO: GPS data processed {"connection_id":171698,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:57:34] local.INFO: Acknowledgment sent {"connection_id":171698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:57:56] local.INFO: TCP Data received {"connection_id":172807,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:57:56] local.INFO: Processing buffer {"connection_id":172807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:57:56] local.INFO: IMEI packet received {"connection_id":172807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":172807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:58:02] local.INFO: TCP Data received {"connection_id":172807,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:58:02] local.INFO: Processing buffer {"connection_id":172807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:58:02] local.INFO: IMEI packet received {"connection_id":172807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":172807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:58:03] local.INFO: TCP Data received {"connection_id":172807,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd1c6b0012d5773800659b0d80021007b2c..."} 
[2026-09-05 09:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd1c6b0012d5773800659b0d80021007b2c..."} 
[2026-09-05 09:58:03] local.INFO: Processing buffer {"connection_id":172807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd1c6b0012d5773800659b0d80021007b2c..."} 
[2026-09-05 09:58:03] local.INFO: Packet analysis {"connection_id":172807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd1"} 
[2026-09-05 09:58:03] local.INFO: Extracted packet for processing {"connection_id":172807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd1"} 
[2026-09-05 09:58:03] local.INFO: GPS Element Parsed {"raw_longitude":760705920,"raw_latitude":106541272,"longitude_deg":76.070592,"latitude_deg":10.6541272,"altitude":33,"angle":123,"satellites":44,"speed":11,"hex_longitude":"2d577380","hex_latitude":"0659b0d8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877097728001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399417471603310592,"note":"Value kept but may cause issues"} 
[2026-09-05 09:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6301239593407705088,"note":"Value kept but may cause issues"} 
[2026-09-05 09:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788582414000,"timestamp_ms":1788582414000,"timestamp_seconds":1788582414,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd1c6b0"} 
[2026-09-05 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-09-05 09:58: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-09-05 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 09:58: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-09-05 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-09-05 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-09-05 09:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:58: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-09-05 09:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877097728001,"66":27865,"12":206,"78":62464,"24":11,"16":399417471603310592,"45":6301239593407705088},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,78,24,16,45]} 
[2026-09-05 09:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877097728001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:58:03] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 09:58:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 09:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399417471603310592,"km_value":399417471603310.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6301239593407705088,"description":"Unknown IO ID 45"} 
[2026-09-05 09:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877097728001,"power":27865,"unknown_12":206,"unknown_78":62464,"ignition":11,"odometer":null,"unknown_45":6301239593407705088}} 
[2026-09-05 09:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":172807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:58:03] local.INFO: GPS data processed {"connection_id":172807,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:58:03] local.INFO: Acknowledgment sent {"connection_id":172807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:58:34] local.INFO: TCP Data received {"connection_id":172807,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd1ca98012d5774400659afe8002000912b..."} 
[2026-09-05 09:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd1ca98012d5774400659afe8002000912b..."} 
[2026-09-05 09:58:34] local.INFO: Processing buffer {"connection_id":172807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd1ca98012d5774400659afe8002000912b..."} 
[2026-09-05 09:58:34] local.INFO: Packet analysis {"connection_id":172807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd1"} 
[2026-09-05 09:58:34] local.INFO: Extracted packet for processing {"connection_id":172807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd1"} 
[2026-09-05 09:58:34] local.INFO: GPS Element Parsed {"raw_longitude":760706112,"raw_latitude":106541032,"longitude_deg":76.0706112,"latitude_deg":10.6541032,"altitude":32,"angle":145,"satellites":43,"speed":12,"hex_longitude":"2d577440","hex_latitude":"0659afe8","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877097984001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399417484488212480,"note":"Value kept but may cause issues"} 
[2026-09-05 09:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6301521068384376832,"note":"Value kept but may cause issues"} 
[2026-09-05 09:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788582415000,"timestamp_ms":1788582415000,"timestamp_seconds":1788582415,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd1ca98"} 
[2026-09-05 09:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:58: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-09-05 09:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 09:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:58:34] 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-09-05 09:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877097984001,"66":27865,"12":206,"78":62464,"24":12,"16":399417484488212480,"45":6301521068384376832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,78,24,16,45]} 
[2026-09-05 09:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877097984001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:58:34] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 09:58:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 09:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399417484488212480,"km_value":399417484488212.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6301521068384376832,"description":"Unknown IO ID 45"} 
[2026-09-05 09:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877097984001,"power":27865,"unknown_12":206,"unknown_78":62464,"ignition":12,"odometer":null,"unknown_45":6301521068384376832}} 
[2026-09-05 09:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":172807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:58:34] local.INFO: GPS data processed {"connection_id":172807,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:58:34] local.INFO: Acknowledgment sent {"connection_id":172807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:58:57] local.INFO: TCP Data received {"connection_id":171403,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:58:57] local.INFO: Processing buffer {"connection_id":171403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:58:57] local.INFO: IMEI packet received {"connection_id":171403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":171403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:59:02] local.INFO: TCP Data received {"connection_id":171403,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:59:02] local.INFO: Processing buffer {"connection_id":171403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:59:02] local.INFO: IMEI packet received {"connection_id":171403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 09:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":171403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:59:06] local.INFO: TCP Data received {"connection_id":171403,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd1ce80012d5774800659aeb8001f009d2b..."} 
[2026-09-05 09:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd1ce80012d5774800659aeb8001f009d2b..."} 
[2026-09-05 09:59:06] local.INFO: Processing buffer {"connection_id":171403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd1ce80012d5774800659aeb8001f009d2b..."} 
[2026-09-05 09:59:06] local.INFO: Packet analysis {"connection_id":171403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd1"} 
[2026-09-05 09:59:06] local.INFO: Extracted packet for processing {"connection_id":171403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd1"} 
[2026-09-05 09:59:06] local.INFO: GPS Element Parsed {"raw_longitude":760706176,"raw_latitude":106540728,"longitude_deg":76.0706176,"latitude_deg":10.6540728,"altitude":31,"angle":157,"satellites":43,"speed":12,"hex_longitude":"2d577480","hex_latitude":"0659aeb8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 09:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877098240001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399417501668081664,"note":"Value kept but may cause issues"} 
[2026-09-05 09:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6301732174616848384,"note":"Value kept but may cause issues"} 
[2026-09-05 09:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788582416000,"timestamp_ms":1788582416000,"timestamp_seconds":1788582416,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd1ce80"} 
[2026-09-05 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-09-05 09:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 09:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 09:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 09:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877098240001,"66":27908,"12":206,"78":62464,"24":12,"16":399417501668081664,"45":6301732174616848384},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,78,24,16,45]} 
[2026-09-05 09:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877098240001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:59:06] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 09:59:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 09:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399417501668081664,"km_value":399417501668081.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6301732174616848384,"description":"Unknown IO ID 45"} 
[2026-09-05 09:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877098240001,"power":27908,"unknown_12":206,"unknown_78":62464,"ignition":12,"odometer":null,"unknown_45":6301732174616848384}} 
[2026-09-05 09:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":171403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:59:06] local.INFO: GPS data processed {"connection_id":171403,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:59:06] local.INFO: Acknowledgment sent {"connection_id":171403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:59:23] local.INFO: TCP Data received {"connection_id":171404,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 09:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 09:59:23] local.INFO: Processing buffer {"connection_id":171404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 09:59:23] local.INFO: IMEI packet received {"connection_id":171404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 09:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":171404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 09:59:24] local.INFO: TCP Data received {"connection_id":171404,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 09:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 09:59:24] local.INFO: Processing buffer {"connection_id":171404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 09:59:24] local.INFO: IMEI packet received {"connection_id":171404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 09:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":171404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:59:28] local.INFO: TCP Data received {"connection_id":171404,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 09:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 09:59:28] local.INFO: Processing buffer {"connection_id":171404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 09:59:28] local.INFO: IMEI packet received {"connection_id":171404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 09:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":171404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 09:59:29] local.INFO: TCP Data received {"connection_id":171404,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-05 09:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171404,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-05 09:59:29] local.INFO: Processing buffer {"connection_id":171404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-05 09:59:29] local.INFO: Packet analysis {"connection_id":171404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-05 09:59:29] local.INFO: Extracted packet for processing {"connection_id":171404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-05 09:59:29] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 09:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 09:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-05 09:59:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 09:59:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":48000,"timestamp_seconds":48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 09:59:29] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 09:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":171404,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":171404,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-05 09:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":171404,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-05 09:59:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 09:59:29] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 09:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":171404,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 09:59:29] local.ERROR: GPS data processing failed {"connection_id":171404,"error":"No valid data to process"} 
[2026-09-05 09:59:29] local.INFO: Acknowledgment sent {"connection_id":171404,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 09:59:38] local.INFO: TCP Data received {"connection_id":171403,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd1d268012d5774800659ad70001e00a92b..."} 
[2026-09-05 09:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd1d268012d5774800659ad70001e00a92b..."} 
[2026-09-05 09:59:38] local.INFO: Processing buffer {"connection_id":171403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd1d268012d5774800659ad70001e00a92b..."} 
[2026-09-05 09:59:38] local.INFO: Packet analysis {"connection_id":171403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd1"} 
[2026-09-05 09:59:38] local.INFO: Extracted packet for processing {"connection_id":171403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd1"} 
[2026-09-05 09:59:38] local.INFO: GPS Element Parsed {"raw_longitude":760706176,"raw_latitude":106540400,"longitude_deg":76.0706176,"latitude_deg":10.65404,"altitude":30,"angle":169,"satellites":43,"speed":12,"hex_longitude":"2d577480","hex_latitude":"0659ad70","is_valid_coordinates":true} 
[2026-09-05 09: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-09-05 09:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877098496001,"note":"Value kept but may cause issues"} 
[2026-09-05 09:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399417518847950848,"note":"Value kept but may cause issues"} 
[2026-09-05 09:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6301802543360948224,"note":"Value kept but may cause issues"} 
[2026-09-05 09:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 09:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788582417000,"timestamp_ms":1788582417000,"timestamp_seconds":1788582417,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd1d268"} 
[2026-09-05 09:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 09:59: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-09-05 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 09:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 09: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-09-05 09:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 09:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 09:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 09:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 09:59: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-09-05 09:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 09:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 09:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877098496001,"66":27908,"12":206,"78":62464,"24":12,"16":399417518847950848,"45":6301802543360948224},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,78,24,16,45]} 
[2026-09-05 09:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 09:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 09:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877098496001,"description":"Unknown IO ID 0"} 
[2026-09-05 09:59:38] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 09:59:38] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 09:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399417518847950848,"km_value":399417518847950.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 09:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6301802543360948224,"description":"Unknown IO ID 45"} 
[2026-09-05 09:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877098496001,"power":27908,"unknown_12":206,"unknown_78":62464,"ignition":12,"odometer":null,"unknown_45":6301802543360948224}} 
[2026-09-05 09:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":171403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 09:59:38] local.INFO: GPS data processed {"connection_id":171403,"processed":1,"errors":0,"total":1} 
[2026-09-05 09:59:38] local.INFO: Acknowledgment sent {"connection_id":171403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 09:59:57] local.INFO: TCP Data received {"connection_id":171405,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:59:57] local.INFO: Processing buffer {"connection_id":171405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 09:59:57] local.INFO: IMEI packet received {"connection_id":171405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 09:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":171405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:00:00] local.INFO: TCP Data received {"connection_id":171404,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-09-05 10:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-09-05 10:00:00] local.INFO: Processing buffer {"connection_id":171404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-09-05 10:00:00] local.INFO: Packet analysis {"connection_id":171404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-05 10:00:00] local.INFO: Extracted packet for processing {"connection_id":171404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-05 10:00:00] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 10:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-05 10:00:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 10:00:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":69000,"timestamp_seconds":69,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 10:00:00] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 10:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171404,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171404,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-05 10:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171404,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-05 10:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 10:00:00] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 10:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":171404,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 10:00:00] local.ERROR: GPS data processing failed {"connection_id":171404,"error":"No valid data to process"} 
[2026-09-05 10:00:00] local.INFO: Acknowledgment sent {"connection_id":171404,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 10:00:02] local.INFO: TCP Data received {"connection_id":171405,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:00:02] local.INFO: Processing buffer {"connection_id":171405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:00:02] local.INFO: IMEI packet received {"connection_id":171405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":171405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:00:03] local.INFO: TCP Data received {"connection_id":171405,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd20d00012d577b4006599460001400b62d..."} 
[2026-09-05 10:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd20d00012d577b4006599460001400b62d..."} 
[2026-09-05 10:00:03] local.INFO: Processing buffer {"connection_id":171405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd20d00012d577b4006599460001400b62d..."} 
[2026-09-05 10:00:03] local.INFO: Packet analysis {"connection_id":171405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd2"} 
[2026-09-05 10:00:03] local.INFO: Extracted packet for processing {"connection_id":171405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd2"} 
[2026-09-05 10:00:03] local.INFO: GPS Element Parsed {"raw_longitude":760707904,"raw_latitude":106533984,"longitude_deg":76.0707904,"latitude_deg":10.6533984,"altitude":20,"angle":182,"satellites":45,"speed":15,"hex_longitude":"2d577b40","hex_latitude":"06599460","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877098752001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399417840970498048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6301802543360864256,"note":"Value kept but may cause issues"} 
[2026-09-05 10:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788582432000,"timestamp_ms":1788582432000,"timestamp_seconds":1788582432,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd20d00"} 
[2026-09-05 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-09-05 10:00: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-09-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 10:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 10:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:00: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-09-05 10:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877098752001,"66":28050,"12":206,"78":62464,"24":15,"16":399417840970498048,"45":6301802543360864256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,78,24,16,45]} 
[2026-09-05 10:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877098752001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:00:03] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 10:00:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399417840970498048,"km_value":399417840970498.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6301802543360864256,"description":"Unknown IO ID 45"} 
[2026-09-05 10:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877098752001,"power":28050,"unknown_12":206,"unknown_78":62464,"ignition":15,"odometer":null,"unknown_45":6301802543360864256}} 
[2026-09-05 10:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":171405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:00:03] local.INFO: GPS data processed {"connection_id":171405,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:00:03] local.INFO: Acknowledgment sent {"connection_id":171405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:00:32] local.INFO: TCP Data received {"connection_id":171404,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd4b0c80100000000000000000000000000..."} 
[2026-09-05 10:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd4b0c80100000000000000000000000000..."} 
[2026-09-05 10:00:32] local.INFO: Processing buffer {"connection_id":171404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd4b0c80100000000000000000000000000..."} 
[2026-09-05 10:00:32] local.INFO: Packet analysis {"connection_id":171404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd4"} 
[2026-09-05 10:00:32] local.INFO: Extracted packet for processing {"connection_id":171404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd4"} 
[2026-09-05 10:00: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-09-05 10:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-05 10:00:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 10:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788582605000,"timestamp_ms":1788582605000,"timestamp_seconds":1788582605,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd4b0c8"} 
[2026-09-05 10:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-05 10:00: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-09-05 10:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:00: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-09-05 10:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":171404,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 10:00:32] local.INFO: GPS data processed {"connection_id":171404,"processed":0,"errors":0,"total":1} 
[2026-09-05 10:00:32] local.INFO: Acknowledgment sent {"connection_id":171404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:00:35] local.INFO: TCP Data received {"connection_id":171405,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd210e8012d577b00065992e0001300cc2d..."} 
[2026-09-05 10:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd210e8012d577b00065992e0001300cc2d..."} 
[2026-09-05 10:00:35] local.INFO: Processing buffer {"connection_id":171405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd210e8012d577b00065992e0001300cc2d..."} 
[2026-09-05 10:00:35] local.INFO: Packet analysis {"connection_id":171405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd2"} 
[2026-09-05 10:00:35] local.INFO: Extracted packet for processing {"connection_id":171405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd2"} 
[2026-09-05 10:00:35] local.INFO: GPS Element Parsed {"raw_longitude":760707840,"raw_latitude":106533600,"longitude_deg":76.070784,"latitude_deg":10.65336,"altitude":19,"angle":204,"satellites":45,"speed":15,"hex_longitude":"2d577b00","hex_latitude":"065992e0","is_valid_coordinates":true} 
[2026-09-05 10:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877102592001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399417858150367232,"note":"Value kept but may cause issues"} 
[2026-09-05 10:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6303702499452018688,"note":"Value kept but may cause issues"} 
[2026-09-05 10:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788582433000,"timestamp_ms":1788582433000,"timestamp_seconds":1788582433,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd210e8"} 
[2026-09-05 10:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:00: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-09-05 10:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 10:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:00:35] 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-09-05 10:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877102592001,"66":28050,"12":206,"78":62464,"24":15,"16":399417858150367232,"45":6303702499452018688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,78,24,16,45]} 
[2026-09-05 10:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877102592001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:00:35] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 10:00:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399417858150367232,"km_value":399417858150367.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6303702499452018688,"description":"Unknown IO ID 45"} 
[2026-09-05 10:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877102592001,"power":28050,"unknown_12":206,"unknown_78":62464,"ignition":15,"odometer":null,"unknown_45":6303702499452018688}} 
[2026-09-05 10:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":171405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:00:35] local.INFO: GPS data processed {"connection_id":171405,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:00:35] local.INFO: Acknowledgment sent {"connection_id":171405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:00:56] local.INFO: TCP Data received {"connection_id":172808,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:00:56] local.INFO: Processing buffer {"connection_id":172808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:00:56] local.INFO: IMEI packet received {"connection_id":172808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":172808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:01:01] local.INFO: TCP Data received {"connection_id":172808,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:01:01] local.INFO: Processing buffer {"connection_id":172808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:01:01] local.INFO: IMEI packet received {"connection_id":172808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":172808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:01:03] local.INFO: TCP Data received {"connection_id":171404,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd502d00100000000000000000000000000..."} 
[2026-09-05 10:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd502d00100000000000000000000000000..."} 
[2026-09-05 10:01:03] local.INFO: Processing buffer {"connection_id":171404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd502d00100000000000000000000000000..."} 
[2026-09-05 10:01:03] local.INFO: Packet analysis {"connection_id":171404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd5"} 
[2026-09-05 10:01:03] local.INFO: Extracted packet for processing {"connection_id":171404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd5"} 
[2026-09-05 10:01:03] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-05 10:01:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 10:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788582626000,"timestamp_ms":1788582626000,"timestamp_seconds":1788582626,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd502d0"} 
[2026-09-05 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-09-05 10:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 10:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 10:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:01: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-09-05 10:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":171404,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 10:01:03] local.INFO: GPS data processed {"connection_id":171404,"processed":0,"errors":0,"total":1} 
[2026-09-05 10:01:03] local.INFO: Acknowledgment sent {"connection_id":171404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:01:04] local.INFO: TCP Data received {"connection_id":172808,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd214d0012d5779c0065991a0001300dd2c..."} 
[2026-09-05 10:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd214d0012d5779c0065991a0001300dd2c..."} 
[2026-09-05 10:01:04] local.INFO: Processing buffer {"connection_id":172808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd214d0012d5779c0065991a0001300dd2c..."} 
[2026-09-05 10:01:04] local.INFO: Packet analysis {"connection_id":172808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd2"} 
[2026-09-05 10:01:04] local.INFO: Extracted packet for processing {"connection_id":172808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd2"} 
[2026-09-05 10:01:04] local.INFO: GPS Element Parsed {"raw_longitude":760707520,"raw_latitude":106533280,"longitude_deg":76.070752,"latitude_deg":10.653328,"altitude":19,"angle":221,"satellites":44,"speed":17,"hex_longitude":"2d5779c0","hex_latitude":"065991a0","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877102848001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399417879625203712,"note":"Value kept but may cause issues"} 
[2026-09-05 10:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6303632130707742720,"note":"Value kept but may cause issues"} 
[2026-09-05 10:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788582434000,"timestamp_ms":1788582434000,"timestamp_seconds":1788582434,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd214d0"} 
[2026-09-05 10:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:01: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-09-05 10: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 10:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10: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-09-05 10:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877102848001,"66":28050,"12":206,"78":62464,"24":17,"16":399417879625203712,"45":6303632130707742720},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,78,24,16,45]} 
[2026-09-05 10:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877102848001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:01:04] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 10:01:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399417879625203712,"km_value":399417879625203.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6303632130707742720,"description":"Unknown IO ID 45"} 
[2026-09-05 10:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877102848001,"power":28050,"unknown_12":206,"unknown_78":62464,"ignition":17,"odometer":null,"unknown_45":6303632130707742720}} 
[2026-09-05 10:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":172808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:01:04] local.INFO: GPS data processed {"connection_id":172808,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:01:04] local.INFO: Acknowledgment sent {"connection_id":172808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:01:34] local.INFO: TCP Data received {"connection_id":171404,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd554d80100000000000000000000000000..."} 
[2026-09-05 10:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd554d80100000000000000000000000000..."} 
[2026-09-05 10:01:34] local.INFO: Processing buffer {"connection_id":171404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd554d80100000000000000000000000000..."} 
[2026-09-05 10:01:34] local.INFO: Packet analysis {"connection_id":171404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd5"} 
[2026-09-05 10:01:34] local.INFO: Extracted packet for processing {"connection_id":171404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd5"} 
[2026-09-05 10:01: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-09-05 10: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-09-05 10:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-05 10:01:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 10:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788582647000,"timestamp_ms":1788582647000,"timestamp_seconds":1788582647,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd554d8"} 
[2026-09-05 10:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 10:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:01: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-09-05 10:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":171404,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 10:01:34] local.INFO: GPS data processed {"connection_id":171404,"processed":0,"errors":0,"total":1} 
[2026-09-05 10:01:34] local.INFO: Acknowledgment sent {"connection_id":171404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:01:35] local.INFO: TCP Data received {"connection_id":172808,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd24798012d576d4006598508001300e32d..."} 
[2026-09-05 10:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd24798012d576d4006598508001300e32d..."} 
[2026-09-05 10:01:35] local.INFO: Processing buffer {"connection_id":172808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd24798012d576d4006598508001300e32d..."} 
[2026-09-05 10:01:35] local.INFO: Packet analysis {"connection_id":172808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd2"} 
[2026-09-05 10:01:35] local.INFO: Extracted packet for processing {"connection_id":172808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd2"} 
[2026-09-05 10:01:35] local.INFO: GPS Element Parsed {"raw_longitude":760704320,"raw_latitude":106530056,"longitude_deg":76.070432,"latitude_deg":10.6530056,"altitude":19,"angle":227,"satellites":45,"speed":8,"hex_longitude":"2d576d40","hex_latitude":"06598508","is_valid_coordinates":true} 
[2026-09-05 10:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877103104001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399418102963503104,"note":"Value kept but may cause issues"} 
[2026-09-05 10:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6303280286986772480,"note":"Value kept but may cause issues"} 
[2026-09-05 10:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788582447000,"timestamp_ms":1788582447000,"timestamp_seconds":1788582447,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd24798"} 
[2026-09-05 10:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:01: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-09-05 10: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 10:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877103104001,"66":27800,"14":206,"78":62464,"24":8,"16":399418102963503104,"45":6303280286986772480},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,78,24,16,45]} 
[2026-09-05 10:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877103104001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:01:35] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-05 10:01:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399418102963503104,"km_value":399418102963503.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6303280286986772480,"description":"Unknown IO ID 45"} 
[2026-09-05 10:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877103104001,"power":27800,"unknown_14":206,"unknown_78":62464,"ignition":8,"odometer":null,"unknown_45":6303280286986772480}} 
[2026-09-05 10:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":172808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:01:35] local.INFO: GPS data processed {"connection_id":172808,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:01:35] local.INFO: Acknowledgment sent {"connection_id":172808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:02:02] local.INFO: TCP Data received {"connection_id":174108,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:02:02] local.INFO: Processing buffer {"connection_id":174108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:02:02] local.INFO: IMEI packet received {"connection_id":174108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":174108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:02:05] local.INFO: TCP Data received {"connection_id":171404,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd5a6e00100000000000000000000000000..."} 
[2026-09-05 10:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd5a6e00100000000000000000000000000..."} 
[2026-09-05 10:02:05] local.INFO: Processing buffer {"connection_id":171404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd5a6e00100000000000000000000000000..."} 
[2026-09-05 10:02:05] local.INFO: Packet analysis {"connection_id":171404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd5"} 
[2026-09-05 10:02:05] local.INFO: Extracted packet for processing {"connection_id":171404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd5"} 
[2026-09-05 10:02:05] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-05 10:02:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 10:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788582668000,"timestamp_ms":1788582668000,"timestamp_seconds":1788582668,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd5a6e0"} 
[2026-09-05 10:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 10:02: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-09-05 10: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-09-05 10:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:02: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-09-05 10:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":171404,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 10:02:05] local.INFO: GPS data processed {"connection_id":171404,"processed":0,"errors":0,"total":1} 
[2026-09-05 10:02:05] local.INFO: Acknowledgment sent {"connection_id":171404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:02:07] local.INFO: TCP Data received {"connection_id":174108,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:02:07] local.INFO: Processing buffer {"connection_id":174108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:02:07] local.INFO: IMEI packet received {"connection_id":174108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":174108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:02:09] local.INFO: TCP Data received {"connection_id":174108,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd24798012d576d4006598508001300e32d..."} 
[2026-09-05 10:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd24798012d576d4006598508001300e32d..."} 
[2026-09-05 10:02:09] local.INFO: Processing buffer {"connection_id":174108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd24798012d576d4006598508001300e32d..."} 
[2026-09-05 10:02:09] local.INFO: Packet analysis {"connection_id":174108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd2"} 
[2026-09-05 10:02:09] local.INFO: Extracted packet for processing {"connection_id":174108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd2"} 
[2026-09-05 10:02:09] local.INFO: GPS Element Parsed {"raw_longitude":760704320,"raw_latitude":106530056,"longitude_deg":76.070432,"latitude_deg":10.6530056,"altitude":19,"angle":227,"satellites":45,"speed":8,"hex_longitude":"2d576d40","hex_latitude":"06598508","is_valid_coordinates":true} 
[2026-09-05 10:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877103104001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399418102963503104,"note":"Value kept but may cause issues"} 
[2026-09-05 10:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6303280286986772480,"note":"Value kept but may cause issues"} 
[2026-09-05 10:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788582447000,"timestamp_ms":1788582447000,"timestamp_seconds":1788582447,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd24798"} 
[2026-09-05 10:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:02: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-09-05 10: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 10:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":174108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":174108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":174108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877103104001,"66":27800,"14":206,"78":62464,"24":8,"16":399418102963503104,"45":6303280286986772480},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,78,24,16,45]} 
[2026-09-05 10:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877103104001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:02:09] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-05 10:02:09] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399418102963503104,"km_value":399418102963503.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6303280286986772480,"description":"Unknown IO ID 45"} 
[2026-09-05 10:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877103104001,"power":27800,"unknown_14":206,"unknown_78":62464,"ignition":8,"odometer":null,"unknown_45":6303280286986772480}} 
[2026-09-05 10:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":174108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:02:09] local.INFO: GPS data processed {"connection_id":174108,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:02:09] local.INFO: Acknowledgment sent {"connection_id":174108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:02:14] local.INFO: TCP Data received {"connection_id":174108,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd24798012d576d4006598508001300e32d..."} 
[2026-09-05 10:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd24798012d576d4006598508001300e32d..."} 
[2026-09-05 10:02:14] local.INFO: Processing buffer {"connection_id":174108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd24798012d576d4006598508001300e32d..."} 
[2026-09-05 10:02:14] local.INFO: Packet analysis {"connection_id":174108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd2"} 
[2026-09-05 10:02:14] local.INFO: Extracted packet for processing {"connection_id":174108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd2"} 
[2026-09-05 10:02:14] local.INFO: GPS Element Parsed {"raw_longitude":760704320,"raw_latitude":106530056,"longitude_deg":76.070432,"latitude_deg":10.6530056,"altitude":19,"angle":227,"satellites":45,"speed":8,"hex_longitude":"2d576d40","hex_latitude":"06598508","is_valid_coordinates":true} 
[2026-09-05 10:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877103104001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399418102963503104,"note":"Value kept but may cause issues"} 
[2026-09-05 10:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6303280286986772480,"note":"Value kept but may cause issues"} 
[2026-09-05 10:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788582447000,"timestamp_ms":1788582447000,"timestamp_seconds":1788582447,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd24798"} 
[2026-09-05 10:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 10:02:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":174108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":174108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":174108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877103104001,"66":27800,"14":206,"78":62464,"24":8,"16":399418102963503104,"45":6303280286986772480},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,78,24,16,45]} 
[2026-09-05 10:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877103104001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:02:14] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-05 10:02:14] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399418102963503104,"km_value":399418102963503.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":6303280286986772480,"description":"Unknown IO ID 45"} 
[2026-09-05 10:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877103104001,"power":27800,"unknown_14":206,"unknown_78":62464,"ignition":8,"odometer":null,"unknown_45":6303280286986772480}} 
[2026-09-05 10:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":174108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:02:14] local.INFO: GPS data processed {"connection_id":174108,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:02:14] local.INFO: Acknowledgment sent {"connection_id":174108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:02:35] local.INFO: TCP Data received {"connection_id":171404,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd5f8e80100000000000000000000000000..."} 
[2026-09-05 10:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd5f8e80100000000000000000000000000..."} 
[2026-09-05 10:02:35] local.INFO: Processing buffer {"connection_id":171404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd5f8e80100000000000000000000000000..."} 
[2026-09-05 10:02:35] local.INFO: Packet analysis {"connection_id":171404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd5"} 
[2026-09-05 10:02:35] local.INFO: Extracted packet for processing {"connection_id":171404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd5"} 
[2026-09-05 10:02:35] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-05 10:02:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 10:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788582689000,"timestamp_ms":1788582689000,"timestamp_seconds":1788582689,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd5f8e8"} 
[2026-09-05 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-09-05 10:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-05 10:02:35] 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-09-05 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-09-05 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-09-05 10:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:02:35] 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-09-05 10:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":171404,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 10:02:35] local.INFO: GPS data processed {"connection_id":171404,"processed":0,"errors":0,"total":1} 
[2026-09-05 10:02:35] local.INFO: Acknowledgment sent {"connection_id":171404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:02:57] local.INFO: TCP Data received {"connection_id":172809,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:02:57] local.INFO: Processing buffer {"connection_id":172809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:02:57] local.INFO: IMEI packet received {"connection_id":172809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":172809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:03:02] local.INFO: TCP Data received {"connection_id":172809,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:03:02] local.INFO: Processing buffer {"connection_id":172809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:03:02] local.INFO: IMEI packet received {"connection_id":172809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":172809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:03:03] local.INFO: TCP Data received {"connection_id":172809,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd24798012d576d4006598508001300e32d..."} 
[2026-09-05 10:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd24798012d576d4006598508001300e32d..."} 
[2026-09-05 10:03:03] local.INFO: Processing buffer {"connection_id":172809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd24798012d576d4006598508001300e32d..."} 
[2026-09-05 10:03:03] local.INFO: Packet analysis {"connection_id":172809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd2"} 
[2026-09-05 10:03:03] local.INFO: Extracted packet for processing {"connection_id":172809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd2"} 
[2026-09-05 10:03:03] local.INFO: GPS Element Parsed {"raw_longitude":760704320,"raw_latitude":106530056,"longitude_deg":76.070432,"latitude_deg":10.6530056,"altitude":19,"angle":227,"satellites":45,"speed":8,"hex_longitude":"2d576d40","hex_latitude":"06598508","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877103104001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399418102963503104,"note":"Value kept but may cause issues"} 
[2026-09-05 10:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6303280286986772480,"note":"Value kept but may cause issues"} 
[2026-09-05 10:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788582447000,"timestamp_ms":1788582447000,"timestamp_seconds":1788582447,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd24798"} 
[2026-09-05 10:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:03: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-09-05 10: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 10:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877103104001,"66":27800,"14":206,"78":62464,"24":8,"16":399418102963503104,"45":6303280286986772480},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,78,24,16,45]} 
[2026-09-05 10:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877103104001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:03:03] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-05 10:03:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399418102963503104,"km_value":399418102963503.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6303280286986772480,"description":"Unknown IO ID 45"} 
[2026-09-05 10:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877103104001,"power":27800,"unknown_14":206,"unknown_78":62464,"ignition":8,"odometer":null,"unknown_45":6303280286986772480}} 
[2026-09-05 10:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":172809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:03:03] local.INFO: GPS data processed {"connection_id":172809,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:03:03] local.INFO: Acknowledgment sent {"connection_id":172809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:03:07] local.INFO: TCP Data received {"connection_id":171404,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd64af00100000000000000000000000000..."} 
[2026-09-05 10:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd64af00100000000000000000000000000..."} 
[2026-09-05 10:03:07] local.INFO: Processing buffer {"connection_id":171404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd64af00100000000000000000000000000..."} 
[2026-09-05 10:03:07] local.INFO: Packet analysis {"connection_id":171404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd6"} 
[2026-09-05 10:03:07] local.INFO: Extracted packet for processing {"connection_id":171404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd6"} 
[2026-09-05 10:03: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-09-05 10:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-05 10:03:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 10:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788582710000,"timestamp_ms":1788582710000,"timestamp_seconds":1788582710,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd64af0"} 
[2026-09-05 10:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-05 10:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":171404,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 10:03:07] local.INFO: GPS data processed {"connection_id":171404,"processed":0,"errors":0,"total":1} 
[2026-09-05 10:03:07] local.INFO: Acknowledgment sent {"connection_id":171404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:03:36] local.INFO: TCP Data received {"connection_id":172809,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd6e730012d57698006597db8001100e329..."} 
[2026-09-05 10:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd6e730012d57698006597db8001100e329..."} 
[2026-09-05 10:03:36] local.INFO: Processing buffer {"connection_id":172809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd6e730012d57698006597db8001100e329..."} 
[2026-09-05 10:03:36] local.INFO: Packet analysis {"connection_id":172809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd6"} 
[2026-09-05 10:03:36] local.INFO: Extracted packet for processing {"connection_id":172809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd6"} 
[2026-09-05 10:03:36] local.INFO: GPS Element Parsed {"raw_longitude":760703360,"raw_latitude":106528184,"longitude_deg":76.070336,"latitude_deg":10.6528184,"altitude":17,"angle":227,"satellites":41,"speed":0,"hex_longitude":"2d576980","hex_latitude":"06597db8","is_valid_coordinates":true} 
[2026-09-05 10:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877106432001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399418102963503104,"note":"Value kept but may cause issues"} 
[2026-09-05 10:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6299761849777063936,"note":"Value kept but may cause issues"} 
[2026-09-05 10:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788582750000,"timestamp_ms":1788582750000,"timestamp_seconds":1788582750,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd6e730"} 
[2026-09-05 10:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:03: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-09-05 10:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 10:03: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-09-05 10:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877106432001,"66":26539,"14":206,"78":62464,"24":0,"16":399418102963503104,"45":6299761849777063936},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,78,24,16,45]} 
[2026-09-05 10:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877106432001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:03:36] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-05 10:03:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399418102963503104,"km_value":399418102963503.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6299761849777063936,"description":"Unknown IO ID 45"} 
[2026-09-05 10:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877106432001,"power":26539,"unknown_14":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":6299761849777063936}} 
[2026-09-05 10:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":172809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:03:36] local.INFO: GPS data processed {"connection_id":172809,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:03:36] local.INFO: Acknowledgment sent {"connection_id":172809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:03:39] local.INFO: TCP Data received {"connection_id":171404,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd69cf80100000000000000000000000000..."} 
[2026-09-05 10:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd69cf80100000000000000000000000000..."} 
[2026-09-05 10:03:39] local.INFO: Processing buffer {"connection_id":171404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd69cf80100000000000000000000000000..."} 
[2026-09-05 10:03:39] local.INFO: Packet analysis {"connection_id":171404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd6"} 
[2026-09-05 10:03:39] local.INFO: Extracted packet for processing {"connection_id":171404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd6"} 
[2026-09-05 10:03:39] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17413390850850816,"note":"Value kept but may cause issues"} 
[2026-09-05 10:03:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 10:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788582731000,"timestamp_ms":1788582731000,"timestamp_seconds":1788582731,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd69cf8"} 
[2026-09-05 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-09-05 10:03: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 10:03: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-09-05 10: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-09-05 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-09-05 10:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":171404,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 10:03:39] local.INFO: GPS data processed {"connection_id":171404,"processed":0,"errors":0,"total":1} 
[2026-09-05 10:03:39] local.INFO: Acknowledgment sent {"connection_id":171404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:04:02] local.INFO: TCP Data received {"connection_id":171699,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:04:02] local.INFO: Processing buffer {"connection_id":171699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:04:02] local.INFO: IMEI packet received {"connection_id":171699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":171699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:04:03] local.INFO: TCP Data received {"connection_id":174109,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:04:03] local.INFO: Processing buffer {"connection_id":174109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:04:03] local.INFO: IMEI packet received {"connection_id":174109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":174109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:04:07] local.INFO: TCP Data received {"connection_id":171699,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:04:07] local.INFO: Processing buffer {"connection_id":171699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:04:07] local.INFO: IMEI packet received {"connection_id":171699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":171699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:04:08] local.INFO: TCP Data received {"connection_id":174109,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:04:08] local.INFO: Processing buffer {"connection_id":174109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:04:08] local.INFO: IMEI packet received {"connection_id":174109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":174109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:04:08] local.INFO: TCP Data received {"connection_id":171699,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd6e730012d57698006597db8001100e329..."} 
[2026-09-05 10:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd6e730012d57698006597db8001100e329..."} 
[2026-09-05 10:04:08] local.INFO: Processing buffer {"connection_id":171699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd6e730012d57698006597db8001100e329..."} 
[2026-09-05 10:04:08] local.INFO: Packet analysis {"connection_id":171699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd6"} 
[2026-09-05 10:04:08] local.INFO: Extracted packet for processing {"connection_id":171699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd6"} 
[2026-09-05 10:04:08] local.INFO: GPS Element Parsed {"raw_longitude":760703360,"raw_latitude":106528184,"longitude_deg":76.070336,"latitude_deg":10.6528184,"altitude":17,"angle":227,"satellites":41,"speed":0,"hex_longitude":"2d576980","hex_latitude":"06597db8","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877106432001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399418102963503104,"note":"Value kept but may cause issues"} 
[2026-09-05 10:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6299761849777063936,"note":"Value kept but may cause issues"} 
[2026-09-05 10:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788582750000,"timestamp_ms":1788582750000,"timestamp_seconds":1788582750,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd6e730"} 
[2026-09-05 10:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:04: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-09-05 10: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 10:04: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-09-05 10: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-09-05 10:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:04:08] 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-09-05 10:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877106432001,"66":26539,"14":206,"78":62464,"24":0,"16":399418102963503104,"45":6299761849777063936},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,78,24,16,45]} 
[2026-09-05 10:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877106432001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:04:08] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-05 10:04:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399418102963503104,"km_value":399418102963503.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6299761849777063936,"description":"Unknown IO ID 45"} 
[2026-09-05 10:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877106432001,"power":26539,"unknown_14":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":6299761849777063936}} 
[2026-09-05 10:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":171699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:04:08] local.INFO: GPS data processed {"connection_id":171699,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:04:08] local.INFO: Acknowledgment sent {"connection_id":171699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:04:09] local.INFO: TCP Data received {"connection_id":174109,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd7f4b8012d182bc0072198300047012e08..."} 
[2026-09-05 10:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd7f4b8012d182bc0072198300047012e08..."} 
[2026-09-05 10:04:09] local.INFO: Processing buffer {"connection_id":174109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd7f4b8012d182bc0072198300047012e08..."} 
[2026-09-05 10:04:09] local.INFO: Packet analysis {"connection_id":174109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd7"} 
[2026-09-05 10:04:09] local.INFO: Extracted packet for processing {"connection_id":174109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd7"} 
[2026-09-05 10:04:09] local.INFO: GPS Element Parsed {"raw_longitude":756558784,"raw_latitude":119642160,"longitude_deg":75.6558784,"latitude_deg":11.964216,"altitude":71,"angle":302,"satellites":8,"speed":27,"hex_longitude":"2d182bc0","hex_latitude":"07219830","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877198848001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17415667183517696,"note":"Value kept but may cause issues"} 
[2026-09-05 10:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1751337335721177088,"note":"Value kept but may cause issues"} 
[2026-09-05 10:04: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-09-05 10:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788582819000,"timestamp_ms":1788582819000,"timestamp_seconds":1788582819,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd7f4b8"} 
[2026-09-05 10:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2304,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10: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":218,"data_length":795,"current_offset":136} 
[2026-09-05 10:04: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-09-05 10: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-09-05 10:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":174109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":174109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":174109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:04: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-09-05 10:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877198848001,"66":14102,"106":206,"83":41984,"24":27,"16":17415667183517696,"45":1751337335721177088},"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-09-05 10:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877198848001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:04:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-05 10:04:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17415667183517696,"km_value":17415667183517.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1751337335721177088,"description":"Unknown IO ID 45"} 
[2026-09-05 10:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877198848001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1751337335721177088}} 
[2026-09-05 10:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":174109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:04:09] local.INFO: GPS data processed {"connection_id":174109,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:04:09] local.INFO: Acknowledgment sent {"connection_id":174109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:04:12] local.INFO: TCP Data received {"connection_id":171699,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd6e730012d57698006597db8001100e329..."} 
[2026-09-05 10:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd6e730012d57698006597db8001100e329..."} 
[2026-09-05 10:04:12] local.INFO: Processing buffer {"connection_id":171699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd6e730012d57698006597db8001100e329..."} 
[2026-09-05 10:04:12] local.INFO: Packet analysis {"connection_id":171699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd6"} 
[2026-09-05 10:04:12] local.INFO: Extracted packet for processing {"connection_id":171699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd6"} 
[2026-09-05 10:04:12] local.INFO: GPS Element Parsed {"raw_longitude":760703360,"raw_latitude":106528184,"longitude_deg":76.070336,"latitude_deg":10.6528184,"altitude":17,"angle":227,"satellites":41,"speed":0,"hex_longitude":"2d576980","hex_latitude":"06597db8","is_valid_coordinates":true} 
[2026-09-05 10:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877106432001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399418102963503104,"note":"Value kept but may cause issues"} 
[2026-09-05 10:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6299761849777063936,"note":"Value kept but may cause issues"} 
[2026-09-05 10:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788582750000,"timestamp_ms":1788582750000,"timestamp_seconds":1788582750,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd6e730"} 
[2026-09-05 10:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 10:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 10:04:12] 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-09-05 10:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:04:12] 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-09-05 10:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877106432001,"66":26539,"14":206,"78":62464,"24":0,"16":399418102963503104,"45":6299761849777063936},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,78,24,16,45]} 
[2026-09-05 10:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877106432001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:04:12] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-05 10:04:12] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399418102963503104,"km_value":399418102963503.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6299761849777063936,"description":"Unknown IO ID 45"} 
[2026-09-05 10:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877106432001,"power":26539,"unknown_14":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":6299761849777063936}} 
[2026-09-05 10:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":171699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:04:12] local.INFO: GPS data processed {"connection_id":171699,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:04:12] local.INFO: Acknowledgment sent {"connection_id":171699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:04:40] local.INFO: TCP Data received {"connection_id":174109,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd80458012d18248007219df00048013b08..."} 
[2026-09-05 10:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd80458012d18248007219df00048013b08..."} 
[2026-09-05 10:04:40] local.INFO: Processing buffer {"connection_id":174109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd80458012d18248007219df00048013b08..."} 
[2026-09-05 10:04:40] local.INFO: Packet analysis {"connection_id":174109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd8"} 
[2026-09-05 10:04:40] local.INFO: Extracted packet for processing {"connection_id":174109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd8"} 
[2026-09-05 10:04:40] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119643632,"longitude_deg":75.6556928,"latitude_deg":11.9643632,"altitude":72,"angle":315,"satellites":8,"speed":19,"hex_longitude":"2d182480","hex_latitude":"07219df0","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877201664001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17415778852667392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741696817769754624,"note":"Value kept but may cause issues"} 
[2026-09-05 10:04: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-09-05 10:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788582823000,"timestamp_ms":1788582823000,"timestamp_seconds":1788582823,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd80458"} 
[2026-09-05 10:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-05 10:04:40] 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-09-05 10: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-09-05 10:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":174109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":174109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":174109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:04:40] 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-09-05 10:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877201664001,"66":14070,"106":206,"83":41984,"24":19,"16":17415778852667392,"45":1741696817769754624},"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-09-05 10:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877201664001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:04:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-05 10:04:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17415778852667392,"km_value":17415778852667.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741696817769754624,"description":"Unknown IO ID 45"} 
[2026-09-05 10:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877201664001,"power":14070,"unknown_106":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1741696817769754624}} 
[2026-09-05 10:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":174109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:04:40] local.INFO: GPS data processed {"connection_id":174109,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:04:40] local.INFO: Acknowledgment sent {"connection_id":174109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:04:52] local.INFO: TCP Data received {"connection_id":172810,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172810,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:04:52] local.INFO: Processing buffer {"connection_id":172810,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:04:52] local.INFO: IMEI packet received {"connection_id":172810,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":172810,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:04:57] local.INFO: TCP Data received {"connection_id":172811,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:04:57] local.INFO: Processing buffer {"connection_id":172811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:04:57] local.INFO: IMEI packet received {"connection_id":172811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":172811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:05:01] local.INFO: TCP Data received {"connection_id":172811,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:05:01] local.INFO: Processing buffer {"connection_id":172811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:05:01] local.INFO: IMEI packet received {"connection_id":172811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":172811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:05:04] local.INFO: TCP Data received {"connection_id":172811,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd6e730012d57698006597db8001100e329..."} 
[2026-09-05 10:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd6e730012d57698006597db8001100e329..."} 
[2026-09-05 10:05:04] local.INFO: Processing buffer {"connection_id":172811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd6e730012d57698006597db8001100e329..."} 
[2026-09-05 10:05:04] local.INFO: Packet analysis {"connection_id":172811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd6"} 
[2026-09-05 10:05:04] local.INFO: Extracted packet for processing {"connection_id":172811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd6"} 
[2026-09-05 10:05:04] local.INFO: GPS Element Parsed {"raw_longitude":760703360,"raw_latitude":106528184,"longitude_deg":76.070336,"latitude_deg":10.6528184,"altitude":17,"angle":227,"satellites":41,"speed":0,"hex_longitude":"2d576980","hex_latitude":"06597db8","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877106432001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399418102963503104,"note":"Value kept but may cause issues"} 
[2026-09-05 10:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6299761849777063936,"note":"Value kept but may cause issues"} 
[2026-09-05 10:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788582750000,"timestamp_ms":1788582750000,"timestamp_seconds":1788582750,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd6e730"} 
[2026-09-05 10:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:05: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-09-05 10:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 10:05: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-09-05 10: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-09-05 10:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10: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-09-05 10:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877106432001,"66":26539,"14":206,"78":62464,"24":0,"16":399418102963503104,"45":6299761849777063936},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,78,24,16,45]} 
[2026-09-05 10:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877106432001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:05:04] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-05 10:05:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399418102963503104,"km_value":399418102963503.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6299761849777063936,"description":"Unknown IO ID 45"} 
[2026-09-05 10:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877106432001,"power":26539,"unknown_14":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":6299761849777063936}} 
[2026-09-05 10:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":172811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:05:04] local.INFO: GPS data processed {"connection_id":172811,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:05:04] local.INFO: Acknowledgment sent {"connection_id":172811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:05:11] local.INFO: TCP Data received {"connection_id":174109,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd92d38012d177ac00720eeb0003b00dd0d..."} 
[2026-09-05 10:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd92d38012d177ac00720eeb0003b00dd0d..."} 
[2026-09-05 10:05:11] local.INFO: Processing buffer {"connection_id":174109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd92d38012d177ac00720eeb0003b00dd0d..."} 
[2026-09-05 10:05:11] local.INFO: Packet analysis {"connection_id":174109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd9"} 
[2026-09-05 10:05:11] local.INFO: Extracted packet for processing {"connection_id":174109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd9"} 
[2026-09-05 10:05:11] local.INFO: GPS Element Parsed {"raw_longitude":756513472,"raw_latitude":119598768,"longitude_deg":75.6513472,"latitude_deg":11.9598768,"altitude":59,"angle":221,"satellites":13,"speed":44,"hex_longitude":"2d177ac0","hex_latitude":"0720eeb0","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877219584001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17418922768728064,"note":"Value kept but may cause issues"} 
[2026-09-05 10:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1699757046230315008,"note":"Value kept but may cause issues"} 
[2026-09-05 10:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788582899000,"timestamp_ms":1788582899000,"timestamp_seconds":1788582899,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd92d38"} 
[2026-09-05 10:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 10:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:05:11] 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-09-05 10:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877219584001,"66":14363,"107":206,"83":41984,"24":44,"16":17418922768728064,"45":1699757046230315008},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-05 10:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877219584001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:05:11] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-05 10:05:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17418922768728064,"km_value":17418922768728.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1699757046230315008,"description":"Unknown IO ID 45"} 
[2026-09-05 10:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877219584001,"power":14363,"unknown_107":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1699757046230315008}} 
[2026-09-05 10:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":174109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:05:12] local.INFO: GPS data processed {"connection_id":174109,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:05:12] local.INFO: Acknowledgment sent {"connection_id":174109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:05:36] local.INFO: TCP Data received {"connection_id":172811,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd6e730012d57698006597db8001100e329..."} 
[2026-09-05 10:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd6e730012d57698006597db8001100e329..."} 
[2026-09-05 10:05:36] local.INFO: Processing buffer {"connection_id":172811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd6e730012d57698006597db8001100e329..."} 
[2026-09-05 10:05:36] local.INFO: Packet analysis {"connection_id":172811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd6"} 
[2026-09-05 10:05:36] local.INFO: Extracted packet for processing {"connection_id":172811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd6"} 
[2026-09-05 10:05:36] local.INFO: GPS Element Parsed {"raw_longitude":760703360,"raw_latitude":106528184,"longitude_deg":76.070336,"latitude_deg":10.6528184,"altitude":17,"angle":227,"satellites":41,"speed":0,"hex_longitude":"2d576980","hex_latitude":"06597db8","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877106432001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399418102963503104,"note":"Value kept but may cause issues"} 
[2026-09-05 10:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6299761849777063936,"note":"Value kept but may cause issues"} 
[2026-09-05 10:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788582750000,"timestamp_ms":1788582750000,"timestamp_seconds":1788582750,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd6e730"} 
[2026-09-05 10:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:05: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-09-05 10: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":152,"data_length":795,"current_offset":136} 
[2026-09-05 10:05: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-09-05 10: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-09-05 10:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:05:36] 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-09-05 10:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877106432001,"66":26539,"14":206,"78":62464,"24":0,"16":399418102963503104,"45":6299761849777063936},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,78,24,16,45]} 
[2026-09-05 10:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877106432001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:05:36] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-05 10:05:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399418102963503104,"km_value":399418102963503.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6299761849777063936,"description":"Unknown IO ID 45"} 
[2026-09-05 10:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877106432001,"power":26539,"unknown_14":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":6299761849777063936}} 
[2026-09-05 10:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":172811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:05:36] local.INFO: GPS data processed {"connection_id":172811,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:05:36] local.INFO: Acknowledgment sent {"connection_id":172811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:05:43] local.INFO: TCP Data received {"connection_id":174109,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd92d38012d177ac00720eeb0003b00dd0d..."} 
[2026-09-05 10:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd92d38012d177ac00720eeb0003b00dd0d..."} 
[2026-09-05 10:05:43] local.INFO: Processing buffer {"connection_id":174109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd92d38012d177ac00720eeb0003b00dd0d..."} 
[2026-09-05 10:05:43] local.INFO: Packet analysis {"connection_id":174109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd9"} 
[2026-09-05 10:05:43] local.INFO: Extracted packet for processing {"connection_id":174109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd9"} 
[2026-09-05 10:05:43] local.INFO: GPS Element Parsed {"raw_longitude":756513472,"raw_latitude":119598768,"longitude_deg":75.6513472,"latitude_deg":11.9598768,"altitude":59,"angle":221,"satellites":13,"speed":44,"hex_longitude":"2d177ac0","hex_latitude":"0720eeb0","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877222144001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17418922768728064,"note":"Value kept but may cause issues"} 
[2026-09-05 10:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1691875746880860160,"note":"Value kept but may cause issues"} 
[2026-09-05 10:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788582899000,"timestamp_ms":1788582899000,"timestamp_seconds":1788582899,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd92d38"} 
[2026-09-05 10:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 10:05:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":174109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":174109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":174109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:05:43] 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-09-05 10:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877222144001,"66":14363,"107":206,"83":41984,"24":44,"16":17418922768728064,"45":1691875746880860160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-05 10:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877222144001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:05:43] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-05 10:05:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17418922768728064,"km_value":17418922768728.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1691875746880860160,"description":"Unknown IO ID 45"} 
[2026-09-05 10:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877222144001,"power":14363,"unknown_107":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1691875746880860160}} 
[2026-09-05 10:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":174109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:05:43] local.INFO: GPS data processed {"connection_id":174109,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:05:43] local.INFO: Acknowledgment sent {"connection_id":174109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:05:56] local.INFO: TCP Data received {"connection_id":171700,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:05:56] local.INFO: Processing buffer {"connection_id":171700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:05:56] local.INFO: IMEI packet received {"connection_id":171700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":171700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:06:02] local.INFO: TCP Data received {"connection_id":171700,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:06:02] local.INFO: Processing buffer {"connection_id":171700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:06:02] local.INFO: IMEI packet received {"connection_id":171700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":171700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:06:04] local.INFO: TCP Data received {"connection_id":171700,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd6e730012d57698006597db8001100e329..."} 
[2026-09-05 10:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd6e730012d57698006597db8001100e329..."} 
[2026-09-05 10:06:04] local.INFO: Processing buffer {"connection_id":171700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd6e730012d57698006597db8001100e329..."} 
[2026-09-05 10:06:04] local.INFO: Packet analysis {"connection_id":171700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd6"} 
[2026-09-05 10:06:04] local.INFO: Extracted packet for processing {"connection_id":171700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd6"} 
[2026-09-05 10:06:04] local.INFO: GPS Element Parsed {"raw_longitude":760703360,"raw_latitude":106528184,"longitude_deg":76.070336,"latitude_deg":10.6528184,"altitude":17,"angle":227,"satellites":41,"speed":0,"hex_longitude":"2d576980","hex_latitude":"06597db8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877106432001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399418102963503104,"note":"Value kept but may cause issues"} 
[2026-09-05 10:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6299761849777063936,"note":"Value kept but may cause issues"} 
[2026-09-05 10:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788582750000,"timestamp_ms":1788582750000,"timestamp_seconds":1788582750,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd6e730"} 
[2026-09-05 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-09-05 10:06: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-09-05 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 10:06: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-09-05 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-09-05 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-09-05 10:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:06: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-09-05 10:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877106432001,"66":26539,"14":206,"78":62464,"24":0,"16":399418102963503104,"45":6299761849777063936},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,78,24,16,45]} 
[2026-09-05 10:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877106432001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:06:04] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-05 10:06:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399418102963503104,"km_value":399418102963503.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6299761849777063936,"description":"Unknown IO ID 45"} 
[2026-09-05 10:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877106432001,"power":26539,"unknown_14":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":6299761849777063936}} 
[2026-09-05 10:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":171700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:06:04] local.INFO: GPS data processed {"connection_id":171700,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:06:04] local.INFO: Acknowledgment sent {"connection_id":171700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:06:09] local.INFO: TCP Data received {"connection_id":171406,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:06:09] local.INFO: Processing buffer {"connection_id":171406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:06:09] local.INFO: IMEI packet received {"connection_id":171406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":171406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:06:10] local.INFO: TCP Data received {"connection_id":171406,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:06:10] local.INFO: Processing buffer {"connection_id":171406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:06:10] local.INFO: IMEI packet received {"connection_id":171406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":171406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:06:13] local.INFO: TCP Data received {"connection_id":171406,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:06:13] local.INFO: Processing buffer {"connection_id":171406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:06:13] local.INFO: IMEI packet received {"connection_id":171406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":171406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:06:14] local.INFO: TCP Data received {"connection_id":171406,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd94c78012d1761000720d2b0003800de0d..."} 
[2026-09-05 10:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd94c78012d1761000720d2b0003800de0d..."} 
[2026-09-05 10:06:14] local.INFO: Processing buffer {"connection_id":171406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd94c78012d1761000720d2b0003800de0d..."} 
[2026-09-05 10:06:14] local.INFO: Packet analysis {"connection_id":171406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd9"} 
[2026-09-05 10:06:14] local.INFO: Extracted packet for processing {"connection_id":171406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd9"} 
[2026-09-05 10:06:14] local.INFO: GPS Element Parsed {"raw_longitude":756506880,"raw_latitude":119591600,"longitude_deg":75.650688,"latitude_deg":11.95916,"altitude":56,"angle":222,"satellites":13,"speed":49,"hex_longitude":"2d176100","hex_latitude":"0720d2b0","is_valid_coordinates":true} 
[2026-09-05 10:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877222144001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17419390920163328,"note":"Value kept but may cause issues"} 
[2026-09-05 10:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1691875746880860160,"note":"Value kept but may cause issues"} 
[2026-09-05 10:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788582907000,"timestamp_ms":1788582907000,"timestamp_seconds":1788582907,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd94c78"} 
[2026-09-05 10:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 10:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":171406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":171406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":171406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877222144001,"66":14461,"107":206,"83":41984,"24":49,"16":17419390920163328,"45":1691875746880860160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-05 10:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877222144001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:06:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-05 10:06:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17419390920163328,"km_value":17419390920163.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1691875746880860160,"description":"Unknown IO ID 45"} 
[2026-09-05 10:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877222144001,"power":14461,"unknown_107":206,"unknown_83":41984,"ignition":49,"odometer":null,"unknown_45":1691875746880860160}} 
[2026-09-05 10:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":171406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:06:14] local.INFO: GPS data processed {"connection_id":171406,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:06:14] local.INFO: Acknowledgment sent {"connection_id":171406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:06:36] local.INFO: TCP Data received {"connection_id":171700,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd6e730012d57698006597db8001100e329..."} 
[2026-09-05 10:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd6e730012d57698006597db8001100e329..."} 
[2026-09-05 10:06:36] local.INFO: Processing buffer {"connection_id":171700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd6e730012d57698006597db8001100e329..."} 
[2026-09-05 10:06:36] local.INFO: Packet analysis {"connection_id":171700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd6"} 
[2026-09-05 10:06:36] local.INFO: Extracted packet for processing {"connection_id":171700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd6"} 
[2026-09-05 10:06:36] local.INFO: GPS Element Parsed {"raw_longitude":760703360,"raw_latitude":106528184,"longitude_deg":76.070336,"latitude_deg":10.6528184,"altitude":17,"angle":227,"satellites":41,"speed":0,"hex_longitude":"2d576980","hex_latitude":"06597db8","is_valid_coordinates":true} 
[2026-09-05 10:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877106432001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399418102963503104,"note":"Value kept but may cause issues"} 
[2026-09-05 10:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6299761849777063936,"note":"Value kept but may cause issues"} 
[2026-09-05 10:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788582750000,"timestamp_ms":1788582750000,"timestamp_seconds":1788582750,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd6e730"} 
[2026-09-05 10:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:06: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-09-05 10:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 10:06: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-09-05 10:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:06:36] 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-09-05 10:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877106432001,"66":26539,"14":206,"78":62464,"24":0,"16":399418102963503104,"45":6299761849777063936},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,78,24,16,45]} 
[2026-09-05 10:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877106432001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:06:36] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-05 10:06:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399418102963503104,"km_value":399418102963503.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6299761849777063936,"description":"Unknown IO ID 45"} 
[2026-09-05 10:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877106432001,"power":26539,"unknown_14":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":6299761849777063936}} 
[2026-09-05 10:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":171700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:06:36] local.INFO: GPS data processed {"connection_id":171700,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:06:36] local.INFO: Acknowledgment sent {"connection_id":171700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:06:56] local.INFO: TCP Data received {"connection_id":174110,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:06:56] local.INFO: Processing buffer {"connection_id":174110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:06:56] local.INFO: IMEI packet received {"connection_id":174110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":174110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:07:01] local.INFO: TCP Data received {"connection_id":174110,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:07:01] local.INFO: Processing buffer {"connection_id":174110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:07:01] local.INFO: IMEI packet received {"connection_id":174110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":174110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:07:03] local.INFO: TCP Data received {"connection_id":174110,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd6e730012d57698006597db8001100e329..."} 
[2026-09-05 10:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd6e730012d57698006597db8001100e329..."} 
[2026-09-05 10:07:03] local.INFO: Processing buffer {"connection_id":174110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd6e730012d57698006597db8001100e329..."} 
[2026-09-05 10:07:03] local.INFO: Packet analysis {"connection_id":174110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd6"} 
[2026-09-05 10:07:03] local.INFO: Extracted packet for processing {"connection_id":174110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd6"} 
[2026-09-05 10:07:03] local.INFO: GPS Element Parsed {"raw_longitude":760703360,"raw_latitude":106528184,"longitude_deg":76.070336,"latitude_deg":10.6528184,"altitude":17,"angle":227,"satellites":41,"speed":0,"hex_longitude":"2d576980","hex_latitude":"06597db8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877106432001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399418102963503104,"note":"Value kept but may cause issues"} 
[2026-09-05 10:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6299761849777063936,"note":"Value kept but may cause issues"} 
[2026-09-05 10:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788582750000,"timestamp_ms":1788582750000,"timestamp_seconds":1788582750,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd6e730"} 
[2026-09-05 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-09-05 10:07: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-09-05 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 10:07: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-09-05 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-09-05 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-09-05 10:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:07: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-09-05 10:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877106432001,"66":26539,"14":206,"78":62464,"24":0,"16":399418102963503104,"45":6299761849777063936},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,78,24,16,45]} 
[2026-09-05 10:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877106432001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:07:03] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-05 10:07:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399418102963503104,"km_value":399418102963503.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6299761849777063936,"description":"Unknown IO ID 45"} 
[2026-09-05 10:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877106432001,"power":26539,"unknown_14":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":6299761849777063936}} 
[2026-09-05 10:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":174110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:07:03] local.INFO: GPS data processed {"connection_id":174110,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:07:03] local.INFO: Acknowledgment sent {"connection_id":174110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:07:20] local.INFO: TCP Data received {"connection_id":172812,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:07:20] local.INFO: Processing buffer {"connection_id":172812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:07:20] local.INFO: IMEI packet received {"connection_id":172812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":172812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:07:22] local.INFO: TCP Data received {"connection_id":172812,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:07:22] local.INFO: Processing buffer {"connection_id":172812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:07:22] local.INFO: IMEI packet received {"connection_id":172812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":172812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:07:25] local.INFO: TCP Data received {"connection_id":172812,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:07:25] local.INFO: Processing buffer {"connection_id":172812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:07:25] local.INFO: IMEI packet received {"connection_id":172812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":172812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:07:26] local.INFO: TCP Data received {"connection_id":172812,"ip":"42.106.6.56","data_length":327,"data_hex":"000000000000013b8e04000001a06fdaaff0012d165640071ff850002400f111..."} 
[2026-09-05 10:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172812,"packet_length":327,"packet_hex":"000000000000013b8e04000001a06fdaaff0012d165640071ff850002400f111..."} 
[2026-09-05 10:07:26] local.INFO: Processing buffer {"connection_id":172812,"buffer_length":327,"buffer_hex":"000000000000013b8e04000001a06fdaaff0012d165640071ff850002400f111..."} 
[2026-09-05 10:07:26] local.INFO: Packet analysis {"connection_id":172812,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e04000001a06fda"} 
[2026-09-05 10:07:26] local.INFO: Extracted packet for processing {"connection_id":172812,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e04000001a06fda"} 
[2026-09-05 10:07:26] local.INFO: GPS Element Parsed {"raw_longitude":756438592,"raw_latitude":119535696,"longitude_deg":75.6438592,"latitude_deg":11.9535696,"altitude":36,"angle":241,"satellites":17,"speed":2,"hex_longitude":"2d165640","hex_latitude":"071ff850","is_valid_coordinates":true} 
[2026-09-05 10: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":327,"current_offset":40} 
[2026-09-05 10:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877247232001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17423544153538560,"note":"Value kept but may cause issues"} 
[2026-09-05 10:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1609614684921036800,"note":"Value kept but may cause issues"} 
[2026-09-05 10:07:26] 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-09-05 10:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788582998000,"timestamp_ms":1788582998000,"timestamp_seconds":1788582998,"priority":1,"record_length":96,"hex_timestamp":"000001a06fdaaff0"} 
[2026-09-05 10:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4864,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10: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":55,"n8_eight_byte":33,"data_length":327,"current_offset":136} 
[2026-09-05 10:07:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:07:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:07:26] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172812,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-09-05 10:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877247232001,"66":14113,"24":2,"16":17423544153538560,"45":1609614684921036800},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-09-05 10:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877247232001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17423544153538560,"km_value":17423544153538.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1609614684921036800,"description":"Unknown IO ID 45"} 
[2026-09-05 10:07:26] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457877247232001,"power":14113,"ignition":2,"odometer":null,"unknown_45":1609614684921036800}} 
[2026-09-05 10:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":172812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:07:26] local.INFO: GPS data processed {"connection_id":172812,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:07:26] local.INFO: Acknowledgment sent {"connection_id":172812,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:07:34] local.INFO: TCP Data received {"connection_id":174110,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd6e730012d57698006597db8001100e329..."} 
[2026-09-05 10:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd6e730012d57698006597db8001100e329..."} 
[2026-09-05 10:07:34] local.INFO: Processing buffer {"connection_id":174110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd6e730012d57698006597db8001100e329..."} 
[2026-09-05 10:07:34] local.INFO: Packet analysis {"connection_id":174110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd6"} 
[2026-09-05 10:07:34] local.INFO: Extracted packet for processing {"connection_id":174110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd6"} 
[2026-09-05 10:07:34] local.INFO: GPS Element Parsed {"raw_longitude":760703360,"raw_latitude":106528184,"longitude_deg":76.070336,"latitude_deg":10.6528184,"altitude":17,"angle":227,"satellites":41,"speed":0,"hex_longitude":"2d576980","hex_latitude":"06597db8","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877106432001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399418102963503104,"note":"Value kept but may cause issues"} 
[2026-09-05 10:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6299761849777063936,"note":"Value kept but may cause issues"} 
[2026-09-05 10:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788582750000,"timestamp_ms":1788582750000,"timestamp_seconds":1788582750,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd6e730"} 
[2026-09-05 10:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:07: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-09-05 10: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":152,"data_length":795,"current_offset":136} 
[2026-09-05 10:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877106432001,"66":26539,"14":206,"78":62464,"24":0,"16":399418102963503104,"45":6299761849777063936},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,78,24,16,45]} 
[2026-09-05 10:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877106432001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:07:34] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-05 10:07:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399418102963503104,"km_value":399418102963503.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6299761849777063936,"description":"Unknown IO ID 45"} 
[2026-09-05 10:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877106432001,"power":26539,"unknown_14":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":6299761849777063936}} 
[2026-09-05 10:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":174110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:07:34] local.INFO: GPS data processed {"connection_id":174110,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:07:34] local.INFO: Acknowledgment sent {"connection_id":174110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:07:57] local.INFO: TCP Data received {"connection_id":174111,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:07:57] local.INFO: Processing buffer {"connection_id":174111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:07:57] local.INFO: IMEI packet received {"connection_id":174111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":174111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:07:57] local.INFO: TCP Data received {"connection_id":172812,"ip":"42.106.6.56","data_length":93,"data_hex":"00000000000000518e01000001a06fdb01f8012d165600071ff808002400f312..."} 
[2026-09-05 10:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172812,"packet_length":93,"packet_hex":"00000000000000518e01000001a06fdb01f8012d165600071ff808002400f312..."} 
[2026-09-05 10:07:57] local.INFO: Processing buffer {"connection_id":172812,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a06fdb01f8012d165600071ff808002400f312..."} 
[2026-09-05 10:07:57] local.INFO: Packet analysis {"connection_id":172812,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a06fdb"} 
[2026-09-05 10:07:57] local.INFO: Extracted packet for processing {"connection_id":172812,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a06fdb"} 
[2026-09-05 10:07:57] local.INFO: GPS Element Parsed {"raw_longitude":756438528,"raw_latitude":119535624,"longitude_deg":75.6438528,"latitude_deg":11.9535624,"altitude":36,"angle":243,"satellites":18,"speed":0,"hex_longitude":"2d165600","hex_latitude":"071ff808","is_valid_coordinates":true} 
[2026-09-05 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":93,"current_offset":40} 
[2026-09-05 10:07:57] 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-09-05 10:07:57] 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-09-05 10:07:57] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:07:57] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 10:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172812,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-05 10:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172812,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-05 10:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172812,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-05 10:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 10:07:57] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 10:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":172812,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 10:07:57] local.ERROR: GPS data processing failed {"connection_id":172812,"error":"No valid data to process"} 
[2026-09-05 10:07:57] local.INFO: Acknowledgment sent {"connection_id":172812,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 10:08:02] local.INFO: TCP Data received {"connection_id":174111,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:08:02] local.INFO: Processing buffer {"connection_id":174111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:08:02] local.INFO: IMEI packet received {"connection_id":174111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":174111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:08:03] local.INFO: TCP Data received {"connection_id":174111,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fd6e730012d57698006597db8001100e329..."} 
[2026-09-05 10:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fd6e730012d57698006597db8001100e329..."} 
[2026-09-05 10:08:03] local.INFO: Processing buffer {"connection_id":174111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fd6e730012d57698006597db8001100e329..."} 
[2026-09-05 10:08:03] local.INFO: Packet analysis {"connection_id":174111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fd6"} 
[2026-09-05 10:08:03] local.INFO: Extracted packet for processing {"connection_id":174111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fd6"} 
[2026-09-05 10:08:03] local.INFO: GPS Element Parsed {"raw_longitude":760703360,"raw_latitude":106528184,"longitude_deg":76.070336,"latitude_deg":10.6528184,"altitude":17,"angle":227,"satellites":41,"speed":0,"hex_longitude":"2d576980","hex_latitude":"06597db8","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877106432001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399418102963503104,"note":"Value kept but may cause issues"} 
[2026-09-05 10:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6299761849777063936,"note":"Value kept but may cause issues"} 
[2026-09-05 10:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788582750000,"timestamp_ms":1788582750000,"timestamp_seconds":1788582750,"priority":1,"record_length":96,"hex_timestamp":"000001a06fd6e730"} 
[2026-09-05 10:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:08: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-09-05 10:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 10:08: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-09-05 10: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-09-05 10:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:08: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-09-05 10:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877106432001,"66":26539,"14":206,"78":62464,"24":0,"16":399418102963503104,"45":6299761849777063936},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,78,24,16,45]} 
[2026-09-05 10:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877106432001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:08:03] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-05 10:08:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399418102963503104,"km_value":399418102963503.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6299761849777063936,"description":"Unknown IO ID 45"} 
[2026-09-05 10:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877106432001,"power":26539,"unknown_14":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":6299761849777063936}} 
[2026-09-05 10:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":174111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:08:03] local.INFO: GPS data processed {"connection_id":174111,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:08:03] local.INFO: Acknowledgment sent {"connection_id":174111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:08:28] local.INFO: TCP Data received {"connection_id":172812,"ip":"42.106.6.56","data_length":93,"data_hex":"00000000000000518e01000001a06fdb5400012d165600071ff808002400f314..."} 
[2026-09-05 10:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172812,"packet_length":93,"packet_hex":"00000000000000518e01000001a06fdb5400012d165600071ff808002400f314..."} 
[2026-09-05 10:08:28] local.INFO: Processing buffer {"connection_id":172812,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a06fdb5400012d165600071ff808002400f314..."} 
[2026-09-05 10:08:28] local.INFO: Packet analysis {"connection_id":172812,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a06fdb"} 
[2026-09-05 10:08:28] local.INFO: Extracted packet for processing {"connection_id":172812,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a06fdb"} 
[2026-09-05 10:08:28] local.INFO: GPS Element Parsed {"raw_longitude":756438528,"raw_latitude":119535624,"longitude_deg":75.6438528,"latitude_deg":11.9535624,"altitude":36,"angle":243,"satellites":20,"speed":0,"hex_longitude":"2d165600","hex_latitude":"071ff808","is_valid_coordinates":true} 
[2026-09-05 10:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-05 10:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:08:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:08:28] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:08:28] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 10:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172812,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-05 10:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172812,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-05 10:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172812,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-05 10:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 10:08:28] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 10:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":172812,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 10:08:28] local.ERROR: GPS data processing failed {"connection_id":172812,"error":"No valid data to process"} 
[2026-09-05 10:08:28] local.INFO: Acknowledgment sent {"connection_id":172812,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 10:08:35] local.INFO: TCP Data received {"connection_id":174111,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fdb7ef8012d57698006597db8001100e32c..."} 
[2026-09-05 10:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fdb7ef8012d57698006597db8001100e32c..."} 
[2026-09-05 10:08:35] local.INFO: Processing buffer {"connection_id":174111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fdb7ef8012d57698006597db8001100e32c..."} 
[2026-09-05 10:08:35] local.INFO: Packet analysis {"connection_id":174111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fdb"} 
[2026-09-05 10:08:35] local.INFO: Extracted packet for processing {"connection_id":174111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fdb"} 
[2026-09-05 10:08:35] local.INFO: GPS Element Parsed {"raw_longitude":760703360,"raw_latitude":106528184,"longitude_deg":76.070336,"latitude_deg":10.6528184,"altitude":17,"angle":227,"satellites":44,"speed":0,"hex_longitude":"2d576980","hex_latitude":"06597db8","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877184000001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399418102963503104,"note":"Value kept but may cause issues"} 
[2026-09-05 10:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6298706318613919744,"note":"Value kept but may cause issues"} 
[2026-09-05 10:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788583051000,"timestamp_ms":1788583051000,"timestamp_seconds":1788583051,"priority":1,"record_length":96,"hex_timestamp":"000001a06fdb7ef8"} 
[2026-09-05 10:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:08:35] 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-09-05 10: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-05 10:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:08:35] 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-09-05 10:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877184000001,"66":26223,"14":206,"78":62464,"24":0,"16":399418102963503104,"45":6298706318613919744},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,78,24,16,45]} 
[2026-09-05 10:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877184000001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:08:35] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-05 10:08:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399418102963503104,"km_value":399418102963503.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6298706318613919744,"description":"Unknown IO ID 45"} 
[2026-09-05 10:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877184000001,"power":26223,"unknown_14":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":6298706318613919744}} 
[2026-09-05 10:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":174111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:08:35] local.INFO: GPS data processed {"connection_id":174111,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:08:35] local.INFO: Acknowledgment sent {"connection_id":174111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:08:57] local.INFO: TCP Data received {"connection_id":172813,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:08:57] local.INFO: Processing buffer {"connection_id":172813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:08:57] local.INFO: IMEI packet received {"connection_id":172813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":172813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:08:59] local.INFO: TCP Data received {"connection_id":172812,"ip":"42.106.6.56","data_length":93,"data_hex":"00000000000000518e01000001a06fdb9668012d1655c0071ff8880025009115..."} 
[2026-09-05 10:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172812,"packet_length":93,"packet_hex":"00000000000000518e01000001a06fdb9668012d1655c0071ff8880025009115..."} 
[2026-09-05 10:08:59] local.INFO: Processing buffer {"connection_id":172812,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a06fdb9668012d1655c0071ff8880025009115..."} 
[2026-09-05 10:08:59] local.INFO: Packet analysis {"connection_id":172812,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a06fdb"} 
[2026-09-05 10:08:59] local.INFO: Extracted packet for processing {"connection_id":172812,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a06fdb"} 
[2026-09-05 10:08:59] local.INFO: GPS Element Parsed {"raw_longitude":756438464,"raw_latitude":119535752,"longitude_deg":75.6438464,"latitude_deg":11.9535752,"altitude":37,"angle":145,"satellites":21,"speed":1,"hex_longitude":"2d1655c0","hex_latitude":"071ff888","is_valid_coordinates":true} 
[2026-09-05 10:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-05 10:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:08:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:08:59] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:08:59] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 10:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172812,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-05 10:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172812,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-05 10:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172812,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-05 10:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 10:08:59] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 10:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":172812,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 10:08:59] local.ERROR: GPS data processing failed {"connection_id":172812,"error":"No valid data to process"} 
[2026-09-05 10:08:59] local.INFO: Acknowledgment sent {"connection_id":172812,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 10:09:02] local.INFO: TCP Data received {"connection_id":172813,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:09:02] local.INFO: Processing buffer {"connection_id":172813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:09:02] local.INFO: IMEI packet received {"connection_id":172813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":172813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:09:04] local.INFO: TCP Data received {"connection_id":172813,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fdb7ef8012d57698006597db8001100e32c..."} 
[2026-09-05 10:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fdb7ef8012d57698006597db8001100e32c..."} 
[2026-09-05 10:09:04] local.INFO: Processing buffer {"connection_id":172813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fdb7ef8012d57698006597db8001100e32c..."} 
[2026-09-05 10:09:04] local.INFO: Packet analysis {"connection_id":172813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fdb"} 
[2026-09-05 10:09:04] local.INFO: Extracted packet for processing {"connection_id":172813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fdb"} 
[2026-09-05 10:09:04] local.INFO: GPS Element Parsed {"raw_longitude":760703360,"raw_latitude":106528184,"longitude_deg":76.070336,"latitude_deg":10.6528184,"altitude":17,"angle":227,"satellites":44,"speed":0,"hex_longitude":"2d576980","hex_latitude":"06597db8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877184000001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399418102963503104,"note":"Value kept but may cause issues"} 
[2026-09-05 10:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6298706318613919744,"note":"Value kept but may cause issues"} 
[2026-09-05 10:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788583051000,"timestamp_ms":1788583051000,"timestamp_seconds":1788583051,"priority":1,"record_length":96,"hex_timestamp":"000001a06fdb7ef8"} 
[2026-09-05 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-09-05 10:09: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-09-05 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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-05 10:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 10:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:09: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-09-05 10:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877184000001,"66":26223,"14":206,"78":62464,"24":0,"16":399418102963503104,"45":6298706318613919744},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,78,24,16,45]} 
[2026-09-05 10:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877184000001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:09:04] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-05 10:09:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399418102963503104,"km_value":399418102963503.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6298706318613919744,"description":"Unknown IO ID 45"} 
[2026-09-05 10:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877184000001,"power":26223,"unknown_14":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":6298706318613919744}} 
[2026-09-05 10:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":172813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:09:04] local.INFO: GPS data processed {"connection_id":172813,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:09:04] local.INFO: Acknowledgment sent {"connection_id":172813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:09:31] local.INFO: TCP Data received {"connection_id":172812,"ip":"42.106.6.56","data_length":93,"data_hex":"00000000000000518e01000001a06fdbe870012d1655c0071ff8580025009618..."} 
[2026-09-05 10:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172812,"packet_length":93,"packet_hex":"00000000000000518e01000001a06fdbe870012d1655c0071ff8580025009618..."} 
[2026-09-05 10:09:31] local.INFO: Processing buffer {"connection_id":172812,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a06fdbe870012d1655c0071ff8580025009618..."} 
[2026-09-05 10:09:31] local.INFO: Packet analysis {"connection_id":172812,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a06fdb"} 
[2026-09-05 10:09:31] local.INFO: Extracted packet for processing {"connection_id":172812,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a06fdb"} 
[2026-09-05 10:09:31] local.INFO: GPS Element Parsed {"raw_longitude":756438464,"raw_latitude":119535704,"longitude_deg":75.6438464,"latitude_deg":11.9535704,"altitude":37,"angle":150,"satellites":24,"speed":0,"hex_longitude":"2d1655c0","hex_latitude":"071ff858","is_valid_coordinates":true} 
[2026-09-05 10: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":93,"current_offset":40} 
[2026-09-05 10:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:09:31] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:09:31] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 10:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172812,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-05 10:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172812,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-05 10:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172812,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-05 10:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 10:09:31] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 10:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":172812,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 10:09:31] local.ERROR: GPS data processing failed {"connection_id":172812,"error":"No valid data to process"} 
[2026-09-05 10:09:31] local.INFO: Acknowledgment sent {"connection_id":172812,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 10:09:35] local.INFO: TCP Data received {"connection_id":172813,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fdb7ef8012d57698006597db8001100e32c..."} 
[2026-09-05 10:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fdb7ef8012d57698006597db8001100e32c..."} 
[2026-09-05 10:09:35] local.INFO: Processing buffer {"connection_id":172813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fdb7ef8012d57698006597db8001100e32c..."} 
[2026-09-05 10:09:35] local.INFO: Packet analysis {"connection_id":172813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fdb"} 
[2026-09-05 10:09:35] local.INFO: Extracted packet for processing {"connection_id":172813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fdb"} 
[2026-09-05 10:09:35] local.INFO: GPS Element Parsed {"raw_longitude":760703360,"raw_latitude":106528184,"longitude_deg":76.070336,"latitude_deg":10.6528184,"altitude":17,"angle":227,"satellites":44,"speed":0,"hex_longitude":"2d576980","hex_latitude":"06597db8","is_valid_coordinates":true} 
[2026-09-05 10:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877184000001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399418102963503104,"note":"Value kept but may cause issues"} 
[2026-09-05 10:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6298706318613919744,"note":"Value kept but may cause issues"} 
[2026-09-05 10:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788583051000,"timestamp_ms":1788583051000,"timestamp_seconds":1788583051,"priority":1,"record_length":96,"hex_timestamp":"000001a06fdb7ef8"} 
[2026-09-05 10:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:09:35] 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-09-05 10:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-05 10:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:09:35] 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-09-05 10:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877184000001,"66":26223,"14":206,"78":62464,"24":0,"16":399418102963503104,"45":6298706318613919744},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,78,24,16,45]} 
[2026-09-05 10:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877184000001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:09:35] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-05 10:09:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399418102963503104,"km_value":399418102963503.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6298706318613919744,"description":"Unknown IO ID 45"} 
[2026-09-05 10:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877184000001,"power":26223,"unknown_14":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":6298706318613919744}} 
[2026-09-05 10:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":172813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:09:35] local.INFO: GPS data processed {"connection_id":172813,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:09:35] local.INFO: Acknowledgment sent {"connection_id":172813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:09:57] local.INFO: TCP Data received {"connection_id":174112,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:09:57] local.INFO: Processing buffer {"connection_id":174112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:09:57] local.INFO: IMEI packet received {"connection_id":174112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":174112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:10:01] local.INFO: TCP Data received {"connection_id":172812,"ip":"42.106.6.56","data_length":171,"data_hex":"000000000000009f8e02000001a06fdc3a78012d1655c0071ff8580025009619..."} 
[2026-09-05 10:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172812,"packet_length":171,"packet_hex":"000000000000009f8e02000001a06fdc3a78012d1655c0071ff8580025009619..."} 
[2026-09-05 10:10:01] local.INFO: Processing buffer {"connection_id":172812,"buffer_length":171,"buffer_hex":"000000000000009f8e02000001a06fdc3a78012d1655c0071ff8580025009619..."} 
[2026-09-05 10:10:01] local.INFO: Packet analysis {"connection_id":172812,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e02000001a06fdc"} 
[2026-09-05 10:10:01] local.INFO: Extracted packet for processing {"connection_id":172812,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e02000001a06fdc"} 
[2026-09-05 10:10:01] local.INFO: GPS Element Parsed {"raw_longitude":756438464,"raw_latitude":119535704,"longitude_deg":75.6438464,"latitude_deg":11.9535704,"altitude":37,"angle":150,"satellites":25,"speed":0,"hex_longitude":"2d1655c0","hex_latitude":"071ff858","is_valid_coordinates":true} 
[2026-09-05 10: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":171,"current_offset":40} 
[2026-09-05 10:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877267968001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17423557038440448,"note":"Value kept but may cause issues"} 
[2026-09-05 10:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1609403578688493568,"note":"Value kept but may cause issues"} 
[2026-09-05 10:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788583099000,"timestamp_ms":1788583099000,"timestamp_seconds":1788583099,"priority":1,"record_length":96,"hex_timestamp":"000001a06fdc3a78"} 
[2026-09-05 10:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5632,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10: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":50,"n8_eight_byte":215,"data_length":171,"current_offset":136} 
[2026-09-05 10:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:10:01] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172812,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-09-05 10:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877267968001,"66":12591,"85":206,"83":41984,"24":0,"16":17423557038440448,"45":1609403578688493568},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-05 10:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877267968001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:10:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-05 10:10:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17423557038440448,"km_value":17423557038440.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1609403578688493568,"description":"Unknown IO ID 45"} 
[2026-09-05 10:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877267968001,"power":12591,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1609403578688493568}} 
[2026-09-05 10:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":172812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:10:02] local.INFO: GPS data processed {"connection_id":172812,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:10:02] local.INFO: Acknowledgment sent {"connection_id":172812,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:10:02] local.INFO: TCP Data received {"connection_id":174112,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:10:02] local.INFO: Processing buffer {"connection_id":174112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:10:02] local.INFO: IMEI packet received {"connection_id":174112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":174112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:10:03] local.INFO: TCP Data received {"connection_id":174112,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fdb7ef8012d57698006597db8001100e32c..."} 
[2026-09-05 10:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fdb7ef8012d57698006597db8001100e32c..."} 
[2026-09-05 10:10:03] local.INFO: Processing buffer {"connection_id":174112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fdb7ef8012d57698006597db8001100e32c..."} 
[2026-09-05 10:10:03] local.INFO: Packet analysis {"connection_id":174112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fdb"} 
[2026-09-05 10:10:03] local.INFO: Extracted packet for processing {"connection_id":174112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fdb"} 
[2026-09-05 10:10:03] local.INFO: GPS Element Parsed {"raw_longitude":760703360,"raw_latitude":106528184,"longitude_deg":76.070336,"latitude_deg":10.6528184,"altitude":17,"angle":227,"satellites":44,"speed":0,"hex_longitude":"2d576980","hex_latitude":"06597db8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877184000001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399418102963503104,"note":"Value kept but may cause issues"} 
[2026-09-05 10:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6298706318613919744,"note":"Value kept but may cause issues"} 
[2026-09-05 10:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788583051000,"timestamp_ms":1788583051000,"timestamp_seconds":1788583051,"priority":1,"record_length":96,"hex_timestamp":"000001a06fdb7ef8"} 
[2026-09-05 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-09-05 10:10: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-09-05 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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-05 10:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 10:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:10: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-09-05 10:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877184000001,"66":26223,"14":206,"78":62464,"24":0,"16":399418102963503104,"45":6298706318613919744},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,78,24,16,45]} 
[2026-09-05 10:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877184000001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:10:03] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-05 10:10:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399418102963503104,"km_value":399418102963503.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6298706318613919744,"description":"Unknown IO ID 45"} 
[2026-09-05 10:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877184000001,"power":26223,"unknown_14":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":6298706318613919744}} 
[2026-09-05 10:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":174112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:10:03] local.INFO: GPS data processed {"connection_id":174112,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:10:03] local.INFO: Acknowledgment sent {"connection_id":174112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:10:28] local.INFO: TCP Data received {"connection_id":171702,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171702,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:10:28] local.INFO: Processing buffer {"connection_id":171702,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:10:28] local.INFO: IMEI packet received {"connection_id":171702,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":171702,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:10:33] local.INFO: TCP Data received {"connection_id":172812,"ip":"42.106.6.56","data_length":249,"data_hex":"00000000000000ed8e03000001a06fdc8c80012d1655c0071ff858002500961b..."} 
[2026-09-05 10:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172812,"packet_length":249,"packet_hex":"00000000000000ed8e03000001a06fdc8c80012d1655c0071ff858002500961b..."} 
[2026-09-05 10:10:33] local.INFO: Processing buffer {"connection_id":172812,"buffer_length":249,"buffer_hex":"00000000000000ed8e03000001a06fdc8c80012d1655c0071ff858002500961b..."} 
[2026-09-05 10:10:33] local.INFO: Packet analysis {"connection_id":172812,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e03000001a06fdc"} 
[2026-09-05 10:10:33] local.INFO: Extracted packet for processing {"connection_id":172812,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e03000001a06fdc"} 
[2026-09-05 10:10:33] local.INFO: GPS Element Parsed {"raw_longitude":756438464,"raw_latitude":119535704,"longitude_deg":75.6438464,"latitude_deg":11.9535704,"altitude":37,"angle":150,"satellites":27,"speed":0,"hex_longitude":"2d1655c0","hex_latitude":"071ff858","is_valid_coordinates":true} 
[2026-09-05 10: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":249,"current_offset":40} 
[2026-09-05 10:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877273344001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17423557038440448,"note":"Value kept but may cause issues"} 
[2026-09-05 10:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1609403578688493568,"note":"Value kept but may cause issues"} 
[2026-09-05 10:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788583120000,"timestamp_ms":1788583120000,"timestamp_seconds":1788583120,"priority":1,"record_length":96,"hex_timestamp":"000001a06fdc8c80"} 
[2026-09-05 10:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:10:33] 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-09-05 10: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":47,"data_length":249,"current_offset":136} 
[2026-09-05 10:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:10:33] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172812,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-09-05 10:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877273344001,"66":12776,"85":206,"83":41984,"24":0,"16":17423557038440448,"45":1609403578688493568},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-05 10:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877273344001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:10:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-05 10:10:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17423557038440448,"km_value":17423557038440.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1609403578688493568,"description":"Unknown IO ID 45"} 
[2026-09-05 10:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877273344001,"power":12776,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1609403578688493568}} 
[2026-09-05 10:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":172812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:10:33] local.INFO: GPS data processed {"connection_id":172812,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:10:33] local.INFO: Acknowledgment sent {"connection_id":172812,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:10:35] local.INFO: TCP Data received {"connection_id":174112,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fdb7ef8012d57698006597db8001100e32c..."} 
[2026-09-05 10:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fdb7ef8012d57698006597db8001100e32c..."} 
[2026-09-05 10:10:35] local.INFO: Processing buffer {"connection_id":174112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fdb7ef8012d57698006597db8001100e32c..."} 
[2026-09-05 10:10:35] local.INFO: Packet analysis {"connection_id":174112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fdb"} 
[2026-09-05 10:10:35] local.INFO: Extracted packet for processing {"connection_id":174112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fdb"} 
[2026-09-05 10:10:35] local.INFO: GPS Element Parsed {"raw_longitude":760703360,"raw_latitude":106528184,"longitude_deg":76.070336,"latitude_deg":10.6528184,"altitude":17,"angle":227,"satellites":44,"speed":0,"hex_longitude":"2d576980","hex_latitude":"06597db8","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877184000001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399418102963503104,"note":"Value kept but may cause issues"} 
[2026-09-05 10:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6298706318613919744,"note":"Value kept but may cause issues"} 
[2026-09-05 10:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788583051000,"timestamp_ms":1788583051000,"timestamp_seconds":1788583051,"priority":1,"record_length":96,"hex_timestamp":"000001a06fdb7ef8"} 
[2026-09-05 10:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:10:35] 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-09-05 10: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-05 10:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:10:35] 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-09-05 10:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877184000001,"66":26223,"14":206,"78":62464,"24":0,"16":399418102963503104,"45":6298706318613919744},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,78,24,16,45]} 
[2026-09-05 10:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877184000001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:10:35] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-05 10:10:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399418102963503104,"km_value":399418102963503.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6298706318613919744,"description":"Unknown IO ID 45"} 
[2026-09-05 10:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877184000001,"power":26223,"unknown_14":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":6298706318613919744}} 
[2026-09-05 10:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":174112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:10:35] local.INFO: GPS data processed {"connection_id":174112,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:10:35] local.INFO: Acknowledgment sent {"connection_id":174112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:10:47] local.INFO: TCP Data received {"connection_id":174113,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174113,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:10:47] local.INFO: Processing buffer {"connection_id":174113,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:10:47] local.INFO: IMEI packet received {"connection_id":174113,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":174113,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:10:56] local.INFO: TCP Data received {"connection_id":171407,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:10:56] local.INFO: Processing buffer {"connection_id":171407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:10:56] local.INFO: IMEI packet received {"connection_id":171407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":171407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:11:02] local.INFO: TCP Data received {"connection_id":171407,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:11:02] local.INFO: Processing buffer {"connection_id":171407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:11:02] local.INFO: IMEI packet received {"connection_id":171407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":171407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:11:03] local.INFO: TCP Data received {"connection_id":171407,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fdb7ef8012d57698006597db8001100e32c..."} 
[2026-09-05 10:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fdb7ef8012d57698006597db8001100e32c..."} 
[2026-09-05 10:11:03] local.INFO: Processing buffer {"connection_id":171407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fdb7ef8012d57698006597db8001100e32c..."} 
[2026-09-05 10:11:03] local.INFO: Packet analysis {"connection_id":171407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fdb"} 
[2026-09-05 10:11:03] local.INFO: Extracted packet for processing {"connection_id":171407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fdb"} 
[2026-09-05 10:11:03] local.INFO: GPS Element Parsed {"raw_longitude":760703360,"raw_latitude":106528184,"longitude_deg":76.070336,"latitude_deg":10.6528184,"altitude":17,"angle":227,"satellites":44,"speed":0,"hex_longitude":"2d576980","hex_latitude":"06597db8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877184000001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399418102963503104,"note":"Value kept but may cause issues"} 
[2026-09-05 10:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6298706318613919744,"note":"Value kept but may cause issues"} 
[2026-09-05 10:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788583051000,"timestamp_ms":1788583051000,"timestamp_seconds":1788583051,"priority":1,"record_length":96,"hex_timestamp":"000001a06fdb7ef8"} 
[2026-09-05 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-09-05 10:11: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-09-05 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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-05 10:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 10:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:11: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-09-05 10:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877184000001,"66":26223,"14":206,"78":62464,"24":0,"16":399418102963503104,"45":6298706318613919744},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,78,24,16,45]} 
[2026-09-05 10:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877184000001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:11:03] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-05 10:11:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399418102963503104,"km_value":399418102963503.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6298706318613919744,"description":"Unknown IO ID 45"} 
[2026-09-05 10:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877184000001,"power":26223,"unknown_14":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":6298706318613919744}} 
[2026-09-05 10:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":171407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:11:03] local.INFO: GPS data processed {"connection_id":171407,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:11:03] local.INFO: Acknowledgment sent {"connection_id":171407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:11:04] local.INFO: TCP Data received {"connection_id":172812,"ip":"42.106.6.56","data_length":327,"data_hex":"000000000000013b8e04000001a06fdcde88012d1655c0071ff858002500961a..."} 
[2026-09-05 10:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172812,"packet_length":327,"packet_hex":"000000000000013b8e04000001a06fdcde88012d1655c0071ff858002500961a..."} 
[2026-09-05 10:11:04] local.INFO: Processing buffer {"connection_id":172812,"buffer_length":327,"buffer_hex":"000000000000013b8e04000001a06fdcde88012d1655c0071ff858002500961a..."} 
[2026-09-05 10:11:04] local.INFO: Packet analysis {"connection_id":172812,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e04000001a06fdc"} 
[2026-09-05 10:11:04] local.INFO: Extracted packet for processing {"connection_id":172812,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e04000001a06fdc"} 
[2026-09-05 10:11:04] local.INFO: GPS Element Parsed {"raw_longitude":756438464,"raw_latitude":119535704,"longitude_deg":75.6438464,"latitude_deg":11.9535704,"altitude":37,"angle":150,"satellites":26,"speed":0,"hex_longitude":"2d1655c0","hex_latitude":"071ff858","is_valid_coordinates":true} 
[2026-09-05 10: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":327,"current_offset":40} 
[2026-09-05 10:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877278720001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17423557038440448,"note":"Value kept but may cause issues"} 
[2026-09-05 10:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1609403578688493568,"note":"Value kept but may cause issues"} 
[2026-09-05 10:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788583141000,"timestamp_ms":1788583141000,"timestamp_seconds":1788583141,"priority":1,"record_length":96,"hex_timestamp":"000001a06fdcde88"} 
[2026-09-05 10:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:11:04] 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-09-05 10: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":232,"data_length":327,"current_offset":136} 
[2026-09-05 10:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:11:04] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172812,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-09-05 10:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877278720001,"66":12765,"85":206,"83":41984,"24":0,"16":17423557038440448,"45":1609403578688493568},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-05 10:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877278720001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:11:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-05 10:11:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17423557038440448,"km_value":17423557038440.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1609403578688493568,"description":"Unknown IO ID 45"} 
[2026-09-05 10:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877278720001,"power":12765,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1609403578688493568}} 
[2026-09-05 10:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":172812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:11:04] local.INFO: GPS data processed {"connection_id":172812,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:11:04] local.INFO: Acknowledgment sent {"connection_id":172812,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:11:34] local.INFO: TCP Data received {"connection_id":171407,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fdb7ef8012d57698006597db8001100e32c..."} 
[2026-09-05 10:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fdb7ef8012d57698006597db8001100e32c..."} 
[2026-09-05 10:11:34] local.INFO: Processing buffer {"connection_id":171407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fdb7ef8012d57698006597db8001100e32c..."} 
[2026-09-05 10:11:34] local.INFO: Packet analysis {"connection_id":171407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fdb"} 
[2026-09-05 10:11:34] local.INFO: Extracted packet for processing {"connection_id":171407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fdb"} 
[2026-09-05 10:11:34] local.INFO: GPS Element Parsed {"raw_longitude":760703360,"raw_latitude":106528184,"longitude_deg":76.070336,"latitude_deg":10.6528184,"altitude":17,"angle":227,"satellites":44,"speed":0,"hex_longitude":"2d576980","hex_latitude":"06597db8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877184000001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399418102963503104,"note":"Value kept but may cause issues"} 
[2026-09-05 10:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6298706318613919744,"note":"Value kept but may cause issues"} 
[2026-09-05 10:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788583051000,"timestamp_ms":1788583051000,"timestamp_seconds":1788583051,"priority":1,"record_length":96,"hex_timestamp":"000001a06fdb7ef8"} 
[2026-09-05 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-09-05 10:11: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-09-05 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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-05 10:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 10:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877184000001,"66":26223,"14":206,"78":62464,"24":0,"16":399418102963503104,"45":6298706318613919744},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,78,24,16,45]} 
[2026-09-05 10:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877184000001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:11:34] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-05 10:11:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399418102963503104,"km_value":399418102963503.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6298706318613919744,"description":"Unknown IO ID 45"} 
[2026-09-05 10:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877184000001,"power":26223,"unknown_14":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":6298706318613919744}} 
[2026-09-05 10:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":171407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:11:35] local.INFO: GPS data processed {"connection_id":171407,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:11:35] local.INFO: Acknowledgment sent {"connection_id":171407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:11:45] local.INFO: TCP Data received {"connection_id":171703,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:11:45] local.INFO: Processing buffer {"connection_id":171703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:11:45] local.INFO: IMEI packet received {"connection_id":171703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":171703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:11:51] local.INFO: TCP Data received {"connection_id":171703,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:11:51] local.INFO: Processing buffer {"connection_id":171703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:11:51] local.INFO: IMEI packet received {"connection_id":171703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":171703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:11:51] local.INFO: TCP Data received {"connection_id":171703,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06fdecab8012d15abc0071fcf90001e00ff1d..."} 
[2026-09-05 10:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fdecab8012d15abc0071fcf90001e00ff1d..."} 
[2026-09-05 10:11:51] local.INFO: Processing buffer {"connection_id":171703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fdecab8012d15abc0071fcf90001e00ff1d..."} 
[2026-09-05 10:11:51] local.INFO: Packet analysis {"connection_id":171703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fde"} 
[2026-09-05 10:11:51] local.INFO: Extracted packet for processing {"connection_id":171703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fde"} 
[2026-09-05 10:11:51] local.INFO: GPS Element Parsed {"raw_longitude":756394944,"raw_latitude":119525264,"longitude_deg":75.6394944,"latitude_deg":11.9525264,"altitude":30,"angle":255,"satellites":29,"speed":38,"hex_longitude":"2d15abc0","hex_latitude":"071fcf90","is_valid_coordinates":true} 
[2026-09-05 10:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877313536001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17425725996924928,"note":"Value kept but may cause issues"} 
[2026-09-05 10:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1571545194318745600,"note":"Value kept but may cause issues"} 
[2026-09-05 10:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788583267000,"timestamp_ms":1788583267000,"timestamp_seconds":1788583267,"priority":1,"record_length":96,"hex_timestamp":"000001a06fdecab8"} 
[2026-09-05 10:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:11:51] 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-09-05 10:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-05 10:11:51] 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-09-05 10:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877313536001,"66":14254,"87":206,"83":41984,"24":38,"16":17425725996924928,"45":1571545194318745600},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-05 10:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877313536001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:11:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-05 10:11:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17425725996924928,"km_value":17425725996924.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1571545194318745600,"description":"Unknown IO ID 45"} 
[2026-09-05 10:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877313536001,"power":14254,"unknown_87":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1571545194318745600}} 
[2026-09-05 10:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":171703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:11:51] local.INFO: GPS data processed {"connection_id":171703,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:11:51] local.INFO: Acknowledgment sent {"connection_id":171703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:11:57] local.INFO: TCP Data received {"connection_id":174114,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:11:57] local.INFO: Processing buffer {"connection_id":174114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:11:57] local.INFO: IMEI packet received {"connection_id":174114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":174114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:12:02] local.INFO: TCP Data received {"connection_id":174114,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:12:02] local.INFO: Processing buffer {"connection_id":174114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:12:02] local.INFO: IMEI packet received {"connection_id":174114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":174114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:12:07] local.INFO: TCP Data received {"connection_id":174114,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:12:07] local.INFO: Processing buffer {"connection_id":174114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:12:07] local.INFO: IMEI packet received {"connection_id":174114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":174114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:12:08] local.INFO: TCP Data received {"connection_id":174114,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fdef1c8012d57698006597db8001100e328..."} 
[2026-09-05 10:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fdef1c8012d57698006597db8001100e328..."} 
[2026-09-05 10:12:08] local.INFO: Processing buffer {"connection_id":174114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fdef1c8012d57698006597db8001100e328..."} 
[2026-09-05 10:12:08] local.INFO: Packet analysis {"connection_id":174114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fde"} 
[2026-09-05 10:12:08] local.INFO: Extracted packet for processing {"connection_id":174114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fde"} 
[2026-09-05 10:12:08] local.INFO: GPS Element Parsed {"raw_longitude":760703360,"raw_latitude":106528184,"longitude_deg":76.070336,"latitude_deg":10.6528184,"altitude":17,"angle":227,"satellites":40,"speed":0,"hex_longitude":"2d576980","hex_latitude":"06597db8","is_valid_coordinates":true} 
[2026-09-05 10:12: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-09-05 10:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877261056001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399418102963503104,"note":"Value kept but may cause issues"} 
[2026-09-05 10:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6298706318613919744,"note":"Value kept but may cause issues"} 
[2026-09-05 10:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788583277000,"timestamp_ms":1788583277000,"timestamp_seconds":1788583277,"priority":1,"record_length":96,"hex_timestamp":"000001a06fdef1c8"} 
[2026-09-05 10:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:12: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-09-05 10: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-05 10:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:12:08] 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-09-05 10:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877261056001,"66":26158,"14":206,"78":62464,"24":0,"16":399418102963503104,"45":6298706318613919744},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,78,24,16,45]} 
[2026-09-05 10:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877261056001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:12:08] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-05 10:12:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399418102963503104,"km_value":399418102963503.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6298706318613919744,"description":"Unknown IO ID 45"} 
[2026-09-05 10:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877261056001,"power":26158,"unknown_14":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":6298706318613919744}} 
[2026-09-05 10:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":174114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:12:08] local.INFO: GPS data processed {"connection_id":174114,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:12:08] local.INFO: Acknowledgment sent {"connection_id":174114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:12:13] local.INFO: TCP Data received {"connection_id":174114,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fdefd80012d576940065978800011004326..."} 
[2026-09-05 10:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fdefd80012d576940065978800011004326..."} 
[2026-09-05 10:12:13] local.INFO: Processing buffer {"connection_id":174114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fdefd80012d576940065978800011004326..."} 
[2026-09-05 10:12:13] local.INFO: Packet analysis {"connection_id":174114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fde"} 
[2026-09-05 10:12:13] local.INFO: Extracted packet for processing {"connection_id":174114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fde"} 
[2026-09-05 10:12:13] local.INFO: GPS Element Parsed {"raw_longitude":760703296,"raw_latitude":106526848,"longitude_deg":76.0703296,"latitude_deg":10.6526848,"altitude":17,"angle":67,"satellites":38,"speed":0,"hex_longitude":"2d576940","hex_latitude":"06597880","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877318912001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399418102963503104,"note":"Value kept but may cause issues"} 
[2026-09-05 10:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6298706318613919744,"note":"Value kept but may cause issues"} 
[2026-09-05 10:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788583280000,"timestamp_ms":1788583280000,"timestamp_seconds":1788583280,"priority":1,"record_length":96,"hex_timestamp":"000001a06fdefd80"} 
[2026-09-05 10:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-05 10:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":174114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":174114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":174114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:12:13] 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-09-05 10:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877318912001,"66":27517,"14":206,"78":62464,"24":0,"16":399418102963503104,"45":6298706318613919744},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,78,24,16,45]} 
[2026-09-05 10:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877318912001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:12:13] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-05 10:12:13] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399418102963503104,"km_value":399418102963503.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6298706318613919744,"description":"Unknown IO ID 45"} 
[2026-09-05 10:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877318912001,"power":27517,"unknown_14":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":6298706318613919744}} 
[2026-09-05 10:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":174114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:12:13] local.INFO: GPS data processed {"connection_id":174114,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:12:13] local.INFO: Acknowledgment sent {"connection_id":174114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:12:22] local.INFO: TCP Data received {"connection_id":171703,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06fdeede0012d1588c0071fc690002001011d..."} 
[2026-09-05 10:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fdeede0012d1588c0071fc690002001011d..."} 
[2026-09-05 10:12:22] local.INFO: Processing buffer {"connection_id":171703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fdeede0012d1588c0071fc690002001011d..."} 
[2026-09-05 10:12:22] local.INFO: Packet analysis {"connection_id":171703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fde"} 
[2026-09-05 10:12:22] local.INFO: Extracted packet for processing {"connection_id":171703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fde"} 
[2026-09-05 10:12:22] local.INFO: GPS Element Parsed {"raw_longitude":756385984,"raw_latitude":119522960,"longitude_deg":75.6385984,"latitude_deg":11.952296,"altitude":32,"angle":257,"satellites":29,"speed":42,"hex_longitude":"2d1588c0","hex_latitude":"071fc690","is_valid_coordinates":true} 
[2026-09-05 10:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877316352001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17426168378556416,"note":"Value kept but may cause issues"} 
[2026-09-05 10:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1561552832645009408,"note":"Value kept but may cause issues"} 
[2026-09-05 10:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788583276000,"timestamp_ms":1788583276000,"timestamp_seconds":1788583276,"priority":1,"record_length":96,"hex_timestamp":"000001a06fdeede0"} 
[2026-09-05 10:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:12:22] 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-09-05 10:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-05 10:12:22] 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-09-05 10:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877316352001,"66":14211,"87":206,"83":41984,"24":42,"16":17426168378556416,"45":1561552832645009408},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-05 10:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877316352001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:12:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-05 10:12:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17426168378556416,"km_value":17426168378556.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1561552832645009408,"description":"Unknown IO ID 45"} 
[2026-09-05 10:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877316352001,"power":14211,"unknown_87":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1561552832645009408}} 
[2026-09-05 10:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":171703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:12:22] local.INFO: GPS data processed {"connection_id":171703,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:12:22] local.INFO: Acknowledgment sent {"connection_id":171703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:12:54] local.INFO: TCP Data received {"connection_id":171703,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06fdf0550012d156f80071fc3a00021010d1b..."} 
[2026-09-05 10:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fdf0550012d156f80071fc3a00021010d1b..."} 
[2026-09-05 10:12:54] local.INFO: Processing buffer {"connection_id":171703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fdf0550012d156f80071fc3a00021010d1b..."} 
[2026-09-05 10:12:54] local.INFO: Packet analysis {"connection_id":171703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fdf"} 
[2026-09-05 10:12:54] local.INFO: Extracted packet for processing {"connection_id":171703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fdf"} 
[2026-09-05 10:12:54] local.INFO: GPS Element Parsed {"raw_longitude":756379520,"raw_latitude":119522208,"longitude_deg":75.637952,"latitude_deg":11.9522208,"altitude":33,"angle":269,"satellites":27,"speed":42,"hex_longitude":"2d156f80","hex_latitude":"071fc3a0","is_valid_coordinates":true} 
[2026-09-05 10:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877318656001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17426477616201728,"note":"Value kept but may cause issues"} 
[2026-09-05 10:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1551701208459546624,"note":"Value kept but may cause issues"} 
[2026-09-05 10:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788583282000,"timestamp_ms":1788583282000,"timestamp_seconds":1788583282,"priority":1,"record_length":96,"hex_timestamp":"000001a06fdf0550"} 
[2026-09-05 10:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:12:54] 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-09-05 10:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-05 10:12:54] 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-09-05 10:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:12:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877318656001,"66":14265,"87":206,"83":41984,"24":42,"16":17426477616201728,"45":1551701208459546624},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-05 10:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877318656001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:12:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-05 10:12:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17426477616201728,"km_value":17426477616201.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1551701208459546624,"description":"Unknown IO ID 45"} 
[2026-09-05 10:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877318656001,"power":14265,"unknown_87":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1551701208459546624}} 
[2026-09-05 10:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":171703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:12:54] local.INFO: GPS data processed {"connection_id":171703,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:12:54] local.INFO: Acknowledgment sent {"connection_id":171703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:12:56] local.INFO: TCP Data received {"connection_id":171408,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:12:56] local.INFO: Processing buffer {"connection_id":171408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:12:56] local.INFO: IMEI packet received {"connection_id":171408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":171408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:12:56] local.INFO: TCP Data received {"connection_id":171408,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:12:56] local.INFO: Processing buffer {"connection_id":171408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:12:56] local.INFO: IMEI packet received {"connection_id":171408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":171408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:13:01] local.INFO: TCP Data received {"connection_id":171408,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:13:01] local.INFO: Processing buffer {"connection_id":171408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:13:01] local.INFO: IMEI packet received {"connection_id":171408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":171408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:13:02] local.INFO: TCP Data received {"connection_id":171408,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fdf4f88012d576940065978800011004328..."} 
[2026-09-05 10:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fdf4f88012d576940065978800011004328..."} 
[2026-09-05 10:13:02] local.INFO: Processing buffer {"connection_id":171408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fdf4f88012d576940065978800011004328..."} 
[2026-09-05 10:13:02] local.INFO: Packet analysis {"connection_id":171408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fdf"} 
[2026-09-05 10:13:02] local.INFO: Extracted packet for processing {"connection_id":171408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fdf"} 
[2026-09-05 10:13:02] local.INFO: GPS Element Parsed {"raw_longitude":760703296,"raw_latitude":106526848,"longitude_deg":76.0703296,"latitude_deg":10.6526848,"altitude":17,"angle":67,"satellites":40,"speed":0,"hex_longitude":"2d576940","hex_latitude":"06597880","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877319680001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399418102963503104,"note":"Value kept but may cause issues"} 
[2026-09-05 10:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6298635949869400064,"note":"Value kept but may cause issues"} 
[2026-09-05 10:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788583301000,"timestamp_ms":1788583301000,"timestamp_seconds":1788583301,"priority":1,"record_length":96,"hex_timestamp":"000001a06fdf4f88"} 
[2026-09-05 10:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:13: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-09-05 10:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 10:13: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-09-05 10: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-09-05 10:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877319680001,"66":27800,"14":206,"78":62464,"24":0,"16":399418102963503104,"45":6298635949869400064},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,78,24,16,45]} 
[2026-09-05 10:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877319680001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:13:02] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-05 10:13:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399418102963503104,"km_value":399418102963503.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6298635949869400064,"description":"Unknown IO ID 45"} 
[2026-09-05 10:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877319680001,"power":27800,"unknown_14":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":6298635949869400064}} 
[2026-09-05 10:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":171408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:13:02] local.INFO: GPS data processed {"connection_id":171408,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:13:02] local.INFO: Acknowledgment sent {"connection_id":171408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:13:25] local.INFO: TCP Data received {"connection_id":171703,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06fe08bf0012d141e40071f3508002900fa1c..."} 
[2026-09-05 10:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fe08bf0012d141e40071f3508002900fa1c..."} 
[2026-09-05 10:13:25] local.INFO: Processing buffer {"connection_id":171703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fe08bf0012d141e40071f3508002900fa1c..."} 
[2026-09-05 10:13:25] local.INFO: Packet analysis {"connection_id":171703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fe0"} 
[2026-09-05 10:13:25] local.INFO: Extracted packet for processing {"connection_id":171703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fe0"} 
[2026-09-05 10:13:25] local.INFO: GPS Element Parsed {"raw_longitude":756293184,"raw_latitude":119485704,"longitude_deg":75.6293184,"latitude_deg":11.9485704,"altitude":41,"angle":250,"satellites":28,"speed":45,"hex_longitude":"2d141e40","hex_latitude":"071f3508","is_valid_coordinates":true} 
[2026-09-05 10:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877343488001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17431060346306560,"note":"Value kept but may cause issues"} 
[2026-09-05 10:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1459377416089636864,"note":"Value kept but may cause issues"} 
[2026-09-05 10:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788583382000,"timestamp_ms":1788583382000,"timestamp_seconds":1788583382,"priority":1,"record_length":96,"hex_timestamp":"000001a06fe08bf0"} 
[2026-09-05 10:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:13:25] 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-09-05 10:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-05 10:13:25] 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-09-05 10:13:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:13:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877343488001,"66":14298,"11":206,"83":41984,"24":45,"16":17431060346306560,"45":1459377416089636864},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-05 10:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877343488001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:13:25] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 10:13:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17431060346306560,"km_value":17431060346306.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1459377416089636864,"description":"Unknown IO ID 45"} 
[2026-09-05 10:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877343488001,"power":14298,"unknown_11":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1459377416089636864}} 
[2026-09-05 10:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":171703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:13:25] local.INFO: GPS data processed {"connection_id":171703,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:13:25] local.INFO: Acknowledgment sent {"connection_id":171703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:13:34] local.INFO: TCP Data received {"connection_id":171408,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fe064e0012d577100065983a8001a00702d..."} 
[2026-09-05 10:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fe064e0012d577100065983a8001a00702d..."} 
[2026-09-05 10:13:34] local.INFO: Processing buffer {"connection_id":171408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fe064e0012d577100065983a8001a00702d..."} 
[2026-09-05 10:13:34] local.INFO: Packet analysis {"connection_id":171408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fe0"} 
[2026-09-05 10:13:34] local.INFO: Extracted packet for processing {"connection_id":171408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fe0"} 
[2026-09-05 10:13:34] local.INFO: GPS Element Parsed {"raw_longitude":760705280,"raw_latitude":106529704,"longitude_deg":76.070528,"latitude_deg":10.6529704,"altitude":26,"angle":112,"satellites":45,"speed":4,"hex_longitude":"2d577100","hex_latitude":"065983a8","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877342976001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399418317711867904,"note":"Value kept but may cause issues"} 
[2026-09-05 10:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6300606274707103744,"note":"Value kept but may cause issues"} 
[2026-09-05 10:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788583372000,"timestamp_ms":1788583372000,"timestamp_seconds":1788583372,"priority":1,"record_length":96,"hex_timestamp":"000001a06fe064e0"} 
[2026-09-05 10:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 10:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877342976001,"66":27974,"14":206,"78":62464,"24":4,"16":399418317711867904,"45":6300606274707103744},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,78,24,16,45]} 
[2026-09-05 10:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877342976001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:13:34] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-05 10:13:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399418317711867904,"km_value":399418317711867.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6300606274707103744,"description":"Unknown IO ID 45"} 
[2026-09-05 10:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877342976001,"power":27974,"unknown_14":206,"unknown_78":62464,"ignition":4,"odometer":null,"unknown_45":6300606274707103744}} 
[2026-09-05 10:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":171408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:13:34] local.INFO: GPS data processed {"connection_id":171408,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:13:34] local.INFO: Acknowledgment sent {"connection_id":171408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:13:45] local.INFO: TCP Data received {"connection_id":171704,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:13:45] local.INFO: Processing buffer {"connection_id":171704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:13:45] local.INFO: IMEI packet received {"connection_id":171704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":171704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:13:46] local.INFO: TCP Data received {"connection_id":171704,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:13:46] local.INFO: Processing buffer {"connection_id":171704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:13:46] local.INFO: IMEI packet received {"connection_id":171704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":171704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:13:47] local.INFO: TCP Data received {"connection_id":171704,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:13:47] local.INFO: Processing buffer {"connection_id":171704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:13:47] local.INFO: IMEI packet received {"connection_id":171704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":171704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:13:48] local.INFO: TCP Data received {"connection_id":171704,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:13:48] local.INFO: Processing buffer {"connection_id":171704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:13:48] local.INFO: IMEI packet received {"connection_id":171704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":171704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:13:56] local.INFO: TCP Data received {"connection_id":172814,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:13:56] local.INFO: Processing buffer {"connection_id":172814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:13:56] local.INFO: IMEI packet received {"connection_id":172814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":172814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:14:02] local.INFO: TCP Data received {"connection_id":172814,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:14:02] local.INFO: Processing buffer {"connection_id":172814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:14:02] local.INFO: IMEI packet received {"connection_id":172814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":172814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:14:03] local.INFO: TCP Data received {"connection_id":172814,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fe06cb0012d5771c006598328001900882d..."} 
[2026-09-05 10:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fe06cb0012d5771c006598328001900882d..."} 
[2026-09-05 10:14:03] local.INFO: Processing buffer {"connection_id":172814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fe06cb0012d5771c006598328001900882d..."} 
[2026-09-05 10:14:03] local.INFO: Packet analysis {"connection_id":172814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fe0"} 
[2026-09-05 10:14:03] local.INFO: Extracted packet for processing {"connection_id":172814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fe0"} 
[2026-09-05 10:14:03] local.INFO: GPS Element Parsed {"raw_longitude":760705472,"raw_latitude":106529576,"longitude_deg":76.0705472,"latitude_deg":10.6529576,"altitude":25,"angle":136,"satellites":45,"speed":6,"hex_longitude":"2d5771c0","hex_latitude":"06598328","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877343232001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399418330596769792,"note":"Value kept but may cause issues"} 
[2026-09-05 10:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6300817380939638784,"note":"Value kept but may cause issues"} 
[2026-09-05 10:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788583374000,"timestamp_ms":1788583374000,"timestamp_seconds":1788583374,"priority":1,"record_length":96,"hex_timestamp":"000001a06fe06cb0"} 
[2026-09-05 10:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:14: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-09-05 10: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 10:14:03] 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-09-05 10: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-09-05 10:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:14: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-09-05 10:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877343232001,"66":27887,"14":206,"78":62464,"24":6,"16":399418330596769792,"45":6300817380939638784},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,78,24,16,45]} 
[2026-09-05 10:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877343232001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:14:03] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-05 10:14:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399418330596769792,"km_value":399418330596769.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6300817380939638784,"description":"Unknown IO ID 45"} 
[2026-09-05 10:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877343232001,"power":27887,"unknown_14":206,"unknown_78":62464,"ignition":6,"odometer":null,"unknown_45":6300817380939638784}} 
[2026-09-05 10:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":172814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:14:03] local.INFO: GPS data processed {"connection_id":172814,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:14:03] local.INFO: Acknowledgment sent {"connection_id":172814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:14:35] local.INFO: TCP Data received {"connection_id":172814,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fe07098012d577280065982b0001900972d..."} 
[2026-09-05 10:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fe07098012d577280065982b0001900972d..."} 
[2026-09-05 10:14:35] local.INFO: Processing buffer {"connection_id":172814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fe07098012d577280065982b0001900972d..."} 
[2026-09-05 10:14:35] local.INFO: Packet analysis {"connection_id":172814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fe0"} 
[2026-09-05 10:14:35] local.INFO: Extracted packet for processing {"connection_id":172814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fe0"} 
[2026-09-05 10:14:35] local.INFO: GPS Element Parsed {"raw_longitude":760705664,"raw_latitude":106529456,"longitude_deg":76.0705664,"latitude_deg":10.6529456,"altitude":25,"angle":151,"satellites":45,"speed":7,"hex_longitude":"2d577280","hex_latitude":"065982b0","is_valid_coordinates":true} 
[2026-09-05 10:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877343744001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399418339186704384,"note":"Value kept but may cause issues"} 
[2026-09-05 10:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6301028487172139008,"note":"Value kept but may cause issues"} 
[2026-09-05 10:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788583375000,"timestamp_ms":1788583375000,"timestamp_seconds":1788583375,"priority":1,"record_length":96,"hex_timestamp":"000001a06fe07098"} 
[2026-09-05 10:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:14:35] 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-09-05 10:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-05 10:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:14:35] 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-09-05 10:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877343744001,"66":27887,"14":206,"78":62464,"24":7,"16":399418339186704384,"45":6301028487172139008},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,78,24,16,45]} 
[2026-09-05 10:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877343744001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:14:35] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-05 10:14:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399418339186704384,"km_value":399418339186704.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6301028487172139008,"description":"Unknown IO ID 45"} 
[2026-09-05 10:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877343744001,"power":27887,"unknown_14":206,"unknown_78":62464,"ignition":7,"odometer":null,"unknown_45":6301028487172139008}} 
[2026-09-05 10:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":172814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:14:35] local.INFO: GPS data processed {"connection_id":172814,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:14:35] local.INFO: Acknowledgment sent {"connection_id":172814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:14:56] local.INFO: TCP Data received {"connection_id":174115,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:14:56] local.INFO: Processing buffer {"connection_id":174115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:14:56] local.INFO: IMEI packet received {"connection_id":174115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":174115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:15:01] local.INFO: TCP Data received {"connection_id":174115,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:15:01] local.INFO: Processing buffer {"connection_id":174115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:15:01] local.INFO: IMEI packet received {"connection_id":174115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":174115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:15:02] local.INFO: TCP Data received {"connection_id":174115,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fe16a98012d57a28006594388001400ab28..."} 
[2026-09-05 10:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fe16a98012d57a28006594388001400ab28..."} 
[2026-09-05 10:15:02] local.INFO: Processing buffer {"connection_id":174115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fe16a98012d57a28006594388001400ab28..."} 
[2026-09-05 10:15:02] local.INFO: Packet analysis {"connection_id":174115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fe1"} 
[2026-09-05 10:15:02] local.INFO: Extracted packet for processing {"connection_id":174115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fe1"} 
[2026-09-05 10:15:02] local.INFO: GPS Element Parsed {"raw_longitude":760717952,"raw_latitude":106513288,"longitude_deg":76.0717952,"latitude_deg":10.6513288,"altitude":20,"angle":171,"satellites":40,"speed":16,"hex_longitude":"2d57a280","hex_latitude":"06594388","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877360128001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399419395748659200,"note":"Value kept but may cause issues"} 
[2026-09-05 10:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6314609654794358784,"note":"Value kept but may cause issues"} 
[2026-09-05 10:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788583439000,"timestamp_ms":1788583439000,"timestamp_seconds":1788583439,"priority":1,"record_length":96,"hex_timestamp":"000001a06fe16a98"} 
[2026-09-05 10:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:15: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-09-05 10:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-05 10:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877360128001,"66":27691,"12":206,"78":62464,"24":16,"16":399419395748659200,"45":6314609654794358784},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,78,24,16,45]} 
[2026-09-05 10:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877360128001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:15:02] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 10:15:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399419395748659200,"km_value":399419395748659.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6314609654794358784,"description":"Unknown IO ID 45"} 
[2026-09-05 10:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877360128001,"power":27691,"unknown_12":206,"unknown_78":62464,"ignition":16,"odometer":null,"unknown_45":6314609654794358784}} 
[2026-09-05 10:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":174115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:15:02] local.INFO: GPS data processed {"connection_id":174115,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:15:02] local.INFO: Acknowledgment sent {"connection_id":174115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:15:48] local.INFO: TCP Data received {"connection_id":174115,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fe21a60012d57ec40065948c8001100a62b..."} 
[2026-09-05 10:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fe21a60012d57ec40065948c8001100a62b..."} 
[2026-09-05 10:15:48] local.INFO: Processing buffer {"connection_id":174115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fe21a60012d57ec40065948c8001100a62b..."} 
[2026-09-05 10:15:48] local.INFO: Packet analysis {"connection_id":174115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fe2"} 
[2026-09-05 10:15:48] local.INFO: Extracted packet for processing {"connection_id":174115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fe2"} 
[2026-09-05 10:15:48] local.INFO: GPS Element Parsed {"raw_longitude":760736832,"raw_latitude":106514632,"longitude_deg":76.0736832,"latitude_deg":10.6514632,"altitude":17,"angle":166,"satellites":43,"speed":11,"hex_longitude":"2d57ec40","hex_latitude":"065948c8","is_valid_coordinates":true} 
[2026-09-05 10:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877371392001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399420585454600192,"note":"Value kept but may cause issues"} 
[2026-09-05 10:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6335298065582993408,"note":"Value kept but may cause issues"} 
[2026-09-05 10:15:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788583484000,"timestamp_ms":1788583484000,"timestamp_seconds":1788583484,"priority":1,"record_length":96,"hex_timestamp":"000001a06fe21a60"} 
[2026-09-05 10:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:15: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-09-05 10:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 10:15:48] 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-09-05 10:15:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:15:48] 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-09-05 10:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877371392001,"66":27767,"13":206,"78":62464,"24":11,"16":399420585454600192,"45":6335298065582993408},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-09-05 10:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877371392001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:15:48] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-05 10:15:48] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399420585454600192,"km_value":399420585454600.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6335298065582993408,"description":"Unknown IO ID 45"} 
[2026-09-05 10:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877371392001,"power":27767,"unknown_13":206,"unknown_78":62464,"ignition":11,"odometer":null,"unknown_45":6335298065582993408}} 
[2026-09-05 10:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":174115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:15:48] local.INFO: GPS data processed {"connection_id":174115,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:15:48] local.INFO: Acknowledgment sent {"connection_id":174115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:15:56] local.INFO: TCP Data received {"connection_id":171409,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:15:56] local.INFO: Processing buffer {"connection_id":171409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:15:56] local.INFO: IMEI packet received {"connection_id":171409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":171409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:15:59] local.INFO: TCP Data received {"connection_id":171409,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:15:59] local.INFO: Processing buffer {"connection_id":171409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:15:59] local.INFO: IMEI packet received {"connection_id":171409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":171409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:16:00] local.INFO: TCP Data received {"connection_id":171409,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:16:00] local.INFO: Processing buffer {"connection_id":171409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:16:00] local.INFO: IMEI packet received {"connection_id":171409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":171409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:16:01] local.INFO: TCP Data received {"connection_id":171409,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fe22de8012d57ed00065942b0001100b22a..."} 
[2026-09-05 10:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fe22de8012d57ed00065942b0001100b22a..."} 
[2026-09-05 10:16:01] local.INFO: Processing buffer {"connection_id":171409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fe22de8012d57ed00065942b0001100b22a..."} 
[2026-09-05 10:16:01] local.INFO: Packet analysis {"connection_id":171409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fe2"} 
[2026-09-05 10:16:01] local.INFO: Extracted packet for processing {"connection_id":171409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fe2"} 
[2026-09-05 10:16:01] local.INFO: GPS Element Parsed {"raw_longitude":760737024,"raw_latitude":106513072,"longitude_deg":76.0737024,"latitude_deg":10.6513072,"altitude":17,"angle":178,"satellites":42,"speed":13,"hex_longitude":"2d57ed00","hex_latitude":"065942b0","is_valid_coordinates":true} 
[2026-09-05 10:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877371904001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399420662764011520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6335509171815368704,"note":"Value kept but may cause issues"} 
[2026-09-05 10:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788583489000,"timestamp_ms":1788583489000,"timestamp_seconds":1788583489,"priority":1,"record_length":96,"hex_timestamp":"000001a06fe22de8"} 
[2026-09-05 10:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 10:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877371904001,"66":27821,"13":206,"78":62464,"24":13,"16":399420662764011520,"45":6335509171815368704},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-09-05 10:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877371904001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:16:01] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-05 10:16:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399420662764011520,"km_value":399420662764011.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6335509171815368704,"description":"Unknown IO ID 45"} 
[2026-09-05 10:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877371904001,"power":27821,"unknown_13":206,"unknown_78":62464,"ignition":13,"odometer":null,"unknown_45":6335509171815368704}} 
[2026-09-05 10:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":171409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:16:01] local.INFO: GPS data processed {"connection_id":171409,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:16:01] local.INFO: Acknowledgment sent {"connection_id":171409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:16:13] local.INFO: TCP Data received {"connection_id":172815,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:16:13] local.INFO: Processing buffer {"connection_id":172815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:16:13] local.INFO: IMEI packet received {"connection_id":172815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":172815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:16:33] local.INFO: TCP Data received {"connection_id":171409,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fe2fcf0012d57cf800658e3e8001c00d72b..."} 
[2026-09-05 10:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fe2fcf0012d57cf800658e3e8001c00d72b..."} 
[2026-09-05 10:16:33] local.INFO: Processing buffer {"connection_id":171409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fe2fcf0012d57cf800658e3e8001c00d72b..."} 
[2026-09-05 10:16:33] local.INFO: Packet analysis {"connection_id":171409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fe2"} 
[2026-09-05 10:16:33] local.INFO: Extracted packet for processing {"connection_id":171409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fe2"} 
[2026-09-05 10:16:33] local.INFO: GPS Element Parsed {"raw_longitude":760729472,"raw_latitude":106488808,"longitude_deg":76.0729472,"latitude_deg":10.6488808,"altitude":28,"angle":215,"satellites":43,"speed":16,"hex_longitude":"2d57cf80","hex_latitude":"0658e3e8","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877385728001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399422015678709760,"note":"Value kept but may cause issues"} 
[2026-09-05 10:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6327909347438094336,"note":"Value kept but may cause issues"} 
[2026-09-05 10:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788583542000,"timestamp_ms":1788583542000,"timestamp_seconds":1788583542,"priority":1,"record_length":96,"hex_timestamp":"000001a06fe2fcf0"} 
[2026-09-05 10:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:16: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-09-05 10: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 10:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:16: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-09-05 10:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877385728001,"66":27919,"186":206,"78":62464,"24":16,"16":399422015678709760,"45":6327909347438094336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,78,24,16,45]} 
[2026-09-05 10:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877385728001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:16:33] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-05 10:16:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399422015678709760,"km_value":399422015678709.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6327909347438094336,"description":"Unknown IO ID 45"} 
[2026-09-05 10:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877385728001,"power":27919,"unknown_186":206,"unknown_78":62464,"ignition":16,"odometer":null,"unknown_45":6327909347438094336}} 
[2026-09-05 10:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":171409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:16:33] local.INFO: GPS data processed {"connection_id":171409,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:16:33] local.INFO: Acknowledgment sent {"connection_id":171409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:16:56] local.INFO: TCP Data received {"connection_id":171707,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:16:56] local.INFO: Processing buffer {"connection_id":171707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:16:56] local.INFO: IMEI packet received {"connection_id":171707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":171707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:16:57] local.INFO: TCP Data received {"connection_id":171707,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:16:57] local.INFO: Processing buffer {"connection_id":171707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:16:57] local.INFO: IMEI packet received {"connection_id":171707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":171707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:17:02] local.INFO: TCP Data received {"connection_id":171707,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:17:02] local.INFO: Processing buffer {"connection_id":171707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:17:02] local.INFO: IMEI packet received {"connection_id":171707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":171707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:17:03] local.INFO: TCP Data received {"connection_id":171707,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fe300d8012d57ce400658e290001c00e72b..."} 
[2026-09-05 10:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fe300d8012d57ce400658e290001c00e72b..."} 
[2026-09-05 10:17:03] local.INFO: Processing buffer {"connection_id":171707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fe300d8012d57ce400658e290001c00e72b..."} 
[2026-09-05 10:17:03] local.INFO: Packet analysis {"connection_id":171707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fe3"} 
[2026-09-05 10:17:03] local.INFO: Extracted packet for processing {"connection_id":171707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fe3"} 
[2026-09-05 10:17:03] local.INFO: GPS Element Parsed {"raw_longitude":760729152,"raw_latitude":106488464,"longitude_deg":76.0729152,"latitude_deg":10.6488464,"altitude":28,"angle":231,"satellites":43,"speed":18,"hex_longitude":"2d57ce40","hex_latitude":"0658e290","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877386752001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399422037153546240,"note":"Value kept but may cause issues"} 
[2026-09-05 10:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6327416766228326400,"note":"Value kept but may cause issues"} 
[2026-09-05 10:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788583543000,"timestamp_ms":1788583543000,"timestamp_seconds":1788583543,"priority":1,"record_length":96,"hex_timestamp":"000001a06fe300d8"} 
[2026-09-05 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-09-05 10:17: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-09-05 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 10:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 10:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:17: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-09-05 10:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877386752001,"66":27919,"186":206,"78":62464,"24":18,"16":399422037153546240,"45":6327416766228326400},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,78,24,16,45]} 
[2026-09-05 10:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877386752001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:17:03] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-05 10:17:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399422037153546240,"km_value":399422037153546.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6327416766228326400,"description":"Unknown IO ID 45"} 
[2026-09-05 10:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877386752001,"power":27919,"unknown_186":206,"unknown_78":62464,"ignition":18,"odometer":null,"unknown_45":6327416766228326400}} 
[2026-09-05 10:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":171707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:17:03] local.INFO: GPS data processed {"connection_id":171707,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:17:03] local.INFO: Acknowledgment sent {"connection_id":171707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:17:35] local.INFO: TCP Data received {"connection_id":171707,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fe308a8012d57cac00658e100001b010529..."} 
[2026-09-05 10:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fe308a8012d57cac00658e100001b010529..."} 
[2026-09-05 10:17:35] local.INFO: Processing buffer {"connection_id":171707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fe308a8012d57cac00658e100001b010529..."} 
[2026-09-05 10:17:35] local.INFO: Packet analysis {"connection_id":171707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fe3"} 
[2026-09-05 10:17:35] local.INFO: Extracted packet for processing {"connection_id":171707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fe3"} 
[2026-09-05 10:17:35] local.INFO: GPS Element Parsed {"raw_longitude":760728256,"raw_latitude":106488064,"longitude_deg":76.0728256,"latitude_deg":10.6488064,"altitude":27,"angle":261,"satellites":41,"speed":20,"hex_longitude":"2d57cac0","hex_latitude":"0658e100","is_valid_coordinates":true} 
[2026-09-05 10:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877387008001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399422084398186496,"note":"Value kept but may cause issues"} 
[2026-09-05 10:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6327064922507350016,"note":"Value kept but may cause issues"} 
[2026-09-05 10:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788583545000,"timestamp_ms":1788583545000,"timestamp_seconds":1788583545,"priority":1,"record_length":96,"hex_timestamp":"000001a06fe308a8"} 
[2026-09-05 10:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:17:35] 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-09-05 10:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 10:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:17:35] 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-09-05 10:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877387008001,"66":27908,"186":206,"78":62464,"24":20,"16":399422084398186496,"45":6327064922507350016},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,78,24,16,45]} 
[2026-09-05 10:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877387008001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:17:35] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-05 10:17:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399422084398186496,"km_value":399422084398186.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6327064922507350016,"description":"Unknown IO ID 45"} 
[2026-09-05 10:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877387008001,"power":27908,"unknown_186":206,"unknown_78":62464,"ignition":20,"odometer":null,"unknown_45":6327064922507350016}} 
[2026-09-05 10:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":171707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:17:35] local.INFO: GPS data processed {"connection_id":171707,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:17:35] local.INFO: Acknowledgment sent {"connection_id":171707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:18:01] local.INFO: TCP Data received {"connection_id":171708,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:18:01] local.INFO: Processing buffer {"connection_id":171708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:18:01] local.INFO: IMEI packet received {"connection_id":171708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":171708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:18:01] local.INFO: TCP Data received {"connection_id":171708,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:18:01] local.INFO: Processing buffer {"connection_id":171708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:18:01] local.INFO: IMEI packet received {"connection_id":171708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":171708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:18:03] local.INFO: TCP Data received {"connection_id":171708,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:18:03] local.INFO: Processing buffer {"connection_id":171708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:18:03] local.INFO: IMEI packet received {"connection_id":171708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":171708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:18:04] local.INFO: TCP Data received {"connection_id":171708,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fe43188012d5762000658dda8002200e328..."} 
[2026-09-05 10:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fe43188012d5762000658dda8002200e328..."} 
[2026-09-05 10:18:04] local.INFO: Processing buffer {"connection_id":171708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fe43188012d5762000658dda8002200e328..."} 
[2026-09-05 10:18:04] local.INFO: Packet analysis {"connection_id":171708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fe4"} 
[2026-09-05 10:18:04] local.INFO: Extracted packet for processing {"connection_id":171708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fe4"} 
[2026-09-05 10:18:04] local.INFO: GPS Element Parsed {"raw_longitude":760701440,"raw_latitude":106487208,"longitude_deg":76.070144,"latitude_deg":10.6487208,"altitude":34,"angle":227,"satellites":40,"speed":9,"hex_longitude":"2d576200","hex_latitude":"0658dda8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877406464001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399423433017917440,"note":"Value kept but may cause issues"} 
[2026-09-05 10:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6297017468743241728,"note":"Value kept but may cause issues"} 
[2026-09-05 10:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788583621000,"timestamp_ms":1788583621000,"timestamp_seconds":1788583621,"priority":1,"record_length":96,"hex_timestamp":"000001a06fe43188"} 
[2026-09-05 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-09-05 10:18: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-09-05 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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-05 10:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 10:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:18: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-09-05 10:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877406464001,"66":27908,"186":206,"78":62464,"24":9,"16":399423433017917440,"45":6297017468743241728},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,78,24,16,45]} 
[2026-09-05 10:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877406464001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:18:04] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-05 10:18:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399423433017917440,"km_value":399423433017917.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6297017468743241728,"description":"Unknown IO ID 45"} 
[2026-09-05 10:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877406464001,"power":27908,"unknown_186":206,"unknown_78":62464,"ignition":9,"odometer":null,"unknown_45":6297017468743241728}} 
[2026-09-05 10:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":171708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:18:04] local.INFO: GPS data processed {"connection_id":171708,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:18:04] local.INFO: Acknowledgment sent {"connection_id":171708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:18:09] local.INFO: TCP Data received {"connection_id":171708,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fe43958012d5760800658dc00002200d627..."} 
[2026-09-05 10:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fe43958012d5760800658dc00002200d627..."} 
[2026-09-05 10:18:09] local.INFO: Processing buffer {"connection_id":171708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fe43958012d5760800658dc00002200d627..."} 
[2026-09-05 10:18:09] local.INFO: Packet analysis {"connection_id":171708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fe4"} 
[2026-09-05 10:18:09] local.INFO: Extracted packet for processing {"connection_id":171708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fe4"} 
[2026-09-05 10:18:09] local.INFO: GPS Element Parsed {"raw_longitude":760701056,"raw_latitude":106486784,"longitude_deg":76.0701056,"latitude_deg":10.6486784,"altitude":34,"angle":214,"satellites":39,"speed":11,"hex_longitude":"2d576080","hex_latitude":"0658dc00","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877406976001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399423458787721216,"note":"Value kept but may cause issues"} 
[2026-09-05 10:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6296595256278099968,"note":"Value kept but may cause issues"} 
[2026-09-05 10:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788583623000,"timestamp_ms":1788583623000,"timestamp_seconds":1788583623,"priority":1,"record_length":96,"hex_timestamp":"000001a06fe43958"} 
[2026-09-05 10:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:18: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-09-05 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 10:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:18:09] 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-09-05 10:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877406976001,"66":27908,"186":206,"78":62464,"24":11,"16":399423458787721216,"45":6296595256278099968},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,78,24,16,45]} 
[2026-09-05 10:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877406976001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:18:09] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-05 10:18:09] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399423458787721216,"km_value":399423458787721.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6296595256278099968,"description":"Unknown IO ID 45"} 
[2026-09-05 10:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877406976001,"power":27908,"unknown_186":206,"unknown_78":62464,"ignition":11,"odometer":null,"unknown_45":6296595256278099968}} 
[2026-09-05 10:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":171708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:18:09] local.INFO: GPS data processed {"connection_id":171708,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:18:09] local.INFO: Acknowledgment sent {"connection_id":171708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:18:41] local.INFO: TCP Data received {"connection_id":171708,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fe44128012d575f400658d958002200cb29..."} 
[2026-09-05 10:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fe44128012d575f400658d958002200cb29..."} 
[2026-09-05 10:18:41] local.INFO: Processing buffer {"connection_id":171708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fe44128012d575f400658d958002200cb29..."} 
[2026-09-05 10:18:41] local.INFO: Packet analysis {"connection_id":171708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fe4"} 
[2026-09-05 10:18:41] local.INFO: Extracted packet for processing {"connection_id":171708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fe4"} 
[2026-09-05 10:18:41] local.INFO: GPS Element Parsed {"raw_longitude":760700736,"raw_latitude":106486104,"longitude_deg":76.0700736,"latitude_deg":10.6486104,"altitude":34,"angle":203,"satellites":41,"speed":15,"hex_longitude":"2d575f40","hex_latitude":"0658d958","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877407488001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399423497442426880,"note":"Value kept but may cause issues"} 
[2026-09-05 10:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6296173043812925440,"note":"Value kept but may cause issues"} 
[2026-09-05 10:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788583625000,"timestamp_ms":1788583625000,"timestamp_seconds":1788583625,"priority":1,"record_length":96,"hex_timestamp":"000001a06fe44128"} 
[2026-09-05 10:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:18: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-09-05 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 10:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":171708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":171708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":171708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:18:41] 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-09-05 10:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877407488001,"66":27745,"186":206,"78":62464,"24":15,"16":399423497442426880,"45":6296173043812925440},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,78,24,16,45]} 
[2026-09-05 10:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877407488001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:18:41] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-05 10:18:41] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399423497442426880,"km_value":399423497442426.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6296173043812925440,"description":"Unknown IO ID 45"} 
[2026-09-05 10:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877407488001,"power":27745,"unknown_186":206,"unknown_78":62464,"ignition":15,"odometer":null,"unknown_45":6296173043812925440}} 
[2026-09-05 10:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":171708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:18:41] local.INFO: GPS data processed {"connection_id":171708,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:18:41] local.INFO: Acknowledgment sent {"connection_id":171708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:18:51] local.INFO: TCP Data received {"connection_id":171709,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:18:51] local.INFO: Processing buffer {"connection_id":171709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:18:51] local.INFO: IMEI packet received {"connection_id":171709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":171709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:18:52] local.INFO: TCP Data received {"connection_id":172817,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:18:52] local.INFO: Processing buffer {"connection_id":172817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:18:52] local.INFO: IMEI packet received {"connection_id":172817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":172817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:18:53] local.INFO: TCP Data received {"connection_id":172817,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:18:53] local.INFO: Processing buffer {"connection_id":172817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:18:53] local.INFO: IMEI packet received {"connection_id":172817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":172817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:18:55] local.INFO: TCP Data received {"connection_id":172817,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:18:55] local.INFO: Processing buffer {"connection_id":172817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:18:55] local.INFO: IMEI packet received {"connection_id":172817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":172817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:18:56] local.INFO: TCP Data received {"connection_id":172817,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:18:56] local.INFO: Processing buffer {"connection_id":172817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:18:56] local.INFO: IMEI packet received {"connection_id":172817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":172817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:19:03] local.INFO: TCP Data received {"connection_id":171709,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06fe527a0012d13cd00071e0e50002b000f1c..."} 
[2026-09-05 10:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fe527a0012d13cd00071e0e50002b000f1c..."} 
[2026-09-05 10:19:03] local.INFO: Processing buffer {"connection_id":171709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fe527a0012d13cd00071e0e50002b000f1c..."} 
[2026-09-05 10:19:03] local.INFO: Packet analysis {"connection_id":171709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fe5"} 
[2026-09-05 10:19:03] local.INFO: Extracted packet for processing {"connection_id":171709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fe5"} 
[2026-09-05 10:19:03] local.INFO: GPS Element Parsed {"raw_longitude":756272384,"raw_latitude":119410256,"longitude_deg":75.6272384,"latitude_deg":11.9410256,"altitude":43,"angle":15,"satellites":28,"speed":46,"hex_longitude":"2d13cd00","hex_latitude":"071e0e50","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877421056001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17439667460767744,"note":"Value kept but may cause issues"} 
[2026-09-05 10:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1422152350397552640,"note":"Value kept but may cause issues"} 
[2026-09-05 10:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788583684000,"timestamp_ms":1788583684000,"timestamp_seconds":1788583684,"priority":1,"record_length":96,"hex_timestamp":"000001a06fe527a0"} 
[2026-09-05 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-09-05 10:19: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-09-05 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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 10:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 10:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877421056001,"66":14080,"185":206,"83":41984,"24":46,"16":17439667460767744,"45":1422152350397552640},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-09-05 10:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877421056001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:19:04] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-05 10:19:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17439667460767744,"km_value":17439667460767.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1422152350397552640,"description":"Unknown IO ID 45"} 
[2026-09-05 10:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877421056001,"power":14080,"unknown_185":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1422152350397552640}} 
[2026-09-05 10:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":171709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:19:04] local.INFO: GPS data processed {"connection_id":171709,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:19:04] local.INFO: Acknowledgment sent {"connection_id":171709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:19:45] local.INFO: TCP Data received {"connection_id":174116,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:19:45] local.INFO: Processing buffer {"connection_id":174116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:19:45] local.INFO: IMEI packet received {"connection_id":174116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":174116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:19:50] local.INFO: TCP Data received {"connection_id":174116,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:19:50] local.INFO: Processing buffer {"connection_id":174116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:19:50] local.INFO: IMEI packet received {"connection_id":174116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":174116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:19:51] local.INFO: TCP Data received {"connection_id":174116,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06fe65c38012d137e80071ef5200027015f1c..."} 
[2026-09-05 10:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fe65c38012d137e80071ef5200027015f1c..."} 
[2026-09-05 10:19:51] local.INFO: Processing buffer {"connection_id":174116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fe65c38012d137e80071ef5200027015f1c..."} 
[2026-09-05 10:19:51] local.INFO: Packet analysis {"connection_id":174116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fe6"} 
[2026-09-05 10:19:51] local.INFO: Extracted packet for processing {"connection_id":174116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fe6"} 
[2026-09-05 10:19:51] local.INFO: GPS Element Parsed {"raw_longitude":756252288,"raw_latitude":119469344,"longitude_deg":75.6252288,"latitude_deg":11.9469344,"altitude":39,"angle":351,"satellites":28,"speed":0,"hex_longitude":"2d137e80","hex_latitude":"071ef520","is_valid_coordinates":true} 
[2026-09-05 10:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877437952001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17442746952318976,"note":"Value kept but may cause issues"} 
[2026-09-05 10:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1404700901858684928,"note":"Value kept but may cause issues"} 
[2026-09-05 10:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788583763000,"timestamp_ms":1788583763000,"timestamp_seconds":1788583763,"priority":1,"record_length":96,"hex_timestamp":"000001a06fe65c38"} 
[2026-09-05 10:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:19:51] 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-09-05 10:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-05 10:19:51] 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-09-05 10:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877437952001,"66":14450,"185":206,"83":41984,"24":0,"16":17442746952318976,"45":1404700901858684928},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-09-05 10:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877437952001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:19:51] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-05 10:19:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17442746952318976,"km_value":17442746952318.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1404700901858684928,"description":"Unknown IO ID 45"} 
[2026-09-05 10:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877437952001,"power":14450,"unknown_185":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1404700901858684928}} 
[2026-09-05 10:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":174116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:19:51] local.INFO: GPS data processed {"connection_id":174116,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:19:51] local.INFO: Acknowledgment sent {"connection_id":174116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:20:23] local.INFO: TCP Data received {"connection_id":174116,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06fe66408012d137e80071ef5f80028000b1c..."} 
[2026-09-05 10:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fe66408012d137e80071ef5f80028000b1c..."} 
[2026-09-05 10:20:23] local.INFO: Processing buffer {"connection_id":174116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fe66408012d137e80071ef5f80028000b1c..."} 
[2026-09-05 10:20:23] local.INFO: Packet analysis {"connection_id":174116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fe6"} 
[2026-09-05 10:20:23] local.INFO: Extracted packet for processing {"connection_id":174116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fe6"} 
[2026-09-05 10:20:23] local.INFO: GPS Element Parsed {"raw_longitude":756252288,"raw_latitude":119469560,"longitude_deg":75.6252288,"latitude_deg":11.946956,"altitude":40,"angle":11,"satellites":28,"speed":4,"hex_longitude":"2d137e80","hex_latitude":"071ef5f8","is_valid_coordinates":true} 
[2026-09-05 10:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877443328001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17442759837220864,"note":"Value kept but may cause issues"} 
[2026-09-05 10:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1404700901858680832,"note":"Value kept but may cause issues"} 
[2026-09-05 10:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788583765000,"timestamp_ms":1788583765000,"timestamp_seconds":1788583765,"priority":1,"record_length":96,"hex_timestamp":"000001a06fe66408"} 
[2026-09-05 10:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:20:23] 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-09-05 10:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-05 10:20:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877443328001,"66":14233,"185":206,"83":41984,"24":4,"16":17442759837220864,"45":1404700901858680832},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-09-05 10:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877443328001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:20:23] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-05 10:20:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17442759837220864,"km_value":17442759837220.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1404700901858680832,"description":"Unknown IO ID 45"} 
[2026-09-05 10:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877443328001,"power":14233,"unknown_185":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1404700901858680832}} 
[2026-09-05 10:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":174116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:20:23] local.INFO: GPS data processed {"connection_id":174116,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:20:23] local.INFO: Acknowledgment sent {"connection_id":174116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:20:45] local.INFO: TCP Data received {"connection_id":171712,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:20:45] local.INFO: Processing buffer {"connection_id":171712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:20:45] local.INFO: IMEI packet received {"connection_id":171712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":171712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:20:50] local.INFO: TCP Data received {"connection_id":171712,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:20:50] local.INFO: Processing buffer {"connection_id":171712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:20:50] local.INFO: IMEI packet received {"connection_id":171712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":171712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:20:51] local.INFO: TCP Data received {"connection_id":171712,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06fe667f0012d137e80071ef648002800201c..."} 
[2026-09-05 10:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fe667f0012d137e80071ef648002800201c..."} 
[2026-09-05 10:20:51] local.INFO: Processing buffer {"connection_id":171712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fe667f0012d137e80071ef648002800201c..."} 
[2026-09-05 10:20:51] local.INFO: Packet analysis {"connection_id":171712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fe6"} 
[2026-09-05 10:20:51] local.INFO: Extracted packet for processing {"connection_id":171712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fe6"} 
[2026-09-05 10:20:51] local.INFO: GPS Element Parsed {"raw_longitude":756252288,"raw_latitude":119469640,"longitude_deg":75.6252288,"latitude_deg":11.946964,"altitude":40,"angle":32,"satellites":28,"speed":3,"hex_longitude":"2d137e80","hex_latitude":"071ef648","is_valid_coordinates":true} 
[2026-09-05 10:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877443840001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17442764132188160,"note":"Value kept but may cause issues"} 
[2026-09-05 10:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1404700901858736128,"note":"Value kept but may cause issues"} 
[2026-09-05 10:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788583766000,"timestamp_ms":1788583766000,"timestamp_seconds":1788583766,"priority":1,"record_length":96,"hex_timestamp":"000001a06fe667f0"} 
[2026-09-05 10:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:20:51] 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-09-05 10:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-05 10:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877443840001,"66":14233,"185":206,"83":41984,"24":3,"16":17442764132188160,"45":1404700901858736128},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-09-05 10:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877443840001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:20:51] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-05 10:20:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17442764132188160,"km_value":17442764132188.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1404700901858736128,"description":"Unknown IO ID 45"} 
[2026-09-05 10:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877443840001,"power":14233,"unknown_185":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1404700901858736128}} 
[2026-09-05 10:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":171712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:20:51] local.INFO: GPS data processed {"connection_id":171712,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:20:51] local.INFO: Acknowledgment sent {"connection_id":171712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:21:22] local.INFO: TCP Data received {"connection_id":171712,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06fe67b78012d137f00071ef6c8002700361c..."} 
[2026-09-05 10:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fe67b78012d137f00071ef6c8002700361c..."} 
[2026-09-05 10:21:22] local.INFO: Processing buffer {"connection_id":171712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fe67b78012d137f00071ef6c8002700361c..."} 
[2026-09-05 10:21:22] local.INFO: Packet analysis {"connection_id":171712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fe6"} 
[2026-09-05 10:21:22] local.INFO: Extracted packet for processing {"connection_id":171712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fe6"} 
[2026-09-05 10:21:22] local.INFO: GPS Element Parsed {"raw_longitude":756252416,"raw_latitude":119469768,"longitude_deg":75.6252416,"latitude_deg":11.9469768,"altitude":39,"angle":54,"satellites":28,"speed":4,"hex_longitude":"2d137f00","hex_latitude":"071ef6c8","is_valid_coordinates":true} 
[2026-09-05 10:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877444096001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17442777017090048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1404700901858756608,"note":"Value kept but may cause issues"} 
[2026-09-05 10:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788583771000,"timestamp_ms":1788583771000,"timestamp_seconds":1788583771,"priority":1,"record_length":96,"hex_timestamp":"000001a06fe67b78"} 
[2026-09-05 10:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:21:22] 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-09-05 10:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-05 10:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877444096001,"66":14374,"185":206,"83":41984,"24":4,"16":17442777017090048,"45":1404700901858756608},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-09-05 10:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877444096001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:21:22] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-05 10:21:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17442777017090048,"km_value":17442777017090.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1404700901858756608,"description":"Unknown IO ID 45"} 
[2026-09-05 10:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877444096001,"power":14374,"unknown_185":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1404700901858756608}} 
[2026-09-05 10:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":171712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:21:22] local.INFO: GPS data processed {"connection_id":171712,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:21:22] local.INFO: Acknowledgment sent {"connection_id":171712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:21:45] local.INFO: TCP Data received {"connection_id":171713,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171713,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:21:45] local.INFO: Processing buffer {"connection_id":171713,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:21:45] local.INFO: IMEI packet received {"connection_id":171713,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":171713,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:21:46] local.INFO: TCP Data received {"connection_id":171713,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06fe6d938012c9b418007b1b7180009014628..."} 
[2026-09-05 10:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fe6d938012c9b418007b1b7180009014628..."} 
[2026-09-05 10:21:46] local.INFO: Processing buffer {"connection_id":171713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fe6d938012c9b418007b1b7180009014628..."} 
[2026-09-05 10:21:46] local.INFO: Packet analysis {"connection_id":171713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fe6"} 
[2026-09-05 10:21:46] local.INFO: Extracted packet for processing {"connection_id":171713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fe6"} 
[2026-09-05 10:21:46] local.INFO: GPS Element Parsed {"raw_longitude":748372352,"raw_latitude":129087256,"longitude_deg":74.8372352,"latitude_deg":12.9087256,"altitude":9,"angle":326,"satellites":40,"speed":57,"hex_longitude":"2c9b4180","hex_latitude":"07b1b718","is_valid_coordinates":true} 
[2026-09-05 10:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":727739258634240,"note":"Value kept but may cause issues"} 
[2026-09-05 10:21:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,241,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 10:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788583795000,"timestamp_ms":1788583795000,"timestamp_seconds":1788583795,"priority":1,"record_length":96,"hex_timestamp":"000001a06fe6d938"} 
[2026-09-05 10:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 10:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":171713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":171713,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":171713,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27626,"241":206,"9":57344,"24":57,"16":727739258634240},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16]} 
[2026-09-05 10:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-05 10:21:46] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-05 10:21:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":727739258634240,"km_value":727739258634.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:21:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27626,"unknown_241":206,"unknown_9":57344,"ignition":57,"odometer":null}} 
[2026-09-05 10:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":171713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767945,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:21:46] local.INFO: GPS data processed {"connection_id":171713,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:21:46] local.INFO: Acknowledgment sent {"connection_id":171713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:21:51] local.INFO: TCP Data received {"connection_id":171411,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:21:51] local.INFO: Processing buffer {"connection_id":171411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:21:51] local.INFO: IMEI packet received {"connection_id":171411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":171411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:21:52] local.INFO: TCP Data received {"connection_id":171411,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:21:52] local.INFO: Processing buffer {"connection_id":171411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:21:52] local.INFO: IMEI packet received {"connection_id":171411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":171411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:21:53] local.INFO: TCP Data received {"connection_id":171411,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06fe7f660012d148640071f6390002f00341d..."} 
[2026-09-05 10:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fe7f660012d148640071f6390002f00341d..."} 
[2026-09-05 10:21:53] local.INFO: Processing buffer {"connection_id":171411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fe7f660012d148640071f6390002f00341d..."} 
[2026-09-05 10:21:53] local.INFO: Packet analysis {"connection_id":171411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fe7"} 
[2026-09-05 10:21:53] local.INFO: Extracted packet for processing {"connection_id":171411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fe7"} 
[2026-09-05 10:21:53] local.INFO: GPS Element Parsed {"raw_longitude":756319808,"raw_latitude":119497616,"longitude_deg":75.6319808,"latitude_deg":11.9497616,"altitude":47,"angle":52,"satellites":29,"speed":34,"hex_longitude":"2d148640","hex_latitude":"071f6390","is_valid_coordinates":true} 
[2026-09-05 10:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877467136001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17446264530534400,"note":"Value kept but may cause issues"} 
[2026-09-05 10:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1470354940182376448,"note":"Value kept but may cause issues"} 
[2026-09-05 10:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788583868000,"timestamp_ms":1788583868000,"timestamp_seconds":1788583868,"priority":1,"record_length":96,"hex_timestamp":"000001a06fe7f660"} 
[2026-09-05 10:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:21:53] 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-09-05 10:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 10:21:53] 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-09-05 10:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877467136001,"66":14374,"11":206,"83":41984,"24":34,"16":17446264530534400,"45":1470354940182376448},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-05 10:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877467136001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:21:53] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 10:21:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17446264530534400,"km_value":17446264530534.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1470354940182376448,"description":"Unknown IO ID 45"} 
[2026-09-05 10:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877467136001,"power":14374,"unknown_11":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1470354940182376448}} 
[2026-09-05 10:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":171411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:21:53] local.INFO: GPS data processed {"connection_id":171411,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:21:53] local.INFO: Acknowledgment sent {"connection_id":171411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:21:56] local.INFO: TCP Data received {"connection_id":171411,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06fe81d70012d14a440071f7910003400381d..."} 
[2026-09-05 10:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fe81d70012d14a440071f7910003400381d..."} 
[2026-09-05 10:21:56] local.INFO: Processing buffer {"connection_id":171411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fe81d70012d14a440071f7910003400381d..."} 
[2026-09-05 10:21:56] local.INFO: Packet analysis {"connection_id":171411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fe8"} 
[2026-09-05 10:21:56] local.INFO: Extracted packet for processing {"connection_id":171411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fe8"} 
[2026-09-05 10:21:56] local.INFO: GPS Element Parsed {"raw_longitude":756327488,"raw_latitude":119503120,"longitude_deg":75.6327488,"latitude_deg":11.950312,"altitude":52,"angle":56,"satellites":29,"speed":37,"hex_longitude":"2d14a440","hex_latitude":"071f7910","is_valid_coordinates":true} 
[2026-09-05 10:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877470208001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17446715502100480,"note":"Value kept but may cause issues"} 
[2026-09-05 10:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1478939926973353984,"note":"Value kept but may cause issues"} 
[2026-09-05 10:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788583878000,"timestamp_ms":1788583878000,"timestamp_seconds":1788583878,"priority":1,"record_length":96,"hex_timestamp":"000001a06fe81d70"} 
[2026-09-05 10:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 10:21:56] 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-09-05 10:21:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877470208001,"66":14396,"11":206,"83":41984,"24":37,"16":17446715502100480,"45":1478939926973353984},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-05 10:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877470208001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:21:56] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 10:21:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17446715502100480,"km_value":17446715502100.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1478939926973353984,"description":"Unknown IO ID 45"} 
[2026-09-05 10:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877470208001,"power":14396,"unknown_11":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1478939926973353984}} 
[2026-09-05 10:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":171411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:21:56] local.INFO: GPS data processed {"connection_id":171411,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:21:56] local.INFO: Acknowledgment sent {"connection_id":171411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:22:18] local.INFO: TCP Data received {"connection_id":171713,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06fe72b40012c9b154007b1f7b0001001492b..."} 
[2026-09-05 10:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fe72b40012c9b154007b1f7b0001001492b..."} 
[2026-09-05 10:22:18] local.INFO: Processing buffer {"connection_id":171713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fe72b40012c9b154007b1f7b0001001492b..."} 
[2026-09-05 10:22:18] local.INFO: Packet analysis {"connection_id":171713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fe7"} 
[2026-09-05 10:22:18] local.INFO: Extracted packet for processing {"connection_id":171713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fe7"} 
[2026-09-05 10:22:18] local.INFO: GPS Element Parsed {"raw_longitude":748361024,"raw_latitude":129103792,"longitude_deg":74.8361024,"latitude_deg":12.9103792,"altitude":16,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2c9b1540","hex_latitude":"07b1f7b0","is_valid_coordinates":true} 
[2026-09-05 10:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877451520001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":727739258634240,"note":"Value kept but may cause issues"} 
[2026-09-05 10:22:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7259380353809836032,"note":"Value kept but may cause issues"} 
[2026-09-05 10:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788583816000,"timestamp_ms":1788583816000,"timestamp_seconds":1788583816,"priority":1,"record_length":96,"hex_timestamp":"000001a06fe72b40"} 
[2026-09-05 10:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-05 10:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:22:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":171713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":171713,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":171713,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877451520001,"66":28050,"241":206,"9":57344,"24":0,"16":727739258634240,"44":-7259380353809836032},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-09-05 10:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877451520001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:22:18] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-05 10:22:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":727739258634240,"km_value":727739258634.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:22:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7259380353809836032,"description":"Unknown IO ID 44"} 
[2026-09-05 10:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877451520001,"power":28050,"unknown_241":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7259380353809836032}} 
[2026-09-05 10:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":171713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767948,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:22:18] local.INFO: GPS data processed {"connection_id":171713,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:22:18] local.INFO: Acknowledgment sent {"connection_id":171713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:22:27] local.INFO: TCP Data received {"connection_id":171411,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06fe83cb0012d14b880071f8378003700441e..."} 
[2026-09-05 10:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fe83cb0012d14b880071f8378003700441e..."} 
[2026-09-05 10:22:27] local.INFO: Processing buffer {"connection_id":171411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fe83cb0012d14b880071f8378003700441e..."} 
[2026-09-05 10:22:27] local.INFO: Packet analysis {"connection_id":171411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fe8"} 
[2026-09-05 10:22:27] local.INFO: Extracted packet for processing {"connection_id":171411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fe8"} 
[2026-09-05 10:22:27] local.INFO: GPS Element Parsed {"raw_longitude":756332672,"raw_latitude":119505784,"longitude_deg":75.6332672,"latitude_deg":11.9505784,"altitude":55,"angle":68,"satellites":30,"speed":23,"hex_longitude":"2d14b880","hex_latitude":"071f8378","is_valid_coordinates":true} 
[2026-09-05 10:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877472768001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17446994674974720,"note":"Value kept but may cause issues"} 
[2026-09-05 10:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1487384176276082688,"note":"Value kept but may cause issues"} 
[2026-09-05 10:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788583886000,"timestamp_ms":1788583886000,"timestamp_seconds":1788583886,"priority":1,"record_length":96,"hex_timestamp":"000001a06fe83cb0"} 
[2026-09-05 10:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 10:22:27] 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-09-05 10:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877472768001,"66":14265,"11":206,"83":41984,"24":23,"16":17446994674974720,"45":1487384176276082688},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-05 10:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877472768001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:22:27] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 10:22:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17446994674974720,"km_value":17446994674974.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1487384176276082688,"description":"Unknown IO ID 45"} 
[2026-09-05 10:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877472768001,"power":14265,"unknown_11":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1487384176276082688}} 
[2026-09-05 10:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":171411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:22:27] local.INFO: GPS data processed {"connection_id":171411,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:22:27] local.INFO: Acknowledgment sent {"connection_id":171411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:22:45] local.INFO: TCP Data received {"connection_id":171412,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:22:45] local.INFO: Processing buffer {"connection_id":171412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:22:45] local.INFO: IMEI packet received {"connection_id":171412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":171412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:22:48] local.INFO: TCP Data received {"connection_id":171412,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:22:48] local.INFO: Processing buffer {"connection_id":171412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:22:48] local.INFO: IMEI packet received {"connection_id":171412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":171412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:22:49] local.INFO: TCP Data received {"connection_id":171713,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06fe89e58012c9a2d0007b3e048000801372b..."} 
[2026-09-05 10:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fe89e58012c9a2d0007b3e048000801372b..."} 
[2026-09-05 10:22:49] local.INFO: Processing buffer {"connection_id":171713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fe89e58012c9a2d0007b3e048000801372b..."} 
[2026-09-05 10:22:49] local.INFO: Packet analysis {"connection_id":171713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fe8"} 
[2026-09-05 10:22:49] local.INFO: Extracted packet for processing {"connection_id":171713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fe8"} 
[2026-09-05 10:22:49] local.INFO: GPS Element Parsed {"raw_longitude":748301568,"raw_latitude":129228872,"longitude_deg":74.8301568,"latitude_deg":12.9228872,"altitude":8,"angle":311,"satellites":43,"speed":46,"hex_longitude":"2c9a2d00","hex_latitude":"07b3e048","is_valid_coordinates":true} 
[2026-09-05 10:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877480192001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":733378550693888,"note":"Value kept but may cause issues"} 
[2026-09-05 10:22:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7333267535161106432,"note":"Value kept but may cause issues"} 
[2026-09-05 10:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788583911000,"timestamp_ms":1788583911000,"timestamp_seconds":1788583911,"priority":1,"record_length":96,"hex_timestamp":"000001a06fe89e58"} 
[2026-09-05 10:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-05 10:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":171713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":171713,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":171713,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877480192001,"66":27941,"5":206,"9":57344,"24":46,"16":733378550693888,"44":-7333267535161106432},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 10:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877480192001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:22:49] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 10:22:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":733378550693888,"km_value":733378550693.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:22:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7333267535161106432,"description":"Unknown IO ID 44"} 
[2026-09-05 10:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877480192001,"power":27941,"unknown_5":206,"unknown_9":57344,"ignition":46,"odometer":null,"unknown_44":-7333267535161106432}} 
[2026-09-05 10:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":171713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767950,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:22:49] local.INFO: GPS data processed {"connection_id":171713,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:22:49] local.INFO: Acknowledgment sent {"connection_id":171713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:22:49] local.INFO: TCP Data received {"connection_id":171412,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06fe886e8012d14dc00071f8ff0003a00441d..."} 
[2026-09-05 10:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fe886e8012d14dc00071f8ff0003a00441d..."} 
[2026-09-05 10:22:49] local.INFO: Processing buffer {"connection_id":171412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fe886e8012d14dc00071f8ff0003a00441d..."} 
[2026-09-05 10:22:49] local.INFO: Packet analysis {"connection_id":171412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fe8"} 
[2026-09-05 10:22:49] local.INFO: Extracted packet for processing {"connection_id":171412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fe8"} 
[2026-09-05 10:22:49] local.INFO: GPS Element Parsed {"raw_longitude":756341760,"raw_latitude":119508976,"longitude_deg":75.634176,"latitude_deg":11.9508976,"altitude":58,"angle":68,"satellites":29,"speed":33,"hex_longitude":"2d14dc00","hex_latitude":"071f8ff0","is_valid_coordinates":true} 
[2026-09-05 10:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877474816001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17447449941508096,"note":"Value kept but may cause issues"} 
[2026-09-05 10:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1493084044555155456,"note":"Value kept but may cause issues"} 
[2026-09-05 10:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788583905000,"timestamp_ms":1788583905000,"timestamp_seconds":1788583905,"priority":1,"record_length":96,"hex_timestamp":"000001a06fe886e8"} 
[2026-09-05 10:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:22:49] 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-09-05 10:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 10:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":171412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":171412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":171412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877474816001,"66":14461,"10":206,"83":41984,"24":33,"16":17447449941508096,"45":1493084044555155456},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-05 10:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877474816001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:22:49] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-05 10:22:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17447449941508096,"km_value":17447449941508.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1493084044555155456,"description":"Unknown IO ID 45"} 
[2026-09-05 10:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877474816001,"power":14461,"unknown_10":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1493084044555155456}} 
[2026-09-05 10:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":171412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:22:49] local.INFO: GPS data processed {"connection_id":171412,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:22:49] local.INFO: Acknowledgment sent {"connection_id":171412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:23:21] local.INFO: TCP Data received {"connection_id":171412,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06fe8adf8012d14ff00071fa018003500381d..."} 
[2026-09-05 10:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fe8adf8012d14ff00071fa018003500381d..."} 
[2026-09-05 10:23:21] local.INFO: Processing buffer {"connection_id":171412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fe8adf8012d14ff00071fa018003500381d..."} 
[2026-09-05 10:23:21] local.INFO: Packet analysis {"connection_id":171412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fe8"} 
[2026-09-05 10:23:21] local.INFO: Extracted packet for processing {"connection_id":171412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fe8"} 
[2026-09-05 10:23:21] local.INFO: GPS Element Parsed {"raw_longitude":756350720,"raw_latitude":119513112,"longitude_deg":75.635072,"latitude_deg":11.9513112,"altitude":53,"angle":56,"satellites":29,"speed":42,"hex_longitude":"2d14ff00","hex_latitude":"071fa018","is_valid_coordinates":true} 
[2026-09-05 10:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877479680001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17447922387910656,"note":"Value kept but may cause issues"} 
[2026-09-05 10:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1503076406229200896,"note":"Value kept but may cause issues"} 
[2026-09-05 10:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788583915000,"timestamp_ms":1788583915000,"timestamp_seconds":1788583915,"priority":1,"record_length":96,"hex_timestamp":"000001a06fe8adf8"} 
[2026-09-05 10:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 10:23:21] 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-09-05 10:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877479680001,"66":14004,"10":206,"83":41984,"24":42,"16":17447922387910656,"45":1503076406229200896},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-05 10:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877479680001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:23:21] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-05 10:23:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17447922387910656,"km_value":17447922387910.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1503076406229200896,"description":"Unknown IO ID 45"} 
[2026-09-05 10:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877479680001,"power":14004,"unknown_10":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1503076406229200896}} 
[2026-09-05 10:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":171412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:23:21] local.INFO: GPS data processed {"connection_id":171412,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:23:21] local.INFO: Acknowledgment sent {"connection_id":171412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:23:21] local.INFO: TCP Data received {"connection_id":171713,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06fe8c180012c9a12c007b3f9880008013d26..."} 
[2026-09-05 10:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fe8c180012c9a12c007b3f9880008013d26..."} 
[2026-09-05 10:23:21] local.INFO: Processing buffer {"connection_id":171713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fe8c180012c9a12c007b3f9880008013d26..."} 
[2026-09-05 10:23:21] local.INFO: Packet analysis {"connection_id":171713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fe8"} 
[2026-09-05 10:23:21] local.INFO: Extracted packet for processing {"connection_id":171713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fe8"} 
[2026-09-05 10:23:21] local.INFO: GPS Element Parsed {"raw_longitude":748294848,"raw_latitude":129235336,"longitude_deg":74.8294848,"latitude_deg":12.9235336,"altitude":8,"angle":317,"satellites":38,"speed":35,"hex_longitude":"2c9a12c0","hex_latitude":"07b3f988","is_valid_coordinates":true} 
[2026-09-05 10:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877481216001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":733825227292672,"note":"Value kept but may cause issues"} 
[2026-09-05 10:23:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7337208184834078720,"note":"Value kept but may cause issues"} 
[2026-09-05 10:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788583920000,"timestamp_ms":1788583920000,"timestamp_seconds":1788583920,"priority":1,"record_length":96,"hex_timestamp":"000001a06fe8c180"} 
[2026-09-05 10:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-05 10:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1076,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171713,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171713,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877481216001,"66":28082,"5":206,"9":57344,"24":35,"16":733825227292672,"44":-7337208184834078720},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 10:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877481216001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:23:21] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 10:23:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":733825227292672,"km_value":733825227292.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:23:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7337208184834078720,"description":"Unknown IO ID 44"} 
[2026-09-05 10:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877481216001,"power":28082,"unknown_5":206,"unknown_9":57344,"ignition":35,"odometer":null,"unknown_44":-7337208184834078720}} 
[2026-09-05 10:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":171713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767953,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:23:21] local.INFO: GPS data processed {"connection_id":171713,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:23:21] local.INFO: Acknowledgment sent {"connection_id":171713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:23:45] local.INFO: TCP Data received {"connection_id":171414,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:23:45] local.INFO: Processing buffer {"connection_id":171414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:23:45] local.INFO: IMEI packet received {"connection_id":171414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":171414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:23:50] local.INFO: TCP Data received {"connection_id":171414,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:23:50] local.INFO: Processing buffer {"connection_id":171414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:23:50] local.INFO: IMEI packet received {"connection_id":171414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":171414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:23:50] local.INFO: TCP Data received {"connection_id":171414,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06fe9dac0012d161a00071fe220002100501d..."} 
[2026-09-05 10:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fe9dac0012d161a00071fe220002100501d..."} 
[2026-09-05 10:23:50] local.INFO: Processing buffer {"connection_id":171414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fe9dac0012d161a00071fe220002100501d..."} 
[2026-09-05 10:23:50] local.INFO: Packet analysis {"connection_id":171414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fe9"} 
[2026-09-05 10:23:50] local.INFO: Extracted packet for processing {"connection_id":171414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fe9"} 
[2026-09-05 10:23:50] local.INFO: GPS Element Parsed {"raw_longitude":756423168,"raw_latitude":119530016,"longitude_deg":75.6423168,"latitude_deg":11.9530016,"altitude":33,"angle":80,"satellites":29,"speed":38,"hex_longitude":"2d161a00","hex_latitude":"071fe220","is_valid_coordinates":true} 
[2026-09-05 10:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877499392001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17451551635275776,"note":"Value kept but may cause issues"} 
[2026-09-05 10:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1582100505945829376,"note":"Value kept but may cause issues"} 
[2026-09-05 10:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788583992000,"timestamp_ms":1788583992000,"timestamp_seconds":1788583992,"priority":1,"record_length":96,"hex_timestamp":"000001a06fe9dac0"} 
[2026-09-05 10:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:23:50] 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-09-05 10:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 10:23:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877499392001,"66":14396,"87":206,"83":41984,"24":38,"16":17451551635275776,"45":1582100505945829376},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-05 10:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877499392001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:23:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-05 10:23:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17451551635275776,"km_value":17451551635275.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1582100505945829376,"description":"Unknown IO ID 45"} 
[2026-09-05 10:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877499392001,"power":14396,"unknown_87":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1582100505945829376}} 
[2026-09-05 10:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":171414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:23:51] local.INFO: GPS data processed {"connection_id":171414,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:23:51] local.INFO: Acknowledgment sent {"connection_id":171414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:23:54] local.INFO: TCP Data received {"connection_id":171713,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06fe8e890012c99fcc007b417180009014724..."} 
[2026-09-05 10:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fe8e890012c99fcc007b417180009014724..."} 
[2026-09-05 10:23:54] local.INFO: Processing buffer {"connection_id":171713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fe8e890012c99fcc007b417180009014724..."} 
[2026-09-05 10:23:54] local.INFO: Packet analysis {"connection_id":171713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fe8"} 
[2026-09-05 10:23:54] local.INFO: Extracted packet for processing {"connection_id":171713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fe8"} 
[2026-09-05 10:23:54] local.INFO: GPS Element Parsed {"raw_longitude":748289216,"raw_latitude":129242904,"longitude_deg":74.8289216,"latitude_deg":12.9242904,"altitude":9,"angle":327,"satellites":36,"speed":38,"hex_longitude":"2c99fcc0","hex_latitude":"07b41718","is_valid_coordinates":true} 
[2026-09-05 10:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877483520001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":734280493826048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:23:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7344596902971078656,"note":"Value kept but may cause issues"} 
[2026-09-05 10:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788583930000,"timestamp_ms":1788583930000,"timestamp_seconds":1788583930,"priority":1,"record_length":96,"hex_timestamp":"000001a06fe8e890"} 
[2026-09-05 10:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 10:23:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171713,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171713,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877483520001,"66":28006,"5":206,"9":57344,"24":38,"16":734280493826048,"44":-7344596902971078656},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 10:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877483520001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:23:54] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 10:23:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":734280493826048,"km_value":734280493826.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:23:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7344596902971078656,"description":"Unknown IO ID 44"} 
[2026-09-05 10:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877483520001,"power":28006,"unknown_5":206,"unknown_9":57344,"ignition":38,"odometer":null,"unknown_44":-7344596902971078656}} 
[2026-09-05 10:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":171713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767955,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:23:54] local.INFO: GPS data processed {"connection_id":171713,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:23:54] local.INFO: Acknowledgment sent {"connection_id":171713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:24:02] local.INFO: TCP Data received {"connection_id":171415,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:24:02] local.INFO: Processing buffer {"connection_id":171415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:24:02] local.INFO: IMEI packet received {"connection_id":171415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":171415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:24:03] local.INFO: TCP Data received {"connection_id":171415,"ip":"42.106.6.35","data_length":93,"data_hex":"00000000000000518e01000001a06fe97918012d550ac00655e300001c00de29..."} 
[2026-09-05 10:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171415,"packet_length":93,"packet_hex":"00000000000000518e01000001a06fe97918012d550ac00655e300001c00de29..."} 
[2026-09-05 10:24:03] local.INFO: Processing buffer {"connection_id":171415,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a06fe97918012d550ac00655e300001c00de29..."} 
[2026-09-05 10:24:03] local.INFO: Packet analysis {"connection_id":171415,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a06fe9"} 
[2026-09-05 10:24:03] local.INFO: Extracted packet for processing {"connection_id":171415,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a06fe9"} 
[2026-09-05 10:24:03] local.INFO: GPS Element Parsed {"raw_longitude":760548032,"raw_latitude":106291968,"longitude_deg":76.0548032,"latitude_deg":10.6291968,"altitude":28,"angle":222,"satellites":41,"speed":33,"hex_longitude":"2d550ac0","hex_latitude":"0655e300","is_valid_coordinates":true} 
[2026-09-05 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":93,"current_offset":40} 
[2026-09-05 10:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:24:03] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:24:03] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 10:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171415,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-05 10:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171415,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-05 10:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171415,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-05 10:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 10:24:03] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 10:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":171415,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 10:24:03] local.ERROR: GPS data processing failed {"connection_id":171415,"error":"No valid data to process"} 
[2026-09-05 10:24:03] local.INFO: Acknowledgment sent {"connection_id":171415,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 10:24:21] local.INFO: TCP Data received {"connection_id":171414,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06fe9ee48012d162a80071fe650002200451d..."} 
[2026-09-05 10:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fe9ee48012d162a80071fe650002200451d..."} 
[2026-09-05 10:24:21] local.INFO: Processing buffer {"connection_id":171414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fe9ee48012d162a80071fe650002200451d..."} 
[2026-09-05 10:24:21] local.INFO: Packet analysis {"connection_id":171414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fe9"} 
[2026-09-05 10:24:21] local.INFO: Extracted packet for processing {"connection_id":171414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fe9"} 
[2026-09-05 10:24:21] local.INFO: GPS Element Parsed {"raw_longitude":756427392,"raw_latitude":119531088,"longitude_deg":75.6427392,"latitude_deg":11.9531088,"altitude":34,"angle":69,"satellites":29,"speed":29,"hex_longitude":"2d162a80","hex_latitude":"071fe650","is_valid_coordinates":true} 
[2026-09-05 10:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877501952001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17451757793705984,"note":"Value kept but may cause issues"} 
[2026-09-05 10:24:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1592585448828575744,"note":"Value kept but may cause issues"} 
[2026-09-05 10:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788583997000,"timestamp_ms":1788583997000,"timestamp_seconds":1788583997,"priority":1,"record_length":96,"hex_timestamp":"000001a06fe9ee48"} 
[2026-09-05 10:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:24:21] 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-09-05 10:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 10:24:21] 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-09-05 10:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:24:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877501952001,"66":14461,"87":206,"83":41984,"24":29,"16":17451757793705984,"45":1592585448828575744},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-05 10:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877501952001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:24:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-05 10:24:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17451757793705984,"km_value":17451757793705.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:24:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1592585448828575744,"description":"Unknown IO ID 45"} 
[2026-09-05 10:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877501952001,"power":14461,"unknown_87":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1592585448828575744}} 
[2026-09-05 10:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":171414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:24:21] local.INFO: GPS data processed {"connection_id":171414,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:24:21] local.INFO: Acknowledgment sent {"connection_id":171414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:24:27] local.INFO: TCP Data received {"connection_id":171713,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06fe90bb8012c99e90007b43378000b013a25..."} 
[2026-09-05 10:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fe90bb8012c99e90007b43378000b013a25..."} 
[2026-09-05 10:24:27] local.INFO: Processing buffer {"connection_id":171713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fe90bb8012c99e90007b43378000b013a25..."} 
[2026-09-05 10:24:27] local.INFO: Packet analysis {"connection_id":171713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fe9"} 
[2026-09-05 10:24:27] local.INFO: Extracted packet for processing {"connection_id":171713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fe9"} 
[2026-09-05 10:24:27] local.INFO: GPS Element Parsed {"raw_longitude":748284160,"raw_latitude":129250168,"longitude_deg":74.828416,"latitude_deg":12.9250168,"altitude":11,"angle":314,"satellites":37,"speed":39,"hex_longitude":"2c99e900","hex_latitude":"07b43378","is_valid_coordinates":true} 
[2026-09-05 10:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877486080001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":734705695588352,"note":"Value kept but may cause issues"} 
[2026-09-05 10:24:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7350789352456775680,"note":"Value kept but may cause issues"} 
[2026-09-05 10:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788583939000,"timestamp_ms":1788583939000,"timestamp_seconds":1788583939,"priority":1,"record_length":96,"hex_timestamp":"000001a06fe90bb8"} 
[2026-09-05 10:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 10:24:27] 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-09-05 10:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171713,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171713,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877486080001,"66":28050,"5":206,"9":57344,"24":39,"16":734705695588352,"44":-7350789352456775680},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 10:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877486080001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:24:27] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 10:24:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":734705695588352,"km_value":734705695588.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:24:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7350789352456775680,"description":"Unknown IO ID 44"} 
[2026-09-05 10:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877486080001,"power":28050,"unknown_5":206,"unknown_9":57344,"ignition":39,"odometer":null,"unknown_44":-7350789352456775680}} 
[2026-09-05 10:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":171713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767957,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:24:27] local.INFO: GPS data processed {"connection_id":171713,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:24:27] local.INFO: Acknowledgment sent {"connection_id":171713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:24:34] local.INFO: TCP Data received {"connection_id":171415,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fe98ca0012d54ff800655d8d0001900e927..."} 
[2026-09-05 10:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fe98ca0012d54ff800655d8d0001900e927..."} 
[2026-09-05 10:24:34] local.INFO: Processing buffer {"connection_id":171415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fe98ca0012d54ff800655d8d0001900e927..."} 
[2026-09-05 10:24:34] local.INFO: Packet analysis {"connection_id":171415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fe9"} 
[2026-09-05 10:24:34] local.INFO: Extracted packet for processing {"connection_id":171415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fe9"} 
[2026-09-05 10:24:34] local.INFO: GPS Element Parsed {"raw_longitude":760545152,"raw_latitude":106289360,"longitude_deg":76.0545152,"latitude_deg":10.628936,"altitude":25,"angle":233,"satellites":39,"speed":29,"hex_longitude":"2d54ff80","hex_latitude":"0655d8d0","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877495552001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399436219135557632,"note":"Value kept but may cause issues"} 
[2026-09-05 10:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6127921376434257920,"note":"Value kept but may cause issues"} 
[2026-09-05 10:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788583972000,"timestamp_ms":1788583972000,"timestamp_seconds":1788583972,"priority":1,"record_length":96,"hex_timestamp":"000001a06fe98ca0"} 
[2026-09-05 10:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 10:24: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-09-05 10: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-09-05 10:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877495552001,"66":27995,"178":206,"78":62464,"24":29,"16":399436219135557632,"45":6127921376434257920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,78,24,16,45]} 
[2026-09-05 10:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877495552001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:24:34] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-05 10:24:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399436219135557632,"km_value":399436219135557.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6127921376434257920,"description":"Unknown IO ID 45"} 
[2026-09-05 10:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877495552001,"power":27995,"unknown_178":206,"unknown_78":62464,"ignition":29,"odometer":null,"unknown_45":6127921376434257920}} 
[2026-09-05 10:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":171415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:24:34] local.INFO: GPS data processed {"connection_id":171415,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:24:34] local.INFO: Acknowledgment sent {"connection_id":171415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:24:45] local.INFO: TCP Data received {"connection_id":174117,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:24:45] local.INFO: Processing buffer {"connection_id":174117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:24:45] local.INFO: IMEI packet received {"connection_id":174117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":174117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:24:50] local.INFO: TCP Data received {"connection_id":174117,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:24:50] local.INFO: Processing buffer {"connection_id":174117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:24:50] local.INFO: IMEI packet received {"connection_id":174117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":174117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:24:52] local.INFO: TCP Data received {"connection_id":174117,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06fea2110012d164b80071ff5c00027003e1d..."} 
[2026-09-05 10:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fea2110012d164b80071ff5c00027003e1d..."} 
[2026-09-05 10:24:52] local.INFO: Processing buffer {"connection_id":174117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fea2110012d164b80071ff5c00027003e1d..."} 
[2026-09-05 10:24:52] local.INFO: Packet analysis {"connection_id":174117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fea"} 
[2026-09-05 10:24:52] local.INFO: Extracted packet for processing {"connection_id":174117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fea"} 
[2026-09-05 10:24:52] local.INFO: GPS Element Parsed {"raw_longitude":756435840,"raw_latitude":119535040,"longitude_deg":75.643584,"latitude_deg":11.953504,"altitude":39,"angle":62,"satellites":29,"speed":34,"hex_longitude":"2d164b80","hex_latitude":"071ff5c0","is_valid_coordinates":true} 
[2026-09-05 10:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877503232001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17452204470304768,"note":"Value kept but may cause issues"} 
[2026-09-05 10:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1597229785944576000,"note":"Value kept but may cause issues"} 
[2026-09-05 10:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788584010000,"timestamp_ms":1788584010000,"timestamp_seconds":1788584010,"priority":1,"record_length":96,"hex_timestamp":"000001a06fea2110"} 
[2026-09-05 10:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:24:52] 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-09-05 10:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 10:24:52] 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-09-05 10:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877503232001,"66":14363,"87":206,"83":41984,"24":34,"16":17452204470304768,"45":1597229785944576000},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-05 10:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877503232001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:24:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-05 10:24:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17452204470304768,"km_value":17452204470304.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1597229785944576000,"description":"Unknown IO ID 45"} 
[2026-09-05 10:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877503232001,"power":14363,"unknown_87":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1597229785944576000}} 
[2026-09-05 10:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":174117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:24:52] local.INFO: GPS data processed {"connection_id":174117,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:24:52] local.INFO: Acknowledgment sent {"connection_id":174117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:24:57] local.INFO: TCP Data received {"connection_id":171416,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:24:57] local.INFO: Processing buffer {"connection_id":171416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:24:57] local.INFO: IMEI packet received {"connection_id":171416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":171416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:25:02] local.INFO: TCP Data received {"connection_id":171416,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:25:02] local.INFO: Processing buffer {"connection_id":171416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:25:02] local.INFO: IMEI packet received {"connection_id":171416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":171416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:25:03] local.INFO: TCP Data received {"connection_id":171416,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fe9b798012d54e2400655c4b8001300e927..."} 
[2026-09-05 10:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fe9b798012d54e2400655c4b8001300e927..."} 
[2026-09-05 10:25:03] local.INFO: Processing buffer {"connection_id":171416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fe9b798012d54e2400655c4b8001300e927..."} 
[2026-09-05 10:25:03] local.INFO: Packet analysis {"connection_id":171416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fe9"} 
[2026-09-05 10:25:03] local.INFO: Extracted packet for processing {"connection_id":171416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fe9"} 
[2026-09-05 10:25:03] local.INFO: GPS Element Parsed {"raw_longitude":760537664,"raw_latitude":106284216,"longitude_deg":76.0537664,"latitude_deg":10.6284216,"altitude":19,"angle":233,"satellites":39,"speed":34,"hex_longitude":"2d54e240","hex_latitude":"0655c4b8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877496832001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399436657222221824,"note":"Value kept but may cause issues"} 
[2026-09-05 10:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6124754782945595392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788583983000,"timestamp_ms":1788583983000,"timestamp_seconds":1788583983,"priority":1,"record_length":96,"hex_timestamp":"000001a06fe9b798"} 
[2026-09-05 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-09-05 10:25: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-09-05 10:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 10:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 10:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:25: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-09-05 10:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877496832001,"66":27865,"178":206,"78":62464,"24":34,"16":399436657222221824,"45":6124754782945595392},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,78,24,16,45]} 
[2026-09-05 10:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877496832001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:25:03] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-05 10:25:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399436657222221824,"km_value":399436657222221.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6124754782945595392,"description":"Unknown IO ID 45"} 
[2026-09-05 10:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877496832001,"power":27865,"unknown_178":206,"unknown_78":62464,"ignition":34,"odometer":null,"unknown_45":6124754782945595392}} 
[2026-09-05 10:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":171416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:25:03] local.INFO: GPS data processed {"connection_id":171416,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:25:03] local.INFO: Acknowledgment sent {"connection_id":171416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:25:04] local.INFO: TCP Data received {"connection_id":171713,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06feaa1f8012c98ef8007b57a40000901412c..."} 
[2026-09-05 10:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06feaa1f8012c98ef8007b57a40000901412c..."} 
[2026-09-05 10:25:04] local.INFO: Processing buffer {"connection_id":171713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06feaa1f8012c98ef8007b57a40000901412c..."} 
[2026-09-05 10:25:04] local.INFO: Packet analysis {"connection_id":171713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fea"} 
[2026-09-05 10:25:04] local.INFO: Extracted packet for processing {"connection_id":171713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fea"} 
[2026-09-05 10:25:04] local.INFO: GPS Element Parsed {"raw_longitude":748220288,"raw_latitude":129333824,"longitude_deg":74.8220288,"latitude_deg":12.9333824,"altitude":9,"angle":321,"satellites":44,"speed":58,"hex_longitude":"2c98ef80","hex_latitude":"07b57a40","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877513216001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":739838181507072,"note":"Value kept but may cause issues"} 
[2026-09-05 10:25:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7419609984241352704,"note":"Value kept but may cause issues"} 
[2026-09-05 10:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788584043000,"timestamp_ms":1788584043000,"timestamp_seconds":1788584043,"priority":1,"record_length":96,"hex_timestamp":"000001a06feaa1f8"} 
[2026-09-05 10:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:25: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-09-05 10: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 10:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171713,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171713,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877513216001,"66":28137,"5":206,"9":57344,"24":58,"16":739838181507072,"44":-7419609984241352704},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 10:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877513216001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:25:04] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 10:25:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":739838181507072,"km_value":739838181507.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:25:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7419609984241352704,"description":"Unknown IO ID 44"} 
[2026-09-05 10:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877513216001,"power":28137,"unknown_5":206,"unknown_9":57344,"ignition":58,"odometer":null,"unknown_44":-7419609984241352704}} 
[2026-09-05 10:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":171713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767961,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:25:04] local.INFO: GPS data processed {"connection_id":171713,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:25:04] local.INFO: Acknowledgment sent {"connection_id":171713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:25:23] local.INFO: TCP Data received {"connection_id":174117,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06fea4820012d166e0007200748002a003f1c..."} 
[2026-09-05 10:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fea4820012d166e0007200748002a003f1c..."} 
[2026-09-05 10:25:23] local.INFO: Processing buffer {"connection_id":174117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fea4820012d166e0007200748002a003f1c..."} 
[2026-09-05 10:25:23] local.INFO: Packet analysis {"connection_id":174117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fea"} 
[2026-09-05 10:25:23] local.INFO: Extracted packet for processing {"connection_id":174117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fea"} 
[2026-09-05 10:25:23] local.INFO: GPS Element Parsed {"raw_longitude":756444672,"raw_latitude":119539528,"longitude_deg":75.6444672,"latitude_deg":11.9539528,"altitude":42,"angle":63,"satellites":28,"speed":41,"hex_longitude":"2d166e00","hex_latitude":"07200748","is_valid_coordinates":true} 
[2026-09-05 10:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877506560001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17452676916707328,"note":"Value kept but may cause issues"} 
[2026-09-05 10:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1606518460177039360,"note":"Value kept but may cause issues"} 
[2026-09-05 10:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788584020000,"timestamp_ms":1788584020000,"timestamp_seconds":1788584020,"priority":1,"record_length":96,"hex_timestamp":"000001a06fea4820"} 
[2026-09-05 10:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:25:23] 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-09-05 10:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 10:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877506560001,"66":14298,"87":206,"83":41984,"24":41,"16":17452676916707328,"45":1606518460177039360},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-05 10:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877506560001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:25:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-05 10:25:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17452676916707328,"km_value":17452676916707.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1606518460177039360,"description":"Unknown IO ID 45"} 
[2026-09-05 10:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877506560001,"power":14298,"unknown_87":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1606518460177039360}} 
[2026-09-05 10:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":174117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:25:23] local.INFO: GPS data processed {"connection_id":174117,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:25:23] local.INFO: Acknowledgment sent {"connection_id":174117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:25:34] local.INFO: TCP Data received {"connection_id":171416,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06feb1728012d5426000654d6e8000a00d027..."} 
[2026-09-05 10:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06feb1728012d5426000654d6e8000a00d027..."} 
[2026-09-05 10:25:34] local.INFO: Processing buffer {"connection_id":171416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06feb1728012d5426000654d6e8000a00d027..."} 
[2026-09-05 10:25:34] local.INFO: Packet analysis {"connection_id":171416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06feb"} 
[2026-09-05 10:25:34] local.INFO: Extracted packet for processing {"connection_id":171416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06feb"} 
[2026-09-05 10:25:34] local.INFO: GPS Element Parsed {"raw_longitude":760489472,"raw_latitude":106223336,"longitude_deg":76.0489472,"latitude_deg":10.6223336,"altitude":10,"angle":208,"satellites":39,"speed":47,"hex_longitude":"2d542600","hex_latitude":"0654d6e8","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877520640001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399440668721676288,"note":"Value kept but may cause issues"} 
[2026-09-05 10:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6068530156332834816,"note":"Value kept but may cause issues"} 
[2026-09-05 10:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788584073000,"timestamp_ms":1788584073000,"timestamp_seconds":1788584073,"priority":1,"record_length":96,"hex_timestamp":"000001a06feb1728"} 
[2026-09-05 10:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 10:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877520640001,"66":27974,"86":206,"78":62464,"24":47,"16":399440668721676288,"45":6068530156332834816},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,78,24,16,45]} 
[2026-09-05 10:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877520640001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:25:34] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-05 10:25:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399440668721676288,"km_value":399440668721676.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6068530156332834816,"description":"Unknown IO ID 45"} 
[2026-09-05 10:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877520640001,"power":27974,"unknown_86":206,"unknown_78":62464,"ignition":47,"odometer":null,"unknown_45":6068530156332834816}} 
[2026-09-05 10:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":171416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:25:34] local.INFO: GPS data processed {"connection_id":171416,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:25:34] local.INFO: Acknowledgment sent {"connection_id":171416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:25:45] local.INFO: TCP Data received {"connection_id":172819,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:25:45] local.INFO: Processing buffer {"connection_id":172819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:25:45] local.INFO: IMEI packet received {"connection_id":172819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":172819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:25:47] local.INFO: TCP Data received {"connection_id":172819,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:25:47] local.INFO: Processing buffer {"connection_id":172819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:25:47] local.INFO: IMEI packet received {"connection_id":172819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":172819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:25:50] local.INFO: TCP Data received {"connection_id":172819,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:25:50] local.INFO: Processing buffer {"connection_id":172819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:25:50] local.INFO: IMEI packet received {"connection_id":172819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":172819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:25:51] local.INFO: TCP Data received {"connection_id":172819,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06febcec0012d179e8007210e40003f00371e..."} 
[2026-09-05 10:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06febcec0012d179e8007210e40003f00371e..."} 
[2026-09-05 10:25:51] local.INFO: Processing buffer {"connection_id":172819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06febcec0012d179e8007210e40003f00371e..."} 
[2026-09-05 10:25:51] local.INFO: Packet analysis {"connection_id":172819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06feb"} 
[2026-09-05 10:25:51] local.INFO: Extracted packet for processing {"connection_id":172819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06feb"} 
[2026-09-05 10:25:51] local.INFO: GPS Element Parsed {"raw_longitude":756522624,"raw_latitude":119606848,"longitude_deg":75.6522624,"latitude_deg":11.9606848,"altitude":63,"angle":55,"satellites":30,"speed":39,"hex_longitude":"2d179e80","hex_latitude":"07210e40","is_valid_coordinates":true} 
[2026-09-05 10:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877532160001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17457650488836096,"note":"Value kept but may cause issues"} 
[2026-09-05 10:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1693634965485862912,"note":"Value kept but may cause issues"} 
[2026-09-05 10:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788584120000,"timestamp_ms":1788584120000,"timestamp_seconds":1788584120,"priority":1,"record_length":96,"hex_timestamp":"000001a06febcec0"} 
[2026-09-05 10:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:25:51] 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-09-05 10:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-05 10:25:51] 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-09-05 10:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877532160001,"66":14026,"107":206,"83":41984,"24":39,"16":17457650488836096,"45":1693634965485862912},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-05 10:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877532160001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:25:51] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-05 10:25:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17457650488836096,"km_value":17457650488836.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1693634965485862912,"description":"Unknown IO ID 45"} 
[2026-09-05 10:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877532160001,"power":14026,"unknown_107":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1693634965485862912}} 
[2026-09-05 10:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":172819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:25:51] local.INFO: GPS data processed {"connection_id":172819,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:25:51] local.INFO: Acknowledgment sent {"connection_id":172819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:25:53] local.INFO: TCP Data received {"connection_id":171715,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:25:53] local.INFO: Processing buffer {"connection_id":171715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:25:53] local.INFO: IMEI packet received {"connection_id":171715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":171715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:25:56] local.INFO: TCP Data received {"connection_id":174118,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:25:56] local.INFO: Processing buffer {"connection_id":174118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:25:56] local.INFO: IMEI packet received {"connection_id":174118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":174118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:25:57] local.INFO: TCP Data received {"connection_id":174118,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:25:57] local.INFO: Processing buffer {"connection_id":174118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:25:57] local.INFO: IMEI packet received {"connection_id":174118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":174118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:26:02] local.INFO: TCP Data received {"connection_id":174118,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:26:02] local.INFO: Processing buffer {"connection_id":174118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:26:02] local.INFO: IMEI packet received {"connection_id":174118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":174118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:26:03] local.INFO: TCP Data received {"connection_id":174118,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06feb3668012d5414000654b5c0000a00cf27..."} 
[2026-09-05 10:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06feb3668012d5414000654b5c0000a00cf27..."} 
[2026-09-05 10:26:03] local.INFO: Processing buffer {"connection_id":174118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06feb3668012d5414000654b5c0000a00cf27..."} 
[2026-09-05 10:26:03] local.INFO: Packet analysis {"connection_id":174118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06feb"} 
[2026-09-05 10:26:03] local.INFO: Extracted packet for processing {"connection_id":174118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06feb"} 
[2026-09-05 10:26:03] local.INFO: GPS Element Parsed {"raw_longitude":760484864,"raw_latitude":106214848,"longitude_deg":76.0484864,"latitude_deg":10.6214848,"altitude":10,"angle":207,"satellites":39,"speed":48,"hex_longitude":"2d541400","hex_latitude":"0654b5c0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877522688001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399441136873111552,"note":"Value kept but may cause issues"} 
[2026-09-05 10:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6063533975494125568,"note":"Value kept but may cause issues"} 
[2026-09-05 10:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788584081000,"timestamp_ms":1788584081000,"timestamp_seconds":1788584081,"priority":1,"record_length":96,"hex_timestamp":"000001a06feb3668"} 
[2026-09-05 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-09-05 10:26: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-09-05 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 10:26:03] 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-09-05 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-09-05 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-09-05 10:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:26: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-09-05 10:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877522688001,"66":27821,"86":206,"78":62464,"24":48,"16":399441136873111552,"45":6063533975494125568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,78,24,16,45]} 
[2026-09-05 10:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877522688001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:26:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-05 10:26:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399441136873111552,"km_value":399441136873111.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6063533975494125568,"description":"Unknown IO ID 45"} 
[2026-09-05 10:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877522688001,"power":27821,"unknown_86":206,"unknown_78":62464,"ignition":48,"odometer":null,"unknown_45":6063533975494125568}} 
[2026-09-05 10:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":174118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:26:03] local.INFO: GPS data processed {"connection_id":174118,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:26:03] local.INFO: Acknowledgment sent {"connection_id":174118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:26:04] local.INFO: TCP Data received {"connection_id":171715,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:26:04] local.INFO: Processing buffer {"connection_id":171715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:26:04] local.INFO: IMEI packet received {"connection_id":171715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":171715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:26:07] local.INFO: TCP Data received {"connection_id":171715,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06feab968012c98d98007b59570000901412b..."} 
[2026-09-05 10:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06feab968012c98d98007b59570000901412b..."} 
[2026-09-05 10:26:07] local.INFO: Processing buffer {"connection_id":171715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06feab968012c98d98007b59570000901412b..."} 
[2026-09-05 10:26:07] local.INFO: Packet analysis {"connection_id":171715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fea"} 
[2026-09-05 10:26:07] local.INFO: Extracted packet for processing {"connection_id":171715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fea"} 
[2026-09-05 10:26:07] local.INFO: GPS Element Parsed {"raw_longitude":748214656,"raw_latitude":129340784,"longitude_deg":74.8214656,"latitude_deg":12.9340784,"altitude":9,"angle":321,"satellites":43,"speed":59,"hex_longitude":"2c98d980","hex_latitude":"07b59570","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877515008001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":740267678236672,"note":"Value kept but may cause issues"} 
[2026-09-05 10:26:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7426576489912844288,"note":"Value kept but may cause issues"} 
[2026-09-05 10:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788584049000,"timestamp_ms":1788584049000,"timestamp_seconds":1788584049,"priority":1,"record_length":96,"hex_timestamp":"000001a06feab968"} 
[2026-09-05 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-09-05 10:26: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-09-05 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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 10:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 10:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877515008001,"66":28028,"5":206,"9":57344,"24":59,"16":740267678236672,"44":-7426576489912844288},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 10:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877515008001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:26:07] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 10:26:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":740267678236672,"km_value":740267678236.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:26:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7426576489912844288,"description":"Unknown IO ID 44"} 
[2026-09-05 10:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877515008001,"power":28028,"unknown_5":206,"unknown_9":57344,"ignition":59,"odometer":null,"unknown_44":-7426576489912844288}} 
[2026-09-05 10:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":171715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767966,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:26:07] local.INFO: GPS data processed {"connection_id":171715,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:26:07] local.INFO: Acknowledgment sent {"connection_id":171715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:26:23] local.INFO: TCP Data received {"connection_id":172819,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06febf1e8012d17ba00072125d8003d002a1e..."} 
[2026-09-05 10:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06febf1e8012d17ba00072125d8003d002a1e..."} 
[2026-09-05 10:26:23] local.INFO: Processing buffer {"connection_id":172819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06febf1e8012d17ba00072125d8003d002a1e..."} 
[2026-09-05 10:26:23] local.INFO: Packet analysis {"connection_id":172819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06feb"} 
[2026-09-05 10:26:23] local.INFO: Extracted packet for processing {"connection_id":172819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06feb"} 
[2026-09-05 10:26:23] local.INFO: GPS Element Parsed {"raw_longitude":756529664,"raw_latitude":119612888,"longitude_deg":75.6529664,"latitude_deg":11.9612888,"altitude":61,"angle":42,"satellites":30,"speed":42,"hex_longitude":"2d17ba00","hex_latitude":"072125d8","is_valid_coordinates":true} 
[2026-09-05 10:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877534720001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17458097165434880,"note":"Value kept but may cause issues"} 
[2026-09-05 10:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701938477300334592,"note":"Value kept but may cause issues"} 
[2026-09-05 10:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788584129000,"timestamp_ms":1788584129000,"timestamp_seconds":1788584129,"priority":1,"record_length":96,"hex_timestamp":"000001a06febf1e8"} 
[2026-09-05 10:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:26:23] 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-09-05 10:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-05 10:26:23] 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-09-05 10:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877534720001,"66":13993,"107":206,"83":41984,"24":42,"16":17458097165434880,"45":1701938477300334592},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-05 10:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877534720001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:26:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-05 10:26:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17458097165434880,"km_value":17458097165434.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701938477300334592,"description":"Unknown IO ID 45"} 
[2026-09-05 10:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877534720001,"power":13993,"unknown_107":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1701938477300334592}} 
[2026-09-05 10:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":172819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:26:23] local.INFO: GPS data processed {"connection_id":172819,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:26:23] local.INFO: Acknowledgment sent {"connection_id":172819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:26:34] local.INFO: TCP Data received {"connection_id":174118,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06feb55a8012d5400c006549310000c00d127..."} 
[2026-09-05 10:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06feb55a8012d5400c006549310000c00d127..."} 
[2026-09-05 10:26:34] local.INFO: Processing buffer {"connection_id":174118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06feb55a8012d5400c006549310000c00d127..."} 
[2026-09-05 10:26:34] local.INFO: Packet analysis {"connection_id":174118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06feb"} 
[2026-09-05 10:26:34] local.INFO: Extracted packet for processing {"connection_id":174118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06feb"} 
[2026-09-05 10:26:34] local.INFO: GPS Element Parsed {"raw_longitude":760479936,"raw_latitude":106205968,"longitude_deg":76.0479936,"latitude_deg":10.6205968,"altitude":12,"angle":209,"satellites":39,"speed":50,"hex_longitude":"2d5400c0","hex_latitude":"06549310","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877524736001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399441626499383296,"note":"Value kept but may cause issues"} 
[2026-09-05 10:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6058467425911160832,"note":"Value kept but may cause issues"} 
[2026-09-05 10:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788584089000,"timestamp_ms":1788584089000,"timestamp_seconds":1788584089,"priority":1,"record_length":96,"hex_timestamp":"000001a06feb55a8"} 
[2026-09-05 10:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 10:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877524736001,"66":27821,"87":206,"78":62464,"24":50,"16":399441626499383296,"45":6058467425911160832},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,78,24,16,45]} 
[2026-09-05 10:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877524736001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:26:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-05 10:26:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399441626499383296,"km_value":399441626499383.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6058467425911160832,"description":"Unknown IO ID 45"} 
[2026-09-05 10:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877524736001,"power":27821,"unknown_87":206,"unknown_78":62464,"ignition":50,"odometer":null,"unknown_45":6058467425911160832}} 
[2026-09-05 10:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":174118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:26:34] local.INFO: GPS data processed {"connection_id":174118,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:26:34] local.INFO: Acknowledgment sent {"connection_id":174118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:26:39] local.INFO: TCP Data received {"connection_id":171715,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06febe630012c97ca0007b6da58000f014c2b..."} 
[2026-09-05 10:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06febe630012c97ca0007b6da58000f014c2b..."} 
[2026-09-05 10:26:39] local.INFO: Processing buffer {"connection_id":171715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06febe630012c97ca0007b6da58000f014c2b..."} 
[2026-09-05 10:26:39] local.INFO: Packet analysis {"connection_id":171715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06feb"} 
[2026-09-05 10:26:39] local.INFO: Extracted packet for processing {"connection_id":171715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06feb"} 
[2026-09-05 10:26:39] local.INFO: GPS Element Parsed {"raw_longitude":748145152,"raw_latitude":129423960,"longitude_deg":74.8145152,"latitude_deg":12.942396,"altitude":15,"angle":332,"satellites":43,"speed":50,"hex_longitude":"2c97ca00","hex_latitude":"07b6da58","is_valid_coordinates":true} 
[2026-09-05 10:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877534464001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":745507538337792,"note":"Value kept but may cause issues"} 
[2026-09-05 10:26:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7504404320952330240,"note":"Value kept but may cause issues"} 
[2026-09-05 10:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788584126000,"timestamp_ms":1788584126000,"timestamp_seconds":1788584126,"priority":1,"record_length":96,"hex_timestamp":"000001a06febe630"} 
[2026-09-05 10:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:26: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-09-05 10:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 10:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877534464001,"66":27995,"226":206,"9":57344,"24":50,"16":745507538337792,"44":-7504404320952330240},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,9,24,16,44]} 
[2026-09-05 10:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877534464001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:26:39] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-05 10:26:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":745507538337792,"km_value":745507538337.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:26:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7504404320952330240,"description":"Unknown IO ID 44"} 
[2026-09-05 10:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877534464001,"power":27995,"unknown_226":206,"unknown_9":57344,"ignition":50,"odometer":null,"unknown_44":-7504404320952330240}} 
[2026-09-05 10:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":171715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767969,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:26:39] local.INFO: GPS data processed {"connection_id":171715,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:26:39] local.INFO: Acknowledgment sent {"connection_id":171715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:26:50] local.INFO: TCP Data received {"connection_id":172820,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:26:50] local.INFO: Processing buffer {"connection_id":172820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:26:50] local.INFO: IMEI packet received {"connection_id":172820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":172820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:26:52] local.INFO: TCP Data received {"connection_id":172820,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:26:52] local.INFO: Processing buffer {"connection_id":172820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:26:52] local.INFO: IMEI packet received {"connection_id":172820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":172820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:26:53] local.INFO: TCP Data received {"connection_id":172820,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06febf1e8012d17ba00072125d8003d002a1e..."} 
[2026-09-05 10:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06febf1e8012d17ba00072125d8003d002a1e..."} 
[2026-09-05 10:26:53] local.INFO: Processing buffer {"connection_id":172820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06febf1e8012d17ba00072125d8003d002a1e..."} 
[2026-09-05 10:26:53] local.INFO: Packet analysis {"connection_id":172820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06feb"} 
[2026-09-05 10:26:53] local.INFO: Extracted packet for processing {"connection_id":172820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06feb"} 
[2026-09-05 10:26:53] local.INFO: GPS Element Parsed {"raw_longitude":756529664,"raw_latitude":119612888,"longitude_deg":75.6529664,"latitude_deg":11.9612888,"altitude":61,"angle":42,"satellites":30,"speed":42,"hex_longitude":"2d17ba00","hex_latitude":"072125d8","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877537024001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17458097165434880,"note":"Value kept but may cause issues"} 
[2026-09-05 10:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1709679039161423872,"note":"Value kept but may cause issues"} 
[2026-09-05 10:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788584129000,"timestamp_ms":1788584129000,"timestamp_seconds":1788584129,"priority":1,"record_length":96,"hex_timestamp":"000001a06febf1e8"} 
[2026-09-05 10:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:26:53] 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-09-05 10: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 10:26: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-09-05 10: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-09-05 10:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877537024001,"66":13993,"107":206,"83":41984,"24":42,"16":17458097165434880,"45":1709679039161423872},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-05 10:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877537024001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:26:53] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-05 10:26:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17458097165434880,"km_value":17458097165434.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1709679039161423872,"description":"Unknown IO ID 45"} 
[2026-09-05 10:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877537024001,"power":13993,"unknown_107":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1709679039161423872}} 
[2026-09-05 10:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":172820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:26:53] local.INFO: GPS data processed {"connection_id":172820,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:26:53] local.INFO: Acknowledgment sent {"connection_id":172820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:26:54] local.INFO: TCP Data received {"connection_id":172820,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06fec0958012d17c900072139a0003f001f1e..."} 
[2026-09-05 10:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fec0958012d17c900072139a0003f001f1e..."} 
[2026-09-05 10:26:54] local.INFO: Processing buffer {"connection_id":172820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fec0958012d17c900072139a0003f001f1e..."} 
[2026-09-05 10:26:54] local.INFO: Packet analysis {"connection_id":172820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fec"} 
[2026-09-05 10:26:54] local.INFO: Extracted packet for processing {"connection_id":172820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fec"} 
[2026-09-05 10:26:54] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119617952,"longitude_deg":75.6533504,"latitude_deg":11.9617952,"altitude":63,"angle":31,"satellites":30,"speed":41,"hex_longitude":"2d17c900","hex_latitude":"072139a0","is_valid_coordinates":true} 
[2026-09-05 10:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877537024001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17458402108112896,"note":"Value kept but may cause issues"} 
[2026-09-05 10:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1709679039161423872,"note":"Value kept but may cause issues"} 
[2026-09-05 10:26:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788584135000,"timestamp_ms":1788584135000,"timestamp_seconds":1788584135,"priority":1,"record_length":96,"hex_timestamp":"000001a06fec0958"} 
[2026-09-05 10:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:26:54] 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-09-05 10:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 10:26:54] 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-09-05 10:26:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:26:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877537024001,"66":13993,"107":206,"83":41984,"24":41,"16":17458402108112896,"45":1709679039161423872},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-05 10:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877537024001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:26:54] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-05 10:26:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17458402108112896,"km_value":17458402108112.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1709679039161423872,"description":"Unknown IO ID 45"} 
[2026-09-05 10:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877537024001,"power":13993,"unknown_107":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1709679039161423872}} 
[2026-09-05 10:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":172820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:26:54] local.INFO: GPS data processed {"connection_id":172820,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:26:54] local.INFO: Acknowledgment sent {"connection_id":172820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:26:56] local.INFO: TCP Data received {"connection_id":174119,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:26:56] local.INFO: Processing buffer {"connection_id":174119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:26:56] local.INFO: IMEI packet received {"connection_id":174119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":174119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:27:02] local.INFO: TCP Data received {"connection_id":174119,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:27:02] local.INFO: Processing buffer {"connection_id":174119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:27:02] local.INFO: IMEI packet received {"connection_id":174119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":174119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:27:04] local.INFO: TCP Data received {"connection_id":174119,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06feb78d0012d53ee80065474b8000c00d627..."} 
[2026-09-05 10:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06feb78d0012d53ee80065474b8000c00d627..."} 
[2026-09-05 10:27:04] local.INFO: Processing buffer {"connection_id":174119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06feb78d0012d53ee80065474b8000c00d627..."} 
[2026-09-05 10:27:04] local.INFO: Packet analysis {"connection_id":174119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06feb"} 
[2026-09-05 10:27:04] local.INFO: Extracted packet for processing {"connection_id":174119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06feb"} 
[2026-09-05 10:27:04] local.INFO: GPS Element Parsed {"raw_longitude":760475264,"raw_latitude":106198200,"longitude_deg":76.0475264,"latitude_deg":10.61982,"altitude":12,"angle":214,"satellites":39,"speed":30,"hex_longitude":"2d53ee80","hex_latitude":"065474b8","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877526784001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399442068881014784,"note":"Value kept but may cause issues"} 
[2026-09-05 10:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6053049032607207424,"note":"Value kept but may cause issues"} 
[2026-09-05 10:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788584098000,"timestamp_ms":1788584098000,"timestamp_seconds":1788584098,"priority":1,"record_length":96,"hex_timestamp":"000001a06feb78d0"} 
[2026-09-05 10:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:27: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-09-05 10:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 10:27: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-09-05 10: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-09-05 10:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:27: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-09-05 10:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877526784001,"66":27832,"87":206,"78":62464,"24":30,"16":399442068881014784,"45":6053049032607207424},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,78,24,16,45]} 
[2026-09-05 10:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877526784001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:27:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-05 10:27:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399442068881014784,"km_value":399442068881014.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6053049032607207424,"description":"Unknown IO ID 45"} 
[2026-09-05 10:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877526784001,"power":27832,"unknown_87":206,"unknown_78":62464,"ignition":30,"odometer":null,"unknown_45":6053049032607207424}} 
[2026-09-05 10:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":174119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:27:04] local.INFO: GPS data processed {"connection_id":174119,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:27:04] local.INFO: Acknowledgment sent {"connection_id":174119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:27:11] local.INFO: TCP Data received {"connection_id":171715,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06fec0958012c97b8c007b6fa48000f014e29..."} 
[2026-09-05 10:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fec0958012c97b8c007b6fa48000f014e29..."} 
[2026-09-05 10:27:11] local.INFO: Processing buffer {"connection_id":171715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fec0958012c97b8c007b6fa48000f014e29..."} 
[2026-09-05 10:27:11] local.INFO: Packet analysis {"connection_id":171715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fec"} 
[2026-09-05 10:27:11] local.INFO: Extracted packet for processing {"connection_id":171715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fec"} 
[2026-09-05 10:27:11] local.INFO: GPS Element Parsed {"raw_longitude":748140736,"raw_latitude":129432136,"longitude_deg":74.8140736,"latitude_deg":12.9432136,"altitude":15,"angle":334,"satellites":41,"speed":22,"hex_longitude":"2c97b8c0","hex_latitude":"07b6fa48","is_valid_coordinates":true} 
[2026-09-05 10:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877536256001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":745954214936576,"note":"Value kept but may cause issues"} 
[2026-09-05 10:27:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7509189395554347008,"note":"Value kept but may cause issues"} 
[2026-09-05 10:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788584135000,"timestamp_ms":1788584135000,"timestamp_seconds":1788584135,"priority":1,"record_length":96,"hex_timestamp":"000001a06fec0958"} 
[2026-09-05 10:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 10:27:11] 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-09-05 10:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877536256001,"66":28104,"226":206,"9":57344,"24":22,"16":745954214936576,"44":-7509189395554347008},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,9,24,16,44]} 
[2026-09-05 10:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877536256001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:27:11] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-05 10:27:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":745954214936576,"km_value":745954214936.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:27:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7509189395554347008,"description":"Unknown IO ID 44"} 
[2026-09-05 10:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877536256001,"power":28104,"unknown_226":206,"unknown_9":57344,"ignition":22,"odometer":null,"unknown_44":-7509189395554347008}} 
[2026-09-05 10:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":171715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767973,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:27:11] local.INFO: GPS data processed {"connection_id":171715,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:27:11] local.INFO: Acknowledgment sent {"connection_id":171715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:27:25] local.INFO: TCP Data received {"connection_id":172820,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06fec3068012d17dc80072159e00045001e1e..."} 
[2026-09-05 10:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fec3068012d17dc80072159e00045001e1e..."} 
[2026-09-05 10:27:25] local.INFO: Processing buffer {"connection_id":172820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fec3068012d17dc80072159e00045001e1e..."} 
[2026-09-05 10:27:25] local.INFO: Packet analysis {"connection_id":172820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fec"} 
[2026-09-05 10:27:25] local.INFO: Extracted packet for processing {"connection_id":172820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fec"} 
[2026-09-05 10:27:25] local.INFO: GPS Element Parsed {"raw_longitude":756538496,"raw_latitude":119626208,"longitude_deg":75.6538496,"latitude_deg":11.9626208,"altitude":69,"angle":30,"satellites":30,"speed":35,"hex_longitude":"2d17dc80","hex_latitude":"072159e0","is_valid_coordinates":true} 
[2026-09-05 10:27: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-09-05 10:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877538560001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17458865964580864,"note":"Value kept but may cause issues"} 
[2026-09-05 10:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163813380096,"note":"Value kept but may cause issues"} 
[2026-09-05 10:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788584145000,"timestamp_ms":1788584145000,"timestamp_seconds":1788584145,"priority":1,"record_length":96,"hex_timestamp":"000001a06fec3068"} 
[2026-09-05 10:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:27:25] 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-09-05 10:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 10:27:25] 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-09-05 10:27: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-09-05 10:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877538560001,"66":13852,"107":206,"83":41984,"24":35,"16":17458865964580864,"45":1713901163813380096},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-05 10:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877538560001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:27:25] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-05 10:27:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17458865964580864,"km_value":17458865964580.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163813380096,"description":"Unknown IO ID 45"} 
[2026-09-05 10:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877538560001,"power":13852,"unknown_107":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1713901163813380096}} 
[2026-09-05 10:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":172820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:27:25] local.INFO: GPS data processed {"connection_id":172820,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:27:25] local.INFO: Acknowledgment sent {"connection_id":172820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:27:35] local.INFO: TCP Data received {"connection_id":174119,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06feba3c8012d53d9c0065455b8000b00d525..."} 
[2026-09-05 10:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06feba3c8012d53d9c0065455b8000b00d525..."} 
[2026-09-05 10:27:35] local.INFO: Processing buffer {"connection_id":174119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06feba3c8012d53d9c0065455b8000b00d525..."} 
[2026-09-05 10:27:35] local.INFO: Packet analysis {"connection_id":174119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06feb"} 
[2026-09-05 10:27:35] local.INFO: Extracted packet for processing {"connection_id":174119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06feb"} 
[2026-09-05 10:27:35] local.INFO: GPS Element Parsed {"raw_longitude":760469952,"raw_latitude":106190264,"longitude_deg":76.0469952,"latitude_deg":10.6190264,"altitude":11,"angle":213,"satellites":37,"speed":37,"hex_longitude":"2d53d9c0","hex_latitude":"065455b8","is_valid_coordinates":true} 
[2026-09-05 10:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877529088001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399442528442515456,"note":"Value kept but may cause issues"} 
[2026-09-05 10:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6047912114280249344,"note":"Value kept but may cause issues"} 
[2026-09-05 10:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788584109000,"timestamp_ms":1788584109000,"timestamp_seconds":1788584109,"priority":1,"record_length":96,"hex_timestamp":"000001a06feba3c8"} 
[2026-09-05 10:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:27:35] 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-09-05 10:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 10:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:27:35] 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-09-05 10:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877529088001,"66":27919,"87":206,"78":62464,"24":37,"16":399442528442515456,"45":6047912114280249344},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,78,24,16,45]} 
[2026-09-05 10:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877529088001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:27:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-05 10:27:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399442528442515456,"km_value":399442528442515.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6047912114280249344,"description":"Unknown IO ID 45"} 
[2026-09-05 10:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877529088001,"power":27919,"unknown_87":206,"unknown_78":62464,"ignition":37,"odometer":null,"unknown_45":6047912114280249344}} 
[2026-09-05 10:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":174119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:27:35] local.INFO: GPS data processed {"connection_id":174119,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:27:35] local.INFO: Acknowledgment sent {"connection_id":174119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:27:43] local.INFO: TCP Data received {"connection_id":171715,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06fec5b60012c97b64007b6fed8000f01512a..."} 
[2026-09-05 10:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fec5b60012c97b64007b6fed8000f01512a..."} 
[2026-09-05 10:27:43] local.INFO: Processing buffer {"connection_id":171715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fec5b60012c97b64007b6fed8000f01512a..."} 
[2026-09-05 10:27:43] local.INFO: Packet analysis {"connection_id":171715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fec"} 
[2026-09-05 10:27:43] local.INFO: Extracted packet for processing {"connection_id":171715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fec"} 
[2026-09-05 10:27:43] local.INFO: GPS Element Parsed {"raw_longitude":748140096,"raw_latitude":129433304,"longitude_deg":74.8140096,"latitude_deg":12.9433304,"altitude":15,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2c97b640","hex_latitude":"07b6fed8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877538560001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":746018639446016,"note":"Value kept but may cause issues"} 
[2026-09-05 10:27:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7514044838900512768,"note":"Value kept but may cause issues"} 
[2026-09-05 10:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788584156000,"timestamp_ms":1788584156000,"timestamp_seconds":1788584156,"priority":1,"record_length":96,"hex_timestamp":"000001a06fec5b60"} 
[2026-09-05 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-09-05 10:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 10:27:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 10:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":171715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":171715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":171715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877538560001,"66":28126,"226":206,"9":57344,"24":0,"16":746018639446016,"44":-7514044838900512768},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,9,24,16,44]} 
[2026-09-05 10:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877538560001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:27:43] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-05 10:27:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":746018639446016,"km_value":746018639446.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:27:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7514044838900512768,"description":"Unknown IO ID 44"} 
[2026-09-05 10:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877538560001,"power":28126,"unknown_226":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7514044838900512768}} 
[2026-09-05 10:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":171715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767976,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:27:43] local.INFO: GPS data processed {"connection_id":171715,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:27:43] local.INFO: Acknowledgment sent {"connection_id":171715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:27:45] local.INFO: TCP Data received {"connection_id":172821,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:27:45] local.INFO: Processing buffer {"connection_id":172821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:27:45] local.INFO: IMEI packet received {"connection_id":172821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":172821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:27:50] local.INFO: TCP Data received {"connection_id":172821,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:27:50] local.INFO: Processing buffer {"connection_id":172821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:27:50] local.INFO: IMEI packet received {"connection_id":172821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":172821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:27:51] local.INFO: TCP Data received {"connection_id":172821,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06fed3df0012d18274007219f28005500921d..."} 
[2026-09-05 10:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fed3df0012d18274007219f28005500921d..."} 
[2026-09-05 10:27:51] local.INFO: Processing buffer {"connection_id":172821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fed3df0012d18274007219f28005500921d..."} 
[2026-09-05 10:27:51] local.INFO: Packet analysis {"connection_id":172821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fed"} 
[2026-09-05 10:27:51] local.INFO: Extracted packet for processing {"connection_id":172821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fed"} 
[2026-09-05 10:27:51] local.INFO: GPS Element Parsed {"raw_longitude":756557632,"raw_latitude":119643944,"longitude_deg":75.6557632,"latitude_deg":11.9643944,"altitude":85,"angle":146,"satellites":29,"speed":9,"hex_longitude":"2d182740","hex_latitude":"07219f28","is_valid_coordinates":true} 
[2026-09-05 10:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877556480001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17460291893723136,"note":"Value kept but may cause issues"} 
[2026-09-05 10:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771014144,"note":"Value kept but may cause issues"} 
[2026-09-05 10:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788584214000,"timestamp_ms":1788584214000,"timestamp_seconds":1788584214,"priority":1,"record_length":96,"hex_timestamp":"000001a06fed3df0"} 
[2026-09-05 10:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:27:51] 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-09-05 10:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-05 10:27:51] 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-09-05 10:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877556480001,"66":13276,"105":206,"83":41984,"24":9,"16":17460291893723136,"45":1738670961771014144},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 10:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877556480001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:27:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 10:27:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17460291893723136,"km_value":17460291893723.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771014144,"description":"Unknown IO ID 45"} 
[2026-09-05 10:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877556480001,"power":13276,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1738670961771014144}} 
[2026-09-05 10:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":172821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:27:51] local.INFO: GPS data processed {"connection_id":172821,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:27:51] local.INFO: Acknowledgment sent {"connection_id":172821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:28:02] local.INFO: TCP Data received {"connection_id":174120,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:28:02] local.INFO: Processing buffer {"connection_id":174120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:28:02] local.INFO: IMEI packet received {"connection_id":174120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":174120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:28:06] local.INFO: TCP Data received {"connection_id":174120,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:28:06] local.INFO: Processing buffer {"connection_id":174120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:28:06] local.INFO: IMEI packet received {"connection_id":174120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":174120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:28:08] local.INFO: TCP Data received {"connection_id":174120,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fed3620012d53098006531680000900d125..."} 
[2026-09-05 10:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fed3620012d53098006531680000900d125..."} 
[2026-09-05 10:28:08] local.INFO: Processing buffer {"connection_id":174120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fed3620012d53098006531680000900d125..."} 
[2026-09-05 10:28:08] local.INFO: Packet analysis {"connection_id":174120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fed"} 
[2026-09-05 10:28:08] local.INFO: Extracted packet for processing {"connection_id":174120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fed"} 
[2026-09-05 10:28:08] local.INFO: GPS Element Parsed {"raw_longitude":760416640,"raw_latitude":106108544,"longitude_deg":76.041664,"latitude_deg":10.6108544,"altitude":9,"angle":209,"satellites":37,"speed":45,"hex_longitude":"2d530980","hex_latitude":"06531680","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877556224001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399447240021639168,"note":"Value kept but may cause issues"} 
[2026-09-05 10:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5988380156685082624,"note":"Value kept but may cause issues"} 
[2026-09-05 10:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788584212000,"timestamp_ms":1788584212000,"timestamp_seconds":1788584212,"priority":1,"record_length":96,"hex_timestamp":"000001a06fed3620"} 
[2026-09-05 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-09-05 10:28: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-09-05 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 10:28:08] 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-09-05 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-09-05 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-09-05 10:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:28:08] 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-09-05 10:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877556224001,"66":27876,"134":206,"78":62464,"24":45,"16":399447240021639168,"45":5988380156685082624},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,78,24,16,45]} 
[2026-09-05 10:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877556224001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:28:08] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-09-05 10:28:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399447240021639168,"km_value":399447240021639.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5988380156685082624,"description":"Unknown IO ID 45"} 
[2026-09-05 10:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877556224001,"power":27876,"unknown_134":206,"unknown_78":62464,"ignition":45,"odometer":null,"unknown_45":5988380156685082624}} 
[2026-09-05 10:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":174120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:28:08] local.INFO: GPS data processed {"connection_id":174120,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:28:08] local.INFO: Acknowledgment sent {"connection_id":174120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:28:15] local.INFO: TCP Data received {"connection_id":171715,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06fecad68012c97960007b73bf00011014c2a..."} 
[2026-09-05 10:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fecad68012c97960007b73bf00011014c2a..."} 
[2026-09-05 10:28:15] local.INFO: Processing buffer {"connection_id":171715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fecad68012c97960007b73bf00011014c2a..."} 
[2026-09-05 10:28:15] local.INFO: Packet analysis {"connection_id":171715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fec"} 
[2026-09-05 10:28:15] local.INFO: Extracted packet for processing {"connection_id":171715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fec"} 
[2026-09-05 10:28:15] local.INFO: GPS Element Parsed {"raw_longitude":748131840,"raw_latitude":129448944,"longitude_deg":74.813184,"latitude_deg":12.9448944,"altitude":17,"angle":332,"satellites":42,"speed":0,"hex_longitude":"2c979600","hex_latitude":"07b73bf0","is_valid_coordinates":true} 
[2026-09-05 10:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877543936001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":746018639446016,"note":"Value kept but may cause issues"} 
[2026-09-05 10:28:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7514748526341990400,"note":"Value kept but may cause issues"} 
[2026-09-05 10:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788584177000,"timestamp_ms":1788584177000,"timestamp_seconds":1788584177,"priority":1,"record_length":96,"hex_timestamp":"000001a06fecad68"} 
[2026-09-05 10:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-05 10:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":171715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":171715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":171715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877543936001,"66":28050,"226":206,"9":57344,"24":0,"16":746018639446016,"44":-7514748526341990400},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,9,24,16,44]} 
[2026-09-05 10:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877543936001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:28:15] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-05 10:28:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":746018639446016,"km_value":746018639446.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:28:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7514748526341990400,"description":"Unknown IO ID 44"} 
[2026-09-05 10:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877543936001,"power":28050,"unknown_226":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7514748526341990400}} 
[2026-09-05 10:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":171715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767979,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:28:15] local.INFO: GPS data processed {"connection_id":171715,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:28:15] local.INFO: Acknowledgment sent {"connection_id":171715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:28:23] local.INFO: TCP Data received {"connection_id":172821,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06fed8ff8012d18294007219cc0005400941f..."} 
[2026-09-05 10:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fed8ff8012d18294007219cc0005400941f..."} 
[2026-09-05 10:28:23] local.INFO: Processing buffer {"connection_id":172821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fed8ff8012d18294007219cc0005400941f..."} 
[2026-09-05 10:28:23] local.INFO: Packet analysis {"connection_id":172821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fed"} 
[2026-09-05 10:28:23] local.INFO: Extracted packet for processing {"connection_id":172821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fed"} 
[2026-09-05 10:28:23] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119643328,"longitude_deg":75.6558144,"latitude_deg":11.9643328,"altitude":84,"angle":148,"satellites":31,"speed":0,"hex_longitude":"2d182940","hex_latitude":"07219cc0","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877558784001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17460334843396096,"note":"Value kept but may cause issues"} 
[2026-09-05 10:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740430180375013376,"note":"Value kept but may cause issues"} 
[2026-09-05 10:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788584235000,"timestamp_ms":1788584235000,"timestamp_seconds":1788584235,"priority":1,"record_length":96,"hex_timestamp":"000001a06fed8ff8"} 
[2026-09-05 10:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:28:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-05 10:28:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877558784001,"66":13167,"105":206,"83":41984,"24":0,"16":17460334843396096,"45":1740430180375013376},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 10:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877558784001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:28:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 10:28:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17460334843396096,"km_value":17460334843396.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740430180375013376,"description":"Unknown IO ID 45"} 
[2026-09-05 10:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877558784001,"power":13167,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740430180375013376}} 
[2026-09-05 10:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":172821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:28:23] local.INFO: GPS data processed {"connection_id":172821,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:28:23] local.INFO: Acknowledgment sent {"connection_id":172821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:28:40] local.INFO: TCP Data received {"connection_id":174120,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fed5948012d52f5800652f828000900d726..."} 
[2026-09-05 10:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fed5948012d52f5800652f828000900d726..."} 
[2026-09-05 10:28:40] local.INFO: Processing buffer {"connection_id":174120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fed5948012d52f5800652f828000900d726..."} 
[2026-09-05 10:28:40] local.INFO: Packet analysis {"connection_id":174120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fed"} 
[2026-09-05 10:28:40] local.INFO: Extracted packet for processing {"connection_id":174120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fed"} 
[2026-09-05 10:28:40] local.INFO: GPS Element Parsed {"raw_longitude":760411520,"raw_latitude":106100776,"longitude_deg":76.041152,"latitude_deg":10.6100776,"altitude":9,"angle":215,"satellites":38,"speed":37,"hex_longitude":"2d52f580","hex_latitude":"0652f828","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877558272001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399447686698237952,"note":"Value kept but may cause issues"} 
[2026-09-05 10:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5983454344590557184,"note":"Value kept but may cause issues"} 
[2026-09-05 10:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788584221000,"timestamp_ms":1788584221000,"timestamp_seconds":1788584221,"priority":1,"record_length":96,"hex_timestamp":"000001a06fed5948"} 
[2026-09-05 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-09-05 10:28:40] 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-09-05 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 10:28:40] 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-09-05 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-09-05 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-09-05 10:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":174120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":174120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":174120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:28:40] 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-09-05 10:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877558272001,"66":27908,"134":206,"78":62464,"24":37,"16":399447686698237952,"45":5983454344590557184},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,78,24,16,45]} 
[2026-09-05 10:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877558272001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:28:40] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-09-05 10:28:40] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399447686698237952,"km_value":399447686698237.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5983454344590557184,"description":"Unknown IO ID 45"} 
[2026-09-05 10:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877558272001,"power":27908,"unknown_134":206,"unknown_78":62464,"ignition":37,"odometer":null,"unknown_45":5983454344590557184}} 
[2026-09-05 10:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":174120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:28:40] local.INFO: GPS data processed {"connection_id":174120,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:28:40] local.INFO: Acknowledgment sent {"connection_id":174120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:28:45] local.INFO: TCP Data received {"connection_id":171417,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:28:45] local.INFO: Processing buffer {"connection_id":171417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:28:45] local.INFO: IMEI packet received {"connection_id":171417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":171417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:28:48] local.INFO: TCP Data received {"connection_id":172822,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:28:48] local.INFO: Processing buffer {"connection_id":172822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:28:48] local.INFO: IMEI packet received {"connection_id":172822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":172822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:28:50] local.INFO: TCP Data received {"connection_id":171417,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:28:50] local.INFO: Processing buffer {"connection_id":171417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:28:50] local.INFO: IMEI packet received {"connection_id":171417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":171417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:28:51] local.INFO: TCP Data received {"connection_id":171417,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06fedde18012d18294007219cc0005400941f..."} 
[2026-09-05 10:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fedde18012d18294007219cc0005400941f..."} 
[2026-09-05 10:28:51] local.INFO: Processing buffer {"connection_id":171417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fedde18012d18294007219cc0005400941f..."} 
[2026-09-05 10:28:51] local.INFO: Packet analysis {"connection_id":171417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fed"} 
[2026-09-05 10:28:51] local.INFO: Extracted packet for processing {"connection_id":171417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fed"} 
[2026-09-05 10:28:51] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119643328,"longitude_deg":75.6558144,"latitude_deg":11.9643328,"altitude":84,"angle":148,"satellites":31,"speed":0,"hex_longitude":"2d182940","hex_latitude":"07219cc0","is_valid_coordinates":true} 
[2026-09-05 10:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877564160001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17460334843396096,"note":"Value kept but may cause issues"} 
[2026-09-05 10:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130328276992,"note":"Value kept but may cause issues"} 
[2026-09-05 10:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788584255000,"timestamp_ms":1788584255000,"timestamp_seconds":1788584255,"priority":1,"record_length":96,"hex_timestamp":"000001a06fedde18"} 
[2026-09-05 10:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:28:51] 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-09-05 10:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-05 10:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877564160001,"66":13124,"105":206,"83":41984,"24":0,"16":17460334843396096,"45":1740993130328276992},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 10:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877564160001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:28:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 10:28:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17460334843396096,"km_value":17460334843396.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130328276992,"description":"Unknown IO ID 45"} 
[2026-09-05 10:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877564160001,"power":13124,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740993130328276992}} 
[2026-09-05 10:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":171417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:28:51] local.INFO: GPS data processed {"connection_id":171417,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:28:51] local.INFO: Acknowledgment sent {"connection_id":171417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:28:52] local.INFO: TCP Data received {"connection_id":172822,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:28:52] local.INFO: Processing buffer {"connection_id":172822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:28:52] local.INFO: IMEI packet received {"connection_id":172822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":172822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:28:54] local.INFO: TCP Data received {"connection_id":172822,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06fecff70012c976e8007b78178001001492c..."} 
[2026-09-05 10:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fecff70012c976e8007b78178001001492c..."} 
[2026-09-05 10:28:54] local.INFO: Processing buffer {"connection_id":172822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fecff70012c976e8007b78178001001492c..."} 
[2026-09-05 10:28:54] local.INFO: Packet analysis {"connection_id":172822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fec"} 
[2026-09-05 10:28:54] local.INFO: Extracted packet for processing {"connection_id":172822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fec"} 
[2026-09-05 10:28:54] local.INFO: GPS Element Parsed {"raw_longitude":748121728,"raw_latitude":129466744,"longitude_deg":74.8121728,"latitude_deg":12.9466744,"altitude":16,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2c976e80","hex_latitude":"07b78178","is_valid_coordinates":true} 
[2026-09-05 10:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877549312001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":746018639446016,"note":"Value kept but may cause issues"} 
[2026-09-05 10:28:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7523826094336905216,"note":"Value kept but may cause issues"} 
[2026-09-05 10:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788584198000,"timestamp_ms":1788584198000,"timestamp_seconds":1788584198,"priority":1,"record_length":96,"hex_timestamp":"000001a06fecff70"} 
[2026-09-05 10:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:28: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-09-05 10:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 10:28:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877549312001,"66":27984,"226":206,"9":57344,"24":0,"16":746018639446016,"44":-7523826094336905216},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,9,24,16,44]} 
[2026-09-05 10:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877549312001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:28:54] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-05 10:28:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":746018639446016,"km_value":746018639446.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:28:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7523826094336905216,"description":"Unknown IO ID 44"} 
[2026-09-05 10:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877549312001,"power":27984,"unknown_226":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7523826094336905216}} 
[2026-09-05 10:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":172822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767983,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:28:54] local.INFO: GPS data processed {"connection_id":172822,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:28:54] local.INFO: Acknowledgment sent {"connection_id":172822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:28:57] local.INFO: TCP Data received {"connection_id":174121,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:28:57] local.INFO: Processing buffer {"connection_id":174121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:28:57] local.INFO: IMEI packet received {"connection_id":174121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":174121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:29:02] local.INFO: TCP Data received {"connection_id":174121,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:29:02] local.INFO: Processing buffer {"connection_id":174121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:29:02] local.INFO: IMEI packet received {"connection_id":174121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":174121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:29:03] local.INFO: TCP Data received {"connection_id":174121,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fed8440012d52e1400652db60000500d928..."} 
[2026-09-05 10:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fed8440012d52e1400652db60000500d928..."} 
[2026-09-05 10:29:03] local.INFO: Processing buffer {"connection_id":174121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fed8440012d52e1400652db60000500d928..."} 
[2026-09-05 10:29:03] local.INFO: Packet analysis {"connection_id":174121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fed"} 
[2026-09-05 10:29:03] local.INFO: Extracted packet for processing {"connection_id":174121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fed"} 
[2026-09-05 10:29:03] local.INFO: GPS Element Parsed {"raw_longitude":760406336,"raw_latitude":106093408,"longitude_deg":76.0406336,"latitude_deg":10.6093408,"altitude":5,"angle":217,"satellites":40,"speed":31,"hex_longitude":"2d52e140","hex_latitude":"0652db60","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877560576001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399448124784902144,"note":"Value kept but may cause issues"} 
[2026-09-05 10:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5977824845054355456,"note":"Value kept but may cause issues"} 
[2026-09-05 10:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788584232000,"timestamp_ms":1788584232000,"timestamp_seconds":1788584232,"priority":1,"record_length":96,"hex_timestamp":"000001a06fed8440"} 
[2026-09-05 10:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:29: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-09-05 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 10:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:29: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-09-05 10:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877560576001,"66":27908,"134":206,"78":62464,"24":31,"16":399448124784902144,"45":5977824845054355456},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,78,24,16,45]} 
[2026-09-05 10:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877560576001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:29:03] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-09-05 10:29:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399448124784902144,"km_value":399448124784902.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5977824845054355456,"description":"Unknown IO ID 45"} 
[2026-09-05 10:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877560576001,"power":27908,"unknown_134":206,"unknown_78":62464,"ignition":31,"odometer":null,"unknown_45":5977824845054355456}} 
[2026-09-05 10:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":174121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:29:03] local.INFO: GPS data processed {"connection_id":174121,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:29:03] local.INFO: Acknowledgment sent {"connection_id":174121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:29:23] local.INFO: TCP Data received {"connection_id":171417,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06fee3020012d18294007219cc00054009421..."} 
[2026-09-05 10:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fee3020012d18294007219cc00054009421..."} 
[2026-09-05 10:29:23] local.INFO: Processing buffer {"connection_id":171417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fee3020012d18294007219cc00054009421..."} 
[2026-09-05 10:29:23] local.INFO: Packet analysis {"connection_id":171417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fee"} 
[2026-09-05 10:29:23] local.INFO: Extracted packet for processing {"connection_id":171417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fee"} 
[2026-09-05 10:29:23] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119643328,"longitude_deg":75.6558144,"latitude_deg":11.9643328,"altitude":84,"angle":148,"satellites":33,"speed":0,"hex_longitude":"2d182940","hex_latitude":"07219cc0","is_valid_coordinates":true} 
[2026-09-05 10:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877569280001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17460334843396096,"note":"Value kept but may cause issues"} 
[2026-09-05 10:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130328276992,"note":"Value kept but may cause issues"} 
[2026-09-05 10:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788584276000,"timestamp_ms":1788584276000,"timestamp_seconds":1788584276,"priority":1,"record_length":96,"hex_timestamp":"000001a06fee3020"} 
[2026-09-05 10:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-05 10:29:23] 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-09-05 10:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877569280001,"66":13015,"105":206,"83":41984,"24":0,"16":17460334843396096,"45":1740993130328276992},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 10:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877569280001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:29:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 10:29:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17460334843396096,"km_value":17460334843396.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130328276992,"description":"Unknown IO ID 45"} 
[2026-09-05 10:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877569280001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740993130328276992}} 
[2026-09-05 10:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":171417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:29:23] local.INFO: GPS data processed {"connection_id":171417,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:29:23] local.INFO: Acknowledgment sent {"connection_id":171417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:29:25] local.INFO: TCP Data received {"connection_id":172822,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06fee76700100000000000000000000000000..."} 
[2026-09-05 10:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fee76700100000000000000000000000000..."} 
[2026-09-05 10:29:25] local.INFO: Processing buffer {"connection_id":172822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fee76700100000000000000000000000000..."} 
[2026-09-05 10:29:25] local.INFO: Packet analysis {"connection_id":172822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fee"} 
[2026-09-05 10:29:25] local.INFO: Extracted packet for processing {"connection_id":172822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fee"} 
[2026-09-05 10:29:25] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 10:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877554688001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":746018639446016,"note":"Value kept but may cause issues"} 
[2026-09-05 10:29:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7534944355912419328,"note":"Value kept but may cause issues"} 
[2026-09-05 10:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788584294000,"timestamp_ms":1788584294000,"timestamp_seconds":1788584294,"priority":1,"record_length":96,"hex_timestamp":"000001a06fee7670"} 
[2026-09-05 10:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 10:29:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":172822,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 10:29:25] local.INFO: GPS data processed {"connection_id":172822,"processed":0,"errors":0,"total":1} 
[2026-09-05 10:29:25] local.INFO: Acknowledgment sent {"connection_id":172822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:29:34] local.INFO: TCP Data received {"connection_id":174121,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fed97c8012d52d6800652d028000600e428..."} 
[2026-09-05 10:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fed97c8012d52d6800652d028000600e428..."} 
[2026-09-05 10:29:34] local.INFO: Processing buffer {"connection_id":174121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fed97c8012d52d6800652d028000600e428..."} 
[2026-09-05 10:29:34] local.INFO: Packet analysis {"connection_id":174121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fed"} 
[2026-09-05 10:29:34] local.INFO: Extracted packet for processing {"connection_id":174121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fed"} 
[2026-09-05 10:29:34] local.INFO: GPS Element Parsed {"raw_longitude":760403584,"raw_latitude":106090536,"longitude_deg":76.0403584,"latitude_deg":10.6090536,"altitude":6,"angle":228,"satellites":40,"speed":30,"hex_longitude":"2d52d680","hex_latitude":"0652d028","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877563392001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399448313763463168,"note":"Value kept but may cause issues"} 
[2026-09-05 10:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5972124976774078464,"note":"Value kept but may cause issues"} 
[2026-09-05 10:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788584237000,"timestamp_ms":1788584237000,"timestamp_seconds":1788584237,"priority":1,"record_length":96,"hex_timestamp":"000001a06fed97c8"} 
[2026-09-05 10:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 10:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877563392001,"66":27843,"134":206,"78":62464,"24":30,"16":399448313763463168,"45":5972124976774078464},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,78,24,16,45]} 
[2026-09-05 10:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877563392001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:29:34] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-09-05 10:29:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399448313763463168,"km_value":399448313763463.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5972124976774078464,"description":"Unknown IO ID 45"} 
[2026-09-05 10:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877563392001,"power":27843,"unknown_134":206,"unknown_78":62464,"ignition":30,"odometer":null,"unknown_45":5972124976774078464}} 
[2026-09-05 10:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":174121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:29:34] local.INFO: GPS data processed {"connection_id":174121,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:29:34] local.INFO: Acknowledgment sent {"connection_id":174121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:29:45] local.INFO: TCP Data received {"connection_id":171716,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:29:45] local.INFO: Processing buffer {"connection_id":171716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:29:45] local.INFO: IMEI packet received {"connection_id":171716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":171716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:29:47] local.INFO: TCP Data received {"connection_id":171717,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171717,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:29:47] local.INFO: Processing buffer {"connection_id":171717,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:29:47] local.INFO: IMEI packet received {"connection_id":171717,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":171717,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:29:50] local.INFO: TCP Data received {"connection_id":171717,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171717,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:29:50] local.INFO: Processing buffer {"connection_id":171717,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:29:50] local.INFO: IMEI packet received {"connection_id":171717,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":171717,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:29:50] local.INFO: TCP Data received {"connection_id":171716,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:29:50] local.INFO: Processing buffer {"connection_id":171716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:29:50] local.INFO: IMEI packet received {"connection_id":171716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":171716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:29:51] local.INFO: TCP Data received {"connection_id":171716,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06fee7e40012d18294007219cc00054009421..."} 
[2026-09-05 10:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fee7e40012d18294007219cc00054009421..."} 
[2026-09-05 10:29:51] local.INFO: Processing buffer {"connection_id":171716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fee7e40012d18294007219cc00054009421..."} 
[2026-09-05 10:29:51] local.INFO: Packet analysis {"connection_id":171716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fee"} 
[2026-09-05 10:29:51] local.INFO: Extracted packet for processing {"connection_id":171716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fee"} 
[2026-09-05 10:29:51] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119643328,"longitude_deg":75.6558144,"latitude_deg":11.9643328,"altitude":84,"angle":148,"satellites":33,"speed":0,"hex_longitude":"2d182940","hex_latitude":"07219cc0","is_valid_coordinates":true} 
[2026-09-05 10:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877574656001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17460334843396096,"note":"Value kept but may cause issues"} 
[2026-09-05 10:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130328276992,"note":"Value kept but may cause issues"} 
[2026-09-05 10:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788584296000,"timestamp_ms":1788584296000,"timestamp_seconds":1788584296,"priority":1,"record_length":96,"hex_timestamp":"000001a06fee7e40"} 
[2026-09-05 10:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:29:51] 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-09-05 10:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-05 10:29:51] 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-09-05 10:29:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877574656001,"66":12950,"105":206,"83":41984,"24":0,"16":17460334843396096,"45":1740993130328276992},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 10:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877574656001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:29:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 10:29:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17460334843396096,"km_value":17460334843396.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130328276992,"description":"Unknown IO ID 45"} 
[2026-09-05 10:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877574656001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740993130328276992}} 
[2026-09-05 10:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":171716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:29:51] local.INFO: GPS data processed {"connection_id":171716,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:29:51] local.INFO: Acknowledgment sent {"connection_id":171716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:29:52] local.INFO: TCP Data received {"connection_id":171717,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171717,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:29:52] local.INFO: Processing buffer {"connection_id":171717,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:29:52] local.INFO: IMEI packet received {"connection_id":171717,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":171717,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:29:54] local.INFO: TCP Data received {"connection_id":171717,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06feeeba0012c96b20007b9a0e8000c015c2c..."} 
[2026-09-05 10:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06feeeba0012c96b20007b9a0e8000c015c2c..."} 
[2026-09-05 10:29:54] local.INFO: Processing buffer {"connection_id":171717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06feeeba0012c96b20007b9a0e8000c015c2c..."} 
[2026-09-05 10:29:54] local.INFO: Packet analysis {"connection_id":171717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fee"} 
[2026-09-05 10:29:54] local.INFO: Extracted packet for processing {"connection_id":171717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fee"} 
[2026-09-05 10:29:54] local.INFO: GPS Element Parsed {"raw_longitude":748073472,"raw_latitude":129605864,"longitude_deg":74.8073472,"latitude_deg":12.9605864,"altitude":12,"angle":348,"satellites":44,"speed":50,"hex_longitude":"2c96b200","hex_latitude":"07b9a0e8","is_valid_coordinates":true} 
[2026-09-05 10:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877584896001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":750219117461504,"note":"Value kept but may cause issues"} 
[2026-09-05 10:29:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7585680220431353856,"note":"Value kept but may cause issues"} 
[2026-09-05 10:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788584324000,"timestamp_ms":1788584324000,"timestamp_seconds":1788584324,"priority":1,"record_length":96,"hex_timestamp":"000001a06feeeba0"} 
[2026-09-05 10:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 10:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877584896001,"66":28126,"20":206,"9":57344,"24":50,"16":750219117461504,"44":-7585680220431353856},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,9,24,16,44]} 
[2026-09-05 10:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877584896001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:29:54] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-09-05 10:29:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":750219117461504,"km_value":750219117461.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:29:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7585680220431353856,"description":"Unknown IO ID 44"} 
[2026-09-05 10:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877584896001,"power":28126,"unknown_20":206,"unknown_9":57344,"ignition":50,"odometer":null,"unknown_44":-7585680220431353856}} 
[2026-09-05 10:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":171717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767988,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:29:54] local.INFO: GPS data processed {"connection_id":171717,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:29:54] local.INFO: Acknowledgment sent {"connection_id":171717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:29:55] local.INFO: TCP Data received {"connection_id":171418,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:29:55] local.INFO: Processing buffer {"connection_id":171418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:29:55] local.INFO: IMEI packet received {"connection_id":171418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":171418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:29:56] local.INFO: TCP Data received {"connection_id":171418,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:29:56] local.INFO: Processing buffer {"connection_id":171418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:29:56] local.INFO: IMEI packet received {"connection_id":171418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":171418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:30:02] local.INFO: TCP Data received {"connection_id":171418,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:30:02] local.INFO: Processing buffer {"connection_id":171418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:30:02] local.INFO: IMEI packet received {"connection_id":171418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":171418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:30:02] local.INFO: TCP Data received {"connection_id":171418,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fef06f8012d5204c00651c6c8000700d226..."} 
[2026-09-05 10:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fef06f8012d5204c00651c6c8000700d226..."} 
[2026-09-05 10:30:02] local.INFO: Processing buffer {"connection_id":171418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fef06f8012d5204c00651c6c8000700d226..."} 
[2026-09-05 10:30:02] local.INFO: Packet analysis {"connection_id":171418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fef"} 
[2026-09-05 10:30:02] local.INFO: Extracted packet for processing {"connection_id":171418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fef"} 
[2026-09-05 10:30:02] local.INFO: GPS Element Parsed {"raw_longitude":760349888,"raw_latitude":106022600,"longitude_deg":76.0349888,"latitude_deg":10.60226,"altitude":7,"angle":210,"satellites":38,"speed":29,"hex_longitude":"2d5204c0","hex_latitude":"0651c6c8","is_valid_coordinates":true} 
[2026-09-05 10:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877584384001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399452544306249728,"note":"Value kept but may cause issues"} 
[2026-09-05 10:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5915055925230016512,"note":"Value kept but may cause issues"} 
[2026-09-05 10:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788584331000,"timestamp_ms":1788584331000,"timestamp_seconds":1788584331,"priority":1,"record_length":96,"hex_timestamp":"000001a06fef06f8"} 
[2026-09-05 10:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:30: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-09-05 10:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 10:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:30:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877584384001,"66":27876,"232":206,"78":62464,"24":29,"16":399452544306249728,"45":5915055925230016512},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,78,24,16,45]} 
[2026-09-05 10:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877584384001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:30:02] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-05 10:30:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399452544306249728,"km_value":399452544306249.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5915055925230016512,"description":"Unknown IO ID 45"} 
[2026-09-05 10:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877584384001,"power":27876,"unknown_232":206,"unknown_78":62464,"ignition":29,"odometer":null,"unknown_45":5915055925230016512}} 
[2026-09-05 10:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":171418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:30:02] local.INFO: GPS data processed {"connection_id":171418,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:30:02] local.INFO: Acknowledgment sent {"connection_id":171418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:30:22] local.INFO: TCP Data received {"connection_id":171716,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06feed048012d18294007219cc00054009421..."} 
[2026-09-05 10:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06feed048012d18294007219cc00054009421..."} 
[2026-09-05 10:30:22] local.INFO: Processing buffer {"connection_id":171716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06feed048012d18294007219cc00054009421..."} 
[2026-09-05 10:30:22] local.INFO: Packet analysis {"connection_id":171716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fee"} 
[2026-09-05 10:30:22] local.INFO: Extracted packet for processing {"connection_id":171716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fee"} 
[2026-09-05 10:30:22] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119643328,"longitude_deg":75.6558144,"latitude_deg":11.9643328,"altitude":84,"angle":148,"satellites":33,"speed":0,"hex_longitude":"2d182940","hex_latitude":"07219cc0","is_valid_coordinates":true} 
[2026-09-05 10:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877579776001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17460334843396096,"note":"Value kept but may cause issues"} 
[2026-09-05 10:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130328276992,"note":"Value kept but may cause issues"} 
[2026-09-05 10:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788584317000,"timestamp_ms":1788584317000,"timestamp_seconds":1788584317,"priority":1,"record_length":96,"hex_timestamp":"000001a06feed048"} 
[2026-09-05 10:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:30:22] 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-09-05 10:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-05 10:30:22] 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-09-05 10:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877579776001,"66":12917,"105":206,"83":41984,"24":0,"16":17460334843396096,"45":1740993130328276992},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 10:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877579776001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:30:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 10:30:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17460334843396096,"km_value":17460334843396.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130328276992,"description":"Unknown IO ID 45"} 
[2026-09-05 10:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877579776001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740993130328276992}} 
[2026-09-05 10:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":171716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:30:22] local.INFO: GPS data processed {"connection_id":171716,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:30:22] local.INFO: Acknowledgment sent {"connection_id":171716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:30:25] local.INFO: TCP Data received {"connection_id":171717,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06fef06f8012c96a98007b9c488000d01552c..."} 
[2026-09-05 10:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fef06f8012c96a98007b9c488000d01552c..."} 
[2026-09-05 10:30:25] local.INFO: Processing buffer {"connection_id":171717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fef06f8012c96a98007b9c488000d01552c..."} 
[2026-09-05 10:30:25] local.INFO: Packet analysis {"connection_id":171717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fef"} 
[2026-09-05 10:30:25] local.INFO: Extracted packet for processing {"connection_id":171717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fef"} 
[2026-09-05 10:30:25] local.INFO: GPS Element Parsed {"raw_longitude":748071296,"raw_latitude":129614984,"longitude_deg":74.8071296,"latitude_deg":12.9614984,"altitude":13,"angle":341,"satellites":44,"speed":55,"hex_longitude":"2c96a980","hex_latitude":"07b9c488","is_valid_coordinates":true} 
[2026-09-05 10:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877586944001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":750674383994880,"note":"Value kept but may cause issues"} 
[2026-09-05 10:30:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7588002388986763264,"note":"Value kept but may cause issues"} 
[2026-09-05 10:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788584331000,"timestamp_ms":1788584331000,"timestamp_seconds":1788584331,"priority":1,"record_length":96,"hex_timestamp":"000001a06fef06f8"} 
[2026-09-05 10:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-05 10:30:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:30:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877586944001,"66":28050,"20":206,"9":57344,"24":55,"16":750674383994880,"44":-7588002388986763264},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,9,24,16,44]} 
[2026-09-05 10:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877586944001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:30:25] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-09-05 10:30:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":750674383994880,"km_value":750674383994.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:30:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7588002388986763264,"description":"Unknown IO ID 44"} 
[2026-09-05 10:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877586944001,"power":28050,"unknown_20":206,"unknown_9":57344,"ignition":55,"odometer":null,"unknown_44":-7588002388986763264}} 
[2026-09-05 10:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":171717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767991,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:30:25] local.INFO: GPS data processed {"connection_id":171717,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:30:25] local.INFO: Acknowledgment sent {"connection_id":171717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:30:34] local.INFO: TCP Data received {"connection_id":171418,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fef3da8012d51f2c00651a6c8000600cd23..."} 
[2026-09-05 10:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fef3da8012d51f2c00651a6c8000600cd23..."} 
[2026-09-05 10:30:34] local.INFO: Processing buffer {"connection_id":171418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fef3da8012d51f2c00651a6c8000600cd23..."} 
[2026-09-05 10:30:34] local.INFO: Packet analysis {"connection_id":171418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fef"} 
[2026-09-05 10:30:34] local.INFO: Extracted packet for processing {"connection_id":171418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fef"} 
[2026-09-05 10:30:34] local.INFO: GPS Element Parsed {"raw_longitude":760345280,"raw_latitude":106014408,"longitude_deg":76.034528,"latitude_deg":10.6014408,"altitude":6,"angle":205,"satellites":35,"speed":24,"hex_longitude":"2d51f2c0","hex_latitude":"0651a6c8","is_valid_coordinates":true} 
[2026-09-05 10:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877588736001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399452999572783104,"note":"Value kept but may cause issues"} 
[2026-09-05 10:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5910059744391251968,"note":"Value kept but may cause issues"} 
[2026-09-05 10:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788584345000,"timestamp_ms":1788584345000,"timestamp_seconds":1788584345,"priority":1,"record_length":96,"hex_timestamp":"000001a06fef3da8"} 
[2026-09-05 10:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 10:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877588736001,"66":27865,"232":206,"78":62464,"24":24,"16":399452999572783104,"45":5910059744391251968},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,78,24,16,45]} 
[2026-09-05 10:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877588736001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:30:34] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-05 10:30:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399452999572783104,"km_value":399452999572783.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5910059744391251968,"description":"Unknown IO ID 45"} 
[2026-09-05 10:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877588736001,"power":27865,"unknown_232":206,"unknown_78":62464,"ignition":24,"odometer":null,"unknown_45":5910059744391251968}} 
[2026-09-05 10:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":171418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:30:34] local.INFO: GPS data processed {"connection_id":171418,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:30:34] local.INFO: Acknowledgment sent {"connection_id":171418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:30:45] local.INFO: TCP Data received {"connection_id":174122,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:30:45] local.INFO: Processing buffer {"connection_id":174122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:30:45] local.INFO: IMEI packet received {"connection_id":174122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":174122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:30:47] local.INFO: TCP Data received {"connection_id":171419,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:30:47] local.INFO: Processing buffer {"connection_id":171419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:30:47] local.INFO: IMEI packet received {"connection_id":171419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":171419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:30:50] local.INFO: TCP Data received {"connection_id":174122,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:30:50] local.INFO: Processing buffer {"connection_id":174122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:30:50] local.INFO: IMEI packet received {"connection_id":174122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":174122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:30:51] local.INFO: TCP Data received {"connection_id":174122,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06fef1e68012d18294007219cc00054009421..."} 
[2026-09-05 10:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fef1e68012d18294007219cc00054009421..."} 
[2026-09-05 10:30:51] local.INFO: Processing buffer {"connection_id":174122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fef1e68012d18294007219cc00054009421..."} 
[2026-09-05 10:30:51] local.INFO: Packet analysis {"connection_id":174122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fef"} 
[2026-09-05 10:30:51] local.INFO: Extracted packet for processing {"connection_id":174122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fef"} 
[2026-09-05 10:30:51] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119643328,"longitude_deg":75.6558144,"latitude_deg":11.9643328,"altitude":84,"angle":148,"satellites":33,"speed":0,"hex_longitude":"2d182940","hex_latitude":"07219cc0","is_valid_coordinates":true} 
[2026-09-05 10:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877585152001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17460334843396096,"note":"Value kept but may cause issues"} 
[2026-09-05 10:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130328276992,"note":"Value kept but may cause issues"} 
[2026-09-05 10:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788584337000,"timestamp_ms":1788584337000,"timestamp_seconds":1788584337,"priority":1,"record_length":96,"hex_timestamp":"000001a06fef1e68"} 
[2026-09-05 10:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:30:51] 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-09-05 10:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-05 10:30:51] 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-09-05 10:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877585152001,"66":12885,"105":206,"83":41984,"24":0,"16":17460334843396096,"45":1740993130328276992},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 10:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877585152001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:30:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 10:30:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17460334843396096,"km_value":17460334843396.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130328276992,"description":"Unknown IO ID 45"} 
[2026-09-05 10:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877585152001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740993130328276992}} 
[2026-09-05 10:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":174122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:30:51] local.INFO: GPS data processed {"connection_id":174122,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:30:51] local.INFO: Acknowledgment sent {"connection_id":174122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:30:52] local.INFO: TCP Data received {"connection_id":171419,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:30:52] local.INFO: Processing buffer {"connection_id":171419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:30:52] local.INFO: IMEI packet received {"connection_id":171419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":171419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:30:54] local.INFO: TCP Data received {"connection_id":171419,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06fef2250012c969a8007b9e968000c01512c..."} 
[2026-09-05 10:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fef2250012c969a8007b9e968000c01512c..."} 
[2026-09-05 10:30:54] local.INFO: Processing buffer {"connection_id":171419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fef2250012c969a8007b9e968000c01512c..."} 
[2026-09-05 10:30:54] local.INFO: Packet analysis {"connection_id":171419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fef"} 
[2026-09-05 10:30:54] local.INFO: Extracted packet for processing {"connection_id":171419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fef"} 
[2026-09-05 10:30:54] local.INFO: GPS Element Parsed {"raw_longitude":748067456,"raw_latitude":129624424,"longitude_deg":74.8067456,"latitude_deg":12.9624424,"altitude":12,"angle":337,"satellites":44,"speed":58,"hex_longitude":"2c969a80","hex_latitude":"07b9e968","is_valid_coordinates":true} 
[2026-09-05 10:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877588736001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":751164010266624,"note":"Value kept but may cause issues"} 
[2026-09-05 10:30:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7590394926286469120,"note":"Value kept but may cause issues"} 
[2026-09-05 10:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788584338000,"timestamp_ms":1788584338000,"timestamp_seconds":1788584338,"priority":1,"record_length":96,"hex_timestamp":"000001a06fef2250"} 
[2026-09-05 10:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:30: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-09-05 10:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 10:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877588736001,"66":27930,"235":206,"9":57344,"24":58,"16":751164010266624,"44":-7590394926286469120},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,9,24,16,44]} 
[2026-09-05 10:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877588736001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:30:54] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 10:30:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":751164010266624,"km_value":751164010266.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:30:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7590394926286469120,"description":"Unknown IO ID 44"} 
[2026-09-05 10:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877588736001,"power":27930,"unknown_235":206,"unknown_9":57344,"ignition":58,"odometer":null,"unknown_44":-7590394926286469120}} 
[2026-09-05 10:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":171419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767994,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:30:54] local.INFO: GPS data processed {"connection_id":171419,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:30:54] local.INFO: Acknowledgment sent {"connection_id":171419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:30:57] local.INFO: TCP Data received {"connection_id":172823,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:30:57] local.INFO: Processing buffer {"connection_id":172823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:30:57] local.INFO: IMEI packet received {"connection_id":172823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":172823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:31:01] local.INFO: TCP Data received {"connection_id":172823,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:31:01] local.INFO: Processing buffer {"connection_id":172823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:31:01] local.INFO: IMEI packet received {"connection_id":172823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":172823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:31:03] local.INFO: TCP Data received {"connection_id":172823,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fef7070012d51e00006518708000600d128..."} 
[2026-09-05 10:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fef7070012d51e00006518708000600d128..."} 
[2026-09-05 10:31:03] local.INFO: Processing buffer {"connection_id":172823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fef7070012d51e00006518708000600d128..."} 
[2026-09-05 10:31:03] local.INFO: Packet analysis {"connection_id":172823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fef"} 
[2026-09-05 10:31:03] local.INFO: Extracted packet for processing {"connection_id":172823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fef"} 
[2026-09-05 10:31:03] local.INFO: GPS Element Parsed {"raw_longitude":760340480,"raw_latitude":106006280,"longitude_deg":76.034048,"latitude_deg":10.600628,"altitude":6,"angle":209,"satellites":40,"speed":28,"hex_longitude":"2d51e000","hex_latitude":"06518708","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877592320001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399453454839316480,"note":"Value kept but may cause issues"} 
[2026-09-05 10:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5904993194808363008,"note":"Value kept but may cause issues"} 
[2026-09-05 10:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788584358000,"timestamp_ms":1788584358000,"timestamp_seconds":1788584358,"priority":1,"record_length":96,"hex_timestamp":"000001a06fef7070"} 
[2026-09-05 10:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:31: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-09-05 10: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":217,"data_length":795,"current_offset":136} 
[2026-09-05 10:31: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-09-05 10: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-09-05 10:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:31: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-09-05 10:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877592320001,"66":27865,"234":206,"78":62464,"24":28,"16":399453454839316480,"45":5904993194808363008},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,78,24,16,45]} 
[2026-09-05 10:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877592320001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:31:03] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-09-05 10:31:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399453454839316480,"km_value":399453454839316.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5904993194808363008,"description":"Unknown IO ID 45"} 
[2026-09-05 10:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877592320001,"power":27865,"unknown_234":206,"unknown_78":62464,"ignition":28,"odometer":null,"unknown_45":5904993194808363008}} 
[2026-09-05 10:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":172823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:31:03] local.INFO: GPS data processed {"connection_id":172823,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:31:03] local.INFO: Acknowledgment sent {"connection_id":172823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:31:23] local.INFO: TCP Data received {"connection_id":174122,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06fef7070012d18294007219cc0005400941f..."} 
[2026-09-05 10:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fef7070012d18294007219cc0005400941f..."} 
[2026-09-05 10:31:23] local.INFO: Processing buffer {"connection_id":174122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fef7070012d18294007219cc0005400941f..."} 
[2026-09-05 10:31:23] local.INFO: Packet analysis {"connection_id":174122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fef"} 
[2026-09-05 10:31:23] local.INFO: Extracted packet for processing {"connection_id":174122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fef"} 
[2026-09-05 10:31:23] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119643328,"longitude_deg":75.6558144,"latitude_deg":11.9643328,"altitude":84,"angle":148,"satellites":31,"speed":0,"hex_longitude":"2d182940","hex_latitude":"07219cc0","is_valid_coordinates":true} 
[2026-09-05 10:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877590272001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17460334843396096,"note":"Value kept but may cause issues"} 
[2026-09-05 10:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130328276992,"note":"Value kept but may cause issues"} 
[2026-09-05 10:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788584358000,"timestamp_ms":1788584358000,"timestamp_seconds":1788584358,"priority":1,"record_length":96,"hex_timestamp":"000001a06fef7070"} 
[2026-09-05 10:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:31:23] 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-09-05 10:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-05 10:31:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:31:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877590272001,"66":12863,"105":206,"83":41984,"24":0,"16":17460334843396096,"45":1740993130328276992},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 10:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877590272001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:31:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 10:31:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17460334843396096,"km_value":17460334843396.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130328276992,"description":"Unknown IO ID 45"} 
[2026-09-05 10:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877590272001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740993130328276992}} 
[2026-09-05 10:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":174122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:31:23] local.INFO: GPS data processed {"connection_id":174122,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:31:23] local.INFO: Acknowledgment sent {"connection_id":174122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:31:26] local.INFO: TCP Data received {"connection_id":171419,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff06e58012c96374007bb9fd8000b01582c..."} 
[2026-09-05 10:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff06e58012c96374007bb9fd8000b01582c..."} 
[2026-09-05 10:31:26] local.INFO: Processing buffer {"connection_id":171419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff06e58012c96374007bb9fd8000b01582c..."} 
[2026-09-05 10:31:26] local.INFO: Packet analysis {"connection_id":171419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff0"} 
[2026-09-05 10:31:26] local.INFO: Extracted packet for processing {"connection_id":171419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff0"} 
[2026-09-05 10:31:26] local.INFO: GPS Element Parsed {"raw_longitude":748042048,"raw_latitude":129736664,"longitude_deg":74.8042048,"latitude_deg":12.9736664,"altitude":11,"angle":344,"satellites":44,"speed":51,"hex_longitude":"2c963740","hex_latitude":"07bb9fd8","is_valid_coordinates":true} 
[2026-09-05 10:31: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-09-05 10:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877610496001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":756760352653312,"note":"Value kept but may cause issues"} 
[2026-09-05 10:31:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7620512748765589504,"note":"Value kept but may cause issues"} 
[2026-09-05 10:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788584423000,"timestamp_ms":1788584423000,"timestamp_seconds":1788584423,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff06e58"} 
[2026-09-05 10:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 10:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:31: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-09-05 10:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877610496001,"66":28126,"30":206,"9":57344,"24":51,"16":756760352653312,"44":-7620512748765589504},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,9,24,16,44]} 
[2026-09-05 10:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877610496001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:31:26] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-05 10:31:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":756760352653312,"km_value":756760352653.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:31:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7620512748765589504,"description":"Unknown IO ID 44"} 
[2026-09-05 10:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877610496001,"power":28126,"unknown_30":206,"unknown_9":57344,"ignition":51,"odometer":null,"unknown_44":-7620512748765589504}} 
[2026-09-05 10:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":171419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767997,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:31:26] local.INFO: GPS data processed {"connection_id":171419,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:31:26] local.INFO: Acknowledgment sent {"connection_id":171419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:31:35] local.INFO: TCP Data received {"connection_id":172823,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fefa338012d51cf8006516b40000600dd28..."} 
[2026-09-05 10:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fefa338012d51cf8006516b40000600dd28..."} 
[2026-09-05 10:31:35] local.INFO: Processing buffer {"connection_id":172823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fefa338012d51cf8006516b40000600dd28..."} 
[2026-09-05 10:31:35] local.INFO: Packet analysis {"connection_id":172823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fef"} 
[2026-09-05 10:31:35] local.INFO: Extracted packet for processing {"connection_id":172823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fef"} 
[2026-09-05 10:31:35] local.INFO: GPS Element Parsed {"raw_longitude":760336256,"raw_latitude":105999168,"longitude_deg":76.0336256,"latitude_deg":10.5999168,"altitude":6,"angle":221,"satellites":40,"speed":15,"hex_longitude":"2d51cf80","hex_latitude":"06516b40","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877595648001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399453854271275008,"note":"Value kept but may cause issues"} 
[2026-09-05 10:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5899715538992957440,"note":"Value kept but may cause issues"} 
[2026-09-05 10:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788584371000,"timestamp_ms":1788584371000,"timestamp_seconds":1788584371,"priority":1,"record_length":96,"hex_timestamp":"000001a06fefa338"} 
[2026-09-05 10:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:31:35] 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-09-05 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 10:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:31:35] 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-09-05 10:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877595648001,"66":27843,"234":206,"78":62464,"24":15,"16":399453854271275008,"45":5899715538992957440},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,78,24,16,45]} 
[2026-09-05 10:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877595648001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:31:35] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-09-05 10:31:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399453854271275008,"km_value":399453854271275.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5899715538992957440,"description":"Unknown IO ID 45"} 
[2026-09-05 10:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877595648001,"power":27843,"unknown_234":206,"unknown_78":62464,"ignition":15,"odometer":null,"unknown_45":5899715538992957440}} 
[2026-09-05 10:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":172823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:31:35] local.INFO: GPS data processed {"connection_id":172823,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:31:35] local.INFO: Acknowledgment sent {"connection_id":172823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:31:45] local.INFO: TCP Data received {"connection_id":171420,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:31:45] local.INFO: Processing buffer {"connection_id":171420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:31:45] local.INFO: IMEI packet received {"connection_id":171420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":171420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:31:47] local.INFO: TCP Data received {"connection_id":171718,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171718,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:31:47] local.INFO: Processing buffer {"connection_id":171718,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:31:47] local.INFO: IMEI packet received {"connection_id":171718,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":171718,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:31:50] local.INFO: TCP Data received {"connection_id":171420,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:31:50] local.INFO: Processing buffer {"connection_id":171420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:31:50] local.INFO: IMEI packet received {"connection_id":171420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":171420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:31:51] local.INFO: TCP Data received {"connection_id":171420,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06fefbe90012d18294007219cc00054009420..."} 
[2026-09-05 10:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fefbe90012d18294007219cc00054009420..."} 
[2026-09-05 10:31:51] local.INFO: Processing buffer {"connection_id":171420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fefbe90012d18294007219cc00054009420..."} 
[2026-09-05 10:31:51] local.INFO: Packet analysis {"connection_id":171420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fef"} 
[2026-09-05 10:31:51] local.INFO: Extracted packet for processing {"connection_id":171420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fef"} 
[2026-09-05 10:31:51] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119643328,"longitude_deg":75.6558144,"latitude_deg":11.9643328,"altitude":84,"angle":148,"satellites":32,"speed":0,"hex_longitude":"2d182940","hex_latitude":"07219cc0","is_valid_coordinates":true} 
[2026-09-05 10:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877595648001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17460334843396096,"note":"Value kept but may cause issues"} 
[2026-09-05 10:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130328276992,"note":"Value kept but may cause issues"} 
[2026-09-05 10:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788584378000,"timestamp_ms":1788584378000,"timestamp_seconds":1788584378,"priority":1,"record_length":96,"hex_timestamp":"000001a06fefbe90"} 
[2026-09-05 10:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:31:51] 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-09-05 10:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-05 10:31:51] 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-09-05 10:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877595648001,"66":12809,"105":206,"83":41984,"24":0,"16":17460334843396096,"45":1740993130328276992},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 10:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877595648001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:31:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 10:31:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17460334843396096,"km_value":17460334843396.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130328276992,"description":"Unknown IO ID 45"} 
[2026-09-05 10:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877595648001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740993130328276992}} 
[2026-09-05 10:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":171420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":767999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:31:51] local.INFO: GPS data processed {"connection_id":171420,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:31:51] local.INFO: Acknowledgment sent {"connection_id":171420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:31:52] local.INFO: TCP Data received {"connection_id":171718,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171718,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:31:52] local.INFO: Processing buffer {"connection_id":171718,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:31:52] local.INFO: IMEI packet received {"connection_id":171718,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":171718,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:31:53] local.INFO: TCP Data received {"connection_id":171718,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171718,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:31:53] local.INFO: Processing buffer {"connection_id":171718,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:31:53] local.INFO: IMEI packet received {"connection_id":171718,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":171718,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:31:54] local.INFO: TCP Data received {"connection_id":171718,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff09568012c962dc007bbc1b0000b01552c..."} 
[2026-09-05 10:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff09568012c962dc007bbc1b0000b01552c..."} 
[2026-09-05 10:31:54] local.INFO: Processing buffer {"connection_id":171718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff09568012c962dc007bbc1b0000b01552c..."} 
[2026-09-05 10:31:54] local.INFO: Packet analysis {"connection_id":171718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff0"} 
[2026-09-05 10:31:54] local.INFO: Extracted packet for processing {"connection_id":171718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff0"} 
[2026-09-05 10:31:54] local.INFO: GPS Element Parsed {"raw_longitude":748039616,"raw_latitude":129745328,"longitude_deg":74.8039616,"latitude_deg":12.9745328,"altitude":11,"angle":341,"satellites":44,"speed":32,"hex_longitude":"2c962dc0","hex_latitude":"07bbc1b0","is_valid_coordinates":true} 
[2026-09-05 10:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877612288001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":757198439317504,"note":"Value kept but may cause issues"} 
[2026-09-05 10:31:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7622553442344511488,"note":"Value kept but may cause issues"} 
[2026-09-05 10:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788584433000,"timestamp_ms":1788584433000,"timestamp_seconds":1788584433,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff09568"} 
[2026-09-05 10:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:31: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-09-05 10:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-05 10:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877612288001,"66":27952,"30":206,"9":57344,"24":32,"16":757198439317504,"44":-7622553442344511488},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,9,24,16,44]} 
[2026-09-05 10:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877612288001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:31:54] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-05 10:31:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":757198439317504,"km_value":757198439317.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:31:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7622553442344511488,"description":"Unknown IO ID 44"} 
[2026-09-05 10:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877612288001,"power":27952,"unknown_30":206,"unknown_9":57344,"ignition":32,"odometer":null,"unknown_44":-7622553442344511488}} 
[2026-09-05 10:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":171718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768000,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:31:54] local.INFO: GPS data processed {"connection_id":171718,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:31:54] local.INFO: Acknowledgment sent {"connection_id":171718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:31:56] local.INFO: TCP Data received {"connection_id":174123,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:31:56] local.INFO: Processing buffer {"connection_id":174123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:31:56] local.INFO: IMEI packet received {"connection_id":174123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":174123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:31:59] local.INFO: TCP Data received {"connection_id":171718,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff0bc78012c9622c007bbe570000b015d2a..."} 
[2026-09-05 10:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff0bc78012c9622c007bbe570000b015d2a..."} 
[2026-09-05 10:31:59] local.INFO: Processing buffer {"connection_id":171718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff0bc78012c9622c007bbe570000b015d2a..."} 
[2026-09-05 10:31:59] local.INFO: Packet analysis {"connection_id":171718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff0"} 
[2026-09-05 10:31:59] local.INFO: Extracted packet for processing {"connection_id":171718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff0"} 
[2026-09-05 10:31:59] local.INFO: GPS Element Parsed {"raw_longitude":748036800,"raw_latitude":129754480,"longitude_deg":74.80368,"latitude_deg":12.975448,"altitude":11,"angle":349,"satellites":42,"speed":42,"hex_longitude":"2c9622c0","hex_latitude":"07bbe570","is_valid_coordinates":true} 
[2026-09-05 10:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877614848001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":757662295785472,"note":"Value kept but may cause issues"} 
[2026-09-05 10:31:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7625227454621044736,"note":"Value kept but may cause issues"} 
[2026-09-05 10:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788584443000,"timestamp_ms":1788584443000,"timestamp_seconds":1788584443,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff0bc78"} 
[2026-09-05 10:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-05 10:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877614848001,"66":28148,"30":206,"9":57344,"24":42,"16":757662295785472,"44":-7625227454621044736},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,9,24,16,44]} 
[2026-09-05 10:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877614848001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:31:59] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-05 10:31:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":757662295785472,"km_value":757662295785.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:31:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7625227454621044736,"description":"Unknown IO ID 44"} 
[2026-09-05 10:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877614848001,"power":28148,"unknown_30":206,"unknown_9":57344,"ignition":42,"odometer":null,"unknown_44":-7625227454621044736}} 
[2026-09-05 10:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":171718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768001,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:31:59] local.INFO: GPS data processed {"connection_id":171718,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:31:59] local.INFO: Acknowledgment sent {"connection_id":171718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:32:02] local.INFO: TCP Data received {"connection_id":174123,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:32:02] local.INFO: Processing buffer {"connection_id":174123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:32:02] local.INFO: IMEI packet received {"connection_id":174123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":174123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:32:03] local.INFO: TCP Data received {"connection_id":174123,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06fefddd0012d51b7c006514e90000500d728..."} 
[2026-09-05 10:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fefddd0012d51b7c006514e90000500d728..."} 
[2026-09-05 10:32:03] local.INFO: Processing buffer {"connection_id":174123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fefddd0012d51b7c006514e90000500d728..."} 
[2026-09-05 10:32:03] local.INFO: Packet analysis {"connection_id":174123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06fef"} 
[2026-09-05 10:32:03] local.INFO: Extracted packet for processing {"connection_id":174123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06fef"} 
[2026-09-05 10:32:03] local.INFO: GPS Element Parsed {"raw_longitude":760330176,"raw_latitude":105991824,"longitude_deg":76.0330176,"latitude_deg":10.5991824,"altitude":5,"angle":215,"satellites":40,"speed":31,"hex_longitude":"2d51b7c0","hex_latitude":"06514e90","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877598976001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399454313832775680,"note":"Value kept but may cause issues"} 
[2026-09-05 10:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5895071201875410944,"note":"Value kept but may cause issues"} 
[2026-09-05 10:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788584386000,"timestamp_ms":1788584386000,"timestamp_seconds":1788584386,"priority":1,"record_length":96,"hex_timestamp":"000001a06fefddd0"} 
[2026-09-05 10:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:32: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-09-05 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 10:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:32: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-09-05 10:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877598976001,"66":27843,"234":206,"78":62464,"24":31,"16":399454313832775680,"45":5895071201875410944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,78,24,16,45]} 
[2026-09-05 10:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877598976001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:32:03] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-09-05 10:32:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399454313832775680,"km_value":399454313832775.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5895071201875410944,"description":"Unknown IO ID 45"} 
[2026-09-05 10:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877598976001,"power":27843,"unknown_234":206,"unknown_78":62464,"ignition":31,"odometer":null,"unknown_45":5895071201875410944}} 
[2026-09-05 10:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":174123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:32:03] local.INFO: GPS data processed {"connection_id":174123,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:32:03] local.INFO: Acknowledgment sent {"connection_id":174123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:32:22] local.INFO: TCP Data received {"connection_id":171420,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff01098012d18294007219cc00054009421..."} 
[2026-09-05 10:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff01098012d18294007219cc00054009421..."} 
[2026-09-05 10:32:22] local.INFO: Processing buffer {"connection_id":171420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff01098012d18294007219cc00054009421..."} 
[2026-09-05 10:32:22] local.INFO: Packet analysis {"connection_id":171420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff0"} 
[2026-09-05 10:32:22] local.INFO: Extracted packet for processing {"connection_id":171420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff0"} 
[2026-09-05 10:32:22] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119643328,"longitude_deg":75.6558144,"latitude_deg":11.9643328,"altitude":84,"angle":148,"satellites":33,"speed":0,"hex_longitude":"2d182940","hex_latitude":"07219cc0","is_valid_coordinates":true} 
[2026-09-05 10:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877600768001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17460334843396096,"note":"Value kept but may cause issues"} 
[2026-09-05 10:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130328276992,"note":"Value kept but may cause issues"} 
[2026-09-05 10:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788584399000,"timestamp_ms":1788584399000,"timestamp_seconds":1788584399,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff01098"} 
[2026-09-05 10:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-05 10:32:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 10:32:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 10:32:22] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 10:32:22] local.WARNING: Large IO value detected {"io_id":111,"raw_value":-1328570681115793088,"note":"Value kept but may cause issues"} 
[2026-09-05 10:32:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-05 10:32:22] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154026,"note":"Value kept but may cause issues"} 
[2026-09-05 10:32:22] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2422021807260341279,"note":"Value kept but may cause issues"} 
[2026-09-05 10:32:22] local.WARNING: Large IO value detected {"io_id":51,"raw_value":4900142251490987603,"note":"Value kept but may cause issues"} 
[2026-09-05 10:32:22] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-05 10:32:22] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,8,160,112,45,64,156,84,31,10,66,30,33,208,1,240,117,227,111,4,113,205,48,41,192,239,50,2,62,7,51,164,21],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-05 10:32:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6053000764345810944,"timestamp_seconds":6053000764345811.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 10:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877600768001,"66":12722,"105":206,"83":41984,"24":0,"16":17460334843396096,"45":1740993130328276992},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 10:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877600768001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:32:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 10:32:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17460334843396096,"km_value":17460334843396.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130328276992,"description":"Unknown IO ID 45"} 
[2026-09-05 10:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877600768001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740993130328276992}} 
[2026-09-05 10:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":171420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:32:22] local.INFO: GPS data processed {"connection_id":171420,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:32:22] local.INFO: Acknowledgment sent {"connection_id":171420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:32:31] local.INFO: TCP Data received {"connection_id":171718,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff0dfa0012c961d8007bc0bd8000b01602d..."} 
[2026-09-05 10:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff0dfa0012c961d8007bc0bd8000b01602d..."} 
[2026-09-05 10:32:31] local.INFO: Processing buffer {"connection_id":171718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff0dfa0012c961d8007bc0bd8000b01602d..."} 
[2026-09-05 10:32:31] local.INFO: Packet analysis {"connection_id":171718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff0"} 
[2026-09-05 10:32:31] local.INFO: Extracted packet for processing {"connection_id":171718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff0"} 
[2026-09-05 10:32:31] local.INFO: GPS Element Parsed {"raw_longitude":748035456,"raw_latitude":129764312,"longitude_deg":74.8035456,"latitude_deg":12.9764312,"altitude":11,"angle":352,"satellites":45,"speed":45,"hex_longitude":"2c961d80","hex_latitude":"07bc0bd8","is_valid_coordinates":true} 
[2026-09-05 10:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877617408001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":758143332122624,"note":"Value kept but may cause issues"} 
[2026-09-05 10:32:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7628323679362519040,"note":"Value kept but may cause issues"} 
[2026-09-05 10:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788584452000,"timestamp_ms":1788584452000,"timestamp_seconds":1788584452,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff0dfa0"} 
[2026-09-05 10:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10: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-09-05 10: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":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-05 10:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877617408001,"66":28071,"29":206,"9":57344,"24":45,"16":758143332122624,"44":-7628323679362519040},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,9,24,16,44]} 
[2026-09-05 10:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877617408001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:32:31] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-05 10:32:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":758143332122624,"km_value":758143332122.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:32:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7628323679362519040,"description":"Unknown IO ID 44"} 
[2026-09-05 10:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877617408001,"power":28071,"unknown_29":206,"unknown_9":57344,"ignition":45,"odometer":null,"unknown_44":-7628323679362519040}} 
[2026-09-05 10:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":171718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768004,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:32:31] local.INFO: GPS data processed {"connection_id":171718,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:32:31] local.INFO: Acknowledgment sent {"connection_id":171718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:32:34] local.INFO: TCP Data received {"connection_id":174123,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff008c8012d519fc006512e98000500db24..."} 
[2026-09-05 10:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff008c8012d519fc006512e98000500db24..."} 
[2026-09-05 10:32:34] local.INFO: Processing buffer {"connection_id":174123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff008c8012d519fc006512e98000500db24..."} 
[2026-09-05 10:32:34] local.INFO: Packet analysis {"connection_id":174123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff0"} 
[2026-09-05 10:32:34] local.INFO: Extracted packet for processing {"connection_id":174123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff0"} 
[2026-09-05 10:32:34] local.INFO: GPS Element Parsed {"raw_longitude":760324032,"raw_latitude":105983640,"longitude_deg":76.0324032,"latitude_deg":10.598364,"altitude":5,"angle":219,"satellites":36,"speed":40,"hex_longitude":"2d519fc0","hex_latitude":"06512e98","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877602816001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399454807754014720,"note":"Value kept but may cause issues"} 
[2026-09-05 10:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5888386171176652800,"note":"Value kept but may cause issues"} 
[2026-09-05 10:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788584397000,"timestamp_ms":1788584397000,"timestamp_seconds":1788584397,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff008c8"} 
[2026-09-05 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-09-05 10:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 10:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 10:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877602816001,"66":26930,"234":206,"78":62464,"24":40,"16":399454807754014720,"45":5888386171176652800},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,78,24,16,45]} 
[2026-09-05 10:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877602816001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:32:34] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-09-05 10:32:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399454807754014720,"km_value":399454807754014.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5888386171176652800,"description":"Unknown IO ID 45"} 
[2026-09-05 10:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877602816001,"power":26930,"unknown_234":206,"unknown_78":62464,"ignition":40,"odometer":null,"unknown_45":5888386171176652800}} 
[2026-09-05 10:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":174123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:32:34] local.INFO: GPS data processed {"connection_id":174123,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:32:34] local.INFO: Acknowledgment sent {"connection_id":174123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:32:44] local.INFO: TCP Data received {"connection_id":174124,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:32:44] local.INFO: Processing buffer {"connection_id":174124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:32:44] local.INFO: IMEI packet received {"connection_id":174124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":174124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:32:45] local.INFO: TCP Data received {"connection_id":174124,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:32:45] local.INFO: Processing buffer {"connection_id":174124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:32:45] local.INFO: IMEI packet received {"connection_id":174124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":174124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:32:46] local.INFO: TCP Data received {"connection_id":174124,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:32:46] local.INFO: Processing buffer {"connection_id":174124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:32:46] local.INFO: IMEI packet received {"connection_id":174124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":174124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:32:50] local.INFO: TCP Data received {"connection_id":174124,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:32:50] local.INFO: Processing buffer {"connection_id":174124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:32:50] local.INFO: IMEI packet received {"connection_id":174124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":174124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:32:50] local.INFO: TCP Data received {"connection_id":174124,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff23f30012d18a94007217458004c007424..."} 
[2026-09-05 10:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff23f30012d18a94007217458004c007424..."} 
[2026-09-05 10:32:50] local.INFO: Processing buffer {"connection_id":174124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff23f30012d18a94007217458004c007424..."} 
[2026-09-05 10:32:50] local.INFO: Packet analysis {"connection_id":174124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff2"} 
[2026-09-05 10:32:50] local.INFO: Extracted packet for processing {"connection_id":174124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff2"} 
[2026-09-05 10:32:50] local.INFO: GPS Element Parsed {"raw_longitude":756590912,"raw_latitude":119632984,"longitude_deg":75.6590912,"latitude_deg":11.9632984,"altitude":76,"angle":116,"satellites":36,"speed":27,"hex_longitude":"2d18a940","hex_latitude":"07217458","is_valid_coordinates":true} 
[2026-09-05 10:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877639680001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17461992700772352,"note":"Value kept but may cause issues"} 
[2026-09-05 10:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767170303160588288,"note":"Value kept but may cause issues"} 
[2026-09-05 10:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788584542000,"timestamp_ms":1788584542000,"timestamp_seconds":1788584542,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff23f30"} 
[2026-09-05 10:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 10:32:50] 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-09-05 10:32:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877639680001,"66":14048,"106":206,"83":41984,"24":27,"16":17461992700772352,"45":1767170303160588288},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-05 10:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877639680001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:32:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-05 10:32:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17461992700772352,"km_value":17461992700772.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767170303160588288,"description":"Unknown IO ID 45"} 
[2026-09-05 10:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877639680001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1767170303160588288}} 
[2026-09-05 10:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":174124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:32:51] local.INFO: GPS data processed {"connection_id":174124,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:32:51] local.INFO: Acknowledgment sent {"connection_id":174124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:32:51] local.INFO: TCP Data received {"connection_id":172824,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172824,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:32:51] local.INFO: Processing buffer {"connection_id":172824,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:32:51] local.INFO: IMEI packet received {"connection_id":172824,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":172824,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:32:53] local.INFO: TCP Data received {"connection_id":172824,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172824,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:32:53] local.INFO: Processing buffer {"connection_id":172824,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:32:53] local.INFO: IMEI packet received {"connection_id":172824,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":172824,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:32:58] local.INFO: TCP Data received {"connection_id":172824,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172824,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:32:58] local.INFO: Processing buffer {"connection_id":172824,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:32:58] local.INFO: IMEI packet received {"connection_id":172824,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":172824,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:32:59] local.INFO: TCP Data received {"connection_id":172824,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff0fee0012c96184007bc30d0000c01602d..."} 
[2026-09-05 10:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff0fee0012c96184007bc30d0000c01602d..."} 
[2026-09-05 10:32:59] local.INFO: Processing buffer {"connection_id":172824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff0fee0012c96184007bc30d0000c01602d..."} 
[2026-09-05 10:32:59] local.INFO: Packet analysis {"connection_id":172824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff0"} 
[2026-09-05 10:32:59] local.INFO: Extracted packet for processing {"connection_id":172824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff0"} 
[2026-09-05 10:32:59] local.INFO: GPS Element Parsed {"raw_longitude":748034112,"raw_latitude":129773776,"longitude_deg":74.8034112,"latitude_deg":12.9773776,"altitude":12,"angle":352,"satellites":45,"speed":49,"hex_longitude":"2c961840","hex_latitude":"07bc30d0","is_valid_coordinates":true} 
[2026-09-05 10:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877619712001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":758607188590592,"note":"Value kept but may cause issues"} 
[2026-09-05 10:32:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7629801422987732992,"note":"Value kept but may cause issues"} 
[2026-09-05 10:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788584460000,"timestamp_ms":1788584460000,"timestamp_seconds":1788584460,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff0fee0"} 
[2026-09-05 10:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-05 10:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2246,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:32:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172824,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172824,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877619712001,"66":27995,"29":206,"9":57344,"24":49,"16":758607188590592,"44":-7629801422987732992},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,9,24,16,44]} 
[2026-09-05 10:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877619712001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:32:59] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-05 10:32:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":758607188590592,"km_value":758607188590.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:32:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7629801422987732992,"description":"Unknown IO ID 44"} 
[2026-09-05 10:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877619712001,"power":27995,"unknown_29":206,"unknown_9":57344,"ignition":49,"odometer":null,"unknown_44":-7629801422987732992}} 
[2026-09-05 10:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":172824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768007,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:32:59] local.INFO: GPS data processed {"connection_id":172824,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:32:59] local.INFO: Acknowledgment sent {"connection_id":172824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:33:02] local.INFO: TCP Data received {"connection_id":171421,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:33:02] local.INFO: Processing buffer {"connection_id":171421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:33:02] local.INFO: IMEI packet received {"connection_id":171421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":171421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:33:06] local.INFO: TCP Data received {"connection_id":171421,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:33:06] local.INFO: Processing buffer {"connection_id":171421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:33:06] local.INFO: IMEI packet received {"connection_id":171421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":171421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:33:08] local.INFO: TCP Data received {"connection_id":171421,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff037a8012d51870006511570000300e221..."} 
[2026-09-05 10:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff037a8012d51870006511570000300e221..."} 
[2026-09-05 10:33:08] local.INFO: Processing buffer {"connection_id":171421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff037a8012d51870006511570000300e221..."} 
[2026-09-05 10:33:08] local.INFO: Packet analysis {"connection_id":171421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff0"} 
[2026-09-05 10:33:08] local.INFO: Extracted packet for processing {"connection_id":171421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff0"} 
[2026-09-05 10:33:08] local.INFO: GPS Element Parsed {"raw_longitude":760317696,"raw_latitude":105977200,"longitude_deg":76.0317696,"latitude_deg":10.59772,"altitude":3,"angle":226,"satellites":33,"speed":25,"hex_longitude":"2d518700","hex_latitude":"06511570","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877605632001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399455241545711616,"note":"Value kept but may cause issues"} 
[2026-09-05 10:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5881630771733501952,"note":"Value kept but may cause issues"} 
[2026-09-05 10:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788584409000,"timestamp_ms":1788584409000,"timestamp_seconds":1788584409,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff037a8"} 
[2026-09-05 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-09-05 10:33: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-09-05 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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-09-05 10:33:08] 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-09-05 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-09-05 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-09-05 10:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:33:08] 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-09-05 10:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877605632001,"66":27930,"90":206,"78":62464,"24":25,"16":399455241545711616,"45":5881630771733501952},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,78,24,16,45]} 
[2026-09-05 10:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877605632001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:33:08] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-05 10:33:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399455241545711616,"km_value":399455241545711.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5881630771733501952,"description":"Unknown IO ID 45"} 
[2026-09-05 10:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877605632001,"power":27930,"unknown_90":206,"unknown_78":62464,"ignition":25,"odometer":null,"unknown_45":5881630771733501952}} 
[2026-09-05 10:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":171421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:33:08] local.INFO: GPS data processed {"connection_id":171421,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:33:08] local.INFO: Acknowledgment sent {"connection_id":171421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:33:09] local.INFO: TCP Data received {"connection_id":171421,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff06e58012d516e000650f968000300da24..."} 
[2026-09-05 10:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff06e58012d516e000650f968000300da24..."} 
[2026-09-05 10:33:09] local.INFO: Processing buffer {"connection_id":171421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff06e58012d516e000650f968000300da24..."} 
[2026-09-05 10:33:09] local.INFO: Packet analysis {"connection_id":171421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff0"} 
[2026-09-05 10:33:09] local.INFO: Extracted packet for processing {"connection_id":171421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff0"} 
[2026-09-05 10:33:09] local.INFO: GPS Element Parsed {"raw_longitude":760311296,"raw_latitude":105970024,"longitude_deg":76.0311296,"latitude_deg":10.5970024,"altitude":3,"angle":218,"satellites":36,"speed":29,"hex_longitude":"2d516e00","hex_latitude":"0650f968","is_valid_coordinates":true} 
[2026-09-05 10:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877608704001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399455705402179584,"note":"Value kept but may cause issues"} 
[2026-09-05 10:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5874664266058264576,"note":"Value kept but may cause issues"} 
[2026-09-05 10:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788584423000,"timestamp_ms":1788584423000,"timestamp_seconds":1788584423,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff06e58"} 
[2026-09-05 10:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:33: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-09-05 10:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 10:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:33:09] 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-09-05 10:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877608704001,"66":27843,"90":206,"78":62464,"24":29,"16":399455705402179584,"45":5874664266058264576},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,78,24,16,45]} 
[2026-09-05 10:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877608704001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:33:09] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-05 10:33:09] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399455705402179584,"km_value":399455705402179.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":5874664266058264576,"description":"Unknown IO ID 45"} 
[2026-09-05 10:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877608704001,"power":27843,"unknown_90":206,"unknown_78":62464,"ignition":29,"odometer":null,"unknown_45":5874664266058264576}} 
[2026-09-05 10:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":171421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:33:09] local.INFO: GPS data processed {"connection_id":171421,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:33:09] local.INFO: Acknowledgment sent {"connection_id":171421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:33:21] local.INFO: TCP Data received {"connection_id":174124,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff24700012d18ad8007217108004b008625..."} 
[2026-09-05 10:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff24700012d18ad8007217108004b008625..."} 
[2026-09-05 10:33:21] local.INFO: Processing buffer {"connection_id":174124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff24700012d18ad8007217108004b008625..."} 
[2026-09-05 10:33:21] local.INFO: Packet analysis {"connection_id":174124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff2"} 
[2026-09-05 10:33:21] local.INFO: Extracted packet for processing {"connection_id":174124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff2"} 
[2026-09-05 10:33:21] local.INFO: GPS Element Parsed {"raw_longitude":756592000,"raw_latitude":119632136,"longitude_deg":75.6592,"latitude_deg":11.9632136,"altitude":75,"angle":134,"satellites":37,"speed":30,"hex_longitude":"2d18ad80","hex_latitude":"07217108","is_valid_coordinates":true} 
[2026-09-05 10:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877642752001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17462061420249088,"note":"Value kept but may cause issues"} 
[2026-09-05 10:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777021927344592896,"note":"Value kept but may cause issues"} 
[2026-09-05 10:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788584544000,"timestamp_ms":1788584544000,"timestamp_seconds":1788584544,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff24700"} 
[2026-09-05 10:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-05 10:33:21] 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-09-05 10:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877642752001,"66":13939,"106":206,"83":41984,"24":30,"16":17462061420249088,"45":1777021927344592896},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-05 10:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877642752001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:33:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-05 10:33:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17462061420249088,"km_value":17462061420249.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777021927344592896,"description":"Unknown IO ID 45"} 
[2026-09-05 10:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877642752001,"power":13939,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1777021927344592896}} 
[2026-09-05 10:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":174124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:33:21] local.INFO: GPS data processed {"connection_id":174124,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:33:21] local.INFO: Acknowledgment sent {"connection_id":174124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:33:31] local.INFO: TCP Data received {"connection_id":172824,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff256a0012c95cb4007bd92e80018015428..."} 
[2026-09-05 10:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff256a0012c95cb4007bd92e80018015428..."} 
[2026-09-05 10:33:31] local.INFO: Processing buffer {"connection_id":172824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff256a0012c95cb4007bd92e80018015428..."} 
[2026-09-05 10:33:31] local.INFO: Packet analysis {"connection_id":172824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff2"} 
[2026-09-05 10:33:31] local.INFO: Extracted packet for processing {"connection_id":172824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff2"} 
[2026-09-05 10:33:31] local.INFO: GPS Element Parsed {"raw_longitude":748014400,"raw_latitude":129864424,"longitude_deg":74.80144,"latitude_deg":12.9864424,"altitude":24,"angle":340,"satellites":40,"speed":36,"hex_longitude":"2c95cb40","hex_latitude":"07bd92e8","is_valid_coordinates":true} 
[2026-09-05 10:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877640448001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":763164148891648,"note":"Value kept but may cause issues"} 
[2026-09-05 10:33:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7649856515055108096,"note":"Value kept but may cause issues"} 
[2026-09-05 10:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788584548000,"timestamp_ms":1788584548000,"timestamp_seconds":1788584548,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff256a0"} 
[2026-09-05 10:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-05 10:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172824,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172824,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877640448001,"66":28006,"89":206,"9":57344,"24":36,"16":763164148891648,"44":-7649856515055108096},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,9,24,16,44]} 
[2026-09-05 10:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877640448001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:33:31] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-05 10:33:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":763164148891648,"km_value":763164148891.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:33:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7649856515055108096,"description":"Unknown IO ID 44"} 
[2026-09-05 10:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877640448001,"power":28006,"unknown_89":206,"unknown_9":57344,"ignition":36,"odometer":null,"unknown_44":-7649856515055108096}} 
[2026-09-05 10:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":172824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768011,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:33:31] local.INFO: GPS data processed {"connection_id":172824,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:33:31] local.INFO: Acknowledgment sent {"connection_id":172824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:33:41] local.INFO: TCP Data received {"connection_id":171421,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff09950012d5156c00650dbc0000200d926..."} 
[2026-09-05 10:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff09950012d5156c00650dbc0000200d926..."} 
[2026-09-05 10:33:41] local.INFO: Processing buffer {"connection_id":171421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff09950012d5156c00650dbc0000200d926..."} 
[2026-09-05 10:33:41] local.INFO: Packet analysis {"connection_id":171421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff0"} 
[2026-09-05 10:33:41] local.INFO: Extracted packet for processing {"connection_id":171421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff0"} 
[2026-09-05 10:33:41] local.INFO: GPS Element Parsed {"raw_longitude":760305344,"raw_latitude":105962432,"longitude_deg":76.0305344,"latitude_deg":10.5962432,"altitude":2,"angle":217,"satellites":38,"speed":35,"hex_longitude":"2d5156c0","hex_latitude":"0650dbc0","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877612288001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399456173553614848,"note":"Value kept but may cause issues"} 
[2026-09-05 10:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5867627391638661120,"note":"Value kept but may cause issues"} 
[2026-09-05 10:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788584434000,"timestamp_ms":1788584434000,"timestamp_seconds":1788584434,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff09950"} 
[2026-09-05 10:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:33: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-09-05 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 10:33:41] 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-09-05 10: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-09-05 10:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":171421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":171421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":171421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:33:41] 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-09-05 10:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877612288001,"66":27843,"90":206,"78":62464,"24":35,"16":399456173553614848,"45":5867627391638661120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,78,24,16,45]} 
[2026-09-05 10:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877612288001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:33:41] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-05 10:33:41] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399456173553614848,"km_value":399456173553614.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":5867627391638661120,"description":"Unknown IO ID 45"} 
[2026-09-05 10:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877612288001,"power":27843,"unknown_90":206,"unknown_78":62464,"ignition":35,"odometer":null,"unknown_45":5867627391638661120}} 
[2026-09-05 10:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":171421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:33:41] local.INFO: GPS data processed {"connection_id":171421,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:33:41] local.INFO: Acknowledgment sent {"connection_id":171421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:33:44] local.INFO: TCP Data received {"connection_id":171719,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:33:44] local.INFO: Processing buffer {"connection_id":171719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:33:44] local.INFO: IMEI packet received {"connection_id":171719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":171719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:33:45] local.INFO: TCP Data received {"connection_id":171719,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:33:45] local.INFO: Processing buffer {"connection_id":171719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:33:45] local.INFO: IMEI packet received {"connection_id":171719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":171719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:33:47] local.INFO: TCP Data received {"connection_id":171719,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:33:47] local.INFO: Processing buffer {"connection_id":171719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:33:47] local.INFO: IMEI packet received {"connection_id":171719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":171719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:33:48] local.INFO: TCP Data received {"connection_id":171720,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171720,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:33:48] local.INFO: Processing buffer {"connection_id":171720,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:33:48] local.INFO: IMEI packet received {"connection_id":171720,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":171720,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:33:50] local.INFO: TCP Data received {"connection_id":171719,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:33:50] local.INFO: Processing buffer {"connection_id":171719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:33:50] local.INFO: IMEI packet received {"connection_id":171719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":171719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:33:51] local.INFO: TCP Data received {"connection_id":171719,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff252b8012d18b380072169380049009224..."} 
[2026-09-05 10:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff252b8012d18b380072169380049009224..."} 
[2026-09-05 10:33:51] local.INFO: Processing buffer {"connection_id":171719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff252b8012d18b380072169380049009224..."} 
[2026-09-05 10:33:51] local.INFO: Packet analysis {"connection_id":171719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff2"} 
[2026-09-05 10:33:51] local.INFO: Extracted packet for processing {"connection_id":171719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff2"} 
[2026-09-05 10:33:51] local.INFO: GPS Element Parsed {"raw_longitude":756593536,"raw_latitude":119630136,"longitude_deg":75.6593536,"latitude_deg":11.9630136,"altitude":73,"angle":146,"satellites":36,"speed":35,"hex_longitude":"2d18b380","hex_latitude":"07216938","is_valid_coordinates":true} 
[2026-09-05 10:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877643264001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17462181679333376,"note":"Value kept but may cause issues"} 
[2026-09-05 10:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778218195995396096,"note":"Value kept but may cause issues"} 
[2026-09-05 10:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788584547000,"timestamp_ms":1788584547000,"timestamp_seconds":1788584547,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff252b8"} 
[2026-09-05 10:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:33:51] 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-09-05 10:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-05 10:33:51] 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-09-05 10:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877643264001,"66":14330,"106":206,"83":41984,"24":35,"16":17462181679333376,"45":1778218195995396096},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-05 10:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877643264001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:33:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-05 10:33:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17462181679333376,"km_value":17462181679333.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778218195995396096,"description":"Unknown IO ID 45"} 
[2026-09-05 10:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877643264001,"power":14330,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1778218195995396096}} 
[2026-09-05 10:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":171719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:33:51] local.INFO: GPS data processed {"connection_id":171719,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:33:51] local.INFO: Acknowledgment sent {"connection_id":171719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:33:51] local.INFO: TCP Data received {"connection_id":171720,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171720,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:33:51] local.INFO: Processing buffer {"connection_id":171720,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:33:51] local.INFO: IMEI packet received {"connection_id":171720,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":171720,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:33:53] local.INFO: TCP Data received {"connection_id":171720,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff279c8012c95bf4007bdb560001601552a..."} 
[2026-09-05 10:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff279c8012c95bf4007bdb560001601552a..."} 
[2026-09-05 10:33:53] local.INFO: Processing buffer {"connection_id":171720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff279c8012c95bf4007bdb560001601552a..."} 
[2026-09-05 10:33:53] local.INFO: Packet analysis {"connection_id":171720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff2"} 
[2026-09-05 10:33:53] local.INFO: Extracted packet for processing {"connection_id":171720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff2"} 
[2026-09-05 10:33:53] local.INFO: GPS Element Parsed {"raw_longitude":748011328,"raw_latitude":129873248,"longitude_deg":74.8011328,"latitude_deg":12.9873248,"altitude":22,"angle":341,"satellites":42,"speed":43,"hex_longitude":"2c95bf40","hex_latitude":"07bdb560","is_valid_coordinates":true} 
[2026-09-05 10:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877644288001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":763615120457728,"note":"Value kept but may cause issues"} 
[2026-09-05 10:33:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7652952739796555776,"note":"Value kept but may cause issues"} 
[2026-09-05 10:33:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788584557000,"timestamp_ms":1788584557000,"timestamp_seconds":1788584557,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff279c8"} 
[2026-09-05 10:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:33:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 10:33:53] 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-09-05 10:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171720,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171720,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:33:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877644288001,"66":27800,"89":206,"9":57344,"24":43,"16":763615120457728,"44":-7652952739796555776},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,9,24,16,44]} 
[2026-09-05 10:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877644288001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:33:53] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-05 10:33:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":763615120457728,"km_value":763615120457.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:33:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7652952739796555776,"description":"Unknown IO ID 44"} 
[2026-09-05 10:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877644288001,"power":27800,"unknown_89":206,"unknown_9":57344,"ignition":43,"odometer":null,"unknown_44":-7652952739796555776}} 
[2026-09-05 10:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":171720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768014,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:33:53] local.INFO: GPS data processed {"connection_id":171720,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:33:53] local.INFO: Acknowledgment sent {"connection_id":171720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:33:58] local.INFO: TCP Data received {"connection_id":174125,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:33:58] local.INFO: Processing buffer {"connection_id":174125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:33:58] local.INFO: IMEI packet received {"connection_id":174125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":174125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:34:02] local.INFO: TCP Data received {"connection_id":174125,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:34:02] local.INFO: Processing buffer {"connection_id":174125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:34:02] local.INFO: IMEI packet received {"connection_id":174125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":174125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:34:04] local.INFO: TCP Data received {"connection_id":174125,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff0d000012d5140400650be48000300d828..."} 
[2026-09-05 10:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff0d000012d5140400650be48000300d828..."} 
[2026-09-05 10:34:04] local.INFO: Processing buffer {"connection_id":174125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff0d000012d5140400650be48000300d828..."} 
[2026-09-05 10:34:04] local.INFO: Packet analysis {"connection_id":174125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff0"} 
[2026-09-05 10:34:04] local.INFO: Extracted packet for processing {"connection_id":174125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff0"} 
[2026-09-05 10:34:04] local.INFO: GPS Element Parsed {"raw_longitude":760299584,"raw_latitude":105954888,"longitude_deg":76.0299584,"latitude_deg":10.5954888,"altitude":3,"angle":216,"satellites":40,"speed":26,"hex_longitude":"2d514040","hex_latitude":"0650be48","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877615104001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399456628820148224,"note":"Value kept but may cause issues"} 
[2026-09-05 10:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5861083098428194816,"note":"Value kept but may cause issues"} 
[2026-09-05 10:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788584448000,"timestamp_ms":1788584448000,"timestamp_seconds":1788584448,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff0d000"} 
[2026-09-05 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-09-05 10:34: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-09-05 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 10:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 10:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:34: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-09-05 10:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877615104001,"66":27865,"90":206,"78":62464,"24":26,"16":399456628820148224,"45":5861083098428194816},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,78,24,16,45]} 
[2026-09-05 10:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877615104001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:34:04] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-05 10:34:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399456628820148224,"km_value":399456628820148.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5861083098428194816,"description":"Unknown IO ID 45"} 
[2026-09-05 10:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877615104001,"power":27865,"unknown_90":206,"unknown_78":62464,"ignition":26,"odometer":null,"unknown_45":5861083098428194816}} 
[2026-09-05 10:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":174125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:34:04] local.INFO: GPS data processed {"connection_id":174125,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:34:04] local.INFO: Acknowledgment sent {"connection_id":174125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:34:10] local.INFO: TCP Data received {"connection_id":174125,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff11650012d512a800650a2d0000600dd28..."} 
[2026-09-05 10:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff11650012d512a800650a2d0000600dd28..."} 
[2026-09-05 10:34:10] local.INFO: Processing buffer {"connection_id":174125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff11650012d512a800650a2d0000600dd28..."} 
[2026-09-05 10:34:10] local.INFO: Packet analysis {"connection_id":174125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff1"} 
[2026-09-05 10:34:10] local.INFO: Extracted packet for processing {"connection_id":174125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff1"} 
[2026-09-05 10:34:10] local.INFO: GPS Element Parsed {"raw_longitude":760294016,"raw_latitude":105947856,"longitude_deg":76.0294016,"latitude_deg":10.5947856,"altitude":6,"angle":221,"satellites":40,"speed":8,"hex_longitude":"2d512a80","hex_latitude":"0650a2d0","is_valid_coordinates":true} 
[2026-09-05 10:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877618688001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399457062611845120,"note":"Value kept but may cause issues"} 
[2026-09-05 10:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5854749911450273792,"note":"Value kept but may cause issues"} 
[2026-09-05 10:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788584466000,"timestamp_ms":1788584466000,"timestamp_seconds":1788584466,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff11650"} 
[2026-09-05 10:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 10:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":174125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":174125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":174125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:34:10] 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-09-05 10:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877618688001,"66":27908,"90":206,"78":62464,"24":8,"16":399457062611845120,"45":5854749911450273792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,78,24,16,45]} 
[2026-09-05 10:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877618688001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:34:10] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-05 10:34:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399457062611845120,"km_value":399457062611845.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5854749911450273792,"description":"Unknown IO ID 45"} 
[2026-09-05 10:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877618688001,"power":27908,"unknown_90":206,"unknown_78":62464,"ignition":8,"odometer":null,"unknown_45":5854749911450273792}} 
[2026-09-05 10:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":174125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:34:10] local.INFO: GPS data processed {"connection_id":174125,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:34:10] local.INFO: Acknowledgment sent {"connection_id":174125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:34:23] local.INFO: TCP Data received {"connection_id":171719,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff39308012d191e800720c1000029006f21..."} 
[2026-09-05 10:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff39308012d191e800720c1000029006f21..."} 
[2026-09-05 10:34:23] local.INFO: Processing buffer {"connection_id":171719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff39308012d191e800720c1000029006f21..."} 
[2026-09-05 10:34:23] local.INFO: Packet analysis {"connection_id":171719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff3"} 
[2026-09-05 10:34:23] local.INFO: Extracted packet for processing {"connection_id":171719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff3"} 
[2026-09-05 10:34:23] local.INFO: GPS Element Parsed {"raw_longitude":756620928,"raw_latitude":119587072,"longitude_deg":75.6620928,"latitude_deg":11.9587072,"altitude":41,"angle":111,"satellites":33,"speed":51,"hex_longitude":"2d191e80","hex_latitude":"0720c100","is_valid_coordinates":true} 
[2026-09-05 10:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877662720001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17464887508729856,"note":"Value kept but may cause issues"} 
[2026-09-05 10:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800454719145179136,"note":"Value kept but may cause issues"} 
[2026-09-05 10:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788584629000,"timestamp_ms":1788584629000,"timestamp_seconds":1788584629,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff39308"} 
[2026-09-05 10:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:34:23] 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-09-05 10:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 10:34:23] 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-09-05 10:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877662720001,"66":14374,"103":206,"83":41984,"24":51,"16":17464887508729856,"45":1800454719145179136},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 10:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877662720001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:34:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 10:34:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17464887508729856,"km_value":17464887508729.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800454719145179136,"description":"Unknown IO ID 45"} 
[2026-09-05 10:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877662720001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":51,"odometer":null,"unknown_45":1800454719145179136}} 
[2026-09-05 10:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":171719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:34:23] local.INFO: GPS data processed {"connection_id":171719,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:34:23] local.INFO: Acknowledgment sent {"connection_id":171719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:34:25] local.INFO: TCP Data received {"connection_id":171720,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff29908012c95b38007bdd7200014015624..."} 
[2026-09-05 10:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff29908012c95b38007bdd7200014015624..."} 
[2026-09-05 10:34:25] local.INFO: Processing buffer {"connection_id":171720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff29908012c95b38007bdd7200014015624..."} 
[2026-09-05 10:34:25] local.INFO: Packet analysis {"connection_id":171720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff2"} 
[2026-09-05 10:34:25] local.INFO: Extracted packet for processing {"connection_id":171720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff2"} 
[2026-09-05 10:34:25] local.INFO: GPS Element Parsed {"raw_longitude":748008320,"raw_latitude":129881888,"longitude_deg":74.800832,"latitude_deg":12.9881888,"altitude":20,"angle":342,"satellites":36,"speed":45,"hex_longitude":"2c95b380","hex_latitude":"07bdd720","is_valid_coordinates":true} 
[2026-09-05 10:34: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-09-05 10:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877646592001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":764057502089216,"note":"Value kept but may cause issues"} 
[2026-09-05 10:34:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7656330439514824704,"note":"Value kept but may cause issues"} 
[2026-09-05 10:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788584565000,"timestamp_ms":1788584565000,"timestamp_seconds":1788584565,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff29908"} 
[2026-09-05 10:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 10:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:34:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171720,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171720,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877646592001,"66":28028,"89":206,"9":57344,"24":45,"16":764057502089216,"44":-7656330439514824704},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,9,24,16,44]} 
[2026-09-05 10:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877646592001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:34:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-05 10:34:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":764057502089216,"km_value":764057502089.216,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:34:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7656330439514824704,"description":"Unknown IO ID 44"} 
[2026-09-05 10:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877646592001,"power":28028,"unknown_89":206,"unknown_9":57344,"ignition":45,"odometer":null,"unknown_44":-7656330439514824704}} 
[2026-09-05 10:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":171720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768018,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:34:26] local.INFO: GPS data processed {"connection_id":171720,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:34:26] local.INFO: Acknowledgment sent {"connection_id":171720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:34:42] local.INFO: TCP Data received {"connection_id":174125,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff36428012d507680064f9070000800b527..."} 
[2026-09-05 10:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff36428012d507680064f9070000800b527..."} 
[2026-09-05 10:34:42] local.INFO: Processing buffer {"connection_id":174125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff36428012d507680064f9070000800b527..."} 
[2026-09-05 10:34:42] local.INFO: Packet analysis {"connection_id":174125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff3"} 
[2026-09-05 10:34:42] local.INFO: Extracted packet for processing {"connection_id":174125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff3"} 
[2026-09-05 10:34:42] local.INFO: GPS Element Parsed {"raw_longitude":760247936,"raw_latitude":105877616,"longitude_deg":76.0247936,"latitude_deg":10.5877616,"altitude":8,"angle":181,"satellites":39,"speed":11,"hex_longitude":"2d507680","hex_latitude":"064f9070","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877661184001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399461155715678208,"note":"Value kept but may cause issues"} 
[2026-09-05 10:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5798314178600171520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788584617000,"timestamp_ms":1788584617000,"timestamp_seconds":1788584617,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff36428"} 
[2026-09-05 10:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:34:42] 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-09-05 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 10:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":174125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":174125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":174125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:34:42] 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-09-05 10:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877661184001,"66":27767,"52":206,"78":62464,"24":11,"16":399461155715678208,"45":5798314178600171520},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,78,24,16,45]} 
[2026-09-05 10:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877661184001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:34:42] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-09-05 10:34:42] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399461155715678208,"km_value":399461155715678.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5798314178600171520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877661184001,"power":27767,"unknown_52":206,"unknown_78":62464,"ignition":11,"odometer":null,"unknown_45":5798314178600171520}} 
[2026-09-05 10:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":174125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:34:42] local.INFO: GPS data processed {"connection_id":174125,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:34:42] local.INFO: Acknowledgment sent {"connection_id":174125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:34:45] local.INFO: TCP Data received {"connection_id":171422,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:34:45] local.INFO: Processing buffer {"connection_id":171422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:34:45] local.INFO: IMEI packet received {"connection_id":171422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":171422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:34:50] local.INFO: TCP Data received {"connection_id":171422,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:34:50] local.INFO: Processing buffer {"connection_id":171422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:34:50] local.INFO: IMEI packet received {"connection_id":171422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":171422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:34:50] local.INFO: TCP Data received {"connection_id":174126,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174126,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:34:50] local.INFO: Processing buffer {"connection_id":174126,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:34:50] local.INFO: IMEI packet received {"connection_id":174126,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":174126,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:34:51] local.INFO: TCP Data received {"connection_id":171422,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff39308012d191e800720c1000029006f21..."} 
[2026-09-05 10:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff39308012d191e800720c1000029006f21..."} 
[2026-09-05 10:34:51] local.INFO: Processing buffer {"connection_id":171422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff39308012d191e800720c1000029006f21..."} 
[2026-09-05 10:34:51] local.INFO: Packet analysis {"connection_id":171422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff3"} 
[2026-09-05 10:34:51] local.INFO: Extracted packet for processing {"connection_id":171422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff3"} 
[2026-09-05 10:34:51] local.INFO: GPS Element Parsed {"raw_longitude":756620928,"raw_latitude":119587072,"longitude_deg":75.6620928,"latitude_deg":11.9587072,"altitude":41,"angle":111,"satellites":33,"speed":51,"hex_longitude":"2d191e80","hex_latitude":"0720c100","is_valid_coordinates":true} 
[2026-09-05 10:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877665024001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17464887508729856,"note":"Value kept but may cause issues"} 
[2026-09-05 10:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1810024868352163840,"note":"Value kept but may cause issues"} 
[2026-09-05 10:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788584629000,"timestamp_ms":1788584629000,"timestamp_seconds":1788584629,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff39308"} 
[2026-09-05 10:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:34:51] 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-09-05 10:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 10:34:51] 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-09-05 10:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877665024001,"66":14374,"103":206,"83":41984,"24":51,"16":17464887508729856,"45":1810024868352163840},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 10:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877665024001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:34:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 10:34:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17464887508729856,"km_value":17464887508729.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1810024868352163840,"description":"Unknown IO ID 45"} 
[2026-09-05 10:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877665024001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":51,"odometer":null,"unknown_45":1810024868352163840}} 
[2026-09-05 10:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":171422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:34:51] local.INFO: GPS data processed {"connection_id":171422,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:34:51] local.INFO: Acknowledgment sent {"connection_id":171422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:34:52] local.INFO: TCP Data received {"connection_id":174126,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174126,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:34:52] local.INFO: Processing buffer {"connection_id":174126,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:34:52] local.INFO: IMEI packet received {"connection_id":174126,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":174126,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:34:55] local.INFO: TCP Data received {"connection_id":171721,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:34:55] local.INFO: Processing buffer {"connection_id":171721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:34:55] local.INFO: IMEI packet received {"connection_id":171721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":171721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:34:56] local.INFO: TCP Data received {"connection_id":171721,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:34:56] local.INFO: Processing buffer {"connection_id":171721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:34:56] local.INFO: IMEI packet received {"connection_id":171721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":171721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:34:58] local.INFO: TCP Data received {"connection_id":174126,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174126,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:34:58] local.INFO: Processing buffer {"connection_id":174126,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:34:58] local.INFO: IMEI packet received {"connection_id":174126,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":174126,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:34:59] local.INFO: TCP Data received {"connection_id":174126,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff3e128012c95480007bf67f0000b014e2b..."} 
[2026-09-05 10:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff3e128012c95480007bf67f0000b014e2b..."} 
[2026-09-05 10:34:59] local.INFO: Processing buffer {"connection_id":174126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff3e128012c95480007bf67f0000b014e2b..."} 
[2026-09-05 10:34:59] local.INFO: Packet analysis {"connection_id":174126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff3"} 
[2026-09-05 10:34:59] local.INFO: Extracted packet for processing {"connection_id":174126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff3"} 
[2026-09-05 10:34:59] local.INFO: GPS Element Parsed {"raw_longitude":747980800,"raw_latitude":129984496,"longitude_deg":74.79808,"latitude_deg":12.9984496,"altitude":11,"angle":334,"satellites":43,"speed":52,"hex_longitude":"2c954800","hex_latitude":"07bf67f0","is_valid_coordinates":true} 
[2026-09-05 10:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877668352001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":769211462844416,"note":"Value kept but may cause issues"} 
[2026-09-05 10:34:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7686870474461902848,"note":"Value kept but may cause issues"} 
[2026-09-05 10:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788584649000,"timestamp_ms":1788584649000,"timestamp_seconds":1788584649,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff3e128"} 
[2026-09-05 10:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-05 10:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2246,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174126,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174126,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877668352001,"66":28148,"51":206,"9":57344,"24":52,"16":769211462844416,"44":-7686870474461902848},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,9,24,16,44]} 
[2026-09-05 10:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877668352001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:34:59] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-05 10:34:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":769211462844416,"km_value":769211462844.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:34:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7686870474461902848,"description":"Unknown IO ID 44"} 
[2026-09-05 10:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877668352001,"power":28148,"unknown_51":206,"unknown_9":57344,"ignition":52,"odometer":null,"unknown_44":-7686870474461902848}} 
[2026-09-05 10:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":174126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768021,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:34:59] local.INFO: GPS data processed {"connection_id":174126,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:34:59] local.INFO: Acknowledgment sent {"connection_id":174126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:35:02] local.INFO: TCP Data received {"connection_id":171721,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:35:02] local.INFO: Processing buffer {"connection_id":171721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:35:02] local.INFO: IMEI packet received {"connection_id":171721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":171721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:35:03] local.INFO: TCP Data received {"connection_id":171721,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff36810012d507680064f8f30000800c528..."} 
[2026-09-05 10:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff36810012d507680064f8f30000800c528..."} 
[2026-09-05 10:35:03] local.INFO: Processing buffer {"connection_id":171721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff36810012d507680064f8f30000800c528..."} 
[2026-09-05 10:35:03] local.INFO: Packet analysis {"connection_id":171721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff3"} 
[2026-09-05 10:35:03] local.INFO: Extracted packet for processing {"connection_id":171721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff3"} 
[2026-09-05 10:35:03] local.INFO: GPS Element Parsed {"raw_longitude":760247936,"raw_latitude":105877296,"longitude_deg":76.0247936,"latitude_deg":10.5877296,"altitude":8,"angle":197,"satellites":40,"speed":14,"hex_longitude":"2d507680","hex_latitude":"064f8f30","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877661952001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399461172895547392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5797962334879117312,"note":"Value kept but may cause issues"} 
[2026-09-05 10:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788584618000,"timestamp_ms":1788584618000,"timestamp_seconds":1788584618,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff36810"} 
[2026-09-05 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-09-05 10: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-09-05 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 10:35: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-09-05 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-09-05 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-09-05 10:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:35: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-09-05 10:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877661952001,"66":28050,"52":206,"78":62464,"24":14,"16":399461172895547392,"45":5797962334879117312},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,78,24,16,45]} 
[2026-09-05 10:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877661952001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:35:03] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-09-05 10:35:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399461172895547392,"km_value":399461172895547.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5797962334879117312,"description":"Unknown IO ID 45"} 
[2026-09-05 10:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877661952001,"power":28050,"unknown_52":206,"unknown_78":62464,"ignition":14,"odometer":null,"unknown_45":5797962334879117312}} 
[2026-09-05 10:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":171721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:35:03] local.INFO: GPS data processed {"connection_id":171721,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:35:03] local.INFO: Acknowledgment sent {"connection_id":171721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:35:22] local.INFO: TCP Data received {"connection_id":171422,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff3aa78012d193a800720b4100029007a1d..."} 
[2026-09-05 10:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff3aa78012d193a800720b4100029007a1d..."} 
[2026-09-05 10:35:22] local.INFO: Processing buffer {"connection_id":171422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff3aa78012d193a800720b4100029007a1d..."} 
[2026-09-05 10:35:22] local.INFO: Packet analysis {"connection_id":171422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff3"} 
[2026-09-05 10:35:22] local.INFO: Extracted packet for processing {"connection_id":171422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff3"} 
[2026-09-05 10:35:22] local.INFO: GPS Element Parsed {"raw_longitude":756628096,"raw_latitude":119583760,"longitude_deg":75.6628096,"latitude_deg":11.958376,"altitude":41,"angle":122,"satellites":29,"speed":48,"hex_longitude":"2d193a80","hex_latitude":"0720b410","is_valid_coordinates":true} 
[2026-09-05 10:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877665024001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17465265465851904,"note":"Value kept but may cause issues"} 
[2026-09-05 10:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1810024868352163840,"note":"Value kept but may cause issues"} 
[2026-09-05 10:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788584635000,"timestamp_ms":1788584635000,"timestamp_seconds":1788584635,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff3aa78"} 
[2026-09-05 10:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:35:22] 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-09-05 10:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 10:35:22] 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-09-05 10:35:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877665024001,"66":13972,"103":206,"83":41984,"24":48,"16":17465265465851904,"45":1810024868352163840},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 10:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877665024001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:35:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 10:35:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17465265465851904,"km_value":17465265465851.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1810024868352163840,"description":"Unknown IO ID 45"} 
[2026-09-05 10:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877665024001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1810024868352163840}} 
[2026-09-05 10:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":171422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:35:22] local.INFO: GPS data processed {"connection_id":171422,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:35:22] local.INFO: Acknowledgment sent {"connection_id":171422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:35:38] local.INFO: TCP Data received {"connection_id":171721,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff3ae60012d5068c0064f6da0000900c925..."} 
[2026-09-05 10:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff3ae60012d5068c0064f6da0000900c925..."} 
[2026-09-05 10:35:38] local.INFO: Processing buffer {"connection_id":171721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff3ae60012d5068c0064f6da0000900c925..."} 
[2026-09-05 10:35:38] local.INFO: Packet analysis {"connection_id":171721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff3"} 
[2026-09-05 10:35:38] local.INFO: Extracted packet for processing {"connection_id":171721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff3"} 
[2026-09-05 10:35:38] local.INFO: GPS Element Parsed {"raw_longitude":760244416,"raw_latitude":105868704,"longitude_deg":76.0244416,"latitude_deg":10.5868704,"altitude":9,"angle":201,"satellites":37,"speed":16,"hex_longitude":"2d5068c0","hex_latitude":"064f6da0","is_valid_coordinates":true} 
[2026-09-05 10:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877662208001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399461619572146176,"note":"Value kept but may cause issues"} 
[2026-09-05 10:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5797962334879035392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788584636000,"timestamp_ms":1788584636000,"timestamp_seconds":1788584636,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff3ae60"} 
[2026-09-05 10:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:35: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-09-05 10:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 10:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:35:38] 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-09-05 10:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877662208001,"66":27908,"52":206,"78":62464,"24":16,"16":399461619572146176,"45":5797962334879035392},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,78,24,16,45]} 
[2026-09-05 10:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877662208001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:35:38] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-09-05 10:35:38] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399461619572146176,"km_value":399461619572146.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5797962334879035392,"description":"Unknown IO ID 45"} 
[2026-09-05 10:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877662208001,"power":27908,"unknown_52":206,"unknown_78":62464,"ignition":16,"odometer":null,"unknown_45":5797962334879035392}} 
[2026-09-05 10:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":171721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:35:38] local.INFO: GPS data processed {"connection_id":171721,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:35:38] local.INFO: Acknowledgment sent {"connection_id":171721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:35:45] local.INFO: TCP Data received {"connection_id":174126,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff3e128012c95480007bf67f0000b014e2b..."} 
[2026-09-05 10:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff3e128012c95480007bf67f0000b014e2b..."} 
[2026-09-05 10:35:45] local.INFO: Processing buffer {"connection_id":174126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff3e128012c95480007bf67f0000b014e2b..."} 
[2026-09-05 10:35:45] local.INFO: Packet analysis {"connection_id":174126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff3"} 
[2026-09-05 10:35:45] local.INFO: Extracted packet for processing {"connection_id":174126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff3"} 
[2026-09-05 10:35:45] local.INFO: GPS Element Parsed {"raw_longitude":747980800,"raw_latitude":129984496,"longitude_deg":74.79808,"latitude_deg":12.9984496,"altitude":11,"angle":334,"satellites":43,"speed":52,"hex_longitude":"2c954800","hex_latitude":"07bf67f0","is_valid_coordinates":true} 
[2026-09-05 10:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877670144001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":769211462844416,"note":"Value kept but may cause issues"} 
[2026-09-05 10:35:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7689896330459090944,"note":"Value kept but may cause issues"} 
[2026-09-05 10:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788584649000,"timestamp_ms":1788584649000,"timestamp_seconds":1788584649,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff3e128"} 
[2026-09-05 10:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:35: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-09-05 10:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-05 10:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:35:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":174126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":174126,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":174126,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877670144001,"66":28148,"51":206,"9":57344,"24":52,"16":769211462844416,"44":-7689896330459090944},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,9,24,16,44]} 
[2026-09-05 10:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877670144001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:35:45] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-05 10:35:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":769211462844416,"km_value":769211462844.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:35:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7689896330459090944,"description":"Unknown IO ID 44"} 
[2026-09-05 10:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877670144001,"power":28148,"unknown_51":206,"unknown_9":57344,"ignition":52,"odometer":null,"unknown_44":-7689896330459090944}} 
[2026-09-05 10:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":174126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768025,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:35:46] local.INFO: GPS data processed {"connection_id":174126,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:35:46] local.INFO: Acknowledgment sent {"connection_id":174126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:35:50] local.INFO: TCP Data received {"connection_id":171722,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:35:50] local.INFO: Processing buffer {"connection_id":171722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:35:50] local.INFO: IMEI packet received {"connection_id":171722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":171722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:35:52] local.INFO: TCP Data received {"connection_id":171722,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:35:52] local.INFO: Processing buffer {"connection_id":171722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:35:52] local.INFO: IMEI packet received {"connection_id":171722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":171722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:35:53] local.INFO: TCP Data received {"connection_id":171722,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff3b630012d1946c00720ae38002a006e1e..."} 
[2026-09-05 10:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff3b630012d1946c00720ae38002a006e1e..."} 
[2026-09-05 10:35:53] local.INFO: Processing buffer {"connection_id":171722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff3b630012d1946c00720ae38002a006e1e..."} 
[2026-09-05 10:35:53] local.INFO: Packet analysis {"connection_id":171722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff3"} 
[2026-09-05 10:35:53] local.INFO: Extracted packet for processing {"connection_id":171722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff3"} 
[2026-09-05 10:35:53] local.INFO: GPS Element Parsed {"raw_longitude":756631232,"raw_latitude":119582264,"longitude_deg":75.6631232,"latitude_deg":11.9582264,"altitude":42,"angle":110,"satellites":30,"speed":42,"hex_longitude":"2d1946c0","hex_latitude":"0720ae38","is_valid_coordinates":true} 
[2026-09-05 10:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877666560001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17465432969576448,"note":"Value kept but may cause issues"} 
[2026-09-05 10:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817906167699214336,"note":"Value kept but may cause issues"} 
[2026-09-05 10:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788584638000,"timestamp_ms":1788584638000,"timestamp_seconds":1788584638,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff3b630"} 
[2026-09-05 10:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:35:53] 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-09-05 10:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 10:35:53] 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-09-05 10: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-09-05 10:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877666560001,"66":14070,"103":206,"83":41984,"24":42,"16":17465432969576448,"45":1817906167699214336},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 10:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:35:53] local.INFO: TCP Data received {"connection_id":172825,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877666560001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:35:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 10:35:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17465432969576448,"km_value":17465432969576.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817906167699214336,"description":"Unknown IO ID 45"} 
[2026-09-05 10:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877666560001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1817906167699214336}} 
[2026-09-05 10:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172825,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:35:53] local.INFO: Processing buffer {"connection_id":172825,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:35:53] local.INFO: IMEI packet received {"connection_id":172825,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":172825,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":171722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:35:53] local.INFO: GPS data processed {"connection_id":171722,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:35:53] local.INFO: Acknowledgment sent {"connection_id":171722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:35:56] local.INFO: TCP Data received {"connection_id":171722,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff3c1e8012d1952800720ab78002a005f1f..."} 
[2026-09-05 10:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff3c1e8012d1952800720ab78002a005f1f..."} 
[2026-09-05 10:35:56] local.INFO: Processing buffer {"connection_id":171722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff3c1e8012d1952800720ab78002a005f1f..."} 
[2026-09-05 10:35:56] local.INFO: Packet analysis {"connection_id":171722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff3"} 
[2026-09-05 10:35:56] local.INFO: Extracted packet for processing {"connection_id":171722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff3"} 
[2026-09-05 10:35:56] local.INFO: GPS Element Parsed {"raw_longitude":756634240,"raw_latitude":119581560,"longitude_deg":75.663424,"latitude_deg":11.958156,"altitude":42,"angle":95,"satellites":31,"speed":38,"hex_longitude":"2d195280","hex_latitude":"0720ab78","is_valid_coordinates":true} 
[2026-09-05 10:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877667328001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17465578998464512,"note":"Value kept but may cause issues"} 
[2026-09-05 10:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821354236163536896,"note":"Value kept but may cause issues"} 
[2026-09-05 10:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788584641000,"timestamp_ms":1788584641000,"timestamp_seconds":1788584641,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff3c1e8"} 
[2026-09-05 10:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-05 10:35:56] 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-09-05 10:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877667328001,"66":14048,"103":206,"83":41984,"24":38,"16":17465578998464512,"45":1821354236163536896},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 10:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877667328001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:35:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 10:35:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17465578998464512,"km_value":17465578998464.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821354236163536896,"description":"Unknown IO ID 45"} 
[2026-09-05 10:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877667328001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1821354236163536896}} 
[2026-09-05 10:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":171722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:35:56] local.INFO: GPS data processed {"connection_id":171722,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:35:56] local.INFO: Acknowledgment sent {"connection_id":171722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:35:57] local.INFO: TCP Data received {"connection_id":171423,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:35:57] local.INFO: Processing buffer {"connection_id":171423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:35:57] local.INFO: IMEI packet received {"connection_id":171423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":171423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:35:57] local.INFO: TCP Data received {"connection_id":172825,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172825,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:35:57] local.INFO: Processing buffer {"connection_id":172825,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:35:57] local.INFO: IMEI packet received {"connection_id":172825,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":172825,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:35:59] local.INFO: TCP Data received {"connection_id":171423,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:35:59] local.INFO: Processing buffer {"connection_id":171423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:35:59] local.INFO: IMEI packet received {"connection_id":171423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":171423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:35:59] local.INFO: TCP Data received {"connection_id":172825,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff3f0c8012c953cc007bf7930000c014329..."} 
[2026-09-05 10:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff3f0c8012c953cc007bf7930000c014329..."} 
[2026-09-05 10:35:59] local.INFO: Processing buffer {"connection_id":172825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff3f0c8012c953cc007bf7930000c014329..."} 
[2026-09-05 10:35:59] local.INFO: Packet analysis {"connection_id":172825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff3"} 
[2026-09-05 10:35:59] local.INFO: Extracted packet for processing {"connection_id":172825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff3"} 
[2026-09-05 10:35:59] local.INFO: GPS Element Parsed {"raw_longitude":747977920,"raw_latitude":129988912,"longitude_deg":74.797792,"latitude_deg":12.9988912,"altitude":12,"angle":323,"satellites":41,"speed":51,"hex_longitude":"2c953cc0","hex_latitude":"07bf7930","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877670144001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":769464865914880,"note":"Value kept but may cause issues"} 
[2026-09-05 10:35:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7689896330459090944,"note":"Value kept but may cause issues"} 
[2026-09-05 10:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788584653000,"timestamp_ms":1788584653000,"timestamp_seconds":1788584653,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff3f0c8"} 
[2026-09-05 10:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10: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":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-05 10:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877670144001,"66":28006,"51":206,"9":57344,"24":51,"16":769464865914880,"44":-7689896330459090944},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,9,24,16,44]} 
[2026-09-05 10:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877670144001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:35:59] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-05 10:35:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":769464865914880,"km_value":769464865914.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:35:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7689896330459090944,"description":"Unknown IO ID 44"} 
[2026-09-05 10:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877670144001,"power":28006,"unknown_51":206,"unknown_9":57344,"ignition":51,"odometer":null,"unknown_44":-7689896330459090944}} 
[2026-09-05 10:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":172825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768028,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:35:59] local.INFO: GPS data processed {"connection_id":172825,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:35:59] local.INFO: Acknowledgment sent {"connection_id":172825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:35:59] local.INFO: TCP Data received {"connection_id":171423,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:35:59] local.INFO: Processing buffer {"connection_id":171423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:35:59] local.INFO: IMEI packet received {"connection_id":171423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":171423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:36:00] local.INFO: TCP Data received {"connection_id":171423,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff3fc80012d506340064f6178000d00c028..."} 
[2026-09-05 10:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff3fc80012d506340064f6178000d00c028..."} 
[2026-09-05 10:36:00] local.INFO: Processing buffer {"connection_id":171423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff3fc80012d506340064f6178000d00c028..."} 
[2026-09-05 10:36:00] local.INFO: Packet analysis {"connection_id":171423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff3"} 
[2026-09-05 10:36:00] local.INFO: Extracted packet for processing {"connection_id":171423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff3"} 
[2026-09-05 10:36:00] local.INFO: GPS Element Parsed {"raw_longitude":760243008,"raw_latitude":105865592,"longitude_deg":76.0243008,"latitude_deg":10.5865592,"altitude":13,"angle":192,"satellites":40,"speed":0,"hex_longitude":"2d506340","hex_latitude":"064f6178","is_valid_coordinates":true} 
[2026-09-05 10:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877666816001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399461791370838016,"note":"Value kept but may cause issues"} 
[2026-09-05 10:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5794092053947064320,"note":"Value kept but may cause issues"} 
[2026-09-05 10:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788584656000,"timestamp_ms":1788584656000,"timestamp_seconds":1788584656,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff3fc80"} 
[2026-09-05 10:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:36:00] 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-09-05 10:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 10:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877666816001,"66":27876,"52":206,"78":62464,"24":0,"16":399461791370838016,"45":5794092053947064320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,78,24,16,45]} 
[2026-09-05 10:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877666816001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:36:00] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-09-05 10:36:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399461791370838016,"km_value":399461791370838.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5794092053947064320,"description":"Unknown IO ID 45"} 
[2026-09-05 10:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877666816001,"power":27876,"unknown_52":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5794092053947064320}} 
[2026-09-05 10:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":171423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:36:00] local.INFO: GPS data processed {"connection_id":171423,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:36:00] local.INFO: Acknowledgment sent {"connection_id":171423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:36:01] local.INFO: TCP Data received {"connection_id":172825,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff41008012c95214007bf95e0000f013929..."} 
[2026-09-05 10:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff41008012c95214007bf95e0000f013929..."} 
[2026-09-05 10:36:01] local.INFO: Processing buffer {"connection_id":172825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff41008012c95214007bf95e0000f013929..."} 
[2026-09-05 10:36:01] local.INFO: Packet analysis {"connection_id":172825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff4"} 
[2026-09-05 10:36:01] local.INFO: Extracted packet for processing {"connection_id":172825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff4"} 
[2026-09-05 10:36:01] local.INFO: GPS Element Parsed {"raw_longitude":747970880,"raw_latitude":129996256,"longitude_deg":74.797088,"latitude_deg":12.9996256,"altitude":15,"angle":313,"satellites":41,"speed":48,"hex_longitude":"2c952140","hex_latitude":"07bf95e0","is_valid_coordinates":true} 
[2026-09-05 10:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877671168001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":769954492186624,"note":"Value kept but may cause issues"} 
[2026-09-05 10:36:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7693062923945955328,"note":"Value kept but may cause issues"} 
[2026-09-05 10:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788584661000,"timestamp_ms":1788584661000,"timestamp_seconds":1788584661,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff41008"} 
[2026-09-05 10:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 10:36:01] 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-09-05 10:36:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877671168001,"66":28082,"51":206,"9":57344,"24":48,"16":769954492186624,"44":-7693062923945955328},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,9,24,16,44]} 
[2026-09-05 10:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877671168001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:36:01] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-05 10:36:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":769954492186624,"km_value":769954492186.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:36:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7693062923945955328,"description":"Unknown IO ID 44"} 
[2026-09-05 10:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877671168001,"power":28082,"unknown_51":206,"unknown_9":57344,"ignition":48,"odometer":null,"unknown_44":-7693062923945955328}} 
[2026-09-05 10:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":172825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768030,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:36:01] local.INFO: GPS data processed {"connection_id":172825,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:36:01] local.INFO: Acknowledgment sent {"connection_id":172825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:36:02] local.INFO: TCP Data received {"connection_id":171423,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff44e88012d505b80064f4f30001000c829..."} 
[2026-09-05 10:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff44e88012d505b80064f4f30001000c829..."} 
[2026-09-05 10:36:02] local.INFO: Processing buffer {"connection_id":171423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff44e88012d505b80064f4f30001000c829..."} 
[2026-09-05 10:36:02] local.INFO: Packet analysis {"connection_id":171423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff4"} 
[2026-09-05 10:36:02] local.INFO: Extracted packet for processing {"connection_id":171423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff4"} 
[2026-09-05 10:36:02] local.INFO: GPS Element Parsed {"raw_longitude":760241024,"raw_latitude":105860912,"longitude_deg":76.0241024,"latitude_deg":10.5860912,"altitude":16,"angle":200,"satellites":41,"speed":16,"hex_longitude":"2d505b80","hex_latitude":"064f4f30","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877671936001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399462040478941184,"note":"Value kept but may cause issues"} 
[2026-09-05 10:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5792543941574359040,"note":"Value kept but may cause issues"} 
[2026-09-05 10:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788584677000,"timestamp_ms":1788584677000,"timestamp_seconds":1788584677,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff44e88"} 
[2026-09-05 10:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:36: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-09-05 10:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 10:36: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-09-05 10: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-09-05 10:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877671936001,"66":27908,"52":206,"78":62464,"24":16,"16":399462040478941184,"45":5792543941574359040},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,78,24,16,45]} 
[2026-09-05 10:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877671936001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:36:02] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-09-05 10:36:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399462040478941184,"km_value":399462040478941.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5792543941574359040,"description":"Unknown IO ID 45"} 
[2026-09-05 10:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877671936001,"power":27908,"unknown_52":206,"unknown_78":62464,"ignition":16,"odometer":null,"unknown_45":5792543941574359040}} 
[2026-09-05 10:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":171423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:36:02] local.INFO: GPS data processed {"connection_id":171423,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:36:02] local.INFO: Acknowledgment sent {"connection_id":171423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:36:27] local.INFO: TCP Data received {"connection_id":171722,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff567c8012d19bac00720a5e8003200c025..."} 
[2026-09-05 10:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff567c8012d19bac00720a5e8003200c025..."} 
[2026-09-05 10:36:27] local.INFO: Processing buffer {"connection_id":171722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff567c8012d19bac00720a5e8003200c025..."} 
[2026-09-05 10:36:27] local.INFO: Packet analysis {"connection_id":171722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff5"} 
[2026-09-05 10:36:27] local.INFO: Extracted packet for processing {"connection_id":171722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff5"} 
[2026-09-05 10:36:27] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119580136,"longitude_deg":75.6660928,"latitude_deg":11.9580136,"altitude":50,"angle":192,"satellites":37,"speed":13,"hex_longitude":"2d19bac0","hex_latitude":"0720a5e8","is_valid_coordinates":true} 
[2026-09-05 10:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877695488001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17466931913162752,"note":"Value kept but may cause issues"} 
[2026-09-05 10:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702205698048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788584749000,"timestamp_ms":1788584749000,"timestamp_seconds":1788584749,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff567c8"} 
[2026-09-05 10:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 10:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877695488001,"66":14265,"103":206,"83":41984,"24":13,"16":17466931913162752,"45":1854075702205698048},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 10:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877695488001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:36:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 10:36:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17466931913162752,"km_value":17466931913162.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702205698048,"description":"Unknown IO ID 45"} 
[2026-09-05 10:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877695488001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1854075702205698048}} 
[2026-09-05 10:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":171722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:36:27] local.INFO: GPS data processed {"connection_id":171722,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:36:27] local.INFO: Acknowledgment sent {"connection_id":171722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:36:33] local.INFO: TCP Data received {"connection_id":171423,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff490f0012d504ec0064f2e10000d00c928..."} 
[2026-09-05 10:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff490f0012d504ec0064f2e10000d00c928..."} 
[2026-09-05 10:36:33] local.INFO: Processing buffer {"connection_id":171423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff490f0012d504ec0064f2e10000d00c928..."} 
[2026-09-05 10:36:33] local.INFO: Packet analysis {"connection_id":171423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff4"} 
[2026-09-05 10:36:33] local.INFO: Extracted packet for processing {"connection_id":171423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff4"} 
[2026-09-05 10:36:33] local.INFO: GPS Element Parsed {"raw_longitude":760237760,"raw_latitude":105852432,"longitude_deg":76.023776,"latitude_deg":10.5852432,"altitude":13,"angle":201,"satellites":40,"speed":27,"hex_longitude":"2d504ec0","hex_latitude":"064f2e10","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877677312001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399462478565605376,"note":"Value kept but may cause issues"} 
[2026-09-05 10:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5790362510503653376,"note":"Value kept but may cause issues"} 
[2026-09-05 10:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788584694000,"timestamp_ms":1788584694000,"timestamp_seconds":1788584694,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff490f0"} 
[2026-09-05 10:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:36: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-09-05 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 10:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:36: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-09-05 10:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877677312001,"66":27843,"52":206,"78":62464,"24":27,"16":399462478565605376,"45":5790362510503653376},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,78,24,16,45]} 
[2026-09-05 10:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877677312001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:36:33] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-09-05 10:36:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399462478565605376,"km_value":399462478565605.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5790362510503653376,"description":"Unknown IO ID 45"} 
[2026-09-05 10:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877677312001,"power":27843,"unknown_52":206,"unknown_78":62464,"ignition":27,"odometer":null,"unknown_45":5790362510503653376}} 
[2026-09-05 10:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":171423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:36:33] local.INFO: GPS data processed {"connection_id":171423,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:36:33] local.INFO: Acknowledgment sent {"connection_id":171423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:36:33] local.INFO: TCP Data received {"connection_id":172825,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff42f48012c95054007bfadf0001201382a..."} 
[2026-09-05 10:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff42f48012c95054007bfadf0001201382a..."} 
[2026-09-05 10:36:33] local.INFO: Processing buffer {"connection_id":172825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff42f48012c95054007bfadf0001201382a..."} 
[2026-09-05 10:36:33] local.INFO: Packet analysis {"connection_id":172825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff4"} 
[2026-09-05 10:36:33] local.INFO: Extracted packet for processing {"connection_id":172825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff4"} 
[2026-09-05 10:36:33] local.INFO: GPS Element Parsed {"raw_longitude":747963712,"raw_latitude":130002416,"longitude_deg":74.7963712,"latitude_deg":13.0002416,"altitude":18,"angle":312,"satellites":42,"speed":44,"hex_longitude":"2c950540","hex_latitude":"07bfadf0","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877673216001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":770405463752704,"note":"Value kept but may cause issues"} 
[2026-09-05 10:36:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7700803485803618304,"note":"Value kept but may cause issues"} 
[2026-09-05 10:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788584669000,"timestamp_ms":1788584669000,"timestamp_seconds":1788584669,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff42f48"} 
[2026-09-05 10:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:36: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-09-05 10: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 10:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877673216001,"66":27800,"51":206,"9":57344,"24":44,"16":770405463752704,"44":-7700803485803618304},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,9,24,16,44]} 
[2026-09-05 10:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877673216001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:36:33] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-05 10:36:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":770405463752704,"km_value":770405463752.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:36:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7700803485803618304,"description":"Unknown IO ID 44"} 
[2026-09-05 10:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877673216001,"power":27800,"unknown_51":206,"unknown_9":57344,"ignition":44,"odometer":null,"unknown_44":-7700803485803618304}} 
[2026-09-05 10:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":172825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768034,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:36:33] local.INFO: GPS data processed {"connection_id":172825,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:36:33] local.INFO: Acknowledgment sent {"connection_id":172825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:36:45] local.INFO: TCP Data received {"connection_id":174127,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:36:45] local.INFO: Processing buffer {"connection_id":174127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:36:45] local.INFO: IMEI packet received {"connection_id":174127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":174127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:36:48] local.INFO: TCP Data received {"connection_id":171723,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:36:48] local.INFO: Processing buffer {"connection_id":171723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:36:48] local.INFO: IMEI packet received {"connection_id":171723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":171723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:36:49] local.INFO: TCP Data received {"connection_id":171723,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:36:49] local.INFO: Processing buffer {"connection_id":171723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:36:49] local.INFO: IMEI packet received {"connection_id":171723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":171723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:36:50] local.INFO: TCP Data received {"connection_id":174127,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:36:50] local.INFO: Processing buffer {"connection_id":174127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:36:50] local.INFO: IMEI packet received {"connection_id":174127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":174127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:36:51] local.INFO: TCP Data received {"connection_id":174127,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff56f98012d19b9800720a2d8003300ce26..."} 
[2026-09-05 10:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff56f98012d19b9800720a2d8003300ce26..."} 
[2026-09-05 10:36:51] local.INFO: Processing buffer {"connection_id":174127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff56f98012d19b9800720a2d8003300ce26..."} 
[2026-09-05 10:36:51] local.INFO: Packet analysis {"connection_id":174127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff5"} 
[2026-09-05 10:36:51] local.INFO: Extracted packet for processing {"connection_id":174127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff5"} 
[2026-09-05 10:36:51] local.INFO: GPS Element Parsed {"raw_longitude":756660608,"raw_latitude":119579352,"longitude_deg":75.6660608,"latitude_deg":11.9579352,"altitude":51,"angle":206,"satellites":38,"speed":20,"hex_longitude":"2d19b980","hex_latitude":"0720a2d8","is_valid_coordinates":true} 
[2026-09-05 10:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877695744001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17466974862835712,"note":"Value kept but may cause issues"} 
[2026-09-05 10:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333461428224,"note":"Value kept but may cause issues"} 
[2026-09-05 10:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788584751000,"timestamp_ms":1788584751000,"timestamp_seconds":1788584751,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff56f98"} 
[2026-09-05 10:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:36:51] 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-09-05 10:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 10:36:51] 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-09-05 10:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877695744001,"66":14363,"103":206,"83":41984,"24":20,"16":17466974862835712,"45":1854005333461428224},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 10:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877695744001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:36:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 10:36:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17466974862835712,"km_value":17466974862835.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333461428224,"description":"Unknown IO ID 45"} 
[2026-09-05 10:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877695744001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1854005333461428224}} 
[2026-09-05 10:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":174127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:36:51] local.INFO: GPS data processed {"connection_id":174127,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:36:51] local.INFO: Acknowledgment sent {"connection_id":174127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:36:52] local.INFO: TCP Data received {"connection_id":171723,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:36:52] local.INFO: Processing buffer {"connection_id":171723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:36:52] local.INFO: IMEI packet received {"connection_id":171723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":171723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:36:53] local.INFO: TCP Data received {"connection_id":171723,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff58320012c947b8007c0eb18001701662b..."} 
[2026-09-05 10:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff58320012c947b8007c0eb18001701662b..."} 
[2026-09-05 10:36:53] local.INFO: Processing buffer {"connection_id":171723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff58320012c947b8007c0eb18001701662b..."} 
[2026-09-05 10:36:53] local.INFO: Packet analysis {"connection_id":171723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff5"} 
[2026-09-05 10:36:53] local.INFO: Extracted packet for processing {"connection_id":171723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff5"} 
[2026-09-05 10:36:53] local.INFO: GPS Element Parsed {"raw_longitude":747928448,"raw_latitude":130083608,"longitude_deg":74.7928448,"latitude_deg":13.0083608,"altitude":23,"angle":358,"satellites":43,"speed":48,"hex_longitude":"2c947b80","hex_latitude":"07c0eb18","is_valid_coordinates":true} 
[2026-09-05 10:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877695488001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":774721905885184,"note":"Value kept but may cause issues"} 
[2026-09-05 10:36:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7746613538243346432,"note":"Value kept but may cause issues"} 
[2026-09-05 10:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788584756000,"timestamp_ms":1788584756000,"timestamp_seconds":1788584756,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff58320"} 
[2026-09-05 10:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 10:36:53] 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-09-05 10:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877695488001,"66":27995,"49":206,"9":57344,"24":48,"16":774721905885184,"44":-7746613538243346432},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,9,24,16,44]} 
[2026-09-05 10:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877695488001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:36:53] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-05 10:36:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":774721905885184,"km_value":774721905885.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:36:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7746613538243346432,"description":"Unknown IO ID 44"} 
[2026-09-05 10:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877695488001,"power":27995,"unknown_49":206,"unknown_9":57344,"ignition":48,"odometer":null,"unknown_44":-7746613538243346432}} 
[2026-09-05 10:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":171723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768036,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:36:53] local.INFO: GPS data processed {"connection_id":171723,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:36:53] local.INFO: Acknowledgment sent {"connection_id":171723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:37:12] local.INFO: TCP Data received {"connection_id":174128,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:37:12] local.INFO: Processing buffer {"connection_id":174128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:37:12] local.INFO: IMEI packet received {"connection_id":174128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":174128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:37:16] local.INFO: TCP Data received {"connection_id":174128,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:37:16] local.INFO: Processing buffer {"connection_id":174128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:37:16] local.INFO: IMEI packet received {"connection_id":174128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":174128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:37:17] local.INFO: TCP Data received {"connection_id":174128,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff5e8b0012d507900064e8378000b00582b..."} 
[2026-09-05 10:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff5e8b0012d507900064e8378000b00582b..."} 
[2026-09-05 10:37:17] local.INFO: Processing buffer {"connection_id":174128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff5e8b0012d507900064e8378000b00582b..."} 
[2026-09-05 10:37:17] local.INFO: Packet analysis {"connection_id":174128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff5"} 
[2026-09-05 10:37:17] local.INFO: Extracted packet for processing {"connection_id":174128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff5"} 
[2026-09-05 10:37:17] local.INFO: GPS Element Parsed {"raw_longitude":760248576,"raw_latitude":105808760,"longitude_deg":76.0248576,"latitude_deg":10.580876,"altitude":11,"angle":88,"satellites":43,"speed":10,"hex_longitude":"2d507900","hex_latitude":"064e8378","is_valid_coordinates":true} 
[2026-09-05 10:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877703680001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399464815027814400,"note":"Value kept but may cause issues"} 
[2026-09-05 10:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5798173441094027264,"note":"Value kept but may cause issues"} 
[2026-09-05 10:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788584782000,"timestamp_ms":1788584782000,"timestamp_seconds":1788584782,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff5e8b0"} 
[2026-09-05 10:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:37: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-09-05 10:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 10:37:17] 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-09-05 10:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877703680001,"66":27876,"53":206,"78":62464,"24":10,"16":399464815027814400,"45":5798173441094027264},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-09-05 10:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877703680001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:37:17] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-05 10:37:17] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399464815027814400,"km_value":399464815027814.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5798173441094027264,"description":"Unknown IO ID 45"} 
[2026-09-05 10:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877703680001,"power":27876,"unknown_53":206,"unknown_78":62464,"ignition":10,"odometer":null,"unknown_45":5798173441094027264}} 
[2026-09-05 10:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":174128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:37:17] local.INFO: GPS data processed {"connection_id":174128,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:37:17] local.INFO: Acknowledgment sent {"connection_id":174128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:37:22] local.INFO: TCP Data received {"connection_id":174127,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff64a58012d19d680071ffe80002c00e725..."} 
[2026-09-05 10:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff64a58012d19d680071ffe80002c00e725..."} 
[2026-09-05 10:37:22] local.INFO: Processing buffer {"connection_id":174127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff64a58012d19d680071ffe80002c00e725..."} 
[2026-09-05 10:37:22] local.INFO: Packet analysis {"connection_id":174127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff6"} 
[2026-09-05 10:37:22] local.INFO: Extracted packet for processing {"connection_id":174127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff6"} 
[2026-09-05 10:37:22] local.INFO: GPS Element Parsed {"raw_longitude":756668032,"raw_latitude":119537280,"longitude_deg":75.6668032,"latitude_deg":11.953728,"altitude":44,"angle":231,"satellites":37,"speed":28,"hex_longitude":"2d19d680","hex_latitude":"071ffe80","is_valid_coordinates":true} 
[2026-09-05 10:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877710080001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17469268375371776,"note":"Value kept but may cause issues"} 
[2026-09-05 10:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862942163961270272,"note":"Value kept but may cause issues"} 
[2026-09-05 10:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788584807000,"timestamp_ms":1788584807000,"timestamp_seconds":1788584807,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff64a58"} 
[2026-09-05 10:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:37:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-05 10:37:22] 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-09-05 10:37:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877710080001,"66":14341,"101":206,"83":41984,"24":28,"16":17469268375371776,"45":1862942163961270272},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-05 10:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877710080001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:37:22] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 10:37:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17469268375371776,"km_value":17469268375371.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862942163961270272,"description":"Unknown IO ID 45"} 
[2026-09-05 10:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877710080001,"power":14341,"unknown_101":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1862942163961270272}} 
[2026-09-05 10:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":174127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:37:22] local.INFO: GPS data processed {"connection_id":174127,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:37:22] local.INFO: Acknowledgment sent {"connection_id":174127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:37:25] local.INFO: TCP Data received {"connection_id":171723,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff59e78012c947c4007c10e900017000028..."} 
[2026-09-05 10:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff59e78012c947c4007c10e900017000028..."} 
[2026-09-05 10:37:25] local.INFO: Processing buffer {"connection_id":171723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff59e78012c947c4007c10e900017000028..."} 
[2026-09-05 10:37:25] local.INFO: Packet analysis {"connection_id":171723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff5"} 
[2026-09-05 10:37:25] local.INFO: Extracted packet for processing {"connection_id":171723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff5"} 
[2026-09-05 10:37:25] local.INFO: GPS Element Parsed {"raw_longitude":747928640,"raw_latitude":130092688,"longitude_deg":74.792864,"latitude_deg":13.0092688,"altitude":23,"angle":0,"satellites":40,"speed":53,"hex_longitude":"2c947c40","hex_latitude":"07c10e90","is_valid_coordinates":true} 
[2026-09-05 10:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877697536001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":775159992549376,"note":"Value kept but may cause issues"} 
[2026-09-05 10:37:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7747457963171047424,"note":"Value kept but may cause issues"} 
[2026-09-05 10:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788584763000,"timestamp_ms":1788584763000,"timestamp_seconds":1788584763,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff59e78"} 
[2026-09-05 10:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 10:37:25] 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-09-05 10:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877697536001,"66":28006,"49":206,"9":57344,"24":53,"16":775159992549376,"44":-7747457963171047424},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,9,24,16,44]} 
[2026-09-05 10:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877697536001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:37:25] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-05 10:37:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":775159992549376,"km_value":775159992549.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:37:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7747457963171047424,"description":"Unknown IO ID 44"} 
[2026-09-05 10:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877697536001,"power":28006,"unknown_49":206,"unknown_9":57344,"ignition":53,"odometer":null,"unknown_44":-7747457963171047424}} 
[2026-09-05 10:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":171723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768039,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:37:25] local.INFO: GPS data processed {"connection_id":171723,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:37:25] local.INFO: Acknowledgment sent {"connection_id":171723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:37:42] local.INFO: TCP Data received {"connection_id":172826,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:37:42] local.INFO: Processing buffer {"connection_id":172826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:37:42] local.INFO: IMEI packet received {"connection_id":172826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":172826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:37:47] local.INFO: TCP Data received {"connection_id":172826,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:37:47] local.INFO: Processing buffer {"connection_id":172826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:37:47] local.INFO: IMEI packet received {"connection_id":172826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":172826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:37:47] local.INFO: TCP Data received {"connection_id":172826,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:37:47] local.INFO: Processing buffer {"connection_id":172826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:37:47] local.INFO: IMEI packet received {"connection_id":172826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":172826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:37:47] local.INFO: TCP Data received {"connection_id":174129,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174129,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:37:47] local.INFO: Processing buffer {"connection_id":174129,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:37:47] local.INFO: IMEI packet received {"connection_id":174129,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":174129,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:37:48] local.INFO: TCP Data received {"connection_id":172826,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:37:48] local.INFO: Processing buffer {"connection_id":172826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:37:48] local.INFO: IMEI packet received {"connection_id":172826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":172826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:37:49] local.INFO: TCP Data received {"connection_id":172826,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff65228012d19d1c0071ffbd8002c00f225..."} 
[2026-09-05 10:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff65228012d19d1c0071ffbd8002c00f225..."} 
[2026-09-05 10:37:49] local.INFO: Processing buffer {"connection_id":172826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff65228012d19d1c0071ffbd8002c00f225..."} 
[2026-09-05 10:37:49] local.INFO: Packet analysis {"connection_id":172826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff6"} 
[2026-09-05 10:37:49] local.INFO: Extracted packet for processing {"connection_id":172826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff6"} 
[2026-09-05 10:37:49] local.INFO: GPS Element Parsed {"raw_longitude":756666816,"raw_latitude":119536600,"longitude_deg":75.6666816,"latitude_deg":11.95366,"altitude":44,"angle":242,"satellites":37,"speed":25,"hex_longitude":"2d19d1c0","hex_latitude":"071ffbd8","is_valid_coordinates":true} 
[2026-09-05 10:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877710592001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17469337094848512,"note":"Value kept but may cause issues"} 
[2026-09-05 10:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861816264054177792,"note":"Value kept but may cause issues"} 
[2026-09-05 10:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788584809000,"timestamp_ms":1788584809000,"timestamp_seconds":1788584809,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff65228"} 
[2026-09-05 10:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-05 10:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6986659351,"note":"Value kept but may cause issues"} 
[2026-09-05 10:37:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 10:37:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 10:37:49] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503866184105984,"note":"Value kept but may cause issues"} 
[2026-09-05 10:37:49] local.WARNING: Large IO value detected {"io_id":111,"raw_value":4130531329,"note":"Value kept but may cause issues"} 
[2026-09-05 10:37:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-05 10:37:49] local.WARNING: Large IO value detected {"io_id":144,"raw_value":84752375977811984,"note":"Value kept but may cause issues"} 
[2026-09-05 10:37:49] local.WARNING: Large IO value detected {"io_id":48,"raw_value":12666885690628096,"note":"Value kept but may cause issues"} 
[2026-09-05 10:37:49] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,101,83,24,241,157,16,160,66,45,128,2,44,37,10,58,6,38,54,1,240,5,227,111,32,4,113,205,15,47,222,184,239,56,62,7,206,144,48],"length":529,"final_offset":659,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-05 10:37:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170788283770470400,"timestamp_seconds":3170788283770470.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 10:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877710592001,"66":14265,"101":206,"83":41984,"24":25,"16":17469337094848512,"45":1861816264054177792},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-05 10:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877710592001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:37:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 10:37:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17469337094848512,"km_value":17469337094848.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861816264054177792,"description":"Unknown IO ID 45"} 
[2026-09-05 10:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877710592001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1861816264054177792}} 
[2026-09-05 10:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":172826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:37:49] local.INFO: GPS data processed {"connection_id":172826,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:37:49] local.INFO: Acknowledgment sent {"connection_id":172826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:37:50] local.INFO: TCP Data received {"connection_id":172826,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff659f8012d19cd80071ff928002c00de25..."} 
[2026-09-05 10:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff659f8012d19cd80071ff928002c00de25..."} 
[2026-09-05 10:37:50] local.INFO: Processing buffer {"connection_id":172826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff659f8012d19cd80071ff928002c00de25..."} 
[2026-09-05 10:37:50] local.INFO: Packet analysis {"connection_id":172826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff6"} 
[2026-09-05 10:37:50] local.INFO: Extracted packet for processing {"connection_id":172826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff6"} 
[2026-09-05 10:37:50] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119535912,"longitude_deg":75.6665728,"latitude_deg":11.9535912,"altitude":44,"angle":222,"satellites":37,"speed":22,"hex_longitude":"2d19cd80","hex_latitude":"071ff928","is_valid_coordinates":true} 
[2026-09-05 10:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877711104001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17469397224390656,"note":"Value kept but may cause issues"} 
[2026-09-05 10:37:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860479257914628096,"note":"Value kept but may cause issues"} 
[2026-09-05 10:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788584811000,"timestamp_ms":1788584811000,"timestamp_seconds":1788584811,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff659f8"} 
[2026-09-05 10:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:37:50] 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-09-05 10:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 10:37:50] 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-09-05 10:37:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877711104001,"66":14265,"101":206,"83":41984,"24":22,"16":17469397224390656,"45":1860479257914628096},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-05 10:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877711104001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:37:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 10:37:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17469397224390656,"km_value":17469397224390.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:37:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860479257914628096,"description":"Unknown IO ID 45"} 
[2026-09-05 10:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877711104001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1860479257914628096}} 
[2026-09-05 10:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":172826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:37:50] local.INFO: GPS data processed {"connection_id":172826,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:37:50] local.INFO: Acknowledgment sent {"connection_id":172826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:37:52] local.INFO: TCP Data received {"connection_id":174129,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174129,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:37:52] local.INFO: Processing buffer {"connection_id":174129,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:37:52] local.INFO: IMEI packet received {"connection_id":174129,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":174129,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:37:54] local.INFO: TCP Data received {"connection_id":174129,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff5b9d0012c947cc007c13460001700002a..."} 
[2026-09-05 10:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff5b9d0012c947cc007c13460001700002a..."} 
[2026-09-05 10:37:54] local.INFO: Processing buffer {"connection_id":174129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff5b9d0012c947cc007c13460001700002a..."} 
[2026-09-05 10:37:54] local.INFO: Packet analysis {"connection_id":174129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff5"} 
[2026-09-05 10:37:54] local.INFO: Extracted packet for processing {"connection_id":174129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff5"} 
[2026-09-05 10:37:54] local.INFO: GPS Element Parsed {"raw_longitude":747928768,"raw_latitude":130102368,"longitude_deg":74.7928768,"latitude_deg":13.0102368,"altitude":23,"angle":0,"satellites":42,"speed":56,"hex_longitude":"2c947cc0","hex_latitude":"07c13460","is_valid_coordinates":true} 
[2026-09-05 10:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877699328001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":775632438951936,"note":"Value kept but may cause issues"} 
[2026-09-05 10:37:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7747246856936189952,"note":"Value kept but may cause issues"} 
[2026-09-05 10:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788584770000,"timestamp_ms":1788584770000,"timestamp_seconds":1788584770,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff5b9d0"} 
[2026-09-05 10:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:37: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-09-05 10:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 10:37:54] 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-09-05 10:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174129,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174129,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877699328001,"66":28028,"49":206,"9":57344,"24":56,"16":775632438951936,"44":-7747246856936189952},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,9,24,16,44]} 
[2026-09-05 10:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877699328001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:37:54] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-05 10:37:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":775632438951936,"km_value":775632438951.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:37:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7747246856936189952,"description":"Unknown IO ID 44"} 
[2026-09-05 10:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877699328001,"power":28028,"unknown_49":206,"unknown_9":57344,"ignition":56,"odometer":null,"unknown_44":-7747246856936189952}} 
[2026-09-05 10:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":174129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768042,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:37:54] local.INFO: GPS data processed {"connection_id":174129,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:37:54] local.INFO: Acknowledgment sent {"connection_id":174129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:38:02] local.INFO: TCP Data received {"connection_id":171424,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:38:02] local.INFO: Processing buffer {"connection_id":171424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:38:02] local.INFO: IMEI packet received {"connection_id":171424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":171424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:38:06] local.INFO: TCP Data received {"connection_id":171424,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:38:06] local.INFO: Processing buffer {"connection_id":171424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:38:06] local.INFO: IMEI packet received {"connection_id":171424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":171424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:38:08] local.INFO: TCP Data received {"connection_id":171424,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff5f850012d507f00064e83780008004d2b..."} 
[2026-09-05 10:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff5f850012d507f00064e83780008004d2b..."} 
[2026-09-05 10:38:08] local.INFO: Processing buffer {"connection_id":171424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff5f850012d507f00064e83780008004d2b..."} 
[2026-09-05 10:38:08] local.INFO: Packet analysis {"connection_id":171424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff5"} 
[2026-09-05 10:38:08] local.INFO: Extracted packet for processing {"connection_id":171424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff5"} 
[2026-09-05 10:38:08] local.INFO: GPS Element Parsed {"raw_longitude":760250112,"raw_latitude":105808760,"longitude_deg":76.0250112,"latitude_deg":10.580876,"altitude":8,"angle":77,"satellites":43,"speed":13,"hex_longitude":"2d507f00","hex_latitude":"064e8378","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877704192001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399464888042258432,"note":"Value kept but may cause issues"} 
[2026-09-05 10:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5798666022303266816,"note":"Value kept but may cause issues"} 
[2026-09-05 10:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788584786000,"timestamp_ms":1788584786000,"timestamp_seconds":1788584786,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff5f850"} 
[2026-09-05 10:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:38: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-09-05 10:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 10:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:38:08] 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-09-05 10:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877704192001,"66":27908,"53":206,"78":62464,"24":13,"16":399464888042258432,"45":5798666022303266816},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-09-05 10:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877704192001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:38:08] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-05 10:38:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399464888042258432,"km_value":399464888042258.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5798666022303266816,"description":"Unknown IO ID 45"} 
[2026-09-05 10:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877704192001,"power":27908,"unknown_53":206,"unknown_78":62464,"ignition":13,"odometer":null,"unknown_45":5798666022303266816}} 
[2026-09-05 10:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":171424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:38:08] local.INFO: GPS data processed {"connection_id":171424,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:38:08] local.INFO: Acknowledgment sent {"connection_id":171424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:38:12] local.INFO: TCP Data received {"connection_id":171424,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff60fc0012d5086c0064e84c8000900592a..."} 
[2026-09-05 10:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff60fc0012d5086c0064e84c8000900592a..."} 
[2026-09-05 10:38:12] local.INFO: Processing buffer {"connection_id":171424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff60fc0012d5086c0064e84c8000900592a..."} 
[2026-09-05 10:38:12] local.INFO: Packet analysis {"connection_id":171424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff6"} 
[2026-09-05 10:38:12] local.INFO: Extracted packet for processing {"connection_id":171424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff6"} 
[2026-09-05 10:38:12] local.INFO: GPS Element Parsed {"raw_longitude":760252096,"raw_latitude":105809096,"longitude_deg":76.0252096,"latitude_deg":10.5809096,"altitude":9,"angle":89,"satellites":42,"speed":15,"hex_longitude":"2d5086c0","hex_latitude":"064e84c8","is_valid_coordinates":true} 
[2026-09-05 10:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877705216001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399464986826506240,"note":"Value kept but may cause issues"} 
[2026-09-05 10:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5800354872163530752,"note":"Value kept but may cause issues"} 
[2026-09-05 10:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788584792000,"timestamp_ms":1788584792000,"timestamp_seconds":1788584792,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff60fc0"} 
[2026-09-05 10:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:38:12] 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-09-05 10:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 10:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:38:12] 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-09-05 10:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877705216001,"66":27974,"53":206,"78":62464,"24":15,"16":399464986826506240,"45":5800354872163530752},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-09-05 10:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877705216001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:38:12] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-05 10:38:12] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399464986826506240,"km_value":399464986826506.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5800354872163530752,"description":"Unknown IO ID 45"} 
[2026-09-05 10:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877705216001,"power":27974,"unknown_53":206,"unknown_78":62464,"ignition":15,"odometer":null,"unknown_45":5800354872163530752}} 
[2026-09-05 10:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":171424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:38:12] local.INFO: GPS data processed {"connection_id":171424,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:38:12] local.INFO: Acknowledgment sent {"connection_id":171424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:38:21] local.INFO: TCP Data received {"connection_id":172826,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff701f0012d197cc0071febb0003e010224..."} 
[2026-09-05 10:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff701f0012d197cc0071febb0003e010224..."} 
[2026-09-05 10:38:21] local.INFO: Processing buffer {"connection_id":172826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff701f0012d197cc0071febb0003e010224..."} 
[2026-09-05 10:38:21] local.INFO: Packet analysis {"connection_id":172826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff7"} 
[2026-09-05 10:38:21] local.INFO: Extracted packet for processing {"connection_id":172826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff7"} 
[2026-09-05 10:38:21] local.INFO: GPS Element Parsed {"raw_longitude":756645056,"raw_latitude":119532464,"longitude_deg":75.6645056,"latitude_deg":11.9532464,"altitude":62,"angle":258,"satellites":36,"speed":19,"hex_longitude":"2d197cc0","hex_latitude":"071febb0","is_valid_coordinates":true} 
[2026-09-05 10:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877721600001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470449491378176,"note":"Value kept but may cause issues"} 
[2026-09-05 10:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838313103497826304,"note":"Value kept but may cause issues"} 
[2026-09-05 10:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788584854000,"timestamp_ms":1788584854000,"timestamp_seconds":1788584854,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff701f0"} 
[2026-09-05 10:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 10:38:21] 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-09-05 10:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877721600001,"66":12950,"102":206,"83":41984,"24":19,"16":17470449491378176,"45":1838313103497826304},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877721600001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:38:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:38:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470449491378176,"km_value":17470449491378.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838313103497826304,"description":"Unknown IO ID 45"} 
[2026-09-05 10:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877721600001,"power":12950,"unknown_102":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1838313103497826304}} 
[2026-09-05 10:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":172826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:38:22] local.INFO: GPS data processed {"connection_id":172826,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:38:22] local.INFO: Acknowledgment sent {"connection_id":172826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:38:25] local.INFO: TCP Data received {"connection_id":174129,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff6ea80012c94210007c2cac0000c015929..."} 
[2026-09-05 10:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff6ea80012c94210007c2cac0000c015929..."} 
[2026-09-05 10:38:25] local.INFO: Processing buffer {"connection_id":174129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff6ea80012c94210007c2cac0000c015929..."} 
[2026-09-05 10:38:25] local.INFO: Packet analysis {"connection_id":174129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff6"} 
[2026-09-05 10:38:25] local.INFO: Extracted packet for processing {"connection_id":174129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff6"} 
[2026-09-05 10:38:25] local.INFO: GPS Element Parsed {"raw_longitude":747905280,"raw_latitude":130206400,"longitude_deg":74.790528,"latitude_deg":13.02064,"altitude":12,"angle":345,"satellites":41,"speed":58,"hex_longitude":"2c942100","hex_latitude":"07c2cac0","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877719296001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":780863709118464,"note":"Value kept but may cause issues"} 
[2026-09-05 10:38:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7769272273837156352,"note":"Value kept but may cause issues"} 
[2026-09-05 10:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788584848000,"timestamp_ms":1788584848000,"timestamp_seconds":1788584848,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff6ea80"} 
[2026-09-05 10:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-05 10:38:25] 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-09-05 10: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-09-05 10:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174129,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174129,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877719296001,"66":27984,"128":206,"9":57344,"24":58,"16":780863709118464,"44":-7769272273837156352},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,9,24,16,44]} 
[2026-09-05 10:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877719296001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:38:25] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-05 10:38:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":780863709118464,"km_value":780863709118.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:38:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7769272273837156352,"description":"Unknown IO ID 44"} 
[2026-09-05 10:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877719296001,"power":27984,"unknown_128":206,"unknown_9":57344,"ignition":58,"odometer":null,"unknown_44":-7769272273837156352}} 
[2026-09-05 10:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":174129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768046,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:38:25] local.INFO: GPS data processed {"connection_id":174129,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:38:25] local.INFO: Acknowledgment sent {"connection_id":174129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:38:45] local.INFO: TCP Data received {"connection_id":172827,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:38:45] local.INFO: Processing buffer {"connection_id":172827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:38:45] local.INFO: IMEI packet received {"connection_id":172827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":172827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:38:50] local.INFO: TCP Data received {"connection_id":172827,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:38:50] local.INFO: Processing buffer {"connection_id":172827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:38:50] local.INFO: IMEI packet received {"connection_id":172827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":172827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:38:51] local.INFO: TCP Data received {"connection_id":172827,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff709c0012d1978c0071feb70003f010d25..."} 
[2026-09-05 10:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff709c0012d1978c0071feb70003f010d25..."} 
[2026-09-05 10:38:51] local.INFO: Processing buffer {"connection_id":172827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff709c0012d1978c0071feb70003f010d25..."} 
[2026-09-05 10:38:51] local.INFO: Packet analysis {"connection_id":172827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff7"} 
[2026-09-05 10:38:51] local.INFO: Extracted packet for processing {"connection_id":172827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff7"} 
[2026-09-05 10:38:51] local.INFO: GPS Element Parsed {"raw_longitude":756644032,"raw_latitude":119532400,"longitude_deg":75.6644032,"latitude_deg":11.95324,"altitude":63,"angle":269,"satellites":37,"speed":17,"hex_longitude":"2d1978c0","hex_latitude":"071feb70","is_valid_coordinates":true} 
[2026-09-05 10:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877722624001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470496736018432,"note":"Value kept but may cause issues"} 
[2026-09-05 10:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836553884893163520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788584856000,"timestamp_ms":1788584856000,"timestamp_seconds":1788584856,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff709c0"} 
[2026-09-05 10:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-05 10:38:51] 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-09-05 10:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877722624001,"66":12798,"102":206,"83":41984,"24":17,"16":17470496736018432,"45":1836553884893163520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877722624001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:38:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:38:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470496736018432,"km_value":17470496736018.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836553884893163520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877722624001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1836553884893163520}} 
[2026-09-05 10:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":172827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:38:51] local.INFO: GPS data processed {"connection_id":172827,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:38:51] local.INFO: Acknowledgment sent {"connection_id":172827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:38:59] local.INFO: TCP Data received {"connection_id":172828,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:38:59] local.INFO: Processing buffer {"connection_id":172828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:38:59] local.INFO: IMEI packet received {"connection_id":172828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":172828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:39:02] local.INFO: TCP Data received {"connection_id":172828,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:39:02] local.INFO: Processing buffer {"connection_id":172828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:39:02] local.INFO: IMEI packet received {"connection_id":172828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":172828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:39:02] local.INFO: TCP Data received {"connection_id":172828,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff661c8012d50a940064e8838000d00522b..."} 
[2026-09-05 10:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff661c8012d50a940064e8838000d00522b..."} 
[2026-09-05 10:39:02] local.INFO: Processing buffer {"connection_id":172828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff661c8012d50a940064e8838000d00522b..."} 
[2026-09-05 10:39:02] local.INFO: Packet analysis {"connection_id":172828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff6"} 
[2026-09-05 10:39:02] local.INFO: Extracted packet for processing {"connection_id":172828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff6"} 
[2026-09-05 10:39:02] local.INFO: GPS Element Parsed {"raw_longitude":760260928,"raw_latitude":105809976,"longitude_deg":76.0260928,"latitude_deg":10.5809976,"altitude":13,"angle":82,"satellites":43,"speed":0,"hex_longitude":"2d50a940","hex_latitude":"064e8838","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877706752001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399465407733301248,"note":"Value kept but may cause issues"} 
[2026-09-05 10:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5802536303233124352,"note":"Value kept but may cause issues"} 
[2026-09-05 10:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788584813000,"timestamp_ms":1788584813000,"timestamp_seconds":1788584813,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff661c8"} 
[2026-09-05 10:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:39: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-09-05 10: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 10:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877706752001,"66":28104,"8":206,"78":62464,"24":0,"16":399465407733301248,"45":5802536303233124352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,78,24,16,45]} 
[2026-09-05 10:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877706752001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:39:02] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-05 10:39:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399465407733301248,"km_value":399465407733301.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5802536303233124352,"description":"Unknown IO ID 45"} 
[2026-09-05 10:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877706752001,"power":28104,"unknown_8":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5802536303233124352}} 
[2026-09-05 10:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":172828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:39:02] local.INFO: GPS data processed {"connection_id":172828,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:39:02] local.INFO: Acknowledgment sent {"connection_id":172828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:39:03] local.INFO: TCP Data received {"connection_id":171724,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:39:03] local.INFO: Processing buffer {"connection_id":171724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:39:03] local.INFO: IMEI packet received {"connection_id":171724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":171724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:39:07] local.INFO: TCP Data received {"connection_id":171724,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:39:07] local.INFO: Processing buffer {"connection_id":171724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:39:07] local.INFO: IMEI packet received {"connection_id":171724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":171724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:39:07] local.INFO: TCP Data received {"connection_id":172828,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff6b3d0012d50c640064e8cb0000c00522b..."} 
[2026-09-05 10:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff6b3d0012d50c640064e8cb0000c00522b..."} 
[2026-09-05 10:39:07] local.INFO: Processing buffer {"connection_id":172828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff6b3d0012d50c640064e8cb0000c00522b..."} 
[2026-09-05 10:39:07] local.INFO: Packet analysis {"connection_id":172828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff6"} 
[2026-09-05 10:39:07] local.INFO: Extracted packet for processing {"connection_id":172828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff6"} 
[2026-09-05 10:39:07] local.INFO: GPS Element Parsed {"raw_longitude":760268352,"raw_latitude":105811120,"longitude_deg":76.0268352,"latitude_deg":10.581112,"altitude":12,"angle":82,"satellites":43,"speed":23,"hex_longitude":"2d50c640","hex_latitude":"064e8cb0","is_valid_coordinates":true} 
[2026-09-05 10:39: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-09-05 10:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877712128001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399465768510554112,"note":"Value kept but may cause issues"} 
[2026-09-05 10:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5812247189929867264,"note":"Value kept but may cause issues"} 
[2026-09-05 10:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788584834000,"timestamp_ms":1788584834000,"timestamp_seconds":1788584834,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff6b3d0"} 
[2026-09-05 10:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:39: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-09-05 10:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 10:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:39: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-09-05 10:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:39:07] 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-09-05 10:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877712128001,"66":27995,"6":206,"78":62464,"24":23,"16":399465768510554112,"45":5812247189929867264},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,78,24,16,45]} 
[2026-09-05 10:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877712128001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:39:07] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-05 10:39:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399465768510554112,"km_value":399465768510554.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5812247189929867264,"description":"Unknown IO ID 45"} 
[2026-09-05 10:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877712128001,"power":27995,"unknown_6":206,"unknown_78":62464,"ignition":23,"odometer":null,"unknown_45":5812247189929867264}} 
[2026-09-05 10:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":172828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:39:07] local.INFO: GPS data processed {"connection_id":172828,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:39:07] local.INFO: Acknowledgment sent {"connection_id":172828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:39:08] local.INFO: TCP Data received {"connection_id":171724,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:39:08] local.INFO: Processing buffer {"connection_id":171724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:39:08] local.INFO: IMEI packet received {"connection_id":171724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":171724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:39:10] local.INFO: TCP Data received {"connection_id":171724,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff701f0012c941c0007c2ebd8000d016529..."} 
[2026-09-05 10:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff701f0012c941c0007c2ebd8000d016529..."} 
[2026-09-05 10:39:10] local.INFO: Processing buffer {"connection_id":171724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff701f0012c941c0007c2ebd8000d016529..."} 
[2026-09-05 10:39:10] local.INFO: Packet analysis {"connection_id":171724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff7"} 
[2026-09-05 10:39:10] local.INFO: Extracted packet for processing {"connection_id":171724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff7"} 
[2026-09-05 10:39:10] local.INFO: GPS Element Parsed {"raw_longitude":747904000,"raw_latitude":130214872,"longitude_deg":74.7904,"latitude_deg":13.0214872,"altitude":13,"angle":357,"satellites":41,"speed":52,"hex_longitude":"2c941c00","hex_latitude":"07c2ebd8","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877721088001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":781280320946176,"note":"Value kept but may cause issues"} 
[2026-09-05 10:39:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7772931448531927040,"note":"Value kept but may cause issues"} 
[2026-09-05 10:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788584854000,"timestamp_ms":1788584854000,"timestamp_seconds":1788584854,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff701f0"} 
[2026-09-05 10:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:39: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-09-05 10: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 10:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171724,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171724,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877721088001,"66":27919,"128":206,"9":57344,"24":52,"16":781280320946176,"44":-7772931448531927040},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,9,24,16,44]} 
[2026-09-05 10:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877721088001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:39:10] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-05 10:39:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":781280320946176,"km_value":781280320946.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:39:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7772931448531927040,"description":"Unknown IO ID 44"} 
[2026-09-05 10:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877721088001,"power":27919,"unknown_128":206,"unknown_9":57344,"ignition":52,"odometer":null,"unknown_44":-7772931448531927040}} 
[2026-09-05 10:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":171724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768050,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:39:10] local.INFO: GPS data processed {"connection_id":171724,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:39:10] local.INFO: Acknowledgment sent {"connection_id":171724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:39:14] local.INFO: TCP Data received {"connection_id":171724,"ip":"117.224.75.230","data_length":93,"data_hex":"00000000000000518e01000001a06ff71d48012c941d0007c30720000d000b2a..."} 
[2026-09-05 10:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171724,"packet_length":93,"packet_hex":"00000000000000518e01000001a06ff71d48012c941d0007c30720000d000b2a..."} 
[2026-09-05 10:39:14] local.INFO: Processing buffer {"connection_id":171724,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a06ff71d48012c941d0007c30720000d000b2a..."} 
[2026-09-05 10:39:14] local.INFO: Packet analysis {"connection_id":171724,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a06ff7"} 
[2026-09-05 10:39:14] local.INFO: Extracted packet for processing {"connection_id":171724,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a06ff7"} 
[2026-09-05 10:39:14] local.INFO: GPS Element Parsed {"raw_longitude":747904256,"raw_latitude":130221856,"longitude_deg":74.7904256,"latitude_deg":13.0221856,"altitude":13,"angle":11,"satellites":42,"speed":26,"hex_longitude":"2c941d00","hex_latitude":"07c30720","is_valid_coordinates":true} 
[2026-09-05 10:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-05 10:39: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-09-05 10:39: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-09-05 10:39:14] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:39:14] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 10:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":171724,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-05 10:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":171724,"device_imei":"862567071632322","avl_records_count":0} 
[2026-09-05 10:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":171724,"device_imei":"862567071632322","avl_records_count":0} 
[2026-09-05 10:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 10:39:14] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 10:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":171724,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 10:39:14] local.ERROR: GPS data processing failed {"connection_id":171724,"error":"No valid data to process"} 
[2026-09-05 10:39:14] local.INFO: Acknowledgment sent {"connection_id":171724,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 10:39:22] local.INFO: TCP Data received {"connection_id":172827,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff71190012d197580071febe80040011826..."} 
[2026-09-05 10:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff71190012d197580071febe80040011826..."} 
[2026-09-05 10:39:22] local.INFO: Processing buffer {"connection_id":172827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff71190012d197580071febe80040011826..."} 
[2026-09-05 10:39:22] local.INFO: Packet analysis {"connection_id":172827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff7"} 
[2026-09-05 10:39:22] local.INFO: Extracted packet for processing {"connection_id":172827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff7"} 
[2026-09-05 10:39:22] local.INFO: GPS Element Parsed {"raw_longitude":756643200,"raw_latitude":119532520,"longitude_deg":75.66432,"latitude_deg":11.953252,"altitude":64,"angle":280,"satellites":38,"speed":16,"hex_longitude":"2d197580","hex_latitude":"071febe8","is_valid_coordinates":true} 
[2026-09-05 10:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877723136001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470539685691392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835427984986304512,"note":"Value kept but may cause issues"} 
[2026-09-05 10:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788584858000,"timestamp_ms":1788584858000,"timestamp_seconds":1788584858,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff71190"} 
[2026-09-05 10:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:39:22] 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-09-05 10:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-05 10:39:22] 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-09-05 10:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877723136001,"66":12841,"102":206,"83":41984,"24":16,"16":17470539685691392,"45":1835427984986304512},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877723136001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:39:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:39:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470539685691392,"km_value":17470539685691.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835427984986304512,"description":"Unknown IO ID 45"} 
[2026-09-05 10:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877723136001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1835427984986304512}} 
[2026-09-05 10:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":172827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:39:22] local.INFO: GPS data processed {"connection_id":172827,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:39:22] local.INFO: Acknowledgment sent {"connection_id":172827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:39:39] local.INFO: TCP Data received {"connection_id":172828,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff705d8012d50e600064e9078000800512b..."} 
[2026-09-05 10:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff705d8012d50e600064e9078000800512b..."} 
[2026-09-05 10:39:39] local.INFO: Processing buffer {"connection_id":172828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff705d8012d50e600064e9078000800512b..."} 
[2026-09-05 10:39:39] local.INFO: Packet analysis {"connection_id":172828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff7"} 
[2026-09-05 10:39:39] local.INFO: Extracted packet for processing {"connection_id":172828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff7"} 
[2026-09-05 10:39:39] local.INFO: GPS Element Parsed {"raw_longitude":760276480,"raw_latitude":105812088,"longitude_deg":76.027648,"latitude_deg":10.5812088,"altitude":8,"angle":81,"satellites":43,"speed":14,"hex_longitude":"2d50e600","hex_latitude":"064e9078","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877717504001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399466159352578048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5820409964254769152,"note":"Value kept but may cause issues"} 
[2026-09-05 10:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788584855000,"timestamp_ms":1788584855000,"timestamp_seconds":1788584855,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff705d8"} 
[2026-09-05 10:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:39:39] 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-09-05 10: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 10:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877717504001,"66":27876,"6":206,"78":62464,"24":14,"16":399466159352578048,"45":5820409964254769152},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,78,24,16,45]} 
[2026-09-05 10:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877717504001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:39:39] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-05 10:39:39] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399466159352578048,"km_value":399466159352578.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":5820409964254769152,"description":"Unknown IO ID 45"} 
[2026-09-05 10:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877717504001,"power":27876,"unknown_6":206,"unknown_78":62464,"ignition":14,"odometer":null,"unknown_45":5820409964254769152}} 
[2026-09-05 10:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":172828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:39:39] local.INFO: GPS data processed {"connection_id":172828,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:39:39] local.INFO: Acknowledgment sent {"connection_id":172828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:39:45] local.INFO: TCP Data received {"connection_id":171425,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:39:45] local.INFO: Processing buffer {"connection_id":171425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:39:45] local.INFO: IMEI packet received {"connection_id":171425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":171425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:39:50] local.INFO: TCP Data received {"connection_id":171425,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:39:50] local.INFO: Processing buffer {"connection_id":171425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:39:50] local.INFO: IMEI packet received {"connection_id":171425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":171425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:39:51] local.INFO: TCP Data received {"connection_id":171425,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff75fb0012d196900071fedf00040011e25..."} 
[2026-09-05 10:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff75fb0012d196900071fedf00040011e25..."} 
[2026-09-05 10:39:51] local.INFO: Processing buffer {"connection_id":171425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff75fb0012d196900071fedf00040011e25..."} 
[2026-09-05 10:39:51] local.INFO: Packet analysis {"connection_id":171425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff7"} 
[2026-09-05 10:39:51] local.INFO: Extracted packet for processing {"connection_id":171425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff7"} 
[2026-09-05 10:39:51] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877723648001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834513191312025600,"note":"Value kept but may cause issues"} 
[2026-09-05 10:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788584878000,"timestamp_ms":1788584878000,"timestamp_seconds":1788584878,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff75fb0"} 
[2026-09-05 10:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:39:51] 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-09-05 10:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-05 10:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877723648001,"66":12613,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1834513191312025600},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877723648001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:39:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:39:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834513191312025600,"description":"Unknown IO ID 45"} 
[2026-09-05 10:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877723648001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834513191312025600}} 
[2026-09-05 10:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":171425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:39:51] local.INFO: GPS data processed {"connection_id":171425,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:39:51] local.INFO: Acknowledgment sent {"connection_id":171425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:39:52] local.INFO: TCP Data received {"connection_id":171426,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171426,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:39:52] local.INFO: Processing buffer {"connection_id":171426,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:39:52] local.INFO: IMEI packet received {"connection_id":171426,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":171426,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:39:54] local.INFO: TCP Data received {"connection_id":171426,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171426,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:39:54] local.INFO: Processing buffer {"connection_id":171426,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:39:54] local.INFO: IMEI packet received {"connection_id":171426,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":171426,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:39:55] local.INFO: TCP Data received {"connection_id":171426,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff74c28012c94274007c32898000d00112a..."} 
[2026-09-05 10:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff74c28012c94274007c32898000d00112a..."} 
[2026-09-05 10:39:55] local.INFO: Processing buffer {"connection_id":171426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff74c28012c94274007c32898000d00112a..."} 
[2026-09-05 10:39:55] local.INFO: Packet analysis {"connection_id":171426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff7"} 
[2026-09-05 10:39:55] local.INFO: Extracted packet for processing {"connection_id":171426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff7"} 
[2026-09-05 10:39:55] local.INFO: GPS Element Parsed {"raw_longitude":747906880,"raw_latitude":130230424,"longitude_deg":74.790688,"latitude_deg":13.0230424,"altitude":13,"angle":17,"satellites":42,"speed":33,"hex_longitude":"2c942740","hex_latitude":"07c32898","is_valid_coordinates":true} 
[2026-09-05 10:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877724416001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":782053415059456,"note":"Value kept but may cause issues"} 
[2026-09-05 10:39:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7774057348434812928,"note":"Value kept but may cause issues"} 
[2026-09-05 10:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788584873000,"timestamp_ms":1788584873000,"timestamp_seconds":1788584873,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff74c28"} 
[2026-09-05 10:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-05 10:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171426,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171426,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877724416001,"66":27952,"129":206,"9":57344,"24":33,"16":782053415059456,"44":-7774057348434812928},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,9,24,16,44]} 
[2026-09-05 10:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877724416001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:39:55] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-05 10:39:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":782053415059456,"km_value":782053415059.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:39:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7774057348434812928,"description":"Unknown IO ID 44"} 
[2026-09-05 10:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877724416001,"power":27952,"unknown_129":206,"unknown_9":57344,"ignition":33,"odometer":null,"unknown_44":-7774057348434812928}} 
[2026-09-05 10:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":171426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768054,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:39:55] local.INFO: GPS data processed {"connection_id":171426,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:39:55] local.INFO: Acknowledgment sent {"connection_id":171426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:39:55] local.INFO: TCP Data received {"connection_id":174130,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:39:55] local.INFO: Processing buffer {"connection_id":174130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:39:55] local.INFO: IMEI packet received {"connection_id":174130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":174130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:39:56] local.INFO: TCP Data received {"connection_id":174130,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:39:56] local.INFO: Processing buffer {"connection_id":174130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:39:56] local.INFO: IMEI packet received {"connection_id":174130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":174130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:39:58] local.INFO: TCP Data received {"connection_id":171426,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff77338012c9430c007c349f0000f000d29..."} 
[2026-09-05 10:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff77338012c9430c007c349f0000f000d29..."} 
[2026-09-05 10:39:58] local.INFO: Processing buffer {"connection_id":171426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff77338012c9430c007c349f0000f000d29..."} 
[2026-09-05 10:39:58] local.INFO: Packet analysis {"connection_id":171426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff7"} 
[2026-09-05 10:39:58] local.INFO: Extracted packet for processing {"connection_id":171426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff7"} 
[2026-09-05 10:39:58] local.INFO: GPS Element Parsed {"raw_longitude":747909312,"raw_latitude":130238960,"longitude_deg":74.7909312,"latitude_deg":13.023896,"altitude":15,"angle":13,"satellites":41,"speed":37,"hex_longitude":"2c9430c0","hex_latitude":"07c349f0","is_valid_coordinates":true} 
[2026-09-05 10:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877727488001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":782482911789056,"note":"Value kept but may cause issues"} 
[2026-09-05 10:39:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7771172229921335296,"note":"Value kept but may cause issues"} 
[2026-09-05 10:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788584883000,"timestamp_ms":1788584883000,"timestamp_seconds":1788584883,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff77338"} 
[2026-09-05 10:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-05 10:39:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:39:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171426,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171426,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877727488001,"66":28104,"129":206,"9":57344,"24":37,"16":782482911789056,"44":-7771172229921335296},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,9,24,16,44]} 
[2026-09-05 10:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877727488001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:39:58] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-05 10:39:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":782482911789056,"km_value":782482911789.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:39:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7771172229921335296,"description":"Unknown IO ID 44"} 
[2026-09-05 10:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877727488001,"power":28104,"unknown_129":206,"unknown_9":57344,"ignition":37,"odometer":null,"unknown_44":-7771172229921335296}} 
[2026-09-05 10:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":171426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768055,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:39:58] local.INFO: GPS data processed {"connection_id":171426,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:39:58] local.INFO: Acknowledgment sent {"connection_id":171426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:40:02] local.INFO: TCP Data received {"connection_id":174130,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:40:02] local.INFO: Processing buffer {"connection_id":174130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:40:02] local.INFO: IMEI packet received {"connection_id":174130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":174130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:40:03] local.INFO: TCP Data received {"connection_id":174130,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff753f8012d510380064e93a8000700532b..."} 
[2026-09-05 10:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff753f8012d510380064e93a8000700532b..."} 
[2026-09-05 10:40:03] local.INFO: Processing buffer {"connection_id":174130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff753f8012d510380064e93a8000700532b..."} 
[2026-09-05 10:40:03] local.INFO: Packet analysis {"connection_id":174130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff7"} 
[2026-09-05 10:40:03] local.INFO: Extracted packet for processing {"connection_id":174130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff7"} 
[2026-09-05 10:40:03] local.INFO: GPS Element Parsed {"raw_longitude":760284032,"raw_latitude":105812904,"longitude_deg":76.0284032,"latitude_deg":10.5812904,"altitude":7,"angle":83,"satellites":43,"speed":14,"hex_longitude":"2d510380","hex_latitude":"064e93a8","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877722880001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399466520129830912,"note":"Value kept but may cause issues"} 
[2026-09-05 10:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5829346794765580288,"note":"Value kept but may cause issues"} 
[2026-09-05 10:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788584875000,"timestamp_ms":1788584875000,"timestamp_seconds":1788584875,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff753f8"} 
[2026-09-05 10:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:40: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-09-05 10:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 10:40: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-09-05 10: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-09-05 10:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10: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-09-05 10:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877722880001,"66":27865,"6":206,"78":62464,"24":14,"16":399466520129830912,"45":5829346794765580288},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,78,24,16,45]} 
[2026-09-05 10:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877722880001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:40:03] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-05 10:40:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399466520129830912,"km_value":399466520129830.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5829346794765580288,"description":"Unknown IO ID 45"} 
[2026-09-05 10:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877722880001,"power":27865,"unknown_6":206,"unknown_78":62464,"ignition":14,"odometer":null,"unknown_45":5829346794765580288}} 
[2026-09-05 10:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":174130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:40:03] local.INFO: GPS data processed {"connection_id":174130,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:40:03] local.INFO: Acknowledgment sent {"connection_id":174130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:40:22] local.INFO: TCP Data received {"connection_id":171425,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff7b1b8012d196900071fedf00040011e25..."} 
[2026-09-05 10:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff7b1b8012d196900071fedf00040011e25..."} 
[2026-09-05 10:40:22] local.INFO: Processing buffer {"connection_id":171425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff7b1b8012d196900071fedf00040011e25..."} 
[2026-09-05 10:40:22] local.INFO: Packet analysis {"connection_id":171425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff7"} 
[2026-09-05 10:40:22] local.INFO: Extracted packet for processing {"connection_id":171425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff7"} 
[2026-09-05 10:40:22] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877728768001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788584899000,"timestamp_ms":1788584899000,"timestamp_seconds":1788584899,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff7b1b8"} 
[2026-09-05 10:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:40:22] 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-09-05 10:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-05 10:40: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-09-05 10:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877728768001,"66":12406,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877728768001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:40:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:40:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877728768001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":171425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:40:22] local.INFO: GPS data processed {"connection_id":171425,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:40:22] local.INFO: Acknowledgment sent {"connection_id":171425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:40:29] local.INFO: TCP Data received {"connection_id":171426,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff8abb8012c948b4007c4d940000a00092c..."} 
[2026-09-05 10:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff8abb8012c948b4007c4d940000a00092c..."} 
[2026-09-05 10:40:29] local.INFO: Processing buffer {"connection_id":171426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff8abb8012c948b4007c4d940000a00092c..."} 
[2026-09-05 10:40:29] local.INFO: Packet analysis {"connection_id":171426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff8"} 
[2026-09-05 10:40:29] local.INFO: Extracted packet for processing {"connection_id":171426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff8"} 
[2026-09-05 10:40:29] local.INFO: GPS Element Parsed {"raw_longitude":747932480,"raw_latitude":130341184,"longitude_deg":74.793248,"latitude_deg":13.0341184,"altitude":10,"angle":9,"satellites":44,"speed":54,"hex_longitude":"2c948b40","hex_latitude":"07c4d940","is_valid_coordinates":true} 
[2026-09-05 10:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877748736001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":787576743002112,"note":"Value kept but may cause issues"} 
[2026-09-05 10:40:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7744643213340434432,"note":"Value kept but may cause issues"} 
[2026-09-05 10:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788584963000,"timestamp_ms":1788584963000,"timestamp_seconds":1788584963,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff8abb8"} 
[2026-09-05 10:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-05 10:40:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:40:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":171426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":171426,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":171426,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877748736001,"66":28256,"175":206,"9":57344,"24":54,"16":787576743002112,"44":-7744643213340434432},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877748736001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:40:29] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:40:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":787576743002112,"km_value":787576743002.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:40:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7744643213340434432,"description":"Unknown IO ID 44"} 
[2026-09-05 10:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877748736001,"power":28256,"unknown_175":206,"unknown_9":57344,"ignition":54,"odometer":null,"unknown_44":-7744643213340434432}} 
[2026-09-05 10:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":171426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768058,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:40:29] local.INFO: GPS data processed {"connection_id":171426,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:40:29] local.INFO: Acknowledgment sent {"connection_id":171426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:40:34] local.INFO: TCP Data received {"connection_id":174130,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff79e30012d512680064e9890000300522a..."} 
[2026-09-05 10:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff79e30012d512680064e9890000300522a..."} 
[2026-09-05 10:40:34] local.INFO: Processing buffer {"connection_id":174130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff79e30012d512680064e9890000300522a..."} 
[2026-09-05 10:40:34] local.INFO: Packet analysis {"connection_id":174130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff7"} 
[2026-09-05 10:40:34] local.INFO: Extracted packet for processing {"connection_id":174130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff7"} 
[2026-09-05 10:40:34] local.INFO: GPS Element Parsed {"raw_longitude":760292992,"raw_latitude":105814160,"longitude_deg":76.0292992,"latitude_deg":10.581416,"altitude":3,"angle":82,"satellites":42,"speed":21,"hex_longitude":"2d512680","hex_latitude":"064e9890","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877728000001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399466949626560512,"note":"Value kept but may cause issues"} 
[2026-09-05 10:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5837650306578753536,"note":"Value kept but may cause issues"} 
[2026-09-05 10:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788584894000,"timestamp_ms":1788584894000,"timestamp_seconds":1788584894,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff79e30"} 
[2026-09-05 10:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 10:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877728000001,"66":27930,"6":206,"78":62464,"24":21,"16":399466949626560512,"45":5837650306578753536},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,78,24,16,45]} 
[2026-09-05 10:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877728000001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:40:34] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-05 10:40:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399466949626560512,"km_value":399466949626560.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5837650306578753536,"description":"Unknown IO ID 45"} 
[2026-09-05 10:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877728000001,"power":27930,"unknown_6":206,"unknown_78":62464,"ignition":21,"odometer":null,"unknown_45":5837650306578753536}} 
[2026-09-05 10:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":174130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:40:34] local.INFO: GPS data processed {"connection_id":174130,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:40:34] local.INFO: Acknowledgment sent {"connection_id":174130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:40:45] local.INFO: TCP Data received {"connection_id":171725,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:40:45] local.INFO: Processing buffer {"connection_id":171725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:40:45] local.INFO: IMEI packet received {"connection_id":171725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":171725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:40:47] local.INFO: TCP Data received {"connection_id":174131,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:40:47] local.INFO: Processing buffer {"connection_id":174131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:40:47] local.INFO: IMEI packet received {"connection_id":174131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":174131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:40:50] local.INFO: TCP Data received {"connection_id":174131,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:40:50] local.INFO: Processing buffer {"connection_id":174131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:40:50] local.INFO: IMEI packet received {"connection_id":174131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":174131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:40:50] local.INFO: TCP Data received {"connection_id":171725,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:40:50] local.INFO: Processing buffer {"connection_id":171725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:40:50] local.INFO: IMEI packet received {"connection_id":171725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":171725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:40:51] local.INFO: TCP Data received {"connection_id":174131,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff8c710012c9491c007c4fd18000900092a..."} 
[2026-09-05 10:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff8c710012c9491c007c4fd18000900092a..."} 
[2026-09-05 10:40:51] local.INFO: Processing buffer {"connection_id":174131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff8c710012c9491c007c4fd18000900092a..."} 
[2026-09-05 10:40:51] local.INFO: Packet analysis {"connection_id":174131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff8"} 
[2026-09-05 10:40:51] local.INFO: Extracted packet for processing {"connection_id":174131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff8"} 
[2026-09-05 10:40:51] local.INFO: GPS Element Parsed {"raw_longitude":747934144,"raw_latitude":130350360,"longitude_deg":74.7934144,"latitude_deg":13.035036,"altitude":9,"angle":9,"satellites":42,"speed":47,"hex_longitude":"2c9491c0","hex_latitude":"07c4fd18","is_valid_coordinates":true} 
[2026-09-05 10:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877750528001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788027714568192,"note":"Value kept but may cause issues"} 
[2026-09-05 10:40:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7743024732221915136,"note":"Value kept but may cause issues"} 
[2026-09-05 10:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788584970000,"timestamp_ms":1788584970000,"timestamp_seconds":1788584970,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff8c710"} 
[2026-09-05 10:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 10:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174131,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174131,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877750528001,"66":28256,"175":206,"9":57344,"24":47,"16":788027714568192,"44":-7743024732221915136},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877750528001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:40:51] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:40:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788027714568192,"km_value":788027714568.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:40:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7743024732221915136,"description":"Unknown IO ID 44"} 
[2026-09-05 10:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877750528001,"power":28256,"unknown_175":206,"unknown_9":57344,"ignition":47,"odometer":null,"unknown_44":-7743024732221915136}} 
[2026-09-05 10:40:51] local.INFO: TCP Data received {"connection_id":171725,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff7ffd8012d196900071fedf00040011e26..."} 
[2026-09-05 10:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff7ffd8012d196900071fedf00040011e26..."} 
[2026-09-05 10:40:51] local.INFO: Processing buffer {"connection_id":171725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff7ffd8012d196900071fedf00040011e26..."} 
[2026-09-05 10:40:51] local.INFO: Packet analysis {"connection_id":171725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff7"} 
[2026-09-05 10:40:51] local.INFO: Extracted packet for processing {"connection_id":171725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff7"} 
[2026-09-05 10:40:51] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877734144001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788584919000,"timestamp_ms":1788584919000,"timestamp_seconds":1788584919,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff7ffd8"} 
[2026-09-05 10:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:40:51] 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-09-05 10:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 10:40:51] 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-09-05 10:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877734144001,"66":12385,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877734144001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:40:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:40:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877734144001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":174131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768060,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:40:51] local.INFO: GPS data processed {"connection_id":174131,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:40:51] local.INFO: Acknowledgment sent {"connection_id":174131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":171725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:40:51] local.INFO: GPS data processed {"connection_id":171725,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:40:51] local.INFO: Acknowledgment sent {"connection_id":171725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:40:56] local.INFO: TCP Data received {"connection_id":174132,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:40:56] local.INFO: Processing buffer {"connection_id":174132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:40:56] local.INFO: IMEI packet received {"connection_id":174132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":174132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:40:59] local.INFO: TCP Data received {"connection_id":174132,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:40:59] local.INFO: Processing buffer {"connection_id":174132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:40:59] local.INFO: IMEI packet received {"connection_id":174132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":174132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:41:02] local.INFO: TCP Data received {"connection_id":174132,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:41:02] local.INFO: Processing buffer {"connection_id":174132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:41:02] local.INFO: IMEI packet received {"connection_id":174132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":174132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:41:03] local.INFO: TCP Data received {"connection_id":174132,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff7f038012d514940064e9d600003005329..."} 
[2026-09-05 10:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff7f038012d514940064e9d600003005329..."} 
[2026-09-05 10:41:03] local.INFO: Processing buffer {"connection_id":174132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff7f038012d514940064e9d600003005329..."} 
[2026-09-05 10:41:03] local.INFO: Packet analysis {"connection_id":174132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff7"} 
[2026-09-05 10:41:03] local.INFO: Extracted packet for processing {"connection_id":174132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff7"} 
[2026-09-05 10:41:03] local.INFO: GPS Element Parsed {"raw_longitude":760301888,"raw_latitude":105815392,"longitude_deg":76.0301888,"latitude_deg":10.5815392,"altitude":3,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d514940","hex_latitude":"064e9d60","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877732864001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399467379123290112,"note":"Value kept but may cause issues"} 
[2026-09-05 10:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5847501930763948032,"note":"Value kept but may cause issues"} 
[2026-09-05 10:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788584915000,"timestamp_ms":1788584915000,"timestamp_seconds":1788584915,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff7f038"} 
[2026-09-05 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-09-05 10:41: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-09-05 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 10:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 10:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:41: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-09-05 10:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877732864001,"66":27658,"172":206,"78":62464,"24":0,"16":399467379123290112,"45":5847501930763948032},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,78,24,16,45]} 
[2026-09-05 10:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877732864001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:41:03] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-05 10:41:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399467379123290112,"km_value":399467379123290.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5847501930763948032,"description":"Unknown IO ID 45"} 
[2026-09-05 10:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877732864001,"power":27658,"unknown_172":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5847501930763948032}} 
[2026-09-05 10:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":174132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:41:03] local.INFO: GPS data processed {"connection_id":174132,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:41:03] local.INFO: Acknowledgment sent {"connection_id":174132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:41:22] local.INFO: TCP Data received {"connection_id":171725,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff851e0012d196900071fedf00040011e25..."} 
[2026-09-05 10:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff851e0012d196900071fedf00040011e25..."} 
[2026-09-05 10:41:22] local.INFO: Processing buffer {"connection_id":171725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff851e0012d196900071fedf00040011e25..."} 
[2026-09-05 10:41:22] local.INFO: Packet analysis {"connection_id":171725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff8"} 
[2026-09-05 10:41:22] local.INFO: Extracted packet for processing {"connection_id":171725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff8"} 
[2026-09-05 10:41:22] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877739264001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788584940000,"timestamp_ms":1788584940000,"timestamp_seconds":1788584940,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff851e0"} 
[2026-09-05 10:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 10:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877739264001,"66":12406,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877739264001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:41:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:41:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877739264001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:41:22] local.INFO: TCP Data received {"connection_id":174131,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff91918012c94958007c516b8000700102c..."} 
[2026-09-05 10:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff91918012c94958007c516b8000700102c..."} 
[2026-09-05 10:41:22] local.INFO: Processing buffer {"connection_id":174131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff91918012c94958007c516b8000700102c..."} 
[2026-09-05 10:41:22] local.INFO: Packet analysis {"connection_id":174131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:41:22] local.INFO: Extracted packet for processing {"connection_id":174131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:41:22] local.INFO: GPS Element Parsed {"raw_longitude":747935104,"raw_latitude":130356920,"longitude_deg":74.7935104,"latitude_deg":13.035692,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949580","hex_latitude":"07c516b8","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877752320001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:41:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7741195144870946816,"note":"Value kept but may cause issues"} 
[2026-09-05 10:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788584991000,"timestamp_ms":1788584991000,"timestamp_seconds":1788584991,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff91918"} 
[2026-09-05 10:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 10:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174131,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174131,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877752320001,"66":27843,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7741195144870946816},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877752320001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:41:22] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:41:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:41:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7741195144870946816,"description":"Unknown IO ID 44"} 
[2026-09-05 10:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877752320001,"power":27843,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7741195144870946816}} 
[2026-09-05 10:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":171725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:41:22] local.INFO: GPS data processed {"connection_id":171725,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:41:22] local.INFO: Acknowledgment sent {"connection_id":171725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":174131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768064,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:41:22] local.INFO: GPS data processed {"connection_id":174131,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:41:22] local.INFO: Acknowledgment sent {"connection_id":174131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:41:34] local.INFO: TCP Data received {"connection_id":174132,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff7f038012d514940064e9d600003005329..."} 
[2026-09-05 10:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff7f038012d514940064e9d600003005329..."} 
[2026-09-05 10:41:34] local.INFO: Processing buffer {"connection_id":174132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff7f038012d514940064e9d600003005329..."} 
[2026-09-05 10:41:34] local.INFO: Packet analysis {"connection_id":174132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff7"} 
[2026-09-05 10:41:34] local.INFO: Extracted packet for processing {"connection_id":174132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff7"} 
[2026-09-05 10:41:34] local.INFO: GPS Element Parsed {"raw_longitude":760301888,"raw_latitude":105815392,"longitude_deg":76.0301888,"latitude_deg":10.5815392,"altitude":3,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d514940","hex_latitude":"064e9d60","is_valid_coordinates":true} 
[2026-09-05 10:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877738240001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399467379123290112,"note":"Value kept but may cause issues"} 
[2026-09-05 10:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5857283186204958720,"note":"Value kept but may cause issues"} 
[2026-09-05 10:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788584915000,"timestamp_ms":1788584915000,"timestamp_seconds":1788584915,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff7f038"} 
[2026-09-05 10:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-05 10:41:34] 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-09-05 10:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877738240001,"66":27658,"172":206,"78":62464,"24":0,"16":399467379123290112,"45":5857283186204958720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,78,24,16,45]} 
[2026-09-05 10:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877738240001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:41:34] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-05 10:41:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399467379123290112,"km_value":399467379123290.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5857283186204958720,"description":"Unknown IO ID 45"} 
[2026-09-05 10:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877738240001,"power":27658,"unknown_172":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5857283186204958720}} 
[2026-09-05 10:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":174132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:41:34] local.INFO: GPS data processed {"connection_id":174132,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:41:34] local.INFO: Acknowledgment sent {"connection_id":174132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:41:45] local.INFO: TCP Data received {"connection_id":174133,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:41:45] local.INFO: Processing buffer {"connection_id":174133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:41:45] local.INFO: IMEI packet received {"connection_id":174133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":174133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:41:48] local.INFO: TCP Data received {"connection_id":171427,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:41:48] local.INFO: Processing buffer {"connection_id":171427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:41:48] local.INFO: IMEI packet received {"connection_id":171427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":171427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:41:50] local.INFO: TCP Data received {"connection_id":174133,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:41:50] local.INFO: Processing buffer {"connection_id":174133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:41:50] local.INFO: IMEI packet received {"connection_id":174133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":174133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:41:51] local.INFO: TCP Data received {"connection_id":174133,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff8a3e8012d196900071fedf00040011e26..."} 
[2026-09-05 10:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff8a3e8012d196900071fedf00040011e26..."} 
[2026-09-05 10:41:51] local.INFO: Processing buffer {"connection_id":174133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff8a3e8012d196900071fedf00040011e26..."} 
[2026-09-05 10:41:51] local.INFO: Packet analysis {"connection_id":174133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff8"} 
[2026-09-05 10:41:51] local.INFO: Extracted packet for processing {"connection_id":174133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff8"} 
[2026-09-05 10:41:51] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877744640001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788584961000,"timestamp_ms":1788584961000,"timestamp_seconds":1788584961,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff8a3e8"} 
[2026-09-05 10:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 10:41:51] 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-09-05 10:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877744640001,"66":12439,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877744640001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:41:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:41:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877744640001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":174133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:41:51] local.INFO: GPS data processed {"connection_id":174133,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:41:51] local.INFO: Acknowledgment sent {"connection_id":174133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:41:53] local.INFO: TCP Data received {"connection_id":171427,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:41:53] local.INFO: Processing buffer {"connection_id":171427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:41:53] local.INFO: IMEI packet received {"connection_id":171427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":171427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:41:54] local.INFO: TCP Data received {"connection_id":171427,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff96b20012c94958007c516b8000700102c..."} 
[2026-09-05 10:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff96b20012c94958007c516b8000700102c..."} 
[2026-09-05 10:41:54] local.INFO: Processing buffer {"connection_id":171427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff96b20012c94958007c516b8000700102c..."} 
[2026-09-05 10:41:54] local.INFO: Packet analysis {"connection_id":171427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:41:54] local.INFO: Extracted packet for processing {"connection_id":171427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:41:54] local.INFO: GPS Element Parsed {"raw_longitude":747935104,"raw_latitude":130356920,"longitude_deg":74.7935104,"latitude_deg":13.035692,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949580","hex_latitude":"07c516b8","is_valid_coordinates":true} 
[2026-09-05 10:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877757696001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:41:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740139613706602496,"note":"Value kept but may cause issues"} 
[2026-09-05 10:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788585012000,"timestamp_ms":1788585012000,"timestamp_seconds":1788585012,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff96b20"} 
[2026-09-05 10:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 10:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877757696001,"66":27908,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740139613706602496},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877757696001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:41:54] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:41:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:41:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740139613706602496,"description":"Unknown IO ID 44"} 
[2026-09-05 10:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877757696001,"power":27908,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740139613706602496}} 
[2026-09-05 10:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":171427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768067,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:41:54] local.INFO: GPS data processed {"connection_id":171427,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:41:54] local.INFO: Acknowledgment sent {"connection_id":171427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:42:02] local.INFO: TCP Data received {"connection_id":172829,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:42:02] local.INFO: Processing buffer {"connection_id":172829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:42:02] local.INFO: IMEI packet received {"connection_id":172829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":172829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:42:02] local.INFO: TCP Data received {"connection_id":172829,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:42:02] local.INFO: Processing buffer {"connection_id":172829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:42:02] local.INFO: IMEI packet received {"connection_id":172829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":172829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:42:06] local.INFO: TCP Data received {"connection_id":172829,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:42:06] local.INFO: Processing buffer {"connection_id":172829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:42:06] local.INFO: IMEI packet received {"connection_id":172829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":172829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:42:07] local.INFO: TCP Data received {"connection_id":172829,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff84240012d5149c0064e9d500003005329..."} 
[2026-09-05 10:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff84240012d5149c0064e9d500003005329..."} 
[2026-09-05 10:42:07] local.INFO: Processing buffer {"connection_id":172829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff84240012d5149c0064e9d500003005329..."} 
[2026-09-05 10:42:07] local.INFO: Packet analysis {"connection_id":172829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff8"} 
[2026-09-05 10:42:07] local.INFO: Extracted packet for processing {"connection_id":172829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff8"} 
[2026-09-05 10:42:07] local.INFO: GPS Element Parsed {"raw_longitude":760302016,"raw_latitude":105815376,"longitude_deg":76.0302016,"latitude_deg":10.5815376,"altitude":3,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d5149c0","hex_latitude":"064e9d50","is_valid_coordinates":true} 
[2026-09-05 10:42: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-09-05 10:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877738240001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399467387713224704,"note":"Value kept but may cause issues"} 
[2026-09-05 10:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5857283186204958720,"note":"Value kept but may cause issues"} 
[2026-09-05 10:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788584936000,"timestamp_ms":1788584936000,"timestamp_seconds":1788584936,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff84240"} 
[2026-09-05 10:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:42: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-09-05 10:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-05 10:42:07] 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-09-05 10:42: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-09-05 10:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:42:07] 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-09-05 10:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877738240001,"66":27647,"172":206,"78":62464,"24":0,"16":399467387713224704,"45":5857283186204958720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,78,24,16,45]} 
[2026-09-05 10:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877738240001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:42:07] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-05 10:42:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399467387713224704,"km_value":399467387713224.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5857283186204958720,"description":"Unknown IO ID 45"} 
[2026-09-05 10:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877738240001,"power":27647,"unknown_172":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5857283186204958720}} 
[2026-09-05 10:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":172829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:42:07] local.INFO: GPS data processed {"connection_id":172829,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:42:07] local.INFO: Acknowledgment sent {"connection_id":172829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:42:12] local.INFO: TCP Data received {"connection_id":172829,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff89830012d5149c0064e9d500003005329..."} 
[2026-09-05 10:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff89830012d5149c0064e9d500003005329..."} 
[2026-09-05 10:42:12] local.INFO: Processing buffer {"connection_id":172829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff89830012d5149c0064e9d500003005329..."} 
[2026-09-05 10:42:12] local.INFO: Packet analysis {"connection_id":172829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff8"} 
[2026-09-05 10:42:12] local.INFO: Extracted packet for processing {"connection_id":172829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff8"} 
[2026-09-05 10:42:12] local.INFO: GPS Element Parsed {"raw_longitude":760302016,"raw_latitude":105815376,"longitude_deg":76.0302016,"latitude_deg":10.5815376,"altitude":3,"angle":83,"satellites":41,"speed":0,"hex_longitude":"2d5149c0","hex_latitude":"064e9d50","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877743616001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399467387713224704,"note":"Value kept but may cause issues"} 
[2026-09-05 10:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5857423923693309952,"note":"Value kept but may cause issues"} 
[2026-09-05 10:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788584958000,"timestamp_ms":1788584958000,"timestamp_seconds":1788584958,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff89830"} 
[2026-09-05 10:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:42:12] 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-09-05 10: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":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 10:42:12] 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-09-05 10: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-09-05 10:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":172829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":172829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":172829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:42:12] 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-09-05 10:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877743616001,"66":27843,"172":206,"78":62464,"24":0,"16":399467387713224704,"45":5857423923693309952},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,78,24,16,45]} 
[2026-09-05 10:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877743616001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:42:12] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-05 10:42:12] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399467387713224704,"km_value":399467387713224.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5857423923693309952,"description":"Unknown IO ID 45"} 
[2026-09-05 10:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877743616001,"power":27843,"unknown_172":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5857423923693309952}} 
[2026-09-05 10:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":172829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:42:12] local.INFO: GPS data processed {"connection_id":172829,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:42:12] local.INFO: Acknowledgment sent {"connection_id":172829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:42:22] local.INFO: TCP Data received {"connection_id":174133,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff8f208012d196900071fedf00040011e27..."} 
[2026-09-05 10:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff8f208012d196900071fedf00040011e27..."} 
[2026-09-05 10:42:22] local.INFO: Processing buffer {"connection_id":174133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff8f208012d196900071fedf00040011e27..."} 
[2026-09-05 10:42:22] local.INFO: Packet analysis {"connection_id":174133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff8"} 
[2026-09-05 10:42:22] local.INFO: Extracted packet for processing {"connection_id":174133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff8"} 
[2026-09-05 10:42:22] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877750016001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788584981000,"timestamp_ms":1788584981000,"timestamp_seconds":1788584981,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff8f208"} 
[2026-09-05 10:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:42:22] 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-09-05 10:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 10:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877750016001,"66":12461,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877750016001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:42:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:42:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877750016001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":174133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:42:22] local.INFO: GPS data processed {"connection_id":174133,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:42:22] local.INFO: Acknowledgment sent {"connection_id":174133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:42:26] local.INFO: TCP Data received {"connection_id":171427,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff9bd28012c94958007c516b8000700102c..."} 
[2026-09-05 10:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff9bd28012c94958007c516b8000700102c..."} 
[2026-09-05 10:42:26] local.INFO: Processing buffer {"connection_id":171427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff9bd28012c94958007c516b8000700102c..."} 
[2026-09-05 10:42:26] local.INFO: Packet analysis {"connection_id":171427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:42:26] local.INFO: Extracted packet for processing {"connection_id":171427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:42:26] local.INFO: GPS Element Parsed {"raw_longitude":747935104,"raw_latitude":130356920,"longitude_deg":74.7935104,"latitude_deg":13.035692,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949580","hex_latitude":"07c516b8","is_valid_coordinates":true} 
[2026-09-05 10:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877763072001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:42:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740139613706602496,"note":"Value kept but may cause issues"} 
[2026-09-05 10:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788585033000,"timestamp_ms":1788585033000,"timestamp_seconds":1788585033,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff9bd28"} 
[2026-09-05 10:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 10:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877763072001,"66":28202,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740139613706602496},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877763072001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:42:26] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:42:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:42:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740139613706602496,"description":"Unknown IO ID 44"} 
[2026-09-05 10:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877763072001,"power":28202,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740139613706602496}} 
[2026-09-05 10:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":171427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768071,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:42:26] local.INFO: GPS data processed {"connection_id":171427,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:42:26] local.INFO: Acknowledgment sent {"connection_id":171427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:42:47] local.INFO: TCP Data received {"connection_id":172831,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172831,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:42:47] local.INFO: Processing buffer {"connection_id":172831,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:42:47] local.INFO: IMEI packet received {"connection_id":172831,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":172831,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:42:50] local.INFO: TCP Data received {"connection_id":172830,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:42:50] local.INFO: Processing buffer {"connection_id":172830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:42:50] local.INFO: IMEI packet received {"connection_id":172830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":172830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:42:53] local.INFO: TCP Data received {"connection_id":172831,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172831,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:42:53] local.INFO: Processing buffer {"connection_id":172831,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:42:53] local.INFO: IMEI packet received {"connection_id":172831,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":172831,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:42:54] local.INFO: TCP Data received {"connection_id":172831,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff9e050012c94958007c516b8000700102c..."} 
[2026-09-05 10:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff9e050012c94958007c516b8000700102c..."} 
[2026-09-05 10:42:54] local.INFO: Processing buffer {"connection_id":172831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff9e050012c94958007c516b8000700102c..."} 
[2026-09-05 10:42:54] local.INFO: Packet analysis {"connection_id":172831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:42:54] local.INFO: Extracted packet for processing {"connection_id":172831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:42:54] local.INFO: GPS Element Parsed {"raw_longitude":747935104,"raw_latitude":130356920,"longitude_deg":74.7935104,"latitude_deg":13.035692,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949580","hex_latitude":"07c516b8","is_valid_coordinates":true} 
[2026-09-05 10:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877768448001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:42:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740139613706602496,"note":"Value kept but may cause issues"} 
[2026-09-05 10:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788585042000,"timestamp_ms":1788585042000,"timestamp_seconds":1788585042,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff9e050"} 
[2026-09-05 10:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-05 10:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172831,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172831,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877768448001,"66":28104,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740139613706602496},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877768448001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:42:54] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:42:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:42:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740139613706602496,"description":"Unknown IO ID 44"} 
[2026-09-05 10:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877768448001,"power":28104,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740139613706602496}} 
[2026-09-05 10:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":172831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768072,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:42:54] local.INFO: GPS data processed {"connection_id":172831,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:42:54] local.INFO: Acknowledgment sent {"connection_id":172831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:42:55] local.INFO: TCP Data received {"connection_id":172830,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:42:55] local.INFO: Processing buffer {"connection_id":172830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:42:55] local.INFO: IMEI packet received {"connection_id":172830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":172830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:42:56] local.INFO: TCP Data received {"connection_id":172830,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff94410012d196900071fedf00040011e27..."} 
[2026-09-05 10:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff94410012d196900071fedf00040011e27..."} 
[2026-09-05 10:42:56] local.INFO: Processing buffer {"connection_id":172830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff94410012d196900071fedf00040011e27..."} 
[2026-09-05 10:42:56] local.INFO: Packet analysis {"connection_id":172830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:42:56] local.INFO: Extracted packet for processing {"connection_id":172830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:42:56] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877755136001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788585002000,"timestamp_ms":1788585002000,"timestamp_seconds":1788585002,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff94410"} 
[2026-09-05 10:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:42:56] 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-09-05 10:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 10:42:56] 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-09-05 10:42:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877755136001,"66":12439,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877755136001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:42:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:42:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877755136001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":172830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:42:56] local.INFO: GPS data processed {"connection_id":172830,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:42:56] local.INFO: Acknowledgment sent {"connection_id":172830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:42:57] local.INFO: TCP Data received {"connection_id":174134,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:42:57] local.INFO: Processing buffer {"connection_id":174134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:42:57] local.INFO: IMEI packet received {"connection_id":174134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":174134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:43:01] local.INFO: TCP Data received {"connection_id":172830,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff99230012d196900071fedf00040011e25..."} 
[2026-09-05 10:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff99230012d196900071fedf00040011e25..."} 
[2026-09-05 10:43:01] local.INFO: Processing buffer {"connection_id":172830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff99230012d196900071fedf00040011e25..."} 
[2026-09-05 10:43:01] local.INFO: Packet analysis {"connection_id":172830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:43:01] local.INFO: Extracted packet for processing {"connection_id":172830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:43:01] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877760512001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788585022000,"timestamp_ms":1788585022000,"timestamp_seconds":1788585022,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff99230"} 
[2026-09-05 10:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:43:01] 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-09-05 10:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 10:43:01] 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-09-05 10:43:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877760512001,"66":12385,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877760512001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:43:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:43:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877760512001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":172830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:43:01] local.INFO: GPS data processed {"connection_id":172830,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:43:01] local.INFO: Acknowledgment sent {"connection_id":172830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:43:02] local.INFO: TCP Data received {"connection_id":174134,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:43:02] local.INFO: Processing buffer {"connection_id":174134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:43:02] local.INFO: IMEI packet received {"connection_id":174134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":174134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:43:02] local.INFO: TCP Data received {"connection_id":174134,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff8ea38012d5149c0064e9d500003005327..."} 
[2026-09-05 10:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff8ea38012d5149c0064e9d500003005327..."} 
[2026-09-05 10:43:02] local.INFO: Processing buffer {"connection_id":174134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff8ea38012d5149c0064e9d500003005327..."} 
[2026-09-05 10:43:02] local.INFO: Packet analysis {"connection_id":174134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff8"} 
[2026-09-05 10:43:02] local.INFO: Extracted packet for processing {"connection_id":174134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff8"} 
[2026-09-05 10:43:02] local.INFO: GPS Element Parsed {"raw_longitude":760302016,"raw_latitude":105815376,"longitude_deg":76.0302016,"latitude_deg":10.5815376,"altitude":3,"angle":83,"satellites":39,"speed":0,"hex_longitude":"2d5149c0","hex_latitude":"064e9d50","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877749248001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399467387713224704,"note":"Value kept but may cause issues"} 
[2026-09-05 10:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5857423923693309952,"note":"Value kept but may cause issues"} 
[2026-09-05 10:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788584979000,"timestamp_ms":1788584979000,"timestamp_seconds":1788584979,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff8ea38"} 
[2026-09-05 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-09-05 10:43: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-09-05 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 10:43: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-09-05 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-09-05 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-09-05 10:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877749248001,"66":27821,"172":206,"78":62464,"24":0,"16":399467387713224704,"45":5857423923693309952},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,78,24,16,45]} 
[2026-09-05 10:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877749248001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:43:02] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-05 10:43:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399467387713224704,"km_value":399467387713224.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5857423923693309952,"description":"Unknown IO ID 45"} 
[2026-09-05 10:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877749248001,"power":27821,"unknown_172":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5857423923693309952}} 
[2026-09-05 10:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":174134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:43:02] local.INFO: GPS data processed {"connection_id":174134,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:43:02] local.INFO: Acknowledgment sent {"connection_id":174134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:43:26] local.INFO: TCP Data received {"connection_id":172831,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff9e050012c94958007c516b8000700102c..."} 
[2026-09-05 10:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff9e050012c94958007c516b8000700102c..."} 
[2026-09-05 10:43:26] local.INFO: Processing buffer {"connection_id":172831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff9e050012c94958007c516b8000700102c..."} 
[2026-09-05 10:43:26] local.INFO: Packet analysis {"connection_id":172831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:43:26] local.INFO: Extracted packet for processing {"connection_id":172831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:43:26] local.INFO: GPS Element Parsed {"raw_longitude":747935104,"raw_latitude":130356920,"longitude_deg":74.7935104,"latitude_deg":13.035692,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949580","hex_latitude":"07c516b8","is_valid_coordinates":true} 
[2026-09-05 10:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877768448001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:43:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740139613706602496,"note":"Value kept but may cause issues"} 
[2026-09-05 10:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788585042000,"timestamp_ms":1788585042000,"timestamp_seconds":1788585042,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff9e050"} 
[2026-09-05 10:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-05 10:43:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172831,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172831,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877768448001,"66":28104,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740139613706602496},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877768448001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:43:26] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:43:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:43:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740139613706602496,"description":"Unknown IO ID 44"} 
[2026-09-05 10:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877768448001,"power":28104,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740139613706602496}} 
[2026-09-05 10:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":172831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768076,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:43:26] local.INFO: GPS data processed {"connection_id":172831,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:43:26] local.INFO: Acknowledgment sent {"connection_id":172831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:43:33] local.INFO: TCP Data received {"connection_id":174134,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff93858012d515900064e9f60000700502b..."} 
[2026-09-05 10:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff93858012d515900064e9f60000700502b..."} 
[2026-09-05 10:43:33] local.INFO: Processing buffer {"connection_id":174134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff93858012d515900064e9f60000700502b..."} 
[2026-09-05 10:43:33] local.INFO: Packet analysis {"connection_id":174134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:43:33] local.INFO: Extracted packet for processing {"connection_id":174134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:43:33] local.INFO: GPS Element Parsed {"raw_longitude":760305920,"raw_latitude":105815904,"longitude_deg":76.030592,"latitude_deg":10.5815904,"altitude":7,"angle":80,"satellites":43,"speed":11,"hex_longitude":"2d515900","hex_latitude":"064e9f60","is_valid_coordinates":true} 
[2026-09-05 10:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877754624001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399467576691785728,"note":"Value kept but may cause issues"} 
[2026-09-05 10:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5857423923693309952,"note":"Value kept but may cause issues"} 
[2026-09-05 10:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788584999000,"timestamp_ms":1788584999000,"timestamp_seconds":1788584999,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff93858"} 
[2026-09-05 10:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:43: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-09-05 10:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 10:43: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-09-05 10:43:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:43: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-09-05 10:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877754624001,"66":27930,"172":206,"78":62464,"24":11,"16":399467576691785728,"45":5857423923693309952},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,78,24,16,45]} 
[2026-09-05 10:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877754624001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:43:33] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-05 10:43:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399467576691785728,"km_value":399467576691785.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5857423923693309952,"description":"Unknown IO ID 45"} 
[2026-09-05 10:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877754624001,"power":27930,"unknown_172":206,"unknown_78":62464,"ignition":11,"odometer":null,"unknown_45":5857423923693309952}} 
[2026-09-05 10:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":174134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:43:33] local.INFO: GPS data processed {"connection_id":174134,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:43:33] local.INFO: Acknowledgment sent {"connection_id":174134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:43:45] local.INFO: TCP Data received {"connection_id":172832,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:43:45] local.INFO: Processing buffer {"connection_id":172832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:43:45] local.INFO: IMEI packet received {"connection_id":172832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":172832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:43:45] local.INFO: TCP Data received {"connection_id":172832,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:43:45] local.INFO: Processing buffer {"connection_id":172832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:43:45] local.INFO: IMEI packet received {"connection_id":172832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":172832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:43:50] local.INFO: TCP Data received {"connection_id":172832,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:43:50] local.INFO: Processing buffer {"connection_id":172832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:43:50] local.INFO: IMEI packet received {"connection_id":172832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":172832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:43:51] local.INFO: TCP Data received {"connection_id":172832,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff9e438012d196900071fedf00040011e28..."} 
[2026-09-05 10:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff9e438012d196900071fedf00040011e28..."} 
[2026-09-05 10:43:51] local.INFO: Processing buffer {"connection_id":172832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff9e438012d196900071fedf00040011e28..."} 
[2026-09-05 10:43:51] local.INFO: Packet analysis {"connection_id":172832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:43:51] local.INFO: Extracted packet for processing {"connection_id":172832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:43:51] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877765632001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788585043000,"timestamp_ms":1788585043000,"timestamp_seconds":1788585043,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff9e438"} 
[2026-09-05 10:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 10:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877765632001,"66":12428,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877765632001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:43:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:43:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877765632001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":172832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:43:51] local.INFO: GPS data processed {"connection_id":172832,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:43:51] local.INFO: Acknowledgment sent {"connection_id":172832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:43:54] local.INFO: TCP Data received {"connection_id":172833,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:43:54] local.INFO: Processing buffer {"connection_id":172833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:43:54] local.INFO: IMEI packet received {"connection_id":172833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":172833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:43:57] local.INFO: TCP Data received {"connection_id":171428,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:43:57] local.INFO: Processing buffer {"connection_id":171428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:43:57] local.INFO: IMEI packet received {"connection_id":171428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":171428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:43:58] local.INFO: TCP Data received {"connection_id":172833,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:43:58] local.INFO: Processing buffer {"connection_id":172833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:43:58] local.INFO: IMEI packet received {"connection_id":172833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":172833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:44:00] local.INFO: TCP Data received {"connection_id":172833,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff9e050012c94958007c516b8000700102c..."} 
[2026-09-05 10:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff9e050012c94958007c516b8000700102c..."} 
[2026-09-05 10:44:00] local.INFO: Processing buffer {"connection_id":172833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff9e050012c94958007c516b8000700102c..."} 
[2026-09-05 10:44:00] local.INFO: Packet analysis {"connection_id":172833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:44:00] local.INFO: Extracted packet for processing {"connection_id":172833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:44:00] local.INFO: GPS Element Parsed {"raw_longitude":747935104,"raw_latitude":130356920,"longitude_deg":74.7935104,"latitude_deg":13.035692,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949580","hex_latitude":"07c516b8","is_valid_coordinates":true} 
[2026-09-05 10:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877768448001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:44:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740139613706602496,"note":"Value kept but may cause issues"} 
[2026-09-05 10:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788585042000,"timestamp_ms":1788585042000,"timestamp_seconds":1788585042,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff9e050"} 
[2026-09-05 10:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-05 10:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877768448001,"66":28104,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740139613706602496},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877768448001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:44:00] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:44:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:44:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740139613706602496,"description":"Unknown IO ID 44"} 
[2026-09-05 10:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877768448001,"power":28104,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740139613706602496}} 
[2026-09-05 10:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":172833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768079,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:44:00] local.INFO: GPS data processed {"connection_id":172833,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:44:00] local.INFO: Acknowledgment sent {"connection_id":172833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:44:00] local.INFO: TCP Data received {"connection_id":171428,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:44:00] local.INFO: Processing buffer {"connection_id":171428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:44:00] local.INFO: IMEI packet received {"connection_id":171428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":171428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:44:01] local.INFO: TCP Data received {"connection_id":171428,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff98a60012d516700064ea1d8000600552c..."} 
[2026-09-05 10:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff98a60012d516700064ea1d8000600552c..."} 
[2026-09-05 10:44:01] local.INFO: Processing buffer {"connection_id":171428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff98a60012d516700064ea1d8000600552c..."} 
[2026-09-05 10:44:01] local.INFO: Packet analysis {"connection_id":171428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:44:01] local.INFO: Extracted packet for processing {"connection_id":171428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:44:01] local.INFO: GPS Element Parsed {"raw_longitude":760309504,"raw_latitude":105816536,"longitude_deg":76.0309504,"latitude_deg":10.5816536,"altitude":6,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d516700","hex_latitude":"064ea1d8","is_valid_coordinates":true} 
[2026-09-05 10:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877759744001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399467748490477568,"note":"Value kept but may cause issues"} 
[2026-09-05 10:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5861716417088282624,"note":"Value kept but may cause issues"} 
[2026-09-05 10:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788585020000,"timestamp_ms":1788585020000,"timestamp_seconds":1788585020,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff98a60"} 
[2026-09-05 10:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 10:44: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-09-05 10:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877759744001,"66":27930,"172":206,"78":62464,"24":0,"16":399467748490477568,"45":5861716417088282624},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,78,24,16,45]} 
[2026-09-05 10:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877759744001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:44:01] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-05 10:44:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399467748490477568,"km_value":399467748490477.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5861716417088282624,"description":"Unknown IO ID 45"} 
[2026-09-05 10:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877759744001,"power":27930,"unknown_172":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5861716417088282624}} 
[2026-09-05 10:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":171428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:44:01] local.INFO: GPS data processed {"connection_id":171428,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:44:01] local.INFO: Acknowledgment sent {"connection_id":171428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:44:03] local.INFO: TCP Data received {"connection_id":172833,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff9e050012c94958007c516b8000700102c..."} 
[2026-09-05 10:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff9e050012c94958007c516b8000700102c..."} 
[2026-09-05 10:44:03] local.INFO: Processing buffer {"connection_id":172833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff9e050012c94958007c516b8000700102c..."} 
[2026-09-05 10:44:03] local.INFO: Packet analysis {"connection_id":172833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:44:03] local.INFO: Extracted packet for processing {"connection_id":172833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:44:03] local.INFO: GPS Element Parsed {"raw_longitude":747935104,"raw_latitude":130356920,"longitude_deg":74.7935104,"latitude_deg":13.035692,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949580","hex_latitude":"07c516b8","is_valid_coordinates":true} 
[2026-09-05 10:44: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-09-05 10:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877768448001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:44:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740139613706602496,"note":"Value kept but may cause issues"} 
[2026-09-05 10:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788585042000,"timestamp_ms":1788585042000,"timestamp_seconds":1788585042,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff9e050"} 
[2026-09-05 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-09-05 10:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-05 10:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 10:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877768448001,"66":28104,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740139613706602496},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877768448001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:44:03] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:44:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:44:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740139613706602496,"description":"Unknown IO ID 44"} 
[2026-09-05 10:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877768448001,"power":28104,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740139613706602496}} 
[2026-09-05 10:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":172833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768081,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:44:03] local.INFO: GPS data processed {"connection_id":172833,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:44:03] local.INFO: Acknowledgment sent {"connection_id":172833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:44:22] local.INFO: TCP Data received {"connection_id":172832,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ffa3258012d196900071fedf00040011e28..."} 
[2026-09-05 10:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ffa3258012d196900071fedf00040011e28..."} 
[2026-09-05 10:44:22] local.INFO: Processing buffer {"connection_id":172832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ffa3258012d196900071fedf00040011e28..."} 
[2026-09-05 10:44:22] local.INFO: Packet analysis {"connection_id":172832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ffa"} 
[2026-09-05 10:44:22] local.INFO: Extracted packet for processing {"connection_id":172832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ffa"} 
[2026-09-05 10:44:22] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877771008001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788585063000,"timestamp_ms":1788585063000,"timestamp_seconds":1788585063,"priority":1,"record_length":96,"hex_timestamp":"000001a06ffa3258"} 
[2026-09-05 10:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 10:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877771008001,"66":12385,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877771008001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:44:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:44:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877771008001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":172832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:44:22] local.INFO: GPS data processed {"connection_id":172832,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:44:22] local.INFO: Acknowledgment sent {"connection_id":172832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:44:32] local.INFO: TCP Data received {"connection_id":171428,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff9dc68012d516700064ea1d8000600552b..."} 
[2026-09-05 10:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff9dc68012d516700064ea1d8000600552b..."} 
[2026-09-05 10:44:32] local.INFO: Processing buffer {"connection_id":171428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff9dc68012d516700064ea1d8000600552b..."} 
[2026-09-05 10:44:32] local.INFO: Packet analysis {"connection_id":171428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:44:32] local.INFO: Extracted packet for processing {"connection_id":171428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:44:32] local.INFO: GPS Element Parsed {"raw_longitude":760309504,"raw_latitude":105816536,"longitude_deg":76.0309504,"latitude_deg":10.5816536,"altitude":6,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d516700","hex_latitude":"064ea1d8","is_valid_coordinates":true} 
[2026-09-05 10:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877765120001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399467748490477568,"note":"Value kept but may cause issues"} 
[2026-09-05 10:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5865657066762393600,"note":"Value kept but may cause issues"} 
[2026-09-05 10:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788585041000,"timestamp_ms":1788585041000,"timestamp_seconds":1788585041,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff9dc68"} 
[2026-09-05 10:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:44: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-09-05 10:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 10:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:44: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-09-05 10:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877765120001,"66":27974,"172":206,"78":62464,"24":0,"16":399467748490477568,"45":5865657066762393600},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,78,24,16,45]} 
[2026-09-05 10:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877765120001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:44:32] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-05 10:44:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399467748490477568,"km_value":399467748490477.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5865657066762393600,"description":"Unknown IO ID 45"} 
[2026-09-05 10:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877765120001,"power":27974,"unknown_172":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5865657066762393600}} 
[2026-09-05 10:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":171428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:44:32] local.INFO: GPS data processed {"connection_id":171428,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:44:32] local.INFO: Acknowledgment sent {"connection_id":171428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:44:45] local.INFO: TCP Data received {"connection_id":171726,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:44:45] local.INFO: Processing buffer {"connection_id":171726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:44:45] local.INFO: IMEI packet received {"connection_id":171726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":171726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:44:48] local.INFO: TCP Data received {"connection_id":171727,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171727,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:44:48] local.INFO: Processing buffer {"connection_id":171727,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:44:48] local.INFO: IMEI packet received {"connection_id":171727,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":171727,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:44:48] local.INFO: TCP Data received {"connection_id":171726,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:44:48] local.INFO: Processing buffer {"connection_id":171726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:44:48] local.INFO: IMEI packet received {"connection_id":171726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":171726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:44:49] local.INFO: TCP Data received {"connection_id":171726,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ffa7c90012d196900071fedf00040011e28..."} 
[2026-09-05 10:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ffa7c90012d196900071fedf00040011e28..."} 
[2026-09-05 10:44:49] local.INFO: Processing buffer {"connection_id":171726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ffa7c90012d196900071fedf00040011e28..."} 
[2026-09-05 10:44:49] local.INFO: Packet analysis {"connection_id":171726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ffa"} 
[2026-09-05 10:44:49] local.INFO: Extracted packet for processing {"connection_id":171726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ffa"} 
[2026-09-05 10:44:49] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877776128001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788585082000,"timestamp_ms":1788585082000,"timestamp_seconds":1788585082,"priority":1,"record_length":96,"hex_timestamp":"000001a06ffa7c90"} 
[2026-09-05 10:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 10:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":171726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":171726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":171726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877776128001,"66":12428,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877776128001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:44:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:44:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877776128001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":171726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:44:49] local.INFO: GPS data processed {"connection_id":171726,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:44:49] local.INFO: Acknowledgment sent {"connection_id":171726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:44:53] local.INFO: TCP Data received {"connection_id":171727,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171727,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:44:53] local.INFO: Processing buffer {"connection_id":171727,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:44:53] local.INFO: IMEI packet received {"connection_id":171727,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":171727,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:44:54] local.INFO: TCP Data received {"connection_id":171727,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff9e050012c94958007c516b8000700102c..."} 
[2026-09-05 10:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff9e050012c94958007c516b8000700102c..."} 
[2026-09-05 10:44:54] local.INFO: Processing buffer {"connection_id":171727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff9e050012c94958007c516b8000700102c..."} 
[2026-09-05 10:44:54] local.INFO: Packet analysis {"connection_id":171727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:44:54] local.INFO: Extracted packet for processing {"connection_id":171727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:44:54] local.INFO: GPS Element Parsed {"raw_longitude":747935104,"raw_latitude":130356920,"longitude_deg":74.7935104,"latitude_deg":13.035692,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949580","hex_latitude":"07c516b8","is_valid_coordinates":true} 
[2026-09-05 10:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877768448001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:44:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740139613706602496,"note":"Value kept but may cause issues"} 
[2026-09-05 10:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788585042000,"timestamp_ms":1788585042000,"timestamp_seconds":1788585042,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff9e050"} 
[2026-09-05 10:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-05 10:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171727,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171727,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877768448001,"66":28104,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740139613706602496},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877768448001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:44:54] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:44:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:44:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740139613706602496,"description":"Unknown IO ID 44"} 
[2026-09-05 10:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877768448001,"power":28104,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740139613706602496}} 
[2026-09-05 10:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":171727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768085,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:44:54] local.INFO: GPS data processed {"connection_id":171727,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:44:54] local.INFO: Acknowledgment sent {"connection_id":171727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:44:57] local.INFO: TCP Data received {"connection_id":171728,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:44:57] local.INFO: Processing buffer {"connection_id":171728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:44:57] local.INFO: IMEI packet received {"connection_id":171728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":171728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:44:58] local.INFO: TCP Data received {"connection_id":171727,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff9e050012c94958007c516b8000700102c..."} 
[2026-09-05 10:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff9e050012c94958007c516b8000700102c..."} 
[2026-09-05 10:44:58] local.INFO: Processing buffer {"connection_id":171727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff9e050012c94958007c516b8000700102c..."} 
[2026-09-05 10:44:58] local.INFO: Packet analysis {"connection_id":171727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:44:58] local.INFO: Extracted packet for processing {"connection_id":171727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:44:58] local.INFO: GPS Element Parsed {"raw_longitude":747935104,"raw_latitude":130356920,"longitude_deg":74.7935104,"latitude_deg":13.035692,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949580","hex_latitude":"07c516b8","is_valid_coordinates":true} 
[2026-09-05 10:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877768448001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:44:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740139613706602496,"note":"Value kept but may cause issues"} 
[2026-09-05 10:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788585042000,"timestamp_ms":1788585042000,"timestamp_seconds":1788585042,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff9e050"} 
[2026-09-05 10:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-05 10:44:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:44:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171727,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171727,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877768448001,"66":28104,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740139613706602496},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877768448001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:44:58] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:44:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:44:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740139613706602496,"description":"Unknown IO ID 44"} 
[2026-09-05 10:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877768448001,"power":28104,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740139613706602496}} 
[2026-09-05 10:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":171727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768086,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:44:58] local.INFO: GPS data processed {"connection_id":171727,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:44:58] local.INFO: Acknowledgment sent {"connection_id":171727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:45:02] local.INFO: TCP Data received {"connection_id":171728,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:45:02] local.INFO: Processing buffer {"connection_id":171728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:45:02] local.INFO: IMEI packet received {"connection_id":171728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":171728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:45:02] local.INFO: TCP Data received {"connection_id":171728,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06ffc8800012d527680064e98c00005005c29..."} 
[2026-09-05 10:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ffc8800012d527680064e98c00005005c29..."} 
[2026-09-05 10:45:02] local.INFO: Processing buffer {"connection_id":171728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ffc8800012d527680064e98c00005005c29..."} 
[2026-09-05 10:45:02] local.INFO: Packet analysis {"connection_id":171728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ffc"} 
[2026-09-05 10:45:02] local.INFO: Extracted packet for processing {"connection_id":171728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ffc"} 
[2026-09-05 10:45:02] local.INFO: GPS Element Parsed {"raw_longitude":760379008,"raw_latitude":105814208,"longitude_deg":76.0379008,"latitude_deg":10.5814208,"altitude":5,"angle":92,"satellites":41,"speed":27,"hex_longitude":"2d527680","hex_latitude":"064e98c0","is_valid_coordinates":true} 
[2026-09-05 10:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877811456001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399471089975033856,"note":"Value kept but may cause issues"} 
[2026-09-05 10:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5930959261358555136,"note":"Value kept but may cause issues"} 
[2026-09-05 10:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788585216000,"timestamp_ms":1788585216000,"timestamp_seconds":1788585216,"priority":1,"record_length":96,"hex_timestamp":"000001a06ffc8800"} 
[2026-09-05 10:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:45: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-09-05 10:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 10:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:45:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877811456001,"66":27658,"172":206,"78":62464,"24":27,"16":399471089975033856,"45":5930959261358555136},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,78,24,16,45]} 
[2026-09-05 10:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877811456001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:45:02] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-05 10:45:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399471089975033856,"km_value":399471089975033.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5930959261358555136,"description":"Unknown IO ID 45"} 
[2026-09-05 10:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877811456001,"power":27658,"unknown_172":206,"unknown_78":62464,"ignition":27,"odometer":null,"unknown_45":5930959261358555136}} 
[2026-09-05 10:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":171728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:45:02] local.INFO: GPS data processed {"connection_id":171728,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:45:02] local.INFO: Acknowledgment sent {"connection_id":171728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:45:20] local.INFO: TCP Data received {"connection_id":171726,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06fface98012d196900071fedf00040011e27..."} 
[2026-09-05 10:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06fface98012d196900071fedf00040011e27..."} 
[2026-09-05 10:45:20] local.INFO: Processing buffer {"connection_id":171726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06fface98012d196900071fedf00040011e27..."} 
[2026-09-05 10:45:20] local.INFO: Packet analysis {"connection_id":171726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ffa"} 
[2026-09-05 10:45:20] local.INFO: Extracted packet for processing {"connection_id":171726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ffa"} 
[2026-09-05 10:45:20] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877780992001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788585103000,"timestamp_ms":1788585103000,"timestamp_seconds":1788585103,"priority":1,"record_length":96,"hex_timestamp":"000001a06fface98"} 
[2026-09-05 10:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:45:20] 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-09-05 10:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 10:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":171726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":171726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":171726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877780992001,"66":12428,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877780992001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:45:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:45:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877780992001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":171726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:45:20] local.INFO: GPS data processed {"connection_id":171726,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:45:20] local.INFO: Acknowledgment sent {"connection_id":171726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:45:29] local.INFO: TCP Data received {"connection_id":171727,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff9e050012c94958007c516b8000700102c..."} 
[2026-09-05 10:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff9e050012c94958007c516b8000700102c..."} 
[2026-09-05 10:45:29] local.INFO: Processing buffer {"connection_id":171727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff9e050012c94958007c516b8000700102c..."} 
[2026-09-05 10:45:29] local.INFO: Packet analysis {"connection_id":171727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:45:29] local.INFO: Extracted packet for processing {"connection_id":171727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:45:29] local.INFO: GPS Element Parsed {"raw_longitude":747935104,"raw_latitude":130356920,"longitude_deg":74.7935104,"latitude_deg":13.035692,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949580","hex_latitude":"07c516b8","is_valid_coordinates":true} 
[2026-09-05 10:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877768448001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:45:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740139613706602496,"note":"Value kept but may cause issues"} 
[2026-09-05 10:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788585042000,"timestamp_ms":1788585042000,"timestamp_seconds":1788585042,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff9e050"} 
[2026-09-05 10:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-05 10:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:45:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":171727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":171727,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":171727,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877768448001,"66":28104,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740139613706602496},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877768448001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:45:29] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:45:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:45:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740139613706602496,"description":"Unknown IO ID 44"} 
[2026-09-05 10:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877768448001,"power":28104,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740139613706602496}} 
[2026-09-05 10:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":171727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768089,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:45:29] local.INFO: GPS data processed {"connection_id":171727,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:45:29] local.INFO: Acknowledgment sent {"connection_id":171727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:45:34] local.INFO: TCP Data received {"connection_id":171728,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a06ffcd620012d529b40064e96780006005e2b..."} 
[2026-09-05 10:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ffcd620012d529b40064e96780006005e2b..."} 
[2026-09-05 10:45:34] local.INFO: Processing buffer {"connection_id":171728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ffcd620012d529b40064e96780006005e2b..."} 
[2026-09-05 10:45:34] local.INFO: Packet analysis {"connection_id":171728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ffc"} 
[2026-09-05 10:45:34] local.INFO: Extracted packet for processing {"connection_id":171728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ffc"} 
[2026-09-05 10:45:34] local.INFO: GPS Element Parsed {"raw_longitude":760388416,"raw_latitude":105813624,"longitude_deg":76.0388416,"latitude_deg":10.5813624,"altitude":6,"angle":94,"satellites":43,"speed":17,"hex_longitude":"2d529b40","hex_latitude":"064e9678","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877815296001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399471540946599936,"note":"Value kept but may cause issues"} 
[2026-09-05 10:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5942077522938740736,"note":"Value kept but may cause issues"} 
[2026-09-05 10:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788585236000,"timestamp_ms":1788585236000,"timestamp_seconds":1788585236,"priority":1,"record_length":96,"hex_timestamp":"000001a06ffcd620"} 
[2026-09-05 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-09-05 10:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-05 10:45:34] 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-09-05 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-09-05 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-09-05 10:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877815296001,"66":27658,"171":206,"78":62464,"24":17,"16":399471540946599936,"45":5942077522938740736},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,78,24,16,45]} 
[2026-09-05 10:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877815296001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:45:34] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-05 10:45:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399471540946599936,"km_value":399471540946599.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5942077522938740736,"description":"Unknown IO ID 45"} 
[2026-09-05 10:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877815296001,"power":27658,"unknown_171":206,"unknown_78":62464,"ignition":17,"odometer":null,"unknown_45":5942077522938740736}} 
[2026-09-05 10:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":171728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:45:34] local.INFO: GPS data processed {"connection_id":171728,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:45:34] local.INFO: Acknowledgment sent {"connection_id":171728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:45:45] local.INFO: TCP Data received {"connection_id":171729,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:45:45] local.INFO: Processing buffer {"connection_id":171729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:45:45] local.INFO: IMEI packet received {"connection_id":171729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":171729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:45:48] local.INFO: TCP Data received {"connection_id":171429,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171429,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:45:48] local.INFO: Processing buffer {"connection_id":171429,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:45:48] local.INFO: IMEI packet received {"connection_id":171429,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":171429,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:45:50] local.INFO: TCP Data received {"connection_id":171729,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:45:50] local.INFO: Processing buffer {"connection_id":171729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:45:50] local.INFO: IMEI packet received {"connection_id":171729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":171729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:45:51] local.INFO: TCP Data received {"connection_id":171729,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ffb20a0012d196900071fedf00040011e26..."} 
[2026-09-05 10:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ffb20a0012d196900071fedf00040011e26..."} 
[2026-09-05 10:45:51] local.INFO: Processing buffer {"connection_id":171729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ffb20a0012d196900071fedf00040011e26..."} 
[2026-09-05 10:45:51] local.INFO: Packet analysis {"connection_id":171729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ffb"} 
[2026-09-05 10:45:51] local.INFO: Extracted packet for processing {"connection_id":171729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ffb"} 
[2026-09-05 10:45:51] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877786368001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788585124000,"timestamp_ms":1788585124000,"timestamp_seconds":1788585124,"priority":1,"record_length":96,"hex_timestamp":"000001a06ffb20a0"} 
[2026-09-05 10:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 10:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:45:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877786368001,"66":12406,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877786368001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:45:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:45:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877786368001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":171729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:45:51] local.INFO: GPS data processed {"connection_id":171729,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:45:51] local.INFO: Acknowledgment sent {"connection_id":171729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:45:53] local.INFO: TCP Data received {"connection_id":171429,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171429,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:45:53] local.INFO: Processing buffer {"connection_id":171429,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:45:53] local.INFO: IMEI packet received {"connection_id":171429,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":171429,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:45:54] local.INFO: TCP Data received {"connection_id":171429,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ff9e050012c94958007c516b8000700102c..."} 
[2026-09-05 10:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ff9e050012c94958007c516b8000700102c..."} 
[2026-09-05 10:45:54] local.INFO: Processing buffer {"connection_id":171429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ff9e050012c94958007c516b8000700102c..."} 
[2026-09-05 10:45:54] local.INFO: Packet analysis {"connection_id":171429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:45:54] local.INFO: Extracted packet for processing {"connection_id":171429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ff9"} 
[2026-09-05 10:45:54] local.INFO: GPS Element Parsed {"raw_longitude":747935104,"raw_latitude":130356920,"longitude_deg":74.7935104,"latitude_deg":13.035692,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949580","hex_latitude":"07c516b8","is_valid_coordinates":true} 
[2026-09-05 10:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877768448001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:45:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740139613706602496,"note":"Value kept but may cause issues"} 
[2026-09-05 10:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788585042000,"timestamp_ms":1788585042000,"timestamp_seconds":1788585042,"priority":1,"record_length":96,"hex_timestamp":"000001a06ff9e050"} 
[2026-09-05 10:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-05 10:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877768448001,"66":28104,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740139613706602496},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877768448001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:45:54] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:45:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:45:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740139613706602496,"description":"Unknown IO ID 44"} 
[2026-09-05 10:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877768448001,"power":28104,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740139613706602496}} 
[2026-09-05 10:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":171429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768092,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:45:54] local.INFO: GPS data processed {"connection_id":171429,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:45:54] local.INFO: Acknowledgment sent {"connection_id":171429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:45:57] local.INFO: TCP Data received {"connection_id":172834,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:45:57] local.INFO: Processing buffer {"connection_id":172834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:45:57] local.INFO: IMEI packet received {"connection_id":172834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":172834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:46:02] local.INFO: TCP Data received {"connection_id":172834,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:46:02] local.INFO: Processing buffer {"connection_id":172834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:46:02] local.INFO: IMEI packet received {"connection_id":172834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":172834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:46:03] local.INFO: TCP Data received {"connection_id":172834,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a06ffcd620012d529b40064e96780006005e2b..."} 
[2026-09-05 10:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ffcd620012d529b40064e96780006005e2b..."} 
[2026-09-05 10:46:03] local.INFO: Processing buffer {"connection_id":172834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ffcd620012d529b40064e96780006005e2b..."} 
[2026-09-05 10:46:03] local.INFO: Packet analysis {"connection_id":172834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ffc"} 
[2026-09-05 10:46:03] local.INFO: Extracted packet for processing {"connection_id":172834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ffc"} 
[2026-09-05 10:46:03] local.INFO: GPS Element Parsed {"raw_longitude":760388416,"raw_latitude":105813624,"longitude_deg":76.0388416,"latitude_deg":10.5813624,"altitude":6,"angle":94,"satellites":43,"speed":17,"hex_longitude":"2d529b40","hex_latitude":"064e9678","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877820416001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399471540946599936,"note":"Value kept but may cause issues"} 
[2026-09-05 10:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5952421728332707840,"note":"Value kept but may cause issues"} 
[2026-09-05 10:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788585236000,"timestamp_ms":1788585236000,"timestamp_seconds":1788585236,"priority":1,"record_length":96,"hex_timestamp":"000001a06ffcd620"} 
[2026-09-05 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-09-05 10:46: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-09-05 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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-05 10:46:03] 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-09-05 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-09-05 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-09-05 10:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10: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-09-05 10:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877820416001,"66":27658,"171":206,"78":62464,"24":17,"16":399471540946599936,"45":5952421728332707840},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,78,24,16,45]} 
[2026-09-05 10:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877820416001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:46:03] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-05 10:46:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399471540946599936,"km_value":399471540946599.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5952421728332707840,"description":"Unknown IO ID 45"} 
[2026-09-05 10:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877820416001,"power":27658,"unknown_171":206,"unknown_78":62464,"ignition":17,"odometer":null,"unknown_45":5952421728332707840}} 
[2026-09-05 10:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":172834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:46:03] local.INFO: GPS data processed {"connection_id":172834,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:46:03] local.INFO: Acknowledgment sent {"connection_id":172834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:46:22] local.INFO: TCP Data received {"connection_id":171729,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ffb72a8012d196900071fedf00040011e27..."} 
[2026-09-05 10:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ffb72a8012d196900071fedf00040011e27..."} 
[2026-09-05 10:46:22] local.INFO: Processing buffer {"connection_id":171729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ffb72a8012d196900071fedf00040011e27..."} 
[2026-09-05 10:46:22] local.INFO: Packet analysis {"connection_id":171729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ffb"} 
[2026-09-05 10:46:22] local.INFO: Extracted packet for processing {"connection_id":171729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ffb"} 
[2026-09-05 10:46:22] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877791744001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788585145000,"timestamp_ms":1788585145000,"timestamp_seconds":1788585145,"priority":1,"record_length":96,"hex_timestamp":"000001a06ffb72a8"} 
[2026-09-05 10:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 10:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877791744001,"66":12145,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877791744001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:46:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:46:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877791744001,"power":12145,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":171729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:46:22] local.INFO: GPS data processed {"connection_id":171729,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:46:22] local.INFO: Acknowledgment sent {"connection_id":171729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:46:26] local.INFO: TCP Data received {"connection_id":171429,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ffe83d0012c94940007c51710000700102c..."} 
[2026-09-05 10:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ffe83d0012c94940007c51710000700102c..."} 
[2026-09-05 10:46:26] local.INFO: Processing buffer {"connection_id":171429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ffe83d0012c94940007c51710000700102c..."} 
[2026-09-05 10:46:26] local.INFO: Packet analysis {"connection_id":171429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ffe"} 
[2026-09-05 10:46:26] local.INFO: Extracted packet for processing {"connection_id":171429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ffe"} 
[2026-09-05 10:46:26] local.INFO: GPS Element Parsed {"raw_longitude":747934720,"raw_latitude":130357008,"longitude_deg":74.793472,"latitude_deg":13.0357008,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949400","hex_latitude":"07c51710","is_valid_coordinates":true} 
[2026-09-05 10:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877770752001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:46:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740139613706602496,"note":"Value kept but may cause issues"} 
[2026-09-05 10:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788585346000,"timestamp_ms":1788585346000,"timestamp_seconds":1788585346,"priority":1,"record_length":96,"hex_timestamp":"000001a06ffe83d0"} 
[2026-09-05 10:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:46: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-09-05 10:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 10:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877770752001,"66":25962,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740139613706602496},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877770752001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:46:26] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:46:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:46:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740139613706602496,"description":"Unknown IO ID 44"} 
[2026-09-05 10:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877770752001,"power":25962,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740139613706602496}} 
[2026-09-05 10:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":171429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768095,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:46:26] local.INFO: GPS data processed {"connection_id":171429,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:46:26] local.INFO: Acknowledgment sent {"connection_id":171429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:46:34] local.INFO: TCP Data received {"connection_id":172834,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a06ffd1888012d52b580064e94d0000600522b..."} 
[2026-09-05 10:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ffd1888012d52b580064e94d0000600522b..."} 
[2026-09-05 10:46:34] local.INFO: Processing buffer {"connection_id":172834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ffd1888012d52b580064e94d0000600522b..."} 
[2026-09-05 10:46:34] local.INFO: Packet analysis {"connection_id":172834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ffd"} 
[2026-09-05 10:46:34] local.INFO: Extracted packet for processing {"connection_id":172834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ffd"} 
[2026-09-05 10:46:34] local.INFO: GPS Element Parsed {"raw_longitude":760395136,"raw_latitude":105813200,"longitude_deg":76.0395136,"latitude_deg":10.58132,"altitude":6,"angle":82,"satellites":43,"speed":5,"hex_longitude":"2d52b580","hex_latitude":"064e94d0","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877820416001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399471858774179840,"note":"Value kept but may cause issues"} 
[2026-09-05 10:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5952421728332707840,"note":"Value kept but may cause issues"} 
[2026-09-05 10:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788585253000,"timestamp_ms":1788585253000,"timestamp_seconds":1788585253,"priority":1,"record_length":96,"hex_timestamp":"000001a06ffd1888"} 
[2026-09-05 10:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-05 10:46:34] 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-09-05 10: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-09-05 10:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877820416001,"66":27919,"171":206,"78":62464,"24":5,"16":399471858774179840,"45":5952421728332707840},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,78,24,16,45]} 
[2026-09-05 10:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877820416001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:46:34] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-05 10:46:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399471858774179840,"km_value":399471858774179.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5952421728332707840,"description":"Unknown IO ID 45"} 
[2026-09-05 10:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877820416001,"power":27919,"unknown_171":206,"unknown_78":62464,"ignition":5,"odometer":null,"unknown_45":5952421728332707840}} 
[2026-09-05 10:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":172834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:46:34] local.INFO: GPS data processed {"connection_id":172834,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:46:34] local.INFO: Acknowledgment sent {"connection_id":172834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:46:45] local.INFO: TCP Data received {"connection_id":174135,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:46:45] local.INFO: Processing buffer {"connection_id":174135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:46:45] local.INFO: IMEI packet received {"connection_id":174135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":174135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:46:47] local.INFO: TCP Data received {"connection_id":174136,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174136,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:46:47] local.INFO: Processing buffer {"connection_id":174136,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:46:47] local.INFO: IMEI packet received {"connection_id":174136,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":174136,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:46:50] local.INFO: TCP Data received {"connection_id":174135,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:46:50] local.INFO: Processing buffer {"connection_id":174135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:46:50] local.INFO: IMEI packet received {"connection_id":174135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":174135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:46:51] local.INFO: TCP Data received {"connection_id":174135,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ffbc4b0012d196900071fedf00040011e27..."} 
[2026-09-05 10:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ffbc4b0012d196900071fedf00040011e27..."} 
[2026-09-05 10:46:51] local.INFO: Processing buffer {"connection_id":174135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ffbc4b0012d196900071fedf00040011e27..."} 
[2026-09-05 10:46:51] local.INFO: Packet analysis {"connection_id":174135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ffb"} 
[2026-09-05 10:46:51] local.INFO: Extracted packet for processing {"connection_id":174135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ffb"} 
[2026-09-05 10:46:51] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877797120001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788585166000,"timestamp_ms":1788585166000,"timestamp_seconds":1788585166,"priority":1,"record_length":96,"hex_timestamp":"000001a06ffbc4b0"} 
[2026-09-05 10:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:46:51] local.INFO: IO Element 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-09-05 10:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877797120001,"66":12406,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877797120001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:46:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:46:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877797120001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":174135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:46:51] local.INFO: GPS data processed {"connection_id":174135,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:46:51] local.INFO: Acknowledgment sent {"connection_id":174135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:46:53] local.INFO: TCP Data received {"connection_id":174136,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174136,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:46:53] local.INFO: Processing buffer {"connection_id":174136,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:46:53] local.INFO: IMEI packet received {"connection_id":174136,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":174136,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:46:54] local.INFO: TCP Data received {"connection_id":174136,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ffe83d0012c94940007c51710000700102c..."} 
[2026-09-05 10:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ffe83d0012c94940007c51710000700102c..."} 
[2026-09-05 10:46:54] local.INFO: Processing buffer {"connection_id":174136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ffe83d0012c94940007c51710000700102c..."} 
[2026-09-05 10:46:54] local.INFO: Packet analysis {"connection_id":174136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ffe"} 
[2026-09-05 10:46:54] local.INFO: Extracted packet for processing {"connection_id":174136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ffe"} 
[2026-09-05 10:46:54] local.INFO: GPS Element Parsed {"raw_longitude":747934720,"raw_latitude":130357008,"longitude_deg":74.793472,"latitude_deg":13.0357008,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949400","hex_latitude":"07c51710","is_valid_coordinates":true} 
[2026-09-05 10:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877770752001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:46:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740139613706602496,"note":"Value kept but may cause issues"} 
[2026-09-05 10:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788585346000,"timestamp_ms":1788585346000,"timestamp_seconds":1788585346,"priority":1,"record_length":96,"hex_timestamp":"000001a06ffe83d0"} 
[2026-09-05 10:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 10:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 10:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174136,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174136,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877770752001,"66":25962,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740139613706602496},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877770752001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:46:54] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:46:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:46:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740139613706602496,"description":"Unknown IO ID 44"} 
[2026-09-05 10:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877770752001,"power":25962,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740139613706602496}} 
[2026-09-05 10:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":174136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768098,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:46:54] local.INFO: GPS data processed {"connection_id":174136,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:46:54] local.INFO: Acknowledgment sent {"connection_id":174136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:46:56] local.INFO: TCP Data received {"connection_id":174137,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:46:56] local.INFO: Processing buffer {"connection_id":174137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:46:56] local.INFO: IMEI packet received {"connection_id":174137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":174137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:47:02] local.INFO: TCP Data received {"connection_id":174137,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:47:02] local.INFO: Processing buffer {"connection_id":174137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:47:02] local.INFO: IMEI packet received {"connection_id":174137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":174137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:47:03] local.INFO: TCP Data received {"connection_id":174137,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a06ffd5ed8012d52b940064e9228000800a32c..."} 
[2026-09-05 10:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ffd5ed8012d52b940064e9228000800a32c..."} 
[2026-09-05 10:47:03] local.INFO: Processing buffer {"connection_id":174137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ffd5ed8012d52b940064e9228000800a32c..."} 
[2026-09-05 10:47:03] local.INFO: Packet analysis {"connection_id":174137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ffd"} 
[2026-09-05 10:47:03] local.INFO: Extracted packet for processing {"connection_id":174137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ffd"} 
[2026-09-05 10:47:03] local.INFO: GPS Element Parsed {"raw_longitude":760396096,"raw_latitude":105812520,"longitude_deg":76.0396096,"latitude_deg":10.581252,"altitude":8,"angle":163,"satellites":44,"speed":5,"hex_longitude":"2d52b940","hex_latitude":"064e9228","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877824768001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399471923198689280,"note":"Value kept but may cause issues"} 
[2026-09-05 10:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5959810446471254016,"note":"Value kept but may cause issues"} 
[2026-09-05 10:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788585271000,"timestamp_ms":1788585271000,"timestamp_seconds":1788585271,"priority":1,"record_length":96,"hex_timestamp":"000001a06ffd5ed8"} 
[2026-09-05 10:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:47: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-09-05 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 10:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:47: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-09-05 10:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877824768001,"66":28006,"171":206,"78":62464,"24":5,"16":399471923198689280,"45":5959810446471254016},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,78,24,16,45]} 
[2026-09-05 10:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877824768001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:47:03] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-05 10:47:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399471923198689280,"km_value":399471923198689.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5959810446471254016,"description":"Unknown IO ID 45"} 
[2026-09-05 10:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877824768001,"power":28006,"unknown_171":206,"unknown_78":62464,"ignition":5,"odometer":null,"unknown_45":5959810446471254016}} 
[2026-09-05 10:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":174137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:47:03] local.INFO: GPS data processed {"connection_id":174137,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:47:03] local.INFO: Acknowledgment sent {"connection_id":174137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:47:22] local.INFO: TCP Data received {"connection_id":174135,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ffc16b8012d196900071fedf00040011e28..."} 
[2026-09-05 10:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ffc16b8012d196900071fedf00040011e28..."} 
[2026-09-05 10:47:22] local.INFO: Processing buffer {"connection_id":174135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ffc16b8012d196900071fedf00040011e28..."} 
[2026-09-05 10:47:22] local.INFO: Packet analysis {"connection_id":174135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ffc"} 
[2026-09-05 10:47:22] local.INFO: Extracted packet for processing {"connection_id":174135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ffc"} 
[2026-09-05 10:47:22] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877802496001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788585187000,"timestamp_ms":1788585187000,"timestamp_seconds":1788585187,"priority":1,"record_length":96,"hex_timestamp":"000001a06ffc16b8"} 
[2026-09-05 10:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 10:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877802496001,"66":12406,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877802496001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:47:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:47:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877802496001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":174135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:47:22] local.INFO: GPS data processed {"connection_id":174135,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:47:22] local.INFO: Acknowledgment sent {"connection_id":174135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:47:26] local.INFO: TCP Data received {"connection_id":174136,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ffe83d0012c94940007c51710000700102c..."} 
[2026-09-05 10:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ffe83d0012c94940007c51710000700102c..."} 
[2026-09-05 10:47:26] local.INFO: Processing buffer {"connection_id":174136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ffe83d0012c94940007c51710000700102c..."} 
[2026-09-05 10:47:26] local.INFO: Packet analysis {"connection_id":174136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ffe"} 
[2026-09-05 10:47:26] local.INFO: Extracted packet for processing {"connection_id":174136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ffe"} 
[2026-09-05 10:47:26] local.INFO: GPS Element Parsed {"raw_longitude":747934720,"raw_latitude":130357008,"longitude_deg":74.793472,"latitude_deg":13.0357008,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949400","hex_latitude":"07c51710","is_valid_coordinates":true} 
[2026-09-05 10:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877770752001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:47:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740139613706602496,"note":"Value kept but may cause issues"} 
[2026-09-05 10:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788585346000,"timestamp_ms":1788585346000,"timestamp_seconds":1788585346,"priority":1,"record_length":96,"hex_timestamp":"000001a06ffe83d0"} 
[2026-09-05 10:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:47: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-09-05 10:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 10:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174136,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174136,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877770752001,"66":25962,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740139613706602496},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877770752001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:47:26] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:47:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:47:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740139613706602496,"description":"Unknown IO ID 44"} 
[2026-09-05 10:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877770752001,"power":25962,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740139613706602496}} 
[2026-09-05 10:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":174136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768101,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:47:26] local.INFO: GPS data processed {"connection_id":174136,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:47:26] local.INFO: Acknowledgment sent {"connection_id":174136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:47:35] local.INFO: TCP Data received {"connection_id":174137,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a06ffd62c0012d52b940064e9168000800b32c..."} 
[2026-09-05 10:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ffd62c0012d52b940064e9168000800b32c..."} 
[2026-09-05 10:47:35] local.INFO: Processing buffer {"connection_id":174137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ffd62c0012d52b940064e9168000800b32c..."} 
[2026-09-05 10:47:35] local.INFO: Packet analysis {"connection_id":174137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ffd"} 
[2026-09-05 10:47:35] local.INFO: Extracted packet for processing {"connection_id":174137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ffd"} 
[2026-09-05 10:47:35] local.INFO: GPS Element Parsed {"raw_longitude":760396096,"raw_latitude":105812328,"longitude_deg":76.0396096,"latitude_deg":10.5812328,"altitude":8,"angle":179,"satellites":44,"speed":7,"hex_longitude":"2d52b940","hex_latitude":"064e9168","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877829376001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399471936083591168,"note":"Value kept but may cause issues"} 
[2026-09-05 10:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5960865977633744896,"note":"Value kept but may cause issues"} 
[2026-09-05 10:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788585272000,"timestamp_ms":1788585272000,"timestamp_seconds":1788585272,"priority":1,"record_length":96,"hex_timestamp":"000001a06ffd62c0"} 
[2026-09-05 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-09-05 10:47:35] 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-09-05 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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 10:47:35] 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-09-05 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-09-05 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-09-05 10:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877829376001,"66":28006,"171":206,"78":62464,"24":7,"16":399471936083591168,"45":5960865977633744896},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,78,24,16,45]} 
[2026-09-05 10:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877829376001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:47:35] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-05 10:47:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399471936083591168,"km_value":399471936083591.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5960865977633744896,"description":"Unknown IO ID 45"} 
[2026-09-05 10:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877829376001,"power":28006,"unknown_171":206,"unknown_78":62464,"ignition":7,"odometer":null,"unknown_45":5960865977633744896}} 
[2026-09-05 10:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":174137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:47:35] local.INFO: GPS data processed {"connection_id":174137,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:47:35] local.INFO: Acknowledgment sent {"connection_id":174137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:47:45] local.INFO: TCP Data received {"connection_id":171730,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:47:45] local.INFO: Processing buffer {"connection_id":171730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:47:45] local.INFO: IMEI packet received {"connection_id":171730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":171730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:47:48] local.INFO: TCP Data received {"connection_id":171430,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171430,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:47:48] local.INFO: Processing buffer {"connection_id":171430,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:47:48] local.INFO: IMEI packet received {"connection_id":171430,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":171430,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:47:50] local.INFO: TCP Data received {"connection_id":171730,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:47:50] local.INFO: Processing buffer {"connection_id":171730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:47:50] local.INFO: IMEI packet received {"connection_id":171730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":171730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:47:51] local.INFO: TCP Data received {"connection_id":171730,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ffc68c0012d196900071fedf00040011e28..."} 
[2026-09-05 10:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ffc68c0012d196900071fedf00040011e28..."} 
[2026-09-05 10:47:51] local.INFO: Processing buffer {"connection_id":171730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ffc68c0012d196900071fedf00040011e28..."} 
[2026-09-05 10:47:51] local.INFO: Packet analysis {"connection_id":171730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ffc"} 
[2026-09-05 10:47:51] local.INFO: Extracted packet for processing {"connection_id":171730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ffc"} 
[2026-09-05 10:47:51] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877807872001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788585208000,"timestamp_ms":1788585208000,"timestamp_seconds":1788585208,"priority":1,"record_length":96,"hex_timestamp":"000001a06ffc68c0"} 
[2026-09-05 10:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 10:47:51] 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-09-05 10:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877807872001,"66":12385,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877807872001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:47:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:47:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877807872001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":171730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:47:51] local.INFO: GPS data processed {"connection_id":171730,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:47:51] local.INFO: Acknowledgment sent {"connection_id":171730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:47:53] local.INFO: TCP Data received {"connection_id":171430,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171430,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:47:53] local.INFO: Processing buffer {"connection_id":171430,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:47:53] local.INFO: IMEI packet received {"connection_id":171430,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":171430,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:47:54] local.INFO: TCP Data received {"connection_id":171430,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ffe83d0012c94940007c51710000700102c..."} 
[2026-09-05 10:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ffe83d0012c94940007c51710000700102c..."} 
[2026-09-05 10:47:54] local.INFO: Processing buffer {"connection_id":171430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ffe83d0012c94940007c51710000700102c..."} 
[2026-09-05 10:47:54] local.INFO: Packet analysis {"connection_id":171430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ffe"} 
[2026-09-05 10:47:54] local.INFO: Extracted packet for processing {"connection_id":171430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ffe"} 
[2026-09-05 10:47:54] local.INFO: GPS Element Parsed {"raw_longitude":747934720,"raw_latitude":130357008,"longitude_deg":74.793472,"latitude_deg":13.0357008,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949400","hex_latitude":"07c51710","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877770752001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:47:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740139613706602496,"note":"Value kept but may cause issues"} 
[2026-09-05 10:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788585346000,"timestamp_ms":1788585346000,"timestamp_seconds":1788585346,"priority":1,"record_length":96,"hex_timestamp":"000001a06ffe83d0"} 
[2026-09-05 10:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 10:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 10:47:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877770752001,"66":25962,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740139613706602496},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877770752001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:47:54] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:47:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:47:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740139613706602496,"description":"Unknown IO ID 44"} 
[2026-09-05 10:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877770752001,"power":25962,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740139613706602496}} 
[2026-09-05 10:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":171430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768104,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:47:54] local.INFO: GPS data processed {"connection_id":171430,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:47:54] local.INFO: Acknowledgment sent {"connection_id":171430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:48:22] local.INFO: TCP Data received {"connection_id":171730,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ffcbac8012d196900071fedf00040011e26..."} 
[2026-09-05 10:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ffcbac8012d196900071fedf00040011e26..."} 
[2026-09-05 10:48:22] local.INFO: Processing buffer {"connection_id":171730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ffcbac8012d196900071fedf00040011e26..."} 
[2026-09-05 10:48:22] local.INFO: Packet analysis {"connection_id":171730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ffc"} 
[2026-09-05 10:48:22] local.INFO: Extracted packet for processing {"connection_id":171730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ffc"} 
[2026-09-05 10:48:22] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877813248001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788585229000,"timestamp_ms":1788585229000,"timestamp_seconds":1788585229,"priority":1,"record_length":96,"hex_timestamp":"000001a06ffcbac8"} 
[2026-09-05 10:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 10:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877813248001,"66":12406,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877813248001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:48:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:48:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877813248001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":171730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:48:22] local.INFO: GPS data processed {"connection_id":171730,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:48:22] local.INFO: Acknowledgment sent {"connection_id":171730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:48:26] local.INFO: TCP Data received {"connection_id":171430,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ffe83d0012c94940007c51710000700102c..."} 
[2026-09-05 10:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ffe83d0012c94940007c51710000700102c..."} 
[2026-09-05 10:48:26] local.INFO: Processing buffer {"connection_id":171430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ffe83d0012c94940007c51710000700102c..."} 
[2026-09-05 10:48:26] local.INFO: Packet analysis {"connection_id":171430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ffe"} 
[2026-09-05 10:48:26] local.INFO: Extracted packet for processing {"connection_id":171430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ffe"} 
[2026-09-05 10:48:26] local.INFO: GPS Element Parsed {"raw_longitude":747934720,"raw_latitude":130357008,"longitude_deg":74.793472,"latitude_deg":13.0357008,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949400","hex_latitude":"07c51710","is_valid_coordinates":true} 
[2026-09-05 10:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877770752001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:48:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740139613706602496,"note":"Value kept but may cause issues"} 
[2026-09-05 10:48:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788585346000,"timestamp_ms":1788585346000,"timestamp_seconds":1788585346,"priority":1,"record_length":96,"hex_timestamp":"000001a06ffe83d0"} 
[2026-09-05 10:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:48: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-09-05 10:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 10:48:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:48:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:48:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877770752001,"66":25962,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740139613706602496},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877770752001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:48:26] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:48:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:48:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740139613706602496,"description":"Unknown IO ID 44"} 
[2026-09-05 10:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877770752001,"power":25962,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740139613706602496}} 
[2026-09-05 10:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":171430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768106,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:48:26] local.INFO: GPS data processed {"connection_id":171430,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:48:26] local.INFO: Acknowledgment sent {"connection_id":171430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:48:31] local.INFO: TCP Data received {"connection_id":171731,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:48:31] local.INFO: Processing buffer {"connection_id":171731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:48:31] local.INFO: IMEI packet received {"connection_id":171731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":171731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:48:36] local.INFO: TCP Data received {"connection_id":171731,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:48:36] local.INFO: Processing buffer {"connection_id":171731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:48:36] local.INFO: IMEI packet received {"connection_id":171731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":171731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:48:37] local.INFO: TCP Data received {"connection_id":171731,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a06ffd6e78012d52b9c0064e8ea0000800a42c..."} 
[2026-09-05 10:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ffd6e78012d52b9c0064e8ea0000800a42c..."} 
[2026-09-05 10:48:37] local.INFO: Processing buffer {"connection_id":171731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ffd6e78012d52b9c0064e8ea0000800a42c..."} 
[2026-09-05 10:48:37] local.INFO: Packet analysis {"connection_id":171731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ffd"} 
[2026-09-05 10:48:37] local.INFO: Extracted packet for processing {"connection_id":171731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ffd"} 
[2026-09-05 10:48:37] local.INFO: GPS Element Parsed {"raw_longitude":760396224,"raw_latitude":105811616,"longitude_deg":76.0396224,"latitude_deg":10.5811616,"altitude":8,"angle":164,"satellites":44,"speed":9,"hex_longitude":"2d52b9c0","hex_latitude":"064e8ea0","is_valid_coordinates":true} 
[2026-09-05 10:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877829632001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399471970443329536,"note":"Value kept but may cause issues"} 
[2026-09-05 10:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5960865977633695744,"note":"Value kept but may cause issues"} 
[2026-09-05 10:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788585275000,"timestamp_ms":1788585275000,"timestamp_seconds":1788585275,"priority":1,"record_length":96,"hex_timestamp":"000001a06ffd6e78"} 
[2026-09-05 10:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 10:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:48: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-09-05 10:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877829632001,"66":27908,"171":206,"78":62464,"24":9,"16":399471970443329536,"45":5960865977633695744},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,78,24,16,45]} 
[2026-09-05 10:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877829632001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:48:37] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-05 10:48:37] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399471970443329536,"km_value":399471970443329.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5960865977633695744,"description":"Unknown IO ID 45"} 
[2026-09-05 10:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877829632001,"power":27908,"unknown_171":206,"unknown_78":62464,"ignition":9,"odometer":null,"unknown_45":5960865977633695744}} 
[2026-09-05 10:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":171731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:48:37] local.INFO: GPS data processed {"connection_id":171731,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:48:37] local.INFO: Acknowledgment sent {"connection_id":171731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:48:45] local.INFO: TCP Data received {"connection_id":172835,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:48:45] local.INFO: Processing buffer {"connection_id":172835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:48:45] local.INFO: IMEI packet received {"connection_id":172835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":172835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:48:47] local.INFO: TCP Data received {"connection_id":174138,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174138,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:48:47] local.INFO: Processing buffer {"connection_id":174138,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:48:47] local.INFO: IMEI packet received {"connection_id":174138,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":174138,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:48:50] local.INFO: TCP Data received {"connection_id":172835,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:48:50] local.INFO: Processing buffer {"connection_id":172835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:48:50] local.INFO: IMEI packet received {"connection_id":172835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":172835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:48:51] local.INFO: TCP Data received {"connection_id":172835,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a06ffd0cd0012d196900071fedf00040011e27..."} 
[2026-09-05 10:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ffd0cd0012d196900071fedf00040011e27..."} 
[2026-09-05 10:48:51] local.INFO: Processing buffer {"connection_id":172835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ffd0cd0012d196900071fedf00040011e27..."} 
[2026-09-05 10:48:51] local.INFO: Packet analysis {"connection_id":172835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ffd"} 
[2026-09-05 10:48:51] local.INFO: Extracted packet for processing {"connection_id":172835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ffd"} 
[2026-09-05 10:48:51] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877818624001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788585250000,"timestamp_ms":1788585250000,"timestamp_seconds":1788585250,"priority":1,"record_length":96,"hex_timestamp":"000001a06ffd0cd0"} 
[2026-09-05 10:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 10:48:51] 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-09-05 10:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877818624001,"66":12385,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877818624001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:48:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:48:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877818624001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":172835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:48:51] local.INFO: GPS data processed {"connection_id":172835,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:48:51] local.INFO: Acknowledgment sent {"connection_id":172835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:48:53] local.INFO: TCP Data received {"connection_id":174138,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174138,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:48:53] local.INFO: Processing buffer {"connection_id":174138,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:48:53] local.INFO: IMEI packet received {"connection_id":174138,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":174138,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:48:54] local.INFO: TCP Data received {"connection_id":174138,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ffe83d0012c94940007c51710000700102c..."} 
[2026-09-05 10:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ffe83d0012c94940007c51710000700102c..."} 
[2026-09-05 10:48:54] local.INFO: Processing buffer {"connection_id":174138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ffe83d0012c94940007c51710000700102c..."} 
[2026-09-05 10:48:54] local.INFO: Packet analysis {"connection_id":174138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ffe"} 
[2026-09-05 10:48:54] local.INFO: Extracted packet for processing {"connection_id":174138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ffe"} 
[2026-09-05 10:48:54] local.INFO: GPS Element Parsed {"raw_longitude":747934720,"raw_latitude":130357008,"longitude_deg":74.793472,"latitude_deg":13.0357008,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949400","hex_latitude":"07c51710","is_valid_coordinates":true} 
[2026-09-05 10:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877770752001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:48:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740139613706602496,"note":"Value kept but may cause issues"} 
[2026-09-05 10:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788585346000,"timestamp_ms":1788585346000,"timestamp_seconds":1788585346,"priority":1,"record_length":96,"hex_timestamp":"000001a06ffe83d0"} 
[2026-09-05 10:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 10:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 10:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174138,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174138,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877770752001,"66":25962,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740139613706602496},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877770752001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:48:54] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:48:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:48:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740139613706602496,"description":"Unknown IO ID 44"} 
[2026-09-05 10:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877770752001,"power":25962,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740139613706602496}} 
[2026-09-05 10:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":174138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768109,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:48:54] local.INFO: GPS data processed {"connection_id":174138,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:48:54] local.INFO: Acknowledgment sent {"connection_id":174138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:49:01] local.INFO: TCP Data received {"connection_id":171431,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:49:01] local.INFO: Processing buffer {"connection_id":171431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:49:01] local.INFO: IMEI packet received {"connection_id":171431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":171431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:49:07] local.INFO: TCP Data received {"connection_id":171431,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:49:07] local.INFO: Processing buffer {"connection_id":171431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:49:07] local.INFO: IMEI packet received {"connection_id":171431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":171431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:49:07] local.INFO: TCP Data received {"connection_id":171431,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06ffd7648012d52ba80064e8c50000800982c..."} 
[2026-09-05 10:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ffd7648012d52ba80064e8c50000800982c..."} 
[2026-09-05 10:49:07] local.INFO: Processing buffer {"connection_id":171431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ffd7648012d52ba80064e8c50000800982c..."} 
[2026-09-05 10:49:07] local.INFO: Packet analysis {"connection_id":171431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ffd"} 
[2026-09-05 10:49:07] local.INFO: Extracted packet for processing {"connection_id":171431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ffd"} 
[2026-09-05 10:49:07] local.INFO: GPS Element Parsed {"raw_longitude":760396416,"raw_latitude":105811024,"longitude_deg":76.0396416,"latitude_deg":10.5811024,"altitude":8,"angle":152,"satellites":44,"speed":13,"hex_longitude":"2d52ba80","hex_latitude":"064e8c50","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877830400001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399472000508100608,"note":"Value kept but may cause issues"} 
[2026-09-05 10:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5961006715121868800,"note":"Value kept but may cause issues"} 
[2026-09-05 10:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788585277000,"timestamp_ms":1788585277000,"timestamp_seconds":1788585277,"priority":1,"record_length":96,"hex_timestamp":"000001a06ffd7648"} 
[2026-09-05 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-09-05 10:49: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-09-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 10:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 10:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877830400001,"66":27919,"171":206,"78":62464,"24":13,"16":399472000508100608,"45":5961006715121868800},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,78,24,16,45]} 
[2026-09-05 10:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877830400001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:49:07] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-05 10:49:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399472000508100608,"km_value":399472000508100.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5961006715121868800,"description":"Unknown IO ID 45"} 
[2026-09-05 10:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877830400001,"power":27919,"unknown_171":206,"unknown_78":62464,"ignition":13,"odometer":null,"unknown_45":5961006715121868800}} 
[2026-09-05 10:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":171431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:49:07] local.INFO: GPS data processed {"connection_id":171431,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:49:07] local.INFO: Acknowledgment sent {"connection_id":171431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:49:22] local.INFO: TCP Data received {"connection_id":172835,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070009328012d196900071fedf00040011e28..."} 
[2026-09-05 10:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070009328012d196900071fedf00040011e28..."} 
[2026-09-05 10:49:22] local.INFO: Processing buffer {"connection_id":172835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070009328012d196900071fedf00040011e28..."} 
[2026-09-05 10:49:22] local.INFO: Packet analysis {"connection_id":172835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07000"} 
[2026-09-05 10:49:22] local.INFO: Extracted packet for processing {"connection_id":172835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07000"} 
[2026-09-05 10:49:22] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877878016001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788585481000,"timestamp_ms":1788585481000,"timestamp_seconds":1788585481,"priority":1,"record_length":96,"hex_timestamp":"000001a070009328"} 
[2026-09-05 10:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 10:49:22] 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-09-05 10:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877878016001,"66":12341,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877878016001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:49:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:49:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877878016001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":172835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:49:22] local.INFO: GPS data processed {"connection_id":172835,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:49:22] local.INFO: Acknowledgment sent {"connection_id":172835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:49:26] local.INFO: TCP Data received {"connection_id":174138,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ffe83d0012c94940007c51710000700102c..."} 
[2026-09-05 10:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ffe83d0012c94940007c51710000700102c..."} 
[2026-09-05 10:49:26] local.INFO: Processing buffer {"connection_id":174138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ffe83d0012c94940007c51710000700102c..."} 
[2026-09-05 10:49:26] local.INFO: Packet analysis {"connection_id":174138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ffe"} 
[2026-09-05 10:49:26] local.INFO: Extracted packet for processing {"connection_id":174138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ffe"} 
[2026-09-05 10:49:26] local.INFO: GPS Element Parsed {"raw_longitude":747934720,"raw_latitude":130357008,"longitude_deg":74.793472,"latitude_deg":13.0357008,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949400","hex_latitude":"07c51710","is_valid_coordinates":true} 
[2026-09-05 10:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877770752001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:49:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740139613706602496,"note":"Value kept but may cause issues"} 
[2026-09-05 10:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788585346000,"timestamp_ms":1788585346000,"timestamp_seconds":1788585346,"priority":1,"record_length":96,"hex_timestamp":"000001a06ffe83d0"} 
[2026-09-05 10:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:49: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-09-05 10:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 10:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:49:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174138,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174138,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877770752001,"66":25962,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740139613706602496},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877770752001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:49:26] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:49:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:49:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740139613706602496,"description":"Unknown IO ID 44"} 
[2026-09-05 10:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877770752001,"power":25962,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740139613706602496}} 
[2026-09-05 10:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":174138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768112,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:49:26] local.INFO: GPS data processed {"connection_id":174138,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:49:26] local.INFO: Acknowledgment sent {"connection_id":174138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:49:38] local.INFO: TCP Data received {"connection_id":171431,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a06ffd9d58012d52c240064e7a38000b009f2c..."} 
[2026-09-05 10:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ffd9d58012d52c240064e7a38000b009f2c..."} 
[2026-09-05 10:49:38] local.INFO: Processing buffer {"connection_id":171431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ffd9d58012d52c240064e7a38000b009f2c..."} 
[2026-09-05 10:49:38] local.INFO: Packet analysis {"connection_id":171431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ffd"} 
[2026-09-05 10:49:38] local.INFO: Extracted packet for processing {"connection_id":171431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ffd"} 
[2026-09-05 10:49:38] local.INFO: GPS Element Parsed {"raw_longitude":760398400,"raw_latitude":105806392,"longitude_deg":76.03984,"latitude_deg":10.5806392,"altitude":11,"angle":159,"satellites":44,"speed":24,"hex_longitude":"2d52c240","hex_latitude":"064e7a38","is_valid_coordinates":true} 
[2026-09-05 10:49: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-09-05 10:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877830912001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399472245321236480,"note":"Value kept but may cause issues"} 
[2026-09-05 10:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5961217821354250240,"note":"Value kept but may cause issues"} 
[2026-09-05 10:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788585287000,"timestamp_ms":1788585287000,"timestamp_seconds":1788585287,"priority":1,"record_length":96,"hex_timestamp":"000001a06ffd9d58"} 
[2026-09-05 10:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:49: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-09-05 10:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 10:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:49: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-09-05 10:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877830912001,"66":27995,"171":206,"78":62464,"24":24,"16":399472245321236480,"45":5961217821354250240},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,78,24,16,45]} 
[2026-09-05 10:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877830912001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:49:38] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-05 10:49:38] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399472245321236480,"km_value":399472245321236.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5961217821354250240,"description":"Unknown IO ID 45"} 
[2026-09-05 10:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877830912001,"power":27995,"unknown_171":206,"unknown_78":62464,"ignition":24,"odometer":null,"unknown_45":5961217821354250240}} 
[2026-09-05 10:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":171431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:49:38] local.INFO: GPS data processed {"connection_id":171431,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:49:38] local.INFO: Acknowledgment sent {"connection_id":171431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:49:50] local.INFO: TCP Data received {"connection_id":174139,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:49:50] local.INFO: Processing buffer {"connection_id":174139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:49:50] local.INFO: IMEI packet received {"connection_id":174139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":174139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:49:53] local.INFO: TCP Data received {"connection_id":171732,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171732,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:49:53] local.INFO: Processing buffer {"connection_id":171732,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:49:53] local.INFO: IMEI packet received {"connection_id":171732,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":171732,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:49:55] local.INFO: TCP Data received {"connection_id":174139,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:49:55] local.INFO: Processing buffer {"connection_id":174139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:49:55] local.INFO: IMEI packet received {"connection_id":174139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":174139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:49:56] local.INFO: TCP Data received {"connection_id":174139,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07000e530012d196900071fedf00040011e28..."} 
[2026-09-05 10:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07000e530012d196900071fedf00040011e28..."} 
[2026-09-05 10:49:56] local.INFO: Processing buffer {"connection_id":174139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07000e530012d196900071fedf00040011e28..."} 
[2026-09-05 10:49:56] local.INFO: Packet analysis {"connection_id":174139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07000"} 
[2026-09-05 10:49:56] local.INFO: Extracted packet for processing {"connection_id":174139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07000"} 
[2026-09-05 10:49:56] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877883136001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788585502000,"timestamp_ms":1788585502000,"timestamp_seconds":1788585502,"priority":1,"record_length":96,"hex_timestamp":"000001a07000e530"} 
[2026-09-05 10:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:49:56] 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-09-05 10:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 10:49:56] 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-09-05 10:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877883136001,"66":12341,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877883136001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:49:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:49:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877883136001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":174139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:49:56] local.INFO: GPS data processed {"connection_id":174139,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:49:56] local.INFO: Acknowledgment sent {"connection_id":174139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:49:56] local.INFO: TCP Data received {"connection_id":174140,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:49:56] local.INFO: Processing buffer {"connection_id":174140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:49:56] local.INFO: IMEI packet received {"connection_id":174140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":174140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:49:57] local.INFO: TCP Data received {"connection_id":171732,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171732,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:49:57] local.INFO: Processing buffer {"connection_id":171732,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:49:57] local.INFO: IMEI packet received {"connection_id":171732,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":171732,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:49:59] local.INFO: TCP Data received {"connection_id":171732,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ffe83d0012c94940007c51710000700102c..."} 
[2026-09-05 10:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ffe83d0012c94940007c51710000700102c..."} 
[2026-09-05 10:49:59] local.INFO: Processing buffer {"connection_id":171732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ffe83d0012c94940007c51710000700102c..."} 
[2026-09-05 10:49:59] local.INFO: Packet analysis {"connection_id":171732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ffe"} 
[2026-09-05 10:49:59] local.INFO: Extracted packet for processing {"connection_id":171732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ffe"} 
[2026-09-05 10:49:59] local.INFO: GPS Element Parsed {"raw_longitude":747934720,"raw_latitude":130357008,"longitude_deg":74.793472,"latitude_deg":13.0357008,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949400","hex_latitude":"07c51710","is_valid_coordinates":true} 
[2026-09-05 10:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877770752001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:49:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740139613706602496,"note":"Value kept but may cause issues"} 
[2026-09-05 10:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788585346000,"timestamp_ms":1788585346000,"timestamp_seconds":1788585346,"priority":1,"record_length":96,"hex_timestamp":"000001a06ffe83d0"} 
[2026-09-05 10:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 10:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 10:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877770752001,"66":25962,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740139613706602496},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877770752001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:49:59] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:49:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:49:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740139613706602496,"description":"Unknown IO ID 44"} 
[2026-09-05 10:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877770752001,"power":25962,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740139613706602496}} 
[2026-09-05 10:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":171732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768115,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:49:59] local.INFO: GPS data processed {"connection_id":171732,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:49:59] local.INFO: Acknowledgment sent {"connection_id":171732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:50:02] local.INFO: TCP Data received {"connection_id":174140,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:50:02] local.INFO: Processing buffer {"connection_id":174140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:50:02] local.INFO: IMEI packet received {"connection_id":174140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":174140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:50:03] local.INFO: TCP Data received {"connection_id":174140,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a06ffd9d58012d52c240064e7a38000b009f2c..."} 
[2026-09-05 10:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ffd9d58012d52c240064e7a38000b009f2c..."} 
[2026-09-05 10:50:03] local.INFO: Processing buffer {"connection_id":174140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ffd9d58012d52c240064e7a38000b009f2c..."} 
[2026-09-05 10:50:03] local.INFO: Packet analysis {"connection_id":174140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ffd"} 
[2026-09-05 10:50:03] local.INFO: Extracted packet for processing {"connection_id":174140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ffd"} 
[2026-09-05 10:50:03] local.INFO: GPS Element Parsed {"raw_longitude":760398400,"raw_latitude":105806392,"longitude_deg":76.03984,"latitude_deg":10.5806392,"altitude":11,"angle":159,"satellites":44,"speed":24,"hex_longitude":"2d52c240","hex_latitude":"064e7a38","is_valid_coordinates":true} 
[2026-09-05 10:50: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-09-05 10:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877830912001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399472245321236480,"note":"Value kept but may cause issues"} 
[2026-09-05 10:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5961217821354250240,"note":"Value kept but may cause issues"} 
[2026-09-05 10:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788585287000,"timestamp_ms":1788585287000,"timestamp_seconds":1788585287,"priority":1,"record_length":96,"hex_timestamp":"000001a06ffd9d58"} 
[2026-09-05 10:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:50: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-09-05 10:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 10:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877830912001,"66":27995,"171":206,"78":62464,"24":24,"16":399472245321236480,"45":5961217821354250240},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,78,24,16,45]} 
[2026-09-05 10:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877830912001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:50:03] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-05 10:50:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399472245321236480,"km_value":399472245321236.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5961217821354250240,"description":"Unknown IO ID 45"} 
[2026-09-05 10:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877830912001,"power":27995,"unknown_171":206,"unknown_78":62464,"ignition":24,"odometer":null,"unknown_45":5961217821354250240}} 
[2026-09-05 10:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":174140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:50:03] local.INFO: GPS data processed {"connection_id":174140,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:50:03] local.INFO: Acknowledgment sent {"connection_id":174140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:50:03] local.INFO: TCP Data received {"connection_id":171732,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ffe83d0012c94940007c51710000700102c..."} 
[2026-09-05 10:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ffe83d0012c94940007c51710000700102c..."} 
[2026-09-05 10:50:03] local.INFO: Processing buffer {"connection_id":171732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ffe83d0012c94940007c51710000700102c..."} 
[2026-09-05 10:50:03] local.INFO: Packet analysis {"connection_id":171732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ffe"} 
[2026-09-05 10:50:03] local.INFO: Extracted packet for processing {"connection_id":171732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ffe"} 
[2026-09-05 10:50:03] local.INFO: GPS Element Parsed {"raw_longitude":747934720,"raw_latitude":130357008,"longitude_deg":74.793472,"latitude_deg":13.0357008,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949400","hex_latitude":"07c51710","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877770752001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:50:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740139613706602496,"note":"Value kept but may cause issues"} 
[2026-09-05 10:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788585346000,"timestamp_ms":1788585346000,"timestamp_seconds":1788585346,"priority":1,"record_length":96,"hex_timestamp":"000001a06ffe83d0"} 
[2026-09-05 10:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:50: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-09-05 10:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 10:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877770752001,"66":25962,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740139613706602496},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877770752001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:50:03] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:50:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:50:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740139613706602496,"description":"Unknown IO ID 44"} 
[2026-09-05 10:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877770752001,"power":25962,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740139613706602496}} 
[2026-09-05 10:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":171732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768117,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:50:04] local.INFO: GPS data processed {"connection_id":171732,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:50:04] local.INFO: Acknowledgment sent {"connection_id":171732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:50:27] local.INFO: TCP Data received {"connection_id":174139,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070013738012d196900071fedf00040011e28..."} 
[2026-09-05 10:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070013738012d196900071fedf00040011e28..."} 
[2026-09-05 10:50:27] local.INFO: Processing buffer {"connection_id":174139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070013738012d196900071fedf00040011e28..."} 
[2026-09-05 10:50:27] local.INFO: Packet analysis {"connection_id":174139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07001"} 
[2026-09-05 10:50:27] local.INFO: Extracted packet for processing {"connection_id":174139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07001"} 
[2026-09-05 10:50:27] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877888512001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788585523000,"timestamp_ms":1788585523000,"timestamp_seconds":1788585523,"priority":1,"record_length":96,"hex_timestamp":"000001a070013738"} 
[2026-09-05 10:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:50:27] 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-09-05 10:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 10:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877888512001,"66":12319,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877888512001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:50:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:50:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877888512001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":174139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:50:27] local.INFO: GPS data processed {"connection_id":174139,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:50:27] local.INFO: Acknowledgment sent {"connection_id":174139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:50:34] local.INFO: TCP Data received {"connection_id":174140,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a070023908012d52c840064e6bb00009009f2c..."} 
[2026-09-05 10:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070023908012d52c840064e6bb00009009f2c..."} 
[2026-09-05 10:50:34] local.INFO: Processing buffer {"connection_id":174140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070023908012d52c840064e6bb00009009f2c..."} 
[2026-09-05 10:50:34] local.INFO: Packet analysis {"connection_id":174140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07002"} 
[2026-09-05 10:50:34] local.INFO: Extracted packet for processing {"connection_id":174140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07002"} 
[2026-09-05 10:50:34] local.INFO: GPS Element Parsed {"raw_longitude":760399936,"raw_latitude":105802672,"longitude_deg":76.0399936,"latitude_deg":10.5802672,"altitude":9,"angle":159,"satellites":44,"speed":0,"hex_longitude":"2d52c840","hex_latitude":"064e6bb0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877833472001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399472245321236480,"note":"Value kept but may cause issues"} 
[2026-09-05 10:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5963399252422572032,"note":"Value kept but may cause issues"} 
[2026-09-05 10:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788585589000,"timestamp_ms":1788585589000,"timestamp_seconds":1788585589,"priority":1,"record_length":96,"hex_timestamp":"000001a070023908"} 
[2026-09-05 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-09-05 10:50: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-09-05 10:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 10:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 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-09-05 10:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877833472001,"66":26517,"171":206,"78":62464,"24":0,"16":399472245321236480,"45":5963399252422572032},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,78,24,16,45]} 
[2026-09-05 10:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877833472001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:50:34] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-05 10:50:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399472245321236480,"km_value":399472245321236.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5963399252422572032,"description":"Unknown IO ID 45"} 
[2026-09-05 10:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877833472001,"power":26517,"unknown_171":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5963399252422572032}} 
[2026-09-05 10:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":174140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:50:34] local.INFO: GPS data processed {"connection_id":174140,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:50:34] local.INFO: Acknowledgment sent {"connection_id":174140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:50:45] local.INFO: TCP Data received {"connection_id":171432,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:50:45] local.INFO: Processing buffer {"connection_id":171432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:50:45] local.INFO: IMEI packet received {"connection_id":171432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":171432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:50:46] local.INFO: TCP Data received {"connection_id":171432,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:50:46] local.INFO: Processing buffer {"connection_id":171432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:50:46] local.INFO: IMEI packet received {"connection_id":171432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":171432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:50:47] local.INFO: TCP Data received {"connection_id":171433,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171433,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:50:47] local.INFO: Processing buffer {"connection_id":171433,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:50:47] local.INFO: IMEI packet received {"connection_id":171433,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":171433,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:50:50] local.INFO: TCP Data received {"connection_id":171432,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:50:50] local.INFO: Processing buffer {"connection_id":171432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:50:50] local.INFO: IMEI packet received {"connection_id":171432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":171432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:50:51] local.INFO: TCP Data received {"connection_id":171432,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070018940012d196900071fedf00040011e28..."} 
[2026-09-05 10:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070018940012d196900071fedf00040011e28..."} 
[2026-09-05 10:50:51] local.INFO: Processing buffer {"connection_id":171432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070018940012d196900071fedf00040011e28..."} 
[2026-09-05 10:50:51] local.INFO: Packet analysis {"connection_id":171432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07001"} 
[2026-09-05 10:50:51] local.INFO: Extracted packet for processing {"connection_id":171432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07001"} 
[2026-09-05 10:50:51] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877893888001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788585544000,"timestamp_ms":1788585544000,"timestamp_seconds":1788585544,"priority":1,"record_length":96,"hex_timestamp":"000001a070018940"} 
[2026-09-05 10:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 10:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877893888001,"66":12265,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877893888001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:50:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:50:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877893888001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":171432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:50:51] local.INFO: GPS data processed {"connection_id":171432,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:50:51] local.INFO: Acknowledgment sent {"connection_id":171432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:50:53] local.INFO: TCP Data received {"connection_id":171433,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171433,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:50:53] local.INFO: Processing buffer {"connection_id":171433,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:50:53] local.INFO: IMEI packet received {"connection_id":171433,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":171433,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:50:54] local.INFO: TCP Data received {"connection_id":171433,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ffe83d0012c94940007c51710000700102c..."} 
[2026-09-05 10:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ffe83d0012c94940007c51710000700102c..."} 
[2026-09-05 10:50:54] local.INFO: Processing buffer {"connection_id":171433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ffe83d0012c94940007c51710000700102c..."} 
[2026-09-05 10:50:54] local.INFO: Packet analysis {"connection_id":171433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ffe"} 
[2026-09-05 10:50:54] local.INFO: Extracted packet for processing {"connection_id":171433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ffe"} 
[2026-09-05 10:50:54] local.INFO: GPS Element Parsed {"raw_longitude":747934720,"raw_latitude":130357008,"longitude_deg":74.793472,"latitude_deg":13.0357008,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949400","hex_latitude":"07c51710","is_valid_coordinates":true} 
[2026-09-05 10:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877770752001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:50:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740139613706602496,"note":"Value kept but may cause issues"} 
[2026-09-05 10:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788585346000,"timestamp_ms":1788585346000,"timestamp_seconds":1788585346,"priority":1,"record_length":96,"hex_timestamp":"000001a06ffe83d0"} 
[2026-09-05 10:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 10:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 10:50:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877770752001,"66":25962,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740139613706602496},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877770752001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:50:54] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:50:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:50:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740139613706602496,"description":"Unknown IO ID 44"} 
[2026-09-05 10:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877770752001,"power":25962,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740139613706602496}} 
[2026-09-05 10:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":171433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768121,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:50:55] local.INFO: GPS data processed {"connection_id":171433,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:50:55] local.INFO: Acknowledgment sent {"connection_id":171433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:50:59] local.INFO: TCP Data received {"connection_id":171433,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a06ffe83d0012c94940007c51710000700102c..."} 
[2026-09-05 10:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a06ffe83d0012c94940007c51710000700102c..."} 
[2026-09-05 10:50:59] local.INFO: Processing buffer {"connection_id":171433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a06ffe83d0012c94940007c51710000700102c..."} 
[2026-09-05 10:50:59] local.INFO: Packet analysis {"connection_id":171433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a06ffe"} 
[2026-09-05 10:50:59] local.INFO: Extracted packet for processing {"connection_id":171433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a06ffe"} 
[2026-09-05 10:50:59] local.INFO: GPS Element Parsed {"raw_longitude":747934720,"raw_latitude":130357008,"longitude_deg":74.793472,"latitude_deg":13.0357008,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949400","hex_latitude":"07c51710","is_valid_coordinates":true} 
[2026-09-05 10:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877770752001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:50:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740139613706602496,"note":"Value kept but may cause issues"} 
[2026-09-05 10:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788585346000,"timestamp_ms":1788585346000,"timestamp_seconds":1788585346,"priority":1,"record_length":96,"hex_timestamp":"000001a06ffe83d0"} 
[2026-09-05 10:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 10:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 10:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877770752001,"66":25962,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740139613706602496},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877770752001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:50:59] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:50:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:50:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740139613706602496,"description":"Unknown IO ID 44"} 
[2026-09-05 10:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877770752001,"power":25962,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740139613706602496}} 
[2026-09-05 10:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":171433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768122,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:50:59] local.INFO: GPS data processed {"connection_id":171433,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:50:59] local.INFO: Acknowledgment sent {"connection_id":171433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:51:02] local.INFO: TCP Data received {"connection_id":171733,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:51:02] local.INFO: Processing buffer {"connection_id":171733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:51:02] local.INFO: IMEI packet received {"connection_id":171733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":171733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:51:07] local.INFO: TCP Data received {"connection_id":171733,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:51:07] local.INFO: Processing buffer {"connection_id":171733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:51:07] local.INFO: IMEI packet received {"connection_id":171733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":171733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:51:08] local.INFO: TCP Data received {"connection_id":171733,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a070023908012d52c840064e6bb00009009f2c..."} 
[2026-09-05 10:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070023908012d52c840064e6bb00009009f2c..."} 
[2026-09-05 10:51:08] local.INFO: Processing buffer {"connection_id":171733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070023908012d52c840064e6bb00009009f2c..."} 
[2026-09-05 10:51:08] local.INFO: Packet analysis {"connection_id":171733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07002"} 
[2026-09-05 10:51:08] local.INFO: Extracted packet for processing {"connection_id":171733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07002"} 
[2026-09-05 10:51:08] local.INFO: GPS Element Parsed {"raw_longitude":760399936,"raw_latitude":105802672,"longitude_deg":76.0399936,"latitude_deg":10.5802672,"altitude":9,"angle":159,"satellites":44,"speed":0,"hex_longitude":"2d52c840","hex_latitude":"064e6bb0","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877833472001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399472245321236480,"note":"Value kept but may cause issues"} 
[2026-09-05 10:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5963399252422572032,"note":"Value kept but may cause issues"} 
[2026-09-05 10:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788585589000,"timestamp_ms":1788585589000,"timestamp_seconds":1788585589,"priority":1,"record_length":96,"hex_timestamp":"000001a070023908"} 
[2026-09-05 10:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:51: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-09-05 10: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 10:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:51: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-09-05 10:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877833472001,"66":26517,"171":206,"78":62464,"24":0,"16":399472245321236480,"45":5963399252422572032},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,78,24,16,45]} 
[2026-09-05 10:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877833472001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:51:08] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-05 10:51:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399472245321236480,"km_value":399472245321236.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5963399252422572032,"description":"Unknown IO ID 45"} 
[2026-09-05 10:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877833472001,"power":26517,"unknown_171":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5963399252422572032}} 
[2026-09-05 10:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":171733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:51:08] local.INFO: GPS data processed {"connection_id":171733,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:51:08] local.INFO: Acknowledgment sent {"connection_id":171733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:51:12] local.INFO: TCP Data received {"connection_id":171733,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a070023908012d52c840064e6bb00009009f2c..."} 
[2026-09-05 10:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070023908012d52c840064e6bb00009009f2c..."} 
[2026-09-05 10:51:12] local.INFO: Processing buffer {"connection_id":171733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070023908012d52c840064e6bb00009009f2c..."} 
[2026-09-05 10:51:12] local.INFO: Packet analysis {"connection_id":171733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07002"} 
[2026-09-05 10:51:12] local.INFO: Extracted packet for processing {"connection_id":171733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07002"} 
[2026-09-05 10:51:12] local.INFO: GPS Element Parsed {"raw_longitude":760399936,"raw_latitude":105802672,"longitude_deg":76.0399936,"latitude_deg":10.5802672,"altitude":9,"angle":159,"satellites":44,"speed":0,"hex_longitude":"2d52c840","hex_latitude":"064e6bb0","is_valid_coordinates":true} 
[2026-09-05 10:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877833472001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399472245321236480,"note":"Value kept but may cause issues"} 
[2026-09-05 10:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5963399252422572032,"note":"Value kept but may cause issues"} 
[2026-09-05 10:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788585589000,"timestamp_ms":1788585589000,"timestamp_seconds":1788585589,"priority":1,"record_length":96,"hex_timestamp":"000001a070023908"} 
[2026-09-05 10:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 10:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 10:51:12] 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-09-05 10:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877833472001,"66":26517,"171":206,"78":62464,"24":0,"16":399472245321236480,"45":5963399252422572032},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,78,24,16,45]} 
[2026-09-05 10:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877833472001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:51:12] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-05 10:51:12] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399472245321236480,"km_value":399472245321236.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5963399252422572032,"description":"Unknown IO ID 45"} 
[2026-09-05 10:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877833472001,"power":26517,"unknown_171":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5963399252422572032}} 
[2026-09-05 10:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":171733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:51:12] local.INFO: GPS data processed {"connection_id":171733,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:51:12] local.INFO: Acknowledgment sent {"connection_id":171733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:51:22] local.INFO: TCP Data received {"connection_id":171432,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07001db48012d196900071fedf00040011e29..."} 
[2026-09-05 10:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07001db48012d196900071fedf00040011e29..."} 
[2026-09-05 10:51:22] local.INFO: Processing buffer {"connection_id":171432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07001db48012d196900071fedf00040011e29..."} 
[2026-09-05 10:51:22] local.INFO: Packet analysis {"connection_id":171432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07001"} 
[2026-09-05 10:51:22] local.INFO: Extracted packet for processing {"connection_id":171432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07001"} 
[2026-09-05 10:51:22] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877899264001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788585565000,"timestamp_ms":1788585565000,"timestamp_seconds":1788585565,"priority":1,"record_length":96,"hex_timestamp":"000001a07001db48"} 
[2026-09-05 10:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 10:51:22] 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-09-05 10:51:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877899264001,"66":12298,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877899264001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:51:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:51:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877899264001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":171432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:51:22] local.INFO: GPS data processed {"connection_id":171432,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:51:22] local.INFO: Acknowledgment sent {"connection_id":171432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:51:31] local.INFO: TCP Data received {"connection_id":171433,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a070031b98012c94940007c51710000700102c..."} 
[2026-09-05 10:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070031b98012c94940007c51710000700102c..."} 
[2026-09-05 10:51:31] local.INFO: Processing buffer {"connection_id":171433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070031b98012c94940007c51710000700102c..."} 
[2026-09-05 10:51:31] local.INFO: Packet analysis {"connection_id":171433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07003"} 
[2026-09-05 10:51:31] local.INFO: Extracted packet for processing {"connection_id":171433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07003"} 
[2026-09-05 10:51:31] local.INFO: GPS Element Parsed {"raw_longitude":747934720,"raw_latitude":130357008,"longitude_deg":74.793472,"latitude_deg":13.0357008,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949400","hex_latitude":"07c51710","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877848576001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:51:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740561826171645952,"note":"Value kept but may cause issues"} 
[2026-09-05 10:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788585647000,"timestamp_ms":1788585647000,"timestamp_seconds":1788585647,"priority":1,"record_length":96,"hex_timestamp":"000001a070031b98"} 
[2026-09-05 10:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10: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-09-05 10:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-05 10:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877848576001,"66":25647,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740561826171645952},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877848576001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:51:31] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:51:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:51:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740561826171645952,"description":"Unknown IO ID 44"} 
[2026-09-05 10:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877848576001,"power":25647,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740561826171645952}} 
[2026-09-05 10:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":171433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768126,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:51:31] local.INFO: GPS data processed {"connection_id":171433,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:51:31] local.INFO: Acknowledgment sent {"connection_id":171433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:51:45] local.INFO: TCP Data received {"connection_id":171434,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:51:45] local.INFO: Processing buffer {"connection_id":171434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:51:45] local.INFO: IMEI packet received {"connection_id":171434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":171434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:51:48] local.INFO: TCP Data received {"connection_id":172836,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172836,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:51:48] local.INFO: Processing buffer {"connection_id":172836,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:51:48] local.INFO: IMEI packet received {"connection_id":172836,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":172836,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:51:48] local.INFO: TCP Data received {"connection_id":171434,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:51:48] local.INFO: Processing buffer {"connection_id":171434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:51:48] local.INFO: IMEI packet received {"connection_id":171434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":171434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:51:49] local.INFO: TCP Data received {"connection_id":171434,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070022d50012d196900071fedf00040011e27..."} 
[2026-09-05 10:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070022d50012d196900071fedf00040011e27..."} 
[2026-09-05 10:51:49] local.INFO: Processing buffer {"connection_id":171434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070022d50012d196900071fedf00040011e27..."} 
[2026-09-05 10:51:49] local.INFO: Packet analysis {"connection_id":171434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07002"} 
[2026-09-05 10:51:49] local.INFO: Extracted packet for processing {"connection_id":171434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07002"} 
[2026-09-05 10:51:49] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877904640001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788585586000,"timestamp_ms":1788585586000,"timestamp_seconds":1788585586,"priority":1,"record_length":96,"hex_timestamp":"000001a070022d50"} 
[2026-09-05 10:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-05 10:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513390497595654430,"note":"Value kept but may cause issues"} 
[2026-09-05 10:51:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-05 10:51:49] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185662,"note":"Value kept but may cause issues"} 
[2026-09-05 10:51:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 10:51:49] local.WARNING: Large IO value detected {"io_id":17,"raw_value":-9151314442816847871,"note":"Value kept but may cause issues"} 
[2026-09-05 10:51:49] local.WARNING: Large IO value detected {"io_id":160,"raw_value":8070346044303284585,"note":"Value kept but may cause issues"} 
[2026-09-05 10:51:49] local.WARNING: Large IO value detected {"io_id":64,"raw_value":80544724292730880,"note":"Value kept but may cause issues"} 
[2026-09-05 10:51:49] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832567,"note":"Value kept but may cause issues"} 
[2026-09-05 10:51:49] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-09-05 10:51:49] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3991928896,"note":"Value kept but may cause issues"} 
[2026-09-05 10:51:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-05 10:51:49] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,17,160,137,45,237,64,40,10,66,55,229,1,240,53,227,112,31,4,113,205,69,105,39,239,48,2,62,7,41],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-05 10:51:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4612000654846590976,"timestamp_seconds":4612000654846591.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 10:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":171434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":171434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":171434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877904640001,"66":12287,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877904640001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:51:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:51:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877904640001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":171434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:51:49] local.INFO: GPS data processed {"connection_id":171434,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:51:49] local.INFO: Acknowledgment sent {"connection_id":171434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:51:53] local.INFO: TCP Data received {"connection_id":172836,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172836,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:51:53] local.INFO: Processing buffer {"connection_id":172836,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:51:53] local.INFO: IMEI packet received {"connection_id":172836,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":172836,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:51:54] local.INFO: TCP Data received {"connection_id":172836,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a070031b98012c94940007c51710000700102c..."} 
[2026-09-05 10:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070031b98012c94940007c51710000700102c..."} 
[2026-09-05 10:51:54] local.INFO: Processing buffer {"connection_id":172836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070031b98012c94940007c51710000700102c..."} 
[2026-09-05 10:51:54] local.INFO: Packet analysis {"connection_id":172836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07003"} 
[2026-09-05 10:51:54] local.INFO: Extracted packet for processing {"connection_id":172836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07003"} 
[2026-09-05 10:51:54] local.INFO: GPS Element Parsed {"raw_longitude":747934720,"raw_latitude":130357008,"longitude_deg":74.793472,"latitude_deg":13.0357008,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949400","hex_latitude":"07c51710","is_valid_coordinates":true} 
[2026-09-05 10:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877848576001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:51:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740561826171645952,"note":"Value kept but may cause issues"} 
[2026-09-05 10:51:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788585647000,"timestamp_ms":1788585647000,"timestamp_seconds":1788585647,"priority":1,"record_length":96,"hex_timestamp":"000001a070031b98"} 
[2026-09-05 10:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:51:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 10:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-05 10:51:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:51:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172836,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172836,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:51:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877848576001,"66":25647,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740561826171645952},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877848576001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:51:54] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:51:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:51:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740561826171645952,"description":"Unknown IO ID 44"} 
[2026-09-05 10:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877848576001,"power":25647,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740561826171645952}} 
[2026-09-05 10:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":172836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768128,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:51:54] local.INFO: GPS data processed {"connection_id":172836,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:51:54] local.INFO: Acknowledgment sent {"connection_id":172836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:51:57] local.INFO: TCP Data received {"connection_id":171435,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:51:57] local.INFO: Processing buffer {"connection_id":171435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:51:57] local.INFO: IMEI packet received {"connection_id":171435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":171435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:52:02] local.INFO: TCP Data received {"connection_id":171435,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:52:02] local.INFO: Processing buffer {"connection_id":171435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:52:02] local.INFO: IMEI packet received {"connection_id":171435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":171435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:52:03] local.INFO: TCP Data received {"connection_id":171435,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a070023908012d52c840064e6bb00009009f2c..."} 
[2026-09-05 10:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070023908012d52c840064e6bb00009009f2c..."} 
[2026-09-05 10:52:03] local.INFO: Processing buffer {"connection_id":171435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070023908012d52c840064e6bb00009009f2c..."} 
[2026-09-05 10:52:03] local.INFO: Packet analysis {"connection_id":171435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07002"} 
[2026-09-05 10:52:03] local.INFO: Extracted packet for processing {"connection_id":171435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07002"} 
[2026-09-05 10:52:03] local.INFO: GPS Element Parsed {"raw_longitude":760399936,"raw_latitude":105802672,"longitude_deg":76.0399936,"latitude_deg":10.5802672,"altitude":9,"angle":159,"satellites":44,"speed":0,"hex_longitude":"2d52c840","hex_latitude":"064e6bb0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877833472001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399472245321236480,"note":"Value kept but may cause issues"} 
[2026-09-05 10:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5963399252422572032,"note":"Value kept but may cause issues"} 
[2026-09-05 10:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788585589000,"timestamp_ms":1788585589000,"timestamp_seconds":1788585589,"priority":1,"record_length":96,"hex_timestamp":"000001a070023908"} 
[2026-09-05 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-09-05 10:52: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-09-05 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 10:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 10:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:52: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-09-05 10:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877833472001,"66":26517,"171":206,"78":62464,"24":0,"16":399472245321236480,"45":5963399252422572032},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,78,24,16,45]} 
[2026-09-05 10:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877833472001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:52:03] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-05 10:52:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399472245321236480,"km_value":399472245321236.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5963399252422572032,"description":"Unknown IO ID 45"} 
[2026-09-05 10:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877833472001,"power":26517,"unknown_171":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5963399252422572032}} 
[2026-09-05 10:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":171435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:52:03] local.INFO: GPS data processed {"connection_id":171435,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:52:03] local.INFO: Acknowledgment sent {"connection_id":171435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:52:20] local.INFO: TCP Data received {"connection_id":171434,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070027f58012d196900071fedf00040011e28..."} 
[2026-09-05 10:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070027f58012d196900071fedf00040011e28..."} 
[2026-09-05 10:52:20] local.INFO: Processing buffer {"connection_id":171434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070027f58012d196900071fedf00040011e28..."} 
[2026-09-05 10:52:20] local.INFO: Packet analysis {"connection_id":171434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07002"} 
[2026-09-05 10:52:20] local.INFO: Extracted packet for processing {"connection_id":171434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07002"} 
[2026-09-05 10:52:20] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877910016001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788585607000,"timestamp_ms":1788585607000,"timestamp_seconds":1788585607,"priority":1,"record_length":96,"hex_timestamp":"000001a070027f58"} 
[2026-09-05 10:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 10:52:20] 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-09-05 10:52:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":171434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":171434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":171434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877910016001,"66":12287,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877910016001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:52:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:52:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877910016001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":171434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:52:20] local.INFO: GPS data processed {"connection_id":171434,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:52:20] local.INFO: Acknowledgment sent {"connection_id":171434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:52:26] local.INFO: TCP Data received {"connection_id":172836,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a070031b98012c94940007c51710000700102c..."} 
[2026-09-05 10:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070031b98012c94940007c51710000700102c..."} 
[2026-09-05 10:52:26] local.INFO: Processing buffer {"connection_id":172836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070031b98012c94940007c51710000700102c..."} 
[2026-09-05 10:52:26] local.INFO: Packet analysis {"connection_id":172836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07003"} 
[2026-09-05 10:52:26] local.INFO: Extracted packet for processing {"connection_id":172836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07003"} 
[2026-09-05 10:52:26] local.INFO: GPS Element Parsed {"raw_longitude":747934720,"raw_latitude":130357008,"longitude_deg":74.793472,"latitude_deg":13.0357008,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949400","hex_latitude":"07c51710","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877848576001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:52:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740561826171645952,"note":"Value kept but may cause issues"} 
[2026-09-05 10:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788585647000,"timestamp_ms":1788585647000,"timestamp_seconds":1788585647,"priority":1,"record_length":96,"hex_timestamp":"000001a070031b98"} 
[2026-09-05 10:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:52: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-09-05 10: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-05 10:52:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172836,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172836,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877848576001,"66":25647,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740561826171645952},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877848576001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:52:26] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:52:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:52:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740561826171645952,"description":"Unknown IO ID 44"} 
[2026-09-05 10:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877848576001,"power":25647,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740561826171645952}} 
[2026-09-05 10:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":172836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768131,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:52:26] local.INFO: GPS data processed {"connection_id":172836,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:52:26] local.INFO: Acknowledgment sent {"connection_id":172836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:52:34] local.INFO: TCP Data received {"connection_id":171435,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a070023908012d52c840064e6bb00009009f2c..."} 
[2026-09-05 10:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070023908012d52c840064e6bb00009009f2c..."} 
[2026-09-05 10:52:34] local.INFO: Processing buffer {"connection_id":171435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070023908012d52c840064e6bb00009009f2c..."} 
[2026-09-05 10:52:34] local.INFO: Packet analysis {"connection_id":171435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07002"} 
[2026-09-05 10:52:34] local.INFO: Extracted packet for processing {"connection_id":171435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07002"} 
[2026-09-05 10:52:34] local.INFO: GPS Element Parsed {"raw_longitude":760399936,"raw_latitude":105802672,"longitude_deg":76.0399936,"latitude_deg":10.5802672,"altitude":9,"angle":159,"satellites":44,"speed":0,"hex_longitude":"2d52c840","hex_latitude":"064e6bb0","is_valid_coordinates":true} 
[2026-09-05 10:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877833472001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399472245321236480,"note":"Value kept but may cause issues"} 
[2026-09-05 10:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5963399252422572032,"note":"Value kept but may cause issues"} 
[2026-09-05 10:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788585589000,"timestamp_ms":1788585589000,"timestamp_seconds":1788585589,"priority":1,"record_length":96,"hex_timestamp":"000001a070023908"} 
[2026-09-05 10:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:52: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-09-05 10:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 10:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877833472001,"66":26517,"171":206,"78":62464,"24":0,"16":399472245321236480,"45":5963399252422572032},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,78,24,16,45]} 
[2026-09-05 10:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877833472001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:52:34] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-05 10:52:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399472245321236480,"km_value":399472245321236.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5963399252422572032,"description":"Unknown IO ID 45"} 
[2026-09-05 10:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877833472001,"power":26517,"unknown_171":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5963399252422572032}} 
[2026-09-05 10:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":171435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:52:34] local.INFO: GPS data processed {"connection_id":171435,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:52:34] local.INFO: Acknowledgment sent {"connection_id":171435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:52:45] local.INFO: TCP Data received {"connection_id":171734,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:52:45] local.INFO: Processing buffer {"connection_id":171734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:52:45] local.INFO: IMEI packet received {"connection_id":171734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":171734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:52:48] local.INFO: TCP Data received {"connection_id":171735,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171735,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:52:48] local.INFO: Processing buffer {"connection_id":171735,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:52:48] local.INFO: IMEI packet received {"connection_id":171735,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":171735,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:52:50] local.INFO: TCP Data received {"connection_id":171734,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:52:50] local.INFO: Processing buffer {"connection_id":171734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:52:50] local.INFO: IMEI packet received {"connection_id":171734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":171734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:52:51] local.INFO: TCP Data received {"connection_id":171734,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07002d160012d196900071fedf00040011e27..."} 
[2026-09-05 10:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07002d160012d196900071fedf00040011e27..."} 
[2026-09-05 10:52:51] local.INFO: Processing buffer {"connection_id":171734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07002d160012d196900071fedf00040011e27..."} 
[2026-09-05 10:52:51] local.INFO: Packet analysis {"connection_id":171734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07002"} 
[2026-09-05 10:52:51] local.INFO: Extracted packet for processing {"connection_id":171734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07002"} 
[2026-09-05 10:52:51] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877915392001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788585628000,"timestamp_ms":1788585628000,"timestamp_seconds":1788585628,"priority":1,"record_length":96,"hex_timestamp":"000001a07002d160"} 
[2026-09-05 10:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:52:51] 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-09-05 10:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 10:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877915392001,"66":12287,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877915392001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:52:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:52:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877915392001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":171734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:52:51] local.INFO: GPS data processed {"connection_id":171734,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:52:51] local.INFO: Acknowledgment sent {"connection_id":171734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:52:53] local.INFO: TCP Data received {"connection_id":171735,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171735,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:52:53] local.INFO: Processing buffer {"connection_id":171735,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:52:53] local.INFO: IMEI packet received {"connection_id":171735,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":171735,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:52:54] local.INFO: TCP Data received {"connection_id":171735,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a070031b98012c94940007c51710000700102c..."} 
[2026-09-05 10:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070031b98012c94940007c51710000700102c..."} 
[2026-09-05 10:52:54] local.INFO: Processing buffer {"connection_id":171735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070031b98012c94940007c51710000700102c..."} 
[2026-09-05 10:52:54] local.INFO: Packet analysis {"connection_id":171735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07003"} 
[2026-09-05 10:52:54] local.INFO: Extracted packet for processing {"connection_id":171735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07003"} 
[2026-09-05 10:52:54] local.INFO: GPS Element Parsed {"raw_longitude":747934720,"raw_latitude":130357008,"longitude_deg":74.793472,"latitude_deg":13.0357008,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949400","hex_latitude":"07c51710","is_valid_coordinates":true} 
[2026-09-05 10:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877848576001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:52:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740561826171645952,"note":"Value kept but may cause issues"} 
[2026-09-05 10:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788585647000,"timestamp_ms":1788585647000,"timestamp_seconds":1788585647,"priority":1,"record_length":96,"hex_timestamp":"000001a070031b98"} 
[2026-09-05 10:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 10:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-05 10:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171735,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171735,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877848576001,"66":25647,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740561826171645952},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877848576001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:52:54] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:52:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:52:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740561826171645952,"description":"Unknown IO ID 44"} 
[2026-09-05 10:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877848576001,"power":25647,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740561826171645952}} 
[2026-09-05 10:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":171735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768134,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:52:54] local.INFO: GPS data processed {"connection_id":171735,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:52:54] local.INFO: Acknowledgment sent {"connection_id":171735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:52:57] local.INFO: TCP Data received {"connection_id":172837,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:52:57] local.INFO: Processing buffer {"connection_id":172837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:52:57] local.INFO: IMEI packet received {"connection_id":172837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":172837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:53:02] local.INFO: TCP Data received {"connection_id":172837,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:53:02] local.INFO: Processing buffer {"connection_id":172837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:53:02] local.INFO: IMEI packet received {"connection_id":172837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":172837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:53:03] local.INFO: TCP Data received {"connection_id":172837,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a070023908012d52c840064e6bb00009009f2c..."} 
[2026-09-05 10:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070023908012d52c840064e6bb00009009f2c..."} 
[2026-09-05 10:53:03] local.INFO: Processing buffer {"connection_id":172837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070023908012d52c840064e6bb00009009f2c..."} 
[2026-09-05 10:53:03] local.INFO: Packet analysis {"connection_id":172837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07002"} 
[2026-09-05 10:53:03] local.INFO: Extracted packet for processing {"connection_id":172837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07002"} 
[2026-09-05 10:53:03] local.INFO: GPS Element Parsed {"raw_longitude":760399936,"raw_latitude":105802672,"longitude_deg":76.0399936,"latitude_deg":10.5802672,"altitude":9,"angle":159,"satellites":44,"speed":0,"hex_longitude":"2d52c840","hex_latitude":"064e6bb0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877833472001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399472245321236480,"note":"Value kept but may cause issues"} 
[2026-09-05 10:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5963399252422572032,"note":"Value kept but may cause issues"} 
[2026-09-05 10:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788585589000,"timestamp_ms":1788585589000,"timestamp_seconds":1788585589,"priority":1,"record_length":96,"hex_timestamp":"000001a070023908"} 
[2026-09-05 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-09-05 10:53: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-09-05 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 10:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 10:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:53: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-09-05 10:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877833472001,"66":26517,"171":206,"78":62464,"24":0,"16":399472245321236480,"45":5963399252422572032},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,78,24,16,45]} 
[2026-09-05 10:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877833472001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:53:03] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-05 10:53:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399472245321236480,"km_value":399472245321236.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5963399252422572032,"description":"Unknown IO ID 45"} 
[2026-09-05 10:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877833472001,"power":26517,"unknown_171":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5963399252422572032}} 
[2026-09-05 10:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":172837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:53:03] local.INFO: GPS data processed {"connection_id":172837,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:53:03] local.INFO: Acknowledgment sent {"connection_id":172837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:53:22] local.INFO: TCP Data received {"connection_id":171734,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070032368012d196900071fedf00040011e28..."} 
[2026-09-05 10:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070032368012d196900071fedf00040011e28..."} 
[2026-09-05 10:53:22] local.INFO: Processing buffer {"connection_id":171734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070032368012d196900071fedf00040011e28..."} 
[2026-09-05 10:53:22] local.INFO: Packet analysis {"connection_id":171734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07003"} 
[2026-09-05 10:53:22] local.INFO: Extracted packet for processing {"connection_id":171734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07003"} 
[2026-09-05 10:53:22] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877920768001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788585649000,"timestamp_ms":1788585649000,"timestamp_seconds":1788585649,"priority":1,"record_length":96,"hex_timestamp":"000001a070032368"} 
[2026-09-05 10:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 10:53:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:53:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877920768001,"66":12287,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877920768001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:53:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:53:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877920768001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":171734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:53:22] local.INFO: GPS data processed {"connection_id":171734,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:53:22] local.INFO: Acknowledgment sent {"connection_id":171734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:53:26] local.INFO: TCP Data received {"connection_id":171735,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a070031b98012c94940007c51710000700102c..."} 
[2026-09-05 10:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070031b98012c94940007c51710000700102c..."} 
[2026-09-05 10:53:26] local.INFO: Processing buffer {"connection_id":171735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070031b98012c94940007c51710000700102c..."} 
[2026-09-05 10:53:26] local.INFO: Packet analysis {"connection_id":171735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07003"} 
[2026-09-05 10:53:26] local.INFO: Extracted packet for processing {"connection_id":171735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07003"} 
[2026-09-05 10:53:26] local.INFO: GPS Element Parsed {"raw_longitude":747934720,"raw_latitude":130357008,"longitude_deg":74.793472,"latitude_deg":13.0357008,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949400","hex_latitude":"07c51710","is_valid_coordinates":true} 
[2026-09-05 10:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877848576001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:53:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740561826171645952,"note":"Value kept but may cause issues"} 
[2026-09-05 10:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788585647000,"timestamp_ms":1788585647000,"timestamp_seconds":1788585647,"priority":1,"record_length":96,"hex_timestamp":"000001a070031b98"} 
[2026-09-05 10:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:53: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-09-05 10:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-05 10:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171735,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171735,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877848576001,"66":25647,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740561826171645952},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877848576001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:53:26] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:53:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:53:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740561826171645952,"description":"Unknown IO ID 44"} 
[2026-09-05 10:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877848576001,"power":25647,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740561826171645952}} 
[2026-09-05 10:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":171735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768137,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:53:26] local.INFO: GPS data processed {"connection_id":171735,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:53:26] local.INFO: Acknowledgment sent {"connection_id":171735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:53:34] local.INFO: TCP Data received {"connection_id":172837,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a070023908012d52c840064e6bb00009009f2c..."} 
[2026-09-05 10:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070023908012d52c840064e6bb00009009f2c..."} 
[2026-09-05 10:53:34] local.INFO: Processing buffer {"connection_id":172837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070023908012d52c840064e6bb00009009f2c..."} 
[2026-09-05 10:53:34] local.INFO: Packet analysis {"connection_id":172837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07002"} 
[2026-09-05 10:53:34] local.INFO: Extracted packet for processing {"connection_id":172837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07002"} 
[2026-09-05 10:53:34] local.INFO: GPS Element Parsed {"raw_longitude":760399936,"raw_latitude":105802672,"longitude_deg":76.0399936,"latitude_deg":10.5802672,"altitude":9,"angle":159,"satellites":44,"speed":0,"hex_longitude":"2d52c840","hex_latitude":"064e6bb0","is_valid_coordinates":true} 
[2026-09-05 10:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877833472001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399472245321236480,"note":"Value kept but may cause issues"} 
[2026-09-05 10:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5963399252422572032,"note":"Value kept but may cause issues"} 
[2026-09-05 10:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788585589000,"timestamp_ms":1788585589000,"timestamp_seconds":1788585589,"priority":1,"record_length":96,"hex_timestamp":"000001a070023908"} 
[2026-09-05 10:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:53: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-09-05 10:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 10:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877833472001,"66":26517,"171":206,"78":62464,"24":0,"16":399472245321236480,"45":5963399252422572032},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,78,24,16,45]} 
[2026-09-05 10:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877833472001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:53:34] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-05 10:53:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399472245321236480,"km_value":399472245321236.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5963399252422572032,"description":"Unknown IO ID 45"} 
[2026-09-05 10:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877833472001,"power":26517,"unknown_171":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5963399252422572032}} 
[2026-09-05 10:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":172837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:53:34] local.INFO: GPS data processed {"connection_id":172837,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:53:34] local.INFO: Acknowledgment sent {"connection_id":172837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:53:45] local.INFO: TCP Data received {"connection_id":171736,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:53:45] local.INFO: Processing buffer {"connection_id":171736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:53:45] local.INFO: IMEI packet received {"connection_id":171736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":171736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:53:47] local.INFO: TCP Data received {"connection_id":171436,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:53:47] local.INFO: Processing buffer {"connection_id":171436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:53:47] local.INFO: IMEI packet received {"connection_id":171436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":171436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:53:50] local.INFO: TCP Data received {"connection_id":171736,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:53:50] local.INFO: Processing buffer {"connection_id":171736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:53:50] local.INFO: IMEI packet received {"connection_id":171736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":171736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:53:51] local.INFO: TCP Data received {"connection_id":171736,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070037570012d196900071fedf00040011e2a..."} 
[2026-09-05 10:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070037570012d196900071fedf00040011e2a..."} 
[2026-09-05 10:53:51] local.INFO: Processing buffer {"connection_id":171736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070037570012d196900071fedf00040011e2a..."} 
[2026-09-05 10:53:51] local.INFO: Packet analysis {"connection_id":171736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07003"} 
[2026-09-05 10:53:51] local.INFO: Extracted packet for processing {"connection_id":171736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07003"} 
[2026-09-05 10:53:51] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877926144001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788585670000,"timestamp_ms":1788585670000,"timestamp_seconds":1788585670,"priority":1,"record_length":96,"hex_timestamp":"000001a070037570"} 
[2026-09-05 10:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:53:51] 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-09-05 10:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 10:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877926144001,"66":12287,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877926144001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:53:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:53:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877926144001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":171736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:53:51] local.INFO: GPS data processed {"connection_id":171736,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:53:51] local.INFO: Acknowledgment sent {"connection_id":171736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:53:53] local.INFO: TCP Data received {"connection_id":171436,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:53:53] local.INFO: Processing buffer {"connection_id":171436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:53:53] local.INFO: IMEI packet received {"connection_id":171436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":171436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:53:54] local.INFO: TCP Data received {"connection_id":171436,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a070031b98012c94940007c51710000700102c..."} 
[2026-09-05 10:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070031b98012c94940007c51710000700102c..."} 
[2026-09-05 10:53:54] local.INFO: Processing buffer {"connection_id":171436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070031b98012c94940007c51710000700102c..."} 
[2026-09-05 10:53:54] local.INFO: Packet analysis {"connection_id":171436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07003"} 
[2026-09-05 10:53:54] local.INFO: Extracted packet for processing {"connection_id":171436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07003"} 
[2026-09-05 10:53:54] local.INFO: GPS Element Parsed {"raw_longitude":747934720,"raw_latitude":130357008,"longitude_deg":74.793472,"latitude_deg":13.0357008,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949400","hex_latitude":"07c51710","is_valid_coordinates":true} 
[2026-09-05 10:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877848576001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:53:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740561826171645952,"note":"Value kept but may cause issues"} 
[2026-09-05 10:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788585647000,"timestamp_ms":1788585647000,"timestamp_seconds":1788585647,"priority":1,"record_length":96,"hex_timestamp":"000001a070031b98"} 
[2026-09-05 10:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 10:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-05 10:53:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:53:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877848576001,"66":25647,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740561826171645952},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877848576001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:53:54] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:53:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:53:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740561826171645952,"description":"Unknown IO ID 44"} 
[2026-09-05 10:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877848576001,"power":25647,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740561826171645952}} 
[2026-09-05 10:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":171436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768140,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:53:54] local.INFO: GPS data processed {"connection_id":171436,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:53:54] local.INFO: Acknowledgment sent {"connection_id":171436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:53:56] local.INFO: TCP Data received {"connection_id":171437,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:53:56] local.INFO: Processing buffer {"connection_id":171437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:53:56] local.INFO: IMEI packet received {"connection_id":171437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":171437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:54:02] local.INFO: TCP Data received {"connection_id":171437,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:54:02] local.INFO: Processing buffer {"connection_id":171437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:54:02] local.INFO: IMEI packet received {"connection_id":171437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":171437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:54:03] local.INFO: TCP Data received {"connection_id":171437,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a070023908012d52c840064e6bb00009009f2c..."} 
[2026-09-05 10:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070023908012d52c840064e6bb00009009f2c..."} 
[2026-09-05 10:54:03] local.INFO: Processing buffer {"connection_id":171437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070023908012d52c840064e6bb00009009f2c..."} 
[2026-09-05 10:54:03] local.INFO: Packet analysis {"connection_id":171437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07002"} 
[2026-09-05 10:54:03] local.INFO: Extracted packet for processing {"connection_id":171437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07002"} 
[2026-09-05 10:54:03] local.INFO: GPS Element Parsed {"raw_longitude":760399936,"raw_latitude":105802672,"longitude_deg":76.0399936,"latitude_deg":10.5802672,"altitude":9,"angle":159,"satellites":44,"speed":0,"hex_longitude":"2d52c840","hex_latitude":"064e6bb0","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877833472001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399472245321236480,"note":"Value kept but may cause issues"} 
[2026-09-05 10:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5963399252422572032,"note":"Value kept but may cause issues"} 
[2026-09-05 10:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788585589000,"timestamp_ms":1788585589000,"timestamp_seconds":1788585589,"priority":1,"record_length":96,"hex_timestamp":"000001a070023908"} 
[2026-09-05 10:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:54: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-09-05 10:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 10:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:54: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-09-05 10:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877833472001,"66":26517,"171":206,"78":62464,"24":0,"16":399472245321236480,"45":5963399252422572032},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,78,24,16,45]} 
[2026-09-05 10:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877833472001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:54:03] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-05 10:54:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399472245321236480,"km_value":399472245321236.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5963399252422572032,"description":"Unknown IO ID 45"} 
[2026-09-05 10:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877833472001,"power":26517,"unknown_171":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5963399252422572032}} 
[2026-09-05 10:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":171437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:54:03] local.INFO: GPS data processed {"connection_id":171437,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:54:03] local.INFO: Acknowledgment sent {"connection_id":171437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:54:22] local.INFO: TCP Data received {"connection_id":171736,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07003c778012d196900071fedf00040011e29..."} 
[2026-09-05 10:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07003c778012d196900071fedf00040011e29..."} 
[2026-09-05 10:54:22] local.INFO: Processing buffer {"connection_id":171736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07003c778012d196900071fedf00040011e29..."} 
[2026-09-05 10:54:22] local.INFO: Packet analysis {"connection_id":171736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07003"} 
[2026-09-05 10:54:22] local.INFO: Extracted packet for processing {"connection_id":171736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07003"} 
[2026-09-05 10:54:22] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877931520001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788585691000,"timestamp_ms":1788585691000,"timestamp_seconds":1788585691,"priority":1,"record_length":96,"hex_timestamp":"000001a07003c778"} 
[2026-09-05 10:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 10:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877931520001,"66":12287,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877931520001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:54:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:54:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877931520001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":171736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:54:22] local.INFO: GPS data processed {"connection_id":171736,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:54:22] local.INFO: Acknowledgment sent {"connection_id":171736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:54:26] local.INFO: TCP Data received {"connection_id":171436,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a070031b98012c94940007c51710000700102c..."} 
[2026-09-05 10:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070031b98012c94940007c51710000700102c..."} 
[2026-09-05 10:54:26] local.INFO: Processing buffer {"connection_id":171436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070031b98012c94940007c51710000700102c..."} 
[2026-09-05 10:54:26] local.INFO: Packet analysis {"connection_id":171436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07003"} 
[2026-09-05 10:54:26] local.INFO: Extracted packet for processing {"connection_id":171436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07003"} 
[2026-09-05 10:54:26] local.INFO: GPS Element Parsed {"raw_longitude":747934720,"raw_latitude":130357008,"longitude_deg":74.793472,"latitude_deg":13.0357008,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949400","hex_latitude":"07c51710","is_valid_coordinates":true} 
[2026-09-05 10:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877848576001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:54:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740561826171645952,"note":"Value kept but may cause issues"} 
[2026-09-05 10:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788585647000,"timestamp_ms":1788585647000,"timestamp_seconds":1788585647,"priority":1,"record_length":96,"hex_timestamp":"000001a070031b98"} 
[2026-09-05 10:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:54: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-09-05 10:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-05 10:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877848576001,"66":25647,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740561826171645952},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877848576001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:54:26] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:54:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:54:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740561826171645952,"description":"Unknown IO ID 44"} 
[2026-09-05 10:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877848576001,"power":25647,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740561826171645952}} 
[2026-09-05 10:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":171436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768143,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:54:26] local.INFO: GPS data processed {"connection_id":171436,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:54:26] local.INFO: Acknowledgment sent {"connection_id":171436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:54:34] local.INFO: TCP Data received {"connection_id":171437,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a070023908012d52c840064e6bb00009009f2c..."} 
[2026-09-05 10:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070023908012d52c840064e6bb00009009f2c..."} 
[2026-09-05 10:54:34] local.INFO: Processing buffer {"connection_id":171437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070023908012d52c840064e6bb00009009f2c..."} 
[2026-09-05 10:54:34] local.INFO: Packet analysis {"connection_id":171437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07002"} 
[2026-09-05 10:54:34] local.INFO: Extracted packet for processing {"connection_id":171437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07002"} 
[2026-09-05 10:54:34] local.INFO: GPS Element Parsed {"raw_longitude":760399936,"raw_latitude":105802672,"longitude_deg":76.0399936,"latitude_deg":10.5802672,"altitude":9,"angle":159,"satellites":44,"speed":0,"hex_longitude":"2d52c840","hex_latitude":"064e6bb0","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877833472001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399472245321236480,"note":"Value kept but may cause issues"} 
[2026-09-05 10:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5963399252422572032,"note":"Value kept but may cause issues"} 
[2026-09-05 10:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788585589000,"timestamp_ms":1788585589000,"timestamp_seconds":1788585589,"priority":1,"record_length":96,"hex_timestamp":"000001a070023908"} 
[2026-09-05 10:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:54: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-09-05 10: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 10:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877833472001,"66":26517,"171":206,"78":62464,"24":0,"16":399472245321236480,"45":5963399252422572032},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,78,24,16,45]} 
[2026-09-05 10:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877833472001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:54:34] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-05 10:54:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399472245321236480,"km_value":399472245321236.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5963399252422572032,"description":"Unknown IO ID 45"} 
[2026-09-05 10:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877833472001,"power":26517,"unknown_171":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5963399252422572032}} 
[2026-09-05 10:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":171437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:54:34] local.INFO: GPS data processed {"connection_id":171437,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:54:34] local.INFO: Acknowledgment sent {"connection_id":171437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:54:45] local.INFO: TCP Data received {"connection_id":171438,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:54:45] local.INFO: Processing buffer {"connection_id":171438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:54:45] local.INFO: IMEI packet received {"connection_id":171438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":171438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:54:50] local.INFO: TCP Data received {"connection_id":171438,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:54:50] local.INFO: Processing buffer {"connection_id":171438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:54:50] local.INFO: IMEI packet received {"connection_id":171438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":171438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:54:51] local.INFO: TCP Data received {"connection_id":171438,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070041980012d196900071fedf00040011e29..."} 
[2026-09-05 10:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070041980012d196900071fedf00040011e29..."} 
[2026-09-05 10:54:51] local.INFO: Processing buffer {"connection_id":171438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070041980012d196900071fedf00040011e29..."} 
[2026-09-05 10:54:51] local.INFO: Packet analysis {"connection_id":171438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07004"} 
[2026-09-05 10:54:51] local.INFO: Extracted packet for processing {"connection_id":171438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07004"} 
[2026-09-05 10:54:51] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877936896001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788585712000,"timestamp_ms":1788585712000,"timestamp_seconds":1788585712,"priority":1,"record_length":96,"hex_timestamp":"000001a070041980"} 
[2026-09-05 10:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:54:51] 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-09-05 10:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 10:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877936896001,"66":12265,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877936896001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:54:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:54:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877936896001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":171438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:54:51] local.INFO: GPS data processed {"connection_id":171438,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:54:51] local.INFO: Acknowledgment sent {"connection_id":171438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:54:53] local.INFO: TCP Data received {"connection_id":172838,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:54:53] local.INFO: Processing buffer {"connection_id":172838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:54:53] local.INFO: IMEI packet received {"connection_id":172838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":172838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:54:56] local.INFO: TCP Data received {"connection_id":171439,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:54:56] local.INFO: Processing buffer {"connection_id":171439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:54:56] local.INFO: IMEI packet received {"connection_id":171439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":171439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:54:58] local.INFO: TCP Data received {"connection_id":172838,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:54:58] local.INFO: Processing buffer {"connection_id":172838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:54:58] local.INFO: IMEI packet received {"connection_id":172838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":172838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:54:59] local.INFO: TCP Data received {"connection_id":172838,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a070031b98012c94940007c51710000700102c..."} 
[2026-09-05 10:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070031b98012c94940007c51710000700102c..."} 
[2026-09-05 10:54:59] local.INFO: Processing buffer {"connection_id":172838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070031b98012c94940007c51710000700102c..."} 
[2026-09-05 10:54:59] local.INFO: Packet analysis {"connection_id":172838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07003"} 
[2026-09-05 10:54:59] local.INFO: Extracted packet for processing {"connection_id":172838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07003"} 
[2026-09-05 10:54:59] local.INFO: GPS Element Parsed {"raw_longitude":747934720,"raw_latitude":130357008,"longitude_deg":74.793472,"latitude_deg":13.0357008,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949400","hex_latitude":"07c51710","is_valid_coordinates":true} 
[2026-09-05 10:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877848576001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:54:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740561826171645952,"note":"Value kept but may cause issues"} 
[2026-09-05 10:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788585647000,"timestamp_ms":1788585647000,"timestamp_seconds":1788585647,"priority":1,"record_length":96,"hex_timestamp":"000001a070031b98"} 
[2026-09-05 10:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 10:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-05 10:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877848576001,"66":25647,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740561826171645952},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877848576001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:54:59] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:54:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:54:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740561826171645952,"description":"Unknown IO ID 44"} 
[2026-09-05 10:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877848576001,"power":25647,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740561826171645952}} 
[2026-09-05 10:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":172838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768146,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:54:59] local.INFO: GPS data processed {"connection_id":172838,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:54:59] local.INFO: Acknowledgment sent {"connection_id":172838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:55:02] local.INFO: TCP Data received {"connection_id":171439,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:55:02] local.INFO: Processing buffer {"connection_id":171439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:55:02] local.INFO: IMEI packet received {"connection_id":171439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":171439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:55:03] local.INFO: TCP Data received {"connection_id":171439,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a070023908012d52c840064e6bb00009009f2c..."} 
[2026-09-05 10:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070023908012d52c840064e6bb00009009f2c..."} 
[2026-09-05 10:55:03] local.INFO: Processing buffer {"connection_id":171439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070023908012d52c840064e6bb00009009f2c..."} 
[2026-09-05 10:55:03] local.INFO: Packet analysis {"connection_id":171439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07002"} 
[2026-09-05 10:55:03] local.INFO: Extracted packet for processing {"connection_id":171439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07002"} 
[2026-09-05 10:55:03] local.INFO: GPS Element Parsed {"raw_longitude":760399936,"raw_latitude":105802672,"longitude_deg":76.0399936,"latitude_deg":10.5802672,"altitude":9,"angle":159,"satellites":44,"speed":0,"hex_longitude":"2d52c840","hex_latitude":"064e6bb0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877833472001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399472245321236480,"note":"Value kept but may cause issues"} 
[2026-09-05 10:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5963399252422572032,"note":"Value kept but may cause issues"} 
[2026-09-05 10:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788585589000,"timestamp_ms":1788585589000,"timestamp_seconds":1788585589,"priority":1,"record_length":96,"hex_timestamp":"000001a070023908"} 
[2026-09-05 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-09-05 10:55: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-09-05 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 10:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 10:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:55: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-09-05 10:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877833472001,"66":26517,"171":206,"78":62464,"24":0,"16":399472245321236480,"45":5963399252422572032},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,78,24,16,45]} 
[2026-09-05 10:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877833472001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:55:03] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-05 10:55:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399472245321236480,"km_value":399472245321236.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5963399252422572032,"description":"Unknown IO ID 45"} 
[2026-09-05 10:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877833472001,"power":26517,"unknown_171":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5963399252422572032}} 
[2026-09-05 10:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":171439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:55:03] local.INFO: GPS data processed {"connection_id":171439,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:55:03] local.INFO: Acknowledgment sent {"connection_id":171439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:55:22] local.INFO: TCP Data received {"connection_id":171438,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070046b88012d196900071fedf00040011e2a..."} 
[2026-09-05 10:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070046b88012d196900071fedf00040011e2a..."} 
[2026-09-05 10:55:22] local.INFO: Processing buffer {"connection_id":171438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070046b88012d196900071fedf00040011e2a..."} 
[2026-09-05 10:55:22] local.INFO: Packet analysis {"connection_id":171438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07004"} 
[2026-09-05 10:55:22] local.INFO: Extracted packet for processing {"connection_id":171438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07004"} 
[2026-09-05 10:55:22] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877942272001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788585733000,"timestamp_ms":1788585733000,"timestamp_seconds":1788585733,"priority":1,"record_length":96,"hex_timestamp":"000001a070046b88"} 
[2026-09-05 10:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:55:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 10:55:22] 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-09-05 10: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-09-05 10:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877942272001,"66":12232,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877942272001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:55:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:55:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877942272001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":171438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:55:22] local.INFO: GPS data processed {"connection_id":171438,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:55:22] local.INFO: Acknowledgment sent {"connection_id":171438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:55:32] local.INFO: TCP Data received {"connection_id":172838,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a070031b98012c94940007c51710000700102c..."} 
[2026-09-05 10:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070031b98012c94940007c51710000700102c..."} 
[2026-09-05 10:55:32] local.INFO: Processing buffer {"connection_id":172838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070031b98012c94940007c51710000700102c..."} 
[2026-09-05 10:55:32] local.INFO: Packet analysis {"connection_id":172838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07003"} 
[2026-09-05 10:55:32] local.INFO: Extracted packet for processing {"connection_id":172838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07003"} 
[2026-09-05 10:55:32] local.INFO: GPS Element Parsed {"raw_longitude":747934720,"raw_latitude":130357008,"longitude_deg":74.793472,"latitude_deg":13.0357008,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949400","hex_latitude":"07c51710","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877848576001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:55:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740561826171645952,"note":"Value kept but may cause issues"} 
[2026-09-05 10:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788585647000,"timestamp_ms":1788585647000,"timestamp_seconds":1788585647,"priority":1,"record_length":96,"hex_timestamp":"000001a070031b98"} 
[2026-09-05 10:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:55: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-09-05 10: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-05 10:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877848576001,"66":25647,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740561826171645952},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877848576001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:55:32] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:55:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:55:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740561826171645952,"description":"Unknown IO ID 44"} 
[2026-09-05 10:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877848576001,"power":25647,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740561826171645952}} 
[2026-09-05 10:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":172838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768149,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:55:32] local.INFO: GPS data processed {"connection_id":172838,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:55:32] local.INFO: Acknowledgment sent {"connection_id":172838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:55:34] local.INFO: TCP Data received {"connection_id":171439,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07006d0d0012d52c840064e6bb00009009f2a..."} 
[2026-09-05 10:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07006d0d0012d52c840064e6bb00009009f2a..."} 
[2026-09-05 10:55:34] local.INFO: Processing buffer {"connection_id":171439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07006d0d0012d52c840064e6bb00009009f2a..."} 
[2026-09-05 10:55:35] local.INFO: Packet analysis {"connection_id":171439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07006"} 
[2026-09-05 10:55:35] local.INFO: Extracted packet for processing {"connection_id":171439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07006"} 
[2026-09-05 10:55:35] local.INFO: GPS Element Parsed {"raw_longitude":760399936,"raw_latitude":105802672,"longitude_deg":76.0399936,"latitude_deg":10.5802672,"altitude":9,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2d52c840","hex_latitude":"064e6bb0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877910784001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399472245321236480,"note":"Value kept but may cause issues"} 
[2026-09-05 10:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5965088102281883648,"note":"Value kept but may cause issues"} 
[2026-09-05 10:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788585890000,"timestamp_ms":1788585890000,"timestamp_seconds":1788585890,"priority":1,"record_length":96,"hex_timestamp":"000001a07006d0d0"} 
[2026-09-05 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-09-05 10:55:35] 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-09-05 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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-05 10:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 10:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:55: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-09-05 10:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877910784001,"66":26180,"171":206,"78":62464,"24":0,"16":399472245321236480,"45":5965088102281883648},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,78,24,16,45]} 
[2026-09-05 10:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877910784001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:55:35] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-05 10:55:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399472245321236480,"km_value":399472245321236.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5965088102281883648,"description":"Unknown IO ID 45"} 
[2026-09-05 10:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877910784001,"power":26180,"unknown_171":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5965088102281883648}} 
[2026-09-05 10:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":171439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:55:35] local.INFO: GPS data processed {"connection_id":171439,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:55:35] local.INFO: Acknowledgment sent {"connection_id":171439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:55:45] local.INFO: TCP Data received {"connection_id":171737,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:55:45] local.INFO: Processing buffer {"connection_id":171737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:55:45] local.INFO: IMEI packet received {"connection_id":171737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":171737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:55:48] local.INFO: TCP Data received {"connection_id":171738,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171738,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:55:48] local.INFO: Processing buffer {"connection_id":171738,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:55:48] local.INFO: IMEI packet received {"connection_id":171738,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":171738,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:55:50] local.INFO: TCP Data received {"connection_id":171737,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:55:50] local.INFO: Processing buffer {"connection_id":171737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:55:50] local.INFO: IMEI packet received {"connection_id":171737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":171737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:55:51] local.INFO: TCP Data received {"connection_id":171737,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07004bd90012d196900071fedf00040011e2a..."} 
[2026-09-05 10:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07004bd90012d196900071fedf00040011e2a..."} 
[2026-09-05 10:55:51] local.INFO: Processing buffer {"connection_id":171737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07004bd90012d196900071fedf00040011e2a..."} 
[2026-09-05 10:55:51] local.INFO: Packet analysis {"connection_id":171737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07004"} 
[2026-09-05 10:55:51] local.INFO: Extracted packet for processing {"connection_id":171737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07004"} 
[2026-09-05 10:55:51] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877947648001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788585754000,"timestamp_ms":1788585754000,"timestamp_seconds":1788585754,"priority":1,"record_length":96,"hex_timestamp":"000001a07004bd90"} 
[2026-09-05 10:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:55:51] 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-09-05 10:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 10:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877947648001,"66":12232,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877947648001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:55:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:55:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877947648001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":171737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:55:51] local.INFO: GPS data processed {"connection_id":171737,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:55:51] local.INFO: Acknowledgment sent {"connection_id":171737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:55:53] local.INFO: TCP Data received {"connection_id":171738,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171738,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:55:53] local.INFO: Processing buffer {"connection_id":171738,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:55:53] local.INFO: IMEI packet received {"connection_id":171738,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":171738,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:55:54] local.INFO: TCP Data received {"connection_id":171738,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a070031b98012c94940007c51710000700102c..."} 
[2026-09-05 10:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070031b98012c94940007c51710000700102c..."} 
[2026-09-05 10:55:54] local.INFO: Processing buffer {"connection_id":171738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070031b98012c94940007c51710000700102c..."} 
[2026-09-05 10:55:54] local.INFO: Packet analysis {"connection_id":171738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07003"} 
[2026-09-05 10:55:54] local.INFO: Extracted packet for processing {"connection_id":171738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07003"} 
[2026-09-05 10:55:54] local.INFO: GPS Element Parsed {"raw_longitude":747934720,"raw_latitude":130357008,"longitude_deg":74.793472,"latitude_deg":13.0357008,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949400","hex_latitude":"07c51710","is_valid_coordinates":true} 
[2026-09-05 10:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877848576001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:55:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740561826171645952,"note":"Value kept but may cause issues"} 
[2026-09-05 10:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788585647000,"timestamp_ms":1788585647000,"timestamp_seconds":1788585647,"priority":1,"record_length":96,"hex_timestamp":"000001a070031b98"} 
[2026-09-05 10:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 10:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-05 10:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:55:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171738,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171738,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877848576001,"66":25647,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740561826171645952},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877848576001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:55:54] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:55:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:55:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740561826171645952,"description":"Unknown IO ID 44"} 
[2026-09-05 10:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877848576001,"power":25647,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740561826171645952}} 
[2026-09-05 10:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":171738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768152,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:55:54] local.INFO: GPS data processed {"connection_id":171738,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:55:54] local.INFO: Acknowledgment sent {"connection_id":171738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:56:02] local.INFO: TCP Data received {"connection_id":171739,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:56:02] local.INFO: Processing buffer {"connection_id":171739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:56:02] local.INFO: IMEI packet received {"connection_id":171739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":171739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:56:07] local.INFO: TCP Data received {"connection_id":171739,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:56:07] local.INFO: Processing buffer {"connection_id":171739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:56:07] local.INFO: IMEI packet received {"connection_id":171739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":171739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:56:08] local.INFO: TCP Data received {"connection_id":171739,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07006d0d0012d52c840064e6bb00009009f2a..."} 
[2026-09-05 10:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07006d0d0012d52c840064e6bb00009009f2a..."} 
[2026-09-05 10:56:08] local.INFO: Processing buffer {"connection_id":171739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07006d0d0012d52c840064e6bb00009009f2a..."} 
[2026-09-05 10:56:08] local.INFO: Packet analysis {"connection_id":171739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07006"} 
[2026-09-05 10:56:08] local.INFO: Extracted packet for processing {"connection_id":171739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07006"} 
[2026-09-05 10:56:08] local.INFO: GPS Element Parsed {"raw_longitude":760399936,"raw_latitude":105802672,"longitude_deg":76.0399936,"latitude_deg":10.5802672,"altitude":9,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2d52c840","hex_latitude":"064e6bb0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 10:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877910784001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399472245321236480,"note":"Value kept but may cause issues"} 
[2026-09-05 10:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5965088102281883648,"note":"Value kept but may cause issues"} 
[2026-09-05 10:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788585890000,"timestamp_ms":1788585890000,"timestamp_seconds":1788585890,"priority":1,"record_length":96,"hex_timestamp":"000001a07006d0d0"} 
[2026-09-05 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-09-05 10:56: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-09-05 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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-05 10:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 10:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877910784001,"66":26180,"171":206,"78":62464,"24":0,"16":399472245321236480,"45":5965088102281883648},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,78,24,16,45]} 
[2026-09-05 10:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877910784001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:56:08] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-05 10:56:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399472245321236480,"km_value":399472245321236.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5965088102281883648,"description":"Unknown IO ID 45"} 
[2026-09-05 10:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877910784001,"power":26180,"unknown_171":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5965088102281883648}} 
[2026-09-05 10:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":171739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:56:08] local.INFO: GPS data processed {"connection_id":171739,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:56:08] local.INFO: Acknowledgment sent {"connection_id":171739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:56:12] local.INFO: TCP Data received {"connection_id":171739,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07006d0d0012d52c840064e6bb00009009f2a..."} 
[2026-09-05 10:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07006d0d0012d52c840064e6bb00009009f2a..."} 
[2026-09-05 10:56:12] local.INFO: Processing buffer {"connection_id":171739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07006d0d0012d52c840064e6bb00009009f2a..."} 
[2026-09-05 10:56:12] local.INFO: Packet analysis {"connection_id":171739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07006"} 
[2026-09-05 10:56:12] local.INFO: Extracted packet for processing {"connection_id":171739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07006"} 
[2026-09-05 10:56:12] local.INFO: GPS Element Parsed {"raw_longitude":760399936,"raw_latitude":105802672,"longitude_deg":76.0399936,"latitude_deg":10.5802672,"altitude":9,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2d52c840","hex_latitude":"064e6bb0","is_valid_coordinates":true} 
[2026-09-05 10:56: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-09-05 10:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877910784001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399472245321236480,"note":"Value kept but may cause issues"} 
[2026-09-05 10:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5965088102281883648,"note":"Value kept but may cause issues"} 
[2026-09-05 10:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788585890000,"timestamp_ms":1788585890000,"timestamp_seconds":1788585890,"priority":1,"record_length":96,"hex_timestamp":"000001a07006d0d0"} 
[2026-09-05 10:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 10:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-05 10:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:56: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-09-05 10:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877910784001,"66":26180,"171":206,"78":62464,"24":0,"16":399472245321236480,"45":5965088102281883648},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,78,24,16,45]} 
[2026-09-05 10:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877910784001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:56:12] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-05 10:56:12] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399472245321236480,"km_value":399472245321236.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5965088102281883648,"description":"Unknown IO ID 45"} 
[2026-09-05 10:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877910784001,"power":26180,"unknown_171":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5965088102281883648}} 
[2026-09-05 10:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":171739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:56:12] local.INFO: GPS data processed {"connection_id":171739,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:56:12] local.INFO: Acknowledgment sent {"connection_id":171739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:56:22] local.INFO: TCP Data received {"connection_id":171737,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070050f98012d196900071fedf00040011e2a..."} 
[2026-09-05 10:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070050f98012d196900071fedf00040011e2a..."} 
[2026-09-05 10:56:22] local.INFO: Processing buffer {"connection_id":171737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070050f98012d196900071fedf00040011e2a..."} 
[2026-09-05 10:56:22] local.INFO: Packet analysis {"connection_id":171737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07005"} 
[2026-09-05 10:56:22] local.INFO: Extracted packet for processing {"connection_id":171737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07005"} 
[2026-09-05 10:56:22] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877953024001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788585775000,"timestamp_ms":1788585775000,"timestamp_seconds":1788585775,"priority":1,"record_length":96,"hex_timestamp":"000001a070050f98"} 
[2026-09-05 10:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 10:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:56:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877953024001,"66":12232,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877953024001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:56:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:56:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877953024001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":171737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:56:22] local.INFO: GPS data processed {"connection_id":171737,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:56:22] local.INFO: Acknowledgment sent {"connection_id":171737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:56:26] local.INFO: TCP Data received {"connection_id":171738,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a070073a48012c94940007c51710000700102c..."} 
[2026-09-05 10:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070073a48012c94940007c51710000700102c..."} 
[2026-09-05 10:56:26] local.INFO: Processing buffer {"connection_id":171738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070073a48012c94940007c51710000700102c..."} 
[2026-09-05 10:56:26] local.INFO: Packet analysis {"connection_id":171738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07007"} 
[2026-09-05 10:56:26] local.INFO: Extracted packet for processing {"connection_id":171738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07007"} 
[2026-09-05 10:56:26] local.INFO: GPS Element Parsed {"raw_longitude":747934720,"raw_latitude":130357008,"longitude_deg":74.793472,"latitude_deg":13.0357008,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949400","hex_latitude":"07c51710","is_valid_coordinates":true} 
[2026-09-05 10:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877925632001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:56:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740561826171645952,"note":"Value kept but may cause issues"} 
[2026-09-05 10:56:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788585917000,"timestamp_ms":1788585917000,"timestamp_seconds":1788585917,"priority":1,"record_length":96,"hex_timestamp":"000001a070073a48"} 
[2026-09-05 10:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:56: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-09-05 10:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 10:56:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171738,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171738,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:56:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877925632001,"66":25908,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740561826171645952},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877925632001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:56:26] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:56:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:56:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740561826171645952,"description":"Unknown IO ID 44"} 
[2026-09-05 10:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877925632001,"power":25908,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740561826171645952}} 
[2026-09-05 10:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":171738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768156,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:56:26] local.INFO: GPS data processed {"connection_id":171738,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:56:26] local.INFO: Acknowledgment sent {"connection_id":171738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:56:47] local.INFO: TCP Data received {"connection_id":171441,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171441,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:56:47] local.INFO: Processing buffer {"connection_id":171441,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:56:47] local.INFO: IMEI packet received {"connection_id":171441,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":171441,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:56:50] local.INFO: TCP Data received {"connection_id":171440,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:56:50] local.INFO: Processing buffer {"connection_id":171440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:56:50] local.INFO: IMEI packet received {"connection_id":171440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":171440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:56:52] local.INFO: TCP Data received {"connection_id":171441,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171441,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:56:52] local.INFO: Processing buffer {"connection_id":171441,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:56:52] local.INFO: IMEI packet received {"connection_id":171441,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":171441,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:56:54] local.INFO: TCP Data received {"connection_id":171441,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a070079808012c94958007c516b8000700102c..."} 
[2026-09-05 10:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070079808012c94958007c516b8000700102c..."} 
[2026-09-05 10:56:54] local.INFO: Processing buffer {"connection_id":171441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070079808012c94958007c516b8000700102c..."} 
[2026-09-05 10:56:54] local.INFO: Packet analysis {"connection_id":171441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07007"} 
[2026-09-05 10:56:54] local.INFO: Extracted packet for processing {"connection_id":171441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07007"} 
[2026-09-05 10:56:54] local.INFO: GPS Element Parsed {"raw_longitude":747935104,"raw_latitude":130356920,"longitude_deg":74.7935104,"latitude_deg":13.035692,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949580","hex_latitude":"07c516b8","is_valid_coordinates":true} 
[2026-09-05 10:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877994752001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:56:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740561826171645952,"note":"Value kept but may cause issues"} 
[2026-09-05 10:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788585941000,"timestamp_ms":1788585941000,"timestamp_seconds":1788585941,"priority":1,"record_length":96,"hex_timestamp":"000001a070079808"} 
[2026-09-05 10:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-05 10:56:54] 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-09-05 10:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171441,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171441,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877994752001,"66":27789,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740561826171645952},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877994752001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:56:54] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:56:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:56:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740561826171645952,"description":"Unknown IO ID 44"} 
[2026-09-05 10:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877994752001,"power":27789,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740561826171645952}} 
[2026-09-05 10:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":171441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768157,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:56:54] local.INFO: GPS data processed {"connection_id":171441,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:56:54] local.INFO: Acknowledgment sent {"connection_id":171441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:56:55] local.INFO: TCP Data received {"connection_id":171440,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:56:55] local.INFO: Processing buffer {"connection_id":171440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:56:55] local.INFO: IMEI packet received {"connection_id":171440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":171440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:56:56] local.INFO: TCP Data received {"connection_id":171440,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0700561a0012d196900071fedf00040011e28..."} 
[2026-09-05 10:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0700561a0012d196900071fedf00040011e28..."} 
[2026-09-05 10:56:56] local.INFO: Processing buffer {"connection_id":171440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0700561a0012d196900071fedf00040011e28..."} 
[2026-09-05 10:56:56] local.INFO: Packet analysis {"connection_id":171440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07005"} 
[2026-09-05 10:56:56] local.INFO: Extracted packet for processing {"connection_id":171440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07005"} 
[2026-09-05 10:56:56] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877958400001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788585796000,"timestamp_ms":1788585796000,"timestamp_seconds":1788585796,"priority":1,"record_length":96,"hex_timestamp":"000001a0700561a0"} 
[2026-09-05 10:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:56:56] 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-09-05 10:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 10:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:56:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877958400001,"66":12265,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877958400001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:56:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:56:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877958400001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":171440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:56:56] local.INFO: GPS data processed {"connection_id":171440,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:56:56] local.INFO: Acknowledgment sent {"connection_id":171440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:56:57] local.INFO: TCP Data received {"connection_id":174141,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:56:57] local.INFO: Processing buffer {"connection_id":174141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:56:57] local.INFO: IMEI packet received {"connection_id":174141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":174141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:57:01] local.INFO: TCP Data received {"connection_id":171440,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07005b3a8012d196900071fedf00040011e28..."} 
[2026-09-05 10:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07005b3a8012d196900071fedf00040011e28..."} 
[2026-09-05 10:57:01] local.INFO: Processing buffer {"connection_id":171440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07005b3a8012d196900071fedf00040011e28..."} 
[2026-09-05 10:57:01] local.INFO: Packet analysis {"connection_id":171440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07005"} 
[2026-09-05 10:57:01] local.INFO: Extracted packet for processing {"connection_id":171440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07005"} 
[2026-09-05 10:57:01] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877963776001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788585817000,"timestamp_ms":1788585817000,"timestamp_seconds":1788585817,"priority":1,"record_length":96,"hex_timestamp":"000001a07005b3a8"} 
[2026-09-05 10:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 10:57:01] 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-09-05 10:57:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877963776001,"66":12254,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877963776001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:57:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:57:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877963776001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":171440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:57:01] local.INFO: GPS data processed {"connection_id":171440,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:57:01] local.INFO: Acknowledgment sent {"connection_id":171440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:57:02] local.INFO: TCP Data received {"connection_id":174141,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:57:02] local.INFO: Processing buffer {"connection_id":174141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:57:02] local.INFO: IMEI packet received {"connection_id":174141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":174141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:57:02] local.INFO: TCP Data received {"connection_id":174141,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07006d0d0012d52c840064e6bb00009009f2a..."} 
[2026-09-05 10:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07006d0d0012d52c840064e6bb00009009f2a..."} 
[2026-09-05 10:57:02] local.INFO: Processing buffer {"connection_id":174141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07006d0d0012d52c840064e6bb00009009f2a..."} 
[2026-09-05 10:57:02] local.INFO: Packet analysis {"connection_id":174141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07006"} 
[2026-09-05 10:57:02] local.INFO: Extracted packet for processing {"connection_id":174141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07006"} 
[2026-09-05 10:57:02] local.INFO: GPS Element Parsed {"raw_longitude":760399936,"raw_latitude":105802672,"longitude_deg":76.0399936,"latitude_deg":10.5802672,"altitude":9,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2d52c840","hex_latitude":"064e6bb0","is_valid_coordinates":true} 
[2026-09-05 10:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877910784001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399472245321236480,"note":"Value kept but may cause issues"} 
[2026-09-05 10:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5965088102281883648,"note":"Value kept but may cause issues"} 
[2026-09-05 10:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788585890000,"timestamp_ms":1788585890000,"timestamp_seconds":1788585890,"priority":1,"record_length":96,"hex_timestamp":"000001a07006d0d0"} 
[2026-09-05 10:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:57:02] 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-09-05 10:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-05 10:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:57: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-09-05 10:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877910784001,"66":26180,"171":206,"78":62464,"24":0,"16":399472245321236480,"45":5965088102281883648},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,78,24,16,45]} 
[2026-09-05 10:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877910784001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:57:02] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-05 10:57:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399472245321236480,"km_value":399472245321236.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5965088102281883648,"description":"Unknown IO ID 45"} 
[2026-09-05 10:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877910784001,"power":26180,"unknown_171":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5965088102281883648}} 
[2026-09-05 10:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":174141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:57:02] local.INFO: GPS data processed {"connection_id":174141,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:57:02] local.INFO: Acknowledgment sent {"connection_id":174141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:57:26] local.INFO: TCP Data received {"connection_id":171441,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a07007ea10012c94958007c516b8000700102c..."} 
[2026-09-05 10:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07007ea10012c94958007c516b8000700102c..."} 
[2026-09-05 10:57:26] local.INFO: Processing buffer {"connection_id":171441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07007ea10012c94958007c516b8000700102c..."} 
[2026-09-05 10:57:26] local.INFO: Packet analysis {"connection_id":171441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07007"} 
[2026-09-05 10:57:26] local.INFO: Extracted packet for processing {"connection_id":171441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07007"} 
[2026-09-05 10:57:26] local.INFO: GPS Element Parsed {"raw_longitude":747935104,"raw_latitude":130356920,"longitude_deg":74.7935104,"latitude_deg":13.035692,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949580","hex_latitude":"07c516b8","is_valid_coordinates":true} 
[2026-09-05 10:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878000896001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:57:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740139613706602496,"note":"Value kept but may cause issues"} 
[2026-09-05 10:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788585962000,"timestamp_ms":1788585962000,"timestamp_seconds":1788585962,"priority":1,"record_length":96,"hex_timestamp":"000001a07007ea10"} 
[2026-09-05 10:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:57:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-05 10:57:26] 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-09-05 10:57:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171441,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171441,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:57:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878000896001,"66":27952,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740139613706602496},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878000896001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:57:26] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:57:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:57:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740139613706602496,"description":"Unknown IO ID 44"} 
[2026-09-05 10:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878000896001,"power":27952,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740139613706602496}} 
[2026-09-05 10:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":171441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768161,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:57:26] local.INFO: GPS data processed {"connection_id":171441,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:57:26] local.INFO: Acknowledgment sent {"connection_id":171441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:57:33] local.INFO: TCP Data received {"connection_id":174141,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a070085b58012d52c840064e6bb00009009f2b..."} 
[2026-09-05 10:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070085b58012d52c840064e6bb00009009f2b..."} 
[2026-09-05 10:57:33] local.INFO: Processing buffer {"connection_id":174141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070085b58012d52c840064e6bb00009009f2b..."} 
[2026-09-05 10:57:33] local.INFO: Packet analysis {"connection_id":174141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07008"} 
[2026-09-05 10:57:33] local.INFO: Extracted packet for processing {"connection_id":174141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07008"} 
[2026-09-05 10:57:33] local.INFO: GPS Element Parsed {"raw_longitude":760399936,"raw_latitude":105802672,"longitude_deg":76.0399936,"latitude_deg":10.5802672,"altitude":9,"angle":159,"satellites":43,"speed":0,"hex_longitude":"2d52c840","hex_latitude":"064e6bb0","is_valid_coordinates":true} 
[2026-09-05 10:57: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-09-05 10:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877987840001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399472245321236480,"note":"Value kept but may cause issues"} 
[2026-09-05 10:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5965088102281883648,"note":"Value kept but may cause issues"} 
[2026-09-05 10:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788585991000,"timestamp_ms":1788585991000,"timestamp_seconds":1788585991,"priority":1,"record_length":96,"hex_timestamp":"000001a070085b58"} 
[2026-09-05 10:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:57: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-09-05 10: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-05 10:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10: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-09-05 10:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877987840001,"66":26158,"171":206,"78":62464,"24":0,"16":399472245321236480,"45":5965088102281883648},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,78,24,16,45]} 
[2026-09-05 10:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877987840001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:57:33] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-05 10:57:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399472245321236480,"km_value":399472245321236.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5965088102281883648,"description":"Unknown IO ID 45"} 
[2026-09-05 10:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877987840001,"power":26158,"unknown_171":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5965088102281883648}} 
[2026-09-05 10:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":174141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:57:34] local.INFO: GPS data processed {"connection_id":174141,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:57:34] local.INFO: Acknowledgment sent {"connection_id":174141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:57:45] local.INFO: TCP Data received {"connection_id":171740,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:57:45] local.INFO: Processing buffer {"connection_id":171740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:57:45] local.INFO: IMEI packet received {"connection_id":171740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":171740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:57:45] local.INFO: TCP Data received {"connection_id":171740,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:57:45] local.INFO: Processing buffer {"connection_id":171740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:57:45] local.INFO: IMEI packet received {"connection_id":171740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":171740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:57:47] local.INFO: TCP Data received {"connection_id":172839,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172839,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:57:47] local.INFO: Processing buffer {"connection_id":172839,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:57:47] local.INFO: IMEI packet received {"connection_id":172839,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":172839,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:57:50] local.INFO: TCP Data received {"connection_id":171740,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:57:50] local.INFO: Processing buffer {"connection_id":171740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:57:50] local.INFO: IMEI packet received {"connection_id":171740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":171740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:57:51] local.INFO: TCP Data received {"connection_id":171740,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0700605b0012d196900071fedf00040011e2a..."} 
[2026-09-05 10:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0700605b0012d196900071fedf00040011e2a..."} 
[2026-09-05 10:57:51] local.INFO: Processing buffer {"connection_id":171740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0700605b0012d196900071fedf00040011e2a..."} 
[2026-09-05 10:57:51] local.INFO: Packet analysis {"connection_id":171740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07006"} 
[2026-09-05 10:57:51] local.INFO: Extracted packet for processing {"connection_id":171740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07006"} 
[2026-09-05 10:57:51] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877969152001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788585838000,"timestamp_ms":1788585838000,"timestamp_seconds":1788585838,"priority":1,"record_length":96,"hex_timestamp":"000001a0700605b0"} 
[2026-09-05 10:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:57:51] 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-09-05 10:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-05 10:57:51] 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-09-05 10:57:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877969152001,"66":12287,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877969152001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:57:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:57:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877969152001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":171740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:57:51] local.INFO: GPS data processed {"connection_id":171740,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:57:51] local.INFO: Acknowledgment sent {"connection_id":171740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:57:52] local.INFO: TCP Data received {"connection_id":172839,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172839,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:57:52] local.INFO: Processing buffer {"connection_id":172839,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:57:52] local.INFO: IMEI packet received {"connection_id":172839,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":172839,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:57:53] local.INFO: TCP Data received {"connection_id":172839,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a070083c18012c94958007c516b8000700102c..."} 
[2026-09-05 10:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070083c18012c94958007c516b8000700102c..."} 
[2026-09-05 10:57:53] local.INFO: Processing buffer {"connection_id":172839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070083c18012c94958007c516b8000700102c..."} 
[2026-09-05 10:57:53] local.INFO: Packet analysis {"connection_id":172839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07008"} 
[2026-09-05 10:57:53] local.INFO: Extracted packet for processing {"connection_id":172839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07008"} 
[2026-09-05 10:57:53] local.INFO: GPS Element Parsed {"raw_longitude":747935104,"raw_latitude":130356920,"longitude_deg":74.7935104,"latitude_deg":13.035692,"altitude":7,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2c949580","hex_latitude":"07c516b8","is_valid_coordinates":true} 
[2026-09-05 10:57: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-09-05 10:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878006272001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788349837115392,"note":"Value kept but may cause issues"} 
[2026-09-05 10:57:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740139613706602496,"note":"Value kept but may cause issues"} 
[2026-09-05 10:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788585983000,"timestamp_ms":1788585983000,"timestamp_seconds":1788585983,"priority":1,"record_length":96,"hex_timestamp":"000001a070083c18"} 
[2026-09-05 10:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-05 10:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:57: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-09-05 10:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172839,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172839,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878006272001,"66":28234,"175":206,"9":57344,"24":0,"16":788349837115392,"44":-7740139613706602496},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878006272001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:57:53] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:57:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788349837115392,"km_value":788349837115.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:57:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740139613706602496,"description":"Unknown IO ID 44"} 
[2026-09-05 10:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878006272001,"power":28234,"unknown_175":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7740139613706602496}} 
[2026-09-05 10:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":172839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768164,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:57:53] local.INFO: GPS data processed {"connection_id":172839,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:57:53] local.INFO: Acknowledgment sent {"connection_id":172839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:57:55] local.INFO: TCP Data received {"connection_id":174142,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:57:55] local.INFO: Processing buffer {"connection_id":174142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:57:55] local.INFO: IMEI packet received {"connection_id":174142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":174142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:57:56] local.INFO: TCP Data received {"connection_id":174142,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:57:56] local.INFO: Processing buffer {"connection_id":174142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:57:56] local.INFO: IMEI packet received {"connection_id":174142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":174142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:57:57] local.INFO: TCP Data received {"connection_id":174142,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:57:57] local.INFO: Processing buffer {"connection_id":174142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:57:57] local.INFO: IMEI packet received {"connection_id":174142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":174142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:58:00] local.INFO: TCP Data received {"connection_id":174142,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:58:00] local.INFO: Processing buffer {"connection_id":174142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:58:00] local.INFO: IMEI packet received {"connection_id":174142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":174142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:58:01] local.INFO: TCP Data received {"connection_id":174142,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a070086af8012d52c7c0064e6c78000900b52b..."} 
[2026-09-05 10:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070086af8012d52c7c0064e6c78000900b52b..."} 
[2026-09-05 10:58:01] local.INFO: Processing buffer {"connection_id":174142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070086af8012d52c7c0064e6c78000900b52b..."} 
[2026-09-05 10:58:01] local.INFO: Packet analysis {"connection_id":174142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07008"} 
[2026-09-05 10:58:01] local.INFO: Extracted packet for processing {"connection_id":174142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07008"} 
[2026-09-05 10:58:01] local.INFO: GPS Element Parsed {"raw_longitude":760399808,"raw_latitude":105802872,"longitude_deg":76.0399808,"latitude_deg":10.5802872,"altitude":9,"angle":181,"satellites":43,"speed":0,"hex_longitude":"2d52c7c0","hex_latitude":"064e6c78","is_valid_coordinates":true} 
[2026-09-05 10:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878013696001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399472245321236480,"note":"Value kept but may cause issues"} 
[2026-09-05 10:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5965088102281883648,"note":"Value kept but may cause issues"} 
[2026-09-05 10:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788585995000,"timestamp_ms":1788585995000,"timestamp_seconds":1788585995,"priority":1,"record_length":96,"hex_timestamp":"000001a070086af8"} 
[2026-09-05 10:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-05 10:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:58:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878013696001,"66":26669,"171":206,"78":62464,"24":0,"16":399472245321236480,"45":5965088102281883648},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,78,24,16,45]} 
[2026-09-05 10:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878013696001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:58:01] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-05 10:58:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399472245321236480,"km_value":399472245321236.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5965088102281883648,"description":"Unknown IO ID 45"} 
[2026-09-05 10:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878013696001,"power":26669,"unknown_171":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5965088102281883648}} 
[2026-09-05 10:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":174142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:58:01] local.INFO: GPS data processed {"connection_id":174142,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:58:01] local.INFO: Acknowledgment sent {"connection_id":174142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:58:22] local.INFO: TCP Data received {"connection_id":171740,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0700657b8012d196900071fedf00040011e28..."} 
[2026-09-05 10:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0700657b8012d196900071fedf00040011e28..."} 
[2026-09-05 10:58:22] local.INFO: Processing buffer {"connection_id":171740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0700657b8012d196900071fedf00040011e28..."} 
[2026-09-05 10:58:22] local.INFO: Packet analysis {"connection_id":171740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07006"} 
[2026-09-05 10:58:22] local.INFO: Extracted packet for processing {"connection_id":171740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07006"} 
[2026-09-05 10:58:22] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877974528001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788585859000,"timestamp_ms":1788585859000,"timestamp_seconds":1788585859,"priority":1,"record_length":96,"hex_timestamp":"000001a0700657b8"} 
[2026-09-05 10:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:58:22] 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-09-05 10:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 10:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877974528001,"66":12265,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877974528001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:58:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:58:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877974528001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":171740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:58:22] local.INFO: GPS data processed {"connection_id":171740,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:58:22] local.INFO: Acknowledgment sent {"connection_id":171740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:58:24] local.INFO: TCP Data received {"connection_id":172839,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a070088e20012c94a00007c530000004001529..."} 
[2026-09-05 10:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070088e20012c94a00007c530000004001529..."} 
[2026-09-05 10:58:24] local.INFO: Processing buffer {"connection_id":172839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070088e20012c94a00007c530000004001529..."} 
[2026-09-05 10:58:24] local.INFO: Packet analysis {"connection_id":172839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07008"} 
[2026-09-05 10:58:24] local.INFO: Extracted packet for processing {"connection_id":172839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07008"} 
[2026-09-05 10:58:24] local.INFO: GPS Element Parsed {"raw_longitude":747937792,"raw_latitude":130363392,"longitude_deg":74.7937792,"latitude_deg":13.0363392,"altitude":4,"angle":21,"satellites":41,"speed":27,"hex_longitude":"2c94a000","hex_latitude":"07c53000","is_valid_coordinates":true} 
[2026-09-05 10:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878011648001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":788689139531776,"note":"Value kept but may cause issues"} 
[2026-09-05 10:58:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7740139613706602496,"note":"Value kept but may cause issues"} 
[2026-09-05 10:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788586004000,"timestamp_ms":1788586004000,"timestamp_seconds":1788586004,"priority":1,"record_length":96,"hex_timestamp":"000001a070088e20"} 
[2026-09-05 10:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-05 10:58:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:58:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172839,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172839,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878011648001,"66":28126,"175":206,"9":57344,"24":27,"16":788689139531776,"44":-7740139613706602496},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878011648001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:58:24] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:58:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":788689139531776,"km_value":788689139531.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:58:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7740139613706602496,"description":"Unknown IO ID 44"} 
[2026-09-05 10:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878011648001,"power":28126,"unknown_175":206,"unknown_9":57344,"ignition":27,"odometer":null,"unknown_44":-7740139613706602496}} 
[2026-09-05 10:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":172839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768167,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:58:24] local.INFO: GPS data processed {"connection_id":172839,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:58:24] local.INFO: Acknowledgment sent {"connection_id":172839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:58:32] local.INFO: TCP Data received {"connection_id":174142,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07008bd00012d52c7c0064e6c78000900b52a..."} 
[2026-09-05 10:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07008bd00012d52c7c0064e6c78000900b52a..."} 
[2026-09-05 10:58:32] local.INFO: Processing buffer {"connection_id":174142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07008bd00012d52c7c0064e6c78000900b52a..."} 
[2026-09-05 10:58:32] local.INFO: Packet analysis {"connection_id":174142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07008"} 
[2026-09-05 10:58:32] local.INFO: Extracted packet for processing {"connection_id":174142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07008"} 
[2026-09-05 10:58:32] local.INFO: GPS Element Parsed {"raw_longitude":760399808,"raw_latitude":105802872,"longitude_deg":76.0399808,"latitude_deg":10.5802872,"altitude":9,"angle":181,"satellites":42,"speed":0,"hex_longitude":"2d52c7c0","hex_latitude":"064e6c78","is_valid_coordinates":true} 
[2026-09-05 10:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878014720001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399472245321236480,"note":"Value kept but may cause issues"} 
[2026-09-05 10:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5964947364793579520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788586016000,"timestamp_ms":1788586016000,"timestamp_seconds":1788586016,"priority":1,"record_length":96,"hex_timestamp":"000001a07008bd00"} 
[2026-09-05 10:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:58: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-09-05 10:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-05 10:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1123,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:58: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-09-05 10:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878014720001,"66":27789,"171":206,"78":62464,"24":0,"16":399472245321236480,"45":5964947364793579520},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,78,24,16,45]} 
[2026-09-05 10:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878014720001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:58:32] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-05 10:58:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399472245321236480,"km_value":399472245321236.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5964947364793579520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878014720001,"power":27789,"unknown_171":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5964947364793579520}} 
[2026-09-05 10:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":174142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:58:32] local.INFO: GPS data processed {"connection_id":174142,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:58:32] local.INFO: Acknowledgment sent {"connection_id":174142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:58:45] local.INFO: TCP Data received {"connection_id":171741,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:58:45] local.INFO: Processing buffer {"connection_id":171741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:58:45] local.INFO: IMEI packet received {"connection_id":171741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":171741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:58:48] local.INFO: TCP Data received {"connection_id":171741,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:58:48] local.INFO: Processing buffer {"connection_id":171741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:58:48] local.INFO: IMEI packet received {"connection_id":171741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":171741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:58:49] local.INFO: TCP Data received {"connection_id":171741,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07006a9c0012d196900071fedf00040011e26..."} 
[2026-09-05 10:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07006a9c0012d196900071fedf00040011e26..."} 
[2026-09-05 10:58:49] local.INFO: Processing buffer {"connection_id":171741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07006a9c0012d196900071fedf00040011e26..."} 
[2026-09-05 10:58:49] local.INFO: Packet analysis {"connection_id":171741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07006"} 
[2026-09-05 10:58:49] local.INFO: Extracted packet for processing {"connection_id":171741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07006"} 
[2026-09-05 10:58:49] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533040,"longitude_deg":75.664,"latitude_deg":11.953304,"altitude":64,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fedf0","is_valid_coordinates":true} 
[2026-09-05 10:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457877979904001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470694304514048,"note":"Value kept but may cause issues"} 
[2026-09-05 10:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103275520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788585880000,"timestamp_ms":1788585880000,"timestamp_seconds":1788585880,"priority":1,"record_length":96,"hex_timestamp":"000001a07006a9c0"} 
[2026-09-05 10:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 10:58:49] 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-09-05 10:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":171741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":171741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":171741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457877979904001,"66":12265,"102":206,"83":41984,"24":0,"16":17470694304514048,"45":1830994754103275520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 10:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457877979904001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:58:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 10:58:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470694304514048,"km_value":17470694304514.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103275520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457877979904001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103275520}} 
[2026-09-05 10:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":171741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:58:49] local.INFO: GPS data processed {"connection_id":171741,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:58:49] local.INFO: Acknowledgment sent {"connection_id":171741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:58:52] local.INFO: TCP Data received {"connection_id":171442,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:58:52] local.INFO: Processing buffer {"connection_id":171442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:58:52] local.INFO: IMEI packet received {"connection_id":171442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":171442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:58:56] local.INFO: TCP Data received {"connection_id":174143,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:58:56] local.INFO: Processing buffer {"connection_id":174143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:58:56] local.INFO: IMEI packet received {"connection_id":174143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 10:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":174143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:58:56] local.INFO: TCP Data received {"connection_id":174143,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:58:56] local.INFO: Processing buffer {"connection_id":174143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:58:56] local.INFO: IMEI packet received {"connection_id":174143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":174143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:58:57] local.INFO: TCP Data received {"connection_id":171442,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:58:57] local.INFO: Processing buffer {"connection_id":171442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:58:57] local.INFO: IMEI packet received {"connection_id":171442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":171442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:58:58] local.INFO: TCP Data received {"connection_id":171442,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a070098820012c95240007c60f180007001c2b..."} 
[2026-09-05 10:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070098820012c95240007c60f180007001c2b..."} 
[2026-09-05 10:58:58] local.INFO: Processing buffer {"connection_id":171442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070098820012c95240007c60f180007001c2b..."} 
[2026-09-05 10:58:58] local.INFO: Packet analysis {"connection_id":171442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07009"} 
[2026-09-05 10:58:58] local.INFO: Extracted packet for processing {"connection_id":171442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07009"} 
[2026-09-05 10:58:58] local.INFO: GPS Element Parsed {"raw_longitude":747971584,"raw_latitude":130420504,"longitude_deg":74.7971584,"latitude_deg":13.0420504,"altitude":7,"angle":28,"satellites":43,"speed":54,"hex_longitude":"2c952400","hex_latitude":"07c60f18","is_valid_coordinates":true} 
[2026-09-05 10:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878031360001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":791897480101888,"note":"Value kept but may cause issues"} 
[2026-09-05 10:58:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7706221878999056384,"note":"Value kept but may cause issues"} 
[2026-09-05 10:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788586068000,"timestamp_ms":1788586068000,"timestamp_seconds":1788586068,"priority":1,"record_length":96,"hex_timestamp":"000001a070098820"} 
[2026-09-05 10:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:58: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-09-05 10:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 10:58:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:58:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878031360001,"66":27995,"175":206,"9":57344,"24":54,"16":791897480101888,"44":-7706221878999056384},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878031360001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:58:58] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:58:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":791897480101888,"km_value":791897480101.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:58:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7706221878999056384,"description":"Unknown IO ID 44"} 
[2026-09-05 10:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878031360001,"power":27995,"unknown_175":206,"unknown_9":57344,"ignition":54,"odometer":null,"unknown_44":-7706221878999056384}} 
[2026-09-05 10:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":171442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768170,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:58:58] local.INFO: GPS data processed {"connection_id":171442,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:58:58] local.INFO: Acknowledgment sent {"connection_id":171442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:59:00] local.INFO: TCP Data received {"connection_id":171442,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a07009a378012c9532c007c63130000600102a..."} 
[2026-09-05 10:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07009a378012c9532c007c63130000600102a..."} 
[2026-09-05 10:59:00] local.INFO: Processing buffer {"connection_id":171442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07009a378012c9532c007c63130000600102a..."} 
[2026-09-05 10:59:00] local.INFO: Packet analysis {"connection_id":171442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07009"} 
[2026-09-05 10:59:00] local.INFO: Extracted packet for processing {"connection_id":171442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07009"} 
[2026-09-05 10:59:00] local.INFO: GPS Element Parsed {"raw_longitude":747975360,"raw_latitude":130429232,"longitude_deg":74.797536,"latitude_deg":13.0429232,"altitude":6,"angle":16,"satellites":42,"speed":53,"hex_longitude":"2c9532c0","hex_latitude":"07c63130","is_valid_coordinates":true} 
[2026-09-05 10:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878033408001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":792357041602560,"note":"Value kept but may cause issues"} 
[2026-09-05 10:59:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7700029429509056512,"note":"Value kept but may cause issues"} 
[2026-09-05 10:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788586075000,"timestamp_ms":1788586075000,"timestamp_seconds":1788586075,"priority":1,"record_length":96,"hex_timestamp":"000001a07009a378"} 
[2026-09-05 10:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 10:59:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878033408001,"66":28082,"175":206,"9":57344,"24":53,"16":792357041602560,"44":-7700029429509056512},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878033408001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:59:00] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:59:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":792357041602560,"km_value":792357041602.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:59:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7700029429509056512,"description":"Unknown IO ID 44"} 
[2026-09-05 10:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878033408001,"power":28082,"unknown_175":206,"unknown_9":57344,"ignition":53,"odometer":null,"unknown_44":-7700029429509056512}} 
[2026-09-05 10:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":171442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768171,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:59:00] local.INFO: GPS data processed {"connection_id":171442,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:59:00] local.INFO: Acknowledgment sent {"connection_id":171442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:59:02] local.INFO: TCP Data received {"connection_id":174143,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:59:02] local.INFO: Processing buffer {"connection_id":174143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 10:59:02] local.INFO: IMEI packet received {"connection_id":174143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 10:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":174143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:59:03] local.INFO: TCP Data received {"connection_id":174143,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a070090b20012d52c7c0064e6c78000900b52a..."} 
[2026-09-05 10:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070090b20012d52c7c0064e6c78000900b52a..."} 
[2026-09-05 10:59:03] local.INFO: Processing buffer {"connection_id":174143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070090b20012d52c7c0064e6c78000900b52a..."} 
[2026-09-05 10:59:03] local.INFO: Packet analysis {"connection_id":174143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07009"} 
[2026-09-05 10:59:03] local.INFO: Extracted packet for processing {"connection_id":174143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07009"} 
[2026-09-05 10:59:03] local.INFO: GPS Element Parsed {"raw_longitude":760399808,"raw_latitude":105802872,"longitude_deg":76.0399808,"latitude_deg":10.5802872,"altitude":9,"angle":181,"satellites":42,"speed":0,"hex_longitude":"2d52c7c0","hex_latitude":"064e6c78","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878020096001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399472245321236480,"note":"Value kept but may cause issues"} 
[2026-09-05 10:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5964947364793579520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788586036000,"timestamp_ms":1788586036000,"timestamp_seconds":1788586036,"priority":1,"record_length":96,"hex_timestamp":"000001a070090b20"} 
[2026-09-05 10:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:59: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-09-05 10: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-05 10:59: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-09-05 10: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-09-05 10:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:59: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-09-05 10:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878020096001,"66":27800,"171":206,"78":62464,"24":0,"16":399472245321236480,"45":5964947364793579520},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,78,24,16,45]} 
[2026-09-05 10:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878020096001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:59:03] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-05 10:59:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399472245321236480,"km_value":399472245321236.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5964947364793579520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878020096001,"power":27800,"unknown_171":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5964947364793579520}} 
[2026-09-05 10:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":174143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:59:03] local.INFO: GPS data processed {"connection_id":174143,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:59:03] local.INFO: Acknowledgment sent {"connection_id":174143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:59:20] local.INFO: TCP Data received {"connection_id":171741,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0700a3bd0012d197980071febc0003e00512a..."} 
[2026-09-05 10:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0700a3bd0012d197980071febc0003e00512a..."} 
[2026-09-05 10:59:20] local.INFO: Processing buffer {"connection_id":171741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0700a3bd0012d197980071febc0003e00512a..."} 
[2026-09-05 10:59:20] local.INFO: Packet analysis {"connection_id":171741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0700a"} 
[2026-09-05 10:59:20] local.INFO: Extracted packet for processing {"connection_id":171741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0700a"} 
[2026-09-05 10:59:20] local.INFO: GPS Element Parsed {"raw_longitude":756644224,"raw_latitude":119532480,"longitude_deg":75.6644224,"latitude_deg":11.953248,"altitude":62,"angle":81,"satellites":42,"speed":14,"hex_longitude":"2d197980","hex_latitude":"071febc0","is_valid_coordinates":true} 
[2026-09-05 10:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878042112001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17470926232748032,"note":"Value kept but may cause issues"} 
[2026-09-05 10:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831768810289133568,"note":"Value kept but may cause issues"} 
[2026-09-05 10:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788586114000,"timestamp_ms":1788586114000,"timestamp_seconds":1788586114,"priority":1,"record_length":96,"hex_timestamp":"000001a0700a3bd0"} 
[2026-09-05 10:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:59: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-09-05 10:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-05 10:59:20] 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-09-05 10:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":171741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":171741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":171741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 10:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 10:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 10:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878042112001,"66":14102,"101":206,"83":41984,"24":14,"16":17470926232748032,"45":1831768810289133568},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-05 10:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 10:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 10:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878042112001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:59:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 10:59:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 10:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17470926232748032,"km_value":17470926232748.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831768810289133568,"description":"Unknown IO ID 45"} 
[2026-09-05 10:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878042112001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1831768810289133568}} 
[2026-09-05 10:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":171741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:59:20] local.INFO: GPS data processed {"connection_id":171741,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:59:20] local.INFO: Acknowledgment sent {"connection_id":171741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:59:31] local.INFO: TCP Data received {"connection_id":171442,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a07009a378012c9532c007c63130000600102a..."} 
[2026-09-05 10:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07009a378012c9532c007c63130000600102a..."} 
[2026-09-05 10:59:31] local.INFO: Processing buffer {"connection_id":171442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07009a378012c9532c007c63130000600102a..."} 
[2026-09-05 10:59:31] local.INFO: Packet analysis {"connection_id":171442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07009"} 
[2026-09-05 10:59:31] local.INFO: Extracted packet for processing {"connection_id":171442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07009"} 
[2026-09-05 10:59:31] local.INFO: GPS Element Parsed {"raw_longitude":747975360,"raw_latitude":130429232,"longitude_deg":74.797536,"latitude_deg":13.0429232,"altitude":6,"angle":16,"satellites":42,"speed":53,"hex_longitude":"2c9532c0","hex_latitude":"07c63130","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878035200001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":792357041602560,"note":"Value kept but may cause issues"} 
[2026-09-05 10:59:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7695877673600339968,"note":"Value kept but may cause issues"} 
[2026-09-05 10:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788586075000,"timestamp_ms":1788586075000,"timestamp_seconds":1788586075,"priority":1,"record_length":96,"hex_timestamp":"000001a07009a378"} 
[2026-09-05 10:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 10:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10: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-09-05 10:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878035200001,"66":28082,"175":206,"9":57344,"24":53,"16":792357041602560,"44":-7695877673600339968},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878035200001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:59:31] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:59:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":792357041602560,"km_value":792357041602.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:59:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7695877673600339968,"description":"Unknown IO ID 44"} 
[2026-09-05 10:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878035200001,"power":28082,"unknown_175":206,"unknown_9":57344,"ignition":53,"odometer":null,"unknown_44":-7695877673600339968}} 
[2026-09-05 10:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":171442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768174,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:59:31] local.INFO: GPS data processed {"connection_id":171442,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:59:31] local.INFO: Acknowledgment sent {"connection_id":171442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:59:35] local.INFO: TCP Data received {"connection_id":174143,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a070091ac0012d52c580064e6d20000801372b..."} 
[2026-09-05 10:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070091ac0012d52c580064e6d20000801372b..."} 
[2026-09-05 10:59:35] local.INFO: Processing buffer {"connection_id":174143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070091ac0012d52c580064e6d20000801372b..."} 
[2026-09-05 10:59:35] local.INFO: Packet analysis {"connection_id":174143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07009"} 
[2026-09-05 10:59:35] local.INFO: Extracted packet for processing {"connection_id":174143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07009"} 
[2026-09-05 10:59:35] local.INFO: GPS Element Parsed {"raw_longitude":760399232,"raw_latitude":105803040,"longitude_deg":76.0399232,"latitude_deg":10.580304,"altitude":8,"angle":311,"satellites":43,"speed":4,"hex_longitude":"2d52c580","hex_latitude":"064e6d20","is_valid_coordinates":true} 
[2026-09-05 10: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-09-05 10:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878025216001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399472271091040256,"note":"Value kept but may cause issues"} 
[2026-09-05 10:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5964947364793579520,"note":"Value kept but may cause issues"} 
[2026-09-05 10:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788586040000,"timestamp_ms":1788586040000,"timestamp_seconds":1788586040,"priority":1,"record_length":96,"hex_timestamp":"000001a070091ac0"} 
[2026-09-05 10:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:59:35] 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-09-05 10:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 10:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 10:59:35] 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-09-05 10:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 10:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 10:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878025216001,"66":27767,"171":206,"78":62464,"24":4,"16":399472271091040256,"45":5964947364793579520},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,78,24,16,45]} 
[2026-09-05 10:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 10:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 10:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878025216001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:59:35] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-05 10:59:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 10:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399472271091040256,"km_value":399472271091040.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5964947364793579520,"description":"Unknown IO ID 45"} 
[2026-09-05 10:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878025216001,"power":27767,"unknown_171":206,"unknown_78":62464,"ignition":4,"odometer":null,"unknown_45":5964947364793579520}} 
[2026-09-05 10:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":174143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:59:35] local.INFO: GPS data processed {"connection_id":174143,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:59:35] local.INFO: Acknowledgment sent {"connection_id":174143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:59:45] local.INFO: TCP Data received {"connection_id":171444,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:59:45] local.INFO: Processing buffer {"connection_id":171444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:59:45] local.INFO: IMEI packet received {"connection_id":171444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 10:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":171444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:59:45] local.INFO: TCP Data received {"connection_id":171443,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:59:45] local.INFO: Processing buffer {"connection_id":171443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:59:45] local.INFO: IMEI packet received {"connection_id":171443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 10:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":171443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 10:59:46] local.INFO: TCP Data received {"connection_id":171443,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:59:46] local.INFO: Processing buffer {"connection_id":171443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:59:46] local.INFO: IMEI packet received {"connection_id":171443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":171443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:59:47] local.INFO: TCP Data received {"connection_id":171443,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:59:47] local.INFO: Processing buffer {"connection_id":171443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:59:47] local.INFO: IMEI packet received {"connection_id":171443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":171443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:59:48] local.INFO: TCP Data received {"connection_id":171443,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:59:48] local.INFO: Processing buffer {"connection_id":171443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 10:59:48] local.INFO: IMEI packet received {"connection_id":171443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 10:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":171443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:59:48] local.INFO: TCP Data received {"connection_id":171444,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:59:48] local.INFO: Processing buffer {"connection_id":171444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:59:48] local.INFO: IMEI packet received {"connection_id":171444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":171444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:59:52] local.INFO: TCP Data received {"connection_id":171444,"ip":"117.224.75.230","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:59:52] local.INFO: Processing buffer {"connection_id":171444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 10:59:52] local.INFO: IMEI packet received {"connection_id":171444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 10:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":171444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 10:59:53] local.INFO: TCP Data received {"connection_id":171444,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a07009bae8012c95384007c64f70000600032a..."} 
[2026-09-05 10:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07009bae8012c95384007c64f70000600032a..."} 
[2026-09-05 10:59:53] local.INFO: Processing buffer {"connection_id":171444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07009bae8012c95384007c64f70000600032a..."} 
[2026-09-05 10:59:53] local.INFO: Packet analysis {"connection_id":171444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07009"} 
[2026-09-05 10:59:53] local.INFO: Extracted packet for processing {"connection_id":171444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07009"} 
[2026-09-05 10:59:53] local.INFO: GPS Element Parsed {"raw_longitude":747976768,"raw_latitude":130436976,"longitude_deg":74.7976768,"latitude_deg":13.0436976,"altitude":6,"angle":3,"satellites":42,"speed":50,"hex_longitude":"2c953840","hex_latitude":"07c64f70","is_valid_coordinates":true} 
[2026-09-05 10:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878035200001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":792739293691904,"note":"Value kept but may cause issues"} 
[2026-09-05 10:59:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7695877673600339968,"note":"Value kept but may cause issues"} 
[2026-09-05 10:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788586081000,"timestamp_ms":1788586081000,"timestamp_seconds":1788586081,"priority":1,"record_length":96,"hex_timestamp":"000001a07009bae8"} 
[2026-09-05 10:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 10:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 10:59:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 10:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171444,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171444,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878035200001,"66":27930,"175":206,"9":57344,"24":50,"16":792739293691904,"44":-7695877673600339968},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878035200001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:59:53] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:59:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":792739293691904,"km_value":792739293691.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:59:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7695877673600339968,"description":"Unknown IO ID 44"} 
[2026-09-05 10:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878035200001,"power":27930,"unknown_175":206,"unknown_9":57344,"ignition":50,"odometer":null,"unknown_44":-7695877673600339968}} 
[2026-09-05 10:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":171444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768176,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:59:53] local.INFO: GPS data processed {"connection_id":171444,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:59:53] local.INFO: Acknowledgment sent {"connection_id":171444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 10:59:54] local.INFO: TCP Data received {"connection_id":171444,"ip":"117.224.75.230","data_length":795,"data_hex":"000000000000030f8e0a000001a07009da28012c95370007c673a0000701652a..."} 
[2026-09-05 10:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07009da28012c95370007c673a0000701652a..."} 
[2026-09-05 10:59:54] local.INFO: Processing buffer {"connection_id":171444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07009da28012c95370007c673a0000701652a..."} 
[2026-09-05 10:59:54] local.INFO: Packet analysis {"connection_id":171444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07009"} 
[2026-09-05 10:59:54] local.INFO: Extracted packet for processing {"connection_id":171444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07009"} 
[2026-09-05 10:59:54] local.INFO: GPS Element Parsed {"raw_longitude":747976448,"raw_latitude":130446240,"longitude_deg":74.7976448,"latitude_deg":13.044624,"altitude":7,"angle":357,"satellites":42,"speed":38,"hex_longitude":"2c953700","hex_latitude":"07c673a0","is_valid_coordinates":true} 
[2026-09-05 10:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 10:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878036736001,"note":"Value kept but may cause issues"} 
[2026-09-05 10:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":793190265257984,"note":"Value kept but may cause issues"} 
[2026-09-05 10:59:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7694329561226448896,"note":"Value kept but may cause issues"} 
[2026-09-05 10:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 10:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788586089000,"timestamp_ms":1788586089000,"timestamp_seconds":1788586089,"priority":1,"record_length":96,"hex_timestamp":"000001a07009da28"} 
[2026-09-05 10:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 10:59: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-09-05 10:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 10:59:54] 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-09-05 10:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 10:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 10:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 10:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 10:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171444,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171444,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 10:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.75.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 10:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 10:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 10:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878036736001,"66":28137,"175":206,"9":57344,"24":38,"16":793190265257984,"44":-7694329561226448896},"client_ip":"117.224.75.230","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,9,24,16,44]} 
[2026-09-05 10:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 10:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 10:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878036736001,"description":"Unknown IO ID 0"} 
[2026-09-05 10:59:54] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 10:59:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-05 10:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":793190265257984,"km_value":793190265257.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 10:59:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7694329561226448896,"description":"Unknown IO ID 44"} 
[2026-09-05 10:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878036736001,"power":28137,"unknown_175":206,"unknown_9":57344,"ignition":38,"odometer":null,"unknown_44":-7694329561226448896}} 
[2026-09-05 10:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":171444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768177,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 10:59:55] local.INFO: GPS data processed {"connection_id":171444,"processed":1,"errors":0,"total":1} 
[2026-09-05 10:59:55] local.INFO: Acknowledgment sent {"connection_id":171444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:00:02] local.INFO: TCP Data received {"connection_id":172840,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:00:02] local.INFO: Processing buffer {"connection_id":172840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:00:02] local.INFO: IMEI packet received {"connection_id":172840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":172840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:00:02] local.INFO: TCP Data received {"connection_id":172840,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:00:02] local.INFO: Processing buffer {"connection_id":172840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:00:02] local.INFO: IMEI packet received {"connection_id":172840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":172840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:00:07] local.INFO: TCP Data received {"connection_id":172840,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:00:07] local.INFO: Processing buffer {"connection_id":172840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:00:07] local.INFO: IMEI packet received {"connection_id":172840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":172840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:00:08] local.INFO: TCP Data received {"connection_id":172840,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a070092290012d52c540064e6dd0000801442c..."} 
[2026-09-05 11:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070092290012d52c540064e6dd0000801442c..."} 
[2026-09-05 11:00:08] local.INFO: Processing buffer {"connection_id":172840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070092290012d52c540064e6dd0000801442c..."} 
[2026-09-05 11:00:08] local.INFO: Packet analysis {"connection_id":172840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07009"} 
[2026-09-05 11:00:08] local.INFO: Extracted packet for processing {"connection_id":172840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07009"} 
[2026-09-05 11:00:08] local.INFO: GPS Element Parsed {"raw_longitude":760399168,"raw_latitude":105803216,"longitude_deg":76.0399168,"latitude_deg":10.5803216,"altitude":8,"angle":324,"satellites":44,"speed":2,"hex_longitude":"2d52c540","hex_latitude":"064e6dd0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 11:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878026240001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399472279680974848,"note":"Value kept but may cause issues"} 
[2026-09-05 11:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5964314046096023552,"note":"Value kept but may cause issues"} 
[2026-09-05 11:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788586042000,"timestamp_ms":1788586042000,"timestamp_seconds":1788586042,"priority":1,"record_length":96,"hex_timestamp":"000001a070092290"} 
[2026-09-05 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-09-05 11:00: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-09-05 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 11:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 11:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:00: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-09-05 11:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878026240001,"66":27974,"171":206,"78":62464,"24":2,"16":399472279680974848,"45":5964314046096023552},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,78,24,16,45]} 
[2026-09-05 11:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878026240001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:00:08] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-05 11:00:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 11:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399472279680974848,"km_value":399472279680974.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5964314046096023552,"description":"Unknown IO ID 45"} 
[2026-09-05 11:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878026240001,"power":27974,"unknown_171":206,"unknown_78":62464,"ignition":2,"odometer":null,"unknown_45":5964314046096023552}} 
[2026-09-05 11:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":172840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:00:09] local.INFO: GPS data processed {"connection_id":172840,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:00:09] local.INFO: Acknowledgment sent {"connection_id":172840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:00:18] local.INFO: TCP Data received {"connection_id":172840,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a070093de8012d52c4c0064e6f58000701602c..."} 
[2026-09-05 11:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070093de8012d52c4c0064e6f58000701602c..."} 
[2026-09-05 11:00:18] local.INFO: Processing buffer {"connection_id":172840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070093de8012d52c4c0064e6f58000701602c..."} 
[2026-09-05 11:00:18] local.INFO: Packet analysis {"connection_id":172840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07009"} 
[2026-09-05 11:00:18] local.INFO: Extracted packet for processing {"connection_id":172840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07009"} 
[2026-09-05 11:00:18] local.INFO: GPS Element Parsed {"raw_longitude":760399040,"raw_latitude":105803608,"longitude_deg":76.039904,"latitude_deg":10.5803608,"altitude":7,"angle":352,"satellites":44,"speed":4,"hex_longitude":"2d52c4c0","hex_latitude":"064e6f58","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878026752001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399472301155811328,"note":"Value kept but may cause issues"} 
[2026-09-05 11:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5964243677351890944,"note":"Value kept but may cause issues"} 
[2026-09-05 11:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788586049000,"timestamp_ms":1788586049000,"timestamp_seconds":1788586049,"priority":1,"record_length":96,"hex_timestamp":"000001a070093de8"} 
[2026-09-05 11:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 11:00:18] 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-09-05 11: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-09-05 11:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":172840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":172840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":172840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878026752001,"66":27865,"171":206,"78":62464,"24":4,"16":399472301155811328,"45":5964243677351890944},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,78,24,16,45]} 
[2026-09-05 11:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878026752001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:00:18] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-05 11:00:18] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 11:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399472301155811328,"km_value":399472301155811.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5964243677351890944,"description":"Unknown IO ID 45"} 
[2026-09-05 11:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878026752001,"power":27865,"unknown_171":206,"unknown_78":62464,"ignition":4,"odometer":null,"unknown_45":5964243677351890944}} 
[2026-09-05 11:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":172840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:00:18] local.INFO: GPS data processed {"connection_id":172840,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:00:18] local.INFO: Acknowledgment sent {"connection_id":172840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:00:57] local.INFO: TCP Data received {"connection_id":171446,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:00:57] local.INFO: Processing buffer {"connection_id":171446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:00:57] local.INFO: IMEI packet received {"connection_id":171446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":171446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:01:02] local.INFO: TCP Data received {"connection_id":171446,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:01:02] local.INFO: Processing buffer {"connection_id":171446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:01:02] local.INFO: IMEI packet received {"connection_id":171446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":171446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:01:03] local.INFO: TCP Data received {"connection_id":171446,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0700b4d40012d51c2c0064e9a88000601192b..."} 
[2026-09-05 11:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0700b4d40012d51c2c0064e9a88000601192b..."} 
[2026-09-05 11:01:03] local.INFO: Processing buffer {"connection_id":171446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0700b4d40012d51c2c0064e9a88000601192b..."} 
[2026-09-05 11:01:03] local.INFO: Packet analysis {"connection_id":171446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0700b"} 
[2026-09-05 11:01:03] local.INFO: Extracted packet for processing {"connection_id":171446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0700b"} 
[2026-09-05 11:01:03] local.INFO: GPS Element Parsed {"raw_longitude":760332992,"raw_latitude":105814664,"longitude_deg":76.0332992,"latitude_deg":10.5814664,"altitude":6,"angle":281,"satellites":43,"speed":37,"hex_longitude":"2d51c2c0","hex_latitude":"064e9a88","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878060544001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399475423597035520,"note":"Value kept but may cause issues"} 
[2026-09-05 11:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5901896970013018112,"note":"Value kept but may cause issues"} 
[2026-09-05 11:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788586184000,"timestamp_ms":1788586184000,"timestamp_seconds":1788586184,"priority":1,"record_length":96,"hex_timestamp":"000001a0700b4d40"} 
[2026-09-05 11:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:01: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-09-05 11: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 11:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:01: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-09-05 11:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878060544001,"66":27995,"172":206,"78":62464,"24":37,"16":399475423597035520,"45":5901896970013018112},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,78,24,16,45]} 
[2026-09-05 11:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878060544001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:01:03] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-05 11:01:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 11:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399475423597035520,"km_value":399475423597035.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5901896970013018112,"description":"Unknown IO ID 45"} 
[2026-09-05 11:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878060544001,"power":27995,"unknown_172":206,"unknown_78":62464,"ignition":37,"odometer":null,"unknown_45":5901896970013018112}} 
[2026-09-05 11:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":171446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:01:03] local.INFO: GPS data processed {"connection_id":171446,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:01:03] local.INFO: Acknowledgment sent {"connection_id":171446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:01:34] local.INFO: TCP Data received {"connection_id":171446,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0700b7450012d51a000064ea1d0000701192a..."} 
[2026-09-05 11:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0700b7450012d51a000064ea1d0000701192a..."} 
[2026-09-05 11:01:34] local.INFO: Processing buffer {"connection_id":171446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0700b7450012d51a000064ea1d0000701192a..."} 
[2026-09-05 11:01:34] local.INFO: Packet analysis {"connection_id":171446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0700b"} 
[2026-09-05 11:01:34] local.INFO: Extracted packet for processing {"connection_id":171446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0700b"} 
[2026-09-05 11:01:34] local.INFO: GPS Element Parsed {"raw_longitude":760324096,"raw_latitude":105816528,"longitude_deg":76.0324096,"latitude_deg":10.5816528,"altitude":7,"angle":281,"satellites":42,"speed":31,"hex_longitude":"2d51a000","hex_latitude":"064ea1d0","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878063104001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399475857388732416,"note":"Value kept but may cause issues"} 
[2026-09-05 11:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5891482395875117056,"note":"Value kept but may cause issues"} 
[2026-09-05 11:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788586194000,"timestamp_ms":1788586194000,"timestamp_seconds":1788586194,"priority":1,"record_length":96,"hex_timestamp":"000001a0700b7450"} 
[2026-09-05 11:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 11:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:01: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-09-05 11:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878063104001,"66":27821,"172":206,"78":62464,"24":31,"16":399475857388732416,"45":5891482395875117056},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,78,24,16,45]} 
[2026-09-05 11:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878063104001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:01:34] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-05 11:01:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 11:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399475857388732416,"km_value":399475857388732.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5891482395875117056,"description":"Unknown IO ID 45"} 
[2026-09-05 11:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878063104001,"power":27821,"unknown_172":206,"unknown_78":62464,"ignition":31,"odometer":null,"unknown_45":5891482395875117056}} 
[2026-09-05 11:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":171446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:01:35] local.INFO: GPS data processed {"connection_id":171446,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:01:35] local.INFO: Acknowledgment sent {"connection_id":171446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:01:56] local.INFO: TCP Data received {"connection_id":171743,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:01:56] local.INFO: Processing buffer {"connection_id":171743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:01:56] local.INFO: IMEI packet received {"connection_id":171743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":171743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:01:58] local.INFO: TCP Data received {"connection_id":171743,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:01:58] local.INFO: Processing buffer {"connection_id":171743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:01:58] local.INFO: IMEI packet received {"connection_id":171743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":171743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:02:03] local.INFO: TCP Data received {"connection_id":171743,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:02:03] local.INFO: Processing buffer {"connection_id":171743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:02:03] local.INFO: IMEI packet received {"connection_id":171743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":171743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:02:05] local.INFO: TCP Data received {"connection_id":171743,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0700b8bc0012d519180064ea338000701082b..."} 
[2026-09-05 11:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0700b8bc0012d519180064ea338000701082b..."} 
[2026-09-05 11:02:05] local.INFO: Processing buffer {"connection_id":171743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0700b8bc0012d519180064ea338000701082b..."} 
[2026-09-05 11:02:05] local.INFO: Packet analysis {"connection_id":171743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0700b"} 
[2026-09-05 11:02:05] local.INFO: Extracted packet for processing {"connection_id":171743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0700b"} 
[2026-09-05 11:02:05] local.INFO: GPS Element Parsed {"raw_longitude":760320384,"raw_latitude":105816888,"longitude_deg":76.0320384,"latitude_deg":10.5816888,"altitude":7,"angle":264,"satellites":43,"speed":24,"hex_longitude":"2d519180","hex_latitude":"064ea338","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878065664001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399476037777358848,"note":"Value kept but may cause issues"} 
[2026-09-05 11:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5881701140434898944,"note":"Value kept but may cause issues"} 
[2026-09-05 11:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788586200000,"timestamp_ms":1788586200000,"timestamp_seconds":1788586200,"priority":1,"record_length":96,"hex_timestamp":"000001a0700b8bc0"} 
[2026-09-05 11:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:02:05] 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-09-05 11: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 11:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:02: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-09-05 11:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878065664001,"66":27843,"172":206,"78":62464,"24":24,"16":399476037777358848,"45":5881701140434898944},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,78,24,16,45]} 
[2026-09-05 11:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878065664001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:02:05] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-05 11:02:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 11:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399476037777358848,"km_value":399476037777358.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5881701140434898944,"description":"Unknown IO ID 45"} 
[2026-09-05 11:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878065664001,"power":27843,"unknown_172":206,"unknown_78":62464,"ignition":24,"odometer":null,"unknown_45":5881701140434898944}} 
[2026-09-05 11:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":171743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:02:05] local.INFO: GPS data processed {"connection_id":171743,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:02:05] local.INFO: Acknowledgment sent {"connection_id":171743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:02:07] local.INFO: TCP Data received {"connection_id":171743,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0700bbe88012d516e00064ea1980008010b29..."} 
[2026-09-05 11:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0700bbe88012d516e00064ea1980008010b29..."} 
[2026-09-05 11:02:07] local.INFO: Processing buffer {"connection_id":171743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0700bbe88012d516e00064ea1980008010b29..."} 
[2026-09-05 11:02:07] local.INFO: Packet analysis {"connection_id":171743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0700b"} 
[2026-09-05 11:02:07] local.INFO: Extracted packet for processing {"connection_id":171743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0700b"} 
[2026-09-05 11:02:07] local.INFO: GPS Element Parsed {"raw_longitude":760311296,"raw_latitude":105816472,"longitude_deg":76.0311296,"latitude_deg":10.5816472,"altitude":8,"angle":267,"satellites":41,"speed":30,"hex_longitude":"2d516e00","hex_latitude":"064ea198","is_valid_coordinates":true} 
[2026-09-05 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-09-05 11:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878067200001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399476471569055744,"note":"Value kept but may cause issues"} 
[2026-09-05 11:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5877619753272686592,"note":"Value kept but may cause issues"} 
[2026-09-05 11:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788586213000,"timestamp_ms":1788586213000,"timestamp_seconds":1788586213,"priority":1,"record_length":96,"hex_timestamp":"000001a0700bbe88"} 
[2026-09-05 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-09-05 11:02: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-09-05 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 11:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 11:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878067200001,"66":27887,"172":206,"78":62464,"24":30,"16":399476471569055744,"45":5877619753272686592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,78,24,16,45]} 
[2026-09-05 11:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878067200001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:02:07] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-05 11:02:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 11:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399476471569055744,"km_value":399476471569055.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5877619753272686592,"description":"Unknown IO ID 45"} 
[2026-09-05 11:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878067200001,"power":27887,"unknown_172":206,"unknown_78":62464,"ignition":30,"odometer":null,"unknown_45":5877619753272686592}} 
[2026-09-05 11:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":171743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:02:07] local.INFO: GPS data processed {"connection_id":171743,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:02:07] local.INFO: Acknowledgment sent {"connection_id":171743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:02:39] local.INFO: TCP Data received {"connection_id":171743,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0700bfd08012d514980064e9cd0000701082c..."} 
[2026-09-05 11:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0700bfd08012d514980064e9cd0000701082c..."} 
[2026-09-05 11:02:39] local.INFO: Processing buffer {"connection_id":171743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0700bfd08012d514980064e9cd0000701082c..."} 
[2026-09-05 11:02:39] local.INFO: Packet analysis {"connection_id":171743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0700b"} 
[2026-09-05 11:02:39] local.INFO: Extracted packet for processing {"connection_id":171743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0700b"} 
[2026-09-05 11:02:39] local.INFO: GPS Element Parsed {"raw_longitude":760301952,"raw_latitude":105815248,"longitude_deg":76.0301952,"latitude_deg":10.5815248,"altitude":7,"angle":264,"satellites":44,"speed":23,"hex_longitude":"2d514980","hex_latitude":"064e9cd0","is_valid_coordinates":true} 
[2026-09-05 11:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878070528001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399476918245654528,"note":"Value kept but may cause issues"} 
[2026-09-05 11:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5867627391599351808,"note":"Value kept but may cause issues"} 
[2026-09-05 11:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788586229000,"timestamp_ms":1788586229000,"timestamp_seconds":1788586229,"priority":1,"record_length":96,"hex_timestamp":"000001a0700bfd08"} 
[2026-09-05 11:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:02:39] 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-09-05 11:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-05 11:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878070528001,"66":27876,"6":206,"78":62464,"24":23,"16":399476918245654528,"45":5867627391599351808},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,78,24,16,45]} 
[2026-09-05 11:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878070528001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:02:39] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-05 11:02:39] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 11:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399476918245654528,"km_value":399476918245654.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":5867627391599351808,"description":"Unknown IO ID 45"} 
[2026-09-05 11:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878070528001,"power":27876,"unknown_6":206,"unknown_78":62464,"ignition":23,"odometer":null,"unknown_45":5867627391599351808}} 
[2026-09-05 11:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":171743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:02:39] local.INFO: GPS data processed {"connection_id":171743,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:02:39] local.INFO: Acknowledgment sent {"connection_id":171743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:02:56] local.INFO: TCP Data received {"connection_id":171447,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:02:56] local.INFO: Processing buffer {"connection_id":171447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:02:56] local.INFO: IMEI packet received {"connection_id":171447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":171447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:03:02] local.INFO: TCP Data received {"connection_id":171447,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:03:02] local.INFO: Processing buffer {"connection_id":171447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:03:02] local.INFO: IMEI packet received {"connection_id":171447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":171447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:03:03] local.INFO: TCP Data received {"connection_id":171447,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0700c3f70012d512480064e97e8000501072b..."} 
[2026-09-05 11:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0700c3f70012d512480064e97e8000501072b..."} 
[2026-09-05 11:03:03] local.INFO: Processing buffer {"connection_id":171447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0700c3f70012d512480064e97e8000501072b..."} 
[2026-09-05 11:03:03] local.INFO: Packet analysis {"connection_id":171447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0700c"} 
[2026-09-05 11:03:03] local.INFO: Extracted packet for processing {"connection_id":171447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0700c"} 
[2026-09-05 11:03:03] local.INFO: GPS Element Parsed {"raw_longitude":760292480,"raw_latitude":105813992,"longitude_deg":76.029248,"latitude_deg":10.5813992,"altitude":5,"angle":263,"satellites":43,"speed":33,"hex_longitude":"2d512480","hex_latitude":"064e97e8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 11:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878074624001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399477373512187904,"note":"Value kept but may cause issues"} 
[2026-09-05 11:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5857353554949099520,"note":"Value kept but may cause issues"} 
[2026-09-05 11:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788586246000,"timestamp_ms":1788586246000,"timestamp_seconds":1788586246,"priority":1,"record_length":96,"hex_timestamp":"000001a0700c3f70"} 
[2026-09-05 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-09-05 11:03: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-09-05 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 11:03: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-09-05 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-09-05 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-09-05 11:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:03: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-09-05 11:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878074624001,"66":27865,"6":206,"78":62464,"24":33,"16":399477373512187904,"45":5857353554949099520},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,78,24,16,45]} 
[2026-09-05 11:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878074624001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:03:03] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-05 11:03:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 11:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399477373512187904,"km_value":399477373512187.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5857353554949099520,"description":"Unknown IO ID 45"} 
[2026-09-05 11:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878074624001,"power":27865,"unknown_6":206,"unknown_78":62464,"ignition":33,"odometer":null,"unknown_45":5857353554949099520}} 
[2026-09-05 11:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":171447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:03:03] local.INFO: GPS data processed {"connection_id":171447,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:03:03] local.INFO: Acknowledgment sent {"connection_id":171447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:03:38] local.INFO: TCP Data received {"connection_id":171447,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0700e0490012d507c80064e2b08000700b22b..."} 
[2026-09-05 11:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0700e0490012d507c80064e2b08000700b22b..."} 
[2026-09-05 11:03:38] local.INFO: Processing buffer {"connection_id":171447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0700e0490012d507c80064e2b08000700b22b..."} 
[2026-09-05 11:03:38] local.INFO: Packet analysis {"connection_id":171447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0700e"} 
[2026-09-05 11:03:38] local.INFO: Extracted packet for processing {"connection_id":171447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0700e"} 
[2026-09-05 11:03:38] local.INFO: GPS Element Parsed {"raw_longitude":760249472,"raw_latitude":105786120,"longitude_deg":76.0249472,"latitude_deg":10.578612,"altitude":7,"angle":178,"satellites":43,"speed":14,"hex_longitude":"2d507c80","hex_latitude":"064e2b08","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878108416001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399480702111842304,"note":"Value kept but may cause issues"} 
[2026-09-05 11:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5799721553460234240,"note":"Value kept but may cause issues"} 
[2026-09-05 11:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788586362000,"timestamp_ms":1788586362000,"timestamp_seconds":1788586362,"priority":1,"record_length":96,"hex_timestamp":"000001a0700e0490"} 
[2026-09-05 11:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:03: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-09-05 11: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 11:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:03: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-09-05 11:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878108416001,"66":27800,"6":206,"78":62464,"24":14,"16":399480702111842304,"45":5799721553460234240},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,78,24,16,45]} 
[2026-09-05 11:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878108416001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:03:38] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-05 11:03:38] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 11:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399480702111842304,"km_value":399480702111842.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5799721553460234240,"description":"Unknown IO ID 45"} 
[2026-09-05 11:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878108416001,"power":27800,"unknown_6":206,"unknown_78":62464,"ignition":14,"odometer":null,"unknown_45":5799721553460234240}} 
[2026-09-05 11:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":171447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:03:38] local.INFO: GPS data processed {"connection_id":171447,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:03:38] local.INFO: Acknowledgment sent {"connection_id":171447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:03:56] local.INFO: TCP Data received {"connection_id":172841,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:03:56] local.INFO: Processing buffer {"connection_id":172841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:03:56] local.INFO: IMEI packet received {"connection_id":172841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":172841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:04:01] local.INFO: TCP Data received {"connection_id":172841,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:04:01] local.INFO: Processing buffer {"connection_id":172841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:04:01] local.INFO: IMEI packet received {"connection_id":172841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":172841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:04:02] local.INFO: TCP Data received {"connection_id":172841,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0700e0878012d507cc0064e2998000600a02b..."} 
[2026-09-05 11:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0700e0878012d507cc0064e2998000600a02b..."} 
[2026-09-05 11:04:02] local.INFO: Processing buffer {"connection_id":172841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0700e0878012d507cc0064e2998000600a02b..."} 
[2026-09-05 11:04:02] local.INFO: Packet analysis {"connection_id":172841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0700e"} 
[2026-09-05 11:04:02] local.INFO: Extracted packet for processing {"connection_id":172841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0700e"} 
[2026-09-05 11:04:02] local.INFO: GPS Element Parsed {"raw_longitude":760249536,"raw_latitude":105785752,"longitude_deg":76.0249536,"latitude_deg":10.5785752,"altitude":6,"angle":160,"satellites":43,"speed":14,"hex_longitude":"2d507cc0","hex_latitude":"064e2998","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878108672001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399480719291711488,"note":"Value kept but may cause issues"} 
[2026-09-05 11:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5799651184715958272,"note":"Value kept but may cause issues"} 
[2026-09-05 11:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788586363000,"timestamp_ms":1788586363000,"timestamp_seconds":1788586363,"priority":1,"record_length":96,"hex_timestamp":"000001a0700e0878"} 
[2026-09-05 11:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:04: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-09-05 11: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 11:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:04: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-09-05 11:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878108672001,"66":27876,"6":206,"78":62464,"24":14,"16":399480719291711488,"45":5799651184715958272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,78,24,16,45]} 
[2026-09-05 11:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878108672001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:04:02] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-05 11:04:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 11:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399480719291711488,"km_value":399480719291711.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5799651184715958272,"description":"Unknown IO ID 45"} 
[2026-09-05 11:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878108672001,"power":27876,"unknown_6":206,"unknown_78":62464,"ignition":14,"odometer":null,"unknown_45":5799651184715958272}} 
[2026-09-05 11:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":172841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:04:02] local.INFO: GPS data processed {"connection_id":172841,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:04:02] local.INFO: Acknowledgment sent {"connection_id":172841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:04:34] local.INFO: TCP Data received {"connection_id":172841,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0700e0c60012d507d80064e2820000600922b..."} 
[2026-09-05 11:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0700e0c60012d507d80064e2820000600922b..."} 
[2026-09-05 11:04:34] local.INFO: Processing buffer {"connection_id":172841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0700e0c60012d507d80064e2820000600922b..."} 
[2026-09-05 11:04:34] local.INFO: Packet analysis {"connection_id":172841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0700e"} 
[2026-09-05 11:04:34] local.INFO: Extracted packet for processing {"connection_id":172841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0700e"} 
[2026-09-05 11:04:34] local.INFO: GPS Element Parsed {"raw_longitude":760249728,"raw_latitude":105785376,"longitude_deg":76.0249728,"latitude_deg":10.5785376,"altitude":6,"angle":146,"satellites":43,"speed":16,"hex_longitude":"2d507d80","hex_latitude":"064e2820","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878108928001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399480740766547968,"note":"Value kept but may cause issues"} 
[2026-09-05 11:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5799721553460041728,"note":"Value kept but may cause issues"} 
[2026-09-05 11:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788586364000,"timestamp_ms":1788586364000,"timestamp_seconds":1788586364,"priority":1,"record_length":96,"hex_timestamp":"000001a0700e0c60"} 
[2026-09-05 11:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 11:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:04: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-09-05 11:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878108928001,"66":27876,"6":206,"78":62464,"24":16,"16":399480740766547968,"45":5799721553460041728},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,78,24,16,45]} 
[2026-09-05 11:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878108928001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:04:34] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-05 11:04:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 11:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399480740766547968,"km_value":399480740766547.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5799721553460041728,"description":"Unknown IO ID 45"} 
[2026-09-05 11:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878108928001,"power":27876,"unknown_6":206,"unknown_78":62464,"ignition":16,"odometer":null,"unknown_45":5799721553460041728}} 
[2026-09-05 11:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":172841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:04:34] local.INFO: GPS data processed {"connection_id":172841,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:04:34] local.INFO: Acknowledgment sent {"connection_id":172841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:04:50] local.INFO: TCP Data received {"connection_id":172842,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:04:50] local.INFO: Processing buffer {"connection_id":172842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:04:50] local.INFO: IMEI packet received {"connection_id":172842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":172842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:04:51] local.INFO: TCP Data received {"connection_id":172842,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0700ecfb0012d1a640007204e200043010a25..."} 
[2026-09-05 11:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0700ecfb0012d1a640007204e200043010a25..."} 
[2026-09-05 11:04:51] local.INFO: Processing buffer {"connection_id":172842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0700ecfb0012d1a640007204e200043010a25..."} 
[2026-09-05 11:04:51] local.INFO: Packet analysis {"connection_id":172842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0700e"} 
[2026-09-05 11:04:51] local.INFO: Extracted packet for processing {"connection_id":172842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0700e"} 
[2026-09-05 11:04:51] local.INFO: GPS Element Parsed {"raw_longitude":756704256,"raw_latitude":119557664,"longitude_deg":75.6704256,"latitude_deg":11.9557664,"altitude":67,"angle":266,"satellites":37,"speed":13,"hex_longitude":"2d1a6400","hex_latitude":"07204e20","is_valid_coordinates":true} 
[2026-09-05 11:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878121472001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17475594862198784,"note":"Value kept but may cause issues"} 
[2026-09-05 11:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902348660705757184,"note":"Value kept but may cause issues"} 
[2026-09-05 11:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788586414000,"timestamp_ms":1788586414000,"timestamp_seconds":1788586414,"priority":1,"record_length":96,"hex_timestamp":"000001a0700ecfb0"} 
[2026-09-05 11:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:04:51] 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-09-05 11:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-05 11:04:51] 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-09-05 11:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878121472001,"66":14113,"101":206,"83":41984,"24":13,"16":17475594862198784,"45":1902348660705757184},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-05 11:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878121472001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:04:51] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 11:04:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17475594862198784,"km_value":17475594862198.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902348660705757184,"description":"Unknown IO ID 45"} 
[2026-09-05 11:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878121472001,"power":14113,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1902348660705757184}} 
[2026-09-05 11:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":172842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:04:51] local.INFO: GPS data processed {"connection_id":172842,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:04:51] local.INFO: Acknowledgment sent {"connection_id":172842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:04:56] local.INFO: TCP Data received {"connection_id":172843,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:04:56] local.INFO: Processing buffer {"connection_id":172843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:04:56] local.INFO: IMEI packet received {"connection_id":172843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":172843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:05:02] local.INFO: TCP Data received {"connection_id":172843,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:05:02] local.INFO: Processing buffer {"connection_id":172843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:05:02] local.INFO: IMEI packet received {"connection_id":172843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":172843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:05:03] local.INFO: TCP Data received {"connection_id":172843,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0700e5e68012d508a40064e1200000800932d..."} 
[2026-09-05 11:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0700e5e68012d508a40064e1200000800932d..."} 
[2026-09-05 11:05:03] local.INFO: Processing buffer {"connection_id":172843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0700e5e68012d508a40064e1200000800932d..."} 
[2026-09-05 11:05:03] local.INFO: Packet analysis {"connection_id":172843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0700e"} 
[2026-09-05 11:05:03] local.INFO: Extracted packet for processing {"connection_id":172843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0700e"} 
[2026-09-05 11:05:03] local.INFO: GPS Element Parsed {"raw_longitude":760252992,"raw_latitude":105779712,"longitude_deg":76.0252992,"latitude_deg":10.5779712,"altitude":8,"angle":147,"satellites":45,"speed":10,"hex_longitude":"2d508a40","hex_latitude":"064e1200","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878109184001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399481054299160576,"note":"Value kept but may cause issues"} 
[2026-09-05 11:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5799932659692478464,"note":"Value kept but may cause issues"} 
[2026-09-05 11:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788586385000,"timestamp_ms":1788586385000,"timestamp_seconds":1788586385,"priority":1,"record_length":96,"hex_timestamp":"000001a0700e5e68"} 
[2026-09-05 11:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:05: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-09-05 11:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 11:05: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-09-05 11: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-09-05 11:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:05: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-09-05 11:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878109184001,"66":27919,"6":206,"78":62464,"24":10,"16":399481054299160576,"45":5799932659692478464},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,78,24,16,45]} 
[2026-09-05 11:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878109184001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:05:03] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-05 11:05:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 11:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399481054299160576,"km_value":399481054299160.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5799932659692478464,"description":"Unknown IO ID 45"} 
[2026-09-05 11:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878109184001,"power":27919,"unknown_6":206,"unknown_78":62464,"ignition":10,"odometer":null,"unknown_45":5799932659692478464}} 
[2026-09-05 11:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":172843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:05:03] local.INFO: GPS data processed {"connection_id":172843,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:05:03] local.INFO: Acknowledgment sent {"connection_id":172843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:05:21] local.INFO: TCP Data received {"connection_id":172842,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0700edb68012d1a5f0007204d50004300fe26..."} 
[2026-09-05 11:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0700edb68012d1a5f0007204d50004300fe26..."} 
[2026-09-05 11:05:21] local.INFO: Processing buffer {"connection_id":172842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0700edb68012d1a5f0007204d50004300fe26..."} 
[2026-09-05 11:05:21] local.INFO: Packet analysis {"connection_id":172842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0700e"} 
[2026-09-05 11:05:21] local.INFO: Extracted packet for processing {"connection_id":172842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0700e"} 
[2026-09-05 11:05:21] local.INFO: GPS Element Parsed {"raw_longitude":756702976,"raw_latitude":119557456,"longitude_deg":75.6702976,"latitude_deg":11.9557456,"altitude":67,"angle":254,"satellites":38,"speed":18,"hex_longitude":"2d1a5f00","hex_latitude":"07204d50","is_valid_coordinates":true} 
[2026-09-05 11:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878121984001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17475654991740928,"note":"Value kept but may cause issues"} 
[2026-09-05 11:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1901644973263953920,"note":"Value kept but may cause issues"} 
[2026-09-05 11:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788586417000,"timestamp_ms":1788586417000,"timestamp_seconds":1788586417,"priority":1,"record_length":96,"hex_timestamp":"000001a0700edb68"} 
[2026-09-05 11:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-05 11:05:21] 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-09-05 11:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878121984001,"66":14048,"101":206,"83":41984,"24":18,"16":17475654991740928,"45":1901644973263953920},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-05 11:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878121984001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:05:21] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 11:05:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17475654991740928,"km_value":17475654991740.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1901644973263953920,"description":"Unknown IO ID 45"} 
[2026-09-05 11:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878121984001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1901644973263953920}} 
[2026-09-05 11:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":172842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:05:21] local.INFO: GPS data processed {"connection_id":172842,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:05:21] local.INFO: Acknowledgment sent {"connection_id":172842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:05:34] local.INFO: TCP Data received {"connection_id":172843,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0700eb070012d5098c0064df740000500982d..."} 
[2026-09-05 11:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0700eb070012d5098c0064df740000500982d..."} 
[2026-09-05 11:05:34] local.INFO: Processing buffer {"connection_id":172843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0700eb070012d5098c0064df740000500982d..."} 
[2026-09-05 11:05:34] local.INFO: Packet analysis {"connection_id":172843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0700e"} 
[2026-09-05 11:05:34] local.INFO: Extracted packet for processing {"connection_id":172843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0700e"} 
[2026-09-05 11:05:34] local.INFO: GPS Element Parsed {"raw_longitude":760256704,"raw_latitude":105772864,"longitude_deg":76.0256704,"latitude_deg":10.5772864,"altitude":5,"angle":152,"satellites":45,"speed":11,"hex_longitude":"2d5098c0","hex_latitude":"064df740","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878114560001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399481432256282624,"note":"Value kept but may cause issues"} 
[2026-09-05 11:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5803521465644089344,"note":"Value kept but may cause issues"} 
[2026-09-05 11:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788586406000,"timestamp_ms":1788586406000,"timestamp_seconds":1788586406,"priority":1,"record_length":96,"hex_timestamp":"000001a0700eb070"} 
[2026-09-05 11:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 11:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:05: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-09-05 11:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878114560001,"66":27919,"6":206,"78":62464,"24":11,"16":399481432256282624,"45":5803521465644089344},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,78,24,16,45]} 
[2026-09-05 11:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878114560001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:05:34] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-05 11:05:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 11:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399481432256282624,"km_value":399481432256282.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5803521465644089344,"description":"Unknown IO ID 45"} 
[2026-09-05 11:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878114560001,"power":27919,"unknown_6":206,"unknown_78":62464,"ignition":11,"odometer":null,"unknown_45":5803521465644089344}} 
[2026-09-05 11:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":172843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:05:34] local.INFO: GPS data processed {"connection_id":172843,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:05:34] local.INFO: Acknowledgment sent {"connection_id":172843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:05:45] local.INFO: TCP Data received {"connection_id":171449,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:05:45] local.INFO: Processing buffer {"connection_id":171449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:05:45] local.INFO: IMEI packet received {"connection_id":171449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":171449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:05:48] local.INFO: TCP Data received {"connection_id":171449,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:05:48] local.INFO: Processing buffer {"connection_id":171449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:05:48] local.INFO: IMEI packet received {"connection_id":171449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":171449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:05:49] local.INFO: TCP Data received {"connection_id":171449,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0700fe508012d19c94007201e48002701372a..."} 
[2026-09-05 11:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0700fe508012d19c94007201e48002701372a..."} 
[2026-09-05 11:05:49] local.INFO: Processing buffer {"connection_id":171449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0700fe508012d19c94007201e48002701372a..."} 
[2026-09-05 11:05:49] local.INFO: Packet analysis {"connection_id":171449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0700f"} 
[2026-09-05 11:05:49] local.INFO: Extracted packet for processing {"connection_id":171449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0700f"} 
[2026-09-05 11:05:49] local.INFO: GPS Element Parsed {"raw_longitude":756664640,"raw_latitude":119545416,"longitude_deg":75.666464,"latitude_deg":11.9545416,"altitude":39,"angle":311,"satellites":42,"speed":9,"hex_longitude":"2d19c940","hex_latitude":"07201e48","is_valid_coordinates":true} 
[2026-09-05 11:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878139904001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17477634971664384,"note":"Value kept but may cause issues"} 
[2026-09-05 11:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858297826847342592,"note":"Value kept but may cause issues"} 
[2026-09-05 11:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788586485000,"timestamp_ms":1788586485000,"timestamp_seconds":1788586485,"priority":1,"record_length":96,"hex_timestamp":"000001a0700fe508"} 
[2026-09-05 11:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-05 11:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":171449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":171449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":171449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878139904001,"66":14243,"103":206,"83":41984,"24":9,"16":17477634971664384,"45":1858297826847342592},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 11:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878139904001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:05:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 11:05:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17477634971664384,"km_value":17477634971664.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858297826847342592,"description":"Unknown IO ID 45"} 
[2026-09-05 11:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878139904001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1858297826847342592}} 
[2026-09-05 11:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":171449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:05:50] local.INFO: GPS data processed {"connection_id":171449,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:05:50] local.INFO: Acknowledgment sent {"connection_id":171449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:05:58] local.INFO: TCP Data received {"connection_id":171450,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:05:58] local.INFO: Processing buffer {"connection_id":171450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:05:58] local.INFO: IMEI packet received {"connection_id":171450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":171450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:06:02] local.INFO: TCP Data received {"connection_id":171450,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:06:02] local.INFO: Processing buffer {"connection_id":171450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:06:02] local.INFO: IMEI packet received {"connection_id":171450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":171450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:06:07] local.INFO: TCP Data received {"connection_id":171450,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:06:07] local.INFO: Processing buffer {"connection_id":171450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:06:07] local.INFO: IMEI packet received {"connection_id":171450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":171450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:06:08] local.INFO: TCP Data received {"connection_id":171450,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0700f0278012d509e00064de9f80004009e2c..."} 
[2026-09-05 11:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0700f0278012d509e00064de9f80004009e2c..."} 
[2026-09-05 11:06:08] local.INFO: Processing buffer {"connection_id":171450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0700f0278012d509e00064de9f80004009e2c..."} 
[2026-09-05 11:06:08] local.INFO: Packet analysis {"connection_id":171450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0700f"} 
[2026-09-05 11:06:08] local.INFO: Extracted packet for processing {"connection_id":171450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0700f"} 
[2026-09-05 11:06:08] local.INFO: GPS Element Parsed {"raw_longitude":760258048,"raw_latitude":105769464,"longitude_deg":76.0258048,"latitude_deg":10.5769464,"altitude":4,"angle":158,"satellites":44,"speed":8,"hex_longitude":"2d509e00","hex_latitude":"064de9f8","is_valid_coordinates":true} 
[2026-09-05 11:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878119936001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399481612644909056,"note":"Value kept but may cause issues"} 
[2026-09-05 11:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5807602852804640768,"note":"Value kept but may cause issues"} 
[2026-09-05 11:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788586427000,"timestamp_ms":1788586427000,"timestamp_seconds":1788586427,"priority":1,"record_length":96,"hex_timestamp":"000001a0700f0278"} 
[2026-09-05 11:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:06: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-09-05 11:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 11:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:06: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-09-05 11:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878119936001,"66":27843,"6":206,"78":62464,"24":8,"16":399481612644909056,"45":5807602852804640768},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,78,24,16,45]} 
[2026-09-05 11:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878119936001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:06:08] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-05 11:06:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 11:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399481612644909056,"km_value":399481612644909.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5807602852804640768,"description":"Unknown IO ID 45"} 
[2026-09-05 11:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878119936001,"power":27843,"unknown_6":206,"unknown_78":62464,"ignition":8,"odometer":null,"unknown_45":5807602852804640768}} 
[2026-09-05 11:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":171450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:06:08] local.INFO: GPS data processed {"connection_id":171450,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:06:08] local.INFO: Acknowledgment sent {"connection_id":171450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:06:14] local.INFO: TCP Data received {"connection_id":171450,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0700f5480012d50a840064dd458000400972d..."} 
[2026-09-05 11:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0700f5480012d50a840064dd458000400972d..."} 
[2026-09-05 11:06:14] local.INFO: Processing buffer {"connection_id":171450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0700f5480012d50a840064dd458000400972d..."} 
[2026-09-05 11:06:14] local.INFO: Packet analysis {"connection_id":171450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0700f"} 
[2026-09-05 11:06:14] local.INFO: Extracted packet for processing {"connection_id":171450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0700f"} 
[2026-09-05 11:06:14] local.INFO: GPS Element Parsed {"raw_longitude":760260672,"raw_latitude":105763928,"longitude_deg":76.0260672,"latitude_deg":10.5763928,"altitude":4,"angle":151,"satellites":45,"speed":9,"hex_longitude":"2d50a840","hex_latitude":"064dd458","is_valid_coordinates":true} 
[2026-09-05 11:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878125312001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399481913292619776,"note":"Value kept but may cause issues"} 
[2026-09-05 11:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5809080596431501312,"note":"Value kept but may cause issues"} 
[2026-09-05 11:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788586448000,"timestamp_ms":1788586448000,"timestamp_seconds":1788586448,"priority":1,"record_length":96,"hex_timestamp":"000001a0700f5480"} 
[2026-09-05 11:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:06:14] 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-09-05 11:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 11:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":171450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":171450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":171450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:06:14] 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-09-05 11:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878125312001,"66":27713,"238":206,"78":62464,"24":9,"16":399481913292619776,"45":5809080596431501312},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,78,24,16,45]} 
[2026-09-05 11:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878125312001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:06:14] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-05 11:06:14] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 11:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399481913292619776,"km_value":399481913292619.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5809080596431501312,"description":"Unknown IO ID 45"} 
[2026-09-05 11:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878125312001,"power":27713,"unknown_238":206,"unknown_78":62464,"ignition":9,"odometer":null,"unknown_45":5809080596431501312}} 
[2026-09-05 11:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":171450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:06:14] local.INFO: GPS data processed {"connection_id":171450,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:06:14] local.INFO: Acknowledgment sent {"connection_id":171450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:06:21] local.INFO: TCP Data received {"connection_id":171449,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07010a088012d19b6800720aab80030013728..."} 
[2026-09-05 11:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07010a088012d19b6800720aab80030013728..."} 
[2026-09-05 11:06:21] local.INFO: Processing buffer {"connection_id":171449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07010a088012d19b6800720aab80030013728..."} 
[2026-09-05 11:06:21] local.INFO: Packet analysis {"connection_id":171449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07010"} 
[2026-09-05 11:06:21] local.INFO: Extracted packet for processing {"connection_id":171449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07010"} 
[2026-09-05 11:06:21] local.INFO: GPS Element Parsed {"raw_longitude":756659840,"raw_latitude":119581368,"longitude_deg":75.665984,"latitude_deg":11.9581368,"altitude":48,"angle":311,"satellites":40,"speed":20,"hex_longitude":"2d19b680","hex_latitude":"0720aab8","is_valid_coordinates":true} 
[2026-09-05 11:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878152192001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17479498987470848,"note":"Value kept but may cause issues"} 
[2026-09-05 11:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853231277275699200,"note":"Value kept but may cause issues"} 
[2026-09-05 11:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788586533000,"timestamp_ms":1788586533000,"timestamp_seconds":1788586533,"priority":1,"record_length":96,"hex_timestamp":"000001a07010a088"} 
[2026-09-05 11:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:06:21] 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-09-05 11:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-05 11:06:21] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 11:06:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 11:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5093572471772725255,"note":"Value kept but may cause issues"} 
[2026-09-05 11:06:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788856,"note":"Value kept but may cause issues"} 
[2026-09-05 11:06:21] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13465703,"corrected_to":0} 
[2026-09-05 11:06:21] local.WARNING: Large IO value detected {"io_id":32,"raw_value":7304838750236190976,"note":"Value kept but may cause issues"} 
[2026-09-05 11:06:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-05 11:06:21] local.WARNING: Large IO value detected {"io_id":117,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-09-05 11:06:21] local.WARNING: Large IO value detected {"io_id":171,"raw_value":3221692561,"note":"Value kept but may cause issues"} 
[2026-09-05 11:06:21] local.WARNING: Large IO value detected {"io_id":27,"raw_value":57834754016170916,"note":"Value kept but may cause issues"} 
[2026-09-05 11:06:21] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,103,83,24,241,157,16,25,160,152,45,167,48,40,10,66,148,165,133,1,240,246,227,112,32,4,113,205,117,171,39,239,56,2,62,7,42,37,27],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":246,"original":13465703,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-05 11:06:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3459129723480899584,"timestamp_seconds":3459129723480899.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 11:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878152192001,"66":13319,"103":206,"83":41984,"24":20,"16":17479498987470848,"45":1853231277275699200},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 11:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878152192001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:06:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 11:06:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17479498987470848,"km_value":17479498987470.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853231277275699200,"description":"Unknown IO ID 45"} 
[2026-09-05 11:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878152192001,"power":13319,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1853231277275699200}} 
[2026-09-05 11:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":171449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:06:21] local.INFO: GPS data processed {"connection_id":171449,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:06:21] local.INFO: Acknowledgment sent {"connection_id":171449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:06:44] local.INFO: TCP Data received {"connection_id":171745,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:06:44] local.INFO: Processing buffer {"connection_id":171745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:06:44] local.INFO: IMEI packet received {"connection_id":171745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":171745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:06:45] local.INFO: TCP Data received {"connection_id":171745,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:06:45] local.INFO: Processing buffer {"connection_id":171745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:06:45] local.INFO: IMEI packet received {"connection_id":171745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":171745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:06:47] local.INFO: TCP Data received {"connection_id":171745,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:06:47] local.INFO: Processing buffer {"connection_id":171745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:06:47] local.INFO: IMEI packet received {"connection_id":171745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":171745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:06:50] local.INFO: TCP Data received {"connection_id":171745,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:06:50] local.INFO: Processing buffer {"connection_id":171745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:06:50] local.INFO: IMEI packet received {"connection_id":171745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":171745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:06:51] local.INFO: TCP Data received {"connection_id":171745,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07010a470012d19b4800720abb00031012727..."} 
[2026-09-05 11:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07010a470012d19b4800720abb00031012727..."} 
[2026-09-05 11:06:51] local.INFO: Processing buffer {"connection_id":171745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07010a470012d19b4800720abb00031012727..."} 
[2026-09-05 11:06:51] local.INFO: Packet analysis {"connection_id":171745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07010"} 
[2026-09-05 11:06:51] local.INFO: Extracted packet for processing {"connection_id":171745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07010"} 
[2026-09-05 11:06:51] local.INFO: GPS Element Parsed {"raw_longitude":756659328,"raw_latitude":119581616,"longitude_deg":75.6659328,"latitude_deg":11.9581616,"altitude":49,"angle":295,"satellites":39,"speed":23,"hex_longitude":"2d19b480","hex_latitude":"0720abb0","is_valid_coordinates":true} 
[2026-09-05 11:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878152448001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17479529052241920,"note":"Value kept but may cause issues"} 
[2026-09-05 11:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852809064810723328,"note":"Value kept but may cause issues"} 
[2026-09-05 11:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788586534000,"timestamp_ms":1788586534000,"timestamp_seconds":1788586534,"priority":1,"record_length":96,"hex_timestamp":"000001a07010a470"} 
[2026-09-05 11:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:06:51] 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-09-05 11:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-05 11:06:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 11:06:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 11:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":7626847262167859207,"note":"Value kept but may cause issues"} 
[2026-09-05 11:06:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788856,"note":"Value kept but may cause issues"} 
[2026-09-05 11:06:51] local.WARNING: Large IO value detected {"io_id":32,"raw_value":-8757249295010552064,"note":"Value kept but may cause issues"} 
[2026-09-05 11:06:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-05 11:06:51] local.WARNING: Large IO value detected {"io_id":125,"raw_value":57834754016170916,"note":"Value kept but may cause issues"} 
[2026-09-05 11:06:51] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2298531192,"note":"Value kept but may cause issues"} 
[2026-09-05 11:06:51] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,103,83,24,241,157,16,25,160,156,45,169,48,40,10,66,152,167,148,1,240,227,112,32,4,113,205,33,125,174,80,38,239,54,2,62,7,44,34],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-05 11:06:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3459106633736781824,"timestamp_seconds":3459106633736782.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 11:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878152448001,"66":13972,"103":206,"83":41984,"24":23,"16":17479529052241920,"45":1852809064810723328},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 11:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878152448001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:06:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 11:06:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17479529052241920,"km_value":17479529052241.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852809064810723328,"description":"Unknown IO ID 45"} 
[2026-09-05 11:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878152448001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1852809064810723328}} 
[2026-09-05 11:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":171745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:06:51] local.INFO: GPS data processed {"connection_id":171745,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:06:51] local.INFO: Acknowledgment sent {"connection_id":171745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:06:56] local.INFO: TCP Data received {"connection_id":171745,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07010bbe0012d19a6800720b0600034011728..."} 
[2026-09-05 11:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07010bbe0012d19a6800720b0600034011728..."} 
[2026-09-05 11:06:56] local.INFO: Processing buffer {"connection_id":171745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07010bbe0012d19a6800720b0600034011728..."} 
[2026-09-05 11:06:56] local.INFO: Packet analysis {"connection_id":171745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07010"} 
[2026-09-05 11:06:56] local.INFO: Extracted packet for processing {"connection_id":171745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07010"} 
[2026-09-05 11:06:56] local.INFO: GPS Element Parsed {"raw_longitude":756655744,"raw_latitude":119582816,"longitude_deg":75.6655744,"latitude_deg":11.9582816,"altitude":52,"angle":279,"satellites":40,"speed":25,"hex_longitude":"2d19a680","hex_latitude":"0720b060","is_valid_coordinates":true} 
[2026-09-05 11:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878152704001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17479709440868352,"note":"Value kept but may cause issues"} 
[2026-09-05 11:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852246114857365504,"note":"Value kept but may cause issues"} 
[2026-09-05 11:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788586540000,"timestamp_ms":1788586540000,"timestamp_seconds":1788586540,"priority":1,"record_length":96,"hex_timestamp":"000001a07010bbe0"} 
[2026-09-05 11:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:06:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 11:06:56] 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-09-05 11:06:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878152704001,"66":13961,"103":206,"83":41984,"24":25,"16":17479709440868352,"45":1852246114857365504},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 11:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878152704001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:06:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 11:06:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17479709440868352,"km_value":17479709440868.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852246114857365504,"description":"Unknown IO ID 45"} 
[2026-09-05 11:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878152704001,"power":13961,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1852246114857365504}} 
[2026-09-05 11:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":171745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:06:56] local.INFO: GPS data processed {"connection_id":171745,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:06:56] local.INFO: Acknowledgment sent {"connection_id":171745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:06:59] local.INFO: TCP Data received {"connection_id":171746,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:06:59] local.INFO: Processing buffer {"connection_id":171746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:06:59] local.INFO: IMEI packet received {"connection_id":171746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":171746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:07:00] local.INFO: TCP Data received {"connection_id":171746,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:07:00] local.INFO: Processing buffer {"connection_id":171746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:07:00] local.INFO: IMEI packet received {"connection_id":171746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":171746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:07:01] local.INFO: TCP Data received {"connection_id":171746,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:07:01] local.INFO: Processing buffer {"connection_id":171746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:07:01] local.INFO: IMEI packet received {"connection_id":171746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":171746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:07:07] local.INFO: TCP Data received {"connection_id":171746,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:07:07] local.INFO: Processing buffer {"connection_id":171746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:07:07] local.INFO: IMEI packet received {"connection_id":171746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":171746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:07:08] local.INFO: TCP Data received {"connection_id":171746,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0700fa688012d50b340064dc2c0000500912d..."} 
[2026-09-05 11:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0700fa688012d50b340064dc2c0000500912d..."} 
[2026-09-05 11:07:08] local.INFO: Processing buffer {"connection_id":171746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0700fa688012d50b340064dc2c0000500912d..."} 
[2026-09-05 11:07:08] local.INFO: Packet analysis {"connection_id":171746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0700f"} 
[2026-09-05 11:07:08] local.INFO: Extracted packet for processing {"connection_id":171746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0700f"} 
[2026-09-05 11:07:08] local.INFO: GPS Element Parsed {"raw_longitude":760263488,"raw_latitude":105759424,"longitude_deg":76.0263488,"latitude_deg":10.5759424,"altitude":5,"angle":145,"satellites":45,"speed":7,"hex_longitude":"2d50b340","hex_latitude":"064dc2c0","is_valid_coordinates":true} 
[2026-09-05 11:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878130688001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399482170990657536,"note":"Value kept but may cause issues"} 
[2026-09-05 11:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5811965714941368320,"note":"Value kept but may cause issues"} 
[2026-09-05 11:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788586469000,"timestamp_ms":1788586469000,"timestamp_seconds":1788586469,"priority":1,"record_length":96,"hex_timestamp":"000001a0700fa688"} 
[2026-09-05 11:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:07: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-09-05 11:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-05 11:07: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-09-05 11:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:07: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-09-05 11:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878130688001,"66":27843,"239":206,"78":62464,"24":7,"16":399482170990657536,"45":5811965714941368320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,78,24,16,45]} 
[2026-09-05 11:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878130688001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:07:08] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-05 11:07:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 11:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399482170990657536,"km_value":399482170990657.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5811965714941368320,"description":"Unknown IO ID 45"} 
[2026-09-05 11:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878130688001,"power":27843,"unknown_239":206,"unknown_78":62464,"ignition":7,"odometer":null,"unknown_45":5811965714941368320}} 
[2026-09-05 11:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":171746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:07:08] local.INFO: GPS data processed {"connection_id":171746,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:07:08] local.INFO: Acknowledgment sent {"connection_id":171746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:07:26] local.INFO: TCP Data received {"connection_id":171745,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07010df08012d198bc00720b2f00036010b29..."} 
[2026-09-05 11:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07010df08012d198bc00720b2f00036010b29..."} 
[2026-09-05 11:07:26] local.INFO: Processing buffer {"connection_id":171745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07010df08012d198bc00720b2f00036010b29..."} 
[2026-09-05 11:07:26] local.INFO: Packet analysis {"connection_id":171745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07010"} 
[2026-09-05 11:07:26] local.INFO: Extracted packet for processing {"connection_id":171745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07010"} 
[2026-09-05 11:07:26] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583472,"longitude_deg":75.6648896,"latitude_deg":11.9583472,"altitude":54,"angle":267,"satellites":41,"speed":33,"hex_longitude":"2d198bc0","hex_latitude":"0720b2f0","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878154240001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17480035858382848,"note":"Value kept but may cause issues"} 
[2026-09-05 11:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848305465183723520,"note":"Value kept but may cause issues"} 
[2026-09-05 11:07:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788586549000,"timestamp_ms":1788586549000,"timestamp_seconds":1788586549,"priority":1,"record_length":96,"hex_timestamp":"000001a07010df08"} 
[2026-09-05 11:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:07:26] 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-09-05 11: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-05 11:07:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878154240001,"66":13559,"103":206,"83":41984,"24":33,"16":17480035858382848,"45":1848305465183723520},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 11:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878154240001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:07:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 11:07:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17480035858382848,"km_value":17480035858382.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848305465183723520,"description":"Unknown IO ID 45"} 
[2026-09-05 11:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878154240001,"power":13559,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1848305465183723520}} 
[2026-09-05 11:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":171745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:07:27] local.INFO: GPS data processed {"connection_id":171745,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:07:27] local.INFO: Acknowledgment sent {"connection_id":171745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:07:39] local.INFO: TCP Data received {"connection_id":171746,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07011cd50012d50ef00064d3d70000000a82b..."} 
[2026-09-05 11:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07011cd50012d50ef00064d3d70000000a82b..."} 
[2026-09-05 11:07:39] local.INFO: Processing buffer {"connection_id":171746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07011cd50012d50ef00064d3d70000000a82b..."} 
[2026-09-05 11:07:39] local.INFO: Packet analysis {"connection_id":171746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07011"} 
[2026-09-05 11:07:39] local.INFO: Extracted packet for processing {"connection_id":171746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07011"} 
[2026-09-05 11:07:39] local.INFO: GPS Element Parsed {"raw_longitude":760278784,"raw_latitude":105725296,"longitude_deg":76.0278784,"latitude_deg":10.5725296,"altitude":0,"angle":168,"satellites":43,"speed":6,"hex_longitude":"2d50ef00","hex_latitude":"064d3d70","is_valid_coordinates":true} 
[2026-09-05 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-09-05 11:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878171392001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399484022121562112,"note":"Value kept but may cause issues"} 
[2026-09-05 11:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5831739332045561856,"note":"Value kept but may cause issues"} 
[2026-09-05 11:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788586610000,"timestamp_ms":1788586610000,"timestamp_seconds":1788586610,"priority":1,"record_length":96,"hex_timestamp":"000001a07011cd50"} 
[2026-09-05 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-09-05 11:07:39] 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-09-05 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 11:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 11:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878171392001,"66":27908,"49":206,"78":62464,"24":6,"16":399484022121562112,"45":5831739332045561856},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-09-05 11:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878171392001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:07:39] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-05 11:07:39] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 11:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399484022121562112,"km_value":399484022121562.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":5831739332045561856,"description":"Unknown IO ID 45"} 
[2026-09-05 11:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878171392001,"power":27908,"unknown_49":206,"unknown_78":62464,"ignition":6,"odometer":null,"unknown_45":5831739332045561856}} 
[2026-09-05 11:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":171746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:07:39] local.INFO: GPS data processed {"connection_id":171746,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:07:39] local.INFO: Acknowledgment sent {"connection_id":171746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:07:46] local.INFO: TCP Data received {"connection_id":171451,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:07:46] local.INFO: Processing buffer {"connection_id":171451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:07:46] local.INFO: IMEI packet received {"connection_id":171451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":171451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:07:46] local.INFO: TCP Data received {"connection_id":171451,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:07:46] local.INFO: Processing buffer {"connection_id":171451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:07:46] local.INFO: IMEI packet received {"connection_id":171451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":171451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:07:49] local.INFO: TCP Data received {"connection_id":171451,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:07:49] local.INFO: Processing buffer {"connection_id":171451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:07:49] local.INFO: IMEI packet received {"connection_id":171451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":171451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:07:50] local.INFO: TCP Data received {"connection_id":171451,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07011c968012d18d340072106b00039015629..."} 
[2026-09-05 11:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07011c968012d18d340072106b00039015629..."} 
[2026-09-05 11:07:50] local.INFO: Processing buffer {"connection_id":171451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07011c968012d18d340072106b00039015629..."} 
[2026-09-05 11:07:50] local.INFO: Packet analysis {"connection_id":171451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07011"} 
[2026-09-05 11:07:50] local.INFO: Extracted packet for processing {"connection_id":171451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07011"} 
[2026-09-05 11:07:50] local.INFO: GPS Element Parsed {"raw_longitude":756601664,"raw_latitude":119604912,"longitude_deg":75.6601664,"latitude_deg":11.9604912,"altitude":57,"angle":342,"satellites":41,"speed":35,"hex_longitude":"2d18d340","hex_latitude":"072106b0","is_valid_coordinates":true} 
[2026-09-05 11:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878171392001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17482737392812032,"note":"Value kept but may cause issues"} 
[2026-09-05 11:07:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789547563800602624,"note":"Value kept but may cause issues"} 
[2026-09-05 11:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788586609000,"timestamp_ms":1788586609000,"timestamp_seconds":1788586609,"priority":1,"record_length":96,"hex_timestamp":"000001a07011c968"} 
[2026-09-05 11:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 11:07:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878171392001,"66":14265,"103":206,"83":41984,"24":35,"16":17482737392812032,"45":1789547563800602624},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 11:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878171392001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:07:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 11:07:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17482737392812032,"km_value":17482737392812.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:07:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789547563800602624,"description":"Unknown IO ID 45"} 
[2026-09-05 11:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878171392001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1789547563800602624}} 
[2026-09-05 11:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":171451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:07:50] local.INFO: GPS data processed {"connection_id":171451,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:07:50] local.INFO: Acknowledgment sent {"connection_id":171451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:07:56] local.INFO: TCP Data received {"connection_id":171747,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:07:56] local.INFO: Processing buffer {"connection_id":171747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:07:56] local.INFO: IMEI packet received {"connection_id":171747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":171747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:08:02] local.INFO: TCP Data received {"connection_id":171747,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:08:02] local.INFO: Processing buffer {"connection_id":171747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:08:02] local.INFO: IMEI packet received {"connection_id":171747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":171747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:08:03] local.INFO: TCP Data received {"connection_id":171747,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07011d908012d50ef40064d3b00000000982b..."} 
[2026-09-05 11:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07011d908012d50ef40064d3b00000000982b..."} 
[2026-09-05 11:08:03] local.INFO: Processing buffer {"connection_id":171747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07011d908012d50ef40064d3b00000000982b..."} 
[2026-09-05 11:08:03] local.INFO: Packet analysis {"connection_id":171747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07011"} 
[2026-09-05 11:08:03] local.INFO: Extracted packet for processing {"connection_id":171747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07011"} 
[2026-09-05 11:08:03] local.INFO: GPS Element Parsed {"raw_longitude":760278848,"raw_latitude":105724672,"longitude_deg":76.0278848,"latitude_deg":10.5724672,"altitude":0,"angle":152,"satellites":43,"speed":5,"hex_longitude":"2d50ef40","hex_latitude":"064d3b00","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878172160001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399484052186333184,"note":"Value kept but may cause issues"} 
[2026-09-05 11:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5831880069533757440,"note":"Value kept but may cause issues"} 
[2026-09-05 11:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788586613000,"timestamp_ms":1788586613000,"timestamp_seconds":1788586613,"priority":1,"record_length":96,"hex_timestamp":"000001a07011d908"} 
[2026-09-05 11:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:08: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-09-05 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 11:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:08: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-09-05 11:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878172160001,"66":27843,"49":206,"78":62464,"24":5,"16":399484052186333184,"45":5831880069533757440},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-09-05 11:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878172160001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:08:03] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-05 11:08:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 11:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399484052186333184,"km_value":399484052186333.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5831880069533757440,"description":"Unknown IO ID 45"} 
[2026-09-05 11:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878172160001,"power":27843,"unknown_49":206,"unknown_78":62464,"ignition":5,"odometer":null,"unknown_45":5831880069533757440}} 
[2026-09-05 11:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":171747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:08:03] local.INFO: GPS data processed {"connection_id":171747,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:08:03] local.INFO: Acknowledgment sent {"connection_id":171747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:08:21] local.INFO: TCP Data received {"connection_id":171451,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07011d908012d18d080072114b80039016228..."} 
[2026-09-05 11:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07011d908012d18d080072114b80039016228..."} 
[2026-09-05 11:08:21] local.INFO: Processing buffer {"connection_id":171451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07011d908012d18d080072114b80039016228..."} 
[2026-09-05 11:08:21] local.INFO: Packet analysis {"connection_id":171451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07011"} 
[2026-09-05 11:08:21] local.INFO: Extracted packet for processing {"connection_id":171451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07011"} 
[2026-09-05 11:08:21] local.INFO: GPS Element Parsed {"raw_longitude":756600960,"raw_latitude":119608504,"longitude_deg":75.660096,"latitude_deg":11.9608504,"altitude":57,"angle":354,"satellites":40,"speed":36,"hex_longitude":"2d18d080","hex_latitude":"072114b8","is_valid_coordinates":true} 
[2026-09-05 11:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878171904001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17482917781438464,"note":"Value kept but may cause issues"} 
[2026-09-05 11:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788843876359254016,"note":"Value kept but may cause issues"} 
[2026-09-05 11:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788586613000,"timestamp_ms":1788586613000,"timestamp_seconds":1788586613,"priority":1,"record_length":96,"hex_timestamp":"000001a07011d908"} 
[2026-09-05 11:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:08:21] 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-09-05 11:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 11:08:21] 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-09-05 11:08:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878171904001,"66":13102,"103":206,"83":41984,"24":36,"16":17482917781438464,"45":1788843876359254016},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 11:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878171904001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:08:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 11:08:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17482917781438464,"km_value":17482917781438.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788843876359254016,"description":"Unknown IO ID 45"} 
[2026-09-05 11:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878171904001,"power":13102,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1788843876359254016}} 
[2026-09-05 11:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":171451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:08:21] local.INFO: GPS data processed {"connection_id":171451,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:08:21] local.INFO: Acknowledgment sent {"connection_id":171451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:08:34] local.INFO: TCP Data received {"connection_id":171747,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07011e0d8012d50ef40064d3940000000a72a..."} 
[2026-09-05 11:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07011e0d8012d50ef40064d3940000000a72a..."} 
[2026-09-05 11:08:34] local.INFO: Processing buffer {"connection_id":171747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07011e0d8012d50ef40064d3940000000a72a..."} 
[2026-09-05 11:08:34] local.INFO: Packet analysis {"connection_id":171747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07011"} 
[2026-09-05 11:08:34] local.INFO: Extracted packet for processing {"connection_id":171747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07011"} 
[2026-09-05 11:08:34] local.INFO: GPS Element Parsed {"raw_longitude":760278848,"raw_latitude":105724224,"longitude_deg":76.0278848,"latitude_deg":10.5724224,"altitude":0,"angle":167,"satellites":42,"speed":7,"hex_longitude":"2d50ef40","hex_latitude":"064d3940","is_valid_coordinates":true} 
[2026-09-05 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-09-05 11:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878172928001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399484073661169664,"note":"Value kept but may cause issues"} 
[2026-09-05 11:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5831950438277775360,"note":"Value kept but may cause issues"} 
[2026-09-05 11:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788586615000,"timestamp_ms":1788586615000,"timestamp_seconds":1788586615,"priority":1,"record_length":96,"hex_timestamp":"000001a07011e0d8"} 
[2026-09-05 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-09-05 11:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 11:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 11:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:08: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-09-05 11:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878172928001,"66":27843,"49":206,"78":62464,"24":7,"16":399484073661169664,"45":5831950438277775360},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-09-05 11:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878172928001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:08:34] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-05 11:08:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 11:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399484073661169664,"km_value":399484073661169.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5831950438277775360,"description":"Unknown IO ID 45"} 
[2026-09-05 11:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878172928001,"power":27843,"unknown_49":206,"unknown_78":62464,"ignition":7,"odometer":null,"unknown_45":5831950438277775360}} 
[2026-09-05 11:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":171747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:08:35] local.INFO: GPS data processed {"connection_id":171747,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:08:35] local.INFO: Acknowledgment sent {"connection_id":171747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:08:45] local.INFO: TCP Data received {"connection_id":171748,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:08:45] local.INFO: Processing buffer {"connection_id":171748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:08:45] local.INFO: IMEI packet received {"connection_id":171748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":171748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:08:46] local.INFO: TCP Data received {"connection_id":171748,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:08:46] local.INFO: Processing buffer {"connection_id":171748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:08:46] local.INFO: IMEI packet received {"connection_id":171748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":171748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:08:50] local.INFO: TCP Data received {"connection_id":171748,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:08:50] local.INFO: Processing buffer {"connection_id":171748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:08:50] local.INFO: IMEI packet received {"connection_id":171748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":171748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:08:51] local.INFO: TCP Data received {"connection_id":171748,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0701290a0012d18718007218268004b010a26..."} 
[2026-09-05 11:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0701290a0012d18718007218268004b010a26..."} 
[2026-09-05 11:08:51] local.INFO: Processing buffer {"connection_id":171748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0701290a0012d18718007218268004b010a26..."} 
[2026-09-05 11:08:51] local.INFO: Packet analysis {"connection_id":171748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07012"} 
[2026-09-05 11:08:51] local.INFO: Extracted packet for processing {"connection_id":171748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07012"} 
[2026-09-05 11:08:51] local.INFO: GPS Element Parsed {"raw_longitude":756576640,"raw_latitude":119636584,"longitude_deg":75.657664,"latitude_deg":11.9636584,"altitude":75,"angle":266,"satellites":38,"speed":41,"hex_longitude":"2d187180","hex_latitude":"07218268","is_valid_coordinates":true} 
[2026-09-05 11:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878183936001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17484936416067584,"note":"Value kept but may cause issues"} 
[2026-09-05 11:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765692559532877824,"note":"Value kept but may cause issues"} 
[2026-09-05 11:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788586660000,"timestamp_ms":1788586660000,"timestamp_seconds":1788586660,"priority":1,"record_length":96,"hex_timestamp":"000001a0701290a0"} 
[2026-09-05 11:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:08:51] 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-09-05 11:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-05 11:08:51] 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-09-05 11:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878183936001,"66":14363,"105":206,"83":41984,"24":41,"16":17484936416067584,"45":1765692559532877824},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 11:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878183936001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:08:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 11:08:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17484936416067584,"km_value":17484936416067.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765692559532877824,"description":"Unknown IO ID 45"} 
[2026-09-05 11:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878183936001,"power":14363,"unknown_105":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1765692559532877824}} 
[2026-09-05 11:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":171748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:08:51] local.INFO: GPS data processed {"connection_id":171748,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:08:51] local.INFO: Acknowledgment sent {"connection_id":171748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:09:00] local.INFO: TCP Data received {"connection_id":174144,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:09:00] local.INFO: Processing buffer {"connection_id":174144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:09:00] local.INFO: IMEI packet received {"connection_id":174144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":174144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:09:01] local.INFO: TCP Data received {"connection_id":174144,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:09:01] local.INFO: Processing buffer {"connection_id":174144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:09:01] local.INFO: IMEI packet received {"connection_id":174144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":174144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:09:06] local.INFO: TCP Data received {"connection_id":174144,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:09:06] local.INFO: Processing buffer {"connection_id":174144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:09:06] local.INFO: IMEI packet received {"connection_id":174144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":174144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:09:08] local.INFO: TCP Data received {"connection_id":174144,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0701207e8012d50f280064d2ef8000200972c..."} 
[2026-09-05 11:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0701207e8012d50f280064d2ef8000200972c..."} 
[2026-09-05 11:09:08] local.INFO: Processing buffer {"connection_id":174144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0701207e8012d50f280064d2ef8000200972c..."} 
[2026-09-05 11:09:08] local.INFO: Packet analysis {"connection_id":174144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07012"} 
[2026-09-05 11:09:08] local.INFO: Extracted packet for processing {"connection_id":174144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07012"} 
[2026-09-05 11:09:08] local.INFO: GPS Element Parsed {"raw_longitude":760279680,"raw_latitude":105721592,"longitude_deg":76.027968,"latitude_deg":10.5721592,"altitude":2,"angle":151,"satellites":44,"speed":7,"hex_longitude":"2d50f280","hex_latitude":"064d2ef8","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878173440001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399484211100123136,"note":"Value kept but may cause issues"} 
[2026-09-05 11:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5831950438277660672,"note":"Value kept but may cause issues"} 
[2026-09-05 11:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788586625000,"timestamp_ms":1788586625000,"timestamp_seconds":1788586625,"priority":1,"record_length":96,"hex_timestamp":"000001a0701207e8"} 
[2026-09-05 11:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:09: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-09-05 11:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 11:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:09: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-09-05 11:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878173440001,"66":27908,"49":206,"78":62464,"24":7,"16":399484211100123136,"45":5831950438277660672},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-09-05 11:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878173440001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:09:08] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-05 11:09:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 11:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399484211100123136,"km_value":399484211100123.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5831950438277660672,"description":"Unknown IO ID 45"} 
[2026-09-05 11:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878173440001,"power":27908,"unknown_49":206,"unknown_78":62464,"ignition":7,"odometer":null,"unknown_45":5831950438277660672}} 
[2026-09-05 11:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":174144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:09:08] local.INFO: GPS data processed {"connection_id":174144,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:09:08] local.INFO: Acknowledgment sent {"connection_id":174144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:09:12] local.INFO: TCP Data received {"connection_id":174144,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0701259f0012d50f880064d2628000400902b..."} 
[2026-09-05 11:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0701259f0012d50f880064d2628000400902b..."} 
[2026-09-05 11:09:12] local.INFO: Processing buffer {"connection_id":174144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0701259f0012d50f880064d2628000400902b..."} 
[2026-09-05 11:09:12] local.INFO: Packet analysis {"connection_id":174144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07012"} 
[2026-09-05 11:09:12] local.INFO: Extracted packet for processing {"connection_id":174144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07012"} 
[2026-09-05 11:09:12] local.INFO: GPS Element Parsed {"raw_longitude":760281216,"raw_latitude":105719336,"longitude_deg":76.0281216,"latitude_deg":10.5719336,"altitude":4,"angle":144,"satellites":43,"speed":3,"hex_longitude":"2d50f880","hex_latitude":"064d2628","is_valid_coordinates":true} 
[2026-09-05 11:09: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-09-05 11:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878176000001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399484344244109312,"note":"Value kept but may cause issues"} 
[2026-09-05 11:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5832865231951296512,"note":"Value kept but may cause issues"} 
[2026-09-05 11:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788586646000,"timestamp_ms":1788586646000,"timestamp_seconds":1788586646,"priority":1,"record_length":96,"hex_timestamp":"000001a0701259f0"} 
[2026-09-05 11:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:09:12] 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-09-05 11:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 11:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:09:12] 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-09-05 11:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878176000001,"66":27821,"49":206,"78":62464,"24":3,"16":399484344244109312,"45":5832865231951296512},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-09-05 11:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878176000001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:09:12] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-05 11:09:12] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 11:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399484344244109312,"km_value":399484344244109.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5832865231951296512,"description":"Unknown IO ID 45"} 
[2026-09-05 11:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878176000001,"power":27821,"unknown_49":206,"unknown_78":62464,"ignition":3,"odometer":null,"unknown_45":5832865231951296512}} 
[2026-09-05 11:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":174144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:09:12] local.INFO: GPS data processed {"connection_id":174144,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:09:12] local.INFO: Acknowledgment sent {"connection_id":174144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:09:22] local.INFO: TCP Data received {"connection_id":171748,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070129c58012d18650007218280004c011528..."} 
[2026-09-05 11:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070129c58012d18650007218280004c011528..."} 
[2026-09-05 11:09:22] local.INFO: Processing buffer {"connection_id":171748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070129c58012d18650007218280004c011528..."} 
[2026-09-05 11:09:22] local.INFO: Packet analysis {"connection_id":171748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07012"} 
[2026-09-05 11:09:22] local.INFO: Extracted packet for processing {"connection_id":171748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07012"} 
[2026-09-05 11:09:22] local.INFO: GPS Element Parsed {"raw_longitude":756573440,"raw_latitude":119636608,"longitude_deg":75.657344,"latitude_deg":11.9636608,"altitude":76,"angle":277,"satellites":40,"speed":43,"hex_longitude":"2d186500","hex_latitude":"07218280","is_valid_coordinates":true} 
[2026-09-05 11:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878184960001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17485091034890240,"note":"Value kept but may cause issues"} 
[2026-09-05 11:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761329697393895424,"note":"Value kept but may cause issues"} 
[2026-09-05 11:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788586663000,"timestamp_ms":1788586663000,"timestamp_seconds":1788586663,"priority":1,"record_length":96,"hex_timestamp":"000001a070129c58"} 
[2026-09-05 11:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 11:09:22] 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-09-05 11:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878184960001,"66":14483,"105":206,"83":41984,"24":43,"16":17485091034890240,"45":1761329697393895424},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 11:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878184960001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:09:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 11:09:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17485091034890240,"km_value":17485091034890.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761329697393895424,"description":"Unknown IO ID 45"} 
[2026-09-05 11:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878184960001,"power":14483,"unknown_105":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1761329697393895424}} 
[2026-09-05 11:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":171748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:09:22] local.INFO: GPS data processed {"connection_id":171748,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:09:22] local.INFO: Acknowledgment sent {"connection_id":171748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:09:45] local.INFO: TCP Data received {"connection_id":174145,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:09:45] local.INFO: Processing buffer {"connection_id":174145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:09:45] local.INFO: IMEI packet received {"connection_id":174145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":174145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:09:50] local.INFO: TCP Data received {"connection_id":174145,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:09:50] local.INFO: Processing buffer {"connection_id":174145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:09:50] local.INFO: IMEI packet received {"connection_id":174145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":174145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:09:51] local.INFO: TCP Data received {"connection_id":174145,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0701353f0012d1825000721b0f8004f006227..."} 
[2026-09-05 11:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0701353f0012d1825000721b0f8004f006227..."} 
[2026-09-05 11:09:51] local.INFO: Processing buffer {"connection_id":174145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0701353f0012d1825000721b0f8004f006227..."} 
[2026-09-05 11:09:51] local.INFO: Packet analysis {"connection_id":174145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07013"} 
[2026-09-05 11:09:51] local.INFO: Extracted packet for processing {"connection_id":174145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07013"} 
[2026-09-05 11:09:51] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119648504,"longitude_deg":75.6557056,"latitude_deg":11.9648504,"altitude":79,"angle":98,"satellites":39,"speed":5,"hex_longitude":"2d182500","hex_latitude":"0721b0f8","is_valid_coordinates":true} 
[2026-09-05 11:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878196992001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17486246381092864,"note":"Value kept but may cause issues"} 
[2026-09-05 11:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213519872,"note":"Value kept but may cause issues"} 
[2026-09-05 11:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788586710000,"timestamp_ms":1788586710000,"timestamp_seconds":1788586710,"priority":1,"record_length":96,"hex_timestamp":"000001a0701353f0"} 
[2026-09-05 11:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:09:51] 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-09-05 11:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-05 11:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163549732202,"note":"Value kept but may cause issues"} 
[2026-09-05 11:09:51] local.WARNING: Large IO value detected {"io_id":105,"raw_value":58075809043709959,"note":"Value kept but may cause issues"} 
[2026-09-05 11:09:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 11:09:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 11:09:51] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2298478592,"note":"Value kept but may cause issues"} 
[2026-09-05 11:09:51] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2840068170,"note":"Value kept but may cause issues"} 
[2026-09-05 11:09:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-05 11:09:51] local.WARNING: Large IO value detected {"io_id":13,"raw_value":2684431640,"note":"Value kept but may cause issues"} 
[2026-09-05 11:09:51] local.WARNING: Large IO value detected {"io_id":29,"raw_value":3221692839,"note":"Value kept but may cause issues"} 
[2026-09-05 11:09:51] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154026,"note":"Value kept but may cause issues"} 
[2026-09-05 11:09:51] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,31,160,68,45,176,78,39,10,66,64,128,33,1,240,227,112,4,113,205,6,13,29,224,38,239,50,2,62,7,74],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-05 11:09:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620581562904281088,"timestamp_seconds":5620581562904281.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 11:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878196992001,"66":13091,"105":206,"83":41984,"24":5,"16":17486246381092864,"45":1739374649213519872},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 11:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878196992001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:09:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 11:09:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17486246381092864,"km_value":17486246381092.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213519872,"description":"Unknown IO ID 45"} 
[2026-09-05 11:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878196992001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739374649213519872}} 
[2026-09-05 11:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":174145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:09:51] local.INFO: GPS data processed {"connection_id":174145,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:09:51] local.INFO: Acknowledgment sent {"connection_id":174145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:09:57] local.INFO: TCP Data received {"connection_id":171749,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:09:57] local.INFO: Processing buffer {"connection_id":171749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:09:57] local.INFO: IMEI packet received {"connection_id":171749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":171749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:09:57] local.INFO: TCP Data received {"connection_id":171749,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:09:57] local.INFO: Processing buffer {"connection_id":171749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:09:57] local.INFO: IMEI packet received {"connection_id":171749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":171749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:10:02] local.INFO: TCP Data received {"connection_id":171749,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:10:02] local.INFO: Processing buffer {"connection_id":171749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:10:02] local.INFO: IMEI packet received {"connection_id":171749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":171749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:10:03] local.INFO: TCP Data received {"connection_id":171749,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07012a428012d50fe80064d1aa8000000a22c..."} 
[2026-09-05 11:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07012a428012d50fe80064d1aa8000000a22c..."} 
[2026-09-05 11:10:03] local.INFO: Processing buffer {"connection_id":171749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07012a428012d50fe80064d1aa8000000a22c..."} 
[2026-09-05 11:10:03] local.INFO: Packet analysis {"connection_id":171749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07012"} 
[2026-09-05 11:10:03] local.INFO: Extracted packet for processing {"connection_id":171749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07012"} 
[2026-09-05 11:10:03] local.INFO: GPS Element Parsed {"raw_longitude":760282752,"raw_latitude":105716392,"longitude_deg":76.0282752,"latitude_deg":10.5716392,"altitude":0,"angle":162,"satellites":44,"speed":11,"hex_longitude":"2d50fe80","hex_latitude":"064d1aa8","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878181376001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399484507452866560,"note":"Value kept but may cause issues"} 
[2026-09-05 11:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5834554081810982912,"note":"Value kept but may cause issues"} 
[2026-09-05 11:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788586665000,"timestamp_ms":1788586665000,"timestamp_seconds":1788586665,"priority":1,"record_length":96,"hex_timestamp":"000001a07012a428"} 
[2026-09-05 11:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:10: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-09-05 11: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 11:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:10: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-09-05 11:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878181376001,"66":27865,"49":206,"78":62464,"24":11,"16":399484507452866560,"45":5834554081810982912},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-09-05 11:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878181376001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:10:03] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-05 11:10:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 11:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399484507452866560,"km_value":399484507452866.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5834554081810982912,"description":"Unknown IO ID 45"} 
[2026-09-05 11:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878181376001,"power":27865,"unknown_49":206,"unknown_78":62464,"ignition":11,"odometer":null,"unknown_45":5834554081810982912}} 
[2026-09-05 11:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":171749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:10:03] local.INFO: GPS data processed {"connection_id":171749,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:10:03] local.INFO: Acknowledgment sent {"connection_id":171749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:10:22] local.INFO: TCP Data received {"connection_id":174145,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07013a9e0012d1827800721b1500050006223..."} 
[2026-09-05 11:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07013a9e0012d1827800721b1500050006223..."} 
[2026-09-05 11:10:22] local.INFO: Processing buffer {"connection_id":174145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07013a9e0012d1827800721b1500050006223..."} 
[2026-09-05 11:10:22] local.INFO: Packet analysis {"connection_id":174145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07013"} 
[2026-09-05 11:10:22] local.INFO: Extracted packet for processing {"connection_id":174145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07013"} 
[2026-09-05 11:10:22] local.INFO: GPS Element Parsed {"raw_longitude":756557696,"raw_latitude":119648592,"longitude_deg":75.6557696,"latitude_deg":11.9648592,"altitude":80,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d182780","hex_latitude":"0721b150","is_valid_coordinates":true} 
[2026-09-05 11:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878197760001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17486285035798528,"note":"Value kept but may cause issues"} 
[2026-09-05 11:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861678581760,"note":"Value kept but may cause issues"} 
[2026-09-05 11:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788586732000,"timestamp_ms":1788586732000,"timestamp_seconds":1788586732,"priority":1,"record_length":96,"hex_timestamp":"000001a07013a9e0"} 
[2026-09-05 11:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-05 11:10:22] 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-09-05 11:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878197760001,"66":13015,"105":206,"83":41984,"24":0,"16":17486285035798528,"45":1739796861678581760},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 11:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878197760001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:10:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 11:10:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17486285035798528,"km_value":17486285035798.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861678581760,"description":"Unknown IO ID 45"} 
[2026-09-05 11:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878197760001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739796861678581760}} 
[2026-09-05 11:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":174145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:10:22] local.INFO: GPS data processed {"connection_id":174145,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:10:22] local.INFO: Acknowledgment sent {"connection_id":174145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:10:35] local.INFO: TCP Data received {"connection_id":171749,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07012f630012d510c80064cfae00002009a2d..."} 
[2026-09-05 11:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07012f630012d510c80064cfae00002009a2d..."} 
[2026-09-05 11:10:35] local.INFO: Processing buffer {"connection_id":171749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07012f630012d510c80064cfae00002009a2d..."} 
[2026-09-05 11:10:35] local.INFO: Packet analysis {"connection_id":171749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07012"} 
[2026-09-05 11:10:35] local.INFO: Extracted packet for processing {"connection_id":171749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07012"} 
[2026-09-05 11:10:35] local.INFO: GPS Element Parsed {"raw_longitude":760286336,"raw_latitude":105708256,"longitude_deg":76.0286336,"latitude_deg":10.5708256,"altitude":2,"angle":154,"satellites":45,"speed":18,"hex_longitude":"2d510c80","hex_latitude":"064cfae0","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878186240001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399484941244563456,"note":"Value kept but may cause issues"} 
[2026-09-05 11:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5836242931670493184,"note":"Value kept but may cause issues"} 
[2026-09-05 11:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788586686000,"timestamp_ms":1788586686000,"timestamp_seconds":1788586686,"priority":1,"record_length":96,"hex_timestamp":"000001a07012f630"} 
[2026-09-05 11:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:10:35] 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-09-05 11:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 11:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:10:35] 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-09-05 11:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878186240001,"66":27865,"49":206,"78":62464,"24":18,"16":399484941244563456,"45":5836242931670493184},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-09-05 11:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878186240001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:10:35] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-05 11:10:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 11:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399484941244563456,"km_value":399484941244563.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5836242931670493184,"description":"Unknown IO ID 45"} 
[2026-09-05 11:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878186240001,"power":27865,"unknown_49":206,"unknown_78":62464,"ignition":18,"odometer":null,"unknown_45":5836242931670493184}} 
[2026-09-05 11:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":171749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:10:35] local.INFO: GPS data processed {"connection_id":171749,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:10:35] local.INFO: Acknowledgment sent {"connection_id":171749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:10:50] local.INFO: TCP Data received {"connection_id":174147,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:10:50] local.INFO: Processing buffer {"connection_id":174147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:10:50] local.INFO: IMEI packet received {"connection_id":174147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":174147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:10:52] local.INFO: TCP Data received {"connection_id":174146,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174146,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:10:52] local.INFO: Processing buffer {"connection_id":174146,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:10:52] local.INFO: IMEI packet received {"connection_id":174146,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 11:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":174146,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:10:53] local.INFO: TCP Data received {"connection_id":174147,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:10:53] local.INFO: Processing buffer {"connection_id":174147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:10:53] local.INFO: IMEI packet received {"connection_id":174147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":174147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:10:54] local.INFO: TCP Data received {"connection_id":174147,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07013fbe8012d1827800721b1500050006224..."} 
[2026-09-05 11:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07013fbe8012d1827800721b1500050006224..."} 
[2026-09-05 11:10:54] local.INFO: Processing buffer {"connection_id":174147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07013fbe8012d1827800721b1500050006224..."} 
[2026-09-05 11:10:54] local.INFO: Packet analysis {"connection_id":174147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07013"} 
[2026-09-05 11:10:54] local.INFO: Extracted packet for processing {"connection_id":174147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07013"} 
[2026-09-05 11:10:54] local.INFO: GPS Element Parsed {"raw_longitude":756557696,"raw_latitude":119648592,"longitude_deg":75.6557696,"latitude_deg":11.9648592,"altitude":80,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2d182780","hex_latitude":"0721b150","is_valid_coordinates":true} 
[2026-09-05 11:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878203392001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17486285035798528,"note":"Value kept but may cause issues"} 
[2026-09-05 11:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740500549120380928,"note":"Value kept but may cause issues"} 
[2026-09-05 11:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788586753000,"timestamp_ms":1788586753000,"timestamp_seconds":1788586753,"priority":1,"record_length":96,"hex_timestamp":"000001a07013fbe8"} 
[2026-09-05 11:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:10:54] 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-09-05 11:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-05 11:10:54] 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-09-05 11:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878203392001,"66":12950,"105":206,"83":41984,"24":0,"16":17486285035798528,"45":1740500549120380928},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 11:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878203392001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:10:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 11:10:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17486285035798528,"km_value":17486285035798.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740500549120380928,"description":"Unknown IO ID 45"} 
[2026-09-05 11:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878203392001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740500549120380928}} 
[2026-09-05 11:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":174147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:10:54] local.INFO: GPS data processed {"connection_id":174147,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:10:54] local.INFO: Acknowledgment sent {"connection_id":174147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:10:56] local.INFO: TCP Data received {"connection_id":171750,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:10:56] local.INFO: Processing buffer {"connection_id":171750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:10:56] local.INFO: IMEI packet received {"connection_id":171750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":171750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:11:02] local.INFO: TCP Data received {"connection_id":171750,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:11:02] local.INFO: Processing buffer {"connection_id":171750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:11:02] local.INFO: IMEI packet received {"connection_id":171750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":171750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:11:03] local.INFO: TCP Data received {"connection_id":171750,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07012f630012d510c80064cfae00002009a2d..."} 
[2026-09-05 11:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07012f630012d510c80064cfae00002009a2d..."} 
[2026-09-05 11:11:03] local.INFO: Processing buffer {"connection_id":171750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07012f630012d510c80064cfae00002009a2d..."} 
[2026-09-05 11:11:03] local.INFO: Packet analysis {"connection_id":171750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07012"} 
[2026-09-05 11:11:03] local.INFO: Extracted packet for processing {"connection_id":171750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07012"} 
[2026-09-05 11:11:03] local.INFO: GPS Element Parsed {"raw_longitude":760286336,"raw_latitude":105708256,"longitude_deg":76.0286336,"latitude_deg":10.5708256,"altitude":2,"angle":154,"satellites":45,"speed":18,"hex_longitude":"2d510c80","hex_latitude":"064cfae0","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878191616001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399484941244563456,"note":"Value kept but may cause issues"} 
[2026-09-05 11:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5840183581342359552,"note":"Value kept but may cause issues"} 
[2026-09-05 11:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788586686000,"timestamp_ms":1788586686000,"timestamp_seconds":1788586686,"priority":1,"record_length":96,"hex_timestamp":"000001a07012f630"} 
[2026-09-05 11:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:11: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-09-05 11:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 11:11: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-09-05 11: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-09-05 11:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:11: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-09-05 11:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878191616001,"66":27865,"49":206,"78":62464,"24":18,"16":399484941244563456,"45":5840183581342359552},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-09-05 11:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878191616001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:11:03] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-05 11:11:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-05 11:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399484941244563456,"km_value":399484941244563.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5840183581342359552,"description":"Unknown IO ID 45"} 
[2026-09-05 11:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878191616001,"power":27865,"unknown_49":206,"unknown_78":62464,"ignition":18,"odometer":null,"unknown_45":5840183581342359552}} 
[2026-09-05 11:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":171750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:11:03] local.INFO: GPS data processed {"connection_id":171750,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:11:03] local.INFO: Acknowledgment sent {"connection_id":171750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:11:25] local.INFO: TCP Data received {"connection_id":174147,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0701451d8012d1827800721b1500050006224..."} 
[2026-09-05 11:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0701451d8012d1827800721b1500050006224..."} 
[2026-09-05 11:11:25] local.INFO: Processing buffer {"connection_id":174147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0701451d8012d1827800721b1500050006224..."} 
[2026-09-05 11:11:25] local.INFO: Packet analysis {"connection_id":174147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07014"} 
[2026-09-05 11:11:25] local.INFO: Extracted packet for processing {"connection_id":174147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07014"} 
[2026-09-05 11:11:25] local.INFO: GPS Element Parsed {"raw_longitude":756557696,"raw_latitude":119648592,"longitude_deg":75.6557696,"latitude_deg":11.9648592,"altitude":80,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2d182780","hex_latitude":"0721b150","is_valid_coordinates":true} 
[2026-09-05 11:11: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-09-05 11:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878208768001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17486285035798528,"note":"Value kept but may cause issues"} 
[2026-09-05 11:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740500549120380928,"note":"Value kept but may cause issues"} 
[2026-09-05 11:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788586775000,"timestamp_ms":1788586775000,"timestamp_seconds":1788586775,"priority":1,"record_length":96,"hex_timestamp":"000001a0701451d8"} 
[2026-09-05 11:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-05 11:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:11: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-09-05 11:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878208768001,"66":12863,"105":206,"83":41984,"24":0,"16":17486285035798528,"45":1740500549120380928},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 11:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878208768001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:11:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 11:11:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17486285035798528,"km_value":17486285035798.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740500549120380928,"description":"Unknown IO ID 45"} 
[2026-09-05 11:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878208768001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740500549120380928}} 
[2026-09-05 11:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":174147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:11:25] local.INFO: GPS data processed {"connection_id":174147,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:11:25] local.INFO: Acknowledgment sent {"connection_id":174147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:11:35] local.INFO: TCP Data received {"connection_id":171750,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07014f200012d51b300064bad580004009a2b..."} 
[2026-09-05 11:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07014f200012d51b300064bad580004009a2b..."} 
[2026-09-05 11:11:35] local.INFO: Processing buffer {"connection_id":171750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07014f200012d51b300064bad580004009a2b..."} 
[2026-09-05 11:11:35] local.INFO: Packet analysis {"connection_id":171750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07014"} 
[2026-09-05 11:11:35] local.INFO: Extracted packet for processing {"connection_id":171750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07014"} 
[2026-09-05 11:11:35] local.INFO: GPS Element Parsed {"raw_longitude":760328960,"raw_latitude":105622872,"longitude_deg":76.032896,"latitude_deg":10.5622872,"altitude":4,"angle":154,"satellites":43,"speed":24,"hex_longitude":"2d51b300","hex_latitude":"064bad58","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878221056001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399489571219308544,"note":"Value kept but may cause issues"} 
[2026-09-05 11:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5882545565317601280,"note":"Value kept but may cause issues"} 
[2026-09-05 11:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788586816000,"timestamp_ms":1788586816000,"timestamp_seconds":1788586816,"priority":1,"record_length":96,"hex_timestamp":"000001a07014f200"} 
[2026-09-05 11:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:11:35] 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-09-05 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 11:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:11:35] 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-09-05 11:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878221056001,"66":27908,"95":206,"78":38912,"24":24,"16":399489571219308544,"45":5882545565317601280},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-09-05 11:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878221056001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:11:35] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-05 11:11:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-05 11:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399489571219308544,"km_value":399489571219308.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5882545565317601280,"description":"Unknown IO ID 45"} 
[2026-09-05 11:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878221056001,"power":27908,"unknown_95":206,"unknown_78":38912,"ignition":24,"odometer":null,"unknown_45":5882545565317601280}} 
[2026-09-05 11:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":171750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:11:35] local.INFO: GPS data processed {"connection_id":171750,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:11:35] local.INFO: Acknowledgment sent {"connection_id":171750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:11:45] local.INFO: TCP Data received {"connection_id":172844,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:11:45] local.INFO: Processing buffer {"connection_id":172844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:11:45] local.INFO: IMEI packet received {"connection_id":172844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":172844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:11:50] local.INFO: TCP Data received {"connection_id":172844,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:11:50] local.INFO: Processing buffer {"connection_id":172844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:11:50] local.INFO: IMEI packet received {"connection_id":172844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":172844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:11:51] local.INFO: TCP Data received {"connection_id":172844,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07014a3e0012d1827800721b1500050006224..."} 
[2026-09-05 11:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07014a3e0012d1827800721b1500050006224..."} 
[2026-09-05 11:11:51] local.INFO: Processing buffer {"connection_id":172844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07014a3e0012d1827800721b1500050006224..."} 
[2026-09-05 11:11:51] local.INFO: Packet analysis {"connection_id":172844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07014"} 
[2026-09-05 11:11:51] local.INFO: Extracted packet for processing {"connection_id":172844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07014"} 
[2026-09-05 11:11:51] local.INFO: GPS Element Parsed {"raw_longitude":756557696,"raw_latitude":119648592,"longitude_deg":75.6557696,"latitude_deg":11.9648592,"altitude":80,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2d182780","hex_latitude":"0721b150","is_valid_coordinates":true} 
[2026-09-05 11:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878214400001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17486285035798528,"note":"Value kept but may cause issues"} 
[2026-09-05 11:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740500549120380928,"note":"Value kept but may cause issues"} 
[2026-09-05 11:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788586796000,"timestamp_ms":1788586796000,"timestamp_seconds":1788586796,"priority":1,"record_length":96,"hex_timestamp":"000001a07014a3e0"} 
[2026-09-05 11:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:11:51] 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-09-05 11:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-05 11:11:51] 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-09-05 11:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878214400001,"66":12863,"105":206,"83":41984,"24":0,"16":17486285035798528,"45":1740500549120380928},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 11:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878214400001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:11:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 11:11:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17486285035798528,"km_value":17486285035798.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740500549120380928,"description":"Unknown IO ID 45"} 
[2026-09-05 11:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878214400001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740500549120380928}} 
[2026-09-05 11:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":172844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:11:51] local.INFO: GPS data processed {"connection_id":172844,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:11:51] local.INFO: Acknowledgment sent {"connection_id":172844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:11:56] local.INFO: TCP Data received {"connection_id":174148,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:11:56] local.INFO: Processing buffer {"connection_id":174148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:11:56] local.INFO: IMEI packet received {"connection_id":174148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":174148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:12:02] local.INFO: TCP Data received {"connection_id":174148,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:12:02] local.INFO: Processing buffer {"connection_id":174148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:12:02] local.INFO: IMEI packet received {"connection_id":174148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":174148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:12:02] local.INFO: TCP Data received {"connection_id":174148,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a070154408012d51c380064b8f60000700952d..."} 
[2026-09-05 11:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070154408012d51c380064b8f60000700952d..."} 
[2026-09-05 11:12:02] local.INFO: Processing buffer {"connection_id":174148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070154408012d51c380064b8f60000700952d..."} 
[2026-09-05 11:12:02] local.INFO: Packet analysis {"connection_id":174148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07015"} 
[2026-09-05 11:12:02] local.INFO: Extracted packet for processing {"connection_id":174148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07015"} 
[2026-09-05 11:12:02] local.INFO: GPS Element Parsed {"raw_longitude":760333184,"raw_latitude":105615200,"longitude_deg":76.0333184,"latitude_deg":10.56152,"altitude":7,"angle":149,"satellites":45,"speed":20,"hex_longitude":"2d51c380","hex_latitude":"064b8f60","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878224896001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399489996421070848,"note":"Value kept but may cause issues"} 
[2026-09-05 11:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5887049164942825472,"note":"Value kept but may cause issues"} 
[2026-09-05 11:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788586837000,"timestamp_ms":1788586837000,"timestamp_seconds":1788586837,"priority":1,"record_length":96,"hex_timestamp":"000001a070154408"} 
[2026-09-05 11:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:12: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-09-05 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 11:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:12: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-09-05 11:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878224896001,"66":27974,"95":206,"78":38912,"24":20,"16":399489996421070848,"45":5887049164942825472},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-09-05 11:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878224896001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:12:02] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-05 11:12:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-05 11:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399489996421070848,"km_value":399489996421070.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5887049164942825472,"description":"Unknown IO ID 45"} 
[2026-09-05 11:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878224896001,"power":27974,"unknown_95":206,"unknown_78":38912,"ignition":20,"odometer":null,"unknown_45":5887049164942825472}} 
[2026-09-05 11:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":174148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:12:02] local.INFO: GPS data processed {"connection_id":174148,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:12:02] local.INFO: Acknowledgment sent {"connection_id":174148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:12:22] local.INFO: TCP Data received {"connection_id":172844,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07014f5e8012d1827800721b1500050006225..."} 
[2026-09-05 11:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07014f5e8012d1827800721b1500050006225..."} 
[2026-09-05 11:12:22] local.INFO: Processing buffer {"connection_id":172844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07014f5e8012d1827800721b1500050006225..."} 
[2026-09-05 11:12:22] local.INFO: Packet analysis {"connection_id":172844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07014"} 
[2026-09-05 11:12:22] local.INFO: Extracted packet for processing {"connection_id":172844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07014"} 
[2026-09-05 11:12:22] local.INFO: GPS Element Parsed {"raw_longitude":756557696,"raw_latitude":119648592,"longitude_deg":75.6557696,"latitude_deg":11.9648592,"altitude":80,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d182780","hex_latitude":"0721b150","is_valid_coordinates":true} 
[2026-09-05 11:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878219776001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17486285035798528,"note":"Value kept but may cause issues"} 
[2026-09-05 11:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740500549120380928,"note":"Value kept but may cause issues"} 
[2026-09-05 11:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788586817000,"timestamp_ms":1788586817000,"timestamp_seconds":1788586817,"priority":1,"record_length":96,"hex_timestamp":"000001a07014f5e8"} 
[2026-09-05 11:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-05 11:12:22] 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-09-05 11:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878219776001,"66":12809,"105":206,"83":41984,"24":0,"16":17486285035798528,"45":1740500549120380928},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 11:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878219776001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:12:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 11:12:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17486285035798528,"km_value":17486285035798.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740500549120380928,"description":"Unknown IO ID 45"} 
[2026-09-05 11:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878219776001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740500549120380928}} 
[2026-09-05 11:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":172844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:12:22] local.INFO: GPS data processed {"connection_id":172844,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:12:22] local.INFO: Acknowledgment sent {"connection_id":172844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:12:33] local.INFO: TCP Data received {"connection_id":174148,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a070157ea0012d51d840064b6ea8000800922c..."} 
[2026-09-05 11:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070157ea0012d51d840064b6ea8000800922c..."} 
[2026-09-05 11:12:33] local.INFO: Processing buffer {"connection_id":174148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070157ea0012d51d840064b6ea8000800922c..."} 
[2026-09-05 11:12:33] local.INFO: Packet analysis {"connection_id":174148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07015"} 
[2026-09-05 11:12:33] local.INFO: Extracted packet for processing {"connection_id":174148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07015"} 
[2026-09-05 11:12:33] local.INFO: GPS Element Parsed {"raw_longitude":760338496,"raw_latitude":105606824,"longitude_deg":76.0338496,"latitude_deg":10.5606824,"altitude":8,"angle":146,"satellites":44,"speed":30,"hex_longitude":"2d51d840","hex_latitude":"064b6ea8","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878230272001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399490473162440704,"note":"Value kept but may cause issues"} 
[2026-09-05 11:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5891693502056587264,"note":"Value kept but may cause issues"} 
[2026-09-05 11:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788586852000,"timestamp_ms":1788586852000,"timestamp_seconds":1788586852,"priority":1,"record_length":96,"hex_timestamp":"000001a070157ea0"} 
[2026-09-05 11:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:12: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-09-05 11: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 11:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:12: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-09-05 11:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878230272001,"66":27995,"95":206,"78":38912,"24":30,"16":399490473162440704,"45":5891693502056587264},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-09-05 11:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878230272001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:12:33] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-05 11:12:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-05 11:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399490473162440704,"km_value":399490473162440.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5891693502056587264,"description":"Unknown IO ID 45"} 
[2026-09-05 11:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878230272001,"power":27995,"unknown_95":206,"unknown_78":38912,"ignition":30,"odometer":null,"unknown_45":5891693502056587264}} 
[2026-09-05 11:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":174148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:12:33] local.INFO: GPS data processed {"connection_id":174148,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:12:33] local.INFO: Acknowledgment sent {"connection_id":174148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:12:45] local.INFO: TCP Data received {"connection_id":171453,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:12:45] local.INFO: Processing buffer {"connection_id":171453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:12:45] local.INFO: IMEI packet received {"connection_id":171453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":171453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:12:50] local.INFO: TCP Data received {"connection_id":171453,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:12:50] local.INFO: Processing buffer {"connection_id":171453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:12:50] local.INFO: IMEI packet received {"connection_id":171453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":171453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:12:51] local.INFO: TCP Data received {"connection_id":171453,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070154bd8012d1827800721b1500050006226..."} 
[2026-09-05 11:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070154bd8012d1827800721b1500050006226..."} 
[2026-09-05 11:12:51] local.INFO: Processing buffer {"connection_id":171453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070154bd8012d1827800721b1500050006226..."} 
[2026-09-05 11:12:51] local.INFO: Packet analysis {"connection_id":171453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07015"} 
[2026-09-05 11:12:51] local.INFO: Extracted packet for processing {"connection_id":171453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07015"} 
[2026-09-05 11:12:51] local.INFO: GPS Element Parsed {"raw_longitude":756557696,"raw_latitude":119648592,"longitude_deg":75.6557696,"latitude_deg":11.9648592,"altitude":80,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d182780","hex_latitude":"0721b150","is_valid_coordinates":true} 
[2026-09-05 11:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878225152001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17486285035798528,"note":"Value kept but may cause issues"} 
[2026-09-05 11:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740500549120380928,"note":"Value kept but may cause issues"} 
[2026-09-05 11:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788586839000,"timestamp_ms":1788586839000,"timestamp_seconds":1788586839,"priority":1,"record_length":96,"hex_timestamp":"000001a070154bd8"} 
[2026-09-05 11:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:12:51] 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-09-05 11:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-05 11:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":504403158433268736,"note":"Value kept but may cause issues"} 
[2026-09-05 11:12:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":4026608920,"note":"Value kept but may cause issues"} 
[2026-09-05 11:12:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 11:12:51] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2936012800,"note":"Value kept but may cause issues"} 
[2026-09-05 11:12:51] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 11:12:51] local.WARNING: Large IO value detected {"io_id":112,"raw_value":1388322551118701312,"note":"Value kept but may cause issues"} 
[2026-09-05 11:12:51] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2974810192,"note":"Value kept but may cause issues"} 
[2026-09-05 11:12:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-05 11:12:51] local.WARNING: Large IO value detected {"io_id":51,"raw_value":216398639025671763,"note":"Value kept but may cause issues"} 
[2026-09-05 11:12:51] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2427704083252003367,"note":"Value kept but may cause issues"} 
[2026-09-05 11:12:51] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755420916023537,"note":"Value kept but may cause issues"} 
[2026-09-05 11:12:51] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,31,160,163,45,128,177,80,36,10,66,81,251,1,240,150,227,112,33,4,113,205,37,248,39,239,51,2,62,7,78,5,164,162],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-05 11:12:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764715434087546880,"timestamp_seconds":5764715434087547.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 11:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878225152001,"66":12809,"105":206,"83":41984,"24":0,"16":17486285035798528,"45":1740500549120380928},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 11:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878225152001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:12:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 11:12:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17486285035798528,"km_value":17486285035798.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740500549120380928,"description":"Unknown IO ID 45"} 
[2026-09-05 11:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878225152001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740500549120380928}} 
[2026-09-05 11:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":171453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:12:51] local.INFO: GPS data processed {"connection_id":171453,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:12:51] local.INFO: Acknowledgment sent {"connection_id":171453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:13:02] local.INFO: TCP Data received {"connection_id":172845,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:13:02] local.INFO: Processing buffer {"connection_id":172845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:13:02] local.INFO: IMEI packet received {"connection_id":172845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":172845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:13:02] local.INFO: TCP Data received {"connection_id":172845,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:13:02] local.INFO: Processing buffer {"connection_id":172845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:13:02] local.INFO: IMEI packet received {"connection_id":172845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":172845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:13:07] local.INFO: TCP Data received {"connection_id":172845,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:13:07] local.INFO: Processing buffer {"connection_id":172845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:13:07] local.INFO: IMEI packet received {"connection_id":172845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":172845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:13:09] local.INFO: TCP Data received {"connection_id":172845,"ip":"42.106.6.28","data_length":1348,"data_hex":"000000000000030f8e0a000001a07015a998012d51ea40064b50d8000800902c..."} 
[2026-09-05 11:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172845,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a07015a998012d51ea40064b50d8000800902c..."} 
[2026-09-05 11:13:09] local.INFO: Processing buffer {"connection_id":172845,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a07015a998012d51ea40064b50d8000800902c..."} 
[2026-09-05 11:13:09] local.INFO: Packet analysis {"connection_id":172845,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a07015"} 
[2026-09-05 11:13:09] local.INFO: Extracted packet for processing {"connection_id":172845,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a07015"} 
[2026-09-05 11:13:09] local.INFO: GPS Element Parsed {"raw_longitude":760343104,"raw_latitude":105599192,"longitude_deg":76.0343104,"latitude_deg":10.5599192,"altitude":8,"angle":144,"satellites":44,"speed":34,"hex_longitude":"2d51ea40","hex_latitude":"064b50d8","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878234112001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399490902659170304,"note":"Value kept but may cause issues"} 
[2026-09-05 11:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5897534107821189120,"note":"Value kept but may cause issues"} 
[2026-09-05 11:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788586863000,"timestamp_ms":1788586863000,"timestamp_seconds":1788586863,"priority":1,"record_length":96,"hex_timestamp":"000001a07015a998"} 
[2026-09-05 11:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:13: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-09-05 11: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 11:13:09] 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-09-05 11:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:13:09] 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-09-05 11:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878234112001,"66":27974,"95":206,"78":38912,"24":34,"16":399490902659170304,"45":5897534107821189120},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-09-05 11:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878234112001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:13:09] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-05 11:13:09] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-05 11:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399490902659170304,"km_value":399490902659170.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":5897534107821189120,"description":"Unknown IO ID 45"} 
[2026-09-05 11:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878234112001,"power":27974,"unknown_95":206,"unknown_78":38912,"ignition":34,"odometer":null,"unknown_45":5897534107821189120}} 
[2026-09-05 11:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":172845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:13:09] local.INFO: GPS data processed {"connection_id":172845,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:13:09] local.INFO: Acknowledgment sent {"connection_id":172845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:13:09] local.INFO: Packet analysis {"connection_id":172845,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a07015"} 
[2026-09-05 11:13:09] local.INFO: Incomplete packet, waiting for more data {"connection_id":172845,"needed":795,"available":553} 
[2026-09-05 11:13:09] local.INFO: TCP Data received {"connection_id":172845,"ip":"42.106.6.28","data_length":242,"data_hex":"000000000001a0701459a8012d518740064c10400004009e2b00210000000a00..."} 
[2026-09-05 11:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172845,"packet_length":242,"packet_hex":"000000000001a0701459a8012d518740064c10400004009e2b00210000000a00..."} 
[2026-09-05 11:13:09] local.INFO: Processing buffer {"connection_id":172845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07015d0a8012d51fe40064b32f0000900932b..."} 
[2026-09-05 11:13:09] local.INFO: Packet analysis {"connection_id":172845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07015"} 
[2026-09-05 11:13:09] local.INFO: Extracted packet for processing {"connection_id":172845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07015"} 
[2026-09-05 11:13:09] local.INFO: GPS Element Parsed {"raw_longitude":760348224,"raw_latitude":105591536,"longitude_deg":76.0348224,"latitude_deg":10.5591536,"altitude":9,"angle":147,"satellites":43,"speed":36,"hex_longitude":"2d51fe40","hex_latitude":"064b32f0","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878236928001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399491349335769088,"note":"Value kept but may cause issues"} 
[2026-09-05 11:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5902600657400027136,"note":"Value kept but may cause issues"} 
[2026-09-05 11:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788586873000,"timestamp_ms":1788586873000,"timestamp_seconds":1788586873,"priority":1,"record_length":96,"hex_timestamp":"000001a07015d0a8"} 
[2026-09-05 11:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:13: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-09-05 11: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 11:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:13:09] 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-09-05 11:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878236928001,"66":27865,"95":206,"78":38912,"24":36,"16":399491349335769088,"45":5902600657400027136},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-09-05 11:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878236928001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:13:09] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-05 11:13:09] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-05 11:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399491349335769088,"km_value":399491349335769.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":5902600657400027136,"description":"Unknown IO ID 45"} 
[2026-09-05 11:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878236928001,"power":27865,"unknown_95":206,"unknown_78":38912,"ignition":36,"odometer":null,"unknown_45":5902600657400027136}} 
[2026-09-05 11:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":172845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:13:09] local.INFO: GPS data processed {"connection_id":172845,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:13:09] local.INFO: Acknowledgment sent {"connection_id":172845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:13:12] local.INFO: TCP Data received {"connection_id":172845,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07015f7b8012d521100064b1408000a00962c..."} 
[2026-09-05 11:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07015f7b8012d521100064b1408000a00962c..."} 
[2026-09-05 11:13:12] local.INFO: Processing buffer {"connection_id":172845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07015f7b8012d521100064b1408000a00962c..."} 
[2026-09-05 11:13:12] local.INFO: Packet analysis {"connection_id":172845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07015"} 
[2026-09-05 11:13:12] local.INFO: Extracted packet for processing {"connection_id":172845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07015"} 
[2026-09-05 11:13:12] local.INFO: GPS Element Parsed {"raw_longitude":760353024,"raw_latitude":105583624,"longitude_deg":76.0353024,"latitude_deg":10.5583624,"altitude":10,"angle":150,"satellites":44,"speed":37,"hex_longitude":"2d521100","hex_latitude":"064b1408","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878239488001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399491796012367872,"note":"Value kept but may cause issues"} 
[2026-09-05 11:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5908230156932280320,"note":"Value kept but may cause issues"} 
[2026-09-05 11:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788586883000,"timestamp_ms":1788586883000,"timestamp_seconds":1788586883,"priority":1,"record_length":96,"hex_timestamp":"000001a07015f7b8"} 
[2026-09-05 11:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:13:12] 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-09-05 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 11:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":172845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":172845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":172845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:13:12] 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-09-05 11:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878239488001,"66":27930,"95":206,"78":38912,"24":37,"16":399491796012367872,"45":5908230156932280320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-09-05 11:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878239488001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:13:12] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-05 11:13:12] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-05 11:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399491796012367872,"km_value":399491796012367.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5908230156932280320,"description":"Unknown IO ID 45"} 
[2026-09-05 11:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878239488001,"power":27930,"unknown_95":206,"unknown_78":38912,"ignition":37,"odometer":null,"unknown_45":5908230156932280320}} 
[2026-09-05 11:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":172845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:13:12] local.INFO: GPS data processed {"connection_id":172845,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:13:12] local.INFO: Acknowledgment sent {"connection_id":172845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:13:22] local.INFO: TCP Data received {"connection_id":171453,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070159de0012d1827800721b1500050006225..."} 
[2026-09-05 11:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070159de0012d1827800721b1500050006225..."} 
[2026-09-05 11:13:22] local.INFO: Processing buffer {"connection_id":171453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070159de0012d1827800721b1500050006225..."} 
[2026-09-05 11:13:22] local.INFO: Packet analysis {"connection_id":171453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07015"} 
[2026-09-05 11:13:22] local.INFO: Extracted packet for processing {"connection_id":171453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07015"} 
[2026-09-05 11:13:22] local.INFO: GPS Element Parsed {"raw_longitude":756557696,"raw_latitude":119648592,"longitude_deg":75.6557696,"latitude_deg":11.9648592,"altitude":80,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d182780","hex_latitude":"0721b150","is_valid_coordinates":true} 
[2026-09-05 11:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878230784001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17486285035798528,"note":"Value kept but may cause issues"} 
[2026-09-05 11:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740500549120380928,"note":"Value kept but may cause issues"} 
[2026-09-05 11:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788586860000,"timestamp_ms":1788586860000,"timestamp_seconds":1788586860,"priority":1,"record_length":96,"hex_timestamp":"000001a070159de0"} 
[2026-09-05 11:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-05 11:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":360287970357412864,"note":"Value kept but may cause issues"} 
[2026-09-05 11:13:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 11:13:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 11:13:22] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2936012800,"note":"Value kept but may cause issues"} 
[2026-09-05 11:13:22] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 11:13:22] local.WARNING: Large IO value detected {"io_id":112,"raw_value":1389422062746477440,"note":"Value kept but may cause issues"} 
[2026-09-05 11:13:22] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2974810192,"note":"Value kept but may cause issues"} 
[2026-09-05 11:13:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-05 11:13:22] local.WARNING: Large IO value detected {"io_id":169,"raw_value":3758173464,"note":"Value kept but may cause issues"} 
[2026-09-05 11:13:22] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2147951025,"note":"Value kept but may cause issues"} 
[2026-09-05 11:13:22] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154026,"note":"Value kept but may cause issues"} 
[2026-09-05 11:13:22] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2427730471531073831,"note":"Value kept but may cause issues"} 
[2026-09-05 11:13:22] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2522241648239365715,"note":"Value kept but may cause issues"} 
[2026-09-05 11:13:22] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755420916023537,"note":"Value kept but may cause issues"} 
[2026-09-05 11:13:22] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,105,83,24,241,157,16,31,160,245,45,128,177,80,37,10,66,163,36,81,1,240,63,227,112,33,4,113,205,169,39,35,239,50,2,62,7,79,5,51,164,166],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-05 11:13:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764715438382514176,"timestamp_seconds":5764715438382514.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 11:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878230784001,"66":12776,"105":206,"83":41984,"24":0,"16":17486285035798528,"45":1740500549120380928},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 11:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878230784001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:13:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 11:13:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17486285035798528,"km_value":17486285035798.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740500549120380928,"description":"Unknown IO ID 45"} 
[2026-09-05 11:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878230784001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740500549120380928}} 
[2026-09-05 11:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":171453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:13:22] local.INFO: GPS data processed {"connection_id":171453,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:13:22] local.INFO: Acknowledgment sent {"connection_id":171453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:13:45] local.INFO: TCP Data received {"connection_id":174150,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:13:45] local.INFO: Processing buffer {"connection_id":174150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:13:45] local.INFO: IMEI packet received {"connection_id":174150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":174150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:13:50] local.INFO: TCP Data received {"connection_id":174150,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:13:50] local.INFO: Processing buffer {"connection_id":174150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:13:50] local.INFO: IMEI packet received {"connection_id":174150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":174150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:13:51] local.INFO: TCP Data received {"connection_id":174150,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07015efe8012d1827800721b1500050006228..."} 
[2026-09-05 11:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07015efe8012d1827800721b1500050006228..."} 
[2026-09-05 11:13:51] local.INFO: Processing buffer {"connection_id":174150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07015efe8012d1827800721b1500050006228..."} 
[2026-09-05 11:13:51] local.INFO: Packet analysis {"connection_id":174150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07015"} 
[2026-09-05 11:13:51] local.INFO: Extracted packet for processing {"connection_id":174150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07015"} 
[2026-09-05 11:13:51] local.INFO: GPS Element Parsed {"raw_longitude":756557696,"raw_latitude":119648592,"longitude_deg":75.6557696,"latitude_deg":11.9648592,"altitude":80,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d182780","hex_latitude":"0721b150","is_valid_coordinates":true} 
[2026-09-05 11:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878236160001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17486285035798528,"note":"Value kept but may cause issues"} 
[2026-09-05 11:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740500549120380928,"note":"Value kept but may cause issues"} 
[2026-09-05 11:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788586881000,"timestamp_ms":1788586881000,"timestamp_seconds":1788586881,"priority":1,"record_length":96,"hex_timestamp":"000001a07015efe8"} 
[2026-09-05 11:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:13:51] 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-09-05 11:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-05 11:13:51] 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-09-05 11:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878236160001,"66":12711,"105":206,"83":41984,"24":0,"16":17486285035798528,"45":1740500549120380928},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 11:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878236160001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:13:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 11:13:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17486285035798528,"km_value":17486285035798.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740500549120380928,"description":"Unknown IO ID 45"} 
[2026-09-05 11:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878236160001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740500549120380928}} 
[2026-09-05 11:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":174150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:13:51] local.INFO: GPS data processed {"connection_id":174150,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:13:51] local.INFO: Acknowledgment sent {"connection_id":174150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:13:53] local.INFO: TCP Data received {"connection_id":172846,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:13:53] local.INFO: Processing buffer {"connection_id":172846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:13:53] local.INFO: IMEI packet received {"connection_id":172846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":172846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:13:57] local.INFO: TCP Data received {"connection_id":172846,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:13:57] local.INFO: Processing buffer {"connection_id":172846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:13:57] local.INFO: IMEI packet received {"connection_id":172846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":172846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:14:02] local.INFO: TCP Data received {"connection_id":172846,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:14:02] local.INFO: Processing buffer {"connection_id":172846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:14:02] local.INFO: IMEI packet received {"connection_id":172846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":172846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:14:04] local.INFO: TCP Data received {"connection_id":172846,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a070175360012d52f2000649c3e00008008b2c..."} 
[2026-09-05 11:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070175360012d52f2000649c3e00008008b2c..."} 
[2026-09-05 11:14:04] local.INFO: Processing buffer {"connection_id":172846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070175360012d52f2000649c3e00008008b2c..."} 
[2026-09-05 11:14:04] local.INFO: Packet analysis {"connection_id":172846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07017"} 
[2026-09-05 11:14:04] local.INFO: Extracted packet for processing {"connection_id":172846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07017"} 
[2026-09-05 11:14:04] local.INFO: GPS Element Parsed {"raw_longitude":760410624,"raw_latitude":105497568,"longitude_deg":76.0410624,"latitude_deg":10.5497568,"altitude":8,"angle":139,"satellites":44,"speed":49,"hex_longitude":"2d52f200","hex_latitude":"0649c3e0","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878262784001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399496829714038784,"note":"Value kept but may cause issues"} 
[2026-09-05 11:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5969310226856355840,"note":"Value kept but may cause issues"} 
[2026-09-05 11:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788586972000,"timestamp_ms":1788586972000,"timestamp_seconds":1788586972,"priority":1,"record_length":96,"hex_timestamp":"000001a070175360"} 
[2026-09-05 11:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:14: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-09-05 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 11:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:14: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-09-05 11:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878262784001,"66":27974,"193":206,"78":38912,"24":49,"16":399496829714038784,"45":5969310226856355840},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,78,24,16,45]} 
[2026-09-05 11:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878262784001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:14:04] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-05 11:14:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-05 11:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399496829714038784,"km_value":399496829714038.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5969310226856355840,"description":"Unknown IO ID 45"} 
[2026-09-05 11:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878262784001,"power":27974,"unknown_193":206,"unknown_78":38912,"ignition":49,"odometer":null,"unknown_45":5969310226856355840}} 
[2026-09-05 11:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":172846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:14:04] local.INFO: GPS data processed {"connection_id":172846,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:14:04] local.INFO: Acknowledgment sent {"connection_id":172846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:14:22] local.INFO: TCP Data received {"connection_id":174150,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07017ad38012d1877c007223370005d002129..."} 
[2026-09-05 11:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07017ad38012d1877c007223370005d002129..."} 
[2026-09-05 11:14:22] local.INFO: Processing buffer {"connection_id":174150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07017ad38012d1877c007223370005d002129..."} 
[2026-09-05 11:14:22] local.INFO: Packet analysis {"connection_id":174150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07017"} 
[2026-09-05 11:14:22] local.INFO: Extracted packet for processing {"connection_id":174150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07017"} 
[2026-09-05 11:14:22] local.INFO: GPS Element Parsed {"raw_longitude":756578240,"raw_latitude":119681904,"longitude_deg":75.657824,"latitude_deg":11.9681904,"altitude":93,"angle":33,"satellites":41,"speed":37,"hex_longitude":"2d1877c0","hex_latitude":"07223370","is_valid_coordinates":true} 
[2026-09-05 11:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878268160001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17488256425787392,"note":"Value kept but may cause issues"} 
[2026-09-05 11:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757177941496985600,"note":"Value kept but may cause issues"} 
[2026-09-05 11:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788586995000,"timestamp_ms":1788586995000,"timestamp_seconds":1788586995,"priority":1,"record_length":96,"hex_timestamp":"000001a07017ad38"} 
[2026-09-05 11:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:14:22] 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-09-05 11:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-05 11:14:22] 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-09-05 11:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878268160001,"66":14048,"105":206,"83":41984,"24":37,"16":17488256425787392,"45":1757177941496985600},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 11:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878268160001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:14:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 11:14:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17488256425787392,"km_value":17488256425787.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757177941496985600,"description":"Unknown IO ID 45"} 
[2026-09-05 11:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878268160001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1757177941496985600}} 
[2026-09-05 11:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":174150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:14:23] local.INFO: GPS data processed {"connection_id":174150,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:14:23] local.INFO: Acknowledgment sent {"connection_id":174150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:14:35] local.INFO: TCP Data received {"connection_id":172846,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0701772a0012d530b000649a6280008008c2d..."} 
[2026-09-05 11:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0701772a0012d530b000649a6280008008c2d..."} 
[2026-09-05 11:14:35] local.INFO: Processing buffer {"connection_id":172846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0701772a0012d530b000649a6280008008c2d..."} 
[2026-09-05 11:14:35] local.INFO: Packet analysis {"connection_id":172846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07017"} 
[2026-09-05 11:14:35] local.INFO: Extracted packet for processing {"connection_id":172846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07017"} 
[2026-09-05 11:14:35] local.INFO: GPS Element Parsed {"raw_longitude":760417024,"raw_latitude":105489960,"longitude_deg":76.0417024,"latitude_deg":10.548996,"altitude":8,"angle":140,"satellites":45,"speed":49,"hex_longitude":"2d530b00","hex_latitude":"0649a628","is_valid_coordinates":true} 
[2026-09-05 11:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878264832001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399497306455408640,"note":"Value kept but may cause issues"} 
[2026-09-05 11:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5976839682481446912,"note":"Value kept but may cause issues"} 
[2026-09-05 11:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788586980000,"timestamp_ms":1788586980000,"timestamp_seconds":1788586980,"priority":1,"record_length":96,"hex_timestamp":"000001a0701772a0"} 
[2026-09-05 11:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:14:35] 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-09-05 11:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 11:14:35] 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-09-05 11:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:14:35] 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-09-05 11:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878264832001,"66":27930,"193":206,"78":38912,"24":49,"16":399497306455408640,"45":5976839682481446912},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,78,24,16,45]} 
[2026-09-05 11:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878264832001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:14:35] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-05 11:14:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-05 11:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399497306455408640,"km_value":399497306455408.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5976839682481446912,"description":"Unknown IO ID 45"} 
[2026-09-05 11:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878264832001,"power":27930,"unknown_193":206,"unknown_78":38912,"ignition":49,"odometer":null,"unknown_45":5976839682481446912}} 
[2026-09-05 11:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":172846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:14:35] local.INFO: GPS data processed {"connection_id":172846,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:14:35] local.INFO: Acknowledgment sent {"connection_id":172846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:14:57] local.INFO: TCP Data received {"connection_id":171752,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:14:57] local.INFO: Processing buffer {"connection_id":171752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:14:57] local.INFO: IMEI packet received {"connection_id":171752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":171752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:14:59] local.INFO: TCP Data received {"connection_id":171752,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:14:59] local.INFO: Processing buffer {"connection_id":171752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:14:59] local.INFO: IMEI packet received {"connection_id":171752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":171752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:15:02] local.INFO: TCP Data received {"connection_id":171752,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:15:02] local.INFO: Processing buffer {"connection_id":171752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:15:02] local.INFO: IMEI packet received {"connection_id":171752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":171752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:15:02] local.INFO: TCP Data received {"connection_id":171752,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0701791e0012d532380064987600007008f2d..."} 
[2026-09-05 11:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0701791e0012d532380064987600007008f2d..."} 
[2026-09-05 11:15:02] local.INFO: Processing buffer {"connection_id":171752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0701791e0012d532380064987600007008f2d..."} 
[2026-09-05 11:15:02] local.INFO: Packet analysis {"connection_id":171752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07017"} 
[2026-09-05 11:15:02] local.INFO: Extracted packet for processing {"connection_id":171752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07017"} 
[2026-09-05 11:15:02] local.INFO: GPS Element Parsed {"raw_longitude":760423296,"raw_latitude":105482080,"longitude_deg":76.0423296,"latitude_deg":10.548208,"altitude":7,"angle":143,"satellites":45,"speed":50,"hex_longitude":"2d532380","hex_latitude":"06498760","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878266880001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399497791786713088,"note":"Value kept but may cause issues"} 
[2026-09-05 11:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5983876556897265664,"note":"Value kept but may cause issues"} 
[2026-09-05 11:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788586988000,"timestamp_ms":1788586988000,"timestamp_seconds":1788586988,"priority":1,"record_length":96,"hex_timestamp":"000001a0701791e0"} 
[2026-09-05 11:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:15: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-09-05 11:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 11:15: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-09-05 11:15:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:15: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-09-05 11:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878266880001,"66":27919,"193":206,"78":38912,"24":50,"16":399497791786713088,"45":5983876556897265664},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,78,24,16,45]} 
[2026-09-05 11:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878266880001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:15:02] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-05 11:15:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-05 11:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399497791786713088,"km_value":399497791786713.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5983876556897265664,"description":"Unknown IO ID 45"} 
[2026-09-05 11:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878266880001,"power":27919,"unknown_193":206,"unknown_78":38912,"ignition":50,"odometer":null,"unknown_45":5983876556897265664}} 
[2026-09-05 11:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":171752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:15:02] local.INFO: GPS data processed {"connection_id":171752,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:15:02] local.INFO: Acknowledgment sent {"connection_id":171752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:15:03] local.INFO: TCP Data received {"connection_id":171454,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:15:03] local.INFO: Processing buffer {"connection_id":171454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:15:03] local.INFO: IMEI packet received {"connection_id":171454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":171454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:15:07] local.INFO: TCP Data received {"connection_id":171752,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07017ad38012d53384006496b08000700902c..."} 
[2026-09-05 11:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07017ad38012d53384006496b08000700902c..."} 
[2026-09-05 11:15:07] local.INFO: Processing buffer {"connection_id":171752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07017ad38012d53384006496b08000700902c..."} 
[2026-09-05 11:15:07] local.INFO: Packet analysis {"connection_id":171752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07017"} 
[2026-09-05 11:15:07] local.INFO: Extracted packet for processing {"connection_id":171752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07017"} 
[2026-09-05 11:15:07] local.INFO: GPS Element Parsed {"raw_longitude":760428608,"raw_latitude":105474824,"longitude_deg":76.0428608,"latitude_deg":10.5474824,"altitude":7,"angle":144,"satellites":44,"speed":51,"hex_longitude":"2d533840","hex_latitude":"06496b08","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878268928001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399498225578409984,"note":"Value kept but may cause issues"} 
[2026-09-05 11:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5990772693824659456,"note":"Value kept but may cause issues"} 
[2026-09-05 11:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788586995000,"timestamp_ms":1788586995000,"timestamp_seconds":1788586995,"priority":1,"record_length":96,"hex_timestamp":"000001a07017ad38"} 
[2026-09-05 11:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:15: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-09-05 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 11:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878268928001,"66":27876,"193":206,"78":38912,"24":51,"16":399498225578409984,"45":5990772693824659456},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,78,24,16,45]} 
[2026-09-05 11:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878268928001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:15:07] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-05 11:15:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-05 11:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399498225578409984,"km_value":399498225578410.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5990772693824659456,"description":"Unknown IO ID 45"} 
[2026-09-05 11:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878268928001,"power":27876,"unknown_193":206,"unknown_78":38912,"ignition":51,"odometer":null,"unknown_45":5990772693824659456}} 
[2026-09-05 11:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":171752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:15:07] local.INFO: GPS data processed {"connection_id":171752,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:15:07] local.INFO: Acknowledgment sent {"connection_id":171752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:15:38] local.INFO: TCP Data received {"connection_id":171752,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07017c890012d534c8006494d48000700922c..."} 
[2026-09-05 11:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07017c890012d534c8006494d48000700922c..."} 
[2026-09-05 11:15:38] local.INFO: Processing buffer {"connection_id":171752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07017c890012d534c8006494d48000700922c..."} 
[2026-09-05 11:15:38] local.INFO: Packet analysis {"connection_id":171752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07017"} 
[2026-09-05 11:15:38] local.INFO: Extracted packet for processing {"connection_id":171752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07017"} 
[2026-09-05 11:15:38] local.INFO: GPS Element Parsed {"raw_longitude":760433792,"raw_latitude":105467208,"longitude_deg":76.0433792,"latitude_deg":10.5467208,"altitude":7,"angle":146,"satellites":44,"speed":52,"hex_longitude":"2d534c80","hex_latitude":"06494d48","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878270720001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399498672255008768,"note":"Value kept but may cause issues"} 
[2026-09-05 11:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5996613299589548032,"note":"Value kept but may cause issues"} 
[2026-09-05 11:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788587002000,"timestamp_ms":1788587002000,"timestamp_seconds":1788587002,"priority":1,"record_length":96,"hex_timestamp":"000001a07017c890"} 
[2026-09-05 11:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:15: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-09-05 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 11:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:15: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-09-05 11:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878270720001,"66":28006,"193":206,"78":38912,"24":52,"16":399498672255008768,"45":5996613299589548032},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,78,24,16,45]} 
[2026-09-05 11:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878270720001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:15:38] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-05 11:15:38] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-05 11:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399498672255008768,"km_value":399498672255008.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5996613299589548032,"description":"Unknown IO ID 45"} 
[2026-09-05 11:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878270720001,"power":28006,"unknown_193":206,"unknown_78":38912,"ignition":52,"odometer":null,"unknown_45":5996613299589548032}} 
[2026-09-05 11:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":171752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:15:38] local.INFO: GPS data processed {"connection_id":171752,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:15:38] local.INFO: Acknowledgment sent {"connection_id":171752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:15:57] local.INFO: TCP Data received {"connection_id":174152,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:15:57] local.INFO: Processing buffer {"connection_id":174152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:15:57] local.INFO: IMEI packet received {"connection_id":174152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":174152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:16:02] local.INFO: TCP Data received {"connection_id":174152,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:16:02] local.INFO: Processing buffer {"connection_id":174152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:16:02] local.INFO: IMEI packet received {"connection_id":174152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":174152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:16:02] local.INFO: TCP Data received {"connection_id":174152,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07017e3e8012d535fc006492f28000700952b..."} 
[2026-09-05 11:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07017e3e8012d535fc006492f28000700952b..."} 
[2026-09-05 11:16:02] local.INFO: Processing buffer {"connection_id":174152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07017e3e8012d535fc006492f28000700952b..."} 
[2026-09-05 11:16:02] local.INFO: Packet analysis {"connection_id":174152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07017"} 
[2026-09-05 11:16:02] local.INFO: Extracted packet for processing {"connection_id":174152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07017"} 
[2026-09-05 11:16:02] local.INFO: GPS Element Parsed {"raw_longitude":760438720,"raw_latitude":105459496,"longitude_deg":76.043872,"latitude_deg":10.5459496,"altitude":7,"angle":149,"satellites":43,"speed":50,"hex_longitude":"2d535fc0","hex_latitude":"06492f28","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878272512001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399499110341672960,"note":"Value kept but may cause issues"} 
[2026-09-05 11:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6002313167865989120,"note":"Value kept but may cause issues"} 
[2026-09-05 11:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788587009000,"timestamp_ms":1788587009000,"timestamp_seconds":1788587009,"priority":1,"record_length":96,"hex_timestamp":"000001a07017e3e8"} 
[2026-09-05 11:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:16: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-09-05 11: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 11:16:02] 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-09-05 11: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-09-05 11:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:16: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-09-05 11:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878272512001,"66":27908,"193":206,"78":38912,"24":50,"16":399499110341672960,"45":6002313167865989120},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,78,24,16,45]} 
[2026-09-05 11:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878272512001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:16:02] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-05 11:16:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-05 11:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399499110341672960,"km_value":399499110341672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6002313167865989120,"description":"Unknown IO ID 45"} 
[2026-09-05 11:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878272512001,"power":27908,"unknown_193":206,"unknown_78":38912,"ignition":50,"odometer":null,"unknown_45":6002313167865989120}} 
[2026-09-05 11:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":174152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:16:02] local.INFO: GPS data processed {"connection_id":174152,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:16:02] local.INFO: Acknowledgment sent {"connection_id":174152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:16:33] local.INFO: TCP Data received {"connection_id":174152,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07019a520012d53da8006478eb8000800b42c..."} 
[2026-09-05 11:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07019a520012d53da8006478eb8000800b42c..."} 
[2026-09-05 11:16:33] local.INFO: Processing buffer {"connection_id":174152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07019a520012d53da8006478eb8000800b42c..."} 
[2026-09-05 11:16:33] local.INFO: Packet analysis {"connection_id":174152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07019"} 
[2026-09-05 11:16:33] local.INFO: Extracted packet for processing {"connection_id":174152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07019"} 
[2026-09-05 11:16:33] local.INFO: GPS Element Parsed {"raw_longitude":760470144,"raw_latitude":105352888,"longitude_deg":76.0470144,"latitude_deg":10.5352888,"altitude":8,"angle":180,"satellites":44,"speed":31,"hex_longitude":"2d53da80","hex_latitude":"06478eb8","is_valid_coordinates":true} 
[2026-09-05 11:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878300416001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399504625079681024,"note":"Value kept but may cause issues"} 
[2026-09-05 11:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042352983276232704,"note":"Value kept but may cause issues"} 
[2026-09-05 11:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788587124000,"timestamp_ms":1788587124000,"timestamp_seconds":1788587124,"priority":1,"record_length":96,"hex_timestamp":"000001a07019a520"} 
[2026-09-05 11:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:16: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-09-05 11:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-05 11:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:16: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-09-05 11:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878300416001,"66":27974,"99":206,"78":38912,"24":31,"16":399504625079681024,"45":6042352983276232704},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-09-05 11:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878300416001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:16:33] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-05 11:16:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-05 11:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399504625079681024,"km_value":399504625079681.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042352983276232704,"description":"Unknown IO ID 45"} 
[2026-09-05 11:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878300416001,"power":27974,"unknown_99":206,"unknown_78":38912,"ignition":31,"odometer":null,"unknown_45":6042352983276232704}} 
[2026-09-05 11:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":174152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:16:33] local.INFO: GPS data processed {"connection_id":174152,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:16:33] local.INFO: Acknowledgment sent {"connection_id":174152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:17:02] local.INFO: TCP Data received {"connection_id":174153,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:17:02] local.INFO: Processing buffer {"connection_id":174153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:17:02] local.INFO: IMEI packet received {"connection_id":174153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":174153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:17:07] local.INFO: TCP Data received {"connection_id":174153,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:17:07] local.INFO: Processing buffer {"connection_id":174153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:17:07] local.INFO: IMEI packet received {"connection_id":174153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":174153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:17:09] local.INFO: TCP Data received {"connection_id":174153,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07019d400012d53db0006476c10000a00b22d..."} 
[2026-09-05 11:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07019d400012d53db0006476c10000a00b22d..."} 
[2026-09-05 11:17:09] local.INFO: Processing buffer {"connection_id":174153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07019d400012d53db0006476c10000a00b22d..."} 
[2026-09-05 11:17:09] local.INFO: Packet analysis {"connection_id":174153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07019"} 
[2026-09-05 11:17:09] local.INFO: Extracted packet for processing {"connection_id":174153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07019"} 
[2026-09-05 11:17:09] local.INFO: GPS Element Parsed {"raw_longitude":760470272,"raw_latitude":105344016,"longitude_deg":76.0470272,"latitude_deg":10.5344016,"altitude":10,"angle":178,"satellites":45,"speed":21,"hex_longitude":"2d53db00","hex_latitude":"06476c10","is_valid_coordinates":true} 
[2026-09-05 11:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878303744001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399505058871377920,"note":"Value kept but may cause issues"} 
[2026-09-05 11:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042282614529636352,"note":"Value kept but may cause issues"} 
[2026-09-05 11:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788587136000,"timestamp_ms":1788587136000,"timestamp_seconds":1788587136,"priority":1,"record_length":96,"hex_timestamp":"000001a07019d400"} 
[2026-09-05 11:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:17: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-09-05 11:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 11:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":174153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":174153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":174153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:17:09] 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-09-05 11:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878303744001,"66":27952,"99":206,"78":38912,"24":21,"16":399505058871377920,"45":6042282614529636352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-09-05 11:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878303744001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:17:09] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-05 11:17:09] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-05 11:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399505058871377920,"km_value":399505058871377.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042282614529636352,"description":"Unknown IO ID 45"} 
[2026-09-05 11:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878303744001,"power":27952,"unknown_99":206,"unknown_78":38912,"ignition":21,"odometer":null,"unknown_45":6042282614529636352}} 
[2026-09-05 11:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":174153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:17:09] local.INFO: GPS data processed {"connection_id":174153,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:17:09] local.INFO: Acknowledgment sent {"connection_id":174153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:17:16] local.INFO: TCP Data received {"connection_id":172849,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172849,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:17:16] local.INFO: Processing buffer {"connection_id":172849,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:17:16] local.INFO: IMEI packet received {"connection_id":172849,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 11:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":172849,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:17:20] local.INFO: TCP Data received {"connection_id":174153,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0701a1668012d53db40064748d8000c00b22a..."} 
[2026-09-05 11:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0701a1668012d53db40064748d8000c00b22a..."} 
[2026-09-05 11:17:20] local.INFO: Processing buffer {"connection_id":174153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0701a1668012d53db40064748d8000c00b22a..."} 
[2026-09-05 11:17:20] local.INFO: Packet analysis {"connection_id":174153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0701a"} 
[2026-09-05 11:17:20] local.INFO: Extracted packet for processing {"connection_id":174153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0701a"} 
[2026-09-05 11:17:20] local.INFO: GPS Element Parsed {"raw_longitude":760470336,"raw_latitude":105335000,"longitude_deg":76.0470336,"latitude_deg":10.5335,"altitude":12,"angle":178,"satellites":42,"speed":25,"hex_longitude":"2d53db40","hex_latitude":"064748d8","is_valid_coordinates":true} 
[2026-09-05 11:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878306816001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399505496958042112,"note":"Value kept but may cause issues"} 
[2026-09-05 11:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042423352015720448,"note":"Value kept but may cause issues"} 
[2026-09-05 11:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788587153000,"timestamp_ms":1788587153000,"timestamp_seconds":1788587153,"priority":1,"record_length":96,"hex_timestamp":"000001a0701a1668"} 
[2026-09-05 11:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-05 11:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:17:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878306816001,"66":27919,"99":206,"78":38912,"24":25,"16":399505496958042112,"45":6042423352015720448},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-09-05 11:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878306816001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:17:20] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-05 11:17:20] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-05 11:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399505496958042112,"km_value":399505496958042.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042423352015720448,"description":"Unknown IO ID 45"} 
[2026-09-05 11:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878306816001,"power":27919,"unknown_99":206,"unknown_78":38912,"ignition":25,"odometer":null,"unknown_45":6042423352015720448}} 
[2026-09-05 11:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":174153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:17:20] local.INFO: GPS data processed {"connection_id":174153,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:17:20] local.INFO: Acknowledgment sent {"connection_id":174153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:17:47] local.INFO: TCP Data received {"connection_id":171456,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171456,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:17:47] local.INFO: Processing buffer {"connection_id":171456,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:17:47] local.INFO: IMEI packet received {"connection_id":171456,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 11:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":171456,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:17:56] local.INFO: TCP Data received {"connection_id":174154,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:17:56] local.INFO: Processing buffer {"connection_id":174154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:17:56] local.INFO: IMEI packet received {"connection_id":174154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":174154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:18:01] local.INFO: TCP Data received {"connection_id":174154,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:18:01] local.INFO: Processing buffer {"connection_id":174154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:18:01] local.INFO: IMEI packet received {"connection_id":174154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":174154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:18:03] local.INFO: TCP Data received {"connection_id":174154,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0701a4930012d53db0006472510000d00b52a..."} 
[2026-09-05 11:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0701a4930012d53db0006472510000d00b52a..."} 
[2026-09-05 11:18:03] local.INFO: Processing buffer {"connection_id":174154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0701a4930012d53db0006472510000d00b52a..."} 
[2026-09-05 11:18:03] local.INFO: Packet analysis {"connection_id":174154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0701a"} 
[2026-09-05 11:18:03] local.INFO: Extracted packet for processing {"connection_id":174154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0701a"} 
[2026-09-05 11:18:03] local.INFO: GPS Element Parsed {"raw_longitude":760470272,"raw_latitude":105325840,"longitude_deg":76.0470272,"latitude_deg":10.532584,"altitude":13,"angle":181,"satellites":42,"speed":30,"hex_longitude":"2d53db00","hex_latitude":"06472510","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878311168001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399505939339673600,"note":"Value kept but may cause issues"} 
[2026-09-05 11:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042493720757590016,"note":"Value kept but may cause issues"} 
[2026-09-05 11:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788587166000,"timestamp_ms":1788587166000,"timestamp_seconds":1788587166,"priority":1,"record_length":96,"hex_timestamp":"000001a0701a4930"} 
[2026-09-05 11:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:18: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-09-05 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 11:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:18: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-09-05 11:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878311168001,"66":27919,"101":206,"78":38912,"24":30,"16":399505939339673600,"45":6042493720757590016},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,78,24,16,45]} 
[2026-09-05 11:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878311168001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:18:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 11:18:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-05 11:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399505939339673600,"km_value":399505939339673.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042493720757590016,"description":"Unknown IO ID 45"} 
[2026-09-05 11:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878311168001,"power":27919,"unknown_101":206,"unknown_78":38912,"ignition":30,"odometer":null,"unknown_45":6042493720757590016}} 
[2026-09-05 11:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":174154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:18:03] local.INFO: GPS data processed {"connection_id":174154,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:18:03] local.INFO: Acknowledgment sent {"connection_id":174154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:18:35] local.INFO: TCP Data received {"connection_id":174154,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0701a7bf8012d53db4006470038000e00b52d..."} 
[2026-09-05 11:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0701a7bf8012d53db4006470038000e00b52d..."} 
[2026-09-05 11:18:35] local.INFO: Processing buffer {"connection_id":174154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0701a7bf8012d53db4006470038000e00b52d..."} 
[2026-09-05 11:18:35] local.INFO: Packet analysis {"connection_id":174154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0701a"} 
[2026-09-05 11:18:35] local.INFO: Extracted packet for processing {"connection_id":174154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0701a"} 
[2026-09-05 11:18:35] local.INFO: GPS Element Parsed {"raw_longitude":760470336,"raw_latitude":105316408,"longitude_deg":76.0470336,"latitude_deg":10.5316408,"altitude":14,"angle":181,"satellites":45,"speed":25,"hex_longitude":"2d53db40","hex_latitude":"06470038","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878314496001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399506398901174272,"note":"Value kept but may cause issues"} 
[2026-09-05 11:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042423352011067392,"note":"Value kept but may cause issues"} 
[2026-09-05 11:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788587179000,"timestamp_ms":1788587179000,"timestamp_seconds":1788587179,"priority":1,"record_length":96,"hex_timestamp":"000001a0701a7bf8"} 
[2026-09-05 11:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:18:35] 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-09-05 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 11:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:18:35] 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-09-05 11:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878314496001,"66":27865,"101":206,"78":38912,"24":25,"16":399506398901174272,"45":6042423352011067392},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,78,24,16,45]} 
[2026-09-05 11:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878314496001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:18:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 11:18:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-05 11:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399506398901174272,"km_value":399506398901174.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042423352011067392,"description":"Unknown IO ID 45"} 
[2026-09-05 11:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878314496001,"power":27865,"unknown_101":206,"unknown_78":38912,"ignition":25,"odometer":null,"unknown_45":6042423352011067392}} 
[2026-09-05 11:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":174154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:18:35] local.INFO: GPS data processed {"connection_id":174154,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:18:35] local.INFO: Acknowledgment sent {"connection_id":174154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:18:57] local.INFO: TCP Data received {"connection_id":172850,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:18:57] local.INFO: Processing buffer {"connection_id":172850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:18:57] local.INFO: IMEI packet received {"connection_id":172850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":172850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:19:01] local.INFO: TCP Data received {"connection_id":172850,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:19:01] local.INFO: Processing buffer {"connection_id":172850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:19:01] local.INFO: IMEI packet received {"connection_id":172850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":172850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:19:05] local.INFO: TCP Data received {"connection_id":172850,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:19:05] local.INFO: Processing buffer {"connection_id":172850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:19:05] local.INFO: IMEI packet received {"connection_id":172850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":172850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:19:06] local.INFO: TCP Data received {"connection_id":172850,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0701bdf70012d5456800645d098000900982d..."} 
[2026-09-05 11:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0701bdf70012d5456800645d098000900982d..."} 
[2026-09-05 11:19:06] local.INFO: Processing buffer {"connection_id":172850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0701bdf70012d5456800645d098000900982d..."} 
[2026-09-05 11:19:06] local.INFO: Packet analysis {"connection_id":172850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0701b"} 
[2026-09-05 11:19:06] local.INFO: Extracted packet for processing {"connection_id":172850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0701b"} 
[2026-09-05 11:19:06] local.INFO: GPS Element Parsed {"raw_longitude":760501888,"raw_latitude":105238680,"longitude_deg":76.0501888,"latitude_deg":10.523868,"altitude":9,"angle":152,"satellites":45,"speed":55,"hex_longitude":"2d545680","hex_latitude":"0645d098","is_valid_coordinates":true} 
[2026-09-05 11:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878339328001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399510534954680320,"note":"Value kept but may cause issues"} 
[2026-09-05 11:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6072189330778056704,"note":"Value kept but may cause issues"} 
[2026-09-05 11:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788587270000,"timestamp_ms":1788587270000,"timestamp_seconds":1788587270,"priority":1,"record_length":96,"hex_timestamp":"000001a0701bdf70"} 
[2026-09-05 11:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 11:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:19:06] 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-09-05 11:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878339328001,"66":27919,"217":206,"78":38912,"24":55,"16":399510534954680320,"45":6072189330778056704},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-09-05 11:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878339328001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:19:06] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-05 11:19:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-05 11:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399510534954680320,"km_value":399510534954680.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6072189330778056704,"description":"Unknown IO ID 45"} 
[2026-09-05 11:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878339328001,"power":27919,"unknown_217":206,"unknown_78":38912,"ignition":55,"odometer":null,"unknown_45":6072189330778056704}} 
[2026-09-05 11:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":172850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:19:06] local.INFO: GPS data processed {"connection_id":172850,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:19:06] local.INFO: Acknowledgment sent {"connection_id":172850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:19:09] local.INFO: TCP Data received {"connection_id":172850,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0701bfac8012d5469400645ae88000800972d..."} 
[2026-09-05 11:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0701bfac8012d5469400645ae88000800972d..."} 
[2026-09-05 11:19:09] local.INFO: Processing buffer {"connection_id":172850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0701bfac8012d5469400645ae88000800972d..."} 
[2026-09-05 11:19:09] local.INFO: Packet analysis {"connection_id":172850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0701b"} 
[2026-09-05 11:19:09] local.INFO: Extracted packet for processing {"connection_id":172850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0701b"} 
[2026-09-05 11:19:09] local.INFO: GPS Element Parsed {"raw_longitude":760506688,"raw_latitude":105229960,"longitude_deg":76.0506688,"latitude_deg":10.522996,"altitude":8,"angle":151,"satellites":45,"speed":56,"hex_longitude":"2d546940","hex_latitude":"0645ae88","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878341120001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399511015991017472,"note":"Value kept but may cause issues"} 
[2026-09-05 11:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6077185511612520448,"note":"Value kept but may cause issues"} 
[2026-09-05 11:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788587277000,"timestamp_ms":1788587277000,"timestamp_seconds":1788587277,"priority":1,"record_length":96,"hex_timestamp":"000001a0701bfac8"} 
[2026-09-05 11:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:19: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-09-05 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 11:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:19:09] 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-09-05 11:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878341120001,"66":27919,"217":206,"78":38912,"24":56,"16":399511015991017472,"45":6077185511612520448},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-09-05 11:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878341120001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:19:09] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-05 11:19:09] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-05 11:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399511015991017472,"km_value":399511015991017.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6077185511612520448,"description":"Unknown IO ID 45"} 
[2026-09-05 11:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878341120001,"power":27919,"unknown_217":206,"unknown_78":38912,"ignition":56,"odometer":null,"unknown_45":6077185511612520448}} 
[2026-09-05 11:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":172850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:19:09] local.INFO: GPS data processed {"connection_id":172850,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:19:09] local.INFO: Acknowledgment sent {"connection_id":172850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:19:40] local.INFO: TCP Data received {"connection_id":172850,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0701c1620012d547bc006458c40000800982d..."} 
[2026-09-05 11:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0701c1620012d547bc006458c40000800982d..."} 
[2026-09-05 11:19:40] local.INFO: Processing buffer {"connection_id":172850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0701c1620012d547bc006458c40000800982d..."} 
[2026-09-05 11:19:40] local.INFO: Packet analysis {"connection_id":172850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0701c"} 
[2026-09-05 11:19:40] local.INFO: Extracted packet for processing {"connection_id":172850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0701c"} 
[2026-09-05 11:19:40] local.INFO: GPS Element Parsed {"raw_longitude":760511424,"raw_latitude":105221184,"longitude_deg":76.0511424,"latitude_deg":10.5221184,"altitude":8,"angle":152,"satellites":45,"speed":55,"hex_longitude":"2d547bc0","hex_latitude":"06458c40","is_valid_coordinates":true} 
[2026-09-05 11:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878342912001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399511497027354624,"note":"Value kept but may cause issues"} 
[2026-09-05 11:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6082463167423612928,"note":"Value kept but may cause issues"} 
[2026-09-05 11:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788587284000,"timestamp_ms":1788587284000,"timestamp_seconds":1788587284,"priority":1,"record_length":96,"hex_timestamp":"000001a0701c1620"} 
[2026-09-05 11:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:19:40] 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-09-05 11:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 11:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":172850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":172850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":172850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:19:40] 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-09-05 11:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878342912001,"66":27865,"217":206,"78":38912,"24":55,"16":399511497027354624,"45":6082463167423612928},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-09-05 11:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878342912001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:19:40] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-05 11:19:40] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-05 11:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399511497027354624,"km_value":399511497027354.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":6082463167423612928,"description":"Unknown IO ID 45"} 
[2026-09-05 11:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878342912001,"power":27865,"unknown_217":206,"unknown_78":38912,"ignition":55,"odometer":null,"unknown_45":6082463167423612928}} 
[2026-09-05 11:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":172850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:19:40] local.INFO: GPS data processed {"connection_id":172850,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:19:40] local.INFO: Acknowledgment sent {"connection_id":172850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:19:57] local.INFO: TCP Data received {"connection_id":171459,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:19:57] local.INFO: Processing buffer {"connection_id":171459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:19:57] local.INFO: IMEI packet received {"connection_id":171459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":171459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:19:59] local.INFO: TCP Data received {"connection_id":171459,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:19:59] local.INFO: Processing buffer {"connection_id":171459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:19:59] local.INFO: IMEI packet received {"connection_id":171459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":171459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:20:00] local.INFO: TCP Data received {"connection_id":171459,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0701c3178012d548d0006456c10000800982d..."} 
[2026-09-05 11:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0701c3178012d548d0006456c10000800982d..."} 
[2026-09-05 11:20:00] local.INFO: Processing buffer {"connection_id":171459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0701c3178012d548d0006456c10000800982d..."} 
[2026-09-05 11:20:00] local.INFO: Packet analysis {"connection_id":171459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0701c"} 
[2026-09-05 11:20:00] local.INFO: Extracted packet for processing {"connection_id":171459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0701c"} 
[2026-09-05 11:20:00] local.INFO: GPS Element Parsed {"raw_longitude":760515840,"raw_latitude":105212944,"longitude_deg":76.051584,"latitude_deg":10.5212944,"altitude":8,"angle":152,"satellites":45,"speed":50,"hex_longitude":"2d548d00","hex_latitude":"06456c10","is_valid_coordinates":true} 
[2026-09-05 11:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878344704001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399511947998920704,"note":"Value kept but may cause issues"} 
[2026-09-05 11:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6087670454490513408,"note":"Value kept but may cause issues"} 
[2026-09-05 11:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788587291000,"timestamp_ms":1788587291000,"timestamp_seconds":1788587291,"priority":1,"record_length":96,"hex_timestamp":"000001a0701c3178"} 
[2026-09-05 11:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:20:00] 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-09-05 11:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 11:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:20:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878344704001,"66":27930,"217":206,"78":38912,"24":50,"16":399511947998920704,"45":6087670454490513408},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-09-05 11:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878344704001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:20:00] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-05 11:20:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-05 11:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399511947998920704,"km_value":399511947998920.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6087670454490513408,"description":"Unknown IO ID 45"} 
[2026-09-05 11:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878344704001,"power":27930,"unknown_217":206,"unknown_78":38912,"ignition":50,"odometer":null,"unknown_45":6087670454490513408}} 
[2026-09-05 11:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":171459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:20:00] local.INFO: GPS data processed {"connection_id":171459,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:20:00] local.INFO: Acknowledgment sent {"connection_id":171459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:20:02] local.INFO: TCP Data received {"connection_id":171459,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0701c50b8012d549f0006454aa8000a00982d..."} 
[2026-09-05 11:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0701c50b8012d549f0006454aa8000a00982d..."} 
[2026-09-05 11:20:02] local.INFO: Processing buffer {"connection_id":171459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0701c50b8012d549f0006454aa8000a00982d..."} 
[2026-09-05 11:20:02] local.INFO: Packet analysis {"connection_id":171459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0701c"} 
[2026-09-05 11:20:02] local.INFO: Extracted packet for processing {"connection_id":171459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0701c"} 
[2026-09-05 11:20:02] local.INFO: GPS Element Parsed {"raw_longitude":760520448,"raw_latitude":105204392,"longitude_deg":76.0520448,"latitude_deg":10.5204392,"altitude":10,"angle":152,"satellites":45,"speed":46,"hex_longitude":"2d549f00","hex_latitude":"06454aa8","is_valid_coordinates":true} 
[2026-09-05 11:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878346496001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399512420445323264,"note":"Value kept but may cause issues"} 
[2026-09-05 11:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6092525897836662784,"note":"Value kept but may cause issues"} 
[2026-09-05 11:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788587299000,"timestamp_ms":1788587299000,"timestamp_seconds":1788587299,"priority":1,"record_length":96,"hex_timestamp":"000001a0701c50b8"} 
[2026-09-05 11:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:20: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-09-05 11:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 11:20: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-09-05 11:20:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:20: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-09-05 11:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878346496001,"66":27865,"217":206,"78":38912,"24":46,"16":399512420445323264,"45":6092525897836662784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-09-05 11:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878346496001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:20:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-05 11:20:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-05 11:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399512420445323264,"km_value":399512420445323.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6092525897836662784,"description":"Unknown IO ID 45"} 
[2026-09-05 11:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878346496001,"power":27865,"unknown_217":206,"unknown_78":38912,"ignition":46,"odometer":null,"unknown_45":6092525897836662784}} 
[2026-09-05 11:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":171459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:20:02] local.INFO: GPS data processed {"connection_id":171459,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:20:02] local.INFO: Acknowledgment sent {"connection_id":171459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:20:07] local.INFO: TCP Data received {"connection_id":172851,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:20:07] local.INFO: Processing buffer {"connection_id":172851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:20:07] local.INFO: IMEI packet received {"connection_id":172851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":172851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:20:07] local.INFO: TCP Data received {"connection_id":172851,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0701c6c10012d1b50800724b818002b002b27..."} 
[2026-09-05 11:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0701c6c10012d1b50800724b818002b002b27..."} 
[2026-09-05 11:20:07] local.INFO: Processing buffer {"connection_id":172851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0701c6c10012d1b50800724b818002b002b27..."} 
[2026-09-05 11:20:07] local.INFO: Packet analysis {"connection_id":172851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0701c"} 
[2026-09-05 11:20:07] local.INFO: Extracted packet for processing {"connection_id":172851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0701c"} 
[2026-09-05 11:20:07] local.INFO: GPS Element Parsed {"raw_longitude":756764800,"raw_latitude":119846936,"longitude_deg":75.67648,"latitude_deg":11.9846936,"altitude":43,"angle":43,"satellites":39,"speed":28,"hex_longitude":"2d1b5080","hex_latitude":"0724b818","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878348288001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17501437680418816,"note":"Value kept but may cause issues"} 
[2026-09-05 11:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964202786911129600,"note":"Value kept but may cause issues"} 
[2026-09-05 11:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788587306000,"timestamp_ms":1788587306000,"timestamp_seconds":1788587306,"priority":1,"record_length":96,"hex_timestamp":"000001a0701c6c10"} 
[2026-09-05 11:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:20:07] 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-09-05 11: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 11:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878348288001,"66":14341,"44":206,"83":41984,"24":28,"16":17501437680418816,"45":1964202786911129600},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-09-05 11:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878348288001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:20:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-05 11:20:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17501437680418816,"km_value":17501437680418.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964202786911129600,"description":"Unknown IO ID 45"} 
[2026-09-05 11:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878348288001,"power":14341,"unknown_44":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1964202786911129600}} 
[2026-09-05 11:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":172851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:20:08] local.INFO: GPS data processed {"connection_id":172851,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:20:08] local.INFO: Acknowledgment sent {"connection_id":172851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:20:33] local.INFO: TCP Data received {"connection_id":171459,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0701c6ff8012d54b0c006452a28000c00972d..."} 
[2026-09-05 11:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0701c6ff8012d54b0c006452a28000c00972d..."} 
[2026-09-05 11:20:33] local.INFO: Processing buffer {"connection_id":171459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0701c6ff8012d54b0c006452a28000c00972d..."} 
[2026-09-05 11:20:33] local.INFO: Packet analysis {"connection_id":171459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0701c"} 
[2026-09-05 11:20:33] local.INFO: Extracted packet for processing {"connection_id":171459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0701c"} 
[2026-09-05 11:20:33] local.INFO: GPS Element Parsed {"raw_longitude":760524992,"raw_latitude":105196072,"longitude_deg":76.0524992,"latitude_deg":10.5196072,"altitude":12,"angle":151,"satellites":45,"speed":45,"hex_longitude":"2d54b0c0","hex_latitude":"06452a28","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878348544001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399512875711856640,"note":"Value kept but may cause issues"} 
[2026-09-05 11:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6097592447415265280,"note":"Value kept but may cause issues"} 
[2026-09-05 11:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788587307000,"timestamp_ms":1788587307000,"timestamp_seconds":1788587307,"priority":1,"record_length":96,"hex_timestamp":"000001a0701c6ff8"} 
[2026-09-05 11:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:20: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-09-05 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 11:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:20: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-09-05 11:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878348544001,"66":27908,"217":206,"78":38912,"24":45,"16":399512875711856640,"45":6097592447415265280},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-09-05 11:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878348544001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:20:33] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-05 11:20:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-05 11:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399512875711856640,"km_value":399512875711856.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6097592447415265280,"description":"Unknown IO ID 45"} 
[2026-09-05 11:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878348544001,"power":27908,"unknown_217":206,"unknown_78":38912,"ignition":45,"odometer":null,"unknown_45":6097592447415265280}} 
[2026-09-05 11:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":171459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:20:33] local.INFO: GPS data processed {"connection_id":171459,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:20:33] local.INFO: Acknowledgment sent {"connection_id":171459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:20:57] local.INFO: TCP Data received {"connection_id":171758,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:20:57] local.INFO: Processing buffer {"connection_id":171758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:20:57] local.INFO: IMEI packet received {"connection_id":171758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":171758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:21:00] local.INFO: TCP Data received {"connection_id":171758,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:21:00] local.INFO: Processing buffer {"connection_id":171758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:21:00] local.INFO: IMEI packet received {"connection_id":171758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":171758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:21:01] local.INFO: TCP Data received {"connection_id":171756,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:21:01] local.INFO: Processing buffer {"connection_id":171756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:21:01] local.INFO: IMEI packet received {"connection_id":171756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":171756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:21:01] local.INFO: TCP Data received {"connection_id":171758,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0701db430012d5577000643ca28000c00942d..."} 
[2026-09-05 11:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0701db430012d5577000643ca28000c00942d..."} 
[2026-09-05 11:21:01] local.INFO: Processing buffer {"connection_id":171758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0701db430012d5577000643ca28000c00942d..."} 
[2026-09-05 11:21:01] local.INFO: Packet analysis {"connection_id":171758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0701d"} 
[2026-09-05 11:21:01] local.INFO: Extracted packet for processing {"connection_id":171758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0701d"} 
[2026-09-05 11:21:01] local.INFO: GPS Element Parsed {"raw_longitude":760575744,"raw_latitude":105105960,"longitude_deg":76.0575744,"latitude_deg":10.510596,"altitude":12,"angle":148,"satellites":45,"speed":46,"hex_longitude":"2d557700","hex_latitude":"0643ca28","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878369792001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399517875053789184,"note":"Value kept but may cause issues"} 
[2026-09-05 11:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6152550436594954240,"note":"Value kept but may cause issues"} 
[2026-09-05 11:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788587390000,"timestamp_ms":1788587390000,"timestamp_seconds":1788587390,"priority":1,"record_length":96,"hex_timestamp":"000001a0701db430"} 
[2026-09-05 11:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 11:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878369792001,"66":27974,"216":206,"78":38912,"24":46,"16":399517875053789184,"45":6152550436594954240},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-09-05 11:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878369792001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:21:01] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-05 11:21:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-05 11:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399517875053789184,"km_value":399517875053789.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6152550436594954240,"description":"Unknown IO ID 45"} 
[2026-09-05 11:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878369792001,"power":27974,"unknown_216":206,"unknown_78":38912,"ignition":46,"odometer":null,"unknown_45":6152550436594954240}} 
[2026-09-05 11:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":171758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:21:01] local.INFO: GPS data processed {"connection_id":171758,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:21:01] local.INFO: Acknowledgment sent {"connection_id":171758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:21:02] local.INFO: TCP Data received {"connection_id":171756,"ip":"42.106.6.56","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 11:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171756,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 11:21:02] local.INFO: Processing buffer {"connection_id":171756,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 11:21:02] local.INFO: IMEI packet received {"connection_id":171756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":171756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:21:02] local.INFO: TCP Data received {"connection_id":171756,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0701d5e40012d1b5bc007256da80027013e28..."} 
[2026-09-05 11:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0701d5e40012d1b5bc007256da80027013e28..."} 
[2026-09-05 11:21:02] local.INFO: Processing buffer {"connection_id":171756,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a070..."} 
[2026-09-05 11:21:02] local.INFO: IMEI packet received {"connection_id":171756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":171756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:21:03] local.INFO: TCP Data received {"connection_id":171756,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0701d94f0012d1b4580072586880027014b28..."} 
[2026-09-05 11:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0701d94f0012d1b4580072586880027014b28..."} 
[2026-09-05 11:21:03] local.INFO: Processing buffer {"connection_id":171756,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0701d5e40012d1b5bc007256da80027013e28..."} 
[2026-09-05 11:21:03] local.INFO: Packet analysis {"connection_id":171756,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0701d"} 
[2026-09-05 11:21:03] local.INFO: Extracted packet for processing {"connection_id":171756,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0701d"} 
[2026-09-05 11:21:03] local.INFO: GPS Element Parsed {"raw_longitude":756767680,"raw_latitude":119893416,"longitude_deg":75.676768,"latitude_deg":11.9893416,"altitude":39,"angle":318,"satellites":40,"speed":31,"hex_longitude":"2d1b5bc0","hex_latitude":"07256da8","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878365696001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17503756962758656,"note":"Value kept but may cause issues"} 
[2026-09-05 11:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972365561248131072,"note":"Value kept but may cause issues"} 
[2026-09-05 11:21:03] 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-09-05 11:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788587368000,"timestamp_ms":1788587368000,"timestamp_seconds":1788587368,"priority":1,"record_length":96,"hex_timestamp":"000001a0701d5e40"} 
[2026-09-05 11:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:21: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-09-05 11: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-05 11:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3442158592,"note":"Value kept but may cause issues"} 
[2026-09-05 11:21:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 11:21:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 11:21:03] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13445931,"corrected_to":0} 
[2026-09-05 11:21:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":724238542,"corrected_to":0} 
[2026-09-05 11:21:03] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,43,83,24,241,157,16,47,160,78,45,99,40,10,66,63,88,42,39,128,1,240,203,227,112,37,4,113,205,221,86,144,239,54,44,2,62,7,38,26],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":203,"original":13445931,"validated":0},{"io_id":205,"original":724238542,"validated":0}]} 
[2026-09-05 11:21:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2810609178117013504,"timestamp_seconds":2810609178117013.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 11:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878365696001,"66":13993,"43":206,"83":41984,"24":31,"16":17503756962758656,"45":1972365561248131072},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-05 11:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878365696001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:21:03] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-05 11:21:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17503756962758656,"km_value":17503756962758.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972365561248131072,"description":"Unknown IO ID 45"} 
[2026-09-05 11:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878365696001,"power":13993,"unknown_43":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1972365561248131072}} 
[2026-09-05 11:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":171756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:21:03] local.INFO: GPS data processed {"connection_id":171756,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:21:03] local.INFO: Acknowledgment sent {"connection_id":171756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:21:03] local.INFO: Packet analysis {"connection_id":171756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0701d"} 
[2026-09-05 11:21:03] local.INFO: Extracted packet for processing {"connection_id":171756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0701d"} 
[2026-09-05 11:21:03] local.INFO: GPS Element Parsed {"raw_longitude":756761984,"raw_latitude":119899784,"longitude_deg":75.6761984,"latitude_deg":11.9899784,"altitude":39,"angle":331,"satellites":40,"speed":25,"hex_longitude":"2d1b4580","hex_latitude":"07258688","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878366208001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17504169279619072,"note":"Value kept but may cause issues"} 
[2026-09-05 11:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971380398829971456,"note":"Value kept but may cause issues"} 
[2026-09-05 11:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788587382000,"timestamp_ms":1788587382000,"timestamp_seconds":1788587382,"priority":1,"record_length":96,"hex_timestamp":"000001a0701d94f0"} 
[2026-09-05 11:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:21: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-09-05 11: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":169,"data_length":795,"current_offset":136} 
[2026-09-05 11:21: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-09-05 11: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-09-05 11:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878366208001,"66":14080,"217":206,"83":42752,"24":25,"16":17504169279619072,"45":1971380398829971456},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-05 11:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878366208001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:21:03] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-05 11:21:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 11:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17504169279619072,"km_value":17504169279619.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971380398829971456,"description":"Unknown IO ID 45"} 
[2026-09-05 11:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878366208001,"power":14080,"unknown_217":206,"unknown_83":42752,"ignition":25,"odometer":null,"unknown_45":1971380398829971456}} 
[2026-09-05 11:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":171756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:21:03] local.INFO: GPS data processed {"connection_id":171756,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:21:03] local.INFO: Acknowledgment sent {"connection_id":171756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:21:04] local.INFO: TCP Data received {"connection_id":171756,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0701dd758012d1b36800725a5f0002a015128..."} 
[2026-09-05 11:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0701dd758012d1b36800725a5f0002a015128..."} 
[2026-09-05 11:21:04] local.INFO: Processing buffer {"connection_id":171756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0701dd758012d1b36800725a5f0002a015128..."} 
[2026-09-05 11:21:04] local.INFO: Packet analysis {"connection_id":171756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0701d"} 
[2026-09-05 11:21:04] local.INFO: Extracted packet for processing {"connection_id":171756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0701d"} 
[2026-09-05 11:21:04] local.INFO: GPS Element Parsed {"raw_longitude":756758144,"raw_latitude":119907824,"longitude_deg":75.6758144,"latitude_deg":11.9907824,"altitude":42,"angle":337,"satellites":40,"speed":11,"hex_longitude":"2d1b3680","hex_latitude":"0725a5f0","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878369792001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17504598776348672,"note":"Value kept but may cause issues"} 
[2026-09-05 11:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965117580599789568,"note":"Value kept but may cause issues"} 
[2026-09-05 11:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788587399000,"timestamp_ms":1788587399000,"timestamp_seconds":1788587399,"priority":1,"record_length":96,"hex_timestamp":"000001a0701dd758"} 
[2026-09-05 11:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:21: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-09-05 11: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-05 11:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3442158336,"note":"Value kept but may cause issues"} 
[2026-09-05 11:21:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 11:21:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 11:21:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":724238542,"corrected_to":0} 
[2026-09-05 11:21:04] local.WARNING: Large IO value detected {"io_id":98,"raw_value":2147951948,"note":"Value kept but may cause issues"} 
[2026-09-05 11:21:04] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827371,"note":"Value kept but may cause issues"} 
[2026-09-05 11:21:04] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,217,83,24,241,157,16,47,160,94,45,192,109,39,40,10,66,43,86,64,104,78,1,240,227,112,37,4,113,205,26,98,208,239,52,2,62,7,38],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":724238542,"validated":0}]} 
[2026-09-05 11:21:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2810610277628313600,"timestamp_seconds":2810610277628313.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 11:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878369792001,"66":14352,"217":206,"83":42752,"24":11,"16":17504598776348672,"45":1965117580599789568},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-05 11:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878369792001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:21:04] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-05 11:21:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 11:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17504598776348672,"km_value":17504598776348.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965117580599789568,"description":"Unknown IO ID 45"} 
[2026-09-05 11:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878369792001,"power":14352,"unknown_217":206,"unknown_83":42752,"ignition":11,"odometer":null,"unknown_45":1965117580599789568}} 
[2026-09-05 11:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":171756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:21:04] local.INFO: GPS data processed {"connection_id":171756,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:21:04] local.INFO: Acknowledgment sent {"connection_id":171756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:21:32] local.INFO: TCP Data received {"connection_id":171758,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0701dd370012d558a000643aae8000d00942d..."} 
[2026-09-05 11:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0701dd370012d558a000643aae8000d00942d..."} 
[2026-09-05 11:21:32] local.INFO: Processing buffer {"connection_id":171758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0701dd370012d558a000643aae8000d00942d..."} 
[2026-09-05 11:21:32] local.INFO: Packet analysis {"connection_id":171758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0701d"} 
[2026-09-05 11:21:32] local.INFO: Extracted packet for processing {"connection_id":171758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0701d"} 
[2026-09-05 11:21:32] local.INFO: GPS Element Parsed {"raw_longitude":760580608,"raw_latitude":105097960,"longitude_deg":76.0580608,"latitude_deg":10.509796,"altitude":13,"angle":148,"satellites":45,"speed":46,"hex_longitude":"2d558a00","hex_latitude":"0643aae8","is_valid_coordinates":true} 
[2026-09-05 11:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878371840001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399518330320322560,"note":"Value kept but may cause issues"} 
[2026-09-05 11:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6158391042359568384,"note":"Value kept but may cause issues"} 
[2026-09-05 11:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788587398000,"timestamp_ms":1788587398000,"timestamp_seconds":1788587398,"priority":1,"record_length":96,"hex_timestamp":"000001a0701dd370"} 
[2026-09-05 11:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:21: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-09-05 11:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 11:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:21: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-09-05 11:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878371840001,"66":27876,"216":206,"78":38912,"24":46,"16":399518330320322560,"45":6158391042359568384},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-09-05 11:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878371840001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:21:32] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-05 11:21:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-05 11:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399518330320322560,"km_value":399518330320322.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6158391042359568384,"description":"Unknown IO ID 45"} 
[2026-09-05 11:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878371840001,"power":27876,"unknown_216":206,"unknown_78":38912,"ignition":46,"odometer":null,"unknown_45":6158391042359568384}} 
[2026-09-05 11:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":171758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:21:32] local.INFO: GPS data processed {"connection_id":171758,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:21:32] local.INFO: Acknowledgment sent {"connection_id":171758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:21:45] local.INFO: TCP Data received {"connection_id":172852,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:21:45] local.INFO: Processing buffer {"connection_id":172852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:21:45] local.INFO: IMEI packet received {"connection_id":172852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":172852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:21:46] local.INFO: TCP Data received {"connection_id":172852,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:21:46] local.INFO: Processing buffer {"connection_id":172852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:21:46] local.INFO: IMEI packet received {"connection_id":172852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":172852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:21:48] local.INFO: TCP Data received {"connection_id":172852,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:21:48] local.INFO: Processing buffer {"connection_id":172852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:21:48] local.INFO: IMEI packet received {"connection_id":172852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":172852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:21:49] local.INFO: TCP Data received {"connection_id":172852,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0701e9aa8012d1b494007262238002a012a28..."} 
[2026-09-05 11:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0701e9aa8012d1b494007262238002a012a28..."} 
[2026-09-05 11:21:49] local.INFO: Processing buffer {"connection_id":172852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0701e9aa8012d1b494007262238002a012a28..."} 
[2026-09-05 11:21:49] local.INFO: Packet analysis {"connection_id":172852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0701e"} 
[2026-09-05 11:21:49] local.INFO: Extracted packet for processing {"connection_id":172852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0701e"} 
[2026-09-05 11:21:49] local.INFO: GPS Element Parsed {"raw_longitude":756762944,"raw_latitude":119939640,"longitude_deg":75.6762944,"latitude_deg":11.993964,"altitude":42,"angle":298,"satellites":40,"speed":28,"hex_longitude":"2d1b4940","hex_latitude":"07262238","is_valid_coordinates":true} 
[2026-09-05 11:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878386432001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17506239453855744,"note":"Value kept but may cause issues"} 
[2026-09-05 11:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967299011679291392,"note":"Value kept but may cause issues"} 
[2026-09-05 11:21:49] 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-09-05 11:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788587449000,"timestamp_ms":1788587449000,"timestamp_seconds":1788587449,"priority":1,"record_length":96,"hex_timestamp":"000001a0701e9aa8"} 
[2026-09-05 11:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:21:49] 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-09-05 11:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-05 11:21:49] 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-09-05 11:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878386432001,"66":13972,"175":206,"83":42752,"24":28,"16":17506239453855744,"45":1967299011679291392},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-05 11:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878386432001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:21:49] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 11:21:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 11:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17506239453855744,"km_value":17506239453855.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967299011679291392,"description":"Unknown IO ID 45"} 
[2026-09-05 11:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878386432001,"power":13972,"unknown_175":206,"unknown_83":42752,"ignition":28,"odometer":null,"unknown_45":1967299011679291392}} 
[2026-09-05 11:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":172852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:21:49] local.INFO: GPS data processed {"connection_id":172852,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:21:49] local.INFO: Acknowledgment sent {"connection_id":172852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:21:56] local.INFO: TCP Data received {"connection_id":174156,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:21:56] local.INFO: Processing buffer {"connection_id":174156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:21:56] local.INFO: IMEI packet received {"connection_id":174156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":174156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:21:59] local.INFO: TCP Data received {"connection_id":174156,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:21:59] local.INFO: Processing buffer {"connection_id":174156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:21:59] local.INFO: IMEI packet received {"connection_id":174156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":174156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:22:00] local.INFO: TCP Data received {"connection_id":174156,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0701df2b0012d559c8006438a78000e00982d..."} 
[2026-09-05 11:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0701df2b0012d559c8006438a78000e00982d..."} 
[2026-09-05 11:22:00] local.INFO: Processing buffer {"connection_id":174156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0701df2b0012d559c8006438a78000e00982d..."} 
[2026-09-05 11:22:00] local.INFO: Packet analysis {"connection_id":174156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0701d"} 
[2026-09-05 11:22:00] local.INFO: Extracted packet for processing {"connection_id":174156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0701d"} 
[2026-09-05 11:22:00] local.INFO: GPS Element Parsed {"raw_longitude":760585344,"raw_latitude":105089656,"longitude_deg":76.0585344,"latitude_deg":10.5089656,"altitude":14,"angle":152,"satellites":45,"speed":47,"hex_longitude":"2d559c80","hex_latitude":"06438a78","is_valid_coordinates":true} 
[2026-09-05 11:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878373888001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399518789881823232,"note":"Value kept but may cause issues"} 
[2026-09-05 11:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6163739066915022848,"note":"Value kept but may cause issues"} 
[2026-09-05 11:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788587406000,"timestamp_ms":1788587406000,"timestamp_seconds":1788587406,"priority":1,"record_length":96,"hex_timestamp":"000001a0701df2b0"} 
[2026-09-05 11:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:22:00] 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-09-05 11:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 11:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878373888001,"66":27821,"216":206,"78":38912,"24":47,"16":399518789881823232,"45":6163739066915022848},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-09-05 11:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878373888001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:22:00] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-05 11:22:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-05 11:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399518789881823232,"km_value":399518789881823.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6163739066915022848,"description":"Unknown IO ID 45"} 
[2026-09-05 11:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878373888001,"power":27821,"unknown_216":206,"unknown_78":38912,"ignition":47,"odometer":null,"unknown_45":6163739066915022848}} 
[2026-09-05 11:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":174156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:22:00] local.INFO: GPS data processed {"connection_id":174156,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:22:00] local.INFO: Acknowledgment sent {"connection_id":174156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:22:20] local.INFO: TCP Data received {"connection_id":172852,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0701f36e8012d1ab3c007262b18002200f224..."} 
[2026-09-05 11:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0701f36e8012d1ab3c007262b18002200f224..."} 
[2026-09-05 11:22:20] local.INFO: Processing buffer {"connection_id":172852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0701f36e8012d1ab3c007262b18002200f224..."} 
[2026-09-05 11:22:20] local.INFO: Packet analysis {"connection_id":172852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0701f"} 
[2026-09-05 11:22:20] local.INFO: Extracted packet for processing {"connection_id":172852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0701f"} 
[2026-09-05 11:22:20] local.INFO: GPS Element Parsed {"raw_longitude":756724672,"raw_latitude":119941912,"longitude_deg":75.6724672,"latitude_deg":11.9941912,"altitude":34,"angle":242,"satellites":36,"speed":47,"hex_longitude":"2d1ab3c0","hex_latitude":"07262b18","is_valid_coordinates":true} 
[2026-09-05 11:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878396160001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17508150714302464,"note":"Value kept but may cause issues"} 
[2026-09-05 11:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929018414847905792,"note":"Value kept but may cause issues"} 
[2026-09-05 11:22:20] 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-09-05 11:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788587489000,"timestamp_ms":1788587489000,"timestamp_seconds":1788587489,"priority":1,"record_length":96,"hex_timestamp":"000001a0701f36e8"} 
[2026-09-05 11:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:22:20] 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-09-05 11:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-05 11:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6986669761,"note":"Value kept but may cause issues"} 
[2026-09-05 11:22:20] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-05 11:22:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 11:22:20] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227911018,"note":"Value kept but may cause issues"} 
[2026-09-05 11:22:20] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2751463424,"note":"Value kept but may cause issues"} 
[2026-09-05 11:22:20] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503866758856704,"note":"Value kept but may cause issues"} 
[2026-09-05 11:22:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789853902,"corrected_to":0} 
[2026-09-05 11:22:20] local.WARNING: Large IO value detected {"io_id":25,"raw_value":3221693992,"note":"Value kept but may cause issues"} 
[2026-09-05 11:22:20] local.WARNING: Large IO value detected {"io_id":184,"raw_value":84753829824243232,"note":"Value kept but may cause issues"} 
[2026-09-05 11:22:20] local.WARNING: Large IO value detected {"io_id":48,"raw_value":10978723041911808,"note":"Value kept but may cause issues"} 
[2026-09-05 11:22:20] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,175,83,24,241,157,16,51,160,27,45,64,53,37,36,10,66,252,52,38,35,50,236,1,240,169,227,112,4,113,205,213,25,248,239,2,62,7,39,33,206,184,48],"length":529,"final_offset":659,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1789853902,"validated":0}]} 
[2026-09-05 11:22:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2522294130981076992,"timestamp_seconds":2522294130981077.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 11:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878396160001,"66":14298,"175":206,"83":42752,"24":47,"16":17508150714302464,"45":1929018414847905792},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-05 11:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878396160001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:22:20] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 11:22:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 11:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17508150714302464,"km_value":17508150714302.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929018414847905792,"description":"Unknown IO ID 45"} 
[2026-09-05 11:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878396160001,"power":14298,"unknown_175":206,"unknown_83":42752,"ignition":47,"odometer":null,"unknown_45":1929018414847905792}} 
[2026-09-05 11:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":172852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:22:21] local.INFO: GPS data processed {"connection_id":172852,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:22:21] local.INFO: Acknowledgment sent {"connection_id":172852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:22:44] local.INFO: TCP Data received {"connection_id":171759,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:22:44] local.INFO: Processing buffer {"connection_id":171759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:22:44] local.INFO: IMEI packet received {"connection_id":171759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":171759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:22:45] local.INFO: TCP Data received {"connection_id":171759,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:22:45] local.INFO: Processing buffer {"connection_id":171759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:22:45] local.INFO: IMEI packet received {"connection_id":171759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":171759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:22:56] local.INFO: TCP Data received {"connection_id":174158,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:22:56] local.INFO: Processing buffer {"connection_id":174158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:22:56] local.INFO: IMEI packet received {"connection_id":174158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":174158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:22:57] local.INFO: TCP Data received {"connection_id":174158,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:22:57] local.INFO: Processing buffer {"connection_id":174158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:22:57] local.INFO: IMEI packet received {"connection_id":174158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":174158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:22:58] local.INFO: TCP Data received {"connection_id":171759,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:22:58] local.INFO: Processing buffer {"connection_id":171759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:22:58] local.INFO: IMEI packet received {"connection_id":171759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":171759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:22:59] local.INFO: TCP Data received {"connection_id":171759,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0701f4a70012d1a9dc007262220002200fe21..."} 
[2026-09-05 11:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0701f4a70012d1a9dc007262220002200fe21..."} 
[2026-09-05 11:22:59] local.INFO: Processing buffer {"connection_id":171759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0701f4a70012d1a9dc007262220002200fe21..."} 
[2026-09-05 11:22:59] local.INFO: Packet analysis {"connection_id":171759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0701f"} 
[2026-09-05 11:22:59] local.INFO: Extracted packet for processing {"connection_id":171759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0701f"} 
[2026-09-05 11:22:59] local.INFO: GPS Element Parsed {"raw_longitude":756719040,"raw_latitude":119939616,"longitude_deg":75.671904,"latitude_deg":11.9939616,"altitude":34,"angle":254,"satellites":33,"speed":48,"hex_longitude":"2d1a9dc0","hex_latitude":"07262220","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878397184001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17508442772078592,"note":"Value kept but may cause issues"} 
[2026-09-05 11:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924092602754996224,"note":"Value kept but may cause issues"} 
[2026-09-05 11:22:59] 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-09-05 11:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788587494000,"timestamp_ms":1788587494000,"timestamp_seconds":1788587494,"priority":1,"record_length":96,"hex_timestamp":"000001a0701f4a70"} 
[2026-09-05 11:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-05 11:22:59] 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-09-05 11: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-09-05 11:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878397184001,"66":14363,"175":206,"83":42752,"24":48,"16":17508442772078592,"45":1924092602754996224},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-09-05 11:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878397184001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:22:59] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 11:22:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 11:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17508442772078592,"km_value":17508442772078.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924092602754996224,"description":"Unknown IO ID 45"} 
[2026-09-05 11:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878397184001,"power":14363,"unknown_175":206,"unknown_83":42752,"ignition":48,"odometer":null,"unknown_45":1924092602754996224}} 
[2026-09-05 11:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":171759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:22:59] local.INFO: GPS data processed {"connection_id":171759,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:22:59] local.INFO: Acknowledgment sent {"connection_id":171759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:23:02] local.INFO: TCP Data received {"connection_id":174158,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:23:02] local.INFO: Processing buffer {"connection_id":174158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:23:02] local.INFO: IMEI packet received {"connection_id":174158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":174158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:23:02] local.INFO: TCP Data received {"connection_id":174158,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0701f8508012d5699800641aa48000b009a2b..."} 
[2026-09-05 11:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0701f8508012d5699800641aa48000b009a2b..."} 
[2026-09-05 11:23:02] local.INFO: Processing buffer {"connection_id":174158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0701f8508012d5699800641aa48000b009a2b..."} 
[2026-09-05 11:23:02] local.INFO: Packet analysis {"connection_id":174158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0701f"} 
[2026-09-05 11:23:02] local.INFO: Extracted packet for processing {"connection_id":174158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0701f"} 
[2026-09-05 11:23:02] local.INFO: GPS Element Parsed {"raw_longitude":760650112,"raw_latitude":104966728,"longitude_deg":76.0650112,"latitude_deg":10.4966728,"altitude":11,"angle":154,"satellites":43,"speed":58,"hex_longitude":"2d569980","hex_latitude":"0641aa48","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878400512001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399525511505641472,"note":"Value kept but may cause issues"} 
[2026-09-05 11:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6235304079712430080,"note":"Value kept but may cause issues"} 
[2026-09-05 11:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788587509000,"timestamp_ms":1788587509000,"timestamp_seconds":1788587509,"priority":1,"record_length":96,"hex_timestamp":"000001a0701f8508"} 
[2026-09-05 11:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:23: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-09-05 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 11:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:23: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-09-05 11:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878400512001,"66":27767,"111":206,"78":38912,"24":58,"16":399525511505641472,"45":6235304079712430080},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,78,24,16,45]} 
[2026-09-05 11:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878400512001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:23:02] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-05 11:23:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-05 11:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399525511505641472,"km_value":399525511505641.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6235304079712430080,"description":"Unknown IO ID 45"} 
[2026-09-05 11:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878400512001,"power":27767,"unknown_111":206,"unknown_78":38912,"ignition":58,"odometer":null,"unknown_45":6235304079712430080}} 
[2026-09-05 11:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":174158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:23:02] local.INFO: GPS data processed {"connection_id":174158,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:23:02] local.INFO: Acknowledgment sent {"connection_id":174158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:23:23] local.INFO: TCP Data received {"connection_id":174157,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174157,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:23:23] local.INFO: Processing buffer {"connection_id":174157,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:23:23] local.INFO: IMEI packet received {"connection_id":174157,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 11:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":174157,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:23:34] local.INFO: TCP Data received {"connection_id":174158,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0701fa060012d56ab4006418650000d00992c..."} 
[2026-09-05 11:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0701fa060012d56ab4006418650000d00992c..."} 
[2026-09-05 11:23:34] local.INFO: Processing buffer {"connection_id":174158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0701fa060012d56ab4006418650000d00992c..."} 
[2026-09-05 11:23:34] local.INFO: Packet analysis {"connection_id":174158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0701f"} 
[2026-09-05 11:23:34] local.INFO: Extracted packet for processing {"connection_id":174158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0701f"} 
[2026-09-05 11:23:34] local.INFO: GPS Element Parsed {"raw_longitude":760654656,"raw_latitude":104957520,"longitude_deg":76.0654656,"latitude_deg":10.495752,"altitude":13,"angle":153,"satellites":44,"speed":57,"hex_longitude":"2d56ab40","hex_latitude":"06418650","is_valid_coordinates":true} 
[2026-09-05 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-09-05 11:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878402304001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399526005426880512,"note":"Value kept but may cause issues"} 
[2026-09-05 11:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6240159523058370560,"note":"Value kept but may cause issues"} 
[2026-09-05 11:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788587516000,"timestamp_ms":1788587516000,"timestamp_seconds":1788587516,"priority":1,"record_length":96,"hex_timestamp":"000001a0701fa060"} 
[2026-09-05 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-09-05 11:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 11:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 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-09-05 11:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11: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-09-05 11:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878402304001,"66":27974,"111":206,"78":38912,"24":57,"16":399526005426880512,"45":6240159523058370560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,78,24,16,45]} 
[2026-09-05 11:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878402304001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:23:34] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-05 11:23:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-05 11:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399526005426880512,"km_value":399526005426880.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6240159523058370560,"description":"Unknown IO ID 45"} 
[2026-09-05 11:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878402304001,"power":27974,"unknown_111":206,"unknown_78":38912,"ignition":57,"odometer":null,"unknown_45":6240159523058370560}} 
[2026-09-05 11:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":174158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:23:34] local.INFO: GPS data processed {"connection_id":174158,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:23:34] local.INFO: Acknowledgment sent {"connection_id":174158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:23:45] local.INFO: TCP Data received {"connection_id":172853,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:23:45] local.INFO: Processing buffer {"connection_id":172853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:23:45] local.INFO: IMEI packet received {"connection_id":172853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":172853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:23:48] local.INFO: TCP Data received {"connection_id":171460,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171460,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:23:48] local.INFO: Processing buffer {"connection_id":171460,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:23:48] local.INFO: IMEI packet received {"connection_id":171460,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 11:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":171460,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:23:49] local.INFO: TCP Data received {"connection_id":172853,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:23:49] local.INFO: Processing buffer {"connection_id":172853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:23:49] local.INFO: IMEI packet received {"connection_id":172853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":172853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:23:50] local.INFO: TCP Data received {"connection_id":172853,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:23:50] local.INFO: Processing buffer {"connection_id":172853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:23:50] local.INFO: IMEI packet received {"connection_id":172853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":172853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:23:51] local.INFO: TCP Data received {"connection_id":172853,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070201d60012d19c5c0072645200022010128..."} 
[2026-09-05 11:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070201d60012d19c5c0072645200022010128..."} 
[2026-09-05 11:23:51] local.INFO: Processing buffer {"connection_id":172853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070201d60012d19c5c0072645200022010128..."} 
[2026-09-05 11:23:51] local.INFO: Packet analysis {"connection_id":172853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07020"} 
[2026-09-05 11:23:51] local.INFO: Extracted packet for processing {"connection_id":172853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07020"} 
[2026-09-05 11:23:51] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119948576,"longitude_deg":75.6663744,"latitude_deg":11.9948576,"altitude":34,"angle":257,"satellites":40,"speed":35,"hex_longitude":"2d19c5c0","hex_latitude":"07264520","is_valid_coordinates":true} 
[2026-09-05 11:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878411520001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17511238795788288,"note":"Value kept but may cause issues"} 
[2026-09-05 11:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859845939322583040,"note":"Value kept but may cause issues"} 
[2026-09-05 11:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788587548000,"timestamp_ms":1788587548000,"timestamp_seconds":1788587548,"priority":1,"record_length":96,"hex_timestamp":"000001a070201d60"} 
[2026-09-05 11:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:23:51] 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-09-05 11:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-05 11:23:51] 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-09-05 11:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878411520001,"66":13993,"185":206,"83":42752,"24":35,"16":17511238795788288,"45":1859845939322583040},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-09-05 11:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878411520001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:23:51] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-05 11:23:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 11:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17511238795788288,"km_value":17511238795788.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859845939322583040,"description":"Unknown IO ID 45"} 
[2026-09-05 11:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878411520001,"power":13993,"unknown_185":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1859845939322583040}} 
[2026-09-05 11:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":172853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:23:51] local.INFO: GPS data processed {"connection_id":172853,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:23:51] local.INFO: Acknowledgment sent {"connection_id":172853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:23:56] local.INFO: TCP Data received {"connection_id":172853,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070204088012d19a18007263c50002100ff29..."} 
[2026-09-05 11:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070204088012d19a18007263c50002100ff29..."} 
[2026-09-05 11:23:56] local.INFO: Processing buffer {"connection_id":172853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070204088012d19a18007263c50002100ff29..."} 
[2026-09-05 11:23:56] local.INFO: Packet analysis {"connection_id":172853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07020"} 
[2026-09-05 11:23:56] local.INFO: Extracted packet for processing {"connection_id":172853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07020"} 
[2026-09-05 11:23:56] local.INFO: GPS Element Parsed {"raw_longitude":756654464,"raw_latitude":119946320,"longitude_deg":75.6654464,"latitude_deg":11.994632,"altitude":33,"angle":255,"satellites":41,"speed":46,"hex_longitude":"2d19a180","hex_latitude":"07263c50","is_valid_coordinates":true} 
[2026-09-05 11:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878412288001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17511694062321664,"note":"Value kept but may cause issues"} 
[2026-09-05 11:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558299566080,"note":"Value kept but may cause issues"} 
[2026-09-05 11:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788587557000,"timestamp_ms":1788587557000,"timestamp_seconds":1788587557,"priority":1,"record_length":96,"hex_timestamp":"000001a070204088"} 
[2026-09-05 11:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:23:56] 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-09-05 11:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 11:23:56] 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-09-05 11:23:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878412288001,"66":14004,"185":206,"83":42752,"24":46,"16":17511694062321664,"45":1857101558299566080},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-09-05 11:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878412288001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:23:56] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-05 11:23:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 11:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17511694062321664,"km_value":17511694062321.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558299566080,"description":"Unknown IO ID 45"} 
[2026-09-05 11:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878412288001,"power":14004,"unknown_185":206,"unknown_83":42752,"ignition":46,"odometer":null,"unknown_45":1857101558299566080}} 
[2026-09-05 11:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":172853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:23:56] local.INFO: GPS data processed {"connection_id":172853,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:23:56] local.INFO: Acknowledgment sent {"connection_id":172853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:23:56] local.INFO: TCP Data received {"connection_id":171760,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:23:56] local.INFO: Processing buffer {"connection_id":171760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:23:56] local.INFO: IMEI packet received {"connection_id":171760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":171760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:24:02] local.INFO: TCP Data received {"connection_id":171760,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:24:02] local.INFO: Processing buffer {"connection_id":171760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:24:02] local.INFO: IMEI packet received {"connection_id":171760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":171760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:24:02] local.INFO: TCP Data received {"connection_id":171760,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0701fbbb8012d56be8006416350000f00962c..."} 
[2026-09-05 11:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0701fbbb8012d56be8006416350000f00962c..."} 
[2026-09-05 11:24:02] local.INFO: Processing buffer {"connection_id":171760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0701fbbb8012d56be8006416350000f00962c..."} 
[2026-09-05 11:24:02] local.INFO: Packet analysis {"connection_id":171760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0701f"} 
[2026-09-05 11:24:02] local.INFO: Extracted packet for processing {"connection_id":171760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0701f"} 
[2026-09-05 11:24:02] local.INFO: GPS Element Parsed {"raw_longitude":760659584,"raw_latitude":104948560,"longitude_deg":76.0659584,"latitude_deg":10.494856,"altitude":15,"angle":150,"satellites":44,"speed":57,"hex_longitude":"2d56be80","hex_latitude":"06416350","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878404096001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399526499348119552,"note":"Value kept but may cause issues"} 
[2026-09-05 11:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6245155703892627456,"note":"Value kept but may cause issues"} 
[2026-09-05 11:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788587523000,"timestamp_ms":1788587523000,"timestamp_seconds":1788587523,"priority":1,"record_length":96,"hex_timestamp":"000001a0701fbbb8"} 
[2026-09-05 11:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:24: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-09-05 11: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 11:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:24: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-09-05 11:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878404096001,"66":27604,"111":206,"78":38912,"24":57,"16":399526499348119552,"45":6245155703892627456},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,78,24,16,45]} 
[2026-09-05 11:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878404096001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:24:02] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-05 11:24:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-05 11:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399526499348119552,"km_value":399526499348119.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6245155703892627456,"description":"Unknown IO ID 45"} 
[2026-09-05 11:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878404096001,"power":27604,"unknown_111":206,"unknown_78":38912,"ignition":57,"odometer":null,"unknown_45":6245155703892627456}} 
[2026-09-05 11:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":171760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:24:02] local.INFO: GPS data processed {"connection_id":171760,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:24:02] local.INFO: Acknowledgment sent {"connection_id":171760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:24:27] local.INFO: TCP Data received {"connection_id":172853,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070205fc8012d197c4007263140002200f926..."} 
[2026-09-05 11:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070205fc8012d197c4007263140002200f926..."} 
[2026-09-05 11:24:27] local.INFO: Processing buffer {"connection_id":172853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070205fc8012d197c4007263140002200f926..."} 
[2026-09-05 11:24:27] local.INFO: Packet analysis {"connection_id":172853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07020"} 
[2026-09-05 11:24:27] local.INFO: Extracted packet for processing {"connection_id":172853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07020"} 
[2026-09-05 11:24:27] local.INFO: GPS Element Parsed {"raw_longitude":756644928,"raw_latitude":119943488,"longitude_deg":75.6644928,"latitude_deg":11.9943488,"altitude":34,"angle":249,"satellites":38,"speed":50,"hex_longitude":"2d197c40","hex_latitude":"07263140","is_valid_coordinates":true} 
[2026-09-05 11:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878414592001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17512166508724224,"note":"Value kept but may cause issues"} 
[2026-09-05 11:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846898090393227264,"note":"Value kept but may cause issues"} 
[2026-09-05 11:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788587565000,"timestamp_ms":1788587565000,"timestamp_seconds":1788587565,"priority":1,"record_length":96,"hex_timestamp":"000001a070205fc8"} 
[2026-09-05 11:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-05 11:24:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878414592001,"66":13961,"185":206,"83":42752,"24":50,"16":17512166508724224,"45":1846898090393227264},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-09-05 11:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878414592001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:24:27] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-05 11:24:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 11:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17512166508724224,"km_value":17512166508724.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846898090393227264,"description":"Unknown IO ID 45"} 
[2026-09-05 11:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878414592001,"power":13961,"unknown_185":206,"unknown_83":42752,"ignition":50,"odometer":null,"unknown_45":1846898090393227264}} 
[2026-09-05 11:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":172853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:24:27] local.INFO: GPS data processed {"connection_id":172853,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:24:27] local.INFO: Acknowledgment sent {"connection_id":172853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:24:33] local.INFO: TCP Data received {"connection_id":171760,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a070211760012d585380064068680006007f2b..."} 
[2026-09-05 11:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070211760012d585380064068680006007f2b..."} 
[2026-09-05 11:24:33] local.INFO: Processing buffer {"connection_id":171760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070211760012d585380064068680006007f2b..."} 
[2026-09-05 11:24:33] local.INFO: Packet analysis {"connection_id":171760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07021"} 
[2026-09-05 11:24:33] local.INFO: Extracted packet for processing {"connection_id":171760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07021"} 
[2026-09-05 11:24:33] local.INFO: GPS Element Parsed {"raw_longitude":760763264,"raw_latitude":104884328,"longitude_deg":76.0763264,"latitude_deg":10.4884328,"altitude":6,"angle":127,"satellites":43,"speed":47,"hex_longitude":"2d585380","hex_latitude":"06406868","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878426624001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399532465057693696,"note":"Value kept but may cause issues"} 
[2026-09-05 11:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6355212419769075712,"note":"Value kept but may cause issues"} 
[2026-09-05 11:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788587612000,"timestamp_ms":1788587612000,"timestamp_seconds":1788587612,"priority":1,"record_length":96,"hex_timestamp":"000001a070211760"} 
[2026-09-05 11:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:24: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-09-05 11: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 11:24:33] 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-09-05 11: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-09-05 11:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11: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-09-05 11:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878426624001,"66":28006,"11":206,"78":38656,"24":47,"16":399532465057693696,"45":6355212419769075712},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-09-05 11:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878426624001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:24:33] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 11:24:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399532465057693696,"km_value":399532465057693.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6355212419769075712,"description":"Unknown IO ID 45"} 
[2026-09-05 11:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878426624001,"power":28006,"unknown_11":206,"unknown_78":38656,"ignition":47,"odometer":null,"unknown_45":6355212419769075712}} 
[2026-09-05 11:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":171760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:24:33] local.INFO: GPS data processed {"connection_id":171760,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:24:33] local.INFO: Acknowledgment sent {"connection_id":171760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:24:48] local.INFO: TCP Data received {"connection_id":171462,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:24:48] local.INFO: Processing buffer {"connection_id":171462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:24:48] local.INFO: IMEI packet received {"connection_id":171462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":171462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:24:51] local.INFO: TCP Data received {"connection_id":171462,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:24:51] local.INFO: Processing buffer {"connection_id":171462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:24:51] local.INFO: IMEI packet received {"connection_id":171462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":171462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:24:51] local.INFO: TCP Data received {"connection_id":171462,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:24:51] local.INFO: Processing buffer {"connection_id":171462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:24:51] local.INFO: IMEI packet received {"connection_id":171462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":171462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:24:52] local.INFO: TCP Data received {"connection_id":171462,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070215db0012d18a0000725a7f0003100f322..."} 
[2026-09-05 11:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070215db0012d18a0000725a7f0003100f322..."} 
[2026-09-05 11:24:52] local.INFO: Processing buffer {"connection_id":171462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070215db0012d18a0000725a7f0003100f322..."} 
[2026-09-05 11:24:52] local.INFO: Packet analysis {"connection_id":171462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07021"} 
[2026-09-05 11:24:52] local.INFO: Extracted packet for processing {"connection_id":171462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07021"} 
[2026-09-05 11:24:52] local.INFO: GPS Element Parsed {"raw_longitude":756588544,"raw_latitude":119908336,"longitude_deg":75.6588544,"latitude_deg":11.9908336,"altitude":49,"angle":243,"satellites":34,"speed":27,"hex_longitude":"2d18a000","hex_latitude":"0725a7f0","is_valid_coordinates":true} 
[2026-09-05 11:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878433024001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17515430683869184,"note":"Value kept but may cause issues"} 
[2026-09-05 11:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775051602578196480,"note":"Value kept but may cause issues"} 
[2026-09-05 11:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788587630000,"timestamp_ms":1788587630000,"timestamp_seconds":1788587630,"priority":1,"record_length":96,"hex_timestamp":"000001a070215db0"} 
[2026-09-05 11:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:24: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-09-05 11:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 11:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":171462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":171462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":171462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878433024001,"66":14396,"187":206,"83":42752,"24":27,"16":17515430683869184,"45":1775051602578196480},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-09-05 11:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878433024001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:24:52] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-05 11:24:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 11:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17515430683869184,"km_value":17515430683869.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775051602578196480,"description":"Unknown IO ID 45"} 
[2026-09-05 11:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878433024001,"power":14396,"unknown_187":206,"unknown_83":42752,"ignition":27,"odometer":null,"unknown_45":1775051602578196480}} 
[2026-09-05 11:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":171462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:24:52] local.INFO: GPS data processed {"connection_id":171462,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:24:52] local.INFO: Acknowledgment sent {"connection_id":171462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:24:55] local.INFO: TCP Data received {"connection_id":171462,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070216198012d189d400725a7680030010323..."} 
[2026-09-05 11:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070216198012d189d400725a7680030010323..."} 
[2026-09-05 11:24:55] local.INFO: Processing buffer {"connection_id":171462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070216198012d189d400725a7680030010323..."} 
[2026-09-05 11:24:55] local.INFO: Packet analysis {"connection_id":171462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07021"} 
[2026-09-05 11:24:55] local.INFO: Extracted packet for processing {"connection_id":171462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07021"} 
[2026-09-05 11:24:55] local.INFO: GPS Element Parsed {"raw_longitude":756587840,"raw_latitude":119908200,"longitude_deg":75.658784,"latitude_deg":11.99082,"altitude":48,"angle":259,"satellites":35,"speed":25,"hex_longitude":"2d189d40","hex_latitude":"0725a768","is_valid_coordinates":true} 
[2026-09-05 11:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878433280001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17515465043607552,"note":"Value kept but may cause issues"} 
[2026-09-05 11:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774418283880509440,"note":"Value kept but may cause issues"} 
[2026-09-05 11:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788587631000,"timestamp_ms":1788587631000,"timestamp_seconds":1788587631,"priority":1,"record_length":96,"hex_timestamp":"000001a070216198"} 
[2026-09-05 11:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:24:55] 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-09-05 11:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 11:24:55] 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-09-05 11:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878433280001,"66":14396,"187":206,"83":42752,"24":25,"16":17515465043607552,"45":1774418283880509440},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-09-05 11:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878433280001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:24:56] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-05 11:24:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 11:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17515465043607552,"km_value":17515465043607.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774418283880509440,"description":"Unknown IO ID 45"} 
[2026-09-05 11:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878433280001,"power":14396,"unknown_187":206,"unknown_83":42752,"ignition":25,"odometer":null,"unknown_45":1774418283880509440}} 
[2026-09-05 11:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":171462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:24:56] local.INFO: GPS data processed {"connection_id":171462,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:24:56] local.INFO: Acknowledgment sent {"connection_id":171462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:24:59] local.INFO: TCP Data received {"connection_id":174159,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:24:59] local.INFO: Processing buffer {"connection_id":174159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:24:59] local.INFO: IMEI packet received {"connection_id":174159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":174159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:25:11] local.INFO: TCP Data received {"connection_id":174159,"ip":"42.106.6.28","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 11:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174159,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 11:25:11] local.INFO: Processing buffer {"connection_id":174159,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 11:25:11] local.INFO: IMEI packet received {"connection_id":174159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":174159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:25:12] local.INFO: TCP Data received {"connection_id":174159,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0702136a0012d586f4006404f40000700872c..."} 
[2026-09-05 11:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0702136a0012d586f4006404f40000700872c..."} 
[2026-09-05 11:25:12] local.INFO: Processing buffer {"connection_id":174159,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a070..."} 
[2026-09-05 11:25:12] local.INFO: IMEI packet received {"connection_id":174159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":174159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:25:13] local.INFO: TCP Data received {"connection_id":174159,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0702155e0012d5885c0064032a0000700912b..."} 
[2026-09-05 11:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0702155e0012d5885c0064032a0000700912b..."} 
[2026-09-05 11:25:13] local.INFO: Processing buffer {"connection_id":174159,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0702136a0012d586f4006404f40000700872c..."} 
[2026-09-05 11:25:13] local.INFO: Packet analysis {"connection_id":174159,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07021"} 
[2026-09-05 11:25:13] local.INFO: Extracted packet for processing {"connection_id":174159,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07021"} 
[2026-09-05 11:25:13] local.INFO: GPS Element Parsed {"raw_longitude":760770368,"raw_latitude":104877888,"longitude_deg":76.0770368,"latitude_deg":10.4877888,"altitude":7,"angle":135,"satellites":44,"speed":46,"hex_longitude":"2d586f40","hex_latitude":"06404f40","is_valid_coordinates":true} 
[2026-09-05 11:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878428672001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399532924619194368,"note":"Value kept but may cause issues"} 
[2026-09-05 11:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6364571462743386112,"note":"Value kept but may cause issues"} 
[2026-09-05 11:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788587620000,"timestamp_ms":1788587620000,"timestamp_seconds":1788587620,"priority":1,"record_length":96,"hex_timestamp":"000001a0702136a0"} 
[2026-09-05 11:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 11:25:13] 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-09-05 11:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":174159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":174159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":174159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878428672001,"66":27930,"11":206,"78":38656,"24":46,"16":399532924619194368,"45":6364571462743386112},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-09-05 11:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878428672001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:25:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 11:25:13] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399532924619194368,"km_value":399532924619194.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6364571462743386112,"description":"Unknown IO ID 45"} 
[2026-09-05 11:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878428672001,"power":27930,"unknown_11":206,"unknown_78":38656,"ignition":46,"odometer":null,"unknown_45":6364571462743386112}} 
[2026-09-05 11:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":174159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:25:13] local.INFO: GPS data processed {"connection_id":174159,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:25:13] local.INFO: Acknowledgment sent {"connection_id":174159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:25:13] local.INFO: Packet analysis {"connection_id":174159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07021"} 
[2026-09-05 11:25:13] local.INFO: Extracted packet for processing {"connection_id":174159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07021"} 
[2026-09-05 11:25:13] local.INFO: GPS Element Parsed {"raw_longitude":760776128,"raw_latitude":104870560,"longitude_deg":76.0776128,"latitude_deg":10.487056,"altitude":7,"angle":145,"satellites":43,"speed":46,"hex_longitude":"2d5885c0","hex_latitude":"064032a0","is_valid_coordinates":true} 
[2026-09-05 11:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878430720001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399533375590760448,"note":"Value kept but may cause issues"} 
[2026-09-05 11:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6372382393345458176,"note":"Value kept but may cause issues"} 
[2026-09-05 11:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788587628000,"timestamp_ms":1788587628000,"timestamp_seconds":1788587628,"priority":1,"record_length":96,"hex_timestamp":"000001a0702155e0"} 
[2026-09-05 11:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 11:25:13] 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-09-05 11:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":174159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":174159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":174159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878430720001,"66":27930,"11":206,"78":38656,"24":46,"16":399533375590760448,"45":6372382393345458176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-09-05 11:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878430720001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:25:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 11:25:13] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399533375590760448,"km_value":399533375590760.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6372382393345458176,"description":"Unknown IO ID 45"} 
[2026-09-05 11:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878430720001,"power":27930,"unknown_11":206,"unknown_78":38656,"ignition":46,"odometer":null,"unknown_45":6372382393345458176}} 
[2026-09-05 11:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":174159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:25:13] local.INFO: GPS data processed {"connection_id":174159,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:25:13] local.INFO: Acknowledgment sent {"connection_id":174159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:25:14] local.INFO: TCP Data received {"connection_id":174159,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a070217520012d5899c006401298000700942c..."} 
[2026-09-05 11:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070217520012d5899c006401298000700942c..."} 
[2026-09-05 11:25:14] local.INFO: Processing buffer {"connection_id":174159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070217520012d5899c006401298000700942c..."} 
[2026-09-05 11:25:14] local.INFO: Packet analysis {"connection_id":174159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07021"} 
[2026-09-05 11:25:14] local.INFO: Extracted packet for processing {"connection_id":174159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07021"} 
[2026-09-05 11:25:14] local.INFO: GPS Element Parsed {"raw_longitude":760781248,"raw_latitude":104862360,"longitude_deg":76.0781248,"latitude_deg":10.486236,"altitude":7,"angle":148,"satellites":44,"speed":47,"hex_longitude":"2d5899c0","hex_latitude":"06401298","is_valid_coordinates":true} 
[2026-09-05 11:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878432768001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399533839447228416,"note":"Value kept but may cause issues"} 
[2026-09-05 11:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6378715580319571968,"note":"Value kept but may cause issues"} 
[2026-09-05 11:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788587636000,"timestamp_ms":1788587636000,"timestamp_seconds":1788587636,"priority":1,"record_length":96,"hex_timestamp":"000001a070217520"} 
[2026-09-05 11:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:25:14] 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-09-05 11:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 11:25:14] 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-09-05 11:25:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":174159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":174159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":174159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:25:14] 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-09-05 11:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878432768001,"66":27919,"11":206,"78":38656,"24":47,"16":399533839447228416,"45":6378715580319571968},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-09-05 11:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878432768001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:25:14] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 11:25:14] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399533839447228416,"km_value":399533839447228.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":6378715580319571968,"description":"Unknown IO ID 45"} 
[2026-09-05 11:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878432768001,"power":27919,"unknown_11":206,"unknown_78":38656,"ignition":47,"odometer":null,"unknown_45":6378715580319571968}} 
[2026-09-05 11:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":174159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:25:14] local.INFO: GPS data processed {"connection_id":174159,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:25:14] local.INFO: Acknowledgment sent {"connection_id":174159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:25:26] local.INFO: TCP Data received {"connection_id":171462,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0702224e8012d18134007256508002400e425..."} 
[2026-09-05 11:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0702224e8012d18134007256508002400e425..."} 
[2026-09-05 11:25:26] local.INFO: Processing buffer {"connection_id":171462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0702224e8012d18134007256508002400e425..."} 
[2026-09-05 11:25:26] local.INFO: Packet analysis {"connection_id":171462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07022"} 
[2026-09-05 11:25:26] local.INFO: Extracted packet for processing {"connection_id":171462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07022"} 
[2026-09-05 11:25:26] local.INFO: GPS Element Parsed {"raw_longitude":756552512,"raw_latitude":119891208,"longitude_deg":75.6552512,"latitude_deg":11.9891208,"altitude":36,"angle":228,"satellites":37,"speed":44,"hex_longitude":"2d181340","hex_latitude":"07256508","is_valid_coordinates":true} 
[2026-09-05 11:25: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-09-05 11:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878445824001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17517655476928512,"note":"Value kept but may cause issues"} 
[2026-09-05 11:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736489530764773376,"note":"Value kept but may cause issues"} 
[2026-09-05 11:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788587681000,"timestamp_ms":1788587681000,"timestamp_seconds":1788587681,"priority":1,"record_length":96,"hex_timestamp":"000001a0702224e8"} 
[2026-09-05 11:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:25:26] 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-09-05 11:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-05 11:25:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:25: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-09-05 11:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878445824001,"66":14363,"187":206,"83":42752,"24":44,"16":17517655476928512,"45":1736489530764773376},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-09-05 11:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878445824001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:25:26] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-05 11:25:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 11:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17517655476928512,"km_value":17517655476928.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736489530764773376,"description":"Unknown IO ID 45"} 
[2026-09-05 11:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878445824001,"power":14363,"unknown_187":206,"unknown_83":42752,"ignition":44,"odometer":null,"unknown_45":1736489530764773376}} 
[2026-09-05 11:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":171462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:25:27] local.INFO: GPS data processed {"connection_id":171462,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:25:27] local.INFO: Acknowledgment sent {"connection_id":171462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:25:46] local.INFO: TCP Data received {"connection_id":172855,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:25:46] local.INFO: Processing buffer {"connection_id":172855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:25:46] local.INFO: IMEI packet received {"connection_id":172855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":172855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:25:46] local.INFO: TCP Data received {"connection_id":172855,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:25:46] local.INFO: Processing buffer {"connection_id":172855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:25:46] local.INFO: IMEI packet received {"connection_id":172855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":172855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:25:52] local.INFO: TCP Data received {"connection_id":172855,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:25:52] local.INFO: Processing buffer {"connection_id":172855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:25:52] local.INFO: IMEI packet received {"connection_id":172855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":172855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:25:53] local.INFO: TCP Data received {"connection_id":172855,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070222cb8012d180b8007256038002300f226..."} 
[2026-09-05 11:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070222cb8012d180b8007256038002300f226..."} 
[2026-09-05 11:25:53] local.INFO: Processing buffer {"connection_id":172855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070222cb8012d180b8007256038002300f226..."} 
[2026-09-05 11:25:53] local.INFO: Packet analysis {"connection_id":172855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07022"} 
[2026-09-05 11:25:53] local.INFO: Extracted packet for processing {"connection_id":172855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07022"} 
[2026-09-05 11:25:53] local.INFO: GPS Element Parsed {"raw_longitude":756550528,"raw_latitude":119889976,"longitude_deg":75.6550528,"latitude_deg":11.9889976,"altitude":35,"angle":242,"satellites":38,"speed":45,"hex_longitude":"2d180b80","hex_latitude":"07256038","is_valid_coordinates":true} 
[2026-09-05 11:25: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-09-05 11:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878446336001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17517767146078208,"note":"Value kept but may cause issues"} 
[2026-09-05 11:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734800680904099840,"note":"Value kept but may cause issues"} 
[2026-09-05 11:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788587683000,"timestamp_ms":1788587683000,"timestamp_seconds":1788587683,"priority":1,"record_length":96,"hex_timestamp":"000001a070222cb8"} 
[2026-09-05 11:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:25:53] 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-09-05 11:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 11:25:53] 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-09-05 11:25: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-09-05 11:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878446336001,"66":14298,"187":206,"83":42752,"24":45,"16":17517767146078208,"45":1734800680904099840},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-09-05 11:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878446336001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:25:53] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-05 11:25:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 11:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17517767146078208,"km_value":17517767146078.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734800680904099840,"description":"Unknown IO ID 45"} 
[2026-09-05 11:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878446336001,"power":14298,"unknown_187":206,"unknown_83":42752,"ignition":45,"odometer":null,"unknown_45":1734800680904099840}} 
[2026-09-05 11:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":172855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:25:53] local.INFO: GPS data processed {"connection_id":172855,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:25:53] local.INFO: Acknowledgment sent {"connection_id":172855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:25:56] local.INFO: TCP Data received {"connection_id":172855,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070223870012d17fe0007255b20002300fe27..."} 
[2026-09-05 11:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070223870012d17fe0007255b20002300fe27..."} 
[2026-09-05 11:25:56] local.INFO: Processing buffer {"connection_id":172855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070223870012d17fe0007255b20002300fe27..."} 
[2026-09-05 11:25:56] local.INFO: Packet analysis {"connection_id":172855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07022"} 
[2026-09-05 11:25:56] local.INFO: Extracted packet for processing {"connection_id":172855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07022"} 
[2026-09-05 11:25:56] local.INFO: GPS Element Parsed {"raw_longitude":756547072,"raw_latitude":119888672,"longitude_deg":75.6547072,"latitude_deg":11.9888672,"altitude":35,"angle":254,"satellites":39,"speed":48,"hex_longitude":"2d17fe00","hex_latitude":"07255b20","is_valid_coordinates":true} 
[2026-09-05 11:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878446848001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17517943239737344,"note":"Value kept but may cause issues"} 
[2026-09-05 11:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732619249834276864,"note":"Value kept but may cause issues"} 
[2026-09-05 11:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788587686000,"timestamp_ms":1788587686000,"timestamp_seconds":1788587686,"priority":1,"record_length":96,"hex_timestamp":"000001a070223870"} 
[2026-09-05 11:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:25:56] 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-09-05 11:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-05 11:25:56] 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-09-05 11:25:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878446848001,"66":14363,"187":206,"83":42752,"24":48,"16":17517943239737344,"45":1732619249834276864},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-09-05 11:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878446848001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:25:56] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-05 11:25:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 11:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17517943239737344,"km_value":17517943239737.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732619249834276864,"description":"Unknown IO ID 45"} 
[2026-09-05 11:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878446848001,"power":14363,"unknown_187":206,"unknown_83":42752,"ignition":48,"odometer":null,"unknown_45":1732619249834276864}} 
[2026-09-05 11:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":172855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:25:56] local.INFO: GPS data processed {"connection_id":172855,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:25:56] local.INFO: Acknowledgment sent {"connection_id":172855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:25:57] local.INFO: TCP Data received {"connection_id":171761,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:25:57] local.INFO: Processing buffer {"connection_id":171761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:25:57] local.INFO: IMEI packet received {"connection_id":171761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":171761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:26:01] local.INFO: TCP Data received {"connection_id":171761,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:26:01] local.INFO: Processing buffer {"connection_id":171761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:26:01] local.INFO: IMEI packet received {"connection_id":171761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":171761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:26:02] local.INFO: TCP Data received {"connection_id":171761,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a070219460012d58ad80063ff2c0000900952c..."} 
[2026-09-05 11:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070219460012d58ad80063ff2c0000900952c..."} 
[2026-09-05 11:26:02] local.INFO: Processing buffer {"connection_id":171761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070219460012d58ad80063ff2c0000900952c..."} 
[2026-09-05 11:26:02] local.INFO: Packet analysis {"connection_id":171761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07021"} 
[2026-09-05 11:26:02] local.INFO: Extracted packet for processing {"connection_id":171761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07021"} 
[2026-09-05 11:26:02] local.INFO: GPS Element Parsed {"raw_longitude":760786304,"raw_latitude":104854208,"longitude_deg":76.0786304,"latitude_deg":10.4854208,"altitude":9,"angle":149,"satellites":44,"speed":46,"hex_longitude":"2d58ad80","hex_latitude":"063ff2c0","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878434816001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399534303303696384,"note":"Value kept but may cause issues"} 
[2026-09-05 11:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6384345079851685888,"note":"Value kept but may cause issues"} 
[2026-09-05 11:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788587644000,"timestamp_ms":1788587644000,"timestamp_seconds":1788587644,"priority":1,"record_length":96,"hex_timestamp":"000001a070219460"} 
[2026-09-05 11:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 11:26: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-09-05 11: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-09-05 11:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:26: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-09-05 11:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878434816001,"66":27974,"11":206,"78":38656,"24":46,"16":399534303303696384,"45":6384345079851685888},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-09-05 11:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878434816001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:26:02] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 11:26:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399534303303696384,"km_value":399534303303696.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6384345079851685888,"description":"Unknown IO ID 45"} 
[2026-09-05 11:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878434816001,"power":27974,"unknown_11":206,"unknown_78":38656,"ignition":46,"odometer":null,"unknown_45":6384345079851685888}} 
[2026-09-05 11:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":171761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:26:02] local.INFO: GPS data processed {"connection_id":171761,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:26:02] local.INFO: Acknowledgment sent {"connection_id":171761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:26:27] local.INFO: TCP Data received {"connection_id":172855,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070224428012d17ef80072558d80024010a27..."} 
[2026-09-05 11:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070224428012d17ef80072558d80024010a27..."} 
[2026-09-05 11:26:27] local.INFO: Processing buffer {"connection_id":172855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070224428012d17ef80072558d80024010a27..."} 
[2026-09-05 11:26:27] local.INFO: Packet analysis {"connection_id":172855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07022"} 
[2026-09-05 11:26:27] local.INFO: Extracted packet for processing {"connection_id":172855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07022"} 
[2026-09-05 11:26:27] local.INFO: GPS Element Parsed {"raw_longitude":756543360,"raw_latitude":119888088,"longitude_deg":75.654336,"latitude_deg":11.9888088,"altitude":36,"angle":266,"satellites":39,"speed":47,"hex_longitude":"2d17ef80","hex_latitude":"072558d8","is_valid_coordinates":true} 
[2026-09-05 11:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878447616001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17518123628363776,"note":"Value kept but may cause issues"} 
[2026-09-05 11:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1728819337648349184,"note":"Value kept but may cause issues"} 
[2026-09-05 11:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788587689000,"timestamp_ms":1788587689000,"timestamp_seconds":1788587689,"priority":1,"record_length":96,"hex_timestamp":"000001a070224428"} 
[2026-09-05 11:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 11:26:27] 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-09-05 11:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878447616001,"66":14363,"187":206,"83":42752,"24":47,"16":17518123628363776,"45":1728819337648349184},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-09-05 11:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878447616001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:26:27] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-05 11:26:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 11:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17518123628363776,"km_value":17518123628363.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1728819337648349184,"description":"Unknown IO ID 45"} 
[2026-09-05 11:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878447616001,"power":14363,"unknown_187":206,"unknown_83":42752,"ignition":47,"odometer":null,"unknown_45":1728819337648349184}} 
[2026-09-05 11:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":172855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:26:27] local.INFO: GPS data processed {"connection_id":172855,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:26:27] local.INFO: Acknowledgment sent {"connection_id":172855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:26:34] local.INFO: TCP Data received {"connection_id":171761,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07022f7d8012d599880063e6b88000800942d..."} 
[2026-09-05 11:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07022f7d8012d599880063e6b88000800942d..."} 
[2026-09-05 11:26:34] local.INFO: Processing buffer {"connection_id":171761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07022f7d8012d599880063e6b88000800942d..."} 
[2026-09-05 11:26:34] local.INFO: Packet analysis {"connection_id":171761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07022"} 
[2026-09-05 11:26:34] local.INFO: Extracted packet for processing {"connection_id":171761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07022"} 
[2026-09-05 11:26:34] local.INFO: GPS Element Parsed {"raw_longitude":760846464,"raw_latitude":104754056,"longitude_deg":76.0846464,"latitude_deg":10.4754056,"altitude":8,"angle":148,"satellites":45,"speed":54,"hex_longitude":"2d599880","hex_latitude":"063e6b88","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878458368001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399539942595756032,"note":"Value kept but may cause issues"} 
[2026-09-05 11:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6450421330608873472,"note":"Value kept but may cause issues"} 
[2026-09-05 11:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788587735000,"timestamp_ms":1788587735000,"timestamp_seconds":1788587735,"priority":1,"record_length":96,"hex_timestamp":"000001a07022f7d8"} 
[2026-09-05 11:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 11:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:26: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-09-05 11:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878458368001,"66":27995,"13":206,"78":38656,"24":54,"16":399539942595756032,"45":6450421330608873472},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-09-05 11:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878458368001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:26:34] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-05 11:26:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399539942595756032,"km_value":399539942595756.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6450421330608873472,"description":"Unknown IO ID 45"} 
[2026-09-05 11:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878458368001,"power":27995,"unknown_13":206,"unknown_78":38656,"ignition":54,"odometer":null,"unknown_45":6450421330608873472}} 
[2026-09-05 11:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":171761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:26:34] local.INFO: GPS data processed {"connection_id":171761,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:26:34] local.INFO: Acknowledgment sent {"connection_id":171761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:26:45] local.INFO: TCP Data received {"connection_id":174160,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:26:45] local.INFO: Processing buffer {"connection_id":174160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:26:45] local.INFO: IMEI packet received {"connection_id":174160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":174160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:26:46] local.INFO: TCP Data received {"connection_id":174160,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:26:46] local.INFO: Processing buffer {"connection_id":174160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:26:46] local.INFO: IMEI packet received {"connection_id":174160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":174160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:26:49] local.INFO: TCP Data received {"connection_id":174160,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:26:49] local.INFO: Processing buffer {"connection_id":174160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:26:49] local.INFO: IMEI packet received {"connection_id":174160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":174160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:26:50] local.INFO: TCP Data received {"connection_id":174160,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070233658012d16e0c007251af00021012124..."} 
[2026-09-05 11:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070233658012d16e0c007251af00021012124..."} 
[2026-09-05 11:26:50] local.INFO: Processing buffer {"connection_id":174160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070233658012d16e0c007251af00021012124..."} 
[2026-09-05 11:26:50] local.INFO: Packet analysis {"connection_id":174160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07023"} 
[2026-09-05 11:26:50] local.INFO: Extracted packet for processing {"connection_id":174160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07023"} 
[2026-09-05 11:26:50] local.INFO: GPS Element Parsed {"raw_longitude":756474048,"raw_latitude":119872240,"longitude_deg":75.6474048,"latitude_deg":11.987224,"altitude":33,"angle":289,"satellites":36,"speed":44,"hex_longitude":"2d16e0c0","hex_latitude":"07251af0","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878462208001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17521606846840832,"note":"Value kept but may cause issues"} 
[2026-09-05 11:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1658309855977582592,"note":"Value kept but may cause issues"} 
[2026-09-05 11:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788587751000,"timestamp_ms":1788587751000,"timestamp_seconds":1788587751,"priority":1,"record_length":96,"hex_timestamp":"000001a070233658"} 
[2026-09-05 11:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-05 11:26:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878462208001,"66":14298,"135":206,"83":42752,"24":44,"16":17521606846840832,"45":1658309855977582592},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-09-05 11:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878462208001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:26:50] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-05 11:26:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 11:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17521606846840832,"km_value":17521606846840.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1658309855977582592,"description":"Unknown IO ID 45"} 
[2026-09-05 11:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878462208001,"power":14298,"unknown_135":206,"unknown_83":42752,"ignition":44,"odometer":null,"unknown_45":1658309855977582592}} 
[2026-09-05 11:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":174160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:26:50] local.INFO: GPS data processed {"connection_id":174160,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:26:50] local.INFO: Acknowledgment sent {"connection_id":174160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:26:50] local.INFO: TCP Data received {"connection_id":174160,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070233658012d16e0c007251af00021012124..."} 
[2026-09-05 11:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070233658012d16e0c007251af00021012124..."} 
[2026-09-05 11:26:50] local.INFO: Processing buffer {"connection_id":174160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070233658012d16e0c007251af00021012124..."} 
[2026-09-05 11:26:50] local.INFO: Packet analysis {"connection_id":174160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07023"} 
[2026-09-05 11:26:50] local.INFO: Extracted packet for processing {"connection_id":174160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07023"} 
[2026-09-05 11:26:50] local.INFO: GPS Element Parsed {"raw_longitude":756474048,"raw_latitude":119872240,"longitude_deg":75.6474048,"latitude_deg":11.987224,"altitude":33,"angle":289,"satellites":36,"speed":44,"hex_longitude":"2d16e0c0","hex_latitude":"07251af0","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878464256001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17521606846840832,"note":"Value kept but may cause issues"} 
[2026-09-05 11:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1648528600537427968,"note":"Value kept but may cause issues"} 
[2026-09-05 11:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788587751000,"timestamp_ms":1788587751000,"timestamp_seconds":1788587751,"priority":1,"record_length":96,"hex_timestamp":"000001a070233658"} 
[2026-09-05 11:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-05 11:26:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878464256001,"66":14298,"135":206,"83":42752,"24":44,"16":17521606846840832,"45":1648528600537427968},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-09-05 11:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878464256001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:26:50] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-05 11:26:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 11:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17521606846840832,"km_value":17521606846840.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1648528600537427968,"description":"Unknown IO ID 45"} 
[2026-09-05 11:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878464256001,"power":14298,"unknown_135":206,"unknown_83":42752,"ignition":44,"odometer":null,"unknown_45":1648528600537427968}} 
[2026-09-05 11:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":174160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:26:50] local.INFO: GPS data processed {"connection_id":174160,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:26:50] local.INFO: Acknowledgment sent {"connection_id":174160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:26:55] local.INFO: TCP Data received {"connection_id":171463,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:26:55] local.INFO: Processing buffer {"connection_id":171463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:26:55] local.INFO: IMEI packet received {"connection_id":171463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":171463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:26:56] local.INFO: TCP Data received {"connection_id":171463,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:26:56] local.INFO: Processing buffer {"connection_id":171463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:26:56] local.INFO: IMEI packet received {"connection_id":171463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":171463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:27:01] local.INFO: TCP Data received {"connection_id":171463,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:27:01] local.INFO: Processing buffer {"connection_id":171463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:27:01] local.INFO: IMEI packet received {"connection_id":171463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":171463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:27:03] local.INFO: TCP Data received {"connection_id":171463,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a070231330012d59acc0063e4c68000700922c..."} 
[2026-09-05 11:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070231330012d59acc0063e4c68000700922c..."} 
[2026-09-05 11:27:03] local.INFO: Processing buffer {"connection_id":171463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070231330012d59acc0063e4c68000700922c..."} 
[2026-09-05 11:27:03] local.INFO: Packet analysis {"connection_id":171463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07023"} 
[2026-09-05 11:27:03] local.INFO: Extracted packet for processing {"connection_id":171463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07023"} 
[2026-09-05 11:27:03] local.INFO: GPS Element Parsed {"raw_longitude":760851648,"raw_latitude":104746088,"longitude_deg":76.0851648,"latitude_deg":10.4746088,"altitude":7,"angle":146,"satellites":44,"speed":54,"hex_longitude":"2d59acc0","hex_latitude":"063e4c68","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878460160001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399540402157256704,"note":"Value kept but may cause issues"} 
[2026-09-05 11:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6456050830140999680,"note":"Value kept but may cause issues"} 
[2026-09-05 11:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788587742000,"timestamp_ms":1788587742000,"timestamp_seconds":1788587742,"priority":1,"record_length":96,"hex_timestamp":"000001a070231330"} 
[2026-09-05 11:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:27: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-09-05 11: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 11:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:27: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-09-05 11:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878460160001,"66":27800,"13":206,"78":38656,"24":54,"16":399540402157256704,"45":6456050830140999680},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-09-05 11:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878460160001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:27:03] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-05 11:27:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399540402157256704,"km_value":399540402157256.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6456050830140999680,"description":"Unknown IO ID 45"} 
[2026-09-05 11:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878460160001,"power":27800,"unknown_13":206,"unknown_78":38656,"ignition":54,"odometer":null,"unknown_45":6456050830140999680}} 
[2026-09-05 11:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":171463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:27:03] local.INFO: GPS data processed {"connection_id":171463,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:27:03] local.INFO: Acknowledgment sent {"connection_id":171463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:27:21] local.INFO: TCP Data received {"connection_id":174160,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070234210012d16d500072520c80022012d22..."} 
[2026-09-05 11:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070234210012d16d500072520c80022012d22..."} 
[2026-09-05 11:27:21] local.INFO: Processing buffer {"connection_id":174160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070234210012d16d500072520c80022012d22..."} 
[2026-09-05 11:27:21] local.INFO: Packet analysis {"connection_id":174160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07023"} 
[2026-09-05 11:27:21] local.INFO: Extracted packet for processing {"connection_id":174160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07023"} 
[2026-09-05 11:27:21] local.INFO: GPS Element Parsed {"raw_longitude":756471040,"raw_latitude":119873736,"longitude_deg":75.647104,"latitude_deg":11.9873736,"altitude":34,"angle":301,"satellites":34,"speed":43,"hex_longitude":"2d16d500","hex_latitude":"072520c8","is_valid_coordinates":true} 
[2026-09-05 11:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878464256001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17521765760630784,"note":"Value kept but may cause issues"} 
[2026-09-05 11:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1648528600537427968,"note":"Value kept but may cause issues"} 
[2026-09-05 11:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788587754000,"timestamp_ms":1788587754000,"timestamp_seconds":1788587754,"priority":1,"record_length":96,"hex_timestamp":"000001a070234210"} 
[2026-09-05 11:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:27:21] 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-09-05 11:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-05 11:27:21] 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-09-05 11:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878464256001,"66":14374,"135":206,"83":42752,"24":43,"16":17521765760630784,"45":1648528600537427968},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-09-05 11:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878464256001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:27:21] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-05 11:27:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 11:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17521765760630784,"km_value":17521765760630.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1648528600537427968,"description":"Unknown IO ID 45"} 
[2026-09-05 11:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878464256001,"power":14374,"unknown_135":206,"unknown_83":42752,"ignition":43,"odometer":null,"unknown_45":1648528600537427968}} 
[2026-09-05 11:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":174160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:27:22] local.INFO: GPS data processed {"connection_id":174160,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:27:22] local.INFO: Acknowledgment sent {"connection_id":174160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:27:36] local.INFO: TCP Data received {"connection_id":171463,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a070232e88012d59c1c0063e2e60000700912c..."} 
[2026-09-05 11:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070232e88012d59c1c0063e2e60000700912c..."} 
[2026-09-05 11:27:36] local.INFO: Processing buffer {"connection_id":171463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070232e88012d59c1c0063e2e60000700912c..."} 
[2026-09-05 11:27:36] local.INFO: Packet analysis {"connection_id":171463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07023"} 
[2026-09-05 11:27:36] local.INFO: Extracted packet for processing {"connection_id":171463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07023"} 
[2026-09-05 11:27:36] local.INFO: GPS Element Parsed {"raw_longitude":760857024,"raw_latitude":104738400,"longitude_deg":76.0857024,"latitude_deg":10.47384,"altitude":7,"angle":145,"satellites":44,"speed":52,"hex_longitude":"2d59c1c0","hex_latitude":"063e2e60","is_valid_coordinates":true} 
[2026-09-05 11:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878461952001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399540853128822784,"note":"Value kept but may cause issues"} 
[2026-09-05 11:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6461750698417350656,"note":"Value kept but may cause issues"} 
[2026-09-05 11:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788587749000,"timestamp_ms":1788587749000,"timestamp_seconds":1788587749,"priority":1,"record_length":96,"hex_timestamp":"000001a070232e88"} 
[2026-09-05 11:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 11:27: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-09-05 11:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:27: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-09-05 11:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878461952001,"66":28006,"13":206,"78":38656,"24":52,"16":399540853128822784,"45":6461750698417350656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-09-05 11:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878461952001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:27:36] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-05 11:27:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399540853128822784,"km_value":399540853128822.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6461750698417350656,"description":"Unknown IO ID 45"} 
[2026-09-05 11:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878461952001,"power":28006,"unknown_13":206,"unknown_78":38656,"ignition":52,"odometer":null,"unknown_45":6461750698417350656}} 
[2026-09-05 11:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":171463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:27:36] local.INFO: GPS data processed {"connection_id":171463,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:27:36] local.INFO: Acknowledgment sent {"connection_id":171463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:27:55] local.INFO: TCP Data received {"connection_id":171464,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:27:55] local.INFO: Processing buffer {"connection_id":171464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:27:55] local.INFO: IMEI packet received {"connection_id":171464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":171464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:27:56] local.INFO: TCP Data received {"connection_id":171465,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:27:56] local.INFO: Processing buffer {"connection_id":171465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:27:56] local.INFO: IMEI packet received {"connection_id":171465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":171465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:27:58] local.INFO: TCP Data received {"connection_id":171464,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:27:58] local.INFO: Processing buffer {"connection_id":171464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:27:58] local.INFO: IMEI packet received {"connection_id":171464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":171464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:27:59] local.INFO: TCP Data received {"connection_id":171464,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0702424a0012d1663800725eaf0001f013828..."} 
[2026-09-05 11:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0702424a0012d1663800725eaf0001f013828..."} 
[2026-09-05 11:27:59] local.INFO: Processing buffer {"connection_id":171464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0702424a0012d1663800725eaf0001f013828..."} 
[2026-09-05 11:27:59] local.INFO: Packet analysis {"connection_id":171464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07024"} 
[2026-09-05 11:27:59] local.INFO: Extracted packet for processing {"connection_id":171464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07024"} 
[2026-09-05 11:27:59] local.INFO: GPS Element Parsed {"raw_longitude":756441984,"raw_latitude":119925488,"longitude_deg":75.6441984,"latitude_deg":11.9925488,"altitude":31,"angle":312,"satellites":40,"speed":42,"hex_longitude":"2d166380","hex_latitude":"0725eaf0","is_valid_coordinates":true} 
[2026-09-05 11:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878477824001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17524785122639872,"note":"Value kept but may cause issues"} 
[2026-09-05 11:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1619888521669097472,"note":"Value kept but may cause issues"} 
[2026-09-05 11:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788587812000,"timestamp_ms":1788587812000,"timestamp_seconds":1788587812,"priority":1,"record_length":96,"hex_timestamp":"000001a0702424a0"} 
[2026-09-05 11:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:27:59] 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-09-05 11:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-05 11:27:59] 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-09-05 11:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878477824001,"66":14428,"135":206,"83":42752,"24":42,"16":17524785122639872,"45":1619888521669097472},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-09-05 11:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878477824001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:27:59] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-05 11:27:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 11:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17524785122639872,"km_value":17524785122639.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1619888521669097472,"description":"Unknown IO ID 45"} 
[2026-09-05 11:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878477824001,"power":14428,"unknown_135":206,"unknown_83":42752,"ignition":42,"odometer":null,"unknown_45":1619888521669097472}} 
[2026-09-05 11:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":171464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:27:59] local.INFO: GPS data processed {"connection_id":171464,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:27:59] local.INFO: Acknowledgment sent {"connection_id":171464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:28:01] local.INFO: TCP Data received {"connection_id":171465,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:28:01] local.INFO: Processing buffer {"connection_id":171465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:28:01] local.INFO: IMEI packet received {"connection_id":171465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":171465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:28:03] local.INFO: TCP Data received {"connection_id":171465,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a070234dc8012d59d6c0063e0fa0000700912d..."} 
[2026-09-05 11:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070234dc8012d59d6c0063e0fa0000700912d..."} 
[2026-09-05 11:28:03] local.INFO: Processing buffer {"connection_id":171465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070234dc8012d59d6c0063e0fa0000700912d..."} 
[2026-09-05 11:28:03] local.INFO: Packet analysis {"connection_id":171465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07023"} 
[2026-09-05 11:28:03] local.INFO: Extracted packet for processing {"connection_id":171465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07023"} 
[2026-09-05 11:28:03] local.INFO: GPS Element Parsed {"raw_longitude":760862400,"raw_latitude":104730528,"longitude_deg":76.08624,"latitude_deg":10.4730528,"altitude":7,"angle":145,"satellites":45,"speed":36,"hex_longitude":"2d59d6c0","hex_latitude":"063e0fa0","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878463744001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399541316985290752,"note":"Value kept but may cause issues"} 
[2026-09-05 11:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6467661672926306304,"note":"Value kept but may cause issues"} 
[2026-09-05 11:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788587757000,"timestamp_ms":1788587757000,"timestamp_seconds":1788587757,"priority":1,"record_length":96,"hex_timestamp":"000001a070234dc8"} 
[2026-09-05 11:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:28: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-09-05 11: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 11:28: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-09-05 11: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-09-05 11:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:28: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-09-05 11:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878463744001,"66":28050,"13":206,"78":38656,"24":36,"16":399541316985290752,"45":6467661672926306304},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-09-05 11:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878463744001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:28:03] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-05 11:28:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399541316985290752,"km_value":399541316985290.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6467661672926306304,"description":"Unknown IO ID 45"} 
[2026-09-05 11:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878463744001,"power":28050,"unknown_13":206,"unknown_78":38656,"ignition":36,"odometer":null,"unknown_45":6467661672926306304}} 
[2026-09-05 11:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":171465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:28:03] local.INFO: GPS data processed {"connection_id":171465,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:28:03] local.INFO: Acknowledgment sent {"connection_id":171465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:28:30] local.INFO: TCP Data received {"connection_id":171464,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070242c70012d165c800725ef70001f012a28..."} 
[2026-09-05 11:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070242c70012d165c800725ef70001f012a28..."} 
[2026-09-05 11:28:30] local.INFO: Processing buffer {"connection_id":171464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070242c70012d165c800725ef70001f012a28..."} 
[2026-09-05 11:28:30] local.INFO: Packet analysis {"connection_id":171464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07024"} 
[2026-09-05 11:28:30] local.INFO: Extracted packet for processing {"connection_id":171464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07024"} 
[2026-09-05 11:28:30] local.INFO: GPS Element Parsed {"raw_longitude":756440192,"raw_latitude":119926640,"longitude_deg":75.6440192,"latitude_deg":11.992664,"altitude":31,"angle":298,"satellites":40,"speed":40,"hex_longitude":"2d165c80","hex_latitude":"0725ef70","is_valid_coordinates":true} 
[2026-09-05 11:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878479872001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17524883906887680,"note":"Value kept but may cause issues"} 
[2026-09-05 11:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1613273859718049792,"note":"Value kept but may cause issues"} 
[2026-09-05 11:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788587814000,"timestamp_ms":1788587814000,"timestamp_seconds":1788587814,"priority":1,"record_length":96,"hex_timestamp":"000001a070242c70"} 
[2026-09-05 11:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:28:30] 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-09-05 11:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 11:28:30] 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-09-05 11:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":171464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":171464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":171464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878479872001,"66":14428,"135":206,"83":42752,"24":40,"16":17524883906887680,"45":1613273859718049792},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-09-05 11:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878479872001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:28:30] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-05 11:28:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 11:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17524883906887680,"km_value":17524883906887.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1613273859718049792,"description":"Unknown IO ID 45"} 
[2026-09-05 11:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878479872001,"power":14428,"unknown_135":206,"unknown_83":42752,"ignition":40,"odometer":null,"unknown_45":1613273859718049792}} 
[2026-09-05 11:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":171464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:28:30] local.INFO: GPS data processed {"connection_id":171464,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:28:30] local.INFO: Acknowledgment sent {"connection_id":171464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:28:36] local.INFO: TCP Data received {"connection_id":171465,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0702374d8012d59ea40063def98000700952d..."} 
[2026-09-05 11:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0702374d8012d59ea40063def98000700952d..."} 
[2026-09-05 11:28:36] local.INFO: Processing buffer {"connection_id":171465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0702374d8012d59ea40063def98000700952d..."} 
[2026-09-05 11:28:36] local.INFO: Packet analysis {"connection_id":171465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07023"} 
[2026-09-05 11:28:36] local.INFO: Extracted packet for processing {"connection_id":171465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07023"} 
[2026-09-05 11:28:36] local.INFO: GPS Element Parsed {"raw_longitude":760867392,"raw_latitude":104722328,"longitude_deg":76.0867392,"latitude_deg":10.4722328,"altitude":7,"angle":149,"satellites":45,"speed":41,"hex_longitude":"2d59ea40","hex_latitude":"063def98","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878465792001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399541776546791424,"note":"Value kept but may cause issues"} 
[2026-09-05 11:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6473572647435214848,"note":"Value kept but may cause issues"} 
[2026-09-05 11:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788587767000,"timestamp_ms":1788587767000,"timestamp_seconds":1788587767,"priority":1,"record_length":96,"hex_timestamp":"000001a0702374d8"} 
[2026-09-05 11:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 11:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:28: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-09-05 11:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878465792001,"66":27876,"13":206,"78":38656,"24":41,"16":399541776546791424,"45":6473572647435214848},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-09-05 11:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878465792001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:28:36] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-05 11:28:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399541776546791424,"km_value":399541776546791.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6473572647435214848,"description":"Unknown IO ID 45"} 
[2026-09-05 11:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878465792001,"power":27876,"unknown_13":206,"unknown_78":38656,"ignition":41,"odometer":null,"unknown_45":6473572647435214848}} 
[2026-09-05 11:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":171465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:28:36] local.INFO: GPS data processed {"connection_id":171465,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:28:36] local.INFO: Acknowledgment sent {"connection_id":171465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:28:50] local.INFO: TCP Data received {"connection_id":171466,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:28:50] local.INFO: Processing buffer {"connection_id":171466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:28:50] local.INFO: IMEI packet received {"connection_id":171466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":171466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:28:55] local.INFO: TCP Data received {"connection_id":171466,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:28:55] local.INFO: Processing buffer {"connection_id":171466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:28:55] local.INFO: IMEI packet received {"connection_id":171466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":171466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:28:56] local.INFO: TCP Data received {"connection_id":171466,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070243440012d1654c00725f1e8001f011f28..."} 
[2026-09-05 11:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070243440012d1654c00725f1e8001f011f28..."} 
[2026-09-05 11:28:56] local.INFO: Processing buffer {"connection_id":171466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070243440012d1654c00725f1e8001f011f28..."} 
[2026-09-05 11:28:56] local.INFO: Packet analysis {"connection_id":171466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07024"} 
[2026-09-05 11:28:56] local.INFO: Extracted packet for processing {"connection_id":171466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07024"} 
[2026-09-05 11:28:56] local.INFO: GPS Element Parsed {"raw_longitude":756438208,"raw_latitude":119927272,"longitude_deg":75.6438208,"latitude_deg":11.9927272,"altitude":31,"angle":287,"satellites":40,"speed":40,"hex_longitude":"2d1654c0","hex_latitude":"0725f1e8","is_valid_coordinates":true} 
[2026-09-05 11:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878480384001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17524982691135488,"note":"Value kept but may cause issues"} 
[2026-09-05 11:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1611303534881370112,"note":"Value kept but may cause issues"} 
[2026-09-05 11:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788587816000,"timestamp_ms":1788587816000,"timestamp_seconds":1788587816,"priority":1,"record_length":96,"hex_timestamp":"000001a070243440"} 
[2026-09-05 11:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:28:56] 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-09-05 11:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 11:28:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878480384001,"66":13928,"135":206,"83":42752,"24":40,"16":17524982691135488,"45":1611303534881370112},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-09-05 11:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878480384001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:28:56] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-05 11:28:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 11:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17524982691135488,"km_value":17524982691135.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1611303534881370112,"description":"Unknown IO ID 45"} 
[2026-09-05 11:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878480384001,"power":13928,"unknown_135":206,"unknown_83":42752,"ignition":40,"odometer":null,"unknown_45":1611303534881370112}} 
[2026-09-05 11:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":171466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:28:56] local.INFO: GPS data processed {"connection_id":171466,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:28:56] local.INFO: Acknowledgment sent {"connection_id":171466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:28:57] local.INFO: TCP Data received {"connection_id":171467,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171467,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:28:57] local.INFO: Processing buffer {"connection_id":171467,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:28:57] local.INFO: IMEI packet received {"connection_id":171467,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 11:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":171467,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:29:01] local.INFO: TCP Data received {"connection_id":172858,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:29:01] local.INFO: Processing buffer {"connection_id":172858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:29:01] local.INFO: IMEI packet received {"connection_id":172858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":172858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:29:03] local.INFO: TCP Data received {"connection_id":172858,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:29:03] local.INFO: Processing buffer {"connection_id":172858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:29:03] local.INFO: IMEI packet received {"connection_id":172858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":172858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:29:07] local.INFO: TCP Data received {"connection_id":172858,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:29:07] local.INFO: Processing buffer {"connection_id":172858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:29:07] local.INFO: IMEI packet received {"connection_id":172858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":172858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:29:07] local.INFO: TCP Data received {"connection_id":172858,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a070239be8012d59fc80063dce98000700982a..."} 
[2026-09-05 11:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070239be8012d59fc80063dce98000700982a..."} 
[2026-09-05 11:29:07] local.INFO: Processing buffer {"connection_id":172858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070239be8012d59fc80063dce98000700982a..."} 
[2026-09-05 11:29:07] local.INFO: Packet analysis {"connection_id":172858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07023"} 
[2026-09-05 11:29:07] local.INFO: Extracted packet for processing {"connection_id":172858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07023"} 
[2026-09-05 11:29:07] local.INFO: GPS Element Parsed {"raw_longitude":760872064,"raw_latitude":104713880,"longitude_deg":76.0872064,"latitude_deg":10.471388,"altitude":7,"angle":152,"satellites":42,"speed":33,"hex_longitude":"2d59fc80","hex_latitude":"063dce98","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878468352001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399542244698226688,"note":"Value kept but may cause issues"} 
[2026-09-05 11:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6479061409478973440,"note":"Value kept but may cause issues"} 
[2026-09-05 11:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788587777000,"timestamp_ms":1788587777000,"timestamp_seconds":1788587777,"priority":1,"record_length":96,"hex_timestamp":"000001a070239be8"} 
[2026-09-05 11:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:29:07] 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-09-05 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 11:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878468352001,"66":27745,"13":206,"78":38656,"24":33,"16":399542244698226688,"45":6479061409478973440},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-09-05 11:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878468352001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:29:07] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-05 11:29:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399542244698226688,"km_value":399542244698226.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6479061409478973440,"description":"Unknown IO ID 45"} 
[2026-09-05 11:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878468352001,"power":27745,"unknown_13":206,"unknown_78":38656,"ignition":33,"odometer":null,"unknown_45":6479061409478973440}} 
[2026-09-05 11:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":172858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:29:07] local.INFO: GPS data processed {"connection_id":172858,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:29:07] local.INFO: Acknowledgment sent {"connection_id":172858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:29:11] local.INFO: TCP Data received {"connection_id":172858,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07023e620012d5a0c00063dafa80007009e2e..."} 
[2026-09-05 11:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07023e620012d5a0c00063dafa80007009e2e..."} 
[2026-09-05 11:29:11] local.INFO: Processing buffer {"connection_id":172858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07023e620012d5a0c00063dafa80007009e2e..."} 
[2026-09-05 11:29:11] local.INFO: Packet analysis {"connection_id":172858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07023"} 
[2026-09-05 11:29:11] local.INFO: Extracted packet for processing {"connection_id":172858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07023"} 
[2026-09-05 11:29:11] local.INFO: GPS Element Parsed {"raw_longitude":760876032,"raw_latitude":104705960,"longitude_deg":76.0876032,"latitude_deg":10.470596,"altitude":7,"angle":158,"satellites":46,"speed":5,"hex_longitude":"2d5a0c00","hex_latitude":"063dafa8","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878470912001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399542674194956288,"note":"Value kept but may cause issues"} 
[2026-09-05 11:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6484198327801780224,"note":"Value kept but may cause issues"} 
[2026-09-05 11:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788587796000,"timestamp_ms":1788587796000,"timestamp_seconds":1788587796,"priority":1,"record_length":96,"hex_timestamp":"000001a07023e620"} 
[2026-09-05 11:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:29: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-09-05 11: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 11:29:11] 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-09-05 11: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-09-05 11:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":172858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":172858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":172858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:29:11] 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-09-05 11:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878470912001,"66":27865,"161":206,"78":38656,"24":5,"16":399542674194956288,"45":6484198327801780224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,78,24,16,45]} 
[2026-09-05 11:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878470912001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:29:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-05 11:29:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399542674194956288,"km_value":399542674194956.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6484198327801780224,"description":"Unknown IO ID 45"} 
[2026-09-05 11:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878470912001,"power":27865,"unknown_161":206,"unknown_78":38656,"ignition":5,"odometer":null,"unknown_45":6484198327801780224}} 
[2026-09-05 11:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":172858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:29:11] local.INFO: GPS data processed {"connection_id":172858,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:29:11] local.INFO: Acknowledgment sent {"connection_id":172858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:29:27] local.INFO: TCP Data received {"connection_id":171466,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07025ab40012d14f50007268b780026010c25..."} 
[2026-09-05 11:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07025ab40012d14f50007268b780026010c25..."} 
[2026-09-05 11:29:27] local.INFO: Processing buffer {"connection_id":171466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07025ab40012d14f50007268b780026010c25..."} 
[2026-09-05 11:29:27] local.INFO: Packet analysis {"connection_id":171466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07025"} 
[2026-09-05 11:29:27] local.INFO: Extracted packet for processing {"connection_id":171466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07025"} 
[2026-09-05 11:29:27] local.INFO: GPS Element Parsed {"raw_longitude":756348160,"raw_latitude":119966584,"longitude_deg":75.634816,"latitude_deg":11.9966584,"altitude":38,"angle":268,"satellites":37,"speed":41,"hex_longitude":"2d14f500","hex_latitude":"07268b78","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878503680001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17529771579670528,"note":"Value kept but may cause issues"} 
[2026-09-05 11:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1518064948855941120,"note":"Value kept but may cause issues"} 
[2026-09-05 11:29:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788587912000,"timestamp_ms":1788587912000,"timestamp_seconds":1788587912,"priority":1,"record_length":96,"hex_timestamp":"000001a07025ab40"} 
[2026-09-05 11:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:29:27] 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-09-05 11:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 11:29:27] 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-09-05 11:29:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878503680001,"66":14070,"52":206,"83":42752,"24":41,"16":17529771579670528,"45":1518064948855941120},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,45]} 
[2026-09-05 11:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878503680001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:29:27] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-09-05 11:29:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 11:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17529771579670528,"km_value":17529771579670.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1518064948855941120,"description":"Unknown IO ID 45"} 
[2026-09-05 11:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878503680001,"power":14070,"unknown_52":206,"unknown_83":42752,"ignition":41,"odometer":null,"unknown_45":1518064948855941120}} 
[2026-09-05 11:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":171466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:29:28] local.INFO: GPS data processed {"connection_id":171466,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:29:28] local.INFO: Acknowledgment sent {"connection_id":171466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:29:45] local.INFO: TCP Data received {"connection_id":174161,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:29:45] local.INFO: Processing buffer {"connection_id":174161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:29:45] local.INFO: IMEI packet received {"connection_id":174161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":174161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:29:46] local.INFO: TCP Data received {"connection_id":174161,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:29:46] local.INFO: Processing buffer {"connection_id":174161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:29:46] local.INFO: IMEI packet received {"connection_id":174161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":174161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:29:50] local.INFO: TCP Data received {"connection_id":174161,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:29:50] local.INFO: Processing buffer {"connection_id":174161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:29:50] local.INFO: IMEI packet received {"connection_id":174161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":174161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:29:51] local.INFO: TCP Data received {"connection_id":174161,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07025b6f8012d14e900072689980026010024..."} 
[2026-09-05 11:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07025b6f8012d14e900072689980026010024..."} 
[2026-09-05 11:29:51] local.INFO: Processing buffer {"connection_id":174161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07025b6f8012d14e900072689980026010024..."} 
[2026-09-05 11:29:51] local.INFO: Packet analysis {"connection_id":174161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07025"} 
[2026-09-05 11:29:51] local.INFO: Extracted packet for processing {"connection_id":174161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07025"} 
[2026-09-05 11:29:51] local.INFO: GPS Element Parsed {"raw_longitude":756345088,"raw_latitude":119966104,"longitude_deg":75.6345088,"latitude_deg":11.9966104,"altitude":38,"angle":256,"satellites":36,"speed":42,"hex_longitude":"2d14e900","hex_latitude":"07268998","is_valid_coordinates":true} 
[2026-09-05 11:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878505472001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17529921903525888,"note":"Value kept but may cause issues"} 
[2026-09-05 11:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1510113280764114944,"note":"Value kept but may cause issues"} 
[2026-09-05 11:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788587915000,"timestamp_ms":1788587915000,"timestamp_seconds":1788587915,"priority":1,"record_length":96,"hex_timestamp":"000001a07025b6f8"} 
[2026-09-05 11:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:29:51] 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-09-05 11:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-05 11:29:51] 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-09-05 11:29:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878505472001,"66":14004,"52":206,"83":42752,"24":42,"16":17529921903525888,"45":1510113280764114944},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,45]} 
[2026-09-05 11:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878505472001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:29:51] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-09-05 11:29:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 11:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17529921903525888,"km_value":17529921903525.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1510113280764114944,"description":"Unknown IO ID 45"} 
[2026-09-05 11:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878505472001,"power":14004,"unknown_52":206,"unknown_83":42752,"ignition":42,"odometer":null,"unknown_45":1510113280764114944}} 
[2026-09-05 11:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":174161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:29:51] local.INFO: GPS data processed {"connection_id":174161,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:29:51] local.INFO: Acknowledgment sent {"connection_id":174161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:29:57] local.INFO: TCP Data received {"connection_id":172859,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:29:57] local.INFO: Processing buffer {"connection_id":172859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:29:57] local.INFO: IMEI packet received {"connection_id":172859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":172859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:30:02] local.INFO: TCP Data received {"connection_id":172859,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:30:02] local.INFO: Processing buffer {"connection_id":172859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:30:02] local.INFO: IMEI packet received {"connection_id":172859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":172859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:30:02] local.INFO: TCP Data received {"connection_id":172859,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07025e1f0012d5aa140063bfdf8000700a02e..."} 
[2026-09-05 11:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07025e1f0012d5aa140063bfdf8000700a02e..."} 
[2026-09-05 11:30:02] local.INFO: Processing buffer {"connection_id":172859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07025e1f0012d5aa140063bfdf8000700a02e..."} 
[2026-09-05 11:30:02] local.INFO: Packet analysis {"connection_id":172859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07025"} 
[2026-09-05 11:30:02] local.INFO: Extracted packet for processing {"connection_id":172859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07025"} 
[2026-09-05 11:30:02] local.INFO: GPS Element Parsed {"raw_longitude":760914240,"raw_latitude":104594936,"longitude_deg":76.091424,"latitude_deg":10.4594936,"altitude":7,"angle":160,"satellites":46,"speed":52,"hex_longitude":"2d5aa140","hex_latitude":"063bfdf8","is_valid_coordinates":true} 
[2026-09-05 11:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878507264001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399548369321590784,"note":"Value kept but may cause issues"} 
[2026-09-05 11:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6527123261721991168,"note":"Value kept but may cause issues"} 
[2026-09-05 11:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788587926000,"timestamp_ms":1788587926000,"timestamp_seconds":1788587926,"priority":1,"record_length":96,"hex_timestamp":"000001a07025e1f0"} 
[2026-09-05 11:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-05 11:30:02] 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-09-05 11:30:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:30: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-09-05 11:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878507264001,"66":27974,"23":206,"78":38656,"24":52,"16":399548369321590784,"45":6527123261721991168},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,78,24,16,45]} 
[2026-09-05 11:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878507264001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:30:02] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-05 11:30:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399548369321590784,"km_value":399548369321590.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6527123261721991168,"description":"Unknown IO ID 45"} 
[2026-09-05 11:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878507264001,"power":27974,"unknown_23":206,"unknown_78":38656,"ignition":52,"odometer":null,"unknown_45":6527123261721991168}} 
[2026-09-05 11:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":172859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:30:02] local.INFO: GPS data processed {"connection_id":172859,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:30:02] local.INFO: Acknowledgment sent {"connection_id":172859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:30:22] local.INFO: TCP Data received {"connection_id":174161,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07026ad10012d13dbc00726b9100022011427..."} 
[2026-09-05 11:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07026ad10012d13dbc00726b9100022011427..."} 
[2026-09-05 11:30:22] local.INFO: Processing buffer {"connection_id":174161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07026ad10012d13dbc00726b9100022011427..."} 
[2026-09-05 11:30:22] local.INFO: Packet analysis {"connection_id":174161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07026"} 
[2026-09-05 11:30:22] local.INFO: Extracted packet for processing {"connection_id":174161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07026"} 
[2026-09-05 11:30:22] local.INFO: GPS Element Parsed {"raw_longitude":756276160,"raw_latitude":119978256,"longitude_deg":75.627616,"latitude_deg":11.9978256,"altitude":34,"angle":276,"satellites":39,"speed":25,"hex_longitude":"2d13dbc0","hex_latitude":"0726b910","is_valid_coordinates":true} 
[2026-09-05 11:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878521856001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17533469546512384,"note":"Value kept but may cause issues"} 
[2026-09-05 11:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1432566924683249664,"note":"Value kept but may cause issues"} 
[2026-09-05 11:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788587978000,"timestamp_ms":1788587978000,"timestamp_seconds":1788587978,"priority":1,"record_length":96,"hex_timestamp":"000001a07026ad10"} 
[2026-09-05 11:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:30:22] 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-09-05 11:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 11:30:22] 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-09-05 11:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878521856001,"66":14396,"52":206,"83":42752,"24":25,"16":17533469546512384,"45":1432566924683249664},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,45]} 
[2026-09-05 11:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878521856001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:30:22] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-09-05 11:30:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 11:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17533469546512384,"km_value":17533469546512.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1432566924683249664,"description":"Unknown IO ID 45"} 
[2026-09-05 11:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878521856001,"power":14396,"unknown_52":206,"unknown_83":42752,"ignition":25,"odometer":null,"unknown_45":1432566924683249664}} 
[2026-09-05 11:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":174161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:30:22] local.INFO: GPS data processed {"connection_id":174161,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:30:22] local.INFO: Acknowledgment sent {"connection_id":174161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:30:33] local.INFO: TCP Data received {"connection_id":172859,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a070260130012d5aad80063bd978000a00a12d..."} 
[2026-09-05 11:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070260130012d5aad80063bd978000a00a12d..."} 
[2026-09-05 11:30:33] local.INFO: Processing buffer {"connection_id":172859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070260130012d5aad80063bd978000a00a12d..."} 
[2026-09-05 11:30:33] local.INFO: Packet analysis {"connection_id":172859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07026"} 
[2026-09-05 11:30:33] local.INFO: Extracted packet for processing {"connection_id":172859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07026"} 
[2026-09-05 11:30:33] local.INFO: GPS Element Parsed {"raw_longitude":760917376,"raw_latitude":104585592,"longitude_deg":76.0917376,"latitude_deg":10.4585592,"altitude":10,"angle":161,"satellites":45,"speed":46,"hex_longitude":"2d5aad80","hex_latitude":"063bd978","is_valid_coordinates":true} 
[2026-09-05 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-09-05 11:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878509056001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399548846062960640,"note":"Value kept but may cause issues"} 
[2026-09-05 11:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6530571330184411136,"note":"Value kept but may cause issues"} 
[2026-09-05 11:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788587934000,"timestamp_ms":1788587934000,"timestamp_seconds":1788587934,"priority":1,"record_length":96,"hex_timestamp":"000001a070260130"} 
[2026-09-05 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-09-05 11:30: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-09-05 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 11:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 11:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:30: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-09-05 11:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878509056001,"66":27865,"23":206,"78":38656,"24":46,"16":399548846062960640,"45":6530571330184411136},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,78,24,16,45]} 
[2026-09-05 11:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878509056001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:30:33] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-05 11:30:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399548846062960640,"km_value":399548846062960.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6530571330184411136,"description":"Unknown IO ID 45"} 
[2026-09-05 11:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878509056001,"power":27865,"unknown_23":206,"unknown_78":38656,"ignition":46,"odometer":null,"unknown_45":6530571330184411136}} 
[2026-09-05 11:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":172859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:30:33] local.INFO: GPS data processed {"connection_id":172859,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:30:33] local.INFO: Acknowledgment sent {"connection_id":172859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:30:45] local.INFO: TCP Data received {"connection_id":172860,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:30:45] local.INFO: Processing buffer {"connection_id":172860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:30:45] local.INFO: IMEI packet received {"connection_id":172860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":172860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:30:46] local.INFO: TCP Data received {"connection_id":172860,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:30:46] local.INFO: Processing buffer {"connection_id":172860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:30:46] local.INFO: IMEI packet received {"connection_id":172860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":172860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:30:52] local.INFO: TCP Data received {"connection_id":172860,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:30:52] local.INFO: Processing buffer {"connection_id":172860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:30:52] local.INFO: IMEI packet received {"connection_id":172860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":172860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:30:52] local.INFO: TCP Data received {"connection_id":172860,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07026b4e0012d13d8000726b8a00021010727..."} 
[2026-09-05 11:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07026b4e0012d13d8000726b8a00021010727..."} 
[2026-09-05 11:30:52] local.INFO: Processing buffer {"connection_id":172860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07026b4e0012d13d8000726b8a00021010727..."} 
[2026-09-05 11:30:52] local.INFO: Packet analysis {"connection_id":172860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07026"} 
[2026-09-05 11:30:52] local.INFO: Extracted packet for processing {"connection_id":172860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07026"} 
[2026-09-05 11:30:52] local.INFO: GPS Element Parsed {"raw_longitude":756275200,"raw_latitude":119978144,"longitude_deg":75.62752,"latitude_deg":11.9978144,"altitude":33,"angle":263,"satellites":39,"speed":21,"hex_longitude":"2d13d800","hex_latitude":"0726b8a0","is_valid_coordinates":true} 
[2026-09-05 11:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878522368001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17533516791152640,"note":"Value kept but may cause issues"} 
[2026-09-05 11:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1430948443567230976,"note":"Value kept but may cause issues"} 
[2026-09-05 11:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788587980000,"timestamp_ms":1788587980000,"timestamp_seconds":1788587980,"priority":1,"record_length":96,"hex_timestamp":"000001a07026b4e0"} 
[2026-09-05 11:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:30: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-09-05 11:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 11:30:52] 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-09-05 11:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878522368001,"66":14396,"52":206,"83":42752,"24":21,"16":17533516791152640,"45":1430948443567230976},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,45]} 
[2026-09-05 11:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878522368001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:30:52] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-09-05 11:30:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 11:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17533516791152640,"km_value":17533516791152.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1430948443567230976,"description":"Unknown IO ID 45"} 
[2026-09-05 11:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878522368001,"power":14396,"unknown_52":206,"unknown_83":42752,"ignition":21,"odometer":null,"unknown_45":1430948443567230976}} 
[2026-09-05 11:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":172860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:30:52] local.INFO: GPS data processed {"connection_id":172860,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:30:52] local.INFO: Acknowledgment sent {"connection_id":172860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:31:03] local.INFO: TCP Data received {"connection_id":174163,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:31:03] local.INFO: Processing buffer {"connection_id":174163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:31:03] local.INFO: IMEI packet received {"connection_id":174163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":174163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:31:04] local.INFO: TCP Data received {"connection_id":174163,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:31:04] local.INFO: Processing buffer {"connection_id":174163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:31:04] local.INFO: IMEI packet received {"connection_id":174163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":174163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:31:04] local.INFO: TCP Data received {"connection_id":174163,"ip":"42.106.6.28","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 11:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174163,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 11:31:04] local.INFO: Processing buffer {"connection_id":174163,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 11:31:04] local.INFO: IMEI packet received {"connection_id":174163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":174163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:31:24] local.INFO: TCP Data received {"connection_id":172860,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07026bcb0012d13d3400726b8a80021011327..."} 
[2026-09-05 11:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07026bcb0012d13d3400726b8a80021011327..."} 
[2026-09-05 11:31:24] local.INFO: Processing buffer {"connection_id":172860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07026bcb0012d13d3400726b8a80021011327..."} 
[2026-09-05 11:31:24] local.INFO: Packet analysis {"connection_id":172860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07026"} 
[2026-09-05 11:31:24] local.INFO: Extracted packet for processing {"connection_id":172860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07026"} 
[2026-09-05 11:31:24] local.INFO: GPS Element Parsed {"raw_longitude":756273984,"raw_latitude":119978152,"longitude_deg":75.6273984,"latitude_deg":11.9978152,"altitude":33,"angle":275,"satellites":39,"speed":26,"hex_longitude":"2d13d340","hex_latitude":"0726b8a8","is_valid_coordinates":true} 
[2026-09-05 11:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878522880001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17533572625727488,"note":"Value kept but may cause issues"} 
[2026-09-05 11:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1429892912404537344,"note":"Value kept but may cause issues"} 
[2026-09-05 11:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788587982000,"timestamp_ms":1788587982000,"timestamp_seconds":1788587982,"priority":1,"record_length":96,"hex_timestamp":"000001a07026bcb0"} 
[2026-09-05 11:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 11:31:24] 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-09-05 11:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878522880001,"66":14374,"52":206,"83":42752,"24":26,"16":17533572625727488,"45":1429892912404537344},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,45]} 
[2026-09-05 11:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878522880001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:31:24] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-09-05 11:31:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 11:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17533572625727488,"km_value":17533572625727.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1429892912404537344,"description":"Unknown IO ID 45"} 
[2026-09-05 11:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878522880001,"power":14374,"unknown_52":206,"unknown_83":42752,"ignition":26,"odometer":null,"unknown_45":1429892912404537344}} 
[2026-09-05 11:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":172860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:31:24] local.INFO: GPS data processed {"connection_id":172860,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:31:24] local.INFO: Acknowledgment sent {"connection_id":172860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:32:02] local.INFO: TCP Data received {"connection_id":171764,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:32:02] local.INFO: Processing buffer {"connection_id":171764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:32:02] local.INFO: IMEI packet received {"connection_id":171764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":171764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:32:04] local.INFO: TCP Data received {"connection_id":171764,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:32:04] local.INFO: Processing buffer {"connection_id":171764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:32:04] local.INFO: IMEI packet received {"connection_id":171764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":171764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:32:05] local.INFO: TCP Data received {"connection_id":171764,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07026d038012d13c4800726b8780022010527..."} 
[2026-09-05 11:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07026d038012d13c4800726b8780022010527..."} 
[2026-09-05 11:32:05] local.INFO: Processing buffer {"connection_id":171764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07026d038012d13c4800726b8780022010527..."} 
[2026-09-05 11:32:05] local.INFO: Packet analysis {"connection_id":171764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07026"} 
[2026-09-05 11:32:05] local.INFO: Extracted packet for processing {"connection_id":171764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07026"} 
[2026-09-05 11:32:05] local.INFO: GPS Element Parsed {"raw_longitude":756270208,"raw_latitude":119978104,"longitude_deg":75.6270208,"latitude_deg":11.9978104,"altitude":34,"angle":261,"satellites":39,"speed":32,"hex_longitude":"2d13c480","hex_latitude":"0726b878","is_valid_coordinates":true} 
[2026-09-05 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-09-05 11:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878523392001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17533753014353920,"note":"Value kept but may cause issues"} 
[2026-09-05 11:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1428555906265163776,"note":"Value kept but may cause issues"} 
[2026-09-05 11:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788587987000,"timestamp_ms":1788587987000,"timestamp_seconds":1788587987,"priority":1,"record_length":96,"hex_timestamp":"000001a07026d038"} 
[2026-09-05 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-09-05 11:32:05] 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-09-05 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 11:32:05] 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-09-05 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-09-05 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-09-05 11:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878523392001,"66":13961,"52":206,"83":42752,"24":32,"16":17533753014353920,"45":1428555906265163776},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,45]} 
[2026-09-05 11:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878523392001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:32:05] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-09-05 11:32:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 11:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17533753014353920,"km_value":17533753014353.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1428555906265163776,"description":"Unknown IO ID 45"} 
[2026-09-05 11:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878523392001,"power":13961,"unknown_52":206,"unknown_83":42752,"ignition":32,"odometer":null,"unknown_45":1428555906265163776}} 
[2026-09-05 11:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":171764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:32:05] local.INFO: GPS data processed {"connection_id":171764,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:32:05] local.INFO: Acknowledgment sent {"connection_id":171764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:32:06] local.INFO: TCP Data received {"connection_id":171764,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07026fb30012d139f800726b5000025010926..."} 
[2026-09-05 11:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07026fb30012d139f800726b5000025010926..."} 
[2026-09-05 11:32:06] local.INFO: Processing buffer {"connection_id":171764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07026fb30012d139f800726b5000025010926..."} 
[2026-09-05 11:32:06] local.INFO: Packet analysis {"connection_id":171764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07026"} 
[2026-09-05 11:32:06] local.INFO: Extracted packet for processing {"connection_id":171764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07026"} 
[2026-09-05 11:32:06] local.INFO: GPS Element Parsed {"raw_longitude":756260736,"raw_latitude":119977216,"longitude_deg":75.6260736,"latitude_deg":11.9977216,"altitude":37,"angle":265,"satellites":38,"speed":35,"hex_longitude":"2d139f80","hex_latitude":"0726b500","is_valid_coordinates":true} 
[2026-09-05 11:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878524672001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17534203985920000,"note":"Value kept but may cause issues"} 
[2026-09-05 11:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1424404150358669312,"note":"Value kept but may cause issues"} 
[2026-09-05 11:32: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-09-05 11:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788587998000,"timestamp_ms":1788587998000,"timestamp_seconds":1788587998,"priority":1,"record_length":96,"hex_timestamp":"000001a07026fb30"} 
[2026-09-05 11:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-05 11:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878524672001,"66":14048,"106":206,"83":42752,"24":35,"16":17534203985920000,"45":1424404150358669312},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-05 11:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878524672001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:32:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-05 11:32:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 11:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17534203985920000,"km_value":17534203985920,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1424404150358669312,"description":"Unknown IO ID 45"} 
[2026-09-05 11:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878524672001,"power":14048,"unknown_106":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1424404150358669312}} 
[2026-09-05 11:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":171764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:32:06] local.INFO: GPS data processed {"connection_id":171764,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:32:06] local.INFO: Acknowledgment sent {"connection_id":171764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:32:42] local.INFO: TCP Data received {"connection_id":171765,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:32:42] local.INFO: Processing buffer {"connection_id":171765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:32:42] local.INFO: IMEI packet received {"connection_id":171765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":171765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:32:45] local.INFO: TCP Data received {"connection_id":171765,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:32:45] local.INFO: Processing buffer {"connection_id":171765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:32:45] local.INFO: IMEI packet received {"connection_id":171765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":171765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:32:51] local.INFO: TCP Data received {"connection_id":171765,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:32:51] local.INFO: Processing buffer {"connection_id":171765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:32:51] local.INFO: IMEI packet received {"connection_id":171765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":171765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:32:52] local.INFO: TCP Data received {"connection_id":171765,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07028b0b0012d1240800725fac80026009927..."} 
[2026-09-05 11:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07028b0b0012d1240800725fac80026009927..."} 
[2026-09-05 11:32:52] local.INFO: Processing buffer {"connection_id":171765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07028b0b0012d1240800725fac80026009927..."} 
[2026-09-05 11:32:52] local.INFO: Packet analysis {"connection_id":171765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07028"} 
[2026-09-05 11:32:52] local.INFO: Extracted packet for processing {"connection_id":171765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07028"} 
[2026-09-05 11:32:52] local.INFO: GPS Element Parsed {"raw_longitude":756170880,"raw_latitude":119929544,"longitude_deg":75.617088,"latitude_deg":11.9929544,"altitude":38,"angle":153,"satellites":39,"speed":28,"hex_longitude":"2d124080","hex_latitude":"0725fac8","is_valid_coordinates":true} 
[2026-09-05 11:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878555904001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17539456730923008,"note":"Value kept but may cause issues"} 
[2026-09-05 11:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1314840015661785088,"note":"Value kept but may cause issues"} 
[2026-09-05 11:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788588110000,"timestamp_ms":1788588110000,"timestamp_seconds":1788588110,"priority":1,"record_length":96,"hex_timestamp":"000001a07028b0b0"} 
[2026-09-05 11:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:32:52] 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-09-05 11:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-05 11:32:52] 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-09-05 11:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":171765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":171765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":171765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878555904001,"66":14396,"21":206,"83":41984,"24":28,"16":17539456730923008,"45":1314840015661785088},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,83,24,16,45]} 
[2026-09-05 11:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878555904001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:32:52] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-05 11:32:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17539456730923008,"km_value":17539456730923.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1314840015661785088,"description":"Unknown IO ID 45"} 
[2026-09-05 11:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878555904001,"power":14396,"unknown_21":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1314840015661785088}} 
[2026-09-05 11:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":171765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:32:52] local.INFO: GPS data processed {"connection_id":171765,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:32:52] local.INFO: Acknowledgment sent {"connection_id":171765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:33:25] local.INFO: TCP Data received {"connection_id":171765,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0702958a8012d12498007256328002800b822..."} 
[2026-09-05 11:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0702958a8012d12498007256328002800b822..."} 
[2026-09-05 11:33:25] local.INFO: Processing buffer {"connection_id":171765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0702958a8012d12498007256328002800b822..."} 
[2026-09-05 11:33:25] local.INFO: Packet analysis {"connection_id":171765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07029"} 
[2026-09-05 11:33:25] local.INFO: Extracted packet for processing {"connection_id":171765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07029"} 
[2026-09-05 11:33:25] local.INFO: GPS Element Parsed {"raw_longitude":756173184,"raw_latitude":119890728,"longitude_deg":75.6173184,"latitude_deg":11.9890728,"altitude":40,"angle":184,"satellites":34,"speed":33,"hex_longitude":"2d124980","hex_latitude":"07256328","is_valid_coordinates":true} 
[2026-09-05 11:33: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-09-05 11:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878566656001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17541544085028864,"note":"Value kept but may cause issues"} 
[2026-09-05 11:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1318147346628458496,"note":"Value kept but may cause issues"} 
[2026-09-05 11:33:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788588153000,"timestamp_ms":1788588153000,"timestamp_seconds":1788588153,"priority":1,"record_length":96,"hex_timestamp":"000001a0702958a8"} 
[2026-09-05 11:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:33:25] 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-09-05 11:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-05 11:33:25] 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-09-05 11:33: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-09-05 11:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:33:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878566656001,"66":13993,"21":206,"83":41984,"24":33,"16":17541544085028864,"45":1318147346628458496},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,83,24,16,45]} 
[2026-09-05 11:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878566656001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:33:25] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-05 11:33:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17541544085028864,"km_value":17541544085028.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1318147346628458496,"description":"Unknown IO ID 45"} 
[2026-09-05 11:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878566656001,"power":13993,"unknown_21":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1318147346628458496}} 
[2026-09-05 11:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":171765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:33:25] local.INFO: GPS data processed {"connection_id":171765,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:33:25] local.INFO: Acknowledgment sent {"connection_id":171765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:33:43] local.INFO: TCP Data received {"connection_id":171766,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:33:43] local.INFO: Processing buffer {"connection_id":171766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:33:43] local.INFO: IMEI packet received {"connection_id":171766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":171766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:33:46] local.INFO: TCP Data received {"connection_id":171766,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:33:46] local.INFO: Processing buffer {"connection_id":171766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:33:46] local.INFO: IMEI packet received {"connection_id":171766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":171766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:33:55] local.INFO: TCP Data received {"connection_id":171766,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:33:55] local.INFO: Processing buffer {"connection_id":171766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:33:55] local.INFO: IMEI packet received {"connection_id":171766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":171766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:33:57] local.INFO: TCP Data received {"connection_id":171766,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070295c90012d1249c007255fb8002900ad23..."} 
[2026-09-05 11:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070295c90012d1249c007255fb8002900ad23..."} 
[2026-09-05 11:33:57] local.INFO: Processing buffer {"connection_id":171766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070295c90012d1249c007255fb8002900ad23..."} 
[2026-09-05 11:33:57] local.INFO: Packet analysis {"connection_id":171766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07029"} 
[2026-09-05 11:33:57] local.INFO: Extracted packet for processing {"connection_id":171766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07029"} 
[2026-09-05 11:33:57] local.INFO: GPS Element Parsed {"raw_longitude":756173248,"raw_latitude":119889848,"longitude_deg":75.6173248,"latitude_deg":11.9889848,"altitude":41,"angle":173,"satellites":35,"speed":35,"hex_longitude":"2d1249c0","hex_latitude":"07255fb8","is_valid_coordinates":true} 
[2026-09-05 11:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878567168001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17541587034701824,"note":"Value kept but may cause issues"} 
[2026-09-05 11:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1317725134162962432,"note":"Value kept but may cause issues"} 
[2026-09-05 11:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788588154000,"timestamp_ms":1788588154000,"timestamp_seconds":1788588154,"priority":1,"record_length":96,"hex_timestamp":"000001a070295c90"} 
[2026-09-05 11:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:33:57] 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-09-05 11:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 11:33:57] 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-09-05 11:33:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":171766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":171766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":171766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878567168001,"66":13048,"21":206,"83":41984,"24":35,"16":17541587034701824,"45":1317725134162962432},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,83,24,16,45]} 
[2026-09-05 11:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878567168001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:33:57] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-05 11:33:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17541587034701824,"km_value":17541587034701.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1317725134162962432,"description":"Unknown IO ID 45"} 
[2026-09-05 11:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878567168001,"power":13048,"unknown_21":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1317725134162962432}} 
[2026-09-05 11:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":171766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:33:57] local.INFO: GPS data processed {"connection_id":171766,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:33:57] local.INFO: Acknowledgment sent {"connection_id":171766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:34:28] local.INFO: TCP Data received {"connection_id":171766,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0702a46f0012d11d0c0072530980041012027..."} 
[2026-09-05 11:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0702a46f0012d11d0c0072530980041012027..."} 
[2026-09-05 11:34:28] local.INFO: Processing buffer {"connection_id":171766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0702a46f0012d11d0c0072530980041012027..."} 
[2026-09-05 11:34:28] local.INFO: Packet analysis {"connection_id":171766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0702a"} 
[2026-09-05 11:34:28] local.INFO: Extracted packet for processing {"connection_id":171766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0702a"} 
[2026-09-05 11:34:28] local.INFO: GPS Element Parsed {"raw_longitude":756142272,"raw_latitude":119877784,"longitude_deg":75.6142272,"latitude_deg":11.9877784,"altitude":65,"angle":288,"satellites":39,"speed":31,"hex_longitude":"2d11d0c0","hex_latitude":"07253098","is_valid_coordinates":true} 
[2026-09-05 11:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878582272001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17543777468022784,"note":"Value kept but may cause issues"} 
[2026-09-05 11:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1285355511837757440,"note":"Value kept but may cause issues"} 
[2026-09-05 11:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788588214000,"timestamp_ms":1788588214000,"timestamp_seconds":1788588214,"priority":1,"record_length":96,"hex_timestamp":"000001a0702a46f0"} 
[2026-09-05 11:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:34:28] 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-09-05 11:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-05 11:34:28] 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-09-05 11:34:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":171766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":171766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":171766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878582272001,"66":13928,"233":206,"83":41984,"24":31,"16":17543777468022784,"45":1285355511837757440},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,45]} 
[2026-09-05 11:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878582272001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:34:28] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-09-05 11:34:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17543777468022784,"km_value":17543777468022.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1285355511837757440,"description":"Unknown IO ID 45"} 
[2026-09-05 11:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878582272001,"power":13928,"unknown_233":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1285355511837757440}} 
[2026-09-05 11:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":171766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:34:28] local.INFO: GPS data processed {"connection_id":171766,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:34:28] local.INFO: Acknowledgment sent {"connection_id":171766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:34:28] local.INFO: TCP Data received {"connection_id":171767,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:34:28] local.INFO: Processing buffer {"connection_id":171767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:34:28] local.INFO: IMEI packet received {"connection_id":171767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 11:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":171767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:34:44] local.INFO: TCP Data received {"connection_id":174165,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174165,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:34:44] local.INFO: Processing buffer {"connection_id":174165,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:34:44] local.INFO: IMEI packet received {"connection_id":174165,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 11:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":174165,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:34:46] local.INFO: TCP Data received {"connection_id":171470,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:34:46] local.INFO: Processing buffer {"connection_id":171470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:34:46] local.INFO: IMEI packet received {"connection_id":171470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":171470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:34:48] local.INFO: TCP Data received {"connection_id":171470,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:34:48] local.INFO: Processing buffer {"connection_id":171470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:34:48] local.INFO: IMEI packet received {"connection_id":171470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":171470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:34:50] local.INFO: TCP Data received {"connection_id":171470,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:34:50] local.INFO: Processing buffer {"connection_id":171470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:34:50] local.INFO: IMEI packet received {"connection_id":171470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":171470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:34:51] local.INFO: TCP Data received {"connection_id":171470,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0702a71e8012d11ab0007253b100044012725..."} 
[2026-09-05 11:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0702a71e8012d11ab0007253b100044012725..."} 
[2026-09-05 11:34:51] local.INFO: Processing buffer {"connection_id":171470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0702a71e8012d11ab0007253b100044012725..."} 
[2026-09-05 11:34:51] local.INFO: Packet analysis {"connection_id":171470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0702a"} 
[2026-09-05 11:34:51] local.INFO: Extracted packet for processing {"connection_id":171470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0702a"} 
[2026-09-05 11:34:51] local.INFO: GPS Element Parsed {"raw_longitude":756132608,"raw_latitude":119880464,"longitude_deg":75.6132608,"latitude_deg":11.9880464,"altitude":68,"angle":295,"satellites":37,"speed":45,"hex_longitude":"2d11ab00","hex_latitude":"07253b10","is_valid_coordinates":true} 
[2026-09-05 11:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878582784001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17544258504359936,"note":"Value kept but may cause issues"} 
[2026-09-05 11:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1283737030721837056,"note":"Value kept but may cause issues"} 
[2026-09-05 11:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788588225000,"timestamp_ms":1788588225000,"timestamp_seconds":1788588225,"priority":1,"record_length":96,"hex_timestamp":"000001a0702a71e8"} 
[2026-09-05 11:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:34:51] 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-09-05 11:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-05 11:34:51] 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-09-05 11:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878582784001,"66":14004,"233":206,"83":41984,"24":45,"16":17544258504359936,"45":1283737030721837056},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,45]} 
[2026-09-05 11:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878582784001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:34:51] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-09-05 11:34:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17544258504359936,"km_value":17544258504359.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1283737030721837056,"description":"Unknown IO ID 45"} 
[2026-09-05 11:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878582784001,"power":14004,"unknown_233":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1283737030721837056}} 
[2026-09-05 11:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":171470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:34:52] local.INFO: GPS data processed {"connection_id":171470,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:34:52] local.INFO: Acknowledgment sent {"connection_id":171470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:35:23] local.INFO: TCP Data received {"connection_id":171470,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0702b48c0012d1117c007255cd00038011726..."} 
[2026-09-05 11:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0702b48c0012d1117c007255cd00038011726..."} 
[2026-09-05 11:35:23] local.INFO: Processing buffer {"connection_id":171470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0702b48c0012d1117c007255cd00038011726..."} 
[2026-09-05 11:35:23] local.INFO: Packet analysis {"connection_id":171470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0702b"} 
[2026-09-05 11:35:23] local.INFO: Extracted packet for processing {"connection_id":171470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0702b"} 
[2026-09-05 11:35:23] local.INFO: GPS Element Parsed {"raw_longitude":756094912,"raw_latitude":119889104,"longitude_deg":75.6094912,"latitude_deg":11.9889104,"altitude":56,"angle":279,"satellites":38,"speed":31,"hex_longitude":"2d1117c0","hex_latitude":"07255cd0","is_valid_coordinates":true} 
[2026-09-05 11:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878598656001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17546388808138752,"note":"Value kept but may cause issues"} 
[2026-09-05 11:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1234690016032675840,"note":"Value kept but may cause issues"} 
[2026-09-05 11:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788588280000,"timestamp_ms":1788588280000,"timestamp_seconds":1788588280,"priority":1,"record_length":96,"hex_timestamp":"000001a0702b48c0"} 
[2026-09-05 11:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 11:35:23] 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-09-05 11:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878598656001,"66":14080,"21":206,"83":41984,"24":31,"16":17546388808138752,"45":1234690016032675840},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,83,24,16,45]} 
[2026-09-05 11:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878598656001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:35:23] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-05 11:35:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17546388808138752,"km_value":17546388808138.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1234690016032675840,"description":"Unknown IO ID 45"} 
[2026-09-05 11:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878598656001,"power":14080,"unknown_21":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1234690016032675840}} 
[2026-09-05 11:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":171470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:35:23] local.INFO: GPS data processed {"connection_id":171470,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:35:23] local.INFO: Acknowledgment sent {"connection_id":171470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:36:06] local.INFO: TCP Data received {"connection_id":172862,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:36:06] local.INFO: Processing buffer {"connection_id":172862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:36:06] local.INFO: IMEI packet received {"connection_id":172862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":172862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:36:07] local.INFO: TCP Data received {"connection_id":172862,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0702ac008012d5c40c00636ef48000c009f2f..."} 
[2026-09-05 11:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0702ac008012d5c40c00636ef48000c009f2f..."} 
[2026-09-05 11:36:07] local.INFO: Processing buffer {"connection_id":172862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0702ac008012d5c40c00636ef48000c009f2f..."} 
[2026-09-05 11:36:07] local.INFO: Packet analysis {"connection_id":172862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0702a"} 
[2026-09-05 11:36:07] local.INFO: Extracted packet for processing {"connection_id":172862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0702a"} 
[2026-09-05 11:36:07] local.INFO: GPS Element Parsed {"raw_longitude":761020608,"raw_latitude":104263496,"longitude_deg":76.1020608,"latitude_deg":10.4263496,"altitude":12,"angle":159,"satellites":47,"speed":0,"hex_longitude":"2d5c40c0","hex_latitude":"0636ef48","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878585344001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399565935737831424,"note":"Value kept but may cause issues"} 
[2026-09-05 11:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6647172339202119680,"note":"Value kept but may cause issues"} 
[2026-09-05 11:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788588245000,"timestamp_ms":1788588245000,"timestamp_seconds":1788588245,"priority":1,"record_length":96,"hex_timestamp":"000001a0702ac008"} 
[2026-09-05 11:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:36:07] 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-09-05 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 11:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878585344001,"66":27984,"175":206,"78":38656,"24":0,"16":399565935737831424,"45":6647172339202119680},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-09-05 11:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878585344001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:36:07] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 11:36:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399565935737831424,"km_value":399565935737831.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6647172339202119680,"description":"Unknown IO ID 45"} 
[2026-09-05 11:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878585344001,"power":27984,"unknown_175":206,"unknown_78":38656,"ignition":0,"odometer":null,"unknown_45":6647172339202119680}} 
[2026-09-05 11:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":172862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:36:07] local.INFO: GPS data processed {"connection_id":172862,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:36:07] local.INFO: Acknowledgment sent {"connection_id":172862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:36:20] local.INFO: TCP Data received {"connection_id":171769,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:36:20] local.INFO: Processing buffer {"connection_id":171769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:36:20] local.INFO: IMEI packet received {"connection_id":171769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":171769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:36:21] local.INFO: TCP Data received {"connection_id":171769,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:36:21] local.INFO: Processing buffer {"connection_id":171769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:36:21] local.INFO: IMEI packet received {"connection_id":171769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":171769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:36:22] local.INFO: TCP Data received {"connection_id":171769,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:36:22] local.INFO: Processing buffer {"connection_id":171769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:36:22] local.INFO: IMEI packet received {"connection_id":171769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":171769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:36:25] local.INFO: TCP Data received {"connection_id":171769,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:36:25] local.INFO: Processing buffer {"connection_id":171769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:36:25] local.INFO: IMEI packet received {"connection_id":171769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":171769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:36:26] local.INFO: TCP Data received {"connection_id":171769,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0702bf888012d10958007254b280063011727..."} 
[2026-09-05 11:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0702bf888012d10958007254b280063011727..."} 
[2026-09-05 11:36:26] local.INFO: Processing buffer {"connection_id":171769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0702bf888012d10958007254b280063011727..."} 
[2026-09-05 11:36:26] local.INFO: Packet analysis {"connection_id":171769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0702b"} 
[2026-09-05 11:36:26] local.INFO: Extracted packet for processing {"connection_id":171769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0702b"} 
[2026-09-05 11:36:26] local.INFO: GPS Element Parsed {"raw_longitude":756061568,"raw_latitude":119884584,"longitude_deg":75.6061568,"latitude_deg":11.9884584,"altitude":99,"angle":279,"satellites":39,"speed":35,"hex_longitude":"2d109580","hex_latitude":"07254b28","is_valid_coordinates":true} 
[2026-09-05 11:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878608128001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17548076730286080,"note":"Value kept but may cause issues"} 
[2026-09-05 11:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1205838830918778880,"note":"Value kept but may cause issues"} 
[2026-09-05 11:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788588325000,"timestamp_ms":1788588325000,"timestamp_seconds":1788588325,"priority":1,"record_length":96,"hex_timestamp":"000001a0702bf888"} 
[2026-09-05 11:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:36:26] 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-09-05 11:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-05 11:36:26] 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-09-05 11:36:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878608128001,"66":13972,"211":206,"83":41728,"24":35,"16":17548076730286080,"45":1205838830918778880},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,83,24,16,45]} 
[2026-09-05 11:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878608128001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:36:26] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-05 11:36:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-05 11:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17548076730286080,"km_value":17548076730286.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1205838830918778880,"description":"Unknown IO ID 45"} 
[2026-09-05 11:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878608128001,"power":13972,"unknown_211":206,"unknown_83":41728,"ignition":35,"odometer":null,"unknown_45":1205838830918778880}} 
[2026-09-05 11:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":171769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:36:26] local.INFO: GPS data processed {"connection_id":171769,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:36:26] local.INFO: Acknowledgment sent {"connection_id":171769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:36:40] local.INFO: TCP Data received {"connection_id":172862,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0702b1210012d5c40c00636ef48000c009f2d..."} 
[2026-09-05 11:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0702b1210012d5c40c00636ef48000c009f2d..."} 
[2026-09-05 11:36:40] local.INFO: Processing buffer {"connection_id":172862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0702b1210012d5c40c00636ef48000c009f2d..."} 
[2026-09-05 11:36:40] local.INFO: Packet analysis {"connection_id":172862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0702b"} 
[2026-09-05 11:36:40] local.INFO: Extracted packet for processing {"connection_id":172862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0702b"} 
[2026-09-05 11:36:40] local.INFO: GPS Element Parsed {"raw_longitude":761020608,"raw_latitude":104263496,"longitude_deg":76.1020608,"latitude_deg":10.4263496,"altitude":12,"angle":159,"satellites":45,"speed":0,"hex_longitude":"2d5c40c0","hex_latitude":"0636ef48","is_valid_coordinates":true} 
[2026-09-05 11:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878590720001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399565935737831424,"note":"Value kept but may cause issues"} 
[2026-09-05 11:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6647524182922840064,"note":"Value kept but may cause issues"} 
[2026-09-05 11:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788588266000,"timestamp_ms":1788588266000,"timestamp_seconds":1788588266,"priority":1,"record_length":96,"hex_timestamp":"000001a0702b1210"} 
[2026-09-05 11:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:36: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-09-05 11:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 11:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":172862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":172862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":172862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:36:40] 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-09-05 11:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878590720001,"66":28006,"175":206,"78":38656,"24":0,"16":399565935737831424,"45":6647524182922840064},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-09-05 11:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878590720001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:36:40] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 11:36:40] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399565935737831424,"km_value":399565935737831.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":6647524182922840064,"description":"Unknown IO ID 45"} 
[2026-09-05 11:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878590720001,"power":28006,"unknown_175":206,"unknown_78":38656,"ignition":0,"odometer":null,"unknown_45":6647524182922840064}} 
[2026-09-05 11:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":172862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:36:40] local.INFO: GPS data processed {"connection_id":172862,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:36:40] local.INFO: Acknowledgment sent {"connection_id":172862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:36:57] local.INFO: TCP Data received {"connection_id":172863,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:36:57] local.INFO: Processing buffer {"connection_id":172863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:36:57] local.INFO: IMEI packet received {"connection_id":172863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":172863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:37:04] local.INFO: TCP Data received {"connection_id":172863,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:37:04] local.INFO: Processing buffer {"connection_id":172863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:37:04] local.INFO: IMEI packet received {"connection_id":172863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":172863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:37:05] local.INFO: TCP Data received {"connection_id":172863,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0702b6418012d5c40c00636ef48000c009f30..."} 
[2026-09-05 11:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0702b6418012d5c40c00636ef48000c009f30..."} 
[2026-09-05 11:37:05] local.INFO: Processing buffer {"connection_id":172863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0702b6418012d5c40c00636ef48000c009f30..."} 
[2026-09-05 11:37:05] local.INFO: Packet analysis {"connection_id":172863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0702b"} 
[2026-09-05 11:37:05] local.INFO: Extracted packet for processing {"connection_id":172863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0702b"} 
[2026-09-05 11:37:05] local.INFO: GPS Element Parsed {"raw_longitude":761020608,"raw_latitude":104263496,"longitude_deg":76.1020608,"latitude_deg":10.4263496,"altitude":12,"angle":159,"satellites":48,"speed":0,"hex_longitude":"2d5c40c0","hex_latitude":"0636ef48","is_valid_coordinates":true} 
[2026-09-05 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-09-05 11:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878596096001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399565935737831424,"note":"Value kept but may cause issues"} 
[2026-09-05 11:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6647524182922840064,"note":"Value kept but may cause issues"} 
[2026-09-05 11:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788588287000,"timestamp_ms":1788588287000,"timestamp_seconds":1788588287,"priority":1,"record_length":96,"hex_timestamp":"000001a0702b6418"} 
[2026-09-05 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-09-05 11:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 11:37: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-09-05 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-09-05 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-09-05 11:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:37: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-09-05 11:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878596096001,"66":28028,"175":206,"78":38656,"24":0,"16":399565935737831424,"45":6647524182922840064},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-09-05 11:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878596096001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:37:05] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 11:37:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399565935737831424,"km_value":399565935737831.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6647524182922840064,"description":"Unknown IO ID 45"} 
[2026-09-05 11:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878596096001,"power":28028,"unknown_175":206,"unknown_78":38656,"ignition":0,"odometer":null,"unknown_45":6647524182922840064}} 
[2026-09-05 11:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":172863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:37:05] local.INFO: GPS data processed {"connection_id":172863,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:37:05] local.INFO: Acknowledgment sent {"connection_id":172863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:37:36] local.INFO: TCP Data received {"connection_id":172863,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0702bb620012d5c40c00636ef48000c009f30..."} 
[2026-09-05 11:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0702bb620012d5c40c00636ef48000c009f30..."} 
[2026-09-05 11:37:36] local.INFO: Processing buffer {"connection_id":172863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0702bb620012d5c40c00636ef48000c009f30..."} 
[2026-09-05 11:37:36] local.INFO: Packet analysis {"connection_id":172863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0702b"} 
[2026-09-05 11:37:36] local.INFO: Extracted packet for processing {"connection_id":172863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0702b"} 
[2026-09-05 11:37:36] local.INFO: GPS Element Parsed {"raw_longitude":761020608,"raw_latitude":104263496,"longitude_deg":76.1020608,"latitude_deg":10.4263496,"altitude":12,"angle":159,"satellites":48,"speed":0,"hex_longitude":"2d5c40c0","hex_latitude":"0636ef48","is_valid_coordinates":true} 
[2026-09-05 11:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878601472001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399565935737831424,"note":"Value kept but may cause issues"} 
[2026-09-05 11:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6647524182922840064,"note":"Value kept but may cause issues"} 
[2026-09-05 11:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788588308000,"timestamp_ms":1788588308000,"timestamp_seconds":1788588308,"priority":1,"record_length":96,"hex_timestamp":"000001a0702bb620"} 
[2026-09-05 11:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-05 11:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:37: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-09-05 11:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878601472001,"66":27908,"175":206,"78":38656,"24":0,"16":399565935737831424,"45":6647524182922840064},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-09-05 11:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878601472001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:37:36] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-05 11:37:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399565935737831424,"km_value":399565935737831.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6647524182922840064,"description":"Unknown IO ID 45"} 
[2026-09-05 11:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878601472001,"power":27908,"unknown_175":206,"unknown_78":38656,"ignition":0,"odometer":null,"unknown_45":6647524182922840064}} 
[2026-09-05 11:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":172863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:37:36] local.INFO: GPS data processed {"connection_id":172863,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:37:36] local.INFO: Acknowledgment sent {"connection_id":172863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:37:40] local.INFO: TCP Data received {"connection_id":171472,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:37:40] local.INFO: Processing buffer {"connection_id":171472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:37:40] local.INFO: IMEI packet received {"connection_id":171472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":171472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:37:52] local.INFO: TCP Data received {"connection_id":171472,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:37:52] local.INFO: Processing buffer {"connection_id":171472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:37:52] local.INFO: IMEI packet received {"connection_id":171472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":171472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:37:54] local.INFO: TCP Data received {"connection_id":171472,"ip":"42.106.6.56","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 11:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171472,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 11:37:54] local.INFO: Processing buffer {"connection_id":171472,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 11:37:54] local.INFO: IMEI packet received {"connection_id":171472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":171472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:37:56] local.INFO: TCP Data received {"connection_id":171474,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:37:56] local.INFO: Processing buffer {"connection_id":171474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:37:56] local.INFO: IMEI packet received {"connection_id":171474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":171474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:37:58] local.INFO: TCP Data received {"connection_id":171474,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:37:58] local.INFO: Processing buffer {"connection_id":171474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:37:58] local.INFO: IMEI packet received {"connection_id":171474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":171474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:38:02] local.INFO: TCP Data received {"connection_id":171474,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:38:02] local.INFO: Processing buffer {"connection_id":171474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:38:02] local.INFO: IMEI packet received {"connection_id":171474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":171474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:38:04] local.INFO: TCP Data received {"connection_id":171474,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0702c0440012d5c44c00636e490000c008f30..."} 
[2026-09-05 11:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0702c0440012d5c44c00636e490000c008f30..."} 
[2026-09-05 11:38:04] local.INFO: Processing buffer {"connection_id":171474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0702c0440012d5c44c00636e490000c008f30..."} 
[2026-09-05 11:38:04] local.INFO: Packet analysis {"connection_id":171474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0702c"} 
[2026-09-05 11:38:04] local.INFO: Extracted packet for processing {"connection_id":171474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0702c"} 
[2026-09-05 11:38:04] local.INFO: GPS Element Parsed {"raw_longitude":761021632,"raw_latitude":104260752,"longitude_deg":76.1021632,"latitude_deg":10.4260752,"altitude":12,"angle":143,"satellites":48,"speed":17,"hex_longitude":"2d5c44c0","hex_latitude":"0636e490","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878606848001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399566077471752192,"note":"Value kept but may cause issues"} 
[2026-09-05 11:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6647524182922840064,"note":"Value kept but may cause issues"} 
[2026-09-05 11:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788588328000,"timestamp_ms":1788588328000,"timestamp_seconds":1788588328,"priority":1,"record_length":96,"hex_timestamp":"000001a0702c0440"} 
[2026-09-05 11:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:38: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-09-05 11:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 11:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:38: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-09-05 11:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878606848001,"66":27930,"191":206,"78":38656,"24":17,"16":399566077471752192,"45":6647524182922840064},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,78,24,16,45]} 
[2026-09-05 11:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878606848001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:38:04] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-05 11:38:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399566077471752192,"km_value":399566077471752.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6647524182922840064,"description":"Unknown IO ID 45"} 
[2026-09-05 11:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878606848001,"power":27930,"unknown_191":206,"unknown_78":38656,"ignition":17,"odometer":null,"unknown_45":6647524182922840064}} 
[2026-09-05 11:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":171474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:38:04] local.INFO: GPS data processed {"connection_id":171474,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:38:04] local.INFO: Acknowledgment sent {"connection_id":171474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:38:40] local.INFO: TCP Data received {"connection_id":171474,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0702dfc28012d5d37c006355800000600902f..."} 
[2026-09-05 11:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0702dfc28012d5d37c006355800000600902f..."} 
[2026-09-05 11:38:40] local.INFO: Processing buffer {"connection_id":171474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0702dfc28012d5d37c006355800000600902f..."} 
[2026-09-05 11:38:40] local.INFO: Packet analysis {"connection_id":171474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0702d"} 
[2026-09-05 11:38:40] local.INFO: Extracted packet for processing {"connection_id":171474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0702d"} 
[2026-09-05 11:38:40] local.INFO: GPS Element Parsed {"raw_longitude":761083840,"raw_latitude":104159232,"longitude_deg":76.108384,"latitude_deg":10.4159232,"altitude":6,"angle":144,"satellites":47,"speed":46,"hex_longitude":"2d5d37c0","hex_latitude":"06355800","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878642688001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399571849907798016,"note":"Value kept but may cause issues"} 
[2026-09-05 11:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6710363471448786944,"note":"Value kept but may cause issues"} 
[2026-09-05 11:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788588457000,"timestamp_ms":1788588457000,"timestamp_seconds":1788588457,"priority":1,"record_length":96,"hex_timestamp":"000001a0702dfc28"} 
[2026-09-05 11:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:38: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-09-05 11: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-05 11:38:40] 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-09-05 11: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-09-05 11:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":171474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":171474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":171474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:38:40] 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-09-05 11:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878642688001,"66":27800,"189":206,"78":38656,"24":46,"16":399571849907798016,"45":6710363471448786944},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,78,24,16,45]} 
[2026-09-05 11:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878642688001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:38:40] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-05 11:38:40] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399571849907798016,"km_value":399571849907798.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":6710363471448786944,"description":"Unknown IO ID 45"} 
[2026-09-05 11:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878642688001,"power":27800,"unknown_189":206,"unknown_78":38656,"ignition":46,"odometer":null,"unknown_45":6710363471448786944}} 
[2026-09-05 11:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":171474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:38:40] local.INFO: GPS data processed {"connection_id":171474,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:38:40] local.INFO: Acknowledgment sent {"connection_id":171474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:38:56] local.INFO: TCP Data received {"connection_id":174167,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:38:56] local.INFO: Processing buffer {"connection_id":174167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:38:56] local.INFO: IMEI packet received {"connection_id":174167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":174167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:39:02] local.INFO: TCP Data received {"connection_id":174167,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:39:02] local.INFO: Processing buffer {"connection_id":174167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:39:02] local.INFO: IMEI packet received {"connection_id":174167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":174167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:39:04] local.INFO: TCP Data received {"connection_id":174167,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0702e1b68012d5d4a80063539d8000700992c..."} 
[2026-09-05 11:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0702e1b68012d5d4a80063539d8000700992c..."} 
[2026-09-05 11:39:04] local.INFO: Processing buffer {"connection_id":174167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0702e1b68012d5d4a80063539d8000700992c..."} 
[2026-09-05 11:39:04] local.INFO: Packet analysis {"connection_id":174167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0702e"} 
[2026-09-05 11:39:04] local.INFO: Extracted packet for processing {"connection_id":174167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0702e"} 
[2026-09-05 11:39:04] local.INFO: GPS Element Parsed {"raw_longitude":761088640,"raw_latitude":104151512,"longitude_deg":76.108864,"latitude_deg":10.4151512,"altitude":7,"angle":153,"satellites":44,"speed":42,"hex_longitude":"2d5d4a80","hex_latitude":"063539d8","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878644992001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399572292289429504,"note":"Value kept but may cause issues"} 
[2026-09-05 11:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6717048502143680512,"note":"Value kept but may cause issues"} 
[2026-09-05 11:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788588465000,"timestamp_ms":1788588465000,"timestamp_seconds":1788588465,"priority":1,"record_length":96,"hex_timestamp":"000001a0702e1b68"} 
[2026-09-05 11:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:39: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-09-05 11: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 11:39: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-09-05 11: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-09-05 11:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:39: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-09-05 11:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878644992001,"66":28006,"189":206,"78":38656,"24":42,"16":399572292289429504,"45":6717048502143680512},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,78,24,16,45]} 
[2026-09-05 11:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878644992001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:39:04] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-05 11:39:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399572292289429504,"km_value":399572292289429.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6717048502143680512,"description":"Unknown IO ID 45"} 
[2026-09-05 11:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878644992001,"power":28006,"unknown_189":206,"unknown_78":38656,"ignition":42,"odometer":null,"unknown_45":6717048502143680512}} 
[2026-09-05 11:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":174167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:39:04] local.INFO: GPS data processed {"connection_id":174167,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:39:04] local.INFO: Acknowledgment sent {"connection_id":174167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:39:36] local.INFO: TCP Data received {"connection_id":174167,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0702e4278012d5d5b00063519b00009009a2e..."} 
[2026-09-05 11:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0702e4278012d5d5b00063519b00009009a2e..."} 
[2026-09-05 11:39:36] local.INFO: Processing buffer {"connection_id":174167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0702e4278012d5d5b00063519b00009009a2e..."} 
[2026-09-05 11:39:36] local.INFO: Packet analysis {"connection_id":174167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0702e"} 
[2026-09-05 11:39:36] local.INFO: Extracted packet for processing {"connection_id":174167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0702e"} 
[2026-09-05 11:39:36] local.INFO: GPS Element Parsed {"raw_longitude":761092864,"raw_latitude":104143280,"longitude_deg":76.1092864,"latitude_deg":10.414328,"altitude":9,"angle":154,"satellites":46,"speed":28,"hex_longitude":"2d5d5b00","hex_latitude":"063519b0","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878647040001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399572738966028288,"note":"Value kept but may cause issues"} 
[2026-09-05 11:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6722326157955028992,"note":"Value kept but may cause issues"} 
[2026-09-05 11:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788588475000,"timestamp_ms":1788588475000,"timestamp_seconds":1788588475,"priority":1,"record_length":96,"hex_timestamp":"000001a0702e4278"} 
[2026-09-05 11:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 11:39:36] 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-09-05 11: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-09-05 11:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":174167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":174167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":174167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:39: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-09-05 11:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878647040001,"66":27908,"189":206,"78":38656,"24":28,"16":399572738966028288,"45":6722326157955028992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,78,24,16,45]} 
[2026-09-05 11:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878647040001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:39:36] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-05 11:39:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399572738966028288,"km_value":399572738966028.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6722326157955028992,"description":"Unknown IO ID 45"} 
[2026-09-05 11:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878647040001,"power":27908,"unknown_189":206,"unknown_78":38656,"ignition":28,"odometer":null,"unknown_45":6722326157955028992}} 
[2026-09-05 11:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":174167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:39:36] local.INFO: GPS data processed {"connection_id":174167,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:39:36] local.INFO: Acknowledgment sent {"connection_id":174167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:40:02] local.INFO: TCP Data received {"connection_id":174170,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:40:02] local.INFO: Processing buffer {"connection_id":174170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:40:02] local.INFO: IMEI packet received {"connection_id":174170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":174170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:40:04] local.INFO: TCP Data received {"connection_id":174170,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:40:04] local.INFO: Processing buffer {"connection_id":174170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:40:04] local.INFO: IMEI packet received {"connection_id":174170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":174170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:40:06] local.INFO: TCP Data received {"connection_id":174170,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0702e9480012d5d69000634fd980007009f30..."} 
[2026-09-05 11:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0702e9480012d5d69000634fd980007009f30..."} 
[2026-09-05 11:40:06] local.INFO: Processing buffer {"connection_id":174170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0702e9480012d5d69000634fd980007009f30..."} 
[2026-09-05 11:40:06] local.INFO: Packet analysis {"connection_id":174170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0702e"} 
[2026-09-05 11:40:06] local.INFO: Extracted packet for processing {"connection_id":174170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0702e"} 
[2026-09-05 11:40:06] local.INFO: GPS Element Parsed {"raw_longitude":761096448,"raw_latitude":104136088,"longitude_deg":76.1096448,"latitude_deg":10.4136088,"altitude":7,"angle":159,"satellites":48,"speed":0,"hex_longitude":"2d5d6900","hex_latitude":"0634fd98","is_valid_coordinates":true} 
[2026-09-05 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-09-05 11:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878649600001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399573129808052224,"note":"Value kept but may cause issues"} 
[2026-09-05 11:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6726970495068647424,"note":"Value kept but may cause issues"} 
[2026-09-05 11:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788588496000,"timestamp_ms":1788588496000,"timestamp_seconds":1788588496,"priority":1,"record_length":96,"hex_timestamp":"000001a0702e9480"} 
[2026-09-05 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-09-05 11:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 11:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 11:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:40:06] 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-09-05 11:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878649600001,"66":27995,"189":206,"78":38656,"24":0,"16":399573129808052224,"45":6726970495068647424},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,78,24,16,45]} 
[2026-09-05 11:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878649600001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:40:06] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-05 11:40:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399573129808052224,"km_value":399573129808052.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6726970495068647424,"description":"Unknown IO ID 45"} 
[2026-09-05 11:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878649600001,"power":27995,"unknown_189":206,"unknown_78":38656,"ignition":0,"odometer":null,"unknown_45":6726970495068647424}} 
[2026-09-05 11:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":174170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:40:06] local.INFO: GPS data processed {"connection_id":174170,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:40:06] local.INFO: Acknowledgment sent {"connection_id":174170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:40:22] local.INFO: TCP Data received {"connection_id":174169,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174169,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:40:22] local.INFO: Processing buffer {"connection_id":174169,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:40:22] local.INFO: IMEI packet received {"connection_id":174169,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 11:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":174169,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:40:38] local.INFO: TCP Data received {"connection_id":174170,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0702ee688012d5d69000634fd980007009f30..."} 
[2026-09-05 11:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0702ee688012d5d69000634fd980007009f30..."} 
[2026-09-05 11:40:38] local.INFO: Processing buffer {"connection_id":174170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0702ee688012d5d69000634fd980007009f30..."} 
[2026-09-05 11:40:38] local.INFO: Packet analysis {"connection_id":174170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0702e"} 
[2026-09-05 11:40:38] local.INFO: Extracted packet for processing {"connection_id":174170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0702e"} 
[2026-09-05 11:40:38] local.INFO: GPS Element Parsed {"raw_longitude":761096448,"raw_latitude":104136088,"longitude_deg":76.1096448,"latitude_deg":10.4136088,"altitude":7,"angle":159,"satellites":48,"speed":0,"hex_longitude":"2d5d6900","hex_latitude":"0634fd98","is_valid_coordinates":true} 
[2026-09-05 11:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878654976001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399573129808052224,"note":"Value kept but may cause issues"} 
[2026-09-05 11:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6730911144740755456,"note":"Value kept but may cause issues"} 
[2026-09-05 11:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788588517000,"timestamp_ms":1788588517000,"timestamp_seconds":1788588517,"priority":1,"record_length":96,"hex_timestamp":"000001a0702ee688"} 
[2026-09-05 11:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:40: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-09-05 11:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 11:40:38] 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-09-05 11:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:40: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-09-05 11:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878654976001,"66":27995,"189":206,"78":38656,"24":0,"16":399573129808052224,"45":6730911144740755456},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,78,24,16,45]} 
[2026-09-05 11:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878654976001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:40:38] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-05 11:40:38] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399573129808052224,"km_value":399573129808052.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6730911144740755456,"description":"Unknown IO ID 45"} 
[2026-09-05 11:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878654976001,"power":27995,"unknown_189":206,"unknown_78":38656,"ignition":0,"odometer":null,"unknown_45":6730911144740755456}} 
[2026-09-05 11:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":174170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:40:38] local.INFO: GPS data processed {"connection_id":174170,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:40:38] local.INFO: Acknowledgment sent {"connection_id":174170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:40:54] local.INFO: TCP Data received {"connection_id":172864,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172864,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:40:54] local.INFO: Processing buffer {"connection_id":172864,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:40:54] local.INFO: IMEI packet received {"connection_id":172864,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 11:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":172864,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:40:59] local.INFO: TCP Data received {"connection_id":174171,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:40:59] local.INFO: Processing buffer {"connection_id":174171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:40:59] local.INFO: IMEI packet received {"connection_id":174171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":174171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:41:02] local.INFO: TCP Data received {"connection_id":174171,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:41:02] local.INFO: Processing buffer {"connection_id":174171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:41:02] local.INFO: IMEI packet received {"connection_id":174171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":174171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:41:03] local.INFO: TCP Data received {"connection_id":174171,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0702f3890012d5d6ec00634fb50000c009f2f..."} 
[2026-09-05 11:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0702f3890012d5d6ec00634fb50000c009f2f..."} 
[2026-09-05 11:41:03] local.INFO: Processing buffer {"connection_id":174171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0702f3890012d5d6ec00634fb50000c009f2f..."} 
[2026-09-05 11:41:03] local.INFO: Packet analysis {"connection_id":174171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0702f"} 
[2026-09-05 11:41:03] local.INFO: Extracted packet for processing {"connection_id":174171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0702f"} 
[2026-09-05 11:41:03] local.INFO: GPS Element Parsed {"raw_longitude":761097920,"raw_latitude":104135504,"longitude_deg":76.109792,"latitude_deg":10.4135504,"altitude":12,"angle":159,"satellites":47,"speed":0,"hex_longitude":"2d5d6ec0","hex_latitude":"0634fb50","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878660352001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399573220002365440,"note":"Value kept but may cause issues"} 
[2026-09-05 11:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6730911144740755456,"note":"Value kept but may cause issues"} 
[2026-09-05 11:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788588538000,"timestamp_ms":1788588538000,"timestamp_seconds":1788588538,"priority":1,"record_length":96,"hex_timestamp":"000001a0702f3890"} 
[2026-09-05 11:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:41: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-09-05 11: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 11:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:41: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-09-05 11:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878660352001,"66":27908,"189":206,"78":38656,"24":0,"16":399573220002365440,"45":6730911144740755456},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,78,24,16,45]} 
[2026-09-05 11:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878660352001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:41:03] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-05 11:41:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399573220002365440,"km_value":399573220002365.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6730911144740755456,"description":"Unknown IO ID 45"} 
[2026-09-05 11:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878660352001,"power":27908,"unknown_189":206,"unknown_78":38656,"ignition":0,"odometer":null,"unknown_45":6730911144740755456}} 
[2026-09-05 11:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":174171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:41:03] local.INFO: GPS data processed {"connection_id":174171,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:41:03] local.INFO: Acknowledgment sent {"connection_id":174171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:41:08] local.INFO: TCP Data received {"connection_id":174171,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0702f53e8012d5d71c00634fcb8000c00472f..."} 
[2026-09-05 11:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0702f53e8012d5d71c00634fcb8000c00472f..."} 
[2026-09-05 11:41:08] local.INFO: Processing buffer {"connection_id":174171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0702f53e8012d5d71c00634fcb8000c00472f..."} 
[2026-09-05 11:41:08] local.INFO: Packet analysis {"connection_id":174171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0702f"} 
[2026-09-05 11:41:08] local.INFO: Extracted packet for processing {"connection_id":174171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0702f"} 
[2026-09-05 11:41:08] local.INFO: GPS Element Parsed {"raw_longitude":761098688,"raw_latitude":104135864,"longitude_deg":76.1098688,"latitude_deg":10.4135864,"altitude":12,"angle":71,"satellites":47,"speed":6,"hex_longitude":"2d5d71c0","hex_latitude":"0634fcb8","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878665728001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399573258657071104,"note":"Value kept but may cause issues"} 
[2026-09-05 11:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6732529625856692224,"note":"Value kept but may cause issues"} 
[2026-09-05 11:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788588545000,"timestamp_ms":1788588545000,"timestamp_seconds":1788588545,"priority":1,"record_length":96,"hex_timestamp":"000001a0702f53e8"} 
[2026-09-05 11:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:41:08] 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-09-05 11:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 11:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:41: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-09-05 11:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878665728001,"66":27800,"189":206,"78":38656,"24":6,"16":399573258657071104,"45":6732529625856692224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,78,24,16,45]} 
[2026-09-05 11:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878665728001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:41:08] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-05 11:41:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399573258657071104,"km_value":399573258657071.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6732529625856692224,"description":"Unknown IO ID 45"} 
[2026-09-05 11:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878665728001,"power":27800,"unknown_189":206,"unknown_78":38656,"ignition":6,"odometer":null,"unknown_45":6732529625856692224}} 
[2026-09-05 11:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":174171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:41:08] local.INFO: GPS data processed {"connection_id":174171,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:41:08] local.INFO: Acknowledgment sent {"connection_id":174171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:41:40] local.INFO: TCP Data received {"connection_id":174171,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0702fa5f0012d5d7b0006350030000a003d30..."} 
[2026-09-05 11:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0702fa5f0012d5d7b0006350030000a003d30..."} 
[2026-09-05 11:41:40] local.INFO: Processing buffer {"connection_id":174171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0702fa5f0012d5d7b0006350030000a003d30..."} 
[2026-09-05 11:41:40] local.INFO: Packet analysis {"connection_id":174171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0702f"} 
[2026-09-05 11:41:40] local.INFO: Extracted packet for processing {"connection_id":174171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0702f"} 
[2026-09-05 11:41:40] local.INFO: GPS Element Parsed {"raw_longitude":761101056,"raw_latitude":104136752,"longitude_deg":76.1101056,"latitude_deg":10.4136752,"altitude":10,"angle":61,"satellites":48,"speed":5,"hex_longitude":"2d5d7b00","hex_latitude":"06350030","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878667520001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399573383211122688,"note":"Value kept but may cause issues"} 
[2026-09-05 11:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6733374050786916352,"note":"Value kept but may cause issues"} 
[2026-09-05 11:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788588566000,"timestamp_ms":1788588566000,"timestamp_seconds":1788588566,"priority":1,"record_length":96,"hex_timestamp":"000001a0702fa5f0"} 
[2026-09-05 11:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:41: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-09-05 11: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 11:41:40] 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-09-05 11: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-09-05 11:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":174171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":174171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":174171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:41:40] 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-09-05 11:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878667520001,"66":27995,"189":206,"78":38656,"24":5,"16":399573383211122688,"45":6733374050786916352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,78,24,16,45]} 
[2026-09-05 11:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878667520001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:41:40] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-05 11:41:40] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399573383211122688,"km_value":399573383211122.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":6733374050786916352,"description":"Unknown IO ID 45"} 
[2026-09-05 11:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878667520001,"power":27995,"unknown_189":206,"unknown_78":38656,"ignition":5,"odometer":null,"unknown_45":6733374050786916352}} 
[2026-09-05 11:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":174171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:41:40] local.INFO: GPS data processed {"connection_id":174171,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:41:40] local.INFO: Acknowledgment sent {"connection_id":174171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:41:56] local.INFO: TCP Data received {"connection_id":174173,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:41:56] local.INFO: Processing buffer {"connection_id":174173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:41:56] local.INFO: IMEI packet received {"connection_id":174173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":174173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:42:14] local.INFO: TCP Data received {"connection_id":174173,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:42:14] local.INFO: Processing buffer {"connection_id":174173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:42:14] local.INFO: IMEI packet received {"connection_id":174173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":174173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:42:15] local.INFO: TCP Data received {"connection_id":174173,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:42:15] local.INFO: Processing buffer {"connection_id":174173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:42:15] local.INFO: IMEI packet received {"connection_id":174173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":174173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:42:16] local.INFO: TCP Data received {"connection_id":174173,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0702fb1a8012d5d7c80063500b8000b004c30..."} 
[2026-09-05 11:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0702fb1a8012d5d7c80063500b8000b004c30..."} 
[2026-09-05 11:42:16] local.INFO: Processing buffer {"connection_id":174173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0702fb1a8012d5d7c80063500b8000b004c30..."} 
[2026-09-05 11:42:16] local.INFO: Packet analysis {"connection_id":174173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0702f"} 
[2026-09-05 11:42:16] local.INFO: Extracted packet for processing {"connection_id":174173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0702f"} 
[2026-09-05 11:42:16] local.INFO: GPS Element Parsed {"raw_longitude":761101440,"raw_latitude":104136888,"longitude_deg":76.110144,"latitude_deg":10.4136888,"altitude":11,"angle":76,"satellites":48,"speed":5,"hex_longitude":"2d5d7c80","hex_latitude":"063500b8","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878672896001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399573400390991872,"note":"Value kept but may cause issues"} 
[2026-09-05 11:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6735977694321717248,"note":"Value kept but may cause issues"} 
[2026-09-05 11:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788588569000,"timestamp_ms":1788588569000,"timestamp_seconds":1788588569,"priority":1,"record_length":96,"hex_timestamp":"000001a0702fb1a8"} 
[2026-09-05 11:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:42: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-09-05 11: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 11:42:16] 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-09-05 11: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-09-05 11:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":174173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":174173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":174173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:42:16] 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-09-05 11:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878672896001,"66":28104,"189":206,"78":38656,"24":5,"16":399573400390991872,"45":6735977694321717248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,78,24,16,45]} 
[2026-09-05 11:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878672896001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:42:16] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-05 11:42:16] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399573400390991872,"km_value":399573400390991.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":6735977694321717248,"description":"Unknown IO ID 45"} 
[2026-09-05 11:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878672896001,"power":28104,"unknown_189":206,"unknown_78":38656,"ignition":5,"odometer":null,"unknown_45":6735977694321717248}} 
[2026-09-05 11:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":174173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:42:16] local.INFO: GPS data processed {"connection_id":174173,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:42:16] local.INFO: Acknowledgment sent {"connection_id":174173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:42:16] local.INFO: TCP Data received {"connection_id":174173,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0703003b0012d5d88c0063505c0000f004530..."} 
[2026-09-05 11:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0703003b0012d5d88c0063505c0000f004530..."} 
[2026-09-05 11:42:16] local.INFO: Processing buffer {"connection_id":174173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0703003b0012d5d88c0063505c0000f004530..."} 
[2026-09-05 11:42:16] local.INFO: Packet analysis {"connection_id":174173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07030"} 
[2026-09-05 11:42:16] local.INFO: Extracted packet for processing {"connection_id":174173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07030"} 
[2026-09-05 11:42:16] local.INFO: GPS Element Parsed {"raw_longitude":761104576,"raw_latitude":104138176,"longitude_deg":76.1104576,"latitude_deg":10.4138176,"altitude":15,"angle":69,"satellites":48,"speed":0,"hex_longitude":"2d5d88c0","hex_latitude":"063505c0","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878673664001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399573563599749120,"note":"Value kept but may cause issues"} 
[2026-09-05 11:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6736399906786818048,"note":"Value kept but may cause issues"} 
[2026-09-05 11:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788588590000,"timestamp_ms":1788588590000,"timestamp_seconds":1788588590,"priority":1,"record_length":96,"hex_timestamp":"000001a0703003b0"} 
[2026-09-05 11:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:42: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-09-05 11: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 11:42:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":174173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":174173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":174173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:42:16] 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-09-05 11:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878673664001,"66":27876,"189":206,"78":38656,"24":0,"16":399573563599749120,"45":6736399906786818048},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,78,24,16,45]} 
[2026-09-05 11:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878673664001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:42:16] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-05 11:42:16] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399573563599749120,"km_value":399573563599749.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":6736399906786818048,"description":"Unknown IO ID 45"} 
[2026-09-05 11:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878673664001,"power":27876,"unknown_189":206,"unknown_78":38656,"ignition":0,"odometer":null,"unknown_45":6736399906786818048}} 
[2026-09-05 11:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":174173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:42:16] local.INFO: GPS data processed {"connection_id":174173,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:42:16] local.INFO: Acknowledgment sent {"connection_id":174173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:42:55] local.INFO: TCP Data received {"connection_id":174175,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:42:55] local.INFO: Processing buffer {"connection_id":174175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:42:55] local.INFO: IMEI packet received {"connection_id":174175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":174175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:42:56] local.INFO: TCP Data received {"connection_id":174175,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070318e38012d0be7800724c4880029012725..."} 
[2026-09-05 11:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070318e38012d0be7800724c4880029012725..."} 
[2026-09-05 11:42:56] local.INFO: Processing buffer {"connection_id":174175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070318e38012d0be7800724c4880029012725..."} 
[2026-09-05 11:42:56] local.INFO: Packet analysis {"connection_id":174175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07031"} 
[2026-09-05 11:42:56] local.INFO: Extracted packet for processing {"connection_id":174175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07031"} 
[2026-09-05 11:42:56] local.INFO: GPS Element Parsed {"raw_longitude":755754880,"raw_latitude":119850120,"longitude_deg":75.575488,"latitude_deg":11.985012,"altitude":41,"angle":295,"satellites":37,"speed":29,"hex_longitude":"2d0be780","hex_latitude":"0724c488","is_valid_coordinates":true} 
[2026-09-05 11:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878701824001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17565295254175744,"note":"Value kept but may cause issues"} 
[2026-09-05 11:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":867435540159033344,"note":"Value kept but may cause issues"} 
[2026-09-05 11:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788588691000,"timestamp_ms":1788588691000,"timestamp_seconds":1788588691,"priority":1,"record_length":96,"hex_timestamp":"000001a070318e38"} 
[2026-09-05 11:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:42:56] 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-09-05 11:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-05 11:42:56] 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-09-05 11:42:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878701824001,"66":13820,"115":206,"83":41984,"24":29,"16":17565295254175744,"45":867435540159033344},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,45]} 
[2026-09-05 11:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878701824001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:42:56] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-05 11:42:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17565295254175744,"km_value":17565295254175.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":867435540159033344,"description":"Unknown IO ID 45"} 
[2026-09-05 11:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878701824001,"power":13820,"unknown_115":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":867435540159033344}} 
[2026-09-05 11:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":174175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:42:56] local.INFO: GPS data processed {"connection_id":174175,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:42:56] local.INFO: Acknowledgment sent {"connection_id":174175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:42:56] local.INFO: TCP Data received {"connection_id":174177,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:42:56] local.INFO: Processing buffer {"connection_id":174177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:42:56] local.INFO: IMEI packet received {"connection_id":174177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":174177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:43:01] local.INFO: TCP Data received {"connection_id":174177,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:43:01] local.INFO: Processing buffer {"connection_id":174177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:43:01] local.INFO: IMEI packet received {"connection_id":174177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":174177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:43:01] local.INFO: TCP Data received {"connection_id":174177,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:43:01] local.INFO: Processing buffer {"connection_id":174177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:43:01] local.INFO: IMEI packet received {"connection_id":174177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":174177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:43:02] local.INFO: TCP Data received {"connection_id":174177,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07031ccb8012d5e44c00634dcd80009006530..."} 
[2026-09-05 11:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07031ccb8012d5e44c00634dcd80009006530..."} 
[2026-09-05 11:43:02] local.INFO: Processing buffer {"connection_id":174177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07031ccb8012d5e44c00634dcd80009006530..."} 
[2026-09-05 11:43:02] local.INFO: Packet analysis {"connection_id":174177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07031"} 
[2026-09-05 11:43:02] local.INFO: Extracted packet for processing {"connection_id":174177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07031"} 
[2026-09-05 11:43:02] local.INFO: GPS Element Parsed {"raw_longitude":761152704,"raw_latitude":104127704,"longitude_deg":76.1152704,"latitude_deg":10.4127704,"altitude":9,"angle":101,"satellites":48,"speed":30,"hex_longitude":"2d5e44c0","hex_latitude":"0634dcd8","is_valid_coordinates":true} 
[2026-09-05 11:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878707456001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399576119105290240,"note":"Value kept but may cause issues"} 
[2026-09-05 11:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6787839458778773504,"note":"Value kept but may cause issues"} 
[2026-09-05 11:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788588707000,"timestamp_ms":1788588707000,"timestamp_seconds":1788588707,"priority":1,"record_length":96,"hex_timestamp":"000001a07031ccb8"} 
[2026-09-05 11:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 11:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11: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-09-05 11:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878707456001,"66":27267,"111":206,"78":38656,"24":30,"16":399576119105290240,"45":6787839458778773504},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,78,24,16,45]} 
[2026-09-05 11:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878707456001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:43:02] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-05 11:43:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399576119105290240,"km_value":399576119105290.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6787839458778773504,"description":"Unknown IO ID 45"} 
[2026-09-05 11:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878707456001,"power":27267,"unknown_111":206,"unknown_78":38656,"ignition":30,"odometer":null,"unknown_45":6787839458778773504}} 
[2026-09-05 11:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":174177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:43:02] local.INFO: GPS data processed {"connection_id":174177,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:43:02] local.INFO: Acknowledgment sent {"connection_id":174177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:43:07] local.INFO: TCP Data received {"connection_id":174177,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07031d488012d5e4ac00634dc38000a005931..."} 
[2026-09-05 11:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07031d488012d5e4ac00634dc38000a005931..."} 
[2026-09-05 11:43:07] local.INFO: Processing buffer {"connection_id":174177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07031d488012d5e4ac00634dc38000a005931..."} 
[2026-09-05 11:43:07] local.INFO: Packet analysis {"connection_id":174177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07031"} 
[2026-09-05 11:43:07] local.INFO: Extracted packet for processing {"connection_id":174177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07031"} 
[2026-09-05 11:43:07] local.INFO: GPS Element Parsed {"raw_longitude":761154240,"raw_latitude":104127544,"longitude_deg":76.115424,"latitude_deg":10.4127544,"altitude":10,"angle":89,"satellites":49,"speed":30,"hex_longitude":"2d5e4ac0","hex_latitude":"0634dc38","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878708992001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399576192119734272,"note":"Value kept but may cause issues"} 
[2026-09-05 11:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6792765270870775808,"note":"Value kept but may cause issues"} 
[2026-09-05 11:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788588709000,"timestamp_ms":1788588709000,"timestamp_seconds":1788588709,"priority":1,"record_length":96,"hex_timestamp":"000001a07031d488"} 
[2026-09-05 11:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:43:07] 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-09-05 11: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-05 11:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878708992001,"66":27995,"111":206,"78":38656,"24":30,"16":399576192119734272,"45":6792765270870775808},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,78,24,16,45]} 
[2026-09-05 11:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878708992001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:43:07] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-05 11:43:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399576192119734272,"km_value":399576192119734.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6792765270870775808,"description":"Unknown IO ID 45"} 
[2026-09-05 11:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878708992001,"power":27995,"unknown_111":206,"unknown_78":38656,"ignition":30,"odometer":null,"unknown_45":6792765270870775808}} 
[2026-09-05 11:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":174177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:43:07] local.INFO: GPS data processed {"connection_id":174177,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:43:07] local.INFO: Acknowledgment sent {"connection_id":174177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:43:27] local.INFO: TCP Data received {"connection_id":174175,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070326510012d0b26800724a0980016010d26..."} 
[2026-09-05 11:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070326510012d0b26800724a0980016010d26..."} 
[2026-09-05 11:43:27] local.INFO: Processing buffer {"connection_id":174175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070326510012d0b26800724a0980016010d26..."} 
[2026-09-05 11:43:27] local.INFO: Packet analysis {"connection_id":174175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07032"} 
[2026-09-05 11:43:27] local.INFO: Extracted packet for processing {"connection_id":174175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07032"} 
[2026-09-05 11:43:27] local.INFO: GPS Element Parsed {"raw_longitude":755705472,"raw_latitude":119840920,"longitude_deg":75.5705472,"latitude_deg":11.984092,"altitude":22,"angle":269,"satellites":38,"speed":54,"hex_longitude":"2d0b2680","hex_latitude":"0724a098","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878717184001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17567773450305536,"note":"Value kept but may cause issues"} 
[2026-09-05 11:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":813955294582366208,"note":"Value kept but may cause issues"} 
[2026-09-05 11:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788588746000,"timestamp_ms":1788588746000,"timestamp_seconds":1788588746,"priority":1,"record_length":96,"hex_timestamp":"000001a070326510"} 
[2026-09-05 11:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:43:27] 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-09-05 11: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-05 11:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6986674640,"note":"Value kept but may cause issues"} 
[2026-09-05 11:43:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 11:43:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 11:43:27] local.WARNING: Large IO value detected {"io_id":160,"raw_value":84736846449812673,"note":"Value kept but may cause issues"} 
[2026-09-05 11:43:27] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3690987520,"note":"Value kept but may cause issues"} 
[2026-09-05 11:43:27] local.WARNING: Large IO value detected {"io_id":240,"raw_value":13230372514963456,"note":"Value kept but may cause issues"} 
[2026-09-05 11:43:27] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503867668758528,"note":"Value kept but may cause issues"} 
[2026-09-05 11:43:27] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2827485225,"note":"Value kept but may cause issues"} 
[2026-09-05 11:43:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1786052814,"corrected_to":0} 
[2026-09-05 11:43:27] local.WARNING: Large IO value detected {"io_id":129,"raw_value":3221693608,"note":"Value kept but may cause issues"} 
[2026-09-05 11:43:27] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,117,83,24,241,157,16,105,160,42,45,172,37,39,10,66,38,173,104,22,64,1,240,5,227,112,36,4,113,205,31,11,129,168,239,56,2,62,7,206],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1786052814,"validated":0}]} 
[2026-09-05 11:43:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2089962864699834368,"timestamp_seconds":2089962864699834.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 11:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878717184001,"66":14396,"117":206,"83":41984,"24":54,"16":17567773450305536,"45":813955294582366208},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-09-05 11:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878717184001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:43:27] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-05 11:43:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17567773450305536,"km_value":17567773450305.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":813955294582366208,"description":"Unknown IO ID 45"} 
[2026-09-05 11:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878717184001,"power":14396,"unknown_117":206,"unknown_83":41984,"ignition":54,"odometer":null,"unknown_45":813955294582366208}} 
[2026-09-05 11:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":174175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:43:27] local.INFO: GPS data processed {"connection_id":174175,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:43:27] local.INFO: Acknowledgment sent {"connection_id":174175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:43:38] local.INFO: TCP Data received {"connection_id":174177,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07031e040012d5e54000634dda0000a004930..."} 
[2026-09-05 11:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07031e040012d5e54000634dda0000a004930..."} 
[2026-09-05 11:43:38] local.INFO: Processing buffer {"connection_id":174177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07031e040012d5e54000634dda0000a004930..."} 
[2026-09-05 11:43:38] local.INFO: Packet analysis {"connection_id":174177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07031"} 
[2026-09-05 11:43:38] local.INFO: Extracted packet for processing {"connection_id":174177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07031"} 
[2026-09-05 11:43:38] local.INFO: GPS Element Parsed {"raw_longitude":761156608,"raw_latitude":104127904,"longitude_deg":76.1156608,"latitude_deg":10.4127904,"altitude":10,"angle":73,"satellites":48,"speed":31,"hex_longitude":"2d5e5400","hex_latitude":"0634dda0","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878709504001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399576303788883968,"note":"Value kept but may cause issues"} 
[2026-09-05 11:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6794454120730998784,"note":"Value kept but may cause issues"} 
[2026-09-05 11:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788588712000,"timestamp_ms":1788588712000,"timestamp_seconds":1788588712,"priority":1,"record_length":96,"hex_timestamp":"000001a07031e040"} 
[2026-09-05 11:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:43: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-09-05 11: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 11:43:38] 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-09-05 11: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-09-05 11:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:43: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-09-05 11:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878709504001,"66":27658,"111":206,"78":38656,"24":31,"16":399576303788883968,"45":6794454120730998784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,78,24,16,45]} 
[2026-09-05 11:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878709504001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:43:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-05 11:43:38] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399576303788883968,"km_value":399576303788883.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6794454120730998784,"description":"Unknown IO ID 45"} 
[2026-09-05 11:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878709504001,"power":27658,"unknown_111":206,"unknown_78":38656,"ignition":31,"odometer":null,"unknown_45":6794454120730998784}} 
[2026-09-05 11:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":174177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:43:38] local.INFO: GPS data processed {"connection_id":174177,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:43:38] local.INFO: Acknowledgment sent {"connection_id":174177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:43:44] local.INFO: TCP Data received {"connection_id":171476,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:43:44] local.INFO: Processing buffer {"connection_id":171476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:43:44] local.INFO: IMEI packet received {"connection_id":171476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":171476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:43:45] local.INFO: TCP Data received {"connection_id":171476,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:43:45] local.INFO: Processing buffer {"connection_id":171476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:43:45] local.INFO: IMEI packet received {"connection_id":171476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":171476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:43:48] local.INFO: TCP Data received {"connection_id":171476,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:43:48] local.INFO: Processing buffer {"connection_id":171476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:43:48] local.INFO: IMEI packet received {"connection_id":171476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":171476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:43:49] local.INFO: TCP Data received {"connection_id":171476,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070328068012d0b00800724a1d00013011227..."} 
[2026-09-05 11:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070328068012d0b00800724a1d00013011227..."} 
[2026-09-05 11:43:49] local.INFO: Processing buffer {"connection_id":171476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070328068012d0b00800724a1d00013011227..."} 
[2026-09-05 11:43:49] local.INFO: Packet analysis {"connection_id":171476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07032"} 
[2026-09-05 11:43:49] local.INFO: Extracted packet for processing {"connection_id":171476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07032"} 
[2026-09-05 11:43:49] local.INFO: GPS Element Parsed {"raw_longitude":755695744,"raw_latitude":119841232,"longitude_deg":75.5695744,"latitude_deg":11.9841232,"altitude":19,"angle":274,"satellites":39,"speed":54,"hex_longitude":"2d0b0080","hex_latitude":"0724a1d0","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878718976001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17568237306773504,"note":"Value kept but may cause issues"} 
[2026-09-05 11:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803470351699843072,"note":"Value kept but may cause issues"} 
[2026-09-05 11:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788588753000,"timestamp_ms":1788588753000,"timestamp_seconds":1788588753,"priority":1,"record_length":96,"hex_timestamp":"000001a070328068"} 
[2026-09-05 11:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:43:49] 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-09-05 11: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 11:43:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":171476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":171476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":171476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878718976001,"66":14374,"117":206,"83":41984,"24":54,"16":17568237306773504,"45":803470351699843072},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-09-05 11:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878718976001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:43:49] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-05 11:43:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17568237306773504,"km_value":17568237306773.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":803470351699843072,"description":"Unknown IO ID 45"} 
[2026-09-05 11:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878718976001,"power":14374,"unknown_117":206,"unknown_83":41984,"ignition":54,"odometer":null,"unknown_45":803470351699843072}} 
[2026-09-05 11:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":171476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:43:49] local.INFO: GPS data processed {"connection_id":171476,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:43:49] local.INFO: Acknowledgment sent {"connection_id":171476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:44:02] local.INFO: TCP Data received {"connection_id":172865,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:44:02] local.INFO: Processing buffer {"connection_id":172865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:44:02] local.INFO: IMEI packet received {"connection_id":172865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":172865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:44:06] local.INFO: TCP Data received {"connection_id":172865,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:44:06] local.INFO: Processing buffer {"connection_id":172865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:44:06] local.INFO: IMEI packet received {"connection_id":172865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":172865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:44:09] local.INFO: TCP Data received {"connection_id":172865,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a070321ec0012d5e75800634e8d0000c004531..."} 
[2026-09-05 11:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070321ec0012d5e75800634e8d0000c004531..."} 
[2026-09-05 11:44:09] local.INFO: Processing buffer {"connection_id":172865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070321ec0012d5e75800634e8d0000c004531..."} 
[2026-09-05 11:44:09] local.INFO: Packet analysis {"connection_id":172865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07032"} 
[2026-09-05 11:44:09] local.INFO: Extracted packet for processing {"connection_id":172865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07032"} 
[2026-09-05 11:44:09] local.INFO: GPS Element Parsed {"raw_longitude":761165184,"raw_latitude":104130768,"longitude_deg":76.1165184,"latitude_deg":10.4130768,"altitude":12,"angle":69,"satellites":49,"speed":23,"hex_longitude":"2d5e7580","hex_latitude":"0634e8d0","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878710272001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399576737580580864,"note":"Value kept but may cause issues"} 
[2026-09-05 11:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6797057764265664512,"note":"Value kept but may cause issues"} 
[2026-09-05 11:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788588728000,"timestamp_ms":1788588728000,"timestamp_seconds":1788588728,"priority":1,"record_length":96,"hex_timestamp":"000001a070321ec0"} 
[2026-09-05 11:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:44: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-09-05 11: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-05 11:44:09] 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-09-05 11: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-09-05 11:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:44:09] 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-09-05 11:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878710272001,"66":28017,"165":206,"78":38656,"24":23,"16":399576737580580864,"45":6797057764265664512},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,78,24,16,45]} 
[2026-09-05 11:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878710272001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:44:09] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-05 11:44:09] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399576737580580864,"km_value":399576737580580.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6797057764265664512,"description":"Unknown IO ID 45"} 
[2026-09-05 11:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878710272001,"power":28017,"unknown_165":206,"unknown_78":38656,"ignition":23,"odometer":null,"unknown_45":6797057764265664512}} 
[2026-09-05 11:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":172865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:44:09] local.INFO: GPS data processed {"connection_id":172865,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:44:09] local.INFO: Acknowledgment sent {"connection_id":172865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:44:20] local.INFO: TCP Data received {"connection_id":171476,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070329fa8012d0ad9800724a4600012011125..."} 
[2026-09-05 11:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070329fa8012d0ad9800724a4600012011125..."} 
[2026-09-05 11:44:20] local.INFO: Processing buffer {"connection_id":171476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070329fa8012d0ad9800724a4600012011125..."} 
[2026-09-05 11:44:20] local.INFO: Packet analysis {"connection_id":171476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07032"} 
[2026-09-05 11:44:20] local.INFO: Extracted packet for processing {"connection_id":171476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07032"} 
[2026-09-05 11:44:20] local.INFO: GPS Element Parsed {"raw_longitude":755685760,"raw_latitude":119841888,"longitude_deg":75.568576,"latitude_deg":11.9841888,"altitude":18,"angle":273,"satellites":37,"speed":43,"hex_longitude":"2d0ad980","hex_latitude":"0724a460","is_valid_coordinates":true} 
[2026-09-05 11:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878720768001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17568709753176064,"note":"Value kept but may cause issues"} 
[2026-09-05 11:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":792774302584918016,"note":"Value kept but may cause issues"} 
[2026-09-05 11:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788588761000,"timestamp_ms":1788588761000,"timestamp_seconds":1788588761,"priority":1,"record_length":96,"hex_timestamp":"000001a070329fa8"} 
[2026-09-05 11:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 11:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":171476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":171476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":171476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878720768001,"66":14276,"117":206,"83":41984,"24":43,"16":17568709753176064,"45":792774302584918016},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-09-05 11:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878720768001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:44:20] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-05 11:44:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17568709753176064,"km_value":17568709753176.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":792774302584918016,"description":"Unknown IO ID 45"} 
[2026-09-05 11:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878720768001,"power":14276,"unknown_117":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":792774302584918016}} 
[2026-09-05 11:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":171476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:44:21] local.INFO: GPS data processed {"connection_id":171476,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:44:21] local.INFO: Acknowledgment sent {"connection_id":171476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:44:41] local.INFO: TCP Data received {"connection_id":172865,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a070325570012d5e97800634f4b8000b00472f..."} 
[2026-09-05 11:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070325570012d5e97800634f4b8000b00472f..."} 
[2026-09-05 11:44:41] local.INFO: Processing buffer {"connection_id":172865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070325570012d5e97800634f4b8000b00472f..."} 
[2026-09-05 11:44:41] local.INFO: Packet analysis {"connection_id":172865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07032"} 
[2026-09-05 11:44:41] local.INFO: Extracted packet for processing {"connection_id":172865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07032"} 
[2026-09-05 11:44:41] local.INFO: GPS Element Parsed {"raw_longitude":761173888,"raw_latitude":104133816,"longitude_deg":76.1173888,"latitude_deg":10.4133816,"altitude":11,"angle":71,"satellites":47,"speed":25,"hex_longitude":"2d5e9780","hex_latitude":"0634f4b8","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878714368001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399577175667245056,"note":"Value kept but may cause issues"} 
[2026-09-05 11:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6806487175986204672,"note":"Value kept but may cause issues"} 
[2026-09-05 11:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788588742000,"timestamp_ms":1788588742000,"timestamp_seconds":1788588742,"priority":1,"record_length":96,"hex_timestamp":"000001a070325570"} 
[2026-09-05 11:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:44: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-09-05 11: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-05 11:44:41] 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-09-05 11: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-09-05 11:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":172865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":172865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":172865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:44: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-09-05 11:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878714368001,"66":28093,"165":206,"78":38656,"24":25,"16":399577175667245056,"45":6806487175986204672},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,78,24,16,45]} 
[2026-09-05 11:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878714368001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:44:41] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-05 11:44:41] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399577175667245056,"km_value":399577175667245.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6806487175986204672,"description":"Unknown IO ID 45"} 
[2026-09-05 11:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878714368001,"power":28093,"unknown_165":206,"unknown_78":38656,"ignition":25,"odometer":null,"unknown_45":6806487175986204672}} 
[2026-09-05 11:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":172865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:44:41] local.INFO: GPS data processed {"connection_id":172865,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:44:41] local.INFO: Acknowledgment sent {"connection_id":172865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:44:45] local.INFO: TCP Data received {"connection_id":171774,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:44:45] local.INFO: Processing buffer {"connection_id":171774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:44:45] local.INFO: IMEI packet received {"connection_id":171774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":171774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:44:49] local.INFO: TCP Data received {"connection_id":171774,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:44:49] local.INFO: Processing buffer {"connection_id":171774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:44:49] local.INFO: IMEI packet received {"connection_id":171774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":171774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:44:50] local.INFO: TCP Data received {"connection_id":171774,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:44:50] local.INFO: Processing buffer {"connection_id":171774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:44:50] local.INFO: IMEI packet received {"connection_id":171774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":171774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:44:51] local.INFO: TCP Data received {"connection_id":171774,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070339d90012d09cfc007248ad8001b00e426..."} 
[2026-09-05 11:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070339d90012d09cfc007248ad8001b00e426..."} 
[2026-09-05 11:44:51] local.INFO: Processing buffer {"connection_id":171774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070339d90012d09cfc007248ad8001b00e426..."} 
[2026-09-05 11:44:51] local.INFO: Packet analysis {"connection_id":171774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07033"} 
[2026-09-05 11:44:51] local.INFO: Extracted packet for processing {"connection_id":171774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07033"} 
[2026-09-05 11:44:51] local.INFO: GPS Element Parsed {"raw_longitude":755617728,"raw_latitude":119835352,"longitude_deg":75.5617728,"latitude_deg":11.9835352,"altitude":27,"angle":228,"satellites":38,"speed":45,"hex_longitude":"2d09cfc0","hex_latitude":"07248ad8","is_valid_coordinates":true} 
[2026-09-05 11:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878737408001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17572390540148736,"note":"Value kept but may cause issues"} 
[2026-09-05 11:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":713468727896946688,"note":"Value kept but may cause issues"} 
[2026-09-05 11:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788588826000,"timestamp_ms":1788588826000,"timestamp_seconds":1788588826,"priority":1,"record_length":96,"hex_timestamp":"000001a070339d90"} 
[2026-09-05 11:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 11:44:51] 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-09-05 11:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878737408001,"66":14004,"117":206,"83":41984,"24":45,"16":17572390540148736,"45":713468727896946688},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-09-05 11:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878737408001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:44:51] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-05 11:44:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17572390540148736,"km_value":17572390540148.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":713468727896946688,"description":"Unknown IO ID 45"} 
[2026-09-05 11:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878737408001,"power":14004,"unknown_117":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":713468727896946688}} 
[2026-09-05 11:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":171774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:44:51] local.INFO: GPS data processed {"connection_id":171774,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:44:51] local.INFO: Acknowledgment sent {"connection_id":171774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:44:51] local.INFO: TCP Data received {"connection_id":171774,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07033bcd0012d09b34007247470001900ec27..."} 
[2026-09-05 11:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07033bcd0012d09b34007247470001900ec27..."} 
[2026-09-05 11:44:51] local.INFO: Processing buffer {"connection_id":171774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07033bcd0012d09b34007247470001900ec27..."} 
[2026-09-05 11:44:51] local.INFO: Packet analysis {"connection_id":171774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07033"} 
[2026-09-05 11:44:51] local.INFO: Extracted packet for processing {"connection_id":171774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07033"} 
[2026-09-05 11:44:51] local.INFO: GPS Element Parsed {"raw_longitude":755610432,"raw_latitude":119829616,"longitude_deg":75.5610432,"latitude_deg":11.9829616,"altitude":25,"angle":236,"satellites":39,"speed":42,"hex_longitude":"2d09b340","hex_latitude":"07247470","is_valid_coordinates":true} 
[2026-09-05 11:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878739456001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17572837216747520,"note":"Value kept but may cause issues"} 
[2026-09-05 11:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":706994803430840320,"note":"Value kept but may cause issues"} 
[2026-09-05 11:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788588834000,"timestamp_ms":1788588834000,"timestamp_seconds":1788588834,"priority":1,"record_length":96,"hex_timestamp":"000001a07033bcd0"} 
[2026-09-05 11:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-05 11:44:51] 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-09-05 11:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878739456001,"66":14265,"117":206,"83":41984,"24":42,"16":17572837216747520,"45":706994803430840320},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-09-05 11:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878739456001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:44:51] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-05 11:44:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 11:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17572837216747520,"km_value":17572837216747.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":706994803430840320,"description":"Unknown IO ID 45"} 
[2026-09-05 11:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878739456001,"power":14265,"unknown_117":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":706994803430840320}} 
[2026-09-05 11:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":171774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:44:51] local.INFO: GPS data processed {"connection_id":171774,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:44:51] local.INFO: Acknowledgment sent {"connection_id":171774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:44:56] local.INFO: TCP Data received {"connection_id":171478,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:44:56] local.INFO: Processing buffer {"connection_id":171478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:44:56] local.INFO: IMEI packet received {"connection_id":171478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":171478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:45:01] local.INFO: TCP Data received {"connection_id":171478,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:45:01] local.INFO: Processing buffer {"connection_id":171478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:45:01] local.INFO: IMEI packet received {"connection_id":171478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":171478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:45:01] local.INFO: TCP Data received {"connection_id":171478,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a070327898012d5eaf000634fe100008003a2f..."} 
[2026-09-05 11:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070327898012d5eaf000634fe100008003a2f..."} 
[2026-09-05 11:45:01] local.INFO: Processing buffer {"connection_id":171478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070327898012d5eaf000634fe100008003a2f..."} 
[2026-09-05 11:45:01] local.INFO: Packet analysis {"connection_id":171478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07032"} 
[2026-09-05 11:45:01] local.INFO: Extracted packet for processing {"connection_id":171478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07032"} 
[2026-09-05 11:45:01] local.INFO: GPS Element Parsed {"raw_longitude":761179904,"raw_latitude":104136208,"longitude_deg":76.1179904,"latitude_deg":10.4136208,"altitude":8,"angle":58,"satellites":47,"speed":28,"hex_longitude":"2d5eaf00","hex_latitude":"0634fe10","is_valid_coordinates":true} 
[2026-09-05 11:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878717952001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399577484904890368,"note":"Value kept but may cause issues"} 
[2026-09-05 11:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6816057325195147264,"note":"Value kept but may cause issues"} 
[2026-09-05 11:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788588751000,"timestamp_ms":1788588751000,"timestamp_seconds":1788588751,"priority":1,"record_length":96,"hex_timestamp":"000001a070327898"} 
[2026-09-05 11:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-09-05 11:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878717952001,"66":27930,"165":206,"78":38656,"24":28,"16":399577484904890368,"45":6816057325195147264},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,78,24,16,45]} 
[2026-09-05 11:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878717952001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:45:01] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-05 11:45:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399577484904890368,"km_value":399577484904890.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6816057325195147264,"description":"Unknown IO ID 45"} 
[2026-09-05 11:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878717952001,"power":27930,"unknown_165":206,"unknown_78":38656,"ignition":28,"odometer":null,"unknown_45":6816057325195147264}} 
[2026-09-05 11:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":171478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:45:01] local.INFO: GPS data processed {"connection_id":171478,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:45:01] local.INFO: Acknowledgment sent {"connection_id":171478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:45:22] local.INFO: TCP Data received {"connection_id":171774,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0703464c8012d094400072454f80016012523..."} 
[2026-09-05 11:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0703464c8012d094400072454f80016012523..."} 
[2026-09-05 11:45:22] local.INFO: Processing buffer {"connection_id":171774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0703464c8012d094400072454f80016012523..."} 
[2026-09-05 11:45:22] local.INFO: Packet analysis {"connection_id":171774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07034"} 
[2026-09-05 11:45:22] local.INFO: Extracted packet for processing {"connection_id":171774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07034"} 
[2026-09-05 11:45:22] local.INFO: GPS Element Parsed {"raw_longitude":755581952,"raw_latitude":119821560,"longitude_deg":75.5581952,"latitude_deg":11.982156,"altitude":22,"angle":293,"satellites":35,"speed":33,"hex_longitude":"2d094400","hex_latitude":"072454f8","is_valid_coordinates":true} 
[2026-09-05 11:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878752256001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17574413469745152,"note":"Value kept but may cause issues"} 
[2026-09-05 11:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":668573469106229248,"note":"Value kept but may cause issues"} 
[2026-09-05 11:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788588877000,"timestamp_ms":1788588877000,"timestamp_seconds":1788588877,"priority":1,"record_length":96,"hex_timestamp":"000001a0703464c8"} 
[2026-09-05 11:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:45:22] 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-09-05 11:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-05 11:45:22] 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-09-05 11:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878752256001,"66":14026,"233":206,"83":44288,"24":33,"16":17574413469745152,"45":668573469106229248},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,45]} 
[2026-09-05 11:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878752256001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:45:22] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-09-05 11:45:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17574413469745152,"km_value":17574413469745.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":668573469106229248,"description":"Unknown IO ID 45"} 
[2026-09-05 11:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878752256001,"power":14026,"unknown_233":206,"unknown_83":44288,"ignition":33,"odometer":null,"unknown_45":668573469106229248}} 
[2026-09-05 11:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":171774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:45:23] local.INFO: GPS data processed {"connection_id":171774,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:45:23] local.INFO: Acknowledgment sent {"connection_id":171774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:45:32] local.INFO: TCP Data received {"connection_id":171478,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a070329fa8012d5ec4c006350c28000600462d..."} 
[2026-09-05 11:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070329fa8012d5ec4c006350c28000600462d..."} 
[2026-09-05 11:45:32] local.INFO: Processing buffer {"connection_id":171478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070329fa8012d5ec4c006350c28000600462d..."} 
[2026-09-05 11:45:32] local.INFO: Packet analysis {"connection_id":171478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07032"} 
[2026-09-05 11:45:32] local.INFO: Extracted packet for processing {"connection_id":171478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07032"} 
[2026-09-05 11:45:32] local.INFO: GPS Element Parsed {"raw_longitude":761185472,"raw_latitude":104139816,"longitude_deg":76.1185472,"latitude_deg":10.4139816,"altitude":6,"angle":70,"satellites":45,"speed":23,"hex_longitude":"2d5ec4c0","hex_latitude":"06350c28","is_valid_coordinates":true} 
[2026-09-05 11:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878720256001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399577807027437568,"note":"Value kept but may cause issues"} 
[2026-09-05 11:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6822671987148460032,"note":"Value kept but may cause issues"} 
[2026-09-05 11:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788588761000,"timestamp_ms":1788588761000,"timestamp_seconds":1788588761,"priority":1,"record_length":96,"hex_timestamp":"000001a070329fa8"} 
[2026-09-05 11:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:45: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-09-05 11:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 11:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:45: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-09-05 11:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878720256001,"66":27919,"165":206,"78":38656,"24":23,"16":399577807027437568,"45":6822671987148460032},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,78,24,16,45]} 
[2026-09-05 11:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878720256001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:45:32] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-05 11:45:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399577807027437568,"km_value":399577807027437.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6822671987148460032,"description":"Unknown IO ID 45"} 
[2026-09-05 11:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878720256001,"power":27919,"unknown_165":206,"unknown_78":38656,"ignition":23,"odometer":null,"unknown_45":6822671987148460032}} 
[2026-09-05 11:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":171478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:45:32] local.INFO: GPS data processed {"connection_id":171478,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:45:32] local.INFO: Acknowledgment sent {"connection_id":171478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:45:45] local.INFO: TCP Data received {"connection_id":174178,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:45:45] local.INFO: Processing buffer {"connection_id":174178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:45:45] local.INFO: IMEI packet received {"connection_id":174178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":174178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:45:51] local.INFO: TCP Data received {"connection_id":174178,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:45:51] local.INFO: Processing buffer {"connection_id":174178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:45:51] local.INFO: IMEI packet received {"connection_id":174178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":174178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:45:52] local.INFO: TCP Data received {"connection_id":174178,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0703468b0012d094100072456c00016013022..."} 
[2026-09-05 11:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0703468b0012d094100072456c00016013022..."} 
[2026-09-05 11:45:52] local.INFO: Processing buffer {"connection_id":174178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0703468b0012d094100072456c00016013022..."} 
[2026-09-05 11:45:52] local.INFO: Packet analysis {"connection_id":174178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07034"} 
[2026-09-05 11:45:52] local.INFO: Extracted packet for processing {"connection_id":174178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07034"} 
[2026-09-05 11:45:52] local.INFO: GPS Element Parsed {"raw_longitude":755581184,"raw_latitude":119822016,"longitude_deg":75.5581184,"latitude_deg":11.9822016,"altitude":22,"angle":304,"satellites":34,"speed":34,"hex_longitude":"2d094100","hex_latitude":"072456c0","is_valid_coordinates":true} 
[2026-09-05 11:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878752512001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17574456419418112,"note":"Value kept but may cause issues"} 
[2026-09-05 11:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":667658675431995392,"note":"Value kept but may cause issues"} 
[2026-09-05 11:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788588878000,"timestamp_ms":1788588878000,"timestamp_seconds":1788588878,"priority":1,"record_length":96,"hex_timestamp":"000001a0703468b0"} 
[2026-09-05 11:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-05 11:45:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878752512001,"66":14004,"233":206,"83":44288,"24":34,"16":17574456419418112,"45":667658675431995392},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,45]} 
[2026-09-05 11:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878752512001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:45:52] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-09-05 11:45:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17574456419418112,"km_value":17574456419418.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":667658675431995392,"description":"Unknown IO ID 45"} 
[2026-09-05 11:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878752512001,"power":14004,"unknown_233":206,"unknown_83":44288,"ignition":34,"odometer":null,"unknown_45":667658675431995392}} 
[2026-09-05 11:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":174178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:45:52] local.INFO: GPS data processed {"connection_id":174178,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:45:52] local.INFO: Acknowledgment sent {"connection_id":174178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:45:56] local.INFO: TCP Data received {"connection_id":172867,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:45:56] local.INFO: Processing buffer {"connection_id":172867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:45:56] local.INFO: IMEI packet received {"connection_id":172867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":172867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:46:01] local.INFO: TCP Data received {"connection_id":172867,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:46:01] local.INFO: Processing buffer {"connection_id":172867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:46:01] local.INFO: IMEI packet received {"connection_id":172867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":172867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:46:02] local.INFO: TCP Data received {"connection_id":172867,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07034dde0012d5fe580063533b80007005a2d..."} 
[2026-09-05 11:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07034dde0012d5fe580063533b80007005a2d..."} 
[2026-09-05 11:46:02] local.INFO: Processing buffer {"connection_id":172867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07034dde0012d5fe580063533b80007005a2d..."} 
[2026-09-05 11:46:02] local.INFO: Packet analysis {"connection_id":172867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07034"} 
[2026-09-05 11:46:02] local.INFO: Extracted packet for processing {"connection_id":172867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07034"} 
[2026-09-05 11:46:02] local.INFO: GPS Element Parsed {"raw_longitude":761259392,"raw_latitude":104149944,"longitude_deg":76.1259392,"latitude_deg":10.4149944,"altitude":7,"angle":90,"satellites":45,"speed":28,"hex_longitude":"2d5fe580","hex_latitude":"063533b8","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878757120001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399581397620097024,"note":"Value kept but may cause issues"} 
[2026-09-05 11:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6900218343235454976,"note":"Value kept but may cause issues"} 
[2026-09-05 11:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788588908000,"timestamp_ms":1788588908000,"timestamp_seconds":1788588908,"priority":1,"record_length":96,"hex_timestamp":"000001a07034dde0"} 
[2026-09-05 11:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:46: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-09-05 11:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 11:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:46: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-09-05 11:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878757120001,"66":27930,"163":206,"78":38656,"24":28,"16":399581397620097024,"45":6900218343235454976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,78,24,16,45]} 
[2026-09-05 11:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878757120001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:46:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 11:46:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399581397620097024,"km_value":399581397620097.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6900218343235454976,"description":"Unknown IO ID 45"} 
[2026-09-05 11:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878757120001,"power":27930,"unknown_163":206,"unknown_78":38656,"ignition":28,"odometer":null,"unknown_45":6900218343235454976}} 
[2026-09-05 11:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":172867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:46:02] local.INFO: GPS data processed {"connection_id":172867,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:46:02] local.INFO: Acknowledgment sent {"connection_id":172867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:46:19] local.INFO: TCP Data received {"connection_id":172866,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172866,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:46:19] local.INFO: Processing buffer {"connection_id":172866,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:46:19] local.INFO: IMEI packet received {"connection_id":172866,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 11:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":172866,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:46:23] local.INFO: TCP Data received {"connection_id":174178,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070347080012d093c8007245bd80017014325..."} 
[2026-09-05 11:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070347080012d093c8007245bd80017014325..."} 
[2026-09-05 11:46:23] local.INFO: Processing buffer {"connection_id":174178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070347080012d093c8007245bd80017014325..."} 
[2026-09-05 11:46:23] local.INFO: Packet analysis {"connection_id":174178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07034"} 
[2026-09-05 11:46:23] local.INFO: Extracted packet for processing {"connection_id":174178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07034"} 
[2026-09-05 11:46:23] local.INFO: GPS Element Parsed {"raw_longitude":755580032,"raw_latitude":119823320,"longitude_deg":75.5580032,"latitude_deg":11.982332,"altitude":23,"angle":323,"satellites":37,"speed":35,"hex_longitude":"2d093c80","hex_latitude":"07245bd8","is_valid_coordinates":true} 
[2026-09-05 11:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878752768001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17574542318764032,"note":"Value kept but may cause issues"} 
[2026-09-05 11:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":666814250501980160,"note":"Value kept but may cause issues"} 
[2026-09-05 11:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788588880000,"timestamp_ms":1788588880000,"timestamp_seconds":1788588880,"priority":1,"record_length":96,"hex_timestamp":"000001a070347080"} 
[2026-09-05 11:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:46:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-05 11:46:23] 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-09-05 11:46:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:46:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878752768001,"66":14026,"233":206,"83":44288,"24":35,"16":17574542318764032,"45":666814250501980160},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,45]} 
[2026-09-05 11:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878752768001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:46:23] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-09-05 11:46:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17574542318764032,"km_value":17574542318764.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":666814250501980160,"description":"Unknown IO ID 45"} 
[2026-09-05 11:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878752768001,"power":14026,"unknown_233":206,"unknown_83":44288,"ignition":35,"odometer":null,"unknown_45":666814250501980160}} 
[2026-09-05 11:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":174178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:46:23] local.INFO: GPS data processed {"connection_id":174178,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:46:23] local.INFO: Acknowledgment sent {"connection_id":174178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:46:33] local.INFO: TCP Data received {"connection_id":172867,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0703510a8012d600ac0063533f00006004d2c..."} 
[2026-09-05 11:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0703510a8012d600ac0063533f00006004d2c..."} 
[2026-09-05 11:46:33] local.INFO: Processing buffer {"connection_id":172867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0703510a8012d600ac0063533f00006004d2c..."} 
[2026-09-05 11:46:33] local.INFO: Packet analysis {"connection_id":172867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07035"} 
[2026-09-05 11:46:33] local.INFO: Extracted packet for processing {"connection_id":172867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07035"} 
[2026-09-05 11:46:33] local.INFO: GPS Element Parsed {"raw_longitude":761268928,"raw_latitude":104150000,"longitude_deg":76.1268928,"latitude_deg":10.415,"altitude":6,"angle":77,"satellites":44,"speed":25,"hex_longitude":"2d600ac0","hex_latitude":"063533f0","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878760448001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399581852886630400,"note":"Value kept but may cause issues"} 
[2026-09-05 11:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6910069967420635136,"note":"Value kept but may cause issues"} 
[2026-09-05 11:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788588921000,"timestamp_ms":1788588921000,"timestamp_seconds":1788588921,"priority":1,"record_length":96,"hex_timestamp":"000001a0703510a8"} 
[2026-09-05 11:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:46: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-09-05 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 11:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:46: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-09-05 11:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878760448001,"66":28093,"163":206,"78":38656,"24":25,"16":399581852886630400,"45":6910069967420635136},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,78,24,16,45]} 
[2026-09-05 11:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878760448001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:46:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 11:46:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399581852886630400,"km_value":399581852886630.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6910069967420635136,"description":"Unknown IO ID 45"} 
[2026-09-05 11:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878760448001,"power":28093,"unknown_163":206,"unknown_78":38656,"ignition":25,"odometer":null,"unknown_45":6910069967420635136}} 
[2026-09-05 11:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":172867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:46:33] local.INFO: GPS data processed {"connection_id":172867,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:46:33] local.INFO: Acknowledgment sent {"connection_id":172867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:46:47] local.INFO: TCP Data received {"connection_id":171479,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:46:47] local.INFO: Processing buffer {"connection_id":171479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:46:47] local.INFO: IMEI packet received {"connection_id":171479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 11:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":171479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:46:48] local.INFO: TCP Data received {"connection_id":174179,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:46:48] local.INFO: Processing buffer {"connection_id":174179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:46:48] local.INFO: IMEI packet received {"connection_id":174179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":174179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:46:49] local.INFO: TCP Data received {"connection_id":174179,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:46:49] local.INFO: Processing buffer {"connection_id":174179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:46:49] local.INFO: IMEI packet received {"connection_id":174179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":174179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:46:50] local.INFO: TCP Data received {"connection_id":174179,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:46:50] local.INFO: Processing buffer {"connection_id":174179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:46:50] local.INFO: IMEI packet received {"connection_id":174179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":174179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:46:55] local.INFO: TCP Data received {"connection_id":174179,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:46:55] local.INFO: Processing buffer {"connection_id":174179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:46:55] local.INFO: IMEI packet received {"connection_id":174179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":174179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:46:56] local.INFO: TCP Data received {"connection_id":174179,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070357638012d08940007249890001a013122..."} 
[2026-09-05 11:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070357638012d08940007249890001a013122..."} 
[2026-09-05 11:46:56] local.INFO: Processing buffer {"connection_id":174179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070357638012d08940007249890001a013122..."} 
[2026-09-05 11:46:56] local.INFO: Packet analysis {"connection_id":174179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07035"} 
[2026-09-05 11:46:56] local.INFO: Extracted packet for processing {"connection_id":174179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07035"} 
[2026-09-05 11:46:56] local.INFO: GPS Element Parsed {"raw_longitude":755536896,"raw_latitude":119838864,"longitude_deg":75.5536896,"latitude_deg":11.9838864,"altitude":26,"angle":305,"satellites":34,"speed":36,"hex_longitude":"2d089400","hex_latitude":"07249890","is_valid_coordinates":true} 
[2026-09-05 11:46: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-09-05 11:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878765568001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17576917435678720,"note":"Value kept but may cause issues"} 
[2026-09-05 11:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":626844803811940352,"note":"Value kept but may cause issues"} 
[2026-09-05 11:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788588947000,"timestamp_ms":1788588947000,"timestamp_seconds":1788588947,"priority":1,"record_length":96,"hex_timestamp":"000001a070357638"} 
[2026-09-05 11:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:46:56] 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-09-05 11:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-05 11:46:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:46: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-09-05 11:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878765568001,"66":14363,"128":206,"83":44288,"24":36,"16":17576917435678720,"45":626844803811940352},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,83,24,16,45]} 
[2026-09-05 11:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878765568001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:46:56] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-05 11:46:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17576917435678720,"km_value":17576917435678.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":626844803811940352,"description":"Unknown IO ID 45"} 
[2026-09-05 11:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878765568001,"power":14363,"unknown_128":206,"unknown_83":44288,"ignition":36,"odometer":null,"unknown_45":626844803811940352}} 
[2026-09-05 11:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":174179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:46:56] local.INFO: GPS data processed {"connection_id":174179,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:46:56] local.INFO: Acknowledgment sent {"connection_id":174179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:47:01] local.INFO: TCP Data received {"connection_id":174179,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070359d48012d0878400724ac800017014324..."} 
[2026-09-05 11:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070359d48012d0878400724ac800017014324..."} 
[2026-09-05 11:47:01] local.INFO: Processing buffer {"connection_id":174179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070359d48012d0878400724ac800017014324..."} 
[2026-09-05 11:47:01] local.INFO: Packet analysis {"connection_id":174179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07035"} 
[2026-09-05 11:47:01] local.INFO: Extracted packet for processing {"connection_id":174179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07035"} 
[2026-09-05 11:47:01] local.INFO: GPS Element Parsed {"raw_longitude":755529792,"raw_latitude":119843968,"longitude_deg":75.5529792,"latitude_deg":11.9843968,"altitude":23,"angle":323,"satellites":36,"speed":31,"hex_longitude":"2d087840","hex_latitude":"0724ac80","is_valid_coordinates":true} 
[2026-09-05 11:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878770432001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17577338342473728,"note":"Value kept but may cause issues"} 
[2026-09-05 11:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":618119079535349760,"note":"Value kept but may cause issues"} 
[2026-09-05 11:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788588957000,"timestamp_ms":1788588957000,"timestamp_seconds":1788588957,"priority":1,"record_length":96,"hex_timestamp":"000001a070359d48"} 
[2026-09-05 11:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:47:01] 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-09-05 11:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 11:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878770432001,"66":14374,"128":206,"83":44288,"24":31,"16":17577338342473728,"45":618119079535349760},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,83,24,16,45]} 
[2026-09-05 11:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878770432001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:47:01] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-05 11:47:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17577338342473728,"km_value":17577338342473.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":618119079535349760,"description":"Unknown IO ID 45"} 
[2026-09-05 11:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878770432001,"power":14374,"unknown_128":206,"unknown_83":44288,"ignition":31,"odometer":null,"unknown_45":618119079535349760}} 
[2026-09-05 11:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":174179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:47:01] local.INFO: GPS data processed {"connection_id":174179,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:47:01] local.INFO: Acknowledgment sent {"connection_id":174179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:47:04] local.INFO: TCP Data received {"connection_id":171775,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:47:04] local.INFO: Processing buffer {"connection_id":171775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:47:04] local.INFO: IMEI packet received {"connection_id":171775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":171775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:47:05] local.INFO: TCP Data received {"connection_id":171775,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:47:05] local.INFO: Processing buffer {"connection_id":171775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:47:05] local.INFO: IMEI packet received {"connection_id":171775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":171775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:47:07] local.INFO: TCP Data received {"connection_id":171775,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0703510a8012d600ac0063533f00006004d2c..."} 
[2026-09-05 11:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0703510a8012d600ac0063533f00006004d2c..."} 
[2026-09-05 11:47:07] local.INFO: Processing buffer {"connection_id":171775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0703510a8012d600ac0063533f00006004d2c..."} 
[2026-09-05 11:47:07] local.INFO: Packet analysis {"connection_id":171775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07035"} 
[2026-09-05 11:47:07] local.INFO: Extracted packet for processing {"connection_id":171775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07035"} 
[2026-09-05 11:47:07] local.INFO: GPS Element Parsed {"raw_longitude":761268928,"raw_latitude":104150000,"longitude_deg":76.1268928,"latitude_deg":10.415,"altitude":6,"angle":77,"satellites":44,"speed":25,"hex_longitude":"2d600ac0","hex_latitude":"063533f0","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878763776001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399581852886630400,"note":"Value kept but may cause issues"} 
[2026-09-05 11:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6920554910303121408,"note":"Value kept but may cause issues"} 
[2026-09-05 11:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788588921000,"timestamp_ms":1788588921000,"timestamp_seconds":1788588921,"priority":1,"record_length":96,"hex_timestamp":"000001a0703510a8"} 
[2026-09-05 11:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:47:07] 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-09-05 11: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-09-05 11:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878763776001,"66":28093,"163":206,"78":38656,"24":25,"16":399581852886630400,"45":6920554910303121408},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,78,24,16,45]} 
[2026-09-05 11:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878763776001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:47:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 11:47:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399581852886630400,"km_value":399581852886630.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6920554910303121408,"description":"Unknown IO ID 45"} 
[2026-09-05 11:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878763776001,"power":28093,"unknown_163":206,"unknown_78":38656,"ignition":25,"odometer":null,"unknown_45":6920554910303121408}} 
[2026-09-05 11:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":171775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:47:07] local.INFO: GPS data processed {"connection_id":171775,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:47:07] local.INFO: Acknowledgment sent {"connection_id":171775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:47:08] local.INFO: TCP Data received {"connection_id":171775,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a070355ae0012d602e0006353ba00006004f2f..."} 
[2026-09-05 11:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070355ae0012d602e0006353ba00006004f2f..."} 
[2026-09-05 11:47:08] local.INFO: Processing buffer {"connection_id":171775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070355ae0012d602e0006353ba00006004f2f..."} 
[2026-09-05 11:47:08] local.INFO: Packet analysis {"connection_id":171775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07035"} 
[2026-09-05 11:47:08] local.INFO: Extracted packet for processing {"connection_id":171775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07035"} 
[2026-09-05 11:47:08] local.INFO: GPS Element Parsed {"raw_longitude":761277952,"raw_latitude":104151968,"longitude_deg":76.1277952,"latitude_deg":10.4151968,"altitude":6,"angle":79,"satellites":47,"speed":22,"hex_longitude":"2d602e00","hex_latitude":"06353ba0","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878763776001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399582290973294592,"note":"Value kept but may cause issues"} 
[2026-09-05 11:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6920554910303121408,"note":"Value kept but may cause issues"} 
[2026-09-05 11:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788588940000,"timestamp_ms":1788588940000,"timestamp_seconds":1788588940,"priority":1,"record_length":96,"hex_timestamp":"000001a070355ae0"} 
[2026-09-05 11:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:47:08] 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-09-05 11: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-09-05 11:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:47: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-09-05 11:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878763776001,"66":28006,"163":206,"78":38656,"24":22,"16":399582290973294592,"45":6920554910303121408},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,78,24,16,45]} 
[2026-09-05 11:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878763776001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:47:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 11:47:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399582290973294592,"km_value":399582290973294.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6920554910303121408,"description":"Unknown IO ID 45"} 
[2026-09-05 11:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878763776001,"power":28006,"unknown_163":206,"unknown_78":38656,"ignition":22,"odometer":null,"unknown_45":6920554910303121408}} 
[2026-09-05 11:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":171775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:47:08] local.INFO: GPS data processed {"connection_id":171775,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:47:08] local.INFO: Acknowledgment sent {"connection_id":171775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:47:39] local.INFO: TCP Data received {"connection_id":171775,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a070359960012d60508006354378000800442e..."} 
[2026-09-05 11:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070359960012d60508006354378000800442e..."} 
[2026-09-05 11:47:39] local.INFO: Processing buffer {"connection_id":171775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070359960012d60508006354378000800442e..."} 
[2026-09-05 11:47:39] local.INFO: Packet analysis {"connection_id":171775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07035"} 
[2026-09-05 11:47:39] local.INFO: Extracted packet for processing {"connection_id":171775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07035"} 
[2026-09-05 11:47:39] local.INFO: GPS Element Parsed {"raw_longitude":761286784,"raw_latitude":104153976,"longitude_deg":76.1286784,"latitude_deg":10.4153976,"altitude":8,"angle":68,"satellites":46,"speed":10,"hex_longitude":"2d605080","hex_latitude":"06354378","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878768640001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399582724764991488,"note":"Value kept but may cause issues"} 
[2026-09-05 11:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6930476903232675840,"note":"Value kept but may cause issues"} 
[2026-09-05 11:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788588956000,"timestamp_ms":1788588956000,"timestamp_seconds":1788588956,"priority":1,"record_length":96,"hex_timestamp":"000001a070359960"} 
[2026-09-05 11:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:47: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-09-05 11: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 11:47:39] 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-09-05 11: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-09-05 11:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878768640001,"66":28050,"163":206,"78":38656,"24":10,"16":399582724764991488,"45":6930476903232675840},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,78,24,16,45]} 
[2026-09-05 11:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878768640001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:47:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 11:47:39] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399582724764991488,"km_value":399582724764991.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":6930476903232675840,"description":"Unknown IO ID 45"} 
[2026-09-05 11:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878768640001,"power":28050,"unknown_163":206,"unknown_78":38656,"ignition":10,"odometer":null,"unknown_45":6930476903232675840}} 
[2026-09-05 11:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":171775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:47:39] local.INFO: GPS data processed {"connection_id":171775,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:47:39] local.INFO: Acknowledgment sent {"connection_id":171775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:47:45] local.INFO: TCP Data received {"connection_id":171480,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:47:45] local.INFO: Processing buffer {"connection_id":171480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:47:45] local.INFO: IMEI packet received {"connection_id":171480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":171480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:47:46] local.INFO: TCP Data received {"connection_id":171480,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:47:46] local.INFO: Processing buffer {"connection_id":171480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:47:46] local.INFO: IMEI packet received {"connection_id":171480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":171480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:47:50] local.INFO: TCP Data received {"connection_id":171480,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:47:50] local.INFO: Processing buffer {"connection_id":171480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:47:50] local.INFO: IMEI packet received {"connection_id":171480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":171480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:47:51] local.INFO: TCP Data received {"connection_id":171480,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070369748012d0800000724fe100016012a23..."} 
[2026-09-05 11:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070369748012d0800000724fe100016012a23..."} 
[2026-09-05 11:47:51] local.INFO: Processing buffer {"connection_id":171480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070369748012d0800000724fe100016012a23..."} 
[2026-09-05 11:47:51] local.INFO: Packet analysis {"connection_id":171480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07036"} 
[2026-09-05 11:47:51] local.INFO: Extracted packet for processing {"connection_id":171480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07036"} 
[2026-09-05 11:47:51] local.INFO: GPS Element Parsed {"raw_longitude":755499008,"raw_latitude":119864848,"longitude_deg":75.5499008,"latitude_deg":11.9864848,"altitude":22,"angle":298,"satellites":35,"speed":27,"hex_longitude":"2d080000","hex_latitude":"0724fe10","is_valid_coordinates":true} 
[2026-09-05 11:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878788608001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17579249602920448,"note":"Value kept but may cause issues"} 
[2026-09-05 11:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":578853320290680832,"note":"Value kept but may cause issues"} 
[2026-09-05 11:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788589021000,"timestamp_ms":1788589021000,"timestamp_seconds":1788589021,"priority":1,"record_length":96,"hex_timestamp":"000001a070369748"} 
[2026-09-05 11:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 11:47:51] 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-09-05 11:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878788608001,"66":14396,"129":206,"83":44288,"24":27,"16":17579249602920448,"45":578853320290680832},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,83,24,16,45]} 
[2026-09-05 11:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878788608001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:47:51] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-05 11:47:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17579249602920448,"km_value":17579249602920.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":578853320290680832,"description":"Unknown IO ID 45"} 
[2026-09-05 11:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878788608001,"power":14396,"unknown_129":206,"unknown_83":44288,"ignition":27,"odometer":null,"unknown_45":578853320290680832}} 
[2026-09-05 11:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":171480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:47:51] local.INFO: GPS data processed {"connection_id":171480,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:47:51] local.INFO: Acknowledgment sent {"connection_id":171480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:47:56] local.INFO: TCP Data received {"connection_id":171777,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:47:56] local.INFO: Processing buffer {"connection_id":171777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:47:56] local.INFO: IMEI packet received {"connection_id":171777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":171777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:47:57] local.INFO: TCP Data received {"connection_id":171777,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:47:57] local.INFO: Processing buffer {"connection_id":171777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:47:57] local.INFO: IMEI packet received {"connection_id":171777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":171777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:48:01] local.INFO: TCP Data received {"connection_id":171777,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:48:01] local.INFO: Processing buffer {"connection_id":171777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:48:01] local.INFO: IMEI packet received {"connection_id":171777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":171777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:48:02] local.INFO: TCP Data received {"connection_id":171777,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a070359960012d60508006354378000800442e..."} 
[2026-09-05 11:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070359960012d60508006354378000800442e..."} 
[2026-09-05 11:48:02] local.INFO: Processing buffer {"connection_id":171777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070359960012d60508006354378000800442e..."} 
[2026-09-05 11:48:02] local.INFO: Packet analysis {"connection_id":171777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07035"} 
[2026-09-05 11:48:02] local.INFO: Extracted packet for processing {"connection_id":171777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07035"} 
[2026-09-05 11:48:02] local.INFO: GPS Element Parsed {"raw_longitude":761286784,"raw_latitude":104153976,"longitude_deg":76.1286784,"latitude_deg":10.4153976,"altitude":8,"angle":68,"satellites":46,"speed":10,"hex_longitude":"2d605080","hex_latitude":"06354378","is_valid_coordinates":true} 
[2026-09-05 11:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878772736001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399582724764991488,"note":"Value kept but may cause issues"} 
[2026-09-05 11:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6940187789929707520,"note":"Value kept but may cause issues"} 
[2026-09-05 11:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788588956000,"timestamp_ms":1788588956000,"timestamp_seconds":1788588956,"priority":1,"record_length":96,"hex_timestamp":"000001a070359960"} 
[2026-09-05 11:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 11:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:48: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-09-05 11:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878772736001,"66":28050,"163":206,"78":38656,"24":10,"16":399582724764991488,"45":6940187789929707520},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,78,24,16,45]} 
[2026-09-05 11:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878772736001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:48:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 11:48:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399582724764991488,"km_value":399582724764991.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6940187789929707520,"description":"Unknown IO ID 45"} 
[2026-09-05 11:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878772736001,"power":28050,"unknown_163":206,"unknown_78":38656,"ignition":10,"odometer":null,"unknown_45":6940187789929707520}} 
[2026-09-05 11:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":171777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:48:02] local.INFO: GPS data processed {"connection_id":171777,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:48:02] local.INFO: Acknowledgment sent {"connection_id":171777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:48:22] local.INFO: TCP Data received {"connection_id":171480,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07036aeb8012d07f400072506180015013623..."} 
[2026-09-05 11:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07036aeb8012d07f400072506180015013623..."} 
[2026-09-05 11:48:22] local.INFO: Processing buffer {"connection_id":171480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07036aeb8012d07f400072506180015013623..."} 
[2026-09-05 11:48:22] local.INFO: Packet analysis {"connection_id":171480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07036"} 
[2026-09-05 11:48:22] local.INFO: Extracted packet for processing {"connection_id":171480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07036"} 
[2026-09-05 11:48:22] local.INFO: GPS Element Parsed {"raw_longitude":755495936,"raw_latitude":119866904,"longitude_deg":75.5495936,"latitude_deg":11.9866904,"altitude":21,"angle":310,"satellites":35,"speed":25,"hex_longitude":"2d07f400","hex_latitude":"07250618","is_valid_coordinates":true} 
[2026-09-05 11:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878789376001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17579429991546880,"note":"Value kept but may cause issues"} 
[2026-09-05 11:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":576460782988824576,"note":"Value kept but may cause issues"} 
[2026-09-05 11:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788589027000,"timestamp_ms":1788589027000,"timestamp_seconds":1788589027,"priority":1,"record_length":96,"hex_timestamp":"000001a07036aeb8"} 
[2026-09-05 11:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:48:22] 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-09-05 11:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 11:48: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-09-05 11:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878789376001,"66":14396,"129":206,"83":44288,"24":25,"16":17579429991546880,"45":576460782988824576},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,83,24,16,45]} 
[2026-09-05 11:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878789376001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:48:22] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-05 11:48:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17579429991546880,"km_value":17579429991546.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":576460782988824576,"description":"Unknown IO ID 45"} 
[2026-09-05 11:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878789376001,"power":14396,"unknown_129":206,"unknown_83":44288,"ignition":25,"odometer":null,"unknown_45":576460782988824576}} 
[2026-09-05 11:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":171480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:48:22] local.INFO: GPS data processed {"connection_id":171480,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:48:22] local.INFO: Acknowledgment sent {"connection_id":171480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:48:33] local.INFO: TCP Data received {"connection_id":171777,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07035d010012d605bc0063547380009005331..."} 
[2026-09-05 11:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07035d010012d605bc0063547380009005331..."} 
[2026-09-05 11:48:33] local.INFO: Processing buffer {"connection_id":171777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07035d010012d605bc0063547380009005331..."} 
[2026-09-05 11:48:33] local.INFO: Packet analysis {"connection_id":171777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07035"} 
[2026-09-05 11:48:33] local.INFO: Extracted packet for processing {"connection_id":171777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07035"} 
[2026-09-05 11:48:33] local.INFO: GPS Element Parsed {"raw_longitude":761289664,"raw_latitude":104154936,"longitude_deg":76.1289664,"latitude_deg":10.4154936,"altitude":9,"angle":83,"satellites":49,"speed":9,"hex_longitude":"2d605bc0","hex_latitude":"06354738","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878772736001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399582870793879552,"note":"Value kept but may cause issues"} 
[2026-09-05 11:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6940187789929707520,"note":"Value kept but may cause issues"} 
[2026-09-05 11:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788588970000,"timestamp_ms":1788588970000,"timestamp_seconds":1788588970,"priority":1,"record_length":96,"hex_timestamp":"000001a07035d010"} 
[2026-09-05 11:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:48: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-09-05 11: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 11:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:48: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-09-05 11:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878772736001,"66":28028,"163":206,"78":38656,"24":9,"16":399582870793879552,"45":6940187789929707520},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,78,24,16,45]} 
[2026-09-05 11:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878772736001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:48:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 11:48:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399582870793879552,"km_value":399582870793879.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6940187789929707520,"description":"Unknown IO ID 45"} 
[2026-09-05 11:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878772736001,"power":28028,"unknown_163":206,"unknown_78":38656,"ignition":9,"odometer":null,"unknown_45":6940187789929707520}} 
[2026-09-05 11:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":171777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:48:33] local.INFO: GPS data processed {"connection_id":171777,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:48:33] local.INFO: Acknowledgment sent {"connection_id":171777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:48:48] local.INFO: TCP Data received {"connection_id":171481,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:48:48] local.INFO: Processing buffer {"connection_id":171481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:48:48] local.INFO: IMEI packet received {"connection_id":171481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":171481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:48:49] local.INFO: TCP Data received {"connection_id":171481,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:48:49] local.INFO: Processing buffer {"connection_id":171481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:48:49] local.INFO: IMEI packet received {"connection_id":171481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":171481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:48:50] local.INFO: TCP Data received {"connection_id":171481,"ip":"42.106.6.56","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a070..."} 
[2026-09-05 11:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171481,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a070..."} 
[2026-09-05 11:48:50] local.INFO: Processing buffer {"connection_id":171481,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a070..."} 
[2026-09-05 11:48:50] local.INFO: IMEI packet received {"connection_id":171481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":171481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:48:50] local.INFO: TCP Data received {"connection_id":171481,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070374af8012d07be00072551e00011015e23..."} 
[2026-09-05 11:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070374af8012d07be00072551e00011015e23..."} 
[2026-09-05 11:48:50] local.INFO: Processing buffer {"connection_id":171481,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a070374710012d07be8007254f080011015223..."} 
[2026-09-05 11:48:50] local.INFO: Packet analysis {"connection_id":171481,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07037"} 
[2026-09-05 11:48:50] local.INFO: Extracted packet for processing {"connection_id":171481,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07037"} 
[2026-09-05 11:48:50] local.INFO: GPS Element Parsed {"raw_longitude":755482240,"raw_latitude":119885576,"longitude_deg":75.548224,"latitude_deg":11.9885576,"altitude":17,"angle":338,"satellites":35,"speed":28,"hex_longitude":"2d07be80","hex_latitude":"07254f08","is_valid_coordinates":true} 
[2026-09-05 11:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878799616001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17580615402520576,"note":"Value kept but may cause issues"} 
[2026-09-05 11:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":560698184297658368,"note":"Value kept but may cause issues"} 
[2026-09-05 11:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788589066000,"timestamp_ms":1788589066000,"timestamp_seconds":1788589066,"priority":1,"record_length":96,"hex_timestamp":"000001a070374710"} 
[2026-09-05 11:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:48:50] 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-09-05 11:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 11:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878799616001,"66":13993,"251":206,"83":44288,"24":28,"16":17580615402520576,"45":560698184297658368},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-05 11:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878799616001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:48:50] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-05 11:48:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17580615402520576,"km_value":17580615402520.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":560698184297658368,"description":"Unknown IO ID 45"} 
[2026-09-05 11:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878799616001,"power":13993,"unknown_251":206,"unknown_83":44288,"ignition":28,"odometer":null,"unknown_45":560698184297658368}} 
[2026-09-05 11:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":171481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:48:50] local.INFO: GPS data processed {"connection_id":171481,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:48:50] local.INFO: Acknowledgment sent {"connection_id":171481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:48:50] local.INFO: Packet analysis {"connection_id":171481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07037"} 
[2026-09-05 11:48:50] local.INFO: Extracted packet for processing {"connection_id":171481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07037"} 
[2026-09-05 11:48:50] local.INFO: GPS Element Parsed {"raw_longitude":755482112,"raw_latitude":119886304,"longitude_deg":75.5482112,"latitude_deg":11.9886304,"altitude":17,"angle":350,"satellites":35,"speed":29,"hex_longitude":"2d07be00","hex_latitude":"072551e0","is_valid_coordinates":true} 
[2026-09-05 11:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878800896001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17580649762258944,"note":"Value kept but may cause issues"} 
[2026-09-05 11:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":558024172019582976,"note":"Value kept but may cause issues"} 
[2026-09-05 11:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788589067000,"timestamp_ms":1788589067000,"timestamp_seconds":1788589067,"priority":1,"record_length":96,"hex_timestamp":"000001a070374af8"} 
[2026-09-05 11:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:48:50] 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-09-05 11:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 11:48:50] 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-09-05 11:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878800896001,"66":13993,"251":206,"83":44288,"24":29,"16":17580649762258944,"45":558024172019582976},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-05 11:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878800896001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:48:50] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-05 11:48:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17580649762258944,"km_value":17580649762258.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":558024172019582976,"description":"Unknown IO ID 45"} 
[2026-09-05 11:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878800896001,"power":13993,"unknown_251":206,"unknown_83":44288,"ignition":29,"odometer":null,"unknown_45":558024172019582976}} 
[2026-09-05 11:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":171481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:48:50] local.INFO: GPS data processed {"connection_id":171481,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:48:50] local.INFO: Acknowledgment sent {"connection_id":171481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:48:51] local.INFO: TCP Data received {"connection_id":171481,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a070375a98012d07be0007255e880011000222..."} 
[2026-09-05 11:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070375a98012d07be0007255e880011000222..."} 
[2026-09-05 11:48:51] local.INFO: Processing buffer {"connection_id":171481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070375a98012d07be0007255e880011000222..."} 
[2026-09-05 11:48:51] local.INFO: Packet analysis {"connection_id":171481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07037"} 
[2026-09-05 11:48:51] local.INFO: Extracted packet for processing {"connection_id":171481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07037"} 
[2026-09-05 11:48:51] local.INFO: GPS Element Parsed {"raw_longitude":755482112,"raw_latitude":119889544,"longitude_deg":75.5482112,"latitude_deg":11.9889544,"altitude":17,"angle":2,"satellites":34,"speed":32,"hex_longitude":"2d07be00","hex_latitude":"07255e88","is_valid_coordinates":true} 
[2026-09-05 11:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878801152001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17580808676048896,"note":"Value kept but may cause issues"} 
[2026-09-05 11:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":557883434531414016,"note":"Value kept but may cause issues"} 
[2026-09-05 11:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788589071000,"timestamp_ms":1788589071000,"timestamp_seconds":1788589071,"priority":1,"record_length":96,"hex_timestamp":"000001a070375a98"} 
[2026-09-05 11:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 11:48:51] 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-09-05 11:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878801152001,"66":14070,"251":206,"83":44288,"24":32,"16":17580808676048896,"45":557883434531414016},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-05 11:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878801152001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:48:51] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-05 11:48:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17580808676048896,"km_value":17580808676048.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":557883434531414016,"description":"Unknown IO ID 45"} 
[2026-09-05 11:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878801152001,"power":14070,"unknown_251":206,"unknown_83":44288,"ignition":32,"odometer":null,"unknown_45":557883434531414016}} 
[2026-09-05 11:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":171481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:48:51] local.INFO: GPS data processed {"connection_id":171481,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:48:51] local.INFO: Acknowledgment sent {"connection_id":171481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:48:56] local.INFO: TCP Data received {"connection_id":172868,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:48:56] local.INFO: Processing buffer {"connection_id":172868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:48:56] local.INFO: IMEI packet received {"connection_id":172868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":172868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:49:01] local.INFO: TCP Data received {"connection_id":172868,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:49:01] local.INFO: Processing buffer {"connection_id":172868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:49:01] local.INFO: IMEI packet received {"connection_id":172868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":172868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:49:03] local.INFO: TCP Data received {"connection_id":172868,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07035d7e0012d605d80063547280009006230..."} 
[2026-09-05 11:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07035d7e0012d605d80063547280009006230..."} 
[2026-09-05 11:49:03] local.INFO: Processing buffer {"connection_id":172868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07035d7e0012d605d80063547280009006230..."} 
[2026-09-05 11:49:03] local.INFO: Packet analysis {"connection_id":172868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07035"} 
[2026-09-05 11:49:03] local.INFO: Extracted packet for processing {"connection_id":172868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07035"} 
[2026-09-05 11:49:03] local.INFO: GPS Element Parsed {"raw_longitude":761290112,"raw_latitude":104154920,"longitude_deg":76.1290112,"latitude_deg":10.415492,"altitude":9,"angle":98,"satellites":48,"speed":9,"hex_longitude":"2d605d80","hex_latitude":"06354728","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878776320001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399582892268716032,"note":"Value kept but may cause issues"} 
[2026-09-05 11:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6943354383417948160,"note":"Value kept but may cause issues"} 
[2026-09-05 11:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788588972000,"timestamp_ms":1788588972000,"timestamp_seconds":1788588972,"priority":1,"record_length":96,"hex_timestamp":"000001a07035d7e0"} 
[2026-09-05 11:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:49: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-09-05 11: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-05 11:49: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-09-05 11: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-09-05 11:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:49: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-09-05 11:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878776320001,"66":27832,"163":206,"78":38656,"24":9,"16":399582892268716032,"45":6943354383417948160},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,78,24,16,45]} 
[2026-09-05 11:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878776320001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:49:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 11:49:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399582892268716032,"km_value":399582892268716.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6943354383417948160,"description":"Unknown IO ID 45"} 
[2026-09-05 11:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878776320001,"power":27832,"unknown_163":206,"unknown_78":38656,"ignition":9,"odometer":null,"unknown_45":6943354383417948160}} 
[2026-09-05 11:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":172868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:49:03] local.INFO: GPS data processed {"connection_id":172868,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:49:03] local.INFO: Acknowledgment sent {"connection_id":172868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:49:36] local.INFO: TCP Data received {"connection_id":172868,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07035dfb0012d605fc006354668000900742f..."} 
[2026-09-05 11:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07035dfb0012d605fc006354668000900742f..."} 
[2026-09-05 11:49:36] local.INFO: Processing buffer {"connection_id":172868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07035dfb0012d605fc006354668000900742f..."} 
[2026-09-05 11:49:36] local.INFO: Packet analysis {"connection_id":172868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07035"} 
[2026-09-05 11:49:36] local.INFO: Extracted packet for processing {"connection_id":172868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07035"} 
[2026-09-05 11:49:36] local.INFO: GPS Element Parsed {"raw_longitude":761290688,"raw_latitude":104154728,"longitude_deg":76.1290688,"latitude_deg":10.4154728,"altitude":9,"angle":116,"satellites":47,"speed":11,"hex_longitude":"2d605fc0","hex_latitude":"06354668","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878776832001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399582922333487104,"note":"Value kept but may cause issues"} 
[2026-09-05 11:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6943846964627187712,"note":"Value kept but may cause issues"} 
[2026-09-05 11:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788588974000,"timestamp_ms":1788588974000,"timestamp_seconds":1788588974,"priority":1,"record_length":96,"hex_timestamp":"000001a07035dfb0"} 
[2026-09-05 11:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 11:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:49: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-09-05 11:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878776832001,"66":27821,"163":206,"78":38656,"24":11,"16":399582922333487104,"45":6943846964627187712},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,78,24,16,45]} 
[2026-09-05 11:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878776832001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:49:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 11:49:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399582922333487104,"km_value":399582922333487.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6943846964627187712,"description":"Unknown IO ID 45"} 
[2026-09-05 11:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878776832001,"power":27821,"unknown_163":206,"unknown_78":38656,"ignition":11,"odometer":null,"unknown_45":6943846964627187712}} 
[2026-09-05 11:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":172868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:49:36] local.INFO: GPS data processed {"connection_id":172868,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:49:36] local.INFO: Acknowledgment sent {"connection_id":172868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:49:37] local.INFO: TCP Data received {"connection_id":171481,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0703775f0012d07be00072574180012016022..."} 
[2026-09-05 11:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0703775f0012d07be00072574180012016022..."} 
[2026-09-05 11:49:37] local.INFO: Processing buffer {"connection_id":171481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0703775f0012d07be00072574180012016022..."} 
[2026-09-05 11:49:37] local.INFO: Packet analysis {"connection_id":171481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07037"} 
[2026-09-05 11:49:37] local.INFO: Extracted packet for processing {"connection_id":171481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07037"} 
[2026-09-05 11:49:37] local.INFO: GPS Element Parsed {"raw_longitude":755482112,"raw_latitude":119895064,"longitude_deg":75.5482112,"latitude_deg":11.9895064,"altitude":18,"angle":352,"satellites":34,"speed":28,"hex_longitude":"2d07be00","hex_latitude":"07257418","is_valid_coordinates":true} 
[2026-09-05 11:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878802176001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17581074964021248,"note":"Value kept but may cause issues"} 
[2026-09-05 11:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":557883434532243456,"note":"Value kept but may cause issues"} 
[2026-09-05 11:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788589078000,"timestamp_ms":1788589078000,"timestamp_seconds":1788589078,"priority":1,"record_length":96,"hex_timestamp":"000001a0703775f0"} 
[2026-09-05 11:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-05 11:49:37] 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-09-05 11:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878802176001,"66":13820,"251":206,"83":44288,"24":28,"16":17581074964021248,"45":557883434532243456},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-05 11:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878802176001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:49:37] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-05 11:49:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17581074964021248,"km_value":17581074964021.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":557883434532243456,"description":"Unknown IO ID 45"} 
[2026-09-05 11:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878802176001,"power":13820,"unknown_251":206,"unknown_83":44288,"ignition":28,"odometer":null,"unknown_45":557883434532243456}} 
[2026-09-05 11:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":171481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:49:37] local.INFO: GPS data processed {"connection_id":171481,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:49:37] local.INFO: Acknowledgment sent {"connection_id":171481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:49:45] local.INFO: TCP Data received {"connection_id":174182,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:49:45] local.INFO: Processing buffer {"connection_id":174182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:49:45] local.INFO: IMEI packet received {"connection_id":174182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":174182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:49:46] local.INFO: TCP Data received {"connection_id":174182,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:49:46] local.INFO: Processing buffer {"connection_id":174182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:49:46] local.INFO: IMEI packet received {"connection_id":174182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":174182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:49:48] local.INFO: TCP Data received {"connection_id":174182,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:49:48] local.INFO: Processing buffer {"connection_id":174182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:49:48] local.INFO: IMEI packet received {"connection_id":174182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":174182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:49:49] local.INFO: TCP Data received {"connection_id":174182,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0703829a0012d07f2c00725deb8001400021f..."} 
[2026-09-05 11:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0703829a0012d07f2c00725deb8001400021f..."} 
[2026-09-05 11:49:49] local.INFO: Processing buffer {"connection_id":174182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0703829a0012d07f2c00725deb8001400021f..."} 
[2026-09-05 11:49:49] local.INFO: Packet analysis {"connection_id":174182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07038"} 
[2026-09-05 11:49:49] local.INFO: Extracted packet for processing {"connection_id":174182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07038"} 
[2026-09-05 11:49:49] local.INFO: GPS Element Parsed {"raw_longitude":755495616,"raw_latitude":119922360,"longitude_deg":75.5495616,"latitude_deg":11.992236,"altitude":20,"angle":2,"satellites":31,"speed":29,"hex_longitude":"2d07f2c0","hex_latitude":"0725deb8","is_valid_coordinates":true} 
[2026-09-05 11:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878815488001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17582715641528320,"note":"Value kept but may cause issues"} 
[2026-09-05 11:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":572731239561943040,"note":"Value kept but may cause issues"} 
[2026-09-05 11:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788589124000,"timestamp_ms":1788589124000,"timestamp_seconds":1788589124,"priority":1,"record_length":96,"hex_timestamp":"000001a0703829a0"} 
[2026-09-05 11:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:49:49] 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-09-05 11:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 11:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878815488001,"66":14407,"25":206,"83":44288,"24":29,"16":17582715641528320,"45":572731239561943040},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-09-05 11:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878815488001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:49:49] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-05 11:49:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17582715641528320,"km_value":17582715641528.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":572731239561943040,"description":"Unknown IO ID 45"} 
[2026-09-05 11:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878815488001,"power":14407,"unknown_25":206,"unknown_83":44288,"ignition":29,"odometer":null,"unknown_45":572731239561943040}} 
[2026-09-05 11:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":174182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:49:49] local.INFO: GPS data processed {"connection_id":174182,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:49:49] local.INFO: Acknowledgment sent {"connection_id":174182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:49:56] local.INFO: TCP Data received {"connection_id":172869,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:49:56] local.INFO: Processing buffer {"connection_id":172869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:49:56] local.INFO: IMEI packet received {"connection_id":172869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":172869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:50:01] local.INFO: TCP Data received {"connection_id":172869,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:50:01] local.INFO: Processing buffer {"connection_id":172869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:50:01] local.INFO: IMEI packet received {"connection_id":172869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":172869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:50:02] local.INFO: TCP Data received {"connection_id":172869,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a07035e780012d6061c0063544d80009008930..."} 
[2026-09-05 11:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07035e780012d6061c0063544d80009008930..."} 
[2026-09-05 11:50:02] local.INFO: Processing buffer {"connection_id":172869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07035e780012d6061c0063544d80009008930..."} 
[2026-09-05 11:50:02] local.INFO: Packet analysis {"connection_id":172869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07035"} 
[2026-09-05 11:50:02] local.INFO: Extracted packet for processing {"connection_id":172869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07035"} 
[2026-09-05 11:50:02] local.INFO: GPS Element Parsed {"raw_longitude":761291200,"raw_latitude":104154328,"longitude_deg":76.12912,"latitude_deg":10.4154328,"altitude":9,"angle":137,"satellites":48,"speed":15,"hex_longitude":"2d6061c0","hex_latitude":"063544d8","is_valid_coordinates":true} 
[2026-09-05 11:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878777344001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399582952398258176,"note":"Value kept but may cause issues"} 
[2026-09-05 11:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6944480283324737536,"note":"Value kept but may cause issues"} 
[2026-09-05 11:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788588976000,"timestamp_ms":1788588976000,"timestamp_seconds":1788588976,"priority":1,"record_length":96,"hex_timestamp":"000001a07035e780"} 
[2026-09-05 11:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 11:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:50: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-09-05 11:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878777344001,"66":28137,"163":206,"78":38656,"24":15,"16":399582952398258176,"45":6944480283324737536},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,78,24,16,45]} 
[2026-09-05 11:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878777344001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:50:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 11:50:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399582952398258176,"km_value":399582952398258.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6944480283324737536,"description":"Unknown IO ID 45"} 
[2026-09-05 11:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878777344001,"power":28137,"unknown_163":206,"unknown_78":38656,"ignition":15,"odometer":null,"unknown_45":6944480283324737536}} 
[2026-09-05 11:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":172869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:50:02] local.INFO: GPS data processed {"connection_id":172869,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:50:02] local.INFO: Acknowledgment sent {"connection_id":172869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:50:21] local.INFO: TCP Data received {"connection_id":174182,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07038c5e0012d07cac007263e400013000121..."} 
[2026-09-05 11:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07038c5e0012d07cac007263e400013000121..."} 
[2026-09-05 11:50:21] local.INFO: Processing buffer {"connection_id":174182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07038c5e0012d07cac007263e400013000121..."} 
[2026-09-05 11:50:21] local.INFO: Packet analysis {"connection_id":174182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07038"} 
[2026-09-05 11:50:21] local.INFO: Extracted packet for processing {"connection_id":174182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07038"} 
[2026-09-05 11:50:21] local.INFO: GPS Element Parsed {"raw_longitude":755485376,"raw_latitude":119946816,"longitude_deg":75.5485376,"latitude_deg":11.9946816,"altitude":19,"angle":1,"satellites":33,"speed":32,"hex_longitude":"2d07cac0","hex_latitude":"07263e40","is_valid_coordinates":true} 
[2026-09-05 11:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878825472001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17584107210932224,"note":"Value kept but may cause issues"} 
[2026-09-05 11:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561612977987915776,"note":"Value kept but may cause issues"} 
[2026-09-05 11:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788589164000,"timestamp_ms":1788589164000,"timestamp_seconds":1788589164,"priority":1,"record_length":96,"hex_timestamp":"000001a07038c5e0"} 
[2026-09-05 11:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 11:50:21] 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-09-05 11:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878825472001,"66":14396,"237":206,"83":44288,"24":32,"16":17584107210932224,"45":561612977987915776},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-09-05 11:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878825472001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:50:21] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-05 11:50:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17584107210932224,"km_value":17584107210932.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":561612977987915776,"description":"Unknown IO ID 45"} 
[2026-09-05 11:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878825472001,"power":14396,"unknown_237":206,"unknown_83":44288,"ignition":32,"odometer":null,"unknown_45":561612977987915776}} 
[2026-09-05 11:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":174182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:50:21] local.INFO: GPS data processed {"connection_id":174182,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:50:21] local.INFO: Acknowledgment sent {"connection_id":174182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:50:33] local.INFO: TCP Data received {"connection_id":172869,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a07035f338012d606440063541300008009730..."} 
[2026-09-05 11:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07035f338012d606440063541300008009730..."} 
[2026-09-05 11:50:33] local.INFO: Processing buffer {"connection_id":172869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07035f338012d606440063541300008009730..."} 
[2026-09-05 11:50:33] local.INFO: Packet analysis {"connection_id":172869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07035"} 
[2026-09-05 11:50:33] local.INFO: Extracted packet for processing {"connection_id":172869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07035"} 
[2026-09-05 11:50:33] local.INFO: GPS Element Parsed {"raw_longitude":761291840,"raw_latitude":104153392,"longitude_deg":76.129184,"latitude_deg":10.4153392,"altitude":8,"angle":151,"satellites":48,"speed":14,"hex_longitude":"2d606440","hex_latitude":"06354130","is_valid_coordinates":true} 
[2026-09-05 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-09-05 11:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878777856001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399583008232833024,"note":"Value kept but may cause issues"} 
[2026-09-05 11:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6945043233278056448,"note":"Value kept but may cause issues"} 
[2026-09-05 11:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788588979000,"timestamp_ms":1788588979000,"timestamp_seconds":1788588979,"priority":1,"record_length":96,"hex_timestamp":"000001a07035f338"} 
[2026-09-05 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-09-05 11:50: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-09-05 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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 11:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 11:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:50: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-09-05 11:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878777856001,"66":28093,"163":206,"78":38656,"24":14,"16":399583008232833024,"45":6945043233278056448},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,78,24,16,45]} 
[2026-09-05 11:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878777856001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:50:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 11:50:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399583008232833024,"km_value":399583008232833.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6945043233278056448,"description":"Unknown IO ID 45"} 
[2026-09-05 11:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878777856001,"power":28093,"unknown_163":206,"unknown_78":38656,"ignition":14,"odometer":null,"unknown_45":6945043233278056448}} 
[2026-09-05 11:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":172869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:50:33] local.INFO: GPS data processed {"connection_id":172869,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:50:33] local.INFO: Acknowledgment sent {"connection_id":172869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:50:44] local.INFO: TCP Data received {"connection_id":171779,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:50:44] local.INFO: Processing buffer {"connection_id":171779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:50:44] local.INFO: IMEI packet received {"connection_id":171779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":171779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:50:45] local.INFO: TCP Data received {"connection_id":171779,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:50:45] local.INFO: Processing buffer {"connection_id":171779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:50:45] local.INFO: IMEI packet received {"connection_id":171779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":171779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:50:46] local.INFO: TCP Data received {"connection_id":171779,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:50:46] local.INFO: Processing buffer {"connection_id":171779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:50:46] local.INFO: IMEI packet received {"connection_id":171779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":171779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:50:50] local.INFO: TCP Data received {"connection_id":171779,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:50:50] local.INFO: Processing buffer {"connection_id":171779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:50:50] local.INFO: IMEI packet received {"connection_id":171779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":171779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:50:53] local.INFO: TCP Data received {"connection_id":171779,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07038cdb0012d07cbc0072644180013001023..."} 
[2026-09-05 11:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07038cdb0012d07cbc0072644180013001023..."} 
[2026-09-05 11:50:53] local.INFO: Processing buffer {"connection_id":171779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07038cdb0012d07cbc0072644180013001023..."} 
[2026-09-05 11:50:53] local.INFO: Packet analysis {"connection_id":171779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07038"} 
[2026-09-05 11:50:53] local.INFO: Extracted packet for processing {"connection_id":171779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07038"} 
[2026-09-05 11:50:53] local.INFO: GPS Element Parsed {"raw_longitude":755485632,"raw_latitude":119948312,"longitude_deg":75.5485632,"latitude_deg":11.9948312,"altitude":19,"angle":16,"satellites":35,"speed":26,"hex_longitude":"2d07cbc0","hex_latitude":"07264418","is_valid_coordinates":true} 
[2026-09-05 11:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878825984001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17584180225376256,"note":"Value kept but may cause issues"} 
[2026-09-05 11:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561472240499965952,"note":"Value kept but may cause issues"} 
[2026-09-05 11:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788589166000,"timestamp_ms":1788589166000,"timestamp_seconds":1788589166,"priority":1,"record_length":96,"hex_timestamp":"000001a07038cdb0"} 
[2026-09-05 11:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 11:50:53] 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-09-05 11:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878825984001,"66":14374,"237":206,"83":44288,"24":26,"16":17584180225376256,"45":561472240499965952},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-09-05 11:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878825984001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:50:53] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-05 11:50:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17584180225376256,"km_value":17584180225376.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":561472240499965952,"description":"Unknown IO ID 45"} 
[2026-09-05 11:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878825984001,"power":14374,"unknown_237":206,"unknown_83":44288,"ignition":26,"odometer":null,"unknown_45":561472240499965952}} 
[2026-09-05 11:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":171779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:50:53] local.INFO: GPS data processed {"connection_id":171779,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:50:53] local.INFO: Acknowledgment sent {"connection_id":171779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:51:01] local.INFO: TCP Data received {"connection_id":174183,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:51:01] local.INFO: Processing buffer {"connection_id":174183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:51:01] local.INFO: IMEI packet received {"connection_id":174183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":174183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:51:06] local.INFO: TCP Data received {"connection_id":174183,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:51:06] local.INFO: Processing buffer {"connection_id":174183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:51:06] local.INFO: IMEI packet received {"connection_id":174183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":174183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:51:07] local.INFO: TCP Data received {"connection_id":174183,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a070361278012d606800063539f0000800a32f..."} 
[2026-09-05 11:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070361278012d606800063539f0000800a32f..."} 
[2026-09-05 11:51:07] local.INFO: Processing buffer {"connection_id":174183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070361278012d606800063539f0000800a32f..."} 
[2026-09-05 11:51:07] local.INFO: Packet analysis {"connection_id":174183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07036"} 
[2026-09-05 11:51:07] local.INFO: Extracted packet for processing {"connection_id":174183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07036"} 
[2026-09-05 11:51:07] local.INFO: GPS Element Parsed {"raw_longitude":761292800,"raw_latitude":104151536,"longitude_deg":76.12928,"latitude_deg":10.4151536,"altitude":8,"angle":163,"satellites":47,"speed":8,"hex_longitude":"2d606800","hex_latitude":"063539f0","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878778624001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399583111312048128,"note":"Value kept but may cause issues"} 
[2026-09-05 11:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6945746920719593472,"note":"Value kept but may cause issues"} 
[2026-09-05 11:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788588987000,"timestamp_ms":1788588987000,"timestamp_seconds":1788588987,"priority":1,"record_length":96,"hex_timestamp":"000001a070361278"} 
[2026-09-05 11:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:51:07] 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-09-05 11: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-09-05 11:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878778624001,"66":27930,"163":206,"78":38656,"24":8,"16":399583111312048128,"45":6945746920719593472},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,78,24,16,45]} 
[2026-09-05 11:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878778624001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:51:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 11:51:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399583111312048128,"km_value":399583111312048.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6945746920719593472,"description":"Unknown IO ID 45"} 
[2026-09-05 11:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878778624001,"power":27930,"unknown_163":206,"unknown_78":38656,"ignition":8,"odometer":null,"unknown_45":6945746920719593472}} 
[2026-09-05 11:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":174183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:51:07] local.INFO: GPS data processed {"connection_id":174183,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:51:07] local.INFO: Acknowledgment sent {"connection_id":174183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:51:12] local.INFO: TCP Data received {"connection_id":174183,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a070366480012d60698006353208000a00a52f..."} 
[2026-09-05 11:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070366480012d60698006353208000a00a52f..."} 
[2026-09-05 11:51:12] local.INFO: Processing buffer {"connection_id":174183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070366480012d60698006353208000a00a52f..."} 
[2026-09-05 11:51:12] local.INFO: Packet analysis {"connection_id":174183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07036"} 
[2026-09-05 11:51:12] local.INFO: Extracted packet for processing {"connection_id":174183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07036"} 
[2026-09-05 11:51:12] local.INFO: GPS Element Parsed {"raw_longitude":761293184,"raw_latitude":104149512,"longitude_deg":76.1293184,"latitude_deg":10.4149512,"altitude":10,"angle":165,"satellites":47,"speed":2,"hex_longitude":"2d606980","hex_latitude":"06353208","is_valid_coordinates":true} 
[2026-09-05 11:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878780672001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399583214391263232,"note":"Value kept but may cause issues"} 
[2026-09-05 11:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6946802451881783296,"note":"Value kept but may cause issues"} 
[2026-09-05 11:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788589008000,"timestamp_ms":1788589008000,"timestamp_seconds":1788589008,"priority":1,"record_length":96,"hex_timestamp":"000001a070366480"} 
[2026-09-05 11:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 11:51:12] 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-09-05 11:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878780672001,"66":28050,"163":206,"78":38656,"24":2,"16":399583214391263232,"45":6946802451881783296},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,78,24,16,45]} 
[2026-09-05 11:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878780672001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:51:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 11:51:12] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399583214391263232,"km_value":399583214391263.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6946802451881783296,"description":"Unknown IO ID 45"} 
[2026-09-05 11:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878780672001,"power":28050,"unknown_163":206,"unknown_78":38656,"ignition":2,"odometer":null,"unknown_45":6946802451881783296}} 
[2026-09-05 11:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":174183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:51:12] local.INFO: GPS data processed {"connection_id":174183,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:51:12] local.INFO: Acknowledgment sent {"connection_id":174183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:51:24] local.INFO: TCP Data received {"connection_id":171779,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07039cb98012d07ed000726dec00025012924..."} 
[2026-09-05 11:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07039cb98012d07ed000726dec00025012924..."} 
[2026-09-05 11:51:24] local.INFO: Processing buffer {"connection_id":171779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07039cb98012d07ed000726dec00025012924..."} 
[2026-09-05 11:51:24] local.INFO: Packet analysis {"connection_id":171779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07039"} 
[2026-09-05 11:51:24] local.INFO: Extracted packet for processing {"connection_id":171779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07039"} 
[2026-09-05 11:51:24] local.INFO: GPS Element Parsed {"raw_longitude":755494144,"raw_latitude":119987904,"longitude_deg":75.5494144,"latitude_deg":11.9987904,"altitude":37,"angle":297,"satellites":36,"speed":34,"hex_longitude":"2d07ed00","hex_latitude":"0726dec0","is_valid_coordinates":true} 
[2026-09-05 11:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878842368001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17586370658697216,"note":"Value kept but may cause issues"} 
[2026-09-05 11:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":573575664508659712,"note":"Value kept but may cause issues"} 
[2026-09-05 11:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788589231000,"timestamp_ms":1788589231000,"timestamp_seconds":1788589231,"priority":1,"record_length":96,"hex_timestamp":"000001a07039cb98"} 
[2026-09-05 11:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 11:51:24] 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-09-05 11:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878842368001,"66":13961,"237":206,"83":44288,"24":34,"16":17586370658697216,"45":573575664508659712},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-09-05 11:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878842368001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:51:24] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-05 11:51:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17586370658697216,"km_value":17586370658697.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":573575664508659712,"description":"Unknown IO ID 45"} 
[2026-09-05 11:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878842368001,"power":13961,"unknown_237":206,"unknown_83":44288,"ignition":34,"odometer":null,"unknown_45":573575664508659712}} 
[2026-09-05 11:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":171779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:51:24] local.INFO: GPS data processed {"connection_id":171779,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:51:24] local.INFO: Acknowledgment sent {"connection_id":171779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:51:45] local.INFO: TCP Data received {"connection_id":172870,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:51:45] local.INFO: Processing buffer {"connection_id":172870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:51:45] local.INFO: IMEI packet received {"connection_id":172870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":172870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:51:46] local.INFO: TCP Data received {"connection_id":172870,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:51:46] local.INFO: Processing buffer {"connection_id":172870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:51:46] local.INFO: IMEI packet received {"connection_id":172870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":172870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:51:50] local.INFO: TCP Data received {"connection_id":172870,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:51:50] local.INFO: Processing buffer {"connection_id":172870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:51:50] local.INFO: IMEI packet received {"connection_id":172870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":172870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:51:51] local.INFO: TCP Data received {"connection_id":172870,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07039db38012d07e0400726e3c80028011d1e..."} 
[2026-09-05 11:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07039db38012d07e0400726e3c80028011d1e..."} 
[2026-09-05 11:51:51] local.INFO: Processing buffer {"connection_id":172870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07039db38012d07e0400726e3c80028011d1e..."} 
[2026-09-05 11:51:51] local.INFO: Packet analysis {"connection_id":172870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07039"} 
[2026-09-05 11:51:51] local.INFO: Extracted packet for processing {"connection_id":172870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07039"} 
[2026-09-05 11:51:51] local.INFO: GPS Element Parsed {"raw_longitude":755490880,"raw_latitude":119989192,"longitude_deg":75.549088,"latitude_deg":11.9989192,"altitude":40,"angle":285,"satellites":30,"speed":34,"hex_longitude":"2d07e040","hex_latitude":"0726e3c8","is_valid_coordinates":true} 
[2026-09-05 11:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878843136001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17586542457389056,"note":"Value kept but may cause issues"} 
[2026-09-05 11:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":571112758462824448,"note":"Value kept but may cause issues"} 
[2026-09-05 11:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788589235000,"timestamp_ms":1788589235000,"timestamp_seconds":1788589235,"priority":1,"record_length":96,"hex_timestamp":"000001a07039db38"} 
[2026-09-05 11:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-05 11:51:51] 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-09-05 11:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878843136001,"66":13993,"237":206,"83":44288,"24":34,"16":17586542457389056,"45":571112758462824448},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-09-05 11:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878843136001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:51:51] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-05 11:51:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17586542457389056,"km_value":17586542457389.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":571112758462824448,"description":"Unknown IO ID 45"} 
[2026-09-05 11:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878843136001,"power":13993,"unknown_237":206,"unknown_83":44288,"ignition":34,"odometer":null,"unknown_45":571112758462824448}} 
[2026-09-05 11:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":172870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:51:51] local.INFO: GPS data processed {"connection_id":172870,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:51:51] local.INFO: Acknowledgment sent {"connection_id":172870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:51:56] local.INFO: TCP Data received {"connection_id":171483,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:51:56] local.INFO: Processing buffer {"connection_id":171483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:51:56] local.INFO: IMEI packet received {"connection_id":171483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":171483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:52:01] local.INFO: TCP Data received {"connection_id":171483,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:52:01] local.INFO: Processing buffer {"connection_id":171483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:52:01] local.INFO: IMEI packet received {"connection_id":171483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":171483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:52:02] local.INFO: TCP Data received {"connection_id":171483,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a070368b90012d60694006352e90000b00c02e..."} 
[2026-09-05 11:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070368b90012d60694006352e90000b00c02e..."} 
[2026-09-05 11:52:02] local.INFO: Processing buffer {"connection_id":171483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070368b90012d60694006352e90000b00c02e..."} 
[2026-09-05 11:52:02] local.INFO: Packet analysis {"connection_id":171483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07036"} 
[2026-09-05 11:52:02] local.INFO: Extracted packet for processing {"connection_id":171483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07036"} 
[2026-09-05 11:52:02] local.INFO: GPS Element Parsed {"raw_longitude":761293120,"raw_latitude":104148624,"longitude_deg":76.129312,"latitude_deg":10.4148624,"altitude":11,"angle":192,"satellites":46,"speed":5,"hex_longitude":"2d606940","hex_latitude":"06352e90","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878786048001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399583257340936192,"note":"Value kept but may cause issues"} 
[2026-09-05 11:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6947224664346331136,"note":"Value kept but may cause issues"} 
[2026-09-05 11:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788589018000,"timestamp_ms":1788589018000,"timestamp_seconds":1788589018,"priority":1,"record_length":96,"hex_timestamp":"000001a070368b90"} 
[2026-09-05 11:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 11:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:52: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-09-05 11:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878786048001,"66":28050,"163":206,"78":38656,"24":5,"16":399583257340936192,"45":6947224664346331136},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,78,24,16,45]} 
[2026-09-05 11:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878786048001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:52:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 11:52:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399583257340936192,"km_value":399583257340936.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6947224664346331136,"description":"Unknown IO ID 45"} 
[2026-09-05 11:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878786048001,"power":28050,"unknown_163":206,"unknown_78":38656,"ignition":5,"odometer":null,"unknown_45":6947224664346331136}} 
[2026-09-05 11:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":171483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:52:02] local.INFO: GPS data processed {"connection_id":171483,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:52:02] local.INFO: Acknowledgment sent {"connection_id":171483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:52:07] local.INFO: TCP Data received {"connection_id":172871,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:52:07] local.INFO: Processing buffer {"connection_id":172871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:52:07] local.INFO: IMEI packet received {"connection_id":172871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 11:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":172871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:52:34] local.INFO: TCP Data received {"connection_id":171483,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07036dd98012d60694006352a10000b00c030..."} 
[2026-09-05 11:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07036dd98012d60694006352a10000b00c030..."} 
[2026-09-05 11:52:34] local.INFO: Processing buffer {"connection_id":171483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07036dd98012d60694006352a10000b00c030..."} 
[2026-09-05 11:52:34] local.INFO: Packet analysis {"connection_id":171483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07036"} 
[2026-09-05 11:52:34] local.INFO: Extracted packet for processing {"connection_id":171483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07036"} 
[2026-09-05 11:52:34] local.INFO: GPS Element Parsed {"raw_longitude":761293120,"raw_latitude":104147472,"longitude_deg":76.129312,"latitude_deg":10.4147472,"altitude":11,"angle":192,"satellites":48,"speed":0,"hex_longitude":"2d606940","hex_latitude":"06352a10","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878788608001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399583317470478336,"note":"Value kept but may cause issues"} 
[2026-09-05 11:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6947154295601926144,"note":"Value kept but may cause issues"} 
[2026-09-05 11:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788589039000,"timestamp_ms":1788589039000,"timestamp_seconds":1788589039,"priority":1,"record_length":96,"hex_timestamp":"000001a07036dd98"} 
[2026-09-05 11:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:52: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-09-05 11: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 11:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:52:34] 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-09-05 11:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878788608001,"66":27843,"163":206,"78":38656,"24":0,"16":399583317470478336,"45":6947154295601926144},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,78,24,16,45]} 
[2026-09-05 11:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878788608001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:52:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 11:52:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399583317470478336,"km_value":399583317470478.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6947154295601926144,"description":"Unknown IO ID 45"} 
[2026-09-05 11:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878788608001,"power":27843,"unknown_163":206,"unknown_78":38656,"ignition":0,"odometer":null,"unknown_45":6947154295601926144}} 
[2026-09-05 11:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":171483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:52:34] local.INFO: GPS data processed {"connection_id":171483,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:52:34] local.INFO: Acknowledgment sent {"connection_id":171483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:52:50] local.INFO: TCP Data received {"connection_id":172872,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:52:50] local.INFO: Processing buffer {"connection_id":172872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:52:50] local.INFO: IMEI packet received {"connection_id":172872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 11:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":172872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:52:56] local.INFO: TCP Data received {"connection_id":174184,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:52:56] local.INFO: Processing buffer {"connection_id":174184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:52:56] local.INFO: IMEI packet received {"connection_id":174184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":174184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:53:01] local.INFO: TCP Data received {"connection_id":174184,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:53:01] local.INFO: Processing buffer {"connection_id":174184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:53:01] local.INFO: IMEI packet received {"connection_id":174184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":174184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:53:02] local.INFO: TCP Data received {"connection_id":174184,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a07036fcd8012d60694006352a10000b00c02f..."} 
[2026-09-05 11:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07036fcd8012d60694006352a10000b00c02f..."} 
[2026-09-05 11:53:02] local.INFO: Processing buffer {"connection_id":174184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07036fcd8012d60694006352a10000b00c02f..."} 
[2026-09-05 11:53:02] local.INFO: Packet analysis {"connection_id":174184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07036"} 
[2026-09-05 11:53:02] local.INFO: Extracted packet for processing {"connection_id":174184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07036"} 
[2026-09-05 11:53:02] local.INFO: GPS Element Parsed {"raw_longitude":761293120,"raw_latitude":104147472,"longitude_deg":76.129312,"latitude_deg":10.4147472,"altitude":11,"angle":192,"satellites":47,"speed":0,"hex_longitude":"2d606940","hex_latitude":"06352a10","is_valid_coordinates":true} 
[2026-09-05 11:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878793984001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399583317470478336,"note":"Value kept but may cause issues"} 
[2026-09-05 11:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6947154295601631232,"note":"Value kept but may cause issues"} 
[2026-09-05 11:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788589047000,"timestamp_ms":1788589047000,"timestamp_seconds":1788589047,"priority":1,"record_length":96,"hex_timestamp":"000001a07036fcd8"} 
[2026-09-05 11:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 11:53: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-09-05 11: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-09-05 11:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878793984001,"66":28050,"163":206,"78":38656,"24":0,"16":399583317470478336,"45":6947154295601631232},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,78,24,16,45]} 
[2026-09-05 11:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878793984001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:53:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 11:53:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399583317470478336,"km_value":399583317470478.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6947154295601631232,"description":"Unknown IO ID 45"} 
[2026-09-05 11:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878793984001,"power":28050,"unknown_163":206,"unknown_78":38656,"ignition":0,"odometer":null,"unknown_45":6947154295601631232}} 
[2026-09-05 11:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":174184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:53:02] local.INFO: GPS data processed {"connection_id":174184,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:53:02] local.INFO: Acknowledgment sent {"connection_id":174184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:53:25] local.INFO: TCP Data received {"connection_id":171484,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:53:25] local.INFO: Processing buffer {"connection_id":171484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:53:25] local.INFO: IMEI packet received {"connection_id":171484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":171484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:53:27] local.INFO: TCP Data received {"connection_id":171484,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:53:27] local.INFO: Processing buffer {"connection_id":171484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:53:27] local.INFO: IMEI packet received {"connection_id":171484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":171484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:53:28] local.INFO: TCP Data received {"connection_id":171484,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0703b7948012d07438007277d000053012225..."} 
[2026-09-05 11:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0703b7948012d07438007277d000053012225..."} 
[2026-09-05 11:53:28] local.INFO: Processing buffer {"connection_id":171484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0703b7948012d07438007277d000053012225..."} 
[2026-09-05 11:53:28] local.INFO: Packet analysis {"connection_id":171484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0703b"} 
[2026-09-05 11:53:28] local.INFO: Extracted packet for processing {"connection_id":171484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0703b"} 
[2026-09-05 11:53:28] local.INFO: GPS Element Parsed {"raw_longitude":755450752,"raw_latitude":120028416,"longitude_deg":75.5450752,"latitude_deg":12.0028416,"altitude":83,"angle":290,"satellites":37,"speed":28,"hex_longitude":"2d074380","hex_latitude":"07277d00","is_valid_coordinates":true} 
[2026-09-05 11:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878870784001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17590364978282496,"note":"Value kept but may cause issues"} 
[2026-09-05 11:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":525021231036694528,"note":"Value kept but may cause issues"} 
[2026-09-05 11:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788589341000,"timestamp_ms":1788589341000,"timestamp_seconds":1788589341,"priority":1,"record_length":96,"hex_timestamp":"000001a0703b7948"} 
[2026-09-05 11:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-05 11:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":171484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":171484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":171484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878870784001,"66":14070,"192":206,"83":44288,"24":28,"16":17590364978282496,"45":525021231036694528},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,45]} 
[2026-09-05 11:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878870784001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:53:28] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-05 11:53:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17590364978282496,"km_value":17590364978282.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":525021231036694528,"description":"Unknown IO ID 45"} 
[2026-09-05 11:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878870784001,"power":14070,"unknown_192":206,"unknown_83":44288,"ignition":28,"odometer":null,"unknown_45":525021231036694528}} 
[2026-09-05 11:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":171484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:53:28] local.INFO: GPS data processed {"connection_id":171484,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:53:28] local.INFO: Acknowledgment sent {"connection_id":171484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:53:33] local.INFO: TCP Data received {"connection_id":174184,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0703b9888012d60678006352cf0001100c02b..."} 
[2026-09-05 11:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0703b9888012d60678006352cf0001100c02b..."} 
[2026-09-05 11:53:33] local.INFO: Processing buffer {"connection_id":174184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0703b9888012d60678006352cf0001100c02b..."} 
[2026-09-05 11:53:33] local.INFO: Packet analysis {"connection_id":174184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0703b"} 
[2026-09-05 11:53:33] local.INFO: Extracted packet for processing {"connection_id":174184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0703b"} 
[2026-09-05 11:53:33] local.INFO: GPS Element Parsed {"raw_longitude":761292672,"raw_latitude":104148208,"longitude_deg":76.1292672,"latitude_deg":10.4148208,"altitude":17,"angle":192,"satellites":43,"speed":0,"hex_longitude":"2d606780","hex_latitude":"06352cf0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 11:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878796032001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399583317470478336,"note":"Value kept but may cause issues"} 
[2026-09-05 11:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6947154295601631232,"note":"Value kept but may cause issues"} 
[2026-09-05 11:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788589349000,"timestamp_ms":1788589349000,"timestamp_seconds":1788589349,"priority":1,"record_length":96,"hex_timestamp":"000001a0703b9888"} 
[2026-09-05 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-09-05 11:53: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-09-05 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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 11:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 11:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878796032001,"66":26517,"25":206,"78":38656,"24":0,"16":399583317470478336,"45":6947154295601631232},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,78,24,16,45]} 
[2026-09-05 11:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878796032001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:53:33] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-05 11:53:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399583317470478336,"km_value":399583317470478.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6947154295601631232,"description":"Unknown IO ID 45"} 
[2026-09-05 11:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878796032001,"power":26517,"unknown_25":206,"unknown_78":38656,"ignition":0,"odometer":null,"unknown_45":6947154295601631232}} 
[2026-09-05 11:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":174184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:53:33] local.INFO: GPS data processed {"connection_id":174184,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:53:33] local.INFO: Acknowledgment sent {"connection_id":174184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:53:56] local.INFO: TCP Data received {"connection_id":174186,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:53:56] local.INFO: Processing buffer {"connection_id":174186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:53:56] local.INFO: IMEI packet received {"connection_id":174186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":174186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:53:56] local.INFO: TCP Data received {"connection_id":172873,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:53:56] local.INFO: Processing buffer {"connection_id":172873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:53:56] local.INFO: IMEI packet received {"connection_id":172873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":172873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:53:57] local.INFO: TCP Data received {"connection_id":174186,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:53:57] local.INFO: Processing buffer {"connection_id":174186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:53:57] local.INFO: IMEI packet received {"connection_id":174186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":174186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:54:00] local.INFO: TCP Data received {"connection_id":174186,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:54:00] local.INFO: Processing buffer {"connection_id":174186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:54:00] local.INFO: IMEI packet received {"connection_id":174186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":174186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:54:01] local.INFO: TCP Data received {"connection_id":174186,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0703b9c70012d072ac0072787100057013323..."} 
[2026-09-05 11:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0703b9c70012d072ac0072787100057013323..."} 
[2026-09-05 11:54:01] local.INFO: Processing buffer {"connection_id":174186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0703b9c70012d072ac0072787100057013323..."} 
[2026-09-05 11:54:01] local.INFO: Packet analysis {"connection_id":174186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0703b"} 
[2026-09-05 11:54:01] local.INFO: Extracted packet for processing {"connection_id":174186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0703b"} 
[2026-09-05 11:54:01] local.INFO: GPS Element Parsed {"raw_longitude":755444416,"raw_latitude":120030992,"longitude_deg":75.5444416,"latitude_deg":12.0030992,"altitude":87,"angle":307,"satellites":35,"speed":31,"hex_longitude":"2d072ac0","hex_latitude":"07278710","is_valid_coordinates":true} 
[2026-09-05 11:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878871296001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17590691395796992,"note":"Value kept but may cause issues"} 
[2026-09-05 11:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":523402749920739328,"note":"Value kept but may cause issues"} 
[2026-09-05 11:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788589350000,"timestamp_ms":1788589350000,"timestamp_seconds":1788589350,"priority":1,"record_length":96,"hex_timestamp":"000001a0703b9c70"} 
[2026-09-05 11:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:54:01] 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-09-05 11:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-05 11:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878871296001,"66":14396,"192":206,"83":44288,"24":31,"16":17590691395796992,"45":523402749920739328},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,45]} 
[2026-09-05 11:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878871296001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:54:01] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-05 11:54:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17590691395796992,"km_value":17590691395796.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":523402749920739328,"description":"Unknown IO ID 45"} 
[2026-09-05 11:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878871296001,"power":14396,"unknown_192":206,"unknown_83":44288,"ignition":31,"odometer":null,"unknown_45":523402749920739328}} 
[2026-09-05 11:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":174186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:54:01] local.INFO: GPS data processed {"connection_id":174186,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:54:01] local.INFO: Acknowledgment sent {"connection_id":174186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:54:01] local.INFO: TCP Data received {"connection_id":172873,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:54:01] local.INFO: Processing buffer {"connection_id":172873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:54:01] local.INFO: IMEI packet received {"connection_id":172873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":172873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:54:02] local.INFO: TCP Data received {"connection_id":172873,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0703b9888012d60678006352cf0001100c02b..."} 
[2026-09-05 11:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0703b9888012d60678006352cf0001100c02b..."} 
[2026-09-05 11:54:02] local.INFO: Processing buffer {"connection_id":172873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0703b9888012d60678006352cf0001100c02b..."} 
[2026-09-05 11:54:02] local.INFO: Packet analysis {"connection_id":172873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0703b"} 
[2026-09-05 11:54:02] local.INFO: Extracted packet for processing {"connection_id":172873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0703b"} 
[2026-09-05 11:54:02] local.INFO: GPS Element Parsed {"raw_longitude":761292672,"raw_latitude":104148208,"longitude_deg":76.1292672,"latitude_deg":10.4148208,"altitude":17,"angle":192,"satellites":43,"speed":0,"hex_longitude":"2d606780","hex_latitude":"06352cf0","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878796032001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399583317470478336,"note":"Value kept but may cause issues"} 
[2026-09-05 11:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6947154295601631232,"note":"Value kept but may cause issues"} 
[2026-09-05 11:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788589349000,"timestamp_ms":1788589349000,"timestamp_seconds":1788589349,"priority":1,"record_length":96,"hex_timestamp":"000001a0703b9888"} 
[2026-09-05 11:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:54:02] 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-09-05 11:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 11:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878796032001,"66":26517,"25":206,"78":38656,"24":0,"16":399583317470478336,"45":6947154295601631232},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,78,24,16,45]} 
[2026-09-05 11:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878796032001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:54:02] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-05 11:54:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399583317470478336,"km_value":399583317470478.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6947154295601631232,"description":"Unknown IO ID 45"} 
[2026-09-05 11:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878796032001,"power":26517,"unknown_25":206,"unknown_78":38656,"ignition":0,"odometer":null,"unknown_45":6947154295601631232}} 
[2026-09-05 11:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":172873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:54:02] local.INFO: GPS data processed {"connection_id":172873,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:54:02] local.INFO: Acknowledgment sent {"connection_id":172873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:54:06] local.INFO: TCP Data received {"connection_id":174186,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0703ba440012d07264007278bd80058014623..."} 
[2026-09-05 11:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0703ba440012d07264007278bd80058014623..."} 
[2026-09-05 11:54:06] local.INFO: Processing buffer {"connection_id":174186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0703ba440012d07264007278bd80058014623..."} 
[2026-09-05 11:54:06] local.INFO: Packet analysis {"connection_id":174186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0703b"} 
[2026-09-05 11:54:06] local.INFO: Extracted packet for processing {"connection_id":174186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0703b"} 
[2026-09-05 11:54:06] local.INFO: GPS Element Parsed {"raw_longitude":755443264,"raw_latitude":120032216,"longitude_deg":75.5443264,"latitude_deg":12.0032216,"altitude":88,"angle":326,"satellites":35,"speed":33,"hex_longitude":"2d072640","hex_latitude":"07278bd8","is_valid_coordinates":true} 
[2026-09-05 11:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878873600001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17590768705208320,"note":"Value kept but may cause issues"} 
[2026-09-05 11:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":516436244247810048,"note":"Value kept but may cause issues"} 
[2026-09-05 11:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788589352000,"timestamp_ms":1788589352000,"timestamp_seconds":1788589352,"priority":1,"record_length":96,"hex_timestamp":"000001a0703ba440"} 
[2026-09-05 11:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 11:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878873600001,"66":13863,"192":206,"83":44288,"24":33,"16":17590768705208320,"45":516436244247810048},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,45]} 
[2026-09-05 11:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878873600001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:54:06] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-05 11:54:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17590768705208320,"km_value":17590768705208.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":516436244247810048,"description":"Unknown IO ID 45"} 
[2026-09-05 11:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878873600001,"power":13863,"unknown_192":206,"unknown_83":44288,"ignition":33,"odometer":null,"unknown_45":516436244247810048}} 
[2026-09-05 11:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":174186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:54:06] local.INFO: GPS data processed {"connection_id":174186,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:54:06] local.INFO: Acknowledgment sent {"connection_id":174186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:54:33] local.INFO: TCP Data received {"connection_id":172873,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0703cb998012d60678006352cf0001300c02e..."} 
[2026-09-05 11:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0703cb998012d60678006352cf0001300c02e..."} 
[2026-09-05 11:54:33] local.INFO: Processing buffer {"connection_id":172873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0703cb998012d60678006352cf0001300c02e..."} 
[2026-09-05 11:54:33] local.INFO: Packet analysis {"connection_id":172873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0703c"} 
[2026-09-05 11:54:33] local.INFO: Extracted packet for processing {"connection_id":172873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0703c"} 
[2026-09-05 11:54:33] local.INFO: GPS Element Parsed {"raw_longitude":761292672,"raw_latitude":104148208,"longitude_deg":76.1292672,"latitude_deg":10.4148208,"altitude":19,"angle":192,"satellites":46,"speed":0,"hex_longitude":"2d606780","hex_latitude":"06352cf0","is_valid_coordinates":true} 
[2026-09-05 11:54: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-09-05 11:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878873344001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399583317470478336,"note":"Value kept but may cause issues"} 
[2026-09-05 11:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6946661714392576000,"note":"Value kept but may cause issues"} 
[2026-09-05 11:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788589423000,"timestamp_ms":1788589423000,"timestamp_seconds":1788589423,"priority":1,"record_length":96,"hex_timestamp":"000001a0703cb998"} 
[2026-09-05 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-09-05 11:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-05 11:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 11:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:54: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-09-05 11:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878873344001,"66":26408,"25":206,"78":38656,"24":0,"16":399583317470478336,"45":6946661714392576000},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,78,24,16,45]} 
[2026-09-05 11:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878873344001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:54:33] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-05 11:54:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399583317470478336,"km_value":399583317470478.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6946661714392576000,"description":"Unknown IO ID 45"} 
[2026-09-05 11:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878873344001,"power":26408,"unknown_25":206,"unknown_78":38656,"ignition":0,"odometer":null,"unknown_45":6946661714392576000}} 
[2026-09-05 11:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":172873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:54:33] local.INFO: GPS data processed {"connection_id":172873,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:54:33] local.INFO: Acknowledgment sent {"connection_id":172873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:54:46] local.INFO: TCP Data received {"connection_id":174187,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:54:46] local.INFO: Processing buffer {"connection_id":174187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:54:46] local.INFO: IMEI packet received {"connection_id":174187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":174187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:54:49] local.INFO: TCP Data received {"connection_id":174187,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:54:49] local.INFO: Processing buffer {"connection_id":174187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:54:49] local.INFO: IMEI packet received {"connection_id":174187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":174187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:54:54] local.INFO: TCP Data received {"connection_id":174187,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:54:54] local.INFO: Processing buffer {"connection_id":174187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:54:54] local.INFO: IMEI packet received {"connection_id":174187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":174187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:54:55] local.INFO: TCP Data received {"connection_id":174187,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0703cc938012d0662400727e6c80058016427..."} 
[2026-09-05 11:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0703cc938012d0662400727e6c80058016427..."} 
[2026-09-05 11:54:55] local.INFO: Processing buffer {"connection_id":174187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0703cc938012d0662400727e6c80058016427..."} 
[2026-09-05 11:54:55] local.INFO: Packet analysis {"connection_id":174187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0703c"} 
[2026-09-05 11:54:55] local.INFO: Extracted packet for processing {"connection_id":174187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0703c"} 
[2026-09-05 11:54:55] local.INFO: GPS Element Parsed {"raw_longitude":755393088,"raw_latitude":120055496,"longitude_deg":75.5393088,"latitude_deg":12.0055496,"altitude":88,"angle":356,"satellites":39,"speed":26,"hex_longitude":"2d066240","hex_latitude":"0727e6c8","is_valid_coordinates":true} 
[2026-09-05 11:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878893056001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17593538959114240,"note":"Value kept but may cause issues"} 
[2026-09-05 11:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":460070880167600128,"note":"Value kept but may cause issues"} 
[2026-09-05 11:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788589427000,"timestamp_ms":1788589427000,"timestamp_seconds":1788589427,"priority":1,"record_length":96,"hex_timestamp":"000001a0703cc938"} 
[2026-09-05 11:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:54:55] 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-09-05 11:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-09-05 11:54:55] 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-09-05 11:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878893056001,"66":13733,"192":206,"83":44288,"24":26,"16":17593538959114240,"45":460070880167600128},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,45]} 
[2026-09-05 11:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878893056001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:54:55] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-05 11:54:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17593538959114240,"km_value":17593538959114.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":460070880167600128,"description":"Unknown IO ID 45"} 
[2026-09-05 11:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878893056001,"power":13733,"unknown_192":206,"unknown_83":44288,"ignition":26,"odometer":null,"unknown_45":460070880167600128}} 
[2026-09-05 11:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":174187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:54:55] local.INFO: GPS data processed {"connection_id":174187,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:54:55] local.INFO: Acknowledgment sent {"connection_id":174187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:54:56] local.INFO: TCP Data received {"connection_id":174187,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0703ccd20012d0662c00727e9c80058000727..."} 
[2026-09-05 11:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0703ccd20012d0662c00727e9c80058000727..."} 
[2026-09-05 11:54:56] local.INFO: Processing buffer {"connection_id":174187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0703ccd20012d0662c00727e9c80058000727..."} 
[2026-09-05 11:54:56] local.INFO: Packet analysis {"connection_id":174187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0703c"} 
[2026-09-05 11:54:56] local.INFO: Extracted packet for processing {"connection_id":174187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0703c"} 
[2026-09-05 11:54:56] local.INFO: GPS Element Parsed {"raw_longitude":755393216,"raw_latitude":120056264,"longitude_deg":75.5393216,"latitude_deg":12.0056264,"altitude":88,"angle":7,"satellites":39,"speed":30,"hex_longitude":"2d0662c0","hex_latitude":"0727e9c8","is_valid_coordinates":true} 
[2026-09-05 11:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878893312001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17593577613819904,"note":"Value kept but may cause issues"} 
[2026-09-05 11:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":460000511423596544,"note":"Value kept but may cause issues"} 
[2026-09-05 11:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788589428000,"timestamp_ms":1788589428000,"timestamp_seconds":1788589428,"priority":1,"record_length":96,"hex_timestamp":"000001a0703ccd20"} 
[2026-09-05 11:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-09-05 11:54:56] 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-09-05 11:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878893312001,"66":13961,"192":206,"83":44288,"24":30,"16":17593577613819904,"45":460000511423596544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,45]} 
[2026-09-05 11:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878893312001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:54:56] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-05 11:54:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17593577613819904,"km_value":17593577613819.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":460000511423596544,"description":"Unknown IO ID 45"} 
[2026-09-05 11:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878893312001,"power":13961,"unknown_192":206,"unknown_83":44288,"ignition":30,"odometer":null,"unknown_45":460000511423596544}} 
[2026-09-05 11:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":174187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:54:56] local.INFO: GPS data processed {"connection_id":174187,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:54:56] local.INFO: Acknowledgment sent {"connection_id":174187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:55:07] local.INFO: TCP Data received {"connection_id":171781,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:55:07] local.INFO: Processing buffer {"connection_id":171781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:55:07] local.INFO: IMEI packet received {"connection_id":171781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":171781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:55:09] local.INFO: TCP Data received {"connection_id":171781,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:55:09] local.INFO: Processing buffer {"connection_id":171781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:55:09] local.INFO: IMEI packet received {"connection_id":171781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":171781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:55:11] local.INFO: TCP Data received {"connection_id":171781,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:55:11] local.INFO: Processing buffer {"connection_id":171781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:55:11] local.INFO: IMEI packet received {"connection_id":171781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":171781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:55:13] local.INFO: TCP Data received {"connection_id":171781,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0703cd108012d606e80063531c00013004b2f..."} 
[2026-09-05 11:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0703cd108012d606e80063531c00013004b2f..."} 
[2026-09-05 11:55:13] local.INFO: Processing buffer {"connection_id":171781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0703cd108012d606e80063531c00013004b2f..."} 
[2026-09-05 11:55:13] local.INFO: Packet analysis {"connection_id":171781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0703c"} 
[2026-09-05 11:55:13] local.INFO: Extracted packet for processing {"connection_id":171781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0703c"} 
[2026-09-05 11:55:13] local.INFO: GPS Element Parsed {"raw_longitude":761294464,"raw_latitude":104149440,"longitude_deg":76.1294464,"latitude_deg":10.414944,"altitude":19,"angle":75,"satellites":47,"speed":0,"hex_longitude":"2d606e80","hex_latitude":"063531c0","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878892288001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399583317470478336,"note":"Value kept but may cause issues"} 
[2026-09-05 11:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6946661714392576000,"note":"Value kept but may cause issues"} 
[2026-09-05 11:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788589429000,"timestamp_ms":1788589429000,"timestamp_seconds":1788589429,"priority":1,"record_length":96,"hex_timestamp":"000001a0703cd108"} 
[2026-09-05 11:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:55:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-05 11:55:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:55:13] 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-09-05 11:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878892288001,"66":27571,"25":206,"78":38656,"24":0,"16":399583317470478336,"45":6946661714392576000},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,78,24,16,45]} 
[2026-09-05 11:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878892288001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:55:13] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-05 11:55:13] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399583317470478336,"km_value":399583317470478.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6946661714392576000,"description":"Unknown IO ID 45"} 
[2026-09-05 11:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878892288001,"power":27571,"unknown_25":206,"unknown_78":38656,"ignition":0,"odometer":null,"unknown_45":6946661714392576000}} 
[2026-09-05 11:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":171781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:55:13] local.INFO: GPS data processed {"connection_id":171781,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:55:13] local.INFO: Acknowledgment sent {"connection_id":171781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:55:27] local.INFO: TCP Data received {"connection_id":174187,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0703da010012d063c80072894a00051015423..."} 
[2026-09-05 11:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0703da010012d063c80072894a00051015423..."} 
[2026-09-05 11:55:27] local.INFO: Processing buffer {"connection_id":174187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0703da010012d063c80072894a00051015423..."} 
[2026-09-05 11:55:27] local.INFO: Packet analysis {"connection_id":174187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0703d"} 
[2026-09-05 11:55:27] local.INFO: Extracted packet for processing {"connection_id":174187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0703d"} 
[2026-09-05 11:55:27] local.INFO: GPS Element Parsed {"raw_longitude":755383424,"raw_latitude":120100000,"longitude_deg":75.5383424,"latitude_deg":12.01,"altitude":81,"angle":340,"satellites":35,"speed":36,"hex_longitude":"2d063c80","hex_latitude":"072894a0","is_valid_coordinates":true} 
[2026-09-05 11:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878906880001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17596051514982400,"note":"Value kept but may cause issues"} 
[2026-09-05 11:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":450148887249684480,"note":"Value kept but may cause issues"} 
[2026-09-05 11:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788589482000,"timestamp_ms":1788589482000,"timestamp_seconds":1788589482,"priority":1,"record_length":96,"hex_timestamp":"000001a0703da010"} 
[2026-09-05 11:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-05 11:55: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-09-05 11:55:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878906880001,"66":13972,"76":206,"83":44288,"24":36,"16":17596051514982400,"45":450148887249684480},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,45]} 
[2026-09-05 11:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878906880001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:55:27] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-05 11:55:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17596051514982400,"km_value":17596051514982.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":450148887249684480,"description":"Unknown IO ID 45"} 
[2026-09-05 11:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878906880001,"power":13972,"unknown_76":206,"unknown_83":44288,"ignition":36,"odometer":null,"unknown_45":450148887249684480}} 
[2026-09-05 11:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":174187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:55:27] local.INFO: GPS data processed {"connection_id":174187,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:55:27] local.INFO: Acknowledgment sent {"connection_id":174187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:55:46] local.INFO: TCP Data received {"connection_id":174189,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:55:46] local.INFO: Processing buffer {"connection_id":174189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:55:46] local.INFO: IMEI packet received {"connection_id":174189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":174189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:55:51] local.INFO: TCP Data received {"connection_id":174189,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:55:51] local.INFO: Processing buffer {"connection_id":174189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:55:51] local.INFO: IMEI packet received {"connection_id":174189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":174189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:55:55] local.INFO: TCP Data received {"connection_id":174189,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:55:55] local.INFO: Processing buffer {"connection_id":174189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:55:55] local.INFO: IMEI packet received {"connection_id":174189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":174189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:55:56] local.INFO: TCP Data received {"connection_id":174189,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0703da3f8012d063c80072898680051015f23..."} 
[2026-09-05 11:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0703da3f8012d063c80072898680051015f23..."} 
[2026-09-05 11:55:56] local.INFO: Processing buffer {"connection_id":174189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0703da3f8012d063c80072898680051015f23..."} 
[2026-09-05 11:55:56] local.INFO: Packet analysis {"connection_id":174189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0703d"} 
[2026-09-05 11:55:56] local.INFO: Extracted packet for processing {"connection_id":174189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0703d"} 
[2026-09-05 11:55:56] local.INFO: GPS Element Parsed {"raw_longitude":755383424,"raw_latitude":120100968,"longitude_deg":75.5383424,"latitude_deg":12.0100968,"altitude":81,"angle":351,"satellites":35,"speed":36,"hex_longitude":"2d063c80","hex_latitude":"07289868","is_valid_coordinates":true} 
[2026-09-05 11:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878907392001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17596098759622656,"note":"Value kept but may cause issues"} 
[2026-09-05 11:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":449374831064162304,"note":"Value kept but may cause issues"} 
[2026-09-05 11:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788589483000,"timestamp_ms":1788589483000,"timestamp_seconds":1788589483,"priority":1,"record_length":96,"hex_timestamp":"000001a0703da3f8"} 
[2026-09-05 11:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 11:55:56] 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-09-05 11:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878907392001,"66":13972,"76":206,"83":44288,"24":36,"16":17596098759622656,"45":449374831064162304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,45]} 
[2026-09-05 11:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878907392001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:55:56] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-05 11:55:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17596098759622656,"km_value":17596098759622.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":449374831064162304,"description":"Unknown IO ID 45"} 
[2026-09-05 11:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878907392001,"power":13972,"unknown_76":206,"unknown_83":44288,"ignition":36,"odometer":null,"unknown_45":449374831064162304}} 
[2026-09-05 11:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":174189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:55:56] local.INFO: GPS data processed {"connection_id":174189,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:55:56] local.INFO: Acknowledgment sent {"connection_id":174189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:55:57] local.INFO: TCP Data received {"connection_id":174189,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0703dafb0012d0639c00728a3900052015321..."} 
[2026-09-05 11:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0703dafb0012d0639c00728a3900052015321..."} 
[2026-09-05 11:55:57] local.INFO: Processing buffer {"connection_id":174189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0703dafb0012d0639c00728a3900052015321..."} 
[2026-09-05 11:55:57] local.INFO: Packet analysis {"connection_id":174189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0703d"} 
[2026-09-05 11:55:57] local.INFO: Extracted packet for processing {"connection_id":174189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0703d"} 
[2026-09-05 11:55:57] local.INFO: GPS Element Parsed {"raw_longitude":755382720,"raw_latitude":120103824,"longitude_deg":75.538272,"latitude_deg":12.0103824,"altitude":82,"angle":339,"satellites":33,"speed":39,"hex_longitude":"2d0639c0","hex_latitude":"0728a390","is_valid_coordinates":true} 
[2026-09-05 11:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878907648001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17596244788510720,"note":"Value kept but may cause issues"} 
[2026-09-05 11:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":449374831064410112,"note":"Value kept but may cause issues"} 
[2026-09-05 11:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788589486000,"timestamp_ms":1788589486000,"timestamp_seconds":1788589486,"priority":1,"record_length":96,"hex_timestamp":"000001a0703dafb0"} 
[2026-09-05 11:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 11:55:57] 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-09-05 11:55:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878907648001,"66":14428,"76":206,"83":44288,"24":39,"16":17596244788510720,"45":449374831064410112},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,45]} 
[2026-09-05 11:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878907648001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:55:57] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-05 11:55:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17596244788510720,"km_value":17596244788510.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":449374831064410112,"description":"Unknown IO ID 45"} 
[2026-09-05 11:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878907648001,"power":14428,"unknown_76":206,"unknown_83":44288,"ignition":39,"odometer":null,"unknown_45":449374831064410112}} 
[2026-09-05 11:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":174189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:55:57] local.INFO: GPS data processed {"connection_id":174189,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:55:57] local.INFO: Acknowledgment sent {"connection_id":174189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:56:01] local.INFO: TCP Data received {"connection_id":171782,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:56:01] local.INFO: Processing buffer {"connection_id":171782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:56:01] local.INFO: IMEI packet received {"connection_id":171782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":171782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:56:02] local.INFO: TCP Data received {"connection_id":171782,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:56:02] local.INFO: Processing buffer {"connection_id":171782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:56:02] local.INFO: IMEI packet received {"connection_id":171782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":171782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:56:06] local.INFO: TCP Data received {"connection_id":171782,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:56:06] local.INFO: Processing buffer {"connection_id":171782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:56:06] local.INFO: IMEI packet received {"connection_id":171782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":171782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:56:08] local.INFO: TCP Data received {"connection_id":171782,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0703dcef0012d606000063546d00015011e32..."} 
[2026-09-05 11:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0703dcef0012d606000063546d00015011e32..."} 
[2026-09-05 11:56:08] local.INFO: Processing buffer {"connection_id":171782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0703dcef0012d606000063546d00015011e32..."} 
[2026-09-05 11:56:08] local.INFO: Packet analysis {"connection_id":171782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0703d"} 
[2026-09-05 11:56:08] local.INFO: Extracted packet for processing {"connection_id":171782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0703d"} 
[2026-09-05 11:56:08] local.INFO: GPS Element Parsed {"raw_longitude":761290752,"raw_latitude":104154832,"longitude_deg":76.1290752,"latitude_deg":10.4154832,"altitude":21,"angle":286,"satellites":50,"speed":17,"hex_longitude":"2d606000","hex_latitude":"063546d0","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878910208001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399583742672240640,"note":"Value kept but may cause issues"} 
[2026-09-05 11:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6945043233278146560,"note":"Value kept but may cause issues"} 
[2026-09-05 11:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788589494000,"timestamp_ms":1788589494000,"timestamp_seconds":1788589494,"priority":1,"record_length":96,"hex_timestamp":"000001a0703dcef0"} 
[2026-09-05 11:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:56: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-09-05 11:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 11:56:08] 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-09-05 11: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-09-05 11:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:56: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-09-05 11:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878910208001,"66":27745,"163":206,"78":38656,"24":17,"16":399583742672240640,"45":6945043233278146560},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,78,24,16,45]} 
[2026-09-05 11:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878910208001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:56:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 11:56:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399583742672240640,"km_value":399583742672240.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6945043233278146560,"description":"Unknown IO ID 45"} 
[2026-09-05 11:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878910208001,"power":27745,"unknown_163":206,"unknown_78":38656,"ignition":17,"odometer":null,"unknown_45":6945043233278146560}} 
[2026-09-05 11:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":171782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:56:08] local.INFO: GPS data processed {"connection_id":171782,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:56:08] local.INFO: Acknowledgment sent {"connection_id":171782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:56:10] local.INFO: TCP Data received {"connection_id":171782,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0703dd2d8012d605dc0063546f80014011032..."} 
[2026-09-05 11:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0703dd2d8012d605dc0063546f80014011032..."} 
[2026-09-05 11:56:10] local.INFO: Processing buffer {"connection_id":171782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0703dd2d8012d605dc0063546f80014011032..."} 
[2026-09-05 11:56:10] local.INFO: Packet analysis {"connection_id":171782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0703d"} 
[2026-09-05 11:56:10] local.INFO: Extracted packet for processing {"connection_id":171782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0703d"} 
[2026-09-05 11:56:10] local.INFO: GPS Element Parsed {"raw_longitude":761290176,"raw_latitude":104154872,"longitude_deg":76.1290176,"latitude_deg":10.4154872,"altitude":20,"angle":272,"satellites":50,"speed":20,"hex_longitude":"2d605dc0","hex_latitude":"063546f8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 11:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878910464001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399583768442044416,"note":"Value kept but may cause issues"} 
[2026-09-05 11:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6944550652068941824,"note":"Value kept but may cause issues"} 
[2026-09-05 11:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788589495000,"timestamp_ms":1788589495000,"timestamp_seconds":1788589495,"priority":1,"record_length":96,"hex_timestamp":"000001a0703dd2d8"} 
[2026-09-05 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-09-05 11:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 11:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 11:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:56:10] 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-09-05 11:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878910464001,"66":27843,"163":206,"78":38656,"24":20,"16":399583768442044416,"45":6944550652068941824},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,78,24,16,45]} 
[2026-09-05 11:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878910464001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:56:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 11:56:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399583768442044416,"km_value":399583768442044.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6944550652068941824,"description":"Unknown IO ID 45"} 
[2026-09-05 11:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878910464001,"power":27843,"unknown_163":206,"unknown_78":38656,"ignition":20,"odometer":null,"unknown_45":6944550652068941824}} 
[2026-09-05 11:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":171782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:56:10] local.INFO: GPS data processed {"connection_id":171782,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:56:10] local.INFO: Acknowledgment sent {"connection_id":171782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:56:12] local.INFO: TCP Data received {"connection_id":171782,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0703dd6c0012d605bc0063546a00013010332..."} 
[2026-09-05 11:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0703dd6c0012d605bc0063546a00013010332..."} 
[2026-09-05 11:56:12] local.INFO: Processing buffer {"connection_id":171782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0703dd6c0012d605bc0063546a00013010332..."} 
[2026-09-05 11:56:12] local.INFO: Packet analysis {"connection_id":171782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0703d"} 
[2026-09-05 11:56:12] local.INFO: Extracted packet for processing {"connection_id":171782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0703d"} 
[2026-09-05 11:56:12] local.INFO: GPS Element Parsed {"raw_longitude":761289664,"raw_latitude":104154784,"longitude_deg":76.1289664,"latitude_deg":10.4154784,"altitude":19,"angle":259,"satellites":50,"speed":20,"hex_longitude":"2d605bc0","hex_latitude":"063546a0","is_valid_coordinates":true} 
[2026-09-05 11:56: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-09-05 11:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878910720001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399583794211848192,"note":"Value kept but may cause issues"} 
[2026-09-05 11:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6943917333371353088,"note":"Value kept but may cause issues"} 
[2026-09-05 11:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788589496000,"timestamp_ms":1788589496000,"timestamp_seconds":1788589496,"priority":1,"record_length":96,"hex_timestamp":"000001a0703dd6c0"} 
[2026-09-05 11:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 11:56:12] 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-09-05 11:56: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-09-05 11:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:56:12] 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-09-05 11:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878910720001,"66":27843,"163":206,"78":38656,"24":20,"16":399583794211848192,"45":6943917333371353088},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,78,24,16,45]} 
[2026-09-05 11:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878910720001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:56:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 11:56:12] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399583794211848192,"km_value":399583794211848.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6943917333371353088,"description":"Unknown IO ID 45"} 
[2026-09-05 11:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878910720001,"power":27843,"unknown_163":206,"unknown_78":38656,"ignition":20,"odometer":null,"unknown_45":6943917333371353088}} 
[2026-09-05 11:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":171782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:56:12] local.INFO: GPS data processed {"connection_id":171782,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:56:12] local.INFO: Acknowledgment sent {"connection_id":171782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:56:28] local.INFO: TCP Data received {"connection_id":174189,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0703e7eb8012d05b34007292150003d01411f..."} 
[2026-09-05 11:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0703e7eb8012d05b34007292150003d01411f..."} 
[2026-09-05 11:56:28] local.INFO: Processing buffer {"connection_id":174189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0703e7eb8012d05b34007292150003d01411f..."} 
[2026-09-05 11:56:28] local.INFO: Packet analysis {"connection_id":174189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0703e"} 
[2026-09-05 11:56:28] local.INFO: Extracted packet for processing {"connection_id":174189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0703e"} 
[2026-09-05 11:56:28] local.INFO: GPS Element Parsed {"raw_longitude":755348288,"raw_latitude":120136016,"longitude_deg":75.5348288,"latitude_deg":12.0136016,"altitude":61,"angle":321,"satellites":31,"speed":52,"hex_longitude":"2d05b340","hex_latitude":"07292150","is_valid_coordinates":true} 
[2026-09-05 11:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878920704001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17598727279607808,"note":"Value kept but may cause issues"} 
[2026-09-05 11:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":414331196471500800,"note":"Value kept but may cause issues"} 
[2026-09-05 11:56:28] 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-09-05 11:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788589539000,"timestamp_ms":1788589539000,"timestamp_seconds":1788589539,"priority":1,"record_length":96,"hex_timestamp":"000001a0703e7eb8"} 
[2026-09-05 11:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-09-05 11:56:28] 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-09-05 11:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878920704001,"66":13928,"75":206,"83":44288,"24":52,"16":17598727279607808,"45":414331196471500800},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,45]} 
[2026-09-05 11:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878920704001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:56:28] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-05 11:56:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17598727279607808,"km_value":17598727279607.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":414331196471500800,"description":"Unknown IO ID 45"} 
[2026-09-05 11:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878920704001,"power":13928,"unknown_75":206,"unknown_83":44288,"ignition":52,"odometer":null,"unknown_45":414331196471500800}} 
[2026-09-05 11:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":174189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:56:28] local.INFO: GPS data processed {"connection_id":174189,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:56:28] local.INFO: Acknowledgment sent {"connection_id":174189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:56:42] local.INFO: TCP Data received {"connection_id":172874,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:56:42] local.INFO: Processing buffer {"connection_id":172874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:56:42] local.INFO: IMEI packet received {"connection_id":172874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":172874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:56:46] local.INFO: TCP Data received {"connection_id":172874,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:56:46] local.INFO: Processing buffer {"connection_id":172874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:56:46] local.INFO: IMEI packet received {"connection_id":172874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":172874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:56:46] local.INFO: TCP Data received {"connection_id":172874,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:56:46] local.INFO: Processing buffer {"connection_id":172874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:56:46] local.INFO: IMEI packet received {"connection_id":172874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":172874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:56:47] local.INFO: TCP Data received {"connection_id":172874,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:56:47] local.INFO: Processing buffer {"connection_id":172874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:56:47] local.INFO: IMEI packet received {"connection_id":172874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":172874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:56:48] local.INFO: TCP Data received {"connection_id":172874,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0703ed890012d05838007295bc8003d011522..."} 
[2026-09-05 11:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0703ed890012d05838007295bc8003d011522..."} 
[2026-09-05 11:56:48] local.INFO: Processing buffer {"connection_id":172874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0703ed890012d05838007295bc8003d011522..."} 
[2026-09-05 11:56:48] local.INFO: Packet analysis {"connection_id":172874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0703e"} 
[2026-09-05 11:56:48] local.INFO: Extracted packet for processing {"connection_id":172874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0703e"} 
[2026-09-05 11:56:48] local.INFO: GPS Element Parsed {"raw_longitude":755336064,"raw_latitude":120150984,"longitude_deg":75.5336064,"latitude_deg":12.0150984,"altitude":61,"angle":277,"satellites":34,"speed":40,"hex_longitude":"2d058380","hex_latitude":"07295bc8","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878927360001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17599843971104768,"note":"Value kept but may cause issues"} 
[2026-09-05 11:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":399553760199460864,"note":"Value kept but may cause issues"} 
[2026-09-05 11:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788589562000,"timestamp_ms":1788589562000,"timestamp_seconds":1788589562,"priority":1,"record_length":96,"hex_timestamp":"000001a0703ed890"} 
[2026-09-05 11:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:56:48] 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-09-05 11: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 11:56:48] 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-09-05 11: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-09-05 11:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":172874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":172874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":172874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878927360001,"66":14048,"77":206,"83":44288,"24":40,"16":17599843971104768,"45":399553760199460864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,83,24,16,45]} 
[2026-09-05 11:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878927360001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:56:48] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-05 11:56:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17599843971104768,"km_value":17599843971104.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":399553760199460864,"description":"Unknown IO ID 45"} 
[2026-09-05 11:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878927360001,"power":14048,"unknown_77":206,"unknown_83":44288,"ignition":40,"odometer":null,"unknown_45":399553760199460864}} 
[2026-09-05 11:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":172874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:56:48] local.INFO: GPS data processed {"connection_id":172874,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:56:48] local.INFO: Acknowledgment sent {"connection_id":172874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:56:50] local.INFO: TCP Data received {"connection_id":172874,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0703ee060012d057b4007295da8003c012122..."} 
[2026-09-05 11:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0703ee060012d057b4007295da8003c012122..."} 
[2026-09-05 11:56:50] local.INFO: Processing buffer {"connection_id":172874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0703ee060012d057b4007295da8003c012122..."} 
[2026-09-05 11:56:50] local.INFO: Packet analysis {"connection_id":172874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0703e"} 
[2026-09-05 11:56:50] local.INFO: Extracted packet for processing {"connection_id":172874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0703e"} 
[2026-09-05 11:56:50] local.INFO: GPS Element Parsed {"raw_longitude":755333952,"raw_latitude":120151464,"longitude_deg":75.5333952,"latitude_deg":12.0151464,"altitude":60,"angle":289,"satellites":34,"speed":44,"hex_longitude":"2d057b40","hex_latitude":"07295da8","is_valid_coordinates":true} 
[2026-09-05 11:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878927872001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17599947050319872,"note":"Value kept but may cause issues"} 
[2026-09-05 11:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":397301960385742848,"note":"Value kept but may cause issues"} 
[2026-09-05 11:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788589564000,"timestamp_ms":1788589564000,"timestamp_seconds":1788589564,"priority":1,"record_length":96,"hex_timestamp":"000001a0703ee060"} 
[2026-09-05 11:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:56:50] 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-09-05 11:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-05 11:56:50] 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-09-05 11:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878927872001,"66":14004,"77":206,"83":44288,"24":44,"16":17599947050319872,"45":397301960385742848},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,83,24,16,45]} 
[2026-09-05 11:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878927872001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:56:50] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-05 11:56:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17599947050319872,"km_value":17599947050319.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":397301960385742848,"description":"Unknown IO ID 45"} 
[2026-09-05 11:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878927872001,"power":14004,"unknown_77":206,"unknown_83":44288,"ignition":44,"odometer":null,"unknown_45":397301960385742848}} 
[2026-09-05 11:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":172874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:56:50] local.INFO: GPS data processed {"connection_id":172874,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:56:50] local.INFO: Acknowledgment sent {"connection_id":172874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:56:56] local.INFO: TCP Data received {"connection_id":171486,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:56:56] local.INFO: Processing buffer {"connection_id":171486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:56:56] local.INFO: IMEI packet received {"connection_id":171486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":171486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:56:59] local.INFO: TCP Data received {"connection_id":171486,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:56:59] local.INFO: Processing buffer {"connection_id":171486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:56:59] local.INFO: IMEI packet received {"connection_id":171486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":171486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:56:59] local.INFO: TCP Data received {"connection_id":171486,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0703e1540012d60390006353d20000a01042c..."} 
[2026-09-05 11:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0703e1540012d60390006353d20000a01042c..."} 
[2026-09-05 11:56:59] local.INFO: Processing buffer {"connection_id":171486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0703e1540012d60390006353d20000a01042c..."} 
[2026-09-05 11:56:59] local.INFO: Packet analysis {"connection_id":171486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0703e"} 
[2026-09-05 11:56:59] local.INFO: Extracted packet for processing {"connection_id":171486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0703e"} 
[2026-09-05 11:56:59] local.INFO: GPS Element Parsed {"raw_longitude":761280768,"raw_latitude":104152352,"longitude_deg":76.1280768,"latitude_deg":10.4152352,"altitude":10,"angle":260,"satellites":44,"speed":28,"hex_longitude":"2d603900","hex_latitude":"06353d20","is_valid_coordinates":true} 
[2026-09-05 11:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878910976001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399584236593479680,"note":"Value kept but may cause issues"} 
[2026-09-05 11:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6943354383417909248,"note":"Value kept but may cause issues"} 
[2026-09-05 11:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788589512000,"timestamp_ms":1788589512000,"timestamp_seconds":1788589512,"priority":1,"record_length":96,"hex_timestamp":"000001a0703e1540"} 
[2026-09-05 11:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 11:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878910976001,"66":27865,"163":206,"78":38656,"24":28,"16":399584236593479680,"45":6943354383417909248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,78,24,16,45]} 
[2026-09-05 11:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878910976001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:56:59] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 11:56:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399584236593479680,"km_value":399584236593479.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6943354383417909248,"description":"Unknown IO ID 45"} 
[2026-09-05 11:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878910976001,"power":27865,"unknown_163":206,"unknown_78":38656,"ignition":28,"odometer":null,"unknown_45":6943354383417909248}} 
[2026-09-05 11:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":171486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:56:59] local.INFO: GPS data processed {"connection_id":171486,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:56:59] local.INFO: Acknowledgment sent {"connection_id":171486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:57:25] local.INFO: TCP Data received {"connection_id":172874,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0703f49d8012d05268007297838002e01231f..."} 
[2026-09-05 11:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0703f49d8012d05268007297838002e01231f..."} 
[2026-09-05 11:57:25] local.INFO: Processing buffer {"connection_id":172874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0703f49d8012d05268007297838002e01231f..."} 
[2026-09-05 11:57:25] local.INFO: Packet analysis {"connection_id":172874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0703f"} 
[2026-09-05 11:57:25] local.INFO: Extracted packet for processing {"connection_id":172874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0703f"} 
[2026-09-05 11:57:25] local.INFO: GPS Element Parsed {"raw_longitude":755312256,"raw_latitude":120158264,"longitude_deg":75.5312256,"latitude_deg":12.0158264,"altitude":46,"angle":291,"satellites":31,"speed":49,"hex_longitude":"2d052680","hex_latitude":"07297838","is_valid_coordinates":true} 
[2026-09-05 11:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878934016001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17601201180770304,"note":"Value kept but may cause issues"} 
[2026-09-05 11:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":376895024575238144,"note":"Value kept but may cause issues"} 
[2026-09-05 11:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788589591000,"timestamp_ms":1788589591000,"timestamp_seconds":1788589591,"priority":1,"record_length":96,"hex_timestamp":"000001a0703f49d8"} 
[2026-09-05 11:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 11:57:25] 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-09-05 11:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878934016001,"66":14070,"77":206,"83":44288,"24":49,"16":17601201180770304,"45":376895024575238144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,83,24,16,45]} 
[2026-09-05 11:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878934016001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:57:25] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-05 11:57:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17601201180770304,"km_value":17601201180770.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":376895024575238144,"description":"Unknown IO ID 45"} 
[2026-09-05 11:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878934016001,"power":14070,"unknown_77":206,"unknown_83":44288,"ignition":49,"odometer":null,"unknown_45":376895024575238144}} 
[2026-09-05 11:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":172874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:57:25] local.INFO: GPS data processed {"connection_id":172874,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:57:25] local.INFO: Acknowledgment sent {"connection_id":172874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:57:30] local.INFO: TCP Data received {"connection_id":171486,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0703e4038012d60164006353628000801022f..."} 
[2026-09-05 11:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0703e4038012d60164006353628000801022f..."} 
[2026-09-05 11:57:30] local.INFO: Processing buffer {"connection_id":171486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0703e4038012d60164006353628000801022f..."} 
[2026-09-05 11:57:30] local.INFO: Packet analysis {"connection_id":171486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0703e"} 
[2026-09-05 11:57:30] local.INFO: Extracted packet for processing {"connection_id":171486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0703e"} 
[2026-09-05 11:57:30] local.INFO: GPS Element Parsed {"raw_longitude":761271872,"raw_latitude":104150568,"longitude_deg":76.1271872,"latitude_deg":10.4150568,"altitude":8,"angle":258,"satellites":47,"speed":32,"hex_longitude":"2d601640","hex_latitude":"06353628","is_valid_coordinates":true} 
[2026-09-05 11:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878915072001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399584670385176576,"note":"Value kept but may cause issues"} 
[2026-09-05 11:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6933573127976591360,"note":"Value kept but may cause issues"} 
[2026-09-05 11:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788589523000,"timestamp_ms":1788589523000,"timestamp_seconds":1788589523,"priority":1,"record_length":96,"hex_timestamp":"000001a0703e4038"} 
[2026-09-05 11:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 11:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:57:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":171486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":171486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":171486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878915072001,"66":27908,"163":206,"78":38656,"24":32,"16":399584670385176576,"45":6933573127976591360},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,78,24,16,45]} 
[2026-09-05 11:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878915072001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:57:30] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 11:57:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399584670385176576,"km_value":399584670385176.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6933573127976591360,"description":"Unknown IO ID 45"} 
[2026-09-05 11:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878915072001,"power":27908,"unknown_163":206,"unknown_78":38656,"ignition":32,"odometer":null,"unknown_45":6933573127976591360}} 
[2026-09-05 11:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":171486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:57:31] local.INFO: GPS data processed {"connection_id":171486,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:57:31] local.INFO: Acknowledgment sent {"connection_id":171486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:57:44] local.INFO: TCP Data received {"connection_id":174190,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:57:44] local.INFO: Processing buffer {"connection_id":174190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:57:44] local.INFO: IMEI packet received {"connection_id":174190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":174190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:57:46] local.INFO: TCP Data received {"connection_id":174190,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:57:46] local.INFO: Processing buffer {"connection_id":174190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:57:46] local.INFO: IMEI packet received {"connection_id":174190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":174190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:57:52] local.INFO: TCP Data received {"connection_id":174190,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:57:52] local.INFO: Processing buffer {"connection_id":174190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:57:52] local.INFO: IMEI packet received {"connection_id":174190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":174190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:57:53] local.INFO: TCP Data received {"connection_id":174190,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0703f6530012d050540072986180029011b1f..."} 
[2026-09-05 11:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0703f6530012d050540072986180029011b1f..."} 
[2026-09-05 11:57:53] local.INFO: Processing buffer {"connection_id":174190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0703f6530012d050540072986180029011b1f..."} 
[2026-09-05 11:57:53] local.INFO: Packet analysis {"connection_id":174190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0703f"} 
[2026-09-05 11:57:53] local.INFO: Extracted packet for processing {"connection_id":174190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0703f"} 
[2026-09-05 11:57:53] local.INFO: GPS Element Parsed {"raw_longitude":755303744,"raw_latitude":120161816,"longitude_deg":75.5303744,"latitude_deg":12.0161816,"altitude":41,"angle":283,"satellites":31,"speed":49,"hex_longitude":"2d050540","hex_latitude":"07298618","is_valid_coordinates":true} 
[2026-09-05 11:57: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-09-05 11:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878935296001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17601639267434496,"note":"Value kept but may cause issues"} 
[2026-09-05 11:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":371124787553515520,"note":"Value kept but may cause issues"} 
[2026-09-05 11:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788589598000,"timestamp_ms":1788589598000,"timestamp_seconds":1788589598,"priority":1,"record_length":96,"hex_timestamp":"000001a0703f6530"} 
[2026-09-05 11:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:57: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":246,"data_length":795,"current_offset":136} 
[2026-09-05 11:57:53] 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-09-05 11:57: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-09-05 11:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878935296001,"66":14298,"77":206,"83":44288,"24":49,"16":17601639267434496,"45":371124787553515520},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,83,24,16,45]} 
[2026-09-05 11:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878935296001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:57:53] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-05 11:57:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17601639267434496,"km_value":17601639267434.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":371124787553515520,"description":"Unknown IO ID 45"} 
[2026-09-05 11:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878935296001,"power":14298,"unknown_77":206,"unknown_83":44288,"ignition":49,"odometer":null,"unknown_45":371124787553515520}} 
[2026-09-05 11:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":174190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:57:53] local.INFO: GPS data processed {"connection_id":174190,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:57:53] local.INFO: Acknowledgment sent {"connection_id":174190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:57:56] local.INFO: TCP Data received {"connection_id":172875,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:57:56] local.INFO: Processing buffer {"connection_id":172875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:57:56] local.INFO: IMEI packet received {"connection_id":172875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":172875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:58:02] local.INFO: TCP Data received {"connection_id":172875,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:58:02] local.INFO: Processing buffer {"connection_id":172875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:58:02] local.INFO: IMEI packet received {"connection_id":172875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":172875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:58:04] local.INFO: TCP Data received {"connection_id":172875,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0703e5f78012d5ffd4006353298000501102d..."} 
[2026-09-05 11:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0703e5f78012d5ffd4006353298000501102d..."} 
[2026-09-05 11:58:04] local.INFO: Processing buffer {"connection_id":172875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0703e5f78012d5ffd4006353298000501102d..."} 
[2026-09-05 11:58:04] local.INFO: Packet analysis {"connection_id":172875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0703e"} 
[2026-09-05 11:58:04] local.INFO: Extracted packet for processing {"connection_id":172875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0703e"} 
[2026-09-05 11:58:04] local.INFO: GPS Element Parsed {"raw_longitude":761265472,"raw_latitude":104149656,"longitude_deg":76.1265472,"latitude_deg":10.4149656,"altitude":5,"angle":272,"satellites":45,"speed":32,"hex_longitude":"2d5ffd40","hex_latitude":"06353298","is_valid_coordinates":true} 
[2026-09-05 11:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878917888001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399584979622821888,"note":"Value kept but may cause issues"} 
[2026-09-05 11:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6923791872535439360,"note":"Value kept but may cause issues"} 
[2026-09-05 11:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788589531000,"timestamp_ms":1788589531000,"timestamp_seconds":1788589531,"priority":1,"record_length":96,"hex_timestamp":"000001a0703e5f78"} 
[2026-09-05 11:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 11:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:58: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-09-05 11:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878917888001,"66":27908,"163":206,"78":38656,"24":32,"16":399584979622821888,"45":6923791872535439360},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,78,24,16,45]} 
[2026-09-05 11:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878917888001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:58:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 11:58:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399584979622821888,"km_value":399584979622821.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6923791872535439360,"description":"Unknown IO ID 45"} 
[2026-09-05 11:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878917888001,"power":27908,"unknown_163":206,"unknown_78":38656,"ignition":32,"odometer":null,"unknown_45":6923791872535439360}} 
[2026-09-05 11:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":172875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:58:04] local.INFO: GPS data processed {"connection_id":172875,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:58:04] local.INFO: Acknowledgment sent {"connection_id":172875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:58:05] local.INFO: TCP Data received {"connection_id":171783,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:58:05] local.INFO: Processing buffer {"connection_id":171783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:58:05] local.INFO: IMEI packet received {"connection_id":171783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 11:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":171783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:58:26] local.INFO: TCP Data received {"connection_id":174190,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0704018e0012d048480072a0858001c014222..."} 
[2026-09-05 11:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0704018e0012d048480072a0858001c014222..."} 
[2026-09-05 11:58:26] local.INFO: Processing buffer {"connection_id":174190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0704018e0012d048480072a0858001c014222..."} 
[2026-09-05 11:58:26] local.INFO: Packet analysis {"connection_id":174190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07040"} 
[2026-09-05 11:58:26] local.INFO: Extracted packet for processing {"connection_id":174190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07040"} 
[2026-09-05 11:58:26] local.INFO: GPS Element Parsed {"raw_longitude":755270784,"raw_latitude":120195160,"longitude_deg":75.5270784,"latitude_deg":12.019516,"altitude":28,"angle":322,"satellites":34,"speed":42,"hex_longitude":"2d048480","hex_latitude":"072a0858","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878948352001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17604113168596992,"note":"Value kept but may cause issues"} 
[2026-09-05 11:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":326651741242216448,"note":"Value kept but may cause issues"} 
[2026-09-05 11:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788589644000,"timestamp_ms":1788589644000,"timestamp_seconds":1788589644,"priority":1,"record_length":96,"hex_timestamp":"000001a0704018e0"} 
[2026-09-05 11:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:58:26] 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-09-05 11: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-05 11:58:26] 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-09-05 11: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-09-05 11:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878948352001,"66":14004,"31":206,"83":44288,"24":42,"16":17604113168596992,"45":326651741242216448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-09-05 11:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878948352001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:58:26] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-05 11:58:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17604113168596992,"km_value":17604113168596.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":326651741242216448,"description":"Unknown IO ID 45"} 
[2026-09-05 11:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878948352001,"power":14004,"unknown_31":206,"unknown_83":44288,"ignition":42,"odometer":null,"unknown_45":326651741242216448}} 
[2026-09-05 11:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":174190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:58:26] local.INFO: GPS data processed {"connection_id":174190,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:58:26] local.INFO: Acknowledgment sent {"connection_id":174190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:58:36] local.INFO: TCP Data received {"connection_id":172875,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0703e8e58012d5fd840063532c0000501052e..."} 
[2026-09-05 11:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0703e8e58012d5fd840063532c0000501052e..."} 
[2026-09-05 11:58:36] local.INFO: Processing buffer {"connection_id":172875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0703e8e58012d5fd840063532c0000501052e..."} 
[2026-09-05 11:58:36] local.INFO: Packet analysis {"connection_id":172875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0703e"} 
[2026-09-05 11:58:36] local.INFO: Extracted packet for processing {"connection_id":172875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0703e"} 
[2026-09-05 11:58:36] local.INFO: GPS Element Parsed {"raw_longitude":761256000,"raw_latitude":104149696,"longitude_deg":76.1256,"latitude_deg":10.4149696,"altitude":5,"angle":261,"satellites":46,"speed":31,"hex_longitude":"2d5fd840","hex_latitude":"063532c0","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878919936001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399585430594387968,"note":"Value kept but may cause issues"} 
[2026-09-05 11:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6916754998117439488,"note":"Value kept but may cause issues"} 
[2026-09-05 11:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788589543000,"timestamp_ms":1788589543000,"timestamp_seconds":1788589543,"priority":1,"record_length":96,"hex_timestamp":"000001a0703e8e58"} 
[2026-09-05 11:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:58: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-09-05 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 11:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:58: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-09-05 11:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878919936001,"66":27908,"163":206,"78":38656,"24":31,"16":399585430594387968,"45":6916754998117439488},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,78,24,16,45]} 
[2026-09-05 11:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878919936001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:58:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 11:58:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399585430594387968,"km_value":399585430594387.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6916754998117439488,"description":"Unknown IO ID 45"} 
[2026-09-05 11:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878919936001,"power":27908,"unknown_163":206,"unknown_78":38656,"ignition":31,"odometer":null,"unknown_45":6916754998117439488}} 
[2026-09-05 11:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":172875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:58:36] local.INFO: GPS data processed {"connection_id":172875,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:58:36] local.INFO: Acknowledgment sent {"connection_id":172875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:58:50] local.INFO: TCP Data received {"connection_id":171784,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:58:50] local.INFO: Processing buffer {"connection_id":171784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:58:50] local.INFO: IMEI packet received {"connection_id":171784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":171784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:58:54] local.INFO: TCP Data received {"connection_id":171784,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:58:54] local.INFO: Processing buffer {"connection_id":171784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:58:54] local.INFO: IMEI packet received {"connection_id":171784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":171784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:58:55] local.INFO: TCP Data received {"connection_id":171784,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:58:55] local.INFO: Processing buffer {"connection_id":171784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:58:55] local.INFO: IMEI packet received {"connection_id":171784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":171784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:58:55] local.INFO: TCP Data received {"connection_id":171488,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:58:55] local.INFO: Processing buffer {"connection_id":171488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:58:55] local.INFO: IMEI packet received {"connection_id":171488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":171488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:58:56] local.INFO: TCP Data received {"connection_id":171784,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070403820012d046f00072a22d8001b014f23..."} 
[2026-09-05 11:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070403820012d046f00072a22d8001b014f23..."} 
[2026-09-05 11:58:56] local.INFO: Processing buffer {"connection_id":171784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070403820012d046f00072a22d8001b014f23..."} 
[2026-09-05 11:58:56] local.INFO: Packet analysis {"connection_id":171784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07040"} 
[2026-09-05 11:58:56] local.INFO: Extracted packet for processing {"connection_id":171784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07040"} 
[2026-09-05 11:58:56] local.INFO: GPS Element Parsed {"raw_longitude":755265280,"raw_latitude":120201944,"longitude_deg":75.526528,"latitude_deg":12.0201944,"altitude":27,"angle":335,"satellites":35,"speed":46,"hex_longitude":"2d046f00","hex_latitude":"072a22d8","is_valid_coordinates":true} 
[2026-09-05 11:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878948864001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17604534075392000,"note":"Value kept but may cause issues"} 
[2026-09-05 11:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":325525841335834624,"note":"Value kept but may cause issues"} 
[2026-09-05 11:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788589652000,"timestamp_ms":1788589652000,"timestamp_seconds":1788589652,"priority":1,"record_length":96,"hex_timestamp":"000001a070403820"} 
[2026-09-05 11:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-05 11:58:56] 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-09-05 11:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878948864001,"66":13972,"31":206,"83":44288,"24":46,"16":17604534075392000,"45":325525841335834624},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-09-05 11:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878948864001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:58:56] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-05 11:58:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17604534075392000,"km_value":17604534075392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":325525841335834624,"description":"Unknown IO ID 45"} 
[2026-09-05 11:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878948864001,"power":13972,"unknown_31":206,"unknown_83":44288,"ignition":46,"odometer":null,"unknown_45":325525841335834624}} 
[2026-09-05 11:58:56] local.INFO: TCP Data received {"connection_id":171488,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:58:56] local.INFO: Processing buffer {"connection_id":171488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:58:56] local.INFO: IMEI packet received {"connection_id":171488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":171488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":171784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:58:56] local.INFO: GPS data processed {"connection_id":171784,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:58:56] local.INFO: Acknowledgment sent {"connection_id":171784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:59:01] local.INFO: TCP Data received {"connection_id":171784,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070405760012d046100072a45e0001b015324..."} 
[2026-09-05 11:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070405760012d046100072a45e0001b015324..."} 
[2026-09-05 11:59:01] local.INFO: Processing buffer {"connection_id":171784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070405760012d046100072a45e0001b015324..."} 
[2026-09-05 11:59:01] local.INFO: Packet analysis {"connection_id":171784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07040"} 
[2026-09-05 11:59:01] local.INFO: Extracted packet for processing {"connection_id":171784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07040"} 
[2026-09-05 11:59:01] local.INFO: GPS Element Parsed {"raw_longitude":755261696,"raw_latitude":120210912,"longitude_deg":75.5261696,"latitude_deg":12.0210912,"altitude":27,"angle":339,"satellites":36,"speed":50,"hex_longitude":"2d046100","hex_latitude":"072a45e0","is_valid_coordinates":true} 
[2026-09-05 11:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878950912001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17605002226827264,"note":"Value kept but may cause issues"} 
[2026-09-05 11:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":319474129338292224,"note":"Value kept but may cause issues"} 
[2026-09-05 11:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788589660000,"timestamp_ms":1788589660000,"timestamp_seconds":1788589660,"priority":1,"record_length":96,"hex_timestamp":"000001a070405760"} 
[2026-09-05 11:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 11:59: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-09-05 11:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878950912001,"66":13928,"31":206,"83":44288,"24":50,"16":17605002226827264,"45":319474129338292224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-09-05 11:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878950912001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:59:01] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-05 11:59:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17605002226827264,"km_value":17605002226827.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":319474129338292224,"description":"Unknown IO ID 45"} 
[2026-09-05 11:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878950912001,"power":13928,"unknown_31":206,"unknown_83":44288,"ignition":50,"odometer":null,"unknown_45":319474129338292224}} 
[2026-09-05 11:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":171784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:59:01] local.INFO: GPS data processed {"connection_id":171784,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:59:01] local.INFO: Acknowledgment sent {"connection_id":171784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:59:01] local.INFO: TCP Data received {"connection_id":171488,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:59:01] local.INFO: Processing buffer {"connection_id":171488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:59:01] local.INFO: IMEI packet received {"connection_id":171488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 11:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":171488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:59:02] local.INFO: TCP Data received {"connection_id":171488,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07040a968012d5ed40006350de0000801112b..."} 
[2026-09-05 11:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07040a968012d5ed40006350de0000801112b..."} 
[2026-09-05 11:59:02] local.INFO: Processing buffer {"connection_id":171488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07040a968012d5ed40006350de0000801112b..."} 
[2026-09-05 11:59:02] local.INFO: Packet analysis {"connection_id":171488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07040"} 
[2026-09-05 11:59:02] local.INFO: Extracted packet for processing {"connection_id":171488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07040"} 
[2026-09-05 11:59:02] local.INFO: GPS Element Parsed {"raw_longitude":761189376,"raw_latitude":104140256,"longitude_deg":76.1189376,"latitude_deg":10.4140256,"altitude":8,"angle":273,"satellites":43,"speed":25,"hex_longitude":"2d5ed400","hex_latitude":"06350de0","is_valid_coordinates":true} 
[2026-09-05 11: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-09-05 11:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878954496001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399588664704761856,"note":"Value kept but may cause issues"} 
[2026-09-05 11:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6842938185472575488,"note":"Value kept but may cause issues"} 
[2026-09-05 11:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788589681000,"timestamp_ms":1788589681000,"timestamp_seconds":1788589681,"priority":1,"record_length":96,"hex_timestamp":"000001a07040a968"} 
[2026-09-05 11:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 11:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11: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-09-05 11:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878954496001,"66":28006,"151":206,"78":38656,"24":25,"16":399588664704761856,"45":6842938185472575488},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,78,24,16,45]} 
[2026-09-05 11:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878954496001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:59:02] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-05 11:59:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399588664704761856,"km_value":399588664704761.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6842938185472575488,"description":"Unknown IO ID 45"} 
[2026-09-05 11:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878954496001,"power":28006,"unknown_151":206,"unknown_78":38656,"ignition":25,"odometer":null,"unknown_45":6842938185472575488}} 
[2026-09-05 11:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":171488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:59:02] local.INFO: GPS data processed {"connection_id":171488,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:59:02] local.INFO: Acknowledgment sent {"connection_id":171488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:59:35] local.INFO: TCP Data received {"connection_id":171488,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07040b908012d5ec98006350d68000801012c..."} 
[2026-09-05 11:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07040b908012d5ec98006350d68000801012c..."} 
[2026-09-05 11:59:35] local.INFO: Processing buffer {"connection_id":171488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07040b908012d5ec98006350d68000801012c..."} 
[2026-09-05 11:59:35] local.INFO: Packet analysis {"connection_id":171488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07040"} 
[2026-09-05 11:59:35] local.INFO: Extracted packet for processing {"connection_id":171488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07040"} 
[2026-09-05 11:59:35] local.INFO: GPS Element Parsed {"raw_longitude":761186688,"raw_latitude":104140136,"longitude_deg":76.1186688,"latitude_deg":10.4140136,"altitude":8,"angle":257,"satellites":44,"speed":26,"hex_longitude":"2d5ec980","hex_latitude":"06350d68","is_valid_coordinates":true} 
[2026-09-05 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-09-05 11:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878958336001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399588793553780736,"note":"Value kept but may cause issues"} 
[2026-09-05 11:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6833086561287790592,"note":"Value kept but may cause issues"} 
[2026-09-05 11:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788589685000,"timestamp_ms":1788589685000,"timestamp_seconds":1788589685,"priority":1,"record_length":96,"hex_timestamp":"000001a07040b908"} 
[2026-09-05 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-09-05 11:59: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-09-05 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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 11:59:35] 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-09-05 11:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 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-09-05 11:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 11:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 11:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 11:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878958336001,"66":27919,"151":206,"78":38656,"24":26,"16":399588793553780736,"45":6833086561287790592},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,78,24,16,45]} 
[2026-09-05 11:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 11:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 11:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878958336001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:59:35] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-05 11:59:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 11:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399588793553780736,"km_value":399588793553780.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6833086561287790592,"description":"Unknown IO ID 45"} 
[2026-09-05 11:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878958336001,"power":27919,"unknown_151":206,"unknown_78":38656,"ignition":26,"odometer":null,"unknown_45":6833086561287790592}} 
[2026-09-05 11:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":171488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:59:35] local.INFO: GPS data processed {"connection_id":171488,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:59:35] local.INFO: Acknowledgment sent {"connection_id":171488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:59:46] local.INFO: TCP Data received {"connection_id":174191,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:59:46] local.INFO: Processing buffer {"connection_id":174191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:59:46] local.INFO: IMEI packet received {"connection_id":174191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 11:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":174191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:59:49] local.INFO: TCP Data received {"connection_id":174191,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:59:49] local.INFO: Processing buffer {"connection_id":174191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:59:49] local.INFO: IMEI packet received {"connection_id":174191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":174191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:59:49] local.INFO: TCP Data received {"connection_id":172876,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:59:49] local.INFO: Processing buffer {"connection_id":172876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 11:59:49] local.INFO: IMEI packet received {"connection_id":172876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 11:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":172876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:59:51] local.INFO: TCP Data received {"connection_id":174191,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:59:51] local.INFO: Processing buffer {"connection_id":174191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:59:51] local.INFO: IMEI packet received {"connection_id":174191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":174191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:59:52] local.INFO: TCP Data received {"connection_id":174191,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:59:52] local.INFO: Processing buffer {"connection_id":174191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 11:59:52] local.INFO: IMEI packet received {"connection_id":174191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 11:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":174191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 11:59:54] local.INFO: TCP Data received {"connection_id":174191,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070415930012d043940072b68e80012015323..."} 
[2026-09-05 11:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070415930012d043940072b68e80012015323..."} 
[2026-09-05 11:59:54] local.INFO: Processing buffer {"connection_id":174191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070415930012d043940072b68e80012015323..."} 
[2026-09-05 11:59:54] local.INFO: Packet analysis {"connection_id":174191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07041"} 
[2026-09-05 11:59:54] local.INFO: Extracted packet for processing {"connection_id":174191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07041"} 
[2026-09-05 11:59:54] local.INFO: GPS Element Parsed {"raw_longitude":755251520,"raw_latitude":120285416,"longitude_deg":75.525152,"latitude_deg":12.0285416,"altitude":18,"angle":339,"satellites":35,"speed":40,"hex_longitude":"2d043940","hex_latitude":"072b68e8","is_valid_coordinates":true} 
[2026-09-05 11:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878968320001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17608820452753408,"note":"Value kept but may cause issues"} 
[2026-09-05 11:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":308637342754953216,"note":"Value kept but may cause issues"} 
[2026-09-05 11:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788589726000,"timestamp_ms":1788589726000,"timestamp_seconds":1788589726,"priority":1,"record_length":96,"hex_timestamp":"000001a070415930"} 
[2026-09-05 11:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:59:54] 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-09-05 11:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 11:59:54] 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-09-05 11:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878968320001,"66":14515,"29":206,"83":44288,"24":40,"16":17608820452753408,"45":308637342754953216},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-09-05 11:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878968320001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:59:54] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-05 11:59:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17608820452753408,"km_value":17608820452753.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":308637342754953216,"description":"Unknown IO ID 45"} 
[2026-09-05 11:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878968320001,"power":14515,"unknown_29":206,"unknown_83":44288,"ignition":40,"odometer":null,"unknown_45":308637342754953216}} 
[2026-09-05 11:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":174191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:59:54] local.INFO: GPS data processed {"connection_id":174191,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:59:54] local.INFO: Acknowledgment sent {"connection_id":174191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:59:55] local.INFO: TCP Data received {"connection_id":174191,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070416100012d0437c0072b70880010016123..."} 
[2026-09-05 11:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070416100012d0437c0072b70880010016123..."} 
[2026-09-05 11:59:55] local.INFO: Processing buffer {"connection_id":174191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070416100012d0437c0072b70880010016123..."} 
[2026-09-05 11:59:55] local.INFO: Packet analysis {"connection_id":174191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07041"} 
[2026-09-05 11:59:55] local.INFO: Extracted packet for processing {"connection_id":174191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07041"} 
[2026-09-05 11:59:55] local.INFO: GPS Element Parsed {"raw_longitude":755251136,"raw_latitude":120287368,"longitude_deg":75.5251136,"latitude_deg":12.0287368,"altitude":16,"angle":353,"satellites":35,"speed":40,"hex_longitude":"2d0437c0","hex_latitude":"072b7088","is_valid_coordinates":true} 
[2026-09-05 11:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878969856001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17608919237001216,"note":"Value kept but may cause issues"} 
[2026-09-05 11:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":304344849361463296,"note":"Value kept but may cause issues"} 
[2026-09-05 11:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788589728000,"timestamp_ms":1788589728000,"timestamp_seconds":1788589728,"priority":1,"record_length":96,"hex_timestamp":"000001a070416100"} 
[2026-09-05 11:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:59:55] 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-09-05 11:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-05 11:59:55] 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-09-05 11:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878969856001,"66":14461,"29":206,"83":44288,"24":40,"16":17608919237001216,"45":304344849361463296},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-09-05 11:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878969856001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:59:55] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-05 11:59:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17608919237001216,"km_value":17608919237001.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":304344849361463296,"description":"Unknown IO ID 45"} 
[2026-09-05 11:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878969856001,"power":14461,"unknown_29":206,"unknown_83":44288,"ignition":40,"odometer":null,"unknown_45":304344849361463296}} 
[2026-09-05 11:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":174191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:59:55] local.INFO: GPS data processed {"connection_id":174191,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:59:55] local.INFO: Acknowledgment sent {"connection_id":174191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 11:59:56] local.INFO: TCP Data received {"connection_id":174192,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:59:56] local.INFO: Processing buffer {"connection_id":174192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 11:59:56] local.INFO: IMEI packet received {"connection_id":174192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 11:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":174192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 11:59:56] local.INFO: TCP Data received {"connection_id":174191,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070417870012d0439c0072b8aa8000d000422..."} 
[2026-09-05 11:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070417870012d0439c0072b8aa8000d000422..."} 
[2026-09-05 11:59:56] local.INFO: Processing buffer {"connection_id":174191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070417870012d0439c0072b8aa8000d000422..."} 
[2026-09-05 11:59:56] local.INFO: Packet analysis {"connection_id":174191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07041"} 
[2026-09-05 11:59:56] local.INFO: Extracted packet for processing {"connection_id":174191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07041"} 
[2026-09-05 11:59:56] local.INFO: GPS Element Parsed {"raw_longitude":755251648,"raw_latitude":120294056,"longitude_deg":75.5251648,"latitude_deg":12.0294056,"altitude":13,"angle":4,"satellites":34,"speed":45,"hex_longitude":"2d0439c0","hex_latitude":"072b8aa8","is_valid_coordinates":true} 
[2026-09-05 11:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 11:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878970368001,"note":"Value kept but may cause issues"} 
[2026-09-05 11:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17609241359548416,"note":"Value kept but may cause issues"} 
[2026-09-05 11:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":303922636896897024,"note":"Value kept but may cause issues"} 
[2026-09-05 11:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 11:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788589734000,"timestamp_ms":1788589734000,"timestamp_seconds":1788589734,"priority":1,"record_length":96,"hex_timestamp":"000001a070417870"} 
[2026-09-05 11:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 11:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 11:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 11:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 11:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 11:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 11:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 11:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 11:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 11:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 11:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 11:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 11:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878970368001,"66":14243,"29":206,"83":44288,"24":45,"16":17609241359548416,"45":303922636896897024},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-09-05 11:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 11:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 11:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878970368001,"description":"Unknown IO ID 0"} 
[2026-09-05 11:59:56] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-05 11:59:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 11:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17609241359548416,"km_value":17609241359548.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 11:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":303922636896897024,"description":"Unknown IO ID 45"} 
[2026-09-05 11:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878970368001,"power":14243,"unknown_29":206,"unknown_83":44288,"ignition":45,"odometer":null,"unknown_45":303922636896897024}} 
[2026-09-05 11:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":174191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 11:59:56] local.INFO: GPS data processed {"connection_id":174191,"processed":1,"errors":0,"total":1} 
[2026-09-05 11:59:56] local.INFO: Acknowledgment sent {"connection_id":174191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:00:02] local.INFO: TCP Data received {"connection_id":174192,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:00:02] local.INFO: Processing buffer {"connection_id":174192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:00:02] local.INFO: IMEI packet received {"connection_id":174192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":174192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:00:05] local.INFO: TCP Data received {"connection_id":174192,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07040c0d8012d5ec48006350bc8000800f62c..."} 
[2026-09-05 12:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07040c0d8012d5ec48006350bc8000800f62c..."} 
[2026-09-05 12:00:05] local.INFO: Processing buffer {"connection_id":174192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07040c0d8012d5ec48006350bc8000800f62c..."} 
[2026-09-05 12:00:05] local.INFO: Packet analysis {"connection_id":174192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07040"} 
[2026-09-05 12:00:05] local.INFO: Extracted packet for processing {"connection_id":174192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07040"} 
[2026-09-05 12:00:05] local.INFO: GPS Element Parsed {"raw_longitude":761185408,"raw_latitude":104139720,"longitude_deg":76.1185408,"latitude_deg":10.413972,"altitude":8,"angle":246,"satellites":44,"speed":27,"hex_longitude":"2d5ec480","hex_latitude":"06350bc8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 12:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878959360001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399588857978290176,"note":"Value kept but may cause issues"} 
[2026-09-05 12:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6830131074032297984,"note":"Value kept but may cause issues"} 
[2026-09-05 12:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788589687000,"timestamp_ms":1788589687000,"timestamp_seconds":1788589687,"priority":1,"record_length":96,"hex_timestamp":"000001a07040c0d8"} 
[2026-09-05 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-09-05 12:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 12:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 12:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:00:05] 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-09-05 12:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878959360001,"66":27745,"151":206,"78":38656,"24":27,"16":399588857978290176,"45":6830131074032297984},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,78,24,16,45]} 
[2026-09-05 12:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878959360001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:00:05] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-05 12:00:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 12:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399588857978290176,"km_value":399588857978290.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6830131074032297984,"description":"Unknown IO ID 45"} 
[2026-09-05 12:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878959360001,"power":27745,"unknown_151":206,"unknown_78":38656,"ignition":27,"odometer":null,"unknown_45":6830131074032297984}} 
[2026-09-05 12:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":174192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:00:05] local.INFO: GPS data processed {"connection_id":174192,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:00:05] local.INFO: Acknowledgment sent {"connection_id":174192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:00:34] local.INFO: TCP Data received {"connection_id":174191,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070422838012d03a9c0072ba448000201491e..."} 
[2026-09-05 12:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070422838012d03a9c0072ba448000201491e..."} 
[2026-09-05 12:00:34] local.INFO: Processing buffer {"connection_id":174191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070422838012d03a9c0072ba448000201491e..."} 
[2026-09-05 12:00:34] local.INFO: Packet analysis {"connection_id":174191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07042"} 
[2026-09-05 12:00:34] local.INFO: Extracted packet for processing {"connection_id":174191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07042"} 
[2026-09-05 12:00:34] local.INFO: GPS Element Parsed {"raw_longitude":755214784,"raw_latitude":120300616,"longitude_deg":75.5214784,"latitude_deg":12.0300616,"altitude":2,"angle":329,"satellites":30,"speed":43,"hex_longitude":"2d03a9c0","hex_latitude":"072ba448","is_valid_coordinates":true} 
[2026-09-05 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-09-05 12:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878982912001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17611552051953664,"note":"Value kept but may cause issues"} 
[2026-09-05 12:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":265079090113720320,"note":"Value kept but may cause issues"} 
[2026-09-05 12:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788589779000,"timestamp_ms":1788589779000,"timestamp_seconds":1788589779,"priority":1,"record_length":96,"hex_timestamp":"000001a070422838"} 
[2026-09-05 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-09-05 12:00: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-09-05 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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-05 12:00: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-09-05 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-09-05 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-09-05 12:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878982912001,"66":13993,"29":206,"83":44288,"24":43,"16":17611552051953664,"45":265079090113720320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-09-05 12:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878982912001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:00:34] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-05 12:00:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17611552051953664,"km_value":17611552051953.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":265079090113720320,"description":"Unknown IO ID 45"} 
[2026-09-05 12:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878982912001,"power":13993,"unknown_29":206,"unknown_83":44288,"ignition":43,"odometer":null,"unknown_45":265079090113720320}} 
[2026-09-05 12:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":174191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:00:34] local.INFO: GPS data processed {"connection_id":174191,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:00:34] local.INFO: Acknowledgment sent {"connection_id":174191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:00:36] local.INFO: TCP Data received {"connection_id":174192,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07040d078012d5eba8006350628000800ea2d..."} 
[2026-09-05 12:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07040d078012d5eba8006350628000800ea2d..."} 
[2026-09-05 12:00:36] local.INFO: Processing buffer {"connection_id":174192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07040d078012d5eba8006350628000800ea2d..."} 
[2026-09-05 12:00:36] local.INFO: Packet analysis {"connection_id":174192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07040"} 
[2026-09-05 12:00:36] local.INFO: Extracted packet for processing {"connection_id":174192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07040"} 
[2026-09-05 12:00:36] local.INFO: GPS Element Parsed {"raw_longitude":761182848,"raw_latitude":104138280,"longitude_deg":76.1182848,"latitude_deg":10.413828,"altitude":8,"angle":234,"satellites":45,"speed":29,"hex_longitude":"2d5eba80","hex_latitude":"06350628","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878959872001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399588999712210944,"note":"Value kept but may cause issues"} 
[2026-09-05 12:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6828723699148638208,"note":"Value kept but may cause issues"} 
[2026-09-05 12:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788589691000,"timestamp_ms":1788589691000,"timestamp_seconds":1788589691,"priority":1,"record_length":96,"hex_timestamp":"000001a07040d078"} 
[2026-09-05 12:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 12:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12: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-09-05 12:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":174192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":174192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":174192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:00: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-09-05 12:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878959872001,"66":27691,"151":206,"78":38656,"24":29,"16":399588999712210944,"45":6828723699148638208},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,78,24,16,45]} 
[2026-09-05 12:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878959872001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:00:36] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-05 12:00:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 12:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399588999712210944,"km_value":399588999712210.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6828723699148638208,"description":"Unknown IO ID 45"} 
[2026-09-05 12:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878959872001,"power":27691,"unknown_151":206,"unknown_78":38656,"ignition":29,"odometer":null,"unknown_45":6828723699148638208}} 
[2026-09-05 12:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":174192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:00:36] local.INFO: GPS data processed {"connection_id":174192,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:00:36] local.INFO: Acknowledgment sent {"connection_id":174192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:00:50] local.INFO: TCP Data received {"connection_id":172877,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:00:50] local.INFO: Processing buffer {"connection_id":172877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:00:50] local.INFO: IMEI packet received {"connection_id":172877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":172877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:00:50] local.INFO: TCP Data received {"connection_id":172877,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:00:50] local.INFO: Processing buffer {"connection_id":172877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:00:50] local.INFO: IMEI packet received {"connection_id":172877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":172877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:00:55] local.INFO: TCP Data received {"connection_id":172877,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:00:55] local.INFO: Processing buffer {"connection_id":172877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:00:55] local.INFO: IMEI packet received {"connection_id":172877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":172877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:00:56] local.INFO: TCP Data received {"connection_id":172877,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070423fa8012d039980072bba00000401381f..."} 
[2026-09-05 12:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070423fa8012d039980072bba00000401381f..."} 
[2026-09-05 12:00:56] local.INFO: Processing buffer {"connection_id":172877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070423fa8012d039980072bba00000401381f..."} 
[2026-09-05 12:00:56] local.INFO: Packet analysis {"connection_id":172877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07042"} 
[2026-09-05 12:00:56] local.INFO: Extracted packet for processing {"connection_id":172877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07042"} 
[2026-09-05 12:00:56] local.INFO: GPS Element Parsed {"raw_longitude":755210624,"raw_latitude":120306176,"longitude_deg":75.5210624,"latitude_deg":12.0306176,"altitude":4,"angle":312,"satellites":31,"speed":48,"hex_longitude":"2d039980","hex_latitude":"072bba00","is_valid_coordinates":true} 
[2026-09-05 12:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878983424001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17611887059402752,"note":"Value kept but may cause issues"} 
[2026-09-05 12:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":263953190207375360,"note":"Value kept but may cause issues"} 
[2026-09-05 12:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788589785000,"timestamp_ms":1788589785000,"timestamp_seconds":1788589785,"priority":1,"record_length":96,"hex_timestamp":"000001a070423fa8"} 
[2026-09-05 12:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 12:00:56] 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-09-05 12:00:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878983424001,"66":13993,"29":206,"83":44288,"24":48,"16":17611887059402752,"45":263953190207375360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-09-05 12:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878983424001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:00:56] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-05 12:00:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17611887059402752,"km_value":17611887059402.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":263953190207375360,"description":"Unknown IO ID 45"} 
[2026-09-05 12:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878983424001,"power":13993,"unknown_29":206,"unknown_83":44288,"ignition":48,"odometer":null,"unknown_45":263953190207375360}} 
[2026-09-05 12:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":172877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:00:56] local.INFO: GPS data processed {"connection_id":172877,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:00:56] local.INFO: Acknowledgment sent {"connection_id":172877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:01:02] local.INFO: TCP Data received {"connection_id":171786,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:01:02] local.INFO: Processing buffer {"connection_id":171786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:01:02] local.INFO: IMEI packet received {"connection_id":171786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":171786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:01:05] local.INFO: TCP Data received {"connection_id":171786,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:01:05] local.INFO: Processing buffer {"connection_id":171786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:01:05] local.INFO: IMEI packet received {"connection_id":171786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":171786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:01:06] local.INFO: TCP Data received {"connection_id":171786,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a070426e88012d5df4c006351358000d011d30..."} 
[2026-09-05 12:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070426e88012d5df4c006351358000d011d30..."} 
[2026-09-05 12:01:06] local.INFO: Processing buffer {"connection_id":171786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070426e88012d5df4c006351358000d011d30..."} 
[2026-09-05 12:01:06] local.INFO: Packet analysis {"connection_id":171786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07042"} 
[2026-09-05 12:01:06] local.INFO: Extracted packet for processing {"connection_id":171786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07042"} 
[2026-09-05 12:01:06] local.INFO: GPS Element Parsed {"raw_longitude":761132224,"raw_latitude":104141656,"longitude_deg":76.1132224,"latitude_deg":10.4141656,"altitude":13,"angle":285,"satellites":48,"speed":25,"hex_longitude":"2d5df4c0","hex_latitude":"06351358","is_valid_coordinates":true} 
[2026-09-05 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-09-05 12:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878987520001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399591748491280384,"note":"Value kept but may cause issues"} 
[2026-09-05 12:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6771584278876755968,"note":"Value kept but may cause issues"} 
[2026-09-05 12:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788589797000,"timestamp_ms":1788589797000,"timestamp_seconds":1788589797,"priority":1,"record_length":96,"hex_timestamp":"000001a070426e88"} 
[2026-09-05 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-09-05 12:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 12:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 12:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878987520001,"66":27658,"189":206,"78":38656,"24":25,"16":399591748491280384,"45":6771584278876755968},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,78,24,16,45]} 
[2026-09-05 12:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878987520001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:01:06] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-05 12:01:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 12:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399591748491280384,"km_value":399591748491280.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6771584278876755968,"description":"Unknown IO ID 45"} 
[2026-09-05 12:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878987520001,"power":27658,"unknown_189":206,"unknown_78":38656,"ignition":25,"odometer":null,"unknown_45":6771584278876755968}} 
[2026-09-05 12:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":171786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:01:06] local.INFO: GPS data processed {"connection_id":171786,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:01:06] local.INFO: Acknowledgment sent {"connection_id":171786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:01:09] local.INFO: TCP Data received {"connection_id":171786,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a070427658012d5def8006351420000d01112d..."} 
[2026-09-05 12:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070427658012d5def8006351420000d01112d..."} 
[2026-09-05 12:01:09] local.INFO: Processing buffer {"connection_id":171786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070427658012d5def8006351420000d01112d..."} 
[2026-09-05 12:01:09] local.INFO: Packet analysis {"connection_id":171786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07042"} 
[2026-09-05 12:01:09] local.INFO: Extracted packet for processing {"connection_id":171786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07042"} 
[2026-09-05 12:01:09] local.INFO: GPS Element Parsed {"raw_longitude":761130880,"raw_latitude":104141856,"longitude_deg":76.113088,"latitude_deg":10.4141856,"altitude":13,"angle":273,"satellites":45,"speed":26,"hex_longitude":"2d5def80","hex_latitude":"06351420","is_valid_coordinates":true} 
[2026-09-05 12:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878988032001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399591812915789824,"note":"Value kept but may cause issues"} 
[2026-09-05 12:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6770247272737495040,"note":"Value kept but may cause issues"} 
[2026-09-05 12:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788589799000,"timestamp_ms":1788589799000,"timestamp_seconds":1788589799,"priority":1,"record_length":96,"hex_timestamp":"000001a070427658"} 
[2026-09-05 12:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:01: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-09-05 12:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-05 12:01:09] 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-09-05 12:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:01: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-09-05 12:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878988032001,"66":28006,"189":206,"78":38656,"24":26,"16":399591812915789824,"45":6770247272737495040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,78,24,16,45]} 
[2026-09-05 12:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878988032001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:01:09] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-05 12:01:09] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 12:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399591812915789824,"km_value":399591812915789.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6770247272737495040,"description":"Unknown IO ID 45"} 
[2026-09-05 12:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878988032001,"power":28006,"unknown_189":206,"unknown_78":38656,"ignition":26,"odometer":null,"unknown_45":6770247272737495040}} 
[2026-09-05 12:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":171786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:01:09] local.INFO: GPS data processed {"connection_id":171786,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:01:09] local.INFO: Acknowledgment sent {"connection_id":171786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:01:27] local.INFO: TCP Data received {"connection_id":172877,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070424778012d039180072bbed80005012c20..."} 
[2026-09-05 12:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070424778012d039180072bbed80005012c20..."} 
[2026-09-05 12:01:27] local.INFO: Processing buffer {"connection_id":172877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070424778012d039180072bbed80005012c20..."} 
[2026-09-05 12:01:27] local.INFO: Packet analysis {"connection_id":172877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07042"} 
[2026-09-05 12:01:27] local.INFO: Extracted packet for processing {"connection_id":172877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07042"} 
[2026-09-05 12:01:27] local.INFO: GPS Element Parsed {"raw_longitude":755208576,"raw_latitude":120307416,"longitude_deg":75.5208576,"latitude_deg":12.0307416,"altitude":5,"angle":300,"satellites":32,"speed":48,"hex_longitude":"2d039180","hex_latitude":"072bbed8","is_valid_coordinates":true} 
[2026-09-05 12:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878984960001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17612003023519744,"note":"Value kept but may cause issues"} 
[2026-09-05 12:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":259379221837250560,"note":"Value kept but may cause issues"} 
[2026-09-05 12:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788589787000,"timestamp_ms":1788589787000,"timestamp_seconds":1788589787,"priority":1,"record_length":96,"hex_timestamp":"000001a070424778"} 
[2026-09-05 12:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 12:01:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:01:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878984960001,"66":13928,"29":206,"83":44288,"24":48,"16":17612003023519744,"45":259379221837250560},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-09-05 12:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878984960001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:01:27] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-05 12:01:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17612003023519744,"km_value":17612003023519.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":259379221837250560,"description":"Unknown IO ID 45"} 
[2026-09-05 12:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878984960001,"power":13928,"unknown_29":206,"unknown_83":44288,"ignition":48,"odometer":null,"unknown_45":259379221837250560}} 
[2026-09-05 12:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":172877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:01:27] local.INFO: GPS data processed {"connection_id":172877,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:01:27] local.INFO: Acknowledgment sent {"connection_id":172877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:01:40] local.INFO: TCP Data received {"connection_id":171786,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07042a538012d5dcb8006351448000e010a2a..."} 
[2026-09-05 12:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07042a538012d5dcb8006351448000e010a2a..."} 
[2026-09-05 12:01:40] local.INFO: Processing buffer {"connection_id":171786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07042a538012d5dcb8006351448000e010a2a..."} 
[2026-09-05 12:01:40] local.INFO: Packet analysis {"connection_id":171786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07042"} 
[2026-09-05 12:01:40] local.INFO: Extracted packet for processing {"connection_id":171786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07042"} 
[2026-09-05 12:01:40] local.INFO: GPS Element Parsed {"raw_longitude":761121664,"raw_latitude":104141896,"longitude_deg":76.1121664,"latitude_deg":10.4141896,"altitude":14,"angle":266,"satellites":42,"speed":31,"hex_longitude":"2d5dcb80","hex_latitude":"06351448","is_valid_coordinates":true} 
[2026-09-05 12:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878988544001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399592251002454016,"note":"Value kept but may cause issues"} 
[2026-09-05 12:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6768769529109815296,"note":"Value kept but may cause issues"} 
[2026-09-05 12:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788589811000,"timestamp_ms":1788589811000,"timestamp_seconds":1788589811,"priority":1,"record_length":96,"hex_timestamp":"000001a07042a538"} 
[2026-09-05 12:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:01: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-09-05 12:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 12:01:40] 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-09-05 12:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":171786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":171786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":171786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:01:40] 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-09-05 12:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878988544001,"66":27919,"189":206,"78":38656,"24":31,"16":399592251002454016,"45":6768769529109815296},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,78,24,16,45]} 
[2026-09-05 12:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878988544001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:01:40] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-05 12:01:40] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 12:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399592251002454016,"km_value":399592251002454.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":6768769529109815296,"description":"Unknown IO ID 45"} 
[2026-09-05 12:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878988544001,"power":27919,"unknown_189":206,"unknown_78":38656,"ignition":31,"odometer":null,"unknown_45":6768769529109815296}} 
[2026-09-05 12:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":171786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:01:40] local.INFO: GPS data processed {"connection_id":171786,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:01:40] local.INFO: Acknowledgment sent {"connection_id":171786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:01:45] local.INFO: TCP Data received {"connection_id":171789,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:01:45] local.INFO: Processing buffer {"connection_id":171789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:01:45] local.INFO: IMEI packet received {"connection_id":171789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":171789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:01:46] local.INFO: TCP Data received {"connection_id":171789,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:01:46] local.INFO: Processing buffer {"connection_id":171789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:01:46] local.INFO: IMEI packet received {"connection_id":171789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":171789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:01:49] local.INFO: TCP Data received {"connection_id":171789,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:01:49] local.INFO: Processing buffer {"connection_id":171789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:01:49] local.INFO: IMEI packet received {"connection_id":171789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":171789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:01:50] local.INFO: TCP Data received {"connection_id":171789,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:01:50] local.INFO: Processing buffer {"connection_id":171789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:01:50] local.INFO: IMEI packet received {"connection_id":171789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":171789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:01:51] local.INFO: TCP Data received {"connection_id":171789,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0704331d8012d02d600072c4be00017011f23..."} 
[2026-09-05 12:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0704331d8012d02d600072c4be00017011f23..."} 
[2026-09-05 12:01:51] local.INFO: Processing buffer {"connection_id":171789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0704331d8012d02d600072c4be00017011f23..."} 
[2026-09-05 12:01:51] local.INFO: Packet analysis {"connection_id":171789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07043"} 
[2026-09-05 12:01:51] local.INFO: Extracted packet for processing {"connection_id":171789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07043"} 
[2026-09-05 12:01:51] local.INFO: GPS Element Parsed {"raw_longitude":755160576,"raw_latitude":120343520,"longitude_deg":75.5160576,"latitude_deg":12.034352,"altitude":23,"angle":287,"satellites":35,"speed":40,"hex_longitude":"2d02d600","hex_latitude":"072c4be0","is_valid_coordinates":true} 
[2026-09-05 12:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879000832001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17615013795594240,"note":"Value kept but may cause issues"} 
[2026-09-05 12:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":204350863899877376,"note":"Value kept but may cause issues"} 
[2026-09-05 12:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788589847000,"timestamp_ms":1788589847000,"timestamp_seconds":1788589847,"priority":1,"record_length":96,"hex_timestamp":"000001a0704331d8"} 
[2026-09-05 12:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:01: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-09-05 12:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 12:01:51] 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-09-05 12:01:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879000832001,"66":13993,"30":206,"83":44288,"24":40,"16":17615013795594240,"45":204350863899877376},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,83,24,16,45]} 
[2026-09-05 12:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879000832001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:01:51] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-05 12:01:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17615013795594240,"km_value":17615013795594.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":204350863899877376,"description":"Unknown IO ID 45"} 
[2026-09-05 12:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879000832001,"power":13993,"unknown_30":206,"unknown_83":44288,"ignition":40,"odometer":null,"unknown_45":204350863899877376}} 
[2026-09-05 12:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":171789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:01:51] local.INFO: GPS data processed {"connection_id":171789,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:01:51] local.INFO: Acknowledgment sent {"connection_id":171789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:01:56] local.INFO: TCP Data received {"connection_id":171789,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070434948012d02bfc0072c55780019013122..."} 
[2026-09-05 12:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070434948012d02bfc0072c55780019013122..."} 
[2026-09-05 12:01:56] local.INFO: Processing buffer {"connection_id":171789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070434948012d02bfc0072c55780019013122..."} 
[2026-09-05 12:01:56] local.INFO: Packet analysis {"connection_id":171789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07043"} 
[2026-09-05 12:01:56] local.INFO: Extracted packet for processing {"connection_id":171789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07043"} 
[2026-09-05 12:01:56] local.INFO: GPS Element Parsed {"raw_longitude":755154880,"raw_latitude":120345976,"longitude_deg":75.515488,"latitude_deg":12.0345976,"altitude":25,"angle":305,"satellites":34,"speed":39,"hex_longitude":"2d02bfc0","hex_latitude":"072c5578","is_valid_coordinates":true} 
[2026-09-05 12:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879000832001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17615314443304960,"note":"Value kept but may cause issues"} 
[2026-09-05 12:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":204350863899877376,"note":"Value kept but may cause issues"} 
[2026-09-05 12:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788589853000,"timestamp_ms":1788589853000,"timestamp_seconds":1788589853,"priority":1,"record_length":96,"hex_timestamp":"000001a070434948"} 
[2026-09-05 12:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 12:01:56] 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-09-05 12:01:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879000832001,"66":14004,"30":206,"83":44288,"24":39,"16":17615314443304960,"45":204350863899877376},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,83,24,16,45]} 
[2026-09-05 12:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879000832001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:01:56] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-05 12:01:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17615314443304960,"km_value":17615314443304.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":204350863899877376,"description":"Unknown IO ID 45"} 
[2026-09-05 12:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879000832001,"power":14004,"unknown_30":206,"unknown_83":44288,"ignition":39,"odometer":null,"unknown_45":204350863899877376}} 
[2026-09-05 12:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":171789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:01:57] local.INFO: GPS data processed {"connection_id":171789,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:01:57] local.INFO: Acknowledgment sent {"connection_id":171789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:01:57] local.INFO: TCP Data received {"connection_id":171790,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:01:57] local.INFO: Processing buffer {"connection_id":171790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:01:57] local.INFO: IMEI packet received {"connection_id":171790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":171790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:02:01] local.INFO: TCP Data received {"connection_id":171790,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:02:01] local.INFO: Processing buffer {"connection_id":171790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:02:01] local.INFO: IMEI packet received {"connection_id":171790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":171790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:02:03] local.INFO: TCP Data received {"connection_id":171790,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07042e3b8012d5da800063510b8000e01012f..."} 
[2026-09-05 12:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07042e3b8012d5da800063510b8000e01012f..."} 
[2026-09-05 12:02:03] local.INFO: Processing buffer {"connection_id":171790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07042e3b8012d5da800063510b8000e01012f..."} 
[2026-09-05 12:02:03] local.INFO: Packet analysis {"connection_id":171790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07042"} 
[2026-09-05 12:02:03] local.INFO: Extracted packet for processing {"connection_id":171790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07042"} 
[2026-09-05 12:02:03] local.INFO: GPS Element Parsed {"raw_longitude":761112576,"raw_latitude":104140984,"longitude_deg":76.1112576,"latitude_deg":10.4140984,"altitude":14,"angle":257,"satellites":47,"speed":10,"hex_longitude":"2d5da800","hex_latitude":"063510b8","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878991616001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399592689089118208,"note":"Value kept but may cause issues"} 
[2026-09-05 12:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6758636429948241920,"note":"Value kept but may cause issues"} 
[2026-09-05 12:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788589827000,"timestamp_ms":1788589827000,"timestamp_seconds":1788589827,"priority":1,"record_length":96,"hex_timestamp":"000001a07042e3b8"} 
[2026-09-05 12:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:02: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-09-05 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 12:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12: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-09-05 12:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:02: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-09-05 12:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878991616001,"66":27821,"189":206,"78":38656,"24":10,"16":399592689089118208,"45":6758636429948241920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,78,24,16,45]} 
[2026-09-05 12:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878991616001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:02:03] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-05 12:02:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 12:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399592689089118208,"km_value":399592689089118.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6758636429948241920,"description":"Unknown IO ID 45"} 
[2026-09-05 12:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878991616001,"power":27821,"unknown_189":206,"unknown_78":38656,"ignition":10,"odometer":null,"unknown_45":6758636429948241920}} 
[2026-09-05 12:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":171790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:02:03] local.INFO: GPS data processed {"connection_id":171790,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:02:03] local.INFO: Acknowledgment sent {"connection_id":171790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:02:07] local.INFO: TCP Data received {"connection_id":171790,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0704335c0012d5d948006350ab8000e00fa30..."} 
[2026-09-05 12:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0704335c0012d5d948006350ab8000e00fa30..."} 
[2026-09-05 12:02:07] local.INFO: Processing buffer {"connection_id":171790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0704335c0012d5d948006350ab8000e00fa30..."} 
[2026-09-05 12:02:07] local.INFO: Packet analysis {"connection_id":171790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07043"} 
[2026-09-05 12:02:07] local.INFO: Extracted packet for processing {"connection_id":171790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07043"} 
[2026-09-05 12:02:07] local.INFO: GPS Element Parsed {"raw_longitude":761107584,"raw_latitude":104139448,"longitude_deg":76.1107584,"latitude_deg":10.4139448,"altitude":14,"angle":250,"satellites":48,"speed":3,"hex_longitude":"2d5d9480","hex_latitude":"06350ab8","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457878995712001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399592938197221376,"note":"Value kept but may cause issues"} 
[2026-09-05 12:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6748644068274780160,"note":"Value kept but may cause issues"} 
[2026-09-05 12:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788589848000,"timestamp_ms":1788589848000,"timestamp_seconds":1788589848,"priority":1,"record_length":96,"hex_timestamp":"000001a0704335c0"} 
[2026-09-05 12:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:02:07] 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-09-05 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 12:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12: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-09-05 12:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:02: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-09-05 12:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457878995712001,"66":27995,"189":206,"78":38656,"24":3,"16":399592938197221376,"45":6748644068274780160},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,78,24,16,45]} 
[2026-09-05 12:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457878995712001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:02:07] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-05 12:02:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 12:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399592938197221376,"km_value":399592938197221.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6748644068274780160,"description":"Unknown IO ID 45"} 
[2026-09-05 12:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457878995712001,"power":27995,"unknown_189":206,"unknown_78":38656,"ignition":3,"odometer":null,"unknown_45":6748644068274780160}} 
[2026-09-05 12:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":171790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:02:07] local.INFO: GPS data processed {"connection_id":171790,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:02:07] local.INFO: Acknowledgment sent {"connection_id":171790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:02:41] local.INFO: TCP Data received {"connection_id":171790,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0704387c8012d5d9180063508f8001200fa30..."} 
[2026-09-05 12:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0704387c8012d5d9180063508f8001200fa30..."} 
[2026-09-05 12:02:41] local.INFO: Processing buffer {"connection_id":171790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0704387c8012d5d9180063508f8001200fa30..."} 
[2026-09-05 12:02:41] local.INFO: Packet analysis {"connection_id":171790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07043"} 
[2026-09-05 12:02:41] local.INFO: Extracted packet for processing {"connection_id":171790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07043"} 
[2026-09-05 12:02:41] local.INFO: GPS Element Parsed {"raw_longitude":761106816,"raw_latitude":104139000,"longitude_deg":76.1106816,"latitude_deg":10.4139,"altitude":18,"angle":250,"satellites":48,"speed":0,"hex_longitude":"2d5d9180","hex_latitude":"063508f8","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879001088001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399592985441861632,"note":"Value kept but may cause issues"} 
[2026-09-05 12:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6743155306228529152,"note":"Value kept but may cause issues"} 
[2026-09-05 12:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788589869000,"timestamp_ms":1788589869000,"timestamp_seconds":1788589869,"priority":1,"record_length":96,"hex_timestamp":"000001a0704387c8"} 
[2026-09-05 12:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:02: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-09-05 12: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 12:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12: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-09-05 12:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":171790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":171790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":171790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:02:41] 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-09-05 12:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879001088001,"66":27984,"189":206,"78":38656,"24":0,"16":399592985441861632,"45":6743155306228529152},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,78,24,16,45]} 
[2026-09-05 12:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879001088001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:02:41] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-05 12:02:41] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 12:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399592985441861632,"km_value":399592985441861.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6743155306228529152,"description":"Unknown IO ID 45"} 
[2026-09-05 12:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879001088001,"power":27984,"unknown_189":206,"unknown_78":38656,"ignition":0,"odometer":null,"unknown_45":6743155306228529152}} 
[2026-09-05 12:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":171790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:02:41] local.INFO: GPS data processed {"connection_id":171790,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:02:41] local.INFO: Acknowledgment sent {"connection_id":171790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:02:48] local.INFO: TCP Data received {"connection_id":171489,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:02:48] local.INFO: Processing buffer {"connection_id":171489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:02:48] local.INFO: IMEI packet received {"connection_id":171489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":171489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:02:50] local.INFO: TCP Data received {"connection_id":171489,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:02:50] local.INFO: Processing buffer {"connection_id":171489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:02:50] local.INFO: IMEI packet received {"connection_id":171489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":171489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:02:55] local.INFO: TCP Data received {"connection_id":171489,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:02:55] local.INFO: Processing buffer {"connection_id":171489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:02:55] local.INFO: IMEI packet received {"connection_id":171489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":171489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:02:56] local.INFO: TCP Data received {"connection_id":171489,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070442020012d022200072ce4f80019014b25..."} 
[2026-09-05 12:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070442020012d022200072ce4f80019014b25..."} 
[2026-09-05 12:02:56] local.INFO: Processing buffer {"connection_id":171489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070442020012d022200072ce4f80019014b25..."} 
[2026-09-05 12:02:56] local.INFO: Packet analysis {"connection_id":171489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07044"} 
[2026-09-05 12:02:56] local.INFO: Extracted packet for processing {"connection_id":171489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07044"} 
[2026-09-05 12:02:56] local.INFO: GPS Element Parsed {"raw_longitude":755114496,"raw_latitude":120382712,"longitude_deg":75.5114496,"latitude_deg":12.0382712,"altitude":25,"angle":331,"satellites":37,"speed":29,"hex_longitude":"2d022200","hex_latitude":"072ce4f8","is_valid_coordinates":true} 
[2026-09-05 12:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879015936001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17618041747537920,"note":"Value kept but may cause issues"} 
[2026-09-05 12:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":154740899264354304,"note":"Value kept but may cause issues"} 
[2026-09-05 12:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788589908000,"timestamp_ms":1788589908000,"timestamp_seconds":1788589908,"priority":1,"record_length":96,"hex_timestamp":"000001a070442020"} 
[2026-09-05 12:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-05 12:02:56] 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-09-05 12:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879015936001,"66":14461,"18":206,"83":44288,"24":29,"16":17618041747537920,"45":154740899264354304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,45]} 
[2026-09-05 12:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879015936001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:02:56] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-05 12:02:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17618041747537920,"km_value":17618041747537.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":154740899264354304,"description":"Unknown IO ID 45"} 
[2026-09-05 12:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879015936001,"power":14461,"unknown_18":206,"unknown_83":44288,"ignition":29,"odometer":null,"unknown_45":154740899264354304}} 
[2026-09-05 12:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":171489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:02:56] local.INFO: GPS data processed {"connection_id":171489,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:02:56] local.INFO: Acknowledgment sent {"connection_id":171489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:02:56] local.INFO: TCP Data received {"connection_id":174193,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:02:56] local.INFO: Processing buffer {"connection_id":174193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:02:56] local.INFO: IMEI packet received {"connection_id":174193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":174193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:02:59] local.INFO: TCP Data received {"connection_id":174193,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:02:59] local.INFO: Processing buffer {"connection_id":174193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:02:59] local.INFO: IMEI packet received {"connection_id":174193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":174193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:03:03] local.INFO: TCP Data received {"connection_id":174193,"ip":"42.106.6.20","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 12:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174193,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 12:03:03] local.INFO: Processing buffer {"connection_id":174193,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 12:03:03] local.INFO: IMEI packet received {"connection_id":174193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":174193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:03:27] local.INFO: TCP Data received {"connection_id":171489,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07044cfe8012d01d280072d5bd8000a015b25..."} 
[2026-09-05 12:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07044cfe8012d01d280072d5bd8000a015b25..."} 
[2026-09-05 12:03:27] local.INFO: Processing buffer {"connection_id":171489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07044cfe8012d01d280072d5bd8000a015b25..."} 
[2026-09-05 12:03:27] local.INFO: Packet analysis {"connection_id":171489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07044"} 
[2026-09-05 12:03:27] local.INFO: Extracted packet for processing {"connection_id":171489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07044"} 
[2026-09-05 12:03:27] local.INFO: GPS Element Parsed {"raw_longitude":755094144,"raw_latitude":120413144,"longitude_deg":75.5094144,"latitude_deg":12.0413144,"altitude":10,"angle":347,"satellites":37,"speed":30,"hex_longitude":"2d01d280","hex_latitude":"072d5bd8","is_valid_coordinates":true} 
[2026-09-05 12:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879027200001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17620004547592192,"note":"Value kept but may cause issues"} 
[2026-09-05 12:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":132222901134981120,"note":"Value kept but may cause issues"} 
[2026-09-05 12:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788589953000,"timestamp_ms":1788589953000,"timestamp_seconds":1788589953,"priority":1,"record_length":96,"hex_timestamp":"000001a07044cfe8"} 
[2026-09-05 12:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-05 12:03:27] 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-09-05 12:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879027200001,"66":14428,"18":206,"83":44288,"24":30,"16":17620004547592192,"45":132222901134981120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,45]} 
[2026-09-05 12:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879027200001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:03:27] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-05 12:03:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17620004547592192,"km_value":17620004547592.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":132222901134981120,"description":"Unknown IO ID 45"} 
[2026-09-05 12:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879027200001,"power":14428,"unknown_18":206,"unknown_83":44288,"ignition":30,"odometer":null,"unknown_45":132222901134981120}} 
[2026-09-05 12:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":171489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:03:27] local.INFO: GPS data processed {"connection_id":171489,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:03:27] local.INFO: Acknowledgment sent {"connection_id":171489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:03:45] local.INFO: TCP Data received {"connection_id":172878,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:03:45] local.INFO: Processing buffer {"connection_id":172878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:03:45] local.INFO: IMEI packet received {"connection_id":172878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":172878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:03:50] local.INFO: TCP Data received {"connection_id":172878,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:03:50] local.INFO: Processing buffer {"connection_id":172878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:03:50] local.INFO: IMEI packet received {"connection_id":172878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":172878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:03:51] local.INFO: TCP Data received {"connection_id":172878,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07044d7b8012d01d300072d6160000a000a26..."} 
[2026-09-05 12:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07044d7b8012d01d300072d6160000a000a26..."} 
[2026-09-05 12:03:51] local.INFO: Processing buffer {"connection_id":172878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07044d7b8012d01d300072d6160000a000a26..."} 
[2026-09-05 12:03:51] local.INFO: Packet analysis {"connection_id":172878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07044"} 
[2026-09-05 12:03:51] local.INFO: Extracted packet for processing {"connection_id":172878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07044"} 
[2026-09-05 12:03:51] local.INFO: GPS Element Parsed {"raw_longitude":755094272,"raw_latitude":120414560,"longitude_deg":75.5094272,"latitude_deg":12.041456,"altitude":10,"angle":10,"satellites":38,"speed":28,"hex_longitude":"2d01d300","hex_latitude":"072d6160","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879027968001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17620073267068928,"note":"Value kept but may cause issues"} 
[2026-09-05 12:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":131308107461285888,"note":"Value kept but may cause issues"} 
[2026-09-05 12:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788589955000,"timestamp_ms":1788589955000,"timestamp_seconds":1788589955,"priority":1,"record_length":96,"hex_timestamp":"000001a07044d7b8"} 
[2026-09-05 12:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:03: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-09-05 12: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 12:03:51] 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-09-05 12: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-09-05 12:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879027968001,"66":14363,"18":206,"83":44288,"24":28,"16":17620073267068928,"45":131308107461285888},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,45]} 
[2026-09-05 12:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879027968001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:03:51] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-05 12:03:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17620073267068928,"km_value":17620073267068.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":131308107461285888,"description":"Unknown IO ID 45"} 
[2026-09-05 12:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879027968001,"power":14363,"unknown_18":206,"unknown_83":44288,"ignition":28,"odometer":null,"unknown_45":131308107461285888}} 
[2026-09-05 12:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":172878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:03:51] local.INFO: GPS data processed {"connection_id":172878,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:03:51] local.INFO: Acknowledgment sent {"connection_id":172878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:04:22] local.INFO: TCP Data received {"connection_id":172878,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07044df88012d01d540072d6700000b001526..."} 
[2026-09-05 12:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07044df88012d01d540072d6700000b001526..."} 
[2026-09-05 12:04:22] local.INFO: Processing buffer {"connection_id":172878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07044df88012d01d540072d6700000b001526..."} 
[2026-09-05 12:04:22] local.INFO: Packet analysis {"connection_id":172878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07044"} 
[2026-09-05 12:04:22] local.INFO: Extracted packet for processing {"connection_id":172878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07044"} 
[2026-09-05 12:04:22] local.INFO: GPS Element Parsed {"raw_longitude":755094848,"raw_latitude":120416000,"longitude_deg":75.5094848,"latitude_deg":12.0416,"altitude":11,"angle":21,"satellites":38,"speed":29,"hex_longitude":"2d01d540","hex_latitude":"072d6700","is_valid_coordinates":true} 
[2026-09-05 12:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879028480001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17620150576480256,"note":"Value kept but may cause issues"} 
[2026-09-05 12:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":131448844950003712,"note":"Value kept but may cause issues"} 
[2026-09-05 12:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788589957000,"timestamp_ms":1788589957000,"timestamp_seconds":1788589957,"priority":1,"record_length":96,"hex_timestamp":"000001a07044df88"} 
[2026-09-05 12:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:04:22] 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-09-05 12:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 12:04:22] 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-09-05 12:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879028480001,"66":14396,"18":206,"83":44288,"24":29,"16":17620150576480256,"45":131448844950003712},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,45]} 
[2026-09-05 12:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879028480001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:04:22] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-05 12:04:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17620150576480256,"km_value":17620150576480.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":131448844950003712,"description":"Unknown IO ID 45"} 
[2026-09-05 12:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879028480001,"power":14396,"unknown_18":206,"unknown_83":44288,"ignition":29,"odometer":null,"unknown_45":131448844950003712}} 
[2026-09-05 12:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":172878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:04:22] local.INFO: GPS data processed {"connection_id":172878,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:04:22] local.INFO: Acknowledgment sent {"connection_id":172878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:04:43] local.INFO: TCP Data received {"connection_id":172881,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:04:43] local.INFO: Processing buffer {"connection_id":172881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:04:43] local.INFO: IMEI packet received {"connection_id":172881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":172881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:04:45] local.INFO: TCP Data received {"connection_id":172881,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:04:45] local.INFO: Processing buffer {"connection_id":172881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:04:45] local.INFO: IMEI packet received {"connection_id":172881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":172881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:04:46] local.INFO: TCP Data received {"connection_id":172881,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:04:46] local.INFO: Processing buffer {"connection_id":172881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:04:46] local.INFO: IMEI packet received {"connection_id":172881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":172881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:04:50] local.INFO: TCP Data received {"connection_id":172881,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:04:50] local.INFO: Processing buffer {"connection_id":172881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:04:50] local.INFO: IMEI packet received {"connection_id":172881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":172881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:04:51] local.INFO: TCP Data received {"connection_id":172881,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0704525d8012d01e040072d80f0000e000424..."} 
[2026-09-05 12:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0704525d8012d01e040072d80f0000e000424..."} 
[2026-09-05 12:04:51] local.INFO: Processing buffer {"connection_id":172881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0704525d8012d01e040072d80f0000e000424..."} 
[2026-09-05 12:04:51] local.INFO: Packet analysis {"connection_id":172881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07045"} 
[2026-09-05 12:04:51] local.INFO: Extracted packet for processing {"connection_id":172881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07045"} 
[2026-09-05 12:04:51] local.INFO: GPS Element Parsed {"raw_longitude":755097664,"raw_latitude":120422640,"longitude_deg":75.5097664,"latitude_deg":12.042264,"altitude":14,"angle":4,"satellites":36,"speed":25,"hex_longitude":"2d01e040","hex_latitude":"072d80f0","is_valid_coordinates":true} 
[2026-09-05 12:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879028992001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17620498468831232,"note":"Value kept but may cause issues"} 
[2026-09-05 12:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":132082163647971328,"note":"Value kept but may cause issues"} 
[2026-09-05 12:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788589975000,"timestamp_ms":1788589975000,"timestamp_seconds":1788589975,"priority":1,"record_length":96,"hex_timestamp":"000001a0704525d8"} 
[2026-09-05 12:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:04: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-09-05 12:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 12:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879028992001,"66":13906,"18":206,"83":44288,"24":25,"16":17620498468831232,"45":132082163647971328},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,45]} 
[2026-09-05 12:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879028992001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:04:51] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-05 12:04:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17620498468831232,"km_value":17620498468831.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":132082163647971328,"description":"Unknown IO ID 45"} 
[2026-09-05 12:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879028992001,"power":13906,"unknown_18":206,"unknown_83":44288,"ignition":25,"odometer":null,"unknown_45":132082163647971328}} 
[2026-09-05 12:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":172881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:04:51] local.INFO: GPS data processed {"connection_id":172881,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:04:51] local.INFO: Acknowledgment sent {"connection_id":172881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:05:22] local.INFO: TCP Data received {"connection_id":172881,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070452da8012d01e000072d8630000f015e22..."} 
[2026-09-05 12:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070452da8012d01e000072d8630000f015e22..."} 
[2026-09-05 12:05:22] local.INFO: Processing buffer {"connection_id":172881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070452da8012d01e000072d8630000f015e22..."} 
[2026-09-05 12:05:22] local.INFO: Packet analysis {"connection_id":172881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07045"} 
[2026-09-05 12:05:22] local.INFO: Extracted packet for processing {"connection_id":172881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07045"} 
[2026-09-05 12:05:22] local.INFO: GPS Element Parsed {"raw_longitude":755097600,"raw_latitude":120423984,"longitude_deg":75.50976,"latitude_deg":12.0423984,"altitude":15,"angle":350,"satellites":34,"speed":28,"hex_longitude":"2d01e000","hex_latitude":"072d8630","is_valid_coordinates":true} 
[2026-09-05 12:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879033600001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17620562893340672,"note":"Value kept but may cause issues"} 
[2026-09-05 12:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":135178388393488384,"note":"Value kept but may cause issues"} 
[2026-09-05 12:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788589977000,"timestamp_ms":1788589977000,"timestamp_seconds":1788589977,"priority":1,"record_length":96,"hex_timestamp":"000001a070452da8"} 
[2026-09-05 12:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:05:22] 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-09-05 12:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-05 12:05:22] 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-09-05 12:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879033600001,"66":13820,"18":206,"83":44288,"24":28,"16":17620562893340672,"45":135178388393488384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,45]} 
[2026-09-05 12:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879033600001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:05:22] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-05 12:05:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17620562893340672,"km_value":17620562893340.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":135178388393488384,"description":"Unknown IO ID 45"} 
[2026-09-05 12:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879033600001,"power":13820,"unknown_18":206,"unknown_83":44288,"ignition":28,"odometer":null,"unknown_45":135178388393488384}} 
[2026-09-05 12:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":172881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:05:22] local.INFO: GPS data processed {"connection_id":172881,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:05:22] local.INFO: Acknowledgment sent {"connection_id":172881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:05:23] local.INFO: TCP Data received {"connection_id":174194,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174194,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:05:23] local.INFO: Processing buffer {"connection_id":174194,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:05:23] local.INFO: IMEI packet received {"connection_id":174194,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 12:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":174194,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:05:43] local.INFO: TCP Data received {"connection_id":174195,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:05:43] local.INFO: Processing buffer {"connection_id":174195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:05:43] local.INFO: IMEI packet received {"connection_id":174195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":174195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:05:45] local.INFO: TCP Data received {"connection_id":174195,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:05:45] local.INFO: Processing buffer {"connection_id":174195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:05:45] local.INFO: IMEI packet received {"connection_id":174195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":174195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:05:47] local.INFO: TCP Data received {"connection_id":171791,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171791,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:05:47] local.INFO: Processing buffer {"connection_id":171791,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:05:47] local.INFO: IMEI packet received {"connection_id":171791,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 12:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":171791,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:05:50] local.INFO: TCP Data received {"connection_id":174195,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:05:50] local.INFO: Processing buffer {"connection_id":174195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:05:50] local.INFO: IMEI packet received {"connection_id":174195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":174195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:05:51] local.INFO: TCP Data received {"connection_id":174195,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070453d48012d01dcc0072d90d00011015123..."} 
[2026-09-05 12:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070453d48012d01dcc0072d90d00011015123..."} 
[2026-09-05 12:05:51] local.INFO: Processing buffer {"connection_id":174195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070453d48012d01dcc0072d90d00011015123..."} 
[2026-09-05 12:05:51] local.INFO: Packet analysis {"connection_id":174195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07045"} 
[2026-09-05 12:05:51] local.INFO: Extracted packet for processing {"connection_id":174195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07045"} 
[2026-09-05 12:05:51] local.INFO: GPS Element Parsed {"raw_longitude":755096768,"raw_latitude":120426704,"longitude_deg":75.5096768,"latitude_deg":12.0426704,"altitude":17,"angle":337,"satellites":35,"speed":27,"hex_longitude":"2d01dcc0","hex_latitude":"072d90d0","is_valid_coordinates":true} 
[2026-09-05 12:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879034112001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17620704627261440,"note":"Value kept but may cause issues"} 
[2026-09-05 12:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":135108019649654784,"note":"Value kept but may cause issues"} 
[2026-09-05 12:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788589981000,"timestamp_ms":1788589981000,"timestamp_seconds":1788589981,"priority":1,"record_length":96,"hex_timestamp":"000001a070453d48"} 
[2026-09-05 12:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:05: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-09-05 12:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-05 12:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879034112001,"66":14048,"18":206,"83":44288,"24":27,"16":17620704627261440,"45":135108019649654784},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,45]} 
[2026-09-05 12:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879034112001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:05:51] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-05 12:05:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17620704627261440,"km_value":17620704627261.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":135108019649654784,"description":"Unknown IO ID 45"} 
[2026-09-05 12:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879034112001,"power":14048,"unknown_18":206,"unknown_83":44288,"ignition":27,"odometer":null,"unknown_45":135108019649654784}} 
[2026-09-05 12:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":174195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:05:51] local.INFO: GPS data processed {"connection_id":174195,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:05:51] local.INFO: Acknowledgment sent {"connection_id":174195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:06:24] local.INFO: TCP Data received {"connection_id":174195,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0704748b8012d010c80072dca18001b010725..."} 
[2026-09-05 12:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0704748b8012d010c80072dca18001b010725..."} 
[2026-09-05 12:06:24] local.INFO: Processing buffer {"connection_id":174195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0704748b8012d010c80072dca18001b010725..."} 
[2026-09-05 12:06:24] local.INFO: Packet analysis {"connection_id":174195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07047"} 
[2026-09-05 12:06:24] local.INFO: Extracted packet for processing {"connection_id":174195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07047"} 
[2026-09-05 12:06:24] local.INFO: GPS Element Parsed {"raw_longitude":755043456,"raw_latitude":120441368,"longitude_deg":75.5043456,"latitude_deg":12.0441368,"altitude":27,"angle":263,"satellites":37,"speed":19,"hex_longitude":"2d010c80","hex_latitude":"072dca18","is_valid_coordinates":true} 
[2026-09-05 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-09-05 12:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879068672001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17623925852733440,"note":"Value kept but may cause issues"} 
[2026-09-05 12:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":77405649428502528,"note":"Value kept but may cause issues"} 
[2026-09-05 12:06:24] 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-09-05 12:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788590115000,"timestamp_ms":1788590115000,"timestamp_seconds":1788590115,"priority":1,"record_length":96,"hex_timestamp":"000001a0704748b8"} 
[2026-09-05 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-09-05 12:06:24] 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-09-05 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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-05 12:06:24] 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-09-05 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-09-05 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-09-05 12:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879068672001,"66":14004,"19":206,"83":44288,"24":19,"16":17623925852733440,"45":77405649428502528},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-05 12:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879068672001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:06:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-05 12:06:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17623925852733440,"km_value":17623925852733.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":77405649428502528,"description":"Unknown IO ID 45"} 
[2026-09-05 12:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879068672001,"power":14004,"unknown_19":206,"unknown_83":44288,"ignition":19,"odometer":null,"unknown_45":77405649428502528}} 
[2026-09-05 12:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":174195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:06:24] local.INFO: GPS data processed {"connection_id":174195,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:06:24] local.INFO: Acknowledgment sent {"connection_id":174195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:06:45] local.INFO: TCP Data received {"connection_id":171794,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:06:45] local.INFO: Processing buffer {"connection_id":171794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:06:45] local.INFO: IMEI packet received {"connection_id":171794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":171794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:06:48] local.INFO: TCP Data received {"connection_id":171794,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:06:48] local.INFO: Processing buffer {"connection_id":171794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:06:48] local.INFO: IMEI packet received {"connection_id":171794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":171794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:06:50] local.INFO: TCP Data received {"connection_id":171794,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:06:50] local.INFO: Processing buffer {"connection_id":171794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:06:50] local.INFO: IMEI packet received {"connection_id":171794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":171794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:06:51] local.INFO: TCP Data received {"connection_id":171794,"ip":"42.109.136.7","data_length":1348,"data_hex":"000000000000030f8e0a000001a070476be0012d00fdc0072dc940001f011426..."} 
[2026-09-05 12:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171794,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a070476be0012d00fdc0072dc940001f011426..."} 
[2026-09-05 12:06:51] local.INFO: Processing buffer {"connection_id":171794,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a070476be0012d00fdc0072dc940001f011426..."} 
[2026-09-05 12:06:51] local.INFO: Packet analysis {"connection_id":171794,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a07047"} 
[2026-09-05 12:06:51] local.INFO: Extracted packet for processing {"connection_id":171794,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a07047"} 
[2026-09-05 12:06:51] local.INFO: GPS Element Parsed {"raw_longitude":755039680,"raw_latitude":120441152,"longitude_deg":75.503968,"latitude_deg":12.0441152,"altitude":31,"angle":276,"satellites":38,"speed":16,"hex_longitude":"2d00fdc0","hex_latitude":"072dc940","is_valid_coordinates":true} 
[2026-09-05 12:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879069440001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17624110536327168,"note":"Value kept but may cause issues"} 
[2026-09-05 12:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":75576062079801344,"note":"Value kept but may cause issues"} 
[2026-09-05 12:06:51] 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-09-05 12:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788590124000,"timestamp_ms":1788590124000,"timestamp_seconds":1788590124,"priority":1,"record_length":96,"hex_timestamp":"000001a070476be0"} 
[2026-09-05 12:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:06: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-09-05 12:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-05 12:06:51] 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-09-05 12:06:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879069440001,"66":13917,"19":206,"83":44288,"24":16,"16":17624110536327168,"45":75576062079801344},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-05 12:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879069440001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:06:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-05 12:06:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17624110536327168,"km_value":17624110536327.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":75576062079801344,"description":"Unknown IO ID 45"} 
[2026-09-05 12:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879069440001,"power":13917,"unknown_19":206,"unknown_83":44288,"ignition":16,"odometer":null,"unknown_45":75576062079801344}} 
[2026-09-05 12:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":171794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:06:51] local.INFO: GPS data processed {"connection_id":171794,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:06:51] local.INFO: Acknowledgment sent {"connection_id":171794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:06:51] local.INFO: Packet analysis {"connection_id":171794,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a07047"} 
[2026-09-05 12:06:51] local.INFO: Incomplete packet, waiting for more data {"connection_id":171794,"needed":795,"available":553} 
[2026-09-05 12:06:51] local.INFO: TCP Data received {"connection_id":171794,"ip":"42.109.136.7","data_length":242,"data_hex":"000000000001a070465a70012d017540072df038000f00fe2600090000000a00..."} 
[2026-09-05 12:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171794,"packet_length":242,"packet_hex":"000000000001a070465a70012d017540072df038000f00fe2600090000000a00..."} 
[2026-09-05 12:06:51] local.INFO: Processing buffer {"connection_id":171794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07047ae48012d00d9c0072dcfd00021011821..."} 
[2026-09-05 12:06:51] local.INFO: Packet analysis {"connection_id":171794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07047"} 
[2026-09-05 12:06:51] local.INFO: Extracted packet for processing {"connection_id":171794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07047"} 
[2026-09-05 12:06:51] local.INFO: GPS Element Parsed {"raw_longitude":755030464,"raw_latitude":120442832,"longitude_deg":75.5030464,"latitude_deg":12.0442832,"altitude":33,"angle":280,"satellites":33,"speed":24,"hex_longitude":"2d00d9c0","hex_latitude":"072dcfd0","is_valid_coordinates":true} 
[2026-09-05 12:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879071744001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17624557212925952,"note":"Value kept but may cause issues"} 
[2026-09-05 12:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":71424306173263872,"note":"Value kept but may cause issues"} 
[2026-09-05 12:06:51] 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-09-05 12:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788590141000,"timestamp_ms":1788590141000,"timestamp_seconds":1788590141,"priority":1,"record_length":96,"hex_timestamp":"000001a07047ae48"} 
[2026-09-05 12:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:06: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-09-05 12:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-05 12:06:51] 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-09-05 12:06:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879071744001,"66":14004,"19":206,"83":44288,"24":24,"16":17624557212925952,"45":71424306173263872},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-05 12:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879071744001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:06:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-05 12:06:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17624557212925952,"km_value":17624557212925.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":71424306173263872,"description":"Unknown IO ID 45"} 
[2026-09-05 12:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879071744001,"power":14004,"unknown_19":206,"unknown_83":44288,"ignition":24,"odometer":null,"unknown_45":71424306173263872}} 
[2026-09-05 12:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":171794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:06:51] local.INFO: GPS data processed {"connection_id":171794,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:06:51] local.INFO: Acknowledgment sent {"connection_id":171794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:06:55] local.INFO: TCP Data received {"connection_id":171794,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07047ecc8012d00b600072dd5280022011321..."} 
[2026-09-05 12:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07047ecc8012d00b600072dd5280022011321..."} 
[2026-09-05 12:06:55] local.INFO: Processing buffer {"connection_id":171794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07047ecc8012d00b600072dd5280022011321..."} 
[2026-09-05 12:06:55] local.INFO: Packet analysis {"connection_id":171794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07047"} 
[2026-09-05 12:06:55] local.INFO: Extracted packet for processing {"connection_id":171794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07047"} 
[2026-09-05 12:06:55] local.INFO: GPS Element Parsed {"raw_longitude":755021312,"raw_latitude":120444200,"longitude_deg":75.5021312,"latitude_deg":12.04442,"altitude":34,"angle":275,"satellites":33,"speed":22,"hex_longitude":"2d00b600","hex_latitude":"072dd528","is_valid_coordinates":true} 
[2026-09-05 12:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879076096001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17624995299590144,"note":"Value kept but may cause issues"} 
[2026-09-05 12:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":61291207012110336,"note":"Value kept but may cause issues"} 
[2026-09-05 12:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788590157000,"timestamp_ms":1788590157000,"timestamp_seconds":1788590157,"priority":1,"record_length":96,"hex_timestamp":"000001a07047ecc8"} 
[2026-09-05 12:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-05 12:06:55] 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-09-05 12:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879076096001,"66":14428,"214":206,"83":44288,"24":22,"16":17624995299590144,"45":61291207012110336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,83,24,16,45]} 
[2026-09-05 12:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879076096001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:06:55] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 12:06:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17624995299590144,"km_value":17624995299590.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":61291207012110336,"description":"Unknown IO ID 45"} 
[2026-09-05 12:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879076096001,"power":14428,"unknown_214":206,"unknown_83":44288,"ignition":22,"odometer":null,"unknown_45":61291207012110336}} 
[2026-09-05 12:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":171794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:06:56] local.INFO: GPS data processed {"connection_id":171794,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:06:56] local.INFO: Acknowledgment sent {"connection_id":171794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:07:27] local.INFO: TCP Data received {"connection_id":171794,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07047f880012d00af00072dd4f8002000fc22..."} 
[2026-09-05 12:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07047f880012d00af00072dd4f8002000fc22..."} 
[2026-09-05 12:07:27] local.INFO: Processing buffer {"connection_id":171794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07047f880012d00af00072dd4f8002000fc22..."} 
[2026-09-05 12:07:27] local.INFO: Packet analysis {"connection_id":171794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07047"} 
[2026-09-05 12:07:27] local.INFO: Extracted packet for processing {"connection_id":171794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07047"} 
[2026-09-05 12:07:27] local.INFO: GPS Element Parsed {"raw_longitude":755019520,"raw_latitude":120444152,"longitude_deg":75.501952,"latitude_deg":12.0444152,"altitude":32,"angle":252,"satellites":34,"speed":23,"hex_longitude":"2d00af00","hex_latitude":"072dd4f8","is_valid_coordinates":true} 
[2026-09-05 12:07: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-09-05 12:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879080192001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17625076903968768,"note":"Value kept but may cause issues"} 
[2026-09-05 12:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":51228476595054592,"note":"Value kept but may cause issues"} 
[2026-09-05 12:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788590160000,"timestamp_ms":1788590160000,"timestamp_seconds":1788590160,"priority":1,"record_length":96,"hex_timestamp":"000001a07047f880"} 
[2026-09-05 12:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 12:07:27] 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-09-05 12:07: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-09-05 12:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879080192001,"66":14483,"214":206,"83":44288,"24":23,"16":17625076903968768,"45":51228476595054592},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,83,24,16,45]} 
[2026-09-05 12:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879080192001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:07:27] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 12:07:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17625076903968768,"km_value":17625076903968.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":51228476595054592,"description":"Unknown IO ID 45"} 
[2026-09-05 12:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879080192001,"power":14483,"unknown_214":206,"unknown_83":44288,"ignition":23,"odometer":null,"unknown_45":51228476595054592}} 
[2026-09-05 12:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":171794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:07:27] local.INFO: GPS data processed {"connection_id":171794,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:07:27] local.INFO: Acknowledgment sent {"connection_id":171794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:07:45] local.INFO: TCP Data received {"connection_id":171492,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:07:45] local.INFO: Processing buffer {"connection_id":171492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:07:45] local.INFO: IMEI packet received {"connection_id":171492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":171492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:07:50] local.INFO: TCP Data received {"connection_id":171492,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:07:50] local.INFO: Processing buffer {"connection_id":171492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:07:50] local.INFO: IMEI packet received {"connection_id":171492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":171492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:07:51] local.INFO: TCP Data received {"connection_id":171492,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07047fc68012d00ad00072dd400001f00ef24..."} 
[2026-09-05 12:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07047fc68012d00ad00072dd400001f00ef24..."} 
[2026-09-05 12:07:51] local.INFO: Processing buffer {"connection_id":171492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07047fc68012d00ad00072dd400001f00ef24..."} 
[2026-09-05 12:07:51] local.INFO: Packet analysis {"connection_id":171492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07047"} 
[2026-09-05 12:07:51] local.INFO: Extracted packet for processing {"connection_id":171492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07047"} 
[2026-09-05 12:07:51] local.INFO: GPS Element Parsed {"raw_longitude":755019008,"raw_latitude":120443904,"longitude_deg":75.5019008,"latitude_deg":12.0443904,"altitude":31,"angle":239,"satellites":36,"speed":23,"hex_longitude":"2d00ad00","hex_latitude":"072dd400","is_valid_coordinates":true} 
[2026-09-05 12:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879080960001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17625106968739840,"note":"Value kept but may cause issues"} 
[2026-09-05 12:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":49258151758067712,"note":"Value kept but may cause issues"} 
[2026-09-05 12:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788590161000,"timestamp_ms":1788590161000,"timestamp_seconds":1788590161,"priority":1,"record_length":96,"hex_timestamp":"000001a07047fc68"} 
[2026-09-05 12:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-05 12:07:51] 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-09-05 12:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879080960001,"66":14483,"214":206,"83":44288,"24":23,"16":17625106968739840,"45":49258151758067712},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,83,24,16,45]} 
[2026-09-05 12:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879080960001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:07:51] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 12:07:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17625106968739840,"km_value":17625106968739.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":49258151758067712,"description":"Unknown IO ID 45"} 
[2026-09-05 12:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879080960001,"power":14483,"unknown_214":206,"unknown_83":44288,"ignition":23,"odometer":null,"unknown_45":49258151758067712}} 
[2026-09-05 12:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":171492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:07:51] local.INFO: GPS data processed {"connection_id":171492,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:07:51] local.INFO: Acknowledgment sent {"connection_id":171492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:08:01] local.INFO: TCP Data received {"connection_id":174196,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:08:01] local.INFO: Processing buffer {"connection_id":174196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:08:01] local.INFO: IMEI packet received {"connection_id":174196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":174196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:08:03] local.INFO: TCP Data received {"connection_id":174196,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07047aa60012d5ecd40063225c8000a009b30..."} 
[2026-09-05 12:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07047aa60012d5ecd40063225c8000a009b30..."} 
[2026-09-05 12:08:03] local.INFO: Processing buffer {"connection_id":174196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07047aa60012d5ecd40063225c8000a009b30..."} 
[2026-09-05 12:08:03] local.INFO: Packet analysis {"connection_id":174196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07047"} 
[2026-09-05 12:08:03] local.INFO: Extracted packet for processing {"connection_id":174196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07047"} 
[2026-09-05 12:08:03] local.INFO: GPS Element Parsed {"raw_longitude":761187648,"raw_latitude":103949768,"longitude_deg":76.1187648,"latitude_deg":10.3949768,"altitude":10,"angle":155,"satellites":48,"speed":44,"hex_longitude":"2d5ecd40","hex_latitude":"063225c8","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879073792001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399603478046965760,"note":"Value kept but may cause issues"} 
[2026-09-05 12:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6826542268032663552,"note":"Value kept but may cause issues"} 
[2026-09-05 12:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788590140000,"timestamp_ms":1788590140000,"timestamp_seconds":1788590140,"priority":1,"record_length":96,"hex_timestamp":"000001a07047aa60"} 
[2026-09-05 12:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:08: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-09-05 12: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 12:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12: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-09-05 12:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:08: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-09-05 12:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879073792001,"66":27974,"143":206,"78":38656,"24":44,"16":399603478046965760,"45":6826542268032663552},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,78,24,16,45]} 
[2026-09-05 12:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879073792001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:08:03] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-09-05 12:08:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-05 12:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399603478046965760,"km_value":399603478046965.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6826542268032663552,"description":"Unknown IO ID 45"} 
[2026-09-05 12:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879073792001,"power":27974,"unknown_143":206,"unknown_78":38656,"ignition":44,"odometer":null,"unknown_45":6826542268032663552}} 
[2026-09-05 12:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":174196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:08:03] local.INFO: GPS data processed {"connection_id":174196,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:08:03] local.INFO: Acknowledgment sent {"connection_id":174196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:08:22] local.INFO: TCP Data received {"connection_id":171492,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070480050012d00ab40072dd288001f00e224..."} 
[2026-09-05 12:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070480050012d00ab40072dd288001f00e224..."} 
[2026-09-05 12:08:22] local.INFO: Processing buffer {"connection_id":171492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070480050012d00ab40072dd288001f00e224..."} 
[2026-09-05 12:08:22] local.INFO: Packet analysis {"connection_id":171492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07048"} 
[2026-09-05 12:08:22] local.INFO: Extracted packet for processing {"connection_id":171492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07048"} 
[2026-09-05 12:08:22] local.INFO: GPS Element Parsed {"raw_longitude":755018560,"raw_latitude":120443528,"longitude_deg":75.501856,"latitude_deg":12.0443528,"altitude":31,"angle":226,"satellites":36,"speed":23,"hex_longitude":"2d00ab40","hex_latitude":"072dd288","is_valid_coordinates":true} 
[2026-09-05 12:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879081216001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17625137033510912,"note":"Value kept but may cause issues"} 
[2026-09-05 12:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":48695201804582912,"note":"Value kept but may cause issues"} 
[2026-09-05 12:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788590162000,"timestamp_ms":1788590162000,"timestamp_seconds":1788590162,"priority":1,"record_length":96,"hex_timestamp":"000001a070480050"} 
[2026-09-05 12:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-05 12:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879081216001,"66":14341,"214":206,"83":44288,"24":23,"16":17625137033510912,"45":48695201804582912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,83,24,16,45]} 
[2026-09-05 12:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879081216001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:08:22] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 12:08:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17625137033510912,"km_value":17625137033510.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":48695201804582912,"description":"Unknown IO ID 45"} 
[2026-09-05 12:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879081216001,"power":14341,"unknown_214":206,"unknown_83":44288,"ignition":23,"odometer":null,"unknown_45":48695201804582912}} 
[2026-09-05 12:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":171492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:08:22] local.INFO: GPS data processed {"connection_id":171492,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:08:22] local.INFO: Acknowledgment sent {"connection_id":171492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:08:34] local.INFO: TCP Data received {"connection_id":174196,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0704967b0012d5f1f0006306c80000a00a62e..."} 
[2026-09-05 12:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0704967b0012d5f1f0006306c80000a00a62e..."} 
[2026-09-05 12:08:34] local.INFO: Processing buffer {"connection_id":174196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0704967b0012d5f1f0006306c80000a00a62e..."} 
[2026-09-05 12:08:34] local.INFO: Packet analysis {"connection_id":174196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07049"} 
[2026-09-05 12:08:34] local.INFO: Extracted packet for processing {"connection_id":174196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07049"} 
[2026-09-05 12:08:34] local.INFO: GPS Element Parsed {"raw_longitude":761208576,"raw_latitude":103836800,"longitude_deg":76.1208576,"latitude_deg":10.38368,"altitude":10,"angle":166,"satellites":46,"speed":43,"hex_longitude":"2d5f1f00","hex_latitude":"06306c80","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879102976001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399609125928960000,"note":"Value kept but may cause issues"} 
[2026-09-05 12:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6851663909675204608,"note":"Value kept but may cause issues"} 
[2026-09-05 12:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788590254000,"timestamp_ms":1788590254000,"timestamp_seconds":1788590254,"priority":1,"record_length":96,"hex_timestamp":"000001a0704967b0"} 
[2026-09-05 12:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 12:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12: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-09-05 12:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879102976001,"66":27908,"209":206,"79":20992,"24":43,"16":399609125928960000,"45":6851663909675204608},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-09-05 12:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879102976001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:08:34] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-05 12:08:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399609125928960000,"km_value":399609125928960,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6851663909675204608,"description":"Unknown IO ID 45"} 
[2026-09-05 12:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879102976001,"power":27908,"unknown_209":206,"unknown_79":20992,"ignition":43,"odometer":null,"unknown_45":6851663909675204608}} 
[2026-09-05 12:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":174196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:08:34] local.INFO: GPS data processed {"connection_id":174196,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:08:34] local.INFO: Acknowledgment sent {"connection_id":174196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:08:45] local.INFO: TCP Data received {"connection_id":174197,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:08:45] local.INFO: Processing buffer {"connection_id":174197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:08:45] local.INFO: IMEI packet received {"connection_id":174197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":174197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:08:51] local.INFO: TCP Data received {"connection_id":174197,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:08:51] local.INFO: Processing buffer {"connection_id":174197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:08:51] local.INFO: IMEI packet received {"connection_id":174197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":174197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:08:52] local.INFO: TCP Data received {"connection_id":174197,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070480438012d00a9c0072dd080001f00d525..."} 
[2026-09-05 12:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070480438012d00a9c0072dd080001f00d525..."} 
[2026-09-05 12:08:52] local.INFO: Processing buffer {"connection_id":174197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070480438012d00a9c0072dd080001f00d525..."} 
[2026-09-05 12:08:52] local.INFO: Packet analysis {"connection_id":174197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07048"} 
[2026-09-05 12:08:52] local.INFO: Extracted packet for processing {"connection_id":174197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07048"} 
[2026-09-05 12:08:52] local.INFO: GPS Element Parsed {"raw_longitude":755018176,"raw_latitude":120443008,"longitude_deg":75.5018176,"latitude_deg":12.0443008,"altitude":31,"angle":213,"satellites":37,"speed":24,"hex_longitude":"2d00a9c0","hex_latitude":"072dd080","is_valid_coordinates":true} 
[2026-09-05 12:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879081472001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17625167098281984,"note":"Value kept but may cause issues"} 
[2026-09-05 12:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":48202620595243008,"note":"Value kept but may cause issues"} 
[2026-09-05 12:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788590163000,"timestamp_ms":1788590163000,"timestamp_seconds":1788590163,"priority":1,"record_length":96,"hex_timestamp":"000001a070480438"} 
[2026-09-05 12:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-05 12:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":84725149106384331,"note":"Value kept but may cause issues"} 
[2026-09-05 12:08:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2902464512,"note":"Value kept but may cause issues"} 
[2026-09-05 12:08:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 12:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3486515233,"note":"Value kept but may cause issues"} 
[2026-09-05 12:08:52] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503868547137536,"note":"Value kept but may cause issues"} 
[2026-09-05 12:08:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1326645454,"corrected_to":0} 
[2026-09-05 12:08:52] local.WARNING: Large IO value detected {"io_id":107,"raw_value":3758173440,"note":"Value kept but may cause issues"} 
[2026-09-05 12:08:52] local.WARNING: Large IO value detected {"io_id":253,"raw_value":3221695945,"note":"Value kept but may cause issues"} 
[2026-09-05 12:08:52] local.WARNING: Large IO value detected {"io_id":62,"raw_value":2634612736,"note":"Value kept but may cause issues"} 
[2026-09-05 12:08:52] local.WARNING: Large IO value detected {"io_id":88,"raw_value":7319419445319168,"note":"Value kept but may cause issues"} 
[2026-09-05 12:08:52] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,214,83,24,241,157,16,160,252,45,212,31,36,10,66,248,32,34,236,1,240,92,227,112,4,113,205,107,253,64,38,239,54,19,2,62,7,27,206,88],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1326645454,"validated":0}]} 
[2026-09-05 12:08:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2234034059423973376,"timestamp_seconds":2234034059423973.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 12:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879081472001,"66":14341,"214":206,"83":44288,"24":24,"16":17625167098281984,"45":48202620595243008},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,83,24,16,45]} 
[2026-09-05 12:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879081472001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:08:52] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 12:08:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17625167098281984,"km_value":17625167098281.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":48202620595243008,"description":"Unknown IO ID 45"} 
[2026-09-05 12:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879081472001,"power":14341,"unknown_214":206,"unknown_83":44288,"ignition":24,"odometer":null,"unknown_45":48202620595243008}} 
[2026-09-05 12:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":174197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:08:52] local.INFO: GPS data processed {"connection_id":174197,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:08:52] local.INFO: Acknowledgment sent {"connection_id":174197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:08:56] local.INFO: TCP Data received {"connection_id":174198,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:08:56] local.INFO: Processing buffer {"connection_id":174198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:08:56] local.INFO: IMEI packet received {"connection_id":174198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":174198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:09:01] local.INFO: TCP Data received {"connection_id":174198,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:09:01] local.INFO: Processing buffer {"connection_id":174198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:09:01] local.INFO: IMEI packet received {"connection_id":174198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":174198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:09:02] local.INFO: TCP Data received {"connection_id":174198,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a070498ad8012d5f270006304768000a00a830..."} 
[2026-09-05 12:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070498ad8012d5f270006304768000a00a830..."} 
[2026-09-05 12:09:02] local.INFO: Processing buffer {"connection_id":174198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070498ad8012d5f270006304768000a00a830..."} 
[2026-09-05 12:09:02] local.INFO: Packet analysis {"connection_id":174198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07049"} 
[2026-09-05 12:09:02] local.INFO: Extracted packet for processing {"connection_id":174198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07049"} 
[2026-09-05 12:09:02] local.INFO: GPS Element Parsed {"raw_longitude":761210624,"raw_latitude":103827304,"longitude_deg":76.1210624,"latitude_deg":10.3827304,"altitude":10,"angle":168,"satellites":48,"speed":42,"hex_longitude":"2d5f2700","hex_latitude":"06304768","is_valid_coordinates":true} 
[2026-09-05 12:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879105024001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399609598375362560,"note":"Value kept but may cause issues"} 
[2026-09-05 12:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6854197184463405056,"note":"Value kept but may cause issues"} 
[2026-09-05 12:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788590263000,"timestamp_ms":1788590263000,"timestamp_seconds":1788590263,"priority":1,"record_length":96,"hex_timestamp":"000001a070498ad8"} 
[2026-09-05 12:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:09: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-09-05 12:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 12:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879105024001,"66":27930,"209":206,"79":20992,"24":42,"16":399609598375362560,"45":6854197184463405056},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-09-05 12:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879105024001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:09:02] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-05 12:09:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399609598375362560,"km_value":399609598375362.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6854197184463405056,"description":"Unknown IO ID 45"} 
[2026-09-05 12:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879105024001,"power":27930,"unknown_209":206,"unknown_79":20992,"ignition":42,"odometer":null,"unknown_45":6854197184463405056}} 
[2026-09-05 12:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":174198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:09:02] local.INFO: GPS data processed {"connection_id":174198,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:09:02] local.INFO: Acknowledgment sent {"connection_id":174198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:09:23] local.INFO: TCP Data received {"connection_id":174197,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070481ba8012d00a200072dc440001c00e325..."} 
[2026-09-05 12:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070481ba8012d00a200072dc440001c00e325..."} 
[2026-09-05 12:09:23] local.INFO: Processing buffer {"connection_id":174197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070481ba8012d00a200072dc440001c00e325..."} 
[2026-09-05 12:09:23] local.INFO: Packet analysis {"connection_id":174197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07048"} 
[2026-09-05 12:09:23] local.INFO: Extracted packet for processing {"connection_id":174197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07048"} 
[2026-09-05 12:09:23] local.INFO: GPS Element Parsed {"raw_longitude":755016192,"raw_latitude":120439872,"longitude_deg":75.5016192,"latitude_deg":12.0439872,"altitude":28,"angle":227,"satellites":37,"speed":26,"hex_longitude":"2d00a200","hex_latitude":"072dc440","is_valid_coordinates":true} 
[2026-09-05 12:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879081728001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17625347486908416,"note":"Value kept but may cause issues"} 
[2026-09-05 12:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":47780408130043904,"note":"Value kept but may cause issues"} 
[2026-09-05 12:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788590169000,"timestamp_ms":1788590169000,"timestamp_seconds":1788590169,"priority":1,"record_length":96,"hex_timestamp":"000001a070481ba8"} 
[2026-09-05 12:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-05 12:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6986680136,"note":"Value kept but may cause issues"} 
[2026-09-05 12:09:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2902464512,"note":"Value kept but may cause issues"} 
[2026-09-05 12:09:23] local.WARNING: Large IO value detected {"io_id":24,"raw_value":7600954568348416,"note":"Value kept but may cause issues"} 
[2026-09-05 12:09:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 12:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3576168482,"note":"Value kept but may cause issues"} 
[2026-09-05 12:09:23] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503868549955584,"note":"Value kept but may cause issues"} 
[2026-09-05 12:09:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1406533838,"corrected_to":0} 
[2026-09-05 12:09:23] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3221695951,"note":"Value kept but may cause issues"} 
[2026-09-05 12:09:23] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951439,"note":"Value kept but may cause issues"} 
[2026-09-05 12:09:23] local.WARNING: Large IO value detected {"io_id":62,"raw_value":2641428480,"note":"Value kept but may cause issues"} 
[2026-09-05 12:09:23] local.WARNING: Large IO value detected {"io_id":184,"raw_value":84725121189096906,"note":"Value kept but may cause issues"} 
[2026-09-05 12:09:23] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,214,83,24,241,157,16,160,45,64,210,31,36,10,66,252,212,248,1,240,147,227,112,4,113,205,22,174,217,208,33,239,54,19,2,62,7,206,184],"length":529,"final_offset":659,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1406533838,"validated":0}]} 
[2026-09-05 12:09:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2234019770067845120,"timestamp_seconds":2234019770067845.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 12:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879081728001,"66":14396,"214":206,"83":44288,"24":26,"16":17625347486908416,"45":47780408130043904},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,83,24,16,45]} 
[2026-09-05 12:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879081728001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:09:23] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 12:09:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17625347486908416,"km_value":17625347486908.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":47780408130043904,"description":"Unknown IO ID 45"} 
[2026-09-05 12:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879081728001,"power":14396,"unknown_214":206,"unknown_83":44288,"ignition":26,"odometer":null,"unknown_45":47780408130043904}} 
[2026-09-05 12:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":174197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:09:23] local.INFO: GPS data processed {"connection_id":174197,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:09:23] local.INFO: Acknowledgment sent {"connection_id":174197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:09:35] local.INFO: TCP Data received {"connection_id":174198,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07049aa18012d5f2ec006302510000a00a731..."} 
[2026-09-05 12:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07049aa18012d5f2ec006302510000a00a731..."} 
[2026-09-05 12:09:35] local.INFO: Processing buffer {"connection_id":174198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07049aa18012d5f2ec006302510000a00a731..."} 
[2026-09-05 12:09:35] local.INFO: Packet analysis {"connection_id":174198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07049"} 
[2026-09-05 12:09:35] local.INFO: Extracted packet for processing {"connection_id":174198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07049"} 
[2026-09-05 12:09:35] local.INFO: GPS Element Parsed {"raw_longitude":761212608,"raw_latitude":103818512,"longitude_deg":76.1212608,"latitude_deg":10.3818512,"altitude":10,"angle":167,"satellites":49,"speed":46,"hex_longitude":"2d5f2ec0","hex_latitude":"06302510","is_valid_coordinates":true} 
[2026-09-05 12:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879107328001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399610032167059456,"note":"Value kept but may cause issues"} 
[2026-09-05 12:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6856448984274659328,"note":"Value kept but may cause issues"} 
[2026-09-05 12:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788590271000,"timestamp_ms":1788590271000,"timestamp_seconds":1788590271,"priority":1,"record_length":96,"hex_timestamp":"000001a07049aa18"} 
[2026-09-05 12:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:09:35] 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-09-05 12:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 12:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879107328001,"66":27876,"209":206,"79":20992,"24":46,"16":399610032167059456,"45":6856448984274659328},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-09-05 12:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879107328001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:09:35] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-05 12:09:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399610032167059456,"km_value":399610032167059.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6856448984274659328,"description":"Unknown IO ID 45"} 
[2026-09-05 12:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879107328001,"power":27876,"unknown_209":206,"unknown_79":20992,"ignition":46,"odometer":null,"unknown_45":6856448984274659328}} 
[2026-09-05 12:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":174198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:09:35] local.INFO: GPS data processed {"connection_id":174198,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:09:35] local.INFO: Acknowledgment sent {"connection_id":174198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:09:45] local.INFO: TCP Data received {"connection_id":172884,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:09:45] local.INFO: Processing buffer {"connection_id":172884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:09:45] local.INFO: IMEI packet received {"connection_id":172884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":172884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:09:50] local.INFO: TCP Data received {"connection_id":172884,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:09:50] local.INFO: Processing buffer {"connection_id":172884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:09:50] local.INFO: IMEI packet received {"connection_id":172884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":172884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:09:51] local.INFO: TCP Data received {"connection_id":172884,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070482760012d009b40072dbfa0001c00f025..."} 
[2026-09-05 12:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070482760012d009b40072dbfa0001c00f025..."} 
[2026-09-05 12:09:51] local.INFO: Processing buffer {"connection_id":172884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070482760012d009b40072dbfa0001c00f025..."} 
[2026-09-05 12:09:51] local.INFO: Packet analysis {"connection_id":172884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07048"} 
[2026-09-05 12:09:51] local.INFO: Extracted packet for processing {"connection_id":172884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07048"} 
[2026-09-05 12:09:51] local.INFO: GPS Element Parsed {"raw_longitude":755014464,"raw_latitude":120438688,"longitude_deg":75.5014464,"latitude_deg":12.0438688,"altitude":28,"angle":240,"satellites":37,"speed":28,"hex_longitude":"2d009b40","hex_latitude":"072dbfa0","is_valid_coordinates":true} 
[2026-09-05 12:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879083264001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17625446271156224,"note":"Value kept but may cause issues"} 
[2026-09-05 12:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":45598977059733504,"note":"Value kept but may cause issues"} 
[2026-09-05 12:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788590172000,"timestamp_ms":1788590172000,"timestamp_seconds":1788590172,"priority":1,"record_length":96,"hex_timestamp":"000001a070482760"} 
[2026-09-05 12:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:09: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-09-05 12:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 12:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879083264001,"66":14341,"214":206,"83":44288,"24":28,"16":17625446271156224,"45":45598977059733504},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,83,24,16,45]} 
[2026-09-05 12:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879083264001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:09:51] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 12:09:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17625446271156224,"km_value":17625446271156.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":45598977059733504,"description":"Unknown IO ID 45"} 
[2026-09-05 12:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879083264001,"power":14341,"unknown_214":206,"unknown_83":44288,"ignition":28,"odometer":null,"unknown_45":45598977059733504}} 
[2026-09-05 12:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":172884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:09:51] local.INFO: GPS data processed {"connection_id":172884,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:09:51] local.INFO: Acknowledgment sent {"connection_id":172884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:10:00] local.INFO: TCP Data received {"connection_id":172885,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:10:00] local.INFO: Processing buffer {"connection_id":172885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:10:00] local.INFO: IMEI packet received {"connection_id":172885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":172885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:10:01] local.INFO: TCP Data received {"connection_id":172885,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:10:01] local.INFO: Processing buffer {"connection_id":172885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:10:01] local.INFO: IMEI packet received {"connection_id":172885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":172885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:10:12] local.INFO: TCP Data received {"connection_id":172885,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:10:12] local.INFO: Processing buffer {"connection_id":172885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:10:12] local.INFO: IMEI packet received {"connection_id":172885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":172885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:10:13] local.INFO: TCP Data received {"connection_id":172885,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07049c958012d5f36c006300048000a00a732..."} 
[2026-09-05 12:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07049c958012d5f36c006300048000a00a732..."} 
[2026-09-05 12:10:13] local.INFO: Processing buffer {"connection_id":172885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07049c958012d5f36c006300048000a00a732..."} 
[2026-09-05 12:10:13] local.INFO: Packet analysis {"connection_id":172885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07049"} 
[2026-09-05 12:10:13] local.INFO: Extracted packet for processing {"connection_id":172885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07049"} 
[2026-09-05 12:10:13] local.INFO: GPS Element Parsed {"raw_longitude":761214656,"raw_latitude":103809096,"longitude_deg":76.1214656,"latitude_deg":10.3809096,"altitude":10,"angle":167,"satellites":50,"speed":48,"hex_longitude":"2d5f36c0","hex_latitude":"06300048","is_valid_coordinates":true} 
[2026-09-05 12:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879109376001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399610500318494720,"note":"Value kept but may cause issues"} 
[2026-09-05 12:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6858630415341916160,"note":"Value kept but may cause issues"} 
[2026-09-05 12:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788590279000,"timestamp_ms":1788590279000,"timestamp_seconds":1788590279,"priority":1,"record_length":96,"hex_timestamp":"000001a07049c958"} 
[2026-09-05 12:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 12:10:13] 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-09-05 12:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":172885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":172885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":172885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:10:13] 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-09-05 12:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879109376001,"66":27767,"209":206,"79":20992,"24":48,"16":399610500318494720,"45":6858630415341916160},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-09-05 12:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879109376001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:10:13] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-05 12:10:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399610500318494720,"km_value":399610500318494.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6858630415341916160,"description":"Unknown IO ID 45"} 
[2026-09-05 12:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879109376001,"power":27767,"unknown_209":206,"unknown_79":20992,"ignition":48,"odometer":null,"unknown_45":6858630415341916160}} 
[2026-09-05 12:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":172885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:10:13] local.INFO: GPS data processed {"connection_id":172885,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:10:13] local.INFO: Acknowledgment sent {"connection_id":172885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:10:22] local.INFO: TCP Data received {"connection_id":172884,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0704b1948012d003400072d95880016010c26..."} 
[2026-09-05 12:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0704b1948012d003400072d95880016010c26..."} 
[2026-09-05 12:10:22] local.INFO: Processing buffer {"connection_id":172884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0704b1948012d003400072d95880016010c26..."} 
[2026-09-05 12:10:22] local.INFO: Packet analysis {"connection_id":172884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0704b"} 
[2026-09-05 12:10:22] local.INFO: Extracted packet for processing {"connection_id":172884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0704b"} 
[2026-09-05 12:10:22] local.INFO: GPS Element Parsed {"raw_longitude":754988032,"raw_latitude":120427912,"longitude_deg":75.4988032,"latitude_deg":12.0427912,"altitude":22,"angle":268,"satellites":38,"speed":4,"hex_longitude":"2d003400","hex_latitude":"072d9588","is_valid_coordinates":true} 
[2026-09-05 12:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879128576001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17626829250625536,"note":"Value kept but may cause issues"} 
[2026-09-05 12:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":14636729618436096,"note":"Value kept but may cause issues"} 
[2026-09-05 12:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788590365000,"timestamp_ms":1788590365000,"timestamp_seconds":1788590365,"priority":1,"record_length":96,"hex_timestamp":"000001a0704b1948"} 
[2026-09-05 12:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-05 12:10:22] 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-09-05 12:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879128576001,"66":14233,"214":206,"83":44288,"24":4,"16":17626829250625536,"45":14636729618436096},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,83,24,16,45]} 
[2026-09-05 12:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879128576001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:10:22] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 12:10:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17626829250625536,"km_value":17626829250625.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":14636729618436096,"description":"Unknown IO ID 45"} 
[2026-09-05 12:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879128576001,"power":14233,"unknown_214":206,"unknown_83":44288,"ignition":4,"odometer":null,"unknown_45":14636729618436096}} 
[2026-09-05 12:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":172884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:10:22] local.INFO: GPS data processed {"connection_id":172884,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:10:22] local.INFO: Acknowledgment sent {"connection_id":172884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:10:47] local.INFO: TCP Data received {"connection_id":171494,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:10:47] local.INFO: Processing buffer {"connection_id":171494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:10:47] local.INFO: IMEI packet received {"connection_id":171494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":171494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:10:51] local.INFO: TCP Data received {"connection_id":171494,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:10:51] local.INFO: Processing buffer {"connection_id":171494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:10:51] local.INFO: IMEI packet received {"connection_id":171494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":171494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:10:51] local.INFO: TCP Data received {"connection_id":171494,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:10:51] local.INFO: Processing buffer {"connection_id":171494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:10:51] local.INFO: IMEI packet received {"connection_id":171494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":171494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:10:54] local.INFO: TCP Data received {"connection_id":171494,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:10:54] local.INFO: Processing buffer {"connection_id":171494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:10:54] local.INFO: IMEI packet received {"connection_id":171494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":171494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:10:55] local.INFO: TCP Data received {"connection_id":171494,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0704b2118012d0032c0072d95500016010127..."} 
[2026-09-05 12:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0704b2118012d0032c0072d95500016010127..."} 
[2026-09-05 12:10:55] local.INFO: Processing buffer {"connection_id":171494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0704b2118012d0032c0072d95500016010127..."} 
[2026-09-05 12:10:55] local.INFO: Packet analysis {"connection_id":171494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0704b"} 
[2026-09-05 12:10:55] local.INFO: Extracted packet for processing {"connection_id":171494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0704b"} 
[2026-09-05 12:10:55] local.INFO: GPS Element Parsed {"raw_longitude":754987712,"raw_latitude":120427856,"longitude_deg":75.4987712,"latitude_deg":12.0427856,"altitude":22,"angle":257,"satellites":39,"speed":6,"hex_longitude":"2d0032c0","hex_latitude":"072d9550","is_valid_coordinates":true} 
[2026-09-05 12:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879133440001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17626842135527424,"note":"Value kept but may cause issues"} 
[2026-09-05 12:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":14636729618499584,"note":"Value kept but may cause issues"} 
[2026-09-05 12:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788590367000,"timestamp_ms":1788590367000,"timestamp_seconds":1788590367,"priority":1,"record_length":96,"hex_timestamp":"000001a0704b2118"} 
[2026-09-05 12:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:10:55] 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-09-05 12:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-05 12:10:55] 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-09-05 12:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879133440001,"66":14233,"214":206,"83":44288,"24":6,"16":17626842135527424,"45":14636729618499584},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,83,24,16,45]} 
[2026-09-05 12:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879133440001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:10:55] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 12:10:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17626842135527424,"km_value":17626842135527.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":14636729618499584,"description":"Unknown IO ID 45"} 
[2026-09-05 12:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879133440001,"power":14233,"unknown_214":206,"unknown_83":44288,"ignition":6,"odometer":null,"unknown_45":14636729618499584}} 
[2026-09-05 12:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":171494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:10:55] local.INFO: GPS data processed {"connection_id":171494,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:10:55] local.INFO: Acknowledgment sent {"connection_id":171494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:10:56] local.INFO: TCP Data received {"connection_id":171494,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0704b5f98012d0015c0072d8ad8001500f527..."} 
[2026-09-05 12:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0704b5f98012d0015c0072d8ad8001500f527..."} 
[2026-09-05 12:10:56] local.INFO: Processing buffer {"connection_id":171494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0704b5f98012d0015c0072d8ad8001500f527..."} 
[2026-09-05 12:10:56] local.INFO: Packet analysis {"connection_id":171494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0704b"} 
[2026-09-05 12:10:56] local.INFO: Extracted packet for processing {"connection_id":171494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0704b"} 
[2026-09-05 12:10:56] local.INFO: GPS Element Parsed {"raw_longitude":754980288,"raw_latitude":120425176,"longitude_deg":75.4980288,"latitude_deg":12.0425176,"altitude":21,"angle":245,"satellites":39,"speed":29,"hex_longitude":"2d0015c0","hex_latitude":"072d8ad8","is_valid_coordinates":true} 
[2026-09-05 12:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879133952001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17627215797682176,"note":"Value kept but may cause issues"} 
[2026-09-05 12:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":14284885897596928,"note":"Value kept but may cause issues"} 
[2026-09-05 12:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788590383000,"timestamp_ms":1788590383000,"timestamp_seconds":1788590383,"priority":1,"record_length":96,"hex_timestamp":"000001a0704b5f98"} 
[2026-09-05 12:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-05 12:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879133952001,"66":14363,"184":206,"83":44288,"24":29,"16":17627215797682176,"45":14284885897596928},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,83,24,16,45]} 
[2026-09-05 12:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879133952001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:10:56] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-05 12:10:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17627215797682176,"km_value":17627215797682.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":14284885897596928,"description":"Unknown IO ID 45"} 
[2026-09-05 12:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879133952001,"power":14363,"unknown_184":206,"unknown_83":44288,"ignition":29,"odometer":null,"unknown_45":14284885897596928}} 
[2026-09-05 12:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":171494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:10:56] local.INFO: GPS data processed {"connection_id":171494,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:10:56] local.INFO: Acknowledgment sent {"connection_id":171494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:11:00] local.INFO: TCP Data received {"connection_id":171494,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0704b86a8012cfff180072d7b80001300fb25..."} 
[2026-09-05 12:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0704b86a8012cfff180072d7b80001300fb25..."} 
[2026-09-05 12:11:00] local.INFO: Processing buffer {"connection_id":171494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0704b86a8012cfff180072d7b80001300fb25..."} 
[2026-09-05 12:11:00] local.INFO: Packet analysis {"connection_id":171494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0704b"} 
[2026-09-05 12:11:00] local.INFO: Extracted packet for processing {"connection_id":171494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0704b"} 
[2026-09-05 12:11:00] local.INFO: GPS Element Parsed {"raw_longitude":754971008,"raw_latitude":120421248,"longitude_deg":75.4971008,"latitude_deg":12.0421248,"altitude":19,"angle":251,"satellites":37,"speed":44,"hex_longitude":"2cfff180","hex_latitude":"072d7b80","is_valid_coordinates":true} 
[2026-09-05 12:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879138048001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17627696834019328,"note":"Value kept but may cause issues"} 
[2026-09-05 12:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6122111572301824,"note":"Value kept but may cause issues"} 
[2026-09-05 12:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788590393000,"timestamp_ms":1788590393000,"timestamp_seconds":1788590393,"priority":1,"record_length":96,"hex_timestamp":"000001a0704b86a8"} 
[2026-09-05 12:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:11:00] 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-09-05 12:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 12:11:00] 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-09-05 12:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879138048001,"66":14374,"184":206,"83":44288,"24":44,"16":17627696834019328,"45":6122111572301824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,83,24,16,45]} 
[2026-09-05 12:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879138048001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:11:00] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-05 12:11:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17627696834019328,"km_value":17627696834019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6122111572301824,"description":"Unknown IO ID 45"} 
[2026-09-05 12:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879138048001,"power":14374,"unknown_184":206,"unknown_83":44288,"ignition":44,"odometer":null,"unknown_45":6122111572301824}} 
[2026-09-05 12:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":171494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:11:01] local.INFO: GPS data processed {"connection_id":171494,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:11:01] local.INFO: Acknowledgment sent {"connection_id":171494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:11:07] local.INFO: TCP Data received {"connection_id":174199,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174199,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:11:07] local.INFO: Processing buffer {"connection_id":174199,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:11:07] local.INFO: IMEI packet received {"connection_id":174199,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 12:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":174199,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:11:37] local.INFO: TCP Data received {"connection_id":171796,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:11:37] local.INFO: Processing buffer {"connection_id":171796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:11:37] local.INFO: IMEI packet received {"connection_id":171796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":171796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:11:52] local.INFO: TCP Data received {"connection_id":174200,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:11:52] local.INFO: Processing buffer {"connection_id":174200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:11:52] local.INFO: IMEI packet received {"connection_id":174200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":174200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:11:56] local.INFO: TCP Data received {"connection_id":172886,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:11:56] local.INFO: Processing buffer {"connection_id":172886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:11:56] local.INFO: IMEI packet received {"connection_id":172886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":172886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:11:56] local.INFO: TCP Data received {"connection_id":174200,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:11:56] local.INFO: Processing buffer {"connection_id":174200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:11:56] local.INFO: IMEI packet received {"connection_id":174200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":174200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:11:58] local.INFO: TCP Data received {"connection_id":174200,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0704ba5e8012cffce00072d7110001000fe27..."} 
[2026-09-05 12:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0704ba5e8012cffce00072d7110001000fe27..."} 
[2026-09-05 12:11:58] local.INFO: Processing buffer {"connection_id":174200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0704ba5e8012cffce00072d7110001000fe27..."} 
[2026-09-05 12:11:58] local.INFO: Packet analysis {"connection_id":174200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0704b"} 
[2026-09-05 12:11:58] local.INFO: Extracted packet for processing {"connection_id":174200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0704b"} 
[2026-09-05 12:11:58] local.INFO: GPS Element Parsed {"raw_longitude":754961920,"raw_latitude":120418576,"longitude_deg":75.496192,"latitude_deg":12.0418576,"altitude":16,"angle":254,"satellites":39,"speed":45,"hex_longitude":"2cffce00","hex_latitude":"072d7110","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879140608001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17628147805585408,"note":"Value kept but may cause issues"} 
[2026-09-05 12:11:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4081356334465024,"note":"Value kept but may cause issues"} 
[2026-09-05 12:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788590401000,"timestamp_ms":1788590401000,"timestamp_seconds":1788590401,"priority":1,"record_length":96,"hex_timestamp":"000001a0704ba5e8"} 
[2026-09-05 12:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 12:11:58] 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-09-05 12: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-09-05 12:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879140608001,"66":14396,"184":206,"83":44288,"24":45,"16":17628147805585408,"44":-4081356334465024},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,83,24,16,44]} 
[2026-09-05 12:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879140608001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:11:58] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-05 12:11:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17628147805585408,"km_value":17628147805585.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:11:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4081356334465024,"description":"Unknown IO ID 44"} 
[2026-09-05 12:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879140608001,"power":14396,"unknown_184":206,"unknown_83":44288,"ignition":45,"odometer":null,"unknown_44":-4081356334465024}} 
[2026-09-05 12:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":174200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:11:58] local.INFO: GPS data processed {"connection_id":174200,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:11:58] local.INFO: Acknowledgment sent {"connection_id":174200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:11:58] local.INFO: TCP Data received {"connection_id":174200,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0704bc528012cffabc0072d67c0000e010127..."} 
[2026-09-05 12:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0704bc528012cffabc0072d67c0000e010127..."} 
[2026-09-05 12:11:58] local.INFO: Processing buffer {"connection_id":174200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0704bc528012cffabc0072d67c0000e010127..."} 
[2026-09-05 12:11:58] local.INFO: Packet analysis {"connection_id":174200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0704b"} 
[2026-09-05 12:11:58] local.INFO: Extracted packet for processing {"connection_id":174200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0704b"} 
[2026-09-05 12:11:58] local.INFO: GPS Element Parsed {"raw_longitude":754953152,"raw_latitude":120416192,"longitude_deg":75.4953152,"latitude_deg":12.0416192,"altitude":14,"angle":257,"satellites":39,"speed":40,"hex_longitude":"2cffabc0","hex_latitude":"072d67c0","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879142656001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17628581597282304,"note":"Value kept but may cause issues"} 
[2026-09-05 12:11:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-14073718008377344,"note":"Value kept but may cause issues"} 
[2026-09-05 12:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788590409000,"timestamp_ms":1788590409000,"timestamp_seconds":1788590409,"priority":1,"record_length":96,"hex_timestamp":"000001a0704bc528"} 
[2026-09-05 12:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 12:11:58] 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-09-05 12: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-09-05 12:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879142656001,"66":14396,"184":206,"83":44288,"24":40,"16":17628581597282304,"44":-14073718008377344},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,83,24,16,44]} 
[2026-09-05 12:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879142656001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:11:58] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-05 12:11:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17628581597282304,"km_value":17628581597282.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:11:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-14073718008377344,"description":"Unknown IO ID 44"} 
[2026-09-05 12:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879142656001,"power":14396,"unknown_184":206,"unknown_83":44288,"ignition":40,"odometer":null,"unknown_44":-14073718008377344}} 
[2026-09-05 12:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":174200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:11:58] local.INFO: GPS data processed {"connection_id":174200,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:11:58] local.INFO: Acknowledgment sent {"connection_id":174200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:12:00] local.INFO: TCP Data received {"connection_id":172886,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:12:00] local.INFO: Processing buffer {"connection_id":172886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:12:00] local.INFO: IMEI packet received {"connection_id":172886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":172886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:12:01] local.INFO: TCP Data received {"connection_id":172886,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:12:01] local.INFO: Processing buffer {"connection_id":172886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:12:01] local.INFO: IMEI packet received {"connection_id":172886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":172886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:12:02] local.INFO: TCP Data received {"connection_id":172886,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0704b8a90012d5f9cc0062ee198000b00a033..."} 
[2026-09-05 12:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0704b8a90012d5f9cc0062ee198000b00a033..."} 
[2026-09-05 12:12:02] local.INFO: Processing buffer {"connection_id":172886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0704b8a90012d5f9cc0062ee198000b00a033..."} 
[2026-09-05 12:12:02] local.INFO: Packet analysis {"connection_id":172886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0704b"} 
[2026-09-05 12:12:02] local.INFO: Extracted packet for processing {"connection_id":172886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0704b"} 
[2026-09-05 12:12:02] local.INFO: GPS Element Parsed {"raw_longitude":761240768,"raw_latitude":103735704,"longitude_deg":76.1240768,"latitude_deg":10.3735704,"altitude":11,"angle":160,"satellites":51,"speed":31,"hex_longitude":"2d5f9cc0","hex_latitude":"062ee198","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879137280001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399614284184682496,"note":"Value kept but may cause issues"} 
[2026-09-05 12:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6886214963040567296,"note":"Value kept but may cause issues"} 
[2026-09-05 12:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788590394000,"timestamp_ms":1788590394000,"timestamp_seconds":1788590394,"priority":1,"record_length":96,"hex_timestamp":"000001a0704b8a90"} 
[2026-09-05 12:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:12: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-09-05 12:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 12:12: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-09-05 12: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-09-05 12:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879137280001,"66":27995,"211":206,"79":20992,"24":31,"16":399614284184682496,"45":6886214963040567296},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,79,24,16,45]} 
[2026-09-05 12:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879137280001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:12:02] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-05 12:12:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399614284184682496,"km_value":399614284184682.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6886214963040567296,"description":"Unknown IO ID 45"} 
[2026-09-05 12:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879137280001,"power":27995,"unknown_211":206,"unknown_79":20992,"ignition":31,"odometer":null,"unknown_45":6886214963040567296}} 
[2026-09-05 12:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":172886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:12:02] local.INFO: GPS data processed {"connection_id":172886,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:12:02] local.INFO: Acknowledgment sent {"connection_id":172886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:12:20] local.INFO: TCP Data received {"connection_id":171495,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171495,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:12:20] local.INFO: Processing buffer {"connection_id":171495,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:12:20] local.INFO: IMEI packet received {"connection_id":171495,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 12:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":171495,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:12:30] local.INFO: TCP Data received {"connection_id":174200,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0704d0960012cfe9f40072d82d0000e011726..."} 
[2026-09-05 12:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0704d0960012cfe9f40072d82d0000e011726..."} 
[2026-09-05 12:12:30] local.INFO: Processing buffer {"connection_id":174200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0704d0960012cfe9f40072d82d0000e011726..."} 
[2026-09-05 12:12:30] local.INFO: Packet analysis {"connection_id":174200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0704d"} 
[2026-09-05 12:12:30] local.INFO: Extracted packet for processing {"connection_id":174200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0704d"} 
[2026-09-05 12:12:30] local.INFO: GPS Element Parsed {"raw_longitude":754884416,"raw_latitude":120423120,"longitude_deg":75.4884416,"latitude_deg":12.042312,"altitude":14,"angle":279,"satellites":38,"speed":47,"hex_longitude":"2cfe9f40","hex_latitude":"072d82d0","is_valid_coordinates":true} 
[2026-09-05 12:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879163648001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17631948851642368,"note":"Value kept but may cause issues"} 
[2026-09-05 12:12:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-88875693068349440,"note":"Value kept but may cause issues"} 
[2026-09-05 12:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788590492000,"timestamp_ms":1788590492000,"timestamp_seconds":1788590492,"priority":1,"record_length":96,"hex_timestamp":"000001a0704d0960"} 
[2026-09-05 12:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:12: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-09-05 12:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-05 12:12:30] 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-09-05 12:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879163648001,"66":13972,"185":206,"83":44288,"24":47,"16":17631948851642368,"44":-88875693068349440},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,44]} 
[2026-09-05 12:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879163648001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:12:30] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-05 12:12:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17631948851642368,"km_value":17631948851642.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:12:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-88875693068349440,"description":"Unknown IO ID 44"} 
[2026-09-05 12:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879163648001,"power":13972,"unknown_185":206,"unknown_83":44288,"ignition":47,"odometer":null,"unknown_44":-88875693068349440}} 
[2026-09-05 12:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":174200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:12:30] local.INFO: GPS data processed {"connection_id":174200,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:12:30] local.INFO: Acknowledgment sent {"connection_id":174200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:12:33] local.INFO: TCP Data received {"connection_id":172886,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0704d1518012d602c00062d1ce0000a009c30..."} 
[2026-09-05 12:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0704d1518012d602c00062d1ce0000a009c30..."} 
[2026-09-05 12:12:33] local.INFO: Processing buffer {"connection_id":172886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0704d1518012d602c00062d1ce0000a009c30..."} 
[2026-09-05 12:12:33] local.INFO: Packet analysis {"connection_id":172886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0704d"} 
[2026-09-05 12:12:33] local.INFO: Extracted packet for processing {"connection_id":172886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0704d"} 
[2026-09-05 12:12:33] local.INFO: GPS Element Parsed {"raw_longitude":761277440,"raw_latitude":103619808,"longitude_deg":76.127744,"latitude_deg":10.3619808,"altitude":10,"angle":156,"satellites":48,"speed":50,"hex_longitude":"2d602c00","hex_latitude":"062d1ce0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 12:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879164928001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399620215534518272,"note":"Value kept but may cause issues"} 
[2026-09-05 12:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6925762197238726656,"note":"Value kept but may cause issues"} 
[2026-09-05 12:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788590495000,"timestamp_ms":1788590495000,"timestamp_seconds":1788590495,"priority":1,"record_length":96,"hex_timestamp":"000001a0704d1518"} 
[2026-09-05 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-09-05 12:12: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-09-05 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 12:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 12:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:12: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-09-05 12:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879164928001,"66":27843,"91":206,"79":20992,"24":50,"16":399620215534518272,"45":6925762197238726656},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-09-05 12:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879164928001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:12:33] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-05 12:12:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399620215534518272,"km_value":399620215534518.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6925762197238726656,"description":"Unknown IO ID 45"} 
[2026-09-05 12:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879164928001,"power":27843,"unknown_91":206,"unknown_79":20992,"ignition":50,"odometer":null,"unknown_45":6925762197238726656}} 
[2026-09-05 12:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":172886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:12:33] local.INFO: GPS data processed {"connection_id":172886,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:12:33] local.INFO: Acknowledgment sent {"connection_id":172886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:12:45] local.INFO: TCP Data received {"connection_id":171797,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:12:45] local.INFO: Processing buffer {"connection_id":171797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:12:45] local.INFO: IMEI packet received {"connection_id":171797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":171797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:12:50] local.INFO: TCP Data received {"connection_id":171797,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:12:50] local.INFO: Processing buffer {"connection_id":171797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:12:50] local.INFO: IMEI packet received {"connection_id":171797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":171797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:12:51] local.INFO: TCP Data received {"connection_id":171797,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0704d28a0012cfe7900072d8ad8000d011826..."} 
[2026-09-05 12:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0704d28a0012cfe7900072d8ad8000d011826..."} 
[2026-09-05 12:12:51] local.INFO: Processing buffer {"connection_id":171797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0704d28a0012cfe7900072d8ad8000d011826..."} 
[2026-09-05 12:12:51] local.INFO: Packet analysis {"connection_id":171797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0704d"} 
[2026-09-05 12:12:51] local.INFO: Extracted packet for processing {"connection_id":171797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0704d"} 
[2026-09-05 12:12:51] local.INFO: GPS Element Parsed {"raw_longitude":754874624,"raw_latitude":120425176,"longitude_deg":75.4874624,"latitude_deg":12.0425176,"altitude":13,"angle":280,"satellites":38,"speed":49,"hex_longitude":"2cfe7900","hex_latitude":"072d8ad8","is_valid_coordinates":true} 
[2026-09-05 12:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879165952001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17632421298044928,"note":"Value kept but may cause issues"} 
[2026-09-05 12:12:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-99290267206365184,"note":"Value kept but may cause issues"} 
[2026-09-05 12:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788590500000,"timestamp_ms":1788590500000,"timestamp_seconds":1788590500,"priority":1,"record_length":96,"hex_timestamp":"000001a0704d28a0"} 
[2026-09-05 12:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 12:12:51] 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-09-05 12:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879165952001,"66":13993,"185":206,"83":44288,"24":49,"16":17632421298044928,"44":-99290267206365184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,44]} 
[2026-09-05 12:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879165952001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:12:51] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-05 12:12:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17632421298044928,"km_value":17632421298044.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:12:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-99290267206365184,"description":"Unknown IO ID 44"} 
[2026-09-05 12:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879165952001,"power":13993,"unknown_185":206,"unknown_83":44288,"ignition":49,"odometer":null,"unknown_44":-99290267206365184}} 
[2026-09-05 12:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":171797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:12:51] local.INFO: GPS data processed {"connection_id":171797,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:12:51] local.INFO: Acknowledgment sent {"connection_id":171797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:13:05] local.INFO: TCP Data received {"connection_id":172888,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:13:05] local.INFO: Processing buffer {"connection_id":172888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:13:05] local.INFO: IMEI packet received {"connection_id":172888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":172888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:13:06] local.INFO: TCP Data received {"connection_id":172888,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:13:06] local.INFO: Processing buffer {"connection_id":172888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:13:06] local.INFO: IMEI packet received {"connection_id":172888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":172888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:13:14] local.INFO: TCP Data received {"connection_id":172888,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0704d3458012d603c40062cf8d0000a009c30..."} 
[2026-09-05 12:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0704d3458012d603c40062cf8d0000a009c30..."} 
[2026-09-05 12:13:14] local.INFO: Processing buffer {"connection_id":172888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0704d3458012d603c40062cf8d0000a009c30..."} 
[2026-09-05 12:13:14] local.INFO: Packet analysis {"connection_id":172888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0704d"} 
[2026-09-05 12:13:14] local.INFO: Extracted packet for processing {"connection_id":172888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0704d"} 
[2026-09-05 12:13:14] local.INFO: GPS Element Parsed {"raw_longitude":761281600,"raw_latitude":103610576,"longitude_deg":76.12816,"latitude_deg":10.3610576,"altitude":10,"angle":156,"satellites":48,"speed":50,"hex_longitude":"2d603c40","hex_latitude":"062cf8d0","is_valid_coordinates":true} 
[2026-09-05 12:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879166720001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399620705160790016,"note":"Value kept but may cause issues"} 
[2026-09-05 12:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6929913953143021568,"note":"Value kept but may cause issues"} 
[2026-09-05 12:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788590503000,"timestamp_ms":1788590503000,"timestamp_seconds":1788590503,"priority":1,"record_length":96,"hex_timestamp":"000001a0704d3458"} 
[2026-09-05 12:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 12:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":172888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":172888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":172888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:13:14] 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-09-05 12:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879166720001,"66":27876,"91":206,"79":20992,"24":50,"16":399620705160790016,"45":6929913953143021568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-09-05 12:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879166720001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:13:14] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-05 12:13:14] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399620705160790016,"km_value":399620705160790.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":6929913953143021568,"description":"Unknown IO ID 45"} 
[2026-09-05 12:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879166720001,"power":27876,"unknown_91":206,"unknown_79":20992,"ignition":50,"odometer":null,"unknown_45":6929913953143021568}} 
[2026-09-05 12:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":172888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:13:14] local.INFO: GPS data processed {"connection_id":172888,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:13:14] local.INFO: Acknowledgment sent {"connection_id":172888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:13:22] local.INFO: TCP Data received {"connection_id":171797,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0704e0360012cfd9bc0072d3a300010010921..."} 
[2026-09-05 12:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0704e0360012cfd9bc0072d3a300010010921..."} 
[2026-09-05 12:13:22] local.INFO: Processing buffer {"connection_id":171797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0704e0360012cfd9bc0072d3a300010010921..."} 
[2026-09-05 12:13:22] local.INFO: Packet analysis {"connection_id":171797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0704e"} 
[2026-09-05 12:13:22] local.INFO: Extracted packet for processing {"connection_id":171797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0704e"} 
[2026-09-05 12:13:22] local.INFO: GPS Element Parsed {"raw_longitude":754817984,"raw_latitude":120404528,"longitude_deg":75.4817984,"latitude_deg":12.0404528,"altitude":16,"angle":265,"satellites":33,"speed":31,"hex_longitude":"2cfd9bc0","hex_latitude":"072d3a30","is_valid_coordinates":true} 
[2026-09-05 12:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879182080001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17635505084563456,"note":"Value kept but may cause issues"} 
[2026-09-05 12:13:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-171488598737387520,"note":"Value kept but may cause issues"} 
[2026-09-05 12:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788590556000,"timestamp_ms":1788590556000,"timestamp_seconds":1788590556,"priority":1,"record_length":96,"hex_timestamp":"000001a0704e0360"} 
[2026-09-05 12:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 12:13:22] 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-09-05 12:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879182080001,"66":13939,"185":206,"83":44288,"24":31,"16":17635505084563456,"44":-171488598737387520},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,44]} 
[2026-09-05 12:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879182080001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:13:22] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-05 12:13:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17635505084563456,"km_value":17635505084563.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:13:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-171488598737387520,"description":"Unknown IO ID 44"} 
[2026-09-05 12:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879182080001,"power":13939,"unknown_185":206,"unknown_83":44288,"ignition":31,"odometer":null,"unknown_44":-171488598737387520}} 
[2026-09-05 12:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":171797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:13:22] local.INFO: GPS data processed {"connection_id":171797,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:13:22] local.INFO: Acknowledgment sent {"connection_id":171797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:13:37] local.INFO: TCP Data received {"connection_id":172888,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0704d4fb0012d604ac0062cd8880009009b30..."} 
[2026-09-05 12:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0704d4fb0012d604ac0062cd8880009009b30..."} 
[2026-09-05 12:13:37] local.INFO: Processing buffer {"connection_id":172888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0704d4fb0012d604ac0062cd8880009009b30..."} 
[2026-09-05 12:13:37] local.INFO: Packet analysis {"connection_id":172888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0704d"} 
[2026-09-05 12:13:37] local.INFO: Extracted packet for processing {"connection_id":172888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0704d"} 
[2026-09-05 12:13:37] local.INFO: GPS Element Parsed {"raw_longitude":761285312,"raw_latitude":103602312,"longitude_deg":76.1285312,"latitude_deg":10.3602312,"altitude":9,"angle":155,"satellites":48,"speed":51,"hex_longitude":"2d604ac0","hex_latitude":"062cd888","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879168768001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399621143247454208,"note":"Value kept but may cause issues"} 
[2026-09-05 12:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6934487921512206336,"note":"Value kept but may cause issues"} 
[2026-09-05 12:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788590510000,"timestamp_ms":1788590510000,"timestamp_seconds":1788590510,"priority":1,"record_length":96,"hex_timestamp":"000001a0704d4fb0"} 
[2026-09-05 12:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 12:13: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-09-05 12: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-09-05 12:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:13: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-09-05 12:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879168768001,"66":27908,"99":206,"79":20992,"24":51,"16":399621143247454208,"45":6934487921512206336},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,79,24,16,45]} 
[2026-09-05 12:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879168768001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:13:37] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-05 12:13:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399621143247454208,"km_value":399621143247454.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6934487921512206336,"description":"Unknown IO ID 45"} 
[2026-09-05 12:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879168768001,"power":27908,"unknown_99":206,"unknown_79":20992,"ignition":51,"odometer":null,"unknown_45":6934487921512206336}} 
[2026-09-05 12:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":172888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:13:37] local.INFO: GPS data processed {"connection_id":172888,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:13:37] local.INFO: Acknowledgment sent {"connection_id":172888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:13:44] local.INFO: TCP Data received {"connection_id":171798,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:13:44] local.INFO: Processing buffer {"connection_id":171798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:13:44] local.INFO: IMEI packet received {"connection_id":171798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":171798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:13:45] local.INFO: TCP Data received {"connection_id":171798,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:13:45] local.INFO: Processing buffer {"connection_id":171798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:13:45] local.INFO: IMEI packet received {"connection_id":171798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":171798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:13:55] local.INFO: TCP Data received {"connection_id":171798,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:13:55] local.INFO: Processing buffer {"connection_id":171798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:13:55] local.INFO: IMEI packet received {"connection_id":171798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":171798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:13:56] local.INFO: TCP Data received {"connection_id":171798,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0704e0b30012cfd9580072d3b500011011e22..."} 
[2026-09-05 12:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0704e0b30012cfd9580072d3b500011011e22..."} 
[2026-09-05 12:13:56] local.INFO: Processing buffer {"connection_id":171798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0704e0b30012cfd9580072d3b500011011e22..."} 
[2026-09-05 12:13:56] local.INFO: Packet analysis {"connection_id":171798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0704e"} 
[2026-09-05 12:13:56] local.INFO: Extracted packet for processing {"connection_id":171798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0704e"} 
[2026-09-05 12:13:56] local.INFO: GPS Element Parsed {"raw_longitude":754816384,"raw_latitude":120404816,"longitude_deg":75.4816384,"latitude_deg":12.0404816,"altitude":17,"angle":286,"satellites":34,"speed":31,"hex_longitude":"2cfd9580","hex_latitude":"072d3b50","is_valid_coordinates":true} 
[2026-09-05 12:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879182336001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17635582393974784,"note":"Value kept but may cause issues"} 
[2026-09-05 12:13:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-172333023667539968,"note":"Value kept but may cause issues"} 
[2026-09-05 12:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788590558000,"timestamp_ms":1788590558000,"timestamp_seconds":1788590558,"priority":1,"record_length":96,"hex_timestamp":"000001a0704e0b30"} 
[2026-09-05 12:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:13:56] 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-09-05 12:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-05 12:13:56] 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-09-05 12:13:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879182336001,"66":14070,"185":206,"83":44288,"24":31,"16":17635582393974784,"44":-172333023667539968},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,44]} 
[2026-09-05 12:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879182336001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:13:56] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-05 12:13:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17635582393974784,"km_value":17635582393974.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:13:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-172333023667539968,"description":"Unknown IO ID 44"} 
[2026-09-05 12:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879182336001,"power":14070,"unknown_185":206,"unknown_83":44288,"ignition":31,"odometer":null,"unknown_44":-172333023667539968}} 
[2026-09-05 12:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":171798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:13:56] local.INFO: GPS data processed {"connection_id":171798,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:13:56] local.INFO: Acknowledgment sent {"connection_id":171798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:13:56] local.INFO: TCP Data received {"connection_id":171800,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:13:56] local.INFO: Processing buffer {"connection_id":171800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:13:56] local.INFO: IMEI packet received {"connection_id":171800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":171800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:13:58] local.INFO: TCP Data received {"connection_id":171800,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:13:58] local.INFO: Processing buffer {"connection_id":171800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:13:58] local.INFO: IMEI packet received {"connection_id":171800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":171800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:13:59] local.INFO: TCP Data received {"connection_id":171800,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0704d6b08012d605900062cb8100009009c31..."} 
[2026-09-05 12:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0704d6b08012d605900062cb8100009009c31..."} 
[2026-09-05 12:13:59] local.INFO: Processing buffer {"connection_id":171800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0704d6b08012d605900062cb8100009009c31..."} 
[2026-09-05 12:13:59] local.INFO: Packet analysis {"connection_id":171800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0704d"} 
[2026-09-05 12:13:59] local.INFO: Extracted packet for processing {"connection_id":171800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0704d"} 
[2026-09-05 12:13:59] local.INFO: GPS Element Parsed {"raw_longitude":761288960,"raw_latitude":103594000,"longitude_deg":76.128896,"latitude_deg":10.3594,"altitude":9,"angle":156,"satellites":49,"speed":51,"hex_longitude":"2d605900","hex_latitude":"062cb810","is_valid_coordinates":true} 
[2026-09-05 12:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879170560001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399621585629085696,"note":"Value kept but may cause issues"} 
[2026-09-05 12:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6938569308672395264,"note":"Value kept but may cause issues"} 
[2026-09-05 12:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788590517000,"timestamp_ms":1788590517000,"timestamp_seconds":1788590517,"priority":1,"record_length":96,"hex_timestamp":"000001a0704d6b08"} 
[2026-09-05 12:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 12:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879170560001,"66":27908,"99":206,"79":20992,"24":51,"16":399621585629085696,"45":6938569308672395264},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,79,24,16,45]} 
[2026-09-05 12:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879170560001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:13:59] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-05 12:13:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399621585629085696,"km_value":399621585629085.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6938569308672395264,"description":"Unknown IO ID 45"} 
[2026-09-05 12:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879170560001,"power":27908,"unknown_99":206,"unknown_79":20992,"ignition":51,"odometer":null,"unknown_45":6938569308672395264}} 
[2026-09-05 12:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":171800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:13:59] local.INFO: GPS data processed {"connection_id":171800,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:13:59] local.INFO: Acknowledgment sent {"connection_id":171800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:14:29] local.INFO: TCP Data received {"connection_id":171798,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0704f1ca0012cfcf5c0072da968003001251f..."} 
[2026-09-05 12:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0704f1ca0012cfcf5c0072da968003001251f..."} 
[2026-09-05 12:14:29] local.INFO: Processing buffer {"connection_id":171798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0704f1ca0012cfcf5c0072da968003001251f..."} 
[2026-09-05 12:14:29] local.INFO: Packet analysis {"connection_id":171798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0704f"} 
[2026-09-05 12:14:29] local.INFO: Extracted packet for processing {"connection_id":171798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0704f"} 
[2026-09-05 12:14:29] local.INFO: GPS Element Parsed {"raw_longitude":754775488,"raw_latitude":120433000,"longitude_deg":75.4775488,"latitude_deg":12.0433,"altitude":48,"angle":293,"satellites":31,"speed":34,"hex_longitude":"2cfcf5c0","hex_latitude":"072da968","is_valid_coordinates":true} 
[2026-09-05 12:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879198720001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17638369827749888,"note":"Value kept but may cause issues"} 
[2026-09-05 12:14:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-212935789051836416,"note":"Value kept but may cause issues"} 
[2026-09-05 12:14:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788590628000,"timestamp_ms":1788590628000,"timestamp_seconds":1788590628,"priority":1,"record_length":96,"hex_timestamp":"000001a0704f1ca0"} 
[2026-09-05 12:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:14:29] 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-09-05 12:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 12:14: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-09-05 12:14:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":171798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":171798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":171798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:14:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879198720001,"66":14004,"61":206,"83":44288,"24":34,"16":17638369827749888,"44":-212935789051836416},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-09-05 12:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879198720001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:14:29] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-05 12:14:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17638369827749888,"km_value":17638369827749.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:14:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-212935789051836416,"description":"Unknown IO ID 44"} 
[2026-09-05 12:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879198720001,"power":14004,"unknown_61":206,"unknown_83":44288,"ignition":34,"odometer":null,"unknown_44":-212935789051836416}} 
[2026-09-05 12:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":171798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:14:29] local.INFO: GPS data processed {"connection_id":171798,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:14:29] local.INFO: Acknowledgment sent {"connection_id":171798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:14:30] local.INFO: TCP Data received {"connection_id":171800,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0704ee5f0012d6102c0062af958000a009330..."} 
[2026-09-05 12:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0704ee5f0012d6102c0062af958000a009330..."} 
[2026-09-05 12:14:30] local.INFO: Processing buffer {"connection_id":171800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0704ee5f0012d6102c0062af958000a009330..."} 
[2026-09-05 12:14:30] local.INFO: Packet analysis {"connection_id":171800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0704e"} 
[2026-09-05 12:14:30] local.INFO: Extracted packet for processing {"connection_id":171800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0704e"} 
[2026-09-05 12:14:30] local.INFO: GPS Element Parsed {"raw_longitude":761332416,"raw_latitude":103479640,"longitude_deg":76.1332416,"latitude_deg":10.347964,"altitude":10,"angle":147,"satellites":48,"speed":54,"hex_longitude":"2d6102c0","hex_latitude":"062af958","is_valid_coordinates":true} 
[2026-09-05 12:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879195392001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399627547043692544,"note":"Value kept but may cause issues"} 
[2026-09-05 12:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6984379361102723072,"note":"Value kept but may cause issues"} 
[2026-09-05 12:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788590614000,"timestamp_ms":1788590614000,"timestamp_seconds":1788590614,"priority":1,"record_length":96,"hex_timestamp":"000001a0704ee5f0"} 
[2026-09-05 12:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:14:30] 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-09-05 12:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 12:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":171800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":171800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":171800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879195392001,"66":27919,"91":206,"79":20992,"24":54,"16":399627547043692544,"45":6984379361102723072},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-09-05 12:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879195392001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:14:30] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-05 12:14:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399627547043692544,"km_value":399627547043692.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6984379361102723072,"description":"Unknown IO ID 45"} 
[2026-09-05 12:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879195392001,"power":27919,"unknown_91":206,"unknown_79":20992,"ignition":54,"odometer":null,"unknown_45":6984379361102723072}} 
[2026-09-05 12:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":171800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:14:30] local.INFO: GPS data processed {"connection_id":171800,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:14:30] local.INFO: Acknowledgment sent {"connection_id":171800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:14:45] local.INFO: TCP Data received {"connection_id":171496,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:14:45] local.INFO: Processing buffer {"connection_id":171496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:14:45] local.INFO: IMEI packet received {"connection_id":171496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":171496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:14:45] local.INFO: TCP Data received {"connection_id":171496,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:14:45] local.INFO: Processing buffer {"connection_id":171496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:14:45] local.INFO: IMEI packet received {"connection_id":171496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":171496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:14:50] local.INFO: TCP Data received {"connection_id":171496,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:14:50] local.INFO: Processing buffer {"connection_id":171496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:14:50] local.INFO: IMEI packet received {"connection_id":171496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":171496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:14:51] local.INFO: TCP Data received {"connection_id":171496,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0704f2088012cfcf280072daa500030011a1f..."} 
[2026-09-05 12:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0704f2088012cfcf280072daa500030011a1f..."} 
[2026-09-05 12:14:51] local.INFO: Processing buffer {"connection_id":171496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0704f2088012cfcf280072daa500030011a1f..."} 
[2026-09-05 12:14:51] local.INFO: Packet analysis {"connection_id":171496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0704f"} 
[2026-09-05 12:14:51] local.INFO: Extracted packet for processing {"connection_id":171496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0704f"} 
[2026-09-05 12:14:51] local.INFO: GPS Element Parsed {"raw_longitude":754774656,"raw_latitude":120433232,"longitude_deg":75.4774656,"latitude_deg":12.0433232,"altitude":48,"angle":282,"satellites":31,"speed":33,"hex_longitude":"2cfcf280","hex_latitude":"072daa50","is_valid_coordinates":true} 
[2026-09-05 12:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879200768001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17638408482455552,"note":"Value kept but may cause issues"} 
[2026-09-05 12:14:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-219057869794220032,"note":"Value kept but may cause issues"} 
[2026-09-05 12:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788590629000,"timestamp_ms":1788590629000,"timestamp_seconds":1788590629,"priority":1,"record_length":96,"hex_timestamp":"000001a0704f2088"} 
[2026-09-05 12:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-05 12:14:51] 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-09-05 12:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879200768001,"66":14004,"61":206,"83":44288,"24":33,"16":17638408482455552,"44":-219057869794220032},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-09-05 12:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879200768001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:14:51] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-05 12:14:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17638408482455552,"km_value":17638408482455.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:14:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-219057869794220032,"description":"Unknown IO ID 44"} 
[2026-09-05 12:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879200768001,"power":14004,"unknown_61":206,"unknown_83":44288,"ignition":33,"odometer":null,"unknown_44":-219057869794220032}} 
[2026-09-05 12:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":171496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:14:51] local.INFO: GPS data processed {"connection_id":171496,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:14:51] local.INFO: Acknowledgment sent {"connection_id":171496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:14:56] local.INFO: TCP Data received {"connection_id":174201,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:14:56] local.INFO: Processing buffer {"connection_id":174201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:14:56] local.INFO: IMEI packet received {"connection_id":174201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":174201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:15:01] local.INFO: TCP Data received {"connection_id":174201,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:15:01] local.INFO: Processing buffer {"connection_id":174201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:15:01] local.INFO: IMEI packet received {"connection_id":174201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":174201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:15:02] local.INFO: TCP Data received {"connection_id":174201,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0704f0148012d6116c0062ada98000b00952f..."} 
[2026-09-05 12:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0704f0148012d6116c0062ada98000b00952f..."} 
[2026-09-05 12:15:02] local.INFO: Processing buffer {"connection_id":174201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0704f0148012d6116c0062ada98000b00952f..."} 
[2026-09-05 12:15:02] local.INFO: Packet analysis {"connection_id":174201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0704f"} 
[2026-09-05 12:15:02] local.INFO: Extracted packet for processing {"connection_id":174201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0704f"} 
[2026-09-05 12:15:02] local.INFO: GPS Element Parsed {"raw_longitude":761337536,"raw_latitude":103471768,"longitude_deg":76.1337536,"latitude_deg":10.3471768,"altitude":11,"angle":149,"satellites":47,"speed":51,"hex_longitude":"2d6116c0","hex_latitude":"062ada98","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879197184001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399628002310225920,"note":"Value kept but may cause issues"} 
[2026-09-05 12:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6990360704355751936,"note":"Value kept but may cause issues"} 
[2026-09-05 12:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788590621000,"timestamp_ms":1788590621000,"timestamp_seconds":1788590621,"priority":1,"record_length":96,"hex_timestamp":"000001a0704f0148"} 
[2026-09-05 12:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:15: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-09-05 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 12:15: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-09-05 12: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-09-05 12:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879197184001,"66":27995,"90":206,"79":20992,"24":51,"16":399628002310225920,"45":6990360704355751936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,79,24,16,45]} 
[2026-09-05 12:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879197184001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:15:02] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-05 12:15:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399628002310225920,"km_value":399628002310225.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6990360704355751936,"description":"Unknown IO ID 45"} 
[2026-09-05 12:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879197184001,"power":27995,"unknown_90":206,"unknown_79":20992,"ignition":51,"odometer":null,"unknown_45":6990360704355751936}} 
[2026-09-05 12:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":174201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:15:02] local.INFO: GPS data processed {"connection_id":174201,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:15:02] local.INFO: Acknowledgment sent {"connection_id":174201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:15:25] local.INFO: TCP Data received {"connection_id":171496,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0704fc498012cfc8180072dd210003f014526..."} 
[2026-09-05 12:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0704fc498012cfc8180072dd210003f014526..."} 
[2026-09-05 12:15:25] local.INFO: Processing buffer {"connection_id":171496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0704fc498012cfc8180072dd210003f014526..."} 
[2026-09-05 12:15:25] local.INFO: Packet analysis {"connection_id":171496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0704f"} 
[2026-09-05 12:15:25] local.INFO: Extracted packet for processing {"connection_id":171496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0704f"} 
[2026-09-05 12:15:25] local.INFO: GPS Element Parsed {"raw_longitude":754745728,"raw_latitude":120443408,"longitude_deg":75.4745728,"latitude_deg":12.0443408,"altitude":63,"angle":325,"satellites":38,"speed":36,"hex_longitude":"2cfc8180","hex_latitude":"072dd210","is_valid_coordinates":true} 
[2026-09-05 12:15: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-09-05 12:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879210496001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17640027685126144,"note":"Value kept but may cause issues"} 
[2026-09-05 12:15:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-248542373602893824,"note":"Value kept but may cause issues"} 
[2026-09-05 12:15:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788590671000,"timestamp_ms":1788590671000,"timestamp_seconds":1788590671,"priority":1,"record_length":96,"hex_timestamp":"000001a0704fc498"} 
[2026-09-05 12:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:15:25] 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-09-05 12:15: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-05 12:15:25] 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-09-05 12:15: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-09-05 12:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:15:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879210496001,"66":13993,"61":206,"83":44288,"24":36,"16":17640027685126144,"44":-248542373602893824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-09-05 12:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879210496001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:15:25] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-05 12:15:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17640027685126144,"km_value":17640027685126.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:15:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-248542373602893824,"description":"Unknown IO ID 44"} 
[2026-09-05 12:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879210496001,"power":13993,"unknown_61":206,"unknown_83":44288,"ignition":36,"odometer":null,"unknown_44":-248542373602893824}} 
[2026-09-05 12:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":171496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:15:25] local.INFO: GPS data processed {"connection_id":171496,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:15:25] local.INFO: Acknowledgment sent {"connection_id":171496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:15:33] local.INFO: TCP Data received {"connection_id":174201,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0704f1ca0012d612840062abb60000a00982e..."} 
[2026-09-05 12:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0704f1ca0012d612840062abb60000a00982e..."} 
[2026-09-05 12:15:33] local.INFO: Processing buffer {"connection_id":174201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0704f1ca0012d612840062abb60000a00982e..."} 
[2026-09-05 12:15:33] local.INFO: Packet analysis {"connection_id":174201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0704f"} 
[2026-09-05 12:15:33] local.INFO: Extracted packet for processing {"connection_id":174201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0704f"} 
[2026-09-05 12:15:33] local.INFO: GPS Element Parsed {"raw_longitude":761342016,"raw_latitude":103463776,"longitude_deg":76.1342016,"latitude_deg":10.3463776,"altitude":10,"angle":152,"satellites":46,"speed":51,"hex_longitude":"2d612840","hex_latitude":"062abb60","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879198976001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399628444691857408,"note":"Value kept but may cause issues"} 
[2026-09-05 12:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6995990203887949824,"note":"Value kept but may cause issues"} 
[2026-09-05 12:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788590628000,"timestamp_ms":1788590628000,"timestamp_seconds":1788590628,"priority":1,"record_length":96,"hex_timestamp":"000001a0704f1ca0"} 
[2026-09-05 12:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:15: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-09-05 12: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 12:15:33] 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-09-05 12: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-09-05 12:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879198976001,"66":27974,"90":206,"79":20992,"24":51,"16":399628444691857408,"45":6995990203887949824},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,79,24,16,45]} 
[2026-09-05 12:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879198976001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:15:33] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-05 12:15:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399628444691857408,"km_value":399628444691857.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6995990203887949824,"description":"Unknown IO ID 45"} 
[2026-09-05 12:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879198976001,"power":27974,"unknown_90":206,"unknown_79":20992,"ignition":51,"odometer":null,"unknown_45":6995990203887949824}} 
[2026-09-05 12:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":174201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:15:33] local.INFO: GPS data processed {"connection_id":174201,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:15:33] local.INFO: Acknowledgment sent {"connection_id":174201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:15:53] local.INFO: TCP Data received {"connection_id":174202,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:15:53] local.INFO: Processing buffer {"connection_id":174202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:15:53] local.INFO: IMEI packet received {"connection_id":174202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":174202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:15:55] local.INFO: TCP Data received {"connection_id":174202,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:15:55] local.INFO: Processing buffer {"connection_id":174202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:15:55] local.INFO: IMEI packet received {"connection_id":174202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":174202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:16:00] local.INFO: TCP Data received {"connection_id":174202,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:16:00] local.INFO: Processing buffer {"connection_id":174202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:16:00] local.INFO: IMEI packet received {"connection_id":174202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":174202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:16:01] local.INFO: TCP Data received {"connection_id":171497,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:16:01] local.INFO: Processing buffer {"connection_id":171497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:16:01] local.INFO: IMEI packet received {"connection_id":171497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":171497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:16:02] local.INFO: TCP Data received {"connection_id":174202,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0705031f8012cfc6bc0072dca18003800d324..."} 
[2026-09-05 12:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0705031f8012cfc6bc0072dca18003800d324..."} 
[2026-09-05 12:16:02] local.INFO: Processing buffer {"connection_id":174202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0705031f8012cfc6bc0072dca18003800d324..."} 
[2026-09-05 12:16:02] local.INFO: Packet analysis {"connection_id":174202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07050"} 
[2026-09-05 12:16:02] local.INFO: Extracted packet for processing {"connection_id":174202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07050"} 
[2026-09-05 12:16:02] local.INFO: GPS Element Parsed {"raw_longitude":754740160,"raw_latitude":120441368,"longitude_deg":75.474016,"latitude_deg":12.0441368,"altitude":56,"angle":211,"satellites":36,"speed":25,"hex_longitude":"2cfc6bc0","hex_latitude":"072dca18","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879218688001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17641204506165248,"note":"Value kept but may cause issues"} 
[2026-09-05 12:16:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-257619941601286144,"note":"Value kept but may cause issues"} 
[2026-09-05 12:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788590699000,"timestamp_ms":1788590699000,"timestamp_seconds":1788590699,"priority":1,"record_length":96,"hex_timestamp":"000001a0705031f8"} 
[2026-09-05 12:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:16: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-09-05 12: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-05 12:16:02] 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-09-05 12: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-09-05 12:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879218688001,"66":12982,"63":206,"83":44288,"24":25,"16":17641204506165248,"44":-257619941601286144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,83,24,16,44]} 
[2026-09-05 12:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879218688001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:16:02] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-05 12:16:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 12:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17641204506165248,"km_value":17641204506165.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:16:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-257619941601286144,"description":"Unknown IO ID 44"} 
[2026-09-05 12:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879218688001,"power":12982,"unknown_63":206,"unknown_83":44288,"ignition":25,"odometer":null,"unknown_44":-257619941601286144}} 
[2026-09-05 12:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":174202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:16:02] local.INFO: GPS data processed {"connection_id":174202,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:16:02] local.INFO: Acknowledgment sent {"connection_id":174202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:16:03] local.INFO: TCP Data received {"connection_id":171497,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:16:03] local.INFO: Processing buffer {"connection_id":171497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:16:03] local.INFO: IMEI packet received {"connection_id":171497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":171497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:16:04] local.INFO: TCP Data received {"connection_id":171497,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a070505908012d61ca4006294948000b009d31..."} 
[2026-09-05 12:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070505908012d61ca4006294948000b009d31..."} 
[2026-09-05 12:16:04] local.INFO: Processing buffer {"connection_id":171497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070505908012d61ca4006294948000b009d31..."} 
[2026-09-05 12:16:04] local.INFO: Packet analysis {"connection_id":171497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07050"} 
[2026-09-05 12:16:04] local.INFO: Extracted packet for processing {"connection_id":171497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07050"} 
[2026-09-05 12:16:04] local.INFO: GPS Element Parsed {"raw_longitude":761383488,"raw_latitude":103369032,"longitude_deg":76.1383488,"latitude_deg":10.3369032,"altitude":11,"angle":157,"satellites":49,"speed":47,"hex_longitude":"2d61ca40","hex_latitude":"06294948","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879219456001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399633456918691840,"note":"Value kept but may cause issues"} 
[2026-09-05 12:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7042855787486343168,"note":"Value kept but may cause issues"} 
[2026-09-05 12:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788590709000,"timestamp_ms":1788590709000,"timestamp_seconds":1788590709,"priority":1,"record_length":96,"hex_timestamp":"000001a070505908"} 
[2026-09-05 12:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:16: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-09-05 12: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 12:16:04] 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-09-05 12: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-09-05 12:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:16: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-09-05 12:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879219456001,"66":27908,"229":206,"79":20992,"24":47,"16":399633456918691840,"45":7042855787486343168},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-09-05 12:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879219456001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:16:04] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 12:16:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399633456918691840,"km_value":399633456918691.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7042855787486343168,"description":"Unknown IO ID 45"} 
[2026-09-05 12:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879219456001,"power":27908,"unknown_229":206,"unknown_79":20992,"ignition":47,"odometer":null,"unknown_45":7042855787486343168}} 
[2026-09-05 12:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":171497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:16:04] local.INFO: GPS data processed {"connection_id":171497,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:16:04] local.INFO: Acknowledgment sent {"connection_id":171497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:16:07] local.INFO: TCP Data received {"connection_id":171497,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a070507848012d61d980062926a8000c009a31..."} 
[2026-09-05 12:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070507848012d61d980062926a8000c009a31..."} 
[2026-09-05 12:16:07] local.INFO: Processing buffer {"connection_id":171497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070507848012d61d980062926a8000c009a31..."} 
[2026-09-05 12:16:07] local.INFO: Packet analysis {"connection_id":171497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07050"} 
[2026-09-05 12:16:07] local.INFO: Extracted packet for processing {"connection_id":171497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07050"} 
[2026-09-05 12:16:07] local.INFO: GPS Element Parsed {"raw_longitude":761387392,"raw_latitude":103360168,"longitude_deg":76.1387392,"latitude_deg":10.3360168,"altitude":12,"angle":154,"satellites":49,"speed":47,"hex_longitude":"2d61d980","hex_latitude":"062926a8","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879221504001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399633925070127104,"note":"Value kept but may cause issues"} 
[2026-09-05 12:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7046514962181212160,"note":"Value kept but may cause issues"} 
[2026-09-05 12:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788590717000,"timestamp_ms":1788590717000,"timestamp_seconds":1788590717,"priority":1,"record_length":96,"hex_timestamp":"000001a070507848"} 
[2026-09-05 12:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:16:07] 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-09-05 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 12:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12: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-09-05 12:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:16: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-09-05 12:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879221504001,"66":27745,"229":206,"79":20992,"24":47,"16":399633925070127104,"45":7046514962181212160},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-09-05 12:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879221504001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:16:07] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 12:16:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399633925070127104,"km_value":399633925070127.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":7046514962181212160,"description":"Unknown IO ID 45"} 
[2026-09-05 12:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879221504001,"power":27745,"unknown_229":206,"unknown_79":20992,"ignition":47,"odometer":null,"unknown_45":7046514962181212160}} 
[2026-09-05 12:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":171497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:16:07] local.INFO: GPS data processed {"connection_id":171497,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:16:07] local.INFO: Acknowledgment sent {"connection_id":171497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:16:55] local.INFO: TCP Data received {"connection_id":171802,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:16:55] local.INFO: Processing buffer {"connection_id":171802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:16:55] local.INFO: IMEI packet received {"connection_id":171802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":171802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:16:56] local.INFO: TCP Data received {"connection_id":171802,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:16:56] local.INFO: Processing buffer {"connection_id":171802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:16:56] local.INFO: IMEI packet received {"connection_id":171802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":171802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:16:56] local.INFO: TCP Data received {"connection_id":172889,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:16:56] local.INFO: Processing buffer {"connection_id":172889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:16:56] local.INFO: IMEI packet received {"connection_id":172889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":172889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:17:00] local.INFO: TCP Data received {"connection_id":171802,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:17:00] local.INFO: Processing buffer {"connection_id":171802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:17:00] local.INFO: IMEI packet received {"connection_id":171802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":171802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:17:01] local.INFO: TCP Data received {"connection_id":171802,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07050e1c0012cfbb780072dd580001f00fb22..."} 
[2026-09-05 12:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07050e1c0012cfbb780072dd580001f00fb22..."} 
[2026-09-05 12:17:01] local.INFO: Processing buffer {"connection_id":171802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07050e1c0012cfbb780072dd580001f00fb22..."} 
[2026-09-05 12:17:01] local.INFO: Packet analysis {"connection_id":171802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07050"} 
[2026-09-05 12:17:01] local.INFO: Extracted packet for processing {"connection_id":171802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07050"} 
[2026-09-05 12:17:01] local.INFO: GPS Element Parsed {"raw_longitude":754694016,"raw_latitude":120444288,"longitude_deg":75.4694016,"latitude_deg":12.0444288,"altitude":31,"angle":251,"satellites":34,"speed":43,"hex_longitude":"2cfbb780","hex_latitude":"072dd580","is_valid_coordinates":true} 
[2026-09-05 12:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879229440001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17643571033145344,"note":"Value kept but may cause issues"} 
[2026-09-05 12:17:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-304204050245707776,"note":"Value kept but may cause issues"} 
[2026-09-05 12:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788590744000,"timestamp_ms":1788590744000,"timestamp_seconds":1788590744,"priority":1,"record_length":96,"hex_timestamp":"000001a07050e1c0"} 
[2026-09-05 12:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 12:17:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:17:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879229440001,"66":14428,"64":206,"83":43776,"24":43,"16":17643571033145344,"44":-304204050245707776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,83,24,16,44]} 
[2026-09-05 12:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879229440001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:17:01] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-05 12:17:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-09-05 12:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17643571033145344,"km_value":17643571033145.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:17:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-304204050245707776,"description":"Unknown IO ID 44"} 
[2026-09-05 12:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879229440001,"power":14428,"unknown_64":206,"unknown_83":43776,"ignition":43,"odometer":null,"unknown_44":-304204050245707776}} 
[2026-09-05 12:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":171802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:17:01] local.INFO: GPS data processed {"connection_id":171802,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:17:01] local.INFO: Acknowledgment sent {"connection_id":171802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:17:01] local.INFO: TCP Data received {"connection_id":172889,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:17:01] local.INFO: Processing buffer {"connection_id":172889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:17:01] local.INFO: IMEI packet received {"connection_id":172889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":172889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:17:03] local.INFO: TCP Data received {"connection_id":172889,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a070509788012d61e9c006290658000d009931..."} 
[2026-09-05 12:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070509788012d61e9c006290658000d009931..."} 
[2026-09-05 12:17:03] local.INFO: Processing buffer {"connection_id":172889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070509788012d61e9c006290658000d009931..."} 
[2026-09-05 12:17:03] local.INFO: Packet analysis {"connection_id":172889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07050"} 
[2026-09-05 12:17:03] local.INFO: Extracted packet for processing {"connection_id":172889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07050"} 
[2026-09-05 12:17:03] local.INFO: GPS Element Parsed {"raw_longitude":761391552,"raw_latitude":103351896,"longitude_deg":76.1391552,"latitude_deg":10.3351896,"altitude":13,"angle":153,"satellites":49,"speed":42,"hex_longitude":"2d61e9c0","hex_latitude":"06290658","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879223552001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399634371746725888,"note":"Value kept but may cause issues"} 
[2026-09-05 12:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7050807455573780480,"note":"Value kept but may cause issues"} 
[2026-09-05 12:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788590725000,"timestamp_ms":1788590725000,"timestamp_seconds":1788590725,"priority":1,"record_length":96,"hex_timestamp":"000001a070509788"} 
[2026-09-05 12:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:17: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-09-05 12:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 12:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12: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-09-05 12:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:17: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-09-05 12:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879223552001,"66":26941,"229":206,"79":20992,"24":42,"16":399634371746725888,"45":7050807455573780480},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-09-05 12:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879223552001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:17:03] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 12:17:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399634371746725888,"km_value":399634371746725.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7050807455573780480,"description":"Unknown IO ID 45"} 
[2026-09-05 12:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879223552001,"power":26941,"unknown_229":206,"unknown_79":20992,"ignition":42,"odometer":null,"unknown_45":7050807455573780480}} 
[2026-09-05 12:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":172889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:17:03] local.INFO: GPS data processed {"connection_id":172889,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:17:03] local.INFO: Acknowledgment sent {"connection_id":172889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:17:04] local.INFO: TCP Data received {"connection_id":172889,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07050bab0012d61fa400628e690000c009931..."} 
[2026-09-05 12:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07050bab0012d61fa400628e690000c009931..."} 
[2026-09-05 12:17:04] local.INFO: Processing buffer {"connection_id":172889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07050bab0012d61fa400628e690000c009931..."} 
[2026-09-05 12:17:04] local.INFO: Packet analysis {"connection_id":172889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07050"} 
[2026-09-05 12:17:04] local.INFO: Extracted packet for processing {"connection_id":172889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07050"} 
[2026-09-05 12:17:04] local.INFO: GPS Element Parsed {"raw_longitude":761395776,"raw_latitude":103343760,"longitude_deg":76.1395776,"latitude_deg":10.334376,"altitude":12,"angle":153,"satellites":49,"speed":41,"hex_longitude":"2d61fa40","hex_latitude":"0628e690","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879225600001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399634814128357376,"note":"Value kept but may cause issues"} 
[2026-09-05 12:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7055381423943211008,"note":"Value kept but may cause issues"} 
[2026-09-05 12:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788590734000,"timestamp_ms":1788590734000,"timestamp_seconds":1788590734,"priority":1,"record_length":96,"hex_timestamp":"000001a07050bab0"} 
[2026-09-05 12:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:17: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-09-05 12: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":61,"data_length":795,"current_offset":136} 
[2026-09-05 12:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1272,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12: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-09-05 12:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:17: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-09-05 12:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879225600001,"66":28028,"229":206,"79":20992,"24":41,"16":399634814128357376,"45":7055381423943211008},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-09-05 12:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879225600001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:17:04] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 12:17:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399634814128357376,"km_value":399634814128357.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7055381423943211008,"description":"Unknown IO ID 45"} 
[2026-09-05 12:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879225600001,"power":28028,"unknown_229":206,"unknown_79":20992,"ignition":41,"odometer":null,"unknown_45":7055381423943211008}} 
[2026-09-05 12:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":172889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:17:04] local.INFO: GPS data processed {"connection_id":172889,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:17:04] local.INFO: Acknowledgment sent {"connection_id":172889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:17:36] local.INFO: TCP Data received {"connection_id":172889,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07050ddd8012d620c000628c450000b009830..."} 
[2026-09-05 12:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07050ddd8012d620c000628c450000b009830..."} 
[2026-09-05 12:17:36] local.INFO: Processing buffer {"connection_id":172889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07050ddd8012d620c000628c450000b009830..."} 
[2026-09-05 12:17:36] local.INFO: Packet analysis {"connection_id":172889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07050"} 
[2026-09-05 12:17:36] local.INFO: Extracted packet for processing {"connection_id":172889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07050"} 
[2026-09-05 12:17:36] local.INFO: GPS Element Parsed {"raw_longitude":761400320,"raw_latitude":103334992,"longitude_deg":76.140032,"latitude_deg":10.3334992,"altitude":11,"angle":152,"satellites":48,"speed":44,"hex_longitude":"2d620c00","hex_latitude":"0628c450","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879227904001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399635290869727232,"note":"Value kept but may cause issues"} 
[2026-09-05 12:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7060025761056854016,"note":"Value kept but may cause issues"} 
[2026-09-05 12:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788590743000,"timestamp_ms":1788590743000,"timestamp_seconds":1788590743,"priority":1,"record_length":96,"hex_timestamp":"000001a07050ddd8"} 
[2026-09-05 12:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:17: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-09-05 12: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-05 12:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12: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-09-05 12:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:17: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-09-05 12:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879227904001,"66":27908,"229":206,"79":20992,"24":44,"16":399635290869727232,"45":7060025761056854016},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-09-05 12:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879227904001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:17:36] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 12:17:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399635290869727232,"km_value":399635290869727.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":7060025761056854016,"description":"Unknown IO ID 45"} 
[2026-09-05 12:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879227904001,"power":27908,"unknown_229":206,"unknown_79":20992,"ignition":44,"odometer":null,"unknown_45":7060025761056854016}} 
[2026-09-05 12:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":172889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:17:36] local.INFO: GPS data processed {"connection_id":172889,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:17:36] local.INFO: Acknowledgment sent {"connection_id":172889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:17:46] local.INFO: TCP Data received {"connection_id":171498,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:17:46] local.INFO: Processing buffer {"connection_id":171498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:17:46] local.INFO: IMEI packet received {"connection_id":171498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":171498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:17:48] local.INFO: TCP Data received {"connection_id":171498,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:17:48] local.INFO: Processing buffer {"connection_id":171498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:17:48] local.INFO: IMEI packet received {"connection_id":171498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":171498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:17:50] local.INFO: TCP Data received {"connection_id":171498,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:17:50] local.INFO: Processing buffer {"connection_id":171498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:17:50] local.INFO: IMEI packet received {"connection_id":171498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":171498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:17:51] local.INFO: TCP Data received {"connection_id":171499,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171499,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:17:51] local.INFO: Processing buffer {"connection_id":171499,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:17:51] local.INFO: IMEI packet received {"connection_id":171499,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 12:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":171499,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:17:53] local.INFO: TCP Data received {"connection_id":171499,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171499,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:17:53] local.INFO: Processing buffer {"connection_id":171499,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:17:53] local.INFO: IMEI packet received {"connection_id":171499,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 12:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":171499,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:17:54] local.INFO: TCP Data received {"connection_id":171499,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171499,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:17:54] local.INFO: Processing buffer {"connection_id":171499,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:17:54] local.INFO: IMEI packet received {"connection_id":171499,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 12:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":171499,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:17:56] local.INFO: TCP Data received {"connection_id":171498,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:17:56] local.INFO: Processing buffer {"connection_id":171498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:17:56] local.INFO: IMEI packet received {"connection_id":171498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":171498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:17:57] local.INFO: TCP Data received {"connection_id":171498,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07051d008012cfac740072e1480000d012a21..."} 
[2026-09-05 12:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07051d008012cfac740072e1480000d012a21..."} 
[2026-09-05 12:17:57] local.INFO: Processing buffer {"connection_id":171498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07051d008012cfac740072e1480000d012a21..."} 
[2026-09-05 12:17:57] local.INFO: Packet analysis {"connection_id":171498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07051"} 
[2026-09-05 12:17:57] local.INFO: Extracted packet for processing {"connection_id":171498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07051"} 
[2026-09-05 12:17:57] local.INFO: GPS Element Parsed {"raw_longitude":754632512,"raw_latitude":120460416,"longitude_deg":75.4632512,"latitude_deg":12.0460416,"altitude":13,"angle":298,"satellites":33,"speed":48,"hex_longitude":"2cfac740","hex_latitude":"072e1480","is_valid_coordinates":true} 
[2026-09-05 12:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879244032001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17646693474369536,"note":"Value kept but may cause issues"} 
[2026-09-05 12:17:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-366550757584703488,"note":"Value kept but may cause issues"} 
[2026-09-05 12:17:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788590805000,"timestamp_ms":1788590805000,"timestamp_seconds":1788590805,"priority":1,"record_length":96,"hex_timestamp":"000001a07051d008"} 
[2026-09-05 12:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 12:17:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:17:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":171498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":171498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":171498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879244032001,"66":14396,"64":206,"83":43776,"24":48,"16":17646693474369536,"44":-366550757584703488},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,83,24,16,44]} 
[2026-09-05 12:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879244032001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:17:57] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-05 12:17:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-09-05 12:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17646693474369536,"km_value":17646693474369.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:17:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-366550757584703488,"description":"Unknown IO ID 44"} 
[2026-09-05 12:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879244032001,"power":14396,"unknown_64":206,"unknown_83":43776,"ignition":48,"odometer":null,"unknown_44":-366550757584703488}} 
[2026-09-05 12:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":171498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:17:57] local.INFO: GPS data processed {"connection_id":171498,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:17:57] local.INFO: Acknowledgment sent {"connection_id":171498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:17:58] local.INFO: TCP Data received {"connection_id":174204,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:17:58] local.INFO: Processing buffer {"connection_id":174204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:17:58] local.INFO: IMEI packet received {"connection_id":174204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":174204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:18:03] local.INFO: TCP Data received {"connection_id":174204,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:18:03] local.INFO: Processing buffer {"connection_id":174204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:18:03] local.INFO: IMEI packet received {"connection_id":174204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":174204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:18:04] local.INFO: TCP Data received {"connection_id":174204,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a070510100012d621c800628a2600009009a31..."} 
[2026-09-05 12:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070510100012d621c800628a2600009009a31..."} 
[2026-09-05 12:18:04] local.INFO: Processing buffer {"connection_id":174204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070510100012d621c800628a2600009009a31..."} 
[2026-09-05 12:18:04] local.INFO: Packet analysis {"connection_id":174204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07051"} 
[2026-09-05 12:18:04] local.INFO: Extracted packet for processing {"connection_id":174204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07051"} 
[2026-09-05 12:18:04] local.INFO: GPS Element Parsed {"raw_longitude":761404544,"raw_latitude":103326304,"longitude_deg":76.1404544,"latitude_deg":10.3326304,"altitude":9,"angle":154,"satellites":49,"speed":40,"hex_longitude":"2d621c80","hex_latitude":"0628a260","is_valid_coordinates":true} 
[2026-09-05 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-09-05 12:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879230208001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399635759021162496,"note":"Value kept but may cause issues"} 
[2026-09-05 12:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7065021941891223552,"note":"Value kept but may cause issues"} 
[2026-09-05 12:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788590752000,"timestamp_ms":1788590752000,"timestamp_seconds":1788590752,"priority":1,"record_length":96,"hex_timestamp":"000001a070510100"} 
[2026-09-05 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-09-05 12:18: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-09-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 12:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 12:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:18: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-09-05 12:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879230208001,"66":27865,"229":206,"79":20992,"24":40,"16":399635759021162496,"45":7065021941891223552},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-09-05 12:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879230208001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:18:04] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 12:18:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399635759021162496,"km_value":399635759021162.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7065021941891223552,"description":"Unknown IO ID 45"} 
[2026-09-05 12:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879230208001,"power":27865,"unknown_229":206,"unknown_79":20992,"ignition":40,"odometer":null,"unknown_45":7065021941891223552}} 
[2026-09-05 12:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":174204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:18:04] local.INFO: GPS data processed {"connection_id":174204,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:18:04] local.INFO: Acknowledgment sent {"connection_id":174204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:18:27] local.INFO: TCP Data received {"connection_id":172891,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:18:27] local.INFO: Processing buffer {"connection_id":172891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:18:27] local.INFO: IMEI packet received {"connection_id":172891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 12:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":172891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:18:28] local.INFO: TCP Data received {"connection_id":171498,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07052a2f8012cfa2880072dd3b8001d00ff24..."} 
[2026-09-05 12:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07052a2f8012cfa2880072dd3b8001d00ff24..."} 
[2026-09-05 12:18:28] local.INFO: Processing buffer {"connection_id":171498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07052a2f8012cfa2880072dd3b8001d00ff24..."} 
[2026-09-05 12:18:28] local.INFO: Packet analysis {"connection_id":171498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07052"} 
[2026-09-05 12:18:28] local.INFO: Extracted packet for processing {"connection_id":171498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07052"} 
[2026-09-05 12:18:28] local.INFO: GPS Element Parsed {"raw_longitude":754591872,"raw_latitude":120443832,"longitude_deg":75.4591872,"latitude_deg":12.0443832,"altitude":29,"angle":255,"satellites":36,"speed":40,"hex_longitude":"2cfa2880","hex_latitude":"072dd3b8","is_valid_coordinates":true} 
[2026-09-05 12:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879259392001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17649510972915712,"note":"Value kept but may cause issues"} 
[2026-09-05 12:18:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-418764365767514112,"note":"Value kept but may cause issues"} 
[2026-09-05 12:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788590859000,"timestamp_ms":1788590859000,"timestamp_seconds":1788590859,"priority":1,"record_length":96,"hex_timestamp":"000001a07052a2f8"} 
[2026-09-05 12:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-05 12:18:28] 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-09-05 12:18:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":171498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":171498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":171498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879259392001,"66":13928,"77":206,"83":43776,"24":40,"16":17649510972915712,"44":-418764365767514112},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,83,24,16,44]} 
[2026-09-05 12:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879259392001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:18:28] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-05 12:18:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-09-05 12:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17649510972915712,"km_value":17649510972915.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:18:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-418764365767514112,"description":"Unknown IO ID 44"} 
[2026-09-05 12:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879259392001,"power":13928,"unknown_77":206,"unknown_83":43776,"ignition":40,"odometer":null,"unknown_44":-418764365767514112}} 
[2026-09-05 12:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":171498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:18:28] local.INFO: GPS data processed {"connection_id":171498,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:18:28] local.INFO: Acknowledgment sent {"connection_id":171498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:18:35] local.INFO: TCP Data received {"connection_id":174204,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a070512bf8012d622c80062883300008009631..."} 
[2026-09-05 12:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070512bf8012d622c80062883300008009631..."} 
[2026-09-05 12:18:35] local.INFO: Processing buffer {"connection_id":174204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070512bf8012d622c80062883300008009631..."} 
[2026-09-05 12:18:35] local.INFO: Packet analysis {"connection_id":174204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07051"} 
[2026-09-05 12:18:35] local.INFO: Extracted packet for processing {"connection_id":174204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07051"} 
[2026-09-05 12:18:35] local.INFO: GPS Element Parsed {"raw_longitude":761408640,"raw_latitude":103318320,"longitude_deg":76.140864,"latitude_deg":10.331832,"altitude":8,"angle":150,"satellites":49,"speed":14,"hex_longitude":"2d622c80","hex_latitude":"06288330","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879232512001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399636192812859392,"note":"Value kept but may cause issues"} 
[2026-09-05 12:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7069666279004725248,"note":"Value kept but may cause issues"} 
[2026-09-05 12:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788590763000,"timestamp_ms":1788590763000,"timestamp_seconds":1788590763,"priority":1,"record_length":96,"hex_timestamp":"000001a070512bf8"} 
[2026-09-05 12:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:18: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-09-05 12:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 12:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12: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-09-05 12:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879232512001,"66":27908,"229":206,"79":20992,"24":14,"16":399636192812859392,"45":7069666279004725248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-09-05 12:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879232512001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:18:35] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 12:18:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399636192812859392,"km_value":399636192812859.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7069666279004725248,"description":"Unknown IO ID 45"} 
[2026-09-05 12:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879232512001,"power":27908,"unknown_229":206,"unknown_79":20992,"ignition":14,"odometer":null,"unknown_45":7069666279004725248}} 
[2026-09-05 12:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":174204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:18:35] local.INFO: GPS data processed {"connection_id":174204,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:18:35] local.INFO: Acknowledgment sent {"connection_id":174204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:18:45] local.INFO: TCP Data received {"connection_id":171803,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:18:45] local.INFO: Processing buffer {"connection_id":171803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:18:45] local.INFO: IMEI packet received {"connection_id":171803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":171803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:18:46] local.INFO: TCP Data received {"connection_id":171803,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:18:46] local.INFO: Processing buffer {"connection_id":171803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:18:46] local.INFO: IMEI packet received {"connection_id":171803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":171803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:18:48] local.INFO: TCP Data received {"connection_id":171803,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:18:48] local.INFO: Processing buffer {"connection_id":171803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:18:48] local.INFO: IMEI packet received {"connection_id":171803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":171803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:18:49] local.INFO: TCP Data received {"connection_id":171803,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07052ba68012cfa0f00072dd170001c010a23..."} 
[2026-09-05 12:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07052ba68012cfa0f00072dd170001c010a23..."} 
[2026-09-05 12:18:49] local.INFO: Processing buffer {"connection_id":171803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07052ba68012cfa0f00072dd170001c010a23..."} 
[2026-09-05 12:18:49] local.INFO: Packet analysis {"connection_id":171803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07052"} 
[2026-09-05 12:18:49] local.INFO: Extracted packet for processing {"connection_id":171803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07052"} 
[2026-09-05 12:18:49] local.INFO: GPS Element Parsed {"raw_longitude":754585344,"raw_latitude":120443248,"longitude_deg":75.4585344,"latitude_deg":12.0443248,"altitude":28,"angle":266,"satellites":35,"speed":42,"hex_longitude":"2cfa0f00","hex_latitude":"072dd170","is_valid_coordinates":true} 
[2026-09-05 12:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879259904001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17649824505528320,"note":"Value kept but may cause issues"} 
[2026-09-05 12:18:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-420945796837165056,"note":"Value kept but may cause issues"} 
[2026-09-05 12:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788590865000,"timestamp_ms":1788590865000,"timestamp_seconds":1788590865,"priority":1,"record_length":96,"hex_timestamp":"000001a07052ba68"} 
[2026-09-05 12:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-05 12:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":171803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":171803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":171803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879259904001,"66":14363,"77":206,"83":43776,"24":42,"16":17649824505528320,"44":-420945796837165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,83,24,16,44]} 
[2026-09-05 12:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879259904001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:18:49] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-05 12:18:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-09-05 12:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17649824505528320,"km_value":17649824505528.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:18:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-420945796837165056,"description":"Unknown IO ID 44"} 
[2026-09-05 12:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879259904001,"power":14363,"unknown_77":206,"unknown_83":43776,"ignition":42,"odometer":null,"unknown_44":-420945796837165056}} 
[2026-09-05 12:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":171803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:18:49] local.INFO: GPS data processed {"connection_id":171803,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:18:49] local.INFO: Acknowledgment sent {"connection_id":171803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:18:50] local.INFO: TCP Data received {"connection_id":171803,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07052ca08012cf9ff00072dce58001c00fa20..."} 
[2026-09-05 12:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07052ca08012cf9ff00072dce58001c00fa20..."} 
[2026-09-05 12:18:50] local.INFO: Processing buffer {"connection_id":171803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07052ca08012cf9ff00072dce58001c00fa20..."} 
[2026-09-05 12:18:50] local.INFO: Packet analysis {"connection_id":171803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07052"} 
[2026-09-05 12:18:50] local.INFO: Extracted packet for processing {"connection_id":171803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07052"} 
[2026-09-05 12:18:50] local.INFO: GPS Element Parsed {"raw_longitude":754581248,"raw_latitude":120442456,"longitude_deg":75.4581248,"latitude_deg":12.0442456,"altitude":28,"angle":250,"satellites":32,"speed":40,"hex_longitude":"2cf9ff00","hex_latitude":"072dce58","is_valid_coordinates":true} 
[2026-09-05 12:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879261440001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17650022074023936,"note":"Value kept but may cause issues"} 
[2026-09-05 12:18:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-428123408743436288,"note":"Value kept but may cause issues"} 
[2026-09-05 12:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788590869000,"timestamp_ms":1788590869000,"timestamp_seconds":1788590869,"priority":1,"record_length":96,"hex_timestamp":"000001a07052ca08"} 
[2026-09-05 12:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:18: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-09-05 12:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 12:18:50] 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-09-05 12:18:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879261440001,"66":13906,"77":206,"83":43776,"24":40,"16":17650022074023936,"44":-428123408743436288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,83,24,16,44]} 
[2026-09-05 12:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879261440001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:18:50] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-05 12:18:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-09-05 12:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17650022074023936,"km_value":17650022074023.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:18:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-428123408743436288,"description":"Unknown IO ID 44"} 
[2026-09-05 12:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879261440001,"power":13906,"unknown_77":206,"unknown_83":43776,"ignition":40,"odometer":null,"unknown_44":-428123408743436288}} 
[2026-09-05 12:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":171803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:18:50] local.INFO: GPS data processed {"connection_id":171803,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:18:50] local.INFO: Acknowledgment sent {"connection_id":171803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:18:56] local.INFO: TCP Data received {"connection_id":174205,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:18:56] local.INFO: Processing buffer {"connection_id":174205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:18:56] local.INFO: IMEI packet received {"connection_id":174205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":174205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:19:00] local.INFO: TCP Data received {"connection_id":174205,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:19:00] local.INFO: Processing buffer {"connection_id":174205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:19:00] local.INFO: IMEI packet received {"connection_id":174205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":174205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:19:01] local.INFO: TCP Data received {"connection_id":174205,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:19:01] local.INFO: Processing buffer {"connection_id":174205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:19:01] local.INFO: IMEI packet received {"connection_id":174205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":174205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:19:02] local.INFO: TCP Data received {"connection_id":174205,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a070517e00012d6233c0062875080008009e31..."} 
[2026-09-05 12:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070517e00012d6233c0062875080008009e31..."} 
[2026-09-05 12:19:02] local.INFO: Processing buffer {"connection_id":174205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070517e00012d6233c0062875080008009e31..."} 
[2026-09-05 12:19:02] local.INFO: Packet analysis {"connection_id":174205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07051"} 
[2026-09-05 12:19:02] local.INFO: Extracted packet for processing {"connection_id":174205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07051"} 
[2026-09-05 12:19:02] local.INFO: GPS Element Parsed {"raw_longitude":761410496,"raw_latitude":103314696,"longitude_deg":76.1410496,"latitude_deg":10.3314696,"altitude":8,"angle":158,"satellites":49,"speed":4,"hex_longitude":"2d6233c0","hex_latitude":"06287508","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879235328001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399636394676322304,"note":"Value kept but may cause issues"} 
[2026-09-05 12:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7074169878630051840,"note":"Value kept but may cause issues"} 
[2026-09-05 12:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788590784000,"timestamp_ms":1788590784000,"timestamp_seconds":1788590784,"priority":1,"record_length":96,"hex_timestamp":"000001a070517e00"} 
[2026-09-05 12:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:19: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-09-05 12:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 12:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12: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-09-05 12:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879235328001,"66":27908,"228":206,"79":20992,"24":4,"16":399636394676322304,"45":7074169878630051840},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-09-05 12:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879235328001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:19:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-05 12:19:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399636394676322304,"km_value":399636394676322.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7074169878630051840,"description":"Unknown IO ID 45"} 
[2026-09-05 12:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879235328001,"power":27908,"unknown_228":206,"unknown_79":20992,"ignition":4,"odometer":null,"unknown_45":7074169878630051840}} 
[2026-09-05 12:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":174205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:19:02] local.INFO: GPS data processed {"connection_id":174205,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:19:02] local.INFO: Acknowledgment sent {"connection_id":174205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:19:04] local.INFO: TCP Data received {"connection_id":174206,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174206,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:19:04] local.INFO: Processing buffer {"connection_id":174206,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:19:04] local.INFO: IMEI packet received {"connection_id":174206,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 12:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":174206,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:19:07] local.INFO: TCP Data received {"connection_id":174205,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a070519d40012d623640062870f00007009130..."} 
[2026-09-05 12:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070519d40012d623640062870f00007009130..."} 
[2026-09-05 12:19:07] local.INFO: Processing buffer {"connection_id":174205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070519d40012d623640062870f00007009130..."} 
[2026-09-05 12:19:07] local.INFO: Packet analysis {"connection_id":174205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07051"} 
[2026-09-05 12:19:07] local.INFO: Extracted packet for processing {"connection_id":174205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07051"} 
[2026-09-05 12:19:07] local.INFO: GPS Element Parsed {"raw_longitude":761411136,"raw_latitude":103313648,"longitude_deg":76.1411136,"latitude_deg":10.3313648,"altitude":7,"angle":145,"satellites":48,"speed":7,"hex_longitude":"2d623640","hex_latitude":"062870f0","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879240704001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399636450510897152,"note":"Value kept but may cause issues"} 
[2026-09-05 12:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7076210572210276352,"note":"Value kept but may cause issues"} 
[2026-09-05 12:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788590792000,"timestamp_ms":1788590792000,"timestamp_seconds":1788590792,"priority":1,"record_length":96,"hex_timestamp":"000001a070519d40"} 
[2026-09-05 12:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:19: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-09-05 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 12:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12: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-09-05 12:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:19: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-09-05 12:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879240704001,"66":27876,"228":206,"79":20992,"24":7,"16":399636450510897152,"45":7076210572210276352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-09-05 12:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879240704001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:19:07] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-05 12:19:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399636450510897152,"km_value":399636450510897.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":7076210572210276352,"description":"Unknown IO ID 45"} 
[2026-09-05 12:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879240704001,"power":27876,"unknown_228":206,"unknown_79":20992,"ignition":7,"odometer":null,"unknown_45":7076210572210276352}} 
[2026-09-05 12:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":174205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:19:07] local.INFO: GPS data processed {"connection_id":174205,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:19:07] local.INFO: Acknowledgment sent {"connection_id":174205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:19:21] local.INFO: TCP Data received {"connection_id":171803,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07052d5c0012cf9f3c0072dc800001c00ee21..."} 
[2026-09-05 12:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07052d5c0012cf9f3c0072dc800001c00ee21..."} 
[2026-09-05 12:19:21] local.INFO: Processing buffer {"connection_id":171803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07052d5c0012cf9f3c0072dc800001c00ee21..."} 
[2026-09-05 12:19:21] local.INFO: Packet analysis {"connection_id":171803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07052"} 
[2026-09-05 12:19:21] local.INFO: Extracted packet for processing {"connection_id":171803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07052"} 
[2026-09-05 12:19:21] local.INFO: GPS Element Parsed {"raw_longitude":754578368,"raw_latitude":120440832,"longitude_deg":75.4578368,"latitude_deg":12.0440832,"altitude":28,"angle":238,"satellites":33,"speed":42,"hex_longitude":"2cf9f3c0","hex_latitude":"072dc800","is_valid_coordinates":true} 
[2026-09-05 12:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879262464001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17650176692846592,"note":"Value kept but may cause issues"} 
[2026-09-05 12:19:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-432627008371009536,"note":"Value kept but may cause issues"} 
[2026-09-05 12:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788590872000,"timestamp_ms":1788590872000,"timestamp_seconds":1788590872,"priority":1,"record_length":96,"hex_timestamp":"000001a07052d5c0"} 
[2026-09-05 12:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-05 12:19:21] 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-09-05 12:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879262464001,"66":14341,"77":206,"83":43776,"24":42,"16":17650176692846592,"44":-432627008371009536},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,83,24,16,44]} 
[2026-09-05 12:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879262464001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:19:21] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-05 12:19:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-09-05 12:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17650176692846592,"km_value":17650176692846.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:19:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-432627008371009536,"description":"Unknown IO ID 44"} 
[2026-09-05 12:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879262464001,"power":14341,"unknown_77":206,"unknown_83":43776,"ignition":42,"odometer":null,"unknown_44":-432627008371009536}} 
[2026-09-05 12:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":171803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:19:21] local.INFO: GPS data processed {"connection_id":171803,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:19:21] local.INFO: Acknowledgment sent {"connection_id":171803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:19:39] local.INFO: TCP Data received {"connection_id":174205,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07051ef48012d623f8006286170000800a030..."} 
[2026-09-05 12:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07051ef48012d623f8006286170000800a030..."} 
[2026-09-05 12:19:39] local.INFO: Processing buffer {"connection_id":174205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07051ef48012d623f8006286170000800a030..."} 
[2026-09-05 12:19:39] local.INFO: Packet analysis {"connection_id":174205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07051"} 
[2026-09-05 12:19:39] local.INFO: Extracted packet for processing {"connection_id":174205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07051"} 
[2026-09-05 12:19:39] local.INFO: GPS Element Parsed {"raw_longitude":761413504,"raw_latitude":103309680,"longitude_deg":76.1413504,"latitude_deg":10.330968,"altitude":8,"angle":160,"satellites":48,"speed":17,"hex_longitude":"2d623f80","hex_latitude":"06286170","is_valid_coordinates":true} 
[2026-09-05 12:19: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-09-05 12:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879242752001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399636678144163840,"note":"Value kept but may cause issues"} 
[2026-09-05 12:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7076914259651784704,"note":"Value kept but may cause issues"} 
[2026-09-05 12:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788590813000,"timestamp_ms":1788590813000,"timestamp_seconds":1788590813,"priority":1,"record_length":96,"hex_timestamp":"000001a07051ef48"} 
[2026-09-05 12:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:19:39] 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-09-05 12:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 12:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:19: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-09-05 12:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:19:39] 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-09-05 12:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879242752001,"66":26778,"89":206,"79":20992,"24":17,"16":399636678144163840,"45":7076914259651784704},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-09-05 12:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879242752001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:19:39] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-05 12:19:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399636678144163840,"km_value":399636678144163.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":7076914259651784704,"description":"Unknown IO ID 45"} 
[2026-09-05 12:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879242752001,"power":26778,"unknown_89":206,"unknown_79":20992,"ignition":17,"odometer":null,"unknown_45":7076914259651784704}} 
[2026-09-05 12:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":174205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:19:39] local.INFO: GPS data processed {"connection_id":174205,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:19:39] local.INFO: Acknowledgment sent {"connection_id":174205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:19:43] local.INFO: TCP Data received {"connection_id":171804,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:19:43] local.INFO: Processing buffer {"connection_id":171804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:19:43] local.INFO: IMEI packet received {"connection_id":171804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":171804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:19:45] local.INFO: TCP Data received {"connection_id":171804,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:19:45] local.INFO: Processing buffer {"connection_id":171804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:19:45] local.INFO: IMEI packet received {"connection_id":171804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":171804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:19:46] local.INFO: TCP Data received {"connection_id":171804,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:19:46] local.INFO: Processing buffer {"connection_id":171804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:19:46] local.INFO: IMEI packet received {"connection_id":171804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":171804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:19:46] local.INFO: TCP Data received {"connection_id":171804,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:19:46] local.INFO: Processing buffer {"connection_id":171804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:19:46] local.INFO: IMEI packet received {"connection_id":171804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":171804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:20:01] local.INFO: TCP Data received {"connection_id":174207,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:20:01] local.INFO: Processing buffer {"connection_id":174207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:20:01] local.INFO: IMEI packet received {"connection_id":174207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":174207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:20:06] local.INFO: TCP Data received {"connection_id":174207,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:20:06] local.INFO: Processing buffer {"connection_id":174207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:20:06] local.INFO: IMEI packet received {"connection_id":174207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":174207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:20:08] local.INFO: TCP Data received {"connection_id":174207,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07051ef48012d623f8006286170000800a030..."} 
[2026-09-05 12:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07051ef48012d623f8006286170000800a030..."} 
[2026-09-05 12:20:08] local.INFO: Processing buffer {"connection_id":174207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07051ef48012d623f8006286170000800a030..."} 
[2026-09-05 12:20:08] local.INFO: Packet analysis {"connection_id":174207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07051"} 
[2026-09-05 12:20:08] local.INFO: Extracted packet for processing {"connection_id":174207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07051"} 
[2026-09-05 12:20:08] local.INFO: GPS Element Parsed {"raw_longitude":761413504,"raw_latitude":103309680,"longitude_deg":76.1413504,"latitude_deg":10.330968,"altitude":8,"angle":160,"satellites":48,"speed":17,"hex_longitude":"2d623f80","hex_latitude":"06286170","is_valid_coordinates":true} 
[2026-09-05 12:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879248128001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399636678144163840,"note":"Value kept but may cause issues"} 
[2026-09-05 12:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7079517903185342464,"note":"Value kept but may cause issues"} 
[2026-09-05 12:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788590813000,"timestamp_ms":1788590813000,"timestamp_seconds":1788590813,"priority":1,"record_length":96,"hex_timestamp":"000001a07051ef48"} 
[2026-09-05 12:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:20: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-09-05 12: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":104,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-05 12:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2104,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12: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-09-05 12:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:20: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-09-05 12:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879248128001,"66":26778,"89":206,"79":20992,"24":17,"16":399636678144163840,"45":7079517903185342464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-09-05 12:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879248128001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:20:08] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-05 12:20:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399636678144163840,"km_value":399636678144163.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7079517903185342464,"description":"Unknown IO ID 45"} 
[2026-09-05 12:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879248128001,"power":26778,"unknown_89":206,"unknown_79":20992,"ignition":17,"odometer":null,"unknown_45":7079517903185342464}} 
[2026-09-05 12:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":174207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:20:08] local.INFO: GPS data processed {"connection_id":174207,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:20:08] local.INFO: Acknowledgment sent {"connection_id":174207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:20:12] local.INFO: TCP Data received {"connection_id":174207,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a070523598012d624c4006283f780007009e2f..."} 
[2026-09-05 12:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070523598012d624c4006283f780007009e2f..."} 
[2026-09-05 12:20:12] local.INFO: Processing buffer {"connection_id":174207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070523598012d624c4006283f780007009e2f..."} 
[2026-09-05 12:20:12] local.INFO: Packet analysis {"connection_id":174207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07052"} 
[2026-09-05 12:20:12] local.INFO: Extracted packet for processing {"connection_id":174207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07052"} 
[2026-09-05 12:20:12] local.INFO: GPS Element Parsed {"raw_longitude":761416768,"raw_latitude":103300984,"longitude_deg":76.1416768,"latitude_deg":10.3300984,"altitude":7,"angle":158,"satellites":47,"speed":24,"hex_longitude":"2d624c40","hex_latitude":"06283f78","is_valid_coordinates":true} 
[2026-09-05 12:20: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-09-05 12:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879248128001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399637129115729920,"note":"Value kept but may cause issues"} 
[2026-09-05 12:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7079517903185342464,"note":"Value kept but may cause issues"} 
[2026-09-05 12:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788590831000,"timestamp_ms":1788590831000,"timestamp_seconds":1788590831,"priority":1,"record_length":96,"hex_timestamp":"000001a070523598"} 
[2026-09-05 12:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:20:12] 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-09-05 12:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-05 12:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2104,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:20: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-09-05 12:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:20:12] 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-09-05 12:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879248128001,"66":27984,"89":206,"79":20992,"24":24,"16":399637129115729920,"45":7079517903185342464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-09-05 12:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879248128001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:20:12] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-05 12:20:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399637129115729920,"km_value":399637129115729.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7079517903185342464,"description":"Unknown IO ID 45"} 
[2026-09-05 12:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879248128001,"power":27984,"unknown_89":206,"unknown_79":20992,"ignition":24,"odometer":null,"unknown_45":7079517903185342464}} 
[2026-09-05 12:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":174207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:20:12] local.INFO: GPS data processed {"connection_id":174207,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:20:12] local.INFO: Acknowledgment sent {"connection_id":174207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:20:57] local.INFO: TCP Data received {"connection_id":171500,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:20:57] local.INFO: Processing buffer {"connection_id":171500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:20:57] local.INFO: IMEI packet received {"connection_id":171500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":171500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:20:58] local.INFO: TCP Data received {"connection_id":171500,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:20:58] local.INFO: Processing buffer {"connection_id":171500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:20:58] local.INFO: IMEI packet received {"connection_id":171500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":171500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:20:59] local.INFO: TCP Data received {"connection_id":171500,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0705473d0012d62be80062731680009009631..."} 
[2026-09-05 12:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0705473d0012d62be80062731680009009631..."} 
[2026-09-05 12:20:59] local.INFO: Processing buffer {"connection_id":171500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0705473d0012d62be80062731680009009631..."} 
[2026-09-05 12:20:59] local.INFO: Packet analysis {"connection_id":171500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07054"} 
[2026-09-05 12:20:59] local.INFO: Extracted packet for processing {"connection_id":171500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07054"} 
[2026-09-05 12:20:59] local.INFO: GPS Element Parsed {"raw_longitude":761446016,"raw_latitude":103231848,"longitude_deg":76.1446016,"latitude_deg":10.3231848,"altitude":9,"angle":150,"satellites":49,"speed":2,"hex_longitude":"2d62be80","hex_latitude":"06273168","is_valid_coordinates":true} 
[2026-09-05 12:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879284992001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399640779837931520,"note":"Value kept but may cause issues"} 
[2026-09-05 12:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7114843012742801408,"note":"Value kept but may cause issues"} 
[2026-09-05 12:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788590978000,"timestamp_ms":1788590978000,"timestamp_seconds":1788590978,"priority":1,"record_length":96,"hex_timestamp":"000001a0705473d0"} 
[2026-09-05 12:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:20:59] 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-09-05 12:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 12:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879284992001,"66":28137,"89":206,"79":20992,"24":2,"16":399640779837931520,"45":7114843012742801408},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-09-05 12:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879284992001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:20:59] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-05 12:20:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399640779837931520,"km_value":399640779837931.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7114843012742801408,"description":"Unknown IO ID 45"} 
[2026-09-05 12:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879284992001,"power":28137,"unknown_89":206,"unknown_79":20992,"ignition":2,"odometer":null,"unknown_45":7114843012742801408}} 
[2026-09-05 12:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":171500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:20:59] local.INFO: GPS data processed {"connection_id":171500,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:20:59] local.INFO: Acknowledgment sent {"connection_id":171500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:21:01] local.INFO: TCP Data received {"connection_id":171500,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07054c5d8012d62c18006272c00000a009533..."} 
[2026-09-05 12:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07054c5d8012d62c18006272c00000a009533..."} 
[2026-09-05 12:21:01] local.INFO: Processing buffer {"connection_id":171500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07054c5d8012d62c18006272c00000a009533..."} 
[2026-09-05 12:21:01] local.INFO: Packet analysis {"connection_id":171500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07054"} 
[2026-09-05 12:21:01] local.INFO: Extracted packet for processing {"connection_id":171500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07054"} 
[2026-09-05 12:21:01] local.INFO: GPS Element Parsed {"raw_longitude":761446784,"raw_latitude":103230464,"longitude_deg":76.1446784,"latitude_deg":10.3230464,"altitude":10,"angle":149,"satellites":51,"speed":3,"hex_longitude":"2d62c180","hex_latitude":"06272c00","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879290368001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399640857147342848,"note":"Value kept but may cause issues"} 
[2026-09-05 12:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7115265225207670784,"note":"Value kept but may cause issues"} 
[2026-09-05 12:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788590999000,"timestamp_ms":1788590999000,"timestamp_seconds":1788590999,"priority":1,"record_length":96,"hex_timestamp":"000001a07054c5d8"} 
[2026-09-05 12:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 12:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12: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-09-05 12:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879290368001,"66":27995,"89":206,"79":20992,"24":3,"16":399640857147342848,"45":7115265225207670784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-09-05 12:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879290368001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:21:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-05 12:21:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399640857147342848,"km_value":399640857147342.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7115265225207670784,"description":"Unknown IO ID 45"} 
[2026-09-05 12:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879290368001,"power":27995,"unknown_89":206,"unknown_79":20992,"ignition":3,"odometer":null,"unknown_45":7115265225207670784}} 
[2026-09-05 12:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":171500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:21:01] local.INFO: GPS data processed {"connection_id":171500,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:21:01] local.INFO: Acknowledgment sent {"connection_id":171500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:21:33] local.INFO: TCP Data received {"connection_id":171500,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0705517e0012d62c3c0062727180009009532..."} 
[2026-09-05 12:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0705517e0012d62c3c0062727180009009532..."} 
[2026-09-05 12:21:33] local.INFO: Processing buffer {"connection_id":171500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0705517e0012d62c3c0062727180009009532..."} 
[2026-09-05 12:21:33] local.INFO: Packet analysis {"connection_id":171500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07055"} 
[2026-09-05 12:21:33] local.INFO: Extracted packet for processing {"connection_id":171500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07055"} 
[2026-09-05 12:21:33] local.INFO: GPS Element Parsed {"raw_longitude":761447360,"raw_latitude":103229208,"longitude_deg":76.144736,"latitude_deg":10.3229208,"altitude":9,"angle":149,"satellites":50,"speed":0,"hex_longitude":"2d62c3c0","hex_latitude":"06272718","is_valid_coordinates":true} 
[2026-09-05 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-09-05 12:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879295744001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399640930161786880,"note":"Value kept but may cause issues"} 
[2026-09-05 12:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7116109650137448448,"note":"Value kept but may cause issues"} 
[2026-09-05 12:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788591020000,"timestamp_ms":1788591020000,"timestamp_seconds":1788591020,"priority":1,"record_length":96,"hex_timestamp":"000001a0705517e0"} 
[2026-09-05 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-09-05 12:21: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-09-05 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 12:21:33] 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-09-05 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-09-05 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-09-05 12:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:21: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-09-05 12:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879295744001,"66":27930,"89":206,"79":20992,"24":0,"16":399640930161786880,"45":7116109650137448448},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-09-05 12:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879295744001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:21:33] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-05 12:21:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399640930161786880,"km_value":399640930161786.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7116109650137448448,"description":"Unknown IO ID 45"} 
[2026-09-05 12:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879295744001,"power":27930,"unknown_89":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7116109650137448448}} 
[2026-09-05 12:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":171500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:21:33] local.INFO: GPS data processed {"connection_id":171500,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:21:33] local.INFO: Acknowledgment sent {"connection_id":171500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:21:56] local.INFO: TCP Data received {"connection_id":172896,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:21:56] local.INFO: Processing buffer {"connection_id":172896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:21:56] local.INFO: IMEI packet received {"connection_id":172896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":172896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:22:01] local.INFO: TCP Data received {"connection_id":172896,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:22:01] local.INFO: Processing buffer {"connection_id":172896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:22:01] local.INFO: IMEI packet received {"connection_id":172896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":172896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:22:03] local.INFO: TCP Data received {"connection_id":172896,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0705569e8012d62c64006272230000b009731..."} 
[2026-09-05 12:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0705569e8012d62c64006272230000b009731..."} 
[2026-09-05 12:22:03] local.INFO: Processing buffer {"connection_id":172896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0705569e8012d62c64006272230000b009731..."} 
[2026-09-05 12:22:03] local.INFO: Packet analysis {"connection_id":172896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07055"} 
[2026-09-05 12:22:03] local.INFO: Extracted packet for processing {"connection_id":172896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07055"} 
[2026-09-05 12:22:03] local.INFO: GPS Element Parsed {"raw_longitude":761448000,"raw_latitude":103227952,"longitude_deg":76.1448,"latitude_deg":10.3227952,"altitude":11,"angle":151,"satellites":49,"speed":4,"hex_longitude":"2d62c640","hex_latitude":"06272230","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879301120001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399641003176230912,"note":"Value kept but may cause issues"} 
[2026-09-05 12:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7116742968834725888,"note":"Value kept but may cause issues"} 
[2026-09-05 12:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788591041000,"timestamp_ms":1788591041000,"timestamp_seconds":1788591041,"priority":1,"record_length":96,"hex_timestamp":"000001a0705569e8"} 
[2026-09-05 12:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:22: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-09-05 12: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 12:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12: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-09-05 12:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:22: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-09-05 12:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879301120001,"66":27995,"89":206,"79":20992,"24":4,"16":399641003176230912,"45":7116742968834725888},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-09-05 12:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879301120001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:22:03] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-05 12:22:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399641003176230912,"km_value":399641003176230.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7116742968834725888,"description":"Unknown IO ID 45"} 
[2026-09-05 12:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879301120001,"power":27995,"unknown_89":206,"unknown_79":20992,"ignition":4,"odometer":null,"unknown_45":7116742968834725888}} 
[2026-09-05 12:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":172896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:22:03] local.INFO: GPS data processed {"connection_id":172896,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:22:03] local.INFO: Acknowledgment sent {"connection_id":172896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:22:34] local.INFO: TCP Data received {"connection_id":172896,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07055bbf0012d62c8c006271cf0000b009830..."} 
[2026-09-05 12:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07055bbf0012d62c8c006271cf0000b009830..."} 
[2026-09-05 12:22:34] local.INFO: Processing buffer {"connection_id":172896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07055bbf0012d62c8c006271cf0000b009830..."} 
[2026-09-05 12:22:34] local.INFO: Packet analysis {"connection_id":172896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07055"} 
[2026-09-05 12:22:34] local.INFO: Extracted packet for processing {"connection_id":172896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07055"} 
[2026-09-05 12:22:34] local.INFO: GPS Element Parsed {"raw_longitude":761448640,"raw_latitude":103226608,"longitude_deg":76.144864,"latitude_deg":10.3226608,"altitude":11,"angle":152,"satellites":48,"speed":0,"hex_longitude":"2d62c8c0","hex_latitude":"06271cf0","is_valid_coordinates":true} 
[2026-09-05 12:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879306496001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399641080485642240,"note":"Value kept but may cause issues"} 
[2026-09-05 12:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7117446656276180992,"note":"Value kept but may cause issues"} 
[2026-09-05 12:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788591062000,"timestamp_ms":1788591062000,"timestamp_seconds":1788591062,"priority":1,"record_length":96,"hex_timestamp":"000001a07055bbf0"} 
[2026-09-05 12:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 12:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879306496001,"66":28082,"89":206,"79":20992,"24":0,"16":399641080485642240,"45":7117446656276180992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-09-05 12:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879306496001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:22:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-05 12:22:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399641080485642240,"km_value":399641080485642.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7117446656276180992,"description":"Unknown IO ID 45"} 
[2026-09-05 12:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879306496001,"power":28082,"unknown_89":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7117446656276180992}} 
[2026-09-05 12:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":172896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:22:34] local.INFO: GPS data processed {"connection_id":172896,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:22:34] local.INFO: Acknowledgment sent {"connection_id":172896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:22:57] local.INFO: TCP Data received {"connection_id":174209,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:22:57] local.INFO: Processing buffer {"connection_id":174209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:22:57] local.INFO: IMEI packet received {"connection_id":174209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":174209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:23:01] local.INFO: TCP Data received {"connection_id":174209,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:23:01] local.INFO: Processing buffer {"connection_id":174209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:23:01] local.INFO: IMEI packet received {"connection_id":174209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":174209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:23:03] local.INFO: TCP Data received {"connection_id":174209,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a070560df8012d62cb8006271688000b009931..."} 
[2026-09-05 12:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070560df8012d62cb8006271688000b009931..."} 
[2026-09-05 12:23:03] local.INFO: Processing buffer {"connection_id":174209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070560df8012d62cb8006271688000b009931..."} 
[2026-09-05 12:23:03] local.INFO: Packet analysis {"connection_id":174209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07056"} 
[2026-09-05 12:23:03] local.INFO: Extracted packet for processing {"connection_id":174209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07056"} 
[2026-09-05 12:23:03] local.INFO: GPS Element Parsed {"raw_longitude":761449344,"raw_latitude":103224968,"longitude_deg":76.1449344,"latitude_deg":10.3224968,"altitude":11,"angle":153,"satellites":49,"speed":0,"hex_longitude":"2d62cb80","hex_latitude":"06271688","is_valid_coordinates":true} 
[2026-09-05 12:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879311872001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399641170679955456,"note":"Value kept but may cause issues"} 
[2026-09-05 12:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7118150343717613568,"note":"Value kept but may cause issues"} 
[2026-09-05 12:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788591083000,"timestamp_ms":1788591083000,"timestamp_seconds":1788591083,"priority":1,"record_length":96,"hex_timestamp":"000001a070560df8"} 
[2026-09-05 12:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:23: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-09-05 12:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 12:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:23: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-09-05 12:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879311872001,"66":28028,"89":206,"79":20992,"24":0,"16":399641170679955456,"45":7118150343717613568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-09-05 12:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879311872001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:23:03] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-05 12:23:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399641170679955456,"km_value":399641170679955.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7118150343717613568,"description":"Unknown IO ID 45"} 
[2026-09-05 12:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879311872001,"power":28028,"unknown_89":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7118150343717613568}} 
[2026-09-05 12:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":174209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:23:03] local.INFO: GPS data processed {"connection_id":174209,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:23:03] local.INFO: Acknowledgment sent {"connection_id":174209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:23:35] local.INFO: TCP Data received {"connection_id":174209,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a070566000012d62ccc006271348000b009932..."} 
[2026-09-05 12:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070566000012d62ccc006271348000b009932..."} 
[2026-09-05 12:23:35] local.INFO: Processing buffer {"connection_id":174209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070566000012d62ccc006271348000b009932..."} 
[2026-09-05 12:23:35] local.INFO: Packet analysis {"connection_id":174209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07056"} 
[2026-09-05 12:23:35] local.INFO: Extracted packet for processing {"connection_id":174209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07056"} 
[2026-09-05 12:23:35] local.INFO: GPS Element Parsed {"raw_longitude":761449664,"raw_latitude":103224136,"longitude_deg":76.1449664,"latitude_deg":10.3224136,"altitude":11,"angle":153,"satellites":50,"speed":4,"hex_longitude":"2d62ccc0","hex_latitude":"06271348","is_valid_coordinates":true} 
[2026-09-05 12:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879317248001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399641217924595712,"note":"Value kept but may cause issues"} 
[2026-09-05 12:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7118924399903148032,"note":"Value kept but may cause issues"} 
[2026-09-05 12:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788591104000,"timestamp_ms":1788591104000,"timestamp_seconds":1788591104,"priority":1,"record_length":96,"hex_timestamp":"000001a070566000"} 
[2026-09-05 12:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:23:35] 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-09-05 12:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-05 12:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879317248001,"66":28006,"89":206,"79":20992,"24":4,"16":399641217924595712,"45":7118924399903148032},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-09-05 12:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879317248001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:23:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-05 12:23:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399641217924595712,"km_value":399641217924595.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7118924399903148032,"description":"Unknown IO ID 45"} 
[2026-09-05 12:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879317248001,"power":28006,"unknown_89":206,"unknown_79":20992,"ignition":4,"odometer":null,"unknown_45":7118924399903148032}} 
[2026-09-05 12:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":174209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:23:35] local.INFO: GPS data processed {"connection_id":174209,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:23:35] local.INFO: Acknowledgment sent {"connection_id":174209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:23:56] local.INFO: TCP Data received {"connection_id":171504,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:23:56] local.INFO: Processing buffer {"connection_id":171504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:23:56] local.INFO: IMEI packet received {"connection_id":171504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":171504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:23:57] local.INFO: TCP Data received {"connection_id":171504,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:23:57] local.INFO: Processing buffer {"connection_id":171504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:23:57] local.INFO: IMEI packet received {"connection_id":171504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":171504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:24:01] local.INFO: TCP Data received {"connection_id":171504,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:24:01] local.INFO: Processing buffer {"connection_id":171504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:24:01] local.INFO: IMEI packet received {"connection_id":171504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":171504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:24:03] local.INFO: TCP Data received {"connection_id":171504,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a070568af8012d62cdc006271008000c00a732..."} 
[2026-09-05 12:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070568af8012d62cdc006271008000c00a732..."} 
[2026-09-05 12:24:03] local.INFO: Processing buffer {"connection_id":171504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070568af8012d62cdc006271008000c00a732..."} 
[2026-09-05 12:24:03] local.INFO: Packet analysis {"connection_id":171504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07056"} 
[2026-09-05 12:24:03] local.INFO: Extracted packet for processing {"connection_id":171504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07056"} 
[2026-09-05 12:24:03] local.INFO: GPS Element Parsed {"raw_longitude":761449920,"raw_latitude":103223304,"longitude_deg":76.144992,"latitude_deg":10.3223304,"altitude":12,"angle":167,"satellites":50,"speed":5,"hex_longitude":"2d62cdc0","hex_latitude":"06271008","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879322624001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399641260874268672,"note":"Value kept but may cause issues"} 
[2026-09-05 12:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7119276243623823360,"note":"Value kept but may cause issues"} 
[2026-09-05 12:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788591115000,"timestamp_ms":1788591115000,"timestamp_seconds":1788591115,"priority":1,"record_length":96,"hex_timestamp":"000001a070568af8"} 
[2026-09-05 12:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:24: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-09-05 12: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 12:24: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-09-05 12: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-09-05 12:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12: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-09-05 12:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879322624001,"66":27876,"87":206,"79":20992,"24":5,"16":399641260874268672,"45":7119276243623823360},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,79,24,16,45]} 
[2026-09-05 12:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879322624001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:24:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-05 12:24:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399641260874268672,"km_value":399641260874268.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7119276243623823360,"description":"Unknown IO ID 45"} 
[2026-09-05 12:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879322624001,"power":27876,"unknown_87":206,"unknown_79":20992,"ignition":5,"odometer":null,"unknown_45":7119276243623823360}} 
[2026-09-05 12:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":171504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:24:03] local.INFO: GPS data processed {"connection_id":171504,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:24:03] local.INFO: Acknowledgment sent {"connection_id":171504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:24:22] local.INFO: TCP Data received {"connection_id":171503,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171503,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:24:22] local.INFO: Processing buffer {"connection_id":171503,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:24:22] local.INFO: IMEI packet received {"connection_id":171503,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 12:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":171503,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:24:35] local.INFO: TCP Data received {"connection_id":171504,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07056dd00012d62cf0006270a10000c00aa30..."} 
[2026-09-05 12:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07056dd00012d62cf0006270a10000c00aa30..."} 
[2026-09-05 12:24:35] local.INFO: Processing buffer {"connection_id":171504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07056dd00012d62cf0006270a10000c00aa30..."} 
[2026-09-05 12:24:35] local.INFO: Packet analysis {"connection_id":171504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07056"} 
[2026-09-05 12:24:35] local.INFO: Extracted packet for processing {"connection_id":171504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07056"} 
[2026-09-05 12:24:35] local.INFO: GPS Element Parsed {"raw_longitude":761450240,"raw_latitude":103221776,"longitude_deg":76.145024,"latitude_deg":10.3221776,"altitude":12,"angle":170,"satellites":48,"speed":2,"hex_longitude":"2d62cf00","hex_latitude":"06270a10","is_valid_coordinates":true} 
[2026-09-05 12:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879325440001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399641342478647296,"note":"Value kept but may cause issues"} 
[2026-09-05 12:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7119557718600321024,"note":"Value kept but may cause issues"} 
[2026-09-05 12:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788591136000,"timestamp_ms":1788591136000,"timestamp_seconds":1788591136,"priority":1,"record_length":96,"hex_timestamp":"000001a07056dd00"} 
[2026-09-05 12:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:24:35] 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-09-05 12:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 12:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879325440001,"66":27930,"87":206,"79":20992,"24":2,"16":399641342478647296,"45":7119557718600321024},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,79,24,16,45]} 
[2026-09-05 12:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879325440001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:24:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-05 12:24:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399641342478647296,"km_value":399641342478647.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7119557718600321024,"description":"Unknown IO ID 45"} 
[2026-09-05 12:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879325440001,"power":27930,"unknown_87":206,"unknown_79":20992,"ignition":2,"odometer":null,"unknown_45":7119557718600321024}} 
[2026-09-05 12:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":171504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:24:35] local.INFO: GPS data processed {"connection_id":171504,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:24:35] local.INFO: Acknowledgment sent {"connection_id":171504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:24:49] local.INFO: TCP Data received {"connection_id":172897,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:24:49] local.INFO: Processing buffer {"connection_id":172897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:24:49] local.INFO: IMEI packet received {"connection_id":172897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":172897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:24:50] local.INFO: TCP Data received {"connection_id":172897,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070586f58012cf67740072e2428003a013628..."} 
[2026-09-05 12:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070586f58012cf67740072e2428003a013628..."} 
[2026-09-05 12:24:50] local.INFO: Processing buffer {"connection_id":172897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070586f58012cf67740072e2428003a013628..."} 
[2026-09-05 12:24:50] local.INFO: Packet analysis {"connection_id":172897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07058"} 
[2026-09-05 12:24:50] local.INFO: Extracted packet for processing {"connection_id":172897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07058"} 
[2026-09-05 12:24:50] local.INFO: GPS Element Parsed {"raw_longitude":754349888,"raw_latitude":120464424,"longitude_deg":75.4349888,"latitude_deg":12.0464424,"altitude":58,"angle":310,"satellites":40,"speed":12,"hex_longitude":"2cf67740","hex_latitude":"072e2428","is_valid_coordinates":true} 
[2026-09-05 12:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879356928001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17663138904145920,"note":"Value kept but may cause issues"} 
[2026-09-05 12:24:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-686798912335159296,"note":"Value kept but may cause issues"} 
[2026-09-05 12:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788591239000,"timestamp_ms":1788591239000,"timestamp_seconds":1788591239,"priority":1,"record_length":96,"hex_timestamp":"000001a070586f58"} 
[2026-09-05 12:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 12:24:50] 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-09-05 12:24:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879356928001,"66":14363,"79":206,"83":43776,"24":12,"16":17663138904145920,"44":-686798912335159296},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,44]} 
[2026-09-05 12:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879356928001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:24:50] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-05 12:24:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-09-05 12:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17663138904145920,"km_value":17663138904145.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:24:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-686798912335159296,"description":"Unknown IO ID 44"} 
[2026-09-05 12:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879356928001,"power":14363,"unknown_79":206,"unknown_83":43776,"ignition":12,"odometer":null,"unknown_44":-686798912335159296}} 
[2026-09-05 12:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":172897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:24:50] local.INFO: GPS data processed {"connection_id":172897,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:24:50] local.INFO: Acknowledgment sent {"connection_id":172897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:24:53] local.INFO: TCP Data received {"connection_id":174210,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174210,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:24:53] local.INFO: Processing buffer {"connection_id":174210,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:24:53] local.INFO: IMEI packet received {"connection_id":174210,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 12:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":174210,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:25:00] local.INFO: TCP Data received {"connection_id":172898,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:25:00] local.INFO: Processing buffer {"connection_id":172898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:25:00] local.INFO: IMEI packet received {"connection_id":172898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":172898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:25:01] local.INFO: TCP Data received {"connection_id":172898,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:25:01] local.INFO: Processing buffer {"connection_id":172898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:25:01] local.INFO: IMEI packet received {"connection_id":172898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":172898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:25:06] local.INFO: TCP Data received {"connection_id":172898,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:25:06] local.INFO: Processing buffer {"connection_id":172898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:25:06] local.INFO: IMEI packet received {"connection_id":172898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":172898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:25:08] local.INFO: TCP Data received {"connection_id":172898,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a070572f08012d62d04006270028000c00aa31..."} 
[2026-09-05 12:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070572f08012d62d04006270028000c00aa31..."} 
[2026-09-05 12:25:08] local.INFO: Processing buffer {"connection_id":172898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070572f08012d62d04006270028000c00aa31..."} 
[2026-09-05 12:25:08] local.INFO: Packet analysis {"connection_id":172898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07057"} 
[2026-09-05 12:25:08] local.INFO: Extracted packet for processing {"connection_id":172898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07057"} 
[2026-09-05 12:25:08] local.INFO: GPS Element Parsed {"raw_longitude":761450560,"raw_latitude":103219240,"longitude_deg":76.145056,"latitude_deg":10.321924,"altitude":12,"angle":170,"satellites":49,"speed":6,"hex_longitude":"2d62d040","hex_latitude":"06270028","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879330816001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399641471327666176,"note":"Value kept but may cause issues"} 
[2026-09-05 12:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7119909562320818176,"note":"Value kept but may cause issues"} 
[2026-09-05 12:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788591157000,"timestamp_ms":1788591157000,"timestamp_seconds":1788591157,"priority":1,"record_length":96,"hex_timestamp":"000001a070572f08"} 
[2026-09-05 12:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:25: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-09-05 12: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 12:25:08] 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-09-05 12: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-09-05 12:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:25: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-09-05 12:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879330816001,"66":28006,"87":206,"79":20992,"24":6,"16":399641471327666176,"45":7119909562320818176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,79,24,16,45]} 
[2026-09-05 12:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879330816001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:25:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-05 12:25:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399641471327666176,"km_value":399641471327666.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7119909562320818176,"description":"Unknown IO ID 45"} 
[2026-09-05 12:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879330816001,"power":28006,"unknown_87":206,"unknown_79":20992,"ignition":6,"odometer":null,"unknown_45":7119909562320818176}} 
[2026-09-05 12:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":172898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:25:08] local.INFO: GPS data processed {"connection_id":172898,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:25:08] local.INFO: Acknowledgment sent {"connection_id":172898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:25:21] local.INFO: TCP Data received {"connection_id":172897,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070587340012cf67600072e24d0003a012a28..."} 
[2026-09-05 12:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070587340012cf67600072e24d0003a012a28..."} 
[2026-09-05 12:25:21] local.INFO: Processing buffer {"connection_id":172897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070587340012cf67600072e24d0003a012a28..."} 
[2026-09-05 12:25:21] local.INFO: Packet analysis {"connection_id":172897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07058"} 
[2026-09-05 12:25:21] local.INFO: Extracted packet for processing {"connection_id":172897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07058"} 
[2026-09-05 12:25:21] local.INFO: GPS Element Parsed {"raw_longitude":754349568,"raw_latitude":120464592,"longitude_deg":75.4349568,"latitude_deg":12.0464592,"altitude":58,"angle":298,"satellites":40,"speed":12,"hex_longitude":"2cf67600","hex_latitude":"072e24d0","is_valid_coordinates":true} 
[2026-09-05 12:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879357184001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17663156084015104,"note":"Value kept but may cause issues"} 
[2026-09-05 12:25:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-687010018567641088,"note":"Value kept but may cause issues"} 
[2026-09-05 12:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788591240000,"timestamp_ms":1788591240000,"timestamp_seconds":1788591240,"priority":1,"record_length":96,"hex_timestamp":"000001a070587340"} 
[2026-09-05 12:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:25: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-09-05 12:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 12:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:25:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879357184001,"66":14363,"79":206,"83":43776,"24":12,"16":17663156084015104,"44":-687010018567641088},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,44]} 
[2026-09-05 12:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879357184001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:25:21] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-05 12:25:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-09-05 12:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17663156084015104,"km_value":17663156084015.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:25:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-687010018567641088,"description":"Unknown IO ID 44"} 
[2026-09-05 12:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879357184001,"power":14363,"unknown_79":206,"unknown_83":43776,"ignition":12,"odometer":null,"unknown_44":-687010018567641088}} 
[2026-09-05 12:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":172897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:25:21] local.INFO: GPS data processed {"connection_id":172897,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:25:21] local.INFO: Acknowledgment sent {"connection_id":172897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:25:39] local.INFO: TCP Data received {"connection_id":172898,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a070578110012d62d1400626f868000b00aa2f..."} 
[2026-09-05 12:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070578110012d62d1400626f868000b00aa2f..."} 
[2026-09-05 12:25:39] local.INFO: Processing buffer {"connection_id":172898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070578110012d62d1400626f868000b00aa2f..."} 
[2026-09-05 12:25:39] local.INFO: Packet analysis {"connection_id":172898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07057"} 
[2026-09-05 12:25:39] local.INFO: Extracted packet for processing {"connection_id":172898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07057"} 
[2026-09-05 12:25:39] local.INFO: GPS Element Parsed {"raw_longitude":761450816,"raw_latitude":103217256,"longitude_deg":76.1450816,"latitude_deg":10.3217256,"altitude":11,"angle":170,"satellites":47,"speed":6,"hex_longitude":"2d62d140","hex_latitude":"0626f868","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879336192001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399641570111913984,"note":"Value kept but may cause issues"} 
[2026-09-05 12:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7120261406041057280,"note":"Value kept but may cause issues"} 
[2026-09-05 12:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788591178000,"timestamp_ms":1788591178000,"timestamp_seconds":1788591178,"priority":1,"record_length":96,"hex_timestamp":"000001a070578110"} 
[2026-09-05 12:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:25:39] 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-09-05 12:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 12:25:39] 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-09-05 12:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:25:39] 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-09-05 12:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879336192001,"66":27930,"89":206,"79":20992,"24":6,"16":399641570111913984,"45":7120261406041057280},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-09-05 12:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879336192001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:25:39] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-05 12:25:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399641570111913984,"km_value":399641570111914.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":7120261406041057280,"description":"Unknown IO ID 45"} 
[2026-09-05 12:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879336192001,"power":27930,"unknown_89":206,"unknown_79":20992,"ignition":6,"odometer":null,"unknown_45":7120261406041057280}} 
[2026-09-05 12:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":172898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:25:39] local.INFO: GPS data processed {"connection_id":172898,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:25:39] local.INFO: Acknowledgment sent {"connection_id":172898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:25:45] local.INFO: TCP Data received {"connection_id":171506,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:25:45] local.INFO: Processing buffer {"connection_id":171506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:25:45] local.INFO: IMEI packet received {"connection_id":171506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":171506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:25:47] local.INFO: TCP Data received {"connection_id":171506,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:25:47] local.INFO: Processing buffer {"connection_id":171506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:25:47] local.INFO: IMEI packet received {"connection_id":171506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":171506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:26:00] local.INFO: TCP Data received {"connection_id":171506,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:26:00] local.INFO: Processing buffer {"connection_id":171506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:26:00] local.INFO: IMEI packet received {"connection_id":171506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":171506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:26:01] local.INFO: TCP Data received {"connection_id":172900,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:26:01] local.INFO: Processing buffer {"connection_id":172900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:26:01] local.INFO: IMEI packet received {"connection_id":172900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":172900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:26:02] local.INFO: TCP Data received {"connection_id":171506,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:26:02] local.INFO: Processing buffer {"connection_id":171506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:26:02] local.INFO: IMEI packet received {"connection_id":171506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":171506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:26:02] local.INFO: TCP Data received {"connection_id":171506,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070587728012cf67500072e2538003a011e27..."} 
[2026-09-05 12:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070587728012cf67500072e2538003a011e27..."} 
[2026-09-05 12:26:02] local.INFO: Processing buffer {"connection_id":171506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070587728012cf67500072e2538003a011e27..."} 
[2026-09-05 12:26:02] local.INFO: Packet analysis {"connection_id":171506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07058"} 
[2026-09-05 12:26:02] local.INFO: Extracted packet for processing {"connection_id":171506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07058"} 
[2026-09-05 12:26:02] local.INFO: GPS Element Parsed {"raw_longitude":754349312,"raw_latitude":120464696,"longitude_deg":75.4349312,"latitude_deg":12.0464696,"altitude":58,"angle":286,"satellites":39,"speed":13,"hex_longitude":"2cf67500","hex_latitude":"072e2538","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879357440001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17663168968916992,"note":"Value kept but may cause issues"} 
[2026-09-05 12:26:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-687361862288486400,"note":"Value kept but may cause issues"} 
[2026-09-05 12:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788591241000,"timestamp_ms":1788591241000,"timestamp_seconds":1788591241,"priority":1,"record_length":96,"hex_timestamp":"000001a070587728"} 
[2026-09-05 12:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:26: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-09-05 12: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 12:26:02] 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-09-05 12: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-09-05 12:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879357440001,"66":14363,"79":206,"83":43776,"24":13,"16":17663168968916992,"44":-687361862288486400},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,44]} 
[2026-09-05 12:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879357440001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:26:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-05 12:26:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-09-05 12:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17663168968916992,"km_value":17663168968916.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:26:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-687361862288486400,"description":"Unknown IO ID 44"} 
[2026-09-05 12:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879357440001,"power":14363,"unknown_79":206,"unknown_83":43776,"ignition":13,"odometer":null,"unknown_44":-687361862288486400}} 
[2026-09-05 12:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":171506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:26:02] local.INFO: GPS data processed {"connection_id":171506,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:26:02] local.INFO: Acknowledgment sent {"connection_id":171506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:26:03] local.INFO: TCP Data received {"connection_id":171506,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070589e38012cf66180072e28c0003f011229..."} 
[2026-09-05 12:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070589e38012cf66180072e28c0003f011229..."} 
[2026-09-05 12:26:03] local.INFO: Processing buffer {"connection_id":171506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070589e38012cf66180072e28c0003f011229..."} 
[2026-09-05 12:26:03] local.INFO: Packet analysis {"connection_id":171506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07058"} 
[2026-09-05 12:26:03] local.INFO: Extracted packet for processing {"connection_id":171506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07058"} 
[2026-09-05 12:26:03] local.INFO: GPS Element Parsed {"raw_longitude":754344320,"raw_latitude":120465600,"longitude_deg":75.434432,"latitude_deg":12.04656,"altitude":63,"angle":274,"satellites":41,"speed":20,"hex_longitude":"2cf66180","hex_latitude":"072e28c0","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879357696001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17663409487085568,"note":"Value kept but may cause issues"} 
[2026-09-05 12:26:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-687643337265170432,"note":"Value kept but may cause issues"} 
[2026-09-05 12:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788591251000,"timestamp_ms":1788591251000,"timestamp_seconds":1788591251,"priority":1,"record_length":96,"hex_timestamp":"000001a070589e38"} 
[2026-09-05 12:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:26: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-09-05 12: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 12:26: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-09-05 12: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-09-05 12:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879357696001,"66":13928,"79":206,"83":43776,"24":20,"16":17663409487085568,"44":-687643337265170432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,44]} 
[2026-09-05 12:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879357696001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:26:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-05 12:26:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-09-05 12:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17663409487085568,"km_value":17663409487085.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:26:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-687643337265170432,"description":"Unknown IO ID 44"} 
[2026-09-05 12:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879357696001,"power":13928,"unknown_79":206,"unknown_83":43776,"ignition":20,"odometer":null,"unknown_44":-687643337265170432}} 
[2026-09-05 12:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":171506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:26:03] local.INFO: GPS data processed {"connection_id":171506,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:26:03] local.INFO: Acknowledgment sent {"connection_id":171506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:26:06] local.INFO: TCP Data received {"connection_id":172900,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:26:06] local.INFO: Processing buffer {"connection_id":172900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:26:06] local.INFO: IMEI packet received {"connection_id":172900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":172900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:26:08] local.INFO: TCP Data received {"connection_id":172900,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07057d318012d62d1c00626ef68000b00ad30..."} 
[2026-09-05 12:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07057d318012d62d1c00626ef68000b00ad30..."} 
[2026-09-05 12:26:08] local.INFO: Processing buffer {"connection_id":172900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07057d318012d62d1c00626ef68000b00ad30..."} 
[2026-09-05 12:26:08] local.INFO: Packet analysis {"connection_id":172900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07057"} 
[2026-09-05 12:26:08] local.INFO: Extracted packet for processing {"connection_id":172900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07057"} 
[2026-09-05 12:26:08] local.INFO: GPS Element Parsed {"raw_longitude":761450944,"raw_latitude":103214952,"longitude_deg":76.1450944,"latitude_deg":10.3214952,"altitude":11,"angle":173,"satellites":48,"speed":6,"hex_longitude":"2d62d1c0","hex_latitude":"0626ef68","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879341568001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399641686076030976,"note":"Value kept but may cause issues"} 
[2026-09-05 12:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7120542881017260032,"note":"Value kept but may cause issues"} 
[2026-09-05 12:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788591199000,"timestamp_ms":1788591199000,"timestamp_seconds":1788591199,"priority":1,"record_length":96,"hex_timestamp":"000001a07057d318"} 
[2026-09-05 12:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:26: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-09-05 12: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 12:26:08] 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-09-05 12: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-09-05 12:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:26: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-09-05 12:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879341568001,"66":27800,"89":206,"79":20992,"24":6,"16":399641686076030976,"45":7120542881017260032},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-09-05 12:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879341568001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:26:08] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-05 12:26:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399641686076030976,"km_value":399641686076031.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7120542881017260032,"description":"Unknown IO ID 45"} 
[2026-09-05 12:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879341568001,"power":27800,"unknown_89":206,"unknown_79":20992,"ignition":6,"odometer":null,"unknown_45":7120542881017260032}} 
[2026-09-05 12:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":172900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:26:08] local.INFO: GPS data processed {"connection_id":172900,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:26:08] local.INFO: Acknowledgment sent {"connection_id":172900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:26:39] local.INFO: TCP Data received {"connection_id":172900,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a070582520012d62d2000626ea78000b00a531..."} 
[2026-09-05 12:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070582520012d62d2000626ea78000b00a531..."} 
[2026-09-05 12:26:39] local.INFO: Processing buffer {"connection_id":172900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070582520012d62d2000626ea78000b00a531..."} 
[2026-09-05 12:26:39] local.INFO: Packet analysis {"connection_id":172900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07058"} 
[2026-09-05 12:26:39] local.INFO: Extracted packet for processing {"connection_id":172900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07058"} 
[2026-09-05 12:26:39] local.INFO: GPS Element Parsed {"raw_longitude":761451008,"raw_latitude":103213688,"longitude_deg":76.1451008,"latitude_deg":10.3213688,"altitude":11,"angle":165,"satellites":49,"speed":0,"hex_longitude":"2d62d200","hex_latitude":"0626ea78","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879346944001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399641754795507712,"note":"Value kept but may cause issues"} 
[2026-09-05 12:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7120683618505025536,"note":"Value kept but may cause issues"} 
[2026-09-05 12:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788591220000,"timestamp_ms":1788591220000,"timestamp_seconds":1788591220,"priority":1,"record_length":96,"hex_timestamp":"000001a070582520"} 
[2026-09-05 12:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:26:39] 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-09-05 12:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 12:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12: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-09-05 12:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:26:39] 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-09-05 12:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879346944001,"66":28028,"89":206,"79":20992,"24":0,"16":399641754795507712,"45":7120683618505025536},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-09-05 12:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879346944001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:26:39] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-05 12:26:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399641754795507712,"km_value":399641754795507.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":7120683618505025536,"description":"Unknown IO ID 45"} 
[2026-09-05 12:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879346944001,"power":28028,"unknown_89":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7120683618505025536}} 
[2026-09-05 12:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":172900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:26:39] local.INFO: GPS data processed {"connection_id":172900,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:26:39] local.INFO: Acknowledgment sent {"connection_id":172900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:26:50] local.INFO: TCP Data received {"connection_id":171507,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:26:50] local.INFO: Processing buffer {"connection_id":171507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:26:50] local.INFO: IMEI packet received {"connection_id":171507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":171507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:26:55] local.INFO: TCP Data received {"connection_id":171507,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:26:55] local.INFO: Processing buffer {"connection_id":171507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:26:55] local.INFO: IMEI packet received {"connection_id":171507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":171507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:26:56] local.INFO: TCP Data received {"connection_id":171507,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07059d6b8012cf57400072dacd0005200cd28..."} 
[2026-09-05 12:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07059d6b8012cf57400072dacd0005200cd28..."} 
[2026-09-05 12:26:56] local.INFO: Processing buffer {"connection_id":171507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07059d6b8012cf57400072dacd0005200cd28..."} 
[2026-09-05 12:26:56] local.INFO: Packet analysis {"connection_id":171507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07059"} 
[2026-09-05 12:26:56] local.INFO: Extracted packet for processing {"connection_id":171507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07059"} 
[2026-09-05 12:26:56] local.INFO: GPS Element Parsed {"raw_longitude":754283520,"raw_latitude":120433872,"longitude_deg":75.428352,"latitude_deg":12.0433872,"altitude":82,"angle":205,"satellites":40,"speed":45,"hex_longitude":"2cf57400","hex_latitude":"072dacd0","is_valid_coordinates":true} 
[2026-09-05 12:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879378432001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17666927065300992,"note":"Value kept but may cause issues"} 
[2026-09-05 12:26:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-755126962937169920,"note":"Value kept but may cause issues"} 
[2026-09-05 12:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788591331000,"timestamp_ms":1788591331000,"timestamp_seconds":1788591331,"priority":1,"record_length":96,"hex_timestamp":"000001a07059d6b8"} 
[2026-09-05 12:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:26:56] 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-09-05 12:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-05 12:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879378432001,"66":13798,"203":206,"83":44032,"24":45,"16":17666927065300992,"44":-755126962937169920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-09-05 12:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879378432001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:26:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17666927065300992,"km_value":17666927065300.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:26:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-755126962937169920,"description":"Unknown IO ID 44"} 
[2026-09-05 12:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879378432001,"power":13798,"mnc":206,"unknown_83":44032,"ignition":45,"odometer":null,"unknown_44":-755126962937169920}} 
[2026-09-05 12:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":171507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:26:56] local.INFO: GPS data processed {"connection_id":171507,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:26:56] local.INFO: Acknowledgment sent {"connection_id":171507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:26:56] local.INFO: TCP Data received {"connection_id":171806,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:26:56] local.INFO: Processing buffer {"connection_id":171806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:26:56] local.INFO: IMEI packet received {"connection_id":171806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":171806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:26:57] local.INFO: TCP Data received {"connection_id":171507,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07059f5f8012cf56580072d8ba0005300cb27..."} 
[2026-09-05 12:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07059f5f8012cf56580072d8ba0005300cb27..."} 
[2026-09-05 12:26:57] local.INFO: Processing buffer {"connection_id":171507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07059f5f8012cf56580072d8ba0005300cb27..."} 
[2026-09-05 12:26:57] local.INFO: Packet analysis {"connection_id":171507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07059"} 
[2026-09-05 12:26:57] local.INFO: Extracted packet for processing {"connection_id":171507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07059"} 
[2026-09-05 12:26:57] local.INFO: GPS Element Parsed {"raw_longitude":754279808,"raw_latitude":120425376,"longitude_deg":75.4279808,"latitude_deg":12.0425376,"altitude":83,"angle":203,"satellites":39,"speed":46,"hex_longitude":"2cf56580","hex_latitude":"072d8ba0","is_valid_coordinates":true} 
[2026-09-05 12:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879380736001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17667373741899776,"note":"Value kept but may cause issues"} 
[2026-09-05 12:26:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-759982406287699968,"note":"Value kept but may cause issues"} 
[2026-09-05 12:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788591339000,"timestamp_ms":1788591339000,"timestamp_seconds":1788591339,"priority":1,"record_length":96,"hex_timestamp":"000001a07059f5f8"} 
[2026-09-05 12:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 12:26:57] 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-09-05 12:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":171507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":171507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":171507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879380736001,"66":14004,"203":206,"83":44032,"24":46,"16":17667373741899776,"44":-759982406287699968},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-09-05 12:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879380736001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:26:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17667373741899776,"km_value":17667373741899.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:26:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-759982406287699968,"description":"Unknown IO ID 44"} 
[2026-09-05 12:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879380736001,"power":14004,"mnc":206,"unknown_83":44032,"ignition":46,"odometer":null,"unknown_44":-759982406287699968}} 
[2026-09-05 12:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":171507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:26:57] local.INFO: GPS data processed {"connection_id":171507,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:26:57] local.INFO: Acknowledgment sent {"connection_id":171507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:27:01] local.INFO: TCP Data received {"connection_id":171806,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:27:01] local.INFO: Processing buffer {"connection_id":171806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:27:01] local.INFO: IMEI packet received {"connection_id":171806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":171806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:27:03] local.INFO: TCP Data received {"connection_id":171806,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a070587728012d62d2c00626e6b8000d00a92f..."} 
[2026-09-05 12:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070587728012d62d2c00626e6b8000d00a92f..."} 
[2026-09-05 12:27:03] local.INFO: Processing buffer {"connection_id":171806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070587728012d62d2c00626e6b8000d00a92f..."} 
[2026-09-05 12:27:03] local.INFO: Packet analysis {"connection_id":171806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07058"} 
[2026-09-05 12:27:03] local.INFO: Extracted packet for processing {"connection_id":171806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07058"} 
[2026-09-05 12:27:03] local.INFO: GPS Element Parsed {"raw_longitude":761451200,"raw_latitude":103212728,"longitude_deg":76.14512,"latitude_deg":10.3212728,"altitude":13,"angle":169,"satellites":47,"speed":2,"hex_longitude":"2d62d2c0","hex_latitude":"0626e6b8","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879352320001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399641802040147968,"note":"Value kept but may cause issues"} 
[2026-09-05 12:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7120753987248879616,"note":"Value kept but may cause issues"} 
[2026-09-05 12:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788591241000,"timestamp_ms":1788591241000,"timestamp_seconds":1788591241,"priority":1,"record_length":96,"hex_timestamp":"000001a070587728"} 
[2026-09-05 12:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:27: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-09-05 12: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-05 12:27: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-09-05 12: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-09-05 12:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:27: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-09-05 12:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879352320001,"66":27952,"89":206,"79":20992,"24":2,"16":399641802040147968,"45":7120753987248879616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-09-05 12:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879352320001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:27:03] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-05 12:27:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399641802040147968,"km_value":399641802040147.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7120753987248879616,"description":"Unknown IO ID 45"} 
[2026-09-05 12:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879352320001,"power":27952,"unknown_89":206,"unknown_79":20992,"ignition":2,"odometer":null,"unknown_45":7120753987248879616}} 
[2026-09-05 12:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":171806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:27:03] local.INFO: GPS data processed {"connection_id":171806,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:27:03] local.INFO: Acknowledgment sent {"connection_id":171806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:27:28] local.INFO: TCP Data received {"connection_id":171507,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0705a1538012cf55580072d6c08005400d328..."} 
[2026-09-05 12:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0705a1538012cf55580072d6c08005400d328..."} 
[2026-09-05 12:27:28] local.INFO: Processing buffer {"connection_id":171507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0705a1538012cf55580072d6c08005400d328..."} 
[2026-09-05 12:27:28] local.INFO: Packet analysis {"connection_id":171507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0705a"} 
[2026-09-05 12:27:28] local.INFO: Extracted packet for processing {"connection_id":171507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0705a"} 
[2026-09-05 12:27:28] local.INFO: GPS Element Parsed {"raw_longitude":754275712,"raw_latitude":120417288,"longitude_deg":75.4275712,"latitude_deg":12.0417288,"altitude":84,"angle":211,"satellites":40,"speed":44,"hex_longitude":"2cf55580","hex_latitude":"072d6c08","is_valid_coordinates":true} 
[2026-09-05 12:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879382784001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17667811828563968,"note":"Value kept but may cause issues"} 
[2026-09-05 12:27:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-764063793452179456,"note":"Value kept but may cause issues"} 
[2026-09-05 12:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788591347000,"timestamp_ms":1788591347000,"timestamp_seconds":1788591347,"priority":1,"record_length":96,"hex_timestamp":"000001a0705a1538"} 
[2026-09-05 12:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:27:28] 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-09-05 12:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-05 12:27:28] 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-09-05 12:27:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":171507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":171507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":171507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879382784001,"66":14428,"203":206,"83":44032,"24":44,"16":17667811828563968,"44":-764063793452179456},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-09-05 12:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879382784001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:27:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17667811828563968,"km_value":17667811828563.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:27:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-764063793452179456,"description":"Unknown IO ID 44"} 
[2026-09-05 12:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879382784001,"power":14428,"mnc":206,"unknown_83":44032,"ignition":44,"odometer":null,"unknown_44":-764063793452179456}} 
[2026-09-05 12:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":171507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:27:28] local.INFO: GPS data processed {"connection_id":171507,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:27:28] local.INFO: Acknowledgment sent {"connection_id":171507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:27:35] local.INFO: TCP Data received {"connection_id":171806,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07058c930012d62d3400626e300000e00a72f..."} 
[2026-09-05 12:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07058c930012d62d3400626e300000e00a72f..."} 
[2026-09-05 12:27:35] local.INFO: Processing buffer {"connection_id":171806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07058c930012d62d3400626e300000e00a72f..."} 
[2026-09-05 12:27:35] local.INFO: Packet analysis {"connection_id":171806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07058"} 
[2026-09-05 12:27:35] local.INFO: Extracted packet for processing {"connection_id":171806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07058"} 
[2026-09-05 12:27:35] local.INFO: GPS Element Parsed {"raw_longitude":761451328,"raw_latitude":103211776,"longitude_deg":76.1451328,"latitude_deg":10.3211776,"altitude":14,"angle":167,"satellites":47,"speed":0,"hex_longitude":"2d62d340","hex_latitude":"0626e300","is_valid_coordinates":true} 
[2026-09-05 12:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879357696001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399641849284788224,"note":"Value kept but may cause issues"} 
[2026-09-05 12:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7120965093481166848,"note":"Value kept but may cause issues"} 
[2026-09-05 12:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788591262000,"timestamp_ms":1788591262000,"timestamp_seconds":1788591262,"priority":1,"record_length":96,"hex_timestamp":"000001a07058c930"} 
[2026-09-05 12:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:27:35] 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-09-05 12:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-05 12:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879357696001,"66":28104,"89":206,"79":20992,"24":0,"16":399641849284788224,"45":7120965093481166848},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-09-05 12:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879357696001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:27:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-05 12:27:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399641849284788224,"km_value":399641849284788.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7120965093481166848,"description":"Unknown IO ID 45"} 
[2026-09-05 12:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879357696001,"power":28104,"unknown_89":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7120965093481166848}} 
[2026-09-05 12:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":171806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:27:35] local.INFO: GPS data processed {"connection_id":171806,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:27:35] local.INFO: Acknowledgment sent {"connection_id":171806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:27:45] local.INFO: TCP Data received {"connection_id":172901,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:27:45] local.INFO: Processing buffer {"connection_id":172901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:27:45] local.INFO: IMEI packet received {"connection_id":172901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":172901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:27:45] local.INFO: TCP Data received {"connection_id":172901,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:27:45] local.INFO: Processing buffer {"connection_id":172901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:27:45] local.INFO: IMEI packet received {"connection_id":172901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":172901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:27:50] local.INFO: TCP Data received {"connection_id":172901,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:27:50] local.INFO: Processing buffer {"connection_id":172901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:27:50] local.INFO: IMEI packet received {"connection_id":172901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":172901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:27:52] local.INFO: TCP Data received {"connection_id":172901,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0705a3860012cf53f80072d4d00005400de29..."} 
[2026-09-05 12:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0705a3860012cf53f80072d4d00005400de29..."} 
[2026-09-05 12:27:52] local.INFO: Processing buffer {"connection_id":172901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0705a3860012cf53f80072d4d00005400de29..."} 
[2026-09-05 12:27:52] local.INFO: Packet analysis {"connection_id":172901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0705a"} 
[2026-09-05 12:27:52] local.INFO: Extracted packet for processing {"connection_id":172901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0705a"} 
[2026-09-05 12:27:52] local.INFO: GPS Element Parsed {"raw_longitude":754270080,"raw_latitude":120409344,"longitude_deg":75.427008,"latitude_deg":12.0409344,"altitude":84,"angle":222,"satellites":41,"speed":41,"hex_longitude":"2cf53f80","hex_latitude":"072d4d00","is_valid_coordinates":true} 
[2026-09-05 12:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879384832001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17668279979999232,"note":"Value kept but may cause issues"} 
[2026-09-05 12:27:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-768567393081620480,"note":"Value kept but may cause issues"} 
[2026-09-05 12:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788591356000,"timestamp_ms":1788591356000,"timestamp_seconds":1788591356,"priority":1,"record_length":96,"hex_timestamp":"000001a0705a3860"} 
[2026-09-05 12:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:27: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-09-05 12:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 12:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:27:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879384832001,"66":13961,"203":206,"83":44032,"24":41,"16":17668279979999232,"44":-768567393081620480},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-09-05 12:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879384832001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:27:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17668279979999232,"km_value":17668279979999.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:27:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-768567393081620480,"description":"Unknown IO ID 44"} 
[2026-09-05 12:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879384832001,"power":13961,"mnc":206,"unknown_83":44032,"ignition":41,"odometer":null,"unknown_44":-768567393081620480}} 
[2026-09-05 12:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":172901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:27:52] local.INFO: GPS data processed {"connection_id":172901,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:27:52] local.INFO: Acknowledgment sent {"connection_id":172901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:27:53] local.INFO: TCP Data received {"connection_id":172901,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0705a4418012cf53700072d4528005500ea29..."} 
[2026-09-05 12:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0705a4418012cf53700072d4528005500ea29..."} 
[2026-09-05 12:27:53] local.INFO: Processing buffer {"connection_id":172901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0705a4418012cf53700072d4528005500ea29..."} 
[2026-09-05 12:27:53] local.INFO: Packet analysis {"connection_id":172901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0705a"} 
[2026-09-05 12:27:53] local.INFO: Extracted packet for processing {"connection_id":172901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0705a"} 
[2026-09-05 12:27:53] local.INFO: GPS Element Parsed {"raw_longitude":754267904,"raw_latitude":120407336,"longitude_deg":75.4267904,"latitude_deg":12.0407336,"altitude":85,"angle":234,"satellites":41,"speed":39,"hex_longitude":"2cf53700","hex_latitude":"072d4528","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879387136001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17668426008887296,"note":"Value kept but may cause issues"} 
[2026-09-05 12:27:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-774759842571288576,"note":"Value kept but may cause issues"} 
[2026-09-05 12:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788591359000,"timestamp_ms":1788591359000,"timestamp_seconds":1788591359,"priority":1,"record_length":96,"hex_timestamp":"000001a0705a4418"} 
[2026-09-05 12:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12: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":137,"data_length":795,"current_offset":136} 
[2026-09-05 12:27:53] 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-09-05 12: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-09-05 12:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879387136001,"66":14243,"229":206,"83":44032,"24":39,"16":17668426008887296,"44":-774759842571288576},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-09-05 12:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879387136001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:27:53] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 12:27:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17668426008887296,"km_value":17668426008887.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:27:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-774759842571288576,"description":"Unknown IO ID 44"} 
[2026-09-05 12:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879387136001,"power":14243,"unknown_229":206,"unknown_83":44032,"ignition":39,"odometer":null,"unknown_44":-774759842571288576}} 
[2026-09-05 12:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":172901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:27:53] local.INFO: GPS data processed {"connection_id":172901,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:27:53] local.INFO: Acknowledgment sent {"connection_id":172901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:28:01] local.INFO: TCP Data received {"connection_id":171808,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:28:01] local.INFO: Processing buffer {"connection_id":171808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:28:01] local.INFO: IMEI packet received {"connection_id":171808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":171808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:28:06] local.INFO: TCP Data received {"connection_id":171808,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:28:06] local.INFO: Processing buffer {"connection_id":171808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:28:06] local.INFO: IMEI packet received {"connection_id":171808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":171808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:28:07] local.INFO: TCP Data received {"connection_id":171808,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0705ad4a0012d62df800626b6a8000e009c2d..."} 
[2026-09-05 12:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0705ad4a0012d62df800626b6a8000e009c2d..."} 
[2026-09-05 12:28:07] local.INFO: Processing buffer {"connection_id":171808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0705ad4a0012d62df800626b6a8000e009c2d..."} 
[2026-09-05 12:28:07] local.INFO: Packet analysis {"connection_id":171808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0705a"} 
[2026-09-05 12:28:07] local.INFO: Extracted packet for processing {"connection_id":171808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0705a"} 
[2026-09-05 12:28:07] local.INFO: GPS Element Parsed {"raw_longitude":761454464,"raw_latitude":103200424,"longitude_deg":76.1454464,"latitude_deg":10.3200424,"altitude":14,"angle":156,"satellites":45,"speed":5,"hex_longitude":"2d62df80","hex_latitude":"0626b6a8","is_valid_coordinates":true} 
[2026-09-05 12:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879396608001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399642446285242368,"note":"Value kept but may cause issues"} 
[2026-09-05 12:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7124413161942843392,"note":"Value kept but may cause issues"} 
[2026-09-05 12:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788591396000,"timestamp_ms":1788591396000,"timestamp_seconds":1788591396,"priority":1,"record_length":96,"hex_timestamp":"000001a0705ad4a0"} 
[2026-09-05 12:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:28: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-09-05 12:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 12:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:28: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-09-05 12:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879396608001,"66":27919,"88":206,"79":20992,"24":5,"16":399642446285242368,"45":7124413161942843392},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,79,24,16,45]} 
[2026-09-05 12:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879396608001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:28:07] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-05 12:28:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399642446285242368,"km_value":399642446285242.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":7124413161942843392,"description":"Unknown IO ID 45"} 
[2026-09-05 12:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879396608001,"power":27919,"unknown_88":206,"unknown_79":20992,"ignition":5,"odometer":null,"unknown_45":7124413161942843392}} 
[2026-09-05 12:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":171808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:28:07] local.INFO: GPS data processed {"connection_id":171808,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:28:07] local.INFO: Acknowledgment sent {"connection_id":171808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:28:24] local.INFO: TCP Data received {"connection_id":172901,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0705a4fd0012cf52cc0072d3fa8005400f629..."} 
[2026-09-05 12:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0705a4fd0012cf52cc0072d3fa8005400f629..."} 
[2026-09-05 12:28:24] local.INFO: Processing buffer {"connection_id":172901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0705a4fd0012cf52cc0072d3fa8005400f629..."} 
[2026-09-05 12:28:24] local.INFO: Packet analysis {"connection_id":172901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0705a"} 
[2026-09-05 12:28:24] local.INFO: Extracted packet for processing {"connection_id":172901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0705a"} 
[2026-09-05 12:28:24] local.INFO: GPS Element Parsed {"raw_longitude":754265280,"raw_latitude":120405928,"longitude_deg":75.426528,"latitude_deg":12.0405928,"altitude":84,"angle":246,"satellites":41,"speed":36,"hex_longitude":"2cf52cc0","hex_latitude":"072d3fa8","is_valid_coordinates":true} 
[2026-09-05 12:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879387904001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17668563447840768,"note":"Value kept but may cause issues"} 
[2026-09-05 12:28:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-777152379873843200,"note":"Value kept but may cause issues"} 
[2026-09-05 12:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788591362000,"timestamp_ms":1788591362000,"timestamp_seconds":1788591362,"priority":1,"record_length":96,"hex_timestamp":"000001a0705a4fd0"} 
[2026-09-05 12:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-05 12:28:24] 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-09-05 12:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879387904001,"66":14341,"229":206,"83":44032,"24":36,"16":17668563447840768,"44":-777152379873843200},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-09-05 12:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879387904001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:28:24] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 12:28:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17668563447840768,"km_value":17668563447840.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:28:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-777152379873843200,"description":"Unknown IO ID 44"} 
[2026-09-05 12:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879387904001,"power":14341,"unknown_229":206,"unknown_83":44032,"ignition":36,"odometer":null,"unknown_44":-777152379873843200}} 
[2026-09-05 12:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":172901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:28:24] local.INFO: GPS data processed {"connection_id":172901,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:28:24] local.INFO: Acknowledgment sent {"connection_id":172901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:28:38] local.INFO: TCP Data received {"connection_id":171808,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0705b26a8012d62e74006269e20000c00a030..."} 
[2026-09-05 12:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0705b26a8012d62e74006269e20000c00a030..."} 
[2026-09-05 12:28:38] local.INFO: Processing buffer {"connection_id":171808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0705b26a8012d62e74006269e20000c00a030..."} 
[2026-09-05 12:28:38] local.INFO: Packet analysis {"connection_id":171808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0705b"} 
[2026-09-05 12:28:38] local.INFO: Extracted packet for processing {"connection_id":171808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0705b"} 
[2026-09-05 12:28:38] local.INFO: GPS Element Parsed {"raw_longitude":761456448,"raw_latitude":103194144,"longitude_deg":76.1456448,"latitude_deg":10.3194144,"altitude":12,"angle":160,"satellites":48,"speed":27,"hex_longitude":"2d62e740","hex_latitude":"06269e20","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879397376001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399642768407789568,"note":"Value kept but may cause issues"} 
[2026-09-05 12:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7124553899431077888,"note":"Value kept but may cause issues"} 
[2026-09-05 12:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788591417000,"timestamp_ms":1788591417000,"timestamp_seconds":1788591417,"priority":1,"record_length":96,"hex_timestamp":"000001a0705b26a8"} 
[2026-09-05 12:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:28: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-09-05 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 12:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12: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-09-05 12:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:28: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-09-05 12:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879397376001,"66":27821,"88":206,"79":20992,"24":27,"16":399642768407789568,"45":7124553899431077888},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,79,24,16,45]} 
[2026-09-05 12:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879397376001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:28:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-05 12:28:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399642768407789568,"km_value":399642768407789.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7124553899431077888,"description":"Unknown IO ID 45"} 
[2026-09-05 12:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879397376001,"power":27821,"unknown_88":206,"unknown_79":20992,"ignition":27,"odometer":null,"unknown_45":7124553899431077888}} 
[2026-09-05 12:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":171808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:28:38] local.INFO: GPS data processed {"connection_id":171808,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:28:38] local.INFO: Acknowledgment sent {"connection_id":171808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:28:44] local.INFO: TCP Data received {"connection_id":172902,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:28:44] local.INFO: Processing buffer {"connection_id":172902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:28:44] local.INFO: IMEI packet received {"connection_id":172902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":172902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:28:46] local.INFO: TCP Data received {"connection_id":172902,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:28:46] local.INFO: Processing buffer {"connection_id":172902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:28:46] local.INFO: IMEI packet received {"connection_id":172902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":172902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:28:50] local.INFO: TCP Data received {"connection_id":172902,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:28:50] local.INFO: Processing buffer {"connection_id":172902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:28:50] local.INFO: IMEI packet received {"connection_id":172902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":172902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:28:51] local.INFO: TCP Data received {"connection_id":172902,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0705bf5b0012cf3ad00072d0d480056010d22..."} 
[2026-09-05 12:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0705bf5b0012cf3ad00072d0d480056010d22..."} 
[2026-09-05 12:28:51] local.INFO: Processing buffer {"connection_id":172902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0705bf5b0012cf3ad00072d0d480056010d22..."} 
[2026-09-05 12:28:51] local.INFO: Packet analysis {"connection_id":172902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0705b"} 
[2026-09-05 12:28:51] local.INFO: Extracted packet for processing {"connection_id":172902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0705b"} 
[2026-09-05 12:28:51] local.INFO: GPS Element Parsed {"raw_longitude":754167040,"raw_latitude":120393032,"longitude_deg":75.416704,"latitude_deg":12.0393032,"altitude":86,"angle":269,"satellites":34,"speed":49,"hex_longitude":"2cf3ad00","hex_latitude":"072d0d48","is_valid_coordinates":true} 
[2026-09-05 12:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879414272001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17673275026964480,"note":"Value kept but may cause issues"} 
[2026-09-05 12:28:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-877498209074745344,"note":"Value kept but may cause issues"} 
[2026-09-05 12:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788591470000,"timestamp_ms":1788591470000,"timestamp_seconds":1788591470,"priority":1,"record_length":96,"hex_timestamp":"000001a0705bf5b0"} 
[2026-09-05 12:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-09-05 12:28:51] 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-09-05 12:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879414272001,"66":13906,"217":206,"83":44032,"24":49,"16":17673275026964480,"44":-877498209074745344},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,44]} 
[2026-09-05 12:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879414272001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:28:51] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-05 12:28:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17673275026964480,"km_value":17673275026964.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:28:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-877498209074745344,"description":"Unknown IO ID 44"} 
[2026-09-05 12:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879414272001,"power":13906,"unknown_217":206,"unknown_83":44032,"ignition":49,"odometer":null,"unknown_44":-877498209074745344}} 
[2026-09-05 12:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":172902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:28:51] local.INFO: GPS data processed {"connection_id":172902,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:28:51] local.INFO: Acknowledgment sent {"connection_id":172902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:28:56] local.INFO: TCP Data received {"connection_id":171510,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:28:56] local.INFO: Processing buffer {"connection_id":171510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:28:56] local.INFO: IMEI packet received {"connection_id":171510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":171510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:29:01] local.INFO: TCP Data received {"connection_id":171510,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:29:01] local.INFO: Processing buffer {"connection_id":171510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:29:01] local.INFO: IMEI packet received {"connection_id":171510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":171510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:29:02] local.INFO: TCP Data received {"connection_id":171510,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0705b5588012d62f4c006267c20000d009e30..."} 
[2026-09-05 12:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0705b5588012d62f4c006267c20000d009e30..."} 
[2026-09-05 12:29:02] local.INFO: Processing buffer {"connection_id":171510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0705b5588012d62f4c006267c20000d009e30..."} 
[2026-09-05 12:29:02] local.INFO: Packet analysis {"connection_id":171510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0705b"} 
[2026-09-05 12:29:02] local.INFO: Extracted packet for processing {"connection_id":171510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0705b"} 
[2026-09-05 12:29:02] local.INFO: GPS Element Parsed {"raw_longitude":761459904,"raw_latitude":103185440,"longitude_deg":76.1459904,"latitude_deg":10.318544,"altitude":13,"angle":158,"satellites":48,"speed":32,"hex_longitude":"2d62f4c0","hex_latitude":"06267c20","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879402752001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399643223674322944,"note":"Value kept but may cause issues"} 
[2026-09-05 12:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7126735330498977792,"note":"Value kept but may cause issues"} 
[2026-09-05 12:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788591429000,"timestamp_ms":1788591429000,"timestamp_seconds":1788591429,"priority":1,"record_length":96,"hex_timestamp":"000001a0705b5588"} 
[2026-09-05 12:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:29: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-09-05 12:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 12:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12: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-09-05 12:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879402752001,"66":27974,"88":206,"79":20992,"24":32,"16":399643223674322944,"45":7126735330498977792},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,79,24,16,45]} 
[2026-09-05 12:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879402752001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:29:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-05 12:29:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399643223674322944,"km_value":399643223674322.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7126735330498977792,"description":"Unknown IO ID 45"} 
[2026-09-05 12:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879402752001,"power":27974,"unknown_88":206,"unknown_79":20992,"ignition":32,"odometer":null,"unknown_45":7126735330498977792}} 
[2026-09-05 12:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":171510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:29:02] local.INFO: GPS data processed {"connection_id":171510,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:29:02] local.INFO: Acknowledgment sent {"connection_id":171510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:29:23] local.INFO: TCP Data received {"connection_id":172902,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0705c14f0012cf38500072d0e600057011025..."} 
[2026-09-05 12:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0705c14f0012cf38500072d0e600057011025..."} 
[2026-09-05 12:29:23] local.INFO: Processing buffer {"connection_id":172902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0705c14f0012cf38500072d0e600057011025..."} 
[2026-09-05 12:29:23] local.INFO: Packet analysis {"connection_id":172902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0705c"} 
[2026-09-05 12:29:23] local.INFO: Extracted packet for processing {"connection_id":172902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0705c"} 
[2026-09-05 12:29:23] local.INFO: GPS Element Parsed {"raw_longitude":754156800,"raw_latitude":120393312,"longitude_deg":75.41568,"latitude_deg":12.0393312,"altitude":87,"angle":272,"satellites":37,"speed":49,"hex_longitude":"2cf38500","hex_latitude":"072d0e60","is_valid_coordinates":true} 
[2026-09-05 12:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879416320001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17673760358268928,"note":"Value kept but may cause issues"} 
[2026-09-05 12:29:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-888053520701503488,"note":"Value kept but may cause issues"} 
[2026-09-05 12:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788591478000,"timestamp_ms":1788591478000,"timestamp_seconds":1788591478,"priority":1,"record_length":96,"hex_timestamp":"000001a0705c14f0"} 
[2026-09-05 12:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:29: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-09-05 12:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-05 12:29:23] 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-09-05 12:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879416320001,"66":13820,"217":206,"83":44032,"24":49,"16":17673760358268928,"44":-888053520701503488},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,44]} 
[2026-09-05 12:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879416320001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:29:23] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-05 12:29:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17673760358268928,"km_value":17673760358268.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:29:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-888053520701503488,"description":"Unknown IO ID 44"} 
[2026-09-05 12:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879416320001,"power":13820,"unknown_217":206,"unknown_83":44032,"ignition":49,"odometer":null,"unknown_44":-888053520701503488}} 
[2026-09-05 12:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":172902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:29:23] local.INFO: GPS data processed {"connection_id":172902,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:29:23] local.INFO: Acknowledgment sent {"connection_id":172902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:29:34] local.INFO: TCP Data received {"connection_id":171510,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0705b8080012d6302c006265b98000c009c2b..."} 
[2026-09-05 12:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0705b8080012d6302c006265b98000c009c2b..."} 
[2026-09-05 12:29:34] local.INFO: Processing buffer {"connection_id":171510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0705b8080012d6302c006265b98000c009c2b..."} 
[2026-09-05 12:29:34] local.INFO: Packet analysis {"connection_id":171510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0705b"} 
[2026-09-05 12:29:34] local.INFO: Extracted packet for processing {"connection_id":171510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0705b"} 
[2026-09-05 12:29:34] local.INFO: GPS Element Parsed {"raw_longitude":761463488,"raw_latitude":103177112,"longitude_deg":76.1463488,"latitude_deg":10.3177112,"altitude":12,"angle":156,"satellites":43,"speed":35,"hex_longitude":"2d6302c0","hex_latitude":"06265b98","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879405824001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399643661760987136,"note":"Value kept but may cause issues"} 
[2026-09-05 12:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7130535242682343424,"note":"Value kept but may cause issues"} 
[2026-09-05 12:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788591440000,"timestamp_ms":1788591440000,"timestamp_seconds":1788591440,"priority":1,"record_length":96,"hex_timestamp":"000001a0705b8080"} 
[2026-09-05 12:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:29: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-09-05 12:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 12:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12: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-09-05 12:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879405824001,"66":27919,"88":206,"79":20992,"24":35,"16":399643661760987136,"45":7130535242682343424},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,79,24,16,45]} 
[2026-09-05 12:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879405824001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:29:34] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-05 12:29:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399643661760987136,"km_value":399643661760987.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7130535242682343424,"description":"Unknown IO ID 45"} 
[2026-09-05 12:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879405824001,"power":27919,"unknown_88":206,"unknown_79":20992,"ignition":35,"odometer":null,"unknown_45":7130535242682343424}} 
[2026-09-05 12:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":171510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:29:34] local.INFO: GPS data processed {"connection_id":171510,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:29:34] local.INFO: Acknowledgment sent {"connection_id":171510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:29:45] local.INFO: TCP Data received {"connection_id":172903,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:29:45] local.INFO: Processing buffer {"connection_id":172903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:29:45] local.INFO: IMEI packet received {"connection_id":172903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":172903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:29:50] local.INFO: TCP Data received {"connection_id":172903,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:29:50] local.INFO: Processing buffer {"connection_id":172903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:29:50] local.INFO: IMEI packet received {"connection_id":172903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":172903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:29:51] local.INFO: TCP Data received {"connection_id":172903,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0705c3430012cf35cc0072d10b80056011129..."} 
[2026-09-05 12:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0705c3430012cf35cc0072d10b80056011129..."} 
[2026-09-05 12:29:51] local.INFO: Processing buffer {"connection_id":172903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0705c3430012cf35cc0072d10b80056011129..."} 
[2026-09-05 12:29:51] local.INFO: Packet analysis {"connection_id":172903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0705c"} 
[2026-09-05 12:29:51] local.INFO: Extracted packet for processing {"connection_id":172903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0705c"} 
[2026-09-05 12:29:51] local.INFO: GPS Element Parsed {"raw_longitude":754146496,"raw_latitude":120393912,"longitude_deg":75.4146496,"latitude_deg":12.0393912,"altitude":86,"angle":273,"satellites":41,"speed":51,"hex_longitude":"2cf35cc0","hex_latitude":"072d10b8","is_valid_coordinates":true} 
[2026-09-05 12:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879418368001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17674245689573376,"note":"Value kept but may cause issues"} 
[2026-09-05 12:29:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-899312519769858048,"note":"Value kept but may cause issues"} 
[2026-09-05 12:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788591486000,"timestamp_ms":1788591486000,"timestamp_seconds":1788591486,"priority":1,"record_length":96,"hex_timestamp":"000001a0705c3430"} 
[2026-09-05 12:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-05 12:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:29:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879418368001,"66":14450,"217":206,"83":44032,"24":51,"16":17674245689573376,"44":-899312519769858048},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,44]} 
[2026-09-05 12:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879418368001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:29:51] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-05 12:29:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17674245689573376,"km_value":17674245689573.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:29:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-899312519769858048,"description":"Unknown IO ID 44"} 
[2026-09-05 12:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879418368001,"power":14450,"unknown_217":206,"unknown_83":44032,"ignition":51,"odometer":null,"unknown_44":-899312519769858048}} 
[2026-09-05 12:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":172903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:29:51] local.INFO: GPS data processed {"connection_id":172903,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:29:51] local.INFO: Acknowledgment sent {"connection_id":172903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:30:01] local.INFO: TCP Data received {"connection_id":171511,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:30:01] local.INFO: Processing buffer {"connection_id":171511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:30:01] local.INFO: IMEI packet received {"connection_id":171511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":171511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:30:03] local.INFO: TCP Data received {"connection_id":171511,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:30:03] local.INFO: Processing buffer {"connection_id":171511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:30:03] local.INFO: IMEI packet received {"connection_id":171511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":171511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:30:04] local.INFO: TCP Data received {"connection_id":171511,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0705d0720012d63870006255c000009009e2d..."} 
[2026-09-05 12:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0705d0720012d63870006255c000009009e2d..."} 
[2026-09-05 12:30:04] local.INFO: Processing buffer {"connection_id":171511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0705d0720012d63870006255c000009009e2d..."} 
[2026-09-05 12:30:04] local.INFO: Packet analysis {"connection_id":171511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0705d"} 
[2026-09-05 12:30:04] local.INFO: Extracted packet for processing {"connection_id":171511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0705d"} 
[2026-09-05 12:30:04] local.INFO: GPS Element Parsed {"raw_longitude":761497344,"raw_latitude":103111680,"longitude_deg":76.1497344,"latitude_deg":10.311168,"altitude":9,"angle":158,"satellites":45,"speed":37,"hex_longitude":"2d638700","hex_latitude":"06255c00","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879432192001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399647282418417664,"note":"Value kept but may cause issues"} 
[2026-09-05 12:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7167901045823922176,"note":"Value kept but may cause issues"} 
[2026-09-05 12:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788591540000,"timestamp_ms":1788591540000,"timestamp_seconds":1788591540,"priority":1,"record_length":96,"hex_timestamp":"000001a0705d0720"} 
[2026-09-05 12:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:30: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-09-05 12:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 12:30: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-09-05 12: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-09-05 12:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:30: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-09-05 12:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879432192001,"66":27908,"51":206,"79":20992,"24":37,"16":399647282418417664,"45":7167901045823922176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,79,24,16,45]} 
[2026-09-05 12:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879432192001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:30:04] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-05 12:30:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399647282418417664,"km_value":399647282418417.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7167901045823922176,"description":"Unknown IO ID 45"} 
[2026-09-05 12:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879432192001,"power":27908,"unknown_51":206,"unknown_79":20992,"ignition":37,"odometer":null,"unknown_45":7167901045823922176}} 
[2026-09-05 12:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":171511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:30:04] local.INFO: GPS data processed {"connection_id":171511,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:30:04] local.INFO: Acknowledgment sent {"connection_id":171511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:30:06] local.INFO: TCP Data received {"connection_id":171511,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0705d2a48012d63924006253820000800a12d..."} 
[2026-09-05 12:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0705d2a48012d63924006253820000800a12d..."} 
[2026-09-05 12:30:07] local.INFO: Processing buffer {"connection_id":171511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0705d2a48012d63924006253820000800a12d..."} 
[2026-09-05 12:30:07] local.INFO: Packet analysis {"connection_id":171511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0705d"} 
[2026-09-05 12:30:07] local.INFO: Extracted packet for processing {"connection_id":171511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0705d"} 
[2026-09-05 12:30:07] local.INFO: GPS Element Parsed {"raw_longitude":761500224,"raw_latitude":103102496,"longitude_deg":76.1500224,"latitude_deg":10.3102496,"altitude":8,"angle":161,"satellites":45,"speed":47,"hex_longitude":"2d639240","hex_latitude":"06253820","is_valid_coordinates":true} 
[2026-09-05 12:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879434240001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399647750569852928,"note":"Value kept but may cause issues"} 
[2026-09-05 12:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7171700958007394304,"note":"Value kept but may cause issues"} 
[2026-09-05 12:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788591549000,"timestamp_ms":1788591549000,"timestamp_seconds":1788591549,"priority":1,"record_length":96,"hex_timestamp":"000001a0705d2a48"} 
[2026-09-05 12:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:30:07] 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-09-05 12:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 12:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:30: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-09-05 12:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879434240001,"66":27876,"51":206,"79":20992,"24":47,"16":399647750569852928,"45":7171700958007394304},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,79,24,16,45]} 
[2026-09-05 12:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879434240001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:30:07] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-05 12:30:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399647750569852928,"km_value":399647750569852.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":7171700958007394304,"description":"Unknown IO ID 45"} 
[2026-09-05 12:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879434240001,"power":27876,"unknown_51":206,"unknown_79":20992,"ignition":47,"odometer":null,"unknown_45":7171700958007394304}} 
[2026-09-05 12:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":171511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:30:07] local.INFO: GPS data processed {"connection_id":171511,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:30:07] local.INFO: Acknowledgment sent {"connection_id":171511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:30:22] local.INFO: TCP Data received {"connection_id":172903,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0705c5370012cf335c0072d14180055011326..."} 
[2026-09-05 12:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0705c5370012cf335c0072d14180055011326..."} 
[2026-09-05 12:30:22] local.INFO: Processing buffer {"connection_id":172903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0705c5370012cf335c0072d14180055011326..."} 
[2026-09-05 12:30:22] local.INFO: Packet analysis {"connection_id":172903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0705c"} 
[2026-09-05 12:30:22] local.INFO: Extracted packet for processing {"connection_id":172903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0705c"} 
[2026-09-05 12:30:22] local.INFO: GPS Element Parsed {"raw_longitude":754136512,"raw_latitude":120394776,"longitude_deg":75.4136512,"latitude_deg":12.0394776,"altitude":85,"angle":275,"satellites":38,"speed":46,"hex_longitude":"2cf335c0","hex_latitude":"072d1418","is_valid_coordinates":true} 
[2026-09-05 12:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879420416001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17674722430943232,"note":"Value kept but may cause issues"} 
[2026-09-05 12:30:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-910641887582308352,"note":"Value kept but may cause issues"} 
[2026-09-05 12:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788591494000,"timestamp_ms":1788591494000,"timestamp_seconds":1788591494,"priority":1,"record_length":96,"hex_timestamp":"000001a0705c5370"} 
[2026-09-05 12:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-05 12:30:22] 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-09-05 12:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879420416001,"66":14265,"219":206,"83":44032,"24":46,"16":17674722430943232,"44":-910641887582308352},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-05 12:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879420416001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:30:22] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-05 12:30:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17674722430943232,"km_value":17674722430943.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:30:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-910641887582308352,"description":"Unknown IO ID 44"} 
[2026-09-05 12:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879420416001,"power":14265,"unknown_219":206,"unknown_83":44032,"ignition":46,"odometer":null,"unknown_44":-910641887582308352}} 
[2026-09-05 12:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":172903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:30:22] local.INFO: GPS data processed {"connection_id":172903,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:30:22] local.INFO: Acknowledgment sent {"connection_id":172903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:30:32] local.INFO: TCP Data received {"connection_id":172904,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172904,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:30:32] local.INFO: Processing buffer {"connection_id":172904,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:30:32] local.INFO: IMEI packet received {"connection_id":172904,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 12:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":172904,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:30:39] local.INFO: TCP Data received {"connection_id":171511,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0705d4988012d639fc006251338000700a12f..."} 
[2026-09-05 12:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0705d4988012d639fc006251338000700a12f..."} 
[2026-09-05 12:30:39] local.INFO: Processing buffer {"connection_id":171511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0705d4988012d639fc006251338000700a12f..."} 
[2026-09-05 12:30:39] local.INFO: Packet analysis {"connection_id":171511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0705d"} 
[2026-09-05 12:30:39] local.INFO: Extracted packet for processing {"connection_id":171511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0705d"} 
[2026-09-05 12:30:39] local.INFO: GPS Element Parsed {"raw_longitude":761503680,"raw_latitude":103093048,"longitude_deg":76.150368,"latitude_deg":10.3093048,"altitude":7,"angle":161,"satellites":47,"speed":49,"hex_longitude":"2d639fc0","hex_latitude":"06251338","is_valid_coordinates":true} 
[2026-09-05 12:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879436544001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399648235901157376,"note":"Value kept but may cause issues"} 
[2026-09-05 12:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7174867551493038080,"note":"Value kept but may cause issues"} 
[2026-09-05 12:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788591557000,"timestamp_ms":1788591557000,"timestamp_seconds":1788591557,"priority":1,"record_length":96,"hex_timestamp":"000001a0705d4988"} 
[2026-09-05 12:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:30: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-09-05 12:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 12:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:30:39] 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-09-05 12:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879436544001,"66":27984,"253":206,"79":20992,"24":49,"16":399648235901157376,"45":7174867551493038080},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,79,24,16,45]} 
[2026-09-05 12:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879436544001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:30:39] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-09-05 12:30:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399648235901157376,"km_value":399648235901157.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":7174867551493038080,"description":"Unknown IO ID 45"} 
[2026-09-05 12:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879436544001,"power":27984,"unknown_253":206,"unknown_79":20992,"ignition":49,"odometer":null,"unknown_45":7174867551493038080}} 
[2026-09-05 12:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":171511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:30:39] local.INFO: GPS data processed {"connection_id":171511,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:30:39] local.INFO: Acknowledgment sent {"connection_id":171511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:30:44] local.INFO: TCP Data received {"connection_id":174211,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:30:44] local.INFO: Processing buffer {"connection_id":174211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:30:44] local.INFO: IMEI packet received {"connection_id":174211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":174211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:30:45] local.INFO: TCP Data received {"connection_id":174211,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:30:45] local.INFO: Processing buffer {"connection_id":174211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:30:45] local.INFO: IMEI packet received {"connection_id":174211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":174211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:30:47] local.INFO: TCP Data received {"connection_id":174211,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:30:47] local.INFO: Processing buffer {"connection_id":174211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:30:47] local.INFO: IMEI packet received {"connection_id":174211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":174211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:30:50] local.INFO: TCP Data received {"connection_id":174211,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:30:50] local.INFO: Processing buffer {"connection_id":174211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:30:50] local.INFO: IMEI packet received {"connection_id":174211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":174211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:30:51] local.INFO: TCP Data received {"connection_id":174211,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0705dc2a0012cf1eb40072d58f8003f011028..."} 
[2026-09-05 12:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0705dc2a0012cf1eb40072d58f8003f011028..."} 
[2026-09-05 12:30:51] local.INFO: Processing buffer {"connection_id":174211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0705dc2a0012cf1eb40072d58f8003f011028..."} 
[2026-09-05 12:30:51] local.INFO: Packet analysis {"connection_id":174211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0705d"} 
[2026-09-05 12:30:51] local.INFO: Extracted packet for processing {"connection_id":174211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0705d"} 
[2026-09-05 12:30:51] local.INFO: GPS Element Parsed {"raw_longitude":754051904,"raw_latitude":120412408,"longitude_deg":75.4051904,"latitude_deg":12.0412408,"altitude":63,"angle":272,"satellites":40,"speed":20,"hex_longitude":"2cf1eb40","hex_latitude":"072d58f8","is_valid_coordinates":true} 
[2026-09-05 12:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879446016001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17678858484449280,"note":"Value kept but may cause issues"} 
[2026-09-05 12:30:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1013591360309559296,"note":"Value kept but may cause issues"} 
[2026-09-05 12:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788591588000,"timestamp_ms":1788591588000,"timestamp_seconds":1788591588,"priority":1,"record_length":96,"hex_timestamp":"000001a0705dc2a0"} 
[2026-09-05 12:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-05 12:30:51] 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-09-05 12:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879446016001,"66":14396,"198":206,"83":44032,"24":20,"16":17678858484449280,"44":-1013591360309559296},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,83,24,16,44]} 
[2026-09-05 12:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879446016001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:30:51] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 12:30:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17678858484449280,"km_value":17678858484449.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:30:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1013591360309559296,"description":"Unknown IO ID 44"} 
[2026-09-05 12:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879446016001,"power":14396,"unknown_198":206,"unknown_83":44032,"ignition":20,"odometer":null,"unknown_44":-1013591360309559296}} 
[2026-09-05 12:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":174211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:30:51] local.INFO: GPS data processed {"connection_id":174211,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:30:51] local.INFO: Acknowledgment sent {"connection_id":174211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:30:56] local.INFO: TCP Data received {"connection_id":172905,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:30:56] local.INFO: Processing buffer {"connection_id":172905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:30:56] local.INFO: IMEI packet received {"connection_id":172905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":172905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:30:57] local.INFO: TCP Data received {"connection_id":172905,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:30:57] local.INFO: Processing buffer {"connection_id":172905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:30:57] local.INFO: IMEI packet received {"connection_id":172905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":172905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:31:01] local.INFO: TCP Data received {"connection_id":172905,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:31:01] local.INFO: Processing buffer {"connection_id":172905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:31:01] local.INFO: IMEI packet received {"connection_id":172905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":172905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:31:02] local.INFO: TCP Data received {"connection_id":172905,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0705d68c8012d63ac800624f1200007009e2d..."} 
[2026-09-05 12:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0705d68c8012d63ac800624f1200007009e2d..."} 
[2026-09-05 12:31:02] local.INFO: Processing buffer {"connection_id":172905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0705d68c8012d63ac800624f1200007009e2d..."} 
[2026-09-05 12:31:02] local.INFO: Packet analysis {"connection_id":172905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0705d"} 
[2026-09-05 12:31:02] local.INFO: Extracted packet for processing {"connection_id":172905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0705d"} 
[2026-09-05 12:31:02] local.INFO: GPS Element Parsed {"raw_longitude":761506944,"raw_latitude":103084320,"longitude_deg":76.1506944,"latitude_deg":10.308432,"altitude":7,"angle":158,"satellites":45,"speed":40,"hex_longitude":"2d63ac80","hex_latitude":"0624f120","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879438592001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399648686872723456,"note":"Value kept but may cause issues"} 
[2026-09-05 12:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7178667463676213248,"note":"Value kept but may cause issues"} 
[2026-09-05 12:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788591565000,"timestamp_ms":1788591565000,"timestamp_seconds":1788591565,"priority":1,"record_length":96,"hex_timestamp":"000001a0705d68c8"} 
[2026-09-05 12:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:31: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-09-05 12:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 12:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12: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-09-05 12:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879438592001,"66":27908,"253":206,"79":20992,"24":40,"16":399648686872723456,"45":7178667463676213248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,79,24,16,45]} 
[2026-09-05 12:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879438592001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:31:02] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-09-05 12:31:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399648686872723456,"km_value":399648686872723.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7178667463676213248,"description":"Unknown IO ID 45"} 
[2026-09-05 12:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879438592001,"power":27908,"unknown_253":206,"unknown_79":20992,"ignition":40,"odometer":null,"unknown_45":7178667463676213248}} 
[2026-09-05 12:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":172905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:31:02] local.INFO: GPS data processed {"connection_id":172905,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:31:02] local.INFO: Acknowledgment sent {"connection_id":172905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:31:19] local.INFO: TCP Data received {"connection_id":174212,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174212,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:31:19] local.INFO: Processing buffer {"connection_id":174212,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:31:19] local.INFO: IMEI packet received {"connection_id":174212,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 12:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":174212,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:31:20] local.INFO: TCP Data received {"connection_id":174212,"ip":"42.106.6.43","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-05 12:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174212,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-05 12:31:20] local.INFO: Processing buffer {"connection_id":174212,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-05 12:31:20] local.INFO: IMEI packet received {"connection_id":174212,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 12:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":174212,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:31:23] local.INFO: TCP Data received {"connection_id":174211,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0705e7650012cf18000072d6a90004b011828..."} 
[2026-09-05 12:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0705e7650012cf18000072d6a90004b011828..."} 
[2026-09-05 12:31:23] local.INFO: Processing buffer {"connection_id":174211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0705e7650012cf18000072d6a90004b011828..."} 
[2026-09-05 12:31:23] local.INFO: Packet analysis {"connection_id":174211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0705e"} 
[2026-09-05 12:31:23] local.INFO: Extracted packet for processing {"connection_id":174211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0705e"} 
[2026-09-05 12:31:23] local.INFO: GPS Element Parsed {"raw_longitude":754024448,"raw_latitude":120416912,"longitude_deg":75.4024448,"latitude_deg":12.0416912,"altitude":75,"angle":280,"satellites":40,"speed":33,"hex_longitude":"2cf18000","hex_latitude":"072d6a90","is_valid_coordinates":true} 
[2026-09-05 12:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879457536001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17680366017970176,"note":"Value kept but may cause issues"} 
[2026-09-05 12:31:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1042231439188834304,"note":"Value kept but may cause issues"} 
[2026-09-05 12:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788591634000,"timestamp_ms":1788591634000,"timestamp_seconds":1788591634,"priority":1,"record_length":96,"hex_timestamp":"000001a0705e7650"} 
[2026-09-05 12:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:31: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-09-05 12:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-09-05 12:31:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:31:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879457536001,"66":13722,"198":206,"83":44032,"24":33,"16":17680366017970176,"44":-1042231439188834304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,83,24,16,44]} 
[2026-09-05 12:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879457536001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:31:23] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 12:31:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17680366017970176,"km_value":17680366017970.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:31:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1042231439188834304,"description":"Unknown IO ID 44"} 
[2026-09-05 12:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879457536001,"power":13722,"unknown_198":206,"unknown_83":44032,"ignition":33,"odometer":null,"unknown_44":-1042231439188834304}} 
[2026-09-05 12:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":174211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:31:23] local.INFO: GPS data processed {"connection_id":174211,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:31:23] local.INFO: Acknowledgment sent {"connection_id":174211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:31:34] local.INFO: TCP Data received {"connection_id":172905,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0705d93c0012d63ba000624cf38000600a22c..."} 
[2026-09-05 12:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0705d93c0012d63ba000624cf38000600a22c..."} 
[2026-09-05 12:31:34] local.INFO: Processing buffer {"connection_id":172905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0705d93c0012d63ba000624cf38000600a22c..."} 
[2026-09-05 12:31:34] local.INFO: Packet analysis {"connection_id":172905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0705d"} 
[2026-09-05 12:31:34] local.INFO: Extracted packet for processing {"connection_id":172905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0705d"} 
[2026-09-05 12:31:34] local.INFO: GPS Element Parsed {"raw_longitude":761510400,"raw_latitude":103075640,"longitude_deg":76.15104,"latitude_deg":10.307564,"altitude":6,"angle":162,"satellites":44,"speed":32,"hex_longitude":"2d63ba00","hex_latitude":"0624cf38","is_valid_coordinates":true} 
[2026-09-05 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-09-05 12:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879440640001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399649142139256832,"note":"Value kept but may cause issues"} 
[2026-09-05 12:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7182256269627039744,"note":"Value kept but may cause issues"} 
[2026-09-05 12:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788591576000,"timestamp_ms":1788591576000,"timestamp_seconds":1788591576,"priority":1,"record_length":96,"hex_timestamp":"000001a0705d93c0"} 
[2026-09-05 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-09-05 12:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 12:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 12:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879440640001,"66":27821,"253":206,"79":20992,"24":32,"16":399649142139256832,"45":7182256269627039744},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,79,24,16,45]} 
[2026-09-05 12:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879440640001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:31:34] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-09-05 12:31:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399649142139256832,"km_value":399649142139256.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7182256269627039744,"description":"Unknown IO ID 45"} 
[2026-09-05 12:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879440640001,"power":27821,"unknown_253":206,"unknown_79":20992,"ignition":32,"odometer":null,"unknown_45":7182256269627039744}} 
[2026-09-05 12:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":172905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:31:34] local.INFO: GPS data processed {"connection_id":172905,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:31:34] local.INFO: Acknowledgment sent {"connection_id":172905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:31:45] local.INFO: TCP Data received {"connection_id":172906,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:31:45] local.INFO: Processing buffer {"connection_id":172906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:31:45] local.INFO: IMEI packet received {"connection_id":172906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":172906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:31:50] local.INFO: TCP Data received {"connection_id":172906,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:31:50] local.INFO: Processing buffer {"connection_id":172906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:31:50] local.INFO: IMEI packet received {"connection_id":172906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":172906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:31:51] local.INFO: TCP Data received {"connection_id":172906,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0705e7e20012cf17900072d6ad8004b010928..."} 
[2026-09-05 12:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0705e7e20012cf17900072d6ad8004b010928..."} 
[2026-09-05 12:31:51] local.INFO: Processing buffer {"connection_id":172906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0705e7e20012cf17900072d6ad8004b010928..."} 
[2026-09-05 12:31:51] local.INFO: Packet analysis {"connection_id":172906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0705e"} 
[2026-09-05 12:31:51] local.INFO: Extracted packet for processing {"connection_id":172906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0705e"} 
[2026-09-05 12:31:51] local.INFO: GPS Element Parsed {"raw_longitude":754022656,"raw_latitude":120416984,"longitude_deg":75.4022656,"latitude_deg":12.0416984,"altitude":75,"angle":265,"satellites":40,"speed":34,"hex_longitude":"2cf17900","hex_latitude":"072d6ad8","is_valid_coordinates":true} 
[2026-09-05 12:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879458304001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17680451917316096,"note":"Value kept but may cause issues"} 
[2026-09-05 12:31:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1044835082723225600,"note":"Value kept but may cause issues"} 
[2026-09-05 12:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788591636000,"timestamp_ms":1788591636000,"timestamp_seconds":1788591636,"priority":1,"record_length":96,"hex_timestamp":"000001a0705e7e20"} 
[2026-09-05 12:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-05 12:31:51] 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-09-05 12:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879458304001,"66":13820,"198":206,"83":44032,"24":34,"16":17680451917316096,"44":-1044835082723225600},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,83,24,16,44]} 
[2026-09-05 12:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879458304001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:31:51] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 12:31:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17680451917316096,"km_value":17680451917316.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:31:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1044835082723225600,"description":"Unknown IO ID 44"} 
[2026-09-05 12:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879458304001,"power":13820,"unknown_198":206,"unknown_83":44032,"ignition":34,"odometer":null,"unknown_44":-1044835082723225600}} 
[2026-09-05 12:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":172906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:31:51] local.INFO: GPS data processed {"connection_id":172906,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:31:51] local.INFO: Acknowledgment sent {"connection_id":172906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:31:56] local.INFO: TCP Data received {"connection_id":172907,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:31:56] local.INFO: Processing buffer {"connection_id":172907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:31:56] local.INFO: IMEI packet received {"connection_id":172907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":172907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:32:00] local.INFO: TCP Data received {"connection_id":172907,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:32:00] local.INFO: Processing buffer {"connection_id":172907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:32:00] local.INFO: IMEI packet received {"connection_id":172907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":172907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:32:01] local.INFO: TCP Data received {"connection_id":172907,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0705dab30012d63bd800624bc50000600ae2c..."} 
[2026-09-05 12:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0705dab30012d63bd800624bc50000600ae2c..."} 
[2026-09-05 12:32:01] local.INFO: Processing buffer {"connection_id":172907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0705dab30012d63bd800624bc50000600ae2c..."} 
[2026-09-05 12:32:01] local.INFO: Packet analysis {"connection_id":172907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0705d"} 
[2026-09-05 12:32:01] local.INFO: Extracted packet for processing {"connection_id":172907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0705d"} 
[2026-09-05 12:32:01] local.INFO: GPS Element Parsed {"raw_longitude":761511296,"raw_latitude":103070800,"longitude_deg":76.1511296,"latitude_deg":10.30708,"altitude":6,"angle":174,"satellites":44,"speed":34,"hex_longitude":"2d63bd80","hex_latitude":"0624bc50","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879443456001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399649378362458112,"note":"Value kept but may cause issues"} 
[2026-09-05 12:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7186056181810411520,"note":"Value kept but may cause issues"} 
[2026-09-05 12:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788591582000,"timestamp_ms":1788591582000,"timestamp_seconds":1788591582,"priority":1,"record_length":96,"hex_timestamp":"000001a0705dab30"} 
[2026-09-05 12:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 12:32:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12: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-09-05 12:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879443456001,"66":27876,"253":206,"79":20992,"24":34,"16":399649378362458112,"45":7186056181810411520},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,79,24,16,45]} 
[2026-09-05 12:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879443456001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:32:01] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-09-05 12:32:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399649378362458112,"km_value":399649378362458.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7186056181810411520,"description":"Unknown IO ID 45"} 
[2026-09-05 12:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879443456001,"power":27876,"unknown_253":206,"unknown_79":20992,"ignition":34,"odometer":null,"unknown_45":7186056181810411520}} 
[2026-09-05 12:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":172907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:32:01] local.INFO: GPS data processed {"connection_id":172907,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:32:01] local.INFO: Acknowledgment sent {"connection_id":172907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:32:23] local.INFO: TCP Data received {"connection_id":172906,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0705f7820012cf0b840072d4130002c015d20..."} 
[2026-09-05 12:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0705f7820012cf0b840072d4130002c015d20..."} 
[2026-09-05 12:32:23] local.INFO: Processing buffer {"connection_id":172906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0705f7820012cf0b840072d4130002c015d20..."} 
[2026-09-05 12:32:23] local.INFO: Packet analysis {"connection_id":172906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0705f"} 
[2026-09-05 12:32:23] local.INFO: Extracted packet for processing {"connection_id":172906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0705f"} 
[2026-09-05 12:32:23] local.INFO: GPS Element Parsed {"raw_longitude":753973312,"raw_latitude":120406320,"longitude_deg":75.3973312,"latitude_deg":12.040632,"altitude":44,"angle":349,"satellites":32,"speed":23,"hex_longitude":"2cf0b840","hex_latitude":"072d4130","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879474944001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17683320955469824,"note":"Value kept but may cause issues"} 
[2026-09-05 12:32:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1101130078068248576,"note":"Value kept but may cause issues"} 
[2026-09-05 12:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788591700000,"timestamp_ms":1788591700000,"timestamp_seconds":1788591700,"priority":1,"record_length":96,"hex_timestamp":"000001a0705f7820"} 
[2026-09-05 12:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:32: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-09-05 12: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-05 12:32:23] 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-09-05 12: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-09-05 12:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879474944001,"66":14004,"218":206,"83":44032,"24":23,"16":17683320955469824,"44":-1101130078068248576},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,44]} 
[2026-09-05 12:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879474944001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:32:23] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 12:32:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17683320955469824,"km_value":17683320955469.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:32:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1101130078068248576,"description":"Unknown IO ID 44"} 
[2026-09-05 12:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879474944001,"power":14004,"unknown_218":206,"unknown_83":44032,"ignition":23,"odometer":null,"unknown_44":-1101130078068248576}} 
[2026-09-05 12:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":172906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:32:23] local.INFO: GPS data processed {"connection_id":172906,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:32:23] local.INFO: Acknowledgment sent {"connection_id":172906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:32:33] local.INFO: TCP Data received {"connection_id":172907,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0705f60b0012d64614006232790000f006f30..."} 
[2026-09-05 12:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0705f60b0012d64614006232790000f006f30..."} 
[2026-09-05 12:32:33] local.INFO: Processing buffer {"connection_id":172907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0705f60b0012d64614006232790000f006f30..."} 
[2026-09-05 12:32:33] local.INFO: Packet analysis {"connection_id":172907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0705f"} 
[2026-09-05 12:32:33] local.INFO: Extracted packet for processing {"connection_id":172907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0705f"} 
[2026-09-05 12:32:33] local.INFO: GPS Element Parsed {"raw_longitude":761553216,"raw_latitude":102967184,"longitude_deg":76.1553216,"latitude_deg":10.2967184,"altitude":15,"angle":111,"satellites":48,"speed":47,"hex_longitude":"2d646140","hex_latitude":"06232790","is_valid_coordinates":true} 
[2026-09-05 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-09-05 12:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879471872001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399654978999812096,"note":"Value kept but may cause issues"} 
[2026-09-05 12:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7224829359825555456,"note":"Value kept but may cause issues"} 
[2026-09-05 12:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788591694000,"timestamp_ms":1788591694000,"timestamp_seconds":1788591694,"priority":1,"record_length":96,"hex_timestamp":"000001a0705f60b0"} 
[2026-09-05 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-09-05 12:32: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-09-05 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 12:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 12:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:32: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-09-05 12:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879471872001,"66":27876,"55":206,"79":20992,"24":47,"16":399654978999812096,"45":7224829359825555456},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,79,24,16,45]} 
[2026-09-05 12:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879471872001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:32:33] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-05 12:32:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399654978999812096,"km_value":399654978999812.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7224829359825555456,"description":"Unknown IO ID 45"} 
[2026-09-05 12:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879471872001,"power":27876,"unknown_55":206,"unknown_79":20992,"ignition":47,"odometer":null,"unknown_45":7224829359825555456}} 
[2026-09-05 12:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":172907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:32:33] local.INFO: GPS data processed {"connection_id":172907,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:32:33] local.INFO: Acknowledgment sent {"connection_id":172907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:32:50] local.INFO: TCP Data received {"connection_id":171512,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:32:50] local.INFO: Processing buffer {"connection_id":171512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:32:50] local.INFO: IMEI packet received {"connection_id":171512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":171512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:32:51] local.INFO: TCP Data received {"connection_id":171512,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:32:51] local.INFO: Processing buffer {"connection_id":171512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:32:51] local.INFO: IMEI packet received {"connection_id":171512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":171512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:32:55] local.INFO: TCP Data received {"connection_id":171512,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:32:55] local.INFO: Processing buffer {"connection_id":171512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:32:55] local.INFO: IMEI packet received {"connection_id":171512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":171512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:32:56] local.INFO: TCP Data received {"connection_id":174215,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:32:56] local.INFO: Processing buffer {"connection_id":174215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:32:56] local.INFO: IMEI packet received {"connection_id":174215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":174215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:32:56] local.INFO: TCP Data received {"connection_id":171512,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0705fc258012cf09a80072d5498002400ed1e..."} 
[2026-09-05 12:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0705fc258012cf09a80072d5498002400ed1e..."} 
[2026-09-05 12:32:56] local.INFO: Processing buffer {"connection_id":171512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0705fc258012cf09a80072d5498002400ed1e..."} 
[2026-09-05 12:32:56] local.INFO: Packet analysis {"connection_id":171512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0705f"} 
[2026-09-05 12:32:56] local.INFO: Extracted packet for processing {"connection_id":171512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0705f"} 
[2026-09-05 12:32:56] local.INFO: GPS Element Parsed {"raw_longitude":753965696,"raw_latitude":120411288,"longitude_deg":75.3965696,"latitude_deg":12.0411288,"altitude":36,"angle":237,"satellites":30,"speed":42,"hex_longitude":"2cf09a80","hex_latitude":"072d5498","is_valid_coordinates":true} 
[2026-09-05 12:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879479296001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17684145589190656,"note":"Value kept but may cause issues"} 
[2026-09-05 12:32:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1106126258902939648,"note":"Value kept but may cause issues"} 
[2026-09-05 12:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788591719000,"timestamp_ms":1788591719000,"timestamp_seconds":1788591719,"priority":1,"record_length":96,"hex_timestamp":"000001a0705fc258"} 
[2026-09-05 12:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:32:56] 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-09-05 12:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-05 12:32:56] 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-09-05 12:32:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879479296001,"66":14298,"227":206,"83":44032,"24":42,"16":17684145589190656,"44":-1106126258902939648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,83,24,16,44]} 
[2026-09-05 12:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879479296001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:32:56] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-05 12:32:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17684145589190656,"km_value":17684145589190.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:32:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1106126258902939648,"description":"Unknown IO ID 44"} 
[2026-09-05 12:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879479296001,"power":14298,"unknown_227":206,"unknown_83":44032,"ignition":42,"odometer":null,"unknown_44":-1106126258902939648}} 
[2026-09-05 12:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":171512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:32:56] local.INFO: GPS data processed {"connection_id":171512,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:32:56] local.INFO: Acknowledgment sent {"connection_id":171512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:32:57] local.INFO: TCP Data received {"connection_id":171512,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0705fd5e0012cf08980072d49d0002200fd21..."} 
[2026-09-05 12:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0705fd5e0012cf08980072d49d0002200fd21..."} 
[2026-09-05 12:32:57] local.INFO: Processing buffer {"connection_id":171512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0705fd5e0012cf08980072d49d0002200fd21..."} 
[2026-09-05 12:32:57] local.INFO: Packet analysis {"connection_id":171512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0705f"} 
[2026-09-05 12:32:57] local.INFO: Extracted packet for processing {"connection_id":171512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0705f"} 
[2026-09-05 12:32:57] local.INFO: GPS Element Parsed {"raw_longitude":753961344,"raw_latitude":120408528,"longitude_deg":75.3961344,"latitude_deg":12.0408528,"altitude":34,"angle":253,"satellites":33,"speed":40,"hex_longitude":"2cf08980","hex_latitude":"072d49d0","is_valid_coordinates":true} 
[2026-09-05 12:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879480064001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17684394697293824,"note":"Value kept but may cause issues"} 
[2026-09-05 12:32:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1109433589879760896,"note":"Value kept but may cause issues"} 
[2026-09-05 12:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788591724000,"timestamp_ms":1788591724000,"timestamp_seconds":1788591724,"priority":1,"record_length":96,"hex_timestamp":"000001a0705fd5e0"} 
[2026-09-05 12:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-05 12:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":171512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":171512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":171512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879480064001,"66":14341,"227":206,"83":44032,"24":40,"16":17684394697293824,"44":-1109433589879760896},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,83,24,16,44]} 
[2026-09-05 12:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879480064001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:32:57] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-05 12:32:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17684394697293824,"km_value":17684394697293.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:32:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1109433589879760896,"description":"Unknown IO ID 44"} 
[2026-09-05 12:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879480064001,"power":14341,"unknown_227":206,"unknown_83":44032,"ignition":40,"odometer":null,"unknown_44":-1109433589879760896}} 
[2026-09-05 12:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":171512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:32:57] local.INFO: GPS data processed {"connection_id":171512,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:32:57] local.INFO: Acknowledgment sent {"connection_id":171512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:32:58] local.INFO: TCP Data received {"connection_id":171512,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0705ff520012cf06740072d3fd8001f00ff22..."} 
[2026-09-05 12:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0705ff520012cf06740072d3fd8001f00ff22..."} 
[2026-09-05 12:32:58] local.INFO: Processing buffer {"connection_id":171512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0705ff520012cf06740072d3fd8001f00ff22..."} 
[2026-09-05 12:32:58] local.INFO: Packet analysis {"connection_id":171512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0705f"} 
[2026-09-05 12:32:58] local.INFO: Extracted packet for processing {"connection_id":171512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0705f"} 
[2026-09-05 12:32:58] local.INFO: GPS Element Parsed {"raw_longitude":753952576,"raw_latitude":120405976,"longitude_deg":75.3952576,"latitude_deg":12.0405976,"altitude":31,"angle":255,"satellites":34,"speed":46,"hex_longitude":"2cf06740","hex_latitude":"072d3fd8","is_valid_coordinates":true} 
[2026-09-05 12:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879481344001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17684832783958016,"note":"Value kept but may cause issues"} 
[2026-09-05 12:32:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1114218664484548608,"note":"Value kept but may cause issues"} 
[2026-09-05 12:32:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788591732000,"timestamp_ms":1788591732000,"timestamp_seconds":1788591732,"priority":1,"record_length":96,"hex_timestamp":"000001a0705ff520"} 
[2026-09-05 12:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-05 12:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6986686367,"note":"Value kept but may cause issues"} 
[2026-09-05 12:32:58] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503869459791872,"note":"Value kept but may cause issues"} 
[2026-09-05 12:32:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2885687296,"note":"Value kept but may cause issues"} 
[2026-09-05 12:32:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 12:32:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4038230023,"note":"Value kept but may cause issues"} 
[2026-09-05 12:32:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1424163022,"corrected_to":0} 
[2026-09-05 12:32:58] local.WARNING: Large IO value detected {"io_id":62,"raw_value":3545038848,"note":"Value kept but may cause issues"} 
[2026-09-05 12:32:58] local.WARNING: Large IO value detected {"io_id":48,"raw_value":84707184331926877,"note":"Value kept but may cause issues"} 
[2026-09-05 12:32:58] local.WARNING: Large IO value detected {"io_id":136,"raw_value":10978924771155456,"note":"Value kept but may cause issues"} 
[2026-09-05 12:32:58] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,227,83,24,241,157,16,211,160,194,44,128,84,36,30,10,66,182,64,91,37,31,174,192,1,240,60,112,45,4,113,205,167,239,56,2,62,7,39,28,206,48,136],"length":529,"final_offset":659,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1424163022,"validated":0}]} 
[2026-09-05 12:32:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2450236515467919360,"timestamp_seconds":2450236515467919.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 12:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879481344001,"66":14461,"219":206,"83":44032,"24":46,"16":17684832783958016,"44":-1114218664484548608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-05 12:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879481344001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:32:58] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-05 12:32:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17684832783958016,"km_value":17684832783958.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:32:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1114218664484548608,"description":"Unknown IO ID 44"} 
[2026-09-05 12:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879481344001,"power":14461,"unknown_219":206,"unknown_83":44032,"ignition":46,"odometer":null,"unknown_44":-1114218664484548608}} 
[2026-09-05 12:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":171512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:32:58] local.INFO: GPS data processed {"connection_id":171512,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:32:58] local.INFO: Acknowledgment sent {"connection_id":171512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:33:01] local.INFO: TCP Data received {"connection_id":174215,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:33:01] local.INFO: Processing buffer {"connection_id":174215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:33:01] local.INFO: IMEI packet received {"connection_id":174215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":174215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:33:02] local.INFO: TCP Data received {"connection_id":174215,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0705f7ff0012d64858006231d18000d006630..."} 
[2026-09-05 12:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0705f7ff0012d64858006231d18000d006630..."} 
[2026-09-05 12:33:02] local.INFO: Processing buffer {"connection_id":174215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0705f7ff0012d64858006231d18000d006630..."} 
[2026-09-05 12:33:02] local.INFO: Packet analysis {"connection_id":174215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0705f"} 
[2026-09-05 12:33:02] local.INFO: Extracted packet for processing {"connection_id":174215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0705f"} 
[2026-09-05 12:33:02] local.INFO: GPS Element Parsed {"raw_longitude":761562496,"raw_latitude":102964504,"longitude_deg":76.1562496,"latitude_deg":10.2964504,"altitude":13,"angle":102,"satellites":48,"speed":48,"hex_longitude":"2d648580","hex_latitude":"06231d18","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879473664001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399655442856280064,"note":"Value kept but may cause issues"} 
[2026-09-05 12:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7233132871637504000,"note":"Value kept but may cause issues"} 
[2026-09-05 12:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788591702000,"timestamp_ms":1788591702000,"timestamp_seconds":1788591702,"priority":1,"record_length":96,"hex_timestamp":"000001a0705f7ff0"} 
[2026-09-05 12:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 12:33: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-09-05 12: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-09-05 12:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879473664001,"66":27908,"55":206,"79":20992,"24":48,"16":399655442856280064,"45":7233132871637504000},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,79,24,16,45]} 
[2026-09-05 12:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879473664001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:33:02] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-05 12:33:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399655442856280064,"km_value":399655442856280.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7233132871637504000,"description":"Unknown IO ID 45"} 
[2026-09-05 12:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879473664001,"power":27908,"unknown_55":206,"unknown_79":20992,"ignition":48,"odometer":null,"unknown_45":7233132871637504000}} 
[2026-09-05 12:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":174215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:33:02] local.INFO: GPS data processed {"connection_id":174215,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:33:02] local.INFO: Acknowledgment sent {"connection_id":174215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:33:29] local.INFO: TCP Data received {"connection_id":171512,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070605e98012cf02b00072d61100011013e24..."} 
[2026-09-05 12:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070605e98012cf02b00072d61100011013e24..."} 
[2026-09-05 12:33:29] local.INFO: Processing buffer {"connection_id":171512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070605e98012cf02b00072d61100011013e24..."} 
[2026-09-05 12:33:29] local.INFO: Packet analysis {"connection_id":171512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07060"} 
[2026-09-05 12:33:29] local.INFO: Extracted packet for processing {"connection_id":171512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07060"} 
[2026-09-05 12:33:29] local.INFO: GPS Element Parsed {"raw_longitude":753937152,"raw_latitude":120414480,"longitude_deg":75.3937152,"latitude_deg":12.041448,"altitude":17,"angle":318,"satellites":36,"speed":41,"hex_longitude":"2cf02b00","hex_latitude":"072d6110","is_valid_coordinates":true} 
[2026-09-05 12:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879489792001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17685885050945536,"note":"Value kept but may cause issues"} 
[2026-09-05 12:33:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1139129199922280448,"note":"Value kept but may cause issues"} 
[2026-09-05 12:33:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788591759000,"timestamp_ms":1788591759000,"timestamp_seconds":1788591759,"priority":1,"record_length":96,"hex_timestamp":"000001a070605e98"} 
[2026-09-05 12:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 12:33:29] 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-09-05 12:33:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":171512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":171512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":171512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:33:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879489792001,"66":14341,"219":206,"83":44032,"24":41,"16":17685885050945536,"44":-1139129199922280448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-05 12:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879489792001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:33:29] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-05 12:33:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17685885050945536,"km_value":17685885050945.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:33:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1139129199922280448,"description":"Unknown IO ID 44"} 
[2026-09-05 12:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879489792001,"power":14341,"unknown_219":206,"unknown_83":44032,"ignition":41,"odometer":null,"unknown_44":-1139129199922280448}} 
[2026-09-05 12:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":171512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:33:29] local.INFO: GPS data processed {"connection_id":171512,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:33:29] local.INFO: Acknowledgment sent {"connection_id":171512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:33:35] local.INFO: TCP Data received {"connection_id":174215,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0705f9f30012d64abc006231580000b006330..."} 
[2026-09-05 12:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0705f9f30012d64abc006231580000b006330..."} 
[2026-09-05 12:33:35] local.INFO: Processing buffer {"connection_id":174215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0705f9f30012d64abc006231580000b006330..."} 
[2026-09-05 12:33:35] local.INFO: Packet analysis {"connection_id":174215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0705f"} 
[2026-09-05 12:33:35] local.INFO: Extracted packet for processing {"connection_id":174215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0705f"} 
[2026-09-05 12:33:35] local.INFO: GPS Element Parsed {"raw_longitude":761572288,"raw_latitude":102962560,"longitude_deg":76.1572288,"latitude_deg":10.296256,"altitude":11,"angle":99,"satellites":48,"speed":48,"hex_longitude":"2d64abc0","hex_latitude":"06231580","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879475712001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399655919597649920,"note":"Value kept but may cause issues"} 
[2026-09-05 12:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7243336339542579200,"note":"Value kept but may cause issues"} 
[2026-09-05 12:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788591710000,"timestamp_ms":1788591710000,"timestamp_seconds":1788591710,"priority":1,"record_length":96,"hex_timestamp":"000001a0705f9f30"} 
[2026-09-05 12:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:33: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-09-05 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 12:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12: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-09-05 12:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879475712001,"66":27930,"13":206,"79":20992,"24":48,"16":399655919597649920,"45":7243336339542579200},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,79,24,16,45]} 
[2026-09-05 12:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879475712001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:33:35] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-05 12:33:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399655919597649920,"km_value":399655919597649.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7243336339542579200,"description":"Unknown IO ID 45"} 
[2026-09-05 12:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879475712001,"power":27930,"unknown_13":206,"unknown_79":20992,"ignition":48,"odometer":null,"unknown_45":7243336339542579200}} 
[2026-09-05 12:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":174215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:33:35] local.INFO: GPS data processed {"connection_id":174215,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:33:35] local.INFO: Acknowledgment sent {"connection_id":174215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:33:42] local.INFO: TCP Data received {"connection_id":171513,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:33:42] local.INFO: Processing buffer {"connection_id":171513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:33:42] local.INFO: IMEI packet received {"connection_id":171513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":171513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:33:45] local.INFO: TCP Data received {"connection_id":171513,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:33:45] local.INFO: Processing buffer {"connection_id":171513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:33:45] local.INFO: IMEI packet received {"connection_id":171513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":171513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:33:50] local.INFO: TCP Data received {"connection_id":171513,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:33:50] local.INFO: Processing buffer {"connection_id":171513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:33:50] local.INFO: IMEI packet received {"connection_id":171513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":171513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:33:51] local.INFO: TCP Data received {"connection_id":171513,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0706079f0012cf015c0072d7a28000c013321..."} 
[2026-09-05 12:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0706079f0012cf015c0072d7a28000c013321..."} 
[2026-09-05 12:33:51] local.INFO: Processing buffer {"connection_id":171513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0706079f0012cf015c0072d7a28000c013321..."} 
[2026-09-05 12:33:51] local.INFO: Packet analysis {"connection_id":171513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07060"} 
[2026-09-05 12:33:51] local.INFO: Extracted packet for processing {"connection_id":171513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07060"} 
[2026-09-05 12:33:51] local.INFO: GPS Element Parsed {"raw_longitude":753931712,"raw_latitude":120420904,"longitude_deg":75.3931712,"latitude_deg":12.0420904,"altitude":12,"angle":307,"satellites":33,"speed":48,"hex_longitude":"2cf015c0","hex_latitude":"072d7a28","is_valid_coordinates":true} 
[2026-09-05 12:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879490304001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17686288777871360,"note":"Value kept but may cause issues"} 
[2026-09-05 12:33:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1140818049782181888,"note":"Value kept but may cause issues"} 
[2026-09-05 12:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788591766000,"timestamp_ms":1788591766000,"timestamp_seconds":1788591766,"priority":1,"record_length":96,"hex_timestamp":"000001a0706079f0"} 
[2026-09-05 12:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-05 12:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6986686496,"note":"Value kept but may cause issues"} 
[2026-09-05 12:33:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2885687296,"note":"Value kept but may cause issues"} 
[2026-09-05 12:33:51] local.WARNING: Large IO value detected {"io_id":24,"raw_value":84706703295589698,"note":"Value kept but may cause issues"} 
[2026-09-05 12:33:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 12:33:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4031594503,"note":"Value kept but may cause issues"} 
[2026-09-05 12:33:51] local.WARNING: Large IO value detected {"io_id":212,"raw_value":3590324224,"note":"Value kept but may cause issues"} 
[2026-09-05 12:33:51] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503869483057152,"note":"Value kept but may cause issues"} 
[2026-09-05 12:33:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1339752654,"corrected_to":0} 
[2026-09-05 12:33:51] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3087084784,"note":"Value kept but may cause issues"} 
[2026-09-05 12:33:51] local.WARNING: Large IO value detected {"io_id":62,"raw_value":3569418240,"note":"Value kept but may cause issues"} 
[2026-09-05 12:33:51] local.WARNING: Large IO value detected {"io_id":216,"raw_value":7319836090699776,"note":"Value kept but may cause issues"} 
[2026-09-05 12:33:51] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,219,83,24,241,157,16,213,160,86,44,91,18,34,10,66,67,85,20,35,212,59,192,1,240,38,227,112,45,4,113,205,23,47,78,88,36,239,56,2,62,7,25,19,206,216],"length":529,"final_offset":659,"validated_count":46,"validation_warnings":[{"io_id":205,"original":1339752654,"validated":0}]} 
[2026-09-05 12:33:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225328897963917312,"timestamp_seconds":1225328897963917.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 12:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879490304001,"66":14352,"227":206,"83":44032,"24":48,"16":17686288777871360,"44":-1140818049782181888},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,83,24,16,44]} 
[2026-09-05 12:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879490304001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:33:51] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-05 12:33:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17686288777871360,"km_value":17686288777871.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:33:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1140818049782181888,"description":"Unknown IO ID 44"} 
[2026-09-05 12:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879490304001,"power":14352,"unknown_227":206,"unknown_83":44032,"ignition":48,"odometer":null,"unknown_44":-1140818049782181888}} 
[2026-09-05 12:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":171513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:33:51] local.INFO: GPS data processed {"connection_id":171513,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:33:51] local.INFO: Acknowledgment sent {"connection_id":171513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:33:56] local.INFO: TCP Data received {"connection_id":171514,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:33:56] local.INFO: Processing buffer {"connection_id":171514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:33:56] local.INFO: IMEI packet received {"connection_id":171514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":171514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:33:59] local.INFO: TCP Data received {"connection_id":171514,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:33:59] local.INFO: Processing buffer {"connection_id":171514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:33:59] local.INFO: IMEI packet received {"connection_id":171514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":171514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:34:01] local.INFO: TCP Data received {"connection_id":171514,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:34:01] local.INFO: Processing buffer {"connection_id":171514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:34:01] local.INFO: IMEI packet received {"connection_id":171514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":171514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:34:03] local.INFO: TCP Data received {"connection_id":171514,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0705fbe70012d64d000062310200009005e2f..."} 
[2026-09-05 12:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0705fbe70012d64d000062310200009005e2f..."} 
[2026-09-05 12:34:03] local.INFO: Processing buffer {"connection_id":171514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0705fbe70012d64d000062310200009005e2f..."} 
[2026-09-05 12:34:03] local.INFO: Packet analysis {"connection_id":171514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0705f"} 
[2026-09-05 12:34:03] local.INFO: Extracted packet for processing {"connection_id":171514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0705f"} 
[2026-09-05 12:34:03] local.INFO: GPS Element Parsed {"raw_longitude":761581568,"raw_latitude":102961184,"longitude_deg":76.1581568,"latitude_deg":10.2961184,"altitude":9,"angle":94,"satellites":47,"speed":46,"hex_longitude":"2d64d000","hex_latitude":"06231020","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879477760001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399656366274248704,"note":"Value kept but may cause issues"} 
[2026-09-05 12:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7254102757401264128,"note":"Value kept but may cause issues"} 
[2026-09-05 12:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788591718000,"timestamp_ms":1788591718000,"timestamp_seconds":1788591718,"priority":1,"record_length":96,"hex_timestamp":"000001a0705fbe70"} 
[2026-09-05 12:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:34: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-09-05 12:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 12:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12: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-09-05 12:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:34: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-09-05 12:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879477760001,"66":27876,"13":206,"79":20992,"24":46,"16":399656366274248704,"45":7254102757401264128},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,79,24,16,45]} 
[2026-09-05 12:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879477760001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:34:03] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-05 12:34:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399656366274248704,"km_value":399656366274248.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7254102757401264128,"description":"Unknown IO ID 45"} 
[2026-09-05 12:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879477760001,"power":27876,"unknown_13":206,"unknown_79":20992,"ignition":46,"odometer":null,"unknown_45":7254102757401264128}} 
[2026-09-05 12:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":171514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:34:03] local.INFO: GPS data processed {"connection_id":171514,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:34:03] local.INFO: Acknowledgment sent {"connection_id":171514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:34:22] local.INFO: TCP Data received {"connection_id":171513,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0706085a8012cf00900072d81680009012623..."} 
[2026-09-05 12:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0706085a8012cf00900072d81680009012623..."} 
[2026-09-05 12:34:22] local.INFO: Processing buffer {"connection_id":171513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0706085a8012cf00900072d81680009012623..."} 
[2026-09-05 12:34:22] local.INFO: Packet analysis {"connection_id":171513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07060"} 
[2026-09-05 12:34:22] local.INFO: Extracted packet for processing {"connection_id":171513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07060"} 
[2026-09-05 12:34:22] local.INFO: GPS Element Parsed {"raw_longitude":753928448,"raw_latitude":120422760,"longitude_deg":75.3928448,"latitude_deg":12.042276,"altitude":9,"angle":294,"satellites":35,"speed":49,"hex_longitude":"2cf00900","hex_latitude":"072d8168","is_valid_coordinates":true} 
[2026-09-05 12:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879492096001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17686469166497792,"note":"Value kept but may cause issues"} 
[2026-09-05 12:34:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1146799393035638784,"note":"Value kept but may cause issues"} 
[2026-09-05 12:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788591769000,"timestamp_ms":1788591769000,"timestamp_seconds":1788591769,"priority":1,"record_length":96,"hex_timestamp":"000001a0706085a8"} 
[2026-09-05 12:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-05 12:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733141760,"note":"Value kept but may cause issues"} 
[2026-09-05 12:34:22] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503869484761088,"note":"Value kept but may cause issues"} 
[2026-09-05 12:34:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2885687296,"note":"Value kept but may cause issues"} 
[2026-09-05 12:34:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 12:34:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4031365127,"note":"Value kept but may cause issues"} 
[2026-09-05 12:34:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6495879581247995914,"note":"Value kept but may cause issues"} 
[2026-09-05 12:34:22] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 12:34:22] local.WARNING: Large IO value detected {"io_id":212,"raw_value":3875536896,"note":"Value kept but may cause issues"} 
[2026-09-05 12:34:22] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639226070192091,"note":"Value kept but may cause issues"} 
[2026-09-05 12:34:22] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5260468251858895104,"note":"Value kept but may cause issues"} 
[2026-09-05 12:34:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1339752654,"corrected_to":0} 
[2026-09-05 12:34:22] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2684431600,"note":"Value kept but may cause issues"} 
[2026-09-05 12:34:22] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-05 12:34:22] local.WARNING: Large IO value detected {"io_id":62,"raw_value":3569876992,"note":"Value kept but may cause issues"} 
[2026-09-05 12:34:22] local.WARNING: Large IO value detected {"io_id":136,"raw_value":7036896530141952,"note":"Value kept but may cause issues"} 
[2026-09-05 12:34:22] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,227,83,24,241,157,16,213,160,94,44,97,17,36,10,66,219,86,91,18,34,67,1,240,5,212,112,45,4,113,205,22,51,77,184,37,239,56,2,62,7,23,206,136],"length":628,"final_offset":758,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1339752654,"validated":0}]} 
[2026-09-05 12:34:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865028820261928960,"timestamp_seconds":865028820261929.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 12:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879492096001,"66":14374,"227":206,"83":44032,"24":49,"16":17686469166497792,"44":-1146799393035638784},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,83,24,16,44]} 
[2026-09-05 12:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879492096001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:34:22] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-05 12:34:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17686469166497792,"km_value":17686469166497.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:34:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1146799393035638784,"description":"Unknown IO ID 44"} 
[2026-09-05 12:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879492096001,"power":14374,"unknown_227":206,"unknown_83":44032,"ignition":49,"odometer":null,"unknown_44":-1146799393035638784}} 
[2026-09-05 12:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":171513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:34:22] local.INFO: GPS data processed {"connection_id":171513,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:34:22] local.INFO: Acknowledgment sent {"connection_id":171513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:34:34] local.INFO: TCP Data received {"connection_id":171514,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a070616450012d661a000622d2d8000b00c22a..."} 
[2026-09-05 12:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070616450012d661a000622d2d8000b00c22a..."} 
[2026-09-05 12:34:34] local.INFO: Processing buffer {"connection_id":171514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070616450012d661a000622d2d8000b00c22a..."} 
[2026-09-05 12:34:34] local.INFO: Packet analysis {"connection_id":171514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07061"} 
[2026-09-05 12:34:34] local.INFO: Extracted packet for processing {"connection_id":171514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07061"} 
[2026-09-05 12:34:34] local.INFO: GPS Element Parsed {"raw_longitude":761666048,"raw_latitude":102945496,"longitude_deg":76.1666048,"latitude_deg":10.2945496,"altitude":11,"angle":194,"satellites":42,"speed":10,"hex_longitude":"2d661a00","hex_latitude":"0622d2d8","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879506944001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399660506622722048,"note":"Value kept but may cause issues"} 
[2026-09-05 12:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7357263336361474048,"note":"Value kept but may cause issues"} 
[2026-09-05 12:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788591826000,"timestamp_ms":1788591826000,"timestamp_seconds":1788591826,"priority":1,"record_length":96,"hex_timestamp":"000001a070616450"} 
[2026-09-05 12:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:34: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-09-05 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 12:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12: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-09-05 12:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879506944001,"66":27930,"11":206,"79":20992,"24":10,"16":399660506622722048,"45":7357263336361474048},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,79,24,16,45]} 
[2026-09-05 12:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879506944001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:34:34] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 12:34:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399660506622722048,"km_value":399660506622722.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7357263336361474048,"description":"Unknown IO ID 45"} 
[2026-09-05 12:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879506944001,"power":27930,"unknown_11":206,"unknown_79":20992,"ignition":10,"odometer":null,"unknown_45":7357263336361474048}} 
[2026-09-05 12:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":171514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:34:34] local.INFO: GPS data processed {"connection_id":171514,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:34:34] local.INFO: Acknowledgment sent {"connection_id":171514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:34:43] local.INFO: TCP Data received {"connection_id":172908,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:34:43] local.INFO: Processing buffer {"connection_id":172908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:34:43] local.INFO: IMEI packet received {"connection_id":172908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":172908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:34:45] local.INFO: TCP Data received {"connection_id":172908,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:34:45] local.INFO: Processing buffer {"connection_id":172908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:34:45] local.INFO: IMEI packet received {"connection_id":172908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":172908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:34:45] local.INFO: TCP Data received {"connection_id":172908,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:34:45] local.INFO: Processing buffer {"connection_id":172908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:34:45] local.INFO: IMEI packet received {"connection_id":172908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":172908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:34:47] local.INFO: TCP Data received {"connection_id":172908,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:34:47] local.INFO: Processing buffer {"connection_id":172908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:34:47] local.INFO: IMEI packet received {"connection_id":172908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":172908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:34:48] local.INFO: TCP Data received {"connection_id":172908,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0706173f0012cef10c0072d8e600010012719..."} 
[2026-09-05 12:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0706173f0012cef10c0072d8e600010012719..."} 
[2026-09-05 12:34:48] local.INFO: Processing buffer {"connection_id":172908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0706173f0012cef10c0072d8e600010012719..."} 
[2026-09-05 12:34:48] local.INFO: Packet analysis {"connection_id":172908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07061"} 
[2026-09-05 12:34:48] local.INFO: Extracted packet for processing {"connection_id":172908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07061"} 
[2026-09-05 12:34:48] local.INFO: GPS Element Parsed {"raw_longitude":753864896,"raw_latitude":120426080,"longitude_deg":75.3864896,"latitude_deg":12.042608,"altitude":16,"angle":295,"satellites":25,"speed":32,"hex_longitude":"2cef10c0","hex_latitude":"072d8e60","is_valid_coordinates":true} 
[2026-09-05 12:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879508224001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17689832125890560,"note":"Value kept but may cause issues"} 
[2026-09-05 12:34:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1219419937025763328,"note":"Value kept but may cause issues"} 
[2026-09-05 12:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788591830000,"timestamp_ms":1788591830000,"timestamp_seconds":1788591830,"priority":1,"record_length":96,"hex_timestamp":"000001a0706173f0"} 
[2026-09-05 12:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:34: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-09-05 12:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 12:34:48] 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-09-05 12:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":172908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":172908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":172908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879508224001,"66":13928,"219":206,"83":44032,"24":32,"16":17689832125890560,"44":-1219419937025763328},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-05 12:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879508224001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:34:48] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-05 12:34:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17689832125890560,"km_value":17689832125890.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:34:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1219419937025763328,"description":"Unknown IO ID 44"} 
[2026-09-05 12:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879508224001,"power":13928,"unknown_219":206,"unknown_83":44032,"ignition":32,"odometer":null,"unknown_44":-1219419937025763328}} 
[2026-09-05 12:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":172908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:34:48] local.INFO: GPS data processed {"connection_id":172908,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:34:48] local.INFO: Acknowledgment sent {"connection_id":172908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:35:01] local.INFO: TCP Data received {"connection_id":171810,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:35:01] local.INFO: Processing buffer {"connection_id":171810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:35:01] local.INFO: IMEI packet received {"connection_id":171810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":171810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:35:01] local.INFO: TCP Data received {"connection_id":171810,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:35:01] local.INFO: Processing buffer {"connection_id":171810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:35:01] local.INFO: IMEI packet received {"connection_id":171810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":171810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:35:06] local.INFO: TCP Data received {"connection_id":171810,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:35:06] local.INFO: Processing buffer {"connection_id":171810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:35:06] local.INFO: IMEI packet received {"connection_id":171810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":171810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:35:08] local.INFO: TCP Data received {"connection_id":171810,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a070616c20012d6619400622d158000c00d726..."} 
[2026-09-05 12:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070616c20012d6619400622d158000c00d726..."} 
[2026-09-05 12:35:08] local.INFO: Processing buffer {"connection_id":171810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070616c20012d6619400622d158000c00d726..."} 
[2026-09-05 12:35:08] local.INFO: Packet analysis {"connection_id":171810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07061"} 
[2026-09-05 12:35:08] local.INFO: Extracted packet for processing {"connection_id":171810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07061"} 
[2026-09-05 12:35:08] local.INFO: GPS Element Parsed {"raw_longitude":761665856,"raw_latitude":102945112,"longitude_deg":76.1665856,"latitude_deg":10.2945112,"altitude":12,"angle":215,"satellites":38,"speed":7,"hex_longitude":"2d661940","hex_latitude":"0622d158","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879507456001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399660528097558528,"note":"Value kept but may cause issues"} 
[2026-09-05 12:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7357192967617173504,"note":"Value kept but may cause issues"} 
[2026-09-05 12:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788591828000,"timestamp_ms":1788591828000,"timestamp_seconds":1788591828,"priority":1,"record_length":96,"hex_timestamp":"000001a070616c20"} 
[2026-09-05 12:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:35:08] 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-09-05 12: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 12:35:08] 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-09-05 12: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-09-05 12:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:35: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-09-05 12:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879507456001,"66":27930,"11":206,"79":20992,"24":7,"16":399660528097558528,"45":7357192967617173504},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,79,24,16,45]} 
[2026-09-05 12:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879507456001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:35:08] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 12:35:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399660528097558528,"km_value":399660528097558.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7357192967617173504,"description":"Unknown IO ID 45"} 
[2026-09-05 12:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879507456001,"power":27930,"unknown_11":206,"unknown_79":20992,"ignition":7,"odometer":null,"unknown_45":7357192967617173504}} 
[2026-09-05 12:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":171810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:35:08] local.INFO: GPS data processed {"connection_id":171810,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:35:08] local.INFO: Acknowledgment sent {"connection_id":171810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:35:20] local.INFO: TCP Data received {"connection_id":172908,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070621fd0012ceee1c0072dfee0002c013d22..."} 
[2026-09-05 12:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070621fd0012ceee1c0072dfee0002c013d22..."} 
[2026-09-05 12:35:20] local.INFO: Processing buffer {"connection_id":172908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070621fd0012ceee1c0072dfee0002c013d22..."} 
[2026-09-05 12:35:20] local.INFO: Packet analysis {"connection_id":172908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07062"} 
[2026-09-05 12:35:20] local.INFO: Extracted packet for processing {"connection_id":172908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07062"} 
[2026-09-05 12:35:20] local.INFO: GPS Element Parsed {"raw_longitude":753852864,"raw_latitude":120454880,"longitude_deg":75.3852864,"latitude_deg":12.045488,"altitude":44,"angle":317,"satellites":34,"speed":24,"hex_longitude":"2ceee1c0","hex_latitude":"072dfee0","is_valid_coordinates":true} 
[2026-09-05 12:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879518720001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17691507163136000,"note":"Value kept but may cause issues"} 
[2026-09-05 12:35:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1231945573482399744,"note":"Value kept but may cause issues"} 
[2026-09-05 12:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788591874000,"timestamp_ms":1788591874000,"timestamp_seconds":1788591874,"priority":1,"record_length":96,"hex_timestamp":"000001a070621fd0"} 
[2026-09-05 12:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-05 12:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879518720001,"66":13961,"219":206,"83":44032,"24":24,"16":17691507163136000,"44":-1231945573482399744},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-05 12:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879518720001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:35:20] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-05 12:35:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17691507163136000,"km_value":17691507163136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:35:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1231945573482399744,"description":"Unknown IO ID 44"} 
[2026-09-05 12:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879518720001,"power":13961,"unknown_219":206,"unknown_83":44032,"ignition":24,"odometer":null,"unknown_44":-1231945573482399744}} 
[2026-09-05 12:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":172908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:35:20] local.INFO: GPS data processed {"connection_id":172908,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:35:20] local.INFO: Acknowledgment sent {"connection_id":172908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:35:39] local.INFO: TCP Data received {"connection_id":171810,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0706227a0012d65d08006229400000c007930..."} 
[2026-09-05 12:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0706227a0012d65d08006229400000c007930..."} 
[2026-09-05 12:35:39] local.INFO: Processing buffer {"connection_id":171810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0706227a0012d65d08006229400000c007930..."} 
[2026-09-05 12:35:39] local.INFO: Packet analysis {"connection_id":171810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07062"} 
[2026-09-05 12:35:39] local.INFO: Extracted packet for processing {"connection_id":171810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07062"} 
[2026-09-05 12:35:39] local.INFO: GPS Element Parsed {"raw_longitude":761647232,"raw_latitude":102929408,"longitude_deg":76.1647232,"latitude_deg":10.2929408,"altitude":12,"angle":121,"satellites":48,"speed":23,"hex_longitude":"2d65d080","hex_latitude":"06229400","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879520000001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399661790817943552,"note":"Value kept but may cause issues"} 
[2026-09-05 12:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7336011975615653888,"note":"Value kept but may cause issues"} 
[2026-09-05 12:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788591876000,"timestamp_ms":1788591876000,"timestamp_seconds":1788591876,"priority":1,"record_length":96,"hex_timestamp":"000001a0706227a0"} 
[2026-09-05 12:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:35:39] 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-09-05 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 12:35: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-09-05 12: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-09-05 12:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:35:39] 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-09-05 12:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879520000001,"66":27821,"12":206,"79":20992,"24":23,"16":399661790817943552,"45":7336011975615653888},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-09-05 12:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879520000001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:35:39] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 12:35:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399661790817943552,"km_value":399661790817943.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":7336011975615653888,"description":"Unknown IO ID 45"} 
[2026-09-05 12:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879520000001,"power":27821,"unknown_12":206,"unknown_79":20992,"ignition":23,"odometer":null,"unknown_45":7336011975615653888}} 
[2026-09-05 12:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":171810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:35:39] local.INFO: GPS data processed {"connection_id":171810,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:35:39] local.INFO: Acknowledgment sent {"connection_id":171810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:35:50] local.INFO: TCP Data received {"connection_id":171515,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:35:50] local.INFO: Processing buffer {"connection_id":171515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:35:50] local.INFO: IMEI packet received {"connection_id":171515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":171515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:35:55] local.INFO: TCP Data received {"connection_id":171515,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:35:55] local.INFO: Processing buffer {"connection_id":171515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:35:55] local.INFO: IMEI packet received {"connection_id":171515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":171515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:35:56] local.INFO: TCP Data received {"connection_id":171515,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070622b88012ceedc00072e03e0002d012e22..."} 
[2026-09-05 12:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070622b88012ceedc00072e03e0002d012e22..."} 
[2026-09-05 12:35:56] local.INFO: Processing buffer {"connection_id":171515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070622b88012ceedc00072e03e0002d012e22..."} 
[2026-09-05 12:35:56] local.INFO: Packet analysis {"connection_id":171515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07062"} 
[2026-09-05 12:35:56] local.INFO: Extracted packet for processing {"connection_id":171515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07062"} 
[2026-09-05 12:35:56] local.INFO: GPS Element Parsed {"raw_longitude":753851392,"raw_latitude":120456160,"longitude_deg":75.3851392,"latitude_deg":12.045616,"altitude":45,"angle":302,"satellites":34,"speed":26,"hex_longitude":"2ceedc00","hex_latitude":"072e03e0","is_valid_coordinates":true} 
[2026-09-05 12:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879519744001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17691601652416512,"note":"Value kept but may cause issues"} 
[2026-09-05 12:35:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1233493685853822976,"note":"Value kept but may cause issues"} 
[2026-09-05 12:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788591877000,"timestamp_ms":1788591877000,"timestamp_seconds":1788591877,"priority":1,"record_length":96,"hex_timestamp":"000001a070622b88"} 
[2026-09-05 12:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-05 12:35:56] 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-09-05 12:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879519744001,"66":13993,"219":206,"83":44032,"24":26,"16":17691601652416512,"44":-1233493685853822976},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-05 12:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879519744001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:35:56] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-05 12:35:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17691601652416512,"km_value":17691601652416.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:35:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1233493685853822976,"description":"Unknown IO ID 44"} 
[2026-09-05 12:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879519744001,"power":13993,"unknown_219":206,"unknown_83":44032,"ignition":26,"odometer":null,"unknown_44":-1233493685853822976}} 
[2026-09-05 12:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":171515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:35:56] local.INFO: GPS data processed {"connection_id":171515,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:35:56] local.INFO: Acknowledgment sent {"connection_id":171515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:36:01] local.INFO: TCP Data received {"connection_id":174217,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:36:01] local.INFO: Processing buffer {"connection_id":174217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:36:01] local.INFO: IMEI packet received {"connection_id":174217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":174217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:36:06] local.INFO: TCP Data received {"connection_id":174217,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:36:06] local.INFO: Processing buffer {"connection_id":174217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:36:06] local.INFO: IMEI packet received {"connection_id":174217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":174217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:36:10] local.INFO: TCP Data received {"connection_id":174217,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a070625298012d65ebc006228340000a00872e..."} 
[2026-09-05 12:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070625298012d65ebc006228340000a00872e..."} 
[2026-09-05 12:36:10] local.INFO: Processing buffer {"connection_id":174217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070625298012d65ebc006228340000a00872e..."} 
[2026-09-05 12:36:10] local.INFO: Packet analysis {"connection_id":174217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07062"} 
[2026-09-05 12:36:10] local.INFO: Extracted packet for processing {"connection_id":174217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07062"} 
[2026-09-05 12:36:10] local.INFO: GPS Element Parsed {"raw_longitude":761654208,"raw_latitude":102925120,"longitude_deg":76.1654208,"latitude_deg":10.292512,"altitude":10,"angle":135,"satellites":46,"speed":38,"hex_longitude":"2d65ebc0","hex_latitude":"06228340","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879520256001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399662185954934784,"note":"Value kept but may cause issues"} 
[2026-09-05 12:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7336504556824821760,"note":"Value kept but may cause issues"} 
[2026-09-05 12:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788591887000,"timestamp_ms":1788591887000,"timestamp_seconds":1788591887,"priority":1,"record_length":96,"hex_timestamp":"000001a070625298"} 
[2026-09-05 12:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 12:36:10] 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-09-05 12: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-09-05 12:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":174217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":174217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":174217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:36:10] 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-09-05 12:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879520256001,"66":27974,"12":206,"79":20992,"24":38,"16":399662185954934784,"45":7336504556824821760},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-09-05 12:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879520256001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:36:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 12:36:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399662185954934784,"km_value":399662185954934.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7336504556824821760,"description":"Unknown IO ID 45"} 
[2026-09-05 12:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879520256001,"power":27974,"unknown_12":206,"unknown_79":20992,"ignition":38,"odometer":null,"unknown_45":7336504556824821760}} 
[2026-09-05 12:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":174217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:36:10] local.INFO: GPS data processed {"connection_id":174217,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:36:10] local.INFO: Acknowledgment sent {"connection_id":174217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:36:21] local.INFO: TCP Data received {"connection_id":174216,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174216,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:36:21] local.INFO: Processing buffer {"connection_id":174216,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:36:21] local.INFO: IMEI packet received {"connection_id":174216,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 12:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":174216,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:36:28] local.INFO: TCP Data received {"connection_id":171515,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070623740012ceed480072e0738002e012122..."} 
[2026-09-05 12:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070623740012ceed480072e0738002e012122..."} 
[2026-09-05 12:36:28] local.INFO: Processing buffer {"connection_id":171515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070623740012ceed480072e0738002e012122..."} 
[2026-09-05 12:36:28] local.INFO: Packet analysis {"connection_id":171515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07062"} 
[2026-09-05 12:36:28] local.INFO: Extracted packet for processing {"connection_id":171515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07062"} 
[2026-09-05 12:36:28] local.INFO: GPS Element Parsed {"raw_longitude":753849472,"raw_latitude":120457016,"longitude_deg":75.3849472,"latitude_deg":12.0457016,"altitude":46,"angle":289,"satellites":34,"speed":29,"hex_longitude":"2ceed480","hex_latitude":"072e0738","is_valid_coordinates":true} 
[2026-09-05 12:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879520512001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17691700436664320,"note":"Value kept but may cause issues"} 
[2026-09-05 12:36:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1235112166969581568,"note":"Value kept but may cause issues"} 
[2026-09-05 12:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788591880000,"timestamp_ms":1788591880000,"timestamp_seconds":1788591880,"priority":1,"record_length":96,"hex_timestamp":"000001a070623740"} 
[2026-09-05 12:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:36:28] 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-09-05 12:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 12:36:28] 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-09-05 12:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":171515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":171515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":171515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879520512001,"66":13993,"219":206,"83":44032,"24":29,"16":17691700436664320,"44":-1235112166969581568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-05 12:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879520512001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:36:28] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-05 12:36:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17691700436664320,"km_value":17691700436664.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:36:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1235112166969581568,"description":"Unknown IO ID 44"} 
[2026-09-05 12:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879520512001,"power":13993,"unknown_219":206,"unknown_83":44032,"ignition":29,"odometer":null,"unknown_44":-1235112166969581568}} 
[2026-09-05 12:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":171515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:36:28] local.INFO: GPS data processed {"connection_id":171515,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:36:28] local.INFO: Acknowledgment sent {"connection_id":171515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:36:49] local.INFO: TCP Data received {"connection_id":174218,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:36:49] local.INFO: Processing buffer {"connection_id":174218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:36:49] local.INFO: IMEI packet received {"connection_id":174218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 12:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":174218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:36:50] local.INFO: TCP Data received {"connection_id":174219,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:36:50] local.INFO: Processing buffer {"connection_id":174219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:36:50] local.INFO: IMEI packet received {"connection_id":174219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":174219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:36:55] local.INFO: TCP Data received {"connection_id":174219,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:36:55] local.INFO: Processing buffer {"connection_id":174219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:36:55] local.INFO: IMEI packet received {"connection_id":174219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":174219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:36:56] local.INFO: TCP Data received {"connection_id":171811,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:36:56] local.INFO: Processing buffer {"connection_id":171811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:36:56] local.INFO: IMEI packet received {"connection_id":171811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":171811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:36:56] local.INFO: TCP Data received {"connection_id":174219,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070625298012ceec100072e0e800031012e20..."} 
[2026-09-05 12:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070625298012ceec100072e0e800031012e20..."} 
[2026-09-05 12:36:56] local.INFO: Processing buffer {"connection_id":174219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070625298012ceec100072e0e800031012e20..."} 
[2026-09-05 12:36:56] local.INFO: Packet analysis {"connection_id":174219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07062"} 
[2026-09-05 12:36:56] local.INFO: Extracted packet for processing {"connection_id":174219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07062"} 
[2026-09-05 12:36:56] local.INFO: GPS Element Parsed {"raw_longitude":753844480,"raw_latitude":120458880,"longitude_deg":75.384448,"latitude_deg":12.045888,"altitude":49,"angle":302,"satellites":32,"speed":31,"hex_longitude":"2ceec100","hex_latitude":"072e0e80","is_valid_coordinates":true} 
[2026-09-05 12:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879521280001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17691958134702080,"note":"Value kept but may cause issues"} 
[2026-09-05 12:36:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1237223229294692352,"note":"Value kept but may cause issues"} 
[2026-09-05 12:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788591887000,"timestamp_ms":1788591887000,"timestamp_seconds":1788591887,"priority":1,"record_length":96,"hex_timestamp":"000001a070625298"} 
[2026-09-05 12:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:36:56] 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-09-05 12:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 12:36:56] 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-09-05 12:36:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879521280001,"66":13972,"219":206,"83":44032,"24":31,"16":17691958134702080,"44":-1237223229294692352},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-05 12:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879521280001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:36:56] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-05 12:36:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17691958134702080,"km_value":17691958134702.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:36:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1237223229294692352,"description":"Unknown IO ID 44"} 
[2026-09-05 12:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879521280001,"power":13972,"unknown_219":206,"unknown_83":44032,"ignition":31,"odometer":null,"unknown_44":-1237223229294692352}} 
[2026-09-05 12:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":174219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:36:56] local.INFO: GPS data processed {"connection_id":174219,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:36:56] local.INFO: Acknowledgment sent {"connection_id":174219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:36:57] local.INFO: TCP Data received {"connection_id":171811,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:36:57] local.INFO: Processing buffer {"connection_id":171811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:36:57] local.INFO: IMEI packet received {"connection_id":171811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":171811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:37:01] local.INFO: TCP Data received {"connection_id":171811,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:37:01] local.INFO: Processing buffer {"connection_id":171811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:37:01] local.INFO: IMEI packet received {"connection_id":171811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":171811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:37:03] local.INFO: TCP Data received {"connection_id":171811,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0706275c0012d66044006226940000a00812e..."} 
[2026-09-05 12:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0706275c0012d66044006226940000a00812e..."} 
[2026-09-05 12:37:03] local.INFO: Processing buffer {"connection_id":171811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0706275c0012d66044006226940000a00812e..."} 
[2026-09-05 12:37:03] local.INFO: Packet analysis {"connection_id":171811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07062"} 
[2026-09-05 12:37:03] local.INFO: Extracted packet for processing {"connection_id":171811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07062"} 
[2026-09-05 12:37:03] local.INFO: GPS Element Parsed {"raw_longitude":761660480,"raw_latitude":102918464,"longitude_deg":76.166048,"latitude_deg":10.2918464,"altitude":10,"angle":129,"satellites":46,"speed":39,"hex_longitude":"2d660440","hex_latitude":"06226940","is_valid_coordinates":true} 
[2026-09-05 12:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879523072001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399662624041598976,"note":"Value kept but may cause issues"} 
[2026-09-05 12:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7344174749939089408,"note":"Value kept but may cause issues"} 
[2026-09-05 12:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788591896000,"timestamp_ms":1788591896000,"timestamp_seconds":1788591896,"priority":1,"record_length":96,"hex_timestamp":"000001a0706275c0"} 
[2026-09-05 12:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:37: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-09-05 12:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 12:37:03] 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-09-05 12:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:37: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-09-05 12:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879523072001,"66":27908,"12":206,"79":20992,"24":39,"16":399662624041598976,"45":7344174749939089408},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-09-05 12:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879523072001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:37:03] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 12:37:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399662624041598976,"km_value":399662624041599.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7344174749939089408,"description":"Unknown IO ID 45"} 
[2026-09-05 12:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879523072001,"power":27908,"unknown_12":206,"unknown_79":20992,"ignition":39,"odometer":null,"unknown_45":7344174749939089408}} 
[2026-09-05 12:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":171811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:37:03] local.INFO: GPS data processed {"connection_id":171811,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:37:03] local.INFO: Acknowledgment sent {"connection_id":171811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:37:27] local.INFO: TCP Data received {"connection_id":174219,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07063c1c8012cedb880072dfb88004c00fa27..."} 
[2026-09-05 12:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07063c1c8012cedb880072dfb88004c00fa27..."} 
[2026-09-05 12:37:27] local.INFO: Processing buffer {"connection_id":174219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07063c1c8012cedb880072dfb88004c00fa27..."} 
[2026-09-05 12:37:27] local.INFO: Packet analysis {"connection_id":174219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07063"} 
[2026-09-05 12:37:27] local.INFO: Extracted packet for processing {"connection_id":174219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07063"} 
[2026-09-05 12:37:27] local.INFO: GPS Element Parsed {"raw_longitude":753776768,"raw_latitude":120454024,"longitude_deg":75.3776768,"latitude_deg":12.0454024,"altitude":76,"angle":250,"satellites":39,"speed":31,"hex_longitude":"2cedb880","hex_latitude":"072dfb88","is_valid_coordinates":true} 
[2026-09-05 12:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879542784001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17695411288408064,"note":"Value kept but may cause issues"} 
[2026-09-05 12:37:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1307240129751496704,"note":"Value kept but may cause issues"} 
[2026-09-05 12:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788591981000,"timestamp_ms":1788591981000,"timestamp_seconds":1788591981,"priority":1,"record_length":96,"hex_timestamp":"000001a07063c1c8"} 
[2026-09-05 12:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:37:27] 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-09-05 12:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-05 12:37:27] 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-09-05 12:37: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-09-05 12:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879542784001,"66":13972,"110":206,"83":44032,"24":31,"16":17695411288408064,"44":-1307240129751496704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-05 12:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879542784001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:37:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 12:37:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17695411288408064,"km_value":17695411288408.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:37:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1307240129751496704,"description":"Unknown IO ID 44"} 
[2026-09-05 12:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879542784001,"power":13972,"unknown_110":206,"unknown_83":44032,"ignition":31,"odometer":null,"unknown_44":-1307240129751496704}} 
[2026-09-05 12:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":174219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:37:28] local.INFO: GPS data processed {"connection_id":174219,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:37:28] local.INFO: Acknowledgment sent {"connection_id":174219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:37:34] local.INFO: TCP Data received {"connection_id":171811,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a070641f88012d66be8006209fd0000700cf2d..."} 
[2026-09-05 12:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070641f88012d66be8006209fd0000700cf2d..."} 
[2026-09-05 12:37:34] local.INFO: Processing buffer {"connection_id":171811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070641f88012d66be8006209fd0000700cf2d..."} 
[2026-09-05 12:37:34] local.INFO: Packet analysis {"connection_id":171811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07064"} 
[2026-09-05 12:37:34] local.INFO: Extracted packet for processing {"connection_id":171811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07064"} 
[2026-09-05 12:37:34] local.INFO: GPS Element Parsed {"raw_longitude":761708160,"raw_latitude":102801360,"longitude_deg":76.170816,"latitude_deg":10.280136,"altitude":7,"angle":207,"satellites":45,"speed":52,"hex_longitude":"2d66be80","hex_latitude":"06209fd0","is_valid_coordinates":true} 
[2026-09-05 12:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879552256001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399669040722739200,"note":"Value kept but may cause issues"} 
[2026-09-05 12:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7405325188599003136,"note":"Value kept but may cause issues"} 
[2026-09-05 12:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788592005000,"timestamp_ms":1788592005000,"timestamp_seconds":1788592005,"priority":1,"record_length":96,"hex_timestamp":"000001a070641f88"} 
[2026-09-05 12:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 12:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879552256001,"66":27887,"91":206,"79":20992,"24":52,"16":399669040722739200,"45":7405325188599003136},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-09-05 12:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879552256001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:37:34] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-05 12:37:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399669040722739200,"km_value":399669040722739.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7405325188599003136,"description":"Unknown IO ID 45"} 
[2026-09-05 12:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879552256001,"power":27887,"unknown_91":206,"unknown_79":20992,"ignition":52,"odometer":null,"unknown_45":7405325188599003136}} 
[2026-09-05 12:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":171811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:37:34] local.INFO: GPS data processed {"connection_id":171811,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:37:34] local.INFO: Acknowledgment sent {"connection_id":171811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:37:50] local.INFO: TCP Data received {"connection_id":171516,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:37:50] local.INFO: Processing buffer {"connection_id":171516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:37:50] local.INFO: IMEI packet received {"connection_id":171516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":171516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:37:51] local.INFO: TCP Data received {"connection_id":171516,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:37:51] local.INFO: Processing buffer {"connection_id":171516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:37:51] local.INFO: IMEI packet received {"connection_id":171516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":171516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:37:55] local.INFO: TCP Data received {"connection_id":171516,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:37:55] local.INFO: Processing buffer {"connection_id":171516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:37:55] local.INFO: IMEI packet received {"connection_id":171516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":171516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:37:55] local.INFO: TCP Data received {"connection_id":172910,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:37:55] local.INFO: Processing buffer {"connection_id":172910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:37:55] local.INFO: IMEI packet received {"connection_id":172910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":172910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:37:56] local.INFO: TCP Data received {"connection_id":171516,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07063f0a8012ced9740072ded48005100f324..."} 
[2026-09-05 12:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07063f0a8012ced9740072ded48005100f324..."} 
[2026-09-05 12:37:56] local.INFO: Processing buffer {"connection_id":171516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07063f0a8012ced9740072ded48005100f324..."} 
[2026-09-05 12:37:56] local.INFO: Packet analysis {"connection_id":171516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07063"} 
[2026-09-05 12:37:56] local.INFO: Extracted packet for processing {"connection_id":171516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07063"} 
[2026-09-05 12:37:56] local.INFO: GPS Element Parsed {"raw_longitude":753768256,"raw_latitude":120450376,"longitude_deg":75.3768256,"latitude_deg":12.0450376,"altitude":81,"angle":243,"satellites":36,"speed":33,"hex_longitude":"2ced9740","hex_latitude":"072ded48","is_valid_coordinates":true} 
[2026-09-05 12:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879547136001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17695853670039552,"note":"Value kept but may cause issues"} 
[2026-09-05 12:37:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1317162122681284608,"note":"Value kept but may cause issues"} 
[2026-09-05 12:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788591993000,"timestamp_ms":1788591993000,"timestamp_seconds":1788591993,"priority":1,"record_length":96,"hex_timestamp":"000001a07063f0a8"} 
[2026-09-05 12:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 12:37:56] 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-09-05 12:37:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879547136001,"66":14004,"110":206,"83":44032,"24":33,"16":17695853670039552,"44":-1317162122681284608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-05 12:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879547136001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:37:56] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 12:37:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17695853670039552,"km_value":17695853670039.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:37:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1317162122681284608,"description":"Unknown IO ID 44"} 
[2026-09-05 12:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879547136001,"power":14004,"unknown_110":206,"unknown_83":44032,"ignition":33,"odometer":null,"unknown_44":-1317162122681284608}} 
[2026-09-05 12:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":171516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:37:56] local.INFO: GPS data processed {"connection_id":171516,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:37:56] local.INFO: Acknowledgment sent {"connection_id":171516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:37:56] local.INFO: TCP Data received {"connection_id":172910,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:37:56] local.INFO: Processing buffer {"connection_id":172910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:37:56] local.INFO: IMEI packet received {"connection_id":172910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":172910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:37:57] local.INFO: TCP Data received {"connection_id":172910,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:37:57] local.INFO: Processing buffer {"connection_id":172910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:37:57] local.INFO: IMEI packet received {"connection_id":172910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":172910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:37:58] local.INFO: TCP Data received {"connection_id":172910,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:37:58] local.INFO: Processing buffer {"connection_id":172910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:37:58] local.INFO: IMEI packet received {"connection_id":172910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":172910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:38:00] local.INFO: TCP Data received {"connection_id":171516,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070640818012ced8880072de4a8005200e823..."} 
[2026-09-05 12:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070640818012ced8880072de4a8005200e823..."} 
[2026-09-05 12:38:00] local.INFO: Processing buffer {"connection_id":171516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070640818012ced8880072de4a8005200e823..."} 
[2026-09-05 12:38:00] local.INFO: Packet analysis {"connection_id":171516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07064"} 
[2026-09-05 12:38:00] local.INFO: Extracted packet for processing {"connection_id":171516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07064"} 
[2026-09-05 12:38:00] local.INFO: GPS Element Parsed {"raw_longitude":753764480,"raw_latitude":120448168,"longitude_deg":75.376448,"latitude_deg":12.0448168,"altitude":82,"angle":232,"satellites":35,"speed":18,"hex_longitude":"2ced8880","hex_latitude":"072de4a8","is_valid_coordinates":true} 
[2026-09-05 12:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879550208001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17696059828469760,"note":"Value kept but may cause issues"} 
[2026-09-05 12:38:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1326521165657847808,"note":"Value kept but may cause issues"} 
[2026-09-05 12:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788591999000,"timestamp_ms":1788591999000,"timestamp_seconds":1788591999,"priority":1,"record_length":96,"hex_timestamp":"000001a070640818"} 
[2026-09-05 12:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-05 12:38: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-09-05 12:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879550208001,"66":13972,"110":206,"83":44032,"24":18,"16":17696059828469760,"44":-1326521165657847808},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-05 12:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879550208001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:38:00] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 12:38:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17696059828469760,"km_value":17696059828469.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:38:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1326521165657847808,"description":"Unknown IO ID 44"} 
[2026-09-05 12:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879550208001,"power":13972,"unknown_110":206,"unknown_83":44032,"ignition":18,"odometer":null,"unknown_44":-1326521165657847808}} 
[2026-09-05 12:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":171516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:38:00] local.INFO: GPS data processed {"connection_id":171516,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:38:00] local.INFO: Acknowledgment sent {"connection_id":171516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:38:45] local.INFO: TCP Data received {"connection_id":174220,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:38:45] local.INFO: Processing buffer {"connection_id":174220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:38:45] local.INFO: IMEI packet received {"connection_id":174220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":174220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:38:48] local.INFO: TCP Data received {"connection_id":174220,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:38:48] local.INFO: Processing buffer {"connection_id":174220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:38:48] local.INFO: IMEI packet received {"connection_id":174220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":174220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:38:49] local.INFO: TCP Data received {"connection_id":174220,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070643ec8012ced67c0072dcf68005300ea21..."} 
[2026-09-05 12:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070643ec8012ced67c0072dcf68005300ea21..."} 
[2026-09-05 12:38:49] local.INFO: Processing buffer {"connection_id":174220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070643ec8012ced67c0072dcf68005300ea21..."} 
[2026-09-05 12:38:49] local.INFO: Packet analysis {"connection_id":174220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07064"} 
[2026-09-05 12:38:49] local.INFO: Extracted packet for processing {"connection_id":174220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07064"} 
[2026-09-05 12:38:49] local.INFO: GPS Element Parsed {"raw_longitude":753756096,"raw_latitude":120442728,"longitude_deg":75.3756096,"latitude_deg":12.0442728,"altitude":83,"angle":234,"satellites":33,"speed":41,"hex_longitude":"2ced67c0","hex_latitude":"072dcf68","is_valid_coordinates":true} 
[2026-09-05 12:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879551744001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17696536569839616,"note":"Value kept but may cause issues"} 
[2026-09-05 12:38:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1330672921564895232,"note":"Value kept but may cause issues"} 
[2026-09-05 12:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788592013000,"timestamp_ms":1788592013000,"timestamp_seconds":1788592013,"priority":1,"record_length":96,"hex_timestamp":"000001a070643ec8"} 
[2026-09-05 12:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 12:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879551744001,"66":14374,"110":206,"83":44032,"24":41,"16":17696536569839616,"44":-1330672921564895232},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-05 12:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879551744001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:38:49] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 12:38:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17696536569839616,"km_value":17696536569839.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:38:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1330672921564895232,"description":"Unknown IO ID 44"} 
[2026-09-05 12:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879551744001,"power":14374,"unknown_110":206,"unknown_83":44032,"ignition":41,"odometer":null,"unknown_44":-1330672921564895232}} 
[2026-09-05 12:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":174220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:38:49] local.INFO: GPS data processed {"connection_id":174220,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:38:49] local.INFO: Acknowledgment sent {"connection_id":174220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:39:20] local.INFO: TCP Data received {"connection_id":174220,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0706461f0012ced4780072db980004e00ed23..."} 
[2026-09-05 12:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0706461f0012ced4780072db980004e00ed23..."} 
[2026-09-05 12:39:20] local.INFO: Processing buffer {"connection_id":174220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0706461f0012ced4780072db980004e00ed23..."} 
[2026-09-05 12:39:20] local.INFO: Packet analysis {"connection_id":174220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07064"} 
[2026-09-05 12:39:20] local.INFO: Extracted packet for processing {"connection_id":174220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07064"} 
[2026-09-05 12:39:20] local.INFO: GPS Element Parsed {"raw_longitude":753747840,"raw_latitude":120437120,"longitude_deg":75.374784,"latitude_deg":12.043712,"altitude":78,"angle":237,"satellites":35,"speed":40,"hex_longitude":"2ced4780","hex_latitude":"072db980","is_valid_coordinates":true} 
[2026-09-05 12:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879555328001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17697013311209472,"note":"Value kept but may cause issues"} 
[2026-09-05 12:39:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1339891227053561856,"note":"Value kept but may cause issues"} 
[2026-09-05 12:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788592022000,"timestamp_ms":1788592022000,"timestamp_seconds":1788592022,"priority":1,"record_length":96,"hex_timestamp":"000001a0706461f0"} 
[2026-09-05 12:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 12:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:39:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:39:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879555328001,"66":13993,"110":206,"83":44032,"24":40,"16":17697013311209472,"44":-1339891227053561856},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-05 12:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879555328001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:39:20] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 12:39:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17697013311209472,"km_value":17697013311209.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:39:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1339891227053561856,"description":"Unknown IO ID 44"} 
[2026-09-05 12:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879555328001,"power":13993,"unknown_110":206,"unknown_83":44032,"ignition":40,"odometer":null,"unknown_44":-1339891227053561856}} 
[2026-09-05 12:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":174220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:39:20] local.INFO: GPS data processed {"connection_id":174220,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:39:20] local.INFO: Acknowledgment sent {"connection_id":174220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:39:45] local.INFO: TCP Data received {"connection_id":171813,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:39:45] local.INFO: Processing buffer {"connection_id":171813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:39:45] local.INFO: IMEI packet received {"connection_id":171813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":171813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:39:50] local.INFO: TCP Data received {"connection_id":171813,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:39:50] local.INFO: Processing buffer {"connection_id":171813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:39:50] local.INFO: IMEI packet received {"connection_id":171813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":171813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:39:51] local.INFO: TCP Data received {"connection_id":171813,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070648900012ced2880072da840004a00f627..."} 
[2026-09-05 12:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070648900012ced2880072da840004a00f627..."} 
[2026-09-05 12:39:51] local.INFO: Processing buffer {"connection_id":171813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070648900012ced2880072da840004a00f627..."} 
[2026-09-05 12:39:51] local.INFO: Packet analysis {"connection_id":171813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07064"} 
[2026-09-05 12:39:51] local.INFO: Extracted packet for processing {"connection_id":171813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07064"} 
[2026-09-05 12:39:51] local.INFO: GPS Element Parsed {"raw_longitude":753739904,"raw_latitude":120432704,"longitude_deg":75.3739904,"latitude_deg":12.0432704,"altitude":74,"angle":246,"satellites":39,"speed":34,"hex_longitude":"2ced2880","hex_latitude":"072da840","is_valid_coordinates":true} 
[2026-09-05 12:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879557632001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17697447102906368,"note":"Value kept but may cause issues"} 
[2026-09-05 12:39:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1348968795053916160,"note":"Value kept but may cause issues"} 
[2026-09-05 12:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788592032000,"timestamp_ms":1788592032000,"timestamp_seconds":1788592032,"priority":1,"record_length":96,"hex_timestamp":"000001a070648900"} 
[2026-09-05 12:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 12:39:51] 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-09-05 12:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879557632001,"66":14407,"112":206,"83":44032,"24":34,"16":17697447102906368,"44":-1348968795053916160},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,83,24,16,44]} 
[2026-09-05 12:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879557632001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:39:51] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-05 12:39:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17697447102906368,"km_value":17697447102906.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:39:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1348968795053916160,"description":"Unknown IO ID 44"} 
[2026-09-05 12:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879557632001,"power":14407,"unknown_112":206,"unknown_83":44032,"ignition":34,"odometer":null,"unknown_44":-1348968795053916160}} 
[2026-09-05 12:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":171813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:39:51] local.INFO: GPS data processed {"connection_id":171813,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:39:51] local.INFO: Acknowledgment sent {"connection_id":171813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:40:23] local.INFO: TCP Data received {"connection_id":171813,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07066cf08012cec4d40072d7220003a015e27..."} 
[2026-09-05 12:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07066cf08012cec4d40072d7220003a015e27..."} 
[2026-09-05 12:40:23] local.INFO: Processing buffer {"connection_id":171813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07066cf08012cec4d40072d7220003a015e27..."} 
[2026-09-05 12:40:23] local.INFO: Packet analysis {"connection_id":171813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07066"} 
[2026-09-05 12:40:23] local.INFO: Extracted packet for processing {"connection_id":171813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07066"} 
[2026-09-05 12:40:23] local.INFO: GPS Element Parsed {"raw_longitude":753683776,"raw_latitude":120418848,"longitude_deg":75.3683776,"latitude_deg":12.0418848,"altitude":58,"angle":350,"satellites":39,"speed":11,"hex_longitude":"2cec4d40","hex_latitude":"072d7220","is_valid_coordinates":true} 
[2026-09-05 12:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879598080001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17700238831648768,"note":"Value kept but may cause issues"} 
[2026-09-05 12:40:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1419337539236321280,"note":"Value kept but may cause issues"} 
[2026-09-05 12:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788592181000,"timestamp_ms":1788592181000,"timestamp_seconds":1788592181,"priority":1,"record_length":96,"hex_timestamp":"000001a07066cf08"} 
[2026-09-05 12:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:40:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-05 12:40:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:40:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879598080001,"66":13493,"74":206,"83":44032,"24":11,"16":17700238831648768,"44":-1419337539236321280},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,83,24,16,44]} 
[2026-09-05 12:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879598080001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:40:23] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-05 12:40:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17700238831648768,"km_value":17700238831648.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:40:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1419337539236321280,"description":"Unknown IO ID 44"} 
[2026-09-05 12:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879598080001,"power":13493,"unknown_74":206,"unknown_83":44032,"ignition":11,"odometer":null,"unknown_44":-1419337539236321280}} 
[2026-09-05 12:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":171813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:40:23] local.INFO: GPS data processed {"connection_id":171813,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:40:23] local.INFO: Acknowledgment sent {"connection_id":171813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:40:46] local.INFO: TCP Data received {"connection_id":171518,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:40:46] local.INFO: Processing buffer {"connection_id":171518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:40:46] local.INFO: IMEI packet received {"connection_id":171518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":171518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:40:50] local.INFO: TCP Data received {"connection_id":171518,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:40:50] local.INFO: Processing buffer {"connection_id":171518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:40:50] local.INFO: IMEI packet received {"connection_id":171518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":171518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:40:51] local.INFO: TCP Data received {"connection_id":171518,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07066d2f0012cec4d00072d7360003a000127..."} 
[2026-09-05 12:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07066d2f0012cec4d00072d7360003a000127..."} 
[2026-09-05 12:40:51] local.INFO: Processing buffer {"connection_id":171518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07066d2f0012cec4d00072d7360003a000127..."} 
[2026-09-05 12:40:51] local.INFO: Packet analysis {"connection_id":171518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07066"} 
[2026-09-05 12:40:51] local.INFO: Extracted packet for processing {"connection_id":171518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07066"} 
[2026-09-05 12:40:51] local.INFO: GPS Element Parsed {"raw_longitude":753683712,"raw_latitude":120419168,"longitude_deg":75.3683712,"latitude_deg":12.0419168,"altitude":58,"angle":1,"satellites":39,"speed":14,"hex_longitude":"2cec4d00","hex_latitude":"072d7360","is_valid_coordinates":true} 
[2026-09-05 12:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879598336001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17700251716550656,"note":"Value kept but may cause issues"} 
[2026-09-05 12:40:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1419407907980435456,"note":"Value kept but may cause issues"} 
[2026-09-05 12:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788592182000,"timestamp_ms":1788592182000,"timestamp_seconds":1788592182,"priority":1,"record_length":96,"hex_timestamp":"000001a07066d2f0"} 
[2026-09-05 12:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-05 12:40:51] 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-09-05 12:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879598336001,"66":14004,"74":206,"83":44032,"24":14,"16":17700251716550656,"44":-1419407907980435456},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,83,24,16,44]} 
[2026-09-05 12:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879598336001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:40:51] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-05 12:40:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17700251716550656,"km_value":17700251716550.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:40:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1419407907980435456,"description":"Unknown IO ID 44"} 
[2026-09-05 12:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879598336001,"power":14004,"unknown_74":206,"unknown_83":44032,"ignition":14,"odometer":null,"unknown_44":-1419407907980435456}} 
[2026-09-05 12:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":171518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:40:51] local.INFO: GPS data processed {"connection_id":171518,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:40:51] local.INFO: Acknowledgment sent {"connection_id":171518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:41:22] local.INFO: TCP Data received {"connection_id":171518,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07066dac0012cec4d80072d76e0003a000d26..."} 
[2026-09-05 12:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07066dac0012cec4d80072d76e0003a000d26..."} 
[2026-09-05 12:41:22] local.INFO: Processing buffer {"connection_id":171518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07066dac0012cec4d80072d76e0003a000d26..."} 
[2026-09-05 12:41:22] local.INFO: Packet analysis {"connection_id":171518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07066"} 
[2026-09-05 12:41:22] local.INFO: Extracted packet for processing {"connection_id":171518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07066"} 
[2026-09-05 12:41:22] local.INFO: GPS Element Parsed {"raw_longitude":753683840,"raw_latitude":120420064,"longitude_deg":75.368384,"latitude_deg":12.0420064,"altitude":58,"angle":13,"satellites":38,"speed":19,"hex_longitude":"2cec4d80","hex_latitude":"072d76e0","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879598592001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17700298961190912,"note":"Value kept but may cause issues"} 
[2026-09-05 12:41:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1419478276724531200,"note":"Value kept but may cause issues"} 
[2026-09-05 12:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788592184000,"timestamp_ms":1788592184000,"timestamp_seconds":1788592184,"priority":1,"record_length":96,"hex_timestamp":"000001a07066dac0"} 
[2026-09-05 12:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-05 12:41:22] 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-09-05 12: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-09-05 12:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879598592001,"66":13928,"73":206,"83":44032,"24":19,"16":17700298961190912,"44":-1419478276724531200},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,44]} 
[2026-09-05 12:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879598592001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:41:22] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-05 12:41:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17700298961190912,"km_value":17700298961190.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:41:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1419478276724531200,"description":"Unknown IO ID 44"} 
[2026-09-05 12:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879598592001,"power":13928,"unknown_73":206,"unknown_83":44032,"ignition":19,"odometer":null,"unknown_44":-1419478276724531200}} 
[2026-09-05 12:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":171518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:41:22] local.INFO: GPS data processed {"connection_id":171518,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:41:22] local.INFO: Acknowledgment sent {"connection_id":171518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:41:45] local.INFO: TCP Data received {"connection_id":172914,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:41:45] local.INFO: Processing buffer {"connection_id":172914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:41:45] local.INFO: IMEI packet received {"connection_id":172914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":172914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:41:45] local.INFO: TCP Data received {"connection_id":172914,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:41:45] local.INFO: Processing buffer {"connection_id":172914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:41:45] local.INFO: IMEI packet received {"connection_id":172914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":172914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:41:48] local.INFO: TCP Data received {"connection_id":172914,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:41:48] local.INFO: Processing buffer {"connection_id":172914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:41:48] local.INFO: IMEI packet received {"connection_id":172914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":172914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:41:50] local.INFO: TCP Data received {"connection_id":172914,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:41:50] local.INFO: Processing buffer {"connection_id":172914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:41:50] local.INFO: IMEI packet received {"connection_id":172914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":172914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:41:51] local.INFO: TCP Data received {"connection_id":172914,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070671940012cec56c0072d9a580037001025..."} 
[2026-09-05 12:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070671940012cec56c0072d9a580037001025..."} 
[2026-09-05 12:41:51] local.INFO: Processing buffer {"connection_id":172914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070671940012cec56c0072d9a580037001025..."} 
[2026-09-05 12:41:51] local.INFO: Packet analysis {"connection_id":172914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07067"} 
[2026-09-05 12:41:51] local.INFO: Extracted packet for processing {"connection_id":172914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07067"} 
[2026-09-05 12:41:51] local.INFO: GPS Element Parsed {"raw_longitude":753686208,"raw_latitude":120429144,"longitude_deg":75.3686208,"latitude_deg":12.0429144,"altitude":55,"angle":16,"satellites":37,"speed":26,"hex_longitude":"2cec56c0","hex_latitude":"072d9a58","is_valid_coordinates":true} 
[2026-09-05 12:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879599104001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17700754227724288,"note":"Value kept but may cause issues"} 
[2026-09-05 12:41:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1419337539235946496,"note":"Value kept but may cause issues"} 
[2026-09-05 12:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788592200000,"timestamp_ms":1788592200000,"timestamp_seconds":1788592200,"priority":1,"record_length":96,"hex_timestamp":"000001a070671940"} 
[2026-09-05 12:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-05 12:41:51] 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-09-05 12:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879599104001,"66":13993,"73":206,"83":44032,"24":26,"16":17700754227724288,"44":-1419337539235946496},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,44]} 
[2026-09-05 12:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879599104001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:41:51] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-05 12:41:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17700754227724288,"km_value":17700754227724.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:41:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1419337539235946496,"description":"Unknown IO ID 44"} 
[2026-09-05 12:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879599104001,"power":13993,"unknown_73":206,"unknown_83":44032,"ignition":26,"odometer":null,"unknown_44":-1419337539235946496}} 
[2026-09-05 12:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":172914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:41:51] local.INFO: GPS data processed {"connection_id":172914,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:41:51] local.INFO: Acknowledgment sent {"connection_id":172914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:41:55] local.INFO: TCP Data received {"connection_id":172914,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070674820012cec5fc0072dbbd80035001222..."} 
[2026-09-05 12:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070674820012cec5fc0072dbbd80035001222..."} 
[2026-09-05 12:41:55] local.INFO: Processing buffer {"connection_id":172914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070674820012cec5fc0072dbbd80035001222..."} 
[2026-09-05 12:41:55] local.INFO: Packet analysis {"connection_id":172914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07067"} 
[2026-09-05 12:41:55] local.INFO: Extracted packet for processing {"connection_id":172914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07067"} 
[2026-09-05 12:41:55] local.INFO: GPS Element Parsed {"raw_longitude":753688512,"raw_latitude":120437720,"longitude_deg":75.3688512,"latitude_deg":12.043772,"altitude":53,"angle":18,"satellites":34,"speed":33,"hex_longitude":"2cec5fc0","hex_latitude":"072dbbd8","is_valid_coordinates":true} 
[2026-09-05 12:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879603200001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17701183724453888,"note":"Value kept but may cause issues"} 
[2026-09-05 12:41:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1416733895699048448,"note":"Value kept but may cause issues"} 
[2026-09-05 12:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788592212000,"timestamp_ms":1788592212000,"timestamp_seconds":1788592212,"priority":1,"record_length":96,"hex_timestamp":"000001a070674820"} 
[2026-09-05 12:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:41:55] 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-09-05 12:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 12:41:55] 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-09-05 12:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879603200001,"66":13993,"73":206,"83":44032,"24":33,"16":17701183724453888,"44":-1416733895699048448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,44]} 
[2026-09-05 12:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879603200001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:41:55] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-05 12:41:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17701183724453888,"km_value":17701183724453.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:41:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1416733895699048448,"description":"Unknown IO ID 44"} 
[2026-09-05 12:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879603200001,"power":13993,"unknown_73":206,"unknown_83":44032,"ignition":33,"odometer":null,"unknown_44":-1416733895699048448}} 
[2026-09-05 12:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":172914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:41:55] local.INFO: GPS data processed {"connection_id":172914,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:41:55] local.INFO: Acknowledgment sent {"connection_id":172914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:42:17] local.INFO: TCP Data received {"connection_id":174222,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:42:17] local.INFO: Processing buffer {"connection_id":174222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:42:17] local.INFO: IMEI packet received {"connection_id":174222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 12:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":174222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:42:26] local.INFO: TCP Data received {"connection_id":172914,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070677318012cec6940072dde780035000b22..."} 
[2026-09-05 12:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070677318012cec6940072dde780035000b22..."} 
[2026-09-05 12:42:26] local.INFO: Processing buffer {"connection_id":172914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070677318012cec6940072dde780035000b22..."} 
[2026-09-05 12:42:26] local.INFO: Packet analysis {"connection_id":172914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07067"} 
[2026-09-05 12:42:26] local.INFO: Extracted packet for processing {"connection_id":172914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07067"} 
[2026-09-05 12:42:26] local.INFO: GPS Element Parsed {"raw_longitude":753690944,"raw_latitude":120446584,"longitude_deg":75.3690944,"latitude_deg":12.0446584,"altitude":53,"angle":11,"satellites":34,"speed":30,"hex_longitude":"2cec6940","hex_latitude":"072dde78","is_valid_coordinates":true} 
[2026-09-05 12:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879606272001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17701626106085376,"note":"Value kept but may cause issues"} 
[2026-09-05 12:42:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1414200620906457088,"note":"Value kept but may cause issues"} 
[2026-09-05 12:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788592223000,"timestamp_ms":1788592223000,"timestamp_seconds":1788592223,"priority":1,"record_length":96,"hex_timestamp":"000001a070677318"} 
[2026-09-05 12:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:42:26] 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-09-05 12:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 12:42:26] 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-09-05 12:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879606272001,"66":14428,"73":206,"83":44032,"24":30,"16":17701626106085376,"44":-1414200620906457088},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,44]} 
[2026-09-05 12:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879606272001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:42:26] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-05 12:42:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17701626106085376,"km_value":17701626106085.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:42:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1414200620906457088,"description":"Unknown IO ID 44"} 
[2026-09-05 12:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879606272001,"power":14428,"unknown_73":206,"unknown_83":44032,"ignition":30,"odometer":null,"unknown_44":-1414200620906457088}} 
[2026-09-05 12:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":172914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:42:27] local.INFO: GPS data processed {"connection_id":172914,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:42:27] local.INFO: Acknowledgment sent {"connection_id":172914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:42:45] local.INFO: TCP Data received {"connection_id":171519,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:42:45] local.INFO: Processing buffer {"connection_id":171519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:42:45] local.INFO: IMEI packet received {"connection_id":171519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":171519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:42:46] local.INFO: TCP Data received {"connection_id":171519,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:42:46] local.INFO: Processing buffer {"connection_id":171519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:42:46] local.INFO: IMEI packet received {"connection_id":171519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":171519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:42:47] local.INFO: TCP Data received {"connection_id":171815,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:42:47] local.INFO: Processing buffer {"connection_id":171815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:42:47] local.INFO: IMEI packet received {"connection_id":171815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 12:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":171815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:42:50] local.INFO: TCP Data received {"connection_id":171519,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:42:50] local.INFO: Processing buffer {"connection_id":171519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:42:50] local.INFO: IMEI packet received {"connection_id":171519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":171519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:42:51] local.INFO: TCP Data received {"connection_id":171519,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07067a5e0012cec6f00072e01180038000223..."} 
[2026-09-05 12:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07067a5e0012cec6f00072e01180038000223..."} 
[2026-09-05 12:42:51] local.INFO: Processing buffer {"connection_id":171519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07067a5e0012cec6f00072e01180038000223..."} 
[2026-09-05 12:42:51] local.INFO: Packet analysis {"connection_id":171519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07067"} 
[2026-09-05 12:42:51] local.INFO: Extracted packet for processing {"connection_id":171519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07067"} 
[2026-09-05 12:42:51] local.INFO: GPS Element Parsed {"raw_longitude":753692416,"raw_latitude":120455448,"longitude_deg":75.3692416,"latitude_deg":12.0455448,"altitude":56,"angle":2,"satellites":35,"speed":30,"hex_longitude":"2cec6f00","hex_latitude":"072e0118","is_valid_coordinates":true} 
[2026-09-05 12:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879609088001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17702064192749568,"note":"Value kept but may cause issues"} 
[2026-09-05 12:42:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1411526608625436672,"note":"Value kept but may cause issues"} 
[2026-09-05 12:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788592236000,"timestamp_ms":1788592236000,"timestamp_seconds":1788592236,"priority":1,"record_length":96,"hex_timestamp":"000001a07067a5e0"} 
[2026-09-05 12:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 12:42:51] 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-09-05 12:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879609088001,"66":14374,"73":206,"83":44032,"24":30,"16":17702064192749568,"44":-1411526608625436672},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,44]} 
[2026-09-05 12:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879609088001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:42:51] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-05 12:42:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17702064192749568,"km_value":17702064192749.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:42:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1411526608625436672,"description":"Unknown IO ID 44"} 
[2026-09-05 12:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879609088001,"power":14374,"unknown_73":206,"unknown_83":44032,"ignition":30,"odometer":null,"unknown_44":-1411526608625436672}} 
[2026-09-05 12:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":171519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:42:51] local.INFO: GPS data processed {"connection_id":171519,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:42:51] local.INFO: Acknowledgment sent {"connection_id":171519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:43:03] local.INFO: TCP Data received {"connection_id":172915,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:43:03] local.INFO: Processing buffer {"connection_id":172915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:43:03] local.INFO: IMEI packet received {"connection_id":172915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":172915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:43:04] local.INFO: TCP Data received {"connection_id":172915,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:43:04] local.INFO: Processing buffer {"connection_id":172915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:43:04] local.INFO: IMEI packet received {"connection_id":172915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":172915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:43:08] local.INFO: TCP Data received {"connection_id":172915,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07068da78012d693680061c3678000700982d..."} 
[2026-09-05 12:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07068da78012d693680061c3678000700982d..."} 
[2026-09-05 12:43:08] local.INFO: Processing buffer {"connection_id":172915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07068da78012d693680061c3678000700982d..."} 
[2026-09-05 12:43:08] local.INFO: Packet analysis {"connection_id":172915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07068"} 
[2026-09-05 12:43:08] local.INFO: Extracted packet for processing {"connection_id":172915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07068"} 
[2026-09-05 12:43:08] local.INFO: GPS Element Parsed {"raw_longitude":761869952,"raw_latitude":102512248,"longitude_deg":76.1869952,"latitude_deg":10.2512248,"altitude":7,"angle":152,"satellites":45,"speed":50,"hex_longitude":"2d693680","hex_latitude":"061c3678","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879630592001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399685675131076608,"note":"Value kept but may cause issues"} 
[2026-09-05 12:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7576461974365952000,"note":"Value kept but may cause issues"} 
[2026-09-05 12:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788592315000,"timestamp_ms":1788592315000,"timestamp_seconds":1788592315,"priority":1,"record_length":96,"hex_timestamp":"000001a07068da78"} 
[2026-09-05 12:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:43: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-09-05 12: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 12:43:08] 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-09-05 12: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-09-05 12:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:43: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-09-05 12:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879630592001,"66":27767,"128":206,"79":20992,"24":50,"16":399685675131076608,"45":7576461974365952000},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,79,24,16,45]} 
[2026-09-05 12:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879630592001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:43:08] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-05 12:43:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399685675131076608,"km_value":399685675131076.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7576461974365952000,"description":"Unknown IO ID 45"} 
[2026-09-05 12:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879630592001,"power":27767,"unknown_128":206,"unknown_79":20992,"ignition":50,"odometer":null,"unknown_45":7576461974365952000}} 
[2026-09-05 12:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":172915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:43:08] local.INFO: GPS data processed {"connection_id":172915,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:43:08] local.INFO: Acknowledgment sent {"connection_id":172915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:43:09] local.INFO: TCP Data received {"connection_id":172915,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07068f5d0012d694840061c1758000700962d..."} 
[2026-09-05 12:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07068f5d0012d694840061c1758000700962d..."} 
[2026-09-05 12:43:09] local.INFO: Processing buffer {"connection_id":172915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07068f5d0012d694840061c1758000700962d..."} 
[2026-09-05 12:43:09] local.INFO: Packet analysis {"connection_id":172915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07068"} 
[2026-09-05 12:43:09] local.INFO: Extracted packet for processing {"connection_id":172915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07068"} 
[2026-09-05 12:43:09] local.INFO: GPS Element Parsed {"raw_longitude":761874496,"raw_latitude":102504280,"longitude_deg":76.1874496,"latitude_deg":10.250428,"altitude":7,"angle":150,"satellites":45,"speed":49,"hex_longitude":"2d694840","hex_latitude":"061c1758","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879632640001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399686117512708096,"note":"Value kept but may cause issues"} 
[2026-09-05 12:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7581387786456299520,"note":"Value kept but may cause issues"} 
[2026-09-05 12:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788592322000,"timestamp_ms":1788592322000,"timestamp_seconds":1788592322,"priority":1,"record_length":96,"hex_timestamp":"000001a07068f5d0"} 
[2026-09-05 12:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:43: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-09-05 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 12:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:43: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-09-05 12:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879632640001,"66":27995,"128":206,"79":20992,"24":49,"16":399686117512708096,"45":7581387786456299520},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,79,24,16,45]} 
[2026-09-05 12:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879632640001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:43:09] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-05 12:43:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399686117512708096,"km_value":399686117512708.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":7581387786456299520,"description":"Unknown IO ID 45"} 
[2026-09-05 12:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879632640001,"power":27995,"unknown_128":206,"unknown_79":20992,"ignition":49,"odometer":null,"unknown_45":7581387786456299520}} 
[2026-09-05 12:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":172915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:43:09] local.INFO: GPS data processed {"connection_id":172915,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:43:09] local.INFO: Acknowledgment sent {"connection_id":172915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:43:23] local.INFO: TCP Data received {"connection_id":171519,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070696b00012ced0980072f1660004f002725..."} 
[2026-09-05 12:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070696b00012ced0980072f1660004f002725..."} 
[2026-09-05 12:43:23] local.INFO: Processing buffer {"connection_id":171519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070696b00012ced0980072f1660004f002725..."} 
[2026-09-05 12:43:23] local.INFO: Packet analysis {"connection_id":171519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07069"} 
[2026-09-05 12:43:23] local.INFO: Extracted packet for processing {"connection_id":171519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07069"} 
[2026-09-05 12:43:23] local.INFO: GPS Element Parsed {"raw_longitude":753731968,"raw_latitude":120526432,"longitude_deg":75.3731968,"latitude_deg":12.0526432,"altitude":79,"angle":39,"satellites":37,"speed":38,"hex_longitude":"2ced0980","hex_latitude":"072f1660","is_valid_coordinates":true} 
[2026-09-05 12:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879639552001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17706183066386432,"note":"Value kept but may cause issues"} 
[2026-09-05 12:43:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1373105274285692928,"note":"Value kept but may cause issues"} 
[2026-09-05 12:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788592352000,"timestamp_ms":1788592352000,"timestamp_seconds":1788592352,"priority":1,"record_length":96,"hex_timestamp":"000001a070696b00"} 
[2026-09-05 12:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-05 12:43:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879639552001,"66":14428,"121":206,"83":44032,"24":38,"16":17706183066386432,"44":-1373105274285692928},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,83,24,16,44]} 
[2026-09-05 12:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879639552001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:43:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-05 12:43:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17706183066386432,"km_value":17706183066386.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:43:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1373105274285692928,"description":"Unknown IO ID 44"} 
[2026-09-05 12:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879639552001,"power":14428,"unknown_121":206,"unknown_83":44032,"ignition":38,"odometer":null,"unknown_44":-1373105274285692928}} 
[2026-09-05 12:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":171519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:43:23] local.INFO: GPS data processed {"connection_id":171519,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:43:23] local.INFO: Acknowledgment sent {"connection_id":171519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:43:40] local.INFO: TCP Data received {"connection_id":172915,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a070691510012d695980061bf620000700982d..."} 
[2026-09-05 12:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070691510012d695980061bf620000700982d..."} 
[2026-09-05 12:43:40] local.INFO: Processing buffer {"connection_id":172915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070691510012d695980061bf620000700982d..."} 
[2026-09-05 12:43:40] local.INFO: Packet analysis {"connection_id":172915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07069"} 
[2026-09-05 12:43:40] local.INFO: Extracted packet for processing {"connection_id":172915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07069"} 
[2026-09-05 12:43:40] local.INFO: GPS Element Parsed {"raw_longitude":761878912,"raw_latitude":102495776,"longitude_deg":76.1878912,"latitude_deg":10.2495776,"altitude":7,"angle":152,"satellites":45,"speed":50,"hex_longitude":"2d695980","hex_latitude":"061bf620","is_valid_coordinates":true} 
[2026-09-05 12:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879634432001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399686581369176064,"note":"Value kept but may cause issues"} 
[2026-09-05 12:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7586383967290873856,"note":"Value kept but may cause issues"} 
[2026-09-05 12:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788592330000,"timestamp_ms":1788592330000,"timestamp_seconds":1788592330,"priority":1,"record_length":96,"hex_timestamp":"000001a070691510"} 
[2026-09-05 12:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:43:40] 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-09-05 12:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 12:43:40] 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-09-05 12:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":172915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":172915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":172915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:43:40] 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-09-05 12:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879634432001,"66":27995,"128":206,"79":20992,"24":50,"16":399686581369176064,"45":7586383967290873856},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,79,24,16,45]} 
[2026-09-05 12:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879634432001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:43:40] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-05 12:43:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399686581369176064,"km_value":399686581369176.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":7586383967290873856,"description":"Unknown IO ID 45"} 
[2026-09-05 12:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879634432001,"power":27995,"unknown_128":206,"unknown_79":20992,"ignition":50,"odometer":null,"unknown_45":7586383967290873856}} 
[2026-09-05 12:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":172915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:43:40] local.INFO: GPS data processed {"connection_id":172915,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:43:40] local.INFO: Acknowledgment sent {"connection_id":172915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:43:45] local.INFO: TCP Data received {"connection_id":171520,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:43:45] local.INFO: Processing buffer {"connection_id":171520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:43:45] local.INFO: IMEI packet received {"connection_id":171520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":171520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:43:50] local.INFO: TCP Data received {"connection_id":171520,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:43:50] local.INFO: Processing buffer {"connection_id":171520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:43:50] local.INFO: IMEI packet received {"connection_id":171520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":171520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:43:51] local.INFO: TCP Data received {"connection_id":171520,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070699210012ced2040072f34c8004e001926..."} 
[2026-09-05 12:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070699210012ced2040072f34c8004e001926..."} 
[2026-09-05 12:43:51] local.INFO: Processing buffer {"connection_id":171520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070699210012ced2040072f34c8004e001926..."} 
[2026-09-05 12:43:51] local.INFO: Packet analysis {"connection_id":171520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07069"} 
[2026-09-05 12:43:51] local.INFO: Extracted packet for processing {"connection_id":171520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07069"} 
[2026-09-05 12:43:51] local.INFO: GPS Element Parsed {"raw_longitude":753737792,"raw_latitude":120534216,"longitude_deg":75.3737792,"latitude_deg":12.0534216,"altitude":78,"angle":25,"satellites":38,"speed":39,"hex_longitude":"2ced2040","hex_latitude":"072f34c8","is_valid_coordinates":true} 
[2026-09-05 12:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879642112001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17706651217821696,"note":"Value kept but may cause issues"} 
[2026-09-05 12:43:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1366420243587112960,"note":"Value kept but may cause issues"} 
[2026-09-05 12:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788592362000,"timestamp_ms":1788592362000,"timestamp_seconds":1788592362,"priority":1,"record_length":96,"hex_timestamp":"000001a070699210"} 
[2026-09-05 12:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 12:43:51] 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-09-05 12:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879642112001,"66":13993,"121":206,"83":44032,"24":39,"16":17706651217821696,"44":-1366420243587112960},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,83,24,16,44]} 
[2026-09-05 12:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879642112001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:43:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-05 12:43:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17706651217821696,"km_value":17706651217821.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:43:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1366420243587112960,"description":"Unknown IO ID 44"} 
[2026-09-05 12:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879642112001,"power":13993,"unknown_121":206,"unknown_83":44032,"ignition":39,"odometer":null,"unknown_44":-1366420243587112960}} 
[2026-09-05 12:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":171520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:43:51] local.INFO: GPS data processed {"connection_id":171520,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:43:51] local.INFO: Acknowledgment sent {"connection_id":171520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:43:52] local.INFO: TCP Data received {"connection_id":172917,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:43:52] local.INFO: Processing buffer {"connection_id":172917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:43:52] local.INFO: IMEI packet received {"connection_id":172917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":172917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:43:53] local.INFO: TCP Data received {"connection_id":172917,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:43:53] local.INFO: Processing buffer {"connection_id":172917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:43:53] local.INFO: IMEI packet received {"connection_id":172917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":172917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:43:55] local.INFO: TCP Data received {"connection_id":172917,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:43:55] local.INFO: Processing buffer {"connection_id":172917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:43:55] local.INFO: IMEI packet received {"connection_id":172917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":172917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:43:56] local.INFO: TCP Data received {"connection_id":172917,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:43:56] local.INFO: Processing buffer {"connection_id":172917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:43:56] local.INFO: IMEI packet received {"connection_id":172917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":172917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:44:22] local.INFO: TCP Data received {"connection_id":171520,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070699210012ced2040072f34c8004e001926..."} 
[2026-09-05 12:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070699210012ced2040072f34c8004e001926..."} 
[2026-09-05 12:44:22] local.INFO: Processing buffer {"connection_id":171520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070699210012ced2040072f34c8004e001926..."} 
[2026-09-05 12:44:22] local.INFO: Packet analysis {"connection_id":171520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07069"} 
[2026-09-05 12:44:22] local.INFO: Extracted packet for processing {"connection_id":171520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07069"} 
[2026-09-05 12:44:22] local.INFO: GPS Element Parsed {"raw_longitude":753737792,"raw_latitude":120534216,"longitude_deg":75.3737792,"latitude_deg":12.0534216,"altitude":78,"angle":25,"satellites":38,"speed":39,"hex_longitude":"2ced2040","hex_latitude":"072f34c8","is_valid_coordinates":true} 
[2026-09-05 12:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879644672001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17706651217821696,"note":"Value kept but may cause issues"} 
[2026-09-05 12:44:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1360016687864952832,"note":"Value kept but may cause issues"} 
[2026-09-05 12:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788592362000,"timestamp_ms":1788592362000,"timestamp_seconds":1788592362,"priority":1,"record_length":96,"hex_timestamp":"000001a070699210"} 
[2026-09-05 12:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 12:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879644672001,"66":13993,"121":206,"83":44032,"24":39,"16":17706651217821696,"44":-1360016687864952832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,83,24,16,44]} 
[2026-09-05 12:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879644672001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:44:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-05 12:44:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17706651217821696,"km_value":17706651217821.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:44:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1360016687864952832,"description":"Unknown IO ID 44"} 
[2026-09-05 12:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879644672001,"power":13993,"unknown_121":206,"unknown_83":44032,"ignition":39,"odometer":null,"unknown_44":-1360016687864952832}} 
[2026-09-05 12:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":171520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:44:22] local.INFO: GPS data processed {"connection_id":171520,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:44:22] local.INFO: Acknowledgment sent {"connection_id":171520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:44:50] local.INFO: TCP Data received {"connection_id":172918,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:44:50] local.INFO: Processing buffer {"connection_id":172918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:44:50] local.INFO: IMEI packet received {"connection_id":172918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":172918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:44:51] local.INFO: TCP Data received {"connection_id":172918,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:44:51] local.INFO: Processing buffer {"connection_id":172918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:44:51] local.INFO: IMEI packet received {"connection_id":172918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":172918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:44:52] local.INFO: TCP Data received {"connection_id":172918,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070699dc8012ced2380072f4038004e000924..."} 
[2026-09-05 12:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070699dc8012ced2380072f4038004e000924..."} 
[2026-09-05 12:44:52] local.INFO: Processing buffer {"connection_id":172918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070699dc8012ced2380072f4038004e000924..."} 
[2026-09-05 12:44:52] local.INFO: Packet analysis {"connection_id":172918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07069"} 
[2026-09-05 12:44:52] local.INFO: Extracted packet for processing {"connection_id":172918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07069"} 
[2026-09-05 12:44:52] local.INFO: GPS Element Parsed {"raw_longitude":753738624,"raw_latitude":120537144,"longitude_deg":75.3738624,"latitude_deg":12.0537144,"altitude":78,"angle":9,"satellites":36,"speed":42,"hex_longitude":"2ced2380","hex_latitude":"072f4038","is_valid_coordinates":true} 
[2026-09-05 12:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879644672001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17706801541677056,"note":"Value kept but may cause issues"} 
[2026-09-05 12:44:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1360016687864952832,"note":"Value kept but may cause issues"} 
[2026-09-05 12:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788592365000,"timestamp_ms":1788592365000,"timestamp_seconds":1788592365,"priority":1,"record_length":96,"hex_timestamp":"000001a070699dc8"} 
[2026-09-05 12:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 12:44:52] 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-09-05 12:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879644672001,"66":14004,"121":206,"83":44032,"24":42,"16":17706801541677056,"44":-1360016687864952832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,83,24,16,44]} 
[2026-09-05 12:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879644672001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:44:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-05 12:44:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17706801541677056,"km_value":17706801541677.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:44:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1360016687864952832,"description":"Unknown IO ID 44"} 
[2026-09-05 12:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879644672001,"power":14004,"unknown_121":206,"unknown_83":44032,"ignition":42,"odometer":null,"unknown_44":-1360016687864952832}} 
[2026-09-05 12:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":172918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:44:52] local.INFO: GPS data processed {"connection_id":172918,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:44:52] local.INFO: Acknowledgment sent {"connection_id":172918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:45:23] local.INFO: TCP Data received {"connection_id":172918,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0706b2080012ced9a8007308428005d000d27..."} 
[2026-09-05 12:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0706b2080012ced9a8007308428005d000d27..."} 
[2026-09-05 12:45:23] local.INFO: Processing buffer {"connection_id":172918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0706b2080012ced9a8007308428005d000d27..."} 
[2026-09-05 12:45:23] local.INFO: Packet analysis {"connection_id":172918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0706b"} 
[2026-09-05 12:45:23] local.INFO: Extracted packet for processing {"connection_id":172918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0706b"} 
[2026-09-05 12:45:23] local.INFO: GPS Element Parsed {"raw_longitude":753769088,"raw_latitude":120620072,"longitude_deg":75.3769088,"latitude_deg":12.0620072,"altitude":93,"angle":13,"satellites":39,"speed":35,"hex_longitude":"2ced9a80","hex_latitude":"07308428","is_valid_coordinates":true} 
[2026-09-05 12:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879667968001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17711165228449792,"note":"Value kept but may cause issues"} 
[2026-09-05 12:45:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1327576696779515904,"note":"Value kept but may cause issues"} 
[2026-09-05 12:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788592464000,"timestamp_ms":1788592464000,"timestamp_seconds":1788592464,"priority":1,"record_length":96,"hex_timestamp":"000001a0706b2080"} 
[2026-09-05 12:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-05 12:45:23] 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-09-05 12:45:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879667968001,"66":13678,"27":206,"83":44032,"24":35,"16":17711165228449792,"44":-1327576696779515904},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-05 12:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879667968001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:45:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-05 12:45:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17711165228449792,"km_value":17711165228449.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:45:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1327576696779515904,"description":"Unknown IO ID 44"} 
[2026-09-05 12:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879667968001,"power":13678,"unknown_27":206,"unknown_83":44032,"ignition":35,"odometer":null,"unknown_44":-1327576696779515904}} 
[2026-09-05 12:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":172918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:45:23] local.INFO: GPS data processed {"connection_id":172918,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:45:23] local.INFO: Acknowledgment sent {"connection_id":172918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:45:45] local.INFO: TCP Data received {"connection_id":174225,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:45:45] local.INFO: Processing buffer {"connection_id":174225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:45:45] local.INFO: IMEI packet received {"connection_id":174225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":174225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:45:48] local.INFO: TCP Data received {"connection_id":174225,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:45:48] local.INFO: Processing buffer {"connection_id":174225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:45:48] local.INFO: IMEI packet received {"connection_id":174225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":174225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:45:49] local.INFO: TCP Data received {"connection_id":174225,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0706b4b78012ceda7400730a6b8005d001926..."} 
[2026-09-05 12:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0706b4b78012ceda7400730a6b8005d001926..."} 
[2026-09-05 12:45:49] local.INFO: Processing buffer {"connection_id":174225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0706b4b78012ceda7400730a6b8005d001926..."} 
[2026-09-05 12:45:49] local.INFO: Packet analysis {"connection_id":174225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0706b"} 
[2026-09-05 12:45:49] local.INFO: Extracted packet for processing {"connection_id":174225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0706b"} 
[2026-09-05 12:45:49] local.INFO: GPS Element Parsed {"raw_longitude":753772352,"raw_latitude":120628920,"longitude_deg":75.3772352,"latitude_deg":12.062892,"altitude":93,"angle":25,"satellites":38,"speed":32,"hex_longitude":"2ceda740","hex_latitude":"0730a6b8","is_valid_coordinates":true} 
[2026-09-05 12:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879670784001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17711624789950464,"note":"Value kept but may cause issues"} 
[2026-09-05 12:45:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1325606371940096000,"note":"Value kept but may cause issues"} 
[2026-09-05 12:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788592475000,"timestamp_ms":1788592475000,"timestamp_seconds":1788592475,"priority":1,"record_length":96,"hex_timestamp":"000001a0706b4b78"} 
[2026-09-05 12:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:45:49] 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-09-05 12:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-05 12:45: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-09-05 12:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879670784001,"66":14341,"104":206,"83":44032,"24":32,"16":17711624789950464,"44":-1325606371940096000},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-05 12:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879670784001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:45:49] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-05 12:45:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17711624789950464,"km_value":17711624789950.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:45:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1325606371940096000,"description":"Unknown IO ID 44"} 
[2026-09-05 12:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879670784001,"power":14341,"unknown_104":206,"unknown_83":44032,"ignition":32,"odometer":null,"unknown_44":-1325606371940096000}} 
[2026-09-05 12:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":174225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:45:49] local.INFO: GPS data processed {"connection_id":174225,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:45:49] local.INFO: Acknowledgment sent {"connection_id":174225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:46:20] local.INFO: TCP Data received {"connection_id":174225,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0706b4b78012ceda7400730a6b8005d001926..."} 
[2026-09-05 12:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0706b4b78012ceda7400730a6b8005d001926..."} 
[2026-09-05 12:46:20] local.INFO: Processing buffer {"connection_id":174225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0706b4b78012ceda7400730a6b8005d001926..."} 
[2026-09-05 12:46:20] local.INFO: Packet analysis {"connection_id":174225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0706b"} 
[2026-09-05 12:46:20] local.INFO: Extracted packet for processing {"connection_id":174225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0706b"} 
[2026-09-05 12:46:20] local.INFO: GPS Element Parsed {"raw_longitude":753772352,"raw_latitude":120628920,"longitude_deg":75.3772352,"latitude_deg":12.062892,"altitude":93,"angle":25,"satellites":38,"speed":32,"hex_longitude":"2ceda740","hex_latitude":"0730a6b8","is_valid_coordinates":true} 
[2026-09-05 12:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879673600001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17711624789950464,"note":"Value kept but may cause issues"} 
[2026-09-05 12:46:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1322017565984770048,"note":"Value kept but may cause issues"} 
[2026-09-05 12:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788592475000,"timestamp_ms":1788592475000,"timestamp_seconds":1788592475,"priority":1,"record_length":96,"hex_timestamp":"000001a0706b4b78"} 
[2026-09-05 12:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-05 12:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6986689097,"note":"Value kept but may cause issues"} 
[2026-09-05 12:46:20] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2885687296,"note":"Value kept but may cause issues"} 
[2026-09-05 12:46:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 12:46:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3984998407,"note":"Value kept but may cause issues"} 
[2026-09-05 12:46:20] local.WARNING: Large IO value detected {"io_id":128,"raw_value":19703425000285440,"note":"Value kept but may cause issues"} 
[2026-09-05 12:46:20] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503869851238400,"note":"Value kept but may cause issues"} 
[2026-09-05 12:46:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":991690958,"corrected_to":0} 
[2026-09-05 12:46:20] local.WARNING: Large IO value detected {"io_id":147,"raw_value":3758173421,"note":"Value kept but may cause issues"} 
[2026-09-05 12:46:20] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247675,"note":"Value kept but may cause issues"} 
[2026-09-05 12:46:20] local.WARNING: Large IO value detected {"io_id":62,"raw_value":3942776832,"note":"Value kept but may cause issues"} 
[2026-09-05 12:46:20] local.WARNING: Large IO value detected {"io_id":168,"raw_value":84703464890249187,"note":"Value kept but may cause issues"} 
[2026-09-05 12:46:20] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,104,83,24,241,157,16,236,160,32,44,128,132,93,39,10,66,27,245,94,92,38,28,235,194,1,240,148,227,112,48,4,113,205,33,147,134,8,37,239,54,2,62,7,73,206,168],"length":529,"final_offset":659,"validated_count":47,"validation_warnings":[{"io_id":205,"original":991690958,"validated":0}]} 
[2026-09-05 12:46:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6701383896528846848,"timestamp_seconds":6701383896528847.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 12:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879673600001,"66":14341,"104":206,"83":44032,"24":32,"16":17711624789950464,"44":-1322017565984770048},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-05 12:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879673600001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:46:20] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-05 12:46:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17711624789950464,"km_value":17711624789950.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:46:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1322017565984770048,"description":"Unknown IO ID 44"} 
[2026-09-05 12:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879673600001,"power":14341,"unknown_104":206,"unknown_83":44032,"ignition":32,"odometer":null,"unknown_44":-1322017565984770048}} 
[2026-09-05 12:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":174225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:46:20] local.INFO: GPS data processed {"connection_id":174225,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:46:20] local.INFO: Acknowledgment sent {"connection_id":174225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:46:50] local.INFO: TCP Data received {"connection_id":174227,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:46:50] local.INFO: Processing buffer {"connection_id":174227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:46:50] local.INFO: IMEI packet received {"connection_id":174227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":174227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:46:50] local.INFO: TCP Data received {"connection_id":174227,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:46:50] local.INFO: Processing buffer {"connection_id":174227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:46:50] local.INFO: IMEI packet received {"connection_id":174227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":174227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:46:55] local.INFO: TCP Data received {"connection_id":174227,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:46:55] local.INFO: Processing buffer {"connection_id":174227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:46:55] local.INFO: IMEI packet received {"connection_id":174227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":174227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:46:56] local.INFO: TCP Data received {"connection_id":174227,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0706c60d0012cee5d4007317a500057015a24..."} 
[2026-09-05 12:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0706c60d0012cee5d4007317a500057015a24..."} 
[2026-09-05 12:46:56] local.INFO: Processing buffer {"connection_id":174227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0706c60d0012cee5d4007317a500057015a24..."} 
[2026-09-05 12:46:56] local.INFO: Packet analysis {"connection_id":174227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0706c"} 
[2026-09-05 12:46:56] local.INFO: Extracted packet for processing {"connection_id":174227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0706c"} 
[2026-09-05 12:46:56] local.INFO: GPS Element Parsed {"raw_longitude":753818944,"raw_latitude":120683088,"longitude_deg":75.3818944,"latitude_deg":12.0683088,"altitude":87,"angle":346,"satellites":36,"speed":14,"hex_longitude":"2cee5d40","hex_latitude":"07317a50","is_valid_coordinates":true} 
[2026-09-05 12:46: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-09-05 12:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879691520001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17715077943656448,"note":"Value kept but may cause issues"} 
[2026-09-05 12:46:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1270648382721298432,"note":"Value kept but may cause issues"} 
[2026-09-05 12:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788592546000,"timestamp_ms":1788592546000,"timestamp_seconds":1788592546,"priority":1,"record_length":96,"hex_timestamp":"000001a0706c60d0"} 
[2026-09-05 12:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:46: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 12:46:56] 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-09-05 12:46: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-09-05 12:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879691520001,"66":13722,"104":206,"83":44032,"24":14,"16":17715077943656448,"44":-1270648382721298432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-05 12:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879691520001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:46:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-05 12:46:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17715077943656448,"km_value":17715077943656.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:46:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1270648382721298432,"description":"Unknown IO ID 44"} 
[2026-09-05 12:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879691520001,"power":13722,"unknown_104":206,"unknown_83":44032,"ignition":14,"odometer":null,"unknown_44":-1270648382721298432}} 
[2026-09-05 12:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":174227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:46:56] local.INFO: GPS data processed {"connection_id":174227,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:46:56] local.INFO: Acknowledgment sent {"connection_id":174227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:47:27] local.INFO: TCP Data received {"connection_id":174227,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0706c87e0012cee548007318f08005b014e26..."} 
[2026-09-05 12:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0706c87e0012cee548007318f08005b014e26..."} 
[2026-09-05 12:47:27] local.INFO: Processing buffer {"connection_id":174227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0706c87e0012cee548007318f08005b014e26..."} 
[2026-09-05 12:47:27] local.INFO: Packet analysis {"connection_id":174227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0706c"} 
[2026-09-05 12:47:27] local.INFO: Extracted packet for processing {"connection_id":174227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0706c"} 
[2026-09-05 12:47:27] local.INFO: GPS Element Parsed {"raw_longitude":753816704,"raw_latitude":120688392,"longitude_deg":75.3816704,"latitude_deg":12.0688392,"altitude":91,"angle":334,"satellites":38,"speed":27,"hex_longitude":"2cee5480","hex_latitude":"07318f08","is_valid_coordinates":true} 
[2026-09-05 12:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879691776001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17715357116530688,"note":"Value kept but may cause issues"} 
[2026-09-05 12:47:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1270789120209563648,"note":"Value kept but may cause issues"} 
[2026-09-05 12:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788592556000,"timestamp_ms":1788592556000,"timestamp_seconds":1788592556,"priority":1,"record_length":96,"hex_timestamp":"000001a0706c87e0"} 
[2026-09-05 12:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:47:27] 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-09-05 12:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-05 12:47:27] 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-09-05 12:47:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879691776001,"66":13993,"104":206,"83":44032,"24":27,"16":17715357116530688,"44":-1270789120209563648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-05 12:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879691776001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:47:27] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-05 12:47:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17715357116530688,"km_value":17715357116530.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:47:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1270789120209563648,"description":"Unknown IO ID 44"} 
[2026-09-05 12:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879691776001,"power":13993,"unknown_104":206,"unknown_83":44032,"ignition":27,"odometer":null,"unknown_44":-1270789120209563648}} 
[2026-09-05 12:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":174227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:47:27] local.INFO: GPS data processed {"connection_id":174227,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:47:27] local.INFO: Acknowledgment sent {"connection_id":174227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:47:45] local.INFO: TCP Data received {"connection_id":171819,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:47:45] local.INFO: Processing buffer {"connection_id":171819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:47:45] local.INFO: IMEI packet received {"connection_id":171819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":171819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:47:46] local.INFO: TCP Data received {"connection_id":171819,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:47:46] local.INFO: Processing buffer {"connection_id":171819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:47:46] local.INFO: IMEI packet received {"connection_id":171819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":171819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:47:50] local.INFO: TCP Data received {"connection_id":171819,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:47:50] local.INFO: Processing buffer {"connection_id":171819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:47:50] local.INFO: IMEI packet received {"connection_id":171819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":171819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:47:51] local.INFO: TCP Data received {"connection_id":171819,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0706ca338012cee4b8007319ea0005c015926..."} 
[2026-09-05 12:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0706ca338012cee4b8007319ea0005c015926..."} 
[2026-09-05 12:47:51] local.INFO: Processing buffer {"connection_id":171819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0706ca338012cee4b8007319ea0005c015926..."} 
[2026-09-05 12:47:51] local.INFO: Packet analysis {"connection_id":171819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0706c"} 
[2026-09-05 12:47:51] local.INFO: Extracted packet for processing {"connection_id":171819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0706c"} 
[2026-09-05 12:47:51] local.INFO: GPS Element Parsed {"raw_longitude":753814400,"raw_latitude":120692384,"longitude_deg":75.38144,"latitude_deg":12.0692384,"altitude":92,"angle":345,"satellites":38,"speed":25,"hex_longitude":"2cee4b80","hex_latitude":"07319ea0","is_valid_coordinates":true} 
[2026-09-05 12:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879694336001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17715580454830080,"note":"Value kept but may cause issues"} 
[2026-09-05 12:47:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1273252026254424064,"note":"Value kept but may cause issues"} 
[2026-09-05 12:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788592563000,"timestamp_ms":1788592563000,"timestamp_seconds":1788592563,"priority":1,"record_length":96,"hex_timestamp":"000001a0706ca338"} 
[2026-09-05 12:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 12:47:51] 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-09-05 12:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879694336001,"66":13972,"104":206,"83":44032,"24":25,"16":17715580454830080,"44":-1273252026254424064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-05 12:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879694336001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:47:51] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-05 12:47:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17715580454830080,"km_value":17715580454830.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:47:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1273252026254424064,"description":"Unknown IO ID 44"} 
[2026-09-05 12:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879694336001,"power":13972,"unknown_104":206,"unknown_83":44032,"ignition":25,"odometer":null,"unknown_44":-1273252026254424064}} 
[2026-09-05 12:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":171819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:47:51] local.INFO: GPS data processed {"connection_id":171819,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:47:51] local.INFO: Acknowledgment sent {"connection_id":171819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:48:12] local.INFO: TCP Data received {"connection_id":171522,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:48:12] local.INFO: Processing buffer {"connection_id":171522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:48:12] local.INFO: IMEI packet received {"connection_id":171522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 12:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":171522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:48:22] local.INFO: TCP Data received {"connection_id":171819,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0706cab08012cee4ac00731a390005d016726..."} 
[2026-09-05 12:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0706cab08012cee4ac00731a390005d016726..."} 
[2026-09-05 12:48:22] local.INFO: Processing buffer {"connection_id":171819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0706cab08012cee4ac00731a390005d016726..."} 
[2026-09-05 12:48:22] local.INFO: Packet analysis {"connection_id":171819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0706c"} 
[2026-09-05 12:48:22] local.INFO: Extracted packet for processing {"connection_id":171819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0706c"} 
[2026-09-05 12:48:22] local.INFO: GPS Element Parsed {"raw_longitude":753814208,"raw_latitude":120693648,"longitude_deg":75.3814208,"latitude_deg":12.0693648,"altitude":93,"angle":359,"satellites":38,"speed":24,"hex_longitude":"2cee4ac0","hex_latitude":"0731a390","is_valid_coordinates":true} 
[2026-09-05 12:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879696128001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17715644879339520,"note":"Value kept but may cause issues"} 
[2026-09-05 12:48:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1275785301043798016,"note":"Value kept but may cause issues"} 
[2026-09-05 12:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788592565000,"timestamp_ms":1788592565000,"timestamp_seconds":1788592565,"priority":1,"record_length":96,"hex_timestamp":"000001a0706cab08"} 
[2026-09-05 12:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 12:48:22] 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-09-05 12:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879696128001,"66":13852,"104":206,"83":44032,"24":24,"16":17715644879339520,"44":-1275785301043798016},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-05 12:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879696128001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:48:22] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-05 12:48:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17715644879339520,"km_value":17715644879339.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:48:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1275785301043798016,"description":"Unknown IO ID 44"} 
[2026-09-05 12:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879696128001,"power":13852,"unknown_104":206,"unknown_83":44032,"ignition":24,"odometer":null,"unknown_44":-1275785301043798016}} 
[2026-09-05 12:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":171819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:48:22] local.INFO: GPS data processed {"connection_id":171819,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:48:22] local.INFO: Acknowledgment sent {"connection_id":171819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:48:45] local.INFO: TCP Data received {"connection_id":171820,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:48:45] local.INFO: Processing buffer {"connection_id":171820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:48:45] local.INFO: IMEI packet received {"connection_id":171820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":171820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:48:49] local.INFO: TCP Data received {"connection_id":171820,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:48:49] local.INFO: Processing buffer {"connection_id":171820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:48:49] local.INFO: IMEI packet received {"connection_id":171820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":171820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:48:49] local.INFO: TCP Data received {"connection_id":172921,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:48:49] local.INFO: Processing buffer {"connection_id":172921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:48:49] local.INFO: IMEI packet received {"connection_id":172921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 12:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":172921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:48:50] local.INFO: TCP Data received {"connection_id":171820,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:48:50] local.INFO: Processing buffer {"connection_id":171820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:48:50] local.INFO: IMEI packet received {"connection_id":171820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":171820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:48:51] local.INFO: TCP Data received {"connection_id":171820,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0706e1e20012cee41c007326b880063015328..."} 
[2026-09-05 12:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0706e1e20012cee41c007326b880063015328..."} 
[2026-09-05 12:48:51] local.INFO: Processing buffer {"connection_id":171820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0706e1e20012cee41c007326b880063015328..."} 
[2026-09-05 12:48:51] local.INFO: Packet analysis {"connection_id":171820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0706e"} 
[2026-09-05 12:48:51] local.INFO: Extracted packet for processing {"connection_id":171820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0706e"} 
[2026-09-05 12:48:51] local.INFO: GPS Element Parsed {"raw_longitude":753811904,"raw_latitude":120744840,"longitude_deg":75.3811904,"latitude_deg":12.074484,"altitude":99,"angle":339,"satellites":40,"speed":18,"hex_longitude":"2cee41c0","hex_latitude":"07326b88","is_valid_coordinates":true} 
[2026-09-05 12:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879716864001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17718200384880640,"note":"Value kept but may cause issues"} 
[2026-09-05 12:48:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1274448294893162496,"note":"Value kept but may cause issues"} 
[2026-09-05 12:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788592660000,"timestamp_ms":1788592660000,"timestamp_seconds":1788592660,"priority":1,"record_length":96,"hex_timestamp":"000001a0706e1e20"} 
[2026-09-05 12:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-05 12:48:51] 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-09-05 12:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879716864001,"66":14461,"103":206,"83":44032,"24":18,"16":17718200384880640,"44":-1274448294893162496},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 12:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879716864001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:48:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 12:48:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17718200384880640,"km_value":17718200384880.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:48:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1274448294893162496,"description":"Unknown IO ID 44"} 
[2026-09-05 12:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879716864001,"power":14461,"unknown_103":206,"unknown_83":44032,"ignition":18,"odometer":null,"unknown_44":-1274448294893162496}} 
[2026-09-05 12:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":171820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:48:51] local.INFO: GPS data processed {"connection_id":171820,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:48:51] local.INFO: Acknowledgment sent {"connection_id":171820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:48:55] local.INFO: TCP Data received {"connection_id":171820,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0706e4148012cee3c0007327a28005f016428..."} 
[2026-09-05 12:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0706e4148012cee3c0007327a28005f016428..."} 
[2026-09-05 12:48:55] local.INFO: Processing buffer {"connection_id":171820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0706e4148012cee3c0007327a28005f016428..."} 
[2026-09-05 12:48:55] local.INFO: Packet analysis {"connection_id":171820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0706e"} 
[2026-09-05 12:48:55] local.INFO: Extracted packet for processing {"connection_id":171820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0706e"} 
[2026-09-05 12:48:55] local.INFO: GPS Element Parsed {"raw_longitude":753810432,"raw_latitude":120748584,"longitude_deg":75.3810432,"latitude_deg":12.0748584,"altitude":95,"angle":356,"satellites":40,"speed":14,"hex_longitude":"2cee3c00","hex_latitude":"07327a28","is_valid_coordinates":true} 
[2026-09-05 12:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879720960001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17718393658408960,"note":"Value kept but may cause issues"} 
[2026-09-05 12:48:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1278529682053298176,"note":"Value kept but may cause issues"} 
[2026-09-05 12:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788592669000,"timestamp_ms":1788592669000,"timestamp_seconds":1788592669,"priority":1,"record_length":96,"hex_timestamp":"000001a0706e4148"} 
[2026-09-05 12:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:48:55] 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-09-05 12:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 12:48:55] 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-09-05 12:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879720960001,"66":14363,"103":206,"83":44032,"24":14,"16":17718393658408960,"44":-1278529682053298176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 12:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879720960001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:48:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 12:48:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17718393658408960,"km_value":17718393658408.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:48:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1278529682053298176,"description":"Unknown IO ID 44"} 
[2026-09-05 12:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879720960001,"power":14363,"unknown_103":206,"unknown_83":44032,"ignition":14,"odometer":null,"unknown_44":-1278529682053298176}} 
[2026-09-05 12:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":171820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:48:55] local.INFO: GPS data processed {"connection_id":171820,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:48:55] local.INFO: Acknowledgment sent {"connection_id":171820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:49:01] local.INFO: TCP Data received {"connection_id":172922,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:49:01] local.INFO: Processing buffer {"connection_id":172922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:49:01] local.INFO: IMEI packet received {"connection_id":172922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":172922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:49:03] local.INFO: TCP Data received {"connection_id":172922,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0706b7288012d691940061b0270000d01182c..."} 
[2026-09-05 12:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0706b7288012d691940061b0270000d01182c..."} 
[2026-09-05 12:49:03] local.INFO: Processing buffer {"connection_id":172922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0706b7288012d691940061b0270000d01182c..."} 
[2026-09-05 12:49:03] local.INFO: Packet analysis {"connection_id":172922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0706b"} 
[2026-09-05 12:49:03] local.INFO: Extracted packet for processing {"connection_id":172922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0706b"} 
[2026-09-05 12:49:03] local.INFO: GPS Element Parsed {"raw_longitude":761862464,"raw_latitude":102433392,"longitude_deg":76.1862464,"latitude_deg":10.2433392,"altitude":13,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d691940","hex_latitude":"061b0270","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879670784001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399691756804767744,"note":"Value kept but may cause issues"} 
[2026-09-05 12:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7573999068297252864,"note":"Value kept but may cause issues"} 
[2026-09-05 12:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788592485000,"timestamp_ms":1788592485000,"timestamp_seconds":1788592485,"priority":1,"record_length":96,"hex_timestamp":"000001a0706b7288"} 
[2026-09-05 12:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:49: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-09-05 12: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 12:49: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-09-05 12: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-09-05 12:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:49: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-09-05 12:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879670784001,"66":27745,"58":206,"79":20992,"24":0,"16":399691756804767744,"45":7573999068297252864},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,79,24,16,45]} 
[2026-09-05 12:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879670784001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:49:03] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-05 12:49:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399691756804767744,"km_value":399691756804767.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7573999068297252864,"description":"Unknown IO ID 45"} 
[2026-09-05 12:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879670784001,"power":27745,"unknown_58":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7573999068297252864}} 
[2026-09-05 12:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":172922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:49:03] local.INFO: GPS data processed {"connection_id":172922,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:49:03] local.INFO: Acknowledgment sent {"connection_id":172922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:49:27] local.INFO: TCP Data received {"connection_id":171820,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0706e4918012cee3c4007327cd8005f000e28..."} 
[2026-09-05 12:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0706e4918012cee3c4007327cd8005f000e28..."} 
[2026-09-05 12:49:27] local.INFO: Processing buffer {"connection_id":171820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0706e4918012cee3c4007327cd8005f000e28..."} 
[2026-09-05 12:49:27] local.INFO: Packet analysis {"connection_id":171820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0706e"} 
[2026-09-05 12:49:27] local.INFO: Extracted packet for processing {"connection_id":171820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0706e"} 
[2026-09-05 12:49:27] local.INFO: GPS Element Parsed {"raw_longitude":753810496,"raw_latitude":120749272,"longitude_deg":75.3810496,"latitude_deg":12.0749272,"altitude":95,"angle":14,"satellites":40,"speed":13,"hex_longitude":"2cee3c40","hex_latitude":"07327cd8","is_valid_coordinates":true} 
[2026-09-05 12:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879723264001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17718428018147328,"note":"Value kept but may cause issues"} 
[2026-09-05 12:49:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1280148163168425984,"note":"Value kept but may cause issues"} 
[2026-09-05 12:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788592671000,"timestamp_ms":1788592671000,"timestamp_seconds":1788592671,"priority":1,"record_length":96,"hex_timestamp":"000001a0706e4918"} 
[2026-09-05 12:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:49:27] 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-09-05 12:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 12:49:27] 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-09-05 12:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879723264001,"66":14374,"103":206,"83":44032,"24":13,"16":17718428018147328,"44":-1280148163168425984},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 12:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879723264001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:49:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 12:49:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17718428018147328,"km_value":17718428018147.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:49:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1280148163168425984,"description":"Unknown IO ID 44"} 
[2026-09-05 12:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879723264001,"power":14374,"unknown_103":206,"unknown_83":44032,"ignition":13,"odometer":null,"unknown_44":-1280148163168425984}} 
[2026-09-05 12:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":171820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:49:27] local.INFO: GPS data processed {"connection_id":171820,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:49:27] local.INFO: Acknowledgment sent {"connection_id":171820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:49:34] local.INFO: TCP Data received {"connection_id":172922,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0706bc490012d691940061b0270000d01182d..."} 
[2026-09-05 12:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0706bc490012d691940061b0270000d01182d..."} 
[2026-09-05 12:49:34] local.INFO: Processing buffer {"connection_id":172922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0706bc490012d691940061b0270000d01182d..."} 
[2026-09-05 12:49:34] local.INFO: Packet analysis {"connection_id":172922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0706b"} 
[2026-09-05 12:49:34] local.INFO: Extracted packet for processing {"connection_id":172922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0706b"} 
[2026-09-05 12:49:34] local.INFO: GPS Element Parsed {"raw_longitude":761862464,"raw_latitude":102433392,"longitude_deg":76.1862464,"latitude_deg":10.2433392,"altitude":13,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d691940","hex_latitude":"061b0270","is_valid_coordinates":true} 
[2026-09-05 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-09-05 12:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879676160001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399691756804767744,"note":"Value kept but may cause issues"} 
[2026-09-05 12:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7573154643367325696,"note":"Value kept but may cause issues"} 
[2026-09-05 12:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788592506000,"timestamp_ms":1788592506000,"timestamp_seconds":1788592506,"priority":1,"record_length":96,"hex_timestamp":"000001a0706bc490"} 
[2026-09-05 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-09-05 12:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 12:49: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-09-05 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-09-05 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-09-05 12:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879676160001,"66":28028,"58":206,"79":20992,"24":0,"16":399691756804767744,"45":7573154643367325696},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,79,24,16,45]} 
[2026-09-05 12:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879676160001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:49:34] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-05 12:49:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399691756804767744,"km_value":399691756804767.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7573154643367325696,"description":"Unknown IO ID 45"} 
[2026-09-05 12:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879676160001,"power":28028,"unknown_58":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7573154643367325696}} 
[2026-09-05 12:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":172922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:49:34] local.INFO: GPS data processed {"connection_id":172922,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:49:34] local.INFO: Acknowledgment sent {"connection_id":172922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:49:45] local.INFO: TCP Data received {"connection_id":171524,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:49:45] local.INFO: Processing buffer {"connection_id":171524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:49:45] local.INFO: IMEI packet received {"connection_id":171524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":171524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:49:50] local.INFO: TCP Data received {"connection_id":171524,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:49:50] local.INFO: Processing buffer {"connection_id":171524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:49:50] local.INFO: IMEI packet received {"connection_id":171524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":171524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:49:51] local.INFO: TCP Data received {"connection_id":171524,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0706e9738012cee40c0073295d0005d000227..."} 
[2026-09-05 12:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0706e9738012cee40c0073295d0005d000227..."} 
[2026-09-05 12:49:51] local.INFO: Processing buffer {"connection_id":171524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0706e9738012cee40c0073295d0005d000227..."} 
[2026-09-05 12:49:51] local.INFO: Packet analysis {"connection_id":171524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0706e"} 
[2026-09-05 12:49:51] local.INFO: Extracted packet for processing {"connection_id":171524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0706e"} 
[2026-09-05 12:49:51] local.INFO: GPS Element Parsed {"raw_longitude":753811648,"raw_latitude":120755664,"longitude_deg":75.3811648,"latitude_deg":12.0755664,"altitude":93,"angle":2,"satellites":39,"speed":15,"hex_longitude":"2cee40c0","hex_latitude":"073295d0","is_valid_coordinates":true} 
[2026-09-05 12:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879723776001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17718745845727232,"note":"Value kept but may cause issues"} 
[2026-09-05 12:49:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1280077794424072192,"note":"Value kept but may cause issues"} 
[2026-09-05 12:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788592691000,"timestamp_ms":1788592691000,"timestamp_seconds":1788592691,"priority":1,"record_length":96,"hex_timestamp":"000001a0706e9738"} 
[2026-09-05 12:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 12:49:51] 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-09-05 12:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879723776001,"66":14428,"103":206,"83":44032,"24":15,"16":17718745845727232,"44":-1280077794424072192},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 12:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879723776001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:49:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 12:49:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17718745845727232,"km_value":17718745845727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:49:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1280077794424072192,"description":"Unknown IO ID 44"} 
[2026-09-05 12:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879723776001,"power":14428,"unknown_103":206,"unknown_83":44032,"ignition":15,"odometer":null,"unknown_44":-1280077794424072192}} 
[2026-09-05 12:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":171524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:49:51] local.INFO: GPS data processed {"connection_id":171524,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:49:51] local.INFO: Acknowledgment sent {"connection_id":171524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:49:56] local.INFO: TCP Data received {"connection_id":172923,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:49:56] local.INFO: Processing buffer {"connection_id":172923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:49:56] local.INFO: IMEI packet received {"connection_id":172923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":172923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:50:01] local.INFO: TCP Data received {"connection_id":172923,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:50:01] local.INFO: Processing buffer {"connection_id":172923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:50:01] local.INFO: IMEI packet received {"connection_id":172923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":172923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:50:02] local.INFO: TCP Data received {"connection_id":172923,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0706c1698012d691940061b0270000d01182d..."} 
[2026-09-05 12:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0706c1698012d691940061b0270000d01182d..."} 
[2026-09-05 12:50:02] local.INFO: Processing buffer {"connection_id":172923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0706c1698012d691940061b0270000d01182d..."} 
[2026-09-05 12:50:02] local.INFO: Packet analysis {"connection_id":172923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0706c"} 
[2026-09-05 12:50:02] local.INFO: Extracted packet for processing {"connection_id":172923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0706c"} 
[2026-09-05 12:50:02] local.INFO: GPS Element Parsed {"raw_longitude":761862464,"raw_latitude":102433392,"longitude_deg":76.1862464,"latitude_deg":10.2433392,"altitude":13,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d691940","hex_latitude":"061b0270","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879681536001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399691756804767744,"note":"Value kept but may cause issues"} 
[2026-09-05 12:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7573154643367325696,"note":"Value kept but may cause issues"} 
[2026-09-05 12:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788592527000,"timestamp_ms":1788592527000,"timestamp_seconds":1788592527,"priority":1,"record_length":96,"hex_timestamp":"000001a0706c1698"} 
[2026-09-05 12:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:50: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-09-05 12:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-05 12:50: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-09-05 12: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-09-05 12:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:50: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-09-05 12:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879681536001,"66":27995,"58":206,"79":20992,"24":0,"16":399691756804767744,"45":7573154643367325696},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,79,24,16,45]} 
[2026-09-05 12:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879681536001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:50:02] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-05 12:50:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399691756804767744,"km_value":399691756804767.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7573154643367325696,"description":"Unknown IO ID 45"} 
[2026-09-05 12:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879681536001,"power":27995,"unknown_58":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7573154643367325696}} 
[2026-09-05 12:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":172923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:50:02] local.INFO: GPS data processed {"connection_id":172923,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:50:02] local.INFO: Acknowledgment sent {"connection_id":172923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:50:22] local.INFO: TCP Data received {"connection_id":171524,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0706fdf58012cee9dc00732da78004e004922..."} 
[2026-09-05 12:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0706fdf58012cee9dc00732da78004e004922..."} 
[2026-09-05 12:50:22] local.INFO: Processing buffer {"connection_id":171524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0706fdf58012cee9dc00732da78004e004922..."} 
[2026-09-05 12:50:22] local.INFO: Packet analysis {"connection_id":171524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0706f"} 
[2026-09-05 12:50:22] local.INFO: Extracted packet for processing {"connection_id":171524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0706f"} 
[2026-09-05 12:50:22] local.INFO: GPS Element Parsed {"raw_longitude":753835456,"raw_latitude":120773240,"longitude_deg":75.3835456,"latitude_deg":12.077324,"altitude":78,"angle":73,"satellites":34,"speed":0,"hex_longitude":"2cee9dc0","hex_latitude":"0732da78","is_valid_coordinates":true} 
[2026-09-05 12:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879745024001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720244789313536,"note":"Value kept but may cause issues"} 
[2026-09-05 12:50:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1254393202793269248,"note":"Value kept but may cause issues"} 
[2026-09-05 12:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788592775000,"timestamp_ms":1788592775000,"timestamp_seconds":1788592775,"priority":1,"record_length":96,"hex_timestamp":"000001a0706fdf58"} 
[2026-09-05 12:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-05 12:50:22] 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-09-05 12:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879745024001,"66":14004,"103":206,"83":44032,"24":0,"16":17720244789313536,"44":-1254393202793269248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 12:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879745024001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:50:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 12:50:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720244789313536,"km_value":17720244789313.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:50:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1254393202793269248,"description":"Unknown IO ID 44"} 
[2026-09-05 12:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879745024001,"power":14004,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1254393202793269248}} 
[2026-09-05 12:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":171524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:50:22] local.INFO: GPS data processed {"connection_id":171524,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:50:22] local.INFO: Acknowledgment sent {"connection_id":171524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:50:34] local.INFO: TCP Data received {"connection_id":172923,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0706c68a0012d691940061b0270000d011828..."} 
[2026-09-05 12:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0706c68a0012d691940061b0270000d011828..."} 
[2026-09-05 12:50:34] local.INFO: Processing buffer {"connection_id":172923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0706c68a0012d691940061b0270000d011828..."} 
[2026-09-05 12:50:34] local.INFO: Packet analysis {"connection_id":172923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0706c"} 
[2026-09-05 12:50:34] local.INFO: Extracted packet for processing {"connection_id":172923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0706c"} 
[2026-09-05 12:50:34] local.INFO: GPS Element Parsed {"raw_longitude":761862464,"raw_latitude":102433392,"longitude_deg":76.1862464,"latitude_deg":10.2433392,"altitude":13,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d691940","hex_latitude":"061b0270","is_valid_coordinates":true} 
[2026-09-05 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-09-05 12:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879686912001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399691756804767744,"note":"Value kept but may cause issues"} 
[2026-09-05 12:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7573154643367325696,"note":"Value kept but may cause issues"} 
[2026-09-05 12:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788592548000,"timestamp_ms":1788592548000,"timestamp_seconds":1788592548,"priority":1,"record_length":96,"hex_timestamp":"000001a0706c68a0"} 
[2026-09-05 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-09-05 12:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 12:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 12:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879686912001,"66":27832,"58":206,"79":20992,"24":0,"16":399691756804767744,"45":7573154643367325696},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,79,24,16,45]} 
[2026-09-05 12:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879686912001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:50:34] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-05 12:50:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399691756804767744,"km_value":399691756804767.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7573154643367325696,"description":"Unknown IO ID 45"} 
[2026-09-05 12:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879686912001,"power":27832,"unknown_58":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7573154643367325696}} 
[2026-09-05 12:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":172923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:50:34] local.INFO: GPS data processed {"connection_id":172923,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:50:34] local.INFO: Acknowledgment sent {"connection_id":172923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:50:45] local.INFO: TCP Data received {"connection_id":174228,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:50:45] local.INFO: Processing buffer {"connection_id":174228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:50:45] local.INFO: IMEI packet received {"connection_id":174228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":174228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:50:46] local.INFO: TCP Data received {"connection_id":174228,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:50:46] local.INFO: Processing buffer {"connection_id":174228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:50:46] local.INFO: IMEI packet received {"connection_id":174228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":174228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:50:49] local.INFO: TCP Data received {"connection_id":174228,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:50:49] local.INFO: Processing buffer {"connection_id":174228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:50:49] local.INFO: IMEI packet received {"connection_id":174228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":174228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:50:50] local.INFO: TCP Data received {"connection_id":174228,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:50:50] local.INFO: Processing buffer {"connection_id":174228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:50:50] local.INFO: IMEI packet received {"connection_id":174228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":174228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:50:50] local.INFO: TCP Data received {"connection_id":174228,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0706ff6c8012cee9dc00732da38004e005e20..."} 
[2026-09-05 12:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0706ff6c8012cee9dc00732da38004e005e20..."} 
[2026-09-05 12:50:50] local.INFO: Processing buffer {"connection_id":174228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0706ff6c8012cee9dc00732da38004e005e20..."} 
[2026-09-05 12:50:50] local.INFO: Packet analysis {"connection_id":174228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0706f"} 
[2026-09-05 12:50:50] local.INFO: Extracted packet for processing {"connection_id":174228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0706f"} 
[2026-09-05 12:50:50] local.INFO: GPS Element Parsed {"raw_longitude":753835456,"raw_latitude":120773176,"longitude_deg":75.3835456,"latitude_deg":12.0773176,"altitude":78,"angle":94,"satellites":32,"speed":5,"hex_longitude":"2cee9dc0","hex_latitude":"0732da38","is_valid_coordinates":true} 
[2026-09-05 12:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879750400001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720249084280832,"note":"Value kept but may cause issues"} 
[2026-09-05 12:50:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252633984188647424,"note":"Value kept but may cause issues"} 
[2026-09-05 12:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788592781000,"timestamp_ms":1788592781000,"timestamp_seconds":1788592781,"priority":1,"record_length":96,"hex_timestamp":"000001a0706ff6c8"} 
[2026-09-05 12:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-05 12:50:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879750400001,"66":13972,"103":206,"83":44032,"24":5,"16":17720249084280832,"44":-1252633984188647424},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 12:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879750400001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:50:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 12:50:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720249084280832,"km_value":17720249084280.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:50:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252633984188647424,"description":"Unknown IO ID 44"} 
[2026-09-05 12:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879750400001,"power":13972,"unknown_103":206,"unknown_83":44032,"ignition":5,"odometer":null,"unknown_44":-1252633984188647424}} 
[2026-09-05 12:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":174228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:50:50] local.INFO: GPS data processed {"connection_id":174228,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:50:50] local.INFO: Acknowledgment sent {"connection_id":174228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:51:01] local.INFO: TCP Data received {"connection_id":172925,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:51:01] local.INFO: Processing buffer {"connection_id":172925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:51:01] local.INFO: IMEI packet received {"connection_id":172925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":172925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:51:06] local.INFO: TCP Data received {"connection_id":172925,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:51:06] local.INFO: Processing buffer {"connection_id":172925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:51:06] local.INFO: IMEI packet received {"connection_id":172925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":172925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:51:07] local.INFO: TCP Data received {"connection_id":172925,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0706c7458012d691900061b03f8000c011829..."} 
[2026-09-05 12:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0706c7458012d691900061b03f8000c011829..."} 
[2026-09-05 12:51:07] local.INFO: Processing buffer {"connection_id":172925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0706c7458012d691900061b03f8000c011829..."} 
[2026-09-05 12:51:07] local.INFO: Packet analysis {"connection_id":172925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0706c"} 
[2026-09-05 12:51:07] local.INFO: Extracted packet for processing {"connection_id":172925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0706c"} 
[2026-09-05 12:51:07] local.INFO: GPS Element Parsed {"raw_longitude":761862400,"raw_latitude":102433784,"longitude_deg":76.18624,"latitude_deg":10.2433784,"altitude":12,"angle":280,"satellites":41,"speed":3,"hex_longitude":"2d691900","hex_latitude":"061b03f8","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879692288001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399691773984636928,"note":"Value kept but may cause issues"} 
[2026-09-05 12:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7573154643367325696,"note":"Value kept but may cause issues"} 
[2026-09-05 12:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788592551000,"timestamp_ms":1788592551000,"timestamp_seconds":1788592551,"priority":1,"record_length":96,"hex_timestamp":"000001a0706c7458"} 
[2026-09-05 12:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 12:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12: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-09-05 12:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879692288001,"66":28028,"58":206,"79":20992,"24":3,"16":399691773984636928,"45":7573154643367325696},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,79,24,16,45]} 
[2026-09-05 12:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879692288001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:51:07] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-05 12:51:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399691773984636928,"km_value":399691773984636.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":7573154643367325696,"description":"Unknown IO ID 45"} 
[2026-09-05 12:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879692288001,"power":28028,"unknown_58":206,"unknown_79":20992,"ignition":3,"odometer":null,"unknown_45":7573154643367325696}} 
[2026-09-05 12:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":172925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:51:07] local.INFO: GPS data processed {"connection_id":172925,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:51:07] local.INFO: Acknowledgment sent {"connection_id":172925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:51:12] local.INFO: TCP Data received {"connection_id":172925,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0706c7458012d691900061b03f8000c011829..."} 
[2026-09-05 12:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0706c7458012d691900061b03f8000c011829..."} 
[2026-09-05 12:51:12] local.INFO: Processing buffer {"connection_id":172925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0706c7458012d691900061b03f8000c011829..."} 
[2026-09-05 12:51:12] local.INFO: Packet analysis {"connection_id":172925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0706c"} 
[2026-09-05 12:51:12] local.INFO: Extracted packet for processing {"connection_id":172925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0706c"} 
[2026-09-05 12:51:12] local.INFO: GPS Element Parsed {"raw_longitude":761862400,"raw_latitude":102433784,"longitude_deg":76.18624,"latitude_deg":10.2433784,"altitude":12,"angle":280,"satellites":41,"speed":3,"hex_longitude":"2d691900","hex_latitude":"061b03f8","is_valid_coordinates":true} 
[2026-09-05 12:51: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-09-05 12:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879692288001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399691773984636928,"note":"Value kept but may cause issues"} 
[2026-09-05 12:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7573154643367325696,"note":"Value kept but may cause issues"} 
[2026-09-05 12:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788592551000,"timestamp_ms":1788592551000,"timestamp_seconds":1788592551,"priority":1,"record_length":96,"hex_timestamp":"000001a0706c7458"} 
[2026-09-05 12:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:51:12] 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-09-05 12:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 12:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":172925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":172925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":172925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879692288001,"66":28028,"58":206,"79":20992,"24":3,"16":399691773984636928,"45":7573154643367325696},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,79,24,16,45]} 
[2026-09-05 12:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879692288001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:51:12] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-05 12:51:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399691773984636928,"km_value":399691773984636.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7573154643367325696,"description":"Unknown IO ID 45"} 
[2026-09-05 12:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879692288001,"power":28028,"unknown_58":206,"unknown_79":20992,"ignition":3,"odometer":null,"unknown_45":7573154643367325696}} 
[2026-09-05 12:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":172925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:51:12] local.INFO: GPS data processed {"connection_id":172925,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:51:12] local.INFO: Acknowledgment sent {"connection_id":172925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:51:22] local.INFO: TCP Data received {"connection_id":174228,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0706ffe98012cee9f000732da70004e004a20..."} 
[2026-09-05 12:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0706ffe98012cee9f000732da70004e004a20..."} 
[2026-09-05 12:51:22] local.INFO: Processing buffer {"connection_id":174228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0706ffe98012cee9f000732da70004e004a20..."} 
[2026-09-05 12:51:22] local.INFO: Packet analysis {"connection_id":174228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0706f"} 
[2026-09-05 12:51:22] local.INFO: Extracted packet for processing {"connection_id":174228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0706f"} 
[2026-09-05 12:51:22] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120773232,"longitude_deg":75.3835776,"latitude_deg":12.0773232,"altitude":78,"angle":74,"satellites":32,"speed":5,"hex_longitude":"2cee9f00","hex_latitude":"0732da70","is_valid_coordinates":true} 
[2026-09-05 12:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879751936001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720266264150016,"note":"Value kept but may cause issues"} 
[2026-09-05 12:51:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252633984188663808,"note":"Value kept but may cause issues"} 
[2026-09-05 12:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788592783000,"timestamp_ms":1788592783000,"timestamp_seconds":1788592783,"priority":1,"record_length":96,"hex_timestamp":"000001a0706ffe98"} 
[2026-09-05 12:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 12:51:22] 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-09-05 12:51:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879751936001,"66":13080,"103":206,"83":44032,"24":5,"16":17720266264150016,"44":-1252633984188663808},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 12:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879751936001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:51:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 12:51:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720266264150016,"km_value":17720266264150.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:51:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252633984188663808,"description":"Unknown IO ID 44"} 
[2026-09-05 12:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879751936001,"power":13080,"unknown_103":206,"unknown_83":44032,"ignition":5,"odometer":null,"unknown_44":-1252633984188663808}} 
[2026-09-05 12:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":174228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:51:22] local.INFO: GPS data processed {"connection_id":174228,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:51:22] local.INFO: Acknowledgment sent {"connection_id":174228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:51:50] local.INFO: TCP Data received {"connection_id":171821,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:51:50] local.INFO: Processing buffer {"connection_id":171821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:51:50] local.INFO: IMEI packet received {"connection_id":171821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":171821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:51:56] local.INFO: TCP Data received {"connection_id":171821,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:51:56] local.INFO: Processing buffer {"connection_id":171821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:51:56] local.INFO: IMEI packet received {"connection_id":171821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":171821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:51:56] local.INFO: TCP Data received {"connection_id":171821,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07070c9b8012cee9f800732d8f8004e008220..."} 
[2026-09-05 12:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07070c9b8012cee9f800732d8f8004e008220..."} 
[2026-09-05 12:51:56] local.INFO: Processing buffer {"connection_id":171821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07070c9b8012cee9f800732d8f8004e008220..."} 
[2026-09-05 12:51:56] local.INFO: Packet analysis {"connection_id":171821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07070"} 
[2026-09-05 12:51:56] local.INFO: Extracted packet for processing {"connection_id":171821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07070"} 
[2026-09-05 12:51:56] local.INFO: GPS Element Parsed {"raw_longitude":753835904,"raw_latitude":120772856,"longitude_deg":75.3835904,"latitude_deg":12.0772856,"altitude":78,"angle":130,"satellites":32,"speed":0,"hex_longitude":"2cee9f80","hex_latitude":"0732d8f8","is_valid_coordinates":true} 
[2026-09-05 12:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879760384001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 12:51:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252141402979506176,"note":"Value kept but may cause issues"} 
[2026-09-05 12:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788592835000,"timestamp_ms":1788592835000,"timestamp_seconds":1788592835,"priority":1,"record_length":96,"hex_timestamp":"000001a07070c9b8"} 
[2026-09-05 12:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 12:51:56] 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-09-05 12:51:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879760384001,"66":12591,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252141402979506176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 12:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879760384001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:51:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 12:51:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:51:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252141402979506176,"description":"Unknown IO ID 44"} 
[2026-09-05 12:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879760384001,"power":12591,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252141402979506176}} 
[2026-09-05 12:51:57] local.INFO: TCP Data received {"connection_id":172926,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:51:57] local.INFO: Processing buffer {"connection_id":172926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:51:57] local.INFO: IMEI packet received {"connection_id":172926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":172926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":171821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:51:57] local.INFO: GPS data processed {"connection_id":171821,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:51:57] local.INFO: Acknowledgment sent {"connection_id":171821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:52:01] local.INFO: TCP Data received {"connection_id":172926,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:52:01] local.INFO: Processing buffer {"connection_id":172926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:52:01] local.INFO: IMEI packet received {"connection_id":172926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":172926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:52:02] local.INFO: TCP Data received {"connection_id":172926,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0707113f0012d6917c0061b0a90000c01182d..."} 
[2026-09-05 12:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707113f0012d6917c0061b0a90000c01182d..."} 
[2026-09-05 12:52:02] local.INFO: Processing buffer {"connection_id":172926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707113f0012d6917c0061b0a90000c01182d..."} 
[2026-09-05 12:52:02] local.INFO: Packet analysis {"connection_id":172926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07071"} 
[2026-09-05 12:52:02] local.INFO: Extracted packet for processing {"connection_id":172926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07071"} 
[2026-09-05 12:52:02] local.INFO: GPS Element Parsed {"raw_longitude":761862080,"raw_latitude":102435472,"longitude_deg":76.186208,"latitude_deg":10.2435472,"altitude":12,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d6917c0","hex_latitude":"061b0a90","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879693056001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399691773984636928,"note":"Value kept but may cause issues"} 
[2026-09-05 12:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7573084274623248384,"note":"Value kept but may cause issues"} 
[2026-09-05 12:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788592854000,"timestamp_ms":1788592854000,"timestamp_seconds":1788592854,"priority":1,"record_length":96,"hex_timestamp":"000001a0707113f0"} 
[2026-09-05 12:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:52:02] 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-09-05 12:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-05 12:52: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-09-05 12: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-09-05 12:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:52: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-09-05 12:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879693056001,"66":26484,"58":206,"79":20992,"24":0,"16":399691773984636928,"45":7573084274623248384},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,79,24,16,45]} 
[2026-09-05 12:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879693056001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:52:02] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-05 12:52:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399691773984636928,"km_value":399691773984636.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7573084274623248384,"description":"Unknown IO ID 45"} 
[2026-09-05 12:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879693056001,"power":26484,"unknown_58":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7573084274623248384}} 
[2026-09-05 12:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":172926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:52:02] local.INFO: GPS data processed {"connection_id":172926,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:52:02] local.INFO: Acknowledgment sent {"connection_id":172926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:52:28] local.INFO: TCP Data received {"connection_id":171821,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070711bc0012cee9f800732d8f8004e008224..."} 
[2026-09-05 12:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070711bc0012cee9f800732d8f8004e008224..."} 
[2026-09-05 12:52:28] local.INFO: Processing buffer {"connection_id":171821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070711bc0012cee9f800732d8f8004e008224..."} 
[2026-09-05 12:52:28] local.INFO: Packet analysis {"connection_id":171821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07071"} 
[2026-09-05 12:52:28] local.INFO: Extracted packet for processing {"connection_id":171821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07071"} 
[2026-09-05 12:52:28] local.INFO: GPS Element Parsed {"raw_longitude":753835904,"raw_latitude":120772856,"longitude_deg":75.3835904,"latitude_deg":12.0772856,"altitude":78,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2cee9f80","hex_latitude":"0732d8f8","is_valid_coordinates":true} 
[2026-09-05 12:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879765760001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 12:52:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252141402979502080,"note":"Value kept but may cause issues"} 
[2026-09-05 12:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788592856000,"timestamp_ms":1788592856000,"timestamp_seconds":1788592856,"priority":1,"record_length":96,"hex_timestamp":"000001a070711bc0"} 
[2026-09-05 12:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:52:28] 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-09-05 12:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 12:52:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":171821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":171821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":171821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879765760001,"66":12689,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252141402979502080},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 12:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879765760001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:52:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 12:52:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:52:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252141402979502080,"description":"Unknown IO ID 44"} 
[2026-09-05 12:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879765760001,"power":12689,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252141402979502080}} 
[2026-09-05 12:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":171821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:52:28] local.INFO: GPS data processed {"connection_id":171821,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:52:28] local.INFO: Acknowledgment sent {"connection_id":171821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:52:34] local.INFO: TCP Data received {"connection_id":172926,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0707113f0012d6917c0061b0a90000c01182d..."} 
[2026-09-05 12:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707113f0012d6917c0061b0a90000c01182d..."} 
[2026-09-05 12:52:34] local.INFO: Processing buffer {"connection_id":172926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707113f0012d6917c0061b0a90000c01182d..."} 
[2026-09-05 12:52:34] local.INFO: Packet analysis {"connection_id":172926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07071"} 
[2026-09-05 12:52:34] local.INFO: Extracted packet for processing {"connection_id":172926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07071"} 
[2026-09-05 12:52:34] local.INFO: GPS Element Parsed {"raw_longitude":761862080,"raw_latitude":102435472,"longitude_deg":76.186208,"latitude_deg":10.2435472,"altitude":12,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d6917c0","hex_latitude":"061b0a90","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879693056001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399691773984636928,"note":"Value kept but may cause issues"} 
[2026-09-05 12:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7573084274623248384,"note":"Value kept but may cause issues"} 
[2026-09-05 12:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788592854000,"timestamp_ms":1788592854000,"timestamp_seconds":1788592854,"priority":1,"record_length":96,"hex_timestamp":"000001a0707113f0"} 
[2026-09-05 12:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:52: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-09-05 12: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-05 12:52:34] 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-09-05 12: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-09-05 12:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879693056001,"66":26484,"58":206,"79":20992,"24":0,"16":399691773984636928,"45":7573084274623248384},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,79,24,16,45]} 
[2026-09-05 12:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879693056001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:52:34] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-05 12:52:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399691773984636928,"km_value":399691773984636.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7573084274623248384,"description":"Unknown IO ID 45"} 
[2026-09-05 12:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879693056001,"power":26484,"unknown_58":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7573084274623248384}} 
[2026-09-05 12:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":172926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:52:34] local.INFO: GPS data processed {"connection_id":172926,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:52:34] local.INFO: Acknowledgment sent {"connection_id":172926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:52:45] local.INFO: TCP Data received {"connection_id":171822,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:52:45] local.INFO: Processing buffer {"connection_id":171822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:52:45] local.INFO: IMEI packet received {"connection_id":171822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":171822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:52:50] local.INFO: TCP Data received {"connection_id":171822,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:52:50] local.INFO: Processing buffer {"connection_id":171822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:52:50] local.INFO: IMEI packet received {"connection_id":171822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":171822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:52:51] local.INFO: TCP Data received {"connection_id":171822,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070716dc8012cee9f800732d8f8004e008223..."} 
[2026-09-05 12:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070716dc8012cee9f800732d8f8004e008223..."} 
[2026-09-05 12:52:51] local.INFO: Processing buffer {"connection_id":171822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070716dc8012cee9f800732d8f8004e008223..."} 
[2026-09-05 12:52:51] local.INFO: Packet analysis {"connection_id":171822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07071"} 
[2026-09-05 12:52:51] local.INFO: Extracted packet for processing {"connection_id":171822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07071"} 
[2026-09-05 12:52:51] local.INFO: GPS Element Parsed {"raw_longitude":753835904,"raw_latitude":120772856,"longitude_deg":75.3835904,"latitude_deg":12.0772856,"altitude":78,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2cee9f80","hex_latitude":"0732d8f8","is_valid_coordinates":true} 
[2026-09-05 12:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879771136001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 12:52:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252141402979502080,"note":"Value kept but may cause issues"} 
[2026-09-05 12:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788592877000,"timestamp_ms":1788592877000,"timestamp_seconds":1788592877,"priority":1,"record_length":96,"hex_timestamp":"000001a070716dc8"} 
[2026-09-05 12:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-05 12:52:51] 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-09-05 12:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879771136001,"66":12765,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252141402979502080},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 12:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879771136001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:52:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 12:52:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:52:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252141402979502080,"description":"Unknown IO ID 44"} 
[2026-09-05 12:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879771136001,"power":12765,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252141402979502080}} 
[2026-09-05 12:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":171822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:52:51] local.INFO: GPS data processed {"connection_id":171822,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:52:51] local.INFO: Acknowledgment sent {"connection_id":171822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:52:56] local.INFO: TCP Data received {"connection_id":172927,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:52:56] local.INFO: Processing buffer {"connection_id":172927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:52:56] local.INFO: IMEI packet received {"connection_id":172927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":172927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:53:01] local.INFO: TCP Data received {"connection_id":172927,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:53:01] local.INFO: Processing buffer {"connection_id":172927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:53:01] local.INFO: IMEI packet received {"connection_id":172927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":172927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:53:02] local.INFO: TCP Data received {"connection_id":172927,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0707113f0012d6917c0061b0a90000c01182d..."} 
[2026-09-05 12:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707113f0012d6917c0061b0a90000c01182d..."} 
[2026-09-05 12:53:02] local.INFO: Processing buffer {"connection_id":172927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707113f0012d6917c0061b0a90000c01182d..."} 
[2026-09-05 12:53:02] local.INFO: Packet analysis {"connection_id":172927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07071"} 
[2026-09-05 12:53:02] local.INFO: Extracted packet for processing {"connection_id":172927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07071"} 
[2026-09-05 12:53:02] local.INFO: GPS Element Parsed {"raw_longitude":761862080,"raw_latitude":102435472,"longitude_deg":76.186208,"latitude_deg":10.2435472,"altitude":12,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d6917c0","hex_latitude":"061b0a90","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879693056001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399691773984636928,"note":"Value kept but may cause issues"} 
[2026-09-05 12:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7573084274623248384,"note":"Value kept but may cause issues"} 
[2026-09-05 12:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788592854000,"timestamp_ms":1788592854000,"timestamp_seconds":1788592854,"priority":1,"record_length":96,"hex_timestamp":"000001a0707113f0"} 
[2026-09-05 12:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:53:02] 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-09-05 12:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-05 12:53: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-09-05 12: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-09-05 12:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879693056001,"66":26484,"58":206,"79":20992,"24":0,"16":399691773984636928,"45":7573084274623248384},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,79,24,16,45]} 
[2026-09-05 12:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879693056001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:53:02] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-05 12:53:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399691773984636928,"km_value":399691773984636.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7573084274623248384,"description":"Unknown IO ID 45"} 
[2026-09-05 12:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879693056001,"power":26484,"unknown_58":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7573084274623248384}} 
[2026-09-05 12:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":172927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:53:02] local.INFO: GPS data processed {"connection_id":172927,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:53:02] local.INFO: Acknowledgment sent {"connection_id":172927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:53:22] local.INFO: TCP Data received {"connection_id":171822,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07071bfd0012cee9f800732d8f8004e008223..."} 
[2026-09-05 12:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07071bfd0012cee9f800732d8f8004e008223..."} 
[2026-09-05 12:53:22] local.INFO: Processing buffer {"connection_id":171822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07071bfd0012cee9f800732d8f8004e008223..."} 
[2026-09-05 12:53:22] local.INFO: Packet analysis {"connection_id":171822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07071"} 
[2026-09-05 12:53:22] local.INFO: Extracted packet for processing {"connection_id":171822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07071"} 
[2026-09-05 12:53:22] local.INFO: GPS Element Parsed {"raw_longitude":753835904,"raw_latitude":120772856,"longitude_deg":75.3835904,"latitude_deg":12.0772856,"altitude":78,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2cee9f80","hex_latitude":"0732d8f8","is_valid_coordinates":true} 
[2026-09-05 12:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879776512001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 12:53:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252141402979502080,"note":"Value kept but may cause issues"} 
[2026-09-05 12:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788592898000,"timestamp_ms":1788592898000,"timestamp_seconds":1788592898,"priority":1,"record_length":96,"hex_timestamp":"000001a07071bfd0"} 
[2026-09-05 12:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:53:22] 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-09-05 12:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-05 12:53:22] 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-09-05 12:53:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879776512001,"66":12743,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252141402979502080},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 12:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879776512001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:53:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 12:53:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:53:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252141402979502080,"description":"Unknown IO ID 44"} 
[2026-09-05 12:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879776512001,"power":12743,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252141402979502080}} 
[2026-09-05 12:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":171822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:53:22] local.INFO: GPS data processed {"connection_id":171822,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:53:22] local.INFO: Acknowledgment sent {"connection_id":171822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:53:34] local.INFO: TCP Data received {"connection_id":172927,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0707113f0012d6917c0061b0a90000c01182d..."} 
[2026-09-05 12:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707113f0012d6917c0061b0a90000c01182d..."} 
[2026-09-05 12:53:34] local.INFO: Processing buffer {"connection_id":172927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707113f0012d6917c0061b0a90000c01182d..."} 
[2026-09-05 12:53:34] local.INFO: Packet analysis {"connection_id":172927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07071"} 
[2026-09-05 12:53:34] local.INFO: Extracted packet for processing {"connection_id":172927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07071"} 
[2026-09-05 12:53:34] local.INFO: GPS Element Parsed {"raw_longitude":761862080,"raw_latitude":102435472,"longitude_deg":76.186208,"latitude_deg":10.2435472,"altitude":12,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d6917c0","hex_latitude":"061b0a90","is_valid_coordinates":true} 
[2026-09-05 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-09-05 12:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879693056001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399691773984636928,"note":"Value kept but may cause issues"} 
[2026-09-05 12:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7573084274623248384,"note":"Value kept but may cause issues"} 
[2026-09-05 12:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788592854000,"timestamp_ms":1788592854000,"timestamp_seconds":1788592854,"priority":1,"record_length":96,"hex_timestamp":"000001a0707113f0"} 
[2026-09-05 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-09-05 12:53: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-09-05 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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-05 12:53:34] 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-09-05 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-09-05 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-09-05 12:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879693056001,"66":26484,"58":206,"79":20992,"24":0,"16":399691773984636928,"45":7573084274623248384},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,79,24,16,45]} 
[2026-09-05 12:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879693056001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:53:34] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-05 12:53:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399691773984636928,"km_value":399691773984636.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7573084274623248384,"description":"Unknown IO ID 45"} 
[2026-09-05 12:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879693056001,"power":26484,"unknown_58":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7573084274623248384}} 
[2026-09-05 12:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":172927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:53:34] local.INFO: GPS data processed {"connection_id":172927,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:53:34] local.INFO: Acknowledgment sent {"connection_id":172927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:53:45] local.INFO: TCP Data received {"connection_id":174230,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:53:45] local.INFO: Processing buffer {"connection_id":174230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:53:45] local.INFO: IMEI packet received {"connection_id":174230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":174230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:53:50] local.INFO: TCP Data received {"connection_id":174230,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:53:50] local.INFO: Processing buffer {"connection_id":174230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:53:50] local.INFO: IMEI packet received {"connection_id":174230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":174230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:53:51] local.INFO: TCP Data received {"connection_id":174230,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0707211d8012cee9f800732d8f8004e008226..."} 
[2026-09-05 12:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707211d8012cee9f800732d8f8004e008226..."} 
[2026-09-05 12:53:51] local.INFO: Processing buffer {"connection_id":174230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707211d8012cee9f800732d8f8004e008226..."} 
[2026-09-05 12:53:51] local.INFO: Packet analysis {"connection_id":174230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07072"} 
[2026-09-05 12:53:51] local.INFO: Extracted packet for processing {"connection_id":174230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07072"} 
[2026-09-05 12:53:51] local.INFO: GPS Element Parsed {"raw_longitude":753835904,"raw_latitude":120772856,"longitude_deg":75.3835904,"latitude_deg":12.0772856,"altitude":78,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2cee9f80","hex_latitude":"0732d8f8","is_valid_coordinates":true} 
[2026-09-05 12:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879781888001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 12:53:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252141402979502080,"note":"Value kept but may cause issues"} 
[2026-09-05 12:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788592919000,"timestamp_ms":1788592919000,"timestamp_seconds":1788592919,"priority":1,"record_length":96,"hex_timestamp":"000001a0707211d8"} 
[2026-09-05 12:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-05 12:53:51] 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-09-05 12:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879781888001,"66":12722,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252141402979502080},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 12:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879781888001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:53:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 12:53:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:53:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252141402979502080,"description":"Unknown IO ID 44"} 
[2026-09-05 12:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879781888001,"power":12722,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252141402979502080}} 
[2026-09-05 12:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":174230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:53:51] local.INFO: GPS data processed {"connection_id":174230,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:53:51] local.INFO: Acknowledgment sent {"connection_id":174230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:53:56] local.INFO: TCP Data received {"connection_id":171824,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:53:56] local.INFO: Processing buffer {"connection_id":171824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:53:56] local.INFO: IMEI packet received {"connection_id":171824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":171824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:54:01] local.INFO: TCP Data received {"connection_id":171824,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:54:01] local.INFO: Processing buffer {"connection_id":171824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:54:01] local.INFO: IMEI packet received {"connection_id":171824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":171824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:54:02] local.INFO: TCP Data received {"connection_id":171824,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0707113f0012d6917c0061b0a90000c01182d..."} 
[2026-09-05 12:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707113f0012d6917c0061b0a90000c01182d..."} 
[2026-09-05 12:54:02] local.INFO: Processing buffer {"connection_id":171824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707113f0012d6917c0061b0a90000c01182d..."} 
[2026-09-05 12:54:02] local.INFO: Packet analysis {"connection_id":171824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07071"} 
[2026-09-05 12:54:02] local.INFO: Extracted packet for processing {"connection_id":171824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07071"} 
[2026-09-05 12:54:02] local.INFO: GPS Element Parsed {"raw_longitude":761862080,"raw_latitude":102435472,"longitude_deg":76.186208,"latitude_deg":10.2435472,"altitude":12,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d6917c0","hex_latitude":"061b0a90","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879693056001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399691773984636928,"note":"Value kept but may cause issues"} 
[2026-09-05 12:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7573084274623248384,"note":"Value kept but may cause issues"} 
[2026-09-05 12:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788592854000,"timestamp_ms":1788592854000,"timestamp_seconds":1788592854,"priority":1,"record_length":96,"hex_timestamp":"000001a0707113f0"} 
[2026-09-05 12:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:54:02] 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-09-05 12:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-05 12:54: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-09-05 12: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-09-05 12:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:54: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-09-05 12:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879693056001,"66":26484,"58":206,"79":20992,"24":0,"16":399691773984636928,"45":7573084274623248384},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,79,24,16,45]} 
[2026-09-05 12:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879693056001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:54:02] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-05 12:54:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399691773984636928,"km_value":399691773984636.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7573084274623248384,"description":"Unknown IO ID 45"} 
[2026-09-05 12:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879693056001,"power":26484,"unknown_58":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7573084274623248384}} 
[2026-09-05 12:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":171824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:54:02] local.INFO: GPS data processed {"connection_id":171824,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:54:02] local.INFO: Acknowledgment sent {"connection_id":171824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:54:14] local.INFO: TCP Data received {"connection_id":174231,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174231,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:54:14] local.INFO: Processing buffer {"connection_id":174231,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:54:14] local.INFO: IMEI packet received {"connection_id":174231,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 12:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":174231,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:54:22] local.INFO: TCP Data received {"connection_id":174230,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0707263e0012cee9f800732d8f8004e008226..."} 
[2026-09-05 12:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707263e0012cee9f800732d8f8004e008226..."} 
[2026-09-05 12:54:22] local.INFO: Processing buffer {"connection_id":174230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707263e0012cee9f800732d8f8004e008226..."} 
[2026-09-05 12:54:22] local.INFO: Packet analysis {"connection_id":174230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07072"} 
[2026-09-05 12:54:22] local.INFO: Extracted packet for processing {"connection_id":174230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07072"} 
[2026-09-05 12:54:22] local.INFO: GPS Element Parsed {"raw_longitude":753835904,"raw_latitude":120772856,"longitude_deg":75.3835904,"latitude_deg":12.0772856,"altitude":78,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2cee9f80","hex_latitude":"0732d8f8","is_valid_coordinates":true} 
[2026-09-05 12:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879787264001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 12:54:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252141402979502080,"note":"Value kept but may cause issues"} 
[2026-09-05 12:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788592940000,"timestamp_ms":1788592940000,"timestamp_seconds":1788592940,"priority":1,"record_length":96,"hex_timestamp":"000001a0707263e0"} 
[2026-09-05 12:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:54:22] 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-09-05 12:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 12:54:22] 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-09-05 12:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879787264001,"66":12722,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252141402979502080},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 12:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879787264001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:54:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 12:54:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:54:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252141402979502080,"description":"Unknown IO ID 44"} 
[2026-09-05 12:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879787264001,"power":12722,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252141402979502080}} 
[2026-09-05 12:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":174230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:54:22] local.INFO: GPS data processed {"connection_id":174230,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:54:22] local.INFO: Acknowledgment sent {"connection_id":174230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:54:34] local.INFO: TCP Data received {"connection_id":171824,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07073d310012d6917c0061b0a90000c01182b..."} 
[2026-09-05 12:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07073d310012d6917c0061b0a90000c01182b..."} 
[2026-09-05 12:54:34] local.INFO: Processing buffer {"connection_id":171824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07073d310012d6917c0061b0a90000c01182b..."} 
[2026-09-05 12:54:34] local.INFO: Packet analysis {"connection_id":171824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07073"} 
[2026-09-05 12:54:34] local.INFO: Extracted packet for processing {"connection_id":171824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07073"} 
[2026-09-05 12:54:34] local.INFO: GPS Element Parsed {"raw_longitude":761862080,"raw_latitude":102435472,"longitude_deg":76.186208,"latitude_deg":10.2435472,"altitude":12,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d6917c0","hex_latitude":"061b0a90","is_valid_coordinates":true} 
[2026-09-05 12:54: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-09-05 12:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879770624001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399691773984636928,"note":"Value kept but may cause issues"} 
[2026-09-05 12:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7572732430902792192,"note":"Value kept but may cause issues"} 
[2026-09-05 12:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788593034000,"timestamp_ms":1788593034000,"timestamp_seconds":1788593034,"priority":1,"record_length":96,"hex_timestamp":"000001a07073d310"} 
[2026-09-05 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-09-05 12:54: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-09-05 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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-05 12:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 12:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:54:34] 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-09-05 12:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879770624001,"66":26299,"58":206,"79":20992,"24":0,"16":399691773984636928,"45":7572732430902792192},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,79,24,16,45]} 
[2026-09-05 12:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879770624001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:54:34] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-05 12:54:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399691773984636928,"km_value":399691773984636.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7572732430902792192,"description":"Unknown IO ID 45"} 
[2026-09-05 12:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879770624001,"power":26299,"unknown_58":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7572732430902792192}} 
[2026-09-05 12:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":171824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:54:34] local.INFO: GPS data processed {"connection_id":171824,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:54:34] local.INFO: Acknowledgment sent {"connection_id":171824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:54:45] local.INFO: TCP Data received {"connection_id":171526,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:54:45] local.INFO: Processing buffer {"connection_id":171526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:54:45] local.INFO: IMEI packet received {"connection_id":171526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":171526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:54:47] local.INFO: TCP Data received {"connection_id":171527,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171527,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:54:47] local.INFO: Processing buffer {"connection_id":171527,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 12:54:47] local.INFO: IMEI packet received {"connection_id":171527,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 12:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":171527,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:54:50] local.INFO: TCP Data received {"connection_id":171526,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:54:50] local.INFO: Processing buffer {"connection_id":171526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:54:50] local.INFO: IMEI packet received {"connection_id":171526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":171526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:54:51] local.INFO: TCP Data received {"connection_id":171526,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07072b5e8012cee9f800732d8f8004e008226..."} 
[2026-09-05 12:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07072b5e8012cee9f800732d8f8004e008226..."} 
[2026-09-05 12:54:51] local.INFO: Processing buffer {"connection_id":171526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07072b5e8012cee9f800732d8f8004e008226..."} 
[2026-09-05 12:54:51] local.INFO: Packet analysis {"connection_id":171526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07072"} 
[2026-09-05 12:54:51] local.INFO: Extracted packet for processing {"connection_id":171526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07072"} 
[2026-09-05 12:54:51] local.INFO: GPS Element Parsed {"raw_longitude":753835904,"raw_latitude":120772856,"longitude_deg":75.3835904,"latitude_deg":12.0772856,"altitude":78,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2cee9f80","hex_latitude":"0732d8f8","is_valid_coordinates":true} 
[2026-09-05 12:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879792640001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 12:54:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252141402979502080,"note":"Value kept but may cause issues"} 
[2026-09-05 12:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788592961000,"timestamp_ms":1788592961000,"timestamp_seconds":1788592961,"priority":1,"record_length":96,"hex_timestamp":"000001a07072b5e8"} 
[2026-09-05 12:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 12:54:51] 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-09-05 12:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879792640001,"66":12722,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252141402979502080},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 12:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879792640001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:54:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 12:54:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:54:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252141402979502080,"description":"Unknown IO ID 44"} 
[2026-09-05 12:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879792640001,"power":12722,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252141402979502080}} 
[2026-09-05 12:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":171526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:54:51] local.INFO: GPS data processed {"connection_id":171526,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:54:51] local.INFO: Acknowledgment sent {"connection_id":171526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:54:57] local.INFO: TCP Data received {"connection_id":174232,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:54:57] local.INFO: Processing buffer {"connection_id":174232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:54:57] local.INFO: IMEI packet received {"connection_id":174232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":174232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:55:01] local.INFO: TCP Data received {"connection_id":174232,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:55:01] local.INFO: Processing buffer {"connection_id":174232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:55:01] local.INFO: IMEI packet received {"connection_id":174232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":174232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:55:06] local.INFO: TCP Data received {"connection_id":174232,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:55:06] local.INFO: Processing buffer {"connection_id":174232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:55:06] local.INFO: IMEI packet received {"connection_id":174232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":174232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:55:07] local.INFO: TCP Data received {"connection_id":174232,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0707434b8012d691840061b0bb0000c01182d..."} 
[2026-09-05 12:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707434b8012d691840061b0bb0000c01182d..."} 
[2026-09-05 12:55:07] local.INFO: Processing buffer {"connection_id":174232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707434b8012d691840061b0bb0000c01182d..."} 
[2026-09-05 12:55:07] local.INFO: Packet analysis {"connection_id":174232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07074"} 
[2026-09-05 12:55:07] local.INFO: Extracted packet for processing {"connection_id":174232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07074"} 
[2026-09-05 12:55:07] local.INFO: GPS Element Parsed {"raw_longitude":761862208,"raw_latitude":102435760,"longitude_deg":76.1862208,"latitude_deg":10.243576,"altitude":12,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d691840","hex_latitude":"061b0bb0","is_valid_coordinates":true} 
[2026-09-05 12:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879816704001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399691773984636928,"note":"Value kept but may cause issues"} 
[2026-09-05 12:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7572732430902792192,"note":"Value kept but may cause issues"} 
[2026-09-05 12:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788593059000,"timestamp_ms":1788593059000,"timestamp_seconds":1788593059,"priority":1,"record_length":96,"hex_timestamp":"000001a0707434b8"} 
[2026-09-05 12:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:55: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-09-05 12: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-05 12:55:07] 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-09-05 12: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-09-05 12:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879816704001,"66":27919,"58":206,"79":20992,"24":0,"16":399691773984636928,"45":7572732430902792192},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,79,24,16,45]} 
[2026-09-05 12:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879816704001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:55:07] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-05 12:55:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399691773984636928,"km_value":399691773984636.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":7572732430902792192,"description":"Unknown IO ID 45"} 
[2026-09-05 12:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879816704001,"power":27919,"unknown_58":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7572732430902792192}} 
[2026-09-05 12:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":174232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:55:07] local.INFO: GPS data processed {"connection_id":174232,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:55:07] local.INFO: Acknowledgment sent {"connection_id":174232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:55:12] local.INFO: TCP Data received {"connection_id":174232,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0707434b8012d691840061b0bb0000c01182d..."} 
[2026-09-05 12:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707434b8012d691840061b0bb0000c01182d..."} 
[2026-09-05 12:55:12] local.INFO: Processing buffer {"connection_id":174232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707434b8012d691840061b0bb0000c01182d..."} 
[2026-09-05 12:55:12] local.INFO: Packet analysis {"connection_id":174232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07074"} 
[2026-09-05 12:55:12] local.INFO: Extracted packet for processing {"connection_id":174232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07074"} 
[2026-09-05 12:55:12] local.INFO: GPS Element Parsed {"raw_longitude":761862208,"raw_latitude":102435760,"longitude_deg":76.1862208,"latitude_deg":10.243576,"altitude":12,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d691840","hex_latitude":"061b0bb0","is_valid_coordinates":true} 
[2026-09-05 12:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879816704001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399691773984636928,"note":"Value kept but may cause issues"} 
[2026-09-05 12:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7572732430902792192,"note":"Value kept but may cause issues"} 
[2026-09-05 12:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788593059000,"timestamp_ms":1788593059000,"timestamp_seconds":1788593059,"priority":1,"record_length":96,"hex_timestamp":"000001a0707434b8"} 
[2026-09-05 12:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:55:12] 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-09-05 12:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-05 12:55:12] 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-09-05 12:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:55:12] 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-09-05 12:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879816704001,"66":27919,"58":206,"79":20992,"24":0,"16":399691773984636928,"45":7572732430902792192},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,79,24,16,45]} 
[2026-09-05 12:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879816704001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:55:12] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-05 12:55:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399691773984636928,"km_value":399691773984636.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7572732430902792192,"description":"Unknown IO ID 45"} 
[2026-09-05 12:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879816704001,"power":27919,"unknown_58":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7572732430902792192}} 
[2026-09-05 12:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":174232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:55:12] local.INFO: GPS data processed {"connection_id":174232,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:55:12] local.INFO: Acknowledgment sent {"connection_id":174232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:55:22] local.INFO: TCP Data received {"connection_id":171526,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07072e4c8012cee9f800732d8f8004e008226..."} 
[2026-09-05 12:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07072e4c8012cee9f800732d8f8004e008226..."} 
[2026-09-05 12:55:22] local.INFO: Processing buffer {"connection_id":171526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07072e4c8012cee9f800732d8f8004e008226..."} 
[2026-09-05 12:55:22] local.INFO: Packet analysis {"connection_id":171526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07072"} 
[2026-09-05 12:55:22] local.INFO: Extracted packet for processing {"connection_id":171526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07072"} 
[2026-09-05 12:55:22] local.INFO: GPS Element Parsed {"raw_longitude":753835904,"raw_latitude":120772856,"longitude_deg":75.3835904,"latitude_deg":12.0772856,"altitude":78,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2cee9f80","hex_latitude":"0732d8f8","is_valid_coordinates":true} 
[2026-09-05 12:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879798016001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 12:55:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252141402979502080,"note":"Value kept but may cause issues"} 
[2026-09-05 12:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788592973000,"timestamp_ms":1788592973000,"timestamp_seconds":1788592973,"priority":1,"record_length":96,"hex_timestamp":"000001a07072e4c8"} 
[2026-09-05 12:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:55:22] 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-09-05 12: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":178,"data_length":795,"current_offset":136} 
[2026-09-05 12:55:22] 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-09-05 12: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-09-05 12:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879798016001,"66":12722,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252141402979502080},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 12:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879798016001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:55:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 12:55:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:55:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252141402979502080,"description":"Unknown IO ID 44"} 
[2026-09-05 12:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879798016001,"power":12722,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252141402979502080}} 
[2026-09-05 12:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":171526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:55:22] local.INFO: GPS data processed {"connection_id":171526,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:55:22] local.INFO: Acknowledgment sent {"connection_id":171526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:55:45] local.INFO: TCP Data received {"connection_id":171826,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:55:45] local.INFO: Processing buffer {"connection_id":171826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:55:45] local.INFO: IMEI packet received {"connection_id":171826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":171826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:55:50] local.INFO: TCP Data received {"connection_id":171826,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:55:50] local.INFO: Processing buffer {"connection_id":171826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:55:50] local.INFO: IMEI packet received {"connection_id":171826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":171826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:55:51] local.INFO: TCP Data received {"connection_id":171826,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07072e8b0012cee9f800732d8f8004e008225..."} 
[2026-09-05 12:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07072e8b0012cee9f800732d8f8004e008225..."} 
[2026-09-05 12:55:51] local.INFO: Processing buffer {"connection_id":171826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07072e8b0012cee9f800732d8f8004e008225..."} 
[2026-09-05 12:55:51] local.INFO: Packet analysis {"connection_id":171826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07072"} 
[2026-09-05 12:55:51] local.INFO: Extracted packet for processing {"connection_id":171826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07072"} 
[2026-09-05 12:55:51] local.INFO: GPS Element Parsed {"raw_longitude":753835904,"raw_latitude":120772856,"longitude_deg":75.3835904,"latitude_deg":12.0772856,"altitude":78,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2cee9f80","hex_latitude":"0732d8f8","is_valid_coordinates":true} 
[2026-09-05 12:55:51] 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-09-05 12:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879801088001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 12:55:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252141402979502080,"note":"Value kept but may cause issues"} 
[2026-09-05 12:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788592974000,"timestamp_ms":1788592974000,"timestamp_seconds":1788592974,"priority":1,"record_length":96,"hex_timestamp":"000001a07072e8b0"} 
[2026-09-05 12:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:55:51] 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-09-05 12:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 12:55:51] 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-09-05 12:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879801088001,"66":4470,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252141402979502080},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 12:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879801088001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:55:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 12:55:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:55:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252141402979502080,"description":"Unknown IO ID 44"} 
[2026-09-05 12:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879801088001,"power":4470,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252141402979502080}} 
[2026-09-05 12:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":171826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:55:51] local.INFO: GPS data processed {"connection_id":171826,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:55:51] local.INFO: Acknowledgment sent {"connection_id":171826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:55:56] local.INFO: TCP Data received {"connection_id":174234,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:55:56] local.INFO: Processing buffer {"connection_id":174234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:55:56] local.INFO: IMEI packet received {"connection_id":174234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":174234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:56:01] local.INFO: TCP Data received {"connection_id":174234,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:56:01] local.INFO: Processing buffer {"connection_id":174234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:56:01] local.INFO: IMEI packet received {"connection_id":174234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":174234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:56:02] local.INFO: TCP Data received {"connection_id":174234,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0707486c0012d691840061b0bb0000c01182c..."} 
[2026-09-05 12:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707486c0012d691840061b0bb0000c01182c..."} 
[2026-09-05 12:56:02] local.INFO: Processing buffer {"connection_id":174234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707486c0012d691840061b0bb0000c01182c..."} 
[2026-09-05 12:56:02] local.INFO: Packet analysis {"connection_id":174234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07074"} 
[2026-09-05 12:56:02] local.INFO: Extracted packet for processing {"connection_id":174234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07074"} 
[2026-09-05 12:56:02] local.INFO: GPS Element Parsed {"raw_longitude":761862208,"raw_latitude":102435760,"longitude_deg":76.1862208,"latitude_deg":10.243576,"altitude":12,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d691840","hex_latitude":"061b0bb0","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879823104001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399691773984636928,"note":"Value kept but may cause issues"} 
[2026-09-05 12:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7572873168391221248,"note":"Value kept but may cause issues"} 
[2026-09-05 12:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788593080000,"timestamp_ms":1788593080000,"timestamp_seconds":1788593080,"priority":1,"record_length":96,"hex_timestamp":"000001a0707486c0"} 
[2026-09-05 12:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:56: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-09-05 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 12:56: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-09-05 12: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-09-05 12:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:56: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-09-05 12:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879823104001,"66":27908,"58":206,"79":20992,"24":0,"16":399691773984636928,"45":7572873168391221248},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,79,24,16,45]} 
[2026-09-05 12:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879823104001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:56:02] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-05 12:56:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399691773984636928,"km_value":399691773984636.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7572873168391221248,"description":"Unknown IO ID 45"} 
[2026-09-05 12:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879823104001,"power":27908,"unknown_58":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7572873168391221248}} 
[2026-09-05 12:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":174234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:56:02] local.INFO: GPS data processed {"connection_id":174234,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:56:02] local.INFO: Acknowledgment sent {"connection_id":174234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:56:22] local.INFO: TCP Data received {"connection_id":171826,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07072e8b0012cee9f800732d8f8004e008225..."} 
[2026-09-05 12:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07072e8b0012cee9f800732d8f8004e008225..."} 
[2026-09-05 12:56:22] local.INFO: Processing buffer {"connection_id":171826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07072e8b0012cee9f800732d8f8004e008225..."} 
[2026-09-05 12:56:22] local.INFO: Packet analysis {"connection_id":171826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07072"} 
[2026-09-05 12:56:22] local.INFO: Extracted packet for processing {"connection_id":171826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07072"} 
[2026-09-05 12:56:22] local.INFO: GPS Element Parsed {"raw_longitude":753835904,"raw_latitude":120772856,"longitude_deg":75.3835904,"latitude_deg":12.0772856,"altitude":78,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2cee9f80","hex_latitude":"0732d8f8","is_valid_coordinates":true} 
[2026-09-05 12:56:22] 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-09-05 12:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879801344001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 12:56:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252141402979502080,"note":"Value kept but may cause issues"} 
[2026-09-05 12:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788592974000,"timestamp_ms":1788592974000,"timestamp_seconds":1788592974,"priority":1,"record_length":96,"hex_timestamp":"000001a07072e8b0"} 
[2026-09-05 12:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:56:22] 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-09-05 12:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 12:56:22] 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-09-05 12:56:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879801344001,"66":4470,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252141402979502080},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 12:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879801344001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:56:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 12:56:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:56:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252141402979502080,"description":"Unknown IO ID 44"} 
[2026-09-05 12:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879801344001,"power":4470,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252141402979502080}} 
[2026-09-05 12:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":171826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:56:22] local.INFO: GPS data processed {"connection_id":171826,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:56:22] local.INFO: Acknowledgment sent {"connection_id":171826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:56:33] local.INFO: TCP Data received {"connection_id":174234,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07074a600012d691a80061b0e10001401632e..."} 
[2026-09-05 12:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07074a600012d691a80061b0e10001401632e..."} 
[2026-09-05 12:56:33] local.INFO: Processing buffer {"connection_id":174234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07074a600012d691a80061b0e10001401632e..."} 
[2026-09-05 12:56:33] local.INFO: Packet analysis {"connection_id":174234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07074"} 
[2026-09-05 12:56:33] local.INFO: Extracted packet for processing {"connection_id":174234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07074"} 
[2026-09-05 12:56:33] local.INFO: GPS Element Parsed {"raw_longitude":761862784,"raw_latitude":102436368,"longitude_deg":76.1862784,"latitude_deg":10.2436368,"altitude":20,"angle":355,"satellites":46,"speed":4,"hex_longitude":"2d691a80","hex_latitude":"061b0e10","is_valid_coordinates":true} 
[2026-09-05 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-09-05 12:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879828480001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399691816934309888,"note":"Value kept but may cause issues"} 
[2026-09-05 12:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7572873168391221248,"note":"Value kept but may cause issues"} 
[2026-09-05 12:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788593088000,"timestamp_ms":1788593088000,"timestamp_seconds":1788593088,"priority":1,"record_length":96,"hex_timestamp":"000001a07074a600"} 
[2026-09-05 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-09-05 12:56: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-09-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 12:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 12:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:56: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-09-05 12:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879828480001,"66":27745,"58":206,"79":20992,"24":4,"16":399691816934309888,"45":7572873168391221248},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,79,24,16,45]} 
[2026-09-05 12:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879828480001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:56:33] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-05 12:56:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399691816934309888,"km_value":399691816934309.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7572873168391221248,"description":"Unknown IO ID 45"} 
[2026-09-05 12:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879828480001,"power":27745,"unknown_58":206,"unknown_79":20992,"ignition":4,"odometer":null,"unknown_45":7572873168391221248}} 
[2026-09-05 12:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":174234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:56:33] local.INFO: GPS data processed {"connection_id":174234,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:56:33] local.INFO: Acknowledgment sent {"connection_id":174234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:56:50] local.INFO: TCP Data received {"connection_id":171528,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:56:50] local.INFO: Processing buffer {"connection_id":171528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:56:50] local.INFO: IMEI packet received {"connection_id":171528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":171528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:56:54] local.INFO: TCP Data received {"connection_id":171827,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:56:54] local.INFO: Processing buffer {"connection_id":171827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:56:54] local.INFO: IMEI packet received {"connection_id":171827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":171827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:56:55] local.INFO: TCP Data received {"connection_id":171528,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:56:55] local.INFO: Processing buffer {"connection_id":171528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:56:55] local.INFO: IMEI packet received {"connection_id":171528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":171528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:56:56] local.INFO: TCP Data received {"connection_id":171528,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07072e8b0012cee9f800732d8f8004e008225..."} 
[2026-09-05 12:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07072e8b0012cee9f800732d8f8004e008225..."} 
[2026-09-05 12:56:56] local.INFO: Processing buffer {"connection_id":171528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07072e8b0012cee9f800732d8f8004e008225..."} 
[2026-09-05 12:56:56] local.INFO: Packet analysis {"connection_id":171528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07072"} 
[2026-09-05 12:56:56] local.INFO: Extracted packet for processing {"connection_id":171528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07072"} 
[2026-09-05 12:56:56] local.INFO: GPS Element Parsed {"raw_longitude":753835904,"raw_latitude":120772856,"longitude_deg":75.3835904,"latitude_deg":12.0772856,"altitude":78,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2cee9f80","hex_latitude":"0732d8f8","is_valid_coordinates":true} 
[2026-09-05 12:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879801344001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 12:56:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252141402979502080,"note":"Value kept but may cause issues"} 
[2026-09-05 12:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788592974000,"timestamp_ms":1788592974000,"timestamp_seconds":1788592974,"priority":1,"record_length":96,"hex_timestamp":"000001a07072e8b0"} 
[2026-09-05 12:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:56:56] 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-09-05 12:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 12:56:56] 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-09-05 12:56:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879801344001,"66":4470,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252141402979502080},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 12:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879801344001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:56:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 12:56:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:56:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252141402979502080,"description":"Unknown IO ID 44"} 
[2026-09-05 12:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879801344001,"power":4470,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252141402979502080}} 
[2026-09-05 12:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":171528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:56:56] local.INFO: GPS data processed {"connection_id":171528,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:56:56] local.INFO: Acknowledgment sent {"connection_id":171528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:56:56] local.INFO: TCP Data received {"connection_id":171827,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:56:56] local.INFO: Processing buffer {"connection_id":171827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:56:56] local.INFO: IMEI packet received {"connection_id":171827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":171827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:56:56] local.INFO: TCP Data received {"connection_id":171827,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:56:56] local.INFO: Processing buffer {"connection_id":171827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:56:56] local.INFO: IMEI packet received {"connection_id":171827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":171827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:57:00] local.INFO: TCP Data received {"connection_id":171528,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07072e8b0012cee9f800732d8f8004e008225..."} 
[2026-09-05 12:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07072e8b0012cee9f800732d8f8004e008225..."} 
[2026-09-05 12:57:00] local.INFO: Processing buffer {"connection_id":171528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07072e8b0012cee9f800732d8f8004e008225..."} 
[2026-09-05 12:57:00] local.INFO: Packet analysis {"connection_id":171528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07072"} 
[2026-09-05 12:57:00] local.INFO: Extracted packet for processing {"connection_id":171528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07072"} 
[2026-09-05 12:57:00] local.INFO: GPS Element Parsed {"raw_longitude":753835904,"raw_latitude":120772856,"longitude_deg":75.3835904,"latitude_deg":12.0772856,"altitude":78,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2cee9f80","hex_latitude":"0732d8f8","is_valid_coordinates":true} 
[2026-09-05 12:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879801344001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 12:57:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252141402979502080,"note":"Value kept but may cause issues"} 
[2026-09-05 12:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788592974000,"timestamp_ms":1788592974000,"timestamp_seconds":1788592974,"priority":1,"record_length":96,"hex_timestamp":"000001a07072e8b0"} 
[2026-09-05 12:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:57:00] 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-09-05 12:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 12:57:00] 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-09-05 12:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879801344001,"66":4470,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252141402979502080},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 12:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879801344001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:57:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 12:57:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:57:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252141402979502080,"description":"Unknown IO ID 44"} 
[2026-09-05 12:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879801344001,"power":4470,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252141402979502080}} 
[2026-09-05 12:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":171528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:57:00] local.INFO: GPS data processed {"connection_id":171528,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:57:00] local.INFO: Acknowledgment sent {"connection_id":171528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:57:03] local.INFO: TCP Data received {"connection_id":171827,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:57:03] local.INFO: Processing buffer {"connection_id":171827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:57:03] local.INFO: IMEI packet received {"connection_id":171827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":171827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:57:06] local.INFO: TCP Data received {"connection_id":171827,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07074c928012d6919c0061b0f30001300bc2f..."} 
[2026-09-05 12:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07074c928012d6919c0061b0f30001300bc2f..."} 
[2026-09-05 12:57:06] local.INFO: Processing buffer {"connection_id":171827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07074c928012d6919c0061b0f30001300bc2f..."} 
[2026-09-05 12:57:06] local.INFO: Packet analysis {"connection_id":171827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07074"} 
[2026-09-05 12:57:06] local.INFO: Extracted packet for processing {"connection_id":171827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07074"} 
[2026-09-05 12:57:06] local.INFO: GPS Element Parsed {"raw_longitude":761862592,"raw_latitude":102436656,"longitude_deg":76.1862592,"latitude_deg":10.2436656,"altitude":19,"angle":188,"satellites":47,"speed":1,"hex_longitude":"2d6919c0","hex_latitude":"061b0f30","is_valid_coordinates":true} 
[2026-09-05 12:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879830528001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399691846999080960,"note":"Value kept but may cause issues"} 
[2026-09-05 12:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7573506487088975872,"note":"Value kept but may cause issues"} 
[2026-09-05 12:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788593097000,"timestamp_ms":1788593097000,"timestamp_seconds":1788593097,"priority":1,"record_length":96,"hex_timestamp":"000001a07074c928"} 
[2026-09-05 12:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 12:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:57:06] 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-09-05 12:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879830528001,"66":27865,"58":206,"79":20992,"24":1,"16":399691846999080960,"45":7573506487088975872},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,79,24,16,45]} 
[2026-09-05 12:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879830528001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:57:06] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-05 12:57:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399691846999080960,"km_value":399691846999080.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7573506487088975872,"description":"Unknown IO ID 45"} 
[2026-09-05 12:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879830528001,"power":27865,"unknown_58":206,"unknown_79":20992,"ignition":1,"odometer":null,"unknown_45":7573506487088975872}} 
[2026-09-05 12:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":171827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:57:06] local.INFO: GPS data processed {"connection_id":171827,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:57:06] local.INFO: Acknowledgment sent {"connection_id":171827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:57:38] local.INFO: TCP Data received {"connection_id":171827,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a070765f68012d692840061b04880010003f31..."} 
[2026-09-05 12:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070765f68012d692840061b04880010003f31..."} 
[2026-09-05 12:57:38] local.INFO: Processing buffer {"connection_id":171827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070765f68012d692840061b04880010003f31..."} 
[2026-09-05 12:57:38] local.INFO: Packet analysis {"connection_id":171827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07076"} 
[2026-09-05 12:57:38] local.INFO: Extracted packet for processing {"connection_id":171827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07076"} 
[2026-09-05 12:57:38] local.INFO: GPS Element Parsed {"raw_longitude":761866304,"raw_latitude":102433928,"longitude_deg":76.1866304,"latitude_deg":10.2433928,"altitude":16,"angle":63,"satellites":49,"speed":22,"hex_longitude":"2d692840","hex_latitude":"061b0488","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879857408001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399692224956203008,"note":"Value kept but may cause issues"} 
[2026-09-05 12:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7574210174529935360,"note":"Value kept but may cause issues"} 
[2026-09-05 12:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788593201000,"timestamp_ms":1788593201000,"timestamp_seconds":1788593201,"priority":1,"record_length":96,"hex_timestamp":"000001a070765f68"} 
[2026-09-05 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-09-05 12:57: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-09-05 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 12:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 12:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:57: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-09-05 12:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879857408001,"66":27919,"56":206,"79":20992,"24":22,"16":399692224956203008,"45":7574210174529935360},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,79,24,16,45]} 
[2026-09-05 12:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879857408001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:57:38] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-09-05 12:57:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399692224956203008,"km_value":399692224956203.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7574210174529935360,"description":"Unknown IO ID 45"} 
[2026-09-05 12:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879857408001,"power":27919,"unknown_56":206,"unknown_79":20992,"ignition":22,"odometer":null,"unknown_45":7574210174529935360}} 
[2026-09-05 12:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":171827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:57:38] local.INFO: GPS data processed {"connection_id":171827,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:57:38] local.INFO: Acknowledgment sent {"connection_id":171827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:57:45] local.INFO: TCP Data received {"connection_id":171529,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:57:45] local.INFO: Processing buffer {"connection_id":171529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:57:45] local.INFO: IMEI packet received {"connection_id":171529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":171529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:57:50] local.INFO: TCP Data received {"connection_id":171529,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:57:50] local.INFO: Processing buffer {"connection_id":171529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:57:50] local.INFO: IMEI packet received {"connection_id":171529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":171529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:57:51] local.INFO: TCP Data received {"connection_id":171529,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07072e8b0012cee9f800732d8f8004e008225..."} 
[2026-09-05 12:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07072e8b0012cee9f800732d8f8004e008225..."} 
[2026-09-05 12:57:51] local.INFO: Processing buffer {"connection_id":171529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07072e8b0012cee9f800732d8f8004e008225..."} 
[2026-09-05 12:57:51] local.INFO: Packet analysis {"connection_id":171529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07072"} 
[2026-09-05 12:57:51] local.INFO: Extracted packet for processing {"connection_id":171529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07072"} 
[2026-09-05 12:57:51] local.INFO: GPS Element Parsed {"raw_longitude":753835904,"raw_latitude":120772856,"longitude_deg":75.3835904,"latitude_deg":12.0772856,"altitude":78,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2cee9f80","hex_latitude":"0732d8f8","is_valid_coordinates":true} 
[2026-09-05 12:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879801344001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 12:57:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252141402979502080,"note":"Value kept but may cause issues"} 
[2026-09-05 12:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788592974000,"timestamp_ms":1788592974000,"timestamp_seconds":1788592974,"priority":1,"record_length":96,"hex_timestamp":"000001a07072e8b0"} 
[2026-09-05 12:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:57:51] 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-09-05 12:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 12:57:51] 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-09-05 12:57:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879801344001,"66":4470,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252141402979502080},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 12:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879801344001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:57:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 12:57:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:57:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252141402979502080,"description":"Unknown IO ID 44"} 
[2026-09-05 12:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879801344001,"power":4470,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252141402979502080}} 
[2026-09-05 12:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":171529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:57:51] local.INFO: GPS data processed {"connection_id":171529,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:57:51] local.INFO: Acknowledgment sent {"connection_id":171529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:57:56] local.INFO: TCP Data received {"connection_id":171828,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:57:56] local.INFO: Processing buffer {"connection_id":171828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:57:56] local.INFO: IMEI packet received {"connection_id":171828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":171828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:58:01] local.INFO: TCP Data received {"connection_id":171828,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:58:01] local.INFO: Processing buffer {"connection_id":171828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:58:01] local.INFO: IMEI packet received {"connection_id":171828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":171828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:58:02] local.INFO: TCP Data received {"connection_id":171828,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a070767ac0012d693a40061b0ac8000e004e2e..."} 
[2026-09-05 12:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070767ac0012d693a40061b0ac8000e004e2e..."} 
[2026-09-05 12:58:02] local.INFO: Processing buffer {"connection_id":171828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070767ac0012d693a40061b0ac8000e004e2e..."} 
[2026-09-05 12:58:02] local.INFO: Packet analysis {"connection_id":171828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07076"} 
[2026-09-05 12:58:02] local.INFO: Extracted packet for processing {"connection_id":171828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07076"} 
[2026-09-05 12:58:02] local.INFO: GPS Element Parsed {"raw_longitude":761870912,"raw_latitude":102435528,"longitude_deg":76.1870912,"latitude_deg":10.2435528,"altitude":14,"angle":78,"satellites":46,"speed":31,"hex_longitude":"2d693a40","hex_latitude":"061b0ac8","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879859456001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399692456884436992,"note":"Value kept but may cause issues"} 
[2026-09-05 12:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7577376768018122752,"note":"Value kept but may cause issues"} 
[2026-09-05 12:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788593208000,"timestamp_ms":1788593208000,"timestamp_seconds":1788593208,"priority":1,"record_length":96,"hex_timestamp":"000001a070767ac0"} 
[2026-09-05 12:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:58: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-09-05 12: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":15,"data_length":795,"current_offset":136} 
[2026-09-05 12:58: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-09-05 12: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-09-05 12:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:58: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-09-05 12:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879859456001,"66":27876,"56":206,"79":20992,"24":31,"16":399692456884436992,"45":7577376768018122752},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,79,24,16,45]} 
[2026-09-05 12:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879859456001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:58:02] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-09-05 12:58:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399692456884436992,"km_value":399692456884437.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7577376768018122752,"description":"Unknown IO ID 45"} 
[2026-09-05 12:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879859456001,"power":27876,"unknown_56":206,"unknown_79":20992,"ignition":31,"odometer":null,"unknown_45":7577376768018122752}} 
[2026-09-05 12:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":171828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:58:02] local.INFO: GPS data processed {"connection_id":171828,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:58:02] local.INFO: Acknowledgment sent {"connection_id":171828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:58:22] local.INFO: TCP Data received {"connection_id":171529,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07072e8b0012cee9f800732d8f8004e008225..."} 
[2026-09-05 12:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07072e8b0012cee9f800732d8f8004e008225..."} 
[2026-09-05 12:58:22] local.INFO: Processing buffer {"connection_id":171529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07072e8b0012cee9f800732d8f8004e008225..."} 
[2026-09-05 12:58:22] local.INFO: Packet analysis {"connection_id":171529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07072"} 
[2026-09-05 12:58:22] local.INFO: Extracted packet for processing {"connection_id":171529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07072"} 
[2026-09-05 12:58:22] local.INFO: GPS Element Parsed {"raw_longitude":753835904,"raw_latitude":120772856,"longitude_deg":75.3835904,"latitude_deg":12.0772856,"altitude":78,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2cee9f80","hex_latitude":"0732d8f8","is_valid_coordinates":true} 
[2026-09-05 12:58:22] 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-09-05 12:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879801344001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 12:58:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252141402979502080,"note":"Value kept but may cause issues"} 
[2026-09-05 12:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788592974000,"timestamp_ms":1788592974000,"timestamp_seconds":1788592974,"priority":1,"record_length":96,"hex_timestamp":"000001a07072e8b0"} 
[2026-09-05 12:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:58:22] 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-09-05 12:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 12:58:22] 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-09-05 12:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879801344001,"66":4470,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252141402979502080},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 12:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879801344001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:58:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 12:58:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:58:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252141402979502080,"description":"Unknown IO ID 44"} 
[2026-09-05 12:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879801344001,"power":4470,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252141402979502080}} 
[2026-09-05 12:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":171529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:58:22] local.INFO: GPS data processed {"connection_id":171529,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:58:22] local.INFO: Acknowledgment sent {"connection_id":171529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:58:33] local.INFO: TCP Data received {"connection_id":171828,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a070768a60012d694600061b0bb0000d005b2d..."} 
[2026-09-05 12:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070768a60012d694600061b0bb0000d005b2d..."} 
[2026-09-05 12:58:33] local.INFO: Processing buffer {"connection_id":171828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070768a60012d694600061b0bb0000d005b2d..."} 
[2026-09-05 12:58:33] local.INFO: Packet analysis {"connection_id":171828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07076"} 
[2026-09-05 12:58:33] local.INFO: Extracted packet for processing {"connection_id":171828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07076"} 
[2026-09-05 12:58:33] local.INFO: GPS Element Parsed {"raw_longitude":761873920,"raw_latitude":102435760,"longitude_deg":76.187392,"latitude_deg":10.243576,"altitude":13,"angle":91,"satellites":45,"speed":30,"hex_longitude":"2d694600","hex_latitude":"061b0bb0","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879861248001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399692602913325056,"note":"Value kept but may cause issues"} 
[2026-09-05 12:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7582443317599324160,"note":"Value kept but may cause issues"} 
[2026-09-05 12:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788593212000,"timestamp_ms":1788593212000,"timestamp_seconds":1788593212,"priority":1,"record_length":96,"hex_timestamp":"000001a070768a60"} 
[2026-09-05 12:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:58: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-09-05 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 12:58:33] 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-09-05 12: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-09-05 12:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:58: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-09-05 12:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879861248001,"66":27767,"56":206,"79":20992,"24":30,"16":399692602913325056,"45":7582443317599324160},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,79,24,16,45]} 
[2026-09-05 12:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879861248001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:58:33] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-09-05 12:58:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399692602913325056,"km_value":399692602913325.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7582443317599324160,"description":"Unknown IO ID 45"} 
[2026-09-05 12:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879861248001,"power":27767,"unknown_56":206,"unknown_79":20992,"ignition":30,"odometer":null,"unknown_45":7582443317599324160}} 
[2026-09-05 12:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":171828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:58:33] local.INFO: GPS data processed {"connection_id":171828,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:58:33] local.INFO: Acknowledgment sent {"connection_id":171828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:58:45] local.INFO: TCP Data received {"connection_id":174235,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:58:45] local.INFO: Processing buffer {"connection_id":174235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:58:45] local.INFO: IMEI packet received {"connection_id":174235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":174235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:58:50] local.INFO: TCP Data received {"connection_id":174235,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:58:50] local.INFO: Processing buffer {"connection_id":174235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:58:50] local.INFO: IMEI packet received {"connection_id":174235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":174235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:58:51] local.INFO: TCP Data received {"connection_id":174235,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070778c30012cee9f000732d898004e008226..."} 
[2026-09-05 12:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070778c30012cee9f000732d898004e008226..."} 
[2026-09-05 12:58:51] local.INFO: Processing buffer {"connection_id":174235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070778c30012cee9f000732d898004e008226..."} 
[2026-09-05 12:58:51] local.INFO: Packet analysis {"connection_id":174235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07077"} 
[2026-09-05 12:58:51] local.INFO: Extracted packet for processing {"connection_id":174235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07077"} 
[2026-09-05 12:58:51] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772760,"longitude_deg":75.3835776,"latitude_deg":12.077276,"altitude":78,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d898","is_valid_coordinates":true} 
[2026-09-05 12:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879801344001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 12:58:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252141402979502080,"note":"Value kept but may cause issues"} 
[2026-09-05 12:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788593278000,"timestamp_ms":1788593278000,"timestamp_seconds":1788593278,"priority":1,"record_length":96,"hex_timestamp":"000001a070778c30"} 
[2026-09-05 12:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:58:51] 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-09-05 12:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 12:58:51] 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-09-05 12:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879801344001,"66":2166,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252141402979502080},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 12:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879801344001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:58:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 12:58:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:58:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252141402979502080,"description":"Unknown IO ID 44"} 
[2026-09-05 12:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879801344001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252141402979502080}} 
[2026-09-05 12:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":174235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:58:51] local.INFO: GPS data processed {"connection_id":174235,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:58:51] local.INFO: Acknowledgment sent {"connection_id":174235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:58:56] local.INFO: TCP Data received {"connection_id":171530,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:58:56] local.INFO: Processing buffer {"connection_id":171530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:58:56] local.INFO: IMEI packet received {"connection_id":171530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 12:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":171530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:59:03] local.INFO: TCP Data received {"connection_id":171530,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:59:03] local.INFO: Processing buffer {"connection_id":171530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 12:59:03] local.INFO: IMEI packet received {"connection_id":171530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 12:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":171530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:59:06] local.INFO: TCP Data received {"connection_id":171530,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07076b940012d696b40061b08d80009005130..."} 
[2026-09-05 12:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07076b940012d696b40061b08d80009005130..."} 
[2026-09-05 12:59:06] local.INFO: Processing buffer {"connection_id":171530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07076b940012d696b40061b08d80009005130..."} 
[2026-09-05 12:59:06] local.INFO: Packet analysis {"connection_id":171530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07076"} 
[2026-09-05 12:59:06] local.INFO: Extracted packet for processing {"connection_id":171530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07076"} 
[2026-09-05 12:59:06] local.INFO: GPS Element Parsed {"raw_longitude":761883456,"raw_latitude":102435032,"longitude_deg":76.1883456,"latitude_deg":10.2435032,"altitude":9,"angle":81,"satellites":48,"speed":30,"hex_longitude":"2d696b40","hex_latitude":"061b08d8","is_valid_coordinates":true} 
[2026-09-05 12: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-09-05 12:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879862272001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399693062474825728,"note":"Value kept but may cause issues"} 
[2026-09-05 12:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7585750648575733760,"note":"Value kept but may cause issues"} 
[2026-09-05 12:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788593224000,"timestamp_ms":1788593224000,"timestamp_seconds":1788593224,"priority":1,"record_length":96,"hex_timestamp":"000001a07076b940"} 
[2026-09-05 12:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 12:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 12: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-09-05 12:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:59:06] 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-09-05 12:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879862272001,"66":27865,"126":206,"79":20992,"24":30,"16":399693062474825728,"45":7585750648575733760},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-09-05 12:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879862272001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:59:06] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-05 12:59:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399693062474825728,"km_value":399693062474825.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7585750648575733760,"description":"Unknown IO ID 45"} 
[2026-09-05 12:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879862272001,"power":27865,"unknown_126":206,"unknown_79":20992,"ignition":30,"odometer":null,"unknown_45":7585750648575733760}} 
[2026-09-05 12:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":171530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:59:06] local.INFO: GPS data processed {"connection_id":171530,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:59:06] local.INFO: Acknowledgment sent {"connection_id":171530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:59:22] local.INFO: TCP Data received {"connection_id":174235,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070778c30012cee9f000732d898004e008226..."} 
[2026-09-05 12:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070778c30012cee9f000732d898004e008226..."} 
[2026-09-05 12:59:22] local.INFO: Processing buffer {"connection_id":174235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070778c30012cee9f000732d898004e008226..."} 
[2026-09-05 12:59:22] local.INFO: Packet analysis {"connection_id":174235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07077"} 
[2026-09-05 12:59:22] local.INFO: Extracted packet for processing {"connection_id":174235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07077"} 
[2026-09-05 12:59:22] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772760,"longitude_deg":75.3835776,"latitude_deg":12.077276,"altitude":78,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d898","is_valid_coordinates":true} 
[2026-09-05 12:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879801344001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 12:59:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252141402979502080,"note":"Value kept but may cause issues"} 
[2026-09-05 12:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788593278000,"timestamp_ms":1788593278000,"timestamp_seconds":1788593278,"priority":1,"record_length":96,"hex_timestamp":"000001a070778c30"} 
[2026-09-05 12:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:59:22] 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-09-05 12:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 12:59:22] 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-09-05 12:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879801344001,"66":2166,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252141402979502080},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 12:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879801344001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:59:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 12:59:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:59:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252141402979502080,"description":"Unknown IO ID 44"} 
[2026-09-05 12:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879801344001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252141402979502080}} 
[2026-09-05 12:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":174235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:59:22] local.INFO: GPS data processed {"connection_id":174235,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:59:22] local.INFO: Acknowledgment sent {"connection_id":174235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:59:45] local.INFO: TCP Data received {"connection_id":171530,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0707818d0012d6a0a80061a94a0000f009f26..."} 
[2026-09-05 12:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707818d0012d6a0a80061a94a0000f009f26..."} 
[2026-09-05 12:59:45] local.INFO: Processing buffer {"connection_id":171530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707818d0012d6a0a80061a94a0000f009f26..."} 
[2026-09-05 12:59:45] local.INFO: Packet analysis {"connection_id":171530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07078"} 
[2026-09-05 12:59:45] local.INFO: Extracted packet for processing {"connection_id":171530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07078"} 
[2026-09-05 12:59:45] local.INFO: GPS Element Parsed {"raw_longitude":761924224,"raw_latitude":102405280,"longitude_deg":76.1924224,"latitude_deg":10.240528,"altitude":15,"angle":159,"satellites":38,"speed":43,"hex_longitude":"2d6a0a80","hex_latitude":"061a94a0","is_valid_coordinates":true} 
[2026-09-05 12:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879886080001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399696017412325376,"note":"Value kept but may cause issues"} 
[2026-09-05 12:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7637049463075684352,"note":"Value kept but may cause issues"} 
[2026-09-05 12:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788593314000,"timestamp_ms":1788593314000,"timestamp_seconds":1788593314,"priority":1,"record_length":96,"hex_timestamp":"000001a0707818d0"} 
[2026-09-05 12:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:59:45] 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-09-05 12:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 12:59:45] 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-09-05 12:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":171530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":171530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":171530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 12:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 12:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 12:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879886080001,"66":27821,"126":206,"79":20992,"24":43,"16":399696017412325376,"45":7637049463075684352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-09-05 12:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 12:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 12:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879886080001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:59:45] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-05 12:59:45] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 12:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399696017412325376,"km_value":399696017412325.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":7637049463075684352,"description":"Unknown IO ID 45"} 
[2026-09-05 12:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879886080001,"power":27821,"unknown_126":206,"unknown_79":20992,"ignition":43,"odometer":null,"unknown_45":7637049463075684352}} 
[2026-09-05 12:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":171530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:59:45] local.INFO: GPS data processed {"connection_id":171530,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:59:45] local.INFO: Acknowledgment sent {"connection_id":171530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 12:59:45] local.INFO: TCP Data received {"connection_id":171532,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:59:45] local.INFO: Processing buffer {"connection_id":171532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:59:45] local.INFO: IMEI packet received {"connection_id":171532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 12:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":171532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 12:59:50] local.INFO: TCP Data received {"connection_id":171532,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:59:50] local.INFO: Processing buffer {"connection_id":171532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 12:59:50] local.INFO: IMEI packet received {"connection_id":171532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 12:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":171532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 12:59:51] local.INFO: TCP Data received {"connection_id":171532,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070778c30012cee9f000732d898004e008226..."} 
[2026-09-05 12:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070778c30012cee9f000732d898004e008226..."} 
[2026-09-05 12:59:51] local.INFO: Processing buffer {"connection_id":171532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070778c30012cee9f000732d898004e008226..."} 
[2026-09-05 12:59:51] local.INFO: Packet analysis {"connection_id":171532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07077"} 
[2026-09-05 12:59:51] local.INFO: Extracted packet for processing {"connection_id":171532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07077"} 
[2026-09-05 12:59:51] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772760,"longitude_deg":75.3835776,"latitude_deg":12.077276,"altitude":78,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d898","is_valid_coordinates":true} 
[2026-09-05 12:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 12:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879801344001,"note":"Value kept but may cause issues"} 
[2026-09-05 12:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 12:59:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252141402979502080,"note":"Value kept but may cause issues"} 
[2026-09-05 12:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 12:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788593278000,"timestamp_ms":1788593278000,"timestamp_seconds":1788593278,"priority":1,"record_length":96,"hex_timestamp":"000001a070778c30"} 
[2026-09-05 12:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 12:59:51] 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-09-05 12:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 12:59:51] 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-09-05 12:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 12:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 12:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 12:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 12:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 12:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 12:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 12:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 12:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879801344001,"66":2166,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252141402979502080},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 12:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 12:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 12:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879801344001,"description":"Unknown IO ID 0"} 
[2026-09-05 12:59:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 12:59:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 12:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 12:59:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252141402979502080,"description":"Unknown IO ID 44"} 
[2026-09-05 12:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879801344001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252141402979502080}} 
[2026-09-05 12:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":171532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 12:59:51] local.INFO: GPS data processed {"connection_id":171532,"processed":1,"errors":0,"total":1} 
[2026-09-05 12:59:51] local.INFO: Acknowledgment sent {"connection_id":171532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:00:01] local.INFO: TCP Data received {"connection_id":171830,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:00:01] local.INFO: Processing buffer {"connection_id":171830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:00:01] local.INFO: IMEI packet received {"connection_id":171830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":171830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:00:02] local.INFO: TCP Data received {"connection_id":171830,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:00:02] local.INFO: Processing buffer {"connection_id":171830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:00:02] local.INFO: IMEI packet received {"connection_id":171830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":171830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:00:06] local.INFO: TCP Data received {"connection_id":171830,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:00:06] local.INFO: Processing buffer {"connection_id":171830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:00:06] local.INFO: IMEI packet received {"connection_id":171830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":171830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:00:07] local.INFO: TCP Data received {"connection_id":171830,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a070783bf8012d6a1740061a70d8000f009f27..."} 
[2026-09-05 13:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070783bf8012d6a1740061a70d8000f009f27..."} 
[2026-09-05 13:00:07] local.INFO: Processing buffer {"connection_id":171830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070783bf8012d6a1740061a70d8000f009f27..."} 
[2026-09-05 13:00:07] local.INFO: Packet analysis {"connection_id":171830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07078"} 
[2026-09-05 13:00:07] local.INFO: Extracted packet for processing {"connection_id":171830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07078"} 
[2026-09-05 13:00:07] local.INFO: GPS Element Parsed {"raw_longitude":761927488,"raw_latitude":102396120,"longitude_deg":76.1927488,"latitude_deg":10.239612,"altitude":15,"angle":159,"satellites":39,"speed":43,"hex_longitude":"2d6a1740","hex_latitude":"061a70d8","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879888384001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399696485563760640,"note":"Value kept but may cause issues"} 
[2026-09-05 13:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7641060481491574784,"note":"Value kept but may cause issues"} 
[2026-09-05 13:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788593323000,"timestamp_ms":1788593323000,"timestamp_seconds":1788593323,"priority":1,"record_length":96,"hex_timestamp":"000001a070783bf8"} 
[2026-09-05 13:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:00: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-09-05 13:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 13:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879888384001,"66":27995,"126":206,"79":20992,"24":43,"16":399696485563760640,"45":7641060481491574784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-09-05 13:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879888384001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:00:07] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-05 13:00:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399696485563760640,"km_value":399696485563760.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":7641060481491574784,"description":"Unknown IO ID 45"} 
[2026-09-05 13:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879888384001,"power":27995,"unknown_126":206,"unknown_79":20992,"ignition":43,"odometer":null,"unknown_45":7641060481491574784}} 
[2026-09-05 13:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":171830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:00:07] local.INFO: GPS data processed {"connection_id":171830,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:00:07] local.INFO: Acknowledgment sent {"connection_id":171830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:00:12] local.INFO: TCP Data received {"connection_id":171830,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a070786308012d6a2380061a4da0001000a12a..."} 
[2026-09-05 13:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070786308012d6a2380061a4da0001000a12a..."} 
[2026-09-05 13:00:12] local.INFO: Processing buffer {"connection_id":171830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070786308012d6a2380061a4da0001000a12a..."} 
[2026-09-05 13:00:12] local.INFO: Packet analysis {"connection_id":171830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07078"} 
[2026-09-05 13:00:12] local.INFO: Extracted packet for processing {"connection_id":171830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07078"} 
[2026-09-05 13:00:12] local.INFO: GPS Element Parsed {"raw_longitude":761930624,"raw_latitude":102387104,"longitude_deg":76.1930624,"latitude_deg":10.2387104,"altitude":16,"angle":161,"satellites":42,"speed":37,"hex_longitude":"2d6a2380","hex_latitude":"061a4da0","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879890688001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399696949420228608,"note":"Value kept but may cause issues"} 
[2026-09-05 13:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7644649287442290688,"note":"Value kept but may cause issues"} 
[2026-09-05 13:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788593333000,"timestamp_ms":1788593333000,"timestamp_seconds":1788593333,"priority":1,"record_length":96,"hex_timestamp":"000001a070786308"} 
[2026-09-05 13:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:00:12] 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-09-05 13: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 13:00:12] 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-09-05 13: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-09-05 13:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:00:12] 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-09-05 13:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879890688001,"66":27919,"126":206,"79":20992,"24":37,"16":399696949420228608,"45":7644649287442290688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-09-05 13:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879890688001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:00:12] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-05 13:00:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399696949420228608,"km_value":399696949420228.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7644649287442290688,"description":"Unknown IO ID 45"} 
[2026-09-05 13:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879890688001,"power":27919,"unknown_126":206,"unknown_79":20992,"ignition":37,"odometer":null,"unknown_45":7644649287442290688}} 
[2026-09-05 13:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":171830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:00:12] local.INFO: GPS data processed {"connection_id":171830,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:00:12] local.INFO: Acknowledgment sent {"connection_id":171830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:00:16] local.INFO: TCP Data received {"connection_id":174236,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174236,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:00:16] local.INFO: Processing buffer {"connection_id":174236,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:00:16] local.INFO: IMEI packet received {"connection_id":174236,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":174236,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:00:22] local.INFO: TCP Data received {"connection_id":171532,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070778c30012cee9f000732d898004e008226..."} 
[2026-09-05 13:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070778c30012cee9f000732d898004e008226..."} 
[2026-09-05 13:00:22] local.INFO: Processing buffer {"connection_id":171532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070778c30012cee9f000732d898004e008226..."} 
[2026-09-05 13:00:22] local.INFO: Packet analysis {"connection_id":171532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07077"} 
[2026-09-05 13:00:22] local.INFO: Extracted packet for processing {"connection_id":171532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07077"} 
[2026-09-05 13:00:22] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772760,"longitude_deg":75.3835776,"latitude_deg":12.077276,"altitude":78,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d898","is_valid_coordinates":true} 
[2026-09-05 13:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879801344001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 13:00:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252141402979502080,"note":"Value kept but may cause issues"} 
[2026-09-05 13:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788593278000,"timestamp_ms":1788593278000,"timestamp_seconds":1788593278,"priority":1,"record_length":96,"hex_timestamp":"000001a070778c30"} 
[2026-09-05 13:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:00:22] 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-09-05 13:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:00:22] 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-09-05 13:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879801344001,"66":2166,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252141402979502080},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879801344001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:00:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:00:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:00:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252141402979502080,"description":"Unknown IO ID 44"} 
[2026-09-05 13:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879801344001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252141402979502080}} 
[2026-09-05 13:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":171532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:00:22] local.INFO: GPS data processed {"connection_id":171532,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:00:22] local.INFO: Acknowledgment sent {"connection_id":171532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:00:45] local.INFO: TCP Data received {"connection_id":171831,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:00:45] local.INFO: Processing buffer {"connection_id":171831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:00:45] local.INFO: IMEI packet received {"connection_id":171831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":171831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:00:50] local.INFO: TCP Data received {"connection_id":171831,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:00:50] local.INFO: Processing buffer {"connection_id":171831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:00:50] local.INFO: IMEI packet received {"connection_id":171831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":171831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:00:51] local.INFO: TCP Data received {"connection_id":171831,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070778c30012cee9f000732d898004e008226..."} 
[2026-09-05 13:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070778c30012cee9f000732d898004e008226..."} 
[2026-09-05 13:00:51] local.INFO: Processing buffer {"connection_id":171831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070778c30012cee9f000732d898004e008226..."} 
[2026-09-05 13:00:51] local.INFO: Packet analysis {"connection_id":171831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07077"} 
[2026-09-05 13:00:51] local.INFO: Extracted packet for processing {"connection_id":171831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07077"} 
[2026-09-05 13:00:51] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772760,"longitude_deg":75.3835776,"latitude_deg":12.077276,"altitude":78,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d898","is_valid_coordinates":true} 
[2026-09-05 13:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879801344001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 13:00:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252141402979502080,"note":"Value kept but may cause issues"} 
[2026-09-05 13:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788593278000,"timestamp_ms":1788593278000,"timestamp_seconds":1788593278,"priority":1,"record_length":96,"hex_timestamp":"000001a070778c30"} 
[2026-09-05 13:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:00:51] 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-09-05 13:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:00:51] 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-09-05 13:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879801344001,"66":2166,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252141402979502080},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879801344001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:00:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:00:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:00:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252141402979502080,"description":"Unknown IO ID 44"} 
[2026-09-05 13:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879801344001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252141402979502080}} 
[2026-09-05 13:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":171831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:00:51] local.INFO: GPS data processed {"connection_id":171831,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:00:51] local.INFO: Acknowledgment sent {"connection_id":171831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:00:52] local.INFO: TCP Data received {"connection_id":172928,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172928,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:00:52] local.INFO: Processing buffer {"connection_id":172928,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:00:52] local.INFO: IMEI packet received {"connection_id":172928,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":172928,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:00:53] local.INFO: TCP Data received {"connection_id":171533,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:00:53] local.INFO: Processing buffer {"connection_id":171533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:00:53] local.INFO: IMEI packet received {"connection_id":171533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":171533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:00:57] local.INFO: TCP Data received {"connection_id":171533,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:00:57] local.INFO: Processing buffer {"connection_id":171533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:00:57] local.INFO: IMEI packet received {"connection_id":171533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":171533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:01:01] local.INFO: TCP Data received {"connection_id":171533,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:01:01] local.INFO: Processing buffer {"connection_id":171533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:01:01] local.INFO: IMEI packet received {"connection_id":171533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":171533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:01:03] local.INFO: TCP Data received {"connection_id":171533,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a070788a18012d6a3100061a2998001200a02c..."} 
[2026-09-05 13:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070788a18012d6a3100061a2998001200a02c..."} 
[2026-09-05 13:01:03] local.INFO: Processing buffer {"connection_id":171533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070788a18012d6a3100061a2998001200a02c..."} 
[2026-09-05 13:01:03] local.INFO: Packet analysis {"connection_id":171533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07078"} 
[2026-09-05 13:01:03] local.INFO: Extracted packet for processing {"connection_id":171533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07078"} 
[2026-09-05 13:01:03] local.INFO: GPS Element Parsed {"raw_longitude":761934080,"raw_latitude":102377880,"longitude_deg":76.193408,"latitude_deg":10.237788,"altitude":18,"angle":160,"satellites":44,"speed":38,"hex_longitude":"2d6a3100","hex_latitude":"061a2998","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879893248001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399697426161598464,"note":"Value kept but may cause issues"} 
[2026-09-05 13:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7648097355904688128,"note":"Value kept but may cause issues"} 
[2026-09-05 13:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788593343000,"timestamp_ms":1788593343000,"timestamp_seconds":1788593343,"priority":1,"record_length":96,"hex_timestamp":"000001a070788a18"} 
[2026-09-05 13:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:01: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-09-05 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 13:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:01: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-09-05 13:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879893248001,"66":27865,"126":206,"79":20992,"24":38,"16":399697426161598464,"45":7648097355904688128},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-09-05 13:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879893248001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:01:03] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-05 13:01:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399697426161598464,"km_value":399697426161598.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7648097355904688128,"description":"Unknown IO ID 45"} 
[2026-09-05 13:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879893248001,"power":27865,"unknown_126":206,"unknown_79":20992,"ignition":38,"odometer":null,"unknown_45":7648097355904688128}} 
[2026-09-05 13:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":171533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:01:03] local.INFO: GPS data processed {"connection_id":171533,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:01:03] local.INFO: Acknowledgment sent {"connection_id":171533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:01:22] local.INFO: TCP Data received {"connection_id":171831,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070778c30012cee9f000732d898004e008226..."} 
[2026-09-05 13:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070778c30012cee9f000732d898004e008226..."} 
[2026-09-05 13:01:22] local.INFO: Processing buffer {"connection_id":171831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070778c30012cee9f000732d898004e008226..."} 
[2026-09-05 13:01:22] local.INFO: Packet analysis {"connection_id":171831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07077"} 
[2026-09-05 13:01:22] local.INFO: Extracted packet for processing {"connection_id":171831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07077"} 
[2026-09-05 13:01:22] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772760,"longitude_deg":75.3835776,"latitude_deg":12.077276,"altitude":78,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d898","is_valid_coordinates":true} 
[2026-09-05 13:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879801344001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 13:01:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252141402979502080,"note":"Value kept but may cause issues"} 
[2026-09-05 13:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788593278000,"timestamp_ms":1788593278000,"timestamp_seconds":1788593278,"priority":1,"record_length":96,"hex_timestamp":"000001a070778c30"} 
[2026-09-05 13:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:01:22] 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-09-05 13:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:01:22] 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-09-05 13:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879801344001,"66":2166,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252141402979502080},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879801344001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:01:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:01:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:01:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252141402979502080,"description":"Unknown IO ID 44"} 
[2026-09-05 13:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879801344001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252141402979502080}} 
[2026-09-05 13:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":171831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:01:22] local.INFO: GPS data processed {"connection_id":171831,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:01:22] local.INFO: Acknowledgment sent {"connection_id":171831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:01:34] local.INFO: TCP Data received {"connection_id":171533,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07078ad40012d6a3d00061a0780001100a12d..."} 
[2026-09-05 13:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07078ad40012d6a3d00061a0780001100a12d..."} 
[2026-09-05 13:01:34] local.INFO: Processing buffer {"connection_id":171533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07078ad40012d6a3d00061a0780001100a12d..."} 
[2026-09-05 13:01:34] local.INFO: Packet analysis {"connection_id":171533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07078"} 
[2026-09-05 13:01:34] local.INFO: Extracted packet for processing {"connection_id":171533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07078"} 
[2026-09-05 13:01:34] local.INFO: GPS Element Parsed {"raw_longitude":761937152,"raw_latitude":102369152,"longitude_deg":76.1937152,"latitude_deg":10.2369152,"altitude":17,"angle":161,"satellites":45,"speed":38,"hex_longitude":"2d6a3d00","hex_latitude":"061a0780","is_valid_coordinates":true} 
[2026-09-05 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-09-05 13:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879895808001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399697872838197248,"note":"Value kept but may cause issues"} 
[2026-09-05 13:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7651897268087920640,"note":"Value kept but may cause issues"} 
[2026-09-05 13:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788593352000,"timestamp_ms":1788593352000,"timestamp_seconds":1788593352,"priority":1,"record_length":96,"hex_timestamp":"000001a07078ad40"} 
[2026-09-05 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-09-05 13:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 13:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 13:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:01:34] 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-09-05 13:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879895808001,"66":27821,"126":206,"79":20992,"24":38,"16":399697872838197248,"45":7651897268087920640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-09-05 13:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879895808001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:01:34] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-05 13:01:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399697872838197248,"km_value":399697872838197.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7651897268087920640,"description":"Unknown IO ID 45"} 
[2026-09-05 13:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879895808001,"power":27821,"unknown_126":206,"unknown_79":20992,"ignition":38,"odometer":null,"unknown_45":7651897268087920640}} 
[2026-09-05 13:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":171533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:01:34] local.INFO: GPS data processed {"connection_id":171533,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:01:34] local.INFO: Acknowledgment sent {"connection_id":171533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:01:45] local.INFO: TCP Data received {"connection_id":171534,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:01:45] local.INFO: Processing buffer {"connection_id":171534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:01:45] local.INFO: IMEI packet received {"connection_id":171534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":171534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:01:50] local.INFO: TCP Data received {"connection_id":171534,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:01:50] local.INFO: Processing buffer {"connection_id":171534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:01:50] local.INFO: IMEI packet received {"connection_id":171534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":171534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:01:51] local.INFO: TCP Data received {"connection_id":171534,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a070778c30012cee9f000732d898004e008226..."} 
[2026-09-05 13:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070778c30012cee9f000732d898004e008226..."} 
[2026-09-05 13:01:51] local.INFO: Processing buffer {"connection_id":171534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070778c30012cee9f000732d898004e008226..."} 
[2026-09-05 13:01:51] local.INFO: Packet analysis {"connection_id":171534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07077"} 
[2026-09-05 13:01:51] local.INFO: Extracted packet for processing {"connection_id":171534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07077"} 
[2026-09-05 13:01:51] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772760,"longitude_deg":75.3835776,"latitude_deg":12.077276,"altitude":78,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d898","is_valid_coordinates":true} 
[2026-09-05 13:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879801344001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 13:01:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252141402979502080,"note":"Value kept but may cause issues"} 
[2026-09-05 13:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788593278000,"timestamp_ms":1788593278000,"timestamp_seconds":1788593278,"priority":1,"record_length":96,"hex_timestamp":"000001a070778c30"} 
[2026-09-05 13:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:01:51] 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-09-05 13:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:01:51] 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-09-05 13:01:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879801344001,"66":2166,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252141402979502080},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879801344001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:01:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:01:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:01:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252141402979502080,"description":"Unknown IO ID 44"} 
[2026-09-05 13:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879801344001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252141402979502080}} 
[2026-09-05 13:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":171534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:01:51] local.INFO: GPS data processed {"connection_id":171534,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:01:51] local.INFO: Acknowledgment sent {"connection_id":171534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:01:56] local.INFO: TCP Data received {"connection_id":174238,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:01:56] local.INFO: Processing buffer {"connection_id":174238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:01:56] local.INFO: IMEI packet received {"connection_id":174238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":174238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:02:01] local.INFO: TCP Data received {"connection_id":174238,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:02:01] local.INFO: Processing buffer {"connection_id":174238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:02:01] local.INFO: IMEI packet received {"connection_id":174238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":174238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:02:03] local.INFO: TCP Data received {"connection_id":174238,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0707a4b50012d6a7440061971e80013009f28..."} 
[2026-09-05 13:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707a4b50012d6a7440061971e80013009f28..."} 
[2026-09-05 13:02:03] local.INFO: Processing buffer {"connection_id":174238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707a4b50012d6a7440061971e80013009f28..."} 
[2026-09-05 13:02:03] local.INFO: Packet analysis {"connection_id":174238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0707a"} 
[2026-09-05 13:02:03] local.INFO: Extracted packet for processing {"connection_id":174238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0707a"} 
[2026-09-05 13:02:03] local.INFO: GPS Element Parsed {"raw_longitude":761951296,"raw_latitude":102330856,"longitude_deg":76.1951296,"latitude_deg":10.2330856,"altitude":19,"angle":159,"satellites":40,"speed":5,"hex_longitude":"2d6a7440","hex_latitude":"061971e8","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879919872001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399699869997989888,"note":"Value kept but may cause issues"} 
[2026-09-05 13:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7668293185470650368,"note":"Value kept but may cause issues"} 
[2026-09-05 13:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788593458000,"timestamp_ms":1788593458000,"timestamp_seconds":1788593458,"priority":1,"record_length":96,"hex_timestamp":"000001a0707a4b50"} 
[2026-09-05 13:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:02: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-09-05 13: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 13:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:02: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-09-05 13:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879919872001,"66":27800,"181":206,"79":20992,"24":5,"16":399699869997989888,"45":7668293185470650368},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,79,24,16,45]} 
[2026-09-05 13:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879919872001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:02:03] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-05 13:02:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399699869997989888,"km_value":399699869997989.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7668293185470650368,"description":"Unknown IO ID 45"} 
[2026-09-05 13:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879919872001,"power":27800,"unknown_181":206,"unknown_79":20992,"ignition":5,"odometer":null,"unknown_45":7668293185470650368}} 
[2026-09-05 13:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":174238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:02:03] local.INFO: GPS data processed {"connection_id":174238,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:02:03] local.INFO: Acknowledgment sent {"connection_id":174238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:02:22] local.INFO: TCP Data received {"connection_id":171534,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a070778c30012cee9f000732d898004e008226..."} 
[2026-09-05 13:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070778c30012cee9f000732d898004e008226..."} 
[2026-09-05 13:02:22] local.INFO: Processing buffer {"connection_id":171534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070778c30012cee9f000732d898004e008226..."} 
[2026-09-05 13:02:22] local.INFO: Packet analysis {"connection_id":171534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07077"} 
[2026-09-05 13:02:22] local.INFO: Extracted packet for processing {"connection_id":171534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07077"} 
[2026-09-05 13:02:22] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772760,"longitude_deg":75.3835776,"latitude_deg":12.077276,"altitude":78,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d898","is_valid_coordinates":true} 
[2026-09-05 13:02: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-09-05 13:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879801344001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 13:02:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252141402979502080,"note":"Value kept but may cause issues"} 
[2026-09-05 13:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788593278000,"timestamp_ms":1788593278000,"timestamp_seconds":1788593278,"priority":1,"record_length":96,"hex_timestamp":"000001a070778c30"} 
[2026-09-05 13:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:02:22] 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-09-05 13:02:22] 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-09-05 13:02:22] 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-09-05 13:02: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-09-05 13:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879801344001,"66":2166,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252141402979502080},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879801344001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:02:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:02:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:02:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252141402979502080,"description":"Unknown IO ID 44"} 
[2026-09-05 13:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879801344001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252141402979502080}} 
[2026-09-05 13:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":171534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:02:22] local.INFO: GPS data processed {"connection_id":171534,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:02:22] local.INFO: Acknowledgment sent {"connection_id":171534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:02:35] local.INFO: TCP Data received {"connection_id":174238,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0707a6a90012d6a7740061968f8001400aa28..."} 
[2026-09-05 13:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707a6a90012d6a7740061968f8001400aa28..."} 
[2026-09-05 13:02:35] local.INFO: Processing buffer {"connection_id":174238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707a6a90012d6a7740061968f8001400aa28..."} 
[2026-09-05 13:02:35] local.INFO: Packet analysis {"connection_id":174238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0707a"} 
[2026-09-05 13:02:35] local.INFO: Extracted packet for processing {"connection_id":174238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0707a"} 
[2026-09-05 13:02:35] local.INFO: GPS Element Parsed {"raw_longitude":761952064,"raw_latitude":102328568,"longitude_deg":76.1952064,"latitude_deg":10.2328568,"altitude":20,"angle":170,"satellites":40,"speed":11,"hex_longitude":"2d6a7740","hex_latitude":"061968f8","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879925248001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399699985962106880,"note":"Value kept but may cause issues"} 
[2026-09-05 13:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7670826460259674112,"note":"Value kept but may cause issues"} 
[2026-09-05 13:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788593466000,"timestamp_ms":1788593466000,"timestamp_seconds":1788593466,"priority":1,"record_length":96,"hex_timestamp":"000001a0707a6a90"} 
[2026-09-05 13:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:02:35] 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-09-05 13:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 13:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:02:35] 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-09-05 13:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879925248001,"66":27908,"181":206,"79":20992,"24":11,"16":399699985962106880,"45":7670826460259674112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,79,24,16,45]} 
[2026-09-05 13:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879925248001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:02:35] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-05 13:02:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399699985962106880,"km_value":399699985962106.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7670826460259674112,"description":"Unknown IO ID 45"} 
[2026-09-05 13:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879925248001,"power":27908,"unknown_181":206,"unknown_79":20992,"ignition":11,"odometer":null,"unknown_45":7670826460259674112}} 
[2026-09-05 13:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":174238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:02:35] local.INFO: GPS data processed {"connection_id":174238,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:02:35] local.INFO: Acknowledgment sent {"connection_id":174238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:02:50] local.INFO: TCP Data received {"connection_id":171535,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:02:50] local.INFO: Processing buffer {"connection_id":171535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:02:50] local.INFO: IMEI packet received {"connection_id":171535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":171535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:02:55] local.INFO: TCP Data received {"connection_id":171535,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:02:55] local.INFO: Processing buffer {"connection_id":171535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:02:55] local.INFO: IMEI packet received {"connection_id":171535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":171535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:02:56] local.INFO: TCP Data received {"connection_id":171535,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a070778c30012cee9f000732d898004e008226..."} 
[2026-09-05 13:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070778c30012cee9f000732d898004e008226..."} 
[2026-09-05 13:02:56] local.INFO: Processing buffer {"connection_id":171535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070778c30012cee9f000732d898004e008226..."} 
[2026-09-05 13:02:56] local.INFO: Packet analysis {"connection_id":171535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07077"} 
[2026-09-05 13:02:56] local.INFO: Extracted packet for processing {"connection_id":171535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07077"} 
[2026-09-05 13:02:56] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772760,"longitude_deg":75.3835776,"latitude_deg":12.077276,"altitude":78,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d898","is_valid_coordinates":true} 
[2026-09-05 13:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879801344001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 13:02:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252141402979502080,"note":"Value kept but may cause issues"} 
[2026-09-05 13:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788593278000,"timestamp_ms":1788593278000,"timestamp_seconds":1788593278,"priority":1,"record_length":96,"hex_timestamp":"000001a070778c30"} 
[2026-09-05 13:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:02:56] 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-09-05 13:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:02:56] 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-09-05 13:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879801344001,"66":2166,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252141402979502080},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879801344001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:02:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:02:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:02:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252141402979502080,"description":"Unknown IO ID 44"} 
[2026-09-05 13:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879801344001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252141402979502080}} 
[2026-09-05 13:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":171535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:02:56] local.INFO: GPS data processed {"connection_id":171535,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:02:56] local.INFO: Acknowledgment sent {"connection_id":171535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:02:56] local.INFO: TCP Data received {"connection_id":172929,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:02:56] local.INFO: Processing buffer {"connection_id":172929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:02:56] local.INFO: IMEI packet received {"connection_id":172929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":172929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:02:57] local.INFO: TCP Data received {"connection_id":172929,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:02:57] local.INFO: Processing buffer {"connection_id":172929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:02:57] local.INFO: IMEI packet received {"connection_id":172929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":172929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:03:02] local.INFO: TCP Data received {"connection_id":172929,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:03:02] local.INFO: Processing buffer {"connection_id":172929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:03:02] local.INFO: IMEI packet received {"connection_id":172929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":172929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:03:03] local.INFO: TCP Data received {"connection_id":172929,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0707a7260012d6a7780061966d00015009f29..."} 
[2026-09-05 13:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707a7260012d6a7780061966d00015009f29..."} 
[2026-09-05 13:03:03] local.INFO: Processing buffer {"connection_id":172929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707a7260012d6a7780061966d00015009f29..."} 
[2026-09-05 13:03:03] local.INFO: Packet analysis {"connection_id":172929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0707a"} 
[2026-09-05 13:03:03] local.INFO: Extracted packet for processing {"connection_id":172929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0707a"} 
[2026-09-05 13:03:03] local.INFO: GPS Element Parsed {"raw_longitude":761952128,"raw_latitude":102328016,"longitude_deg":76.1952128,"latitude_deg":10.2328016,"altitude":21,"angle":159,"satellites":41,"speed":12,"hex_longitude":"2d6a7780","hex_latitude":"061966d0","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879927296001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399700011731910656,"note":"Value kept but may cause issues"} 
[2026-09-05 13:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7671670885189220352,"note":"Value kept but may cause issues"} 
[2026-09-05 13:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788593468000,"timestamp_ms":1788593468000,"timestamp_seconds":1788593468,"priority":1,"record_length":96,"hex_timestamp":"000001a0707a7260"} 
[2026-09-05 13:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:03: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-09-05 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 13:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:03: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-09-05 13:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879927296001,"66":27919,"181":206,"79":20992,"24":12,"16":399700011731910656,"45":7671670885189220352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,79,24,16,45]} 
[2026-09-05 13:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879927296001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:03:03] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-05 13:03:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399700011731910656,"km_value":399700011731910.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7671670885189220352,"description":"Unknown IO ID 45"} 
[2026-09-05 13:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879927296001,"power":27919,"unknown_181":206,"unknown_79":20992,"ignition":12,"odometer":null,"unknown_45":7671670885189220352}} 
[2026-09-05 13:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":172929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:03:03] local.INFO: GPS data processed {"connection_id":172929,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:03:03] local.INFO: Acknowledgment sent {"connection_id":172929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:03:27] local.INFO: TCP Data received {"connection_id":171535,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a070778c30012cee9f000732d898004e008226..."} 
[2026-09-05 13:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070778c30012cee9f000732d898004e008226..."} 
[2026-09-05 13:03:27] local.INFO: Processing buffer {"connection_id":171535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070778c30012cee9f000732d898004e008226..."} 
[2026-09-05 13:03:27] local.INFO: Packet analysis {"connection_id":171535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07077"} 
[2026-09-05 13:03:27] local.INFO: Extracted packet for processing {"connection_id":171535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07077"} 
[2026-09-05 13:03:27] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772760,"longitude_deg":75.3835776,"latitude_deg":12.077276,"altitude":78,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d898","is_valid_coordinates":true} 
[2026-09-05 13:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879801344001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 13:03:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252141402979502080,"note":"Value kept but may cause issues"} 
[2026-09-05 13:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788593278000,"timestamp_ms":1788593278000,"timestamp_seconds":1788593278,"priority":1,"record_length":96,"hex_timestamp":"000001a070778c30"} 
[2026-09-05 13:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:03:27] 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-09-05 13:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:03:27] 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-09-05 13:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879801344001,"66":2166,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252141402979502080},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879801344001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:03:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:03:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:03:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252141402979502080,"description":"Unknown IO ID 44"} 
[2026-09-05 13:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879801344001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252141402979502080}} 
[2026-09-05 13:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":171535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:03:27] local.INFO: GPS data processed {"connection_id":171535,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:03:27] local.INFO: Acknowledgment sent {"connection_id":171535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:03:35] local.INFO: TCP Data received {"connection_id":172929,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0707ac080012d6a7ac006195af0001400b831..."} 
[2026-09-05 13:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707ac080012d6a7ac006195af0001400b831..."} 
[2026-09-05 13:03:35] local.INFO: Processing buffer {"connection_id":172929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707ac080012d6a7ac006195af0001400b831..."} 
[2026-09-05 13:03:35] local.INFO: Packet analysis {"connection_id":172929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0707a"} 
[2026-09-05 13:03:35] local.INFO: Extracted packet for processing {"connection_id":172929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0707a"} 
[2026-09-05 13:03:35] local.INFO: GPS Element Parsed {"raw_longitude":761952960,"raw_latitude":102324976,"longitude_deg":76.195296,"latitude_deg":10.2324976,"altitude":20,"angle":184,"satellites":49,"speed":5,"hex_longitude":"2d6a7ac0","hex_latitude":"06195af0","is_valid_coordinates":true} 
[2026-09-05 13:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879927808001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399700170645700608,"note":"Value kept but may cause issues"} 
[2026-09-05 13:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7671741253933256704,"note":"Value kept but may cause issues"} 
[2026-09-05 13:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788593488000,"timestamp_ms":1788593488000,"timestamp_seconds":1788593488,"priority":1,"record_length":96,"hex_timestamp":"000001a0707ac080"} 
[2026-09-05 13:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:03:35] 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-09-05 13:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 13:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:03:35] 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-09-05 13:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879927808001,"66":27908,"181":206,"79":20992,"24":5,"16":399700170645700608,"45":7671741253933256704},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,79,24,16,45]} 
[2026-09-05 13:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879927808001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:03:35] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-05 13:03:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399700170645700608,"km_value":399700170645700.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7671741253933256704,"description":"Unknown IO ID 45"} 
[2026-09-05 13:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879927808001,"power":27908,"unknown_181":206,"unknown_79":20992,"ignition":5,"odometer":null,"unknown_45":7671741253933256704}} 
[2026-09-05 13:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":172929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:03:35] local.INFO: GPS data processed {"connection_id":172929,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:03:35] local.INFO: Acknowledgment sent {"connection_id":172929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:03:45] local.INFO: TCP Data received {"connection_id":172930,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:03:45] local.INFO: Processing buffer {"connection_id":172930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:03:45] local.INFO: IMEI packet received {"connection_id":172930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":172930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:03:50] local.INFO: TCP Data received {"connection_id":172930,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:03:50] local.INFO: Processing buffer {"connection_id":172930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:03:50] local.INFO: IMEI packet received {"connection_id":172930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":172930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:03:51] local.INFO: TCP Data received {"connection_id":172930,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0707c23f8012cee9f000732d898004e008226..."} 
[2026-09-05 13:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707c23f8012cee9f000732d898004e008226..."} 
[2026-09-05 13:03:51] local.INFO: Processing buffer {"connection_id":172930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707c23f8012cee9f000732d898004e008226..."} 
[2026-09-05 13:03:51] local.INFO: Packet analysis {"connection_id":172930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0707c"} 
[2026-09-05 13:03:51] local.INFO: Extracted packet for processing {"connection_id":172930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0707c"} 
[2026-09-05 13:03:51] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772760,"longitude_deg":75.3835776,"latitude_deg":12.077276,"altitude":78,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d898","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879879168001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 13:03:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467881984,"note":"Value kept but may cause issues"} 
[2026-09-05 13:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788593579000,"timestamp_ms":1788593579000,"timestamp_seconds":1788593579,"priority":1,"record_length":96,"hex_timestamp":"000001a0707c23f8"} 
[2026-09-05 13:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:03: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-09-05 13:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879879168001,"66":2166,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252282140467881984},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879879168001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:03:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:03:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:03:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467881984,"description":"Unknown IO ID 44"} 
[2026-09-05 13:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879879168001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467881984}} 
[2026-09-05 13:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":172930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:03:51] local.INFO: GPS data processed {"connection_id":172930,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:03:51] local.INFO: Acknowledgment sent {"connection_id":172930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:03:55] local.INFO: TCP Data received {"connection_id":171833,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:03:55] local.INFO: Processing buffer {"connection_id":171833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:03:55] local.INFO: IMEI packet received {"connection_id":171833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":171833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:03:56] local.INFO: TCP Data received {"connection_id":171833,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:03:56] local.INFO: Processing buffer {"connection_id":171833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:03:56] local.INFO: IMEI packet received {"connection_id":171833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":171833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:04:01] local.INFO: TCP Data received {"connection_id":171833,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:04:01] local.INFO: Processing buffer {"connection_id":171833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:04:01] local.INFO: IMEI packet received {"connection_id":171833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":171833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:04:02] local.INFO: TCP Data received {"connection_id":171833,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0707ac850012d6a7ac0061959b8001300ac30..."} 
[2026-09-05 13:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707ac850012d6a7ac0061959b8001300ac30..."} 
[2026-09-05 13:04:02] local.INFO: Processing buffer {"connection_id":171833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707ac850012d6a7ac0061959b8001300ac30..."} 
[2026-09-05 13:04:02] local.INFO: Packet analysis {"connection_id":171833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0707a"} 
[2026-09-05 13:04:02] local.INFO: Extracted packet for processing {"connection_id":171833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0707a"} 
[2026-09-05 13:04:02] local.INFO: GPS Element Parsed {"raw_longitude":761952960,"raw_latitude":102324664,"longitude_deg":76.195296,"latitude_deg":10.2324664,"altitude":19,"angle":172,"satellites":48,"speed":5,"hex_longitude":"2d6a7ac0","hex_latitude":"061959b8","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879932928001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399700187825569792,"note":"Value kept but may cause issues"} 
[2026-09-05 13:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7672656047606788096,"note":"Value kept but may cause issues"} 
[2026-09-05 13:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788593490000,"timestamp_ms":1788593490000,"timestamp_seconds":1788593490,"priority":1,"record_length":96,"hex_timestamp":"000001a0707ac850"} 
[2026-09-05 13:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:04: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-09-05 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 13:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:04: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-09-05 13:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879932928001,"66":27865,"181":206,"79":20992,"24":5,"16":399700187825569792,"45":7672656047606788096},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,79,24,16,45]} 
[2026-09-05 13:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879932928001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:04:02] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-05 13:04:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399700187825569792,"km_value":399700187825569.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7672656047606788096,"description":"Unknown IO ID 45"} 
[2026-09-05 13:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879932928001,"power":27865,"unknown_181":206,"unknown_79":20992,"ignition":5,"odometer":null,"unknown_45":7672656047606788096}} 
[2026-09-05 13:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":171833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:04:02] local.INFO: GPS data processed {"connection_id":171833,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:04:02] local.INFO: Acknowledgment sent {"connection_id":171833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:04:22] local.INFO: TCP Data received {"connection_id":172930,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0707c23f8012cee9f000732d898004e008226..."} 
[2026-09-05 13:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707c23f8012cee9f000732d898004e008226..."} 
[2026-09-05 13:04:22] local.INFO: Processing buffer {"connection_id":172930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707c23f8012cee9f000732d898004e008226..."} 
[2026-09-05 13:04:22] local.INFO: Packet analysis {"connection_id":172930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0707c"} 
[2026-09-05 13:04:22] local.INFO: Extracted packet for processing {"connection_id":172930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0707c"} 
[2026-09-05 13:04:22] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772760,"longitude_deg":75.3835776,"latitude_deg":12.077276,"altitude":78,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d898","is_valid_coordinates":true} 
[2026-09-05 13:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879879168001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 13:04:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467881984,"note":"Value kept but may cause issues"} 
[2026-09-05 13:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788593579000,"timestamp_ms":1788593579000,"timestamp_seconds":1788593579,"priority":1,"record_length":96,"hex_timestamp":"000001a0707c23f8"} 
[2026-09-05 13:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:04:22] 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-09-05 13:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879879168001,"66":2166,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252282140467881984},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879879168001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:04:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:04:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:04:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467881984,"description":"Unknown IO ID 44"} 
[2026-09-05 13:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879879168001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467881984}} 
[2026-09-05 13:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":172930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:04:22] local.INFO: GPS data processed {"connection_id":172930,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:04:22] local.INFO: Acknowledgment sent {"connection_id":172930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:04:33] local.INFO: TCP Data received {"connection_id":171833,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0707cacb0012d6a990006184460000c00b332..."} 
[2026-09-05 13:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707cacb0012d6a990006184460000c00b332..."} 
[2026-09-05 13:04:33] local.INFO: Processing buffer {"connection_id":171833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707cacb0012d6a990006184460000c00b332..."} 
[2026-09-05 13:04:33] local.INFO: Packet analysis {"connection_id":171833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0707c"} 
[2026-09-05 13:04:33] local.INFO: Extracted packet for processing {"connection_id":171833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0707c"} 
[2026-09-05 13:04:33] local.INFO: GPS Element Parsed {"raw_longitude":761960704,"raw_latitude":102253664,"longitude_deg":76.1960704,"latitude_deg":10.2253664,"altitude":12,"angle":179,"satellites":50,"speed":34,"hex_longitude":"2d6a9900","hex_latitude":"06184460","is_valid_coordinates":true} 
[2026-09-05 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-09-05 13:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879960832001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399703671044046848,"note":"Value kept but may cause issues"} 
[2026-09-05 13:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7680607715683074048,"note":"Value kept but may cause issues"} 
[2026-09-05 13:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788593614000,"timestamp_ms":1788593614000,"timestamp_seconds":1788593614,"priority":1,"record_length":96,"hex_timestamp":"000001a0707cacb0"} 
[2026-09-05 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-09-05 13:04: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-09-05 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 13:04:33] 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-09-05 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-09-05 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-09-05 13:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:04: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-09-05 13:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879960832001,"66":27887,"229":206,"79":20992,"24":34,"16":399703671044046848,"45":7680607715683074048},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-09-05 13:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879960832001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:04:33] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 13:04:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399703671044046848,"km_value":399703671044046.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7680607715683074048,"description":"Unknown IO ID 45"} 
[2026-09-05 13:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879960832001,"power":27887,"unknown_229":206,"unknown_79":20992,"ignition":34,"odometer":null,"unknown_45":7680607715683074048}} 
[2026-09-05 13:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":171833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:04:33] local.INFO: GPS data processed {"connection_id":171833,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:04:33] local.INFO: Acknowledgment sent {"connection_id":171833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:04:45] local.INFO: TCP Data received {"connection_id":174239,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:04:45] local.INFO: Processing buffer {"connection_id":174239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:04:45] local.INFO: IMEI packet received {"connection_id":174239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":174239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:04:50] local.INFO: TCP Data received {"connection_id":174239,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:04:50] local.INFO: Processing buffer {"connection_id":174239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:04:50] local.INFO: IMEI packet received {"connection_id":174239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":174239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:04:51] local.INFO: TCP Data received {"connection_id":174239,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0707c23f8012cee9f000732d898004e008226..."} 
[2026-09-05 13:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707c23f8012cee9f000732d898004e008226..."} 
[2026-09-05 13:04:51] local.INFO: Processing buffer {"connection_id":174239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707c23f8012cee9f000732d898004e008226..."} 
[2026-09-05 13:04:51] local.INFO: Packet analysis {"connection_id":174239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0707c"} 
[2026-09-05 13:04:51] local.INFO: Extracted packet for processing {"connection_id":174239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0707c"} 
[2026-09-05 13:04:51] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772760,"longitude_deg":75.3835776,"latitude_deg":12.077276,"altitude":78,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d898","is_valid_coordinates":true} 
[2026-09-05 13:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879879168001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 13:04:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467881984,"note":"Value kept but may cause issues"} 
[2026-09-05 13:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788593579000,"timestamp_ms":1788593579000,"timestamp_seconds":1788593579,"priority":1,"record_length":96,"hex_timestamp":"000001a0707c23f8"} 
[2026-09-05 13:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:04: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-09-05 13:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879879168001,"66":2166,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252282140467881984},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879879168001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:04:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:04:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:04:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467881984,"description":"Unknown IO ID 44"} 
[2026-09-05 13:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879879168001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467881984}} 
[2026-09-05 13:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":174239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:04:51] local.INFO: GPS data processed {"connection_id":174239,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:04:51] local.INFO: Acknowledgment sent {"connection_id":174239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:04:56] local.INFO: TCP Data received {"connection_id":174240,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:04:56] local.INFO: Processing buffer {"connection_id":174240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:04:56] local.INFO: IMEI packet received {"connection_id":174240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":174240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:04:56] local.INFO: TCP Data received {"connection_id":174240,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:04:56] local.INFO: Processing buffer {"connection_id":174240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:04:56] local.INFO: IMEI packet received {"connection_id":174240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":174240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:05:01] local.INFO: TCP Data received {"connection_id":174240,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:05:01] local.INFO: Processing buffer {"connection_id":174240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:05:01] local.INFO: IMEI packet received {"connection_id":174240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":174240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:05:02] local.INFO: TCP Data received {"connection_id":174240,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0707ccfd8012d6a9880061820f8000c00b430..."} 
[2026-09-05 13:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707ccfd8012d6a9880061820f8000c00b430..."} 
[2026-09-05 13:05:02] local.INFO: Processing buffer {"connection_id":174240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707ccfd8012d6a9880061820f8000c00b430..."} 
[2026-09-05 13:05:02] local.INFO: Packet analysis {"connection_id":174240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0707c"} 
[2026-09-05 13:05:02] local.INFO: Extracted packet for processing {"connection_id":174240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0707c"} 
[2026-09-05 13:05:02] local.INFO: GPS Element Parsed {"raw_longitude":761960576,"raw_latitude":102244600,"longitude_deg":76.1960576,"latitude_deg":10.22446,"altitude":12,"angle":180,"satellites":48,"speed":42,"hex_longitude":"2d6a9880","hex_latitude":"061820f8","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879965184001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399704109130711040,"note":"Value kept but may cause issues"} 
[2026-09-05 13:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7681170665634029568,"note":"Value kept but may cause issues"} 
[2026-09-05 13:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788593623000,"timestamp_ms":1788593623000,"timestamp_seconds":1788593623,"priority":1,"record_length":96,"hex_timestamp":"000001a0707ccfd8"} 
[2026-09-05 13:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:05: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-09-05 13:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-05 13:05:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:05: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-09-05 13:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879965184001,"66":27908,"93":206,"79":20992,"24":42,"16":399704109130711040,"45":7681170665634029568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,79,24,16,45]} 
[2026-09-05 13:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879965184001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:05:02] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-05 13:05:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399704109130711040,"km_value":399704109130711.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7681170665634029568,"description":"Unknown IO ID 45"} 
[2026-09-05 13:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879965184001,"power":27908,"unknown_93":206,"unknown_79":20992,"ignition":42,"odometer":null,"unknown_45":7681170665634029568}} 
[2026-09-05 13:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":174240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:05:02] local.INFO: GPS data processed {"connection_id":174240,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:05:02] local.INFO: Acknowledgment sent {"connection_id":174240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:05:22] local.INFO: TCP Data received {"connection_id":174239,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0707c23f8012cee9f000732d898004e008226..."} 
[2026-09-05 13:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707c23f8012cee9f000732d898004e008226..."} 
[2026-09-05 13:05:22] local.INFO: Processing buffer {"connection_id":174239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707c23f8012cee9f000732d898004e008226..."} 
[2026-09-05 13:05:22] local.INFO: Packet analysis {"connection_id":174239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0707c"} 
[2026-09-05 13:05:22] local.INFO: Extracted packet for processing {"connection_id":174239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0707c"} 
[2026-09-05 13:05:22] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772760,"longitude_deg":75.3835776,"latitude_deg":12.077276,"altitude":78,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d898","is_valid_coordinates":true} 
[2026-09-05 13:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879879168001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 13:05:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467881984,"note":"Value kept but may cause issues"} 
[2026-09-05 13:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788593579000,"timestamp_ms":1788593579000,"timestamp_seconds":1788593579,"priority":1,"record_length":96,"hex_timestamp":"000001a0707c23f8"} 
[2026-09-05 13:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:05:22] 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-09-05 13:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879879168001,"66":2166,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252282140467881984},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879879168001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:05:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:05:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:05:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467881984,"description":"Unknown IO ID 44"} 
[2026-09-05 13:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879879168001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467881984}} 
[2026-09-05 13:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":174239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:05:22] local.INFO: GPS data processed {"connection_id":174239,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:05:22] local.INFO: Acknowledgment sent {"connection_id":174239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:05:33] local.INFO: TCP Data received {"connection_id":174240,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0707cf6e8012d6a98800617fb78000c00b532..."} 
[2026-09-05 13:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707cf6e8012d6a98800617fb78000c00b532..."} 
[2026-09-05 13:05:33] local.INFO: Processing buffer {"connection_id":174240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707cf6e8012d6a98800617fb78000c00b532..."} 
[2026-09-05 13:05:33] local.INFO: Packet analysis {"connection_id":174240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0707c"} 
[2026-09-05 13:05:33] local.INFO: Extracted packet for processing {"connection_id":174240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0707c"} 
[2026-09-05 13:05:33] local.INFO: GPS Element Parsed {"raw_longitude":761960576,"raw_latitude":102235000,"longitude_deg":76.1960576,"latitude_deg":10.2235,"altitude":12,"angle":181,"satellites":50,"speed":32,"hex_longitude":"2d6a9880","hex_latitude":"0617fb78","is_valid_coordinates":true} 
[2026-09-05 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-09-05 13:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879967488001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399704572987179008,"note":"Value kept but may cause issues"} 
[2026-09-05 13:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7681029928143353856,"note":"Value kept but may cause issues"} 
[2026-09-05 13:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788593633000,"timestamp_ms":1788593633000,"timestamp_seconds":1788593633,"priority":1,"record_length":96,"hex_timestamp":"000001a0707cf6e8"} 
[2026-09-05 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-09-05 13:05: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-09-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 13:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 13:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:05: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-09-05 13:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879967488001,"66":27767,"93":206,"79":20992,"24":32,"16":399704572987179008,"45":7681029928143353856},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,79,24,16,45]} 
[2026-09-05 13:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879967488001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:05:33] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-05 13:05:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399704572987179008,"km_value":399704572987179.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7681029928143353856,"description":"Unknown IO ID 45"} 
[2026-09-05 13:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879967488001,"power":27767,"unknown_93":206,"unknown_79":20992,"ignition":32,"odometer":null,"unknown_45":7681029928143353856}} 
[2026-09-05 13:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":174240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:05:33] local.INFO: GPS data processed {"connection_id":174240,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:05:33] local.INFO: Acknowledgment sent {"connection_id":174240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:05:45] local.INFO: TCP Data received {"connection_id":171537,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:05:45] local.INFO: Processing buffer {"connection_id":171537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:05:45] local.INFO: IMEI packet received {"connection_id":171537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":171537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:05:50] local.INFO: TCP Data received {"connection_id":171537,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:05:50] local.INFO: Processing buffer {"connection_id":171537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:05:50] local.INFO: IMEI packet received {"connection_id":171537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":171537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:05:51] local.INFO: TCP Data received {"connection_id":171537,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0707c23f8012cee9f000732d898004e008226..."} 
[2026-09-05 13:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707c23f8012cee9f000732d898004e008226..."} 
[2026-09-05 13:05:51] local.INFO: Processing buffer {"connection_id":171537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707c23f8012cee9f000732d898004e008226..."} 
[2026-09-05 13:05:51] local.INFO: Packet analysis {"connection_id":171537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0707c"} 
[2026-09-05 13:05:51] local.INFO: Extracted packet for processing {"connection_id":171537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0707c"} 
[2026-09-05 13:05:51] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772760,"longitude_deg":75.3835776,"latitude_deg":12.077276,"altitude":78,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d898","is_valid_coordinates":true} 
[2026-09-05 13:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879879168001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 13:05:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467881984,"note":"Value kept but may cause issues"} 
[2026-09-05 13:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788593579000,"timestamp_ms":1788593579000,"timestamp_seconds":1788593579,"priority":1,"record_length":96,"hex_timestamp":"000001a0707c23f8"} 
[2026-09-05 13:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:05: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-09-05 13:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879879168001,"66":2166,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252282140467881984},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879879168001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:05:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:05:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:05:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467881984,"description":"Unknown IO ID 44"} 
[2026-09-05 13:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879879168001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467881984}} 
[2026-09-05 13:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":171537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:05:51] local.INFO: GPS data processed {"connection_id":171537,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:05:51] local.INFO: Acknowledgment sent {"connection_id":171537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:05:53] local.INFO: TCP Data received {"connection_id":171538,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:05:53] local.INFO: Processing buffer {"connection_id":171538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:05:53] local.INFO: IMEI packet received {"connection_id":171538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":171538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:05:56] local.INFO: TCP Data received {"connection_id":171539,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:05:56] local.INFO: Processing buffer {"connection_id":171539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:05:56] local.INFO: IMEI packet received {"connection_id":171539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":171539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:06:01] local.INFO: TCP Data received {"connection_id":171539,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:06:01] local.INFO: Processing buffer {"connection_id":171539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:06:01] local.INFO: IMEI packet received {"connection_id":171539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":171539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:06:02] local.INFO: TCP Data received {"connection_id":171539,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0707d25c8012d6a98000617d810000c00b433..."} 
[2026-09-05 13:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707d25c8012d6a98000617d810000c00b433..."} 
[2026-09-05 13:06:02] local.INFO: Processing buffer {"connection_id":171539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707d25c8012d6a98000617d810000c00b433..."} 
[2026-09-05 13:06:02] local.INFO: Packet analysis {"connection_id":171539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0707d"} 
[2026-09-05 13:06:02] local.INFO: Extracted packet for processing {"connection_id":171539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0707d"} 
[2026-09-05 13:06:02] local.INFO: GPS Element Parsed {"raw_longitude":761960448,"raw_latitude":102225936,"longitude_deg":76.1960448,"latitude_deg":10.2225936,"altitude":12,"angle":180,"satellites":51,"speed":29,"hex_longitude":"2d6a9800","hex_latitude":"0617d810","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879970048001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399705015368810496,"note":"Value kept but may cause issues"} 
[2026-09-05 13:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7681029928140896256,"note":"Value kept but may cause issues"} 
[2026-09-05 13:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788593645000,"timestamp_ms":1788593645000,"timestamp_seconds":1788593645,"priority":1,"record_length":96,"hex_timestamp":"000001a0707d25c8"} 
[2026-09-05 13:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:06: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-09-05 13: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":119,"data_length":795,"current_offset":136} 
[2026-09-05 13:06: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-09-05 13: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-09-05 13:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:06: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-09-05 13:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879970048001,"66":27876,"93":206,"79":20992,"24":29,"16":399705015368810496,"45":7681029928140896256},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,79,24,16,45]} 
[2026-09-05 13:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879970048001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:06:02] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-05 13:06:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399705015368810496,"km_value":399705015368810.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7681029928140896256,"description":"Unknown IO ID 45"} 
[2026-09-05 13:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879970048001,"power":27876,"unknown_93":206,"unknown_79":20992,"ignition":29,"odometer":null,"unknown_45":7681029928140896256}} 
[2026-09-05 13:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":171539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:06:02] local.INFO: GPS data processed {"connection_id":171539,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:06:02] local.INFO: Acknowledgment sent {"connection_id":171539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:06:22] local.INFO: TCP Data received {"connection_id":171537,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0707c23f8012cee9f000732d898004e008226..."} 
[2026-09-05 13:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707c23f8012cee9f000732d898004e008226..."} 
[2026-09-05 13:06:22] local.INFO: Processing buffer {"connection_id":171537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707c23f8012cee9f000732d898004e008226..."} 
[2026-09-05 13:06:22] local.INFO: Packet analysis {"connection_id":171537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0707c"} 
[2026-09-05 13:06:22] local.INFO: Extracted packet for processing {"connection_id":171537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0707c"} 
[2026-09-05 13:06:22] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772760,"longitude_deg":75.3835776,"latitude_deg":12.077276,"altitude":78,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d898","is_valid_coordinates":true} 
[2026-09-05 13:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879879168001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 13:06:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467881984,"note":"Value kept but may cause issues"} 
[2026-09-05 13:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788593579000,"timestamp_ms":1788593579000,"timestamp_seconds":1788593579,"priority":1,"record_length":96,"hex_timestamp":"000001a0707c23f8"} 
[2026-09-05 13:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:06:22] 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-09-05 13:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:06:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:06:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879879168001,"66":2166,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252282140467881984},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879879168001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:06:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:06:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:06:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467881984,"description":"Unknown IO ID 44"} 
[2026-09-05 13:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879879168001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467881984}} 
[2026-09-05 13:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":171537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:06:22] local.INFO: GPS data processed {"connection_id":171537,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:06:22] local.INFO: Acknowledgment sent {"connection_id":171537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:06:34] local.INFO: TCP Data received {"connection_id":171539,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0707d5890012d6a98800617b3c8000c00b12f..."} 
[2026-09-05 13:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707d5890012d6a98800617b3c8000c00b12f..."} 
[2026-09-05 13:06:34] local.INFO: Processing buffer {"connection_id":171539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707d5890012d6a98800617b3c8000c00b12f..."} 
[2026-09-05 13:06:34] local.INFO: Packet analysis {"connection_id":171539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0707d"} 
[2026-09-05 13:06:34] local.INFO: Extracted packet for processing {"connection_id":171539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0707d"} 
[2026-09-05 13:06:34] local.INFO: GPS Element Parsed {"raw_longitude":761960576,"raw_latitude":102216648,"longitude_deg":76.1960576,"latitude_deg":10.2216648,"altitude":12,"angle":177,"satellites":47,"speed":26,"hex_longitude":"2d6a9880","hex_latitude":"0617b3c8","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879973120001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399705466340376576,"note":"Value kept but may cause issues"} 
[2026-09-05 13:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7680889190650220544,"note":"Value kept but may cause issues"} 
[2026-09-05 13:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788593658000,"timestamp_ms":1788593658000,"timestamp_seconds":1788593658,"priority":1,"record_length":96,"hex_timestamp":"000001a0707d5890"} 
[2026-09-05 13:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 13:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:06:34] 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-09-05 13:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879973120001,"66":27876,"93":206,"79":20992,"24":26,"16":399705466340376576,"45":7680889190650220544},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,79,24,16,45]} 
[2026-09-05 13:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879973120001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:06:34] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-05 13:06:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399705466340376576,"km_value":399705466340376.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7680889190650220544,"description":"Unknown IO ID 45"} 
[2026-09-05 13:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879973120001,"power":27876,"unknown_93":206,"unknown_79":20992,"ignition":26,"odometer":null,"unknown_45":7680889190650220544}} 
[2026-09-05 13:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":171539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:06:34] local.INFO: GPS data processed {"connection_id":171539,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:06:34] local.INFO: Acknowledgment sent {"connection_id":171539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:06:45] local.INFO: TCP Data received {"connection_id":171834,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:06:45] local.INFO: Processing buffer {"connection_id":171834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:06:45] local.INFO: IMEI packet received {"connection_id":171834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":171834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:06:50] local.INFO: TCP Data received {"connection_id":171834,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:06:50] local.INFO: Processing buffer {"connection_id":171834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:06:50] local.INFO: IMEI packet received {"connection_id":171834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":171834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:06:51] local.INFO: TCP Data received {"connection_id":171834,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0707c23f8012cee9f000732d898004e008226..."} 
[2026-09-05 13:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707c23f8012cee9f000732d898004e008226..."} 
[2026-09-05 13:06:51] local.INFO: Processing buffer {"connection_id":171834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707c23f8012cee9f000732d898004e008226..."} 
[2026-09-05 13:06:51] local.INFO: Packet analysis {"connection_id":171834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0707c"} 
[2026-09-05 13:06:51] local.INFO: Extracted packet for processing {"connection_id":171834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0707c"} 
[2026-09-05 13:06:51] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772760,"longitude_deg":75.3835776,"latitude_deg":12.077276,"altitude":78,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d898","is_valid_coordinates":true} 
[2026-09-05 13:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879879168001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 13:06:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467881984,"note":"Value kept but may cause issues"} 
[2026-09-05 13:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788593579000,"timestamp_ms":1788593579000,"timestamp_seconds":1788593579,"priority":1,"record_length":96,"hex_timestamp":"000001a0707c23f8"} 
[2026-09-05 13:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:06: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-09-05 13:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:06:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879879168001,"66":2166,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252282140467881984},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879879168001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:06:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:06:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:06:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467881984,"description":"Unknown IO ID 44"} 
[2026-09-05 13:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879879168001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467881984}} 
[2026-09-05 13:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":171834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:06:51] local.INFO: GPS data processed {"connection_id":171834,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:06:51] local.INFO: Acknowledgment sent {"connection_id":171834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:06:56] local.INFO: TCP Data received {"connection_id":174242,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:06:56] local.INFO: Processing buffer {"connection_id":174242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:06:56] local.INFO: IMEI packet received {"connection_id":174242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":174242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:06:57] local.INFO: TCP Data received {"connection_id":174242,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:06:57] local.INFO: Processing buffer {"connection_id":174242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:06:57] local.INFO: IMEI packet received {"connection_id":174242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":174242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:07:01] local.INFO: TCP Data received {"connection_id":174242,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:07:01] local.INFO: Processing buffer {"connection_id":174242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:07:01] local.INFO: IMEI packet received {"connection_id":174242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":174242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:07:02] local.INFO: TCP Data received {"connection_id":174242,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0707d9af8012d6a9a8006179080000b00ac33..."} 
[2026-09-05 13:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707d9af8012d6a9a8006179080000b00ac33..."} 
[2026-09-05 13:07:02] local.INFO: Processing buffer {"connection_id":174242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707d9af8012d6a9a8006179080000b00ac33..."} 
[2026-09-05 13:07:02] local.INFO: Packet analysis {"connection_id":174242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0707d"} 
[2026-09-05 13:07:02] local.INFO: Extracted packet for processing {"connection_id":174242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0707d"} 
[2026-09-05 13:07:02] local.INFO: GPS Element Parsed {"raw_longitude":761961088,"raw_latitude":102207616,"longitude_deg":76.1961088,"latitude_deg":10.2207616,"altitude":11,"angle":172,"satellites":51,"speed":8,"hex_longitude":"2d6a9a80","hex_latitude":"06179080","is_valid_coordinates":true} 
[2026-09-05 13:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879976448001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399705904427040768,"note":"Value kept but may cause issues"} 
[2026-09-05 13:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7681029928136198144,"note":"Value kept but may cause issues"} 
[2026-09-05 13:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788593675000,"timestamp_ms":1788593675000,"timestamp_seconds":1788593675,"priority":1,"record_length":96,"hex_timestamp":"000001a0707d9af8"} 
[2026-09-05 13:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:07: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-09-05 13:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 13:07: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-09-05 13:07:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:07: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-09-05 13:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879976448001,"66":27974,"93":206,"79":20992,"24":8,"16":399705904427040768,"45":7681029928136198144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,79,24,16,45]} 
[2026-09-05 13:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879976448001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:07:02] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-05 13:07:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399705904427040768,"km_value":399705904427040.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7681029928136198144,"description":"Unknown IO ID 45"} 
[2026-09-05 13:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879976448001,"power":27974,"unknown_93":206,"unknown_79":20992,"ignition":8,"odometer":null,"unknown_45":7681029928136198144}} 
[2026-09-05 13:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":174242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:07:02] local.INFO: GPS data processed {"connection_id":174242,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:07:02] local.INFO: Acknowledgment sent {"connection_id":174242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:07:22] local.INFO: TCP Data received {"connection_id":171834,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0707c23f8012cee9f000732d898004e008226..."} 
[2026-09-05 13:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707c23f8012cee9f000732d898004e008226..."} 
[2026-09-05 13:07:22] local.INFO: Processing buffer {"connection_id":171834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707c23f8012cee9f000732d898004e008226..."} 
[2026-09-05 13:07:22] local.INFO: Packet analysis {"connection_id":171834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0707c"} 
[2026-09-05 13:07:22] local.INFO: Extracted packet for processing {"connection_id":171834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0707c"} 
[2026-09-05 13:07:22] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772760,"longitude_deg":75.3835776,"latitude_deg":12.077276,"altitude":78,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d898","is_valid_coordinates":true} 
[2026-09-05 13:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879879168001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 13:07:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467881984,"note":"Value kept but may cause issues"} 
[2026-09-05 13:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788593579000,"timestamp_ms":1788593579000,"timestamp_seconds":1788593579,"priority":1,"record_length":96,"hex_timestamp":"000001a0707c23f8"} 
[2026-09-05 13:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:07:22] 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-09-05 13:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879879168001,"66":2166,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252282140467881984},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879879168001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:07:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:07:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:07:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467881984,"description":"Unknown IO ID 44"} 
[2026-09-05 13:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879879168001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467881984}} 
[2026-09-05 13:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":171834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:07:22] local.INFO: GPS data processed {"connection_id":171834,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:07:22] local.INFO: Acknowledgment sent {"connection_id":171834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:07:33] local.INFO: TCP Data received {"connection_id":174242,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0707de148012d6a9e4006176dd8000a00ae2e..."} 
[2026-09-05 13:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707de148012d6a9e4006176dd8000a00ae2e..."} 
[2026-09-05 13:07:33] local.INFO: Processing buffer {"connection_id":174242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707de148012d6a9e4006176dd8000a00ae2e..."} 
[2026-09-05 13:07:33] local.INFO: Packet analysis {"connection_id":174242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0707d"} 
[2026-09-05 13:07:33] local.INFO: Extracted packet for processing {"connection_id":174242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0707d"} 
[2026-09-05 13:07:33] local.INFO: GPS Element Parsed {"raw_longitude":761962048,"raw_latitude":102198744,"longitude_deg":76.1962048,"latitude_deg":10.2198744,"altitude":10,"angle":174,"satellites":46,"speed":29,"hex_longitude":"2d6a9e40","hex_latitude":"06176dd8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 13:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879980800001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399706338218737664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7681592878087307264,"note":"Value kept but may cause issues"} 
[2026-09-05 13:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788593693000,"timestamp_ms":1788593693000,"timestamp_seconds":1788593693,"priority":1,"record_length":96,"hex_timestamp":"000001a0707de148"} 
[2026-09-05 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-09-05 13:07: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-09-05 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 13:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 13:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:07: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-09-05 13:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879980800001,"66":27930,"236":206,"79":20992,"24":29,"16":399706338218737664,"45":7681592878087307264},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,79,24,16,45]} 
[2026-09-05 13:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879980800001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:07:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-09-05 13:07:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399706338218737664,"km_value":399706338218737.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7681592878087307264,"description":"Unknown IO ID 45"} 
[2026-09-05 13:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879980800001,"power":27930,"unknown_236":206,"unknown_79":20992,"ignition":29,"odometer":null,"unknown_45":7681592878087307264}} 
[2026-09-05 13:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":174242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:07:33] local.INFO: GPS data processed {"connection_id":174242,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:07:33] local.INFO: Acknowledgment sent {"connection_id":174242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:07:45] local.INFO: TCP Data received {"connection_id":172932,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:07:45] local.INFO: Processing buffer {"connection_id":172932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:07:45] local.INFO: IMEI packet received {"connection_id":172932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":172932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:07:50] local.INFO: TCP Data received {"connection_id":172932,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:07:50] local.INFO: Processing buffer {"connection_id":172932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:07:50] local.INFO: IMEI packet received {"connection_id":172932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":172932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:07:51] local.INFO: TCP Data received {"connection_id":172932,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0707c23f8012cee9f000732d898004e008226..."} 
[2026-09-05 13:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707c23f8012cee9f000732d898004e008226..."} 
[2026-09-05 13:07:51] local.INFO: Processing buffer {"connection_id":172932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707c23f8012cee9f000732d898004e008226..."} 
[2026-09-05 13:07:51] local.INFO: Packet analysis {"connection_id":172932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0707c"} 
[2026-09-05 13:07:51] local.INFO: Extracted packet for processing {"connection_id":172932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0707c"} 
[2026-09-05 13:07:51] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772760,"longitude_deg":75.3835776,"latitude_deg":12.077276,"altitude":78,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d898","is_valid_coordinates":true} 
[2026-09-05 13:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879879168001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 13:07:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467881984,"note":"Value kept but may cause issues"} 
[2026-09-05 13:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788593579000,"timestamp_ms":1788593579000,"timestamp_seconds":1788593579,"priority":1,"record_length":96,"hex_timestamp":"000001a0707c23f8"} 
[2026-09-05 13:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:07: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-09-05 13:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879879168001,"66":2166,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252282140467881984},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879879168001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:07:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:07:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:07:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467881984,"description":"Unknown IO ID 44"} 
[2026-09-05 13:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879879168001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467881984}} 
[2026-09-05 13:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":172932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:07:51] local.INFO: GPS data processed {"connection_id":172932,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:07:51] local.INFO: Acknowledgment sent {"connection_id":172932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:08:00] local.INFO: TCP Data received {"connection_id":174243,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:08:00] local.INFO: Processing buffer {"connection_id":174243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:08:00] local.INFO: IMEI packet received {"connection_id":174243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":174243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:08:01] local.INFO: TCP Data received {"connection_id":174243,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:08:01] local.INFO: Processing buffer {"connection_id":174243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:08:01] local.INFO: IMEI packet received {"connection_id":174243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":174243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:08:06] local.INFO: TCP Data received {"connection_id":174243,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:08:06] local.INFO: Processing buffer {"connection_id":174243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:08:06] local.INFO: IMEI packet received {"connection_id":174243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":174243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:08:07] local.INFO: TCP Data received {"connection_id":174243,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0707e0c40012d6aa30006174888000b00ad2b..."} 
[2026-09-05 13:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707e0c40012d6aa30006174888000b00ad2b..."} 
[2026-09-05 13:08:07] local.INFO: Processing buffer {"connection_id":174243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707e0c40012d6aa30006174888000b00ad2b..."} 
[2026-09-05 13:08:07] local.INFO: Packet analysis {"connection_id":174243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0707e"} 
[2026-09-05 13:08:07] local.INFO: Extracted packet for processing {"connection_id":174243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0707e"} 
[2026-09-05 13:08:07] local.INFO: GPS Element Parsed {"raw_longitude":761963264,"raw_latitude":102189192,"longitude_deg":76.1963264,"latitude_deg":10.2189192,"altitude":11,"angle":173,"satellites":43,"speed":35,"hex_longitude":"2d6aa300","hex_latitude":"06174888","is_valid_coordinates":true} 
[2026-09-05 13:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879985408001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399706806370172928,"note":"Value kept but may cause issues"} 
[2026-09-05 13:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7682648409247700992,"note":"Value kept but may cause issues"} 
[2026-09-05 13:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788593704000,"timestamp_ms":1788593704000,"timestamp_seconds":1788593704,"priority":1,"record_length":96,"hex_timestamp":"000001a0707e0c40"} 
[2026-09-05 13:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:08: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-09-05 13:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 13:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879985408001,"66":27930,"236":206,"79":20992,"24":35,"16":399706806370172928,"45":7682648409247700992},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,79,24,16,45]} 
[2026-09-05 13:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879985408001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:08:07] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-09-05 13:08:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399706806370172928,"km_value":399706806370172.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":7682648409247700992,"description":"Unknown IO ID 45"} 
[2026-09-05 13:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879985408001,"power":27930,"unknown_236":206,"unknown_79":20992,"ignition":35,"odometer":null,"unknown_45":7682648409247700992}} 
[2026-09-05 13:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":174243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:08:07] local.INFO: GPS data processed {"connection_id":174243,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:08:07] local.INFO: Acknowledgment sent {"connection_id":174243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:08:12] local.INFO: TCP Data received {"connection_id":174243,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0707e3b20012d6aab00061723d8000a00a62e..."} 
[2026-09-05 13:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707e3b20012d6aab00061723d8000a00a62e..."} 
[2026-09-05 13:08:12] local.INFO: Processing buffer {"connection_id":174243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707e3b20012d6aab00061723d8000a00a62e..."} 
[2026-09-05 13:08:12] local.INFO: Packet analysis {"connection_id":174243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0707e"} 
[2026-09-05 13:08:12] local.INFO: Extracted packet for processing {"connection_id":174243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0707e"} 
[2026-09-05 13:08:12] local.INFO: GPS Element Parsed {"raw_longitude":761965312,"raw_latitude":102179800,"longitude_deg":76.1965312,"latitude_deg":10.21798,"altitude":10,"angle":166,"satellites":46,"speed":32,"hex_longitude":"2d6aab00","hex_latitude":"061723d8","is_valid_coordinates":true} 
[2026-09-05 13:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879988224001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399707270226640896,"note":"Value kept but may cause issues"} 
[2026-09-05 13:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7683985415384631296,"note":"Value kept but may cause issues"} 
[2026-09-05 13:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788593716000,"timestamp_ms":1788593716000,"timestamp_seconds":1788593716,"priority":1,"record_length":96,"hex_timestamp":"000001a0707e3b20"} 
[2026-09-05 13:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:08:12] 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-09-05 13:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 13:08:12] 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-09-05 13:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:08:12] 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-09-05 13:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879988224001,"66":27974,"236":206,"79":20992,"24":32,"16":399707270226640896,"45":7683985415384631296},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,79,24,16,45]} 
[2026-09-05 13:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879988224001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:08:12] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-09-05 13:08:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399707270226640896,"km_value":399707270226640.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7683985415384631296,"description":"Unknown IO ID 45"} 
[2026-09-05 13:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879988224001,"power":27974,"unknown_236":206,"unknown_79":20992,"ignition":32,"odometer":null,"unknown_45":7683985415384631296}} 
[2026-09-05 13:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":174243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:08:12] local.INFO: GPS data processed {"connection_id":174243,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:08:12] local.INFO: Acknowledgment sent {"connection_id":174243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:08:22] local.INFO: TCP Data received {"connection_id":172932,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0707c23f8012cee9f000732d898004e008226..."} 
[2026-09-05 13:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0707c23f8012cee9f000732d898004e008226..."} 
[2026-09-05 13:08:22] local.INFO: Processing buffer {"connection_id":172932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0707c23f8012cee9f000732d898004e008226..."} 
[2026-09-05 13:08:22] local.INFO: Packet analysis {"connection_id":172932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0707c"} 
[2026-09-05 13:08:22] local.INFO: Extracted packet for processing {"connection_id":172932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0707c"} 
[2026-09-05 13:08:22] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772760,"longitude_deg":75.3835776,"latitude_deg":12.077276,"altitude":78,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d898","is_valid_coordinates":true} 
[2026-09-05 13:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879879168001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 13:08:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467881984,"note":"Value kept but may cause issues"} 
[2026-09-05 13:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788593579000,"timestamp_ms":1788593579000,"timestamp_seconds":1788593579,"priority":1,"record_length":96,"hex_timestamp":"000001a0707c23f8"} 
[2026-09-05 13:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:08:22] 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-09-05 13:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879879168001,"66":2166,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252282140467881984},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879879168001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:08:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:08:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:08:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467881984,"description":"Unknown IO ID 44"} 
[2026-09-05 13:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879879168001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467881984}} 
[2026-09-05 13:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":172932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:08:22] local.INFO: GPS data processed {"connection_id":172932,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:08:22] local.INFO: Acknowledgment sent {"connection_id":172932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:08:50] local.INFO: TCP Data received {"connection_id":171835,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:08:50] local.INFO: Processing buffer {"connection_id":171835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:08:50] local.INFO: IMEI packet received {"connection_id":171835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":171835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:08:55] local.INFO: TCP Data received {"connection_id":171835,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:08:55] local.INFO: Processing buffer {"connection_id":171835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:08:55] local.INFO: IMEI packet received {"connection_id":171835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":171835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:08:56] local.INFO: TCP Data received {"connection_id":171835,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07080bbc0012cee9f000732d898004e008227..."} 
[2026-09-05 13:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07080bbc0012cee9f000732d898004e008227..."} 
[2026-09-05 13:08:56] local.INFO: Processing buffer {"connection_id":171835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07080bbc0012cee9f000732d898004e008227..."} 
[2026-09-05 13:08:56] local.INFO: Packet analysis {"connection_id":171835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:08:56] local.INFO: Extracted packet for processing {"connection_id":171835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:08:56] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772760,"longitude_deg":75.3835776,"latitude_deg":12.077276,"altitude":78,"angle":130,"satellites":39,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d898","is_valid_coordinates":true} 
[2026-09-05 13:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879956224001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 13:08:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467881984,"note":"Value kept but may cause issues"} 
[2026-09-05 13:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788593880000,"timestamp_ms":1788593880000,"timestamp_seconds":1788593880,"priority":1,"record_length":96,"hex_timestamp":"000001a07080bbc0"} 
[2026-09-05 13:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:08:56] 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-09-05 13:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:08:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:08:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879956224001,"66":2177,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252282140467881984},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879956224001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:08:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:08:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:08:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467881984,"description":"Unknown IO ID 44"} 
[2026-09-05 13:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879956224001,"power":2177,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467881984}} 
[2026-09-05 13:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":171835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:08:56] local.INFO: GPS data processed {"connection_id":171835,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:08:56] local.INFO: Acknowledgment sent {"connection_id":171835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:08:56] local.INFO: TCP Data received {"connection_id":172934,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:08:56] local.INFO: Processing buffer {"connection_id":172934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:08:56] local.INFO: IMEI packet received {"connection_id":172934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":172934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:09:00] local.INFO: TCP Data received {"connection_id":171835,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07080bbc0012cee9f000732d898004e008227..."} 
[2026-09-05 13:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07080bbc0012cee9f000732d898004e008227..."} 
[2026-09-05 13:09:00] local.INFO: Processing buffer {"connection_id":171835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07080bbc0012cee9f000732d898004e008227..."} 
[2026-09-05 13:09:00] local.INFO: Packet analysis {"connection_id":171835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:09:00] local.INFO: Extracted packet for processing {"connection_id":171835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:09:00] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772760,"longitude_deg":75.3835776,"latitude_deg":12.077276,"altitude":78,"angle":130,"satellites":39,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d898","is_valid_coordinates":true} 
[2026-09-05 13:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879956224001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 13:09:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467881984,"note":"Value kept but may cause issues"} 
[2026-09-05 13:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788593880000,"timestamp_ms":1788593880000,"timestamp_seconds":1788593880,"priority":1,"record_length":96,"hex_timestamp":"000001a07080bbc0"} 
[2026-09-05 13:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:09:00] 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-09-05 13:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879956224001,"66":2177,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252282140467881984},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879956224001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:09:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:09:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:09:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467881984,"description":"Unknown IO ID 44"} 
[2026-09-05 13:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879956224001,"power":2177,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467881984}} 
[2026-09-05 13:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":171835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:09:01] local.INFO: GPS data processed {"connection_id":171835,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:09:01] local.INFO: Acknowledgment sent {"connection_id":171835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:09:01] local.INFO: TCP Data received {"connection_id":172934,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:09:01] local.INFO: Processing buffer {"connection_id":172934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:09:01] local.INFO: IMEI packet received {"connection_id":172934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":172934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:09:03] local.INFO: TCP Data received {"connection_id":172934,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0708090c8012d6b1d800615e230000900a12b..."} 
[2026-09-05 13:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708090c8012d6b1d800615e230000900a12b..."} 
[2026-09-05 13:09:03] local.INFO: Processing buffer {"connection_id":172934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708090c8012d6b1d800615e230000900a12b..."} 
[2026-09-05 13:09:03] local.INFO: Packet analysis {"connection_id":172934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:09:03] local.INFO: Extracted packet for processing {"connection_id":172934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:09:03] local.INFO: GPS Element Parsed {"raw_longitude":761994624,"raw_latitude":102097456,"longitude_deg":76.1994624,"latitude_deg":10.2097456,"altitude":9,"angle":161,"satellites":43,"speed":47,"hex_longitude":"2d6b1d80","hex_latitude":"0615e230","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880028416001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399711513654329344,"note":"Value kept but may cause issues"} 
[2026-09-05 13:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7715229137778307072,"note":"Value kept but may cause issues"} 
[2026-09-05 13:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788593869000,"timestamp_ms":1788593869000,"timestamp_seconds":1788593869,"priority":1,"record_length":96,"hex_timestamp":"000001a0708090c8"} 
[2026-09-05 13:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:09: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-09-05 13:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 13:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:09: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-09-05 13:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880028416001,"66":27876,"166":206,"79":20992,"24":47,"16":399711513654329344,"45":7715229137778307072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,79,24,16,45]} 
[2026-09-05 13:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880028416001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:09:03] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-05 13:09:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399711513654329344,"km_value":399711513654329.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7715229137778307072,"description":"Unknown IO ID 45"} 
[2026-09-05 13:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880028416001,"power":27876,"unknown_166":206,"unknown_79":20992,"ignition":47,"odometer":null,"unknown_45":7715229137778307072}} 
[2026-09-05 13:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":172934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:09:03] local.INFO: GPS data processed {"connection_id":172934,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:09:03] local.INFO: Acknowledgment sent {"connection_id":172934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:09:34] local.INFO: TCP Data received {"connection_id":172934,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07080b008012d6b28c00615beb0000800a432..."} 
[2026-09-05 13:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07080b008012d6b28c00615beb0000800a432..."} 
[2026-09-05 13:09:34] local.INFO: Processing buffer {"connection_id":172934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07080b008012d6b28c00615beb0000800a432..."} 
[2026-09-05 13:09:34] local.INFO: Packet analysis {"connection_id":172934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:09:34] local.INFO: Extracted packet for processing {"connection_id":172934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:09:34] local.INFO: GPS Element Parsed {"raw_longitude":761997504,"raw_latitude":102088368,"longitude_deg":76.1997504,"latitude_deg":10.2088368,"altitude":8,"angle":164,"satellites":50,"speed":46,"hex_longitude":"2d6b28c0","hex_latitude":"0615beb0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 13:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880030464001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399711977510797312,"note":"Value kept but may cause issues"} 
[2026-09-05 13:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7718466100008202240,"note":"Value kept but may cause issues"} 
[2026-09-05 13:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788593877000,"timestamp_ms":1788593877000,"timestamp_seconds":1788593877,"priority":1,"record_length":96,"hex_timestamp":"000001a07080b008"} 
[2026-09-05 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-09-05 13:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 13:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 13:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:09:34] 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-09-05 13:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880030464001,"66":27908,"166":206,"79":20992,"24":46,"16":399711977510797312,"45":7718466100008202240},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,79,24,16,45]} 
[2026-09-05 13:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880030464001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:09:34] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-05 13:09:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399711977510797312,"km_value":399711977510797.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7718466100008202240,"description":"Unknown IO ID 45"} 
[2026-09-05 13:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880030464001,"power":27908,"unknown_166":206,"unknown_79":20992,"ignition":46,"odometer":null,"unknown_45":7718466100008202240}} 
[2026-09-05 13:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":172934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:09:34] local.INFO: GPS data processed {"connection_id":172934,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:09:34] local.INFO: Acknowledgment sent {"connection_id":172934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:09:45] local.INFO: TCP Data received {"connection_id":171836,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:09:45] local.INFO: Processing buffer {"connection_id":171836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:09:45] local.INFO: IMEI packet received {"connection_id":171836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":171836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:09:50] local.INFO: TCP Data received {"connection_id":171836,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:09:50] local.INFO: Processing buffer {"connection_id":171836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:09:50] local.INFO: IMEI packet received {"connection_id":171836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":171836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:09:51] local.INFO: TCP Data received {"connection_id":171836,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07080bbc0012cee9f000732d898004e008227..."} 
[2026-09-05 13:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07080bbc0012cee9f000732d898004e008227..."} 
[2026-09-05 13:09:51] local.INFO: Processing buffer {"connection_id":171836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07080bbc0012cee9f000732d898004e008227..."} 
[2026-09-05 13:09:51] local.INFO: Packet analysis {"connection_id":171836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:09:51] local.INFO: Extracted packet for processing {"connection_id":171836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:09:51] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772760,"longitude_deg":75.3835776,"latitude_deg":12.077276,"altitude":78,"angle":130,"satellites":39,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d898","is_valid_coordinates":true} 
[2026-09-05 13:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879956224001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 13:09:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467881984,"note":"Value kept but may cause issues"} 
[2026-09-05 13:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788593880000,"timestamp_ms":1788593880000,"timestamp_seconds":1788593880,"priority":1,"record_length":96,"hex_timestamp":"000001a07080bbc0"} 
[2026-09-05 13:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:09:51] 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-09-05 13:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879956224001,"66":2177,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252282140467881984},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879956224001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:09:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:09:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:09:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467881984,"description":"Unknown IO ID 44"} 
[2026-09-05 13:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879956224001,"power":2177,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467881984}} 
[2026-09-05 13:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":171836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:09:51] local.INFO: GPS data processed {"connection_id":171836,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:09:51] local.INFO: Acknowledgment sent {"connection_id":171836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:09:56] local.INFO: TCP Data received {"connection_id":171541,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:09:56] local.INFO: Processing buffer {"connection_id":171541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:09:56] local.INFO: IMEI packet received {"connection_id":171541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":171541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:10:01] local.INFO: TCP Data received {"connection_id":171541,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:10:01] local.INFO: Processing buffer {"connection_id":171541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:10:01] local.INFO: IMEI packet received {"connection_id":171541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":171541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:10:02] local.INFO: TCP Data received {"connection_id":171541,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07080cf48012d6b31c006159b70000a00a832..."} 
[2026-09-05 13:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07080cf48012d6b31c006159b70000a00a832..."} 
[2026-09-05 13:10:02] local.INFO: Processing buffer {"connection_id":171541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07080cf48012d6b31c006159b70000a00a832..."} 
[2026-09-05 13:10:02] local.INFO: Packet analysis {"connection_id":171541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:10:02] local.INFO: Extracted packet for processing {"connection_id":171541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:10:02] local.INFO: GPS Element Parsed {"raw_longitude":761999808,"raw_latitude":102079344,"longitude_deg":76.1999808,"latitude_deg":10.2079344,"altitude":10,"angle":168,"satellites":50,"speed":47,"hex_longitude":"2d6b31c0","hex_latitude":"06159b70","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880032512001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712428482363392,"note":"Value kept but may cause issues"} 
[2026-09-05 13:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7721632693493870592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788593885000,"timestamp_ms":1788593885000,"timestamp_seconds":1788593885,"priority":1,"record_length":96,"hex_timestamp":"000001a07080cf48"} 
[2026-09-05 13:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:10: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-09-05 13:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 13:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880032512001,"66":27919,"166":206,"79":20992,"24":47,"16":399712428482363392,"45":7721632693493870592},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,79,24,16,45]} 
[2026-09-05 13:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880032512001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:10:02] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-05 13:10:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712428482363392,"km_value":399712428482363.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7721632693493870592,"description":"Unknown IO ID 45"} 
[2026-09-05 13:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880032512001,"power":27919,"unknown_166":206,"unknown_79":20992,"ignition":47,"odometer":null,"unknown_45":7721632693493870592}} 
[2026-09-05 13:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":171541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:10:02] local.INFO: GPS data processed {"connection_id":171541,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:10:02] local.INFO: Acknowledgment sent {"connection_id":171541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:10:24] local.INFO: TCP Data received {"connection_id":171836,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07080bbc0012cee9f000732d898004e008227..."} 
[2026-09-05 13:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07080bbc0012cee9f000732d898004e008227..."} 
[2026-09-05 13:10:24] local.INFO: Processing buffer {"connection_id":171836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07080bbc0012cee9f000732d898004e008227..."} 
[2026-09-05 13:10:24] local.INFO: Packet analysis {"connection_id":171836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:10:24] local.INFO: Extracted packet for processing {"connection_id":171836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:10:24] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772760,"longitude_deg":75.3835776,"latitude_deg":12.077276,"altitude":78,"angle":130,"satellites":39,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d898","is_valid_coordinates":true} 
[2026-09-05 13:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879956224001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 13:10:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467881984,"note":"Value kept but may cause issues"} 
[2026-09-05 13:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788593880000,"timestamp_ms":1788593880000,"timestamp_seconds":1788593880,"priority":1,"record_length":96,"hex_timestamp":"000001a07080bbc0"} 
[2026-09-05 13:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:10:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879956224001,"66":2177,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252282140467881984},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879956224001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:10:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:10:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:10:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467881984,"description":"Unknown IO ID 44"} 
[2026-09-05 13:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879956224001,"power":2177,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467881984}} 
[2026-09-05 13:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":171836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:10:24] local.INFO: GPS data processed {"connection_id":171836,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:10:24] local.INFO: Acknowledgment sent {"connection_id":171836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:10:34] local.INFO: TCP Data received {"connection_id":171541,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07080e2d0012d6b360006158430000b00aa30..."} 
[2026-09-05 13:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07080e2d0012d6b360006158430000b00aa30..."} 
[2026-09-05 13:10:34] local.INFO: Processing buffer {"connection_id":171541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07080e2d0012d6b360006158430000b00aa30..."} 
[2026-09-05 13:10:34] local.INFO: Packet analysis {"connection_id":171541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:10:34] local.INFO: Extracted packet for processing {"connection_id":171541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:10:34] local.INFO: GPS Element Parsed {"raw_longitude":762000896,"raw_latitude":102073392,"longitude_deg":76.2000896,"latitude_deg":10.2073392,"altitude":11,"angle":170,"satellites":48,"speed":48,"hex_longitude":"2d6b3600","hex_latitude":"06158430","is_valid_coordinates":true} 
[2026-09-05 13:10: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-09-05 13:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880034560001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712720540139520,"note":"Value kept but may cause issues"} 
[2026-09-05 13:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7724165968281956352,"note":"Value kept but may cause issues"} 
[2026-09-05 13:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788593890000,"timestamp_ms":1788593890000,"timestamp_seconds":1788593890,"priority":1,"record_length":96,"hex_timestamp":"000001a07080e2d0"} 
[2026-09-05 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-09-05 13:10: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-09-05 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 13:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 13:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880034560001,"66":27800,"166":206,"79":20992,"24":48,"16":399712720540139520,"45":7724165968281956352},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,79,24,16,45]} 
[2026-09-05 13:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880034560001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:10:34] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-05 13:10:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712720540139520,"km_value":399712720540139.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7724165968281956352,"description":"Unknown IO ID 45"} 
[2026-09-05 13:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880034560001,"power":27800,"unknown_166":206,"unknown_79":20992,"ignition":48,"odometer":null,"unknown_45":7724165968281956352}} 
[2026-09-05 13:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":171541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:10:34] local.INFO: GPS data processed {"connection_id":171541,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:10:34] local.INFO: Acknowledgment sent {"connection_id":171541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:10:45] local.INFO: TCP Data received {"connection_id":174244,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:10:45] local.INFO: Processing buffer {"connection_id":174244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:10:45] local.INFO: IMEI packet received {"connection_id":174244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":174244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:10:50] local.INFO: TCP Data received {"connection_id":174244,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:10:50] local.INFO: Processing buffer {"connection_id":174244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:10:50] local.INFO: IMEI packet received {"connection_id":174244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":174244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:10:51] local.INFO: TCP Data received {"connection_id":174244,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07080bbc0012cee9f000732d898004e008227..."} 
[2026-09-05 13:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07080bbc0012cee9f000732d898004e008227..."} 
[2026-09-05 13:10:51] local.INFO: Processing buffer {"connection_id":174244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07080bbc0012cee9f000732d898004e008227..."} 
[2026-09-05 13:10:51] local.INFO: Packet analysis {"connection_id":174244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:10:51] local.INFO: Extracted packet for processing {"connection_id":174244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:10:51] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772760,"longitude_deg":75.3835776,"latitude_deg":12.077276,"altitude":78,"angle":130,"satellites":39,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d898","is_valid_coordinates":true} 
[2026-09-05 13:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879956224001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 13:10:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467881984,"note":"Value kept but may cause issues"} 
[2026-09-05 13:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788593880000,"timestamp_ms":1788593880000,"timestamp_seconds":1788593880,"priority":1,"record_length":96,"hex_timestamp":"000001a07080bbc0"} 
[2026-09-05 13:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:10:51] 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-09-05 13:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879956224001,"66":2177,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252282140467881984},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879956224001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:10:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:10:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:10:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467881984,"description":"Unknown IO ID 44"} 
[2026-09-05 13:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879956224001,"power":2177,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467881984}} 
[2026-09-05 13:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":174244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:10:51] local.INFO: GPS data processed {"connection_id":174244,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:10:51] local.INFO: Acknowledgment sent {"connection_id":174244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:10:56] local.INFO: TCP Data received {"connection_id":171837,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:10:56] local.INFO: Processing buffer {"connection_id":171837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:10:56] local.INFO: IMEI packet received {"connection_id":171837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":171837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:11:01] local.INFO: TCP Data received {"connection_id":171837,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:11:01] local.INFO: Processing buffer {"connection_id":171837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:11:01] local.INFO: IMEI packet received {"connection_id":171837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":171837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:11:02] local.INFO: TCP Data received {"connection_id":171837,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07080e2d0012d6b360006158430000b00aa30..."} 
[2026-09-05 13:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07080e2d0012d6b360006158430000b00aa30..."} 
[2026-09-05 13:11:02] local.INFO: Processing buffer {"connection_id":171837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07080e2d0012d6b360006158430000b00aa30..."} 
[2026-09-05 13:11:02] local.INFO: Packet analysis {"connection_id":171837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:11:02] local.INFO: Extracted packet for processing {"connection_id":171837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:11:02] local.INFO: GPS Element Parsed {"raw_longitude":762000896,"raw_latitude":102073392,"longitude_deg":76.2000896,"latitude_deg":10.2073392,"altitude":11,"angle":170,"satellites":48,"speed":48,"hex_longitude":"2d6b3600","hex_latitude":"06158430","is_valid_coordinates":true} 
[2026-09-05 13:11: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-09-05 13:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880034560001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712720540139520,"note":"Value kept but may cause issues"} 
[2026-09-05 13:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7724165968281956352,"note":"Value kept but may cause issues"} 
[2026-09-05 13:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788593890000,"timestamp_ms":1788593890000,"timestamp_seconds":1788593890,"priority":1,"record_length":96,"hex_timestamp":"000001a07080e2d0"} 
[2026-09-05 13:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 13:11: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-09-05 13: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-09-05 13:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880034560001,"66":27800,"166":206,"79":20992,"24":48,"16":399712720540139520,"45":7724165968281956352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,79,24,16,45]} 
[2026-09-05 13:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880034560001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:11:02] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-05 13:11:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712720540139520,"km_value":399712720540139.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7724165968281956352,"description":"Unknown IO ID 45"} 
[2026-09-05 13:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880034560001,"power":27800,"unknown_166":206,"unknown_79":20992,"ignition":48,"odometer":null,"unknown_45":7724165968281956352}} 
[2026-09-05 13:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":171837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:11:02] local.INFO: GPS data processed {"connection_id":171837,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:11:02] local.INFO: Acknowledgment sent {"connection_id":171837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:11:22] local.INFO: TCP Data received {"connection_id":174244,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07080bbc0012cee9f000732d898004e008227..."} 
[2026-09-05 13:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07080bbc0012cee9f000732d898004e008227..."} 
[2026-09-05 13:11:22] local.INFO: Processing buffer {"connection_id":174244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07080bbc0012cee9f000732d898004e008227..."} 
[2026-09-05 13:11:22] local.INFO: Packet analysis {"connection_id":174244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:11:22] local.INFO: Extracted packet for processing {"connection_id":174244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:11:22] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772760,"longitude_deg":75.3835776,"latitude_deg":12.077276,"altitude":78,"angle":130,"satellites":39,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d898","is_valid_coordinates":true} 
[2026-09-05 13:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879956224001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 13:11:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467881984,"note":"Value kept but may cause issues"} 
[2026-09-05 13:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788593880000,"timestamp_ms":1788593880000,"timestamp_seconds":1788593880,"priority":1,"record_length":96,"hex_timestamp":"000001a07080bbc0"} 
[2026-09-05 13:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879956224001,"66":2177,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252282140467881984},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879956224001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:11:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:11:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:11:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467881984,"description":"Unknown IO ID 44"} 
[2026-09-05 13:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879956224001,"power":2177,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467881984}} 
[2026-09-05 13:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":174244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:11:23] local.INFO: GPS data processed {"connection_id":174244,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:11:23] local.INFO: Acknowledgment sent {"connection_id":174244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:11:27] local.INFO: TCP Data received {"connection_id":171543,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171543,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:11:27] local.INFO: Processing buffer {"connection_id":171543,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:11:27] local.INFO: IMEI packet received {"connection_id":171543,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":171543,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:11:33] local.INFO: TCP Data received {"connection_id":171837,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07080e2d0012d6b360006158430000b00aa30..."} 
[2026-09-05 13:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07080e2d0012d6b360006158430000b00aa30..."} 
[2026-09-05 13:11:33] local.INFO: Processing buffer {"connection_id":171837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07080e2d0012d6b360006158430000b00aa30..."} 
[2026-09-05 13:11:33] local.INFO: Packet analysis {"connection_id":171837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:11:33] local.INFO: Extracted packet for processing {"connection_id":171837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:11:33] local.INFO: GPS Element Parsed {"raw_longitude":762000896,"raw_latitude":102073392,"longitude_deg":76.2000896,"latitude_deg":10.2073392,"altitude":11,"angle":170,"satellites":48,"speed":48,"hex_longitude":"2d6b3600","hex_latitude":"06158430","is_valid_coordinates":true} 
[2026-09-05 13:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880034560001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712720540139520,"note":"Value kept but may cause issues"} 
[2026-09-05 13:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7724165968281956352,"note":"Value kept but may cause issues"} 
[2026-09-05 13:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788593890000,"timestamp_ms":1788593890000,"timestamp_seconds":1788593890,"priority":1,"record_length":96,"hex_timestamp":"000001a07080e2d0"} 
[2026-09-05 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-09-05 13:11: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-09-05 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 13:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 13:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:11: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-09-05 13:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880034560001,"66":27800,"166":206,"79":20992,"24":48,"16":399712720540139520,"45":7724165968281956352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,79,24,16,45]} 
[2026-09-05 13:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880034560001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:11:33] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-05 13:11:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712720540139520,"km_value":399712720540139.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7724165968281956352,"description":"Unknown IO ID 45"} 
[2026-09-05 13:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880034560001,"power":27800,"unknown_166":206,"unknown_79":20992,"ignition":48,"odometer":null,"unknown_45":7724165968281956352}} 
[2026-09-05 13:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":171837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:11:33] local.INFO: GPS data processed {"connection_id":171837,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:11:33] local.INFO: Acknowledgment sent {"connection_id":171837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:11:45] local.INFO: TCP Data received {"connection_id":172935,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:11:45] local.INFO: Processing buffer {"connection_id":172935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:11:45] local.INFO: IMEI packet received {"connection_id":172935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":172935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:11:50] local.INFO: TCP Data received {"connection_id":172935,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:11:50] local.INFO: Processing buffer {"connection_id":172935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:11:50] local.INFO: IMEI packet received {"connection_id":172935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":172935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:11:51] local.INFO: TCP Data received {"connection_id":172935,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07080bbc0012cee9f000732d898004e008227..."} 
[2026-09-05 13:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07080bbc0012cee9f000732d898004e008227..."} 
[2026-09-05 13:11:51] local.INFO: Processing buffer {"connection_id":172935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07080bbc0012cee9f000732d898004e008227..."} 
[2026-09-05 13:11:51] local.INFO: Packet analysis {"connection_id":172935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:11:51] local.INFO: Extracted packet for processing {"connection_id":172935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:11:51] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772760,"longitude_deg":75.3835776,"latitude_deg":12.077276,"altitude":78,"angle":130,"satellites":39,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d898","is_valid_coordinates":true} 
[2026-09-05 13:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457879956224001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 13:11:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467881984,"note":"Value kept but may cause issues"} 
[2026-09-05 13:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788593880000,"timestamp_ms":1788593880000,"timestamp_seconds":1788593880,"priority":1,"record_length":96,"hex_timestamp":"000001a07080bbc0"} 
[2026-09-05 13:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:11:51] 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-09-05 13:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457879956224001,"66":2177,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252282140467881984},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457879956224001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:11:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:11:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:11:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467881984,"description":"Unknown IO ID 44"} 
[2026-09-05 13:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457879956224001,"power":2177,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467881984}} 
[2026-09-05 13:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":172935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:11:51] local.INFO: GPS data processed {"connection_id":172935,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:11:51] local.INFO: Acknowledgment sent {"connection_id":172935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:11:52] local.INFO: TCP Data received {"connection_id":171838,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:11:52] local.INFO: Processing buffer {"connection_id":171838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:11:52] local.INFO: IMEI packet received {"connection_id":171838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":171838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:11:56] local.INFO: TCP Data received {"connection_id":172936,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:11:56] local.INFO: Processing buffer {"connection_id":172936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:11:56] local.INFO: IMEI packet received {"connection_id":172936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":172936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:12:01] local.INFO: TCP Data received {"connection_id":172936,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:12:01] local.INFO: Processing buffer {"connection_id":172936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:12:01] local.INFO: IMEI packet received {"connection_id":172936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":172936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:12:02] local.INFO: TCP Data received {"connection_id":172936,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07080e2d0012d6b360006158430000b00aa30..."} 
[2026-09-05 13:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07080e2d0012d6b360006158430000b00aa30..."} 
[2026-09-05 13:12:02] local.INFO: Processing buffer {"connection_id":172936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07080e2d0012d6b360006158430000b00aa30..."} 
[2026-09-05 13:12:02] local.INFO: Packet analysis {"connection_id":172936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:12:02] local.INFO: Extracted packet for processing {"connection_id":172936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:12:02] local.INFO: GPS Element Parsed {"raw_longitude":762000896,"raw_latitude":102073392,"longitude_deg":76.2000896,"latitude_deg":10.2073392,"altitude":11,"angle":170,"satellites":48,"speed":48,"hex_longitude":"2d6b3600","hex_latitude":"06158430","is_valid_coordinates":true} 
[2026-09-05 13:12: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-09-05 13:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880034560001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712720540139520,"note":"Value kept but may cause issues"} 
[2026-09-05 13:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7724165968281956352,"note":"Value kept but may cause issues"} 
[2026-09-05 13:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788593890000,"timestamp_ms":1788593890000,"timestamp_seconds":1788593890,"priority":1,"record_length":96,"hex_timestamp":"000001a07080e2d0"} 
[2026-09-05 13:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 13:12: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-09-05 13: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-09-05 13:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:12: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-09-05 13:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880034560001,"66":27800,"166":206,"79":20992,"24":48,"16":399712720540139520,"45":7724165968281956352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,79,24,16,45]} 
[2026-09-05 13:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880034560001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:12:02] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-05 13:12:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712720540139520,"km_value":399712720540139.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7724165968281956352,"description":"Unknown IO ID 45"} 
[2026-09-05 13:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880034560001,"power":27800,"unknown_166":206,"unknown_79":20992,"ignition":48,"odometer":null,"unknown_45":7724165968281956352}} 
[2026-09-05 13:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":172936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:12:02] local.INFO: GPS data processed {"connection_id":172936,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:12:02] local.INFO: Acknowledgment sent {"connection_id":172936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:12:22] local.INFO: TCP Data received {"connection_id":172935,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070840398012cee9f000732d898004e008224..."} 
[2026-09-05 13:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070840398012cee9f000732d898004e008224..."} 
[2026-09-05 13:12:22] local.INFO: Processing buffer {"connection_id":172935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070840398012cee9f000732d898004e008224..."} 
[2026-09-05 13:12:22] local.INFO: Packet analysis {"connection_id":172935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07084"} 
[2026-09-05 13:12:22] local.INFO: Extracted packet for processing {"connection_id":172935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07084"} 
[2026-09-05 13:12:22] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772760,"longitude_deg":75.3835776,"latitude_deg":12.077276,"altitude":78,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d898","is_valid_coordinates":true} 
[2026-09-05 13:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880033280001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 13:12:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467881984,"note":"Value kept but may cause issues"} 
[2026-09-05 13:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788594095000,"timestamp_ms":1788594095000,"timestamp_seconds":1788594095,"priority":1,"record_length":96,"hex_timestamp":"000001a070840398"} 
[2026-09-05 13:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-05 13:12:22] 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-09-05 13:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880033280001,"66":2166,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252282140467881984},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880033280001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:12:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:12:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:12:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467881984,"description":"Unknown IO ID 44"} 
[2026-09-05 13:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880033280001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467881984}} 
[2026-09-05 13:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":172935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:12:22] local.INFO: GPS data processed {"connection_id":172935,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:12:22] local.INFO: Acknowledgment sent {"connection_id":172935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:12:34] local.INFO: TCP Data received {"connection_id":172936,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07080e2d0012d6b360006158430000b00aa30..."} 
[2026-09-05 13:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07080e2d0012d6b360006158430000b00aa30..."} 
[2026-09-05 13:12:34] local.INFO: Processing buffer {"connection_id":172936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07080e2d0012d6b360006158430000b00aa30..."} 
[2026-09-05 13:12:34] local.INFO: Packet analysis {"connection_id":172936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:12:34] local.INFO: Extracted packet for processing {"connection_id":172936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:12:34] local.INFO: GPS Element Parsed {"raw_longitude":762000896,"raw_latitude":102073392,"longitude_deg":76.2000896,"latitude_deg":10.2073392,"altitude":11,"angle":170,"satellites":48,"speed":48,"hex_longitude":"2d6b3600","hex_latitude":"06158430","is_valid_coordinates":true} 
[2026-09-05 13:12: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-09-05 13:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880034560001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712720540139520,"note":"Value kept but may cause issues"} 
[2026-09-05 13:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7724165968281956352,"note":"Value kept but may cause issues"} 
[2026-09-05 13:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788593890000,"timestamp_ms":1788593890000,"timestamp_seconds":1788593890,"priority":1,"record_length":96,"hex_timestamp":"000001a07080e2d0"} 
[2026-09-05 13:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:12: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-09-05 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 13:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880034560001,"66":27800,"166":206,"79":20992,"24":48,"16":399712720540139520,"45":7724165968281956352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,79,24,16,45]} 
[2026-09-05 13:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880034560001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:12:34] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-05 13:12:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712720540139520,"km_value":399712720540139.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7724165968281956352,"description":"Unknown IO ID 45"} 
[2026-09-05 13:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880034560001,"power":27800,"unknown_166":206,"unknown_79":20992,"ignition":48,"odometer":null,"unknown_45":7724165968281956352}} 
[2026-09-05 13:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":172936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:12:34] local.INFO: GPS data processed {"connection_id":172936,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:12:34] local.INFO: Acknowledgment sent {"connection_id":172936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:12:45] local.INFO: TCP Data received {"connection_id":171544,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:12:45] local.INFO: Processing buffer {"connection_id":171544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:12:45] local.INFO: IMEI packet received {"connection_id":171544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":171544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:12:50] local.INFO: TCP Data received {"connection_id":171544,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:12:50] local.INFO: Processing buffer {"connection_id":171544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:12:50] local.INFO: IMEI packet received {"connection_id":171544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":171544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:12:51] local.INFO: TCP Data received {"connection_id":171544,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070840398012cee9f000732d898004e008224..."} 
[2026-09-05 13:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070840398012cee9f000732d898004e008224..."} 
[2026-09-05 13:12:51] local.INFO: Processing buffer {"connection_id":171544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070840398012cee9f000732d898004e008224..."} 
[2026-09-05 13:12:51] local.INFO: Packet analysis {"connection_id":171544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07084"} 
[2026-09-05 13:12:51] local.INFO: Extracted packet for processing {"connection_id":171544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07084"} 
[2026-09-05 13:12:51] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772760,"longitude_deg":75.3835776,"latitude_deg":12.077276,"altitude":78,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d898","is_valid_coordinates":true} 
[2026-09-05 13:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880088320001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 13:12:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467881984,"note":"Value kept but may cause issues"} 
[2026-09-05 13:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788594095000,"timestamp_ms":1788594095000,"timestamp_seconds":1788594095,"priority":1,"record_length":96,"hex_timestamp":"000001a070840398"} 
[2026-09-05 13:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880088320001,"66":2166,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252282140467881984},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880088320001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:12:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:12:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:12:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467881984,"description":"Unknown IO ID 44"} 
[2026-09-05 13:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880088320001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467881984}} 
[2026-09-05 13:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":171544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:12:51] local.INFO: GPS data processed {"connection_id":171544,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:12:51] local.INFO: Acknowledgment sent {"connection_id":171544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:12:56] local.INFO: TCP Data received {"connection_id":174245,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:12:56] local.INFO: Processing buffer {"connection_id":174245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:12:56] local.INFO: IMEI packet received {"connection_id":174245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":174245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:13:01] local.INFO: TCP Data received {"connection_id":174245,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:13:01] local.INFO: Processing buffer {"connection_id":174245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:13:01] local.INFO: IMEI packet received {"connection_id":174245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":174245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:13:02] local.INFO: TCP Data received {"connection_id":174245,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07080e2d0012d6b360006158430000b00aa30..."} 
[2026-09-05 13:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07080e2d0012d6b360006158430000b00aa30..."} 
[2026-09-05 13:13:02] local.INFO: Processing buffer {"connection_id":174245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07080e2d0012d6b360006158430000b00aa30..."} 
[2026-09-05 13:13:02] local.INFO: Packet analysis {"connection_id":174245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:13:02] local.INFO: Extracted packet for processing {"connection_id":174245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:13:02] local.INFO: GPS Element Parsed {"raw_longitude":762000896,"raw_latitude":102073392,"longitude_deg":76.2000896,"latitude_deg":10.2073392,"altitude":11,"angle":170,"satellites":48,"speed":48,"hex_longitude":"2d6b3600","hex_latitude":"06158430","is_valid_coordinates":true} 
[2026-09-05 13:13: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-09-05 13:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880034560001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712720540139520,"note":"Value kept but may cause issues"} 
[2026-09-05 13:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7724165968281956352,"note":"Value kept but may cause issues"} 
[2026-09-05 13:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788593890000,"timestamp_ms":1788593890000,"timestamp_seconds":1788593890,"priority":1,"record_length":96,"hex_timestamp":"000001a07080e2d0"} 
[2026-09-05 13:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 13:13: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-09-05 13: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-09-05 13:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:13: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-09-05 13:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880034560001,"66":27800,"166":206,"79":20992,"24":48,"16":399712720540139520,"45":7724165968281956352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,79,24,16,45]} 
[2026-09-05 13:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880034560001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:13:02] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-05 13:13:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712720540139520,"km_value":399712720540139.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7724165968281956352,"description":"Unknown IO ID 45"} 
[2026-09-05 13:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880034560001,"power":27800,"unknown_166":206,"unknown_79":20992,"ignition":48,"odometer":null,"unknown_45":7724165968281956352}} 
[2026-09-05 13:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":174245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:13:02] local.INFO: GPS data processed {"connection_id":174245,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:13:02] local.INFO: Acknowledgment sent {"connection_id":174245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:13:22] local.INFO: TCP Data received {"connection_id":171544,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070840398012cee9f000732d898004e008224..."} 
[2026-09-05 13:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070840398012cee9f000732d898004e008224..."} 
[2026-09-05 13:13:22] local.INFO: Processing buffer {"connection_id":171544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070840398012cee9f000732d898004e008224..."} 
[2026-09-05 13:13:22] local.INFO: Packet analysis {"connection_id":171544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07084"} 
[2026-09-05 13:13:22] local.INFO: Extracted packet for processing {"connection_id":171544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07084"} 
[2026-09-05 13:13:22] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772760,"longitude_deg":75.3835776,"latitude_deg":12.077276,"altitude":78,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d898","is_valid_coordinates":true} 
[2026-09-05 13:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880088320001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 13:13:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467881984,"note":"Value kept but may cause issues"} 
[2026-09-05 13:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788594095000,"timestamp_ms":1788594095000,"timestamp_seconds":1788594095,"priority":1,"record_length":96,"hex_timestamp":"000001a070840398"} 
[2026-09-05 13:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:13:22] 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-09-05 13:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880088320001,"66":2166,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252282140467881984},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880088320001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:13:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:13:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:13:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467881984,"description":"Unknown IO ID 44"} 
[2026-09-05 13:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880088320001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467881984}} 
[2026-09-05 13:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":171544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:13:22] local.INFO: GPS data processed {"connection_id":171544,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:13:22] local.INFO: Acknowledgment sent {"connection_id":171544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:13:34] local.INFO: TCP Data received {"connection_id":174245,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07080e2d0012d6b360006158430000b00aa30..."} 
[2026-09-05 13:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07080e2d0012d6b360006158430000b00aa30..."} 
[2026-09-05 13:13:34] local.INFO: Processing buffer {"connection_id":174245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07080e2d0012d6b360006158430000b00aa30..."} 
[2026-09-05 13:13:34] local.INFO: Packet analysis {"connection_id":174245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:13:34] local.INFO: Extracted packet for processing {"connection_id":174245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07080"} 
[2026-09-05 13:13:34] local.INFO: GPS Element Parsed {"raw_longitude":762000896,"raw_latitude":102073392,"longitude_deg":76.2000896,"latitude_deg":10.2073392,"altitude":11,"angle":170,"satellites":48,"speed":48,"hex_longitude":"2d6b3600","hex_latitude":"06158430","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880034560001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712720540139520,"note":"Value kept but may cause issues"} 
[2026-09-05 13:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7724165968281956352,"note":"Value kept but may cause issues"} 
[2026-09-05 13:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788593890000,"timestamp_ms":1788593890000,"timestamp_seconds":1788593890,"priority":1,"record_length":96,"hex_timestamp":"000001a07080e2d0"} 
[2026-09-05 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-09-05 13:13: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-09-05 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 13:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 13:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880034560001,"66":27800,"166":206,"79":20992,"24":48,"16":399712720540139520,"45":7724165968281956352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,79,24,16,45]} 
[2026-09-05 13:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880034560001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:13:34] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-05 13:13:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712720540139520,"km_value":399712720540139.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7724165968281956352,"description":"Unknown IO ID 45"} 
[2026-09-05 13:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880034560001,"power":27800,"unknown_166":206,"unknown_79":20992,"ignition":48,"odometer":null,"unknown_45":7724165968281956352}} 
[2026-09-05 13:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":174245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:13:34] local.INFO: GPS data processed {"connection_id":174245,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:13:34] local.INFO: Acknowledgment sent {"connection_id":174245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:13:50] local.INFO: TCP Data received {"connection_id":171839,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:13:50] local.INFO: Processing buffer {"connection_id":171839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:13:50] local.INFO: IMEI packet received {"connection_id":171839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":171839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:13:55] local.INFO: TCP Data received {"connection_id":171839,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:13:55] local.INFO: Processing buffer {"connection_id":171839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:13:55] local.INFO: IMEI packet received {"connection_id":171839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":171839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:13:56] local.INFO: TCP Data received {"connection_id":171839,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070845d70012cee9f800732d8f8004e008229..."} 
[2026-09-05 13:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070845d70012cee9f800732d8f8004e008229..."} 
[2026-09-05 13:13:56] local.INFO: Processing buffer {"connection_id":171839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070845d70012cee9f800732d8f8004e008229..."} 
[2026-09-05 13:13:56] local.INFO: Packet analysis {"connection_id":171839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07084"} 
[2026-09-05 13:13:56] local.INFO: Extracted packet for processing {"connection_id":171839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07084"} 
[2026-09-05 13:13:56] local.INFO: GPS Element Parsed {"raw_longitude":753835904,"raw_latitude":120772856,"longitude_deg":75.3835904,"latitude_deg":12.0772856,"altitude":78,"angle":130,"satellites":41,"speed":0,"hex_longitude":"2cee9f80","hex_latitude":"0732d8f8","is_valid_coordinates":true} 
[2026-09-05 13:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880088320001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 13:13:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467881984,"note":"Value kept but may cause issues"} 
[2026-09-05 13:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788594118000,"timestamp_ms":1788594118000,"timestamp_seconds":1788594118,"priority":1,"record_length":96,"hex_timestamp":"000001a070845d70"} 
[2026-09-05 13:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:13:56] 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-09-05 13:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:13:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:13:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880088320001,"66":13820,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252282140467881984},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880088320001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:13:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:13:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:13:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467881984,"description":"Unknown IO ID 44"} 
[2026-09-05 13:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880088320001,"power":13820,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467881984}} 
[2026-09-05 13:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":171839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:13:56] local.INFO: GPS data processed {"connection_id":171839,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:13:56] local.INFO: Acknowledgment sent {"connection_id":171839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:13:56] local.INFO: TCP Data received {"connection_id":171840,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:13:56] local.INFO: Processing buffer {"connection_id":171840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:13:56] local.INFO: IMEI packet received {"connection_id":171840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":171840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:14:01] local.INFO: TCP Data received {"connection_id":171839,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07084af78012cee9f800732d8f8004e008229..."} 
[2026-09-05 13:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07084af78012cee9f800732d8f8004e008229..."} 
[2026-09-05 13:14:01] local.INFO: Processing buffer {"connection_id":171839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07084af78012cee9f800732d8f8004e008229..."} 
[2026-09-05 13:14:01] local.INFO: Packet analysis {"connection_id":171839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07084"} 
[2026-09-05 13:14:01] local.INFO: Extracted packet for processing {"connection_id":171839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07084"} 
[2026-09-05 13:14:01] local.INFO: GPS Element Parsed {"raw_longitude":753835904,"raw_latitude":120772856,"longitude_deg":75.3835904,"latitude_deg":12.0772856,"altitude":78,"angle":130,"satellites":41,"speed":0,"hex_longitude":"2cee9f80","hex_latitude":"0732d8f8","is_valid_coordinates":true} 
[2026-09-05 13:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880094208001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720330688659456,"note":"Value kept but may cause issues"} 
[2026-09-05 13:14:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252141402979502080,"note":"Value kept but may cause issues"} 
[2026-09-05 13:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788594139000,"timestamp_ms":1788594139000,"timestamp_seconds":1788594139,"priority":1,"record_length":96,"hex_timestamp":"000001a07084af78"} 
[2026-09-05 13:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-05 13:14:01] 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-09-05 13:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880094208001,"66":13928,"103":206,"83":44032,"24":0,"16":17720330688659456,"44":-1252141402979502080},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880094208001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:14:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:14:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720330688659456,"km_value":17720330688659.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:14:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252141402979502080,"description":"Unknown IO ID 44"} 
[2026-09-05 13:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880094208001,"power":13928,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252141402979502080}} 
[2026-09-05 13:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":171839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:14:01] local.INFO: GPS data processed {"connection_id":171839,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:14:01] local.INFO: Acknowledgment sent {"connection_id":171839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:14:01] local.INFO: TCP Data received {"connection_id":171840,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:14:01] local.INFO: Processing buffer {"connection_id":171840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:14:01] local.INFO: IMEI packet received {"connection_id":171840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":171840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:14:03] local.INFO: TCP Data received {"connection_id":171840,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a070858650012d6b38c0061526e0000e00b134..."} 
[2026-09-05 13:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070858650012d6b38c0061526e0000e00b134..."} 
[2026-09-05 13:14:03] local.INFO: Processing buffer {"connection_id":171840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070858650012d6b38c0061526e0000e00b134..."} 
[2026-09-05 13:14:03] local.INFO: Packet analysis {"connection_id":171840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07085"} 
[2026-09-05 13:14:03] local.INFO: Extracted packet for processing {"connection_id":171840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07085"} 
[2026-09-05 13:14:03] local.INFO: GPS Element Parsed {"raw_longitude":762001600,"raw_latitude":102049504,"longitude_deg":76.20016,"latitude_deg":10.2049504,"altitude":14,"angle":177,"satellites":52,"speed":0,"hex_longitude":"2d6b38c0","hex_latitude":"061526e0","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880035840001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712720540139520,"note":"Value kept but may cause issues"} 
[2026-09-05 13:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7725362236931452928,"note":"Value kept but may cause issues"} 
[2026-09-05 13:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788594194000,"timestamp_ms":1788594194000,"timestamp_seconds":1788594194,"priority":1,"record_length":96,"hex_timestamp":"000001a070858650"} 
[2026-09-05 13:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 13:14: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-09-05 13: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-09-05 13:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880035840001,"66":26484,"238":206,"79":20992,"24":0,"16":399712720540139520,"45":7725362236931452928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,79,24,16,45]} 
[2026-09-05 13:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880035840001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:14:03] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-05 13:14:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712720540139520,"km_value":399712720540139.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7725362236931452928,"description":"Unknown IO ID 45"} 
[2026-09-05 13:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880035840001,"power":26484,"unknown_238":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7725362236931452928}} 
[2026-09-05 13:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":171840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:14:03] local.INFO: GPS data processed {"connection_id":171840,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:14:03] local.INFO: Acknowledgment sent {"connection_id":171840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:14:34] local.INFO: TCP Data received {"connection_id":171840,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a070858650012d6b38c0061526e0000e00b134..."} 
[2026-09-05 13:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070858650012d6b38c0061526e0000e00b134..."} 
[2026-09-05 13:14:34] local.INFO: Processing buffer {"connection_id":171840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070858650012d6b38c0061526e0000e00b134..."} 
[2026-09-05 13:14:34] local.INFO: Packet analysis {"connection_id":171840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07085"} 
[2026-09-05 13:14:34] local.INFO: Extracted packet for processing {"connection_id":171840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07085"} 
[2026-09-05 13:14:34] local.INFO: GPS Element Parsed {"raw_longitude":762001600,"raw_latitude":102049504,"longitude_deg":76.20016,"latitude_deg":10.2049504,"altitude":14,"angle":177,"satellites":52,"speed":0,"hex_longitude":"2d6b38c0","hex_latitude":"061526e0","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880035840001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712720540139520,"note":"Value kept but may cause issues"} 
[2026-09-05 13:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7725362236931452928,"note":"Value kept but may cause issues"} 
[2026-09-05 13:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788594194000,"timestamp_ms":1788594194000,"timestamp_seconds":1788594194,"priority":1,"record_length":96,"hex_timestamp":"000001a070858650"} 
[2026-09-05 13:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 13:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880035840001,"66":26484,"238":206,"79":20992,"24":0,"16":399712720540139520,"45":7725362236931452928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,79,24,16,45]} 
[2026-09-05 13:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880035840001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:14:34] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-05 13:14:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712720540139520,"km_value":399712720540139.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7725362236931452928,"description":"Unknown IO ID 45"} 
[2026-09-05 13:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880035840001,"power":26484,"unknown_238":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7725362236931452928}} 
[2026-09-05 13:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":171840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:14:34] local.INFO: GPS data processed {"connection_id":171840,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:14:34] local.INFO: Acknowledgment sent {"connection_id":171840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:14:45] local.INFO: TCP Data received {"connection_id":171841,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:14:45] local.INFO: Processing buffer {"connection_id":171841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:14:45] local.INFO: IMEI packet received {"connection_id":171841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":171841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:14:50] local.INFO: TCP Data received {"connection_id":171841,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:14:50] local.INFO: Processing buffer {"connection_id":171841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:14:50] local.INFO: IMEI packet received {"connection_id":171841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":171841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:14:51] local.INFO: TCP Data received {"connection_id":171841,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07084bf18012cee9fc00732d9b00050015e27..."} 
[2026-09-05 13:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07084bf18012cee9fc00732d9b00050015e27..."} 
[2026-09-05 13:14:51] local.INFO: Processing buffer {"connection_id":171841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07084bf18012cee9fc00732d9b00050015e27..."} 
[2026-09-05 13:14:51] local.INFO: Packet analysis {"connection_id":171841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07084"} 
[2026-09-05 13:14:51] local.INFO: Extracted packet for processing {"connection_id":171841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07084"} 
[2026-09-05 13:14:51] local.INFO: GPS Element Parsed {"raw_longitude":753835968,"raw_latitude":120773040,"longitude_deg":75.3835968,"latitude_deg":12.077304,"altitude":80,"angle":350,"satellites":39,"speed":2,"hex_longitude":"2cee9fc0","hex_latitude":"0732d9b0","is_valid_coordinates":true} 
[2026-09-05 13:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880099584001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720343573561344,"note":"Value kept but may cause issues"} 
[2026-09-05 13:14:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252141402979502080,"note":"Value kept but may cause issues"} 
[2026-09-05 13:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788594143000,"timestamp_ms":1788594143000,"timestamp_seconds":1788594143,"priority":1,"record_length":96,"hex_timestamp":"000001a07084bf18"} 
[2026-09-05 13:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:14: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-09-05 13:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-05 13:14:51] 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-09-05 13:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880099584001,"66":13961,"103":206,"83":44032,"24":2,"16":17720343573561344,"44":-1252141402979502080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880099584001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:14:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:14:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720343573561344,"km_value":17720343573561.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:14:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252141402979502080,"description":"Unknown IO ID 44"} 
[2026-09-05 13:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880099584001,"power":13961,"unknown_103":206,"unknown_83":44032,"ignition":2,"odometer":null,"unknown_44":-1252141402979502080}} 
[2026-09-05 13:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":171841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:14:51] local.INFO: GPS data processed {"connection_id":171841,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:14:51] local.INFO: Acknowledgment sent {"connection_id":171841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:14:56] local.INFO: TCP Data received {"connection_id":171842,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:14:56] local.INFO: Processing buffer {"connection_id":171842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:14:56] local.INFO: IMEI packet received {"connection_id":171842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":171842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:15:01] local.INFO: TCP Data received {"connection_id":171842,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:15:01] local.INFO: Processing buffer {"connection_id":171842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:15:01] local.INFO: IMEI packet received {"connection_id":171842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":171842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:15:08] local.INFO: TCP Data received {"connection_id":171842,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a070858650012d6b38c0061526e0000e00b134..."} 
[2026-09-05 13:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070858650012d6b38c0061526e0000e00b134..."} 
[2026-09-05 13:15:08] local.INFO: Processing buffer {"connection_id":171842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070858650012d6b38c0061526e0000e00b134..."} 
[2026-09-05 13:15:08] local.INFO: Packet analysis {"connection_id":171842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07085"} 
[2026-09-05 13:15:08] local.INFO: Extracted packet for processing {"connection_id":171842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07085"} 
[2026-09-05 13:15:08] local.INFO: GPS Element Parsed {"raw_longitude":762001600,"raw_latitude":102049504,"longitude_deg":76.20016,"latitude_deg":10.2049504,"altitude":14,"angle":177,"satellites":52,"speed":0,"hex_longitude":"2d6b38c0","hex_latitude":"061526e0","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880035840001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712720540139520,"note":"Value kept but may cause issues"} 
[2026-09-05 13:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7725362236931452928,"note":"Value kept but may cause issues"} 
[2026-09-05 13:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788594194000,"timestamp_ms":1788594194000,"timestamp_seconds":1788594194,"priority":1,"record_length":96,"hex_timestamp":"000001a070858650"} 
[2026-09-05 13:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 13:15: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-09-05 13: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-09-05 13:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:15: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-09-05 13:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880035840001,"66":26484,"238":206,"79":20992,"24":0,"16":399712720540139520,"45":7725362236931452928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,79,24,16,45]} 
[2026-09-05 13:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880035840001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:15:08] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-05 13:15:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712720540139520,"km_value":399712720540139.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7725362236931452928,"description":"Unknown IO ID 45"} 
[2026-09-05 13:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880035840001,"power":26484,"unknown_238":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7725362236931452928}} 
[2026-09-05 13:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":171842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:15:08] local.INFO: GPS data processed {"connection_id":171842,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:15:08] local.INFO: Acknowledgment sent {"connection_id":171842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:15:22] local.INFO: TCP Data received {"connection_id":171841,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07084c300012cee9fc00732da180050000827..."} 
[2026-09-05 13:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07084c300012cee9fc00732da180050000827..."} 
[2026-09-05 13:15:22] local.INFO: Processing buffer {"connection_id":171841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07084c300012cee9fc00732da180050000827..."} 
[2026-09-05 13:15:22] local.INFO: Packet analysis {"connection_id":171841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07084"} 
[2026-09-05 13:15:22] local.INFO: Extracted packet for processing {"connection_id":171841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07084"} 
[2026-09-05 13:15:22] local.INFO: GPS Element Parsed {"raw_longitude":753835968,"raw_latitude":120773144,"longitude_deg":75.3835968,"latitude_deg":12.0773144,"altitude":80,"angle":8,"satellites":39,"speed":3,"hex_longitude":"2cee9fc0","hex_latitude":"0732da18","is_valid_coordinates":true} 
[2026-09-05 13:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880100608001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720347868528640,"note":"Value kept but may cause issues"} 
[2026-09-05 13:15:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252071034235277312,"note":"Value kept but may cause issues"} 
[2026-09-05 13:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788594144000,"timestamp_ms":1788594144000,"timestamp_seconds":1788594144,"priority":1,"record_length":96,"hex_timestamp":"000001a07084c300"} 
[2026-09-05 13:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:15:22] 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-09-05 13:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-05 13:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880100608001,"66":13820,"103":206,"83":44032,"24":3,"16":17720347868528640,"44":-1252071034235277312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880100608001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:15:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:15:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720347868528640,"km_value":17720347868528.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:15:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252071034235277312,"description":"Unknown IO ID 44"} 
[2026-09-05 13:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880100608001,"power":13820,"unknown_103":206,"unknown_83":44032,"ignition":3,"odometer":null,"unknown_44":-1252071034235277312}} 
[2026-09-05 13:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":171841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:15:22] local.INFO: GPS data processed {"connection_id":171841,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:15:22] local.INFO: Acknowledgment sent {"connection_id":171841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:15:40] local.INFO: TCP Data received {"connection_id":171842,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a070858650012d6b38c0061526e0000e00b134..."} 
[2026-09-05 13:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070858650012d6b38c0061526e0000e00b134..."} 
[2026-09-05 13:15:40] local.INFO: Processing buffer {"connection_id":171842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070858650012d6b38c0061526e0000e00b134..."} 
[2026-09-05 13:15:40] local.INFO: Packet analysis {"connection_id":171842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07085"} 
[2026-09-05 13:15:40] local.INFO: Extracted packet for processing {"connection_id":171842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07085"} 
[2026-09-05 13:15:40] local.INFO: GPS Element Parsed {"raw_longitude":762001600,"raw_latitude":102049504,"longitude_deg":76.20016,"latitude_deg":10.2049504,"altitude":14,"angle":177,"satellites":52,"speed":0,"hex_longitude":"2d6b38c0","hex_latitude":"061526e0","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880035840001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712720540139520,"note":"Value kept but may cause issues"} 
[2026-09-05 13:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7725362236931452928,"note":"Value kept but may cause issues"} 
[2026-09-05 13:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788594194000,"timestamp_ms":1788594194000,"timestamp_seconds":1788594194,"priority":1,"record_length":96,"hex_timestamp":"000001a070858650"} 
[2026-09-05 13:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 13:15:40] 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-09-05 13: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-09-05 13:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":171842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":171842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":171842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880035840001,"66":26484,"238":206,"79":20992,"24":0,"16":399712720540139520,"45":7725362236931452928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,79,24,16,45]} 
[2026-09-05 13:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880035840001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:15:40] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-05 13:15:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712720540139520,"km_value":399712720540139.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":7725362236931452928,"description":"Unknown IO ID 45"} 
[2026-09-05 13:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880035840001,"power":26484,"unknown_238":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7725362236931452928}} 
[2026-09-05 13:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":171842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:15:40] local.INFO: GPS data processed {"connection_id":171842,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:15:40] local.INFO: Acknowledgment sent {"connection_id":171842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:15:45] local.INFO: TCP Data received {"connection_id":172937,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:15:45] local.INFO: Processing buffer {"connection_id":172937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:15:45] local.INFO: IMEI packet received {"connection_id":172937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":172937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:15:50] local.INFO: TCP Data received {"connection_id":172937,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:15:50] local.INFO: Processing buffer {"connection_id":172937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:15:50] local.INFO: IMEI packet received {"connection_id":172937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":172937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:15:51] local.INFO: TCP Data received {"connection_id":172937,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07084c6e8012ceea0000732da700050001428..."} 
[2026-09-05 13:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07084c6e8012ceea0000732da700050001428..."} 
[2026-09-05 13:15:51] local.INFO: Processing buffer {"connection_id":172937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07084c6e8012ceea0000732da700050001428..."} 
[2026-09-05 13:15:51] local.INFO: Packet analysis {"connection_id":172937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07084"} 
[2026-09-05 13:15:51] local.INFO: Extracted packet for processing {"connection_id":172937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07084"} 
[2026-09-05 13:15:51] local.INFO: GPS Element Parsed {"raw_longitude":753836032,"raw_latitude":120773232,"longitude_deg":75.3836032,"latitude_deg":12.0773232,"altitude":80,"angle":20,"satellites":40,"speed":3,"hex_longitude":"2ceea000","hex_latitude":"0732da70","is_valid_coordinates":true} 
[2026-09-05 13:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880100864001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720352163495936,"note":"Value kept but may cause issues"} 
[2026-09-05 13:15:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252071034235250688,"note":"Value kept but may cause issues"} 
[2026-09-05 13:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788594145000,"timestamp_ms":1788594145000,"timestamp_seconds":1788594145,"priority":1,"record_length":96,"hex_timestamp":"000001a07084c6e8"} 
[2026-09-05 13:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:15: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-09-05 13:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-05 13:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880100864001,"66":13820,"103":206,"83":44032,"24":3,"16":17720352163495936,"44":-1252071034235250688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880100864001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:15:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:15:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720352163495936,"km_value":17720352163495.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:15:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252071034235250688,"description":"Unknown IO ID 44"} 
[2026-09-05 13:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880100864001,"power":13820,"unknown_103":206,"unknown_83":44032,"ignition":3,"odometer":null,"unknown_44":-1252071034235250688}} 
[2026-09-05 13:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":172937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:15:51] local.INFO: GPS data processed {"connection_id":172937,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:15:51] local.INFO: Acknowledgment sent {"connection_id":172937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:15:56] local.INFO: TCP Data received {"connection_id":172939,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:15:56] local.INFO: Processing buffer {"connection_id":172939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:15:56] local.INFO: IMEI packet received {"connection_id":172939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":172939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:16:02] local.INFO: TCP Data received {"connection_id":172939,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:16:02] local.INFO: Processing buffer {"connection_id":172939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:16:02] local.INFO: IMEI packet received {"connection_id":172939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":172939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:16:03] local.INFO: TCP Data received {"connection_id":172939,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a070858650012d6b38c0061526e0000e00b134..."} 
[2026-09-05 13:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070858650012d6b38c0061526e0000e00b134..."} 
[2026-09-05 13:16:03] local.INFO: Processing buffer {"connection_id":172939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070858650012d6b38c0061526e0000e00b134..."} 
[2026-09-05 13:16:03] local.INFO: Packet analysis {"connection_id":172939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07085"} 
[2026-09-05 13:16:03] local.INFO: Extracted packet for processing {"connection_id":172939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07085"} 
[2026-09-05 13:16:03] local.INFO: GPS Element Parsed {"raw_longitude":762001600,"raw_latitude":102049504,"longitude_deg":76.20016,"latitude_deg":10.2049504,"altitude":14,"angle":177,"satellites":52,"speed":0,"hex_longitude":"2d6b38c0","hex_latitude":"061526e0","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880035840001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712720540139520,"note":"Value kept but may cause issues"} 
[2026-09-05 13:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7725362236931452928,"note":"Value kept but may cause issues"} 
[2026-09-05 13:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788594194000,"timestamp_ms":1788594194000,"timestamp_seconds":1788594194,"priority":1,"record_length":96,"hex_timestamp":"000001a070858650"} 
[2026-09-05 13:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 13:16: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-09-05 13: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-09-05 13:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:16: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-09-05 13:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880035840001,"66":26484,"238":206,"79":20992,"24":0,"16":399712720540139520,"45":7725362236931452928},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,79,24,16,45]} 
[2026-09-05 13:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880035840001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:16:03] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-05 13:16:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712720540139520,"km_value":399712720540139.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7725362236931452928,"description":"Unknown IO ID 45"} 
[2026-09-05 13:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880035840001,"power":26484,"unknown_238":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7725362236931452928}} 
[2026-09-05 13:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":172939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:16:03] local.INFO: GPS data processed {"connection_id":172939,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:16:03] local.INFO: Acknowledgment sent {"connection_id":172939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:16:22] local.INFO: TCP Data received {"connection_id":172937,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07084cad0012ceea0800732dab00050002627..."} 
[2026-09-05 13:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07084cad0012ceea0800732dab00050002627..."} 
[2026-09-05 13:16:22] local.INFO: Processing buffer {"connection_id":172937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07084cad0012ceea0800732dab00050002627..."} 
[2026-09-05 13:16:22] local.INFO: Packet analysis {"connection_id":172937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07084"} 
[2026-09-05 13:16:22] local.INFO: Extracted packet for processing {"connection_id":172937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07084"} 
[2026-09-05 13:16:22] local.INFO: GPS Element Parsed {"raw_longitude":753836160,"raw_latitude":120773296,"longitude_deg":75.383616,"latitude_deg":12.0773296,"altitude":80,"angle":38,"satellites":39,"speed":3,"hex_longitude":"2ceea080","hex_latitude":"0732dab0","is_valid_coordinates":true} 
[2026-09-05 13:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880101120001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720356458463232,"note":"Value kept but may cause issues"} 
[2026-09-05 13:16:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252000665491050496,"note":"Value kept but may cause issues"} 
[2026-09-05 13:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788594146000,"timestamp_ms":1788594146000,"timestamp_seconds":1788594146,"priority":1,"record_length":96,"hex_timestamp":"000001a07084cad0"} 
[2026-09-05 13:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:16:22] 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-09-05 13:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-05 13:16:22] 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-09-05 13:16:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880101120001,"66":13993,"103":206,"83":44032,"24":3,"16":17720356458463232,"44":-1252000665491050496},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880101120001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:16:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:16:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720356458463232,"km_value":17720356458463.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:16:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252000665491050496,"description":"Unknown IO ID 44"} 
[2026-09-05 13:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880101120001,"power":13993,"unknown_103":206,"unknown_83":44032,"ignition":3,"odometer":null,"unknown_44":-1252000665491050496}} 
[2026-09-05 13:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":172937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:16:22] local.INFO: GPS data processed {"connection_id":172937,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:16:22] local.INFO: Acknowledgment sent {"connection_id":172937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:16:34] local.INFO: TCP Data received {"connection_id":172939,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a070858650012d6b38c0061526e0000e00b134..."} 
[2026-09-05 13:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070858650012d6b38c0061526e0000e00b134..."} 
[2026-09-05 13:16:34] local.INFO: Processing buffer {"connection_id":172939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070858650012d6b38c0061526e0000e00b134..."} 
[2026-09-05 13:16:34] local.INFO: Packet analysis {"connection_id":172939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07085"} 
[2026-09-05 13:16:34] local.INFO: Extracted packet for processing {"connection_id":172939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07085"} 
[2026-09-05 13:16:34] local.INFO: GPS Element Parsed {"raw_longitude":762001600,"raw_latitude":102049504,"longitude_deg":76.20016,"latitude_deg":10.2049504,"altitude":14,"angle":177,"satellites":52,"speed":0,"hex_longitude":"2d6b38c0","hex_latitude":"061526e0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 13:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880035840001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712720540139520,"note":"Value kept but may cause issues"} 
[2026-09-05 13:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7725362236931452928,"note":"Value kept but may cause issues"} 
[2026-09-05 13:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788594194000,"timestamp_ms":1788594194000,"timestamp_seconds":1788594194,"priority":1,"record_length":96,"hex_timestamp":"000001a070858650"} 
[2026-09-05 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-09-05 13:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 13:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 13:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:16: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-09-05 13:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880035840001,"66":26484,"238":206,"79":20992,"24":0,"16":399712720540139520,"45":7725362236931452928},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,79,24,16,45]} 
[2026-09-05 13:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880035840001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:16:34] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-05 13:16:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712720540139520,"km_value":399712720540139.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7725362236931452928,"description":"Unknown IO ID 45"} 
[2026-09-05 13:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880035840001,"power":26484,"unknown_238":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7725362236931452928}} 
[2026-09-05 13:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":172939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:16:34] local.INFO: GPS data processed {"connection_id":172939,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:16:34] local.INFO: Acknowledgment sent {"connection_id":172939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:16:45] local.INFO: TCP Data received {"connection_id":171546,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:16:45] local.INFO: Processing buffer {"connection_id":171546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:16:45] local.INFO: IMEI packet received {"connection_id":171546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":171546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:16:50] local.INFO: TCP Data received {"connection_id":171546,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:16:50] local.INFO: Processing buffer {"connection_id":171546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:16:50] local.INFO: IMEI packet received {"connection_id":171546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":171546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:16:51] local.INFO: TCP Data received {"connection_id":171546,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07084ceb8012ceea0c00732dad80050005428..."} 
[2026-09-05 13:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07084ceb8012ceea0c00732dad80050005428..."} 
[2026-09-05 13:16:51] local.INFO: Processing buffer {"connection_id":171546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07084ceb8012ceea0c00732dad80050005428..."} 
[2026-09-05 13:16:51] local.INFO: Packet analysis {"connection_id":171546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07084"} 
[2026-09-05 13:16:51] local.INFO: Extracted packet for processing {"connection_id":171546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07084"} 
[2026-09-05 13:16:51] local.INFO: GPS Element Parsed {"raw_longitude":753836224,"raw_latitude":120773336,"longitude_deg":75.3836224,"latitude_deg":12.0773336,"altitude":80,"angle":84,"satellites":40,"speed":3,"hex_longitude":"2ceea0c0","hex_latitude":"0732dad8","is_valid_coordinates":true} 
[2026-09-05 13:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880101376001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720360753430528,"note":"Value kept but may cause issues"} 
[2026-09-05 13:16:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1251859928002678784,"note":"Value kept but may cause issues"} 
[2026-09-05 13:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788594147000,"timestamp_ms":1788594147000,"timestamp_seconds":1788594147,"priority":1,"record_length":96,"hex_timestamp":"000001a07084ceb8"} 
[2026-09-05 13:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:16: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-09-05 13:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 13:16:51] 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-09-05 13:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880101376001,"66":13993,"103":206,"83":44032,"24":3,"16":17720360753430528,"44":-1251859928002678784},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880101376001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:16:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:16:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720360753430528,"km_value":17720360753430.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:16:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1251859928002678784,"description":"Unknown IO ID 44"} 
[2026-09-05 13:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880101376001,"power":13993,"unknown_103":206,"unknown_83":44032,"ignition":3,"odometer":null,"unknown_44":-1251859928002678784}} 
[2026-09-05 13:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":171546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:16:51] local.INFO: GPS data processed {"connection_id":171546,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:16:51] local.INFO: Acknowledgment sent {"connection_id":171546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:16:56] local.INFO: TCP Data received {"connection_id":171547,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:16:56] local.INFO: Processing buffer {"connection_id":171547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:16:56] local.INFO: IMEI packet received {"connection_id":171547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":171547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:17:01] local.INFO: TCP Data received {"connection_id":171547,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:17:01] local.INFO: Processing buffer {"connection_id":171547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:17:01] local.INFO: IMEI packet received {"connection_id":171547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":171547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:17:02] local.INFO: TCP Data received {"connection_id":171547,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a070858650012d6b38c0061526e0000e00b134..."} 
[2026-09-05 13:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070858650012d6b38c0061526e0000e00b134..."} 
[2026-09-05 13:17:02] local.INFO: Processing buffer {"connection_id":171547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070858650012d6b38c0061526e0000e00b134..."} 
[2026-09-05 13:17:02] local.INFO: Packet analysis {"connection_id":171547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07085"} 
[2026-09-05 13:17:02] local.INFO: Extracted packet for processing {"connection_id":171547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07085"} 
[2026-09-05 13:17:02] local.INFO: GPS Element Parsed {"raw_longitude":762001600,"raw_latitude":102049504,"longitude_deg":76.20016,"latitude_deg":10.2049504,"altitude":14,"angle":177,"satellites":52,"speed":0,"hex_longitude":"2d6b38c0","hex_latitude":"061526e0","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880035840001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712720540139520,"note":"Value kept but may cause issues"} 
[2026-09-05 13:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7725362236931452928,"note":"Value kept but may cause issues"} 
[2026-09-05 13:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788594194000,"timestamp_ms":1788594194000,"timestamp_seconds":1788594194,"priority":1,"record_length":96,"hex_timestamp":"000001a070858650"} 
[2026-09-05 13:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 13:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:17: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-09-05 13:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880035840001,"66":26484,"238":206,"79":20992,"24":0,"16":399712720540139520,"45":7725362236931452928},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,79,24,16,45]} 
[2026-09-05 13:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880035840001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:17:02] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-05 13:17:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712720540139520,"km_value":399712720540139.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7725362236931452928,"description":"Unknown IO ID 45"} 
[2026-09-05 13:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880035840001,"power":26484,"unknown_238":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7725362236931452928}} 
[2026-09-05 13:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":171547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:17:02] local.INFO: GPS data processed {"connection_id":171547,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:17:02] local.INFO: Acknowledgment sent {"connection_id":171547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:17:22] local.INFO: TCP Data received {"connection_id":171546,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07084d688012ceea1000732db100050004428..."} 
[2026-09-05 13:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07084d688012ceea1000732db100050004428..."} 
[2026-09-05 13:17:22] local.INFO: Processing buffer {"connection_id":171546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07084d688012ceea1000732db100050004428..."} 
[2026-09-05 13:17:22] local.INFO: Packet analysis {"connection_id":171546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07084"} 
[2026-09-05 13:17:22] local.INFO: Extracted packet for processing {"connection_id":171546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07084"} 
[2026-09-05 13:17:22] local.INFO: GPS Element Parsed {"raw_longitude":753836288,"raw_latitude":120773392,"longitude_deg":75.3836288,"latitude_deg":12.0773392,"altitude":80,"angle":68,"satellites":40,"speed":1,"hex_longitude":"2ceea100","hex_latitude":"0732db10","is_valid_coordinates":true} 
[2026-09-05 13:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880101632001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720365048397824,"note":"Value kept but may cause issues"} 
[2026-09-05 13:17:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1251789559258490880,"note":"Value kept but may cause issues"} 
[2026-09-05 13:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788594149000,"timestamp_ms":1788594149000,"timestamp_seconds":1788594149,"priority":1,"record_length":96,"hex_timestamp":"000001a07084d688"} 
[2026-09-05 13:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:17:22] 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-09-05 13:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 13:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880101632001,"66":13928,"103":206,"83":44032,"24":1,"16":17720365048397824,"44":-1251789559258490880},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880101632001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:17:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:17:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720365048397824,"km_value":17720365048397.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:17:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1251789559258490880,"description":"Unknown IO ID 44"} 
[2026-09-05 13:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880101632001,"power":13928,"unknown_103":206,"unknown_83":44032,"ignition":1,"odometer":null,"unknown_44":-1251789559258490880}} 
[2026-09-05 13:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":171546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:17:22] local.INFO: GPS data processed {"connection_id":171546,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:17:22] local.INFO: Acknowledgment sent {"connection_id":171546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:17:34] local.INFO: TCP Data received {"connection_id":171547,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a070858650012d6b38c0061526e0000e00b134..."} 
[2026-09-05 13:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070858650012d6b38c0061526e0000e00b134..."} 
[2026-09-05 13:17:34] local.INFO: Processing buffer {"connection_id":171547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070858650012d6b38c0061526e0000e00b134..."} 
[2026-09-05 13:17:34] local.INFO: Packet analysis {"connection_id":171547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07085"} 
[2026-09-05 13:17:34] local.INFO: Extracted packet for processing {"connection_id":171547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07085"} 
[2026-09-05 13:17:34] local.INFO: GPS Element Parsed {"raw_longitude":762001600,"raw_latitude":102049504,"longitude_deg":76.20016,"latitude_deg":10.2049504,"altitude":14,"angle":177,"satellites":52,"speed":0,"hex_longitude":"2d6b38c0","hex_latitude":"061526e0","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880035840001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712720540139520,"note":"Value kept but may cause issues"} 
[2026-09-05 13:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7725362236931452928,"note":"Value kept but may cause issues"} 
[2026-09-05 13:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788594194000,"timestamp_ms":1788594194000,"timestamp_seconds":1788594194,"priority":1,"record_length":96,"hex_timestamp":"000001a070858650"} 
[2026-09-05 13:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 13:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880035840001,"66":26484,"238":206,"79":20992,"24":0,"16":399712720540139520,"45":7725362236931452928},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,79,24,16,45]} 
[2026-09-05 13:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880035840001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:17:34] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-05 13:17:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712720540139520,"km_value":399712720540139.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7725362236931452928,"description":"Unknown IO ID 45"} 
[2026-09-05 13:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880035840001,"power":26484,"unknown_238":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7725362236931452928}} 
[2026-09-05 13:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":171547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:17:34] local.INFO: GPS data processed {"connection_id":171547,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:17:34] local.INFO: Acknowledgment sent {"connection_id":171547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:17:45] local.INFO: TCP Data received {"connection_id":172941,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:17:45] local.INFO: Processing buffer {"connection_id":172941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:17:45] local.INFO: IMEI packet received {"connection_id":172941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":172941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:17:50] local.INFO: TCP Data received {"connection_id":172941,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:17:50] local.INFO: Processing buffer {"connection_id":172941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:17:50] local.INFO: IMEI packet received {"connection_id":172941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":172941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:17:51] local.INFO: TCP Data received {"connection_id":172941,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0708520c0012ceea1000732db48005000442a..."} 
[2026-09-05 13:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708520c0012ceea1000732db48005000442a..."} 
[2026-09-05 13:17:51] local.INFO: Processing buffer {"connection_id":172941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708520c0012ceea1000732db48005000442a..."} 
[2026-09-05 13:17:51] local.INFO: Packet analysis {"connection_id":172941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07085"} 
[2026-09-05 13:17:51] local.INFO: Extracted packet for processing {"connection_id":172941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07085"} 
[2026-09-05 13:17:51] local.INFO: GPS Element Parsed {"raw_longitude":753836288,"raw_latitude":120773448,"longitude_deg":75.3836288,"latitude_deg":12.0773448,"altitude":80,"angle":68,"satellites":42,"speed":0,"hex_longitude":"2ceea100","hex_latitude":"0732db48","is_valid_coordinates":true} 
[2026-09-05 13:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880102144001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:17:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1251719190514298880,"note":"Value kept but may cause issues"} 
[2026-09-05 13:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788594168000,"timestamp_ms":1788594168000,"timestamp_seconds":1788594168,"priority":1,"record_length":96,"hex_timestamp":"000001a0708520c0"} 
[2026-09-05 13:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:17: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-09-05 13:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-05 13:17:51] 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-09-05 13:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880102144001,"66":13080,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1251719190514298880},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880102144001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:17:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:17:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:17:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1251719190514298880,"description":"Unknown IO ID 44"} 
[2026-09-05 13:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880102144001,"power":13080,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1251719190514298880}} 
[2026-09-05 13:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":172941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:17:51] local.INFO: GPS data processed {"connection_id":172941,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:17:51] local.INFO: Acknowledgment sent {"connection_id":172941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:17:56] local.INFO: TCP Data received {"connection_id":172942,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:17:56] local.INFO: Processing buffer {"connection_id":172942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:17:56] local.INFO: IMEI packet received {"connection_id":172942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":172942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:18:01] local.INFO: TCP Data received {"connection_id":172942,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:18:01] local.INFO: Processing buffer {"connection_id":172942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:18:01] local.INFO: IMEI packet received {"connection_id":172942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":172942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:18:02] local.INFO: TCP Data received {"connection_id":172942,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a070858650012d6b38c0061526e0000e00b134..."} 
[2026-09-05 13:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070858650012d6b38c0061526e0000e00b134..."} 
[2026-09-05 13:18:02] local.INFO: Processing buffer {"connection_id":172942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070858650012d6b38c0061526e0000e00b134..."} 
[2026-09-05 13:18:02] local.INFO: Packet analysis {"connection_id":172942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07085"} 
[2026-09-05 13:18:02] local.INFO: Extracted packet for processing {"connection_id":172942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07085"} 
[2026-09-05 13:18:02] local.INFO: GPS Element Parsed {"raw_longitude":762001600,"raw_latitude":102049504,"longitude_deg":76.20016,"latitude_deg":10.2049504,"altitude":14,"angle":177,"satellites":52,"speed":0,"hex_longitude":"2d6b38c0","hex_latitude":"061526e0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 13:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880035840001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712720540139520,"note":"Value kept but may cause issues"} 
[2026-09-05 13:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7725362236931452928,"note":"Value kept but may cause issues"} 
[2026-09-05 13:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788594194000,"timestamp_ms":1788594194000,"timestamp_seconds":1788594194,"priority":1,"record_length":96,"hex_timestamp":"000001a070858650"} 
[2026-09-05 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-09-05 13:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 13:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 13:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880035840001,"66":26484,"238":206,"79":20992,"24":0,"16":399712720540139520,"45":7725362236931452928},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,79,24,16,45]} 
[2026-09-05 13:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880035840001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:18:02] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-05 13:18:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712720540139520,"km_value":399712720540139.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7725362236931452928,"description":"Unknown IO ID 45"} 
[2026-09-05 13:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880035840001,"power":26484,"unknown_238":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7725362236931452928}} 
[2026-09-05 13:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":172942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:18:02] local.INFO: GPS data processed {"connection_id":172942,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:18:02] local.INFO: Acknowledgment sent {"connection_id":172942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:18:22] local.INFO: TCP Data received {"connection_id":172941,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0708520c0012ceea1000732db48005000442a..."} 
[2026-09-05 13:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708520c0012ceea1000732db48005000442a..."} 
[2026-09-05 13:18:22] local.INFO: Processing buffer {"connection_id":172941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708520c0012ceea1000732db48005000442a..."} 
[2026-09-05 13:18:22] local.INFO: Packet analysis {"connection_id":172941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07085"} 
[2026-09-05 13:18:22] local.INFO: Extracted packet for processing {"connection_id":172941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07085"} 
[2026-09-05 13:18:22] local.INFO: GPS Element Parsed {"raw_longitude":753836288,"raw_latitude":120773448,"longitude_deg":75.3836288,"latitude_deg":12.0773448,"altitude":80,"angle":68,"satellites":42,"speed":0,"hex_longitude":"2ceea100","hex_latitude":"0732db48","is_valid_coordinates":true} 
[2026-09-05 13:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880107008001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:18:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1251719190514284544,"note":"Value kept but may cause issues"} 
[2026-09-05 13:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788594168000,"timestamp_ms":1788594168000,"timestamp_seconds":1788594168,"priority":1,"record_length":96,"hex_timestamp":"000001a0708520c0"} 
[2026-09-05 13:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:18:22] 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-09-05 13:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-05 13:18:22] 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-09-05 13:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880107008001,"66":13080,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1251719190514284544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880107008001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:18:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:18:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:18:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1251719190514284544,"description":"Unknown IO ID 44"} 
[2026-09-05 13:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880107008001,"power":13080,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1251719190514284544}} 
[2026-09-05 13:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":172941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:18:22] local.INFO: GPS data processed {"connection_id":172941,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:18:22] local.INFO: Acknowledgment sent {"connection_id":172941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:18:34] local.INFO: TCP Data received {"connection_id":172942,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a070858650012d6b38c0061526e0000e00b134..."} 
[2026-09-05 13:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070858650012d6b38c0061526e0000e00b134..."} 
[2026-09-05 13:18:34] local.INFO: Processing buffer {"connection_id":172942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070858650012d6b38c0061526e0000e00b134..."} 
[2026-09-05 13:18:34] local.INFO: Packet analysis {"connection_id":172942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07085"} 
[2026-09-05 13:18:34] local.INFO: Extracted packet for processing {"connection_id":172942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07085"} 
[2026-09-05 13:18:34] local.INFO: GPS Element Parsed {"raw_longitude":762001600,"raw_latitude":102049504,"longitude_deg":76.20016,"latitude_deg":10.2049504,"altitude":14,"angle":177,"satellites":52,"speed":0,"hex_longitude":"2d6b38c0","hex_latitude":"061526e0","is_valid_coordinates":true} 
[2026-09-05 13:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880035840001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712720540139520,"note":"Value kept but may cause issues"} 
[2026-09-05 13:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7725362236931452928,"note":"Value kept but may cause issues"} 
[2026-09-05 13:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788594194000,"timestamp_ms":1788594194000,"timestamp_seconds":1788594194,"priority":1,"record_length":96,"hex_timestamp":"000001a070858650"} 
[2026-09-05 13:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 13:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880035840001,"66":26484,"238":206,"79":20992,"24":0,"16":399712720540139520,"45":7725362236931452928},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,79,24,16,45]} 
[2026-09-05 13:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880035840001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:18:34] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-05 13:18:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712720540139520,"km_value":399712720540139.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7725362236931452928,"description":"Unknown IO ID 45"} 
[2026-09-05 13:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880035840001,"power":26484,"unknown_238":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7725362236931452928}} 
[2026-09-05 13:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":172942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:18:34] local.INFO: GPS data processed {"connection_id":172942,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:18:34] local.INFO: Acknowledgment sent {"connection_id":172942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:18:50] local.INFO: TCP Data received {"connection_id":171843,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:18:50] local.INFO: Processing buffer {"connection_id":171843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:18:50] local.INFO: IMEI packet received {"connection_id":171843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":171843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:18:55] local.INFO: TCP Data received {"connection_id":171843,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:18:55] local.INFO: Processing buffer {"connection_id":171843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:18:55] local.INFO: IMEI packet received {"connection_id":171843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":171843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:18:56] local.INFO: TCP Data received {"connection_id":171844,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:18:56] local.INFO: Processing buffer {"connection_id":171844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:18:56] local.INFO: IMEI packet received {"connection_id":171844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":171844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:18:56] local.INFO: TCP Data received {"connection_id":171843,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0708520c0012ceea1000732db48005000442a..."} 
[2026-09-05 13:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708520c0012ceea1000732db48005000442a..."} 
[2026-09-05 13:18:56] local.INFO: Processing buffer {"connection_id":171843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708520c0012ceea1000732db48005000442a..."} 
[2026-09-05 13:18:56] local.INFO: Packet analysis {"connection_id":171843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07085"} 
[2026-09-05 13:18:56] local.INFO: Extracted packet for processing {"connection_id":171843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07085"} 
[2026-09-05 13:18:56] local.INFO: GPS Element Parsed {"raw_longitude":753836288,"raw_latitude":120773448,"longitude_deg":75.3836288,"latitude_deg":12.0773448,"altitude":80,"angle":68,"satellites":42,"speed":0,"hex_longitude":"2ceea100","hex_latitude":"0732db48","is_valid_coordinates":true} 
[2026-09-05 13:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880107008001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:18:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1251719190514284544,"note":"Value kept but may cause issues"} 
[2026-09-05 13:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788594168000,"timestamp_ms":1788594168000,"timestamp_seconds":1788594168,"priority":1,"record_length":96,"hex_timestamp":"000001a0708520c0"} 
[2026-09-05 13:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:18:56] 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-09-05 13:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-05 13:18:56] 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-09-05 13:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880107008001,"66":13080,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1251719190514284544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880107008001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:18:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:18:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:18:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1251719190514284544,"description":"Unknown IO ID 44"} 
[2026-09-05 13:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880107008001,"power":13080,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1251719190514284544}} 
[2026-09-05 13:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":171843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:18:56] local.INFO: GPS data processed {"connection_id":171843,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:18:56] local.INFO: Acknowledgment sent {"connection_id":171843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:19:00] local.INFO: TCP Data received {"connection_id":171843,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070852890012ceea1000732db480050004429..."} 
[2026-09-05 13:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070852890012ceea1000732db480050004429..."} 
[2026-09-05 13:19:00] local.INFO: Processing buffer {"connection_id":171843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070852890012ceea1000732db480050004429..."} 
[2026-09-05 13:19:00] local.INFO: Packet analysis {"connection_id":171843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07085"} 
[2026-09-05 13:19:00] local.INFO: Extracted packet for processing {"connection_id":171843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07085"} 
[2026-09-05 13:19:00] local.INFO: GPS Element Parsed {"raw_longitude":753836288,"raw_latitude":120773448,"longitude_deg":75.3836288,"latitude_deg":12.0773448,"altitude":80,"angle":68,"satellites":41,"speed":0,"hex_longitude":"2ceea100","hex_latitude":"0732db48","is_valid_coordinates":true} 
[2026-09-05 13:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880107008001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:19:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1251719190514284544,"note":"Value kept but may cause issues"} 
[2026-09-05 13:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788594170000,"timestamp_ms":1788594170000,"timestamp_seconds":1788594170,"priority":1,"record_length":96,"hex_timestamp":"000001a070852890"} 
[2026-09-05 13:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:19:00] 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-09-05 13:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-05 13:19:00] 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-09-05 13:19:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880107008001,"66":2612,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1251719190514284544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880107008001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:19:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:19:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:19:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1251719190514284544,"description":"Unknown IO ID 44"} 
[2026-09-05 13:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880107008001,"power":2612,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1251719190514284544}} 
[2026-09-05 13:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":171843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:19:00] local.INFO: GPS data processed {"connection_id":171843,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:19:00] local.INFO: Acknowledgment sent {"connection_id":171843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:19:01] local.INFO: TCP Data received {"connection_id":171844,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:19:01] local.INFO: Processing buffer {"connection_id":171844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:19:01] local.INFO: IMEI packet received {"connection_id":171844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":171844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:19:02] local.INFO: TCP Data received {"connection_id":171844,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0708a1e18012d6b38c0061526e0000e00b12f..."} 
[2026-09-05 13:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708a1e18012d6b38c0061526e0000e00b12f..."} 
[2026-09-05 13:19:02] local.INFO: Processing buffer {"connection_id":171844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708a1e18012d6b38c0061526e0000e00b12f..."} 
[2026-09-05 13:19:02] local.INFO: Packet analysis {"connection_id":171844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708a"} 
[2026-09-05 13:19:02] local.INFO: Extracted packet for processing {"connection_id":171844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708a"} 
[2026-09-05 13:19:02] local.INFO: GPS Element Parsed {"raw_longitude":762001600,"raw_latitude":102049504,"longitude_deg":76.20016,"latitude_deg":10.2049504,"altitude":14,"angle":177,"satellites":47,"speed":0,"hex_longitude":"2d6b38c0","hex_latitude":"061526e0","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880113664001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712720540139520,"note":"Value kept but may cause issues"} 
[2026-09-05 13:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7726136293111291904,"note":"Value kept but may cause issues"} 
[2026-09-05 13:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788594495000,"timestamp_ms":1788594495000,"timestamp_seconds":1788594495,"priority":1,"record_length":96,"hex_timestamp":"000001a0708a1e18"} 
[2026-09-05 13:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:19:02] 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-09-05 13: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-05 13:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:19: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-09-05 13:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880113664001,"66":26202,"238":206,"79":20992,"24":0,"16":399712720540139520,"45":7726136293111291904},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,79,24,16,45]} 
[2026-09-05 13:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880113664001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:19:02] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-05 13:19:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712720540139520,"km_value":399712720540139.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7726136293111291904,"description":"Unknown IO ID 45"} 
[2026-09-05 13:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880113664001,"power":26202,"unknown_238":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7726136293111291904}} 
[2026-09-05 13:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":171844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:19:02] local.INFO: GPS data processed {"connection_id":171844,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:19:02] local.INFO: Acknowledgment sent {"connection_id":171844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:19:34] local.INFO: TCP Data received {"connection_id":171844,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0708a1e18012d6b38c0061526e0000e00b12f..."} 
[2026-09-05 13:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708a1e18012d6b38c0061526e0000e00b12f..."} 
[2026-09-05 13:19:34] local.INFO: Processing buffer {"connection_id":171844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708a1e18012d6b38c0061526e0000e00b12f..."} 
[2026-09-05 13:19:34] local.INFO: Packet analysis {"connection_id":171844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708a"} 
[2026-09-05 13:19:34] local.INFO: Extracted packet for processing {"connection_id":171844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708a"} 
[2026-09-05 13:19:34] local.INFO: GPS Element Parsed {"raw_longitude":762001600,"raw_latitude":102049504,"longitude_deg":76.20016,"latitude_deg":10.2049504,"altitude":14,"angle":177,"satellites":47,"speed":0,"hex_longitude":"2d6b38c0","hex_latitude":"061526e0","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880113664001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712720540139520,"note":"Value kept but may cause issues"} 
[2026-09-05 13:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7726136293111291904,"note":"Value kept but may cause issues"} 
[2026-09-05 13:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788594495000,"timestamp_ms":1788594495000,"timestamp_seconds":1788594495,"priority":1,"record_length":96,"hex_timestamp":"000001a0708a1e18"} 
[2026-09-05 13:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:19: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-09-05 13: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-05 13:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880113664001,"66":26202,"238":206,"79":20992,"24":0,"16":399712720540139520,"45":7726136293111291904},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,79,24,16,45]} 
[2026-09-05 13:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880113664001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:19:34] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-05 13:19:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712720540139520,"km_value":399712720540139.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7726136293111291904,"description":"Unknown IO ID 45"} 
[2026-09-05 13:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880113664001,"power":26202,"unknown_238":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7726136293111291904}} 
[2026-09-05 13:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":171844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:19:34] local.INFO: GPS data processed {"connection_id":171844,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:19:34] local.INFO: Acknowledgment sent {"connection_id":171844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:19:45] local.INFO: TCP Data received {"connection_id":171845,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:19:45] local.INFO: Processing buffer {"connection_id":171845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:19:45] local.INFO: IMEI packet received {"connection_id":171845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":171845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:19:50] local.INFO: TCP Data received {"connection_id":171845,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:19:50] local.INFO: Processing buffer {"connection_id":171845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:19:50] local.INFO: IMEI packet received {"connection_id":171845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":171845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:19:51] local.INFO: TCP Data received {"connection_id":171845,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07089c828012cee9f000732d890004f004425..."} 
[2026-09-05 13:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07089c828012cee9f000732d890004f004425..."} 
[2026-09-05 13:19:51] local.INFO: Processing buffer {"connection_id":171845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07089c828012cee9f000732d890004f004425..."} 
[2026-09-05 13:19:51] local.INFO: Packet analysis {"connection_id":171845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07089"} 
[2026-09-05 13:19:51] local.INFO: Extracted packet for processing {"connection_id":171845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07089"} 
[2026-09-05 13:19:51] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":37,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880107520001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:19:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1251719190514284544,"note":"Value kept but may cause issues"} 
[2026-09-05 13:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788594473000,"timestamp_ms":1788594473000,"timestamp_seconds":1788594473,"priority":1,"record_length":96,"hex_timestamp":"000001a07089c828"} 
[2026-09-05 13:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:19:51] 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-09-05 13:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-05 13:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":716,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880107520001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1251719190514284544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880107520001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:19:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:19:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:19:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1251719190514284544,"description":"Unknown IO ID 44"} 
[2026-09-05 13:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880107520001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1251719190514284544}} 
[2026-09-05 13:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":171845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:19:51] local.INFO: GPS data processed {"connection_id":171845,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:19:51] local.INFO: Acknowledgment sent {"connection_id":171845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:20:01] local.INFO: TCP Data received {"connection_id":171548,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:20:01] local.INFO: Processing buffer {"connection_id":171548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:20:01] local.INFO: IMEI packet received {"connection_id":171548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":171548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:20:06] local.INFO: TCP Data received {"connection_id":171548,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:20:06] local.INFO: Processing buffer {"connection_id":171548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:20:06] local.INFO: IMEI packet received {"connection_id":171548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":171548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:20:06] local.INFO: TCP Data received {"connection_id":171846,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171846,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:20:06] local.INFO: Processing buffer {"connection_id":171846,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:20:06] local.INFO: IMEI packet received {"connection_id":171846,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":171846,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:20:07] local.INFO: TCP Data received {"connection_id":171548,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0708a1e18012d6b38c0061526e0000e00b12f..."} 
[2026-09-05 13:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708a1e18012d6b38c0061526e0000e00b12f..."} 
[2026-09-05 13:20:07] local.INFO: Processing buffer {"connection_id":171548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708a1e18012d6b38c0061526e0000e00b12f..."} 
[2026-09-05 13:20:07] local.INFO: Packet analysis {"connection_id":171548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708a"} 
[2026-09-05 13:20:07] local.INFO: Extracted packet for processing {"connection_id":171548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708a"} 
[2026-09-05 13:20:07] local.INFO: GPS Element Parsed {"raw_longitude":762001600,"raw_latitude":102049504,"longitude_deg":76.20016,"latitude_deg":10.2049504,"altitude":14,"angle":177,"satellites":47,"speed":0,"hex_longitude":"2d6b38c0","hex_latitude":"061526e0","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880113664001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712720540139520,"note":"Value kept but may cause issues"} 
[2026-09-05 13:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7726136293111291904,"note":"Value kept but may cause issues"} 
[2026-09-05 13:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788594495000,"timestamp_ms":1788594495000,"timestamp_seconds":1788594495,"priority":1,"record_length":96,"hex_timestamp":"000001a0708a1e18"} 
[2026-09-05 13:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:20: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-09-05 13: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-05 13:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880113664001,"66":26202,"238":206,"79":20992,"24":0,"16":399712720540139520,"45":7726136293111291904},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,79,24,16,45]} 
[2026-09-05 13:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880113664001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:20:07] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-05 13:20:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712720540139520,"km_value":399712720540139.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":7726136293111291904,"description":"Unknown IO ID 45"} 
[2026-09-05 13:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880113664001,"power":26202,"unknown_238":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7726136293111291904}} 
[2026-09-05 13:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":171548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:20:07] local.INFO: GPS data processed {"connection_id":171548,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:20:07] local.INFO: Acknowledgment sent {"connection_id":171548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:20:08] local.INFO: TCP Data received {"connection_id":171846,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171846,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:20:08] local.INFO: Processing buffer {"connection_id":171846,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:20:08] local.INFO: IMEI packet received {"connection_id":171846,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":171846,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:20:09] local.INFO: TCP Data received {"connection_id":171846,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07088a330012c795f4008483b300016015328..."} 
[2026-09-05 13:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07088a330012c795f4008483b300016015328..."} 
[2026-09-05 13:20:09] local.INFO: Processing buffer {"connection_id":171846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07088a330012c795f4008483b300016015328..."} 
[2026-09-05 13:20:09] local.INFO: Packet analysis {"connection_id":171846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07088"} 
[2026-09-05 13:20:09] local.INFO: Extracted packet for processing {"connection_id":171846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07088"} 
[2026-09-05 13:20:09] local.INFO: GPS Element Parsed {"raw_longitude":746151744,"raw_latitude":138951472,"longitude_deg":74.6151744,"latitude_deg":13.8951472,"altitude":22,"angle":339,"satellites":40,"speed":0,"hex_longitude":"2c795f40","hex_latitude":"08483b30","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880160512001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1227673451888640,"note":"Value kept but may cause issues"} 
[2026-09-05 13:20:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8745779405692547072,"note":"Value kept but may cause issues"} 
[2026-09-05 13:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788594398000,"timestamp_ms":1788594398000,"timestamp_seconds":1788594398,"priority":1,"record_length":96,"hex_timestamp":"000001a07088a330"} 
[2026-09-05 13:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 13:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880160512001,"66":28137,"119":206,"9":53760,"24":0,"16":1227673451888640,"44":8745779405692547072},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880160512001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:20:09] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:20:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1227673451888640,"km_value":1227673451888.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:20:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":8745779405692547072,"description":"Unknown IO ID 44"} 
[2026-09-05 13:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880160512001,"power":28137,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8745779405692547072}} 
[2026-09-05 13:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":171846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768687,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:20:09] local.INFO: GPS data processed {"connection_id":171846,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:20:09] local.INFO: Acknowledgment sent {"connection_id":171846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:20:12] local.INFO: TCP Data received {"connection_id":171548,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0708a1e18012d6b38c0061526e0000e00b12f..."} 
[2026-09-05 13:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708a1e18012d6b38c0061526e0000e00b12f..."} 
[2026-09-05 13:20:12] local.INFO: Processing buffer {"connection_id":171548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708a1e18012d6b38c0061526e0000e00b12f..."} 
[2026-09-05 13:20:12] local.INFO: Packet analysis {"connection_id":171548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708a"} 
[2026-09-05 13:20:12] local.INFO: Extracted packet for processing {"connection_id":171548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708a"} 
[2026-09-05 13:20:12] local.INFO: GPS Element Parsed {"raw_longitude":762001600,"raw_latitude":102049504,"longitude_deg":76.20016,"latitude_deg":10.2049504,"altitude":14,"angle":177,"satellites":47,"speed":0,"hex_longitude":"2d6b38c0","hex_latitude":"061526e0","is_valid_coordinates":true} 
[2026-09-05 13:20: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-09-05 13:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880113664001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712720540139520,"note":"Value kept but may cause issues"} 
[2026-09-05 13:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7726136293111291904,"note":"Value kept but may cause issues"} 
[2026-09-05 13:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788594495000,"timestamp_ms":1788594495000,"timestamp_seconds":1788594495,"priority":1,"record_length":96,"hex_timestamp":"000001a0708a1e18"} 
[2026-09-05 13:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-05 13:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:20: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-09-05 13:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880113664001,"66":26202,"238":206,"79":20992,"24":0,"16":399712720540139520,"45":7726136293111291904},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,79,24,16,45]} 
[2026-09-05 13:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880113664001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:20:12] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-05 13:20:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712720540139520,"km_value":399712720540139.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7726136293111291904,"description":"Unknown IO ID 45"} 
[2026-09-05 13:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880113664001,"power":26202,"unknown_238":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7726136293111291904}} 
[2026-09-05 13:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":171548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:20:12] local.INFO: GPS data processed {"connection_id":171548,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:20:12] local.INFO: Acknowledgment sent {"connection_id":171548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:20:13] local.INFO: TCP Data received {"connection_id":171846,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07088f538012c795f4008483b300016015328..."} 
[2026-09-05 13:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07088f538012c795f4008483b300016015328..."} 
[2026-09-05 13:20:13] local.INFO: Processing buffer {"connection_id":171846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07088f538012c795f4008483b300016015328..."} 
[2026-09-05 13:20:13] local.INFO: Packet analysis {"connection_id":171846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07088"} 
[2026-09-05 13:20:13] local.INFO: Extracted packet for processing {"connection_id":171846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07088"} 
[2026-09-05 13:20:13] local.INFO: GPS Element Parsed {"raw_longitude":746151744,"raw_latitude":138951472,"longitude_deg":74.6151744,"latitude_deg":13.8951472,"altitude":22,"angle":339,"satellites":40,"speed":0,"hex_longitude":"2c795f40","hex_latitude":"08483b30","is_valid_coordinates":true} 
[2026-09-05 13:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880165888001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1227673451888640,"note":"Value kept but may cause issues"} 
[2026-09-05 13:20:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8745779405692547072,"note":"Value kept but may cause issues"} 
[2026-09-05 13:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788594419000,"timestamp_ms":1788594419000,"timestamp_seconds":1788594419,"priority":1,"record_length":96,"hex_timestamp":"000001a07088f538"} 
[2026-09-05 13:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 13:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880165888001,"66":28224,"119":206,"9":53760,"24":0,"16":1227673451888640,"44":8745779405692547072},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880165888001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:20:13] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:20:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1227673451888640,"km_value":1227673451888.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:20:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":8745779405692547072,"description":"Unknown IO ID 44"} 
[2026-09-05 13:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880165888001,"power":28224,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8745779405692547072}} 
[2026-09-05 13:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":171846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768689,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:20:13] local.INFO: GPS data processed {"connection_id":171846,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:20:13] local.INFO: Acknowledgment sent {"connection_id":171846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:20:22] local.INFO: TCP Data received {"connection_id":171845,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07089c828012cee9f000732d890004f004425..."} 
[2026-09-05 13:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07089c828012cee9f000732d890004f004425..."} 
[2026-09-05 13:20:22] local.INFO: Processing buffer {"connection_id":171845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07089c828012cee9f000732d890004f004425..."} 
[2026-09-05 13:20:22] local.INFO: Packet analysis {"connection_id":171845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07089"} 
[2026-09-05 13:20:22] local.INFO: Extracted packet for processing {"connection_id":171845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07089"} 
[2026-09-05 13:20:22] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":37,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880107520001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:20:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1251719190514284544,"note":"Value kept but may cause issues"} 
[2026-09-05 13:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788594473000,"timestamp_ms":1788594473000,"timestamp_seconds":1788594473,"priority":1,"record_length":96,"hex_timestamp":"000001a07089c828"} 
[2026-09-05 13:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:20:22] 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-09-05 13:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-05 13:20:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":716,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:20:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880107520001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1251719190514284544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880107520001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:20:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:20:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:20:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1251719190514284544,"description":"Unknown IO ID 44"} 
[2026-09-05 13:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880107520001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1251719190514284544}} 
[2026-09-05 13:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":171845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:20:22] local.INFO: GPS data processed {"connection_id":171845,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:20:22] local.INFO: Acknowledgment sent {"connection_id":171845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:20:45] local.INFO: TCP Data received {"connection_id":174246,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:20:45] local.INFO: Processing buffer {"connection_id":174246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:20:45] local.INFO: IMEI packet received {"connection_id":174246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":174246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:20:47] local.INFO: TCP Data received {"connection_id":171847,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171847,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:20:47] local.INFO: Processing buffer {"connection_id":171847,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:20:47] local.INFO: IMEI packet received {"connection_id":171847,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":171847,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:20:50] local.INFO: TCP Data received {"connection_id":174246,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:20:50] local.INFO: Processing buffer {"connection_id":174246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:20:50] local.INFO: IMEI packet received {"connection_id":174246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":174246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:20:51] local.INFO: TCP Data received {"connection_id":174246,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07089c828012cee9f000732d890004f004425..."} 
[2026-09-05 13:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07089c828012cee9f000732d890004f004425..."} 
[2026-09-05 13:20:51] local.INFO: Processing buffer {"connection_id":174246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07089c828012cee9f000732d890004f004425..."} 
[2026-09-05 13:20:51] local.INFO: Packet analysis {"connection_id":174246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07089"} 
[2026-09-05 13:20:51] local.INFO: Extracted packet for processing {"connection_id":174246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07089"} 
[2026-09-05 13:20:51] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":37,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880107520001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:20:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1251719190514284544,"note":"Value kept but may cause issues"} 
[2026-09-05 13:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788594473000,"timestamp_ms":1788594473000,"timestamp_seconds":1788594473,"priority":1,"record_length":96,"hex_timestamp":"000001a07089c828"} 
[2026-09-05 13:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:20:51] 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-09-05 13:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-05 13:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":716,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880107520001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1251719190514284544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880107520001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:20:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:20:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:20:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1251719190514284544,"description":"Unknown IO ID 44"} 
[2026-09-05 13:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880107520001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1251719190514284544}} 
[2026-09-05 13:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":174246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:20:51] local.INFO: GPS data processed {"connection_id":174246,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:20:51] local.INFO: Acknowledgment sent {"connection_id":174246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:20:53] local.INFO: TCP Data received {"connection_id":171847,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171847,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:20:53] local.INFO: Processing buffer {"connection_id":171847,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:20:53] local.INFO: IMEI packet received {"connection_id":171847,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":171847,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:20:55] local.INFO: TCP Data received {"connection_id":171847,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0708937a0012c795f4008483b300016015328..."} 
[2026-09-05 13:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708937a0012c795f4008483b300016015328..."} 
[2026-09-05 13:20:55] local.INFO: Processing buffer {"connection_id":171847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708937a0012c795f4008483b300016015328..."} 
[2026-09-05 13:20:55] local.INFO: Packet analysis {"connection_id":171847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07089"} 
[2026-09-05 13:20:55] local.INFO: Extracted packet for processing {"connection_id":171847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07089"} 
[2026-09-05 13:20:55] local.INFO: GPS Element Parsed {"raw_longitude":746151744,"raw_latitude":138951472,"longitude_deg":74.6151744,"latitude_deg":13.8951472,"altitude":22,"angle":339,"satellites":40,"speed":0,"hex_longitude":"2c795f40","hex_latitude":"08483b30","is_valid_coordinates":true} 
[2026-09-05 13:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880171264001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1227673451888640,"note":"Value kept but may cause issues"} 
[2026-09-05 13:20:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8745779405692547072,"note":"Value kept but may cause issues"} 
[2026-09-05 13:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,117,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788594436000,"timestamp_ms":1788594436000,"timestamp_seconds":1788594436,"priority":1,"record_length":96,"hex_timestamp":"000001a0708937a0"} 
[2026-09-05 13:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-05 13:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171847,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171847,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880171264001,"66":28224,"40":206,"117":19968,"24":0,"16":1227673451888640,"44":8745779405692547072},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,117,24,16,44]} 
[2026-09-05 13:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880171264001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:20:55] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-05 13:20:55] local.INFO: Unknown IO ID detected {"io_id":117,"value":19968,"description":"Unknown IO ID 117"} 
[2026-09-05 13:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1227673451888640,"km_value":1227673451888.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:20:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":8745779405692547072,"description":"Unknown IO ID 44"} 
[2026-09-05 13:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880171264001,"power":28224,"unknown_40":206,"unknown_117":19968,"ignition":0,"odometer":null,"unknown_44":8745779405692547072}} 
[2026-09-05 13:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":171847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768692,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:20:55] local.INFO: GPS data processed {"connection_id":171847,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:20:55] local.INFO: Acknowledgment sent {"connection_id":171847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:20:56] local.INFO: TCP Data received {"connection_id":174247,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:20:56] local.INFO: Processing buffer {"connection_id":174247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:20:56] local.INFO: IMEI packet received {"connection_id":174247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":174247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:21:01] local.INFO: TCP Data received {"connection_id":174247,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:21:01] local.INFO: Processing buffer {"connection_id":174247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:21:01] local.INFO: IMEI packet received {"connection_id":174247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":174247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:21:02] local.INFO: TCP Data received {"connection_id":174247,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0708a1e18012d6b38c0061526e0000e00b12f..."} 
[2026-09-05 13:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708a1e18012d6b38c0061526e0000e00b12f..."} 
[2026-09-05 13:21:02] local.INFO: Processing buffer {"connection_id":174247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708a1e18012d6b38c0061526e0000e00b12f..."} 
[2026-09-05 13:21:02] local.INFO: Packet analysis {"connection_id":174247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708a"} 
[2026-09-05 13:21:02] local.INFO: Extracted packet for processing {"connection_id":174247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708a"} 
[2026-09-05 13:21:02] local.INFO: GPS Element Parsed {"raw_longitude":762001600,"raw_latitude":102049504,"longitude_deg":76.20016,"latitude_deg":10.2049504,"altitude":14,"angle":177,"satellites":47,"speed":0,"hex_longitude":"2d6b38c0","hex_latitude":"061526e0","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880113664001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712720540139520,"note":"Value kept but may cause issues"} 
[2026-09-05 13:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7726136293111291904,"note":"Value kept but may cause issues"} 
[2026-09-05 13:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788594495000,"timestamp_ms":1788594495000,"timestamp_seconds":1788594495,"priority":1,"record_length":96,"hex_timestamp":"000001a0708a1e18"} 
[2026-09-05 13:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:21:02] 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-09-05 13: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-05 13:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13: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-09-05 13:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880113664001,"66":26202,"238":206,"79":20992,"24":0,"16":399712720540139520,"45":7726136293111291904},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,79,24,16,45]} 
[2026-09-05 13:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880113664001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:21:02] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-05 13:21:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712720540139520,"km_value":399712720540139.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7726136293111291904,"description":"Unknown IO ID 45"} 
[2026-09-05 13:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880113664001,"power":26202,"unknown_238":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7726136293111291904}} 
[2026-09-05 13:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":174247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:21:02] local.INFO: GPS data processed {"connection_id":174247,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:21:02] local.INFO: Acknowledgment sent {"connection_id":174247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:21:22] local.INFO: TCP Data received {"connection_id":174246,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07089c828012cee9f000732d890004f004425..."} 
[2026-09-05 13:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07089c828012cee9f000732d890004f004425..."} 
[2026-09-05 13:21:22] local.INFO: Processing buffer {"connection_id":174246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07089c828012cee9f000732d890004f004425..."} 
[2026-09-05 13:21:22] local.INFO: Packet analysis {"connection_id":174246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07089"} 
[2026-09-05 13:21:22] local.INFO: Extracted packet for processing {"connection_id":174246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07089"} 
[2026-09-05 13:21:22] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":37,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880107520001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:21:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1251719190514284544,"note":"Value kept but may cause issues"} 
[2026-09-05 13:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788594473000,"timestamp_ms":1788594473000,"timestamp_seconds":1788594473,"priority":1,"record_length":96,"hex_timestamp":"000001a07089c828"} 
[2026-09-05 13:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:21:22] 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-09-05 13:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-05 13:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":716,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880107520001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1251719190514284544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880107520001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:21:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:21:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:21:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1251719190514284544,"description":"Unknown IO ID 44"} 
[2026-09-05 13:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880107520001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1251719190514284544}} 
[2026-09-05 13:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":174246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:21:22] local.INFO: GPS data processed {"connection_id":174246,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:21:22] local.INFO: Acknowledgment sent {"connection_id":174246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:21:26] local.INFO: TCP Data received {"connection_id":171847,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0708abe40012c79610008483b000016015328..."} 
[2026-09-05 13:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708abe40012c79610008483b000016015328..."} 
[2026-09-05 13:21:26] local.INFO: Processing buffer {"connection_id":171847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708abe40012c79610008483b000016015328..."} 
[2026-09-05 13:21:26] local.INFO: Packet analysis {"connection_id":171847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708a"} 
[2026-09-05 13:21:26] local.INFO: Extracted packet for processing {"connection_id":171847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708a"} 
[2026-09-05 13:21:26] local.INFO: GPS Element Parsed {"raw_longitude":746152192,"raw_latitude":138951424,"longitude_deg":74.6152192,"latitude_deg":13.8951424,"altitude":22,"angle":339,"satellites":40,"speed":0,"hex_longitude":"2c796100","hex_latitude":"08483b00","is_valid_coordinates":true} 
[2026-09-05 13:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880175616001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1227673451888640,"note":"Value kept but may cause issues"} 
[2026-09-05 13:21:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8745779405692547072,"note":"Value kept but may cause issues"} 
[2026-09-05 13:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,117,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788594536000,"timestamp_ms":1788594536000,"timestamp_seconds":1788594536,"priority":1,"record_length":96,"hex_timestamp":"000001a0708abe40"} 
[2026-09-05 13:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-05 13:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171847,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171847,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880175616001,"66":26702,"40":206,"117":19968,"24":0,"16":1227673451888640,"44":8745779405692547072},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,117,24,16,44]} 
[2026-09-05 13:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880175616001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:21:26] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-05 13:21:26] local.INFO: Unknown IO ID detected {"io_id":117,"value":19968,"description":"Unknown IO ID 117"} 
[2026-09-05 13:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1227673451888640,"km_value":1227673451888.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:21:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8745779405692547072,"description":"Unknown IO ID 44"} 
[2026-09-05 13:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880175616001,"power":26702,"unknown_40":206,"unknown_117":19968,"ignition":0,"odometer":null,"unknown_44":8745779405692547072}} 
[2026-09-05 13:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":171847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768695,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:21:27] local.INFO: GPS data processed {"connection_id":171847,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:21:27] local.INFO: Acknowledgment sent {"connection_id":171847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:21:33] local.INFO: TCP Data received {"connection_id":174247,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0708a1e18012d6b38c0061526e0000e00b12f..."} 
[2026-09-05 13:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708a1e18012d6b38c0061526e0000e00b12f..."} 
[2026-09-05 13:21:33] local.INFO: Processing buffer {"connection_id":174247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708a1e18012d6b38c0061526e0000e00b12f..."} 
[2026-09-05 13:21:33] local.INFO: Packet analysis {"connection_id":174247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708a"} 
[2026-09-05 13:21:33] local.INFO: Extracted packet for processing {"connection_id":174247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708a"} 
[2026-09-05 13:21:33] local.INFO: GPS Element Parsed {"raw_longitude":762001600,"raw_latitude":102049504,"longitude_deg":76.20016,"latitude_deg":10.2049504,"altitude":14,"angle":177,"satellites":47,"speed":0,"hex_longitude":"2d6b38c0","hex_latitude":"061526e0","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880113664001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712720540139520,"note":"Value kept but may cause issues"} 
[2026-09-05 13:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7726136293111291904,"note":"Value kept but may cause issues"} 
[2026-09-05 13:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788594495000,"timestamp_ms":1788594495000,"timestamp_seconds":1788594495,"priority":1,"record_length":96,"hex_timestamp":"000001a0708a1e18"} 
[2026-09-05 13:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:21: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-09-05 13: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-05 13:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:21: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-09-05 13:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880113664001,"66":26202,"238":206,"79":20992,"24":0,"16":399712720540139520,"45":7726136293111291904},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,79,24,16,45]} 
[2026-09-05 13:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880113664001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:21:33] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-05 13:21:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712720540139520,"km_value":399712720540139.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7726136293111291904,"description":"Unknown IO ID 45"} 
[2026-09-05 13:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880113664001,"power":26202,"unknown_238":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7726136293111291904}} 
[2026-09-05 13:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":174247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:21:33] local.INFO: GPS data processed {"connection_id":174247,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:21:33] local.INFO: Acknowledgment sent {"connection_id":174247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:21:45] local.INFO: TCP Data received {"connection_id":174248,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:21:45] local.INFO: Processing buffer {"connection_id":174248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:21:45] local.INFO: IMEI packet received {"connection_id":174248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":174248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:21:47] local.INFO: TCP Data received {"connection_id":174249,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174249,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:21:47] local.INFO: Processing buffer {"connection_id":174249,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:21:47] local.INFO: IMEI packet received {"connection_id":174249,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":174249,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:21:48] local.INFO: TCP Data received {"connection_id":174249,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174249,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:21:48] local.INFO: Processing buffer {"connection_id":174249,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:21:48] local.INFO: IMEI packet received {"connection_id":174249,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":174249,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:21:50] local.INFO: TCP Data received {"connection_id":174248,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:21:50] local.INFO: Processing buffer {"connection_id":174248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:21:50] local.INFO: IMEI packet received {"connection_id":174248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":174248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:21:51] local.INFO: TCP Data received {"connection_id":174248,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07089c828012cee9f000732d890004f004425..."} 
[2026-09-05 13:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07089c828012cee9f000732d890004f004425..."} 
[2026-09-05 13:21:51] local.INFO: Processing buffer {"connection_id":174248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07089c828012cee9f000732d890004f004425..."} 
[2026-09-05 13:21:51] local.INFO: Packet analysis {"connection_id":174248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07089"} 
[2026-09-05 13:21:51] local.INFO: Extracted packet for processing {"connection_id":174248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07089"} 
[2026-09-05 13:21:51] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":37,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880107520001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:21:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1251719190514284544,"note":"Value kept but may cause issues"} 
[2026-09-05 13:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788594473000,"timestamp_ms":1788594473000,"timestamp_seconds":1788594473,"priority":1,"record_length":96,"hex_timestamp":"000001a07089c828"} 
[2026-09-05 13:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:21:51] 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-09-05 13:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-05 13:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":716,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880107520001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1251719190514284544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880107520001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:21:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:21:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:21:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1251719190514284544,"description":"Unknown IO ID 44"} 
[2026-09-05 13:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880107520001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1251719190514284544}} 
[2026-09-05 13:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":174248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:21:51] local.INFO: GPS data processed {"connection_id":174248,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:21:51] local.INFO: Acknowledgment sent {"connection_id":174248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:21:53] local.INFO: TCP Data received {"connection_id":174249,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174249,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:21:53] local.INFO: Processing buffer {"connection_id":174249,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:21:53] local.INFO: IMEI packet received {"connection_id":174249,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":174249,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:21:55] local.INFO: TCP Data received {"connection_id":174249,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0708b1c00012c795f4008483b300016015328..."} 
[2026-09-05 13:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708b1c00012c795f4008483b300016015328..."} 
[2026-09-05 13:21:55] local.INFO: Processing buffer {"connection_id":174249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708b1c00012c795f4008483b300016015328..."} 
[2026-09-05 13:21:55] local.INFO: Packet analysis {"connection_id":174249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708b"} 
[2026-09-05 13:21:55] local.INFO: Extracted packet for processing {"connection_id":174249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708b"} 
[2026-09-05 13:21:55] local.INFO: GPS Element Parsed {"raw_longitude":746151744,"raw_latitude":138951472,"longitude_deg":74.6151744,"latitude_deg":13.8951472,"altitude":22,"angle":339,"satellites":40,"speed":0,"hex_longitude":"2c795f40","hex_latitude":"08483b30","is_valid_coordinates":true} 
[2026-09-05 13:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880201216001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1227673451888640,"note":"Value kept but may cause issues"} 
[2026-09-05 13:21:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8746271986901778432,"note":"Value kept but may cause issues"} 
[2026-09-05 13:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788594560000,"timestamp_ms":1788594560000,"timestamp_seconds":1788594560,"priority":1,"record_length":96,"hex_timestamp":"000001a0708b1c00"} 
[2026-09-05 13:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-05 13:21:55] 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-09-05 13:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174249,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174249,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880201216001,"66":27930,"119":206,"9":53760,"24":0,"16":1227673451888640,"44":8746271986901778432},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880201216001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:21:55] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:21:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1227673451888640,"km_value":1227673451888.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:21:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":8746271986901778432,"description":"Unknown IO ID 44"} 
[2026-09-05 13:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880201216001,"power":27930,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8746271986901778432}} 
[2026-09-05 13:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":174249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768698,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:21:55] local.INFO: GPS data processed {"connection_id":174249,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:21:55] local.INFO: Acknowledgment sent {"connection_id":174249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:21:56] local.INFO: TCP Data received {"connection_id":172943,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:21:56] local.INFO: Processing buffer {"connection_id":172943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:21:56] local.INFO: IMEI packet received {"connection_id":172943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":172943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:22:01] local.INFO: TCP Data received {"connection_id":172943,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:22:01] local.INFO: Processing buffer {"connection_id":172943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:22:01] local.INFO: IMEI packet received {"connection_id":172943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":172943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:22:02] local.INFO: TCP Data received {"connection_id":172943,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0708a1e18012d6b38c0061526e0000e00b12f..."} 
[2026-09-05 13:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708a1e18012d6b38c0061526e0000e00b12f..."} 
[2026-09-05 13:22:02] local.INFO: Processing buffer {"connection_id":172943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708a1e18012d6b38c0061526e0000e00b12f..."} 
[2026-09-05 13:22:02] local.INFO: Packet analysis {"connection_id":172943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708a"} 
[2026-09-05 13:22:02] local.INFO: Extracted packet for processing {"connection_id":172943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708a"} 
[2026-09-05 13:22:02] local.INFO: GPS Element Parsed {"raw_longitude":762001600,"raw_latitude":102049504,"longitude_deg":76.20016,"latitude_deg":10.2049504,"altitude":14,"angle":177,"satellites":47,"speed":0,"hex_longitude":"2d6b38c0","hex_latitude":"061526e0","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880113664001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712720540139520,"note":"Value kept but may cause issues"} 
[2026-09-05 13:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7726136293111291904,"note":"Value kept but may cause issues"} 
[2026-09-05 13:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788594495000,"timestamp_ms":1788594495000,"timestamp_seconds":1788594495,"priority":1,"record_length":96,"hex_timestamp":"000001a0708a1e18"} 
[2026-09-05 13:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:22:02] 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-09-05 13: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-05 13:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13: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-09-05 13:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880113664001,"66":26202,"238":206,"79":20992,"24":0,"16":399712720540139520,"45":7726136293111291904},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,79,24,16,45]} 
[2026-09-05 13:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880113664001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:22:02] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-05 13:22:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712720540139520,"km_value":399712720540139.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7726136293111291904,"description":"Unknown IO ID 45"} 
[2026-09-05 13:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880113664001,"power":26202,"unknown_238":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7726136293111291904}} 
[2026-09-05 13:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":172943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:22:02] local.INFO: GPS data processed {"connection_id":172943,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:22:02] local.INFO: Acknowledgment sent {"connection_id":172943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:22:22] local.INFO: TCP Data received {"connection_id":174248,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07089c828012cee9f000732d890004f004425..."} 
[2026-09-05 13:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07089c828012cee9f000732d890004f004425..."} 
[2026-09-05 13:22:22] local.INFO: Processing buffer {"connection_id":174248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07089c828012cee9f000732d890004f004425..."} 
[2026-09-05 13:22:22] local.INFO: Packet analysis {"connection_id":174248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07089"} 
[2026-09-05 13:22:22] local.INFO: Extracted packet for processing {"connection_id":174248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07089"} 
[2026-09-05 13:22:22] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":37,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880107520001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:22:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1251719190514284544,"note":"Value kept but may cause issues"} 
[2026-09-05 13:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788594473000,"timestamp_ms":1788594473000,"timestamp_seconds":1788594473,"priority":1,"record_length":96,"hex_timestamp":"000001a07089c828"} 
[2026-09-05 13:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:22:22] 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-09-05 13:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-05 13:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":716,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880107520001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1251719190514284544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880107520001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:22:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:22:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:22:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1251719190514284544,"description":"Unknown IO ID 44"} 
[2026-09-05 13:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880107520001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1251719190514284544}} 
[2026-09-05 13:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":174248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:22:22] local.INFO: GPS data processed {"connection_id":174248,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:22:22] local.INFO: Acknowledgment sent {"connection_id":174248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:22:27] local.INFO: TCP Data received {"connection_id":174249,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0708b6e08012c795f4008483b300016015328..."} 
[2026-09-05 13:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708b6e08012c795f4008483b300016015328..."} 
[2026-09-05 13:22:27] local.INFO: Processing buffer {"connection_id":174249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708b6e08012c795f4008483b300016015328..."} 
[2026-09-05 13:22:27] local.INFO: Packet analysis {"connection_id":174249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708b"} 
[2026-09-05 13:22:27] local.INFO: Extracted packet for processing {"connection_id":174249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708b"} 
[2026-09-05 13:22:27] local.INFO: GPS Element Parsed {"raw_longitude":746151744,"raw_latitude":138951472,"longitude_deg":74.6151744,"latitude_deg":13.8951472,"altitude":22,"angle":339,"satellites":40,"speed":0,"hex_longitude":"2c795f40","hex_latitude":"08483b30","is_valid_coordinates":true} 
[2026-09-05 13:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880207360001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1227673451888640,"note":"Value kept but may cause issues"} 
[2026-09-05 13:22:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8745779405692547072,"note":"Value kept but may cause issues"} 
[2026-09-05 13:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788594581000,"timestamp_ms":1788594581000,"timestamp_seconds":1788594581,"priority":1,"record_length":96,"hex_timestamp":"000001a0708b6e08"} 
[2026-09-05 13:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 13:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174249,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174249,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880207360001,"66":28104,"119":206,"9":53760,"24":0,"16":1227673451888640,"44":8745779405692547072},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880207360001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:22:27] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:22:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1227673451888640,"km_value":1227673451888.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:22:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":8745779405692547072,"description":"Unknown IO ID 44"} 
[2026-09-05 13:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880207360001,"power":28104,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8745779405692547072}} 
[2026-09-05 13:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":174249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768701,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:22:27] local.INFO: GPS data processed {"connection_id":174249,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:22:27] local.INFO: Acknowledgment sent {"connection_id":174249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:22:33] local.INFO: TCP Data received {"connection_id":172943,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0708a1e18012d6b38c0061526e0000e00b12f..."} 
[2026-09-05 13:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708a1e18012d6b38c0061526e0000e00b12f..."} 
[2026-09-05 13:22:33] local.INFO: Processing buffer {"connection_id":172943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708a1e18012d6b38c0061526e0000e00b12f..."} 
[2026-09-05 13:22:33] local.INFO: Packet analysis {"connection_id":172943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708a"} 
[2026-09-05 13:22:33] local.INFO: Extracted packet for processing {"connection_id":172943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708a"} 
[2026-09-05 13:22:33] local.INFO: GPS Element Parsed {"raw_longitude":762001600,"raw_latitude":102049504,"longitude_deg":76.20016,"latitude_deg":10.2049504,"altitude":14,"angle":177,"satellites":47,"speed":0,"hex_longitude":"2d6b38c0","hex_latitude":"061526e0","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880113664001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712720540139520,"note":"Value kept but may cause issues"} 
[2026-09-05 13:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7726136293111291904,"note":"Value kept but may cause issues"} 
[2026-09-05 13:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788594495000,"timestamp_ms":1788594495000,"timestamp_seconds":1788594495,"priority":1,"record_length":96,"hex_timestamp":"000001a0708a1e18"} 
[2026-09-05 13:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:22: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-09-05 13: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-05 13:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880113664001,"66":26202,"238":206,"79":20992,"24":0,"16":399712720540139520,"45":7726136293111291904},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,79,24,16,45]} 
[2026-09-05 13:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880113664001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:22:33] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-05 13:22:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712720540139520,"km_value":399712720540139.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7726136293111291904,"description":"Unknown IO ID 45"} 
[2026-09-05 13:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880113664001,"power":26202,"unknown_238":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7726136293111291904}} 
[2026-09-05 13:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":172943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:22:33] local.INFO: GPS data processed {"connection_id":172943,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:22:33] local.INFO: Acknowledgment sent {"connection_id":172943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:22:45] local.INFO: TCP Data received {"connection_id":171848,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:22:45] local.INFO: Processing buffer {"connection_id":171848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:22:45] local.INFO: IMEI packet received {"connection_id":171848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":171848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:22:50] local.INFO: TCP Data received {"connection_id":171848,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:22:50] local.INFO: Processing buffer {"connection_id":171848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:22:50] local.INFO: IMEI packet received {"connection_id":171848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":171848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:22:51] local.INFO: TCP Data received {"connection_id":171848,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07089c828012cee9f000732d890004f004425..."} 
[2026-09-05 13:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07089c828012cee9f000732d890004f004425..."} 
[2026-09-05 13:22:51] local.INFO: Processing buffer {"connection_id":171848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07089c828012cee9f000732d890004f004425..."} 
[2026-09-05 13:22:51] local.INFO: Packet analysis {"connection_id":171848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07089"} 
[2026-09-05 13:22:51] local.INFO: Extracted packet for processing {"connection_id":171848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07089"} 
[2026-09-05 13:22:51] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":37,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880107520001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:22:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1251719190514284544,"note":"Value kept but may cause issues"} 
[2026-09-05 13:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788594473000,"timestamp_ms":1788594473000,"timestamp_seconds":1788594473,"priority":1,"record_length":96,"hex_timestamp":"000001a07089c828"} 
[2026-09-05 13:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:22:51] 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-09-05 13:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-05 13:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":716,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880107520001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1251719190514284544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880107520001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:22:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:22:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:22:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1251719190514284544,"description":"Unknown IO ID 44"} 
[2026-09-05 13:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880107520001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1251719190514284544}} 
[2026-09-05 13:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":171848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:22:51] local.INFO: GPS data processed {"connection_id":171848,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:22:51] local.INFO: Acknowledgment sent {"connection_id":171848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:22:53] local.INFO: TCP Data received {"connection_id":172944,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172944,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:22:53] local.INFO: Processing buffer {"connection_id":172944,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:22:53] local.INFO: IMEI packet received {"connection_id":172944,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":172944,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:22:56] local.INFO: TCP Data received {"connection_id":171549,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:22:56] local.INFO: Processing buffer {"connection_id":171549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:22:56] local.INFO: IMEI packet received {"connection_id":171549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":171549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:22:58] local.INFO: TCP Data received {"connection_id":172944,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172944,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:22:58] local.INFO: Processing buffer {"connection_id":172944,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:22:58] local.INFO: IMEI packet received {"connection_id":172944,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":172944,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:22:59] local.INFO: TCP Data received {"connection_id":172944,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0708bc010012c795dc0084843c0001801552c..."} 
[2026-09-05 13:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708bc010012c795dc0084843c0001801552c..."} 
[2026-09-05 13:22:59] local.INFO: Processing buffer {"connection_id":172944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708bc010012c795dc0084843c0001801552c..."} 
[2026-09-05 13:22:59] local.INFO: Packet analysis {"connection_id":172944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708b"} 
[2026-09-05 13:22:59] local.INFO: Extracted packet for processing {"connection_id":172944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708b"} 
[2026-09-05 13:22:59] local.INFO: GPS Element Parsed {"raw_longitude":746151360,"raw_latitude":138953664,"longitude_deg":74.615136,"latitude_deg":13.8953664,"altitude":24,"angle":341,"satellites":44,"speed":15,"hex_longitude":"2c795dc0","hex_latitude":"084843c0","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880212736001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1227780826071040,"note":"Value kept but may cause issues"} 
[2026-09-05 13:22:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8745779405692547072,"note":"Value kept but may cause issues"} 
[2026-09-05 13:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788594602000,"timestamp_ms":1788594602000,"timestamp_seconds":1788594602,"priority":1,"record_length":96,"hex_timestamp":"000001a0708bc010"} 
[2026-09-05 13:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 13:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172944,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172944,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880212736001,"66":28126,"119":206,"9":53760,"24":15,"16":1227780826071040,"44":8745779405692547072},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880212736001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:22:59] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:22:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1227780826071040,"km_value":1227780826071.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:22:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":8745779405692547072,"description":"Unknown IO ID 44"} 
[2026-09-05 13:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880212736001,"power":28126,"unknown_119":206,"unknown_9":53760,"ignition":15,"odometer":null,"unknown_44":8745779405692547072}} 
[2026-09-05 13:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":172944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768704,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:22:59] local.INFO: GPS data processed {"connection_id":172944,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:22:59] local.INFO: Acknowledgment sent {"connection_id":172944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:23:01] local.INFO: TCP Data received {"connection_id":171549,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:23:01] local.INFO: Processing buffer {"connection_id":171549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:23:01] local.INFO: IMEI packet received {"connection_id":171549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":171549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:23:02] local.INFO: TCP Data received {"connection_id":171549,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0708a1e18012d6b38c0061526e0000e00b12f..."} 
[2026-09-05 13:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708a1e18012d6b38c0061526e0000e00b12f..."} 
[2026-09-05 13:23:02] local.INFO: Processing buffer {"connection_id":171549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708a1e18012d6b38c0061526e0000e00b12f..."} 
[2026-09-05 13:23:02] local.INFO: Packet analysis {"connection_id":171549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708a"} 
[2026-09-05 13:23:02] local.INFO: Extracted packet for processing {"connection_id":171549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708a"} 
[2026-09-05 13:23:02] local.INFO: GPS Element Parsed {"raw_longitude":762001600,"raw_latitude":102049504,"longitude_deg":76.20016,"latitude_deg":10.2049504,"altitude":14,"angle":177,"satellites":47,"speed":0,"hex_longitude":"2d6b38c0","hex_latitude":"061526e0","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880113664001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712720540139520,"note":"Value kept but may cause issues"} 
[2026-09-05 13:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7726136293111291904,"note":"Value kept but may cause issues"} 
[2026-09-05 13:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788594495000,"timestamp_ms":1788594495000,"timestamp_seconds":1788594495,"priority":1,"record_length":96,"hex_timestamp":"000001a0708a1e18"} 
[2026-09-05 13:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:23:02] 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-09-05 13: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-05 13:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13: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-09-05 13:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880113664001,"66":26202,"238":206,"79":20992,"24":0,"16":399712720540139520,"45":7726136293111291904},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,79,24,16,45]} 
[2026-09-05 13:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880113664001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:23:02] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-05 13:23:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712720540139520,"km_value":399712720540139.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7726136293111291904,"description":"Unknown IO ID 45"} 
[2026-09-05 13:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880113664001,"power":26202,"unknown_238":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7726136293111291904}} 
[2026-09-05 13:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":171549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:23:02] local.INFO: GPS data processed {"connection_id":171549,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:23:02] local.INFO: Acknowledgment sent {"connection_id":171549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:23:03] local.INFO: TCP Data received {"connection_id":172944,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0708bfaa8012c79504008486710001801532b..."} 
[2026-09-05 13:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708bfaa8012c79504008486710001801532b..."} 
[2026-09-05 13:23:03] local.INFO: Processing buffer {"connection_id":172944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708bfaa8012c79504008486710001801532b..."} 
[2026-09-05 13:23:03] local.INFO: Packet analysis {"connection_id":172944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708b"} 
[2026-09-05 13:23:03] local.INFO: Extracted packet for processing {"connection_id":172944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708b"} 
[2026-09-05 13:23:03] local.INFO: GPS Element Parsed {"raw_longitude":746147904,"raw_latitude":138962704,"longitude_deg":74.6147904,"latitude_deg":13.8962704,"altitude":24,"angle":339,"satellites":43,"speed":32,"hex_longitude":"2c795040","hex_latitude":"08486710","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880218112001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1228248977506304,"note":"Value kept but may cause issues"} 
[2026-09-05 13:23:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8745357193228042240,"note":"Value kept but may cause issues"} 
[2026-09-05 13:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788594617000,"timestamp_ms":1788594617000,"timestamp_seconds":1788594617,"priority":1,"record_length":96,"hex_timestamp":"000001a0708bfaa8"} 
[2026-09-05 13:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13: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":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-05 13:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172944,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172944,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880218112001,"66":28137,"119":206,"9":53760,"24":32,"16":1228248977506304,"44":8745357193228042240},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880218112001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:23:03] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:23:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1228248977506304,"km_value":1228248977506.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:23:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":8745357193228042240,"description":"Unknown IO ID 44"} 
[2026-09-05 13:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880218112001,"power":28137,"unknown_119":206,"unknown_9":53760,"ignition":32,"odometer":null,"unknown_44":8745357193228042240}} 
[2026-09-05 13:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":172944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768706,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:23:04] local.INFO: GPS data processed {"connection_id":172944,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:23:04] local.INFO: Acknowledgment sent {"connection_id":172944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:23:22] local.INFO: TCP Data received {"connection_id":171848,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07089c828012cee9f000732d890004f004425..."} 
[2026-09-05 13:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07089c828012cee9f000732d890004f004425..."} 
[2026-09-05 13:23:22] local.INFO: Processing buffer {"connection_id":171848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07089c828012cee9f000732d890004f004425..."} 
[2026-09-05 13:23:22] local.INFO: Packet analysis {"connection_id":171848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07089"} 
[2026-09-05 13:23:22] local.INFO: Extracted packet for processing {"connection_id":171848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07089"} 
[2026-09-05 13:23:22] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":37,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880107520001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:23:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1251719190514284544,"note":"Value kept but may cause issues"} 
[2026-09-05 13:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788594473000,"timestamp_ms":1788594473000,"timestamp_seconds":1788594473,"priority":1,"record_length":96,"hex_timestamp":"000001a07089c828"} 
[2026-09-05 13:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:23:22] 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-09-05 13:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-05 13:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":716,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:23:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880107520001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1251719190514284544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880107520001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:23:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:23:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:23:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1251719190514284544,"description":"Unknown IO ID 44"} 
[2026-09-05 13:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880107520001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1251719190514284544}} 
[2026-09-05 13:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":171848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:23:22] local.INFO: GPS data processed {"connection_id":171848,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:23:22] local.INFO: Acknowledgment sent {"connection_id":171848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:23:33] local.INFO: TCP Data received {"connection_id":171549,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0708a1e18012d6b38c0061526e0000e00b12f..."} 
[2026-09-05 13:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708a1e18012d6b38c0061526e0000e00b12f..."} 
[2026-09-05 13:23:33] local.INFO: Processing buffer {"connection_id":171549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708a1e18012d6b38c0061526e0000e00b12f..."} 
[2026-09-05 13:23:33] local.INFO: Packet analysis {"connection_id":171549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708a"} 
[2026-09-05 13:23:33] local.INFO: Extracted packet for processing {"connection_id":171549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708a"} 
[2026-09-05 13:23:33] local.INFO: GPS Element Parsed {"raw_longitude":762001600,"raw_latitude":102049504,"longitude_deg":76.20016,"latitude_deg":10.2049504,"altitude":14,"angle":177,"satellites":47,"speed":0,"hex_longitude":"2d6b38c0","hex_latitude":"061526e0","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880113664001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712720540139520,"note":"Value kept but may cause issues"} 
[2026-09-05 13:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7726136293111291904,"note":"Value kept but may cause issues"} 
[2026-09-05 13:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788594495000,"timestamp_ms":1788594495000,"timestamp_seconds":1788594495,"priority":1,"record_length":96,"hex_timestamp":"000001a0708a1e18"} 
[2026-09-05 13:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:23: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-09-05 13: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-05 13:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13: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-09-05 13:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880113664001,"66":26202,"238":206,"79":20992,"24":0,"16":399712720540139520,"45":7726136293111291904},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,79,24,16,45]} 
[2026-09-05 13:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880113664001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:23:33] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-05 13:23:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712720540139520,"km_value":399712720540139.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7726136293111291904,"description":"Unknown IO ID 45"} 
[2026-09-05 13:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880113664001,"power":26202,"unknown_238":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7726136293111291904}} 
[2026-09-05 13:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":171549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:23:33] local.INFO: GPS data processed {"connection_id":171549,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:23:33] local.INFO: Acknowledgment sent {"connection_id":171549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:23:47] local.INFO: TCP Data received {"connection_id":171849,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171849,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:23:47] local.INFO: Processing buffer {"connection_id":171849,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:23:47] local.INFO: IMEI packet received {"connection_id":171849,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":171849,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:23:50] local.INFO: TCP Data received {"connection_id":171850,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:23:50] local.INFO: Processing buffer {"connection_id":171850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:23:50] local.INFO: IMEI packet received {"connection_id":171850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":171850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:23:53] local.INFO: TCP Data received {"connection_id":171849,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171849,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:23:53] local.INFO: Processing buffer {"connection_id":171849,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:23:53] local.INFO: IMEI packet received {"connection_id":171849,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":171849,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:23:54] local.INFO: TCP Data received {"connection_id":171849,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0708c21b8012c794380084889f0001701562b..."} 
[2026-09-05 13:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708c21b8012c794380084889f0001701562b..."} 
[2026-09-05 13:23:54] local.INFO: Processing buffer {"connection_id":171849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708c21b8012c794380084889f0001701562b..."} 
[2026-09-05 13:23:54] local.INFO: Packet analysis {"connection_id":171849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708c"} 
[2026-09-05 13:23:54] local.INFO: Extracted packet for processing {"connection_id":171849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708c"} 
[2026-09-05 13:23:54] local.INFO: GPS Element Parsed {"raw_longitude":746144640,"raw_latitude":138971632,"longitude_deg":74.614464,"latitude_deg":13.8971632,"altitude":23,"angle":342,"satellites":43,"speed":39,"hex_longitude":"2c794380","hex_latitude":"084889f0","is_valid_coordinates":true} 
[2026-09-05 13:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880221952001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1228708539006976,"note":"Value kept but may cause issues"} 
[2026-09-05 13:23:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8741557281044762624,"note":"Value kept but may cause issues"} 
[2026-09-05 13:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788594627000,"timestamp_ms":1788594627000,"timestamp_seconds":1788594627,"priority":1,"record_length":96,"hex_timestamp":"000001a0708c21b8"} 
[2026-09-05 13:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 13:23:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880221952001,"66":28278,"119":206,"9":53760,"24":39,"16":1228708539006976,"44":8741557281044762624},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880221952001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:23:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:23:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1228708539006976,"km_value":1228708539006.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:23:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8741557281044762624,"description":"Unknown IO ID 44"} 
[2026-09-05 13:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880221952001,"power":28278,"unknown_119":206,"unknown_9":53760,"ignition":39,"odometer":null,"unknown_44":8741557281044762624}} 
[2026-09-05 13:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":171849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768709,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:23:54] local.INFO: GPS data processed {"connection_id":171849,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:23:54] local.INFO: Acknowledgment sent {"connection_id":171849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:23:54] local.INFO: TCP Data received {"connection_id":171851,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:23:54] local.INFO: Processing buffer {"connection_id":171851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:23:54] local.INFO: IMEI packet received {"connection_id":171851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":171851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:23:55] local.INFO: TCP Data received {"connection_id":171850,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:23:55] local.INFO: Processing buffer {"connection_id":171850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:23:55] local.INFO: IMEI packet received {"connection_id":171850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":171850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:23:56] local.INFO: TCP Data received {"connection_id":171850,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0708e5ff0012cee9f000732d890004f004426..."} 
[2026-09-05 13:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708e5ff0012cee9f000732d890004f004426..."} 
[2026-09-05 13:23:56] local.INFO: Processing buffer {"connection_id":171850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708e5ff0012cee9f000732d890004f004426..."} 
[2026-09-05 13:23:56] local.INFO: Packet analysis {"connection_id":171850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708e"} 
[2026-09-05 13:23:56] local.INFO: Extracted packet for processing {"connection_id":171850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708e"} 
[2026-09-05 13:23:56] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":38,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880185088001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:23:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788594774000,"timestamp_ms":1788594774000,"timestamp_seconds":1788594774,"priority":1,"record_length":96,"hex_timestamp":"000001a0708e5ff0"} 
[2026-09-05 13:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:23:56] 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-09-05 13:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:23:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:23:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880185088001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880185088001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:23:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:23:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:23:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880185088001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":171850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:23:56] local.INFO: GPS data processed {"connection_id":171850,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:23:56] local.INFO: Acknowledgment sent {"connection_id":171850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:23:56] local.INFO: TCP Data received {"connection_id":171851,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:23:56] local.INFO: Processing buffer {"connection_id":171851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:23:56] local.INFO: IMEI packet received {"connection_id":171851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":171851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:24:00] local.INFO: TCP Data received {"connection_id":171850,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0708e5ff0012cee9f000732d890004f004426..."} 
[2026-09-05 13:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708e5ff0012cee9f000732d890004f004426..."} 
[2026-09-05 13:24:00] local.INFO: Processing buffer {"connection_id":171850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708e5ff0012cee9f000732d890004f004426..."} 
[2026-09-05 13:24:00] local.INFO: Packet analysis {"connection_id":171850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708e"} 
[2026-09-05 13:24:00] local.INFO: Extracted packet for processing {"connection_id":171850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708e"} 
[2026-09-05 13:24:00] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":38,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880185088001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:24:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788594774000,"timestamp_ms":1788594774000,"timestamp_seconds":1788594774,"priority":1,"record_length":96,"hex_timestamp":"000001a0708e5ff0"} 
[2026-09-05 13:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880185088001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880185088001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:24:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:24:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:24:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880185088001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":171850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:24:00] local.INFO: GPS data processed {"connection_id":171850,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:24:00] local.INFO: Acknowledgment sent {"connection_id":171850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:24:01] local.INFO: TCP Data received {"connection_id":171851,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:24:01] local.INFO: Processing buffer {"connection_id":171851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:24:01] local.INFO: IMEI packet received {"connection_id":171851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":171851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:24:02] local.INFO: TCP Data received {"connection_id":171851,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0708eb5e0012d6b38c0061526e0000e00b131..."} 
[2026-09-05 13:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708eb5e0012d6b38c0061526e0000e00b131..."} 
[2026-09-05 13:24:02] local.INFO: Processing buffer {"connection_id":171851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708eb5e0012d6b38c0061526e0000e00b131..."} 
[2026-09-05 13:24:02] local.INFO: Packet analysis {"connection_id":171851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708e"} 
[2026-09-05 13:24:02] local.INFO: Extracted packet for processing {"connection_id":171851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708e"} 
[2026-09-05 13:24:02] local.INFO: GPS Element Parsed {"raw_longitude":762001600,"raw_latitude":102049504,"longitude_deg":76.20016,"latitude_deg":10.2049504,"altitude":14,"angle":177,"satellites":49,"speed":0,"hex_longitude":"2d6b38c0","hex_latitude":"061526e0","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880190720001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712720540139520,"note":"Value kept but may cause issues"} 
[2026-09-05 13:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7726136293111291904,"note":"Value kept but may cause issues"} 
[2026-09-05 13:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788594796000,"timestamp_ms":1788594796000,"timestamp_seconds":1788594796,"priority":1,"record_length":96,"hex_timestamp":"000001a0708eb5e0"} 
[2026-09-05 13:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13: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":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-09-05 13:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13: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-09-05 13:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880190720001,"66":26028,"238":206,"79":20992,"24":0,"16":399712720540139520,"45":7726136293111291904},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,79,24,16,45]} 
[2026-09-05 13:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880190720001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:24:02] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-05 13:24:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712720540139520,"km_value":399712720540139.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7726136293111291904,"description":"Unknown IO ID 45"} 
[2026-09-05 13:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880190720001,"power":26028,"unknown_238":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7726136293111291904}} 
[2026-09-05 13:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":171851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:24:02] local.INFO: GPS data processed {"connection_id":171851,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:24:02] local.INFO: Acknowledgment sent {"connection_id":171851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:24:26] local.INFO: TCP Data received {"connection_id":171849,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0708c44e0012c793c000848ac40001501612a..."} 
[2026-09-05 13:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708c44e0012c793c000848ac40001501612a..."} 
[2026-09-05 13:24:26] local.INFO: Processing buffer {"connection_id":171849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708c44e0012c793c000848ac40001501612a..."} 
[2026-09-05 13:24:26] local.INFO: Packet analysis {"connection_id":171849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708c"} 
[2026-09-05 13:24:26] local.INFO: Extracted packet for processing {"connection_id":171849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708c"} 
[2026-09-05 13:24:26] local.INFO: GPS Element Parsed {"raw_longitude":746142720,"raw_latitude":138980416,"longitude_deg":74.614272,"latitude_deg":13.8980416,"altitude":21,"angle":353,"satellites":42,"speed":38,"hex_longitude":"2c793c00","hex_latitude":"0848ac40","is_valid_coordinates":true} 
[2026-09-05 13:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880224512001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229142330703872,"note":"Value kept but may cause issues"} 
[2026-09-05 13:24:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8737968475093987328,"note":"Value kept but may cause issues"} 
[2026-09-05 13:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788594636000,"timestamp_ms":1788594636000,"timestamp_seconds":1788594636,"priority":1,"record_length":96,"hex_timestamp":"000001a0708c44e0"} 
[2026-09-05 13:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1810,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880224512001,"66":28050,"119":206,"9":53760,"24":38,"16":1229142330703872,"44":8737968475093987328},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880224512001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:24:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:24:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229142330703872,"km_value":1229142330703.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:24:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8737968475093987328,"description":"Unknown IO ID 44"} 
[2026-09-05 13:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880224512001,"power":28050,"unknown_119":206,"unknown_9":53760,"ignition":38,"odometer":null,"unknown_44":8737968475093987328}} 
[2026-09-05 13:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":171849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768713,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:24:26] local.INFO: GPS data processed {"connection_id":171849,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:24:26] local.INFO: Acknowledgment sent {"connection_id":171849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:24:33] local.INFO: TCP Data received {"connection_id":171851,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0708f32e0012d6b38c0061526e0000e00b131..."} 
[2026-09-05 13:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708f32e0012d6b38c0061526e0000e00b131..."} 
[2026-09-05 13:24:33] local.INFO: Processing buffer {"connection_id":171851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708f32e0012d6b38c0061526e0000e00b131..."} 
[2026-09-05 13:24:33] local.INFO: Packet analysis {"connection_id":171851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708f"} 
[2026-09-05 13:24:33] local.INFO: Extracted packet for processing {"connection_id":171851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708f"} 
[2026-09-05 13:24:33] local.INFO: GPS Element Parsed {"raw_longitude":762001600,"raw_latitude":102049504,"longitude_deg":76.20016,"latitude_deg":10.2049504,"altitude":14,"angle":177,"satellites":49,"speed":0,"hex_longitude":"2d6b38c0","hex_latitude":"061526e0","is_valid_coordinates":true} 
[2026-09-05 13:24: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-09-05 13:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880267776001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712720540139520,"note":"Value kept but may cause issues"} 
[2026-09-05 13:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7726136293111291904,"note":"Value kept but may cause issues"} 
[2026-09-05 13:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788594828000,"timestamp_ms":1788594828000,"timestamp_seconds":1788594828,"priority":1,"record_length":96,"hex_timestamp":"000001a0708f32e0"} 
[2026-09-05 13:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:24: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-09-05 13: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-05 13:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:24: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-09-05 13:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880267776001,"66":26039,"238":206,"79":20992,"24":0,"16":399712720540139520,"45":7726136293111291904},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,79,24,16,45]} 
[2026-09-05 13:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880267776001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:24:33] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-05 13:24:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712720540139520,"km_value":399712720540139.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7726136293111291904,"description":"Unknown IO ID 45"} 
[2026-09-05 13:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880267776001,"power":26039,"unknown_238":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7726136293111291904}} 
[2026-09-05 13:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":171851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:24:33] local.INFO: GPS data processed {"connection_id":171851,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:24:33] local.INFO: Acknowledgment sent {"connection_id":171851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:24:45] local.INFO: TCP Data received {"connection_id":172945,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:24:45] local.INFO: Processing buffer {"connection_id":172945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:24:45] local.INFO: IMEI packet received {"connection_id":172945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":172945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:24:47] local.INFO: TCP Data received {"connection_id":172946,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:24:47] local.INFO: Processing buffer {"connection_id":172946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:24:47] local.INFO: IMEI packet received {"connection_id":172946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":172946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:24:50] local.INFO: TCP Data received {"connection_id":172945,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:24:50] local.INFO: Processing buffer {"connection_id":172945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:24:50] local.INFO: IMEI packet received {"connection_id":172945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":172945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:24:51] local.INFO: TCP Data received {"connection_id":172945,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0708e5ff0012cee9f000732d890004f004426..."} 
[2026-09-05 13:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708e5ff0012cee9f000732d890004f004426..."} 
[2026-09-05 13:24:51] local.INFO: Processing buffer {"connection_id":172945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708e5ff0012cee9f000732d890004f004426..."} 
[2026-09-05 13:24:51] local.INFO: Packet analysis {"connection_id":172945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708e"} 
[2026-09-05 13:24:51] local.INFO: Extracted packet for processing {"connection_id":172945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708e"} 
[2026-09-05 13:24:51] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":38,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880185088001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:24:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788594774000,"timestamp_ms":1788594774000,"timestamp_seconds":1788594774,"priority":1,"record_length":96,"hex_timestamp":"000001a0708e5ff0"} 
[2026-09-05 13:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880185088001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880185088001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:24:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:24:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:24:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880185088001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":172945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:24:51] local.INFO: GPS data processed {"connection_id":172945,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:24:51] local.INFO: Acknowledgment sent {"connection_id":172945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:24:55] local.INFO: TCP Data received {"connection_id":172946,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:24:55] local.INFO: Processing buffer {"connection_id":172946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:24:55] local.INFO: IMEI packet received {"connection_id":172946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":172946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:24:56] local.INFO: TCP Data received {"connection_id":174250,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:24:56] local.INFO: Processing buffer {"connection_id":174250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:24:56] local.INFO: IMEI packet received {"connection_id":174250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":174250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:24:56] local.INFO: TCP Data received {"connection_id":172946,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0708c44e0012c793c000848ac40001501612a..."} 
[2026-09-05 13:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708c44e0012c793c000848ac40001501612a..."} 
[2026-09-05 13:24:56] local.INFO: Processing buffer {"connection_id":172946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708c44e0012c793c000848ac40001501612a..."} 
[2026-09-05 13:24:56] local.INFO: Packet analysis {"connection_id":172946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708c"} 
[2026-09-05 13:24:56] local.INFO: Extracted packet for processing {"connection_id":172946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708c"} 
[2026-09-05 13:24:56] local.INFO: GPS Element Parsed {"raw_longitude":746142720,"raw_latitude":138980416,"longitude_deg":74.614272,"latitude_deg":13.8980416,"altitude":21,"angle":353,"satellites":42,"speed":38,"hex_longitude":"2c793c00","hex_latitude":"0848ac40","is_valid_coordinates":true} 
[2026-09-05 13:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880226816001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229142330703872,"note":"Value kept but may cause issues"} 
[2026-09-05 13:24:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735857412770906112,"note":"Value kept but may cause issues"} 
[2026-09-05 13:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788594636000,"timestamp_ms":1788594636000,"timestamp_seconds":1788594636,"priority":1,"record_length":96,"hex_timestamp":"000001a0708c44e0"} 
[2026-09-05 13:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 13:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:24:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880226816001,"66":28050,"119":206,"9":53760,"24":38,"16":1229142330703872,"44":8735857412770906112},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880226816001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:24:56] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:24:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229142330703872,"km_value":1229142330703.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:24:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735857412770906112,"description":"Unknown IO ID 44"} 
[2026-09-05 13:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880226816001,"power":28050,"unknown_119":206,"unknown_9":53760,"ignition":38,"odometer":null,"unknown_44":8735857412770906112}} 
[2026-09-05 13:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":172946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768716,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:24:56] local.INFO: GPS data processed {"connection_id":172946,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:24:56] local.INFO: Acknowledgment sent {"connection_id":172946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:25:01] local.INFO: TCP Data received {"connection_id":174250,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:25:01] local.INFO: Processing buffer {"connection_id":174250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:25:01] local.INFO: IMEI packet received {"connection_id":174250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":174250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:25:02] local.INFO: TCP Data received {"connection_id":174250,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0708f9870012d6b384006151378000e00b233..."} 
[2026-09-05 13:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708f9870012d6b384006151378000e00b233..."} 
[2026-09-05 13:25:02] local.INFO: Processing buffer {"connection_id":174250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708f9870012d6b384006151378000e00b233..."} 
[2026-09-05 13:25:02] local.INFO: Packet analysis {"connection_id":174250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708f"} 
[2026-09-05 13:25:02] local.INFO: Extracted packet for processing {"connection_id":174250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708f"} 
[2026-09-05 13:25:02] local.INFO: GPS Element Parsed {"raw_longitude":762001472,"raw_latitude":102044536,"longitude_deg":76.2001472,"latitude_deg":10.2044536,"altitude":14,"angle":178,"satellites":51,"speed":0,"hex_longitude":"2d6b3840","hex_latitude":"06151378","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880275968001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712720540139520,"note":"Value kept but may cause issues"} 
[2026-09-05 13:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7726136293111291904,"note":"Value kept but may cause issues"} 
[2026-09-05 13:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788594854000,"timestamp_ms":1788594854000,"timestamp_seconds":1788594854,"priority":1,"record_length":96,"hex_timestamp":"000001a0708f9870"} 
[2026-09-05 13:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:25: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-09-05 13:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-05 13:25:02] 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-09-05 13: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-09-05 13:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13: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-09-05 13:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880275968001,"66":27713,"167":206,"79":20992,"24":0,"16":399712720540139520,"45":7726136293111291904},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-09-05 13:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880275968001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:25:02] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-05 13:25:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712720540139520,"km_value":399712720540139.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7726136293111291904,"description":"Unknown IO ID 45"} 
[2026-09-05 13:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880275968001,"power":27713,"unknown_167":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7726136293111291904}} 
[2026-09-05 13:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":174250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:25:02] local.INFO: GPS data processed {"connection_id":174250,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:25:02] local.INFO: Acknowledgment sent {"connection_id":174250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:25:22] local.INFO: TCP Data received {"connection_id":172945,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0708e5ff0012cee9f000732d890004f004426..."} 
[2026-09-05 13:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708e5ff0012cee9f000732d890004f004426..."} 
[2026-09-05 13:25:22] local.INFO: Processing buffer {"connection_id":172945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708e5ff0012cee9f000732d890004f004426..."} 
[2026-09-05 13:25:22] local.INFO: Packet analysis {"connection_id":172945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708e"} 
[2026-09-05 13:25:22] local.INFO: Extracted packet for processing {"connection_id":172945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708e"} 
[2026-09-05 13:25:22] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":38,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880185088001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:25:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788594774000,"timestamp_ms":1788594774000,"timestamp_seconds":1788594774,"priority":1,"record_length":96,"hex_timestamp":"000001a0708e5ff0"} 
[2026-09-05 13:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:25:22] 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-09-05 13:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:25:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:25:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880185088001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880185088001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:25:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:25:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:25:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880185088001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":172945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:25:22] local.INFO: GPS data processed {"connection_id":172945,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:25:22] local.INFO: Acknowledgment sent {"connection_id":172945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:25:28] local.INFO: TCP Data received {"connection_id":172946,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0708c6bf0012c7938800848c360001401552a..."} 
[2026-09-05 13:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708c6bf0012c7938800848c360001401552a..."} 
[2026-09-05 13:25:28] local.INFO: Processing buffer {"connection_id":172946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708c6bf0012c7938800848c360001401552a..."} 
[2026-09-05 13:25:28] local.INFO: Packet analysis {"connection_id":172946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708c"} 
[2026-09-05 13:25:28] local.INFO: Extracted packet for processing {"connection_id":172946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708c"} 
[2026-09-05 13:25:28] local.INFO: GPS Element Parsed {"raw_longitude":746141824,"raw_latitude":138986336,"longitude_deg":74.6141824,"latitude_deg":13.8986336,"altitude":20,"angle":341,"satellites":42,"speed":8,"hex_longitude":"2c793880","hex_latitude":"0848c360","is_valid_coordinates":true} 
[2026-09-05 13:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880226816001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229434388480000,"note":"Value kept but may cause issues"} 
[2026-09-05 13:25:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735857412770906112,"note":"Value kept but may cause issues"} 
[2026-09-05 13:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788594646000,"timestamp_ms":1788594646000,"timestamp_seconds":1788594646,"priority":1,"record_length":96,"hex_timestamp":"000001a0708c6bf0"} 
[2026-09-05 13:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 13:25:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:25:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880226816001,"66":28256,"119":206,"9":53760,"24":8,"16":1229434388480000,"44":8735857412770906112},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880226816001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:25:28] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:25:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229434388480000,"km_value":1229434388480,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:25:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735857412770906112,"description":"Unknown IO ID 44"} 
[2026-09-05 13:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880226816001,"power":28256,"unknown_119":206,"unknown_9":53760,"ignition":8,"odometer":null,"unknown_44":8735857412770906112}} 
[2026-09-05 13:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":172946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768719,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:25:28] local.INFO: GPS data processed {"connection_id":172946,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:25:28] local.INFO: Acknowledgment sent {"connection_id":172946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:25:33] local.INFO: TCP Data received {"connection_id":174250,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0708fe690012d6b37c0061512f0000b00c835..."} 
[2026-09-05 13:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708fe690012d6b37c0061512f0000b00c835..."} 
[2026-09-05 13:25:33] local.INFO: Processing buffer {"connection_id":174250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708fe690012d6b37c0061512f0000b00c835..."} 
[2026-09-05 13:25:33] local.INFO: Packet analysis {"connection_id":174250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708f"} 
[2026-09-05 13:25:33] local.INFO: Extracted packet for processing {"connection_id":174250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708f"} 
[2026-09-05 13:25:33] local.INFO: GPS Element Parsed {"raw_longitude":762001344,"raw_latitude":102044400,"longitude_deg":76.2001344,"latitude_deg":10.20444,"altitude":11,"angle":200,"satellites":53,"speed":6,"hex_longitude":"2d6b37c0","hex_latitude":"061512f0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 13:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880282624001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712729130074112,"note":"Value kept but may cause issues"} 
[2026-09-05 13:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7725995555621664768,"note":"Value kept but may cause issues"} 
[2026-09-05 13:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788594874000,"timestamp_ms":1788594874000,"timestamp_seconds":1788594874,"priority":1,"record_length":96,"hex_timestamp":"000001a0708fe690"} 
[2026-09-05 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-09-05 13:25: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-09-05 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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-05 13:25: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-09-05 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-09-05 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-09-05 13:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13: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-09-05 13:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880282624001,"66":27908,"167":206,"79":20992,"24":6,"16":399712729130074112,"45":7725995555621664768},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-09-05 13:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880282624001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:25:33] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-05 13:25:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712729130074112,"km_value":399712729130074.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7725995555621664768,"description":"Unknown IO ID 45"} 
[2026-09-05 13:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880282624001,"power":27908,"unknown_167":206,"unknown_79":20992,"ignition":6,"odometer":null,"unknown_45":7725995555621664768}} 
[2026-09-05 13:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":174250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:25:33] local.INFO: GPS data processed {"connection_id":174250,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:25:33] local.INFO: Acknowledgment sent {"connection_id":174250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:25:45] local.INFO: TCP Data received {"connection_id":174251,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:25:45] local.INFO: Processing buffer {"connection_id":174251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:25:45] local.INFO: IMEI packet received {"connection_id":174251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":174251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:25:47] local.INFO: TCP Data received {"connection_id":174252,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174252,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:25:47] local.INFO: Processing buffer {"connection_id":174252,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:25:47] local.INFO: IMEI packet received {"connection_id":174252,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":174252,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:25:50] local.INFO: TCP Data received {"connection_id":174251,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:25:50] local.INFO: Processing buffer {"connection_id":174251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:25:50] local.INFO: IMEI packet received {"connection_id":174251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":174251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:25:51] local.INFO: TCP Data received {"connection_id":174251,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0708e5ff0012cee9f000732d890004f004426..."} 
[2026-09-05 13:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708e5ff0012cee9f000732d890004f004426..."} 
[2026-09-05 13:25:51] local.INFO: Processing buffer {"connection_id":174251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708e5ff0012cee9f000732d890004f004426..."} 
[2026-09-05 13:25:51] local.INFO: Packet analysis {"connection_id":174251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708e"} 
[2026-09-05 13:25:51] local.INFO: Extracted packet for processing {"connection_id":174251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708e"} 
[2026-09-05 13:25:51] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":38,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880185088001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:25:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788594774000,"timestamp_ms":1788594774000,"timestamp_seconds":1788594774,"priority":1,"record_length":96,"hex_timestamp":"000001a0708e5ff0"} 
[2026-09-05 13:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880185088001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880185088001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:25:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:25:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:25:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880185088001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":174251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:25:51] local.INFO: GPS data processed {"connection_id":174251,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:25:51] local.INFO: Acknowledgment sent {"connection_id":174251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:25:55] local.INFO: TCP Data received {"connection_id":174252,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174252,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:25:55] local.INFO: Processing buffer {"connection_id":174252,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:25:55] local.INFO: IMEI packet received {"connection_id":174252,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":174252,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:25:56] local.INFO: TCP Data received {"connection_id":174252,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0708c77a8012c7937c00848c560001400012a..."} 
[2026-09-05 13:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708c77a8012c7937c00848c560001400012a..."} 
[2026-09-05 13:25:56] local.INFO: Processing buffer {"connection_id":174252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708c77a8012c7937c00848c560001400012a..."} 
[2026-09-05 13:25:56] local.INFO: Packet analysis {"connection_id":174252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708c"} 
[2026-09-05 13:25:56] local.INFO: Extracted packet for processing {"connection_id":174252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708c"} 
[2026-09-05 13:25:56] local.INFO: GPS Element Parsed {"raw_longitude":746141632,"raw_latitude":138986848,"longitude_deg":74.6141632,"latitude_deg":13.8986848,"altitude":20,"angle":1,"satellites":42,"speed":5,"hex_longitude":"2c7937c0","hex_latitude":"0848c560","is_valid_coordinates":true} 
[2026-09-05 13:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880229376001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229464453251072,"note":"Value kept but may cause issues"} 
[2026-09-05 13:25:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734872250353934336,"note":"Value kept but may cause issues"} 
[2026-09-05 13:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788594649000,"timestamp_ms":1788594649000,"timestamp_seconds":1788594649,"priority":1,"record_length":96,"hex_timestamp":"000001a0708c77a8"} 
[2026-09-05 13:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 13:25:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:25:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174252,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174252,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880229376001,"66":28202,"119":206,"9":53760,"24":5,"16":1229464453251072,"44":8734872250353934336},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880229376001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:25:56] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:25:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229464453251072,"km_value":1229464453251.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:25:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734872250353934336,"description":"Unknown IO ID 44"} 
[2026-09-05 13:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880229376001,"power":28202,"unknown_119":206,"unknown_9":53760,"ignition":5,"odometer":null,"unknown_44":8734872250353934336}} 
[2026-09-05 13:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":174252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768722,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:25:56] local.INFO: GPS data processed {"connection_id":174252,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:25:56] local.INFO: Acknowledgment sent {"connection_id":174252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:26:22] local.INFO: TCP Data received {"connection_id":174251,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0708e5ff0012cee9f000732d890004f004426..."} 
[2026-09-05 13:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708e5ff0012cee9f000732d890004f004426..."} 
[2026-09-05 13:26:22] local.INFO: Processing buffer {"connection_id":174251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708e5ff0012cee9f000732d890004f004426..."} 
[2026-09-05 13:26:22] local.INFO: Packet analysis {"connection_id":174251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708e"} 
[2026-09-05 13:26:22] local.INFO: Extracted packet for processing {"connection_id":174251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708e"} 
[2026-09-05 13:26:22] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":38,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880185088001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:26:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788594774000,"timestamp_ms":1788594774000,"timestamp_seconds":1788594774,"priority":1,"record_length":96,"hex_timestamp":"000001a0708e5ff0"} 
[2026-09-05 13:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:26:22] 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-09-05 13:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880185088001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880185088001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:26:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:26:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:26:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880185088001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":174251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:26:22] local.INFO: GPS data processed {"connection_id":174251,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:26:22] local.INFO: Acknowledgment sent {"connection_id":174251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:26:27] local.INFO: TCP Data received {"connection_id":174252,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0708cc9b0012c7938400848c6500014000129..."} 
[2026-09-05 13:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708cc9b0012c7938400848c6500014000129..."} 
[2026-09-05 13:26:27] local.INFO: Processing buffer {"connection_id":174252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708cc9b0012c7938400848c6500014000129..."} 
[2026-09-05 13:26:27] local.INFO: Packet analysis {"connection_id":174252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708c"} 
[2026-09-05 13:26:27] local.INFO: Extracted packet for processing {"connection_id":174252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708c"} 
[2026-09-05 13:26:27] local.INFO: GPS Element Parsed {"raw_longitude":746141760,"raw_latitude":138987088,"longitude_deg":74.614176,"latitude_deg":13.8987088,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c793840","hex_latitude":"0848c650","is_valid_coordinates":true} 
[2026-09-05 13:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880230144001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:26:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734661144121532416,"note":"Value kept but may cause issues"} 
[2026-09-05 13:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788594670000,"timestamp_ms":1788594670000,"timestamp_seconds":1788594670,"priority":1,"record_length":96,"hex_timestamp":"000001a0708cc9b0"} 
[2026-09-05 13:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-05 13:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174252,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174252,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880230144001,"66":28234,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734661144121532416},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880230144001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:26:27] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:26:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:26:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734661144121532416,"description":"Unknown IO ID 44"} 
[2026-09-05 13:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880230144001,"power":28234,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734661144121532416}} 
[2026-09-05 13:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":174252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768724,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:26:28] local.INFO: GPS data processed {"connection_id":174252,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:26:28] local.INFO: Acknowledgment sent {"connection_id":174252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:26:32] local.INFO: TCP Data received {"connection_id":174253,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:26:32] local.INFO: Processing buffer {"connection_id":174253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:26:32] local.INFO: IMEI packet received {"connection_id":174253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":174253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:26:33] local.INFO: TCP Data received {"connection_id":174253,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:26:33] local.INFO: Processing buffer {"connection_id":174253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:26:33] local.INFO: IMEI packet received {"connection_id":174253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":174253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:26:42] local.INFO: TCP Data received {"connection_id":174253,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:26:42] local.INFO: Processing buffer {"connection_id":174253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:26:42] local.INFO: IMEI packet received {"connection_id":174253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":174253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:26:45] local.INFO: TCP Data received {"connection_id":171550,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:26:45] local.INFO: Processing buffer {"connection_id":171550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:26:45] local.INFO: IMEI packet received {"connection_id":171550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":171550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:26:46] local.INFO: TCP Data received {"connection_id":174253,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0708ff248012d6b368006150f78000b00bc34..."} 
[2026-09-05 13:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708ff248012d6b368006150f78000b00bc34..."} 
[2026-09-05 13:26:46] local.INFO: Processing buffer {"connection_id":174253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708ff248012d6b368006150f78000b00bc34..."} 
[2026-09-05 13:26:46] local.INFO: Packet analysis {"connection_id":174253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708f"} 
[2026-09-05 13:26:46] local.INFO: Extracted packet for processing {"connection_id":174253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708f"} 
[2026-09-05 13:26:46] local.INFO: GPS Element Parsed {"raw_longitude":762001024,"raw_latitude":102043512,"longitude_deg":76.2001024,"latitude_deg":10.2043512,"altitude":11,"angle":188,"satellites":52,"speed":15,"hex_longitude":"2d6b3680","hex_latitude":"06150f78","is_valid_coordinates":true} 
[2026-09-05 13:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880287744001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712776374714368,"note":"Value kept but may cause issues"} 
[2026-09-05 13:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7725854818133274624,"note":"Value kept but may cause issues"} 
[2026-09-05 13:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788594877000,"timestamp_ms":1788594877000,"timestamp_seconds":1788594877,"priority":1,"record_length":96,"hex_timestamp":"000001a0708ff248"} 
[2026-09-05 13:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:26: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-09-05 13:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 13:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880287744001,"66":27767,"167":206,"79":20992,"24":15,"16":399712776374714368,"45":7725854818133274624},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-09-05 13:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880287744001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:26:46] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-05 13:26:46] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712776374714368,"km_value":399712776374714.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":7725854818133274624,"description":"Unknown IO ID 45"} 
[2026-09-05 13:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880287744001,"power":27767,"unknown_167":206,"unknown_79":20992,"ignition":15,"odometer":null,"unknown_45":7725854818133274624}} 
[2026-09-05 13:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":174253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:26:46] local.INFO: GPS data processed {"connection_id":174253,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:26:46] local.INFO: Acknowledgment sent {"connection_id":174253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:26:50] local.INFO: TCP Data received {"connection_id":171550,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:26:50] local.INFO: Processing buffer {"connection_id":171550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:26:50] local.INFO: IMEI packet received {"connection_id":171550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":171550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:26:51] local.INFO: TCP Data received {"connection_id":171550,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0708e5ff0012cee9f000732d890004f004426..."} 
[2026-09-05 13:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708e5ff0012cee9f000732d890004f004426..."} 
[2026-09-05 13:26:51] local.INFO: Processing buffer {"connection_id":171550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708e5ff0012cee9f000732d890004f004426..."} 
[2026-09-05 13:26:51] local.INFO: Packet analysis {"connection_id":171550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708e"} 
[2026-09-05 13:26:51] local.INFO: Extracted packet for processing {"connection_id":171550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708e"} 
[2026-09-05 13:26:51] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":38,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880185088001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:26:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788594774000,"timestamp_ms":1788594774000,"timestamp_seconds":1788594774,"priority":1,"record_length":96,"hex_timestamp":"000001a0708e5ff0"} 
[2026-09-05 13:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880185088001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880185088001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:26:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:26:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:26:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880185088001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":171550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:26:51] local.INFO: GPS data processed {"connection_id":171550,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:26:51] local.INFO: Acknowledgment sent {"connection_id":171550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:26:53] local.INFO: TCP Data received {"connection_id":172947,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172947,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:26:53] local.INFO: Processing buffer {"connection_id":172947,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:26:53] local.INFO: IMEI packet received {"connection_id":172947,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":172947,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:26:57] local.INFO: TCP Data received {"connection_id":172947,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172947,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:26:57] local.INFO: Processing buffer {"connection_id":172947,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:26:57] local.INFO: IMEI packet received {"connection_id":172947,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":172947,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:26:58] local.INFO: TCP Data received {"connection_id":172947,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0708d0448012c7938400848c6500014000129..."} 
[2026-09-05 13:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708d0448012c7938400848c6500014000129..."} 
[2026-09-05 13:26:58] local.INFO: Processing buffer {"connection_id":172947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708d0448012c7938400848c6500014000129..."} 
[2026-09-05 13:26:58] local.INFO: Packet analysis {"connection_id":172947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708d"} 
[2026-09-05 13:26:58] local.INFO: Extracted packet for processing {"connection_id":172947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708d"} 
[2026-09-05 13:26:58] local.INFO: GPS Element Parsed {"raw_longitude":746141760,"raw_latitude":138987088,"longitude_deg":74.614176,"latitude_deg":13.8987088,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c793840","hex_latitude":"0848c650","is_valid_coordinates":true} 
[2026-09-05 13:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880235520001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:26:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 13:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788594685000,"timestamp_ms":1788594685000,"timestamp_seconds":1788594685,"priority":1,"record_length":96,"hex_timestamp":"000001a0708d0448"} 
[2026-09-05 13:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-05 13:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:26:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172947,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172947,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880235520001,"66":28278,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880235520001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:26:58] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:26:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:26:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 13:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880235520001,"power":28278,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 13:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":172947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768727,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:26:59] local.INFO: GPS data processed {"connection_id":172947,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:26:59] local.INFO: Acknowledgment sent {"connection_id":172947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:27:01] local.INFO: TCP Data received {"connection_id":171852,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:27:01] local.INFO: Processing buffer {"connection_id":171852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:27:01] local.INFO: IMEI packet received {"connection_id":171852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":171852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:27:06] local.INFO: TCP Data received {"connection_id":172947,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0708d0448012c7938400848c6500014000129..."} 
[2026-09-05 13:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708d0448012c7938400848c6500014000129..."} 
[2026-09-05 13:27:06] local.INFO: Processing buffer {"connection_id":172947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708d0448012c7938400848c6500014000129..."} 
[2026-09-05 13:27:06] local.INFO: Packet analysis {"connection_id":172947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708d"} 
[2026-09-05 13:27:06] local.INFO: Extracted packet for processing {"connection_id":172947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708d"} 
[2026-09-05 13:27:06] local.INFO: GPS Element Parsed {"raw_longitude":746141760,"raw_latitude":138987088,"longitude_deg":74.614176,"latitude_deg":13.8987088,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c793840","hex_latitude":"0848c650","is_valid_coordinates":true} 
[2026-09-05 13:27: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-09-05 13:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880235520001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:27:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 13:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788594685000,"timestamp_ms":1788594685000,"timestamp_seconds":1788594685,"priority":1,"record_length":96,"hex_timestamp":"000001a0708d0448"} 
[2026-09-05 13:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-05 13:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172947,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172947,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880235520001,"66":28278,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880235520001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:27:06] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:27:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:27:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 13:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880235520001,"power":28278,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 13:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":172947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768728,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:27:06] local.INFO: GPS data processed {"connection_id":172947,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:27:06] local.INFO: Acknowledgment sent {"connection_id":172947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:27:06] local.INFO: TCP Data received {"connection_id":171852,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:27:06] local.INFO: Processing buffer {"connection_id":171852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:27:06] local.INFO: IMEI packet received {"connection_id":171852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":171852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:27:07] local.INFO: TCP Data received {"connection_id":171852,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0708ffe00012d6b368006150af0000b00af33..."} 
[2026-09-05 13:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708ffe00012d6b368006150af0000b00af33..."} 
[2026-09-05 13:27:07] local.INFO: Processing buffer {"connection_id":171852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708ffe00012d6b368006150af0000b00af33..."} 
[2026-09-05 13:27:07] local.INFO: Packet analysis {"connection_id":171852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708f"} 
[2026-09-05 13:27:07] local.INFO: Extracted packet for processing {"connection_id":171852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708f"} 
[2026-09-05 13:27:07] local.INFO: GPS Element Parsed {"raw_longitude":762001024,"raw_latitude":102042352,"longitude_deg":76.2001024,"latitude_deg":10.2042352,"altitude":11,"angle":175,"satellites":51,"speed":15,"hex_longitude":"2d6b3680","hex_latitude":"06150af0","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880288512001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399712832209289216,"note":"Value kept but may cause issues"} 
[2026-09-05 13:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7725502974412158976,"note":"Value kept but may cause issues"} 
[2026-09-05 13:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788594880000,"timestamp_ms":1788594880000,"timestamp_seconds":1788594880,"priority":1,"record_length":96,"hex_timestamp":"000001a0708ffe00"} 
[2026-09-05 13:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:27: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-09-05 13: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 13:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880288512001,"66":27843,"167":206,"79":20992,"24":15,"16":399712832209289216,"45":7725502974412158976},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-09-05 13:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880288512001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:27:07] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-05 13:27:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399712832209289216,"km_value":399712832209289.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":7725502974412158976,"description":"Unknown IO ID 45"} 
[2026-09-05 13:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880288512001,"power":27843,"unknown_167":206,"unknown_79":20992,"ignition":15,"odometer":null,"unknown_45":7725502974412158976}} 
[2026-09-05 13:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":171852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:27:07] local.INFO: GPS data processed {"connection_id":171852,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:27:07] local.INFO: Acknowledgment sent {"connection_id":171852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:27:22] local.INFO: TCP Data received {"connection_id":171550,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0708e5ff0012cee9f000732d890004f004426..."} 
[2026-09-05 13:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708e5ff0012cee9f000732d890004f004426..."} 
[2026-09-05 13:27:22] local.INFO: Processing buffer {"connection_id":171550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708e5ff0012cee9f000732d890004f004426..."} 
[2026-09-05 13:27:22] local.INFO: Packet analysis {"connection_id":171550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708e"} 
[2026-09-05 13:27:22] local.INFO: Extracted packet for processing {"connection_id":171550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708e"} 
[2026-09-05 13:27:22] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":38,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880185088001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:27:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788594774000,"timestamp_ms":1788594774000,"timestamp_seconds":1788594774,"priority":1,"record_length":96,"hex_timestamp":"000001a0708e5ff0"} 
[2026-09-05 13:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:27:22] 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-09-05 13:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880185088001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880185088001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:27:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:27:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:27:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880185088001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":171550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:27:22] local.INFO: GPS data processed {"connection_id":171550,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:27:22] local.INFO: Acknowledgment sent {"connection_id":171550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:27:39] local.INFO: TCP Data received {"connection_id":171852,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070903898012d6b39c00614e868000b00ad34..."} 
[2026-09-05 13:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070903898012d6b39c00614e868000b00ad34..."} 
[2026-09-05 13:27:39] local.INFO: Processing buffer {"connection_id":171852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070903898012d6b39c00614e868000b00ad34..."} 
[2026-09-05 13:27:39] local.INFO: Packet analysis {"connection_id":171852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07090"} 
[2026-09-05 13:27:39] local.INFO: Extracted packet for processing {"connection_id":171852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07090"} 
[2026-09-05 13:27:39] local.INFO: GPS Element Parsed {"raw_longitude":762001856,"raw_latitude":102033512,"longitude_deg":76.2001856,"latitude_deg":10.2033512,"altitude":11,"angle":173,"satellites":52,"speed":27,"hex_longitude":"2d6b39c0","hex_latitude":"0614e868","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880289280001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399713261706018816,"note":"Value kept but may cause issues"} 
[2026-09-05 13:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7725502974411862016,"note":"Value kept but may cause issues"} 
[2026-09-05 13:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788594895000,"timestamp_ms":1788594895000,"timestamp_seconds":1788594895,"priority":1,"record_length":96,"hex_timestamp":"000001a070903898"} 
[2026-09-05 13:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:27: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-09-05 13: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 13:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880289280001,"66":27865,"167":206,"79":20992,"24":27,"16":399713261706018816,"45":7725502974411862016},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-09-05 13:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880289280001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:27:39] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-05 13:27:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399713261706018816,"km_value":399713261706018.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":7725502974411862016,"description":"Unknown IO ID 45"} 
[2026-09-05 13:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880289280001,"power":27865,"unknown_167":206,"unknown_79":20992,"ignition":27,"odometer":null,"unknown_45":7725502974411862016}} 
[2026-09-05 13:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":171852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:27:39] local.INFO: GPS data processed {"connection_id":171852,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:27:39] local.INFO: Acknowledgment sent {"connection_id":171852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:27:45] local.INFO: TCP Data received {"connection_id":171853,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:27:45] local.INFO: Processing buffer {"connection_id":171853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:27:45] local.INFO: IMEI packet received {"connection_id":171853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":171853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:27:48] local.INFO: TCP Data received {"connection_id":171854,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171854,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:27:48] local.INFO: Processing buffer {"connection_id":171854,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:27:48] local.INFO: IMEI packet received {"connection_id":171854,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":171854,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:27:50] local.INFO: TCP Data received {"connection_id":171853,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:27:50] local.INFO: Processing buffer {"connection_id":171853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:27:50] local.INFO: IMEI packet received {"connection_id":171853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":171853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:27:51] local.INFO: TCP Data received {"connection_id":171853,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0708e5ff0012cee9f000732d890004f004426..."} 
[2026-09-05 13:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708e5ff0012cee9f000732d890004f004426..."} 
[2026-09-05 13:27:51] local.INFO: Processing buffer {"connection_id":171853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708e5ff0012cee9f000732d890004f004426..."} 
[2026-09-05 13:27:51] local.INFO: Packet analysis {"connection_id":171853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708e"} 
[2026-09-05 13:27:51] local.INFO: Extracted packet for processing {"connection_id":171853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708e"} 
[2026-09-05 13:27:51] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":38,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880185088001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:27:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788594774000,"timestamp_ms":1788594774000,"timestamp_seconds":1788594774,"priority":1,"record_length":96,"hex_timestamp":"000001a0708e5ff0"} 
[2026-09-05 13:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880185088001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880185088001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:27:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:27:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:27:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880185088001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":171853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:27:51] local.INFO: GPS data processed {"connection_id":171853,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:27:51] local.INFO: Acknowledgment sent {"connection_id":171853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:27:55] local.INFO: TCP Data received {"connection_id":171854,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171854,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:27:55] local.INFO: Processing buffer {"connection_id":171854,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:27:55] local.INFO: IMEI packet received {"connection_id":171854,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":171854,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:27:56] local.INFO: TCP Data received {"connection_id":171551,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:27:56] local.INFO: Processing buffer {"connection_id":171551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:27:56] local.INFO: IMEI packet received {"connection_id":171551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":171551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:27:56] local.INFO: TCP Data received {"connection_id":171854,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07091abb0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07091abb0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:27:56] local.INFO: Processing buffer {"connection_id":171854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07091abb0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:27:56] local.INFO: Packet analysis {"connection_id":171854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07091"} 
[2026-09-05 13:27:56] local.INFO: Extracted packet for processing {"connection_id":171854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07091"} 
[2026-09-05 13:27:56] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880239360001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:27:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 13:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788594990000,"timestamp_ms":1788594990000,"timestamp_seconds":1788594990,"priority":1,"record_length":96,"hex_timestamp":"000001a07091abb0"} 
[2026-09-05 13:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1810,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:27:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880239360001,"66":26582,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880239360001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:27:56] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:27:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:27:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 13:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880239360001,"power":26582,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 13:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":171854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768733,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:27:56] local.INFO: GPS data processed {"connection_id":171854,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:27:56] local.INFO: Acknowledgment sent {"connection_id":171854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:28:03] local.INFO: TCP Data received {"connection_id":171551,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:28:03] local.INFO: Processing buffer {"connection_id":171551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:28:03] local.INFO: IMEI packet received {"connection_id":171551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":171551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:28:04] local.INFO: TCP Data received {"connection_id":171551,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070906b60012d6b3f000614c3c8000a00aa33..."} 
[2026-09-05 13:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070906b60012d6b3f000614c3c8000a00aa33..."} 
[2026-09-05 13:28:04] local.INFO: Processing buffer {"connection_id":171551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070906b60012d6b3f000614c3c8000a00aa33..."} 
[2026-09-05 13:28:04] local.INFO: Packet analysis {"connection_id":171551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07090"} 
[2026-09-05 13:28:04] local.INFO: Extracted packet for processing {"connection_id":171551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07090"} 
[2026-09-05 13:28:04] local.INFO: GPS Element Parsed {"raw_longitude":762003200,"raw_latitude":102024136,"longitude_deg":76.20032,"latitude_deg":10.2024136,"altitude":10,"angle":170,"satellites":51,"speed":28,"hex_longitude":"2d6b3f00","hex_latitude":"0614c3c8","is_valid_coordinates":true} 
[2026-09-05 13:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880293120001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399713721267519488,"note":"Value kept but may cause issues"} 
[2026-09-05 13:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7726417768083908608,"note":"Value kept but may cause issues"} 
[2026-09-05 13:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788594908000,"timestamp_ms":1788594908000,"timestamp_seconds":1788594908,"priority":1,"record_length":96,"hex_timestamp":"000001a070906b60"} 
[2026-09-05 13:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:28: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-09-05 13:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 13:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880293120001,"66":27865,"167":206,"79":20992,"24":28,"16":399713721267519488,"45":7726417768083908608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-09-05 13:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880293120001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:28:04] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-05 13:28:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399713721267519488,"km_value":399713721267519.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7726417768083908608,"description":"Unknown IO ID 45"} 
[2026-09-05 13:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880293120001,"power":27865,"unknown_167":206,"unknown_79":20992,"ignition":28,"odometer":null,"unknown_45":7726417768083908608}} 
[2026-09-05 13:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":171551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:28:04] local.INFO: GPS data processed {"connection_id":171551,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:28:04] local.INFO: Acknowledgment sent {"connection_id":171551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:28:22] local.INFO: TCP Data received {"connection_id":171853,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0708e5ff0012cee9f000732d890004f004426..."} 
[2026-09-05 13:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0708e5ff0012cee9f000732d890004f004426..."} 
[2026-09-05 13:28:22] local.INFO: Processing buffer {"connection_id":171853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0708e5ff0012cee9f000732d890004f004426..."} 
[2026-09-05 13:28:22] local.INFO: Packet analysis {"connection_id":171853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0708e"} 
[2026-09-05 13:28:22] local.INFO: Extracted packet for processing {"connection_id":171853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0708e"} 
[2026-09-05 13:28:22] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":38,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880185088001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:28:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788594774000,"timestamp_ms":1788594774000,"timestamp_seconds":1788594774,"priority":1,"record_length":96,"hex_timestamp":"000001a0708e5ff0"} 
[2026-09-05 13:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:28:22] 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-09-05 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880185088001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880185088001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:28:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:28:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:28:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880185088001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":171853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:28:22] local.INFO: GPS data processed {"connection_id":171853,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:28:22] local.INFO: Acknowledgment sent {"connection_id":171853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:28:28] local.INFO: TCP Data received {"connection_id":171854,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07091abb0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07091abb0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:28:28] local.INFO: Processing buffer {"connection_id":171854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07091abb0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:28:28] local.INFO: Packet analysis {"connection_id":171854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07091"} 
[2026-09-05 13:28:28] local.INFO: Extracted packet for processing {"connection_id":171854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07091"} 
[2026-09-05 13:28:28] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880239360001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:28:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 13:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788594990000,"timestamp_ms":1788594990000,"timestamp_seconds":1788594990,"priority":1,"record_length":96,"hex_timestamp":"000001a07091abb0"} 
[2026-09-05 13:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:28:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1810,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":171854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":171854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":171854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880239360001,"66":26582,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880239360001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:28:28] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:28:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:28:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 13:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880239360001,"power":26582,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 13:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":171854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768736,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:28:28] local.INFO: GPS data processed {"connection_id":171854,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:28:28] local.INFO: Acknowledgment sent {"connection_id":171854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:28:36] local.INFO: TCP Data received {"connection_id":171551,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07090a210012d6b434006149fe0000b00af32..."} 
[2026-09-05 13:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07090a210012d6b434006149fe0000b00af32..."} 
[2026-09-05 13:28:36] local.INFO: Processing buffer {"connection_id":171551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07090a210012d6b434006149fe0000b00af32..."} 
[2026-09-05 13:28:36] local.INFO: Packet analysis {"connection_id":171551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07090"} 
[2026-09-05 13:28:36] local.INFO: Extracted packet for processing {"connection_id":171551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07090"} 
[2026-09-05 13:28:36] local.INFO: GPS Element Parsed {"raw_longitude":762004288,"raw_latitude":102014944,"longitude_deg":76.2004288,"latitude_deg":10.2014944,"altitude":11,"angle":175,"satellites":50,"speed":27,"hex_longitude":"2d6b4340","hex_latitude":"06149fe0","is_valid_coordinates":true} 
[2026-09-05 13:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880296448001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399714172239085568,"note":"Value kept but may cause issues"} 
[2026-09-05 13:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7727895511709239296,"note":"Value kept but may cause issues"} 
[2026-09-05 13:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788594922000,"timestamp_ms":1788594922000,"timestamp_seconds":1788594922,"priority":1,"record_length":96,"hex_timestamp":"000001a07090a210"} 
[2026-09-05 13:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 13:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880296448001,"66":27865,"44":206,"79":20992,"24":27,"16":399714172239085568,"45":7727895511709239296},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,79,24,16,45]} 
[2026-09-05 13:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880296448001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:28:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-05 13:28:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399714172239085568,"km_value":399714172239085.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":7727895511709239296,"description":"Unknown IO ID 45"} 
[2026-09-05 13:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880296448001,"power":27865,"unknown_44":206,"unknown_79":20992,"ignition":27,"odometer":null,"unknown_45":7727895511709239296}} 
[2026-09-05 13:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":171551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:28:36] local.INFO: GPS data processed {"connection_id":171551,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:28:36] local.INFO: Acknowledgment sent {"connection_id":171551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:28:45] local.INFO: TCP Data received {"connection_id":172948,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:28:45] local.INFO: Processing buffer {"connection_id":172948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:28:45] local.INFO: IMEI packet received {"connection_id":172948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":172948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:28:48] local.INFO: TCP Data received {"connection_id":171552,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:28:48] local.INFO: Processing buffer {"connection_id":171552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:28:48] local.INFO: IMEI packet received {"connection_id":171552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":171552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:28:50] local.INFO: TCP Data received {"connection_id":172948,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:28:50] local.INFO: Processing buffer {"connection_id":172948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:28:50] local.INFO: IMEI packet received {"connection_id":172948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":172948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:28:51] local.INFO: TCP Data received {"connection_id":172948,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07092f7b8012cee9f000732d890004f004429..."} 
[2026-09-05 13:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07092f7b8012cee9f000732d890004f004429..."} 
[2026-09-05 13:28:51] local.INFO: Processing buffer {"connection_id":172948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07092f7b8012cee9f000732d890004f004429..."} 
[2026-09-05 13:28:51] local.INFO: Packet analysis {"connection_id":172948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07092"} 
[2026-09-05 13:28:51] local.INFO: Extracted packet for processing {"connection_id":172948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07092"} 
[2026-09-05 13:28:51] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":41,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880262144001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:28:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788595075000,"timestamp_ms":1788595075000,"timestamp_seconds":1788595075,"priority":1,"record_length":96,"hex_timestamp":"000001a07092f7b8"} 
[2026-09-05 13:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:28:51] 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-09-05 13:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880262144001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880262144001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:28:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:28:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:28:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880262144001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":172948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:28:51] local.INFO: GPS data processed {"connection_id":172948,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:28:51] local.INFO: Acknowledgment sent {"connection_id":172948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:28:53] local.INFO: TCP Data received {"connection_id":171552,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:28:53] local.INFO: Processing buffer {"connection_id":171552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:28:53] local.INFO: IMEI packet received {"connection_id":171552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":171552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:28:54] local.INFO: TCP Data received {"connection_id":171552,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07091abb0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07091abb0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:28:54] local.INFO: Processing buffer {"connection_id":171552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07091abb0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:28:54] local.INFO: Packet analysis {"connection_id":171552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07091"} 
[2026-09-05 13:28:54] local.INFO: Extracted packet for processing {"connection_id":171552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07091"} 
[2026-09-05 13:28:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880239360001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:28:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 13:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788594990000,"timestamp_ms":1788594990000,"timestamp_seconds":1788594990,"priority":1,"record_length":96,"hex_timestamp":"000001a07091abb0"} 
[2026-09-05 13:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:28:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1810,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880239360001,"66":26582,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880239360001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:28:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:28:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:28:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 13:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880239360001,"power":26582,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 13:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":171552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768739,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:28:54] local.INFO: GPS data processed {"connection_id":171552,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:28:54] local.INFO: Acknowledgment sent {"connection_id":171552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:28:56] local.INFO: TCP Data received {"connection_id":171855,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:28:56] local.INFO: Processing buffer {"connection_id":171855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:28:56] local.INFO: IMEI packet received {"connection_id":171855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":171855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:29:01] local.INFO: TCP Data received {"connection_id":171855,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:29:01] local.INFO: Processing buffer {"connection_id":171855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:29:01] local.INFO: IMEI packet received {"connection_id":171855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":171855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:29:02] local.INFO: TCP Data received {"connection_id":171855,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07090dca8012d6b45c006147b98000d00ae33..."} 
[2026-09-05 13:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07090dca8012d6b45c006147b98000d00ae33..."} 
[2026-09-05 13:29:02] local.INFO: Processing buffer {"connection_id":171855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07090dca8012d6b45c006147b98000d00ae33..."} 
[2026-09-05 13:29:02] local.INFO: Packet analysis {"connection_id":171855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07090"} 
[2026-09-05 13:29:02] local.INFO: Extracted packet for processing {"connection_id":171855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07090"} 
[2026-09-05 13:29:02] local.INFO: GPS Element Parsed {"raw_longitude":762004928,"raw_latitude":102005656,"longitude_deg":76.2004928,"latitude_deg":10.2005656,"altitude":13,"angle":174,"satellites":51,"speed":23,"hex_longitude":"2d6b45c0","hex_latitude":"06147b98","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880300032001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399714623210651648,"note":"Value kept but may cause issues"} 
[2026-09-05 13:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7729091780357906432,"note":"Value kept but may cause issues"} 
[2026-09-05 13:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788594937000,"timestamp_ms":1788594937000,"timestamp_seconds":1788594937,"priority":1,"record_length":96,"hex_timestamp":"000001a07090dca8"} 
[2026-09-05 13:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 13:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880300032001,"66":27974,"44":206,"79":20992,"24":23,"16":399714623210651648,"45":7729091780357906432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,79,24,16,45]} 
[2026-09-05 13:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880300032001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:29:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-05 13:29:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399714623210651648,"km_value":399714623210651.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7729091780357906432,"description":"Unknown IO ID 45"} 
[2026-09-05 13:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880300032001,"power":27974,"unknown_44":206,"unknown_79":20992,"ignition":23,"odometer":null,"unknown_45":7729091780357906432}} 
[2026-09-05 13:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":171855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:29:02] local.INFO: GPS data processed {"connection_id":171855,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:29:02] local.INFO: Acknowledgment sent {"connection_id":171855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:29:22] local.INFO: TCP Data received {"connection_id":172948,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07092f7b8012cee9f000732d890004f004429..."} 
[2026-09-05 13:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07092f7b8012cee9f000732d890004f004429..."} 
[2026-09-05 13:29:22] local.INFO: Processing buffer {"connection_id":172948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07092f7b8012cee9f000732d890004f004429..."} 
[2026-09-05 13:29:22] local.INFO: Packet analysis {"connection_id":172948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07092"} 
[2026-09-05 13:29:22] local.INFO: Extracted packet for processing {"connection_id":172948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07092"} 
[2026-09-05 13:29:22] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":41,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880262144001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:29:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788595075000,"timestamp_ms":1788595075000,"timestamp_seconds":1788595075,"priority":1,"record_length":96,"hex_timestamp":"000001a07092f7b8"} 
[2026-09-05 13:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:29:22] 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-09-05 13:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:29:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880262144001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880262144001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:29:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:29:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:29:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880262144001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":172948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:29:22] local.INFO: GPS data processed {"connection_id":172948,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:29:22] local.INFO: Acknowledgment sent {"connection_id":172948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:29:25] local.INFO: TCP Data received {"connection_id":171552,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07091abb0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07091abb0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:29:25] local.INFO: Processing buffer {"connection_id":171552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07091abb0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:29:25] local.INFO: Packet analysis {"connection_id":171552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07091"} 
[2026-09-05 13:29:25] local.INFO: Extracted packet for processing {"connection_id":171552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07091"} 
[2026-09-05 13:29:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880239360001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:29:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 13:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788594990000,"timestamp_ms":1788594990000,"timestamp_seconds":1788594990,"priority":1,"record_length":96,"hex_timestamp":"000001a07091abb0"} 
[2026-09-05 13:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:29:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1810,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880239360001,"66":26582,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880239360001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:29:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:29:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:29:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 13:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880239360001,"power":26582,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 13:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":171552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768742,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:29:25] local.INFO: GPS data processed {"connection_id":171552,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:29:25] local.INFO: Acknowledgment sent {"connection_id":171552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:29:34] local.INFO: TCP Data received {"connection_id":171855,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070911b28012d6b494006145818000f00ad33..."} 
[2026-09-05 13:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070911b28012d6b494006145818000f00ad33..."} 
[2026-09-05 13:29:34] local.INFO: Processing buffer {"connection_id":171855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070911b28012d6b494006145818000f00ad33..."} 
[2026-09-05 13:29:34] local.INFO: Packet analysis {"connection_id":171855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07091"} 
[2026-09-05 13:29:34] local.INFO: Extracted packet for processing {"connection_id":171855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07091"} 
[2026-09-05 13:29:34] local.INFO: GPS Element Parsed {"raw_longitude":762005824,"raw_latitude":101996568,"longitude_deg":76.2005824,"latitude_deg":10.1996568,"altitude":15,"angle":173,"satellites":51,"speed":22,"hex_longitude":"2d6b4940","hex_latitude":"06145818","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880303872001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399715065592283136,"note":"Value kept but may cause issues"} 
[2026-09-05 13:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7729795467797305344,"note":"Value kept but may cause issues"} 
[2026-09-05 13:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788594953000,"timestamp_ms":1788594953000,"timestamp_seconds":1788594953,"priority":1,"record_length":96,"hex_timestamp":"000001a070911b28"} 
[2026-09-05 13:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:29: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-09-05 13:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 13:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880303872001,"66":27930,"44":206,"79":20992,"24":22,"16":399715065592283136,"45":7729795467797305344},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,79,24,16,45]} 
[2026-09-05 13:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880303872001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:29:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-05 13:29:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 13:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399715065592283136,"km_value":399715065592283.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7729795467797305344,"description":"Unknown IO ID 45"} 
[2026-09-05 13:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880303872001,"power":27930,"unknown_44":206,"unknown_79":20992,"ignition":22,"odometer":null,"unknown_45":7729795467797305344}} 
[2026-09-05 13:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":171855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:29:34] local.INFO: GPS data processed {"connection_id":171855,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:29:34] local.INFO: Acknowledgment sent {"connection_id":171855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:29:47] local.INFO: TCP Data received {"connection_id":174254,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174254,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:29:47] local.INFO: Processing buffer {"connection_id":174254,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:29:47] local.INFO: IMEI packet received {"connection_id":174254,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":174254,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:29:50] local.INFO: TCP Data received {"connection_id":171553,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:29:50] local.INFO: Processing buffer {"connection_id":171553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:29:50] local.INFO: IMEI packet received {"connection_id":171553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":171553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:29:53] local.INFO: TCP Data received {"connection_id":174254,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174254,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:29:53] local.INFO: Processing buffer {"connection_id":174254,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:29:53] local.INFO: IMEI packet received {"connection_id":174254,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":174254,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:29:55] local.INFO: TCP Data received {"connection_id":174254,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07091abb0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07091abb0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:29:55] local.INFO: Processing buffer {"connection_id":174254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07091abb0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:29:55] local.INFO: Packet analysis {"connection_id":174254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07091"} 
[2026-09-05 13:29:55] local.INFO: Extracted packet for processing {"connection_id":174254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07091"} 
[2026-09-05 13:29:55] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880239360001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:29:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 13:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788594990000,"timestamp_ms":1788594990000,"timestamp_seconds":1788594990,"priority":1,"record_length":96,"hex_timestamp":"000001a07091abb0"} 
[2026-09-05 13:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:29:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1810,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174254,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174254,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880239360001,"66":26582,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880239360001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:29:55] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:29:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:29:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 13:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880239360001,"power":26582,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 13:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":174254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768744,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:29:55] local.INFO: GPS data processed {"connection_id":174254,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:29:55] local.INFO: Acknowledgment sent {"connection_id":174254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:29:55] local.INFO: TCP Data received {"connection_id":171553,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:29:55] local.INFO: Processing buffer {"connection_id":171553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:29:55] local.INFO: IMEI packet received {"connection_id":171553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":171553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:29:56] local.INFO: TCP Data received {"connection_id":171553,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07092f7b8012cee9f000732d890004f004429..."} 
[2026-09-05 13:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07092f7b8012cee9f000732d890004f004429..."} 
[2026-09-05 13:29:56] local.INFO: Processing buffer {"connection_id":171553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07092f7b8012cee9f000732d890004f004429..."} 
[2026-09-05 13:29:56] local.INFO: Packet analysis {"connection_id":171553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07092"} 
[2026-09-05 13:29:56] local.INFO: Extracted packet for processing {"connection_id":171553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07092"} 
[2026-09-05 13:29:56] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":41,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880262144001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:29:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788595075000,"timestamp_ms":1788595075000,"timestamp_seconds":1788595075,"priority":1,"record_length":96,"hex_timestamp":"000001a07092f7b8"} 
[2026-09-05 13:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:29:56] 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-09-05 13:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:29:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880262144001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880262144001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:29:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:29:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:29:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880262144001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":171553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:29:56] local.INFO: GPS data processed {"connection_id":171553,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:29:56] local.INFO: Acknowledgment sent {"connection_id":171553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:30:00] local.INFO: TCP Data received {"connection_id":171553,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07092f7b8012cee9f000732d890004f004429..."} 
[2026-09-05 13:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07092f7b8012cee9f000732d890004f004429..."} 
[2026-09-05 13:30:00] local.INFO: Processing buffer {"connection_id":171553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07092f7b8012cee9f000732d890004f004429..."} 
[2026-09-05 13:30:00] local.INFO: Packet analysis {"connection_id":171553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07092"} 
[2026-09-05 13:30:00] local.INFO: Extracted packet for processing {"connection_id":171553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07092"} 
[2026-09-05 13:30:00] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":41,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880262144001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:30:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788595075000,"timestamp_ms":1788595075000,"timestamp_seconds":1788595075,"priority":1,"record_length":96,"hex_timestamp":"000001a07092f7b8"} 
[2026-09-05 13:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:30:00] 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-09-05 13:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880262144001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880262144001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:30:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:30:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:30:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880262144001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":171553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:30:00] local.INFO: GPS data processed {"connection_id":171553,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:30:00] local.INFO: Acknowledgment sent {"connection_id":171553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:30:01] local.INFO: TCP Data received {"connection_id":171856,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:30:01] local.INFO: Processing buffer {"connection_id":171856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:30:01] local.INFO: IMEI packet received {"connection_id":171856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":171856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:30:06] local.INFO: TCP Data received {"connection_id":171856,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:30:06] local.INFO: Processing buffer {"connection_id":171856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:30:06] local.INFO: IMEI packet received {"connection_id":171856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":171856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:30:12] local.INFO: TCP Data received {"connection_id":171856,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07093e218012d6b76400612bab8000700a132..."} 
[2026-09-05 13:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07093e218012d6b76400612bab8000700a132..."} 
[2026-09-05 13:30:12] local.INFO: Processing buffer {"connection_id":171856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07093e218012d6b76400612bab8000700a132..."} 
[2026-09-05 13:30:12] local.INFO: Packet analysis {"connection_id":171856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07093"} 
[2026-09-05 13:30:12] local.INFO: Extracted packet for processing {"connection_id":171856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07093"} 
[2026-09-05 13:30:12] local.INFO: GPS Element Parsed {"raw_longitude":762017344,"raw_latitude":101890744,"longitude_deg":76.2017344,"latitude_deg":10.1890744,"altitude":7,"angle":161,"satellites":50,"speed":16,"hex_longitude":"2d6b7640","hex_latitude":"0612bab8","is_valid_coordinates":true} 
[2026-09-05 13:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880351232001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399720236732907520,"note":"Value kept but may cause issues"} 
[2026-09-05 13:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7742391472977367040,"note":"Value kept but may cause issues"} 
[2026-09-05 13:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788595135000,"timestamp_ms":1788595135000,"timestamp_seconds":1788595135,"priority":1,"record_length":96,"hex_timestamp":"000001a07093e218"} 
[2026-09-05 13:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 13:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880351232001,"66":27767,"137":206,"79":46336,"24":16,"16":399720236732907520,"45":7742391472977367040},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-09-05 13:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880351232001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:30:12] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-05 13:30:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399720236732907520,"km_value":399720236732907.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7742391472977367040,"description":"Unknown IO ID 45"} 
[2026-09-05 13:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880351232001,"power":27767,"unknown_137":206,"unknown_79":46336,"ignition":16,"odometer":null,"unknown_45":7742391472977367040}} 
[2026-09-05 13:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":171856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:30:12] local.INFO: GPS data processed {"connection_id":171856,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:30:12] local.INFO: Acknowledgment sent {"connection_id":171856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:30:13] local.INFO: TCP Data received {"connection_id":171856,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07093f5a0012d6b79000612b4900006009332..."} 
[2026-09-05 13:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07093f5a0012d6b79000612b4900006009332..."} 
[2026-09-05 13:30:13] local.INFO: Processing buffer {"connection_id":171856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07093f5a0012d6b79000612b4900006009332..."} 
[2026-09-05 13:30:13] local.INFO: Packet analysis {"connection_id":171856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07093"} 
[2026-09-05 13:30:13] local.INFO: Extracted packet for processing {"connection_id":171856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07093"} 
[2026-09-05 13:30:13] local.INFO: GPS Element Parsed {"raw_longitude":762018048,"raw_latitude":101889168,"longitude_deg":76.2018048,"latitude_deg":10.1889168,"altitude":6,"angle":147,"satellites":50,"speed":16,"hex_longitude":"2d6b7900","hex_latitude":"0612b490","is_valid_coordinates":true} 
[2026-09-05 13:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880354560001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399720318337286144,"note":"Value kept but may cause issues"} 
[2026-09-05 13:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7743447004138354688,"note":"Value kept but may cause issues"} 
[2026-09-05 13:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788595140000,"timestamp_ms":1788595140000,"timestamp_seconds":1788595140,"priority":1,"record_length":96,"hex_timestamp":"000001a07093f5a0"} 
[2026-09-05 13:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 13:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880354560001,"66":27995,"137":206,"79":46336,"24":16,"16":399720318337286144,"45":7743447004138354688},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-09-05 13:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880354560001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:30:13] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-05 13:30:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399720318337286144,"km_value":399720318337286.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":7743447004138354688,"description":"Unknown IO ID 45"} 
[2026-09-05 13:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880354560001,"power":27995,"unknown_137":206,"unknown_79":46336,"ignition":16,"odometer":null,"unknown_45":7743447004138354688}} 
[2026-09-05 13:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":171856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:30:13] local.INFO: GPS data processed {"connection_id":171856,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:30:13] local.INFO: Acknowledgment sent {"connection_id":171856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:30:26] local.INFO: TCP Data received {"connection_id":174254,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07091abb0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07091abb0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:30:26] local.INFO: Processing buffer {"connection_id":174254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07091abb0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:30:26] local.INFO: Packet analysis {"connection_id":174254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07091"} 
[2026-09-05 13:30:26] local.INFO: Extracted packet for processing {"connection_id":174254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07091"} 
[2026-09-05 13:30:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880239360001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:30:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 13:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788594990000,"timestamp_ms":1788594990000,"timestamp_seconds":1788594990,"priority":1,"record_length":96,"hex_timestamp":"000001a07091abb0"} 
[2026-09-05 13:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:30:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1810,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:30:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174254,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174254,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880239360001,"66":26582,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880239360001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:30:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:30:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:30:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 13:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880239360001,"power":26582,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 13:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":174254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768749,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:30:27] local.INFO: GPS data processed {"connection_id":174254,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:30:27] local.INFO: Acknowledgment sent {"connection_id":174254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:30:45] local.INFO: TCP Data received {"connection_id":174255,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:30:45] local.INFO: Processing buffer {"connection_id":174255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:30:45] local.INFO: IMEI packet received {"connection_id":174255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":174255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:30:50] local.INFO: TCP Data received {"connection_id":174255,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:30:50] local.INFO: Processing buffer {"connection_id":174255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:30:50] local.INFO: IMEI packet received {"connection_id":174255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":174255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:30:51] local.INFO: TCP Data received {"connection_id":174255,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07092f7b8012cee9f000732d890004f004429..."} 
[2026-09-05 13:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07092f7b8012cee9f000732d890004f004429..."} 
[2026-09-05 13:30:51] local.INFO: Processing buffer {"connection_id":174255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07092f7b8012cee9f000732d890004f004429..."} 
[2026-09-05 13:30:51] local.INFO: Packet analysis {"connection_id":174255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07092"} 
[2026-09-05 13:30:51] local.INFO: Extracted packet for processing {"connection_id":174255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07092"} 
[2026-09-05 13:30:51] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":41,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880262144001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:30:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788595075000,"timestamp_ms":1788595075000,"timestamp_seconds":1788595075,"priority":1,"record_length":96,"hex_timestamp":"000001a07092f7b8"} 
[2026-09-05 13:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:30:51] 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-09-05 13:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880262144001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880262144001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:30:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:30:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:30:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880262144001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":174255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:30:51] local.INFO: GPS data processed {"connection_id":174255,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:30:51] local.INFO: Acknowledgment sent {"connection_id":174255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:30:53] local.INFO: TCP Data received {"connection_id":172949,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:30:53] local.INFO: Processing buffer {"connection_id":172949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:30:53] local.INFO: IMEI packet received {"connection_id":172949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":172949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:30:56] local.INFO: TCP Data received {"connection_id":171554,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:30:56] local.INFO: Processing buffer {"connection_id":171554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:30:56] local.INFO: IMEI packet received {"connection_id":171554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":171554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:30:57] local.INFO: TCP Data received {"connection_id":172949,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:30:57] local.INFO: Processing buffer {"connection_id":172949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:30:57] local.INFO: IMEI packet received {"connection_id":172949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":172949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:30:58] local.INFO: TCP Data received {"connection_id":172949,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07091abb0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07091abb0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:30:58] local.INFO: Processing buffer {"connection_id":172949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07091abb0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:30:58] local.INFO: Packet analysis {"connection_id":172949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07091"} 
[2026-09-05 13:30:58] local.INFO: Extracted packet for processing {"connection_id":172949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07091"} 
[2026-09-05 13:30:58] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880239360001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:30:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 13:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788594990000,"timestamp_ms":1788594990000,"timestamp_seconds":1788594990,"priority":1,"record_length":96,"hex_timestamp":"000001a07091abb0"} 
[2026-09-05 13:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1810,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172949,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172949,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880239360001,"66":26582,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880239360001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:30:58] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:30:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:30:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 13:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880239360001,"power":26582,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 13:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":172949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768751,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:30:58] local.INFO: GPS data processed {"connection_id":172949,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:30:58] local.INFO: Acknowledgment sent {"connection_id":172949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:31:00] local.INFO: TCP Data received {"connection_id":171554,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:31:00] local.INFO: Processing buffer {"connection_id":171554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:31:00] local.INFO: IMEI packet received {"connection_id":171554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":171554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:31:01] local.INFO: TCP Data received {"connection_id":171554,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07094efa0012d6bc700061240900007008f31..."} 
[2026-09-05 13:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07094efa0012d6bc700061240900007008f31..."} 
[2026-09-05 13:31:01] local.INFO: Processing buffer {"connection_id":171554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07094efa0012d6bc700061240900007008f31..."} 
[2026-09-05 13:31:01] local.INFO: Packet analysis {"connection_id":171554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07094"} 
[2026-09-05 13:31:01] local.INFO: Extracted packet for processing {"connection_id":171554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07094"} 
[2026-09-05 13:31:01] local.INFO: GPS Element Parsed {"raw_longitude":762038016,"raw_latitude":101859472,"longitude_deg":76.2038016,"latitude_deg":10.1859472,"altitude":7,"angle":143,"satellites":49,"speed":32,"hex_longitude":"2d6bc700","hex_latitude":"06124090","is_valid_coordinates":true} 
[2026-09-05 13:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880368896001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399722135108452352,"note":"Value kept but may cause issues"} 
[2026-09-05 13:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7760335502734858240,"note":"Value kept but may cause issues"} 
[2026-09-05 13:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788595204000,"timestamp_ms":1788595204000,"timestamp_seconds":1788595204,"priority":1,"record_length":96,"hex_timestamp":"000001a07094efa0"} 
[2026-09-05 13:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 13:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880368896001,"66":27767,"138":206,"79":46336,"24":32,"16":399722135108452352,"45":7760335502734858240},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-09-05 13:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880368896001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:31:01] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-05 13:31:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399722135108452352,"km_value":399722135108452.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7760335502734858240,"description":"Unknown IO ID 45"} 
[2026-09-05 13:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880368896001,"power":27767,"unknown_138":206,"unknown_79":46336,"ignition":32,"odometer":null,"unknown_45":7760335502734858240}} 
[2026-09-05 13:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":171554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:31:01] local.INFO: GPS data processed {"connection_id":171554,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:31:01] local.INFO: Acknowledgment sent {"connection_id":171554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:31:22] local.INFO: TCP Data received {"connection_id":174255,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07092f7b8012cee9f000732d890004f004429..."} 
[2026-09-05 13:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07092f7b8012cee9f000732d890004f004429..."} 
[2026-09-05 13:31:22] local.INFO: Processing buffer {"connection_id":174255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07092f7b8012cee9f000732d890004f004429..."} 
[2026-09-05 13:31:22] local.INFO: Packet analysis {"connection_id":174255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07092"} 
[2026-09-05 13:31:22] local.INFO: Extracted packet for processing {"connection_id":174255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07092"} 
[2026-09-05 13:31:22] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":41,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880262144001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:31:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788595075000,"timestamp_ms":1788595075000,"timestamp_seconds":1788595075,"priority":1,"record_length":96,"hex_timestamp":"000001a07092f7b8"} 
[2026-09-05 13:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:31:22] 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-09-05 13:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880262144001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880262144001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:31:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:31:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:31:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880262144001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":174255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:31:22] local.INFO: GPS data processed {"connection_id":174255,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:31:22] local.INFO: Acknowledgment sent {"connection_id":174255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:31:30] local.INFO: TCP Data received {"connection_id":172949,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07091abb0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07091abb0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:31:30] local.INFO: Processing buffer {"connection_id":172949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07091abb0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:31:30] local.INFO: Packet analysis {"connection_id":172949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07091"} 
[2026-09-05 13:31:30] local.INFO: Extracted packet for processing {"connection_id":172949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07091"} 
[2026-09-05 13:31:30] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880239360001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:31:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 13:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788594990000,"timestamp_ms":1788594990000,"timestamp_seconds":1788594990,"priority":1,"record_length":96,"hex_timestamp":"000001a07091abb0"} 
[2026-09-05 13:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:31: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-09-05 13: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":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1810,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172949,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172949,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880239360001,"66":26582,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880239360001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:31:30] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:31:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:31:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 13:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880239360001,"power":26582,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 13:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":172949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768754,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:31:30] local.INFO: GPS data processed {"connection_id":172949,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:31:30] local.INFO: Acknowledgment sent {"connection_id":172949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:31:32] local.INFO: TCP Data received {"connection_id":171554,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070950ee0012d6bd60006122a980007009d30..."} 
[2026-09-05 13:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070950ee0012d6bd60006122a980007009d30..."} 
[2026-09-05 13:31:32] local.INFO: Processing buffer {"connection_id":171554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070950ee0012d6bd60006122a980007009d30..."} 
[2026-09-05 13:31:32] local.INFO: Packet analysis {"connection_id":171554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07095"} 
[2026-09-05 13:31:32] local.INFO: Extracted packet for processing {"connection_id":171554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07095"} 
[2026-09-05 13:31:32] local.INFO: GPS Element Parsed {"raw_longitude":762041856,"raw_latitude":101853848,"longitude_deg":76.2041856,"latitude_deg":10.1853848,"altitude":7,"angle":157,"satellites":48,"speed":36,"hex_longitude":"2d6bd600","hex_latitude":"06122a98","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880372224001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399722465820934144,"note":"Value kept but may cause issues"} 
[2026-09-05 13:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7766176108499734528,"note":"Value kept but may cause issues"} 
[2026-09-05 13:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788595212000,"timestamp_ms":1788595212000,"timestamp_seconds":1788595212,"priority":1,"record_length":96,"hex_timestamp":"000001a070950ee0"} 
[2026-09-05 13:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 13:31: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-09-05 13: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-09-05 13:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880372224001,"66":28093,"138":206,"79":46336,"24":36,"16":399722465820934144,"45":7766176108499734528},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-09-05 13:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880372224001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:31:32] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-05 13:31:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399722465820934144,"km_value":399722465820934.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7766176108499734528,"description":"Unknown IO ID 45"} 
[2026-09-05 13:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880372224001,"power":28093,"unknown_138":206,"unknown_79":46336,"ignition":36,"odometer":null,"unknown_45":7766176108499734528}} 
[2026-09-05 13:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":171554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:31:32] local.INFO: GPS data processed {"connection_id":171554,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:31:32] local.INFO: Acknowledgment sent {"connection_id":171554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:31:45] local.INFO: TCP Data received {"connection_id":171857,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:31:45] local.INFO: Processing buffer {"connection_id":171857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:31:45] local.INFO: IMEI packet received {"connection_id":171857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":171857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:31:47] local.INFO: TCP Data received {"connection_id":174256,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174256,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:31:47] local.INFO: Processing buffer {"connection_id":174256,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:31:47] local.INFO: IMEI packet received {"connection_id":174256,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":174256,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:31:50] local.INFO: TCP Data received {"connection_id":171857,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:31:50] local.INFO: Processing buffer {"connection_id":171857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:31:50] local.INFO: IMEI packet received {"connection_id":171857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":171857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:31:51] local.INFO: TCP Data received {"connection_id":171857,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07092f7b8012cee9f000732d890004f004429..."} 
[2026-09-05 13:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07092f7b8012cee9f000732d890004f004429..."} 
[2026-09-05 13:31:51] local.INFO: Processing buffer {"connection_id":171857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07092f7b8012cee9f000732d890004f004429..."} 
[2026-09-05 13:31:51] local.INFO: Packet analysis {"connection_id":171857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07092"} 
[2026-09-05 13:31:51] local.INFO: Extracted packet for processing {"connection_id":171857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07092"} 
[2026-09-05 13:31:51] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":41,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880262144001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:31:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788595075000,"timestamp_ms":1788595075000,"timestamp_seconds":1788595075,"priority":1,"record_length":96,"hex_timestamp":"000001a07092f7b8"} 
[2026-09-05 13:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:31:51] 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-09-05 13:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880262144001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880262144001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:31:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:31:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:31:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880262144001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":171857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:31:51] local.INFO: GPS data processed {"connection_id":171857,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:31:51] local.INFO: Acknowledgment sent {"connection_id":171857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:31:53] local.INFO: TCP Data received {"connection_id":174256,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174256,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:31:53] local.INFO: Processing buffer {"connection_id":174256,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:31:53] local.INFO: IMEI packet received {"connection_id":174256,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":174256,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:31:54] local.INFO: TCP Data received {"connection_id":174256,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07091abb0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07091abb0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:31:54] local.INFO: Processing buffer {"connection_id":174256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07091abb0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:31:54] local.INFO: Packet analysis {"connection_id":174256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07091"} 
[2026-09-05 13:31:54] local.INFO: Extracted packet for processing {"connection_id":174256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07091"} 
[2026-09-05 13:31:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880239360001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:31:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 13:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788594990000,"timestamp_ms":1788594990000,"timestamp_seconds":1788594990,"priority":1,"record_length":96,"hex_timestamp":"000001a07091abb0"} 
[2026-09-05 13:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1810,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174256,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174256,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880239360001,"66":26582,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880239360001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:31:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:31:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:31:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 13:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880239360001,"power":26582,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 13:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":174256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768757,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:31:54] local.INFO: GPS data processed {"connection_id":174256,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:31:54] local.INFO: Acknowledgment sent {"connection_id":174256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:31:54] local.INFO: TCP Data received {"connection_id":171555,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:31:54] local.INFO: Processing buffer {"connection_id":171555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:31:54] local.INFO: IMEI packet received {"connection_id":171555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":171555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:31:58] local.INFO: TCP Data received {"connection_id":171555,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:31:58] local.INFO: Processing buffer {"connection_id":171555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:31:58] local.INFO: IMEI packet received {"connection_id":171555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":171555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:31:59] local.INFO: TCP Data received {"connection_id":171555,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:31:59] local.INFO: Processing buffer {"connection_id":171555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:31:59] local.INFO: IMEI packet received {"connection_id":171555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":171555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:32:01] local.INFO: TCP Data received {"connection_id":171555,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0709535f0012d6be44006120898000600a52e..."} 
[2026-09-05 13:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709535f0012d6be44006120898000600a52e..."} 
[2026-09-05 13:32:01] local.INFO: Processing buffer {"connection_id":171555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709535f0012d6be44006120898000600a52e..."} 
[2026-09-05 13:32:01] local.INFO: Packet analysis {"connection_id":171555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07095"} 
[2026-09-05 13:32:01] local.INFO: Extracted packet for processing {"connection_id":171555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07095"} 
[2026-09-05 13:32:01] local.INFO: GPS Element Parsed {"raw_longitude":762045504,"raw_latitude":101845144,"longitude_deg":76.2045504,"latitude_deg":10.1845144,"altitude":6,"angle":165,"satellites":46,"speed":37,"hex_longitude":"2d6be440","hex_latitude":"06120898","is_valid_coordinates":true} 
[2026-09-05 13:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880374272001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399722921087467520,"note":"Value kept but may cause issues"} 
[2026-09-05 13:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7770398233148954624,"note":"Value kept but may cause issues"} 
[2026-09-05 13:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788595222000,"timestamp_ms":1788595222000,"timestamp_seconds":1788595222,"priority":1,"record_length":96,"hex_timestamp":"000001a0709535f0"} 
[2026-09-05 13:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-09-05 13:32:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:32:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880374272001,"66":27876,"138":206,"79":46336,"24":37,"16":399722921087467520,"45":7770398233148954624},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-09-05 13:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880374272001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:32:01] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-05 13:32:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399722921087467520,"km_value":399722921087467.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7770398233148954624,"description":"Unknown IO ID 45"} 
[2026-09-05 13:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880374272001,"power":27876,"unknown_138":206,"unknown_79":46336,"ignition":37,"odometer":null,"unknown_45":7770398233148954624}} 
[2026-09-05 13:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":171555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:32:01] local.INFO: GPS data processed {"connection_id":171555,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:32:01] local.INFO: Acknowledgment sent {"connection_id":171555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:32:22] local.INFO: TCP Data received {"connection_id":171857,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07092f7b8012cee9f000732d890004f004429..."} 
[2026-09-05 13:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07092f7b8012cee9f000732d890004f004429..."} 
[2026-09-05 13:32:22] local.INFO: Processing buffer {"connection_id":171857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07092f7b8012cee9f000732d890004f004429..."} 
[2026-09-05 13:32:22] local.INFO: Packet analysis {"connection_id":171857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07092"} 
[2026-09-05 13:32:22] local.INFO: Extracted packet for processing {"connection_id":171857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07092"} 
[2026-09-05 13:32:22] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":41,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880262144001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:32:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788595075000,"timestamp_ms":1788595075000,"timestamp_seconds":1788595075,"priority":1,"record_length":96,"hex_timestamp":"000001a07092f7b8"} 
[2026-09-05 13:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:32:22] 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-09-05 13:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:32:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:32:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880262144001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880262144001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:32:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:32:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:32:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880262144001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":171857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:32:22] local.INFO: GPS data processed {"connection_id":171857,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:32:22] local.INFO: Acknowledgment sent {"connection_id":171857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:32:32] local.INFO: TCP Data received {"connection_id":171555,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070953dc0012d6be54006120138000600b22e..."} 
[2026-09-05 13:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070953dc0012d6be54006120138000600b22e..."} 
[2026-09-05 13:32:32] local.INFO: Processing buffer {"connection_id":171555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070953dc0012d6be54006120138000600b22e..."} 
[2026-09-05 13:32:32] local.INFO: Packet analysis {"connection_id":171555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07095"} 
[2026-09-05 13:32:32] local.INFO: Extracted packet for processing {"connection_id":171555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07095"} 
[2026-09-05 13:32:32] local.INFO: GPS Element Parsed {"raw_longitude":762045760,"raw_latitude":101843256,"longitude_deg":76.204576,"latitude_deg":10.1843256,"altitude":6,"angle":178,"satellites":46,"speed":38,"hex_longitude":"2d6be540","hex_latitude":"06120138","is_valid_coordinates":true} 
[2026-09-05 13:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880376832001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399723015576748032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7774409251564853248,"note":"Value kept but may cause issues"} 
[2026-09-05 13:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788595224000,"timestamp_ms":1788595224000,"timestamp_seconds":1788595224,"priority":1,"record_length":96,"hex_timestamp":"000001a070953dc0"} 
[2026-09-05 13:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 13: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-09-05 13:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880376832001,"66":27930,"138":206,"79":46336,"24":38,"16":399723015576748032,"45":7774409251564853248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-09-05 13:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880376832001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:32:32] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-05 13:32:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399723015576748032,"km_value":399723015576748.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7774409251564853248,"description":"Unknown IO ID 45"} 
[2026-09-05 13:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880376832001,"power":27930,"unknown_138":206,"unknown_79":46336,"ignition":38,"odometer":null,"unknown_45":7774409251564853248}} 
[2026-09-05 13:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":171555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:32:32] local.INFO: GPS data processed {"connection_id":171555,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:32:32] local.INFO: Acknowledgment sent {"connection_id":171555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:32:45] local.INFO: TCP Data received {"connection_id":171556,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:32:45] local.INFO: Processing buffer {"connection_id":171556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:32:45] local.INFO: IMEI packet received {"connection_id":171556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":171556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:32:47] local.INFO: TCP Data received {"connection_id":172950,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172950,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:32:47] local.INFO: Processing buffer {"connection_id":172950,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:32:47] local.INFO: IMEI packet received {"connection_id":172950,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":172950,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:32:50] local.INFO: TCP Data received {"connection_id":171556,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:32:50] local.INFO: Processing buffer {"connection_id":171556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:32:50] local.INFO: IMEI packet received {"connection_id":171556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":171556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:32:51] local.INFO: TCP Data received {"connection_id":171556,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07092f7b8012cee9f000732d890004f004429..."} 
[2026-09-05 13:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07092f7b8012cee9f000732d890004f004429..."} 
[2026-09-05 13:32:51] local.INFO: Processing buffer {"connection_id":171556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07092f7b8012cee9f000732d890004f004429..."} 
[2026-09-05 13:32:51] local.INFO: Packet analysis {"connection_id":171556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07092"} 
[2026-09-05 13:32:51] local.INFO: Extracted packet for processing {"connection_id":171556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07092"} 
[2026-09-05 13:32:51] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":41,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880262144001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:32:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788595075000,"timestamp_ms":1788595075000,"timestamp_seconds":1788595075,"priority":1,"record_length":96,"hex_timestamp":"000001a07092f7b8"} 
[2026-09-05 13:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:32:51] 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-09-05 13:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880262144001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880262144001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:32:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:32:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:32:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880262144001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":171556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:32:51] local.INFO: GPS data processed {"connection_id":171556,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:32:51] local.INFO: Acknowledgment sent {"connection_id":171556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:32:53] local.INFO: TCP Data received {"connection_id":172950,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172950,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:32:53] local.INFO: Processing buffer {"connection_id":172950,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:32:53] local.INFO: IMEI packet received {"connection_id":172950,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":172950,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:32:54] local.INFO: TCP Data received {"connection_id":172950,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070964378012c7939c00848c5f00014000129..."} 
[2026-09-05 13:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070964378012c7939c00848c5f00014000129..."} 
[2026-09-05 13:32:54] local.INFO: Processing buffer {"connection_id":172950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070964378012c7939c00848c5f00014000129..."} 
[2026-09-05 13:32:54] local.INFO: Packet analysis {"connection_id":172950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07096"} 
[2026-09-05 13:32:54] local.INFO: Extracted packet for processing {"connection_id":172950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07096"} 
[2026-09-05 13:32:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880317440001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:32:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788595291000,"timestamp_ms":1788595291000,"timestamp_seconds":1788595291,"priority":1,"record_length":96,"hex_timestamp":"000001a070964378"} 
[2026-09-05 13:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 13:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172950,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172950,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880317440001,"66":26408,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880317440001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:32:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:32:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:32:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880317440001,"power":26408,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":172950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768762,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:32:55] local.INFO: GPS data processed {"connection_id":172950,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:32:55] local.INFO: Acknowledgment sent {"connection_id":172950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:32:58] local.INFO: TCP Data received {"connection_id":172951,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:32:58] local.INFO: Processing buffer {"connection_id":172951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:32:58] local.INFO: IMEI packet received {"connection_id":172951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":172951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:33:01] local.INFO: TCP Data received {"connection_id":172951,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:33:01] local.INFO: Processing buffer {"connection_id":172951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:33:01] local.INFO: IMEI packet received {"connection_id":172951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":172951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:33:02] local.INFO: TCP Data received {"connection_id":172951,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07096cc30012d6c604006113298000600802e..."} 
[2026-09-05 13:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07096cc30012d6c604006113298000600802e..."} 
[2026-09-05 13:33:02] local.INFO: Processing buffer {"connection_id":172951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07096cc30012d6c604006113298000600802e..."} 
[2026-09-05 13:33:02] local.INFO: Packet analysis {"connection_id":172951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07096"} 
[2026-09-05 13:33:02] local.INFO: Extracted packet for processing {"connection_id":172951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07096"} 
[2026-09-05 13:33:02] local.INFO: GPS Element Parsed {"raw_longitude":762077248,"raw_latitude":101790360,"longitude_deg":76.2077248,"latitude_deg":10.179036,"altitude":6,"angle":128,"satellites":46,"speed":24,"hex_longitude":"2d6c6040","hex_latitude":"06113298","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880399872001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399726228212285440,"note":"Value kept but may cause issues"} 
[2026-09-05 13:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7801571586804891648,"note":"Value kept but may cause issues"} 
[2026-09-05 13:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788595326000,"timestamp_ms":1788595326000,"timestamp_seconds":1788595326,"priority":1,"record_length":96,"hex_timestamp":"000001a07096cc30"} 
[2026-09-05 13:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:33: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-09-05 13: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":70,"data_length":795,"current_offset":136} 
[2026-09-05 13:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880399872001,"66":27887,"193":206,"79":46336,"24":24,"16":399726228212285440,"45":7801571586804891648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,79,24,16,45]} 
[2026-09-05 13:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880399872001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:33:02] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-05 13:33:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399726228212285440,"km_value":399726228212285.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7801571586804891648,"description":"Unknown IO ID 45"} 
[2026-09-05 13:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880399872001,"power":27887,"unknown_193":206,"unknown_79":46336,"ignition":24,"odometer":null,"unknown_45":7801571586804891648}} 
[2026-09-05 13:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":172951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:33:02] local.INFO: GPS data processed {"connection_id":172951,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:33:02] local.INFO: Acknowledgment sent {"connection_id":172951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:33:22] local.INFO: TCP Data received {"connection_id":171556,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07092f7b8012cee9f000732d890004f004429..."} 
[2026-09-05 13:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07092f7b8012cee9f000732d890004f004429..."} 
[2026-09-05 13:33:22] local.INFO: Processing buffer {"connection_id":171556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07092f7b8012cee9f000732d890004f004429..."} 
[2026-09-05 13:33:22] local.INFO: Packet analysis {"connection_id":171556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07092"} 
[2026-09-05 13:33:22] local.INFO: Extracted packet for processing {"connection_id":171556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07092"} 
[2026-09-05 13:33:22] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":41,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880262144001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:33:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788595075000,"timestamp_ms":1788595075000,"timestamp_seconds":1788595075,"priority":1,"record_length":96,"hex_timestamp":"000001a07092f7b8"} 
[2026-09-05 13:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:33:22] 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-09-05 13:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:33:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880262144001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880262144001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:33:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:33:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:33:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880262144001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":171556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:33:22] local.INFO: GPS data processed {"connection_id":171556,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:33:22] local.INFO: Acknowledgment sent {"connection_id":171556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:33:26] local.INFO: TCP Data received {"connection_id":172950,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070964378012c7939c00848c5f00014000129..."} 
[2026-09-05 13:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070964378012c7939c00848c5f00014000129..."} 
[2026-09-05 13:33:26] local.INFO: Processing buffer {"connection_id":172950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070964378012c7939c00848c5f00014000129..."} 
[2026-09-05 13:33:26] local.INFO: Packet analysis {"connection_id":172950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07096"} 
[2026-09-05 13:33:26] local.INFO: Extracted packet for processing {"connection_id":172950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07096"} 
[2026-09-05 13:33:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880317440001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:33:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:33:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788595291000,"timestamp_ms":1788595291000,"timestamp_seconds":1788595291,"priority":1,"record_length":96,"hex_timestamp":"000001a070964378"} 
[2026-09-05 13:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:33:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 13:33:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:33:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172950,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172950,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:33:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880317440001,"66":26408,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880317440001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:33:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:33:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:33:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880317440001,"power":26408,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":172950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768765,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:33:26] local.INFO: GPS data processed {"connection_id":172950,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:33:26] local.INFO: Acknowledgment sent {"connection_id":172950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:33:33] local.INFO: TCP Data received {"connection_id":172951,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07096dfb8012d6c6a8006112aa0000600712c..."} 
[2026-09-05 13:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07096dfb8012d6c6a8006112aa0000600712c..."} 
[2026-09-05 13:33:33] local.INFO: Processing buffer {"connection_id":172951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07096dfb8012d6c6a8006112aa0000600712c..."} 
[2026-09-05 13:33:33] local.INFO: Packet analysis {"connection_id":172951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07096"} 
[2026-09-05 13:33:33] local.INFO: Extracted packet for processing {"connection_id":172951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07096"} 
[2026-09-05 13:33:33] local.INFO: GPS Element Parsed {"raw_longitude":762079872,"raw_latitude":101788320,"longitude_deg":76.2079872,"latitude_deg":10.178832,"altitude":6,"angle":113,"satellites":44,"speed":30,"hex_longitude":"2d6c6a80","hex_latitude":"06112aa0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 13:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880403456001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399726387126075392,"note":"Value kept but may cause issues"} 
[2026-09-05 13:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7809312148662949888,"note":"Value kept but may cause issues"} 
[2026-09-05 13:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788595331000,"timestamp_ms":1788595331000,"timestamp_seconds":1788595331,"priority":1,"record_length":96,"hex_timestamp":"000001a07096dfb8"} 
[2026-09-05 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-09-05 13:33: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-09-05 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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-05 13:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 13:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880403456001,"66":27984,"207":206,"79":46336,"24":30,"16":399726387126075392,"45":7809312148662949888},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-09-05 13:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880403456001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:33:33] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 13:33:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399726387126075392,"km_value":399726387126075.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7809312148662949888,"description":"Unknown IO ID 45"} 
[2026-09-05 13:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880403456001,"power":27984,"unknown_207":206,"unknown_79":46336,"ignition":30,"odometer":null,"unknown_45":7809312148662949888}} 
[2026-09-05 13:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":172951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:33:33] local.INFO: GPS data processed {"connection_id":172951,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:33:33] local.INFO: Acknowledgment sent {"connection_id":172951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:33:45] local.INFO: TCP Data received {"connection_id":171858,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:33:45] local.INFO: Processing buffer {"connection_id":171858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:33:45] local.INFO: IMEI packet received {"connection_id":171858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":171858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:33:47] local.INFO: TCP Data received {"connection_id":171859,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171859,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:33:47] local.INFO: Processing buffer {"connection_id":171859,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:33:47] local.INFO: IMEI packet received {"connection_id":171859,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":171859,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:33:50] local.INFO: TCP Data received {"connection_id":171858,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:33:50] local.INFO: Processing buffer {"connection_id":171858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:33:50] local.INFO: IMEI packet received {"connection_id":171858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":171858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:33:50] local.INFO: TCP Data received {"connection_id":171858,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070978f80012cee9f000732d890004f004427..."} 
[2026-09-05 13:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070978f80012cee9f000732d890004f004427..."} 
[2026-09-05 13:33:50] local.INFO: Processing buffer {"connection_id":171858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070978f80012cee9f000732d890004f004427..."} 
[2026-09-05 13:33:50] local.INFO: Packet analysis {"connection_id":171858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07097"} 
[2026-09-05 13:33:50] local.INFO: Extracted packet for processing {"connection_id":171858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07097"} 
[2026-09-05 13:33:50] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":39,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880339200001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:33:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788595376000,"timestamp_ms":1788595376000,"timestamp_seconds":1788595376,"priority":1,"record_length":96,"hex_timestamp":"000001a070978f80"} 
[2026-09-05 13:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:33:50] 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-09-05 13:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:33:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:33:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880339200001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880339200001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:33:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:33:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:33:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880339200001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":171858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:33:50] local.INFO: GPS data processed {"connection_id":171858,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:33:50] local.INFO: Acknowledgment sent {"connection_id":171858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:33:53] local.INFO: TCP Data received {"connection_id":171859,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171859,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:33:53] local.INFO: Processing buffer {"connection_id":171859,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:33:53] local.INFO: IMEI packet received {"connection_id":171859,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":171859,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:33:54] local.INFO: TCP Data received {"connection_id":171859,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070964378012c7939c00848c5f00014000129..."} 
[2026-09-05 13:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070964378012c7939c00848c5f00014000129..."} 
[2026-09-05 13:33:54] local.INFO: Processing buffer {"connection_id":171859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070964378012c7939c00848c5f00014000129..."} 
[2026-09-05 13:33:54] local.INFO: Packet analysis {"connection_id":171859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07096"} 
[2026-09-05 13:33:54] local.INFO: Extracted packet for processing {"connection_id":171859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07096"} 
[2026-09-05 13:33:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880317440001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:33:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788595291000,"timestamp_ms":1788595291000,"timestamp_seconds":1788595291,"priority":1,"record_length":96,"hex_timestamp":"000001a070964378"} 
[2026-09-05 13:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 13:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171859,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171859,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880317440001,"66":26408,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880317440001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:33:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:33:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:33:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880317440001,"power":26408,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":171859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768768,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:33:54] local.INFO: GPS data processed {"connection_id":171859,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:33:54] local.INFO: Acknowledgment sent {"connection_id":171859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:33:56] local.INFO: TCP Data received {"connection_id":174257,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:33:56] local.INFO: Processing buffer {"connection_id":174257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:33:56] local.INFO: IMEI packet received {"connection_id":174257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":174257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:33:57] local.INFO: TCP Data received {"connection_id":174257,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:33:57] local.INFO: Processing buffer {"connection_id":174257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:33:57] local.INFO: IMEI packet received {"connection_id":174257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":174257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:34:00] local.INFO: TCP Data received {"connection_id":174257,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:34:00] local.INFO: Processing buffer {"connection_id":174257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:34:00] local.INFO: IMEI packet received {"connection_id":174257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":174257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:34:01] local.INFO: TCP Data received {"connection_id":174257,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:34:01] local.INFO: Processing buffer {"connection_id":174257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:34:01] local.INFO: IMEI packet received {"connection_id":174257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":174257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:34:02] local.INFO: TCP Data received {"connection_id":174257,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07096e788012d6c7040061129180006006530..."} 
[2026-09-05 13:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07096e788012d6c7040061129180006006530..."} 
[2026-09-05 13:34:02] local.INFO: Processing buffer {"connection_id":174257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07096e788012d6c7040061129180006006530..."} 
[2026-09-05 13:34:02] local.INFO: Packet analysis {"connection_id":174257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07096"} 
[2026-09-05 13:34:02] local.INFO: Extracted packet for processing {"connection_id":174257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07096"} 
[2026-09-05 13:34:02] local.INFO: GPS Element Parsed {"raw_longitude":762081344,"raw_latitude":101787928,"longitude_deg":76.2081344,"latitude_deg":10.1787928,"altitude":6,"angle":101,"satellites":48,"speed":31,"hex_longitude":"2d6c7040","hex_latitude":"06112918","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880404736001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399726464435486720,"note":"Value kept but may cause issues"} 
[2026-09-05 13:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7812197267173711872,"note":"Value kept but may cause issues"} 
[2026-09-05 13:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788595333000,"timestamp_ms":1788595333000,"timestamp_seconds":1788595333,"priority":1,"record_length":96,"hex_timestamp":"000001a07096e788"} 
[2026-09-05 13:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:34: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-09-05 13:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 13:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880404736001,"66":27865,"207":206,"79":46336,"24":31,"16":399726464435486720,"45":7812197267173711872},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-09-05 13:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880404736001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:34:02] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 13:34:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399726464435486720,"km_value":399726464435486.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7812197267173711872,"description":"Unknown IO ID 45"} 
[2026-09-05 13:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880404736001,"power":27865,"unknown_207":206,"unknown_79":46336,"ignition":31,"odometer":null,"unknown_45":7812197267173711872}} 
[2026-09-05 13:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":174257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:34:02] local.INFO: GPS data processed {"connection_id":174257,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:34:02] local.INFO: Acknowledgment sent {"connection_id":174257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:34:21] local.INFO: TCP Data received {"connection_id":171858,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070978f80012cee9f000732d890004f004427..."} 
[2026-09-05 13:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070978f80012cee9f000732d890004f004427..."} 
[2026-09-05 13:34:21] local.INFO: Processing buffer {"connection_id":171858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070978f80012cee9f000732d890004f004427..."} 
[2026-09-05 13:34:21] local.INFO: Packet analysis {"connection_id":171858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07097"} 
[2026-09-05 13:34:21] local.INFO: Extracted packet for processing {"connection_id":171858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07097"} 
[2026-09-05 13:34:21] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":39,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880339200001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:34:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788595376000,"timestamp_ms":1788595376000,"timestamp_seconds":1788595376,"priority":1,"record_length":96,"hex_timestamp":"000001a070978f80"} 
[2026-09-05 13:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:34:21] 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-09-05 13:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880339200001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880339200001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:34:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:34:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:34:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880339200001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":171858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:34:21] local.INFO: GPS data processed {"connection_id":171858,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:34:21] local.INFO: Acknowledgment sent {"connection_id":171858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:34:26] local.INFO: TCP Data received {"connection_id":171859,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070964378012c7939c00848c5f00014000129..."} 
[2026-09-05 13:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070964378012c7939c00848c5f00014000129..."} 
[2026-09-05 13:34:26] local.INFO: Processing buffer {"connection_id":171859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070964378012c7939c00848c5f00014000129..."} 
[2026-09-05 13:34:26] local.INFO: Packet analysis {"connection_id":171859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07096"} 
[2026-09-05 13:34:26] local.INFO: Extracted packet for processing {"connection_id":171859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07096"} 
[2026-09-05 13:34:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880317440001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:34:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788595291000,"timestamp_ms":1788595291000,"timestamp_seconds":1788595291,"priority":1,"record_length":96,"hex_timestamp":"000001a070964378"} 
[2026-09-05 13:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 13:34:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171859,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171859,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880317440001,"66":26408,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880317440001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:34:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:34:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:34:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880317440001,"power":26408,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":171859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768771,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:34:26] local.INFO: GPS data processed {"connection_id":171859,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:34:26] local.INFO: Acknowledgment sent {"connection_id":171859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:34:32] local.INFO: TCP Data received {"connection_id":174257,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070983f48012d6cf9800610d0c0000600a730..."} 
[2026-09-05 13:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070983f48012d6cf9800610d0c0000600a730..."} 
[2026-09-05 13:34:32] local.INFO: Processing buffer {"connection_id":174257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070983f48012d6cf9800610d0c0000600a730..."} 
[2026-09-05 13:34:32] local.INFO: Packet analysis {"connection_id":174257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07098"} 
[2026-09-05 13:34:32] local.INFO: Extracted packet for processing {"connection_id":174257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07098"} 
[2026-09-05 13:34:32] local.INFO: GPS Element Parsed {"raw_longitude":762116480,"raw_latitude":101765312,"longitude_deg":76.211648,"latitude_deg":10.1765312,"altitude":6,"angle":167,"satellites":48,"speed":27,"hex_longitude":"2d6cf980","hex_latitude":"0610d0c0","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880425216001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399728835257434112,"note":"Value kept but may cause issues"} 
[2026-09-05 13:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7846748320561033216,"note":"Value kept but may cause issues"} 
[2026-09-05 13:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788595421000,"timestamp_ms":1788595421000,"timestamp_seconds":1788595421,"priority":1,"record_length":96,"hex_timestamp":"000001a070983f48"} 
[2026-09-05 13:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13: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-09-05 13:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 13:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880425216001,"66":27865,"207":206,"79":46336,"24":27,"16":399728835257434112,"45":7846748320561033216},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-09-05 13:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880425216001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:34:32] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 13:34:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399728835257434112,"km_value":399728835257434.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7846748320561033216,"description":"Unknown IO ID 45"} 
[2026-09-05 13:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880425216001,"power":27865,"unknown_207":206,"unknown_79":46336,"ignition":27,"odometer":null,"unknown_45":7846748320561033216}} 
[2026-09-05 13:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":174257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:34:32] local.INFO: GPS data processed {"connection_id":174257,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:34:32] local.INFO: Acknowledgment sent {"connection_id":174257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:34:50] local.INFO: TCP Data received {"connection_id":174258,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:34:50] local.INFO: Processing buffer {"connection_id":174258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:34:50] local.INFO: IMEI packet received {"connection_id":174258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":174258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:34:53] local.INFO: TCP Data received {"connection_id":174259,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:34:53] local.INFO: Processing buffer {"connection_id":174259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:34:53] local.INFO: IMEI packet received {"connection_id":174259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":174259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:34:55] local.INFO: TCP Data received {"connection_id":174258,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:34:55] local.INFO: Processing buffer {"connection_id":174258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:34:55] local.INFO: IMEI packet received {"connection_id":174258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":174258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:34:56] local.INFO: TCP Data received {"connection_id":174258,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070978f80012cee9f000732d890004f004427..."} 
[2026-09-05 13:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070978f80012cee9f000732d890004f004427..."} 
[2026-09-05 13:34:56] local.INFO: Processing buffer {"connection_id":174258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070978f80012cee9f000732d890004f004427..."} 
[2026-09-05 13:34:56] local.INFO: Packet analysis {"connection_id":174258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07097"} 
[2026-09-05 13:34:56] local.INFO: Extracted packet for processing {"connection_id":174258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07097"} 
[2026-09-05 13:34:56] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":39,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880339200001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:34:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788595376000,"timestamp_ms":1788595376000,"timestamp_seconds":1788595376,"priority":1,"record_length":96,"hex_timestamp":"000001a070978f80"} 
[2026-09-05 13:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:34:56] 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-09-05 13:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:34:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880339200001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880339200001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:34:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:34:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:34:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880339200001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":174258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:34:56] local.INFO: GPS data processed {"connection_id":174258,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:34:56] local.INFO: Acknowledgment sent {"connection_id":174258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:34:58] local.INFO: TCP Data received {"connection_id":174259,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:34:58] local.INFO: Processing buffer {"connection_id":174259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:34:58] local.INFO: IMEI packet received {"connection_id":174259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":174259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:34:59] local.INFO: TCP Data received {"connection_id":174259,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070964378012c7939c00848c5f00014000129..."} 
[2026-09-05 13:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070964378012c7939c00848c5f00014000129..."} 
[2026-09-05 13:34:59] local.INFO: Processing buffer {"connection_id":174259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070964378012c7939c00848c5f00014000129..."} 
[2026-09-05 13:34:59] local.INFO: Packet analysis {"connection_id":174259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07096"} 
[2026-09-05 13:34:59] local.INFO: Extracted packet for processing {"connection_id":174259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07096"} 
[2026-09-05 13:34:59] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880317440001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:34:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788595291000,"timestamp_ms":1788595291000,"timestamp_seconds":1788595291,"priority":1,"record_length":96,"hex_timestamp":"000001a070964378"} 
[2026-09-05 13:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 13:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174259,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174259,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880317440001,"66":26408,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880317440001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:34:59] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:34:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:34:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880317440001,"power":26408,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":174259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768774,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:34:59] local.INFO: GPS data processed {"connection_id":174259,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:34:59] local.INFO: Acknowledgment sent {"connection_id":174259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:34:59] local.INFO: TCP Data received {"connection_id":172952,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:34:59] local.INFO: Processing buffer {"connection_id":172952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:34:59] local.INFO: IMEI packet received {"connection_id":172952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":172952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:35:00] local.INFO: TCP Data received {"connection_id":174258,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070978f80012cee9f000732d890004f004427..."} 
[2026-09-05 13:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070978f80012cee9f000732d890004f004427..."} 
[2026-09-05 13:35:00] local.INFO: Processing buffer {"connection_id":174258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070978f80012cee9f000732d890004f004427..."} 
[2026-09-05 13:35:00] local.INFO: Packet analysis {"connection_id":174258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07097"} 
[2026-09-05 13:35:00] local.INFO: Extracted packet for processing {"connection_id":174258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07097"} 
[2026-09-05 13:35:00] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":39,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880339200001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:35:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788595376000,"timestamp_ms":1788595376000,"timestamp_seconds":1788595376,"priority":1,"record_length":96,"hex_timestamp":"000001a070978f80"} 
[2026-09-05 13:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880339200001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880339200001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:35:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:35:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:35:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880339200001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":174258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:35:00] local.INFO: GPS data processed {"connection_id":174258,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:35:00] local.INFO: Acknowledgment sent {"connection_id":174258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:35:01] local.INFO: TCP Data received {"connection_id":172952,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:35:01] local.INFO: Processing buffer {"connection_id":172952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:35:01] local.INFO: IMEI packet received {"connection_id":172952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":172952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:35:03] local.INFO: TCP Data received {"connection_id":174259,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070964378012c7939c00848c5f00014000129..."} 
[2026-09-05 13:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070964378012c7939c00848c5f00014000129..."} 
[2026-09-05 13:35:03] local.INFO: Processing buffer {"connection_id":174259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070964378012c7939c00848c5f00014000129..."} 
[2026-09-05 13:35:03] local.INFO: Packet analysis {"connection_id":174259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07096"} 
[2026-09-05 13:35:03] local.INFO: Extracted packet for processing {"connection_id":174259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07096"} 
[2026-09-05 13:35:03] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880317440001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:35:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788595291000,"timestamp_ms":1788595291000,"timestamp_seconds":1788595291,"priority":1,"record_length":96,"hex_timestamp":"000001a070964378"} 
[2026-09-05 13:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:35: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-09-05 13: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":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 13:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174259,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174259,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880317440001,"66":26408,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880317440001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:35:03] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:35:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:35:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880317440001,"power":26408,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":174259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768776,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:35:04] local.INFO: GPS data processed {"connection_id":174259,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:35:04] local.INFO: Acknowledgment sent {"connection_id":174259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:35:06] local.INFO: TCP Data received {"connection_id":172952,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:35:06] local.INFO: Processing buffer {"connection_id":172952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:35:06] local.INFO: IMEI packet received {"connection_id":172952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":172952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:35:07] local.INFO: TCP Data received {"connection_id":172952,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070983f48012d6cf9800610d0c0000600a730..."} 
[2026-09-05 13:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070983f48012d6cf9800610d0c0000600a730..."} 
[2026-09-05 13:35:07] local.INFO: Processing buffer {"connection_id":172952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070983f48012d6cf9800610d0c0000600a730..."} 
[2026-09-05 13:35:07] local.INFO: Packet analysis {"connection_id":172952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07098"} 
[2026-09-05 13:35:07] local.INFO: Extracted packet for processing {"connection_id":172952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07098"} 
[2026-09-05 13:35:07] local.INFO: GPS Element Parsed {"raw_longitude":762116480,"raw_latitude":101765312,"longitude_deg":76.211648,"latitude_deg":10.1765312,"altitude":6,"angle":167,"satellites":48,"speed":27,"hex_longitude":"2d6cf980","hex_latitude":"0610d0c0","is_valid_coordinates":true} 
[2026-09-05 13:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880427776001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399728835257434112,"note":"Value kept but may cause issues"} 
[2026-09-05 13:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7852448188837445632,"note":"Value kept but may cause issues"} 
[2026-09-05 13:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788595421000,"timestamp_ms":1788595421000,"timestamp_seconds":1788595421,"priority":1,"record_length":96,"hex_timestamp":"000001a070983f48"} 
[2026-09-05 13:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:35:07] 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-09-05 13:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 13:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880427776001,"66":27865,"207":206,"79":46336,"24":27,"16":399728835257434112,"45":7852448188837445632},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-09-05 13:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880427776001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:35:07] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 13:35:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399728835257434112,"km_value":399728835257434.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":7852448188837445632,"description":"Unknown IO ID 45"} 
[2026-09-05 13:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880427776001,"power":27865,"unknown_207":206,"unknown_79":46336,"ignition":27,"odometer":null,"unknown_45":7852448188837445632}} 
[2026-09-05 13:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":172952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:35:07] local.INFO: GPS data processed {"connection_id":172952,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:35:07] local.INFO: Acknowledgment sent {"connection_id":172952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:35:08] local.INFO: TCP Data received {"connection_id":172952,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070986e28012d6cff800610adc0000500a831..."} 
[2026-09-05 13:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070986e28012d6cff800610adc0000500a831..."} 
[2026-09-05 13:35:08] local.INFO: Processing buffer {"connection_id":172952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070986e28012d6cff800610adc0000500a831..."} 
[2026-09-05 13:35:08] local.INFO: Packet analysis {"connection_id":172952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07098"} 
[2026-09-05 13:35:08] local.INFO: Extracted packet for processing {"connection_id":172952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07098"} 
[2026-09-05 13:35:08] local.INFO: GPS Element Parsed {"raw_longitude":762118016,"raw_latitude":101756352,"longitude_deg":76.2118016,"latitude_deg":10.1756352,"altitude":5,"angle":168,"satellites":49,"speed":12,"hex_longitude":"2d6cff80","hex_latitude":"0610adc0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 13:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880427776001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399729277639065600,"note":"Value kept but may cause issues"} 
[2026-09-05 13:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7852448188837445632,"note":"Value kept but may cause issues"} 
[2026-09-05 13:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788595433000,"timestamp_ms":1788595433000,"timestamp_seconds":1788595433,"priority":1,"record_length":96,"hex_timestamp":"000001a070986e28"} 
[2026-09-05 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-09-05 13:35:08] 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-09-05 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 13:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 13:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880427776001,"66":27908,"207":206,"79":46336,"24":12,"16":399729277639065600,"45":7852448188837445632},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-09-05 13:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880427776001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:35:08] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 13:35:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399729277639065600,"km_value":399729277639065.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7852448188837445632,"description":"Unknown IO ID 45"} 
[2026-09-05 13:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880427776001,"power":27908,"unknown_207":206,"unknown_79":46336,"ignition":12,"odometer":null,"unknown_45":7852448188837445632}} 
[2026-09-05 13:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":172952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:35:08] local.INFO: GPS data processed {"connection_id":172952,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:35:08] local.INFO: Acknowledgment sent {"connection_id":172952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:35:39] local.INFO: TCP Data received {"connection_id":172952,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070989d08012d6d028006109bd8000700b631..."} 
[2026-09-05 13:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070989d08012d6d028006109bd8000700b631..."} 
[2026-09-05 13:35:39] local.INFO: Processing buffer {"connection_id":172952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070989d08012d6d028006109bd8000700b631..."} 
[2026-09-05 13:35:39] local.INFO: Packet analysis {"connection_id":172952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07098"} 
[2026-09-05 13:35:39] local.INFO: Extracted packet for processing {"connection_id":172952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07098"} 
[2026-09-05 13:35:39] local.INFO: GPS Element Parsed {"raw_longitude":762118784,"raw_latitude":101751768,"longitude_deg":76.2118784,"latitude_deg":10.1751768,"altitude":7,"angle":182,"satellites":49,"speed":17,"hex_longitude":"2d6d0280","hex_latitude":"06109bd8","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880430848001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399729500977364992,"note":"Value kept but may cause issues"} 
[2026-09-05 13:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7854137038695415808,"note":"Value kept but may cause issues"} 
[2026-09-05 13:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788595445000,"timestamp_ms":1788595445000,"timestamp_seconds":1788595445,"priority":1,"record_length":96,"hex_timestamp":"000001a070989d08"} 
[2026-09-05 13:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:35: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-09-05 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 13:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880430848001,"66":27800,"205":206,"79":46336,"24":17,"16":399729500977364992,"45":7854137038695415808},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,79,24,16,45]} 
[2026-09-05 13:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880430848001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:35:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399729500977364992,"km_value":399729500977365.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":7854137038695415808,"description":"Unknown IO ID 45"} 
[2026-09-05 13:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880430848001,"power":27800,"cell_id":206,"unknown_79":46336,"ignition":17,"odometer":null,"unknown_45":7854137038695415808}} 
[2026-09-05 13:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":172952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:35:39] local.INFO: GPS data processed {"connection_id":172952,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:35:39] local.INFO: Acknowledgment sent {"connection_id":172952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:35:45] local.INFO: TCP Data received {"connection_id":174260,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:35:45] local.INFO: Processing buffer {"connection_id":174260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:35:45] local.INFO: IMEI packet received {"connection_id":174260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":174260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:35:48] local.INFO: TCP Data received {"connection_id":171860,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:35:48] local.INFO: Processing buffer {"connection_id":171860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:35:48] local.INFO: IMEI packet received {"connection_id":171860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":171860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:35:50] local.INFO: TCP Data received {"connection_id":174260,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:35:50] local.INFO: Processing buffer {"connection_id":174260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:35:50] local.INFO: IMEI packet received {"connection_id":174260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":174260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:35:51] local.INFO: TCP Data received {"connection_id":174260,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070978f80012cee9f000732d890004f004427..."} 
[2026-09-05 13:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070978f80012cee9f000732d890004f004427..."} 
[2026-09-05 13:35:51] local.INFO: Processing buffer {"connection_id":174260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070978f80012cee9f000732d890004f004427..."} 
[2026-09-05 13:35:51] local.INFO: Packet analysis {"connection_id":174260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07097"} 
[2026-09-05 13:35:51] local.INFO: Extracted packet for processing {"connection_id":174260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07097"} 
[2026-09-05 13:35:51] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":39,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880339200001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:35:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788595376000,"timestamp_ms":1788595376000,"timestamp_seconds":1788595376,"priority":1,"record_length":96,"hex_timestamp":"000001a070978f80"} 
[2026-09-05 13:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880339200001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880339200001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:35:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:35:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:35:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880339200001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":174260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:35:51] local.INFO: GPS data processed {"connection_id":174260,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:35:51] local.INFO: Acknowledgment sent {"connection_id":174260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:35:53] local.INFO: TCP Data received {"connection_id":171860,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:35:53] local.INFO: Processing buffer {"connection_id":171860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:35:53] local.INFO: IMEI packet received {"connection_id":171860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":171860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:35:54] local.INFO: TCP Data received {"connection_id":171860,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070964378012c7939c00848c5f00014000129..."} 
[2026-09-05 13:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070964378012c7939c00848c5f00014000129..."} 
[2026-09-05 13:35:54] local.INFO: Processing buffer {"connection_id":171860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070964378012c7939c00848c5f00014000129..."} 
[2026-09-05 13:35:54] local.INFO: Packet analysis {"connection_id":171860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07096"} 
[2026-09-05 13:35:54] local.INFO: Extracted packet for processing {"connection_id":171860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07096"} 
[2026-09-05 13:35:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880317440001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:35:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788595291000,"timestamp_ms":1788595291000,"timestamp_seconds":1788595291,"priority":1,"record_length":96,"hex_timestamp":"000001a070964378"} 
[2026-09-05 13:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 13:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171860,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171860,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880317440001,"66":26408,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880317440001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:35:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:35:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:35:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880317440001,"power":26408,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":171860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768781,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:35:54] local.INFO: GPS data processed {"connection_id":171860,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:35:54] local.INFO: Acknowledgment sent {"connection_id":171860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:35:55] local.INFO: TCP Data received {"connection_id":174260,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070978f80012cee9f000732d890004f004427..."} 
[2026-09-05 13:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070978f80012cee9f000732d890004f004427..."} 
[2026-09-05 13:35:55] local.INFO: Processing buffer {"connection_id":174260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070978f80012cee9f000732d890004f004427..."} 
[2026-09-05 13:35:55] local.INFO: Packet analysis {"connection_id":174260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07097"} 
[2026-09-05 13:35:55] local.INFO: Extracted packet for processing {"connection_id":174260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07097"} 
[2026-09-05 13:35:55] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":39,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880339200001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:35:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788595376000,"timestamp_ms":1788595376000,"timestamp_seconds":1788595376,"priority":1,"record_length":96,"hex_timestamp":"000001a070978f80"} 
[2026-09-05 13:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:35:55] 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-09-05 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880339200001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880339200001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:35:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:35:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:35:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880339200001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":174260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:35:55] local.INFO: GPS data processed {"connection_id":174260,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:35:55] local.INFO: Acknowledgment sent {"connection_id":174260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:35:55] local.INFO: TCP Data received {"connection_id":171861,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:35:55] local.INFO: Processing buffer {"connection_id":171861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:35:55] local.INFO: IMEI packet received {"connection_id":171861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":171861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:35:56] local.INFO: TCP Data received {"connection_id":171861,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:35:56] local.INFO: Processing buffer {"connection_id":171861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:35:56] local.INFO: IMEI packet received {"connection_id":171861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":171861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:36:00] local.INFO: TCP Data received {"connection_id":171861,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:36:00] local.INFO: Processing buffer {"connection_id":171861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:36:00] local.INFO: IMEI packet received {"connection_id":171861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":171861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:36:00] local.INFO: TCP Data received {"connection_id":171861,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07099a6a8012d6d2480060faee0000800ac2e..."} 
[2026-09-05 13:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07099a6a8012d6d2480060faee0000800ac2e..."} 
[2026-09-05 13:36:00] local.INFO: Processing buffer {"connection_id":171861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07099a6a8012d6d2480060faee0000800ac2e..."} 
[2026-09-05 13:36:00] local.INFO: Packet analysis {"connection_id":171861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07099"} 
[2026-09-05 13:36:00] local.INFO: Extracted packet for processing {"connection_id":171861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07099"} 
[2026-09-05 13:36:00] local.INFO: GPS Element Parsed {"raw_longitude":762127488,"raw_latitude":101691104,"longitude_deg":76.2127488,"latitude_deg":10.1691104,"altitude":8,"angle":172,"satellites":46,"speed":47,"hex_longitude":"2d6d2480","hex_latitude":"060faee0","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880450816001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399732541814210560,"note":"Value kept but may cause issues"} 
[2026-09-05 13:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7863918294119985152,"note":"Value kept but may cause issues"} 
[2026-09-05 13:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788595513000,"timestamp_ms":1788595513000,"timestamp_seconds":1788595513,"priority":1,"record_length":96,"hex_timestamp":"000001a07099a6a8"} 
[2026-09-05 13:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:36:00] 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-09-05 13:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-05 13:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880450816001,"66":28050,"13":206,"79":46336,"24":47,"16":399732541814210560,"45":7863918294119985152},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,79,24,16,45]} 
[2026-09-05 13:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880450816001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:36:00] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-05 13:36:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399732541814210560,"km_value":399732541814210.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7863918294119985152,"description":"Unknown IO ID 45"} 
[2026-09-05 13:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880450816001,"power":28050,"unknown_13":206,"unknown_79":46336,"ignition":47,"odometer":null,"unknown_45":7863918294119985152}} 
[2026-09-05 13:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":171861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:36:00] local.INFO: GPS data processed {"connection_id":171861,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:36:00] local.INFO: Acknowledgment sent {"connection_id":171861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:36:26] local.INFO: TCP Data received {"connection_id":171860,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070964378012c7939c00848c5f00014000129..."} 
[2026-09-05 13:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070964378012c7939c00848c5f00014000129..."} 
[2026-09-05 13:36:26] local.INFO: Processing buffer {"connection_id":171860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070964378012c7939c00848c5f00014000129..."} 
[2026-09-05 13:36:26] local.INFO: Packet analysis {"connection_id":171860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07096"} 
[2026-09-05 13:36:26] local.INFO: Extracted packet for processing {"connection_id":171860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07096"} 
[2026-09-05 13:36:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880317440001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:36:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788595291000,"timestamp_ms":1788595291000,"timestamp_seconds":1788595291,"priority":1,"record_length":96,"hex_timestamp":"000001a070964378"} 
[2026-09-05 13:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 13:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:36:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171860,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171860,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880317440001,"66":26408,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880317440001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:36:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:36:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:36:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880317440001,"power":26408,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":171860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768784,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:36:26] local.INFO: GPS data processed {"connection_id":171860,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:36:26] local.INFO: Acknowledgment sent {"connection_id":171860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:36:26] local.INFO: TCP Data received {"connection_id":174260,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070978f80012cee9f000732d890004f004427..."} 
[2026-09-05 13:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070978f80012cee9f000732d890004f004427..."} 
[2026-09-05 13:36:26] local.INFO: Processing buffer {"connection_id":174260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070978f80012cee9f000732d890004f004427..."} 
[2026-09-05 13:36:26] local.INFO: Packet analysis {"connection_id":174260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07097"} 
[2026-09-05 13:36:26] local.INFO: Extracted packet for processing {"connection_id":174260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07097"} 
[2026-09-05 13:36:26] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":39,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880339200001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:36:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788595376000,"timestamp_ms":1788595376000,"timestamp_seconds":1788595376,"priority":1,"record_length":96,"hex_timestamp":"000001a070978f80"} 
[2026-09-05 13:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:36:26] 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-09-05 13:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:36:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880339200001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880339200001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:36:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:36:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:36:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880339200001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":174260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:36:26] local.INFO: GPS data processed {"connection_id":174260,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:36:26] local.INFO: Acknowledgment sent {"connection_id":174260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:36:31] local.INFO: TCP Data received {"connection_id":171861,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07099b648012d6d24c0060f9c48000700b830..."} 
[2026-09-05 13:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07099b648012d6d24c0060f9c48000700b830..."} 
[2026-09-05 13:36:31] local.INFO: Processing buffer {"connection_id":171861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07099b648012d6d24c0060f9c48000700b830..."} 
[2026-09-05 13:36:31] local.INFO: Packet analysis {"connection_id":171861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07099"} 
[2026-09-05 13:36:31] local.INFO: Extracted packet for processing {"connection_id":171861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07099"} 
[2026-09-05 13:36:31] local.INFO: GPS Element Parsed {"raw_longitude":762127552,"raw_latitude":101686344,"longitude_deg":76.2127552,"latitude_deg":10.1686344,"altitude":7,"angle":184,"satellites":48,"speed":46,"hex_longitude":"2d6d24c0","hex_latitude":"060f9c48","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880451328001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399732773742444544,"note":"Value kept but may cause issues"} 
[2026-09-05 13:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7864551612817006592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788595517000,"timestamp_ms":1788595517000,"timestamp_seconds":1788595517,"priority":1,"record_length":96,"hex_timestamp":"000001a07099b648"} 
[2026-09-05 13:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:36: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-09-05 13: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 13:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880451328001,"66":27974,"13":206,"79":46336,"24":46,"16":399732773742444544,"45":7864551612817006592},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,79,24,16,45]} 
[2026-09-05 13:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880451328001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:36:31] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-05 13:36:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399732773742444544,"km_value":399732773742444.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7864551612817006592,"description":"Unknown IO ID 45"} 
[2026-09-05 13:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880451328001,"power":27974,"unknown_13":206,"unknown_79":46336,"ignition":46,"odometer":null,"unknown_45":7864551612817006592}} 
[2026-09-05 13:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":171861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:36:31] local.INFO: GPS data processed {"connection_id":171861,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:36:31] local.INFO: Acknowledgment sent {"connection_id":171861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:36:45] local.INFO: TCP Data received {"connection_id":171557,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:36:45] local.INFO: Processing buffer {"connection_id":171557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:36:45] local.INFO: IMEI packet received {"connection_id":171557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":171557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:36:47] local.INFO: TCP Data received {"connection_id":172953,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:36:47] local.INFO: Processing buffer {"connection_id":172953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:36:47] local.INFO: IMEI packet received {"connection_id":172953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":172953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:36:50] local.INFO: TCP Data received {"connection_id":171557,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:36:50] local.INFO: Processing buffer {"connection_id":171557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:36:50] local.INFO: IMEI packet received {"connection_id":171557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":171557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:36:51] local.INFO: TCP Data received {"connection_id":171557,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070978f80012cee9f000732d890004f004427..."} 
[2026-09-05 13:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070978f80012cee9f000732d890004f004427..."} 
[2026-09-05 13:36:51] local.INFO: Processing buffer {"connection_id":171557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070978f80012cee9f000732d890004f004427..."} 
[2026-09-05 13:36:51] local.INFO: Packet analysis {"connection_id":171557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07097"} 
[2026-09-05 13:36:51] local.INFO: Extracted packet for processing {"connection_id":171557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07097"} 
[2026-09-05 13:36:51] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":39,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880339200001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:36:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788595376000,"timestamp_ms":1788595376000,"timestamp_seconds":1788595376,"priority":1,"record_length":96,"hex_timestamp":"000001a070978f80"} 
[2026-09-05 13:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880339200001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880339200001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:36:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:36:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:36:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880339200001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":171557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:36:51] local.INFO: GPS data processed {"connection_id":171557,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:36:51] local.INFO: Acknowledgment sent {"connection_id":171557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:36:53] local.INFO: TCP Data received {"connection_id":172953,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:36:53] local.INFO: Processing buffer {"connection_id":172953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:36:53] local.INFO: IMEI packet received {"connection_id":172953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":172953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:36:54] local.INFO: TCP Data received {"connection_id":172953,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070964378012c7939c00848c5f00014000129..."} 
[2026-09-05 13:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070964378012c7939c00848c5f00014000129..."} 
[2026-09-05 13:36:54] local.INFO: Processing buffer {"connection_id":172953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070964378012c7939c00848c5f00014000129..."} 
[2026-09-05 13:36:54] local.INFO: Packet analysis {"connection_id":172953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07096"} 
[2026-09-05 13:36:54] local.INFO: Extracted packet for processing {"connection_id":172953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07096"} 
[2026-09-05 13:36:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880317440001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:36:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788595291000,"timestamp_ms":1788595291000,"timestamp_seconds":1788595291,"priority":1,"record_length":96,"hex_timestamp":"000001a070964378"} 
[2026-09-05 13:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 13:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880317440001,"66":26408,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880317440001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:36:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:36:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:36:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880317440001,"power":26408,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":172953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768788,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:36:54] local.INFO: GPS data processed {"connection_id":172953,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:36:54] local.INFO: Acknowledgment sent {"connection_id":172953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:37:10] local.INFO: TCP Data received {"connection_id":174261,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:37:10] local.INFO: Processing buffer {"connection_id":174261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:37:10] local.INFO: IMEI packet received {"connection_id":174261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":174261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:37:11] local.INFO: TCP Data received {"connection_id":174261,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:37:11] local.INFO: Processing buffer {"connection_id":174261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:37:11] local.INFO: IMEI packet received {"connection_id":174261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":174261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:37:11] local.INFO: TCP Data received {"connection_id":174261,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07099c5e8012d6d2480060f8c60000700a62f..."} 
[2026-09-05 13:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07099c5e8012d6d2480060f8c60000700a62f..."} 
[2026-09-05 13:37:11] local.INFO: Processing buffer {"connection_id":174261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07099c5e8012d6d2480060f8c60000700a62f..."} 
[2026-09-05 13:37:11] local.INFO: Packet analysis {"connection_id":174261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07099"} 
[2026-09-05 13:37:11] local.INFO: Extracted packet for processing {"connection_id":174261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07099"} 
[2026-09-05 13:37:11] local.INFO: GPS Element Parsed {"raw_longitude":762127488,"raw_latitude":101682272,"longitude_deg":76.2127488,"latitude_deg":10.1682272,"altitude":7,"angle":166,"satellites":47,"speed":35,"hex_longitude":"2d6d2480","hex_latitude":"060f8c60","is_valid_coordinates":true} 
[2026-09-05 13:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880452352001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399732971310940160,"note":"Value kept but may cause issues"} 
[2026-09-05 13:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7864621981559965696,"note":"Value kept but may cause issues"} 
[2026-09-05 13:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788595521000,"timestamp_ms":1788595521000,"timestamp_seconds":1788595521,"priority":1,"record_length":96,"hex_timestamp":"000001a07099c5e8"} 
[2026-09-05 13:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:37: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-09-05 13:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 13:37:11] 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-09-05 13:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880452352001,"66":27919,"13":206,"79":46336,"24":35,"16":399732971310940160,"45":7864621981559965696},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,79,24,16,45]} 
[2026-09-05 13:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880452352001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:37:11] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-05 13:37:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399732971310940160,"km_value":399732971310940.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7864621981559965696,"description":"Unknown IO ID 45"} 
[2026-09-05 13:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880452352001,"power":27919,"unknown_13":206,"unknown_79":46336,"ignition":35,"odometer":null,"unknown_45":7864621981559965696}} 
[2026-09-05 13:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":174261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:37:11] local.INFO: GPS data processed {"connection_id":174261,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:37:11] local.INFO: Acknowledgment sent {"connection_id":174261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:37:12] local.INFO: TCP Data received {"connection_id":174261,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07099cdb8012d6d2700060f86b00007008f2f..."} 
[2026-09-05 13:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07099cdb8012d6d2700060f86b00007008f2f..."} 
[2026-09-05 13:37:12] local.INFO: Processing buffer {"connection_id":174261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07099cdb8012d6d2700060f86b00007008f2f..."} 
[2026-09-05 13:37:12] local.INFO: Packet analysis {"connection_id":174261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07099"} 
[2026-09-05 13:37:12] local.INFO: Extracted packet for processing {"connection_id":174261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07099"} 
[2026-09-05 13:37:12] local.INFO: GPS Element Parsed {"raw_longitude":762128128,"raw_latitude":101680816,"longitude_deg":76.2128128,"latitude_deg":10.1680816,"altitude":7,"angle":143,"satellites":47,"speed":30,"hex_longitude":"2d6d2700","hex_latitude":"060f86b0","is_valid_coordinates":true} 
[2026-09-05 13:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880453376001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399733048620351488,"note":"Value kept but may cause issues"} 
[2026-09-05 13:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7864551612814745600,"note":"Value kept but may cause issues"} 
[2026-09-05 13:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788595523000,"timestamp_ms":1788595523000,"timestamp_seconds":1788595523,"priority":1,"record_length":96,"hex_timestamp":"000001a07099cdb8"} 
[2026-09-05 13:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 13:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880453376001,"66":27974,"13":206,"79":46336,"24":30,"16":399733048620351488,"45":7864551612814745600},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,79,24,16,45]} 
[2026-09-05 13:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880453376001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:37:12] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-05 13:37:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399733048620351488,"km_value":399733048620351.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7864551612814745600,"description":"Unknown IO ID 45"} 
[2026-09-05 13:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880453376001,"power":27974,"unknown_13":206,"unknown_79":46336,"ignition":30,"odometer":null,"unknown_45":7864551612814745600}} 
[2026-09-05 13:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":174261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:37:12] local.INFO: GPS data processed {"connection_id":174261,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:37:12] local.INFO: Acknowledgment sent {"connection_id":174261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:37:22] local.INFO: TCP Data received {"connection_id":171557,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070978f80012cee9f000732d890004f004427..."} 
[2026-09-05 13:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070978f80012cee9f000732d890004f004427..."} 
[2026-09-05 13:37:22] local.INFO: Processing buffer {"connection_id":171557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070978f80012cee9f000732d890004f004427..."} 
[2026-09-05 13:37:22] local.INFO: Packet analysis {"connection_id":171557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07097"} 
[2026-09-05 13:37:22] local.INFO: Extracted packet for processing {"connection_id":171557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07097"} 
[2026-09-05 13:37:22] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":39,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880339200001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:37:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788595376000,"timestamp_ms":1788595376000,"timestamp_seconds":1788595376,"priority":1,"record_length":96,"hex_timestamp":"000001a070978f80"} 
[2026-09-05 13:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:37:22] 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-09-05 13:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:37:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:37:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880339200001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880339200001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:37:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:37:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:37:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880339200001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":171557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:37:22] local.INFO: GPS data processed {"connection_id":171557,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:37:22] local.INFO: Acknowledgment sent {"connection_id":171557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:37:26] local.INFO: TCP Data received {"connection_id":172953,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0709adb40012c7939c00848c5f00014000129..."} 
[2026-09-05 13:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709adb40012c7939c00848c5f00014000129..."} 
[2026-09-05 13:37:26] local.INFO: Processing buffer {"connection_id":172953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709adb40012c7939c00848c5f00014000129..."} 
[2026-09-05 13:37:26] local.INFO: Packet analysis {"connection_id":172953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709a"} 
[2026-09-05 13:37:26] local.INFO: Extracted packet for processing {"connection_id":172953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709a"} 
[2026-09-05 13:37:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880394496001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:37:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:37:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788595592000,"timestamp_ms":1788595592000,"timestamp_seconds":1788595592,"priority":1,"record_length":96,"hex_timestamp":"000001a0709adb40"} 
[2026-09-05 13:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-05 13:37:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:37:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:37:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880394496001,"66":26299,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880394496001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:37:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:37:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:37:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880394496001,"power":26299,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":172953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768792,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:37:26] local.INFO: GPS data processed {"connection_id":172953,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:37:26] local.INFO: Acknowledgment sent {"connection_id":172953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:37:45] local.INFO: TCP Data received {"connection_id":174262,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:37:45] local.INFO: Processing buffer {"connection_id":174262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:37:45] local.INFO: IMEI packet received {"connection_id":174262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":174262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:37:50] local.INFO: TCP Data received {"connection_id":174262,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:37:50] local.INFO: Processing buffer {"connection_id":174262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:37:50] local.INFO: IMEI packet received {"connection_id":174262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":174262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:37:51] local.INFO: TCP Data received {"connection_id":174262,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070978f80012cee9f000732d890004f004427..."} 
[2026-09-05 13:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070978f80012cee9f000732d890004f004427..."} 
[2026-09-05 13:37:51] local.INFO: Processing buffer {"connection_id":174262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070978f80012cee9f000732d890004f004427..."} 
[2026-09-05 13:37:51] local.INFO: Packet analysis {"connection_id":174262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07097"} 
[2026-09-05 13:37:51] local.INFO: Extracted packet for processing {"connection_id":174262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07097"} 
[2026-09-05 13:37:51] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":39,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880339200001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:37:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788595376000,"timestamp_ms":1788595376000,"timestamp_seconds":1788595376,"priority":1,"record_length":96,"hex_timestamp":"000001a070978f80"} 
[2026-09-05 13:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880339200001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880339200001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:37:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:37:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:37:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880339200001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":174262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:37:51] local.INFO: GPS data processed {"connection_id":174262,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:37:51] local.INFO: Acknowledgment sent {"connection_id":174262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:37:53] local.INFO: TCP Data received {"connection_id":171862,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171862,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:37:53] local.INFO: Processing buffer {"connection_id":171862,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:37:53] local.INFO: IMEI packet received {"connection_id":171862,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":171862,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:37:56] local.INFO: TCP Data received {"connection_id":172954,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:37:56] local.INFO: Processing buffer {"connection_id":172954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:37:56] local.INFO: IMEI packet received {"connection_id":172954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":172954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:37:58] local.INFO: TCP Data received {"connection_id":171862,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171862,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:37:58] local.INFO: Processing buffer {"connection_id":171862,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:37:58] local.INFO: IMEI packet received {"connection_id":171862,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":171862,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:37:59] local.INFO: TCP Data received {"connection_id":171862,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0709adb40012c7939c00848c5f00014000129..."} 
[2026-09-05 13:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709adb40012c7939c00848c5f00014000129..."} 
[2026-09-05 13:37:59] local.INFO: Processing buffer {"connection_id":171862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709adb40012c7939c00848c5f00014000129..."} 
[2026-09-05 13:37:59] local.INFO: Packet analysis {"connection_id":171862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709a"} 
[2026-09-05 13:37:59] local.INFO: Extracted packet for processing {"connection_id":171862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709a"} 
[2026-09-05 13:37:59] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880394496001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:37:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788595592000,"timestamp_ms":1788595592000,"timestamp_seconds":1788595592,"priority":1,"record_length":96,"hex_timestamp":"000001a0709adb40"} 
[2026-09-05 13:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-05 13:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880394496001,"66":26299,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880394496001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:37:59] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:37:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:37:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880394496001,"power":26299,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":171862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768794,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:37:59] local.INFO: GPS data processed {"connection_id":171862,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:37:59] local.INFO: Acknowledgment sent {"connection_id":171862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:38:01] local.INFO: TCP Data received {"connection_id":172954,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:38:01] local.INFO: Processing buffer {"connection_id":172954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:38:01] local.INFO: IMEI packet received {"connection_id":172954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":172954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:38:02] local.INFO: TCP Data received {"connection_id":172954,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07099d970012d6d2bc0060f7f400006009c2f..."} 
[2026-09-05 13:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07099d970012d6d2bc0060f7f400006009c2f..."} 
[2026-09-05 13:38:02] local.INFO: Processing buffer {"connection_id":172954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07099d970012d6d2bc0060f7f400006009c2f..."} 
[2026-09-05 13:38:02] local.INFO: Packet analysis {"connection_id":172954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07099"} 
[2026-09-05 13:38:02] local.INFO: Extracted packet for processing {"connection_id":172954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07099"} 
[2026-09-05 13:38:02] local.INFO: GPS Element Parsed {"raw_longitude":762129344,"raw_latitude":101678912,"longitude_deg":76.2129344,"latitude_deg":10.1678912,"altitude":6,"angle":156,"satellites":47,"speed":29,"hex_longitude":"2d6d2bc0","hex_latitude":"060f7f40","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880453888001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399733155994533888,"note":"Value kept but may cause issues"} 
[2026-09-05 13:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7865255300256149504,"note":"Value kept but may cause issues"} 
[2026-09-05 13:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788595526000,"timestamp_ms":1788595526000,"timestamp_seconds":1788595526,"priority":1,"record_length":96,"hex_timestamp":"000001a07099d970"} 
[2026-09-05 13:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:38: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-09-05 13: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 13:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880453888001,"66":28126,"13":206,"79":46336,"24":29,"16":399733155994533888,"45":7865255300256149504},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,79,24,16,45]} 
[2026-09-05 13:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880453888001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:38:02] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-05 13:38:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399733155994533888,"km_value":399733155994533.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7865255300256149504,"description":"Unknown IO ID 45"} 
[2026-09-05 13:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880453888001,"power":28126,"unknown_13":206,"unknown_79":46336,"ignition":29,"odometer":null,"unknown_45":7865255300256149504}} 
[2026-09-05 13:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":172954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:38:02] local.INFO: GPS data processed {"connection_id":172954,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:38:02] local.INFO: Acknowledgment sent {"connection_id":172954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:38:03] local.INFO: TCP Data received {"connection_id":171862,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0709adb40012c7939c00848c5f00014000129..."} 
[2026-09-05 13:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709adb40012c7939c00848c5f00014000129..."} 
[2026-09-05 13:38:03] local.INFO: Processing buffer {"connection_id":171862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709adb40012c7939c00848c5f00014000129..."} 
[2026-09-05 13:38:03] local.INFO: Packet analysis {"connection_id":171862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709a"} 
[2026-09-05 13:38:03] local.INFO: Extracted packet for processing {"connection_id":171862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709a"} 
[2026-09-05 13:38:03] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 13:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880394496001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:38:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788595592000,"timestamp_ms":1788595592000,"timestamp_seconds":1788595592,"priority":1,"record_length":96,"hex_timestamp":"000001a0709adb40"} 
[2026-09-05 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-09-05 13:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-05 13:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 13:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880394496001,"66":26299,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880394496001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:38:03] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:38:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:38:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880394496001,"power":26299,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":171862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768796,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:38:03] local.INFO: GPS data processed {"connection_id":171862,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:38:03] local.INFO: Acknowledgment sent {"connection_id":171862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:38:22] local.INFO: TCP Data received {"connection_id":174262,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070978f80012cee9f000732d890004f004427..."} 
[2026-09-05 13:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070978f80012cee9f000732d890004f004427..."} 
[2026-09-05 13:38:22] local.INFO: Processing buffer {"connection_id":174262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070978f80012cee9f000732d890004f004427..."} 
[2026-09-05 13:38:22] local.INFO: Packet analysis {"connection_id":174262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07097"} 
[2026-09-05 13:38:22] local.INFO: Extracted packet for processing {"connection_id":174262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07097"} 
[2026-09-05 13:38:22] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":39,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880339200001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:38:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788595376000,"timestamp_ms":1788595376000,"timestamp_seconds":1788595376,"priority":1,"record_length":96,"hex_timestamp":"000001a070978f80"} 
[2026-09-05 13:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:38:22] 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-09-05 13:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880339200001,"66":2166,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880339200001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:38:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:38:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:38:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880339200001,"power":2166,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":174262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:38:22] local.INFO: GPS data processed {"connection_id":174262,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:38:22] local.INFO: Acknowledgment sent {"connection_id":174262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:38:33] local.INFO: TCP Data received {"connection_id":172954,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0709b8720012d6d6300060eb420000400af30..."} 
[2026-09-05 13:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709b8720012d6d6300060eb420000400af30..."} 
[2026-09-05 13:38:33] local.INFO: Processing buffer {"connection_id":172954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709b8720012d6d6300060eb420000400af30..."} 
[2026-09-05 13:38:33] local.INFO: Packet analysis {"connection_id":172954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709b"} 
[2026-09-05 13:38:33] local.INFO: Extracted packet for processing {"connection_id":172954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709b"} 
[2026-09-05 13:38:33] local.INFO: GPS Element Parsed {"raw_longitude":762143488,"raw_latitude":101626912,"longitude_deg":76.2143488,"latitude_deg":10.1626912,"altitude":4,"angle":175,"satellites":48,"speed":10,"hex_longitude":"2d6d6300","hex_latitude":"060eb420","is_valid_coordinates":true} 
[2026-09-05 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-09-05 13:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880479744001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7879962367776782336,"note":"Value kept but may cause issues"} 
[2026-09-05 13:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399735784514519040,"note":"Value kept but may cause issues"} 
[2026-09-05 13:38:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 13:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788595636000,"timestamp_ms":1788595636000,"timestamp_seconds":1788595636,"priority":1,"record_length":96,"hex_timestamp":"000001a0709b8720"} 
[2026-09-05 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-09-05 13:38: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-09-05 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 13:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 13:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880479744001,"66":27908,"45":7879962367776782336,"79":46336,"24":10,"16":399735784514519040},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-09-05 13:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880479744001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7879962367776782336,"description":"Unknown IO ID 45"} 
[2026-09-05 13:38:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399735784514519040,"km_value":399735784514519.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:38:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457880479744001,"power":27908,"unknown_45":7879962367776782336,"unknown_79":46336,"ignition":10,"odometer":null}} 
[2026-09-05 13:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":172954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:38:33] local.INFO: GPS data processed {"connection_id":172954,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:38:33] local.INFO: Acknowledgment sent {"connection_id":172954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:38:45] local.INFO: TCP Data received {"connection_id":174263,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:38:45] local.INFO: Processing buffer {"connection_id":174263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:38:45] local.INFO: IMEI packet received {"connection_id":174263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":174263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:38:48] local.INFO: TCP Data received {"connection_id":174264,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174264,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:38:48] local.INFO: Processing buffer {"connection_id":174264,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:38:48] local.INFO: IMEI packet received {"connection_id":174264,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":174264,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:38:50] local.INFO: TCP Data received {"connection_id":174263,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:38:50] local.INFO: Processing buffer {"connection_id":174263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:38:50] local.INFO: IMEI packet received {"connection_id":174263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":174263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:38:51] local.INFO: TCP Data received {"connection_id":174263,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0709c2748012cee9f000732d890004f00442a..."} 
[2026-09-05 13:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709c2748012cee9f000732d890004f00442a..."} 
[2026-09-05 13:38:51] local.INFO: Processing buffer {"connection_id":174263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709c2748012cee9f000732d890004f00442a..."} 
[2026-09-05 13:38:51] local.INFO: Packet analysis {"connection_id":174263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709c"} 
[2026-09-05 13:38:51] local.INFO: Extracted packet for processing {"connection_id":174263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709c"} 
[2026-09-05 13:38:51] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":42,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880416256001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:38:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788595677000,"timestamp_ms":1788595677000,"timestamp_seconds":1788595677,"priority":1,"record_length":96,"hex_timestamp":"000001a0709c2748"} 
[2026-09-05 13:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:38:51] 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-09-05 13:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880416256001,"66":2177,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880416256001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:38:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:38:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:38:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880416256001,"power":2177,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":174263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:38:51] local.INFO: GPS data processed {"connection_id":174263,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:38:51] local.INFO: Acknowledgment sent {"connection_id":174263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:38:53] local.INFO: TCP Data received {"connection_id":174264,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174264,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:38:53] local.INFO: Processing buffer {"connection_id":174264,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:38:53] local.INFO: IMEI packet received {"connection_id":174264,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":174264,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:38:54] local.INFO: TCP Data received {"connection_id":174264,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0709adb40012c7939c00848c5f00014000129..."} 
[2026-09-05 13:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709adb40012c7939c00848c5f00014000129..."} 
[2026-09-05 13:38:54] local.INFO: Processing buffer {"connection_id":174264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709adb40012c7939c00848c5f00014000129..."} 
[2026-09-05 13:38:54] local.INFO: Packet analysis {"connection_id":174264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709a"} 
[2026-09-05 13:38:54] local.INFO: Extracted packet for processing {"connection_id":174264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709a"} 
[2026-09-05 13:38:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880394496001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:38:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788595592000,"timestamp_ms":1788595592000,"timestamp_seconds":1788595592,"priority":1,"record_length":96,"hex_timestamp":"000001a0709adb40"} 
[2026-09-05 13:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-05 13:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174264,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174264,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880394496001,"66":26299,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880394496001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:38:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:38:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:38:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880394496001,"power":26299,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":174264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768800,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:38:54] local.INFO: GPS data processed {"connection_id":174264,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:38:54] local.INFO: Acknowledgment sent {"connection_id":174264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:38:56] local.INFO: TCP Data received {"connection_id":171863,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:38:56] local.INFO: Processing buffer {"connection_id":171863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:38:56] local.INFO: IMEI packet received {"connection_id":171863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":171863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:38:58] local.INFO: TCP Data received {"connection_id":171863,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:38:58] local.INFO: Processing buffer {"connection_id":171863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:38:58] local.INFO: IMEI packet received {"connection_id":171863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":171863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:39:01] local.INFO: TCP Data received {"connection_id":171863,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:39:01] local.INFO: Processing buffer {"connection_id":171863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:39:01] local.INFO: IMEI packet received {"connection_id":171863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":171863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:39:02] local.INFO: TCP Data received {"connection_id":171863,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0709bd928012d6d63c0060e96a8000300b430..."} 
[2026-09-05 13:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709bd928012d6d63c0060e96a8000300b430..."} 
[2026-09-05 13:39:02] local.INFO: Processing buffer {"connection_id":171863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709bd928012d6d63c0060e96a8000300b430..."} 
[2026-09-05 13:39:02] local.INFO: Packet analysis {"connection_id":171863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709b"} 
[2026-09-05 13:39:02] local.INFO: Extracted packet for processing {"connection_id":171863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709b"} 
[2026-09-05 13:39:02] local.INFO: GPS Element Parsed {"raw_longitude":762143680,"raw_latitude":101619368,"longitude_deg":76.214368,"latitude_deg":10.1619368,"altitude":3,"angle":180,"satellites":48,"speed":20,"hex_longitude":"2d6d63c0","hex_latitude":"060e96a8","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880482816001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7882143798844989440,"note":"Value kept but may cause issues"} 
[2026-09-05 13:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399736153881706496,"note":"Value kept but may cause issues"} 
[2026-09-05 13:39:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 13:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788595657000,"timestamp_ms":1788595657000,"timestamp_seconds":1788595657,"priority":1,"record_length":96,"hex_timestamp":"000001a0709bd928"} 
[2026-09-05 13:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:39: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-09-05 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 13:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880482816001,"66":27767,"45":7882143798844989440,"79":46336,"24":20,"16":399736153881706496},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-09-05 13:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880482816001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7882143798844989440,"description":"Unknown IO ID 45"} 
[2026-09-05 13:39:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399736153881706496,"km_value":399736153881706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:39:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457880482816001,"power":27767,"unknown_45":7882143798844989440,"unknown_79":46336,"ignition":20,"odometer":null}} 
[2026-09-05 13:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":171863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:39:02] local.INFO: GPS data processed {"connection_id":171863,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:39:02] local.INFO: Acknowledgment sent {"connection_id":171863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:39:22] local.INFO: TCP Data received {"connection_id":174263,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0709c2748012cee9f000732d890004f00442a..."} 
[2026-09-05 13:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709c2748012cee9f000732d890004f00442a..."} 
[2026-09-05 13:39:22] local.INFO: Processing buffer {"connection_id":174263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709c2748012cee9f000732d890004f00442a..."} 
[2026-09-05 13:39:22] local.INFO: Packet analysis {"connection_id":174263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709c"} 
[2026-09-05 13:39:22] local.INFO: Extracted packet for processing {"connection_id":174263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709c"} 
[2026-09-05 13:39:22] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":42,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880416256001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:39:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788595677000,"timestamp_ms":1788595677000,"timestamp_seconds":1788595677,"priority":1,"record_length":96,"hex_timestamp":"000001a0709c2748"} 
[2026-09-05 13:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:39:22] 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-09-05 13:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880416256001,"66":2177,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880416256001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:39:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:39:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:39:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880416256001,"power":2177,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":174263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:39:22] local.INFO: GPS data processed {"connection_id":174263,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:39:22] local.INFO: Acknowledgment sent {"connection_id":174263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:39:31] local.INFO: TCP Data received {"connection_id":174264,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0709adb40012c7939c00848c5f00014000129..."} 
[2026-09-05 13:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709adb40012c7939c00848c5f00014000129..."} 
[2026-09-05 13:39:31] local.INFO: Processing buffer {"connection_id":174264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709adb40012c7939c00848c5f00014000129..."} 
[2026-09-05 13:39:31] local.INFO: Packet analysis {"connection_id":174264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709a"} 
[2026-09-05 13:39:31] local.INFO: Extracted packet for processing {"connection_id":174264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709a"} 
[2026-09-05 13:39:31] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880394496001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:39:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788595592000,"timestamp_ms":1788595592000,"timestamp_seconds":1788595592,"priority":1,"record_length":96,"hex_timestamp":"000001a0709adb40"} 
[2026-09-05 13:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-05 13:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174264,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174264,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880394496001,"66":26299,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880394496001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:39:31] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:39:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:39:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880394496001,"power":26299,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":174264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768803,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:39:31] local.INFO: GPS data processed {"connection_id":174264,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:39:31] local.INFO: Acknowledgment sent {"connection_id":174264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:39:33] local.INFO: TCP Data received {"connection_id":171863,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0709bf098012d6d62c0060e8790000500c22c..."} 
[2026-09-05 13:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709bf098012d6d62c0060e8790000500c22c..."} 
[2026-09-05 13:39:33] local.INFO: Processing buffer {"connection_id":171863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709bf098012d6d62c0060e8790000500c22c..."} 
[2026-09-05 13:39:33] local.INFO: Packet analysis {"connection_id":171863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709b"} 
[2026-09-05 13:39:33] local.INFO: Extracted packet for processing {"connection_id":171863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709b"} 
[2026-09-05 13:39:33] local.INFO: GPS Element Parsed {"raw_longitude":762143424,"raw_latitude":101615504,"longitude_deg":76.2143424,"latitude_deg":10.1615504,"altitude":5,"angle":194,"satellites":44,"speed":30,"hex_longitude":"2d6d62c0","hex_latitude":"060e8790","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880488192001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7882354905075591168,"note":"Value kept but may cause issues"} 
[2026-09-05 13:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399736342860267520,"note":"Value kept but may cause issues"} 
[2026-09-05 13:39:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 13:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788595663000,"timestamp_ms":1788595663000,"timestamp_seconds":1788595663,"priority":1,"record_length":96,"hex_timestamp":"000001a0709bf098"} 
[2026-09-05 13:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:39: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-09-05 13:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 13:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880488192001,"66":28028,"45":7882354905075591168,"79":46336,"24":30,"16":399736342860267520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-09-05 13:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880488192001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7882354905075591168,"description":"Unknown IO ID 45"} 
[2026-09-05 13:39:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399736342860267520,"km_value":399736342860267.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:39:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457880488192001,"power":28028,"unknown_45":7882354905075591168,"unknown_79":46336,"ignition":30,"odometer":null}} 
[2026-09-05 13:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":171863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:39:33] local.INFO: GPS data processed {"connection_id":171863,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:39:33] local.INFO: Acknowledgment sent {"connection_id":171863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:39:45] local.INFO: TCP Data received {"connection_id":174265,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:39:45] local.INFO: Processing buffer {"connection_id":174265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:39:45] local.INFO: IMEI packet received {"connection_id":174265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":174265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:39:47] local.INFO: TCP Data received {"connection_id":174266,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174266,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:39:47] local.INFO: Processing buffer {"connection_id":174266,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:39:47] local.INFO: IMEI packet received {"connection_id":174266,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":174266,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:39:50] local.INFO: TCP Data received {"connection_id":174265,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:39:50] local.INFO: Processing buffer {"connection_id":174265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:39:50] local.INFO: IMEI packet received {"connection_id":174265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":174265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:39:51] local.INFO: TCP Data received {"connection_id":174265,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0709c2748012cee9f000732d890004f00442a..."} 
[2026-09-05 13:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709c2748012cee9f000732d890004f00442a..."} 
[2026-09-05 13:39:51] local.INFO: Processing buffer {"connection_id":174265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709c2748012cee9f000732d890004f00442a..."} 
[2026-09-05 13:39:51] local.INFO: Packet analysis {"connection_id":174265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709c"} 
[2026-09-05 13:39:51] local.INFO: Extracted packet for processing {"connection_id":174265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709c"} 
[2026-09-05 13:39:51] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":42,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880416256001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:39:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788595677000,"timestamp_ms":1788595677000,"timestamp_seconds":1788595677,"priority":1,"record_length":96,"hex_timestamp":"000001a0709c2748"} 
[2026-09-05 13:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:39:51] 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-09-05 13:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880416256001,"66":2177,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880416256001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:39:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:39:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:39:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880416256001,"power":2177,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":174265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:39:51] local.INFO: GPS data processed {"connection_id":174265,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:39:51] local.INFO: Acknowledgment sent {"connection_id":174265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:39:53] local.INFO: TCP Data received {"connection_id":174266,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174266,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:39:53] local.INFO: Processing buffer {"connection_id":174266,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:39:53] local.INFO: IMEI packet received {"connection_id":174266,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":174266,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:39:54] local.INFO: TCP Data received {"connection_id":174266,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0709adb40012c7939c00848c5f00014000129..."} 
[2026-09-05 13:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709adb40012c7939c00848c5f00014000129..."} 
[2026-09-05 13:39:54] local.INFO: Processing buffer {"connection_id":174266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709adb40012c7939c00848c5f00014000129..."} 
[2026-09-05 13:39:54] local.INFO: Packet analysis {"connection_id":174266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709a"} 
[2026-09-05 13:39:54] local.INFO: Extracted packet for processing {"connection_id":174266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709a"} 
[2026-09-05 13:39:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880394496001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:39:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788595592000,"timestamp_ms":1788595592000,"timestamp_seconds":1788595592,"priority":1,"record_length":96,"hex_timestamp":"000001a0709adb40"} 
[2026-09-05 13:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-05 13:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174266,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174266,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880394496001,"66":26299,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880394496001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:39:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:39:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:39:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880394496001,"power":26299,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":174266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768806,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:39:54] local.INFO: GPS data processed {"connection_id":174266,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:39:54] local.INFO: Acknowledgment sent {"connection_id":174266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:40:01] local.INFO: TCP Data received {"connection_id":171558,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:40:01] local.INFO: Processing buffer {"connection_id":171558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:40:01] local.INFO: IMEI packet received {"connection_id":171558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":171558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:40:01] local.INFO: TCP Data received {"connection_id":171558,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:40:01] local.INFO: Processing buffer {"connection_id":171558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:40:01] local.INFO: IMEI packet received {"connection_id":171558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":171558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:40:02] local.INFO: TCP Data received {"connection_id":171558,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:40:02] local.INFO: Processing buffer {"connection_id":171558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:40:02] local.INFO: IMEI packet received {"connection_id":171558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":171558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:40:03] local.INFO: TCP Data received {"connection_id":171558,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0709c2360012d6d5800060e6528000600cb2b..."} 
[2026-09-05 13:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709c2360012d6d5800060e6528000600cb2b..."} 
[2026-09-05 13:40:03] local.INFO: Processing buffer {"connection_id":171558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709c2360012d6d5800060e6528000600cb2b..."} 
[2026-09-05 13:40:03] local.INFO: Packet analysis {"connection_id":171558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709c"} 
[2026-09-05 13:40:03] local.INFO: Extracted packet for processing {"connection_id":171558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709c"} 
[2026-09-05 13:40:03] local.INFO: GPS Element Parsed {"raw_longitude":762140672,"raw_latitude":101606696,"longitude_deg":76.2140672,"latitude_deg":10.1606696,"altitude":6,"angle":203,"satellites":43,"speed":24,"hex_longitude":"2d6d5800","hex_latitude":"060e6528","is_valid_coordinates":true} 
[2026-09-05 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-09-05 13:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880489728001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7882073430097891328,"note":"Value kept but may cause issues"} 
[2026-09-05 13:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399736789536866304,"note":"Value kept but may cause issues"} 
[2026-09-05 13:40:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 13:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788595676000,"timestamp_ms":1788595676000,"timestamp_seconds":1788595676,"priority":1,"record_length":96,"hex_timestamp":"000001a0709c2360"} 
[2026-09-05 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-09-05 13:40: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-09-05 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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-05 13:40: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-09-05 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-09-05 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-09-05 13:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880489728001,"66":27843,"45":7882073430097891328,"79":46336,"24":24,"16":399736789536866304},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-09-05 13:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880489728001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7882073430097891328,"description":"Unknown IO ID 45"} 
[2026-09-05 13:40:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399736789536866304,"km_value":399736789536866.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:40:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457880489728001,"power":27843,"unknown_45":7882073430097891328,"unknown_79":46336,"ignition":24,"odometer":null}} 
[2026-09-05 13:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":171558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:40:03] local.INFO: GPS data processed {"connection_id":171558,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:40:03] local.INFO: Acknowledgment sent {"connection_id":171558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:40:06] local.INFO: TCP Data received {"connection_id":171558,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0709c4e58012d6d4c00060e48e8000700bf2b..."} 
[2026-09-05 13:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709c4e58012d6d4c00060e48e8000700bf2b..."} 
[2026-09-05 13:40:06] local.INFO: Processing buffer {"connection_id":171558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709c4e58012d6d4c00060e48e8000700bf2b..."} 
[2026-09-05 13:40:06] local.INFO: Packet analysis {"connection_id":171558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709c"} 
[2026-09-05 13:40:06] local.INFO: Extracted packet for processing {"connection_id":171558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709c"} 
[2026-09-05 13:40:06] local.INFO: GPS Element Parsed {"raw_longitude":762137600,"raw_latitude":101599464,"longitude_deg":76.21376,"latitude_deg":10.1599464,"altitude":7,"angle":191,"satellites":43,"speed":27,"hex_longitude":"2d6d4c00","hex_latitude":"060e48e8","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880493056001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7879047574095996928,"note":"Value kept but may cause issues"} 
[2026-09-05 13:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399737171788955648,"note":"Value kept but may cause issues"} 
[2026-09-05 13:40:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 13:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788595687000,"timestamp_ms":1788595687000,"timestamp_seconds":1788595687,"priority":1,"record_length":96,"hex_timestamp":"000001a0709c4e58"} 
[2026-09-05 13:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 13:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880493056001,"66":27995,"45":7879047574095996928,"79":46336,"24":27,"16":399737171788955648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-09-05 13:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880493056001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7879047574095996928,"description":"Unknown IO ID 45"} 
[2026-09-05 13:40:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399737171788955648,"km_value":399737171788955.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:40:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457880493056001,"power":27995,"unknown_45":7879047574095996928,"unknown_79":46336,"ignition":27,"odometer":null}} 
[2026-09-05 13:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":171558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:40:06] local.INFO: GPS data processed {"connection_id":171558,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:40:06] local.INFO: Acknowledgment sent {"connection_id":171558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:40:22] local.INFO: TCP Data received {"connection_id":174265,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0709c2748012cee9f000732d890004f00442a..."} 
[2026-09-05 13:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709c2748012cee9f000732d890004f00442a..."} 
[2026-09-05 13:40:22] local.INFO: Processing buffer {"connection_id":174265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709c2748012cee9f000732d890004f00442a..."} 
[2026-09-05 13:40:22] local.INFO: Packet analysis {"connection_id":174265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709c"} 
[2026-09-05 13:40:22] local.INFO: Extracted packet for processing {"connection_id":174265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709c"} 
[2026-09-05 13:40:22] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":42,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880416256001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:40:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788595677000,"timestamp_ms":1788595677000,"timestamp_seconds":1788595677,"priority":1,"record_length":96,"hex_timestamp":"000001a0709c2748"} 
[2026-09-05 13:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:40:22] 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-09-05 13:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880416256001,"66":2177,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880416256001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:40:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:40:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:40:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880416256001,"power":2177,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":174265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:40:22] local.INFO: GPS data processed {"connection_id":174265,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:40:22] local.INFO: Acknowledgment sent {"connection_id":174265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:40:26] local.INFO: TCP Data received {"connection_id":174266,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0709adb40012c7939c00848c5f00014000129..."} 
[2026-09-05 13:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709adb40012c7939c00848c5f00014000129..."} 
[2026-09-05 13:40:26] local.INFO: Processing buffer {"connection_id":174266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709adb40012c7939c00848c5f00014000129..."} 
[2026-09-05 13:40:26] local.INFO: Packet analysis {"connection_id":174266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709a"} 
[2026-09-05 13:40:26] local.INFO: Extracted packet for processing {"connection_id":174266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709a"} 
[2026-09-05 13:40:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880394496001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:40:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788595592000,"timestamp_ms":1788595592000,"timestamp_seconds":1788595592,"priority":1,"record_length":96,"hex_timestamp":"000001a0709adb40"} 
[2026-09-05 13:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-05 13:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174266,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174266,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880394496001,"66":26299,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880394496001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:40:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:40:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:40:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880394496001,"power":26299,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":174266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768810,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:40:26] local.INFO: GPS data processed {"connection_id":174266,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:40:26] local.INFO: Acknowledgment sent {"connection_id":174266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:40:38] local.INFO: TCP Data received {"connection_id":171558,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0709c8120012d6d42c0060e2970000a00ce2e..."} 
[2026-09-05 13:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709c8120012d6d42c0060e2970000a00ce2e..."} 
[2026-09-05 13:40:38] local.INFO: Processing buffer {"connection_id":171558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709c8120012d6d42c0060e2970000a00ce2e..."} 
[2026-09-05 13:40:38] local.INFO: Packet analysis {"connection_id":171558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709c"} 
[2026-09-05 13:40:38] local.INFO: Extracted packet for processing {"connection_id":171558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709c"} 
[2026-09-05 13:40:38] local.INFO: GPS Element Parsed {"raw_longitude":762135232,"raw_latitude":101591408,"longitude_deg":76.2135232,"latitude_deg":10.1591408,"altitude":10,"angle":206,"satellites":46,"speed":20,"hex_longitude":"2d6d42c0","hex_latitude":"060e2970","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880495872001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7875669874373617664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399737579810848768,"note":"Value kept but may cause issues"} 
[2026-09-05 13:40:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 13:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788595700000,"timestamp_ms":1788595700000,"timestamp_seconds":1788595700,"priority":1,"record_length":96,"hex_timestamp":"000001a0709c8120"} 
[2026-09-05 13:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:40: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-09-05 13: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 13:40:38] 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-09-05 13: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-09-05 13:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880495872001,"66":27876,"45":7875669874373617664,"79":46336,"24":20,"16":399737579810848768},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-09-05 13:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880495872001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7875669874373617664,"description":"Unknown IO ID 45"} 
[2026-09-05 13:40:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399737579810848768,"km_value":399737579810848.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:40:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457880495872001,"power":27876,"unknown_45":7875669874373617664,"unknown_79":46336,"ignition":20,"odometer":null}} 
[2026-09-05 13:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":171558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:40:38] local.INFO: GPS data processed {"connection_id":171558,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:40:38] local.INFO: Acknowledgment sent {"connection_id":171558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:40:47] local.INFO: TCP Data received {"connection_id":174267,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174267,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:40:47] local.INFO: Processing buffer {"connection_id":174267,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:40:47] local.INFO: IMEI packet received {"connection_id":174267,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":174267,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:40:50] local.INFO: TCP Data received {"connection_id":171864,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:40:50] local.INFO: Processing buffer {"connection_id":171864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:40:50] local.INFO: IMEI packet received {"connection_id":171864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":171864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:40:53] local.INFO: TCP Data received {"connection_id":174267,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174267,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:40:53] local.INFO: Processing buffer {"connection_id":174267,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:40:53] local.INFO: IMEI packet received {"connection_id":174267,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":174267,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:40:54] local.INFO: TCP Data received {"connection_id":174267,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0709adb40012c7939c00848c5f00014000129..."} 
[2026-09-05 13:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709adb40012c7939c00848c5f00014000129..."} 
[2026-09-05 13:40:54] local.INFO: Processing buffer {"connection_id":174267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709adb40012c7939c00848c5f00014000129..."} 
[2026-09-05 13:40:54] local.INFO: Packet analysis {"connection_id":174267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709a"} 
[2026-09-05 13:40:54] local.INFO: Extracted packet for processing {"connection_id":174267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709a"} 
[2026-09-05 13:40:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880394496001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:40:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788595592000,"timestamp_ms":1788595592000,"timestamp_seconds":1788595592,"priority":1,"record_length":96,"hex_timestamp":"000001a0709adb40"} 
[2026-09-05 13:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-05 13:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174267,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174267,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880394496001,"66":26299,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880394496001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:40:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:40:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:40:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880394496001,"power":26299,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":174267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768812,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:40:54] local.INFO: GPS data processed {"connection_id":174267,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:40:54] local.INFO: Acknowledgment sent {"connection_id":174267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:40:55] local.INFO: TCP Data received {"connection_id":171864,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:40:55] local.INFO: Processing buffer {"connection_id":171864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:40:55] local.INFO: IMEI packet received {"connection_id":171864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":171864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:40:56] local.INFO: TCP Data received {"connection_id":171864,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0709c2748012cee9f000732d890004f00442a..."} 
[2026-09-05 13:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709c2748012cee9f000732d890004f00442a..."} 
[2026-09-05 13:40:56] local.INFO: Processing buffer {"connection_id":171864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709c2748012cee9f000732d890004f00442a..."} 
[2026-09-05 13:40:56] local.INFO: Packet analysis {"connection_id":171864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709c"} 
[2026-09-05 13:40:56] local.INFO: Extracted packet for processing {"connection_id":171864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709c"} 
[2026-09-05 13:40:56] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":42,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880416256001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:40:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788595677000,"timestamp_ms":1788595677000,"timestamp_seconds":1788595677,"priority":1,"record_length":96,"hex_timestamp":"000001a0709c2748"} 
[2026-09-05 13:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:40:56] 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-09-05 13:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:40:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880416256001,"66":2177,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880416256001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:40:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:40:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:40:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880416256001,"power":2177,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":171864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:40:56] local.INFO: GPS data processed {"connection_id":171864,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:40:56] local.INFO: Acknowledgment sent {"connection_id":171864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:40:56] local.INFO: TCP Data received {"connection_id":172955,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:40:56] local.INFO: Processing buffer {"connection_id":172955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:40:56] local.INFO: IMEI packet received {"connection_id":172955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":172955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:40:57] local.INFO: TCP Data received {"connection_id":172955,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:40:57] local.INFO: Processing buffer {"connection_id":172955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:40:57] local.INFO: IMEI packet received {"connection_id":172955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":172955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:40:58] local.INFO: TCP Data received {"connection_id":172955,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0709cb3e8012d6d3940060e16c0000a00c030..."} 
[2026-09-05 13:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709cb3e8012d6d3940060e16c0000a00c030..."} 
[2026-09-05 13:40:58] local.INFO: Processing buffer {"connection_id":172955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709cb3e8012d6d3940060e16c0000a00c030..."} 
[2026-09-05 13:40:58] local.INFO: Packet analysis {"connection_id":172955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709c"} 
[2026-09-05 13:40:58] local.INFO: Extracted packet for processing {"connection_id":172955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709c"} 
[2026-09-05 13:40:58] local.INFO: GPS Element Parsed {"raw_longitude":762132800,"raw_latitude":101586624,"longitude_deg":76.21328,"latitude_deg":10.1586624,"altitude":10,"angle":192,"satellites":48,"speed":15,"hex_longitude":"2d6d3940","hex_latitude":"060e16c0","is_valid_coordinates":true} 
[2026-09-05 13:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880499200001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7873066230836981760,"note":"Value kept but may cause issues"} 
[2026-09-05 13:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399737841803853824,"note":"Value kept but may cause issues"} 
[2026-09-05 13:40:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 13:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788595713000,"timestamp_ms":1788595713000,"timestamp_seconds":1788595713,"priority":1,"record_length":96,"hex_timestamp":"000001a0709cb3e8"} 
[2026-09-05 13:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:40:58] 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-09-05 13:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 13:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880499200001,"66":27908,"45":7873066230836981760,"79":46336,"24":15,"16":399737841803853824},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-09-05 13:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880499200001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7873066230836981760,"description":"Unknown IO ID 45"} 
[2026-09-05 13:40:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399737841803853824,"km_value":399737841803853.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:40:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457880499200001,"power":27908,"unknown_45":7873066230836981760,"unknown_79":46336,"ignition":15,"odometer":null}} 
[2026-09-05 13:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":172955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:40:58] local.INFO: GPS data processed {"connection_id":172955,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:40:58] local.INFO: Acknowledgment sent {"connection_id":172955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:41:00] local.INFO: TCP Data received {"connection_id":171864,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0709c2748012cee9f000732d890004f00442a..."} 
[2026-09-05 13:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709c2748012cee9f000732d890004f00442a..."} 
[2026-09-05 13:41:00] local.INFO: Processing buffer {"connection_id":171864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709c2748012cee9f000732d890004f00442a..."} 
[2026-09-05 13:41:00] local.INFO: Packet analysis {"connection_id":171864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709c"} 
[2026-09-05 13:41:00] local.INFO: Extracted packet for processing {"connection_id":171864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709c"} 
[2026-09-05 13:41:00] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":42,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880416256001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:41:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788595677000,"timestamp_ms":1788595677000,"timestamp_seconds":1788595677,"priority":1,"record_length":96,"hex_timestamp":"000001a0709c2748"} 
[2026-09-05 13:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880416256001,"66":2177,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880416256001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:41:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:41:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:41:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880416256001,"power":2177,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":171864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:41:00] local.INFO: GPS data processed {"connection_id":171864,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:41:00] local.INFO: Acknowledgment sent {"connection_id":171864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:41:26] local.INFO: TCP Data received {"connection_id":174267,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0709adb40012c7939c00848c5f00014000129..."} 
[2026-09-05 13:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709adb40012c7939c00848c5f00014000129..."} 
[2026-09-05 13:41:26] local.INFO: Processing buffer {"connection_id":174267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709adb40012c7939c00848c5f00014000129..."} 
[2026-09-05 13:41:26] local.INFO: Packet analysis {"connection_id":174267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709a"} 
[2026-09-05 13:41:26] local.INFO: Extracted packet for processing {"connection_id":174267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709a"} 
[2026-09-05 13:41:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:41: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-09-05 13:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880394496001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:41:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:41:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788595592000,"timestamp_ms":1788595592000,"timestamp_seconds":1788595592,"priority":1,"record_length":96,"hex_timestamp":"000001a0709adb40"} 
[2026-09-05 13:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:41:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-05 13:41:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:41: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-09-05 13:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174267,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174267,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880394496001,"66":26299,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880394496001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:41:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:41:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:41:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880394496001,"power":26299,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":174267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768816,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:41:26] local.INFO: GPS data processed {"connection_id":174267,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:41:26] local.INFO: Acknowledgment sent {"connection_id":174267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:41:29] local.INFO: TCP Data received {"connection_id":172955,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0709ea400012d6d5940060d4b980009009d2e..."} 
[2026-09-05 13:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709ea400012d6d5940060d4b980009009d2e..."} 
[2026-09-05 13:41:29] local.INFO: Processing buffer {"connection_id":172955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709ea400012d6d5940060d4b980009009d2e..."} 
[2026-09-05 13:41:29] local.INFO: Packet analysis {"connection_id":172955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709e"} 
[2026-09-05 13:41:29] local.INFO: Extracted packet for processing {"connection_id":172955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709e"} 
[2026-09-05 13:41:29] local.INFO: GPS Element Parsed {"raw_longitude":762140992,"raw_latitude":101534616,"longitude_deg":76.2140992,"latitude_deg":10.1534616,"altitude":9,"angle":157,"satellites":46,"speed":24,"hex_longitude":"2d6d5940","hex_latitude":"060d4b98","is_valid_coordinates":true} 
[2026-09-05 13:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880529664001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399740440259067904,"note":"Value kept but may cause issues"} 
[2026-09-05 13:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7875106924405809152,"note":"Value kept but may cause issues"} 
[2026-09-05 13:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788595840000,"timestamp_ms":1788595840000,"timestamp_seconds":1788595840,"priority":1,"record_length":96,"hex_timestamp":"000001a0709ea400"} 
[2026-09-05 13:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 13:41:29] 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-09-05 13:41:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:41:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880529664001,"66":28093,"46":206,"79":46336,"24":24,"16":399740440259067904,"45":7875106924405809152},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,79,24,16,45]} 
[2026-09-05 13:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880529664001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:41:29] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-05 13:41:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399740440259067904,"km_value":399740440259067.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7875106924405809152,"description":"Unknown IO ID 45"} 
[2026-09-05 13:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880529664001,"power":28093,"unknown_46":206,"unknown_79":46336,"ignition":24,"odometer":null,"unknown_45":7875106924405809152}} 
[2026-09-05 13:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":172955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:41:29] local.INFO: GPS data processed {"connection_id":172955,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:41:29] local.INFO: Acknowledgment sent {"connection_id":172955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:41:45] local.INFO: TCP Data received {"connection_id":172956,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:41:45] local.INFO: Processing buffer {"connection_id":172956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:41:45] local.INFO: IMEI packet received {"connection_id":172956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":172956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:41:50] local.INFO: TCP Data received {"connection_id":172956,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:41:50] local.INFO: Processing buffer {"connection_id":172956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:41:50] local.INFO: IMEI packet received {"connection_id":172956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":172956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:41:51] local.INFO: TCP Data received {"connection_id":172956,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0709c2748012cee9f000732d890004f00442a..."} 
[2026-09-05 13:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709c2748012cee9f000732d890004f00442a..."} 
[2026-09-05 13:41:51] local.INFO: Processing buffer {"connection_id":172956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709c2748012cee9f000732d890004f00442a..."} 
[2026-09-05 13:41:51] local.INFO: Packet analysis {"connection_id":172956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709c"} 
[2026-09-05 13:41:51] local.INFO: Extracted packet for processing {"connection_id":172956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709c"} 
[2026-09-05 13:41:51] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":42,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880416256001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:41:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788595677000,"timestamp_ms":1788595677000,"timestamp_seconds":1788595677,"priority":1,"record_length":96,"hex_timestamp":"000001a0709c2748"} 
[2026-09-05 13:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:41:51] 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-09-05 13:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880416256001,"66":2177,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880416256001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:41:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:41:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:41:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880416256001,"power":2177,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":172956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:41:51] local.INFO: GPS data processed {"connection_id":172956,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:41:51] local.INFO: Acknowledgment sent {"connection_id":172956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:41:53] local.INFO: TCP Data received {"connection_id":171865,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171865,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:41:53] local.INFO: Processing buffer {"connection_id":171865,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:41:53] local.INFO: IMEI packet received {"connection_id":171865,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":171865,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:41:54] local.INFO: TCP Data received {"connection_id":171559,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:41:54] local.INFO: Processing buffer {"connection_id":171559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:41:54] local.INFO: IMEI packet received {"connection_id":171559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":171559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:41:55] local.INFO: TCP Data received {"connection_id":172956,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0709c2748012cee9f000732d890004f00442a..."} 
[2026-09-05 13:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709c2748012cee9f000732d890004f00442a..."} 
[2026-09-05 13:41:55] local.INFO: Processing buffer {"connection_id":172956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709c2748012cee9f000732d890004f00442a..."} 
[2026-09-05 13:41:55] local.INFO: Packet analysis {"connection_id":172956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709c"} 
[2026-09-05 13:41:55] local.INFO: Extracted packet for processing {"connection_id":172956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709c"} 
[2026-09-05 13:41:55] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":42,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880416256001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:41:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788595677000,"timestamp_ms":1788595677000,"timestamp_seconds":1788595677,"priority":1,"record_length":96,"hex_timestamp":"000001a0709c2748"} 
[2026-09-05 13:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:41:55] 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-09-05 13:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880416256001,"66":2177,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880416256001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:41:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:41:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:41:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880416256001,"power":2177,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":172956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:41:55] local.INFO: GPS data processed {"connection_id":172956,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:41:55] local.INFO: Acknowledgment sent {"connection_id":172956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:41:56] local.INFO: TCP Data received {"connection_id":171559,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:41:56] local.INFO: Processing buffer {"connection_id":171559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:41:56] local.INFO: IMEI packet received {"connection_id":171559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":171559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:41:58] local.INFO: TCP Data received {"connection_id":171865,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171865,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:41:58] local.INFO: Processing buffer {"connection_id":171865,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:41:58] local.INFO: IMEI packet received {"connection_id":171865,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":171865,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:41:59] local.INFO: TCP Data received {"connection_id":171865,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0709adb40012c7939c00848c5f00014000129..."} 
[2026-09-05 13:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709adb40012c7939c00848c5f00014000129..."} 
[2026-09-05 13:41:59] local.INFO: Processing buffer {"connection_id":171865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709adb40012c7939c00848c5f00014000129..."} 
[2026-09-05 13:41:59] local.INFO: Packet analysis {"connection_id":171865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709a"} 
[2026-09-05 13:41:59] local.INFO: Extracted packet for processing {"connection_id":171865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709a"} 
[2026-09-05 13:41:59] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880394496001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:41:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788595592000,"timestamp_ms":1788595592000,"timestamp_seconds":1788595592,"priority":1,"record_length":96,"hex_timestamp":"000001a0709adb40"} 
[2026-09-05 13:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-05 13:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880394496001,"66":26299,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880394496001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:41:59] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:41:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:41:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880394496001,"power":26299,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":171865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768820,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:41:59] local.INFO: GPS data processed {"connection_id":171865,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:41:59] local.INFO: Acknowledgment sent {"connection_id":171865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:42:01] local.INFO: TCP Data received {"connection_id":171559,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:42:01] local.INFO: Processing buffer {"connection_id":171559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:42:01] local.INFO: IMEI packet received {"connection_id":171559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":171559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:42:02] local.INFO: TCP Data received {"connection_id":171559,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0709ea400012d6d5940060d4b980009009d2e..."} 
[2026-09-05 13:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709ea400012d6d5940060d4b980009009d2e..."} 
[2026-09-05 13:42:02] local.INFO: Processing buffer {"connection_id":171559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709ea400012d6d5940060d4b980009009d2e..."} 
[2026-09-05 13:42:02] local.INFO: Packet analysis {"connection_id":171559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709e"} 
[2026-09-05 13:42:02] local.INFO: Extracted packet for processing {"connection_id":171559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709e"} 
[2026-09-05 13:42:02] local.INFO: GPS Element Parsed {"raw_longitude":762140992,"raw_latitude":101534616,"longitude_deg":76.2140992,"latitude_deg":10.1534616,"altitude":9,"angle":157,"satellites":46,"speed":24,"hex_longitude":"2d6d5940","hex_latitude":"060d4b98","is_valid_coordinates":true} 
[2026-09-05 13:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880535040001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399740440259067904,"note":"Value kept but may cause issues"} 
[2026-09-05 13:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7879399417798432768,"note":"Value kept but may cause issues"} 
[2026-09-05 13:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788595840000,"timestamp_ms":1788595840000,"timestamp_seconds":1788595840,"priority":1,"record_length":96,"hex_timestamp":"000001a0709ea400"} 
[2026-09-05 13:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:42: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-09-05 13:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-09-05 13:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880535040001,"66":28093,"46":206,"79":46336,"24":24,"16":399740440259067904,"45":7879399417798432768},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,79,24,16,45]} 
[2026-09-05 13:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880535040001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:42:02] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-05 13:42:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399740440259067904,"km_value":399740440259067.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7879399417798432768,"description":"Unknown IO ID 45"} 
[2026-09-05 13:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880535040001,"power":28093,"unknown_46":206,"unknown_79":46336,"ignition":24,"odometer":null,"unknown_45":7879399417798432768}} 
[2026-09-05 13:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":171559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:42:02] local.INFO: GPS data processed {"connection_id":171559,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:42:02] local.INFO: Acknowledgment sent {"connection_id":171559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:42:03] local.INFO: TCP Data received {"connection_id":171865,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0709adb40012c7939c00848c5f00014000129..."} 
[2026-09-05 13:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709adb40012c7939c00848c5f00014000129..."} 
[2026-09-05 13:42:03] local.INFO: Processing buffer {"connection_id":171865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709adb40012c7939c00848c5f00014000129..."} 
[2026-09-05 13:42:03] local.INFO: Packet analysis {"connection_id":171865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709a"} 
[2026-09-05 13:42:03] local.INFO: Extracted packet for processing {"connection_id":171865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709a"} 
[2026-09-05 13:42:03] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 13:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880394496001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:42:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788595592000,"timestamp_ms":1788595592000,"timestamp_seconds":1788595592,"priority":1,"record_length":96,"hex_timestamp":"000001a0709adb40"} 
[2026-09-05 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-09-05 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-09-05 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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-05 13:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 13:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880394496001,"66":26299,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880394496001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:42:03] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:42:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:42:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880394496001,"power":26299,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":171865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768822,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:42:03] local.INFO: GPS data processed {"connection_id":171865,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:42:03] local.INFO: Acknowledgment sent {"connection_id":171865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:42:26] local.INFO: TCP Data received {"connection_id":172956,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0709c2748012cee9f000732d890004f00442a..."} 
[2026-09-05 13:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709c2748012cee9f000732d890004f00442a..."} 
[2026-09-05 13:42:26] local.INFO: Processing buffer {"connection_id":172956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709c2748012cee9f000732d890004f00442a..."} 
[2026-09-05 13:42:26] local.INFO: Packet analysis {"connection_id":172956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709c"} 
[2026-09-05 13:42:26] local.INFO: Extracted packet for processing {"connection_id":172956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709c"} 
[2026-09-05 13:42:26] local.INFO: GPS Element Parsed {"raw_longitude":753835776,"raw_latitude":120772752,"longitude_deg":75.3835776,"latitude_deg":12.0772752,"altitude":79,"angle":68,"satellites":42,"speed":0,"hex_longitude":"2cee9f00","hex_latitude":"0732d890","is_valid_coordinates":true} 
[2026-09-05 13:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880416256001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17720369343365120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:42:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252282140467884032,"note":"Value kept but may cause issues"} 
[2026-09-05 13:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788595677000,"timestamp_ms":1788595677000,"timestamp_seconds":1788595677,"priority":1,"record_length":96,"hex_timestamp":"000001a0709c2748"} 
[2026-09-05 13:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:42:26] 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-09-05 13:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 13:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880416256001,"66":2177,"103":206,"83":44032,"24":0,"16":17720369343365120,"44":-1252282140467884032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880416256001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:42:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:42:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17720369343365120,"km_value":17720369343365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:42:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252282140467884032,"description":"Unknown IO ID 44"} 
[2026-09-05 13:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880416256001,"power":2177,"unknown_103":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1252282140467884032}} 
[2026-09-05 13:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":172956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:42:26] local.INFO: GPS data processed {"connection_id":172956,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:42:26] local.INFO: Acknowledgment sent {"connection_id":172956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:42:33] local.INFO: TCP Data received {"connection_id":171559,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0709ebb70012d6d5cc0060d3ec0000900aa2f..."} 
[2026-09-05 13:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709ebb70012d6d5cc0060d3ec0000900aa2f..."} 
[2026-09-05 13:42:33] local.INFO: Processing buffer {"connection_id":171559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709ebb70012d6d5cc0060d3ec0000900aa2f..."} 
[2026-09-05 13:42:33] local.INFO: Packet analysis {"connection_id":171559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709e"} 
[2026-09-05 13:42:33] local.INFO: Extracted packet for processing {"connection_id":171559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709e"} 
[2026-09-05 13:42:33] local.INFO: GPS Element Parsed {"raw_longitude":762141888,"raw_latitude":101531328,"longitude_deg":76.2141888,"latitude_deg":10.1531328,"altitude":9,"angle":170,"satellites":47,"speed":16,"hex_longitude":"2d6d5cc0","hex_latitude":"060d3ec0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 13:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880535040001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399740607762792448,"note":"Value kept but may cause issues"} 
[2026-09-05 13:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7879399417798432768,"note":"Value kept but may cause issues"} 
[2026-09-05 13:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788595846000,"timestamp_ms":1788595846000,"timestamp_seconds":1788595846,"priority":1,"record_length":96,"hex_timestamp":"000001a0709ebb70"} 
[2026-09-05 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-09-05 13:42: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-09-05 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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-09-05 13:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 13:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880535040001,"66":27876,"83":206,"79":46336,"24":16,"16":399740607762792448,"45":7879399417798432768},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,79,24,16,45]} 
[2026-09-05 13:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880535040001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:42:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-05 13:42:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399740607762792448,"km_value":399740607762792.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7879399417798432768,"description":"Unknown IO ID 45"} 
[2026-09-05 13:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880535040001,"power":27876,"unknown_83":206,"unknown_79":46336,"ignition":16,"odometer":null,"unknown_45":7879399417798432768}} 
[2026-09-05 13:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":171559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:42:33] local.INFO: GPS data processed {"connection_id":171559,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:42:33] local.INFO: Acknowledgment sent {"connection_id":171559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:42:42] local.INFO: TCP Data received {"connection_id":174268,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:42:42] local.INFO: Processing buffer {"connection_id":174268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:42:42] local.INFO: IMEI packet received {"connection_id":174268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":174268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:42:42] local.INFO: TCP Data received {"connection_id":174268,"ip":"42.109.136.5","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 13:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174268,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 13:42:42] local.INFO: Processing buffer {"connection_id":174268,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 13:42:42] local.INFO: IMEI packet received {"connection_id":174268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":174268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:42:45] local.INFO: TCP Data received {"connection_id":174268,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:42:45] local.INFO: Processing buffer {"connection_id":174268,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 13:42:45] local.INFO: IMEI packet received {"connection_id":174268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":174268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:42:48] local.INFO: TCP Data received {"connection_id":174269,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174269,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:42:48] local.INFO: Processing buffer {"connection_id":174269,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:42:48] local.INFO: IMEI packet received {"connection_id":174269,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":174269,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:42:53] local.INFO: TCP Data received {"connection_id":174269,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174269,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:42:53] local.INFO: Processing buffer {"connection_id":174269,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:42:53] local.INFO: IMEI packet received {"connection_id":174269,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":174269,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:42:54] local.INFO: TCP Data received {"connection_id":174269,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0709f7308012c7939c00848c5f00014000129..."} 
[2026-09-05 13:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709f7308012c7939c00848c5f00014000129..."} 
[2026-09-05 13:42:54] local.INFO: Processing buffer {"connection_id":174269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709f7308012c7939c00848c5f00014000129..."} 
[2026-09-05 13:42:54] local.INFO: Packet analysis {"connection_id":174269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709f"} 
[2026-09-05 13:42:54] local.INFO: Extracted packet for processing {"connection_id":174269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709f"} 
[2026-09-05 13:42:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880471552001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:42:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788595893000,"timestamp_ms":1788595893000,"timestamp_seconds":1788595893,"priority":1,"record_length":96,"hex_timestamp":"000001a0709f7308"} 
[2026-09-05 13:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-05 13:42:54] 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-09-05 13:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174269,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174269,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880471552001,"66":26202,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880471552001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:42:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:42:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:42:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880471552001,"power":26202,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":174269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768825,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:42:54] local.INFO: GPS data processed {"connection_id":174269,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:42:54] local.INFO: Acknowledgment sent {"connection_id":174269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:42:56] local.INFO: TCP Data received {"connection_id":171866,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:42:56] local.INFO: Processing buffer {"connection_id":171866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:42:56] local.INFO: IMEI packet received {"connection_id":171866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":171866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:42:57] local.INFO: TCP Data received {"connection_id":171866,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:42:57] local.INFO: Processing buffer {"connection_id":171866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:42:57] local.INFO: IMEI packet received {"connection_id":171866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":171866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:43:01] local.INFO: TCP Data received {"connection_id":171866,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:43:01] local.INFO: Processing buffer {"connection_id":171866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:43:01] local.INFO: IMEI packet received {"connection_id":171866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":171866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:43:02] local.INFO: TCP Data received {"connection_id":171866,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0709eee38012d6d5e00060d2dc8000900b62d..."} 
[2026-09-05 13:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709eee38012d6d5e00060d2dc8000900b62d..."} 
[2026-09-05 13:43:02] local.INFO: Processing buffer {"connection_id":171866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709eee38012d6d5e00060d2dc8000900b62d..."} 
[2026-09-05 13:43:02] local.INFO: Packet analysis {"connection_id":171866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709e"} 
[2026-09-05 13:43:02] local.INFO: Extracted packet for processing {"connection_id":171866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709e"} 
[2026-09-05 13:43:02] local.INFO: GPS Element Parsed {"raw_longitude":762142208,"raw_latitude":101526984,"longitude_deg":76.2142208,"latitude_deg":10.1526984,"altitude":9,"angle":182,"satellites":45,"speed":7,"hex_longitude":"2d6d5e00","hex_latitude":"060d2dc8","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880536576001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399740818216189952,"note":"Value kept but may cause issues"} 
[2026-09-05 13:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7880384580216078336,"note":"Value kept but may cause issues"} 
[2026-09-05 13:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788595859000,"timestamp_ms":1788595859000,"timestamp_seconds":1788595859,"priority":1,"record_length":96,"hex_timestamp":"000001a0709eee38"} 
[2026-09-05 13:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 13:43: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-09-05 13: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-09-05 13:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880536576001,"66":27974,"83":206,"79":46336,"24":7,"16":399740818216189952,"45":7880384580216078336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,79,24,16,45]} 
[2026-09-05 13:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880536576001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:43:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-05 13:43:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399740818216189952,"km_value":399740818216189.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7880384580216078336,"description":"Unknown IO ID 45"} 
[2026-09-05 13:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880536576001,"power":27974,"unknown_83":206,"unknown_79":46336,"ignition":7,"odometer":null,"unknown_45":7880384580216078336}} 
[2026-09-05 13:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":171866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:43:02] local.INFO: GPS data processed {"connection_id":171866,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:43:02] local.INFO: Acknowledgment sent {"connection_id":171866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:43:26] local.INFO: TCP Data received {"connection_id":174269,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0709f7308012c7939c00848c5f00014000129..."} 
[2026-09-05 13:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709f7308012c7939c00848c5f00014000129..."} 
[2026-09-05 13:43:26] local.INFO: Processing buffer {"connection_id":174269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709f7308012c7939c00848c5f00014000129..."} 
[2026-09-05 13:43:26] local.INFO: Packet analysis {"connection_id":174269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709f"} 
[2026-09-05 13:43:26] local.INFO: Extracted packet for processing {"connection_id":174269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709f"} 
[2026-09-05 13:43:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880471552001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:43:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788595893000,"timestamp_ms":1788595893000,"timestamp_seconds":1788595893,"priority":1,"record_length":96,"hex_timestamp":"000001a0709f7308"} 
[2026-09-05 13:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-05 13:43:26] 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-09-05 13:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174269,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174269,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880471552001,"66":26202,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880471552001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:43:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:43:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:43:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880471552001,"power":26202,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":174269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768827,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:43:26] local.INFO: GPS data processed {"connection_id":174269,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:43:26] local.INFO: Acknowledgment sent {"connection_id":174269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:43:33] local.INFO: TCP Data received {"connection_id":171866,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070a08860012d6dfb00060cd3d00008002428..."} 
[2026-09-05 13:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a08860012d6dfb00060cd3d00008002428..."} 
[2026-09-05 13:43:33] local.INFO: Processing buffer {"connection_id":171866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a08860012d6dfb00060cd3d00008002428..."} 
[2026-09-05 13:43:33] local.INFO: Packet analysis {"connection_id":171866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a0"} 
[2026-09-05 13:43:33] local.INFO: Extracted packet for processing {"connection_id":171866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a0"} 
[2026-09-05 13:43:33] local.INFO: GPS Element Parsed {"raw_longitude":762182400,"raw_latitude":101503952,"longitude_deg":76.21824,"latitude_deg":10.1503952,"altitude":8,"angle":36,"satellites":40,"speed":22,"hex_longitude":"2d6dfb00","hex_latitude":"060cd3d0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 13:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880566528001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399743468211011584,"note":"Value kept but may cause issues"} 
[2026-09-05 13:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7924505782808360960,"note":"Value kept but may cause issues"} 
[2026-09-05 13:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788595964000,"timestamp_ms":1788595964000,"timestamp_seconds":1788595964,"priority":1,"record_length":96,"hex_timestamp":"000001a070a08860"} 
[2026-09-05 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-09-05 13:43: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-09-05 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 13:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 13:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880566528001,"66":27767,"184":206,"79":46336,"24":22,"16":399743468211011584,"45":7924505782808360960},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,79,24,16,45]} 
[2026-09-05 13:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880566528001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:43:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-05 13:43:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399743468211011584,"km_value":399743468211011.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7924505782808360960,"description":"Unknown IO ID 45"} 
[2026-09-05 13:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880566528001,"power":27767,"unknown_184":206,"unknown_79":46336,"ignition":22,"odometer":null,"unknown_45":7924505782808360960}} 
[2026-09-05 13:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":171866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:43:33] local.INFO: GPS data processed {"connection_id":171866,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:43:33] local.INFO: Acknowledgment sent {"connection_id":171866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:43:50] local.INFO: TCP Data received {"connection_id":172957,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172957,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:43:50] local.INFO: Processing buffer {"connection_id":172957,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:43:50] local.INFO: IMEI packet received {"connection_id":172957,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":172957,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:43:52] local.INFO: TCP Data received {"connection_id":172957,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172957,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:43:52] local.INFO: Processing buffer {"connection_id":172957,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:43:52] local.INFO: IMEI packet received {"connection_id":172957,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":172957,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:43:53] local.INFO: TCP Data received {"connection_id":172957,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0709f7308012c7939c00848c5f00014000129..."} 
[2026-09-05 13:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709f7308012c7939c00848c5f00014000129..."} 
[2026-09-05 13:43:53] local.INFO: Processing buffer {"connection_id":172957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709f7308012c7939c00848c5f00014000129..."} 
[2026-09-05 13:43:53] local.INFO: Packet analysis {"connection_id":172957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709f"} 
[2026-09-05 13:43:53] local.INFO: Extracted packet for processing {"connection_id":172957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709f"} 
[2026-09-05 13:43:53] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880471552001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:43:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788595893000,"timestamp_ms":1788595893000,"timestamp_seconds":1788595893,"priority":1,"record_length":96,"hex_timestamp":"000001a0709f7308"} 
[2026-09-05 13:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-05 13:43:53] 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-09-05 13:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172957,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172957,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880471552001,"66":26202,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880471552001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:43:53] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:43:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:43:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880471552001,"power":26202,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":172957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768829,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:43:53] local.INFO: GPS data processed {"connection_id":172957,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:43:53] local.INFO: Acknowledgment sent {"connection_id":172957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:43:56] local.INFO: TCP Data received {"connection_id":171867,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:43:56] local.INFO: Processing buffer {"connection_id":171867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:43:56] local.INFO: IMEI packet received {"connection_id":171867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":171867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:43:58] local.INFO: TCP Data received {"connection_id":172957,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0709f7308012c7939c00848c5f00014000129..."} 
[2026-09-05 13:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709f7308012c7939c00848c5f00014000129..."} 
[2026-09-05 13:43:58] local.INFO: Processing buffer {"connection_id":172957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709f7308012c7939c00848c5f00014000129..."} 
[2026-09-05 13:43:58] local.INFO: Packet analysis {"connection_id":172957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709f"} 
[2026-09-05 13:43:58] local.INFO: Extracted packet for processing {"connection_id":172957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709f"} 
[2026-09-05 13:43:58] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880471552001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:43:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788595893000,"timestamp_ms":1788595893000,"timestamp_seconds":1788595893,"priority":1,"record_length":96,"hex_timestamp":"000001a0709f7308"} 
[2026-09-05 13:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-05 13:43:58] 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-09-05 13:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172957,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172957,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880471552001,"66":26202,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880471552001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:43:58] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:43:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:43:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880471552001,"power":26202,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":172957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768830,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:43:58] local.INFO: GPS data processed {"connection_id":172957,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:43:58] local.INFO: Acknowledgment sent {"connection_id":172957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:44:01] local.INFO: TCP Data received {"connection_id":171867,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:44:01] local.INFO: Processing buffer {"connection_id":171867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:44:01] local.INFO: IMEI packet received {"connection_id":171867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":171867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:44:02] local.INFO: TCP Data received {"connection_id":171867,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070a09418012d6e0000060cd9a8000900332c..."} 
[2026-09-05 13:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a09418012d6e0000060cd9a8000900332c..."} 
[2026-09-05 13:44:02] local.INFO: Processing buffer {"connection_id":171867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a09418012d6e0000060cd9a8000900332c..."} 
[2026-09-05 13:44:02] local.INFO: Packet analysis {"connection_id":171867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a0"} 
[2026-09-05 13:44:02] local.INFO: Extracted packet for processing {"connection_id":171867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a0"} 
[2026-09-05 13:44:02] local.INFO: GPS Element Parsed {"raw_longitude":762183680,"raw_latitude":101505448,"longitude_deg":76.218368,"latitude_deg":10.1505448,"altitude":9,"angle":51,"satellites":44,"speed":29,"hex_longitude":"2d6e0000","hex_latitude":"060cd9a8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 13:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880566784001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399743562700292096,"note":"Value kept but may cause issues"} 
[2026-09-05 13:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7924927995273531392,"note":"Value kept but may cause issues"} 
[2026-09-05 13:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788595967000,"timestamp_ms":1788595967000,"timestamp_seconds":1788595967,"priority":1,"record_length":96,"hex_timestamp":"000001a070a09418"} 
[2026-09-05 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-09-05 13:44: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-09-05 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 13:44: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-09-05 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-09-05 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-09-05 13:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880566784001,"66":27974,"184":206,"79":46336,"24":29,"16":399743562700292096,"45":7924927995273531392},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,79,24,16,45]} 
[2026-09-05 13:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880566784001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:44:02] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-05 13:44:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399743562700292096,"km_value":399743562700292.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7924927995273531392,"description":"Unknown IO ID 45"} 
[2026-09-05 13:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880566784001,"power":27974,"unknown_184":206,"unknown_79":46336,"ignition":29,"odometer":null,"unknown_45":7924927995273531392}} 
[2026-09-05 13:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":171867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:44:02] local.INFO: GPS data processed {"connection_id":171867,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:44:02] local.INFO: Acknowledgment sent {"connection_id":171867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:44:30] local.INFO: TCP Data received {"connection_id":172957,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0709f7308012c7939c00848c5f00014000129..."} 
[2026-09-05 13:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709f7308012c7939c00848c5f00014000129..."} 
[2026-09-05 13:44:30] local.INFO: Processing buffer {"connection_id":172957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709f7308012c7939c00848c5f00014000129..."} 
[2026-09-05 13:44:30] local.INFO: Packet analysis {"connection_id":172957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709f"} 
[2026-09-05 13:44:30] local.INFO: Extracted packet for processing {"connection_id":172957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709f"} 
[2026-09-05 13:44:30] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880471552001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:44:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788595893000,"timestamp_ms":1788595893000,"timestamp_seconds":1788595893,"priority":1,"record_length":96,"hex_timestamp":"000001a0709f7308"} 
[2026-09-05 13:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:44: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-09-05 13:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-05 13:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172957,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172957,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880471552001,"66":26202,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880471552001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:44:30] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:44:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:44:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880471552001,"power":26202,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":172957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768832,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:44:30] local.INFO: GPS data processed {"connection_id":172957,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:44:30] local.INFO: Acknowledgment sent {"connection_id":172957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:44:33] local.INFO: TCP Data received {"connection_id":171867,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070a0a3b8012d6e0b40060ce0500009003e2c..."} 
[2026-09-05 13:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a0a3b8012d6e0b40060ce0500009003e2c..."} 
[2026-09-05 13:44:33] local.INFO: Processing buffer {"connection_id":171867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a0a3b8012d6e0b40060ce0500009003e2c..."} 
[2026-09-05 13:44:33] local.INFO: Packet analysis {"connection_id":171867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a0"} 
[2026-09-05 13:44:33] local.INFO: Extracted packet for processing {"connection_id":171867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a0"} 
[2026-09-05 13:44:33] local.INFO: GPS Element Parsed {"raw_longitude":762186560,"raw_latitude":101507152,"longitude_deg":76.218656,"latitude_deg":10.1507152,"altitude":9,"angle":62,"satellites":44,"speed":37,"hex_longitude":"2d6e0b40","hex_latitude":"060ce050","is_valid_coordinates":true} 
[2026-09-05 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-09-05 13:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880567552001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399743725909049344,"note":"Value kept but may cause issues"} 
[2026-09-05 13:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7926335370157467648,"note":"Value kept but may cause issues"} 
[2026-09-05 13:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788595971000,"timestamp_ms":1788595971000,"timestamp_seconds":1788595971,"priority":1,"record_length":96,"hex_timestamp":"000001a070a0a3b8"} 
[2026-09-05 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-09-05 13:44: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-09-05 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 13:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 13:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880567552001,"66":27995,"184":206,"79":46336,"24":37,"16":399743725909049344,"45":7926335370157467648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,79,24,16,45]} 
[2026-09-05 13:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880567552001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:44:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-05 13:44:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399743725909049344,"km_value":399743725909049.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7926335370157467648,"description":"Unknown IO ID 45"} 
[2026-09-05 13:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880567552001,"power":27995,"unknown_184":206,"unknown_79":46336,"ignition":37,"odometer":null,"unknown_45":7926335370157467648}} 
[2026-09-05 13:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":171867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:44:33] local.INFO: GPS data processed {"connection_id":171867,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:44:33] local.INFO: Acknowledgment sent {"connection_id":171867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:44:53] local.INFO: TCP Data received {"connection_id":171869,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171869,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:44:53] local.INFO: Processing buffer {"connection_id":171869,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:44:53] local.INFO: IMEI packet received {"connection_id":171869,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":171869,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:44:56] local.INFO: TCP Data received {"connection_id":171870,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:44:56] local.INFO: Processing buffer {"connection_id":171870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:44:56] local.INFO: IMEI packet received {"connection_id":171870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":171870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:44:58] local.INFO: TCP Data received {"connection_id":171869,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171869,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:44:58] local.INFO: Processing buffer {"connection_id":171869,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:44:58] local.INFO: IMEI packet received {"connection_id":171869,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":171869,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:44:59] local.INFO: TCP Data received {"connection_id":171869,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0709f7308012c7939c00848c5f00014000129..."} 
[2026-09-05 13:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709f7308012c7939c00848c5f00014000129..."} 
[2026-09-05 13:44:59] local.INFO: Processing buffer {"connection_id":171869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709f7308012c7939c00848c5f00014000129..."} 
[2026-09-05 13:44:59] local.INFO: Packet analysis {"connection_id":171869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709f"} 
[2026-09-05 13:44:59] local.INFO: Extracted packet for processing {"connection_id":171869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709f"} 
[2026-09-05 13:44:59] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880471552001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:44:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788595893000,"timestamp_ms":1788595893000,"timestamp_seconds":1788595893,"priority":1,"record_length":96,"hex_timestamp":"000001a0709f7308"} 
[2026-09-05 13:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-05 13:44:59] 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-09-05 13:44:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880471552001,"66":26202,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880471552001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:44:59] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:44:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:44:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880471552001,"power":26202,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":171869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768834,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:44:59] local.INFO: GPS data processed {"connection_id":171869,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:44:59] local.INFO: Acknowledgment sent {"connection_id":171869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:45:01] local.INFO: TCP Data received {"connection_id":171870,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:45:01] local.INFO: Processing buffer {"connection_id":171870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:45:01] local.INFO: IMEI packet received {"connection_id":171870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":171870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:45:02] local.INFO: TCP Data received {"connection_id":171870,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070a0c2f8012d6e2a40060cec18000a004d2e..."} 
[2026-09-05 13:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a0c2f8012d6e2a40060cec18000a004d2e..."} 
[2026-09-05 13:45:02] local.INFO: Processing buffer {"connection_id":171870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a0c2f8012d6e2a40060cec18000a004d2e..."} 
[2026-09-05 13:45:02] local.INFO: Packet analysis {"connection_id":171870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a0"} 
[2026-09-05 13:45:02] local.INFO: Extracted packet for processing {"connection_id":171870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a0"} 
[2026-09-05 13:45:02] local.INFO: GPS Element Parsed {"raw_longitude":762194496,"raw_latitude":101510168,"longitude_deg":76.2194496,"latitude_deg":10.1510168,"altitude":10,"angle":77,"satellites":46,"speed":38,"hex_longitude":"2d6e2a40","hex_latitude":"060cec18","is_valid_coordinates":true} 
[2026-09-05 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-09-05 13:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880568576001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399744129635975168,"note":"Value kept but may cause issues"} 
[2026-09-05 13:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7929501963645898752,"note":"Value kept but may cause issues"} 
[2026-09-05 13:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788595979000,"timestamp_ms":1788595979000,"timestamp_seconds":1788595979,"priority":1,"record_length":96,"hex_timestamp":"000001a070a0c2f8"} 
[2026-09-05 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-09-05 13:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 13:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 13:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880568576001,"66":28006,"186":206,"79":46336,"24":38,"16":399744129635975168,"45":7929501963645898752},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,79,24,16,45]} 
[2026-09-05 13:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880568576001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:45:02] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-05 13:45:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399744129635975168,"km_value":399744129635975.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7929501963645898752,"description":"Unknown IO ID 45"} 
[2026-09-05 13:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880568576001,"power":28006,"unknown_186":206,"unknown_79":46336,"ignition":38,"odometer":null,"unknown_45":7929501963645898752}} 
[2026-09-05 13:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":171870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:45:02] local.INFO: GPS data processed {"connection_id":171870,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:45:02] local.INFO: Acknowledgment sent {"connection_id":171870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:45:31] local.INFO: TCP Data received {"connection_id":171869,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0709f7308012c7939c00848c5f00014000129..."} 
[2026-09-05 13:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709f7308012c7939c00848c5f00014000129..."} 
[2026-09-05 13:45:31] local.INFO: Processing buffer {"connection_id":171869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709f7308012c7939c00848c5f00014000129..."} 
[2026-09-05 13:45:31] local.INFO: Packet analysis {"connection_id":171869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709f"} 
[2026-09-05 13:45:31] local.INFO: Extracted packet for processing {"connection_id":171869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709f"} 
[2026-09-05 13:45:31] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880471552001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:45:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788595893000,"timestamp_ms":1788595893000,"timestamp_seconds":1788595893,"priority":1,"record_length":96,"hex_timestamp":"000001a0709f7308"} 
[2026-09-05 13:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:45: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-09-05 13: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-05 13:45:31] 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-09-05 13: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-09-05 13:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880471552001,"66":26202,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880471552001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:45:31] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:45:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:45:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880471552001,"power":26202,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":171869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768836,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:45:31] local.INFO: GPS data processed {"connection_id":171869,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:45:31] local.INFO: Acknowledgment sent {"connection_id":171869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:45:34] local.INFO: TCP Data received {"connection_id":171870,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070a0f9a8012d6e4ec0060cef50000c00552f..."} 
[2026-09-05 13:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a0f9a8012d6e4ec0060cef50000c00552f..."} 
[2026-09-05 13:45:34] local.INFO: Processing buffer {"connection_id":171870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a0f9a8012d6e4ec0060cef50000c00552f..."} 
[2026-09-05 13:45:34] local.INFO: Packet analysis {"connection_id":171870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a0"} 
[2026-09-05 13:45:34] local.INFO: Extracted packet for processing {"connection_id":171870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a0"} 
[2026-09-05 13:45:34] local.INFO: GPS Element Parsed {"raw_longitude":762203840,"raw_latitude":101510992,"longitude_deg":76.220384,"latitude_deg":10.1510992,"altitude":12,"angle":85,"satellites":47,"speed":22,"hex_longitude":"2d6e4ec0","hex_latitude":"060cef50","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880570624001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399744576312573952,"note":"Value kept but may cause issues"} 
[2026-09-05 13:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7938227687924701184,"note":"Value kept but may cause issues"} 
[2026-09-05 13:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788595993000,"timestamp_ms":1788595993000,"timestamp_seconds":1788595993,"priority":1,"record_length":96,"hex_timestamp":"000001a070a0f9a8"} 
[2026-09-05 13:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:45: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-09-05 13:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 13:45: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-09-05 13: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-09-05 13:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880570624001,"66":27974,"186":206,"79":46336,"24":22,"16":399744576312573952,"45":7938227687924701184},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,79,24,16,45]} 
[2026-09-05 13:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880570624001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:45:34] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-05 13:45:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399744576312573952,"km_value":399744576312573.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7938227687924701184,"description":"Unknown IO ID 45"} 
[2026-09-05 13:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880570624001,"power":27974,"unknown_186":206,"unknown_79":46336,"ignition":22,"odometer":null,"unknown_45":7938227687924701184}} 
[2026-09-05 13:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":171870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:45:34] local.INFO: GPS data processed {"connection_id":171870,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:45:34] local.INFO: Acknowledgment sent {"connection_id":171870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:45:47] local.INFO: TCP Data received {"connection_id":174272,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174272,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:45:47] local.INFO: Processing buffer {"connection_id":174272,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:45:47] local.INFO: IMEI packet received {"connection_id":174272,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":174272,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:45:53] local.INFO: TCP Data received {"connection_id":174272,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174272,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:45:53] local.INFO: Processing buffer {"connection_id":174272,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:45:53] local.INFO: IMEI packet received {"connection_id":174272,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":174272,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:45:54] local.INFO: TCP Data received {"connection_id":174272,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0709f7308012c7939c00848c5f00014000129..."} 
[2026-09-05 13:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709f7308012c7939c00848c5f00014000129..."} 
[2026-09-05 13:45:54] local.INFO: Processing buffer {"connection_id":174272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709f7308012c7939c00848c5f00014000129..."} 
[2026-09-05 13:45:54] local.INFO: Packet analysis {"connection_id":174272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709f"} 
[2026-09-05 13:45:54] local.INFO: Extracted packet for processing {"connection_id":174272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709f"} 
[2026-09-05 13:45:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880471552001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:45:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788595893000,"timestamp_ms":1788595893000,"timestamp_seconds":1788595893,"priority":1,"record_length":96,"hex_timestamp":"000001a0709f7308"} 
[2026-09-05 13:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-05 13:45:54] 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-09-05 13:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174272,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174272,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880471552001,"66":26202,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880471552001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:45:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:45:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:45:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880471552001,"power":26202,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":174272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768838,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:45:54] local.INFO: GPS data processed {"connection_id":174272,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:45:54] local.INFO: Acknowledgment sent {"connection_id":174272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:45:56] local.INFO: TCP Data received {"connection_id":174273,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:45:56] local.INFO: Processing buffer {"connection_id":174273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:45:56] local.INFO: IMEI packet received {"connection_id":174273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":174273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:46:00] local.INFO: TCP Data received {"connection_id":174273,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:46:00] local.INFO: Processing buffer {"connection_id":174273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:46:00] local.INFO: IMEI packet received {"connection_id":174273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":174273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:46:01] local.INFO: TCP Data received {"connection_id":174273,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:46:01] local.INFO: Processing buffer {"connection_id":174273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:46:01] local.INFO: IMEI packet received {"connection_id":174273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":174273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:46:02] local.INFO: TCP Data received {"connection_id":174273,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070a13ff8012d6e71c0060cf458000d005230..."} 
[2026-09-05 13:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a13ff8012d6e71c0060cf458000d005230..."} 
[2026-09-05 13:46:02] local.INFO: Processing buffer {"connection_id":174273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a13ff8012d6e71c0060cf458000d005230..."} 
[2026-09-05 13:46:02] local.INFO: Packet analysis {"connection_id":174273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a1"} 
[2026-09-05 13:46:02] local.INFO: Extracted packet for processing {"connection_id":174273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a1"} 
[2026-09-05 13:46:02] local.INFO: GPS Element Parsed {"raw_longitude":762212800,"raw_latitude":101512280,"longitude_deg":76.22128,"latitude_deg":10.151228,"altitude":13,"angle":82,"satellites":48,"speed":10,"hex_longitude":"2d6e71c0","hex_latitude":"060cf458","is_valid_coordinates":true} 
[2026-09-05 13:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880574208001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399745010104270848,"note":"Value kept but may cause issues"} 
[2026-09-05 13:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7948501524574851072,"note":"Value kept but may cause issues"} 
[2026-09-05 13:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788596011000,"timestamp_ms":1788596011000,"timestamp_seconds":1788596011,"priority":1,"record_length":96,"hex_timestamp":"000001a070a13ff8"} 
[2026-09-05 13:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 13:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880574208001,"66":27919,"186":206,"79":46336,"24":10,"16":399745010104270848,"45":7948501524574851072},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,79,24,16,45]} 
[2026-09-05 13:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880574208001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:46:02] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-05 13:46:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399745010104270848,"km_value":399745010104270.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7948501524574851072,"description":"Unknown IO ID 45"} 
[2026-09-05 13:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880574208001,"power":27919,"unknown_186":206,"unknown_79":46336,"ignition":10,"odometer":null,"unknown_45":7948501524574851072}} 
[2026-09-05 13:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":174273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:46:02] local.INFO: GPS data processed {"connection_id":174273,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:46:02] local.INFO: Acknowledgment sent {"connection_id":174273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:46:26] local.INFO: TCP Data received {"connection_id":174272,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0709f7308012c7939c00848c5f00014000129..."} 
[2026-09-05 13:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709f7308012c7939c00848c5f00014000129..."} 
[2026-09-05 13:46:26] local.INFO: Processing buffer {"connection_id":174272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709f7308012c7939c00848c5f00014000129..."} 
[2026-09-05 13:46:26] local.INFO: Packet analysis {"connection_id":174272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709f"} 
[2026-09-05 13:46:26] local.INFO: Extracted packet for processing {"connection_id":174272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709f"} 
[2026-09-05 13:46:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880471552001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:46:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788595893000,"timestamp_ms":1788595893000,"timestamp_seconds":1788595893,"priority":1,"record_length":96,"hex_timestamp":"000001a0709f7308"} 
[2026-09-05 13:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-05 13:46:26] 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-09-05 13:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174272,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174272,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880471552001,"66":26202,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880471552001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:46:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:46:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:46:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880471552001,"power":26202,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":174272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768840,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:46:26] local.INFO: GPS data processed {"connection_id":174272,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:46:26] local.INFO: Acknowledgment sent {"connection_id":174272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:46:34] local.INFO: TCP Data received {"connection_id":174273,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070a19200012d6e7f40060cf640000c004c2e..."} 
[2026-09-05 13:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a19200012d6e7f40060cf640000c004c2e..."} 
[2026-09-05 13:46:34] local.INFO: Processing buffer {"connection_id":174273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a19200012d6e7f40060cf640000c004c2e..."} 
[2026-09-05 13:46:34] local.INFO: Packet analysis {"connection_id":174273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a1"} 
[2026-09-05 13:46:34] local.INFO: Extracted packet for processing {"connection_id":174273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a1"} 
[2026-09-05 13:46:34] local.INFO: GPS Element Parsed {"raw_longitude":762216256,"raw_latitude":101512768,"longitude_deg":76.2216256,"latitude_deg":10.1512768,"altitude":12,"angle":76,"satellites":46,"speed":7,"hex_longitude":"2d6e7f40","hex_latitude":"060cf640","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880578816001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399745177607995392,"note":"Value kept but may cause issues"} 
[2026-09-05 13:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7958353148760053760,"note":"Value kept but may cause issues"} 
[2026-09-05 13:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788596032000,"timestamp_ms":1788596032000,"timestamp_seconds":1788596032,"priority":1,"record_length":96,"hex_timestamp":"000001a070a19200"} 
[2026-09-05 13:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:46: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-09-05 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 13:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880578816001,"66":27865,"186":206,"79":46336,"24":7,"16":399745177607995392,"45":7958353148760053760},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,79,24,16,45]} 
[2026-09-05 13:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880578816001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:46:34] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-05 13:46:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399745177607995392,"km_value":399745177607995.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7958353148760053760,"description":"Unknown IO ID 45"} 
[2026-09-05 13:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880578816001,"power":27865,"unknown_186":206,"unknown_79":46336,"ignition":7,"odometer":null,"unknown_45":7958353148760053760}} 
[2026-09-05 13:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":174273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:46:34] local.INFO: GPS data processed {"connection_id":174273,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:46:34] local.INFO: Acknowledgment sent {"connection_id":174273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:46:47] local.INFO: TCP Data received {"connection_id":174274,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174274,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:46:47] local.INFO: Processing buffer {"connection_id":174274,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:46:47] local.INFO: IMEI packet received {"connection_id":174274,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":174274,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:46:53] local.INFO: TCP Data received {"connection_id":174274,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174274,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:46:53] local.INFO: Processing buffer {"connection_id":174274,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:46:53] local.INFO: IMEI packet received {"connection_id":174274,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":174274,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:46:54] local.INFO: TCP Data received {"connection_id":174274,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0709f7308012c7939c00848c5f00014000129..."} 
[2026-09-05 13:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0709f7308012c7939c00848c5f00014000129..."} 
[2026-09-05 13:46:54] local.INFO: Processing buffer {"connection_id":174274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0709f7308012c7939c00848c5f00014000129..."} 
[2026-09-05 13:46:54] local.INFO: Packet analysis {"connection_id":174274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0709f"} 
[2026-09-05 13:46:54] local.INFO: Extracted packet for processing {"connection_id":174274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0709f"} 
[2026-09-05 13:46:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880471552001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:46:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788595893000,"timestamp_ms":1788595893000,"timestamp_seconds":1788595893,"priority":1,"record_length":96,"hex_timestamp":"000001a0709f7308"} 
[2026-09-05 13:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-05 13:46:54] 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-09-05 13:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174274,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174274,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880471552001,"66":26202,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880471552001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:46:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:46:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:46:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880471552001,"power":26202,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":174274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768842,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:46:54] local.INFO: GPS data processed {"connection_id":174274,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:46:54] local.INFO: Acknowledgment sent {"connection_id":174274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:47:01] local.INFO: TCP Data received {"connection_id":171561,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:47:01] local.INFO: Processing buffer {"connection_id":171561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:47:01] local.INFO: IMEI packet received {"connection_id":171561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":171561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:47:02] local.INFO: TCP Data received {"connection_id":171561,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:47:02] local.INFO: Processing buffer {"connection_id":171561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:47:02] local.INFO: IMEI packet received {"connection_id":171561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":171561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:47:03] local.INFO: TCP Data received {"connection_id":171561,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070a39d70012d6ec300060cf7e0000e00702e..."} 
[2026-09-05 13:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a39d70012d6ec300060cf7e0000e00702e..."} 
[2026-09-05 13:47:03] local.INFO: Processing buffer {"connection_id":171561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a39d70012d6ec300060cf7e0000e00702e..."} 
[2026-09-05 13:47:03] local.INFO: Packet analysis {"connection_id":171561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a3"} 
[2026-09-05 13:47:03] local.INFO: Extracted packet for processing {"connection_id":171561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a3"} 
[2026-09-05 13:47:03] local.INFO: GPS Element Parsed {"raw_longitude":762233600,"raw_latitude":101513184,"longitude_deg":76.22336,"latitude_deg":10.1513184,"altitude":14,"angle":112,"satellites":46,"speed":11,"hex_longitude":"2d6ec300","hex_latitude":"060cf7e0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 13:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880618240001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399746015126618112,"note":"Value kept but may cause issues"} 
[2026-09-05 13:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7980871146897156096,"note":"Value kept but may cause issues"} 
[2026-09-05 13:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788596166000,"timestamp_ms":1788596166000,"timestamp_seconds":1788596166,"priority":1,"record_length":96,"hex_timestamp":"000001a070a39d70"} 
[2026-09-05 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-09-05 13:47: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-09-05 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 13:47: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-09-05 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-09-05 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-09-05 13:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880618240001,"66":27876,"186":206,"79":46336,"24":11,"16":399746015126618112,"45":7980871146897156096},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,79,24,16,45]} 
[2026-09-05 13:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880618240001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:47:03] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-05 13:47:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399746015126618112,"km_value":399746015126618.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7980871146897156096,"description":"Unknown IO ID 45"} 
[2026-09-05 13:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880618240001,"power":27876,"unknown_186":206,"unknown_79":46336,"ignition":11,"odometer":null,"unknown_45":7980871146897156096}} 
[2026-09-05 13:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":171561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:47:03] local.INFO: GPS data processed {"connection_id":171561,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:47:03] local.INFO: Acknowledgment sent {"connection_id":171561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:47:07] local.INFO: TCP Data received {"connection_id":171561,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070a3a158012d6ec400060cf740000d00812e..."} 
[2026-09-05 13:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a3a158012d6ec400060cf740000d00812e..."} 
[2026-09-05 13:47:07] local.INFO: Processing buffer {"connection_id":171561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a3a158012d6ec400060cf740000d00812e..."} 
[2026-09-05 13:47:07] local.INFO: Packet analysis {"connection_id":171561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a3"} 
[2026-09-05 13:47:07] local.INFO: Extracted packet for processing {"connection_id":171561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a3"} 
[2026-09-05 13:47:07] local.INFO: GPS Element Parsed {"raw_longitude":762233856,"raw_latitude":101513024,"longitude_deg":76.2233856,"latitude_deg":10.1513024,"altitude":13,"angle":129,"satellites":46,"speed":12,"hex_longitude":"2d6ec400","hex_latitude":"060cf740","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880618496001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399746032306487296,"note":"Value kept but may cause issues"} 
[2026-09-05 13:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7981222990618025984,"note":"Value kept but may cause issues"} 
[2026-09-05 13:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788596167000,"timestamp_ms":1788596167000,"timestamp_seconds":1788596167,"priority":1,"record_length":96,"hex_timestamp":"000001a070a3a158"} 
[2026-09-05 13:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:47:07] 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-09-05 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 13:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880618496001,"66":27908,"186":206,"79":46336,"24":12,"16":399746032306487296,"45":7981222990618025984},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,79,24,16,45]} 
[2026-09-05 13:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880618496001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:47:07] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-05 13:47:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399746032306487296,"km_value":399746032306487.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":7981222990618025984,"description":"Unknown IO ID 45"} 
[2026-09-05 13:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880618496001,"power":27908,"unknown_186":206,"unknown_79":46336,"ignition":12,"odometer":null,"unknown_45":7981222990618025984}} 
[2026-09-05 13:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":171561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:47:07] local.INFO: GPS data processed {"connection_id":171561,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:47:07] local.INFO: Acknowledgment sent {"connection_id":171561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:47:26] local.INFO: TCP Data received {"connection_id":174274,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070a40ad0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a40ad0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:47:26] local.INFO: Processing buffer {"connection_id":174274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a40ad0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:47:26] local.INFO: Packet analysis {"connection_id":174274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a4"} 
[2026-09-05 13:47:26] local.INFO: Extracted packet for processing {"connection_id":174274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a4"} 
[2026-09-05 13:47:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880548608001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:47:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788596194000,"timestamp_ms":1788596194000,"timestamp_seconds":1788596194,"priority":1,"record_length":96,"hex_timestamp":"000001a070a40ad0"} 
[2026-09-05 13:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-09-05 13:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174274,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174274,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880548608001,"66":26147,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880548608001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:47:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:47:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:47:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880548608001,"power":26147,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":174274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768845,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:47:26] local.INFO: GPS data processed {"connection_id":174274,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:47:26] local.INFO: Acknowledgment sent {"connection_id":174274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:47:38] local.INFO: TCP Data received {"connection_id":171561,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070a464a8012d6e9cc0060cda28000c01252b..."} 
[2026-09-05 13:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a464a8012d6e9cc0060cda28000c01252b..."} 
[2026-09-05 13:47:38] local.INFO: Processing buffer {"connection_id":171561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a464a8012d6e9cc0060cda28000c01252b..."} 
[2026-09-05 13:47:38] local.INFO: Packet analysis {"connection_id":171561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a4"} 
[2026-09-05 13:47:38] local.INFO: Extracted packet for processing {"connection_id":171561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a4"} 
[2026-09-05 13:47:38] local.INFO: GPS Element Parsed {"raw_longitude":762223808,"raw_latitude":101505576,"longitude_deg":76.2223808,"latitude_deg":10.1505576,"altitude":12,"angle":293,"satellites":43,"speed":22,"hex_longitude":"2d6e9cc0","hex_latitude":"060cda28","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880630784001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399747002969096192,"note":"Value kept but may cause issues"} 
[2026-09-05 13:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7971863947640166400,"note":"Value kept but may cause issues"} 
[2026-09-05 13:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788596217000,"timestamp_ms":1788596217000,"timestamp_seconds":1788596217,"priority":1,"record_length":96,"hex_timestamp":"000001a070a464a8"} 
[2026-09-05 13:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:47: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-09-05 13: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-05 13:47:38] 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-09-05 13: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-09-05 13:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880630784001,"66":27517,"186":206,"79":46336,"24":22,"16":399747002969096192,"45":7971863947640166400},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,79,24,16,45]} 
[2026-09-05 13:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880630784001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:47:38] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-05 13:47:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399747002969096192,"km_value":399747002969096.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7971863947640166400,"description":"Unknown IO ID 45"} 
[2026-09-05 13:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880630784001,"power":27517,"unknown_186":206,"unknown_79":46336,"ignition":22,"odometer":null,"unknown_45":7971863947640166400}} 
[2026-09-05 13:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":171561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:47:38] local.INFO: GPS data processed {"connection_id":171561,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:47:38] local.INFO: Acknowledgment sent {"connection_id":171561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:47:47] local.INFO: TCP Data received {"connection_id":174276,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:47:47] local.INFO: Processing buffer {"connection_id":174276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:47:47] local.INFO: IMEI packet received {"connection_id":174276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":174276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:47:50] local.INFO: TCP Data received {"connection_id":174275,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:47:50] local.INFO: Processing buffer {"connection_id":174275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:47:50] local.INFO: IMEI packet received {"connection_id":174275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":174275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:47:51] local.INFO: TCP Data received {"connection_id":174275,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070a2f190012cee3d80073276a8005c00a12b..."} 
[2026-09-05 13:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a2f190012cee3d80073276a8005c00a12b..."} 
[2026-09-05 13:47:51] local.INFO: Processing buffer {"connection_id":174275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a2f190012cee3d80073276a8005c00a12b..."} 
[2026-09-05 13:47:51] local.INFO: Packet analysis {"connection_id":174275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a2"} 
[2026-09-05 13:47:51] local.INFO: Extracted packet for processing {"connection_id":174275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a2"} 
[2026-09-05 13:47:51] local.INFO: GPS Element Parsed {"raw_longitude":753810816,"raw_latitude":120747688,"longitude_deg":75.3810816,"latitude_deg":12.0747688,"altitude":92,"angle":161,"satellites":43,"speed":15,"hex_longitude":"2cee3d80","hex_latitude":"073276a8","is_valid_coordinates":true} 
[2026-09-05 13:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880606464001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17722302078648320,"note":"Value kept but may cause issues"} 
[2026-09-05 13:47:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1279937056935862272,"note":"Value kept but may cause issues"} 
[2026-09-05 13:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788596122000,"timestamp_ms":1788596122000,"timestamp_seconds":1788596122,"priority":1,"record_length":96,"hex_timestamp":"000001a070a2f190"} 
[2026-09-05 13:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:47:51] 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-09-05 13:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 13:47:51] 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-09-05 13:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880606464001,"66":14374,"103":206,"83":44032,"24":15,"16":17722302078648320,"44":-1279937056935862272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880606464001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:47:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:47:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17722302078648320,"km_value":17722302078648.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:47:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1279937056935862272,"description":"Unknown IO ID 44"} 
[2026-09-05 13:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880606464001,"power":14374,"unknown_103":206,"unknown_83":44032,"ignition":15,"odometer":null,"unknown_44":-1279937056935862272}} 
[2026-09-05 13:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":174275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:47:51] local.INFO: GPS data processed {"connection_id":174275,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:47:51] local.INFO: Acknowledgment sent {"connection_id":174275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:47:52] local.INFO: TCP Data received {"connection_id":174276,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:47:53] local.INFO: Processing buffer {"connection_id":174276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:47:53] local.INFO: IMEI packet received {"connection_id":174276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":174276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:47:54] local.INFO: TCP Data received {"connection_id":174276,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070a40ad0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a40ad0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:47:54] local.INFO: Processing buffer {"connection_id":174276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a40ad0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:47:54] local.INFO: Packet analysis {"connection_id":174276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a4"} 
[2026-09-05 13:47:54] local.INFO: Extracted packet for processing {"connection_id":174276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a4"} 
[2026-09-05 13:47:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880548608001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:47:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788596194000,"timestamp_ms":1788596194000,"timestamp_seconds":1788596194,"priority":1,"record_length":96,"hex_timestamp":"000001a070a40ad0"} 
[2026-09-05 13:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13: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":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-09-05 13:47:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174276,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174276,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880548608001,"66":26147,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880548608001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:47:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:47:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:47:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880548608001,"power":26147,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":174276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768848,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:47:54] local.INFO: GPS data processed {"connection_id":174276,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:47:54] local.INFO: Acknowledgment sent {"connection_id":174276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:47:55] local.INFO: TCP Data received {"connection_id":171562,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:47:55] local.INFO: Processing buffer {"connection_id":171562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:47:55] local.INFO: IMEI packet received {"connection_id":171562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":171562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:47:56] local.INFO: TCP Data received {"connection_id":171562,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:47:56] local.INFO: Processing buffer {"connection_id":171562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:47:56] local.INFO: IMEI packet received {"connection_id":171562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":171562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:47:56] local.INFO: TCP Data received {"connection_id":171562,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:47:56] local.INFO: Processing buffer {"connection_id":171562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:47:56] local.INFO: IMEI packet received {"connection_id":171562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":171562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:48:01] local.INFO: TCP Data received {"connection_id":171562,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:48:01] local.INFO: Processing buffer {"connection_id":171562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:48:01] local.INFO: IMEI packet received {"connection_id":171562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":171562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:48:02] local.INFO: TCP Data received {"connection_id":171562,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070a46890012d6e9ac0060cdad0000c01182c..."} 
[2026-09-05 13:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a46890012d6e9ac0060cdad0000c01182c..."} 
[2026-09-05 13:48:02] local.INFO: Processing buffer {"connection_id":171562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a46890012d6e9ac0060cdad0000c01182c..."} 
[2026-09-05 13:48:02] local.INFO: Packet analysis {"connection_id":171562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a4"} 
[2026-09-05 13:48:02] local.INFO: Extracted packet for processing {"connection_id":171562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a4"} 
[2026-09-05 13:48:02] local.INFO: GPS Element Parsed {"raw_longitude":762223296,"raw_latitude":101505744,"longitude_deg":76.2223296,"latitude_deg":10.1505744,"altitude":12,"angle":280,"satellites":44,"speed":21,"hex_longitude":"2d6e9ac0","hex_latitude":"060cdad0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 13:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880631552001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399747028738899968,"note":"Value kept but may cause issues"} 
[2026-09-05 13:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7970456572756895744,"note":"Value kept but may cause issues"} 
[2026-09-05 13:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788596218000,"timestamp_ms":1788596218000,"timestamp_seconds":1788596218,"priority":1,"record_length":96,"hex_timestamp":"000001a070a46890"} 
[2026-09-05 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-09-05 13:48: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-09-05 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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 13:48: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-09-05 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-09-05 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-09-05 13:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880631552001,"66":27517,"186":206,"79":46336,"24":21,"16":399747028738899968,"45":7970456572756895744},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,79,24,16,45]} 
[2026-09-05 13:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880631552001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:48:02] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-05 13:48:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399747028738899968,"km_value":399747028738899.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7970456572756895744,"description":"Unknown IO ID 45"} 
[2026-09-05 13:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880631552001,"power":27517,"unknown_186":206,"unknown_79":46336,"ignition":21,"odometer":null,"unknown_45":7970456572756895744}} 
[2026-09-05 13:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":171562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:48:02] local.INFO: GPS data processed {"connection_id":171562,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:48:02] local.INFO: Acknowledgment sent {"connection_id":171562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:48:22] local.INFO: TCP Data received {"connection_id":174275,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070a34398012cee4ac0073256580064009c2d..."} 
[2026-09-05 13:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a34398012cee4ac0073256580064009c2d..."} 
[2026-09-05 13:48:22] local.INFO: Processing buffer {"connection_id":174275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a34398012cee4ac0073256580064009c2d..."} 
[2026-09-05 13:48:22] local.INFO: Packet analysis {"connection_id":174275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a3"} 
[2026-09-05 13:48:22] local.INFO: Extracted packet for processing {"connection_id":174275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a3"} 
[2026-09-05 13:48:22] local.INFO: GPS Element Parsed {"raw_longitude":753814208,"raw_latitude":120739416,"longitude_deg":75.3814208,"latitude_deg":12.0739416,"altitude":100,"angle":156,"satellites":45,"speed":16,"hex_longitude":"2cee4ac0","hex_latitude":"07325658","is_valid_coordinates":true} 
[2026-09-05 13:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880607232001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17722735870345216,"note":"Value kept but may cause issues"} 
[2026-09-05 13:48:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1279725950703589376,"note":"Value kept but may cause issues"} 
[2026-09-05 13:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788596143000,"timestamp_ms":1788596143000,"timestamp_seconds":1788596143,"priority":1,"record_length":96,"hex_timestamp":"000001a070a34398"} 
[2026-09-05 13:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:48:22] 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-09-05 13:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 13:48:22] 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-09-05 13:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880607232001,"66":14341,"103":206,"83":44032,"24":16,"16":17722735870345216,"44":-1279725950703589376},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880607232001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:48:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:48:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17722735870345216,"km_value":17722735870345.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:48:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1279725950703589376,"description":"Unknown IO ID 44"} 
[2026-09-05 13:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880607232001,"power":14341,"unknown_103":206,"unknown_83":44032,"ignition":16,"odometer":null,"unknown_44":-1279725950703589376}} 
[2026-09-05 13:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":174275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:48:22] local.INFO: GPS data processed {"connection_id":174275,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:48:22] local.INFO: Acknowledgment sent {"connection_id":174275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:48:25] local.INFO: TCP Data received {"connection_id":174276,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070a40ad0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a40ad0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:48:25] local.INFO: Processing buffer {"connection_id":174276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a40ad0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:48:25] local.INFO: Packet analysis {"connection_id":174276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a4"} 
[2026-09-05 13:48:25] local.INFO: Extracted packet for processing {"connection_id":174276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a4"} 
[2026-09-05 13:48:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:48: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-09-05 13:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880548608001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:48:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788596194000,"timestamp_ms":1788596194000,"timestamp_seconds":1788596194,"priority":1,"record_length":96,"hex_timestamp":"000001a070a40ad0"} 
[2026-09-05 13:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:48: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-09-05 13:48: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":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-09-05 13:48:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:48: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-09-05 13:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174276,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174276,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880548608001,"66":26147,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880548608001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:48:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:48:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:48:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880548608001,"power":26147,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":174276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768851,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:48:26] local.INFO: GPS data processed {"connection_id":174276,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:48:26] local.INFO: Acknowledgment sent {"connection_id":174276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:48:33] local.INFO: TCP Data received {"connection_id":171562,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070a46c78012d6e9880060cdb00000c010c2c..."} 
[2026-09-05 13:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a46c78012d6e9880060cdb00000c010c2c..."} 
[2026-09-05 13:48:33] local.INFO: Processing buffer {"connection_id":171562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a46c78012d6e9880060cdb00000c010c2c..."} 
[2026-09-05 13:48:33] local.INFO: Packet analysis {"connection_id":171562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a4"} 
[2026-09-05 13:48:33] local.INFO: Extracted packet for processing {"connection_id":171562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a4"} 
[2026-09-05 13:48:33] local.INFO: GPS Element Parsed {"raw_longitude":762222720,"raw_latitude":101505792,"longitude_deg":76.222272,"latitude_deg":10.1505792,"altitude":12,"angle":268,"satellites":44,"speed":21,"hex_longitude":"2d6e9880","hex_latitude":"060cdb00","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880631808001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399747054508703744,"note":"Value kept but may cause issues"} 
[2026-09-05 13:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7969893622803517440,"note":"Value kept but may cause issues"} 
[2026-09-05 13:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788596219000,"timestamp_ms":1788596219000,"timestamp_seconds":1788596219,"priority":1,"record_length":96,"hex_timestamp":"000001a070a46c78"} 
[2026-09-05 13:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:48: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-09-05 13: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 13:48: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-09-05 13: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-09-05 13:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880631808001,"66":27908,"186":206,"79":46336,"24":21,"16":399747054508703744,"45":7969893622803517440},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,79,24,16,45]} 
[2026-09-05 13:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880631808001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:48:33] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-05 13:48:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399747054508703744,"km_value":399747054508703.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7969893622803517440,"description":"Unknown IO ID 45"} 
[2026-09-05 13:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880631808001,"power":27908,"unknown_186":206,"unknown_79":46336,"ignition":21,"odometer":null,"unknown_45":7969893622803517440}} 
[2026-09-05 13:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":171562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:48:33] local.INFO: GPS data processed {"connection_id":171562,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:48:33] local.INFO: Acknowledgment sent {"connection_id":171562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:48:45] local.INFO: TCP Data received {"connection_id":171871,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:48:45] local.INFO: Processing buffer {"connection_id":171871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:48:45] local.INFO: IMEI packet received {"connection_id":171871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":171871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:48:47] local.INFO: TCP Data received {"connection_id":172958,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172958,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:48:47] local.INFO: Processing buffer {"connection_id":172958,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:48:47] local.INFO: IMEI packet received {"connection_id":172958,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":172958,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:48:49] local.INFO: TCP Data received {"connection_id":171871,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:48:49] local.INFO: Processing buffer {"connection_id":171871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:48:49] local.INFO: IMEI packet received {"connection_id":171871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":171871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:48:50] local.INFO: TCP Data received {"connection_id":171871,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070a500e8012cee51400731c330006100c02b..."} 
[2026-09-05 13:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a500e8012cee51400731c330006100c02b..."} 
[2026-09-05 13:48:50] local.INFO: Processing buffer {"connection_id":171871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a500e8012cee51400731c330006100c02b..."} 
[2026-09-05 13:48:50] local.INFO: Packet analysis {"connection_id":171871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a5"} 
[2026-09-05 13:48:50] local.INFO: Extracted packet for processing {"connection_id":171871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a5"} 
[2026-09-05 13:48:50] local.INFO: GPS Element Parsed {"raw_longitude":753815872,"raw_latitude":120701744,"longitude_deg":75.3815872,"latitude_deg":12.0701744,"altitude":97,"angle":192,"satellites":43,"speed":11,"hex_longitude":"2cee5140","hex_latitude":"0731c330","is_valid_coordinates":true} 
[2026-09-05 13:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880636416001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17724612771053568,"note":"Value kept but may cause issues"} 
[2026-09-05 13:48:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1272337232575019008,"note":"Value kept but may cause issues"} 
[2026-09-05 13:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788596257000,"timestamp_ms":1788596257000,"timestamp_seconds":1788596257,"priority":1,"record_length":96,"hex_timestamp":"000001a070a500e8"} 
[2026-09-05 13:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 13:48:50] 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-09-05 13:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880636416001,"66":14428,"104":206,"83":44032,"24":11,"16":17724612771053568,"44":-1272337232575019008},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-05 13:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880636416001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:48:50] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-05 13:48:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17724612771053568,"km_value":17724612771053.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:48:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1272337232575019008,"description":"Unknown IO ID 44"} 
[2026-09-05 13:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880636416001,"power":14428,"unknown_104":206,"unknown_83":44032,"ignition":11,"odometer":null,"unknown_44":-1272337232575019008}} 
[2026-09-05 13:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":171871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:48:50] local.INFO: GPS data processed {"connection_id":171871,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:48:50] local.INFO: Acknowledgment sent {"connection_id":171871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:48:53] local.INFO: TCP Data received {"connection_id":172958,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172958,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:48:53] local.INFO: Processing buffer {"connection_id":172958,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:48:53] local.INFO: IMEI packet received {"connection_id":172958,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":172958,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:48:54] local.INFO: TCP Data received {"connection_id":172958,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070a40ad0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a40ad0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:48:54] local.INFO: Processing buffer {"connection_id":172958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a40ad0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:48:54] local.INFO: Packet analysis {"connection_id":172958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a4"} 
[2026-09-05 13:48:54] local.INFO: Extracted packet for processing {"connection_id":172958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a4"} 
[2026-09-05 13:48:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880548608001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:48:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788596194000,"timestamp_ms":1788596194000,"timestamp_seconds":1788596194,"priority":1,"record_length":96,"hex_timestamp":"000001a070a40ad0"} 
[2026-09-05 13:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-09-05 13:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172958,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172958,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880548608001,"66":26147,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880548608001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:48:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:48:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:48:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880548608001,"power":26147,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":172958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768854,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:48:54] local.INFO: GPS data processed {"connection_id":172958,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:48:54] local.INFO: Acknowledgment sent {"connection_id":172958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:48:56] local.INFO: TCP Data received {"connection_id":174277,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:48:56] local.INFO: Processing buffer {"connection_id":174277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:48:56] local.INFO: IMEI packet received {"connection_id":174277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":174277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:49:01] local.INFO: TCP Data received {"connection_id":174277,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:49:01] local.INFO: Processing buffer {"connection_id":174277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:49:01] local.INFO: IMEI packet received {"connection_id":174277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":174277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:49:02] local.INFO: TCP Data received {"connection_id":174277,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a070a47448012d6e9440060cda80000c01012c..."} 
[2026-09-05 13:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a47448012d6e9440060cda80000c01012c..."} 
[2026-09-05 13:49:02] local.INFO: Processing buffer {"connection_id":174277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a47448012d6e9440060cda80000c01012c..."} 
[2026-09-05 13:49:02] local.INFO: Packet analysis {"connection_id":174277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a4"} 
[2026-09-05 13:49:02] local.INFO: Extracted packet for processing {"connection_id":174277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a4"} 
[2026-09-05 13:49:02] local.INFO: GPS Element Parsed {"raw_longitude":762221632,"raw_latitude":101505664,"longitude_deg":76.2221632,"latitude_deg":10.1505664,"altitude":12,"angle":257,"satellites":44,"speed":23,"hex_longitude":"2d6e9440","hex_latitude":"060cda80","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880632064001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399747110343278592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7969260304105930752,"note":"Value kept but may cause issues"} 
[2026-09-05 13:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788596221000,"timestamp_ms":1788596221000,"timestamp_seconds":1788596221,"priority":1,"record_length":96,"hex_timestamp":"000001a070a47448"} 
[2026-09-05 13:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 13:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880632064001,"66":27821,"184":206,"79":46336,"24":23,"16":399747110343278592,"45":7969260304105930752},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,79,24,16,45]} 
[2026-09-05 13:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880632064001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:49:02] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-05 13:49:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399747110343278592,"km_value":399747110343278.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7969260304105930752,"description":"Unknown IO ID 45"} 
[2026-09-05 13:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880632064001,"power":27821,"unknown_184":206,"unknown_79":46336,"ignition":23,"odometer":null,"unknown_45":7969260304105930752}} 
[2026-09-05 13:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":174277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:49:02] local.INFO: GPS data processed {"connection_id":174277,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:49:02] local.INFO: Acknowledgment sent {"connection_id":174277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:49:21] local.INFO: TCP Data received {"connection_id":171871,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070a54350012cee4d800731b248005f00b22a..."} 
[2026-09-05 13:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a54350012cee4d800731b248005f00b22a..."} 
[2026-09-05 13:49:21] local.INFO: Processing buffer {"connection_id":171871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a54350012cee4d800731b248005f00b22a..."} 
[2026-09-05 13:49:21] local.INFO: Packet analysis {"connection_id":171871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a5"} 
[2026-09-05 13:49:21] local.INFO: Extracted packet for processing {"connection_id":171871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a5"} 
[2026-09-05 13:49:21] local.INFO: GPS Element Parsed {"raw_longitude":753814912,"raw_latitude":120697416,"longitude_deg":75.3814912,"latitude_deg":12.0697416,"altitude":95,"angle":178,"satellites":42,"speed":7,"hex_longitude":"2cee4d80","hex_latitude":"0731b248","is_valid_coordinates":true} 
[2026-09-05 13:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880641792001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17724831814385664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:49:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1274166819925315584,"note":"Value kept but may cause issues"} 
[2026-09-05 13:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788596274000,"timestamp_ms":1788596274000,"timestamp_seconds":1788596274,"priority":1,"record_length":96,"hex_timestamp":"000001a070a54350"} 
[2026-09-05 13:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:49: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-09-05 13:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 13:49: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-09-05 13:49:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880641792001,"66":14102,"104":206,"83":44032,"24":7,"16":17724831814385664,"44":-1274166819925315584},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-05 13:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880641792001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:49:21] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-05 13:49:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17724831814385664,"km_value":17724831814385.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:49:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1274166819925315584,"description":"Unknown IO ID 44"} 
[2026-09-05 13:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880641792001,"power":14102,"unknown_104":206,"unknown_83":44032,"ignition":7,"odometer":null,"unknown_44":-1274166819925315584}} 
[2026-09-05 13:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":171871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:49:21] local.INFO: GPS data processed {"connection_id":171871,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:49:21] local.INFO: Acknowledgment sent {"connection_id":171871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:49:26] local.INFO: TCP Data received {"connection_id":172958,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070a40ad0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a40ad0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:49:26] local.INFO: Processing buffer {"connection_id":172958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a40ad0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:49:26] local.INFO: Packet analysis {"connection_id":172958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a4"} 
[2026-09-05 13:49:26] local.INFO: Extracted packet for processing {"connection_id":172958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a4"} 
[2026-09-05 13:49:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880548608001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:49:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788596194000,"timestamp_ms":1788596194000,"timestamp_seconds":1788596194,"priority":1,"record_length":96,"hex_timestamp":"000001a070a40ad0"} 
[2026-09-05 13:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-09-05 13:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:49:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172958,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172958,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880548608001,"66":26147,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880548608001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:49:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:49:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:49:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880548608001,"power":26147,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":172958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768857,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:49:26] local.INFO: GPS data processed {"connection_id":172958,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:49:26] local.INFO: Acknowledgment sent {"connection_id":172958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:49:33] local.INFO: TCP Data received {"connection_id":174277,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a070a4b2c8012d6e7080060ccfa0000c00f42b..."} 
[2026-09-05 13:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a4b2c8012d6e7080060ccfa0000c00f42b..."} 
[2026-09-05 13:49:33] local.INFO: Processing buffer {"connection_id":174277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a4b2c8012d6e7080060ccfa0000c00f42b..."} 
[2026-09-05 13:49:33] local.INFO: Packet analysis {"connection_id":174277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a4"} 
[2026-09-05 13:49:33] local.INFO: Extracted packet for processing {"connection_id":174277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a4"} 
[2026-09-05 13:49:33] local.INFO: GPS Element Parsed {"raw_longitude":762212480,"raw_latitude":101502880,"longitude_deg":76.221248,"latitude_deg":10.150288,"altitude":12,"angle":244,"satellites":43,"speed":25,"hex_longitude":"2d6e7080","hex_latitude":"060ccfa0","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880632576001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399747569904779264,"note":"Value kept but may cause issues"} 
[2026-09-05 13:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7968064035454877696,"note":"Value kept but may cause issues"} 
[2026-09-05 13:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788596237000,"timestamp_ms":1788596237000,"timestamp_seconds":1788596237,"priority":1,"record_length":96,"hex_timestamp":"000001a070a4b2c8"} 
[2026-09-05 13:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:49: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-09-05 13: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-09-05 13: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-09-05 13: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-09-05 13:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880632576001,"66":27995,"184":206,"79":46336,"24":25,"16":399747569904779264,"45":7968064035454877696},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,79,24,16,45]} 
[2026-09-05 13:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880632576001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:49:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-05 13:49:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399747569904779264,"km_value":399747569904779.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7968064035454877696,"description":"Unknown IO ID 45"} 
[2026-09-05 13:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880632576001,"power":27995,"unknown_184":206,"unknown_79":46336,"ignition":25,"odometer":null,"unknown_45":7968064035454877696}} 
[2026-09-05 13:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":174277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:49:33] local.INFO: GPS data processed {"connection_id":174277,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:49:33] local.INFO: Acknowledgment sent {"connection_id":174277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:49:45] local.INFO: TCP Data received {"connection_id":174278,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:49:45] local.INFO: Processing buffer {"connection_id":174278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:49:45] local.INFO: IMEI packet received {"connection_id":174278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":174278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:49:47] local.INFO: TCP Data received {"connection_id":171563,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:49:47] local.INFO: Processing buffer {"connection_id":171563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:49:47] local.INFO: IMEI packet received {"connection_id":171563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":171563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:49:50] local.INFO: TCP Data received {"connection_id":174278,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:49:50] local.INFO: Processing buffer {"connection_id":174278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:49:50] local.INFO: IMEI packet received {"connection_id":174278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":174278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:49:50] local.INFO: TCP Data received {"connection_id":174278,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070a585b8012cee4d8007319e10005f009f2c..."} 
[2026-09-05 13:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a585b8012cee4d8007319e10005f009f2c..."} 
[2026-09-05 13:49:50] local.INFO: Processing buffer {"connection_id":174278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a585b8012cee4d8007319e10005f009f2c..."} 
[2026-09-05 13:49:50] local.INFO: Packet analysis {"connection_id":174278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a5"} 
[2026-09-05 13:49:50] local.INFO: Extracted packet for processing {"connection_id":174278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a5"} 
[2026-09-05 13:49:50] local.INFO: GPS Element Parsed {"raw_longitude":753814912,"raw_latitude":120692240,"longitude_deg":75.3814912,"latitude_deg":12.069224,"altitude":95,"angle":159,"satellites":44,"speed":19,"hex_longitude":"2cee4d80","hex_latitude":"07319e10","is_valid_coordinates":true} 
[2026-09-05 13:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880646144001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17725080922488832,"note":"Value kept but may cause issues"} 
[2026-09-05 13:49:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1275222351089088512,"note":"Value kept but may cause issues"} 
[2026-09-05 13:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788596291000,"timestamp_ms":1788596291000,"timestamp_seconds":1788596291,"priority":1,"record_length":96,"hex_timestamp":"000001a070a585b8"} 
[2026-09-05 13:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:49:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-05 13:49:50] 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-09-05 13:49:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880646144001,"66":14048,"104":206,"83":44032,"24":19,"16":17725080922488832,"44":-1275222351089088512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-05 13:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880646144001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:49:50] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-05 13:49:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17725080922488832,"km_value":17725080922488.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:49:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1275222351089088512,"description":"Unknown IO ID 44"} 
[2026-09-05 13:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880646144001,"power":14048,"unknown_104":206,"unknown_83":44032,"ignition":19,"odometer":null,"unknown_44":-1275222351089088512}} 
[2026-09-05 13:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":174278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:49:50] local.INFO: GPS data processed {"connection_id":174278,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:49:50] local.INFO: Acknowledgment sent {"connection_id":174278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:49:53] local.INFO: TCP Data received {"connection_id":171563,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:49:53] local.INFO: Processing buffer {"connection_id":171563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:49:53] local.INFO: IMEI packet received {"connection_id":171563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":171563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:49:54] local.INFO: TCP Data received {"connection_id":171563,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070a40ad0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a40ad0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:49:54] local.INFO: Processing buffer {"connection_id":171563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a40ad0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:49:54] local.INFO: Packet analysis {"connection_id":171563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a4"} 
[2026-09-05 13:49:54] local.INFO: Extracted packet for processing {"connection_id":171563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a4"} 
[2026-09-05 13:49:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880548608001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:49:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788596194000,"timestamp_ms":1788596194000,"timestamp_seconds":1788596194,"priority":1,"record_length":96,"hex_timestamp":"000001a070a40ad0"} 
[2026-09-05 13:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-09-05 13:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171563,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171563,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880548608001,"66":26147,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880548608001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:49:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:49:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:49:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880548608001,"power":26147,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":171563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768860,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:49:54] local.INFO: GPS data processed {"connection_id":171563,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:49:54] local.INFO: Acknowledgment sent {"connection_id":171563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:49:56] local.INFO: TCP Data received {"connection_id":174279,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:49:56] local.INFO: Processing buffer {"connection_id":174279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:49:56] local.INFO: IMEI packet received {"connection_id":174279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":174279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:50:01] local.INFO: TCP Data received {"connection_id":174279,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:50:01] local.INFO: Processing buffer {"connection_id":174279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:50:01] local.INFO: IMEI packet received {"connection_id":174279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":174279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:50:02] local.INFO: TCP Data received {"connection_id":174279,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a070a4b2c8012d6e7080060ccfa0000c00f42b..."} 
[2026-09-05 13:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a4b2c8012d6e7080060ccfa0000c00f42b..."} 
[2026-09-05 13:50:02] local.INFO: Processing buffer {"connection_id":174279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a4b2c8012d6e7080060ccfa0000c00f42b..."} 
[2026-09-05 13:50:02] local.INFO: Packet analysis {"connection_id":174279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a4"} 
[2026-09-05 13:50:02] local.INFO: Extracted packet for processing {"connection_id":174279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a4"} 
[2026-09-05 13:50:02] local.INFO: GPS Element Parsed {"raw_longitude":762212480,"raw_latitude":101502880,"longitude_deg":76.221248,"latitude_deg":10.150288,"altitude":12,"angle":244,"satellites":43,"speed":25,"hex_longitude":"2d6e7080","hex_latitude":"060ccfa0","is_valid_coordinates":true} 
[2026-09-05 13:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880636672001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399747569904779264,"note":"Value kept but may cause issues"} 
[2026-09-05 13:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7958001305036759040,"note":"Value kept but may cause issues"} 
[2026-09-05 13:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788596237000,"timestamp_ms":1788596237000,"timestamp_seconds":1788596237,"priority":1,"record_length":96,"hex_timestamp":"000001a070a4b2c8"} 
[2026-09-05 13:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 13:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880636672001,"66":27995,"184":206,"79":46336,"24":25,"16":399747569904779264,"45":7958001305036759040},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,79,24,16,45]} 
[2026-09-05 13:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880636672001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:50:02] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-05 13:50:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399747569904779264,"km_value":399747569904779.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7958001305036759040,"description":"Unknown IO ID 45"} 
[2026-09-05 13:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880636672001,"power":27995,"unknown_184":206,"unknown_79":46336,"ignition":25,"odometer":null,"unknown_45":7958001305036759040}} 
[2026-09-05 13:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":174279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:50:02] local.INFO: GPS data processed {"connection_id":174279,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:50:02] local.INFO: Acknowledgment sent {"connection_id":174279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:50:23] local.INFO: TCP Data received {"connection_id":174278,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070a5d3d8012cee5c4007317e50005b009f2d..."} 
[2026-09-05 13:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a5d3d8012cee5c4007317e50005b009f2d..."} 
[2026-09-05 13:50:23] local.INFO: Processing buffer {"connection_id":174278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a5d3d8012cee5c4007317e50005b009f2d..."} 
[2026-09-05 13:50:23] local.INFO: Packet analysis {"connection_id":174278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a5"} 
[2026-09-05 13:50:23] local.INFO: Extracted packet for processing {"connection_id":174278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a5"} 
[2026-09-05 13:50:23] local.INFO: GPS Element Parsed {"raw_longitude":753818688,"raw_latitude":120684112,"longitude_deg":75.3818688,"latitude_deg":12.0684112,"altitude":91,"angle":159,"satellites":45,"speed":12,"hex_longitude":"2cee5c40","hex_latitude":"07317e50","is_valid_coordinates":true} 
[2026-09-05 13:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880650496001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17725519009153024,"note":"Value kept but may cause issues"} 
[2026-09-05 13:50:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1275222351090413568,"note":"Value kept but may cause issues"} 
[2026-09-05 13:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788596311000,"timestamp_ms":1788596311000,"timestamp_seconds":1788596311,"priority":1,"record_length":96,"hex_timestamp":"000001a070a5d3d8"} 
[2026-09-05 13:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:50:23] 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-09-05 13:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-05 13:50:23] 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-09-05 13:50:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:50:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880650496001,"66":14080,"104":206,"83":44032,"24":12,"16":17725519009153024,"44":-1275222351090413568},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-05 13:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880650496001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:50:23] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-05 13:50:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17725519009153024,"km_value":17725519009153.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:50:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1275222351090413568,"description":"Unknown IO ID 44"} 
[2026-09-05 13:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880650496001,"power":14080,"unknown_104":206,"unknown_83":44032,"ignition":12,"odometer":null,"unknown_44":-1275222351090413568}} 
[2026-09-05 13:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":174278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:50:23] local.INFO: GPS data processed {"connection_id":174278,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:50:23] local.INFO: Acknowledgment sent {"connection_id":174278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:50:25] local.INFO: TCP Data received {"connection_id":171563,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070a40ad0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a40ad0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:50:25] local.INFO: Processing buffer {"connection_id":171563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a40ad0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:50:25] local.INFO: Packet analysis {"connection_id":171563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a4"} 
[2026-09-05 13:50:25] local.INFO: Extracted packet for processing {"connection_id":171563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a4"} 
[2026-09-05 13:50:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880548608001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:50:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788596194000,"timestamp_ms":1788596194000,"timestamp_seconds":1788596194,"priority":1,"record_length":96,"hex_timestamp":"000001a070a40ad0"} 
[2026-09-05 13:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:50: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-09-05 13:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-09-05 13:50:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1518,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171563,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171563,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880548608001,"66":26147,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880548608001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:50:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:50:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:50:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880548608001,"power":26147,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":171563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768863,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:50:25] local.INFO: GPS data processed {"connection_id":171563,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:50:25] local.INFO: Acknowledgment sent {"connection_id":171563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:50:34] local.INFO: TCP Data received {"connection_id":174279,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a070a4ca38012d6e6100060cca58000900ff29..."} 
[2026-09-05 13:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a4ca38012d6e6100060cca58000900ff29..."} 
[2026-09-05 13:50:34] local.INFO: Processing buffer {"connection_id":174279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a4ca38012d6e6100060cca58000900ff29..."} 
[2026-09-05 13:50:34] local.INFO: Packet analysis {"connection_id":174279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a4"} 
[2026-09-05 13:50:34] local.INFO: Extracted packet for processing {"connection_id":174279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a4"} 
[2026-09-05 13:50:34] local.INFO: GPS Element Parsed {"raw_longitude":762208512,"raw_latitude":101501528,"longitude_deg":76.2208512,"latitude_deg":10.1501528,"altitude":9,"angle":255,"satellites":41,"speed":24,"hex_longitude":"2d6e6100","hex_latitude":"060cca58","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880636672001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399747767473274880,"note":"Value kept but may cause issues"} 
[2026-09-05 13:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7958001305036759040,"note":"Value kept but may cause issues"} 
[2026-09-05 13:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788596243000,"timestamp_ms":1788596243000,"timestamp_seconds":1788596243,"priority":1,"record_length":96,"hex_timestamp":"000001a070a4ca38"} 
[2026-09-05 13:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:50: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-09-05 13:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 13:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880636672001,"66":27887,"184":206,"79":46336,"24":24,"16":399747767473274880,"45":7958001305036759040},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,79,24,16,45]} 
[2026-09-05 13:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880636672001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:50:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-05 13:50:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399747767473274880,"km_value":399747767473274.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7958001305036759040,"description":"Unknown IO ID 45"} 
[2026-09-05 13:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880636672001,"power":27887,"unknown_184":206,"unknown_79":46336,"ignition":24,"odometer":null,"unknown_45":7958001305036759040}} 
[2026-09-05 13:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":174279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:50:34] local.INFO: GPS data processed {"connection_id":174279,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:50:34] local.INFO: Acknowledgment sent {"connection_id":174279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:50:47] local.INFO: TCP Data received {"connection_id":171872,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:50:47] local.INFO: Processing buffer {"connection_id":171872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:50:47] local.INFO: IMEI packet received {"connection_id":171872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":171872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:50:48] local.INFO: TCP Data received {"connection_id":171872,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:50:48] local.INFO: Processing buffer {"connection_id":171872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:50:48] local.INFO: IMEI packet received {"connection_id":171872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":171872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:50:50] local.INFO: TCP Data received {"connection_id":172959,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:50:50] local.INFO: Processing buffer {"connection_id":172959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:50:50] local.INFO: IMEI packet received {"connection_id":172959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":172959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:50:51] local.INFO: TCP Data received {"connection_id":172959,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070a5dba8012cee5d0007317ca0005b00932d..."} 
[2026-09-05 13:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a5dba8012cee5d0007317ca0005b00932d..."} 
[2026-09-05 13:50:51] local.INFO: Processing buffer {"connection_id":172959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a5dba8012cee5d0007317ca0005b00932d..."} 
[2026-09-05 13:50:51] local.INFO: Packet analysis {"connection_id":172959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a5"} 
[2026-09-05 13:50:51] local.INFO: Extracted packet for processing {"connection_id":172959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a5"} 
[2026-09-05 13:50:51] local.INFO: GPS Element Parsed {"raw_longitude":753818880,"raw_latitude":120683680,"longitude_deg":75.381888,"latitude_deg":12.068368,"altitude":91,"angle":147,"satellites":45,"speed":6,"hex_longitude":"2cee5d00","hex_latitude":"07317ca0","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880655616001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17725540483989504,"note":"Value kept but may cause issues"} 
[2026-09-05 13:50:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1271070595186012160,"note":"Value kept but may cause issues"} 
[2026-09-05 13:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788596313000,"timestamp_ms":1788596313000,"timestamp_seconds":1788596313,"priority":1,"record_length":96,"hex_timestamp":"000001a070a5dba8"} 
[2026-09-05 13:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:50:51] 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-09-05 13: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-05 13:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3444795136,"note":"Value kept but may cause issues"} 
[2026-09-05 13:50:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2885687296,"note":"Value kept but may cause issues"} 
[2026-09-05 13:50:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 13:50:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3998728199,"note":"Value kept but may cause issues"} 
[2026-09-05 13:50:51] local.WARNING: Large IO value detected {"io_id":112,"raw_value":2762924033,"note":"Value kept but may cause issues"} 
[2026-09-05 13:50:51] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3704094820,"note":"Value kept but may cause issues"} 
[2026-09-05 13:50:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1399259342,"corrected_to":0} 
[2026-09-05 13:50:51] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3758173422,"note":"Value kept but may cause issues"} 
[2026-09-05 13:50:51] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3221696988,"note":"Value kept but may cause issues"} 
[2026-09-05 13:50:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":6553792,"corrected_to":0} 
[2026-09-05 13:50:51] local.WARNING: Large IO value detected {"io_id":62,"raw_value":4163174400,"note":"Value kept but may cause issues"} 
[2026-09-05 13:50:51] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,104,83,24,241,157,16,249,160,133,44,128,158,95,10,66,248,67,178,42,64,1,240,92,227,112,49,4,113,205,14,174,87,200,239,56,103,2,62,7,12],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1399259342,"validated":0},{"io_id":200,"original":6553792,"validated":0}]} 
[2026-09-05 13:50:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6557416073074573312,"timestamp_seconds":6557416073074573.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 13:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880655616001,"66":14048,"104":206,"83":44032,"24":6,"16":17725540483989504,"44":-1271070595186012160},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-05 13:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880655616001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:50:51] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-05 13:50:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17725540483989504,"km_value":17725540483989.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:50:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1271070595186012160,"description":"Unknown IO ID 44"} 
[2026-09-05 13:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880655616001,"power":14048,"unknown_104":206,"unknown_83":44032,"ignition":6,"odometer":null,"unknown_44":-1271070595186012160}} 
[2026-09-05 13:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":172959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:50:51] local.INFO: GPS data processed {"connection_id":172959,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:50:51] local.INFO: Acknowledgment sent {"connection_id":172959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:50:53] local.INFO: TCP Data received {"connection_id":171872,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:50:53] local.INFO: Processing buffer {"connection_id":171872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:50:53] local.INFO: IMEI packet received {"connection_id":171872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":171872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:50:54] local.INFO: TCP Data received {"connection_id":171872,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070a6f8d0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a6f8d0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:50:54] local.INFO: Processing buffer {"connection_id":171872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a6f8d0012c7939c00848c5f00014000129..."} 
[2026-09-05 13:50:54] local.INFO: Packet analysis {"connection_id":171872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a6"} 
[2026-09-05 13:50:54] local.INFO: Extracted packet for processing {"connection_id":171872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a6"} 
[2026-09-05 13:50:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 13:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880625664001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:50:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788596386000,"timestamp_ms":1788596386000,"timestamp_seconds":1788596386,"priority":1,"record_length":96,"hex_timestamp":"000001a070a6f8d0"} 
[2026-09-05 13:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 13:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-05 13:50:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880625664001,"66":25908,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880625664001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:50:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:50:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:50:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880625664001,"power":25908,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":171872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768866,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:50:54] local.INFO: GPS data processed {"connection_id":171872,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:50:54] local.INFO: Acknowledgment sent {"connection_id":171872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:50:56] local.INFO: TCP Data received {"connection_id":174280,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:50:56] local.INFO: Processing buffer {"connection_id":174280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:50:56] local.INFO: IMEI packet received {"connection_id":174280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":174280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:51:01] local.INFO: TCP Data received {"connection_id":174280,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:51:01] local.INFO: Processing buffer {"connection_id":174280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:51:01] local.INFO: IMEI packet received {"connection_id":174280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":174280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:51:02] local.INFO: TCP Data received {"connection_id":174280,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070a504d0012d6e3cc0060cbf90000a00f52a..."} 
[2026-09-05 13:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a504d0012d6e3cc0060cbf90000a00f52a..."} 
[2026-09-05 13:51:02] local.INFO: Processing buffer {"connection_id":174280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a504d0012d6e3cc0060cbf90000a00f52a..."} 
[2026-09-05 13:51:02] local.INFO: Packet analysis {"connection_id":174280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a5"} 
[2026-09-05 13:51:02] local.INFO: Extracted packet for processing {"connection_id":174280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a5"} 
[2026-09-05 13:51:02] local.INFO: GPS Element Parsed {"raw_longitude":762199232,"raw_latitude":101498768,"longitude_deg":76.2199232,"latitude_deg":10.1498768,"altitude":10,"angle":245,"satellites":42,"speed":27,"hex_longitude":"2d6e3cc0","hex_latitude":"060cbf90","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880638208001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399748231329742848,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7953638442897397760,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788596258000,"timestamp_ms":1788596258000,"timestamp_seconds":1788596258,"priority":1,"record_length":96,"hex_timestamp":"000001a070a504d0"} 
[2026-09-05 13:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:51: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-09-05 13:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-05 13:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880638208001,"66":27919,"184":206,"79":46336,"24":27,"16":399748231329742848,"45":7953638442897397760},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,79,24,16,45]} 
[2026-09-05 13:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880638208001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:51:02] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-05 13:51:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399748231329742848,"km_value":399748231329742.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7953638442897397760,"description":"Unknown IO ID 45"} 
[2026-09-05 13:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880638208001,"power":27919,"unknown_184":206,"unknown_79":46336,"ignition":27,"odometer":null,"unknown_45":7953638442897397760}} 
[2026-09-05 13:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":174280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:51:02] local.INFO: GPS data processed {"connection_id":174280,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:51:02] local.INFO: Acknowledgment sent {"connection_id":174280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:51:22] local.INFO: TCP Data received {"connection_id":172959,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070a62db0012cee5d4007317ba8005c009329..."} 
[2026-09-05 13:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a62db0012cee5d4007317ba8005c009329..."} 
[2026-09-05 13:51:22] local.INFO: Processing buffer {"connection_id":172959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a62db0012cee5d4007317ba8005c009329..."} 
[2026-09-05 13:51:22] local.INFO: Packet analysis {"connection_id":172959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a6"} 
[2026-09-05 13:51:22] local.INFO: Extracted packet for processing {"connection_id":172959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a6"} 
[2026-09-05 13:51:22] local.INFO: GPS Element Parsed {"raw_longitude":753818944,"raw_latitude":120683432,"longitude_deg":75.3818944,"latitude_deg":12.0683432,"altitude":92,"angle":147,"satellites":41,"speed":0,"hex_longitude":"2cee5d40","hex_latitude":"07317ba8","is_valid_coordinates":true} 
[2026-09-05 13:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880656128001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17725557663858688,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1270859488953589760,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788596334000,"timestamp_ms":1788596334000,"timestamp_seconds":1788596334,"priority":1,"record_length":96,"hex_timestamp":"000001a070a62db0"} 
[2026-09-05 13:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:51:22] 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-09-05 13:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-05 13:51:22] 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-09-05 13:51:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880656128001,"66":14070,"104":206,"83":44032,"24":0,"16":17725557663858688,"44":-1270859488953589760},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-05 13:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880656128001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:51:22] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-05 13:51:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17725557663858688,"km_value":17725557663858.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:51:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1270859488953589760,"description":"Unknown IO ID 44"} 
[2026-09-05 13:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880656128001,"power":14070,"unknown_104":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1270859488953589760}} 
[2026-09-05 13:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":172959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:51:22] local.INFO: GPS data processed {"connection_id":172959,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:51:22] local.INFO: Acknowledgment sent {"connection_id":172959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:51:26] local.INFO: TCP Data received {"connection_id":171872,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070a75690012c7938400848c6500014000129..."} 
[2026-09-05 13:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a75690012c7938400848c6500014000129..."} 
[2026-09-05 13:51:26] local.INFO: Processing buffer {"connection_id":171872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a75690012c7938400848c6500014000129..."} 
[2026-09-05 13:51:26] local.INFO: Packet analysis {"connection_id":171872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a7"} 
[2026-09-05 13:51:26] local.INFO: Extracted packet for processing {"connection_id":171872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a7"} 
[2026-09-05 13:51:26] local.INFO: GPS Element Parsed {"raw_longitude":746141760,"raw_latitude":138987088,"longitude_deg":74.614176,"latitude_deg":13.8987088,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c793840","hex_latitude":"0848c650","is_valid_coordinates":true} 
[2026-09-05 13:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880674816001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788596410000,"timestamp_ms":1788596410000,"timestamp_seconds":1788596410,"priority":1,"record_length":96,"hex_timestamp":"000001a070a75690"} 
[2026-09-05 13:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-05 13:51:26] 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-09-05 13:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880674816001,"66":25778,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880674816001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:51:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:51:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:51:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 13:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880674816001,"power":25778,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 13:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":171872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768869,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:51:26] local.INFO: GPS data processed {"connection_id":171872,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:51:26] local.INFO: Acknowledgment sent {"connection_id":171872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:51:33] local.INFO: TCP Data received {"connection_id":174280,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070a53798012d6e1b40060cb370000900fc2a..."} 
[2026-09-05 13:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a53798012d6e1b40060cb370000900fc2a..."} 
[2026-09-05 13:51:33] local.INFO: Processing buffer {"connection_id":174280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a53798012d6e1b40060cb370000900fc2a..."} 
[2026-09-05 13:51:33] local.INFO: Packet analysis {"connection_id":174280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a5"} 
[2026-09-05 13:51:33] local.INFO: Extracted packet for processing {"connection_id":174280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a5"} 
[2026-09-05 13:51:33] local.INFO: GPS Element Parsed {"raw_longitude":762190656,"raw_latitude":101495664,"longitude_deg":76.2190656,"latitude_deg":10.1495664,"altitude":9,"angle":252,"satellites":42,"speed":26,"hex_longitude":"2d6e1b40","hex_latitude":"060cb370","is_valid_coordinates":true} 
[2026-09-05 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-09-05 13:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880642048001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399748669416407040,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7943434974990929920,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788596271000,"timestamp_ms":1788596271000,"timestamp_seconds":1788596271,"priority":1,"record_length":96,"hex_timestamp":"000001a070a53798"} 
[2026-09-05 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-09-05 13:51: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-09-05 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 13:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 13:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880642048001,"66":27821,"184":206,"79":46336,"24":26,"16":399748669416407040,"45":7943434974990929920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,79,24,16,45]} 
[2026-09-05 13:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880642048001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:51:33] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-05 13:51:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399748669416407040,"km_value":399748669416407.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7943434974990929920,"description":"Unknown IO ID 45"} 
[2026-09-05 13:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880642048001,"power":27821,"unknown_184":206,"unknown_79":46336,"ignition":26,"odometer":null,"unknown_45":7943434974990929920}} 
[2026-09-05 13:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":174280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:51:33] local.INFO: GPS data processed {"connection_id":174280,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:51:33] local.INFO: Acknowledgment sent {"connection_id":174280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:51:45] local.INFO: TCP Data received {"connection_id":174281,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:51:45] local.INFO: Processing buffer {"connection_id":174281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:51:45] local.INFO: IMEI packet received {"connection_id":174281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":174281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:51:47] local.INFO: TCP Data received {"connection_id":171564,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:51:47] local.INFO: Processing buffer {"connection_id":171564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:51:47] local.INFO: IMEI packet received {"connection_id":171564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":171564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:51:50] local.INFO: TCP Data received {"connection_id":174281,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:51:50] local.INFO: Processing buffer {"connection_id":174281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:51:50] local.INFO: IMEI packet received {"connection_id":174281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":174281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:51:51] local.INFO: TCP Data received {"connection_id":174281,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070a7cbc0012ceee9800731ac38004f00392c..."} 
[2026-09-05 13:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a7cbc0012ceee9800731ac38004f00392c..."} 
[2026-09-05 13:51:51] local.INFO: Processing buffer {"connection_id":174281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a7cbc0012ceee9800731ac38004f00392c..."} 
[2026-09-05 13:51:51] local.INFO: Packet analysis {"connection_id":174281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a7"} 
[2026-09-05 13:51:51] local.INFO: Extracted packet for processing {"connection_id":174281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a7"} 
[2026-09-05 13:51:51] local.INFO: GPS Element Parsed {"raw_longitude":753854848,"raw_latitude":120695864,"longitude_deg":75.3854848,"latitude_deg":12.0695864,"altitude":79,"angle":57,"satellites":44,"speed":18,"hex_longitude":"2ceee980","hex_latitude":"0731ac38","is_valid_coordinates":true} 
[2026-09-05 13:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880688640001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17727434564567040,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1231312254722623488,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788596440000,"timestamp_ms":1788596440000,"timestamp_seconds":1788596440,"priority":1,"record_length":96,"hex_timestamp":"000001a070a7cbc0"} 
[2026-09-05 13:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:51:51] 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-09-05 13:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-05 13:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3444795392,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2885687296,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3999383559,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:51] local.WARNING: Large IO value detected {"io_id":249,"raw_value":3405774848,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:51] local.WARNING: Large IO value detected {"io_id":112,"raw_value":2802348033,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1399324878,"corrected_to":0} 
[2026-09-05 13:51:51] local.WARNING: Large IO value detected {"io_id":95,"raw_value":3221696888,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:51] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485651,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:51] local.WARNING: Large IO value detected {"io_id":62,"raw_value":4183818240,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:51] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,27,83,24,241,157,16,251,160,44,128,82,10,66,250,125,64,147,85,70,1,240,22,227,249,112,49,4,113,205,13,95,48,47,239,55,104,2,62,7,97],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1399324878,"validated":0}]} 
[2026-09-05 13:51:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692612790138830848,"timestamp_seconds":5692612790138831.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 13:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880688640001,"66":14080,"27":206,"83":44032,"24":18,"16":17727434564567040,"44":-1231312254722623488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-05 13:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880688640001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:51:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-05 13:51:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17727434564567040,"km_value":17727434564567.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:51:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1231312254722623488,"description":"Unknown IO ID 44"} 
[2026-09-05 13:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880688640001,"power":14080,"unknown_27":206,"unknown_83":44032,"ignition":18,"odometer":null,"unknown_44":-1231312254722623488}} 
[2026-09-05 13:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":174281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:51:51] local.INFO: GPS data processed {"connection_id":174281,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:51:51] local.INFO: Acknowledgment sent {"connection_id":174281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:51:51] local.INFO: TCP Data received {"connection_id":174281,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070a7f6b8012ceef0800731af30004e004d2c..."} 
[2026-09-05 13:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a7f6b8012ceef0800731af30004e004d2c..."} 
[2026-09-05 13:51:51] local.INFO: Processing buffer {"connection_id":174281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a7f6b8012ceef0800731af30004e004d2c..."} 
[2026-09-05 13:51:51] local.INFO: Packet analysis {"connection_id":174281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a7"} 
[2026-09-05 13:51:51] local.INFO: Extracted packet for processing {"connection_id":174281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a7"} 
[2026-09-05 13:51:51] local.INFO: GPS Element Parsed {"raw_longitude":753856640,"raw_latitude":120696624,"longitude_deg":75.385664,"latitude_deg":12.0696624,"altitude":78,"angle":77,"satellites":44,"speed":9,"hex_longitude":"2ceef080","hex_latitude":"0731af30","is_valid_coordinates":true} 
[2026-09-05 13:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880688640001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17727533348814848,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1231312254722623488,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788596451000,"timestamp_ms":1788596451000,"timestamp_seconds":1788596451,"priority":1,"record_length":96,"hex_timestamp":"000001a070a7f6b8"} 
[2026-09-05 13:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:51:51] 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-09-05 13:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-05 13:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3444795392,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2885687296,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:51] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":49153,"corrected_to":0} 
[2026-09-05 13:51:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4001529863,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:51] local.WARNING: Large IO value detected {"io_id":112,"raw_value":2806444033,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:51] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2252865627,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1399324878,"corrected_to":0} 
[2026-09-05 13:51:51] local.WARNING: Large IO value detected {"io_id":62,"raw_value":4184276992,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:51] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,27,83,24,241,157,16,251,160,203,44,128,172,79,10,66,82,250,125,64,1,240,60,227,112,49,4,113,205,26,8,97,47,239,56,104,2,62,7],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":203,"original":49153,"validated":0},{"io_id":205,"original":1399324878,"validated":0}]} 
[2026-09-05 13:51:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692612790138830848,"timestamp_seconds":5692612790138831.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 13:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880688640001,"66":14102,"27":206,"83":44032,"24":9,"16":17727533348814848,"44":-1231312254722623488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-05 13:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880688640001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:51:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-05 13:51:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17727533348814848,"km_value":17727533348814.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:51:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1231312254722623488,"description":"Unknown IO ID 44"} 
[2026-09-05 13:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880688640001,"power":14102,"unknown_27":206,"unknown_83":44032,"ignition":9,"odometer":null,"unknown_44":-1231312254722623488}} 
[2026-09-05 13:51:51] local.INFO: TCP Data received {"connection_id":171564,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":174281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:51:51] local.INFO: GPS data processed {"connection_id":174281,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:51:51] local.INFO: Acknowledgment sent {"connection_id":174281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:51:51] local.INFO: Processing buffer {"connection_id":171564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:51:51] local.INFO: IMEI packet received {"connection_id":171564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":171564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:51:53] local.INFO: TCP Data received {"connection_id":171564,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070a7a898012c7938400848c6500014000129..."} 
[2026-09-05 13:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a7a898012c7938400848c6500014000129..."} 
[2026-09-05 13:51:53] local.INFO: Processing buffer {"connection_id":171564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a7a898012c7938400848c6500014000129..."} 
[2026-09-05 13:51:53] local.INFO: Packet analysis {"connection_id":171564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a7"} 
[2026-09-05 13:51:53] local.INFO: Extracted packet for processing {"connection_id":171564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a7"} 
[2026-09-05 13:51:53] local.INFO: GPS Element Parsed {"raw_longitude":746141760,"raw_latitude":138987088,"longitude_deg":74.614176,"latitude_deg":13.8987088,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c793840","hex_latitude":"0848c650","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880680960001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 13:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788596431000,"timestamp_ms":1788596431000,"timestamp_seconds":1788596431,"priority":1,"record_length":96,"hex_timestamp":"000001a070a7a898"} 
[2026-09-05 13:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 13:51:53] 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-09-05 13: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-09-05 13:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880680960001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880680960001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:51:53] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:51:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:51:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 13:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880680960001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 13:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":171564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768873,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:51:53] local.INFO: GPS data processed {"connection_id":171564,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:51:53] local.INFO: Acknowledgment sent {"connection_id":171564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:51:56] local.INFO: TCP Data received {"connection_id":172960,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:51:56] local.INFO: Processing buffer {"connection_id":172960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:51:56] local.INFO: IMEI packet received {"connection_id":172960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":172960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:52:01] local.INFO: TCP Data received {"connection_id":172960,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:52:01] local.INFO: Processing buffer {"connection_id":172960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:52:01] local.INFO: IMEI packet received {"connection_id":172960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":172960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:52:02] local.INFO: TCP Data received {"connection_id":172960,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070a54350012d6e1440060cb140000800fb2a..."} 
[2026-09-05 13:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a54350012d6e1440060cb140000800fb2a..."} 
[2026-09-05 13:52:02] local.INFO: Processing buffer {"connection_id":172960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a54350012d6e1440060cb140000800fb2a..."} 
[2026-09-05 13:52:02] local.INFO: Packet analysis {"connection_id":172960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a5"} 
[2026-09-05 13:52:02] local.INFO: Extracted packet for processing {"connection_id":172960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a5"} 
[2026-09-05 13:52:02] local.INFO: GPS Element Parsed {"raw_longitude":762188864,"raw_latitude":101495104,"longitude_deg":76.2188864,"latitude_deg":10.1495104,"altitude":8,"angle":251,"satellites":42,"speed":20,"hex_longitude":"2d6e1440","hex_latitude":"060cb140","is_valid_coordinates":true} 
[2026-09-05 13:52: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-09-05 13:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880645376001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399748755315752960,"note":"Value kept but may cause issues"} 
[2026-09-05 13:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7934005563270328320,"note":"Value kept but may cause issues"} 
[2026-09-05 13:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788596274000,"timestamp_ms":1788596274000,"timestamp_seconds":1788596274,"priority":1,"record_length":96,"hex_timestamp":"000001a070a54350"} 
[2026-09-05 13:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 13:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880645376001,"66":28082,"209":206,"79":46336,"24":20,"16":399748755315752960,"45":7934005563270328320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-09-05 13:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880645376001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:52:02] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-05 13:52:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399748755315752960,"km_value":399748755315752.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7934005563270328320,"description":"Unknown IO ID 45"} 
[2026-09-05 13:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880645376001,"power":28082,"unknown_209":206,"unknown_79":46336,"ignition":20,"odometer":null,"unknown_45":7934005563270328320}} 
[2026-09-05 13:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":172960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:52:02] local.INFO: GPS data processed {"connection_id":172960,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:52:02] local.INFO: Acknowledgment sent {"connection_id":172960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:52:23] local.INFO: TCP Data received {"connection_id":174281,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070a7fe88012ceef3000731b038004e003a2e..."} 
[2026-09-05 13:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a7fe88012ceef3000731b038004e003a2e..."} 
[2026-09-05 13:52:23] local.INFO: Processing buffer {"connection_id":174281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a7fe88012ceef3000731b038004e003a2e..."} 
[2026-09-05 13:52:23] local.INFO: Packet analysis {"connection_id":174281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a7"} 
[2026-09-05 13:52:23] local.INFO: Extracted packet for processing {"connection_id":174281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a7"} 
[2026-09-05 13:52:23] local.INFO: GPS Element Parsed {"raw_longitude":753857280,"raw_latitude":120696888,"longitude_deg":75.385728,"latitude_deg":12.0696888,"altitude":78,"angle":58,"satellites":46,"speed":16,"hex_longitude":"2ceef300","hex_latitude":"0731b038","is_valid_coordinates":true} 
[2026-09-05 13:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880691456001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17727563413585920,"note":"Value kept but may cause issues"} 
[2026-09-05 13:52:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1229341929885454336,"note":"Value kept but may cause issues"} 
[2026-09-05 13:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788596453000,"timestamp_ms":1788596453000,"timestamp_seconds":1788596453,"priority":1,"record_length":96,"hex_timestamp":"000001a070a7fe88"} 
[2026-09-05 13:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-05 13:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880691456001,"66":14265,"27":206,"83":44032,"24":16,"16":17727563413585920,"44":-1229341929885454336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-05 13:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880691456001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:52:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-05 13:52:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17727563413585920,"km_value":17727563413585.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:52:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1229341929885454336,"description":"Unknown IO ID 44"} 
[2026-09-05 13:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880691456001,"power":14265,"unknown_27":206,"unknown_83":44032,"ignition":16,"odometer":null,"unknown_44":-1229341929885454336}} 
[2026-09-05 13:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":174281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:52:23] local.INFO: GPS data processed {"connection_id":174281,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:52:23] local.INFO: Acknowledgment sent {"connection_id":174281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:52:25] local.INFO: TCP Data received {"connection_id":171564,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070a7faa0012c7938400848c6500014000129..."} 
[2026-09-05 13:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a7faa0012c7938400848c6500014000129..."} 
[2026-09-05 13:52:25] local.INFO: Processing buffer {"connection_id":171564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a7faa0012c7938400848c6500014000129..."} 
[2026-09-05 13:52:25] local.INFO: Packet analysis {"connection_id":171564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a7"} 
[2026-09-05 13:52:25] local.INFO: Extracted packet for processing {"connection_id":171564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a7"} 
[2026-09-05 13:52:25] local.INFO: GPS Element Parsed {"raw_longitude":746141760,"raw_latitude":138987088,"longitude_deg":74.614176,"latitude_deg":13.8987088,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c793840","hex_latitude":"0848c650","is_valid_coordinates":true} 
[2026-09-05 13:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880686336001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:52:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 13:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788596452000,"timestamp_ms":1788596452000,"timestamp_seconds":1788596452,"priority":1,"record_length":96,"hex_timestamp":"000001a070a7faa0"} 
[2026-09-05 13:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 13:52:25] 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-09-05 13:52:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880686336001,"66":25756,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880686336001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:52:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:52:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:52:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 13:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880686336001,"power":25756,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 13:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":171564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768876,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:52:25] local.INFO: GPS data processed {"connection_id":171564,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:52:25] local.INFO: Acknowledgment sent {"connection_id":171564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:52:34] local.INFO: TCP Data received {"connection_id":172960,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070a8c5c0012d6deec0060cb4e0000700f628..."} 
[2026-09-05 13:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a8c5c0012d6deec0060cb4e0000700f628..."} 
[2026-09-05 13:52:34] local.INFO: Processing buffer {"connection_id":172960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a8c5c0012d6deec0060cb4e0000700f628..."} 
[2026-09-05 13:52:34] local.INFO: Packet analysis {"connection_id":172960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a8"} 
[2026-09-05 13:52:34] local.INFO: Extracted packet for processing {"connection_id":172960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a8"} 
[2026-09-05 13:52:34] local.INFO: GPS Element Parsed {"raw_longitude":762179264,"raw_latitude":101496032,"longitude_deg":76.2179264,"latitude_deg":10.1496032,"altitude":7,"angle":246,"satellites":40,"speed":0,"hex_longitude":"2d6deec0","hex_latitude":"060cb4e0","is_valid_coordinates":true} 
[2026-09-05 13:52: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-09-05 13:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880646144001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399748755315752960,"note":"Value kept but may cause issues"} 
[2026-09-05 13:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7932035238433210368,"note":"Value kept but may cause issues"} 
[2026-09-05 13:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788596504000,"timestamp_ms":1788596504000,"timestamp_seconds":1788596504,"priority":1,"record_length":96,"hex_timestamp":"000001a070a8c5c0"} 
[2026-09-05 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-09-05 13:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 13:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 13:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880646144001,"66":26636,"209":206,"79":46336,"24":0,"16":399748755315752960,"45":7932035238433210368},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-09-05 13:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880646144001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:52:34] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-05 13:52:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399748755315752960,"km_value":399748755315752.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7932035238433210368,"description":"Unknown IO ID 45"} 
[2026-09-05 13:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880646144001,"power":26636,"unknown_209":206,"unknown_79":46336,"ignition":0,"odometer":null,"unknown_45":7932035238433210368}} 
[2026-09-05 13:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":172960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:52:34] local.INFO: GPS data processed {"connection_id":172960,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:52:34] local.INFO: Acknowledgment sent {"connection_id":172960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:52:43] local.INFO: TCP Data received {"connection_id":171565,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:52:43] local.INFO: Processing buffer {"connection_id":171565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:52:43] local.INFO: IMEI packet received {"connection_id":171565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":171565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:52:45] local.INFO: TCP Data received {"connection_id":171565,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:52:45] local.INFO: Processing buffer {"connection_id":171565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:52:45] local.INFO: IMEI packet received {"connection_id":171565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":171565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:52:47] local.INFO: TCP Data received {"connection_id":171565,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:52:47] local.INFO: Processing buffer {"connection_id":171565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:52:47] local.INFO: IMEI packet received {"connection_id":171565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":171565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:52:47] local.INFO: TCP Data received {"connection_id":171566,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:52:47] local.INFO: Processing buffer {"connection_id":171566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:52:47] local.INFO: IMEI packet received {"connection_id":171566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":171566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:52:48] local.INFO: TCP Data received {"connection_id":171565,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070a8c9a8012cef4f400731c620004c00902e..."} 
[2026-09-05 13:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a8c9a8012cef4f400731c620004c00902e..."} 
[2026-09-05 13:52:48] local.INFO: Processing buffer {"connection_id":171565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a8c9a8012cef4f400731c620004c00902e..."} 
[2026-09-05 13:52:48] local.INFO: Packet analysis {"connection_id":171565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a8"} 
[2026-09-05 13:52:48] local.INFO: Extracted packet for processing {"connection_id":171565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a8"} 
[2026-09-05 13:52:48] local.INFO: GPS Element Parsed {"raw_longitude":753880896,"raw_latitude":120702496,"longitude_deg":75.3880896,"latitude_deg":12.0702496,"altitude":76,"angle":144,"satellites":46,"speed":34,"hex_longitude":"2cef4f40","hex_latitude":"0731c620","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880705280001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17729289990438912,"note":"Value kept but may cause issues"} 
[2026-09-05 13:52:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1202672175840616448,"note":"Value kept but may cause issues"} 
[2026-09-05 13:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788596505000,"timestamp_ms":1788596505000,"timestamp_seconds":1788596505,"priority":1,"record_length":96,"hex_timestamp":"000001a070a8c9a8"} 
[2026-09-05 13:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 13:52:48] 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-09-05 13: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-09-05 13:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":171565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":171565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":171565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880705280001,"66":14396,"103":206,"83":44032,"24":34,"16":17729289990438912,"44":-1202672175840616448},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-09-05 13:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880705280001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:52:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 13:52:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17729289990438912,"km_value":17729289990438.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:52:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1202672175840616448,"description":"Unknown IO ID 44"} 
[2026-09-05 13:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880705280001,"power":14396,"unknown_103":206,"unknown_83":44032,"ignition":34,"odometer":null,"unknown_44":-1202672175840616448}} 
[2026-09-05 13:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":171565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:52:48] local.INFO: GPS data processed {"connection_id":171565,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:52:48] local.INFO: Acknowledgment sent {"connection_id":171565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:52:53] local.INFO: TCP Data received {"connection_id":171566,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:52:53] local.INFO: Processing buffer {"connection_id":171566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:52:53] local.INFO: IMEI packet received {"connection_id":171566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":171566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:52:54] local.INFO: TCP Data received {"connection_id":171566,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070a84ca8012c7938400848c6500014000129..."} 
[2026-09-05 13:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a84ca8012c7938400848c6500014000129..."} 
[2026-09-05 13:52:54] local.INFO: Processing buffer {"connection_id":171566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a84ca8012c7938400848c6500014000129..."} 
[2026-09-05 13:52:54] local.INFO: Packet analysis {"connection_id":171566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a8"} 
[2026-09-05 13:52:54] local.INFO: Extracted packet for processing {"connection_id":171566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a8"} 
[2026-09-05 13:52:54] local.INFO: GPS Element Parsed {"raw_longitude":746141760,"raw_latitude":138987088,"longitude_deg":74.614176,"latitude_deg":13.8987088,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c793840","hex_latitude":"0848c650","is_valid_coordinates":true} 
[2026-09-05 13:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880691712001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:52:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 13:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788596473000,"timestamp_ms":1788596473000,"timestamp_seconds":1788596473,"priority":1,"record_length":96,"hex_timestamp":"000001a070a84ca8"} 
[2026-09-05 13:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 13:52:54] 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-09-05 13:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880691712001,"66":25691,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880691712001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:52:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:52:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:52:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 13:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880691712001,"power":25691,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 13:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":171566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768879,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:52:54] local.INFO: GPS data processed {"connection_id":171566,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:52:54] local.INFO: Acknowledgment sent {"connection_id":171566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:52:56] local.INFO: TCP Data received {"connection_id":174282,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:52:56] local.INFO: Processing buffer {"connection_id":174282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:52:56] local.INFO: IMEI packet received {"connection_id":174282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":174282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:53:01] local.INFO: TCP Data received {"connection_id":174282,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:53:01] local.INFO: Processing buffer {"connection_id":174282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:53:01] local.INFO: IMEI packet received {"connection_id":174282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":174282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:53:02] local.INFO: TCP Data received {"connection_id":174282,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070a8d948012d6de700060cb9580007011329..."} 
[2026-09-05 13:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a8d948012d6de700060cb9580007011329..."} 
[2026-09-05 13:53:02] local.INFO: Processing buffer {"connection_id":174282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a8d948012d6de700060cb9580007011329..."} 
[2026-09-05 13:53:02] local.INFO: Packet analysis {"connection_id":174282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a8"} 
[2026-09-05 13:53:02] local.INFO: Extracted packet for processing {"connection_id":174282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a8"} 
[2026-09-05 13:53:02] local.INFO: GPS Element Parsed {"raw_longitude":762177280,"raw_latitude":101497176,"longitude_deg":76.217728,"latitude_deg":10.1497176,"altitude":7,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d6de700","hex_latitude":"060cb958","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880705024001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399748755315752960,"note":"Value kept but may cause issues"} 
[2026-09-05 13:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7921479926806798336,"note":"Value kept but may cause issues"} 
[2026-09-05 13:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788596509000,"timestamp_ms":1788596509000,"timestamp_seconds":1788596509,"priority":1,"record_length":96,"hex_timestamp":"000001a070a8d948"} 
[2026-09-05 13:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:53: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-09-05 13:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-05 13:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880705024001,"66":27821,"209":206,"79":46336,"24":0,"16":399748755315752960,"45":7921479926806798336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-09-05 13:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880705024001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:53:02] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-05 13:53:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399748755315752960,"km_value":399748755315752.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7921479926806798336,"description":"Unknown IO ID 45"} 
[2026-09-05 13:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880705024001,"power":27821,"unknown_209":206,"unknown_79":46336,"ignition":0,"odometer":null,"unknown_45":7921479926806798336}} 
[2026-09-05 13:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":174282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:53:02] local.INFO: GPS data processed {"connection_id":174282,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:53:02] local.INFO: Acknowledgment sent {"connection_id":174282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:53:19] local.INFO: TCP Data received {"connection_id":171565,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070a94a90012cef9c00073160e00045007b2c..."} 
[2026-09-05 13:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a94a90012cef9c00073160e00045007b2c..."} 
[2026-09-05 13:53:19] local.INFO: Processing buffer {"connection_id":171565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a94a90012cef9c00073160e00045007b2c..."} 
[2026-09-05 13:53:19] local.INFO: Packet analysis {"connection_id":171565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a9"} 
[2026-09-05 13:53:19] local.INFO: Extracted packet for processing {"connection_id":171565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a9"} 
[2026-09-05 13:53:19] local.INFO: GPS Element Parsed {"raw_longitude":753900544,"raw_latitude":120676576,"longitude_deg":75.3900544,"latitude_deg":12.0676576,"altitude":69,"angle":123,"satellites":44,"speed":45,"hex_longitude":"2cef9c00","hex_latitude":"073160e0","is_valid_coordinates":true} 
[2026-09-05 13:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880713216001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17730995092455424,"note":"Value kept but may cause issues"} 
[2026-09-05 13:53:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1183039296221317120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788596538000,"timestamp_ms":1788596538000,"timestamp_seconds":1788596538,"priority":1,"record_length":96,"hex_timestamp":"000001a070a94a90"} 
[2026-09-05 13:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:53:19] 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-09-05 13:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 13:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":171565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":171565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":171565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880713216001,"66":14363,"27":206,"83":44032,"24":45,"16":17730995092455424,"44":-1183039296221317120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-05 13:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880713216001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:53:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-05 13:53:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17730995092455424,"km_value":17730995092455.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:53:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1183039296221317120,"description":"Unknown IO ID 44"} 
[2026-09-05 13:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880713216001,"power":14363,"unknown_27":206,"unknown_83":44032,"ignition":45,"odometer":null,"unknown_44":-1183039296221317120}} 
[2026-09-05 13:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":171565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:53:19] local.INFO: GPS data processed {"connection_id":171565,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:53:19] local.INFO: Acknowledgment sent {"connection_id":171565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:53:26] local.INFO: TCP Data received {"connection_id":171566,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070a89eb0012c7938400848c6500014000129..."} 
[2026-09-05 13:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a89eb0012c7938400848c6500014000129..."} 
[2026-09-05 13:53:26] local.INFO: Processing buffer {"connection_id":171566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a89eb0012c7938400848c6500014000129..."} 
[2026-09-05 13:53:26] local.INFO: Packet analysis {"connection_id":171566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a8"} 
[2026-09-05 13:53:26] local.INFO: Extracted packet for processing {"connection_id":171566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a8"} 
[2026-09-05 13:53:26] local.INFO: GPS Element Parsed {"raw_longitude":746141760,"raw_latitude":138987088,"longitude_deg":74.614176,"latitude_deg":13.8987088,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c793840","hex_latitude":"0848c650","is_valid_coordinates":true} 
[2026-09-05 13:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880697088001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:53:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 13:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788596494000,"timestamp_ms":1788596494000,"timestamp_seconds":1788596494,"priority":1,"record_length":96,"hex_timestamp":"000001a070a89eb0"} 
[2026-09-05 13:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 13:53:26] 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-09-05 13:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880697088001,"66":25691,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880697088001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:53:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:53:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:53:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 13:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880697088001,"power":25691,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 13:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":171566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768882,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:53:26] local.INFO: GPS data processed {"connection_id":171566,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:53:26] local.INFO: Acknowledgment sent {"connection_id":171566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:53:33] local.INFO: TCP Data received {"connection_id":174282,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070a92b50012d6de700060cb9580007011327..."} 
[2026-09-05 13:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a92b50012d6de700060cb9580007011327..."} 
[2026-09-05 13:53:33] local.INFO: Processing buffer {"connection_id":174282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a92b50012d6de700060cb9580007011327..."} 
[2026-09-05 13:53:33] local.INFO: Packet analysis {"connection_id":174282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a9"} 
[2026-09-05 13:53:33] local.INFO: Extracted packet for processing {"connection_id":174282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a9"} 
[2026-09-05 13:53:33] local.INFO: GPS Element Parsed {"raw_longitude":762177280,"raw_latitude":101497176,"longitude_deg":76.217728,"latitude_deg":10.1497176,"altitude":7,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d6de700","hex_latitude":"060cb958","is_valid_coordinates":true} 
[2026-09-05 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-09-05 13:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880706304001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399748755315752960,"note":"Value kept but may cause issues"} 
[2026-09-05 13:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7919298495737583616,"note":"Value kept but may cause issues"} 
[2026-09-05 13:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788596530000,"timestamp_ms":1788596530000,"timestamp_seconds":1788596530,"priority":1,"record_length":96,"hex_timestamp":"000001a070a92b50"} 
[2026-09-05 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-09-05 13:53: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-09-05 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 13: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-09-05 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-09-05 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-09-05 13:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880706304001,"66":27767,"209":206,"79":46336,"24":0,"16":399748755315752960,"45":7919298495737583616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-09-05 13:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880706304001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:53:33] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-05 13:53:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399748755315752960,"km_value":399748755315752.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7919298495737583616,"description":"Unknown IO ID 45"} 
[2026-09-05 13:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880706304001,"power":27767,"unknown_209":206,"unknown_79":46336,"ignition":0,"odometer":null,"unknown_45":7919298495737583616}} 
[2026-09-05 13:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":174282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:53:33] local.INFO: GPS data processed {"connection_id":174282,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:53:33] local.INFO: Acknowledgment sent {"connection_id":174282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:53:44] local.INFO: TCP Data received {"connection_id":171567,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:53:44] local.INFO: Processing buffer {"connection_id":171567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:53:44] local.INFO: IMEI packet received {"connection_id":171567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":171567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:53:45] local.INFO: TCP Data received {"connection_id":171567,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:53:45] local.INFO: Processing buffer {"connection_id":171567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:53:45] local.INFO: IMEI packet received {"connection_id":171567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":171567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:53:52] local.INFO: TCP Data received {"connection_id":171873,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171873,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:53:52] local.INFO: Processing buffer {"connection_id":171873,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:53:52] local.INFO: IMEI packet received {"connection_id":171873,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":171873,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:53:56] local.INFO: TCP Data received {"connection_id":174283,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:53:56] local.INFO: Processing buffer {"connection_id":174283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:53:56] local.INFO: IMEI packet received {"connection_id":174283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":174283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:53:56] local.INFO: TCP Data received {"connection_id":171567,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:53:56] local.INFO: Processing buffer {"connection_id":171567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:53:56] local.INFO: IMEI packet received {"connection_id":171567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":171567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:53:57] local.INFO: TCP Data received {"connection_id":174283,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:53:57] local.INFO: Processing buffer {"connection_id":174283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:53:57] local.INFO: IMEI packet received {"connection_id":174283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":174283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:53:58] local.INFO: TCP Data received {"connection_id":174283,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:53:58] local.INFO: Processing buffer {"connection_id":174283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:53:58] local.INFO: IMEI packet received {"connection_id":174283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":174283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:53:58] local.INFO: TCP Data received {"connection_id":171873,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171873,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:53:58] local.INFO: Processing buffer {"connection_id":171873,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:53:58] local.INFO: IMEI packet received {"connection_id":171873,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":171873,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:53:58] local.INFO: TCP Data received {"connection_id":174283,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:53:58] local.INFO: Processing buffer {"connection_id":174283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:53:58] local.INFO: IMEI packet received {"connection_id":174283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 13:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":174283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:53:59] local.INFO: TCP Data received {"connection_id":171873,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070a8f0b8012c7938400848c6500014000129..."} 
[2026-09-05 13:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a8f0b8012c7938400848c6500014000129..."} 
[2026-09-05 13:53:59] local.INFO: Processing buffer {"connection_id":171873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a8f0b8012c7938400848c6500014000129..."} 
[2026-09-05 13:53:59] local.INFO: Packet analysis {"connection_id":171873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a8"} 
[2026-09-05 13:53:59] local.INFO: Extracted packet for processing {"connection_id":171873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a8"} 
[2026-09-05 13:53:59] local.INFO: GPS Element Parsed {"raw_longitude":746141760,"raw_latitude":138987088,"longitude_deg":74.614176,"latitude_deg":13.8987088,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c793840","hex_latitude":"0848c650","is_valid_coordinates":true} 
[2026-09-05 13:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880702464001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:53:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 13:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788596515000,"timestamp_ms":1788596515000,"timestamp_seconds":1788596515,"priority":1,"record_length":96,"hex_timestamp":"000001a070a8f0b8"} 
[2026-09-05 13:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 13:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171873,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171873,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880702464001,"66":25680,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880702464001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:53:59] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:53:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:53:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 13:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880702464001,"power":25680,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 13:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":171873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768884,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:53:59] local.INFO: GPS data processed {"connection_id":171873,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:53:59] local.INFO: Acknowledgment sent {"connection_id":171873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:54:00] local.INFO: TCP Data received {"connection_id":171873,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070a942c0012c7938400848c6500014000129..."} 
[2026-09-05 13:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a942c0012c7938400848c6500014000129..."} 
[2026-09-05 13:54:00] local.INFO: Processing buffer {"connection_id":171873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a942c0012c7938400848c6500014000129..."} 
[2026-09-05 13:54:00] local.INFO: Packet analysis {"connection_id":171873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a9"} 
[2026-09-05 13:54:00] local.INFO: Extracted packet for processing {"connection_id":171873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a9"} 
[2026-09-05 13:54:00] local.INFO: GPS Element Parsed {"raw_longitude":746141760,"raw_latitude":138987088,"longitude_deg":74.614176,"latitude_deg":13.8987088,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c793840","hex_latitude":"0848c650","is_valid_coordinates":true} 
[2026-09-05 13:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880707840001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:54:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 13:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788596536000,"timestamp_ms":1788596536000,"timestamp_seconds":1788596536,"priority":1,"record_length":96,"hex_timestamp":"000001a070a942c0"} 
[2026-09-05 13:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 13:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171873,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171873,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880707840001,"66":25517,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880707840001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:54:00] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:54:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:54:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 13:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880707840001,"power":25517,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 13:54:00] local.INFO: TCP Data received {"connection_id":171567,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070a969d0012cefbbc007314dc8004700792d..."} 
[2026-09-05 13:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a969d0012cefbbc007314dc8004700792d..."} 
[2026-09-05 13:54:00] local.INFO: Processing buffer {"connection_id":171567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a969d0012cefbbc007314dc8004700792d..."} 
[2026-09-05 13:54:00] local.INFO: Packet analysis {"connection_id":171567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a9"} 
[2026-09-05 13:54:00] local.INFO: Extracted packet for processing {"connection_id":171567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a9"} 
[2026-09-05 13:54:00] local.INFO: GPS Element Parsed {"raw_longitude":753908672,"raw_latitude":120671688,"longitude_deg":75.3908672,"latitude_deg":12.0671688,"altitude":71,"angle":121,"satellites":45,"speed":47,"hex_longitude":"2cefbbc0","hex_latitude":"07314dc8","is_valid_coordinates":true} 
[2026-09-05 13:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880713728001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17731446064021504,"note":"Value kept but may cause issues"} 
[2026-09-05 13:54:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1181068971384709120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788596546000,"timestamp_ms":1788596546000,"timestamp_seconds":1788596546,"priority":1,"record_length":96,"hex_timestamp":"000001a070a969d0"} 
[2026-09-05 13:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 13:54:00] 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-09-05 13:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880713728001,"66":14461,"27":206,"83":44032,"24":47,"16":17731446064021504,"44":-1181068971384709120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-05 13:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880713728001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:54:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-05 13:54:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17731446064021504,"km_value":17731446064021.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:54:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1181068971384709120,"description":"Unknown IO ID 44"} 
[2026-09-05 13:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880713728001,"power":14461,"unknown_27":206,"unknown_83":44032,"ignition":47,"odometer":null,"unknown_44":-1181068971384709120}} 
[2026-09-05 13:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":171873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768885,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:54:00] local.INFO: GPS data processed {"connection_id":171873,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:54:00] local.INFO: Acknowledgment sent {"connection_id":171873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":171567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:54:00] local.INFO: GPS data processed {"connection_id":171567,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:54:00] local.INFO: Acknowledgment sent {"connection_id":171567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:54:32] local.INFO: TCP Data received {"connection_id":171873,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070a994c8012c7938400848c6500014000129..."} 
[2026-09-05 13:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a994c8012c7938400848c6500014000129..."} 
[2026-09-05 13:54:32] local.INFO: Processing buffer {"connection_id":171873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a994c8012c7938400848c6500014000129..."} 
[2026-09-05 13:54:32] local.INFO: Packet analysis {"connection_id":171873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a9"} 
[2026-09-05 13:54:32] local.INFO: Extracted packet for processing {"connection_id":171873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a9"} 
[2026-09-05 13:54:32] local.INFO: GPS Element Parsed {"raw_longitude":746141760,"raw_latitude":138987088,"longitude_deg":74.614176,"latitude_deg":13.8987088,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c793840","hex_latitude":"0848c650","is_valid_coordinates":true} 
[2026-09-05 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-09-05 13:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880713216001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:54:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 13:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788596557000,"timestamp_ms":1788596557000,"timestamp_seconds":1788596557,"priority":1,"record_length":96,"hex_timestamp":"000001a070a994c8"} 
[2026-09-05 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-09-05 13:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 13:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 13:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171873,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171873,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880713216001,"66":25647,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880713216001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:54:32] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:54:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:54:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 13:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880713216001,"power":25647,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 13:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":171873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768887,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:54:32] local.INFO: GPS data processed {"connection_id":171873,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:54:32] local.INFO: Acknowledgment sent {"connection_id":171873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:54:45] local.INFO: TCP Data received {"connection_id":174284,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:54:45] local.INFO: Processing buffer {"connection_id":174284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:54:45] local.INFO: IMEI packet received {"connection_id":174284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":174284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:54:47] local.INFO: TCP Data received {"connection_id":172961,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:54:47] local.INFO: Processing buffer {"connection_id":172961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:54:47] local.INFO: IMEI packet received {"connection_id":172961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":172961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:54:51] local.INFO: TCP Data received {"connection_id":174284,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:54:51] local.INFO: Processing buffer {"connection_id":174284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:54:51] local.INFO: IMEI packet received {"connection_id":174284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":174284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:54:52] local.INFO: TCP Data received {"connection_id":174284,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070a98910012cefda40073138e8004700742d..."} 
[2026-09-05 13:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a98910012cefda40073138e8004700742d..."} 
[2026-09-05 13:54:52] local.INFO: Processing buffer {"connection_id":174284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a98910012cefda40073138e8004700742d..."} 
[2026-09-05 13:54:52] local.INFO: Packet analysis {"connection_id":174284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a9"} 
[2026-09-05 13:54:52] local.INFO: Extracted packet for processing {"connection_id":174284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a9"} 
[2026-09-05 13:54:52] local.INFO: GPS Element Parsed {"raw_longitude":753916480,"raw_latitude":120666344,"longitude_deg":75.391648,"latitude_deg":12.0666344,"altitude":71,"angle":116,"satellites":45,"speed":43,"hex_longitude":"2cefda40","hex_latitude":"073138e8","is_valid_coordinates":true} 
[2026-09-05 13:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880715776001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17731901330554880,"note":"Value kept but may cause issues"} 
[2026-09-05 13:54:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1172132140875397120,"note":"Value kept but may cause issues"} 
[2026-09-05 13:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788596554000,"timestamp_ms":1788596554000,"timestamp_seconds":1788596554,"priority":1,"record_length":96,"hex_timestamp":"000001a070a98910"} 
[2026-09-05 13:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 13:54:52] 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-09-05 13:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880715776001,"66":14428,"27":206,"83":44032,"24":43,"16":17731901330554880,"44":-1172132140875397120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-05 13:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880715776001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:54:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-05 13:54:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17731901330554880,"km_value":17731901330554.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:54:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1172132140875397120,"description":"Unknown IO ID 44"} 
[2026-09-05 13:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880715776001,"power":14428,"unknown_27":206,"unknown_83":44032,"ignition":43,"odometer":null,"unknown_44":-1172132140875397120}} 
[2026-09-05 13:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":174284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:54:52] local.INFO: GPS data processed {"connection_id":174284,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:54:52] local.INFO: Acknowledgment sent {"connection_id":174284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:54:53] local.INFO: TCP Data received {"connection_id":172961,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:54:53] local.INFO: Processing buffer {"connection_id":172961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:54:53] local.INFO: IMEI packet received {"connection_id":172961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":172961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:54:54] local.INFO: TCP Data received {"connection_id":172961,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070a9e6d0012c7938400848c6500014000129..."} 
[2026-09-05 13:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070a9e6d0012c7938400848c6500014000129..."} 
[2026-09-05 13:54:54] local.INFO: Processing buffer {"connection_id":172961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070a9e6d0012c7938400848c6500014000129..."} 
[2026-09-05 13:54:54] local.INFO: Packet analysis {"connection_id":172961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070a9"} 
[2026-09-05 13:54:54] local.INFO: Extracted packet for processing {"connection_id":172961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070a9"} 
[2026-09-05 13:54:54] local.INFO: GPS Element Parsed {"raw_longitude":746141760,"raw_latitude":138987088,"longitude_deg":74.614176,"latitude_deg":13.8987088,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c793840","hex_latitude":"0848c650","is_valid_coordinates":true} 
[2026-09-05 13:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880718592001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:54:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 13:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788596578000,"timestamp_ms":1788596578000,"timestamp_seconds":1788596578,"priority":1,"record_length":96,"hex_timestamp":"000001a070a9e6d0"} 
[2026-09-05 13:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 13:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172961,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172961,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880718592001,"66":25647,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880718592001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:54:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:54:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:54:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 13:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880718592001,"power":25647,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 13:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":172961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768889,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:54:54] local.INFO: GPS data processed {"connection_id":172961,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:54:54] local.INFO: Acknowledgment sent {"connection_id":172961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:55:23] local.INFO: TCP Data received {"connection_id":174284,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070ab7158012cf0714007302648005200d52b..."} 
[2026-09-05 13:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ab7158012cf0714007302648005200d52b..."} 
[2026-09-05 13:55:23] local.INFO: Processing buffer {"connection_id":174284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ab7158012cf0714007302648005200d52b..."} 
[2026-09-05 13:55:23] local.INFO: Packet analysis {"connection_id":174284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ab"} 
[2026-09-05 13:55:23] local.INFO: Extracted packet for processing {"connection_id":174284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ab"} 
[2026-09-05 13:55:23] local.INFO: GPS Element Parsed {"raw_longitude":753955136,"raw_latitude":120596040,"longitude_deg":75.3955136,"latitude_deg":12.059604,"altitude":82,"angle":213,"satellites":43,"speed":9,"hex_longitude":"2cf07140","hex_latitude":"07302648","is_valid_coordinates":true} 
[2026-09-05 13:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880749312001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17736715988893696,"note":"Value kept but may cause issues"} 
[2026-09-05 13:55:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1120411113924100096,"note":"Value kept but may cause issues"} 
[2026-09-05 13:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788596679000,"timestamp_ms":1788596679000,"timestamp_seconds":1788596679,"priority":1,"record_length":96,"hex_timestamp":"000001a070ab7158"} 
[2026-09-05 13:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-05 13:55:23] 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-09-05 13:55:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880749312001,"66":13972,"27":206,"83":44032,"24":9,"16":17736715988893696,"44":-1120411113924100096},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-05 13:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880749312001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:55:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-05 13:55:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17736715988893696,"km_value":17736715988893.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:55:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1120411113924100096,"description":"Unknown IO ID 44"} 
[2026-09-05 13:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880749312001,"power":13972,"unknown_27":206,"unknown_83":44032,"ignition":9,"odometer":null,"unknown_44":-1120411113924100096}} 
[2026-09-05 13:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":174284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:55:23] local.INFO: GPS data processed {"connection_id":174284,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:55:23] local.INFO: Acknowledgment sent {"connection_id":174284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:55:25] local.INFO: TCP Data received {"connection_id":172961,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070aa38d8012c7938400848c6500014000129..."} 
[2026-09-05 13:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070aa38d8012c7938400848c6500014000129..."} 
[2026-09-05 13:55:25] local.INFO: Processing buffer {"connection_id":172961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070aa38d8012c7938400848c6500014000129..."} 
[2026-09-05 13:55:25] local.INFO: Packet analysis {"connection_id":172961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070aa"} 
[2026-09-05 13:55:25] local.INFO: Extracted packet for processing {"connection_id":172961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070aa"} 
[2026-09-05 13:55:25] local.INFO: GPS Element Parsed {"raw_longitude":746141760,"raw_latitude":138987088,"longitude_deg":74.614176,"latitude_deg":13.8987088,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c793840","hex_latitude":"0848c650","is_valid_coordinates":true} 
[2026-09-05 13:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880723968001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:55:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 13:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788596599000,"timestamp_ms":1788596599000,"timestamp_seconds":1788596599,"priority":1,"record_length":96,"hex_timestamp":"000001a070aa38d8"} 
[2026-09-05 13:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 13:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:55:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172961,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172961,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880723968001,"66":25625,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880723968001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:55:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:55:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:55:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 13:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880723968001,"power":25625,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 13:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":172961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768891,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:55:26] local.INFO: GPS data processed {"connection_id":172961,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:55:26] local.INFO: Acknowledgment sent {"connection_id":172961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:55:45] local.INFO: TCP Data received {"connection_id":174286,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:55:45] local.INFO: Processing buffer {"connection_id":174286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:55:45] local.INFO: IMEI packet received {"connection_id":174286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":174286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:55:47] local.INFO: TCP Data received {"connection_id":172962,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172962,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:55:47] local.INFO: Processing buffer {"connection_id":172962,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:55:47] local.INFO: IMEI packet received {"connection_id":172962,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":172962,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:55:52] local.INFO: TCP Data received {"connection_id":172962,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172962,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:55:52] local.INFO: Processing buffer {"connection_id":172962,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:55:52] local.INFO: IMEI packet received {"connection_id":172962,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":172962,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:55:53] local.INFO: TCP Data received {"connection_id":172962,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070aa8ae0012c7938400848c6500014000129..."} 
[2026-09-05 13:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070aa8ae0012c7938400848c6500014000129..."} 
[2026-09-05 13:55:53] local.INFO: Processing buffer {"connection_id":172962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070aa8ae0012c7938400848c6500014000129..."} 
[2026-09-05 13:55:53] local.INFO: Packet analysis {"connection_id":172962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070aa"} 
[2026-09-05 13:55:53] local.INFO: Extracted packet for processing {"connection_id":172962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070aa"} 
[2026-09-05 13:55:53] local.INFO: GPS Element Parsed {"raw_longitude":746141760,"raw_latitude":138987088,"longitude_deg":74.614176,"latitude_deg":13.8987088,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c793840","hex_latitude":"0848c650","is_valid_coordinates":true} 
[2026-09-05 13: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-09-05 13:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880729344001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:55:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 13:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788596620000,"timestamp_ms":1788596620000,"timestamp_seconds":1788596620,"priority":1,"record_length":96,"hex_timestamp":"000001a070aa8ae0"} 
[2026-09-05 13:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-05 13:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172962,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172962,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880729344001,"66":25604,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880729344001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:55:53] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:55:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:55:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 13:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880729344001,"power":25604,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 13:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":172962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768892,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:55:53] local.INFO: GPS data processed {"connection_id":172962,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:55:53] local.INFO: Acknowledgment sent {"connection_id":172962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:56:01] local.INFO: TCP Data received {"connection_id":174286,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:56:01] local.INFO: Processing buffer {"connection_id":174286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:56:01] local.INFO: IMEI packet received {"connection_id":174286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":174286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:56:03] local.INFO: TCP Data received {"connection_id":174286,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070ab7540012cf0710007302590005200c62b..."} 
[2026-09-05 13:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ab7540012cf0710007302590005200c62b..."} 
[2026-09-05 13:56:03] local.INFO: Processing buffer {"connection_id":174286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ab7540012cf0710007302590005200c62b..."} 
[2026-09-05 13:56:03] local.INFO: Packet analysis {"connection_id":174286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ab"} 
[2026-09-05 13:56:03] local.INFO: Extracted packet for processing {"connection_id":174286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ab"} 
[2026-09-05 13:56:03] local.INFO: GPS Element Parsed {"raw_longitude":753955072,"raw_latitude":120595856,"longitude_deg":75.3955072,"latitude_deg":12.0595856,"altitude":82,"angle":198,"satellites":43,"speed":8,"hex_longitude":"2cf07100","hex_latitude":"07302590","is_valid_coordinates":true} 
[2026-09-05 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-09-05 13:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880749824001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17736724578828288,"note":"Value kept but may cause issues"} 
[2026-09-05 13:56:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1121044432621778944,"note":"Value kept but may cause issues"} 
[2026-09-05 13:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788596680000,"timestamp_ms":1788596680000,"timestamp_seconds":1788596680,"priority":1,"record_length":96,"hex_timestamp":"000001a070ab7540"} 
[2026-09-05 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-09-05 13:56: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-09-05 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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 13:56: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-09-05 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-09-05 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-09-05 13:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 13:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 13:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 13:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880749824001,"66":13993,"27":206,"83":44032,"24":8,"16":17736724578828288,"44":-1121044432621778944},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-09-05 13:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 13:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 13:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880749824001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:56:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-05 13:56:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 13:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17736724578828288,"km_value":17736724578828.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:56:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1121044432621778944,"description":"Unknown IO ID 44"} 
[2026-09-05 13:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880749824001,"power":13993,"unknown_27":206,"unknown_83":44032,"ignition":8,"odometer":null,"unknown_44":-1121044432621778944}} 
[2026-09-05 13:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":174286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:56:03] local.INFO: GPS data processed {"connection_id":174286,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:56:03] local.INFO: Acknowledgment sent {"connection_id":174286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:56:25] local.INFO: TCP Data received {"connection_id":172962,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070aadce8012c7938400848c6500014000129..."} 
[2026-09-05 13:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070aadce8012c7938400848c6500014000129..."} 
[2026-09-05 13:56:25] local.INFO: Processing buffer {"connection_id":172962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070aadce8012c7938400848c6500014000129..."} 
[2026-09-05 13:56:25] local.INFO: Packet analysis {"connection_id":172962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070aa"} 
[2026-09-05 13:56:25] local.INFO: Extracted packet for processing {"connection_id":172962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070aa"} 
[2026-09-05 13:56:25] local.INFO: GPS Element Parsed {"raw_longitude":746141760,"raw_latitude":138987088,"longitude_deg":74.614176,"latitude_deg":13.8987088,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c793840","hex_latitude":"0848c650","is_valid_coordinates":true} 
[2026-09-05 13:56: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-09-05 13:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880734720001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:56:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 13:56:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788596641000,"timestamp_ms":1788596641000,"timestamp_seconds":1788596641,"priority":1,"record_length":96,"hex_timestamp":"000001a070aadce8"} 
[2026-09-05 13:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:56:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 13:56:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:56: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-09-05 13:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172962,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172962,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:56:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880734720001,"66":25615,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880734720001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:56:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:56:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:56:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 13:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880734720001,"power":25615,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 13:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":172962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768894,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:56:25] local.INFO: GPS data processed {"connection_id":172962,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:56:25] local.INFO: Acknowledgment sent {"connection_id":172962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:56:47] local.INFO: TCP Data received {"connection_id":171874,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:56:47] local.INFO: Processing buffer {"connection_id":171874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:56:47] local.INFO: IMEI packet received {"connection_id":171874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":171874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:56:53] local.INFO: TCP Data received {"connection_id":171874,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:56:53] local.INFO: Processing buffer {"connection_id":171874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:56:53] local.INFO: IMEI packet received {"connection_id":171874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":171874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:56:54] local.INFO: TCP Data received {"connection_id":171874,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070ab2ef0012c7938400848c6500014000129..."} 
[2026-09-05 13:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ab2ef0012c7938400848c6500014000129..."} 
[2026-09-05 13:56:54] local.INFO: Processing buffer {"connection_id":171874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ab2ef0012c7938400848c6500014000129..."} 
[2026-09-05 13:56:54] local.INFO: Packet analysis {"connection_id":171874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ab"} 
[2026-09-05 13:56:54] local.INFO: Extracted packet for processing {"connection_id":171874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ab"} 
[2026-09-05 13:56:54] local.INFO: GPS Element Parsed {"raw_longitude":746141760,"raw_latitude":138987088,"longitude_deg":74.614176,"latitude_deg":13.8987088,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c793840","hex_latitude":"0848c650","is_valid_coordinates":true} 
[2026-09-05 13:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880740096001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:56:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 13:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788596662000,"timestamp_ms":1788596662000,"timestamp_seconds":1788596662,"priority":1,"record_length":96,"hex_timestamp":"000001a070ab2ef0"} 
[2026-09-05 13:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 13:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880740096001,"66":25549,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880740096001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:56:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:56:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:56:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 13:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880740096001,"power":25549,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 13:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":171874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768895,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:56:54] local.INFO: GPS data processed {"connection_id":171874,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:56:54] local.INFO: Acknowledgment sent {"connection_id":171874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:57:25] local.INFO: TCP Data received {"connection_id":171569,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:57:25] local.INFO: Processing buffer {"connection_id":171569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:57:25] local.INFO: IMEI packet received {"connection_id":171569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":171569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:57:26] local.INFO: TCP Data received {"connection_id":171874,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070ab80f8012c7938400848c6500014000129..."} 
[2026-09-05 13:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ab80f8012c7938400848c6500014000129..."} 
[2026-09-05 13:57:26] local.INFO: Processing buffer {"connection_id":171874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ab80f8012c7938400848c6500014000129..."} 
[2026-09-05 13:57:26] local.INFO: Packet analysis {"connection_id":171874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ab"} 
[2026-09-05 13:57:26] local.INFO: Extracted packet for processing {"connection_id":171874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ab"} 
[2026-09-05 13:57:26] local.INFO: GPS Element Parsed {"raw_longitude":746141760,"raw_latitude":138987088,"longitude_deg":74.614176,"latitude_deg":13.8987088,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c793840","hex_latitude":"0848c650","is_valid_coordinates":true} 
[2026-09-05 13:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880745472001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:57:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 13:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788596683000,"timestamp_ms":1788596683000,"timestamp_seconds":1788596683,"priority":1,"record_length":96,"hex_timestamp":"000001a070ab80f8"} 
[2026-09-05 13:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:57:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 13:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:57:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:57:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880745472001,"66":25549,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880745472001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:57:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:57:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:57:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 13:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880745472001,"power":25549,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 13:57:26] local.INFO: TCP Data received {"connection_id":171569,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:57:26] local.INFO: Processing buffer {"connection_id":171569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:57:26] local.INFO: IMEI packet received {"connection_id":171569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":171569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":171874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768896,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:57:26] local.INFO: GPS data processed {"connection_id":171874,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:57:26] local.INFO: Acknowledgment sent {"connection_id":171874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:57:28] local.INFO: TCP Data received {"connection_id":171569,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:57:28] local.INFO: Processing buffer {"connection_id":171569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:57:28] local.INFO: IMEI packet received {"connection_id":171569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 13:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":171569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:57:47] local.INFO: TCP Data received {"connection_id":172963,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:57:47] local.INFO: Processing buffer {"connection_id":172963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:57:47] local.INFO: IMEI packet received {"connection_id":172963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":172963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:57:52] local.INFO: TCP Data received {"connection_id":172963,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:57:52] local.INFO: Processing buffer {"connection_id":172963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:57:52] local.INFO: IMEI packet received {"connection_id":172963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":172963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:57:54] local.INFO: TCP Data received {"connection_id":172963,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070abafd8012c7938400848c6500014000129..."} 
[2026-09-05 13:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070abafd8012c7938400848c6500014000129..."} 
[2026-09-05 13:57:54] local.INFO: Processing buffer {"connection_id":172963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070abafd8012c7938400848c6500014000129..."} 
[2026-09-05 13:57:54] local.INFO: Packet analysis {"connection_id":172963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ab"} 
[2026-09-05 13:57:54] local.INFO: Extracted packet for processing {"connection_id":172963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ab"} 
[2026-09-05 13:57:54] local.INFO: GPS Element Parsed {"raw_longitude":746141760,"raw_latitude":138987088,"longitude_deg":74.614176,"latitude_deg":13.8987088,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c793840","hex_latitude":"0848c650","is_valid_coordinates":true} 
[2026-09-05 13:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880750848001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:57:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 13:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788596695000,"timestamp_ms":1788596695000,"timestamp_seconds":1788596695,"priority":1,"record_length":96,"hex_timestamp":"000001a070abafd8"} 
[2026-09-05 13:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 13:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880750848001,"66":25462,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880750848001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:57:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:57:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:57:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 13:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880750848001,"power":25462,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 13:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":172963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768897,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:57:54] local.INFO: GPS data processed {"connection_id":172963,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:57:54] local.INFO: Acknowledgment sent {"connection_id":172963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:57:54] local.INFO: TCP Data received {"connection_id":171570,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:57:54] local.INFO: Processing buffer {"connection_id":171570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 13:57:54] local.INFO: IMEI packet received {"connection_id":171570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 13:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":171570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:58:25] local.INFO: TCP Data received {"connection_id":172963,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070abafd8012c7938400848c6500014000129..."} 
[2026-09-05 13:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070abafd8012c7938400848c6500014000129..."} 
[2026-09-05 13:58:25] local.INFO: Processing buffer {"connection_id":172963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070abafd8012c7938400848c6500014000129..."} 
[2026-09-05 13:58:25] local.INFO: Packet analysis {"connection_id":172963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ab"} 
[2026-09-05 13:58:25] local.INFO: Extracted packet for processing {"connection_id":172963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ab"} 
[2026-09-05 13:58:25] local.INFO: GPS Element Parsed {"raw_longitude":746141760,"raw_latitude":138987088,"longitude_deg":74.614176,"latitude_deg":13.8987088,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c793840","hex_latitude":"0848c650","is_valid_coordinates":true} 
[2026-09-05 13:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880750848001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:58:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 13:58:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788596695000,"timestamp_ms":1788596695000,"timestamp_seconds":1788596695,"priority":1,"record_length":96,"hex_timestamp":"000001a070abafd8"} 
[2026-09-05 13:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:58:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 13:58:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13: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-09-05 13:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:58:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880750848001,"66":25462,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880750848001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:58:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:58:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:58:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 13:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880750848001,"power":25462,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 13:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":172963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768898,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:58:26] local.INFO: GPS data processed {"connection_id":172963,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:58:26] local.INFO: Acknowledgment sent {"connection_id":172963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:58:52] local.INFO: TCP Data received {"connection_id":171571,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:58:52] local.INFO: Processing buffer {"connection_id":171571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:58:52] local.INFO: IMEI packet received {"connection_id":171571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":171571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:58:58] local.INFO: TCP Data received {"connection_id":171571,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:58:58] local.INFO: Processing buffer {"connection_id":171571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:58:58] local.INFO: IMEI packet received {"connection_id":171571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":171571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:58:59] local.INFO: TCP Data received {"connection_id":171571,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070abafd8012c7938400848c6500014000129..."} 
[2026-09-05 13:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070abafd8012c7938400848c6500014000129..."} 
[2026-09-05 13:58:59] local.INFO: Processing buffer {"connection_id":171571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070abafd8012c7938400848c6500014000129..."} 
[2026-09-05 13:58:59] local.INFO: Packet analysis {"connection_id":171571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ab"} 
[2026-09-05 13:58:59] local.INFO: Extracted packet for processing {"connection_id":171571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ab"} 
[2026-09-05 13:58:59] local.INFO: GPS Element Parsed {"raw_longitude":746141760,"raw_latitude":138987088,"longitude_deg":74.614176,"latitude_deg":13.8987088,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c793840","hex_latitude":"0848c650","is_valid_coordinates":true} 
[2026-09-05 13:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880750848001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:58:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 13:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788596695000,"timestamp_ms":1788596695000,"timestamp_seconds":1788596695,"priority":1,"record_length":96,"hex_timestamp":"000001a070abafd8"} 
[2026-09-05 13:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 13:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880750848001,"66":25462,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880750848001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:58:59] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:58:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:58:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 13:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880750848001,"power":25462,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 13:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":171571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768899,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:58:59] local.INFO: GPS data processed {"connection_id":171571,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:58:59] local.INFO: Acknowledgment sent {"connection_id":171571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:59:01] local.INFO: TCP Data received {"connection_id":174288,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:59:01] local.INFO: Processing buffer {"connection_id":174288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:59:01] local.INFO: IMEI packet received {"connection_id":174288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":174288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:59:02] local.INFO: TCP Data received {"connection_id":174288,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070ae0580012d6fdb00060c9b48000f00532c..."} 
[2026-09-05 13:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ae0580012d6fdb00060c9b48000f00532c..."} 
[2026-09-05 13:59:02] local.INFO: Processing buffer {"connection_id":174288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ae0580012d6fdb00060c9b48000f00532c..."} 
[2026-09-05 13:59:02] local.INFO: Packet analysis {"connection_id":174288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ae"} 
[2026-09-05 13:59:02] local.INFO: Extracted packet for processing {"connection_id":174288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ae"} 
[2026-09-05 13:59:02] local.INFO: GPS Element Parsed {"raw_longitude":762305280,"raw_latitude":101489480,"longitude_deg":76.230528,"latitude_deg":10.148948,"altitude":15,"angle":83,"satellites":44,"speed":36,"hex_longitude":"2d6fdb00","hex_latitude":"060c9b48","is_valid_coordinates":true} 
[2026-09-05 13:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 13:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880790528001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399756658055577600,"note":"Value kept but may cause issues"} 
[2026-09-05 13:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8049973253673187328,"note":"Value kept but may cause issues"} 
[2026-09-05 13:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788596848000,"timestamp_ms":1788596848000,"timestamp_seconds":1788596848,"priority":1,"record_length":96,"hex_timestamp":"000001a070ae0580"} 
[2026-09-05 13:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:59: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-09-05 13:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 13:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880790528001,"66":27800,"214":206,"79":46336,"24":36,"16":399756658055577600,"45":8049973253673187328},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-09-05 13:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880790528001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:59:02] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 13:59:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399756658055577600,"km_value":399756658055577.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8049973253673187328,"description":"Unknown IO ID 45"} 
[2026-09-05 13:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880790528001,"power":27800,"unknown_214":206,"unknown_79":46336,"ignition":36,"odometer":null,"unknown_45":8049973253673187328}} 
[2026-09-05 13:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":174288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:59:02] local.INFO: GPS data processed {"connection_id":174288,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:59:02] local.INFO: Acknowledgment sent {"connection_id":174288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:59:03] local.INFO: TCP Data received {"connection_id":171571,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070abafd8012c7938400848c6500014000129..."} 
[2026-09-05 13:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070abafd8012c7938400848c6500014000129..."} 
[2026-09-05 13:59:03] local.INFO: Processing buffer {"connection_id":171571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070abafd8012c7938400848c6500014000129..."} 
[2026-09-05 13:59:03] local.INFO: Packet analysis {"connection_id":171571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ab"} 
[2026-09-05 13:59:03] local.INFO: Extracted packet for processing {"connection_id":171571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ab"} 
[2026-09-05 13:59:03] local.INFO: GPS Element Parsed {"raw_longitude":746141760,"raw_latitude":138987088,"longitude_deg":74.614176,"latitude_deg":13.8987088,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c793840","hex_latitude":"0848c650","is_valid_coordinates":true} 
[2026-09-05 13:59: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-09-05 13:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880750848001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:59:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 13:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788596695000,"timestamp_ms":1788596695000,"timestamp_seconds":1788596695,"priority":1,"record_length":96,"hex_timestamp":"000001a070abafd8"} 
[2026-09-05 13:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:59: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-09-05 13:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 13:59: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-09-05 13:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880750848001,"66":25462,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880750848001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:59:03] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:59:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:59:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 13:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880750848001,"power":25462,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 13:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":171571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768901,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:59:03] local.INFO: GPS data processed {"connection_id":171571,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:59:03] local.INFO: Acknowledgment sent {"connection_id":171571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:59:33] local.INFO: TCP Data received {"connection_id":174288,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070ae5788012d6ffe80060c9d80001100592c..."} 
[2026-09-05 13:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ae5788012d6ffe80060c9d80001100592c..."} 
[2026-09-05 13:59:33] local.INFO: Processing buffer {"connection_id":174288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ae5788012d6ffe80060c9d80001100592c..."} 
[2026-09-05 13:59:33] local.INFO: Packet analysis {"connection_id":174288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ae"} 
[2026-09-05 13:59:33] local.INFO: Extracted packet for processing {"connection_id":174288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ae"} 
[2026-09-05 13:59:33] local.INFO: GPS Element Parsed {"raw_longitude":762314368,"raw_latitude":101490048,"longitude_deg":76.2314368,"latitude_deg":10.1490048,"altitude":17,"angle":89,"satellites":44,"speed":13,"hex_longitude":"2d6ffe80","hex_latitude":"060c9d80","is_valid_coordinates":true} 
[2026-09-05 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-09-05 13:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880793088001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399757096142241792,"note":"Value kept but may cause issues"} 
[2026-09-05 13:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8060035984090941440,"note":"Value kept but may cause issues"} 
[2026-09-05 13:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788596869000,"timestamp_ms":1788596869000,"timestamp_seconds":1788596869,"priority":1,"record_length":96,"hex_timestamp":"000001a070ae5788"} 
[2026-09-05 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-09-05 13:59: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-09-05 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 13:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 13:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 13:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 13:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 13:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880793088001,"66":28093,"214":206,"79":46336,"24":13,"16":399757096142241792,"45":8060035984090941440},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-09-05 13:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 13:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 13:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880793088001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:59:33] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 13:59:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 13:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399757096142241792,"km_value":399757096142241.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8060035984090941440,"description":"Unknown IO ID 45"} 
[2026-09-05 13:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880793088001,"power":28093,"unknown_214":206,"unknown_79":46336,"ignition":13,"odometer":null,"unknown_45":8060035984090941440}} 
[2026-09-05 13:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":174288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:59:33] local.INFO: GPS data processed {"connection_id":174288,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:59:33] local.INFO: Acknowledgment sent {"connection_id":174288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:59:47] local.INFO: TCP Data received {"connection_id":171573,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171573,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:59:47] local.INFO: Processing buffer {"connection_id":171573,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:59:47] local.INFO: IMEI packet received {"connection_id":171573,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 13:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":171573,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 13:59:52] local.INFO: TCP Data received {"connection_id":171573,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171573,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:59:52] local.INFO: Processing buffer {"connection_id":171573,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 13:59:52] local.INFO: IMEI packet received {"connection_id":171573,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 13:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":171573,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 13:59:53] local.INFO: TCP Data received {"connection_id":171573,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070abafd8012c7938400848c6500014000129..."} 
[2026-09-05 13:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070abafd8012c7938400848c6500014000129..."} 
[2026-09-05 13:59:53] local.INFO: Processing buffer {"connection_id":171573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070abafd8012c7938400848c6500014000129..."} 
[2026-09-05 13:59:53] local.INFO: Packet analysis {"connection_id":171573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ab"} 
[2026-09-05 13:59:53] local.INFO: Extracted packet for processing {"connection_id":171573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ab"} 
[2026-09-05 13:59:53] local.INFO: GPS Element Parsed {"raw_longitude":746141760,"raw_latitude":138987088,"longitude_deg":74.614176,"latitude_deg":13.8987088,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c793840","hex_latitude":"0848c650","is_valid_coordinates":true} 
[2026-09-05 13:59: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-09-05 13:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880750848001,"note":"Value kept but may cause issues"} 
[2026-09-05 13:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 13:59:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 13:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 13:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788596695000,"timestamp_ms":1788596695000,"timestamp_seconds":1788596695,"priority":1,"record_length":96,"hex_timestamp":"000001a070abafd8"} 
[2026-09-05 13:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 13:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 13:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 13:59:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 13:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 13:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 13:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 13:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 13:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 13:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 13:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 13:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 13:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880750848001,"66":25462,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 13:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 13:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 13:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880750848001,"description":"Unknown IO ID 0"} 
[2026-09-05 13:59:53] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 13:59:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 13:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 13:59:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 13:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880750848001,"power":25462,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 13:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":171573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768903,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 13:59:53] local.INFO: GPS data processed {"connection_id":171573,"processed":1,"errors":0,"total":1} 
[2026-09-05 13:59:53] local.INFO: Acknowledgment sent {"connection_id":171573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 13:59:56] local.INFO: TCP Data received {"connection_id":174289,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:59:56] local.INFO: Processing buffer {"connection_id":174289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 13:59:56] local.INFO: IMEI packet received {"connection_id":174289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 13:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":174289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:00:01] local.INFO: TCP Data received {"connection_id":174289,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:00:01] local.INFO: Processing buffer {"connection_id":174289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:00:01] local.INFO: IMEI packet received {"connection_id":174289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":174289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:00:02] local.INFO: TCP Data received {"connection_id":174289,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070ae5788012d6ffe80060c9d80001100592c..."} 
[2026-09-05 14:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ae5788012d6ffe80060c9d80001100592c..."} 
[2026-09-05 14:00:02] local.INFO: Processing buffer {"connection_id":174289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ae5788012d6ffe80060c9d80001100592c..."} 
[2026-09-05 14:00:02] local.INFO: Packet analysis {"connection_id":174289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ae"} 
[2026-09-05 14:00:02] local.INFO: Extracted packet for processing {"connection_id":174289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ae"} 
[2026-09-05 14:00:02] local.INFO: GPS Element Parsed {"raw_longitude":762314368,"raw_latitude":101490048,"longitude_deg":76.2314368,"latitude_deg":10.1490048,"altitude":17,"angle":89,"satellites":44,"speed":13,"hex_longitude":"2d6ffe80","hex_latitude":"060c9d80","is_valid_coordinates":true} 
[2026-09-05 14:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880798464001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399757096142241792,"note":"Value kept but may cause issues"} 
[2026-09-05 14:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8070028345764315136,"note":"Value kept but may cause issues"} 
[2026-09-05 14:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788596869000,"timestamp_ms":1788596869000,"timestamp_seconds":1788596869,"priority":1,"record_length":96,"hex_timestamp":"000001a070ae5788"} 
[2026-09-05 14:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-09-05 14:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:00:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880798464001,"66":28093,"214":206,"79":46336,"24":13,"16":399757096142241792,"45":8070028345764315136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-09-05 14:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880798464001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:00:02] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 14:00:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399757096142241792,"km_value":399757096142241.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8070028345764315136,"description":"Unknown IO ID 45"} 
[2026-09-05 14:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880798464001,"power":28093,"unknown_214":206,"unknown_79":46336,"ignition":13,"odometer":null,"unknown_45":8070028345764315136}} 
[2026-09-05 14:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":174289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:00:02] local.INFO: GPS data processed {"connection_id":174289,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:00:02] local.INFO: Acknowledgment sent {"connection_id":174289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:00:26] local.INFO: TCP Data received {"connection_id":171573,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070abafd8012c7938400848c6500014000129..."} 
[2026-09-05 14:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070abafd8012c7938400848c6500014000129..."} 
[2026-09-05 14:00:26] local.INFO: Processing buffer {"connection_id":171573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070abafd8012c7938400848c6500014000129..."} 
[2026-09-05 14:00:26] local.INFO: Packet analysis {"connection_id":171573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ab"} 
[2026-09-05 14:00:26] local.INFO: Extracted packet for processing {"connection_id":171573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ab"} 
[2026-09-05 14:00:26] local.INFO: GPS Element Parsed {"raw_longitude":746141760,"raw_latitude":138987088,"longitude_deg":74.614176,"latitude_deg":13.8987088,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c793840","hex_latitude":"0848c650","is_valid_coordinates":true} 
[2026-09-05 14:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880750848001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:00:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 14:00:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788596695000,"timestamp_ms":1788596695000,"timestamp_seconds":1788596695,"priority":1,"record_length":96,"hex_timestamp":"000001a070abafd8"} 
[2026-09-05 14:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:00:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 14:00:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:00:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880750848001,"66":25462,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880750848001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:00:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:00:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:00:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 14:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880750848001,"power":25462,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 14:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":171573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768905,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:00:26] local.INFO: GPS data processed {"connection_id":171573,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:00:26] local.INFO: Acknowledgment sent {"connection_id":171573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:00:33] local.INFO: TCP Data received {"connection_id":174289,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070aea990012d701a40060c9fa0000e00562c..."} 
[2026-09-05 14:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070aea990012d701a40060c9fa0000e00562c..."} 
[2026-09-05 14:00:33] local.INFO: Processing buffer {"connection_id":174289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070aea990012d701a40060c9fa0000e00562c..."} 
[2026-09-05 14:00:33] local.INFO: Packet analysis {"connection_id":174289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ae"} 
[2026-09-05 14:00:33] local.INFO: Extracted packet for processing {"connection_id":174289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ae"} 
[2026-09-05 14:00:33] local.INFO: GPS Element Parsed {"raw_longitude":762321472,"raw_latitude":101490592,"longitude_deg":76.2321472,"latitude_deg":10.1490592,"altitude":14,"angle":86,"satellites":44,"speed":0,"hex_longitude":"2d701a40","hex_latitude":"060c9fa0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 14:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880798464001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399757435444658176,"note":"Value kept but may cause issues"} 
[2026-09-05 14:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8070028345764315136,"note":"Value kept but may cause issues"} 
[2026-09-05 14:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788596890000,"timestamp_ms":1788596890000,"timestamp_seconds":1788596890,"priority":1,"record_length":96,"hex_timestamp":"000001a070aea990"} 
[2026-09-05 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-09-05 14:00: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-09-05 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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-09-05 14:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 14:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880798464001,"66":27865,"214":206,"79":46336,"24":0,"16":399757435444658176,"45":8070028345764315136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-09-05 14:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880798464001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:00:33] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 14:00:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399757435444658176,"km_value":399757435444658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8070028345764315136,"description":"Unknown IO ID 45"} 
[2026-09-05 14:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880798464001,"power":27865,"unknown_214":206,"unknown_79":46336,"ignition":0,"odometer":null,"unknown_45":8070028345764315136}} 
[2026-09-05 14:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":174289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:00:33] local.INFO: GPS data processed {"connection_id":174289,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:00:33] local.INFO: Acknowledgment sent {"connection_id":174289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:00:47] local.INFO: TCP Data received {"connection_id":171877,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171877,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:00:47] local.INFO: Processing buffer {"connection_id":171877,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:00:47] local.INFO: IMEI packet received {"connection_id":171877,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":171877,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:00:53] local.INFO: TCP Data received {"connection_id":171877,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171877,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:00:53] local.INFO: Processing buffer {"connection_id":171877,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:00:53] local.INFO: IMEI packet received {"connection_id":171877,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":171877,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:00:54] local.INFO: TCP Data received {"connection_id":171877,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070b05740012c7939c00848c5f00014000129..."} 
[2026-09-05 14:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b05740012c7939c00848c5f00014000129..."} 
[2026-09-05 14:00:54] local.INFO: Processing buffer {"connection_id":171877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b05740012c7939c00848c5f00014000129..."} 
[2026-09-05 14:00:54] local.INFO: Packet analysis {"connection_id":171877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b0"} 
[2026-09-05 14:00:54] local.INFO: Extracted packet for processing {"connection_id":171877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b0"} 
[2026-09-05 14:00:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880753920001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:00:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 14:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788597000000,"timestamp_ms":1788597000000,"timestamp_seconds":1788597000,"priority":1,"record_length":96,"hex_timestamp":"000001a070b05740"} 
[2026-09-05 14:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 14:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:00:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880753920001,"66":25495,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880753920001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:00:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:00:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:00:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 14:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880753920001,"power":25495,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 14:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":171877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768907,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:00:54] local.INFO: GPS data processed {"connection_id":171877,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:00:54] local.INFO: Acknowledgment sent {"connection_id":171877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:00:56] local.INFO: TCP Data received {"connection_id":172965,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:00:56] local.INFO: Processing buffer {"connection_id":172965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:00:56] local.INFO: IMEI packet received {"connection_id":172965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":172965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:01:01] local.INFO: TCP Data received {"connection_id":172965,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:01:01] local.INFO: Processing buffer {"connection_id":172965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:01:01] local.INFO: IMEI packet received {"connection_id":172965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":172965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:01:02] local.INFO: TCP Data received {"connection_id":172965,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070aefb98012d701d40060c9fc0000e00562c..."} 
[2026-09-05 14:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070aefb98012d701d40060c9fc0000e00562c..."} 
[2026-09-05 14:01:02] local.INFO: Processing buffer {"connection_id":172965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070aefb98012d701d40060c9fc0000e00562c..."} 
[2026-09-05 14:01:02] local.INFO: Packet analysis {"connection_id":172965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ae"} 
[2026-09-05 14:01:02] local.INFO: Extracted packet for processing {"connection_id":172965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ae"} 
[2026-09-05 14:01:02] local.INFO: GPS Element Parsed {"raw_longitude":762322240,"raw_latitude":101490624,"longitude_deg":76.232224,"latitude_deg":10.1490624,"altitude":14,"angle":86,"satellites":44,"speed":0,"hex_longitude":"2d701d40","hex_latitude":"060c9fc0","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880803840001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399757469804396544,"note":"Value kept but may cause issues"} 
[2026-09-05 14:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8077839276368175104,"note":"Value kept but may cause issues"} 
[2026-09-05 14:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788596911000,"timestamp_ms":1788596911000,"timestamp_seconds":1788596911,"priority":1,"record_length":96,"hex_timestamp":"000001a070aefb98"} 
[2026-09-05 14:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:01: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-09-05 14: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":217,"data_length":795,"current_offset":136} 
[2026-09-05 14:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880803840001,"66":28093,"214":206,"79":46336,"24":0,"16":399757469804396544,"45":8077839276368175104},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-09-05 14:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880803840001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:01:02] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 14:01:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399757469804396544,"km_value":399757469804396.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8077839276368175104,"description":"Unknown IO ID 45"} 
[2026-09-05 14:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880803840001,"power":28093,"unknown_214":206,"unknown_79":46336,"ignition":0,"odometer":null,"unknown_45":8077839276368175104}} 
[2026-09-05 14:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":172965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:01:02] local.INFO: GPS data processed {"connection_id":172965,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:01:02] local.INFO: Acknowledgment sent {"connection_id":172965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:01:26] local.INFO: TCP Data received {"connection_id":171877,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070b05740012c7939c00848c5f00014000129..."} 
[2026-09-05 14:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b05740012c7939c00848c5f00014000129..."} 
[2026-09-05 14:01:26] local.INFO: Processing buffer {"connection_id":171877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b05740012c7939c00848c5f00014000129..."} 
[2026-09-05 14:01:26] local.INFO: Packet analysis {"connection_id":171877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b0"} 
[2026-09-05 14:01:26] local.INFO: Extracted packet for processing {"connection_id":171877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b0"} 
[2026-09-05 14:01:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880753920001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:01:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 14:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788597000000,"timestamp_ms":1788597000000,"timestamp_seconds":1788597000,"priority":1,"record_length":96,"hex_timestamp":"000001a070b05740"} 
[2026-09-05 14:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 14:01:26] 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-09-05 14:01:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880753920001,"66":25495,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880753920001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:01:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:01:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:01:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 14:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880753920001,"power":25495,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 14:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":171877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768909,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:01:26] local.INFO: GPS data processed {"connection_id":171877,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:01:26] local.INFO: Acknowledgment sent {"connection_id":171877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:01:33] local.INFO: TCP Data received {"connection_id":172965,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070af4da0012d702200060ca020000e00562c..."} 
[2026-09-05 14:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070af4da0012d702200060ca020000e00562c..."} 
[2026-09-05 14:01:33] local.INFO: Processing buffer {"connection_id":172965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070af4da0012d702200060ca020000e00562c..."} 
[2026-09-05 14:01:33] local.INFO: Packet analysis {"connection_id":172965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070af"} 
[2026-09-05 14:01:33] local.INFO: Extracted packet for processing {"connection_id":172965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070af"} 
[2026-09-05 14:01:33] local.INFO: GPS Element Parsed {"raw_longitude":762323456,"raw_latitude":101490720,"longitude_deg":76.2323456,"latitude_deg":10.149072,"altitude":14,"angle":86,"satellites":44,"speed":0,"hex_longitude":"2d702200","hex_latitude":"060ca020","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880809216001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399757529933938688,"note":"Value kept but may cause issues"} 
[2026-09-05 14:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8078683701298315264,"note":"Value kept but may cause issues"} 
[2026-09-05 14:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788596932000,"timestamp_ms":1788596932000,"timestamp_seconds":1788596932,"priority":1,"record_length":96,"hex_timestamp":"000001a070af4da0"} 
[2026-09-05 14:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:01: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-09-05 14: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-09-05 14:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880809216001,"66":27930,"214":206,"79":46336,"24":0,"16":399757529933938688,"45":8078683701298315264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-09-05 14:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880809216001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:01:33] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 14:01:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399757529933938688,"km_value":399757529933938.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8078683701298315264,"description":"Unknown IO ID 45"} 
[2026-09-05 14:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880809216001,"power":27930,"unknown_214":206,"unknown_79":46336,"ignition":0,"odometer":null,"unknown_45":8078683701298315264}} 
[2026-09-05 14:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":172965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:01:33] local.INFO: GPS data processed {"connection_id":172965,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:01:33] local.INFO: Acknowledgment sent {"connection_id":172965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:01:47] local.INFO: TCP Data received {"connection_id":171575,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171575,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:01:47] local.INFO: Processing buffer {"connection_id":171575,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:01:47] local.INFO: IMEI packet received {"connection_id":171575,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":171575,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:01:52] local.INFO: TCP Data received {"connection_id":171575,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171575,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:01:52] local.INFO: Processing buffer {"connection_id":171575,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:01:52] local.INFO: IMEI packet received {"connection_id":171575,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":171575,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:01:53] local.INFO: TCP Data received {"connection_id":171575,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070b05740012c7939c00848c5f00014000129..."} 
[2026-09-05 14:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b05740012c7939c00848c5f00014000129..."} 
[2026-09-05 14:01:53] local.INFO: Processing buffer {"connection_id":171575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b05740012c7939c00848c5f00014000129..."} 
[2026-09-05 14:01:53] local.INFO: Packet analysis {"connection_id":171575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b0"} 
[2026-09-05 14:01:53] local.INFO: Extracted packet for processing {"connection_id":171575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b0"} 
[2026-09-05 14:01:53] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880753920001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:01:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 14:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788597000000,"timestamp_ms":1788597000000,"timestamp_seconds":1788597000,"priority":1,"record_length":96,"hex_timestamp":"000001a070b05740"} 
[2026-09-05 14:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 14:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171575,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171575,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880753920001,"66":25495,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880753920001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:01:53] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:01:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:01:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 14:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880753920001,"power":25495,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 14:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":171575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768911,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:01:53] local.INFO: GPS data processed {"connection_id":171575,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:01:53] local.INFO: Acknowledgment sent {"connection_id":171575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:01:56] local.INFO: TCP Data received {"connection_id":172966,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:01:56] local.INFO: Processing buffer {"connection_id":172966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:01:56] local.INFO: IMEI packet received {"connection_id":172966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":172966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:01:57] local.INFO: TCP Data received {"connection_id":172966,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:01:57] local.INFO: Processing buffer {"connection_id":172966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:01:57] local.INFO: IMEI packet received {"connection_id":172966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":172966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:02:01] local.INFO: TCP Data received {"connection_id":172966,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:02:01] local.INFO: Processing buffer {"connection_id":172966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:02:01] local.INFO: IMEI packet received {"connection_id":172966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":172966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:02:02] local.INFO: TCP Data received {"connection_id":172966,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070af9fa8012d702280060ca028000e00562d..."} 
[2026-09-05 14:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070af9fa8012d702280060ca028000e00562d..."} 
[2026-09-05 14:02:02] local.INFO: Processing buffer {"connection_id":172966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070af9fa8012d702280060ca028000e00562d..."} 
[2026-09-05 14:02:02] local.INFO: Packet analysis {"connection_id":172966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070af"} 
[2026-09-05 14:02:02] local.INFO: Extracted packet for processing {"connection_id":172966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070af"} 
[2026-09-05 14:02:02] local.INFO: GPS Element Parsed {"raw_longitude":762323584,"raw_latitude":101490728,"longitude_deg":76.2323584,"latitude_deg":10.1490728,"altitude":14,"angle":86,"satellites":45,"speed":0,"hex_longitude":"2d702280","hex_latitude":"060ca028","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880814592001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399757538523873280,"note":"Value kept but may cause issues"} 
[2026-09-05 14:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8080020707437715456,"note":"Value kept but may cause issues"} 
[2026-09-05 14:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788596953000,"timestamp_ms":1788596953000,"timestamp_seconds":1788596953,"priority":1,"record_length":96,"hex_timestamp":"000001a070af9fa8"} 
[2026-09-05 14:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 14:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880814592001,"66":27843,"214":206,"79":46336,"24":0,"16":399757538523873280,"45":8080020707437715456},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-09-05 14:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880814592001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:02:02] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 14:02:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399757538523873280,"km_value":399757538523873.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8080020707437715456,"description":"Unknown IO ID 45"} 
[2026-09-05 14:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880814592001,"power":27843,"unknown_214":206,"unknown_79":46336,"ignition":0,"odometer":null,"unknown_45":8080020707437715456}} 
[2026-09-05 14:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":172966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:02:02] local.INFO: GPS data processed {"connection_id":172966,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:02:02] local.INFO: Acknowledgment sent {"connection_id":172966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:02:25] local.INFO: TCP Data received {"connection_id":171575,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070b05740012c7939c00848c5f00014000129..."} 
[2026-09-05 14:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b05740012c7939c00848c5f00014000129..."} 
[2026-09-05 14:02:25] local.INFO: Processing buffer {"connection_id":171575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b05740012c7939c00848c5f00014000129..."} 
[2026-09-05 14:02:25] local.INFO: Packet analysis {"connection_id":171575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b0"} 
[2026-09-05 14:02:25] local.INFO: Extracted packet for processing {"connection_id":171575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b0"} 
[2026-09-05 14:02:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880753920001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:02:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 14:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788597000000,"timestamp_ms":1788597000000,"timestamp_seconds":1788597000,"priority":1,"record_length":96,"hex_timestamp":"000001a070b05740"} 
[2026-09-05 14:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:02: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-09-05 14:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 14:02:25] 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-09-05 14:02:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171575,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171575,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:02:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880753920001,"66":25495,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880753920001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:02:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:02:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:02:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 14:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880753920001,"power":25495,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 14:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":171575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768913,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:02:25] local.INFO: GPS data processed {"connection_id":171575,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:02:25] local.INFO: Acknowledgment sent {"connection_id":171575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:02:33] local.INFO: TCP Data received {"connection_id":172966,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070aff1b0012d702280060ca028000e00562e..."} 
[2026-09-05 14:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070aff1b0012d702280060ca028000e00562e..."} 
[2026-09-05 14:02:33] local.INFO: Processing buffer {"connection_id":172966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070aff1b0012d702280060ca028000e00562e..."} 
[2026-09-05 14:02:33] local.INFO: Packet analysis {"connection_id":172966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070af"} 
[2026-09-05 14:02:33] local.INFO: Extracted packet for processing {"connection_id":172966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070af"} 
[2026-09-05 14:02:33] local.INFO: GPS Element Parsed {"raw_longitude":762323584,"raw_latitude":101490728,"longitude_deg":76.2323584,"latitude_deg":10.1490728,"altitude":14,"angle":86,"satellites":46,"speed":0,"hex_longitude":"2d702280","hex_latitude":"060ca028","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880819968001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399757538523873280,"note":"Value kept but may cause issues"} 
[2026-09-05 14:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8080161444926072832,"note":"Value kept but may cause issues"} 
[2026-09-05 14:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788596974000,"timestamp_ms":1788596974000,"timestamp_seconds":1788596974,"priority":1,"record_length":96,"hex_timestamp":"000001a070aff1b0"} 
[2026-09-05 14:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:02: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-09-05 14: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 14:02: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-09-05 14: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-09-05 14:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880819968001,"66":27930,"214":206,"79":46336,"24":0,"16":399757538523873280,"45":8080161444926072832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-09-05 14:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880819968001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:02:33] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 14:02:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399757538523873280,"km_value":399757538523873.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8080161444926072832,"description":"Unknown IO ID 45"} 
[2026-09-05 14:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880819968001,"power":27930,"unknown_214":206,"unknown_79":46336,"ignition":0,"odometer":null,"unknown_45":8080161444926072832}} 
[2026-09-05 14:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":172966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:02:33] local.INFO: GPS data processed {"connection_id":172966,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:02:33] local.INFO: Acknowledgment sent {"connection_id":172966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:02:47] local.INFO: TCP Data received {"connection_id":174290,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174290,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:02:47] local.INFO: Processing buffer {"connection_id":174290,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:02:47] local.INFO: IMEI packet received {"connection_id":174290,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":174290,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:02:52] local.INFO: TCP Data received {"connection_id":174290,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174290,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:02:52] local.INFO: Processing buffer {"connection_id":174290,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:02:52] local.INFO: IMEI packet received {"connection_id":174290,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":174290,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:02:54] local.INFO: TCP Data received {"connection_id":174290,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070b05740012c7939c00848c5f00014000129..."} 
[2026-09-05 14:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b05740012c7939c00848c5f00014000129..."} 
[2026-09-05 14:02:54] local.INFO: Processing buffer {"connection_id":174290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b05740012c7939c00848c5f00014000129..."} 
[2026-09-05 14:02:54] local.INFO: Packet analysis {"connection_id":174290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b0"} 
[2026-09-05 14:02:54] local.INFO: Extracted packet for processing {"connection_id":174290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b0"} 
[2026-09-05 14:02:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880753920001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:02:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 14:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788597000000,"timestamp_ms":1788597000000,"timestamp_seconds":1788597000,"priority":1,"record_length":96,"hex_timestamp":"000001a070b05740"} 
[2026-09-05 14:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 14:02:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:02:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174290,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174290,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880753920001,"66":25495,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880753920001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:02:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:02:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:02:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 14:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880753920001,"power":25495,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 14:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":174290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768915,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:02:54] local.INFO: GPS data processed {"connection_id":174290,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:02:54] local.INFO: Acknowledgment sent {"connection_id":174290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:02:55] local.INFO: TCP Data received {"connection_id":172967,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:02:55] local.INFO: Processing buffer {"connection_id":172967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:02:55] local.INFO: IMEI packet received {"connection_id":172967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":172967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:02:55] local.INFO: TCP Data received {"connection_id":172967,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070b193a8012cf2d580072d2f90005700892a..."} 
[2026-09-05 14:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b193a8012cf2d580072d2f90005700892a..."} 
[2026-09-05 14:02:56] local.INFO: Processing buffer {"connection_id":172967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b193a8012cf2d580072d2f90005700892a..."} 
[2026-09-05 14:02:56] local.INFO: Packet analysis {"connection_id":172967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b1"} 
[2026-09-05 14:02:56] local.INFO: Extracted packet for processing {"connection_id":172967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b1"} 
[2026-09-05 14:02:56] local.INFO: GPS Element Parsed {"raw_longitude":754111872,"raw_latitude":120401808,"longitude_deg":75.4111872,"latitude_deg":12.0401808,"altitude":87,"angle":137,"satellites":42,"speed":27,"hex_longitude":"2cf2d580","hex_latitude":"072d2f90","is_valid_coordinates":true} 
[2026-09-05 14:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880850176001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17751593755607040,"note":"Value kept but may cause issues"} 
[2026-09-05 14:02:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-954481615201130496,"note":"Value kept but may cause issues"} 
[2026-09-05 14:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788597081000,"timestamp_ms":1788597081000,"timestamp_seconds":1788597081,"priority":1,"record_length":96,"hex_timestamp":"000001a070b193a8"} 
[2026-09-05 14:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-05 14:02:56] 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-09-05 14:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880850176001,"66":14428,"217":206,"83":44032,"24":27,"16":17751593755607040,"44":-954481615201130496},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,44]} 
[2026-09-05 14:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880850176001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:02:56] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-05 14:02:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 14:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17751593755607040,"km_value":17751593755607.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:02:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-954481615201130496,"description":"Unknown IO ID 44"} 
[2026-09-05 14:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880850176001,"power":14428,"unknown_217":206,"unknown_83":44032,"ignition":27,"odometer":null,"unknown_44":-954481615201130496}} 
[2026-09-05 14:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":172967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:02:56] local.INFO: GPS data processed {"connection_id":172967,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:02:56] local.INFO: Acknowledgment sent {"connection_id":172967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:02:56] local.INFO: TCP Data received {"connection_id":172968,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:02:56] local.INFO: Processing buffer {"connection_id":172968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:02:56] local.INFO: IMEI packet received {"connection_id":172968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":172968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:03:00] local.INFO: TCP Data received {"connection_id":172968,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:03:00] local.INFO: Processing buffer {"connection_id":172968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:03:00] local.INFO: IMEI packet received {"connection_id":172968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":172968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:03:01] local.INFO: TCP Data received {"connection_id":172968,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:03:01] local.INFO: Processing buffer {"connection_id":172968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:03:01] local.INFO: IMEI packet received {"connection_id":172968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":172968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:03:01] local.INFO: TCP Data received {"connection_id":172968,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070b043b8012d702280060ca028000e00562c..."} 
[2026-09-05 14:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b043b8012d702280060ca028000e00562c..."} 
[2026-09-05 14:03:01] local.INFO: Processing buffer {"connection_id":172968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b043b8012d702280060ca028000e00562c..."} 
[2026-09-05 14:03:01] local.INFO: Packet analysis {"connection_id":172968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b0"} 
[2026-09-05 14:03:01] local.INFO: Extracted packet for processing {"connection_id":172968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b0"} 
[2026-09-05 14:03:01] local.INFO: GPS Element Parsed {"raw_longitude":762323584,"raw_latitude":101490728,"longitude_deg":76.2323584,"latitude_deg":10.1490728,"altitude":14,"angle":86,"satellites":44,"speed":0,"hex_longitude":"2d702280","hex_latitude":"060ca028","is_valid_coordinates":true} 
[2026-09-05 14:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880825344001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399757538523873280,"note":"Value kept but may cause issues"} 
[2026-09-05 14:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8080161444926072832,"note":"Value kept but may cause issues"} 
[2026-09-05 14:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788596995000,"timestamp_ms":1788596995000,"timestamp_seconds":1788596995,"priority":1,"record_length":96,"hex_timestamp":"000001a070b043b8"} 
[2026-09-05 14:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:03:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 14:03: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-09-05 14:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880825344001,"66":27691,"214":206,"79":46336,"24":0,"16":399757538523873280,"45":8080161444926072832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-09-05 14:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880825344001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:03:01] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 14:03:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399757538523873280,"km_value":399757538523873.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8080161444926072832,"description":"Unknown IO ID 45"} 
[2026-09-05 14:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880825344001,"power":27691,"unknown_214":206,"unknown_79":46336,"ignition":0,"odometer":null,"unknown_45":8080161444926072832}} 
[2026-09-05 14:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":172968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:03:01] local.INFO: GPS data processed {"connection_id":172968,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:03:01] local.INFO: Acknowledgment sent {"connection_id":172968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:03:25] local.INFO: TCP Data received {"connection_id":174290,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070b05740012c7939c00848c5f00014000129..."} 
[2026-09-05 14:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b05740012c7939c00848c5f00014000129..."} 
[2026-09-05 14:03:25] local.INFO: Processing buffer {"connection_id":174290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b05740012c7939c00848c5f00014000129..."} 
[2026-09-05 14:03:25] local.INFO: Packet analysis {"connection_id":174290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b0"} 
[2026-09-05 14:03:25] local.INFO: Extracted packet for processing {"connection_id":174290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b0"} 
[2026-09-05 14:03:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880753920001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:03:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 14:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788597000000,"timestamp_ms":1788597000000,"timestamp_seconds":1788597000,"priority":1,"record_length":96,"hex_timestamp":"000001a070b05740"} 
[2026-09-05 14:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 14:03:25] 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-09-05 14:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174290,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174290,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880753920001,"66":25495,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880753920001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:03:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:03:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:03:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 14:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880753920001,"power":25495,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 14:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":174290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768918,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:03:26] local.INFO: GPS data processed {"connection_id":174290,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:03:26] local.INFO: Acknowledgment sent {"connection_id":174290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:03:27] local.INFO: TCP Data received {"connection_id":172967,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070b1bab8012cf2df80072d22f00053007c2d..."} 
[2026-09-05 14:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b1bab8012cf2df80072d22f00053007c2d..."} 
[2026-09-05 14:03:27] local.INFO: Processing buffer {"connection_id":172967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b1bab8012cf2df80072d22f00053007c2d..."} 
[2026-09-05 14:03:27] local.INFO: Packet analysis {"connection_id":172967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b1"} 
[2026-09-05 14:03:27] local.INFO: Extracted packet for processing {"connection_id":172967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b1"} 
[2026-09-05 14:03:27] local.INFO: GPS Element Parsed {"raw_longitude":754114432,"raw_latitude":120398576,"longitude_deg":75.4114432,"latitude_deg":12.0398576,"altitude":83,"angle":124,"satellites":45,"speed":9,"hex_longitude":"2cf2df80","hex_latitude":"072d22f0","is_valid_coordinates":true} 
[2026-09-05 14:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880852736001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17751791324102656,"note":"Value kept but may cause issues"} 
[2026-09-05 14:03:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-948711378180403200,"note":"Value kept but may cause issues"} 
[2026-09-05 14:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788597091000,"timestamp_ms":1788597091000,"timestamp_seconds":1788597091,"priority":1,"record_length":96,"hex_timestamp":"000001a070b1bab8"} 
[2026-09-05 14:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:03:27] 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-09-05 14:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 14:03:27] 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-09-05 14:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880852736001,"66":14363,"217":206,"83":44032,"24":9,"16":17751791324102656,"44":-948711378180403200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,44]} 
[2026-09-05 14:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880852736001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:03:27] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-05 14:03:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 14:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17751791324102656,"km_value":17751791324102.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:03:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-948711378180403200,"description":"Unknown IO ID 44"} 
[2026-09-05 14:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880852736001,"power":14363,"unknown_217":206,"unknown_83":44032,"ignition":9,"odometer":null,"unknown_44":-948711378180403200}} 
[2026-09-05 14:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":172967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:03:27] local.INFO: GPS data processed {"connection_id":172967,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:03:27] local.INFO: Acknowledgment sent {"connection_id":172967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:03:33] local.INFO: TCP Data received {"connection_id":172968,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070b095c0012d702280060ca028000e00562c..."} 
[2026-09-05 14:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b095c0012d702280060ca028000e00562c..."} 
[2026-09-05 14:03:33] local.INFO: Processing buffer {"connection_id":172968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b095c0012d702280060ca028000e00562c..."} 
[2026-09-05 14:03:33] local.INFO: Packet analysis {"connection_id":172968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b0"} 
[2026-09-05 14:03:33] local.INFO: Extracted packet for processing {"connection_id":172968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b0"} 
[2026-09-05 14:03:33] local.INFO: GPS Element Parsed {"raw_longitude":762323584,"raw_latitude":101490728,"longitude_deg":76.2323584,"latitude_deg":10.1490728,"altitude":14,"angle":86,"satellites":44,"speed":0,"hex_longitude":"2d702280","hex_latitude":"060ca028","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880830720001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399757538523873280,"note":"Value kept but may cause issues"} 
[2026-09-05 14:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8080161444926072832,"note":"Value kept but may cause issues"} 
[2026-09-05 14:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788597016000,"timestamp_ms":1788597016000,"timestamp_seconds":1788597016,"priority":1,"record_length":96,"hex_timestamp":"000001a070b095c0"} 
[2026-09-05 14:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:03: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-09-05 14: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":43,"data_length":795,"current_offset":136} 
[2026-09-05 14:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880830720001,"66":28082,"214":206,"79":46336,"24":0,"16":399757538523873280,"45":8080161444926072832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-09-05 14:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880830720001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:03:33] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 14:03:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399757538523873280,"km_value":399757538523873.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8080161444926072832,"description":"Unknown IO ID 45"} 
[2026-09-05 14:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880830720001,"power":28082,"unknown_214":206,"unknown_79":46336,"ignition":0,"odometer":null,"unknown_45":8080161444926072832}} 
[2026-09-05 14:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":172968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:03:33] local.INFO: GPS data processed {"connection_id":172968,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:03:33] local.INFO: Acknowledgment sent {"connection_id":172968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:03:45] local.INFO: TCP Data received {"connection_id":171576,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:03:45] local.INFO: Processing buffer {"connection_id":171576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:03:45] local.INFO: IMEI packet received {"connection_id":171576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":171576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:03:48] local.INFO: TCP Data received {"connection_id":171576,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:03:48] local.INFO: Processing buffer {"connection_id":171576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:03:48] local.INFO: IMEI packet received {"connection_id":171576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":171576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:03:49] local.INFO: TCP Data received {"connection_id":171576,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070b1c670012cf2e280072d2190005300682c..."} 
[2026-09-05 14:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b1c670012cf2e280072d2190005300682c..."} 
[2026-09-05 14:03:49] local.INFO: Processing buffer {"connection_id":171576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b1c670012cf2e280072d2190005300682c..."} 
[2026-09-05 14:03:49] local.INFO: Packet analysis {"connection_id":171576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b1"} 
[2026-09-05 14:03:49] local.INFO: Extracted packet for processing {"connection_id":171576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b1"} 
[2026-09-05 14:03:49] local.INFO: GPS Element Parsed {"raw_longitude":754115200,"raw_latitude":120398224,"longitude_deg":75.41152,"latitude_deg":12.0398224,"altitude":83,"angle":104,"satellites":44,"speed":16,"hex_longitude":"2cf2e280","hex_latitude":"072d2190","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880855296001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17751834273775616,"note":"Value kept but may cause issues"} 
[2026-09-05 14:03:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-945896628414124032,"note":"Value kept but may cause issues"} 
[2026-09-05 14:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788597094000,"timestamp_ms":1788597094000,"timestamp_seconds":1788597094,"priority":1,"record_length":96,"hex_timestamp":"000001a070b1c670"} 
[2026-09-05 14:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:03:49] 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-09-05 14: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 14:03:49] 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-09-05 14: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-09-05 14:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":171576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":171576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":171576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880855296001,"66":14298,"217":206,"83":44032,"24":16,"16":17751834273775616,"44":-945896628414124032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,44]} 
[2026-09-05 14:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880855296001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:03:49] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-05 14:03:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 14:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17751834273775616,"km_value":17751834273775.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:03:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-945896628414124032,"description":"Unknown IO ID 44"} 
[2026-09-05 14:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880855296001,"power":14298,"unknown_217":206,"unknown_83":44032,"ignition":16,"odometer":null,"unknown_44":-945896628414124032}} 
[2026-09-05 14:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":171576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:03:49] local.INFO: GPS data processed {"connection_id":171576,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:03:49] local.INFO: Acknowledgment sent {"connection_id":171576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:03:52] local.INFO: TCP Data received {"connection_id":171577,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:03:52] local.INFO: Processing buffer {"connection_id":171577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:03:52] local.INFO: IMEI packet received {"connection_id":171577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":171577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:03:57] local.INFO: TCP Data received {"connection_id":171577,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:03:57] local.INFO: Processing buffer {"connection_id":171577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:03:57] local.INFO: IMEI packet received {"connection_id":171577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":171577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:03:59] local.INFO: TCP Data received {"connection_id":171577,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070b05740012c7939c00848c5f00014000129..."} 
[2026-09-05 14:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b05740012c7939c00848c5f00014000129..."} 
[2026-09-05 14:03:59] local.INFO: Processing buffer {"connection_id":171577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b05740012c7939c00848c5f00014000129..."} 
[2026-09-05 14:03:59] local.INFO: Packet analysis {"connection_id":171577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b0"} 
[2026-09-05 14:03:59] local.INFO: Extracted packet for processing {"connection_id":171577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b0"} 
[2026-09-05 14:03:59] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880753920001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:03:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 14:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788597000000,"timestamp_ms":1788597000000,"timestamp_seconds":1788597000,"priority":1,"record_length":96,"hex_timestamp":"000001a070b05740"} 
[2026-09-05 14:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:03: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-09-05 14:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 14:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880753920001,"66":25495,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880753920001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:03:59] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:03:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:03:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 14:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880753920001,"power":25495,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 14:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":171577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768922,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:03:59] local.INFO: GPS data processed {"connection_id":171577,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:03:59] local.INFO: Acknowledgment sent {"connection_id":171577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:04:01] local.INFO: TCP Data received {"connection_id":172969,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:04:01] local.INFO: Processing buffer {"connection_id":172969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:04:01] local.INFO: IMEI packet received {"connection_id":172969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":172969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:04:06] local.INFO: TCP Data received {"connection_id":172969,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:04:06] local.INFO: Processing buffer {"connection_id":172969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:04:06] local.INFO: IMEI packet received {"connection_id":172969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":172969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:04:07] local.INFO: TCP Data received {"connection_id":172969,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070b0e7c8012d7023c0060ca010000d00562d..."} 
[2026-09-05 14:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b0e7c8012d7023c0060ca010000d00562d..."} 
[2026-09-05 14:04:07] local.INFO: Processing buffer {"connection_id":172969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b0e7c8012d7023c0060ca010000d00562d..."} 
[2026-09-05 14:04:07] local.INFO: Packet analysis {"connection_id":172969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b0"} 
[2026-09-05 14:04:07] local.INFO: Extracted packet for processing {"connection_id":172969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b0"} 
[2026-09-05 14:04:07] local.INFO: GPS Element Parsed {"raw_longitude":762323904,"raw_latitude":101490704,"longitude_deg":76.2323904,"latitude_deg":10.1490704,"altitude":13,"angle":86,"satellites":45,"speed":0,"hex_longitude":"2d7023c0","hex_latitude":"060ca010","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880836096001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399757551408775168,"note":"Value kept but may cause issues"} 
[2026-09-05 14:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8080161444926072832,"note":"Value kept but may cause issues"} 
[2026-09-05 14:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788597037000,"timestamp_ms":1788597037000,"timestamp_seconds":1788597037,"priority":1,"record_length":96,"hex_timestamp":"000001a070b0e7c8"} 
[2026-09-05 14:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:04: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-09-05 14:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 14:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880836096001,"66":27974,"214":206,"79":46336,"24":0,"16":399757551408775168,"45":8080161444926072832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-09-05 14:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880836096001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:04:07] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 14:04:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399757551408775168,"km_value":399757551408775.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8080161444926072832,"description":"Unknown IO ID 45"} 
[2026-09-05 14:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880836096001,"power":27974,"unknown_214":206,"unknown_79":46336,"ignition":0,"odometer":null,"unknown_45":8080161444926072832}} 
[2026-09-05 14:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":172969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:04:07] local.INFO: GPS data processed {"connection_id":172969,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:04:07] local.INFO: Acknowledgment sent {"connection_id":172969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:04:20] local.INFO: TCP Data received {"connection_id":171576,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070b210a8012cf306c0072d1b80005400622a..."} 
[2026-09-05 14:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b210a8012cf306c0072d1b80005400622a..."} 
[2026-09-05 14:04:20] local.INFO: Processing buffer {"connection_id":171576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b210a8012cf306c0072d1b80005400622a..."} 
[2026-09-05 14:04:20] local.INFO: Packet analysis {"connection_id":171576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b2"} 
[2026-09-05 14:04:20] local.INFO: Extracted packet for processing {"connection_id":171576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b2"} 
[2026-09-05 14:04:20] local.INFO: GPS Element Parsed {"raw_longitude":754124480,"raw_latitude":120396672,"longitude_deg":75.412448,"latitude_deg":12.0396672,"altitude":84,"angle":98,"satellites":42,"speed":21,"hex_longitude":"2cf306c0","hex_latitude":"072d1b80","is_valid_coordinates":true} 
[2026-09-05 14:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880856064001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17752276655407104,"note":"Value kept but may cause issues"} 
[2026-09-05 14:04:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-945052203484082176,"note":"Value kept but may cause issues"} 
[2026-09-05 14:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788597113000,"timestamp_ms":1788597113000,"timestamp_seconds":1788597113,"priority":1,"record_length":96,"hex_timestamp":"000001a070b210a8"} 
[2026-09-05 14:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:04:20] 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-09-05 14:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-05 14:04:20] 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-09-05 14:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":171576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":171576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":171576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880856064001,"66":14004,"217":206,"83":44032,"24":21,"16":17752276655407104,"44":-945052203484082176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,44]} 
[2026-09-05 14:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880856064001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:04:20] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-05 14:04:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 14:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17752276655407104,"km_value":17752276655407.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:04:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-945052203484082176,"description":"Unknown IO ID 44"} 
[2026-09-05 14:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880856064001,"power":14004,"unknown_217":206,"unknown_83":44032,"ignition":21,"odometer":null,"unknown_44":-945052203484082176}} 
[2026-09-05 14:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":171576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:04:20] local.INFO: GPS data processed {"connection_id":171576,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:04:20] local.INFO: Acknowledgment sent {"connection_id":171576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:04:31] local.INFO: TCP Data received {"connection_id":171577,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070b05740012c7939c00848c5f00014000129..."} 
[2026-09-05 14:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b05740012c7939c00848c5f00014000129..."} 
[2026-09-05 14:04:31] local.INFO: Processing buffer {"connection_id":171577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b05740012c7939c00848c5f00014000129..."} 
[2026-09-05 14:04:31] local.INFO: Packet analysis {"connection_id":171577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b0"} 
[2026-09-05 14:04:31] local.INFO: Extracted packet for processing {"connection_id":171577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b0"} 
[2026-09-05 14:04:31] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880753920001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:04:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 14:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788597000000,"timestamp_ms":1788597000000,"timestamp_seconds":1788597000,"priority":1,"record_length":96,"hex_timestamp":"000001a070b05740"} 
[2026-09-05 14:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:04: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-09-05 14: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":118,"data_length":795,"current_offset":136} 
[2026-09-05 14:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880753920001,"66":25495,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880753920001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:04:31] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:04:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:04:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 14:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880753920001,"power":25495,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 14:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":171577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768925,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:04:31] local.INFO: GPS data processed {"connection_id":171577,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:04:31] local.INFO: Acknowledgment sent {"connection_id":171577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:04:38] local.INFO: TCP Data received {"connection_id":172969,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070b139d0012d702740060ca058000d00522e..."} 
[2026-09-05 14:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b139d0012d702740060ca058000d00522e..."} 
[2026-09-05 14:04:38] local.INFO: Processing buffer {"connection_id":172969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b139d0012d702740060ca058000d00522e..."} 
[2026-09-05 14:04:38] local.INFO: Packet analysis {"connection_id":172969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b1"} 
[2026-09-05 14:04:38] local.INFO: Extracted packet for processing {"connection_id":172969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b1"} 
[2026-09-05 14:04:38] local.INFO: GPS Element Parsed {"raw_longitude":762324800,"raw_latitude":101490776,"longitude_deg":76.23248,"latitude_deg":10.1490776,"altitude":13,"angle":82,"satellites":46,"speed":0,"hex_longitude":"2d702740","hex_latitude":"060ca058","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880841472001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399757598653415424,"note":"Value kept but may cause issues"} 
[2026-09-05 14:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8080513288646955008,"note":"Value kept but may cause issues"} 
[2026-09-05 14:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788597058000,"timestamp_ms":1788597058000,"timestamp_seconds":1788597058,"priority":1,"record_length":96,"hex_timestamp":"000001a070b139d0"} 
[2026-09-05 14:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:04: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-09-05 14: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 14:04:38] 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-09-05 14: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-09-05 14:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":172969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":172969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":172969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880841472001,"66":28050,"214":206,"79":46336,"24":0,"16":399757598653415424,"45":8080513288646955008},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-09-05 14:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880841472001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:04:38] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 14:04:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399757598653415424,"km_value":399757598653415.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8080513288646955008,"description":"Unknown IO ID 45"} 
[2026-09-05 14:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880841472001,"power":28050,"unknown_214":206,"unknown_79":46336,"ignition":0,"odometer":null,"unknown_45":8080513288646955008}} 
[2026-09-05 14:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":172969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:04:38] local.INFO: GPS data processed {"connection_id":172969,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:04:38] local.INFO: Acknowledgment sent {"connection_id":172969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:04:45] local.INFO: TCP Data received {"connection_id":171878,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:04:45] local.INFO: Processing buffer {"connection_id":171878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:04:45] local.INFO: IMEI packet received {"connection_id":171878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":171878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:04:48] local.INFO: TCP Data received {"connection_id":174291,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174291,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:04:48] local.INFO: Processing buffer {"connection_id":174291,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:04:48] local.INFO: IMEI packet received {"connection_id":174291,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":174291,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:04:49] local.INFO: TCP Data received {"connection_id":171878,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:04:49] local.INFO: Processing buffer {"connection_id":171878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:04:49] local.INFO: IMEI packet received {"connection_id":171878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":171878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:04:50] local.INFO: TCP Data received {"connection_id":171878,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070b24f28012cf32b80072d16d8005600602b..."} 
[2026-09-05 14:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b24f28012cf32b80072d16d8005600602b..."} 
[2026-09-05 14:04:50] local.INFO: Processing buffer {"connection_id":171878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b24f28012cf32b80072d16d8005600602b..."} 
[2026-09-05 14:04:50] local.INFO: Packet analysis {"connection_id":171878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b2"} 
[2026-09-05 14:04:50] local.INFO: Extracted packet for processing {"connection_id":171878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b2"} 
[2026-09-05 14:04:50] local.INFO: GPS Element Parsed {"raw_longitude":754133888,"raw_latitude":120395480,"longitude_deg":75.4133888,"latitude_deg":12.039548,"altitude":86,"angle":96,"satellites":43,"speed":25,"hex_longitude":"2cf32b80","hex_latitude":"072d16d8","is_valid_coordinates":true} 
[2026-09-05 14:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880860928001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17752731921940480,"note":"Value kept but may cause issues"} 
[2026-09-05 14:04:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-934848735578718208,"note":"Value kept but may cause issues"} 
[2026-09-05 14:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788597129000,"timestamp_ms":1788597129000,"timestamp_seconds":1788597129,"priority":1,"record_length":96,"hex_timestamp":"000001a070b24f28"} 
[2026-09-05 14:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:04:50] 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-09-05 14:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-05 14:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880860928001,"66":14374,"217":206,"83":44032,"24":25,"16":17752731921940480,"44":-934848735578718208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,44]} 
[2026-09-05 14:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880860928001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:04:50] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-05 14:04:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 14:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17752731921940480,"km_value":17752731921940.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:04:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-934848735578718208,"description":"Unknown IO ID 44"} 
[2026-09-05 14:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880860928001,"power":14374,"unknown_217":206,"unknown_83":44032,"ignition":25,"odometer":null,"unknown_44":-934848735578718208}} 
[2026-09-05 14:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":171878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:04:50] local.INFO: GPS data processed {"connection_id":171878,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:04:50] local.INFO: Acknowledgment sent {"connection_id":171878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:04:52] local.INFO: TCP Data received {"connection_id":174291,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174291,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:04:52] local.INFO: Processing buffer {"connection_id":174291,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:04:52] local.INFO: IMEI packet received {"connection_id":174291,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":174291,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:04:54] local.INFO: TCP Data received {"connection_id":174291,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070b05740012c7939c00848c5f00014000129..."} 
[2026-09-05 14:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b05740012c7939c00848c5f00014000129..."} 
[2026-09-05 14:04:54] local.INFO: Processing buffer {"connection_id":174291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b05740012c7939c00848c5f00014000129..."} 
[2026-09-05 14:04:54] local.INFO: Packet analysis {"connection_id":174291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b0"} 
[2026-09-05 14:04:54] local.INFO: Extracted packet for processing {"connection_id":174291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b0"} 
[2026-09-05 14:04:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880753920001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:04:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 14:04:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788597000000,"timestamp_ms":1788597000000,"timestamp_seconds":1788597000,"priority":1,"record_length":96,"hex_timestamp":"000001a070b05740"} 
[2026-09-05 14:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 14:04:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174291,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174291,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880753920001,"66":25495,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880753920001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:04:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:04:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:04:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 14:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880753920001,"power":25495,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 14:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":174291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768928,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:04:54] local.INFO: GPS data processed {"connection_id":174291,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:04:54] local.INFO: Acknowledgment sent {"connection_id":174291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:04:56] local.INFO: TCP Data received {"connection_id":171578,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:04:56] local.INFO: Processing buffer {"connection_id":171578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:04:56] local.INFO: IMEI packet received {"connection_id":171578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":171578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:05:01] local.INFO: TCP Data received {"connection_id":171578,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:05:01] local.INFO: Processing buffer {"connection_id":171578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:05:01] local.INFO: IMEI packet received {"connection_id":171578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":171578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:05:02] local.INFO: TCP Data received {"connection_id":171578,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070b18bd8012d702880060ca098000d00522e..."} 
[2026-09-05 14:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b18bd8012d702880060ca098000d00522e..."} 
[2026-09-05 14:05:02] local.INFO: Processing buffer {"connection_id":171578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b18bd8012d702880060ca098000d00522e..."} 
[2026-09-05 14:05:02] local.INFO: Packet analysis {"connection_id":171578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b1"} 
[2026-09-05 14:05:02] local.INFO: Extracted packet for processing {"connection_id":171578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b1"} 
[2026-09-05 14:05:02] local.INFO: GPS Element Parsed {"raw_longitude":762325120,"raw_latitude":101490840,"longitude_deg":76.232512,"latitude_deg":10.149084,"altitude":13,"angle":82,"satellites":46,"speed":0,"hex_longitude":"2d702880","hex_latitude":"060ca098","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880846848001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399757611538317312,"note":"Value kept but may cause issues"} 
[2026-09-05 14:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8081498451065460736,"note":"Value kept but may cause issues"} 
[2026-09-05 14:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788597079000,"timestamp_ms":1788597079000,"timestamp_seconds":1788597079,"priority":1,"record_length":96,"hex_timestamp":"000001a070b18bd8"} 
[2026-09-05 14:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 14:05:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880846848001,"66":27930,"214":206,"79":46336,"24":0,"16":399757611538317312,"45":8081498451065460736},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-09-05 14:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880846848001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:05:02] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 14:05:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399757611538317312,"km_value":399757611538317.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8081498451065460736,"description":"Unknown IO ID 45"} 
[2026-09-05 14:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880846848001,"power":27930,"unknown_214":206,"unknown_79":46336,"ignition":0,"odometer":null,"unknown_45":8081498451065460736}} 
[2026-09-05 14:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":171578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:05:02] local.INFO: GPS data processed {"connection_id":171578,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:05:02] local.INFO: Acknowledgment sent {"connection_id":171578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:05:21] local.INFO: TCP Data received {"connection_id":171878,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070b42bb8012cf4c280072d2ca8005100512e..."} 
[2026-09-05 14:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b42bb8012cf4c280072d2ca8005100512e..."} 
[2026-09-05 14:05:21] local.INFO: Processing buffer {"connection_id":171878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b42bb8012cf4c280072d2ca8005100512e..."} 
[2026-09-05 14:05:21] local.INFO: Packet analysis {"connection_id":171878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b4"} 
[2026-09-05 14:05:21] local.INFO: Extracted packet for processing {"connection_id":171878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b4"} 
[2026-09-05 14:05:21] local.INFO: GPS Element Parsed {"raw_longitude":754238080,"raw_latitude":120401064,"longitude_deg":75.423808,"latitude_deg":12.0401064,"altitude":81,"angle":81,"satellites":46,"speed":39,"hex_longitude":"2cf4c280","hex_latitude":"072d2ca8","is_valid_coordinates":true} 
[2026-09-05 14:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880893696001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17757692609167360,"note":"Value kept but may cause issues"} 
[2026-09-05 14:05:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-820710632521824256,"note":"Value kept but may cause issues"} 
[2026-09-05 14:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788597251000,"timestamp_ms":1788597251000,"timestamp_seconds":1788597251,"priority":1,"record_length":96,"hex_timestamp":"000001a070b42bb8"} 
[2026-09-05 14:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-05 14:05:21] 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-09-05 14:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880893696001,"66":14407,"229":206,"83":44032,"24":39,"16":17757692609167360,"44":-820710632521824256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-09-05 14:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880893696001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:05:21] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 14:05:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 14:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17757692609167360,"km_value":17757692609167.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:05:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-820710632521824256,"description":"Unknown IO ID 44"} 
[2026-09-05 14:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880893696001,"power":14407,"unknown_229":206,"unknown_83":44032,"ignition":39,"odometer":null,"unknown_44":-820710632521824256}} 
[2026-09-05 14:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":171878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:05:21] local.INFO: GPS data processed {"connection_id":171878,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:05:21] local.INFO: Acknowledgment sent {"connection_id":171878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:05:25] local.INFO: TCP Data received {"connection_id":174291,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070b05740012c7939c00848c5f00014000129..."} 
[2026-09-05 14:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b05740012c7939c00848c5f00014000129..."} 
[2026-09-05 14:05:26] local.INFO: Processing buffer {"connection_id":174291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b05740012c7939c00848c5f00014000129..."} 
[2026-09-05 14:05:26] local.INFO: Packet analysis {"connection_id":174291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b0"} 
[2026-09-05 14:05:26] local.INFO: Extracted packet for processing {"connection_id":174291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b0"} 
[2026-09-05 14:05:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880753920001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:05:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 14:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788597000000,"timestamp_ms":1788597000000,"timestamp_seconds":1788597000,"priority":1,"record_length":96,"hex_timestamp":"000001a070b05740"} 
[2026-09-05 14:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 14:05:26] 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-09-05 14:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174291,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174291,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880753920001,"66":25495,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880753920001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:05:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:05:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:05:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 14:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880753920001,"power":25495,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 14:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":174291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768931,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:05:26] local.INFO: GPS data processed {"connection_id":174291,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:05:26] local.INFO: Acknowledgment sent {"connection_id":174291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:05:33] local.INFO: TCP Data received {"connection_id":171578,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070b1dde0012d702a40060ca0d0000d00522e..."} 
[2026-09-05 14:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b1dde0012d702a40060ca0d0000d00522e..."} 
[2026-09-05 14:05:33] local.INFO: Processing buffer {"connection_id":171578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b1dde0012d702a40060ca0d0000d00522e..."} 
[2026-09-05 14:05:33] local.INFO: Packet analysis {"connection_id":171578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b1"} 
[2026-09-05 14:05:33] local.INFO: Extracted packet for processing {"connection_id":171578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b1"} 
[2026-09-05 14:05:33] local.INFO: GPS Element Parsed {"raw_longitude":762325568,"raw_latitude":101490896,"longitude_deg":76.2325568,"latitude_deg":10.1490896,"altitude":13,"angle":82,"satellites":46,"speed":0,"hex_longitude":"2d702a40","hex_latitude":"060ca0d0","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880852224001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399757637308121088,"note":"Value kept but may cause issues"} 
[2026-09-05 14:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8081850294786365440,"note":"Value kept but may cause issues"} 
[2026-09-05 14:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788597100000,"timestamp_ms":1788597100000,"timestamp_seconds":1788597100,"priority":1,"record_length":96,"hex_timestamp":"000001a070b1dde0"} 
[2026-09-05 14:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14: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-09-05 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 14:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880852224001,"66":27930,"214":206,"79":46336,"24":0,"16":399757637308121088,"45":8081850294786365440},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-09-05 14:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880852224001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:05:33] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 14:05:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399757637308121088,"km_value":399757637308121.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8081850294786365440,"description":"Unknown IO ID 45"} 
[2026-09-05 14:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880852224001,"power":27930,"unknown_214":206,"unknown_79":46336,"ignition":0,"odometer":null,"unknown_45":8081850294786365440}} 
[2026-09-05 14:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":171578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:05:33] local.INFO: GPS data processed {"connection_id":171578,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:05:33] local.INFO: Acknowledgment sent {"connection_id":171578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:05:45] local.INFO: TCP Data received {"connection_id":171879,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:05:45] local.INFO: Processing buffer {"connection_id":171879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:05:45] local.INFO: IMEI packet received {"connection_id":171879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":171879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:05:47] local.INFO: TCP Data received {"connection_id":172970,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:05:47] local.INFO: Processing buffer {"connection_id":172970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:05:47] local.INFO: IMEI packet received {"connection_id":172970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":172970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:05:50] local.INFO: TCP Data received {"connection_id":171879,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:05:50] local.INFO: Processing buffer {"connection_id":171879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:05:50] local.INFO: IMEI packet received {"connection_id":171879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":171879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:05:51] local.INFO: TCP Data received {"connection_id":171879,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070b44ee0012cf4e7c0072d33400053004e2c..."} 
[2026-09-05 14:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b44ee0012cf4e7c0072d33400053004e2c..."} 
[2026-09-05 14:05:51] local.INFO: Processing buffer {"connection_id":171879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b44ee0012cf4e7c0072d33400053004e2c..."} 
[2026-09-05 14:05:51] local.INFO: Packet analysis {"connection_id":171879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b4"} 
[2026-09-05 14:05:51] local.INFO: Extracted packet for processing {"connection_id":171879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b4"} 
[2026-09-05 14:05:51] local.INFO: GPS Element Parsed {"raw_longitude":754247616,"raw_latitude":120402752,"longitude_deg":75.4247616,"latitude_deg":12.0402752,"altitude":83,"angle":78,"satellites":44,"speed":42,"hex_longitude":"2cf4e7c0","hex_latitude":"072d3340","is_valid_coordinates":true} 
[2026-09-05 14:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880896256001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17758152170668032,"note":"Value kept but may cause issues"} 
[2026-09-05 14:05:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-809944214662240256,"note":"Value kept but may cause issues"} 
[2026-09-05 14:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788597260000,"timestamp_ms":1788597260000,"timestamp_seconds":1788597260,"priority":1,"record_length":96,"hex_timestamp":"000001a070b44ee0"} 
[2026-09-05 14:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:05:51] 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-09-05 14:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-05 14:05:51] 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-09-05 14:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880896256001,"66":14374,"229":206,"83":44032,"24":42,"16":17758152170668032,"44":-809944214662240256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-09-05 14:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880896256001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:05:51] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 14:05:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 14:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17758152170668032,"km_value":17758152170668.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:05:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-809944214662240256,"description":"Unknown IO ID 44"} 
[2026-09-05 14:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880896256001,"power":14374,"unknown_229":206,"unknown_83":44032,"ignition":42,"odometer":null,"unknown_44":-809944214662240256}} 
[2026-09-05 14:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":171879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:05:51] local.INFO: GPS data processed {"connection_id":171879,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:05:51] local.INFO: Acknowledgment sent {"connection_id":171879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:05:52] local.INFO: TCP Data received {"connection_id":172970,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:05:52] local.INFO: Processing buffer {"connection_id":172970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:05:52] local.INFO: IMEI packet received {"connection_id":172970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":172970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:05:54] local.INFO: TCP Data received {"connection_id":172970,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070b4ef08012c7939c00848c5f00014000129..."} 
[2026-09-05 14:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b4ef08012c7939c00848c5f00014000129..."} 
[2026-09-05 14:05:54] local.INFO: Processing buffer {"connection_id":172970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b4ef08012c7939c00848c5f00014000129..."} 
[2026-09-05 14:05:54] local.INFO: Packet analysis {"connection_id":172970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b4"} 
[2026-09-05 14:05:54] local.INFO: Extracted packet for processing {"connection_id":172970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b4"} 
[2026-09-05 14:05:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:05: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-09-05 14:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880832000001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:05:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:05:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788597301000,"timestamp_ms":1788597301000,"timestamp_seconds":1788597301,"priority":1,"record_length":96,"hex_timestamp":"000001a070b4ef08"} 
[2026-09-05 14:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 14:05:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:05:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172970,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172970,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880832000001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880832000001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:05:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:05:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:05:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880832000001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":172970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768934,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:05:55] local.INFO: GPS data processed {"connection_id":172970,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:05:55] local.INFO: Acknowledgment sent {"connection_id":172970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:05:56] local.INFO: TCP Data received {"connection_id":172971,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:05:56] local.INFO: Processing buffer {"connection_id":172971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:05:56] local.INFO: IMEI packet received {"connection_id":172971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":172971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:06:01] local.INFO: TCP Data received {"connection_id":172971,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:06:01] local.INFO: Processing buffer {"connection_id":172971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:06:01] local.INFO: IMEI packet received {"connection_id":172971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":172971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:06:02] local.INFO: TCP Data received {"connection_id":172971,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070b22fe8012d702ec0060ca0d0000e00522f..."} 
[2026-09-05 14:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b22fe8012d702ec0060ca0d0000e00522f..."} 
[2026-09-05 14:06:02] local.INFO: Processing buffer {"connection_id":172971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b22fe8012d702ec0060ca0d0000e00522f..."} 
[2026-09-05 14:06:02] local.INFO: Packet analysis {"connection_id":172971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b2"} 
[2026-09-05 14:06:02] local.INFO: Extracted packet for processing {"connection_id":172971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b2"} 
[2026-09-05 14:06:02] local.INFO: GPS Element Parsed {"raw_longitude":762326720,"raw_latitude":101490896,"longitude_deg":76.232672,"latitude_deg":10.1490896,"altitude":14,"angle":82,"satellites":47,"speed":0,"hex_longitude":"2d702ec0","hex_latitude":"060ca0d0","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880857600001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399757693142695936,"note":"Value kept but may cause issues"} 
[2026-09-05 14:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8082342875995623424,"note":"Value kept but may cause issues"} 
[2026-09-05 14:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788597121000,"timestamp_ms":1788597121000,"timestamp_seconds":1788597121,"priority":1,"record_length":96,"hex_timestamp":"000001a070b22fe8"} 
[2026-09-05 14:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 14:06: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-09-05 14: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-09-05 14:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880857600001,"66":27908,"214":206,"79":46336,"24":0,"16":399757693142695936,"45":8082342875995623424},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-09-05 14:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880857600001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:06:02] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 14:06:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399757693142695936,"km_value":399757693142695.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8082342875995623424,"description":"Unknown IO ID 45"} 
[2026-09-05 14:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880857600001,"power":27908,"unknown_214":206,"unknown_79":46336,"ignition":0,"odometer":null,"unknown_45":8082342875995623424}} 
[2026-09-05 14:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":172971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:06:02] local.INFO: GPS data processed {"connection_id":172971,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:06:02] local.INFO: Acknowledgment sent {"connection_id":172971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:06:22] local.INFO: TCP Data received {"connection_id":171879,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070b475f0012cf50d80072d3a980054004d2b..."} 
[2026-09-05 14:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b475f0012cf50d80072d3a980054004d2b..."} 
[2026-09-05 14:06:22] local.INFO: Processing buffer {"connection_id":171879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b475f0012cf50d80072d3a980054004d2b..."} 
[2026-09-05 14:06:22] local.INFO: Packet analysis {"connection_id":171879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b4"} 
[2026-09-05 14:06:22] local.INFO: Extracted packet for processing {"connection_id":171879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b4"} 
[2026-09-05 14:06:22] local.INFO: GPS Element Parsed {"raw_longitude":754257280,"raw_latitude":120404632,"longitude_deg":75.425728,"latitude_deg":12.0404632,"altitude":84,"angle":77,"satellites":43,"speed":33,"hex_longitude":"2cf50d80","hex_latitude":"072d3a98","is_valid_coordinates":true} 
[2026-09-05 14:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880898560001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17758620322103296,"note":"Value kept but may cause issues"} 
[2026-09-05 14:06:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-799459271779336192,"note":"Value kept but may cause issues"} 
[2026-09-05 14:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788597270000,"timestamp_ms":1788597270000,"timestamp_seconds":1788597270,"priority":1,"record_length":96,"hex_timestamp":"000001a070b475f0"} 
[2026-09-05 14:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:06:22] 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-09-05 14:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 14:06:22] 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-09-05 14:06:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880898560001,"66":14048,"229":206,"83":44032,"24":33,"16":17758620322103296,"44":-799459271779336192},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-09-05 14:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880898560001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:06:22] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 14:06:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 14:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17758620322103296,"km_value":17758620322103.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:06:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-799459271779336192,"description":"Unknown IO ID 44"} 
[2026-09-05 14:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880898560001,"power":14048,"unknown_229":206,"unknown_83":44032,"ignition":33,"odometer":null,"unknown_44":-799459271779336192}} 
[2026-09-05 14:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":171879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:06:22] local.INFO: GPS data processed {"connection_id":171879,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:06:22] local.INFO: Acknowledgment sent {"connection_id":171879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:06:26] local.INFO: TCP Data received {"connection_id":172970,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070b4ef08012c7939c00848c5f00014000129..."} 
[2026-09-05 14:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b4ef08012c7939c00848c5f00014000129..."} 
[2026-09-05 14:06:26] local.INFO: Processing buffer {"connection_id":172970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b4ef08012c7939c00848c5f00014000129..."} 
[2026-09-05 14:06:26] local.INFO: Packet analysis {"connection_id":172970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b4"} 
[2026-09-05 14:06:26] local.INFO: Extracted packet for processing {"connection_id":172970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b4"} 
[2026-09-05 14:06:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880832000001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:06:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788597301000,"timestamp_ms":1788597301000,"timestamp_seconds":1788597301,"priority":1,"record_length":96,"hex_timestamp":"000001a070b4ef08"} 
[2026-09-05 14:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 14:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172970,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172970,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880832000001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880832000001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:06:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:06:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:06:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880832000001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":172970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768937,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:06:26] local.INFO: GPS data processed {"connection_id":172970,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:06:26] local.INFO: Acknowledgment sent {"connection_id":172970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:06:33] local.INFO: TCP Data received {"connection_id":172971,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070b281f0012d703040060ca0f0000e00522e..."} 
[2026-09-05 14:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b281f0012d703040060ca0f0000e00522e..."} 
[2026-09-05 14:06:33] local.INFO: Processing buffer {"connection_id":172971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b281f0012d703040060ca0f0000e00522e..."} 
[2026-09-05 14:06:33] local.INFO: Packet analysis {"connection_id":172971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b2"} 
[2026-09-05 14:06:33] local.INFO: Extracted packet for processing {"connection_id":172971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b2"} 
[2026-09-05 14:06:33] local.INFO: GPS Element Parsed {"raw_longitude":762327104,"raw_latitude":101490928,"longitude_deg":76.2327104,"latitude_deg":10.1490928,"altitude":14,"angle":82,"satellites":46,"speed":0,"hex_longitude":"2d703040","hex_latitude":"060ca0f0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 14:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880862976001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399757710322565120,"note":"Value kept but may cause issues"} 
[2026-09-05 14:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8083609513390821376,"note":"Value kept but may cause issues"} 
[2026-09-05 14:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788597142000,"timestamp_ms":1788597142000,"timestamp_seconds":1788597142,"priority":1,"record_length":96,"hex_timestamp":"000001a070b281f0"} 
[2026-09-05 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-09-05 14:06: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-09-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 14:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 14:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880862976001,"66":27908,"214":206,"79":46336,"24":0,"16":399757710322565120,"45":8083609513390821376},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-09-05 14:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880862976001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:06:33] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 14:06:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399757710322565120,"km_value":399757710322565.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8083609513390821376,"description":"Unknown IO ID 45"} 
[2026-09-05 14:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880862976001,"power":27908,"unknown_214":206,"unknown_79":46336,"ignition":0,"odometer":null,"unknown_45":8083609513390821376}} 
[2026-09-05 14:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":172971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:06:33] local.INFO: GPS data processed {"connection_id":172971,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:06:33] local.INFO: Acknowledgment sent {"connection_id":172971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:06:45] local.INFO: TCP Data received {"connection_id":174293,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:06:45] local.INFO: Processing buffer {"connection_id":174293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:06:45] local.INFO: IMEI packet received {"connection_id":174293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":174293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:06:47] local.INFO: TCP Data received {"connection_id":174292,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174292,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:06:47] local.INFO: Processing buffer {"connection_id":174292,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:06:47] local.INFO: IMEI packet received {"connection_id":174292,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":174292,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:06:50] local.INFO: TCP Data received {"connection_id":174293,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:06:50] local.INFO: Processing buffer {"connection_id":174293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:06:50] local.INFO: IMEI packet received {"connection_id":174293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":174293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:06:51] local.INFO: TCP Data received {"connection_id":174293,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070b4a8b8012cf52ec0072d43080055003e2f..."} 
[2026-09-05 14:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b4a8b8012cf52ec0072d43080055003e2f..."} 
[2026-09-05 14:06:51] local.INFO: Processing buffer {"connection_id":174293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b4a8b8012cf52ec0072d43080055003e2f..."} 
[2026-09-05 14:06:51] local.INFO: Packet analysis {"connection_id":174293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b4"} 
[2026-09-05 14:06:51] local.INFO: Extracted packet for processing {"connection_id":174293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b4"} 
[2026-09-05 14:06:51] local.INFO: GPS Element Parsed {"raw_longitude":754265792,"raw_latitude":120406792,"longitude_deg":75.4265792,"latitude_deg":12.0406792,"altitude":85,"angle":62,"satellites":47,"speed":27,"hex_longitude":"2cf52ec0","hex_latitude":"072d4308","is_valid_coordinates":true} 
[2026-09-05 14:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880901120001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17759041228898304,"note":"Value kept but may cause issues"} 
[2026-09-05 14:06:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-788833591408027648,"note":"Value kept but may cause issues"} 
[2026-09-05 14:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788597283000,"timestamp_ms":1788597283000,"timestamp_seconds":1788597283,"priority":1,"record_length":96,"hex_timestamp":"000001a070b4a8b8"} 
[2026-09-05 14:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-05 14:06:51] 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-09-05 14:06:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880901120001,"66":14004,"229":206,"83":44032,"24":27,"16":17759041228898304,"44":-788833591408027648},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-09-05 14:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880901120001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:06:51] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 14:06:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-05 14:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17759041228898304,"km_value":17759041228898.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:06:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-788833591408027648,"description":"Unknown IO ID 44"} 
[2026-09-05 14:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880901120001,"power":14004,"unknown_229":206,"unknown_83":44032,"ignition":27,"odometer":null,"unknown_44":-788833591408027648}} 
[2026-09-05 14:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":174293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:06:51] local.INFO: GPS data processed {"connection_id":174293,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:06:51] local.INFO: Acknowledgment sent {"connection_id":174293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:06:53] local.INFO: TCP Data received {"connection_id":174292,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174292,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:06:53] local.INFO: Processing buffer {"connection_id":174292,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:06:53] local.INFO: IMEI packet received {"connection_id":174292,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":174292,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:06:55] local.INFO: TCP Data received {"connection_id":174292,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070b4ef08012c7939c00848c5f00014000129..."} 
[2026-09-05 14:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b4ef08012c7939c00848c5f00014000129..."} 
[2026-09-05 14:06:55] local.INFO: Processing buffer {"connection_id":174292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b4ef08012c7939c00848c5f00014000129..."} 
[2026-09-05 14:06:55] local.INFO: Packet analysis {"connection_id":174292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b4"} 
[2026-09-05 14:06:55] local.INFO: Extracted packet for processing {"connection_id":174292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b4"} 
[2026-09-05 14:06:55] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880832000001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:06:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788597301000,"timestamp_ms":1788597301000,"timestamp_seconds":1788597301,"priority":1,"record_length":96,"hex_timestamp":"000001a070b4ef08"} 
[2026-09-05 14:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 14:06:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174292,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174292,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880832000001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880832000001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:06:55] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:06:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:06:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880832000001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":174292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768940,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:06:55] local.INFO: GPS data processed {"connection_id":174292,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:06:55] local.INFO: Acknowledgment sent {"connection_id":174292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:06:55] local.INFO: TCP Data received {"connection_id":171579,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:06:55] local.INFO: Processing buffer {"connection_id":171579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:06:55] local.INFO: IMEI packet received {"connection_id":171579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":171579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:06:56] local.INFO: TCP Data received {"connection_id":171579,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:06:56] local.INFO: Processing buffer {"connection_id":171579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:06:56] local.INFO: IMEI packet received {"connection_id":171579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":171579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:07:01] local.INFO: TCP Data received {"connection_id":171579,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:07:01] local.INFO: Processing buffer {"connection_id":171579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:07:01] local.INFO: IMEI packet received {"connection_id":171579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":171579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:07:02] local.INFO: TCP Data received {"connection_id":171579,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070b2d3f8012d703040060ca0f0000e00522e..."} 
[2026-09-05 14:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b2d3f8012d703040060ca0f0000e00522e..."} 
[2026-09-05 14:07:02] local.INFO: Processing buffer {"connection_id":171579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b2d3f8012d703040060ca0f0000e00522e..."} 
[2026-09-05 14:07:02] local.INFO: Packet analysis {"connection_id":171579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b2"} 
[2026-09-05 14:07:02] local.INFO: Extracted packet for processing {"connection_id":171579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b2"} 
[2026-09-05 14:07:02] local.INFO: GPS Element Parsed {"raw_longitude":762327104,"raw_latitude":101490928,"longitude_deg":76.2327104,"latitude_deg":10.1490928,"altitude":14,"angle":82,"satellites":46,"speed":0,"hex_longitude":"2d703040","hex_latitude":"060ca0f0","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880868352001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399757710322565120,"note":"Value kept but may cause issues"} 
[2026-09-05 14:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8084031725855895552,"note":"Value kept but may cause issues"} 
[2026-09-05 14:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788597163000,"timestamp_ms":1788597163000,"timestamp_seconds":1788597163,"priority":1,"record_length":96,"hex_timestamp":"000001a070b2d3f8"} 
[2026-09-05 14:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 14:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880868352001,"66":28050,"214":206,"79":46336,"24":0,"16":399757710322565120,"45":8084031725855895552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-09-05 14:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880868352001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:07:02] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 14:07:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399757710322565120,"km_value":399757710322565.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8084031725855895552,"description":"Unknown IO ID 45"} 
[2026-09-05 14:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880868352001,"power":28050,"unknown_214":206,"unknown_79":46336,"ignition":0,"odometer":null,"unknown_45":8084031725855895552}} 
[2026-09-05 14:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":171579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:07:02] local.INFO: GPS data processed {"connection_id":171579,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:07:02] local.INFO: Acknowledgment sent {"connection_id":171579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:07:22] local.INFO: TCP Data received {"connection_id":174293,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070b675a8012cf67900072e2630003a00772c..."} 
[2026-09-05 14:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b675a8012cf67900072e2630003a00772c..."} 
[2026-09-05 14:07:22] local.INFO: Processing buffer {"connection_id":174293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b675a8012cf67900072e2630003a00772c..."} 
[2026-09-05 14:07:22] local.INFO: Packet analysis {"connection_id":174293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b6"} 
[2026-09-05 14:07:22] local.INFO: Extracted packet for processing {"connection_id":174293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b6"} 
[2026-09-05 14:07:22] local.INFO: GPS Element Parsed {"raw_longitude":754350336,"raw_latitude":120464944,"longitude_deg":75.4350336,"latitude_deg":12.0464944,"altitude":58,"angle":119,"satellites":44,"speed":26,"hex_longitude":"2cf67900","hex_latitude":"072e2630","is_valid_coordinates":true} 
[2026-09-05 14:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880933376001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17764452887691264,"note":"Value kept but may cause issues"} 
[2026-09-05 14:07:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-690387718287833088,"note":"Value kept but may cause issues"} 
[2026-09-05 14:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788597401000,"timestamp_ms":1788597401000,"timestamp_seconds":1788597401,"priority":1,"record_length":96,"hex_timestamp":"000001a070b675a8"} 
[2026-09-05 14:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:07:22] 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-09-05 14:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 14:07:22] 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-09-05 14:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880933376001,"66":14407,"79":206,"83":43776,"24":26,"16":17764452887691264,"44":-690387718287833088},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,44]} 
[2026-09-05 14:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880933376001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:07:22] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-05 14:07:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-09-05 14:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17764452887691264,"km_value":17764452887691.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:07:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-690387718287833088,"description":"Unknown IO ID 44"} 
[2026-09-05 14:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880933376001,"power":14407,"unknown_79":206,"unknown_83":43776,"ignition":26,"odometer":null,"unknown_44":-690387718287833088}} 
[2026-09-05 14:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":174293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:07:22] local.INFO: GPS data processed {"connection_id":174293,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:07:22] local.INFO: Acknowledgment sent {"connection_id":174293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:07:27] local.INFO: TCP Data received {"connection_id":174292,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070b4ef08012c7939c00848c5f00014000129..."} 
[2026-09-05 14:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b4ef08012c7939c00848c5f00014000129..."} 
[2026-09-05 14:07:27] local.INFO: Processing buffer {"connection_id":174292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b4ef08012c7939c00848c5f00014000129..."} 
[2026-09-05 14:07:27] local.INFO: Packet analysis {"connection_id":174292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b4"} 
[2026-09-05 14:07:27] local.INFO: Extracted packet for processing {"connection_id":174292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b4"} 
[2026-09-05 14:07:27] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:07: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-09-05 14:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880832000001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:07:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788597301000,"timestamp_ms":1788597301000,"timestamp_seconds":1788597301,"priority":1,"record_length":96,"hex_timestamp":"000001a070b4ef08"} 
[2026-09-05 14:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 14:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:07: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-09-05 14:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174292,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174292,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880832000001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880832000001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:07:27] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:07:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:07:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880832000001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":174292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768943,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:07:27] local.INFO: GPS data processed {"connection_id":174292,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:07:27] local.INFO: Acknowledgment sent {"connection_id":174292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:07:33] local.INFO: TCP Data received {"connection_id":171579,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070b31660012d703040060ca158000d00602f..."} 
[2026-09-05 14:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b31660012d703040060ca158000d00602f..."} 
[2026-09-05 14:07:33] local.INFO: Processing buffer {"connection_id":171579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b31660012d703040060ca158000d00602f..."} 
[2026-09-05 14:07:33] local.INFO: Packet analysis {"connection_id":171579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b3"} 
[2026-09-05 14:07:33] local.INFO: Extracted packet for processing {"connection_id":171579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b3"} 
[2026-09-05 14:07:33] local.INFO: GPS Element Parsed {"raw_longitude":762327104,"raw_latitude":101491032,"longitude_deg":76.2327104,"latitude_deg":10.1491032,"altitude":13,"angle":96,"satellites":47,"speed":1,"hex_longitude":"2d703040","hex_latitude":"060ca158","is_valid_coordinates":true} 
[2026-09-05 14:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880873728001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399757718912499712,"note":"Value kept but may cause issues"} 
[2026-09-05 14:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8084031725855895552,"note":"Value kept but may cause issues"} 
[2026-09-05 14:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788597180000,"timestamp_ms":1788597180000,"timestamp_seconds":1788597180,"priority":1,"record_length":96,"hex_timestamp":"000001a070b31660"} 
[2026-09-05 14:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:07: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-09-05 14:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 14:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880873728001,"66":28006,"214":206,"79":46336,"24":1,"16":399757718912499712,"45":8084031725855895552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-09-05 14:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880873728001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:07:33] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 14:07:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399757718912499712,"km_value":399757718912499.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8084031725855895552,"description":"Unknown IO ID 45"} 
[2026-09-05 14:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880873728001,"power":28006,"unknown_214":206,"unknown_79":46336,"ignition":1,"odometer":null,"unknown_45":8084031725855895552}} 
[2026-09-05 14:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":171579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:07:33] local.INFO: GPS data processed {"connection_id":171579,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:07:33] local.INFO: Acknowledgment sent {"connection_id":171579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:07:45] local.INFO: TCP Data received {"connection_id":171880,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:07:45] local.INFO: Processing buffer {"connection_id":171880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:07:45] local.INFO: IMEI packet received {"connection_id":171880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":171880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:07:45] local.INFO: TCP Data received {"connection_id":171880,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:07:45] local.INFO: Processing buffer {"connection_id":171880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:07:45] local.INFO: IMEI packet received {"connection_id":171880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":171880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:07:47] local.INFO: TCP Data received {"connection_id":171880,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:07:47] local.INFO: Processing buffer {"connection_id":171880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:07:47] local.INFO: IMEI packet received {"connection_id":171880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":171880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:07:47] local.INFO: TCP Data received {"connection_id":171881,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171881,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:07:47] local.INFO: Processing buffer {"connection_id":171881,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:07:47] local.INFO: IMEI packet received {"connection_id":171881,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":171881,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:07:49] local.INFO: TCP Data received {"connection_id":171880,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:07:49] local.INFO: Processing buffer {"connection_id":171880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:07:49] local.INFO: IMEI packet received {"connection_id":171880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":171880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:07:53] local.INFO: TCP Data received {"connection_id":171881,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171881,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:07:53] local.INFO: Processing buffer {"connection_id":171881,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:07:53] local.INFO: IMEI packet received {"connection_id":171881,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":171881,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:07:54] local.INFO: TCP Data received {"connection_id":171881,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070b4ef08012c7939c00848c5f00014000129..."} 
[2026-09-05 14:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b4ef08012c7939c00848c5f00014000129..."} 
[2026-09-05 14:07:54] local.INFO: Processing buffer {"connection_id":171881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b4ef08012c7939c00848c5f00014000129..."} 
[2026-09-05 14:07:54] local.INFO: Packet analysis {"connection_id":171881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b4"} 
[2026-09-05 14:07:54] local.INFO: Extracted packet for processing {"connection_id":171881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b4"} 
[2026-09-05 14:07:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880832000001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:07:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788597301000,"timestamp_ms":1788597301000,"timestamp_seconds":1788597301,"priority":1,"record_length":96,"hex_timestamp":"000001a070b4ef08"} 
[2026-09-05 14:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 14:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171881,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171881,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880832000001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880832000001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:07:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:07:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:07:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880832000001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":171881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768945,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:07:54] local.INFO: GPS data processed {"connection_id":171881,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:07:54] local.INFO: Acknowledgment sent {"connection_id":171881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:07:56] local.INFO: TCP Data received {"connection_id":174294,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:07:56] local.INFO: Processing buffer {"connection_id":174294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:07:56] local.INFO: IMEI packet received {"connection_id":174294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":174294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:07:58] local.INFO: TCP Data received {"connection_id":174294,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:07:58] local.INFO: Processing buffer {"connection_id":174294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:07:58] local.INFO: IMEI packet received {"connection_id":174294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":174294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:08:01] local.INFO: TCP Data received {"connection_id":174294,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:08:01] local.INFO: Processing buffer {"connection_id":174294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:08:01] local.INFO: IMEI packet received {"connection_id":174294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":174294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:08:02] local.INFO: TCP Data received {"connection_id":174294,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070b669f0012d705d80060ca340001100552d..."} 
[2026-09-05 14:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b669f0012d705d80060ca340001100552d..."} 
[2026-09-05 14:08:02] local.INFO: Processing buffer {"connection_id":174294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b669f0012d705d80060ca340001100552d..."} 
[2026-09-05 14:08:02] local.INFO: Packet analysis {"connection_id":174294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b6"} 
[2026-09-05 14:08:02] local.INFO: Extracted packet for processing {"connection_id":174294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b6"} 
[2026-09-05 14:08:02] local.INFO: GPS Element Parsed {"raw_longitude":762338688,"raw_latitude":101491520,"longitude_deg":76.2338688,"latitude_deg":10.149152,"altitude":17,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d705d80","hex_latitude":"060ca340","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880928512001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399758281553215488,"note":"Value kept but may cause issues"} 
[2026-09-05 14:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8096768468552204288,"note":"Value kept but may cause issues"} 
[2026-09-05 14:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788597398000,"timestamp_ms":1788597398000,"timestamp_seconds":1788597398,"priority":1,"record_length":96,"hex_timestamp":"000001a070b669f0"} 
[2026-09-05 14:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:08: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-09-05 14:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 14:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880928512001,"66":27767,"214":206,"79":46336,"24":0,"16":399758281553215488,"45":8096768468552204288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-09-05 14:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880928512001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:08:02] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 14:08:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399758281553215488,"km_value":399758281553215.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8096768468552204288,"description":"Unknown IO ID 45"} 
[2026-09-05 14:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880928512001,"power":27767,"unknown_214":206,"unknown_79":46336,"ignition":0,"odometer":null,"unknown_45":8096768468552204288}} 
[2026-09-05 14:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":174294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:08:02] local.INFO: GPS data processed {"connection_id":174294,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:08:02] local.INFO: Acknowledgment sent {"connection_id":174294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:08:26] local.INFO: TCP Data received {"connection_id":171881,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070b4ef08012c7939c00848c5f00014000129..."} 
[2026-09-05 14:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b4ef08012c7939c00848c5f00014000129..."} 
[2026-09-05 14:08:26] local.INFO: Processing buffer {"connection_id":171881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b4ef08012c7939c00848c5f00014000129..."} 
[2026-09-05 14:08:26] local.INFO: Packet analysis {"connection_id":171881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b4"} 
[2026-09-05 14:08:26] local.INFO: Extracted packet for processing {"connection_id":171881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b4"} 
[2026-09-05 14:08:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880832000001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:08:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788597301000,"timestamp_ms":1788597301000,"timestamp_seconds":1788597301,"priority":1,"record_length":96,"hex_timestamp":"000001a070b4ef08"} 
[2026-09-05 14:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 14:08:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:08:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171881,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171881,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:08:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880832000001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880832000001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:08:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:08:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:08:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880832000001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":171881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768947,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:08:26] local.INFO: GPS data processed {"connection_id":171881,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:08:26] local.INFO: Acknowledgment sent {"connection_id":171881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:08:33] local.INFO: TCP Data received {"connection_id":174294,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070b6bbf8012d705d80060ca340001100552f..."} 
[2026-09-05 14:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b6bbf8012d705d80060ca340001100552f..."} 
[2026-09-05 14:08:33] local.INFO: Processing buffer {"connection_id":174294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b6bbf8012d705d80060ca340001100552f..."} 
[2026-09-05 14:08:33] local.INFO: Packet analysis {"connection_id":174294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b6"} 
[2026-09-05 14:08:33] local.INFO: Extracted packet for processing {"connection_id":174294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b6"} 
[2026-09-05 14:08:33] local.INFO: GPS Element Parsed {"raw_longitude":762338688,"raw_latitude":101491520,"longitude_deg":76.2338688,"latitude_deg":10.149152,"altitude":17,"angle":85,"satellites":47,"speed":0,"hex_longitude":"2d705d80","hex_latitude":"060ca340","is_valid_coordinates":true} 
[2026-09-05 14:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880933888001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399758281553215488,"note":"Value kept but may cause issues"} 
[2026-09-05 14:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8096768468552204288,"note":"Value kept but may cause issues"} 
[2026-09-05 14:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788597419000,"timestamp_ms":1788597419000,"timestamp_seconds":1788597419,"priority":1,"record_length":96,"hex_timestamp":"000001a070b6bbf8"} 
[2026-09-05 14:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:08: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-09-05 14:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 14:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:08:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880933888001,"66":27832,"214":206,"79":46336,"24":0,"16":399758281553215488,"45":8096768468552204288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-09-05 14:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880933888001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:08:33] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 14:08:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399758281553215488,"km_value":399758281553215.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8096768468552204288,"description":"Unknown IO ID 45"} 
[2026-09-05 14:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880933888001,"power":27832,"unknown_214":206,"unknown_79":46336,"ignition":0,"odometer":null,"unknown_45":8096768468552204288}} 
[2026-09-05 14:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":174294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:08:33] local.INFO: GPS data processed {"connection_id":174294,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:08:33] local.INFO: Acknowledgment sent {"connection_id":174294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:08:47] local.INFO: TCP Data received {"connection_id":172972,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:08:47] local.INFO: Processing buffer {"connection_id":172972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:08:47] local.INFO: IMEI packet received {"connection_id":172972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":172972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:08:52] local.INFO: TCP Data received {"connection_id":172972,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:08:52] local.INFO: Processing buffer {"connection_id":172972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:08:52] local.INFO: IMEI packet received {"connection_id":172972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":172972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:08:54] local.INFO: TCP Data received {"connection_id":172972,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070b4ef08012c7939c00848c5f00014000129..."} 
[2026-09-05 14:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b4ef08012c7939c00848c5f00014000129..."} 
[2026-09-05 14:08:54] local.INFO: Processing buffer {"connection_id":172972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b4ef08012c7939c00848c5f00014000129..."} 
[2026-09-05 14:08:54] local.INFO: Packet analysis {"connection_id":172972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b4"} 
[2026-09-05 14:08:54] local.INFO: Extracted packet for processing {"connection_id":172972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b4"} 
[2026-09-05 14:08:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880832000001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:08:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788597301000,"timestamp_ms":1788597301000,"timestamp_seconds":1788597301,"priority":1,"record_length":96,"hex_timestamp":"000001a070b4ef08"} 
[2026-09-05 14:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 14:08:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880832000001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880832000001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:08:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:08:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:08:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880832000001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":172972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768949,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:08:54] local.INFO: GPS data processed {"connection_id":172972,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:08:54] local.INFO: Acknowledgment sent {"connection_id":172972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:08:56] local.INFO: TCP Data received {"connection_id":171882,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:08:56] local.INFO: Processing buffer {"connection_id":171882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:08:56] local.INFO: IMEI packet received {"connection_id":171882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":171882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:09:01] local.INFO: TCP Data received {"connection_id":171882,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:09:01] local.INFO: Processing buffer {"connection_id":171882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:09:01] local.INFO: IMEI packet received {"connection_id":171882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":171882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:09:02] local.INFO: TCP Data received {"connection_id":171882,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070b70e00012d705d80060ca340001100552f..."} 
[2026-09-05 14:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b70e00012d705d80060ca340001100552f..."} 
[2026-09-05 14:09:02] local.INFO: Processing buffer {"connection_id":171882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b70e00012d705d80060ca340001100552f..."} 
[2026-09-05 14:09:02] local.INFO: Packet analysis {"connection_id":171882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b7"} 
[2026-09-05 14:09:02] local.INFO: Extracted packet for processing {"connection_id":171882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b7"} 
[2026-09-05 14:09:02] local.INFO: GPS Element Parsed {"raw_longitude":762338688,"raw_latitude":101491520,"longitude_deg":76.2338688,"latitude_deg":10.149152,"altitude":17,"angle":85,"satellites":47,"speed":0,"hex_longitude":"2d705d80","hex_latitude":"060ca340","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880939264001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399758281553215488,"note":"Value kept but may cause issues"} 
[2026-09-05 14:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8096768468552204288,"note":"Value kept but may cause issues"} 
[2026-09-05 14:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788597440000,"timestamp_ms":1788597440000,"timestamp_seconds":1788597440,"priority":1,"record_length":96,"hex_timestamp":"000001a070b70e00"} 
[2026-09-05 14:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:09: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-09-05 14: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 14:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880939264001,"66":27974,"214":206,"79":46336,"24":0,"16":399758281553215488,"45":8096768468552204288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-09-05 14:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880939264001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:09:02] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 14:09:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399758281553215488,"km_value":399758281553215.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8096768468552204288,"description":"Unknown IO ID 45"} 
[2026-09-05 14:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880939264001,"power":27974,"unknown_214":206,"unknown_79":46336,"ignition":0,"odometer":null,"unknown_45":8096768468552204288}} 
[2026-09-05 14:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":171882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:09:02] local.INFO: GPS data processed {"connection_id":171882,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:09:02] local.INFO: Acknowledgment sent {"connection_id":171882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:09:25] local.INFO: TCP Data received {"connection_id":172972,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070b4ef08012c7939c00848c5f00014000129..."} 
[2026-09-05 14:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b4ef08012c7939c00848c5f00014000129..."} 
[2026-09-05 14:09:25] local.INFO: Processing buffer {"connection_id":172972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b4ef08012c7939c00848c5f00014000129..."} 
[2026-09-05 14:09:25] local.INFO: Packet analysis {"connection_id":172972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b4"} 
[2026-09-05 14:09:25] local.INFO: Extracted packet for processing {"connection_id":172972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b4"} 
[2026-09-05 14:09:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880832000001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:09:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788597301000,"timestamp_ms":1788597301000,"timestamp_seconds":1788597301,"priority":1,"record_length":96,"hex_timestamp":"000001a070b4ef08"} 
[2026-09-05 14:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:09: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-09-05 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 14:09:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880832000001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880832000001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:09:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:09:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:09:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880832000001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":172972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768951,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:09:25] local.INFO: GPS data processed {"connection_id":172972,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:09:25] local.INFO: Acknowledgment sent {"connection_id":172972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:09:33] local.INFO: TCP Data received {"connection_id":171882,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070b76008012d706d80060ca378001b00552f..."} 
[2026-09-05 14:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b76008012d706d80060ca378001b00552f..."} 
[2026-09-05 14:09:33] local.INFO: Processing buffer {"connection_id":171882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b76008012d706d80060ca378001b00552f..."} 
[2026-09-05 14:09:33] local.INFO: Packet analysis {"connection_id":171882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b7"} 
[2026-09-05 14:09:33] local.INFO: Extracted packet for processing {"connection_id":171882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b7"} 
[2026-09-05 14:09:33] local.INFO: GPS Element Parsed {"raw_longitude":762342784,"raw_latitude":101491576,"longitude_deg":76.2342784,"latitude_deg":10.1491576,"altitude":27,"angle":85,"satellites":47,"speed":15,"hex_longitude":"2d706d80","hex_latitude":"060ca378","is_valid_coordinates":true} 
[2026-09-05 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-09-05 14:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880944640001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399758474826743808,"note":"Value kept but may cause issues"} 
[2026-09-05 14:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8096768468552204288,"note":"Value kept but may cause issues"} 
[2026-09-05 14:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788597461000,"timestamp_ms":1788597461000,"timestamp_seconds":1788597461,"priority":1,"record_length":96,"hex_timestamp":"000001a070b76008"} 
[2026-09-05 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-09-05 14:09: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-09-05 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 14:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 14:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880944640001,"66":27832,"214":206,"79":46336,"24":15,"16":399758474826743808,"45":8096768468552204288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-09-05 14:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880944640001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:09:33] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 14:09:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399758474826743808,"km_value":399758474826743.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8096768468552204288,"description":"Unknown IO ID 45"} 
[2026-09-05 14:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880944640001,"power":27832,"unknown_214":206,"unknown_79":46336,"ignition":15,"odometer":null,"unknown_45":8096768468552204288}} 
[2026-09-05 14:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":171882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:09:33] local.INFO: GPS data processed {"connection_id":171882,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:09:33] local.INFO: Acknowledgment sent {"connection_id":171882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:09:47] local.INFO: TCP Data received {"connection_id":172973,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172973,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:09:47] local.INFO: Processing buffer {"connection_id":172973,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:09:47] local.INFO: IMEI packet received {"connection_id":172973,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":172973,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:09:52] local.INFO: TCP Data received {"connection_id":172973,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172973,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:09:52] local.INFO: Processing buffer {"connection_id":172973,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:09:52] local.INFO: IMEI packet received {"connection_id":172973,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":172973,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:09:53] local.INFO: TCP Data received {"connection_id":172973,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070b4ef08012c7939c00848c5f00014000129..."} 
[2026-09-05 14:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b4ef08012c7939c00848c5f00014000129..."} 
[2026-09-05 14:09:53] local.INFO: Processing buffer {"connection_id":172973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b4ef08012c7939c00848c5f00014000129..."} 
[2026-09-05 14:09:53] local.INFO: Packet analysis {"connection_id":172973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b4"} 
[2026-09-05 14:09:53] local.INFO: Extracted packet for processing {"connection_id":172973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b4"} 
[2026-09-05 14:09:53] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880832000001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:09:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788597301000,"timestamp_ms":1788597301000,"timestamp_seconds":1788597301,"priority":1,"record_length":96,"hex_timestamp":"000001a070b4ef08"} 
[2026-09-05 14:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 14:09: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-09-05 14:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172973,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172973,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880832000001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880832000001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:09:53] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:09:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:09:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880832000001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":172973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768953,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:09:53] local.INFO: GPS data processed {"connection_id":172973,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:09:53] local.INFO: Acknowledgment sent {"connection_id":172973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:10:01] local.INFO: TCP Data received {"connection_id":174295,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:10:01] local.INFO: Processing buffer {"connection_id":174295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:10:01] local.INFO: IMEI packet received {"connection_id":174295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":174295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:10:04] local.INFO: TCP Data received {"connection_id":174295,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:10:04] local.INFO: Processing buffer {"connection_id":174295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:10:04] local.INFO: IMEI packet received {"connection_id":174295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":174295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:10:05] local.INFO: TCP Data received {"connection_id":174295,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070b7b210012d707c40060ca3e8001900562d..."} 
[2026-09-05 14:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b7b210012d707c40060ca3e8001900562d..."} 
[2026-09-05 14:10:05] local.INFO: Processing buffer {"connection_id":174295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b7b210012d707c40060ca3e8001900562d..."} 
[2026-09-05 14:10:05] local.INFO: Packet analysis {"connection_id":174295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b7"} 
[2026-09-05 14:10:05] local.INFO: Extracted packet for processing {"connection_id":174295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b7"} 
[2026-09-05 14:10:05] local.INFO: GPS Element Parsed {"raw_longitude":762346560,"raw_latitude":101491688,"longitude_deg":76.234656,"latitude_deg":10.1491688,"altitude":25,"angle":86,"satellites":45,"speed":0,"hex_longitude":"2d707c40","hex_latitude":"060ca3e8","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880950016001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399758659510337536,"note":"Value kept but may cause issues"} 
[2026-09-05 14:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8101272068179589120,"note":"Value kept but may cause issues"} 
[2026-09-05 14:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788597482000,"timestamp_ms":1788597482000,"timestamp_seconds":1788597482,"priority":1,"record_length":96,"hex_timestamp":"000001a070b7b210"} 
[2026-09-05 14:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:10:05] 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-09-05 14:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 14:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880950016001,"66":27984,"214":206,"79":46336,"24":0,"16":399758659510337536,"45":8101272068179589120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-09-05 14:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880950016001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:10:05] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 14:10:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399758659510337536,"km_value":399758659510337.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8101272068179589120,"description":"Unknown IO ID 45"} 
[2026-09-05 14:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880950016001,"power":27984,"unknown_214":206,"unknown_79":46336,"ignition":0,"odometer":null,"unknown_45":8101272068179589120}} 
[2026-09-05 14:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":174295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:10:05] local.INFO: GPS data processed {"connection_id":174295,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:10:05] local.INFO: Acknowledgment sent {"connection_id":174295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:10:06] local.INFO: TCP Data received {"connection_id":174295,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070b80418012d707c40060ca3e8001900562c..."} 
[2026-09-05 14:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b80418012d707c40060ca3e8001900562c..."} 
[2026-09-05 14:10:06] local.INFO: Processing buffer {"connection_id":174295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b80418012d707c40060ca3e8001900562c..."} 
[2026-09-05 14:10:06] local.INFO: Packet analysis {"connection_id":174295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b8"} 
[2026-09-05 14:10:06] local.INFO: Extracted packet for processing {"connection_id":174295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b8"} 
[2026-09-05 14:10:06] local.INFO: GPS Element Parsed {"raw_longitude":762346560,"raw_latitude":101491688,"longitude_deg":76.234656,"latitude_deg":10.1491688,"altitude":25,"angle":86,"satellites":44,"speed":0,"hex_longitude":"2d707c40","hex_latitude":"060ca3e8","is_valid_coordinates":true} 
[2026-09-05 14:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880955392001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399758659510337536,"note":"Value kept but may cause issues"} 
[2026-09-05 14:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8105423824086099968,"note":"Value kept but may cause issues"} 
[2026-09-05 14:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788597503000,"timestamp_ms":1788597503000,"timestamp_seconds":1788597503,"priority":1,"record_length":96,"hex_timestamp":"000001a070b80418"} 
[2026-09-05 14:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 14:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880955392001,"66":27919,"214":206,"79":46336,"24":0,"16":399758659510337536,"45":8105423824086099968},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-09-05 14:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880955392001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:10:06] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 14:10:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399758659510337536,"km_value":399758659510337.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8105423824086099968,"description":"Unknown IO ID 45"} 
[2026-09-05 14:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880955392001,"power":27919,"unknown_214":206,"unknown_79":46336,"ignition":0,"odometer":null,"unknown_45":8105423824086099968}} 
[2026-09-05 14:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":174295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:10:06] local.INFO: GPS data processed {"connection_id":174295,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:10:06] local.INFO: Acknowledgment sent {"connection_id":174295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:10:25] local.INFO: TCP Data received {"connection_id":172973,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070b4ef08012c7939c00848c5f00014000129..."} 
[2026-09-05 14:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b4ef08012c7939c00848c5f00014000129..."} 
[2026-09-05 14:10:25] local.INFO: Processing buffer {"connection_id":172973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b4ef08012c7939c00848c5f00014000129..."} 
[2026-09-05 14:10:25] local.INFO: Packet analysis {"connection_id":172973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b4"} 
[2026-09-05 14:10:25] local.INFO: Extracted packet for processing {"connection_id":172973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b4"} 
[2026-09-05 14:10:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880832000001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:10:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788597301000,"timestamp_ms":1788597301000,"timestamp_seconds":1788597301,"priority":1,"record_length":96,"hex_timestamp":"000001a070b4ef08"} 
[2026-09-05 14:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:10: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-09-05 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 14:10:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172973,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172973,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880832000001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880832000001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:10:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:10:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:10:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880832000001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":172973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768956,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:10:25] local.INFO: GPS data processed {"connection_id":172973,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:10:25] local.INFO: Acknowledgment sent {"connection_id":172973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:10:38] local.INFO: TCP Data received {"connection_id":174295,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070b85620012d707c40060ca3e8001900562d..."} 
[2026-09-05 14:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b85620012d707c40060ca3e8001900562d..."} 
[2026-09-05 14:10:38] local.INFO: Processing buffer {"connection_id":174295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b85620012d707c40060ca3e8001900562d..."} 
[2026-09-05 14:10:38] local.INFO: Packet analysis {"connection_id":174295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b8"} 
[2026-09-05 14:10:38] local.INFO: Extracted packet for processing {"connection_id":174295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b8"} 
[2026-09-05 14:10:38] local.INFO: GPS Element Parsed {"raw_longitude":762346560,"raw_latitude":101491688,"longitude_deg":76.234656,"latitude_deg":10.1491688,"altitude":25,"angle":86,"satellites":45,"speed":0,"hex_longitude":"2d707c40","hex_latitude":"060ca3e8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 14:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880960768001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399758659510337536,"note":"Value kept but may cause issues"} 
[2026-09-05 14:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8105423824086099968,"note":"Value kept but may cause issues"} 
[2026-09-05 14:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788597524000,"timestamp_ms":1788597524000,"timestamp_seconds":1788597524,"priority":1,"record_length":96,"hex_timestamp":"000001a070b85620"} 
[2026-09-05 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-09-05 14:10: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-09-05 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 14:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 14:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880960768001,"66":27865,"214":206,"79":46336,"24":0,"16":399758659510337536,"45":8105423824086099968},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-09-05 14:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880960768001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:10:38] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 14:10:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399758659510337536,"km_value":399758659510337.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8105423824086099968,"description":"Unknown IO ID 45"} 
[2026-09-05 14:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880960768001,"power":27865,"unknown_214":206,"unknown_79":46336,"ignition":0,"odometer":null,"unknown_45":8105423824086099968}} 
[2026-09-05 14:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":174295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:10:38] local.INFO: GPS data processed {"connection_id":174295,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:10:38] local.INFO: Acknowledgment sent {"connection_id":174295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:10:52] local.INFO: TCP Data received {"connection_id":171883,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171883,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:10:52] local.INFO: Processing buffer {"connection_id":171883,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:10:52] local.INFO: IMEI packet received {"connection_id":171883,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":171883,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:10:56] local.INFO: TCP Data received {"connection_id":171884,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:10:56] local.INFO: Processing buffer {"connection_id":171884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:10:56] local.INFO: IMEI packet received {"connection_id":171884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":171884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:10:58] local.INFO: TCP Data received {"connection_id":171883,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171883,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:10:58] local.INFO: Processing buffer {"connection_id":171883,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:10:58] local.INFO: IMEI packet received {"connection_id":171883,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":171883,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:10:59] local.INFO: TCP Data received {"connection_id":171883,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070b986d0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b986d0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:10:59] local.INFO: Processing buffer {"connection_id":171883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b986d0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:10:59] local.INFO: Packet analysis {"connection_id":171883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b9"} 
[2026-09-05 14:10:59] local.INFO: Extracted packet for processing {"connection_id":171883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b9"} 
[2026-09-05 14:10:59] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880909056001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:10:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788597602000,"timestamp_ms":1788597602000,"timestamp_seconds":1788597602,"priority":1,"record_length":96,"hex_timestamp":"000001a070b986d0"} 
[2026-09-05 14:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:10:59] 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-09-05 14:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171883,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171883,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880909056001,"66":25495,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880909056001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:10:59] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:10:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:10:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880909056001,"power":25495,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":171883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768958,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:10:59] local.INFO: GPS data processed {"connection_id":171883,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:10:59] local.INFO: Acknowledgment sent {"connection_id":171883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:11:00] local.INFO: TCP Data received {"connection_id":171884,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:11:00] local.INFO: Processing buffer {"connection_id":171884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:11:00] local.INFO: IMEI packet received {"connection_id":171884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":171884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:11:01] local.INFO: TCP Data received {"connection_id":171884,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070b8a828012d707c40060ca3e8001900562c..."} 
[2026-09-05 14:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b8a828012d707c40060ca3e8001900562c..."} 
[2026-09-05 14:11:01] local.INFO: Processing buffer {"connection_id":171884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b8a828012d707c40060ca3e8001900562c..."} 
[2026-09-05 14:11:01] local.INFO: Packet analysis {"connection_id":171884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b8"} 
[2026-09-05 14:11:01] local.INFO: Extracted packet for processing {"connection_id":171884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b8"} 
[2026-09-05 14:11:01] local.INFO: GPS Element Parsed {"raw_longitude":762346560,"raw_latitude":101491688,"longitude_deg":76.234656,"latitude_deg":10.1491688,"altitude":25,"angle":86,"satellites":44,"speed":0,"hex_longitude":"2d707c40","hex_latitude":"060ca3e8","is_valid_coordinates":true} 
[2026-09-05 14:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880966144001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399758659510337536,"note":"Value kept but may cause issues"} 
[2026-09-05 14:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8105423824086099968,"note":"Value kept but may cause issues"} 
[2026-09-05 14:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788597545000,"timestamp_ms":1788597545000,"timestamp_seconds":1788597545,"priority":1,"record_length":96,"hex_timestamp":"000001a070b8a828"} 
[2026-09-05 14:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 14:11:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880966144001,"66":27887,"214":206,"79":46336,"24":0,"16":399758659510337536,"45":8105423824086099968},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-09-05 14:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880966144001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:11:01] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 14:11:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399758659510337536,"km_value":399758659510337.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8105423824086099968,"description":"Unknown IO ID 45"} 
[2026-09-05 14:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880966144001,"power":27887,"unknown_214":206,"unknown_79":46336,"ignition":0,"odometer":null,"unknown_45":8105423824086099968}} 
[2026-09-05 14:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":171884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:11:01] local.INFO: GPS data processed {"connection_id":171884,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:11:01] local.INFO: Acknowledgment sent {"connection_id":171884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:11:04] local.INFO: TCP Data received {"connection_id":171883,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070b986d0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b986d0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:11:04] local.INFO: Processing buffer {"connection_id":171883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b986d0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:11:04] local.INFO: Packet analysis {"connection_id":171883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b9"} 
[2026-09-05 14:11:04] local.INFO: Extracted packet for processing {"connection_id":171883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b9"} 
[2026-09-05 14:11:04] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880909056001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:11:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788597602000,"timestamp_ms":1788597602000,"timestamp_seconds":1788597602,"priority":1,"record_length":96,"hex_timestamp":"000001a070b986d0"} 
[2026-09-05 14:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14: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-09-05 14:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:11: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-09-05 14:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171883,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171883,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880909056001,"66":25495,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880909056001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:11:04] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:11:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:11:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880909056001,"power":25495,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":171883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768960,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:11:04] local.INFO: GPS data processed {"connection_id":171883,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:11:04] local.INFO: Acknowledgment sent {"connection_id":171883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:11:32] local.INFO: TCP Data received {"connection_id":171884,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070b8fa30012d707c40060ca3e8001900562c..."} 
[2026-09-05 14:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b8fa30012d707c40060ca3e8001900562c..."} 
[2026-09-05 14:11:32] local.INFO: Processing buffer {"connection_id":171884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b8fa30012d707c40060ca3e8001900562c..."} 
[2026-09-05 14:11:32] local.INFO: Packet analysis {"connection_id":171884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b8"} 
[2026-09-05 14:11:32] local.INFO: Extracted packet for processing {"connection_id":171884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b8"} 
[2026-09-05 14:11:32] local.INFO: GPS Element Parsed {"raw_longitude":762346560,"raw_latitude":101491688,"longitude_deg":76.234656,"latitude_deg":10.1491688,"altitude":25,"angle":86,"satellites":44,"speed":0,"hex_longitude":"2d707c40","hex_latitude":"060ca3e8","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880971520001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399758659510337536,"note":"Value kept but may cause issues"} 
[2026-09-05 14:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8105423824086099968,"note":"Value kept but may cause issues"} 
[2026-09-05 14:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788597566000,"timestamp_ms":1788597566000,"timestamp_seconds":1788597566,"priority":1,"record_length":96,"hex_timestamp":"000001a070b8fa30"} 
[2026-09-05 14:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:11: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-09-05 14: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":239,"data_length":795,"current_offset":136} 
[2026-09-05 14:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880971520001,"66":27865,"214":206,"79":46336,"24":0,"16":399758659510337536,"45":8105423824086099968},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-09-05 14:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880971520001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:11:32] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 14:11:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399758659510337536,"km_value":399758659510337.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8105423824086099968,"description":"Unknown IO ID 45"} 
[2026-09-05 14:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880971520001,"power":27865,"unknown_214":206,"unknown_79":46336,"ignition":0,"odometer":null,"unknown_45":8105423824086099968}} 
[2026-09-05 14:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":171884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:11:32] local.INFO: GPS data processed {"connection_id":171884,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:11:32] local.INFO: Acknowledgment sent {"connection_id":171884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:11:47] local.INFO: TCP Data received {"connection_id":171580,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171580,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:11:47] local.INFO: Processing buffer {"connection_id":171580,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:11:47] local.INFO: IMEI packet received {"connection_id":171580,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":171580,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:11:52] local.INFO: TCP Data received {"connection_id":171580,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171580,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:11:52] local.INFO: Processing buffer {"connection_id":171580,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:11:52] local.INFO: IMEI packet received {"connection_id":171580,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":171580,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:11:54] local.INFO: TCP Data received {"connection_id":171580,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070b986d0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b986d0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:11:54] local.INFO: Processing buffer {"connection_id":171580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b986d0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:11:54] local.INFO: Packet analysis {"connection_id":171580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b9"} 
[2026-09-05 14:11:54] local.INFO: Extracted packet for processing {"connection_id":171580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b9"} 
[2026-09-05 14:11:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880909056001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:11:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788597602000,"timestamp_ms":1788597602000,"timestamp_seconds":1788597602,"priority":1,"record_length":96,"hex_timestamp":"000001a070b986d0"} 
[2026-09-05 14:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880909056001,"66":25495,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880909056001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:11:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:11:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:11:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880909056001,"power":25495,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":171580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768962,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:11:54] local.INFO: GPS data processed {"connection_id":171580,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:11:54] local.INFO: Acknowledgment sent {"connection_id":171580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:11:56] local.INFO: TCP Data received {"connection_id":171581,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:11:56] local.INFO: Processing buffer {"connection_id":171581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:11:56] local.INFO: IMEI packet received {"connection_id":171581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":171581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:12:01] local.INFO: TCP Data received {"connection_id":171581,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:12:01] local.INFO: Processing buffer {"connection_id":171581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:12:01] local.INFO: IMEI packet received {"connection_id":171581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":171581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:12:02] local.INFO: TCP Data received {"connection_id":171581,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070b94c38012d708a80060ca5d8001400552e..."} 
[2026-09-05 14:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b94c38012d708a80060ca5d8001400552e..."} 
[2026-09-05 14:12:02] local.INFO: Processing buffer {"connection_id":171581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b94c38012d708a80060ca5d8001400552e..."} 
[2026-09-05 14:12:02] local.INFO: Packet analysis {"connection_id":171581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b9"} 
[2026-09-05 14:12:02] local.INFO: Extracted packet for processing {"connection_id":171581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b9"} 
[2026-09-05 14:12:02] local.INFO: GPS Element Parsed {"raw_longitude":762350208,"raw_latitude":101492184,"longitude_deg":76.2350208,"latitude_deg":10.1492184,"altitude":20,"angle":85,"satellites":46,"speed":13,"hex_longitude":"2d708a80","hex_latitude":"060ca5d8","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880976896001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399758848488898560,"note":"Value kept but may cause issues"} 
[2026-09-05 14:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8105423824086099968,"note":"Value kept but may cause issues"} 
[2026-09-05 14:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788597587000,"timestamp_ms":1788597587000,"timestamp_seconds":1788597587,"priority":1,"record_length":96,"hex_timestamp":"000001a070b94c38"} 
[2026-09-05 14:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:12: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-09-05 14:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 14:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880976896001,"66":27843,"214":206,"79":46336,"24":13,"16":399758848488898560,"45":8105423824086099968},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-09-05 14:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880976896001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:12:02] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 14:12:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399758848488898560,"km_value":399758848488898.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8105423824086099968,"description":"Unknown IO ID 45"} 
[2026-09-05 14:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880976896001,"power":27843,"unknown_214":206,"unknown_79":46336,"ignition":13,"odometer":null,"unknown_45":8105423824086099968}} 
[2026-09-05 14:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":171581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:12:02] local.INFO: GPS data processed {"connection_id":171581,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:12:02] local.INFO: Acknowledgment sent {"connection_id":171581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:12:26] local.INFO: TCP Data received {"connection_id":171580,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070b986d0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b986d0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:12:26] local.INFO: Processing buffer {"connection_id":171580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b986d0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:12:26] local.INFO: Packet analysis {"connection_id":171580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b9"} 
[2026-09-05 14:12:26] local.INFO: Extracted packet for processing {"connection_id":171580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b9"} 
[2026-09-05 14:12:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880909056001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:12:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788597602000,"timestamp_ms":1788597602000,"timestamp_seconds":1788597602,"priority":1,"record_length":96,"hex_timestamp":"000001a070b986d0"} 
[2026-09-05 14:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:12:26] 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-09-05 14:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880909056001,"66":25495,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880909056001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:12:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:12:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:12:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880909056001,"power":25495,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":171580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768964,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:12:26] local.INFO: GPS data processed {"connection_id":171580,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:12:26] local.INFO: Acknowledgment sent {"connection_id":171580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:12:33] local.INFO: TCP Data received {"connection_id":171581,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070bb0988012d71b6c0060cb978000a008c2c..."} 
[2026-09-05 14:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070bb0988012d71b6c0060cb978000a008c2c..."} 
[2026-09-05 14:12:33] local.INFO: Processing buffer {"connection_id":171581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070bb0988012d71b6c0060cb978000a008c2c..."} 
[2026-09-05 14:12:33] local.INFO: Packet analysis {"connection_id":171581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070bb"} 
[2026-09-05 14:12:33] local.INFO: Extracted packet for processing {"connection_id":171581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070bb"} 
[2026-09-05 14:12:33] local.INFO: GPS Element Parsed {"raw_longitude":762427072,"raw_latitude":101497208,"longitude_deg":76.2427072,"latitude_deg":10.1497208,"altitude":10,"angle":140,"satellites":44,"speed":27,"hex_longitude":"2d71b6c0","hex_latitude":"060cb978","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881010944001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399762563635609600,"note":"Value kept but may cause issues"} 
[2026-09-05 14:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8192821804356417536,"note":"Value kept but may cause issues"} 
[2026-09-05 14:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788597701000,"timestamp_ms":1788597701000,"timestamp_seconds":1788597701,"priority":1,"record_length":96,"hex_timestamp":"000001a070bb0988"} 
[2026-09-05 14:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:12: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-09-05 14:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 14:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881010944001,"66":27865,"167":206,"79":46336,"24":27,"16":399762563635609600,"45":8192821804356417536},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-09-05 14:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881010944001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:12:33] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-05 14:12:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399762563635609600,"km_value":399762563635609.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8192821804356417536,"description":"Unknown IO ID 45"} 
[2026-09-05 14:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881010944001,"power":27865,"unknown_167":206,"unknown_79":46336,"ignition":27,"odometer":null,"unknown_45":8192821804356417536}} 
[2026-09-05 14:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":171581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:12:33] local.INFO: GPS data processed {"connection_id":171581,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:12:33] local.INFO: Acknowledgment sent {"connection_id":171581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:12:50] local.INFO: TCP Data received {"connection_id":172974,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:12:50] local.INFO: Processing buffer {"connection_id":172974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:12:50] local.INFO: IMEI packet received {"connection_id":172974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":172974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:12:51] local.INFO: TCP Data received {"connection_id":172974,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070bb5f78012cfa7780072e3f400018003829..."} 
[2026-09-05 14:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070bb5f78012cfa7780072e3f400018003829..."} 
[2026-09-05 14:12:51] local.INFO: Processing buffer {"connection_id":172974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070bb5f78012cfa7780072e3f400018003829..."} 
[2026-09-05 14:12:51] local.INFO: Packet analysis {"connection_id":172974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070bb"} 
[2026-09-05 14:12:51] local.INFO: Extracted packet for processing {"connection_id":172974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070bb"} 
[2026-09-05 14:12:51] local.INFO: GPS Element Parsed {"raw_longitude":754612096,"raw_latitude":120471360,"longitude_deg":75.4612096,"latitude_deg":12.047136,"altitude":24,"angle":56,"satellites":41,"speed":37,"hex_longitude":"2cfa7780","hex_latitude":"072e3f40","is_valid_coordinates":true} 
[2026-09-05 14:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881016064001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17779742971265024,"note":"Value kept but may cause issues"} 
[2026-09-05 14:12:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-402227710879596544,"note":"Value kept but may cause issues"} 
[2026-09-05 14:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788597723000,"timestamp_ms":1788597723000,"timestamp_seconds":1788597723,"priority":1,"record_length":96,"hex_timestamp":"000001a070bb5f78"} 
[2026-09-05 14:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:12: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-09-05 14:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 14:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881016064001,"66":14341,"64":206,"83":43776,"24":37,"16":17779742971265024,"44":-402227710879596544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,83,24,16,44]} 
[2026-09-05 14:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881016064001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:12:51] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-05 14:12:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-09-05 14:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17779742971265024,"km_value":17779742971265.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:12:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-402227710879596544,"description":"Unknown IO ID 44"} 
[2026-09-05 14:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881016064001,"power":14341,"unknown_64":206,"unknown_83":43776,"ignition":37,"odometer":null,"unknown_44":-402227710879596544}} 
[2026-09-05 14:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":172974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:12:51] local.INFO: GPS data processed {"connection_id":172974,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:12:51] local.INFO: Acknowledgment sent {"connection_id":172974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:12:52] local.INFO: TCP Data received {"connection_id":171886,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171886,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:12:52] local.INFO: Processing buffer {"connection_id":171886,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:12:52] local.INFO: IMEI packet received {"connection_id":171886,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":171886,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:12:56] local.INFO: TCP Data received {"connection_id":171887,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:12:56] local.INFO: Processing buffer {"connection_id":171887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:12:56] local.INFO: IMEI packet received {"connection_id":171887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":171887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:12:57] local.INFO: TCP Data received {"connection_id":171886,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171886,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:12:57] local.INFO: Processing buffer {"connection_id":171886,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:12:57] local.INFO: IMEI packet received {"connection_id":171886,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":171886,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:12:59] local.INFO: TCP Data received {"connection_id":171886,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070b986d0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b986d0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:12:59] local.INFO: Processing buffer {"connection_id":171886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b986d0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:12:59] local.INFO: Packet analysis {"connection_id":171886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b9"} 
[2026-09-05 14:12:59] local.INFO: Extracted packet for processing {"connection_id":171886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b9"} 
[2026-09-05 14:12:59] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880909056001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:12:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788597602000,"timestamp_ms":1788597602000,"timestamp_seconds":1788597602,"priority":1,"record_length":96,"hex_timestamp":"000001a070b986d0"} 
[2026-09-05 14:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:12:59] 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-09-05 14:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880909056001,"66":25495,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880909056001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:12:59] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:12:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:12:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880909056001,"power":25495,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":171886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768967,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:12:59] local.INFO: GPS data processed {"connection_id":171886,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:12:59] local.INFO: Acknowledgment sent {"connection_id":171886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:13:02] local.INFO: TCP Data received {"connection_id":171887,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:13:02] local.INFO: Processing buffer {"connection_id":171887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:13:02] local.INFO: IMEI packet received {"connection_id":171887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":171887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:13:03] local.INFO: TCP Data received {"connection_id":171887,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070bb20f8012d71c300060caba8000a00812c..."} 
[2026-09-05 14:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070bb20f8012d71c300060caba8000a00812c..."} 
[2026-09-05 14:13:03] local.INFO: Processing buffer {"connection_id":171887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070bb20f8012d71c300060caba8000a00812c..."} 
[2026-09-05 14:13:03] local.INFO: Packet analysis {"connection_id":171887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070bb"} 
[2026-09-05 14:13:03] local.INFO: Extracted packet for processing {"connection_id":171887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070bb"} 
[2026-09-05 14:13:03] local.INFO: GPS Element Parsed {"raw_longitude":762430208,"raw_latitude":101493672,"longitude_deg":76.2430208,"latitude_deg":10.1493672,"altitude":10,"angle":129,"satellites":44,"speed":34,"hex_longitude":"2d71c300","hex_latitude":"060caba8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 14:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881011456001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399762791268876288,"note":"Value kept but may cause issues"} 
[2026-09-05 14:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8193947704263014400,"note":"Value kept but may cause issues"} 
[2026-09-05 14:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788597707000,"timestamp_ms":1788597707000,"timestamp_seconds":1788597707,"priority":1,"record_length":96,"hex_timestamp":"000001a070bb20f8"} 
[2026-09-05 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-09-05 14:13: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-09-05 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 14:13: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-09-05 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-09-05 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-09-05 14:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881011456001,"66":27876,"167":206,"79":46336,"24":34,"16":399762791268876288,"45":8193947704263014400},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-09-05 14:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881011456001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:13:03] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-05 14:13:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399762791268876288,"km_value":399762791268876.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8193947704263014400,"description":"Unknown IO ID 45"} 
[2026-09-05 14:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881011456001,"power":27876,"unknown_167":206,"unknown_79":46336,"ignition":34,"odometer":null,"unknown_45":8193947704263014400}} 
[2026-09-05 14:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":171887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:13:03] local.INFO: GPS data processed {"connection_id":171887,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:13:03] local.INFO: Acknowledgment sent {"connection_id":171887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:13:03] local.INFO: TCP Data received {"connection_id":171886,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070b986d0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b986d0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:13:03] local.INFO: Processing buffer {"connection_id":171886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b986d0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:13:03] local.INFO: Packet analysis {"connection_id":171886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b9"} 
[2026-09-05 14:13:03] local.INFO: Extracted packet for processing {"connection_id":171886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b9"} 
[2026-09-05 14:13:03] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 14:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880909056001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:13:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788597602000,"timestamp_ms":1788597602000,"timestamp_seconds":1788597602,"priority":1,"record_length":96,"hex_timestamp":"000001a070b986d0"} 
[2026-09-05 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-09-05 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-09-05 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14: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-09-05 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-09-05 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-09-05 14:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880909056001,"66":25495,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880909056001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:13:03] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:13:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:13:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880909056001,"power":25495,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":171886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768969,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:13:03] local.INFO: GPS data processed {"connection_id":171886,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:13:03] local.INFO: Acknowledgment sent {"connection_id":171886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:13:22] local.INFO: TCP Data received {"connection_id":172974,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070bb6748012cfa7dc0072e41a80018004f29..."} 
[2026-09-05 14:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070bb6748012cfa7dc0072e41a80018004f29..."} 
[2026-09-05 14:13:22] local.INFO: Processing buffer {"connection_id":172974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070bb6748012cfa7dc0072e41a80018004f29..."} 
[2026-09-05 14:13:22] local.INFO: Packet analysis {"connection_id":172974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070bb"} 
[2026-09-05 14:13:22] local.INFO: Extracted packet for processing {"connection_id":172974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070bb"} 
[2026-09-05 14:13:22] local.INFO: GPS Element Parsed {"raw_longitude":754613696,"raw_latitude":120471976,"longitude_deg":75.4613696,"latitude_deg":12.0471976,"altitude":24,"angle":79,"satellites":41,"speed":33,"hex_longitude":"2cfa7dc0","hex_latitude":"072e41a8","is_valid_coordinates":true} 
[2026-09-05 14:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881017088001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17779824575643648,"note":"Value kept but may cause issues"} 
[2026-09-05 14:13:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-398709273669976064,"note":"Value kept but may cause issues"} 
[2026-09-05 14:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788597725000,"timestamp_ms":1788597725000,"timestamp_seconds":1788597725,"priority":1,"record_length":96,"hex_timestamp":"000001a070bb6748"} 
[2026-09-05 14:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:13:22] 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-09-05 14:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-05 14:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6986709722,"note":"Value kept but may cause issues"} 
[2026-09-05 14:13:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2868910080,"note":"Value kept but may cause issues"} 
[2026-09-05 14:13:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 14:13:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4198301703,"note":"Value kept but may cause issues"} 
[2026-09-05 14:13:22] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503870900862976,"note":"Value kept but may cause issues"} 
[2026-09-05 14:13:22] local.WARNING: Large IO value detected {"io_id":112,"raw_value":3137452033,"note":"Value kept but may cause issues"} 
[2026-09-05 14:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3798990872,"note":"Value kept but may cause issues"} 
[2026-09-05 14:13:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1330446542,"corrected_to":0} 
[2026-09-05 14:13:22] local.WARNING: Large IO value detected {"io_id":249,"raw_value":3892391162,"note":"Value kept but may cause issues"} 
[2026-09-05 14:13:22] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2147954140,"note":"Value kept but may cause issues"} 
[2026-09-05 14:13:22] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2483080527,"note":"Value kept but may cause issues"} 
[2026-09-05 14:13:22] local.WARNING: Large IO value detected {"io_id":168,"raw_value":84717472926084564,"note":"Value kept but may cause issues"} 
[2026-09-05 14:13:22] local.WARNING: Large IO value detected {"io_id":136,"raw_value":5348390267267584,"note":"Value kept but may cause issues"} 
[2026-09-05 14:13:22] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,64,83,24,241,157,16,42,160,79,44,52,38,10,66,60,33,23,39,32,1,240,169,227,41,112,45,4,113,205,249,55,208,34,239,54,77,2,63,7,206,168,136],"length":529,"final_offset":659,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1330446542,"validated":0}]} 
[2026-09-05 14:13:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1729444005657509888,"timestamp_seconds":1729444005657510.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 14:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881017088001,"66":14265,"64":206,"83":43776,"24":33,"16":17779824575643648,"44":-398709273669976064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,83,24,16,44]} 
[2026-09-05 14:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881017088001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:13:22] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-05 14:13:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-09-05 14:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17779824575643648,"km_value":17779824575643.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:13:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-398709273669976064,"description":"Unknown IO ID 44"} 
[2026-09-05 14:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881017088001,"power":14265,"unknown_64":206,"unknown_83":43776,"ignition":33,"odometer":null,"unknown_44":-398709273669976064}} 
[2026-09-05 14:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":172974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:13:22] local.INFO: GPS data processed {"connection_id":172974,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:13:22] local.INFO: Acknowledgment sent {"connection_id":172974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:13:39] local.INFO: TCP Data received {"connection_id":171887,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070bb3868012d71d380060ca0f8000a00762c..."} 
[2026-09-05 14:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070bb3868012d71d380060ca0f8000a00762c..."} 
[2026-09-05 14:13:39] local.INFO: Processing buffer {"connection_id":171887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070bb3868012d71d380060ca0f8000a00762c..."} 
[2026-09-05 14:13:39] local.INFO: Packet analysis {"connection_id":171887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070bb"} 
[2026-09-05 14:13:39] local.INFO: Extracted packet for processing {"connection_id":171887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070bb"} 
[2026-09-05 14:13:39] local.INFO: GPS Element Parsed {"raw_longitude":762434432,"raw_latitude":101490936,"longitude_deg":76.2434432,"latitude_deg":10.1490936,"altitude":10,"angle":118,"satellites":44,"speed":34,"hex_longitude":"2d71d380","hex_latitude":"060ca0f8","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881012992001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399763031787044864,"note":"Value kept but may cause issues"} 
[2026-09-05 14:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8197395772726814720,"note":"Value kept but may cause issues"} 
[2026-09-05 14:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788597713000,"timestamp_ms":1788597713000,"timestamp_seconds":1788597713,"priority":1,"record_length":96,"hex_timestamp":"000001a070bb3868"} 
[2026-09-05 14:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:13:39] 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-09-05 14: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 14:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881012992001,"66":27919,"167":206,"79":46336,"24":34,"16":399763031787044864,"45":8197395772726814720},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-09-05 14:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881012992001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:13:39] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-05 14:13:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399763031787044864,"km_value":399763031787044.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8197395772726814720,"description":"Unknown IO ID 45"} 
[2026-09-05 14:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881012992001,"power":27919,"unknown_167":206,"unknown_79":46336,"ignition":34,"odometer":null,"unknown_45":8197395772726814720}} 
[2026-09-05 14:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":171887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:13:39] local.INFO: GPS data processed {"connection_id":171887,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:13:39] local.INFO: Acknowledgment sent {"connection_id":171887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:13:47] local.INFO: TCP Data received {"connection_id":171583,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:13:47] local.INFO: Processing buffer {"connection_id":171583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:13:47] local.INFO: IMEI packet received {"connection_id":171583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":171583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:13:48] local.INFO: TCP Data received {"connection_id":171582,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171582,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:13:48] local.INFO: Processing buffer {"connection_id":171582,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:13:48] local.INFO: IMEI packet received {"connection_id":171582,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":171582,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:13:51] local.INFO: TCP Data received {"connection_id":171583,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:13:51] local.INFO: Processing buffer {"connection_id":171583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:13:51] local.INFO: IMEI packet received {"connection_id":171583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":171583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:13:52] local.INFO: TCP Data received {"connection_id":171583,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:13:52] local.INFO: Processing buffer {"connection_id":171583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:13:52] local.INFO: IMEI packet received {"connection_id":171583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":171583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:13:52] local.INFO: TCP Data received {"connection_id":171582,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171582,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:13:52] local.INFO: Processing buffer {"connection_id":171582,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:13:52] local.INFO: IMEI packet received {"connection_id":171582,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":171582,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:13:54] local.INFO: TCP Data received {"connection_id":171582,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070b986d0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b986d0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:13:54] local.INFO: Processing buffer {"connection_id":171582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b986d0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:13:54] local.INFO: Packet analysis {"connection_id":171582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b9"} 
[2026-09-05 14:13:54] local.INFO: Extracted packet for processing {"connection_id":171582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b9"} 
[2026-09-05 14:13:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880909056001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:13:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788597602000,"timestamp_ms":1788597602000,"timestamp_seconds":1788597602,"priority":1,"record_length":96,"hex_timestamp":"000001a070b986d0"} 
[2026-09-05 14:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880909056001,"66":25495,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880909056001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:13:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:13:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:13:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880909056001,"power":25495,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":171582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768972,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:13:54] local.INFO: GPS data processed {"connection_id":171582,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:13:54] local.INFO: Acknowledgment sent {"connection_id":171582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:13:55] local.INFO: TCP Data received {"connection_id":171583,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:13:55] local.INFO: Processing buffer {"connection_id":171583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:13:55] local.INFO: IMEI packet received {"connection_id":171583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":171583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:13:56] local.INFO: TCP Data received {"connection_id":171888,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:13:56] local.INFO: Processing buffer {"connection_id":171888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:13:56] local.INFO: IMEI packet received {"connection_id":171888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":171888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:14:01] local.INFO: TCP Data received {"connection_id":171888,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:14:01] local.INFO: Processing buffer {"connection_id":171888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:14:01] local.INFO: IMEI packet received {"connection_id":171888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":171888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:14:02] local.INFO: TCP Data received {"connection_id":171888,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070bb6360012d71f4c0060c8f18000b00782c..."} 
[2026-09-05 14:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070bb6360012d71f4c0060c8f18000b00782c..."} 
[2026-09-05 14:14:02] local.INFO: Processing buffer {"connection_id":171888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070bb6360012d71f4c0060c8f18000b00782c..."} 
[2026-09-05 14:14:02] local.INFO: Packet analysis {"connection_id":171888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070bb"} 
[2026-09-05 14:14:02] local.INFO: Extracted packet for processing {"connection_id":171888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070bb"} 
[2026-09-05 14:14:02] local.INFO: GPS Element Parsed {"raw_longitude":762442944,"raw_latitude":101486360,"longitude_deg":76.2442944,"latitude_deg":10.148636,"altitude":11,"angle":120,"satellites":44,"speed":33,"hex_longitude":"2d71f4c0","hex_latitude":"060c8f18","is_valid_coordinates":true} 
[2026-09-05 14:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881014528001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399763495643512832,"note":"Value kept but may cause issues"} 
[2026-09-05 14:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8202040109841840128,"note":"Value kept but may cause issues"} 
[2026-09-05 14:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788597724000,"timestamp_ms":1788597724000,"timestamp_seconds":1788597724,"priority":1,"record_length":96,"hex_timestamp":"000001a070bb6360"} 
[2026-09-05 14:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:14: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-09-05 14:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 14:14: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-09-05 14:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881014528001,"66":27843,"167":206,"79":46336,"24":33,"16":399763495643512832,"45":8202040109841840128},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-09-05 14:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881014528001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:14:02] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-05 14:14:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399763495643512832,"km_value":399763495643512.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8202040109841840128,"description":"Unknown IO ID 45"} 
[2026-09-05 14:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881014528001,"power":27843,"unknown_167":206,"unknown_79":46336,"ignition":33,"odometer":null,"unknown_45":8202040109841840128}} 
[2026-09-05 14:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":171888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:14:02] local.INFO: GPS data processed {"connection_id":171888,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:14:02] local.INFO: Acknowledgment sent {"connection_id":171888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:14:26] local.INFO: TCP Data received {"connection_id":171582,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070b986d0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b986d0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:14:26] local.INFO: Processing buffer {"connection_id":171582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b986d0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:14:26] local.INFO: Packet analysis {"connection_id":171582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b9"} 
[2026-09-05 14:14:26] local.INFO: Extracted packet for processing {"connection_id":171582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b9"} 
[2026-09-05 14:14:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880909056001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:14:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788597602000,"timestamp_ms":1788597602000,"timestamp_seconds":1788597602,"priority":1,"record_length":96,"hex_timestamp":"000001a070b986d0"} 
[2026-09-05 14:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:14:26] 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-09-05 14:14:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880909056001,"66":25495,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880909056001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:14:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:14:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:14:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880909056001,"power":25495,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":171582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768974,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:14:26] local.INFO: GPS data processed {"connection_id":171582,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:14:26] local.INFO: Acknowledgment sent {"connection_id":171582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:14:34] local.INFO: TCP Data received {"connection_id":171888,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070bb8688012d720ec0060c8190000a006d2c..."} 
[2026-09-05 14:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070bb8688012d720ec0060c8190000a006d2c..."} 
[2026-09-05 14:14:34] local.INFO: Processing buffer {"connection_id":171888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070bb8688012d720ec0060c8190000a006d2c..."} 
[2026-09-05 14:14:34] local.INFO: Packet analysis {"connection_id":171888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070bb"} 
[2026-09-05 14:14:34] local.INFO: Extracted packet for processing {"connection_id":171888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070bb"} 
[2026-09-05 14:14:34] local.INFO: GPS Element Parsed {"raw_longitude":762449600,"raw_latitude":101482896,"longitude_deg":76.24496,"latitude_deg":10.1482896,"altitude":10,"angle":109,"satellites":44,"speed":29,"hex_longitude":"2d720ec0","hex_latitude":"060c8190","is_valid_coordinates":true} 
[2026-09-05 14:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881017344001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399763852125798400,"note":"Value kept but may cause issues"} 
[2026-09-05 14:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8211399152816297984,"note":"Value kept but may cause issues"} 
[2026-09-05 14:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788597733000,"timestamp_ms":1788597733000,"timestamp_seconds":1788597733,"priority":1,"record_length":96,"hex_timestamp":"000001a070bb8688"} 
[2026-09-05 14:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 14:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881017344001,"66":27908,"167":206,"79":46336,"24":29,"16":399763852125798400,"45":8211399152816297984},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-09-05 14:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881017344001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:14:34] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-05 14:14:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399763852125798400,"km_value":399763852125798.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8211399152816297984,"description":"Unknown IO ID 45"} 
[2026-09-05 14:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881017344001,"power":27908,"unknown_167":206,"unknown_79":46336,"ignition":29,"odometer":null,"unknown_45":8211399152816297984}} 
[2026-09-05 14:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":171888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:14:34] local.INFO: GPS data processed {"connection_id":171888,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:14:34] local.INFO: Acknowledgment sent {"connection_id":171888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:14:47] local.INFO: TCP Data received {"connection_id":171584,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:14:47] local.INFO: Processing buffer {"connection_id":171584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:14:47] local.INFO: IMEI packet received {"connection_id":171584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":171584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:14:52] local.INFO: TCP Data received {"connection_id":171584,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:14:53] local.INFO: Processing buffer {"connection_id":171584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:14:53] local.INFO: IMEI packet received {"connection_id":171584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":171584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:14:54] local.INFO: TCP Data received {"connection_id":171584,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070b986d0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b986d0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:14:54] local.INFO: Processing buffer {"connection_id":171584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b986d0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:14:54] local.INFO: Packet analysis {"connection_id":171584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b9"} 
[2026-09-05 14:14:54] local.INFO: Extracted packet for processing {"connection_id":171584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b9"} 
[2026-09-05 14:14:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880909056001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:14:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788597602000,"timestamp_ms":1788597602000,"timestamp_seconds":1788597602,"priority":1,"record_length":96,"hex_timestamp":"000001a070b986d0"} 
[2026-09-05 14:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:14:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880909056001,"66":25495,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880909056001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:14:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:14:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:14:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880909056001,"power":25495,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":171584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768976,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:14:54] local.INFO: GPS data processed {"connection_id":171584,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:14:54] local.INFO: Acknowledgment sent {"connection_id":171584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:15:01] local.INFO: TCP Data received {"connection_id":174299,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:15:01] local.INFO: Processing buffer {"connection_id":174299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:15:01] local.INFO: IMEI packet received {"connection_id":174299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":174299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:15:06] local.INFO: TCP Data received {"connection_id":174299,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:15:06] local.INFO: Processing buffer {"connection_id":174299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:15:06] local.INFO: IMEI packet received {"connection_id":174299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":174299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:15:07] local.INFO: TCP Data received {"connection_id":174299,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070bbbd38012d723180060c77b8000b00692c..."} 
[2026-09-05 14:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070bbbd38012d723180060c77b8000b00692c..."} 
[2026-09-05 14:15:07] local.INFO: Processing buffer {"connection_id":174299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070bbbd38012d723180060c77b8000b00692c..."} 
[2026-09-05 14:15:07] local.INFO: Packet analysis {"connection_id":174299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070bb"} 
[2026-09-05 14:15:07] local.INFO: Extracted packet for processing {"connection_id":174299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070bb"} 
[2026-09-05 14:15:07] local.INFO: GPS Element Parsed {"raw_longitude":762458496,"raw_latitude":101480376,"longitude_deg":76.2458496,"latitude_deg":10.1480376,"altitude":11,"angle":105,"satellites":44,"speed":26,"hex_longitude":"2d723180","hex_latitude":"060c77b8","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881019648001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399764298802397184,"note":"Value kept but may cause issues"} 
[2026-09-05 14:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8218717502209888256,"note":"Value kept but may cause issues"} 
[2026-09-05 14:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788597747000,"timestamp_ms":1788597747000,"timestamp_seconds":1788597747,"priority":1,"record_length":96,"hex_timestamp":"000001a070bbbd38"} 
[2026-09-05 14:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:15: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-09-05 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 14:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881019648001,"66":27919,"167":206,"79":46336,"24":26,"16":399764298802397184,"45":8218717502209888256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-09-05 14:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881019648001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:15:07] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-05 14:15:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399764298802397184,"km_value":399764298802397.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8218717502209888256,"description":"Unknown IO ID 45"} 
[2026-09-05 14:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881019648001,"power":27919,"unknown_167":206,"unknown_79":46336,"ignition":26,"odometer":null,"unknown_45":8218717502209888256}} 
[2026-09-05 14:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":174299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:15:07] local.INFO: GPS data processed {"connection_id":174299,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:15:07] local.INFO: Acknowledgment sent {"connection_id":174299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:15:08] local.INFO: TCP Data received {"connection_id":174299,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070bbf7d0012d725440060c6e90000b00692f..."} 
[2026-09-05 14:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070bbf7d0012d725440060c6e90000b00692f..."} 
[2026-09-05 14:15:08] local.INFO: Processing buffer {"connection_id":174299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070bbf7d0012d725440060c6e90000b00692f..."} 
[2026-09-05 14:15:08] local.INFO: Packet analysis {"connection_id":174299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070bb"} 
[2026-09-05 14:15:08] local.INFO: Extracted packet for processing {"connection_id":174299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070bb"} 
[2026-09-05 14:15:08] local.INFO: GPS Element Parsed {"raw_longitude":762467392,"raw_latitude":101478032,"longitude_deg":76.2467392,"latitude_deg":10.1478032,"altitude":11,"angle":105,"satellites":47,"speed":20,"hex_longitude":"2d725440","hex_latitude":"060c6e90","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881023232001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399764736889061376,"note":"Value kept but may cause issues"} 
[2026-09-05 14:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8228498757649938432,"note":"Value kept but may cause issues"} 
[2026-09-05 14:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788597762000,"timestamp_ms":1788597762000,"timestamp_seconds":1788597762,"priority":1,"record_length":96,"hex_timestamp":"000001a070bbf7d0"} 
[2026-09-05 14:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:15: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-09-05 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 14:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881023232001,"66":27843,"166":206,"79":46336,"24":20,"16":399764736889061376,"45":8228498757649938432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,79,24,16,45]} 
[2026-09-05 14:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881023232001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:15:08] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-05 14:15:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399764736889061376,"km_value":399764736889061.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8228498757649938432,"description":"Unknown IO ID 45"} 
[2026-09-05 14:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881023232001,"power":27843,"unknown_166":206,"unknown_79":46336,"ignition":20,"odometer":null,"unknown_45":8228498757649938432}} 
[2026-09-05 14:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":174299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:15:08] local.INFO: GPS data processed {"connection_id":174299,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:15:08] local.INFO: Acknowledgment sent {"connection_id":174299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:15:26] local.INFO: TCP Data received {"connection_id":171584,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070b986d0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070b986d0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:15:26] local.INFO: Processing buffer {"connection_id":171584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070b986d0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:15:26] local.INFO: Packet analysis {"connection_id":171584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070b9"} 
[2026-09-05 14:15:26] local.INFO: Extracted packet for processing {"connection_id":171584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070b9"} 
[2026-09-05 14:15:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880909056001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:15:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:15:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788597602000,"timestamp_ms":1788597602000,"timestamp_seconds":1788597602,"priority":1,"record_length":96,"hex_timestamp":"000001a070b986d0"} 
[2026-09-05 14:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:15:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:15:26] 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-09-05 14:15:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:15:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880909056001,"66":25495,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880909056001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:15:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:15:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:15:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880909056001,"power":25495,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":171584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768979,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:15:26] local.INFO: GPS data processed {"connection_id":171584,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:15:26] local.INFO: Acknowledgment sent {"connection_id":171584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:15:40] local.INFO: TCP Data received {"connection_id":174299,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070bde7e8012d73e1c0060c2000000f00642e..."} 
[2026-09-05 14:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070bde7e8012d73e1c0060c2000000f00642e..."} 
[2026-09-05 14:15:40] local.INFO: Processing buffer {"connection_id":174299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070bde7e8012d73e1c0060c2000000f00642e..."} 
[2026-09-05 14:15:40] local.INFO: Packet analysis {"connection_id":174299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070bd"} 
[2026-09-05 14:15:40] local.INFO: Extracted packet for processing {"connection_id":174299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070bd"} 
[2026-09-05 14:15:40] local.INFO: GPS Element Parsed {"raw_longitude":762569152,"raw_latitude":101457920,"longitude_deg":76.2569152,"latitude_deg":10.145792,"altitude":15,"angle":100,"satellites":46,"speed":28,"hex_longitude":"2d73e1c0","hex_latitude":"060c2000","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881056768001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399769693281320960,"note":"Value kept but may cause issues"} 
[2026-09-05 14:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8340033217166196736,"note":"Value kept but may cause issues"} 
[2026-09-05 14:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788597889000,"timestamp_ms":1788597889000,"timestamp_seconds":1788597889,"priority":1,"record_length":96,"hex_timestamp":"000001a070bde7e8"} 
[2026-09-05 14:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:15:40] 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-09-05 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 14:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":174299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":174299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":174299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881056768001,"66":27908,"35":206,"79":46336,"24":28,"16":399769693281320960,"45":8340033217166196736},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,79,24,16,45]} 
[2026-09-05 14:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881056768001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:15:40] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-05 14:15:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399769693281320960,"km_value":399769693281320.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8340033217166196736,"description":"Unknown IO ID 45"} 
[2026-09-05 14:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881056768001,"power":27908,"unknown_35":206,"unknown_79":46336,"ignition":28,"odometer":null,"unknown_45":8340033217166196736}} 
[2026-09-05 14:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":174299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:15:40] local.INFO: GPS data processed {"connection_id":174299,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:15:40] local.INFO: Acknowledgment sent {"connection_id":174299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:15:47] local.INFO: TCP Data received {"connection_id":171890,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:15:47] local.INFO: Processing buffer {"connection_id":171890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:15:47] local.INFO: IMEI packet received {"connection_id":171890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":171890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:15:52] local.INFO: TCP Data received {"connection_id":171890,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:15:52] local.INFO: Processing buffer {"connection_id":171890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:15:52] local.INFO: IMEI packet received {"connection_id":171890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":171890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:15:53] local.INFO: TCP Data received {"connection_id":171890,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070be1e98012c7939c00848c5f00014000129..."} 
[2026-09-05 14:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070be1e98012c7939c00848c5f00014000129..."} 
[2026-09-05 14:15:53] local.INFO: Processing buffer {"connection_id":171890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070be1e98012c7939c00848c5f00014000129..."} 
[2026-09-05 14:15:53] local.INFO: Packet analysis {"connection_id":171890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070be"} 
[2026-09-05 14:15:53] local.INFO: Extracted packet for processing {"connection_id":171890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070be"} 
[2026-09-05 14:15:53] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880986112001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:15:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788597903000,"timestamp_ms":1788597903000,"timestamp_seconds":1788597903,"priority":1,"record_length":96,"hex_timestamp":"000001a070be1e98"} 
[2026-09-05 14:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 14:15: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-09-05 14:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880986112001,"66":25473,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880986112001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:15:53] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:15:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:15:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880986112001,"power":25473,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":171890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768981,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:15:54] local.INFO: GPS data processed {"connection_id":171890,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:15:54] local.INFO: Acknowledgment sent {"connection_id":171890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:15:54] local.INFO: TCP Data received {"connection_id":172975,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:15:54] local.INFO: Processing buffer {"connection_id":172975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:15:54] local.INFO: IMEI packet received {"connection_id":172975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":172975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:15:56] local.INFO: TCP Data received {"connection_id":172975,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:15:56] local.INFO: Processing buffer {"connection_id":172975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:15:56] local.INFO: IMEI packet received {"connection_id":172975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":172975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:16:01] local.INFO: TCP Data received {"connection_id":172975,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:16:01] local.INFO: Processing buffer {"connection_id":172975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:16:01] local.INFO: IMEI packet received {"connection_id":172975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":172975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:16:03] local.INFO: TCP Data received {"connection_id":172975,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070bdff58012d73f200060c1be8000f006f2e..."} 
[2026-09-05 14:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070bdff58012d73f200060c1be8000f006f2e..."} 
[2026-09-05 14:16:03] local.INFO: Processing buffer {"connection_id":172975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070bdff58012d73f200060c1be8000f006f2e..."} 
[2026-09-05 14:16:03] local.INFO: Packet analysis {"connection_id":172975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070bd"} 
[2026-09-05 14:16:03] local.INFO: Extracted packet for processing {"connection_id":172975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070bd"} 
[2026-09-05 14:16:03] local.INFO: GPS Element Parsed {"raw_longitude":762573312,"raw_latitude":101456872,"longitude_deg":76.2573312,"latitude_deg":10.1456872,"altitude":15,"angle":111,"satellites":46,"speed":30,"hex_longitude":"2d73f200","hex_latitude":"060c1be8","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881059584001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399769899439751168,"note":"Value kept but may cause issues"} 
[2026-09-05 14:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8350166316327370752,"note":"Value kept but may cause issues"} 
[2026-09-05 14:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788597895000,"timestamp_ms":1788597895000,"timestamp_seconds":1788597895,"priority":1,"record_length":96,"hex_timestamp":"000001a070bdff58"} 
[2026-09-05 14:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:16: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-09-05 14: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":4,"data_length":795,"current_offset":136} 
[2026-09-05 14:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881059584001,"66":27930,"35":206,"79":46336,"24":30,"16":399769899439751168,"45":8350166316327370752},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,79,24,16,45]} 
[2026-09-05 14:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881059584001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:16:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-05 14:16:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399769899439751168,"km_value":399769899439751.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8350166316327370752,"description":"Unknown IO ID 45"} 
[2026-09-05 14:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881059584001,"power":27930,"unknown_35":206,"unknown_79":46336,"ignition":30,"odometer":null,"unknown_45":8350166316327370752}} 
[2026-09-05 14:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":172975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:16:03] local.INFO: GPS data processed {"connection_id":172975,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:16:03] local.INFO: Acknowledgment sent {"connection_id":172975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:16:25] local.INFO: TCP Data received {"connection_id":171890,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070be1e98012c7939c00848c5f00014000129..."} 
[2026-09-05 14:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070be1e98012c7939c00848c5f00014000129..."} 
[2026-09-05 14:16:25] local.INFO: Processing buffer {"connection_id":171890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070be1e98012c7939c00848c5f00014000129..."} 
[2026-09-05 14:16:25] local.INFO: Packet analysis {"connection_id":171890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070be"} 
[2026-09-05 14:16:25] local.INFO: Extracted packet for processing {"connection_id":171890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070be"} 
[2026-09-05 14:16:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880986112001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:16:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788597903000,"timestamp_ms":1788597903000,"timestamp_seconds":1788597903,"priority":1,"record_length":96,"hex_timestamp":"000001a070be1e98"} 
[2026-09-05 14:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 14:16:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:16:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:16:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880986112001,"66":25473,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880986112001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:16:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:16:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:16:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880986112001,"power":25473,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":171890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768983,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:16:25] local.INFO: GPS data processed {"connection_id":171890,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:16:25] local.INFO: Acknowledgment sent {"connection_id":171890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:16:35] local.INFO: TCP Data received {"connection_id":172975,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070be0728012d73f700060c19180010007c2e..."} 
[2026-09-05 14:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070be0728012d73f700060c19180010007c2e..."} 
[2026-09-05 14:16:35] local.INFO: Processing buffer {"connection_id":172975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070be0728012d73f700060c19180010007c2e..."} 
[2026-09-05 14:16:35] local.INFO: Packet analysis {"connection_id":172975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070be"} 
[2026-09-05 14:16:35] local.INFO: Extracted packet for processing {"connection_id":172975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070be"} 
[2026-09-05 14:16:35] local.INFO: GPS Element Parsed {"raw_longitude":762574592,"raw_latitude":101456152,"longitude_deg":76.2574592,"latitude_deg":10.1456152,"altitude":16,"angle":124,"satellites":46,"speed":30,"hex_longitude":"2d73f700","hex_latitude":"060c1918","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881061120001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399769968159227904,"note":"Value kept but may cause issues"} 
[2026-09-05 14:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8354740284698650624,"note":"Value kept but may cause issues"} 
[2026-09-05 14:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788597897000,"timestamp_ms":1788597897000,"timestamp_seconds":1788597897,"priority":1,"record_length":96,"hex_timestamp":"000001a070be0728"} 
[2026-09-05 14:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:16:35] 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-09-05 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 14:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881061120001,"66":27865,"35":206,"79":46336,"24":30,"16":399769968159227904,"45":8354740284698650624},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,79,24,16,45]} 
[2026-09-05 14:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881061120001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:16:35] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-05 14:16:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 14:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399769968159227904,"km_value":399769968159227.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8354740284698650624,"description":"Unknown IO ID 45"} 
[2026-09-05 14:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881061120001,"power":27865,"unknown_35":206,"unknown_79":46336,"ignition":30,"odometer":null,"unknown_45":8354740284698650624}} 
[2026-09-05 14:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":172975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:16:35] local.INFO: GPS data processed {"connection_id":172975,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:16:35] local.INFO: Acknowledgment sent {"connection_id":172975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:16:48] local.INFO: TCP Data received {"connection_id":171585,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:16:48] local.INFO: Processing buffer {"connection_id":171585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:16:48] local.INFO: IMEI packet received {"connection_id":171585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":171585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:16:52] local.INFO: TCP Data received {"connection_id":171585,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:16:52] local.INFO: Processing buffer {"connection_id":171585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:16:52] local.INFO: IMEI packet received {"connection_id":171585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":171585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:16:54] local.INFO: TCP Data received {"connection_id":171585,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070be1e98012c7939c00848c5f00014000129..."} 
[2026-09-05 14:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070be1e98012c7939c00848c5f00014000129..."} 
[2026-09-05 14:16:54] local.INFO: Processing buffer {"connection_id":171585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070be1e98012c7939c00848c5f00014000129..."} 
[2026-09-05 14:16:54] local.INFO: Packet analysis {"connection_id":171585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070be"} 
[2026-09-05 14:16:54] local.INFO: Extracted packet for processing {"connection_id":171585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070be"} 
[2026-09-05 14:16:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880986112001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:16:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788597903000,"timestamp_ms":1788597903000,"timestamp_seconds":1788597903,"priority":1,"record_length":96,"hex_timestamp":"000001a070be1e98"} 
[2026-09-05 14:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 14:16:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:16:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880986112001,"66":25473,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880986112001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:16:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:16:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:16:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880986112001,"power":25473,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":171585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768985,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:16:54] local.INFO: GPS data processed {"connection_id":171585,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:16:54] local.INFO: Acknowledgment sent {"connection_id":171585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:16:56] local.INFO: TCP Data received {"connection_id":171891,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:16:56] local.INFO: Processing buffer {"connection_id":171891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:16:56] local.INFO: IMEI packet received {"connection_id":171891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":171891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:16:57] local.INFO: TCP Data received {"connection_id":171891,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:16:57] local.INFO: Processing buffer {"connection_id":171891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:16:57] local.INFO: IMEI packet received {"connection_id":171891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":171891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:16:58] local.INFO: TCP Data received {"connection_id":171891,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:16:58] local.INFO: Processing buffer {"connection_id":171891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:16:58] local.INFO: IMEI packet received {"connection_id":171891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":171891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:16:59] local.INFO: TCP Data received {"connection_id":171891,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070bf33f0012d74c880060b86c0000800a12d..."} 
[2026-09-05 14:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070bf33f0012d74c880060b86c0000800a12d..."} 
[2026-09-05 14:16:59] local.INFO: Processing buffer {"connection_id":171891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070bf33f0012d74c880060b86c0000800a12d..."} 
[2026-09-05 14:16:59] local.INFO: Packet analysis {"connection_id":171891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070bf"} 
[2026-09-05 14:16:59] local.INFO: Extracted packet for processing {"connection_id":171891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070bf"} 
[2026-09-05 14:16:59] local.INFO: GPS Element Parsed {"raw_longitude":762628224,"raw_latitude":101418688,"longitude_deg":76.2628224,"latitude_deg":10.1418688,"altitude":8,"angle":161,"satellites":45,"speed":34,"hex_longitude":"2d74c880","hex_latitude":"060b86c0","is_valid_coordinates":true} 
[2026-09-05 14:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881078784001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399773425607901184,"note":"Value kept but may cause issues"} 
[2026-09-05 14:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8412020442451750912,"note":"Value kept but may cause issues"} 
[2026-09-05 14:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788597974000,"timestamp_ms":1788597974000,"timestamp_seconds":1788597974,"priority":1,"record_length":96,"hex_timestamp":"000001a070bf33f0"} 
[2026-09-05 14:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:16:59] 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-09-05 14:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 14:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881078784001,"66":27843,"237":206,"79":47616,"24":34,"16":399773425607901184,"45":8412020442451750912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,79,24,16,45]} 
[2026-09-05 14:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881078784001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:16:59] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-05 14:16:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 14:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399773425607901184,"km_value":399773425607901.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8412020442451750912,"description":"Unknown IO ID 45"} 
[2026-09-05 14:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881078784001,"power":27843,"unknown_237":206,"unknown_79":47616,"ignition":34,"odometer":null,"unknown_45":8412020442451750912}} 
[2026-09-05 14:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":171891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:16:59] local.INFO: GPS data processed {"connection_id":171891,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:16:59] local.INFO: Acknowledgment sent {"connection_id":171891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:17:26] local.INFO: TCP Data received {"connection_id":171585,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070be1e98012c7939c00848c5f00014000129..."} 
[2026-09-05 14:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070be1e98012c7939c00848c5f00014000129..."} 
[2026-09-05 14:17:26] local.INFO: Processing buffer {"connection_id":171585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070be1e98012c7939c00848c5f00014000129..."} 
[2026-09-05 14:17:26] local.INFO: Packet analysis {"connection_id":171585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070be"} 
[2026-09-05 14:17:26] local.INFO: Extracted packet for processing {"connection_id":171585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070be"} 
[2026-09-05 14:17:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880986112001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:17:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788597903000,"timestamp_ms":1788597903000,"timestamp_seconds":1788597903,"priority":1,"record_length":96,"hex_timestamp":"000001a070be1e98"} 
[2026-09-05 14:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 14:17:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880986112001,"66":25473,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880986112001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:17:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:17:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:17:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880986112001,"power":25473,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":171585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768987,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:17:26] local.INFO: GPS data processed {"connection_id":171585,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:17:26] local.INFO: Acknowledgment sent {"connection_id":171585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:17:30] local.INFO: TCP Data received {"connection_id":171891,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070bf4390012d74cd40060b7b58000800952d..."} 
[2026-09-05 14:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070bf4390012d74cd40060b7b58000800952d..."} 
[2026-09-05 14:17:30] local.INFO: Processing buffer {"connection_id":171891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070bf4390012d74cd40060b7b58000800952d..."} 
[2026-09-05 14:17:30] local.INFO: Packet analysis {"connection_id":171891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070bf"} 
[2026-09-05 14:17:30] local.INFO: Extracted packet for processing {"connection_id":171891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070bf"} 
[2026-09-05 14:17:30] local.INFO: GPS Element Parsed {"raw_longitude":762629440,"raw_latitude":101415768,"longitude_deg":76.262944,"latitude_deg":10.1415768,"altitude":8,"angle":149,"satellites":45,"speed":30,"hex_longitude":"2d74cd40","hex_latitude":"060b7b58","is_valid_coordinates":true} 
[2026-09-05 14:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881081344001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399773575931756544,"note":"Value kept but may cause issues"} 
[2026-09-05 14:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8415116667193311232,"note":"Value kept but may cause issues"} 
[2026-09-05 14:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788597978000,"timestamp_ms":1788597978000,"timestamp_seconds":1788597978,"priority":1,"record_length":96,"hex_timestamp":"000001a070bf4390"} 
[2026-09-05 14:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:17:30] 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-09-05 14:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 14:17: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-09-05 14:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":171891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":171891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":171891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881081344001,"66":27919,"237":206,"79":47616,"24":30,"16":399773575931756544,"45":8415116667193311232},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,79,24,16,45]} 
[2026-09-05 14:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881081344001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:17:30] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-05 14:17:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 14:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399773575931756544,"km_value":399773575931756.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8415116667193311232,"description":"Unknown IO ID 45"} 
[2026-09-05 14:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881081344001,"power":27919,"unknown_237":206,"unknown_79":47616,"ignition":30,"odometer":null,"unknown_45":8415116667193311232}} 
[2026-09-05 14:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":171891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:17:30] local.INFO: GPS data processed {"connection_id":171891,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:17:30] local.INFO: Acknowledgment sent {"connection_id":171891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:17:47] local.INFO: TCP Data received {"connection_id":174300,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174300,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:17:47] local.INFO: Processing buffer {"connection_id":174300,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:17:47] local.INFO: IMEI packet received {"connection_id":174300,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":174300,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:17:53] local.INFO: TCP Data received {"connection_id":174300,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174300,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:17:53] local.INFO: Processing buffer {"connection_id":174300,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:17:53] local.INFO: IMEI packet received {"connection_id":174300,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":174300,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:17:54] local.INFO: TCP Data received {"connection_id":174300,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070be1e98012c7939c00848c5f00014000129..."} 
[2026-09-05 14:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070be1e98012c7939c00848c5f00014000129..."} 
[2026-09-05 14:17:54] local.INFO: Processing buffer {"connection_id":174300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070be1e98012c7939c00848c5f00014000129..."} 
[2026-09-05 14:17:54] local.INFO: Packet analysis {"connection_id":174300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070be"} 
[2026-09-05 14:17:54] local.INFO: Extracted packet for processing {"connection_id":174300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070be"} 
[2026-09-05 14:17:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880986112001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:17:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:17:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788597903000,"timestamp_ms":1788597903000,"timestamp_seconds":1788597903,"priority":1,"record_length":96,"hex_timestamp":"000001a070be1e98"} 
[2026-09-05 14:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:17:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 14:17:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:17:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174300,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174300,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:17:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880986112001,"66":25473,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880986112001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:17:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:17:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:17:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880986112001,"power":25473,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":174300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768989,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:17:54] local.INFO: GPS data processed {"connection_id":174300,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:17:54] local.INFO: Acknowledgment sent {"connection_id":174300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:17:56] local.INFO: TCP Data received {"connection_id":174301,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:17:56] local.INFO: Processing buffer {"connection_id":174301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:17:56] local.INFO: IMEI packet received {"connection_id":174301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":174301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:17:59] local.INFO: TCP Data received {"connection_id":174301,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:17:59] local.INFO: Processing buffer {"connection_id":174301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:17:59] local.INFO: IMEI packet received {"connection_id":174301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":174301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:18:00] local.INFO: TCP Data received {"connection_id":174301,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070bf4b60012d74d100060b7678000900892d..."} 
[2026-09-05 14:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070bf4b60012d74d100060b7678000900892d..."} 
[2026-09-05 14:18:00] local.INFO: Processing buffer {"connection_id":174301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070bf4b60012d74d100060b7678000900892d..."} 
[2026-09-05 14:18:00] local.INFO: Packet analysis {"connection_id":174301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070bf"} 
[2026-09-05 14:18:00] local.INFO: Extracted packet for processing {"connection_id":174301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070bf"} 
[2026-09-05 14:18:00] local.INFO: GPS Element Parsed {"raw_longitude":762630400,"raw_latitude":101414520,"longitude_deg":76.26304,"latitude_deg":10.141452,"altitude":9,"angle":137,"satellites":45,"speed":31,"hex_longitude":"2d74d100","hex_latitude":"060b7678","is_valid_coordinates":true} 
[2026-09-05 14:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881082368001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399773653241167872,"note":"Value kept but may cause issues"} 
[2026-09-05 14:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8416453673331939328,"note":"Value kept but may cause issues"} 
[2026-09-05 14:18:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788597980000,"timestamp_ms":1788597980000,"timestamp_seconds":1788597980,"priority":1,"record_length":96,"hex_timestamp":"000001a070bf4b60"} 
[2026-09-05 14:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:18:00] 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-09-05 14:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 14:18:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:18:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:18:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881082368001,"66":27821,"237":206,"79":47616,"24":31,"16":399773653241167872,"45":8416453673331939328},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,79,24,16,45]} 
[2026-09-05 14:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881082368001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:18:00] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-05 14:18:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 14:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399773653241167872,"km_value":399773653241167.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8416453673331939328,"description":"Unknown IO ID 45"} 
[2026-09-05 14:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881082368001,"power":27821,"unknown_237":206,"unknown_79":47616,"ignition":31,"odometer":null,"unknown_45":8416453673331939328}} 
[2026-09-05 14:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":174301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:18:00] local.INFO: GPS data processed {"connection_id":174301,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:18:00] local.INFO: Acknowledgment sent {"connection_id":174301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:18:26] local.INFO: TCP Data received {"connection_id":174300,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070be1e98012c7939c00848c5f00014000129..."} 
[2026-09-05 14:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070be1e98012c7939c00848c5f00014000129..."} 
[2026-09-05 14:18:26] local.INFO: Processing buffer {"connection_id":174300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070be1e98012c7939c00848c5f00014000129..."} 
[2026-09-05 14:18:26] local.INFO: Packet analysis {"connection_id":174300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070be"} 
[2026-09-05 14:18:26] local.INFO: Extracted packet for processing {"connection_id":174300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070be"} 
[2026-09-05 14:18:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880986112001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:18:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:18:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788597903000,"timestamp_ms":1788597903000,"timestamp_seconds":1788597903,"priority":1,"record_length":96,"hex_timestamp":"000001a070be1e98"} 
[2026-09-05 14:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 14:18:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:18:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174300,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174300,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880986112001,"66":25473,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880986112001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:18:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:18:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:18:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880986112001,"power":25473,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":174300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768991,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:18:26] local.INFO: GPS data processed {"connection_id":174300,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:18:26] local.INFO: Acknowledgment sent {"connection_id":174300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:18:31] local.INFO: TCP Data received {"connection_id":174301,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070bf6aa0012d74e3c0060b67300009007e2f..."} 
[2026-09-05 14:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070bf6aa0012d74e3c0060b67300009007e2f..."} 
[2026-09-05 14:18:31] local.INFO: Processing buffer {"connection_id":174301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070bf6aa0012d74e3c0060b67300009007e2f..."} 
[2026-09-05 14:18:31] local.INFO: Packet analysis {"connection_id":174301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070bf"} 
[2026-09-05 14:18:31] local.INFO: Extracted packet for processing {"connection_id":174301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070bf"} 
[2026-09-05 14:18:31] local.INFO: GPS Element Parsed {"raw_longitude":762635200,"raw_latitude":101410608,"longitude_deg":76.26352,"latitude_deg":10.1410608,"altitude":9,"angle":126,"satellites":47,"speed":30,"hex_longitude":"2d74e3c0","hex_latitude":"060b6730","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881082880001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399773949593911296,"note":"Value kept but may cause issues"} 
[2026-09-05 14:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8417509204494284800,"note":"Value kept but may cause issues"} 
[2026-09-05 14:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788597988000,"timestamp_ms":1788597988000,"timestamp_seconds":1788597988,"priority":1,"record_length":96,"hex_timestamp":"000001a070bf6aa0"} 
[2026-09-05 14:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:18: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-09-05 14:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 14:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881082880001,"66":27908,"237":206,"79":47616,"24":30,"16":399773949593911296,"45":8417509204494284800},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,79,24,16,45]} 
[2026-09-05 14:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881082880001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:18:31] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-05 14:18:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 14:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399773949593911296,"km_value":399773949593911.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8417509204494284800,"description":"Unknown IO ID 45"} 
[2026-09-05 14:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881082880001,"power":27908,"unknown_237":206,"unknown_79":47616,"ignition":30,"odometer":null,"unknown_45":8417509204494284800}} 
[2026-09-05 14:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":174301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:18:31] local.INFO: GPS data processed {"connection_id":174301,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:18:31] local.INFO: Acknowledgment sent {"connection_id":174301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:18:47] local.INFO: TCP Data received {"connection_id":172977,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172977,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:18:47] local.INFO: Processing buffer {"connection_id":172977,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:18:47] local.INFO: IMEI packet received {"connection_id":172977,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":172977,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:18:52] local.INFO: TCP Data received {"connection_id":172977,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172977,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:18:52] local.INFO: Processing buffer {"connection_id":172977,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:18:52] local.INFO: IMEI packet received {"connection_id":172977,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":172977,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:18:54] local.INFO: TCP Data received {"connection_id":172977,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070be1e98012c7939c00848c5f00014000129..."} 
[2026-09-05 14:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070be1e98012c7939c00848c5f00014000129..."} 
[2026-09-05 14:18:54] local.INFO: Processing buffer {"connection_id":172977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070be1e98012c7939c00848c5f00014000129..."} 
[2026-09-05 14:18:54] local.INFO: Packet analysis {"connection_id":172977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070be"} 
[2026-09-05 14:18:54] local.INFO: Extracted packet for processing {"connection_id":172977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070be"} 
[2026-09-05 14:18:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880986112001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:18:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788597903000,"timestamp_ms":1788597903000,"timestamp_seconds":1788597903,"priority":1,"record_length":96,"hex_timestamp":"000001a070be1e98"} 
[2026-09-05 14:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 14:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172977,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172977,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880986112001,"66":25473,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880986112001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:18:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:18:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:18:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880986112001,"power":25473,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":172977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768993,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:18:54] local.INFO: GPS data processed {"connection_id":172977,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:18:54] local.INFO: Acknowledgment sent {"connection_id":172977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:18:56] local.INFO: TCP Data received {"connection_id":174303,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:18:56] local.INFO: Processing buffer {"connection_id":174303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:18:56] local.INFO: IMEI packet received {"connection_id":174303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":174303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:18:59] local.INFO: TCP Data received {"connection_id":174303,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:18:59] local.INFO: Processing buffer {"connection_id":174303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:18:59] local.INFO: IMEI packet received {"connection_id":174303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":174303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:19:02] local.INFO: TCP Data received {"connection_id":174303,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:19:02] local.INFO: Processing buffer {"connection_id":174303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:19:02] local.INFO: IMEI packet received {"connection_id":174303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":174303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:19:05] local.INFO: TCP Data received {"connection_id":174303,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070bf9d68012d7501c0060b5138000c007f2f..."} 
[2026-09-05 14:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070bf9d68012d7501c0060b5138000c007f2f..."} 
[2026-09-05 14:19:05] local.INFO: Processing buffer {"connection_id":174303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070bf9d68012d7501c0060b5138000c007f2f..."} 
[2026-09-05 14:19:05] local.INFO: Packet analysis {"connection_id":174303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070bf"} 
[2026-09-05 14:19:05] local.INFO: Extracted packet for processing {"connection_id":174303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070bf"} 
[2026-09-05 14:19:05] local.INFO: GPS Element Parsed {"raw_longitude":762642880,"raw_latitude":101404984,"longitude_deg":76.264288,"latitude_deg":10.1404984,"altitude":12,"angle":127,"satellites":47,"speed":28,"hex_longitude":"2d7501c0","hex_latitude":"060b5138","is_valid_coordinates":true} 
[2026-09-05 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-09-05 14:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881084928001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399774409155411968,"note":"Value kept but may cause issues"} 
[2026-09-05 14:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8422786860306608128,"note":"Value kept but may cause issues"} 
[2026-09-05 14:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788598001000,"timestamp_ms":1788598001000,"timestamp_seconds":1788598001,"priority":1,"record_length":96,"hex_timestamp":"000001a070bf9d68"} 
[2026-09-05 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-09-05 14:19:05] 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-09-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 14:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 14:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881084928001,"66":27767,"237":206,"79":47616,"24":28,"16":399774409155411968,"45":8422786860306608128},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,79,24,16,45]} 
[2026-09-05 14:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881084928001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:19:05] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-05 14:19:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 14:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399774409155411968,"km_value":399774409155411.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8422786860306608128,"description":"Unknown IO ID 45"} 
[2026-09-05 14:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881084928001,"power":27767,"unknown_237":206,"unknown_79":47616,"ignition":28,"odometer":null,"unknown_45":8422786860306608128}} 
[2026-09-05 14:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":174303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:19:05] local.INFO: GPS data processed {"connection_id":174303,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:19:05] local.INFO: Acknowledgment sent {"connection_id":174303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:19:06] local.INFO: TCP Data received {"connection_id":174302,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:19:06] local.INFO: Processing buffer {"connection_id":174302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:19:06] local.INFO: IMEI packet received {"connection_id":174302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":174302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:19:06] local.INFO: TCP Data received {"connection_id":174303,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070bfc860012d751e80060b3cc0000c00802c..."} 
[2026-09-05 14:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070bfc860012d751e80060b3cc0000c00802c..."} 
[2026-09-05 14:19:06] local.INFO: Processing buffer {"connection_id":174303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070bfc860012d751e80060b3cc0000c00802c..."} 
[2026-09-05 14:19:06] local.INFO: Packet analysis {"connection_id":174303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070bf"} 
[2026-09-05 14:19:06] local.INFO: Extracted packet for processing {"connection_id":174303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070bf"} 
[2026-09-05 14:19:06] local.INFO: GPS Element Parsed {"raw_longitude":762650240,"raw_latitude":101399744,"longitude_deg":76.265024,"latitude_deg":10.1399744,"altitude":12,"angle":128,"satellites":44,"speed":33,"hex_longitude":"2d751e80","hex_latitude":"060b3cc0","is_valid_coordinates":true} 
[2026-09-05 14:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881088256001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399774838652141568,"note":"Value kept but may cause issues"} 
[2026-09-05 14:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8431231109606488064,"note":"Value kept but may cause issues"} 
[2026-09-05 14:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788598012000,"timestamp_ms":1788598012000,"timestamp_seconds":1788598012,"priority":1,"record_length":96,"hex_timestamp":"000001a070bfc860"} 
[2026-09-05 14:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 14:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881088256001,"66":27930,"237":206,"79":47616,"24":33,"16":399774838652141568,"45":8431231109606488064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,79,24,16,45]} 
[2026-09-05 14:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881088256001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:19:06] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-05 14:19:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 14:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399774838652141568,"km_value":399774838652141.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8431231109606488064,"description":"Unknown IO ID 45"} 
[2026-09-05 14:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881088256001,"power":27930,"unknown_237":206,"unknown_79":47616,"ignition":33,"odometer":null,"unknown_45":8431231109606488064}} 
[2026-09-05 14:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":174303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:19:06] local.INFO: GPS data processed {"connection_id":174303,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:19:06] local.INFO: Acknowledgment sent {"connection_id":174303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:19:08] local.INFO: TCP Data received {"connection_id":174302,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070c02df0012cfe9b00072d8578000f006229..."} 
[2026-09-05 14:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c02df0012cfe9b00072d8578000f006229..."} 
[2026-09-05 14:19:08] local.INFO: Processing buffer {"connection_id":174302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c02df0012cfe9b00072d8578000f006229..."} 
[2026-09-05 14:19:08] local.INFO: Packet analysis {"connection_id":174302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c0"} 
[2026-09-05 14:19:08] local.INFO: Extracted packet for processing {"connection_id":174302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c0"} 
[2026-09-05 14:19:08] local.INFO: GPS Element Parsed {"raw_longitude":754883328,"raw_latitude":120423800,"longitude_deg":75.4883328,"latitude_deg":12.04238,"altitude":15,"angle":98,"satellites":41,"speed":46,"hex_longitude":"2cfe9b00","hex_latitude":"072d8578","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881095680001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17795608580456448,"note":"Value kept but may cause issues"} 
[2026-09-05 14:19:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-110760372506675200,"note":"Value kept but may cause issues"} 
[2026-09-05 14:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788598038000,"timestamp_ms":1788598038000,"timestamp_seconds":1788598038,"priority":1,"record_length":96,"hex_timestamp":"000001a070c02df0"} 
[2026-09-05 14:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:19: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-09-05 14: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 14:19: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-09-05 14: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-09-05 14:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881095680001,"66":14265,"184":206,"83":44288,"24":46,"16":17795608580456448,"44":-110760372506675200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,83,24,16,44]} 
[2026-09-05 14:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881095680001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:19:08] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-05 14:19:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 14:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17795608580456448,"km_value":17795608580456.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:19:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-110760372506675200,"description":"Unknown IO ID 44"} 
[2026-09-05 14:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881095680001,"power":14265,"unknown_184":206,"unknown_83":44288,"ignition":46,"odometer":null,"unknown_44":-110760372506675200}} 
[2026-09-05 14:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":174302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:19:09] local.INFO: GPS data processed {"connection_id":174302,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:19:09] local.INFO: Acknowledgment sent {"connection_id":174302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:19:26] local.INFO: TCP Data received {"connection_id":172977,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070be1e98012c7939c00848c5f00014000129..."} 
[2026-09-05 14:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070be1e98012c7939c00848c5f00014000129..."} 
[2026-09-05 14:19:26] local.INFO: Processing buffer {"connection_id":172977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070be1e98012c7939c00848c5f00014000129..."} 
[2026-09-05 14:19:26] local.INFO: Packet analysis {"connection_id":172977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070be"} 
[2026-09-05 14:19:26] local.INFO: Extracted packet for processing {"connection_id":172977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070be"} 
[2026-09-05 14:19:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880986112001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:19:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788597903000,"timestamp_ms":1788597903000,"timestamp_seconds":1788597903,"priority":1,"record_length":96,"hex_timestamp":"000001a070be1e98"} 
[2026-09-05 14:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 14:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172977,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172977,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880986112001,"66":25473,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880986112001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:19:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:19:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:19:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880986112001,"power":25473,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":172977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768997,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:19:26] local.INFO: GPS data processed {"connection_id":172977,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:19:26] local.INFO: Acknowledgment sent {"connection_id":172977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:19:37] local.INFO: TCP Data received {"connection_id":174303,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070bfef70012d753c00060b2760000d007e2d..."} 
[2026-09-05 14:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070bfef70012d753c00060b2760000d007e2d..."} 
[2026-09-05 14:19:37] local.INFO: Processing buffer {"connection_id":174303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070bfef70012d753c00060b2760000d007e2d..."} 
[2026-09-05 14:19:37] local.INFO: Packet analysis {"connection_id":174303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070bf"} 
[2026-09-05 14:19:37] local.INFO: Extracted packet for processing {"connection_id":174303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070bf"} 
[2026-09-05 14:19:37] local.INFO: GPS Element Parsed {"raw_longitude":762657792,"raw_latitude":101394272,"longitude_deg":76.2657792,"latitude_deg":10.1394272,"altitude":13,"angle":126,"satellites":45,"speed":35,"hex_longitude":"2d753c00","hex_latitude":"060b2760","is_valid_coordinates":true} 
[2026-09-05 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-09-05 14:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881091072001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399775289623707648,"note":"Value kept but may cause issues"} 
[2026-09-05 14:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8439323515185577984,"note":"Value kept but may cause issues"} 
[2026-09-05 14:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788598022000,"timestamp_ms":1788598022000,"timestamp_seconds":1788598022,"priority":1,"record_length":96,"hex_timestamp":"000001a070bfef70"} 
[2026-09-05 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-09-05 14:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 14:19: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-09-05 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-09-05 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-09-05 14:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881091072001,"66":27626,"237":206,"79":47616,"24":35,"16":399775289623707648,"45":8439323515185577984},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,79,24,16,45]} 
[2026-09-05 14:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881091072001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:19:37] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-05 14:19:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 14:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399775289623707648,"km_value":399775289623707.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8439323515185577984,"description":"Unknown IO ID 45"} 
[2026-09-05 14:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881091072001,"power":27626,"unknown_237":206,"unknown_79":47616,"ignition":35,"odometer":null,"unknown_45":8439323515185577984}} 
[2026-09-05 14:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":174303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:19:37] local.INFO: GPS data processed {"connection_id":174303,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:19:37] local.INFO: Acknowledgment sent {"connection_id":174303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:19:45] local.INFO: TCP Data received {"connection_id":171586,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:19:45] local.INFO: Processing buffer {"connection_id":171586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:19:45] local.INFO: IMEI packet received {"connection_id":171586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":171586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:19:46] local.INFO: TCP Data received {"connection_id":171586,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:19:46] local.INFO: Processing buffer {"connection_id":171586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:19:46] local.INFO: IMEI packet received {"connection_id":171586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":171586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:19:52] local.INFO: TCP Data received {"connection_id":172978,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:19:52] local.INFO: Processing buffer {"connection_id":172978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:19:52] local.INFO: IMEI packet received {"connection_id":172978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":172978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:19:55] local.INFO: TCP Data received {"connection_id":171586,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:19:55] local.INFO: Processing buffer {"connection_id":171586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:19:55] local.INFO: IMEI packet received {"connection_id":171586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":171586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:19:56] local.INFO: TCP Data received {"connection_id":171586,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070c15ab8012cfff380072d7d78000f00462d..."} 
[2026-09-05 14:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c15ab8012cfff380072d7d78000f00462d..."} 
[2026-09-05 14:19:56] local.INFO: Processing buffer {"connection_id":171586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c15ab8012cfff380072d7d78000f00462d..."} 
[2026-09-05 14:19:56] local.INFO: Packet analysis {"connection_id":171586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c1"} 
[2026-09-05 14:19:56] local.INFO: Extracted packet for processing {"connection_id":171586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c1"} 
[2026-09-05 14:19:56] local.INFO: GPS Element Parsed {"raw_longitude":754971520,"raw_latitude":120421752,"longitude_deg":75.497152,"latitude_deg":12.0421752,"altitude":15,"angle":70,"satellites":45,"speed":50,"hex_longitude":"2cfff380","hex_latitude":"072d7d78","is_valid_coordinates":true} 
[2026-09-05 14:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881115392001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17799937907490816,"note":"Value kept but may cause issues"} 
[2026-09-05 14:19:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-14284824240824320,"note":"Value kept but may cause issues"} 
[2026-09-05 14:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788598115000,"timestamp_ms":1788598115000,"timestamp_seconds":1788598115,"priority":1,"record_length":96,"hex_timestamp":"000001a070c15ab8"} 
[2026-09-05 14:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:19:56] 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-09-05 14:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 14:19:56] 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-09-05 14:19:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881115392001,"66":14004,"214":206,"83":44288,"24":50,"16":17799937907490816,"44":-14284824240824320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,83,24,16,44]} 
[2026-09-05 14:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881115392001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:19:56] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 14:19:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 14:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17799937907490816,"km_value":17799937907490.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:19:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-14284824240824320,"description":"Unknown IO ID 44"} 
[2026-09-05 14:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881115392001,"power":14004,"unknown_214":206,"unknown_83":44288,"ignition":50,"odometer":null,"unknown_44":-14284824240824320}} 
[2026-09-05 14:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":171586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":768999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:19:56] local.INFO: GPS data processed {"connection_id":171586,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:19:56] local.INFO: Acknowledgment sent {"connection_id":171586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:19:56] local.INFO: TCP Data received {"connection_id":172979,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:19:56] local.INFO: Processing buffer {"connection_id":172979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:19:56] local.INFO: IMEI packet received {"connection_id":172979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":172979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:19:57] local.INFO: TCP Data received {"connection_id":172978,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:19:57] local.INFO: Processing buffer {"connection_id":172978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:19:57] local.INFO: IMEI packet received {"connection_id":172978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":172978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:19:58] local.INFO: TCP Data received {"connection_id":172978,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070be1e98012c7939c00848c5f00014000129..."} 
[2026-09-05 14:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070be1e98012c7939c00848c5f00014000129..."} 
[2026-09-05 14:19:58] local.INFO: Processing buffer {"connection_id":172978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070be1e98012c7939c00848c5f00014000129..."} 
[2026-09-05 14:19:58] local.INFO: Packet analysis {"connection_id":172978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070be"} 
[2026-09-05 14:19:58] local.INFO: Extracted packet for processing {"connection_id":172978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070be"} 
[2026-09-05 14:19:58] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880986112001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:19:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788597903000,"timestamp_ms":1788597903000,"timestamp_seconds":1788597903,"priority":1,"record_length":96,"hex_timestamp":"000001a070be1e98"} 
[2026-09-05 14:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 14:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880986112001,"66":25473,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880986112001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:19:58] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:19:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:19:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880986112001,"power":25473,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":172978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769000,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:19:58] local.INFO: GPS data processed {"connection_id":172978,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:19:58] local.INFO: Acknowledgment sent {"connection_id":172978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:20:00] local.INFO: TCP Data received {"connection_id":172979,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:20:00] local.INFO: Processing buffer {"connection_id":172979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:20:00] local.INFO: IMEI packet received {"connection_id":172979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":172979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:20:01] local.INFO: TCP Data received {"connection_id":172979,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:20:01] local.INFO: Processing buffer {"connection_id":172979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:20:01] local.INFO: IMEI packet received {"connection_id":172979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":172979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:20:01] local.INFO: TCP Data received {"connection_id":172979,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070c1a108012d767a80060a5a58000b00822c..."} 
[2026-09-05 14:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c1a108012d767a80060a5a58000b00822c..."} 
[2026-09-05 14:20:02] local.INFO: Processing buffer {"connection_id":172979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c1a108012d767a80060a5a58000b00822c..."} 
[2026-09-05 14:20:02] local.INFO: Packet analysis {"connection_id":172979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c1"} 
[2026-09-05 14:20:02] local.INFO: Extracted packet for processing {"connection_id":172979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c1"} 
[2026-09-05 14:20:02] local.INFO: GPS Element Parsed {"raw_longitude":762739328,"raw_latitude":101341784,"longitude_deg":76.2739328,"latitude_deg":10.1341784,"altitude":11,"angle":130,"satellites":44,"speed":46,"hex_longitude":"2d767a80","hex_latitude":"060a5a58","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881120000001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399779962548125696,"note":"Value kept but may cause issues"} 
[2026-09-05 14:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8529676982696321024,"note":"Value kept but may cause issues"} 
[2026-09-05 14:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788598133000,"timestamp_ms":1788598133000,"timestamp_seconds":1788598133,"priority":1,"record_length":96,"hex_timestamp":"000001a070c1a108"} 
[2026-09-05 14:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:20: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-09-05 14:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 14:20: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-09-05 14: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-09-05 14:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881120000001,"66":27908,"117":206,"79":47616,"24":46,"16":399779962548125696,"45":8529676982696321024},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-09-05 14:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881120000001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:20:02] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-05 14:20:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 14:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399779962548125696,"km_value":399779962548125.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8529676982696321024,"description":"Unknown IO ID 45"} 
[2026-09-05 14:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881120000001,"power":27908,"unknown_117":206,"unknown_79":47616,"ignition":46,"odometer":null,"unknown_45":8529676982696321024}} 
[2026-09-05 14:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":172979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:20:02] local.INFO: GPS data processed {"connection_id":172979,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:20:02] local.INFO: Acknowledgment sent {"connection_id":172979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:20:03] local.INFO: TCP Data received {"connection_id":172978,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070be1e98012c7939c00848c5f00014000129..."} 
[2026-09-05 14:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070be1e98012c7939c00848c5f00014000129..."} 
[2026-09-05 14:20:03] local.INFO: Processing buffer {"connection_id":172978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070be1e98012c7939c00848c5f00014000129..."} 
[2026-09-05 14:20:03] local.INFO: Packet analysis {"connection_id":172978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070be"} 
[2026-09-05 14:20:03] local.INFO: Extracted packet for processing {"connection_id":172978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070be"} 
[2026-09-05 14:20:03] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457880986112001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:20:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788597903000,"timestamp_ms":1788597903000,"timestamp_seconds":1788597903,"priority":1,"record_length":96,"hex_timestamp":"000001a070be1e98"} 
[2026-09-05 14:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 14:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457880986112001,"66":25473,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457880986112001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:20:03] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:20:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:20:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457880986112001,"power":25473,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":172978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769002,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:20:03] local.INFO: GPS data processed {"connection_id":172978,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:20:03] local.INFO: Acknowledgment sent {"connection_id":172978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:20:07] local.INFO: TCP Data received {"connection_id":172979,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070c1cc00012d769640060a4438000900812d..."} 
[2026-09-05 14:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c1cc00012d769640060a4438000900812d..."} 
[2026-09-05 14:20:07] local.INFO: Processing buffer {"connection_id":172979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c1cc00012d769640060a4438000900812d..."} 
[2026-09-05 14:20:07] local.INFO: Packet analysis {"connection_id":172979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c1"} 
[2026-09-05 14:20:07] local.INFO: Extracted packet for processing {"connection_id":172979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c1"} 
[2026-09-05 14:20:07] local.INFO: GPS Element Parsed {"raw_longitude":762746432,"raw_latitude":101336120,"longitude_deg":76.2746432,"latitude_deg":10.133612,"altitude":9,"angle":129,"satellites":45,"speed":12,"hex_longitude":"2d769640","hex_latitude":"060a4438","is_valid_coordinates":true} 
[2026-09-05 14:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881122048001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399780400634789888,"note":"Value kept but may cause issues"} 
[2026-09-05 14:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8537276807066048512,"note":"Value kept but may cause issues"} 
[2026-09-05 14:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788598144000,"timestamp_ms":1788598144000,"timestamp_seconds":1788598144,"priority":1,"record_length":96,"hex_timestamp":"000001a070c1cc00"} 
[2026-09-05 14:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:20: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-09-05 14:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 14:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881122048001,"66":27876,"117":206,"79":47616,"24":12,"16":399780400634789888,"45":8537276807066048512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-09-05 14:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881122048001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:20:07] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-05 14:20:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 14:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399780400634789888,"km_value":399780400634789.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8537276807066048512,"description":"Unknown IO ID 45"} 
[2026-09-05 14:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881122048001,"power":27876,"unknown_117":206,"unknown_79":47616,"ignition":12,"odometer":null,"unknown_45":8537276807066048512}} 
[2026-09-05 14:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":172979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:20:07] local.INFO: GPS data processed {"connection_id":172979,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:20:07] local.INFO: Acknowledgment sent {"connection_id":172979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:20:26] local.INFO: TCP Data received {"connection_id":171586,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070c221f0012d00b340072dd6a00019005928..."} 
[2026-09-05 14:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c221f0012d00b340072dd6a00019005928..."} 
[2026-09-05 14:20:26] local.INFO: Processing buffer {"connection_id":171586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c221f0012d00b340072dd6a00019005928..."} 
[2026-09-05 14:20:26] local.INFO: Packet analysis {"connection_id":171586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:20:26] local.INFO: Extracted packet for processing {"connection_id":171586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:20:26] local.INFO: GPS Element Parsed {"raw_longitude":755020608,"raw_latitude":120444576,"longitude_deg":75.5020608,"latitude_deg":12.0444576,"altitude":25,"angle":89,"satellites":40,"speed":29,"hex_longitude":"2d00b340","hex_latitude":"072dd6a0","is_valid_coordinates":true} 
[2026-09-05 14:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881130240001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17802557837541376,"note":"Value kept but may cause issues"} 
[2026-09-05 14:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":49609995479046144,"note":"Value kept but may cause issues"} 
[2026-09-05 14:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788598166000,"timestamp_ms":1788598166000,"timestamp_seconds":1788598166,"priority":1,"record_length":96,"hex_timestamp":"000001a070c221f0"} 
[2026-09-05 14:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:20:26] 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-09-05 14:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 14:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881130240001,"66":14461,"214":206,"83":44288,"24":29,"16":17802557837541376,"45":49609995479046144},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,83,24,16,45]} 
[2026-09-05 14:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881130240001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:20:26] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-05 14:20:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 14:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17802557837541376,"km_value":17802557837541.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":49609995479046144,"description":"Unknown IO ID 45"} 
[2026-09-05 14:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881130240001,"power":14461,"unknown_214":206,"unknown_83":44288,"ignition":29,"odometer":null,"unknown_45":49609995479046144}} 
[2026-09-05 14:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":171586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:20:27] local.INFO: GPS data processed {"connection_id":171586,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:20:27] local.INFO: Acknowledgment sent {"connection_id":171586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:20:38] local.INFO: TCP Data received {"connection_id":172979,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070c21250012d76aa40060a3088000b008d2e..."} 
[2026-09-05 14:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c21250012d76aa40060a3088000b008d2e..."} 
[2026-09-05 14:20:38] local.INFO: Processing buffer {"connection_id":172979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c21250012d76aa40060a3088000b008d2e..."} 
[2026-09-05 14:20:38] local.INFO: Packet analysis {"connection_id":172979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:20:38] local.INFO: Extracted packet for processing {"connection_id":172979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:20:38] local.INFO: GPS Element Parsed {"raw_longitude":762751552,"raw_latitude":101331080,"longitude_deg":76.2751552,"latitude_deg":10.133108,"altitude":11,"angle":141,"satellites":46,"speed":21,"hex_longitude":"2d76aa40","hex_latitude":"060a3088","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881124864001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399780748527140864,"note":"Value kept but may cause issues"} 
[2026-09-05 14:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8545087737668319232,"note":"Value kept but may cause issues"} 
[2026-09-05 14:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788598162000,"timestamp_ms":1788598162000,"timestamp_seconds":1788598162,"priority":1,"record_length":96,"hex_timestamp":"000001a070c21250"} 
[2026-09-05 14:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:20: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-09-05 14: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 14:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":172979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":172979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":172979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881124864001,"66":27908,"117":206,"79":47616,"24":21,"16":399780748527140864,"45":8545087737668319232},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-09-05 14:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881124864001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:20:38] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-05 14:20:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 14:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399780748527140864,"km_value":399780748527140.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8545087737668319232,"description":"Unknown IO ID 45"} 
[2026-09-05 14:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881124864001,"power":27908,"unknown_117":206,"unknown_79":47616,"ignition":21,"odometer":null,"unknown_45":8545087737668319232}} 
[2026-09-05 14:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":172979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:20:38] local.INFO: GPS data processed {"connection_id":172979,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:20:38] local.INFO: Acknowledgment sent {"connection_id":172979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:20:48] local.INFO: TCP Data received {"connection_id":171893,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:20:48] local.INFO: Processing buffer {"connection_id":171893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:20:48] local.INFO: IMEI packet received {"connection_id":171893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":171893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:20:50] local.INFO: TCP Data received {"connection_id":171587,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:20:50] local.INFO: Processing buffer {"connection_id":171587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:20:50] local.INFO: IMEI packet received {"connection_id":171587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":171587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:20:51] local.INFO: TCP Data received {"connection_id":171587,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:20:51] local.INFO: Processing buffer {"connection_id":171587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:20:51] local.INFO: IMEI packet received {"connection_id":171587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":171587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:20:51] local.INFO: TCP Data received {"connection_id":171587,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070c24518012d00d140072dd238001b006527..."} 
[2026-09-05 14:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c24518012d00d140072dd238001b006527..."} 
[2026-09-05 14:20:51] local.INFO: Processing buffer {"connection_id":171587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c24518012d00d140072dd238001b006527..."} 
[2026-09-05 14:20:51] local.INFO: Packet analysis {"connection_id":171587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:20:51] local.INFO: Extracted packet for processing {"connection_id":171587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:20:51] local.INFO: GPS Element Parsed {"raw_longitude":755028288,"raw_latitude":120443448,"longitude_deg":75.5028288,"latitude_deg":12.0443448,"altitude":27,"angle":101,"satellites":39,"speed":38,"hex_longitude":"2d00d140","hex_latitude":"072dd238","is_valid_coordinates":true} 
[2026-09-05 14:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881130496001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17802927204728832,"note":"Value kept but may cause issues"} 
[2026-09-05 14:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":50454420409196544,"note":"Value kept but may cause issues"} 
[2026-09-05 14:20:51] 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-09-05 14:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788598175000,"timestamp_ms":1788598175000,"timestamp_seconds":1788598175,"priority":1,"record_length":96,"hex_timestamp":"000001a070c24518"} 
[2026-09-05 14:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 14:20:51] 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-09-05 14:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881130496001,"66":14070,"19":206,"83":44288,"24":38,"16":17802927204728832,"45":50454420409196544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-05 14:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881130496001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:20:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-05 14:20:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 14:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17802927204728832,"km_value":17802927204728.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":50454420409196544,"description":"Unknown IO ID 45"} 
[2026-09-05 14:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881130496001,"power":14070,"unknown_19":206,"unknown_83":44288,"ignition":38,"odometer":null,"unknown_45":50454420409196544}} 
[2026-09-05 14:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":171587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:20:51] local.INFO: GPS data processed {"connection_id":171587,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:20:51] local.INFO: Acknowledgment sent {"connection_id":171587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:20:52] local.INFO: TCP Data received {"connection_id":171587,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070c26c28012d00f740072dcb10001c006523..."} 
[2026-09-05 14:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c26c28012d00f740072dcb10001c006523..."} 
[2026-09-05 14:20:52] local.INFO: Processing buffer {"connection_id":171587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c26c28012d00f740072dcb10001c006523..."} 
[2026-09-05 14:20:52] local.INFO: Packet analysis {"connection_id":171587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:20:52] local.INFO: Extracted packet for processing {"connection_id":171587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:20:52] local.INFO: GPS Element Parsed {"raw_longitude":755038016,"raw_latitude":120441616,"longitude_deg":75.5038016,"latitude_deg":12.0441616,"altitude":28,"angle":101,"satellites":35,"speed":38,"hex_longitude":"2d00f740","hex_latitude":"072dcb10","is_valid_coordinates":true} 
[2026-09-05 14:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881132800001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17803395356164096,"note":"Value kept but may cause issues"} 
[2026-09-05 14:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":58898669710227456,"note":"Value kept but may cause issues"} 
[2026-09-05 14:20:52] 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-09-05 14:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788598185000,"timestamp_ms":1788598185000,"timestamp_seconds":1788598185,"priority":1,"record_length":96,"hex_timestamp":"000001a070c26c28"} 
[2026-09-05 14:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-05 14:20:52] 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-09-05 14:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":171587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":171587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":171587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881132800001,"66":14026,"19":206,"83":44288,"24":38,"16":17803395356164096,"45":58898669710227456},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-05 14:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881132800001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:20:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-05 14:20:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 14:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17803395356164096,"km_value":17803395356164.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":58898669710227456,"description":"Unknown IO ID 45"} 
[2026-09-05 14:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881132800001,"power":14026,"unknown_19":206,"unknown_83":44288,"ignition":38,"odometer":null,"unknown_45":58898669710227456}} 
[2026-09-05 14:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":171587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:20:52] local.INFO: GPS data processed {"connection_id":171587,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:20:52] local.INFO: Acknowledgment sent {"connection_id":171587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:20:52] local.INFO: TCP Data received {"connection_id":171893,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:20:52] local.INFO: Processing buffer {"connection_id":171893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:20:52] local.INFO: IMEI packet received {"connection_id":171893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":171893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:20:54] local.INFO: TCP Data received {"connection_id":171893,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070c2b660012c7939c00848c5f00014000129..."} 
[2026-09-05 14:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c2b660012c7939c00848c5f00014000129..."} 
[2026-09-05 14:20:54] local.INFO: Processing buffer {"connection_id":171893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c2b660012c7939c00848c5f00014000129..."} 
[2026-09-05 14:20:54] local.INFO: Packet analysis {"connection_id":171893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:20:54] local.INFO: Extracted packet for processing {"connection_id":171893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:20:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881063168001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:20:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788598204000,"timestamp_ms":1788598204000,"timestamp_seconds":1788598204,"priority":1,"record_length":96,"hex_timestamp":"000001a070c2b660"} 
[2026-09-05 14:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-05 14:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881063168001,"66":25462,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881063168001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:20:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:20:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:20:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881063168001,"power":25462,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":171893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769008,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:20:54] local.INFO: GPS data processed {"connection_id":171893,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:20:54] local.INFO: Acknowledgment sent {"connection_id":171893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:20:59] local.INFO: TCP Data received {"connection_id":171588,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:20:59] local.INFO: Processing buffer {"connection_id":171588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:20:59] local.INFO: IMEI packet received {"connection_id":171588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":171588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:21:01] local.INFO: TCP Data received {"connection_id":171588,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:21:01] local.INFO: Processing buffer {"connection_id":171588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:21:01] local.INFO: IMEI packet received {"connection_id":171588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":171588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:21:06] local.INFO: TCP Data received {"connection_id":171588,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:21:06] local.INFO: Processing buffer {"connection_id":171588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:21:06] local.INFO: IMEI packet received {"connection_id":171588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":171588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:21:07] local.INFO: TCP Data received {"connection_id":171588,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070c229c0012d76b440060a2600000c007f2e..."} 
[2026-09-05 14:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c229c0012d76b440060a2600000c007f2e..."} 
[2026-09-05 14:21:07] local.INFO: Processing buffer {"connection_id":171588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c229c0012d76b440060a2600000c007f2e..."} 
[2026-09-05 14:21:07] local.INFO: Packet analysis {"connection_id":171588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:21:07] local.INFO: Extracted packet for processing {"connection_id":171588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:21:07] local.INFO: GPS Element Parsed {"raw_longitude":762754112,"raw_latitude":101328384,"longitude_deg":76.2754112,"latitude_deg":10.1328384,"altitude":12,"angle":127,"satellites":46,"speed":26,"hex_longitude":"2d76b440","hex_latitude":"060a2600","is_valid_coordinates":true} 
[2026-09-05 14:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881129472001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399780928915767296,"note":"Value kept but may cause issues"} 
[2026-09-05 14:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8550717237201242112,"note":"Value kept but may cause issues"} 
[2026-09-05 14:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788598168000,"timestamp_ms":1788598168000,"timestamp_seconds":1788598168,"priority":1,"record_length":96,"hex_timestamp":"000001a070c229c0"} 
[2026-09-05 14:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:21: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-09-05 14:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 14:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881129472001,"66":27865,"117":206,"79":47616,"24":26,"16":399780928915767296,"45":8550717237201242112},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-09-05 14:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881129472001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:21:07] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-05 14:21:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 14:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399780928915767296,"km_value":399780928915767.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8550717237201242112,"description":"Unknown IO ID 45"} 
[2026-09-05 14:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881129472001,"power":27865,"unknown_117":206,"unknown_79":47616,"ignition":26,"odometer":null,"unknown_45":8550717237201242112}} 
[2026-09-05 14:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":171588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:21:07] local.INFO: GPS data processed {"connection_id":171588,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:21:07] local.INFO: Acknowledgment sent {"connection_id":171588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:21:11] local.INFO: TCP Data received {"connection_id":171588,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070c23578012d76ba80060a2220000c00702e..."} 
[2026-09-05 14:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c23578012d76ba80060a2220000c00702e..."} 
[2026-09-05 14:21:11] local.INFO: Processing buffer {"connection_id":171588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c23578012d76ba80060a2220000c00702e..."} 
[2026-09-05 14:21:11] local.INFO: Packet analysis {"connection_id":171588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:21:11] local.INFO: Extracted packet for processing {"connection_id":171588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:21:11] local.INFO: GPS Element Parsed {"raw_longitude":762755712,"raw_latitude":101327392,"longitude_deg":76.2755712,"latitude_deg":10.1327392,"altitude":12,"angle":112,"satellites":46,"speed":24,"hex_longitude":"2d76ba80","hex_latitude":"060a2220","is_valid_coordinates":true} 
[2026-09-05 14:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881131008001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399781019110080512,"note":"Value kept but may cause issues"} 
[2026-09-05 14:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8553531986967658496,"note":"Value kept but may cause issues"} 
[2026-09-05 14:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788598171000,"timestamp_ms":1788598171000,"timestamp_seconds":1788598171,"priority":1,"record_length":96,"hex_timestamp":"000001a070c23578"} 
[2026-09-05 14:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 14:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881131008001,"66":27800,"117":206,"79":47616,"24":24,"16":399781019110080512,"45":8553531986967658496},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-09-05 14:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881131008001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:21:11] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-05 14:21:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 14:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399781019110080512,"km_value":399781019110080.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8553531986967658496,"description":"Unknown IO ID 45"} 
[2026-09-05 14:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881131008001,"power":27800,"unknown_117":206,"unknown_79":47616,"ignition":24,"odometer":null,"unknown_45":8553531986967658496}} 
[2026-09-05 14:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":171588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:21:11] local.INFO: GPS data processed {"connection_id":171588,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:21:11] local.INFO: Acknowledgment sent {"connection_id":171588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:21:23] local.INFO: TCP Data received {"connection_id":171587,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070c27bc8012d010700072dc9b0001b005927..."} 
[2026-09-05 14:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c27bc8012d010700072dc9b0001b005927..."} 
[2026-09-05 14:21:23] local.INFO: Processing buffer {"connection_id":171587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c27bc8012d010700072dc9b0001b005927..."} 
[2026-09-05 14:21:23] local.INFO: Packet analysis {"connection_id":171587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:21:23] local.INFO: Extracted packet for processing {"connection_id":171587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:21:23] local.INFO: GPS Element Parsed {"raw_longitude":755042048,"raw_latitude":120441264,"longitude_deg":75.5042048,"latitude_deg":12.0441264,"altitude":27,"angle":89,"satellites":39,"speed":38,"hex_longitude":"2d010700","hex_latitude":"072dc9b0","is_valid_coordinates":true} 
[2026-09-05 14:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881135360001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17803588629692416,"note":"Value kept but may cause issues"} 
[2026-09-05 14:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":69594718824763392,"note":"Value kept but may cause issues"} 
[2026-09-05 14:21:23] 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-09-05 14:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788598189000,"timestamp_ms":1788598189000,"timestamp_seconds":1788598189,"priority":1,"record_length":96,"hex_timestamp":"000001a070c27bc8"} 
[2026-09-05 14:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:21:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-05 14:21:23] 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-09-05 14:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881135360001,"66":14363,"19":206,"83":44288,"24":38,"16":17803588629692416,"45":69594718824763392},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-05 14:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881135360001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:21:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-05 14:21:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 14:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17803588629692416,"km_value":17803588629692.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":69594718824763392,"description":"Unknown IO ID 45"} 
[2026-09-05 14:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881135360001,"power":14363,"unknown_19":206,"unknown_83":44288,"ignition":38,"odometer":null,"unknown_45":69594718824763392}} 
[2026-09-05 14:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":171587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:21:24] local.INFO: GPS data processed {"connection_id":171587,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:21:24] local.INFO: Acknowledgment sent {"connection_id":171587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:21:26] local.INFO: TCP Data received {"connection_id":171893,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070c2b660012c7939c00848c5f00014000129..."} 
[2026-09-05 14:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c2b660012c7939c00848c5f00014000129..."} 
[2026-09-05 14:21:26] local.INFO: Processing buffer {"connection_id":171893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c2b660012c7939c00848c5f00014000129..."} 
[2026-09-05 14:21:26] local.INFO: Packet analysis {"connection_id":171893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:21:26] local.INFO: Extracted packet for processing {"connection_id":171893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:21:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 14:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881063168001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:21:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788598204000,"timestamp_ms":1788598204000,"timestamp_seconds":1788598204,"priority":1,"record_length":96,"hex_timestamp":"000001a070c2b660"} 
[2026-09-05 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-09-05 14:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-05 14:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 14:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881063168001,"66":25462,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881063168001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:21:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:21:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:21:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881063168001,"power":25462,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":171893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769012,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:21:26] local.INFO: GPS data processed {"connection_id":171893,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:21:26] local.INFO: Acknowledgment sent {"connection_id":171893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:21:45] local.INFO: TCP Data received {"connection_id":174304,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:21:45] local.INFO: Processing buffer {"connection_id":174304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:21:45] local.INFO: IMEI packet received {"connection_id":174304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":174304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:21:47] local.INFO: TCP Data received {"connection_id":171894,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171894,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:21:47] local.INFO: Processing buffer {"connection_id":171894,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:21:47] local.INFO: IMEI packet received {"connection_id":171894,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":171894,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:21:49] local.INFO: TCP Data received {"connection_id":174304,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:21:49] local.INFO: Processing buffer {"connection_id":174304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:21:49] local.INFO: IMEI packet received {"connection_id":174304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":174304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:21:50] local.INFO: TCP Data received {"connection_id":174304,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070c28780012d0111c0072dcaa8001a004e29..."} 
[2026-09-05 14:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c28780012d0111c0072dcaa8001a004e29..."} 
[2026-09-05 14:21:50] local.INFO: Processing buffer {"connection_id":174304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c28780012d0111c0072dcaa8001a004e29..."} 
[2026-09-05 14:21:50] local.INFO: Packet analysis {"connection_id":174304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:21:50] local.INFO: Extracted packet for processing {"connection_id":174304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:21:50] local.INFO: GPS Element Parsed {"raw_longitude":755044800,"raw_latitude":120441512,"longitude_deg":75.50448,"latitude_deg":12.0441512,"altitude":26,"angle":78,"satellites":41,"speed":34,"hex_longitude":"2d0111c0","hex_latitude":"072dcaa8","is_valid_coordinates":true} 
[2026-09-05 14:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881136384001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17803717478711296,"note":"Value kept but may cause issues"} 
[2026-09-05 14:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":74027949707866112,"note":"Value kept but may cause issues"} 
[2026-09-05 14:21: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-09-05 14:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788598192000,"timestamp_ms":1788598192000,"timestamp_seconds":1788598192,"priority":1,"record_length":96,"hex_timestamp":"000001a070c28780"} 
[2026-09-05 14:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:21: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-09-05 14:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 14:21:50] 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-09-05 14:21:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881136384001,"66":14363,"19":206,"83":44288,"24":34,"16":17803717478711296,"45":74027949707866112},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-05 14:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881136384001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:21:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-05 14:21:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 14:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17803717478711296,"km_value":17803717478711.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":74027949707866112,"description":"Unknown IO ID 45"} 
[2026-09-05 14:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881136384001,"power":14363,"unknown_19":206,"unknown_83":44288,"ignition":34,"odometer":null,"unknown_45":74027949707866112}} 
[2026-09-05 14:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":174304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:21:50] local.INFO: GPS data processed {"connection_id":174304,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:21:50] local.INFO: Acknowledgment sent {"connection_id":174304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:21:51] local.INFO: TCP Data received {"connection_id":174304,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070c28f50012d011800072dcd080019004129..."} 
[2026-09-05 14:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c28f50012d011800072dcd080019004129..."} 
[2026-09-05 14:21:51] local.INFO: Processing buffer {"connection_id":174304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c28f50012d011800072dcd080019004129..."} 
[2026-09-05 14:21:51] local.INFO: Packet analysis {"connection_id":174304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:21:51] local.INFO: Extracted packet for processing {"connection_id":174304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:21:51] local.INFO: GPS Element Parsed {"raw_longitude":755046400,"raw_latitude":120442120,"longitude_deg":75.50464,"latitude_deg":12.044212,"altitude":25,"angle":65,"satellites":41,"speed":32,"hex_longitude":"2d011800","hex_latitude":"072dcd08","is_valid_coordinates":true} 
[2026-09-05 14:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881137152001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17803799083089920,"note":"Value kept but may cause issues"} 
[2026-09-05 14:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":77053805707569152,"note":"Value kept but may cause issues"} 
[2026-09-05 14:21:51] 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-09-05 14:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788598194000,"timestamp_ms":1788598194000,"timestamp_seconds":1788598194,"priority":1,"record_length":96,"hex_timestamp":"000001a070c28f50"} 
[2026-09-05 14:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 14:21:51] 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-09-05 14:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881137152001,"66":14102,"19":206,"83":44288,"24":32,"16":17803799083089920,"45":77053805707569152},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-05 14:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881137152001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:21:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-05 14:21:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 14:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17803799083089920,"km_value":17803799083089.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":77053805707569152,"description":"Unknown IO ID 45"} 
[2026-09-05 14:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881137152001,"power":14102,"unknown_19":206,"unknown_83":44288,"ignition":32,"odometer":null,"unknown_45":77053805707569152}} 
[2026-09-05 14:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":174304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:21:51] local.INFO: GPS data processed {"connection_id":174304,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:21:51] local.INFO: Acknowledgment sent {"connection_id":174304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:21:53] local.INFO: TCP Data received {"connection_id":171894,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171894,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:21:53] local.INFO: Processing buffer {"connection_id":171894,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:21:53] local.INFO: IMEI packet received {"connection_id":171894,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":171894,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:21:54] local.INFO: TCP Data received {"connection_id":171894,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070c2b660012c7939c00848c5f00014000129..."} 
[2026-09-05 14:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c2b660012c7939c00848c5f00014000129..."} 
[2026-09-05 14:21:54] local.INFO: Processing buffer {"connection_id":171894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c2b660012c7939c00848c5f00014000129..."} 
[2026-09-05 14:21:54] local.INFO: Packet analysis {"connection_id":171894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:21:54] local.INFO: Extracted packet for processing {"connection_id":171894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:21:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881063168001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:21:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788598204000,"timestamp_ms":1788598204000,"timestamp_seconds":1788598204,"priority":1,"record_length":96,"hex_timestamp":"000001a070c2b660"} 
[2026-09-05 14:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-05 14:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881063168001,"66":25462,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881063168001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:21:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:21:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:21:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881063168001,"power":25462,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":171894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769015,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:21:54] local.INFO: GPS data processed {"connection_id":171894,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:21:54] local.INFO: Acknowledgment sent {"connection_id":171894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:21:56] local.INFO: TCP Data received {"connection_id":172980,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:21:56] local.INFO: Processing buffer {"connection_id":172980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:21:56] local.INFO: IMEI packet received {"connection_id":172980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":172980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:21:58] local.INFO: TCP Data received {"connection_id":172980,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:21:58] local.INFO: Processing buffer {"connection_id":172980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:21:58] local.INFO: IMEI packet received {"connection_id":172980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":172980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:21:59] local.INFO: TCP Data received {"connection_id":172980,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070c24518012d76c4c0060a1f90000b00642f..."} 
[2026-09-05 14:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c24518012d76c4c0060a1f90000b00642f..."} 
[2026-09-05 14:21:59] local.INFO: Processing buffer {"connection_id":172980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c24518012d76c4c0060a1f90000b00642f..."} 
[2026-09-05 14:21:59] local.INFO: Packet analysis {"connection_id":172980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:21:59] local.INFO: Extracted packet for processing {"connection_id":172980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:21:59] local.INFO: GPS Element Parsed {"raw_longitude":762758336,"raw_latitude":101326736,"longitude_deg":76.2758336,"latitude_deg":10.1326736,"altitude":11,"angle":100,"satellites":47,"speed":27,"hex_longitude":"2d76c4c0","hex_latitude":"060a1f90","is_valid_coordinates":true} 
[2026-09-05 14:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881131776001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399781147959099392,"note":"Value kept but may cause issues"} 
[2026-09-05 14:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8555291205571846144,"note":"Value kept but may cause issues"} 
[2026-09-05 14:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788598175000,"timestamp_ms":1788598175000,"timestamp_seconds":1788598175,"priority":1,"record_length":96,"hex_timestamp":"000001a070c24518"} 
[2026-09-05 14:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:21:59] 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-09-05 14:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 14:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:21:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881131776001,"66":27974,"117":206,"79":47616,"24":27,"16":399781147959099392,"45":8555291205571846144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-09-05 14:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881131776001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:21:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-05 14:21:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 14:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399781147959099392,"km_value":399781147959099.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8555291205571846144,"description":"Unknown IO ID 45"} 
[2026-09-05 14:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881131776001,"power":27974,"unknown_117":206,"unknown_79":47616,"ignition":27,"odometer":null,"unknown_45":8555291205571846144}} 
[2026-09-05 14:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":172980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:21:59] local.INFO: GPS data processed {"connection_id":172980,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:21:59] local.INFO: Acknowledgment sent {"connection_id":172980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:22:22] local.INFO: TCP Data received {"connection_id":174304,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070c2b660012d013880072ddec0001400402d..."} 
[2026-09-05 14:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c2b660012d013880072ddec0001400402d..."} 
[2026-09-05 14:22:22] local.INFO: Processing buffer {"connection_id":174304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c2b660012d013880072ddec0001400402d..."} 
[2026-09-05 14:22:22] local.INFO: Packet analysis {"connection_id":174304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:22:22] local.INFO: Extracted packet for processing {"connection_id":174304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:22:22] local.INFO: GPS Element Parsed {"raw_longitude":755054720,"raw_latitude":120446656,"longitude_deg":75.505472,"latitude_deg":12.0446656,"altitude":20,"angle":64,"satellites":45,"speed":40,"hex_longitude":"2d013880","hex_latitude":"072ddec0","is_valid_coordinates":true} 
[2026-09-05 14:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881137664001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17804254349623296,"note":"Value kept but may cause issues"} 
[2026-09-05 14:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":78813024312166400,"note":"Value kept but may cause issues"} 
[2026-09-05 14:22:22] 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-09-05 14:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788598204000,"timestamp_ms":1788598204000,"timestamp_seconds":1788598204,"priority":1,"record_length":96,"hex_timestamp":"000001a070c2b660"} 
[2026-09-05 14:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-05 14:22:22] 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-09-05 14:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881137664001,"66":13972,"19":206,"83":44288,"24":40,"16":17804254349623296,"45":78813024312166400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-05 14:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881137664001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:22:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-05 14:22:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 14:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17804254349623296,"km_value":17804254349623.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":78813024312166400,"description":"Unknown IO ID 45"} 
[2026-09-05 14:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881137664001,"power":13972,"unknown_19":206,"unknown_83":44288,"ignition":40,"odometer":null,"unknown_45":78813024312166400}} 
[2026-09-05 14:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":174304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:22:22] local.INFO: GPS data processed {"connection_id":174304,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:22:22] local.INFO: Acknowledgment sent {"connection_id":174304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:22:26] local.INFO: TCP Data received {"connection_id":171894,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070c2b660012c7939c00848c5f00014000129..."} 
[2026-09-05 14:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c2b660012c7939c00848c5f00014000129..."} 
[2026-09-05 14:22:26] local.INFO: Processing buffer {"connection_id":171894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c2b660012c7939c00848c5f00014000129..."} 
[2026-09-05 14:22:26] local.INFO: Packet analysis {"connection_id":171894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:22:26] local.INFO: Extracted packet for processing {"connection_id":171894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:22:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881063168001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:22:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788598204000,"timestamp_ms":1788598204000,"timestamp_seconds":1788598204,"priority":1,"record_length":96,"hex_timestamp":"000001a070c2b660"} 
[2026-09-05 14:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-05 14:22:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:22:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881063168001,"66":25462,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881063168001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:22:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:22:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:22:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881063168001,"power":25462,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":171894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769018,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:22:26] local.INFO: GPS data processed {"connection_id":171894,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:22:26] local.INFO: Acknowledgment sent {"connection_id":171894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:22:30] local.INFO: TCP Data received {"connection_id":172980,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070c277e0012d76e800060a1930000a00642f..."} 
[2026-09-05 14:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c277e0012d76e800060a1930000a00642f..."} 
[2026-09-05 14:22:30] local.INFO: Processing buffer {"connection_id":172980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c277e0012d76e800060a1930000a00642f..."} 
[2026-09-05 14:22:30] local.INFO: Packet analysis {"connection_id":172980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:22:30] local.INFO: Extracted packet for processing {"connection_id":172980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:22:30] local.INFO: GPS Element Parsed {"raw_longitude":762767360,"raw_latitude":101325104,"longitude_deg":76.276736,"latitude_deg":10.1325104,"altitude":10,"angle":100,"satellites":47,"speed":27,"hex_longitude":"2d76e800","hex_latitude":"060a1930","is_valid_coordinates":true} 
[2026-09-05 14:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881132800001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399781581750796288,"note":"Value kept but may cause issues"} 
[2026-09-05 14:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8558176324082962432,"note":"Value kept but may cause issues"} 
[2026-09-05 14:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788598188000,"timestamp_ms":1788598188000,"timestamp_seconds":1788598188,"priority":1,"record_length":96,"hex_timestamp":"000001a070c277e0"} 
[2026-09-05 14:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:22:30] 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-09-05 14:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 14:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881132800001,"66":27876,"162":206,"79":47616,"24":27,"16":399781581750796288,"45":8558176324082962432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,79,24,16,45]} 
[2026-09-05 14:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881132800001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:22:30] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-09-05 14:22:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 14:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399781581750796288,"km_value":399781581750796.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8558176324082962432,"description":"Unknown IO ID 45"} 
[2026-09-05 14:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881132800001,"power":27876,"unknown_162":206,"unknown_79":47616,"ignition":27,"odometer":null,"unknown_45":8558176324082962432}} 
[2026-09-05 14:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":172980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:22:30] local.INFO: GPS data processed {"connection_id":172980,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:22:30] local.INFO: Acknowledgment sent {"connection_id":172980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:22:45] local.INFO: TCP Data received {"connection_id":171589,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:22:45] local.INFO: Processing buffer {"connection_id":171589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:22:45] local.INFO: IMEI packet received {"connection_id":171589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":171589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:22:50] local.INFO: TCP Data received {"connection_id":171589,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:22:50] local.INFO: Processing buffer {"connection_id":171589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:22:50] local.INFO: IMEI packet received {"connection_id":171589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":171589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:22:51] local.INFO: TCP Data received {"connection_id":171589,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070c43918012d01e080072d82c0001000b52b..."} 
[2026-09-05 14:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c43918012d01e080072d82c0001000b52b..."} 
[2026-09-05 14:22:51] local.INFO: Processing buffer {"connection_id":171589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c43918012d01e080072d82c0001000b52b..."} 
[2026-09-05 14:22:51] local.INFO: Packet analysis {"connection_id":171589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c4"} 
[2026-09-05 14:22:51] local.INFO: Extracted packet for processing {"connection_id":171589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c4"} 
[2026-09-05 14:22:51] local.INFO: GPS Element Parsed {"raw_longitude":755097728,"raw_latitude":120423104,"longitude_deg":75.5097728,"latitude_deg":12.0423104,"altitude":16,"angle":181,"satellites":43,"speed":25,"hex_longitude":"2d01e080","hex_latitude":"072d82c0","is_valid_coordinates":true} 
[2026-09-05 14:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881165056001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17807063258234880,"note":"Value kept but may cause issues"} 
[2026-09-05 14:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":135108019649753088,"note":"Value kept but may cause issues"} 
[2026-09-05 14:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788598303000,"timestamp_ms":1788598303000,"timestamp_seconds":1788598303,"priority":1,"record_length":96,"hex_timestamp":"000001a070c43918"} 
[2026-09-05 14:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 14:22:51] 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-09-05 14:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881165056001,"66":13928,"18":206,"83":44288,"24":25,"16":17807063258234880,"45":135108019649753088},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,45]} 
[2026-09-05 14:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881165056001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:22:51] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-05 14:22:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 14:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17807063258234880,"km_value":17807063258234.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":135108019649753088,"description":"Unknown IO ID 45"} 
[2026-09-05 14:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881165056001,"power":13928,"unknown_18":206,"unknown_83":44288,"ignition":25,"odometer":null,"unknown_45":135108019649753088}} 
[2026-09-05 14:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":171589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:22:51] local.INFO: GPS data processed {"connection_id":171589,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:22:51] local.INFO: Acknowledgment sent {"connection_id":171589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:22:52] local.INFO: TCP Data received {"connection_id":171895,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171895,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:22:52] local.INFO: Processing buffer {"connection_id":171895,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:22:52] local.INFO: IMEI packet received {"connection_id":171895,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":171895,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:22:54] local.INFO: TCP Data received {"connection_id":171590,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:22:54] local.INFO: Processing buffer {"connection_id":171590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:22:54] local.INFO: IMEI packet received {"connection_id":171590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":171590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:22:56] local.INFO: TCP Data received {"connection_id":171590,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:22:56] local.INFO: Processing buffer {"connection_id":171590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:22:56] local.INFO: IMEI packet received {"connection_id":171590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":171590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:22:57] local.INFO: TCP Data received {"connection_id":171895,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171895,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:22:57] local.INFO: Processing buffer {"connection_id":171895,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:22:57] local.INFO: IMEI packet received {"connection_id":171895,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":171895,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:22:59] local.INFO: TCP Data received {"connection_id":171895,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070c2b660012c7939c00848c5f00014000129..."} 
[2026-09-05 14:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c2b660012c7939c00848c5f00014000129..."} 
[2026-09-05 14:22:59] local.INFO: Processing buffer {"connection_id":171895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c2b660012c7939c00848c5f00014000129..."} 
[2026-09-05 14:22:59] local.INFO: Packet analysis {"connection_id":171895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:22:59] local.INFO: Extracted packet for processing {"connection_id":171895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:22:59] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881063168001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:22:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788598204000,"timestamp_ms":1788598204000,"timestamp_seconds":1788598204,"priority":1,"record_length":96,"hex_timestamp":"000001a070c2b660"} 
[2026-09-05 14:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14: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-09-05 14: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-09-05 14:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171895,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171895,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881063168001,"66":25462,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881063168001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:22:59] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:22:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:22:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881063168001,"power":25462,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":171895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769021,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:22:59] local.INFO: GPS data processed {"connection_id":171895,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:22:59] local.INFO: Acknowledgment sent {"connection_id":171895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:23:01] local.INFO: TCP Data received {"connection_id":171590,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:23:01] local.INFO: Processing buffer {"connection_id":171590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:23:01] local.INFO: IMEI packet received {"connection_id":171590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":171590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:23:02] local.INFO: TCP Data received {"connection_id":171590,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070c46be0012d7823800609d9d0000b005d2f..."} 
[2026-09-05 14:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c46be0012d7823800609d9d0000b005d2f..."} 
[2026-09-05 14:23:02] local.INFO: Processing buffer {"connection_id":171590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c46be0012d7823800609d9d0000b005d2f..."} 
[2026-09-05 14:23:02] local.INFO: Packet analysis {"connection_id":171590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c4"} 
[2026-09-05 14:23:02] local.INFO: Extracted packet for processing {"connection_id":171590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c4"} 
[2026-09-05 14:23:02] local.INFO: GPS Element Parsed {"raw_longitude":762848128,"raw_latitude":101308880,"longitude_deg":76.2848128,"latitude_deg":10.130888,"altitude":11,"angle":93,"satellites":47,"speed":35,"hex_longitude":"2d782380","hex_latitude":"0609d9d0","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881166080001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399785550300577792,"note":"Value kept but may cause issues"} 
[2026-09-05 14:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8646066885556447232,"note":"Value kept but may cause issues"} 
[2026-09-05 14:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788598316000,"timestamp_ms":1788598316000,"timestamp_seconds":1788598316,"priority":1,"record_length":96,"hex_timestamp":"000001a070c46be0"} 
[2026-09-05 14:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:23: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-09-05 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 14:23: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-09-05 14: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-09-05 14:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881166080001,"66":27843,"161":206,"79":47616,"24":35,"16":399785550300577792,"45":8646066885556447232},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,79,24,16,45]} 
[2026-09-05 14:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881166080001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:23:02] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-05 14:23:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 14:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399785550300577792,"km_value":399785550300577.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8646066885556447232,"description":"Unknown IO ID 45"} 
[2026-09-05 14:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881166080001,"power":27843,"unknown_161":206,"unknown_79":47616,"ignition":35,"odometer":null,"unknown_45":8646066885556447232}} 
[2026-09-05 14:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":171590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:23:02] local.INFO: GPS data processed {"connection_id":171590,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:23:02] local.INFO: Acknowledgment sent {"connection_id":171590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:23:03] local.INFO: TCP Data received {"connection_id":171895,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070c2b660012c7939c00848c5f00014000129..."} 
[2026-09-05 14:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c2b660012c7939c00848c5f00014000129..."} 
[2026-09-05 14:23:03] local.INFO: Processing buffer {"connection_id":171895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c2b660012c7939c00848c5f00014000129..."} 
[2026-09-05 14:23:03] local.INFO: Packet analysis {"connection_id":171895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:23:03] local.INFO: Extracted packet for processing {"connection_id":171895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:23:03] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 14:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881063168001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:23:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788598204000,"timestamp_ms":1788598204000,"timestamp_seconds":1788598204,"priority":1,"record_length":96,"hex_timestamp":"000001a070c2b660"} 
[2026-09-05 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-09-05 14:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-05 14: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-09-05 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-09-05 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-09-05 14:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171895,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171895,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881063168001,"66":25462,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881063168001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:23:03] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:23:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:23:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881063168001,"power":25462,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":171895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769023,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:23:04] local.INFO: GPS data processed {"connection_id":171895,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:23:04] local.INFO: Acknowledgment sent {"connection_id":171895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:23:21] local.INFO: TCP Data received {"connection_id":171589,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070c440e8012d01e000072d7d48001000c229..."} 
[2026-09-05 14:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c440e8012d01e000072d7d48001000c229..."} 
[2026-09-05 14:23:21] local.INFO: Processing buffer {"connection_id":171589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c440e8012d01e000072d7d48001000c229..."} 
[2026-09-05 14:23:21] local.INFO: Packet analysis {"connection_id":171589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c4"} 
[2026-09-05 14:23:21] local.INFO: Extracted packet for processing {"connection_id":171589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c4"} 
[2026-09-05 14:23:21] local.INFO: GPS Element Parsed {"raw_longitude":755097600,"raw_latitude":120421704,"longitude_deg":75.50976,"latitude_deg":12.0421704,"altitude":16,"angle":194,"satellites":41,"speed":29,"hex_longitude":"2d01e000","hex_latitude":"072d7d48","is_valid_coordinates":true} 
[2026-09-05 14:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881165568001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17807131977711616,"note":"Value kept but may cause issues"} 
[2026-09-05 14:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":135248757137784832,"note":"Value kept but may cause issues"} 
[2026-09-05 14:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788598305000,"timestamp_ms":1788598305000,"timestamp_seconds":1788598305,"priority":1,"record_length":96,"hex_timestamp":"000001a070c440e8"} 
[2026-09-05 14:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:23: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-09-05 14:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-05 14:23:21] 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-09-05 14:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881165568001,"66":13580,"18":206,"83":44288,"24":29,"16":17807131977711616,"45":135248757137784832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,45]} 
[2026-09-05 14:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881165568001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:23:21] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-05 14:23:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 14:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17807131977711616,"km_value":17807131977711.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":135248757137784832,"description":"Unknown IO ID 45"} 
[2026-09-05 14:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881165568001,"power":13580,"unknown_18":206,"unknown_83":44288,"ignition":29,"odometer":null,"unknown_45":135248757137784832}} 
[2026-09-05 14:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":171589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:23:22] local.INFO: GPS data processed {"connection_id":171589,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:23:22] local.INFO: Acknowledgment sent {"connection_id":171589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:23:34] local.INFO: TCP Data received {"connection_id":171590,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070c492f0012d784a000609d750000b005d2f..."} 
[2026-09-05 14:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c492f0012d784a000609d750000b005d2f..."} 
[2026-09-05 14:23:34] local.INFO: Processing buffer {"connection_id":171590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c492f0012d784a000609d750000b005d2f..."} 
[2026-09-05 14:23:34] local.INFO: Packet analysis {"connection_id":171590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c4"} 
[2026-09-05 14:23:34] local.INFO: Extracted packet for processing {"connection_id":171590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c4"} 
[2026-09-05 14:23:34] local.INFO: GPS Element Parsed {"raw_longitude":762857984,"raw_latitude":101308240,"longitude_deg":76.2857984,"latitude_deg":10.130824,"altitude":11,"angle":93,"satellites":47,"speed":38,"hex_longitude":"2d784a00","hex_latitude":"0609d750","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881168896001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399786018452013056,"note":"Value kept but may cause issues"} 
[2026-09-05 14:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8656903672159653888,"note":"Value kept but may cause issues"} 
[2026-09-05 14:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788598326000,"timestamp_ms":1788598326000,"timestamp_seconds":1788598326,"priority":1,"record_length":96,"hex_timestamp":"000001a070c492f0"} 
[2026-09-05 14:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 14:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881168896001,"66":27876,"161":206,"79":47616,"24":38,"16":399786018452013056,"45":8656903672159653888},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,79,24,16,45]} 
[2026-09-05 14:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881168896001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:23:34] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-05 14:23:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 14:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399786018452013056,"km_value":399786018452013.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8656903672159653888,"description":"Unknown IO ID 45"} 
[2026-09-05 14:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881168896001,"power":27876,"unknown_161":206,"unknown_79":47616,"ignition":38,"odometer":null,"unknown_45":8656903672159653888}} 
[2026-09-05 14:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":171590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:23:34] local.INFO: GPS data processed {"connection_id":171590,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:23:34] local.INFO: Acknowledgment sent {"connection_id":171590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:23:44] local.INFO: TCP Data received {"connection_id":171896,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:23:44] local.INFO: Processing buffer {"connection_id":171896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:23:44] local.INFO: IMEI packet received {"connection_id":171896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":171896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:23:44] local.INFO: TCP Data received {"connection_id":171896,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:23:45] local.INFO: Processing buffer {"connection_id":171896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:23:45] local.INFO: IMEI packet received {"connection_id":171896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":171896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:23:46] local.INFO: TCP Data received {"connection_id":171896,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:23:46] local.INFO: Processing buffer {"connection_id":171896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:23:46] local.INFO: IMEI packet received {"connection_id":171896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":171896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:23:47] local.INFO: TCP Data received {"connection_id":171591,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:23:47] local.INFO: Processing buffer {"connection_id":171591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:23:47] local.INFO: IMEI packet received {"connection_id":171591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":171591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:23:50] local.INFO: TCP Data received {"connection_id":171896,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:23:50] local.INFO: Processing buffer {"connection_id":171896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:23:50] local.INFO: IMEI packet received {"connection_id":171896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":171896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:23:51] local.INFO: TCP Data received {"connection_id":171896,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070c55640012d0223c0072ce328001c00a02a..."} 
[2026-09-05 14:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c55640012d0223c0072ce328001c00a02a..."} 
[2026-09-05 14:23:51] local.INFO: Processing buffer {"connection_id":171896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c55640012d0223c0072ce328001c00a02a..."} 
[2026-09-05 14:23:51] local.INFO: Packet analysis {"connection_id":171896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c5"} 
[2026-09-05 14:23:51] local.INFO: Extracted packet for processing {"connection_id":171896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c5"} 
[2026-09-05 14:23:51] local.INFO: GPS Element Parsed {"raw_longitude":755114944,"raw_latitude":120382248,"longitude_deg":75.5114944,"latitude_deg":12.0382248,"altitude":28,"angle":160,"satellites":42,"speed":20,"hex_longitude":"2d0223c0","hex_latitude":"072ce328","is_valid_coordinates":true} 
[2026-09-05 14:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881180672001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17809545749331968,"note":"Value kept but may cause issues"} 
[2026-09-05 14:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":155163111731650560,"note":"Value kept but may cause issues"} 
[2026-09-05 14:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788598376000,"timestamp_ms":1788598376000,"timestamp_seconds":1788598376,"priority":1,"record_length":96,"hex_timestamp":"000001a070c55640"} 
[2026-09-05 14:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 14:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881180672001,"66":14265,"30":206,"83":44288,"24":20,"16":17809545749331968,"45":155163111731650560},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,83,24,16,45]} 
[2026-09-05 14:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881180672001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:23:51] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-05 14:23:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 14:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17809545749331968,"km_value":17809545749331.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":155163111731650560,"description":"Unknown IO ID 45"} 
[2026-09-05 14:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881180672001,"power":14265,"unknown_30":206,"unknown_83":44288,"ignition":20,"odometer":null,"unknown_45":155163111731650560}} 
[2026-09-05 14:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":171896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:23:51] local.INFO: GPS data processed {"connection_id":171896,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:23:51] local.INFO: Acknowledgment sent {"connection_id":171896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:23:52] local.INFO: TCP Data received {"connection_id":171591,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:23:52] local.INFO: Processing buffer {"connection_id":171591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:23:52] local.INFO: IMEI packet received {"connection_id":171591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":171591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:23:53] local.INFO: TCP Data received {"connection_id":171591,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070c2b660012c7939c00848c5f00014000129..."} 
[2026-09-05 14:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c2b660012c7939c00848c5f00014000129..."} 
[2026-09-05 14:23:53] local.INFO: Processing buffer {"connection_id":171591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c2b660012c7939c00848c5f00014000129..."} 
[2026-09-05 14:23:53] local.INFO: Packet analysis {"connection_id":171591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:23:53] local.INFO: Extracted packet for processing {"connection_id":171591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:23:53] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881063168001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:23:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788598204000,"timestamp_ms":1788598204000,"timestamp_seconds":1788598204,"priority":1,"record_length":96,"hex_timestamp":"000001a070c2b660"} 
[2026-09-05 14:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-05 14:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:23:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881063168001,"66":25462,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881063168001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:23:53] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:23:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:23:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881063168001,"power":25462,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":171591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769027,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:23:54] local.INFO: GPS data processed {"connection_id":171591,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:23:54] local.INFO: Acknowledgment sent {"connection_id":171591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:23:55] local.INFO: TCP Data received {"connection_id":174305,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:23:55] local.INFO: Processing buffer {"connection_id":174305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:23:55] local.INFO: IMEI packet received {"connection_id":174305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":174305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:23:56] local.INFO: TCP Data received {"connection_id":174305,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:23:56] local.INFO: Processing buffer {"connection_id":174305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:23:56] local.INFO: IMEI packet received {"connection_id":174305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":174305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:23:57] local.INFO: TCP Data received {"connection_id":174305,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:23:57] local.INFO: Processing buffer {"connection_id":174305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:23:57] local.INFO: IMEI packet received {"connection_id":174305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":174305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:23:58] local.INFO: TCP Data received {"connection_id":174305,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:23:58] local.INFO: Processing buffer {"connection_id":174305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:23:58] local.INFO: IMEI packet received {"connection_id":174305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":174305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:24:22] local.INFO: TCP Data received {"connection_id":171896,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070c5f668012d028840072c7f200011009326..."} 
[2026-09-05 14:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c5f668012d028840072c7f200011009326..."} 
[2026-09-05 14:24:22] local.INFO: Processing buffer {"connection_id":171896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c5f668012d028840072c7f200011009326..."} 
[2026-09-05 14:24:22] local.INFO: Packet analysis {"connection_id":171896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c5"} 
[2026-09-05 14:24:22] local.INFO: Extracted packet for processing {"connection_id":171896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c5"} 
[2026-09-05 14:24:22] local.INFO: GPS Element Parsed {"raw_longitude":755140672,"raw_latitude":120356640,"longitude_deg":75.5140672,"latitude_deg":12.035664,"altitude":17,"angle":147,"satellites":38,"speed":35,"hex_longitude":"2d028840","hex_latitude":"072c7f20","is_valid_coordinates":true} 
[2026-09-05 14:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881192448001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17811375405400064,"note":"Value kept but may cause issues"} 
[2026-09-05 14:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":177610741117855744,"note":"Value kept but may cause issues"} 
[2026-09-05 14:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788598417000,"timestamp_ms":1788598417000,"timestamp_seconds":1788598417,"priority":1,"record_length":96,"hex_timestamp":"000001a070c5f668"} 
[2026-09-05 14:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-05 14:24:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881192448001,"66":13993,"30":206,"83":44288,"24":35,"16":17811375405400064,"45":177610741117855744},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,83,24,16,45]} 
[2026-09-05 14:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881192448001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:24:22] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-05 14:24:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 14:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17811375405400064,"km_value":17811375405400.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":177610741117855744,"description":"Unknown IO ID 45"} 
[2026-09-05 14:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881192448001,"power":13993,"unknown_30":206,"unknown_83":44288,"ignition":35,"odometer":null,"unknown_45":177610741117855744}} 
[2026-09-05 14:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":171896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:24:22] local.INFO: GPS data processed {"connection_id":171896,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:24:22] local.INFO: Acknowledgment sent {"connection_id":171896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:24:25] local.INFO: TCP Data received {"connection_id":171591,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070c2b660012c7939c00848c5f00014000129..."} 
[2026-09-05 14:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c2b660012c7939c00848c5f00014000129..."} 
[2026-09-05 14:24:25] local.INFO: Processing buffer {"connection_id":171591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c2b660012c7939c00848c5f00014000129..."} 
[2026-09-05 14:24:25] local.INFO: Packet analysis {"connection_id":171591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:24:25] local.INFO: Extracted packet for processing {"connection_id":171591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:24:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881063168001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:24:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788598204000,"timestamp_ms":1788598204000,"timestamp_seconds":1788598204,"priority":1,"record_length":96,"hex_timestamp":"000001a070c2b660"} 
[2026-09-05 14:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-05 14:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881063168001,"66":25462,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881063168001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:24:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:24:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:24:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881063168001,"power":25462,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":171591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769029,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:24:25] local.INFO: GPS data processed {"connection_id":171591,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:24:25] local.INFO: Acknowledgment sent {"connection_id":171591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:24:44] local.INFO: TCP Data received {"connection_id":174306,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:24:44] local.INFO: Processing buffer {"connection_id":174306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:24:44] local.INFO: IMEI packet received {"connection_id":174306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":174306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:24:44] local.INFO: TCP Data received {"connection_id":174306,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:24:45] local.INFO: Processing buffer {"connection_id":174306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:24:45] local.INFO: IMEI packet received {"connection_id":174306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":174306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:24:47] local.INFO: TCP Data received {"connection_id":171897,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171897,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:24:47] local.INFO: Processing buffer {"connection_id":171897,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:24:47] local.INFO: IMEI packet received {"connection_id":171897,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":171897,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:24:51] local.INFO: TCP Data received {"connection_id":174306,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:24:51] local.INFO: Processing buffer {"connection_id":174306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:24:51] local.INFO: IMEI packet received {"connection_id":174306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":174306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:24:52] local.INFO: TCP Data received {"connection_id":171897,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171897,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:24:52] local.INFO: Processing buffer {"connection_id":171897,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:24:52] local.INFO: IMEI packet received {"connection_id":171897,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":171897,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:24:53] local.INFO: TCP Data received {"connection_id":174306,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070c60608012d0290c0072c75180013008327..."} 
[2026-09-05 14:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c60608012d0290c0072c75180013008327..."} 
[2026-09-05 14:24:53] local.INFO: Processing buffer {"connection_id":174306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c60608012d0290c0072c75180013008327..."} 
[2026-09-05 14:24:53] local.INFO: Packet analysis {"connection_id":174306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c6"} 
[2026-09-05 14:24:53] local.INFO: Extracted packet for processing {"connection_id":174306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c6"} 
[2026-09-05 14:24:53] local.INFO: GPS Element Parsed {"raw_longitude":755142848,"raw_latitude":120354072,"longitude_deg":75.5142848,"latitude_deg":12.0354072,"altitude":19,"angle":131,"satellites":39,"speed":34,"hex_longitude":"2d0290c0","hex_latitude":"072c7518","is_valid_coordinates":true} 
[2026-09-05 14:24: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-09-05 14:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881194752001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17811538614157312,"note":"Value kept but may cause issues"} 
[2026-09-05 14:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":182466184463982592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788598421000,"timestamp_ms":1788598421000,"timestamp_seconds":1788598421,"priority":1,"record_length":96,"hex_timestamp":"000001a070c60608"} 
[2026-09-05 14:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 14:24: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-09-05 14:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:24:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881194752001,"66":13993,"30":206,"83":44288,"24":34,"16":17811538614157312,"45":182466184463982592},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,83,24,16,45]} 
[2026-09-05 14:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881194752001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:24:53] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-05 14:24:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 14:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17811538614157312,"km_value":17811538614157.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":182466184463982592,"description":"Unknown IO ID 45"} 
[2026-09-05 14:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881194752001,"power":13993,"unknown_30":206,"unknown_83":44288,"ignition":34,"odometer":null,"unknown_45":182466184463982592}} 
[2026-09-05 14:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":174306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:24:53] local.INFO: GPS data processed {"connection_id":174306,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:24:53] local.INFO: Acknowledgment sent {"connection_id":174306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:24:54] local.INFO: TCP Data received {"connection_id":171897,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070c2b660012c7939c00848c5f00014000129..."} 
[2026-09-05 14:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c2b660012c7939c00848c5f00014000129..."} 
[2026-09-05 14:24:54] local.INFO: Processing buffer {"connection_id":171897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c2b660012c7939c00848c5f00014000129..."} 
[2026-09-05 14:24:54] local.INFO: Packet analysis {"connection_id":171897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:24:54] local.INFO: Extracted packet for processing {"connection_id":171897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:24:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:24: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-09-05 14:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881063168001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:24:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788598204000,"timestamp_ms":1788598204000,"timestamp_seconds":1788598204,"priority":1,"record_length":96,"hex_timestamp":"000001a070c2b660"} 
[2026-09-05 14:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-05 14:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171897,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171897,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881063168001,"66":25462,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881063168001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:24:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:24:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:24:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881063168001,"power":25462,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":171897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769031,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:24:54] local.INFO: GPS data processed {"connection_id":171897,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:24:54] local.INFO: Acknowledgment sent {"connection_id":171897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:25:24] local.INFO: TCP Data received {"connection_id":174306,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070c6ae00012d031cc0072c2b600012008628..."} 
[2026-09-05 14:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c6ae00012d031cc0072c2b600012008628..."} 
[2026-09-05 14:25:24] local.INFO: Processing buffer {"connection_id":174306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c6ae00012d031cc0072c2b600012008628..."} 
[2026-09-05 14:25:24] local.INFO: Packet analysis {"connection_id":174306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c6"} 
[2026-09-05 14:25:24] local.INFO: Extracted packet for processing {"connection_id":174306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c6"} 
[2026-09-05 14:25:24] local.INFO: GPS Element Parsed {"raw_longitude":755178688,"raw_latitude":120335200,"longitude_deg":75.5178688,"latitude_deg":12.03352,"altitude":18,"angle":134,"satellites":40,"speed":44,"hex_longitude":"2d031cc0","hex_latitude":"072c2b60","is_valid_coordinates":true} 
[2026-09-05 14:25: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-09-05 14:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881206016001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17813583018590208,"note":"Value kept but may cause issues"} 
[2026-09-05 14:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":222083787431213056,"note":"Value kept but may cause issues"} 
[2026-09-05 14:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788598464000,"timestamp_ms":1788598464000,"timestamp_seconds":1788598464,"priority":1,"record_length":96,"hex_timestamp":"000001a070c6ae00"} 
[2026-09-05 14:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-05 14:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6986712644,"note":"Value kept but may cause issues"} 
[2026-09-05 14:25:24] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2902464512,"note":"Value kept but may cause issues"} 
[2026-09-05 14:25:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 14:25:24] local.WARNING: Large IO value detected {"io_id":72,"raw_value":3841982464,"note":"Value kept but may cause issues"} 
[2026-09-05 14:25:24] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503871422726144,"note":"Value kept but may cause issues"} 
[2026-09-05 14:25:24] local.WARNING: Large IO value detected {"io_id":112,"raw_value":3328684033,"note":"Value kept but may cause issues"} 
[2026-09-05 14:25:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1377697998,"corrected_to":0} 
[2026-09-05 14:25:24] local.WARNING: Large IO value detected {"io_id":95,"raw_value":3758173442,"note":"Value kept but may cause issues"} 
[2026-09-05 14:25:24] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3221695561,"note":"Value kept but may cause issues"} 
[2026-09-05 14:25:24] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2466303314,"note":"Value kept but may cause issues"} 
[2026-09-05 14:25:24] local.WARNING: Large IO value detected {"io_id":136,"raw_value":84726999163546707,"note":"Value kept but may cause issues"} 
[2026-09-05 14:25:24] local.WARNING: Large IO value detected {"io_id":208,"raw_value":7037411892667904,"note":"Value kept but may cause issues"} 
[2026-09-05 14:25:24] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,30,83,24,241,157,16,73,160,138,45,128,69,21,40,10,66,72,134,131,1,240,227,112,44,4,113,205,42,95,221,232,36,239,56,2,63,7,41,206,136,208],"length":529,"final_offset":659,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1377697998,"validated":0}]} 
[2026-09-05 14:25:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1369257194832855040,"timestamp_seconds":1369257194832855.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 14:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881206016001,"66":14298,"30":206,"83":44288,"24":44,"16":17813583018590208,"45":222083787431213056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,83,24,16,45]} 
[2026-09-05 14:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881206016001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:25:24] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-05 14:25:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 14:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17813583018590208,"km_value":17813583018590.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":222083787431213056,"description":"Unknown IO ID 45"} 
[2026-09-05 14:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881206016001,"power":14298,"unknown_30":206,"unknown_83":44288,"ignition":44,"odometer":null,"unknown_45":222083787431213056}} 
[2026-09-05 14:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":174306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:25:24] local.INFO: GPS data processed {"connection_id":174306,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:25:24] local.INFO: Acknowledgment sent {"connection_id":174306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:25:25] local.INFO: TCP Data received {"connection_id":171897,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070c2b660012c7939c00848c5f00014000129..."} 
[2026-09-05 14:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c2b660012c7939c00848c5f00014000129..."} 
[2026-09-05 14:25:25] local.INFO: Processing buffer {"connection_id":171897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c2b660012c7939c00848c5f00014000129..."} 
[2026-09-05 14:25:25] local.INFO: Packet analysis {"connection_id":171897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:25:25] local.INFO: Extracted packet for processing {"connection_id":171897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c2"} 
[2026-09-05 14:25:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881063168001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:25:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788598204000,"timestamp_ms":1788598204000,"timestamp_seconds":1788598204,"priority":1,"record_length":96,"hex_timestamp":"000001a070c2b660"} 
[2026-09-05 14:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-05 14:25:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:25:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171897,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171897,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881063168001,"66":25462,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881063168001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:25:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:25:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:25:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881063168001,"power":25462,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":171897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769033,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:25:26] local.INFO: GPS data processed {"connection_id":171897,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:25:26] local.INFO: Acknowledgment sent {"connection_id":171897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:25:44] local.INFO: TCP Data received {"connection_id":171592,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:25:44] local.INFO: Processing buffer {"connection_id":171592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:25:44] local.INFO: IMEI packet received {"connection_id":171592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":171592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:25:45] local.INFO: TCP Data received {"connection_id":171592,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:25:45] local.INFO: Processing buffer {"connection_id":171592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:25:45] local.INFO: IMEI packet received {"connection_id":171592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":171592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:25:47] local.INFO: TCP Data received {"connection_id":171898,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:25:47] local.INFO: Processing buffer {"connection_id":171898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:25:47] local.INFO: IMEI packet received {"connection_id":171898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":171898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:25:50] local.INFO: TCP Data received {"connection_id":171592,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:25:50] local.INFO: Processing buffer {"connection_id":171592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:25:50] local.INFO: IMEI packet received {"connection_id":171592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":171592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:25:51] local.INFO: TCP Data received {"connection_id":171592,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070c6c570012d032cc0072c17d00010009428..."} 
[2026-09-05 14:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c6c570012d032cc0072c17d00010009428..."} 
[2026-09-05 14:25:51] local.INFO: Processing buffer {"connection_id":171592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c6c570012d032cc0072c17d00010009428..."} 
[2026-09-05 14:25:51] local.INFO: Packet analysis {"connection_id":171592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c6"} 
[2026-09-05 14:25:51] local.INFO: Extracted packet for processing {"connection_id":171592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c6"} 
[2026-09-05 14:25:51] local.INFO: GPS Element Parsed {"raw_longitude":755182784,"raw_latitude":120330192,"longitude_deg":75.5182784,"latitude_deg":12.0330192,"altitude":16,"angle":148,"satellites":40,"speed":37,"hex_longitude":"2d032cc0","hex_latitude":"072c17d0","is_valid_coordinates":true} 
[2026-09-05 14:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881206784001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17813896551202816,"note":"Value kept but may cause issues"} 
[2026-09-05 14:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":224265218500026368,"note":"Value kept but may cause issues"} 
[2026-09-05 14:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788598470000,"timestamp_ms":1788598470000,"timestamp_seconds":1788598470,"priority":1,"record_length":96,"hex_timestamp":"000001a070c6c570"} 
[2026-09-05 14:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-05 14:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881206784001,"66":13972,"30":206,"83":44288,"24":37,"16":17813896551202816,"45":224265218500026368},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,83,24,16,45]} 
[2026-09-05 14:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881206784001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:25:51] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-05 14:25:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 14:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17813896551202816,"km_value":17813896551202.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":224265218500026368,"description":"Unknown IO ID 45"} 
[2026-09-05 14:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881206784001,"power":13972,"unknown_30":206,"unknown_83":44288,"ignition":37,"odometer":null,"unknown_45":224265218500026368}} 
[2026-09-05 14:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":171592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:25:51] local.INFO: GPS data processed {"connection_id":171592,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:25:51] local.INFO: Acknowledgment sent {"connection_id":171592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:25:52] local.INFO: TCP Data received {"connection_id":171898,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:25:52] local.INFO: Processing buffer {"connection_id":171898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:25:52] local.INFO: IMEI packet received {"connection_id":171898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":171898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:25:53] local.INFO: TCP Data received {"connection_id":171898,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070c74e28012c7939c00848c5f00014000129..."} 
[2026-09-05 14:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c74e28012c7939c00848c5f00014000129..."} 
[2026-09-05 14:25:53] local.INFO: Processing buffer {"connection_id":171898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c74e28012c7939c00848c5f00014000129..."} 
[2026-09-05 14:25:53] local.INFO: Packet analysis {"connection_id":171898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c7"} 
[2026-09-05 14:25:53] local.INFO: Extracted packet for processing {"connection_id":171898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c7"} 
[2026-09-05 14:25:53] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:25: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-09-05 14:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881140224001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:25:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788598505000,"timestamp_ms":1788598505000,"timestamp_seconds":1788598505,"priority":1,"record_length":96,"hex_timestamp":"000001a070c74e28"} 
[2026-09-05 14:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:25:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 14:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:25: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-09-05 14:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881140224001,"66":25462,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881140224001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:25:53] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:25:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:25:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881140224001,"power":25462,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":171898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769035,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:25:53] local.INFO: GPS data processed {"connection_id":171898,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:25:53] local.INFO: Acknowledgment sent {"connection_id":171898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:26:25] local.INFO: TCP Data received {"connection_id":171898,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070c74e28012c7939c00848c5f00014000129..."} 
[2026-09-05 14:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c74e28012c7939c00848c5f00014000129..."} 
[2026-09-05 14:26:25] local.INFO: Processing buffer {"connection_id":171898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c74e28012c7939c00848c5f00014000129..."} 
[2026-09-05 14:26:25] local.INFO: Packet analysis {"connection_id":171898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c7"} 
[2026-09-05 14:26:25] local.INFO: Extracted packet for processing {"connection_id":171898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c7"} 
[2026-09-05 14:26:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881140224001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:26:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788598505000,"timestamp_ms":1788598505000,"timestamp_seconds":1788598505,"priority":1,"record_length":96,"hex_timestamp":"000001a070c74e28"} 
[2026-09-05 14:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 14:26:25] 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-09-05 14:26:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881140224001,"66":25462,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881140224001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:26:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:26:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:26:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881140224001,"power":25462,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":171898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769036,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:26:25] local.INFO: GPS data processed {"connection_id":171898,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:26:25] local.INFO: Acknowledgment sent {"connection_id":171898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:26:32] local.INFO: TCP Data received {"connection_id":171592,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070c7cb28012d03f940072babc8000c003622..."} 
[2026-09-05 14:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c7cb28012d03f940072babc8000c003622..."} 
[2026-09-05 14:26:32] local.INFO: Processing buffer {"connection_id":171592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c7cb28012d03f940072babc8000c003622..."} 
[2026-09-05 14:26:32] local.INFO: Packet analysis {"connection_id":171592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c7"} 
[2026-09-05 14:26:32] local.INFO: Extracted packet for processing {"connection_id":171592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c7"} 
[2026-09-05 14:26:32] local.INFO: GPS Element Parsed {"raw_longitude":755235136,"raw_latitude":120302536,"longitude_deg":75.5235136,"latitude_deg":12.0302536,"altitude":12,"angle":54,"satellites":34,"speed":29,"hex_longitude":"2d03f940","hex_latitude":"072babc8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 14:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881222912001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17817156431380480,"note":"Value kept but may cause issues"} 
[2026-09-05 14:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":278026939042095104,"note":"Value kept but may cause issues"} 
[2026-09-05 14:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788598537000,"timestamp_ms":1788598537000,"timestamp_seconds":1788598537,"priority":1,"record_length":96,"hex_timestamp":"000001a070c7cb28"} 
[2026-09-05 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-09-05 14:26: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-09-05 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 14:26:32] 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-09-05 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-09-05 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-09-05 14:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881222912001,"66":14048,"29":206,"83":44288,"24":29,"16":17817156431380480,"45":278026939042095104},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-09-05 14:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881222912001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:26:32] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-05 14:26:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 14:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17817156431380480,"km_value":17817156431380.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":278026939042095104,"description":"Unknown IO ID 45"} 
[2026-09-05 14:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881222912001,"power":14048,"unknown_29":206,"unknown_83":44288,"ignition":29,"odometer":null,"unknown_45":278026939042095104}} 
[2026-09-05 14:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":171592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:26:32] local.INFO: GPS data processed {"connection_id":171592,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:26:32] local.INFO: Acknowledgment sent {"connection_id":171592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:26:52] local.INFO: TCP Data received {"connection_id":172981,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172981,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:26:52] local.INFO: Processing buffer {"connection_id":172981,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:26:52] local.INFO: IMEI packet received {"connection_id":172981,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":172981,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:26:53] local.INFO: TCP Data received {"connection_id":174308,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:26:53] local.INFO: Processing buffer {"connection_id":174308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:26:53] local.INFO: IMEI packet received {"connection_id":174308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":174308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:26:55] local.INFO: TCP Data received {"connection_id":174308,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:26:55] local.INFO: Processing buffer {"connection_id":174308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:26:55] local.INFO: IMEI packet received {"connection_id":174308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":174308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:26:55] local.INFO: TCP Data received {"connection_id":174308,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:26:55] local.INFO: Processing buffer {"connection_id":174308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:26:55] local.INFO: IMEI packet received {"connection_id":174308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":174308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:26:57] local.INFO: TCP Data received {"connection_id":174308,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:26:57] local.INFO: Processing buffer {"connection_id":174308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:26:57] local.INFO: IMEI packet received {"connection_id":174308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":174308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:26:57] local.INFO: TCP Data received {"connection_id":174308,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070c7dac8012d040400072bb278000d004321..."} 
[2026-09-05 14:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c7dac8012d040400072bb278000d004321..."} 
[2026-09-05 14:26:57] local.INFO: Processing buffer {"connection_id":174308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c7dac8012d040400072bb278000d004321..."} 
[2026-09-05 14:26:57] local.INFO: Packet analysis {"connection_id":174308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c7"} 
[2026-09-05 14:26:57] local.INFO: Extracted packet for processing {"connection_id":174308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c7"} 
[2026-09-05 14:26:57] local.INFO: GPS Element Parsed {"raw_longitude":755237888,"raw_latitude":120304248,"longitude_deg":75.5237888,"latitude_deg":12.0304248,"altitude":13,"angle":67,"satellites":33,"speed":33,"hex_longitude":"2d040400","hex_latitude":"072bb278","is_valid_coordinates":true} 
[2026-09-05 14:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881225472001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17817311050203136,"note":"Value kept but may cause issues"} 
[2026-09-05 14:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":286330450856364032,"note":"Value kept but may cause issues"} 
[2026-09-05 14:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788598541000,"timestamp_ms":1788598541000,"timestamp_seconds":1788598541,"priority":1,"record_length":96,"hex_timestamp":"000001a070c7dac8"} 
[2026-09-05 14:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-05 14:26:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881225472001,"66":13993,"29":206,"83":44288,"24":33,"16":17817311050203136,"45":286330450856364032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-09-05 14:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881225472001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:26:57] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-05 14:26:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 14:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17817311050203136,"km_value":17817311050203.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":286330450856364032,"description":"Unknown IO ID 45"} 
[2026-09-05 14:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881225472001,"power":13993,"unknown_29":206,"unknown_83":44288,"ignition":33,"odometer":null,"unknown_45":286330450856364032}} 
[2026-09-05 14:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":174308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:26:58] local.INFO: GPS data processed {"connection_id":174308,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:26:58] local.INFO: Acknowledgment sent {"connection_id":174308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:27:00] local.INFO: TCP Data received {"connection_id":174308,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070c7e298012d040a40072bb380000d005922..."} 
[2026-09-05 14:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c7e298012d040a40072bb380000d005922..."} 
[2026-09-05 14:27:00] local.INFO: Processing buffer {"connection_id":174308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c7e298012d040a40072bb380000d005922..."} 
[2026-09-05 14:27:00] local.INFO: Packet analysis {"connection_id":174308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c7"} 
[2026-09-05 14:27:00] local.INFO: Extracted packet for processing {"connection_id":174308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c7"} 
[2026-09-05 14:27:00] local.INFO: GPS Element Parsed {"raw_longitude":755239488,"raw_latitude":120304512,"longitude_deg":75.5239488,"latitude_deg":12.0304512,"altitude":13,"angle":89,"satellites":34,"speed":32,"hex_longitude":"2d040a40","hex_latitude":"072bb380","is_valid_coordinates":true} 
[2026-09-05 14:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881226496001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17817388359614464,"note":"Value kept but may cause issues"} 
[2026-09-05 14:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":289356306856441856,"note":"Value kept but may cause issues"} 
[2026-09-05 14:27:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788598543000,"timestamp_ms":1788598543000,"timestamp_seconds":1788598543,"priority":1,"record_length":96,"hex_timestamp":"000001a070c7e298"} 
[2026-09-05 14:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:27: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-09-05 14:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 14:27:00] 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-09-05 14:27:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881226496001,"66":13928,"29":206,"83":44288,"24":32,"16":17817388359614464,"45":289356306856441856},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-09-05 14:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881226496001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:27:00] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-05 14:27:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 14:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17817388359614464,"km_value":17817388359614.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":289356306856441856,"description":"Unknown IO ID 45"} 
[2026-09-05 14:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881226496001,"power":13928,"unknown_29":206,"unknown_83":44288,"ignition":32,"odometer":null,"unknown_45":289356306856441856}} 
[2026-09-05 14:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":174308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:27:00] local.INFO: GPS data processed {"connection_id":174308,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:27:00] local.INFO: Acknowledgment sent {"connection_id":174308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:27:02] local.INFO: TCP Data received {"connection_id":172981,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172981,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:27:02] local.INFO: Processing buffer {"connection_id":172981,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:27:02] local.INFO: IMEI packet received {"connection_id":172981,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":172981,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:27:03] local.INFO: TCP Data received {"connection_id":172981,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070c74e28012c7939c00848c5f00014000129..."} 
[2026-09-05 14:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c74e28012c7939c00848c5f00014000129..."} 
[2026-09-05 14:27:03] local.INFO: Processing buffer {"connection_id":172981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c74e28012c7939c00848c5f00014000129..."} 
[2026-09-05 14:27:03] local.INFO: Packet analysis {"connection_id":172981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c7"} 
[2026-09-05 14:27:03] local.INFO: Extracted packet for processing {"connection_id":172981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c7"} 
[2026-09-05 14:27:03] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881140224001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:27:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788598505000,"timestamp_ms":1788598505000,"timestamp_seconds":1788598505,"priority":1,"record_length":96,"hex_timestamp":"000001a070c74e28"} 
[2026-09-05 14:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:27: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-09-05 14: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":118,"data_length":795,"current_offset":136} 
[2026-09-05 14:27: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-09-05 14: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-09-05 14:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172981,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172981,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881140224001,"66":25462,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881140224001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:27:03] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:27:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:27:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881140224001,"power":25462,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":172981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769040,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:27:03] local.INFO: GPS data processed {"connection_id":172981,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:27:03] local.INFO: Acknowledgment sent {"connection_id":172981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:27:45] local.INFO: TCP Data received {"connection_id":171594,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:27:45] local.INFO: Processing buffer {"connection_id":171594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:27:45] local.INFO: IMEI packet received {"connection_id":171594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":171594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:27:45] local.INFO: TCP Data received {"connection_id":171594,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:27:45] local.INFO: Processing buffer {"connection_id":171594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:27:45] local.INFO: IMEI packet received {"connection_id":171594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":171594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:27:47] local.INFO: TCP Data received {"connection_id":171595,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171595,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:27:47] local.INFO: Processing buffer {"connection_id":171595,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:27:47] local.INFO: IMEI packet received {"connection_id":171595,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":171595,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:27:50] local.INFO: TCP Data received {"connection_id":171594,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:27:50] local.INFO: Processing buffer {"connection_id":171594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:27:50] local.INFO: IMEI packet received {"connection_id":171594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":171594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:27:51] local.INFO: TCP Data received {"connection_id":171594,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070c8b588012d046180072b2670001200b323..."} 
[2026-09-05 14:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c8b588012d046180072b2670001200b323..."} 
[2026-09-05 14:27:51] local.INFO: Processing buffer {"connection_id":171594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c8b588012d046180072b2670001200b323..."} 
[2026-09-05 14:27:51] local.INFO: Packet analysis {"connection_id":171594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c8"} 
[2026-09-05 14:27:51] local.INFO: Extracted packet for processing {"connection_id":171594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c8"} 
[2026-09-05 14:27:51] local.INFO: GPS Element Parsed {"raw_longitude":755261824,"raw_latitude":120268400,"longitude_deg":75.5261824,"latitude_deg":12.02684,"altitude":18,"angle":179,"satellites":35,"speed":36,"hex_longitude":"2d046180","hex_latitude":"072b2670","is_valid_coordinates":true} 
[2026-09-05 14:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881240064001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17819677577183232,"note":"Value kept but may cause issues"} 
[2026-09-05 14:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":315322373449492480,"note":"Value kept but may cause issues"} 
[2026-09-05 14:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788598597000,"timestamp_ms":1788598597000,"timestamp_seconds":1788598597,"priority":1,"record_length":96,"hex_timestamp":"000001a070c8b588"} 
[2026-09-05 14:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 14:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881240064001,"66":14396,"29":206,"83":44288,"24":36,"16":17819677577183232,"45":315322373449492480},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-09-05 14:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881240064001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:27:51] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-05 14:27:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 14:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17819677577183232,"km_value":17819677577183.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":315322373449492480,"description":"Unknown IO ID 45"} 
[2026-09-05 14:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881240064001,"power":14396,"unknown_29":206,"unknown_83":44288,"ignition":36,"odometer":null,"unknown_45":315322373449492480}} 
[2026-09-05 14:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":171594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:27:51] local.INFO: GPS data processed {"connection_id":171594,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:27:51] local.INFO: Acknowledgment sent {"connection_id":171594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:27:53] local.INFO: TCP Data received {"connection_id":171595,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171595,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:27:53] local.INFO: Processing buffer {"connection_id":171595,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:27:53] local.INFO: IMEI packet received {"connection_id":171595,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":171595,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:27:56] local.INFO: TCP Data received {"connection_id":171595,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070c74e28012c7939c00848c5f00014000129..."} 
[2026-09-05 14:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c74e28012c7939c00848c5f00014000129..."} 
[2026-09-05 14:27:56] local.INFO: Processing buffer {"connection_id":171595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c74e28012c7939c00848c5f00014000129..."} 
[2026-09-05 14:27:56] local.INFO: Packet analysis {"connection_id":171595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c7"} 
[2026-09-05 14:27:56] local.INFO: Extracted packet for processing {"connection_id":171595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c7"} 
[2026-09-05 14:27:56] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881140224001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:27:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788598505000,"timestamp_ms":1788598505000,"timestamp_seconds":1788598505,"priority":1,"record_length":96,"hex_timestamp":"000001a070c74e28"} 
[2026-09-05 14:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 14:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:27:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881140224001,"66":25462,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881140224001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:27:56] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:27:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:27:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881140224001,"power":25462,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":171595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769042,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:27:56] local.INFO: GPS data processed {"connection_id":171595,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:27:56] local.INFO: Acknowledgment sent {"connection_id":171595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:28:22] local.INFO: TCP Data received {"connection_id":171594,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070c8d8b0012d046040072b0878001500be22..."} 
[2026-09-05 14:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c8d8b0012d046040072b0878001500be22..."} 
[2026-09-05 14:28:22] local.INFO: Processing buffer {"connection_id":171594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c8d8b0012d046040072b0878001500be22..."} 
[2026-09-05 14:28:22] local.INFO: Packet analysis {"connection_id":171594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c8"} 
[2026-09-05 14:28:22] local.INFO: Extracted packet for processing {"connection_id":171594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c8"} 
[2026-09-05 14:28:22] local.INFO: GPS Element Parsed {"raw_longitude":755261504,"raw_latitude":120260728,"longitude_deg":75.5261504,"latitude_deg":12.0260728,"altitude":21,"angle":190,"satellites":34,"speed":34,"hex_longitude":"2d046040","hex_latitude":"072b0878","is_valid_coordinates":true} 
[2026-09-05 14:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881240832001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17820051239337984,"note":"Value kept but may cause issues"} 
[2026-09-05 14:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":315674217169711104,"note":"Value kept but may cause issues"} 
[2026-09-05 14:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788598606000,"timestamp_ms":1788598606000,"timestamp_seconds":1788598606,"priority":1,"record_length":96,"hex_timestamp":"000001a070c8d8b0"} 
[2026-09-05 14:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 14: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-09-05 14:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881240832001,"66":14396,"29":206,"83":44288,"24":34,"16":17820051239337984,"45":315674217169711104},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-09-05 14:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881240832001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:28:22] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-05 14:28:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 14:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17820051239337984,"km_value":17820051239337.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":315674217169711104,"description":"Unknown IO ID 45"} 
[2026-09-05 14:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881240832001,"power":14396,"unknown_29":206,"unknown_83":44288,"ignition":34,"odometer":null,"unknown_45":315674217169711104}} 
[2026-09-05 14:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":171594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:28:22] local.INFO: GPS data processed {"connection_id":171594,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:28:22] local.INFO: Acknowledgment sent {"connection_id":171594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:28:28] local.INFO: TCP Data received {"connection_id":171595,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070c74e28012c7939c00848c5f00014000129..."} 
[2026-09-05 14:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c74e28012c7939c00848c5f00014000129..."} 
[2026-09-05 14:28:28] local.INFO: Processing buffer {"connection_id":171595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c74e28012c7939c00848c5f00014000129..."} 
[2026-09-05 14:28:28] local.INFO: Packet analysis {"connection_id":171595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c7"} 
[2026-09-05 14:28:28] local.INFO: Extracted packet for processing {"connection_id":171595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c7"} 
[2026-09-05 14:28:28] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881140224001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:28:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788598505000,"timestamp_ms":1788598505000,"timestamp_seconds":1788598505,"priority":1,"record_length":96,"hex_timestamp":"000001a070c74e28"} 
[2026-09-05 14:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 14:28:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":171595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":171595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":171595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881140224001,"66":25462,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881140224001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:28:28] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:28:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:28:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881140224001,"power":25462,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":171595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769044,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:28:28] local.INFO: GPS data processed {"connection_id":171595,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:28:28] local.INFO: Acknowledgment sent {"connection_id":171595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:28:44] local.INFO: TCP Data received {"connection_id":174309,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:28:44] local.INFO: Processing buffer {"connection_id":174309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:28:44] local.INFO: IMEI packet received {"connection_id":174309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":174309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:28:46] local.INFO: TCP Data received {"connection_id":174309,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:28:46] local.INFO: Processing buffer {"connection_id":174309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:28:46] local.INFO: IMEI packet received {"connection_id":174309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":174309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:28:49] local.INFO: TCP Data received {"connection_id":174309,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:28:49] local.INFO: Processing buffer {"connection_id":174309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:28:49] local.INFO: IMEI packet received {"connection_id":174309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":174309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:28:50] local.INFO: TCP Data received {"connection_id":174309,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070c8f020012d045a00072af460001700cb21..."} 
[2026-09-05 14:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c8f020012d045a00072af460001700cb21..."} 
[2026-09-05 14:28:50] local.INFO: Processing buffer {"connection_id":174309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c8f020012d045a00072af460001700cb21..."} 
[2026-09-05 14:28:50] local.INFO: Packet analysis {"connection_id":174309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c8"} 
[2026-09-05 14:28:50] local.INFO: Extracted packet for processing {"connection_id":174309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c8"} 
[2026-09-05 14:28:50] local.INFO: GPS Element Parsed {"raw_longitude":755259904,"raw_latitude":120255584,"longitude_deg":75.5259904,"latitude_deg":12.0255584,"altitude":23,"angle":203,"satellites":33,"speed":38,"hex_longitude":"2d045a00","hex_latitude":"072af460","is_valid_coordinates":true} 
[2026-09-05 14:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881243136001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17820313232343040,"note":"Value kept but may cause issues"} 
[2026-09-05 14:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":315322373446858752,"note":"Value kept but may cause issues"} 
[2026-09-05 14:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788598612000,"timestamp_ms":1788598612000,"timestamp_seconds":1788598612,"priority":1,"record_length":96,"hex_timestamp":"000001a070c8f020"} 
[2026-09-05 14:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 14:28:50] 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-09-05 14:28:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881243136001,"66":13993,"29":206,"83":44288,"24":38,"16":17820313232343040,"45":315322373446858752},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-09-05 14:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881243136001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:28:50] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-05 14:28:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 14:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17820313232343040,"km_value":17820313232343.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":315322373446858752,"description":"Unknown IO ID 45"} 
[2026-09-05 14:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881243136001,"power":13993,"unknown_29":206,"unknown_83":44288,"ignition":38,"odometer":null,"unknown_45":315322373446858752}} 
[2026-09-05 14:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":174309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:28:50] local.INFO: GPS data processed {"connection_id":174309,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:28:50] local.INFO: Acknowledgment sent {"connection_id":174309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:28:52] local.INFO: TCP Data received {"connection_id":172983,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172983,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:28:52] local.INFO: Processing buffer {"connection_id":172983,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:28:52] local.INFO: IMEI packet received {"connection_id":172983,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":172983,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:28:57] local.INFO: TCP Data received {"connection_id":172983,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172983,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:28:57] local.INFO: Processing buffer {"connection_id":172983,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:28:57] local.INFO: IMEI packet received {"connection_id":172983,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":172983,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:28:59] local.INFO: TCP Data received {"connection_id":172983,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070c74e28012c7939c00848c5f00014000129..."} 
[2026-09-05 14:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c74e28012c7939c00848c5f00014000129..."} 
[2026-09-05 14:28:59] local.INFO: Processing buffer {"connection_id":172983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c74e28012c7939c00848c5f00014000129..."} 
[2026-09-05 14:28:59] local.INFO: Packet analysis {"connection_id":172983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c7"} 
[2026-09-05 14:28:59] local.INFO: Extracted packet for processing {"connection_id":172983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c7"} 
[2026-09-05 14:28:59] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881140224001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:28:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788598505000,"timestamp_ms":1788598505000,"timestamp_seconds":1788598505,"priority":1,"record_length":96,"hex_timestamp":"000001a070c74e28"} 
[2026-09-05 14:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 14:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881140224001,"66":25462,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881140224001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:28:59] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:28:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:28:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881140224001,"power":25462,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":172983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769046,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:28:59] local.INFO: GPS data processed {"connection_id":172983,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:28:59] local.INFO: Acknowledgment sent {"connection_id":172983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:28:59] local.INFO: TCP Data received {"connection_id":172984,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:28:59] local.INFO: Processing buffer {"connection_id":172984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:28:59] local.INFO: IMEI packet received {"connection_id":172984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":172984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:29:01] local.INFO: TCP Data received {"connection_id":172984,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:29:01] local.INFO: Processing buffer {"connection_id":172984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:29:01] local.INFO: IMEI packet received {"connection_id":172984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":172984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:29:03] local.INFO: TCP Data received {"connection_id":172983,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070c74e28012c7939c00848c5f00014000129..."} 
[2026-09-05 14:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c74e28012c7939c00848c5f00014000129..."} 
[2026-09-05 14:29:03] local.INFO: Processing buffer {"connection_id":172983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c74e28012c7939c00848c5f00014000129..."} 
[2026-09-05 14:29:03] local.INFO: Packet analysis {"connection_id":172983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c7"} 
[2026-09-05 14:29:03] local.INFO: Extracted packet for processing {"connection_id":172983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c7"} 
[2026-09-05 14:29:03] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881140224001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:29:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788598505000,"timestamp_ms":1788598505000,"timestamp_seconds":1788598505,"priority":1,"record_length":96,"hex_timestamp":"000001a070c74e28"} 
[2026-09-05 14:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 14:29: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-09-05 14:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881140224001,"66":25462,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881140224001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:29:03] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:29:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:29:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881140224001,"power":25462,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":172983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769047,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:29:03] local.INFO: GPS data processed {"connection_id":172983,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:29:03] local.INFO: Acknowledgment sent {"connection_id":172983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:29:06] local.INFO: TCP Data received {"connection_id":172984,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:29:06] local.INFO: Processing buffer {"connection_id":172984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:29:06] local.INFO: IMEI packet received {"connection_id":172984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":172984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:29:08] local.INFO: TCP Data received {"connection_id":172984,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070c8b588012d7cc60006091e700008006230..."} 
[2026-09-05 14:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c8b588012d7cc60006091e700008006230..."} 
[2026-09-05 14:29:08] local.INFO: Processing buffer {"connection_id":172984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c8b588012d7cc60006091e700008006230..."} 
[2026-09-05 14:29:08] local.INFO: Packet analysis {"connection_id":172984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c8"} 
[2026-09-05 14:29:08] local.INFO: Extracted packet for processing {"connection_id":172984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c8"} 
[2026-09-05 14:29:08] local.INFO: GPS Element Parsed {"raw_longitude":763151872,"raw_latitude":101260912,"longitude_deg":76.3151872,"latitude_deg":10.1260912,"altitude":8,"angle":98,"satellites":48,"speed":26,"hex_longitude":"2d7cc600","hex_latitude":"06091e70","is_valid_coordinates":true} 
[2026-09-05 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-09-05 14:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881237760001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399800591276048384,"note":"Value kept but may cause issues"} 
[2026-09-05 14:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980881370341832704,"note":"Value kept but may cause issues"} 
[2026-09-05 14:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788598597000,"timestamp_ms":1788598597000,"timestamp_seconds":1788598597,"priority":1,"record_length":96,"hex_timestamp":"000001a070c8b588"} 
[2026-09-05 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-09-05 14:29: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-09-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 14:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 14:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881237760001,"66":27984,"232":206,"87":10496,"24":26,"16":399800591276048384,"45":8980881370341832704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,87,24,16,45]} 
[2026-09-05 14:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881237760001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:29:08] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-05 14:29:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399800591276048384,"km_value":399800591276048.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980881370341832704,"description":"Unknown IO ID 45"} 
[2026-09-05 14:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881237760001,"power":27984,"unknown_232":206,"unknown_87":10496,"ignition":26,"odometer":null,"unknown_45":8980881370341832704}} 
[2026-09-05 14:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":172984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:29:08] local.INFO: GPS data processed {"connection_id":172984,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:29:08] local.INFO: Acknowledgment sent {"connection_id":172984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:29:11] local.INFO: TCP Data received {"connection_id":172984,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070c8e850012d7ce98006091b900009005f30..."} 
[2026-09-05 14:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c8e850012d7ce98006091b900009005f30..."} 
[2026-09-05 14:29:11] local.INFO: Processing buffer {"connection_id":172984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c8e850012d7ce98006091b900009005f30..."} 
[2026-09-05 14:29:11] local.INFO: Packet analysis {"connection_id":172984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c8"} 
[2026-09-05 14:29:11] local.INFO: Extracted packet for processing {"connection_id":172984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c8"} 
[2026-09-05 14:29:11] local.INFO: GPS Element Parsed {"raw_longitude":763160960,"raw_latitude":101260176,"longitude_deg":76.316096,"latitude_deg":10.1260176,"altitude":9,"angle":95,"satellites":48,"speed":30,"hex_longitude":"2d7ce980","hex_latitude":"06091b90","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881240832001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399801025067745280,"note":"Value kept but may cause issues"} 
[2026-09-05 14:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8990873732014567424,"note":"Value kept but may cause issues"} 
[2026-09-05 14:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788598610000,"timestamp_ms":1788598610000,"timestamp_seconds":1788598610,"priority":1,"record_length":96,"hex_timestamp":"000001a070c8e850"} 
[2026-09-05 14:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 14:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":172984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":172984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":172984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881240832001,"66":27821,"232":206,"87":10496,"24":30,"16":399801025067745280,"45":8990873732014567424},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,87,24,16,45]} 
[2026-09-05 14:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881240832001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:29:11] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-05 14:29:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399801025067745280,"km_value":399801025067745.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8990873732014567424,"description":"Unknown IO ID 45"} 
[2026-09-05 14:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881240832001,"power":27821,"unknown_232":206,"unknown_87":10496,"ignition":30,"odometer":null,"unknown_45":8990873732014567424}} 
[2026-09-05 14:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":172984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:29:11] local.INFO: GPS data processed {"connection_id":172984,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:29:11] local.INFO: Acknowledgment sent {"connection_id":172984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:29:21] local.INFO: TCP Data received {"connection_id":174309,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070ca5780012d0491800729d6b0001e009624..."} 
[2026-09-05 14:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ca5780012d0491800729d6b0001e009624..."} 
[2026-09-05 14:29:21] local.INFO: Processing buffer {"connection_id":174309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ca5780012d0491800729d6b0001e009624..."} 
[2026-09-05 14:29:21] local.INFO: Packet analysis {"connection_id":174309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ca"} 
[2026-09-05 14:29:21] local.INFO: Extracted packet for processing {"connection_id":174309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ca"} 
[2026-09-05 14:29:21] local.INFO: GPS Element Parsed {"raw_longitude":755274112,"raw_latitude":120182448,"longitude_deg":75.5274112,"latitude_deg":12.0182448,"altitude":30,"angle":150,"satellites":36,"speed":21,"hex_longitude":"2d049180","hex_latitude":"0729d6b0","is_valid_coordinates":true} 
[2026-09-05 14:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881267712001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17824079918661632,"note":"Value kept but may cause issues"} 
[2026-09-05 14:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":328762803564996608,"note":"Value kept but may cause issues"} 
[2026-09-05 14:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788598704000,"timestamp_ms":1788598704000,"timestamp_seconds":1788598704,"priority":1,"record_length":96,"hex_timestamp":"000001a070ca5780"} 
[2026-09-05 14:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:29: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-09-05 14:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 14:29:21] 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-09-05 14:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881267712001,"66":14374,"77":206,"83":44288,"24":21,"16":17824079918661632,"45":328762803564996608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,83,24,16,45]} 
[2026-09-05 14:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881267712001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:29:21] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-05 14:29:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 14:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17824079918661632,"km_value":17824079918661.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":328762803564996608,"description":"Unknown IO ID 45"} 
[2026-09-05 14:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881267712001,"power":14374,"unknown_77":206,"unknown_83":44288,"ignition":21,"odometer":null,"unknown_45":328762803564996608}} 
[2026-09-05 14:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":174309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:29:21] local.INFO: GPS data processed {"connection_id":174309,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:29:21] local.INFO: Acknowledgment sent {"connection_id":174309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:29:45] local.INFO: TCP Data received {"connection_id":172985,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:29:45] local.INFO: Processing buffer {"connection_id":172985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:29:45] local.INFO: IMEI packet received {"connection_id":172985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":172985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:29:45] local.INFO: TCP Data received {"connection_id":172985,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:29:45] local.INFO: Processing buffer {"connection_id":172985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:29:45] local.INFO: IMEI packet received {"connection_id":172985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":172985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:29:47] local.INFO: TCP Data received {"connection_id":171596,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171596,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:29:47] local.INFO: Processing buffer {"connection_id":171596,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:29:47] local.INFO: IMEI packet received {"connection_id":171596,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":171596,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:29:50] local.INFO: TCP Data received {"connection_id":172985,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:29:50] local.INFO: Processing buffer {"connection_id":172985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:29:50] local.INFO: IMEI packet received {"connection_id":172985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":172985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:29:51] local.INFO: TCP Data received {"connection_id":172985,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070ca5f50012d0494400729d318001e008b23..."} 
[2026-09-05 14:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ca5f50012d0494400729d318001e008b23..."} 
[2026-09-05 14:29:51] local.INFO: Processing buffer {"connection_id":172985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ca5f50012d0494400729d318001e008b23..."} 
[2026-09-05 14:29:51] local.INFO: Packet analysis {"connection_id":172985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ca"} 
[2026-09-05 14:29:51] local.INFO: Extracted packet for processing {"connection_id":172985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ca"} 
[2026-09-05 14:29:51] local.INFO: GPS Element Parsed {"raw_longitude":755274816,"raw_latitude":120181528,"longitude_deg":75.5274816,"latitude_deg":12.0181528,"altitude":30,"angle":139,"satellites":35,"speed":23,"hex_longitude":"2d049440","hex_latitude":"0729d318","is_valid_coordinates":true} 
[2026-09-05 14:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881268224001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17824131458269184,"note":"Value kept but may cause issues"} 
[2026-09-05 14:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":329185016029818880,"note":"Value kept but may cause issues"} 
[2026-09-05 14:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788598706000,"timestamp_ms":1788598706000,"timestamp_seconds":1788598706,"priority":1,"record_length":96,"hex_timestamp":"000001a070ca5f50"} 
[2026-09-05 14:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 14:29:51] 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-09-05 14:29:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881268224001,"66":14396,"77":206,"83":44288,"24":23,"16":17824131458269184,"45":329185016029818880},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,83,24,16,45]} 
[2026-09-05 14:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881268224001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:29:51] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-05 14:29:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 14:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17824131458269184,"km_value":17824131458269.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":329185016029818880,"description":"Unknown IO ID 45"} 
[2026-09-05 14:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881268224001,"power":14396,"unknown_77":206,"unknown_83":44288,"ignition":23,"odometer":null,"unknown_45":329185016029818880}} 
[2026-09-05 14:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":172985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:29:51] local.INFO: GPS data processed {"connection_id":172985,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:29:51] local.INFO: Acknowledgment sent {"connection_id":172985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:29:52] local.INFO: TCP Data received {"connection_id":171596,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171596,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:29:52] local.INFO: Processing buffer {"connection_id":171596,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:29:52] local.INFO: IMEI packet received {"connection_id":171596,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":171596,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:29:53] local.INFO: TCP Data received {"connection_id":171596,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070c74e28012c7939c00848c5f00014000129..."} 
[2026-09-05 14:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c74e28012c7939c00848c5f00014000129..."} 
[2026-09-05 14:29:53] local.INFO: Processing buffer {"connection_id":171596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c74e28012c7939c00848c5f00014000129..."} 
[2026-09-05 14:29:53] local.INFO: Packet analysis {"connection_id":171596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c7"} 
[2026-09-05 14:29:53] local.INFO: Extracted packet for processing {"connection_id":171596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c7"} 
[2026-09-05 14:29:53] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881140224001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:29:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788598505000,"timestamp_ms":1788598505000,"timestamp_seconds":1788598505,"priority":1,"record_length":96,"hex_timestamp":"000001a070c74e28"} 
[2026-09-05 14:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 14:29:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:29:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881140224001,"66":25462,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881140224001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:29:53] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:29:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:29:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881140224001,"power":25462,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":171596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769052,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:29:54] local.INFO: GPS data processed {"connection_id":171596,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:29:54] local.INFO: Acknowledgment sent {"connection_id":171596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:29:56] local.INFO: TCP Data received {"connection_id":171597,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:29:56] local.INFO: Processing buffer {"connection_id":171597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:29:56] local.INFO: IMEI packet received {"connection_id":171597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":171597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:29:58] local.INFO: TCP Data received {"connection_id":171597,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:29:58] local.INFO: Processing buffer {"connection_id":171597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:29:58] local.INFO: IMEI packet received {"connection_id":171597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":171597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:30:01] local.INFO: TCP Data received {"connection_id":171597,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:30:01] local.INFO: Processing buffer {"connection_id":171597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:30:01] local.INFO: IMEI packet received {"connection_id":171597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":171597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:30:03] local.INFO: TCP Data received {"connection_id":171597,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070caa988012d7e500006092b80001a00572d..."} 
[2026-09-05 14:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070caa988012d7e500006092b80001a00572d..."} 
[2026-09-05 14:30:03] local.INFO: Processing buffer {"connection_id":171597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070caa988012d7e500006092b80001a00572d..."} 
[2026-09-05 14:30:03] local.INFO: Packet analysis {"connection_id":171597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ca"} 
[2026-09-05 14:30:03] local.INFO: Extracted packet for processing {"connection_id":171597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ca"} 
[2026-09-05 14:30:03] local.INFO: GPS Element Parsed {"raw_longitude":763252736,"raw_latitude":101264256,"longitude_deg":76.3252736,"latitude_deg":10.1264256,"altitude":26,"angle":87,"satellites":45,"speed":42,"hex_longitude":"2d7e5000","hex_latitude":"06092b80","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881270784001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399805457473994752,"note":"Value kept but may cause issues"} 
[2026-09-05 14:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091289929956749312,"note":"Value kept but may cause issues"} 
[2026-09-05 14:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788598725000,"timestamp_ms":1788598725000,"timestamp_seconds":1788598725,"priority":1,"record_length":96,"hex_timestamp":"000001a070caa988"} 
[2026-09-05 14:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:30: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-09-05 14: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":184,"data_length":795,"current_offset":136} 
[2026-09-05 14:30:03] 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-09-05 14: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-09-05 14:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881270784001,"66":27876,"1":206,"87":10496,"24":42,"16":399805457473994752,"45":9091289929956749312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,87,24,16,45]} 
[2026-09-05 14:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881270784001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:30:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399805457473994752,"km_value":399805457473994.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091289929956749312,"description":"Unknown IO ID 45"} 
[2026-09-05 14:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881270784001,"power":27876,"imei":206,"unknown_87":10496,"ignition":42,"odometer":null,"unknown_45":9091289929956749312}} 
[2026-09-05 14:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":171597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:30:03] local.INFO: GPS data processed {"connection_id":171597,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:30:03] local.INFO: Acknowledgment sent {"connection_id":171597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:30:06] local.INFO: TCP Data received {"connection_id":171597,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070cac8c8012d7e748006092d28001800582f..."} 
[2026-09-05 14:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070cac8c8012d7e748006092d28001800582f..."} 
[2026-09-05 14:30:06] local.INFO: Processing buffer {"connection_id":171597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070cac8c8012d7e748006092d28001800582f..."} 
[2026-09-05 14:30:06] local.INFO: Packet analysis {"connection_id":171597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ca"} 
[2026-09-05 14:30:06] local.INFO: Extracted packet for processing {"connection_id":171597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ca"} 
[2026-09-05 14:30:06] local.INFO: GPS Element Parsed {"raw_longitude":763262080,"raw_latitude":101264680,"longitude_deg":76.326208,"latitude_deg":10.126468,"altitude":24,"angle":88,"satellites":47,"speed":46,"hex_longitude":"2d7e7480","hex_latitude":"06092d28","is_valid_coordinates":true} 
[2026-09-05 14:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881273600001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399805904150593536,"note":"Value kept but may cause issues"} 
[2026-09-05 14:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9101774872839421952,"note":"Value kept but may cause issues"} 
[2026-09-05 14:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788598733000,"timestamp_ms":1788598733000,"timestamp_seconds":1788598733,"priority":1,"record_length":96,"hex_timestamp":"000001a070cac8c8"} 
[2026-09-05 14:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 14:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881273600001,"66":27930,"1":206,"87":10496,"24":46,"16":399805904150593536,"45":9101774872839421952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,87,24,16,45]} 
[2026-09-05 14:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881273600001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:30:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399805904150593536,"km_value":399805904150593.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9101774872839421952,"description":"Unknown IO ID 45"} 
[2026-09-05 14:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881273600001,"power":27930,"imei":206,"unknown_87":10496,"ignition":46,"odometer":null,"unknown_45":9101774872839421952}} 
[2026-09-05 14:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":171597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:30:06] local.INFO: GPS data processed {"connection_id":171597,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:30:06] local.INFO: Acknowledgment sent {"connection_id":171597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:30:23] local.INFO: TCP Data received {"connection_id":172985,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070ca8e30012d04ad800729b808001e008a27..."} 
[2026-09-05 14:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ca8e30012d04ad800729b808001e008a27..."} 
[2026-09-05 14:30:23] local.INFO: Processing buffer {"connection_id":172985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ca8e30012d04ad800729b808001e008a27..."} 
[2026-09-05 14:30:23] local.INFO: Packet analysis {"connection_id":172985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ca"} 
[2026-09-05 14:30:23] local.INFO: Extracted packet for processing {"connection_id":172985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ca"} 
[2026-09-05 14:30:23] local.INFO: GPS Element Parsed {"raw_longitude":755281280,"raw_latitude":120174600,"longitude_deg":75.528128,"latitude_deg":12.01746,"altitude":30,"angle":138,"satellites":39,"speed":35,"hex_longitude":"2d04ad80","hex_latitude":"0729b808","is_valid_coordinates":true} 
[2026-09-05 14:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881268736001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17824586724802560,"note":"Value kept but may cause issues"} 
[2026-09-05 14:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":329959072215537664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788598718000,"timestamp_ms":1788598718000,"timestamp_seconds":1788598718,"priority":1,"record_length":96,"hex_timestamp":"000001a070ca8e30"} 
[2026-09-05 14:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 14:30: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-09-05 14:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881268736001,"66":13972,"77":206,"83":44288,"24":35,"16":17824586724802560,"45":329959072215537664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,83,24,16,45]} 
[2026-09-05 14:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881268736001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:30:23] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-05 14:30:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 14:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17824586724802560,"km_value":17824586724802.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":329959072215537664,"description":"Unknown IO ID 45"} 
[2026-09-05 14:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881268736001,"power":13972,"unknown_77":206,"unknown_83":44288,"ignition":35,"odometer":null,"unknown_45":329959072215537664}} 
[2026-09-05 14:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":172985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:30:23] local.INFO: GPS data processed {"connection_id":172985,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:30:23] local.INFO: Acknowledgment sent {"connection_id":172985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:30:25] local.INFO: TCP Data received {"connection_id":171596,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070c74e28012c7939c00848c5f00014000129..."} 
[2026-09-05 14:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070c74e28012c7939c00848c5f00014000129..."} 
[2026-09-05 14:30:25] local.INFO: Processing buffer {"connection_id":171596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070c74e28012c7939c00848c5f00014000129..."} 
[2026-09-05 14:30:25] local.INFO: Packet analysis {"connection_id":171596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070c7"} 
[2026-09-05 14:30:25] local.INFO: Extracted packet for processing {"connection_id":171596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070c7"} 
[2026-09-05 14:30:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881140224001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:30:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788598505000,"timestamp_ms":1788598505000,"timestamp_seconds":1788598505,"priority":1,"record_length":96,"hex_timestamp":"000001a070c74e28"} 
[2026-09-05 14:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 14:30:25] 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-09-05 14:30:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881140224001,"66":25462,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881140224001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:30:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:30:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:30:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881140224001,"power":25462,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":171596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769056,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:30:25] local.INFO: GPS data processed {"connection_id":171596,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:30:25] local.INFO: Acknowledgment sent {"connection_id":171596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:30:38] local.INFO: TCP Data received {"connection_id":171597,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070caebf0012d7e990006092cf8001600582e..."} 
[2026-09-05 14:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070caebf0012d7e990006092cf8001600582e..."} 
[2026-09-05 14:30:38] local.INFO: Processing buffer {"connection_id":171597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070caebf0012d7e990006092cf8001600582e..."} 
[2026-09-05 14:30:38] local.INFO: Packet analysis {"connection_id":171597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ca"} 
[2026-09-05 14:30:38] local.INFO: Extracted packet for processing {"connection_id":171597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ca"} 
[2026-09-05 14:30:38] local.INFO: GPS Element Parsed {"raw_longitude":763271424,"raw_latitude":101264632,"longitude_deg":76.3271424,"latitude_deg":10.1264632,"altitude":22,"angle":88,"satellites":46,"speed":44,"hex_longitude":"2d7e9900","hex_latitude":"06092cf8","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881275648001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399806350827192320,"note":"Value kept but may cause issues"} 
[2026-09-05 14:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112048709489469440,"note":"Value kept but may cause issues"} 
[2026-09-05 14:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788598742000,"timestamp_ms":1788598742000,"timestamp_seconds":1788598742,"priority":1,"record_length":96,"hex_timestamp":"000001a070caebf0"} 
[2026-09-05 14:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:30: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-09-05 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 14:30:38] 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-09-05 14: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-09-05 14:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881275648001,"66":27876,"1":206,"87":10496,"24":44,"16":399806350827192320,"45":9112048709489469440},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,87,24,16,45]} 
[2026-09-05 14:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881275648001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:30:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399806350827192320,"km_value":399806350827192.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112048709489469440,"description":"Unknown IO ID 45"} 
[2026-09-05 14:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881275648001,"power":27876,"imei":206,"unknown_87":10496,"ignition":44,"odometer":null,"unknown_45":9112048709489469440}} 
[2026-09-05 14:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":171597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:30:38] local.INFO: GPS data processed {"connection_id":171597,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:30:38] local.INFO: Acknowledgment sent {"connection_id":171597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:30:45] local.INFO: TCP Data received {"connection_id":172987,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:30:45] local.INFO: Processing buffer {"connection_id":172987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:30:45] local.INFO: IMEI packet received {"connection_id":172987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":172987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:30:45] local.INFO: TCP Data received {"connection_id":172987,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:30:45] local.INFO: Processing buffer {"connection_id":172987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:30:45] local.INFO: IMEI packet received {"connection_id":172987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":172987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:30:47] local.INFO: TCP Data received {"connection_id":172987,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:30:47] local.INFO: Processing buffer {"connection_id":172987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:30:47] local.INFO: IMEI packet received {"connection_id":172987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":172987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:30:47] local.INFO: TCP Data received {"connection_id":172986,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172986,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:30:47] local.INFO: Processing buffer {"connection_id":172986,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:30:47] local.INFO: IMEI packet received {"connection_id":172986,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":172986,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:30:49] local.INFO: TCP Data received {"connection_id":172987,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:30:49] local.INFO: Processing buffer {"connection_id":172987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:30:49] local.INFO: IMEI packet received {"connection_id":172987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":172987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:30:52] local.INFO: TCP Data received {"connection_id":172986,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172986,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:30:52] local.INFO: Processing buffer {"connection_id":172986,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:30:52] local.INFO: IMEI packet received {"connection_id":172986,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":172986,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:30:54] local.INFO: TCP Data received {"connection_id":172986,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070cbe5f0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070cbe5f0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:30:54] local.INFO: Processing buffer {"connection_id":172986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070cbe5f0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:30:54] local.INFO: Packet analysis {"connection_id":172986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070cb"} 
[2026-09-05 14:30:54] local.INFO: Extracted packet for processing {"connection_id":172986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070cb"} 
[2026-09-05 14:30:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881217280001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:30:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788598806000,"timestamp_ms":1788598806000,"timestamp_seconds":1788598806,"priority":1,"record_length":96,"hex_timestamp":"000001a070cbe5f0"} 
[2026-09-05 14:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 14:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172986,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172986,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881217280001,"66":25430,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881217280001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:30:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:30:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:30:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881217280001,"power":25430,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":172986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769058,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:30:54] local.INFO: GPS data processed {"connection_id":172986,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:30:54] local.INFO: Acknowledgment sent {"connection_id":172986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:31:11] local.INFO: TCP Data received {"connection_id":171598,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:31:11] local.INFO: Processing buffer {"connection_id":171598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:31:11] local.INFO: IMEI packet received {"connection_id":171598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":171598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:31:13] local.INFO: TCP Data received {"connection_id":171598,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:31:13] local.INFO: Processing buffer {"connection_id":171598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:31:13] local.INFO: IMEI packet received {"connection_id":171598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":171598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:31:14] local.INFO: TCP Data received {"connection_id":171598,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070cb0f18012d7ebec006092c780014005d2e..."} 
[2026-09-05 14:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070cb0f18012d7ebec006092c780014005d2e..."} 
[2026-09-05 14:31:14] local.INFO: Processing buffer {"connection_id":171598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070cb0f18012d7ebec006092c780014005d2e..."} 
[2026-09-05 14:31:14] local.INFO: Packet analysis {"connection_id":171598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070cb"} 
[2026-09-05 14:31:14] local.INFO: Extracted packet for processing {"connection_id":171598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070cb"} 
[2026-09-05 14:31:14] local.INFO: GPS Element Parsed {"raw_longitude":763281088,"raw_latitude":101264504,"longitude_deg":76.3281088,"latitude_deg":10.1264504,"altitude":20,"angle":93,"satellites":46,"speed":40,"hex_longitude":"2d7ebec0","hex_latitude":"06092c78","is_valid_coordinates":true} 
[2026-09-05 14:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881277952001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399806810388692992,"note":"Value kept but may cause issues"} 
[2026-09-05 14:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122322546139396096,"note":"Value kept but may cause issues"} 
[2026-09-05 14:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788598751000,"timestamp_ms":1788598751000,"timestamp_seconds":1788598751,"priority":1,"record_length":96,"hex_timestamp":"000001a070cb0f18"} 
[2026-09-05 14:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:31:14] 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-09-05 14:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 14:31:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:31:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":171598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":171598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":171598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881277952001,"66":27908,"1":206,"87":10496,"24":40,"16":399806810388692992,"45":9122322546139396096},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,87,24,16,45]} 
[2026-09-05 14:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881277952001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:31:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399806810388692992,"km_value":399806810388693.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122322546139396096,"description":"Unknown IO ID 45"} 
[2026-09-05 14:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881277952001,"power":27908,"imei":206,"unknown_87":10496,"ignition":40,"odometer":null,"unknown_45":9122322546139396096}} 
[2026-09-05 14:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":171598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:31:14] local.INFO: GPS data processed {"connection_id":171598,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:31:14] local.INFO: Acknowledgment sent {"connection_id":171598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:31:25] local.INFO: TCP Data received {"connection_id":172986,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070cbe5f0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070cbe5f0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:31:25] local.INFO: Processing buffer {"connection_id":172986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070cbe5f0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:31:25] local.INFO: Packet analysis {"connection_id":172986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070cb"} 
[2026-09-05 14:31:25] local.INFO: Extracted packet for processing {"connection_id":172986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070cb"} 
[2026-09-05 14:31:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881217280001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:31:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788598806000,"timestamp_ms":1788598806000,"timestamp_seconds":1788598806,"priority":1,"record_length":96,"hex_timestamp":"000001a070cbe5f0"} 
[2026-09-05 14:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 14:31:25] 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-09-05 14:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172986,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172986,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881217280001,"66":25430,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881217280001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:31:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:31:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:31:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881217280001,"power":25430,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":172986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769060,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:31:26] local.INFO: GPS data processed {"connection_id":172986,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:31:26] local.INFO: Acknowledgment sent {"connection_id":172986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:31:52] local.INFO: TCP Data received {"connection_id":171900,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171900,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:31:52] local.INFO: Processing buffer {"connection_id":171900,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:31:52] local.INFO: IMEI packet received {"connection_id":171900,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":171900,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:31:56] local.INFO: TCP Data received {"connection_id":174310,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:31:56] local.INFO: Processing buffer {"connection_id":174310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:31:56] local.INFO: IMEI packet received {"connection_id":174310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":174310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:31:57] local.INFO: TCP Data received {"connection_id":171900,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171900,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:31:57] local.INFO: Processing buffer {"connection_id":171900,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:31:57] local.INFO: IMEI packet received {"connection_id":171900,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":171900,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:31:59] local.INFO: TCP Data received {"connection_id":171900,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070cbe5f0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070cbe5f0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:31:59] local.INFO: Processing buffer {"connection_id":171900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070cbe5f0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:31:59] local.INFO: Packet analysis {"connection_id":171900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070cb"} 
[2026-09-05 14:31:59] local.INFO: Extracted packet for processing {"connection_id":171900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070cb"} 
[2026-09-05 14:31:59] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881217280001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:31:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788598806000,"timestamp_ms":1788598806000,"timestamp_seconds":1788598806,"priority":1,"record_length":96,"hex_timestamp":"000001a070cbe5f0"} 
[2026-09-05 14:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 14:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171900,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171900,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881217280001,"66":25430,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881217280001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:31:59] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:31:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:31:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881217280001,"power":25430,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":171900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769061,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:31:59] local.INFO: GPS data processed {"connection_id":171900,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:31:59] local.INFO: Acknowledgment sent {"connection_id":171900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:32:01] local.INFO: TCP Data received {"connection_id":174310,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:32:01] local.INFO: Processing buffer {"connection_id":174310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:32:01] local.INFO: IMEI packet received {"connection_id":174310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":174310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:32:02] local.INFO: TCP Data received {"connection_id":174310,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070cb3240012d7ee50006092ab00015005e2e..."} 
[2026-09-05 14:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070cb3240012d7ee50006092ab00015005e2e..."} 
[2026-09-05 14:32:02] local.INFO: Processing buffer {"connection_id":174310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070cb3240012d7ee50006092ab00015005e2e..."} 
[2026-09-05 14:32:02] local.INFO: Packet analysis {"connection_id":174310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070cb"} 
[2026-09-05 14:32:02] local.INFO: Extracted packet for processing {"connection_id":174310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070cb"} 
[2026-09-05 14:32:02] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":101264048,"longitude_deg":76.329088,"latitude_deg":10.1264048,"altitude":21,"angle":94,"satellites":46,"speed":42,"hex_longitude":"2d7ee500","hex_latitude":"06092ab0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 14:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881280256001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399807278540128256,"note":"Value kept but may cause issues"} 
[2026-09-05 14:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9132948226510190592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788598760000,"timestamp_ms":1788598760000,"timestamp_seconds":1788598760,"priority":1,"record_length":96,"hex_timestamp":"000001a070cb3240"} 
[2026-09-05 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-09-05 14:32: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-09-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 14:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 14:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881280256001,"66":27658,"1":206,"87":10496,"24":42,"16":399807278540128256,"45":9132948226510190592},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,87,24,16,45]} 
[2026-09-05 14:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881280256001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:32:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399807278540128256,"km_value":399807278540128.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9132948226510190592,"description":"Unknown IO ID 45"} 
[2026-09-05 14:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881280256001,"power":27658,"imei":206,"unknown_87":10496,"ignition":42,"odometer":null,"unknown_45":9132948226510190592}} 
[2026-09-05 14:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":174310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:32:02] local.INFO: GPS data processed {"connection_id":174310,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:32:02] local.INFO: Acknowledgment sent {"connection_id":174310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:32:03] local.INFO: TCP Data received {"connection_id":171900,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070cbe5f0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070cbe5f0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:32:03] local.INFO: Processing buffer {"connection_id":171900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070cbe5f0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:32:03] local.INFO: Packet analysis {"connection_id":171900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070cb"} 
[2026-09-05 14:32:03] local.INFO: Extracted packet for processing {"connection_id":171900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070cb"} 
[2026-09-05 14:32:03] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881217280001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:32:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788598806000,"timestamp_ms":1788598806000,"timestamp_seconds":1788598806,"priority":1,"record_length":96,"hex_timestamp":"000001a070cbe5f0"} 
[2026-09-05 14:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14: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":118,"data_length":795,"current_offset":136} 
[2026-09-05 14:32: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-09-05 14: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-09-05 14:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171900,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171900,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881217280001,"66":25430,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881217280001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:32:03] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:32:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:32:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881217280001,"power":25430,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":171900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769063,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:32:04] local.INFO: GPS data processed {"connection_id":171900,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:32:04] local.INFO: Acknowledgment sent {"connection_id":171900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:32:35] local.INFO: TCP Data received {"connection_id":174310,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070cd5908012d7ff90006087a30001000882e..."} 
[2026-09-05 14:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070cd5908012d7ff90006087a30001000882e..."} 
[2026-09-05 14:32:35] local.INFO: Processing buffer {"connection_id":174310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070cd5908012d7ff90006087a30001000882e..."} 
[2026-09-05 14:32:35] local.INFO: Packet analysis {"connection_id":174310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070cd"} 
[2026-09-05 14:32:35] local.INFO: Extracted packet for processing {"connection_id":174310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070cd"} 
[2026-09-05 14:32:35] local.INFO: GPS Element Parsed {"raw_longitude":763361536,"raw_latitude":101218864,"longitude_deg":76.3361536,"latitude_deg":10.1218864,"altitude":16,"angle":136,"satellites":46,"speed":30,"hex_longitude":"2d7ff900","hex_latitude":"06087a30","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881314560001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399811577802391552,"note":"Value kept but may cause issues"} 
[2026-09-05 14:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9215842607141756928,"note":"Value kept but may cause issues"} 
[2026-09-05 14:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788598901000,"timestamp_ms":1788598901000,"timestamp_seconds":1788598901,"priority":1,"record_length":96,"hex_timestamp":"000001a070cd5908"} 
[2026-09-05 14:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:32:35] 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-09-05 14:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 14:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881314560001,"66":27832,"142":206,"87":10496,"24":30,"16":399811577802391552,"45":9215842607141756928},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,87,24,16,45]} 
[2026-09-05 14:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881314560001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:32:35] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-05 14:32:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399811577802391552,"km_value":399811577802391.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9215842607141756928,"description":"Unknown IO ID 45"} 
[2026-09-05 14:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881314560001,"power":27832,"unknown_142":206,"unknown_87":10496,"ignition":30,"odometer":null,"unknown_45":9215842607141756928}} 
[2026-09-05 14:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":174310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:32:35] local.INFO: GPS data processed {"connection_id":174310,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:32:35] local.INFO: Acknowledgment sent {"connection_id":174310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:32:47] local.INFO: TCP Data received {"connection_id":171600,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171600,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:32:47] local.INFO: Processing buffer {"connection_id":171600,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:32:47] local.INFO: IMEI packet received {"connection_id":171600,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":171600,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:32:52] local.INFO: TCP Data received {"connection_id":171600,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171600,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:32:52] local.INFO: Processing buffer {"connection_id":171600,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:32:52] local.INFO: IMEI packet received {"connection_id":171600,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":171600,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:32:54] local.INFO: TCP Data received {"connection_id":171600,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070cbe5f0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070cbe5f0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:32:54] local.INFO: Processing buffer {"connection_id":171600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070cbe5f0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:32:54] local.INFO: Packet analysis {"connection_id":171600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070cb"} 
[2026-09-05 14:32:54] local.INFO: Extracted packet for processing {"connection_id":171600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070cb"} 
[2026-09-05 14:32:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881217280001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:32:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788598806000,"timestamp_ms":1788598806000,"timestamp_seconds":1788598806,"priority":1,"record_length":96,"hex_timestamp":"000001a070cbe5f0"} 
[2026-09-05 14:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 14:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171600,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171600,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881217280001,"66":25430,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881217280001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:32:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:32:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:32:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881217280001,"power":25430,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":171600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769065,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:32:54] local.INFO: GPS data processed {"connection_id":171600,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:32:54] local.INFO: Acknowledgment sent {"connection_id":171600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:32:56] local.INFO: TCP Data received {"connection_id":171902,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:32:56] local.INFO: Processing buffer {"connection_id":171902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:32:56] local.INFO: IMEI packet received {"connection_id":171902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":171902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:32:56] local.INFO: TCP Data received {"connection_id":171902,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:32:56] local.INFO: Processing buffer {"connection_id":171902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:32:56] local.INFO: IMEI packet received {"connection_id":171902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":171902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:33:01] local.INFO: TCP Data received {"connection_id":171902,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:33:01] local.INFO: Processing buffer {"connection_id":171902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:33:01] local.INFO: IMEI packet received {"connection_id":171902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":171902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:33:02] local.INFO: TCP Data received {"connection_id":171902,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070cd5908012d7ff90006087a30001000882e..."} 
[2026-09-05 14:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070cd5908012d7ff90006087a30001000882e..."} 
[2026-09-05 14:33:02] local.INFO: Processing buffer {"connection_id":171902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070cd5908012d7ff90006087a30001000882e..."} 
[2026-09-05 14:33:02] local.INFO: Packet analysis {"connection_id":171902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070cd"} 
[2026-09-05 14:33:02] local.INFO: Extracted packet for processing {"connection_id":171902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070cd"} 
[2026-09-05 14:33:02] local.INFO: GPS Element Parsed {"raw_longitude":763361536,"raw_latitude":101218864,"longitude_deg":76.3361536,"latitude_deg":10.1218864,"altitude":16,"angle":136,"satellites":46,"speed":30,"hex_longitude":"2d7ff900","hex_latitude":"06087a30","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881318656001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399811577802391552,"note":"Value kept but may cause issues"} 
[2026-09-05 14:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9221401737929830400,"note":"Value kept but may cause issues"} 
[2026-09-05 14:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788598901000,"timestamp_ms":1788598901000,"timestamp_seconds":1788598901,"priority":1,"record_length":96,"hex_timestamp":"000001a070cd5908"} 
[2026-09-05 14:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:33: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-09-05 14:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 14:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881318656001,"66":27832,"142":206,"87":10496,"24":30,"16":399811577802391552,"45":9221401737929830400},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,87,24,16,45]} 
[2026-09-05 14:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881318656001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:33:02] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-05 14:33:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399811577802391552,"km_value":399811577802391.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9221401737929830400,"description":"Unknown IO ID 45"} 
[2026-09-05 14:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881318656001,"power":27832,"unknown_142":206,"unknown_87":10496,"ignition":30,"odometer":null,"unknown_45":9221401737929830400}} 
[2026-09-05 14:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":171902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:33:02] local.INFO: GPS data processed {"connection_id":171902,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:33:02] local.INFO: Acknowledgment sent {"connection_id":171902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:33:25] local.INFO: TCP Data received {"connection_id":171600,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070cbe5f0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070cbe5f0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:33:25] local.INFO: Processing buffer {"connection_id":171600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070cbe5f0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:33:25] local.INFO: Packet analysis {"connection_id":171600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070cb"} 
[2026-09-05 14:33:25] local.INFO: Extracted packet for processing {"connection_id":171600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070cb"} 
[2026-09-05 14:33:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:33: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-09-05 14:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881217280001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:33:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:33:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788598806000,"timestamp_ms":1788598806000,"timestamp_seconds":1788598806,"priority":1,"record_length":96,"hex_timestamp":"000001a070cbe5f0"} 
[2026-09-05 14:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:33:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 14:33:25] 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-09-05 14:33: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-09-05 14:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171600,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171600,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:33:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881217280001,"66":25430,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881217280001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:33:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:33:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:33:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881217280001,"power":25430,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":171600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769067,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:33:25] local.INFO: GPS data processed {"connection_id":171600,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:33:25] local.INFO: Acknowledgment sent {"connection_id":171600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:33:34] local.INFO: TCP Data received {"connection_id":171902,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070cd7c30012d800f40060867a0000e007b2e..."} 
[2026-09-05 14:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070cd7c30012d800f40060867a0000e007b2e..."} 
[2026-09-05 14:33:34] local.INFO: Processing buffer {"connection_id":171902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070cd7c30012d800f40060867a0000e007b2e..."} 
[2026-09-05 14:33:34] local.INFO: Packet analysis {"connection_id":171902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070cd"} 
[2026-09-05 14:33:34] local.INFO: Extracted packet for processing {"connection_id":171902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070cd"} 
[2026-09-05 14:33:34] local.INFO: GPS Element Parsed {"raw_longitude":763367232,"raw_latitude":101214112,"longitude_deg":76.3367232,"latitude_deg":10.1214112,"altitude":14,"angle":123,"satellites":46,"speed":30,"hex_longitude":"2d800f40","hex_latitude":"060867a0","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881318656001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399811934284677120,"note":"Value kept but may cause issues"} 
[2026-09-05 14:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9221401737929830400,"note":"Value kept but may cause issues"} 
[2026-09-05 14:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788598910000,"timestamp_ms":1788598910000,"timestamp_seconds":1788598910,"priority":1,"record_length":96,"hex_timestamp":"000001a070cd7c30"} 
[2026-09-05 14:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 14:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881318656001,"66":27908,"142":206,"87":10496,"24":30,"16":399811934284677120,"45":9221401737929830400},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,87,24,16,45]} 
[2026-09-05 14:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881318656001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:33:34] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-05 14:33:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399811934284677120,"km_value":399811934284677.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9221401737929830400,"description":"Unknown IO ID 45"} 
[2026-09-05 14:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881318656001,"power":27908,"unknown_142":206,"unknown_87":10496,"ignition":30,"odometer":null,"unknown_45":9221401737929830400}} 
[2026-09-05 14:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":171902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:33:34] local.INFO: GPS data processed {"connection_id":171902,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:33:34] local.INFO: Acknowledgment sent {"connection_id":171902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:33:48] local.INFO: TCP Data received {"connection_id":171601,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171601,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:33:48] local.INFO: Processing buffer {"connection_id":171601,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:33:48] local.INFO: IMEI packet received {"connection_id":171601,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":171601,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:33:52] local.INFO: TCP Data received {"connection_id":171601,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171601,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:33:52] local.INFO: Processing buffer {"connection_id":171601,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:33:52] local.INFO: IMEI packet received {"connection_id":171601,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":171601,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:33:53] local.INFO: TCP Data received {"connection_id":171601,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070cbe5f0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070cbe5f0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:33:53] local.INFO: Processing buffer {"connection_id":171601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070cbe5f0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:33:53] local.INFO: Packet analysis {"connection_id":171601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070cb"} 
[2026-09-05 14:33:53] local.INFO: Extracted packet for processing {"connection_id":171601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070cb"} 
[2026-09-05 14:33:53] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881217280001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:33:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:33:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788598806000,"timestamp_ms":1788598806000,"timestamp_seconds":1788598806,"priority":1,"record_length":96,"hex_timestamp":"000001a070cbe5f0"} 
[2026-09-05 14:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:33:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 14:33:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:33:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881217280001,"66":25430,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881217280001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:33:53] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:33:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:33:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881217280001,"power":25430,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":171601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769069,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:33:53] local.INFO: GPS data processed {"connection_id":171601,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:33:53] local.INFO: Acknowledgment sent {"connection_id":171601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:33:56] local.INFO: TCP Data received {"connection_id":174311,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:33:56] local.INFO: Processing buffer {"connection_id":174311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:33:56] local.INFO: IMEI packet received {"connection_id":174311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":174311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:34:01] local.INFO: TCP Data received {"connection_id":174311,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:34:01] local.INFO: Processing buffer {"connection_id":174311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:34:01] local.INFO: IMEI packet received {"connection_id":174311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":174311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:34:02] local.INFO: TCP Data received {"connection_id":174311,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070cdb2e0012d802dc0060854f0000c00712c..."} 
[2026-09-05 14:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070cdb2e0012d802dc0060854f0000c00712c..."} 
[2026-09-05 14:34:02] local.INFO: Processing buffer {"connection_id":174311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070cdb2e0012d802dc0060854f0000c00712c..."} 
[2026-09-05 14:34:02] local.INFO: Packet analysis {"connection_id":174311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070cd"} 
[2026-09-05 14:34:02] local.INFO: Extracted packet for processing {"connection_id":174311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070cd"} 
[2026-09-05 14:34:02] local.INFO: GPS Element Parsed {"raw_longitude":763375040,"raw_latitude":101209328,"longitude_deg":76.337504,"latitude_deg":10.1209328,"altitude":12,"angle":113,"satellites":44,"speed":25,"hex_longitude":"2d802dc0","hex_latitude":"060854f0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 14:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881320960001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399812372371341312,"note":"Value kept but may cause issues"} 
[2026-09-05 14:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9219079517549125632,"note":"Value kept but may cause issues"} 
[2026-09-05 14:34:02] 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-09-05 14:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788598924000,"timestamp_ms":1788598924000,"timestamp_seconds":1788598924,"priority":1,"record_length":96,"hex_timestamp":"000001a070cdb2e0"} 
[2026-09-05 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-09-05 14:34: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-09-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 14:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 14:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881320960001,"66":27974,"174":206,"87":10496,"24":25,"16":399812372371341312,"45":-9219079517549125632},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-09-05 14:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881320960001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:34:02] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-09-05 14:34:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399812372371341312,"km_value":399812372371341.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9219079517549125632,"description":"Unknown IO ID 45"} 
[2026-09-05 14:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881320960001,"power":27974,"unknown_174":206,"unknown_87":10496,"ignition":25,"odometer":null,"unknown_45":-9219079517549125632}} 
[2026-09-05 14:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":174311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:34:02] local.INFO: GPS data processed {"connection_id":174311,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:34:02] local.INFO: Acknowledgment sent {"connection_id":174311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:34:25] local.INFO: TCP Data received {"connection_id":171601,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070cbe5f0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070cbe5f0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:34:25] local.INFO: Processing buffer {"connection_id":171601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070cbe5f0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:34:25] local.INFO: Packet analysis {"connection_id":171601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070cb"} 
[2026-09-05 14:34:25] local.INFO: Extracted packet for processing {"connection_id":171601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070cb"} 
[2026-09-05 14:34:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:34: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-09-05 14:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881217280001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:34:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788598806000,"timestamp_ms":1788598806000,"timestamp_seconds":1788598806,"priority":1,"record_length":96,"hex_timestamp":"000001a070cbe5f0"} 
[2026-09-05 14:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 14:34:25] 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-09-05 14:34:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881217280001,"66":25430,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881217280001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:34:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:34:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:34:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881217280001,"power":25430,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":171601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769071,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:34:25] local.INFO: GPS data processed {"connection_id":171601,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:34:25] local.INFO: Acknowledgment sent {"connection_id":171601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:34:34] local.INFO: TCP Data received {"connection_id":174311,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070cf29e0012d811bc00607f840000e009730..."} 
[2026-09-05 14:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070cf29e0012d811bc00607f840000e009730..."} 
[2026-09-05 14:34:34] local.INFO: Processing buffer {"connection_id":174311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070cf29e0012d811bc00607f840000e009730..."} 
[2026-09-05 14:34:34] local.INFO: Packet analysis {"connection_id":174311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070cf"} 
[2026-09-05 14:34:34] local.INFO: Extracted packet for processing {"connection_id":174311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070cf"} 
[2026-09-05 14:34:34] local.INFO: GPS Element Parsed {"raw_longitude":763435968,"raw_latitude":101185600,"longitude_deg":76.3435968,"latitude_deg":10.11856,"altitude":14,"angle":151,"satellites":48,"speed":47,"hex_longitude":"2d811bc0","hex_latitude":"0607f840","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881346816001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399815666611257344,"note":"Value kept but may cause issues"} 
[2026-09-05 14:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9148710773376618496,"note":"Value kept but may cause issues"} 
[2026-09-05 14:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788599020000,"timestamp_ms":1788599020000,"timestamp_seconds":1788599020,"priority":1,"record_length":96,"hex_timestamp":"000001a070cf29e0"} 
[2026-09-05 14:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 14:34: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-09-05 14: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-09-05 14:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881346816001,"66":27887,"173":206,"87":10496,"24":47,"16":399815666611257344,"45":-9148710773376618496},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,87,24,16,45]} 
[2026-09-05 14:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881346816001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:34:34] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-09-05 14:34:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399815666611257344,"km_value":399815666611257.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9148710773376618496,"description":"Unknown IO ID 45"} 
[2026-09-05 14:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881346816001,"power":27887,"unknown_173":206,"unknown_87":10496,"ignition":47,"odometer":null,"unknown_45":-9148710773376618496}} 
[2026-09-05 14:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":174311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:34:34] local.INFO: GPS data processed {"connection_id":174311,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:34:34] local.INFO: Acknowledgment sent {"connection_id":174311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:34:47] local.INFO: TCP Data received {"connection_id":171603,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:34:47] local.INFO: Processing buffer {"connection_id":171603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:34:47] local.INFO: IMEI packet received {"connection_id":171603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":171603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:34:52] local.INFO: TCP Data received {"connection_id":171603,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:34:52] local.INFO: Processing buffer {"connection_id":171603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:34:52] local.INFO: IMEI packet received {"connection_id":171603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":171603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:34:54] local.INFO: TCP Data received {"connection_id":171603,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070cbe5f0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070cbe5f0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:34:54] local.INFO: Processing buffer {"connection_id":171603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070cbe5f0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:34:54] local.INFO: Packet analysis {"connection_id":171603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070cb"} 
[2026-09-05 14:34:54] local.INFO: Extracted packet for processing {"connection_id":171603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070cb"} 
[2026-09-05 14:34:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881217280001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:34:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788598806000,"timestamp_ms":1788598806000,"timestamp_seconds":1788598806,"priority":1,"record_length":96,"hex_timestamp":"000001a070cbe5f0"} 
[2026-09-05 14:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 14:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171603,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171603,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881217280001,"66":25430,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881217280001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:34:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:34:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:34:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881217280001,"power":25430,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":171603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769073,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:34:54] local.INFO: GPS data processed {"connection_id":171603,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:34:54] local.INFO: Acknowledgment sent {"connection_id":171603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:34:56] local.INFO: TCP Data received {"connection_id":172988,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:34:56] local.INFO: Processing buffer {"connection_id":172988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:34:56] local.INFO: IMEI packet received {"connection_id":172988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":172988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:35:01] local.INFO: TCP Data received {"connection_id":172988,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:35:01] local.INFO: Processing buffer {"connection_id":172988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:35:01] local.INFO: IMEI packet received {"connection_id":172988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":172988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:35:02] local.INFO: TCP Data received {"connection_id":172988,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070cf4538012d812c800607d9a8000d009830..."} 
[2026-09-05 14:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070cf4538012d812c800607d9a8000d009830..."} 
[2026-09-05 14:35:02] local.INFO: Processing buffer {"connection_id":172988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070cf4538012d812c800607d9a8000d009830..."} 
[2026-09-05 14:35:02] local.INFO: Packet analysis {"connection_id":172988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070cf"} 
[2026-09-05 14:35:02] local.INFO: Extracted packet for processing {"connection_id":172988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070cf"} 
[2026-09-05 14:35:02] local.INFO: GPS Element Parsed {"raw_longitude":763440256,"raw_latitude":101177768,"longitude_deg":76.3440256,"latitude_deg":10.1177768,"altitude":13,"angle":152,"satellites":48,"speed":53,"hex_longitude":"2d812c80","hex_latitude":"0607d9a8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 14:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881349120001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399816096107986944,"note":"Value kept but may cause issues"} 
[2026-09-05 14:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9143503486309613568,"note":"Value kept but may cause issues"} 
[2026-09-05 14:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788599027000,"timestamp_ms":1788599027000,"timestamp_seconds":1788599027,"priority":1,"record_length":96,"hex_timestamp":"000001a070cf4538"} 
[2026-09-05 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-09-05 14:35: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-09-05 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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-05 14:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 14:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881349120001,"66":27908,"173":206,"87":10496,"24":53,"16":399816096107986944,"45":-9143503486309613568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,87,24,16,45]} 
[2026-09-05 14:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881349120001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:35:02] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-09-05 14:35:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399816096107986944,"km_value":399816096107986.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9143503486309613568,"description":"Unknown IO ID 45"} 
[2026-09-05 14:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881349120001,"power":27908,"unknown_173":206,"unknown_87":10496,"ignition":53,"odometer":null,"unknown_45":-9143503486309613568}} 
[2026-09-05 14:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":172988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:35:02] local.INFO: GPS data processed {"connection_id":172988,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:35:02] local.INFO: Acknowledgment sent {"connection_id":172988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:35:26] local.INFO: TCP Data received {"connection_id":171603,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070cbe5f0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070cbe5f0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:35:26] local.INFO: Processing buffer {"connection_id":171603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070cbe5f0012c7939c00848c5f00014000129..."} 
[2026-09-05 14:35:26] local.INFO: Packet analysis {"connection_id":171603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070cb"} 
[2026-09-05 14:35:26] local.INFO: Extracted packet for processing {"connection_id":171603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070cb"} 
[2026-09-05 14:35:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881217280001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:35:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:35:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788598806000,"timestamp_ms":1788598806000,"timestamp_seconds":1788598806,"priority":1,"record_length":96,"hex_timestamp":"000001a070cbe5f0"} 
[2026-09-05 14:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 14:35:26] 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-09-05 14:35:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171603,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171603,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:35:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881217280001,"66":25430,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881217280001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:35:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:35:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:35:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881217280001,"power":25430,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":171603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769075,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:35:26] local.INFO: GPS data processed {"connection_id":171603,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:35:26] local.INFO: Acknowledgment sent {"connection_id":171603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:35:34] local.INFO: TCP Data received {"connection_id":172988,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070cf6090012d813f000607b7d8000d00972f..."} 
[2026-09-05 14:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070cf6090012d813f000607b7d8000d00972f..."} 
[2026-09-05 14:35:34] local.INFO: Processing buffer {"connection_id":172988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070cf6090012d813f000607b7d8000d00972f..."} 
[2026-09-05 14:35:34] local.INFO: Packet analysis {"connection_id":172988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070cf"} 
[2026-09-05 14:35:34] local.INFO: Extracted packet for processing {"connection_id":172988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070cf"} 
[2026-09-05 14:35:34] local.INFO: GPS Element Parsed {"raw_longitude":763444992,"raw_latitude":101169112,"longitude_deg":76.3444992,"latitude_deg":10.1169112,"altitude":13,"angle":151,"satellites":47,"speed":57,"hex_longitude":"2d813f00","hex_latitude":"0607b7d8","is_valid_coordinates":true} 
[2026-09-05 14:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881350912001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399816572849356800,"note":"Value kept but may cause issues"} 
[2026-09-05 14:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9138788780451715072,"note":"Value kept but may cause issues"} 
[2026-09-05 14:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788599034000,"timestamp_ms":1788599034000,"timestamp_seconds":1788599034,"priority":1,"record_length":96,"hex_timestamp":"000001a070cf6090"} 
[2026-09-05 14:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 14:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881350912001,"66":27767,"173":206,"87":10496,"24":57,"16":399816572849356800,"45":-9138788780451715072},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,87,24,16,45]} 
[2026-09-05 14:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881350912001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:35:34] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-09-05 14:35:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399816572849356800,"km_value":399816572849356.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9138788780451715072,"description":"Unknown IO ID 45"} 
[2026-09-05 14:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881350912001,"power":27767,"unknown_173":206,"unknown_87":10496,"ignition":57,"odometer":null,"unknown_45":-9138788780451715072}} 
[2026-09-05 14:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":172988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:35:34] local.INFO: GPS data processed {"connection_id":172988,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:35:34] local.INFO: Acknowledgment sent {"connection_id":172988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:35:47] local.INFO: TCP Data received {"connection_id":174312,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174312,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:35:47] local.INFO: Processing buffer {"connection_id":174312,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:35:47] local.INFO: IMEI packet received {"connection_id":174312,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":174312,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:35:52] local.INFO: TCP Data received {"connection_id":174312,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174312,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:35:52] local.INFO: Processing buffer {"connection_id":174312,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:35:52] local.INFO: IMEI packet received {"connection_id":174312,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":174312,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:35:54] local.INFO: TCP Data received {"connection_id":174312,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070d07db8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d07db8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:35:54] local.INFO: Processing buffer {"connection_id":174312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d07db8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:35:54] local.INFO: Packet analysis {"connection_id":174312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d0"} 
[2026-09-05 14:35:54] local.INFO: Extracted packet for processing {"connection_id":174312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d0"} 
[2026-09-05 14:35:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881294336001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:35:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788599107000,"timestamp_ms":1788599107000,"timestamp_seconds":1788599107,"priority":1,"record_length":96,"hex_timestamp":"000001a070d07db8"} 
[2026-09-05 14:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 14:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174312,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174312,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881294336001,"66":25430,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881294336001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:35:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:35:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:35:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881294336001,"power":25430,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":174312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769077,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:35:54] local.INFO: GPS data processed {"connection_id":174312,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:35:54] local.INFO: Acknowledgment sent {"connection_id":174312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:35:54] local.INFO: TCP Data received {"connection_id":174313,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:35:54] local.INFO: Processing buffer {"connection_id":174313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:35:54] local.INFO: IMEI packet received {"connection_id":174313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":174313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:35:55] local.INFO: TCP Data received {"connection_id":174313,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:35:55] local.INFO: Processing buffer {"connection_id":174313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:35:55] local.INFO: IMEI packet received {"connection_id":174313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":174313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:35:57] local.INFO: TCP Data received {"connection_id":174313,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:35:57] local.INFO: Processing buffer {"connection_id":174313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:35:57] local.INFO: IMEI packet received {"connection_id":174313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":174313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:35:57] local.INFO: TCP Data received {"connection_id":174313,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070d09140012d07ec40072691d0001600c025..."} 
[2026-09-05 14:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d09140012d07ec40072691d0001600c025..."} 
[2026-09-05 14:35:57] local.INFO: Processing buffer {"connection_id":174313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d09140012d07ec40072691d0001600c025..."} 
[2026-09-05 14:35:57] local.INFO: Packet analysis {"connection_id":174313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d0"} 
[2026-09-05 14:35:57] local.INFO: Extracted packet for processing {"connection_id":174313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d0"} 
[2026-09-05 14:35:57] local.INFO: GPS Element Parsed {"raw_longitude":755493952,"raw_latitude":119968208,"longitude_deg":75.5493952,"latitude_deg":11.9968208,"altitude":22,"angle":192,"satellites":37,"speed":49,"hex_longitude":"2d07ec40","hex_latitude":"072691d0","is_valid_coordinates":true} 
[2026-09-05 14:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881372160001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17842342119604224,"note":"Value kept but may cause issues"} 
[2026-09-05 14:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":571746077155981312,"note":"Value kept but may cause issues"} 
[2026-09-05 14:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788599112000,"timestamp_ms":1788599112000,"timestamp_seconds":1788599112,"priority":1,"record_length":96,"hex_timestamp":"000001a070d09140"} 
[2026-09-05 14:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-05 14:35:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:35:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:35:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881372160001,"66":14276,"25":206,"83":44288,"24":49,"16":17842342119604224,"45":571746077155981312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-09-05 14:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881372160001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:35:57] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-05 14:35:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 14:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17842342119604224,"km_value":17842342119604.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":571746077155981312,"description":"Unknown IO ID 45"} 
[2026-09-05 14:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881372160001,"power":14276,"unknown_25":206,"unknown_83":44288,"ignition":49,"odometer":null,"unknown_45":571746077155981312}} 
[2026-09-05 14:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":174313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:35:58] local.INFO: GPS data processed {"connection_id":174313,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:35:58] local.INFO: Acknowledgment sent {"connection_id":174313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:36:01] local.INFO: TCP Data received {"connection_id":174313,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070d0a0e0012d07e64007267ee8001300cc22..."} 
[2026-09-05 14:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d0a0e0012d07e64007267ee8001300cc22..."} 
[2026-09-05 14:36:01] local.INFO: Processing buffer {"connection_id":174313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d0a0e0012d07e64007267ee8001300cc22..."} 
[2026-09-05 14:36:01] local.INFO: Packet analysis {"connection_id":174313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d0"} 
[2026-09-05 14:36:01] local.INFO: Extracted packet for processing {"connection_id":174313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d0"} 
[2026-09-05 14:36:01] local.INFO: GPS Element Parsed {"raw_longitude":755492416,"raw_latitude":119963368,"longitude_deg":75.5492416,"latitude_deg":11.9963368,"altitude":19,"angle":204,"satellites":34,"speed":49,"hex_longitude":"2d07e640","hex_latitude":"07267ee8","is_valid_coordinates":true} 
[2026-09-05 14:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881372672001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17842591227707392,"note":"Value kept but may cause issues"} 
[2026-09-05 14:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":570901652225249280,"note":"Value kept but may cause issues"} 
[2026-09-05 14:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788599116000,"timestamp_ms":1788599116000,"timestamp_seconds":1788599116,"priority":1,"record_length":96,"hex_timestamp":"000001a070d0a0e0"} 
[2026-09-05 14:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-05 14:36:01] 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-09-05 14:36:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881372672001,"66":14211,"25":206,"83":44288,"24":49,"16":17842591227707392,"45":570901652225249280},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-09-05 14:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881372672001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:36:01] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-05 14:36:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 14:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17842591227707392,"km_value":17842591227707.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":570901652225249280,"description":"Unknown IO ID 45"} 
[2026-09-05 14:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881372672001,"power":14211,"unknown_25":206,"unknown_83":44288,"ignition":49,"odometer":null,"unknown_45":570901652225249280}} 
[2026-09-05 14:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":174313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:36:01] local.INFO: GPS data processed {"connection_id":174313,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:36:01] local.INFO: Acknowledgment sent {"connection_id":174313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:36:01] local.INFO: TCP Data received {"connection_id":172989,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:36:01] local.INFO: Processing buffer {"connection_id":172989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:36:01] local.INFO: IMEI packet received {"connection_id":172989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":172989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:36:06] local.INFO: TCP Data received {"connection_id":172989,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:36:06] local.INFO: Processing buffer {"connection_id":172989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:36:06] local.INFO: IMEI packet received {"connection_id":172989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":172989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:36:10] local.INFO: TCP Data received {"connection_id":172989,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070cf7be8012d814e40060796b8000c009e2d..."} 
[2026-09-05 14:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070cf7be8012d814e40060796b8000c009e2d..."} 
[2026-09-05 14:36:10] local.INFO: Processing buffer {"connection_id":172989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070cf7be8012d814e40060796b8000c009e2d..."} 
[2026-09-05 14:36:10] local.INFO: Packet analysis {"connection_id":172989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070cf"} 
[2026-09-05 14:36:10] local.INFO: Extracted packet for processing {"connection_id":172989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070cf"} 
[2026-09-05 14:36:10] local.INFO: GPS Element Parsed {"raw_longitude":763448896,"raw_latitude":101160632,"longitude_deg":76.3448896,"latitude_deg":10.1160632,"altitude":12,"angle":158,"satellites":45,"speed":46,"hex_longitude":"2d814e40","hex_latitude":"060796b8","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881352704001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399817023820922880,"note":"Value kept but may cause issues"} 
[2026-09-05 14:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9133581493384783872,"note":"Value kept but may cause issues"} 
[2026-09-05 14:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788599041000,"timestamp_ms":1788599041000,"timestamp_seconds":1788599041,"priority":1,"record_length":96,"hex_timestamp":"000001a070cf7be8"} 
[2026-09-05 14:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 14:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":172989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":172989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":172989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881352704001,"66":27930,"173":206,"87":10496,"24":46,"16":399817023820922880,"45":-9133581493384783872},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,87,24,16,45]} 
[2026-09-05 14:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881352704001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:36:10] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-09-05 14:36:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399817023820922880,"km_value":399817023820922.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9133581493384783872,"description":"Unknown IO ID 45"} 
[2026-09-05 14:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881352704001,"power":27930,"unknown_173":206,"unknown_87":10496,"ignition":46,"odometer":null,"unknown_45":-9133581493384783872}} 
[2026-09-05 14:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":172989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:36:10] local.INFO: GPS data processed {"connection_id":172989,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:36:10] local.INFO: Acknowledgment sent {"connection_id":172989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:36:12] local.INFO: TCP Data received {"connection_id":172989,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070cfba68012d815e0006077758000b00952f..."} 
[2026-09-05 14:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070cfba68012d815e0006077758000b00952f..."} 
[2026-09-05 14:36:12] local.INFO: Processing buffer {"connection_id":172989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070cfba68012d815e0006077758000b00952f..."} 
[2026-09-05 14:36:12] local.INFO: Packet analysis {"connection_id":172989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070cf"} 
[2026-09-05 14:36:12] local.INFO: Extracted packet for processing {"connection_id":172989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070cf"} 
[2026-09-05 14:36:12] local.INFO: GPS Element Parsed {"raw_longitude":763452928,"raw_latitude":101152600,"longitude_deg":76.3452928,"latitude_deg":10.11526,"altitude":11,"angle":149,"satellites":47,"speed":22,"hex_longitude":"2d815e00","hex_latitude":"06077758","is_valid_coordinates":true} 
[2026-09-05 14:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881354496001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399817461907587072,"note":"Value kept but may cause issues"} 
[2026-09-05 14:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9129288999992117248,"note":"Value kept but may cause issues"} 
[2026-09-05 14:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788599057000,"timestamp_ms":1788599057000,"timestamp_seconds":1788599057,"priority":1,"record_length":96,"hex_timestamp":"000001a070cfba68"} 
[2026-09-05 14:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:36:12] 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-09-05 14:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 14:36:12] 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-09-05 14:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":172989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":172989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":172989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881354496001,"66":27517,"173":206,"87":10496,"24":22,"16":399817461907587072,"45":-9129288999992117248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,87,24,16,45]} 
[2026-09-05 14:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881354496001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:36:12] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-09-05 14:36:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399817461907587072,"km_value":399817461907587.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9129288999992117248,"description":"Unknown IO ID 45"} 
[2026-09-05 14:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881354496001,"power":27517,"unknown_173":206,"unknown_87":10496,"ignition":22,"odometer":null,"unknown_45":-9129288999992117248}} 
[2026-09-05 14:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":172989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:36:12] local.INFO: GPS data processed {"connection_id":172989,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:36:12] local.INFO: Acknowledgment sent {"connection_id":172989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:36:25] local.INFO: TCP Data received {"connection_id":174312,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070d07db8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d07db8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:36:25] local.INFO: Processing buffer {"connection_id":174312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d07db8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:36:25] local.INFO: Packet analysis {"connection_id":174312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d0"} 
[2026-09-05 14:36:25] local.INFO: Extracted packet for processing {"connection_id":174312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d0"} 
[2026-09-05 14:36:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881294336001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:36:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788599107000,"timestamp_ms":1788599107000,"timestamp_seconds":1788599107,"priority":1,"record_length":96,"hex_timestamp":"000001a070d07db8"} 
[2026-09-05 14:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 14:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174312,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174312,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881294336001,"66":25430,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881294336001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:36:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:36:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:36:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881294336001,"power":25430,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":174312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769082,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:36:26] local.INFO: GPS data processed {"connection_id":174312,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:36:26] local.INFO: Acknowledgment sent {"connection_id":174312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:36:44] local.INFO: TCP Data received {"connection_id":172990,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:36:44] local.INFO: Processing buffer {"connection_id":172990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:36:44] local.INFO: IMEI packet received {"connection_id":172990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":172990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:36:45] local.INFO: TCP Data received {"connection_id":172990,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:36:45] local.INFO: Processing buffer {"connection_id":172990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:36:45] local.INFO: IMEI packet received {"connection_id":172990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":172990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:36:45] local.INFO: TCP Data received {"connection_id":172990,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:36:45] local.INFO: Processing buffer {"connection_id":172990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:36:45] local.INFO: IMEI packet received {"connection_id":172990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":172990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:36:46] local.INFO: TCP Data received {"connection_id":172990,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:36:46] local.INFO: Processing buffer {"connection_id":172990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:36:46] local.INFO: IMEI packet received {"connection_id":172990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":172990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:36:47] local.INFO: TCP Data received {"connection_id":171904,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171904,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:36:47] local.INFO: Processing buffer {"connection_id":171904,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:36:47] local.INFO: IMEI packet received {"connection_id":171904,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":171904,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:36:52] local.INFO: TCP Data received {"connection_id":171904,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171904,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:36:52] local.INFO: Processing buffer {"connection_id":171904,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:36:52] local.INFO: IMEI packet received {"connection_id":171904,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":171904,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:36:54] local.INFO: TCP Data received {"connection_id":171904,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070d07db8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d07db8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:36:54] local.INFO: Processing buffer {"connection_id":171904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d07db8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:36:54] local.INFO: Packet analysis {"connection_id":171904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d0"} 
[2026-09-05 14:36:54] local.INFO: Extracted packet for processing {"connection_id":171904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d0"} 
[2026-09-05 14:36:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881294336001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:36:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788599107000,"timestamp_ms":1788599107000,"timestamp_seconds":1788599107,"priority":1,"record_length":96,"hex_timestamp":"000001a070d07db8"} 
[2026-09-05 14:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 14:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171904,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171904,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881294336001,"66":25430,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881294336001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:36:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:36:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:36:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881294336001,"power":25430,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":171904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769083,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:36:54] local.INFO: GPS data processed {"connection_id":171904,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:36:54] local.INFO: Acknowledgment sent {"connection_id":171904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:36:56] local.INFO: TCP Data received {"connection_id":171604,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:36:56] local.INFO: Processing buffer {"connection_id":171604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:36:56] local.INFO: IMEI packet received {"connection_id":171604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":171604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:37:00] local.INFO: TCP Data received {"connection_id":171604,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:37:00] local.INFO: Processing buffer {"connection_id":171604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:37:00] local.INFO: IMEI packet received {"connection_id":171604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":171604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:37:01] local.INFO: TCP Data received {"connection_id":171604,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070cff118012d8172c006075aa0000c008a2f..."} 
[2026-09-05 14:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070cff118012d8172c006075aa0000c008a2f..."} 
[2026-09-05 14:37:01] local.INFO: Processing buffer {"connection_id":171604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070cff118012d8172c006075aa0000c008a2f..."} 
[2026-09-05 14:37:01] local.INFO: Packet analysis {"connection_id":171604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070cf"} 
[2026-09-05 14:37:01] local.INFO: Extracted packet for processing {"connection_id":171604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070cf"} 
[2026-09-05 14:37:01] local.INFO: GPS Element Parsed {"raw_longitude":763458240,"raw_latitude":101145248,"longitude_deg":76.345824,"latitude_deg":10.1145248,"altitude":12,"angle":138,"satellites":47,"speed":19,"hex_longitude":"2d8172c0","hex_latitude":"06075aa0","is_valid_coordinates":true} 
[2026-09-05 14:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881358592001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399817899994251264,"note":"Value kept but may cause issues"} 
[2026-09-05 14:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9124855769110980608,"note":"Value kept but may cause issues"} 
[2026-09-05 14:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788599071000,"timestamp_ms":1788599071000,"timestamp_seconds":1788599071,"priority":1,"record_length":96,"hex_timestamp":"000001a070cff118"} 
[2026-09-05 14:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 14:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881358592001,"66":27767,"173":206,"87":10496,"24":19,"16":399817899994251264,"45":-9124855769110980608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,87,24,16,45]} 
[2026-09-05 14:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881358592001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:37:01] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-09-05 14:37:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399817899994251264,"km_value":399817899994251.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9124855769110980608,"description":"Unknown IO ID 45"} 
[2026-09-05 14:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881358592001,"power":27767,"unknown_173":206,"unknown_87":10496,"ignition":19,"odometer":null,"unknown_45":-9124855769110980608}} 
[2026-09-05 14:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":171604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:37:01] local.INFO: GPS data processed {"connection_id":171604,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:37:01] local.INFO: Acknowledgment sent {"connection_id":171604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:37:02] local.INFO: TCP Data received {"connection_id":171604,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070d04320012d81778006075510000c00892e..."} 
[2026-09-05 14:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d04320012d81778006075510000c00892e..."} 
[2026-09-05 14:37:02] local.INFO: Processing buffer {"connection_id":171604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d04320012d81778006075510000c00892e..."} 
[2026-09-05 14:37:02] local.INFO: Packet analysis {"connection_id":171604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d0"} 
[2026-09-05 14:37:02] local.INFO: Extracted packet for processing {"connection_id":171604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d0"} 
[2026-09-05 14:37:02] local.INFO: GPS Element Parsed {"raw_longitude":763459456,"raw_latitude":101143824,"longitude_deg":76.3459456,"latitude_deg":10.1143824,"altitude":12,"angle":137,"satellites":46,"speed":0,"hex_longitude":"2d817780","hex_latitude":"06075510","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881362176001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399817990188564480,"note":"Value kept but may cause issues"} 
[2026-09-05 14:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9119015163346116608,"note":"Value kept but may cause issues"} 
[2026-09-05 14:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788599092000,"timestamp_ms":1788599092000,"timestamp_seconds":1788599092,"priority":1,"record_length":96,"hex_timestamp":"000001a070d04320"} 
[2026-09-05 14:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:37: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-09-05 14:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 14:37: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-09-05 14: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-09-05 14:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881362176001,"66":27843,"173":206,"87":10496,"24":0,"16":399817990188564480,"45":-9119015163346116608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,87,24,16,45]} 
[2026-09-05 14:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881362176001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:37:02] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-09-05 14:37:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399817990188564480,"km_value":399817990188564.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9119015163346116608,"description":"Unknown IO ID 45"} 
[2026-09-05 14:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881362176001,"power":27843,"unknown_173":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9119015163346116608}} 
[2026-09-05 14:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":171604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:37:02] local.INFO: GPS data processed {"connection_id":171604,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:37:02] local.INFO: Acknowledgment sent {"connection_id":171604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:37:25] local.INFO: TCP Data received {"connection_id":171904,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070d07db8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d07db8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:37:25] local.INFO: Processing buffer {"connection_id":171904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d07db8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:37:25] local.INFO: Packet analysis {"connection_id":171904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d0"} 
[2026-09-05 14:37:25] local.INFO: Extracted packet for processing {"connection_id":171904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d0"} 
[2026-09-05 14:37:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881294336001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:37:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788599107000,"timestamp_ms":1788599107000,"timestamp_seconds":1788599107,"priority":1,"record_length":96,"hex_timestamp":"000001a070d07db8"} 
[2026-09-05 14:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 14:37:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171904,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171904,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881294336001,"66":25430,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881294336001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:37:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:37:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:37:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881294336001,"power":25430,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":171904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769086,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:37:26] local.INFO: GPS data processed {"connection_id":171904,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:37:26] local.INFO: Acknowledgment sent {"connection_id":171904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:37:33] local.INFO: TCP Data received {"connection_id":171604,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070d09528012d81778006075510000c00892d..."} 
[2026-09-05 14:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d09528012d81778006075510000c00892d..."} 
[2026-09-05 14:37:33] local.INFO: Processing buffer {"connection_id":171604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d09528012d81778006075510000c00892d..."} 
[2026-09-05 14:37:33] local.INFO: Packet analysis {"connection_id":171604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d0"} 
[2026-09-05 14:37:33] local.INFO: Extracted packet for processing {"connection_id":171604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d0"} 
[2026-09-05 14:37:33] local.INFO: GPS Element Parsed {"raw_longitude":763459456,"raw_latitude":101143824,"longitude_deg":76.3459456,"latitude_deg":10.1143824,"altitude":12,"angle":137,"satellites":45,"speed":0,"hex_longitude":"2d817780","hex_latitude":"06075510","is_valid_coordinates":true} 
[2026-09-05 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-09-05 14:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881367552001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399817990188564480,"note":"Value kept but may cause issues"} 
[2026-09-05 14:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9117678157207105536,"note":"Value kept but may cause issues"} 
[2026-09-05 14:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788599113000,"timestamp_ms":1788599113000,"timestamp_seconds":1788599113,"priority":1,"record_length":96,"hex_timestamp":"000001a070d09528"} 
[2026-09-05 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-09-05 14:37: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-09-05 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 14:37: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-09-05 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-09-05 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-09-05 14:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881367552001,"66":27919,"173":206,"87":10496,"24":0,"16":399817990188564480,"45":-9117678157207105536},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,87,24,16,45]} 
[2026-09-05 14:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881367552001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:37:33] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-09-05 14:37:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399817990188564480,"km_value":399817990188564.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9117678157207105536,"description":"Unknown IO ID 45"} 
[2026-09-05 14:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881367552001,"power":27919,"unknown_173":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9117678157207105536}} 
[2026-09-05 14:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":171604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:37:33] local.INFO: GPS data processed {"connection_id":171604,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:37:33] local.INFO: Acknowledgment sent {"connection_id":171604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:37:50] local.INFO: TCP Data received {"connection_id":171605,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:37:50] local.INFO: Processing buffer {"connection_id":171605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:37:50] local.INFO: IMEI packet received {"connection_id":171605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":171605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:37:52] local.INFO: TCP Data received {"connection_id":171605,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:37:52] local.INFO: Processing buffer {"connection_id":171605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:37:52] local.INFO: IMEI packet received {"connection_id":171605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":171605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:37:53] local.INFO: TCP Data received {"connection_id":171605,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070d07db8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d07db8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:37:53] local.INFO: Processing buffer {"connection_id":171605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d07db8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:37:53] local.INFO: Packet analysis {"connection_id":171605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d0"} 
[2026-09-05 14:37:53] local.INFO: Extracted packet for processing {"connection_id":171605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d0"} 
[2026-09-05 14:37:53] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881294336001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:37:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788599107000,"timestamp_ms":1788599107000,"timestamp_seconds":1788599107,"priority":1,"record_length":96,"hex_timestamp":"000001a070d07db8"} 
[2026-09-05 14:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 14:37:53] 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-09-05 14: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-09-05 14:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881294336001,"66":25430,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881294336001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:37:53] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:37:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:37:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881294336001,"power":25430,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":171605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769088,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:37:53] local.INFO: GPS data processed {"connection_id":171605,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:37:53] local.INFO: Acknowledgment sent {"connection_id":171605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:37:56] local.INFO: TCP Data received {"connection_id":174314,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:37:56] local.INFO: Processing buffer {"connection_id":174314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:37:56] local.INFO: IMEI packet received {"connection_id":174314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":174314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:37:57] local.INFO: TCP Data received {"connection_id":174314,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:37:57] local.INFO: Processing buffer {"connection_id":174314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:37:57] local.INFO: IMEI packet received {"connection_id":174314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":174314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:37:58] local.INFO: TCP Data received {"connection_id":174314,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070d0e730012d818480060746a00011008c2d..."} 
[2026-09-05 14:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d0e730012d818480060746a00011008c2d..."} 
[2026-09-05 14:37:58] local.INFO: Processing buffer {"connection_id":174314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d0e730012d818480060746a00011008c2d..."} 
[2026-09-05 14:37:58] local.INFO: Packet analysis {"connection_id":174314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d0"} 
[2026-09-05 14:37:58] local.INFO: Extracted packet for processing {"connection_id":174314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d0"} 
[2026-09-05 14:37:58] local.INFO: GPS Element Parsed {"raw_longitude":763462784,"raw_latitude":101140128,"longitude_deg":76.3462784,"latitude_deg":10.1140128,"altitude":17,"angle":140,"satellites":45,"speed":26,"hex_longitude":"2d818480","hex_latitude":"060746a0","is_valid_coordinates":true} 
[2026-09-05 14:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881372928001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399818230706733056,"note":"Value kept but may cause issues"} 
[2026-09-05 14:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9117678157207105536,"note":"Value kept but may cause issues"} 
[2026-09-05 14:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788599134000,"timestamp_ms":1788599134000,"timestamp_seconds":1788599134,"priority":1,"record_length":96,"hex_timestamp":"000001a070d0e730"} 
[2026-09-05 14:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:37:58] 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-09-05 14:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 14:37:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:37:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881372928001,"66":27800,"173":206,"87":10496,"24":26,"16":399818230706733056,"45":-9117678157207105536},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,87,24,16,45]} 
[2026-09-05 14:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881372928001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:37:58] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-09-05 14:37:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399818230706733056,"km_value":399818230706733.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9117678157207105536,"description":"Unknown IO ID 45"} 
[2026-09-05 14:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881372928001,"power":27800,"unknown_173":206,"unknown_87":10496,"ignition":26,"odometer":null,"unknown_45":-9117678157207105536}} 
[2026-09-05 14:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":174314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:37:58] local.INFO: GPS data processed {"connection_id":174314,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:37:58] local.INFO: Acknowledgment sent {"connection_id":174314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:37:58] local.INFO: TCP Data received {"connection_id":171605,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070d07db8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d07db8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:37:58] local.INFO: Processing buffer {"connection_id":171605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d07db8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:37:58] local.INFO: Packet analysis {"connection_id":171605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d0"} 
[2026-09-05 14:37:58] local.INFO: Extracted packet for processing {"connection_id":171605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d0"} 
[2026-09-05 14:37:58] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881294336001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:37:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788599107000,"timestamp_ms":1788599107000,"timestamp_seconds":1788599107,"priority":1,"record_length":96,"hex_timestamp":"000001a070d07db8"} 
[2026-09-05 14:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 14:37:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:37:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881294336001,"66":25430,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881294336001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:37:58] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:37:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:37:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881294336001,"power":25430,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":171605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769090,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:37:58] local.INFO: GPS data processed {"connection_id":171605,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:37:58] local.INFO: Acknowledgment sent {"connection_id":171605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:38:29] local.INFO: TCP Data received {"connection_id":174314,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070d119f8012d819d8006072ab80013008b2d..."} 
[2026-09-05 14:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d119f8012d819d8006072ab80013008b2d..."} 
[2026-09-05 14:38:29] local.INFO: Processing buffer {"connection_id":174314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d119f8012d819d8006072ab80013008b2d..."} 
[2026-09-05 14:38:29] local.INFO: Packet analysis {"connection_id":174314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d1"} 
[2026-09-05 14:38:29] local.INFO: Extracted packet for processing {"connection_id":174314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d1"} 
[2026-09-05 14:38:29] local.INFO: GPS Element Parsed {"raw_longitude":763469184,"raw_latitude":101132984,"longitude_deg":76.3469184,"latitude_deg":10.1132984,"altitude":19,"angle":139,"satellites":45,"speed":34,"hex_longitude":"2d819d80","hex_latitude":"06072ab8","is_valid_coordinates":true} 
[2026-09-05 14:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881378304001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399818690268233728,"note":"Value kept but may cause issues"} 
[2026-09-05 14:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9114018982510813184,"note":"Value kept but may cause issues"} 
[2026-09-05 14:38:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788599147000,"timestamp_ms":1788599147000,"timestamp_seconds":1788599147,"priority":1,"record_length":96,"hex_timestamp":"000001a070d119f8"} 
[2026-09-05 14:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:38:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 14:38:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:38:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":174314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":174314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":174314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:38:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881378304001,"66":27658,"168":206,"87":10496,"24":34,"16":399818690268233728,"45":-9114018982510813184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-09-05 14:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881378304001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:38:29] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-05 14:38:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399818690268233728,"km_value":399818690268233.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9114018982510813184,"description":"Unknown IO ID 45"} 
[2026-09-05 14:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881378304001,"power":27658,"unknown_168":206,"unknown_87":10496,"ignition":34,"odometer":null,"unknown_45":-9114018982510813184}} 
[2026-09-05 14:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":174314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:38:29] local.INFO: GPS data processed {"connection_id":174314,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:38:29] local.INFO: Acknowledgment sent {"connection_id":174314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:38:30] local.INFO: TCP Data received {"connection_id":171605,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070d07db8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d07db8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:38:30] local.INFO: Processing buffer {"connection_id":171605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d07db8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:38:30] local.INFO: Packet analysis {"connection_id":171605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d0"} 
[2026-09-05 14:38:30] local.INFO: Extracted packet for processing {"connection_id":171605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d0"} 
[2026-09-05 14:38:30] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881294336001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:38:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788599107000,"timestamp_ms":1788599107000,"timestamp_seconds":1788599107,"priority":1,"record_length":96,"hex_timestamp":"000001a070d07db8"} 
[2026-09-05 14:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 14:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":171605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":171605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":171605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881294336001,"66":25430,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881294336001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:38:30] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:38:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:38:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881294336001,"power":25430,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":171605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769092,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:38:30] local.INFO: GPS data processed {"connection_id":171605,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:38:30] local.INFO: Acknowledgment sent {"connection_id":171605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:38:47] local.INFO: TCP Data received {"connection_id":171905,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171905,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:38:47] local.INFO: Processing buffer {"connection_id":171905,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:38:47] local.INFO: IMEI packet received {"connection_id":171905,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":171905,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:38:52] local.INFO: TCP Data received {"connection_id":171905,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171905,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:38:52] local.INFO: Processing buffer {"connection_id":171905,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:38:52] local.INFO: IMEI packet received {"connection_id":171905,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":171905,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:38:54] local.INFO: TCP Data received {"connection_id":171905,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070d07db8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d07db8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:38:54] local.INFO: Processing buffer {"connection_id":171905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d07db8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:38:54] local.INFO: Packet analysis {"connection_id":171905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d0"} 
[2026-09-05 14:38:54] local.INFO: Extracted packet for processing {"connection_id":171905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d0"} 
[2026-09-05 14:38:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881294336001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:38:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788599107000,"timestamp_ms":1788599107000,"timestamp_seconds":1788599107,"priority":1,"record_length":96,"hex_timestamp":"000001a070d07db8"} 
[2026-09-05 14:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 14:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171905,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171905,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881294336001,"66":25430,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881294336001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:38:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:38:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:38:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881294336001,"power":25430,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":171905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769093,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:38:54] local.INFO: GPS data processed {"connection_id":171905,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:38:54] local.INFO: Acknowledgment sent {"connection_id":171905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:38:56] local.INFO: TCP Data received {"connection_id":171906,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:38:56] local.INFO: Processing buffer {"connection_id":171906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:38:56] local.INFO: IMEI packet received {"connection_id":171906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":171906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:39:00] local.INFO: TCP Data received {"connection_id":171906,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:39:00] local.INFO: Processing buffer {"connection_id":171906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:39:00] local.INFO: IMEI packet received {"connection_id":171906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":171906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:39:02] local.INFO: TCP Data received {"connection_id":171906,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070d2d360012d825a000606e970000e003a2d..."} 
[2026-09-05 14:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d2d360012d825a000606e970000e003a2d..."} 
[2026-09-05 14:39:02] local.INFO: Processing buffer {"connection_id":171906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d2d360012d825a000606e970000e003a2d..."} 
[2026-09-05 14:39:02] local.INFO: Packet analysis {"connection_id":171906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d2"} 
[2026-09-05 14:39:02] local.INFO: Extracted packet for processing {"connection_id":171906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d2"} 
[2026-09-05 14:39:02] local.INFO: GPS Element Parsed {"raw_longitude":763517440,"raw_latitude":101116272,"longitude_deg":76.351744,"latitude_deg":10.1116272,"altitude":14,"angle":58,"satellites":45,"speed":12,"hex_longitude":"2d825a00","hex_latitude":"0606e970","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881405184001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399821670975537152,"note":"Value kept but may cause issues"} 
[2026-09-05 14:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9058357305873057792,"note":"Value kept but may cause issues"} 
[2026-09-05 14:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788599260000,"timestamp_ms":1788599260000,"timestamp_seconds":1788599260,"priority":1,"record_length":96,"hex_timestamp":"000001a070d2d360"} 
[2026-09-05 14:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:39: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-09-05 14: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 14:39: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-09-05 14: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-09-05 14:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881405184001,"66":27930,"243":206,"87":10496,"24":12,"16":399821670975537152,"45":-9058357305873057792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,87,24,16,45]} 
[2026-09-05 14:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881405184001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:39:02] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-05 14:39:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399821670975537152,"km_value":399821670975537.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9058357305873057792,"description":"Unknown IO ID 45"} 
[2026-09-05 14:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881405184001,"power":27930,"unknown_243":206,"unknown_87":10496,"ignition":12,"odometer":null,"unknown_45":-9058357305873057792}} 
[2026-09-05 14:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":171906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:39:02] local.INFO: GPS data processed {"connection_id":171906,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:39:02] local.INFO: Acknowledgment sent {"connection_id":171906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:39:25] local.INFO: TCP Data received {"connection_id":171905,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070d07db8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d07db8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:39:25] local.INFO: Processing buffer {"connection_id":171905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d07db8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:39:25] local.INFO: Packet analysis {"connection_id":171905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d0"} 
[2026-09-05 14:39:25] local.INFO: Extracted packet for processing {"connection_id":171905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d0"} 
[2026-09-05 14:39:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881294336001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:39:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788599107000,"timestamp_ms":1788599107000,"timestamp_seconds":1788599107,"priority":1,"record_length":96,"hex_timestamp":"000001a070d07db8"} 
[2026-09-05 14:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 14:39:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:39:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171905,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171905,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881294336001,"66":25430,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881294336001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:39:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:39:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:39:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881294336001,"power":25430,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":171905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769095,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:39:26] local.INFO: GPS data processed {"connection_id":171905,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:39:26] local.INFO: Acknowledgment sent {"connection_id":171905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:39:32] local.INFO: TCP Data received {"connection_id":171906,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070d32568012d8273000606f930000f003b2e..."} 
[2026-09-05 14:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d32568012d8273000606f930000f003b2e..."} 
[2026-09-05 14:39:32] local.INFO: Processing buffer {"connection_id":171906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d32568012d8273000606f930000f003b2e..."} 
[2026-09-05 14:39:32] local.INFO: Packet analysis {"connection_id":171906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d3"} 
[2026-09-05 14:39:32] local.INFO: Extracted packet for processing {"connection_id":171906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d3"} 
[2026-09-05 14:39:32] local.INFO: GPS Element Parsed {"raw_longitude":763523840,"raw_latitude":101120304,"longitude_deg":76.352384,"latitude_deg":10.1120304,"altitude":15,"angle":59,"satellites":46,"speed":18,"hex_longitude":"2d827300","hex_latitude":"0606f930","is_valid_coordinates":true} 
[2026-09-05 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-09-05 14:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881410560001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399822036047757312,"note":"Value kept but may cause issues"} 
[2026-09-05 14:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9053924074989195264,"note":"Value kept but may cause issues"} 
[2026-09-05 14:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788599281000,"timestamp_ms":1788599281000,"timestamp_seconds":1788599281,"priority":1,"record_length":96,"hex_timestamp":"000001a070d32568"} 
[2026-09-05 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-09-05 14:39: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-09-05 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 14:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 14:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881410560001,"66":27713,"243":206,"87":10496,"24":18,"16":399822036047757312,"45":-9053924074989195264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,87,24,16,45]} 
[2026-09-05 14:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881410560001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:39:32] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-05 14:39:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399822036047757312,"km_value":399822036047757.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9053924074989195264,"description":"Unknown IO ID 45"} 
[2026-09-05 14:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881410560001,"power":27713,"unknown_243":206,"unknown_87":10496,"ignition":18,"odometer":null,"unknown_45":-9053924074989195264}} 
[2026-09-05 14:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":171906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:39:32] local.INFO: GPS data processed {"connection_id":171906,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:39:32] local.INFO: Acknowledgment sent {"connection_id":171906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:39:52] local.INFO: TCP Data received {"connection_id":171907,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171907,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:39:52] local.INFO: Processing buffer {"connection_id":171907,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:39:52] local.INFO: IMEI packet received {"connection_id":171907,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":171907,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:39:56] local.INFO: TCP Data received {"connection_id":172992,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:39:56] local.INFO: Processing buffer {"connection_id":172992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:39:56] local.INFO: IMEI packet received {"connection_id":172992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":172992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:39:57] local.INFO: TCP Data received {"connection_id":171907,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171907,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:39:57] local.INFO: Processing buffer {"connection_id":171907,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:39:57] local.INFO: IMEI packet received {"connection_id":171907,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":171907,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:39:58] local.INFO: TCP Data received {"connection_id":171907,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070d07db8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d07db8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:39:58] local.INFO: Processing buffer {"connection_id":171907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d07db8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:39:58] local.INFO: Packet analysis {"connection_id":171907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d0"} 
[2026-09-05 14:39:58] local.INFO: Extracted packet for processing {"connection_id":171907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d0"} 
[2026-09-05 14:39:58] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881294336001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:39:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788599107000,"timestamp_ms":1788599107000,"timestamp_seconds":1788599107,"priority":1,"record_length":96,"hex_timestamp":"000001a070d07db8"} 
[2026-09-05 14:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 14:39:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:39:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171907,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171907,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881294336001,"66":25430,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881294336001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:39:58] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:39:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:39:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881294336001,"power":25430,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":171907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769097,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:39:58] local.INFO: GPS data processed {"connection_id":171907,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:39:58] local.INFO: Acknowledgment sent {"connection_id":171907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:40:01] local.INFO: TCP Data received {"connection_id":172992,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:40:01] local.INFO: Processing buffer {"connection_id":172992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:40:01] local.INFO: IMEI packet received {"connection_id":172992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":172992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:40:02] local.INFO: TCP Data received {"connection_id":172992,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070d37770012d828400060703780012003c2c..."} 
[2026-09-05 14:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d37770012d828400060703780012003c2c..."} 
[2026-09-05 14:40:02] local.INFO: Processing buffer {"connection_id":172992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d37770012d828400060703780012003c2c..."} 
[2026-09-05 14:40:02] local.INFO: Packet analysis {"connection_id":172992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d3"} 
[2026-09-05 14:40:02] local.INFO: Extracted packet for processing {"connection_id":172992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d3"} 
[2026-09-05 14:40:02] local.INFO: GPS Element Parsed {"raw_longitude":763528192,"raw_latitude":101122936,"longitude_deg":76.3528192,"latitude_deg":10.1122936,"altitude":18,"angle":60,"satellites":44,"speed":0,"hex_longitude":"2d828400","hex_latitude":"06070378","is_valid_coordinates":true} 
[2026-09-05 14:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881415936001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399822280860893184,"note":"Value kept but may cause issues"} 
[2026-09-05 14:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9046887200570396672,"note":"Value kept but may cause issues"} 
[2026-09-05 14:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788599302000,"timestamp_ms":1788599302000,"timestamp_seconds":1788599302,"priority":1,"record_length":96,"hex_timestamp":"000001a070d37770"} 
[2026-09-05 14:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:40: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-09-05 14:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-05 14:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881415936001,"66":27789,"243":206,"87":10496,"24":0,"16":399822280860893184,"45":-9046887200570396672},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,87,24,16,45]} 
[2026-09-05 14:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881415936001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:40:02] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-05 14:40:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399822280860893184,"km_value":399822280860893.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9046887200570396672,"description":"Unknown IO ID 45"} 
[2026-09-05 14:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881415936001,"power":27789,"unknown_243":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9046887200570396672}} 
[2026-09-05 14:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":172992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:40:02] local.INFO: GPS data processed {"connection_id":172992,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:40:02] local.INFO: Acknowledgment sent {"connection_id":172992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:40:03] local.INFO: TCP Data received {"connection_id":171907,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070d07db8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d07db8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:40:03] local.INFO: Processing buffer {"connection_id":171907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d07db8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:40:03] local.INFO: Packet analysis {"connection_id":171907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d0"} 
[2026-09-05 14:40:03] local.INFO: Extracted packet for processing {"connection_id":171907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d0"} 
[2026-09-05 14:40:03] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 14:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881294336001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:40:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788599107000,"timestamp_ms":1788599107000,"timestamp_seconds":1788599107,"priority":1,"record_length":96,"hex_timestamp":"000001a070d07db8"} 
[2026-09-05 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-09-05 14:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 14:40: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-09-05 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-09-05 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-09-05 14:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171907,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171907,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881294336001,"66":25430,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881294336001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:40:03] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:40:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:40:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881294336001,"power":25430,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":171907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769099,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:40:03] local.INFO: GPS data processed {"connection_id":171907,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:40:03] local.INFO: Acknowledgment sent {"connection_id":171907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:40:33] local.INFO: TCP Data received {"connection_id":172992,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070d3c978012d82968006070ef8001300392c..."} 
[2026-09-05 14:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d3c978012d82968006070ef8001300392c..."} 
[2026-09-05 14:40:33] local.INFO: Processing buffer {"connection_id":172992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d3c978012d82968006070ef8001300392c..."} 
[2026-09-05 14:40:33] local.INFO: Packet analysis {"connection_id":172992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d3"} 
[2026-09-05 14:40:33] local.INFO: Extracted packet for processing {"connection_id":172992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d3"} 
[2026-09-05 14:40:33] local.INFO: GPS Element Parsed {"raw_longitude":763532928,"raw_latitude":101125880,"longitude_deg":76.3532928,"latitude_deg":10.112588,"altitude":19,"angle":57,"satellites":44,"speed":13,"hex_longitude":"2d829680","hex_latitude":"06070ef8","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881421312001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399822547148865536,"note":"Value kept but may cause issues"} 
[2026-09-05 14:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042102125965641728,"note":"Value kept but may cause issues"} 
[2026-09-05 14:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788599323000,"timestamp_ms":1788599323000,"timestamp_seconds":1788599323,"priority":1,"record_length":96,"hex_timestamp":"000001a070d3c978"} 
[2026-09-05 14:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:40: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-09-05 14: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-05 14:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881421312001,"66":27843,"243":206,"87":10496,"24":13,"16":399822547148865536,"45":-9042102125965641728},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,87,24,16,45]} 
[2026-09-05 14:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881421312001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:40:33] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-05 14:40:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399822547148865536,"km_value":399822547148865.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042102125965641728,"description":"Unknown IO ID 45"} 
[2026-09-05 14:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881421312001,"power":27843,"unknown_243":206,"unknown_87":10496,"ignition":13,"odometer":null,"unknown_45":-9042102125965641728}} 
[2026-09-05 14:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":172992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:40:33] local.INFO: GPS data processed {"connection_id":172992,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:40:33] local.INFO: Acknowledgment sent {"connection_id":172992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:40:46] local.INFO: TCP Data received {"connection_id":171908,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171908,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:40:46] local.INFO: Processing buffer {"connection_id":171908,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:40:46] local.INFO: IMEI packet received {"connection_id":171908,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":171908,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:40:47] local.INFO: TCP Data received {"connection_id":171908,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171908,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:40:47] local.INFO: Processing buffer {"connection_id":171908,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:40:47] local.INFO: IMEI packet received {"connection_id":171908,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":171908,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:40:52] local.INFO: TCP Data received {"connection_id":171908,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171908,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:40:52] local.INFO: Processing buffer {"connection_id":171908,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:40:52] local.INFO: IMEI packet received {"connection_id":171908,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":171908,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:40:54] local.INFO: TCP Data received {"connection_id":171908,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070d51580012c7939c00848c5f00014000129..."} 
[2026-09-05 14:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d51580012c7939c00848c5f00014000129..."} 
[2026-09-05 14:40:54] local.INFO: Processing buffer {"connection_id":171908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d51580012c7939c00848c5f00014000129..."} 
[2026-09-05 14:40:54] local.INFO: Packet analysis {"connection_id":171908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d5"} 
[2026-09-05 14:40:54] local.INFO: Extracted packet for processing {"connection_id":171908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d5"} 
[2026-09-05 14:40:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881371392001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:40:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788599408000,"timestamp_ms":1788599408000,"timestamp_seconds":1788599408,"priority":1,"record_length":96,"hex_timestamp":"000001a070d51580"} 
[2026-09-05 14:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 14:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171908,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171908,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881371392001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881371392001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:40:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:40:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:40:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881371392001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":171908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769101,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:40:54] local.INFO: GPS data processed {"connection_id":171908,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:40:54] local.INFO: Acknowledgment sent {"connection_id":171908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:40:56] local.INFO: TCP Data received {"connection_id":171607,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:40:56] local.INFO: Processing buffer {"connection_id":171607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:40:56] local.INFO: IMEI packet received {"connection_id":171607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":171607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:41:01] local.INFO: TCP Data received {"connection_id":171607,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:41:01] local.INFO: Processing buffer {"connection_id":171607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:41:01] local.INFO: IMEI packet received {"connection_id":171607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":171607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:41:02] local.INFO: TCP Data received {"connection_id":171607,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070d3f470012d82a60006071798001300462b..."} 
[2026-09-05 14:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d3f470012d82a60006071798001300462b..."} 
[2026-09-05 14:41:02] local.INFO: Processing buffer {"connection_id":171607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d3f470012d82a60006071798001300462b..."} 
[2026-09-05 14:41:02] local.INFO: Packet analysis {"connection_id":171607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d3"} 
[2026-09-05 14:41:02] local.INFO: Extracted packet for processing {"connection_id":171607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d3"} 
[2026-09-05 14:41:02] local.INFO: GPS Element Parsed {"raw_longitude":763536896,"raw_latitude":101128088,"longitude_deg":76.3536896,"latitude_deg":10.1128088,"altitude":19,"angle":70,"satellites":43,"speed":19,"hex_longitude":"2d82a600","hex_latitude":"06071798","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881426688001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399822766192197632,"note":"Value kept but may cause issues"} 
[2026-09-05 14:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036894838895740928,"note":"Value kept but may cause issues"} 
[2026-09-05 14:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788599334000,"timestamp_ms":1788599334000,"timestamp_seconds":1788599334,"priority":1,"record_length":96,"hex_timestamp":"000001a070d3f470"} 
[2026-09-05 14:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:41: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-09-05 14:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 14:41: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-09-05 14: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-09-05 14:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881426688001,"66":28050,"236":206,"87":10496,"24":19,"16":399822766192197632,"45":-9036894838895740928},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,87,24,16,45]} 
[2026-09-05 14:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881426688001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:41:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-09-05 14:41:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399822766192197632,"km_value":399822766192197.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036894838895740928,"description":"Unknown IO ID 45"} 
[2026-09-05 14:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881426688001,"power":28050,"unknown_236":206,"unknown_87":10496,"ignition":19,"odometer":null,"unknown_45":-9036894838895740928}} 
[2026-09-05 14:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":171607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:41:03] local.INFO: GPS data processed {"connection_id":171607,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:41:03] local.INFO: Acknowledgment sent {"connection_id":171607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:41:25] local.INFO: TCP Data received {"connection_id":171908,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070d51580012c7939c00848c5f00014000129..."} 
[2026-09-05 14:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d51580012c7939c00848c5f00014000129..."} 
[2026-09-05 14:41:25] local.INFO: Processing buffer {"connection_id":171908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d51580012c7939c00848c5f00014000129..."} 
[2026-09-05 14:41:25] local.INFO: Packet analysis {"connection_id":171908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d5"} 
[2026-09-05 14:41:25] local.INFO: Extracted packet for processing {"connection_id":171908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d5"} 
[2026-09-05 14:41:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881371392001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:41:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788599408000,"timestamp_ms":1788599408000,"timestamp_seconds":1788599408,"priority":1,"record_length":96,"hex_timestamp":"000001a070d51580"} 
[2026-09-05 14:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 14:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171908,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171908,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881371392001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881371392001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:41:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:41:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:41:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881371392001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":171908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769103,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:41:26] local.INFO: GPS data processed {"connection_id":171908,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:41:26] local.INFO: Acknowledgment sent {"connection_id":171908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:41:34] local.INFO: TCP Data received {"connection_id":171607,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070d3fc40012d82a9c006071880001300522a..."} 
[2026-09-05 14:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d3fc40012d82a9c006071880001300522a..."} 
[2026-09-05 14:41:34] local.INFO: Processing buffer {"connection_id":171607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d3fc40012d82a9c006071880001300522a..."} 
[2026-09-05 14:41:34] local.INFO: Packet analysis {"connection_id":171607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d3"} 
[2026-09-05 14:41:34] local.INFO: Extracted packet for processing {"connection_id":171607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d3"} 
[2026-09-05 14:41:34] local.INFO: GPS Element Parsed {"raw_longitude":763537856,"raw_latitude":101128320,"longitude_deg":76.3537856,"latitude_deg":10.112832,"altitude":19,"angle":82,"satellites":42,"speed":17,"hex_longitude":"2d82a9c0","hex_latitude":"06071880","is_valid_coordinates":true} 
[2026-09-05 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-09-05 14:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881429504001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399822813436837888,"note":"Value kept but may cause issues"} 
[2026-09-05 14:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9032531976756160512,"note":"Value kept but may cause issues"} 
[2026-09-05 14:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788599336000,"timestamp_ms":1788599336000,"timestamp_seconds":1788599336,"priority":1,"record_length":96,"hex_timestamp":"000001a070d3fc40"} 
[2026-09-05 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-09-05 14:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 14:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 14:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881429504001,"66":27800,"236":206,"87":10496,"24":17,"16":399822813436837888,"45":-9032531976756160512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,87,24,16,45]} 
[2026-09-05 14:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881429504001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:41:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-09-05 14:41:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399822813436837888,"km_value":399822813436837.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9032531976756160512,"description":"Unknown IO ID 45"} 
[2026-09-05 14:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881429504001,"power":27800,"unknown_236":206,"unknown_87":10496,"ignition":17,"odometer":null,"unknown_45":-9032531976756160512}} 
[2026-09-05 14:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":171607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:41:34] local.INFO: GPS data processed {"connection_id":171607,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:41:34] local.INFO: Acknowledgment sent {"connection_id":171607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:41:47] local.INFO: TCP Data received {"connection_id":172993,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:41:47] local.INFO: Processing buffer {"connection_id":172993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:41:47] local.INFO: IMEI packet received {"connection_id":172993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":172993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:41:47] local.INFO: TCP Data received {"connection_id":174317,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174317,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:41:47] local.INFO: Processing buffer {"connection_id":174317,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:41:47] local.INFO: IMEI packet received {"connection_id":174317,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":174317,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:41:48] local.INFO: TCP Data received {"connection_id":172993,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:41:48] local.INFO: Processing buffer {"connection_id":172993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:41:48] local.INFO: IMEI packet received {"connection_id":172993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":172993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:41:50] local.INFO: TCP Data received {"connection_id":172993,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:41:50] local.INFO: Processing buffer {"connection_id":172993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:41:50] local.INFO: IMEI packet received {"connection_id":172993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":172993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:41:51] local.INFO: TCP Data received {"connection_id":172993,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070d5e0a0012d095ac0072458e80013003929..."} 
[2026-09-05 14:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d5e0a0012d095ac0072458e80013003929..."} 
[2026-09-05 14:41:51] local.INFO: Processing buffer {"connection_id":172993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d5e0a0012d095ac0072458e80013003929..."} 
[2026-09-05 14:41:51] local.INFO: Packet analysis {"connection_id":172993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d5"} 
[2026-09-05 14:41:51] local.INFO: Extracted packet for processing {"connection_id":172993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d5"} 
[2026-09-05 14:41:51] local.INFO: GPS Element Parsed {"raw_longitude":755587776,"raw_latitude":119822568,"longitude_deg":75.5587776,"latitude_deg":11.9822568,"altitude":19,"angle":57,"satellites":41,"speed":31,"hex_longitude":"2d095ac0","hex_latitude":"072458e8","is_valid_coordinates":true} 
[2026-09-05 14:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881461248001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17853448905031680,"note":"Value kept but may cause issues"} 
[2026-09-05 14:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":672373381291974656,"note":"Value kept but may cause issues"} 
[2026-09-05 14:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788599460000,"timestamp_ms":1788599460000,"timestamp_seconds":1788599460,"priority":1,"record_length":96,"hex_timestamp":"000001a070d5e0a0"} 
[2026-09-05 14:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-05 14:41:51] 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-09-05 14:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881461248001,"66":14276,"232":206,"83":44288,"24":31,"16":17853448905031680,"45":672373381291974656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-05 14:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881461248001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:41:51] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-05 14:41:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 14:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17853448905031680,"km_value":17853448905031.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":672373381291974656,"description":"Unknown IO ID 45"} 
[2026-09-05 14:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881461248001,"power":14276,"unknown_232":206,"unknown_83":44288,"ignition":31,"odometer":null,"unknown_45":672373381291974656}} 
[2026-09-05 14:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":172993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:41:51] local.INFO: GPS data processed {"connection_id":172993,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:41:51] local.INFO: Acknowledgment sent {"connection_id":172993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:41:52] local.INFO: TCP Data received {"connection_id":174317,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174317,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:41:52] local.INFO: Processing buffer {"connection_id":174317,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:41:52] local.INFO: IMEI packet received {"connection_id":174317,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":174317,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:41:53] local.INFO: TCP Data received {"connection_id":174317,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070d51580012c7939c00848c5f00014000129..."} 
[2026-09-05 14:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d51580012c7939c00848c5f00014000129..."} 
[2026-09-05 14:41:53] local.INFO: Processing buffer {"connection_id":174317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d51580012c7939c00848c5f00014000129..."} 
[2026-09-05 14:41:53] local.INFO: Packet analysis {"connection_id":174317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d5"} 
[2026-09-05 14:41:53] local.INFO: Extracted packet for processing {"connection_id":174317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d5"} 
[2026-09-05 14:41:53] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881371392001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:41:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788599408000,"timestamp_ms":1788599408000,"timestamp_seconds":1788599408,"priority":1,"record_length":96,"hex_timestamp":"000001a070d51580"} 
[2026-09-05 14:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 14:41:53] 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-09-05 14:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174317,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174317,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881371392001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881371392001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:41:53] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:41:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:41:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881371392001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":174317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769106,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:41:53] local.INFO: GPS data processed {"connection_id":174317,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:41:53] local.INFO: Acknowledgment sent {"connection_id":174317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:41:56] local.INFO: TCP Data received {"connection_id":174318,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:41:56] local.INFO: Processing buffer {"connection_id":174318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:41:56] local.INFO: IMEI packet received {"connection_id":174318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":174318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:41:56] local.INFO: TCP Data received {"connection_id":174318,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:41:56] local.INFO: Processing buffer {"connection_id":174318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:41:56] local.INFO: IMEI packet received {"connection_id":174318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":174318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:42:01] local.INFO: TCP Data received {"connection_id":174318,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:42:01] local.INFO: Processing buffer {"connection_id":174318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:42:01] local.INFO: IMEI packet received {"connection_id":174318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":174318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:42:02] local.INFO: TCP Data received {"connection_id":174318,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070d40028012d82ab8006071880001300612b..."} 
[2026-09-05 14:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d40028012d82ab8006071880001300612b..."} 
[2026-09-05 14:42:02] local.INFO: Processing buffer {"connection_id":174318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d40028012d82ab8006071880001300612b..."} 
[2026-09-05 14:42:02] local.INFO: Packet analysis {"connection_id":174318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d4"} 
[2026-09-05 14:42:02] local.INFO: Extracted packet for processing {"connection_id":174318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d4"} 
[2026-09-05 14:42:02] local.INFO: GPS Element Parsed {"raw_longitude":763538304,"raw_latitude":101128320,"longitude_deg":76.3538304,"latitude_deg":10.112832,"altitude":19,"angle":97,"satellites":43,"speed":13,"hex_longitude":"2d82ab80","hex_latitude":"06071880","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881430016001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399822834911674368,"note":"Value kept but may cause issues"} 
[2026-09-05 14:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9031476445593436160,"note":"Value kept but may cause issues"} 
[2026-09-05 14:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788599337000,"timestamp_ms":1788599337000,"timestamp_seconds":1788599337,"priority":1,"record_length":96,"hex_timestamp":"000001a070d40028"} 
[2026-09-05 14:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:42: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-09-05 14: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 14:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881430016001,"66":27908,"236":206,"87":10496,"24":13,"16":399822834911674368,"45":-9031476445593436160},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,87,24,16,45]} 
[2026-09-05 14:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881430016001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:42:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-09-05 14:42:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399822834911674368,"km_value":399822834911674.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9031476445593436160,"description":"Unknown IO ID 45"} 
[2026-09-05 14:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881430016001,"power":27908,"unknown_236":206,"unknown_87":10496,"ignition":13,"odometer":null,"unknown_45":-9031476445593436160}} 
[2026-09-05 14:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":174318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:42:02] local.INFO: GPS data processed {"connection_id":174318,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:42:02] local.INFO: Acknowledgment sent {"connection_id":174318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:42:22] local.INFO: TCP Data received {"connection_id":172993,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070d66570012d09a28007246560001900782a..."} 
[2026-09-05 14:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d66570012d09a28007246560001900782a..."} 
[2026-09-05 14:42:22] local.INFO: Processing buffer {"connection_id":172993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d66570012d09a28007246560001900782a..."} 
[2026-09-05 14:42:22] local.INFO: Packet analysis {"connection_id":172993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d6"} 
[2026-09-05 14:42:22] local.INFO: Extracted packet for processing {"connection_id":172993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d6"} 
[2026-09-05 14:42:22] local.INFO: GPS Element Parsed {"raw_longitude":755606144,"raw_latitude":119825760,"longitude_deg":75.5606144,"latitude_deg":11.982576,"altitude":25,"angle":120,"satellites":42,"speed":24,"hex_longitude":"2d09a280","hex_latitude":"07246560","is_valid_coordinates":true} 
[2026-09-05 14:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881470208001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17854479697182720,"note":"Value kept but may cause issues"} 
[2026-09-05 14:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":693695110778875904,"note":"Value kept but may cause issues"} 
[2026-09-05 14:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788599494000,"timestamp_ms":1788599494000,"timestamp_seconds":1788599494,"priority":1,"record_length":96,"hex_timestamp":"000001a070d66570"} 
[2026-09-05 14:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-05 14:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6986716675,"note":"Value kept but may cause issues"} 
[2026-09-05 14:42:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2902464512,"note":"Value kept but may cause issues"} 
[2026-09-05 14:42:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 14:42:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":5348377449468928,"note":"Value kept but may cause issues"} 
[2026-09-05 14:42:22] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503872054034432,"note":"Value kept but may cause issues"} 
[2026-09-05 14:42:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1357381838,"corrected_to":0} 
[2026-09-05 14:42:22] local.WARNING: Large IO value detected {"io_id":15,"raw_value":2147560713,"note":"Value kept but may cause issues"} 
[2026-09-05 14:42:22] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485648,"note":"Value kept but may cause issues"} 
[2026-09-05 14:42:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":84734315640333416,"corrected_to":0} 
[2026-09-05 14:42:22] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,232,83,24,241,157,16,110,160,93,45,64,102,42,10,66,62,192,95,43,54,1,240,38,227,112,36,4,113,205,26,15,224,239,55,2,63,7,19,22,206,200],"length":529,"final_offset":659,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1357381838,"validated":0},{"io_id":200,"original":84734315640333416,"validated":0}]} 
[2026-09-05 14:42:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1801557679082373120,"timestamp_seconds":1801557679082373.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 14:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881470208001,"66":14265,"232":206,"83":44288,"24":24,"16":17854479697182720,"45":693695110778875904},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-05 14:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881470208001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:42:22] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-05 14:42:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 14:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17854479697182720,"km_value":17854479697182.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":693695110778875904,"description":"Unknown IO ID 45"} 
[2026-09-05 14:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881470208001,"power":14265,"unknown_232":206,"unknown_83":44288,"ignition":24,"odometer":null,"unknown_45":693695110778875904}} 
[2026-09-05 14:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":172993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:42:22] local.INFO: GPS data processed {"connection_id":172993,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:42:22] local.INFO: Acknowledgment sent {"connection_id":172993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:42:25] local.INFO: TCP Data received {"connection_id":174317,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070d51580012c7939c00848c5f00014000129..."} 
[2026-09-05 14:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d51580012c7939c00848c5f00014000129..."} 
[2026-09-05 14:42:25] local.INFO: Processing buffer {"connection_id":174317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d51580012c7939c00848c5f00014000129..."} 
[2026-09-05 14:42:25] local.INFO: Packet analysis {"connection_id":174317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d5"} 
[2026-09-05 14:42:25] local.INFO: Extracted packet for processing {"connection_id":174317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d5"} 
[2026-09-05 14:42:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881371392001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:42:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788599408000,"timestamp_ms":1788599408000,"timestamp_seconds":1788599408,"priority":1,"record_length":96,"hex_timestamp":"000001a070d51580"} 
[2026-09-05 14:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 14:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174317,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174317,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881371392001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881371392001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:42:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:42:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:42:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881371392001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":174317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769109,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:42:25] local.INFO: GPS data processed {"connection_id":174317,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:42:25] local.INFO: Acknowledgment sent {"connection_id":174317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:42:33] local.INFO: TCP Data received {"connection_id":174318,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070d40410012d82ac4006071818001200732c..."} 
[2026-09-05 14:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d40410012d82ac4006071818001200732c..."} 
[2026-09-05 14:42:33] local.INFO: Processing buffer {"connection_id":174318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d40410012d82ac4006071818001200732c..."} 
[2026-09-05 14:42:33] local.INFO: Packet analysis {"connection_id":174318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d4"} 
[2026-09-05 14:42:33] local.INFO: Extracted packet for processing {"connection_id":174318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d4"} 
[2026-09-05 14:42:33] local.INFO: GPS Element Parsed {"raw_longitude":763538496,"raw_latitude":101128216,"longitude_deg":76.3538496,"latitude_deg":10.1128216,"altitude":18,"angle":115,"satellites":44,"speed":10,"hex_longitude":"2d82ac40","hex_latitude":"06071818","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881430272001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399822847796576256,"note":"Value kept but may cause issues"} 
[2026-09-05 14:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9030983864384192512,"note":"Value kept but may cause issues"} 
[2026-09-05 14:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788599338000,"timestamp_ms":1788599338000,"timestamp_seconds":1788599338,"priority":1,"record_length":96,"hex_timestamp":"000001a070d40410"} 
[2026-09-05 14:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:42: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-09-05 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 14:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881430272001,"66":27908,"236":206,"87":10496,"24":10,"16":399822847796576256,"45":-9030983864384192512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,87,24,16,45]} 
[2026-09-05 14:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881430272001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:42:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-09-05 14:42:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399822847796576256,"km_value":399822847796576.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9030983864384192512,"description":"Unknown IO ID 45"} 
[2026-09-05 14:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881430272001,"power":27908,"unknown_236":206,"unknown_87":10496,"ignition":10,"odometer":null,"unknown_45":-9030983864384192512}} 
[2026-09-05 14:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":174318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:42:33] local.INFO: GPS data processed {"connection_id":174318,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:42:33] local.INFO: Acknowledgment sent {"connection_id":174318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:42:52] local.INFO: TCP Data received {"connection_id":171909,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:42:52] local.INFO: Processing buffer {"connection_id":171909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:42:52] local.INFO: IMEI packet received {"connection_id":171909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":171909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:42:56] local.INFO: TCP Data received {"connection_id":171910,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:42:56] local.INFO: Processing buffer {"connection_id":171910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:42:56] local.INFO: IMEI packet received {"connection_id":171910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":171910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:42:57] local.INFO: TCP Data received {"connection_id":171909,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:42:57] local.INFO: Processing buffer {"connection_id":171909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:42:57] local.INFO: IMEI packet received {"connection_id":171909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":171909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:42:59] local.INFO: TCP Data received {"connection_id":171909,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070d51580012c7939c00848c5f00014000129..."} 
[2026-09-05 14:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d51580012c7939c00848c5f00014000129..."} 
[2026-09-05 14:42:59] local.INFO: Processing buffer {"connection_id":171909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d51580012c7939c00848c5f00014000129..."} 
[2026-09-05 14:42:59] local.INFO: Packet analysis {"connection_id":171909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d5"} 
[2026-09-05 14:42:59] local.INFO: Extracted packet for processing {"connection_id":171909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d5"} 
[2026-09-05 14:42:59] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881371392001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:42:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788599408000,"timestamp_ms":1788599408000,"timestamp_seconds":1788599408,"priority":1,"record_length":96,"hex_timestamp":"000001a070d51580"} 
[2026-09-05 14:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 14:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881371392001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881371392001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:42:59] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:42:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:42:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881371392001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":171909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769111,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:42:59] local.INFO: GPS data processed {"connection_id":171909,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:42:59] local.INFO: Acknowledgment sent {"connection_id":171909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:43:01] local.INFO: TCP Data received {"connection_id":171910,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:43:01] local.INFO: Processing buffer {"connection_id":171910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:43:01] local.INFO: IMEI packet received {"connection_id":171910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":171910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:43:02] local.INFO: TCP Data received {"connection_id":171910,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070d6c330012d82ba40060686e8000d00ad29..."} 
[2026-09-05 14:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d6c330012d82ba40060686e8000d00ad29..."} 
[2026-09-05 14:43:02] local.INFO: Processing buffer {"connection_id":171910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d6c330012d82ba40060686e8000d00ad29..."} 
[2026-09-05 14:43:02] local.INFO: Packet analysis {"connection_id":171910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d6"} 
[2026-09-05 14:43:02] local.INFO: Extracted packet for processing {"connection_id":171910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d6"} 
[2026-09-05 14:43:02] local.INFO: GPS Element Parsed {"raw_longitude":763542080,"raw_latitude":101091048,"longitude_deg":76.354208,"latitude_deg":10.1091048,"altitude":13,"angle":173,"satellites":41,"speed":18,"hex_longitude":"2d82ba40","hex_latitude":"060686e8","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881471232001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399824677452644352,"note":"Value kept but may cause issues"} 
[2026-09-05 14:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027958008391938048,"note":"Value kept but may cause issues"} 
[2026-09-05 14:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788599518000,"timestamp_ms":1788599518000,"timestamp_seconds":1788599518,"priority":1,"record_length":96,"hex_timestamp":"000001a070d6c330"} 
[2026-09-05 14:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:43: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-09-05 14:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 14:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881471232001,"66":27930,"235":206,"87":10496,"24":18,"16":399824677452644352,"45":-9027958008391938048},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,87,24,16,45]} 
[2026-09-05 14:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881471232001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:43:02] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 14:43:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399824677452644352,"km_value":399824677452644.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027958008391938048,"description":"Unknown IO ID 45"} 
[2026-09-05 14:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881471232001,"power":27930,"unknown_235":206,"unknown_87":10496,"ignition":18,"odometer":null,"unknown_45":-9027958008391938048}} 
[2026-09-05 14:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":171910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:43:02] local.INFO: GPS data processed {"connection_id":171910,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:43:02] local.INFO: Acknowledgment sent {"connection_id":171910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:43:03] local.INFO: TCP Data received {"connection_id":171909,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070d51580012c7939c00848c5f00014000129..."} 
[2026-09-05 14:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d51580012c7939c00848c5f00014000129..."} 
[2026-09-05 14:43:03] local.INFO: Processing buffer {"connection_id":171909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d51580012c7939c00848c5f00014000129..."} 
[2026-09-05 14:43:03] local.INFO: Packet analysis {"connection_id":171909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d5"} 
[2026-09-05 14:43:03] local.INFO: Extracted packet for processing {"connection_id":171909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d5"} 
[2026-09-05 14:43:03] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881371392001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:43:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788599408000,"timestamp_ms":1788599408000,"timestamp_seconds":1788599408,"priority":1,"record_length":96,"hex_timestamp":"000001a070d51580"} 
[2026-09-05 14:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14: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":86,"data_length":795,"current_offset":136} 
[2026-09-05 14:43: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-09-05 14: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-09-05 14:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881371392001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881371392001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:43:03] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:43:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:43:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881371392001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":171909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769113,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:43:03] local.INFO: GPS data processed {"connection_id":171909,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:43:03] local.INFO: Acknowledgment sent {"connection_id":171909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:43:15] local.INFO: TCP Data received {"connection_id":174319,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:43:15] local.INFO: Processing buffer {"connection_id":174319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:43:15] local.INFO: IMEI packet received {"connection_id":174319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 14:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":174319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:43:16] local.INFO: TCP Data received {"connection_id":174319,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:43:16] local.INFO: Processing buffer {"connection_id":174319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:43:16] local.INFO: IMEI packet received {"connection_id":174319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 14:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":174319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:43:19] local.INFO: TCP Data received {"connection_id":171911,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:43:19] local.INFO: Processing buffer {"connection_id":171911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:43:19] local.INFO: IMEI packet received {"connection_id":171911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":171911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:43:19] local.INFO: TCP Data received {"connection_id":171911,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:43:19] local.INFO: Processing buffer {"connection_id":171911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:43:19] local.INFO: IMEI packet received {"connection_id":171911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":171911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:43:20] local.INFO: TCP Data received {"connection_id":174319,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:43:20] local.INFO: Processing buffer {"connection_id":174319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:43:20] local.INFO: IMEI packet received {"connection_id":174319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 14:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":174319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:43:21] local.INFO: TCP Data received {"connection_id":171911,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:43:21] local.INFO: Processing buffer {"connection_id":171911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:43:21] local.INFO: IMEI packet received {"connection_id":171911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":171911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:43:21] local.INFO: TCP Data received {"connection_id":174319,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-05 14:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174319,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-05 14:43:21] local.INFO: Processing buffer {"connection_id":174319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-05 14:43:21] local.INFO: Packet analysis {"connection_id":174319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-05 14:43:21] local.INFO: Extracted packet for processing {"connection_id":174319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-05 14:43:21] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 14:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 14:43:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 14:43:21] 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-09-05 14:43:21] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 14:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174319,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174319,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-05 14:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174319,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-05 14:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 14:43:21] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 14:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":174319,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 14:43:21] local.ERROR: GPS data processing failed {"connection_id":174319,"error":"No valid data to process"} 
[2026-09-05 14:43:21] local.INFO: Acknowledgment sent {"connection_id":174319,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 14:43:25] local.INFO: TCP Data received {"connection_id":171911,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:43:25] local.INFO: Processing buffer {"connection_id":171911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:43:25] local.INFO: IMEI packet received {"connection_id":171911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":171911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:43:26] local.INFO: TCP Data received {"connection_id":171911,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070d74800012d097ec00723b948001a00dc29..."} 
[2026-09-05 14:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d74800012d097ec00723b948001a00dc29..."} 
[2026-09-05 14:43:26] local.INFO: Processing buffer {"connection_id":171911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d74800012d097ec00723b948001a00dc29..."} 
[2026-09-05 14:43:26] local.INFO: Packet analysis {"connection_id":171911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d7"} 
[2026-09-05 14:43:26] local.INFO: Extracted packet for processing {"connection_id":171911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d7"} 
[2026-09-05 14:43:26] local.INFO: GPS Element Parsed {"raw_longitude":755596992,"raw_latitude":119781704,"longitude_deg":75.5596992,"latitude_deg":11.9781704,"altitude":26,"angle":220,"satellites":41,"speed":25,"hex_longitude":"2d097ec0","hex_latitude":"0723b948","is_valid_coordinates":true} 
[2026-09-05 14:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881485056001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17857198411481088,"note":"Value kept but may cause issues"} 
[2026-09-05 14:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":684687911512915968,"note":"Value kept but may cause issues"} 
[2026-09-05 14:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788599552000,"timestamp_ms":1788599552000,"timestamp_seconds":1788599552,"priority":1,"record_length":96,"hex_timestamp":"000001a070d74800"} 
[2026-09-05 14:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:43:26] 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-09-05 14:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-05 14:43:26] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2902464512,"note":"Value kept but may cause issues"} 
[2026-09-05 14:43:26] local.WARNING: Large IO value detected {"io_id":24,"raw_value":12666382557708288,"note":"Value kept but may cause issues"} 
[2026-09-05 14:43:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652633849548032,"note":"Value kept but may cause issues"} 
[2026-09-05 14:43:26] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3417833495,"note":"Value kept but may cause issues"} 
[2026-09-05 14:43:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1357381838,"corrected_to":0} 
[2026-09-05 14:43:26] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2147560713,"note":"Value kept but may cause issues"} 
[2026-09-05 14:43:26] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227910992,"note":"Value kept but may cause issues"} 
[2026-09-05 14:43:26] local.WARNING: Large IO value detected {"io_id":253,"raw_value":-4034894271562643677,"note":"Value kept but may cause issues"} 
[2026-09-05 14:43:26] local.WARNING: Large IO value detected {"io_id":238,"raw_value":25292410650668,"note":"Value kept but may cause issues"} 
[2026-09-05 14:43:26] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,231,83,24,241,157,16,112,160,48,45,190,25,40,10,66,44,191,36,64,1,240,169,227,35,4,113,205,9,168,37,239,53,232,2,63,7,23,253,238],"length":528,"final_offset":658,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1357381838,"validated":0}]} 
[2026-09-05 14:43:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1873762607678881792,"timestamp_seconds":1873762607678881.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 14:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881485056001,"66":13928,"231":206,"83":44288,"24":25,"16":17857198411481088,"45":684687911512915968},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,83,24,16,45]} 
[2026-09-05 14:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881485056001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:43:26] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-05 14:43:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-05 14:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17857198411481088,"km_value":17857198411481.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":684687911512915968,"description":"Unknown IO ID 45"} 
[2026-09-05 14:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881485056001,"power":13928,"unknown_231":206,"unknown_83":44288,"ignition":25,"odometer":null,"unknown_45":684687911512915968}} 
[2026-09-05 14:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":171911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:43:26] local.INFO: GPS data processed {"connection_id":171911,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:43:26] local.INFO: Acknowledgment sent {"connection_id":171911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:43:33] local.INFO: TCP Data received {"connection_id":171910,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070d6e658012d82bb4006067a78001000bc28..."} 
[2026-09-05 14:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d6e658012d82bb4006067a78001000bc28..."} 
[2026-09-05 14:43:33] local.INFO: Processing buffer {"connection_id":171910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d6e658012d82bb4006067a78001000bc28..."} 
[2026-09-05 14:43:33] local.INFO: Packet analysis {"connection_id":171910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d6"} 
[2026-09-05 14:43:33] local.INFO: Extracted packet for processing {"connection_id":171910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d6"} 
[2026-09-05 14:43:33] local.INFO: GPS Element Parsed {"raw_longitude":763542336,"raw_latitude":101087864,"longitude_deg":76.3542336,"latitude_deg":10.1087864,"altitude":16,"angle":188,"satellites":40,"speed":7,"hex_longitude":"2d82bb40","hex_latitude":"06067a78","is_valid_coordinates":true} 
[2026-09-05 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-09-05 14:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881476608001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399824832071467008,"note":"Value kept but may cause issues"} 
[2026-09-05 14:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026832108487251968,"note":"Value kept but may cause issues"} 
[2026-09-05 14:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788599527000,"timestamp_ms":1788599527000,"timestamp_seconds":1788599527,"priority":1,"record_length":96,"hex_timestamp":"000001a070d6e658"} 
[2026-09-05 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-09-05 14:43: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-09-05 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 14:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 14:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881476608001,"66":27767,"235":206,"87":10496,"24":7,"16":399824832071467008,"45":-9026832108487251968},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,87,24,16,45]} 
[2026-09-05 14:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881476608001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:43:33] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 14:43:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399824832071467008,"km_value":399824832071467.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026832108487251968,"description":"Unknown IO ID 45"} 
[2026-09-05 14:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881476608001,"power":27767,"unknown_235":206,"unknown_87":10496,"ignition":7,"odometer":null,"unknown_45":-9026832108487251968}} 
[2026-09-05 14:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":171910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:43:33] local.INFO: GPS data processed {"connection_id":171910,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:43:33] local.INFO: Acknowledgment sent {"connection_id":171910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:43:47] local.INFO: TCP Data received {"connection_id":172994,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:43:47] local.INFO: Processing buffer {"connection_id":172994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:43:47] local.INFO: IMEI packet received {"connection_id":172994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":172994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:43:51] local.INFO: TCP Data received {"connection_id":172995,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:43:51] local.INFO: Processing buffer {"connection_id":172995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:43:51] local.INFO: IMEI packet received {"connection_id":172995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":172995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:43:52] local.INFO: TCP Data received {"connection_id":172995,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:43:52] local.INFO: Processing buffer {"connection_id":172995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:43:52] local.INFO: IMEI packet received {"connection_id":172995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":172995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:43:52] local.INFO: TCP Data received {"connection_id":172994,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:43:52] local.INFO: Processing buffer {"connection_id":172994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:43:52] local.INFO: IMEI packet received {"connection_id":172994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":172994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:43:53] local.INFO: TCP Data received {"connection_id":172995,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:43:53] local.INFO: Processing buffer {"connection_id":172995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:43:53] local.INFO: IMEI packet received {"connection_id":172995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":172995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:43:53] local.INFO: TCP Data received {"connection_id":172994,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070d51580012c7939c00848c5f00014000129..."} 
[2026-09-05 14:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d51580012c7939c00848c5f00014000129..."} 
[2026-09-05 14:43:53] local.INFO: Processing buffer {"connection_id":172994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d51580012c7939c00848c5f00014000129..."} 
[2026-09-05 14:43:53] local.INFO: Packet analysis {"connection_id":172994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d5"} 
[2026-09-05 14:43:53] local.INFO: Extracted packet for processing {"connection_id":172994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d5"} 
[2026-09-05 14:43:53] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881371392001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:43:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788599408000,"timestamp_ms":1788599408000,"timestamp_seconds":1788599408,"priority":1,"record_length":96,"hex_timestamp":"000001a070d51580"} 
[2026-09-05 14:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 14:43:53] 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-09-05 14:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881371392001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881371392001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:43:53] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:43:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:43:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881371392001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":172994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769116,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:43:53] local.INFO: GPS data processed {"connection_id":172994,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:43:53] local.INFO: Acknowledgment sent {"connection_id":172994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:43:54] local.INFO: TCP Data received {"connection_id":174319,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-05 14:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174319,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-05 14:43:54] local.INFO: Processing buffer {"connection_id":174319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-05 14:43:54] local.INFO: Packet analysis {"connection_id":174319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-05 14:43:54] local.INFO: Extracted packet for processing {"connection_id":174319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-05 14:43:54] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 14:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 14:43:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 14:43:54] 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-09-05 14:43:54] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 14:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174319,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174319,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-05 14:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174319,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-05 14:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 14:43:54] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 14:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":174319,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 14:43:54] local.ERROR: GPS data processing failed {"connection_id":174319,"error":"No valid data to process"} 
[2026-09-05 14:43:54] local.INFO: Acknowledgment sent {"connection_id":174319,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 14:43:56] local.INFO: TCP Data received {"connection_id":172995,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:43:56] local.INFO: Processing buffer {"connection_id":172995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:43:56] local.INFO: IMEI packet received {"connection_id":172995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":172995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:43:56] local.INFO: TCP Data received {"connection_id":171912,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:43:56] local.INFO: Processing buffer {"connection_id":171912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:43:56] local.INFO: IMEI packet received {"connection_id":171912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":171912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:44:01] local.INFO: TCP Data received {"connection_id":171912,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:44:01] local.INFO: Processing buffer {"connection_id":171912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:44:01] local.INFO: IMEI packet received {"connection_id":171912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":171912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:44:02] local.INFO: TCP Data received {"connection_id":171912,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070d6f5f8012d82bb8006067818001000a02b..."} 
[2026-09-05 14:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d6f5f8012d82bb8006067818001000a02b..."} 
[2026-09-05 14:44:02] local.INFO: Processing buffer {"connection_id":171912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d6f5f8012d82bb8006067818001000a02b..."} 
[2026-09-05 14:44:02] local.INFO: Packet analysis {"connection_id":171912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d6"} 
[2026-09-05 14:44:02] local.INFO: Extracted packet for processing {"connection_id":171912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d6"} 
[2026-09-05 14:44:02] local.INFO: GPS Element Parsed {"raw_longitude":763542400,"raw_latitude":101087256,"longitude_deg":76.35424,"latitude_deg":10.1087256,"altitude":16,"angle":160,"satellites":43,"speed":5,"hex_longitude":"2d82bb80","hex_latitude":"06067818","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881478912001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399824866431205376,"note":"Value kept but may cause issues"} 
[2026-09-05 14:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026550633511356416,"note":"Value kept but may cause issues"} 
[2026-09-05 14:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788599531000,"timestamp_ms":1788599531000,"timestamp_seconds":1788599531,"priority":1,"record_length":96,"hex_timestamp":"000001a070d6f5f8"} 
[2026-09-05 14:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:44: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-09-05 14:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 14:44: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-09-05 14: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-09-05 14:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881478912001,"66":27800,"235":206,"87":10496,"24":5,"16":399824866431205376,"45":-9026550633511356416},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,87,24,16,45]} 
[2026-09-05 14:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881478912001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:44:02] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 14:44:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399824866431205376,"km_value":399824866431205.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026550633511356416,"description":"Unknown IO ID 45"} 
[2026-09-05 14:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881478912001,"power":27800,"unknown_235":206,"unknown_87":10496,"ignition":5,"odometer":null,"unknown_45":-9026550633511356416}} 
[2026-09-05 14:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":171912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:44:02] local.INFO: GPS data processed {"connection_id":171912,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:44:02] local.INFO: Acknowledgment sent {"connection_id":171912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:44:25] local.INFO: TCP Data received {"connection_id":172994,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070d51580012c7939c00848c5f00014000129..."} 
[2026-09-05 14:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d51580012c7939c00848c5f00014000129..."} 
[2026-09-05 14:44:25] local.INFO: Processing buffer {"connection_id":172994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d51580012c7939c00848c5f00014000129..."} 
[2026-09-05 14:44:25] local.INFO: Packet analysis {"connection_id":172994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d5"} 
[2026-09-05 14:44:25] local.INFO: Extracted packet for processing {"connection_id":172994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d5"} 
[2026-09-05 14:44:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881371392001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:44:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:44:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788599408000,"timestamp_ms":1788599408000,"timestamp_seconds":1788599408,"priority":1,"record_length":96,"hex_timestamp":"000001a070d51580"} 
[2026-09-05 14:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:44:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 14:44:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:44:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881371392001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881371392001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:44:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:44:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:44:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881371392001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:44:25] local.INFO: TCP Data received {"connection_id":174319,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070d890200100000000000000000000000000..."} 
[2026-09-05 14:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d890200100000000000000000000000000..."} 
[2026-09-05 14:44:25] local.INFO: Processing buffer {"connection_id":174319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d890200100000000000000000000000000..."} 
[2026-09-05 14:44:25] local.INFO: Packet analysis {"connection_id":174319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d8"} 
[2026-09-05 14:44:25] local.INFO: Extracted packet for processing {"connection_id":174319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d8"} 
[2026-09-05 14:44:25] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 14:44:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 14:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788599636000,"timestamp_ms":1788599636000,"timestamp_seconds":1788599636,"priority":1,"record_length":96,"hex_timestamp":"000001a070d89020"} 
[2026-09-05 14:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:44:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-05 14:44:25] 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-09-05 14: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-09-05 14:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:44:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":174319,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 14:44:25] local.INFO: GPS data processed {"connection_id":174319,"processed":0,"errors":0,"total":1} 
[2026-09-05 14:44:25] local.INFO: Acknowledgment sent {"connection_id":174319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":172994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769118,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:44:25] local.INFO: GPS data processed {"connection_id":172994,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:44:25] local.INFO: Acknowledgment sent {"connection_id":172994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:44:34] local.INFO: TCP Data received {"connection_id":171912,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070d74800012d82bc8006067508001200a121..."} 
[2026-09-05 14:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d74800012d82bc8006067508001200a121..."} 
[2026-09-05 14:44:34] local.INFO: Processing buffer {"connection_id":171912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d74800012d82bc8006067508001200a121..."} 
[2026-09-05 14:44:34] local.INFO: Packet analysis {"connection_id":171912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d7"} 
[2026-09-05 14:44:34] local.INFO: Extracted packet for processing {"connection_id":171912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d7"} 
[2026-09-05 14:44:34] local.INFO: GPS Element Parsed {"raw_longitude":763542656,"raw_latitude":101086472,"longitude_deg":76.3542656,"latitude_deg":10.1086472,"altitude":18,"angle":161,"satellites":33,"speed":0,"hex_longitude":"2d82bc80","hex_latitude":"06067508","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881479936001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399824913675845632,"note":"Value kept but may cause issues"} 
[2026-09-05 14:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026480264767334400,"note":"Value kept but may cause issues"} 
[2026-09-05 14:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788599552000,"timestamp_ms":1788599552000,"timestamp_seconds":1788599552,"priority":1,"record_length":96,"hex_timestamp":"000001a070d74800"} 
[2026-09-05 14:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 14:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881479936001,"66":28093,"235":206,"87":10496,"24":0,"16":399824913675845632,"45":-9026480264767334400},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,87,24,16,45]} 
[2026-09-05 14:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881479936001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:44:34] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 14:44:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399824913675845632,"km_value":399824913675845.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026480264767334400,"description":"Unknown IO ID 45"} 
[2026-09-05 14:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881479936001,"power":28093,"unknown_235":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9026480264767334400}} 
[2026-09-05 14:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":171912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:44:34] local.INFO: GPS data processed {"connection_id":171912,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:44:34] local.INFO: Acknowledgment sent {"connection_id":171912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:44:52] local.INFO: TCP Data received {"connection_id":174320,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174320,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:44:52] local.INFO: Processing buffer {"connection_id":174320,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:44:52] local.INFO: IMEI packet received {"connection_id":174320,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":174320,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:44:56] local.INFO: TCP Data received {"connection_id":171609,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:44:56] local.INFO: Processing buffer {"connection_id":171609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:44:56] local.INFO: IMEI packet received {"connection_id":171609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":171609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:44:56] local.INFO: TCP Data received {"connection_id":174319,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070d8e2280100000000000000000000000000..."} 
[2026-09-05 14:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d8e2280100000000000000000000000000..."} 
[2026-09-05 14:44:56] local.INFO: Processing buffer {"connection_id":174319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d8e2280100000000000000000000000000..."} 
[2026-09-05 14:44:56] local.INFO: Packet analysis {"connection_id":174319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d8"} 
[2026-09-05 14:44:56] local.INFO: Extracted packet for processing {"connection_id":174319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d8"} 
[2026-09-05 14:44:56] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 14:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 14:44:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 14:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788599657000,"timestamp_ms":1788599657000,"timestamp_seconds":1788599657,"priority":1,"record_length":96,"hex_timestamp":"000001a070d8e228"} 
[2026-09-05 14:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2048,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-05 14:44:56] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-09-05 14:44:56] local.WARNING: Large IO value detected {"io_id":9,"raw_value":-6917529025257406462,"note":"Value kept but may cause issues"} 
[2026-09-05 14:44:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2085617664,"corrected_to":0} 
[2026-09-05 14:44:56] local.WARNING: Large IO value detected {"io_id":69,"raw_value":1153252995144615404,"note":"Value kept but may cause issues"} 
[2026-09-05 14:44:56] local.INFO: IO Element Parsed {"io_data_count":24,"io_data_keys":[0,109,87,24,241,157,16,124,9,10,66,183,27,1,240,42,4,113,205,239,2,48,200,69],"length":528,"final_offset":658,"validated_count":24,"validation_warnings":[{"io_id":200,"original":2085617664,"validated":0}]} 
[2026-09-05 14:44:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 14:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":174319,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 14:44:56] local.INFO: GPS data processed {"connection_id":174319,"processed":0,"errors":0,"total":1} 
[2026-09-05 14:44:56] local.INFO: Acknowledgment sent {"connection_id":174319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:44:57] local.INFO: TCP Data received {"connection_id":174320,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174320,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:44:57] local.INFO: Processing buffer {"connection_id":174320,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:44:57] local.INFO: IMEI packet received {"connection_id":174320,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":174320,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:44:59] local.INFO: TCP Data received {"connection_id":174320,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070d51580012c7939c00848c5f00014000129..."} 
[2026-09-05 14:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d51580012c7939c00848c5f00014000129..."} 
[2026-09-05 14:44:59] local.INFO: Processing buffer {"connection_id":174320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d51580012c7939c00848c5f00014000129..."} 
[2026-09-05 14:44:59] local.INFO: Packet analysis {"connection_id":174320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d5"} 
[2026-09-05 14:44:59] local.INFO: Extracted packet for processing {"connection_id":174320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d5"} 
[2026-09-05 14:44:59] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881371392001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:44:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788599408000,"timestamp_ms":1788599408000,"timestamp_seconds":1788599408,"priority":1,"record_length":96,"hex_timestamp":"000001a070d51580"} 
[2026-09-05 14:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 14:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:44:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174320,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174320,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881371392001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881371392001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:44:59] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:44:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:44:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881371392001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":174320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769120,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:44:59] local.INFO: GPS data processed {"connection_id":174320,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:44:59] local.INFO: Acknowledgment sent {"connection_id":174320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:45:01] local.INFO: TCP Data received {"connection_id":171609,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:45:01] local.INFO: Processing buffer {"connection_id":171609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:45:01] local.INFO: IMEI packet received {"connection_id":171609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":171609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:45:02] local.INFO: TCP Data received {"connection_id":171609,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a070d79a08012d82bc8006067508001200a125..."} 
[2026-09-05 14:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d79a08012d82bc8006067508001200a125..."} 
[2026-09-05 14:45:02] local.INFO: Processing buffer {"connection_id":171609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d79a08012d82bc8006067508001200a125..."} 
[2026-09-05 14:45:02] local.INFO: Packet analysis {"connection_id":171609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d7"} 
[2026-09-05 14:45:02] local.INFO: Extracted packet for processing {"connection_id":171609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d7"} 
[2026-09-05 14:45:02] local.INFO: GPS Element Parsed {"raw_longitude":763542656,"raw_latitude":101086472,"longitude_deg":76.3542656,"latitude_deg":10.1086472,"altitude":18,"angle":161,"satellites":37,"speed":0,"hex_longitude":"2d82bc80","hex_latitude":"06067508","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881485312001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399824913675845632,"note":"Value kept but may cause issues"} 
[2026-09-05 14:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026198789790824448,"note":"Value kept but may cause issues"} 
[2026-09-05 14:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788599573000,"timestamp_ms":1788599573000,"timestamp_seconds":1788599573,"priority":1,"record_length":96,"hex_timestamp":"000001a070d79a08"} 
[2026-09-05 14:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:45: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-09-05 14: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-09-05 14:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881485312001,"66":27865,"235":206,"87":10496,"24":0,"16":399824913675845632,"45":-9026198789790824448},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,87,24,16,45]} 
[2026-09-05 14:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881485312001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:45:02] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 14:45:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399824913675845632,"km_value":399824913675845.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026198789790824448,"description":"Unknown IO ID 45"} 
[2026-09-05 14:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881485312001,"power":27865,"unknown_235":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9026198789790824448}} 
[2026-09-05 14:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":171609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:45:02] local.INFO: GPS data processed {"connection_id":171609,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:45:02] local.INFO: Acknowledgment sent {"connection_id":171609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:45:28] local.INFO: TCP Data received {"connection_id":174319,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070d934300100000000000000000000000000..."} 
[2026-09-05 14:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d934300100000000000000000000000000..."} 
[2026-09-05 14:45:28] local.INFO: Processing buffer {"connection_id":174319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d934300100000000000000000000000000..."} 
[2026-09-05 14:45:28] local.INFO: Packet analysis {"connection_id":174319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d9"} 
[2026-09-05 14:45:28] local.INFO: Extracted packet for processing {"connection_id":174319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d9"} 
[2026-09-05 14:45:28] 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-09-05 14:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 14:45:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 14:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788599678000,"timestamp_ms":1788599678000,"timestamp_seconds":1788599678,"priority":1,"record_length":96,"hex_timestamp":"000001a070d93430"} 
[2026-09-05 14:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:45:28] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-05 14:45:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:45:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":174319,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 14:45:28] local.INFO: GPS data processed {"connection_id":174319,"processed":0,"errors":0,"total":1} 
[2026-09-05 14:45:28] local.INFO: Acknowledgment sent {"connection_id":174319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:45:30] local.INFO: TCP Data received {"connection_id":174320,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070d51580012c7939c00848c5f00014000129..."} 
[2026-09-05 14:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d51580012c7939c00848c5f00014000129..."} 
[2026-09-05 14:45:30] local.INFO: Processing buffer {"connection_id":174320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d51580012c7939c00848c5f00014000129..."} 
[2026-09-05 14:45:30] local.INFO: Packet analysis {"connection_id":174320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d5"} 
[2026-09-05 14:45:30] local.INFO: Extracted packet for processing {"connection_id":174320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d5"} 
[2026-09-05 14:45:30] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881371392001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:45:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788599408000,"timestamp_ms":1788599408000,"timestamp_seconds":1788599408,"priority":1,"record_length":96,"hex_timestamp":"000001a070d51580"} 
[2026-09-05 14:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 14:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174320,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174320,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881371392001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881371392001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:45:30] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:45:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:45:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881371392001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":174320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769122,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:45:30] local.INFO: GPS data processed {"connection_id":174320,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:45:30] local.INFO: Acknowledgment sent {"connection_id":174320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:45:33] local.INFO: TCP Data received {"connection_id":171609,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a070d7c8e8012d82bc8006067508001200a124..."} 
[2026-09-05 14:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d7c8e8012d82bc8006067508001200a124..."} 
[2026-09-05 14:45:33] local.INFO: Processing buffer {"connection_id":171609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d7c8e8012d82bc8006067508001200a124..."} 
[2026-09-05 14:45:33] local.INFO: Packet analysis {"connection_id":171609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d7"} 
[2026-09-05 14:45:33] local.INFO: Extracted packet for processing {"connection_id":171609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d7"} 
[2026-09-05 14:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763542656,"raw_latitude":101086472,"longitude_deg":76.3542656,"latitude_deg":10.1086472,"altitude":18,"angle":161,"satellites":36,"speed":0,"hex_longitude":"2d82bc80","hex_latitude":"06067508","is_valid_coordinates":true} 
[2026-09-05 14:45: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-09-05 14:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881490688001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399824913675845632,"note":"Value kept but may cause issues"} 
[2026-09-05 14:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026198789790824448,"note":"Value kept but may cause issues"} 
[2026-09-05 14:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788599585000,"timestamp_ms":1788599585000,"timestamp_seconds":1788599585,"priority":1,"record_length":96,"hex_timestamp":"000001a070d7c8e8"} 
[2026-09-05 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-09-05 14:45: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-09-05 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 14:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 14:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881490688001,"66":27919,"235":206,"87":10496,"24":0,"16":399824913675845632,"45":-9026198789790824448},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,87,24,16,45]} 
[2026-09-05 14:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881490688001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:45:33] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 14:45:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399824913675845632,"km_value":399824913675845.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026198789790824448,"description":"Unknown IO ID 45"} 
[2026-09-05 14:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881490688001,"power":27919,"unknown_235":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9026198789790824448}} 
[2026-09-05 14:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":171609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:45:33] local.INFO: GPS data processed {"connection_id":171609,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:45:33] local.INFO: Acknowledgment sent {"connection_id":171609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:45:47] local.INFO: TCP Data received {"connection_id":171914,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171914,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:45:47] local.INFO: Processing buffer {"connection_id":171914,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:45:47] local.INFO: IMEI packet received {"connection_id":171914,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":171914,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:45:48] local.INFO: TCP Data received {"connection_id":171914,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171914,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:45:48] local.INFO: Processing buffer {"connection_id":171914,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:45:48] local.INFO: IMEI packet received {"connection_id":171914,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":171914,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:45:52] local.INFO: TCP Data received {"connection_id":171914,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171914,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:45:52] local.INFO: Processing buffer {"connection_id":171914,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:45:52] local.INFO: IMEI packet received {"connection_id":171914,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":171914,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:45:54] local.INFO: TCP Data received {"connection_id":171914,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070d9ad48012c7939c00848c5f00014000129..."} 
[2026-09-05 14:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d9ad48012c7939c00848c5f00014000129..."} 
[2026-09-05 14:45:54] local.INFO: Processing buffer {"connection_id":171914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d9ad48012c7939c00848c5f00014000129..."} 
[2026-09-05 14:45:54] local.INFO: Packet analysis {"connection_id":171914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d9"} 
[2026-09-05 14:45:54] local.INFO: Extracted packet for processing {"connection_id":171914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d9"} 
[2026-09-05 14:45:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881448448001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:45:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788599709000,"timestamp_ms":1788599709000,"timestamp_seconds":1788599709,"priority":1,"record_length":96,"hex_timestamp":"000001a070d9ad48"} 
[2026-09-05 14:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171914,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171914,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881448448001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881448448001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:45:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:45:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:45:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881448448001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":171914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769124,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:45:54] local.INFO: GPS data processed {"connection_id":171914,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:45:54] local.INFO: Acknowledgment sent {"connection_id":171914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:45:59] local.INFO: TCP Data received {"connection_id":174319,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070d986380100000000000000000000000000..."} 
[2026-09-05 14:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d986380100000000000000000000000000..."} 
[2026-09-05 14:45:59] local.INFO: Processing buffer {"connection_id":174319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d986380100000000000000000000000000..."} 
[2026-09-05 14:45:59] local.INFO: Packet analysis {"connection_id":174319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d9"} 
[2026-09-05 14:45:59] local.INFO: Extracted packet for processing {"connection_id":174319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d9"} 
[2026-09-05 14:45:59] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 14:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 14:45:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 14:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788599699000,"timestamp_ms":1788599699000,"timestamp_seconds":1788599699,"priority":1,"record_length":96,"hex_timestamp":"000001a070d98638"} 
[2026-09-05 14:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:45:59] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-05 14:45:59] 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-09-05 14:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":174319,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 14:45:59] local.INFO: GPS data processed {"connection_id":174319,"processed":0,"errors":0,"total":1} 
[2026-09-05 14:45:59] local.INFO: Acknowledgment sent {"connection_id":174319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:46:01] local.INFO: TCP Data received {"connection_id":174321,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:46:01] local.INFO: Processing buffer {"connection_id":174321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:46:01] local.INFO: IMEI packet received {"connection_id":174321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":174321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:46:06] local.INFO: TCP Data received {"connection_id":174321,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:46:06] local.INFO: Processing buffer {"connection_id":174321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:46:06] local.INFO: IMEI packet received {"connection_id":174321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":174321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:46:07] local.INFO: TCP Data received {"connection_id":174321,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070d7c8e8012d82bc8006067508001200a124..."} 
[2026-09-05 14:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d7c8e8012d82bc8006067508001200a124..."} 
[2026-09-05 14:46:07] local.INFO: Processing buffer {"connection_id":174321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d7c8e8012d82bc8006067508001200a124..."} 
[2026-09-05 14:46:07] local.INFO: Packet analysis {"connection_id":174321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d7"} 
[2026-09-05 14:46:07] local.INFO: Extracted packet for processing {"connection_id":174321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d7"} 
[2026-09-05 14:46:07] local.INFO: GPS Element Parsed {"raw_longitude":763542656,"raw_latitude":101086472,"longitude_deg":76.3542656,"latitude_deg":10.1086472,"altitude":18,"angle":161,"satellites":36,"speed":0,"hex_longitude":"2d82bc80","hex_latitude":"06067508","is_valid_coordinates":true} 
[2026-09-05 14:46: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-09-05 14:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881490688001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399824913675845632,"note":"Value kept but may cause issues"} 
[2026-09-05 14:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026198789790824448,"note":"Value kept but may cause issues"} 
[2026-09-05 14:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788599585000,"timestamp_ms":1788599585000,"timestamp_seconds":1788599585,"priority":1,"record_length":96,"hex_timestamp":"000001a070d7c8e8"} 
[2026-09-05 14:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:46: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-09-05 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 14:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881490688001,"66":27919,"235":206,"87":10496,"24":0,"16":399824913675845632,"45":-9026198789790824448},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,87,24,16,45]} 
[2026-09-05 14:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881490688001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:46:07] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 14:46:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399824913675845632,"km_value":399824913675845.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026198789790824448,"description":"Unknown IO ID 45"} 
[2026-09-05 14:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881490688001,"power":27919,"unknown_235":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9026198789790824448}} 
[2026-09-05 14:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":174321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:46:07] local.INFO: GPS data processed {"connection_id":174321,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:46:07] local.INFO: Acknowledgment sent {"connection_id":174321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:46:25] local.INFO: TCP Data received {"connection_id":171914,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070d9ad48012c7939c00848c5f00014000129..."} 
[2026-09-05 14:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d9ad48012c7939c00848c5f00014000129..."} 
[2026-09-05 14:46:25] local.INFO: Processing buffer {"connection_id":171914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d9ad48012c7939c00848c5f00014000129..."} 
[2026-09-05 14:46:25] local.INFO: Packet analysis {"connection_id":171914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d9"} 
[2026-09-05 14:46:25] local.INFO: Extracted packet for processing {"connection_id":171914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d9"} 
[2026-09-05 14:46:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881448448001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:46:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788599709000,"timestamp_ms":1788599709000,"timestamp_seconds":1788599709,"priority":1,"record_length":96,"hex_timestamp":"000001a070d9ad48"} 
[2026-09-05 14:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:46:25] 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-09-05 14:46:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171914,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171914,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881448448001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881448448001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:46:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:46:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:46:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881448448001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":171914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769126,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:46:25] local.INFO: GPS data processed {"connection_id":171914,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:46:25] local.INFO: Acknowledgment sent {"connection_id":171914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:46:31] local.INFO: TCP Data received {"connection_id":174319,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070d9d8400100000000000000000000000000..."} 
[2026-09-05 14:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d9d8400100000000000000000000000000..."} 
[2026-09-05 14:46:31] local.INFO: Processing buffer {"connection_id":174319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d9d8400100000000000000000000000000..."} 
[2026-09-05 14:46:31] local.INFO: Packet analysis {"connection_id":174319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d9"} 
[2026-09-05 14:46:31] local.INFO: Extracted packet for processing {"connection_id":174319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d9"} 
[2026-09-05 14:46:31] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 14:46:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 14:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788599720000,"timestamp_ms":1788599720000,"timestamp_seconds":1788599720,"priority":1,"record_length":96,"hex_timestamp":"000001a070d9d840"} 
[2026-09-05 14:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-05 14:46: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-09-05 14: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-09-05 14:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":174319,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 14:46:31] local.INFO: GPS data processed {"connection_id":174319,"processed":0,"errors":0,"total":1} 
[2026-09-05 14:46:31] local.INFO: Acknowledgment sent {"connection_id":174319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:46:38] local.INFO: TCP Data received {"connection_id":174321,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070d7c8e8012d82bc8006067508001200a124..."} 
[2026-09-05 14:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d7c8e8012d82bc8006067508001200a124..."} 
[2026-09-05 14:46:38] local.INFO: Processing buffer {"connection_id":174321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d7c8e8012d82bc8006067508001200a124..."} 
[2026-09-05 14:46:38] local.INFO: Packet analysis {"connection_id":174321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d7"} 
[2026-09-05 14:46:38] local.INFO: Extracted packet for processing {"connection_id":174321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d7"} 
[2026-09-05 14:46:38] local.INFO: GPS Element Parsed {"raw_longitude":763542656,"raw_latitude":101086472,"longitude_deg":76.3542656,"latitude_deg":10.1086472,"altitude":18,"angle":161,"satellites":36,"speed":0,"hex_longitude":"2d82bc80","hex_latitude":"06067508","is_valid_coordinates":true} 
[2026-09-05 14:46: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-09-05 14:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881490688001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399824913675845632,"note":"Value kept but may cause issues"} 
[2026-09-05 14:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026198789790824448,"note":"Value kept but may cause issues"} 
[2026-09-05 14:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788599585000,"timestamp_ms":1788599585000,"timestamp_seconds":1788599585,"priority":1,"record_length":96,"hex_timestamp":"000001a070d7c8e8"} 
[2026-09-05 14:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:46: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-09-05 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 14:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881490688001,"66":27919,"235":206,"87":10496,"24":0,"16":399824913675845632,"45":-9026198789790824448},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,87,24,16,45]} 
[2026-09-05 14:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881490688001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:46:38] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 14:46:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399824913675845632,"km_value":399824913675845.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026198789790824448,"description":"Unknown IO ID 45"} 
[2026-09-05 14:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881490688001,"power":27919,"unknown_235":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9026198789790824448}} 
[2026-09-05 14:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":174321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:46:38] local.INFO: GPS data processed {"connection_id":174321,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:46:38] local.INFO: Acknowledgment sent {"connection_id":174321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:46:48] local.INFO: TCP Data received {"connection_id":172996,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172996,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:46:48] local.INFO: Processing buffer {"connection_id":172996,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:46:48] local.INFO: IMEI packet received {"connection_id":172996,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":172996,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:46:52] local.INFO: TCP Data received {"connection_id":172996,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172996,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:46:52] local.INFO: Processing buffer {"connection_id":172996,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:46:52] local.INFO: IMEI packet received {"connection_id":172996,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":172996,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:46:54] local.INFO: TCP Data received {"connection_id":172996,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070d9ad48012c7939c00848c5f00014000129..."} 
[2026-09-05 14:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d9ad48012c7939c00848c5f00014000129..."} 
[2026-09-05 14:46:54] local.INFO: Processing buffer {"connection_id":172996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d9ad48012c7939c00848c5f00014000129..."} 
[2026-09-05 14:46:54] local.INFO: Packet analysis {"connection_id":172996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d9"} 
[2026-09-05 14:46:54] local.INFO: Extracted packet for processing {"connection_id":172996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d9"} 
[2026-09-05 14:46:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881448448001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:46:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788599709000,"timestamp_ms":1788599709000,"timestamp_seconds":1788599709,"priority":1,"record_length":96,"hex_timestamp":"000001a070d9ad48"} 
[2026-09-05 14:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172996,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172996,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881448448001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881448448001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:46:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:46:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:46:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881448448001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":172996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769128,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:46:54] local.INFO: GPS data processed {"connection_id":172996,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:46:54] local.INFO: Acknowledgment sent {"connection_id":172996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:46:56] local.INFO: TCP Data received {"connection_id":172997,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:46:56] local.INFO: Processing buffer {"connection_id":172997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:46:56] local.INFO: IMEI packet received {"connection_id":172997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":172997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:47:01] local.INFO: TCP Data received {"connection_id":172997,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:47:01] local.INFO: Processing buffer {"connection_id":172997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:47:01] local.INFO: IMEI packet received {"connection_id":172997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":172997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:47:02] local.INFO: TCP Data received {"connection_id":174319,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070da2a480100000000000000000000000000..."} 
[2026-09-05 14:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070da2a480100000000000000000000000000..."} 
[2026-09-05 14:47:02] local.INFO: Processing buffer {"connection_id":174319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070da2a480100000000000000000000000000..."} 
[2026-09-05 14:47:02] local.INFO: Packet analysis {"connection_id":174319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070da"} 
[2026-09-05 14:47:02] local.INFO: Extracted packet for processing {"connection_id":174319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070da"} 
[2026-09-05 14:47:02] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 14:47:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 14:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788599741000,"timestamp_ms":1788599741000,"timestamp_seconds":1788599741,"priority":1,"record_length":96,"hex_timestamp":"000001a070da2a48"} 
[2026-09-05 14:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-05 14:47:02] 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-09-05 14: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-09-05 14:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":174319,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 14:47:02] local.INFO: GPS data processed {"connection_id":174319,"processed":0,"errors":0,"total":1} 
[2026-09-05 14:47:02] local.INFO: Acknowledgment sent {"connection_id":174319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:47:02] local.INFO: TCP Data received {"connection_id":172997,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a070d7c8e8012d82bc8006067508001200a124..."} 
[2026-09-05 14:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d7c8e8012d82bc8006067508001200a124..."} 
[2026-09-05 14:47:02] local.INFO: Processing buffer {"connection_id":172997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d7c8e8012d82bc8006067508001200a124..."} 
[2026-09-05 14:47:02] local.INFO: Packet analysis {"connection_id":172997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d7"} 
[2026-09-05 14:47:02] local.INFO: Extracted packet for processing {"connection_id":172997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d7"} 
[2026-09-05 14:47:02] local.INFO: GPS Element Parsed {"raw_longitude":763542656,"raw_latitude":101086472,"longitude_deg":76.3542656,"latitude_deg":10.1086472,"altitude":18,"angle":161,"satellites":36,"speed":0,"hex_longitude":"2d82bc80","hex_latitude":"06067508","is_valid_coordinates":true} 
[2026-09-05 14:47: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-09-05 14:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881490688001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399824913675845632,"note":"Value kept but may cause issues"} 
[2026-09-05 14:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026198789790824448,"note":"Value kept but may cause issues"} 
[2026-09-05 14:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788599585000,"timestamp_ms":1788599585000,"timestamp_seconds":1788599585,"priority":1,"record_length":96,"hex_timestamp":"000001a070d7c8e8"} 
[2026-09-05 14:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:47: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-09-05 14:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 14:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881490688001,"66":27919,"235":206,"87":10496,"24":0,"16":399824913675845632,"45":-9026198789790824448},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,87,24,16,45]} 
[2026-09-05 14:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881490688001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:47:02] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 14:47:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399824913675845632,"km_value":399824913675845.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026198789790824448,"description":"Unknown IO ID 45"} 
[2026-09-05 14:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881490688001,"power":27919,"unknown_235":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9026198789790824448}} 
[2026-09-05 14:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":172997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:47:02] local.INFO: GPS data processed {"connection_id":172997,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:47:02] local.INFO: Acknowledgment sent {"connection_id":172997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:47:25] local.INFO: TCP Data received {"connection_id":172996,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070d9ad48012c7939c00848c5f00014000129..."} 
[2026-09-05 14:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d9ad48012c7939c00848c5f00014000129..."} 
[2026-09-05 14:47:25] local.INFO: Processing buffer {"connection_id":172996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d9ad48012c7939c00848c5f00014000129..."} 
[2026-09-05 14:47:25] local.INFO: Packet analysis {"connection_id":172996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d9"} 
[2026-09-05 14:47:25] local.INFO: Extracted packet for processing {"connection_id":172996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d9"} 
[2026-09-05 14:47:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881448448001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:47:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788599709000,"timestamp_ms":1788599709000,"timestamp_seconds":1788599709,"priority":1,"record_length":96,"hex_timestamp":"000001a070d9ad48"} 
[2026-09-05 14:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:47:25] 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-09-05 14:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172996,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172996,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881448448001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881448448001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:47:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:47:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:47:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881448448001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":172996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769130,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:47:26] local.INFO: GPS data processed {"connection_id":172996,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:47:26] local.INFO: Acknowledgment sent {"connection_id":172996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:47:33] local.INFO: TCP Data received {"connection_id":174319,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070da7c500100000000000000000000000000..."} 
[2026-09-05 14:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070da7c500100000000000000000000000000..."} 
[2026-09-05 14:47:33] local.INFO: Processing buffer {"connection_id":174319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070da7c500100000000000000000000000000..."} 
[2026-09-05 14:47:33] local.INFO: Packet analysis {"connection_id":174319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070da"} 
[2026-09-05 14:47:33] local.INFO: Extracted packet for processing {"connection_id":174319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070da"} 
[2026-09-05 14:47:33] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 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-09-05 14:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 14:47:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 14:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788599762000,"timestamp_ms":1788599762000,"timestamp_seconds":1788599762,"priority":1,"record_length":96,"hex_timestamp":"000001a070da7c50"} 
[2026-09-05 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-09-05 14:47:33] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 14:47:33] 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-09-05 14: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-09-05 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-09-05 14:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":174319,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 14:47:33] local.INFO: GPS data processed {"connection_id":174319,"processed":0,"errors":0,"total":1} 
[2026-09-05 14:47:33] local.INFO: Acknowledgment sent {"connection_id":174319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:47:33] local.INFO: TCP Data received {"connection_id":172997,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a070d7c8e8012d82bc8006067508001200a124..."} 
[2026-09-05 14:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d7c8e8012d82bc8006067508001200a124..."} 
[2026-09-05 14:47:33] local.INFO: Processing buffer {"connection_id":172997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d7c8e8012d82bc8006067508001200a124..."} 
[2026-09-05 14:47:33] local.INFO: Packet analysis {"connection_id":172997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d7"} 
[2026-09-05 14:47:33] local.INFO: Extracted packet for processing {"connection_id":172997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d7"} 
[2026-09-05 14:47:33] local.INFO: GPS Element Parsed {"raw_longitude":763542656,"raw_latitude":101086472,"longitude_deg":76.3542656,"latitude_deg":10.1086472,"altitude":18,"angle":161,"satellites":36,"speed":0,"hex_longitude":"2d82bc80","hex_latitude":"06067508","is_valid_coordinates":true} 
[2026-09-05 14:47: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-09-05 14:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881490688001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399824913675845632,"note":"Value kept but may cause issues"} 
[2026-09-05 14:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026198789790824448,"note":"Value kept but may cause issues"} 
[2026-09-05 14:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788599585000,"timestamp_ms":1788599585000,"timestamp_seconds":1788599585,"priority":1,"record_length":96,"hex_timestamp":"000001a070d7c8e8"} 
[2026-09-05 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-09-05 14:47: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-09-05 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 14:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 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-09-05 14:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881490688001,"66":27919,"235":206,"87":10496,"24":0,"16":399824913675845632,"45":-9026198789790824448},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,87,24,16,45]} 
[2026-09-05 14:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881490688001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:47:33] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 14:47:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399824913675845632,"km_value":399824913675845.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026198789790824448,"description":"Unknown IO ID 45"} 
[2026-09-05 14:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881490688001,"power":27919,"unknown_235":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9026198789790824448}} 
[2026-09-05 14:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":172997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:47:33] local.INFO: GPS data processed {"connection_id":172997,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:47:33] local.INFO: Acknowledgment sent {"connection_id":172997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:47:47] local.INFO: TCP Data received {"connection_id":171610,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171610,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:47:47] local.INFO: Processing buffer {"connection_id":171610,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:47:47] local.INFO: IMEI packet received {"connection_id":171610,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":171610,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:47:53] local.INFO: TCP Data received {"connection_id":171610,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171610,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:47:53] local.INFO: Processing buffer {"connection_id":171610,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:47:53] local.INFO: IMEI packet received {"connection_id":171610,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":171610,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:47:54] local.INFO: TCP Data received {"connection_id":171916,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171916,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:47:54] local.INFO: Processing buffer {"connection_id":171916,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:47:54] local.INFO: IMEI packet received {"connection_id":171916,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 14:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":171916,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:47:54] local.INFO: TCP Data received {"connection_id":171610,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070d9ad48012c7939c00848c5f00014000129..."} 
[2026-09-05 14:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d9ad48012c7939c00848c5f00014000129..."} 
[2026-09-05 14:47:54] local.INFO: Processing buffer {"connection_id":171610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d9ad48012c7939c00848c5f00014000129..."} 
[2026-09-05 14:47:54] local.INFO: Packet analysis {"connection_id":171610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d9"} 
[2026-09-05 14:47:54] local.INFO: Extracted packet for processing {"connection_id":171610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d9"} 
[2026-09-05 14:47:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881448448001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:47:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788599709000,"timestamp_ms":1788599709000,"timestamp_seconds":1788599709,"priority":1,"record_length":96,"hex_timestamp":"000001a070d9ad48"} 
[2026-09-05 14:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:47:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:47:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171610,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171610,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881448448001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881448448001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:47:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:47:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:47:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881448448001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":171610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769132,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:47:54] local.INFO: GPS data processed {"connection_id":171610,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:47:54] local.INFO: Acknowledgment sent {"connection_id":171610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:47:55] local.INFO: TCP Data received {"connection_id":171916,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171916,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:47:55] local.INFO: Processing buffer {"connection_id":171916,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:47:55] local.INFO: IMEI packet received {"connection_id":171916,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 14:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":171916,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:47:56] local.INFO: TCP Data received {"connection_id":171915,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:47:56] local.INFO: Processing buffer {"connection_id":171915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:47:56] local.INFO: IMEI packet received {"connection_id":171915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":171915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:48:00] local.INFO: TCP Data received {"connection_id":171916,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171916,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:48:00] local.INFO: Processing buffer {"connection_id":171916,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:48:00] local.INFO: IMEI packet received {"connection_id":171916,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 14:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":171916,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:48:01] local.INFO: TCP Data received {"connection_id":171916,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070da9f78012d7cf78005ec3af0000b00fa0b..."} 
[2026-09-05 14:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070da9f78012d7cf78005ec3af0000b00fa0b..."} 
[2026-09-05 14:48:01] local.INFO: Processing buffer {"connection_id":171916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070da9f78012d7cf78005ec3af0000b00fa0b..."} 
[2026-09-05 14:48:01] local.INFO: Packet analysis {"connection_id":171916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070da"} 
[2026-09-05 14:48:01] local.INFO: Extracted packet for processing {"connection_id":171916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070da"} 
[2026-09-05 14:48:01] local.INFO: GPS Element Parsed {"raw_longitude":763164544,"raw_latitude":99367664,"longitude_deg":76.3164544,"latitude_deg":9.9367664,"altitude":11,"angle":250,"satellites":11,"speed":0,"hex_longitude":"2d7cf780","hex_latitude":"05ec3af0","is_valid_coordinates":true} 
[2026-09-05 14:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489272419287040,"note":"Value kept but may cause issues"} 
[2026-09-05 14:48:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 14:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788599771000,"timestamp_ms":1788599771000,"timestamp_seconds":1788599771,"priority":1,"record_length":96,"hex_timestamp":"000001a070da9f78"} 
[2026-09-05 14:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:48:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-05 14:48:01] 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-09-05 14:48:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13928,"110":206,"87":13824,"24":0,"16":128489272419287040},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16]} 
[2026-09-05 14:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 14:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 14:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-05 14:48:01] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 14:48:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 14:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489272419287040,"km_value":128489272419287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:48:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13928,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null}} 
[2026-09-05 14:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":171916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769133,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:48:01] local.INFO: GPS data processed {"connection_id":171916,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:48:01] local.INFO: Acknowledgment sent {"connection_id":171916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:48:01] local.INFO: TCP Data received {"connection_id":171915,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:48:01] local.INFO: Processing buffer {"connection_id":171915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:48:01] local.INFO: IMEI packet received {"connection_id":171915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":171915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:48:02] local.INFO: TCP Data received {"connection_id":171915,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a070d7c8e8012d82bc8006067508001200a124..."} 
[2026-09-05 14:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d7c8e8012d82bc8006067508001200a124..."} 
[2026-09-05 14:48:02] local.INFO: Processing buffer {"connection_id":171915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d7c8e8012d82bc8006067508001200a124..."} 
[2026-09-05 14:48:02] local.INFO: Packet analysis {"connection_id":171915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d7"} 
[2026-09-05 14:48:02] local.INFO: Extracted packet for processing {"connection_id":171915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d7"} 
[2026-09-05 14:48:02] local.INFO: GPS Element Parsed {"raw_longitude":763542656,"raw_latitude":101086472,"longitude_deg":76.3542656,"latitude_deg":10.1086472,"altitude":18,"angle":161,"satellites":36,"speed":0,"hex_longitude":"2d82bc80","hex_latitude":"06067508","is_valid_coordinates":true} 
[2026-09-05 14:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881490688001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399824913675845632,"note":"Value kept but may cause issues"} 
[2026-09-05 14:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026198789790824448,"note":"Value kept but may cause issues"} 
[2026-09-05 14:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788599585000,"timestamp_ms":1788599585000,"timestamp_seconds":1788599585,"priority":1,"record_length":96,"hex_timestamp":"000001a070d7c8e8"} 
[2026-09-05 14:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:48: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-09-05 14:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 14:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881490688001,"66":27919,"235":206,"87":10496,"24":0,"16":399824913675845632,"45":-9026198789790824448},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,87,24,16,45]} 
[2026-09-05 14:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881490688001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:48:02] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 14:48:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399824913675845632,"km_value":399824913675845.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026198789790824448,"description":"Unknown IO ID 45"} 
[2026-09-05 14:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881490688001,"power":27919,"unknown_235":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9026198789790824448}} 
[2026-09-05 14:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":171915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:48:02] local.INFO: GPS data processed {"connection_id":171915,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:48:02] local.INFO: Acknowledgment sent {"connection_id":171915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:48:26] local.INFO: TCP Data received {"connection_id":171610,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070d9ad48012c7939c00848c5f00014000129..."} 
[2026-09-05 14:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d9ad48012c7939c00848c5f00014000129..."} 
[2026-09-05 14:48:26] local.INFO: Processing buffer {"connection_id":171610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d9ad48012c7939c00848c5f00014000129..."} 
[2026-09-05 14:48:26] local.INFO: Packet analysis {"connection_id":171610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d9"} 
[2026-09-05 14:48:26] local.INFO: Extracted packet for processing {"connection_id":171610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d9"} 
[2026-09-05 14:48:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881448448001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:48:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:48:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788599709000,"timestamp_ms":1788599709000,"timestamp_seconds":1788599709,"priority":1,"record_length":96,"hex_timestamp":"000001a070d9ad48"} 
[2026-09-05 14:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:48:26] 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-09-05 14:48:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171610,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171610,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:48:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881448448001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881448448001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:48:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:48:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:48:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881448448001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":171610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769135,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:48:26] local.INFO: GPS data processed {"connection_id":171610,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:48:26] local.INFO: Acknowledgment sent {"connection_id":171610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:48:32] local.INFO: TCP Data received {"connection_id":171916,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070daca70012d7cf7c005ec3a70000900fa0b..."} 
[2026-09-05 14:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070daca70012d7cf7c005ec3a70000900fa0b..."} 
[2026-09-05 14:48:32] local.INFO: Processing buffer {"connection_id":171916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070daca70012d7cf7c005ec3a70000900fa0b..."} 
[2026-09-05 14:48:32] local.INFO: Packet analysis {"connection_id":171916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070da"} 
[2026-09-05 14:48:32] local.INFO: Extracted packet for processing {"connection_id":171916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070da"} 
[2026-09-05 14:48:32] local.INFO: GPS Element Parsed {"raw_longitude":763164608,"raw_latitude":99367536,"longitude_deg":76.3164608,"latitude_deg":9.9367536,"altitude":9,"angle":250,"satellites":11,"speed":0,"hex_longitude":"2d7cf7c0","hex_latitude":"05ec3a70","is_valid_coordinates":true} 
[2026-09-05 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-09-05 14:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881541376001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489281009221632,"note":"Value kept but may cause issues"} 
[2026-09-05 14:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004806742877073408,"note":"Value kept but may cause issues"} 
[2026-09-05 14:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788599782000,"timestamp_ms":1788599782000,"timestamp_seconds":1788599782,"priority":1,"record_length":96,"hex_timestamp":"000001a070daca70"} 
[2026-09-05 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-09-05 14:48:32] 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-09-05 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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-05 14:48:32] 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-09-05 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-09-05 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-09-05 14:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881541376001,"66":13624,"110":206,"87":13824,"24":0,"16":128489281009221632,"45":9004806742877073408},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-05 14:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 14:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 14:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881541376001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:48:32] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 14:48:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 14:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489281009221632,"km_value":128489281009221.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004806742877073408,"description":"Unknown IO ID 45"} 
[2026-09-05 14:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881541376001,"power":13624,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9004806742877073408}} 
[2026-09-05 14:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":171916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:48:32] local.INFO: GPS data processed {"connection_id":171916,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:48:32] local.INFO: Acknowledgment sent {"connection_id":171916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:48:34] local.INFO: TCP Data received {"connection_id":171915,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a070d7c8e8012d82bc8006067508001200a124..."} 
[2026-09-05 14:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d7c8e8012d82bc8006067508001200a124..."} 
[2026-09-05 14:48:34] local.INFO: Processing buffer {"connection_id":171915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d7c8e8012d82bc8006067508001200a124..."} 
[2026-09-05 14:48:34] local.INFO: Packet analysis {"connection_id":171915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d7"} 
[2026-09-05 14:48:34] local.INFO: Extracted packet for processing {"connection_id":171915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d7"} 
[2026-09-05 14:48:34] local.INFO: GPS Element Parsed {"raw_longitude":763542656,"raw_latitude":101086472,"longitude_deg":76.3542656,"latitude_deg":10.1086472,"altitude":18,"angle":161,"satellites":36,"speed":0,"hex_longitude":"2d82bc80","hex_latitude":"06067508","is_valid_coordinates":true} 
[2026-09-05 14:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881490688001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399824913675845632,"note":"Value kept but may cause issues"} 
[2026-09-05 14:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026198789790824448,"note":"Value kept but may cause issues"} 
[2026-09-05 14:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788599585000,"timestamp_ms":1788599585000,"timestamp_seconds":1788599585,"priority":1,"record_length":96,"hex_timestamp":"000001a070d7c8e8"} 
[2026-09-05 14:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 14:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881490688001,"66":27919,"235":206,"87":10496,"24":0,"16":399824913675845632,"45":-9026198789790824448},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,87,24,16,45]} 
[2026-09-05 14:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881490688001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:48:34] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 14:48:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399824913675845632,"km_value":399824913675845.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026198789790824448,"description":"Unknown IO ID 45"} 
[2026-09-05 14:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881490688001,"power":27919,"unknown_235":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9026198789790824448}} 
[2026-09-05 14:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":171915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:48:34] local.INFO: GPS data processed {"connection_id":171915,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:48:34] local.INFO: Acknowledgment sent {"connection_id":171915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:48:47] local.INFO: TCP Data received {"connection_id":172999,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172999,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:48:47] local.INFO: Processing buffer {"connection_id":172999,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:48:47] local.INFO: IMEI packet received {"connection_id":172999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":172999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:48:52] local.INFO: TCP Data received {"connection_id":172999,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172999,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:48:52] local.INFO: Processing buffer {"connection_id":172999,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:48:52] local.INFO: IMEI packet received {"connection_id":172999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":172999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:48:54] local.INFO: TCP Data received {"connection_id":172999,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070d9ad48012c7939c00848c5f00014000129..."} 
[2026-09-05 14:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d9ad48012c7939c00848c5f00014000129..."} 
[2026-09-05 14:48:54] local.INFO: Processing buffer {"connection_id":172999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d9ad48012c7939c00848c5f00014000129..."} 
[2026-09-05 14:48:54] local.INFO: Packet analysis {"connection_id":172999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d9"} 
[2026-09-05 14:48:54] local.INFO: Extracted packet for processing {"connection_id":172999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d9"} 
[2026-09-05 14:48:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881448448001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:48:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788599709000,"timestamp_ms":1788599709000,"timestamp_seconds":1788599709,"priority":1,"record_length":96,"hex_timestamp":"000001a070d9ad48"} 
[2026-09-05 14:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881448448001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881448448001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:48:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:48:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:48:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881448448001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":172999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769138,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:48:54] local.INFO: GPS data processed {"connection_id":172999,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:48:54] local.INFO: Acknowledgment sent {"connection_id":172999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:48:56] local.INFO: TCP Data received {"connection_id":174323,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:48:56] local.INFO: Processing buffer {"connection_id":174323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:48:56] local.INFO: IMEI packet received {"connection_id":174323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":174323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:48:57] local.INFO: TCP Data received {"connection_id":171611,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:48:57] local.INFO: Processing buffer {"connection_id":171611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:48:57] local.INFO: IMEI packet received {"connection_id":171611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":171611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:48:57] local.INFO: TCP Data received {"connection_id":171611,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070dc2230012d0a65400720d170001c009922..."} 
[2026-09-05 14:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070dc2230012d0a65400720d170001c009922..."} 
[2026-09-05 14:48:57] local.INFO: Processing buffer {"connection_id":171611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070dc2230012d0a65400720d170001c009922..."} 
[2026-09-05 14:48:57] local.INFO: Packet analysis {"connection_id":171611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070dc"} 
[2026-09-05 14:48:57] local.INFO: Extracted packet for processing {"connection_id":171611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070dc"} 
[2026-09-05 14:48:57] local.INFO: GPS Element Parsed {"raw_longitude":755656000,"raw_latitude":119591280,"longitude_deg":75.5656,"latitude_deg":11.959128,"altitude":28,"angle":153,"satellites":34,"speed":47,"hex_longitude":"2d0a6540","hex_latitude":"0720d170","is_valid_coordinates":true} 
[2026-09-05 14:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881565696001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17873661021126656,"note":"Value kept but may cause issues"} 
[2026-09-05 14:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":746260562620590080,"note":"Value kept but may cause issues"} 
[2026-09-05 14:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788599870000,"timestamp_ms":1788599870000,"timestamp_seconds":1788599870,"priority":1,"record_length":96,"hex_timestamp":"000001a070dc2230"} 
[2026-09-05 14:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 14:48:57] 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-09-05 14:48:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":171611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":171611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":171611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881565696001,"66":14363,"241":206,"83":41984,"24":47,"16":17873661021126656,"45":746260562620590080},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,83,24,16,45]} 
[2026-09-05 14:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881565696001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:48:57] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-05 14:48:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 14:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17873661021126656,"km_value":17873661021126.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":746260562620590080,"description":"Unknown IO ID 45"} 
[2026-09-05 14:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881565696001,"power":14363,"unknown_241":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":746260562620590080}} 
[2026-09-05 14:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":171611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:48:57] local.INFO: GPS data processed {"connection_id":171611,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:48:57] local.INFO: Acknowledgment sent {"connection_id":171611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:49:01] local.INFO: TCP Data received {"connection_id":174323,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:49:01] local.INFO: Processing buffer {"connection_id":174323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:49:01] local.INFO: IMEI packet received {"connection_id":174323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":174323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:49:02] local.INFO: TCP Data received {"connection_id":174323,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070dc6c68012d82bb00060672d0001400a122..."} 
[2026-09-05 14:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070dc6c68012d82bb00060672d0001400a122..."} 
[2026-09-05 14:49:02] local.INFO: Processing buffer {"connection_id":174323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070dc6c68012d82bb00060672d0001400a122..."} 
[2026-09-05 14:49:02] local.INFO: Packet analysis {"connection_id":174323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070dc"} 
[2026-09-05 14:49:02] local.INFO: Extracted packet for processing {"connection_id":174323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070dc"} 
[2026-09-05 14:49:02] local.INFO: GPS Element Parsed {"raw_longitude":763542272,"raw_latitude":101085904,"longitude_deg":76.3542272,"latitude_deg":10.1085904,"altitude":20,"angle":161,"satellites":34,"speed":0,"hex_longitude":"2d82bb00","hex_latitude":"060672d0","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881493760001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399824913675845632,"note":"Value kept but may cause issues"} 
[2026-09-05 14:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026198789790824448,"note":"Value kept but may cause issues"} 
[2026-09-05 14:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788599889000,"timestamp_ms":1788599889000,"timestamp_seconds":1788599889,"priority":1,"record_length":96,"hex_timestamp":"000001a070dc6c68"} 
[2026-09-05 14:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:49:02] 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-09-05 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 14:49: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-09-05 14: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-09-05 14:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881493760001,"66":26484,"235":206,"87":10496,"24":0,"16":399824913675845632,"45":-9026198789790824448},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,87,24,16,45]} 
[2026-09-05 14:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881493760001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:49:02] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 14:49:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399824913675845632,"km_value":399824913675845.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026198789790824448,"description":"Unknown IO ID 45"} 
[2026-09-05 14:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881493760001,"power":26484,"unknown_235":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9026198789790824448}} 
[2026-09-05 14:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":174323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:49:02] local.INFO: GPS data processed {"connection_id":174323,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:49:02] local.INFO: Acknowledgment sent {"connection_id":174323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:49:03] local.INFO: TCP Data received {"connection_id":171916,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070db10c0012d7cf70005ec3ab0000a01090e..."} 
[2026-09-05 14:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070db10c0012d7cf70005ec3ab0000a01090e..."} 
[2026-09-05 14:49:03] local.INFO: Processing buffer {"connection_id":171916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070db10c0012d7cf70005ec3ab0000a01090e..."} 
[2026-09-05 14:49:03] local.INFO: Packet analysis {"connection_id":171916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070db"} 
[2026-09-05 14:49:03] local.INFO: Extracted packet for processing {"connection_id":171916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070db"} 
[2026-09-05 14:49:03] local.INFO: GPS Element Parsed {"raw_longitude":763164416,"raw_latitude":99367600,"longitude_deg":76.3164416,"latitude_deg":9.93676,"altitude":10,"angle":265,"satellites":14,"speed":3,"hex_longitude":"2d7cf700","hex_latitude":"05ec3ab0","is_valid_coordinates":true} 
[2026-09-05 14:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881544192001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489298189090816,"note":"Value kept but may cause issues"} 
[2026-09-05 14:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004877111621218304,"note":"Value kept but may cause issues"} 
[2026-09-05 14:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788599800000,"timestamp_ms":1788599800000,"timestamp_seconds":1788599800,"priority":1,"record_length":96,"hex_timestamp":"000001a070db10c0"} 
[2026-09-05 14:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:49:03] 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-09-05 14:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-05 14:49:03] 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-09-05 14:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881544192001,"66":13820,"110":206,"87":13824,"24":3,"16":128489298189090816,"45":9004877111621218304},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-05 14:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 14:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 14:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881544192001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:49:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 14:49:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 14:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489298189090816,"km_value":128489298189090.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004877111621218304,"description":"Unknown IO ID 45"} 
[2026-09-05 14:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881544192001,"power":13820,"unknown_110":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9004877111621218304}} 
[2026-09-05 14:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":171916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769141,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:49:03] local.INFO: GPS data processed {"connection_id":171916,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:49:03] local.INFO: Acknowledgment sent {"connection_id":171916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:49:26] local.INFO: TCP Data received {"connection_id":172999,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070d9ad48012c7939c00848c5f00014000129..."} 
[2026-09-05 14:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d9ad48012c7939c00848c5f00014000129..."} 
[2026-09-05 14:49:26] local.INFO: Processing buffer {"connection_id":172999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d9ad48012c7939c00848c5f00014000129..."} 
[2026-09-05 14:49:26] local.INFO: Packet analysis {"connection_id":172999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d9"} 
[2026-09-05 14:49:26] local.INFO: Extracted packet for processing {"connection_id":172999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d9"} 
[2026-09-05 14:49:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881448448001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:49:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788599709000,"timestamp_ms":1788599709000,"timestamp_seconds":1788599709,"priority":1,"record_length":96,"hex_timestamp":"000001a070d9ad48"} 
[2026-09-05 14:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:49:26] 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-09-05 14:49:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881448448001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881448448001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:49:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:49:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:49:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881448448001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":172999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769142,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:49:26] local.INFO: GPS data processed {"connection_id":172999,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:49:26] local.INFO: Acknowledgment sent {"connection_id":172999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:49:29] local.INFO: TCP Data received {"connection_id":171611,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070dcf138012d0ae880072019200016009f27..."} 
[2026-09-05 14:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070dcf138012d0ae880072019200016009f27..."} 
[2026-09-05 14:49:29] local.INFO: Processing buffer {"connection_id":171611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070dcf138012d0ae880072019200016009f27..."} 
[2026-09-05 14:49:29] local.INFO: Packet analysis {"connection_id":171611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070dc"} 
[2026-09-05 14:49:29] local.INFO: Extracted packet for processing {"connection_id":171611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070dc"} 
[2026-09-05 14:49:29] local.INFO: GPS Element Parsed {"raw_longitude":755689600,"raw_latitude":119544096,"longitude_deg":75.56896,"latitude_deg":11.9544096,"altitude":22,"angle":159,"satellites":39,"speed":38,"hex_longitude":"2d0ae880","hex_latitude":"07201920","is_valid_coordinates":true} 
[2026-09-05 14:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881579008001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17876628843528192,"note":"Value kept but may cause issues"} 
[2026-09-05 14:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":783415259534239744,"note":"Value kept but may cause issues"} 
[2026-09-05 14:49:29] 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-09-05 14:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788599923000,"timestamp_ms":1788599923000,"timestamp_seconds":1788599923,"priority":1,"record_length":96,"hex_timestamp":"000001a070dcf138"} 
[2026-09-05 14:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-05 14:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":171611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":171611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":171611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881579008001,"66":13928,"243":206,"83":41984,"24":38,"16":17876628843528192,"45":783415259534239744},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,45]} 
[2026-09-05 14:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881579008001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:49:29] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-05 14:49:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 14:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17876628843528192,"km_value":17876628843528.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":783415259534239744,"description":"Unknown IO ID 45"} 
[2026-09-05 14:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881579008001,"power":13928,"unknown_243":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":783415259534239744}} 
[2026-09-05 14:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":171611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:49:29] local.INFO: GPS data processed {"connection_id":171611,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:49:29] local.INFO: Acknowledgment sent {"connection_id":171611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:49:33] local.INFO: TCP Data received {"connection_id":174323,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070dc6c68012d82bb00060672d0001400a122..."} 
[2026-09-05 14:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070dc6c68012d82bb00060672d0001400a122..."} 
[2026-09-05 14:49:33] local.INFO: Processing buffer {"connection_id":174323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070dc6c68012d82bb00060672d0001400a122..."} 
[2026-09-05 14:49:33] local.INFO: Packet analysis {"connection_id":174323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070dc"} 
[2026-09-05 14:49:33] local.INFO: Extracted packet for processing {"connection_id":174323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070dc"} 
[2026-09-05 14:49:33] local.INFO: GPS Element Parsed {"raw_longitude":763542272,"raw_latitude":101085904,"longitude_deg":76.3542272,"latitude_deg":10.1085904,"altitude":20,"angle":161,"satellites":34,"speed":0,"hex_longitude":"2d82bb00","hex_latitude":"060672d0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 14:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881493760001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399824913675845632,"note":"Value kept but may cause issues"} 
[2026-09-05 14:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026198789790824448,"note":"Value kept but may cause issues"} 
[2026-09-05 14:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788599889000,"timestamp_ms":1788599889000,"timestamp_seconds":1788599889,"priority":1,"record_length":96,"hex_timestamp":"000001a070dc6c68"} 
[2026-09-05 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-09-05 14:49: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-09-05 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 14:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 14:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881493760001,"66":26484,"235":206,"87":10496,"24":0,"16":399824913675845632,"45":-9026198789790824448},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,87,24,16,45]} 
[2026-09-05 14:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881493760001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:49:33] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 14:49:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399824913675845632,"km_value":399824913675845.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026198789790824448,"description":"Unknown IO ID 45"} 
[2026-09-05 14:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881493760001,"power":26484,"unknown_235":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9026198789790824448}} 
[2026-09-05 14:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":174323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:49:33] local.INFO: GPS data processed {"connection_id":174323,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:49:33] local.INFO: Acknowledgment sent {"connection_id":174323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:49:36] local.INFO: TCP Data received {"connection_id":171916,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070db5ee0012d7cf24005ec3a88000a01130f..."} 
[2026-09-05 14:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070db5ee0012d7cf24005ec3a88000a01130f..."} 
[2026-09-05 14:49:36] local.INFO: Processing buffer {"connection_id":171916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070db5ee0012d7cf24005ec3a88000a01130f..."} 
[2026-09-05 14:49:36] local.INFO: Packet analysis {"connection_id":171916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070db"} 
[2026-09-05 14:49:36] local.INFO: Extracted packet for processing {"connection_id":171916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070db"} 
[2026-09-05 14:49:36] local.INFO: GPS Element Parsed {"raw_longitude":763163200,"raw_latitude":99367560,"longitude_deg":76.31632,"latitude_deg":9.936756,"altitude":10,"angle":275,"satellites":15,"speed":0,"hex_longitude":"2d7cf240","hex_latitude":"05ec3a88","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881548800001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489358318632960,"note":"Value kept but may cause issues"} 
[2026-09-05 14:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004666005388701696,"note":"Value kept but may cause issues"} 
[2026-09-05 14:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788599820000,"timestamp_ms":1788599820000,"timestamp_seconds":1788599820,"priority":1,"record_length":96,"hex_timestamp":"000001a070db5ee0"} 
[2026-09-05 14:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-05 14:49: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-09-05 14: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-09-05 14:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881548800001,"66":13820,"110":206,"87":13824,"24":0,"16":128489358318632960,"45":9004666005388701696},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-05 14:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 14:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 14:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881548800001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:49:36] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 14:49:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 14:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489358318632960,"km_value":128489358318632.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004666005388701696,"description":"Unknown IO ID 45"} 
[2026-09-05 14:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881548800001,"power":13820,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9004666005388701696}} 
[2026-09-05 14:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":171916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769145,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:49:36] local.INFO: GPS data processed {"connection_id":171916,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:49:36] local.INFO: Acknowledgment sent {"connection_id":171916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:49:44] local.INFO: TCP Data received {"connection_id":171917,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:49:44] local.INFO: Processing buffer {"connection_id":171917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:49:44] local.INFO: IMEI packet received {"connection_id":171917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":171917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:49:50] local.INFO: TCP Data received {"connection_id":171917,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:49:50] local.INFO: Processing buffer {"connection_id":171917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:49:50] local.INFO: IMEI packet received {"connection_id":171917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":171917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:49:51] local.INFO: TCP Data received {"connection_id":171917,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070dcf908012d0aea40072011e0001600ad27..."} 
[2026-09-05 14:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070dcf908012d0aea40072011e0001600ad27..."} 
[2026-09-05 14:49:51] local.INFO: Processing buffer {"connection_id":171917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070dcf908012d0aea40072011e0001600ad27..."} 
[2026-09-05 14:49:51] local.INFO: Packet analysis {"connection_id":171917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070dc"} 
[2026-09-05 14:49:51] local.INFO: Extracted packet for processing {"connection_id":171917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070dc"} 
[2026-09-05 14:49:51] local.INFO: GPS Element Parsed {"raw_longitude":755690048,"raw_latitude":119542240,"longitude_deg":75.5690048,"latitude_deg":11.954224,"altitude":22,"angle":173,"satellites":39,"speed":39,"hex_longitude":"2d0aea40","hex_latitude":"072011e0","is_valid_coordinates":true} 
[2026-09-05 14:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881580288001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17876723332808704,"note":"Value kept but may cause issues"} 
[2026-09-05 14:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":786018903067795456,"note":"Value kept but may cause issues"} 
[2026-09-05 14:49:51] 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-09-05 14:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788599925000,"timestamp_ms":1788599925000,"timestamp_seconds":1788599925,"priority":1,"record_length":96,"hex_timestamp":"000001a070dcf908"} 
[2026-09-05 14:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-05 14:49:51] 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-09-05 14:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881580288001,"66":14070,"243":206,"83":41984,"24":39,"16":17876723332808704,"45":786018903067795456},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,45]} 
[2026-09-05 14:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881580288001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:49:51] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-05 14:49:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 14:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17876723332808704,"km_value":17876723332808.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":786018903067795456,"description":"Unknown IO ID 45"} 
[2026-09-05 14:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881580288001,"power":14070,"unknown_243":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":786018903067795456}} 
[2026-09-05 14:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":171917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:49:51] local.INFO: GPS data processed {"connection_id":171917,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:49:51] local.INFO: Acknowledgment sent {"connection_id":171917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:49:52] local.INFO: TCP Data received {"connection_id":171612,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171612,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:49:52] local.INFO: Processing buffer {"connection_id":171612,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:49:52] local.INFO: IMEI packet received {"connection_id":171612,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":171612,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:49:55] local.INFO: TCP Data received {"connection_id":173000,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:49:55] local.INFO: Processing buffer {"connection_id":173000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:49:55] local.INFO: IMEI packet received {"connection_id":173000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 14:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":173000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:49:56] local.INFO: TCP Data received {"connection_id":171613,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:49:56] local.INFO: Processing buffer {"connection_id":171613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:49:56] local.INFO: IMEI packet received {"connection_id":171613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":171613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:49:57] local.INFO: TCP Data received {"connection_id":171612,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171612,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:49:57] local.INFO: Processing buffer {"connection_id":171612,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:49:57] local.INFO: IMEI packet received {"connection_id":171612,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":171612,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:49:58] local.INFO: TCP Data received {"connection_id":171612,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070d9ad48012c7939c00848c5f00014000129..."} 
[2026-09-05 14:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d9ad48012c7939c00848c5f00014000129..."} 
[2026-09-05 14:49:58] local.INFO: Processing buffer {"connection_id":171612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d9ad48012c7939c00848c5f00014000129..."} 
[2026-09-05 14:49:58] local.INFO: Packet analysis {"connection_id":171612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d9"} 
[2026-09-05 14:49:58] local.INFO: Extracted packet for processing {"connection_id":171612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d9"} 
[2026-09-05 14:49:58] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881448448001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:49:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788599709000,"timestamp_ms":1788599709000,"timestamp_seconds":1788599709,"priority":1,"record_length":96,"hex_timestamp":"000001a070d9ad48"} 
[2026-09-05 14:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171612,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171612,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881448448001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881448448001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:49:58] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:49:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:49:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881448448001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":171612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769147,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:49:58] local.INFO: GPS data processed {"connection_id":171612,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:49:58] local.INFO: Acknowledgment sent {"connection_id":171612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:50:00] local.INFO: TCP Data received {"connection_id":173000,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:50:00] local.INFO: Processing buffer {"connection_id":173000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:50:00] local.INFO: IMEI packet received {"connection_id":173000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 14:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":173000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:50:01] local.INFO: TCP Data received {"connection_id":171613,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:50:01] local.INFO: Processing buffer {"connection_id":171613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:50:01] local.INFO: IMEI packet received {"connection_id":171613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":171613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:50:02] local.INFO: TCP Data received {"connection_id":173000,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070db89d8012d7cf24005ec3a78000a010810..."} 
[2026-09-05 14:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070db89d8012d7cf24005ec3a78000a010810..."} 
[2026-09-05 14:50:02] local.INFO: Processing buffer {"connection_id":173000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070db89d8012d7cf24005ec3a78000a010810..."} 
[2026-09-05 14:50:02] local.INFO: Packet analysis {"connection_id":173000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070db"} 
[2026-09-05 14:50:02] local.INFO: Extracted packet for processing {"connection_id":173000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070db"} 
[2026-09-05 14:50:02] local.INFO: GPS Element Parsed {"raw_longitude":763163200,"raw_latitude":99367544,"longitude_deg":76.31632,"latitude_deg":9.9367544,"altitude":10,"angle":264,"satellites":16,"speed":3,"hex_longitude":"2d7cf240","hex_latitude":"05ec3a78","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881553920001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489358318632960,"note":"Value kept but may cause issues"} 
[2026-09-05 14:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003328999249315840,"note":"Value kept but may cause issues"} 
[2026-09-05 14:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788599831000,"timestamp_ms":1788599831000,"timestamp_seconds":1788599831,"priority":1,"record_length":96,"hex_timestamp":"000001a070db89d8"} 
[2026-09-05 14:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:50:02] 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-09-05 14: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-05 14:50:02] 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-09-05 14: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-09-05 14:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881553920001,"66":13798,"110":206,"87":13824,"24":3,"16":128489358318632960,"45":9003328999249315840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-05 14:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 14:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 14:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881553920001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:50:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 14:50:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 14:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489358318632960,"km_value":128489358318632.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003328999249315840,"description":"Unknown IO ID 45"} 
[2026-09-05 14:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881553920001,"power":13798,"unknown_110":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9003328999249315840}} 
[2026-09-05 14:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":173000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769148,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:50:02] local.INFO: GPS data processed {"connection_id":173000,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:50:02] local.INFO: Acknowledgment sent {"connection_id":173000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:50:02] local.INFO: TCP Data received {"connection_id":171613,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070dc6c68012d82bb00060672d0001400a122..."} 
[2026-09-05 14:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070dc6c68012d82bb00060672d0001400a122..."} 
[2026-09-05 14:50:02] local.INFO: Processing buffer {"connection_id":171613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070dc6c68012d82bb00060672d0001400a122..."} 
[2026-09-05 14:50:02] local.INFO: Packet analysis {"connection_id":171613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070dc"} 
[2026-09-05 14:50:02] local.INFO: Extracted packet for processing {"connection_id":171613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070dc"} 
[2026-09-05 14:50:02] local.INFO: GPS Element Parsed {"raw_longitude":763542272,"raw_latitude":101085904,"longitude_deg":76.3542272,"latitude_deg":10.1085904,"altitude":20,"angle":161,"satellites":34,"speed":0,"hex_longitude":"2d82bb00","hex_latitude":"060672d0","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881493760001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399824913675845632,"note":"Value kept but may cause issues"} 
[2026-09-05 14:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026198789790824448,"note":"Value kept but may cause issues"} 
[2026-09-05 14:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788599889000,"timestamp_ms":1788599889000,"timestamp_seconds":1788599889,"priority":1,"record_length":96,"hex_timestamp":"000001a070dc6c68"} 
[2026-09-05 14:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:50:02] 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-09-05 14:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 14:50: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-09-05 14: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-09-05 14:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881493760001,"66":26484,"235":206,"87":10496,"24":0,"16":399824913675845632,"45":-9026198789790824448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,87,24,16,45]} 
[2026-09-05 14:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881493760001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:50:02] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 14:50:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399824913675845632,"km_value":399824913675845.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026198789790824448,"description":"Unknown IO ID 45"} 
[2026-09-05 14:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881493760001,"power":26484,"unknown_235":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9026198789790824448}} 
[2026-09-05 14:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":171613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:50:02] local.INFO: GPS data processed {"connection_id":171613,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:50:02] local.INFO: Acknowledgment sent {"connection_id":171613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:50:03] local.INFO: TCP Data received {"connection_id":171612,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070d9ad48012c7939c00848c5f00014000129..."} 
[2026-09-05 14:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070d9ad48012c7939c00848c5f00014000129..."} 
[2026-09-05 14:50:03] local.INFO: Processing buffer {"connection_id":171612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070d9ad48012c7939c00848c5f00014000129..."} 
[2026-09-05 14:50:03] local.INFO: Packet analysis {"connection_id":171612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070d9"} 
[2026-09-05 14:50:03] local.INFO: Extracted packet for processing {"connection_id":171612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070d9"} 
[2026-09-05 14:50:03] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881448448001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:50:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788599709000,"timestamp_ms":1788599709000,"timestamp_seconds":1788599709,"priority":1,"record_length":96,"hex_timestamp":"000001a070d9ad48"} 
[2026-09-05 14:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171612,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171612,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881448448001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881448448001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:50:03] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:50:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:50:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881448448001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":171612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769150,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:50:03] local.INFO: GPS data processed {"connection_id":171612,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:50:03] local.INFO: Acknowledgment sent {"connection_id":171612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:50:21] local.INFO: TCP Data received {"connection_id":171917,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070dd08a8012d0aedc0072002100017009e27..."} 
[2026-09-05 14:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070dd08a8012d0aedc0072002100017009e27..."} 
[2026-09-05 14:50:21] local.INFO: Processing buffer {"connection_id":171917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070dd08a8012d0aedc0072002100017009e27..."} 
[2026-09-05 14:50:21] local.INFO: Packet analysis {"connection_id":171917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070dd"} 
[2026-09-05 14:50:21] local.INFO: Extracted packet for processing {"connection_id":171917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070dd"} 
[2026-09-05 14:50:21] local.INFO: GPS Element Parsed {"raw_longitude":755690944,"raw_latitude":119538192,"longitude_deg":75.5690944,"latitude_deg":11.9538192,"altitude":23,"angle":158,"satellites":39,"speed":43,"hex_longitude":"2d0aedc0","hex_latitude":"07200210","is_valid_coordinates":true} 
[2026-09-05 14:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881580800001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17876920901304320,"note":"Value kept but may cause issues"} 
[2026-09-05 14:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":786511484276563968,"note":"Value kept but may cause issues"} 
[2026-09-05 14:50:21] 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-09-05 14:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788599929000,"timestamp_ms":1788599929000,"timestamp_seconds":1788599929,"priority":1,"record_length":96,"hex_timestamp":"000001a070dd08a8"} 
[2026-09-05 14:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:50:21] 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-09-05 14:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-05 14:50:21] 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-09-05 14:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881580800001,"66":13852,"243":206,"83":41984,"24":43,"16":17876920901304320,"45":786511484276563968},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,45]} 
[2026-09-05 14:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881580800001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:50:21] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-05 14:50:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 14:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17876920901304320,"km_value":17876920901304.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":786511484276563968,"description":"Unknown IO ID 45"} 
[2026-09-05 14:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881580800001,"power":13852,"unknown_243":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":786511484276563968}} 
[2026-09-05 14:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":171917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:50:22] local.INFO: GPS data processed {"connection_id":171917,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:50:22] local.INFO: Acknowledgment sent {"connection_id":171917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:50:33] local.INFO: TCP Data received {"connection_id":173000,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070dbd7f8012d7cf18005ec3a88000a010714..."} 
[2026-09-05 14:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070dbd7f8012d7cf18005ec3a88000a010714..."} 
[2026-09-05 14:50:33] local.INFO: Processing buffer {"connection_id":173000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070dbd7f8012d7cf18005ec3a88000a010714..."} 
[2026-09-05 14:50:33] local.INFO: Packet analysis {"connection_id":173000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070db"} 
[2026-09-05 14:50:33] local.INFO: Extracted packet for processing {"connection_id":173000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070db"} 
[2026-09-05 14:50:33] local.INFO: GPS Element Parsed {"raw_longitude":763163008,"raw_latitude":99367560,"longitude_deg":76.3163008,"latitude_deg":9.936756,"altitude":10,"angle":263,"satellites":20,"speed":0,"hex_longitude":"2d7cf180","hex_latitude":"05ec3a88","is_valid_coordinates":true} 
[2026-09-05 14:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881556736001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489379793469440,"note":"Value kept but may cause issues"} 
[2026-09-05 14:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003328999249311744,"note":"Value kept but may cause issues"} 
[2026-09-05 14:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788599851000,"timestamp_ms":1788599851000,"timestamp_seconds":1788599851,"priority":1,"record_length":96,"hex_timestamp":"000001a070dbd7f8"} 
[2026-09-05 14:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 14:50: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-09-05 14:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881556736001,"66":13830,"110":206,"87":13824,"24":0,"16":128489379793469440,"45":9003328999249311744},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-05 14:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 14:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 14:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881556736001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:50:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 14:50:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 14:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489379793469440,"km_value":128489379793469.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003328999249311744,"description":"Unknown IO ID 45"} 
[2026-09-05 14:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881556736001,"power":13830,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9003328999249311744}} 
[2026-09-05 14:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":173000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769152,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:50:33] local.INFO: GPS data processed {"connection_id":173000,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:50:33] local.INFO: Acknowledgment sent {"connection_id":173000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:50:33] local.INFO: TCP Data received {"connection_id":171613,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070dc6c68012d82bb00060672d0001400a122..."} 
[2026-09-05 14:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070dc6c68012d82bb00060672d0001400a122..."} 
[2026-09-05 14:50:33] local.INFO: Processing buffer {"connection_id":171613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070dc6c68012d82bb00060672d0001400a122..."} 
[2026-09-05 14:50:33] local.INFO: Packet analysis {"connection_id":171613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070dc"} 
[2026-09-05 14:50:33] local.INFO: Extracted packet for processing {"connection_id":171613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070dc"} 
[2026-09-05 14:50:33] local.INFO: GPS Element Parsed {"raw_longitude":763542272,"raw_latitude":101085904,"longitude_deg":76.3542272,"latitude_deg":10.1085904,"altitude":20,"angle":161,"satellites":34,"speed":0,"hex_longitude":"2d82bb00","hex_latitude":"060672d0","is_valid_coordinates":true} 
[2026-09-05 14:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881493760001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399824913675845632,"note":"Value kept but may cause issues"} 
[2026-09-05 14:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026198789790824448,"note":"Value kept but may cause issues"} 
[2026-09-05 14:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788599889000,"timestamp_ms":1788599889000,"timestamp_seconds":1788599889,"priority":1,"record_length":96,"hex_timestamp":"000001a070dc6c68"} 
[2026-09-05 14:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:50: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-09-05 14:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 14:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881493760001,"66":26484,"235":206,"87":10496,"24":0,"16":399824913675845632,"45":-9026198789790824448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,87,24,16,45]} 
[2026-09-05 14:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881493760001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:50:33] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 14:50:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399824913675845632,"km_value":399824913675845.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026198789790824448,"description":"Unknown IO ID 45"} 
[2026-09-05 14:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881493760001,"power":26484,"unknown_235":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9026198789790824448}} 
[2026-09-05 14:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":171613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:50:33] local.INFO: GPS data processed {"connection_id":171613,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:50:33] local.INFO: Acknowledgment sent {"connection_id":171613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:50:44] local.INFO: TCP Data received {"connection_id":171614,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:50:44] local.INFO: Processing buffer {"connection_id":171614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:50:44] local.INFO: IMEI packet received {"connection_id":171614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":171614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:50:44] local.INFO: TCP Data received {"connection_id":171614,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:50:44] local.INFO: Processing buffer {"connection_id":171614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:50:44] local.INFO: IMEI packet received {"connection_id":171614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":171614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:50:46] local.INFO: TCP Data received {"connection_id":171614,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:50:46] local.INFO: Processing buffer {"connection_id":171614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:50:46] local.INFO: IMEI packet received {"connection_id":171614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":171614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:50:47] local.INFO: TCP Data received {"connection_id":174324,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:50:47] local.INFO: Processing buffer {"connection_id":174324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:50:47] local.INFO: IMEI packet received {"connection_id":174324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":174324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:50:48] local.INFO: TCP Data received {"connection_id":174324,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:50:48] local.INFO: Processing buffer {"connection_id":174324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:50:48] local.INFO: IMEI packet received {"connection_id":174324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":174324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:50:50] local.INFO: TCP Data received {"connection_id":171614,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:50:50] local.INFO: Processing buffer {"connection_id":171614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:50:50] local.INFO: IMEI packet received {"connection_id":171614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":171614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:50:51] local.INFO: TCP Data received {"connection_id":171614,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070de25d0012d0bcf40071f70100019007d29..."} 
[2026-09-05 14:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070de25d0012d0bcf40071f70100019007d29..."} 
[2026-09-05 14:50:51] local.INFO: Processing buffer {"connection_id":171614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070de25d0012d0bcf40071f70100019007d29..."} 
[2026-09-05 14:50:51] local.INFO: Packet analysis {"connection_id":171614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070de"} 
[2026-09-05 14:50:51] local.INFO: Extracted packet for processing {"connection_id":171614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070de"} 
[2026-09-05 14:50:51] local.INFO: GPS Element Parsed {"raw_longitude":755748672,"raw_latitude":119500816,"longitude_deg":75.5748672,"latitude_deg":11.9500816,"altitude":25,"angle":125,"satellites":41,"speed":48,"hex_longitude":"2d0bcf40","hex_latitude":"071f7010","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881598464001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17880275270762496,"note":"Value kept but may cause issues"} 
[2026-09-05 14:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":841821317191022592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788600002000,"timestamp_ms":1788600002000,"timestamp_seconds":1788600002,"priority":1,"record_length":96,"hex_timestamp":"000001a070de25d0"} 
[2026-09-05 14:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-05 14:50:51] 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-09-05 14: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-09-05 14:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881598464001,"66":14048,"242":206,"83":41984,"24":48,"16":17880275270762496,"45":841821317191022592},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,83,24,16,45]} 
[2026-09-05 14:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881598464001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:50:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-05 14:50:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 14:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17880275270762496,"km_value":17880275270762.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":841821317191022592,"description":"Unknown IO ID 45"} 
[2026-09-05 14:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881598464001,"power":14048,"unknown_242":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":841821317191022592}} 
[2026-09-05 14:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":171614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:50:51] local.INFO: GPS data processed {"connection_id":171614,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:50:51] local.INFO: Acknowledgment sent {"connection_id":171614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:50:52] local.INFO: TCP Data received {"connection_id":174324,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:50:52] local.INFO: Processing buffer {"connection_id":174324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:50:52] local.INFO: IMEI packet received {"connection_id":174324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":174324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:50:54] local.INFO: TCP Data received {"connection_id":174324,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070de4510012c7939c00848c5f00014000129..."} 
[2026-09-05 14:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070de4510012c7939c00848c5f00014000129..."} 
[2026-09-05 14:50:54] local.INFO: Processing buffer {"connection_id":174324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070de4510012c7939c00848c5f00014000129..."} 
[2026-09-05 14:50:54] local.INFO: Packet analysis {"connection_id":174324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070de"} 
[2026-09-05 14:50:54] local.INFO: Extracted packet for processing {"connection_id":174324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070de"} 
[2026-09-05 14:50:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881525504001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:50:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788600010000,"timestamp_ms":1788600010000,"timestamp_seconds":1788600010,"priority":1,"record_length":96,"hex_timestamp":"000001a070de4510"} 
[2026-09-05 14:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:50:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881525504001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881525504001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:50:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:50:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:50:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881525504001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":174324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769155,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:50:54] local.INFO: GPS data processed {"connection_id":174324,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:50:54] local.INFO: Acknowledgment sent {"connection_id":174324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:50:58] local.INFO: TCP Data received {"connection_id":174324,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070de4510012c7939c00848c5f00014000129..."} 
[2026-09-05 14:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070de4510012c7939c00848c5f00014000129..."} 
[2026-09-05 14:50:58] local.INFO: Processing buffer {"connection_id":174324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070de4510012c7939c00848c5f00014000129..."} 
[2026-09-05 14:50:58] local.INFO: Packet analysis {"connection_id":174324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070de"} 
[2026-09-05 14:50:58] local.INFO: Extracted packet for processing {"connection_id":174324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070de"} 
[2026-09-05 14:50:58] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881525504001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:50:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788600010000,"timestamp_ms":1788600010000,"timestamp_seconds":1788600010,"priority":1,"record_length":96,"hex_timestamp":"000001a070de4510"} 
[2026-09-05 14:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881525504001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881525504001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:50:58] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:50:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:50:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881525504001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":174324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769156,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:50:58] local.INFO: GPS data processed {"connection_id":174324,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:50:58] local.INFO: Acknowledgment sent {"connection_id":174324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:51:01] local.INFO: TCP Data received {"connection_id":171918,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:51:01] local.INFO: Processing buffer {"connection_id":171918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:51:01] local.INFO: IMEI packet received {"connection_id":171918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 14:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":171918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:51:01] local.INFO: TCP Data received {"connection_id":173001,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:51:01] local.INFO: Processing buffer {"connection_id":173001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:51:01] local.INFO: IMEI packet received {"connection_id":173001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":173001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:51:05] local.INFO: TCP Data received {"connection_id":171918,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:51:05] local.INFO: Processing buffer {"connection_id":171918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:51:05] local.INFO: IMEI packet received {"connection_id":171918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 14:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":171918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:51:06] local.INFO: TCP Data received {"connection_id":173001,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:51:06] local.INFO: Processing buffer {"connection_id":173001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:51:06] local.INFO: IMEI packet received {"connection_id":173001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":173001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:51:06] local.INFO: TCP Data received {"connection_id":171918,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070dc2a00012d7cf18005ec3a780009010717..."} 
[2026-09-05 14:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070dc2a00012d7cf18005ec3a780009010717..."} 
[2026-09-05 14:51:06] local.INFO: Processing buffer {"connection_id":171918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070dc2a00012d7cf18005ec3a780009010717..."} 
[2026-09-05 14:51:06] local.INFO: Packet analysis {"connection_id":171918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070dc"} 
[2026-09-05 14:51:06] local.INFO: Extracted packet for processing {"connection_id":171918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070dc"} 
[2026-09-05 14:51:06] local.INFO: GPS Element Parsed {"raw_longitude":763163008,"raw_latitude":99367544,"longitude_deg":76.3163008,"latitude_deg":9.9367544,"altitude":9,"angle":263,"satellites":23,"speed":0,"hex_longitude":"2d7cf180","hex_latitude":"05ec3a78","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881561856001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489384088436736,"note":"Value kept but may cause issues"} 
[2026-09-05 14:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003117893016782848,"note":"Value kept but may cause issues"} 
[2026-09-05 14:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788599872000,"timestamp_ms":1788599872000,"timestamp_seconds":1788599872,"priority":1,"record_length":96,"hex_timestamp":"000001a070dc2a00"} 
[2026-09-05 14:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:51:06] 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-09-05 14:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-05 14:51:06] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-09-05 14:51:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627255308288,"note":"Value kept but may cause issues"} 
[2026-09-05 14:51:06] local.WARNING: Large IO value detected {"io_id":112,"raw_value":3670700033,"note":"Value kept but may cause issues"} 
[2026-09-05 14:51:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-09-05 14:51:06] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":2147871802,"corrected_to":0} 
[2026-09-05 14:51:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2085617664,"corrected_to":0} 
[2026-09-05 14:51:06] local.WARNING: Large IO value detected {"io_id":42,"raw_value":5188428245707522048,"note":"Value kept but may cause issues"} 
[2026-09-05 14:51:06] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,110,87,24,241,157,16,124,160,137,45,64,58,10,66,94,15,1,240,252,227,112,236,4,113,205,159,247,11,239,54,2,200,42],"length":528,"final_offset":658,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0},{"io_id":247,"original":2147871802,"validated":0},{"io_id":200,"original":2085617664,"validated":0}]} 
[2026-09-05 14:51:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720865197836730368,"timestamp_seconds":720865197836730.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 14:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881561856001,"66":13624,"110":206,"87":13824,"24":0,"16":128489384088436736,"45":9003117893016782848},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-05 14:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 14:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 14:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881561856001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:51:06] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 14:51:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 14:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489384088436736,"km_value":128489384088436.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003117893016782848,"description":"Unknown IO ID 45"} 
[2026-09-05 14:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881561856001,"power":13624,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9003117893016782848}} 
[2026-09-05 14:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":171918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769157,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:51:06] local.INFO: GPS data processed {"connection_id":171918,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:51:06] local.INFO: Acknowledgment sent {"connection_id":171918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:51:07] local.INFO: TCP Data received {"connection_id":173001,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a070dc6c68012d82bb00060672d0001400a122..."} 
[2026-09-05 14:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070dc6c68012d82bb00060672d0001400a122..."} 
[2026-09-05 14:51:07] local.INFO: Processing buffer {"connection_id":173001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070dc6c68012d82bb00060672d0001400a122..."} 
[2026-09-05 14:51:07] local.INFO: Packet analysis {"connection_id":173001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070dc"} 
[2026-09-05 14:51:07] local.INFO: Extracted packet for processing {"connection_id":173001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070dc"} 
[2026-09-05 14:51:07] local.INFO: GPS Element Parsed {"raw_longitude":763542272,"raw_latitude":101085904,"longitude_deg":76.3542272,"latitude_deg":10.1085904,"altitude":20,"angle":161,"satellites":34,"speed":0,"hex_longitude":"2d82bb00","hex_latitude":"060672d0","is_valid_coordinates":true} 
[2026-09-05 14:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881493760001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399824913675845632,"note":"Value kept but may cause issues"} 
[2026-09-05 14:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026198789790824448,"note":"Value kept but may cause issues"} 
[2026-09-05 14:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788599889000,"timestamp_ms":1788599889000,"timestamp_seconds":1788599889,"priority":1,"record_length":96,"hex_timestamp":"000001a070dc6c68"} 
[2026-09-05 14:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:51: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-09-05 14:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 14:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881493760001,"66":26484,"235":206,"87":10496,"24":0,"16":399824913675845632,"45":-9026198789790824448},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,87,24,16,45]} 
[2026-09-05 14:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881493760001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:51:07] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 14:51:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399824913675845632,"km_value":399824913675845.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026198789790824448,"description":"Unknown IO ID 45"} 
[2026-09-05 14:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881493760001,"power":26484,"unknown_235":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9026198789790824448}} 
[2026-09-05 14:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":173001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:51:07] local.INFO: GPS data processed {"connection_id":173001,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:51:07] local.INFO: Acknowledgment sent {"connection_id":173001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:51:10] local.INFO: TCP Data received {"connection_id":171918,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070dc6c68012d7cf18005ec3a880009011b17..."} 
[2026-09-05 14:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070dc6c68012d7cf18005ec3a880009011b17..."} 
[2026-09-05 14:51:10] local.INFO: Processing buffer {"connection_id":171918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070dc6c68012d7cf18005ec3a880009011b17..."} 
[2026-09-05 14:51:10] local.INFO: Packet analysis {"connection_id":171918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070dc"} 
[2026-09-05 14:51:10] local.INFO: Extracted packet for processing {"connection_id":171918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070dc"} 
[2026-09-05 14:51:10] local.INFO: GPS Element Parsed {"raw_longitude":763163008,"raw_latitude":99367560,"longitude_deg":76.3163008,"latitude_deg":9.936756,"altitude":9,"angle":283,"satellites":23,"speed":2,"hex_longitude":"2d7cf180","hex_latitude":"05ec3a88","is_valid_coordinates":true} 
[2026-09-05 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-09-05 14:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881567232001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489388383404032,"note":"Value kept but may cause issues"} 
[2026-09-05 14:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003117893016778752,"note":"Value kept but may cause issues"} 
[2026-09-05 14:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788599889000,"timestamp_ms":1788599889000,"timestamp_seconds":1788599889,"priority":1,"record_length":96,"hex_timestamp":"000001a070dc6c68"} 
[2026-09-05 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-09-05 14:51:10] 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-09-05 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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-05 14:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 14:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881567232001,"66":14026,"110":206,"87":13824,"24":2,"16":128489388383404032,"45":9003117893016778752},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-05 14:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 14:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 14:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881567232001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:51:10] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 14:51:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 14:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489388383404032,"km_value":128489388383404.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003117893016778752,"description":"Unknown IO ID 45"} 
[2026-09-05 14:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881567232001,"power":14026,"unknown_110":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9003117893016778752}} 
[2026-09-05 14:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":171918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769159,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:51:11] local.INFO: GPS data processed {"connection_id":171918,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:51:11] local.INFO: Acknowledgment sent {"connection_id":171918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:51:11] local.INFO: TCP Data received {"connection_id":173001,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a070dc6c68012d82bb00060672d0001400a122..."} 
[2026-09-05 14:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070dc6c68012d82bb00060672d0001400a122..."} 
[2026-09-05 14:51:11] local.INFO: Processing buffer {"connection_id":173001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070dc6c68012d82bb00060672d0001400a122..."} 
[2026-09-05 14:51:11] local.INFO: Packet analysis {"connection_id":173001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070dc"} 
[2026-09-05 14:51:11] local.INFO: Extracted packet for processing {"connection_id":173001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070dc"} 
[2026-09-05 14:51:11] local.INFO: GPS Element Parsed {"raw_longitude":763542272,"raw_latitude":101085904,"longitude_deg":76.3542272,"latitude_deg":10.1085904,"altitude":20,"angle":161,"satellites":34,"speed":0,"hex_longitude":"2d82bb00","hex_latitude":"060672d0","is_valid_coordinates":true} 
[2026-09-05 14:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881493760001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399824913675845632,"note":"Value kept but may cause issues"} 
[2026-09-05 14:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026198789790824448,"note":"Value kept but may cause issues"} 
[2026-09-05 14:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788599889000,"timestamp_ms":1788599889000,"timestamp_seconds":1788599889,"priority":1,"record_length":96,"hex_timestamp":"000001a070dc6c68"} 
[2026-09-05 14:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:51: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-09-05 14:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 14:51:11] 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-09-05 14:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881493760001,"66":26484,"235":206,"87":10496,"24":0,"16":399824913675845632,"45":-9026198789790824448},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,87,24,16,45]} 
[2026-09-05 14:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881493760001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:51:11] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 14:51:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399824913675845632,"km_value":399824913675845.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026198789790824448,"description":"Unknown IO ID 45"} 
[2026-09-05 14:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881493760001,"power":26484,"unknown_235":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9026198789790824448}} 
[2026-09-05 14:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":173001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:51:11] local.INFO: GPS data processed {"connection_id":173001,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:51:11] local.INFO: Acknowledgment sent {"connection_id":173001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:51:22] local.INFO: TCP Data received {"connection_id":171614,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070de2da0012d0bd600071f69f0001a008929..."} 
[2026-09-05 14:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070de2da0012d0bd600071f69f0001a008929..."} 
[2026-09-05 14:51:22] local.INFO: Processing buffer {"connection_id":171614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070de2da0012d0bd600071f69f0001a008929..."} 
[2026-09-05 14:51:22] local.INFO: Packet analysis {"connection_id":171614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070de"} 
[2026-09-05 14:51:22] local.INFO: Extracted packet for processing {"connection_id":171614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070de"} 
[2026-09-05 14:51:22] local.INFO: GPS Element Parsed {"raw_longitude":755750400,"raw_latitude":119499248,"longitude_deg":75.57504,"latitude_deg":11.9499248,"altitude":26,"angle":137,"satellites":41,"speed":46,"hex_longitude":"2d0bd600","hex_latitude":"071f69f0","is_valid_coordinates":true} 
[2026-09-05 14:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881600512001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17880386939912192,"note":"Value kept but may cause issues"} 
[2026-09-05 14:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":850969253932699648,"note":"Value kept but may cause issues"} 
[2026-09-05 14:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788600004000,"timestamp_ms":1788600004000,"timestamp_seconds":1788600004,"priority":1,"record_length":96,"hex_timestamp":"000001a070de2da0"} 
[2026-09-05 14:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-05 14:51:22] 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-09-05 14:51:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881600512001,"66":13928,"242":206,"83":41984,"24":46,"16":17880386939912192,"45":850969253932699648},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,83,24,16,45]} 
[2026-09-05 14:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881600512001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:51:22] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-05 14:51:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 14:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17880386939912192,"km_value":17880386939912.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":850969253932699648,"description":"Unknown IO ID 45"} 
[2026-09-05 14:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881600512001,"power":13928,"unknown_242":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":850969253932699648}} 
[2026-09-05 14:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":171614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:51:22] local.INFO: GPS data processed {"connection_id":171614,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:51:22] local.INFO: Acknowledgment sent {"connection_id":171614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:51:30] local.INFO: TCP Data received {"connection_id":174324,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070de4510012c7939c00848c5f00014000129..."} 
[2026-09-05 14:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070de4510012c7939c00848c5f00014000129..."} 
[2026-09-05 14:51:30] local.INFO: Processing buffer {"connection_id":174324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070de4510012c7939c00848c5f00014000129..."} 
[2026-09-05 14:51:30] local.INFO: Packet analysis {"connection_id":174324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070de"} 
[2026-09-05 14:51:30] local.INFO: Extracted packet for processing {"connection_id":174324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070de"} 
[2026-09-05 14:51:30] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881525504001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:51:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788600010000,"timestamp_ms":1788600010000,"timestamp_seconds":1788600010,"priority":1,"record_length":96,"hex_timestamp":"000001a070de4510"} 
[2026-09-05 14:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:51: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-09-05 14:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881525504001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881525504001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:51:30] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:51:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:51:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881525504001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":174324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769162,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:51:30] local.INFO: GPS data processed {"connection_id":174324,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:51:30] local.INFO: Acknowledgment sent {"connection_id":174324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:51:44] local.INFO: TCP Data received {"connection_id":174325,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:51:44] local.INFO: Processing buffer {"connection_id":174325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:51:44] local.INFO: IMEI packet received {"connection_id":174325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":174325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:51:47] local.INFO: TCP Data received {"connection_id":173002,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173002,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:51:47] local.INFO: Processing buffer {"connection_id":173002,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:51:47] local.INFO: IMEI packet received {"connection_id":173002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":173002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:51:49] local.INFO: TCP Data received {"connection_id":174325,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:51:49] local.INFO: Processing buffer {"connection_id":174325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:51:49] local.INFO: IMEI packet received {"connection_id":174325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":174325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:51:49] local.INFO: TCP Data received {"connection_id":174325,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:51:49] local.INFO: Processing buffer {"connection_id":174325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:51:49] local.INFO: IMEI packet received {"connection_id":174325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":174325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:51:50] local.INFO: TCP Data received {"connection_id":174325,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070df0478012d0c22c0071eab500037009a26..."} 
[2026-09-05 14:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070df0478012d0c22c0071eab500037009a26..."} 
[2026-09-05 14:51:50] local.INFO: Processing buffer {"connection_id":174325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070df0478012d0c22c0071eab500037009a26..."} 
[2026-09-05 14:51:50] local.INFO: Packet analysis {"connection_id":174325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070df"} 
[2026-09-05 14:51:50] local.INFO: Extracted packet for processing {"connection_id":174325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070df"} 
[2026-09-05 14:51:50] local.INFO: GPS Element Parsed {"raw_longitude":755770048,"raw_latitude":119450448,"longitude_deg":75.5770048,"latitude_deg":11.9450448,"altitude":55,"angle":154,"satellites":38,"speed":15,"hex_longitude":"2d0c22c0","hex_latitude":"071eab50","is_valid_coordinates":true} 
[2026-09-05 14:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881614848001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17883041229701120,"note":"Value kept but may cause issues"} 
[2026-09-05 14:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874261308242716672,"note":"Value kept but may cause issues"} 
[2026-09-05 14:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788600059000,"timestamp_ms":1788600059000,"timestamp_seconds":1788600059,"priority":1,"record_length":96,"hex_timestamp":"000001a070df0478"} 
[2026-09-05 14:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 14:51:50] 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-09-05 14:51:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881614848001,"66":13993,"155":206,"83":41984,"24":15,"16":17883041229701120,"45":874261308242716672},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-05 14:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881614848001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:51:50] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-05 14:51:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 14:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17883041229701120,"km_value":17883041229701.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":874261308242716672,"description":"Unknown IO ID 45"} 
[2026-09-05 14:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881614848001,"power":13993,"unknown_155":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":874261308242716672}} 
[2026-09-05 14:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":174325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:51:50] local.INFO: GPS data processed {"connection_id":174325,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:51:50] local.INFO: Acknowledgment sent {"connection_id":174325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:51:51] local.INFO: TCP Data received {"connection_id":174325,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070df0860012d0c2380071eaa180037008727..."} 
[2026-09-05 14:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070df0860012d0c2380071eaa180037008727..."} 
[2026-09-05 14:51:51] local.INFO: Processing buffer {"connection_id":174325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070df0860012d0c2380071eaa180037008727..."} 
[2026-09-05 14:51:51] local.INFO: Packet analysis {"connection_id":174325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070df"} 
[2026-09-05 14:51:51] local.INFO: Extracted packet for processing {"connection_id":174325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070df"} 
[2026-09-05 14:51:51] local.INFO: GPS Element Parsed {"raw_longitude":755770240,"raw_latitude":119450136,"longitude_deg":75.577024,"latitude_deg":11.9450136,"altitude":55,"angle":135,"satellites":39,"speed":15,"hex_longitude":"2d0c2380","hex_latitude":"071eaa18","is_valid_coordinates":true} 
[2026-09-05 14:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881615104001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17883058409570304,"note":"Value kept but may cause issues"} 
[2026-09-05 14:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874472414475145216,"note":"Value kept but may cause issues"} 
[2026-09-05 14:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788600060000,"timestamp_ms":1788600060000,"timestamp_seconds":1788600060,"priority":1,"record_length":96,"hex_timestamp":"000001a070df0860"} 
[2026-09-05 14:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 14:51:51] 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-09-05 14:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881615104001,"66":13928,"155":206,"83":41984,"24":15,"16":17883058409570304,"45":874472414475145216},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-05 14:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881615104001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:51:51] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-05 14:51:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 14:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17883058409570304,"km_value":17883058409570.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":874472414475145216,"description":"Unknown IO ID 45"} 
[2026-09-05 14:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881615104001,"power":13928,"unknown_155":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":874472414475145216}} 
[2026-09-05 14:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":174325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:51:51] local.INFO: GPS data processed {"connection_id":174325,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:51:51] local.INFO: Acknowledgment sent {"connection_id":174325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:51:52] local.INFO: TCP Data received {"connection_id":173002,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173002,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:51:52] local.INFO: Processing buffer {"connection_id":173002,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:51:52] local.INFO: IMEI packet received {"connection_id":173002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":173002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:51:53] local.INFO: TCP Data received {"connection_id":173002,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070de4510012c7939c00848c5f00014000129..."} 
[2026-09-05 14:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070de4510012c7939c00848c5f00014000129..."} 
[2026-09-05 14:51:53] local.INFO: Processing buffer {"connection_id":173002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070de4510012c7939c00848c5f00014000129..."} 
[2026-09-05 14:51:53] local.INFO: Packet analysis {"connection_id":173002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070de"} 
[2026-09-05 14:51:53] local.INFO: Extracted packet for processing {"connection_id":173002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070de"} 
[2026-09-05 14:51:53] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881525504001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:51:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788600010000,"timestamp_ms":1788600010000,"timestamp_seconds":1788600010,"priority":1,"record_length":96,"hex_timestamp":"000001a070de4510"} 
[2026-09-05 14:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:51:53] 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-09-05 14: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-09-05 14:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881525504001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881525504001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:51:53] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:51:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:51:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881525504001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":173002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769165,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:51:54] local.INFO: GPS data processed {"connection_id":173002,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:51:54] local.INFO: Acknowledgment sent {"connection_id":173002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:51:55] local.INFO: TCP Data received {"connection_id":171615,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171615,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:51:55] local.INFO: Processing buffer {"connection_id":171615,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:51:55] local.INFO: IMEI packet received {"connection_id":171615,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 14:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":171615,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:51:56] local.INFO: TCP Data received {"connection_id":174326,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:51:56] local.INFO: Processing buffer {"connection_id":174326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:51:56] local.INFO: IMEI packet received {"connection_id":174326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":174326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:52:00] local.INFO: TCP Data received {"connection_id":171615,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171615,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:52:00] local.INFO: Processing buffer {"connection_id":171615,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:52:00] local.INFO: IMEI packet received {"connection_id":171615,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 14:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":171615,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:52:01] local.INFO: TCP Data received {"connection_id":171615,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070dc7438012d7cf04005ec3aa00009010e17..."} 
[2026-09-05 14:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070dc7438012d7cf04005ec3aa00009010e17..."} 
[2026-09-05 14:52:01] local.INFO: Processing buffer {"connection_id":171615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070dc7438012d7cf04005ec3aa00009010e17..."} 
[2026-09-05 14:52:01] local.INFO: Packet analysis {"connection_id":171615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070dc"} 
[2026-09-05 14:52:01] local.INFO: Extracted packet for processing {"connection_id":171615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070dc"} 
[2026-09-05 14:52:01] local.INFO: GPS Element Parsed {"raw_longitude":763162688,"raw_latitude":99367584,"longitude_deg":76.3162688,"latitude_deg":9.9367584,"altitude":9,"angle":270,"satellites":23,"speed":9,"hex_longitude":"2d7cf040","hex_latitude":"05ec3aa0","is_valid_coordinates":true} 
[2026-09-05 14:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881571584001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128489401268305920,"note":"Value kept but may cause issues"} 
[2026-09-05 14:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003117893016782848,"note":"Value kept but may cause issues"} 
[2026-09-05 14:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788599891000,"timestamp_ms":1788599891000,"timestamp_seconds":1788599891,"priority":1,"record_length":96,"hex_timestamp":"000001a070dc7438"} 
[2026-09-05 14:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:52:01] 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-09-05 14:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-05 14:52:01] 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-09-05 14:52:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881571584001,"66":13961,"110":206,"87":13824,"24":9,"16":128489401268305920,"45":9003117893016782848},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-05 14:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 14:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 14:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881571584001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:52:01] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 14:52:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 14:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128489401268305920,"km_value":128489401268305.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003117893016782848,"description":"Unknown IO ID 45"} 
[2026-09-05 14:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881571584001,"power":13961,"unknown_110":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9003117893016782848}} 
[2026-09-05 14:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":171615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769166,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:52:01] local.INFO: GPS data processed {"connection_id":171615,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:52:01] local.INFO: Acknowledgment sent {"connection_id":171615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:52:01] local.INFO: TCP Data received {"connection_id":174326,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:52:01] local.INFO: Processing buffer {"connection_id":174326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:52:01] local.INFO: IMEI packet received {"connection_id":174326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":174326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:52:02] local.INFO: TCP Data received {"connection_id":174326,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070dc6c68012d82bb00060672d0001400a122..."} 
[2026-09-05 14:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070dc6c68012d82bb00060672d0001400a122..."} 
[2026-09-05 14:52:02] local.INFO: Processing buffer {"connection_id":174326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070dc6c68012d82bb00060672d0001400a122..."} 
[2026-09-05 14:52:02] local.INFO: Packet analysis {"connection_id":174326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070dc"} 
[2026-09-05 14:52:02] local.INFO: Extracted packet for processing {"connection_id":174326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070dc"} 
[2026-09-05 14:52:02] local.INFO: GPS Element Parsed {"raw_longitude":763542272,"raw_latitude":101085904,"longitude_deg":76.3542272,"latitude_deg":10.1085904,"altitude":20,"angle":161,"satellites":34,"speed":0,"hex_longitude":"2d82bb00","hex_latitude":"060672d0","is_valid_coordinates":true} 
[2026-09-05 14:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881493760001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399824913675845632,"note":"Value kept but may cause issues"} 
[2026-09-05 14:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026198789790824448,"note":"Value kept but may cause issues"} 
[2026-09-05 14:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788599889000,"timestamp_ms":1788599889000,"timestamp_seconds":1788599889,"priority":1,"record_length":96,"hex_timestamp":"000001a070dc6c68"} 
[2026-09-05 14:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:52:02] 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-09-05 14:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 14:52: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-09-05 14:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881493760001,"66":26484,"235":206,"87":10496,"24":0,"16":399824913675845632,"45":-9026198789790824448},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,87,24,16,45]} 
[2026-09-05 14:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881493760001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:52:02] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 14:52:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399824913675845632,"km_value":399824913675845.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026198789790824448,"description":"Unknown IO ID 45"} 
[2026-09-05 14:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881493760001,"power":26484,"unknown_235":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9026198789790824448}} 
[2026-09-05 14:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":174326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:52:02] local.INFO: GPS data processed {"connection_id":174326,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:52:02] local.INFO: Acknowledgment sent {"connection_id":174326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:52:22] local.INFO: TCP Data received {"connection_id":174325,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070df0c48012d0c2500071ea9380036007527..."} 
[2026-09-05 14:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070df0c48012d0c2500071ea9380036007527..."} 
[2026-09-05 14:52:22] local.INFO: Processing buffer {"connection_id":174325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070df0c48012d0c2500071ea9380036007527..."} 
[2026-09-05 14:52:22] local.INFO: Packet analysis {"connection_id":174325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070df"} 
[2026-09-05 14:52:22] local.INFO: Extracted packet for processing {"connection_id":174325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070df"} 
[2026-09-05 14:52:22] local.INFO: GPS Element Parsed {"raw_longitude":755770624,"raw_latitude":119449912,"longitude_deg":75.5770624,"latitude_deg":11.9449912,"altitude":54,"angle":117,"satellites":39,"speed":20,"hex_longitude":"2d0c2500","hex_latitude":"071ea938","is_valid_coordinates":true} 
[2026-09-05 14:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881615360001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17883079884406784,"note":"Value kept but may cause issues"} 
[2026-09-05 14:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874683520707598336,"note":"Value kept but may cause issues"} 
[2026-09-05 14:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788600061000,"timestamp_ms":1788600061000,"timestamp_seconds":1788600061,"priority":1,"record_length":96,"hex_timestamp":"000001a070df0c48"} 
[2026-09-05 14:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-05 14:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881615360001,"66":13928,"155":206,"83":41984,"24":20,"16":17883079884406784,"45":874683520707598336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-05 14:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881615360001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:52:22] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-05 14:52:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 14:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17883079884406784,"km_value":17883079884406.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":874683520707598336,"description":"Unknown IO ID 45"} 
[2026-09-05 14:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881615360001,"power":13928,"unknown_155":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":874683520707598336}} 
[2026-09-05 14:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":174325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:52:22] local.INFO: GPS data processed {"connection_id":174325,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:52:22] local.INFO: Acknowledgment sent {"connection_id":174325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:52:25] local.INFO: TCP Data received {"connection_id":173002,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070de4510012c7939c00848c5f00014000129..."} 
[2026-09-05 14:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070de4510012c7939c00848c5f00014000129..."} 
[2026-09-05 14:52:25] local.INFO: Processing buffer {"connection_id":173002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070de4510012c7939c00848c5f00014000129..."} 
[2026-09-05 14:52:25] local.INFO: Packet analysis {"connection_id":173002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070de"} 
[2026-09-05 14:52:25] local.INFO: Extracted packet for processing {"connection_id":173002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070de"} 
[2026-09-05 14:52:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881525504001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:52:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788600010000,"timestamp_ms":1788600010000,"timestamp_seconds":1788600010,"priority":1,"record_length":96,"hex_timestamp":"000001a070de4510"} 
[2026-09-05 14:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:52:25] 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-09-05 14:52:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881525504001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881525504001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:52:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:52:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:52:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881525504001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":173002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769169,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:52:25] local.INFO: GPS data processed {"connection_id":173002,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:52:25] local.INFO: Acknowledgment sent {"connection_id":173002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:52:33] local.INFO: TCP Data received {"connection_id":171615,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070dfbff8012d7c158005ec32e00013010c20..."} 
[2026-09-05 14:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070dfbff8012d7c158005ec32e00013010c20..."} 
[2026-09-05 14:52:33] local.INFO: Processing buffer {"connection_id":171615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070dfbff8012d7c158005ec32e00013010c20..."} 
[2026-09-05 14:52:33] local.INFO: Packet analysis {"connection_id":171615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070df"} 
[2026-09-05 14:52:33] local.INFO: Extracted packet for processing {"connection_id":171615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070df"} 
[2026-09-05 14:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763106688,"raw_latitude":99365600,"longitude_deg":76.3106688,"latitude_deg":9.93656,"altitude":19,"angle":268,"satellites":32,"speed":8,"hex_longitude":"2d7c1580","hex_latitude":"05ec32e0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 14:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881622272001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128492081327898624,"note":"Value kept but may cause issues"} 
[2026-09-05 14:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950341334883102720,"note":"Value kept but may cause issues"} 
[2026-09-05 14:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788600107000,"timestamp_ms":1788600107000,"timestamp_seconds":1788600107,"priority":1,"record_length":96,"hex_timestamp":"000001a070dfbff8"} 
[2026-09-05 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-09-05 14:52:33] 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-09-05 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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-05 14:52:33] 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-09-05 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-09-05 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-09-05 14:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881622272001,"66":13765,"198":206,"87":13824,"24":8,"16":128492081327898624,"45":8950341334883102720},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 14:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 14:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 14:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881622272001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:52:33] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 14:52:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 14:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128492081327898624,"km_value":128492081327898.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950341334883102720,"description":"Unknown IO ID 45"} 
[2026-09-05 14:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881622272001,"power":13765,"unknown_198":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8950341334883102720}} 
[2026-09-05 14:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":171615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769170,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:52:33] local.INFO: GPS data processed {"connection_id":171615,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:52:33] local.INFO: Acknowledgment sent {"connection_id":171615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:52:33] local.INFO: TCP Data received {"connection_id":174326,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070dc6c68012d82bb00060672d0001400a122..."} 
[2026-09-05 14:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070dc6c68012d82bb00060672d0001400a122..."} 
[2026-09-05 14:52:33] local.INFO: Processing buffer {"connection_id":174326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070dc6c68012d82bb00060672d0001400a122..."} 
[2026-09-05 14:52:33] local.INFO: Packet analysis {"connection_id":174326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070dc"} 
[2026-09-05 14:52:33] local.INFO: Extracted packet for processing {"connection_id":174326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070dc"} 
[2026-09-05 14:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763542272,"raw_latitude":101085904,"longitude_deg":76.3542272,"latitude_deg":10.1085904,"altitude":20,"angle":161,"satellites":34,"speed":0,"hex_longitude":"2d82bb00","hex_latitude":"060672d0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 14:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881493760001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399824913675845632,"note":"Value kept but may cause issues"} 
[2026-09-05 14:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026198789790824448,"note":"Value kept but may cause issues"} 
[2026-09-05 14:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788599889000,"timestamp_ms":1788599889000,"timestamp_seconds":1788599889,"priority":1,"record_length":96,"hex_timestamp":"000001a070dc6c68"} 
[2026-09-05 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-09-05 14:52: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-09-05 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 14:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 14:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881493760001,"66":26484,"235":206,"87":10496,"24":0,"16":399824913675845632,"45":-9026198789790824448},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,87,24,16,45]} 
[2026-09-05 14:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881493760001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:52:33] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 14:52:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399824913675845632,"km_value":399824913675845.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026198789790824448,"description":"Unknown IO ID 45"} 
[2026-09-05 14:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881493760001,"power":26484,"unknown_235":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9026198789790824448}} 
[2026-09-05 14:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":174326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:52:33] local.INFO: GPS data processed {"connection_id":174326,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:52:33] local.INFO: Acknowledgment sent {"connection_id":174326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:52:47] local.INFO: TCP Data received {"connection_id":173003,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173003,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:52:47] local.INFO: Processing buffer {"connection_id":173003,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:52:47] local.INFO: IMEI packet received {"connection_id":173003,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":173003,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:52:49] local.INFO: TCP Data received {"connection_id":174327,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:52:49] local.INFO: Processing buffer {"connection_id":174327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:52:49] local.INFO: IMEI packet received {"connection_id":174327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":174327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:52:49] local.INFO: TCP Data received {"connection_id":174327,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:52:49] local.INFO: Processing buffer {"connection_id":174327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:52:49] local.INFO: IMEI packet received {"connection_id":174327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":174327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:52:52] local.INFO: TCP Data received {"connection_id":173004,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:52:52] local.INFO: Processing buffer {"connection_id":173004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:52:52] local.INFO: IMEI packet received {"connection_id":173004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 14:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":173004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:52:52] local.INFO: TCP Data received {"connection_id":173003,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173003,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:52:52] local.INFO: Processing buffer {"connection_id":173003,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:52:52] local.INFO: IMEI packet received {"connection_id":173003,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":173003,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:52:54] local.INFO: TCP Data received {"connection_id":173003,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070de4510012c7939c00848c5f00014000129..."} 
[2026-09-05 14:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070de4510012c7939c00848c5f00014000129..."} 
[2026-09-05 14:52:54] local.INFO: Processing buffer {"connection_id":173003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070de4510012c7939c00848c5f00014000129..."} 
[2026-09-05 14:52:54] local.INFO: Packet analysis {"connection_id":173003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070de"} 
[2026-09-05 14:52:54] local.INFO: Extracted packet for processing {"connection_id":173003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070de"} 
[2026-09-05 14:52:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881525504001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:52:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788600010000,"timestamp_ms":1788600010000,"timestamp_seconds":1788600010,"priority":1,"record_length":96,"hex_timestamp":"000001a070de4510"} 
[2026-09-05 14:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173003,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173003,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881525504001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881525504001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:52:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:52:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:52:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881525504001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":173003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769172,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:52:54] local.INFO: GPS data processed {"connection_id":173003,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:52:54] local.INFO: Acknowledgment sent {"connection_id":173003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:52:55] local.INFO: TCP Data received {"connection_id":174327,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:52:55] local.INFO: Processing buffer {"connection_id":174327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:52:55] local.INFO: IMEI packet received {"connection_id":174327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":174327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:52:55] local.INFO: TCP Data received {"connection_id":173004,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:52:55] local.INFO: Processing buffer {"connection_id":173004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:52:55] local.INFO: IMEI packet received {"connection_id":173004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 14:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":173004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:52:56] local.INFO: TCP Data received {"connection_id":174327,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070dff2c0012d0cc8c0071eae500027005526..."} 
[2026-09-05 14:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070dff2c0012d0cc8c0071eae500027005526..."} 
[2026-09-05 14:52:56] local.INFO: Processing buffer {"connection_id":174327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070dff2c0012d0cc8c0071eae500027005526..."} 
[2026-09-05 14:52:56] local.INFO: Packet analysis {"connection_id":174327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070df"} 
[2026-09-05 14:52:56] local.INFO: Extracted packet for processing {"connection_id":174327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070df"} 
[2026-09-05 14:52:56] local.INFO: GPS Element Parsed {"raw_longitude":755812544,"raw_latitude":119451216,"longitude_deg":75.5812544,"latitude_deg":11.9451216,"altitude":39,"angle":85,"satellites":38,"speed":12,"hex_longitude":"2d0cc8c0","hex_latitude":"071eae50","is_valid_coordinates":true} 
[2026-09-05 14:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881630208001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17885150058643456,"note":"Value kept but may cause issues"} 
[2026-09-05 14:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":920282466934968320,"note":"Value kept but may cause issues"} 
[2026-09-05 14:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788600120000,"timestamp_ms":1788600120000,"timestamp_seconds":1788600120,"priority":1,"record_length":96,"hex_timestamp":"000001a070dff2c0"} 
[2026-09-05 14:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-09-05 14:52:56] 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-09-05 14:52:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881630208001,"66":14070,"155":206,"83":41984,"24":12,"16":17885150058643456,"45":920282466934968320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-05 14:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881630208001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:52:56] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-05 14:52:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 14:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17885150058643456,"km_value":17885150058643.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":920282466934968320,"description":"Unknown IO ID 45"} 
[2026-09-05 14:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881630208001,"power":14070,"unknown_155":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":920282466934968320}} 
[2026-09-05 14:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":174327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:52:56] local.INFO: GPS data processed {"connection_id":174327,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:52:56] local.INFO: Acknowledgment sent {"connection_id":174327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:52:56] local.INFO: TCP Data received {"connection_id":173005,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:52:56] local.INFO: Processing buffer {"connection_id":173005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:52:56] local.INFO: IMEI packet received {"connection_id":173005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":173005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:53:00] local.INFO: TCP Data received {"connection_id":173004,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:53:00] local.INFO: Processing buffer {"connection_id":173004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:53:00] local.INFO: IMEI packet received {"connection_id":173004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 14:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":173004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:53:00] local.INFO: TCP Data received {"connection_id":174327,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070dff6a8012d0cc940071eae080026006927..."} 
[2026-09-05 14:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070dff6a8012d0cc940071eae080026006927..."} 
[2026-09-05 14:53:01] local.INFO: Processing buffer {"connection_id":174327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070dff6a8012d0cc940071eae080026006927..."} 
[2026-09-05 14:53:01] local.INFO: Packet analysis {"connection_id":174327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070df"} 
[2026-09-05 14:53:01] local.INFO: Extracted packet for processing {"connection_id":174327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070df"} 
[2026-09-05 14:53:01] local.INFO: GPS Element Parsed {"raw_longitude":755812672,"raw_latitude":119451144,"longitude_deg":75.5812672,"latitude_deg":11.9451144,"altitude":38,"angle":105,"satellites":39,"speed":8,"hex_longitude":"2d0cc940","hex_latitude":"071eae08","is_valid_coordinates":true} 
[2026-09-05 14:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881630720001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17885158648578048,"note":"Value kept but may cause issues"} 
[2026-09-05 14:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":921197260609310720,"note":"Value kept but may cause issues"} 
[2026-09-05 14:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788600121000,"timestamp_ms":1788600121000,"timestamp_seconds":1788600121,"priority":1,"record_length":96,"hex_timestamp":"000001a070dff6a8"} 
[2026-09-05 14:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:53: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-09-05 14:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-05 14:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881630720001,"66":14070,"155":206,"83":41984,"24":8,"16":17885158648578048,"45":921197260609310720},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-05 14:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881630720001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:53:01] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-05 14:53:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 14:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17885158648578048,"km_value":17885158648578.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":921197260609310720,"description":"Unknown IO ID 45"} 
[2026-09-05 14:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881630720001,"power":14070,"unknown_155":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":921197260609310720}} 
[2026-09-05 14:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":174327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:53:01] local.INFO: GPS data processed {"connection_id":174327,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:53:01] local.INFO: Acknowledgment sent {"connection_id":174327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:53:01] local.INFO: TCP Data received {"connection_id":173004,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070e01200012d7bf7c005ec30e00014010520..."} 
[2026-09-05 14:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e01200012d7bf7c005ec30e00014010520..."} 
[2026-09-05 14:53:01] local.INFO: Processing buffer {"connection_id":173004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e01200012d7bf7c005ec30e00014010520..."} 
[2026-09-05 14:53:01] local.INFO: Packet analysis {"connection_id":173004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e0"} 
[2026-09-05 14:53:01] local.INFO: Extracted packet for processing {"connection_id":173004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e0"} 
[2026-09-05 14:53:01] local.INFO: GPS Element Parsed {"raw_longitude":763099072,"raw_latitude":99365088,"longitude_deg":76.3099072,"latitude_deg":9.9365088,"altitude":20,"angle":261,"satellites":32,"speed":14,"hex_longitude":"2d7bf7c0","hex_latitude":"05ec30e0","is_valid_coordinates":true} 
[2026-09-05 14:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881627392001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128492446400118784,"note":"Value kept but may cause issues"} 
[2026-09-05 14:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941193398139936768,"note":"Value kept but may cause issues"} 
[2026-09-05 14:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788600128000,"timestamp_ms":1788600128000,"timestamp_seconds":1788600128,"priority":1,"record_length":96,"hex_timestamp":"000001a070e01200"} 
[2026-09-05 14:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-05 14:53:01] 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-09-05 14:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881627392001,"66":13798,"198":206,"87":13824,"24":14,"16":128492446400118784,"45":8941193398139936768},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 14:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 14:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 14:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881627392001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:53:01] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 14:53:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 14:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128492446400118784,"km_value":128492446400118.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941193398139936768,"description":"Unknown IO ID 45"} 
[2026-09-05 14:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881627392001,"power":13798,"unknown_198":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8941193398139936768}} 
[2026-09-05 14:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":173004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769175,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:53:01] local.INFO: GPS data processed {"connection_id":173004,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:53:01] local.INFO: Acknowledgment sent {"connection_id":173004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:53:01] local.INFO: TCP Data received {"connection_id":173005,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:53:01] local.INFO: Processing buffer {"connection_id":173005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:53:01] local.INFO: IMEI packet received {"connection_id":173005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":173005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:53:02] local.INFO: TCP Data received {"connection_id":173005,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070dc6c68012d82bb00060672d0001400a122..."} 
[2026-09-05 14:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070dc6c68012d82bb00060672d0001400a122..."} 
[2026-09-05 14:53:02] local.INFO: Processing buffer {"connection_id":173005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070dc6c68012d82bb00060672d0001400a122..."} 
[2026-09-05 14:53:02] local.INFO: Packet analysis {"connection_id":173005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070dc"} 
[2026-09-05 14:53:02] local.INFO: Extracted packet for processing {"connection_id":173005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070dc"} 
[2026-09-05 14:53:02] local.INFO: GPS Element Parsed {"raw_longitude":763542272,"raw_latitude":101085904,"longitude_deg":76.3542272,"latitude_deg":10.1085904,"altitude":20,"angle":161,"satellites":34,"speed":0,"hex_longitude":"2d82bb00","hex_latitude":"060672d0","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881493760001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399824913675845632,"note":"Value kept but may cause issues"} 
[2026-09-05 14:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026198789790824448,"note":"Value kept but may cause issues"} 
[2026-09-05 14:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788599889000,"timestamp_ms":1788599889000,"timestamp_seconds":1788599889,"priority":1,"record_length":96,"hex_timestamp":"000001a070dc6c68"} 
[2026-09-05 14:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:53:02] 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-09-05 14:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 14:53: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-09-05 14: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-09-05 14:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881493760001,"66":26484,"235":206,"87":10496,"24":0,"16":399824913675845632,"45":-9026198789790824448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,87,24,16,45]} 
[2026-09-05 14:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881493760001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:53:02] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 14:53:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399824913675845632,"km_value":399824913675845.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026198789790824448,"description":"Unknown IO ID 45"} 
[2026-09-05 14:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881493760001,"power":26484,"unknown_235":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9026198789790824448}} 
[2026-09-05 14:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":173005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:53:02] local.INFO: GPS data processed {"connection_id":173005,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:53:02] local.INFO: Acknowledgment sent {"connection_id":173005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:53:26] local.INFO: TCP Data received {"connection_id":173003,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070de4510012c7939c00848c5f00014000129..."} 
[2026-09-05 14:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070de4510012c7939c00848c5f00014000129..."} 
[2026-09-05 14:53:26] local.INFO: Processing buffer {"connection_id":173003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070de4510012c7939c00848c5f00014000129..."} 
[2026-09-05 14:53:26] local.INFO: Packet analysis {"connection_id":173003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070de"} 
[2026-09-05 14:53:26] local.INFO: Extracted packet for processing {"connection_id":173003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070de"} 
[2026-09-05 14:53:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881525504001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:53:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788600010000,"timestamp_ms":1788600010000,"timestamp_seconds":1788600010,"priority":1,"record_length":96,"hex_timestamp":"000001a070de4510"} 
[2026-09-05 14:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:53:26] 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-09-05 14:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173003,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173003,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881525504001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881525504001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:53:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:53:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:53:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881525504001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":173003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769177,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:53:26] local.INFO: GPS data processed {"connection_id":173003,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:53:26] local.INFO: Acknowledgment sent {"connection_id":173003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:53:34] local.INFO: TCP Data received {"connection_id":173005,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a070dc6c68012d82bb00060672d0001400a122..."} 
[2026-09-05 14:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070dc6c68012d82bb00060672d0001400a122..."} 
[2026-09-05 14:53:34] local.INFO: Processing buffer {"connection_id":173005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070dc6c68012d82bb00060672d0001400a122..."} 
[2026-09-05 14:53:34] local.INFO: Packet analysis {"connection_id":173005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070dc"} 
[2026-09-05 14:53:34] local.INFO: Extracted packet for processing {"connection_id":173005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070dc"} 
[2026-09-05 14:53:34] local.INFO: GPS Element Parsed {"raw_longitude":763542272,"raw_latitude":101085904,"longitude_deg":76.3542272,"latitude_deg":10.1085904,"altitude":20,"angle":161,"satellites":34,"speed":0,"hex_longitude":"2d82bb00","hex_latitude":"060672d0","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881493760001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399824913675845632,"note":"Value kept but may cause issues"} 
[2026-09-05 14:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026198789790824448,"note":"Value kept but may cause issues"} 
[2026-09-05 14:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788599889000,"timestamp_ms":1788599889000,"timestamp_seconds":1788599889,"priority":1,"record_length":96,"hex_timestamp":"000001a070dc6c68"} 
[2026-09-05 14:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:53: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-09-05 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 14:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881493760001,"66":26484,"235":206,"87":10496,"24":0,"16":399824913675845632,"45":-9026198789790824448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,87,24,16,45]} 
[2026-09-05 14:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881493760001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:53:34] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 14:53:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399824913675845632,"km_value":399824913675845.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026198789790824448,"description":"Unknown IO ID 45"} 
[2026-09-05 14:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881493760001,"power":26484,"unknown_235":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9026198789790824448}} 
[2026-09-05 14:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":173005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:53:34] local.INFO: GPS data processed {"connection_id":173005,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:53:34] local.INFO: Acknowledgment sent {"connection_id":173005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:53:34] local.INFO: TCP Data received {"connection_id":173004,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070e06408012d7be58005ec2df8001401061f..."} 
[2026-09-05 14:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e06408012d7be58005ec2df8001401061f..."} 
[2026-09-05 14:53:34] local.INFO: Processing buffer {"connection_id":173004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e06408012d7be58005ec2df8001401061f..."} 
[2026-09-05 14:53:34] local.INFO: Packet analysis {"connection_id":173004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e0"} 
[2026-09-05 14:53:34] local.INFO: Extracted packet for processing {"connection_id":173004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e0"} 
[2026-09-05 14:53:34] local.INFO: GPS Element Parsed {"raw_longitude":763094400,"raw_latitude":99364344,"longitude_deg":76.30944,"latitude_deg":9.9364344,"altitude":20,"angle":262,"satellites":31,"speed":0,"hex_longitude":"2d7be580","hex_latitude":"05ec2df8","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881632768001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128492669738418176,"note":"Value kept but may cause issues"} 
[2026-09-05 14:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8932819517582663680,"note":"Value kept but may cause issues"} 
[2026-09-05 14:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788600149000,"timestamp_ms":1788600149000,"timestamp_seconds":1788600149,"priority":1,"record_length":96,"hex_timestamp":"000001a070e06408"} 
[2026-09-05 14:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 14:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881632768001,"66":13678,"198":206,"87":13824,"24":0,"16":128492669738418176,"45":8932819517582663680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 14:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 14:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 14:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881632768001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:53:34] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 14:53:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 14:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128492669738418176,"km_value":128492669738418.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8932819517582663680,"description":"Unknown IO ID 45"} 
[2026-09-05 14:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881632768001,"power":13678,"unknown_198":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8932819517582663680}} 
[2026-09-05 14:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":173004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769179,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:53:34] local.INFO: GPS data processed {"connection_id":173004,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:53:34] local.INFO: Acknowledgment sent {"connection_id":173004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:53:45] local.INFO: TCP Data received {"connection_id":171919,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:53:45] local.INFO: Processing buffer {"connection_id":171919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:53:45] local.INFO: IMEI packet received {"connection_id":171919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":171919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:53:49] local.INFO: TCP Data received {"connection_id":171919,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:53:49] local.INFO: Processing buffer {"connection_id":171919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:53:49] local.INFO: IMEI packet received {"connection_id":171919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":171919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:53:50] local.INFO: TCP Data received {"connection_id":171919,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070e01db8012d0cdd40071ea5e80025007728..."} 
[2026-09-05 14:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e01db8012d0cdd40071ea5e80025007728..."} 
[2026-09-05 14:53:50] local.INFO: Processing buffer {"connection_id":171919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e01db8012d0cdd40071ea5e80025007728..."} 
[2026-09-05 14:53:50] local.INFO: Packet analysis {"connection_id":171919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e0"} 
[2026-09-05 14:53:50] local.INFO: Extracted packet for processing {"connection_id":171919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e0"} 
[2026-09-05 14:53:50] local.INFO: GPS Element Parsed {"raw_longitude":755817792,"raw_latitude":119449064,"longitude_deg":75.5817792,"latitude_deg":11.9449064,"altitude":37,"angle":119,"satellites":40,"speed":18,"hex_longitude":"2d0cdd40","hex_latitude":"071ea5e8","is_valid_coordinates":true} 
[2026-09-05 14:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881630976001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17885420641583104,"note":"Value kept but may cause issues"} 
[2026-09-05 14:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":921337998097647616,"note":"Value kept but may cause issues"} 
[2026-09-05 14:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788600131000,"timestamp_ms":1788600131000,"timestamp_seconds":1788600131,"priority":1,"record_length":96,"hex_timestamp":"000001a070e01db8"} 
[2026-09-05 14:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-05 14:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:53:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881630976001,"66":14298,"155":206,"83":41984,"24":18,"16":17885420641583104,"45":921337998097647616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-05 14:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881630976001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:53:50] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-05 14:53:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 14:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17885420641583104,"km_value":17885420641583.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":921337998097647616,"description":"Unknown IO ID 45"} 
[2026-09-05 14:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881630976001,"power":14298,"unknown_155":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":921337998097647616}} 
[2026-09-05 14:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":171919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:53:50] local.INFO: GPS data processed {"connection_id":171919,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:53:50] local.INFO: Acknowledgment sent {"connection_id":171919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:53:50] local.INFO: TCP Data received {"connection_id":171919,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070e05c38012d0cfdc0071e94100021007427..."} 
[2026-09-05 14:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e05c38012d0cfdc0071e94100021007427..."} 
[2026-09-05 14:53:50] local.INFO: Processing buffer {"connection_id":171919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e05c38012d0cfdc0071e94100021007427..."} 
[2026-09-05 14:53:50] local.INFO: Packet analysis {"connection_id":171919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e0"} 
[2026-09-05 14:53:50] local.INFO: Extracted packet for processing {"connection_id":171919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e0"} 
[2026-09-05 14:53:50] local.INFO: GPS Element Parsed {"raw_longitude":755826112,"raw_latitude":119444496,"longitude_deg":75.5826112,"latitude_deg":11.9444496,"altitude":33,"angle":116,"satellites":39,"speed":34,"hex_longitude":"2d0cfdc0","hex_latitude":"071e9410","is_valid_coordinates":true} 
[2026-09-05 14:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881633536001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17885871613149184,"note":"Value kept but may cause issues"} 
[2026-09-05 14:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":926967497631328256,"note":"Value kept but may cause issues"} 
[2026-09-05 14:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788600147000,"timestamp_ms":1788600147000,"timestamp_seconds":1788600147,"priority":1,"record_length":96,"hex_timestamp":"000001a070e05c38"} 
[2026-09-05 14:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-05 14:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:53:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881633536001,"66":14070,"156":206,"83":41984,"24":34,"16":17885871613149184,"45":926967497631328256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,83,24,16,45]} 
[2026-09-05 14:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881633536001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:53:50] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-05 14:53:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 14:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17885871613149184,"km_value":17885871613149.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":926967497631328256,"description":"Unknown IO ID 45"} 
[2026-09-05 14:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881633536001,"power":14070,"unknown_156":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":926967497631328256}} 
[2026-09-05 14:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":171919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:53:50] local.INFO: GPS data processed {"connection_id":171919,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:53:50] local.INFO: Acknowledgment sent {"connection_id":171919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:53:52] local.INFO: TCP Data received {"connection_id":171616,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171616,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:53:52] local.INFO: Processing buffer {"connection_id":171616,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:53:52] local.INFO: IMEI packet received {"connection_id":171616,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":171616,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:53:55] local.INFO: TCP Data received {"connection_id":171617,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:53:55] local.INFO: Processing buffer {"connection_id":171617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:53:55] local.INFO: IMEI packet received {"connection_id":171617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 14:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":171617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:53:55] local.INFO: TCP Data received {"connection_id":171617,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:53:55] local.INFO: Processing buffer {"connection_id":171617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:53:55] local.INFO: IMEI packet received {"connection_id":171617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 14:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":171617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:53:56] local.INFO: TCP Data received {"connection_id":171920,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:53:56] local.INFO: Processing buffer {"connection_id":171920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:53:56] local.INFO: IMEI packet received {"connection_id":171920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":171920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:53:57] local.INFO: TCP Data received {"connection_id":171616,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171616,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:53:57] local.INFO: Processing buffer {"connection_id":171616,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:53:57] local.INFO: IMEI packet received {"connection_id":171616,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":171616,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:53:59] local.INFO: TCP Data received {"connection_id":171616,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070de4510012c7939c00848c5f00014000129..."} 
[2026-09-05 14:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070de4510012c7939c00848c5f00014000129..."} 
[2026-09-05 14:53:59] local.INFO: Processing buffer {"connection_id":171616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070de4510012c7939c00848c5f00014000129..."} 
[2026-09-05 14:53:59] local.INFO: Packet analysis {"connection_id":171616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070de"} 
[2026-09-05 14:53:59] local.INFO: Extracted packet for processing {"connection_id":171616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070de"} 
[2026-09-05 14:53:59] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881525504001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:53:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788600010000,"timestamp_ms":1788600010000,"timestamp_seconds":1788600010,"priority":1,"record_length":96,"hex_timestamp":"000001a070de4510"} 
[2026-09-05 14:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:53:59] 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-09-05 14:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171616,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171616,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881525504001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881525504001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:53:59] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:53:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:53:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881525504001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":171616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769182,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:53:59] local.INFO: GPS data processed {"connection_id":171616,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:53:59] local.INFO: Acknowledgment sent {"connection_id":171616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:54:00] local.INFO: TCP Data received {"connection_id":171617,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:54:00] local.INFO: Processing buffer {"connection_id":171617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:54:00] local.INFO: IMEI packet received {"connection_id":171617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 14:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":171617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:54:01] local.INFO: TCP Data received {"connection_id":171920,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:54:01] local.INFO: Processing buffer {"connection_id":171920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:54:01] local.INFO: IMEI packet received {"connection_id":171920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":171920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:54:01] local.INFO: TCP Data received {"connection_id":171617,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070e0b610012d7be10005ec2d000012010222..."} 
[2026-09-05 14:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e0b610012d7be10005ec2d000012010222..."} 
[2026-09-05 14:54:01] local.INFO: Processing buffer {"connection_id":171617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e0b610012d7be10005ec2d000012010222..."} 
[2026-09-05 14:54:01] local.INFO: Packet analysis {"connection_id":171617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e0"} 
[2026-09-05 14:54:01] local.INFO: Extracted packet for processing {"connection_id":171617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e0"} 
[2026-09-05 14:54:01] local.INFO: GPS Element Parsed {"raw_longitude":763093248,"raw_latitude":99364096,"longitude_deg":76.3093248,"latitude_deg":9.9364096,"altitude":18,"angle":258,"satellites":34,"speed":0,"hex_longitude":"2d7be100","hex_latitude":"05ec2d00","is_valid_coordinates":true} 
[2026-09-05 14:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881638144001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128492725572993024,"note":"Value kept but may cause issues"} 
[2026-09-05 14:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927682599257503744,"note":"Value kept but may cause issues"} 
[2026-09-05 14:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788600170000,"timestamp_ms":1788600170000,"timestamp_seconds":1788600170,"priority":1,"record_length":96,"hex_timestamp":"000001a070e0b610"} 
[2026-09-05 14:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:54: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-09-05 14:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-05 14:54:01] 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-09-05 14:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881638144001,"66":13852,"198":206,"87":13824,"24":0,"16":128492725572993024,"45":8927682599257503744},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 14:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 14:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 14:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881638144001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:54:01] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 14:54:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 14:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128492725572993024,"km_value":128492725572993.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927682599257503744,"description":"Unknown IO ID 45"} 
[2026-09-05 14:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881638144001,"power":13852,"unknown_198":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8927682599257503744}} 
[2026-09-05 14:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":171617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769183,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:54:01] local.INFO: GPS data processed {"connection_id":171617,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:54:01] local.INFO: Acknowledgment sent {"connection_id":171617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:54:02] local.INFO: TCP Data received {"connection_id":171920,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a070e10430012d82bb00060672d0001400a125..."} 
[2026-09-05 14:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e10430012d82bb00060672d0001400a125..."} 
[2026-09-05 14:54:02] local.INFO: Processing buffer {"connection_id":171920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e10430012d82bb00060672d0001400a125..."} 
[2026-09-05 14:54:02] local.INFO: Packet analysis {"connection_id":171920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e1"} 
[2026-09-05 14:54:02] local.INFO: Extracted packet for processing {"connection_id":171920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e1"} 
[2026-09-05 14:54:02] local.INFO: GPS Element Parsed {"raw_longitude":763542272,"raw_latitude":101085904,"longitude_deg":76.3542272,"latitude_deg":10.1085904,"altitude":20,"angle":161,"satellites":37,"speed":0,"hex_longitude":"2d82bb00","hex_latitude":"060672d0","is_valid_coordinates":true} 
[2026-09-05 14:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881571584001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399824913675845632,"note":"Value kept but may cause issues"} 
[2026-09-05 14:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026621002256035840,"note":"Value kept but may cause issues"} 
[2026-09-05 14:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788600190000,"timestamp_ms":1788600190000,"timestamp_seconds":1788600190,"priority":1,"record_length":96,"hex_timestamp":"000001a070e10430"} 
[2026-09-05 14:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:54:02] 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-09-05 14:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-05 14:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881571584001,"66":26223,"235":206,"87":10496,"24":0,"16":399824913675845632,"45":-9026621002256035840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,87,24,16,45]} 
[2026-09-05 14:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881571584001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:54:02] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 14:54:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399824913675845632,"km_value":399824913675845.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026621002256035840,"description":"Unknown IO ID 45"} 
[2026-09-05 14:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881571584001,"power":26223,"unknown_235":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9026621002256035840}} 
[2026-09-05 14:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":171920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:54:02] local.INFO: GPS data processed {"connection_id":171920,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:54:02] local.INFO: Acknowledgment sent {"connection_id":171920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:54:21] local.INFO: TCP Data received {"connection_id":171919,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070e067f0012d0d0600071e90e00020006826..."} 
[2026-09-05 14:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e067f0012d0d0600071e90e00020006826..."} 
[2026-09-05 14:54:21] local.INFO: Processing buffer {"connection_id":171919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e067f0012d0d0600071e90e00020006826..."} 
[2026-09-05 14:54:21] local.INFO: Packet analysis {"connection_id":171919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e0"} 
[2026-09-05 14:54:21] local.INFO: Extracted packet for processing {"connection_id":171919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e0"} 
[2026-09-05 14:54:21] local.INFO: GPS Element Parsed {"raw_longitude":755828224,"raw_latitude":119443680,"longitude_deg":75.5828224,"latitude_deg":11.944368,"altitude":32,"angle":104,"satellites":38,"speed":27,"hex_longitude":"2d0d0600","hex_latitude":"071e90e0","is_valid_coordinates":true} 
[2026-09-05 14:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881637632001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17885983282298880,"note":"Value kept but may cause issues"} 
[2026-09-05 14:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":936115434373255168,"note":"Value kept but may cause issues"} 
[2026-09-05 14:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788600150000,"timestamp_ms":1788600150000,"timestamp_seconds":1788600150,"priority":1,"record_length":96,"hex_timestamp":"000001a070e067f0"} 
[2026-09-05 14:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:54:21] 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-09-05 14:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-05 14:54:21] 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-09-05 14:54:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881637632001,"66":14004,"156":206,"83":41984,"24":27,"16":17885983282298880,"45":936115434373255168},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,83,24,16,45]} 
[2026-09-05 14:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881637632001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:54:21] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-05 14:54:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 14:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17885983282298880,"km_value":17885983282298.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":936115434373255168,"description":"Unknown IO ID 45"} 
[2026-09-05 14:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881637632001,"power":14004,"unknown_156":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":936115434373255168}} 
[2026-09-05 14:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":171919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:54:21] local.INFO: GPS data processed {"connection_id":171919,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:54:21] local.INFO: Acknowledgment sent {"connection_id":171919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:54:30] local.INFO: TCP Data received {"connection_id":171616,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070de4510012c7939c00848c5f00014000129..."} 
[2026-09-05 14:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070de4510012c7939c00848c5f00014000129..."} 
[2026-09-05 14:54:30] local.INFO: Processing buffer {"connection_id":171616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070de4510012c7939c00848c5f00014000129..."} 
[2026-09-05 14:54:30] local.INFO: Packet analysis {"connection_id":171616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070de"} 
[2026-09-05 14:54:30] local.INFO: Extracted packet for processing {"connection_id":171616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070de"} 
[2026-09-05 14:54:30] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881525504001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:54:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788600010000,"timestamp_ms":1788600010000,"timestamp_seconds":1788600010,"priority":1,"record_length":96,"hex_timestamp":"000001a070de4510"} 
[2026-09-05 14:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:54: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-09-05 14:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":171616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":171616,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":171616,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881525504001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881525504001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:54:30] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:54:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:54:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881525504001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":171616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769186,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:54:30] local.INFO: GPS data processed {"connection_id":171616,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:54:30] local.INFO: Acknowledgment sent {"connection_id":171616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:54:33] local.INFO: TCP Data received {"connection_id":171617,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070e10818012d7bdc0005ec2bf00010010022..."} 
[2026-09-05 14:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e10818012d7bdc0005ec2bf00010010022..."} 
[2026-09-05 14:54:33] local.INFO: Processing buffer {"connection_id":171617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e10818012d7bdc0005ec2bf00010010022..."} 
[2026-09-05 14:54:33] local.INFO: Packet analysis {"connection_id":171617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e1"} 
[2026-09-05 14:54:33] local.INFO: Extracted packet for processing {"connection_id":171617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e1"} 
[2026-09-05 14:54:33] local.INFO: GPS Element Parsed {"raw_longitude":763091968,"raw_latitude":99363824,"longitude_deg":76.3091968,"latitude_deg":9.9363824,"altitude":16,"angle":256,"satellites":34,"speed":0,"hex_longitude":"2d7bdc00","hex_latitude":"05ec2bf0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 14:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881643520001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128492789997502464,"note":"Value kept but may cause issues"} 
[2026-09-05 14:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926415961862242304,"note":"Value kept but may cause issues"} 
[2026-09-05 14:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788600191000,"timestamp_ms":1788600191000,"timestamp_seconds":1788600191,"priority":1,"record_length":96,"hex_timestamp":"000001a070e10818"} 
[2026-09-05 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-09-05 14:54:33] 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-09-05 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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-05 14:54: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-09-05 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-09-05 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-09-05 14:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881643520001,"66":13917,"198":206,"87":13824,"24":0,"16":128492789997502464,"45":8926415961862242304},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 14:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 14:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 14:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881643520001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:54:33] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 14:54:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 14:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128492789997502464,"km_value":128492789997502.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926415961862242304,"description":"Unknown IO ID 45"} 
[2026-09-05 14:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881643520001,"power":13917,"unknown_198":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8926415961862242304}} 
[2026-09-05 14:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":171617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769187,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:54:33] local.INFO: GPS data processed {"connection_id":171617,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:54:33] local.INFO: Acknowledgment sent {"connection_id":171617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:54:33] local.INFO: TCP Data received {"connection_id":171920,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a070e10430012d82bb00060672d0001400a125..."} 
[2026-09-05 14:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e10430012d82bb00060672d0001400a125..."} 
[2026-09-05 14:54:33] local.INFO: Processing buffer {"connection_id":171920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e10430012d82bb00060672d0001400a125..."} 
[2026-09-05 14:54:33] local.INFO: Packet analysis {"connection_id":171920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e1"} 
[2026-09-05 14:54:33] local.INFO: Extracted packet for processing {"connection_id":171920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e1"} 
[2026-09-05 14:54:33] local.INFO: GPS Element Parsed {"raw_longitude":763542272,"raw_latitude":101085904,"longitude_deg":76.3542272,"latitude_deg":10.1085904,"altitude":20,"angle":161,"satellites":37,"speed":0,"hex_longitude":"2d82bb00","hex_latitude":"060672d0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 14:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881571584001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399824913675845632,"note":"Value kept but may cause issues"} 
[2026-09-05 14:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026621002256035840,"note":"Value kept but may cause issues"} 
[2026-09-05 14:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788600190000,"timestamp_ms":1788600190000,"timestamp_seconds":1788600190,"priority":1,"record_length":96,"hex_timestamp":"000001a070e10430"} 
[2026-09-05 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-09-05 14:54: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-09-05 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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-05 14:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 14:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881571584001,"66":26223,"235":206,"87":10496,"24":0,"16":399824913675845632,"45":-9026621002256035840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,87,24,16,45]} 
[2026-09-05 14:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881571584001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:54:33] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 14:54:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399824913675845632,"km_value":399824913675845.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026621002256035840,"description":"Unknown IO ID 45"} 
[2026-09-05 14:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881571584001,"power":26223,"unknown_235":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9026621002256035840}} 
[2026-09-05 14:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":171920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:54:33] local.INFO: GPS data processed {"connection_id":171920,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:54:33] local.INFO: Acknowledgment sent {"connection_id":171920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:54:43] local.INFO: TCP Data received {"connection_id":174328,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:54:43] local.INFO: Processing buffer {"connection_id":174328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:54:43] local.INFO: IMEI packet received {"connection_id":174328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":174328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:54:45] local.INFO: TCP Data received {"connection_id":174328,"ip":"42.109.136.5","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 14:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174328,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 14:54:45] local.INFO: Processing buffer {"connection_id":174328,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 14:54:45] local.INFO: IMEI packet received {"connection_id":174328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":174328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:54:47] local.INFO: TCP Data received {"connection_id":174328,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:54:47] local.INFO: Processing buffer {"connection_id":174328,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 14:54:47] local.INFO: IMEI packet received {"connection_id":174328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":174328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:54:47] local.INFO: TCP Data received {"connection_id":174328,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070e1b3f8012d0d8500071e4ce00031006428..."} 
[2026-09-05 14:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e1b3f8012d0d8500071e4ce00031006428..."} 
[2026-09-05 14:54:47] local.INFO: Processing buffer {"connection_id":174328,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a070..."} 
[2026-09-05 14:54:47] local.INFO: IMEI packet received {"connection_id":174328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":174328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:54:47] local.INFO: TCP Data received {"connection_id":174329,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174329,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:54:47] local.INFO: Processing buffer {"connection_id":174329,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:54:47] local.INFO: IMEI packet received {"connection_id":174329,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":174329,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:54:50] local.INFO: TCP Data received {"connection_id":174328,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070e1db08012d0da040071e46800034007126..."} 
[2026-09-05 14:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e1db08012d0da040071e46800034007126..."} 
[2026-09-05 14:54:50] local.INFO: Processing buffer {"connection_id":174328,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a070e1b3f8012d0d8500071e4ce00031006428..."} 
[2026-09-05 14:54:50] local.INFO: Packet analysis {"connection_id":174328,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a070e1"} 
[2026-09-05 14:54:50] local.INFO: Extracted packet for processing {"connection_id":174328,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e1"} 
[2026-09-05 14:54:50] local.INFO: GPS Element Parsed {"raw_longitude":755860736,"raw_latitude":119426272,"longitude_deg":75.5860736,"latitude_deg":11.9426272,"altitude":49,"angle":100,"satellites":40,"speed":29,"hex_longitude":"2d0d8500","hex_latitude":"071e4ce0","is_valid_coordinates":true} 
[2026-09-05 14:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881658112001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17887769988694016,"note":"Value kept but may cause issues"} 
[2026-09-05 14:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":967992475481509888,"note":"Value kept but may cause issues"} 
[2026-09-05 14:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788600235000,"timestamp_ms":1788600235000,"timestamp_seconds":1788600235,"priority":1,"record_length":96,"hex_timestamp":"000001a070e1b3f8"} 
[2026-09-05 14:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 14:54:50] 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-09-05 14:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881658112001,"66":13559,"11":206,"83":41984,"24":29,"16":17887769988694016,"45":967992475481509888},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-05 14:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881658112001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:54:50] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 14:54:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 14:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17887769988694016,"km_value":17887769988694.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":967992475481509888,"description":"Unknown IO ID 45"} 
[2026-09-05 14:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881658112001,"power":13559,"unknown_11":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":967992475481509888}} 
[2026-09-05 14:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":174328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:54:50] local.INFO: GPS data processed {"connection_id":174328,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:54:50] local.INFO: Acknowledgment sent {"connection_id":174328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:54:50] local.INFO: Packet analysis {"connection_id":174328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e1"} 
[2026-09-05 14:54:50] local.INFO: Extracted packet for processing {"connection_id":174328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e1"} 
[2026-09-05 14:54:50] local.INFO: GPS Element Parsed {"raw_longitude":755867712,"raw_latitude":119424640,"longitude_deg":75.5867712,"latitude_deg":11.942464,"altitude":52,"angle":113,"satellites":38,"speed":12,"hex_longitude":"2d0da040","hex_latitude":"071e4680","is_valid_coordinates":true} 
[2026-09-05 14:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881660160001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17888109291110400,"note":"Value kept but may cause issues"} 
[2026-09-05 14:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":974184924968706048,"note":"Value kept but may cause issues"} 
[2026-09-05 14:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788600245000,"timestamp_ms":1788600245000,"timestamp_seconds":1788600245,"priority":1,"record_length":96,"hex_timestamp":"000001a070e1db08"} 
[2026-09-05 14:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-05 14:54:50] 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-09-05 14:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881660160001,"66":14374,"11":206,"83":41984,"24":12,"16":17888109291110400,"45":974184924968706048},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-05 14:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881660160001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:54:50] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 14:54:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 14:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17888109291110400,"km_value":17888109291110.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":974184924968706048,"description":"Unknown IO ID 45"} 
[2026-09-05 14:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881660160001,"power":14374,"unknown_11":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":974184924968706048}} 
[2026-09-05 14:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":174328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:54:50] local.INFO: GPS data processed {"connection_id":174328,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:54:50] local.INFO: Acknowledgment sent {"connection_id":174328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:54:52] local.INFO: TCP Data received {"connection_id":174329,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174329,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:54:52] local.INFO: Processing buffer {"connection_id":174329,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:54:52] local.INFO: IMEI packet received {"connection_id":174329,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":174329,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:54:55] local.INFO: TCP Data received {"connection_id":174329,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070de4510012c7939c00848c5f00014000129..."} 
[2026-09-05 14:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070de4510012c7939c00848c5f00014000129..."} 
[2026-09-05 14:54:55] local.INFO: Processing buffer {"connection_id":174329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070de4510012c7939c00848c5f00014000129..."} 
[2026-09-05 14:54:55] local.INFO: Packet analysis {"connection_id":174329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070de"} 
[2026-09-05 14:54:55] local.INFO: Extracted packet for processing {"connection_id":174329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070de"} 
[2026-09-05 14:54:55] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881525504001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:54:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788600010000,"timestamp_ms":1788600010000,"timestamp_seconds":1788600010,"priority":1,"record_length":96,"hex_timestamp":"000001a070de4510"} 
[2026-09-05 14:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:54:55] 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-09-05 14:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174329,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174329,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881525504001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881525504001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:54:55] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:54:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:54:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881525504001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":174329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769191,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:54:55] local.INFO: GPS data processed {"connection_id":174329,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:54:55] local.INFO: Acknowledgment sent {"connection_id":174329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:54:55] local.INFO: TCP Data received {"connection_id":171618,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171618,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:54:55] local.INFO: Processing buffer {"connection_id":171618,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:54:55] local.INFO: IMEI packet received {"connection_id":171618,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 14:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":171618,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:54:56] local.INFO: TCP Data received {"connection_id":173006,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:54:56] local.INFO: Processing buffer {"connection_id":173006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:54:56] local.INFO: IMEI packet received {"connection_id":173006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":173006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:54:59] local.INFO: TCP Data received {"connection_id":171618,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171618,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:54:59] local.INFO: Processing buffer {"connection_id":171618,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:54:59] local.INFO: IMEI packet received {"connection_id":171618,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 14:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":171618,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:55:00] local.INFO: TCP Data received {"connection_id":171618,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171618,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:55:00] local.INFO: Processing buffer {"connection_id":171618,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:55:00] local.INFO: IMEI packet received {"connection_id":171618,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 14:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":171618,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:55:01] local.INFO: TCP Data received {"connection_id":173006,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:55:01] local.INFO: Processing buffer {"connection_id":173006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:55:01] local.INFO: IMEI packet received {"connection_id":173006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":173006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:55:01] local.INFO: TCP Data received {"connection_id":171618,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070e15a20012d7bdc0005ec2bf00010010024..."} 
[2026-09-05 14:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e15a20012d7bdc0005ec2bf00010010024..."} 
[2026-09-05 14:55:01] local.INFO: Processing buffer {"connection_id":171618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e15a20012d7bdc0005ec2bf00010010024..."} 
[2026-09-05 14:55:01] local.INFO: Packet analysis {"connection_id":171618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e1"} 
[2026-09-05 14:55:01] local.INFO: Extracted packet for processing {"connection_id":171618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e1"} 
[2026-09-05 14:55:01] local.INFO: GPS Element Parsed {"raw_longitude":763091968,"raw_latitude":99363824,"longitude_deg":76.3091968,"latitude_deg":9.9363824,"altitude":16,"angle":256,"satellites":36,"speed":0,"hex_longitude":"2d7bdc00","hex_latitude":"05ec2bf0","is_valid_coordinates":true} 
[2026-09-05 14:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881648896001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128492789997502464,"note":"Value kept but may cause issues"} 
[2026-09-05 14:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925008586978619392,"note":"Value kept but may cause issues"} 
[2026-09-05 14:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788600212000,"timestamp_ms":1788600212000,"timestamp_seconds":1788600212,"priority":1,"record_length":96,"hex_timestamp":"000001a070e15a20"} 
[2026-09-05 14:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:55:01] 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-09-05 14:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-05 14:55:01] 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-09-05 14:55:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881648896001,"66":13820,"198":206,"87":13824,"24":0,"16":128492789997502464,"45":8925008586978619392},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 14:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 14:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 14:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881648896001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:55:01] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 14:55:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 14:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128492789997502464,"km_value":128492789997502.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925008586978619392,"description":"Unknown IO ID 45"} 
[2026-09-05 14:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881648896001,"power":13820,"unknown_198":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8925008586978619392}} 
[2026-09-05 14:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":171618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:55:02] local.INFO: GPS data processed {"connection_id":171618,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:55:02] local.INFO: Acknowledgment sent {"connection_id":171618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:55:02] local.INFO: TCP Data received {"connection_id":173006,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a070e10430012d82bb00060672d0001400a125..."} 
[2026-09-05 14:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e10430012d82bb00060672d0001400a125..."} 
[2026-09-05 14:55:02] local.INFO: Processing buffer {"connection_id":173006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e10430012d82bb00060672d0001400a125..."} 
[2026-09-05 14:55:02] local.INFO: Packet analysis {"connection_id":173006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e1"} 
[2026-09-05 14:55:02] local.INFO: Extracted packet for processing {"connection_id":173006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e1"} 
[2026-09-05 14:55:02] local.INFO: GPS Element Parsed {"raw_longitude":763542272,"raw_latitude":101085904,"longitude_deg":76.3542272,"latitude_deg":10.1085904,"altitude":20,"angle":161,"satellites":37,"speed":0,"hex_longitude":"2d82bb00","hex_latitude":"060672d0","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881571584001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399824913675845632,"note":"Value kept but may cause issues"} 
[2026-09-05 14:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026621002256035840,"note":"Value kept but may cause issues"} 
[2026-09-05 14:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788600190000,"timestamp_ms":1788600190000,"timestamp_seconds":1788600190,"priority":1,"record_length":96,"hex_timestamp":"000001a070e10430"} 
[2026-09-05 14:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:55:02] 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-09-05 14: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-05 14:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881571584001,"66":26223,"235":206,"87":10496,"24":0,"16":399824913675845632,"45":-9026621002256035840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,87,24,16,45]} 
[2026-09-05 14:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881571584001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:55:02] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 14:55:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399824913675845632,"km_value":399824913675845.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026621002256035840,"description":"Unknown IO ID 45"} 
[2026-09-05 14:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881571584001,"power":26223,"unknown_235":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9026621002256035840}} 
[2026-09-05 14:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":173006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:55:02] local.INFO: GPS data processed {"connection_id":173006,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:55:02] local.INFO: Acknowledgment sent {"connection_id":173006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:55:07] local.INFO: TCP Data received {"connection_id":171618,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070e1ac28012d7bcf4005ec2868001100fc25..."} 
[2026-09-05 14:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e1ac28012d7bcf4005ec2868001100fc25..."} 
[2026-09-05 14:55:07] local.INFO: Processing buffer {"connection_id":171618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e1ac28012d7bcf4005ec2868001100fc25..."} 
[2026-09-05 14:55:07] local.INFO: Packet analysis {"connection_id":171618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e1"} 
[2026-09-05 14:55:07] local.INFO: Extracted packet for processing {"connection_id":171618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e1"} 
[2026-09-05 14:55:07] local.INFO: GPS Element Parsed {"raw_longitude":763088704,"raw_latitude":99362920,"longitude_deg":76.3088704,"latitude_deg":9.936292,"altitude":17,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d7bcf40","hex_latitude":"05ec2868","is_valid_coordinates":true} 
[2026-09-05 14:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881654272001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128492953206259712,"note":"Value kept but may cause issues"} 
[2026-09-05 14:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925008586978619392,"note":"Value kept but may cause issues"} 
[2026-09-05 14:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788600233000,"timestamp_ms":1788600233000,"timestamp_seconds":1788600233,"priority":1,"record_length":96,"hex_timestamp":"000001a070e1ac28"} 
[2026-09-05 14:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:55: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-09-05 14: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-09-05 14: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-09-05 14: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-09-05 14:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881654272001,"66":13798,"198":206,"87":13824,"24":0,"16":128492953206259712,"45":8925008586978619392},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 14:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 14:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 14:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881654272001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:55:07] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 14:55:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 14:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128492953206259712,"km_value":128492953206259.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925008586978619392,"description":"Unknown IO ID 45"} 
[2026-09-05 14:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881654272001,"power":13798,"unknown_198":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8925008586978619392}} 
[2026-09-05 14:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":171618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769194,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:55:07] local.INFO: GPS data processed {"connection_id":171618,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:55:07] local.INFO: Acknowledgment sent {"connection_id":171618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:55:21] local.INFO: TCP Data received {"connection_id":174328,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070e1e2d8012d0da1c0071e45b80034007f27..."} 
[2026-09-05 14:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e1e2d8012d0da1c0071e45b80034007f27..."} 
[2026-09-05 14:55:21] local.INFO: Processing buffer {"connection_id":174328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e1e2d8012d0da1c0071e45b80034007f27..."} 
[2026-09-05 14:55:21] local.INFO: Packet analysis {"connection_id":174328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e1"} 
[2026-09-05 14:55:21] local.INFO: Extracted packet for processing {"connection_id":174328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e1"} 
[2026-09-05 14:55:21] local.INFO: GPS Element Parsed {"raw_longitude":755868096,"raw_latitude":119424440,"longitude_deg":75.5868096,"latitude_deg":11.942444,"altitude":52,"angle":127,"satellites":39,"speed":7,"hex_longitude":"2d0da1c0","hex_latitude":"071e45b8","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881662720001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17888130765946880,"note":"Value kept but may cause issues"} 
[2026-09-05 14:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":981855118083653632,"note":"Value kept but may cause issues"} 
[2026-09-05 14:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788600247000,"timestamp_ms":1788600247000,"timestamp_seconds":1788600247,"priority":1,"record_length":96,"hex_timestamp":"000001a070e1e2d8"} 
[2026-09-05 14:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:55:21] 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-09-05 14: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 14:55:21] 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-09-05 14: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-09-05 14:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881662720001,"66":14265,"11":206,"83":41984,"24":7,"16":17888130765946880,"45":981855118083653632},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-05 14:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881662720001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:55:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 14:55:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 14:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17888130765946880,"km_value":17888130765946.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":981855118083653632,"description":"Unknown IO ID 45"} 
[2026-09-05 14:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881662720001,"power":14265,"unknown_11":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":981855118083653632}} 
[2026-09-05 14:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":174328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:55:21] local.INFO: GPS data processed {"connection_id":174328,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:55:21] local.INFO: Acknowledgment sent {"connection_id":174328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:55:26] local.INFO: TCP Data received {"connection_id":174329,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070de4510012c7939c00848c5f00014000129..."} 
[2026-09-05 14:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070de4510012c7939c00848c5f00014000129..."} 
[2026-09-05 14:55:26] local.INFO: Processing buffer {"connection_id":174329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070de4510012c7939c00848c5f00014000129..."} 
[2026-09-05 14:55:26] local.INFO: Packet analysis {"connection_id":174329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070de"} 
[2026-09-05 14:55:26] local.INFO: Extracted packet for processing {"connection_id":174329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070de"} 
[2026-09-05 14:55:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881525504001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:55:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788600010000,"timestamp_ms":1788600010000,"timestamp_seconds":1788600010,"priority":1,"record_length":96,"hex_timestamp":"000001a070de4510"} 
[2026-09-05 14:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:55:26] 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-09-05 14: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-09-05 14:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174329,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174329,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:55:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881525504001,"66":25419,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881525504001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:55:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:55:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:55:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881525504001,"power":25419,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":174329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769196,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:55:26] local.INFO: GPS data processed {"connection_id":174329,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:55:26] local.INFO: Acknowledgment sent {"connection_id":174329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:55:33] local.INFO: TCP Data received {"connection_id":173006,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a070e24098012d82bb00060672d0001400a126..."} 
[2026-09-05 14:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e24098012d82bb00060672d0001400a126..."} 
[2026-09-05 14:55:33] local.INFO: Processing buffer {"connection_id":173006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e24098012d82bb00060672d0001400a126..."} 
[2026-09-05 14:55:33] local.INFO: Packet analysis {"connection_id":173006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:55:33] local.INFO: Extracted packet for processing {"connection_id":173006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:55:33] local.INFO: GPS Element Parsed {"raw_longitude":763542272,"raw_latitude":101085904,"longitude_deg":76.3542272,"latitude_deg":10.1085904,"altitude":20,"angle":161,"satellites":38,"speed":0,"hex_longitude":"2d82bb00","hex_latitude":"060672d0","is_valid_coordinates":true} 
[2026-09-05 14:55: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-09-05 14:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881648640001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399824913675845632,"note":"Value kept but may cause issues"} 
[2026-09-05 14:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026621002256035840,"note":"Value kept but may cause issues"} 
[2026-09-05 14:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788600271000,"timestamp_ms":1788600271000,"timestamp_seconds":1788600271,"priority":1,"record_length":96,"hex_timestamp":"000001a070e24098"} 
[2026-09-05 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-09-05 14:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-05 14:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 14:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881648640001,"66":26158,"235":206,"87":10496,"24":0,"16":399824913675845632,"45":-9026621002256035840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,87,24,16,45]} 
[2026-09-05 14:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881648640001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:55:33] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 14:55:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399824913675845632,"km_value":399824913675845.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026621002256035840,"description":"Unknown IO ID 45"} 
[2026-09-05 14:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881648640001,"power":26158,"unknown_235":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9026621002256035840}} 
[2026-09-05 14:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":173006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:55:33] local.INFO: GPS data processed {"connection_id":173006,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:55:33] local.INFO: Acknowledgment sent {"connection_id":173006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:55:39] local.INFO: TCP Data received {"connection_id":171618,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070e1fe30012d7bcf4005ec2858001100fc25..."} 
[2026-09-05 14:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e1fe30012d7bcf4005ec2858001100fc25..."} 
[2026-09-05 14:55:39] local.INFO: Processing buffer {"connection_id":171618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e1fe30012d7bcf4005ec2858001100fc25..."} 
[2026-09-05 14:55:39] local.INFO: Packet analysis {"connection_id":171618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e1"} 
[2026-09-05 14:55:39] local.INFO: Extracted packet for processing {"connection_id":171618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e1"} 
[2026-09-05 14:55:39] local.INFO: GPS Element Parsed {"raw_longitude":763088704,"raw_latitude":99362904,"longitude_deg":76.3088704,"latitude_deg":9.9362904,"altitude":17,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d7bcf40","hex_latitude":"05ec2858","is_valid_coordinates":true} 
[2026-09-05 14:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881659648001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128492953206259712,"note":"Value kept but may cause issues"} 
[2026-09-05 14:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921419781025327104,"note":"Value kept but may cause issues"} 
[2026-09-05 14:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788600254000,"timestamp_ms":1788600254000,"timestamp_seconds":1788600254,"priority":1,"record_length":96,"hex_timestamp":"000001a070e1fe30"} 
[2026-09-05 14:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:55:39] 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-09-05 14:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 14:55:39] 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-09-05 14:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881659648001,"66":13830,"198":206,"87":13824,"24":0,"16":128492953206259712,"45":8921419781025327104},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 14:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 14:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 14:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881659648001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:55:39] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 14:55:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 14:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128492953206259712,"km_value":128492953206259.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921419781025327104,"description":"Unknown IO ID 45"} 
[2026-09-05 14:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881659648001,"power":13830,"unknown_198":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8921419781025327104}} 
[2026-09-05 14:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":171618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769198,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:55:39] local.INFO: GPS data processed {"connection_id":171618,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:55:39] local.INFO: Acknowledgment sent {"connection_id":171618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:55:44] local.INFO: TCP Data received {"connection_id":173007,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:55:44] local.INFO: Processing buffer {"connection_id":173007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:55:44] local.INFO: IMEI packet received {"connection_id":173007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":173007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:55:45] local.INFO: TCP Data received {"connection_id":173007,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:55:45] local.INFO: Processing buffer {"connection_id":173007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:55:45] local.INFO: IMEI packet received {"connection_id":173007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":173007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:55:47] local.INFO: TCP Data received {"connection_id":173008,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173008,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:55:47] local.INFO: Processing buffer {"connection_id":173008,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:55:47] local.INFO: IMEI packet received {"connection_id":173008,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":173008,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:55:49] local.INFO: TCP Data received {"connection_id":173008,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173008,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:55:49] local.INFO: Processing buffer {"connection_id":173008,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:55:49] local.INFO: IMEI packet received {"connection_id":173008,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":173008,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:55:50] local.INFO: TCP Data received {"connection_id":173007,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:55:50] local.INFO: Processing buffer {"connection_id":173007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:55:50] local.INFO: IMEI packet received {"connection_id":173007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":173007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:55:50] local.INFO: TCP Data received {"connection_id":173007,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070e1eaa8012d0da2c0071e44500032009227..."} 
[2026-09-05 14:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e1eaa8012d0da2c0071e44500032009227..."} 
[2026-09-05 14:55:50] local.INFO: Processing buffer {"connection_id":173007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e1eaa8012d0da2c0071e44500032009227..."} 
[2026-09-05 14:55:50] local.INFO: Packet analysis {"connection_id":173007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e1"} 
[2026-09-05 14:55:50] local.INFO: Extracted packet for processing {"connection_id":173007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e1"} 
[2026-09-05 14:55:50] local.INFO: GPS Element Parsed {"raw_longitude":755868352,"raw_latitude":119424080,"longitude_deg":75.5868352,"latitude_deg":11.942408,"altitude":50,"angle":146,"satellites":39,"speed":14,"hex_longitude":"2d0da2c0","hex_latitude":"071e4450","is_valid_coordinates":true} 
[2026-09-05 14:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881663232001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17888156535750656,"note":"Value kept but may cause issues"} 
[2026-09-05 14:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982277330548668416,"note":"Value kept but may cause issues"} 
[2026-09-05 14:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788600249000,"timestamp_ms":1788600249000,"timestamp_seconds":1788600249,"priority":1,"record_length":96,"hex_timestamp":"000001a070e1eaa8"} 
[2026-09-05 14:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 14:55:50] 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-09-05 14:55:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881663232001,"66":14298,"11":206,"83":41984,"24":14,"16":17888156535750656,"45":982277330548668416},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-05 14:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881663232001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:55:50] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 14:55:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 14:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17888156535750656,"km_value":17888156535750.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":982277330548668416,"description":"Unknown IO ID 45"} 
[2026-09-05 14:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881663232001,"power":14298,"unknown_11":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":982277330548668416}} 
[2026-09-05 14:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":173007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:55:51] local.INFO: GPS data processed {"connection_id":173007,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:55:51] local.INFO: Acknowledgment sent {"connection_id":173007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:55:53] local.INFO: TCP Data received {"connection_id":173008,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173008,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:55:53] local.INFO: Processing buffer {"connection_id":173008,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:55:53] local.INFO: IMEI packet received {"connection_id":173008,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":173008,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:55:54] local.INFO: TCP Data received {"connection_id":174330,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:55:54] local.INFO: Processing buffer {"connection_id":174330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:55:54] local.INFO: IMEI packet received {"connection_id":174330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":174330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:55:54] local.INFO: TCP Data received {"connection_id":173008,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070e2dcd8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e2dcd8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:55:54] local.INFO: Processing buffer {"connection_id":173008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e2dcd8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:55:54] local.INFO: Packet analysis {"connection_id":173008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:55:54] local.INFO: Extracted packet for processing {"connection_id":173008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:55:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881602560001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:55:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788600311000,"timestamp_ms":1788600311000,"timestamp_seconds":1788600311,"priority":1,"record_length":96,"hex_timestamp":"000001a070e2dcd8"} 
[2026-09-05 14:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:55:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173008,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173008,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881602560001,"66":25397,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881602560001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:55:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:55:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:55:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881602560001,"power":25397,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":173008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769200,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:55:54] local.INFO: GPS data processed {"connection_id":173008,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:55:54] local.INFO: Acknowledgment sent {"connection_id":173008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:55:56] local.INFO: TCP Data received {"connection_id":174330,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:55:56] local.INFO: Processing buffer {"connection_id":174330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:55:56] local.INFO: IMEI packet received {"connection_id":174330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":174330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:55:57] local.INFO: TCP Data received {"connection_id":174330,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:55:57] local.INFO: Processing buffer {"connection_id":174330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:55:57] local.INFO: IMEI packet received {"connection_id":174330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":174330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:55:59] local.INFO: TCP Data received {"connection_id":174330,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:55:59] local.INFO: Processing buffer {"connection_id":174330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:55:59] local.INFO: IMEI packet received {"connection_id":174330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":174330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:56:00] local.INFO: TCP Data received {"connection_id":173009,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:56:00] local.INFO: Processing buffer {"connection_id":173009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:56:00] local.INFO: IMEI packet received {"connection_id":173009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 14:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":173009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:56:01] local.INFO: TCP Data received {"connection_id":173009,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:56:01] local.INFO: Processing buffer {"connection_id":173009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:56:01] local.INFO: IMEI packet received {"connection_id":173009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 14:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":173009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:56:02] local.INFO: TCP Data received {"connection_id":174330,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a070e24c50012d82bb80060673400014015b22..."} 
[2026-09-05 14:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e24c50012d82bb80060673400014015b22..."} 
[2026-09-05 14:56:02] local.INFO: Processing buffer {"connection_id":174330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e24c50012d82bb80060673400014015b22..."} 
[2026-09-05 14:56:02] local.INFO: Packet analysis {"connection_id":174330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:56:02] local.INFO: Extracted packet for processing {"connection_id":174330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:56:02] local.INFO: GPS Element Parsed {"raw_longitude":763542400,"raw_latitude":101086016,"longitude_deg":76.35424,"latitude_deg":10.1086016,"altitude":20,"angle":347,"satellites":34,"speed":0,"hex_longitude":"2d82bb80","hex_latitude":"06067340","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881669376001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399824913675845632,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026621002256035840,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788600274000,"timestamp_ms":1788600274000,"timestamp_seconds":1788600274,"priority":1,"record_length":96,"hex_timestamp":"000001a070e24c50"} 
[2026-09-05 14:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-05 14:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881669376001,"66":23071,"235":206,"87":10496,"24":0,"16":399824913675845632,"45":-9026621002256035840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,87,24,16,45]} 
[2026-09-05 14:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881669376001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:56:02] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 14:56:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399824913675845632,"km_value":399824913675845.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026621002256035840,"description":"Unknown IO ID 45"} 
[2026-09-05 14:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881669376001,"power":23071,"unknown_235":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9026621002256035840}} 
[2026-09-05 14:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":174330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:56:02] local.INFO: GPS data processed {"connection_id":174330,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:56:02] local.INFO: Acknowledgment sent {"connection_id":174330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:56:02] local.INFO: TCP Data received {"connection_id":173009,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070e25038012d7bcc0005ec2780001100fb24..."} 
[2026-09-05 14:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e25038012d7bcc0005ec2780001100fb24..."} 
[2026-09-05 14:56:02] local.INFO: Processing buffer {"connection_id":173009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e25038012d7bcc0005ec2780001100fb24..."} 
[2026-09-05 14:56:02] local.INFO: Packet analysis {"connection_id":173009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:56:02] local.INFO: Extracted packet for processing {"connection_id":173009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:56:02] local.INFO: GPS Element Parsed {"raw_longitude":763087872,"raw_latitude":99362688,"longitude_deg":76.3087872,"latitude_deg":9.9362688,"altitude":17,"angle":251,"satellites":36,"speed":0,"hex_longitude":"2d7bcc00","hex_latitude":"05ec2780","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881665024001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128492996155932672,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921419781025323008,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788600275000,"timestamp_ms":1788600275000,"timestamp_seconds":1788600275,"priority":1,"record_length":96,"hex_timestamp":"000001a070e25038"} 
[2026-09-05 14:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:56:02] 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-09-05 14: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-05 14:56:02] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3940658279677952,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627255119104,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:02] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2197815296,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:02] local.WARNING: Large IO value detected {"io_id":112,"raw_value":3770028033,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-09-05 14:56:02] local.WARNING: Large IO value detected {"io_id":229,"raw_value":2147871789,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2137456640,"corrected_to":0} 
[2026-09-05 14:56:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3962626048,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:02] local.WARNING: Large IO value detected {"io_id":191,"raw_value":-576129266366806548,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:02] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-2305822113994375160,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:02] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,198,87,24,241,157,16,127,160,172,45,64,40,17,37,10,66,90,43,36,8,1,240,93,227,112,236,4,113,205,100,229,248,31,239,53,2,200,5,20,14,191,50],"length":528,"final_offset":658,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0},{"io_id":200,"original":2137456640,"validated":0}]} 
[2026-09-05 14:56:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225256334488764416,"timestamp_seconds":1225256334488764.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 14:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881665024001,"66":13765,"198":206,"87":13824,"24":0,"16":128492996155932672,"45":8921419781025323008},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 14:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 14:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 14:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881665024001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:56:02] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 14:56:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 14:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128492996155932672,"km_value":128492996155932.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921419781025323008,"description":"Unknown IO ID 45"} 
[2026-09-05 14:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881665024001,"power":13765,"unknown_198":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8921419781025323008}} 
[2026-09-05 14:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":173009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:56:02] local.INFO: GPS data processed {"connection_id":173009,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:56:02] local.INFO: Acknowledgment sent {"connection_id":173009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:56:06] local.INFO: TCP Data received {"connection_id":173009,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070e2a240012d7bbb4005ec22a8000f00fd25..."} 
[2026-09-05 14:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e2a240012d7bbb4005ec22a8000f00fd25..."} 
[2026-09-05 14:56:06] local.INFO: Processing buffer {"connection_id":173009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e2a240012d7bbb4005ec22a8000f00fd25..."} 
[2026-09-05 14:56:06] local.INFO: Packet analysis {"connection_id":173009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:56:06] local.INFO: Extracted packet for processing {"connection_id":173009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:56:06] local.INFO: GPS Element Parsed {"raw_longitude":763083584,"raw_latitude":99361448,"longitude_deg":76.3083584,"latitude_deg":9.9361448,"altitude":15,"angle":253,"satellites":37,"speed":14,"hex_longitude":"2d7bbb40","hex_latitude":"05ec22a8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 14:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881670400001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128493210904297472,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920504987350958080,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788600296000,"timestamp_ms":1788600296000,"timestamp_seconds":1788600296,"priority":1,"record_length":96,"hex_timestamp":"000001a070e2a240"} 
[2026-09-05 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-09-05 14:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-05 14:56:06] 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-09-05 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-09-05 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-09-05 14:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881670400001,"66":13906,"198":206,"87":13824,"24":14,"16":128493210904297472,"45":8920504987350958080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 14:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 14:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 14:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881670400001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:56:06] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 14:56:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 14:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128493210904297472,"km_value":128493210904297.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920504987350958080,"description":"Unknown IO ID 45"} 
[2026-09-05 14:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881670400001,"power":13906,"unknown_198":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8920504987350958080}} 
[2026-09-05 14:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":173009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:56:06] local.INFO: GPS data processed {"connection_id":173009,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:56:06] local.INFO: Acknowledgment sent {"connection_id":173009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:56:21] local.INFO: TCP Data received {"connection_id":173007,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070e32328012d0e0540071df4e8001e009629..."} 
[2026-09-05 14:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e32328012d0e0540071df4e8001e009629..."} 
[2026-09-05 14:56:21] local.INFO: Processing buffer {"connection_id":173007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e32328012d0e0540071df4e8001e009629..."} 
[2026-09-05 14:56:21] local.INFO: Packet analysis {"connection_id":173007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e3"} 
[2026-09-05 14:56:21] local.INFO: Extracted packet for processing {"connection_id":173007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e3"} 
[2026-09-05 14:56:21] local.INFO: GPS Element Parsed {"raw_longitude":755893568,"raw_latitude":119403752,"longitude_deg":75.5893568,"latitude_deg":11.9403752,"altitude":30,"angle":150,"satellites":41,"speed":18,"hex_longitude":"2d0e0540","hex_latitude":"071df4e8","is_valid_coordinates":true} 
[2026-09-05 14:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881683968001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17889788623323136,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009932247005284352,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788600329000,"timestamp_ms":1788600329000,"timestamp_seconds":1788600329,"priority":1,"record_length":96,"hex_timestamp":"000001a070e32328"} 
[2026-09-05 14:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:56:21] 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-09-05 14:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-05 14:56:21] 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-09-05 14:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881683968001,"66":12645,"11":206,"83":41984,"24":18,"16":17889788623323136,"45":1009932247005284352},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-05 14:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881683968001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:56:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 14:56:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 14:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17889788623323136,"km_value":17889788623323.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009932247005284352,"description":"Unknown IO ID 45"} 
[2026-09-05 14:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881683968001,"power":12645,"unknown_11":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1009932247005284352}} 
[2026-09-05 14:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":173007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:56:22] local.INFO: GPS data processed {"connection_id":173007,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:56:22] local.INFO: Acknowledgment sent {"connection_id":173007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:56:26] local.INFO: TCP Data received {"connection_id":173008,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070e2dcd8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e2dcd8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:56:26] local.INFO: Processing buffer {"connection_id":173008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e2dcd8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:56:26] local.INFO: Packet analysis {"connection_id":173008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:56:26] local.INFO: Extracted packet for processing {"connection_id":173008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:56:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881602560001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788600311000,"timestamp_ms":1788600311000,"timestamp_seconds":1788600311,"priority":1,"record_length":96,"hex_timestamp":"000001a070e2dcd8"} 
[2026-09-05 14:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:56:26] 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-09-05 14:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173008,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173008,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:56:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881602560001,"66":25397,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881602560001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:56:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:56:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:56:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881602560001,"power":25397,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":173008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769205,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:56:26] local.INFO: GPS data processed {"connection_id":173008,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:56:26] local.INFO: Acknowledgment sent {"connection_id":173008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:56:33] local.INFO: TCP Data received {"connection_id":174330,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a070e29e58012d82bb80060673400014015b21..."} 
[2026-09-05 14:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e29e58012d82bb80060673400014015b21..."} 
[2026-09-05 14:56:33] local.INFO: Processing buffer {"connection_id":174330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e29e58012d82bb80060673400014015b21..."} 
[2026-09-05 14:56:33] local.INFO: Packet analysis {"connection_id":174330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:56:33] local.INFO: Extracted packet for processing {"connection_id":174330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:56:33] local.INFO: GPS Element Parsed {"raw_longitude":763542400,"raw_latitude":101086016,"longitude_deg":76.35424,"latitude_deg":10.1086016,"altitude":20,"angle":347,"satellites":33,"speed":0,"hex_longitude":"2d82bb80","hex_latitude":"06067340","is_valid_coordinates":true} 
[2026-09-05 14:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881670144001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399824913675845632,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026480264767651840,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788600295000,"timestamp_ms":1788600295000,"timestamp_seconds":1788600295,"priority":1,"record_length":96,"hex_timestamp":"000001a070e29e58"} 
[2026-09-05 14:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:56: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-09-05 14:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":90,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 14:56:33] 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-09-05 14:56:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881670144001,"66":27767,"235":206,"87":10496,"24":0,"16":399824913675845632,"45":-9026480264767651840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,87,24,16,45]} 
[2026-09-05 14:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881670144001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:56:33] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 14:56:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399824913675845632,"km_value":399824913675845.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026480264767651840,"description":"Unknown IO ID 45"} 
[2026-09-05 14:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881670144001,"power":27767,"unknown_235":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9026480264767651840}} 
[2026-09-05 14:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":174330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:56:33] local.INFO: GPS data processed {"connection_id":174330,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:56:33] local.INFO: Acknowledgment sent {"connection_id":174330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:56:42] local.INFO: TCP Data received {"connection_id":173009,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070e2f448012d7bb54005ec2108000e00fe25..."} 
[2026-09-05 14:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e2f448012d7bb54005ec2108000e00fe25..."} 
[2026-09-05 14:56:42] local.INFO: Processing buffer {"connection_id":173009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e2f448012d7bb54005ec2108000e00fe25..."} 
[2026-09-05 14:56:42] local.INFO: Packet analysis {"connection_id":173009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:56:42] local.INFO: Extracted packet for processing {"connection_id":173009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:56:42] local.INFO: GPS Element Parsed {"raw_longitude":763082048,"raw_latitude":99361032,"longitude_deg":76.3082048,"latitude_deg":9.9361032,"altitude":14,"angle":254,"satellites":37,"speed":0,"hex_longitude":"2d7bb540","hex_latitude":"05ec2108","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881675776001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128493283918741504,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915790281490737152,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788600317000,"timestamp_ms":1788600317000,"timestamp_seconds":1788600317,"priority":1,"record_length":96,"hex_timestamp":"000001a070e2f448"} 
[2026-09-05 14:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-05 14:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":173009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":173009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":173009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881675776001,"66":13928,"198":206,"87":13824,"24":0,"16":128493283918741504,"45":8915790281490737152},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 14:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 14:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 14:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881675776001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:56:42] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 14:56:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 14:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128493283918741504,"km_value":128493283918741.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915790281490737152,"description":"Unknown IO ID 45"} 
[2026-09-05 14:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881675776001,"power":13928,"unknown_198":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8915790281490737152}} 
[2026-09-05 14:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":173009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:56:42] local.INFO: GPS data processed {"connection_id":173009,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:56:42] local.INFO: Acknowledgment sent {"connection_id":173009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:56:44] local.INFO: TCP Data received {"connection_id":171619,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:56:44] local.INFO: Processing buffer {"connection_id":171619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:56:44] local.INFO: IMEI packet received {"connection_id":171619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":171619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:56:50] local.INFO: TCP Data received {"connection_id":171619,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:56:50] local.INFO: Processing buffer {"connection_id":171619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:56:50] local.INFO: IMEI packet received {"connection_id":171619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":171619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:56:51] local.INFO: TCP Data received {"connection_id":171619,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070e32710012d0e05c0071df340001e00a129..."} 
[2026-09-05 14:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e32710012d0e05c0071df340001e00a129..."} 
[2026-09-05 14:56:51] local.INFO: Processing buffer {"connection_id":171619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e32710012d0e05c0071df340001e00a129..."} 
[2026-09-05 14:56:51] local.INFO: Packet analysis {"connection_id":171619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e3"} 
[2026-09-05 14:56:51] local.INFO: Extracted packet for processing {"connection_id":171619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e3"} 
[2026-09-05 14:56:51] local.INFO: GPS Element Parsed {"raw_longitude":755893696,"raw_latitude":119403328,"longitude_deg":75.5893696,"latitude_deg":11.9403328,"altitude":30,"angle":161,"satellites":41,"speed":17,"hex_longitude":"2d0e05c0","hex_latitude":"071df340","is_valid_coordinates":true} 
[2026-09-05 14:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881684224001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17889810098159616,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1010284090726082560,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788600330000,"timestamp_ms":1788600330000,"timestamp_seconds":1788600330,"priority":1,"record_length":96,"hex_timestamp":"000001a070e32710"} 
[2026-09-05 14:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-05 14:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881684224001,"66":13624,"11":206,"83":41984,"24":17,"16":17889810098159616,"45":1010284090726082560},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-05 14:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881684224001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:56:51] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 14:56:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 14:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17889810098159616,"km_value":17889810098159.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1010284090726082560,"description":"Unknown IO ID 45"} 
[2026-09-05 14:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881684224001,"power":13624,"unknown_11":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1010284090726082560}} 
[2026-09-05 14:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":171619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:56:51] local.INFO: GPS data processed {"connection_id":171619,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:56:51] local.INFO: Acknowledgment sent {"connection_id":171619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:56:52] local.INFO: TCP Data received {"connection_id":171620,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171620,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:56:52] local.INFO: Processing buffer {"connection_id":171620,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:56:52] local.INFO: IMEI packet received {"connection_id":171620,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":171620,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:56:54] local.INFO: TCP Data received {"connection_id":171621,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:56:54] local.INFO: Processing buffer {"connection_id":171621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:56:54] local.INFO: IMEI packet received {"connection_id":171621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 14:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":171621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:56:55] local.INFO: TCP Data received {"connection_id":171621,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:56:55] local.INFO: Processing buffer {"connection_id":171621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:56:55] local.INFO: IMEI packet received {"connection_id":171621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 14:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":171621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:56:56] local.INFO: TCP Data received {"connection_id":174331,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:56:56] local.INFO: Processing buffer {"connection_id":174331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:56:56] local.INFO: IMEI packet received {"connection_id":174331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":174331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:56:57] local.INFO: TCP Data received {"connection_id":171620,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171620,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:56:57] local.INFO: Processing buffer {"connection_id":171620,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:56:57] local.INFO: IMEI packet received {"connection_id":171620,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":171620,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:56:58] local.INFO: TCP Data received {"connection_id":171620,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070e2dcd8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e2dcd8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:56:58] local.INFO: Processing buffer {"connection_id":171620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e2dcd8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:56:58] local.INFO: Packet analysis {"connection_id":171620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:56:58] local.INFO: Extracted packet for processing {"connection_id":171620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:56:58] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881602560001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788600311000,"timestamp_ms":1788600311000,"timestamp_seconds":1788600311,"priority":1,"record_length":96,"hex_timestamp":"000001a070e2dcd8"} 
[2026-09-05 14:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:56:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:56:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881602560001,"66":25397,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881602560001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:56:58] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:56:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:56:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881602560001,"power":25397,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":171620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769209,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:56:59] local.INFO: GPS data processed {"connection_id":171620,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:56:59] local.INFO: Acknowledgment sent {"connection_id":171620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:57:01] local.INFO: TCP Data received {"connection_id":171621,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:57:01] local.INFO: Processing buffer {"connection_id":171621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:57:01] local.INFO: IMEI packet received {"connection_id":171621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 14:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":171621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:57:01] local.INFO: TCP Data received {"connection_id":174331,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:57:01] local.INFO: Processing buffer {"connection_id":174331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:57:01] local.INFO: IMEI packet received {"connection_id":174331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":174331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:57:02] local.INFO: TCP Data received {"connection_id":174331,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a070e2f060012d82bb80060673400014015b25..."} 
[2026-09-05 14:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e2f060012d82bb80060673400014015b25..."} 
[2026-09-05 14:57:02] local.INFO: Processing buffer {"connection_id":174331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e2f060012d82bb80060673400014015b25..."} 
[2026-09-05 14:57:02] local.INFO: Packet analysis {"connection_id":174331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:57:02] local.INFO: Extracted packet for processing {"connection_id":174331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:57:02] local.INFO: GPS Element Parsed {"raw_longitude":763542400,"raw_latitude":101086016,"longitude_deg":76.35424,"latitude_deg":10.1086016,"altitude":20,"angle":347,"satellites":37,"speed":0,"hex_longitude":"2d82bb80","hex_latitude":"06067340","is_valid_coordinates":true} 
[2026-09-05 14:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881675520001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399824913675845632,"note":"Value kept but may cause issues"} 
[2026-09-05 14:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026480264767651840,"note":"Value kept but may cause issues"} 
[2026-09-05 14:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788600316000,"timestamp_ms":1788600316000,"timestamp_seconds":1788600316,"priority":1,"record_length":96,"hex_timestamp":"000001a070e2f060"} 
[2026-09-05 14:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:57: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-09-05 14:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 14:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881675520001,"66":27745,"166":206,"87":10496,"24":0,"16":399824913675845632,"45":-9026480264767651840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,87,24,16,45]} 
[2026-09-05 14:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881675520001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:57:02] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-05 14:57:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399824913675845632,"km_value":399824913675845.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026480264767651840,"description":"Unknown IO ID 45"} 
[2026-09-05 14:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881675520001,"power":27745,"unknown_166":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9026480264767651840}} 
[2026-09-05 14:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":174331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:57:02] local.INFO: GPS data processed {"connection_id":174331,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:57:02] local.INFO: Acknowledgment sent {"connection_id":174331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:57:03] local.INFO: TCP Data received {"connection_id":171620,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070e2dcd8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e2dcd8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:57:03] local.INFO: Processing buffer {"connection_id":171620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e2dcd8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:57:03] local.INFO: Packet analysis {"connection_id":171620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:57:03] local.INFO: Extracted packet for processing {"connection_id":171620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:57:03] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881602560001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:57:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788600311000,"timestamp_ms":1788600311000,"timestamp_seconds":1788600311,"priority":1,"record_length":96,"hex_timestamp":"000001a070e2dcd8"} 
[2026-09-05 14:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14: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":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:57: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-09-05 14: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-09-05 14:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881602560001,"66":25397,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881602560001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:57:03] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:57:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:57:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881602560001,"power":25397,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":171620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769211,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:57:03] local.INFO: GPS data processed {"connection_id":171620,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:57:03] local.INFO: Acknowledgment sent {"connection_id":171620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:57:04] local.INFO: TCP Data received {"connection_id":171621,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070e34650012d7bb54005ec2108000e00fe25..."} 
[2026-09-05 14:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e34650012d7bb54005ec2108000e00fe25..."} 
[2026-09-05 14:57:04] local.INFO: Processing buffer {"connection_id":171621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e34650012d7bb54005ec2108000e00fe25..."} 
[2026-09-05 14:57:04] local.INFO: Packet analysis {"connection_id":171621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e3"} 
[2026-09-05 14:57:04] local.INFO: Extracted packet for processing {"connection_id":171621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e3"} 
[2026-09-05 14:57:04] local.INFO: GPS Element Parsed {"raw_longitude":763082048,"raw_latitude":99361032,"longitude_deg":76.3082048,"latitude_deg":9.9361032,"altitude":14,"angle":254,"satellites":37,"speed":0,"hex_longitude":"2d7bb540","hex_latitude":"05ec2108","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881681152001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128493283918741504,"note":"Value kept but may cause issues"} 
[2026-09-05 14:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8914101431630366720,"note":"Value kept but may cause issues"} 
[2026-09-05 14:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788600338000,"timestamp_ms":1788600338000,"timestamp_seconds":1788600338,"priority":1,"record_length":96,"hex_timestamp":"000001a070e34650"} 
[2026-09-05 14:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:57:04] 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-09-05 14: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-05 14:57: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-09-05 14: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-09-05 14:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881681152001,"66":13906,"198":206,"87":13824,"24":0,"16":128493283918741504,"45":8914101431630366720},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 14:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 14:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 14:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881681152001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:57:04] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 14:57:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 14:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128493283918741504,"km_value":128493283918741.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8914101431630366720,"description":"Unknown IO ID 45"} 
[2026-09-05 14:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881681152001,"power":13906,"unknown_198":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8914101431630366720}} 
[2026-09-05 14:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":171621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769212,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:57:04] local.INFO: GPS data processed {"connection_id":171621,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:57:04] local.INFO: Acknowledgment sent {"connection_id":171621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:57:15] local.INFO: TCP Data received {"connection_id":171621,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070e39858012d7ba84005ec1ce0000e00fd26..."} 
[2026-09-05 14:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e39858012d7ba84005ec1ce0000e00fd26..."} 
[2026-09-05 14:57:15] local.INFO: Processing buffer {"connection_id":171621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e39858012d7ba84005ec1ce0000e00fd26..."} 
[2026-09-05 14:57:15] local.INFO: Packet analysis {"connection_id":171621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e3"} 
[2026-09-05 14:57:15] local.INFO: Extracted packet for processing {"connection_id":171621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e3"} 
[2026-09-05 14:57:15] local.INFO: GPS Element Parsed {"raw_longitude":763078720,"raw_latitude":99359968,"longitude_deg":76.307872,"latitude_deg":9.9359968,"altitude":14,"angle":253,"satellites":38,"speed":14,"hex_longitude":"2d7ba840","hex_latitude":"05ec1ce0","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881686528001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128493455717433344,"note":"Value kept but may cause issues"} 
[2026-09-05 14:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8914101431630366720,"note":"Value kept but may cause issues"} 
[2026-09-05 14:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788600359000,"timestamp_ms":1788600359000,"timestamp_seconds":1788600359,"priority":1,"record_length":96,"hex_timestamp":"000001a070e39858"} 
[2026-09-05 14:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:57:15] 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-09-05 14:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-05 14:57:15] 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-09-05 14: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-09-05 14:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":171621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":171621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":171621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881686528001,"66":13830,"198":206,"87":13824,"24":14,"16":128493455717433344,"45":8914101431630366720},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 14:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 14:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 14:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881686528001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:57:15] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 14:57:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 14:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128493455717433344,"km_value":128493455717433.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8914101431630366720,"description":"Unknown IO ID 45"} 
[2026-09-05 14:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881686528001,"power":13830,"unknown_198":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8914101431630366720}} 
[2026-09-05 14:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":171621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769213,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:57:15] local.INFO: GPS data processed {"connection_id":171621,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:57:15] local.INFO: Acknowledgment sent {"connection_id":171621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:57:22] local.INFO: TCP Data received {"connection_id":171619,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070e34268012d0e0780071deb20001f00ad28..."} 
[2026-09-05 14:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e34268012d0e0780071deb20001f00ad28..."} 
[2026-09-05 14:57:22] local.INFO: Processing buffer {"connection_id":171619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e34268012d0e0780071deb20001f00ad28..."} 
[2026-09-05 14:57:22] local.INFO: Packet analysis {"connection_id":171619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e3"} 
[2026-09-05 14:57:22] local.INFO: Extracted packet for processing {"connection_id":171619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e3"} 
[2026-09-05 14:57:22] local.INFO: GPS Element Parsed {"raw_longitude":755894144,"raw_latitude":119401248,"longitude_deg":75.5894144,"latitude_deg":11.9401248,"altitude":31,"angle":173,"satellites":40,"speed":12,"hex_longitude":"2d0e0780","hex_latitude":"071deb20","is_valid_coordinates":true} 
[2026-09-05 14:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881684480001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17889913177374720,"note":"Value kept but may cause issues"} 
[2026-09-05 14:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1010424828214329344,"note":"Value kept but may cause issues"} 
[2026-09-05 14:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788600337000,"timestamp_ms":1788600337000,"timestamp_seconds":1788600337,"priority":1,"record_length":96,"hex_timestamp":"000001a070e34268"} 
[2026-09-05 14:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-05 14:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:57:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881684480001,"66":13928,"11":206,"83":41984,"24":12,"16":17889913177374720,"45":1010424828214329344},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-05 14:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881684480001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:57:22] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 14:57:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 14:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17889913177374720,"km_value":17889913177374.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1010424828214329344,"description":"Unknown IO ID 45"} 
[2026-09-05 14:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881684480001,"power":13928,"unknown_11":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1010424828214329344}} 
[2026-09-05 14:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":171619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:57:22] local.INFO: GPS data processed {"connection_id":171619,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:57:22] local.INFO: Acknowledgment sent {"connection_id":171619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:57:32] local.INFO: TCP Data received {"connection_id":174331,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a070e2f830012d82b9c0060671c0001300b128..."} 
[2026-09-05 14:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e2f830012d82b9c0060671c0001300b128..."} 
[2026-09-05 14:57:32] local.INFO: Processing buffer {"connection_id":174331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e2f830012d82b9c0060671c0001300b128..."} 
[2026-09-05 14:57:32] local.INFO: Packet analysis {"connection_id":174331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:57:32] local.INFO: Extracted packet for processing {"connection_id":174331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:57:32] local.INFO: GPS Element Parsed {"raw_longitude":763541952,"raw_latitude":101085632,"longitude_deg":76.3541952,"latitude_deg":10.1085632,"altitude":19,"angle":177,"satellites":40,"speed":7,"hex_longitude":"2d82b9c0","hex_latitude":"060671c0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 14:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881680896001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399824939445649408,"note":"Value kept but may cause issues"} 
[2026-09-05 14:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026480264767651840,"note":"Value kept but may cause issues"} 
[2026-09-05 14:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788600318000,"timestamp_ms":1788600318000,"timestamp_seconds":1788600318,"priority":1,"record_length":96,"hex_timestamp":"000001a070e2f830"} 
[2026-09-05 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-09-05 14:57: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-09-05 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 14:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 14:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881680896001,"66":27995,"166":206,"87":10496,"24":7,"16":399824939445649408,"45":-9026480264767651840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,87,24,16,45]} 
[2026-09-05 14:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881680896001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:57:32] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-05 14:57:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399824939445649408,"km_value":399824939445649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026480264767651840,"description":"Unknown IO ID 45"} 
[2026-09-05 14:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881680896001,"power":27995,"unknown_166":206,"unknown_87":10496,"ignition":7,"odometer":null,"unknown_45":-9026480264767651840}} 
[2026-09-05 14:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":174331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:57:33] local.INFO: GPS data processed {"connection_id":174331,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:57:33] local.INFO: Acknowledgment sent {"connection_id":174331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:57:44] local.INFO: TCP Data received {"connection_id":171622,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:57:44] local.INFO: Processing buffer {"connection_id":171622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:57:44] local.INFO: IMEI packet received {"connection_id":171622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":171622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:57:47] local.INFO: TCP Data received {"connection_id":171623,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171623,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:57:47] local.INFO: Processing buffer {"connection_id":171623,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:57:47] local.INFO: IMEI packet received {"connection_id":171623,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":171623,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:57:50] local.INFO: TCP Data received {"connection_id":171622,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:57:50] local.INFO: Processing buffer {"connection_id":171622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:57:50] local.INFO: IMEI packet received {"connection_id":171622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":171622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:57:51] local.INFO: TCP Data received {"connection_id":171622,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a070e36978012d0e0840071ddbd0002000b926..."} 
[2026-09-05 14:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e36978012d0e0840071ddbd0002000b926..."} 
[2026-09-05 14:57:51] local.INFO: Processing buffer {"connection_id":171622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e36978012d0e0840071ddbd0002000b926..."} 
[2026-09-05 14:57:51] local.INFO: Packet analysis {"connection_id":171622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e3"} 
[2026-09-05 14:57:51] local.INFO: Extracted packet for processing {"connection_id":171622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e3"} 
[2026-09-05 14:57:51] local.INFO: GPS Element Parsed {"raw_longitude":755894336,"raw_latitude":119397328,"longitude_deg":75.5894336,"latitude_deg":11.9397328,"altitude":32,"angle":185,"satellites":38,"speed":11,"hex_longitude":"2d0e0840","hex_latitude":"071ddbd0","is_valid_coordinates":true} 
[2026-09-05 14:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881686272001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17890106450903040,"note":"Value kept but may cause issues"} 
[2026-09-05 14:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1010917409423040512,"note":"Value kept but may cause issues"} 
[2026-09-05 14:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788600347000,"timestamp_ms":1788600347000,"timestamp_seconds":1788600347,"priority":1,"record_length":96,"hex_timestamp":"000001a070e36978"} 
[2026-09-05 14:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-05 14:57:51] 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-09-05 14:57:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881686272001,"66":13504,"237":206,"83":41984,"24":11,"16":17890106450903040,"45":1010917409423040512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-09-05 14:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881686272001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:57:51] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-05 14:57:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 14:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17890106450903040,"km_value":17890106450903.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1010917409423040512,"description":"Unknown IO ID 45"} 
[2026-09-05 14:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881686272001,"power":13504,"unknown_237":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1010917409423040512}} 
[2026-09-05 14:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":171622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:57:51] local.INFO: GPS data processed {"connection_id":171622,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:57:51] local.INFO: Acknowledgment sent {"connection_id":171622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:57:53] local.INFO: TCP Data received {"connection_id":171623,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171623,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:57:53] local.INFO: Processing buffer {"connection_id":171623,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:57:53] local.INFO: IMEI packet received {"connection_id":171623,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":171623,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:57:54] local.INFO: TCP Data received {"connection_id":171623,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070e2dcd8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e2dcd8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:57:54] local.INFO: Processing buffer {"connection_id":171623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e2dcd8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:57:54] local.INFO: Packet analysis {"connection_id":171623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:57:54] local.INFO: Extracted packet for processing {"connection_id":171623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:57:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881602560001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:57:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788600311000,"timestamp_ms":1788600311000,"timestamp_seconds":1788600311,"priority":1,"record_length":96,"hex_timestamp":"000001a070e2dcd8"} 
[2026-09-05 14:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171623,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171623,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881602560001,"66":25397,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881602560001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:57:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:57:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:57:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881602560001,"power":25397,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":171623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769217,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:57:54] local.INFO: GPS data processed {"connection_id":171623,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:57:54] local.INFO: Acknowledgment sent {"connection_id":171623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:57:56] local.INFO: TCP Data received {"connection_id":173010,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:57:56] local.INFO: Processing buffer {"connection_id":173010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:57:56] local.INFO: IMEI packet received {"connection_id":173010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":173010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:57:56] local.INFO: TCP Data received {"connection_id":173010,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:57:56] local.INFO: Processing buffer {"connection_id":173010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:57:56] local.INFO: IMEI packet received {"connection_id":173010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":173010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:57:58] local.INFO: TCP Data received {"connection_id":173010,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:57:58] local.INFO: Processing buffer {"connection_id":173010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:57:58] local.INFO: IMEI packet received {"connection_id":173010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":173010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:58:01] local.INFO: TCP Data received {"connection_id":173010,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:58:01] local.INFO: Processing buffer {"connection_id":173010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:58:01] local.INFO: IMEI packet received {"connection_id":173010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":173010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:58:02] local.INFO: TCP Data received {"connection_id":173010,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a070e48e70012d82cb00060652400018015a2e..."} 
[2026-09-05 14:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e48e70012d82cb00060652400018015a2e..."} 
[2026-09-05 14:58:02] local.INFO: Processing buffer {"connection_id":173010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e48e70012d82cb00060652400018015a2e..."} 
[2026-09-05 14:58:02] local.INFO: Packet analysis {"connection_id":173010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e4"} 
[2026-09-05 14:58:02] local.INFO: Extracted packet for processing {"connection_id":173010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e4"} 
[2026-09-05 14:58:02] local.INFO: GPS Element Parsed {"raw_longitude":763546368,"raw_latitude":101077568,"longitude_deg":76.3546368,"latitude_deg":10.1077568,"altitude":24,"angle":346,"satellites":46,"speed":9,"hex_longitude":"2d82cb00","hex_latitude":"06065240","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881706240001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399825751194468352,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9022047033887025152,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788600422000,"timestamp_ms":1788600422000,"timestamp_seconds":1788600422,"priority":1,"record_length":96,"hex_timestamp":"000001a070e48e70"} 
[2026-09-05 14:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 14:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881706240001,"66":27821,"235":206,"87":10496,"24":9,"16":399825751194468352,"45":-9022047033887025152},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,87,24,16,45]} 
[2026-09-05 14:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881706240001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:58:02] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 14:58:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399825751194468352,"km_value":399825751194468.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9022047033887025152,"description":"Unknown IO ID 45"} 
[2026-09-05 14:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881706240001,"power":27821,"unknown_235":206,"unknown_87":10496,"ignition":9,"odometer":null,"unknown_45":-9022047033887025152}} 
[2026-09-05 14:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":173010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:58:02] local.INFO: GPS data processed {"connection_id":173010,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:58:02] local.INFO: Acknowledgment sent {"connection_id":173010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:58:17] local.INFO: TCP Data received {"connection_id":171921,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:58:17] local.INFO: Processing buffer {"connection_id":171921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:58:17] local.INFO: IMEI packet received {"connection_id":171921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 14:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":171921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:58:18] local.INFO: TCP Data received {"connection_id":171921,"ip":"42.109.136.0","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-05 14:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171921,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-05 14:58:18] local.INFO: Processing buffer {"connection_id":171921,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-05 14:58:18] local.INFO: IMEI packet received {"connection_id":171921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 14:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":171921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:58:19] local.INFO: TCP Data received {"connection_id":171921,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070e3dac0012d7b84c005ec1290000d00fc26..."} 
[2026-09-05 14:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e3dac0012d7b84c005ec1290000d00fc26..."} 
[2026-09-05 14:58:19] local.INFO: Processing buffer {"connection_id":171921,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a070..."} 
[2026-09-05 14:58:19] local.INFO: IMEI packet received {"connection_id":171921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 14:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":171921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:58:20] local.INFO: TCP Data received {"connection_id":171921,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070e41558012d7b61c005ec0760000d00f926..."} 
[2026-09-05 14:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e41558012d7b61c005ec0760000d00f926..."} 
[2026-09-05 14:58:20] local.INFO: Processing buffer {"connection_id":171921,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a070e3dac0012d7b84c005ec1290000d00fc26..."} 
[2026-09-05 14:58:20] local.INFO: Packet analysis {"connection_id":171921,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a070e3"} 
[2026-09-05 14:58:20] local.INFO: Extracted packet for processing {"connection_id":171921,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e3"} 
[2026-09-05 14:58:20] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":99357328,"longitude_deg":76.3069632,"latitude_deg":9.9357328,"altitude":13,"angle":252,"satellites":38,"speed":24,"hex_longitude":"2d7b84c0","hex_latitude":"05ec1290","is_valid_coordinates":true} 
[2026-09-05 14:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881691904001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128493906688999424,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8910442256932855808,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788600376000,"timestamp_ms":1788600376000,"timestamp_seconds":1788600376,"priority":1,"record_length":96,"hex_timestamp":"000001a070e3dac0"} 
[2026-09-05 14:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-05 14:58:20] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627255088896,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:20] local.WARNING: Large IO value detected {"io_id":127,"raw_value":3841982464,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:20] local.WARNING: Large IO value detected {"io_id":112,"raw_value":3796908033,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-09-05 14:58:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2141782016,"corrected_to":0} 
[2026-09-05 14:58:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3962071040,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:20] local.WARNING: Large IO value detected {"io_id":90,"raw_value":2306174494185620972,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:20] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-1152903908123475968,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:20] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,198,87,24,241,157,16,128,160,70,45,64,33,14,37,10,66,127,244,162,1,240,82,227,112,236,4,113,205,254,207,88,239,54,2,200,5,17,90,43],"length":528,"final_offset":658,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0},{"io_id":200,"original":2141782016,"validated":0}]} 
[2026-09-05 14:58:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009084656182493184,"timestamp_seconds":1009084656182493.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 14:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":171921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":171921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":171921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881691904001,"66":13906,"198":206,"87":13824,"24":24,"16":128493906688999424,"45":8910442256932855808},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 14:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 14:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 14:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881691904001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:58:20] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 14:58:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 14:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128493906688999424,"km_value":128493906688999.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8910442256932855808,"description":"Unknown IO ID 45"} 
[2026-09-05 14:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881691904001,"power":13906,"unknown_198":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8910442256932855808}} 
[2026-09-05 14:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":171921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769219,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:58:20] local.INFO: GPS data processed {"connection_id":171921,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:58:20] local.INFO: Acknowledgment sent {"connection_id":171921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:58:20] local.INFO: Packet analysis {"connection_id":171921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e4"} 
[2026-09-05 14:58:20] local.INFO: Extracted packet for processing {"connection_id":171921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e4"} 
[2026-09-05 14:58:20] local.INFO: GPS Element Parsed {"raw_longitude":763060672,"raw_latitude":99354464,"longitude_deg":76.3060672,"latitude_deg":9.9354464,"altitude":13,"angle":249,"satellites":38,"speed":20,"hex_longitude":"2d7b61c0","hex_latitude":"05ec0760","is_valid_coordinates":true} 
[2026-09-05 14:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881696256001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128494353365598208,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895258951680,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788600391000,"timestamp_ms":1788600391000,"timestamp_seconds":1788600391,"priority":1,"record_length":96,"hex_timestamp":"000001a070e41558"} 
[2026-09-05 14:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-05 14:58:20] 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-09-05 14:58:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":171921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":171921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":171921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881696256001,"66":13972,"198":206,"87":13824,"24":20,"16":128494353365598208,"45":8900449895258951680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 14:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 14:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 14:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881696256001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:58:20] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 14:58:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 14:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128494353365598208,"km_value":128494353365598.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895258951680,"description":"Unknown IO ID 45"} 
[2026-09-05 14:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881696256001,"power":13972,"unknown_198":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8900449895258951680}} 
[2026-09-05 14:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":171921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:58:20] local.INFO: GPS data processed {"connection_id":171921,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:58:20] local.INFO: Acknowledgment sent {"connection_id":171921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:58:21] local.INFO: TCP Data received {"connection_id":171921,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070e46378012d7b4a0005ebfdc8000c00f826..."} 
[2026-09-05 14:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e46378012d7b4a0005ebfdc8000c00f826..."} 
[2026-09-05 14:58:21] local.INFO: Processing buffer {"connection_id":171921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e46378012d7b4a0005ebfdc8000c00f826..."} 
[2026-09-05 14:58:21] local.INFO: Packet analysis {"connection_id":171921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e4"} 
[2026-09-05 14:58:21] local.INFO: Extracted packet for processing {"connection_id":171921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e4"} 
[2026-09-05 14:58:21] local.INFO: GPS Element Parsed {"raw_longitude":763054592,"raw_latitude":99352008,"longitude_deg":76.3054592,"latitude_deg":9.9352008,"altitude":12,"angle":248,"satellites":38,"speed":0,"hex_longitude":"2d7b4a00","hex_latitude":"05ebfdc8","is_valid_coordinates":true} 
[2026-09-05 14:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881700096001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128494671193178112,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890598271073345536,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788600411000,"timestamp_ms":1788600411000,"timestamp_seconds":1788600411,"priority":1,"record_length":96,"hex_timestamp":"000001a070e46378"} 
[2026-09-05 14:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 14:58:21] 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-09-05 14:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881700096001,"66":13852,"198":206,"87":13824,"24":0,"16":128494671193178112,"45":8890598271073345536},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 14:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 14:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 14:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881700096001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:58:21] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 14:58:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 14:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128494671193178112,"km_value":128494671193178.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890598271073345536,"description":"Unknown IO ID 45"} 
[2026-09-05 14:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881700096001,"power":13852,"unknown_198":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8890598271073345536}} 
[2026-09-05 14:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":171921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769221,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:58:21] local.INFO: GPS data processed {"connection_id":171921,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:58:21] local.INFO: Acknowledgment sent {"connection_id":171921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:58:22] local.INFO: TCP Data received {"connection_id":171622,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a070e384d0012d0e0780071dd010002200a926..."} 
[2026-09-05 14:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e384d0012d0e0780071dd010002200a926..."} 
[2026-09-05 14:58:22] local.INFO: Processing buffer {"connection_id":171622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e384d0012d0e0780071dd010002200a926..."} 
[2026-09-05 14:58:22] local.INFO: Packet analysis {"connection_id":171622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e3"} 
[2026-09-05 14:58:22] local.INFO: Extracted packet for processing {"connection_id":171622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e3"} 
[2026-09-05 14:58:22] local.INFO: GPS Element Parsed {"raw_longitude":755894144,"raw_latitude":119394320,"longitude_deg":75.5894144,"latitude_deg":11.939432,"altitude":34,"angle":169,"satellites":38,"speed":19,"hex_longitude":"2d0e0780","hex_latitude":"071dd010","is_valid_coordinates":true} 
[2026-09-05 14:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881688832001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17890252479791104,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011128515654569984,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788600354000,"timestamp_ms":1788600354000,"timestamp_seconds":1788600354,"priority":1,"record_length":96,"hex_timestamp":"000001a070e384d0"} 
[2026-09-05 14:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-05 14:58:22] 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-09-05 14:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881688832001,"66":13689,"237":206,"83":41984,"24":19,"16":17890252479791104,"45":1011128515654569984},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-09-05 14:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881688832001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:58:22] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-05 14:58:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 14:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17890252479791104,"km_value":17890252479791.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011128515654569984,"description":"Unknown IO ID 45"} 
[2026-09-05 14:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881688832001,"power":13689,"unknown_237":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1011128515654569984}} 
[2026-09-05 14:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":171622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:58:22] local.INFO: GPS data processed {"connection_id":171622,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:58:22] local.INFO: Acknowledgment sent {"connection_id":171622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:58:26] local.INFO: TCP Data received {"connection_id":171623,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070e2dcd8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e2dcd8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:58:26] local.INFO: Processing buffer {"connection_id":171623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e2dcd8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:58:26] local.INFO: Packet analysis {"connection_id":171623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:58:26] local.INFO: Extracted packet for processing {"connection_id":171623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:58:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881602560001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788600311000,"timestamp_ms":1788600311000,"timestamp_seconds":1788600311,"priority":1,"record_length":96,"hex_timestamp":"000001a070e2dcd8"} 
[2026-09-05 14:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:58:26] 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-09-05 14: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-09-05 14:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171623,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171623,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881602560001,"66":25397,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881602560001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:58:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:58:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:58:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881602560001,"power":25397,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":171623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769223,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:58:26] local.INFO: GPS data processed {"connection_id":171623,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:58:26] local.INFO: Acknowledgment sent {"connection_id":171623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:58:35] local.INFO: TCP Data received {"connection_id":173010,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a070e4a5e0012d82c8c006065aa00018014e2d..."} 
[2026-09-05 14:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e4a5e0012d82c8c006065aa00018014e2d..."} 
[2026-09-05 14:58:35] local.INFO: Processing buffer {"connection_id":173010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e4a5e0012d82c8c006065aa00018014e2d..."} 
[2026-09-05 14:58:35] local.INFO: Packet analysis {"connection_id":173010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e4"} 
[2026-09-05 14:58:35] local.INFO: Extracted packet for processing {"connection_id":173010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e4"} 
[2026-09-05 14:58:35] local.INFO: GPS Element Parsed {"raw_longitude":763545792,"raw_latitude":101079712,"longitude_deg":76.3545792,"latitude_deg":10.1079712,"altitude":24,"angle":334,"satellites":45,"speed":15,"hex_longitude":"2d82c8c0","hex_latitude":"06065aa0","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881708032001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399825862863618048,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9022117402630799360,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788600428000,"timestamp_ms":1788600428000,"timestamp_seconds":1788600428,"priority":1,"record_length":96,"hex_timestamp":"000001a070e4a5e0"} 
[2026-09-05 14:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:58:35] 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-09-05 14: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 14:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14: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-09-05 14:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 14:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 14:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 14:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881708032001,"66":27821,"235":206,"87":10496,"24":15,"16":399825862863618048,"45":-9022117402630799360},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,87,24,16,45]} 
[2026-09-05 14:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 14:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 14:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881708032001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:58:35] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 14:58:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 14:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399825862863618048,"km_value":399825862863618.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9022117402630799360,"description":"Unknown IO ID 45"} 
[2026-09-05 14:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881708032001,"power":27821,"unknown_235":206,"unknown_87":10496,"ignition":15,"odometer":null,"unknown_45":-9022117402630799360}} 
[2026-09-05 14:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":173010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:58:35] local.INFO: GPS data processed {"connection_id":173010,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:58:35] local.INFO: Acknowledgment sent {"connection_id":173010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:58:47] local.INFO: TCP Data received {"connection_id":171624,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:58:47] local.INFO: Processing buffer {"connection_id":171624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:58:47] local.INFO: IMEI packet received {"connection_id":171624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":171624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:58:50] local.INFO: TCP Data received {"connection_id":171922,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:58:50] local.INFO: Processing buffer {"connection_id":171922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:58:50] local.INFO: IMEI packet received {"connection_id":171922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":171922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:58:53] local.INFO: TCP Data received {"connection_id":171624,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:58:53] local.INFO: Processing buffer {"connection_id":171624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:58:53] local.INFO: IMEI packet received {"connection_id":171624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":171624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:58:54] local.INFO: TCP Data received {"connection_id":171624,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070e2dcd8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e2dcd8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:58:54] local.INFO: Processing buffer {"connection_id":171624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e2dcd8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:58:54] local.INFO: Packet analysis {"connection_id":171624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:58:54] local.INFO: Extracted packet for processing {"connection_id":171624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:58:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881602560001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788600311000,"timestamp_ms":1788600311000,"timestamp_seconds":1788600311,"priority":1,"record_length":96,"hex_timestamp":"000001a070e2dcd8"} 
[2026-09-05 14:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:58:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881602560001,"66":25397,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881602560001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:58:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:58:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:58:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881602560001,"power":25397,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":171624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769225,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:58:54] local.INFO: GPS data processed {"connection_id":171624,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:58:54] local.INFO: Acknowledgment sent {"connection_id":171624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:58:55] local.INFO: TCP Data received {"connection_id":171922,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:58:55] local.INFO: Processing buffer {"connection_id":171922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:58:55] local.INFO: IMEI packet received {"connection_id":171922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":171922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:58:55] local.INFO: TCP Data received {"connection_id":173011,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173011,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:58:55] local.INFO: Processing buffer {"connection_id":173011,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:58:55] local.INFO: IMEI packet received {"connection_id":173011,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 14:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":173011,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:58:55] local.INFO: TCP Data received {"connection_id":171922,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070e384d0012d0e0780071dd010002200a926..."} 
[2026-09-05 14:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e384d0012d0e0780071dd010002200a926..."} 
[2026-09-05 14:58:56] local.INFO: Processing buffer {"connection_id":171922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e384d0012d0e0780071dd010002200a926..."} 
[2026-09-05 14:58:56] local.INFO: Packet analysis {"connection_id":171922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e3"} 
[2026-09-05 14:58:56] local.INFO: Extracted packet for processing {"connection_id":171922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e3"} 
[2026-09-05 14:58:56] local.INFO: GPS Element Parsed {"raw_longitude":755894144,"raw_latitude":119394320,"longitude_deg":75.5894144,"latitude_deg":11.939432,"altitude":34,"angle":169,"satellites":38,"speed":19,"hex_longitude":"2d0e0780","hex_latitude":"071dd010","is_valid_coordinates":true} 
[2026-09-05 14:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881690624001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17890252479791104,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1010917409421266944,"note":"Value kept but may cause issues"} 
[2026-09-05 14:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788600354000,"timestamp_ms":1788600354000,"timestamp_seconds":1788600354,"priority":1,"record_length":96,"hex_timestamp":"000001a070e384d0"} 
[2026-09-05 14:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-05 14:58:56] 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-09-05 14:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881690624001,"66":13689,"237":206,"83":41984,"24":19,"16":17890252479791104,"45":1010917409421266944},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-09-05 14:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881690624001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:58:56] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-05 14:58:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 14:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17890252479791104,"km_value":17890252479791.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1010917409421266944,"description":"Unknown IO ID 45"} 
[2026-09-05 14:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881690624001,"power":13689,"unknown_237":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1010917409421266944}} 
[2026-09-05 14:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":171922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:58:56] local.INFO: GPS data processed {"connection_id":171922,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:58:56] local.INFO: Acknowledgment sent {"connection_id":171922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:58:56] local.INFO: TCP Data received {"connection_id":171923,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:58:56] local.INFO: Processing buffer {"connection_id":171923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:58:56] local.INFO: IMEI packet received {"connection_id":171923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 14:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":171923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:58:57] local.INFO: TCP Data received {"connection_id":171923,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:58:57] local.INFO: Processing buffer {"connection_id":171923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 14:58:57] local.INFO: IMEI packet received {"connection_id":171923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":171923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:58:59] local.INFO: TCP Data received {"connection_id":173011,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173011,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:58:59] local.INFO: Processing buffer {"connection_id":173011,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:58:59] local.INFO: IMEI packet received {"connection_id":173011,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 14:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":173011,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:59:00] local.INFO: TCP Data received {"connection_id":171923,"ip":"42.109.136.4","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 14:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171923,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 14:59:00] local.INFO: Processing buffer {"connection_id":171923,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 14:59:00] local.INFO: IMEI packet received {"connection_id":171923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 14:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":171923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:59:00] local.INFO: TCP Data received {"connection_id":173011,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070e4b580012d7b45c005ebfbd0000c00f525..."} 
[2026-09-05 14:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e4b580012d7b45c005ebfbd0000c00f525..."} 
[2026-09-05 14:59:00] local.INFO: Processing buffer {"connection_id":173011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e4b580012d7b45c005ebfbd0000c00f525..."} 
[2026-09-05 14:59:00] local.INFO: Packet analysis {"connection_id":173011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e4"} 
[2026-09-05 14:59:00] local.INFO: Extracted packet for processing {"connection_id":173011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e4"} 
[2026-09-05 14:59:00] local.INFO: GPS Element Parsed {"raw_longitude":763053504,"raw_latitude":99351504,"longitude_deg":76.3053504,"latitude_deg":9.9351504,"altitude":12,"angle":245,"satellites":37,"speed":13,"hex_longitude":"2d7b45c0","hex_latitude":"05ebfbd0","is_valid_coordinates":true} 
[2026-09-05 14:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881705216001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128494727027752960,"note":"Value kept but may cause issues"} 
[2026-09-05 14:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883913240375838720,"note":"Value kept but may cause issues"} 
[2026-09-05 14:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788600432000,"timestamp_ms":1788600432000,"timestamp_seconds":1788600432,"priority":1,"record_length":96,"hex_timestamp":"000001a070e4b580"} 
[2026-09-05 14:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:59:00] 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-09-05 14:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-05 14:59:00] 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-09-05 14:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881705216001,"66":13765,"198":206,"87":13824,"24":13,"16":128494727027752960,"45":8883913240375838720},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 14:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 14:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 14:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881705216001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:59:00] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 14:59:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 14:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128494727027752960,"km_value":128494727027752.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883913240375838720,"description":"Unknown IO ID 45"} 
[2026-09-05 14:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881705216001,"power":13765,"unknown_198":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8883913240375838720}} 
[2026-09-05 14:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":173011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769227,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:59:00] local.INFO: GPS data processed {"connection_id":173011,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:59:00] local.INFO: Acknowledgment sent {"connection_id":173011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:59:26] local.INFO: TCP Data received {"connection_id":171624,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070e2dcd8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e2dcd8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:59:26] local.INFO: Processing buffer {"connection_id":171624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e2dcd8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:59:26] local.INFO: Packet analysis {"connection_id":171624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:59:26] local.INFO: Extracted packet for processing {"connection_id":171624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:59:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881602560001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:59:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788600311000,"timestamp_ms":1788600311000,"timestamp_seconds":1788600311,"priority":1,"record_length":96,"hex_timestamp":"000001a070e2dcd8"} 
[2026-09-05 14:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:59:26] 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-09-05 14:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881602560001,"66":25397,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881602560001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:59:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:59:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:59:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881602560001,"power":25397,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":171624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769228,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:59:26] local.INFO: GPS data processed {"connection_id":171624,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:59:26] local.INFO: Acknowledgment sent {"connection_id":171624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:59:27] local.INFO: TCP Data received {"connection_id":171922,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070e60570012d0e4000071dc9600021001f26..."} 
[2026-09-05 14:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e60570012d0e4000071dc9600021001f26..."} 
[2026-09-05 14:59:27] local.INFO: Processing buffer {"connection_id":171922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e60570012d0e4000071dc9600021001f26..."} 
[2026-09-05 14:59:27] local.INFO: Packet analysis {"connection_id":171922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e6"} 
[2026-09-05 14:59:27] local.INFO: Extracted packet for processing {"connection_id":171922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e6"} 
[2026-09-05 14:59:27] local.INFO: GPS Element Parsed {"raw_longitude":755908608,"raw_latitude":119392608,"longitude_deg":75.5908608,"latitude_deg":11.9392608,"altitude":33,"angle":31,"satellites":38,"speed":2,"hex_longitude":"2d0e4000","hex_latitude":"071dc960","is_valid_coordinates":true} 
[2026-09-05 14:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881731584001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17890415688548352,"note":"Value kept but may cause issues"} 
[2026-09-05 14:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026609639372316672,"note":"Value kept but may cause issues"} 
[2026-09-05 14:59:27] 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-09-05 14:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788600518000,"timestamp_ms":1788600518000,"timestamp_seconds":1788600518,"priority":1,"record_length":96,"hex_timestamp":"000001a070e60570"} 
[2026-09-05 14:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:59:27] 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-09-05 14:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-09-05 14:59:27] 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-09-05 14:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881731584001,"66":14004,"12":206,"83":41984,"24":2,"16":17890415688548352,"45":1026609639372316672},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-09-05 14:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881731584001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:59:27] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 14:59:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 14:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17890415688548352,"km_value":17890415688548.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026609639372316672,"description":"Unknown IO ID 45"} 
[2026-09-05 14:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881731584001,"power":14004,"unknown_12":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1026609639372316672}} 
[2026-09-05 14:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":171922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:59:27] local.INFO: GPS data processed {"connection_id":171922,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:59:27] local.INFO: Acknowledgment sent {"connection_id":171922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:59:31] local.INFO: TCP Data received {"connection_id":173011,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070e50788012d7b3e4005ebf860000c00f726..."} 
[2026-09-05 14:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e50788012d7b3e4005ebf860000c00f726..."} 
[2026-09-05 14:59:31] local.INFO: Processing buffer {"connection_id":173011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e50788012d7b3e4005ebf860000c00f726..."} 
[2026-09-05 14:59:31] local.INFO: Packet analysis {"connection_id":173011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e5"} 
[2026-09-05 14:59:31] local.INFO: Extracted packet for processing {"connection_id":173011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e5"} 
[2026-09-05 14:59:31] local.INFO: GPS Element Parsed {"raw_longitude":763051584,"raw_latitude":99350624,"longitude_deg":76.3051584,"latitude_deg":9.9350624,"altitude":12,"angle":247,"satellites":38,"speed":0,"hex_longitude":"2d7b3e40","hex_latitude":"05ebf860","is_valid_coordinates":true} 
[2026-09-05 14: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-09-05 14:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881710592001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128494830106968064,"note":"Value kept but may cause issues"} 
[2026-09-05 14:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882716971724689408,"note":"Value kept but may cause issues"} 
[2026-09-05 14:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788600453000,"timestamp_ms":1788600453000,"timestamp_seconds":1788600453,"priority":1,"record_length":96,"hex_timestamp":"000001a070e50788"} 
[2026-09-05 14:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:59:31] 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-09-05 14: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-05 14:59:31] 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-09-05 14: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-09-05 14:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 14:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 14:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 14:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881710592001,"66":13830,"198":206,"87":13824,"24":0,"16":128494830106968064,"45":8882716971724689408},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 14:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 14:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 14:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881710592001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:59:31] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 14:59:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 14:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128494830106968064,"km_value":128494830106968.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882716971724689408,"description":"Unknown IO ID 45"} 
[2026-09-05 14:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881710592001,"power":13830,"unknown_198":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8882716971724689408}} 
[2026-09-05 14:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":173011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769230,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:59:31] local.INFO: GPS data processed {"connection_id":173011,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:59:31] local.INFO: Acknowledgment sent {"connection_id":173011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:59:45] local.INFO: TCP Data received {"connection_id":174332,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:59:45] local.INFO: Processing buffer {"connection_id":174332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:59:45] local.INFO: IMEI packet received {"connection_id":174332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 14:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":174332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:59:45] local.INFO: TCP Data received {"connection_id":174332,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:59:45] local.INFO: Processing buffer {"connection_id":174332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:59:45] local.INFO: IMEI packet received {"connection_id":174332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":174332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:59:47] local.INFO: TCP Data received {"connection_id":173012,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173012,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:59:47] local.INFO: Processing buffer {"connection_id":173012,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:59:47] local.INFO: IMEI packet received {"connection_id":173012,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 14:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":173012,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 14:59:48] local.INFO: TCP Data received {"connection_id":174332,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:59:48] local.INFO: Processing buffer {"connection_id":174332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 14:59:48] local.INFO: IMEI packet received {"connection_id":174332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 14:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":174332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:59:49] local.INFO: TCP Data received {"connection_id":174332,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070e620c8012d0e40c0071dcaf80022003729..."} 
[2026-09-05 14:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e620c8012d0e40c0071dcaf80022003729..."} 
[2026-09-05 14:59:49] local.INFO: Processing buffer {"connection_id":174332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e620c8012d0e40c0071dcaf80022003729..."} 
[2026-09-05 14:59:49] local.INFO: Packet analysis {"connection_id":174332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e6"} 
[2026-09-05 14:59:49] local.INFO: Extracted packet for processing {"connection_id":174332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e6"} 
[2026-09-05 14:59:49] local.INFO: GPS Element Parsed {"raw_longitude":755908800,"raw_latitude":119393016,"longitude_deg":75.59088,"latitude_deg":11.9393016,"altitude":34,"angle":55,"satellites":41,"speed":5,"hex_longitude":"2d0e40c0","hex_latitude":"071dcaf8","is_valid_coordinates":true} 
[2026-09-05 14:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881732608001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17890441458352128,"note":"Value kept but may cause issues"} 
[2026-09-05 14:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026820745604980736,"note":"Value kept but may cause issues"} 
[2026-09-05 14:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788600525000,"timestamp_ms":1788600525000,"timestamp_seconds":1788600525,"priority":1,"record_length":96,"hex_timestamp":"000001a070e620c8"} 
[2026-09-05 14:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 14:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-05 14:59:49] 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-09-05 14:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 14:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 14:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 14:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881732608001,"66":13928,"12":206,"83":41984,"24":5,"16":17890441458352128,"45":1026820745604980736},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-09-05 14:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 14:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 14:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881732608001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:59:49] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 14:59:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 14:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17890441458352128,"km_value":17890441458352.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026820745604980736,"description":"Unknown IO ID 45"} 
[2026-09-05 14:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881732608001,"power":13928,"unknown_12":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1026820745604980736}} 
[2026-09-05 14:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":174332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:59:49] local.INFO: GPS data processed {"connection_id":174332,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:59:49] local.INFO: Acknowledgment sent {"connection_id":174332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:59:53] local.INFO: TCP Data received {"connection_id":173012,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173012,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:59:53] local.INFO: Processing buffer {"connection_id":173012,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 14:59:53] local.INFO: IMEI packet received {"connection_id":173012,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 14:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":173012,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 14:59:54] local.INFO: TCP Data received {"connection_id":173012,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070e2dcd8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e2dcd8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:59:54] local.INFO: Processing buffer {"connection_id":173012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e2dcd8012c7939c00848c5f00014000129..."} 
[2026-09-05 14:59:54] local.INFO: Packet analysis {"connection_id":173012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:59:54] local.INFO: Extracted packet for processing {"connection_id":173012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 14:59:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 14:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 14:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881602560001,"note":"Value kept but may cause issues"} 
[2026-09-05 14:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 14:59:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 14:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 14:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788600311000,"timestamp_ms":1788600311000,"timestamp_seconds":1788600311,"priority":1,"record_length":96,"hex_timestamp":"000001a070e2dcd8"} 
[2026-09-05 14:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 14:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 14:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 14:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 14:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 14:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 14:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 14:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 14:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173012,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173012,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 14:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 14:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 14:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 14:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881602560001,"66":25397,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 14:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 14:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 14:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881602560001,"description":"Unknown IO ID 0"} 
[2026-09-05 14:59:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 14:59:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 14:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 14:59:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 14:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881602560001,"power":25397,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 14:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":173012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769232,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 14:59:54] local.INFO: GPS data processed {"connection_id":173012,"processed":1,"errors":0,"total":1} 
[2026-09-05 14:59:54] local.INFO: Acknowledgment sent {"connection_id":173012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 14:59:55] local.INFO: TCP Data received {"connection_id":171924,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:59:55] local.INFO: Processing buffer {"connection_id":171924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 14:59:55] local.INFO: IMEI packet received {"connection_id":171924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 14:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":171924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:00:00] local.INFO: TCP Data received {"connection_id":171924,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:00:00] local.INFO: Processing buffer {"connection_id":171924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:00:00] local.INFO: IMEI packet received {"connection_id":171924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":171924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:00:01] local.INFO: TCP Data received {"connection_id":171924,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070e55990012d7b3d4005ebf7a0000f00f226..."} 
[2026-09-05 15:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e55990012d7b3d4005ebf7a0000f00f226..."} 
[2026-09-05 15:00:01] local.INFO: Processing buffer {"connection_id":171924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e55990012d7b3d4005ebf7a0000f00f226..."} 
[2026-09-05 15:00:01] local.INFO: Packet analysis {"connection_id":171924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e5"} 
[2026-09-05 15:00:01] local.INFO: Extracted packet for processing {"connection_id":171924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e5"} 
[2026-09-05 15:00:01] local.INFO: GPS Element Parsed {"raw_longitude":763051328,"raw_latitude":99350432,"longitude_deg":76.3051328,"latitude_deg":9.9350432,"altitude":15,"angle":242,"satellites":38,"speed":6,"hex_longitude":"2d7b3d40","hex_latitude":"05ebf7a0","is_valid_coordinates":true} 
[2026-09-05 15:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881715968001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128494847286837248,"note":"Value kept but may cause issues"} 
[2026-09-05 15:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880605909399134208,"note":"Value kept but may cause issues"} 
[2026-09-05 15:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788600474000,"timestamp_ms":1788600474000,"timestamp_seconds":1788600474,"priority":1,"record_length":96,"hex_timestamp":"000001a070e55990"} 
[2026-09-05 15:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:00:01] 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-09-05 15:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-05 15:00:01] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-09-05 15:00:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627255069184,"note":"Value kept but may cause issues"} 
[2026-09-05 15:00:01] local.WARNING: Large IO value detected {"io_id":128,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-09-05 15:00:01] local.WARNING: Large IO value detected {"io_id":112,"raw_value":3822764033,"note":"Value kept but may cause issues"} 
[2026-09-05 15:00:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-09-05 15:00:01] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2149449728,"corrected_to":0} 
[2026-09-05 15:00:01] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3961587712,"note":"Value kept but may cause issues"} 
[2026-09-05 15:00:01] local.WARNING: Large IO value detected {"io_id":244,"raw_value":5188478255052621292,"note":"Value kept but may cause issues"} 
[2026-09-05 15:00:01] local.WARNING: Large IO value detected {"io_id":33,"raw_value":576476149730050048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:00:01] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,198,87,24,241,157,16,129,160,181,45,192,251,12,37,10,66,99,253,38,21,1,240,148,227,128,112,236,4,113,205,152,168,224,239,54,2,200,5,14,244,33],"length":528,"final_offset":658,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0},{"io_id":200,"original":2149449728,"validated":0}]} 
[2026-09-05 15:00:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864962871035953152,"timestamp_seconds":864962871035953.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 15:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881715968001,"66":13689,"198":206,"87":13824,"24":6,"16":128494847286837248,"45":8880605909399134208},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 15:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881715968001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:00:01] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 15:00:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128494847286837248,"km_value":128494847286837.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880605909399134208,"description":"Unknown IO ID 45"} 
[2026-09-05 15:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881715968001,"power":13689,"unknown_198":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8880605909399134208}} 
[2026-09-05 15:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":171924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769233,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:00:01] local.INFO: GPS data processed {"connection_id":171924,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:00:01] local.INFO: Acknowledgment sent {"connection_id":171924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:00:20] local.INFO: TCP Data received {"connection_id":174332,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070e62898012d0e4300071dcc380023004327..."} 
[2026-09-05 15:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e62898012d0e4300071dcc380023004327..."} 
[2026-09-05 15:00:20] local.INFO: Processing buffer {"connection_id":174332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e62898012d0e4300071dcc380023004327..."} 
[2026-09-05 15:00:20] local.INFO: Packet analysis {"connection_id":174332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e6"} 
[2026-09-05 15:00:20] local.INFO: Extracted packet for processing {"connection_id":174332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e6"} 
[2026-09-05 15:00:20] local.INFO: GPS Element Parsed {"raw_longitude":755909376,"raw_latitude":119393336,"longitude_deg":75.5909376,"latitude_deg":11.9393336,"altitude":35,"angle":67,"satellites":39,"speed":16,"hex_longitude":"2d0e4300","hex_latitude":"071dcc38","is_valid_coordinates":true} 
[2026-09-05 15:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881734400001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17890471523123200,"note":"Value kept but may cause issues"} 
[2026-09-05 15:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1027031851837618176,"note":"Value kept but may cause issues"} 
[2026-09-05 15:00:20] 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-09-05 15:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788600527000,"timestamp_ms":1788600527000,"timestamp_seconds":1788600527,"priority":1,"record_length":96,"hex_timestamp":"000001a070e62898"} 
[2026-09-05 15:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-05 15:00:20] 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-09-05 15:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881734400001,"66":13820,"12":206,"83":41984,"24":16,"16":17890471523123200,"45":1027031851837618176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-09-05 15:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881734400001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:00:20] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 15:00:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17890471523123200,"km_value":17890471523123.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1027031851837618176,"description":"Unknown IO ID 45"} 
[2026-09-05 15:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881734400001,"power":13820,"unknown_12":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1027031851837618176}} 
[2026-09-05 15:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":174332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:00:20] local.INFO: GPS data processed {"connection_id":174332,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:00:20] local.INFO: Acknowledgment sent {"connection_id":174332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:00:26] local.INFO: TCP Data received {"connection_id":173012,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070e2dcd8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e2dcd8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:00:26] local.INFO: Processing buffer {"connection_id":173012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e2dcd8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:00:26] local.INFO: Packet analysis {"connection_id":173012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 15:00:26] local.INFO: Extracted packet for processing {"connection_id":173012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e2"} 
[2026-09-05 15:00:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881602560001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:00:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:00:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788600311000,"timestamp_ms":1788600311000,"timestamp_seconds":1788600311,"priority":1,"record_length":96,"hex_timestamp":"000001a070e2dcd8"} 
[2026-09-05 15:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:00:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 15:00:26] 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-09-05 15: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-09-05 15:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173012,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173012,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:00:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881602560001,"66":25397,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881602560001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:00:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:00:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:00:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881602560001,"power":25397,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":173012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769235,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:00:26] local.INFO: GPS data processed {"connection_id":173012,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:00:26] local.INFO: Acknowledgment sent {"connection_id":173012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:00:33] local.INFO: TCP Data received {"connection_id":171924,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070e5ab98012d7b358005ebf3d8000f00f626..."} 
[2026-09-05 15:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e5ab98012d7b358005ebf3d8000f00f626..."} 
[2026-09-05 15:00:33] local.INFO: Processing buffer {"connection_id":171924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e5ab98012d7b358005ebf3d8000f00f626..."} 
[2026-09-05 15:00:33] local.INFO: Packet analysis {"connection_id":171924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e5"} 
[2026-09-05 15:00:33] local.INFO: Extracted packet for processing {"connection_id":171924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e5"} 
[2026-09-05 15:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763049344,"raw_latitude":99349464,"longitude_deg":76.3049344,"latitude_deg":9.9349464,"altitude":15,"angle":246,"satellites":38,"speed":3,"hex_longitude":"2d7b3580","hex_latitude":"05ebf3d8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 15:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881721344001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128494954661019648,"note":"Value kept but may cause issues"} 
[2026-09-05 15:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880324434422374400,"note":"Value kept but may cause issues"} 
[2026-09-05 15:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788600495000,"timestamp_ms":1788600495000,"timestamp_seconds":1788600495,"priority":1,"record_length":96,"hex_timestamp":"000001a070e5ab98"} 
[2026-09-05 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-09-05 15:00:33] 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-09-05 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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-05 15:00:33] 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-09-05 15: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-09-05 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-09-05 15:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881721344001,"66":13493,"198":206,"87":13824,"24":3,"16":128494954661019648,"45":8880324434422374400},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 15:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881721344001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:00:33] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 15:00:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128494954661019648,"km_value":128494954661019.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880324434422374400,"description":"Unknown IO ID 45"} 
[2026-09-05 15:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881721344001,"power":13493,"unknown_198":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8880324434422374400}} 
[2026-09-05 15:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":171924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769236,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:00:33] local.INFO: GPS data processed {"connection_id":171924,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:00:33] local.INFO: Acknowledgment sent {"connection_id":171924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:00:45] local.INFO: TCP Data received {"connection_id":174333,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:00:45] local.INFO: Processing buffer {"connection_id":174333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:00:45] local.INFO: IMEI packet received {"connection_id":174333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":174333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:00:46] local.INFO: TCP Data received {"connection_id":174333,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:00:46] local.INFO: Processing buffer {"connection_id":174333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:00:46] local.INFO: IMEI packet received {"connection_id":174333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":174333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:00:49] local.INFO: TCP Data received {"connection_id":174333,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:00:49] local.INFO: Processing buffer {"connection_id":174333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:00:49] local.INFO: IMEI packet received {"connection_id":174333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":174333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:00:50] local.INFO: TCP Data received {"connection_id":174333,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070e65778012d0e6400071dddc0002400412a..."} 
[2026-09-05 15:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e65778012d0e6400071dddc0002400412a..."} 
[2026-09-05 15:00:50] local.INFO: Processing buffer {"connection_id":174333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e65778012d0e6400071dddc0002400412a..."} 
[2026-09-05 15:00:50] local.INFO: Packet analysis {"connection_id":174333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e6"} 
[2026-09-05 15:00:50] local.INFO: Extracted packet for processing {"connection_id":174333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e6"} 
[2026-09-05 15:00:50] local.INFO: GPS Element Parsed {"raw_longitude":755917824,"raw_latitude":119397824,"longitude_deg":75.5917824,"latitude_deg":11.9397824,"altitude":36,"angle":65,"satellites":42,"speed":40,"hex_longitude":"2d0e6400","hex_latitude":"071dddc0","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881734912001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17890926789656576,"note":"Value kept but may cause issues"} 
[2026-09-05 15:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1027665170535299072,"note":"Value kept but may cause issues"} 
[2026-09-05 15:00:50] 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-09-05 15:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788600539000,"timestamp_ms":1788600539000,"timestamp_seconds":1788600539,"priority":1,"record_length":96,"hex_timestamp":"000001a070e65778"} 
[2026-09-05 15:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-05 15:00:50] 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-09-05 15: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-09-05 15:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881734912001,"66":14298,"12":206,"83":41984,"24":40,"16":17890926789656576,"45":1027665170535299072},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-09-05 15:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881734912001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:00:50] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 15:00:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17890926789656576,"km_value":17890926789656.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1027665170535299072,"description":"Unknown IO ID 45"} 
[2026-09-05 15:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881734912001,"power":14298,"unknown_12":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1027665170535299072}} 
[2026-09-05 15:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":174333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:00:50] local.INFO: GPS data processed {"connection_id":174333,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:00:50] local.INFO: Acknowledgment sent {"connection_id":174333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:00:50] local.INFO: TCP Data received {"connection_id":171625,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171625,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:00:50] local.INFO: Processing buffer {"connection_id":171625,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:00:50] local.INFO: IMEI packet received {"connection_id":171625,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":171625,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:00:52] local.INFO: TCP Data received {"connection_id":171625,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171625,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:00:52] local.INFO: Processing buffer {"connection_id":171625,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:00:52] local.INFO: IMEI packet received {"connection_id":171625,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":171625,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:00:57] local.INFO: TCP Data received {"connection_id":171625,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171625,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:00:57] local.INFO: Processing buffer {"connection_id":171625,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:00:57] local.INFO: IMEI packet received {"connection_id":171625,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":171625,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:00:59] local.INFO: TCP Data received {"connection_id":171625,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070e774a0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e774a0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:00:59] local.INFO: Processing buffer {"connection_id":171625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e774a0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:00:59] local.INFO: Packet analysis {"connection_id":171625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e7"} 
[2026-09-05 15:00:59] local.INFO: Extracted packet for processing {"connection_id":171625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e7"} 
[2026-09-05 15:00:59] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881679616001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:00:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788600612000,"timestamp_ms":1788600612000,"timestamp_seconds":1788600612,"priority":1,"record_length":96,"hex_timestamp":"000001a070e774a0"} 
[2026-09-05 15:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 15:00:59] 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-09-05 15:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171625,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171625,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881679616001,"66":25125,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881679616001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:00:59] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:00:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:00:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881679616001,"power":25125,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":171625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769238,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:00:59] local.INFO: GPS data processed {"connection_id":171625,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:00:59] local.INFO: Acknowledgment sent {"connection_id":171625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:01:20] local.INFO: TCP Data received {"connection_id":171626,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:01:20] local.INFO: Processing buffer {"connection_id":171626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:01:20] local.INFO: IMEI packet received {"connection_id":171626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":171626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:01:21] local.INFO: TCP Data received {"connection_id":174333,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070e7de18012d0ff900071e49f80033005227..."} 
[2026-09-05 15:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e7de18012d0ff900071e49f80033005227..."} 
[2026-09-05 15:01:21] local.INFO: Processing buffer {"connection_id":174333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e7de18012d0ff900071e49f80033005227..."} 
[2026-09-05 15:01:21] local.INFO: Packet analysis {"connection_id":174333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e7"} 
[2026-09-05 15:01:21] local.INFO: Extracted packet for processing {"connection_id":174333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e7"} 
[2026-09-05 15:01:21] local.INFO: GPS Element Parsed {"raw_longitude":756021504,"raw_latitude":119425528,"longitude_deg":75.6021504,"latitude_deg":11.9425528,"altitude":51,"angle":82,"satellites":39,"speed":46,"hex_longitude":"2d0ff900","hex_latitude":"071e49f8","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881762048001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17896209599430656,"note":"Value kept but may cause issues"} 
[2026-09-05 15:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143421754715254784,"note":"Value kept but may cause issues"} 
[2026-09-05 15:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788600639000,"timestamp_ms":1788600639000,"timestamp_seconds":1788600639,"priority":1,"record_length":96,"hex_timestamp":"000001a070e7de18"} 
[2026-09-05 15:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:01:21] 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-09-05 15: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 15:01:21] 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-09-05 15: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-09-05 15:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881762048001,"66":14298,"235":206,"83":41984,"24":46,"16":17896209599430656,"45":1143421754715254784},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,83,24,16,45]} 
[2026-09-05 15:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881762048001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:01:21] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 15:01:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17896209599430656,"km_value":17896209599430.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143421754715254784,"description":"Unknown IO ID 45"} 
[2026-09-05 15:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881762048001,"power":14298,"unknown_235":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1143421754715254784}} 
[2026-09-05 15:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":174333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:01:21] local.INFO: GPS data processed {"connection_id":174333,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:01:21] local.INFO: Acknowledgment sent {"connection_id":174333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:01:28] local.INFO: TCP Data received {"connection_id":171626,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:01:28] local.INFO: Processing buffer {"connection_id":171626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:01:28] local.INFO: IMEI packet received {"connection_id":171626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":171626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:01:29] local.INFO: TCP Data received {"connection_id":171626,"ip":"42.109.136.0","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-05 15:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171626,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-05 15:01:29] local.INFO: Processing buffer {"connection_id":171626,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-05 15:01:29] local.INFO: IMEI packet received {"connection_id":171626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":171626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:01:30] local.INFO: TCP Data received {"connection_id":171625,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070e774a0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e774a0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:01:30] local.INFO: Processing buffer {"connection_id":171625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e774a0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:01:30] local.INFO: Packet analysis {"connection_id":171625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e7"} 
[2026-09-05 15:01:30] local.INFO: Extracted packet for processing {"connection_id":171625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e7"} 
[2026-09-05 15:01:30] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881679616001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:01:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788600612000,"timestamp_ms":1788600612000,"timestamp_seconds":1788600612,"priority":1,"record_length":96,"hex_timestamp":"000001a070e774a0"} 
[2026-09-05 15:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 15:01:30] 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-09-05 15:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":171625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":171625,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":171625,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881679616001,"66":25125,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881679616001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:01:30] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:01:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:01:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881679616001,"power":25125,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":171625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769240,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:01:30] local.INFO: GPS data processed {"connection_id":171625,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:01:30] local.INFO: Acknowledgment sent {"connection_id":171625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:01:48] local.INFO: TCP Data received {"connection_id":174334,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:01:48] local.INFO: Processing buffer {"connection_id":174334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:01:48] local.INFO: IMEI packet received {"connection_id":174334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":174334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:01:48] local.INFO: TCP Data received {"connection_id":174334,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:01:48] local.INFO: Processing buffer {"connection_id":174334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:01:48] local.INFO: IMEI packet received {"connection_id":174334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":174334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:01:50] local.INFO: TCP Data received {"connection_id":174334,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:01:50] local.INFO: Processing buffer {"connection_id":174334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:01:50] local.INFO: IMEI packet received {"connection_id":174334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":174334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:01:51] local.INFO: TCP Data received {"connection_id":174334,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070e7e5e8012d100240071e4a300032005f29..."} 
[2026-09-05 15:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e7e5e8012d100240071e4a300032005f29..."} 
[2026-09-05 15:01:51] local.INFO: Processing buffer {"connection_id":174334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e7e5e8012d100240071e4a300032005f29..."} 
[2026-09-05 15:01:51] local.INFO: Packet analysis {"connection_id":174334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e7"} 
[2026-09-05 15:01:51] local.INFO: Extracted packet for processing {"connection_id":174334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e7"} 
[2026-09-05 15:01:51] local.INFO: GPS Element Parsed {"raw_longitude":756023872,"raw_latitude":119425584,"longitude_deg":75.6023872,"latitude_deg":11.9425584,"altitude":50,"angle":95,"satellites":41,"speed":44,"hex_longitude":"2d100240","hex_latitude":"071e4a30","is_valid_coordinates":true} 
[2026-09-05 15:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881763584001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17896325563547648,"note":"Value kept but may cause issues"} 
[2026-09-05 15:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1150951210342807552,"note":"Value kept but may cause issues"} 
[2026-09-05 15:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788600641000,"timestamp_ms":1788600641000,"timestamp_seconds":1788600641,"priority":1,"record_length":96,"hex_timestamp":"000001a070e7e5e8"} 
[2026-09-05 15:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-05 15:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:01:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881763584001,"66":14233,"235":206,"83":41984,"24":44,"16":17896325563547648,"45":1150951210342807552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,83,24,16,45]} 
[2026-09-05 15:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881763584001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:01:51] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 15:01:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17896325563547648,"km_value":17896325563547.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1150951210342807552,"description":"Unknown IO ID 45"} 
[2026-09-05 15:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881763584001,"power":14233,"unknown_235":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1150951210342807552}} 
[2026-09-05 15:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":174334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:01:51] local.INFO: GPS data processed {"connection_id":174334,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:01:51] local.INFO: Acknowledgment sent {"connection_id":174334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:01:52] local.INFO: TCP Data received {"connection_id":171926,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171926,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:01:52] local.INFO: Processing buffer {"connection_id":171926,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:01:52] local.INFO: IMEI packet received {"connection_id":171926,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":171926,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:01:56] local.INFO: TCP Data received {"connection_id":174334,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070e7edb8012d100ac0071e48280032006d2a..."} 
[2026-09-05 15:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e7edb8012d100ac0071e48280032006d2a..."} 
[2026-09-05 15:01:56] local.INFO: Processing buffer {"connection_id":174334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e7edb8012d100ac0071e48280032006d2a..."} 
[2026-09-05 15:01:56] local.INFO: Packet analysis {"connection_id":174334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e7"} 
[2026-09-05 15:01:56] local.INFO: Extracted packet for processing {"connection_id":174334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e7"} 
[2026-09-05 15:01:56] local.INFO: GPS Element Parsed {"raw_longitude":756026048,"raw_latitude":119425064,"longitude_deg":75.6026048,"latitude_deg":11.9425064,"altitude":50,"angle":109,"satellites":42,"speed":44,"hex_longitude":"2d100ac0","hex_latitude":"071e4828","is_valid_coordinates":true} 
[2026-09-05 15:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881764096001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17896432937730048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1153554853877395456,"note":"Value kept but may cause issues"} 
[2026-09-05 15:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788600643000,"timestamp_ms":1788600643000,"timestamp_seconds":1788600643,"priority":1,"record_length":96,"hex_timestamp":"000001a070e7edb8"} 
[2026-09-05 15:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-05 15:01:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:01:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881764096001,"66":14298,"235":206,"83":41984,"24":44,"16":17896432937730048,"45":1153554853877395456},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,83,24,16,45]} 
[2026-09-05 15:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881764096001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:01:56] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 15:01:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17896432937730048,"km_value":17896432937730.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1153554853877395456,"description":"Unknown IO ID 45"} 
[2026-09-05 15:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881764096001,"power":14298,"unknown_235":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1153554853877395456}} 
[2026-09-05 15:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":174334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:01:56] local.INFO: GPS data processed {"connection_id":174334,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:01:56] local.INFO: Acknowledgment sent {"connection_id":174334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:01:57] local.INFO: TCP Data received {"connection_id":171926,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171926,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:01:57] local.INFO: Processing buffer {"connection_id":171926,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:01:57] local.INFO: IMEI packet received {"connection_id":171926,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":171926,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:01:58] local.INFO: TCP Data received {"connection_id":171926,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070e774a0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e774a0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:01:58] local.INFO: Processing buffer {"connection_id":171926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e774a0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:01:58] local.INFO: Packet analysis {"connection_id":171926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e7"} 
[2026-09-05 15:01:58] local.INFO: Extracted packet for processing {"connection_id":171926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e7"} 
[2026-09-05 15:01:58] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881679616001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:01:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788600612000,"timestamp_ms":1788600612000,"timestamp_seconds":1788600612,"priority":1,"record_length":96,"hex_timestamp":"000001a070e774a0"} 
[2026-09-05 15:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 15:01:58] 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-09-05 15:01:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171926,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171926,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:01:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881679616001,"66":25125,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881679616001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:01:58] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:01:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:01:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881679616001,"power":25125,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":171926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769243,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:01:58] local.INFO: GPS data processed {"connection_id":171926,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:01:58] local.INFO: Acknowledgment sent {"connection_id":171926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:02:27] local.INFO: TCP Data received {"connection_id":174334,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070e7f588012d101300071e44100032007a2a..."} 
[2026-09-05 15:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e7f588012d101300071e44100032007a2a..."} 
[2026-09-05 15:02:27] local.INFO: Processing buffer {"connection_id":174334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e7f588012d101300071e44100032007a2a..."} 
[2026-09-05 15:02:27] local.INFO: Packet analysis {"connection_id":174334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e7"} 
[2026-09-05 15:02:27] local.INFO: Extracted packet for processing {"connection_id":174334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e7"} 
[2026-09-05 15:02:27] local.INFO: GPS Element Parsed {"raw_longitude":756028160,"raw_latitude":119424016,"longitude_deg":75.602816,"latitude_deg":11.9424016,"altitude":50,"angle":122,"satellites":42,"speed":45,"hex_longitude":"2d101300","hex_latitude":"071e4410","is_valid_coordinates":true} 
[2026-09-05 15:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881764608001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17896540311912448,"note":"Value kept but may cause issues"} 
[2026-09-05 15:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1155947391179302912,"note":"Value kept but may cause issues"} 
[2026-09-05 15:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788600645000,"timestamp_ms":1788600645000,"timestamp_seconds":1788600645,"priority":1,"record_length":96,"hex_timestamp":"000001a070e7f588"} 
[2026-09-05 15:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:02:27] 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-09-05 15:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-05 15:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881764608001,"66":14243,"235":206,"83":41984,"24":45,"16":17896540311912448,"45":1155947391179302912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,83,24,16,45]} 
[2026-09-05 15:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881764608001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:02:27] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 15:02:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17896540311912448,"km_value":17896540311912.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1155947391179302912,"description":"Unknown IO ID 45"} 
[2026-09-05 15:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881764608001,"power":14243,"unknown_235":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1155947391179302912}} 
[2026-09-05 15:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":174334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:02:27] local.INFO: GPS data processed {"connection_id":174334,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:02:27] local.INFO: Acknowledgment sent {"connection_id":174334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:02:30] local.INFO: TCP Data received {"connection_id":171926,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070e774a0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e774a0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:02:30] local.INFO: Processing buffer {"connection_id":171926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e774a0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:02:30] local.INFO: Packet analysis {"connection_id":171926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e7"} 
[2026-09-05 15:02:30] local.INFO: Extracted packet for processing {"connection_id":171926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e7"} 
[2026-09-05 15:02:30] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881679616001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:02:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788600612000,"timestamp_ms":1788600612000,"timestamp_seconds":1788600612,"priority":1,"record_length":96,"hex_timestamp":"000001a070e774a0"} 
[2026-09-05 15:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 15:02:30] 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-09-05 15:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":171926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":171926,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":171926,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881679616001,"66":25125,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881679616001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:02:30] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:02:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:02:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881679616001,"power":25125,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":171926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769245,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:02:30] local.INFO: GPS data processed {"connection_id":171926,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:02:30] local.INFO: Acknowledgment sent {"connection_id":171926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:02:44] local.INFO: TCP Data received {"connection_id":173014,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:02:44] local.INFO: Processing buffer {"connection_id":173014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:02:44] local.INFO: IMEI packet received {"connection_id":173014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":173014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:02:47] local.INFO: TCP Data received {"connection_id":173015,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173015,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:02:47] local.INFO: Processing buffer {"connection_id":173015,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:02:47] local.INFO: IMEI packet received {"connection_id":173015,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":173015,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:02:50] local.INFO: TCP Data received {"connection_id":173014,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:02:50] local.INFO: Processing buffer {"connection_id":173014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:02:50] local.INFO: IMEI packet received {"connection_id":173014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":173014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:02:50] local.INFO: TCP Data received {"connection_id":173014,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070e8d048012d10dd40071e9c400039001b28..."} 
[2026-09-05 15:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e8d048012d10dd40071e9c400039001b28..."} 
[2026-09-05 15:02:50] local.INFO: Processing buffer {"connection_id":173014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e8d048012d10dd40071e9c400039001b28..."} 
[2026-09-05 15:02:50] local.INFO: Packet analysis {"connection_id":173014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e8"} 
[2026-09-05 15:02:50] local.INFO: Extracted packet for processing {"connection_id":173014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e8"} 
[2026-09-05 15:02:50] local.INFO: GPS Element Parsed {"raw_longitude":756079936,"raw_latitude":119446592,"longitude_deg":75.6079936,"latitude_deg":11.9446592,"altitude":57,"angle":27,"satellites":40,"speed":46,"hex_longitude":"2d10dd40","hex_latitude":"071e9c40","is_valid_coordinates":true} 
[2026-09-05 15:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881777408001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17899795897122816,"note":"Value kept but may cause issues"} 
[2026-09-05 15:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210483167920369664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788600701000,"timestamp_ms":1788600701000,"timestamp_seconds":1788600701,"priority":1,"record_length":96,"hex_timestamp":"000001a070e8d048"} 
[2026-09-05 15:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-05 15:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881777408001,"66":14265,"31":206,"83":41984,"24":46,"16":17899795897122816,"45":1210483167920369664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-09-05 15:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881777408001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:02:50] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-05 15:02:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17899795897122816,"km_value":17899795897122.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210483167920369664,"description":"Unknown IO ID 45"} 
[2026-09-05 15:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881777408001,"power":14265,"unknown_31":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1210483167920369664}} 
[2026-09-05 15:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":173014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:02:50] local.INFO: GPS data processed {"connection_id":173014,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:02:50] local.INFO: Acknowledgment sent {"connection_id":173014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:02:52] local.INFO: TCP Data received {"connection_id":173015,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173015,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:02:52] local.INFO: Processing buffer {"connection_id":173015,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:02:52] local.INFO: IMEI packet received {"connection_id":173015,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":173015,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:02:54] local.INFO: TCP Data received {"connection_id":173015,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070e774a0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e774a0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:02:54] local.INFO: Processing buffer {"connection_id":173015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e774a0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:02:54] local.INFO: Packet analysis {"connection_id":173015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e7"} 
[2026-09-05 15:02:54] local.INFO: Extracted packet for processing {"connection_id":173015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e7"} 
[2026-09-05 15:02:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881679616001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:02:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788600612000,"timestamp_ms":1788600612000,"timestamp_seconds":1788600612,"priority":1,"record_length":96,"hex_timestamp":"000001a070e774a0"} 
[2026-09-05 15:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 15:02:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:02:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173015,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173015,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881679616001,"66":25125,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881679616001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:02:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:02:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:02:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881679616001,"power":25125,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":173015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769247,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:02:54] local.INFO: GPS data processed {"connection_id":173015,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:02:54] local.INFO: Acknowledgment sent {"connection_id":173015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:03:21] local.INFO: TCP Data received {"connection_id":173014,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070e8ef88012d10efc0071ebc20003900222a..."} 
[2026-09-05 15:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e8ef88012d10efc0071ebc20003900222a..."} 
[2026-09-05 15:03:21] local.INFO: Processing buffer {"connection_id":173014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e8ef88012d10efc0071ebc20003900222a..."} 
[2026-09-05 15:03:21] local.INFO: Packet analysis {"connection_id":173014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e8"} 
[2026-09-05 15:03:21] local.INFO: Extracted packet for processing {"connection_id":173014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e8"} 
[2026-09-05 15:03:21] local.INFO: GPS Element Parsed {"raw_longitude":756084672,"raw_latitude":119454752,"longitude_deg":75.6084672,"latitude_deg":11.9454752,"altitude":57,"angle":34,"satellites":42,"speed":47,"hex_longitude":"2d10efc0","hex_latitude":"071ebc20","is_valid_coordinates":true} 
[2026-09-05 15:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881779456001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17900251163656192,"note":"Value kept but may cause issues"} 
[2026-09-05 15:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1215197873782407168,"note":"Value kept but may cause issues"} 
[2026-09-05 15:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788600709000,"timestamp_ms":1788600709000,"timestamp_seconds":1788600709,"priority":1,"record_length":96,"hex_timestamp":"000001a070e8ef88"} 
[2026-09-05 15:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:03:21] 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-09-05 15:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 15:03:21] 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-09-05 15:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881779456001,"66":14341,"32":206,"83":41984,"24":47,"16":17900251163656192,"45":1215197873782407168},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,83,24,16,45]} 
[2026-09-05 15:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881779456001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:03:21] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-05 15:03:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17900251163656192,"km_value":17900251163656.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1215197873782407168,"description":"Unknown IO ID 45"} 
[2026-09-05 15:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881779456001,"power":14341,"unknown_32":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1215197873782407168}} 
[2026-09-05 15:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":173014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:03:21] local.INFO: GPS data processed {"connection_id":173014,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:03:21] local.INFO: Acknowledgment sent {"connection_id":173014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:03:26] local.INFO: TCP Data received {"connection_id":173015,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070e774a0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e774a0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:03:26] local.INFO: Processing buffer {"connection_id":173015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e774a0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:03:26] local.INFO: Packet analysis {"connection_id":173015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e7"} 
[2026-09-05 15:03:26] local.INFO: Extracted packet for processing {"connection_id":173015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e7"} 
[2026-09-05 15:03:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881679616001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:03:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:03:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788600612000,"timestamp_ms":1788600612000,"timestamp_seconds":1788600612,"priority":1,"record_length":96,"hex_timestamp":"000001a070e774a0"} 
[2026-09-05 15:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:03:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 15:03:26] 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-09-05 15:03:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173015,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173015,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:03:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881679616001,"66":25125,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881679616001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:03:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:03:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:03:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881679616001,"power":25125,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":173015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769249,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:03:26] local.INFO: GPS data processed {"connection_id":173015,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:03:26] local.INFO: Acknowledgment sent {"connection_id":173015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:03:44] local.INFO: TCP Data received {"connection_id":174336,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:03:44] local.INFO: Processing buffer {"connection_id":174336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:03:44] local.INFO: IMEI packet received {"connection_id":174336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":174336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:03:50] local.INFO: TCP Data received {"connection_id":174336,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:03:50] local.INFO: Processing buffer {"connection_id":174336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:03:50] local.INFO: IMEI packet received {"connection_id":174336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":174336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:03:50] local.INFO: TCP Data received {"connection_id":174336,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070e9e988012d11b980071f48500039007326..."} 
[2026-09-05 15:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e9e988012d11b980071f48500039007326..."} 
[2026-09-05 15:03:50] local.INFO: Processing buffer {"connection_id":174336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e9e988012d11b980071f48500039007326..."} 
[2026-09-05 15:03:50] local.INFO: Packet analysis {"connection_id":174336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e9"} 
[2026-09-05 15:03:50] local.INFO: Extracted packet for processing {"connection_id":174336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e9"} 
[2026-09-05 15:03:50] local.INFO: GPS Element Parsed {"raw_longitude":756136320,"raw_latitude":119490640,"longitude_deg":75.613632,"latitude_deg":11.949064,"altitude":57,"angle":115,"satellites":38,"speed":48,"hex_longitude":"2d11b980","hex_latitude":"071f4850","is_valid_coordinates":true} 
[2026-09-05 15:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881797120001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17903661367689216,"note":"Value kept but may cause issues"} 
[2026-09-05 15:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1273322456484708352,"note":"Value kept but may cause issues"} 
[2026-09-05 15:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788600773000,"timestamp_ms":1788600773000,"timestamp_seconds":1788600773,"priority":1,"record_length":96,"hex_timestamp":"000001a070e9e988"} 
[2026-09-05 15:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 15:03:50] 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-09-05 15:03:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881797120001,"66":13993,"31":206,"83":41984,"24":48,"16":17903661367689216,"45":1273322456484708352},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-09-05 15:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881797120001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:03:50] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-05 15:03:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17903661367689216,"km_value":17903661367689.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1273322456484708352,"description":"Unknown IO ID 45"} 
[2026-09-05 15:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881797120001,"power":13993,"unknown_31":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1273322456484708352}} 
[2026-09-05 15:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":174336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:03:51] local.INFO: GPS data processed {"connection_id":174336,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:03:51] local.INFO: Acknowledgment sent {"connection_id":174336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:03:52] local.INFO: TCP Data received {"connection_id":171927,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171927,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:03:52] local.INFO: Processing buffer {"connection_id":171927,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:03:52] local.INFO: IMEI packet received {"connection_id":171927,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":171927,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:03:57] local.INFO: TCP Data received {"connection_id":171927,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171927,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:03:57] local.INFO: Processing buffer {"connection_id":171927,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:03:57] local.INFO: IMEI packet received {"connection_id":171927,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":171927,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:03:59] local.INFO: TCP Data received {"connection_id":171927,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070e774a0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e774a0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:03:59] local.INFO: Processing buffer {"connection_id":171927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e774a0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:03:59] local.INFO: Packet analysis {"connection_id":171927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e7"} 
[2026-09-05 15:03:59] local.INFO: Extracted packet for processing {"connection_id":171927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e7"} 
[2026-09-05 15:03:59] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881679616001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:03:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788600612000,"timestamp_ms":1788600612000,"timestamp_seconds":1788600612,"priority":1,"record_length":96,"hex_timestamp":"000001a070e774a0"} 
[2026-09-05 15:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 15:03:59] 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-09-05 15:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171927,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171927,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881679616001,"66":25125,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881679616001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:03:59] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:03:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:03:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881679616001,"power":25125,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":171927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769251,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:03:59] local.INFO: GPS data processed {"connection_id":171927,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:03:59] local.INFO: Acknowledgment sent {"connection_id":171927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:04:01] local.INFO: TCP Data received {"connection_id":171630,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:04:01] local.INFO: Processing buffer {"connection_id":171630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:04:01] local.INFO: IMEI packet received {"connection_id":171630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":171630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:04:03] local.INFO: TCP Data received {"connection_id":171927,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070e774a0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e774a0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:04:03] local.INFO: Processing buffer {"connection_id":171927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e774a0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:04:03] local.INFO: Packet analysis {"connection_id":171927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e7"} 
[2026-09-05 15:04:03] local.INFO: Extracted packet for processing {"connection_id":171927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e7"} 
[2026-09-05 15:04:03] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 15:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881679616001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:04:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788600612000,"timestamp_ms":1788600612000,"timestamp_seconds":1788600612,"priority":1,"record_length":96,"hex_timestamp":"000001a070e774a0"} 
[2026-09-05 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-09-05 15:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 15:04: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-09-05 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-09-05 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-09-05 15:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171927,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171927,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881679616001,"66":25125,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881679616001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:04:03] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:04:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:04:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881679616001,"power":25125,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:04:03] local.INFO: TCP Data received {"connection_id":171630,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a070e9c278012d81f48006056cf0000900cf23..."} 
[2026-09-05 15:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e9c278012d81f48006056cf0000900cf23..."} 
[2026-09-05 15:04:03] local.INFO: Processing buffer {"connection_id":171630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e9c278012d81f48006056cf0000900cf23..."} 
[2026-09-05 15:04:03] local.INFO: Packet analysis {"connection_id":171630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e9"} 
[2026-09-05 15:04:03] local.INFO: Extracted packet for processing {"connection_id":171630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e9"} 
[2026-09-05 15:04:03] local.INFO: GPS Element Parsed {"raw_longitude":763491456,"raw_latitude":101018864,"longitude_deg":76.3491456,"latitude_deg":10.1018864,"altitude":9,"angle":207,"satellites":35,"speed":37,"hex_longitude":"2d81f480","hex_latitude":"06056cf0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 15:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881792512001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399834242344812544,"note":"Value kept but may cause issues"} 
[2026-09-05 15:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9077990185520640000,"note":"Value kept but may cause issues"} 
[2026-09-05 15:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788600763000,"timestamp_ms":1788600763000,"timestamp_seconds":1788600763,"priority":1,"record_length":96,"hex_timestamp":"000001a070e9c278"} 
[2026-09-05 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-09-05 15:04: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-09-05 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 15:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 15:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881792512001,"66":27821,"69":206,"87":10496,"24":37,"16":399834242344812544,"45":-9077990185520640000},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,87,24,16,45]} 
[2026-09-05 15:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881792512001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:04:03] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-05 15:04:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 15:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399834242344812544,"km_value":399834242344812.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9077990185520640000,"description":"Unknown IO ID 45"} 
[2026-09-05 15:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881792512001,"power":27821,"unknown_69":206,"unknown_87":10496,"ignition":37,"odometer":null,"unknown_45":-9077990185520640000}} 
[2026-09-05 15:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":171630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:04:03] local.INFO: GPS data processed {"connection_id":171630,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:04:03] local.INFO: Acknowledgment sent {"connection_id":171630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":171927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769253,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:04:03] local.INFO: GPS data processed {"connection_id":171927,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:04:03] local.INFO: Acknowledgment sent {"connection_id":171927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:04:22] local.INFO: TCP Data received {"connection_id":174336,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070e9f540012d11c4c0071f41380037008028..."} 
[2026-09-05 15:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e9f540012d11c4c0071f41380037008028..."} 
[2026-09-05 15:04:22] local.INFO: Processing buffer {"connection_id":174336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e9f540012d11c4c0071f41380037008028..."} 
[2026-09-05 15:04:22] local.INFO: Packet analysis {"connection_id":174336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e9"} 
[2026-09-05 15:04:22] local.INFO: Extracted packet for processing {"connection_id":174336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e9"} 
[2026-09-05 15:04:22] local.INFO: GPS Element Parsed {"raw_longitude":756139200,"raw_latitude":119488824,"longitude_deg":75.61392,"latitude_deg":11.9488824,"altitude":55,"angle":128,"satellites":40,"speed":40,"hex_longitude":"2d11c4c0","hex_latitude":"071f4138","is_valid_coordinates":true} 
[2026-09-05 15:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881797888001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17903824576446464,"note":"Value kept but may cause issues"} 
[2026-09-05 15:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1277192737414205440,"note":"Value kept but may cause issues"} 
[2026-09-05 15:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788600776000,"timestamp_ms":1788600776000,"timestamp_seconds":1788600776,"priority":1,"record_length":96,"hex_timestamp":"000001a070e9f540"} 
[2026-09-05 15:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:04:22] 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-09-05 15:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 15:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881797888001,"66":13972,"31":206,"83":41984,"24":40,"16":17903824576446464,"45":1277192737414205440},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-09-05 15:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881797888001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:04:22] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-05 15:04:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17903824576446464,"km_value":17903824576446.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1277192737414205440,"description":"Unknown IO ID 45"} 
[2026-09-05 15:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881797888001,"power":13972,"unknown_31":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1277192737414205440}} 
[2026-09-05 15:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":174336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:04:22] local.INFO: GPS data processed {"connection_id":174336,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:04:22] local.INFO: Acknowledgment sent {"connection_id":174336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:04:35] local.INFO: TCP Data received {"connection_id":171630,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a070e9e988012d81e34006054df8000900d123..."} 
[2026-09-05 15:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e9e988012d81e34006054df8000900d123..."} 
[2026-09-05 15:04:35] local.INFO: Processing buffer {"connection_id":171630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e9e988012d81e34006054df8000900d123..."} 
[2026-09-05 15:04:35] local.INFO: Packet analysis {"connection_id":171630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e9"} 
[2026-09-05 15:04:35] local.INFO: Extracted packet for processing {"connection_id":171630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e9"} 
[2026-09-05 15:04:35] local.INFO: GPS Element Parsed {"raw_longitude":763487040,"raw_latitude":101010936,"longitude_deg":76.348704,"latitude_deg":10.1010936,"altitude":9,"angle":209,"satellites":35,"speed":30,"hex_longitude":"2d81e340","hex_latitude":"06054df8","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881795328001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399834680431476736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9082493785150263296,"note":"Value kept but may cause issues"} 
[2026-09-05 15:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788600773000,"timestamp_ms":1788600773000,"timestamp_seconds":1788600773,"priority":1,"record_length":96,"hex_timestamp":"000001a070e9e988"} 
[2026-09-05 15:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:04: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-09-05 15: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":173,"data_length":795,"current_offset":136} 
[2026-09-05 15:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881795328001,"66":27876,"69":206,"87":10496,"24":30,"16":399834680431476736,"45":-9082493785150263296},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,87,24,16,45]} 
[2026-09-05 15:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881795328001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:04:35] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-05 15:04:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 15:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399834680431476736,"km_value":399834680431476.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9082493785150263296,"description":"Unknown IO ID 45"} 
[2026-09-05 15:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881795328001,"power":27876,"unknown_69":206,"unknown_87":10496,"ignition":30,"odometer":null,"unknown_45":-9082493785150263296}} 
[2026-09-05 15:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":171630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:04:35] local.INFO: GPS data processed {"connection_id":171630,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:04:35] local.INFO: Acknowledgment sent {"connection_id":171630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:04:46] local.INFO: TCP Data received {"connection_id":173017,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:04:46] local.INFO: Processing buffer {"connection_id":173017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:04:46] local.INFO: IMEI packet received {"connection_id":173017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":173017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:04:47] local.INFO: TCP Data received {"connection_id":173016,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173016,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:04:47] local.INFO: Processing buffer {"connection_id":173016,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:04:47] local.INFO: IMEI packet received {"connection_id":173016,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":173016,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:04:50] local.INFO: TCP Data received {"connection_id":173017,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:04:50] local.INFO: Processing buffer {"connection_id":173017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:04:50] local.INFO: IMEI packet received {"connection_id":173017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":173017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:04:52] local.INFO: TCP Data received {"connection_id":173016,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173016,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:04:52] local.INFO: Processing buffer {"connection_id":173016,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:04:52] local.INFO: IMEI packet received {"connection_id":173016,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":173016,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:04:54] local.INFO: TCP Data received {"connection_id":173016,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070e774a0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e774a0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:04:54] local.INFO: Processing buffer {"connection_id":173016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e774a0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:04:54] local.INFO: Packet analysis {"connection_id":173016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e7"} 
[2026-09-05 15:04:54] local.INFO: Extracted packet for processing {"connection_id":173016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e7"} 
[2026-09-05 15:04:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881679616001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:04:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:04:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788600612000,"timestamp_ms":1788600612000,"timestamp_seconds":1788600612,"priority":1,"record_length":96,"hex_timestamp":"000001a070e774a0"} 
[2026-09-05 15:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 15:04:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173016,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173016,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881679616001,"66":25125,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881679616001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:04:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:04:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:04:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881679616001,"power":25125,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":173016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769256,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:04:54] local.INFO: GPS data processed {"connection_id":173016,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:04:54] local.INFO: Acknowledgment sent {"connection_id":173016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:04:54] local.INFO: TCP Data received {"connection_id":173017,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:04:54] local.INFO: Processing buffer {"connection_id":173017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:04:54] local.INFO: IMEI packet received {"connection_id":173017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":173017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:04:55] local.INFO: TCP Data received {"connection_id":173017,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070ea1098012d11ddc0071f2fe00035007028..."} 
[2026-09-05 15:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ea1098012d11ddc0071f2fe00035007028..."} 
[2026-09-05 15:04:55] local.INFO: Processing buffer {"connection_id":173017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ea1098012d11ddc0071f2fe00035007028..."} 
[2026-09-05 15:04:55] local.INFO: Packet analysis {"connection_id":173017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ea"} 
[2026-09-05 15:04:55] local.INFO: Extracted packet for processing {"connection_id":173017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ea"} 
[2026-09-05 15:04:55] local.INFO: GPS Element Parsed {"raw_longitude":756145600,"raw_latitude":119484384,"longitude_deg":75.61456,"latitude_deg":11.9484384,"altitude":53,"angle":112,"satellites":40,"speed":48,"hex_longitude":"2d11ddc0","hex_latitude":"071f2fe0","is_valid_coordinates":true} 
[2026-09-05 15:04: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-09-05 15:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881798656001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17904198238601216,"note":"Value kept but may cause issues"} 
[2026-09-05 15:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1280359330901735424,"note":"Value kept but may cause issues"} 
[2026-09-05 15:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788600783000,"timestamp_ms":1788600783000,"timestamp_seconds":1788600783,"priority":1,"record_length":96,"hex_timestamp":"000001a070ea1098"} 
[2026-09-05 15:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:04:55] 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-09-05 15:04: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 15:04:55] 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-09-05 15:04: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-09-05 15:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881798656001,"66":14004,"31":206,"83":41984,"24":48,"16":17904198238601216,"45":1280359330901735424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-09-05 15:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881798656001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:04:55] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-05 15:04:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17904198238601216,"km_value":17904198238601.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1280359330901735424,"description":"Unknown IO ID 45"} 
[2026-09-05 15:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881798656001,"power":14004,"unknown_31":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1280359330901735424}} 
[2026-09-05 15:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":173017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:04:55] local.INFO: GPS data processed {"connection_id":173017,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:04:55] local.INFO: Acknowledgment sent {"connection_id":173017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:04:56] local.INFO: TCP Data received {"connection_id":173017,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070ea1c50012d11ec40071f2c500037006327..."} 
[2026-09-05 15:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ea1c50012d11ec40071f2c500037006327..."} 
[2026-09-05 15:04:56] local.INFO: Processing buffer {"connection_id":173017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ea1c50012d11ec40071f2c500037006327..."} 
[2026-09-05 15:04:56] local.INFO: Packet analysis {"connection_id":173017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ea"} 
[2026-09-05 15:04:56] local.INFO: Extracted packet for processing {"connection_id":173017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ea"} 
[2026-09-05 15:04:56] local.INFO: GPS Element Parsed {"raw_longitude":756149312,"raw_latitude":119483472,"longitude_deg":75.6149312,"latitude_deg":11.9483472,"altitude":55,"angle":99,"satellites":39,"speed":49,"hex_longitude":"2d11ec40","hex_latitude":"071f2c50","is_valid_coordinates":true} 
[2026-09-05 15:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881800448001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17904378627227648,"note":"Value kept but may cause issues"} 
[2026-09-05 15:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1287396205318365184,"note":"Value kept but may cause issues"} 
[2026-09-05 15:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788600786000,"timestamp_ms":1788600786000,"timestamp_seconds":1788600786,"priority":1,"record_length":96,"hex_timestamp":"000001a070ea1c50"} 
[2026-09-05 15:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:04:56] 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-09-05 15:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-05 15:04:56] 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-09-05 15:04:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881800448001,"66":13417,"31":206,"83":41984,"24":49,"16":17904378627227648,"45":1287396205318365184},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-09-05 15:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881800448001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:04:56] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-05 15:04:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17904378627227648,"km_value":17904378627227.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1287396205318365184,"description":"Unknown IO ID 45"} 
[2026-09-05 15:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881800448001,"power":13417,"unknown_31":206,"unknown_83":41984,"ignition":49,"odometer":null,"unknown_45":1287396205318365184}} 
[2026-09-05 15:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":173017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:04:56] local.INFO: GPS data processed {"connection_id":173017,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:04:56] local.INFO: Acknowledgment sent {"connection_id":173017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:04:56] local.INFO: TCP Data received {"connection_id":174337,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:04:56] local.INFO: Processing buffer {"connection_id":174337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:04:56] local.INFO: IMEI packet received {"connection_id":174337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":174337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:05:01] local.INFO: TCP Data received {"connection_id":174337,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:05:01] local.INFO: Processing buffer {"connection_id":174337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:05:01] local.INFO: IMEI packet received {"connection_id":174337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":174337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:05:02] local.INFO: TCP Data received {"connection_id":174337,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a070ea0cb0012d81d6c0060539b8000800de29..."} 
[2026-09-05 15:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ea0cb0012d81d6c0060539b8000800de29..."} 
[2026-09-05 15:05:02] local.INFO: Processing buffer {"connection_id":174337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ea0cb0012d81d6c0060539b8000800de29..."} 
[2026-09-05 15:05:02] local.INFO: Packet analysis {"connection_id":174337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ea"} 
[2026-09-05 15:05:02] local.INFO: Extracted packet for processing {"connection_id":174337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ea"} 
[2026-09-05 15:05:02] local.INFO: GPS Element Parsed {"raw_longitude":763483840,"raw_latitude":101005752,"longitude_deg":76.348384,"latitude_deg":10.1005752,"altitude":8,"angle":222,"satellites":41,"speed":23,"hex_longitude":"2d81d6c0","hex_latitude":"060539b8","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881797888001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399834976784220160,"note":"Value kept but may cause issues"} 
[2026-09-05 15:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9087349228500551680,"note":"Value kept but may cause issues"} 
[2026-09-05 15:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788600782000,"timestamp_ms":1788600782000,"timestamp_seconds":1788600782,"priority":1,"record_length":96,"hex_timestamp":"000001a070ea0cb0"} 
[2026-09-05 15:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:05: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-09-05 15:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 15:05: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-09-05 15: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-09-05 15:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881797888001,"66":27995,"69":206,"87":10496,"24":23,"16":399834976784220160,"45":-9087349228500551680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,87,24,16,45]} 
[2026-09-05 15:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881797888001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:05:02] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-05 15:05:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 15:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399834976784220160,"km_value":399834976784220.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9087349228500551680,"description":"Unknown IO ID 45"} 
[2026-09-05 15:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881797888001,"power":27995,"unknown_69":206,"unknown_87":10496,"ignition":23,"odometer":null,"unknown_45":-9087349228500551680}} 
[2026-09-05 15:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":174337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:05:02] local.INFO: GPS data processed {"connection_id":174337,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:05:02] local.INFO: Acknowledgment sent {"connection_id":174337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:05:26] local.INFO: TCP Data received {"connection_id":173016,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070e774a0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070e774a0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:05:26] local.INFO: Processing buffer {"connection_id":173016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070e774a0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:05:26] local.INFO: Packet analysis {"connection_id":173016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070e7"} 
[2026-09-05 15:05:26] local.INFO: Extracted packet for processing {"connection_id":173016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070e7"} 
[2026-09-05 15:05:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881679616001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:05:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788600612000,"timestamp_ms":1788600612000,"timestamp_seconds":1788600612,"priority":1,"record_length":96,"hex_timestamp":"000001a070e774a0"} 
[2026-09-05 15:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 15:05:26] 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-09-05 15:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173016,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173016,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881679616001,"66":25125,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881679616001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:05:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:05:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:05:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881679616001,"power":25125,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":173016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769260,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:05:26] local.INFO: GPS data processed {"connection_id":173016,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:05:26] local.INFO: Acknowledgment sent {"connection_id":173016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:05:27] local.INFO: TCP Data received {"connection_id":173017,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070eb6470012d139400071efe580032004428..."} 
[2026-09-05 15:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070eb6470012d139400071efe580032004428..."} 
[2026-09-05 15:05:27] local.INFO: Processing buffer {"connection_id":173017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070eb6470012d139400071efe580032004428..."} 
[2026-09-05 15:05:27] local.INFO: Packet analysis {"connection_id":173017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070eb"} 
[2026-09-05 15:05:27] local.INFO: Extracted packet for processing {"connection_id":173017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070eb"} 
[2026-09-05 15:05:27] local.INFO: GPS Element Parsed {"raw_longitude":756257792,"raw_latitude":119471704,"longitude_deg":75.6257792,"latitude_deg":11.9471704,"altitude":50,"angle":68,"satellites":40,"speed":48,"hex_longitude":"2d139400","hex_latitude":"071efe58","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881821440001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17909639962165248,"note":"Value kept but may cause issues"} 
[2026-09-05 15:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1403997214417098752,"note":"Value kept but may cause issues"} 
[2026-09-05 15:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788600870000,"timestamp_ms":1788600870000,"timestamp_seconds":1788600870,"priority":1,"record_length":96,"hex_timestamp":"000001a070eb6470"} 
[2026-09-05 15:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15: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-09-05 15: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-05 15:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881821440001,"66":14363,"11":206,"83":41984,"24":48,"16":17909639962165248,"45":1403997214417098752},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-05 15:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881821440001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:05:27] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 15:05:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17909639962165248,"km_value":17909639962165.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1403997214417098752,"description":"Unknown IO ID 45"} 
[2026-09-05 15:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881821440001,"power":14363,"unknown_11":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1403997214417098752}} 
[2026-09-05 15:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":173017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:05:27] local.INFO: GPS data processed {"connection_id":173017,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:05:27] local.INFO: Acknowledgment sent {"connection_id":173017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:05:35] local.INFO: TCP Data received {"connection_id":174337,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a070ea2420012d81cfc006053070000900d02a..."} 
[2026-09-05 15:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ea2420012d81cfc006053070000900d02a..."} 
[2026-09-05 15:05:35] local.INFO: Processing buffer {"connection_id":174337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ea2420012d81cfc006053070000900d02a..."} 
[2026-09-05 15:05:35] local.INFO: Packet analysis {"connection_id":174337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ea"} 
[2026-09-05 15:05:35] local.INFO: Extracted packet for processing {"connection_id":174337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ea"} 
[2026-09-05 15:05:35] local.INFO: GPS Element Parsed {"raw_longitude":763482048,"raw_latitude":101003376,"longitude_deg":76.3482048,"latitude_deg":10.1003376,"altitude":9,"angle":208,"satellites":42,"speed":15,"hex_longitude":"2d81cfc0","hex_latitude":"06053070","is_valid_coordinates":true} 
[2026-09-05 15:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881800192001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399835118518140928,"note":"Value kept but may cause issues"} 
[2026-09-05 15:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9090867665710761984,"note":"Value kept but may cause issues"} 
[2026-09-05 15:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788600788000,"timestamp_ms":1788600788000,"timestamp_seconds":1788600788,"priority":1,"record_length":96,"hex_timestamp":"000001a070ea2420"} 
[2026-09-05 15:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:05: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-09-05 15:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 15:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881800192001,"66":27995,"69":206,"87":10496,"24":15,"16":399835118518140928,"45":-9090867665710761984},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,87,24,16,45]} 
[2026-09-05 15:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881800192001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:05:35] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-05 15:05:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 15:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399835118518140928,"km_value":399835118518140.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9090867665710761984,"description":"Unknown IO ID 45"} 
[2026-09-05 15:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881800192001,"power":27995,"unknown_69":206,"unknown_87":10496,"ignition":15,"odometer":null,"unknown_45":-9090867665710761984}} 
[2026-09-05 15:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":174337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:05:35] local.INFO: GPS data processed {"connection_id":174337,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:05:35] local.INFO: Acknowledgment sent {"connection_id":174337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:05:42] local.INFO: TCP Data received {"connection_id":171632,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:05:42] local.INFO: Processing buffer {"connection_id":171632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:05:42] local.INFO: IMEI packet received {"connection_id":171632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":171632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:05:45] local.INFO: TCP Data received {"connection_id":171632,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:05:45] local.INFO: Processing buffer {"connection_id":171632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:05:45] local.INFO: IMEI packet received {"connection_id":171632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":171632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:05:48] local.INFO: TCP Data received {"connection_id":173018,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173018,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:05:48] local.INFO: Processing buffer {"connection_id":173018,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:05:48] local.INFO: IMEI packet received {"connection_id":173018,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":173018,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:05:50] local.INFO: TCP Data received {"connection_id":171632,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:05:50] local.INFO: Processing buffer {"connection_id":171632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:05:50] local.INFO: IMEI packet received {"connection_id":171632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":171632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:05:51] local.INFO: TCP Data received {"connection_id":171632,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070eb83b0012d13b600071f0fd80033003e28..."} 
[2026-09-05 15:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070eb83b0012d13b600071f0fd80033003e28..."} 
[2026-09-05 15:05:51] local.INFO: Processing buffer {"connection_id":171632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070eb83b0012d13b600071f0fd80033003e28..."} 
[2026-09-05 15:05:51] local.INFO: Packet analysis {"connection_id":171632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070eb"} 
[2026-09-05 15:05:51] local.INFO: Extracted packet for processing {"connection_id":171632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070eb"} 
[2026-09-05 15:05:51] local.INFO: GPS Element Parsed {"raw_longitude":756266496,"raw_latitude":119476184,"longitude_deg":75.6266496,"latitude_deg":11.9476184,"altitude":51,"angle":62,"satellites":40,"speed":47,"hex_longitude":"2d13b600","hex_latitude":"071f0fd8","is_valid_coordinates":true} 
[2026-09-05 15:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881822720001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17910108113600512,"note":"Value kept but may cause issues"} 
[2026-09-05 15:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1410752613858564096,"note":"Value kept but may cause issues"} 
[2026-09-05 15:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788600878000,"timestamp_ms":1788600878000,"timestamp_seconds":1788600878,"priority":1,"record_length":96,"hex_timestamp":"000001a070eb83b0"} 
[2026-09-05 15:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 15:05:51] 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-09-05 15:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881822720001,"66":14363,"11":206,"83":41984,"24":47,"16":17910108113600512,"45":1410752613858564096},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-05 15:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881822720001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:05:51] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 15:05:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17910108113600512,"km_value":17910108113600.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1410752613858564096,"description":"Unknown IO ID 45"} 
[2026-09-05 15:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881822720001,"power":14363,"unknown_11":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1410752613858564096}} 
[2026-09-05 15:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":171632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:05:51] local.INFO: GPS data processed {"connection_id":171632,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:05:51] local.INFO: Acknowledgment sent {"connection_id":171632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:05:51] local.INFO: TCP Data received {"connection_id":173018,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173018,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:05:51] local.INFO: Processing buffer {"connection_id":173018,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:05:51] local.INFO: IMEI packet received {"connection_id":173018,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":173018,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:05:53] local.INFO: TCP Data received {"connection_id":173018,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070ec0c68012c7939c00848c5f00014000129..."} 
[2026-09-05 15:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ec0c68012c7939c00848c5f00014000129..."} 
[2026-09-05 15:05:53] local.INFO: Processing buffer {"connection_id":173018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ec0c68012c7939c00848c5f00014000129..."} 
[2026-09-05 15:05:53] local.INFO: Packet analysis {"connection_id":173018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ec"} 
[2026-09-05 15:05:53] local.INFO: Extracted packet for processing {"connection_id":173018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ec"} 
[2026-09-05 15:05:53] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881756672001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:05:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788600913000,"timestamp_ms":1788600913000,"timestamp_seconds":1788600913,"priority":1,"record_length":96,"hex_timestamp":"000001a070ec0c68"} 
[2026-09-05 15:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-05 15:05:53] 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-09-05 15:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881756672001,"66":25397,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881756672001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:05:53] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:05:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:05:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881756672001,"power":25397,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":173018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769264,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:05:53] local.INFO: GPS data processed {"connection_id":173018,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:05:53] local.INFO: Acknowledgment sent {"connection_id":173018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:06:01] local.INFO: TCP Data received {"connection_id":173019,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:06:01] local.INFO: Processing buffer {"connection_id":173019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:06:01] local.INFO: IMEI packet received {"connection_id":173019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":173019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:06:06] local.INFO: TCP Data received {"connection_id":173019,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:06:06] local.INFO: Processing buffer {"connection_id":173019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:06:06] local.INFO: IMEI packet received {"connection_id":173019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":173019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:06:07] local.INFO: TCP Data received {"connection_id":173019,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a070ea7628012d81ce4006052d40000900cf2a..."} 
[2026-09-05 15:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ea7628012d81ce4006052d40000900cf2a..."} 
[2026-09-05 15:06:07] local.INFO: Processing buffer {"connection_id":173019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ea7628012d81ce4006052d40000900cf2a..."} 
[2026-09-05 15:06:07] local.INFO: Packet analysis {"connection_id":173019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ea"} 
[2026-09-05 15:06:07] local.INFO: Extracted packet for processing {"connection_id":173019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ea"} 
[2026-09-05 15:06:07] local.INFO: GPS Element Parsed {"raw_longitude":763481664,"raw_latitude":101002560,"longitude_deg":76.3481664,"latitude_deg":10.100256,"altitude":9,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2d81ce40","hex_latitude":"06052d40","is_valid_coordinates":true} 
[2026-09-05 15:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881801728001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399835161467813888,"note":"Value kept but may cause issues"} 
[2026-09-05 15:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9092837990548344832,"note":"Value kept but may cause issues"} 
[2026-09-05 15:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788600809000,"timestamp_ms":1788600809000,"timestamp_seconds":1788600809,"priority":1,"record_length":96,"hex_timestamp":"000001a070ea7628"} 
[2026-09-05 15:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:06: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-09-05 15:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 15:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881801728001,"66":27908,"69":206,"87":10496,"24":0,"16":399835161467813888,"45":-9092837990548344832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,87,24,16,45]} 
[2026-09-05 15:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881801728001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:06:07] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-05 15:06:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 15:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399835161467813888,"km_value":399835161467813.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9092837990548344832,"description":"Unknown IO ID 45"} 
[2026-09-05 15:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881801728001,"power":27908,"unknown_69":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9092837990548344832}} 
[2026-09-05 15:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":173019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:06:07] local.INFO: GPS data processed {"connection_id":173019,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:06:07] local.INFO: Acknowledgment sent {"connection_id":173019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:06:22] local.INFO: TCP Data received {"connection_id":171632,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070eba2f0012d13da00071f1f980031004629..."} 
[2026-09-05 15:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070eba2f0012d13da00071f1f980031004629..."} 
[2026-09-05 15:06:22] local.INFO: Processing buffer {"connection_id":171632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070eba2f0012d13da00071f1f980031004629..."} 
[2026-09-05 15:06:22] local.INFO: Packet analysis {"connection_id":171632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070eb"} 
[2026-09-05 15:06:22] local.INFO: Extracted packet for processing {"connection_id":171632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070eb"} 
[2026-09-05 15:06:22] local.INFO: GPS Element Parsed {"raw_longitude":756275712,"raw_latitude":119480216,"longitude_deg":75.6275712,"latitude_deg":11.9480216,"altitude":49,"angle":70,"satellites":41,"speed":49,"hex_longitude":"2d13da00","hex_latitude":"071f1f98","is_valid_coordinates":true} 
[2026-09-05 15:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881824768001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17910584854970368,"note":"Value kept but may cause issues"} 
[2026-09-05 15:06:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1420322763067873280,"note":"Value kept but may cause issues"} 
[2026-09-05 15:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788600886000,"timestamp_ms":1788600886000,"timestamp_seconds":1788600886,"priority":1,"record_length":96,"hex_timestamp":"000001a070eba2f0"} 
[2026-09-05 15:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:06:22] 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-09-05 15:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 15:06:22] 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-09-05 15:06:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881824768001,"66":13972,"11":206,"83":41984,"24":49,"16":17910584854970368,"45":1420322763067873280},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-05 15:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881824768001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:06:22] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 15:06:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17910584854970368,"km_value":17910584854970.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:06:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1420322763067873280,"description":"Unknown IO ID 45"} 
[2026-09-05 15:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881824768001,"power":13972,"unknown_11":206,"unknown_83":41984,"ignition":49,"odometer":null,"unknown_45":1420322763067873280}} 
[2026-09-05 15:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":171632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:06:22] local.INFO: GPS data processed {"connection_id":171632,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:06:22] local.INFO: Acknowledgment sent {"connection_id":171632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:06:24] local.INFO: TCP Data received {"connection_id":173018,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070ec0c68012c7939c00848c5f00014000129..."} 
[2026-09-05 15:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ec0c68012c7939c00848c5f00014000129..."} 
[2026-09-05 15:06:24] local.INFO: Processing buffer {"connection_id":173018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ec0c68012c7939c00848c5f00014000129..."} 
[2026-09-05 15:06:24] local.INFO: Packet analysis {"connection_id":173018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ec"} 
[2026-09-05 15:06:24] local.INFO: Extracted packet for processing {"connection_id":173018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ec"} 
[2026-09-05 15:06:24] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881756672001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:06:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788600913000,"timestamp_ms":1788600913000,"timestamp_seconds":1788600913,"priority":1,"record_length":96,"hex_timestamp":"000001a070ec0c68"} 
[2026-09-05 15:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-05 15:06:24] 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-09-05 15: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-09-05 15:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881756672001,"66":25397,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881756672001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:06:24] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:06:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:06:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881756672001,"power":25397,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":173018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769267,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:06:25] local.INFO: GPS data processed {"connection_id":173018,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:06:25] local.INFO: Acknowledgment sent {"connection_id":173018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:06:31] local.INFO: TCP Data received {"connection_id":171929,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:06:31] local.INFO: Processing buffer {"connection_id":171929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:06:31] local.INFO: IMEI packet received {"connection_id":171929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":171929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:06:32] local.INFO: TCP Data received {"connection_id":171929,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070ebd1d0012d7a3b0005ebc7f00004014d26..."} 
[2026-09-05 15:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ebd1d0012d7a3b0005ebc7f00004014d26..."} 
[2026-09-05 15:06:32] local.INFO: Processing buffer {"connection_id":171929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ebd1d0012d7a3b0005ebc7f00004014d26..."} 
[2026-09-05 15:06:32] local.INFO: Packet analysis {"connection_id":171929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070eb"} 
[2026-09-05 15:06:32] local.INFO: Extracted packet for processing {"connection_id":171929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070eb"} 
[2026-09-05 15:06:32] local.INFO: GPS Element Parsed {"raw_longitude":762985216,"raw_latitude":99338224,"longitude_deg":76.2985216,"latitude_deg":9.9338224,"altitude":4,"angle":333,"satellites":38,"speed":28,"hex_longitude":"2d7a3b00","hex_latitude":"05ebc7f0","is_valid_coordinates":true} 
[2026-09-05 15:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881825536001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128498699872501760,"note":"Value kept but may cause issues"} 
[2026-09-05 15:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8811785277588088832,"note":"Value kept but may cause issues"} 
[2026-09-05 15:06:32] 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-09-05 15:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788600898000,"timestamp_ms":1788600898000,"timestamp_seconds":1788600898,"priority":1,"record_length":96,"hex_timestamp":"000001a070ebd1d0"} 
[2026-09-05 15:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15: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-09-05 15:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-05 15:06: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-09-05 15:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881825536001,"66":13493,"163":206,"87":13824,"24":28,"16":128498699872501760,"45":8811785277588088832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-05 15:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881825536001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:06:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 15:06:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128498699872501760,"km_value":128498699872501.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8811785277588088832,"description":"Unknown IO ID 45"} 
[2026-09-05 15:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881825536001,"power":13493,"unknown_163":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8811785277588088832}} 
[2026-09-05 15:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":171929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:06:32] local.INFO: GPS data processed {"connection_id":171929,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:06:32] local.INFO: Acknowledgment sent {"connection_id":171929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:06:38] local.INFO: TCP Data received {"connection_id":173019,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a070eac830012d81ce4006052d40000900cf2c..."} 
[2026-09-05 15:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070eac830012d81ce4006052d40000900cf2c..."} 
[2026-09-05 15:06:38] local.INFO: Processing buffer {"connection_id":173019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070eac830012d81ce4006052d40000900cf2c..."} 
[2026-09-05 15:06:38] local.INFO: Packet analysis {"connection_id":173019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ea"} 
[2026-09-05 15:06:38] local.INFO: Extracted packet for processing {"connection_id":173019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ea"} 
[2026-09-05 15:06:38] local.INFO: GPS Element Parsed {"raw_longitude":763481664,"raw_latitude":101002560,"longitude_deg":76.3481664,"latitude_deg":10.100256,"altitude":9,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2d81ce40","hex_latitude":"06052d40","is_valid_coordinates":true} 
[2026-09-05 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-09-05 15:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881807104001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399835161467813888,"note":"Value kept but may cause issues"} 
[2026-09-05 15:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9093260203013619712,"note":"Value kept but may cause issues"} 
[2026-09-05 15:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788600830000,"timestamp_ms":1788600830000,"timestamp_seconds":1788600830,"priority":1,"record_length":96,"hex_timestamp":"000001a070eac830"} 
[2026-09-05 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-09-05 15:06: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-09-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 15:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 15:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881807104001,"66":28028,"69":206,"87":10496,"24":0,"16":399835161467813888,"45":-9093260203013619712},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,87,24,16,45]} 
[2026-09-05 15:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881807104001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:06:38] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-05 15:06:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 15:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399835161467813888,"km_value":399835161467813.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9093260203013619712,"description":"Unknown IO ID 45"} 
[2026-09-05 15:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881807104001,"power":28028,"unknown_69":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9093260203013619712}} 
[2026-09-05 15:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":173019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:06:38] local.INFO: GPS data processed {"connection_id":173019,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:06:38] local.INFO: Acknowledgment sent {"connection_id":173019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:06:45] local.INFO: TCP Data received {"connection_id":173020,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:06:45] local.INFO: Processing buffer {"connection_id":173020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:06:45] local.INFO: IMEI packet received {"connection_id":173020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":173020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:06:47] local.INFO: TCP Data received {"connection_id":173020,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:06:47] local.INFO: Processing buffer {"connection_id":173020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:06:47] local.INFO: IMEI packet received {"connection_id":173020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":173020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:06:47] local.INFO: TCP Data received {"connection_id":174338,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174338,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:06:47] local.INFO: Processing buffer {"connection_id":174338,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:06:47] local.INFO: IMEI packet received {"connection_id":174338,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":174338,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:06:47] local.INFO: TCP Data received {"connection_id":173020,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070ebc618012d13fcc0071f2bc0002d00432a..."} 
[2026-09-05 15:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ebc618012d13fcc0071f2bc0002d00432a..."} 
[2026-09-05 15:06:47] local.INFO: Processing buffer {"connection_id":173020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ebc618012d13fcc0071f2bc0002d00432a..."} 
[2026-09-05 15:06:47] local.INFO: Packet analysis {"connection_id":173020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070eb"} 
[2026-09-05 15:06:47] local.INFO: Extracted packet for processing {"connection_id":173020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070eb"} 
[2026-09-05 15:06:47] local.INFO: GPS Element Parsed {"raw_longitude":756284608,"raw_latitude":119483328,"longitude_deg":75.6284608,"latitude_deg":11.9483328,"altitude":45,"angle":67,"satellites":42,"speed":37,"hex_longitude":"2d13fcc0","hex_latitude":"071f2bc0","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881826816001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17911035826536448,"note":"Value kept but may cause issues"} 
[2026-09-05 15:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1430455862230489088,"note":"Value kept but may cause issues"} 
[2026-09-05 15:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788600895000,"timestamp_ms":1788600895000,"timestamp_seconds":1788600895,"priority":1,"record_length":96,"hex_timestamp":"000001a070ebc618"} 
[2026-09-05 15:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 15:06:47] 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-09-05 15: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-09-05 15:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881826816001,"66":13993,"11":206,"83":41984,"24":37,"16":17911035826536448,"45":1430455862230489088},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-05 15:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881826816001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:06:47] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 15:06:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17911035826536448,"km_value":17911035826536.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1430455862230489088,"description":"Unknown IO ID 45"} 
[2026-09-05 15:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881826816001,"power":13993,"unknown_11":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1430455862230489088}} 
[2026-09-05 15:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":173020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:06:47] local.INFO: GPS data processed {"connection_id":173020,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:06:47] local.INFO: Acknowledgment sent {"connection_id":173020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:06:52] local.INFO: TCP Data received {"connection_id":174338,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174338,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:06:52] local.INFO: Processing buffer {"connection_id":174338,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:06:52] local.INFO: IMEI packet received {"connection_id":174338,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":174338,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:06:54] local.INFO: TCP Data received {"connection_id":174338,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070ec0c68012c7939c00848c5f00014000129..."} 
[2026-09-05 15:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ec0c68012c7939c00848c5f00014000129..."} 
[2026-09-05 15:06:54] local.INFO: Processing buffer {"connection_id":174338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ec0c68012c7939c00848c5f00014000129..."} 
[2026-09-05 15:06:54] local.INFO: Packet analysis {"connection_id":174338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ec"} 
[2026-09-05 15:06:54] local.INFO: Extracted packet for processing {"connection_id":174338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ec"} 
[2026-09-05 15:06:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881756672001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:06:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788600913000,"timestamp_ms":1788600913000,"timestamp_seconds":1788600913,"priority":1,"record_length":96,"hex_timestamp":"000001a070ec0c68"} 
[2026-09-05 15:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-05 15:06:54] 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-09-05 15:06:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881756672001,"66":25397,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881756672001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:06:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:06:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:06:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881756672001,"power":25397,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":174338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769271,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:06:54] local.INFO: GPS data processed {"connection_id":174338,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:06:54] local.INFO: Acknowledgment sent {"connection_id":174338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:06:55] local.INFO: TCP Data received {"connection_id":174339,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174339,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:06:55] local.INFO: Processing buffer {"connection_id":174339,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:06:55] local.INFO: IMEI packet received {"connection_id":174339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":174339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:06:56] local.INFO: TCP Data received {"connection_id":171930,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:06:56] local.INFO: Processing buffer {"connection_id":171930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:06:56] local.INFO: IMEI packet received {"connection_id":171930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":171930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:06:58] local.INFO: TCP Data received {"connection_id":171930,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:06:58] local.INFO: Processing buffer {"connection_id":171930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:06:58] local.INFO: IMEI packet received {"connection_id":171930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":171930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:07:00] local.INFO: TCP Data received {"connection_id":174339,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174339,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:07:00] local.INFO: Processing buffer {"connection_id":174339,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:07:00] local.INFO: IMEI packet received {"connection_id":174339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":174339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:07:01] local.INFO: TCP Data received {"connection_id":174339,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070ed6040012d79f70005ec74d8000a016627..."} 
[2026-09-05 15:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ed6040012d79f70005ec74d8000a016627..."} 
[2026-09-05 15:07:01] local.INFO: Processing buffer {"connection_id":174339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ed6040012d79f70005ec74d8000a016627..."} 
[2026-09-05 15:07:01] local.INFO: Packet analysis {"connection_id":174339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ed"} 
[2026-09-05 15:07:01] local.INFO: Extracted packet for processing {"connection_id":174339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ed"} 
[2026-09-05 15:07:01] local.INFO: GPS Element Parsed {"raw_longitude":762967808,"raw_latitude":99382488,"longitude_deg":76.2967808,"latitude_deg":9.9382488,"altitude":10,"angle":358,"satellites":39,"speed":9,"hex_longitude":"2d79f700","hex_latitude":"05ec74d8","is_valid_coordinates":true} 
[2026-09-05 15:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881853696001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128501040629678080,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790463548114180096,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788601000000,"timestamp_ms":1788601000000,"timestamp_seconds":1788601000,"priority":1,"record_length":96,"hex_timestamp":"000001a070ed6040"} 
[2026-09-05 15:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:07:01] 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-09-05 15:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-05 15:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881853696001,"66":13319,"99":206,"87":13824,"24":9,"16":128501040629678080,"45":8790463548114180096},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-05 15:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881853696001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:07:01] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-05 15:07:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128501040629678080,"km_value":128501040629678.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790463548114180096,"description":"Unknown IO ID 45"} 
[2026-09-05 15:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881853696001,"power":13319,"unknown_99":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8790463548114180096}} 
[2026-09-05 15:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":174339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769272,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:07:01] local.INFO: GPS data processed {"connection_id":174339,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:07:01] local.INFO: Acknowledgment sent {"connection_id":174339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:07:01] local.INFO: TCP Data received {"connection_id":171930,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:07:01] local.INFO: Processing buffer {"connection_id":171930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:07:01] local.INFO: IMEI packet received {"connection_id":171930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":171930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:07:03] local.INFO: TCP Data received {"connection_id":171930,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a070eb1a38012d81ce4006052d40000900cf2c..."} 
[2026-09-05 15:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070eb1a38012d81ce4006052d40000900cf2c..."} 
[2026-09-05 15:07:03] local.INFO: Processing buffer {"connection_id":171930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070eb1a38012d81ce4006052d40000900cf2c..."} 
[2026-09-05 15:07:03] local.INFO: Packet analysis {"connection_id":171930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070eb"} 
[2026-09-05 15:07:03] local.INFO: Extracted packet for processing {"connection_id":171930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070eb"} 
[2026-09-05 15:07:03] local.INFO: GPS Element Parsed {"raw_longitude":763481664,"raw_latitude":101002560,"longitude_deg":76.3481664,"latitude_deg":10.100256,"altitude":9,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2d81ce40","hex_latitude":"06052d40","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881812480001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399835161467813888,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9093260203013619712,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788600851000,"timestamp_ms":1788600851000,"timestamp_seconds":1788600851,"priority":1,"record_length":96,"hex_timestamp":"000001a070eb1a38"} 
[2026-09-05 15:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:07: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-09-05 15: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-05 15:07: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-09-05 15: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-09-05 15:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881812480001,"66":27908,"69":206,"87":10496,"24":0,"16":399835161467813888,"45":-9093260203013619712},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,87,24,16,45]} 
[2026-09-05 15:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881812480001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:07:03] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-05 15:07:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 15:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399835161467813888,"km_value":399835161467813.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9093260203013619712,"description":"Unknown IO ID 45"} 
[2026-09-05 15:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881812480001,"power":27908,"unknown_69":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9093260203013619712}} 
[2026-09-05 15:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":171930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:07:03] local.INFO: GPS data processed {"connection_id":171930,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:07:03] local.INFO: Acknowledgment sent {"connection_id":171930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:07:18] local.INFO: TCP Data received {"connection_id":173020,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070ed3160012d157280071fc6c0002800592b..."} 
[2026-09-05 15:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ed3160012d157280071fc6c0002800592b..."} 
[2026-09-05 15:07:18] local.INFO: Processing buffer {"connection_id":173020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ed3160012d157280071fc6c0002800592b..."} 
[2026-09-05 15:07:18] local.INFO: Packet analysis {"connection_id":173020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ed"} 
[2026-09-05 15:07:18] local.INFO: Extracted packet for processing {"connection_id":173020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ed"} 
[2026-09-05 15:07:18] local.INFO: GPS Element Parsed {"raw_longitude":756380288,"raw_latitude":119523008,"longitude_deg":75.6380288,"latitude_deg":11.9523008,"altitude":40,"angle":89,"satellites":43,"speed":58,"hex_longitude":"2d157280","hex_latitude":"071fc6c0","is_valid_coordinates":true} 
[2026-09-05 15:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881851136001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17916091003043840,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1533897916182763520,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788600988000,"timestamp_ms":1788600988000,"timestamp_seconds":1788600988,"priority":1,"record_length":96,"hex_timestamp":"000001a070ed3160"} 
[2026-09-05 15:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 15:07:18] 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-09-05 15:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881851136001,"66":14048,"87":206,"83":41984,"24":58,"16":17916091003043840,"45":1533897916182763520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-05 15:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881851136001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:07:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-05 15:07:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17916091003043840,"km_value":17916091003043.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1533897916182763520,"description":"Unknown IO ID 45"} 
[2026-09-05 15:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881851136001,"power":14048,"unknown_87":206,"unknown_83":41984,"ignition":58,"odometer":null,"unknown_45":1533897916182763520}} 
[2026-09-05 15:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":173020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:07:18] local.INFO: GPS data processed {"connection_id":173020,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:07:18] local.INFO: Acknowledgment sent {"connection_id":173020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:07:25] local.INFO: TCP Data received {"connection_id":174338,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070ec0c68012c7939c00848c5f00014000129..."} 
[2026-09-05 15:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ec0c68012c7939c00848c5f00014000129..."} 
[2026-09-05 15:07:25] local.INFO: Processing buffer {"connection_id":174338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ec0c68012c7939c00848c5f00014000129..."} 
[2026-09-05 15:07:25] local.INFO: Packet analysis {"connection_id":174338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ec"} 
[2026-09-05 15:07:25] local.INFO: Extracted packet for processing {"connection_id":174338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ec"} 
[2026-09-05 15:07:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881756672001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788600913000,"timestamp_ms":1788600913000,"timestamp_seconds":1788600913,"priority":1,"record_length":96,"hex_timestamp":"000001a070ec0c68"} 
[2026-09-05 15:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-05 15:07:25] 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-09-05 15: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-09-05 15:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881756672001,"66":25397,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881756672001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:07:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:07:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:07:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881756672001,"power":25397,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":174338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769275,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:07:25] local.INFO: GPS data processed {"connection_id":174338,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:07:25] local.INFO: Acknowledgment sent {"connection_id":174338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:07:32] local.INFO: TCP Data received {"connection_id":174339,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070ed6428012d79f78005ec7558000c001127..."} 
[2026-09-05 15:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ed6428012d79f78005ec7558000c001127..."} 
[2026-09-05 15:07:32] local.INFO: Processing buffer {"connection_id":174339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ed6428012d79f78005ec7558000c001127..."} 
[2026-09-05 15:07:32] local.INFO: Packet analysis {"connection_id":174339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ed"} 
[2026-09-05 15:07:32] local.INFO: Extracted packet for processing {"connection_id":174339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ed"} 
[2026-09-05 15:07:32] local.INFO: GPS Element Parsed {"raw_longitude":762967936,"raw_latitude":99382616,"longitude_deg":76.2967936,"latitude_deg":9.9382616,"altitude":12,"angle":17,"satellites":39,"speed":5,"hex_longitude":"2d79f780","hex_latitude":"05ec7558","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881856000001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128501044924645376,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788493223278729216,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788601001000,"timestamp_ms":1788601001000,"timestamp_seconds":1788601001,"priority":1,"record_length":96,"hex_timestamp":"000001a070ed6428"} 
[2026-09-05 15:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:07: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-09-05 15: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-05 15:07:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:32] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-1553741811290659072,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:32] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3925868544,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:32] local.WARNING: Large IO value detected {"io_id":112,"raw_value":3972012033,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147338958,"corrected_to":0} 
[2026-09-05 15:07:32] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2147871729,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:32] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812228,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:32] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2238775296,"corrected_to":0} 
[2026-09-05 15:07:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3958114304,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:32] local.WARNING: Large IO value detected {"io_id":116,"raw_value":57777562231658294,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:32] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-7138204114547720187,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:32] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,99,87,24,241,157,16,135,160,61,45,93,12,37,10,66,134,18,128,58,17,36,235,64,1,240,110,227,133,112,4,113,205,180,35,32,39,239,53,2,200,5,15,116,236],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1147338958,"validated":0},{"io_id":200,"original":2238775296,"validated":0}]} 
[2026-09-05 15:07:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720969733046337536,"timestamp_seconds":720969733046337.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 15:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881856000001,"66":12819,"99":206,"87":13824,"24":5,"16":128501044924645376,"45":8788493223278729216},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-05 15:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881856000001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:07:32] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-05 15:07:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128501044924645376,"km_value":128501044924645.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788493223278729216,"description":"Unknown IO ID 45"} 
[2026-09-05 15:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881856000001,"power":12819,"unknown_99":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8788493223278729216}} 
[2026-09-05 15:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":174339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:07:32] local.INFO: GPS data processed {"connection_id":174339,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:07:32] local.INFO: Acknowledgment sent {"connection_id":174339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:07:45] local.INFO: TCP Data received {"connection_id":173021,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:07:45] local.INFO: Processing buffer {"connection_id":173021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:07:45] local.INFO: IMEI packet received {"connection_id":173021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":173021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:07:46] local.INFO: TCP Data received {"connection_id":171930,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a070ed48d0012d8145400603ad68000b00d123..."} 
[2026-09-05 15:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ed48d0012d8145400603ad68000b00d123..."} 
[2026-09-05 15:07:46] local.INFO: Processing buffer {"connection_id":171930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ed48d0012d8145400603ad68000b00d123..."} 
[2026-09-05 15:07:46] local.INFO: Packet analysis {"connection_id":171930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ed"} 
[2026-09-05 15:07:46] local.INFO: Extracted packet for processing {"connection_id":171930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ed"} 
[2026-09-05 15:07:46] local.INFO: GPS Element Parsed {"raw_longitude":763446592,"raw_latitude":100904296,"longitude_deg":76.3446592,"latitude_deg":10.0904296,"altitude":11,"angle":209,"satellites":35,"speed":48,"hex_longitude":"2d814540","hex_latitude":"0603ad68","is_valid_coordinates":true} 
[2026-09-05 15:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881852672001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399840281068830720,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9126544619032745984,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788600994000,"timestamp_ms":1788600994000,"timestamp_seconds":1788600994,"priority":1,"record_length":96,"hex_timestamp":"000001a070ed48d0"} 
[2026-09-05 15:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 15:07:46] 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-09-05 15:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":171930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":171930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":171930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881852672001,"66":27887,"192":206,"87":10496,"24":48,"16":399840281068830720,"45":-9126544619032745984},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-05 15:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881852672001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:07:46] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-05 15:07:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 15:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399840281068830720,"km_value":399840281068830.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9126544619032745984,"description":"Unknown IO ID 45"} 
[2026-09-05 15:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881852672001,"power":27887,"unknown_192":206,"unknown_87":10496,"ignition":48,"odometer":null,"unknown_45":-9126544619032745984}} 
[2026-09-05 15:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":171930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:07:46] local.INFO: GPS data processed {"connection_id":171930,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:07:46] local.INFO: Acknowledgment sent {"connection_id":171930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:07:50] local.INFO: TCP Data received {"connection_id":173021,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:07:50] local.INFO: Processing buffer {"connection_id":173021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:07:50] local.INFO: IMEI packet received {"connection_id":173021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":173021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:07:51] local.INFO: TCP Data received {"connection_id":173021,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070ed44e8012d158f40071fca000026004c29..."} 
[2026-09-05 15:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ed44e8012d158f40071fca000026004c29..."} 
[2026-09-05 15:07:51] local.INFO: Processing buffer {"connection_id":173021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ed44e8012d158f40071fca000026004c29..."} 
[2026-09-05 15:07:51] local.INFO: Packet analysis {"connection_id":173021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ed"} 
[2026-09-05 15:07:51] local.INFO: Extracted packet for processing {"connection_id":173021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ed"} 
[2026-09-05 15:07:51] local.INFO: GPS Element Parsed {"raw_longitude":756387648,"raw_latitude":119523840,"longitude_deg":75.6387648,"latitude_deg":11.952384,"altitude":38,"angle":76,"satellites":41,"speed":57,"hex_longitude":"2d158f40","hex_latitude":"071fca00","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881852928001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17916438895394816,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1545438390227746816,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788600993000,"timestamp_ms":1788600993000,"timestamp_seconds":1788600993,"priority":1,"record_length":96,"hex_timestamp":"000001a070ed44e8"} 
[2026-09-05 15:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-05 15:07:51] 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-09-05 15:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881852928001,"66":14374,"87":206,"83":41984,"24":57,"16":17916438895394816,"45":1545438390227746816},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-05 15:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881852928001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:07:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-05 15:07:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17916438895394816,"km_value":17916438895394.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1545438390227746816,"description":"Unknown IO ID 45"} 
[2026-09-05 15:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881852928001,"power":14374,"unknown_87":206,"unknown_83":41984,"ignition":57,"odometer":null,"unknown_45":1545438390227746816}} 
[2026-09-05 15:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":173021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:07:51] local.INFO: GPS data processed {"connection_id":173021,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:07:51] local.INFO: Acknowledgment sent {"connection_id":173021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:07:52] local.INFO: TCP Data received {"connection_id":171931,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:07:52] local.INFO: Processing buffer {"connection_id":171931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:07:52] local.INFO: IMEI packet received {"connection_id":171931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":171931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:07:55] local.INFO: TCP Data received {"connection_id":174340,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:07:55] local.INFO: Processing buffer {"connection_id":174340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:07:55] local.INFO: IMEI packet received {"connection_id":174340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":174340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:07:56] local.INFO: TCP Data received {"connection_id":174340,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:07:56] local.INFO: Processing buffer {"connection_id":174340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:07:56] local.INFO: IMEI packet received {"connection_id":174340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":174340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:07:56] local.INFO: TCP Data received {"connection_id":173022,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:07:56] local.INFO: Processing buffer {"connection_id":173022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:07:56] local.INFO: IMEI packet received {"connection_id":173022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":173022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:07:57] local.INFO: TCP Data received {"connection_id":174340,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:07:57] local.INFO: Processing buffer {"connection_id":174340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:07:57] local.INFO: IMEI packet received {"connection_id":174340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":174340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:07:57] local.INFO: TCP Data received {"connection_id":171931,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:07:57] local.INFO: Processing buffer {"connection_id":171931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:07:57] local.INFO: IMEI packet received {"connection_id":171931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":171931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:07:58] local.INFO: TCP Data received {"connection_id":171931,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070ec0c68012c7939c00848c5f00014000129..."} 
[2026-09-05 15:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ec0c68012c7939c00848c5f00014000129..."} 
[2026-09-05 15:07:58] local.INFO: Processing buffer {"connection_id":171931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ec0c68012c7939c00848c5f00014000129..."} 
[2026-09-05 15:07:58] local.INFO: Packet analysis {"connection_id":171931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ec"} 
[2026-09-05 15:07:58] local.INFO: Extracted packet for processing {"connection_id":171931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ec"} 
[2026-09-05 15:07:58] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881756672001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:07:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788600913000,"timestamp_ms":1788600913000,"timestamp_seconds":1788600913,"priority":1,"record_length":96,"hex_timestamp":"000001a070ec0c68"} 
[2026-09-05 15:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-05 15:07:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:07:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881756672001,"66":25397,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881756672001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:07:58] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:07:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:07:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881756672001,"power":25397,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":171931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769279,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:07:58] local.INFO: GPS data processed {"connection_id":171931,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:07:58] local.INFO: Acknowledgment sent {"connection_id":171931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:07:59] local.INFO: TCP Data received {"connection_id":173022,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:07:59] local.INFO: Processing buffer {"connection_id":173022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:07:59] local.INFO: IMEI packet received {"connection_id":173022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":173022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:08:00] local.INFO: TCP Data received {"connection_id":174340,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:08:00] local.INFO: Processing buffer {"connection_id":174340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:08:00] local.INFO: IMEI packet received {"connection_id":174340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":174340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:08:01] local.INFO: TCP Data received {"connection_id":173022,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:08:01] local.INFO: Processing buffer {"connection_id":173022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:08:01] local.INFO: IMEI packet received {"connection_id":173022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":173022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:08:01] local.INFO: TCP Data received {"connection_id":174340,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070ed8368012d79fac005ec7740000c004228..."} 
[2026-09-05 15:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ed8368012d79fac005ec7740000c004228..."} 
[2026-09-05 15:08:01] local.INFO: Processing buffer {"connection_id":174340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ed8368012d79fac005ec7740000c004228..."} 
[2026-09-05 15:08:01] local.INFO: Packet analysis {"connection_id":174340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ed"} 
[2026-09-05 15:08:01] local.INFO: Extracted packet for processing {"connection_id":174340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ed"} 
[2026-09-05 15:08:01] local.INFO: GPS Element Parsed {"raw_longitude":762968768,"raw_latitude":99383104,"longitude_deg":76.2968768,"latitude_deg":9.9383104,"altitude":12,"angle":66,"satellites":40,"speed":7,"hex_longitude":"2d79fac0","hex_latitude":"05ec7740","is_valid_coordinates":true} 
[2026-09-05 15:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881856256001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128501092169285632,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788633960767117312,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788601009000,"timestamp_ms":1788601009000,"timestamp_seconds":1788601009,"priority":1,"record_length":96,"hex_timestamp":"000001a070ed8368"} 
[2026-09-05 15:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 15:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:01] local.WARNING: Large IO value detected {"io_id":240,"raw_value":84858274838866922,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:01] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505560370184192,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:01] local.WARNING: Large IO value detected {"io_id":112,"raw_value":3942132091982336,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:01] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5476641033972678912,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":4927783303499874328,"corrected_to":0} 
[2026-09-05 15:08:01] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182165285110016,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:01] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2499857732,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:01] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2239627264,"corrected_to":0} 
[2026-09-05 15:08:01] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1446772583948007641,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:01] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-1873271751383658921,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:01] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:01] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195172864,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:01] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,99,87,24,241,157,16,135,160,96,45,116,10,39,66,61,93,12,37,134,18,128,1,240,88,227,112,236,4,113,205,42,192,34,104,239,52,2,200,5,8,53,54,69],"length":625,"final_offset":755,"validated_count":44,"validation_warnings":[{"io_id":205,"original":4927783303499874328,"validated":0},{"io_id":200,"original":2239627264,"validated":0}]} 
[2026-09-05 15:08:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864709987656859648,"timestamp_seconds":864709987656859.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 15:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881856256001,"66":13406,"100":206,"87":13824,"24":7,"16":128501092169285632,"45":8788633960767117312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-05 15:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881856256001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:08:01] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-05 15:08:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128501092169285632,"km_value":128501092169285.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788633960767117312,"description":"Unknown IO ID 45"} 
[2026-09-05 15:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881856256001,"power":13406,"unknown_100":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8788633960767117312}} 
[2026-09-05 15:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":174340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769280,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:08:01] local.INFO: GPS data processed {"connection_id":174340,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:08:01] local.INFO: Acknowledgment sent {"connection_id":174340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:08:02] local.INFO: TCP Data received {"connection_id":173022,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a070ed6810012d81334006038d20000b00d22a..."} 
[2026-09-05 15:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ed6810012d81334006038d20000b00d22a..."} 
[2026-09-05 15:08:02] local.INFO: Processing buffer {"connection_id":173022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ed6810012d81334006038d20000b00d22a..."} 
[2026-09-05 15:08:02] local.INFO: Packet analysis {"connection_id":173022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ed"} 
[2026-09-05 15:08:02] local.INFO: Extracted packet for processing {"connection_id":173022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ed"} 
[2026-09-05 15:08:02] local.INFO: GPS Element Parsed {"raw_longitude":763441984,"raw_latitude":100896032,"longitude_deg":76.3441984,"latitude_deg":10.0896032,"altitude":11,"angle":210,"satellites":42,"speed":44,"hex_longitude":"2d813340","hex_latitude":"06038d20","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881854464001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399840736335364096,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9131822274848135168,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788601002000,"timestamp_ms":1788601002000,"timestamp_seconds":1788601002,"priority":1,"record_length":96,"hex_timestamp":"000001a070ed6810"} 
[2026-09-05 15:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:08: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-09-05 15:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-05 15:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881854464001,"66":27919,"192":206,"87":10496,"24":44,"16":399840736335364096,"45":-9131822274848135168},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-05 15:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881854464001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:08:02] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-05 15:08:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 15:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399840736335364096,"km_value":399840736335364.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9131822274848135168,"description":"Unknown IO ID 45"} 
[2026-09-05 15:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881854464001,"power":27919,"unknown_192":206,"unknown_87":10496,"ignition":44,"odometer":null,"unknown_45":-9131822274848135168}} 
[2026-09-05 15:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":173022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:08:02] local.INFO: GPS data processed {"connection_id":173022,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:08:02] local.INFO: Acknowledgment sent {"connection_id":173022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:08:05] local.INFO: TCP Data received {"connection_id":174340,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070edd188012d7a150005ec80e80008004f26..."} 
[2026-09-05 15:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070edd188012d7a150005ec80e80008004f26..."} 
[2026-09-05 15:08:05] local.INFO: Processing buffer {"connection_id":174340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070edd188012d7a150005ec80e80008004f26..."} 
[2026-09-05 15:08:05] local.INFO: Packet analysis {"connection_id":174340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ed"} 
[2026-09-05 15:08:05] local.INFO: Extracted packet for processing {"connection_id":174340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ed"} 
[2026-09-05 15:08:05] local.INFO: GPS Element Parsed {"raw_longitude":762975488,"raw_latitude":99385576,"longitude_deg":76.2975488,"latitude_deg":9.9385576,"altitude":8,"angle":79,"satellites":38,"speed":17,"hex_longitude":"2d7a1500","hex_latitude":"05ec80e8","is_valid_coordinates":true} 
[2026-09-05 15:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881858304001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128501435766669312,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789548754441551872,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788601029000,"timestamp_ms":1788601029000,"timestamp_seconds":1788601029,"priority":1,"record_length":96,"hex_timestamp":"000001a070edd188"} 
[2026-09-05 15:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:08: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-09-05 15: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-05 15:08:05] 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-09-05 15: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-09-05 15:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881858304001,"66":13526,"100":206,"87":13824,"24":17,"16":128501435766669312,"45":8789548754441551872},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-05 15:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881858304001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:08:05] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-05 15:08:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128501435766669312,"km_value":128501435766669.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789548754441551872,"description":"Unknown IO ID 45"} 
[2026-09-05 15:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881858304001,"power":13526,"unknown_100":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8789548754441551872}} 
[2026-09-05 15:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":174340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769282,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:08:05] local.INFO: GPS data processed {"connection_id":174340,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:08:05] local.INFO: Acknowledgment sent {"connection_id":174340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:08:22] local.INFO: TCP Data received {"connection_id":173021,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070ed6040012d15b440071fd3780024004c2c..."} 
[2026-09-05 15:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ed6040012d15b440071fd3780024004c2c..."} 
[2026-09-05 15:08:22] local.INFO: Processing buffer {"connection_id":173021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ed6040012d15b440071fd3780024004c2c..."} 
[2026-09-05 15:08:22] local.INFO: Packet analysis {"connection_id":173021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ed"} 
[2026-09-05 15:08:22] local.INFO: Extracted packet for processing {"connection_id":173021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ed"} 
[2026-09-05 15:08:22] local.INFO: GPS Element Parsed {"raw_longitude":756397120,"raw_latitude":119526264,"longitude_deg":75.639712,"latitude_deg":11.9526264,"altitude":36,"angle":76,"satellites":44,"speed":54,"hex_longitude":"2d15b440","hex_latitude":"071fd378","is_valid_coordinates":true} 
[2026-09-05 15:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881854208001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17916902751862784,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1553530795808391168,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788601000000,"timestamp_ms":1788601000000,"timestamp_seconds":1788601000,"priority":1,"record_length":96,"hex_timestamp":"000001a070ed6040"} 
[2026-09-05 15:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 15:08:22] 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-09-05 15:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881854208001,"66":13972,"87":206,"83":41984,"24":54,"16":17916902751862784,"45":1553530795808391168},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-05 15:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881854208001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:08:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-05 15:08:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17916902751862784,"km_value":17916902751862.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1553530795808391168,"description":"Unknown IO ID 45"} 
[2026-09-05 15:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881854208001,"power":13972,"unknown_87":206,"unknown_83":41984,"ignition":54,"odometer":null,"unknown_45":1553530795808391168}} 
[2026-09-05 15:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":173021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:08:22] local.INFO: GPS data processed {"connection_id":173021,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:08:22] local.INFO: Acknowledgment sent {"connection_id":173021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:08:30] local.INFO: TCP Data received {"connection_id":171931,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070ec0c68012c7939c00848c5f00014000129..."} 
[2026-09-05 15:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ec0c68012c7939c00848c5f00014000129..."} 
[2026-09-05 15:08:30] local.INFO: Processing buffer {"connection_id":171931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ec0c68012c7939c00848c5f00014000129..."} 
[2026-09-05 15:08:30] local.INFO: Packet analysis {"connection_id":171931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ec"} 
[2026-09-05 15:08:30] local.INFO: Extracted packet for processing {"connection_id":171931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ec"} 
[2026-09-05 15:08:30] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881756672001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788600913000,"timestamp_ms":1788600913000,"timestamp_seconds":1788600913,"priority":1,"record_length":96,"hex_timestamp":"000001a070ec0c68"} 
[2026-09-05 15:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-05 15:08:30] 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-09-05 15:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":171931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":171931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":171931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881756672001,"66":25397,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881756672001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:08:30] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:08:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:08:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881756672001,"power":25397,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":171931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769284,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:08:30] local.INFO: GPS data processed {"connection_id":171931,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:08:30] local.INFO: Acknowledgment sent {"connection_id":171931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:08:34] local.INFO: TCP Data received {"connection_id":173022,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a070ed8750012d81220006036ec0000a00d129..."} 
[2026-09-05 15:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ed8750012d81220006036ec0000a00d129..."} 
[2026-09-05 15:08:34] local.INFO: Processing buffer {"connection_id":173022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ed8750012d81220006036ec0000a00d129..."} 
[2026-09-05 15:08:34] local.INFO: Packet analysis {"connection_id":173022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ed"} 
[2026-09-05 15:08:34] local.INFO: Extracted packet for processing {"connection_id":173022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ed"} 
[2026-09-05 15:08:34] local.INFO: GPS Element Parsed {"raw_longitude":763437568,"raw_latitude":100888256,"longitude_deg":76.3437568,"latitude_deg":10.0888256,"altitude":10,"angle":209,"satellites":41,"speed":39,"hex_longitude":"2d812200","hex_latitude":"06036ec0","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881856512001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399841170127060992,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9136888824431042560,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788601010000,"timestamp_ms":1788601010000,"timestamp_seconds":1788601010,"priority":1,"record_length":96,"hex_timestamp":"000001a070ed8750"} 
[2026-09-05 15:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 15:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881856512001,"66":27930,"192":206,"87":10496,"24":39,"16":399841170127060992,"45":-9136888824431042560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-05 15:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881856512001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:08:34] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-05 15:08:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 15:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399841170127060992,"km_value":399841170127061.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9136888824431042560,"description":"Unknown IO ID 45"} 
[2026-09-05 15:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881856512001,"power":27930,"unknown_192":206,"unknown_87":10496,"ignition":39,"odometer":null,"unknown_45":-9136888824431042560}} 
[2026-09-05 15:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":173022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:08:34] local.INFO: GPS data processed {"connection_id":173022,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:08:34] local.INFO: Acknowledgment sent {"connection_id":173022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:08:37] local.INFO: TCP Data received {"connection_id":174340,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070eddd40012d7a198005ec82400007003b26..."} 
[2026-09-05 15:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070eddd40012d7a198005ec82400007003b26..."} 
[2026-09-05 15:08:37] local.INFO: Processing buffer {"connection_id":174340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070eddd40012d7a198005ec82400007003b26..."} 
[2026-09-05 15:08:37] local.INFO: Packet analysis {"connection_id":174340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ed"} 
[2026-09-05 15:08:37] local.INFO: Extracted packet for processing {"connection_id":174340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ed"} 
[2026-09-05 15:08:37] local.INFO: GPS Element Parsed {"raw_longitude":762976640,"raw_latitude":99385920,"longitude_deg":76.297664,"latitude_deg":9.938592,"altitude":7,"angle":59,"satellites":38,"speed":13,"hex_longitude":"2d7a1980","hex_latitude":"05ec8240","is_valid_coordinates":true} 
[2026-09-05 15:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881863424001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128501495896211456,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472580839424,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788601032000,"timestamp_ms":1788601032000,"timestamp_seconds":1788601032,"priority":1,"record_length":96,"hex_timestamp":"000001a070eddd40"} 
[2026-09-05 15:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 15:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881863424001,"66":13515,"100":206,"87":13824,"24":13,"16":128501495896211456,"45":8796937472580839424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-05 15:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881863424001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:08:37] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-05 15:08:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128501495896211456,"km_value":128501495896211.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472580839424,"description":"Unknown IO ID 45"} 
[2026-09-05 15:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881863424001,"power":13515,"unknown_100":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8796937472580839424}} 
[2026-09-05 15:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":174340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:08:37] local.INFO: GPS data processed {"connection_id":174340,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:08:37] local.INFO: Acknowledgment sent {"connection_id":174340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:08:45] local.INFO: TCP Data received {"connection_id":173023,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:08:45] local.INFO: Processing buffer {"connection_id":173023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:08:45] local.INFO: IMEI packet received {"connection_id":173023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":173023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:08:46] local.INFO: TCP Data received {"connection_id":173023,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:08:46] local.INFO: Processing buffer {"connection_id":173023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:08:46] local.INFO: IMEI packet received {"connection_id":173023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":173023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:08:48] local.INFO: TCP Data received {"connection_id":171633,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171633,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:08:48] local.INFO: Processing buffer {"connection_id":171633,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:08:48] local.INFO: IMEI packet received {"connection_id":171633,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":171633,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:08:50] local.INFO: TCP Data received {"connection_id":173023,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:08:50] local.INFO: Processing buffer {"connection_id":173023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:08:50] local.INFO: IMEI packet received {"connection_id":173023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":173023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:08:51] local.INFO: TCP Data received {"connection_id":173023,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070ed7b98012d15d8c0071fda80002200522b..."} 
[2026-09-05 15:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ed7b98012d15d8c0071fda80002200522b..."} 
[2026-09-05 15:08:51] local.INFO: Processing buffer {"connection_id":173023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ed7b98012d15d8c0071fda80002200522b..."} 
[2026-09-05 15:08:51] local.INFO: Packet analysis {"connection_id":173023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ed"} 
[2026-09-05 15:08:51] local.INFO: Extracted packet for processing {"connection_id":173023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ed"} 
[2026-09-05 15:08:51] local.INFO: GPS Element Parsed {"raw_longitude":756406464,"raw_latitude":119528064,"longitude_deg":75.6406464,"latitude_deg":11.9528064,"altitude":34,"angle":82,"satellites":43,"speed":52,"hex_longitude":"2d15d8c0","hex_latitude":"071fda80","is_valid_coordinates":true} 
[2026-09-05 15:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881856000001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17917358018396160,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1563945369947305984,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788601007000,"timestamp_ms":1788601007000,"timestamp_seconds":1788601007,"priority":1,"record_length":96,"hex_timestamp":"000001a070ed7b98"} 
[2026-09-05 15:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 15:08:51] 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-09-05 15:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881856000001,"66":14374,"87":206,"83":41984,"24":52,"16":17917358018396160,"45":1563945369947305984},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-05 15:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881856000001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:08:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-05 15:08:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17917358018396160,"km_value":17917358018396.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1563945369947305984,"description":"Unknown IO ID 45"} 
[2026-09-05 15:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881856000001,"power":14374,"unknown_87":206,"unknown_83":41984,"ignition":52,"odometer":null,"unknown_45":1563945369947305984}} 
[2026-09-05 15:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":173023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:08:51] local.INFO: GPS data processed {"connection_id":173023,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:08:51] local.INFO: Acknowledgment sent {"connection_id":173023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:08:52] local.INFO: TCP Data received {"connection_id":171633,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171633,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:08:52] local.INFO: Processing buffer {"connection_id":171633,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:08:52] local.INFO: IMEI packet received {"connection_id":171633,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":171633,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:08:54] local.INFO: TCP Data received {"connection_id":171633,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070ec0c68012c7939c00848c5f00014000129..."} 
[2026-09-05 15:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ec0c68012c7939c00848c5f00014000129..."} 
[2026-09-05 15:08:54] local.INFO: Processing buffer {"connection_id":171633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ec0c68012c7939c00848c5f00014000129..."} 
[2026-09-05 15:08:54] local.INFO: Packet analysis {"connection_id":171633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ec"} 
[2026-09-05 15:08:54] local.INFO: Extracted packet for processing {"connection_id":171633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ec"} 
[2026-09-05 15:08:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881756672001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788600913000,"timestamp_ms":1788600913000,"timestamp_seconds":1788600913,"priority":1,"record_length":96,"hex_timestamp":"000001a070ec0c68"} 
[2026-09-05 15:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-05 15:08:54] 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-09-05 15:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881756672001,"66":25397,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881756672001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:08:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:08:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:08:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881756672001,"power":25397,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":171633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769288,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:08:54] local.INFO: GPS data processed {"connection_id":171633,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:08:54] local.INFO: Acknowledgment sent {"connection_id":171633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:08:55] local.INFO: TCP Data received {"connection_id":171932,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171932,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:08:55] local.INFO: Processing buffer {"connection_id":171932,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:08:55] local.INFO: IMEI packet received {"connection_id":171932,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":171932,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:08:59] local.INFO: TCP Data received {"connection_id":171932,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171932,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:08:59] local.INFO: Processing buffer {"connection_id":171932,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:08:59] local.INFO: IMEI packet received {"connection_id":171932,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":171932,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:09:00] local.INFO: TCP Data received {"connection_id":171932,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070ede128012d7a1a4005ec82e80007002526..."} 
[2026-09-05 15:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ede128012d7a1a4005ec82e80007002526..."} 
[2026-09-05 15:09:00] local.INFO: Processing buffer {"connection_id":171932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ede128012d7a1a4005ec82e80007002526..."} 
[2026-09-05 15:09:00] local.INFO: Packet analysis {"connection_id":171932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ed"} 
[2026-09-05 15:09:00] local.INFO: Extracted packet for processing {"connection_id":171932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ed"} 
[2026-09-05 15:09:00] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":99386088,"longitude_deg":76.2976832,"latitude_deg":9.9386088,"altitude":7,"angle":37,"satellites":38,"speed":8,"hex_longitude":"2d7a1a40","hex_latitude":"05ec82e8","is_valid_coordinates":true} 
[2026-09-05 15:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881864192001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128501508781113344,"note":"Value kept but may cause issues"} 
[2026-09-05 15:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798204109976125440,"note":"Value kept but may cause issues"} 
[2026-09-05 15:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788601033000,"timestamp_ms":1788601033000,"timestamp_seconds":1788601033,"priority":1,"record_length":96,"hex_timestamp":"000001a070ede128"} 
[2026-09-05 15:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-05 15:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881864192001,"66":13189,"100":206,"87":13824,"24":8,"16":128501508781113344,"45":8798204109976125440},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-05 15:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881864192001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:09:00] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-05 15:09:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128501508781113344,"km_value":128501508781113.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798204109976125440,"description":"Unknown IO ID 45"} 
[2026-09-05 15:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881864192001,"power":13189,"unknown_100":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8798204109976125440}} 
[2026-09-05 15:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":171932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:09:00] local.INFO: GPS data processed {"connection_id":171932,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:09:00] local.INFO: Acknowledgment sent {"connection_id":171932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:09:03] local.INFO: TCP Data received {"connection_id":174341,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:09:03] local.INFO: Processing buffer {"connection_id":174341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:09:03] local.INFO: IMEI packet received {"connection_id":174341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":174341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:09:17] local.INFO: TCP Data received {"connection_id":174341,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:09:17] local.INFO: Processing buffer {"connection_id":174341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:09:17] local.INFO: IMEI packet received {"connection_id":174341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":174341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:09:18] local.INFO: TCP Data received {"connection_id":174341,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a070edb248012d810f4006034ee8000b00cf29..."} 
[2026-09-05 15:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070edb248012d810f4006034ee8000b00cf29..."} 
[2026-09-05 15:09:18] local.INFO: Processing buffer {"connection_id":174341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070edb248012d810f4006034ee8000b00cf29..."} 
[2026-09-05 15:09:18] local.INFO: Packet analysis {"connection_id":174341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ed"} 
[2026-09-05 15:09:18] local.INFO: Extracted packet for processing {"connection_id":174341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ed"} 
[2026-09-05 15:09:18] local.INFO: GPS Element Parsed {"raw_longitude":763432768,"raw_latitude":100880104,"longitude_deg":76.3432768,"latitude_deg":10.0880104,"altitude":11,"angle":207,"satellites":41,"speed":30,"hex_longitude":"2d810f40","hex_latitude":"06034ee8","is_valid_coordinates":true} 
[2026-09-05 15:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881858560001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399841625393594368,"note":"Value kept but may cause issues"} 
[2026-09-05 15:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9141744267781292032,"note":"Value kept but may cause issues"} 
[2026-09-05 15:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788601021000,"timestamp_ms":1788601021000,"timestamp_seconds":1788601021,"priority":1,"record_length":96,"hex_timestamp":"000001a070edb248"} 
[2026-09-05 15:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:09:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 15:09:18] 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-09-05 15:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881858560001,"66":27887,"193":206,"87":10496,"24":30,"16":399841625393594368,"45":-9141744267781292032},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,87,24,16,45]} 
[2026-09-05 15:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881858560001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:09:18] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-05 15:09:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 15:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399841625393594368,"km_value":399841625393594.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9141744267781292032,"description":"Unknown IO ID 45"} 
[2026-09-05 15:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881858560001,"power":27887,"unknown_193":206,"unknown_87":10496,"ignition":30,"odometer":null,"unknown_45":-9141744267781292032}} 
[2026-09-05 15:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":174341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:09:18] local.INFO: GPS data processed {"connection_id":174341,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:09:18] local.INFO: Acknowledgment sent {"connection_id":174341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:09:19] local.INFO: TCP Data received {"connection_id":174341,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a070eddd40012d80fe00060330b8000a00d221..."} 
[2026-09-05 15:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070eddd40012d80fe00060330b8000a00d221..."} 
[2026-09-05 15:09:19] local.INFO: Processing buffer {"connection_id":174341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070eddd40012d80fe00060330b8000a00d221..."} 
[2026-09-05 15:09:19] local.INFO: Packet analysis {"connection_id":174341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ed"} 
[2026-09-05 15:09:19] local.INFO: Extracted packet for processing {"connection_id":174341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ed"} 
[2026-09-05 15:09:19] local.INFO: GPS Element Parsed {"raw_longitude":763428352,"raw_latitude":100872376,"longitude_deg":76.3428352,"latitude_deg":10.0872376,"altitude":10,"angle":210,"satellites":33,"speed":36,"hex_longitude":"2d80fe00","hex_latitude":"060330b8","is_valid_coordinates":true} 
[2026-09-05 15:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881861376001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399842054890323968,"note":"Value kept but may cause issues"} 
[2026-09-05 15:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9147021923596703744,"note":"Value kept but may cause issues"} 
[2026-09-05 15:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788601032000,"timestamp_ms":1788601032000,"timestamp_seconds":1788601032,"priority":1,"record_length":96,"hex_timestamp":"000001a070eddd40"} 
[2026-09-05 15:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-05 15:09:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:09:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881861376001,"66":27865,"193":206,"87":10496,"24":36,"16":399842054890323968,"45":-9147021923596703744},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,87,24,16,45]} 
[2026-09-05 15:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881861376001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:09:19] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-05 15:09:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 15:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399842054890323968,"km_value":399842054890323.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9147021923596703744,"description":"Unknown IO ID 45"} 
[2026-09-05 15:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881861376001,"power":27865,"unknown_193":206,"unknown_87":10496,"ignition":36,"odometer":null,"unknown_45":-9147021923596703744}} 
[2026-09-05 15:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":174341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:09:19] local.INFO: GPS data processed {"connection_id":174341,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:09:19] local.INFO: Acknowledgment sent {"connection_id":174341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:09:22] local.INFO: TCP Data received {"connection_id":173023,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070eef680012d172a400720a6a00030003028..."} 
[2026-09-05 15:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070eef680012d172a400720a6a00030003028..."} 
[2026-09-05 15:09:22] local.INFO: Processing buffer {"connection_id":173023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070eef680012d172a400720a6a00030003028..."} 
[2026-09-05 15:09:22] local.INFO: Packet analysis {"connection_id":173023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ee"} 
[2026-09-05 15:09:22] local.INFO: Extracted packet for processing {"connection_id":173023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ee"} 
[2026-09-05 15:09:22] local.INFO: GPS Element Parsed {"raw_longitude":756492864,"raw_latitude":119580320,"longitude_deg":75.6492864,"latitude_deg":11.958032,"altitude":48,"angle":48,"satellites":40,"speed":46,"hex_longitude":"2d172a40","hex_latitude":"0720a6a0","is_valid_coordinates":true} 
[2026-09-05 15:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881880576001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17922340180459520,"note":"Value kept but may cause issues"} 
[2026-09-05 15:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661406080645502976,"note":"Value kept but may cause issues"} 
[2026-09-05 15:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788601104000,"timestamp_ms":1788601104000,"timestamp_seconds":1788601104,"priority":1,"record_length":96,"hex_timestamp":"000001a070eef680"} 
[2026-09-05 15:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:09:22] 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-09-05 15:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 15:09:22] 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-09-05 15:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881880576001,"66":13972,"107":206,"83":41984,"24":46,"16":17922340180459520,"45":1661406080645502976},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-05 15:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881880576001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:09:22] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-05 15:09:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17922340180459520,"km_value":17922340180459.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661406080645502976,"description":"Unknown IO ID 45"} 
[2026-09-05 15:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881880576001,"power":13972,"unknown_107":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1661406080645502976}} 
[2026-09-05 15:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":173023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:09:22] local.INFO: GPS data processed {"connection_id":173023,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:09:22] local.INFO: Acknowledgment sent {"connection_id":173023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:09:25] local.INFO: TCP Data received {"connection_id":171633,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070ec0c68012c7939c00848c5f00014000129..."} 
[2026-09-05 15:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ec0c68012c7939c00848c5f00014000129..."} 
[2026-09-05 15:09:25] local.INFO: Processing buffer {"connection_id":171633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ec0c68012c7939c00848c5f00014000129..."} 
[2026-09-05 15:09:25] local.INFO: Packet analysis {"connection_id":171633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ec"} 
[2026-09-05 15:09:25] local.INFO: Extracted packet for processing {"connection_id":171633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ec"} 
[2026-09-05 15:09:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881756672001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:09:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788600913000,"timestamp_ms":1788600913000,"timestamp_seconds":1788600913,"priority":1,"record_length":96,"hex_timestamp":"000001a070ec0c68"} 
[2026-09-05 15:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:09:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-05 15:09:25] 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-09-05 15: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-09-05 15:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881756672001,"66":25397,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881756672001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:09:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:09:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:09:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881756672001,"power":25397,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":171633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769293,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:09:26] local.INFO: GPS data processed {"connection_id":171633,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:09:26] local.INFO: Acknowledgment sent {"connection_id":171633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:09:31] local.INFO: TCP Data received {"connection_id":171932,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070ede510012d7a1a8005ec83900007001226..."} 
[2026-09-05 15:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ede510012d7a1a8005ec83900007001226..."} 
[2026-09-05 15:09:31] local.INFO: Processing buffer {"connection_id":171932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ede510012d7a1a8005ec83900007001226..."} 
[2026-09-05 15:09:31] local.INFO: Packet analysis {"connection_id":171932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ed"} 
[2026-09-05 15:09:31] local.INFO: Extracted packet for processing {"connection_id":171932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ed"} 
[2026-09-05 15:09:31] local.INFO: GPS Element Parsed {"raw_longitude":762976896,"raw_latitude":99386256,"longitude_deg":76.2976896,"latitude_deg":9.9386256,"altitude":7,"angle":18,"satellites":38,"speed":6,"hex_longitude":"2d7a1a80","hex_latitude":"05ec8390","is_valid_coordinates":true} 
[2026-09-05 15:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881864448001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128501517371047936,"note":"Value kept but may cause issues"} 
[2026-09-05 15:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216208701440,"note":"Value kept but may cause issues"} 
[2026-09-05 15:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788601034000,"timestamp_ms":1788601034000,"timestamp_seconds":1788601034,"priority":1,"record_length":96,"hex_timestamp":"000001a070ede510"} 
[2026-09-05 15:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:09: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-09-05 15:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-05 15:09:31] 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-09-05 15:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881864448001,"66":13189,"100":206,"87":13824,"24":6,"16":128501517371047936,"45":8798415216208701440},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-05 15:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881864448001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:09:31] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-05 15:09:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128501517371047936,"km_value":128501517371047.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216208701440,"description":"Unknown IO ID 45"} 
[2026-09-05 15:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881864448001,"power":13189,"unknown_100":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8798415216208701440}} 
[2026-09-05 15:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":171932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769294,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:09:31] local.INFO: GPS data processed {"connection_id":171932,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:09:31] local.INFO: Acknowledgment sent {"connection_id":171932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:09:44] local.INFO: TCP Data received {"connection_id":174342,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:09:44] local.INFO: Processing buffer {"connection_id":174342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:09:44] local.INFO: IMEI packet received {"connection_id":174342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":174342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:09:47] local.INFO: TCP Data received {"connection_id":171933,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171933,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:09:47] local.INFO: Processing buffer {"connection_id":171933,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:09:47] local.INFO: IMEI packet received {"connection_id":171933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":171933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:09:48] local.INFO: TCP Data received {"connection_id":174342,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:09:48] local.INFO: Processing buffer {"connection_id":174342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:09:48] local.INFO: IMEI packet received {"connection_id":174342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":174342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:09:49] local.INFO: TCP Data received {"connection_id":174342,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:09:49] local.INFO: Processing buffer {"connection_id":174342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:09:49] local.INFO: IMEI packet received {"connection_id":174342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":174342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:09:50] local.INFO: TCP Data received {"connection_id":174342,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070ef15c0012d1746800720bda80034003329..."} 
[2026-09-05 15:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ef15c0012d1746800720bda80034003329..."} 
[2026-09-05 15:09:50] local.INFO: Processing buffer {"connection_id":174342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ef15c0012d1746800720bda80034003329..."} 
[2026-09-05 15:09:50] local.INFO: Packet analysis {"connection_id":174342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ef"} 
[2026-09-05 15:09:50] local.INFO: Extracted packet for processing {"connection_id":174342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ef"} 
[2026-09-05 15:09:50] local.INFO: GPS Element Parsed {"raw_longitude":756500096,"raw_latitude":119586216,"longitude_deg":75.6500096,"latitude_deg":11.9586216,"altitude":52,"angle":51,"satellites":41,"speed":45,"hex_longitude":"2d174680","hex_latitude":"0720bda8","is_valid_coordinates":true} 
[2026-09-05 15:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881882624001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17922786857058304,"note":"Value kept but may cause issues"} 
[2026-09-05 15:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1669217011250929664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788601112000,"timestamp_ms":1788601112000,"timestamp_seconds":1788601112,"priority":1,"record_length":96,"hex_timestamp":"000001a070ef15c0"} 
[2026-09-05 15:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 15:09:50] 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-09-05 15:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881882624001,"66":13961,"107":206,"83":41984,"24":45,"16":17922786857058304,"45":1669217011250929664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-05 15:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881882624001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:09:50] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-05 15:09:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17922786857058304,"km_value":17922786857058.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1669217011250929664,"description":"Unknown IO ID 45"} 
[2026-09-05 15:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881882624001,"power":13961,"unknown_107":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1669217011250929664}} 
[2026-09-05 15:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":174342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:09:50] local.INFO: GPS data processed {"connection_id":174342,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:09:50] local.INFO: Acknowledgment sent {"connection_id":174342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:09:52] local.INFO: TCP Data received {"connection_id":171934,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:09:52] local.INFO: Processing buffer {"connection_id":171934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:09:52] local.INFO: IMEI packet received {"connection_id":171934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":171934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:09:52] local.INFO: TCP Data received {"connection_id":171933,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171933,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:09:52] local.INFO: Processing buffer {"connection_id":171933,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:09:52] local.INFO: IMEI packet received {"connection_id":171933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":171933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:09:54] local.INFO: TCP Data received {"connection_id":171933,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070ec0c68012c7939c00848c5f00014000129..."} 
[2026-09-05 15:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ec0c68012c7939c00848c5f00014000129..."} 
[2026-09-05 15:09:54] local.INFO: Processing buffer {"connection_id":171933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ec0c68012c7939c00848c5f00014000129..."} 
[2026-09-05 15:09:54] local.INFO: Packet analysis {"connection_id":171933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ec"} 
[2026-09-05 15:09:54] local.INFO: Extracted packet for processing {"connection_id":171933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ec"} 
[2026-09-05 15:09:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881756672001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:09:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788600913000,"timestamp_ms":1788600913000,"timestamp_seconds":1788600913,"priority":1,"record_length":96,"hex_timestamp":"000001a070ec0c68"} 
[2026-09-05 15:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-05 15:09:54] 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-09-05 15:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881756672001,"66":25397,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881756672001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:09:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:09:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:09:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881756672001,"power":25397,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":171933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769296,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:09:54] local.INFO: GPS data processed {"connection_id":171933,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:09:54] local.INFO: Acknowledgment sent {"connection_id":171933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:09:54] local.INFO: TCP Data received {"connection_id":171935,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171935,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:09:54] local.INFO: Processing buffer {"connection_id":171935,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:09:54] local.INFO: IMEI packet received {"connection_id":171935,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":171935,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:09:55] local.INFO: TCP Data received {"connection_id":174342,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070ef3500012d1760800720d5600039002b27..."} 
[2026-09-05 15:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ef3500012d1760800720d5600039002b27..."} 
[2026-09-05 15:09:55] local.INFO: Processing buffer {"connection_id":174342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ef3500012d1760800720d5600039002b27..."} 
[2026-09-05 15:09:55] local.INFO: Packet analysis {"connection_id":174342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ef"} 
[2026-09-05 15:09:55] local.INFO: Extracted packet for processing {"connection_id":174342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ef"} 
[2026-09-05 15:09:55] local.INFO: GPS Element Parsed {"raw_longitude":756506752,"raw_latitude":119592288,"longitude_deg":75.6506752,"latitude_deg":11.9592288,"altitude":57,"angle":43,"satellites":39,"speed":43,"hex_longitude":"2d176080","hex_latitude":"0720d560","is_valid_coordinates":true} 
[2026-09-05 15:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881884672001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17923216353787904,"note":"Value kept but may cause issues"} 
[2026-09-05 15:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1677168679344515072,"note":"Value kept but may cause issues"} 
[2026-09-05 15:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788601120000,"timestamp_ms":1788601120000,"timestamp_seconds":1788601120,"priority":1,"record_length":96,"hex_timestamp":"000001a070ef3500"} 
[2026-09-05 15:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:09:55] 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-09-05 15:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-05 15:09:55] 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-09-05 15:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881884672001,"66":13917,"107":206,"83":41984,"24":43,"16":17923216353787904,"45":1677168679344515072},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-05 15:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881884672001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:09:55] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-05 15:09:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17923216353787904,"km_value":17923216353787.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1677168679344515072,"description":"Unknown IO ID 45"} 
[2026-09-05 15:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881884672001,"power":13917,"unknown_107":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1677168679344515072}} 
[2026-09-05 15:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":174342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:09:55] local.INFO: GPS data processed {"connection_id":174342,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:09:55] local.INFO: Acknowledgment sent {"connection_id":174342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:09:56] local.INFO: TCP Data received {"connection_id":171934,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:09:56] local.INFO: Processing buffer {"connection_id":171934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:09:56] local.INFO: IMEI packet received {"connection_id":171934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":171934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:09:59] local.INFO: TCP Data received {"connection_id":171934,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:09:59] local.INFO: Processing buffer {"connection_id":171934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:09:59] local.INFO: IMEI packet received {"connection_id":171934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":171934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:10:00] local.INFO: TCP Data received {"connection_id":171935,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171935,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:10:00] local.INFO: Processing buffer {"connection_id":171935,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:10:00] local.INFO: IMEI packet received {"connection_id":171935,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":171935,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:10:00] local.INFO: TCP Data received {"connection_id":171934,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a070ef6f98012d8042800601a798000900d326..."} 
[2026-09-05 15:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ef6f98012d8042800601a798000900d326..."} 
[2026-09-05 15:10:00] local.INFO: Processing buffer {"connection_id":171934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ef6f98012d8042800601a798000900d326..."} 
[2026-09-05 15:10:00] local.INFO: Packet analysis {"connection_id":171934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ef"} 
[2026-09-05 15:10:00] local.INFO: Extracted packet for processing {"connection_id":171934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ef"} 
[2026-09-05 15:10:00] local.INFO: GPS Element Parsed {"raw_longitude":763380352,"raw_latitude":100771736,"longitude_deg":76.3380352,"latitude_deg":10.0771736,"altitude":9,"angle":211,"satellites":38,"speed":49,"hex_longitude":"2d804280","hex_latitude":"0601a798","is_valid_coordinates":true} 
[2026-09-05 15:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881888512001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399847466549116928,"note":"Value kept but may cause issues"} 
[2026-09-05 15:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9200009587988113408,"note":"Value kept but may cause issues"} 
[2026-09-05 15:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788601135000,"timestamp_ms":1788601135000,"timestamp_seconds":1788601135,"priority":1,"record_length":96,"hex_timestamp":"000001a070ef6f98"} 
[2026-09-05 15:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:10:00] 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-09-05 15:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 15:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881888512001,"66":27974,"148":206,"87":10496,"24":49,"16":399847466549116928,"45":-9200009587988113408},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,87,24,16,45]} 
[2026-09-05 15:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881888512001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:10:00] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-09-05 15:10:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 15:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399847466549116928,"km_value":399847466549116.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9200009587988113408,"description":"Unknown IO ID 45"} 
[2026-09-05 15:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881888512001,"power":27974,"unknown_148":206,"unknown_87":10496,"ignition":49,"odometer":null,"unknown_45":-9200009587988113408}} 
[2026-09-05 15:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":171934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:10:00] local.INFO: GPS data processed {"connection_id":171934,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:10:00] local.INFO: Acknowledgment sent {"connection_id":171934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:10:01] local.INFO: TCP Data received {"connection_id":171935,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070eff850012d79f90005ec74e8000800c826..."} 
[2026-09-05 15:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070eff850012d79f90005ec74e8000800c826..."} 
[2026-09-05 15:10:01] local.INFO: Processing buffer {"connection_id":171935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070eff850012d79f90005ec74e8000800c826..."} 
[2026-09-05 15:10:01] local.INFO: Packet analysis {"connection_id":171935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ef"} 
[2026-09-05 15:10:01] local.INFO: Extracted packet for processing {"connection_id":171935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ef"} 
[2026-09-05 15:10:01] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99382504,"longitude_deg":76.296832,"latitude_deg":9.9382504,"altitude":8,"angle":200,"satellites":38,"speed":6,"hex_longitude":"2d79f900","hex_latitude":"05ec74e8","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881898752001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128502037062090752,"note":"Value kept but may cause issues"} 
[2026-09-05 15:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789267279464763392,"note":"Value kept but may cause issues"} 
[2026-09-05 15:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788601170000,"timestamp_ms":1788601170000,"timestamp_seconds":1788601170,"priority":1,"record_length":96,"hex_timestamp":"000001a070eff850"} 
[2026-09-05 15:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:10: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-09-05 15: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-05 15:10:01] 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-09-05 15: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-09-05 15:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881898752001,"66":13243,"100":206,"87":13824,"24":6,"16":128502037062090752,"45":8789267279464763392},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-05 15:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881898752001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:10:01] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-05 15:10:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128502037062090752,"km_value":128502037062090.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789267279464763392,"description":"Unknown IO ID 45"} 
[2026-09-05 15:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881898752001,"power":13243,"unknown_100":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8789267279464763392}} 
[2026-09-05 15:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":171935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:10:01] local.INFO: GPS data processed {"connection_id":171935,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:10:01] local.INFO: Acknowledgment sent {"connection_id":171935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:10:01] local.INFO: TCP Data received {"connection_id":171934,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a070ef6f98012d8042800601a798000900d326..."} 
[2026-09-05 15:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ef6f98012d8042800601a798000900d326..."} 
[2026-09-05 15:10:01] local.INFO: Processing buffer {"connection_id":171934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ef6f98012d8042800601a798000900d326..."} 
[2026-09-05 15:10:01] local.INFO: Packet analysis {"connection_id":171934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ef"} 
[2026-09-05 15:10:01] local.INFO: Extracted packet for processing {"connection_id":171934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ef"} 
[2026-09-05 15:10:01] local.INFO: GPS Element Parsed {"raw_longitude":763380352,"raw_latitude":100771736,"longitude_deg":76.3380352,"latitude_deg":10.0771736,"altitude":9,"angle":211,"satellites":38,"speed":49,"hex_longitude":"2d804280","hex_latitude":"0601a798","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881890560001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399847466549116928,"note":"Value kept but may cause issues"} 
[2026-09-05 15:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9204653925105952768,"note":"Value kept but may cause issues"} 
[2026-09-05 15:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788601135000,"timestamp_ms":1788601135000,"timestamp_seconds":1788601135,"priority":1,"record_length":96,"hex_timestamp":"000001a070ef6f98"} 
[2026-09-05 15:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 15:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881890560001,"66":27974,"148":206,"87":10496,"24":49,"16":399847466549116928,"45":-9204653925105952768},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,87,24,16,45]} 
[2026-09-05 15:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881890560001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:10:01] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-09-05 15:10:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 15:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399847466549116928,"km_value":399847466549116.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9204653925105952768,"description":"Unknown IO ID 45"} 
[2026-09-05 15:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881890560001,"power":27974,"unknown_148":206,"unknown_87":10496,"ignition":49,"odometer":null,"unknown_45":-9204653925105952768}} 
[2026-09-05 15:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":171934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:10:01] local.INFO: GPS data processed {"connection_id":171934,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:10:01] local.INFO: Acknowledgment sent {"connection_id":171934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:10:25] local.INFO: TCP Data received {"connection_id":171933,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070ec0c68012c7939c00848c5f00014000129..."} 
[2026-09-05 15:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ec0c68012c7939c00848c5f00014000129..."} 
[2026-09-05 15:10:25] local.INFO: Processing buffer {"connection_id":171933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ec0c68012c7939c00848c5f00014000129..."} 
[2026-09-05 15:10:25] local.INFO: Packet analysis {"connection_id":171933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ec"} 
[2026-09-05 15:10:25] local.INFO: Extracted packet for processing {"connection_id":171933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ec"} 
[2026-09-05 15:10:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881756672001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:10:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788600913000,"timestamp_ms":1788600913000,"timestamp_seconds":1788600913,"priority":1,"record_length":96,"hex_timestamp":"000001a070ec0c68"} 
[2026-09-05 15:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:10:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-05 15:10:25] 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-09-05 15: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-09-05 15:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881756672001,"66":25397,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881756672001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:10:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:10:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:10:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881756672001,"power":25397,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":171933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769301,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:10:26] local.INFO: GPS data processed {"connection_id":171933,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:10:26] local.INFO: Acknowledgment sent {"connection_id":171933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:10:26] local.INFO: TCP Data received {"connection_id":174342,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070ef5828012d177a000720f098003d002a28..."} 
[2026-09-05 15:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ef5828012d177a000720f098003d002a28..."} 
[2026-09-05 15:10:26] local.INFO: Processing buffer {"connection_id":174342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ef5828012d177a000720f098003d002a28..."} 
[2026-09-05 15:10:26] local.INFO: Packet analysis {"connection_id":174342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ef"} 
[2026-09-05 15:10:26] local.INFO: Extracted packet for processing {"connection_id":174342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ef"} 
[2026-09-05 15:10:26] local.INFO: GPS Element Parsed {"raw_longitude":756513280,"raw_latitude":119599256,"longitude_deg":75.651328,"latitude_deg":11.9599256,"altitude":61,"angle":42,"satellites":40,"speed":42,"hex_longitude":"2d177a00","hex_latitude":"0720f098","is_valid_coordinates":true} 
[2026-09-05 15:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881886720001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17923675915288576,"note":"Value kept but may cause issues"} 
[2026-09-05 15:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1684487028740546560,"note":"Value kept but may cause issues"} 
[2026-09-05 15:10:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788601129000,"timestamp_ms":1788601129000,"timestamp_seconds":1788601129,"priority":1,"record_length":96,"hex_timestamp":"000001a070ef5828"} 
[2026-09-05 15:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:10:26] 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-09-05 15:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-05 15:10:26] 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-09-05 15:10:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:10:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881886720001,"66":14298,"107":206,"83":41984,"24":42,"16":17923675915288576,"45":1684487028740546560},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-05 15:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881886720001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:10:26] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-05 15:10:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17923675915288576,"km_value":17923675915288.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1684487028740546560,"description":"Unknown IO ID 45"} 
[2026-09-05 15:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881886720001,"power":14298,"unknown_107":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1684487028740546560}} 
[2026-09-05 15:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":174342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:10:27] local.INFO: GPS data processed {"connection_id":174342,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:10:27] local.INFO: Acknowledgment sent {"connection_id":174342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:10:32] local.INFO: TCP Data received {"connection_id":171934,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a070ef8320012d80338006019448000900de2a..."} 
[2026-09-05 15:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ef8320012d80338006019448000900de2a..."} 
[2026-09-05 15:10:32] local.INFO: Processing buffer {"connection_id":171934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ef8320012d80338006019448000900de2a..."} 
[2026-09-05 15:10:32] local.INFO: Packet analysis {"connection_id":171934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ef"} 
[2026-09-05 15:10:32] local.INFO: Extracted packet for processing {"connection_id":171934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ef"} 
[2026-09-05 15:10:32] local.INFO: GPS Element Parsed {"raw_longitude":763376512,"raw_latitude":100766792,"longitude_deg":76.3376512,"latitude_deg":10.0766792,"altitude":9,"angle":222,"satellites":42,"speed":49,"hex_longitude":"2d803380","hex_latitude":"06019448","is_valid_coordinates":true} 
[2026-09-05 15:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881890560001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399847767196827648,"note":"Value kept but may cause issues"} 
[2026-09-05 15:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9204653925105952768,"note":"Value kept but may cause issues"} 
[2026-09-05 15:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788601140000,"timestamp_ms":1788601140000,"timestamp_seconds":1788601140,"priority":1,"record_length":96,"hex_timestamp":"000001a070ef8320"} 
[2026-09-05 15:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:10: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-09-05 15:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 15:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881890560001,"66":27919,"148":206,"87":10496,"24":49,"16":399847767196827648,"45":-9204653925105952768},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,87,24,16,45]} 
[2026-09-05 15:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881890560001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:10:32] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-09-05 15:10:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 15:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399847767196827648,"km_value":399847767196827.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9204653925105952768,"description":"Unknown IO ID 45"} 
[2026-09-05 15:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881890560001,"power":27919,"unknown_148":206,"unknown_87":10496,"ignition":49,"odometer":null,"unknown_45":-9204653925105952768}} 
[2026-09-05 15:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":171934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:10:32] local.INFO: GPS data processed {"connection_id":171934,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:10:32] local.INFO: Acknowledgment sent {"connection_id":171934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:10:32] local.INFO: TCP Data received {"connection_id":171935,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070effc38012d79f90005ec7440000700b726..."} 
[2026-09-05 15:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070effc38012d79f90005ec7440000700b726..."} 
[2026-09-05 15:10:32] local.INFO: Processing buffer {"connection_id":171935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070effc38012d79f90005ec7440000700b726..."} 
[2026-09-05 15:10:32] local.INFO: Packet analysis {"connection_id":171935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ef"} 
[2026-09-05 15:10:32] local.INFO: Extracted packet for processing {"connection_id":171935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ef"} 
[2026-09-05 15:10:32] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99382336,"longitude_deg":76.296832,"latitude_deg":9.9382336,"altitude":7,"angle":183,"satellites":38,"speed":7,"hex_longitude":"2d79f900","hex_latitude":"05ec7440","is_valid_coordinates":true} 
[2026-09-05 15:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881899520001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128502045652025344,"note":"Value kept but may cause issues"} 
[2026-09-05 15:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789056173232154624,"note":"Value kept but may cause issues"} 
[2026-09-05 15:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788601171000,"timestamp_ms":1788601171000,"timestamp_seconds":1788601171,"priority":1,"record_length":96,"hex_timestamp":"000001a070effc38"} 
[2026-09-05 15:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:10: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-09-05 15:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-05 15:10:32] 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-09-05 15:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881899520001,"66":13374,"100":206,"87":13824,"24":7,"16":128502045652025344,"45":8789056173232154624},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-05 15:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881899520001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:10:32] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-05 15:10:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128502045652025344,"km_value":128502045652025.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789056173232154624,"description":"Unknown IO ID 45"} 
[2026-09-05 15:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881899520001,"power":13374,"unknown_100":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8789056173232154624}} 
[2026-09-05 15:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":171935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769304,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:10:33] local.INFO: GPS data processed {"connection_id":171935,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:10:33] local.INFO: Acknowledgment sent {"connection_id":171935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:10:44] local.INFO: TCP Data received {"connection_id":174343,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:10:44] local.INFO: Processing buffer {"connection_id":174343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:10:44] local.INFO: IMEI packet received {"connection_id":174343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":174343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:10:46] local.INFO: TCP Data received {"connection_id":174343,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:10:46] local.INFO: Processing buffer {"connection_id":174343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:10:46] local.INFO: IMEI packet received {"connection_id":174343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":174343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:10:50] local.INFO: TCP Data received {"connection_id":174343,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:10:50] local.INFO: Processing buffer {"connection_id":174343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:10:50] local.INFO: IMEI packet received {"connection_id":174343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":174343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:10:51] local.INFO: TCP Data received {"connection_id":174343,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070f061c8012d181e000721a7f8004c006f2a..."} 
[2026-09-05 15:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f061c8012d181e000721a7f8004c006f2a..."} 
[2026-09-05 15:10:51] local.INFO: Processing buffer {"connection_id":174343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f061c8012d181e000721a7f8004c006f2a..."} 
[2026-09-05 15:10:51] local.INFO: Packet analysis {"connection_id":174343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:10:51] local.INFO: Extracted packet for processing {"connection_id":174343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:10:51] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119646200,"longitude_deg":75.6555264,"latitude_deg":11.96462,"altitude":76,"angle":111,"satellites":42,"speed":13,"hex_longitude":"2d181e00","hex_latitude":"0721a7f8","is_valid_coordinates":true} 
[2026-09-05 15:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881906176001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17926746816905216,"note":"Value kept but may cause issues"} 
[2026-09-05 15:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120147456,"note":"Value kept but may cause issues"} 
[2026-09-05 15:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788601197000,"timestamp_ms":1788601197000,"timestamp_seconds":1788601197,"priority":1,"record_length":96,"hex_timestamp":"000001a070f061c8"} 
[2026-09-05 15:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 15:10:51] 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-09-05 15:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881906176001,"66":13993,"105":206,"83":41984,"24":13,"16":17926746816905216,"45":1737474693120147456},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 15:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881906176001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:10:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 15:10:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17926746816905216,"km_value":17926746816905.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120147456,"description":"Unknown IO ID 45"} 
[2026-09-05 15:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881906176001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1737474693120147456}} 
[2026-09-05 15:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":174343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:10:51] local.INFO: GPS data processed {"connection_id":174343,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:10:51] local.INFO: Acknowledgment sent {"connection_id":174343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:10:51] local.INFO: TCP Data received {"connection_id":174343,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070f065b0012d181f400721a758004c007d2a..."} 
[2026-09-05 15:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f065b0012d181f400721a758004c007d2a..."} 
[2026-09-05 15:10:51] local.INFO: Processing buffer {"connection_id":174343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f065b0012d181f400721a758004c007d2a..."} 
[2026-09-05 15:10:51] local.INFO: Packet analysis {"connection_id":174343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:10:51] local.INFO: Extracted packet for processing {"connection_id":174343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:10:51] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119646040,"longitude_deg":75.6555584,"latitude_deg":11.964604,"altitude":76,"angle":125,"satellites":42,"speed":12,"hex_longitude":"2d181f40","hex_latitude":"0721a758","is_valid_coordinates":true} 
[2026-09-05 15:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881906432001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17926763996774400,"note":"Value kept but may cause issues"} 
[2026-09-05 15:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841017344,"note":"Value kept but may cause issues"} 
[2026-09-05 15:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788601198000,"timestamp_ms":1788601198000,"timestamp_seconds":1788601198,"priority":1,"record_length":96,"hex_timestamp":"000001a070f065b0"} 
[2026-09-05 15:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 15:10:51] 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-09-05 15:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881906432001,"66":13928,"105":206,"83":41984,"24":12,"16":17926763996774400,"45":1737826536841017344},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 15:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881906432001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:10:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 15:10:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17926763996774400,"km_value":17926763996774.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841017344,"description":"Unknown IO ID 45"} 
[2026-09-05 15:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881906432001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1737826536841017344}} 
[2026-09-05 15:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":174343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:10:51] local.INFO: GPS data processed {"connection_id":174343,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:10:51] local.INFO: Acknowledgment sent {"connection_id":174343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:10:54] local.INFO: TCP Data received {"connection_id":173024,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:10:54] local.INFO: Processing buffer {"connection_id":173024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:10:54] local.INFO: IMEI packet received {"connection_id":173024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":173024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:10:54] local.INFO: TCP Data received {"connection_id":173025,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:10:54] local.INFO: Processing buffer {"connection_id":173025,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:10:54] local.INFO: IMEI packet received {"connection_id":173025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":173025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:10:56] local.INFO: TCP Data received {"connection_id":173024,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:10:56] local.INFO: Processing buffer {"connection_id":173024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:10:56] local.INFO: IMEI packet received {"connection_id":173024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":173024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:11:00] local.INFO: TCP Data received {"connection_id":173025,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:11:00] local.INFO: Processing buffer {"connection_id":173025,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:11:00] local.INFO: IMEI packet received {"connection_id":173025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":173025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:11:01] local.INFO: TCP Data received {"connection_id":173024,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:11:01] local.INFO: Processing buffer {"connection_id":173024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:11:01] local.INFO: IMEI packet received {"connection_id":173024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":173024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:11:02] local.INFO: TCP Data received {"connection_id":173025,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070f00020012d79f90005ec7320000700a926..."} 
[2026-09-05 15:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f00020012d79f90005ec7320000700a926..."} 
[2026-09-05 15:11:02] local.INFO: Processing buffer {"connection_id":173025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f00020012d79f90005ec7320000700a926..."} 
[2026-09-05 15:11:02] local.INFO: Packet analysis {"connection_id":173025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:11:02] local.INFO: Extracted packet for processing {"connection_id":173025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:11:02] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99382048,"longitude_deg":76.296832,"latitude_deg":9.9382048,"altitude":7,"angle":169,"satellites":38,"speed":11,"hex_longitude":"2d79f900","hex_latitude":"05ec7320","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881899776001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128502058536927232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789056173232111616,"note":"Value kept but may cause issues"} 
[2026-09-05 15:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788601172000,"timestamp_ms":1788601172000,"timestamp_seconds":1788601172,"priority":1,"record_length":96,"hex_timestamp":"000001a070f00020"} 
[2026-09-05 15:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:11:02] 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-09-05 15: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-05 15:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881899776001,"66":13374,"100":206,"87":13824,"24":11,"16":128502058536927232,"45":8789056173232111616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-05 15:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881899776001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:11:02] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-05 15:11:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128502058536927232,"km_value":128502058536927.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789056173232111616,"description":"Unknown IO ID 45"} 
[2026-09-05 15:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881899776001,"power":13374,"unknown_100":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8789056173232111616}} 
[2026-09-05 15:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":173025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769307,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:11:02] local.INFO: GPS data processed {"connection_id":173025,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:11:02] local.INFO: Acknowledgment sent {"connection_id":173025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:11:02] local.INFO: TCP Data received {"connection_id":173024,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a070ef9e78012d801a8006017bb8000a00e227..."} 
[2026-09-05 15:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ef9e78012d801a8006017bb8000a00e227..."} 
[2026-09-05 15:11:02] local.INFO: Processing buffer {"connection_id":173024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ef9e78012d801a8006017bb8000a00e227..."} 
[2026-09-05 15:11:02] local.INFO: Packet analysis {"connection_id":173024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ef"} 
[2026-09-05 15:11:02] local.INFO: Extracted packet for processing {"connection_id":173024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ef"} 
[2026-09-05 15:11:02] local.INFO: GPS Element Parsed {"raw_longitude":763370112,"raw_latitude":100760504,"longitude_deg":76.3370112,"latitude_deg":10.0760504,"altitude":10,"angle":226,"satellites":39,"speed":51,"hex_longitude":"2d801a80","hex_latitude":"06017bb8","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881891840001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399848196693557248,"note":"Value kept but may cause issues"} 
[2026-09-05 15:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9208876049757878272,"note":"Value kept but may cause issues"} 
[2026-09-05 15:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788601147000,"timestamp_ms":1788601147000,"timestamp_seconds":1788601147,"priority":1,"record_length":96,"hex_timestamp":"000001a070ef9e78"} 
[2026-09-05 15:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:11: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-09-05 15: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 15:11: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-09-05 15: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-09-05 15:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881891840001,"66":27908,"148":206,"87":10496,"24":51,"16":399848196693557248,"45":-9208876049757878272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,87,24,16,45]} 
[2026-09-05 15:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881891840001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:11:02] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-09-05 15:11:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-09-05 15:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399848196693557248,"km_value":399848196693557.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9208876049757878272,"description":"Unknown IO ID 45"} 
[2026-09-05 15:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881891840001,"power":27908,"unknown_148":206,"unknown_87":10496,"ignition":51,"odometer":null,"unknown_45":-9208876049757878272}} 
[2026-09-05 15:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":173024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:11:02] local.INFO: GPS data processed {"connection_id":173024,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:11:02] local.INFO: Acknowledgment sent {"connection_id":173024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:11:06] local.INFO: TCP Data received {"connection_id":171936,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171936,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:11:06] local.INFO: Processing buffer {"connection_id":171936,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:11:06] local.INFO: IMEI packet received {"connection_id":171936,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":171936,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:11:07] local.INFO: TCP Data received {"connection_id":171936,"ip":"117.224.141.86","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-05 15:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171936,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-05 15:11:07] local.INFO: Processing buffer {"connection_id":171936,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-05 15:11:07] local.INFO: IMEI packet received {"connection_id":171936,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":171936,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:11:08] local.INFO: TCP Data received {"connection_id":171936,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070f0a430012c7939c00848c5f00014000129..."} 
[2026-09-05 15:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f0a430012c7939c00848c5f00014000129..."} 
[2026-09-05 15:11:08] local.INFO: Processing buffer {"connection_id":171936,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a070..."} 
[2026-09-05 15:11:08] local.INFO: IMEI packet received {"connection_id":171936,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":171936,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:11:13] local.INFO: TCP Data received {"connection_id":171936,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070f0a430012c7939c00848c5f00014000129..."} 
[2026-09-05 15:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f0a430012c7939c00848c5f00014000129..."} 
[2026-09-05 15:11:13] local.INFO: Processing buffer {"connection_id":171936,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a070f0a430012c7939c00848c5f00014000129..."} 
[2026-09-05 15:11:13] local.INFO: Packet analysis {"connection_id":171936,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:11:13] local.INFO: Extracted packet for processing {"connection_id":171936,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:11:13] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881833728001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:11:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788601214000,"timestamp_ms":1788601214000,"timestamp_seconds":1788601214,"priority":1,"record_length":96,"hex_timestamp":"000001a070f0a430"} 
[2026-09-05 15:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 15:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":171936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":171936,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":171936,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881833728001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881833728001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:11:13] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:11:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:11:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881833728001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":171936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769309,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:11:14] local.INFO: GPS data processed {"connection_id":171936,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:11:14] local.INFO: Acknowledgment sent {"connection_id":171936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:11:14] local.INFO: Packet analysis {"connection_id":171936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:11:14] local.INFO: Extracted packet for processing {"connection_id":171936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:11:14] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881833728001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:11:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788601214000,"timestamp_ms":1788601214000,"timestamp_seconds":1788601214,"priority":1,"record_length":96,"hex_timestamp":"000001a070f0a430"} 
[2026-09-05 15:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:11:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 15:11:14] 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-09-05 15:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":171936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":171936,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":171936,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881833728001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881833728001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:11:14] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:11:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:11:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881833728001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":171936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769310,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:11:14] local.INFO: GPS data processed {"connection_id":171936,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:11:14] local.INFO: Acknowledgment sent {"connection_id":171936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:11:15] local.INFO: TCP Data received {"connection_id":171936,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070f0a430012c7939c00848c5f00014000129..."} 
[2026-09-05 15:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f0a430012c7939c00848c5f00014000129..."} 
[2026-09-05 15:11:15] local.INFO: Processing buffer {"connection_id":171936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f0a430012c7939c00848c5f00014000129..."} 
[2026-09-05 15:11:15] local.INFO: Packet analysis {"connection_id":171936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:11:15] local.INFO: Extracted packet for processing {"connection_id":171936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:11:15] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881833728001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:11:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788601214000,"timestamp_ms":1788601214000,"timestamp_seconds":1788601214,"priority":1,"record_length":96,"hex_timestamp":"000001a070f0a430"} 
[2026-09-05 15:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 15:11:15] 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-09-05 15:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":171936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":171936,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":171936,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881833728001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881833728001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:11:15] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:11:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:11:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881833728001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":171936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769311,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:11:15] local.INFO: GPS data processed {"connection_id":171936,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:11:15] local.INFO: Acknowledgment sent {"connection_id":171936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:11:22] local.INFO: TCP Data received {"connection_id":174343,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070f07550012d1822800721a428004d00892a..."} 
[2026-09-05 15:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f07550012d1822800721a428004d00892a..."} 
[2026-09-05 15:11:22] local.INFO: Processing buffer {"connection_id":174343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f07550012d1822800721a428004d00892a..."} 
[2026-09-05 15:11:22] local.INFO: Packet analysis {"connection_id":174343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:11:22] local.INFO: Extracted packet for processing {"connection_id":174343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:11:22] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119645224,"longitude_deg":75.6556416,"latitude_deg":11.9645224,"altitude":77,"angle":137,"satellites":42,"speed":15,"hex_longitude":"2d182280","hex_latitude":"0721a428","is_valid_coordinates":true} 
[2026-09-05 15:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881906688001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17926819831349248,"note":"Value kept but may cause issues"} 
[2026-09-05 15:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561864704,"note":"Value kept but may cause issues"} 
[2026-09-05 15:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788601202000,"timestamp_ms":1788601202000,"timestamp_seconds":1788601202,"priority":1,"record_length":96,"hex_timestamp":"000001a070f07550"} 
[2026-09-05 15:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:11:22] 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-09-05 15:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-05 15:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881906688001,"66":13928,"105":206,"83":41984,"24":15,"16":17926819831349248,"45":1738178380561864704},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 15:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881906688001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:11:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 15:11:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17926819831349248,"km_value":17926819831349.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561864704,"description":"Unknown IO ID 45"} 
[2026-09-05 15:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881906688001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1738178380561864704}} 
[2026-09-05 15:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":174343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:11:22] local.INFO: GPS data processed {"connection_id":174343,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:11:22] local.INFO: Acknowledgment sent {"connection_id":174343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:11:34] local.INFO: TCP Data received {"connection_id":173024,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a070f0e698012d7efd4006005550000d00de20..."} 
[2026-09-05 15:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f0e698012d7efd4006005550000d00de20..."} 
[2026-09-05 15:11:34] local.INFO: Processing buffer {"connection_id":173024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f0e698012d7efd4006005550000d00de20..."} 
[2026-09-05 15:11:34] local.INFO: Packet analysis {"connection_id":173024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:11:34] local.INFO: Extracted packet for processing {"connection_id":173024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:11:34] local.INFO: GPS Element Parsed {"raw_longitude":763297088,"raw_latitude":100685136,"longitude_deg":76.3297088,"latitude_deg":10.0685136,"altitude":13,"angle":222,"satellites":32,"speed":52,"hex_longitude":"2d7efd40","hex_latitude":"06005550","is_valid_coordinates":true} 
[2026-09-05 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-09-05 15:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881913344001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399853256165031936,"note":"Value kept but may cause issues"} 
[2026-09-05 15:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9157718024314050560,"note":"Value kept but may cause issues"} 
[2026-09-05 15:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788601231000,"timestamp_ms":1788601231000,"timestamp_seconds":1788601231,"priority":1,"record_length":96,"hex_timestamp":"000001a070f0e698"} 
[2026-09-05 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-09-05 15:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 15:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 15:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881913344001,"66":27995,"96":206,"87":10752,"24":52,"16":399853256165031936,"45":9157718024314050560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-05 15:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881913344001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:11:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-05 15:11:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399853256165031936,"km_value":399853256165031.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9157718024314050560,"description":"Unknown IO ID 45"} 
[2026-09-05 15:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881913344001,"power":27995,"unknown_96":206,"unknown_87":10752,"ignition":52,"odometer":null,"unknown_45":9157718024314050560}} 
[2026-09-05 15:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":173024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:11:34] local.INFO: GPS data processed {"connection_id":173024,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:11:34] local.INFO: Acknowledgment sent {"connection_id":173024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:11:34] local.INFO: TCP Data received {"connection_id":173025,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070f04670012d7a034005ec5000000800a527..."} 
[2026-09-05 15:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f04670012d7a034005ec5000000800a527..."} 
[2026-09-05 15:11:34] local.INFO: Processing buffer {"connection_id":173025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f04670012d7a034005ec5000000800a527..."} 
[2026-09-05 15:11:34] local.INFO: Packet analysis {"connection_id":173025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:11:34] local.INFO: Extracted packet for processing {"connection_id":173025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:11:34] local.INFO: GPS Element Parsed {"raw_longitude":762970944,"raw_latitude":99373056,"longitude_deg":76.2970944,"latitude_deg":9.9373056,"altitude":8,"angle":165,"satellites":39,"speed":23,"hex_longitude":"2d7a0340","hex_latitude":"05ec5000","is_valid_coordinates":true} 
[2026-09-05 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-09-05 15:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881900032001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128502513803460608,"note":"Value kept but may cause issues"} 
[2026-09-05 15:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789056173232037888,"note":"Value kept but may cause issues"} 
[2026-09-05 15:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788601190000,"timestamp_ms":1788601190000,"timestamp_seconds":1788601190,"priority":1,"record_length":96,"hex_timestamp":"000001a070f04670"} 
[2026-09-05 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-09-05 15:11: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-09-05 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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-05 15:11:34] 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-09-05 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-09-05 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-09-05 15:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881900032001,"66":13526,"100":206,"87":13824,"24":23,"16":128502513803460608,"45":8789056173232037888},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-05 15:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881900032001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:11:34] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-05 15:11:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128502513803460608,"km_value":128502513803460.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789056173232037888,"description":"Unknown IO ID 45"} 
[2026-09-05 15:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881900032001,"power":13526,"unknown_100":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8789056173232037888}} 
[2026-09-05 15:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":173025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:11:34] local.INFO: GPS data processed {"connection_id":173025,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:11:34] local.INFO: Acknowledgment sent {"connection_id":173025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:11:47] local.INFO: TCP Data received {"connection_id":171938,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:11:47] local.INFO: Processing buffer {"connection_id":171938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:11:47] local.INFO: IMEI packet received {"connection_id":171938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":171938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:11:47] local.INFO: TCP Data received {"connection_id":171937,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:11:47] local.INFO: Processing buffer {"connection_id":171937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:11:47] local.INFO: IMEI packet received {"connection_id":171937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":171937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:11:48] local.INFO: TCP Data received {"connection_id":171938,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:11:48] local.INFO: Processing buffer {"connection_id":171938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:11:48] local.INFO: IMEI packet received {"connection_id":171938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":171938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:11:49] local.INFO: TCP Data received {"connection_id":171938,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:11:49] local.INFO: Processing buffer {"connection_id":171938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:11:49] local.INFO: IMEI packet received {"connection_id":171938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":171938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:11:52] local.INFO: TCP Data received {"connection_id":171937,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:11:52] local.INFO: Processing buffer {"connection_id":171937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:11:52] local.INFO: IMEI packet received {"connection_id":171937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":171937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:11:54] local.INFO: TCP Data received {"connection_id":171937,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070f0a430012c7939c00848c5f00014000129..."} 
[2026-09-05 15:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f0a430012c7939c00848c5f00014000129..."} 
[2026-09-05 15:11:54] local.INFO: Processing buffer {"connection_id":171937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f0a430012c7939c00848c5f00014000129..."} 
[2026-09-05 15:11:54] local.INFO: Packet analysis {"connection_id":171937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:11:54] local.INFO: Extracted packet for processing {"connection_id":171937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:11:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881833728001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:11:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788601214000,"timestamp_ms":1788601214000,"timestamp_seconds":1788601214,"priority":1,"record_length":96,"hex_timestamp":"000001a070f0a430"} 
[2026-09-05 15:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 15:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881833728001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881833728001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:11:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:11:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:11:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881833728001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":171937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769315,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:11:54] local.INFO: GPS data processed {"connection_id":171937,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:11:54] local.INFO: Acknowledgment sent {"connection_id":171937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:11:55] local.INFO: TCP Data received {"connection_id":171634,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171634,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:11:55] local.INFO: Processing buffer {"connection_id":171634,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:11:55] local.INFO: IMEI packet received {"connection_id":171634,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":171634,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:11:55] local.INFO: TCP Data received {"connection_id":171938,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:11:55] local.INFO: Processing buffer {"connection_id":171938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:11:55] local.INFO: IMEI packet received {"connection_id":171938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":171938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:11:55] local.INFO: TCP Data received {"connection_id":171938,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070f134b8012d18c4c007214ab0004900b129..."} 
[2026-09-05 15:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f134b8012d18c4c007214ab0004900b129..."} 
[2026-09-05 15:11:55] local.INFO: Processing buffer {"connection_id":171938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f134b8012d18c4c007214ab0004900b129..."} 
[2026-09-05 15:11:55] local.INFO: Packet analysis {"connection_id":171938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f1"} 
[2026-09-05 15:11:55] local.INFO: Extracted packet for processing {"connection_id":171938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f1"} 
[2026-09-05 15:11:55] local.INFO: GPS Element Parsed {"raw_longitude":756597952,"raw_latitude":119622320,"longitude_deg":75.6597952,"latitude_deg":11.962232,"altitude":73,"angle":177,"satellites":41,"speed":44,"hex_longitude":"2d18c4c0","hex_latitude":"07214ab0","is_valid_coordinates":true} 
[2026-09-05 15:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881919744001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17929225013035008,"note":"Value kept but may cause issues"} 
[2026-09-05 15:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784269907992713216,"note":"Value kept but may cause issues"} 
[2026-09-05 15:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788601251000,"timestamp_ms":1788601251000,"timestamp_seconds":1788601251,"priority":1,"record_length":96,"hex_timestamp":"000001a070f134b8"} 
[2026-09-05 15:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:11:55] 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-09-05 15:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-05 15:11:55] 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-09-05 15:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881919744001,"66":13341,"103":206,"83":41984,"24":44,"16":17929225013035008,"45":1784269907992713216},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 15:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881919744001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:11:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 15:11:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17929225013035008,"km_value":17929225013035.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784269907992713216,"description":"Unknown IO ID 45"} 
[2026-09-05 15:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881919744001,"power":13341,"unknown_103":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1784269907992713216}} 
[2026-09-05 15:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":171938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:11:56] local.INFO: GPS data processed {"connection_id":171938,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:11:56] local.INFO: Acknowledgment sent {"connection_id":171938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:11:56] local.INFO: TCP Data received {"connection_id":173026,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:11:56] local.INFO: Processing buffer {"connection_id":173026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:11:56] local.INFO: IMEI packet received {"connection_id":173026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":173026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:11:56] local.INFO: TCP Data received {"connection_id":173026,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:11:56] local.INFO: Processing buffer {"connection_id":173026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:11:56] local.INFO: IMEI packet received {"connection_id":173026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":173026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:11:57] local.INFO: TCP Data received {"connection_id":171938,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070f14070012d18c60007213df8004800a42a..."} 
[2026-09-05 15:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f14070012d18c60007213df8004800a42a..."} 
[2026-09-05 15:11:57] local.INFO: Processing buffer {"connection_id":171938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f14070012d18c60007213df8004800a42a..."} 
[2026-09-05 15:11:57] local.INFO: Packet analysis {"connection_id":171938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f1"} 
[2026-09-05 15:11:57] local.INFO: Extracted packet for processing {"connection_id":171938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f1"} 
[2026-09-05 15:11:57] local.INFO: GPS Element Parsed {"raw_longitude":756598272,"raw_latitude":119619064,"longitude_deg":75.6598272,"latitude_deg":11.9619064,"altitude":72,"angle":164,"satellites":42,"speed":43,"hex_longitude":"2d18c600","hex_latitude":"07213df8","is_valid_coordinates":true} 
[2026-09-05 15:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881920256001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17929383926824960,"note":"Value kept but may cause issues"} 
[2026-09-05 15:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784762489201405952,"note":"Value kept but may cause issues"} 
[2026-09-05 15:11:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788601254000,"timestamp_ms":1788601254000,"timestamp_seconds":1788601254,"priority":1,"record_length":96,"hex_timestamp":"000001a070f14070"} 
[2026-09-05 15:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:11:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-05 15:11:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:11:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":171938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":171938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":171938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:11:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881920256001,"66":14341,"103":206,"83":41984,"24":43,"16":17929383926824960,"45":1784762489201405952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 15:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881920256001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:11:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 15:11:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17929383926824960,"km_value":17929383926824.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784762489201405952,"description":"Unknown IO ID 45"} 
[2026-09-05 15:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881920256001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1784762489201405952}} 
[2026-09-05 15:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":171938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:11:57] local.INFO: GPS data processed {"connection_id":171938,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:11:57] local.INFO: Acknowledgment sent {"connection_id":171938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:12:00] local.INFO: TCP Data received {"connection_id":171634,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171634,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:12:00] local.INFO: Processing buffer {"connection_id":171634,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:12:00] local.INFO: IMEI packet received {"connection_id":171634,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":171634,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:12:01] local.INFO: TCP Data received {"connection_id":171634,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070f07550012d7a088005ec3f28000800b826..."} 
[2026-09-05 15:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f07550012d7a088005ec3f28000800b826..."} 
[2026-09-05 15:12:01] local.INFO: Processing buffer {"connection_id":171634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f07550012d7a088005ec3f28000800b826..."} 
[2026-09-05 15:12:01] local.INFO: Packet analysis {"connection_id":171634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:12:01] local.INFO: Extracted packet for processing {"connection_id":171634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:12:01] local.INFO: GPS Element Parsed {"raw_longitude":762972288,"raw_latitude":99368744,"longitude_deg":76.2972288,"latitude_deg":9.9368744,"altitude":8,"angle":184,"satellites":38,"speed":9,"hex_longitude":"2d7a0880","hex_latitude":"05ec3f28","is_valid_coordinates":true} 
[2026-09-05 15:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881904640001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128502737141760000,"note":"Value kept but may cause issues"} 
[2026-09-05 15:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791941291741020160,"note":"Value kept but may cause issues"} 
[2026-09-05 15:12:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788601202000,"timestamp_ms":1788601202000,"timestamp_seconds":1788601202,"priority":1,"record_length":96,"hex_timestamp":"000001a070f07550"} 
[2026-09-05 15:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:12:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 15:12:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:12:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881904640001,"66":13374,"100":206,"87":13824,"24":9,"16":128502737141760000,"45":8791941291741020160},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-05 15:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881904640001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:12:01] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-05 15:12:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128502737141760000,"km_value":128502737141760,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791941291741020160,"description":"Unknown IO ID 45"} 
[2026-09-05 15:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881904640001,"power":13374,"unknown_100":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8791941291741020160}} 
[2026-09-05 15:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":171634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:12:01] local.INFO: GPS data processed {"connection_id":171634,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:12:01] local.INFO: Acknowledgment sent {"connection_id":171634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:12:01] local.INFO: TCP Data received {"connection_id":173026,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:12:01] local.INFO: Processing buffer {"connection_id":173026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:12:01] local.INFO: IMEI packet received {"connection_id":173026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":173026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:12:03] local.INFO: TCP Data received {"connection_id":173026,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a070f101f0012d7ee540060038e8000b00d827..."} 
[2026-09-05 15:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f101f0012d7ee540060038e8000b00d827..."} 
[2026-09-05 15:12:03] local.INFO: Processing buffer {"connection_id":173026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f101f0012d7ee540060038e8000b00d827..."} 
[2026-09-05 15:12:03] local.INFO: Packet analysis {"connection_id":173026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f1"} 
[2026-09-05 15:12:03] local.INFO: Extracted packet for processing {"connection_id":173026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f1"} 
[2026-09-05 15:12:03] local.INFO: GPS Element Parsed {"raw_longitude":763290944,"raw_latitude":100677864,"longitude_deg":76.3290944,"latitude_deg":10.0677864,"altitude":11,"angle":216,"satellites":39,"speed":53,"hex_longitude":"2d7ee540","hex_latitude":"060038e8","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881915136001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399853715726532608,"note":"Value kept but may cause issues"} 
[2026-09-05 15:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150540412406288384,"note":"Value kept but may cause issues"} 
[2026-09-05 15:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788601238000,"timestamp_ms":1788601238000,"timestamp_seconds":1788601238,"priority":1,"record_length":96,"hex_timestamp":"000001a070f101f0"} 
[2026-09-05 15:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:12: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-09-05 15: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":91,"data_length":795,"current_offset":136} 
[2026-09-05 15:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881915136001,"66":27930,"96":206,"87":10752,"24":53,"16":399853715726532608,"45":9150540412406288384},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-05 15:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881915136001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:12:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-05 15:12:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399853715726532608,"km_value":399853715726532.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150540412406288384,"description":"Unknown IO ID 45"} 
[2026-09-05 15:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881915136001,"power":27930,"unknown_96":206,"unknown_87":10752,"ignition":53,"odometer":null,"unknown_45":9150540412406288384}} 
[2026-09-05 15:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":173026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:12:03] local.INFO: GPS data processed {"connection_id":173026,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:12:03] local.INFO: Acknowledgment sent {"connection_id":173026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:12:25] local.INFO: TCP Data received {"connection_id":171937,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070f0a430012c7939c00848c5f00014000129..."} 
[2026-09-05 15:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f0a430012c7939c00848c5f00014000129..."} 
[2026-09-05 15:12:25] local.INFO: Processing buffer {"connection_id":171937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f0a430012c7939c00848c5f00014000129..."} 
[2026-09-05 15:12:25] local.INFO: Packet analysis {"connection_id":171937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:12:25] local.INFO: Extracted packet for processing {"connection_id":171937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:12:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881833728001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:12:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788601214000,"timestamp_ms":1788601214000,"timestamp_seconds":1788601214,"priority":1,"record_length":96,"hex_timestamp":"000001a070f0a430"} 
[2026-09-05 15:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 15:12:25] 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-09-05 15:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881833728001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881833728001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:12:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:12:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:12:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881833728001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":171937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769320,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:12:25] local.INFO: GPS data processed {"connection_id":171937,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:12:25] local.INFO: Acknowledgment sent {"connection_id":171937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:12:28] local.INFO: TCP Data received {"connection_id":171938,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070f1f420012d1946800720aee80030006f26..."} 
[2026-09-05 15:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f1f420012d1946800720aee80030006f26..."} 
[2026-09-05 15:12:28] local.INFO: Processing buffer {"connection_id":171938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f1f420012d1946800720aee80030006f26..."} 
[2026-09-05 15:12:28] local.INFO: Packet analysis {"connection_id":171938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f1"} 
[2026-09-05 15:12:28] local.INFO: Extracted packet for processing {"connection_id":171938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f1"} 
[2026-09-05 15:12:28] local.INFO: GPS Element Parsed {"raw_longitude":756631168,"raw_latitude":119582440,"longitude_deg":75.6631168,"latitude_deg":11.958244,"altitude":48,"angle":111,"satellites":38,"speed":44,"hex_longitude":"2d194680","hex_latitude":"0720aee8","is_valid_coordinates":true} 
[2026-09-05 15:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881932032001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17931935137398784,"note":"Value kept but may cause issues"} 
[2026-09-05 15:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817765430210951168,"note":"Value kept but may cause issues"} 
[2026-09-05 15:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788601300000,"timestamp_ms":1788601300000,"timestamp_seconds":1788601300,"priority":1,"record_length":96,"hex_timestamp":"000001a070f1f420"} 
[2026-09-05 15:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-05 15:12:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:12:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":171938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":171938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":171938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881932032001,"66":14157,"103":206,"83":41984,"24":44,"16":17931935137398784,"45":1817765430210951168},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 15:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881932032001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:12:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 15:12:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17931935137398784,"km_value":17931935137398.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817765430210951168,"description":"Unknown IO ID 45"} 
[2026-09-05 15:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881932032001,"power":14157,"unknown_103":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1817765430210951168}} 
[2026-09-05 15:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":171938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:12:28] local.INFO: GPS data processed {"connection_id":171938,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:12:28] local.INFO: Acknowledgment sent {"connection_id":171938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:12:32] local.INFO: TCP Data received {"connection_id":171634,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070f07d20012d7a094005ec3c90000800ac25..."} 
[2026-09-05 15:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f07d20012d7a094005ec3c90000800ac25..."} 
[2026-09-05 15:12:32] local.INFO: Processing buffer {"connection_id":171634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f07d20012d7a094005ec3c90000800ac25..."} 
[2026-09-05 15:12:32] local.INFO: Packet analysis {"connection_id":171634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:12:32] local.INFO: Extracted packet for processing {"connection_id":171634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:12:32] local.INFO: GPS Element Parsed {"raw_longitude":762972480,"raw_latitude":99368080,"longitude_deg":76.297248,"latitude_deg":9.936808,"altitude":8,"angle":172,"satellites":37,"speed":16,"hex_longitude":"2d7a0940","hex_latitude":"05ec3c90","is_valid_coordinates":true} 
[2026-09-05 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-09-05 15:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881907712001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128502771501498368,"note":"Value kept but may cause issues"} 
[2026-09-05 15:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793419035367647232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788601204000,"timestamp_ms":1788601204000,"timestamp_seconds":1788601204,"priority":1,"record_length":96,"hex_timestamp":"000001a070f07d20"} 
[2026-09-05 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-09-05 15:12: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-09-05 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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-05 15:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 15:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881907712001,"66":13602,"100":206,"87":13824,"24":16,"16":128502771501498368,"45":8793419035367647232},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-05 15:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881907712001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:12:32] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-05 15:12:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128502771501498368,"km_value":128502771501498.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793419035367647232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881907712001,"power":13602,"unknown_100":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8793419035367647232}} 
[2026-09-05 15:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":171634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769322,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:12:32] local.INFO: GPS data processed {"connection_id":171634,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:12:32] local.INFO: Acknowledgment sent {"connection_id":171634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:12:34] local.INFO: TCP Data received {"connection_id":173026,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a070f12130012d7ece4006001b88000b00d827..."} 
[2026-09-05 15:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f12130012d7ece4006001b88000b00d827..."} 
[2026-09-05 15:12:34] local.INFO: Processing buffer {"connection_id":173026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f12130012d7ece4006001b88000b00d827..."} 
[2026-09-05 15:12:34] local.INFO: Packet analysis {"connection_id":173026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f1"} 
[2026-09-05 15:12:34] local.INFO: Extracted packet for processing {"connection_id":173026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f1"} 
[2026-09-05 15:12:34] local.INFO: GPS Element Parsed {"raw_longitude":763285056,"raw_latitude":100670344,"longitude_deg":76.3285056,"latitude_deg":10.0670344,"altitude":11,"angle":216,"satellites":39,"speed":44,"hex_longitude":"2d7ece40","hex_latitude":"06001b88","is_valid_coordinates":true} 
[2026-09-05 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-09-05 15:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881916928001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399854175288033280,"note":"Value kept but may cause issues"} 
[2026-09-05 15:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143785012963371008,"note":"Value kept but may cause issues"} 
[2026-09-05 15:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788601246000,"timestamp_ms":1788601246000,"timestamp_seconds":1788601246,"priority":1,"record_length":96,"hex_timestamp":"000001a070f12130"} 
[2026-09-05 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-09-05 15:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 15:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 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-09-05 15:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881916928001,"66":27908,"96":206,"87":10752,"24":44,"16":399854175288033280,"45":9143785012963371008},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-05 15:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881916928001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:12:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-05 15:12:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399854175288033280,"km_value":399854175288033.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143785012963371008,"description":"Unknown IO ID 45"} 
[2026-09-05 15:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881916928001,"power":27908,"unknown_96":206,"unknown_87":10752,"ignition":44,"odometer":null,"unknown_45":9143785012963371008}} 
[2026-09-05 15:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":173026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:12:34] local.INFO: GPS data processed {"connection_id":173026,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:12:34] local.INFO: Acknowledgment sent {"connection_id":173026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:12:43] local.INFO: TCP Data received {"connection_id":171939,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:12:43] local.INFO: Processing buffer {"connection_id":171939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:12:43] local.INFO: IMEI packet received {"connection_id":171939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":171939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:12:44] local.INFO: TCP Data received {"connection_id":171939,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:12:44] local.INFO: Processing buffer {"connection_id":171939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:12:44] local.INFO: IMEI packet received {"connection_id":171939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":171939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:12:47] local.INFO: TCP Data received {"connection_id":171940,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171940,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:12:47] local.INFO: Processing buffer {"connection_id":171940,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:12:47] local.INFO: IMEI packet received {"connection_id":171940,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":171940,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:12:50] local.INFO: TCP Data received {"connection_id":171939,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:12:50] local.INFO: Processing buffer {"connection_id":171939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:12:50] local.INFO: IMEI packet received {"connection_id":171939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":171939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:12:50] local.INFO: TCP Data received {"connection_id":171939,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070f203c0012d1955000720ab300030005d29..."} 
[2026-09-05 15:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f203c0012d1955000720ab300030005d29..."} 
[2026-09-05 15:12:51] local.INFO: Processing buffer {"connection_id":171939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f203c0012d1955000720ab300030005d29..."} 
[2026-09-05 15:12:51] local.INFO: Packet analysis {"connection_id":171939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f2"} 
[2026-09-05 15:12:51] local.INFO: Extracted packet for processing {"connection_id":171939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f2"} 
[2026-09-05 15:12:51] local.INFO: GPS Element Parsed {"raw_longitude":756634880,"raw_latitude":119581488,"longitude_deg":75.663488,"latitude_deg":11.9581488,"altitude":48,"angle":93,"satellites":41,"speed":30,"hex_longitude":"2d195500","hex_latitude":"0720ab30","is_valid_coordinates":true} 
[2026-09-05 15:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881932800001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17932115526025216,"note":"Value kept but may cause issues"} 
[2026-09-05 15:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821283867419404288,"note":"Value kept but may cause issues"} 
[2026-09-05 15:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788601304000,"timestamp_ms":1788601304000,"timestamp_seconds":1788601304,"priority":1,"record_length":96,"hex_timestamp":"000001a070f203c0"} 
[2026-09-05 15:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-05 15:12:51] 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-09-05 15:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881932800001,"66":14330,"103":206,"83":41984,"24":30,"16":17932115526025216,"45":1821283867419404288},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 15:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881932800001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:12:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 15:12:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17932115526025216,"km_value":17932115526025.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821283867419404288,"description":"Unknown IO ID 45"} 
[2026-09-05 15:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881932800001,"power":14330,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1821283867419404288}} 
[2026-09-05 15:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":171939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:12:51] local.INFO: GPS data processed {"connection_id":171939,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:12:51] local.INFO: Acknowledgment sent {"connection_id":171939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:12:52] local.INFO: TCP Data received {"connection_id":171940,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171940,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:12:52] local.INFO: Processing buffer {"connection_id":171940,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:12:52] local.INFO: IMEI packet received {"connection_id":171940,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":171940,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:12:54] local.INFO: TCP Data received {"connection_id":171940,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070f0a430012c7939c00848c5f00014000129..."} 
[2026-09-05 15:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f0a430012c7939c00848c5f00014000129..."} 
[2026-09-05 15:12:54] local.INFO: Processing buffer {"connection_id":171940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f0a430012c7939c00848c5f00014000129..."} 
[2026-09-05 15:12:54] local.INFO: Packet analysis {"connection_id":171940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:12:54] local.INFO: Extracted packet for processing {"connection_id":171940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:12:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881833728001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:12:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788601214000,"timestamp_ms":1788601214000,"timestamp_seconds":1788601214,"priority":1,"record_length":96,"hex_timestamp":"000001a070f0a430"} 
[2026-09-05 15:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 15:12:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171940,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171940,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:12:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881833728001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881833728001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:12:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:12:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:12:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881833728001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":171940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769325,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:12:54] local.INFO: GPS data processed {"connection_id":171940,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:12:54] local.INFO: Acknowledgment sent {"connection_id":171940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:12:56] local.INFO: TCP Data received {"connection_id":173027,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:12:56] local.INFO: Processing buffer {"connection_id":173027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:12:56] local.INFO: IMEI packet received {"connection_id":173027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":173027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:12:57] local.INFO: TCP Data received {"connection_id":173027,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:12:57] local.INFO: Processing buffer {"connection_id":173027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:12:57] local.INFO: IMEI packet received {"connection_id":173027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":173027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:13:00] local.INFO: TCP Data received {"connection_id":173028,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173028,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:13:00] local.INFO: Processing buffer {"connection_id":173028,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:13:00] local.INFO: IMEI packet received {"connection_id":173028,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":173028,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:13:01] local.INFO: TCP Data received {"connection_id":173027,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:13:01] local.INFO: Processing buffer {"connection_id":173027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:13:01] local.INFO: IMEI packet received {"connection_id":173027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":173027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:13:05] local.INFO: TCP Data received {"connection_id":173028,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173028,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:13:05] local.INFO: Processing buffer {"connection_id":173028,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:13:05] local.INFO: IMEI packet received {"connection_id":173028,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":173028,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:13:06] local.INFO: TCP Data received {"connection_id":173027,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a070f22ad0012d7e504005ffd788000c013127..."} 
[2026-09-05 15:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f22ad0012d7e504005ffd788000c013127..."} 
[2026-09-05 15:13:06] local.INFO: Processing buffer {"connection_id":173027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f22ad0012d7e504005ffd788000c013127..."} 
[2026-09-05 15:13:06] local.INFO: Packet analysis {"connection_id":173027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f2"} 
[2026-09-05 15:13:06] local.INFO: Extracted packet for processing {"connection_id":173027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f2"} 
[2026-09-05 15:13:06] local.INFO: GPS Element Parsed {"raw_longitude":763252800,"raw_latitude":100652936,"longitude_deg":76.32528,"latitude_deg":10.0652936,"altitude":12,"angle":305,"satellites":39,"speed":36,"hex_longitude":"2d7e5040","hex_latitude":"05ffd788","is_valid_coordinates":true} 
[2026-09-05 15:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881933312001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399856554699915264,"note":"Value kept but may cause issues"} 
[2026-09-05 15:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9110148753238669312,"note":"Value kept but may cause issues"} 
[2026-09-05 15:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788601314000,"timestamp_ms":1788601314000,"timestamp_seconds":1788601314,"priority":1,"record_length":96,"hex_timestamp":"000001a070f22ad0"} 
[2026-09-05 15:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 15:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881933312001,"66":27843,"97":206,"87":10752,"24":36,"16":399856554699915264,"45":9110148753238669312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-09-05 15:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881933312001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:13:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 15:13:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399856554699915264,"km_value":399856554699915.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9110148753238669312,"description":"Unknown IO ID 45"} 
[2026-09-05 15:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881933312001,"power":27843,"unknown_97":206,"unknown_87":10752,"ignition":36,"odometer":null,"unknown_45":9110148753238669312}} 
[2026-09-05 15:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":173027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:13:06] local.INFO: GPS data processed {"connection_id":173027,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:13:06] local.INFO: Acknowledgment sent {"connection_id":173027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:13:06] local.INFO: TCP Data received {"connection_id":173028,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070f09878012d7a0d4005ec2e88000800a125..."} 
[2026-09-05 15:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f09878012d7a0d4005ec2e88000800a125..."} 
[2026-09-05 15:13:06] local.INFO: Processing buffer {"connection_id":173028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f09878012d7a0d4005ec2e88000800a125..."} 
[2026-09-05 15:13:06] local.INFO: Packet analysis {"connection_id":173028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:13:06] local.INFO: Extracted packet for processing {"connection_id":173028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:13:06] local.INFO: GPS Element Parsed {"raw_longitude":762973504,"raw_latitude":99364488,"longitude_deg":76.2973504,"latitude_deg":9.9364488,"altitude":8,"angle":161,"satellites":37,"speed":22,"hex_longitude":"2d7a0d40","hex_latitude":"05ec2e88","is_valid_coordinates":true} 
[2026-09-05 15:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881908224001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128502951890124800,"note":"Value kept but may cause issues"} 
[2026-09-05 15:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793630141600010240,"note":"Value kept but may cause issues"} 
[2026-09-05 15:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788601211000,"timestamp_ms":1788601211000,"timestamp_seconds":1788601211,"priority":1,"record_length":96,"hex_timestamp":"000001a070f09878"} 
[2026-09-05 15:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-05 15:13:06] 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-09-05 15:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881908224001,"66":13646,"100":206,"87":13824,"24":22,"16":128502951890124800,"45":8793630141600010240},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-05 15:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881908224001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:13:06] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-05 15:13:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128502951890124800,"km_value":128502951890124.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793630141600010240,"description":"Unknown IO ID 45"} 
[2026-09-05 15:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881908224001,"power":13646,"unknown_100":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8793630141600010240}} 
[2026-09-05 15:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":173028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:13:06] local.INFO: GPS data processed {"connection_id":173028,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:13:06] local.INFO: Acknowledgment sent {"connection_id":173028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:13:09] local.INFO: TCP Data received {"connection_id":173028,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070f0cf28012d7a1b4005ec0d300009009e23..."} 
[2026-09-05 15:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f0cf28012d7a1b4005ec0d300009009e23..."} 
[2026-09-05 15:13:09] local.INFO: Processing buffer {"connection_id":173028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f0cf28012d7a1b4005ec0d300009009e23..."} 
[2026-09-05 15:13:09] local.INFO: Packet analysis {"connection_id":173028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:13:09] local.INFO: Extracted packet for processing {"connection_id":173028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:13:09] local.INFO: GPS Element Parsed {"raw_longitude":762977088,"raw_latitude":99355952,"longitude_deg":76.2977088,"latitude_deg":9.9355952,"altitude":9,"angle":158,"satellites":35,"speed":30,"hex_longitude":"2d7a1b40","hex_latitude":"05ec0d30","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881910016001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128503398566723584,"note":"Value kept but may cause issues"} 
[2026-09-05 15:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794756041505933312,"note":"Value kept but may cause issues"} 
[2026-09-05 15:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788601225000,"timestamp_ms":1788601225000,"timestamp_seconds":1788601225,"priority":1,"record_length":96,"hex_timestamp":"000001a070f0cf28"} 
[2026-09-05 15:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:13: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-09-05 15: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-05 15:13:09] 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-09-05 15:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881910016001,"66":13678,"100":206,"87":13824,"24":30,"16":128503398566723584,"45":8794756041505933312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-05 15:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881910016001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:13:09] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-05 15:13:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128503398566723584,"km_value":128503398566723.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794756041505933312,"description":"Unknown IO ID 45"} 
[2026-09-05 15:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881910016001,"power":13678,"unknown_100":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8794756041505933312}} 
[2026-09-05 15:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":173028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769328,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:13:09] local.INFO: GPS data processed {"connection_id":173028,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:13:09] local.INFO: Acknowledgment sent {"connection_id":173028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:13:22] local.INFO: TCP Data received {"connection_id":171939,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070f2afa0012d19ae0007208c70003400ae27..."} 
[2026-09-05 15:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f2afa0012d19ae0007208c70003400ae27..."} 
[2026-09-05 15:13:22] local.INFO: Processing buffer {"connection_id":171939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f2afa0012d19ae0007208c70003400ae27..."} 
[2026-09-05 15:13:22] local.INFO: Packet analysis {"connection_id":171939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f2"} 
[2026-09-05 15:13:22] local.INFO: Extracted packet for processing {"connection_id":171939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f2"} 
[2026-09-05 15:13:22] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119573616,"longitude_deg":75.6657664,"latitude_deg":11.9573616,"altitude":52,"angle":174,"satellites":39,"speed":32,"hex_longitude":"2d19ae00","hex_latitude":"07208c70","is_valid_coordinates":true} 
[2026-09-05 15:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881944832001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17933803448172544,"note":"Value kept but may cause issues"} 
[2026-09-05 15:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527506896896,"note":"Value kept but may cause issues"} 
[2026-09-05 15:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788601348000,"timestamp_ms":1788601348000,"timestamp_seconds":1788601348,"priority":1,"record_length":96,"hex_timestamp":"000001a070f2afa0"} 
[2026-09-05 15:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:13:22] 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-09-05 15:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-05 15:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881944832001,"66":13526,"103":206,"83":41984,"24":32,"16":17933803448172544,"45":1850416527506896896},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 15:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881944832001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:13:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 15:13:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17933803448172544,"km_value":17933803448172.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527506896896,"description":"Unknown IO ID 45"} 
[2026-09-05 15:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881944832001,"power":13526,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1850416527506896896}} 
[2026-09-05 15:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":171939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:13:22] local.INFO: GPS data processed {"connection_id":171939,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:13:22] local.INFO: Acknowledgment sent {"connection_id":171939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:13:25] local.INFO: TCP Data received {"connection_id":171940,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070f0a430012c7939c00848c5f00014000129..."} 
[2026-09-05 15:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f0a430012c7939c00848c5f00014000129..."} 
[2026-09-05 15:13:25] local.INFO: Processing buffer {"connection_id":171940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f0a430012c7939c00848c5f00014000129..."} 
[2026-09-05 15:13:25] local.INFO: Packet analysis {"connection_id":171940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:13:25] local.INFO: Extracted packet for processing {"connection_id":171940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:13:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881833728001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:13:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788601214000,"timestamp_ms":1788601214000,"timestamp_seconds":1788601214,"priority":1,"record_length":96,"hex_timestamp":"000001a070f0a430"} 
[2026-09-05 15:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 15:13:25] 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-09-05 15:13:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171940,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171940,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:13:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881833728001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881833728001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:13:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:13:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:13:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881833728001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":171940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769330,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:13:25] local.INFO: GPS data processed {"connection_id":171940,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:13:25] local.INFO: Acknowledgment sent {"connection_id":171940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:13:38] local.INFO: TCP Data received {"connection_id":173027,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a070f24df8012d7e314005ffebc0000c012d28..."} 
[2026-09-05 15:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f24df8012d7e314005ffebc0000c012d28..."} 
[2026-09-05 15:13:38] local.INFO: Processing buffer {"connection_id":173027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f24df8012d7e314005ffebc0000c012d28..."} 
[2026-09-05 15:13:38] local.INFO: Packet analysis {"connection_id":173027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f2"} 
[2026-09-05 15:13:38] local.INFO: Extracted packet for processing {"connection_id":173027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f2"} 
[2026-09-05 15:13:38] local.INFO: GPS Element Parsed {"raw_longitude":763244864,"raw_latitude":100658112,"longitude_deg":76.3244864,"latitude_deg":10.0658112,"altitude":12,"angle":301,"satellites":40,"speed":43,"hex_longitude":"2d7e3140","hex_latitude":"05ffebc0","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881936384001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399857009966448640,"note":"Value kept but may cause issues"} 
[2026-09-05 15:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9101845241427101696,"note":"Value kept but may cause issues"} 
[2026-09-05 15:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788601323000,"timestamp_ms":1788601323000,"timestamp_seconds":1788601323,"priority":1,"record_length":96,"hex_timestamp":"000001a070f24df8"} 
[2026-09-05 15:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:13: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-09-05 15: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 15:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881936384001,"66":27767,"97":206,"87":10752,"24":43,"16":399857009966448640,"45":9101845241427101696},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,87,24,16,45]} 
[2026-09-05 15:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881936384001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:13:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 15:13:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399857009966448640,"km_value":399857009966448.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9101845241427101696,"description":"Unknown IO ID 45"} 
[2026-09-05 15:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881936384001,"power":27767,"unknown_97":206,"unknown_87":10752,"ignition":43,"odometer":null,"unknown_45":9101845241427101696}} 
[2026-09-05 15:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":173027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:13:38] local.INFO: GPS data processed {"connection_id":173027,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:13:38] local.INFO: Acknowledgment sent {"connection_id":173027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:13:45] local.INFO: TCP Data received {"connection_id":171941,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:13:45] local.INFO: Processing buffer {"connection_id":171941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:13:45] local.INFO: IMEI packet received {"connection_id":171941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":171941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:13:47] local.INFO: TCP Data received {"connection_id":171941,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:13:47] local.INFO: Processing buffer {"connection_id":171941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:13:47] local.INFO: IMEI packet received {"connection_id":171941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":171941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:13:47] local.INFO: TCP Data received {"connection_id":171635,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:13:47] local.INFO: Processing buffer {"connection_id":171635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:13:47] local.INFO: IMEI packet received {"connection_id":171635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":171635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:13:47] local.INFO: TCP Data received {"connection_id":171941,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070f2c328012d19b200072079e0003100a02b..."} 
[2026-09-05 15:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f2c328012d19b200072079e0003100a02b..."} 
[2026-09-05 15:13:47] local.INFO: Processing buffer {"connection_id":171941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f2c328012d19b200072079e0003100a02b..."} 
[2026-09-05 15:13:47] local.INFO: Packet analysis {"connection_id":171941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f2"} 
[2026-09-05 15:13:47] local.INFO: Extracted packet for processing {"connection_id":171941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f2"} 
[2026-09-05 15:13:47] local.INFO: GPS Element Parsed {"raw_longitude":756658688,"raw_latitude":119568864,"longitude_deg":75.6658688,"latitude_deg":11.9568864,"altitude":49,"angle":160,"satellites":43,"speed":42,"hex_longitude":"2d19b200","hex_latitude":"072079e0","is_valid_coordinates":true} 
[2026-09-05 15:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881945088001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17934039671373824,"note":"Value kept but may cause issues"} 
[2026-09-05 15:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527506698240,"note":"Value kept but may cause issues"} 
[2026-09-05 15:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788601353000,"timestamp_ms":1788601353000,"timestamp_seconds":1788601353,"priority":1,"record_length":96,"hex_timestamp":"000001a070f2c328"} 
[2026-09-05 15:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 15:13: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-09-05 15:13:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":171941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":171941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":171941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881945088001,"66":13993,"103":206,"83":41984,"24":42,"16":17934039671373824,"45":1850416527506698240},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 15:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881945088001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:13:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 15:13:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17934039671373824,"km_value":17934039671373.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527506698240,"description":"Unknown IO ID 45"} 
[2026-09-05 15:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881945088001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1850416527506698240}} 
[2026-09-05 15:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":171941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:13:47] local.INFO: GPS data processed {"connection_id":171941,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:13:47] local.INFO: Acknowledgment sent {"connection_id":171941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:13:51] local.INFO: TCP Data received {"connection_id":171636,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:13:51] local.INFO: Processing buffer {"connection_id":171636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:13:51] local.INFO: IMEI packet received {"connection_id":171636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":171636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:13:52] local.INFO: TCP Data received {"connection_id":171636,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:13:52] local.INFO: Processing buffer {"connection_id":171636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:13:52] local.INFO: IMEI packet received {"connection_id":171636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":171636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:13:52] local.INFO: TCP Data received {"connection_id":171635,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:13:52] local.INFO: Processing buffer {"connection_id":171635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:13:52] local.INFO: IMEI packet received {"connection_id":171635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":171635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:13:53] local.INFO: TCP Data received {"connection_id":171636,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:13:53] local.INFO: Processing buffer {"connection_id":171636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:13:53] local.INFO: IMEI packet received {"connection_id":171636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":171636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:13:54] local.INFO: TCP Data received {"connection_id":171636,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:13:54] local.INFO: Processing buffer {"connection_id":171636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:13:54] local.INFO: IMEI packet received {"connection_id":171636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":171636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:13:54] local.INFO: TCP Data received {"connection_id":171635,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070f0a430012c7939c00848c5f00014000129..."} 
[2026-09-05 15:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f0a430012c7939c00848c5f00014000129..."} 
[2026-09-05 15:13:54] local.INFO: Processing buffer {"connection_id":171635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f0a430012c7939c00848c5f00014000129..."} 
[2026-09-05 15:13:54] local.INFO: Packet analysis {"connection_id":171635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:13:54] local.INFO: Extracted packet for processing {"connection_id":171635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:13:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881833728001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:13:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788601214000,"timestamp_ms":1788601214000,"timestamp_seconds":1788601214,"priority":1,"record_length":96,"hex_timestamp":"000001a070f0a430"} 
[2026-09-05 15:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 15:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881833728001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881833728001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:13:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:13:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:13:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881833728001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":171635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769333,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:13:54] local.INFO: GPS data processed {"connection_id":171635,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:13:54] local.INFO: Acknowledgment sent {"connection_id":171635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:13:55] local.INFO: TCP Data received {"connection_id":174344,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:13:55] local.INFO: Processing buffer {"connection_id":174344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:13:55] local.INFO: IMEI packet received {"connection_id":174344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":174344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:13:56] local.INFO: TCP Data received {"connection_id":174344,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:13:56] local.INFO: Processing buffer {"connection_id":174344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:13:56] local.INFO: IMEI packet received {"connection_id":174344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":174344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:13:57] local.INFO: TCP Data received {"connection_id":174344,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:13:57] local.INFO: Processing buffer {"connection_id":174344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:13:57] local.INFO: IMEI packet received {"connection_id":174344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":174344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:13:58] local.INFO: TCP Data received {"connection_id":174344,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:13:58] local.INFO: Processing buffer {"connection_id":174344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:13:58] local.INFO: IMEI packet received {"connection_id":174344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":174344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:14:20] local.INFO: TCP Data received {"connection_id":171941,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070f2e268012d19bb40072059f0002f00ac2a..."} 
[2026-09-05 15:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f2e268012d19bb40072059f0002f00ac2a..."} 
[2026-09-05 15:14:20] local.INFO: Processing buffer {"connection_id":171941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f2e268012d19bb40072059f0002f00ac2a..."} 
[2026-09-05 15:14:20] local.INFO: Packet analysis {"connection_id":171941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f2"} 
[2026-09-05 15:14:20] local.INFO: Extracted packet for processing {"connection_id":171941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f2"} 
[2026-09-05 15:14:20] local.INFO: GPS Element Parsed {"raw_longitude":756661056,"raw_latitude":119560688,"longitude_deg":75.6661056,"latitude_deg":11.9560688,"altitude":47,"angle":172,"satellites":42,"speed":42,"hex_longitude":"2d19bb40","hex_latitude":"072059f0","is_valid_coordinates":true} 
[2026-09-05 15:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881946368001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17934451988234240,"note":"Value kept but may cause issues"} 
[2026-09-05 15:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851542427412324352,"note":"Value kept but may cause issues"} 
[2026-09-05 15:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788601361000,"timestamp_ms":1788601361000,"timestamp_seconds":1788601361,"priority":1,"record_length":96,"hex_timestamp":"000001a070f2e268"} 
[2026-09-05 15:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 15:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":171941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":171941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":171941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881946368001,"66":13993,"103":206,"83":41984,"24":42,"16":17934451988234240,"45":1851542427412324352},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 15:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881946368001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:14:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 15:14:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17934451988234240,"km_value":17934451988234.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851542427412324352,"description":"Unknown IO ID 45"} 
[2026-09-05 15:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881946368001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1851542427412324352}} 
[2026-09-05 15:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":171941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:14:20] local.INFO: GPS data processed {"connection_id":171941,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:14:20] local.INFO: Acknowledgment sent {"connection_id":171941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:14:25] local.INFO: TCP Data received {"connection_id":171635,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070f0a430012c7939c00848c5f00014000129..."} 
[2026-09-05 15:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f0a430012c7939c00848c5f00014000129..."} 
[2026-09-05 15:14:25] local.INFO: Processing buffer {"connection_id":171635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f0a430012c7939c00848c5f00014000129..."} 
[2026-09-05 15:14:25] local.INFO: Packet analysis {"connection_id":171635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:14:25] local.INFO: Extracted packet for processing {"connection_id":171635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:14:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881833728001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:14:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788601214000,"timestamp_ms":1788601214000,"timestamp_seconds":1788601214,"priority":1,"record_length":96,"hex_timestamp":"000001a070f0a430"} 
[2026-09-05 15:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:14:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 15:14:25] 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-09-05 15:14:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:14:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881833728001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881833728001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:14:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:14:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:14:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881833728001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":171635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769335,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:14:26] local.INFO: GPS data processed {"connection_id":171635,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:14:26] local.INFO: Acknowledgment sent {"connection_id":171635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:14:44] local.INFO: TCP Data received {"connection_id":174345,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:14:44] local.INFO: Processing buffer {"connection_id":174345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:14:44] local.INFO: IMEI packet received {"connection_id":174345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":174345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:14:50] local.INFO: TCP Data received {"connection_id":174345,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:14:50] local.INFO: Processing buffer {"connection_id":174345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:14:50] local.INFO: IMEI packet received {"connection_id":174345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":174345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:14:51] local.INFO: TCP Data received {"connection_id":174345,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070f3ccc8012d1a08c007203ef8003c003a28..."} 
[2026-09-05 15:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f3ccc8012d1a08c007203ef8003c003a28..."} 
[2026-09-05 15:14:51] local.INFO: Processing buffer {"connection_id":174345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f3ccc8012d1a08c007203ef8003c003a28..."} 
[2026-09-05 15:14:51] local.INFO: Packet analysis {"connection_id":174345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f3"} 
[2026-09-05 15:14:51] local.INFO: Extracted packet for processing {"connection_id":174345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f3"} 
[2026-09-05 15:14:51] local.INFO: GPS Element Parsed {"raw_longitude":756680896,"raw_latitude":119553784,"longitude_deg":75.6680896,"latitude_deg":11.9553784,"altitude":60,"angle":58,"satellites":40,"speed":17,"hex_longitude":"2d1a08c0","hex_latitude":"07203ef8","is_valid_coordinates":true} 
[2026-09-05 15:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881961728001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17936096960708608,"note":"Value kept but may cause issues"} 
[2026-09-05 15:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1873216000614658048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788601421000,"timestamp_ms":1788601421000,"timestamp_seconds":1788601421,"priority":1,"record_length":96,"hex_timestamp":"000001a070f3ccc8"} 
[2026-09-05 15:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-05 15:14:51] 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-09-05 15:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881961728001,"66":14004,"103":206,"83":41984,"24":17,"16":17936096960708608,"45":1873216000614658048},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 15:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881961728001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:14:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 15:14:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17936096960708608,"km_value":17936096960708.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1873216000614658048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881961728001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1873216000614658048}} 
[2026-09-05 15:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":174345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:14:51] local.INFO: GPS data processed {"connection_id":174345,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:14:51] local.INFO: Acknowledgment sent {"connection_id":174345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:14:52] local.INFO: TCP Data received {"connection_id":174346,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174346,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:14:52] local.INFO: Processing buffer {"connection_id":174346,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:14:52] local.INFO: IMEI packet received {"connection_id":174346,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":174346,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:14:57] local.INFO: TCP Data received {"connection_id":174346,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174346,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:14:57] local.INFO: Processing buffer {"connection_id":174346,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:14:57] local.INFO: IMEI packet received {"connection_id":174346,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":174346,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:14:58] local.INFO: TCP Data received {"connection_id":174346,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070f0a430012c7939c00848c5f00014000129..."} 
[2026-09-05 15:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f0a430012c7939c00848c5f00014000129..."} 
[2026-09-05 15:14:58] local.INFO: Processing buffer {"connection_id":174346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f0a430012c7939c00848c5f00014000129..."} 
[2026-09-05 15:14:58] local.INFO: Packet analysis {"connection_id":174346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:14:58] local.INFO: Extracted packet for processing {"connection_id":174346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:14:58] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881833728001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:14:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788601214000,"timestamp_ms":1788601214000,"timestamp_seconds":1788601214,"priority":1,"record_length":96,"hex_timestamp":"000001a070f0a430"} 
[2026-09-05 15:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 15:14:58] 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-09-05 15:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174346,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174346,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881833728001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881833728001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:14:58] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:14:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:14:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881833728001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":174346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769337,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:14:58] local.INFO: GPS data processed {"connection_id":174346,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:14:58] local.INFO: Acknowledgment sent {"connection_id":174346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:15:03] local.INFO: TCP Data received {"connection_id":174346,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070f0a430012c7939c00848c5f00014000129..."} 
[2026-09-05 15:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f0a430012c7939c00848c5f00014000129..."} 
[2026-09-05 15:15:03] local.INFO: Processing buffer {"connection_id":174346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f0a430012c7939c00848c5f00014000129..."} 
[2026-09-05 15:15:03] local.INFO: Packet analysis {"connection_id":174346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:15:03] local.INFO: Extracted packet for processing {"connection_id":174346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f0"} 
[2026-09-05 15:15:03] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881833728001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:15:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788601214000,"timestamp_ms":1788601214000,"timestamp_seconds":1788601214,"priority":1,"record_length":96,"hex_timestamp":"000001a070f0a430"} 
[2026-09-05 15:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 15:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174346,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174346,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881833728001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881833728001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:15:03] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:15:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:15:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881833728001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":174346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769338,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:15:03] local.INFO: GPS data processed {"connection_id":174346,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:15:03] local.INFO: Acknowledgment sent {"connection_id":174346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:15:22] local.INFO: TCP Data received {"connection_id":174345,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070f3d498012d1a0c0007204078003e004629..."} 
[2026-09-05 15:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f3d498012d1a0c0007204078003e004629..."} 
[2026-09-05 15:15:22] local.INFO: Processing buffer {"connection_id":174345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f3d498012d1a0c0007204078003e004629..."} 
[2026-09-05 15:15:22] local.INFO: Packet analysis {"connection_id":174345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f3"} 
[2026-09-05 15:15:22] local.INFO: Extracted packet for processing {"connection_id":174345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f3"} 
[2026-09-05 15:15:22] local.INFO: GPS Element Parsed {"raw_longitude":756681728,"raw_latitude":119554168,"longitude_deg":75.6681728,"latitude_deg":11.9554168,"altitude":62,"angle":70,"satellites":41,"speed":15,"hex_longitude":"2d1a0c00","hex_latitude":"07204078","is_valid_coordinates":true} 
[2026-09-05 15:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881963776001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17936144205348864,"note":"Value kept but may cause issues"} 
[2026-09-05 15:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1875960381638113280,"note":"Value kept but may cause issues"} 
[2026-09-05 15:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788601423000,"timestamp_ms":1788601423000,"timestamp_seconds":1788601423,"priority":1,"record_length":96,"hex_timestamp":"000001a070f3d498"} 
[2026-09-05 15:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-05 15:15:22] 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-09-05 15:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881963776001,"66":14396,"103":206,"83":41984,"24":15,"16":17936144205348864,"45":1875960381638113280},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 15:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881963776001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:15:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 15:15:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17936144205348864,"km_value":17936144205348.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1875960381638113280,"description":"Unknown IO ID 45"} 
[2026-09-05 15:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881963776001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1875960381638113280}} 
[2026-09-05 15:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":174345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:15:22] local.INFO: GPS data processed {"connection_id":174345,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:15:22] local.INFO: Acknowledgment sent {"connection_id":174345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:15:44] local.INFO: TCP Data received {"connection_id":171639,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:15:44] local.INFO: Processing buffer {"connection_id":171639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:15:44] local.INFO: IMEI packet received {"connection_id":171639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":171639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:15:45] local.INFO: TCP Data received {"connection_id":171639,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:15:45] local.INFO: Processing buffer {"connection_id":171639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:15:45] local.INFO: IMEI packet received {"connection_id":171639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":171639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:15:47] local.INFO: TCP Data received {"connection_id":171638,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171638,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:15:47] local.INFO: Processing buffer {"connection_id":171638,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:15:47] local.INFO: IMEI packet received {"connection_id":171638,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":171638,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:15:49] local.INFO: TCP Data received {"connection_id":171639,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:15:49] local.INFO: Processing buffer {"connection_id":171639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:15:49] local.INFO: IMEI packet received {"connection_id":171639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":171639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:15:49] local.INFO: TCP Data received {"connection_id":171639,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:15:49] local.INFO: Processing buffer {"connection_id":171639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:15:49] local.INFO: IMEI packet received {"connection_id":171639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":171639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:15:50] local.INFO: TCP Data received {"connection_id":171639,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070f51100012d1a65c007204c48004100ce2a..."} 
[2026-09-05 15:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f51100012d1a65c007204c48004100ce2a..."} 
[2026-09-05 15:15:50] local.INFO: Processing buffer {"connection_id":171639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f51100012d1a65c007204c48004100ce2a..."} 
[2026-09-05 15:15:50] local.INFO: Packet analysis {"connection_id":171639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f5"} 
[2026-09-05 15:15:50] local.INFO: Extracted packet for processing {"connection_id":171639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f5"} 
[2026-09-05 15:15:50] local.INFO: GPS Element Parsed {"raw_longitude":756704704,"raw_latitude":119557192,"longitude_deg":75.6704704,"latitude_deg":11.9557192,"altitude":65,"angle":206,"satellites":42,"speed":3,"hex_longitude":"2d1a65c0","hex_latitude":"07204c48","is_valid_coordinates":true} 
[2026-09-05 15:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881984512001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17937282371682304,"note":"Value kept but may cause issues"} 
[2026-09-05 15:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902207923217295360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788601504000,"timestamp_ms":1788601504000,"timestamp_seconds":1788601504,"priority":1,"record_length":96,"hex_timestamp":"000001a070f51100"} 
[2026-09-05 15:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:15: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-09-05 15:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-09-05 15:15:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881984512001,"66":14233,"101":206,"83":41984,"24":3,"16":17937282371682304,"45":1902207923217295360},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-05 15:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881984512001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:15:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 15:15:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17937282371682304,"km_value":17937282371682.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902207923217295360,"description":"Unknown IO ID 45"} 
[2026-09-05 15:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881984512001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1902207923217295360}} 
[2026-09-05 15:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":171639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:15:50] local.INFO: GPS data processed {"connection_id":171639,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:15:50] local.INFO: Acknowledgment sent {"connection_id":171639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:15:52] local.INFO: TCP Data received {"connection_id":171638,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171638,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:15:52] local.INFO: Processing buffer {"connection_id":171638,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:15:52] local.INFO: IMEI packet received {"connection_id":171638,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":171638,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:15:54] local.INFO: TCP Data received {"connection_id":171638,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070f53bf8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f53bf8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:15:54] local.INFO: Processing buffer {"connection_id":171638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f53bf8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:15:54] local.INFO: Packet analysis {"connection_id":171638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f5"} 
[2026-09-05 15:15:54] local.INFO: Extracted packet for processing {"connection_id":171638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f5"} 
[2026-09-05 15:15:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881910784001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:15:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788601515000,"timestamp_ms":1788601515000,"timestamp_seconds":1788601515,"priority":1,"record_length":96,"hex_timestamp":"000001a070f53bf8"} 
[2026-09-05 15:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:15:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171638,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171638,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881910784001,"66":25397,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881910784001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:15:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:15:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:15:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881910784001,"power":25397,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":171638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769341,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:15:54] local.INFO: GPS data processed {"connection_id":171638,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:15:54] local.INFO: Acknowledgment sent {"connection_id":171638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:15:55] local.INFO: TCP Data received {"connection_id":171639,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070f520a0012d1a658007204c180040011e29..."} 
[2026-09-05 15:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f520a0012d1a658007204c180040011e29..."} 
[2026-09-05 15:15:55] local.INFO: Processing buffer {"connection_id":171639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f520a0012d1a658007204c180040011e29..."} 
[2026-09-05 15:15:55] local.INFO: Packet analysis {"connection_id":171639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f5"} 
[2026-09-05 15:15:55] local.INFO: Extracted packet for processing {"connection_id":171639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f5"} 
[2026-09-05 15:15:55] local.INFO: GPS Element Parsed {"raw_longitude":756704640,"raw_latitude":119557144,"longitude_deg":75.670464,"latitude_deg":11.9557144,"altitude":64,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d1a6580","hex_latitude":"07204c18","is_valid_coordinates":true} 
[2026-09-05 15:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881985024001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17937295256584192,"note":"Value kept but may cause issues"} 
[2026-09-05 15:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902137554473076736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788601508000,"timestamp_ms":1788601508000,"timestamp_seconds":1788601508,"priority":1,"record_length":96,"hex_timestamp":"000001a070f520a0"} 
[2026-09-05 15:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:15:55] 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-09-05 15:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-05 15:15:55] 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-09-05 15:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881985024001,"66":13820,"101":206,"83":41984,"24":0,"16":17937295256584192,"45":1902137554473076736},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-05 15:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881985024001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:15:55] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 15:15:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17937295256584192,"km_value":17937295256584.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902137554473076736,"description":"Unknown IO ID 45"} 
[2026-09-05 15:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881985024001,"power":13820,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1902137554473076736}} 
[2026-09-05 15:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":171639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:15:55] local.INFO: GPS data processed {"connection_id":171639,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:15:55] local.INFO: Acknowledgment sent {"connection_id":171639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:16:25] local.INFO: TCP Data received {"connection_id":171638,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070f53bf8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f53bf8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:16:25] local.INFO: Processing buffer {"connection_id":171638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f53bf8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:16:25] local.INFO: Packet analysis {"connection_id":171638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f5"} 
[2026-09-05 15:16:25] local.INFO: Extracted packet for processing {"connection_id":171638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f5"} 
[2026-09-05 15:16:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881910784001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:16:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788601515000,"timestamp_ms":1788601515000,"timestamp_seconds":1788601515,"priority":1,"record_length":96,"hex_timestamp":"000001a070f53bf8"} 
[2026-09-05 15:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:16:25] 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-09-05 15:16:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171638,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171638,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:16:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881910784001,"66":25397,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881910784001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:16:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:16:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:16:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881910784001,"power":25397,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":171638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769343,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:16:26] local.INFO: GPS data processed {"connection_id":171638,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:16:26] local.INFO: Acknowledgment sent {"connection_id":171638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:16:26] local.INFO: TCP Data received {"connection_id":171639,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070f52c58012d1a644007204c600040010c29..."} 
[2026-09-05 15:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f52c58012d1a644007204c600040010c29..."} 
[2026-09-05 15:16:26] local.INFO: Processing buffer {"connection_id":171639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f52c58012d1a644007204c600040010c29..."} 
[2026-09-05 15:16:26] local.INFO: Packet analysis {"connection_id":171639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f5"} 
[2026-09-05 15:16:26] local.INFO: Extracted packet for processing {"connection_id":171639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f5"} 
[2026-09-05 15:16:26] local.INFO: GPS Element Parsed {"raw_longitude":756704320,"raw_latitude":119557216,"longitude_deg":75.670432,"latitude_deg":11.9557216,"altitude":64,"angle":268,"satellites":41,"speed":7,"hex_longitude":"2d1a6440","hex_latitude":"07204c60","is_valid_coordinates":true} 
[2026-09-05 15:16: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-09-05 15:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881986048001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17937312436453376,"note":"Value kept but may cause issues"} 
[2026-09-05 15:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902067185728886784,"note":"Value kept but may cause issues"} 
[2026-09-05 15:16:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788601511000,"timestamp_ms":1788601511000,"timestamp_seconds":1788601511,"priority":1,"record_length":96,"hex_timestamp":"000001a070f52c58"} 
[2026-09-05 15:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:16:26] 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-09-05 15:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-05 15:16:26] 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-09-05 15:16: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-09-05 15:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881986048001,"66":14298,"101":206,"83":41984,"24":7,"16":17937312436453376,"45":1902067185728886784},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-05 15:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881986048001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:16:26] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 15:16:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17937312436453376,"km_value":17937312436453.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902067185728886784,"description":"Unknown IO ID 45"} 
[2026-09-05 15:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881986048001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1902067185728886784}} 
[2026-09-05 15:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":171639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:16:26] local.INFO: GPS data processed {"connection_id":171639,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:16:26] local.INFO: Acknowledgment sent {"connection_id":171639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:16:44] local.INFO: TCP Data received {"connection_id":171640,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:16:44] local.INFO: Processing buffer {"connection_id":171640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:16:44] local.INFO: IMEI packet received {"connection_id":171640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":171640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:16:45] local.INFO: TCP Data received {"connection_id":171640,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:16:45] local.INFO: Processing buffer {"connection_id":171640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:16:45] local.INFO: IMEI packet received {"connection_id":171640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":171640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:16:47] local.INFO: TCP Data received {"connection_id":171641,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171641,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:16:47] local.INFO: Processing buffer {"connection_id":171641,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:16:47] local.INFO: IMEI packet received {"connection_id":171641,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":171641,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:16:50] local.INFO: TCP Data received {"connection_id":171640,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:16:50] local.INFO: Processing buffer {"connection_id":171640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:16:50] local.INFO: IMEI packet received {"connection_id":171640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":171640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:16:51] local.INFO: TCP Data received {"connection_id":171640,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070f543c8012d1a5c4007204b48004000ff29..."} 
[2026-09-05 15:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f543c8012d1a5c4007204b48004000ff29..."} 
[2026-09-05 15:16:51] local.INFO: Processing buffer {"connection_id":171640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f543c8012d1a5c4007204b48004000ff29..."} 
[2026-09-05 15:16:51] local.INFO: Packet analysis {"connection_id":171640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f5"} 
[2026-09-05 15:16:51] local.INFO: Extracted packet for processing {"connection_id":171640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f5"} 
[2026-09-05 15:16:51] local.INFO: GPS Element Parsed {"raw_longitude":756702272,"raw_latitude":119556936,"longitude_deg":75.6702272,"latitude_deg":11.9556936,"altitude":64,"angle":255,"satellites":41,"speed":18,"hex_longitude":"2d1a5c40","hex_latitude":"07204b48","is_valid_coordinates":true} 
[2026-09-05 15:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881986816001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17937411220701184,"note":"Value kept but may cause issues"} 
[2026-09-05 15:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1901715342008016896,"note":"Value kept but may cause issues"} 
[2026-09-05 15:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788601517000,"timestamp_ms":1788601517000,"timestamp_seconds":1788601517,"priority":1,"record_length":96,"hex_timestamp":"000001a070f543c8"} 
[2026-09-05 15:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-05 15:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881986816001,"66":13993,"101":206,"83":41984,"24":18,"16":17937411220701184,"45":1901715342008016896},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-05 15:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881986816001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:16:51] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 15:16:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17937411220701184,"km_value":17937411220701.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1901715342008016896,"description":"Unknown IO ID 45"} 
[2026-09-05 15:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881986816001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1901715342008016896}} 
[2026-09-05 15:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":171640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:16:51] local.INFO: GPS data processed {"connection_id":171640,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:16:51] local.INFO: Acknowledgment sent {"connection_id":171640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:16:52] local.INFO: TCP Data received {"connection_id":171641,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171641,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:16:52] local.INFO: Processing buffer {"connection_id":171641,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:16:52] local.INFO: IMEI packet received {"connection_id":171641,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":171641,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:16:54] local.INFO: TCP Data received {"connection_id":171641,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070f53bf8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f53bf8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:16:54] local.INFO: Processing buffer {"connection_id":171641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f53bf8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:16:54] local.INFO: Packet analysis {"connection_id":171641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f5"} 
[2026-09-05 15:16:54] local.INFO: Extracted packet for processing {"connection_id":171641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f5"} 
[2026-09-05 15:16:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881910784001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:16:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788601515000,"timestamp_ms":1788601515000,"timestamp_seconds":1788601515,"priority":1,"record_length":96,"hex_timestamp":"000001a070f53bf8"} 
[2026-09-05 15:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:16:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:16:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881910784001,"66":25397,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881910784001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:16:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:16:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:16:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881910784001,"power":25397,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":171641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769346,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:16:54] local.INFO: GPS data processed {"connection_id":171641,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:16:54] local.INFO: Acknowledgment sent {"connection_id":171641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:17:21] local.INFO: TCP Data received {"connection_id":171640,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070f67c48012d19d80007200078003000e02a..."} 
[2026-09-05 15:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f67c48012d19d80007200078003000e02a..."} 
[2026-09-05 15:17:21] local.INFO: Processing buffer {"connection_id":171640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f67c48012d19d80007200078003000e02a..."} 
[2026-09-05 15:17:21] local.INFO: Packet analysis {"connection_id":171640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f6"} 
[2026-09-05 15:17:21] local.INFO: Extracted packet for processing {"connection_id":171640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f6"} 
[2026-09-05 15:17:21] local.INFO: GPS Element Parsed {"raw_longitude":756668416,"raw_latitude":119537784,"longitude_deg":75.6668416,"latitude_deg":11.9537784,"altitude":48,"angle":224,"satellites":42,"speed":25,"hex_longitude":"2d19d800","hex_latitude":"07200078","is_valid_coordinates":true} 
[2026-09-05 15:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882007552001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17939829287288832,"note":"Value kept but may cause issues"} 
[2026-09-05 15:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864138432612700160,"note":"Value kept but may cause issues"} 
[2026-09-05 15:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788601597000,"timestamp_ms":1788601597000,"timestamp_seconds":1788601597,"priority":1,"record_length":96,"hex_timestamp":"000001a070f67c48"} 
[2026-09-05 15:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 15:17:21] 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-09-05 15:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882007552001,"66":14265,"101":206,"83":41984,"24":25,"16":17939829287288832,"45":1864138432612700160},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-05 15:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882007552001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:17:21] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 15:17:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17939829287288832,"km_value":17939829287288.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864138432612700160,"description":"Unknown IO ID 45"} 
[2026-09-05 15:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882007552001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1864138432612700160}} 
[2026-09-05 15:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":171640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:17:22] local.INFO: GPS data processed {"connection_id":171640,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:17:22] local.INFO: Acknowledgment sent {"connection_id":171640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:17:25] local.INFO: TCP Data received {"connection_id":171641,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070f53bf8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f53bf8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:17:25] local.INFO: Processing buffer {"connection_id":171641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f53bf8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:17:25] local.INFO: Packet analysis {"connection_id":171641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f5"} 
[2026-09-05 15:17:25] local.INFO: Extracted packet for processing {"connection_id":171641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f5"} 
[2026-09-05 15:17:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881910784001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:17:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788601515000,"timestamp_ms":1788601515000,"timestamp_seconds":1788601515,"priority":1,"record_length":96,"hex_timestamp":"000001a070f53bf8"} 
[2026-09-05 15:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:17:25] 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-09-05 15:17:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881910784001,"66":25397,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881910784001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:17:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:17:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:17:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881910784001,"power":25397,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":171641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769348,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:17:25] local.INFO: GPS data processed {"connection_id":171641,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:17:25] local.INFO: Acknowledgment sent {"connection_id":171641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:17:47] local.INFO: TCP Data received {"connection_id":171943,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171943,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:17:47] local.INFO: Processing buffer {"connection_id":171943,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:17:47] local.INFO: IMEI packet received {"connection_id":171943,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":171943,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:17:49] local.INFO: TCP Data received {"connection_id":173033,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:17:49] local.INFO: Processing buffer {"connection_id":173033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:17:49] local.INFO: IMEI packet received {"connection_id":173033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":173033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:17:49] local.INFO: TCP Data received {"connection_id":173033,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:17:49] local.INFO: Processing buffer {"connection_id":173033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:17:49] local.INFO: IMEI packet received {"connection_id":173033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":173033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:17:52] local.INFO: TCP Data received {"connection_id":171943,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171943,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:17:52] local.INFO: Processing buffer {"connection_id":171943,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:17:52] local.INFO: IMEI packet received {"connection_id":171943,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":171943,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:17:53] local.INFO: TCP Data received {"connection_id":171943,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070f53bf8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f53bf8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:17:53] local.INFO: Processing buffer {"connection_id":171943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f53bf8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:17:53] local.INFO: Packet analysis {"connection_id":171943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f5"} 
[2026-09-05 15:17:53] local.INFO: Extracted packet for processing {"connection_id":171943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f5"} 
[2026-09-05 15:17:53] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:17: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-09-05 15:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881910784001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:17:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788601515000,"timestamp_ms":1788601515000,"timestamp_seconds":1788601515,"priority":1,"record_length":96,"hex_timestamp":"000001a070f53bf8"} 
[2026-09-05 15:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:17: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":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:17:53] 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-09-05 15:17: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-09-05 15:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881910784001,"66":25397,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881910784001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:17:53] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:17:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:17:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881910784001,"power":25397,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":171943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769349,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:17:53] local.INFO: GPS data processed {"connection_id":171943,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:17:53] local.INFO: Acknowledgment sent {"connection_id":171943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:17:55] local.INFO: TCP Data received {"connection_id":173033,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:17:55] local.INFO: Processing buffer {"connection_id":173033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:17:55] local.INFO: IMEI packet received {"connection_id":173033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":173033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:17:56] local.INFO: TCP Data received {"connection_id":173033,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070f6e5c0012d19a340071ff1b0003300fd27..."} 
[2026-09-05 15:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f6e5c0012d19a340071ff1b0003300fd27..."} 
[2026-09-05 15:17:56] local.INFO: Processing buffer {"connection_id":173033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f6e5c0012d19a340071ff1b0003300fd27..."} 
[2026-09-05 15:17:56] local.INFO: Packet analysis {"connection_id":173033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f6"} 
[2026-09-05 15:17:56] local.INFO: Extracted packet for processing {"connection_id":173033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f6"} 
[2026-09-05 15:17:56] local.INFO: GPS Element Parsed {"raw_longitude":756654912,"raw_latitude":119534000,"longitude_deg":75.6654912,"latitude_deg":11.9534,"altitude":51,"angle":253,"satellites":39,"speed":10,"hex_longitude":"2d19a340","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-09-05 15:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882015232001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17940559431729152,"note":"Value kept but may cause issues"} 
[2026-09-05 15:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848094358938710016,"note":"Value kept but may cause issues"} 
[2026-09-05 15:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788601624000,"timestamp_ms":1788601624000,"timestamp_seconds":1788601624,"priority":1,"record_length":96,"hex_timestamp":"000001a070f6e5c0"} 
[2026-09-05 15:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:17:56] 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-09-05 15:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-05 15:17:56] 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-09-05 15:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882015232001,"66":13722,"102":206,"83":41984,"24":10,"16":17940559431729152,"45":1848094358938710016},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882015232001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:17:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:17:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17940559431729152,"km_value":17940559431729.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848094358938710016,"description":"Unknown IO ID 45"} 
[2026-09-05 15:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882015232001,"power":13722,"unknown_102":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1848094358938710016}} 
[2026-09-05 15:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":173033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:17:56] local.INFO: GPS data processed {"connection_id":173033,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:17:56] local.INFO: Acknowledgment sent {"connection_id":173033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:18:25] local.INFO: TCP Data received {"connection_id":171943,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070f53bf8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f53bf8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:18:25] local.INFO: Processing buffer {"connection_id":171943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f53bf8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:18:25] local.INFO: Packet analysis {"connection_id":171943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f5"} 
[2026-09-05 15:18:25] local.INFO: Extracted packet for processing {"connection_id":171943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f5"} 
[2026-09-05 15:18:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881910784001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:18:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788601515000,"timestamp_ms":1788601515000,"timestamp_seconds":1788601515,"priority":1,"record_length":96,"hex_timestamp":"000001a070f53bf8"} 
[2026-09-05 15:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:18:25] 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-09-05 15:18:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881910784001,"66":25397,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881910784001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:18:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:18:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:18:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881910784001,"power":25397,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":171943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769351,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:18:25] local.INFO: GPS data processed {"connection_id":171943,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:18:25] local.INFO: Acknowledgment sent {"connection_id":171943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:18:27] local.INFO: TCP Data received {"connection_id":173033,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070f6f560012d199e80071ff0100034010927..."} 
[2026-09-05 15:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f6f560012d199e80071ff0100034010927..."} 
[2026-09-05 15:18:27] local.INFO: Processing buffer {"connection_id":173033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f6f560012d199e80071ff0100034010927..."} 
[2026-09-05 15:18:27] local.INFO: Packet analysis {"connection_id":173033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f6"} 
[2026-09-05 15:18:27] local.INFO: Extracted packet for processing {"connection_id":173033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f6"} 
[2026-09-05 15:18:27] local.INFO: GPS Element Parsed {"raw_longitude":756653696,"raw_latitude":119533584,"longitude_deg":75.6653696,"latitude_deg":11.9533584,"altitude":52,"angle":265,"satellites":39,"speed":16,"hex_longitude":"2d199e80","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-09-05 15:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882015744001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17940623856238592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847390671496916992,"note":"Value kept but may cause issues"} 
[2026-09-05 15:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788601628000,"timestamp_ms":1788601628000,"timestamp_seconds":1788601628,"priority":1,"record_length":96,"hex_timestamp":"000001a070f6f560"} 
[2026-09-05 15:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-05 15:18:27] 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-09-05 15:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882015744001,"66":12961,"102":206,"83":41984,"24":16,"16":17940623856238592,"45":1847390671496916992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882015744001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:18:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:18:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17940623856238592,"km_value":17940623856238.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847390671496916992,"description":"Unknown IO ID 45"} 
[2026-09-05 15:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882015744001,"power":12961,"unknown_102":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1847390671496916992}} 
[2026-09-05 15:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":173033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:18:27] local.INFO: GPS data processed {"connection_id":173033,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:18:27] local.INFO: Acknowledgment sent {"connection_id":173033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:18:45] local.INFO: TCP Data received {"connection_id":171945,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:18:45] local.INFO: Processing buffer {"connection_id":171945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:18:45] local.INFO: IMEI packet received {"connection_id":171945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":171945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:18:50] local.INFO: TCP Data received {"connection_id":171945,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:18:50] local.INFO: Processing buffer {"connection_id":171945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:18:50] local.INFO: IMEI packet received {"connection_id":171945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":171945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:18:51] local.INFO: TCP Data received {"connection_id":171945,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070f70118012d199900071ff0700035011529..."} 
[2026-09-05 15:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f70118012d199900071ff0700035011529..."} 
[2026-09-05 15:18:51] local.INFO: Processing buffer {"connection_id":171945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f70118012d199900071ff0700035011529..."} 
[2026-09-05 15:18:51] local.INFO: Packet analysis {"connection_id":171945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f7"} 
[2026-09-05 15:18:51] local.INFO: Extracted packet for processing {"connection_id":171945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f7"} 
[2026-09-05 15:18:51] local.INFO: GPS Element Parsed {"raw_longitude":756652288,"raw_latitude":119533680,"longitude_deg":75.6652288,"latitude_deg":11.953368,"altitude":53,"angle":277,"satellites":41,"speed":19,"hex_longitude":"2d199900","hex_latitude":"071ff070","is_valid_coordinates":true} 
[2026-09-05 15:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882016768001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17940688280748032,"note":"Value kept but may cause issues"} 
[2026-09-05 15:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846053665357434880,"note":"Value kept but may cause issues"} 
[2026-09-05 15:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788601631000,"timestamp_ms":1788601631000,"timestamp_seconds":1788601631,"priority":1,"record_length":96,"hex_timestamp":"000001a070f70118"} 
[2026-09-05 15:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-05 15:18:51] 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-09-05 15:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882016768001,"66":12613,"102":206,"83":41984,"24":19,"16":17940688280748032,"45":1846053665357434880},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882016768001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:18:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:18:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17940688280748032,"km_value":17940688280748.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846053665357434880,"description":"Unknown IO ID 45"} 
[2026-09-05 15:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882016768001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1846053665357434880}} 
[2026-09-05 15:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":171945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:18:51] local.INFO: GPS data processed {"connection_id":171945,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:18:51] local.INFO: Acknowledgment sent {"connection_id":171945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:18:52] local.INFO: TCP Data received {"connection_id":173034,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:18:52] local.INFO: Processing buffer {"connection_id":173034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:18:52] local.INFO: IMEI packet received {"connection_id":173034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":173034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:18:55] local.INFO: TCP Data received {"connection_id":174347,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174347,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:18:55] local.INFO: Processing buffer {"connection_id":174347,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:18:55] local.INFO: IMEI packet received {"connection_id":174347,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":174347,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:18:57] local.INFO: TCP Data received {"connection_id":173034,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:18:57] local.INFO: Processing buffer {"connection_id":173034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:18:57] local.INFO: IMEI packet received {"connection_id":173034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":173034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:18:59] local.INFO: TCP Data received {"connection_id":173034,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070f53bf8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f53bf8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:18:59] local.INFO: Processing buffer {"connection_id":173034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f53bf8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:18:59] local.INFO: Packet analysis {"connection_id":173034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f5"} 
[2026-09-05 15:18:59] local.INFO: Extracted packet for processing {"connection_id":173034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f5"} 
[2026-09-05 15:18:59] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881910784001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:18:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788601515000,"timestamp_ms":1788601515000,"timestamp_seconds":1788601515,"priority":1,"record_length":96,"hex_timestamp":"000001a070f53bf8"} 
[2026-09-05 15:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:18:59] 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-09-05 15:18:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881910784001,"66":25397,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881910784001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:18:59] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:18:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:18:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881910784001,"power":25397,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":173034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769354,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:18:59] local.INFO: GPS data processed {"connection_id":173034,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:18:59] local.INFO: Acknowledgment sent {"connection_id":173034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:19:00] local.INFO: TCP Data received {"connection_id":174347,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174347,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:19:00] local.INFO: Processing buffer {"connection_id":174347,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:19:00] local.INFO: IMEI packet received {"connection_id":174347,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":174347,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:19:01] local.INFO: TCP Data received {"connection_id":171946,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:19:01] local.INFO: Processing buffer {"connection_id":171946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:19:01] local.INFO: IMEI packet received {"connection_id":171946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":171946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:19:03] local.INFO: TCP Data received {"connection_id":174347,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070f6bac8012d7b364005ebf640000f003c29..."} 
[2026-09-05 15:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f6bac8012d7b364005ebf640000f003c29..."} 
[2026-09-05 15:19:03] local.INFO: Processing buffer {"connection_id":174347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f6bac8012d7b364005ebf640000f003c29..."} 
[2026-09-05 15:19:03] local.INFO: Packet analysis {"connection_id":174347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f6"} 
[2026-09-05 15:19:03] local.INFO: Extracted packet for processing {"connection_id":174347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f6"} 
[2026-09-05 15:19:03] local.INFO: GPS Element Parsed {"raw_longitude":763049536,"raw_latitude":99350080,"longitude_deg":76.3049536,"latitude_deg":9.935008,"altitude":15,"angle":60,"satellites":41,"speed":5,"hex_longitude":"2d7b3640","hex_latitude":"05ebf640","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882012672001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128508067196174336,"note":"Value kept but may cause issues"} 
[2026-09-05 15:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878283740841119744,"note":"Value kept but may cause issues"} 
[2026-09-05 15:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788601613000,"timestamp_ms":1788601613000,"timestamp_seconds":1788601613,"priority":1,"record_length":96,"hex_timestamp":"000001a070f6bac8"} 
[2026-09-05 15:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:19: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-09-05 15: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-05 15:19: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-09-05 15: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-09-05 15:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882012672001,"66":13656,"98":206,"87":13824,"24":5,"16":128508067196174336,"45":8878283740841119744},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-05 15:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882012672001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:19:03] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-05 15:19:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128508067196174336,"km_value":128508067196174.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878283740841119744,"description":"Unknown IO ID 45"} 
[2026-09-05 15:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882012672001,"power":13656,"unknown_98":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8878283740841119744}} 
[2026-09-05 15:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":174347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769355,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:19:03] local.INFO: GPS data processed {"connection_id":174347,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:19:03] local.INFO: Acknowledgment sent {"connection_id":174347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:19:03] local.INFO: TCP Data received {"connection_id":173034,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070f53bf8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f53bf8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:19:03] local.INFO: Processing buffer {"connection_id":173034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f53bf8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:19:03] local.INFO: Packet analysis {"connection_id":173034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f5"} 
[2026-09-05 15:19:03] local.INFO: Extracted packet for processing {"connection_id":173034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f5"} 
[2026-09-05 15:19:03] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881910784001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:19:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788601515000,"timestamp_ms":1788601515000,"timestamp_seconds":1788601515,"priority":1,"record_length":96,"hex_timestamp":"000001a070f53bf8"} 
[2026-09-05 15:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15: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-09-05 15: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-09-05 15:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881910784001,"66":25397,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881910784001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:19:03] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:19:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:19:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881910784001,"power":25397,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":173034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769356,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:19:03] local.INFO: GPS data processed {"connection_id":173034,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:19:03] local.INFO: Acknowledgment sent {"connection_id":173034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:19:06] local.INFO: TCP Data received {"connection_id":171946,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:19:06] local.INFO: Processing buffer {"connection_id":171946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:19:06] local.INFO: IMEI packet received {"connection_id":171946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":171946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:19:10] local.INFO: TCP Data received {"connection_id":171946,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070f37ac0012d7de1c006004300000b01392f..."} 
[2026-09-05 15:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f37ac0012d7de1c006004300000b01392f..."} 
[2026-09-05 15:19:10] local.INFO: Processing buffer {"connection_id":171946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f37ac0012d7de1c006004300000b01392f..."} 
[2026-09-05 15:19:10] local.INFO: Packet analysis {"connection_id":171946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f3"} 
[2026-09-05 15:19:10] local.INFO: Extracted packet for processing {"connection_id":171946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f3"} 
[2026-09-05 15:19:10] local.INFO: GPS Element Parsed {"raw_longitude":763224512,"raw_latitude":100680448,"longitude_deg":76.3224512,"latitude_deg":10.0680448,"altitude":11,"angle":313,"satellites":47,"speed":26,"hex_longitude":"2d7de1c0","hex_latitude":"06004300","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881957888001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399858556154675200,"note":"Value kept but may cause issues"} 
[2026-09-05 15:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9071727418925852672,"note":"Value kept but may cause issues"} 
[2026-09-05 15:19:10] 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-09-05 15:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788601400000,"timestamp_ms":1788601400000,"timestamp_seconds":1788601400,"priority":1,"record_length":96,"hex_timestamp":"000001a070f37ac0"} 
[2026-09-05 15:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 15:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881957888001,"66":27908,"244":206,"87":10752,"24":26,"16":399858556154675200,"45":9071727418925852672},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881957888001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:19:10] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:19:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399858556154675200,"km_value":399858556154675.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9071727418925852672,"description":"Unknown IO ID 45"} 
[2026-09-05 15:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881957888001,"power":27908,"unknown_244":206,"unknown_87":10752,"ignition":26,"odometer":null,"unknown_45":9071727418925852672}} 
[2026-09-05 15:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":171946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:19:10] local.INFO: GPS data processed {"connection_id":171946,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:19:10] local.INFO: Acknowledgment sent {"connection_id":171946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:19:22] local.INFO: TCP Data received {"connection_id":171945,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070f72440012d198780071ff0d0003801042b..."} 
[2026-09-05 15:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f72440012d198780071ff0d0003801042b..."} 
[2026-09-05 15:19:22] local.INFO: Processing buffer {"connection_id":171945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f72440012d198780071ff0d0003801042b..."} 
[2026-09-05 15:19:22] local.INFO: Packet analysis {"connection_id":171945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f7"} 
[2026-09-05 15:19:22] local.INFO: Extracted packet for processing {"connection_id":171945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f7"} 
[2026-09-05 15:19:22] local.INFO: GPS Element Parsed {"raw_longitude":756647808,"raw_latitude":119533776,"longitude_deg":75.6647808,"latitude_deg":11.9533776,"altitude":56,"angle":260,"satellites":43,"speed":21,"hex_longitude":"2d198780","hex_latitude":"071ff0d0","is_valid_coordinates":true} 
[2026-09-05 15:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882017536001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17940903029112832,"note":"Value kept but may cause issues"} 
[2026-09-05 15:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844505552985550848,"note":"Value kept but may cause issues"} 
[2026-09-05 15:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788601640000,"timestamp_ms":1788601640000,"timestamp_seconds":1788601640,"priority":1,"record_length":96,"hex_timestamp":"000001a070f72440"} 
[2026-09-05 15:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-05 15:19: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-09-05 15:19:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882017536001,"66":12841,"102":206,"83":41984,"24":21,"16":17940903029112832,"45":1844505552985550848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882017536001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:19:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:19:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17940903029112832,"km_value":17940903029112.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844505552985550848,"description":"Unknown IO ID 45"} 
[2026-09-05 15:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882017536001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1844505552985550848}} 
[2026-09-05 15:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":171945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:19:22] local.INFO: GPS data processed {"connection_id":171945,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:19:22] local.INFO: Acknowledgment sent {"connection_id":171945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:19:35] local.INFO: TCP Data received {"connection_id":174347,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070f70500012d7b56c005ec05800010004329..."} 
[2026-09-05 15:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f70500012d7b56c005ec05800010004329..."} 
[2026-09-05 15:19:35] local.INFO: Processing buffer {"connection_id":174347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f70500012d7b56c005ec05800010004329..."} 
[2026-09-05 15:19:35] local.INFO: Packet analysis {"connection_id":174347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f7"} 
[2026-09-05 15:19:35] local.INFO: Extracted packet for processing {"connection_id":174347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f7"} 
[2026-09-05 15:19:35] local.INFO: GPS Element Parsed {"raw_longitude":763057856,"raw_latitude":99353984,"longitude_deg":76.3057856,"latitude_deg":9.9353984,"altitude":16,"angle":67,"satellites":41,"speed":25,"hex_longitude":"2d7b56c0","hex_latitude":"05ec0580","is_valid_coordinates":true} 
[2026-09-05 15:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882012928001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128508509577805824,"note":"Value kept but may cause issues"} 
[2026-09-05 15:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878354109585309696,"note":"Value kept but may cause issues"} 
[2026-09-05 15:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788601632000,"timestamp_ms":1788601632000,"timestamp_seconds":1788601632,"priority":1,"record_length":96,"hex_timestamp":"000001a070f70500"} 
[2026-09-05 15:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:19: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-09-05 15:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 15:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882012928001,"66":12961,"98":206,"87":13824,"24":25,"16":128508509577805824,"45":8878354109585309696},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-05 15:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882012928001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:19:35] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-05 15:19:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128508509577805824,"km_value":128508509577805.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878354109585309696,"description":"Unknown IO ID 45"} 
[2026-09-05 15:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882012928001,"power":12961,"unknown_98":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8878354109585309696}} 
[2026-09-05 15:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":174347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:19:35] local.INFO: GPS data processed {"connection_id":174347,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:19:35] local.INFO: Acknowledgment sent {"connection_id":174347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:19:45] local.INFO: TCP Data received {"connection_id":174348,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:19:45] local.INFO: Processing buffer {"connection_id":174348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:19:45] local.INFO: IMEI packet received {"connection_id":174348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":174348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:19:47] local.INFO: TCP Data received {"connection_id":173035,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:19:47] local.INFO: Processing buffer {"connection_id":173035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:19:47] local.INFO: IMEI packet received {"connection_id":173035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":173035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:19:50] local.INFO: TCP Data received {"connection_id":174348,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:19:50] local.INFO: Processing buffer {"connection_id":174348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:19:50] local.INFO: IMEI packet received {"connection_id":174348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":174348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:19:50] local.INFO: TCP Data received {"connection_id":174348,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070f72c10012d198380071fef80003800ec2a..."} 
[2026-09-05 15:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f72c10012d198380071fef80003800ec2a..."} 
[2026-09-05 15:19:50] local.INFO: Processing buffer {"connection_id":174348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f72c10012d198380071fef80003800ec2a..."} 
[2026-09-05 15:19:50] local.INFO: Packet analysis {"connection_id":174348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f7"} 
[2026-09-05 15:19:50] local.INFO: Extracted packet for processing {"connection_id":174348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f7"} 
[2026-09-05 15:19:50] local.INFO: GPS Element Parsed {"raw_longitude":756646784,"raw_latitude":119533440,"longitude_deg":75.6646784,"latitude_deg":11.953344,"altitude":56,"angle":236,"satellites":42,"speed":19,"hex_longitude":"2d198380","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-09-05 15:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882019840001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17940950273753088,"note":"Value kept but may cause issues"} 
[2026-09-05 15:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839579740893138944,"note":"Value kept but may cause issues"} 
[2026-09-05 15:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788601642000,"timestamp_ms":1788601642000,"timestamp_seconds":1788601642,"priority":1,"record_length":96,"hex_timestamp":"000001a070f72c10"} 
[2026-09-05 15:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:19: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-09-05 15:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-05 15:19:50] 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-09-05 15:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882019840001,"66":12798,"102":206,"83":41984,"24":19,"16":17940950273753088,"45":1839579740893138944},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882019840001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:19:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:19:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17940950273753088,"km_value":17940950273753.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839579740893138944,"description":"Unknown IO ID 45"} 
[2026-09-05 15:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882019840001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1839579740893138944}} 
[2026-09-05 15:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":174348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:19:51] local.INFO: GPS data processed {"connection_id":174348,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:19:51] local.INFO: Acknowledgment sent {"connection_id":174348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:19:52] local.INFO: TCP Data received {"connection_id":173035,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:19:52] local.INFO: Processing buffer {"connection_id":173035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:19:52] local.INFO: IMEI packet received {"connection_id":173035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":173035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:19:53] local.INFO: TCP Data received {"connection_id":173035,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070f53bf8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f53bf8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:19:53] local.INFO: Processing buffer {"connection_id":173035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f53bf8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:19:53] local.INFO: Packet analysis {"connection_id":173035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f5"} 
[2026-09-05 15:19:53] local.INFO: Extracted packet for processing {"connection_id":173035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f5"} 
[2026-09-05 15:19:53] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:19: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-09-05 15:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881910784001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:19:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788601515000,"timestamp_ms":1788601515000,"timestamp_seconds":1788601515,"priority":1,"record_length":96,"hex_timestamp":"000001a070f53bf8"} 
[2026-09-05 15:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:19:53] 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-09-05 15:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173035,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173035,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881910784001,"66":25397,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881910784001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:19:53] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:19:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:19:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881910784001,"power":25397,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":173035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769361,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:19:54] local.INFO: GPS data processed {"connection_id":173035,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:19:54] local.INFO: Acknowledgment sent {"connection_id":173035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:19:55] local.INFO: TCP Data received {"connection_id":171643,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:19:55] local.INFO: Processing buffer {"connection_id":171643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:19:55] local.INFO: IMEI packet received {"connection_id":171643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":171643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:19:56] local.INFO: TCP Data received {"connection_id":171947,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:19:56] local.INFO: Processing buffer {"connection_id":171947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:19:56] local.INFO: IMEI packet received {"connection_id":171947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":171947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:20:00] local.INFO: TCP Data received {"connection_id":171643,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:20:00] local.INFO: Processing buffer {"connection_id":171643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:20:00] local.INFO: IMEI packet received {"connection_id":171643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":171643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:20:01] local.INFO: TCP Data received {"connection_id":171643,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070f737c8012d7b794005ec1120000e00482a..."} 
[2026-09-05 15:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f737c8012d7b794005ec1120000e00482a..."} 
[2026-09-05 15:20:01] local.INFO: Processing buffer {"connection_id":171643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f737c8012d7b794005ec1120000e00482a..."} 
[2026-09-05 15:20:01] local.INFO: Packet analysis {"connection_id":171643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f7"} 
[2026-09-05 15:20:01] local.INFO: Extracted packet for processing {"connection_id":171643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f7"} 
[2026-09-05 15:20:01] local.INFO: GPS Element Parsed {"raw_longitude":763066688,"raw_latitude":99356960,"longitude_deg":76.3066688,"latitude_deg":9.935696,"altitude":14,"angle":72,"satellites":42,"speed":30,"hex_longitude":"2d7b7940","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-09-05 15:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882017792001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128508956254404608,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887502046329405440,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788601645000,"timestamp_ms":1788601645000,"timestamp_seconds":1788601645,"priority":1,"record_length":96,"hex_timestamp":"000001a070f737c8"} 
[2026-09-05 15:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-05 15:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882017792001,"66":13428,"98":206,"87":13824,"24":30,"16":128508956254404608,"45":8887502046329405440},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-05 15:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882017792001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:20:01] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-05 15:20:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128508956254404608,"km_value":128508956254404.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887502046329405440,"description":"Unknown IO ID 45"} 
[2026-09-05 15:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882017792001,"power":13428,"unknown_98":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8887502046329405440}} 
[2026-09-05 15:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":171643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:20:01] local.INFO: GPS data processed {"connection_id":171643,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:20:01] local.INFO: Acknowledgment sent {"connection_id":171643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:20:01] local.INFO: TCP Data received {"connection_id":171947,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:20:01] local.INFO: Processing buffer {"connection_id":171947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:20:01] local.INFO: IMEI packet received {"connection_id":171947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":171947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:20:03] local.INFO: TCP Data received {"connection_id":171947,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070f85cc0012d7dda8006006390000800292c..."} 
[2026-09-05 15:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f85cc0012d7dda8006006390000800292c..."} 
[2026-09-05 15:20:03] local.INFO: Processing buffer {"connection_id":171947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f85cc0012d7dda8006006390000800292c..."} 
[2026-09-05 15:20:03] local.INFO: Packet analysis {"connection_id":171947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f8"} 
[2026-09-05 15:20:03] local.INFO: Extracted packet for processing {"connection_id":171947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f8"} 
[2026-09-05 15:20:03] local.INFO: GPS Element Parsed {"raw_longitude":763222656,"raw_latitude":100688784,"longitude_deg":76.3222656,"latitude_deg":10.0688784,"altitude":8,"angle":41,"satellites":44,"speed":0,"hex_longitude":"2d7dda80","hex_latitude":"06006390","is_valid_coordinates":true} 
[2026-09-05 15:20: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-09-05 15:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881983232001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859101615521792,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184333312,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:03] 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-09-05 15:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788601720000,"timestamp_ms":1788601720000,"timestamp_seconds":1788601720,"priority":1,"record_length":96,"hex_timestamp":"000001a070f85cc0"} 
[2026-09-05 15:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:20: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-09-05 15:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 15:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881983232001,"66":26560,"244":206,"87":10752,"24":0,"16":399859101615521792,"45":9068631194184333312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881983232001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:20:03] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:20:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859101615521792,"km_value":399859101615521.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184333312,"description":"Unknown IO ID 45"} 
[2026-09-05 15:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881983232001,"power":26560,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184333312}} 
[2026-09-05 15:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":171947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:20:03] local.INFO: GPS data processed {"connection_id":171947,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:20:03] local.INFO: Acknowledgment sent {"connection_id":171947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:20:21] local.INFO: TCP Data received {"connection_id":174348,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070f73bb0012d197c40071feb38003801012b..."} 
[2026-09-05 15:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f73bb0012d197c40071feb38003801012b..."} 
[2026-09-05 15:20:21] local.INFO: Processing buffer {"connection_id":174348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f73bb0012d197c40071feb38003801012b..."} 
[2026-09-05 15:20:21] local.INFO: Packet analysis {"connection_id":174348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f7"} 
[2026-09-05 15:20:21] local.INFO: Extracted packet for processing {"connection_id":174348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f7"} 
[2026-09-05 15:20:21] local.INFO: GPS Element Parsed {"raw_longitude":756644928,"raw_latitude":119532344,"longitude_deg":75.6644928,"latitude_deg":11.9532344,"altitude":56,"angle":257,"satellites":43,"speed":21,"hex_longitude":"2d197c40","hex_latitude":"071feb38","is_valid_coordinates":true} 
[2026-09-05 15:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882020352001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941057647935488,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838453840986210304,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788601646000,"timestamp_ms":1788601646000,"timestamp_seconds":1788601646,"priority":1,"record_length":96,"hex_timestamp":"000001a070f73bb0"} 
[2026-09-05 15:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-05 15:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882020352001,"66":12819,"102":206,"83":41984,"24":21,"16":17941057647935488,"45":1838453840986210304},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882020352001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:20:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:20:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941057647935488,"km_value":17941057647935.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838453840986210304,"description":"Unknown IO ID 45"} 
[2026-09-05 15:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882020352001,"power":12819,"unknown_102":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1838453840986210304}} 
[2026-09-05 15:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":174348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:20:21] local.INFO: GPS data processed {"connection_id":174348,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:20:21] local.INFO: Acknowledgment sent {"connection_id":174348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:20:25] local.INFO: TCP Data received {"connection_id":173035,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070f53bf8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f53bf8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:20:25] local.INFO: Processing buffer {"connection_id":173035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f53bf8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:20:25] local.INFO: Packet analysis {"connection_id":173035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f5"} 
[2026-09-05 15:20:25] local.INFO: Extracted packet for processing {"connection_id":173035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f5"} 
[2026-09-05 15:20:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881910784001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788601515000,"timestamp_ms":1788601515000,"timestamp_seconds":1788601515,"priority":1,"record_length":96,"hex_timestamp":"000001a070f53bf8"} 
[2026-09-05 15:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:20:25] 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-09-05 15:20:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173035,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173035,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881910784001,"66":25397,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881910784001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:20:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:20:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:20:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881910784001,"power":25397,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":173035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769365,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:20:25] local.INFO: GPS data processed {"connection_id":173035,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:20:25] local.INFO: Acknowledgment sent {"connection_id":173035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:20:32] local.INFO: TCP Data received {"connection_id":171643,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070f9feb8012d7d1c0005ec3e900008003b28..."} 
[2026-09-05 15:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f9feb8012d7d1c0005ec3e900008003b28..."} 
[2026-09-05 15:20:32] local.INFO: Processing buffer {"connection_id":171643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f9feb8012d7d1c0005ec3e900008003b28..."} 
[2026-09-05 15:20:32] local.INFO: Packet analysis {"connection_id":171643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f9"} 
[2026-09-05 15:20:32] local.INFO: Extracted packet for processing {"connection_id":171643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f9"} 
[2026-09-05 15:20:32] local.INFO: GPS Element Parsed {"raw_longitude":763173888,"raw_latitude":99368592,"longitude_deg":76.3173888,"latitude_deg":9.9368592,"altitude":8,"angle":59,"satellites":40,"speed":10,"hex_longitude":"2d7d1c00","hex_latitude":"05ec3e90","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882067456001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128514140279930880,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014728735806334976,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788601827000,"timestamp_ms":1788601827000,"timestamp_seconds":1788601827,"priority":1,"record_length":96,"hex_timestamp":"000001a070f9feb8"} 
[2026-09-05 15:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:20: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-09-05 15: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-05 15:20:32] 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-09-05 15: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-09-05 15:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882067456001,"66":13037,"110":206,"87":13824,"24":10,"16":128514140279930880,"45":9014728735806334976},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-05 15:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882067456001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:20:32] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 15:20:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128514140279930880,"km_value":128514140279930.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014728735806334976,"description":"Unknown IO ID 45"} 
[2026-09-05 15:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882067456001,"power":13037,"unknown_110":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9014728735806334976}} 
[2026-09-05 15:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":171643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769366,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:20:32] local.INFO: GPS data processed {"connection_id":171643,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:20:32] local.INFO: Acknowledgment sent {"connection_id":171643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:20:34] local.INFO: TCP Data received {"connection_id":171947,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070f86c60012d7ddc0006006500000801652c..."} 
[2026-09-05 15:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f86c60012d7ddc0006006500000801652c..."} 
[2026-09-05 15:20:34] local.INFO: Processing buffer {"connection_id":171947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f86c60012d7ddc0006006500000801652c..."} 
[2026-09-05 15:20:34] local.INFO: Packet analysis {"connection_id":171947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f8"} 
[2026-09-05 15:20:34] local.INFO: Extracted packet for processing {"connection_id":171947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f8"} 
[2026-09-05 15:20:34] local.INFO: GPS Element Parsed {"raw_longitude":763223040,"raw_latitude":100689152,"longitude_deg":76.322304,"latitude_deg":10.0689152,"altitude":8,"angle":357,"satellites":44,"speed":0,"hex_longitude":"2d7ddc00","hex_latitude":"06006500","is_valid_coordinates":true} 
[2026-09-05 15:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882040320001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859101615521792,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068701562928599040,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:34] 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-09-05 15:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788601724000,"timestamp_ms":1788601724000,"timestamp_seconds":1788601724,"priority":1,"record_length":96,"hex_timestamp":"000001a070f86c60"} 
[2026-09-05 15:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-05 15:20:34] 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-09-05 15:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882040320001,"66":26560,"244":206,"87":10752,"24":0,"16":399859101615521792,"45":9068701562928599040},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882040320001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:20:34] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:20:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859101615521792,"km_value":399859101615521.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068701562928599040,"description":"Unknown IO ID 45"} 
[2026-09-05 15:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882040320001,"power":26560,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068701562928599040}} 
[2026-09-05 15:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":171947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:20:34] local.INFO: GPS data processed {"connection_id":171947,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:20:34] local.INFO: Acknowledgment sent {"connection_id":171947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:20:45] local.INFO: TCP Data received {"connection_id":171948,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:20:45] local.INFO: Processing buffer {"connection_id":171948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:20:45] local.INFO: IMEI packet received {"connection_id":171948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":171948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:20:47] local.INFO: TCP Data received {"connection_id":173036,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173036,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:20:47] local.INFO: Processing buffer {"connection_id":173036,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:20:47] local.INFO: IMEI packet received {"connection_id":173036,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":173036,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:20:50] local.INFO: TCP Data received {"connection_id":171948,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:20:50] local.INFO: Processing buffer {"connection_id":171948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:20:50] local.INFO: IMEI packet received {"connection_id":171948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":171948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:20:51] local.INFO: TCP Data received {"connection_id":171948,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070f73f98012d197a00071feb080038010d2b..."} 
[2026-09-05 15:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f73f98012d197a00071feb080038010d2b..."} 
[2026-09-05 15:20:51] local.INFO: Processing buffer {"connection_id":171948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f73f98012d197a00071feb080038010d2b..."} 
[2026-09-05 15:20:51] local.INFO: Packet analysis {"connection_id":171948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f7"} 
[2026-09-05 15:20:51] local.INFO: Extracted packet for processing {"connection_id":171948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f7"} 
[2026-09-05 15:20:51] local.INFO: GPS Element Parsed {"raw_longitude":756644352,"raw_latitude":119532296,"longitude_deg":75.6644352,"latitude_deg":11.9532296,"altitude":56,"angle":269,"satellites":43,"speed":20,"hex_longitude":"2d197a00","hex_latitude":"071feb08","is_valid_coordinates":true} 
[2026-09-05 15:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882021376001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941083417739264,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836413147404777472,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788601647000,"timestamp_ms":1788601647000,"timestamp_seconds":1788601647,"priority":1,"record_length":96,"hex_timestamp":"000001a070f73f98"} 
[2026-09-05 15:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 15:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:51] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182165285110016,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:51] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:51] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195239680,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:51] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503873376878592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:51] local.WARNING: Large IO value detected {"io_id":188,"raw_value":4127195136,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:51] local.WARNING: Large IO value detected {"io_id":112,"raw_value":-661404617567261696,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:51] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4027580468,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:51] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5476641033972678912,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675341143365648408,"corrected_to":0} 
[2026-09-05 15:20:51] local.WARNING: Large IO value detected {"io_id":229,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:51] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743864,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:51] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3168272384,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:51] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301383390873591079,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:51] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6701582162518396499,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:51] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755476750598385,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:51] local.WARNING: Large IO value detected {"io_id":104,"raw_value":84752219211505647,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:51] local.WARNING: Large IO value detected {"io_id":64,"raw_value":13793451334180096,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:51] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,102,83,24,241,157,16,189,160,44,45,128,239,56,42,10,66,36,240,43,1,69,227,188,112,31,4,113,205,229,163,176,39,53,2,63,7,50,18,54,164,208,104,64],"length":625,"final_offset":755,"validated_count":44,"validation_warnings":[{"io_id":205,"original":8675341143365648408,"validated":0}]} 
[2026-09-05 15:20:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035508025297272832,"timestamp_seconds":4035508025297273.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 15:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882021376001,"66":12819,"102":206,"83":41984,"24":20,"16":17941083417739264,"45":1836413147404777472},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882021376001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:20:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:20:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941083417739264,"km_value":17941083417739.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836413147404777472,"description":"Unknown IO ID 45"} 
[2026-09-05 15:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882021376001,"power":12819,"unknown_102":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1836413147404777472}} 
[2026-09-05 15:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":171948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:20:51] local.INFO: GPS data processed {"connection_id":171948,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:20:51] local.INFO: Acknowledgment sent {"connection_id":171948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:20:52] local.INFO: TCP Data received {"connection_id":173036,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173036,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:20:52] local.INFO: Processing buffer {"connection_id":173036,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:20:52] local.INFO: IMEI packet received {"connection_id":173036,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":173036,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:20:54] local.INFO: TCP Data received {"connection_id":173036,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070f53bf8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f53bf8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:20:54] local.INFO: Processing buffer {"connection_id":173036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f53bf8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:20:54] local.INFO: Packet analysis {"connection_id":173036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f5"} 
[2026-09-05 15:20:54] local.INFO: Extracted packet for processing {"connection_id":173036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f5"} 
[2026-09-05 15:20:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881910784001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788601515000,"timestamp_ms":1788601515000,"timestamp_seconds":1788601515,"priority":1,"record_length":96,"hex_timestamp":"000001a070f53bf8"} 
[2026-09-05 15:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173036,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173036,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881910784001,"66":25397,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881910784001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:20:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:20:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:20:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881910784001,"power":25397,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":173036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769369,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:20:54] local.INFO: GPS data processed {"connection_id":173036,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:20:54] local.INFO: Acknowledgment sent {"connection_id":173036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:20:55] local.INFO: TCP Data received {"connection_id":174349,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:20:55] local.INFO: Processing buffer {"connection_id":174349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:20:55] local.INFO: IMEI packet received {"connection_id":174349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":174349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:20:55] local.INFO: TCP Data received {"connection_id":174350,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:20:55] local.INFO: Processing buffer {"connection_id":174350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:20:55] local.INFO: IMEI packet received {"connection_id":174350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":174350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:20:56] local.INFO: TCP Data received {"connection_id":174350,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:20:56] local.INFO: Processing buffer {"connection_id":174350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:20:56] local.INFO: IMEI packet received {"connection_id":174350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":174350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:21:01] local.INFO: TCP Data received {"connection_id":174349,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:21:01] local.INFO: Processing buffer {"connection_id":174349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:21:01] local.INFO: IMEI packet received {"connection_id":174349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":174349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:21:01] local.INFO: TCP Data received {"connection_id":174350,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:21:01] local.INFO: Processing buffer {"connection_id":174350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:21:01] local.INFO: IMEI packet received {"connection_id":174350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":174350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:21:02] local.INFO: TCP Data received {"connection_id":174350,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070f8be68012d7ddc0006006500000801652d..."} 
[2026-09-05 15:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f8be68012d7ddc0006006500000801652d..."} 
[2026-09-05 15:21:02] local.INFO: Processing buffer {"connection_id":174350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f8be68012d7ddc0006006500000801652d..."} 
[2026-09-05 15:21:02] local.INFO: Packet analysis {"connection_id":174350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f8"} 
[2026-09-05 15:21:02] local.INFO: Extracted packet for processing {"connection_id":174350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f8"} 
[2026-09-05 15:21:02] local.INFO: GPS Element Parsed {"raw_longitude":763223040,"raw_latitude":100689152,"longitude_deg":76.322304,"latitude_deg":10.0689152,"altitude":8,"angle":357,"satellites":45,"speed":0,"hex_longitude":"2d7ddc00","hex_latitude":"06006500","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882041344001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859101615521792,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9069123775393759232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:02] 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-09-05 15:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788601745000,"timestamp_ms":1788601745000,"timestamp_seconds":1788601745,"priority":1,"record_length":96,"hex_timestamp":"000001a070f8be68"} 
[2026-09-05 15:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-05 15:21:02] 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-09-05 15: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-09-05 15:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882041344001,"66":27865,"244":206,"87":10752,"24":0,"16":399859101615521792,"45":9069123775393759232},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882041344001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:21:02] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:21:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859101615521792,"km_value":399859101615521.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9069123775393759232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882041344001,"power":27865,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9069123775393759232}} 
[2026-09-05 15:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":174350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:21:02] local.INFO: GPS data processed {"connection_id":174350,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:21:02] local.INFO: Acknowledgment sent {"connection_id":174350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:21:03] local.INFO: TCP Data received {"connection_id":174349,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070fa02a0012d7d1cc005ec3f300008002627..."} 
[2026-09-05 15:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fa02a0012d7d1cc005ec3f300008002627..."} 
[2026-09-05 15:21:03] local.INFO: Processing buffer {"connection_id":174349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fa02a0012d7d1cc005ec3f300008002627..."} 
[2026-09-05 15:21:03] local.INFO: Packet analysis {"connection_id":174349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fa"} 
[2026-09-05 15:21:03] local.INFO: Extracted packet for processing {"connection_id":174349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fa"} 
[2026-09-05 15:21:03] local.INFO: GPS Element Parsed {"raw_longitude":763174080,"raw_latitude":99368752,"longitude_deg":76.317408,"latitude_deg":9.9368752,"altitude":8,"angle":38,"satellites":39,"speed":9,"hex_longitude":"2d7d1cc0","hex_latitude":"05ec3f30","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882067712001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128514148869865472,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015080579527249920,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788601828000,"timestamp_ms":1788601828000,"timestamp_seconds":1788601828,"priority":1,"record_length":96,"hex_timestamp":"000001a070fa02a0"} 
[2026-09-05 15:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:21: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-09-05 15: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-05 15:21:03] 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-09-05 15: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-09-05 15:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882067712001,"66":13037,"110":206,"87":13824,"24":9,"16":128514148869865472,"45":9015080579527249920},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-05 15:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882067712001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:21:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 15:21:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128514148869865472,"km_value":128514148869865.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015080579527249920,"description":"Unknown IO ID 45"} 
[2026-09-05 15:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882067712001,"power":13037,"unknown_110":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9015080579527249920}} 
[2026-09-05 15:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":174349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769371,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:21:03] local.INFO: GPS data processed {"connection_id":174349,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:21:03] local.INFO: Acknowledgment sent {"connection_id":174349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:21:22] local.INFO: TCP Data received {"connection_id":171948,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070f762c0012d196cc0071fec78003a011b2a..."} 
[2026-09-05 15:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f762c0012d196cc0071fec78003a011b2a..."} 
[2026-09-05 15:21:22] local.INFO: Processing buffer {"connection_id":171948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f762c0012d196cc0071fec78003a011b2a..."} 
[2026-09-05 15:21:22] local.INFO: Packet analysis {"connection_id":171948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f7"} 
[2026-09-05 15:21:22] local.INFO: Extracted packet for processing {"connection_id":171948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f7"} 
[2026-09-05 15:21:22] local.INFO: GPS Element Parsed {"raw_longitude":756640960,"raw_latitude":119532664,"longitude_deg":75.664096,"latitude_deg":11.9532664,"altitude":58,"angle":283,"satellites":42,"speed":9,"hex_longitude":"2d196cc0","hex_latitude":"071fec78","is_valid_coordinates":true} 
[2026-09-05 15:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882021632001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941246626496512,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835779828707166208,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788601656000,"timestamp_ms":1788601656000,"timestamp_seconds":1788601656,"priority":1,"record_length":96,"hex_timestamp":"000001a070f762c0"} 
[2026-09-05 15:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 15:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:22] local.WARNING: Large IO value detected {"io_id":56,"raw_value":84752194515443696,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:22] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182165285110016,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:22] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:22] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503873378058240,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:22] local.WARNING: Large IO value detected {"io_id":112,"raw_value":-658106082683935296,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:22] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4033871925,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:22] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5476641033972678912,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-09-05 15:21:22] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2147950576,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:22] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2701184376,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:22] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3169255424,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:22] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301884768192631334,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:22] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-7349648674877551021,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:22] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755442390860017,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:22] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195298048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:22] local.WARNING: Large IO value detected {"io_id":40,"raw_value":13793498578819840,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:22] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,102,83,24,241,157,16,189,160,59,45,64,235,56,43,10,66,44,128,239,42,36,1,240,41,227,112,31,4,113,205,19,245,158,39,50,2,63,7,51,53,164,216,69,40],"length":625,"final_offset":755,"validated_count":45,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0}]} 
[2026-09-05 15:21:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035521219436740608,"timestamp_seconds":4035521219436740.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 15:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882021632001,"66":12711,"102":206,"83":41984,"24":9,"16":17941246626496512,"45":1835779828707166208},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882021632001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:21:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:21:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941246626496512,"km_value":17941246626496.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835779828707166208,"description":"Unknown IO ID 45"} 
[2026-09-05 15:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882021632001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1835779828707166208}} 
[2026-09-05 15:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":171948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:21:22] local.INFO: GPS data processed {"connection_id":171948,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:21:22] local.INFO: Acknowledgment sent {"connection_id":171948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:21:25] local.INFO: TCP Data received {"connection_id":173036,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070f9d3c0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f9d3c0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:21:25] local.INFO: Processing buffer {"connection_id":173036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f9d3c0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:21:25] local.INFO: Packet analysis {"connection_id":173036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f9"} 
[2026-09-05 15:21:25] local.INFO: Extracted packet for processing {"connection_id":173036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f9"} 
[2026-09-05 15:21:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881987840001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788601816000,"timestamp_ms":1788601816000,"timestamp_seconds":1788601816,"priority":1,"record_length":96,"hex_timestamp":"000001a070f9d3c0"} 
[2026-09-05 15:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 15:21:25] 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-09-05 15:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173036,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173036,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881987840001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881987840001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:21:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:21:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:21:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881987840001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":173036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769373,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:21:26] local.INFO: GPS data processed {"connection_id":173036,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:21:26] local.INFO: Acknowledgment sent {"connection_id":173036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:21:34] local.INFO: TCP Data received {"connection_id":174349,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070fa0688012d7d1d0005ec40000007000827..."} 
[2026-09-05 15:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fa0688012d7d1d0005ec40000007000827..."} 
[2026-09-05 15:21:34] local.INFO: Processing buffer {"connection_id":174349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fa0688012d7d1d0005ec40000007000827..."} 
[2026-09-05 15:21:34] local.INFO: Packet analysis {"connection_id":174349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fa"} 
[2026-09-05 15:21:34] local.INFO: Extracted packet for processing {"connection_id":174349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fa"} 
[2026-09-05 15:21:34] local.INFO: GPS Element Parsed {"raw_longitude":763174144,"raw_latitude":99368960,"longitude_deg":76.3174144,"latitude_deg":9.936896,"altitude":7,"angle":8,"satellites":39,"speed":9,"hex_longitude":"2d7d1d00","hex_latitude":"05ec4000","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882067968001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128514161754767360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015291685759823872,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788601829000,"timestamp_ms":1788601829000,"timestamp_seconds":1788601829,"priority":1,"record_length":96,"hex_timestamp":"000001a070fa0688"} 
[2026-09-05 15:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:21: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-09-05 15: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-05 15:21:34] 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-09-05 15: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-09-05 15:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882067968001,"66":13091,"110":206,"87":13824,"24":9,"16":128514161754767360,"45":9015291685759823872},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-05 15:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882067968001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:21:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 15:21:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128514161754767360,"km_value":128514161754767.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015291685759823872,"description":"Unknown IO ID 45"} 
[2026-09-05 15:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882067968001,"power":13091,"unknown_110":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9015291685759823872}} 
[2026-09-05 15:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":174349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769374,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:21:34] local.INFO: GPS data processed {"connection_id":174349,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:21:34] local.INFO: Acknowledgment sent {"connection_id":174349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:21:34] local.INFO: TCP Data received {"connection_id":174350,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070fa1240012d7ddac0060064f8000a00c72b..."} 
[2026-09-05 15:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fa1240012d7ddac0060064f8000a00c72b..."} 
[2026-09-05 15:21:34] local.INFO: Processing buffer {"connection_id":174350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fa1240012d7ddac0060064f8000a00c72b..."} 
[2026-09-05 15:21:34] local.INFO: Packet analysis {"connection_id":174350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fa"} 
[2026-09-05 15:21:34] local.INFO: Extracted packet for processing {"connection_id":174350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fa"} 
[2026-09-05 15:21:34] local.INFO: GPS Element Parsed {"raw_longitude":763222720,"raw_latitude":100689144,"longitude_deg":76.322272,"latitude_deg":10.0689144,"altitude":10,"angle":199,"satellites":43,"speed":0,"hex_longitude":"2d7ddac0","hex_latitude":"060064f8","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882067968001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859264824279040,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068842300417105920,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:34] 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-09-05 15:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788601832000,"timestamp_ms":1788601832000,"timestamp_seconds":1788601832,"priority":1,"record_length":96,"hex_timestamp":"000001a070fa1240"} 
[2026-09-05 15:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 15:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882067968001,"66":27930,"244":206,"87":10752,"24":0,"16":399859264824279040,"45":9068842300417105920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882067968001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:21:34] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:21:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859264824279040,"km_value":399859264824279.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068842300417105920,"description":"Unknown IO ID 45"} 
[2026-09-05 15:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882067968001,"power":27930,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068842300417105920}} 
[2026-09-05 15:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":174350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:21:34] local.INFO: GPS data processed {"connection_id":174350,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:21:34] local.INFO: Acknowledgment sent {"connection_id":174350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:21:43] local.INFO: TCP Data received {"connection_id":174351,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:21:43] local.INFO: Processing buffer {"connection_id":174351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:21:43] local.INFO: IMEI packet received {"connection_id":174351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":174351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:21:44] local.INFO: TCP Data received {"connection_id":174351,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:21:44] local.INFO: Processing buffer {"connection_id":174351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:21:44] local.INFO: IMEI packet received {"connection_id":174351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":174351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:21:50] local.INFO: TCP Data received {"connection_id":174351,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:21:50] local.INFO: Processing buffer {"connection_id":174351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:21:50] local.INFO: IMEI packet received {"connection_id":174351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":174351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:21:50] local.INFO: TCP Data received {"connection_id":174351,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070f7b4c8012d196880071fed50003d011c29..."} 
[2026-09-05 15:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f7b4c8012d196880071fed50003d011c29..."} 
[2026-09-05 15:21:51] local.INFO: Processing buffer {"connection_id":174351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f7b4c8012d196880071fed50003d011c29..."} 
[2026-09-05 15:21:51] local.INFO: Packet analysis {"connection_id":174351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f7"} 
[2026-09-05 15:21:51] local.INFO: Extracted packet for processing {"connection_id":174351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f7"} 
[2026-09-05 15:21:51] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882023936001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832050285265844224,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788601677000,"timestamp_ms":1788601677000,"timestamp_seconds":1788601677,"priority":1,"record_length":96,"hex_timestamp":"000001a070f7b4c8"} 
[2026-09-05 15:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-05 15:21:51] 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-09-05 15:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882023936001,"66":12743,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1832050285265844224},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882023936001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:21:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:21:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832050285265844224,"description":"Unknown IO ID 45"} 
[2026-09-05 15:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882023936001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832050285265844224}} 
[2026-09-05 15:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":174351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:21:51] local.INFO: GPS data processed {"connection_id":174351,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:21:51] local.INFO: Acknowledgment sent {"connection_id":174351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:21:52] local.INFO: TCP Data received {"connection_id":173037,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173037,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:21:52] local.INFO: Processing buffer {"connection_id":173037,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:21:52] local.INFO: IMEI packet received {"connection_id":173037,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":173037,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:21:55] local.INFO: TCP Data received {"connection_id":174352,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174352,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:21:55] local.INFO: Processing buffer {"connection_id":174352,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:21:55] local.INFO: IMEI packet received {"connection_id":174352,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":174352,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:21:56] local.INFO: TCP Data received {"connection_id":174353,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:21:56] local.INFO: Processing buffer {"connection_id":174353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:21:56] local.INFO: IMEI packet received {"connection_id":174353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":174353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:21:57] local.INFO: TCP Data received {"connection_id":173037,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173037,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:21:57] local.INFO: Processing buffer {"connection_id":173037,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:21:57] local.INFO: IMEI packet received {"connection_id":173037,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":173037,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:21:58] local.INFO: TCP Data received {"connection_id":174352,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174352,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:21:58] local.INFO: Processing buffer {"connection_id":174352,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:21:58] local.INFO: IMEI packet received {"connection_id":174352,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":174352,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:21:58] local.INFO: TCP Data received {"connection_id":173037,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070f9d3c0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f9d3c0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:21:58] local.INFO: Processing buffer {"connection_id":173037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f9d3c0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:21:58] local.INFO: Packet analysis {"connection_id":173037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f9"} 
[2026-09-05 15:21:58] local.INFO: Extracted packet for processing {"connection_id":173037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f9"} 
[2026-09-05 15:21:58] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881987840001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788601816000,"timestamp_ms":1788601816000,"timestamp_seconds":1788601816,"priority":1,"record_length":96,"hex_timestamp":"000001a070f9d3c0"} 
[2026-09-05 15:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:21:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 15:21:58] 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-09-05 15:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173037,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173037,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881987840001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881987840001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:21:58] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:21:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:21:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881987840001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":173037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769377,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:21:58] local.INFO: GPS data processed {"connection_id":173037,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:21:58] local.INFO: Acknowledgment sent {"connection_id":173037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:21:59] local.INFO: TCP Data received {"connection_id":174353,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:21:59] local.INFO: Processing buffer {"connection_id":174353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:21:59] local.INFO: IMEI packet received {"connection_id":174353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":174353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:22:00] local.INFO: TCP Data received {"connection_id":174352,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070fa0a70012d7d1d0005ec40f80007014e27..."} 
[2026-09-05 15:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fa0a70012d7d1d0005ec40f80007014e27..."} 
[2026-09-05 15:22:00] local.INFO: Processing buffer {"connection_id":174352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fa0a70012d7d1d0005ec40f80007014e27..."} 
[2026-09-05 15:22:00] local.INFO: Packet analysis {"connection_id":174352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fa"} 
[2026-09-05 15:22:00] local.INFO: Extracted packet for processing {"connection_id":174352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fa"} 
[2026-09-05 15:22:00] local.INFO: GPS Element Parsed {"raw_longitude":763174144,"raw_latitude":99369208,"longitude_deg":76.3174144,"latitude_deg":9.9369208,"altitude":7,"angle":334,"satellites":39,"speed":10,"hex_longitude":"2d7d1d00","hex_latitude":"05ec40f8","is_valid_coordinates":true} 
[2026-09-05 15:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882068224001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128514170344701952,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015362054504054784,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788601830000,"timestamp_ms":1788601830000,"timestamp_seconds":1788601830,"priority":1,"record_length":96,"hex_timestamp":"000001a070fa0a70"} 
[2026-09-05 15:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-05 15:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882068224001,"66":13091,"110":206,"87":13824,"24":10,"16":128514170344701952,"45":9015362054504054784},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-05 15:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882068224001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:22:00] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-05 15:22:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128514170344701952,"km_value":128514170344701.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015362054504054784,"description":"Unknown IO ID 45"} 
[2026-09-05 15:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882068224001,"power":13091,"unknown_110":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9015362054504054784}} 
[2026-09-05 15:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":174352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:22:00] local.INFO: GPS data processed {"connection_id":174352,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:22:00] local.INFO: Acknowledgment sent {"connection_id":174352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:22:01] local.INFO: TCP Data received {"connection_id":174353,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:22:01] local.INFO: Processing buffer {"connection_id":174353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:22:01] local.INFO: IMEI packet received {"connection_id":174353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":174353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:22:02] local.INFO: TCP Data received {"connection_id":173037,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070f9d3c0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f9d3c0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:22:02] local.INFO: Processing buffer {"connection_id":173037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f9d3c0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:22:02] local.INFO: Packet analysis {"connection_id":173037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f9"} 
[2026-09-05 15:22:02] local.INFO: Extracted packet for processing {"connection_id":173037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f9"} 
[2026-09-05 15:22:02] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 15:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881987840001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788601816000,"timestamp_ms":1788601816000,"timestamp_seconds":1788601816,"priority":1,"record_length":96,"hex_timestamp":"000001a070f9d3c0"} 
[2026-09-05 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-09-05 15:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 15: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-09-05 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-09-05 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-09-05 15:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173037,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173037,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881987840001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881987840001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:22:02] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:22:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:22:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881987840001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":173037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769379,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:22:03] local.INFO: GPS data processed {"connection_id":173037,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:22:03] local.INFO: Acknowledgment sent {"connection_id":173037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:22:03] local.INFO: TCP Data received {"connection_id":174353,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070fa21e0012d7dda8006006450000a00b529..."} 
[2026-09-05 15:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fa21e0012d7dda8006006450000a00b529..."} 
[2026-09-05 15:22:03] local.INFO: Processing buffer {"connection_id":174353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fa21e0012d7dda8006006450000a00b529..."} 
[2026-09-05 15:22:03] local.INFO: Packet analysis {"connection_id":174353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fa"} 
[2026-09-05 15:22:03] local.INFO: Extracted packet for processing {"connection_id":174353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fa"} 
[2026-09-05 15:22:03] local.INFO: GPS Element Parsed {"raw_longitude":763222656,"raw_latitude":100688976,"longitude_deg":76.3222656,"latitude_deg":10.0688976,"altitude":10,"angle":181,"satellites":41,"speed":2,"hex_longitude":"2d7dda80","hex_latitude":"06006450","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882068992001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859277709180928,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068771931672868864,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:03] 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-09-05 15:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788601836000,"timestamp_ms":1788601836000,"timestamp_seconds":1788601836,"priority":1,"record_length":96,"hex_timestamp":"000001a070fa21e0"} 
[2026-09-05 15:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:22: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-09-05 15: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 15:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882068992001,"66":27930,"244":206,"87":10752,"24":2,"16":399859277709180928,"45":9068771931672868864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882068992001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:22:03] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:22:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859277709180928,"km_value":399859277709180.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068771931672868864,"description":"Unknown IO ID 45"} 
[2026-09-05 15:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882068992001,"power":27930,"unknown_244":206,"unknown_87":10752,"ignition":2,"odometer":null,"unknown_45":9068771931672868864}} 
[2026-09-05 15:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":174353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:22:03] local.INFO: GPS data processed {"connection_id":174353,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:22:03] local.INFO: Acknowledgment sent {"connection_id":174353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:22:22] local.INFO: TCP Data received {"connection_id":174351,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070f806d0012d196880071fed50003d011c27..."} 
[2026-09-05 15:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f806d0012d196880071fed50003d011c27..."} 
[2026-09-05 15:22:22] local.INFO: Processing buffer {"connection_id":174351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f806d0012d196880071fed50003d011c27..."} 
[2026-09-05 15:22:22] local.INFO: Packet analysis {"connection_id":174351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f8"} 
[2026-09-05 15:22:22] local.INFO: Extracted packet for processing {"connection_id":174351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f8"} 
[2026-09-05 15:22:22] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882029312001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788601698000,"timestamp_ms":1788601698000,"timestamp_seconds":1788601698,"priority":1,"record_length":96,"hex_timestamp":"000001a070f806d0"} 
[2026-09-05 15:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-05 15:22:22] 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-09-05 15:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882029312001,"66":12711,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882029312001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:22:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:22:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882029312001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":174351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:22:22] local.INFO: GPS data processed {"connection_id":174351,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:22:22] local.INFO: Acknowledgment sent {"connection_id":174351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:22:32] local.INFO: TCP Data received {"connection_id":174352,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070fb9110012d7be74005ec2cb80007008d20..."} 
[2026-09-05 15:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fb9110012d7be74005ec2cb80007008d20..."} 
[2026-09-05 15:22:32] local.INFO: Processing buffer {"connection_id":174352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fb9110012d7be74005ec2cb80007008d20..."} 
[2026-09-05 15:22:32] local.INFO: Packet analysis {"connection_id":174352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fb"} 
[2026-09-05 15:22:32] local.INFO: Extracted packet for processing {"connection_id":174352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fb"} 
[2026-09-05 15:22:32] local.INFO: GPS Element Parsed {"raw_longitude":763094848,"raw_latitude":99364024,"longitude_deg":76.3094848,"latitude_deg":9.9364024,"altitude":7,"angle":141,"satellites":32,"speed":17,"hex_longitude":"2d7be740","hex_latitude":"05ec2cb8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 15:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882093824001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128518100239777792,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927823336745869312,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788601930000,"timestamp_ms":1788601930000,"timestamp_seconds":1788601930,"priority":1,"record_length":96,"hex_timestamp":"000001a070fb9110"} 
[2026-09-05 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-09-05 15:22: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-09-05 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-05 15:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630486,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":946037529868501002,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:32] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:32] local.WARNING: Large IO value detected {"io_id":112,"raw_value":4219052033,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:32] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634553145775558,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-09-05 15:22:32] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3087084923,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:32] local.WARNING: Large IO value detected {"io_id":231,"raw_value":2147871797,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:32] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941333,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:32] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:32] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2523529216,"corrected_to":0} 
[2026-09-05 15:22:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3962961920,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:32] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-936742210400944121,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:32] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-143889419798000041,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:32] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755532585173233,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:32] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,198,87,24,241,157,16,150,160,137,45,47,7,35,10,66,133,64,48,34,125,128,1,240,254,227,112,236,4,113,205,117,231,31,239,51,2,200,5,8,123,49,54],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0},{"io_id":200,"original":2523529216,"validated":0}]} 
[2026-09-05 15:22:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504571533869318144,"timestamp_seconds":504571533869318.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 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-09-05 15:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882093824001,"66":13472,"198":206,"87":13824,"24":17,"16":128518100239777792,"45":8927823336745869312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 15:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882093824001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:22:32] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 15:22:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128518100239777792,"km_value":128518100239777.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927823336745869312,"description":"Unknown IO ID 45"} 
[2026-09-05 15:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882093824001,"power":13472,"unknown_198":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8927823336745869312}} 
[2026-09-05 15:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":174352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:22:32] local.INFO: GPS data processed {"connection_id":174352,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:22:32] local.INFO: Acknowledgment sent {"connection_id":174352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:22:34] local.INFO: TCP Data received {"connection_id":174353,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070fa29b0012d7ddac0060063a0000a00a52b..."} 
[2026-09-05 15:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fa29b0012d7ddac0060063a0000a00a52b..."} 
[2026-09-05 15:22:34] local.INFO: Processing buffer {"connection_id":174353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fa29b0012d7ddac0060063a0000a00a52b..."} 
[2026-09-05 15:22:34] local.INFO: Packet analysis {"connection_id":174353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fa"} 
[2026-09-05 15:22:34] local.INFO: Extracted packet for processing {"connection_id":174353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fa"} 
[2026-09-05 15:22:34] local.INFO: GPS Element Parsed {"raw_longitude":763222720,"raw_latitude":100688800,"longitude_deg":76.322272,"latitude_deg":10.06888,"altitude":10,"angle":165,"satellites":43,"speed":3,"hex_longitude":"2d7ddac0","hex_latitude":"060063a0","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882070016001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859286299115520,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068701562928648192,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:34] 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-09-05 15:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788601838000,"timestamp_ms":1788601838000,"timestamp_seconds":1788601838,"priority":1,"record_length":96,"hex_timestamp":"000001a070fa29b0"} 
[2026-09-05 15:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 15:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882070016001,"66":27876,"244":206,"87":10752,"24":3,"16":399859286299115520,"45":9068701562928648192},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882070016001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:22:34] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:22:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859286299115520,"km_value":399859286299115.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068701562928648192,"description":"Unknown IO ID 45"} 
[2026-09-05 15:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882070016001,"power":27876,"unknown_244":206,"unknown_87":10752,"ignition":3,"odometer":null,"unknown_45":9068701562928648192}} 
[2026-09-05 15:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":174353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:22:34] local.INFO: GPS data processed {"connection_id":174353,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:22:34] local.INFO: Acknowledgment sent {"connection_id":174353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:22:44] local.INFO: TCP Data received {"connection_id":171645,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:22:44] local.INFO: Processing buffer {"connection_id":171645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:22:44] local.INFO: IMEI packet received {"connection_id":171645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":171645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:22:47] local.INFO: TCP Data received {"connection_id":171645,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:22:47] local.INFO: Processing buffer {"connection_id":171645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:22:47] local.INFO: IMEI packet received {"connection_id":171645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":171645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:22:47] local.INFO: TCP Data received {"connection_id":171644,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171644,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:22:47] local.INFO: Processing buffer {"connection_id":171644,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:22:47] local.INFO: IMEI packet received {"connection_id":171644,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":171644,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:22:50] local.INFO: TCP Data received {"connection_id":171645,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:22:50] local.INFO: Processing buffer {"connection_id":171645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:22:50] local.INFO: IMEI packet received {"connection_id":171645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":171645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:22:50] local.INFO: TCP Data received {"connection_id":171645,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070f858d8012d196880071fed50003d011c2a..."} 
[2026-09-05 15:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f858d8012d196880071fed50003d011c2a..."} 
[2026-09-05 15:22:50] local.INFO: Processing buffer {"connection_id":171645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f858d8012d196880071fed50003d011c2a..."} 
[2026-09-05 15:22:50] local.INFO: Packet analysis {"connection_id":171645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f8"} 
[2026-09-05 15:22:50] local.INFO: Extracted packet for processing {"connection_id":171645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f8"} 
[2026-09-05 15:22:50] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882034688001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788601719000,"timestamp_ms":1788601719000,"timestamp_seconds":1788601719,"priority":1,"record_length":96,"hex_timestamp":"000001a070f858d8"} 
[2026-09-05 15:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15: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-09-05 15: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-05 15:22:50] 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-09-05 15: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-09-05 15:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882034688001,"66":12743,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882034688001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:22:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:22:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882034688001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":171645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:22:51] local.INFO: GPS data processed {"connection_id":171645,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:22:51] local.INFO: Acknowledgment sent {"connection_id":171645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:22:52] local.INFO: TCP Data received {"connection_id":171644,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171644,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:22:52] local.INFO: Processing buffer {"connection_id":171644,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:22:52] local.INFO: IMEI packet received {"connection_id":171644,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":171644,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:22:54] local.INFO: TCP Data received {"connection_id":171644,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070f9d3c0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f9d3c0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:22:54] local.INFO: Processing buffer {"connection_id":171644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f9d3c0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:22:54] local.INFO: Packet analysis {"connection_id":171644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f9"} 
[2026-09-05 15:22:54] local.INFO: Extracted packet for processing {"connection_id":171644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f9"} 
[2026-09-05 15:22:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881987840001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788601816000,"timestamp_ms":1788601816000,"timestamp_seconds":1788601816,"priority":1,"record_length":96,"hex_timestamp":"000001a070f9d3c0"} 
[2026-09-05 15:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:22:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 15:22:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171644,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171644,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881987840001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881987840001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:22:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:22:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:22:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881987840001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":171644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769385,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:22:54] local.INFO: GPS data processed {"connection_id":171644,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:22:54] local.INFO: Acknowledgment sent {"connection_id":171644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:22:55] local.INFO: TCP Data received {"connection_id":174354,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:22:55] local.INFO: Processing buffer {"connection_id":174354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:22:55] local.INFO: IMEI packet received {"connection_id":174354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":174354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:22:56] local.INFO: TCP Data received {"connection_id":173038,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:22:56] local.INFO: Processing buffer {"connection_id":173038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:22:56] local.INFO: IMEI packet received {"connection_id":173038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":173038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:22:56] local.INFO: TCP Data received {"connection_id":174354,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:22:56] local.INFO: Processing buffer {"connection_id":174354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:22:56] local.INFO: IMEI packet received {"connection_id":174354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":174354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:22:57] local.INFO: TCP Data received {"connection_id":173038,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:22:57] local.INFO: Processing buffer {"connection_id":173038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:22:57] local.INFO: IMEI packet received {"connection_id":173038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":173038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:23:00] local.INFO: TCP Data received {"connection_id":174354,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:23:00] local.INFO: Processing buffer {"connection_id":174354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:23:00] local.INFO: IMEI packet received {"connection_id":174354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":174354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:23:01] local.INFO: TCP Data received {"connection_id":173038,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:23:01] local.INFO: Processing buffer {"connection_id":173038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:23:01] local.INFO: IMEI packet received {"connection_id":173038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":173038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:23:02] local.INFO: TCP Data received {"connection_id":174354,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070fbb050012d7beb4005ec28800006009821..."} 
[2026-09-05 15:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fbb050012d7beb4005ec28800006009821..."} 
[2026-09-05 15:23:02] local.INFO: Processing buffer {"connection_id":174354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fbb050012d7beb4005ec28800006009821..."} 
[2026-09-05 15:23:02] local.INFO: Packet analysis {"connection_id":174354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fb"} 
[2026-09-05 15:23:02] local.INFO: Extracted packet for processing {"connection_id":174354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fb"} 
[2026-09-05 15:23:02] local.INFO: GPS Element Parsed {"raw_longitude":763095872,"raw_latitude":99362944,"longitude_deg":76.3095872,"latitude_deg":9.9362944,"altitude":6,"angle":152,"satellites":33,"speed":6,"hex_longitude":"2d7beb40","hex_latitude":"05ec2880","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882094080001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128518173254221824,"note":"Value kept but may cause issues"} 
[2026-09-05 15:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928175180466665472,"note":"Value kept but may cause issues"} 
[2026-09-05 15:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788601938000,"timestamp_ms":1788601938000,"timestamp_seconds":1788601938,"priority":1,"record_length":96,"hex_timestamp":"000001a070fbb050"} 
[2026-09-05 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-09-05 15:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-05 15:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 15:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882094080001,"66":12906,"198":206,"87":13824,"24":6,"16":128518173254221824,"45":8928175180466665472},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 15:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882094080001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:23:02] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 15:23:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128518173254221824,"km_value":128518173254221.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928175180466665472,"description":"Unknown IO ID 45"} 
[2026-09-05 15:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882094080001,"power":12906,"unknown_198":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8928175180466665472}} 
[2026-09-05 15:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":174354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769386,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:23:03] local.INFO: GPS data processed {"connection_id":174354,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:23:03] local.INFO: Acknowledgment sent {"connection_id":174354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:23:05] local.INFO: TCP Data received {"connection_id":173038,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070fb8940012d7dd7c0060062680008003a2d..."} 
[2026-09-05 15:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fb8940012d7dd7c0060062680008003a2d..."} 
[2026-09-05 15:23:05] local.INFO: Processing buffer {"connection_id":173038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fb8940012d7dd7c0060062680008003a2d..."} 
[2026-09-05 15:23:05] local.INFO: Packet analysis {"connection_id":173038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fb"} 
[2026-09-05 15:23:05] local.INFO: Extracted packet for processing {"connection_id":173038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fb"} 
[2026-09-05 15:23:05] local.INFO: GPS Element Parsed {"raw_longitude":763221952,"raw_latitude":100688488,"longitude_deg":76.3221952,"latitude_deg":10.0688488,"altitude":8,"angle":58,"satellites":45,"speed":2,"hex_longitude":"2d7dd7c0","hex_latitude":"06006268","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882093056001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859355018592256,"note":"Value kept but may cause issues"} 
[2026-09-05 15:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9067786769254201344,"note":"Value kept but may cause issues"} 
[2026-09-05 15:23:05] 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-09-05 15:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788601928000,"timestamp_ms":1788601928000,"timestamp_seconds":1788601928,"priority":1,"record_length":96,"hex_timestamp":"000001a070fb8940"} 
[2026-09-05 15:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:23:05] 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-09-05 15: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 15:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882093056001,"66":27843,"244":206,"87":10752,"24":2,"16":399859355018592256,"45":9067786769254201344},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882093056001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:23:05] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:23:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859355018592256,"km_value":399859355018592.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9067786769254201344,"description":"Unknown IO ID 45"} 
[2026-09-05 15:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882093056001,"power":27843,"unknown_244":206,"unknown_87":10752,"ignition":2,"odometer":null,"unknown_45":9067786769254201344}} 
[2026-09-05 15:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":173038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:23:05] local.INFO: GPS data processed {"connection_id":173038,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:23:05] local.INFO: Acknowledgment sent {"connection_id":173038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:23:22] local.INFO: TCP Data received {"connection_id":171645,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070f8aae0012d196880071fed50003d011c2a..."} 
[2026-09-05 15:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f8aae0012d196880071fed50003d011c2a..."} 
[2026-09-05 15:23:22] local.INFO: Processing buffer {"connection_id":171645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f8aae0012d196880071fed50003d011c2a..."} 
[2026-09-05 15:23:22] local.INFO: Packet analysis {"connection_id":171645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f8"} 
[2026-09-05 15:23:22] local.INFO: Extracted packet for processing {"connection_id":171645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f8"} 
[2026-09-05 15:23:22] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882040064001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788601740000,"timestamp_ms":1788601740000,"timestamp_seconds":1788601740,"priority":1,"record_length":96,"hex_timestamp":"000001a070f8aae0"} 
[2026-09-05 15:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-05 15:23:22] 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-09-05 15:23:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882040064001,"66":12722,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882040064001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:23:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:23:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882040064001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":171645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:23:22] local.INFO: GPS data processed {"connection_id":171645,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:23:22] local.INFO: Acknowledgment sent {"connection_id":171645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:23:25] local.INFO: TCP Data received {"connection_id":171644,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070f9d3c0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f9d3c0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:23:25] local.INFO: Processing buffer {"connection_id":171644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f9d3c0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:23:25] local.INFO: Packet analysis {"connection_id":171644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f9"} 
[2026-09-05 15:23:25] local.INFO: Extracted packet for processing {"connection_id":171644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f9"} 
[2026-09-05 15:23:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:23: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-09-05 15:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881987840001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:23:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788601816000,"timestamp_ms":1788601816000,"timestamp_seconds":1788601816,"priority":1,"record_length":96,"hex_timestamp":"000001a070f9d3c0"} 
[2026-09-05 15:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 15:23:25] 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-09-05 15:23: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-09-05 15:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171644,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171644,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881987840001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881987840001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:23:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:23:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:23:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881987840001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":171644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769389,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:23:26] local.INFO: GPS data processed {"connection_id":171644,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:23:26] local.INFO: Acknowledgment sent {"connection_id":171644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:23:36] local.INFO: TCP Data received {"connection_id":174354,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070fbbff0012d7bed4005ec2280000600a723..."} 
[2026-09-05 15:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fbbff0012d7bed4005ec2280000600a723..."} 
[2026-09-05 15:23:36] local.INFO: Processing buffer {"connection_id":174354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fbbff0012d7bed4005ec2280000600a723..."} 
[2026-09-05 15:23:36] local.INFO: Packet analysis {"connection_id":174354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fb"} 
[2026-09-05 15:23:36] local.INFO: Extracted packet for processing {"connection_id":174354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fb"} 
[2026-09-05 15:23:36] local.INFO: GPS Element Parsed {"raw_longitude":763096384,"raw_latitude":99361408,"longitude_deg":76.3096384,"latitude_deg":9.9361408,"altitude":6,"angle":167,"satellites":35,"speed":21,"hex_longitude":"2d7bed40","hex_latitude":"05ec2280","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882096128001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128518254858600448,"note":"Value kept but may cause issues"} 
[2026-09-05 15:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929301080373231616,"note":"Value kept but may cause issues"} 
[2026-09-05 15:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788601942000,"timestamp_ms":1788601942000,"timestamp_seconds":1788601942,"priority":1,"record_length":96,"hex_timestamp":"000001a070fbbff0"} 
[2026-09-05 15:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:23: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-09-05 15:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-05 15:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":174354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":174354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":174354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882096128001,"66":13319,"198":206,"87":13824,"24":21,"16":128518254858600448,"45":8929301080373231616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-05 15:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882096128001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:23:36] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 15:23:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128518254858600448,"km_value":128518254858600.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929301080373231616,"description":"Unknown IO ID 45"} 
[2026-09-05 15:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882096128001,"power":13319,"unknown_198":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8929301080373231616}} 
[2026-09-05 15:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":174354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:23:36] local.INFO: GPS data processed {"connection_id":174354,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:23:36] local.INFO: Acknowledgment sent {"connection_id":174354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:23:37] local.INFO: TCP Data received {"connection_id":173038,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070fb8d28012d7dd7c006006278000800512e..."} 
[2026-09-05 15:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fb8d28012d7dd7c006006278000800512e..."} 
[2026-09-05 15:23:37] local.INFO: Processing buffer {"connection_id":173038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fb8d28012d7dd7c006006278000800512e..."} 
[2026-09-05 15:23:37] local.INFO: Packet analysis {"connection_id":173038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fb"} 
[2026-09-05 15:23:37] local.INFO: Extracted packet for processing {"connection_id":173038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fb"} 
[2026-09-05 15:23:37] local.INFO: GPS Element Parsed {"raw_longitude":763221952,"raw_latitude":100688504,"longitude_deg":76.3221952,"latitude_deg":10.0688504,"altitude":8,"angle":81,"satellites":46,"speed":3,"hex_longitude":"2d7dd7c0","hex_latitude":"06006278","is_valid_coordinates":true} 
[2026-09-05 15:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882093568001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859355018592256,"note":"Value kept but may cause issues"} 
[2026-09-05 15:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9067927506742568960,"note":"Value kept but may cause issues"} 
[2026-09-05 15:23:37] 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-09-05 15:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788601929000,"timestamp_ms":1788601929000,"timestamp_seconds":1788601929,"priority":1,"record_length":96,"hex_timestamp":"000001a070fb8d28"} 
[2026-09-05 15:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 15:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882093568001,"66":27995,"244":206,"87":10752,"24":3,"16":399859355018592256,"45":9067927506742568960},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882093568001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:23:37] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:23:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859355018592256,"km_value":399859355018592.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9067927506742568960,"description":"Unknown IO ID 45"} 
[2026-09-05 15:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882093568001,"power":27995,"unknown_244":206,"unknown_87":10752,"ignition":3,"odometer":null,"unknown_45":9067927506742568960}} 
[2026-09-05 15:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":173038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:23:37] local.INFO: GPS data processed {"connection_id":173038,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:23:37] local.INFO: Acknowledgment sent {"connection_id":173038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:23:47] local.INFO: TCP Data received {"connection_id":174355,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174355,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:23:47] local.INFO: Processing buffer {"connection_id":174355,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:23:47] local.INFO: IMEI packet received {"connection_id":174355,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":174355,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:23:50] local.INFO: TCP Data received {"connection_id":173039,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:23:50] local.INFO: Processing buffer {"connection_id":173039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:23:50] local.INFO: IMEI packet received {"connection_id":173039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":173039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:23:50] local.INFO: TCP Data received {"connection_id":173039,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:23:50] local.INFO: Processing buffer {"connection_id":173039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:23:50] local.INFO: IMEI packet received {"connection_id":173039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":173039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:23:52] local.INFO: TCP Data received {"connection_id":174355,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174355,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:23:52] local.INFO: Processing buffer {"connection_id":174355,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:23:52] local.INFO: IMEI packet received {"connection_id":174355,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":174355,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:23:54] local.INFO: TCP Data received {"connection_id":174355,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070f9d3c0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f9d3c0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:23:54] local.INFO: Processing buffer {"connection_id":174355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f9d3c0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:23:54] local.INFO: Packet analysis {"connection_id":174355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f9"} 
[2026-09-05 15:23:54] local.INFO: Extracted packet for processing {"connection_id":174355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f9"} 
[2026-09-05 15:23:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881987840001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:23:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788601816000,"timestamp_ms":1788601816000,"timestamp_seconds":1788601816,"priority":1,"record_length":96,"hex_timestamp":"000001a070f9d3c0"} 
[2026-09-05 15:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 15:23:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881987840001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881987840001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:23:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:23:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:23:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881987840001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":174355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769392,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:23:54] local.INFO: GPS data processed {"connection_id":174355,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:23:54] local.INFO: Acknowledgment sent {"connection_id":174355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:23:55] local.INFO: TCP Data received {"connection_id":173039,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:23:55] local.INFO: Processing buffer {"connection_id":173039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:23:55] local.INFO: IMEI packet received {"connection_id":173039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":173039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:23:55] local.INFO: TCP Data received {"connection_id":173039,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070f8fce8012d196880071fed50003d011c2a..."} 
[2026-09-05 15:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f8fce8012d196880071fed50003d011c2a..."} 
[2026-09-05 15:23:55] local.INFO: Processing buffer {"connection_id":173039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f8fce8012d196880071fed50003d011c2a..."} 
[2026-09-05 15:23:55] local.INFO: Packet analysis {"connection_id":173039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f8"} 
[2026-09-05 15:23:55] local.INFO: Extracted packet for processing {"connection_id":173039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f8"} 
[2026-09-05 15:23:55] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882045440001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788601761000,"timestamp_ms":1788601761000,"timestamp_seconds":1788601761,"priority":1,"record_length":96,"hex_timestamp":"000001a070f8fce8"} 
[2026-09-05 15:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:23:55] 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-09-05 15:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 15:23:55] 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-09-05 15:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882045440001,"66":12722,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882045440001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:23:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:23:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882045440001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":173039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:23:56] local.INFO: GPS data processed {"connection_id":173039,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:23:56] local.INFO: Acknowledgment sent {"connection_id":173039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:23:56] local.INFO: TCP Data received {"connection_id":171646,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171646,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:23:56] local.INFO: Processing buffer {"connection_id":171646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:23:56] local.INFO: IMEI packet received {"connection_id":171646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":171646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:23:56] local.INFO: TCP Data received {"connection_id":173040,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:23:56] local.INFO: Processing buffer {"connection_id":173040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:23:56] local.INFO: IMEI packet received {"connection_id":173040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":173040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:24:00] local.INFO: TCP Data received {"connection_id":171646,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171646,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:24:00] local.INFO: Processing buffer {"connection_id":171646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:24:00] local.INFO: IMEI packet received {"connection_id":171646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":171646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:24:00] local.INFO: TCP Data received {"connection_id":173039,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070f94ef0012d196880071fed50003d011c2b..."} 
[2026-09-05 15:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f94ef0012d196880071fed50003d011c2b..."} 
[2026-09-05 15:24:00] local.INFO: Processing buffer {"connection_id":173039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f94ef0012d196880071fed50003d011c2b..."} 
[2026-09-05 15:24:00] local.INFO: Packet analysis {"connection_id":173039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f9"} 
[2026-09-05 15:24:00] local.INFO: Extracted packet for processing {"connection_id":173039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f9"} 
[2026-09-05 15:24:00] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882050816001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788601782000,"timestamp_ms":1788601782000,"timestamp_seconds":1788601782,"priority":1,"record_length":96,"hex_timestamp":"000001a070f94ef0"} 
[2026-09-05 15:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 15:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882050816001,"66":12711,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882050816001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:24:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:24:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882050816001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":173039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:24:00] local.INFO: GPS data processed {"connection_id":173039,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:24:00] local.INFO: Acknowledgment sent {"connection_id":173039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:24:00] local.INFO: TCP Data received {"connection_id":171646,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171646,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:24:00] local.INFO: Processing buffer {"connection_id":171646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:24:00] local.INFO: IMEI packet received {"connection_id":171646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":171646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:24:01] local.INFO: TCP Data received {"connection_id":171646,"ip":"42.109.136.0","data_length":812,"data_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a070..."} 
[2026-09-05 15:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171646,"packet_length":812,"packet_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a070..."} 
[2026-09-05 15:24:01] local.INFO: Processing buffer {"connection_id":171646,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a070..."} 
[2026-09-05 15:24:01] local.INFO: IMEI packet received {"connection_id":171646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":171646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:24:01] local.INFO: TCP Data received {"connection_id":173040,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:24:01] local.INFO: Processing buffer {"connection_id":173040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:24:01] local.INFO: IMEI packet received {"connection_id":173040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":173040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:24:03] local.INFO: TCP Data received {"connection_id":173040,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070fb98e0012d7dd8c0060062b0000800362e..."} 
[2026-09-05 15:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fb98e0012d7dd8c0060062b0000800362e..."} 
[2026-09-05 15:24:03] local.INFO: Processing buffer {"connection_id":173040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fb98e0012d7dd8c0060062b0000800362e..."} 
[2026-09-05 15:24:03] local.INFO: Packet analysis {"connection_id":173040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fb"} 
[2026-09-05 15:24:03] local.INFO: Extracted packet for processing {"connection_id":173040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fb"} 
[2026-09-05 15:24:03] local.INFO: GPS Element Parsed {"raw_longitude":763222208,"raw_latitude":100688560,"longitude_deg":76.3222208,"latitude_deg":10.068856,"altitude":8,"angle":54,"satellites":46,"speed":2,"hex_longitude":"2d7dd8c0","hex_latitude":"060062b0","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882093824001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859367903494144,"note":"Value kept but may cause issues"} 
[2026-09-05 15:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9067927506742573056,"note":"Value kept but may cause issues"} 
[2026-09-05 15:24:03] 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-09-05 15:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788601932000,"timestamp_ms":1788601932000,"timestamp_seconds":1788601932,"priority":1,"record_length":96,"hex_timestamp":"000001a070fb98e0"} 
[2026-09-05 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-09-05 15:24: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-09-05 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 15:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 15:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882093824001,"66":28028,"244":206,"87":10752,"24":2,"16":399859367903494144,"45":9067927506742573056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882093824001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:24:03] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:24:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859367903494144,"km_value":399859367903494.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9067927506742573056,"description":"Unknown IO ID 45"} 
[2026-09-05 15:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882093824001,"power":28028,"unknown_244":206,"unknown_87":10752,"ignition":2,"odometer":null,"unknown_45":9067927506742573056}} 
[2026-09-05 15:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":173040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:24:03] local.INFO: GPS data processed {"connection_id":173040,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:24:03] local.INFO: Acknowledgment sent {"connection_id":173040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:24:05] local.INFO: TCP Data received {"connection_id":171646,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070fd17b0012d7c310005eb1990000500aa22..."} 
[2026-09-05 15:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fd17b0012d7c310005eb1990000500aa22..."} 
[2026-09-05 15:24:05] local.INFO: Processing buffer {"connection_id":171646,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a070fd0fe0012d7c2fc005eb1ed80004009d21..."} 
[2026-09-05 15:24:05] local.INFO: Packet analysis {"connection_id":171646,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a070fd"} 
[2026-09-05 15:24:05] local.INFO: Extracted packet for processing {"connection_id":171646,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fd"} 
[2026-09-05 15:24:05] local.INFO: GPS Element Parsed {"raw_longitude":763113408,"raw_latitude":99294936,"longitude_deg":76.3113408,"latitude_deg":9.9294936,"altitude":4,"angle":157,"satellites":33,"speed":25,"hex_longitude":"2d7c2fc0","hex_latitude":"05eb1ed8","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882118400001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128521609228058624,"note":"Value kept but may cause issues"} 
[2026-09-05 15:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947385847609870336,"note":"Value kept but may cause issues"} 
[2026-09-05 15:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788602028000,"timestamp_ms":1788602028000,"timestamp_seconds":1788602028,"priority":1,"record_length":96,"hex_timestamp":"000001a070fd0fe0"} 
[2026-09-05 15:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 15:24:05] 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-09-05 15: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-09-05 15:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882118400001,"66":13243,"10":206,"87":13824,"24":25,"16":128521609228058624,"45":8947385847609870336},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-05 15:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882118400001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:24:05] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-05 15:24:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128521609228058624,"km_value":128521609228058.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947385847609870336,"description":"Unknown IO ID 45"} 
[2026-09-05 15:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882118400001,"power":13243,"unknown_10":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8947385847609870336}} 
[2026-09-05 15:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":171646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769396,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:24:05] local.INFO: GPS data processed {"connection_id":171646,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:24:05] local.INFO: Acknowledgment sent {"connection_id":171646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:24:05] local.INFO: Packet analysis {"connection_id":171646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fd"} 
[2026-09-05 15:24:05] local.INFO: Extracted packet for processing {"connection_id":171646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fd"} 
[2026-09-05 15:24:05] local.INFO: GPS Element Parsed {"raw_longitude":763113728,"raw_latitude":99293584,"longitude_deg":76.3113728,"latitude_deg":9.9293584,"altitude":5,"angle":170,"satellites":34,"speed":27,"hex_longitude":"2d7c3100","hex_latitude":"05eb1990","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882119168001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128521677947535360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948582116260501504,"note":"Value kept but may cause issues"} 
[2026-09-05 15:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788602030000,"timestamp_ms":1788602030000,"timestamp_seconds":1788602030,"priority":1,"record_length":96,"hex_timestamp":"000001a070fd17b0"} 
[2026-09-05 15:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-05 15:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882119168001,"66":13765,"10":206,"87":13824,"24":27,"16":128521677947535360,"45":8948582116260501504},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-05 15:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882119168001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:24:05] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-05 15:24:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128521677947535360,"km_value":128521677947535.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948582116260501504,"description":"Unknown IO ID 45"} 
[2026-09-05 15:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882119168001,"power":13765,"unknown_10":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8948582116260501504}} 
[2026-09-05 15:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":171646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769397,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:24:05] local.INFO: GPS data processed {"connection_id":171646,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:24:05] local.INFO: Acknowledgment sent {"connection_id":171646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:24:10] local.INFO: TCP Data received {"connection_id":171646,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070fd1f80012d7c32c005eb14200005009b23..."} 
[2026-09-05 15:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fd1f80012d7c32c005eb14200005009b23..."} 
[2026-09-05 15:24:10] local.INFO: Processing buffer {"connection_id":171646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fd1f80012d7c32c005eb14200005009b23..."} 
[2026-09-05 15:24:10] local.INFO: Packet analysis {"connection_id":171646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fd"} 
[2026-09-05 15:24:10] local.INFO: Extracted packet for processing {"connection_id":171646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fd"} 
[2026-09-05 15:24:10] local.INFO: GPS Element Parsed {"raw_longitude":763114176,"raw_latitude":99292192,"longitude_deg":76.3114176,"latitude_deg":9.9292192,"altitude":5,"angle":155,"satellites":35,"speed":28,"hex_longitude":"2d7c32c0","hex_latitude":"05eb1420","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882119680001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128521746667012096,"note":"Value kept but may cause issues"} 
[2026-09-05 15:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948933959981043712,"note":"Value kept but may cause issues"} 
[2026-09-05 15:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788602032000,"timestamp_ms":1788602032000,"timestamp_seconds":1788602032,"priority":1,"record_length":96,"hex_timestamp":"000001a070fd1f80"} 
[2026-09-05 15:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:24: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-09-05 15:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-05 15:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882119680001,"66":13428,"10":206,"87":13824,"24":28,"16":128521746667012096,"45":8948933959981043712},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-05 15:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882119680001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:24:10] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-05 15:24:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128521746667012096,"km_value":128521746667012.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948933959981043712,"description":"Unknown IO ID 45"} 
[2026-09-05 15:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882119680001,"power":13428,"unknown_10":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8948933959981043712}} 
[2026-09-05 15:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":171646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769398,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:24:10] local.INFO: GPS data processed {"connection_id":171646,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:24:10] local.INFO: Acknowledgment sent {"connection_id":171646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:24:25] local.INFO: TCP Data received {"connection_id":174355,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070f9d3c0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f9d3c0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:24:25] local.INFO: Processing buffer {"connection_id":174355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f9d3c0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:24:25] local.INFO: Packet analysis {"connection_id":174355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f9"} 
[2026-09-05 15:24:25] local.INFO: Extracted packet for processing {"connection_id":174355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f9"} 
[2026-09-05 15:24:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881987840001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:24:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788601816000,"timestamp_ms":1788601816000,"timestamp_seconds":1788601816,"priority":1,"record_length":96,"hex_timestamp":"000001a070f9d3c0"} 
[2026-09-05 15:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 15:24:25] 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-09-05 15:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881987840001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881987840001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:24:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:24:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:24:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881987840001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":174355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769399,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:24:26] local.INFO: GPS data processed {"connection_id":174355,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:24:26] local.INFO: Acknowledgment sent {"connection_id":174355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:24:34] local.INFO: TCP Data received {"connection_id":173040,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070fb9cc8012d7dd8c0060062e0000800262e..."} 
[2026-09-05 15:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fb9cc8012d7dd8c0060062e0000800262e..."} 
[2026-09-05 15:24:34] local.INFO: Processing buffer {"connection_id":173040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fb9cc8012d7dd8c0060062e0000800262e..."} 
[2026-09-05 15:24:34] local.INFO: Packet analysis {"connection_id":173040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fb"} 
[2026-09-05 15:24:34] local.INFO: Extracted packet for processing {"connection_id":173040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fb"} 
[2026-09-05 15:24:34] local.INFO: GPS Element Parsed {"raw_longitude":763222208,"raw_latitude":100688608,"longitude_deg":76.3222208,"latitude_deg":10.0688608,"altitude":8,"angle":38,"satellites":46,"speed":2,"hex_longitude":"2d7dd8c0","hex_latitude":"060062e0","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882094592001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859367903494144,"note":"Value kept but may cause issues"} 
[2026-09-05 15:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068208981719298048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:24:34] 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-09-05 15:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788601933000,"timestamp_ms":1788601933000,"timestamp_seconds":1788601933,"priority":1,"record_length":96,"hex_timestamp":"000001a070fb9cc8"} 
[2026-09-05 15:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-05 15:24:34] 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-09-05 15: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-09-05 15:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882094592001,"66":27995,"244":206,"87":10752,"24":2,"16":399859367903494144,"45":9068208981719298048},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882094592001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:24:34] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:24:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859367903494144,"km_value":399859367903494.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068208981719298048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882094592001,"power":27995,"unknown_244":206,"unknown_87":10752,"ignition":2,"odometer":null,"unknown_45":9068208981719298048}} 
[2026-09-05 15:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":173040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:24:34] local.INFO: GPS data processed {"connection_id":173040,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:24:34] local.INFO: Acknowledgment sent {"connection_id":173040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:24:45] local.INFO: TCP Data received {"connection_id":173041,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:24:45] local.INFO: Processing buffer {"connection_id":173041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:24:45] local.INFO: IMEI packet received {"connection_id":173041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":173041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:24:47] local.INFO: TCP Data received {"connection_id":171647,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171647,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:24:47] local.INFO: Processing buffer {"connection_id":171647,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:24:47] local.INFO: IMEI packet received {"connection_id":171647,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":171647,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:24:50] local.INFO: TCP Data received {"connection_id":173041,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:24:50] local.INFO: Processing buffer {"connection_id":173041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:24:50] local.INFO: IMEI packet received {"connection_id":173041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":173041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:24:51] local.INFO: TCP Data received {"connection_id":173041,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070f9a0f8012d196880071fed50003d011c2a..."} 
[2026-09-05 15:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f9a0f8012d196880071fed50003d011c2a..."} 
[2026-09-05 15:24:51] local.INFO: Processing buffer {"connection_id":173041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f9a0f8012d196880071fed50003d011c2a..."} 
[2026-09-05 15:24:51] local.INFO: Packet analysis {"connection_id":173041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f9"} 
[2026-09-05 15:24:51] local.INFO: Extracted packet for processing {"connection_id":173041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f9"} 
[2026-09-05 15:24:51] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882056192001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788601803000,"timestamp_ms":1788601803000,"timestamp_seconds":1788601803,"priority":1,"record_length":96,"hex_timestamp":"000001a070f9a0f8"} 
[2026-09-05 15:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-05 15:24:51] 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-09-05 15:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882056192001,"66":12711,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882056192001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:24:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:24:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882056192001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":173041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:24:51] local.INFO: GPS data processed {"connection_id":173041,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:24:51] local.INFO: Acknowledgment sent {"connection_id":173041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:24:52] local.INFO: TCP Data received {"connection_id":171647,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171647,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:24:52] local.INFO: Processing buffer {"connection_id":171647,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:24:52] local.INFO: IMEI packet received {"connection_id":171647,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":171647,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:24:54] local.INFO: TCP Data received {"connection_id":171647,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070f9d3c0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f9d3c0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:24:54] local.INFO: Processing buffer {"connection_id":171647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f9d3c0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:24:54] local.INFO: Packet analysis {"connection_id":171647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f9"} 
[2026-09-05 15:24:54] local.INFO: Extracted packet for processing {"connection_id":171647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f9"} 
[2026-09-05 15:24:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:24: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-09-05 15:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881987840001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:24:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788601816000,"timestamp_ms":1788601816000,"timestamp_seconds":1788601816,"priority":1,"record_length":96,"hex_timestamp":"000001a070f9d3c0"} 
[2026-09-05 15:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 15:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881987840001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881987840001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:24:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:24:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:24:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881987840001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":171647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769402,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:24:54] local.INFO: GPS data processed {"connection_id":171647,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:24:54] local.INFO: Acknowledgment sent {"connection_id":171647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:24:55] local.INFO: TCP Data received {"connection_id":171648,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171648,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:24:55] local.INFO: Processing buffer {"connection_id":171648,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:24:55] local.INFO: IMEI packet received {"connection_id":171648,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":171648,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:25:00] local.INFO: TCP Data received {"connection_id":171648,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171648,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:25:00] local.INFO: Processing buffer {"connection_id":171648,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:25:00] local.INFO: IMEI packet received {"connection_id":171648,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":171648,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:25:01] local.INFO: TCP Data received {"connection_id":171648,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070fda838012d7c440005eac7b80007004d20..."} 
[2026-09-05 15:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fda838012d7c440005eac7b80007004d20..."} 
[2026-09-05 15:25:01] local.INFO: Processing buffer {"connection_id":171648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fda838012d7c440005eac7b80007004d20..."} 
[2026-09-05 15:25:01] local.INFO: Packet analysis {"connection_id":171648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fd"} 
[2026-09-05 15:25:01] local.INFO: Extracted packet for processing {"connection_id":171648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fd"} 
[2026-09-05 15:25:01] local.INFO: GPS Element Parsed {"raw_longitude":763118592,"raw_latitude":99272632,"longitude_deg":76.3118592,"latitude_deg":9.9272632,"altitude":7,"angle":77,"satellites":32,"speed":6,"hex_longitude":"2d7c4400","hex_latitude":"05eac7b8","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882128384001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128522807523934208,"note":"Value kept but may cause issues"} 
[2026-09-05 15:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953719034579718144,"note":"Value kept but may cause issues"} 
[2026-09-05 15:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788602067000,"timestamp_ms":1788602067000,"timestamp_seconds":1788602067,"priority":1,"record_length":96,"hex_timestamp":"000001a070fda838"} 
[2026-09-05 15:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15: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-09-05 15: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-05 15:25:01] 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-09-05 15: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-09-05 15:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882128384001,"66":13624,"10":206,"87":13824,"24":6,"16":128522807523934208,"45":8953719034579718144},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-05 15:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882128384001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:25:01] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-05 15:25:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128522807523934208,"km_value":128522807523934.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953719034579718144,"description":"Unknown IO ID 45"} 
[2026-09-05 15:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882128384001,"power":13624,"unknown_10":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8953719034579718144}} 
[2026-09-05 15:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":171648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:25:01] local.INFO: GPS data processed {"connection_id":171648,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:25:01] local.INFO: Acknowledgment sent {"connection_id":171648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:25:02] local.INFO: TCP Data received {"connection_id":174356,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:25:02] local.INFO: Processing buffer {"connection_id":174356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:25:02] local.INFO: IMEI packet received {"connection_id":174356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":174356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:25:06] local.INFO: TCP Data received {"connection_id":174356,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:25:06] local.INFO: Processing buffer {"connection_id":174356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:25:06] local.INFO: IMEI packet received {"connection_id":174356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":174356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:25:07] local.INFO: TCP Data received {"connection_id":174356,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070fba0b0012d7dd900060063180008001a2e..."} 
[2026-09-05 15:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fba0b0012d7dd900060063180008001a2e..."} 
[2026-09-05 15:25:07] local.INFO: Processing buffer {"connection_id":174356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fba0b0012d7dd900060063180008001a2e..."} 
[2026-09-05 15:25:07] local.INFO: Packet analysis {"connection_id":174356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fb"} 
[2026-09-05 15:25:07] local.INFO: Extracted packet for processing {"connection_id":174356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fb"} 
[2026-09-05 15:25:07] local.INFO: GPS Element Parsed {"raw_longitude":763222272,"raw_latitude":100688664,"longitude_deg":76.3222272,"latitude_deg":10.0688664,"altitude":8,"angle":26,"satellites":46,"speed":2,"hex_longitude":"2d7dd900","hex_latitude":"06006318","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882094848001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859372198461440,"note":"Value kept but may cause issues"} 
[2026-09-05 15:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068208981719310336,"note":"Value kept but may cause issues"} 
[2026-09-05 15:25:07] 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-09-05 15:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788601934000,"timestamp_ms":1788601934000,"timestamp_seconds":1788601934,"priority":1,"record_length":96,"hex_timestamp":"000001a070fba0b0"} 
[2026-09-05 15:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:25: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-09-05 15: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 15:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882094848001,"66":27995,"244":206,"87":10752,"24":2,"16":399859372198461440,"45":9068208981719310336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882094848001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:25:07] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:25:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859372198461440,"km_value":399859372198461.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068208981719310336,"description":"Unknown IO ID 45"} 
[2026-09-05 15:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882094848001,"power":27995,"unknown_244":206,"unknown_87":10752,"ignition":2,"odometer":null,"unknown_45":9068208981719310336}} 
[2026-09-05 15:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":174356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:25:07] local.INFO: GPS data processed {"connection_id":174356,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:25:07] local.INFO: Acknowledgment sent {"connection_id":174356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:25:12] local.INFO: TCP Data received {"connection_id":174356,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070fbac68012d7dd900060063680007003b2d..."} 
[2026-09-05 15:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fbac68012d7dd900060063680007003b2d..."} 
[2026-09-05 15:25:12] local.INFO: Processing buffer {"connection_id":174356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fbac68012d7dd900060063680007003b2d..."} 
[2026-09-05 15:25:12] local.INFO: Packet analysis {"connection_id":174356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fb"} 
[2026-09-05 15:25:12] local.INFO: Extracted packet for processing {"connection_id":174356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fb"} 
[2026-09-05 15:25:12] local.INFO: GPS Element Parsed {"raw_longitude":763222272,"raw_latitude":100688744,"longitude_deg":76.3222272,"latitude_deg":10.0688744,"altitude":7,"angle":59,"satellites":45,"speed":0,"hex_longitude":"2d7dd900","hex_latitude":"06006368","is_valid_coordinates":true} 
[2026-09-05 15:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882095104001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068279350463502336,"note":"Value kept but may cause issues"} 
[2026-09-05 15:25:12] 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-09-05 15:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788601937000,"timestamp_ms":1788601937000,"timestamp_seconds":1788601937,"priority":1,"record_length":96,"hex_timestamp":"000001a070fbac68"} 
[2026-09-05 15:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:25:12] 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-09-05 15:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 15:25:12] 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-09-05 15:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882095104001,"66":27843,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068279350463502336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882095104001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:25:12] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:25:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068279350463502336,"description":"Unknown IO ID 45"} 
[2026-09-05 15:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882095104001,"power":27843,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068279350463502336}} 
[2026-09-05 15:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":174356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:25:12] local.INFO: GPS data processed {"connection_id":174356,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:25:12] local.INFO: Acknowledgment sent {"connection_id":174356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:25:22] local.INFO: TCP Data received {"connection_id":173041,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070fd2750012d196880071fed50003d011c29..."} 
[2026-09-05 15:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fd2750012d196880071fed50003d011c29..."} 
[2026-09-05 15:25:22] local.INFO: Processing buffer {"connection_id":173041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fd2750012d196880071fed50003d011c29..."} 
[2026-09-05 15:25:22] local.INFO: Packet analysis {"connection_id":173041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fd"} 
[2026-09-05 15:25:22] local.INFO: Extracted packet for processing {"connection_id":173041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fd"} 
[2026-09-05 15:25:22] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882115328001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788602034000,"timestamp_ms":1788602034000,"timestamp_seconds":1788602034,"priority":1,"record_length":96,"hex_timestamp":"000001a070fd2750"} 
[2026-09-05 15:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:25:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-05 15:25: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-09-05 15:25:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882115328001,"66":12515,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882115328001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:25:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:25:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882115328001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":173041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:25:22] local.INFO: GPS data processed {"connection_id":173041,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:25:22] local.INFO: Acknowledgment sent {"connection_id":173041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:25:25] local.INFO: TCP Data received {"connection_id":171647,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070f9d3c0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f9d3c0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:25:25] local.INFO: Processing buffer {"connection_id":171647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f9d3c0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:25:25] local.INFO: Packet analysis {"connection_id":171647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f9"} 
[2026-09-05 15:25:25] local.INFO: Extracted packet for processing {"connection_id":171647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f9"} 
[2026-09-05 15:25:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881987840001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:25:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788601816000,"timestamp_ms":1788601816000,"timestamp_seconds":1788601816,"priority":1,"record_length":96,"hex_timestamp":"000001a070f9d3c0"} 
[2026-09-05 15:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 15:25:25] 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-09-05 15:25:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881987840001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881987840001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:25:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:25:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:25:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881987840001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":171647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769407,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:25:25] local.INFO: GPS data processed {"connection_id":171647,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:25:25] local.INFO: Acknowledgment sent {"connection_id":171647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:25:32] local.INFO: TCP Data received {"connection_id":171648,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070fdcb60012d7c548005eac9200006005821..."} 
[2026-09-05 15:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fdcb60012d7c548005eac9200006005821..."} 
[2026-09-05 15:25:32] local.INFO: Processing buffer {"connection_id":171648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fdcb60012d7c548005eac9200006005821..."} 
[2026-09-05 15:25:32] local.INFO: Packet analysis {"connection_id":171648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fd"} 
[2026-09-05 15:25:32] local.INFO: Extracted packet for processing {"connection_id":171648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fd"} 
[2026-09-05 15:25:32] local.INFO: GPS Element Parsed {"raw_longitude":763122816,"raw_latitude":99272992,"longitude_deg":76.3122816,"latitude_deg":9.9272992,"altitude":6,"angle":88,"satellites":33,"speed":25,"hex_longitude":"2d7c5480","hex_latitude":"05eac920","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882129152001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128523009387397120,"note":"Value kept but may cause issues"} 
[2026-09-05 15:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954281984533182464,"note":"Value kept but may cause issues"} 
[2026-09-05 15:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788602076000,"timestamp_ms":1788602076000,"timestamp_seconds":1788602076,"priority":1,"record_length":96,"hex_timestamp":"000001a070fdcb60"} 
[2026-09-05 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-09-05 15:25: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-09-05 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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-05 15:25:32] 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-09-05 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-09-05 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-09-05 15:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882129152001,"66":13091,"10":206,"87":13824,"24":25,"16":128523009387397120,"45":8954281984533182464},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-05 15:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882129152001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:25:32] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-05 15:25:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128523009387397120,"km_value":128523009387397.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954281984533182464,"description":"Unknown IO ID 45"} 
[2026-09-05 15:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882129152001,"power":13091,"unknown_10":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8954281984533182464}} 
[2026-09-05 15:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":171648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769408,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:25:32] local.INFO: GPS data processed {"connection_id":171648,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:25:32] local.INFO: Acknowledgment sent {"connection_id":171648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:25:38] local.INFO: TCP Data received {"connection_id":173042,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173042,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:25:38] local.INFO: Processing buffer {"connection_id":173042,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:25:38] local.INFO: IMEI packet received {"connection_id":173042,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 15:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":173042,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:25:45] local.INFO: TCP Data received {"connection_id":174357,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:25:45] local.INFO: Processing buffer {"connection_id":174357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:25:45] local.INFO: IMEI packet received {"connection_id":174357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":174357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:25:47] local.INFO: TCP Data received {"connection_id":174358,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:25:47] local.INFO: Processing buffer {"connection_id":174358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:25:47] local.INFO: IMEI packet received {"connection_id":174358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":174358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:25:48] local.INFO: TCP Data received {"connection_id":173042,"ip":"42.106.6.17","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-05 15:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173042,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-05 15:25:48] local.INFO: Processing buffer {"connection_id":173042,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-05 15:25:48] local.INFO: IMEI packet received {"connection_id":173042,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 15:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":173042,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:25:50] local.INFO: TCP Data received {"connection_id":174357,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:25:50] local.INFO: Processing buffer {"connection_id":174357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:25:50] local.INFO: IMEI packet received {"connection_id":174357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":174357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:25:50] local.INFO: TCP Data received {"connection_id":174357,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070fd7958012d196880071fed50003d011c2a..."} 
[2026-09-05 15:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fd7958012d196880071fed50003d011c2a..."} 
[2026-09-05 15:25:50] local.INFO: Processing buffer {"connection_id":174357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fd7958012d196880071fed50003d011c2a..."} 
[2026-09-05 15:25:50] local.INFO: Packet analysis {"connection_id":174357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fd"} 
[2026-09-05 15:25:50] local.INFO: Extracted packet for processing {"connection_id":174357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fd"} 
[2026-09-05 15:25:50] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882120704001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788602055000,"timestamp_ms":1788602055000,"timestamp_seconds":1788602055,"priority":1,"record_length":96,"hex_timestamp":"000001a070fd7958"} 
[2026-09-05 15:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:25: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-09-05 15:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-05 15:25:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:25:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:25:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882120704001,"66":12548,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882120704001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:25:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:25:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882120704001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":174357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:25:51] local.INFO: GPS data processed {"connection_id":174357,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:25:51] local.INFO: Acknowledgment sent {"connection_id":174357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:25:51] local.INFO: TCP Data received {"connection_id":173042,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173042,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:25:51] local.INFO: Processing buffer {"connection_id":173042,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-05 15:25:51] local.INFO: IMEI packet received {"connection_id":173042,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 15:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":173042,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:25:52] local.INFO: TCP Data received {"connection_id":174358,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:25:52] local.INFO: Processing buffer {"connection_id":174358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:25:52] local.INFO: IMEI packet received {"connection_id":174358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":174358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:25:54] local.INFO: TCP Data received {"connection_id":174358,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070f9d3c0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070f9d3c0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:25:54] local.INFO: Processing buffer {"connection_id":174358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070f9d3c0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:25:54] local.INFO: Packet analysis {"connection_id":174358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070f9"} 
[2026-09-05 15:25:54] local.INFO: Extracted packet for processing {"connection_id":174358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070f9"} 
[2026-09-05 15:25:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457881987840001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:25:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788601816000,"timestamp_ms":1788601816000,"timestamp_seconds":1788601816,"priority":1,"record_length":96,"hex_timestamp":"000001a070f9d3c0"} 
[2026-09-05 15:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-05 15:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174358,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174358,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457881987840001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457881987840001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:25:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:25:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:25:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457881987840001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":174358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769410,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:25:54] local.INFO: GPS data processed {"connection_id":174358,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:25:54] local.INFO: Acknowledgment sent {"connection_id":174358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:25:55] local.INFO: TCP Data received {"connection_id":171649,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:25:55] local.INFO: Processing buffer {"connection_id":171649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:25:55] local.INFO: IMEI packet received {"connection_id":171649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":171649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:25:55] local.INFO: TCP Data received {"connection_id":171649,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:25:55] local.INFO: Processing buffer {"connection_id":171649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:25:55] local.INFO: IMEI packet received {"connection_id":171649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":171649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:25:56] local.INFO: TCP Data received {"connection_id":171650,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:25:56] local.INFO: Processing buffer {"connection_id":171650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:25:56] local.INFO: IMEI packet received {"connection_id":171650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":171650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:25:57] local.INFO: TCP Data received {"connection_id":171649,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:25:57] local.INFO: Processing buffer {"connection_id":171649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:25:57] local.INFO: IMEI packet received {"connection_id":171649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":171649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:25:58] local.INFO: TCP Data received {"connection_id":171649,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070fddee8012d7c618005eaca600006004a22..."} 
[2026-09-05 15:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fddee8012d7c618005eaca600006004a22..."} 
[2026-09-05 15:25:58] local.INFO: Processing buffer {"connection_id":171649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fddee8012d7c618005eaca600006004a22..."} 
[2026-09-05 15:25:58] local.INFO: Packet analysis {"connection_id":171649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fd"} 
[2026-09-05 15:25:58] local.INFO: Extracted packet for processing {"connection_id":171649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fd"} 
[2026-09-05 15:25:58] local.INFO: GPS Element Parsed {"raw_longitude":763126144,"raw_latitude":99273312,"longitude_deg":76.3126144,"latitude_deg":9.9273312,"altitude":6,"angle":74,"satellites":34,"speed":26,"hex_longitude":"2d7c6180","hex_latitude":"05eaca60","is_valid_coordinates":true} 
[2026-09-05 15:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882131456001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128523168301187072,"note":"Value kept but may cause issues"} 
[2026-09-05 15:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8958926321649000448,"note":"Value kept but may cause issues"} 
[2026-09-05 15:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788602081000,"timestamp_ms":1788602081000,"timestamp_seconds":1788602081,"priority":1,"record_length":96,"hex_timestamp":"000001a070fddee8"} 
[2026-09-05 15:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-05 15:25:58] 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-09-05 15:25:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882131456001,"66":12982,"10":206,"87":13824,"24":26,"16":128523168301187072,"45":8958926321649000448},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-05 15:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882131456001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:25:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-05 15:25:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128523168301187072,"km_value":128523168301187.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8958926321649000448,"description":"Unknown IO ID 45"} 
[2026-09-05 15:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882131456001,"power":12982,"unknown_10":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8958926321649000448}} 
[2026-09-05 15:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":171649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:25:58] local.INFO: GPS data processed {"connection_id":171649,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:25:58] local.INFO: Acknowledgment sent {"connection_id":171649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:26:01] local.INFO: TCP Data received {"connection_id":171650,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:26:01] local.INFO: Processing buffer {"connection_id":171650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:26:01] local.INFO: IMEI packet received {"connection_id":171650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":171650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:26:02] local.INFO: TCP Data received {"connection_id":171650,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070fbb050012d7dd90006006378000700382d..."} 
[2026-09-05 15:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fbb050012d7dd90006006378000700382d..."} 
[2026-09-05 15:26:02] local.INFO: Processing buffer {"connection_id":171650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fbb050012d7dd90006006378000700382d..."} 
[2026-09-05 15:26:02] local.INFO: Packet analysis {"connection_id":171650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fb"} 
[2026-09-05 15:26:02] local.INFO: Extracted packet for processing {"connection_id":171650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fb"} 
[2026-09-05 15:26:02] local.INFO: GPS Element Parsed {"raw_longitude":763222272,"raw_latitude":100688760,"longitude_deg":76.3222272,"latitude_deg":10.068876,"altitude":7,"angle":56,"satellites":45,"speed":0,"hex_longitude":"2d7dd900","hex_latitude":"06006378","is_valid_coordinates":true} 
[2026-09-05 15:26: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-09-05 15:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882095872001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068279350463522816,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:02] 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-09-05 15:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788601938000,"timestamp_ms":1788601938000,"timestamp_seconds":1788601938,"priority":1,"record_length":96,"hex_timestamp":"000001a070fbb050"} 
[2026-09-05 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-09-05 15:26: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-09-05 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 15:26: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-09-05 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-09-05 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-09-05 15:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882095872001,"66":27843,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068279350463522816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882095872001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:26:02] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:26:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068279350463522816,"description":"Unknown IO ID 45"} 
[2026-09-05 15:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882095872001,"power":27843,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068279350463522816}} 
[2026-09-05 15:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":171650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:26:02] local.INFO: GPS data processed {"connection_id":171650,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:26:02] local.INFO: Acknowledgment sent {"connection_id":171650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:26:22] local.INFO: TCP Data received {"connection_id":174357,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070fdcb60012d196880071fed50003d011c28..."} 
[2026-09-05 15:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fdcb60012d196880071fed50003d011c28..."} 
[2026-09-05 15:26:22] local.INFO: Processing buffer {"connection_id":174357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fdcb60012d196880071fed50003d011c28..."} 
[2026-09-05 15:26:22] local.INFO: Packet analysis {"connection_id":174357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fd"} 
[2026-09-05 15:26:22] local.INFO: Extracted packet for processing {"connection_id":174357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fd"} 
[2026-09-05 15:26:22] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882126080001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788602076000,"timestamp_ms":1788602076000,"timestamp_seconds":1788602076,"priority":1,"record_length":96,"hex_timestamp":"000001a070fdcb60"} 
[2026-09-05 15:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 15:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:22] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2231369728,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:22] local.WARNING: Large IO value detected {"io_id":112,"raw_value":4231084033,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:22] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3981443133,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-05 15:26:22] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:22] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3179610112,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:22] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:22] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,189,160,39,45,128,237,61,41,10,66,213,42,131,1,240,47,227,112,31,4,113,205,223,104,80,40,239,49,2,63,7,120],"length":485,"final_offset":615,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-05 15:26:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395825678004518912,"timestamp_seconds":4395825678004519.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 15:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882126080001,"66":12548,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882126080001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:26:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:26:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882126080001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":174357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:26:22] local.INFO: GPS data processed {"connection_id":174357,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:26:22] local.INFO: Acknowledgment sent {"connection_id":174357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:26:25] local.INFO: TCP Data received {"connection_id":174358,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070fe6b88012c7939c00848c5f00014000129..."} 
[2026-09-05 15:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fe6b88012c7939c00848c5f00014000129..."} 
[2026-09-05 15:26:25] local.INFO: Processing buffer {"connection_id":174358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fe6b88012c7939c00848c5f00014000129..."} 
[2026-09-05 15:26:25] local.INFO: Packet analysis {"connection_id":174358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fe"} 
[2026-09-05 15:26:25] local.INFO: Extracted packet for processing {"connection_id":174358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fe"} 
[2026-09-05 15:26:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882064896001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788602117000,"timestamp_ms":1788602117000,"timestamp_seconds":1788602117,"priority":1,"record_length":96,"hex_timestamp":"000001a070fe6b88"} 
[2026-09-05 15:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:26:25] 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-09-05 15:26:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174358,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174358,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882064896001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882064896001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:26:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:26:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:26:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882064896001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":174358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769414,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:26:25] local.INFO: GPS data processed {"connection_id":174358,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:26:25] local.INFO: Acknowledgment sent {"connection_id":174358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:26:29] local.INFO: TCP Data received {"connection_id":171649,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070fe2150012d7c808005ead3780006003f22..."} 
[2026-09-05 15:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fe2150012d7c808005ead3780006003f22..."} 
[2026-09-05 15:26:29] local.INFO: Processing buffer {"connection_id":171649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fe2150012d7c808005ead3780006003f22..."} 
[2026-09-05 15:26:29] local.INFO: Packet analysis {"connection_id":171649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fe"} 
[2026-09-05 15:26:29] local.INFO: Extracted packet for processing {"connection_id":171649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fe"} 
[2026-09-05 15:26:29] local.INFO: GPS Element Parsed {"raw_longitude":763134080,"raw_latitude":99275640,"longitude_deg":76.313408,"latitude_deg":9.927564,"altitude":6,"angle":63,"satellites":34,"speed":21,"hex_longitude":"2d7c8080","hex_latitude":"05ead378","is_valid_coordinates":true} 
[2026-09-05 15:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882132736001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128523567733145600,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962585496346320896,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788602098000,"timestamp_ms":1788602098000,"timestamp_seconds":1788602098,"priority":1,"record_length":96,"hex_timestamp":"000001a070fe2150"} 
[2026-09-05 15:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-05 15:26:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:26:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":171649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":171649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":171649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882132736001,"66":13624,"8":206,"87":13824,"24":21,"16":128523567733145600,"45":8962585496346320896},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-05 15:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882132736001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:26:29] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-05 15:26:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128523567733145600,"km_value":128523567733145.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962585496346320896,"description":"Unknown IO ID 45"} 
[2026-09-05 15:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882132736001,"power":13624,"unknown_8":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8962585496346320896}} 
[2026-09-05 15:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":171649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:26:29] local.INFO: GPS data processed {"connection_id":171649,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:26:29] local.INFO: Acknowledgment sent {"connection_id":171649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:26:35] local.INFO: TCP Data received {"connection_id":171650,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070fbc3d8012d7dd98006006408000700472e..."} 
[2026-09-05 15:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fbc3d8012d7dd98006006408000700472e..."} 
[2026-09-05 15:26:35] local.INFO: Processing buffer {"connection_id":171650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fbc3d8012d7dd98006006408000700472e..."} 
[2026-09-05 15:26:35] local.INFO: Packet analysis {"connection_id":171650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fb"} 
[2026-09-05 15:26:35] local.INFO: Extracted packet for processing {"connection_id":171650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fb"} 
[2026-09-05 15:26:35] local.INFO: GPS Element Parsed {"raw_longitude":763222400,"raw_latitude":100688904,"longitude_deg":76.32224,"latitude_deg":10.0688904,"altitude":7,"angle":71,"satellites":46,"speed":0,"hex_longitude":"2d7dd980","hex_latitude":"06006408","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882096128001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068279350463526912,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:35] 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-09-05 15:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788601943000,"timestamp_ms":1788601943000,"timestamp_seconds":1788601943,"priority":1,"record_length":96,"hex_timestamp":"000001a070fbc3d8"} 
[2026-09-05 15:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:26:35] 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-09-05 15:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 15:26: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-09-05 15: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-09-05 15:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882096128001,"66":27180,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068279350463526912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882096128001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:26:35] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:26:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068279350463526912,"description":"Unknown IO ID 45"} 
[2026-09-05 15:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882096128001,"power":27180,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068279350463526912}} 
[2026-09-05 15:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":171650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:26:35] local.INFO: GPS data processed {"connection_id":171650,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:26:35] local.INFO: Acknowledgment sent {"connection_id":171650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:26:45] local.INFO: TCP Data received {"connection_id":173043,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:26:45] local.INFO: Processing buffer {"connection_id":173043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:26:45] local.INFO: IMEI packet received {"connection_id":173043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":173043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:26:48] local.INFO: TCP Data received {"connection_id":173044,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:26:48] local.INFO: Processing buffer {"connection_id":173044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:26:48] local.INFO: IMEI packet received {"connection_id":173044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":173044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:26:50] local.INFO: TCP Data received {"connection_id":173043,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:26:50] local.INFO: Processing buffer {"connection_id":173043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:26:50] local.INFO: IMEI packet received {"connection_id":173043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":173043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:26:50] local.INFO: TCP Data received {"connection_id":173043,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070fe1d68012d196880071fed50003d011c2a..."} 
[2026-09-05 15:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fe1d68012d196880071fed50003d011c2a..."} 
[2026-09-05 15:26:50] local.INFO: Processing buffer {"connection_id":173043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fe1d68012d196880071fed50003d011c2a..."} 
[2026-09-05 15:26:50] local.INFO: Packet analysis {"connection_id":173043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fe"} 
[2026-09-05 15:26:50] local.INFO: Extracted packet for processing {"connection_id":173043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fe"} 
[2026-09-05 15:26:50] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882131456001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788602097000,"timestamp_ms":1788602097000,"timestamp_seconds":1788602097,"priority":1,"record_length":96,"hex_timestamp":"000001a070fe1d68"} 
[2026-09-05 15:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 15:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:50] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2231369728,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184203387085,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:50] local.WARNING: Large IO value detected {"io_id":112,"raw_value":4236460033,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:50] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3981443133,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-05 15:26:50] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:50] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3179610112,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:50] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:50] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,189,160,121,45,128,237,61,42,10,66,39,41,213,1,240,69,227,112,31,4,113,205,49,104,80,239,2,63,7,120],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-05 15:26:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395825669414584320,"timestamp_seconds":4395825669414584.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 15:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882131456001,"66":12526,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882131456001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:26:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:26:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882131456001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":173043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:26:51] local.INFO: GPS data processed {"connection_id":173043,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:26:51] local.INFO: Acknowledgment sent {"connection_id":173043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:26:52] local.INFO: TCP Data received {"connection_id":173044,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:26:52] local.INFO: Processing buffer {"connection_id":173044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:26:52] local.INFO: IMEI packet received {"connection_id":173044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":173044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:26:54] local.INFO: TCP Data received {"connection_id":173044,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070fe6b88012c7939c00848c5f00014000129..."} 
[2026-09-05 15:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fe6b88012c7939c00848c5f00014000129..."} 
[2026-09-05 15:26:54] local.INFO: Processing buffer {"connection_id":173044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fe6b88012c7939c00848c5f00014000129..."} 
[2026-09-05 15:26:54] local.INFO: Packet analysis {"connection_id":173044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fe"} 
[2026-09-05 15:26:54] local.INFO: Extracted packet for processing {"connection_id":173044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fe"} 
[2026-09-05 15:26:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882064896001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:26:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788602117000,"timestamp_ms":1788602117000,"timestamp_seconds":1788602117,"priority":1,"record_length":96,"hex_timestamp":"000001a070fe6b88"} 
[2026-09-05 15:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:26:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:26:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:26:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173044,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173044,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:26:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882064896001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882064896001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:26:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:26:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:26:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882064896001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":173044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769418,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:26:54] local.INFO: GPS data processed {"connection_id":173044,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:26:54] local.INFO: Acknowledgment sent {"connection_id":173044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:26:54] local.INFO: TCP Data received {"connection_id":173045,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173045,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:26:54] local.INFO: Processing buffer {"connection_id":173045,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:26:54] local.INFO: IMEI packet received {"connection_id":173045,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":173045,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:26:56] local.INFO: TCP Data received {"connection_id":171651,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:26:56] local.INFO: Processing buffer {"connection_id":171651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:26:56] local.INFO: IMEI packet received {"connection_id":171651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":171651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:27:00] local.INFO: TCP Data received {"connection_id":173045,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173045,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:27:00] local.INFO: Processing buffer {"connection_id":173045,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:27:00] local.INFO: IMEI packet received {"connection_id":173045,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":173045,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:27:01] local.INFO: TCP Data received {"connection_id":173045,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070ff80e0012d7cff8005eaf1780007004622..."} 
[2026-09-05 15:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ff80e0012d7cff8005eaf1780007004622..."} 
[2026-09-05 15:27:01] local.INFO: Processing buffer {"connection_id":173045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ff80e0012d7cff8005eaf1780007004622..."} 
[2026-09-05 15:27:01] local.INFO: Packet analysis {"connection_id":173045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ff"} 
[2026-09-05 15:27:01] local.INFO: Extracted packet for processing {"connection_id":173045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ff"} 
[2026-09-05 15:27:01] local.INFO: GPS Element Parsed {"raw_longitude":763166592,"raw_latitude":99283320,"longitude_deg":76.3166592,"latitude_deg":9.928332,"altitude":7,"angle":70,"satellites":34,"speed":25,"hex_longitude":"2d7cff80","hex_latitude":"05eaf178","is_valid_coordinates":true} 
[2026-09-05 15:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882158848001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128525186935816192,"note":"Value kept but may cause issues"} 
[2026-09-05 15:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004243792901892096,"note":"Value kept but may cause issues"} 
[2026-09-05 15:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788602188000,"timestamp_ms":1788602188000,"timestamp_seconds":1788602188,"priority":1,"record_length":96,"hex_timestamp":"000001a070ff80e0"} 
[2026-09-05 15:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-05 15:27:01] 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-09-05 15:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882158848001,"66":13298,"158":206,"87":13824,"24":25,"16":128525186935816192,"45":9004243792901892096},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-05 15:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882158848001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:27:01] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-05 15:27:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128525186935816192,"km_value":128525186935816.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004243792901892096,"description":"Unknown IO ID 45"} 
[2026-09-05 15:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882158848001,"power":13298,"unknown_158":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":9004243792901892096}} 
[2026-09-05 15:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":173045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:27:01] local.INFO: GPS data processed {"connection_id":173045,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:27:01] local.INFO: Acknowledgment sent {"connection_id":173045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:27:01] local.INFO: TCP Data received {"connection_id":171651,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:27:01] local.INFO: Processing buffer {"connection_id":171651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:27:01] local.INFO: IMEI packet received {"connection_id":171651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":171651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:27:02] local.INFO: TCP Data received {"connection_id":171651,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070fbc3d8012d7dd98006006408000700472e..."} 
[2026-09-05 15:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fbc3d8012d7dd98006006408000700472e..."} 
[2026-09-05 15:27:02] local.INFO: Processing buffer {"connection_id":171651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fbc3d8012d7dd98006006408000700472e..."} 
[2026-09-05 15:27:02] local.INFO: Packet analysis {"connection_id":171651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fb"} 
[2026-09-05 15:27:02] local.INFO: Extracted packet for processing {"connection_id":171651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fb"} 
[2026-09-05 15:27:02] local.INFO: GPS Element Parsed {"raw_longitude":763222400,"raw_latitude":100688904,"longitude_deg":76.32224,"latitude_deg":10.0688904,"altitude":7,"angle":71,"satellites":46,"speed":0,"hex_longitude":"2d7dd980","hex_latitude":"06006408","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882096128001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068279350463526912,"note":"Value kept but may cause issues"} 
[2026-09-05 15:27:02] 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-09-05 15:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788601943000,"timestamp_ms":1788601943000,"timestamp_seconds":1788601943,"priority":1,"record_length":96,"hex_timestamp":"000001a070fbc3d8"} 
[2026-09-05 15:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:27:02] 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-09-05 15:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 15:27: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-09-05 15: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-09-05 15:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882096128001,"66":27180,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068279350463526912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882096128001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:27:02] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:27:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068279350463526912,"description":"Unknown IO ID 45"} 
[2026-09-05 15:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882096128001,"power":27180,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068279350463526912}} 
[2026-09-05 15:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":171651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:27:02] local.INFO: GPS data processed {"connection_id":171651,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:27:02] local.INFO: Acknowledgment sent {"connection_id":171651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:27:21] local.INFO: TCP Data received {"connection_id":173043,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070fe6f70012d196880071fed50003d011c2a..."} 
[2026-09-05 15:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fe6f70012d196880071fed50003d011c2a..."} 
[2026-09-05 15:27:21] local.INFO: Processing buffer {"connection_id":173043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fe6f70012d196880071fed50003d011c2a..."} 
[2026-09-05 15:27:21] local.INFO: Packet analysis {"connection_id":173043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fe"} 
[2026-09-05 15:27:21] local.INFO: Extracted packet for processing {"connection_id":173043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fe"} 
[2026-09-05 15:27:21] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882136832001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788602118000,"timestamp_ms":1788602118000,"timestamp_seconds":1788602118,"priority":1,"record_length":96,"hex_timestamp":"000001a070fe6f70"} 
[2026-09-05 15:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:27:21] 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-09-05 15:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-05 15:27:21] 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-09-05 15:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882136832001,"66":12580,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882136832001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:27:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:27:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882136832001,"power":12580,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":173043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:27:21] local.INFO: GPS data processed {"connection_id":173043,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:27:21] local.INFO: Acknowledgment sent {"connection_id":173043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:27:25] local.INFO: TCP Data received {"connection_id":173044,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070fe6b88012c7939c00848c5f00014000129..."} 
[2026-09-05 15:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fe6b88012c7939c00848c5f00014000129..."} 
[2026-09-05 15:27:25] local.INFO: Processing buffer {"connection_id":173044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fe6b88012c7939c00848c5f00014000129..."} 
[2026-09-05 15:27:25] local.INFO: Packet analysis {"connection_id":173044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fe"} 
[2026-09-05 15:27:25] local.INFO: Extracted packet for processing {"connection_id":173044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fe"} 
[2026-09-05 15:27:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:27: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-09-05 15:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882064896001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:27:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788602117000,"timestamp_ms":1788602117000,"timestamp_seconds":1788602117,"priority":1,"record_length":96,"hex_timestamp":"000001a070fe6b88"} 
[2026-09-05 15:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:27:25] 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-09-05 15:27: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-09-05 15:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173044,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173044,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882064896001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882064896001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:27:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:27:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:27:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882064896001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":173044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769422,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:27:25] local.INFO: GPS data processed {"connection_id":173044,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:27:25] local.INFO: Acknowledgment sent {"connection_id":173044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:27:33] local.INFO: TCP Data received {"connection_id":173045,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070ff8c98012d7d078005eaf4f80007003822..."} 
[2026-09-05 15:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ff8c98012d7d078005eaf4f80007003822..."} 
[2026-09-05 15:27:33] local.INFO: Processing buffer {"connection_id":173045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ff8c98012d7d078005eaf4f80007003822..."} 
[2026-09-05 15:27:33] local.INFO: Packet analysis {"connection_id":173045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ff"} 
[2026-09-05 15:27:33] local.INFO: Extracted packet for processing {"connection_id":173045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ff"} 
[2026-09-05 15:27:33] local.INFO: GPS Element Parsed {"raw_longitude":763168640,"raw_latitude":99284216,"longitude_deg":76.316864,"latitude_deg":9.9284216,"altitude":7,"angle":56,"satellites":34,"speed":28,"hex_longitude":"2d7d0780","hex_latitude":"05eaf4f8","is_valid_coordinates":true} 
[2026-09-05 15:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882160128001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128525294309998592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007058542669166592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788602191000,"timestamp_ms":1788602191000,"timestamp_seconds":1788602191,"priority":1,"record_length":96,"hex_timestamp":"000001a070ff8c98"} 
[2026-09-05 15:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:27: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-09-05 15:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-09-05 15:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882160128001,"66":13580,"158":206,"87":13824,"24":28,"16":128525294309998592,"45":9007058542669166592},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-05 15:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882160128001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:27:33] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-05 15:27:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128525294309998592,"km_value":128525294309998.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007058542669166592,"description":"Unknown IO ID 45"} 
[2026-09-05 15:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882160128001,"power":13580,"unknown_158":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":9007058542669166592}} 
[2026-09-05 15:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":173045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769423,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:27:33] local.INFO: GPS data processed {"connection_id":173045,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:27:33] local.INFO: Acknowledgment sent {"connection_id":173045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:27:33] local.INFO: TCP Data received {"connection_id":171651,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070fbc3d8012d7dd98006006408000700472e..."} 
[2026-09-05 15:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fbc3d8012d7dd98006006408000700472e..."} 
[2026-09-05 15:27:33] local.INFO: Processing buffer {"connection_id":171651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fbc3d8012d7dd98006006408000700472e..."} 
[2026-09-05 15:27:33] local.INFO: Packet analysis {"connection_id":171651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fb"} 
[2026-09-05 15:27:33] local.INFO: Extracted packet for processing {"connection_id":171651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fb"} 
[2026-09-05 15:27:33] local.INFO: GPS Element Parsed {"raw_longitude":763222400,"raw_latitude":100688904,"longitude_deg":76.32224,"latitude_deg":10.0688904,"altitude":7,"angle":71,"satellites":46,"speed":0,"hex_longitude":"2d7dd980","hex_latitude":"06006408","is_valid_coordinates":true} 
[2026-09-05 15:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882096128001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068279350463526912,"note":"Value kept but may cause issues"} 
[2026-09-05 15:27:33] 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-09-05 15:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788601943000,"timestamp_ms":1788601943000,"timestamp_seconds":1788601943,"priority":1,"record_length":96,"hex_timestamp":"000001a070fbc3d8"} 
[2026-09-05 15:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:27: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-09-05 15:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 15:27: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-09-05 15:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882096128001,"66":27180,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068279350463526912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882096128001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:27:33] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:27:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068279350463526912,"description":"Unknown IO ID 45"} 
[2026-09-05 15:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882096128001,"power":27180,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068279350463526912}} 
[2026-09-05 15:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":171651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:27:33] local.INFO: GPS data processed {"connection_id":171651,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:27:33] local.INFO: Acknowledgment sent {"connection_id":171651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:27:44] local.INFO: TCP Data received {"connection_id":173046,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:27:44] local.INFO: Processing buffer {"connection_id":173046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:27:44] local.INFO: IMEI packet received {"connection_id":173046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":173046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:27:47] local.INFO: TCP Data received {"connection_id":171652,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171652,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:27:47] local.INFO: Processing buffer {"connection_id":171652,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:27:47] local.INFO: IMEI packet received {"connection_id":171652,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":171652,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:27:50] local.INFO: TCP Data received {"connection_id":173046,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:27:50] local.INFO: Processing buffer {"connection_id":173046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:27:50] local.INFO: IMEI packet received {"connection_id":173046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":173046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:27:50] local.INFO: TCP Data received {"connection_id":173046,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070fec178012d196880071fed50003d011c2c..."} 
[2026-09-05 15:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fec178012d196880071fed50003d011c2c..."} 
[2026-09-05 15:27:50] local.INFO: Processing buffer {"connection_id":173046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fec178012d196880071fed50003d011c2c..."} 
[2026-09-05 15:27:50] local.INFO: Packet analysis {"connection_id":173046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fe"} 
[2026-09-05 15:27:50] local.INFO: Extracted packet for processing {"connection_id":173046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fe"} 
[2026-09-05 15:27:50] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882142208001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:27:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:27:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788602139000,"timestamp_ms":1788602139000,"timestamp_seconds":1788602139,"priority":1,"record_length":96,"hex_timestamp":"000001a070fec178"} 
[2026-09-05 15:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:27:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-05 15:27:50] 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-09-05 15:27:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:27:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882142208001,"66":12558,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882142208001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:27:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:27:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:27:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:27:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882142208001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":173046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:27:51] local.INFO: GPS data processed {"connection_id":173046,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:27:51] local.INFO: Acknowledgment sent {"connection_id":173046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:27:52] local.INFO: TCP Data received {"connection_id":171652,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171652,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:27:52] local.INFO: Processing buffer {"connection_id":171652,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:27:52] local.INFO: IMEI packet received {"connection_id":171652,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":171652,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:27:53] local.INFO: TCP Data received {"connection_id":171652,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070fe6b88012c7939c00848c5f00014000129..."} 
[2026-09-05 15:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fe6b88012c7939c00848c5f00014000129..."} 
[2026-09-05 15:27:53] local.INFO: Processing buffer {"connection_id":171652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fe6b88012c7939c00848c5f00014000129..."} 
[2026-09-05 15:27:53] local.INFO: Packet analysis {"connection_id":171652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fe"} 
[2026-09-05 15:27:53] local.INFO: Extracted packet for processing {"connection_id":171652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fe"} 
[2026-09-05 15:27:53] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882064896001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:27:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788602117000,"timestamp_ms":1788602117000,"timestamp_seconds":1788602117,"priority":1,"record_length":96,"hex_timestamp":"000001a070fe6b88"} 
[2026-09-05 15:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:27:53] 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-09-05 15: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-09-05 15:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171652,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171652,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882064896001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882064896001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:27:53] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:27:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:27:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882064896001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":171652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769426,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:27:53] local.INFO: GPS data processed {"connection_id":171652,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:27:53] local.INFO: Acknowledgment sent {"connection_id":171652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:27:55] local.INFO: TCP Data received {"connection_id":173047,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:27:55] local.INFO: Processing buffer {"connection_id":173047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:27:55] local.INFO: IMEI packet received {"connection_id":173047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":173047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:27:56] local.INFO: TCP Data received {"connection_id":171949,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:27:56] local.INFO: Processing buffer {"connection_id":171949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:27:56] local.INFO: IMEI packet received {"connection_id":171949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":171949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:28:00] local.INFO: TCP Data received {"connection_id":173047,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:28:00] local.INFO: Processing buffer {"connection_id":173047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:28:00] local.INFO: IMEI packet received {"connection_id":173047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":173047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:28:01] local.INFO: TCP Data received {"connection_id":171949,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:28:01] local.INFO: Processing buffer {"connection_id":171949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:28:01] local.INFO: IMEI packet received {"connection_id":171949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":171949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:28:01] local.INFO: TCP Data received {"connection_id":173047,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a070ff9850012d7d0e0005eaf8680007004524..."} 
[2026-09-05 15:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ff9850012d7d0e0005eaf8680007004524..."} 
[2026-09-05 15:28:01] local.INFO: Processing buffer {"connection_id":173047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ff9850012d7d0e0005eaf8680007004524..."} 
[2026-09-05 15:28:01] local.INFO: Packet analysis {"connection_id":173047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ff"} 
[2026-09-05 15:28:01] local.INFO: Extracted packet for processing {"connection_id":173047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ff"} 
[2026-09-05 15:28:01] local.INFO: GPS Element Parsed {"raw_longitude":763170304,"raw_latitude":99285096,"longitude_deg":76.3170304,"latitude_deg":9.9285096,"altitude":7,"angle":69,"satellites":36,"speed":21,"hex_longitude":"2d7d0e00","hex_latitude":"05eaf868","is_valid_coordinates":true} 
[2026-09-05 15:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882160896001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128525384504311808,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009310342483081216,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788602194000,"timestamp_ms":1788602194000,"timestamp_seconds":1788602194,"priority":1,"record_length":96,"hex_timestamp":"000001a070ff9850"} 
[2026-09-05 15:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:28:01] 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-09-05 15:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-05 15:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630492,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:01] local.WARNING: Large IO value detected {"io_id":156,"raw_value":3506438144,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:01] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3991123854733869056,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:01] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:01] local.WARNING: Large IO value detected {"io_id":112,"raw_value":4281516033,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:01] local.WARNING: Large IO value detected {"io_id":234,"raw_value":4003463176,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:01] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636610435108360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309147342,"corrected_to":0} 
[2026-09-05 15:28:01] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2147871469,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:01] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:01] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2629959680,"corrected_to":0} 
[2026-09-05 15:28:01] local.WARNING: Large IO value detected {"io_id":124,"raw_value":-2017606126502674424,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:01] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3675163030959738455,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:01] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755416621056241,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:01] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,158,87,24,241,157,16,160,128,45,7,34,10,66,156,109,238,8,31,89,1,240,227,112,234,4,113,205,236,232,239,50,2,200,5,124,52,54],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1309147342,"validated":0},{"io_id":200,"original":2629959680,"validated":0}]} 
[2026-09-05 15:28:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504464876947374080,"timestamp_seconds":504464876947374.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 15:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882160896001,"66":13276,"158":206,"87":13824,"24":21,"16":128525384504311808,"45":9009310342483081216},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-05 15:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882160896001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:28:01] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-05 15:28:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128525384504311808,"km_value":128525384504311.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009310342483081216,"description":"Unknown IO ID 45"} 
[2026-09-05 15:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882160896001,"power":13276,"unknown_158":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":9009310342483081216}} 
[2026-09-05 15:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":173047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:28:01] local.INFO: GPS data processed {"connection_id":173047,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:28:01] local.INFO: Acknowledgment sent {"connection_id":173047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:28:02] local.INFO: TCP Data received {"connection_id":171949,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a070fbc3d8012d7dd98006006408000700472e..."} 
[2026-09-05 15:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fbc3d8012d7dd98006006408000700472e..."} 
[2026-09-05 15:28:02] local.INFO: Processing buffer {"connection_id":171949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fbc3d8012d7dd98006006408000700472e..."} 
[2026-09-05 15:28:02] local.INFO: Packet analysis {"connection_id":171949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fb"} 
[2026-09-05 15:28:02] local.INFO: Extracted packet for processing {"connection_id":171949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fb"} 
[2026-09-05 15:28:02] local.INFO: GPS Element Parsed {"raw_longitude":763222400,"raw_latitude":100688904,"longitude_deg":76.32224,"latitude_deg":10.0688904,"altitude":7,"angle":71,"satellites":46,"speed":0,"hex_longitude":"2d7dd980","hex_latitude":"06006408","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882096128001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068279350463526912,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:02] 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-09-05 15:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788601943000,"timestamp_ms":1788601943000,"timestamp_seconds":1788601943,"priority":1,"record_length":96,"hex_timestamp":"000001a070fbc3d8"} 
[2026-09-05 15:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:28:02] 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-09-05 15:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 15:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882096128001,"66":27180,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068279350463526912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882096128001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:28:02] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:28:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068279350463526912,"description":"Unknown IO ID 45"} 
[2026-09-05 15:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882096128001,"power":27180,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068279350463526912}} 
[2026-09-05 15:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":171949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:28:02] local.INFO: GPS data processed {"connection_id":171949,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:28:02] local.INFO: Acknowledgment sent {"connection_id":171949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:28:22] local.INFO: TCP Data received {"connection_id":173046,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070ff1380012d196880071fed50003d011c29..."} 
[2026-09-05 15:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ff1380012d196880071fed50003d011c29..."} 
[2026-09-05 15:28:22] local.INFO: Processing buffer {"connection_id":173046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ff1380012d196880071fed50003d011c29..."} 
[2026-09-05 15:28:22] local.INFO: Packet analysis {"connection_id":173046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ff"} 
[2026-09-05 15:28:22] local.INFO: Extracted packet for processing {"connection_id":173046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ff"} 
[2026-09-05 15:28:22] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882147584001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788602160000,"timestamp_ms":1788602160000,"timestamp_seconds":1788602160,"priority":1,"record_length":96,"hex_timestamp":"000001a070ff1380"} 
[2026-09-05 15:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-05 15:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:22] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2231369728,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:22] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":24577,"corrected_to":0} 
[2026-09-05 15:28:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743505209158992,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:22] local.WARNING: Large IO value detected {"io_id":112,"raw_value":4252588033,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:22] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3981443133,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-05 15:28:22] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:22] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3808480632,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:22] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3179610112,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:22] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:22] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:22] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:22] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,189,160,111,45,128,237,61,42,10,66,29,203,1,240,4,227,112,31,113,205,39,104,80,41,239,48,2,63,7,120,76,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":203,"original":24577,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-05 15:28:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395825686594453504,"timestamp_seconds":4395825686594453.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 15:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882147584001,"66":12548,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882147584001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:28:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:28:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882147584001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":173046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:28:22] local.INFO: GPS data processed {"connection_id":173046,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:28:22] local.INFO: Acknowledgment sent {"connection_id":173046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:28:30] local.INFO: TCP Data received {"connection_id":171652,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070fe6b88012c7939c00848c5f00014000129..."} 
[2026-09-05 15:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fe6b88012c7939c00848c5f00014000129..."} 
[2026-09-05 15:28:30] local.INFO: Processing buffer {"connection_id":171652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fe6b88012c7939c00848c5f00014000129..."} 
[2026-09-05 15:28:30] local.INFO: Packet analysis {"connection_id":171652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fe"} 
[2026-09-05 15:28:30] local.INFO: Extracted packet for processing {"connection_id":171652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fe"} 
[2026-09-05 15:28:30] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882064896001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788602117000,"timestamp_ms":1788602117000,"timestamp_seconds":1788602117,"priority":1,"record_length":96,"hex_timestamp":"000001a070fe6b88"} 
[2026-09-05 15:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:28:30] 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-09-05 15:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":171652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":171652,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":171652,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882064896001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882064896001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:28:30] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:28:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:28:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882064896001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":171652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769430,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:28:30] local.INFO: GPS data processed {"connection_id":171652,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:28:30] local.INFO: Acknowledgment sent {"connection_id":171652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:28:35] local.INFO: TCP Data received {"connection_id":171949,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071005ba0012d7dda4006006400000700472c..."} 
[2026-09-05 15:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071005ba0012d7dda4006006400000700472c..."} 
[2026-09-05 15:28:35] local.INFO: Processing buffer {"connection_id":171949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071005ba0012d7dda4006006400000700472c..."} 
[2026-09-05 15:28:35] local.INFO: Packet analysis {"connection_id":171949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07100"} 
[2026-09-05 15:28:35] local.INFO: Extracted packet for processing {"connection_id":171949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07100"} 
[2026-09-05 15:28:35] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":44,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882097408001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068420087951919104,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:35] 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-09-05 15:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788602244000,"timestamp_ms":1788602244000,"timestamp_seconds":1788602244,"priority":1,"record_length":96,"hex_timestamp":"000001a071005ba0"} 
[2026-09-05 15:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:28:35] 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-09-05 15:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-05 15:28: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-09-05 15:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882097408001,"66":26452,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068420087951919104},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882097408001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:28:35] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:28:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068420087951919104,"description":"Unknown IO ID 45"} 
[2026-09-05 15:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882097408001,"power":26452,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068420087951919104}} 
[2026-09-05 15:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":171949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:28:35] local.INFO: GPS data processed {"connection_id":171949,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:28:35] local.INFO: Acknowledgment sent {"connection_id":171949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:28:44] local.INFO: TCP Data received {"connection_id":174359,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:28:44] local.INFO: Processing buffer {"connection_id":174359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:28:44] local.INFO: IMEI packet received {"connection_id":174359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":174359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:28:47] local.INFO: TCP Data received {"connection_id":174360,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174360,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:28:47] local.INFO: Processing buffer {"connection_id":174360,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:28:47] local.INFO: IMEI packet received {"connection_id":174360,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":174360,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:28:50] local.INFO: TCP Data received {"connection_id":174359,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:28:50] local.INFO: TCP Data received {"connection_id":173047,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07100f3f8012d7d1c4005ea78d0000c00b923..."} 
[2026-09-05 15:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:28:50] local.INFO: Processing buffer {"connection_id":174359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:28:50] local.INFO: IMEI packet received {"connection_id":174359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":174359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07100f3f8012d7d1c4005ea78d0000c00b923..."} 
[2026-09-05 15:28:50] local.INFO: Processing buffer {"connection_id":173047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07100f3f8012d7d1c4005ea78d0000c00b923..."} 
[2026-09-05 15:28:50] local.INFO: Packet analysis {"connection_id":173047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07100"} 
[2026-09-05 15:28:50] local.INFO: Extracted packet for processing {"connection_id":173047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07100"} 
[2026-09-05 15:28:50] local.INFO: GPS Element Parsed {"raw_longitude":763173952,"raw_latitude":99252432,"longitude_deg":76.3173952,"latitude_deg":9.9252432,"altitude":12,"angle":185,"satellites":35,"speed":23,"hex_longitude":"2d7d1c40","hex_latitude":"05ea78d0","is_valid_coordinates":true} 
[2026-09-05 15:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882182656001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128527317239595008,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015150948242374656,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788602283000,"timestamp_ms":1788602283000,"timestamp_seconds":1788602283,"priority":1,"record_length":96,"hex_timestamp":"000001a07100f3f8"} 
[2026-09-05 15:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-05 15:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:28:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882182656001,"66":13830,"158":206,"87":13824,"24":23,"16":128527317239595008,"45":9015150948242374656},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-05 15:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882182656001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:28:50] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-05 15:28:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128527317239595008,"km_value":128527317239595.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015150948242374656,"description":"Unknown IO ID 45"} 
[2026-09-05 15:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882182656001,"power":13830,"unknown_158":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":9015150948242374656}} 
[2026-09-05 15:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":173047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:28:50] local.INFO: GPS data processed {"connection_id":173047,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:28:50] local.INFO: Acknowledgment sent {"connection_id":173047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:28:50] local.INFO: TCP Data received {"connection_id":174359,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070ff6588012d196880071fed50003d011c2a..."} 
[2026-09-05 15:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ff6588012d196880071fed50003d011c2a..."} 
[2026-09-05 15:28:50] local.INFO: Processing buffer {"connection_id":174359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ff6588012d196880071fed50003d011c2a..."} 
[2026-09-05 15:28:50] local.INFO: Packet analysis {"connection_id":174359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ff"} 
[2026-09-05 15:28:50] local.INFO: Extracted packet for processing {"connection_id":174359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ff"} 
[2026-09-05 15:28:50] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882152960001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788602181000,"timestamp_ms":1788602181000,"timestamp_seconds":1788602181,"priority":1,"record_length":96,"hex_timestamp":"000001a070ff6588"} 
[2026-09-05 15:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 15:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:50] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2231369728,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184194867405,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:50] local.WARNING: Large IO value detected {"io_id":112,"raw_value":4257964033,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:50] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3981443133,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-05 15:28:50] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:50] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3179610112,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:50] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:50] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,189,160,193,45,128,237,61,44,10,66,111,42,29,1,240,238,227,112,31,4,113,205,121,104,80,239,49,2,63,7,120],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-05 15:28:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395825673709551616,"timestamp_seconds":4395825673709551.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 15:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882152960001,"66":12548,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882152960001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:28:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:28:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882152960001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":174359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:28:51] local.INFO: GPS data processed {"connection_id":174359,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:28:51] local.INFO: Acknowledgment sent {"connection_id":174359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:28:52] local.INFO: TCP Data received {"connection_id":174360,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174360,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:28:52] local.INFO: Processing buffer {"connection_id":174360,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:28:52] local.INFO: IMEI packet received {"connection_id":174360,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":174360,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:28:54] local.INFO: TCP Data received {"connection_id":174360,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070fe6b88012c7939c00848c5f00014000129..."} 
[2026-09-05 15:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fe6b88012c7939c00848c5f00014000129..."} 
[2026-09-05 15:28:54] local.INFO: Processing buffer {"connection_id":174360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fe6b88012c7939c00848c5f00014000129..."} 
[2026-09-05 15:28:54] local.INFO: Packet analysis {"connection_id":174360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fe"} 
[2026-09-05 15:28:54] local.INFO: Extracted packet for processing {"connection_id":174360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fe"} 
[2026-09-05 15:28:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882064896001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788602117000,"timestamp_ms":1788602117000,"timestamp_seconds":1788602117,"priority":1,"record_length":96,"hex_timestamp":"000001a070fe6b88"} 
[2026-09-05 15:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:28:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174360,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174360,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882064896001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882064896001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:28:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:28:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:28:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882064896001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:28:54] local.INFO: TCP Data received {"connection_id":173048,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:28:54] local.INFO: Processing buffer {"connection_id":173048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:28:54] local.INFO: IMEI packet received {"connection_id":173048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":173048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":174360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769434,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:28:54] local.INFO: GPS data processed {"connection_id":174360,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:28:54] local.INFO: Acknowledgment sent {"connection_id":174360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:28:55] local.INFO: TCP Data received {"connection_id":173048,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:28:55] local.INFO: Processing buffer {"connection_id":173048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:28:55] local.INFO: IMEI packet received {"connection_id":173048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":173048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:28:56] local.INFO: TCP Data received {"connection_id":171653,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:28:56] local.INFO: Processing buffer {"connection_id":171653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:28:56] local.INFO: IMEI packet received {"connection_id":171653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":171653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:29:01] local.INFO: TCP Data received {"connection_id":171653,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:29:01] local.INFO: Processing buffer {"connection_id":171653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:29:01] local.INFO: IMEI packet received {"connection_id":171653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":171653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:29:02] local.INFO: TCP Data received {"connection_id":171653,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071005ba0012d7dda4006006400000700472c..."} 
[2026-09-05 15:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071005ba0012d7dda4006006400000700472c..."} 
[2026-09-05 15:29:02] local.INFO: Processing buffer {"connection_id":171653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071005ba0012d7dda4006006400000700472c..."} 
[2026-09-05 15:29:02] local.INFO: Packet analysis {"connection_id":171653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07100"} 
[2026-09-05 15:29:02] local.INFO: Extracted packet for processing {"connection_id":171653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07100"} 
[2026-09-05 15:29:02] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":44,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882097408001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068420087951919104,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:02] 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-09-05 15:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788602244000,"timestamp_ms":1788602244000,"timestamp_seconds":1788602244,"priority":1,"record_length":96,"hex_timestamp":"000001a071005ba0"} 
[2026-09-05 15:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:29:02] 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-09-05 15: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-05 15:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882097408001,"66":26452,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068420087951919104},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882097408001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:29:02] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:29:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068420087951919104,"description":"Unknown IO ID 45"} 
[2026-09-05 15:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882097408001,"power":26452,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068420087951919104}} 
[2026-09-05 15:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":171653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:29:02] local.INFO: GPS data processed {"connection_id":171653,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:29:02] local.INFO: Acknowledgment sent {"connection_id":171653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:29:13] local.INFO: TCP Data received {"connection_id":173048,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:29:13] local.INFO: Processing buffer {"connection_id":173048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:29:13] local.INFO: IMEI packet received {"connection_id":173048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":173048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:29:14] local.INFO: TCP Data received {"connection_id":173048,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071011ef0012d7d1a8005ea5568000d00b424..."} 
[2026-09-05 15:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071011ef0012d7d1a8005ea5568000d00b424..."} 
[2026-09-05 15:29:14] local.INFO: Processing buffer {"connection_id":173048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071011ef0012d7d1a8005ea5568000d00b424..."} 
[2026-09-05 15:29:14] local.INFO: Packet analysis {"connection_id":173048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07101"} 
[2026-09-05 15:29:14] local.INFO: Extracted packet for processing {"connection_id":173048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07101"} 
[2026-09-05 15:29:14] local.INFO: GPS Element Parsed {"raw_longitude":763173504,"raw_latitude":99243368,"longitude_deg":76.3173504,"latitude_deg":9.9243368,"altitude":13,"angle":180,"satellites":36,"speed":35,"hex_longitude":"2d7d1a80","hex_latitude":"05ea5568","is_valid_coordinates":true} 
[2026-09-05 15:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882184448001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128527755326259200,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015150948241690624,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788602294000,"timestamp_ms":1788602294000,"timestamp_seconds":1788602294,"priority":1,"record_length":96,"hex_timestamp":"000001a071011ef0"} 
[2026-09-05 15:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-05 15:29:14] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627253124096,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:14] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3840933901,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1352532174,"corrected_to":0} 
[2026-09-05 15:29:14] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2818649469,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2645098496,"corrected_to":0} 
[2026-09-05 15:29:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3941091328,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:14] local.WARNING: Large IO value detected {"io_id":214,"raw_value":-3458433023375047190,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:14] local.WARNING: Large IO value detected {"io_id":252,"raw_value":-1729373457778278388,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:14] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,158,87,24,241,157,16,160,216,45,64,131,12,35,10,66,142,192,107,1,240,88,227,113,234,4,205,15,48,33,248,38,239,52,2,200,5,214,252],"length":528,"final_offset":658,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1352532174,"validated":0},{"io_id":200,"original":2645098496,"validated":0}]} 
[2026-09-05 15:29:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864894688431636480,"timestamp_seconds":864894688431636.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 15:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":173048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":173048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":173048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882184448001,"66":13135,"158":206,"87":13824,"24":35,"16":128527755326259200,"45":9015150948241690624},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-05 15:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882184448001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:29:14] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-05 15:29:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128527755326259200,"km_value":128527755326259.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015150948241690624,"description":"Unknown IO ID 45"} 
[2026-09-05 15:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882184448001,"power":13135,"unknown_158":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":9015150948241690624}} 
[2026-09-05 15:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":173048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769436,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:29:14] local.INFO: GPS data processed {"connection_id":173048,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:29:14] local.INFO: Acknowledgment sent {"connection_id":173048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:29:22] local.INFO: TCP Data received {"connection_id":174359,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a070ffb790012d196880071fed50003d011c2b..."} 
[2026-09-05 15:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070ffb790012d196880071fed50003d011c2b..."} 
[2026-09-05 15:29:22] local.INFO: Processing buffer {"connection_id":174359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070ffb790012d196880071fed50003d011c2b..."} 
[2026-09-05 15:29:22] local.INFO: Packet analysis {"connection_id":174359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070ff"} 
[2026-09-05 15:29:22] local.INFO: Extracted packet for processing {"connection_id":174359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070ff"} 
[2026-09-05 15:29:22] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882158336001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788602202000,"timestamp_ms":1788602202000,"timestamp_seconds":1788602202,"priority":1,"record_length":96,"hex_timestamp":"000001a070ffb790"} 
[2026-09-05 15:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 15:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:22] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2231369728,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:22] local.WARNING: Large IO value detected {"io_id":112,"raw_value":4263340033,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:22] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3981443133,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-05 15:29:22] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":1610689817,"corrected_to":0} 
[2026-09-05 15:29:22] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:22] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3179610112,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:22] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:22] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,189,160,19,45,128,237,61,41,10,66,193,44,111,1,240,36,227,112,31,4,113,205,203,104,80,40,239,49,2,63,7,120],"length":485,"final_offset":615,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":203,"original":1610689817,"validated":0}]} 
[2026-09-05 15:29:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395825678004518912,"timestamp_seconds":4395825678004519.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 15:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882158336001,"66":12548,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882158336001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:29:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:29:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882158336001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":174359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:29:22] local.INFO: GPS data processed {"connection_id":174359,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:29:22] local.INFO: Acknowledgment sent {"connection_id":174359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:29:25] local.INFO: TCP Data received {"connection_id":174360,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070fe6b88012c7939c00848c5f00014000129..."} 
[2026-09-05 15:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fe6b88012c7939c00848c5f00014000129..."} 
[2026-09-05 15:29:25] local.INFO: Processing buffer {"connection_id":174360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fe6b88012c7939c00848c5f00014000129..."} 
[2026-09-05 15:29:25] local.INFO: Packet analysis {"connection_id":174360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fe"} 
[2026-09-05 15:29:25] local.INFO: Extracted packet for processing {"connection_id":174360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fe"} 
[2026-09-05 15:29:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882064896001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788602117000,"timestamp_ms":1788602117000,"timestamp_seconds":1788602117,"priority":1,"record_length":96,"hex_timestamp":"000001a070fe6b88"} 
[2026-09-05 15:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:29:25] 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-09-05 15:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174360,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174360,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882064896001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882064896001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:29:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:29:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:29:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882064896001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":174360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769438,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:29:26] local.INFO: GPS data processed {"connection_id":174360,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:29:26] local.INFO: Acknowledgment sent {"connection_id":174360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:29:34] local.INFO: TCP Data received {"connection_id":171653,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071005ba0012d7dda4006006400000700472c..."} 
[2026-09-05 15:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071005ba0012d7dda4006006400000700472c..."} 
[2026-09-05 15:29:34] local.INFO: Processing buffer {"connection_id":171653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071005ba0012d7dda4006006400000700472c..."} 
[2026-09-05 15:29:34] local.INFO: Packet analysis {"connection_id":171653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07100"} 
[2026-09-05 15:29:34] local.INFO: Extracted packet for processing {"connection_id":171653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07100"} 
[2026-09-05 15:29:34] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":44,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882097408001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068420087951919104,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:34] 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-09-05 15:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788602244000,"timestamp_ms":1788602244000,"timestamp_seconds":1788602244,"priority":1,"record_length":96,"hex_timestamp":"000001a071005ba0"} 
[2026-09-05 15:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:29: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-09-05 15: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-05 15:29: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-09-05 15: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-09-05 15:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882097408001,"66":26452,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068420087951919104},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882097408001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:29:34] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:29:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068420087951919104,"description":"Unknown IO ID 45"} 
[2026-09-05 15:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882097408001,"power":26452,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068420087951919104}} 
[2026-09-05 15:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":171653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:29:34] local.INFO: GPS data processed {"connection_id":171653,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:29:34] local.INFO: Acknowledgment sent {"connection_id":171653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:29:47] local.INFO: TCP Data received {"connection_id":171950,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:29:47] local.INFO: Processing buffer {"connection_id":171950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:29:47] local.INFO: IMEI packet received {"connection_id":171950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":171950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:29:50] local.INFO: TCP Data received {"connection_id":171950,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:29:50] local.INFO: Processing buffer {"connection_id":171950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:29:50] local.INFO: IMEI packet received {"connection_id":171950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":171950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:29:52] local.INFO: TCP Data received {"connection_id":171951,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171951,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:29:52] local.INFO: Processing buffer {"connection_id":171951,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:29:52] local.INFO: IMEI packet received {"connection_id":171951,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":171951,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:29:55] local.INFO: TCP Data received {"connection_id":173051,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:29:55] local.INFO: Processing buffer {"connection_id":173051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:29:55] local.INFO: IMEI packet received {"connection_id":173051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":173051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:29:55] local.INFO: TCP Data received {"connection_id":171950,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:29:55] local.INFO: Processing buffer {"connection_id":171950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:29:55] local.INFO: IMEI packet received {"connection_id":171950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":171950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:29:55] local.INFO: TCP Data received {"connection_id":171950,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071000998012d196880071fed50003d011c2a..."} 
[2026-09-05 15:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071000998012d196880071fed50003d011c2a..."} 
[2026-09-05 15:29:55] local.INFO: Processing buffer {"connection_id":171950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071000998012d196880071fed50003d011c2a..."} 
[2026-09-05 15:29:55] local.INFO: Packet analysis {"connection_id":171950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07100"} 
[2026-09-05 15:29:55] local.INFO: Extracted packet for processing {"connection_id":171950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07100"} 
[2026-09-05 15:29:55] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882163712001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788602223000,"timestamp_ms":1788602223000,"timestamp_seconds":1788602223,"priority":1,"record_length":96,"hex_timestamp":"000001a071000998"} 
[2026-09-05 15:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:29:55] 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-09-05 15:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 15:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:55] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2231369728,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:55] local.WARNING: Large IO value detected {"io_id":112,"raw_value":4268716033,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:55] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3981443133,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-05 15:29:55] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:55] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993030008,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:55] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3179610112,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:55] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:55] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,189,160,101,45,128,237,61,42,10,66,19,41,193,1,240,14,227,112,31,4,113,205,29,104,80,239,48,2,63,7,120],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-05 15:29:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395825682299486208,"timestamp_seconds":4395825682299486.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 15:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882163712001,"66":12537,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882163712001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:29:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:29:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882163712001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":171950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:29:56] local.INFO: GPS data processed {"connection_id":171950,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:29:56] local.INFO: Acknowledgment sent {"connection_id":171950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:29:56] local.INFO: TCP Data received {"connection_id":173050,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:29:56] local.INFO: Processing buffer {"connection_id":173050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:29:56] local.INFO: IMEI packet received {"connection_id":173050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":173050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:29:57] local.INFO: TCP Data received {"connection_id":171951,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171951,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:29:57] local.INFO: Processing buffer {"connection_id":171951,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:29:57] local.INFO: IMEI packet received {"connection_id":171951,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":171951,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:29:58] local.INFO: TCP Data received {"connection_id":171951,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070fe6b88012c7939c00848c5f00014000129..."} 
[2026-09-05 15:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fe6b88012c7939c00848c5f00014000129..."} 
[2026-09-05 15:29:58] local.INFO: Processing buffer {"connection_id":171951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fe6b88012c7939c00848c5f00014000129..."} 
[2026-09-05 15:29:58] local.INFO: Packet analysis {"connection_id":171951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fe"} 
[2026-09-05 15:29:58] local.INFO: Extracted packet for processing {"connection_id":171951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fe"} 
[2026-09-05 15:29:58] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882064896001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788602117000,"timestamp_ms":1788602117000,"timestamp_seconds":1788602117,"priority":1,"record_length":96,"hex_timestamp":"000001a070fe6b88"} 
[2026-09-05 15:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:29:58] 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-09-05 15:29:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882064896001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882064896001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:29:58] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:29:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:29:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882064896001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":171951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769441,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:29:58] local.INFO: GPS data processed {"connection_id":171951,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:29:58] local.INFO: Acknowledgment sent {"connection_id":171951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:29:59] local.INFO: TCP Data received {"connection_id":173051,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:29:59] local.INFO: Processing buffer {"connection_id":173051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:29:59] local.INFO: IMEI packet received {"connection_id":173051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":173051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:30:00] local.INFO: TCP Data received {"connection_id":173051,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071025f40012d7ccc8005e9b8680009015e23..."} 
[2026-09-05 15:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071025f40012d7ccc8005e9b8680009015e23..."} 
[2026-09-05 15:30:00] local.INFO: Processing buffer {"connection_id":173051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071025f40012d7ccc8005e9b8680009015e23..."} 
[2026-09-05 15:30:00] local.INFO: Packet analysis {"connection_id":173051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07102"} 
[2026-09-05 15:30:00] local.INFO: Extracted packet for processing {"connection_id":173051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07102"} 
[2026-09-05 15:30:00] local.INFO: GPS Element Parsed {"raw_longitude":763153536,"raw_latitude":99203176,"longitude_deg":76.3153536,"latitude_deg":9.9203176,"altitude":9,"angle":350,"satellites":35,"speed":14,"hex_longitude":"2d7ccc80","hex_latitude":"05e9b868","is_valid_coordinates":true} 
[2026-09-05 15:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882208000001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128530499810361344,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992773687580491776,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788602376000,"timestamp_ms":1788602376000,"timestamp_seconds":1788602376,"priority":1,"record_length":96,"hex_timestamp":"000001a071025f40"} 
[2026-09-05 15:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 15:30:00] 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-09-05 15:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882208000001,"66":13656,"192":206,"87":13824,"24":14,"16":128530499810361344,"45":8992773687580491776},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-05 15:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882208000001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:30:00] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-05 15:30:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128530499810361344,"km_value":128530499810361.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992773687580491776,"description":"Unknown IO ID 45"} 
[2026-09-05 15:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882208000001,"power":13656,"unknown_192":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8992773687580491776}} 
[2026-09-05 15:30:00] local.INFO: TCP Data received {"connection_id":171950,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071005ba0012d196880071fed50003d011c2b..."} 
[2026-09-05 15:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071005ba0012d196880071fed50003d011c2b..."} 
[2026-09-05 15:30:00] local.INFO: Processing buffer {"connection_id":171950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071005ba0012d196880071fed50003d011c2b..."} 
[2026-09-05 15:30:00] local.INFO: Packet analysis {"connection_id":171950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07100"} 
[2026-09-05 15:30:00] local.INFO: Extracted packet for processing {"connection_id":171950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07100"} 
[2026-09-05 15:30:00] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882169088001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788602244000,"timestamp_ms":1788602244000,"timestamp_seconds":1788602244,"priority":1,"record_length":96,"hex_timestamp":"000001a071005ba0"} 
[2026-09-05 15:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-05 15:30:00] 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-09-05 15:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882169088001,"66":12526,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882169088001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:30:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:30:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882169088001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":173051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:30:00] local.INFO: GPS data processed {"connection_id":173051,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:30:00] local.INFO: Acknowledgment sent {"connection_id":173051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":171950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:30:00] local.INFO: GPS data processed {"connection_id":171950,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:30:00] local.INFO: Acknowledgment sent {"connection_id":171950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:30:01] local.INFO: TCP Data received {"connection_id":173050,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:30:01] local.INFO: Processing buffer {"connection_id":173050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:30:01] local.INFO: IMEI packet received {"connection_id":173050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":173050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:30:02] local.INFO: TCP Data received {"connection_id":173050,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071005ba0012d7dda4006006400000700472c..."} 
[2026-09-05 15:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071005ba0012d7dda4006006400000700472c..."} 
[2026-09-05 15:30:02] local.INFO: Processing buffer {"connection_id":173050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071005ba0012d7dda4006006400000700472c..."} 
[2026-09-05 15:30:02] local.INFO: Packet analysis {"connection_id":173050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07100"} 
[2026-09-05 15:30:02] local.INFO: Extracted packet for processing {"connection_id":173050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07100"} 
[2026-09-05 15:30:02] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":44,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882097408001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068420087951919104,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:02] 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-09-05 15:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788602244000,"timestamp_ms":1788602244000,"timestamp_seconds":1788602244,"priority":1,"record_length":96,"hex_timestamp":"000001a071005ba0"} 
[2026-09-05 15:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:30:02] 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-09-05 15: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":44,"data_length":795,"current_offset":136} 
[2026-09-05 15:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882097408001,"66":26452,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068420087951919104},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882097408001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:30:02] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:30:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068420087951919104,"description":"Unknown IO ID 45"} 
[2026-09-05 15:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882097408001,"power":26452,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068420087951919104}} 
[2026-09-05 15:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":173050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:30:02] local.INFO: GPS data processed {"connection_id":173050,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:30:02] local.INFO: Acknowledgment sent {"connection_id":173050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:30:03] local.INFO: TCP Data received {"connection_id":171951,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070fe6b88012c7939c00848c5f00014000129..."} 
[2026-09-05 15:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fe6b88012c7939c00848c5f00014000129..."} 
[2026-09-05 15:30:03] local.INFO: Processing buffer {"connection_id":171951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fe6b88012c7939c00848c5f00014000129..."} 
[2026-09-05 15:30:03] local.INFO: Packet analysis {"connection_id":171951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fe"} 
[2026-09-05 15:30:03] local.INFO: Extracted packet for processing {"connection_id":171951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fe"} 
[2026-09-05 15:30:03] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 15:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882064896001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788602117000,"timestamp_ms":1788602117000,"timestamp_seconds":1788602117,"priority":1,"record_length":96,"hex_timestamp":"000001a070fe6b88"} 
[2026-09-05 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-09-05 15:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:30: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-09-05 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-09-05 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-09-05 15:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882064896001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882064896001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:30:03] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:30:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:30:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882064896001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":171951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769445,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:30:03] local.INFO: GPS data processed {"connection_id":171951,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:30:03] local.INFO: Acknowledgment sent {"connection_id":171951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:30:32] local.INFO: TCP Data received {"connection_id":173051,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07102ff68012d7c8b0005e9b3300001009c22..."} 
[2026-09-05 15:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07102ff68012d7c8b0005e9b3300001009c22..."} 
[2026-09-05 15:30:32] local.INFO: Processing buffer {"connection_id":173051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07102ff68012d7c8b0005e9b3300001009c22..."} 
[2026-09-05 15:30:32] local.INFO: Packet analysis {"connection_id":173051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07102"} 
[2026-09-05 15:30:32] local.INFO: Extracted packet for processing {"connection_id":173051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07102"} 
[2026-09-05 15:30:32] local.INFO: GPS Element Parsed {"raw_longitude":763136768,"raw_latitude":99201840,"longitude_deg":76.3136768,"latitude_deg":9.920184,"altitude":1,"angle":156,"satellites":34,"speed":10,"hex_longitude":"2d7c8b00","hex_latitude":"05e9b330","is_valid_coordinates":true} 
[2026-09-05 15:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882218496001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128531423228329984,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974196339117398016,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788602417000,"timestamp_ms":1788602417000,"timestamp_seconds":1788602417,"priority":1,"record_length":96,"hex_timestamp":"000001a07102ff68"} 
[2026-09-05 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-09-05 15:30: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-09-05 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-05 15:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630497,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3396277116235415562,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:32] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:32] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3181903881,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:32] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635583937926848,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455423694,"corrected_to":0} 
[2026-09-05 15:30:32] local.WARNING: Large IO value detected {"io_id":118,"raw_value":2952867196,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:32] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2716401664,"corrected_to":0} 
[2026-09-05 15:30:32] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-2233559642703606185,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:32] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3921555456,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:32] local.WARNING: Large IO value detected {"io_id":124,"raw_value":-3819045982539087863,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:32] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755446685827313,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:32] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,192,87,24,241,157,16,162,160,177,45,64,188,8,36,10,66,146,191,9,35,134,1,240,12,227,113,233,4,205,20,118,200,239,52,2,5,13,124,54],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1455423694,"validated":0},{"io_id":200,"original":2716401664,"validated":0}]} 
[2026-09-05 15:30:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72242462315642880,"timestamp_seconds":72242462315642.88,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 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-09-05 15:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882218496001,"66":13580,"192":206,"87":13824,"24":10,"16":128531423228329984,"45":8974196339117398016},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-05 15:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882218496001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:30:32] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-05 15:30:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128531423228329984,"km_value":128531423228329.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974196339117398016,"description":"Unknown IO ID 45"} 
[2026-09-05 15:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882218496001,"power":13580,"unknown_192":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8974196339117398016}} 
[2026-09-05 15:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":173051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:30:32] local.INFO: GPS data processed {"connection_id":173051,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:30:32] local.INFO: Acknowledgment sent {"connection_id":173051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:30:33] local.INFO: TCP Data received {"connection_id":173050,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071005ba0012d7dda4006006400000700472c..."} 
[2026-09-05 15:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071005ba0012d7dda4006006400000700472c..."} 
[2026-09-05 15:30:33] local.INFO: Processing buffer {"connection_id":173050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071005ba0012d7dda4006006400000700472c..."} 
[2026-09-05 15:30:33] local.INFO: Packet analysis {"connection_id":173050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07100"} 
[2026-09-05 15:30:33] local.INFO: Extracted packet for processing {"connection_id":173050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07100"} 
[2026-09-05 15:30:33] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":44,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882097408001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068420087951919104,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:33] 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-09-05 15:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788602244000,"timestamp_ms":1788602244000,"timestamp_seconds":1788602244,"priority":1,"record_length":96,"hex_timestamp":"000001a071005ba0"} 
[2026-09-05 15:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:30: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-09-05 15:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-05 15:30: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-09-05 15:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882097408001,"66":26452,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068420087951919104},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882097408001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:30:33] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:30:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068420087951919104,"description":"Unknown IO ID 45"} 
[2026-09-05 15:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882097408001,"power":26452,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068420087951919104}} 
[2026-09-05 15:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":173050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:30:33] local.INFO: GPS data processed {"connection_id":173050,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:30:33] local.INFO: Acknowledgment sent {"connection_id":173050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:30:45] local.INFO: TCP Data received {"connection_id":174361,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:30:45] local.INFO: Processing buffer {"connection_id":174361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:30:45] local.INFO: IMEI packet received {"connection_id":174361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":174361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:30:46] local.INFO: TCP Data received {"connection_id":173049,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173049,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:30:46] local.INFO: Processing buffer {"connection_id":173049,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:30:46] local.INFO: IMEI packet received {"connection_id":173049,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 15:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":173049,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:30:47] local.INFO: TCP Data received {"connection_id":171654,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171654,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:30:47] local.INFO: Processing buffer {"connection_id":171654,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:30:47] local.INFO: IMEI packet received {"connection_id":171654,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":171654,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:30:48] local.INFO: TCP Data received {"connection_id":173049,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a071032678012d0b8740070350900014004809..."} 
[2026-09-05 15:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071032678012d0b8740070350900014004809..."} 
[2026-09-05 15:30:48] local.INFO: Processing buffer {"connection_id":173049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071032678012d0b8740070350900014004809..."} 
[2026-09-05 15:30:48] local.INFO: Packet analysis {"connection_id":173049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:30:48] local.INFO: Extracted packet for processing {"connection_id":173049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:30:48] local.INFO: GPS Element Parsed {"raw_longitude":755730240,"raw_latitude":117657744,"longitude_deg":75.573024,"latitude_deg":11.7657744,"altitude":20,"angle":72,"satellites":9,"speed":11,"hex_longitude":"2d0b8740","hex_latitude":"07035090","is_valid_coordinates":true} 
[2026-09-05 15:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882221056001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30336655386738688,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830351211416811520,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788602427000,"timestamp_ms":1788602427000,"timestamp_seconds":1788602427,"priority":1,"record_length":96,"hex_timestamp":"000001a071032678"} 
[2026-09-05 15:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:30:48] 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-09-05 15:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-05 15:30:48] 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-09-05 15:30:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":173049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":173049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":173049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882221056001,"66":14439,"17":206,"94":11008,"24":11,"16":30336655386738688,"45":830351211416811520},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-05 15:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882221056001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:30:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 15:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30336655386738688,"km_value":30336655386738.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":830351211416811520,"description":"Unknown IO ID 45"} 
[2026-09-05 15:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882221056001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":830351211416811520}} 
[2026-09-05 15:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":173049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769448,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:30:48] local.INFO: GPS data processed {"connection_id":173049,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:30:48] local.INFO: Acknowledgment sent {"connection_id":173049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:30:50] local.INFO: TCP Data received {"connection_id":174361,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:30:50] local.INFO: Processing buffer {"connection_id":174361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:30:50] local.INFO: IMEI packet received {"connection_id":174361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":174361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:30:50] local.INFO: TCP Data received {"connection_id":174361,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07100ada8012d196880071fed50003d011c29..."} 
[2026-09-05 15:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07100ada8012d196880071fed50003d011c29..."} 
[2026-09-05 15:30:50] local.INFO: Processing buffer {"connection_id":174361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07100ada8012d196880071fed50003d011c29..."} 
[2026-09-05 15:30:50] local.INFO: Packet analysis {"connection_id":174361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07100"} 
[2026-09-05 15:30:50] local.INFO: Extracted packet for processing {"connection_id":174361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07100"} 
[2026-09-05 15:30:50] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882174464001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788602265000,"timestamp_ms":1788602265000,"timestamp_seconds":1788602265,"priority":1,"record_length":96,"hex_timestamp":"000001a07100ada8"} 
[2026-09-05 15:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:30: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-09-05 15:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-05 15:30:50] 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-09-05 15:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882174464001,"66":12504,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882174464001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:30:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:30:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882174464001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":174361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:30:51] local.INFO: GPS data processed {"connection_id":174361,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:30:51] local.INFO: Acknowledgment sent {"connection_id":174361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:30:52] local.INFO: TCP Data received {"connection_id":171654,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171654,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:30:52] local.INFO: Processing buffer {"connection_id":171654,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:30:52] local.INFO: IMEI packet received {"connection_id":171654,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":171654,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:30:54] local.INFO: TCP Data received {"connection_id":171654,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a070fe6b88012c7939c00848c5f00014000129..."} 
[2026-09-05 15:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a070fe6b88012c7939c00848c5f00014000129..."} 
[2026-09-05 15:30:54] local.INFO: Processing buffer {"connection_id":171654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a070fe6b88012c7939c00848c5f00014000129..."} 
[2026-09-05 15:30:54] local.INFO: Packet analysis {"connection_id":171654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a070fe"} 
[2026-09-05 15:30:54] local.INFO: Extracted packet for processing {"connection_id":171654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a070fe"} 
[2026-09-05 15:30:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882064896001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788602117000,"timestamp_ms":1788602117000,"timestamp_seconds":1788602117,"priority":1,"record_length":96,"hex_timestamp":"000001a070fe6b88"} 
[2026-09-05 15:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171654,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171654,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882064896001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882064896001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:30:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:30:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:30:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882064896001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":171654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769450,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:30:54] local.INFO: GPS data processed {"connection_id":171654,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:30:54] local.INFO: Acknowledgment sent {"connection_id":171654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:30:55] local.INFO: TCP Data received {"connection_id":173052,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:30:55] local.INFO: Processing buffer {"connection_id":173052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:30:55] local.INFO: IMEI packet received {"connection_id":173052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":173052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:30:56] local.INFO: TCP Data received {"connection_id":174362,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:30:56] local.INFO: Processing buffer {"connection_id":174362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:30:56] local.INFO: IMEI packet received {"connection_id":174362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":174362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:30:56] local.INFO: TCP Data received {"connection_id":173052,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:30:56] local.INFO: Processing buffer {"connection_id":173052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:30:56] local.INFO: IMEI packet received {"connection_id":173052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":173052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:31:01] local.INFO: TCP Data received {"connection_id":173052,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:31:01] local.INFO: Processing buffer {"connection_id":173052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:31:01] local.INFO: IMEI packet received {"connection_id":173052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":173052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:31:01] local.INFO: TCP Data received {"connection_id":174362,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:31:01] local.INFO: Processing buffer {"connection_id":174362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:31:01] local.INFO: IMEI packet received {"connection_id":174362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":174362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:31:02] local.INFO: TCP Data received {"connection_id":173052,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071030738012d7c8b8005e9b038000000ac21..."} 
[2026-09-05 15:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071030738012d7c8b8005e9b038000000ac21..."} 
[2026-09-05 15:31:02] local.INFO: Processing buffer {"connection_id":173052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071030738012d7c8b8005e9b038000000ac21..."} 
[2026-09-05 15:31:02] local.INFO: Packet analysis {"connection_id":173052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:31:02] local.INFO: Extracted packet for processing {"connection_id":173052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:31:02] local.INFO: GPS Element Parsed {"raw_longitude":763136896,"raw_latitude":99201080,"longitude_deg":76.3136896,"latitude_deg":9.920108,"altitude":0,"angle":172,"satellites":33,"speed":18,"hex_longitude":"2d7c8b80","hex_latitude":"05e9b038","is_valid_coordinates":true} 
[2026-09-05 15:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882218752001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128531461883035648,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974266707861516288,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788602419000,"timestamp_ms":1788602419000,"timestamp_seconds":1788602419,"priority":1,"record_length":96,"hex_timestamp":"000001a071030738"} 
[2026-09-05 15:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:31: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-09-05 15:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-05 15:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630497,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1378664491763367946,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:02] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:02] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13457088,"corrected_to":0} 
[2026-09-05 15:31:02] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3190292489,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:02] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635583937926848,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455423694,"corrected_to":0} 
[2026-09-05 15:31:02] local.WARNING: Large IO value detected {"io_id":193,"raw_value":2147871165,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:02] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-648292573869191593,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:02] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2717581312,"corrected_to":0} 
[2026-09-05 15:31:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3921545216,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:02] local.WARNING: Large IO value detected {"io_id":124,"raw_value":-3909117975081254903,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:02] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755455275761905,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:02] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,192,87,24,241,157,16,162,160,251,45,180,1,35,10,66,177,64,188,8,36,146,240,247,227,113,233,4,205,20,130,193,168,34,239,52,2,200,5,9,19,124,54],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":247,"original":13457088,"validated":0},{"io_id":205,"original":1455423694,"validated":0},{"io_id":200,"original":2717581312,"validated":0}]} 
[2026-09-05 15:31:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72229263881404416,"timestamp_seconds":72229263881404.42,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 15:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882218752001,"66":13406,"192":206,"87":13824,"24":18,"16":128531461883035648,"45":8974266707861516288},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-05 15:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882218752001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:31:02] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-05 15:31:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128531461883035648,"km_value":128531461883035.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974266707861516288,"description":"Unknown IO ID 45"} 
[2026-09-05 15:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882218752001,"power":13406,"unknown_192":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8974266707861516288}} 
[2026-09-05 15:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":173052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769451,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:31:02] local.INFO: GPS data processed {"connection_id":173052,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:31:02] local.INFO: Acknowledgment sent {"connection_id":173052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:31:03] local.INFO: TCP Data received {"connection_id":174362,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071005ba0012d7dda4006006400000700472c..."} 
[2026-09-05 15:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071005ba0012d7dda4006006400000700472c..."} 
[2026-09-05 15:31:03] local.INFO: Processing buffer {"connection_id":174362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071005ba0012d7dda4006006400000700472c..."} 
[2026-09-05 15:31:03] local.INFO: Packet analysis {"connection_id":174362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07100"} 
[2026-09-05 15:31:03] local.INFO: Extracted packet for processing {"connection_id":174362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07100"} 
[2026-09-05 15:31:03] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":44,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882097408001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068420087951919104,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:03] 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-09-05 15:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788602244000,"timestamp_ms":1788602244000,"timestamp_seconds":1788602244,"priority":1,"record_length":96,"hex_timestamp":"000001a071005ba0"} 
[2026-09-05 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-09-05 15:31: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-09-05 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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-05 15:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 15:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882097408001,"66":26452,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068420087951919104},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882097408001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:31:03] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:31:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068420087951919104,"description":"Unknown IO ID 45"} 
[2026-09-05 15:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882097408001,"power":26452,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068420087951919104}} 
[2026-09-05 15:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":174362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:31:03] local.INFO: GPS data processed {"connection_id":174362,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:31:03] local.INFO: Acknowledgment sent {"connection_id":174362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:31:20] local.INFO: TCP Data received {"connection_id":173049,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a071032a60012d0b8880070350900014005409..."} 
[2026-09-05 15:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071032a60012d0b8880070350900014005409..."} 
[2026-09-05 15:31:20] local.INFO: Processing buffer {"connection_id":173049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071032a60012d0b8880070350900014005409..."} 
[2026-09-05 15:31:20] local.INFO: Packet analysis {"connection_id":173049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:31:20] local.INFO: Extracted packet for processing {"connection_id":173049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:31:20] local.INFO: GPS Element Parsed {"raw_longitude":755730560,"raw_latitude":117657744,"longitude_deg":75.573056,"latitude_deg":11.7657744,"altitude":20,"angle":84,"satellites":9,"speed":13,"hex_longitude":"2d0b8880","hex_latitude":"07035090","is_valid_coordinates":true} 
[2026-09-05 15:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882221312001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30336676861575168,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830703055137705984,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788602428000,"timestamp_ms":1788602428000,"timestamp_seconds":1788602428,"priority":1,"record_length":96,"hex_timestamp":"000001a071032a60"} 
[2026-09-05 15:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:31:20] 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-09-05 15:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-05 15:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882221312001,"66":14439,"17":206,"94":11008,"24":13,"16":30336676861575168,"45":830703055137705984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-05 15:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882221312001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:31:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 15:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30336676861575168,"km_value":30336676861575.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":830703055137705984,"description":"Unknown IO ID 45"} 
[2026-09-05 15:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882221312001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":830703055137705984}} 
[2026-09-05 15:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":173049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769453,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:31:21] local.INFO: GPS data processed {"connection_id":173049,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:31:21] local.INFO: Acknowledgment sent {"connection_id":173049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:31:22] local.INFO: TCP Data received {"connection_id":174361,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07100ffb0012d196880071fed50003d011c2b..."} 
[2026-09-05 15:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07100ffb0012d196880071fed50003d011c2b..."} 
[2026-09-05 15:31:22] local.INFO: Processing buffer {"connection_id":174361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07100ffb0012d196880071fed50003d011c2b..."} 
[2026-09-05 15:31:22] local.INFO: Packet analysis {"connection_id":174361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07100"} 
[2026-09-05 15:31:22] local.INFO: Extracted packet for processing {"connection_id":174361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07100"} 
[2026-09-05 15:31:22] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882179840001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788602286000,"timestamp_ms":1788602286000,"timestamp_seconds":1788602286,"priority":1,"record_length":96,"hex_timestamp":"000001a07100ffb0"} 
[2026-09-05 15:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 15:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882179840001,"66":12504,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882179840001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:31:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:31:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882179840001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":174361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:31:22] local.INFO: GPS data processed {"connection_id":174361,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:31:22] local.INFO: Acknowledgment sent {"connection_id":174361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:31:26] local.INFO: TCP Data received {"connection_id":171654,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071030350012c7939c00848c5f00014000129..."} 
[2026-09-05 15:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071030350012c7939c00848c5f00014000129..."} 
[2026-09-05 15:31:26] local.INFO: Processing buffer {"connection_id":171654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071030350012c7939c00848c5f00014000129..."} 
[2026-09-05 15:31:26] local.INFO: Packet analysis {"connection_id":171654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:31:26] local.INFO: Extracted packet for processing {"connection_id":171654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:31:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:31: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-09-05 15:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882141952001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788602418000,"timestamp_ms":1788602418000,"timestamp_seconds":1788602418,"priority":1,"record_length":96,"hex_timestamp":"000001a071030350"} 
[2026-09-05 15:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:31:26] 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-09-05 15:31: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-09-05 15:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171654,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171654,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882141952001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882141952001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:31:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:31:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:31:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882141952001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":171654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769455,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:31:26] local.INFO: GPS data processed {"connection_id":171654,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:31:26] local.INFO: Acknowledgment sent {"connection_id":171654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:31:35] local.INFO: TCP Data received {"connection_id":174362,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071005ba0012d7dda4006006400000700472c..."} 
[2026-09-05 15:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071005ba0012d7dda4006006400000700472c..."} 
[2026-09-05 15:31:35] local.INFO: Processing buffer {"connection_id":174362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071005ba0012d7dda4006006400000700472c..."} 
[2026-09-05 15:31:35] local.INFO: Packet analysis {"connection_id":174362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07100"} 
[2026-09-05 15:31:35] local.INFO: Extracted packet for processing {"connection_id":174362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07100"} 
[2026-09-05 15:31:35] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":44,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882097408001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068420087951919104,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:35] 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-09-05 15:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788602244000,"timestamp_ms":1788602244000,"timestamp_seconds":1788602244,"priority":1,"record_length":96,"hex_timestamp":"000001a071005ba0"} 
[2026-09-05 15:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:31:35] 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-09-05 15:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-05 15:31: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-09-05 15: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-09-05 15:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882097408001,"66":26452,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068420087951919104},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882097408001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:31:35] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:31:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068420087951919104,"description":"Unknown IO ID 45"} 
[2026-09-05 15:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882097408001,"power":26452,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068420087951919104}} 
[2026-09-05 15:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":174362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:31:35] local.INFO: GPS data processed {"connection_id":174362,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:31:35] local.INFO: Acknowledgment sent {"connection_id":174362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:31:44] local.INFO: TCP Data received {"connection_id":173052,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071032678012d7c8f8005e9a0280000009d21..."} 
[2026-09-05 15:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071032678012d7c8f8005e9a0280000009d21..."} 
[2026-09-05 15:31:44] local.INFO: Processing buffer {"connection_id":173052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071032678012d7c8f8005e9a0280000009d21..."} 
[2026-09-05 15:31:44] local.INFO: Packet analysis {"connection_id":173052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:31:44] local.INFO: Extracted packet for processing {"connection_id":173052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:31:44] local.INFO: GPS Element Parsed {"raw_longitude":763137920,"raw_latitude":99196968,"longitude_deg":76.313792,"latitude_deg":9.9196968,"altitude":0,"angle":157,"satellites":33,"speed":13,"hex_longitude":"2d7c8f80","hex_latitude":"05e9a028","is_valid_coordinates":true} 
[2026-09-05 15:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882219264001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128531663746498560,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974407445349677056,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788602427000,"timestamp_ms":1788602427000,"timestamp_seconds":1788602427,"priority":1,"record_length":96,"hex_timestamp":"000001a071032678"} 
[2026-09-05 15:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:31:44] 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-09-05 15:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-05 15:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:31:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":173052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":173052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":173052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882219264001,"66":12993,"192":206,"87":13824,"24":13,"16":128531663746498560,"45":8974407445349677056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-05 15:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882219264001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:31:44] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-05 15:31:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128531663746498560,"km_value":128531663746498.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974407445349677056,"description":"Unknown IO ID 45"} 
[2026-09-05 15:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882219264001,"power":12993,"unknown_192":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8974407445349677056}} 
[2026-09-05 15:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":173052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769457,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:31:44] local.INFO: GPS data processed {"connection_id":173052,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:31:44] local.INFO: Acknowledgment sent {"connection_id":173052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:31:45] local.INFO: TCP Data received {"connection_id":174363,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:31:45] local.INFO: Processing buffer {"connection_id":174363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:31:45] local.INFO: IMEI packet received {"connection_id":174363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":174363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:31:47] local.INFO: TCP Data received {"connection_id":171655,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171655,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:31:47] local.INFO: Processing buffer {"connection_id":171655,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:31:47] local.INFO: IMEI packet received {"connection_id":171655,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":171655,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:31:50] local.INFO: TCP Data received {"connection_id":174363,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:31:50] local.INFO: Processing buffer {"connection_id":174363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:31:50] local.INFO: IMEI packet received {"connection_id":174363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":174363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:31:50] local.INFO: TCP Data received {"connection_id":174363,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0710151b8012d196880071fed50003d011c28..."} 
[2026-09-05 15:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710151b8012d196880071fed50003d011c28..."} 
[2026-09-05 15:31:50] local.INFO: Processing buffer {"connection_id":174363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710151b8012d196880071fed50003d011c28..."} 
[2026-09-05 15:31:50] local.INFO: Packet analysis {"connection_id":174363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07101"} 
[2026-09-05 15:31:50] local.INFO: Extracted packet for processing {"connection_id":174363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07101"} 
[2026-09-05 15:31:50] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882185216001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788602307000,"timestamp_ms":1788602307000,"timestamp_seconds":1788602307,"priority":1,"record_length":96,"hex_timestamp":"000001a0710151b8"} 
[2026-09-05 15:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 15:31:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:31:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:31:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882185216001,"66":12526,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882185216001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:31:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:31:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:31:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882185216001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":174363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:31:51] local.INFO: GPS data processed {"connection_id":174363,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:31:51] local.INFO: Acknowledgment sent {"connection_id":174363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:31:51] local.INFO: TCP Data received {"connection_id":173049,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0710368e0012d0bacc0070352100017005d09..."} 
[2026-09-05 15:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710368e0012d0bacc0070352100017005d09..."} 
[2026-09-05 15:31:51] local.INFO: Processing buffer {"connection_id":173049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710368e0012d0bacc0070352100017005d09..."} 
[2026-09-05 15:31:51] local.INFO: Packet analysis {"connection_id":173049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:31:51] local.INFO: Extracted packet for processing {"connection_id":173049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:31:51] local.INFO: GPS Element Parsed {"raw_longitude":755739840,"raw_latitude":117658128,"longitude_deg":75.573984,"latitude_deg":11.7658128,"altitude":23,"angle":93,"satellites":9,"speed":12,"hex_longitude":"2d0bacc0","hex_latitude":"07035210","is_valid_coordinates":true} 
[2026-09-05 15:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882221568001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30337114948239360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":831054898858594304,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788602444000,"timestamp_ms":1788602444000,"timestamp_seconds":1788602444,"priority":1,"record_length":96,"hex_timestamp":"000001a0710368e0"} 
[2026-09-05 15:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-05 15:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882221568001,"66":14428,"17":206,"94":11008,"24":12,"16":30337114948239360,"45":831054898858594304},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-05 15:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882221568001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:31:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 15:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30337114948239360,"km_value":30337114948239.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":831054898858594304,"description":"Unknown IO ID 45"} 
[2026-09-05 15:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882221568001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":831054898858594304}} 
[2026-09-05 15:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":173049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769459,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:31:51] local.INFO: GPS data processed {"connection_id":173049,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:31:51] local.INFO: Acknowledgment sent {"connection_id":173049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:31:52] local.INFO: TCP Data received {"connection_id":171655,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171655,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:31:52] local.INFO: Processing buffer {"connection_id":171655,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:31:52] local.INFO: IMEI packet received {"connection_id":171655,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":171655,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:31:53] local.INFO: TCP Data received {"connection_id":171655,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071030350012c7939c00848c5f00014000129..."} 
[2026-09-05 15:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071030350012c7939c00848c5f00014000129..."} 
[2026-09-05 15:31:53] local.INFO: Processing buffer {"connection_id":171655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071030350012c7939c00848c5f00014000129..."} 
[2026-09-05 15:31:53] local.INFO: Packet analysis {"connection_id":171655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:31:53] local.INFO: Extracted packet for processing {"connection_id":171655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:31:53] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882141952001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788602418000,"timestamp_ms":1788602418000,"timestamp_seconds":1788602418,"priority":1,"record_length":96,"hex_timestamp":"000001a071030350"} 
[2026-09-05 15:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:31:53] 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-09-05 15:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171655,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171655,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:31:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882141952001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882141952001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:31:53] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:31:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:31:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882141952001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":171655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769460,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:31:54] local.INFO: GPS data processed {"connection_id":171655,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:31:54] local.INFO: Acknowledgment sent {"connection_id":171655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:31:54] local.INFO: TCP Data received {"connection_id":173053,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:31:54] local.INFO: Processing buffer {"connection_id":173053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:31:54] local.INFO: IMEI packet received {"connection_id":173053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":173053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:31:56] local.INFO: TCP Data received {"connection_id":174364,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:31:56] local.INFO: Processing buffer {"connection_id":174364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:31:56] local.INFO: IMEI packet received {"connection_id":174364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":174364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:32:00] local.INFO: TCP Data received {"connection_id":173053,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:32:00] local.INFO: Processing buffer {"connection_id":173053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:32:00] local.INFO: IMEI packet received {"connection_id":173053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":173053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:32:01] local.INFO: TCP Data received {"connection_id":174364,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:32:01] local.INFO: Processing buffer {"connection_id":174364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:32:01] local.INFO: IMEI packet received {"connection_id":174364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":174364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:32:01] local.INFO: TCP Data received {"connection_id":173053,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071032e48012d7c8fc005e99e18000000ae20..."} 
[2026-09-05 15:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071032e48012d7c8fc005e99e18000000ae20..."} 
[2026-09-05 15:32:01] local.INFO: Processing buffer {"connection_id":173053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071032e48012d7c8fc005e99e18000000ae20..."} 
[2026-09-05 15:32:01] local.INFO: Packet analysis {"connection_id":173053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:32:01] local.INFO: Extracted packet for processing {"connection_id":173053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:32:01] local.INFO: GPS Element Parsed {"raw_longitude":763137984,"raw_latitude":99196440,"longitude_deg":76.3137984,"latitude_deg":9.919644,"altitude":0,"angle":174,"satellites":32,"speed":5,"hex_longitude":"2d7c8fc0","hex_latitude":"05e99e18","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882221312001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128531689516302336,"note":"Value kept but may cause issues"} 
[2026-09-05 15:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975533345255467008,"note":"Value kept but may cause issues"} 
[2026-09-05 15:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788602429000,"timestamp_ms":1788602429000,"timestamp_seconds":1788602429,"priority":1,"record_length":96,"hex_timestamp":"000001a071032e48"} 
[2026-09-05 15:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-05 15:32:01] 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-09-05 15: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-09-05 15:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882221312001,"66":13254,"192":206,"87":13824,"24":5,"16":128531689516302336,"45":8975533345255467008},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-05 15:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882221312001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:32:01] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-05 15:32:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128531689516302336,"km_value":128531689516302.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975533345255467008,"description":"Unknown IO ID 45"} 
[2026-09-05 15:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882221312001,"power":13254,"unknown_192":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8975533345255467008}} 
[2026-09-05 15:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":173053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769461,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:32:01] local.INFO: GPS data processed {"connection_id":173053,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:32:01] local.INFO: Acknowledgment sent {"connection_id":173053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:32:02] local.INFO: TCP Data received {"connection_id":174364,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071005ba0012d7dda4006006400000700472c..."} 
[2026-09-05 15:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071005ba0012d7dda4006006400000700472c..."} 
[2026-09-05 15:32:02] local.INFO: Processing buffer {"connection_id":174364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071005ba0012d7dda4006006400000700472c..."} 
[2026-09-05 15:32:02] local.INFO: Packet analysis {"connection_id":174364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07100"} 
[2026-09-05 15:32:02] local.INFO: Extracted packet for processing {"connection_id":174364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07100"} 
[2026-09-05 15:32:02] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":44,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882097408001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068420087951919104,"note":"Value kept but may cause issues"} 
[2026-09-05 15:32:02] 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-09-05 15:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788602244000,"timestamp_ms":1788602244000,"timestamp_seconds":1788602244,"priority":1,"record_length":96,"hex_timestamp":"000001a071005ba0"} 
[2026-09-05 15:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:32:02] 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-09-05 15: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":44,"data_length":795,"current_offset":136} 
[2026-09-05 15:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882097408001,"66":26452,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068420087951919104},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882097408001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:32:02] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:32:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068420087951919104,"description":"Unknown IO ID 45"} 
[2026-09-05 15:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882097408001,"power":26452,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068420087951919104}} 
[2026-09-05 15:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":174364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:32:02] local.INFO: GPS data processed {"connection_id":174364,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:32:02] local.INFO: Acknowledgment sent {"connection_id":174364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:32:22] local.INFO: TCP Data received {"connection_id":174363,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07101a3c0012d196880071fed50003d011c26..."} 
[2026-09-05 15:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07101a3c0012d196880071fed50003d011c26..."} 
[2026-09-05 15:32:22] local.INFO: Processing buffer {"connection_id":174363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07101a3c0012d196880071fed50003d011c26..."} 
[2026-09-05 15:32:22] local.INFO: Packet analysis {"connection_id":174363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07101"} 
[2026-09-05 15:32:22] local.INFO: Extracted packet for processing {"connection_id":174363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07101"} 
[2026-09-05 15:32:22] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882190592001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788602328000,"timestamp_ms":1788602328000,"timestamp_seconds":1788602328,"priority":1,"record_length":96,"hex_timestamp":"000001a07101a3c0"} 
[2026-09-05 15:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-05 15:32:22] 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-09-05 15:32:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882190592001,"66":12504,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882190592001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:32:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:32:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882190592001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":174363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:32:22] local.INFO: GPS data processed {"connection_id":174363,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:32:22] local.INFO: Acknowledgment sent {"connection_id":174363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:32:23] local.INFO: TCP Data received {"connection_id":173049,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07104d040012d0c02c007035830001500980a..."} 
[2026-09-05 15:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07104d040012d0c02c007035830001500980a..."} 
[2026-09-05 15:32:23] local.INFO: Processing buffer {"connection_id":173049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07104d040012d0c02c007035830001500980a..."} 
[2026-09-05 15:32:23] local.INFO: Packet analysis {"connection_id":173049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:32:23] local.INFO: Extracted packet for processing {"connection_id":173049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:32:23] local.INFO: GPS Element Parsed {"raw_longitude":755761856,"raw_latitude":117659696,"longitude_deg":75.5761856,"latitude_deg":11.7659696,"altitude":21,"angle":152,"satellites":10,"speed":8,"hex_longitude":"2d0c02c0","hex_latitude":"07035830","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882248704001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30338261704507392,"note":"Value kept but may cause issues"} 
[2026-09-05 15:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":865254108529528832,"note":"Value kept but may cause issues"} 
[2026-09-05 15:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788602536000,"timestamp_ms":1788602536000,"timestamp_seconds":1788602536,"priority":1,"record_length":96,"hex_timestamp":"000001a07104d040"} 
[2026-09-05 15:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-05 15:32:23] 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-09-05 15: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-09-05 15:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882248704001,"66":14559,"37":206,"94":11008,"24":8,"16":30338261704507392,"45":865254108529528832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-05 15:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882248704001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:32:23] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-05 15:32:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 15:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30338261704507392,"km_value":30338261704507.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":865254108529528832,"description":"Unknown IO ID 45"} 
[2026-09-05 15:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882248704001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":865254108529528832}} 
[2026-09-05 15:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":173049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769464,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:32:23] local.INFO: GPS data processed {"connection_id":173049,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:32:23] local.INFO: Acknowledgment sent {"connection_id":173049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:32:25] local.INFO: TCP Data received {"connection_id":171655,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071030350012c7939c00848c5f00014000129..."} 
[2026-09-05 15:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071030350012c7939c00848c5f00014000129..."} 
[2026-09-05 15:32:25] local.INFO: Processing buffer {"connection_id":171655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071030350012c7939c00848c5f00014000129..."} 
[2026-09-05 15:32:25] local.INFO: Packet analysis {"connection_id":171655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:32:25] local.INFO: Extracted packet for processing {"connection_id":171655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:32:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882141952001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:32:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788602418000,"timestamp_ms":1788602418000,"timestamp_seconds":1788602418,"priority":1,"record_length":96,"hex_timestamp":"000001a071030350"} 
[2026-09-05 15:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:32:25] 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-09-05 15:32:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171655,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171655,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882141952001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882141952001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:32:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:32:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:32:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882141952001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":171655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769465,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:32:25] local.INFO: GPS data processed {"connection_id":171655,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:32:25] local.INFO: Acknowledgment sent {"connection_id":171655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:32:33] local.INFO: TCP Data received {"connection_id":173053,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07104e7b0012d7bcd8005e95a48000300fc25..."} 
[2026-09-05 15:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07104e7b0012d7bcd8005e95a48000300fc25..."} 
[2026-09-05 15:32:33] local.INFO: Processing buffer {"connection_id":173053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07104e7b0012d7bcd8005e95a48000300fc25..."} 
[2026-09-05 15:32:33] local.INFO: Packet analysis {"connection_id":173053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:32:33] local.INFO: Extracted packet for processing {"connection_id":173053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:32:33] local.INFO: GPS Element Parsed {"raw_longitude":763088256,"raw_latitude":99179080,"longitude_deg":76.3088256,"latitude_deg":9.917908,"altitude":3,"angle":252,"satellites":37,"speed":29,"hex_longitude":"2d7bcd80","hex_latitude":"05e95a48","is_valid_coordinates":true} 
[2026-09-05 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-09-05 15:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882249984001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128534240726876160,"note":"Value kept but may cause issues"} 
[2026-09-05 15:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923390105815322624,"note":"Value kept but may cause issues"} 
[2026-09-05 15:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788602542000,"timestamp_ms":1788602542000,"timestamp_seconds":1788602542,"priority":1,"record_length":96,"hex_timestamp":"000001a07104e7b0"} 
[2026-09-05 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-09-05 15:32: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-09-05 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-05 15:32: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-09-05 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-09-05 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-09-05 15:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882249984001,"66":12798,"156":206,"87":13824,"24":29,"16":128534240726876160,"45":8923390105815322624},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-05 15:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882249984001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:32:33] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-05 15:32:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128534240726876160,"km_value":128534240726876.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923390105815322624,"description":"Unknown IO ID 45"} 
[2026-09-05 15:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882249984001,"power":12798,"unknown_156":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8923390105815322624}} 
[2026-09-05 15:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":173053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769466,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:32:33] local.INFO: GPS data processed {"connection_id":173053,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:32:33] local.INFO: Acknowledgment sent {"connection_id":173053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:32:34] local.INFO: TCP Data received {"connection_id":174364,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071005ba0012d7dda4006006400000700472c..."} 
[2026-09-05 15:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071005ba0012d7dda4006006400000700472c..."} 
[2026-09-05 15:32:34] local.INFO: Processing buffer {"connection_id":174364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071005ba0012d7dda4006006400000700472c..."} 
[2026-09-05 15:32:34] local.INFO: Packet analysis {"connection_id":174364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07100"} 
[2026-09-05 15:32:34] local.INFO: Extracted packet for processing {"connection_id":174364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07100"} 
[2026-09-05 15:32:34] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":44,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882097408001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068420087951919104,"note":"Value kept but may cause issues"} 
[2026-09-05 15:32:34] 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-09-05 15:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788602244000,"timestamp_ms":1788602244000,"timestamp_seconds":1788602244,"priority":1,"record_length":96,"hex_timestamp":"000001a071005ba0"} 
[2026-09-05 15:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:32: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-09-05 15:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-05 15:32: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-09-05 15:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882097408001,"66":26452,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068420087951919104},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882097408001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:32:34] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:32:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068420087951919104,"description":"Unknown IO ID 45"} 
[2026-09-05 15:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882097408001,"power":26452,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068420087951919104}} 
[2026-09-05 15:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":174364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:32:34] local.INFO: GPS data processed {"connection_id":174364,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:32:34] local.INFO: Acknowledgment sent {"connection_id":174364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:32:45] local.INFO: TCP Data received {"connection_id":171952,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:32:45] local.INFO: Processing buffer {"connection_id":171952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:32:45] local.INFO: IMEI packet received {"connection_id":171952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":171952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:32:50] local.INFO: TCP Data received {"connection_id":171952,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:32:50] local.INFO: Processing buffer {"connection_id":171952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:32:50] local.INFO: IMEI packet received {"connection_id":171952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":171952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:32:51] local.INFO: TCP Data received {"connection_id":171952,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07101f5c8012d196880071fed50003d011c27..."} 
[2026-09-05 15:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07101f5c8012d196880071fed50003d011c27..."} 
[2026-09-05 15:32:51] local.INFO: Processing buffer {"connection_id":171952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07101f5c8012d196880071fed50003d011c27..."} 
[2026-09-05 15:32:51] local.INFO: Packet analysis {"connection_id":171952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07101"} 
[2026-09-05 15:32:51] local.INFO: Extracted packet for processing {"connection_id":171952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07101"} 
[2026-09-05 15:32:51] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882195968001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788602349000,"timestamp_ms":1788602349000,"timestamp_seconds":1788602349,"priority":1,"record_length":96,"hex_timestamp":"000001a07101f5c8"} 
[2026-09-05 15:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 15:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882195968001,"66":12385,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882195968001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:32:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:32:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882195968001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":171952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:32:51] local.INFO: GPS data processed {"connection_id":171952,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:32:51] local.INFO: Acknowledgment sent {"connection_id":171952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:32:52] local.INFO: TCP Data received {"connection_id":174365,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174365,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:32:52] local.INFO: Processing buffer {"connection_id":174365,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:32:52] local.INFO: IMEI packet received {"connection_id":174365,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":174365,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:32:54] local.INFO: TCP Data received {"connection_id":173049,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07104d428012d0c02c007035768001500a90a..."} 
[2026-09-05 15:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07104d428012d0c02c007035768001500a90a..."} 
[2026-09-05 15:32:54] local.INFO: Processing buffer {"connection_id":173049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07104d428012d0c02c007035768001500a90a..."} 
[2026-09-05 15:32:54] local.INFO: Packet analysis {"connection_id":173049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:32:54] local.INFO: Extracted packet for processing {"connection_id":173049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:32:54] local.INFO: GPS Element Parsed {"raw_longitude":755761856,"raw_latitude":117659496,"longitude_deg":75.5761856,"latitude_deg":11.7659496,"altitude":21,"angle":169,"satellites":10,"speed":9,"hex_longitude":"2d0c02c0","hex_latitude":"07035768","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882249216001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30338270294441984,"note":"Value kept but may cause issues"} 
[2026-09-05 15:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":865465214761971712,"note":"Value kept but may cause issues"} 
[2026-09-05 15:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788602537000,"timestamp_ms":1788602537000,"timestamp_seconds":1788602537,"priority":1,"record_length":96,"hex_timestamp":"000001a07104d428"} 
[2026-09-05 15:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:32:54] 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-09-05 15: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-05 15:32:54] 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-09-05 15: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-09-05 15:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882249216001,"66":14374,"37":206,"94":11008,"24":9,"16":30338270294441984,"45":865465214761971712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-05 15:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882249216001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:32:54] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-05 15:32:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 15:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30338270294441984,"km_value":30338270294441.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":865465214761971712,"description":"Unknown IO ID 45"} 
[2026-09-05 15:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882249216001,"power":14374,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":865465214761971712}} 
[2026-09-05 15:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":173049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769469,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:32:54] local.INFO: GPS data processed {"connection_id":173049,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:32:54] local.INFO: Acknowledgment sent {"connection_id":173049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:32:55] local.INFO: TCP Data received {"connection_id":171656,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:32:55] local.INFO: Processing buffer {"connection_id":171656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:32:55] local.INFO: IMEI packet received {"connection_id":171656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":171656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:32:57] local.INFO: TCP Data received {"connection_id":174365,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174365,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:32:57] local.INFO: Processing buffer {"connection_id":174365,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:32:57] local.INFO: IMEI packet received {"connection_id":174365,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":174365,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:32:59] local.INFO: TCP Data received {"connection_id":174365,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071030350012c7939c00848c5f00014000129..."} 
[2026-09-05 15:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071030350012c7939c00848c5f00014000129..."} 
[2026-09-05 15:32:59] local.INFO: Processing buffer {"connection_id":174365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071030350012c7939c00848c5f00014000129..."} 
[2026-09-05 15:32:59] local.INFO: Packet analysis {"connection_id":174365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:32:59] local.INFO: Extracted packet for processing {"connection_id":174365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:32:59] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882141952001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:32:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788602418000,"timestamp_ms":1788602418000,"timestamp_seconds":1788602418,"priority":1,"record_length":96,"hex_timestamp":"000001a071030350"} 
[2026-09-05 15:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:32:59] 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-09-05 15:32:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174365,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174365,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882141952001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882141952001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:32:59] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:32:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:32:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882141952001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":174365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769470,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:32:59] local.INFO: GPS data processed {"connection_id":174365,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:32:59] local.INFO: Acknowledgment sent {"connection_id":174365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:32:59] local.INFO: TCP Data received {"connection_id":171656,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:32:59] local.INFO: Processing buffer {"connection_id":171656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:32:59] local.INFO: IMEI packet received {"connection_id":171656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":171656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:33:01] local.INFO: TCP Data received {"connection_id":171656,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07104ef80012d7bc88005e957e0000200ee25..."} 
[2026-09-05 15:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07104ef80012d7bc88005e957e0000200ee25..."} 
[2026-09-05 15:33:01] local.INFO: Processing buffer {"connection_id":171656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07104ef80012d7bc88005e957e0000200ee25..."} 
[2026-09-05 15:33:01] local.INFO: Packet analysis {"connection_id":171656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:33:01] local.INFO: Extracted packet for processing {"connection_id":171656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:33:01] local.INFO: GPS Element Parsed {"raw_longitude":763086976,"raw_latitude":99178464,"longitude_deg":76.3086976,"latitude_deg":9.9178464,"altitude":2,"angle":238,"satellites":37,"speed":26,"hex_longitude":"2d7bc880","hex_latitude":"05e957e0","is_valid_coordinates":true} 
[2026-09-05 15:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882250752001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128534309446352896,"note":"Value kept but may cause issues"} 
[2026-09-05 15:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920927199769020416,"note":"Value kept but may cause issues"} 
[2026-09-05 15:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788602544000,"timestamp_ms":1788602544000,"timestamp_seconds":1788602544,"priority":1,"record_length":96,"hex_timestamp":"000001a07104ef80"} 
[2026-09-05 15:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:33: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-09-05 15:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-05 15:33: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-09-05 15:33:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882250752001,"66":13200,"156":206,"87":13824,"24":26,"16":128534309446352896,"45":8920927199769020416},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-05 15:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882250752001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:33:01] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-05 15:33:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128534309446352896,"km_value":128534309446352.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920927199769020416,"description":"Unknown IO ID 45"} 
[2026-09-05 15:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882250752001,"power":13200,"unknown_156":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8920927199769020416}} 
[2026-09-05 15:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":171656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:33:01] local.INFO: GPS data processed {"connection_id":171656,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:33:01] local.INFO: Acknowledgment sent {"connection_id":171656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:33:01] local.INFO: TCP Data received {"connection_id":171657,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:33:01] local.INFO: Processing buffer {"connection_id":171657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:33:01] local.INFO: IMEI packet received {"connection_id":171657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":171657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:33:03] local.INFO: TCP Data received {"connection_id":174365,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071030350012c7939c00848c5f00014000129..."} 
[2026-09-05 15:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071030350012c7939c00848c5f00014000129..."} 
[2026-09-05 15:33:03] local.INFO: Processing buffer {"connection_id":174365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071030350012c7939c00848c5f00014000129..."} 
[2026-09-05 15:33:03] local.INFO: Packet analysis {"connection_id":174365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:33:03] local.INFO: Extracted packet for processing {"connection_id":174365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:33:03] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882141952001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:33:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788602418000,"timestamp_ms":1788602418000,"timestamp_seconds":1788602418,"priority":1,"record_length":96,"hex_timestamp":"000001a071030350"} 
[2026-09-05 15:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15: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":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:33: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-09-05 15: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-09-05 15:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174365,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174365,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882141952001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882141952001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:33:03] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:33:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:33:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882141952001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":174365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769472,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:33:03] local.INFO: GPS data processed {"connection_id":174365,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:33:03] local.INFO: Acknowledgment sent {"connection_id":174365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:33:03] local.INFO: TCP Data received {"connection_id":171657,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:33:03] local.INFO: Processing buffer {"connection_id":171657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:33:03] local.INFO: IMEI packet received {"connection_id":171657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":171657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:33:07] local.INFO: TCP Data received {"connection_id":171657,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07104f368012d7dda4006006400000700472d..."} 
[2026-09-05 15:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07104f368012d7dda4006006400000700472d..."} 
[2026-09-05 15:33:07] local.INFO: Processing buffer {"connection_id":171657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07104f368012d7dda4006006400000700472d..."} 
[2026-09-05 15:33:07] local.INFO: Packet analysis {"connection_id":171657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:33:07] local.INFO: Extracted packet for processing {"connection_id":171657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:33:07] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":45,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882174464001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:33:07] 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-09-05 15:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788602545000,"timestamp_ms":1788602545000,"timestamp_seconds":1788602545,"priority":1,"record_length":96,"hex_timestamp":"000001a07104f368"} 
[2026-09-05 15:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:33: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-09-05 15: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-05 15:33:07] 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-09-05 15: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-09-05 15:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882174464001,"66":26136,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882174464001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:33:07] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:33:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882174464001,"power":26136,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":171657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:33:07] local.INFO: GPS data processed {"connection_id":171657,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:33:07] local.INFO: Acknowledgment sent {"connection_id":171657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:33:22] local.INFO: TCP Data received {"connection_id":171952,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0710247d0012d196880071fed50003d011c26..."} 
[2026-09-05 15:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710247d0012d196880071fed50003d011c26..."} 
[2026-09-05 15:33:22] local.INFO: Processing buffer {"connection_id":171952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710247d0012d196880071fed50003d011c26..."} 
[2026-09-05 15:33:22] local.INFO: Packet analysis {"connection_id":171952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07102"} 
[2026-09-05 15:33:22] local.INFO: Extracted packet for processing {"connection_id":171952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07102"} 
[2026-09-05 15:33:22] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882201344001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788602370000,"timestamp_ms":1788602370000,"timestamp_seconds":1788602370,"priority":1,"record_length":96,"hex_timestamp":"000001a0710247d0"} 
[2026-09-05 15:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 15:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:33:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882201344001,"66":12504,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882201344001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:33:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:33:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882201344001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":171952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:33:22] local.INFO: GPS data processed {"connection_id":171952,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:33:22] local.INFO: Acknowledgment sent {"connection_id":171952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:33:26] local.INFO: TCP Data received {"connection_id":173049,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a071059b60012d0c2f00070355e0001100560a..."} 
[2026-09-05 15:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071059b60012d0c2f00070355e0001100560a..."} 
[2026-09-05 15:33:26] local.INFO: Processing buffer {"connection_id":173049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071059b60012d0c2f00070355e0001100560a..."} 
[2026-09-05 15:33:26] local.INFO: Packet analysis {"connection_id":173049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07105"} 
[2026-09-05 15:33:26] local.INFO: Extracted packet for processing {"connection_id":173049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07105"} 
[2026-09-05 15:33:26] local.INFO: GPS Element Parsed {"raw_longitude":755773184,"raw_latitude":117659104,"longitude_deg":75.5773184,"latitude_deg":11.7659104,"altitude":17,"angle":86,"satellites":10,"speed":17,"hex_longitude":"2d0c2f00","hex_latitude":"070355e0","is_valid_coordinates":true} 
[2026-09-05 15:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882261248001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30339193712410624,"note":"Value kept but may cause issues"} 
[2026-09-05 15:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875035363969873920,"note":"Value kept but may cause issues"} 
[2026-09-05 15:33:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788602588000,"timestamp_ms":1788602588000,"timestamp_seconds":1788602588,"priority":1,"record_length":96,"hex_timestamp":"000001a071059b60"} 
[2026-09-05 15:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:33:26] 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-09-05 15:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-05 15:33:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:33:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:33:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882261248001,"66":14450,"37":206,"94":11008,"24":17,"16":30339193712410624,"45":875035363969873920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-05 15:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882261248001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:33:26] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-05 15:33:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 15:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30339193712410624,"km_value":30339193712410.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":875035363969873920,"description":"Unknown IO ID 45"} 
[2026-09-05 15:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882261248001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":875035363969873920}} 
[2026-09-05 15:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":173049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769475,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:33:26] local.INFO: GPS data processed {"connection_id":173049,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:33:26] local.INFO: Acknowledgment sent {"connection_id":173049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:33:39] local.INFO: TCP Data received {"connection_id":171657,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07104f368012d7dda4006006400000700472d..."} 
[2026-09-05 15:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07104f368012d7dda4006006400000700472d..."} 
[2026-09-05 15:33:39] local.INFO: Processing buffer {"connection_id":171657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07104f368012d7dda4006006400000700472d..."} 
[2026-09-05 15:33:39] local.INFO: Packet analysis {"connection_id":171657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:33:39] local.INFO: Extracted packet for processing {"connection_id":171657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:33:39] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":45,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882174464001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:33:39] 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-09-05 15:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788602545000,"timestamp_ms":1788602545000,"timestamp_seconds":1788602545,"priority":1,"record_length":96,"hex_timestamp":"000001a07104f368"} 
[2026-09-05 15:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:33: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-09-05 15: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-05 15:33:39] 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-09-05 15: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-09-05 15:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882174464001,"66":26136,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882174464001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:33:39] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:33:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882174464001,"power":26136,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":171657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:33:39] local.INFO: GPS data processed {"connection_id":171657,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:33:39] local.INFO: Acknowledgment sent {"connection_id":171657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:33:44] local.INFO: TCP Data received {"connection_id":174366,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:33:44] local.INFO: Processing buffer {"connection_id":174366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:33:44] local.INFO: IMEI packet received {"connection_id":174366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":174366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:33:47] local.INFO: TCP Data received {"connection_id":171656,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07104ff20012d7bc34005e95360000300e122..."} 
[2026-09-05 15:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07104ff20012d7bc34005e95360000300e122..."} 
[2026-09-05 15:33:47] local.INFO: Processing buffer {"connection_id":171656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07104ff20012d7bc34005e95360000300e122..."} 
[2026-09-05 15:33:47] local.INFO: Packet analysis {"connection_id":171656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:33:47] local.INFO: Extracted packet for processing {"connection_id":171656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:33:47] local.INFO: GPS Element Parsed {"raw_longitude":763085632,"raw_latitude":99177312,"longitude_deg":76.3085632,"latitude_deg":9.9177312,"altitude":3,"angle":225,"satellites":34,"speed":12,"hex_longitude":"2d7bc340","hex_latitude":"05e95360","is_valid_coordinates":true} 
[2026-09-05 15:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882251264001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128534395345698816,"note":"Value kept but may cause issues"} 
[2026-09-05 15:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919519824885309440,"note":"Value kept but may cause issues"} 
[2026-09-05 15:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788602548000,"timestamp_ms":1788602548000,"timestamp_seconds":1788602548,"priority":1,"record_length":96,"hex_timestamp":"000001a07104ff20"} 
[2026-09-05 15:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:33: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-09-05 15:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-05 15:33:47] 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-09-05 15:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":171656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":171656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":171656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882251264001,"66":13504,"156":206,"87":13824,"24":12,"16":128534395345698816,"45":8919519824885309440},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-05 15:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882251264001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:33:47] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-05 15:33:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128534395345698816,"km_value":128534395345698.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919519824885309440,"description":"Unknown IO ID 45"} 
[2026-09-05 15:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882251264001,"power":13504,"unknown_156":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8919519824885309440}} 
[2026-09-05 15:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":171656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:33:47] local.INFO: GPS data processed {"connection_id":171656,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:33:47] local.INFO: Acknowledgment sent {"connection_id":171656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:33:47] local.INFO: TCP Data received {"connection_id":174367,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174367,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:33:47] local.INFO: Processing buffer {"connection_id":174367,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:33:47] local.INFO: IMEI packet received {"connection_id":174367,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":174367,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:33:50] local.INFO: TCP Data received {"connection_id":174366,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:33:50] local.INFO: Processing buffer {"connection_id":174366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:33:50] local.INFO: IMEI packet received {"connection_id":174366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":174366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:33:50] local.INFO: TCP Data received {"connection_id":174366,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0710299d8012d196880071fed50003d011c29..."} 
[2026-09-05 15:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710299d8012d196880071fed50003d011c29..."} 
[2026-09-05 15:33:50] local.INFO: Processing buffer {"connection_id":174366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710299d8012d196880071fed50003d011c29..."} 
[2026-09-05 15:33:50] local.INFO: Packet analysis {"connection_id":174366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07102"} 
[2026-09-05 15:33:50] local.INFO: Extracted packet for processing {"connection_id":174366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07102"} 
[2026-09-05 15:33:50] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882206720001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788602391000,"timestamp_ms":1788602391000,"timestamp_seconds":1788602391,"priority":1,"record_length":96,"hex_timestamp":"000001a0710299d8"} 
[2026-09-05 15:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 15:33:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:33:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882206720001,"66":12504,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882206720001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:33:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:33:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882206720001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":174366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:33:51] local.INFO: GPS data processed {"connection_id":174366,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:33:51] local.INFO: Acknowledgment sent {"connection_id":174366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:33:53] local.INFO: TCP Data received {"connection_id":174367,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174367,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:33:53] local.INFO: Processing buffer {"connection_id":174367,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:33:53] local.INFO: IMEI packet received {"connection_id":174367,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":174367,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:33:54] local.INFO: TCP Data received {"connection_id":174367,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071030350012c7939c00848c5f00014000129..."} 
[2026-09-05 15:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071030350012c7939c00848c5f00014000129..."} 
[2026-09-05 15:33:54] local.INFO: Processing buffer {"connection_id":174367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071030350012c7939c00848c5f00014000129..."} 
[2026-09-05 15:33:54] local.INFO: Packet analysis {"connection_id":174367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:33:54] local.INFO: Extracted packet for processing {"connection_id":174367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:33:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882141952001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:33:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788602418000,"timestamp_ms":1788602418000,"timestamp_seconds":1788602418,"priority":1,"record_length":96,"hex_timestamp":"000001a071030350"} 
[2026-09-05 15:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882141952001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882141952001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:33:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:33:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:33:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882141952001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":174367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769479,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:33:54] local.INFO: GPS data processed {"connection_id":174367,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:33:54] local.INFO: Acknowledgment sent {"connection_id":174367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:33:57] local.INFO: TCP Data received {"connection_id":173054,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:33:57] local.INFO: Processing buffer {"connection_id":173054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:33:57] local.INFO: IMEI packet received {"connection_id":173054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":173054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:34:00] local.INFO: TCP Data received {"connection_id":171953,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:34:00] local.INFO: Processing buffer {"connection_id":171953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:34:00] local.INFO: IMEI packet received {"connection_id":171953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":171953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:34:01] local.INFO: TCP Data received {"connection_id":173054,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:34:01] local.INFO: Processing buffer {"connection_id":173054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:34:01] local.INFO: IMEI packet received {"connection_id":173054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":173054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:34:03] local.INFO: TCP Data received {"connection_id":173054,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07104f368012d7dda4006006400000700472d..."} 
[2026-09-05 15:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07104f368012d7dda4006006400000700472d..."} 
[2026-09-05 15:34:03] local.INFO: Processing buffer {"connection_id":173054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07104f368012d7dda4006006400000700472d..."} 
[2026-09-05 15:34:03] local.INFO: Packet analysis {"connection_id":173054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:34:03] local.INFO: Extracted packet for processing {"connection_id":173054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:34:03] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":45,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882174464001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:03] 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-09-05 15:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788602545000,"timestamp_ms":1788602545000,"timestamp_seconds":1788602545,"priority":1,"record_length":96,"hex_timestamp":"000001a07104f368"} 
[2026-09-05 15:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:34: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-09-05 15:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-05 15:34: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-09-05 15:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882174464001,"66":26136,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882174464001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:34:03] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:34:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882174464001,"power":26136,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":173054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:34:03] local.INFO: GPS data processed {"connection_id":173054,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:34:03] local.INFO: Acknowledgment sent {"connection_id":173054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:34:04] local.INFO: TCP Data received {"connection_id":171953,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:34:04] local.INFO: Processing buffer {"connection_id":171953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:34:04] local.INFO: IMEI packet received {"connection_id":171953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":171953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:34:05] local.INFO: TCP Data received {"connection_id":171953,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071063b88012d7b488005e92d30000500b61f..."} 
[2026-09-05 15:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071063b88012d7b488005e92d30000500b61f..."} 
[2026-09-05 15:34:05] local.INFO: Processing buffer {"connection_id":171953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071063b88012d7b488005e92d30000500b61f..."} 
[2026-09-05 15:34:05] local.INFO: Packet analysis {"connection_id":171953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07106"} 
[2026-09-05 15:34:05] local.INFO: Extracted packet for processing {"connection_id":171953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07106"} 
[2026-09-05 15:34:05] local.INFO: GPS Element Parsed {"raw_longitude":763054208,"raw_latitude":99167536,"longitude_deg":76.3054208,"latitude_deg":9.9167536,"altitude":5,"angle":182,"satellites":31,"speed":12,"hex_longitude":"2d7b4880","hex_latitude":"05e92d30","is_valid_coordinates":true} 
[2026-09-05 15:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882272768001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128536005958434816,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883561396607807488,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:05] 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-09-05 15:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788602629000,"timestamp_ms":1788602629000,"timestamp_seconds":1788602629,"priority":1,"record_length":96,"hex_timestamp":"000001a071063b88"} 
[2026-09-05 15:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15: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-09-05 15:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-05 15:34: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-09-05 15:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882272768001,"66":13330,"201":206,"87":13824,"24":12,"16":128536005958434816,"45":8883561396607807488},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-05 15:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882272768001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:34:05] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-05 15:34:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128536005958434816,"km_value":128536005958434.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883561396607807488,"description":"Unknown IO ID 45"} 
[2026-09-05 15:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882272768001,"power":13330,"unknown_201":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8883561396607807488}} 
[2026-09-05 15:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":171953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:34:05] local.INFO: GPS data processed {"connection_id":171953,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:34:05] local.INFO: Acknowledgment sent {"connection_id":171953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:34:10] local.INFO: TCP Data received {"connection_id":171658,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171658,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:34:10] local.INFO: Processing buffer {"connection_id":171658,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:34:10] local.INFO: IMEI packet received {"connection_id":171658,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 15:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":171658,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:34:14] local.INFO: TCP Data received {"connection_id":171658,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171658,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:34:14] local.INFO: Processing buffer {"connection_id":171658,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:34:14] local.INFO: IMEI packet received {"connection_id":171658,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 15:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":171658,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:34:15] local.INFO: TCP Data received {"connection_id":171658,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171658,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:34:15] local.INFO: Processing buffer {"connection_id":171658,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:34:15] local.INFO: IMEI packet received {"connection_id":171658,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 15:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":171658,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:34:16] local.INFO: TCP Data received {"connection_id":171658,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07105ab00012d0c33c007035600001100670a..."} 
[2026-09-05 15:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07105ab00012d0c33c007035600001100670a..."} 
[2026-09-05 15:34:16] local.INFO: Processing buffer {"connection_id":171658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07105ab00012d0c33c007035600001100670a..."} 
[2026-09-05 15:34:16] local.INFO: Packet analysis {"connection_id":171658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07105"} 
[2026-09-05 15:34:16] local.INFO: Extracted packet for processing {"connection_id":171658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07105"} 
[2026-09-05 15:34:16] local.INFO: GPS Element Parsed {"raw_longitude":755774400,"raw_latitude":117659136,"longitude_deg":75.57744,"latitude_deg":11.7659136,"altitude":17,"angle":103,"satellites":10,"speed":10,"hex_longitude":"2d0c33c0","hex_latitude":"07035600","is_valid_coordinates":true} 
[2026-09-05 15:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882262528001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30339253841952768,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":877920482481266688,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788602592000,"timestamp_ms":1788602592000,"timestamp_seconds":1788602592,"priority":1,"record_length":96,"hex_timestamp":"000001a07105ab00"} 
[2026-09-05 15:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-05 15:34:16] 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-09-05 15: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-09-05 15:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":171658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":171658,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":171658,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882262528001,"66":14396,"37":206,"94":11008,"24":10,"16":30339253841952768,"45":877920482481266688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-05 15:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882262528001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:34:16] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-05 15:34:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 15:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30339253841952768,"km_value":30339253841952.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":877920482481266688,"description":"Unknown IO ID 45"} 
[2026-09-05 15:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882262528001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":877920482481266688}} 
[2026-09-05 15:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":171658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769482,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:34:16] local.INFO: GPS data processed {"connection_id":171658,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:34:16] local.INFO: Acknowledgment sent {"connection_id":171658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:34:16] local.INFO: TCP Data received {"connection_id":171658,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07105b6b8012d0c3640070356e00011005b0a..."} 
[2026-09-05 15:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07105b6b8012d0c3640070356e00011005b0a..."} 
[2026-09-05 15:34:16] local.INFO: Processing buffer {"connection_id":171658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07105b6b8012d0c3640070356e00011005b0a..."} 
[2026-09-05 15:34:16] local.INFO: Packet analysis {"connection_id":171658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07105"} 
[2026-09-05 15:34:16] local.INFO: Extracted packet for processing {"connection_id":171658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07105"} 
[2026-09-05 15:34:16] local.INFO: GPS Element Parsed {"raw_longitude":755775040,"raw_latitude":117659360,"longitude_deg":75.577504,"latitude_deg":11.765936,"altitude":17,"angle":91,"satellites":10,"speed":6,"hex_longitude":"2d0c3640","hex_latitude":"070356e0","is_valid_coordinates":true} 
[2026-09-05 15:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882263552001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30339288201691136,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":879257488620650496,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788602595000,"timestamp_ms":1788602595000,"timestamp_seconds":1788602595,"priority":1,"record_length":96,"hex_timestamp":"000001a07105b6b8"} 
[2026-09-05 15:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 15:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":171658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":171658,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":171658,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882263552001,"66":14515,"37":206,"94":11008,"24":6,"16":30339288201691136,"45":879257488620650496},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-05 15:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882263552001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:34:16] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-05 15:34:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 15:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30339288201691136,"km_value":30339288201691.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":879257488620650496,"description":"Unknown IO ID 45"} 
[2026-09-05 15:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882263552001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":879257488620650496}} 
[2026-09-05 15:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":171658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769483,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:34:17] local.INFO: GPS data processed {"connection_id":171658,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:34:17] local.INFO: Acknowledgment sent {"connection_id":171658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:34:21] local.INFO: TCP Data received {"connection_id":174366,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07102ebe0012d196880071fed50003d011c27..."} 
[2026-09-05 15:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07102ebe0012d196880071fed50003d011c27..."} 
[2026-09-05 15:34:21] local.INFO: Processing buffer {"connection_id":174366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07102ebe0012d196880071fed50003d011c27..."} 
[2026-09-05 15:34:21] local.INFO: Packet analysis {"connection_id":174366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07102"} 
[2026-09-05 15:34:21] local.INFO: Extracted packet for processing {"connection_id":174366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07102"} 
[2026-09-05 15:34:21] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882212096001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788602412000,"timestamp_ms":1788602412000,"timestamp_seconds":1788602412,"priority":1,"record_length":96,"hex_timestamp":"000001a07102ebe0"} 
[2026-09-05 15:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 15:34:21] 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-09-05 15:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882212096001,"66":12515,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882212096001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:34:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:34:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882212096001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":174366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:34:21] local.INFO: GPS data processed {"connection_id":174366,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:34:21] local.INFO: Acknowledgment sent {"connection_id":174366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:34:26] local.INFO: TCP Data received {"connection_id":174367,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071030350012c7939c00848c5f00014000129..."} 
[2026-09-05 15:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071030350012c7939c00848c5f00014000129..."} 
[2026-09-05 15:34:26] local.INFO: Processing buffer {"connection_id":174367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071030350012c7939c00848c5f00014000129..."} 
[2026-09-05 15:34:26] local.INFO: Packet analysis {"connection_id":174367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:34:26] local.INFO: Extracted packet for processing {"connection_id":174367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:34:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882141952001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788602418000,"timestamp_ms":1788602418000,"timestamp_seconds":1788602418,"priority":1,"record_length":96,"hex_timestamp":"000001a071030350"} 
[2026-09-05 15:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:34:26] 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-09-05 15:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882141952001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882141952001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:34:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:34:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:34:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882141952001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":174367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769485,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:34:26] local.INFO: GPS data processed {"connection_id":174367,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:34:26] local.INFO: Acknowledgment sent {"connection_id":174367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:34:35] local.INFO: TCP Data received {"connection_id":173054,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07104f368012d7dda4006006400000700472d..."} 
[2026-09-05 15:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07104f368012d7dda4006006400000700472d..."} 
[2026-09-05 15:34:35] local.INFO: Processing buffer {"connection_id":173054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07104f368012d7dda4006006400000700472d..."} 
[2026-09-05 15:34:35] local.INFO: Packet analysis {"connection_id":173054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:34:35] local.INFO: Extracted packet for processing {"connection_id":173054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:34:35] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":45,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882174464001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:35] 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-09-05 15:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788602545000,"timestamp_ms":1788602545000,"timestamp_seconds":1788602545,"priority":1,"record_length":96,"hex_timestamp":"000001a07104f368"} 
[2026-09-05 15:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:34:35] 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-09-05 15:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-05 15:34:35] 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-09-05 15:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882174464001,"66":26136,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882174464001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:34:35] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:34:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882174464001,"power":26136,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":173054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:34:35] local.INFO: GPS data processed {"connection_id":173054,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:34:35] local.INFO: Acknowledgment sent {"connection_id":173054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:34:36] local.INFO: TCP Data received {"connection_id":171953,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071066e50012d7b4c4005e909d0000700aa1f..."} 
[2026-09-05 15:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071066e50012d7b4c4005e909d0000700aa1f..."} 
[2026-09-05 15:34:36] local.INFO: Processing buffer {"connection_id":171953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071066e50012d7b4c4005e909d0000700aa1f..."} 
[2026-09-05 15:34:36] local.INFO: Packet analysis {"connection_id":171953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07106"} 
[2026-09-05 15:34:36] local.INFO: Extracted packet for processing {"connection_id":171953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07106"} 
[2026-09-05 15:34:36] local.INFO: GPS Element Parsed {"raw_longitude":763055168,"raw_latitude":99158480,"longitude_deg":76.3055168,"latitude_deg":9.915848,"altitude":7,"angle":170,"satellites":31,"speed":37,"hex_longitude":"2d7b4c40","hex_latitude":"05e909d0","is_valid_coordinates":true} 
[2026-09-05 15:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882273024001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128536448340066304,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883491027863547904,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:36] 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-09-05 15:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788602642000,"timestamp_ms":1788602642000,"timestamp_seconds":1788602642,"priority":1,"record_length":96,"hex_timestamp":"000001a071066e50"} 
[2026-09-05 15:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-05 15:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:36] local.WARNING: Large IO value detected {"io_id":87,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:36] local.WARNING: Large IO value detected {"io_id":166,"raw_value":3338665984,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-5561944244945371131,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277354990941322048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:36] local.WARNING: Large IO value detected {"io_id":233,"raw_value":4269412459649508096,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1469841614,"corrected_to":0} 
[2026-09-05 15:34:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2790522880,"corrected_to":0} 
[2026-09-05 15:34:36] local.WARNING: Large IO value detected {"io_id":214,"raw_value":57798697765721910,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:36] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,201,87,24,241,157,16,166,160,55,45,192,46,5,31,10,66,51,47,30,1,240,197,227,113,233,4,205,23,114,34,239,54,156,2,200,3,9,214],"length":626,"final_offset":756,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1469841614,"validated":0},{"io_id":200,"original":2790522880,"validated":0}]} 
[2026-09-05 15:34:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360488214450667520,"timestamp_seconds":360488214450667.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 15:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882273024001,"66":13048,"201":206,"87":13824,"24":37,"16":128536448340066304,"45":8883491027863547904},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-05 15:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882273024001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:34:36] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-05 15:34:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128536448340066304,"km_value":128536448340066.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883491027863547904,"description":"Unknown IO ID 45"} 
[2026-09-05 15:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882273024001,"power":13048,"unknown_201":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8883491027863547904}} 
[2026-09-05 15:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":171953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769487,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:34:36] local.INFO: GPS data processed {"connection_id":171953,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:34:36] local.INFO: Acknowledgment sent {"connection_id":171953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:34:44] local.INFO: TCP Data received {"connection_id":173055,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:34:44] local.INFO: Processing buffer {"connection_id":173055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:34:44] local.INFO: IMEI packet received {"connection_id":173055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":173055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:34:47] local.INFO: TCP Data received {"connection_id":174368,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:34:47] local.INFO: Processing buffer {"connection_id":174368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:34:47] local.INFO: IMEI packet received {"connection_id":174368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":174368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:34:48] local.INFO: TCP Data received {"connection_id":171658,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a071069d30012d0c634007036f88001900050a..."} 
[2026-09-05 15:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071069d30012d0c634007036f88001900050a..."} 
[2026-09-05 15:34:48] local.INFO: Processing buffer {"connection_id":171658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071069d30012d0c634007036f88001900050a..."} 
[2026-09-05 15:34:48] local.INFO: Packet analysis {"connection_id":171658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07106"} 
[2026-09-05 15:34:48] local.INFO: Extracted packet for processing {"connection_id":171658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07106"} 
[2026-09-05 15:34:48] local.INFO: GPS Element Parsed {"raw_longitude":755786560,"raw_latitude":117665672,"longitude_deg":75.578656,"latitude_deg":11.7665672,"altitude":25,"angle":5,"satellites":10,"speed":10,"hex_longitude":"2d0c6340","hex_latitude":"07036f88","is_valid_coordinates":true} 
[2026-09-05 15:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882279168001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30339958216589312,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892557181271822336,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788602654000,"timestamp_ms":1788602654000,"timestamp_seconds":1788602654,"priority":1,"record_length":96,"hex_timestamp":"000001a071069d30"} 
[2026-09-05 15:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-05 15:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":171658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":171658,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":171658,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882279168001,"66":14439,"37":206,"94":11008,"24":10,"16":30339958216589312,"45":892557181271822336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-05 15:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882279168001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:34:48] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-05 15:34:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 15:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30339958216589312,"km_value":30339958216589.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":892557181271822336,"description":"Unknown IO ID 45"} 
[2026-09-05 15:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882279168001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":892557181271822336}} 
[2026-09-05 15:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":171658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769488,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:34:48] local.INFO: GPS data processed {"connection_id":171658,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:34:48] local.INFO: Acknowledgment sent {"connection_id":171658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:34:50] local.INFO: TCP Data received {"connection_id":173055,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:34:50] local.INFO: Processing buffer {"connection_id":173055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:34:50] local.INFO: IMEI packet received {"connection_id":173055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":173055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:34:50] local.INFO: TCP Data received {"connection_id":173055,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071033de8012d196880071fed50003d011c25..."} 
[2026-09-05 15:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071033de8012d196880071fed50003d011c25..."} 
[2026-09-05 15:34:50] local.INFO: Processing buffer {"connection_id":173055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071033de8012d196880071fed50003d011c25..."} 
[2026-09-05 15:34:50] local.INFO: Packet analysis {"connection_id":173055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:34:50] local.INFO: Extracted packet for processing {"connection_id":173055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:34:50] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882217472001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788602433000,"timestamp_ms":1788602433000,"timestamp_seconds":1788602433,"priority":1,"record_length":96,"hex_timestamp":"000001a071033de8"} 
[2026-09-05 15:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:34: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-09-05 15:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-05 15:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:34:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882217472001,"66":12504,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882217472001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:34:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:34:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882217472001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":173055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:34:51] local.INFO: GPS data processed {"connection_id":173055,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:34:51] local.INFO: Acknowledgment sent {"connection_id":173055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:34:52] local.INFO: TCP Data received {"connection_id":174368,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:34:52] local.INFO: Processing buffer {"connection_id":174368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:34:52] local.INFO: IMEI packet received {"connection_id":174368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":174368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:34:54] local.INFO: TCP Data received {"connection_id":174368,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071030350012c7939c00848c5f00014000129..."} 
[2026-09-05 15:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071030350012c7939c00848c5f00014000129..."} 
[2026-09-05 15:34:54] local.INFO: Processing buffer {"connection_id":174368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071030350012c7939c00848c5f00014000129..."} 
[2026-09-05 15:34:54] local.INFO: Packet analysis {"connection_id":174368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:34:54] local.INFO: Extracted packet for processing {"connection_id":174368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:34:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882141952001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788602418000,"timestamp_ms":1788602418000,"timestamp_seconds":1788602418,"priority":1,"record_length":96,"hex_timestamp":"000001a071030350"} 
[2026-09-05 15:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882141952001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882141952001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:34:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:34:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:34:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882141952001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":174368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769490,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:34:54] local.INFO: GPS data processed {"connection_id":174368,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:34:54] local.INFO: Acknowledgment sent {"connection_id":174368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:34:56] local.INFO: TCP Data received {"connection_id":171659,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:34:56] local.INFO: Processing buffer {"connection_id":171659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:34:56] local.INFO: IMEI packet received {"connection_id":171659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":171659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:35:01] local.INFO: TCP Data received {"connection_id":171659,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:35:01] local.INFO: Processing buffer {"connection_id":171659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:35:01] local.INFO: IMEI packet received {"connection_id":171659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":171659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:35:01] local.INFO: TCP Data received {"connection_id":173056,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:35:01] local.INFO: Processing buffer {"connection_id":173056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:35:01] local.INFO: IMEI packet received {"connection_id":173056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":173056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:35:04] local.INFO: TCP Data received {"connection_id":173056,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:35:04] local.INFO: Processing buffer {"connection_id":173056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:35:04] local.INFO: IMEI packet received {"connection_id":173056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":173056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:35:05] local.INFO: TCP Data received {"connection_id":171659,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07104f368012d7dda4006006400000700472d..."} 
[2026-09-05 15:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07104f368012d7dda4006006400000700472d..."} 
[2026-09-05 15:35:05] local.INFO: Processing buffer {"connection_id":171659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07104f368012d7dda4006006400000700472d..."} 
[2026-09-05 15:35:05] local.INFO: Packet analysis {"connection_id":171659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:35:05] local.INFO: Extracted packet for processing {"connection_id":171659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:35:05] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":45,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882174464001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:35:05] 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-09-05 15:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788602545000,"timestamp_ms":1788602545000,"timestamp_seconds":1788602545,"priority":1,"record_length":96,"hex_timestamp":"000001a07104f368"} 
[2026-09-05 15:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:35: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-09-05 15:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-05 15:35:05] 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-09-05 15: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-09-05 15:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882174464001,"66":26136,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882174464001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:35:05] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:35:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882174464001,"power":26136,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":171659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:35:05] local.INFO: GPS data processed {"connection_id":171659,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:35:05] local.INFO: Acknowledgment sent {"connection_id":171659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:35:08] local.INFO: TCP Data received {"connection_id":173056,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:35:08] local.INFO: Processing buffer {"connection_id":173056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:35:08] local.INFO: IMEI packet received {"connection_id":173056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":173056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:35:09] local.INFO: TCP Data received {"connection_id":173056,"ip":"42.109.136.0","data_length":1340,"data_hex":"000000000000030f8e0a000001a071066e50012d7b4c4005e909d0000700aa1f..."} 
[2026-09-05 15:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173056,"packet_length":1340,"packet_hex":"000000000000030f8e0a000001a071066e50012d7b4c4005e909d0000700aa1f..."} 
[2026-09-05 15:35:09] local.INFO: Processing buffer {"connection_id":173056,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a000001a071066e50012d7b4c4005e909d0000700aa1f..."} 
[2026-09-05 15:35:09] local.INFO: Packet analysis {"connection_id":173056,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a000001a07106"} 
[2026-09-05 15:35:09] local.INFO: Extracted packet for processing {"connection_id":173056,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a07106"} 
[2026-09-05 15:35:09] local.INFO: GPS Element Parsed {"raw_longitude":763055168,"raw_latitude":99158480,"longitude_deg":76.3055168,"latitude_deg":9.915848,"altitude":7,"angle":170,"satellites":31,"speed":37,"hex_longitude":"2d7b4c40","hex_latitude":"05e909d0","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882276352001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128536448340066304,"note":"Value kept but may cause issues"} 
[2026-09-05 15:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884546559023894528,"note":"Value kept but may cause issues"} 
[2026-09-05 15:35:09] 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-09-05 15:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788602642000,"timestamp_ms":1788602642000,"timestamp_seconds":1788602642,"priority":1,"record_length":96,"hex_timestamp":"000001a071066e50"} 
[2026-09-05 15:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15: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":248,"data_length":795,"current_offset":136} 
[2026-09-05 15:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882276352001,"66":13048,"201":206,"87":13824,"24":37,"16":128536448340066304,"45":8884546559023894528},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-05 15:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882276352001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:35:09] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-05 15:35:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128536448340066304,"km_value":128536448340066.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884546559023894528,"description":"Unknown IO ID 45"} 
[2026-09-05 15:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882276352001,"power":13048,"unknown_201":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8884546559023894528}} 
[2026-09-05 15:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":173056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769492,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:35:09] local.INFO: GPS data processed {"connection_id":173056,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:35:09] local.INFO: Acknowledgment sent {"connection_id":173056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:35:09] local.INFO: Packet analysis {"connection_id":173056,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a07106"} 
[2026-09-05 15:35:09] local.INFO: Incomplete packet, waiting for more data {"connection_id":173056,"needed":795,"available":545} 
[2026-09-05 15:35:12] local.INFO: TCP Data received {"connection_id":173056,"ip":"42.109.136.0","data_length":1045,"data_hex":"e3001001c8a6c700000000000001a071061860012d7b538005e930500005010b..."} 
[2026-09-05 15:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173056,"packet_length":1045,"packet_hex":"e3001001c8a6c700000000000001a071061860012d7b538005e930500005010b..."} 
[2026-09-05 15:35:12] local.INFO: Processing buffer {"connection_id":173056,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a071068d90012d7b50c005e8e670000800ae20..."} 
[2026-09-05 15:35:12] local.INFO: Packet analysis {"connection_id":173056,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07106"} 
[2026-09-05 15:35:12] local.INFO: Extracted packet for processing {"connection_id":173056,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07106"} 
[2026-09-05 15:35:12] local.INFO: GPS Element Parsed {"raw_longitude":763056320,"raw_latitude":99149424,"longitude_deg":76.305632,"latitude_deg":9.9149424,"altitude":8,"angle":174,"satellites":32,"speed":47,"hex_longitude":"2d7b50c0","hex_latitude":"05e8e670","is_valid_coordinates":true} 
[2026-09-05 15:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882276352001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128536890721697792,"note":"Value kept but may cause issues"} 
[2026-09-05 15:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884546559023894528,"note":"Value kept but may cause issues"} 
[2026-09-05 15:35:12] 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-09-05 15:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788602650000,"timestamp_ms":1788602650000,"timestamp_seconds":1788602650,"priority":1,"record_length":96,"hex_timestamp":"000001a071068d90"} 
[2026-09-05 15:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-05 15:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":173056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":173056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":173056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882276352001,"66":13798,"201":206,"87":13824,"24":47,"16":128536890721697792,"45":8884546559023894528},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-05 15:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882276352001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:35:12] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-05 15:35:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128536890721697792,"km_value":128536890721697.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884546559023894528,"description":"Unknown IO ID 45"} 
[2026-09-05 15:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882276352001,"power":13798,"unknown_201":206,"unknown_87":13824,"ignition":47,"odometer":null,"unknown_45":8884546559023894528}} 
[2026-09-05 15:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":173056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769493,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:35:12] local.INFO: GPS data processed {"connection_id":173056,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:35:12] local.INFO: Acknowledgment sent {"connection_id":173056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:35:12] local.INFO: Packet analysis {"connection_id":173056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07106"} 
[2026-09-05 15:35:12] local.INFO: Extracted packet for processing {"connection_id":173056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07106"} 
[2026-09-05 15:35:12] local.INFO: GPS Element Parsed {"raw_longitude":763057536,"raw_latitude":99139496,"longitude_deg":76.3057536,"latitude_deg":9.9139496,"altitude":7,"angle":172,"satellites":31,"speed":46,"hex_longitude":"2d7b5580","hex_latitude":"05e8bfa8","is_valid_coordinates":true} 
[2026-09-05 15:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882278400001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128537371758034944,"note":"Value kept but may cause issues"} 
[2026-09-05 15:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885813196416774144,"note":"Value kept but may cause issues"} 
[2026-09-05 15:35:12] 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-09-05 15:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788602658000,"timestamp_ms":1788602658000,"timestamp_seconds":1788602658,"priority":1,"record_length":96,"hex_timestamp":"000001a07106acd0"} 
[2026-09-05 15:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 15:35:12] 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-09-05 15:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":173056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":173056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":173056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882278400001,"66":13059,"201":206,"87":13824,"24":46,"16":128537371758034944,"45":8885813196416774144},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-05 15:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882278400001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:35:12] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-05 15:35:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128537371758034944,"km_value":128537371758034.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885813196416774144,"description":"Unknown IO ID 45"} 
[2026-09-05 15:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882278400001,"power":13059,"unknown_201":206,"unknown_87":13824,"ignition":46,"odometer":null,"unknown_45":8885813196416774144}} 
[2026-09-05 15:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":173056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769494,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:35:12] local.INFO: GPS data processed {"connection_id":173056,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:35:12] local.INFO: Acknowledgment sent {"connection_id":173056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:35:19] local.INFO: TCP Data received {"connection_id":171658,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07106cc10012d0c634007038508001e01620a..."} 
[2026-09-05 15:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07106cc10012d0c634007038508001e01620a..."} 
[2026-09-05 15:35:19] local.INFO: Processing buffer {"connection_id":171658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07106cc10012d0c634007038508001e01620a..."} 
[2026-09-05 15:35:19] local.INFO: Packet analysis {"connection_id":171658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07106"} 
[2026-09-05 15:35:19] local.INFO: Extracted packet for processing {"connection_id":171658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07106"} 
[2026-09-05 15:35:19] local.INFO: GPS Element Parsed {"raw_longitude":755786560,"raw_latitude":117671176,"longitude_deg":75.578656,"latitude_deg":11.7671176,"altitude":30,"angle":354,"satellites":10,"speed":15,"hex_longitude":"2d0c6340","hex_latitude":"07038508","is_valid_coordinates":true} 
[2026-09-05 15:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882279424001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30340228799528960,"note":"Value kept but may cause issues"} 
[2026-09-05 15:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892627550016079872,"note":"Value kept but may cause issues"} 
[2026-09-05 15:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788602666000,"timestamp_ms":1788602666000,"timestamp_seconds":1788602666,"priority":1,"record_length":96,"hex_timestamp":"000001a07106cc10"} 
[2026-09-05 15:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-05 15:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":171658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":171658,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":171658,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882279424001,"66":14428,"37":206,"94":11008,"24":15,"16":30340228799528960,"45":892627550016079872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-05 15:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882279424001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:35:19] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-05 15:35:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 15:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30340228799528960,"km_value":30340228799528.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":892627550016079872,"description":"Unknown IO ID 45"} 
[2026-09-05 15:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882279424001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":892627550016079872}} 
[2026-09-05 15:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":171658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769495,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:35:20] local.INFO: GPS data processed {"connection_id":171658,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:35:20] local.INFO: Acknowledgment sent {"connection_id":171658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:35:22] local.INFO: TCP Data received {"connection_id":173055,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071038ff0012d196880071fed50003d011c26..."} 
[2026-09-05 15:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071038ff0012d196880071fed50003d011c26..."} 
[2026-09-05 15:35:22] local.INFO: Processing buffer {"connection_id":173055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071038ff0012d196880071fed50003d011c26..."} 
[2026-09-05 15:35:22] local.INFO: Packet analysis {"connection_id":173055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:35:22] local.INFO: Extracted packet for processing {"connection_id":173055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:35:22] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882222848001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788602454000,"timestamp_ms":1788602454000,"timestamp_seconds":1788602454,"priority":1,"record_length":96,"hex_timestamp":"000001a071038ff0"} 
[2026-09-05 15:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 15:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:35:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882222848001,"66":12428,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882222848001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:35:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:35:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882222848001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":173055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:35:22] local.INFO: GPS data processed {"connection_id":173055,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:35:22] local.INFO: Acknowledgment sent {"connection_id":173055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:35:25] local.INFO: TCP Data received {"connection_id":174368,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071030350012c7939c00848c5f00014000129..."} 
[2026-09-05 15:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071030350012c7939c00848c5f00014000129..."} 
[2026-09-05 15:35:25] local.INFO: Processing buffer {"connection_id":174368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071030350012c7939c00848c5f00014000129..."} 
[2026-09-05 15:35:25] local.INFO: Packet analysis {"connection_id":174368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:35:25] local.INFO: Extracted packet for processing {"connection_id":174368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:35:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:35: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-09-05 15:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882141952001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:35:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788602418000,"timestamp_ms":1788602418000,"timestamp_seconds":1788602418,"priority":1,"record_length":96,"hex_timestamp":"000001a071030350"} 
[2026-09-05 15:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:35:25] 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-09-05 15:35: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-09-05 15:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882141952001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882141952001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:35:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:35:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:35:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882141952001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":174368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769497,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:35:25] local.INFO: GPS data processed {"connection_id":174368,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:35:25] local.INFO: Acknowledgment sent {"connection_id":174368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:35:36] local.INFO: TCP Data received {"connection_id":171659,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07104f368012d7dda4006006400000700472d..."} 
[2026-09-05 15:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07104f368012d7dda4006006400000700472d..."} 
[2026-09-05 15:35:36] local.INFO: Processing buffer {"connection_id":171659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07104f368012d7dda4006006400000700472d..."} 
[2026-09-05 15:35:36] local.INFO: Packet analysis {"connection_id":171659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:35:36] local.INFO: Extracted packet for processing {"connection_id":171659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:35:36] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":45,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882174464001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:35:36] 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-09-05 15:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788602545000,"timestamp_ms":1788602545000,"timestamp_seconds":1788602545,"priority":1,"record_length":96,"hex_timestamp":"000001a07104f368"} 
[2026-09-05 15:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:35: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-09-05 15:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-05 15:35:36] 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-09-05 15: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-09-05 15:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882174464001,"66":26136,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882174464001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:35:36] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:35:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882174464001,"power":26136,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":171659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:35:36] local.INFO: GPS data processed {"connection_id":171659,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:35:36] local.INFO: Acknowledgment sent {"connection_id":171659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:35:44] local.INFO: TCP Data received {"connection_id":171954,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:35:44] local.INFO: Processing buffer {"connection_id":171954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:35:44] local.INFO: IMEI packet received {"connection_id":171954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":171954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:35:47] local.INFO: TCP Data received {"connection_id":174369,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174369,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:35:47] local.INFO: Processing buffer {"connection_id":174369,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:35:47] local.INFO: IMEI packet received {"connection_id":174369,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":174369,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:35:50] local.INFO: TCP Data received {"connection_id":171954,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:35:50] local.INFO: Processing buffer {"connection_id":171954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:35:50] local.INFO: IMEI packet received {"connection_id":171954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":171954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:35:50] local.INFO: TCP Data received {"connection_id":171954,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07103e1f8012d196880071fed50003d011c27..."} 
[2026-09-05 15:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07103e1f8012d196880071fed50003d011c27..."} 
[2026-09-05 15:35:50] local.INFO: Processing buffer {"connection_id":171954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07103e1f8012d196880071fed50003d011c27..."} 
[2026-09-05 15:35:50] local.INFO: Packet analysis {"connection_id":171954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:35:50] local.INFO: Extracted packet for processing {"connection_id":171954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:35:50] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882228224001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788602475000,"timestamp_ms":1788602475000,"timestamp_seconds":1788602475,"priority":1,"record_length":96,"hex_timestamp":"000001a07103e1f8"} 
[2026-09-05 15:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:35: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-09-05 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 15:35:50] 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-09-05 15: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-09-05 15:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882228224001,"66":12385,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882228224001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:35:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:35:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882228224001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":171954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:35:51] local.INFO: GPS data processed {"connection_id":171954,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:35:51] local.INFO: Acknowledgment sent {"connection_id":171954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:35:51] local.INFO: TCP Data received {"connection_id":171658,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07106dbb0012d0c6340070389d8001f00070a..."} 
[2026-09-05 15:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07106dbb0012d0c6340070389d8001f00070a..."} 
[2026-09-05 15:35:51] local.INFO: Processing buffer {"connection_id":171658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07106dbb0012d0c6340070389d8001f00070a..."} 
[2026-09-05 15:35:51] local.INFO: Packet analysis {"connection_id":171658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07106"} 
[2026-09-05 15:35:51] local.INFO: Extracted packet for processing {"connection_id":171658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07106"} 
[2026-09-05 15:35:51] local.INFO: GPS Element Parsed {"raw_longitude":755786560,"raw_latitude":117672408,"longitude_deg":75.578656,"latitude_deg":11.7672408,"altitude":31,"angle":7,"satellites":10,"speed":12,"hex_longitude":"2d0c6340","hex_latitude":"070389d8","is_valid_coordinates":true} 
[2026-09-05 15:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882282496001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30340288929071104,"note":"Value kept but may cause issues"} 
[2026-09-05 15:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892627550017488896,"note":"Value kept but may cause issues"} 
[2026-09-05 15:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788602670000,"timestamp_ms":1788602670000,"timestamp_seconds":1788602670,"priority":1,"record_length":96,"hex_timestamp":"000001a07106dbb0"} 
[2026-09-05 15:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:35:51] 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-09-05 15:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 15:35:51] 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-09-05 15:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171658,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171658,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882282496001,"66":14537,"37":206,"94":11008,"24":12,"16":30340288929071104,"45":892627550017488896},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-05 15:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882282496001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:35:51] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-05 15:35:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 15:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30340288929071104,"km_value":30340288929071.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":892627550017488896,"description":"Unknown IO ID 45"} 
[2026-09-05 15:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882282496001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":892627550017488896}} 
[2026-09-05 15:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":171658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769500,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:35:51] local.INFO: GPS data processed {"connection_id":171658,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:35:51] local.INFO: Acknowledgment sent {"connection_id":171658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:35:52] local.INFO: TCP Data received {"connection_id":174369,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174369,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:35:52] local.INFO: Processing buffer {"connection_id":174369,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:35:52] local.INFO: IMEI packet received {"connection_id":174369,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":174369,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:35:54] local.INFO: TCP Data received {"connection_id":174369,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071030350012c7939c00848c5f00014000129..."} 
[2026-09-05 15:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071030350012c7939c00848c5f00014000129..."} 
[2026-09-05 15:35:54] local.INFO: Processing buffer {"connection_id":174369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071030350012c7939c00848c5f00014000129..."} 
[2026-09-05 15:35:54] local.INFO: Packet analysis {"connection_id":174369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:35:54] local.INFO: Extracted packet for processing {"connection_id":174369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07103"} 
[2026-09-05 15:35:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882141952001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:35:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788602418000,"timestamp_ms":1788602418000,"timestamp_seconds":1788602418,"priority":1,"record_length":96,"hex_timestamp":"000001a071030350"} 
[2026-09-05 15:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882141952001,"66":25375,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882141952001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:35:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:35:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:35:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882141952001,"power":25375,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":174369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769501,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:35:54] local.INFO: GPS data processed {"connection_id":174369,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:35:54] local.INFO: Acknowledgment sent {"connection_id":174369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:35:56] local.INFO: TCP Data received {"connection_id":171661,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:35:56] local.INFO: Processing buffer {"connection_id":171661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:35:56] local.INFO: IMEI packet received {"connection_id":171661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":171661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:36:00] local.INFO: TCP Data received {"connection_id":171660,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171660,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:36:00] local.INFO: Processing buffer {"connection_id":171660,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:36:00] local.INFO: IMEI packet received {"connection_id":171660,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":171660,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:36:01] local.INFO: TCP Data received {"connection_id":171660,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171660,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:36:01] local.INFO: Processing buffer {"connection_id":171660,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:36:01] local.INFO: IMEI packet received {"connection_id":171660,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":171660,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:36:01] local.INFO: TCP Data received {"connection_id":171661,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:36:01] local.INFO: Processing buffer {"connection_id":171661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:36:01] local.INFO: IMEI packet received {"connection_id":171661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":171661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:36:02] local.INFO: TCP Data received {"connection_id":171661,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07104f368012d7dda4006006400000700472d..."} 
[2026-09-05 15:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07104f368012d7dda4006006400000700472d..."} 
[2026-09-05 15:36:02] local.INFO: Processing buffer {"connection_id":171661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07104f368012d7dda4006006400000700472d..."} 
[2026-09-05 15:36:02] local.INFO: Packet analysis {"connection_id":171661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:36:02] local.INFO: Extracted packet for processing {"connection_id":171661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:36:02] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":45,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 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-09-05 15:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882174464001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:02] 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-09-05 15:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788602545000,"timestamp_ms":1788602545000,"timestamp_seconds":1788602545,"priority":1,"record_length":96,"hex_timestamp":"000001a07104f368"} 
[2026-09-05 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-09-05 15:36:02] 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-09-05 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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-05 15:36:02] 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-09-05 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-09-05 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-09-05 15:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882174464001,"66":26136,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882174464001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:36:02] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:36:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882174464001,"power":26136,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":171661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:36:02] local.INFO: GPS data processed {"connection_id":171661,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:36:02] local.INFO: Acknowledgment sent {"connection_id":171661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:36:06] local.INFO: TCP Data received {"connection_id":171660,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171660,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:36:06] local.INFO: Processing buffer {"connection_id":171660,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:36:06] local.INFO: IMEI packet received {"connection_id":171660,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":171660,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:36:07] local.INFO: TCP Data received {"connection_id":171660,"ip":"42.109.136.0","data_length":1340,"data_hex":"000000000000030f8e0a000001a07107b288012d7b5a4005e7dfe8000a00b321..."} 
[2026-09-05 15:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171660,"packet_length":1340,"packet_hex":"000000000000030f8e0a000001a07107b288012d7b5a4005e7dfe8000a00b321..."} 
[2026-09-05 15:36:07] local.INFO: Processing buffer {"connection_id":171660,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a000001a07107b288012d7b5a4005e7dfe8000a00b321..."} 
[2026-09-05 15:36:07] local.INFO: Packet analysis {"connection_id":171660,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:36:07] local.INFO: Extracted packet for processing {"connection_id":171660,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:36:07] local.INFO: GPS Element Parsed {"raw_longitude":763058752,"raw_latitude":99082216,"longitude_deg":76.3058752,"latitude_deg":9.9082216,"altitude":10,"angle":179,"satellites":33,"speed":35,"hex_longitude":"2d7b5a40","hex_latitude":"05e7dfe8","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882295040001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128540189256581120,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889120527378235392,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:07] 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-09-05 15:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788602725000,"timestamp_ms":1788602725000,"timestamp_seconds":1788602725,"priority":1,"record_length":96,"hex_timestamp":"000001a07107b288"} 
[2026-09-05 15:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-05 15:36:07] 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-09-05 15: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-09-05 15:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882295040001,"66":13580,"201":206,"87":13824,"24":35,"16":128540189256581120,"45":8889120527378235392},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-05 15:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882295040001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:36:07] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-05 15:36:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128540189256581120,"km_value":128540189256581.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889120527378235392,"description":"Unknown IO ID 45"} 
[2026-09-05 15:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882295040001,"power":13580,"unknown_201":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8889120527378235392}} 
[2026-09-05 15:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":171660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:36:07] local.INFO: GPS data processed {"connection_id":171660,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:36:07] local.INFO: Acknowledgment sent {"connection_id":171660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:36:07] local.INFO: Packet analysis {"connection_id":171660,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:36:07] local.INFO: Incomplete packet, waiting for more data {"connection_id":171660,"needed":795,"available":545} 
[2026-09-05 15:36:08] local.INFO: TCP Data received {"connection_id":171660,"ip":"42.109.136.0","data_length":250,"data_hex":"e3001001c8a9dd00000000000001a071074140012d7b58c005e820e0000800b0..."} 
[2026-09-05 15:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171660,"packet_length":250,"packet_hex":"e3001001c8a9dd00000000000001a071074140012d7b58c005e820e0000800b0..."} 
[2026-09-05 15:36:08] local.INFO: Processing buffer {"connection_id":171660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07107cde0012d7b5e4005e7c568000900a720..."} 
[2026-09-05 15:36:08] local.INFO: Packet analysis {"connection_id":171660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:36:08] local.INFO: Extracted packet for processing {"connection_id":171660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:36:08] local.INFO: GPS Element Parsed {"raw_longitude":763059776,"raw_latitude":99075432,"longitude_deg":76.3059776,"latitude_deg":9.9075432,"altitude":9,"angle":167,"satellites":32,"speed":34,"hex_longitude":"2d7b5e40","hex_latitude":"05e7c568","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882297600001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128540519969062912,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888487208678320128,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:08] 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-09-05 15:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788602732000,"timestamp_ms":1788602732000,"timestamp_seconds":1788602732,"priority":1,"record_length":96,"hex_timestamp":"000001a07107cde0"} 
[2026-09-05 15:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:36: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-09-05 15: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-05 15:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630505,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3987413002990125056,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:08] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13446601,"corrected_to":0} 
[2026-09-05 15:36:08] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634789368966601,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":768147662,"corrected_to":0} 
[2026-09-05 15:36:08] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3221612576,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:08] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:08] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2849832960,"corrected_to":0} 
[2026-09-05 15:36:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3894468608,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:08] local.WARNING: Large IO value detected {"io_id":123,"raw_value":6647319545146507271,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:08] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-1873271848456630697,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:08] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755566944911601,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:08] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,201,87,24,241,157,16,170,160,139,45,128,3,8,34,10,66,112,17,33,92,192,1,240,203,227,113,232,4,205,25,65,88,224,239,52,2,200,5,41,123,53,54],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":203,"original":13446601,"validated":0},{"io_id":205,"original":768147662,"validated":0},{"io_id":200,"original":2849832960,"validated":0}]} 
[2026-09-05 15:36:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720772894696865792,"timestamp_seconds":720772894696865.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 15:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882297600001,"66":13450,"201":206,"87":13824,"24":34,"16":128540519969062912,"45":8888487208678320128},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-05 15:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882297600001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:36:08] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-05 15:36:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128540519969062912,"km_value":128540519969062.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888487208678320128,"description":"Unknown IO ID 45"} 
[2026-09-05 15:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882297600001,"power":13450,"unknown_201":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8888487208678320128}} 
[2026-09-05 15:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":171660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769504,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:36:08] local.INFO: GPS data processed {"connection_id":171660,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:36:08] local.INFO: Acknowledgment sent {"connection_id":171660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:36:10] local.INFO: TCP Data received {"connection_id":171660,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07107e550012d7b604005e7bbb0000700b421..."} 
[2026-09-05 15:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07107e550012d7b604005e7bbb0000700b421..."} 
[2026-09-05 15:36:10] local.INFO: Processing buffer {"connection_id":171660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07107e550012d7b604005e7bbb0000700b421..."} 
[2026-09-05 15:36:10] local.INFO: Packet analysis {"connection_id":171660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:36:10] local.INFO: Extracted packet for processing {"connection_id":171660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:36:10] local.INFO: GPS Element Parsed {"raw_longitude":763060288,"raw_latitude":99072944,"longitude_deg":76.3060288,"latitude_deg":9.9072944,"altitude":7,"angle":180,"satellites":33,"speed":11,"hex_longitude":"2d7b6040","hex_latitude":"05e7bbb0","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882299392001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128540644523114496,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889613108583426048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:10] 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-09-05 15:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788602738000,"timestamp_ms":1788602738000,"timestamp_seconds":1788602738,"priority":1,"record_length":96,"hex_timestamp":"000001a07107e550"} 
[2026-09-05 15:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-05 15:36:10] 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-09-05 15: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-09-05 15:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882299392001,"66":13678,"201":206,"87":13824,"24":11,"16":128540644523114496,"45":8889613108583426048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-05 15:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882299392001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:36:10] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-05 15:36:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128540644523114496,"km_value":128540644523114.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889613108583426048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882299392001,"power":13678,"unknown_201":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8889613108583426048}} 
[2026-09-05 15:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":171660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769505,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:36:10] local.INFO: GPS data processed {"connection_id":171660,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:36:10] local.INFO: Acknowledgment sent {"connection_id":171660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:36:22] local.INFO: TCP Data received {"connection_id":171954,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071043400012d196880071fed50003d011c27..."} 
[2026-09-05 15:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071043400012d196880071fed50003d011c27..."} 
[2026-09-05 15:36:22] local.INFO: Processing buffer {"connection_id":171954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071043400012d196880071fed50003d011c27..."} 
[2026-09-05 15:36:22] local.INFO: Packet analysis {"connection_id":171954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:36:22] local.INFO: Extracted packet for processing {"connection_id":171954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:36:22] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882233600001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788602496000,"timestamp_ms":1788602496000,"timestamp_seconds":1788602496,"priority":1,"record_length":96,"hex_timestamp":"000001a071043400"} 
[2026-09-05 15:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 15:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:36:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882233600001,"66":12461,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882233600001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:36:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:36:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882233600001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":171954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:36:22] local.INFO: GPS data processed {"connection_id":171954,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:36:22] local.INFO: Acknowledgment sent {"connection_id":171954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:36:23] local.INFO: TCP Data received {"connection_id":171658,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a071072db8012d0c624007039678001f00030a..."} 
[2026-09-05 15:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071072db8012d0c624007039678001f00030a..."} 
[2026-09-05 15:36:23] local.INFO: Processing buffer {"connection_id":171658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071072db8012d0c624007039678001f00030a..."} 
[2026-09-05 15:36:23] local.INFO: Packet analysis {"connection_id":171658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:36:23] local.INFO: Extracted packet for processing {"connection_id":171658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:36:23] local.INFO: GPS Element Parsed {"raw_longitude":755786304,"raw_latitude":117675640,"longitude_deg":75.5786304,"latitude_deg":11.767564,"altitude":31,"angle":3,"satellites":10,"speed":0,"hex_longitude":"2d0c6240","hex_latitude":"07039678","is_valid_coordinates":true} 
[2026-09-05 15:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882283520001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30340456432795648,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892627550017804288,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788602691000,"timestamp_ms":1788602691000,"timestamp_seconds":1788602691,"priority":1,"record_length":96,"hex_timestamp":"000001a071072db8"} 
[2026-09-05 15:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-05 15:36:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:36:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171658,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171658,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882283520001,"66":14450,"37":206,"94":11008,"24":0,"16":30340456432795648,"45":892627550017804288},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-05 15:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882283520001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:36:23] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-05 15:36:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 15:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30340456432795648,"km_value":30340456432795.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":892627550017804288,"description":"Unknown IO ID 45"} 
[2026-09-05 15:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882283520001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":892627550017804288}} 
[2026-09-05 15:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":171658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769507,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:36:23] local.INFO: GPS data processed {"connection_id":171658,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:36:23] local.INFO: Acknowledgment sent {"connection_id":171658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:36:25] local.INFO: TCP Data received {"connection_id":174369,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071079b18012c7939c00848c5f00014000129..."} 
[2026-09-05 15:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071079b18012c7939c00848c5f00014000129..."} 
[2026-09-05 15:36:25] local.INFO: Processing buffer {"connection_id":174369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071079b18012c7939c00848c5f00014000129..."} 
[2026-09-05 15:36:25] local.INFO: Packet analysis {"connection_id":174369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:36:25] local.INFO: Extracted packet for processing {"connection_id":174369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:36:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882219008001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788602719000,"timestamp_ms":1788602719000,"timestamp_seconds":1788602719,"priority":1,"record_length":96,"hex_timestamp":"000001a071079b18"} 
[2026-09-05 15:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:36:25] 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-09-05 15:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882219008001,"66":25343,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882219008001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:36:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:36:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:36:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882219008001,"power":25343,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":174369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769508,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:36:25] local.INFO: GPS data processed {"connection_id":174369,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:36:25] local.INFO: Acknowledgment sent {"connection_id":174369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:36:34] local.INFO: TCP Data received {"connection_id":171661,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07104f368012d7dda4006006400000700472d..."} 
[2026-09-05 15:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07104f368012d7dda4006006400000700472d..."} 
[2026-09-05 15:36:34] local.INFO: Processing buffer {"connection_id":171661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07104f368012d7dda4006006400000700472d..."} 
[2026-09-05 15:36:34] local.INFO: Packet analysis {"connection_id":171661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:36:34] local.INFO: Extracted packet for processing {"connection_id":171661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:36:34] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":45,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882174464001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:34] 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-09-05 15:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788602545000,"timestamp_ms":1788602545000,"timestamp_seconds":1788602545,"priority":1,"record_length":96,"hex_timestamp":"000001a07104f368"} 
[2026-09-05 15:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:36: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-09-05 15:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-05 15:36:34] 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-09-05 15:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882174464001,"66":26136,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882174464001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:36:34] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:36:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882174464001,"power":26136,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":171661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:36:34] local.INFO: GPS data processed {"connection_id":171661,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:36:34] local.INFO: Acknowledgment sent {"connection_id":171661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:36:46] local.INFO: TCP Data received {"connection_id":173058,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:36:46] local.INFO: Processing buffer {"connection_id":173058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:36:46] local.INFO: IMEI packet received {"connection_id":173058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":173058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:36:47] local.INFO: TCP Data received {"connection_id":173057,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173057,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:36:47] local.INFO: Processing buffer {"connection_id":173057,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:36:47] local.INFO: IMEI packet received {"connection_id":173057,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":173057,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:36:50] local.INFO: TCP Data received {"connection_id":173058,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:36:50] local.INFO: Processing buffer {"connection_id":173058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:36:50] local.INFO: IMEI packet received {"connection_id":173058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":173058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:36:51] local.INFO: TCP Data received {"connection_id":171955,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171955,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:36:51] local.INFO: Processing buffer {"connection_id":171955,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:36:51] local.INFO: IMEI packet received {"connection_id":171955,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":171955,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:36:52] local.INFO: TCP Data received {"connection_id":173057,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173057,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:36:52] local.INFO: Processing buffer {"connection_id":173057,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:36:52] local.INFO: IMEI packet received {"connection_id":173057,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":173057,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:36:54] local.INFO: TCP Data received {"connection_id":173057,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071079b18012c7939c00848c5f00014000129..."} 
[2026-09-05 15:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071079b18012c7939c00848c5f00014000129..."} 
[2026-09-05 15:36:54] local.INFO: Processing buffer {"connection_id":173057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071079b18012c7939c00848c5f00014000129..."} 
[2026-09-05 15:36:54] local.INFO: Packet analysis {"connection_id":173057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:36:54] local.INFO: Extracted packet for processing {"connection_id":173057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:36:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882219008001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788602719000,"timestamp_ms":1788602719000,"timestamp_seconds":1788602719,"priority":1,"record_length":96,"hex_timestamp":"000001a071079b18"} 
[2026-09-05 15:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173057,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173057,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882219008001,"66":25343,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882219008001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:36:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:36:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:36:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882219008001,"power":25343,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":173057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769510,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:36:54] local.INFO: GPS data processed {"connection_id":173057,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:36:54] local.INFO: Acknowledgment sent {"connection_id":173057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:36:55] local.INFO: TCP Data received {"connection_id":173058,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:36:55] local.INFO: Processing buffer {"connection_id":173058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:36:55] local.INFO: IMEI packet received {"connection_id":173058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":173058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:36:55] local.INFO: TCP Data received {"connection_id":171955,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171955,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:36:55] local.INFO: Processing buffer {"connection_id":171955,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:36:55] local.INFO: IMEI packet received {"connection_id":171955,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":171955,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:36:55] local.INFO: TCP Data received {"connection_id":173058,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07107ba58012d196880071fed50003d011c27..."} 
[2026-09-05 15:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07107ba58012d196880071fed50003d011c27..."} 
[2026-09-05 15:36:55] local.INFO: Processing buffer {"connection_id":173058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07107ba58012d196880071fed50003d011c27..."} 
[2026-09-05 15:36:55] local.INFO: Packet analysis {"connection_id":173058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:36:55] local.INFO: Extracted packet for processing {"connection_id":173058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:36:55] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882292736001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788602727000,"timestamp_ms":1788602727000,"timestamp_seconds":1788602727,"priority":1,"record_length":96,"hex_timestamp":"000001a07107ba58"} 
[2026-09-05 15:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:36:55] 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-09-05 15:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 15:36:55] 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-09-05 15:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882292736001,"66":12461,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882292736001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:36:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:36:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882292736001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":173058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:36:55] local.INFO: GPS data processed {"connection_id":173058,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:36:55] local.INFO: Acknowledgment sent {"connection_id":173058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:36:56] local.INFO: TCP Data received {"connection_id":171658,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a071077fc0012d0c624007039678001f00030b..."} 
[2026-09-05 15:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071077fc0012d0c624007039678001f00030b..."} 
[2026-09-05 15:36:56] local.INFO: Processing buffer {"connection_id":171658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071077fc0012d0c624007039678001f00030b..."} 
[2026-09-05 15:36:56] local.INFO: Packet analysis {"connection_id":171658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:36:56] local.INFO: Extracted packet for processing {"connection_id":171658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:36:56] local.INFO: GPS Element Parsed {"raw_longitude":755786304,"raw_latitude":117675640,"longitude_deg":75.5786304,"latitude_deg":11.767564,"altitude":31,"angle":3,"satellites":11,"speed":0,"hex_longitude":"2d0c6240","hex_latitude":"07039678","is_valid_coordinates":true} 
[2026-09-05 15:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882288896001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30340456432795648,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892346075041921024,"note":"Value kept but may cause issues"} 
[2026-09-05 15:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788602712000,"timestamp_ms":1788602712000,"timestamp_seconds":1788602712,"priority":1,"record_length":96,"hex_timestamp":"000001a071077fc0"} 
[2026-09-05 15:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:36:56] 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-09-05 15:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-05 15:36:56] 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-09-05 15:36:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171658,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171658,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882288896001,"66":14450,"37":206,"94":11008,"24":0,"16":30340456432795648,"45":892346075041921024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-05 15:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882288896001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:36:56] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-05 15:36:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 15:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30340456432795648,"km_value":30340456432795.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":892346075041921024,"description":"Unknown IO ID 45"} 
[2026-09-05 15:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882288896001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":892346075041921024}} 
[2026-09-05 15:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":171658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769512,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:36:56] local.INFO: GPS data processed {"connection_id":171658,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:36:56] local.INFO: Acknowledgment sent {"connection_id":171658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:37:00] local.INFO: TCP Data received {"connection_id":171955,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171955,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:37:00] local.INFO: Processing buffer {"connection_id":171955,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:37:00] local.INFO: IMEI packet received {"connection_id":171955,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":171955,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:37:00] local.INFO: TCP Data received {"connection_id":173058,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071080c60012d196880071fed50003d011c26..."} 
[2026-09-05 15:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071080c60012d196880071fed50003d011c26..."} 
[2026-09-05 15:37:00] local.INFO: Processing buffer {"connection_id":173058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071080c60012d196880071fed50003d011c26..."} 
[2026-09-05 15:37:00] local.INFO: Packet analysis {"connection_id":173058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07108"} 
[2026-09-05 15:37:00] local.INFO: Extracted packet for processing {"connection_id":173058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07108"} 
[2026-09-05 15:37:00] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882298112001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788602748000,"timestamp_ms":1788602748000,"timestamp_seconds":1788602748,"priority":1,"record_length":96,"hex_timestamp":"000001a071080c60"} 
[2026-09-05 15:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 15:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882298112001,"66":12461,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882298112001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:37:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:37:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882298112001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":173058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:37:00] local.INFO: GPS data processed {"connection_id":173058,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:37:00] local.INFO: Acknowledgment sent {"connection_id":173058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:37:01] local.INFO: TCP Data received {"connection_id":171955,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071083370012d7b630005e79998000700a922..."} 
[2026-09-05 15:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071083370012d7b630005e79998000700a922..."} 
[2026-09-05 15:37:01] local.INFO: Processing buffer {"connection_id":171955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071083370012d7b630005e79998000700a922..."} 
[2026-09-05 15:37:01] local.INFO: Packet analysis {"connection_id":171955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07108"} 
[2026-09-05 15:37:01] local.INFO: Extracted packet for processing {"connection_id":171955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07108"} 
[2026-09-05 15:37:01] local.INFO: GPS Element Parsed {"raw_longitude":763060992,"raw_latitude":99064216,"longitude_deg":76.3060992,"latitude_deg":9.9064216,"altitude":7,"angle":169,"satellites":34,"speed":26,"hex_longitude":"2d7b6300","hex_latitude":"05e79998","is_valid_coordinates":true} 
[2026-09-05 15:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882300928001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128541069724876800,"note":"Value kept but may cause issues"} 
[2026-09-05 15:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890176058536210432,"note":"Value kept but may cause issues"} 
[2026-09-05 15:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788602758000,"timestamp_ms":1788602758000,"timestamp_seconds":1788602758,"priority":1,"record_length":96,"hex_timestamp":"000001a071083370"} 
[2026-09-05 15:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-05 15:37:01] 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-09-05 15:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882300928001,"66":13515,"96":206,"87":13824,"24":26,"16":128541069724876800,"45":8890176058536210432},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-05 15:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882300928001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:37:01] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-05 15:37:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128541069724876800,"km_value":128541069724876.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890176058536210432,"description":"Unknown IO ID 45"} 
[2026-09-05 15:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882300928001,"power":13515,"unknown_96":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8890176058536210432}} 
[2026-09-05 15:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":171955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:37:01] local.INFO: GPS data processed {"connection_id":171955,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:37:01] local.INFO: Acknowledgment sent {"connection_id":171955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:37:01] local.INFO: TCP Data received {"connection_id":171956,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:37:01] local.INFO: Processing buffer {"connection_id":171956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:37:01] local.INFO: IMEI packet received {"connection_id":171956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":171956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:37:06] local.INFO: TCP Data received {"connection_id":171956,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:37:06] local.INFO: Processing buffer {"connection_id":171956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:37:06] local.INFO: IMEI packet received {"connection_id":171956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":171956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:37:08] local.INFO: TCP Data received {"connection_id":171956,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07104f368012d7dda4006006400000700472d..."} 
[2026-09-05 15:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07104f368012d7dda4006006400000700472d..."} 
[2026-09-05 15:37:08] local.INFO: Processing buffer {"connection_id":171956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07104f368012d7dda4006006400000700472d..."} 
[2026-09-05 15:37:08] local.INFO: Packet analysis {"connection_id":171956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:37:08] local.INFO: Extracted packet for processing {"connection_id":171956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:37:08] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":45,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882174464001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:37:08] 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-09-05 15:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788602545000,"timestamp_ms":1788602545000,"timestamp_seconds":1788602545,"priority":1,"record_length":96,"hex_timestamp":"000001a07104f368"} 
[2026-09-05 15:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:37: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-09-05 15: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-05 15:37:08] 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-09-05 15: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-09-05 15:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882174464001,"66":26136,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882174464001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:37:08] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:37:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882174464001,"power":26136,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":171956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:37:08] local.INFO: GPS data processed {"connection_id":171956,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:37:08] local.INFO: Acknowledgment sent {"connection_id":171956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:37:10] local.INFO: TCP Data received {"connection_id":174370,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174370,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:37:10] local.INFO: Processing buffer {"connection_id":174370,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:37:10] local.INFO: IMEI packet received {"connection_id":174370,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 15:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":174370,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:37:12] local.INFO: TCP Data received {"connection_id":171956,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07104f368012d7dda4006006400000700472d..."} 
[2026-09-05 15:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07104f368012d7dda4006006400000700472d..."} 
[2026-09-05 15:37:12] local.INFO: Processing buffer {"connection_id":171956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07104f368012d7dda4006006400000700472d..."} 
[2026-09-05 15:37:12] local.INFO: Packet analysis {"connection_id":171956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:37:12] local.INFO: Extracted packet for processing {"connection_id":171956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:37:12] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":45,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882174464001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:37:12] 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-09-05 15:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788602545000,"timestamp_ms":1788602545000,"timestamp_seconds":1788602545,"priority":1,"record_length":96,"hex_timestamp":"000001a07104f368"} 
[2026-09-05 15:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-05 15:37:12] 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-09-05 15:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882174464001,"66":26136,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882174464001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:37:12] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:37:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882174464001,"power":26136,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":171956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:37:12] local.INFO: GPS data processed {"connection_id":171956,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:37:12] local.INFO: Acknowledgment sent {"connection_id":171956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:37:16] local.INFO: TCP Data received {"connection_id":174370,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174370,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:37:16] local.INFO: Processing buffer {"connection_id":174370,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:37:16] local.INFO: IMEI packet received {"connection_id":174370,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 15:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":174370,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:37:17] local.INFO: TCP Data received {"connection_id":174370,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07107d1c8012d0c62c0070395d8001e00030d..."} 
[2026-09-05 15:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07107d1c8012d0c62c0070395d8001e00030d..."} 
[2026-09-05 15:37:17] local.INFO: Processing buffer {"connection_id":174370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07107d1c8012d0c62c0070395d8001e00030d..."} 
[2026-09-05 15:37:17] local.INFO: Packet analysis {"connection_id":174370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:37:17] local.INFO: Extracted packet for processing {"connection_id":174370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:37:17] local.INFO: GPS Element Parsed {"raw_longitude":755786432,"raw_latitude":117675480,"longitude_deg":75.5786432,"latitude_deg":11.767548,"altitude":30,"angle":3,"satellites":13,"speed":0,"hex_longitude":"2d0c62c0","hex_latitude":"070395d8","is_valid_coordinates":true} 
[2026-09-05 15:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882294272001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30340465022730240,"note":"Value kept but may cause issues"} 
[2026-09-05 15:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892346075041921024,"note":"Value kept but may cause issues"} 
[2026-09-05 15:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788602733000,"timestamp_ms":1788602733000,"timestamp_seconds":1788602733,"priority":1,"record_length":96,"hex_timestamp":"000001a07107d1c8"} 
[2026-09-05 15:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-05 15:37:17] 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-09-05 15:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174370,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174370,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882294272001,"66":14428,"37":206,"94":11008,"24":0,"16":30340465022730240,"45":892346075041921024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-05 15:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882294272001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:37:17] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-05 15:37:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 15:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30340465022730240,"km_value":30340465022730.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":892346075041921024,"description":"Unknown IO ID 45"} 
[2026-09-05 15:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882294272001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":892346075041921024}} 
[2026-09-05 15:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":174370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769517,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:37:17] local.INFO: GPS data processed {"connection_id":174370,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:37:17] local.INFO: Acknowledgment sent {"connection_id":174370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:37:25] local.INFO: TCP Data received {"connection_id":173057,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071079b18012c7939c00848c5f00014000129..."} 
[2026-09-05 15:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071079b18012c7939c00848c5f00014000129..."} 
[2026-09-05 15:37:25] local.INFO: Processing buffer {"connection_id":173057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071079b18012c7939c00848c5f00014000129..."} 
[2026-09-05 15:37:25] local.INFO: Packet analysis {"connection_id":173057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:37:25] local.INFO: Extracted packet for processing {"connection_id":173057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:37:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882219008001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:37:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788602719000,"timestamp_ms":1788602719000,"timestamp_seconds":1788602719,"priority":1,"record_length":96,"hex_timestamp":"000001a071079b18"} 
[2026-09-05 15:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:37:25] 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-09-05 15:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173057,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173057,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882219008001,"66":25343,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882219008001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:37:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:37:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:37:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882219008001,"power":25343,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":173057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769518,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:37:26] local.INFO: GPS data processed {"connection_id":173057,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:37:26] local.INFO: Acknowledgment sent {"connection_id":173057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:37:32] local.INFO: TCP Data received {"connection_id":171955,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0710977a8012d7b87c005e70d180009009f25..."} 
[2026-09-05 15:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710977a8012d7b87c005e70d180009009f25..."} 
[2026-09-05 15:37:32] local.INFO: Processing buffer {"connection_id":171955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710977a8012d7b87c005e70d180009009f25..."} 
[2026-09-05 15:37:32] local.INFO: Packet analysis {"connection_id":171955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:37:32] local.INFO: Extracted packet for processing {"connection_id":171955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:37:32] local.INFO: GPS Element Parsed {"raw_longitude":763070400,"raw_latitude":99028248,"longitude_deg":76.30704,"latitude_deg":9.9028248,"altitude":9,"angle":159,"satellites":37,"speed":28,"hex_longitude":"2d7b87c0","hex_latitude":"05e70d18","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882326272001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128542899380944896,"note":"Value kept but may cause issues"} 
[2026-09-05 15:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899323995268444160,"note":"Value kept but may cause issues"} 
[2026-09-05 15:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788602841000,"timestamp_ms":1788602841000,"timestamp_seconds":1788602841,"priority":1,"record_length":96,"hex_timestamp":"000001a0710977a8"} 
[2026-09-05 15:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:37: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-09-05 15: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-05 15:37:32] 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-09-05 15: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-09-05 15:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882326272001,"66":13820,"96":206,"87":13824,"24":28,"16":128542899380944896,"45":8899323995268444160},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-05 15:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882326272001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:37:32] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-05 15:37:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128542899380944896,"km_value":128542899380944.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899323995268444160,"description":"Unknown IO ID 45"} 
[2026-09-05 15:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882326272001,"power":13820,"unknown_96":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8899323995268444160}} 
[2026-09-05 15:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":171955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:37:32] local.INFO: GPS data processed {"connection_id":171955,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:37:32] local.INFO: Acknowledgment sent {"connection_id":171955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:37:45] local.INFO: TCP Data received {"connection_id":171662,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:37:45] local.INFO: Processing buffer {"connection_id":171662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:37:45] local.INFO: IMEI packet received {"connection_id":171662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":171662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:37:47] local.INFO: TCP Data received {"connection_id":171663,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171663,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:37:47] local.INFO: Processing buffer {"connection_id":171663,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:37:47] local.INFO: IMEI packet received {"connection_id":171663,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":171663,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:37:48] local.INFO: TCP Data received {"connection_id":174370,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0710823d0012d0c62c0070395d8001e00030e..."} 
[2026-09-05 15:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710823d0012d0c62c0070395d8001e00030e..."} 
[2026-09-05 15:37:48] local.INFO: Processing buffer {"connection_id":174370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710823d0012d0c62c0070395d8001e00030e..."} 
[2026-09-05 15:37:48] local.INFO: Packet analysis {"connection_id":174370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07108"} 
[2026-09-05 15:37:48] local.INFO: Extracted packet for processing {"connection_id":174370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07108"} 
[2026-09-05 15:37:48] local.INFO: GPS Element Parsed {"raw_longitude":755786432,"raw_latitude":117675480,"longitude_deg":75.5786432,"latitude_deg":11.767548,"altitude":30,"angle":3,"satellites":14,"speed":0,"hex_longitude":"2d0c62c0","hex_latitude":"070395d8","is_valid_coordinates":true} 
[2026-09-05 15:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882299648001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30340465022730240,"note":"Value kept but may cause issues"} 
[2026-09-05 15:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892486812530235392,"note":"Value kept but may cause issues"} 
[2026-09-05 15:37:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 15:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788602754000,"timestamp_ms":1788602754000,"timestamp_seconds":1788602754,"priority":1,"record_length":96,"hex_timestamp":"000001a0710823d0"} 
[2026-09-05 15:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 15:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174370,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174370,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882299648001,"66":14515,"16":30340465022730240,"94":11008,"24":0,"45":892486812530235392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-05 15:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882299648001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30340465022730240,"km_value":30340465022730.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:37:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 15:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":892486812530235392,"description":"Unknown IO ID 45"} 
[2026-09-05 15:37:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457882299648001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":0,"unknown_45":892486812530235392}} 
[2026-09-05 15:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":174370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769520,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:37:48] local.INFO: GPS data processed {"connection_id":174370,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:37:48] local.INFO: Acknowledgment sent {"connection_id":174370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:37:50] local.INFO: TCP Data received {"connection_id":171662,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:37:50] local.INFO: Processing buffer {"connection_id":171662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:37:50] local.INFO: IMEI packet received {"connection_id":171662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":171662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:37:50] local.INFO: TCP Data received {"connection_id":171662,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071085e68012d196880071fed50003d011c26..."} 
[2026-09-05 15:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071085e68012d196880071fed50003d011c26..."} 
[2026-09-05 15:37:50] local.INFO: Processing buffer {"connection_id":171662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071085e68012d196880071fed50003d011c26..."} 
[2026-09-05 15:37:50] local.INFO: Packet analysis {"connection_id":171662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07108"} 
[2026-09-05 15:37:50] local.INFO: Extracted packet for processing {"connection_id":171662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07108"} 
[2026-09-05 15:37:50] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882303488001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:37:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788602769000,"timestamp_ms":1788602769000,"timestamp_seconds":1788602769,"priority":1,"record_length":96,"hex_timestamp":"000001a071085e68"} 
[2026-09-05 15:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:37:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 15:37:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:37:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882303488001,"66":12406,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882303488001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:37:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:37:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:37:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882303488001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":171662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:37:51] local.INFO: GPS data processed {"connection_id":171662,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:37:51] local.INFO: Acknowledgment sent {"connection_id":171662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:37:52] local.INFO: TCP Data received {"connection_id":171663,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171663,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:37:52] local.INFO: Processing buffer {"connection_id":171663,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:37:52] local.INFO: IMEI packet received {"connection_id":171663,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":171663,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:37:54] local.INFO: TCP Data received {"connection_id":171663,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071079b18012c7939c00848c5f00014000129..."} 
[2026-09-05 15:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071079b18012c7939c00848c5f00014000129..."} 
[2026-09-05 15:37:54] local.INFO: Processing buffer {"connection_id":171663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071079b18012c7939c00848c5f00014000129..."} 
[2026-09-05 15:37:54] local.INFO: Packet analysis {"connection_id":171663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:37:54] local.INFO: Extracted packet for processing {"connection_id":171663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:37:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882219008001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:37:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788602719000,"timestamp_ms":1788602719000,"timestamp_seconds":1788602719,"priority":1,"record_length":96,"hex_timestamp":"000001a071079b18"} 
[2026-09-05 15:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171663,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171663,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882219008001,"66":25343,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882219008001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:37:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:37:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:37:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882219008001,"power":25343,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":171663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769522,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:37:54] local.INFO: GPS data processed {"connection_id":171663,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:37:54] local.INFO: Acknowledgment sent {"connection_id":171663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:37:56] local.INFO: TCP Data received {"connection_id":174371,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:37:56] local.INFO: Processing buffer {"connection_id":174371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:37:56] local.INFO: IMEI packet received {"connection_id":174371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":174371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:37:57] local.INFO: TCP Data received {"connection_id":171957,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171957,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:37:57] local.INFO: Processing buffer {"connection_id":171957,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:37:57] local.INFO: IMEI packet received {"connection_id":171957,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":171957,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:38:00] local.INFO: TCP Data received {"connection_id":171957,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171957,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:38:00] local.INFO: Processing buffer {"connection_id":171957,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:38:00] local.INFO: IMEI packet received {"connection_id":171957,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":171957,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:38:01] local.INFO: TCP Data received {"connection_id":174371,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:38:01] local.INFO: Processing buffer {"connection_id":174371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:38:01] local.INFO: IMEI packet received {"connection_id":174371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":174371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:38:01] local.INFO: TCP Data received {"connection_id":171957,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071097f78012d7b88c005e70718000800aa24..."} 
[2026-09-05 15:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071097f78012d7b88c005e70718000800aa24..."} 
[2026-09-05 15:38:01] local.INFO: Processing buffer {"connection_id":171957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071097f78012d7b88c005e70718000800aa24..."} 
[2026-09-05 15:38:01] local.INFO: Packet analysis {"connection_id":171957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:38:01] local.INFO: Extracted packet for processing {"connection_id":171957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:38:01] local.INFO: GPS Element Parsed {"raw_longitude":763070656,"raw_latitude":99026712,"longitude_deg":76.3070656,"latitude_deg":9.9026712,"altitude":8,"angle":170,"satellites":36,"speed":32,"hex_longitude":"2d7b88c0","hex_latitude":"05e70718","is_valid_coordinates":true} 
[2026-09-05 15:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882327296001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128542976690356224,"note":"Value kept but may cause issues"} 
[2026-09-05 15:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901294320104839168,"note":"Value kept but may cause issues"} 
[2026-09-05 15:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788602843000,"timestamp_ms":1788602843000,"timestamp_seconds":1788602843,"priority":1,"record_length":96,"hex_timestamp":"000001a071097f78"} 
[2026-09-05 15:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-05 15:38:01] 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-09-05 15:38:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882327296001,"66":13526,"96":206,"87":13824,"24":32,"16":128542976690356224,"45":8901294320104839168},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-05 15:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882327296001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:38:01] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-05 15:38:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128542976690356224,"km_value":128542976690356.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901294320104839168,"description":"Unknown IO ID 45"} 
[2026-09-05 15:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882327296001,"power":13526,"unknown_96":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8901294320104839168}} 
[2026-09-05 15:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":171957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769523,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:38:01] local.INFO: GPS data processed {"connection_id":171957,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:38:01] local.INFO: Acknowledgment sent {"connection_id":171957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:38:03] local.INFO: TCP Data received {"connection_id":174371,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07104f368012d7dda4006006400000700472d..."} 
[2026-09-05 15:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07104f368012d7dda4006006400000700472d..."} 
[2026-09-05 15:38:03] local.INFO: Processing buffer {"connection_id":174371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07104f368012d7dda4006006400000700472d..."} 
[2026-09-05 15:38:03] local.INFO: Packet analysis {"connection_id":174371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:38:03] local.INFO: Extracted packet for processing {"connection_id":174371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07104"} 
[2026-09-05 15:38:03] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":45,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882174464001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:38:03] 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-09-05 15:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788602545000,"timestamp_ms":1788602545000,"timestamp_seconds":1788602545,"priority":1,"record_length":96,"hex_timestamp":"000001a07104f368"} 
[2026-09-05 15:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:38: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-09-05 15: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-05 15:38: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-09-05 15: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-09-05 15:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882174464001,"66":26136,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882174464001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:38:03] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:38:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882174464001,"power":26136,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":174371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:38:03] local.INFO: GPS data processed {"connection_id":174371,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:38:03] local.INFO: Acknowledgment sent {"connection_id":174371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:38:10] local.INFO: TCP Data received {"connection_id":171958,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171958,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:38:10] local.INFO: Processing buffer {"connection_id":171958,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:38:10] local.INFO: IMEI packet received {"connection_id":171958,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 15:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":171958,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:38:14] local.INFO: TCP Data received {"connection_id":171958,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171958,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:38:14] local.INFO: Processing buffer {"connection_id":171958,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:38:14] local.INFO: IMEI packet received {"connection_id":171958,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 15:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":171958,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:38:15] local.INFO: TCP Data received {"connection_id":171957,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071099300012d7b8d8005e6f6400009009d25..."} 
[2026-09-05 15:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071099300012d7b8d8005e6f6400009009d25..."} 
[2026-09-05 15:38:15] local.INFO: Processing buffer {"connection_id":171957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071099300012d7b8d8005e6f6400009009d25..."} 
[2026-09-05 15:38:15] local.INFO: Packet analysis {"connection_id":171957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:38:15] local.INFO: Extracted packet for processing {"connection_id":171957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:38:15] local.INFO: GPS Element Parsed {"raw_longitude":763071872,"raw_latitude":99022400,"longitude_deg":76.3071872,"latitude_deg":9.90224,"altitude":9,"angle":157,"satellites":37,"speed":35,"hex_longitude":"2d7b8d80","hex_latitude":"05e6f640","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882327808001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128543191438721024,"note":"Value kept but may cause issues"} 
[2026-09-05 15:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901575795081156608,"note":"Value kept but may cause issues"} 
[2026-09-05 15:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788602848000,"timestamp_ms":1788602848000,"timestamp_seconds":1788602848,"priority":1,"record_length":96,"hex_timestamp":"000001a071099300"} 
[2026-09-05 15:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 15:38:15] 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-09-05 15:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":171957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":171957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":171957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882327808001,"66":13428,"96":206,"87":13824,"24":35,"16":128543191438721024,"45":8901575795081156608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-05 15:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882327808001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:38:15] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-05 15:38:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128543191438721024,"km_value":128543191438721.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901575795081156608,"description":"Unknown IO ID 45"} 
[2026-09-05 15:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882327808001,"power":13428,"unknown_96":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8901575795081156608}} 
[2026-09-05 15:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":171957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769525,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:38:15] local.INFO: GPS data processed {"connection_id":171957,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:38:15] local.INFO: Acknowledgment sent {"connection_id":171957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:38:15] local.INFO: TCP Data received {"connection_id":171958,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171958,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:38:15] local.INFO: Processing buffer {"connection_id":171958,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:38:15] local.INFO: IMEI packet received {"connection_id":171958,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 15:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":171958,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:38:16] local.INFO: TCP Data received {"connection_id":171958,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07109e508012d0c6b000703de48001a014711..."} 
[2026-09-05 15:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07109e508012d0c6b000703de48001a014711..."} 
[2026-09-05 15:38:16] local.INFO: Processing buffer {"connection_id":171958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07109e508012d0c6b000703de48001a014711..."} 
[2026-09-05 15:38:16] local.INFO: Packet analysis {"connection_id":171958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:38:16] local.INFO: Extracted packet for processing {"connection_id":171958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:38:16] local.INFO: GPS Element Parsed {"raw_longitude":755788544,"raw_latitude":117694024,"longitude_deg":75.5788544,"latitude_deg":11.7694024,"altitude":26,"angle":327,"satellites":17,"speed":8,"hex_longitude":"2d0c6b00","hex_latitude":"0703de48","is_valid_coordinates":true} 
[2026-09-05 15:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882333952001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30341388440698880,"note":"Value kept but may cause issues"} 
[2026-09-05 15:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895020087325257728,"note":"Value kept but may cause issues"} 
[2026-09-05 15:38:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 15:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788602869000,"timestamp_ms":1788602869000,"timestamp_seconds":1788602869,"priority":1,"record_length":96,"hex_timestamp":"000001a07109e508"} 
[2026-09-05 15:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:38: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-09-05 15:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-05 15:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":969,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":171958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":171958,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":171958,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882333952001,"66":14548,"16":30341388440698880,"94":11008,"24":8,"45":895020087325257728},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-05 15:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882333952001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30341388440698880,"km_value":30341388440698.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:38:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 15:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":895020087325257728,"description":"Unknown IO ID 45"} 
[2026-09-05 15:38:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457882333952001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":8,"unknown_45":895020087325257728}} 
[2026-09-05 15:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":171958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769526,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:38:16] local.INFO: GPS data processed {"connection_id":171958,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:38:16] local.INFO: Acknowledgment sent {"connection_id":171958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:38:22] local.INFO: TCP Data received {"connection_id":171662,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07108b070012d196880071fed50003d011c25..."} 
[2026-09-05 15:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07108b070012d196880071fed50003d011c25..."} 
[2026-09-05 15:38:22] local.INFO: Processing buffer {"connection_id":171662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07108b070012d196880071fed50003d011c25..."} 
[2026-09-05 15:38:22] local.INFO: Packet analysis {"connection_id":171662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07108"} 
[2026-09-05 15:38:22] local.INFO: Extracted packet for processing {"connection_id":171662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07108"} 
[2026-09-05 15:38:22] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882308864001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788602790000,"timestamp_ms":1788602790000,"timestamp_seconds":1788602790,"priority":1,"record_length":96,"hex_timestamp":"000001a07108b070"} 
[2026-09-05 15:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 15:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882308864001,"66":12461,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882308864001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:38:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:38:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882308864001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":171662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:38:22] local.INFO: GPS data processed {"connection_id":171662,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:38:22] local.INFO: Acknowledgment sent {"connection_id":171662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:38:26] local.INFO: TCP Data received {"connection_id":171663,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071079b18012c7939c00848c5f00014000129..."} 
[2026-09-05 15:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071079b18012c7939c00848c5f00014000129..."} 
[2026-09-05 15:38:26] local.INFO: Processing buffer {"connection_id":171663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071079b18012c7939c00848c5f00014000129..."} 
[2026-09-05 15:38:26] local.INFO: Packet analysis {"connection_id":171663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:38:26] local.INFO: Extracted packet for processing {"connection_id":171663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:38:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882219008001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:38:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:38:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788602719000,"timestamp_ms":1788602719000,"timestamp_seconds":1788602719,"priority":1,"record_length":96,"hex_timestamp":"000001a071079b18"} 
[2026-09-05 15:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:38:26] 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-09-05 15:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171663,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171663,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:38:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882219008001,"66":25343,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882219008001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:38:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:38:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:38:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882219008001,"power":25343,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":171663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769528,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:38:26] local.INFO: GPS data processed {"connection_id":171663,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:38:26] local.INFO: Acknowledgment sent {"connection_id":171663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:38:35] local.INFO: TCP Data received {"connection_id":174371,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071098b30012d7dda4006006400000700472e..."} 
[2026-09-05 15:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071098b30012d7dda4006006400000700472e..."} 
[2026-09-05 15:38:35] local.INFO: Processing buffer {"connection_id":174371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071098b30012d7dda4006006400000700472e..."} 
[2026-09-05 15:38:35] local.INFO: Packet analysis {"connection_id":174371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:38:35] local.INFO: Extracted packet for processing {"connection_id":174371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:38:35] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":46,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882251520001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:38:35] 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-09-05 15:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788602846000,"timestamp_ms":1788602846000,"timestamp_seconds":1788602846,"priority":1,"record_length":96,"hex_timestamp":"000001a071098b30"} 
[2026-09-05 15:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:38:35] 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-09-05 15:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-05 15:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882251520001,"66":25973,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882251520001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:38:35] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:38:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882251520001,"power":25973,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":174371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:38:35] local.INFO: GPS data processed {"connection_id":174371,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:38:35] local.INFO: Acknowledgment sent {"connection_id":174371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:38:45] local.INFO: TCP Data received {"connection_id":173059,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:38:45] local.INFO: Processing buffer {"connection_id":173059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:38:45] local.INFO: IMEI packet received {"connection_id":173059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":173059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:38:47] local.INFO: TCP Data received {"connection_id":171664,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171664,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:38:47] local.INFO: Processing buffer {"connection_id":171664,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:38:47] local.INFO: IMEI packet received {"connection_id":171664,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":171664,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:38:48] local.INFO: TCP Data received {"connection_id":171958,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07109e8f0012d0c6ac00703de80001a011f11..."} 
[2026-09-05 15:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07109e8f0012d0c6ac00703de80001a011f11..."} 
[2026-09-05 15:38:48] local.INFO: Processing buffer {"connection_id":171958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07109e8f0012d0c6ac00703de80001a011f11..."} 
[2026-09-05 15:38:48] local.INFO: Packet analysis {"connection_id":171958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:38:48] local.INFO: Extracted packet for processing {"connection_id":171958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:38:48] local.INFO: GPS Element Parsed {"raw_longitude":755788480,"raw_latitude":117694080,"longitude_deg":75.578848,"latitude_deg":11.769408,"altitude":26,"angle":287,"satellites":17,"speed":8,"hex_longitude":"2d0c6ac0","hex_latitude":"0703de80","is_valid_coordinates":true} 
[2026-09-05 15:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882334464001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30341397030633472,"note":"Value kept but may cause issues"} 
[2026-09-05 15:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894808981092845568,"note":"Value kept but may cause issues"} 
[2026-09-05 15:38:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 15:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788602870000,"timestamp_ms":1788602870000,"timestamp_seconds":1788602870,"priority":1,"record_length":96,"hex_timestamp":"000001a07109e8f0"} 
[2026-09-05 15:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-05 15:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":171958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":171958,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":171958,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882334464001,"66":14439,"16":30341397030633472,"94":11008,"24":8,"45":894808981092845568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-05 15:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882334464001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30341397030633472,"km_value":30341397030633.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:38:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 15:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":894808981092845568,"description":"Unknown IO ID 45"} 
[2026-09-05 15:38:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457882334464001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":8,"unknown_45":894808981092845568}} 
[2026-09-05 15:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":171958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769530,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:38:48] local.INFO: GPS data processed {"connection_id":171958,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:38:48] local.INFO: Acknowledgment sent {"connection_id":171958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:38:50] local.INFO: TCP Data received {"connection_id":173059,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:38:50] local.INFO: Processing buffer {"connection_id":173059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:38:50] local.INFO: IMEI packet received {"connection_id":173059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":173059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:38:50] local.INFO: TCP Data received {"connection_id":173059,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071090278012d196880071fed50003d011c26..."} 
[2026-09-05 15:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071090278012d196880071fed50003d011c26..."} 
[2026-09-05 15:38:50] local.INFO: Processing buffer {"connection_id":173059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071090278012d196880071fed50003d011c26..."} 
[2026-09-05 15:38:50] local.INFO: Packet analysis {"connection_id":173059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:38:50] local.INFO: Extracted packet for processing {"connection_id":173059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:38:50] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882314240001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788602811000,"timestamp_ms":1788602811000,"timestamp_seconds":1788602811,"priority":1,"record_length":96,"hex_timestamp":"000001a071090278"} 
[2026-09-05 15:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 15:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:38:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882314240001,"66":12504,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882314240001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:38:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:38:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882314240001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":173059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:38:51] local.INFO: GPS data processed {"connection_id":173059,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:38:51] local.INFO: Acknowledgment sent {"connection_id":173059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:38:52] local.INFO: TCP Data received {"connection_id":171664,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171664,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:38:52] local.INFO: Processing buffer {"connection_id":171664,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:38:52] local.INFO: IMEI packet received {"connection_id":171664,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":171664,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:38:54] local.INFO: TCP Data received {"connection_id":171664,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071079b18012c7939c00848c5f00014000129..."} 
[2026-09-05 15:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071079b18012c7939c00848c5f00014000129..."} 
[2026-09-05 15:38:54] local.INFO: Processing buffer {"connection_id":171664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071079b18012c7939c00848c5f00014000129..."} 
[2026-09-05 15:38:54] local.INFO: Packet analysis {"connection_id":171664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:38:54] local.INFO: Extracted packet for processing {"connection_id":171664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:38:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882219008001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:38:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788602719000,"timestamp_ms":1788602719000,"timestamp_seconds":1788602719,"priority":1,"record_length":96,"hex_timestamp":"000001a071079b18"} 
[2026-09-05 15:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171664,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171664,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882219008001,"66":25343,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882219008001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:38:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:38:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:38:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882219008001,"power":25343,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":171664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769532,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:38:54] local.INFO: GPS data processed {"connection_id":171664,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:38:54] local.INFO: Acknowledgment sent {"connection_id":171664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:38:55] local.INFO: TCP Data received {"connection_id":171665,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:38:55] local.INFO: Processing buffer {"connection_id":171665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:38:55] local.INFO: IMEI packet received {"connection_id":171665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":171665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:38:56] local.INFO: TCP Data received {"connection_id":174372,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:38:56] local.INFO: Processing buffer {"connection_id":174372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:38:56] local.INFO: IMEI packet received {"connection_id":174372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":174372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:38:57] local.INFO: TCP Data received {"connection_id":171665,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:38:57] local.INFO: Processing buffer {"connection_id":171665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:38:57] local.INFO: IMEI packet received {"connection_id":171665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":171665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:38:57] local.INFO: TCP Data received {"connection_id":171665,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07109b628012d7b984005e6da20000a00a821..."} 
[2026-09-05 15:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07109b628012d7b984005e6da20000a00a821..."} 
[2026-09-05 15:38:57] local.INFO: Processing buffer {"connection_id":171665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07109b628012d7b984005e6da20000a00a821..."} 
[2026-09-05 15:38:57] local.INFO: Packet analysis {"connection_id":171665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:38:57] local.INFO: Extracted packet for processing {"connection_id":171665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:38:57] local.INFO: GPS Element Parsed {"raw_longitude":763074624,"raw_latitude":99015200,"longitude_deg":76.3074624,"latitude_deg":9.90152,"altitude":10,"angle":168,"satellites":33,"speed":35,"hex_longitude":"2d7b9840","hex_latitude":"05e6da20","is_valid_coordinates":true} 
[2026-09-05 15:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882329088001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128543569395843072,"note":"Value kept but may cause issues"} 
[2026-09-05 15:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902912801219428352,"note":"Value kept but may cause issues"} 
[2026-09-05 15:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788602857000,"timestamp_ms":1788602857000,"timestamp_seconds":1788602857,"priority":1,"record_length":96,"hex_timestamp":"000001a07109b628"} 
[2026-09-05 15:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-05 15:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:38:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":171665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":171665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":171665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882329088001,"66":13515,"96":206,"87":13824,"24":35,"16":128543569395843072,"45":8902912801219428352},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-05 15:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882329088001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:38:57] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-05 15:38:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128543569395843072,"km_value":128543569395843.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902912801219428352,"description":"Unknown IO ID 45"} 
[2026-09-05 15:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882329088001,"power":13515,"unknown_96":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8902912801219428352}} 
[2026-09-05 15:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":171665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769533,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:38:58] local.INFO: GPS data processed {"connection_id":171665,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:38:58] local.INFO: Acknowledgment sent {"connection_id":171665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:39:01] local.INFO: TCP Data received {"connection_id":174372,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:39:01] local.INFO: Processing buffer {"connection_id":174372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:39:01] local.INFO: IMEI packet received {"connection_id":174372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":174372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:39:02] local.INFO: TCP Data received {"connection_id":174372,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071098b30012d7dda4006006400000700472e..."} 
[2026-09-05 15:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071098b30012d7dda4006006400000700472e..."} 
[2026-09-05 15:39:02] local.INFO: Processing buffer {"connection_id":174372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071098b30012d7dda4006006400000700472e..."} 
[2026-09-05 15:39:02] local.INFO: Packet analysis {"connection_id":174372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:39:02] local.INFO: Extracted packet for processing {"connection_id":174372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:39:02] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":46,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882251520001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:39:02] 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-09-05 15:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788602846000,"timestamp_ms":1788602846000,"timestamp_seconds":1788602846,"priority":1,"record_length":96,"hex_timestamp":"000001a071098b30"} 
[2026-09-05 15:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:39:02] 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-09-05 15:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-05 15:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882251520001,"66":25973,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882251520001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:39:02] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:39:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882251520001,"power":25973,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":174372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:39:02] local.INFO: GPS data processed {"connection_id":174372,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:39:02] local.INFO: Acknowledgment sent {"connection_id":174372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:39:13] local.INFO: TCP Data received {"connection_id":171959,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171959,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:39:13] local.INFO: Processing buffer {"connection_id":171959,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:39:13] local.INFO: IMEI packet received {"connection_id":171959,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 15:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":171959,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:39:15] local.INFO: TCP Data received {"connection_id":171959,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171959,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:39:15] local.INFO: Processing buffer {"connection_id":171959,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:39:15] local.INFO: IMEI packet received {"connection_id":171959,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 15:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":171959,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:39:21] local.INFO: TCP Data received {"connection_id":171959,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171959,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:39:21] local.INFO: Processing buffer {"connection_id":171959,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:39:21] local.INFO: IMEI packet received {"connection_id":171959,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 15:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":171959,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:39:21] local.INFO: TCP Data received {"connection_id":173059,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071095480012d196880071fed50003d011c25..."} 
[2026-09-05 15:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071095480012d196880071fed50003d011c25..."} 
[2026-09-05 15:39:21] local.INFO: Processing buffer {"connection_id":173059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071095480012d196880071fed50003d011c25..."} 
[2026-09-05 15:39:21] local.INFO: Packet analysis {"connection_id":173059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:39:21] local.INFO: Extracted packet for processing {"connection_id":173059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:39:21] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882319616001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788602832000,"timestamp_ms":1788602832000,"timestamp_seconds":1788602832,"priority":1,"record_length":96,"hex_timestamp":"000001a071095480"} 
[2026-09-05 15:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:39:21] 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-09-05 15:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 15:39:21] 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-09-05 15:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882319616001,"66":12439,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882319616001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:39:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:39:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882319616001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":173059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:39:22] local.INFO: GPS data processed {"connection_id":173059,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:39:22] local.INFO: Acknowledgment sent {"connection_id":173059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:39:22] local.INFO: TCP Data received {"connection_id":171959,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0710b11d0012d0c9640070417080018002c12..."} 
[2026-09-05 15:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710b11d0012d0c9640070417080018002c12..."} 
[2026-09-05 15:39:22] local.INFO: Processing buffer {"connection_id":171959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710b11d0012d0c9640070417080018002c12..."} 
[2026-09-05 15:39:22] local.INFO: Packet analysis {"connection_id":171959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710b"} 
[2026-09-05 15:39:22] local.INFO: Extracted packet for processing {"connection_id":171959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710b"} 
[2026-09-05 15:39:22] local.INFO: GPS Element Parsed {"raw_longitude":755799616,"raw_latitude":117708552,"longitude_deg":75.5799616,"latitude_deg":11.7708552,"altitude":24,"angle":44,"satellites":18,"speed":34,"hex_longitude":"2d0c9640","hex_latitude":"07041708","is_valid_coordinates":true} 
[2026-09-05 15:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882354176001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30342749945331712,"note":"Value kept but may cause issues"} 
[2026-09-05 15:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906982773839300608,"note":"Value kept but may cause issues"} 
[2026-09-05 15:39:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 15:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788602946000,"timestamp_ms":1788602946000,"timestamp_seconds":1788602946,"priority":1,"record_length":96,"hex_timestamp":"000001a0710b11d0"} 
[2026-09-05 15:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-05 15:39:22] 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-09-05 15:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882354176001,"66":14559,"16":30342749945331712,"94":11008,"24":34,"45":906982773839300608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-05 15:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882354176001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30342749945331712,"km_value":30342749945331.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:39:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 15:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":906982773839300608,"description":"Unknown IO ID 45"} 
[2026-09-05 15:39:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457882354176001,"power":14559,"odometer":null,"unknown_94":11008,"ignition":34,"unknown_45":906982773839300608}} 
[2026-09-05 15:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":171959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769536,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:39:22] local.INFO: GPS data processed {"connection_id":171959,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:39:22] local.INFO: Acknowledgment sent {"connection_id":171959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:39:22] local.INFO: TCP Data received {"connection_id":171959,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0710b2558012d0ca0c0070425000017002012..."} 
[2026-09-05 15:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710b2558012d0ca0c0070425000017002012..."} 
[2026-09-05 15:39:23] local.INFO: Processing buffer {"connection_id":171959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710b2558012d0ca0c0070425000017002012..."} 
[2026-09-05 15:39:23] local.INFO: Packet analysis {"connection_id":171959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710b"} 
[2026-09-05 15:39:23] local.INFO: Extracted packet for processing {"connection_id":171959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710b"} 
[2026-09-05 15:39:23] local.INFO: GPS Element Parsed {"raw_longitude":755802304,"raw_latitude":117712128,"longitude_deg":75.5802304,"latitude_deg":11.7712128,"altitude":23,"angle":32,"satellites":18,"speed":33,"hex_longitude":"2d0ca0c0","hex_latitude":"07042500","is_valid_coordinates":true} 
[2026-09-05 15:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882354176001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30342964693696512,"note":"Value kept but may cause issues"} 
[2026-09-05 15:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906982773839300608,"note":"Value kept but may cause issues"} 
[2026-09-05 15:39:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 15:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788602951000,"timestamp_ms":1788602951000,"timestamp_seconds":1788602951,"priority":1,"record_length":96,"hex_timestamp":"000001a0710b2558"} 
[2026-09-05 15:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:39:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-05 15:39:23] 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-09-05 15:39:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882354176001,"66":14439,"16":30342964693696512,"94":11008,"24":33,"45":906982773839300608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-05 15:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882354176001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30342964693696512,"km_value":30342964693696.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:39:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 15:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":906982773839300608,"description":"Unknown IO ID 45"} 
[2026-09-05 15:39:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457882354176001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":33,"unknown_45":906982773839300608}} 
[2026-09-05 15:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":171959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769537,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:39:23] local.INFO: GPS data processed {"connection_id":171959,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:39:23] local.INFO: Acknowledgment sent {"connection_id":171959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:39:25] local.INFO: TCP Data received {"connection_id":171664,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071079b18012c7939c00848c5f00014000129..."} 
[2026-09-05 15:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071079b18012c7939c00848c5f00014000129..."} 
[2026-09-05 15:39:25] local.INFO: Processing buffer {"connection_id":171664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071079b18012c7939c00848c5f00014000129..."} 
[2026-09-05 15:39:25] local.INFO: Packet analysis {"connection_id":171664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:39:25] local.INFO: Extracted packet for processing {"connection_id":171664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:39:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882219008001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:39:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788602719000,"timestamp_ms":1788602719000,"timestamp_seconds":1788602719,"priority":1,"record_length":96,"hex_timestamp":"000001a071079b18"} 
[2026-09-05 15:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:39:25] 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-09-05 15:39:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171664,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171664,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882219008001,"66":25343,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882219008001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:39:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:39:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:39:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882219008001,"power":25343,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":171664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769538,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:39:25] local.INFO: GPS data processed {"connection_id":171664,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:39:25] local.INFO: Acknowledgment sent {"connection_id":171664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:39:29] local.INFO: TCP Data received {"connection_id":171665,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0710b2558012d7c030005e5ce60000a008e1f..."} 
[2026-09-05 15:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710b2558012d7c030005e5ce60000a008e1f..."} 
[2026-09-05 15:39:29] local.INFO: Processing buffer {"connection_id":171665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710b2558012d7c030005e5ce60000a008e1f..."} 
[2026-09-05 15:39:29] local.INFO: Packet analysis {"connection_id":171665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710b"} 
[2026-09-05 15:39:29] local.INFO: Extracted packet for processing {"connection_id":171665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710b"} 
[2026-09-05 15:39:29] local.INFO: GPS Element Parsed {"raw_longitude":763101952,"raw_latitude":98946656,"longitude_deg":76.3101952,"latitude_deg":9.8946656,"altitude":10,"angle":142,"satellites":31,"speed":40,"hex_longitude":"2d7c0300","hex_latitude":"05e5ce60","is_valid_coordinates":true} 
[2026-09-05 15:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882353152001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128547267362684928,"note":"Value kept but may cause issues"} 
[2026-09-05 15:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928667761570611200,"note":"Value kept but may cause issues"} 
[2026-09-05 15:39:29] 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-09-05 15:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788602951000,"timestamp_ms":1788602951000,"timestamp_seconds":1788602951,"priority":1,"record_length":96,"hex_timestamp":"000001a0710b2558"} 
[2026-09-05 15:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:39:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-05 15:39:29] 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-09-05 15:39:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":171665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":171665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":171665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882353152001,"66":13406,"95":206,"87":13824,"24":40,"16":128547267362684928,"45":8928667761570611200},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-05 15:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882353152001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:39:29] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-05 15:39:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128547267362684928,"km_value":128547267362684.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928667761570611200,"description":"Unknown IO ID 45"} 
[2026-09-05 15:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882353152001,"power":13406,"unknown_95":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":8928667761570611200}} 
[2026-09-05 15:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":171665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769539,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:39:29] local.INFO: GPS data processed {"connection_id":171665,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:39:29] local.INFO: Acknowledgment sent {"connection_id":171665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:39:33] local.INFO: TCP Data received {"connection_id":174372,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071098b30012d7dda4006006400000700472e..."} 
[2026-09-05 15:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071098b30012d7dda4006006400000700472e..."} 
[2026-09-05 15:39:33] local.INFO: Processing buffer {"connection_id":174372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071098b30012d7dda4006006400000700472e..."} 
[2026-09-05 15:39:33] local.INFO: Packet analysis {"connection_id":174372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:39:33] local.INFO: Extracted packet for processing {"connection_id":174372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:39:33] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":46,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882251520001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:39:33] 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-09-05 15:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788602846000,"timestamp_ms":1788602846000,"timestamp_seconds":1788602846,"priority":1,"record_length":96,"hex_timestamp":"000001a071098b30"} 
[2026-09-05 15:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15: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-09-05 15: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-05 15:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882251520001,"66":25973,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882251520001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:39:33] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:39:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882251520001,"power":25973,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":174372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:39:33] local.INFO: GPS data processed {"connection_id":174372,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:39:33] local.INFO: Acknowledgment sent {"connection_id":174372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:39:45] local.INFO: TCP Data received {"connection_id":174373,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:39:45] local.INFO: Processing buffer {"connection_id":174373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:39:45] local.INFO: IMEI packet received {"connection_id":174373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":174373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:39:47] local.INFO: TCP Data received {"connection_id":174374,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174374,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:39:47] local.INFO: Processing buffer {"connection_id":174374,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:39:47] local.INFO: IMEI packet received {"connection_id":174374,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":174374,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:39:50] local.INFO: TCP Data received {"connection_id":174373,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:39:50] local.INFO: Processing buffer {"connection_id":174373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:39:50] local.INFO: IMEI packet received {"connection_id":174373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":174373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:39:51] local.INFO: TCP Data received {"connection_id":174373,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07109a688012d196880071fed50003d011c27..."} 
[2026-09-05 15:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07109a688012d196880071fed50003d011c27..."} 
[2026-09-05 15:39:51] local.INFO: Processing buffer {"connection_id":174373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07109a688012d196880071fed50003d011c27..."} 
[2026-09-05 15:39:51] local.INFO: Packet analysis {"connection_id":174373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:39:51] local.INFO: Extracted packet for processing {"connection_id":174373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:39:51] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882324992001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788602853000,"timestamp_ms":1788602853000,"timestamp_seconds":1788602853,"priority":1,"record_length":96,"hex_timestamp":"000001a07109a688"} 
[2026-09-05 15:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:39:51] 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-09-05 15:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 15:39:51] 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-09-05 15:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882324992001,"66":12461,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882324992001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:39:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:39:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882324992001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":174373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:39:51] local.INFO: GPS data processed {"connection_id":174373,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:39:51] local.INFO: Acknowledgment sent {"connection_id":174373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:39:53] local.INFO: TCP Data received {"connection_id":174374,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174374,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:39:53] local.INFO: Processing buffer {"connection_id":174374,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:39:53] local.INFO: IMEI packet received {"connection_id":174374,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":174374,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:39:53] local.INFO: TCP Data received {"connection_id":173060,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173060,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:39:53] local.INFO: Processing buffer {"connection_id":173060,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:39:53] local.INFO: IMEI packet received {"connection_id":173060,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":173060,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:39:54] local.INFO: TCP Data received {"connection_id":174374,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071079b18012c7939c00848c5f00014000129..."} 
[2026-09-05 15:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071079b18012c7939c00848c5f00014000129..."} 
[2026-09-05 15:39:54] local.INFO: Processing buffer {"connection_id":174374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071079b18012c7939c00848c5f00014000129..."} 
[2026-09-05 15:39:54] local.INFO: Packet analysis {"connection_id":174374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:39:54] local.INFO: Extracted packet for processing {"connection_id":174374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:39:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882219008001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:39:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788602719000,"timestamp_ms":1788602719000,"timestamp_seconds":1788602719,"priority":1,"record_length":96,"hex_timestamp":"000001a071079b18"} 
[2026-09-05 15:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174374,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174374,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882219008001,"66":25343,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882219008001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:39:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:39:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:39:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882219008001,"power":25343,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":174374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769542,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:39:54] local.INFO: GPS data processed {"connection_id":174374,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:39:54] local.INFO: Acknowledgment sent {"connection_id":174374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:39:54] local.INFO: TCP Data received {"connection_id":173060,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173060,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:39:54] local.INFO: Processing buffer {"connection_id":173060,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:39:54] local.INFO: IMEI packet received {"connection_id":173060,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":173060,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:39:56] local.INFO: TCP Data received {"connection_id":171960,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:39:56] local.INFO: Processing buffer {"connection_id":171960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:39:56] local.INFO: IMEI packet received {"connection_id":171960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":171960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:39:56] local.INFO: TCP Data received {"connection_id":171959,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0710b4498012d0cacc007043f680015001512..."} 
[2026-09-05 15:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710b4498012d0cacc007043f680015001512..."} 
[2026-09-05 15:39:56] local.INFO: Processing buffer {"connection_id":171959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710b4498012d0cacc007043f680015001512..."} 
[2026-09-05 15:39:56] local.INFO: Packet analysis {"connection_id":171959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710b"} 
[2026-09-05 15:39:56] local.INFO: Extracted packet for processing {"connection_id":171959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710b"} 
[2026-09-05 15:39:56] local.INFO: GPS Element Parsed {"raw_longitude":755805376,"raw_latitude":117718888,"longitude_deg":75.5805376,"latitude_deg":11.7718888,"altitude":21,"angle":21,"satellites":18,"speed":37,"hex_longitude":"2d0cacc0","hex_latitude":"07043f68","is_valid_coordinates":true} 
[2026-09-05 15:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882355456001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30343321175982080,"note":"Value kept but may cause issues"} 
[2026-09-05 15:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":909938261095677952,"note":"Value kept but may cause issues"} 
[2026-09-05 15:39:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 15:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788602959000,"timestamp_ms":1788602959000,"timestamp_seconds":1788602959,"priority":1,"record_length":96,"hex_timestamp":"000001a0710b4498"} 
[2026-09-05 15:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-05 15:39:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:39:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882355456001,"66":14537,"16":30343321175982080,"94":11008,"24":37,"45":909938261095677952},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-05 15:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882355456001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30343321175982080,"km_value":30343321175982.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:39:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 15:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":909938261095677952,"description":"Unknown IO ID 45"} 
[2026-09-05 15:39:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457882355456001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":37,"unknown_45":909938261095677952}} 
[2026-09-05 15:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":171959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769543,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:39:56] local.INFO: GPS data processed {"connection_id":171959,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:39:56] local.INFO: Acknowledgment sent {"connection_id":171959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:40:00] local.INFO: TCP Data received {"connection_id":173060,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173060,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:40:00] local.INFO: Processing buffer {"connection_id":173060,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:40:00] local.INFO: IMEI packet received {"connection_id":173060,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":173060,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:40:01] local.INFO: TCP Data received {"connection_id":173060,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0710b2558012d7c030005e5ce60000a008e1f..."} 
[2026-09-05 15:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710b2558012d7c030005e5ce60000a008e1f..."} 
[2026-09-05 15:40:01] local.INFO: Processing buffer {"connection_id":173060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710b2558012d7c030005e5ce60000a008e1f..."} 
[2026-09-05 15:40:01] local.INFO: Packet analysis {"connection_id":173060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710b"} 
[2026-09-05 15:40:01] local.INFO: Extracted packet for processing {"connection_id":173060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710b"} 
[2026-09-05 15:40:01] local.INFO: GPS Element Parsed {"raw_longitude":763101952,"raw_latitude":98946656,"longitude_deg":76.3101952,"latitude_deg":9.8946656,"altitude":10,"angle":142,"satellites":31,"speed":40,"hex_longitude":"2d7c0300","hex_latitude":"05e5ce60","is_valid_coordinates":true} 
[2026-09-05 15:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882355456001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128547267362684928,"note":"Value kept but may cause issues"} 
[2026-09-05 15:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935986110963539968,"note":"Value kept but may cause issues"} 
[2026-09-05 15:40:01] 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-09-05 15:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788602951000,"timestamp_ms":1788602951000,"timestamp_seconds":1788602951,"priority":1,"record_length":96,"hex_timestamp":"000001a0710b2558"} 
[2026-09-05 15:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:40:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-05 15:40:01] 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-09-05 15:40:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882355456001,"66":13406,"95":206,"87":13824,"24":40,"16":128547267362684928,"45":8935986110963539968},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-05 15:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882355456001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:40:01] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-05 15:40:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128547267362684928,"km_value":128547267362684.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935986110963539968,"description":"Unknown IO ID 45"} 
[2026-09-05 15:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882355456001,"power":13406,"unknown_95":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":8935986110963539968}} 
[2026-09-05 15:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":173060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:40:01] local.INFO: GPS data processed {"connection_id":173060,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:40:01] local.INFO: Acknowledgment sent {"connection_id":173060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:40:01] local.INFO: TCP Data received {"connection_id":171960,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:40:01] local.INFO: Processing buffer {"connection_id":171960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:40:01] local.INFO: IMEI packet received {"connection_id":171960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":171960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:40:03] local.INFO: TCP Data received {"connection_id":171960,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071098b30012d7dda4006006400000700472e..."} 
[2026-09-05 15:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071098b30012d7dda4006006400000700472e..."} 
[2026-09-05 15:40:03] local.INFO: Processing buffer {"connection_id":171960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071098b30012d7dda4006006400000700472e..."} 
[2026-09-05 15:40:03] local.INFO: Packet analysis {"connection_id":171960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:40:03] local.INFO: Extracted packet for processing {"connection_id":171960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:40:03] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":46,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882251520001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:40:03] 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-09-05 15:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788602846000,"timestamp_ms":1788602846000,"timestamp_seconds":1788602846,"priority":1,"record_length":96,"hex_timestamp":"000001a071098b30"} 
[2026-09-05 15:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:40: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-09-05 15: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-05 15:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882251520001,"66":25973,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882251520001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:40:03] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:40:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882251520001,"power":25973,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":171960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:40:03] local.INFO: GPS data processed {"connection_id":171960,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:40:03] local.INFO: Acknowledgment sent {"connection_id":171960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:40:10] local.INFO: TCP Data received {"connection_id":171961,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171961,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:40:10] local.INFO: Processing buffer {"connection_id":171961,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:40:10] local.INFO: IMEI packet received {"connection_id":171961,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 15:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":171961,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:40:15] local.INFO: TCP Data received {"connection_id":171961,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171961,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:40:15] local.INFO: Processing buffer {"connection_id":171961,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:40:15] local.INFO: IMEI packet received {"connection_id":171961,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 15:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":171961,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:40:16] local.INFO: TCP Data received {"connection_id":171961,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0710b67c0012d0cb60007045f580015000912..."} 
[2026-09-05 15:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710b67c0012d0cb60007045f580015000912..."} 
[2026-09-05 15:40:16] local.INFO: Processing buffer {"connection_id":171961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710b67c0012d0cb60007045f580015000912..."} 
[2026-09-05 15:40:16] local.INFO: Packet analysis {"connection_id":171961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710b"} 
[2026-09-05 15:40:16] local.INFO: Extracted packet for processing {"connection_id":171961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710b"} 
[2026-09-05 15:40:16] local.INFO: GPS Element Parsed {"raw_longitude":755807744,"raw_latitude":117727064,"longitude_deg":75.5807744,"latitude_deg":11.7727064,"altitude":21,"angle":9,"satellites":18,"speed":36,"hex_longitude":"2d0cb600","hex_latitude":"07045f58","is_valid_coordinates":true} 
[2026-09-05 15:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882357504001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30343737787809792,"note":"Value kept but may cause issues"} 
[2026-09-05 15:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":913315960817936384,"note":"Value kept but may cause issues"} 
[2026-09-05 15:40:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 15:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788602968000,"timestamp_ms":1788602968000,"timestamp_seconds":1788602968,"priority":1,"record_length":96,"hex_timestamp":"000001a0710b67c0"} 
[2026-09-05 15:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:40: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-09-05 15:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-05 15:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":171961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":171961,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":171961,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882357504001,"66":14548,"16":30343737787809792,"94":11008,"24":36,"45":913315960817936384},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-05 15:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882357504001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30343737787809792,"km_value":30343737787809.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:40:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 15:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":913315960817936384,"description":"Unknown IO ID 45"} 
[2026-09-05 15:40:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457882357504001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":36,"unknown_45":913315960817936384}} 
[2026-09-05 15:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":171961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769546,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:40:16] local.INFO: GPS data processed {"connection_id":171961,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:40:16] local.INFO: Acknowledgment sent {"connection_id":171961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:40:22] local.INFO: TCP Data received {"connection_id":174373,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07109f890012d196880071fed50003d011c27..."} 
[2026-09-05 15:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07109f890012d196880071fed50003d011c27..."} 
[2026-09-05 15:40:22] local.INFO: Processing buffer {"connection_id":174373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07109f890012d196880071fed50003d011c27..."} 
[2026-09-05 15:40:22] local.INFO: Packet analysis {"connection_id":174373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:40:22] local.INFO: Extracted packet for processing {"connection_id":174373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:40:22] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882330368001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788602874000,"timestamp_ms":1788602874000,"timestamp_seconds":1788602874,"priority":1,"record_length":96,"hex_timestamp":"000001a07109f890"} 
[2026-09-05 15:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 15:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882330368001,"66":12406,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882330368001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:40:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:40:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882330368001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":174373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:40:22] local.INFO: GPS data processed {"connection_id":174373,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:40:22] local.INFO: Acknowledgment sent {"connection_id":174373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:40:26] local.INFO: TCP Data received {"connection_id":174374,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071079b18012c7939c00848c5f00014000129..."} 
[2026-09-05 15:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071079b18012c7939c00848c5f00014000129..."} 
[2026-09-05 15:40:26] local.INFO: Processing buffer {"connection_id":174374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071079b18012c7939c00848c5f00014000129..."} 
[2026-09-05 15:40:26] local.INFO: Packet analysis {"connection_id":174374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:40:26] local.INFO: Extracted packet for processing {"connection_id":174374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:40:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882219008001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:40:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788602719000,"timestamp_ms":1788602719000,"timestamp_seconds":1788602719,"priority":1,"record_length":96,"hex_timestamp":"000001a071079b18"} 
[2026-09-05 15:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:40:26] 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-09-05 15:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174374,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174374,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882219008001,"66":25343,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882219008001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:40:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:40:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:40:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882219008001,"power":25343,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":174374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769548,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:40:26] local.INFO: GPS data processed {"connection_id":174374,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:40:26] local.INFO: Acknowledgment sent {"connection_id":174374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:40:32] local.INFO: TCP Data received {"connection_id":173060,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0710b38e0012d7c0d4005e5bc600009009921..."} 
[2026-09-05 15:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710b38e0012d7c0d4005e5bc600009009921..."} 
[2026-09-05 15:40:32] local.INFO: Processing buffer {"connection_id":173060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710b38e0012d7c0d4005e5bc600009009921..."} 
[2026-09-05 15:40:32] local.INFO: Packet analysis {"connection_id":173060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710b"} 
[2026-09-05 15:40:32] local.INFO: Extracted packet for processing {"connection_id":173060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710b"} 
[2026-09-05 15:40:32] local.INFO: GPS Element Parsed {"raw_longitude":763104576,"raw_latitude":98942048,"longitude_deg":76.3104576,"latitude_deg":9.8942048,"altitude":9,"angle":153,"satellites":33,"speed":39,"hex_longitude":"2d7c0d40","hex_latitude":"05e5bc60","is_valid_coordinates":true} 
[2026-09-05 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-09-05 15:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882355456001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128547520765755392,"note":"Value kept but may cause issues"} 
[2026-09-05 15:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935986110963539968,"note":"Value kept but may cause issues"} 
[2026-09-05 15:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788602956000,"timestamp_ms":1788602956000,"timestamp_seconds":1788602956,"priority":1,"record_length":96,"hex_timestamp":"000001a0710b38e0"} 
[2026-09-05 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-09-05 15:40: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-09-05 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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-05 15:40:32] 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-09-05 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-09-05 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-09-05 15:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882355456001,"66":13428,"40":206,"87":13824,"24":39,"16":128547520765755392,"45":8935986110963539968},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-09-05 15:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882355456001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:40:32] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-05 15:40:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128547520765755392,"km_value":128547520765755.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935986110963539968,"description":"Unknown IO ID 45"} 
[2026-09-05 15:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882355456001,"power":13428,"unknown_40":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":8935986110963539968}} 
[2026-09-05 15:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":173060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769549,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:40:32] local.INFO: GPS data processed {"connection_id":173060,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:40:32] local.INFO: Acknowledgment sent {"connection_id":173060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:40:35] local.INFO: TCP Data received {"connection_id":171960,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071098b30012d7dda4006006400000700472e..."} 
[2026-09-05 15:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071098b30012d7dda4006006400000700472e..."} 
[2026-09-05 15:40:35] local.INFO: Processing buffer {"connection_id":171960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071098b30012d7dda4006006400000700472e..."} 
[2026-09-05 15:40:35] local.INFO: Packet analysis {"connection_id":171960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:40:35] local.INFO: Extracted packet for processing {"connection_id":171960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:40:35] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":46,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882251520001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:40:35] 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-09-05 15:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788602846000,"timestamp_ms":1788602846000,"timestamp_seconds":1788602846,"priority":1,"record_length":96,"hex_timestamp":"000001a071098b30"} 
[2026-09-05 15:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:40:35] 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-09-05 15:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-05 15:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882251520001,"66":25973,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882251520001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:40:35] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:40:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882251520001,"power":25973,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":171960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:40:35] local.INFO: GPS data processed {"connection_id":171960,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:40:35] local.INFO: Acknowledgment sent {"connection_id":171960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:40:45] local.INFO: TCP Data received {"connection_id":173061,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:40:45] local.INFO: Processing buffer {"connection_id":173061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:40:45] local.INFO: IMEI packet received {"connection_id":173061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":173061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:40:47] local.INFO: TCP Data received {"connection_id":171961,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0710b8700012d0cb90007047b680019016412..."} 
[2026-09-05 15:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710b8700012d0cb90007047b680019016412..."} 
[2026-09-05 15:40:47] local.INFO: Processing buffer {"connection_id":171961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710b8700012d0cb90007047b680019016412..."} 
[2026-09-05 15:40:47] local.INFO: Packet analysis {"connection_id":171961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710b"} 
[2026-09-05 15:40:47] local.INFO: Extracted packet for processing {"connection_id":171961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710b"} 
[2026-09-05 15:40:47] local.INFO: GPS Element Parsed {"raw_longitude":755808512,"raw_latitude":117734248,"longitude_deg":75.5808512,"latitude_deg":11.7734248,"altitude":25,"angle":356,"satellites":18,"speed":32,"hex_longitude":"2d0cb900","hex_latitude":"07047b68","is_valid_coordinates":true} 
[2026-09-05 15:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882359808001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30344085680160768,"note":"Value kept but may cause issues"} 
[2026-09-05 15:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":915919604354603008,"note":"Value kept but may cause issues"} 
[2026-09-05 15:40:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 15:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788602976000,"timestamp_ms":1788602976000,"timestamp_seconds":1788602976,"priority":1,"record_length":96,"hex_timestamp":"000001a0710b8700"} 
[2026-09-05 15:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:40: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-09-05 15:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-05 15:40:47] 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-09-05 15:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":171961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":171961,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":171961,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882359808001,"66":14559,"16":30344085680160768,"94":11008,"24":32,"45":915919604354603008},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-05 15:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882359808001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30344085680160768,"km_value":30344085680160.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:40:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 15:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":915919604354603008,"description":"Unknown IO ID 45"} 
[2026-09-05 15:40:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457882359808001,"power":14559,"odometer":null,"unknown_94":11008,"ignition":32,"unknown_45":915919604354603008}} 
[2026-09-05 15:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":171961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769551,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:40:48] local.INFO: GPS data processed {"connection_id":171961,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:40:48] local.INFO: Acknowledgment sent {"connection_id":171961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:40:50] local.INFO: TCP Data received {"connection_id":173061,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:40:50] local.INFO: Processing buffer {"connection_id":173061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:40:50] local.INFO: IMEI packet received {"connection_id":173061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":173061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:40:50] local.INFO: TCP Data received {"connection_id":173061,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0710a4a98012d196880071fed50003d011c26..."} 
[2026-09-05 15:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710a4a98012d196880071fed50003d011c26..."} 
[2026-09-05 15:40:50] local.INFO: Processing buffer {"connection_id":173061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710a4a98012d196880071fed50003d011c26..."} 
[2026-09-05 15:40:50] local.INFO: Packet analysis {"connection_id":173061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710a"} 
[2026-09-05 15:40:50] local.INFO: Extracted packet for processing {"connection_id":173061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710a"} 
[2026-09-05 15:40:50] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882335744001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788602895000,"timestamp_ms":1788602895000,"timestamp_seconds":1788602895,"priority":1,"record_length":96,"hex_timestamp":"000001a0710a4a98"} 
[2026-09-05 15:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 15:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:40:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882335744001,"66":12428,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882335744001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:40:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:40:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882335744001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":173061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:40:51] local.INFO: GPS data processed {"connection_id":173061,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:40:51] local.INFO: Acknowledgment sent {"connection_id":173061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:40:52] local.INFO: TCP Data received {"connection_id":171666,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171666,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:40:52] local.INFO: Processing buffer {"connection_id":171666,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:40:52] local.INFO: IMEI packet received {"connection_id":171666,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":171666,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:40:54] local.INFO: TCP Data received {"connection_id":171667,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171667,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:40:54] local.INFO: Processing buffer {"connection_id":171667,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:40:54] local.INFO: IMEI packet received {"connection_id":171667,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":171667,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:40:55] local.INFO: TCP Data received {"connection_id":171667,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171667,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:40:55] local.INFO: Processing buffer {"connection_id":171667,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:40:55] local.INFO: IMEI packet received {"connection_id":171667,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":171667,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:40:55] local.INFO: TCP Data received {"connection_id":171667,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171667,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:40:55] local.INFO: Processing buffer {"connection_id":171667,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:40:55] local.INFO: IMEI packet received {"connection_id":171667,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":171667,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:40:56] local.INFO: TCP Data received {"connection_id":171962,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:40:56] local.INFO: Processing buffer {"connection_id":171962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:40:56] local.INFO: IMEI packet received {"connection_id":171962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":171962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:40:57] local.INFO: TCP Data received {"connection_id":171666,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171666,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:40:57] local.INFO: Processing buffer {"connection_id":171666,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:40:57] local.INFO: IMEI packet received {"connection_id":171666,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":171666,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:40:59] local.INFO: TCP Data received {"connection_id":171666,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071079b18012c7939c00848c5f00014000129..."} 
[2026-09-05 15:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071079b18012c7939c00848c5f00014000129..."} 
[2026-09-05 15:40:59] local.INFO: Processing buffer {"connection_id":171666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071079b18012c7939c00848c5f00014000129..."} 
[2026-09-05 15:40:59] local.INFO: Packet analysis {"connection_id":171666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:40:59] local.INFO: Extracted packet for processing {"connection_id":171666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07107"} 
[2026-09-05 15:40:59] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882219008001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:40:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788602719000,"timestamp_ms":1788602719000,"timestamp_seconds":1788602719,"priority":1,"record_length":96,"hex_timestamp":"000001a071079b18"} 
[2026-09-05 15:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 15:40:59] 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-09-05 15:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171666,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171666,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882219008001,"66":25343,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882219008001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:40:59] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:40:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:40:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882219008001,"power":25343,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":171666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769553,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:40:59] local.INFO: GPS data processed {"connection_id":171666,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:40:59] local.INFO: Acknowledgment sent {"connection_id":171666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:40:59] local.INFO: TCP Data received {"connection_id":171667,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171667,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:40:59] local.INFO: Processing buffer {"connection_id":171667,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:40:59] local.INFO: IMEI packet received {"connection_id":171667,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":171667,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:41:00] local.INFO: TCP Data received {"connection_id":171666,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:41:00] local.INFO: Processing buffer {"connection_id":171666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:41:00] local.INFO: Packet analysis {"connection_id":171666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710c"} 
[2026-09-05 15:41:00] local.INFO: Extracted packet for processing {"connection_id":171666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710c"} 
[2026-09-05 15:41:00] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882296064001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:41:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788603020000,"timestamp_ms":1788603020000,"timestamp_seconds":1788603020,"priority":1,"record_length":96,"hex_timestamp":"000001a0710c32e0"} 
[2026-09-05 15:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 15:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171666,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171666,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882296064001,"66":25343,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882296064001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:41:00] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:41:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:41:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882296064001,"power":25343,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":171666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769554,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:41:00] local.INFO: GPS data processed {"connection_id":171666,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:41:00] local.INFO: Acknowledgment sent {"connection_id":171666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:41:00] local.INFO: TCP Data received {"connection_id":171667,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0710b7378012d7c1d4005e59cb0000a009b20..."} 
[2026-09-05 15:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710b7378012d7c1d4005e59cb0000a009b20..."} 
[2026-09-05 15:41:01] local.INFO: Processing buffer {"connection_id":171667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710b7378012d7c1d4005e59cb0000a009b20..."} 
[2026-09-05 15:41:01] local.INFO: Packet analysis {"connection_id":171667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710b"} 
[2026-09-05 15:41:01] local.INFO: Extracted packet for processing {"connection_id":171667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710b"} 
[2026-09-05 15:41:01] local.INFO: GPS Element Parsed {"raw_longitude":763108672,"raw_latitude":98933936,"longitude_deg":76.3108672,"latitude_deg":9.8933936,"altitude":10,"angle":155,"satellites":32,"speed":24,"hex_longitude":"2d7c1d40","hex_latitude":"05e59cb0","is_valid_coordinates":true} 
[2026-09-05 15:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882356736001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128547963147386880,"note":"Value kept but may cause issues"} 
[2026-09-05 15:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938871229473644544,"note":"Value kept but may cause issues"} 
[2026-09-05 15:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788602971000,"timestamp_ms":1788602971000,"timestamp_seconds":1788602971,"priority":1,"record_length":96,"hex_timestamp":"000001a0710b7378"} 
[2026-09-05 15:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-05 15:41:01] 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-09-05 15:41:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882356736001,"66":13820,"40":206,"87":13824,"24":24,"16":128547963147386880,"45":8938871229473644544},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-09-05 15:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882356736001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:41:01] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-05 15:41:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128547963147386880,"km_value":128547963147386.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938871229473644544,"description":"Unknown IO ID 45"} 
[2026-09-05 15:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882356736001,"power":13820,"unknown_40":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8938871229473644544}} 
[2026-09-05 15:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":171667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769555,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:41:01] local.INFO: GPS data processed {"connection_id":171667,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:41:01] local.INFO: Acknowledgment sent {"connection_id":171667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:41:01] local.INFO: TCP Data received {"connection_id":171962,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:41:01] local.INFO: Processing buffer {"connection_id":171962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:41:01] local.INFO: IMEI packet received {"connection_id":171962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":171962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:41:02] local.INFO: TCP Data received {"connection_id":171962,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071098b30012d7dda4006006400000700472e..."} 
[2026-09-05 15:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071098b30012d7dda4006006400000700472e..."} 
[2026-09-05 15:41:02] local.INFO: Processing buffer {"connection_id":171962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071098b30012d7dda4006006400000700472e..."} 
[2026-09-05 15:41:02] local.INFO: Packet analysis {"connection_id":171962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:41:02] local.INFO: Extracted packet for processing {"connection_id":171962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:41:02] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":46,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882251520001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:41:02] 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-09-05 15:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788602846000,"timestamp_ms":1788602846000,"timestamp_seconds":1788602846,"priority":1,"record_length":96,"hex_timestamp":"000001a071098b30"} 
[2026-09-05 15:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:41:02] 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-09-05 15: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-05 15:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882251520001,"66":25973,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882251520001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:41:02] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:41:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882251520001,"power":25973,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":171962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:41:02] local.INFO: GPS data processed {"connection_id":171962,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:41:02] local.INFO: Acknowledgment sent {"connection_id":171962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:41:11] local.INFO: TCP Data received {"connection_id":171668,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171668,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:41:11] local.INFO: Processing buffer {"connection_id":171668,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:41:11] local.INFO: IMEI packet received {"connection_id":171668,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 15:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":171668,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:41:21] local.INFO: TCP Data received {"connection_id":173061,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0710a9ca0012d196880071fed50003d011c23..."} 
[2026-09-05 15:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710a9ca0012d196880071fed50003d011c23..."} 
[2026-09-05 15:41:21] local.INFO: Processing buffer {"connection_id":173061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710a9ca0012d196880071fed50003d011c23..."} 
[2026-09-05 15:41:21] local.INFO: Packet analysis {"connection_id":173061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710a"} 
[2026-09-05 15:41:21] local.INFO: Extracted packet for processing {"connection_id":173061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710a"} 
[2026-09-05 15:41:21] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":35,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882341120001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788602916000,"timestamp_ms":1788602916000,"timestamp_seconds":1788602916,"priority":1,"record_length":96,"hex_timestamp":"000001a0710a9ca0"} 
[2026-09-05 15:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:41:21] 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-09-05 15:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 15:41:21] 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-09-05 15:41:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882341120001,"66":12461,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882341120001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:41:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:41:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882341120001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":173061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:41:21] local.INFO: GPS data processed {"connection_id":173061,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:41:21] local.INFO: Acknowledgment sent {"connection_id":173061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:41:32] local.INFO: TCP Data received {"connection_id":171666,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:41:32] local.INFO: Processing buffer {"connection_id":171666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:41:32] local.INFO: Packet analysis {"connection_id":171666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710c"} 
[2026-09-05 15:41:32] local.INFO: Extracted packet for processing {"connection_id":171666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710c"} 
[2026-09-05 15:41:32] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 15:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882296064001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:41:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788603020000,"timestamp_ms":1788603020000,"timestamp_seconds":1788603020,"priority":1,"record_length":96,"hex_timestamp":"000001a0710c32e0"} 
[2026-09-05 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-09-05 15:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 15: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-09-05 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-09-05 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-09-05 15:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171666,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171666,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882296064001,"66":25343,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882296064001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:41:32] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:41:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:41:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882296064001,"power":25343,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":171666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769558,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:41:32] local.INFO: GPS data processed {"connection_id":171666,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:41:32] local.INFO: Acknowledgment sent {"connection_id":171666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:41:32] local.INFO: TCP Data received {"connection_id":171667,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0710b9e70012d7c2a0005e57960000b00a522..."} 
[2026-09-05 15:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710b9e70012d7c2a0005e57960000b00a522..."} 
[2026-09-05 15:41:32] local.INFO: Processing buffer {"connection_id":171667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710b9e70012d7c2a0005e57960000b00a522..."} 
[2026-09-05 15:41:32] local.INFO: Packet analysis {"connection_id":171667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710b"} 
[2026-09-05 15:41:32] local.INFO: Extracted packet for processing {"connection_id":171667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710b"} 
[2026-09-05 15:41:32] local.INFO: GPS Element Parsed {"raw_longitude":763111936,"raw_latitude":98924896,"longitude_deg":76.3111936,"latitude_deg":9.8924896,"altitude":11,"angle":165,"satellites":34,"speed":40,"hex_longitude":"2d7c2a00","hex_latitude":"05e57960","is_valid_coordinates":true} 
[2026-09-05 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-09-05 15:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882360576001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128548431298822144,"note":"Value kept but may cause issues"} 
[2026-09-05 15:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943374829098938368,"note":"Value kept but may cause issues"} 
[2026-09-05 15:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788602982000,"timestamp_ms":1788602982000,"timestamp_seconds":1788602982,"priority":1,"record_length":96,"hex_timestamp":"000001a0710b9e70"} 
[2026-09-05 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-09-05 15:41: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-09-05 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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-05 15:41:32] 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-09-05 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-09-05 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-09-05 15:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882360576001,"66":13091,"40":206,"87":13824,"24":40,"16":128548431298822144,"45":8943374829098938368},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-09-05 15:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882360576001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:41:32] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-05 15:41:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128548431298822144,"km_value":128548431298822.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943374829098938368,"description":"Unknown IO ID 45"} 
[2026-09-05 15:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882360576001,"power":13091,"unknown_40":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":8943374829098938368}} 
[2026-09-05 15:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":171667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769559,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:41:32] local.INFO: GPS data processed {"connection_id":171667,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:41:32] local.INFO: Acknowledgment sent {"connection_id":171667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:41:35] local.INFO: TCP Data received {"connection_id":171962,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071098b30012d7dda4006006400000700472e..."} 
[2026-09-05 15:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071098b30012d7dda4006006400000700472e..."} 
[2026-09-05 15:41:35] local.INFO: Processing buffer {"connection_id":171962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071098b30012d7dda4006006400000700472e..."} 
[2026-09-05 15:41:35] local.INFO: Packet analysis {"connection_id":171962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:41:35] local.INFO: Extracted packet for processing {"connection_id":171962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:41:35] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":46,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882251520001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:41:35] 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-09-05 15:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788602846000,"timestamp_ms":1788602846000,"timestamp_seconds":1788602846,"priority":1,"record_length":96,"hex_timestamp":"000001a071098b30"} 
[2026-09-05 15:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:41:35] 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-09-05 15: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-05 15:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882251520001,"66":25973,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882251520001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:41:35] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:41:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882251520001,"power":25973,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":171962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:41:35] local.INFO: GPS data processed {"connection_id":171962,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:41:35] local.INFO: Acknowledgment sent {"connection_id":171962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:41:40] local.INFO: TCP Data received {"connection_id":171668,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171668,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:41:40] local.INFO: Processing buffer {"connection_id":171668,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:41:40] local.INFO: IMEI packet received {"connection_id":171668,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 15:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":171668,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:41:44] local.INFO: TCP Data received {"connection_id":171668,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171668,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:41:44] local.INFO: Processing buffer {"connection_id":171668,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:41:44] local.INFO: IMEI packet received {"connection_id":171668,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 15:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":171668,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:41:44] local.INFO: TCP Data received {"connection_id":174375,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:41:44] local.INFO: Processing buffer {"connection_id":174375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:41:44] local.INFO: IMEI packet received {"connection_id":174375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":174375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:41:47] local.INFO: TCP Data received {"connection_id":173062,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173062,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:41:47] local.INFO: Processing buffer {"connection_id":173062,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:41:47] local.INFO: IMEI packet received {"connection_id":173062,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":173062,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:41:50] local.INFO: TCP Data received {"connection_id":174375,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:41:50] local.INFO: Processing buffer {"connection_id":174375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:41:50] local.INFO: IMEI packet received {"connection_id":174375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":174375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:41:50] local.INFO: TCP Data received {"connection_id":174375,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0710aeea8012d196880071fed50003d011c24..."} 
[2026-09-05 15:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710aeea8012d196880071fed50003d011c24..."} 
[2026-09-05 15:41:50] local.INFO: Processing buffer {"connection_id":174375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710aeea8012d196880071fed50003d011c24..."} 
[2026-09-05 15:41:50] local.INFO: Packet analysis {"connection_id":174375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710a"} 
[2026-09-05 15:41:50] local.INFO: Extracted packet for processing {"connection_id":174375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710a"} 
[2026-09-05 15:41:50] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882346496001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788602937000,"timestamp_ms":1788602937000,"timestamp_seconds":1788602937,"priority":1,"record_length":96,"hex_timestamp":"000001a0710aeea8"} 
[2026-09-05 15:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 15:41:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:41:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882346496001,"66":12461,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882346496001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:41:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:41:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882346496001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":174375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:41:51] local.INFO: GPS data processed {"connection_id":174375,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:41:51] local.INFO: Acknowledgment sent {"connection_id":174375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:41:53] local.INFO: TCP Data received {"connection_id":173062,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173062,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:41:53] local.INFO: Processing buffer {"connection_id":173062,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:41:53] local.INFO: IMEI packet received {"connection_id":173062,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":173062,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:41:54] local.INFO: TCP Data received {"connection_id":173062,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:41:54] local.INFO: Processing buffer {"connection_id":173062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:41:54] local.INFO: Packet analysis {"connection_id":173062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710c"} 
[2026-09-05 15:41:54] local.INFO: Extracted packet for processing {"connection_id":173062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710c"} 
[2026-09-05 15:41:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882296064001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:41:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788603020000,"timestamp_ms":1788603020000,"timestamp_seconds":1788603020,"priority":1,"record_length":96,"hex_timestamp":"000001a0710c32e0"} 
[2026-09-05 15:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 15:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173062,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173062,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882296064001,"66":25343,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882296064001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:41:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:41:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:41:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882296064001,"power":25343,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":173062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769562,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:41:54] local.INFO: GPS data processed {"connection_id":173062,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:41:54] local.INFO: Acknowledgment sent {"connection_id":173062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:42:00] local.INFO: TCP Data received {"connection_id":174376,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:42:00] local.INFO: Processing buffer {"connection_id":174376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:42:00] local.INFO: IMEI packet received {"connection_id":174376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":174376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:42:01] local.INFO: TCP Data received {"connection_id":174377,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:42:01] local.INFO: Processing buffer {"connection_id":174377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:42:01] local.INFO: IMEI packet received {"connection_id":174377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":174377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:42:02] local.INFO: TCP Data received {"connection_id":174376,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:42:02] local.INFO: Processing buffer {"connection_id":174376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:42:02] local.INFO: IMEI packet received {"connection_id":174376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":174376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:42:04] local.INFO: TCP Data received {"connection_id":174376,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0710d4838012d7bf2c005e49ef8001100d426..."} 
[2026-09-05 15:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710d4838012d7bf2c005e49ef8001100d426..."} 
[2026-09-05 15:42:04] local.INFO: Processing buffer {"connection_id":174376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710d4838012d7bf2c005e49ef8001100d426..."} 
[2026-09-05 15:42:04] local.INFO: Packet analysis {"connection_id":174376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710d"} 
[2026-09-05 15:42:04] local.INFO: Extracted packet for processing {"connection_id":174376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710d"} 
[2026-09-05 15:42:04] local.INFO: GPS Element Parsed {"raw_longitude":763097792,"raw_latitude":98868984,"longitude_deg":76.3097792,"latitude_deg":9.8868984,"altitude":17,"angle":212,"satellites":38,"speed":40,"hex_longitude":"2d7bf2c0","hex_latitude":"05e49ef8","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882389248001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128551489315536896,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937112010852526080,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:04] 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-09-05 15:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788603091000,"timestamp_ms":1788603091000,"timestamp_seconds":1788603091,"priority":1,"record_length":96,"hex_timestamp":"000001a0710d4838"} 
[2026-09-05 15:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:42: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-09-05 15: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 15:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882389248001,"66":13580,"39":206,"87":13824,"24":40,"16":128551489315536896,"45":8937112010852526080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-05 15:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882389248001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:42:04] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-05 15:42:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128551489315536896,"km_value":128551489315536.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937112010852526080,"description":"Unknown IO ID 45"} 
[2026-09-05 15:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882389248001,"power":13580,"unknown_39":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":8937112010852526080}} 
[2026-09-05 15:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":174376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769563,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:42:04] local.INFO: GPS data processed {"connection_id":174376,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:42:04] local.INFO: Acknowledgment sent {"connection_id":174376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:42:06] local.INFO: TCP Data received {"connection_id":174377,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:42:06] local.INFO: Processing buffer {"connection_id":174377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:42:06] local.INFO: IMEI packet received {"connection_id":174377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":174377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:42:08] local.INFO: TCP Data received {"connection_id":174377,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071098b30012d7dda4006006400000700472e..."} 
[2026-09-05 15:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071098b30012d7dda4006006400000700472e..."} 
[2026-09-05 15:42:08] local.INFO: Processing buffer {"connection_id":174377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071098b30012d7dda4006006400000700472e..."} 
[2026-09-05 15:42:08] local.INFO: Packet analysis {"connection_id":174377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:42:08] local.INFO: Extracted packet for processing {"connection_id":174377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:42:08] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":46,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882251520001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:08] 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-09-05 15:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788602846000,"timestamp_ms":1788602846000,"timestamp_seconds":1788602846,"priority":1,"record_length":96,"hex_timestamp":"000001a071098b30"} 
[2026-09-05 15:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:42: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-09-05 15:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-05 15:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882251520001,"66":25973,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882251520001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:42:08] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:42:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882251520001,"power":25973,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":174377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:42:08] local.INFO: GPS data processed {"connection_id":174377,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:42:08] local.INFO: Acknowledgment sent {"connection_id":174377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:42:12] local.INFO: TCP Data received {"connection_id":174377,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071098b30012d7dda4006006400000700472e..."} 
[2026-09-05 15:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071098b30012d7dda4006006400000700472e..."} 
[2026-09-05 15:42:12] local.INFO: Processing buffer {"connection_id":174377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071098b30012d7dda4006006400000700472e..."} 
[2026-09-05 15:42:12] local.INFO: Packet analysis {"connection_id":174377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:42:12] local.INFO: Extracted packet for processing {"connection_id":174377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:42:12] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":46,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882251520001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:12] 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-09-05 15:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788602846000,"timestamp_ms":1788602846000,"timestamp_seconds":1788602846,"priority":1,"record_length":96,"hex_timestamp":"000001a071098b30"} 
[2026-09-05 15:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-05 15:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882251520001,"66":25973,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882251520001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:42:12] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:42:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882251520001,"power":25973,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":174377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:42:12] local.INFO: GPS data processed {"connection_id":174377,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:42:12] local.INFO: Acknowledgment sent {"connection_id":174377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:42:15] local.INFO: TCP Data received {"connection_id":174378,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174378,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:42:16] local.INFO: Processing buffer {"connection_id":174378,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:42:16] local.INFO: IMEI packet received {"connection_id":174378,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 15:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":174378,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:42:22] local.INFO: TCP Data received {"connection_id":174375,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0710b40b0012d196880071fed50003d011c26..."} 
[2026-09-05 15:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710b40b0012d196880071fed50003d011c26..."} 
[2026-09-05 15:42:22] local.INFO: Processing buffer {"connection_id":174375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710b40b0012d196880071fed50003d011c26..."} 
[2026-09-05 15:42:22] local.INFO: Packet analysis {"connection_id":174375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710b"} 
[2026-09-05 15:42:22] local.INFO: Extracted packet for processing {"connection_id":174375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710b"} 
[2026-09-05 15:42:22] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882351872001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788602958000,"timestamp_ms":1788602958000,"timestamp_seconds":1788602958,"priority":1,"record_length":96,"hex_timestamp":"000001a0710b40b0"} 
[2026-09-05 15:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 15:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882351872001,"66":12461,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882351872001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:42:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:42:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882351872001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":174375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:42:22] local.INFO: GPS data processed {"connection_id":174375,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:42:22] local.INFO: Acknowledgment sent {"connection_id":174375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:42:26] local.INFO: TCP Data received {"connection_id":173062,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:42:26] local.INFO: Processing buffer {"connection_id":173062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:42:26] local.INFO: Packet analysis {"connection_id":173062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710c"} 
[2026-09-05 15:42:26] local.INFO: Extracted packet for processing {"connection_id":173062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710c"} 
[2026-09-05 15:42:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882296064001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788603020000,"timestamp_ms":1788603020000,"timestamp_seconds":1788603020,"priority":1,"record_length":96,"hex_timestamp":"000001a0710c32e0"} 
[2026-09-05 15:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 15:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173062,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173062,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882296064001,"66":25343,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882296064001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:42:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:42:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:42:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882296064001,"power":25343,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":173062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769567,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:42:26] local.INFO: GPS data processed {"connection_id":173062,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:42:26] local.INFO: Acknowledgment sent {"connection_id":173062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:42:36] local.INFO: TCP Data received {"connection_id":174376,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0710d7330012d7bde0005e47fc8001200d427..."} 
[2026-09-05 15:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710d7330012d7bde0005e47fc8001200d427..."} 
[2026-09-05 15:42:36] local.INFO: Processing buffer {"connection_id":174376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710d7330012d7bde0005e47fc8001200d427..."} 
[2026-09-05 15:42:36] local.INFO: Packet analysis {"connection_id":174376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710d"} 
[2026-09-05 15:42:36] local.INFO: Extracted packet for processing {"connection_id":174376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710d"} 
[2026-09-05 15:42:36] local.INFO: GPS Element Parsed {"raw_longitude":763092480,"raw_latitude":98861000,"longitude_deg":76.309248,"latitude_deg":9.8861,"altitude":18,"angle":212,"satellites":39,"speed":38,"hex_longitude":"2d7bde00","hex_latitude":"05e47fc8","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882391296001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128551948877037568,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931412142572107776,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42: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-09-05 15:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788603102000,"timestamp_ms":1788603102000,"timestamp_seconds":1788603102,"priority":1,"record_length":96,"hex_timestamp":"000001a0710d7330"} 
[2026-09-05 15:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-05 15:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630515,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3844225024,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3984799463850901504,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:36] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2701131776,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:36] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635957600081959,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-09-05 15:42:36] local.WARNING: Large IO value detected {"io_id":175,"raw_value":3758173564,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:36] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4467796608846712407,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:36] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3006201856,"corrected_to":0} 
[2026-09-05 15:42:36] local.WARNING: Large IO value detected {"io_id":124,"raw_value":4719778891221172237,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:36] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755446685827313,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:36] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,39,87,24,241,157,16,180,160,40,45,189,38,10,66,5,192,221,14,36,230,128,1,240,7,227,179,113,229,4,205,11,175,68,37,239,52,2,200,124,54],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0},{"io_id":200,"original":3006201856,"validated":0}]} 
[2026-09-05 15:42:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225212358321242112,"timestamp_seconds":1225212358321242.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 15:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":174376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":174376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":174376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882391296001,"66":13798,"39":206,"87":13824,"24":38,"16":128551948877037568,"45":8931412142572107776},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-05 15:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882391296001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:42:36] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-05 15:42:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128551948877037568,"km_value":128551948877037.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931412142572107776,"description":"Unknown IO ID 45"} 
[2026-09-05 15:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882391296001,"power":13798,"unknown_39":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8931412142572107776}} 
[2026-09-05 15:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":174376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769568,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:42:36] local.INFO: GPS data processed {"connection_id":174376,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:42:36] local.INFO: Acknowledgment sent {"connection_id":174376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:42:43] local.INFO: TCP Data received {"connection_id":171963,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:42:43] local.INFO: Processing buffer {"connection_id":171963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:42:43] local.INFO: IMEI packet received {"connection_id":171963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":171963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:42:44] local.INFO: TCP Data received {"connection_id":171963,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:42:44] local.INFO: Processing buffer {"connection_id":171963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:42:44] local.INFO: IMEI packet received {"connection_id":171963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":171963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:42:47] local.INFO: TCP Data received {"connection_id":173063,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173063,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:42:47] local.INFO: Processing buffer {"connection_id":173063,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:42:47] local.INFO: IMEI packet received {"connection_id":173063,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":173063,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:42:50] local.INFO: TCP Data received {"connection_id":171963,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:42:50] local.INFO: Processing buffer {"connection_id":171963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:42:50] local.INFO: IMEI packet received {"connection_id":171963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":171963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:42:51] local.INFO: TCP Data received {"connection_id":171963,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0710b92b8012d196880071fed50003d011c25..."} 
[2026-09-05 15:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710b92b8012d196880071fed50003d011c25..."} 
[2026-09-05 15:42:51] local.INFO: Processing buffer {"connection_id":171963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710b92b8012d196880071fed50003d011c25..."} 
[2026-09-05 15:42:51] local.INFO: Packet analysis {"connection_id":171963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710b"} 
[2026-09-05 15:42:51] local.INFO: Extracted packet for processing {"connection_id":171963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710b"} 
[2026-09-05 15:42:51] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882357248001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788602979000,"timestamp_ms":1788602979000,"timestamp_seconds":1788602979,"priority":1,"record_length":96,"hex_timestamp":"000001a0710b92b8"} 
[2026-09-05 15:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:42:51] 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-09-05 15:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 15:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882357248001,"66":12461,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882357248001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:42:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:42:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882357248001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":171963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:42:51] local.INFO: GPS data processed {"connection_id":171963,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:42:51] local.INFO: Acknowledgment sent {"connection_id":171963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:42:52] local.INFO: TCP Data received {"connection_id":173063,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173063,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:42:52] local.INFO: Processing buffer {"connection_id":173063,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:42:52] local.INFO: IMEI packet received {"connection_id":173063,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":173063,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:42:54] local.INFO: TCP Data received {"connection_id":173063,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:42:54] local.INFO: Processing buffer {"connection_id":173063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:42:54] local.INFO: Packet analysis {"connection_id":173063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710c"} 
[2026-09-05 15:42:54] local.INFO: Extracted packet for processing {"connection_id":173063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710c"} 
[2026-09-05 15:42:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882296064001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788603020000,"timestamp_ms":1788603020000,"timestamp_seconds":1788603020,"priority":1,"record_length":96,"hex_timestamp":"000001a0710c32e0"} 
[2026-09-05 15:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 15:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882296064001,"66":25343,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882296064001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:42:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:42:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:42:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882296064001,"power":25343,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":173063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769570,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:42:54] local.INFO: GPS data processed {"connection_id":173063,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:42:54] local.INFO: Acknowledgment sent {"connection_id":173063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:42:54] local.INFO: TCP Data received {"connection_id":174379,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174379,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:42:54] local.INFO: Processing buffer {"connection_id":174379,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:42:54] local.INFO: IMEI packet received {"connection_id":174379,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":174379,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:42:56] local.INFO: TCP Data received {"connection_id":174380,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:42:56] local.INFO: Processing buffer {"connection_id":174380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:42:56] local.INFO: IMEI packet received {"connection_id":174380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":174380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:43:01] local.INFO: TCP Data received {"connection_id":174380,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:43:01] local.INFO: Processing buffer {"connection_id":174380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:43:01] local.INFO: IMEI packet received {"connection_id":174380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":174380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:43:03] local.INFO: TCP Data received {"connection_id":174380,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071098b30012d7dda4006006400000700472e..."} 
[2026-09-05 15:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071098b30012d7dda4006006400000700472e..."} 
[2026-09-05 15:43:03] local.INFO: Processing buffer {"connection_id":174380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071098b30012d7dda4006006400000700472e..."} 
[2026-09-05 15:43:03] local.INFO: Packet analysis {"connection_id":174380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:43:03] local.INFO: Extracted packet for processing {"connection_id":174380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07109"} 
[2026-09-05 15:43:03] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":46,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 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-09-05 15:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882251520001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:43:03] 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-09-05 15:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788602846000,"timestamp_ms":1788602846000,"timestamp_seconds":1788602846,"priority":1,"record_length":96,"hex_timestamp":"000001a071098b30"} 
[2026-09-05 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-09-05 15:43: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-09-05 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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-05 15:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 15:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882251520001,"66":25973,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882251520001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:43:03] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:43:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882251520001,"power":25973,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":174380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:43:03] local.INFO: GPS data processed {"connection_id":174380,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:43:03] local.INFO: Acknowledgment sent {"connection_id":174380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:43:04] local.INFO: TCP Data received {"connection_id":174379,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174379,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:43:04] local.INFO: Processing buffer {"connection_id":174379,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:43:04] local.INFO: IMEI packet received {"connection_id":174379,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":174379,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:43:07] local.INFO: TCP Data received {"connection_id":174379,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0710d9658012d7bca0005e46188001200d327..."} 
[2026-09-05 15:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710d9658012d7bca0005e46188001200d327..."} 
[2026-09-05 15:43:07] local.INFO: Processing buffer {"connection_id":174379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710d9658012d7bca0005e46188001200d327..."} 
[2026-09-05 15:43:07] local.INFO: Packet analysis {"connection_id":174379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710d"} 
[2026-09-05 15:43:07] local.INFO: Extracted packet for processing {"connection_id":174379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710d"} 
[2026-09-05 15:43:07] local.INFO: GPS Element Parsed {"raw_longitude":763087360,"raw_latitude":98853256,"longitude_deg":76.308736,"latitude_deg":9.8853256,"altitude":18,"angle":211,"satellites":39,"speed":42,"hex_longitude":"2d7bca00","hex_latitude":"05e46188","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882394112001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128552395553636352,"note":"Value kept but may cause issues"} 
[2026-09-05 15:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925571536803317760,"note":"Value kept but may cause issues"} 
[2026-09-05 15:43:07] 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-09-05 15:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788603111000,"timestamp_ms":1788603111000,"timestamp_seconds":1788603111,"priority":1,"record_length":96,"hex_timestamp":"000001a0710d9658"} 
[2026-09-05 15:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:43:07] 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-09-05 15: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 15:43:07] 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-09-05 15: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-09-05 15:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882394112001,"66":13319,"39":206,"87":13824,"24":42,"16":128552395553636352,"45":8925571536803317760},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-05 15:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882394112001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:43:07] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-05 15:43:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128552395553636352,"km_value":128552395553636.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925571536803317760,"description":"Unknown IO ID 45"} 
[2026-09-05 15:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882394112001,"power":13319,"unknown_39":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":8925571536803317760}} 
[2026-09-05 15:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":174379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769572,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:43:07] local.INFO: GPS data processed {"connection_id":174379,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:43:07] local.INFO: Acknowledgment sent {"connection_id":174379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:43:22] local.INFO: TCP Data received {"connection_id":171963,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0710be4c0012d196880071fed50003d011c25..."} 
[2026-09-05 15:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710be4c0012d196880071fed50003d011c25..."} 
[2026-09-05 15:43:22] local.INFO: Processing buffer {"connection_id":171963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710be4c0012d196880071fed50003d011c25..."} 
[2026-09-05 15:43:22] local.INFO: Packet analysis {"connection_id":171963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710b"} 
[2026-09-05 15:43:22] local.INFO: Extracted packet for processing {"connection_id":171963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710b"} 
[2026-09-05 15:43:22] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882362624001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788603000000,"timestamp_ms":1788603000000,"timestamp_seconds":1788603000,"priority":1,"record_length":96,"hex_timestamp":"000001a0710be4c0"} 
[2026-09-05 15:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 15:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882362624001,"66":12461,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882362624001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:43:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:43:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882362624001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":171963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:43:22] local.INFO: GPS data processed {"connection_id":171963,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:43:22] local.INFO: Acknowledgment sent {"connection_id":171963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:43:26] local.INFO: TCP Data received {"connection_id":173063,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:43:26] local.INFO: Processing buffer {"connection_id":173063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:43:26] local.INFO: Packet analysis {"connection_id":173063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710c"} 
[2026-09-05 15:43:26] local.INFO: Extracted packet for processing {"connection_id":173063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710c"} 
[2026-09-05 15:43:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882296064001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:43:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788603020000,"timestamp_ms":1788603020000,"timestamp_seconds":1788603020,"priority":1,"record_length":96,"hex_timestamp":"000001a0710c32e0"} 
[2026-09-05 15:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 15:43:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882296064001,"66":25343,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882296064001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:43:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:43:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:43:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882296064001,"power":25343,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":173063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769574,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:43:26] local.INFO: GPS data processed {"connection_id":173063,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:43:26] local.INFO: Acknowledgment sent {"connection_id":173063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:43:34] local.INFO: TCP Data received {"connection_id":174380,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0710e22f8012d7dda4006006400000700472e..."} 
[2026-09-05 15:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710e22f8012d7dda4006006400000700472e..."} 
[2026-09-05 15:43:34] local.INFO: Processing buffer {"connection_id":174380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710e22f8012d7dda4006006400000700472e..."} 
[2026-09-05 15:43:34] local.INFO: Packet analysis {"connection_id":174380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710e"} 
[2026-09-05 15:43:34] local.INFO: Extracted packet for processing {"connection_id":174380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710e"} 
[2026-09-05 15:43:34] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":46,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882328576001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:43:34] 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-09-05 15:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788603147000,"timestamp_ms":1788603147000,"timestamp_seconds":1788603147,"priority":1,"record_length":96,"hex_timestamp":"000001a0710e22f8"} 
[2026-09-05 15:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:43: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-09-05 15: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-05 15:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882328576001,"66":25908,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882328576001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:43:34] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:43:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882328576001,"power":25908,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":174380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:43:34] local.INFO: GPS data processed {"connection_id":174380,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:43:34] local.INFO: Acknowledgment sent {"connection_id":174380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:43:39] local.INFO: TCP Data received {"connection_id":174379,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0710db980012d7bb54005e441d0001200d526..."} 
[2026-09-05 15:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710db980012d7bb54005e441d0001200d526..."} 
[2026-09-05 15:43:39] local.INFO: Processing buffer {"connection_id":174379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710db980012d7bb54005e441d0001200d526..."} 
[2026-09-05 15:43:39] local.INFO: Packet analysis {"connection_id":174379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710d"} 
[2026-09-05 15:43:39] local.INFO: Extracted packet for processing {"connection_id":174379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710d"} 
[2026-09-05 15:43:39] local.INFO: GPS Element Parsed {"raw_longitude":763082048,"raw_latitude":98845136,"longitude_deg":76.3082048,"latitude_deg":9.8845136,"altitude":18,"angle":213,"satellites":38,"speed":42,"hex_longitude":"2d7bb540","hex_latitude":"05e441d0","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882396416001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128552868000038912,"note":"Value kept but may cause issues"} 
[2026-09-05 15:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919942037267122176,"note":"Value kept but may cause issues"} 
[2026-09-05 15:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788603120000,"timestamp_ms":1788603120000,"timestamp_seconds":1788603120,"priority":1,"record_length":96,"hex_timestamp":"000001a0710db980"} 
[2026-09-05 15:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-05 15:43:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 15:43:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-05 15:43:39] local.WARNING: Large IO value detected {"io_id":228,"raw_value":3722969102,"note":"Value kept but may cause issues"} 
[2026-09-05 15:43:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-09-05 15:43:39] local.WARNING: Large IO value detected {"io_id":230,"raw_value":2415996284,"note":"Value kept but may cause issues"} 
[2026-09-05 15:43:39] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2147869949,"note":"Value kept but may cause issues"} 
[2026-09-05 15:43:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3013672960,"corrected_to":0} 
[2026-09-05 15:43:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3844001792,"note":"Value kept but may cause issues"} 
[2026-09-05 15:43:39] local.WARNING: Large IO value detected {"io_id":116,"raw_value":57799294766176054,"note":"Value kept but may cause issues"} 
[2026-09-05 15:43:39] local.WARNING: Large IO value detected {"io_id":12,"raw_value":-5773613427418988539,"note":"Value kept but may cause issues"} 
[2026-09-05 15:43:39] local.WARNING: Large IO value detected {"io_id":229,"raw_value":2278821458706638080,"note":"Value kept but may cause issues"} 
[2026-09-05 15:43:39] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,39,87,24,241,157,16,181,160,115,45,127,18,10,66,72,192,158,17,38,180,40,1,240,214,227,113,228,4,205,44,230,47,36,239,52,2,200,5,11,116,12,229],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0},{"io_id":200,"original":3013672960,"validated":0}]} 
[2026-09-05 15:43:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1297268857142640640,"timestamp_seconds":1297268857142640.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 15:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882396416001,"66":13189,"39":206,"87":13824,"24":42,"16":128552868000038912,"45":8919942037267122176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-05 15:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882396416001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:43:39] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-05 15:43:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128552868000038912,"km_value":128552868000038.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919942037267122176,"description":"Unknown IO ID 45"} 
[2026-09-05 15:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882396416001,"power":13189,"unknown_39":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":8919942037267122176}} 
[2026-09-05 15:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":174379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769576,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:43:39] local.INFO: GPS data processed {"connection_id":174379,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:43:39] local.INFO: Acknowledgment sent {"connection_id":174379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:43:44] local.INFO: TCP Data received {"connection_id":174381,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:43:44] local.INFO: Processing buffer {"connection_id":174381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:43:44] local.INFO: IMEI packet received {"connection_id":174381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":174381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:43:47] local.INFO: TCP Data received {"connection_id":174381,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:43:47] local.INFO: Processing buffer {"connection_id":174381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:43:47] local.INFO: IMEI packet received {"connection_id":174381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":174381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:43:50] local.INFO: TCP Data received {"connection_id":174381,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:43:50] local.INFO: Processing buffer {"connection_id":174381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:43:50] local.INFO: IMEI packet received {"connection_id":174381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":174381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:43:50] local.INFO: TCP Data received {"connection_id":174381,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0710c36c8012d196880071fed50003d011c26..."} 
[2026-09-05 15:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710c36c8012d196880071fed50003d011c26..."} 
[2026-09-05 15:43:50] local.INFO: Processing buffer {"connection_id":174381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710c36c8012d196880071fed50003d011c26..."} 
[2026-09-05 15:43:50] local.INFO: Packet analysis {"connection_id":174381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710c"} 
[2026-09-05 15:43:50] local.INFO: Extracted packet for processing {"connection_id":174381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710c"} 
[2026-09-05 15:43:50] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882368000001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788603021000,"timestamp_ms":1788603021000,"timestamp_seconds":1788603021,"priority":1,"record_length":96,"hex_timestamp":"000001a0710c36c8"} 
[2026-09-05 15:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 15:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882368000001,"66":12461,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882368000001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:43:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:43:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882368000001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":174381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:43:51] local.INFO: GPS data processed {"connection_id":174381,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:43:51] local.INFO: Acknowledgment sent {"connection_id":174381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:43:52] local.INFO: TCP Data received {"connection_id":174382,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174382,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:43:52] local.INFO: Processing buffer {"connection_id":174382,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:43:52] local.INFO: IMEI packet received {"connection_id":174382,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":174382,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:43:54] local.INFO: TCP Data received {"connection_id":174383,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:43:54] local.INFO: Processing buffer {"connection_id":174383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:43:54] local.INFO: IMEI packet received {"connection_id":174383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":174383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:43:56] local.INFO: TCP Data received {"connection_id":173065,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:43:56] local.INFO: Processing buffer {"connection_id":173065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:43:56] local.INFO: IMEI packet received {"connection_id":173065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":173065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:43:57] local.INFO: TCP Data received {"connection_id":174382,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174382,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:43:57] local.INFO: Processing buffer {"connection_id":174382,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:43:57] local.INFO: IMEI packet received {"connection_id":174382,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":174382,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:43:59] local.INFO: TCP Data received {"connection_id":174382,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:43:59] local.INFO: Processing buffer {"connection_id":174382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:43:59] local.INFO: Packet analysis {"connection_id":174382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710c"} 
[2026-09-05 15:43:59] local.INFO: Extracted packet for processing {"connection_id":174382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710c"} 
[2026-09-05 15:43:59] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882296064001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:43:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788603020000,"timestamp_ms":1788603020000,"timestamp_seconds":1788603020,"priority":1,"record_length":96,"hex_timestamp":"000001a0710c32e0"} 
[2026-09-05 15:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 15:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882296064001,"66":25343,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882296064001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:43:59] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:43:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:43:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882296064001,"power":25343,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":174382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769578,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:43:59] local.INFO: GPS data processed {"connection_id":174382,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:43:59] local.INFO: Acknowledgment sent {"connection_id":174382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:44:00] local.INFO: TCP Data received {"connection_id":174383,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:44:00] local.INFO: Processing buffer {"connection_id":174383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:44:00] local.INFO: IMEI packet received {"connection_id":174383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":174383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:44:01] local.INFO: TCP Data received {"connection_id":173065,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:44:01] local.INFO: Processing buffer {"connection_id":173065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:44:01] local.INFO: IMEI packet received {"connection_id":173065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":173065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:44:01] local.INFO: TCP Data received {"connection_id":174383,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0710ddca8012d7b9fc005e42100001100d526..."} 
[2026-09-05 15:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710ddca8012d7b9fc005e42100001100d526..."} 
[2026-09-05 15:44:01] local.INFO: Processing buffer {"connection_id":174383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710ddca8012d7b9fc005e42100001100d526..."} 
[2026-09-05 15:44:01] local.INFO: Packet analysis {"connection_id":174383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710d"} 
[2026-09-05 15:44:01] local.INFO: Extracted packet for processing {"connection_id":174383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710d"} 
[2026-09-05 15:44:01] local.INFO: GPS Element Parsed {"raw_longitude":763076544,"raw_latitude":98836736,"longitude_deg":76.3076544,"latitude_deg":9.8836736,"altitude":17,"angle":213,"satellites":38,"speed":47,"hex_longitude":"2d7b9fc0","hex_latitude":"05e42100","is_valid_coordinates":true} 
[2026-09-05 15:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882398720001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128553349036376064,"note":"Value kept but may cause issues"} 
[2026-09-05 15:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8914101431498297344,"note":"Value kept but may cause issues"} 
[2026-09-05 15:44:01] 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-09-05 15:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788603129000,"timestamp_ms":1788603129000,"timestamp_seconds":1788603129,"priority":1,"record_length":96,"hex_timestamp":"000001a0710ddca8"} 
[2026-09-05 15:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-05 15:44:01] 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-09-05 15:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882398720001,"66":13472,"39":206,"87":13824,"24":47,"16":128553349036376064,"45":8914101431498297344},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-05 15:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882398720001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:44:01] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-05 15:44:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128553349036376064,"km_value":128553349036376.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8914101431498297344,"description":"Unknown IO ID 45"} 
[2026-09-05 15:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882398720001,"power":13472,"unknown_39":206,"unknown_87":13824,"ignition":47,"odometer":null,"unknown_45":8914101431498297344}} 
[2026-09-05 15:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":174383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769579,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:44:01] local.INFO: GPS data processed {"connection_id":174383,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:44:01] local.INFO: Acknowledgment sent {"connection_id":174383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:44:02] local.INFO: TCP Data received {"connection_id":173065,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0710e22f8012d7dda4006006400000700472e..."} 
[2026-09-05 15:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710e22f8012d7dda4006006400000700472e..."} 
[2026-09-05 15:44:02] local.INFO: Processing buffer {"connection_id":173065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710e22f8012d7dda4006006400000700472e..."} 
[2026-09-05 15:44:02] local.INFO: Packet analysis {"connection_id":173065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710e"} 
[2026-09-05 15:44:02] local.INFO: Extracted packet for processing {"connection_id":173065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710e"} 
[2026-09-05 15:44:02] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":46,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882328576001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:44:02] 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-09-05 15:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788603147000,"timestamp_ms":1788603147000,"timestamp_seconds":1788603147,"priority":1,"record_length":96,"hex_timestamp":"000001a0710e22f8"} 
[2026-09-05 15:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:44:02] 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-09-05 15: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-05 15:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882328576001,"66":25908,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882328576001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:44:02] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:44:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882328576001,"power":25908,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":173065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:44:02] local.INFO: GPS data processed {"connection_id":173065,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:44:02] local.INFO: Acknowledgment sent {"connection_id":173065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:44:03] local.INFO: TCP Data received {"connection_id":174382,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:44:03] local.INFO: Processing buffer {"connection_id":174382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:44:03] local.INFO: Packet analysis {"connection_id":174382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710c"} 
[2026-09-05 15:44:03] local.INFO: Extracted packet for processing {"connection_id":174382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710c"} 
[2026-09-05 15:44:03] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882296064001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:44:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788603020000,"timestamp_ms":1788603020000,"timestamp_seconds":1788603020,"priority":1,"record_length":96,"hex_timestamp":"000001a0710c32e0"} 
[2026-09-05 15:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 15:44: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-09-05 15: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-09-05 15:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882296064001,"66":25343,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882296064001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:44:03] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:44:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:44:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882296064001,"power":25343,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":174382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769581,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:44:03] local.INFO: GPS data processed {"connection_id":174382,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:44:03] local.INFO: Acknowledgment sent {"connection_id":174382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:44:08] local.INFO: TCP Data received {"connection_id":174382,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:44:08] local.INFO: Processing buffer {"connection_id":174382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:44:08] local.INFO: Packet analysis {"connection_id":174382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710c"} 
[2026-09-05 15:44:08] local.INFO: Extracted packet for processing {"connection_id":174382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710c"} 
[2026-09-05 15:44:08] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 15:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882296064001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:44:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788603020000,"timestamp_ms":1788603020000,"timestamp_seconds":1788603020,"priority":1,"record_length":96,"hex_timestamp":"000001a0710c32e0"} 
[2026-09-05 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-09-05 15:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 15:44: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-09-05 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-09-05 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-09-05 15:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882296064001,"66":25343,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882296064001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:44:08] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:44:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:44:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882296064001,"power":25343,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":174382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769582,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:44:08] local.INFO: GPS data processed {"connection_id":174382,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:44:08] local.INFO: Acknowledgment sent {"connection_id":174382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:44:22] local.INFO: TCP Data received {"connection_id":174381,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0710c88d0012d196880071fed50003d011c27..."} 
[2026-09-05 15:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710c88d0012d196880071fed50003d011c27..."} 
[2026-09-05 15:44:22] local.INFO: Processing buffer {"connection_id":174381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710c88d0012d196880071fed50003d011c27..."} 
[2026-09-05 15:44:22] local.INFO: Packet analysis {"connection_id":174381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710c"} 
[2026-09-05 15:44:22] local.INFO: Extracted packet for processing {"connection_id":174381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710c"} 
[2026-09-05 15:44:22] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882373376001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788603042000,"timestamp_ms":1788603042000,"timestamp_seconds":1788603042,"priority":1,"record_length":96,"hex_timestamp":"000001a0710c88d0"} 
[2026-09-05 15:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 15:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882373376001,"66":12461,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882373376001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:44:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:44:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882373376001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":174381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:44:22] local.INFO: GPS data processed {"connection_id":174381,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:44:22] local.INFO: Acknowledgment sent {"connection_id":174381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:44:33] local.INFO: TCP Data received {"connection_id":174383,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0710df800012d7b8cc005e403c8001000d526..."} 
[2026-09-05 15:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710df800012d7b8cc005e403c8001000d526..."} 
[2026-09-05 15:44:33] local.INFO: Processing buffer {"connection_id":174383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710df800012d7b8cc005e403c8001000d526..."} 
[2026-09-05 15:44:33] local.INFO: Packet analysis {"connection_id":174383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710d"} 
[2026-09-05 15:44:33] local.INFO: Extracted packet for processing {"connection_id":174383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710d"} 
[2026-09-05 15:44:33] local.INFO: GPS Element Parsed {"raw_longitude":763071680,"raw_latitude":98829256,"longitude_deg":76.307168,"latitude_deg":9.8829256,"altitude":16,"angle":213,"satellites":38,"speed":54,"hex_longitude":"2d7b8cc0","hex_latitude":"05e403c8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 15:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882401024001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128553782828072960,"note":"Value kept but may cause issues"} 
[2026-09-05 15:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908049719496867840,"note":"Value kept but may cause issues"} 
[2026-09-05 15:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788603136000,"timestamp_ms":1788603136000,"timestamp_seconds":1788603136,"priority":1,"record_length":96,"hex_timestamp":"000001a0710df800"} 
[2026-09-05 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-09-05 15:44:33] 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-09-05 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-05 15:44:33] 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-09-05 15:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 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-09-05 15:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882401024001,"66":13428,"39":206,"87":13824,"24":54,"16":128553782828072960,"45":8908049719496867840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-05 15:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882401024001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:44:33] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-05 15:44:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128553782828072960,"km_value":128553782828072.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908049719496867840,"description":"Unknown IO ID 45"} 
[2026-09-05 15:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882401024001,"power":13428,"unknown_39":206,"unknown_87":13824,"ignition":54,"odometer":null,"unknown_45":8908049719496867840}} 
[2026-09-05 15:44:33] local.INFO: TCP Data received {"connection_id":173065,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0710e22f8012d7dda4006006400000700472e..."} 
[2026-09-05 15:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710e22f8012d7dda4006006400000700472e..."} 
[2026-09-05 15:44:33] local.INFO: Processing buffer {"connection_id":173065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710e22f8012d7dda4006006400000700472e..."} 
[2026-09-05 15:44:33] local.INFO: Packet analysis {"connection_id":173065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710e"} 
[2026-09-05 15:44:33] local.INFO: Extracted packet for processing {"connection_id":173065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710e"} 
[2026-09-05 15:44:33] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":46,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 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-09-05 15:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882328576001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:44:33] 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-09-05 15:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788603147000,"timestamp_ms":1788603147000,"timestamp_seconds":1788603147,"priority":1,"record_length":96,"hex_timestamp":"000001a0710e22f8"} 
[2026-09-05 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-09-05 15:44: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-09-05 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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-05 15:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 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-09-05 15:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882328576001,"66":25908,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882328576001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:44:33] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:44:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882328576001,"power":25908,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":173065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:44:33] local.INFO: GPS data processed {"connection_id":173065,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:44:33] local.INFO: Acknowledgment sent {"connection_id":173065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":174383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769585,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:44:33] local.INFO: GPS data processed {"connection_id":174383,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:44:33] local.INFO: Acknowledgment sent {"connection_id":174383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:44:47] local.INFO: TCP Data received {"connection_id":171964,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:44:47] local.INFO: Processing buffer {"connection_id":171964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:44:47] local.INFO: IMEI packet received {"connection_id":171964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":171964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:44:50] local.INFO: TCP Data received {"connection_id":171965,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:44:50] local.INFO: Processing buffer {"connection_id":171965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:44:50] local.INFO: IMEI packet received {"connection_id":171965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":171965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:44:50] local.INFO: TCP Data received {"connection_id":171965,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:44:50] local.INFO: Processing buffer {"connection_id":171965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:44:50] local.INFO: IMEI packet received {"connection_id":171965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":171965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:44:52] local.INFO: TCP Data received {"connection_id":171964,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:44:52] local.INFO: Processing buffer {"connection_id":171964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:44:52] local.INFO: IMEI packet received {"connection_id":171964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":171964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:44:54] local.INFO: TCP Data received {"connection_id":171964,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:44:54] local.INFO: Processing buffer {"connection_id":171964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:44:54] local.INFO: Packet analysis {"connection_id":171964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710c"} 
[2026-09-05 15:44:54] local.INFO: Extracted packet for processing {"connection_id":171964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710c"} 
[2026-09-05 15:44:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882296064001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:44:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788603020000,"timestamp_ms":1788603020000,"timestamp_seconds":1788603020,"priority":1,"record_length":96,"hex_timestamp":"000001a0710c32e0"} 
[2026-09-05 15:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 15:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882296064001,"66":25343,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882296064001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:44:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:44:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:44:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882296064001,"power":25343,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":171964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769586,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:44:54] local.INFO: GPS data processed {"connection_id":171964,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:44:54] local.INFO: Acknowledgment sent {"connection_id":171964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:44:55] local.INFO: TCP Data received {"connection_id":171670,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:44:55] local.INFO: Processing buffer {"connection_id":171670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:44:55] local.INFO: IMEI packet received {"connection_id":171670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":171670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:44:55] local.INFO: TCP Data received {"connection_id":171965,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:44:55] local.INFO: Processing buffer {"connection_id":171965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:44:55] local.INFO: IMEI packet received {"connection_id":171965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":171965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:44:55] local.INFO: TCP Data received {"connection_id":171965,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0710cdad8012d196880071fed50003d011c25..."} 
[2026-09-05 15:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710cdad8012d196880071fed50003d011c25..."} 
[2026-09-05 15:44:55] local.INFO: Processing buffer {"connection_id":171965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710cdad8012d196880071fed50003d011c25..."} 
[2026-09-05 15:44:55] local.INFO: Packet analysis {"connection_id":171965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710c"} 
[2026-09-05 15:44:55] local.INFO: Extracted packet for processing {"connection_id":171965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710c"} 
[2026-09-05 15:44:55] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882378752001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788603063000,"timestamp_ms":1788603063000,"timestamp_seconds":1788603063,"priority":1,"record_length":96,"hex_timestamp":"000001a0710cdad8"} 
[2026-09-05 15:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:44:55] 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-09-05 15:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 15:44:55] 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-09-05 15:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882378752001,"66":12461,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882378752001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:44:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:44:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882378752001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":171965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:44:55] local.INFO: GPS data processed {"connection_id":171965,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:44:55] local.INFO: Acknowledgment sent {"connection_id":171965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:44:56] local.INFO: TCP Data received {"connection_id":173066,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:44:56] local.INFO: Processing buffer {"connection_id":173066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:44:56] local.INFO: IMEI packet received {"connection_id":173066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":173066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:44:58] local.INFO: TCP Data received {"connection_id":171670,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:44:58] local.INFO: Processing buffer {"connection_id":171670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:44:58] local.INFO: IMEI packet received {"connection_id":171670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":171670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:45:00] local.INFO: TCP Data received {"connection_id":171670,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:45:00] local.INFO: Processing buffer {"connection_id":171670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:45:00] local.INFO: IMEI packet received {"connection_id":171670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":171670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:45:00] local.INFO: TCP Data received {"connection_id":171965,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0710d2ce0012d196880071fed50003d011c26..."} 
[2026-09-05 15:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710d2ce0012d196880071fed50003d011c26..."} 
[2026-09-05 15:45:00] local.INFO: Processing buffer {"connection_id":171965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710d2ce0012d196880071fed50003d011c26..."} 
[2026-09-05 15:45:00] local.INFO: Packet analysis {"connection_id":171965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710d"} 
[2026-09-05 15:45:00] local.INFO: Extracted packet for processing {"connection_id":171965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710d"} 
[2026-09-05 15:45:00] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882384128001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788603084000,"timestamp_ms":1788603084000,"timestamp_seconds":1788603084,"priority":1,"record_length":96,"hex_timestamp":"000001a0710d2ce0"} 
[2026-09-05 15:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:45: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-09-05 15:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 15:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882384128001,"66":12461,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882384128001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:45:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:45:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882384128001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":171965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:45:00] local.INFO: GPS data processed {"connection_id":171965,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:45:00] local.INFO: Acknowledgment sent {"connection_id":171965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:45:01] local.INFO: TCP Data received {"connection_id":173066,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:45:01] local.INFO: Processing buffer {"connection_id":173066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:45:01] local.INFO: IMEI packet received {"connection_id":173066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":173066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:45:02] local.INFO: TCP Data received {"connection_id":171670,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0710e1358012d7b78c005e3e518000e00d427..."} 
[2026-09-05 15:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710e1358012d7b78c005e3e518000e00d427..."} 
[2026-09-05 15:45:02] local.INFO: Processing buffer {"connection_id":171670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710e1358012d7b78c005e3e518000e00d427..."} 
[2026-09-05 15:45:02] local.INFO: Packet analysis {"connection_id":171670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710e"} 
[2026-09-05 15:45:02] local.INFO: Extracted packet for processing {"connection_id":171670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710e"} 
[2026-09-05 15:45:02] local.INFO: GPS Element Parsed {"raw_longitude":763066560,"raw_latitude":98821400,"longitude_deg":76.306656,"latitude_deg":9.88214,"altitude":14,"angle":212,"satellites":39,"speed":51,"hex_longitude":"2d7b78c0","hex_latitude":"05e3e518","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882402816001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128554233799639040,"note":"Value kept but may cause issues"} 
[2026-09-05 15:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902701694937450496,"note":"Value kept but may cause issues"} 
[2026-09-05 15:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788603143000,"timestamp_ms":1788603143000,"timestamp_seconds":1788603143,"priority":1,"record_length":96,"hex_timestamp":"000001a0710e1358"} 
[2026-09-05 15:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:45:02] 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-09-05 15: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-05 15:45:02] 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-09-05 15: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-09-05 15:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882402816001,"66":12961,"39":206,"87":13824,"24":51,"16":128554233799639040,"45":8902701694937450496},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-05 15:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882402816001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:45:02] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-05 15:45:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128554233799639040,"km_value":128554233799639.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902701694937450496,"description":"Unknown IO ID 45"} 
[2026-09-05 15:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882402816001,"power":12961,"unknown_39":206,"unknown_87":13824,"ignition":51,"odometer":null,"unknown_45":8902701694937450496}} 
[2026-09-05 15:45:02] local.INFO: TCP Data received {"connection_id":173066,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0710e22f8012d7dda4006006400000700472e..."} 
[2026-09-05 15:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710e22f8012d7dda4006006400000700472e..."} 
[2026-09-05 15:45:02] local.INFO: Processing buffer {"connection_id":173066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710e22f8012d7dda4006006400000700472e..."} 
[2026-09-05 15:45:02] local.INFO: Packet analysis {"connection_id":173066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710e"} 
[2026-09-05 15:45:02] local.INFO: Extracted packet for processing {"connection_id":173066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710e"} 
[2026-09-05 15:45:02] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":46,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882328576001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:45:02] 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-09-05 15:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788603147000,"timestamp_ms":1788603147000,"timestamp_seconds":1788603147,"priority":1,"record_length":96,"hex_timestamp":"000001a0710e22f8"} 
[2026-09-05 15:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:45:02] 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-09-05 15: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-05 15:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882328576001,"66":25908,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882328576001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:45:02] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:45:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882328576001,"power":25908,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":171670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769589,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:45:02] local.INFO: GPS data processed {"connection_id":171670,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:45:02] local.INFO: Acknowledgment sent {"connection_id":171670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":173066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:45:02] local.INFO: GPS data processed {"connection_id":173066,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:45:02] local.INFO: Acknowledgment sent {"connection_id":173066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:45:06] local.INFO: TCP Data received {"connection_id":171670,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0710e3298012d7b650005e3c7f0000c00d527..."} 
[2026-09-05 15:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710e3298012d7b650005e3c7f0000c00d527..."} 
[2026-09-05 15:45:06] local.INFO: Processing buffer {"connection_id":171670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710e3298012d7b650005e3c7f0000c00d527..."} 
[2026-09-05 15:45:06] local.INFO: Packet analysis {"connection_id":171670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710e"} 
[2026-09-05 15:45:06] local.INFO: Extracted packet for processing {"connection_id":171670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710e"} 
[2026-09-05 15:45:06] local.INFO: GPS Element Parsed {"raw_longitude":763061504,"raw_latitude":98813936,"longitude_deg":76.3061504,"latitude_deg":9.8813936,"altitude":12,"angle":213,"satellites":39,"speed":39,"hex_longitude":"2d7b6500","hex_latitude":"05e3c7f0","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882404608001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128554667591335936,"note":"Value kept but may cause issues"} 
[2026-09-05 15:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897072195401226240,"note":"Value kept but may cause issues"} 
[2026-09-05 15:45:06] 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-09-05 15:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788603151000,"timestamp_ms":1788603151000,"timestamp_seconds":1788603151,"priority":1,"record_length":96,"hex_timestamp":"000001a0710e3298"} 
[2026-09-05 15:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-05 15:45:06] 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-09-05 15: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-09-05 15:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882404608001,"66":13091,"39":206,"87":13824,"24":39,"16":128554667591335936,"45":8897072195401226240},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-05 15:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882404608001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:45:06] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-05 15:45:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-05 15:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128554667591335936,"km_value":128554667591335.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897072195401226240,"description":"Unknown IO ID 45"} 
[2026-09-05 15:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882404608001,"power":13091,"unknown_39":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":8897072195401226240}} 
[2026-09-05 15:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":171670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769591,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:45:06] local.INFO: GPS data processed {"connection_id":171670,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:45:06] local.INFO: Acknowledgment sent {"connection_id":171670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:45:25] local.INFO: TCP Data received {"connection_id":171964,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:45:25] local.INFO: Processing buffer {"connection_id":171964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:45:25] local.INFO: Packet analysis {"connection_id":171964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710c"} 
[2026-09-05 15:45:25] local.INFO: Extracted packet for processing {"connection_id":171964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710c"} 
[2026-09-05 15:45:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882296064001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:45:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788603020000,"timestamp_ms":1788603020000,"timestamp_seconds":1788603020,"priority":1,"record_length":96,"hex_timestamp":"000001a0710c32e0"} 
[2026-09-05 15:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 15:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882296064001,"66":25343,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882296064001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:45:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:45:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:45:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882296064001,"power":25343,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":171964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769592,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:45:26] local.INFO: GPS data processed {"connection_id":171964,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:45:26] local.INFO: Acknowledgment sent {"connection_id":171964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:45:34] local.INFO: TCP Data received {"connection_id":173066,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0710e22f8012d7dda4006006400000700472e..."} 
[2026-09-05 15:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710e22f8012d7dda4006006400000700472e..."} 
[2026-09-05 15:45:34] local.INFO: Processing buffer {"connection_id":173066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710e22f8012d7dda4006006400000700472e..."} 
[2026-09-05 15:45:34] local.INFO: Packet analysis {"connection_id":173066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710e"} 
[2026-09-05 15:45:34] local.INFO: Extracted packet for processing {"connection_id":173066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710e"} 
[2026-09-05 15:45:34] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":46,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882328576001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:45:34] 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-09-05 15:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788603147000,"timestamp_ms":1788603147000,"timestamp_seconds":1788603147,"priority":1,"record_length":96,"hex_timestamp":"000001a0710e22f8"} 
[2026-09-05 15:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:45: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-09-05 15: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-05 15:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882328576001,"66":25908,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882328576001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:45:34] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:45:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882328576001,"power":25908,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":173066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:45:34] local.INFO: GPS data processed {"connection_id":173066,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:45:34] local.INFO: Acknowledgment sent {"connection_id":173066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:45:37] local.INFO: TCP Data received {"connection_id":171670,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07110de30012d7b184005e34ff0000900ce1c..."} 
[2026-09-05 15:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07110de30012d7b184005e34ff0000900ce1c..."} 
[2026-09-05 15:45:37] local.INFO: Processing buffer {"connection_id":171670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07110de30012d7b184005e34ff0000900ce1c..."} 
[2026-09-05 15:45:37] local.INFO: Packet analysis {"connection_id":171670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07110"} 
[2026-09-05 15:45:37] local.INFO: Extracted packet for processing {"connection_id":171670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07110"} 
[2026-09-05 15:45:37] local.INFO: GPS Element Parsed {"raw_longitude":763041856,"raw_latitude":98783216,"longitude_deg":76.3041856,"latitude_deg":9.8783216,"altitude":9,"angle":206,"satellites":28,"speed":3,"hex_longitude":"2d7b1840","hex_latitude":"05e34ff0","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882449664001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128556458592698368,"note":"Value kept but may cause issues"} 
[2026-09-05 15:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870261703859916800,"note":"Value kept but may cause issues"} 
[2026-09-05 15:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788603326000,"timestamp_ms":1788603326000,"timestamp_seconds":1788603326,"priority":1,"record_length":96,"hex_timestamp":"000001a07110de30"} 
[2026-09-05 15:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-05 15:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882449664001,"66":13417,"208":206,"85":15104,"24":3,"16":128556458592698368,"45":8870261703859916800},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 15:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882449664001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:45:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 15:45:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 15:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128556458592698368,"km_value":128556458592698.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870261703859916800,"description":"Unknown IO ID 45"} 
[2026-09-05 15:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882449664001,"power":13417,"unknown_208":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8870261703859916800}} 
[2026-09-05 15:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":171670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769594,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:45:37] local.INFO: GPS data processed {"connection_id":171670,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:45:37] local.INFO: Acknowledgment sent {"connection_id":171670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:45:45] local.INFO: TCP Data received {"connection_id":174384,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:45:45] local.INFO: Processing buffer {"connection_id":174384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:45:45] local.INFO: IMEI packet received {"connection_id":174384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":174384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:45:48] local.INFO: TCP Data received {"connection_id":174385,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174385,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:45:48] local.INFO: Processing buffer {"connection_id":174385,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:45:48] local.INFO: IMEI packet received {"connection_id":174385,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":174385,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:45:50] local.INFO: TCP Data received {"connection_id":174384,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:45:50] local.INFO: Processing buffer {"connection_id":174384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:45:50] local.INFO: IMEI packet received {"connection_id":174384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":174384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:45:51] local.INFO: TCP Data received {"connection_id":174384,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0710d7ee8012d196880071fed50003d011c25..."} 
[2026-09-05 15:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710d7ee8012d196880071fed50003d011c25..."} 
[2026-09-05 15:45:51] local.INFO: Processing buffer {"connection_id":174384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710d7ee8012d196880071fed50003d011c25..."} 
[2026-09-05 15:45:51] local.INFO: Packet analysis {"connection_id":174384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710d"} 
[2026-09-05 15:45:51] local.INFO: Extracted packet for processing {"connection_id":174384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710d"} 
[2026-09-05 15:45:51] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882389504001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788603105000,"timestamp_ms":1788603105000,"timestamp_seconds":1788603105,"priority":1,"record_length":96,"hex_timestamp":"000001a0710d7ee8"} 
[2026-09-05 15:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:45:51] 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-09-05 15:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 15:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:45:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882389504001,"66":12406,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882389504001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:45:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:45:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882389504001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":174384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:45:51] local.INFO: GPS data processed {"connection_id":174384,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:45:51] local.INFO: Acknowledgment sent {"connection_id":174384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:45:52] local.INFO: TCP Data received {"connection_id":174385,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174385,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:45:52] local.INFO: Processing buffer {"connection_id":174385,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:45:52] local.INFO: IMEI packet received {"connection_id":174385,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":174385,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:45:53] local.INFO: TCP Data received {"connection_id":174385,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:45:53] local.INFO: Processing buffer {"connection_id":174385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710c32e0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:45:53] local.INFO: Packet analysis {"connection_id":174385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710c"} 
[2026-09-05 15:45:53] local.INFO: Extracted packet for processing {"connection_id":174385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710c"} 
[2026-09-05 15:45:53] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882296064001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:45:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788603020000,"timestamp_ms":1788603020000,"timestamp_seconds":1788603020,"priority":1,"record_length":96,"hex_timestamp":"000001a0710c32e0"} 
[2026-09-05 15:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 15:45:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:45:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174385,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174385,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882296064001,"66":25343,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882296064001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:45:53] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:45:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:45:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882296064001,"power":25343,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":174385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769596,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:45:53] local.INFO: GPS data processed {"connection_id":174385,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:45:53] local.INFO: Acknowledgment sent {"connection_id":174385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:45:55] local.INFO: TCP Data received {"connection_id":173067,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:45:55] local.INFO: Processing buffer {"connection_id":173067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:45:55] local.INFO: IMEI packet received {"connection_id":173067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":173067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:45:59] local.INFO: TCP Data received {"connection_id":173067,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:45:59] local.INFO: Processing buffer {"connection_id":173067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:45:59] local.INFO: IMEI packet received {"connection_id":173067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":173067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:46:00] local.INFO: TCP Data received {"connection_id":173067,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:46:00] local.INFO: Processing buffer {"connection_id":173067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:46:00] local.INFO: IMEI packet received {"connection_id":173067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":173067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:46:01] local.INFO: TCP Data received {"connection_id":171671,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:46:01] local.INFO: Processing buffer {"connection_id":171671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:46:01] local.INFO: IMEI packet received {"connection_id":171671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":171671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:46:02] local.INFO: TCP Data received {"connection_id":173067,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07110f1b8012d7b180005e34f08000900c11c..."} 
[2026-09-05 15:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07110f1b8012d7b180005e34f08000900c11c..."} 
[2026-09-05 15:46:02] local.INFO: Processing buffer {"connection_id":173067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07110f1b8012d7b180005e34f08000900c11c..."} 
[2026-09-05 15:46:02] local.INFO: Packet analysis {"connection_id":173067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07110"} 
[2026-09-05 15:46:02] local.INFO: Extracted packet for processing {"connection_id":173067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07110"} 
[2026-09-05 15:46:02] local.INFO: GPS Element Parsed {"raw_longitude":763041792,"raw_latitude":98782984,"longitude_deg":76.3041792,"latitude_deg":9.8782984,"altitude":9,"angle":193,"satellites":28,"speed":0,"hex_longitude":"2d7b1800","hex_latitude":"05e34f08","is_valid_coordinates":true} 
[2026-09-05 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-09-05 15:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882451456001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128556471477600256,"note":"Value kept but may cause issues"} 
[2026-09-05 15:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869909860138872832,"note":"Value kept but may cause issues"} 
[2026-09-05 15:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788603331000,"timestamp_ms":1788603331000,"timestamp_seconds":1788603331,"priority":1,"record_length":96,"hex_timestamp":"000001a07110f1b8"} 
[2026-09-05 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-09-05 15:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-05 15:46:02] 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-09-05 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-09-05 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-09-05 15:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882451456001,"66":13896,"208":206,"85":15104,"24":0,"16":128556471477600256,"45":8869909860138872832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 15:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882451456001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:46:02] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 15:46:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 15:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128556471477600256,"km_value":128556471477600.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869909860138872832,"description":"Unknown IO ID 45"} 
[2026-09-05 15:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882451456001,"power":13896,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8869909860138872832}} 
[2026-09-05 15:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":173067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769597,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:46:02] local.INFO: GPS data processed {"connection_id":173067,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:46:02] local.INFO: Acknowledgment sent {"connection_id":173067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:46:04] local.INFO: TCP Data received {"connection_id":173067,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07110f988012d7b178005e34ef0000900d41b..."} 
[2026-09-05 15:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07110f988012d7b178005e34ef0000900d41b..."} 
[2026-09-05 15:46:04] local.INFO: Processing buffer {"connection_id":173067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07110f988012d7b178005e34ef0000900d41b..."} 
[2026-09-05 15:46:04] local.INFO: Packet analysis {"connection_id":173067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07110"} 
[2026-09-05 15:46:04] local.INFO: Extracted packet for processing {"connection_id":173067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07110"} 
[2026-09-05 15:46:04] local.INFO: GPS Element Parsed {"raw_longitude":763041664,"raw_latitude":98782960,"longitude_deg":76.3041664,"latitude_deg":9.878296,"altitude":9,"angle":212,"satellites":27,"speed":0,"hex_longitude":"2d7b1780","hex_latitude":"05e34ef0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 15:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882452736001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128556475772567552,"note":"Value kept but may cause issues"} 
[2026-09-05 15:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869839491394635776,"note":"Value kept but may cause issues"} 
[2026-09-05 15:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788603333000,"timestamp_ms":1788603333000,"timestamp_seconds":1788603333,"priority":1,"record_length":96,"hex_timestamp":"000001a07110f988"} 
[2026-09-05 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-09-05 15:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-09-05 15:46: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-09-05 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-09-05 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-09-05 15:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882452736001,"66":13798,"208":206,"85":15104,"24":0,"16":128556475772567552,"45":8869839491394635776},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 15:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882452736001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:46:04] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 15:46:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 15:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128556475772567552,"km_value":128556475772567.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869839491394635776,"description":"Unknown IO ID 45"} 
[2026-09-05 15:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882452736001,"power":13798,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8869839491394635776}} 
[2026-09-05 15:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":173067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769598,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:46:04] local.INFO: GPS data processed {"connection_id":173067,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:46:04] local.INFO: Acknowledgment sent {"connection_id":173067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:46:06] local.INFO: TCP Data received {"connection_id":171671,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:46:06] local.INFO: Processing buffer {"connection_id":171671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:46:06] local.INFO: IMEI packet received {"connection_id":171671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":171671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:46:08] local.INFO: TCP Data received {"connection_id":171671,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0710e22f8012d7dda4006006400000700472e..."} 
[2026-09-05 15:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710e22f8012d7dda4006006400000700472e..."} 
[2026-09-05 15:46:08] local.INFO: Processing buffer {"connection_id":171671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710e22f8012d7dda4006006400000700472e..."} 
[2026-09-05 15:46:08] local.INFO: Packet analysis {"connection_id":171671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710e"} 
[2026-09-05 15:46:08] local.INFO: Extracted packet for processing {"connection_id":171671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710e"} 
[2026-09-05 15:46:08] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":46,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882328576001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:46:08] 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-09-05 15:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788603147000,"timestamp_ms":1788603147000,"timestamp_seconds":1788603147,"priority":1,"record_length":96,"hex_timestamp":"000001a0710e22f8"} 
[2026-09-05 15:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:46: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-09-05 15: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-05 15:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882328576001,"66":25908,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882328576001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:46:08] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:46:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882328576001,"power":25908,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":171671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:46:08] local.INFO: GPS data processed {"connection_id":171671,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:46:08] local.INFO: Acknowledgment sent {"connection_id":171671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:46:12] local.INFO: TCP Data received {"connection_id":171671,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0710e22f8012d7dda4006006400000700472e..."} 
[2026-09-05 15:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710e22f8012d7dda4006006400000700472e..."} 
[2026-09-05 15:46:12] local.INFO: Processing buffer {"connection_id":171671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710e22f8012d7dda4006006400000700472e..."} 
[2026-09-05 15:46:12] local.INFO: Packet analysis {"connection_id":171671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710e"} 
[2026-09-05 15:46:12] local.INFO: Extracted packet for processing {"connection_id":171671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710e"} 
[2026-09-05 15:46:12] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":46,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882328576001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:46:12] 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-09-05 15:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788603147000,"timestamp_ms":1788603147000,"timestamp_seconds":1788603147,"priority":1,"record_length":96,"hex_timestamp":"000001a0710e22f8"} 
[2026-09-05 15:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-05 15:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882328576001,"66":25908,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882328576001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:46:12] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:46:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882328576001,"power":25908,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":171671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:46:12] local.INFO: GPS data processed {"connection_id":171671,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:46:12] local.INFO: Acknowledgment sent {"connection_id":171671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:46:22] local.INFO: TCP Data received {"connection_id":174384,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0710dd0f0012d196880071fed50003d011c25..."} 
[2026-09-05 15:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710dd0f0012d196880071fed50003d011c25..."} 
[2026-09-05 15:46:22] local.INFO: Processing buffer {"connection_id":174384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710dd0f0012d196880071fed50003d011c25..."} 
[2026-09-05 15:46:22] local.INFO: Packet analysis {"connection_id":174384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710d"} 
[2026-09-05 15:46:22] local.INFO: Extracted packet for processing {"connection_id":174384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710d"} 
[2026-09-05 15:46:22] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882394880001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788603126000,"timestamp_ms":1788603126000,"timestamp_seconds":1788603126,"priority":1,"record_length":96,"hex_timestamp":"000001a0710dd0f0"} 
[2026-09-05 15:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 15:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882394880001,"66":12428,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882394880001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:46:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:46:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882394880001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":174384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:46:22] local.INFO: GPS data processed {"connection_id":174384,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:46:22] local.INFO: Acknowledgment sent {"connection_id":174384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:46:24] local.INFO: TCP Data received {"connection_id":174385,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07110caa8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07110caa8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:46:24] local.INFO: Processing buffer {"connection_id":174385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07110caa8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:46:24] local.INFO: Packet analysis {"connection_id":174385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07110"} 
[2026-09-05 15:46:24] local.INFO: Extracted packet for processing {"connection_id":174385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07110"} 
[2026-09-05 15:46:24] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882373120001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:46:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788603321000,"timestamp_ms":1788603321000,"timestamp_seconds":1788603321,"priority":1,"record_length":96,"hex_timestamp":"000001a07110caa8"} 
[2026-09-05 15:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 15:46:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:46:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174385,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174385,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882373120001,"66":25343,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882373120001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:46:24] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:46:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:46:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882373120001,"power":25343,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":174385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769602,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:46:25] local.INFO: GPS data processed {"connection_id":174385,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:46:25] local.INFO: Acknowledgment sent {"connection_id":174385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:46:35] local.INFO: TCP Data received {"connection_id":173067,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071112480012d7b154005e34980000900c21c..."} 
[2026-09-05 15:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071112480012d7b154005e34980000900c21c..."} 
[2026-09-05 15:46:35] local.INFO: Processing buffer {"connection_id":173067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071112480012d7b154005e34980000900c21c..."} 
[2026-09-05 15:46:35] local.INFO: Packet analysis {"connection_id":173067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07111"} 
[2026-09-05 15:46:35] local.INFO: Extracted packet for processing {"connection_id":173067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07111"} 
[2026-09-05 15:46:35] local.INFO: GPS Element Parsed {"raw_longitude":763041088,"raw_latitude":98781568,"longitude_deg":76.3041088,"latitude_deg":9.8781568,"altitude":9,"angle":194,"satellites":28,"speed":8,"hex_longitude":"2d7b1540","hex_latitude":"05e34980","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882453248001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128556553081978880,"note":"Value kept but may cause issues"} 
[2026-09-05 15:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869698753906274304,"note":"Value kept but may cause issues"} 
[2026-09-05 15:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788603344000,"timestamp_ms":1788603344000,"timestamp_seconds":1788603344,"priority":1,"record_length":96,"hex_timestamp":"000001a071112480"} 
[2026-09-05 15:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 15:46:35] 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-09-05 15: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-09-05 15:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882453248001,"66":13678,"208":206,"85":15104,"24":8,"16":128556553081978880,"45":8869698753906274304},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 15:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882453248001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:46:35] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 15:46:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 15:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128556553081978880,"km_value":128556553081978.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869698753906274304,"description":"Unknown IO ID 45"} 
[2026-09-05 15:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882453248001,"power":13678,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8869698753906274304}} 
[2026-09-05 15:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":173067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769603,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:46:35] local.INFO: GPS data processed {"connection_id":173067,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:46:35] local.INFO: Acknowledgment sent {"connection_id":173067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:46:45] local.INFO: TCP Data received {"connection_id":173069,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:46:45] local.INFO: Processing buffer {"connection_id":173069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:46:45] local.INFO: IMEI packet received {"connection_id":173069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":173069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:46:47] local.INFO: TCP Data received {"connection_id":174386,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174386,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:46:47] local.INFO: Processing buffer {"connection_id":174386,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:46:47] local.INFO: IMEI packet received {"connection_id":174386,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":174386,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:46:50] local.INFO: TCP Data received {"connection_id":173069,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:46:50] local.INFO: Processing buffer {"connection_id":173069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:46:50] local.INFO: IMEI packet received {"connection_id":173069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":173069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:46:51] local.INFO: TCP Data received {"connection_id":173069,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0710e22f8012d196880071fed50003d011c24..."} 
[2026-09-05 15:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710e22f8012d196880071fed50003d011c24..."} 
[2026-09-05 15:46:51] local.INFO: Processing buffer {"connection_id":173069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710e22f8012d196880071fed50003d011c24..."} 
[2026-09-05 15:46:51] local.INFO: Packet analysis {"connection_id":173069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710e"} 
[2026-09-05 15:46:51] local.INFO: Extracted packet for processing {"connection_id":173069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710e"} 
[2026-09-05 15:46:51] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882400256001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788603147000,"timestamp_ms":1788603147000,"timestamp_seconds":1788603147,"priority":1,"record_length":96,"hex_timestamp":"000001a0710e22f8"} 
[2026-09-05 15:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:46:51] 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-09-05 15:46:51] local.INFO: IO Element 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-09-05 15:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882400256001,"66":12461,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882400256001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:46:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:46:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882400256001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":173069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:46:51] local.INFO: GPS data processed {"connection_id":173069,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:46:51] local.INFO: Acknowledgment sent {"connection_id":173069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:46:52] local.INFO: TCP Data received {"connection_id":174386,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174386,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:46:52] local.INFO: Processing buffer {"connection_id":174386,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:46:52] local.INFO: IMEI packet received {"connection_id":174386,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":174386,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:46:54] local.INFO: TCP Data received {"connection_id":174386,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07110caa8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07110caa8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:46:54] local.INFO: Processing buffer {"connection_id":174386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07110caa8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:46:54] local.INFO: Packet analysis {"connection_id":174386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07110"} 
[2026-09-05 15:46:54] local.INFO: Extracted packet for processing {"connection_id":174386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07110"} 
[2026-09-05 15:46:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882373120001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:46:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788603321000,"timestamp_ms":1788603321000,"timestamp_seconds":1788603321,"priority":1,"record_length":96,"hex_timestamp":"000001a07110caa8"} 
[2026-09-05 15:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 15:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174386,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174386,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882373120001,"66":25343,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882373120001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:46:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:46:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:46:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882373120001,"power":25343,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":174386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769605,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:46:54] local.INFO: GPS data processed {"connection_id":174386,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:46:54] local.INFO: Acknowledgment sent {"connection_id":174386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:46:55] local.INFO: TCP Data received {"connection_id":171673,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:46:55] local.INFO: Processing buffer {"connection_id":171673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:46:55] local.INFO: IMEI packet received {"connection_id":171673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":171673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:46:56] local.INFO: TCP Data received {"connection_id":171672,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:46:56] local.INFO: Processing buffer {"connection_id":171672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:46:56] local.INFO: IMEI packet received {"connection_id":171672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":171672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:47:00] local.INFO: TCP Data received {"connection_id":171673,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:47:00] local.INFO: Processing buffer {"connection_id":171673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:47:00] local.INFO: IMEI packet received {"connection_id":171673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":171673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:47:01] local.INFO: TCP Data received {"connection_id":171673,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071112868012d7b148005e348c8000900d11d..."} 
[2026-09-05 15:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071112868012d7b148005e348c8000900d11d..."} 
[2026-09-05 15:47:01] local.INFO: Processing buffer {"connection_id":171673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071112868012d7b148005e348c8000900d11d..."} 
[2026-09-05 15:47:01] local.INFO: Packet analysis {"connection_id":171673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07111"} 
[2026-09-05 15:47:01] local.INFO: Extracted packet for processing {"connection_id":171673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07111"} 
[2026-09-05 15:47:01] local.INFO: GPS Element Parsed {"raw_longitude":763040896,"raw_latitude":98781384,"longitude_deg":76.3040896,"latitude_deg":9.8781384,"altitude":9,"angle":209,"satellites":29,"speed":7,"hex_longitude":"2d7b1480","hex_latitude":"05e348c8","is_valid_coordinates":true} 
[2026-09-05 15:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882456064001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128556565966880768,"note":"Value kept but may cause issues"} 
[2026-09-05 15:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869065435208318976,"note":"Value kept but may cause issues"} 
[2026-09-05 15:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788603345000,"timestamp_ms":1788603345000,"timestamp_seconds":1788603345,"priority":1,"record_length":96,"hex_timestamp":"000001a071112868"} 
[2026-09-05 15:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:47:01] 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-09-05 15:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-05 15:47:01] 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-09-05 15:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882456064001,"66":13917,"208":206,"85":15104,"24":7,"16":128556565966880768,"45":8869065435208318976},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 15:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882456064001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:47:01] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 15:47:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 15:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128556565966880768,"km_value":128556565966880.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869065435208318976,"description":"Unknown IO ID 45"} 
[2026-09-05 15:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882456064001,"power":13917,"unknown_208":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8869065435208318976}} 
[2026-09-05 15:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":171673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:47:01] local.INFO: GPS data processed {"connection_id":171673,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:47:01] local.INFO: Acknowledgment sent {"connection_id":171673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:47:01] local.INFO: TCP Data received {"connection_id":171672,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:47:01] local.INFO: Processing buffer {"connection_id":171672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:47:01] local.INFO: IMEI packet received {"connection_id":171672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":171672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:47:02] local.INFO: TCP Data received {"connection_id":171672,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0710e22f8012d7dda4006006400000700472e..."} 
[2026-09-05 15:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710e22f8012d7dda4006006400000700472e..."} 
[2026-09-05 15:47:02] local.INFO: Processing buffer {"connection_id":171672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710e22f8012d7dda4006006400000700472e..."} 
[2026-09-05 15:47:02] local.INFO: Packet analysis {"connection_id":171672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710e"} 
[2026-09-05 15:47:02] local.INFO: Extracted packet for processing {"connection_id":171672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710e"} 
[2026-09-05 15:47:02] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":46,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882328576001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:47:02] 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-09-05 15:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788603147000,"timestamp_ms":1788603147000,"timestamp_seconds":1788603147,"priority":1,"record_length":96,"hex_timestamp":"000001a0710e22f8"} 
[2026-09-05 15:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:47:02] 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-09-05 15:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-05 15:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882328576001,"66":25908,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882328576001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:47:02] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:47:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882328576001,"power":25908,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":171672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:47:02] local.INFO: GPS data processed {"connection_id":171672,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:47:02] local.INFO: Acknowledgment sent {"connection_id":171672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:47:20] local.INFO: TCP Data received {"connection_id":174387,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174387,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:47:20] local.INFO: Processing buffer {"connection_id":174387,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:47:20] local.INFO: IMEI packet received {"connection_id":174387,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 15:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":174387,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:47:21] local.INFO: TCP Data received {"connection_id":174387,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a071112480012d0c3d00070644d80014006e15..."} 
[2026-09-05 15:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071112480012d0c3d00070644d80014006e15..."} 
[2026-09-05 15:47:21] local.INFO: Processing buffer {"connection_id":174387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071112480012d0c3d00070644d80014006e15..."} 
[2026-09-05 15:47:21] local.INFO: Packet analysis {"connection_id":174387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07111"} 
[2026-09-05 15:47:21] local.INFO: Extracted packet for processing {"connection_id":174387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07111"} 
[2026-09-05 15:47:21] local.INFO: GPS Element Parsed {"raw_longitude":755776768,"raw_latitude":117851352,"longitude_deg":75.5776768,"latitude_deg":11.7851352,"altitude":20,"angle":110,"satellites":21,"speed":8,"hex_longitude":"2d0c3d00","hex_latitude":"070644d8","is_valid_coordinates":true} 
[2026-09-05 15:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882455552001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30351039232212992,"note":"Value kept but may cause issues"} 
[2026-09-05 15:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881509288483569664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788603344000,"timestamp_ms":1788603344000,"timestamp_seconds":1788603344,"priority":1,"record_length":96,"hex_timestamp":"000001a071112480"} 
[2026-09-05 15:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:47: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-09-05 15:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-05 15:47:21] 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-09-05 15:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882455552001,"66":14548,"164":206,"94":10240,"24":8,"16":30351039232212992,"45":881509288483569664},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-05 15:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882455552001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:47:21] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-05 15:47:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 15:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30351039232212992,"km_value":30351039232212.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":881509288483569664,"description":"Unknown IO ID 45"} 
[2026-09-05 15:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882455552001,"power":14548,"unknown_164":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":881509288483569664}} 
[2026-09-05 15:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":174387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769608,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:47:21] local.INFO: GPS data processed {"connection_id":174387,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:47:21] local.INFO: Acknowledgment sent {"connection_id":174387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:47:22] local.INFO: TCP Data received {"connection_id":173069,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0710e7500012d196880071fed50003d011c26..."} 
[2026-09-05 15:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710e7500012d196880071fed50003d011c26..."} 
[2026-09-05 15:47:22] local.INFO: Processing buffer {"connection_id":173069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710e7500012d196880071fed50003d011c26..."} 
[2026-09-05 15:47:22] local.INFO: Packet analysis {"connection_id":173069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710e"} 
[2026-09-05 15:47:22] local.INFO: Extracted packet for processing {"connection_id":173069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710e"} 
[2026-09-05 15:47:22] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882405632001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788603168000,"timestamp_ms":1788603168000,"timestamp_seconds":1788603168,"priority":1,"record_length":96,"hex_timestamp":"000001a0710e7500"} 
[2026-09-05 15:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 15:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882405632001,"66":12461,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882405632001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:47:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:47:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882405632001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":173069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:47:22] local.INFO: GPS data processed {"connection_id":173069,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:47:22] local.INFO: Acknowledgment sent {"connection_id":173069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:47:25] local.INFO: TCP Data received {"connection_id":174386,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07110caa8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07110caa8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:47:25] local.INFO: Processing buffer {"connection_id":174386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07110caa8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:47:25] local.INFO: Packet analysis {"connection_id":174386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07110"} 
[2026-09-05 15:47:25] local.INFO: Extracted packet for processing {"connection_id":174386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07110"} 
[2026-09-05 15:47:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882373120001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:47:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788603321000,"timestamp_ms":1788603321000,"timestamp_seconds":1788603321,"priority":1,"record_length":96,"hex_timestamp":"000001a07110caa8"} 
[2026-09-05 15:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 15:47:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174386,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174386,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882373120001,"66":25343,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882373120001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:47:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:47:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:47:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882373120001,"power":25343,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":174386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769610,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:47:25] local.INFO: GPS data processed {"connection_id":174386,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:47:25] local.INFO: Acknowledgment sent {"connection_id":174386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:47:32] local.INFO: TCP Data received {"connection_id":171673,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071115748012d7b120005e34258000900c11b..."} 
[2026-09-05 15:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071115748012d7b120005e34258000900c11b..."} 
[2026-09-05 15:47:32] local.INFO: Processing buffer {"connection_id":171673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071115748012d7b120005e34258000900c11b..."} 
[2026-09-05 15:47:32] local.INFO: Packet analysis {"connection_id":171673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07111"} 
[2026-09-05 15:47:32] local.INFO: Extracted packet for processing {"connection_id":171673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07111"} 
[2026-09-05 15:47:32] local.INFO: GPS Element Parsed {"raw_longitude":763040256,"raw_latitude":98779736,"longitude_deg":76.3040256,"latitude_deg":9.8779736,"altitude":9,"angle":193,"satellites":27,"speed":6,"hex_longitude":"2d7b1200","hex_latitude":"05e34258","is_valid_coordinates":true} 
[2026-09-05 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-09-05 15:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882456320001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128556656161193984,"note":"Value kept but may cause issues"} 
[2026-09-05 15:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868854328975738880,"note":"Value kept but may cause issues"} 
[2026-09-05 15:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788603357000,"timestamp_ms":1788603357000,"timestamp_seconds":1788603357,"priority":1,"record_length":96,"hex_timestamp":"000001a071115748"} 
[2026-09-05 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-09-05 15:47: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-09-05 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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-05 15:47: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-09-05 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-09-05 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-09-05 15:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882456320001,"66":13222,"208":206,"85":15104,"24":6,"16":128556656161193984,"45":8868854328975738880},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 15:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882456320001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:47:32] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 15:47:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 15:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128556656161193984,"km_value":128556656161193.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868854328975738880,"description":"Unknown IO ID 45"} 
[2026-09-05 15:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882456320001,"power":13222,"unknown_208":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8868854328975738880}} 
[2026-09-05 15:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":171673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:47:32] local.INFO: GPS data processed {"connection_id":171673,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:47:32] local.INFO: Acknowledgment sent {"connection_id":171673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:47:34] local.INFO: TCP Data received {"connection_id":171672,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0710e22f8012d7dda4006006400000700472e..."} 
[2026-09-05 15:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710e22f8012d7dda4006006400000700472e..."} 
[2026-09-05 15:47:34] local.INFO: Processing buffer {"connection_id":171672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710e22f8012d7dda4006006400000700472e..."} 
[2026-09-05 15:47:34] local.INFO: Packet analysis {"connection_id":171672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710e"} 
[2026-09-05 15:47:34] local.INFO: Extracted packet for processing {"connection_id":171672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710e"} 
[2026-09-05 15:47:34] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":46,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882328576001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:47:34] 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-09-05 15:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788603147000,"timestamp_ms":1788603147000,"timestamp_seconds":1788603147,"priority":1,"record_length":96,"hex_timestamp":"000001a0710e22f8"} 
[2026-09-05 15:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:47: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-09-05 15: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-05 15:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882328576001,"66":25908,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882328576001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:47:34] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:47:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882328576001,"power":25908,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":171672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:47:34] local.INFO: GPS data processed {"connection_id":171672,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:47:34] local.INFO: Acknowledgment sent {"connection_id":171672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:47:45] local.INFO: TCP Data received {"connection_id":174388,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:47:45] local.INFO: Processing buffer {"connection_id":174388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:47:45] local.INFO: IMEI packet received {"connection_id":174388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":174388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:47:50] local.INFO: TCP Data received {"connection_id":174388,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:47:50] local.INFO: Processing buffer {"connection_id":174388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:47:50] local.INFO: IMEI packet received {"connection_id":174388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":174388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:47:50] local.INFO: TCP Data received {"connection_id":174388,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0710ec708012d196880071fed50003d011c25..."} 
[2026-09-05 15:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710ec708012d196880071fed50003d011c25..."} 
[2026-09-05 15:47:50] local.INFO: Processing buffer {"connection_id":174388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710ec708012d196880071fed50003d011c25..."} 
[2026-09-05 15:47:50] local.INFO: Packet analysis {"connection_id":174388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710e"} 
[2026-09-05 15:47:50] local.INFO: Extracted packet for processing {"connection_id":174388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710e"} 
[2026-09-05 15:47:50] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882411008001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788603189000,"timestamp_ms":1788603189000,"timestamp_seconds":1788603189,"priority":1,"record_length":96,"hex_timestamp":"000001a0710ec708"} 
[2026-09-05 15:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 15:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882411008001,"66":12113,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882411008001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:47:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:47:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882411008001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":174388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:47:50] local.INFO: GPS data processed {"connection_id":174388,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:47:50] local.INFO: Acknowledgment sent {"connection_id":174388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:47:52] local.INFO: TCP Data received {"connection_id":173070,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173070,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:47:52] local.INFO: Processing buffer {"connection_id":173070,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:47:52] local.INFO: IMEI packet received {"connection_id":173070,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":173070,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:47:53] local.INFO: TCP Data received {"connection_id":174387,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07112ed88012d0cb7000705cde80017009216..."} 
[2026-09-05 15:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07112ed88012d0cb7000705cde80017009216..."} 
[2026-09-05 15:47:53] local.INFO: Processing buffer {"connection_id":174387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07112ed88012d0cb7000705cde80017009216..."} 
[2026-09-05 15:47:53] local.INFO: Packet analysis {"connection_id":174387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07112"} 
[2026-09-05 15:47:53] local.INFO: Extracted packet for processing {"connection_id":174387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07112"} 
[2026-09-05 15:47:53] local.INFO: GPS Element Parsed {"raw_longitude":755808000,"raw_latitude":117820904,"longitude_deg":75.5808,"latitude_deg":11.7820904,"altitude":23,"angle":146,"satellites":22,"speed":13,"hex_longitude":"2d0cb700","hex_latitude":"0705cde8","is_valid_coordinates":true} 
[2026-09-05 15:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882483712001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30353191010828288,"note":"Value kept but may cause issues"} 
[2026-09-05 15:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912682642147127296,"note":"Value kept but may cause issues"} 
[2026-09-05 15:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788603461000,"timestamp_ms":1788603461000,"timestamp_seconds":1788603461,"priority":1,"record_length":96,"hex_timestamp":"000001a07112ed88"} 
[2026-09-05 15:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-05 15:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882483712001,"66":14515,"220":206,"94":10240,"24":13,"16":30353191010828288,"45":912682642147127296},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-05 15:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882483712001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:47:53] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-05 15:47:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 15:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30353191010828288,"km_value":30353191010828.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":912682642147127296,"description":"Unknown IO ID 45"} 
[2026-09-05 15:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882483712001,"power":14515,"unknown_220":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":912682642147127296}} 
[2026-09-05 15:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":174387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769614,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:47:53] local.INFO: GPS data processed {"connection_id":174387,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:47:53] local.INFO: Acknowledgment sent {"connection_id":174387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:47:56] local.INFO: TCP Data received {"connection_id":174389,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:47:56] local.INFO: Processing buffer {"connection_id":174389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:47:56] local.INFO: IMEI packet received {"connection_id":174389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":174389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:47:57] local.INFO: TCP Data received {"connection_id":173070,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173070,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:47:57] local.INFO: Processing buffer {"connection_id":173070,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:47:57] local.INFO: IMEI packet received {"connection_id":173070,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":173070,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:47:59] local.INFO: TCP Data received {"connection_id":173070,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07110caa8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07110caa8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:47:59] local.INFO: Processing buffer {"connection_id":173070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07110caa8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:47:59] local.INFO: Packet analysis {"connection_id":173070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07110"} 
[2026-09-05 15:47:59] local.INFO: Extracted packet for processing {"connection_id":173070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07110"} 
[2026-09-05 15:47:59] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882373120001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:47:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788603321000,"timestamp_ms":1788603321000,"timestamp_seconds":1788603321,"priority":1,"record_length":96,"hex_timestamp":"000001a07110caa8"} 
[2026-09-05 15:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 15:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173070,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173070,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882373120001,"66":25343,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882373120001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:47:59] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:47:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:47:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882373120001,"power":25343,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":173070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769615,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:47:59] local.INFO: GPS data processed {"connection_id":173070,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:47:59] local.INFO: Acknowledgment sent {"connection_id":173070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:48:00] local.INFO: TCP Data received {"connection_id":171967,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:48:00] local.INFO: Processing buffer {"connection_id":171967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:48:00] local.INFO: IMEI packet received {"connection_id":171967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":171967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:48:01] local.INFO: TCP Data received {"connection_id":171967,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:48:01] local.INFO: Processing buffer {"connection_id":171967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:48:01] local.INFO: IMEI packet received {"connection_id":171967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":171967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:48:01] local.INFO: TCP Data received {"connection_id":174389,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:48:01] local.INFO: Processing buffer {"connection_id":174389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:48:01] local.INFO: IMEI packet received {"connection_id":174389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":174389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:48:03] local.INFO: TCP Data received {"connection_id":173070,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07110caa8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07110caa8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:48:03] local.INFO: Processing buffer {"connection_id":173070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07110caa8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:48:03] local.INFO: Packet analysis {"connection_id":173070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07110"} 
[2026-09-05 15:48:03] local.INFO: Extracted packet for processing {"connection_id":173070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07110"} 
[2026-09-05 15:48:03] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 15:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882373120001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788603321000,"timestamp_ms":1788603321000,"timestamp_seconds":1788603321,"priority":1,"record_length":96,"hex_timestamp":"000001a07110caa8"} 
[2026-09-05 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-09-05 15:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 15: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-09-05 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-09-05 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-09-05 15:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173070,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173070,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882373120001,"66":25343,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882373120001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:48:03] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:48:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:48:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882373120001,"power":25343,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":173070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769616,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:48:03] local.INFO: GPS data processed {"connection_id":173070,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:48:03] local.INFO: Acknowledgment sent {"connection_id":173070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:48:03] local.INFO: TCP Data received {"connection_id":174389,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0710e22f8012d7dda4006006400000700472e..."} 
[2026-09-05 15:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0710e22f8012d7dda4006006400000700472e..."} 
[2026-09-05 15:48:03] local.INFO: Processing buffer {"connection_id":174389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0710e22f8012d7dda4006006400000700472e..."} 
[2026-09-05 15:48:03] local.INFO: Packet analysis {"connection_id":174389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0710e"} 
[2026-09-05 15:48:03] local.INFO: Extracted packet for processing {"connection_id":174389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0710e"} 
[2026-09-05 15:48:03] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":46,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 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-09-05 15:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882328576001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:03] 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-09-05 15:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788603147000,"timestamp_ms":1788603147000,"timestamp_seconds":1788603147,"priority":1,"record_length":96,"hex_timestamp":"000001a0710e22f8"} 
[2026-09-05 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-09-05 15:48: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-09-05 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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-05 15:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 15:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882328576001,"66":25908,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882328576001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:48:03] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:48:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882328576001,"power":25908,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":174389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:48:03] local.INFO: GPS data processed {"connection_id":174389,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:48:03] local.INFO: Acknowledgment sent {"connection_id":174389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:48:05] local.INFO: TCP Data received {"connection_id":171967,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:48:05] local.INFO: Processing buffer {"connection_id":171967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:48:05] local.INFO: IMEI packet received {"connection_id":171967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":171967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:48:06] local.INFO: TCP Data received {"connection_id":171967,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071129f68012d7b160005e30530000900aa18..."} 
[2026-09-05 15:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071129f68012d7b160005e30530000900aa18..."} 
[2026-09-05 15:48:06] local.INFO: Processing buffer {"connection_id":171967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071129f68012d7b160005e30530000900aa18..."} 
[2026-09-05 15:48:06] local.INFO: Packet analysis {"connection_id":171967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07112"} 
[2026-09-05 15:48:06] local.INFO: Extracted packet for processing {"connection_id":171967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07112"} 
[2026-09-05 15:48:06] local.INFO: GPS Element Parsed {"raw_longitude":763041280,"raw_latitude":98764080,"longitude_deg":76.304128,"latitude_deg":9.876408,"altitude":9,"angle":170,"satellites":24,"speed":21,"hex_longitude":"2d7b1600","hex_latitude":"05e30530","is_valid_coordinates":true} 
[2026-09-05 15:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882475776001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128557450730143744,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867095110368888832,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788603441000,"timestamp_ms":1788603441000,"timestamp_seconds":1788603441,"priority":1,"record_length":96,"hex_timestamp":"000001a071129f68"} 
[2026-09-05 15:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-05 15:48:06] 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-09-05 15:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882475776001,"66":13461,"208":206,"85":15104,"24":21,"16":128557450730143744,"45":8867095110368888832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 15:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882475776001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:48:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 15:48:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 15:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128557450730143744,"km_value":128557450730143.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867095110368888832,"description":"Unknown IO ID 45"} 
[2026-09-05 15:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882475776001,"power":13461,"unknown_208":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8867095110368888832}} 
[2026-09-05 15:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":171967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769618,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:48:06] local.INFO: GPS data processed {"connection_id":171967,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:48:06] local.INFO: Acknowledgment sent {"connection_id":171967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:48:07] local.INFO: TCP Data received {"connection_id":171967,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07112e1d0012d7b1a8005e2e160000a00ad17..."} 
[2026-09-05 15:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07112e1d0012d7b1a8005e2e160000a00ad17..."} 
[2026-09-05 15:48:07] local.INFO: Processing buffer {"connection_id":171967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07112e1d0012d7b1a8005e2e160000a00ad17..."} 
[2026-09-05 15:48:07] local.INFO: Packet analysis {"connection_id":171967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07112"} 
[2026-09-05 15:48:07] local.INFO: Extracted packet for processing {"connection_id":171967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07112"} 
[2026-09-05 15:48:07] local.INFO: GPS Element Parsed {"raw_longitude":763042432,"raw_latitude":98754912,"longitude_deg":76.3042432,"latitude_deg":9.8754912,"altitude":10,"angle":173,"satellites":23,"speed":20,"hex_longitude":"2d7b1a80","hex_latitude":"05e2e160","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882480896001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128557901701709824,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869276541436375040,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788603458000,"timestamp_ms":1788603458000,"timestamp_seconds":1788603458,"priority":1,"record_length":96,"hex_timestamp":"000001a07112e1d0"} 
[2026-09-05 15:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:48:07] 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-09-05 15: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-05 15:48: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-09-05 15: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-09-05 15:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882480896001,"66":13580,"208":206,"85":15104,"24":20,"16":128557901701709824,"45":8869276541436375040},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 15:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882480896001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:48:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 15:48:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 15:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128557901701709824,"km_value":128557901701709.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869276541436375040,"description":"Unknown IO ID 45"} 
[2026-09-05 15:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882480896001,"power":13580,"unknown_208":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8869276541436375040}} 
[2026-09-05 15:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":171967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769619,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:48:07] local.INFO: GPS data processed {"connection_id":171967,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:48:07] local.INFO: Acknowledgment sent {"connection_id":171967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:48:10] local.INFO: TCP Data received {"connection_id":171674,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171674,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:48:10] local.INFO: Processing buffer {"connection_id":171674,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:48:10] local.INFO: IMEI packet received {"connection_id":171674,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 15:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":171674,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:48:14] local.INFO: TCP Data received {"connection_id":171674,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171674,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:48:14] local.INFO: Processing buffer {"connection_id":171674,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:48:14] local.INFO: IMEI packet received {"connection_id":171674,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 15:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":171674,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:48:14] local.INFO: TCP Data received {"connection_id":171674,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07112f940012d0cb9800705c990001800a016..."} 
[2026-09-05 15:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07112f940012d0cb9800705c990001800a016..."} 
[2026-09-05 15:48:14] local.INFO: Processing buffer {"connection_id":171674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07112f940012d0cb9800705c990001800a016..."} 
[2026-09-05 15:48:14] local.INFO: Packet analysis {"connection_id":171674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07112"} 
[2026-09-05 15:48:14] local.INFO: Extracted packet for processing {"connection_id":171674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07112"} 
[2026-09-05 15:48:14] local.INFO: GPS Element Parsed {"raw_longitude":755808640,"raw_latitude":117819792,"longitude_deg":75.580864,"latitude_deg":11.7819792,"altitude":24,"angle":160,"satellites":22,"speed":18,"hex_longitude":"2d0cb980","hex_latitude":"0705c990","is_valid_coordinates":true} 
[2026-09-05 15:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882486016001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30353251140370432,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916201079355336704,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788603464000,"timestamp_ms":1788603464000,"timestamp_seconds":1788603464,"priority":1,"record_length":96,"hex_timestamp":"000001a07112f940"} 
[2026-09-05 15:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-05 15:48:14] 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-09-05 15:48:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":171674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":171674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":171674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882486016001,"66":14580,"220":206,"94":10240,"24":18,"16":30353251140370432,"45":916201079355336704},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-05 15:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882486016001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:48:14] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-05 15:48:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 15:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30353251140370432,"km_value":30353251140370.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":916201079355336704,"description":"Unknown IO ID 45"} 
[2026-09-05 15:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882486016001,"power":14580,"unknown_220":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":916201079355336704}} 
[2026-09-05 15:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":171674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769620,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:48:15] local.INFO: GPS data processed {"connection_id":171674,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:48:15] local.INFO: Acknowledgment sent {"connection_id":171674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:48:21] local.INFO: TCP Data received {"connection_id":174388,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071124d60012d196880071fed50003d011c26..."} 
[2026-09-05 15:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071124d60012d196880071fed50003d011c26..."} 
[2026-09-05 15:48:21] local.INFO: Processing buffer {"connection_id":174388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071124d60012d196880071fed50003d011c26..."} 
[2026-09-05 15:48:21] local.INFO: Packet analysis {"connection_id":174388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07112"} 
[2026-09-05 15:48:21] local.INFO: Extracted packet for processing {"connection_id":174388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07112"} 
[2026-09-05 15:48:21] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882470144001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788603420000,"timestamp_ms":1788603420000,"timestamp_seconds":1788603420,"priority":1,"record_length":96,"hex_timestamp":"000001a071124d60"} 
[2026-09-05 15:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 15:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882470144001,"66":12461,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882470144001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:48:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:48:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882470144001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":174388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:48:21] local.INFO: GPS data processed {"connection_id":174388,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:48:21] local.INFO: Acknowledgment sent {"connection_id":174388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:48:35] local.INFO: TCP Data received {"connection_id":174389,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07112bac0012d7dda4006006400000700472e..."} 
[2026-09-05 15:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07112bac0012d7dda4006006400000700472e..."} 
[2026-09-05 15:48:35] local.INFO: Processing buffer {"connection_id":174389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07112bac0012d7dda4006006400000700472e..."} 
[2026-09-05 15:48:35] local.INFO: Packet analysis {"connection_id":174389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07112"} 
[2026-09-05 15:48:35] local.INFO: Extracted packet for processing {"connection_id":174389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07112"} 
[2026-09-05 15:48:35] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":46,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882405632001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:35] 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-09-05 15:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788603448000,"timestamp_ms":1788603448000,"timestamp_seconds":1788603448,"priority":1,"record_length":96,"hex_timestamp":"000001a07112bac0"} 
[2026-09-05 15:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:48:35] 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-09-05 15:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-05 15:48:35] 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-09-05 15:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882405632001,"66":25875,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882405632001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:48:35] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:48:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882405632001,"power":25875,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":174389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:48:35] local.INFO: GPS data processed {"connection_id":174389,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:48:35] local.INFO: Acknowledgment sent {"connection_id":174389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:48:38] local.INFO: TCP Data received {"connection_id":171967,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071132ff0012d7b1c0005e2cbd8000b00b31a..."} 
[2026-09-05 15:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071132ff0012d7b1c0005e2cbd8000b00b31a..."} 
[2026-09-05 15:48:39] local.INFO: Processing buffer {"connection_id":171967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071132ff0012d7b1c0005e2cbd8000b00b31a..."} 
[2026-09-05 15:48:39] local.INFO: Packet analysis {"connection_id":171967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07113"} 
[2026-09-05 15:48:39] local.INFO: Extracted packet for processing {"connection_id":171967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07113"} 
[2026-09-05 15:48:39] local.INFO: GPS Element Parsed {"raw_longitude":763042816,"raw_latitude":98749400,"longitude_deg":76.3042816,"latitude_deg":9.87494,"altitude":11,"angle":179,"satellites":26,"speed":6,"hex_longitude":"2d7b1c00","hex_latitude":"05e2cbd8","is_valid_coordinates":true} 
[2026-09-05 15:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882485248001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128558172284649472,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870543178829225984,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788603478000,"timestamp_ms":1788603478000,"timestamp_seconds":1788603478,"priority":1,"record_length":96,"hex_timestamp":"000001a071132ff0"} 
[2026-09-05 15:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-05 15:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630521,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3812343808,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:39] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3982958881386004480,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:39] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959368144,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-05 15:48:39] local.WARNING: Large IO value detected {"io_id":15,"raw_value":2147869498,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:39] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3115515904,"corrected_to":0} 
[2026-09-05 15:48:39] local.WARNING: Large IO value detected {"io_id":123,"raw_value":1188956775157596168,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:39] local.WARNING: Large IO value detected {"io_id":50,"raw_value":8430964313832869461,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:39] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:39] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,208,85,24,241,157,16,186,160,159,45,5,9,10,66,81,64,36,8,26,185,18,1,240,78,227,113,4,205,220,15,216,23,239,53,2,200,123,50,59],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0},{"io_id":200,"original":3115515904,"validated":0}]} 
[2026-09-05 15:48:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720766254676443136,"timestamp_seconds":720766254676443.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 15:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882485248001,"66":13091,"207":206,"85":15104,"24":6,"16":128558172284649472,"45":8870543178829225984},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-05 15:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882485248001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:48:39] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 15:48:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 15:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128558172284649472,"km_value":128558172284649.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870543178829225984,"description":"Unknown IO ID 45"} 
[2026-09-05 15:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882485248001,"power":13091,"unknown_207":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8870543178829225984}} 
[2026-09-05 15:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":171967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:48:39] local.INFO: GPS data processed {"connection_id":171967,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:48:39] local.INFO: Acknowledgment sent {"connection_id":171967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:48:45] local.INFO: TCP Data received {"connection_id":171675,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:48:45] local.INFO: Processing buffer {"connection_id":171675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:48:45] local.INFO: IMEI packet received {"connection_id":171675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":171675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:48:45] local.INFO: TCP Data received {"connection_id":171674,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07113b0d8012d0cf3800705d5b80012004b16..."} 
[2026-09-05 15:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07113b0d8012d0cf3800705d5b80012004b16..."} 
[2026-09-05 15:48:45] local.INFO: Processing buffer {"connection_id":171674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07113b0d8012d0cf3800705d5b80012004b16..."} 
[2026-09-05 15:48:45] local.INFO: Packet analysis {"connection_id":171674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07113"} 
[2026-09-05 15:48:45] local.INFO: Extracted packet for processing {"connection_id":171674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07113"} 
[2026-09-05 15:48:45] local.INFO: GPS Element Parsed {"raw_longitude":755823488,"raw_latitude":117822904,"longitude_deg":75.5823488,"latitude_deg":11.7822904,"altitude":18,"angle":75,"satellites":22,"speed":27,"hex_longitude":"2d0cf380","hex_latitude":"0705d5b8","is_valid_coordinates":true} 
[2026-09-05 15:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882498560001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30354385011736576,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":932526628005015552,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788603511000,"timestamp_ms":1788603511000,"timestamp_seconds":1788603511,"priority":1,"record_length":96,"hex_timestamp":"000001a07113b0d8"} 
[2026-09-05 15:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-05 15:48:45] 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-09-05 15:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":171674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":171674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":171674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882498560001,"66":14439,"220":206,"94":10240,"24":27,"16":30354385011736576,"45":932526628005015552},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-05 15:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882498560001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:48:45] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-05 15:48:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 15:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30354385011736576,"km_value":30354385011736.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":932526628005015552,"description":"Unknown IO ID 45"} 
[2026-09-05 15:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882498560001,"power":14439,"unknown_220":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":932526628005015552}} 
[2026-09-05 15:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":171674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769624,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:48:46] local.INFO: GPS data processed {"connection_id":171674,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:48:46] local.INFO: Acknowledgment sent {"connection_id":171674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:48:47] local.INFO: TCP Data received {"connection_id":174390,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174390,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:48:47] local.INFO: Processing buffer {"connection_id":174390,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:48:47] local.INFO: IMEI packet received {"connection_id":174390,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":174390,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:48:50] local.INFO: TCP Data received {"connection_id":171675,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:48:50] local.INFO: Processing buffer {"connection_id":171675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:48:50] local.INFO: IMEI packet received {"connection_id":171675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":171675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:48:50] local.INFO: TCP Data received {"connection_id":171675,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071129f68012d196880071fed50003d011c26..."} 
[2026-09-05 15:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071129f68012d196880071fed50003d011c26..."} 
[2026-09-05 15:48:50] local.INFO: Processing buffer {"connection_id":171675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071129f68012d196880071fed50003d011c26..."} 
[2026-09-05 15:48:50] local.INFO: Packet analysis {"connection_id":171675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07112"} 
[2026-09-05 15:48:50] local.INFO: Extracted packet for processing {"connection_id":171675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07112"} 
[2026-09-05 15:48:50] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882475520001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788603441000,"timestamp_ms":1788603441000,"timestamp_seconds":1788603441,"priority":1,"record_length":96,"hex_timestamp":"000001a071129f68"} 
[2026-09-05 15:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 15:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882475520001,"66":12461,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882475520001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:48:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:48:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882475520001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":171675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:48:51] local.INFO: GPS data processed {"connection_id":171675,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:48:51] local.INFO: Acknowledgment sent {"connection_id":171675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:48:52] local.INFO: TCP Data received {"connection_id":174390,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174390,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:48:52] local.INFO: Processing buffer {"connection_id":174390,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:48:52] local.INFO: IMEI packet received {"connection_id":174390,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":174390,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:48:54] local.INFO: TCP Data received {"connection_id":174390,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07110caa8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07110caa8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:48:54] local.INFO: Processing buffer {"connection_id":174390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07110caa8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:48:54] local.INFO: Packet analysis {"connection_id":174390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07110"} 
[2026-09-05 15:48:54] local.INFO: Extracted packet for processing {"connection_id":174390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07110"} 
[2026-09-05 15:48:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882373120001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788603321000,"timestamp_ms":1788603321000,"timestamp_seconds":1788603321,"priority":1,"record_length":96,"hex_timestamp":"000001a07110caa8"} 
[2026-09-05 15:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 15:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174390,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174390,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882373120001,"66":25343,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882373120001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:48:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:48:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:48:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882373120001,"power":25343,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":174390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769626,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:48:54] local.INFO: GPS data processed {"connection_id":174390,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:48:54] local.INFO: Acknowledgment sent {"connection_id":174390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:48:55] local.INFO: TCP Data received {"connection_id":174391,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174391,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:48:55] local.INFO: Processing buffer {"connection_id":174391,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:48:55] local.INFO: IMEI packet received {"connection_id":174391,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":174391,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:48:56] local.INFO: TCP Data received {"connection_id":171968,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:48:56] local.INFO: Processing buffer {"connection_id":171968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:48:56] local.INFO: IMEI packet received {"connection_id":171968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":171968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:49:00] local.INFO: TCP Data received {"connection_id":174391,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174391,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:49:00] local.INFO: Processing buffer {"connection_id":174391,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:49:00] local.INFO: IMEI packet received {"connection_id":174391,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":174391,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:49:01] local.INFO: TCP Data received {"connection_id":171968,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:49:01] local.INFO: Processing buffer {"connection_id":171968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:49:01] local.INFO: IMEI packet received {"connection_id":171968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":171968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:49:01] local.INFO: TCP Data received {"connection_id":174391,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071134760012d7b1d0005e2c858000a00a517..."} 
[2026-09-05 15:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071134760012d7b1d0005e2c858000a00a517..."} 
[2026-09-05 15:49:01] local.INFO: Processing buffer {"connection_id":174391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071134760012d7b1d0005e2c858000a00a517..."} 
[2026-09-05 15:49:01] local.INFO: Packet analysis {"connection_id":174391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07113"} 
[2026-09-05 15:49:01] local.INFO: Extracted packet for processing {"connection_id":174391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07113"} 
[2026-09-05 15:49:01] local.INFO: GPS Element Parsed {"raw_longitude":763043072,"raw_latitude":98748504,"longitude_deg":76.3043072,"latitude_deg":9.8748504,"altitude":10,"angle":165,"satellites":23,"speed":7,"hex_longitude":"2d7b1d00","hex_latitude":"05e2c858","is_valid_coordinates":true} 
[2026-09-05 15:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882490368001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128558219529289728,"note":"Value kept but may cause issues"} 
[2026-09-05 15:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870965391292880896,"note":"Value kept but may cause issues"} 
[2026-09-05 15:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788603484000,"timestamp_ms":1788603484000,"timestamp_seconds":1788603484,"priority":1,"record_length":96,"hex_timestamp":"000001a071134760"} 
[2026-09-05 15:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:49:01] 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-09-05 15:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-05 15:49: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-09-05 15:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882490368001,"66":13765,"207":206,"85":15104,"24":7,"16":128558219529289728,"45":8870965391292880896},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-05 15:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882490368001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:49:01] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 15:49:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 15:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128558219529289728,"km_value":128558219529289.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870965391292880896,"description":"Unknown IO ID 45"} 
[2026-09-05 15:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882490368001,"power":13765,"unknown_207":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8870965391292880896}} 
[2026-09-05 15:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":174391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769627,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:49:01] local.INFO: GPS data processed {"connection_id":174391,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:49:01] local.INFO: Acknowledgment sent {"connection_id":174391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:49:02] local.INFO: TCP Data received {"connection_id":171968,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07112bac0012d7dda4006006400000700472e..."} 
[2026-09-05 15:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07112bac0012d7dda4006006400000700472e..."} 
[2026-09-05 15:49:02] local.INFO: Processing buffer {"connection_id":171968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07112bac0012d7dda4006006400000700472e..."} 
[2026-09-05 15:49:02] local.INFO: Packet analysis {"connection_id":171968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07112"} 
[2026-09-05 15:49:02] local.INFO: Extracted packet for processing {"connection_id":171968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07112"} 
[2026-09-05 15:49:02] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":46,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882405632001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:49:02] 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-09-05 15:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788603448000,"timestamp_ms":1788603448000,"timestamp_seconds":1788603448,"priority":1,"record_length":96,"hex_timestamp":"000001a07112bac0"} 
[2026-09-05 15:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:49:02] 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-09-05 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-05 15:49: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-09-05 15: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-09-05 15:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882405632001,"66":25875,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882405632001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:49:02] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:49:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882405632001,"power":25875,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":171968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:49:02] local.INFO: GPS data processed {"connection_id":171968,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:49:02] local.INFO: Acknowledgment sent {"connection_id":171968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:49:09] local.INFO: TCP Data received {"connection_id":173071,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173071,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:49:09] local.INFO: Processing buffer {"connection_id":173071,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:49:09] local.INFO: IMEI packet received {"connection_id":173071,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 15:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":173071,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:49:10] local.INFO: TCP Data received {"connection_id":173071,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173071,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:49:10] local.INFO: Processing buffer {"connection_id":173071,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:49:10] local.INFO: IMEI packet received {"connection_id":173071,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 15:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":173071,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:49:13] local.INFO: TCP Data received {"connection_id":173071,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173071,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:49:13] local.INFO: Processing buffer {"connection_id":173071,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:49:13] local.INFO: IMEI packet received {"connection_id":173071,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 15:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":173071,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:49:15] local.INFO: TCP Data received {"connection_id":173071,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173071,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:49:15] local.INFO: Processing buffer {"connection_id":173071,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:49:15] local.INFO: IMEI packet received {"connection_id":173071,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 15:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":173071,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:49:16] local.INFO: TCP Data received {"connection_id":173071,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07113b8a8012d0cf9c00705d6500011005915..."} 
[2026-09-05 15:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07113b8a8012d0cf9c00705d6500011005915..."} 
[2026-09-05 15:49:16] local.INFO: Processing buffer {"connection_id":173071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07113b8a8012d0cf9c00705d6500011005915..."} 
[2026-09-05 15:49:16] local.INFO: Packet analysis {"connection_id":173071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07113"} 
[2026-09-05 15:49:16] local.INFO: Extracted packet for processing {"connection_id":173071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07113"} 
[2026-09-05 15:49:16] local.INFO: GPS Element Parsed {"raw_longitude":755825088,"raw_latitude":117823056,"longitude_deg":75.5825088,"latitude_deg":11.7823056,"altitude":17,"angle":89,"satellites":21,"speed":34,"hex_longitude":"2d0cf9c0","hex_latitude":"0705d650","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882498816001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30354458026180608,"note":"Value kept but may cause issues"} 
[2026-09-05 15:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":933230315446843392,"note":"Value kept but may cause issues"} 
[2026-09-05 15:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788603513000,"timestamp_ms":1788603513000,"timestamp_seconds":1788603513,"priority":1,"record_length":96,"hex_timestamp":"000001a07113b8a8"} 
[2026-09-05 15:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:49: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-09-05 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-05 15:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173071,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173071,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882498816001,"66":14439,"220":206,"94":10240,"24":34,"16":30354458026180608,"45":933230315446843392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-05 15:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882498816001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:49:16] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-05 15:49:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 15:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30354458026180608,"km_value":30354458026180.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":933230315446843392,"description":"Unknown IO ID 45"} 
[2026-09-05 15:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882498816001,"power":14439,"unknown_220":206,"unknown_94":10240,"ignition":34,"odometer":null,"unknown_45":933230315446843392}} 
[2026-09-05 15:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":173071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769629,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:49:16] local.INFO: GPS data processed {"connection_id":173071,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:49:16] local.INFO: Acknowledgment sent {"connection_id":173071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:49:21] local.INFO: TCP Data received {"connection_id":171675,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07112f170012d196880071fed50003d011c26..."} 
[2026-09-05 15:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07112f170012d196880071fed50003d011c26..."} 
[2026-09-05 15:49:21] local.INFO: Processing buffer {"connection_id":171675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07112f170012d196880071fed50003d011c26..."} 
[2026-09-05 15:49:21] local.INFO: Packet analysis {"connection_id":171675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07112"} 
[2026-09-05 15:49:21] local.INFO: Extracted packet for processing {"connection_id":171675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07112"} 
[2026-09-05 15:49:21] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882480896001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788603462000,"timestamp_ms":1788603462000,"timestamp_seconds":1788603462,"priority":1,"record_length":96,"hex_timestamp":"000001a07112f170"} 
[2026-09-05 15:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 15:49: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-09-05 15: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-09-05 15:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882480896001,"66":12461,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882480896001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:49:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:49:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882480896001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":171675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:49:22] local.INFO: GPS data processed {"connection_id":171675,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:49:22] local.INFO: Acknowledgment sent {"connection_id":171675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:49:25] local.INFO: TCP Data received {"connection_id":174390,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07110caa8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07110caa8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:49:25] local.INFO: Processing buffer {"connection_id":174390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07110caa8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:49:25] local.INFO: Packet analysis {"connection_id":174390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07110"} 
[2026-09-05 15:49:25] local.INFO: Extracted packet for processing {"connection_id":174390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07110"} 
[2026-09-05 15:49:25] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882373120001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:49:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:49:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788603321000,"timestamp_ms":1788603321000,"timestamp_seconds":1788603321,"priority":1,"record_length":96,"hex_timestamp":"000001a07110caa8"} 
[2026-09-05 15:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 15:49:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:49:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174390,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174390,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882373120001,"66":25343,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882373120001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:49:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:49:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:49:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882373120001,"power":25343,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":174390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769631,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:49:25] local.INFO: GPS data processed {"connection_id":174390,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:49:25] local.INFO: Acknowledgment sent {"connection_id":174390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:49:32] local.INFO: TCP Data received {"connection_id":174391,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071139580012d7b200005e2ba40000900a816..."} 
[2026-09-05 15:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071139580012d7b200005e2ba40000900a816..."} 
[2026-09-05 15:49:32] local.INFO: Processing buffer {"connection_id":174391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071139580012d7b200005e2ba40000900a816..."} 
[2026-09-05 15:49:32] local.INFO: Packet analysis {"connection_id":174391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07113"} 
[2026-09-05 15:49:32] local.INFO: Extracted packet for processing {"connection_id":174391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07113"} 
[2026-09-05 15:49:32] local.INFO: GPS Element Parsed {"raw_longitude":763043840,"raw_latitude":98744896,"longitude_deg":76.304384,"latitude_deg":9.8744896,"altitude":9,"angle":168,"satellites":22,"speed":5,"hex_longitude":"2d7b2000","hex_latitude":"05e2ba40","is_valid_coordinates":true} 
[2026-09-05 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-09-05 15:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882491904001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128558404212883456,"note":"Value kept but may cause issues"} 
[2026-09-05 15:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871246866269362176,"note":"Value kept but may cause issues"} 
[2026-09-05 15:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788603504000,"timestamp_ms":1788603504000,"timestamp_seconds":1788603504,"priority":1,"record_length":96,"hex_timestamp":"000001a071139580"} 
[2026-09-05 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-09-05 15:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-05 15:49:32] 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-09-05 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-09-05 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-09-05 15:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882491904001,"66":13602,"207":206,"85":15104,"24":5,"16":128558404212883456,"45":8871246866269362176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-05 15:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882491904001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:49:32] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 15:49:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 15:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128558404212883456,"km_value":128558404212883.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871246866269362176,"description":"Unknown IO ID 45"} 
[2026-09-05 15:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882491904001,"power":13602,"unknown_207":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8871246866269362176}} 
[2026-09-05 15:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":174391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:49:32] local.INFO: GPS data processed {"connection_id":174391,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:49:32] local.INFO: Acknowledgment sent {"connection_id":174391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:49:34] local.INFO: TCP Data received {"connection_id":171968,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07113e788012d7dda4006006400000700472d..."} 
[2026-09-05 15:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07113e788012d7dda4006006400000700472d..."} 
[2026-09-05 15:49:34] local.INFO: Processing buffer {"connection_id":171968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07113e788012d7dda4006006400000700472d..."} 
[2026-09-05 15:49:34] local.INFO: Packet analysis {"connection_id":171968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07113"} 
[2026-09-05 15:49:34] local.INFO: Extracted packet for processing {"connection_id":171968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07113"} 
[2026-09-05 15:49:34] local.INFO: GPS Element Parsed {"raw_longitude":763222592,"raw_latitude":100688896,"longitude_deg":76.3222592,"latitude_deg":10.0688896,"altitude":7,"angle":71,"satellites":45,"speed":0,"hex_longitude":"2d7dda40","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882482688001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:49:34] 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-09-05 15:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788603525000,"timestamp_ms":1788603525000,"timestamp_seconds":1788603525,"priority":1,"record_length":96,"hex_timestamp":"000001a07113e788"} 
[2026-09-05 15:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:49: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-09-05 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 15:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882482688001,"66":25756,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882482688001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:49:34] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:49:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882482688001,"power":25756,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":171968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:49:34] local.INFO: GPS data processed {"connection_id":171968,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:49:34] local.INFO: Acknowledgment sent {"connection_id":171968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:49:43] local.INFO: TCP Data received {"connection_id":171676,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:49:43] local.INFO: Processing buffer {"connection_id":171676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:49:43] local.INFO: IMEI packet received {"connection_id":171676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":171676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:49:44] local.INFO: TCP Data received {"connection_id":171676,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:49:44] local.INFO: Processing buffer {"connection_id":171676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:49:44] local.INFO: IMEI packet received {"connection_id":171676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":171676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:49:47] local.INFO: TCP Data received {"connection_id":174392,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174392,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:49:47] local.INFO: Processing buffer {"connection_id":174392,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:49:47] local.INFO: IMEI packet received {"connection_id":174392,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":174392,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:49:47] local.INFO: TCP Data received {"connection_id":173071,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07114aad8012d0dabc00705cfe80015005e17..."} 
[2026-09-05 15:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07114aad8012d0dabc00705cfe80015005e17..."} 
[2026-09-05 15:49:47] local.INFO: Processing buffer {"connection_id":173071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07114aad8012d0dabc00705cfe80015005e17..."} 
[2026-09-05 15:49:47] local.INFO: Packet analysis {"connection_id":173071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07114"} 
[2026-09-05 15:49:47] local.INFO: Extracted packet for processing {"connection_id":173071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07114"} 
[2026-09-05 15:49:47] local.INFO: GPS Element Parsed {"raw_longitude":755870656,"raw_latitude":117821416,"longitude_deg":75.5870656,"latitude_deg":11.7821416,"altitude":21,"angle":94,"satellites":23,"speed":26,"hex_longitude":"2d0dabc0","hex_latitude":"0705cfe8","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882514944001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30356730063880192,"note":"Value kept but may cause issues"} 
[2026-09-05 15:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":984318023719467008,"note":"Value kept but may cause issues"} 
[2026-09-05 15:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788603575000,"timestamp_ms":1788603575000,"timestamp_seconds":1788603575,"priority":1,"record_length":96,"hex_timestamp":"000001a07114aad8"} 
[2026-09-05 15:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-05 15:49:47] 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-09-05 15: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-09-05 15:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173071,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173071,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882514944001,"66":14461,"167":206,"94":11008,"24":26,"16":30356730063880192,"45":984318023719467008},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-05 15:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882514944001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:49:47] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-05 15:49:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 15:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30356730063880192,"km_value":30356730063880.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":984318023719467008,"description":"Unknown IO ID 45"} 
[2026-09-05 15:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882514944001,"power":14461,"unknown_167":206,"unknown_94":11008,"ignition":26,"odometer":null,"unknown_45":984318023719467008}} 
[2026-09-05 15:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":173071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769634,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:49:48] local.INFO: GPS data processed {"connection_id":173071,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:49:48] local.INFO: Acknowledgment sent {"connection_id":173071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:49:50] local.INFO: TCP Data received {"connection_id":171676,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:49:50] local.INFO: Processing buffer {"connection_id":171676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:49:50] local.INFO: IMEI packet received {"connection_id":171676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":171676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:49:50] local.INFO: TCP Data received {"connection_id":171676,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071134378012d196880071fed50003d011c26..."} 
[2026-09-05 15:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071134378012d196880071fed50003d011c26..."} 
[2026-09-05 15:49:50] local.INFO: Processing buffer {"connection_id":171676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071134378012d196880071fed50003d011c26..."} 
[2026-09-05 15:49:50] local.INFO: Packet analysis {"connection_id":171676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07113"} 
[2026-09-05 15:49:50] local.INFO: Extracted packet for processing {"connection_id":171676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07113"} 
[2026-09-05 15:49:50] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882486272001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788603483000,"timestamp_ms":1788603483000,"timestamp_seconds":1788603483,"priority":1,"record_length":96,"hex_timestamp":"000001a071134378"} 
[2026-09-05 15:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:49:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 15:49:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:49:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882486272001,"66":12461,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882486272001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:49:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:49:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882486272001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":171676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:49:50] local.INFO: GPS data processed {"connection_id":171676,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:49:50] local.INFO: Acknowledgment sent {"connection_id":171676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:49:52] local.INFO: TCP Data received {"connection_id":174392,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174392,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:49:52] local.INFO: Processing buffer {"connection_id":174392,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:49:52] local.INFO: IMEI packet received {"connection_id":174392,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":174392,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:49:53] local.INFO: TCP Data received {"connection_id":171969,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:49:53] local.INFO: Processing buffer {"connection_id":171969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:49:53] local.INFO: IMEI packet received {"connection_id":171969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":171969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:49:54] local.INFO: TCP Data received {"connection_id":174392,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07110caa8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07110caa8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:49:54] local.INFO: Processing buffer {"connection_id":174392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07110caa8012c7939c00848c5f00014000129..."} 
[2026-09-05 15:49:54] local.INFO: Packet analysis {"connection_id":174392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07110"} 
[2026-09-05 15:49:54] local.INFO: Extracted packet for processing {"connection_id":174392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07110"} 
[2026-09-05 15:49:54] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882373120001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:49:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788603321000,"timestamp_ms":1788603321000,"timestamp_seconds":1788603321,"priority":1,"record_length":96,"hex_timestamp":"000001a07110caa8"} 
[2026-09-05 15:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 15:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174392,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174392,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882373120001,"66":25343,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882373120001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:49:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:49:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:49:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882373120001,"power":25343,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":174392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769636,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:49:54] local.INFO: GPS data processed {"connection_id":174392,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:49:54] local.INFO: Acknowledgment sent {"connection_id":174392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:49:54] local.INFO: TCP Data received {"connection_id":171969,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:49:54] local.INFO: Processing buffer {"connection_id":171969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:49:54] local.INFO: IMEI packet received {"connection_id":171969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":171969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:49:55] local.INFO: TCP Data received {"connection_id":171969,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:49:55] local.INFO: Processing buffer {"connection_id":171969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:49:55] local.INFO: IMEI packet received {"connection_id":171969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":171969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:49:55] local.INFO: TCP Data received {"connection_id":171969,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:49:55] local.INFO: Processing buffer {"connection_id":171969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:49:55] local.INFO: IMEI packet received {"connection_id":171969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":171969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:50:01] local.INFO: TCP Data received {"connection_id":173072,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:50:01] local.INFO: Processing buffer {"connection_id":173072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:50:01] local.INFO: IMEI packet received {"connection_id":173072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":173072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:50:06] local.INFO: TCP Data received {"connection_id":173072,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:50:06] local.INFO: Processing buffer {"connection_id":173072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:50:06] local.INFO: IMEI packet received {"connection_id":173072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":173072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:50:07] local.INFO: TCP Data received {"connection_id":173072,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071144548012d7dd98006006420000700472d..."} 
[2026-09-05 15:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071144548012d7dd98006006420000700472d..."} 
[2026-09-05 15:50:07] local.INFO: Processing buffer {"connection_id":173072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071144548012d7dd98006006420000700472d..."} 
[2026-09-05 15:50:07] local.INFO: Packet analysis {"connection_id":173072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07114"} 
[2026-09-05 15:50:07] local.INFO: Extracted packet for processing {"connection_id":173072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07114"} 
[2026-09-05 15:50:07] local.INFO: GPS Element Parsed {"raw_longitude":763222400,"raw_latitude":100688928,"longitude_deg":76.32224,"latitude_deg":10.0688928,"altitude":7,"angle":71,"satellites":45,"speed":0,"hex_longitude":"2d7dd980","hex_latitude":"06006420","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882502400001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068631194184450048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:50:07] 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-09-05 15:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788603549000,"timestamp_ms":1788603549000,"timestamp_seconds":1788603549,"priority":1,"record_length":96,"hex_timestamp":"000001a071144548"} 
[2026-09-05 15:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:50: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-09-05 15: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 15:50:07] 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-09-05 15: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-09-05 15:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882502400001,"66":27745,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068631194184450048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882502400001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:50:07] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:50:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068631194184450048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882502400001,"power":27745,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068631194184450048}} 
[2026-09-05 15:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":173072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:50:07] local.INFO: GPS data processed {"connection_id":173072,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:50:07] local.INFO: Acknowledgment sent {"connection_id":173072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:50:09] local.INFO: TCP Data received {"connection_id":173072,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071149750012d7dd98006006420000700472c..."} 
[2026-09-05 15:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071149750012d7dd98006006420000700472c..."} 
[2026-09-05 15:50:09] local.INFO: Processing buffer {"connection_id":173072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071149750012d7dd98006006420000700472c..."} 
[2026-09-05 15:50:09] local.INFO: Packet analysis {"connection_id":173072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07114"} 
[2026-09-05 15:50:09] local.INFO: Extracted packet for processing {"connection_id":173072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07114"} 
[2026-09-05 15:50:09] local.INFO: GPS Element Parsed {"raw_longitude":763222400,"raw_latitude":100688928,"longitude_deg":76.32224,"latitude_deg":10.0688928,"altitude":7,"angle":71,"satellites":44,"speed":0,"hex_longitude":"2d7dd980","hex_latitude":"06006420","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882508544001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859376493428736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068420087951925248,"note":"Value kept but may cause issues"} 
[2026-09-05 15:50:09] 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-09-05 15:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788603570000,"timestamp_ms":1788603570000,"timestamp_seconds":1788603570,"priority":1,"record_length":96,"hex_timestamp":"000001a071149750"} 
[2026-09-05 15:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:50: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-09-05 15: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 15:50:09] 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-09-05 15: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-09-05 15:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882508544001,"66":27865,"244":206,"87":10752,"24":0,"16":399859376493428736,"45":9068420087951925248},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882508544001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:50:09] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:50:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859376493428736,"km_value":399859376493428.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068420087951925248,"description":"Unknown IO ID 45"} 
[2026-09-05 15:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882508544001,"power":27865,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9068420087951925248}} 
[2026-09-05 15:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":173072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:50:09] local.INFO: GPS data processed {"connection_id":173072,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:50:09] local.INFO: Acknowledgment sent {"connection_id":173072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:50:10] local.INFO: TCP Data received {"connection_id":171970,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171970,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:50:10] local.INFO: Processing buffer {"connection_id":171970,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:50:10] local.INFO: IMEI packet received {"connection_id":171970,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 15:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":171970,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:50:11] local.INFO: TCP Data received {"connection_id":171970,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171970,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:50:11] local.INFO: Processing buffer {"connection_id":171970,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:50:11] local.INFO: IMEI packet received {"connection_id":171970,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 15:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":171970,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:50:15] local.INFO: TCP Data received {"connection_id":171970,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171970,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:50:15] local.INFO: Processing buffer {"connection_id":171970,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:50:15] local.INFO: IMEI packet received {"connection_id":171970,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 15:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":171970,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:50:16] local.INFO: TCP Data received {"connection_id":171970,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07114b2a8012d0db1c00705d0800016005117..."} 
[2026-09-05 15:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07114b2a8012d0db1c00705d0800016005117..."} 
[2026-09-05 15:50:16] local.INFO: Processing buffer {"connection_id":171970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07114b2a8012d0db1c00705d0800016005117..."} 
[2026-09-05 15:50:16] local.INFO: Packet analysis {"connection_id":171970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07114"} 
[2026-09-05 15:50:16] local.INFO: Extracted packet for processing {"connection_id":171970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07114"} 
[2026-09-05 15:50:16] local.INFO: GPS Element Parsed {"raw_longitude":755872192,"raw_latitude":117821568,"longitude_deg":75.5872192,"latitude_deg":11.7821568,"altitude":22,"angle":81,"satellites":23,"speed":32,"hex_longitude":"2d0db1c0","hex_latitude":"0705d080","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882515200001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30356803078324224,"note":"Value kept but may cause issues"} 
[2026-09-05 15:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":985092079905400832,"note":"Value kept but may cause issues"} 
[2026-09-05 15:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788603577000,"timestamp_ms":1788603577000,"timestamp_seconds":1788603577,"priority":1,"record_length":96,"hex_timestamp":"000001a07114b2a8"} 
[2026-09-05 15:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:50: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-09-05 15: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 15:50:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":171970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":171970,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":171970,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882515200001,"66":14515,"167":206,"94":11008,"24":32,"16":30356803078324224,"45":985092079905400832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-05 15:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882515200001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:50:16] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-05 15:50:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 15:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30356803078324224,"km_value":30356803078324.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":985092079905400832,"description":"Unknown IO ID 45"} 
[2026-09-05 15:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882515200001,"power":14515,"unknown_167":206,"unknown_94":11008,"ignition":32,"odometer":null,"unknown_45":985092079905400832}} 
[2026-09-05 15:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":171970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769639,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:50:16] local.INFO: GPS data processed {"connection_id":171970,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:50:16] local.INFO: Acknowledgment sent {"connection_id":171970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:50:22] local.INFO: TCP Data received {"connection_id":171676,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071139580012d196880071fed50003d011c25..."} 
[2026-09-05 15:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071139580012d196880071fed50003d011c25..."} 
[2026-09-05 15:50:22] local.INFO: Processing buffer {"connection_id":171676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071139580012d196880071fed50003d011c25..."} 
[2026-09-05 15:50:22] local.INFO: Packet analysis {"connection_id":171676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07113"} 
[2026-09-05 15:50:22] local.INFO: Extracted packet for processing {"connection_id":171676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07113"} 
[2026-09-05 15:50:22] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882491648001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788603504000,"timestamp_ms":1788603504000,"timestamp_seconds":1788603504,"priority":1,"record_length":96,"hex_timestamp":"000001a071139580"} 
[2026-09-05 15:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:50:22] 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-09-05 15:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 15:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882491648001,"66":12461,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882491648001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:50:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:50:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882491648001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":171676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:50:22] local.INFO: GPS data processed {"connection_id":171676,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:50:22] local.INFO: Acknowledgment sent {"connection_id":171676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:50:26] local.INFO: TCP Data received {"connection_id":174392,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07114a6f0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07114a6f0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:50:26] local.INFO: Processing buffer {"connection_id":174392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07114a6f0012c7939c00848c5f00014000129..."} 
[2026-09-05 15:50:26] local.INFO: Packet analysis {"connection_id":174392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07114"} 
[2026-09-05 15:50:26] local.INFO: Extracted packet for processing {"connection_id":174392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07114"} 
[2026-09-05 15:50:26] local.INFO: GPS Element Parsed {"raw_longitude":746142144,"raw_latitude":138986992,"longitude_deg":74.6142144,"latitude_deg":13.8986992,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c7939c0","hex_latitude":"0848c5f0","is_valid_coordinates":true} 
[2026-09-05 15:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882450176001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:50:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788603574000,"timestamp_ms":1788603574000,"timestamp_seconds":1788603574,"priority":1,"record_length":96,"hex_timestamp":"000001a07114a6f0"} 
[2026-09-05 15:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 15:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 15:50:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:50:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174392,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174392,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882450176001,"66":25343,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882450176001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:50:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:50:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:50:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882450176001,"power":25343,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":174392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769641,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:50:26] local.INFO: GPS data processed {"connection_id":174392,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:50:26] local.INFO: Acknowledgment sent {"connection_id":174392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:50:40] local.INFO: TCP Data received {"connection_id":173072,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071149b38012d7dd94006006470000901022b..."} 
[2026-09-05 15:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071149b38012d7dd94006006470000901022b..."} 
[2026-09-05 15:50:40] local.INFO: Processing buffer {"connection_id":173072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071149b38012d7dd94006006470000901022b..."} 
[2026-09-05 15:50:40] local.INFO: Packet analysis {"connection_id":173072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07114"} 
[2026-09-05 15:50:40] local.INFO: Extracted packet for processing {"connection_id":173072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07114"} 
[2026-09-05 15:50:40] local.INFO: GPS Element Parsed {"raw_longitude":763222336,"raw_latitude":100689008,"longitude_deg":76.3222336,"latitude_deg":10.0689008,"altitude":9,"angle":258,"satellites":43,"speed":5,"hex_longitude":"2d7dd940","hex_latitude":"06006470","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882513920001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859385083363328,"note":"Value kept but may cause issues"} 
[2026-09-05 15:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068420087951925248,"note":"Value kept but may cause issues"} 
[2026-09-05 15:50:40] 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-09-05 15:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788603571000,"timestamp_ms":1788603571000,"timestamp_seconds":1788603571,"priority":1,"record_length":96,"hex_timestamp":"000001a071149b38"} 
[2026-09-05 15:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:50:40] 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-09-05 15:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 15:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":173072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":173072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":173072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882513920001,"66":27876,"244":206,"87":10752,"24":5,"16":399859385083363328,"45":9068420087951925248},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882513920001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:50:40] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:50:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859385083363328,"km_value":399859385083363.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068420087951925248,"description":"Unknown IO ID 45"} 
[2026-09-05 15:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882513920001,"power":27876,"unknown_244":206,"unknown_87":10752,"ignition":5,"odometer":null,"unknown_45":9068420087951925248}} 
[2026-09-05 15:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":173072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:50:40] local.INFO: GPS data processed {"connection_id":173072,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:50:40] local.INFO: Acknowledgment sent {"connection_id":173072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:50:44] local.INFO: TCP Data received {"connection_id":171677,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:50:44] local.INFO: Processing buffer {"connection_id":171677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:50:44] local.INFO: IMEI packet received {"connection_id":171677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":171677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:50:47] local.INFO: TCP Data received {"connection_id":171970,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a071159538012d0e64000705d5e0001a002a17..."} 
[2026-09-05 15:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071159538012d0e64000705d5e0001a002a17..."} 
[2026-09-05 15:50:47] local.INFO: Processing buffer {"connection_id":171970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071159538012d0e64000705d5e0001a002a17..."} 
[2026-09-05 15:50:47] local.INFO: Packet analysis {"connection_id":171970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07115"} 
[2026-09-05 15:50:47] local.INFO: Extracted packet for processing {"connection_id":171970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07115"} 
[2026-09-05 15:50:47] local.INFO: GPS Element Parsed {"raw_longitude":755917824,"raw_latitude":117822944,"longitude_deg":75.5917824,"latitude_deg":11.7822944,"altitude":26,"angle":42,"satellites":23,"speed":6,"hex_longitude":"2d0e6400","hex_latitude":"0705d5e0","is_valid_coordinates":true} 
[2026-09-05 15:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882528768001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30359006396547072,"note":"Value kept but may cause issues"} 
[2026-09-05 15:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1036179788178776064,"note":"Value kept but may cause issues"} 
[2026-09-05 15:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788603635000,"timestamp_ms":1788603635000,"timestamp_seconds":1788603635,"priority":1,"record_length":96,"hex_timestamp":"000001a071159538"} 
[2026-09-05 15:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 15:50:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":171970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":171970,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":171970,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882528768001,"66":14559,"165":206,"94":11008,"24":6,"16":30359006396547072,"45":1036179788178776064},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-05 15:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882528768001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:50:47] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-05 15:50:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 15:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30359006396547072,"km_value":30359006396547.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1036179788178776064,"description":"Unknown IO ID 45"} 
[2026-09-05 15:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882528768001,"power":14559,"unknown_165":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":1036179788178776064}} 
[2026-09-05 15:50:47] local.INFO: TCP Data received {"connection_id":171677,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:50:47] local.INFO: Processing buffer {"connection_id":171677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:50:47] local.INFO: IMEI packet received {"connection_id":171677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":171677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":171970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769643,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:50:47] local.INFO: GPS data processed {"connection_id":171970,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:50:47] local.INFO: Acknowledgment sent {"connection_id":171970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:50:48] local.INFO: TCP Data received {"connection_id":171677,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:50:48] local.INFO: Processing buffer {"connection_id":171677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:50:48] local.INFO: IMEI packet received {"connection_id":171677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":171677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:50:49] local.INFO: TCP Data received {"connection_id":171677,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:50:49] local.INFO: Processing buffer {"connection_id":171677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:50:49] local.INFO: IMEI packet received {"connection_id":171677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":171677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:50:50] local.INFO: TCP Data received {"connection_id":171677,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07113e788012d196880071fed50003d011c26..."} 
[2026-09-05 15:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07113e788012d196880071fed50003d011c26..."} 
[2026-09-05 15:50:50] local.INFO: Processing buffer {"connection_id":171677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07113e788012d196880071fed50003d011c26..."} 
[2026-09-05 15:50:50] local.INFO: Packet analysis {"connection_id":171677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07113"} 
[2026-09-05 15:50:50] local.INFO: Extracted packet for processing {"connection_id":171677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07113"} 
[2026-09-05 15:50:50] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882497024001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788603525000,"timestamp_ms":1788603525000,"timestamp_seconds":1788603525,"priority":1,"record_length":96,"hex_timestamp":"000001a07113e788"} 
[2026-09-05 15:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 15:50:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882497024001,"66":12406,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882497024001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:50:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:50:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882497024001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":171677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:50:50] local.INFO: GPS data processed {"connection_id":171677,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:50:50] local.INFO: Acknowledgment sent {"connection_id":171677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:50:51] local.INFO: TCP Data received {"connection_id":171677,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071143990012d196880071fed50003d011c24..."} 
[2026-09-05 15:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071143990012d196880071fed50003d011c24..."} 
[2026-09-05 15:50:51] local.INFO: Processing buffer {"connection_id":171677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071143990012d196880071fed50003d011c24..."} 
[2026-09-05 15:50:51] local.INFO: Packet analysis {"connection_id":171677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07114"} 
[2026-09-05 15:50:51] local.INFO: Extracted packet for processing {"connection_id":171677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07114"} 
[2026-09-05 15:50:51] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532880,"longitude_deg":75.6639872,"latitude_deg":11.953288,"altitude":61,"angle":284,"satellites":36,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-05 15:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882502400001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941302461071360,"note":"Value kept but may cause issues"} 
[2026-09-05 15:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614879232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788603546000,"timestamp_ms":1788603546000,"timestamp_seconds":1788603546,"priority":1,"record_length":96,"hex_timestamp":"000001a071143990"} 
[2026-09-05 15:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:50:51] 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-09-05 15:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 15:50:51] 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-09-05 15:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882502400001,"66":12254,"102":206,"83":41984,"24":0,"16":17941302461071360,"45":1830854016614879232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882502400001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:50:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:50:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941302461071360,"km_value":17941302461071.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614879232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882502400001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614879232}} 
[2026-09-05 15:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":171677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:50:51] local.INFO: GPS data processed {"connection_id":171677,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:50:51] local.INFO: Acknowledgment sent {"connection_id":171677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:50:57] local.INFO: TCP Data received {"connection_id":173073,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:50:57] local.INFO: Processing buffer {"connection_id":173073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:50:57] local.INFO: IMEI packet received {"connection_id":173073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":173073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:50:57] local.INFO: TCP Data received {"connection_id":173073,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:50:57] local.INFO: Processing buffer {"connection_id":173073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:50:57] local.INFO: IMEI packet received {"connection_id":173073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":173073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:51:01] local.INFO: TCP Data received {"connection_id":173073,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:51:01] local.INFO: Processing buffer {"connection_id":173073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:51:01] local.INFO: IMEI packet received {"connection_id":173073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":173073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:51:03] local.INFO: TCP Data received {"connection_id":173073,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07114a308012d7dd7c006006400000900ea2b..."} 
[2026-09-05 15:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07114a308012d7dd7c006006400000900ea2b..."} 
[2026-09-05 15:51:03] local.INFO: Processing buffer {"connection_id":173073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07114a308012d7dd7c006006400000900ea2b..."} 
[2026-09-05 15:51:03] local.INFO: Packet analysis {"connection_id":173073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07114"} 
[2026-09-05 15:51:03] local.INFO: Extracted packet for processing {"connection_id":173073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07114"} 
[2026-09-05 15:51:03] local.INFO: GPS Element Parsed {"raw_longitude":763221952,"raw_latitude":100688896,"longitude_deg":76.3221952,"latitude_deg":10.0688896,"altitude":9,"angle":234,"satellites":43,"speed":7,"hex_longitude":"2d7dd7c0","hex_latitude":"06006400","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882514176001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859402263232512,"note":"Value kept but may cause issues"} 
[2026-09-05 15:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068349719207768064,"note":"Value kept but may cause issues"} 
[2026-09-05 15:51:03] 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-09-05 15:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788603573000,"timestamp_ms":1788603573000,"timestamp_seconds":1788603573,"priority":1,"record_length":96,"hex_timestamp":"000001a07114a308"} 
[2026-09-05 15:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:51: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-09-05 15:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 15:51: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-09-05 15: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-09-05 15:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882514176001,"66":27919,"244":206,"87":10752,"24":7,"16":399859402263232512,"45":9068349719207768064},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882514176001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:51:03] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:51:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859402263232512,"km_value":399859402263232.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068349719207768064,"description":"Unknown IO ID 45"} 
[2026-09-05 15:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882514176001,"power":27919,"unknown_244":206,"unknown_87":10752,"ignition":7,"odometer":null,"unknown_45":9068349719207768064}} 
[2026-09-05 15:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":173073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:51:03] local.INFO: GPS data processed {"connection_id":173073,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:51:03] local.INFO: Acknowledgment sent {"connection_id":173073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:51:07] local.INFO: TCP Data received {"connection_id":173074,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:51:07] local.INFO: Processing buffer {"connection_id":173074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:51:07] local.INFO: IMEI packet received {"connection_id":173074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":173074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:51:07] local.INFO: TCP Data received {"connection_id":173073,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07114aad8012d7dd74006006308000900db2d..."} 
[2026-09-05 15:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07114aad8012d7dd74006006308000900db2d..."} 
[2026-09-05 15:51:07] local.INFO: Processing buffer {"connection_id":173073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07114aad8012d7dd74006006308000900db2d..."} 
[2026-09-05 15:51:07] local.INFO: Packet analysis {"connection_id":173073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07114"} 
[2026-09-05 15:51:07] local.INFO: Extracted packet for processing {"connection_id":173073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07114"} 
[2026-09-05 15:51:07] local.INFO: GPS Element Parsed {"raw_longitude":763221824,"raw_latitude":100688648,"longitude_deg":76.3221824,"latitude_deg":10.0688648,"altitude":9,"angle":219,"satellites":45,"speed":4,"hex_longitude":"2d7dd740","hex_latitude":"06006308","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882514688001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859415148134400,"note":"Value kept but may cause issues"} 
[2026-09-05 15:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9067927506742673408,"note":"Value kept but may cause issues"} 
[2026-09-05 15:51:07] 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-09-05 15:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788603575000,"timestamp_ms":1788603575000,"timestamp_seconds":1788603575,"priority":1,"record_length":96,"hex_timestamp":"000001a07114aad8"} 
[2026-09-05 15:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 15:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882514688001,"66":27843,"244":206,"87":10752,"24":4,"16":399859415148134400,"45":9067927506742673408},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882514688001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:51:07] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:51:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859415148134400,"km_value":399859415148134.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9067927506742673408,"description":"Unknown IO ID 45"} 
[2026-09-05 15:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882514688001,"power":27843,"unknown_244":206,"unknown_87":10752,"ignition":4,"odometer":null,"unknown_45":9067927506742673408}} 
[2026-09-05 15:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":173073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:51:07] local.INFO: GPS data processed {"connection_id":173073,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:51:07] local.INFO: Acknowledgment sent {"connection_id":173073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:51:10] local.INFO: TCP Data received {"connection_id":173075,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173075,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:51:10] local.INFO: Processing buffer {"connection_id":173075,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:51:10] local.INFO: IMEI packet received {"connection_id":173075,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 15:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":173075,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:51:12] local.INFO: TCP Data received {"connection_id":173074,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:51:12] local.INFO: Processing buffer {"connection_id":173074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:51:12] local.INFO: IMEI packet received {"connection_id":173074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":173074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:51:14] local.INFO: TCP Data received {"connection_id":173074,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071150c80012c7938400848c6500014000129..."} 
[2026-09-05 15:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071150c80012c7938400848c6500014000129..."} 
[2026-09-05 15:51:14] local.INFO: Processing buffer {"connection_id":173074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071150c80012c7938400848c6500014000129..."} 
[2026-09-05 15:51:14] local.INFO: Packet analysis {"connection_id":173074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07115"} 
[2026-09-05 15:51:14] local.INFO: Extracted packet for processing {"connection_id":173074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07115"} 
[2026-09-05 15:51:14] local.INFO: GPS Element Parsed {"raw_longitude":746141760,"raw_latitude":138987088,"longitude_deg":74.614176,"latitude_deg":13.8987088,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c793840","hex_latitude":"0848c650","is_valid_coordinates":true} 
[2026-09-05 15:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882514944001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:51:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8735224094074990592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788603600000,"timestamp_ms":1788603600000,"timestamp_seconds":1788603600,"priority":1,"record_length":96,"hex_timestamp":"000001a071150c80"} 
[2026-09-05 15:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 15:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":173074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":173074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":173074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882514944001,"66":28104,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8735224094074990592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882514944001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:51:14] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:51:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:51:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":8735224094074990592,"description":"Unknown IO ID 44"} 
[2026-09-05 15:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882514944001,"power":28104,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8735224094074990592}} 
[2026-09-05 15:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":173074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769648,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:51:14] local.INFO: GPS data processed {"connection_id":173074,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:51:14] local.INFO: Acknowledgment sent {"connection_id":173074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:51:15] local.INFO: TCP Data received {"connection_id":173075,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173075,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:51:15] local.INFO: Processing buffer {"connection_id":173075,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:51:15] local.INFO: IMEI packet received {"connection_id":173075,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 15:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":173075,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:51:16] local.INFO: TCP Data received {"connection_id":173075,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a071159920012d0e64000705d658001a001d17..."} 
[2026-09-05 15:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071159920012d0e64000705d658001a001d17..."} 
[2026-09-05 15:51:16] local.INFO: Processing buffer {"connection_id":173075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071159920012d0e64000705d658001a001d17..."} 
[2026-09-05 15:51:16] local.INFO: Packet analysis {"connection_id":173075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07115"} 
[2026-09-05 15:51:16] local.INFO: Extracted packet for processing {"connection_id":173075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07115"} 
[2026-09-05 15:51:16] local.INFO: GPS Element Parsed {"raw_longitude":755917824,"raw_latitude":117823064,"longitude_deg":75.5917824,"latitude_deg":11.7823064,"altitude":26,"angle":29,"satellites":23,"speed":5,"hex_longitude":"2d0e6400","hex_latitude":"0705d658","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882530560001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30359010691514368,"note":"Value kept but may cause issues"} 
[2026-09-05 15:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1036953844364730368,"note":"Value kept but may cause issues"} 
[2026-09-05 15:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788603636000,"timestamp_ms":1788603636000,"timestamp_seconds":1788603636,"priority":1,"record_length":96,"hex_timestamp":"000001a071159920"} 
[2026-09-05 15:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:51: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-09-05 15: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-05 15:51:16] 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-09-05 15: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-09-05 15:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173075,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173075,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882530560001,"66":14559,"165":206,"94":11008,"24":5,"16":30359010691514368,"45":1036953844364730368},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-05 15:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882530560001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:51:16] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-05 15:51:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 15:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30359010691514368,"km_value":30359010691514.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1036953844364730368,"description":"Unknown IO ID 45"} 
[2026-09-05 15:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882530560001,"power":14559,"unknown_165":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":1036953844364730368}} 
[2026-09-05 15:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":173075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769649,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:51:16] local.INFO: GPS data processed {"connection_id":173075,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:51:16] local.INFO: Acknowledgment sent {"connection_id":173075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:51:17] local.INFO: TCP Data received {"connection_id":173074,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071155e88012c7938400848c6500014000129..."} 
[2026-09-05 15:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071155e88012c7938400848c6500014000129..."} 
[2026-09-05 15:51:17] local.INFO: Processing buffer {"connection_id":173074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071155e88012c7938400848c6500014000129..."} 
[2026-09-05 15:51:17] local.INFO: Packet analysis {"connection_id":173074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07115"} 
[2026-09-05 15:51:17] local.INFO: Extracted packet for processing {"connection_id":173074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07115"} 
[2026-09-05 15:51:17] local.INFO: GPS Element Parsed {"raw_longitude":746141760,"raw_latitude":138987088,"longitude_deg":74.614176,"latitude_deg":13.8987088,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c793840","hex_latitude":"0848c650","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882521600001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:51:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 15:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788603621000,"timestamp_ms":1788603621000,"timestamp_seconds":1788603621,"priority":1,"record_length":96,"hex_timestamp":"000001a071155e88"} 
[2026-09-05 15:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 15:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882521600001,"66":28050,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882521600001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:51:17] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:51:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:51:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 15:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882521600001,"power":28050,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 15:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":173074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769650,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:51:17] local.INFO: GPS data processed {"connection_id":173074,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:51:17] local.INFO: Acknowledgment sent {"connection_id":173074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:51:22] local.INFO: TCP Data received {"connection_id":171677,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071159150012d1959c007200bf00041002f25..."} 
[2026-09-05 15:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071159150012d1959c007200bf00041002f25..."} 
[2026-09-05 15:51:22] local.INFO: Processing buffer {"connection_id":171677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071159150012d1959c007200bf00041002f25..."} 
[2026-09-05 15:51:22] local.INFO: Packet analysis {"connection_id":171677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07115"} 
[2026-09-05 15:51:22] local.INFO: Extracted packet for processing {"connection_id":171677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07115"} 
[2026-09-05 15:51:22] local.INFO: GPS Element Parsed {"raw_longitude":756636096,"raw_latitude":119540720,"longitude_deg":75.6636096,"latitude_deg":11.954072,"altitude":65,"angle":47,"satellites":37,"speed":8,"hex_longitude":"2d1959c0","hex_latitude":"07200bf0","is_valid_coordinates":true} 
[2026-09-05 15:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882529792001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941963886034944,"note":"Value kept but may cause issues"} 
[2026-09-05 15:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826420785733640192,"note":"Value kept but may cause issues"} 
[2026-09-05 15:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788603634000,"timestamp_ms":1788603634000,"timestamp_seconds":1788603634,"priority":1,"record_length":96,"hex_timestamp":"000001a071159150"} 
[2026-09-05 15:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:51:22] 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-09-05 15:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-05 15:51:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:51:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882529792001,"66":12993,"102":206,"83":41984,"24":8,"16":17941963886034944,"45":1826420785733640192},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882529792001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:51:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:51:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941963886034944,"km_value":17941963886034.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826420785733640192,"description":"Unknown IO ID 45"} 
[2026-09-05 15:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882529792001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1826420785733640192}} 
[2026-09-05 15:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":171677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:51:22] local.INFO: GPS data processed {"connection_id":171677,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:51:22] local.INFO: Acknowledgment sent {"connection_id":171677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:51:42] local.INFO: TCP Data received {"connection_id":173073,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07114aec0012d7dd700060062b0000900cf2d..."} 
[2026-09-05 15:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07114aec0012d7dd700060062b0000900cf2d..."} 
[2026-09-05 15:51:42] local.INFO: Processing buffer {"connection_id":173073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07114aec0012d7dd700060062b0000900cf2d..."} 
[2026-09-05 15:51:42] local.INFO: Packet analysis {"connection_id":173073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07114"} 
[2026-09-05 15:51:42] local.INFO: Extracted packet for processing {"connection_id":173073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07114"} 
[2026-09-05 15:51:42] local.INFO: GPS Element Parsed {"raw_longitude":763221760,"raw_latitude":100688560,"longitude_deg":76.322176,"latitude_deg":10.068856,"altitude":9,"angle":207,"satellites":45,"speed":3,"hex_longitude":"2d7dd700","hex_latitude":"060062b0","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882515200001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859423738068992,"note":"Value kept but may cause issues"} 
[2026-09-05 15:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9067786769254254592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:51:42] 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-09-05 15:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788603576000,"timestamp_ms":1788603576000,"timestamp_seconds":1788603576,"priority":1,"record_length":96,"hex_timestamp":"000001a07114aec0"} 
[2026-09-05 15:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:51:42] 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-09-05 15: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 15:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":173073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":173073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":173073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882515200001,"66":27843,"244":206,"87":10752,"24":3,"16":399859423738068992,"45":9067786769254254592},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882515200001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:51:42] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:51:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859423738068992,"km_value":399859423738069.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9067786769254254592,"description":"Unknown IO ID 45"} 
[2026-09-05 15:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882515200001,"power":27843,"unknown_244":206,"unknown_87":10752,"ignition":3,"odometer":null,"unknown_45":9067786769254254592}} 
[2026-09-05 15:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":173073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:51:42] local.INFO: GPS data processed {"connection_id":173073,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:51:42] local.INFO: Acknowledgment sent {"connection_id":173073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:51:47] local.INFO: TCP Data received {"connection_id":173075,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a071169ed8012d0e660007063b600023014f17..."} 
[2026-09-05 15:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071169ed8012d0e660007063b600023014f17..."} 
[2026-09-05 15:51:47] local.INFO: Processing buffer {"connection_id":173075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071169ed8012d0e660007063b600023014f17..."} 
[2026-09-05 15:51:47] local.INFO: Packet analysis {"connection_id":173075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07116"} 
[2026-09-05 15:51:47] local.INFO: Extracted packet for processing {"connection_id":173075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07116"} 
[2026-09-05 15:51:47] local.INFO: GPS Element Parsed {"raw_longitude":755918336,"raw_latitude":117848928,"longitude_deg":75.5918336,"latitude_deg":11.7848928,"altitude":35,"angle":335,"satellites":23,"speed":11,"hex_longitude":"2d0e6600","hex_latitude":"07063b60","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882547712001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30360397965950976,"note":"Value kept but may cause issues"} 
[2026-09-05 15:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1037587163068911616,"note":"Value kept but may cause issues"} 
[2026-09-05 15:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788603703000,"timestamp_ms":1788603703000,"timestamp_seconds":1788603703,"priority":1,"record_length":96,"hex_timestamp":"000001a071169ed8"} 
[2026-09-05 15:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-05 15:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173075,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173075,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882547712001,"66":14450,"165":206,"94":11008,"24":11,"16":30360397965950976,"45":1037587163068911616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-05 15:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882547712001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:51:47] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-05 15:51:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 15:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30360397965950976,"km_value":30360397965950.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1037587163068911616,"description":"Unknown IO ID 45"} 
[2026-09-05 15:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882547712001,"power":14450,"unknown_165":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":1037587163068911616}} 
[2026-09-05 15:51:47] local.INFO: TCP Data received {"connection_id":171678,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:51:47] local.INFO: Processing buffer {"connection_id":171678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:51:47] local.INFO: IMEI packet received {"connection_id":171678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":171678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":173075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769653,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:51:47] local.INFO: GPS data processed {"connection_id":173075,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:51:47] local.INFO: Acknowledgment sent {"connection_id":173075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:51:52] local.INFO: TCP Data received {"connection_id":171678,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:51:52] local.INFO: Processing buffer {"connection_id":171678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:51:52] local.INFO: IMEI packet received {"connection_id":171678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":171678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:51:54] local.INFO: TCP Data received {"connection_id":171678,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07115b090012c7938400848c6500014000129..."} 
[2026-09-05 15:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07115b090012c7938400848c6500014000129..."} 
[2026-09-05 15:51:54] local.INFO: Processing buffer {"connection_id":171678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07115b090012c7938400848c6500014000129..."} 
[2026-09-05 15:51:54] local.INFO: Packet analysis {"connection_id":171678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07115"} 
[2026-09-05 15:51:54] local.INFO: Extracted packet for processing {"connection_id":171678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07115"} 
[2026-09-05 15:51:54] local.INFO: GPS Element Parsed {"raw_longitude":746141760,"raw_latitude":138987088,"longitude_deg":74.614176,"latitude_deg":13.8987088,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c793840","hex_latitude":"0848c650","is_valid_coordinates":true} 
[2026-09-05 15:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882526976001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:51:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 15:51:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788603642000,"timestamp_ms":1788603642000,"timestamp_seconds":1788603642,"priority":1,"record_length":96,"hex_timestamp":"000001a07115b090"} 
[2026-09-05 15:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:51:54] 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-09-05 15:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 15:51:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:51:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:51:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882526976001,"66":28082,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882526976001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:51:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:51:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:51:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 15:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882526976001,"power":28082,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 15:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":171678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769654,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:51:54] local.INFO: GPS data processed {"connection_id":171678,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:51:54] local.INFO: Acknowledgment sent {"connection_id":171678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:51:55] local.INFO: TCP Data received {"connection_id":171972,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:51:55] local.INFO: Processing buffer {"connection_id":171972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:51:55] local.INFO: IMEI packet received {"connection_id":171972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":171972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:51:56] local.INFO: TCP Data received {"connection_id":171973,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:51:56] local.INFO: Processing buffer {"connection_id":171973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:51:56] local.INFO: IMEI packet received {"connection_id":171973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":171973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:51:58] local.INFO: TCP Data received {"connection_id":171678,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071160298012c7938400848c6500014000129..."} 
[2026-09-05 15:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071160298012c7938400848c6500014000129..."} 
[2026-09-05 15:51:58] local.INFO: Processing buffer {"connection_id":171678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071160298012c7938400848c6500014000129..."} 
[2026-09-05 15:51:58] local.INFO: Packet analysis {"connection_id":171678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07116"} 
[2026-09-05 15:51:58] local.INFO: Extracted packet for processing {"connection_id":171678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07116"} 
[2026-09-05 15:51:58] local.INFO: GPS Element Parsed {"raw_longitude":746141760,"raw_latitude":138987088,"longitude_deg":74.614176,"latitude_deg":13.8987088,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c793840","hex_latitude":"0848c650","is_valid_coordinates":true} 
[2026-09-05 15:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882532352001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:51:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 15:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788603663000,"timestamp_ms":1788603663000,"timestamp_seconds":1788603663,"priority":1,"record_length":96,"hex_timestamp":"000001a071160298"} 
[2026-09-05 15:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:51:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 15:51:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:51:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882532352001,"66":28050,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882532352001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:51:58] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:51:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:51:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 15:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882532352001,"power":28050,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 15:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":171678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769655,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:51:58] local.INFO: GPS data processed {"connection_id":171678,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:51:58] local.INFO: Acknowledgment sent {"connection_id":171678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:51:58] local.INFO: TCP Data received {"connection_id":171972,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:51:58] local.INFO: Processing buffer {"connection_id":171972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:51:58] local.INFO: IMEI packet received {"connection_id":171972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":171972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:51:59] local.INFO: TCP Data received {"connection_id":171972,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071159538012d195a8007200cb00041001a24..."} 
[2026-09-05 15:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071159538012d195a8007200cb00041001a24..."} 
[2026-09-05 15:51:59] local.INFO: Processing buffer {"connection_id":171972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071159538012d195a8007200cb00041001a24..."} 
[2026-09-05 15:51:59] local.INFO: Packet analysis {"connection_id":171972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07115"} 
[2026-09-05 15:51:59] local.INFO: Extracted packet for processing {"connection_id":171972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07115"} 
[2026-09-05 15:51:59] local.INFO: GPS Element Parsed {"raw_longitude":756636288,"raw_latitude":119540912,"longitude_deg":75.6636288,"latitude_deg":11.9540912,"altitude":65,"angle":26,"satellites":36,"speed":9,"hex_longitude":"2d195a80","hex_latitude":"07200cb0","is_valid_coordinates":true} 
[2026-09-05 15:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882530304001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17941976770936832,"note":"Value kept but may cause issues"} 
[2026-09-05 15:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826702260710404096,"note":"Value kept but may cause issues"} 
[2026-09-05 15:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788603635000,"timestamp_ms":1788603635000,"timestamp_seconds":1788603635,"priority":1,"record_length":96,"hex_timestamp":"000001a071159538"} 
[2026-09-05 15:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-05 15:51:59] 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-09-05 15:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882530304001,"66":12993,"102":206,"83":41984,"24":9,"16":17941976770936832,"45":1826702260710404096},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 15:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882530304001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:51:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 15:51:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17941976770936832,"km_value":17941976770936.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826702260710404096,"description":"Unknown IO ID 45"} 
[2026-09-05 15:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882530304001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1826702260710404096}} 
[2026-09-05 15:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":171972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:51:59] local.INFO: GPS data processed {"connection_id":171972,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:51:59] local.INFO: Acknowledgment sent {"connection_id":171972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:52:00] local.INFO: TCP Data received {"connection_id":171973,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:52:00] local.INFO: Processing buffer {"connection_id":171973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:52:00] local.INFO: IMEI packet received {"connection_id":171973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":171973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:52:01] local.INFO: TCP Data received {"connection_id":171973,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711500c8012d7dd6c006006248000900d12d..."} 
[2026-09-05 15:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711500c8012d7dd6c006006248000900d12d..."} 
[2026-09-05 15:52:01] local.INFO: Processing buffer {"connection_id":171973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711500c8012d7dd6c006006248000900d12d..."} 
[2026-09-05 15:52:01] local.INFO: Packet analysis {"connection_id":171973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07115"} 
[2026-09-05 15:52:01] local.INFO: Extracted packet for processing {"connection_id":171973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07115"} 
[2026-09-05 15:52:01] local.INFO: GPS Element Parsed {"raw_longitude":763221696,"raw_latitude":100688456,"longitude_deg":76.3221696,"latitude_deg":10.0688456,"altitude":9,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d7dd6c0","hex_latitude":"06006248","is_valid_coordinates":true} 
[2026-09-05 15:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882515456001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859428033036288,"note":"Value kept but may cause issues"} 
[2026-09-05 15:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9067716400510054400,"note":"Value kept but may cause issues"} 
[2026-09-05 15:52:01] 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-09-05 15:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788603597000,"timestamp_ms":1788603597000,"timestamp_seconds":1788603597,"priority":1,"record_length":96,"hex_timestamp":"000001a0711500c8"} 
[2026-09-05 15:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 15:52:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:52:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882515456001,"66":27876,"244":206,"87":10752,"24":0,"16":399859428033036288,"45":9067716400510054400},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882515456001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:52:01] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:52:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859428033036288,"km_value":399859428033036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9067716400510054400,"description":"Unknown IO ID 45"} 
[2026-09-05 15:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882515456001,"power":27876,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9067716400510054400}} 
[2026-09-05 15:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":171973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:52:01] local.INFO: GPS data processed {"connection_id":171973,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:52:01] local.INFO: Acknowledgment sent {"connection_id":171973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:52:13] local.INFO: TCP Data received {"connection_id":171679,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171679,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:52:13] local.INFO: Processing buffer {"connection_id":171679,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:52:13] local.INFO: IMEI packet received {"connection_id":171679,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 15:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":171679,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:52:13] local.INFO: TCP Data received {"connection_id":171679,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171679,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:52:13] local.INFO: Processing buffer {"connection_id":171679,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:52:13] local.INFO: IMEI packet received {"connection_id":171679,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 15:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":171679,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:52:14] local.INFO: TCP Data received {"connection_id":171679,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171679,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:52:14] local.INFO: Processing buffer {"connection_id":171679,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:52:14] local.INFO: IMEI packet received {"connection_id":171679,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 15:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":171679,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:52:15] local.INFO: TCP Data received {"connection_id":171679,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171679,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:52:15] local.INFO: Processing buffer {"connection_id":171679,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:52:15] local.INFO: IMEI packet received {"connection_id":171679,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 15:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":171679,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:52:30] local.INFO: TCP Data received {"connection_id":171678,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0711654a0012c7938400848c6500014000129..."} 
[2026-09-05 15:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711654a0012c7938400848c6500014000129..."} 
[2026-09-05 15:52:30] local.INFO: Processing buffer {"connection_id":171678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711654a0012c7938400848c6500014000129..."} 
[2026-09-05 15:52:30] local.INFO: Packet analysis {"connection_id":171678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07116"} 
[2026-09-05 15:52:30] local.INFO: Extracted packet for processing {"connection_id":171678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07116"} 
[2026-09-05 15:52:30] local.INFO: GPS Element Parsed {"raw_longitude":746141760,"raw_latitude":138987088,"longitude_deg":74.614176,"latitude_deg":13.8987088,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c793840","hex_latitude":"0848c650","is_valid_coordinates":true} 
[2026-09-05 15:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882537728001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:52:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 15:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788603684000,"timestamp_ms":1788603684000,"timestamp_seconds":1788603684,"priority":1,"record_length":96,"hex_timestamp":"000001a0711654a0"} 
[2026-09-05 15:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 15:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":171678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":171678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":171678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882537728001,"66":28300,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882537728001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:52:30] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:52:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:52:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 15:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882537728001,"power":28300,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 15:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":171678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769658,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:52:30] local.INFO: GPS data processed {"connection_id":171678,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:52:30] local.INFO: Acknowledgment sent {"connection_id":171678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:52:32] local.INFO: TCP Data received {"connection_id":171973,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711552d0012d7dd6c006006248000900d12f..."} 
[2026-09-05 15:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711552d0012d7dd6c006006248000900d12f..."} 
[2026-09-05 15:52:32] local.INFO: Processing buffer {"connection_id":171973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711552d0012d7dd6c006006248000900d12f..."} 
[2026-09-05 15:52:32] local.INFO: Packet analysis {"connection_id":171973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07115"} 
[2026-09-05 15:52:32] local.INFO: Extracted packet for processing {"connection_id":171973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07115"} 
[2026-09-05 15:52:32] local.INFO: GPS Element Parsed {"raw_longitude":763221696,"raw_latitude":100688456,"longitude_deg":76.3221696,"latitude_deg":10.0688456,"altitude":9,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d7dd6c0","hex_latitude":"06006248","is_valid_coordinates":true} 
[2026-09-05 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-09-05 15:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882520832001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859428033036288,"note":"Value kept but may cause issues"} 
[2026-09-05 15:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9067646031765850112,"note":"Value kept but may cause issues"} 
[2026-09-05 15:52:32] 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-09-05 15:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788603618000,"timestamp_ms":1788603618000,"timestamp_seconds":1788603618,"priority":1,"record_length":96,"hex_timestamp":"000001a0711552d0"} 
[2026-09-05 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-09-05 15:52: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-09-05 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 15:52: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-09-05 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-09-05 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-09-05 15:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882520832001,"66":27876,"244":206,"87":10752,"24":0,"16":399859428033036288,"45":9067646031765850112},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882520832001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:52:32] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:52:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859428033036288,"km_value":399859428033036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9067646031765850112,"description":"Unknown IO ID 45"} 
[2026-09-05 15:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882520832001,"power":27876,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9067646031765850112}} 
[2026-09-05 15:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":171973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:52:32] local.INFO: GPS data processed {"connection_id":171973,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:52:32] local.INFO: Acknowledgment sent {"connection_id":171973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:52:45] local.INFO: TCP Data received {"connection_id":174394,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:52:45] local.INFO: Processing buffer {"connection_id":174394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:52:45] local.INFO: IMEI packet received {"connection_id":174394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":174394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:52:48] local.INFO: TCP Data received {"connection_id":173076,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173076,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:52:48] local.INFO: Processing buffer {"connection_id":173076,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:52:48] local.INFO: IMEI packet received {"connection_id":173076,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":173076,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:52:49] local.INFO: TCP Data received {"connection_id":174394,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:52:49] local.INFO: Processing buffer {"connection_id":174394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:52:49] local.INFO: IMEI packet received {"connection_id":174394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":174394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:52:50] local.INFO: TCP Data received {"connection_id":174394,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07116d1a0012d196ac007203478002f003624..."} 
[2026-09-05 15:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07116d1a0012d196ac007203478002f003624..."} 
[2026-09-05 15:52:50] local.INFO: Processing buffer {"connection_id":174394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07116d1a0012d196ac007203478002f003624..."} 
[2026-09-05 15:52:50] local.INFO: Packet analysis {"connection_id":174394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07116"} 
[2026-09-05 15:52:50] local.INFO: Extracted packet for processing {"connection_id":174394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07116"} 
[2026-09-05 15:52:50] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119551096,"longitude_deg":75.6640448,"latitude_deg":11.9551096,"altitude":47,"angle":54,"satellites":36,"speed":10,"hex_longitude":"2d196ac0","hex_latitude":"07203478","is_valid_coordinates":true} 
[2026-09-05 15:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882549248001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17942616721063936,"note":"Value kept but may cause issues"} 
[2026-09-05 15:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829305904247431168,"note":"Value kept but may cause issues"} 
[2026-09-05 15:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788603716000,"timestamp_ms":1788603716000,"timestamp_seconds":1788603716,"priority":1,"record_length":96,"hex_timestamp":"000001a07116d1a0"} 
[2026-09-05 15:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-05 15:52:50] 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-09-05 15:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882549248001,"66":13102,"103":206,"83":41984,"24":10,"16":17942616721063936,"45":1829305904247431168},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 15:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882549248001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:52:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 15:52:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17942616721063936,"km_value":17942616721063.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829305904247431168,"description":"Unknown IO ID 45"} 
[2026-09-05 15:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882549248001,"power":13102,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1829305904247431168}} 
[2026-09-05 15:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":174394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:52:50] local.INFO: GPS data processed {"connection_id":174394,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:52:50] local.INFO: Acknowledgment sent {"connection_id":174394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:52:52] local.INFO: TCP Data received {"connection_id":173076,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173076,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:52:52] local.INFO: Processing buffer {"connection_id":173076,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:52:52] local.INFO: IMEI packet received {"connection_id":173076,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":173076,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:52:54] local.INFO: TCP Data received {"connection_id":173076,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07116a6a8012c7938400848c6500014000129..."} 
[2026-09-05 15:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07116a6a8012c7938400848c6500014000129..."} 
[2026-09-05 15:52:54] local.INFO: Processing buffer {"connection_id":173076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07116a6a8012c7938400848c6500014000129..."} 
[2026-09-05 15:52:54] local.INFO: Packet analysis {"connection_id":173076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07116"} 
[2026-09-05 15:52:54] local.INFO: Extracted packet for processing {"connection_id":173076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07116"} 
[2026-09-05 15:52:54] local.INFO: GPS Element Parsed {"raw_longitude":746141760,"raw_latitude":138987088,"longitude_deg":74.614176,"latitude_deg":13.8987088,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c793840","hex_latitude":"0848c650","is_valid_coordinates":true} 
[2026-09-05 15:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882543104001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:52:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 15:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788603705000,"timestamp_ms":1788603705000,"timestamp_seconds":1788603705,"priority":1,"record_length":96,"hex_timestamp":"000001a07116a6a8"} 
[2026-09-05 15:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:52:54] 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-09-05 15:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 15:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882543104001,"66":28148,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882543104001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:52:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:52:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:52:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 15:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882543104001,"power":28148,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 15:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":173076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769661,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:52:54] local.INFO: GPS data processed {"connection_id":173076,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:52:54] local.INFO: Acknowledgment sent {"connection_id":173076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:52:56] local.INFO: TCP Data received {"connection_id":174395,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:52:56] local.INFO: Processing buffer {"connection_id":174395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:52:56] local.INFO: IMEI packet received {"connection_id":174395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":174395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:53:02] local.INFO: TCP Data received {"connection_id":174395,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:53:02] local.INFO: Processing buffer {"connection_id":174395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:53:02] local.INFO: IMEI packet received {"connection_id":174395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":174395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:53:05] local.INFO: TCP Data received {"connection_id":174395,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07115a4d8012d7dd6c006006248000900d12e..."} 
[2026-09-05 15:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07115a4d8012d7dd6c006006248000900d12e..."} 
[2026-09-05 15:53:05] local.INFO: Processing buffer {"connection_id":174395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07115a4d8012d7dd6c006006248000900d12e..."} 
[2026-09-05 15:53:05] local.INFO: Packet analysis {"connection_id":174395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07115"} 
[2026-09-05 15:53:05] local.INFO: Extracted packet for processing {"connection_id":174395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07115"} 
[2026-09-05 15:53:05] local.INFO: GPS Element Parsed {"raw_longitude":763221696,"raw_latitude":100688456,"longitude_deg":76.3221696,"latitude_deg":10.0688456,"altitude":9,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d7dd6c0","hex_latitude":"06006248","is_valid_coordinates":true} 
[2026-09-05 15:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882526208001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859428033036288,"note":"Value kept but may cause issues"} 
[2026-09-05 15:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9067646031765850112,"note":"Value kept but may cause issues"} 
[2026-09-05 15:53:05] 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-09-05 15:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788603639000,"timestamp_ms":1788603639000,"timestamp_seconds":1788603639,"priority":1,"record_length":96,"hex_timestamp":"000001a07115a4d8"} 
[2026-09-05 15:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:53:05] 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-09-05 15:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 15:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882526208001,"66":27930,"244":206,"87":10752,"24":0,"16":399859428033036288,"45":9067646031765850112},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882526208001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:53:05] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:53:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859428033036288,"km_value":399859428033036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9067646031765850112,"description":"Unknown IO ID 45"} 
[2026-09-05 15:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882526208001,"power":27930,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9067646031765850112}} 
[2026-09-05 15:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":174395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:53:05] local.INFO: GPS data processed {"connection_id":174395,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:53:05] local.INFO: Acknowledgment sent {"connection_id":174395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:53:26] local.INFO: TCP Data received {"connection_id":173076,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07116f8b0012c7938400848c6500014000129..."} 
[2026-09-05 15:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07116f8b0012c7938400848c6500014000129..."} 
[2026-09-05 15:53:26] local.INFO: Processing buffer {"connection_id":173076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07116f8b0012c7938400848c6500014000129..."} 
[2026-09-05 15:53:26] local.INFO: Packet analysis {"connection_id":173076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07116"} 
[2026-09-05 15:53:26] local.INFO: Extracted packet for processing {"connection_id":173076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07116"} 
[2026-09-05 15:53:26] local.INFO: GPS Element Parsed {"raw_longitude":746141760,"raw_latitude":138987088,"longitude_deg":74.614176,"latitude_deg":13.8987088,"altitude":20,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2c793840","hex_latitude":"0848c650","is_valid_coordinates":true} 
[2026-09-05 15:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882548480001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229473043185664,"note":"Value kept but may cause issues"} 
[2026-09-05 15:53:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 15:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788603726000,"timestamp_ms":1788603726000,"timestamp_seconds":1788603726,"priority":1,"record_length":96,"hex_timestamp":"000001a07116f8b0"} 
[2026-09-05 15:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-05 15:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882548480001,"66":28104,"119":206,"9":53760,"24":0,"16":1229473043185664,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882548480001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:53:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:53:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229473043185664,"km_value":1229473043185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:53:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 15:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882548480001,"power":28104,"unknown_119":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 15:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":173076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769663,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:53:26] local.INFO: GPS data processed {"connection_id":173076,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:53:26] local.INFO: Acknowledgment sent {"connection_id":173076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:53:39] local.INFO: TCP Data received {"connection_id":174395,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07115f6e0012d7dd6c006006248000900d12f..."} 
[2026-09-05 15:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07115f6e0012d7dd6c006006248000900d12f..."} 
[2026-09-05 15:53:39] local.INFO: Processing buffer {"connection_id":174395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07115f6e0012d7dd6c006006248000900d12f..."} 
[2026-09-05 15:53:39] local.INFO: Packet analysis {"connection_id":174395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07115"} 
[2026-09-05 15:53:39] local.INFO: Extracted packet for processing {"connection_id":174395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07115"} 
[2026-09-05 15:53:39] local.INFO: GPS Element Parsed {"raw_longitude":763221696,"raw_latitude":100688456,"longitude_deg":76.3221696,"latitude_deg":10.0688456,"altitude":9,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d7dd6c0","hex_latitude":"06006248","is_valid_coordinates":true} 
[2026-09-05 15:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882531584001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859428033036288,"note":"Value kept but may cause issues"} 
[2026-09-05 15:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9067646031765850112,"note":"Value kept but may cause issues"} 
[2026-09-05 15:53:39] 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-09-05 15:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788603660000,"timestamp_ms":1788603660000,"timestamp_seconds":1788603660,"priority":1,"record_length":96,"hex_timestamp":"000001a07115f6e0"} 
[2026-09-05 15:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:53:39] 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-09-05 15:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 15:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882531584001,"66":27908,"244":206,"87":10752,"24":0,"16":399859428033036288,"45":9067646031765850112},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882531584001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:53:39] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:53:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859428033036288,"km_value":399859428033036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9067646031765850112,"description":"Unknown IO ID 45"} 
[2026-09-05 15:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882531584001,"power":27908,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9067646031765850112}} 
[2026-09-05 15:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":174395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:53:39] local.INFO: GPS data processed {"connection_id":174395,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:53:39] local.INFO: Acknowledgment sent {"connection_id":174395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:53:39] local.INFO: TCP Data received {"connection_id":174396,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:53:39] local.INFO: Processing buffer {"connection_id":174396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:53:39] local.INFO: IMEI packet received {"connection_id":174396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":174396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:53:40] local.INFO: TCP Data received {"connection_id":174396,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:53:40] local.INFO: Processing buffer {"connection_id":174396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:53:40] local.INFO: IMEI packet received {"connection_id":174396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":174396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:53:45] local.INFO: TCP Data received {"connection_id":174396,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:53:45] local.INFO: Processing buffer {"connection_id":174396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:53:45] local.INFO: IMEI packet received {"connection_id":174396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":174396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:53:46] local.INFO: TCP Data received {"connection_id":174396,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07117d370012d196e00072045480028015c22..."} 
[2026-09-05 15:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07117d370012d196e00072045480028015c22..."} 
[2026-09-05 15:53:46] local.INFO: Processing buffer {"connection_id":174396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07117d370012d196e00072045480028015c22..."} 
[2026-09-05 15:53:46] local.INFO: Packet analysis {"connection_id":174396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07117"} 
[2026-09-05 15:53:46] local.INFO: Extracted packet for processing {"connection_id":174396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07117"} 
[2026-09-05 15:53:46] local.INFO: GPS Element Parsed {"raw_longitude":756641280,"raw_latitude":119555400,"longitude_deg":75.664128,"latitude_deg":11.95554,"altitude":40,"angle":348,"satellites":34,"speed":0,"hex_longitude":"2d196e00","hex_latitude":"07204548","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882562816001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17942852944265216,"note":"Value kept but may cause issues"} 
[2026-09-05 15:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832402128992552960,"note":"Value kept but may cause issues"} 
[2026-09-05 15:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788603782000,"timestamp_ms":1788603782000,"timestamp_seconds":1788603782,"priority":1,"record_length":96,"hex_timestamp":"000001a07117d370"} 
[2026-09-05 15:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-05 15:53:46] 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-09-05 15: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-09-05 15:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882562816001,"66":12548,"103":206,"83":41984,"24":0,"16":17942852944265216,"45":1832402128992552960},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 15:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882562816001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:53:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 15:53:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17942852944265216,"km_value":17942852944265.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832402128992552960,"description":"Unknown IO ID 45"} 
[2026-09-05 15:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882562816001,"power":12548,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832402128992552960}} 
[2026-09-05 15:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":174396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:53:46] local.INFO: GPS data processed {"connection_id":174396,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:53:46] local.INFO: Acknowledgment sent {"connection_id":174396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:53:47] local.INFO: TCP Data received {"connection_id":173078,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:53:47] local.INFO: Processing buffer {"connection_id":173078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:53:47] local.INFO: IMEI packet received {"connection_id":173078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":173078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:53:52] local.INFO: TCP Data received {"connection_id":173078,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:53:52] local.INFO: Processing buffer {"connection_id":173078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:53:52] local.INFO: IMEI packet received {"connection_id":173078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":173078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:53:53] local.INFO: TCP Data received {"connection_id":173078,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071174ab8012c7937400848de80000f016129..."} 
[2026-09-05 15:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071174ab8012c7937400848de80000f016129..."} 
[2026-09-05 15:53:53] local.INFO: Processing buffer {"connection_id":173078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071174ab8012c7937400848de80000f016129..."} 
[2026-09-05 15:53:53] local.INFO: Packet analysis {"connection_id":173078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07117"} 
[2026-09-05 15:53:53] local.INFO: Extracted packet for processing {"connection_id":173078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07117"} 
[2026-09-05 15:53:53] local.INFO: GPS Element Parsed {"raw_longitude":746141504,"raw_latitude":138993280,"longitude_deg":74.6141504,"latitude_deg":13.899328,"altitude":15,"angle":353,"satellites":41,"speed":23,"hex_longitude":"2c793740","hex_latitude":"0848de80","is_valid_coordinates":true} 
[2026-09-05 15:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882553856001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1229777985863680,"note":"Value kept but may cause issues"} 
[2026-09-05 15:53:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734801881609949184,"note":"Value kept but may cause issues"} 
[2026-09-05 15:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788603747000,"timestamp_ms":1788603747000,"timestamp_seconds":1788603747,"priority":1,"record_length":96,"hex_timestamp":"000001a071174ab8"} 
[2026-09-05 15:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 15:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173078,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173078,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882553856001,"66":28082,"119":206,"9":53760,"24":23,"16":1229777985863680,"44":8734801881609949184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882553856001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:53:53] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:53:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1229777985863680,"km_value":1229777985863.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:53:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734801881609949184,"description":"Unknown IO ID 44"} 
[2026-09-05 15:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882553856001,"power":28082,"unknown_119":206,"unknown_9":53760,"ignition":23,"odometer":null,"unknown_44":8734801881609949184}} 
[2026-09-05 15:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":173078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769666,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:53:53] local.INFO: GPS data processed {"connection_id":173078,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:53:53] local.INFO: Acknowledgment sent {"connection_id":173078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:53:56] local.INFO: TCP Data received {"connection_id":173080,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:53:56] local.INFO: Processing buffer {"connection_id":173080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:53:56] local.INFO: IMEI packet received {"connection_id":173080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":173080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:54:01] local.INFO: TCP Data received {"connection_id":173080,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:54:01] local.INFO: Processing buffer {"connection_id":173080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:54:01] local.INFO: IMEI packet received {"connection_id":173080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":173080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:54:02] local.INFO: TCP Data received {"connection_id":173080,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711648e8012d7dd6c006006248000900d12f..."} 
[2026-09-05 15:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711648e8012d7dd6c006006248000900d12f..."} 
[2026-09-05 15:54:02] local.INFO: Processing buffer {"connection_id":173080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711648e8012d7dd6c006006248000900d12f..."} 
[2026-09-05 15:54:02] local.INFO: Packet analysis {"connection_id":173080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07116"} 
[2026-09-05 15:54:02] local.INFO: Extracted packet for processing {"connection_id":173080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07116"} 
[2026-09-05 15:54:02] local.INFO: GPS Element Parsed {"raw_longitude":763221696,"raw_latitude":100688456,"longitude_deg":76.3221696,"latitude_deg":10.0688456,"altitude":9,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d7dd6c0","hex_latitude":"06006248","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882536960001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859428033036288,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9067646031765850112,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:02] 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-09-05 15:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788603681000,"timestamp_ms":1788603681000,"timestamp_seconds":1788603681,"priority":1,"record_length":96,"hex_timestamp":"000001a0711648e8"} 
[2026-09-05 15:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:54: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-09-05 15:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 15:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882536960001,"66":28050,"244":206,"87":10752,"24":0,"16":399859428033036288,"45":9067646031765850112},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882536960001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:54:02] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:54:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859428033036288,"km_value":399859428033036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9067646031765850112,"description":"Unknown IO ID 45"} 
[2026-09-05 15:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882536960001,"power":28050,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9067646031765850112}} 
[2026-09-05 15:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":173080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:54:02] local.INFO: GPS data processed {"connection_id":173080,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:54:02] local.INFO: Acknowledgment sent {"connection_id":173080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:54:17] local.INFO: TCP Data received {"connection_id":174396,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071182578012d196e00072045480028015c21..."} 
[2026-09-05 15:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071182578012d196e00072045480028015c21..."} 
[2026-09-05 15:54:17] local.INFO: Processing buffer {"connection_id":174396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071182578012d196e00072045480028015c21..."} 
[2026-09-05 15:54:17] local.INFO: Packet analysis {"connection_id":174396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07118"} 
[2026-09-05 15:54:17] local.INFO: Extracted packet for processing {"connection_id":174396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07118"} 
[2026-09-05 15:54:17] local.INFO: GPS Element Parsed {"raw_longitude":756641280,"raw_latitude":119555400,"longitude_deg":75.664128,"latitude_deg":11.95554,"altitude":40,"angle":348,"satellites":33,"speed":0,"hex_longitude":"2d196e00","hex_latitude":"07204548","is_valid_coordinates":true} 
[2026-09-05 15:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882568192001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17942852944265216,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832402128992552960,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788603803000,"timestamp_ms":1788603803000,"timestamp_seconds":1788603803,"priority":1,"record_length":96,"hex_timestamp":"000001a071182578"} 
[2026-09-05 15:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 15:54:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:17] local.WARNING: Large IO value detected {"io_id":190,"raw_value":3825205248,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184179925197,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-05 15:54:17] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2885733752,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:17] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3200516096,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:17] local.WARNING: Large IO value detected {"io_id":9,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:17] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:17] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,190,160,129,45,69,40,34,10,66,47,68,38,39,192,1,240,150,227,113,32,4,205,6,229,108,128,35,239,50,2,63,7,9,120],"length":485,"final_offset":615,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-05 15:54:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882686537592471552,"timestamp_seconds":2882686537592471.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 15:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882568192001,"66":12558,"103":206,"83":41984,"24":0,"16":17942852944265216,"45":1832402128992552960},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 15:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882568192001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:54:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 15:54:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17942852944265216,"km_value":17942852944265.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832402128992552960,"description":"Unknown IO ID 45"} 
[2026-09-05 15:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882568192001,"power":12558,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832402128992552960}} 
[2026-09-05 15:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":174396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:54:17] local.INFO: GPS data processed {"connection_id":174396,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:54:17] local.INFO: Acknowledgment sent {"connection_id":174396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:54:25] local.INFO: TCP Data received {"connection_id":173078,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071177d80012c79310008490270000e01592b..."} 
[2026-09-05 15:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071177d80012c79310008490270000e01592b..."} 
[2026-09-05 15:54:25] local.INFO: Processing buffer {"connection_id":173078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071177d80012c79310008490270000e01592b..."} 
[2026-09-05 15:54:25] local.INFO: Packet analysis {"connection_id":173078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07117"} 
[2026-09-05 15:54:25] local.INFO: Extracted packet for processing {"connection_id":173078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07117"} 
[2026-09-05 15:54:25] local.INFO: GPS Element Parsed {"raw_longitude":746139904,"raw_latitude":139002480,"longitude_deg":74.6139904,"latitude_deg":13.900248,"altitude":14,"angle":345,"satellites":43,"speed":33,"hex_longitude":"2c793100","hex_latitude":"08490270","is_valid_coordinates":true} 
[2026-09-05 15:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882559232001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1230228957429760,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8734520406634823680,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788603760000,"timestamp_ms":1788603760000,"timestamp_seconds":1788603760,"priority":1,"record_length":96,"hex_timestamp":"000001a071177d80"} 
[2026-09-05 15:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 15:54:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:54:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173078,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173078,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882559232001,"66":28104,"119":206,"9":53760,"24":33,"16":1230228957429760,"44":8734520406634823680},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882559232001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:54:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:54:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1230228957429760,"km_value":1230228957429.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:54:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8734520406634823680,"description":"Unknown IO ID 44"} 
[2026-09-05 15:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882559232001,"power":28104,"unknown_119":206,"unknown_9":53760,"ignition":33,"odometer":null,"unknown_44":8734520406634823680}} 
[2026-09-05 15:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":173078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769669,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:54:25] local.INFO: GPS data processed {"connection_id":173078,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:54:25] local.INFO: Acknowledgment sent {"connection_id":173078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:54:34] local.INFO: TCP Data received {"connection_id":173080,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071169af0012d7dd6c006006248000900d12e..."} 
[2026-09-05 15:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071169af0012d7dd6c006006248000900d12e..."} 
[2026-09-05 15:54:34] local.INFO: Processing buffer {"connection_id":173080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071169af0012d7dd6c006006248000900d12e..."} 
[2026-09-05 15:54:34] local.INFO: Packet analysis {"connection_id":173080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07116"} 
[2026-09-05 15:54:34] local.INFO: Extracted packet for processing {"connection_id":173080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07116"} 
[2026-09-05 15:54:34] local.INFO: GPS Element Parsed {"raw_longitude":763221696,"raw_latitude":100688456,"longitude_deg":76.3221696,"latitude_deg":10.0688456,"altitude":9,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d7dd6c0","hex_latitude":"06006248","is_valid_coordinates":true} 
[2026-09-05 15:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882542336001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859428033036288,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9067646031765850112,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:34] 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-09-05 15:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788603702000,"timestamp_ms":1788603702000,"timestamp_seconds":1788603702,"priority":1,"record_length":96,"hex_timestamp":"000001a071169af0"} 
[2026-09-05 15:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 15:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882542336001,"66":28028,"244":206,"87":10752,"24":0,"16":399859428033036288,"45":9067646031765850112},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882542336001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:54:34] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:54:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859428033036288,"km_value":399859428033036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9067646031765850112,"description":"Unknown IO ID 45"} 
[2026-09-05 15:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882542336001,"power":28028,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9067646031765850112}} 
[2026-09-05 15:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":173080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:54:34] local.INFO: GPS data processed {"connection_id":173080,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:54:34] local.INFO: Acknowledgment sent {"connection_id":173080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:54:45] local.INFO: TCP Data received {"connection_id":171680,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:54:45] local.INFO: Processing buffer {"connection_id":171680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:54:45] local.INFO: IMEI packet received {"connection_id":171680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":171680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:54:47] local.INFO: TCP Data received {"connection_id":171975,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171975,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:54:47] local.INFO: Processing buffer {"connection_id":171975,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:54:47] local.INFO: IMEI packet received {"connection_id":171975,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":171975,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:54:48] local.INFO: TCP Data received {"connection_id":171975,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171975,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:54:48] local.INFO: Processing buffer {"connection_id":171975,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:54:48] local.INFO: IMEI packet received {"connection_id":171975,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":171975,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:54:49] local.INFO: TCP Data received {"connection_id":171680,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:54:49] local.INFO: Processing buffer {"connection_id":171680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:54:49] local.INFO: IMEI packet received {"connection_id":171680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":171680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:54:52] local.INFO: TCP Data received {"connection_id":171975,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171975,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:54:52] local.INFO: Processing buffer {"connection_id":171975,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:54:52] local.INFO: IMEI packet received {"connection_id":171975,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":171975,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:54:52] local.INFO: TCP Data received {"connection_id":171680,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:54:52] local.INFO: Processing buffer {"connection_id":171680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:54:52] local.INFO: IMEI packet received {"connection_id":171680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":171680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:54:53] local.INFO: TCP Data received {"connection_id":171680,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071187780012d196e00072045480028015c21..."} 
[2026-09-05 15:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071187780012d196e00072045480028015c21..."} 
[2026-09-05 15:54:53] local.INFO: Processing buffer {"connection_id":171680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071187780012d196e00072045480028015c21..."} 
[2026-09-05 15:54:53] local.INFO: Packet analysis {"connection_id":171680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07118"} 
[2026-09-05 15:54:53] local.INFO: Extracted packet for processing {"connection_id":171680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07118"} 
[2026-09-05 15:54:53] local.INFO: GPS Element Parsed {"raw_longitude":756641280,"raw_latitude":119555400,"longitude_deg":75.664128,"latitude_deg":11.95554,"altitude":40,"angle":348,"satellites":33,"speed":0,"hex_longitude":"2d196e00","hex_latitude":"07204548","is_valid_coordinates":true} 
[2026-09-05 15:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882573568001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17942852944265216,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832402128992552960,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788603824000,"timestamp_ms":1788603824000,"timestamp_seconds":1788603824,"priority":1,"record_length":96,"hex_timestamp":"000001a071187780"} 
[2026-09-05 15:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:54: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-09-05 15:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-05 15:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:53] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:53] local.WARNING: Large IO value detected {"io_id":190,"raw_value":3925868544,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249747353499875000,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:53] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3201761280,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-05 15:54:53] local.WARNING: Large IO value detected {"io_id":23,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:53] local.WARNING: Large IO value detected {"io_id":109,"raw_value":2147950654,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:53] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3825257848,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:53] local.WARNING: Large IO value detected {"io_id":7,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:53] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:53] local.WARNING: Large IO value detected {"io_id":79,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:53] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408371202,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:53] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,103,83,24,241,157,16,190,160,211,45,69,40,34,10,66,129,47,1,240,63,227,113,32,4,205,12,23,109,136,37,239,46,2,7,44,120,79,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-05 15:54:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882686533297504256,"timestamp_seconds":2882686533297504.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 15:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882573568001,"66":13972,"103":206,"83":41984,"24":0,"16":17942852944265216,"45":1832402128992552960},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 15:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882573568001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:54:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 15:54:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17942852944265216,"km_value":17942852944265.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832402128992552960,"description":"Unknown IO ID 45"} 
[2026-09-05 15:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882573568001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832402128992552960}} 
[2026-09-05 15:54:53] local.INFO: TCP Data received {"connection_id":171975,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071179cc0012c79274008491c40000f014c2b..."} 
[2026-09-05 15:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071179cc0012c79274008491c40000f014c2b..."} 
[2026-09-05 15:54:53] local.INFO: Processing buffer {"connection_id":171975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071179cc0012c79274008491c40000f014c2b..."} 
[2026-09-05 15:54:53] local.INFO: Packet analysis {"connection_id":171975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07117"} 
[2026-09-05 15:54:53] local.INFO: Extracted packet for processing {"connection_id":171975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07117"} 
[2026-09-05 15:54:53] local.INFO: GPS Element Parsed {"raw_longitude":746137408,"raw_latitude":139009088,"longitude_deg":74.6137408,"latitude_deg":13.9009088,"altitude":15,"angle":332,"satellites":43,"speed":36,"hex_longitude":"2c792740","hex_latitude":"08491c40","is_valid_coordinates":true} 
[2026-09-05 15:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882562560001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1230572554813440,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8732761188032737280,"note":"Value kept but may cause issues"} 
[2026-09-05 15:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788603768000,"timestamp_ms":1788603768000,"timestamp_seconds":1788603768,"priority":1,"record_length":96,"hex_timestamp":"000001a071179cc0"} 
[2026-09-05 15:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 15:54:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:54:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171975,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171975,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882562560001,"66":28082,"119":206,"9":53760,"24":36,"16":1230572554813440,"44":8732761188032737280},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,9,24,16,44]} 
[2026-09-05 15:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882562560001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:54:53] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-05 15:54:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1230572554813440,"km_value":1230572554813.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:54:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":8732761188032737280,"description":"Unknown IO ID 44"} 
[2026-09-05 15:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882562560001,"power":28082,"unknown_119":206,"unknown_9":53760,"ignition":36,"odometer":null,"unknown_44":8732761188032737280}} 
[2026-09-05 15:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":171680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:54:53] local.INFO: GPS data processed {"connection_id":171680,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:54:53] local.INFO: Acknowledgment sent {"connection_id":171680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":171975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769672,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:54:53] local.INFO: GPS data processed {"connection_id":171975,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:54:53] local.INFO: Acknowledgment sent {"connection_id":171975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:54:56] local.INFO: TCP Data received {"connection_id":171682,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:54:56] local.INFO: Processing buffer {"connection_id":171682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:54:56] local.INFO: IMEI packet received {"connection_id":171682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":171682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:55:00] local.INFO: TCP Data received {"connection_id":171681,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171681,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:55:00] local.INFO: Processing buffer {"connection_id":171681,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:55:00] local.INFO: IMEI packet received {"connection_id":171681,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":171681,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:55:01] local.INFO: TCP Data received {"connection_id":171682,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:55:01] local.INFO: Processing buffer {"connection_id":171682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:55:01] local.INFO: IMEI packet received {"connection_id":171682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":171682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:55:01] local.INFO: TCP Data received {"connection_id":171681,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071190808012d7aa00005e40a880009003a21..."} 
[2026-09-05 15:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071190808012d7aa00005e40a880009003a21..."} 
[2026-09-05 15:55:01] local.INFO: Processing buffer {"connection_id":171681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071190808012d7aa00005e40a880009003a21..."} 
[2026-09-05 15:55:01] local.INFO: Packet analysis {"connection_id":171681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07119"} 
[2026-09-05 15:55:01] local.INFO: Extracted packet for processing {"connection_id":171681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07119"} 
[2026-09-05 15:55:01] local.INFO: GPS Element Parsed {"raw_longitude":763011072,"raw_latitude":98830984,"longitude_deg":76.3011072,"latitude_deg":9.8830984,"altitude":9,"angle":58,"satellites":33,"speed":3,"hex_longitude":"2d7aa000","hex_latitude":"05e40a88","is_valid_coordinates":true} 
[2026-09-05 15:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882588416001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128564614735593472,"note":"Value kept but may cause issues"} 
[2026-09-05 15:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836062494201645056,"note":"Value kept but may cause issues"} 
[2026-09-05 15:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788603861000,"timestamp_ms":1788603861000,"timestamp_seconds":1788603861,"priority":1,"record_length":96,"hex_timestamp":"000001a071190808"} 
[2026-09-05 15:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:55:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-05 15:55:01] 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-09-05 15:55:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882588416001,"66":13450,"208":206,"85":15104,"24":3,"16":128564614735593472,"45":8836062494201645056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 15:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882588416001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:55:01] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 15:55:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 15:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128564614735593472,"km_value":128564614735593.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836062494201645056,"description":"Unknown IO ID 45"} 
[2026-09-05 15:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882588416001,"power":13450,"unknown_208":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8836062494201645056}} 
[2026-09-05 15:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":171681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769673,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:55:01] local.INFO: GPS data processed {"connection_id":171681,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:55:01] local.INFO: Acknowledgment sent {"connection_id":171681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:55:03] local.INFO: TCP Data received {"connection_id":171682,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07116ecf8012d7dd6c006006248000900d12e..."} 
[2026-09-05 15:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07116ecf8012d7dd6c006006248000900d12e..."} 
[2026-09-05 15:55:03] local.INFO: Processing buffer {"connection_id":171682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07116ecf8012d7dd6c006006248000900d12e..."} 
[2026-09-05 15:55:03] local.INFO: Packet analysis {"connection_id":171682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07116"} 
[2026-09-05 15:55:03] local.INFO: Extracted packet for processing {"connection_id":171682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07116"} 
[2026-09-05 15:55:03] local.INFO: GPS Element Parsed {"raw_longitude":763221696,"raw_latitude":100688456,"longitude_deg":76.3221696,"latitude_deg":10.0688456,"altitude":9,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d7dd6c0","hex_latitude":"06006248","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882547712001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859428033036288,"note":"Value kept but may cause issues"} 
[2026-09-05 15:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9067646031765850112,"note":"Value kept but may cause issues"} 
[2026-09-05 15:55:03] 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-09-05 15:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788603723000,"timestamp_ms":1788603723000,"timestamp_seconds":1788603723,"priority":1,"record_length":96,"hex_timestamp":"000001a07116ecf8"} 
[2026-09-05 15:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:55: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-09-05 15: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-05 15:55: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-09-05 15: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-09-05 15:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882547712001,"66":27995,"244":206,"87":10752,"24":0,"16":399859428033036288,"45":9067646031765850112},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882547712001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:55:03] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:55:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859428033036288,"km_value":399859428033036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9067646031765850112,"description":"Unknown IO ID 45"} 
[2026-09-05 15:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882547712001,"power":27995,"unknown_244":206,"unknown_87":10752,"ignition":0,"odometer":null,"unknown_45":9067646031765850112}} 
[2026-09-05 15:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":171682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:55:03] local.INFO: GPS data processed {"connection_id":171682,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:55:03] local.INFO: Acknowledgment sent {"connection_id":171682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:55:24] local.INFO: TCP Data received {"connection_id":171680,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071188b08012d196ec0072048680029000920..."} 
[2026-09-05 15:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071188b08012d196ec0072048680029000920..."} 
[2026-09-05 15:55:24] local.INFO: Processing buffer {"connection_id":171680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071188b08012d196ec0072048680029000920..."} 
[2026-09-05 15:55:24] local.INFO: Packet analysis {"connection_id":171680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07118"} 
[2026-09-05 15:55:24] local.INFO: Extracted packet for processing {"connection_id":171680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07118"} 
[2026-09-05 15:55:24] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119556200,"longitude_deg":75.6641472,"latitude_deg":11.95562,"altitude":41,"angle":9,"satellites":32,"speed":5,"hex_longitude":"2d196ec0","hex_latitude":"07204868","is_valid_coordinates":true} 
[2026-09-05 15:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882578944001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17942891598970880,"note":"Value kept but may cause issues"} 
[2026-09-05 15:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832402128992552960,"note":"Value kept but may cause issues"} 
[2026-09-05 15:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788603829000,"timestamp_ms":1788603829000,"timestamp_seconds":1788603829,"priority":1,"record_length":96,"hex_timestamp":"000001a071188b08"} 
[2026-09-05 15:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:55:24] 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-09-05 15:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 15:55:24] 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-09-05 15:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882578944001,"66":14080,"103":206,"83":41984,"24":5,"16":17942891598970880,"45":1832402128992552960},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 15:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882578944001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:55:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 15:55:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17942891598970880,"km_value":17942891598970.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832402128992552960,"description":"Unknown IO ID 45"} 
[2026-09-05 15:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882578944001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1832402128992552960}} 
[2026-09-05 15:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":171680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:55:24] local.INFO: GPS data processed {"connection_id":171680,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:55:24] local.INFO: Acknowledgment sent {"connection_id":171680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:55:25] local.INFO: TCP Data received {"connection_id":171975,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071192b30012c77b1c0084a54e00003013c27..."} 
[2026-09-05 15:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071192b30012c77b1c0084a54e00003013c27..."} 
[2026-09-05 15:55:25] local.INFO: Processing buffer {"connection_id":171975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071192b30012c77b1c0084a54e00003013c27..."} 
[2026-09-05 15:55:25] local.INFO: Packet analysis {"connection_id":171975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07119"} 
[2026-09-05 15:55:25] local.INFO: Extracted packet for processing {"connection_id":171975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07119"} 
[2026-09-05 15:55:25] local.INFO: GPS Element Parsed {"raw_longitude":746041792,"raw_latitude":139089120,"longitude_deg":74.6041792,"latitude_deg":13.908912,"altitude":3,"angle":316,"satellites":39,"speed":54,"hex_longitude":"2c77b1c0","hex_latitude":"084a54e0","is_valid_coordinates":true} 
[2026-09-05 15:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882588928001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1236559739224064,"note":"Value kept but may cause issues"} 
[2026-09-05 15:55:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8632415358855802880,"note":"Value kept but may cause issues"} 
[2026-09-05 15:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788603870000,"timestamp_ms":1788603870000,"timestamp_seconds":1788603870,"priority":1,"record_length":96,"hex_timestamp":"000001a071192b30"} 
[2026-09-05 15:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 15:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:55:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171975,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171975,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882588928001,"66":28256,"12":206,"9":53760,"24":54,"16":1236559739224064,"44":8632415358855802880},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,9,24,16,44]} 
[2026-09-05 15:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882588928001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:55:25] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 15:55:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1236559739224064,"km_value":1236559739224.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:55:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8632415358855802880,"description":"Unknown IO ID 44"} 
[2026-09-05 15:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882588928001,"power":28256,"unknown_12":206,"unknown_9":53760,"ignition":54,"odometer":null,"unknown_44":8632415358855802880}} 
[2026-09-05 15:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":171975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769676,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:55:25] local.INFO: GPS data processed {"connection_id":171975,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:55:25] local.INFO: Acknowledgment sent {"connection_id":171975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:55:33] local.INFO: TCP Data received {"connection_id":171681,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711913c0012d7aa28005e40b800009004820..."} 
[2026-09-05 15:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711913c0012d7aa28005e40b800009004820..."} 
[2026-09-05 15:55:33] local.INFO: Processing buffer {"connection_id":171681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711913c0012d7aa28005e40b800009004820..."} 
[2026-09-05 15:55:33] local.INFO: Packet analysis {"connection_id":171681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07119"} 
[2026-09-05 15:55:33] local.INFO: Extracted packet for processing {"connection_id":171681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07119"} 
[2026-09-05 15:55:33] local.INFO: GPS Element Parsed {"raw_longitude":763011712,"raw_latitude":98831232,"longitude_deg":76.3011712,"latitude_deg":9.8831232,"altitude":9,"angle":72,"satellites":32,"speed":12,"hex_longitude":"2d7aa280","hex_latitude":"05e40b80","is_valid_coordinates":true} 
[2026-09-05 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-09-05 15:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882588416001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128564644800364544,"note":"Value kept but may cause issues"} 
[2026-09-05 15:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836062494201645056,"note":"Value kept but may cause issues"} 
[2026-09-05 15:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788603864000,"timestamp_ms":1788603864000,"timestamp_seconds":1788603864,"priority":1,"record_length":96,"hex_timestamp":"000001a0711913c0"} 
[2026-09-05 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-09-05 15:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-05 15:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 15:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882588416001,"66":13646,"208":206,"85":15104,"24":12,"16":128564644800364544,"45":8836062494201645056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 15:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882588416001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:55:33] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 15:55:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 15:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128564644800364544,"km_value":128564644800364.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836062494201645056,"description":"Unknown IO ID 45"} 
[2026-09-05 15:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882588416001,"power":13646,"unknown_208":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8836062494201645056}} 
[2026-09-05 15:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":171681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769677,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:55:33] local.INFO: GPS data processed {"connection_id":171681,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:55:33] local.INFO: Acknowledgment sent {"connection_id":171681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:55:34] local.INFO: TCP Data received {"connection_id":171682,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071197568012d7dce8006005790000a00b62e..."} 
[2026-09-05 15:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071197568012d7dce8006005790000a00b62e..."} 
[2026-09-05 15:55:34] local.INFO: Processing buffer {"connection_id":171682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071197568012d7dce8006005790000a00b62e..."} 
[2026-09-05 15:55:34] local.INFO: Packet analysis {"connection_id":171682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07119"} 
[2026-09-05 15:55:34] local.INFO: Extracted packet for processing {"connection_id":171682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07119"} 
[2026-09-05 15:55:34] local.INFO: GPS Element Parsed {"raw_longitude":763219584,"raw_latitude":100685712,"longitude_deg":76.3219584,"latitude_deg":10.0685712,"altitude":10,"angle":182,"satellites":46,"speed":6,"hex_longitude":"2d7dce80","hex_latitude":"06005790","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882595072001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859604126695424,"note":"Value kept but may cause issues"} 
[2026-09-05 15:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9065464600695742464,"note":"Value kept but may cause issues"} 
[2026-09-05 15:55:34] 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-09-05 15:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788603889000,"timestamp_ms":1788603889000,"timestamp_seconds":1788603889,"priority":1,"record_length":96,"hex_timestamp":"000001a071197568"} 
[2026-09-05 15:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:55: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-09-05 15: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 15:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882595072001,"66":27843,"244":206,"87":10752,"24":6,"16":399859604126695424,"45":9065464600695742464},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882595072001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:55:34] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:55:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859604126695424,"km_value":399859604126695.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9065464600695742464,"description":"Unknown IO ID 45"} 
[2026-09-05 15:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882595072001,"power":27843,"unknown_244":206,"unknown_87":10752,"ignition":6,"odometer":null,"unknown_45":9065464600695742464}} 
[2026-09-05 15:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":171682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:55:34] local.INFO: GPS data processed {"connection_id":171682,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:55:34] local.INFO: Acknowledgment sent {"connection_id":171682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:55:40] local.INFO: TCP Data received {"connection_id":173082,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:55:40] local.INFO: Processing buffer {"connection_id":173082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:55:40] local.INFO: IMEI packet received {"connection_id":173082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":173082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:55:41] local.INFO: TCP Data received {"connection_id":173082,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:55:41] local.INFO: Processing buffer {"connection_id":173082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:55:41] local.INFO: IMEI packet received {"connection_id":173082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":173082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:55:45] local.INFO: TCP Data received {"connection_id":173082,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:55:45] local.INFO: Processing buffer {"connection_id":173082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:55:45] local.INFO: IMEI packet received {"connection_id":173082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":173082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:55:46] local.INFO: TCP Data received {"connection_id":173082,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:55:46] local.INFO: Processing buffer {"connection_id":173082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:55:46] local.INFO: IMEI packet received {"connection_id":173082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":173082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:55:47] local.INFO: TCP Data received {"connection_id":173082,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071188ef0012d196ec0072049300029016420..."} 
[2026-09-05 15:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071188ef0012d196ec0072049300029016420..."} 
[2026-09-05 15:55:47] local.INFO: Processing buffer {"connection_id":173082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071188ef0012d196ec0072049300029016420..."} 
[2026-09-05 15:55:47] local.INFO: Packet analysis {"connection_id":173082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07118"} 
[2026-09-05 15:55:47] local.INFO: Extracted packet for processing {"connection_id":173082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07118"} 
[2026-09-05 15:55:47] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119556400,"longitude_deg":75.6641472,"latitude_deg":11.95564,"altitude":41,"angle":356,"satellites":32,"speed":9,"hex_longitude":"2d196ec0","hex_latitude":"07204930","is_valid_coordinates":true} 
[2026-09-05 15:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882580224001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17942900188905472,"note":"Value kept but may cause issues"} 
[2026-09-05 15:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235225290752,"note":"Value kept but may cause issues"} 
[2026-09-05 15:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788603830000,"timestamp_ms":1788603830000,"timestamp_seconds":1788603830,"priority":1,"record_length":96,"hex_timestamp":"000001a071188ef0"} 
[2026-09-05 15:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-05 15:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-09-05 15:55:47] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 15:55:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 15:55:47] local.WARNING: Large IO value detected {"io_id":190,"raw_value":3992977408,"note":"Value kept but may cause issues"} 
[2026-09-05 15:55:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-05 15:55:47] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3203006464,"note":"Value kept but may cause issues"} 
[2026-09-05 15:55:47] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,190,160,119,45,69,40,33,10,66,37,211,1,240,4,227,113,32,205,47,110,38,239,50,2,63,7,41,12],"length":479,"final_offset":609,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-05 15:55:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954371388598976512,"timestamp_seconds":2954371388598976.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 15:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882580224001,"66":14048,"103":206,"83":41984,"24":9,"16":17942900188905472,"45":1832613235225290752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 15:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882580224001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:55:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 15:55:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17942900188905472,"km_value":17942900188905.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235225290752,"description":"Unknown IO ID 45"} 
[2026-09-05 15:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882580224001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1832613235225290752}} 
[2026-09-05 15:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":173082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:55:47] local.INFO: GPS data processed {"connection_id":173082,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:55:47] local.INFO: Acknowledgment sent {"connection_id":173082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:55:53] local.INFO: TCP Data received {"connection_id":174398,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174398,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:55:53] local.INFO: Processing buffer {"connection_id":174398,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:55:53] local.INFO: IMEI packet received {"connection_id":174398,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":174398,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:55:55] local.INFO: TCP Data received {"connection_id":171683,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171683,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:55:55] local.INFO: Processing buffer {"connection_id":171683,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:55:55] local.INFO: IMEI packet received {"connection_id":171683,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":171683,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:55:55] local.INFO: TCP Data received {"connection_id":174398,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174398,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:55:55] local.INFO: Processing buffer {"connection_id":174398,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:55:55] local.INFO: IMEI packet received {"connection_id":174398,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":174398,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:55:57] local.INFO: TCP Data received {"connection_id":174398,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0711942a0012c779c80084a6d500003014829..."} 
[2026-09-05 15:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711942a0012c779c80084a6d500003014829..."} 
[2026-09-05 15:55:57] local.INFO: Processing buffer {"connection_id":174398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711942a0012c779c80084a6d500003014829..."} 
[2026-09-05 15:55:57] local.INFO: Packet analysis {"connection_id":174398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07119"} 
[2026-09-05 15:55:57] local.INFO: Extracted packet for processing {"connection_id":174398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07119"} 
[2026-09-05 15:55:57] local.INFO: GPS Element Parsed {"raw_longitude":746036352,"raw_latitude":139095376,"longitude_deg":74.6036352,"latitude_deg":13.9095376,"altitude":3,"angle":328,"satellites":41,"speed":54,"hex_longitude":"2c779c80","hex_latitude":"084a6d50","is_valid_coordinates":true} 
[2026-09-05 15:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882590720001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1236954876215296,"note":"Value kept but may cause issues"} 
[2026-09-05 15:55:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8624885903230558208,"note":"Value kept but may cause issues"} 
[2026-09-05 15:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788603876000,"timestamp_ms":1788603876000,"timestamp_seconds":1788603876,"priority":1,"record_length":96,"hex_timestamp":"000001a0711942a0"} 
[2026-09-05 15:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:55:57] 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-09-05 15:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 15:55:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:55:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882590720001,"66":27995,"12":206,"9":53760,"24":54,"16":1236954876215296,"44":8624885903230558208},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,9,24,16,44]} 
[2026-09-05 15:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882590720001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:55:57] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 15:55:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1236954876215296,"km_value":1236954876215.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:55:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":8624885903230558208,"description":"Unknown IO ID 44"} 
[2026-09-05 15:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882590720001,"power":27995,"unknown_12":206,"unknown_9":53760,"ignition":54,"odometer":null,"unknown_44":8624885903230558208}} 
[2026-09-05 15:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":174398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769680,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:55:57] local.INFO: GPS data processed {"connection_id":174398,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:55:57] local.INFO: Acknowledgment sent {"connection_id":174398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:55:58] local.INFO: TCP Data received {"connection_id":174398,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071195628012c779180084a85c00003015429..."} 
[2026-09-05 15:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071195628012c779180084a85c00003015429..."} 
[2026-09-05 15:55:58] local.INFO: Processing buffer {"connection_id":174398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071195628012c779180084a85c00003015429..."} 
[2026-09-05 15:55:58] local.INFO: Packet analysis {"connection_id":174398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07119"} 
[2026-09-05 15:55:58] local.INFO: Extracted packet for processing {"connection_id":174398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07119"} 
[2026-09-05 15:55:58] local.INFO: GPS Element Parsed {"raw_longitude":746033536,"raw_latitude":139101632,"longitude_deg":74.6033536,"latitude_deg":13.9101632,"altitude":3,"angle":340,"satellites":41,"speed":54,"hex_longitude":"2c779180","hex_latitude":"084a85c0","is_valid_coordinates":true} 
[2026-09-05 15:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882592256001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1237289883664384,"note":"Value kept but may cause issues"} 
[2026-09-05 15:55:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8618904559977058304,"note":"Value kept but may cause issues"} 
[2026-09-05 15:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788603881000,"timestamp_ms":1788603881000,"timestamp_seconds":1788603881,"priority":1,"record_length":96,"hex_timestamp":"000001a071195628"} 
[2026-09-05 15:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 15:55:58] 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-09-05 15:55:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882592256001,"66":28104,"12":206,"9":53760,"24":54,"16":1237289883664384,"44":8618904559977058304},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,9,24,16,44]} 
[2026-09-05 15:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882592256001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:55:58] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 15:55:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1237289883664384,"km_value":1237289883664.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:55:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":8618904559977058304,"description":"Unknown IO ID 44"} 
[2026-09-05 15:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882592256001,"power":28104,"unknown_12":206,"unknown_9":53760,"ignition":54,"odometer":null,"unknown_44":8618904559977058304}} 
[2026-09-05 15:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":174398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769681,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:55:58] local.INFO: GPS data processed {"connection_id":174398,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:55:58] local.INFO: Acknowledgment sent {"connection_id":174398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:56:00] local.INFO: TCP Data received {"connection_id":171683,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171683,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:56:00] local.INFO: Processing buffer {"connection_id":171683,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:56:00] local.INFO: IMEI packet received {"connection_id":171683,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":171683,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:56:01] local.INFO: TCP Data received {"connection_id":171684,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:56:01] local.INFO: Processing buffer {"connection_id":171684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:56:01] local.INFO: IMEI packet received {"connection_id":171684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":171684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:56:01] local.INFO: TCP Data received {"connection_id":171683,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071191b90012d7aa60005e40c180009005423..."} 
[2026-09-05 15:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071191b90012d7aa60005e40c180009005423..."} 
[2026-09-05 15:56:01] local.INFO: Processing buffer {"connection_id":171683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071191b90012d7aa60005e40c180009005423..."} 
[2026-09-05 15:56:01] local.INFO: Packet analysis {"connection_id":171683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07119"} 
[2026-09-05 15:56:01] local.INFO: Extracted packet for processing {"connection_id":171683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07119"} 
[2026-09-05 15:56:01] local.INFO: GPS Element Parsed {"raw_longitude":763012608,"raw_latitude":98831384,"longitude_deg":76.3012608,"latitude_deg":9.8831384,"altitude":9,"angle":84,"satellites":35,"speed":19,"hex_longitude":"2d7aa600","hex_latitude":"05e40c18","is_valid_coordinates":true} 
[2026-09-05 15:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882589184001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128564687750037504,"note":"Value kept but may cause issues"} 
[2026-09-05 15:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836766181643485184,"note":"Value kept but may cause issues"} 
[2026-09-05 15:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788603866000,"timestamp_ms":1788603866000,"timestamp_seconds":1788603866,"priority":1,"record_length":96,"hex_timestamp":"000001a071191b90"} 
[2026-09-05 15:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:56: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-09-05 15:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-05 15:56:01] 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-09-05 15:56:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882589184001,"66":13646,"208":206,"85":15104,"24":19,"16":128564687750037504,"45":8836766181643485184},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 15:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882589184001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:56:01] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 15:56:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 15:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128564687750037504,"km_value":128564687750037.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836766181643485184,"description":"Unknown IO ID 45"} 
[2026-09-05 15:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882589184001,"power":13646,"unknown_208":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8836766181643485184}} 
[2026-09-05 15:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":171683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769682,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:56:01] local.INFO: GPS data processed {"connection_id":171683,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:56:01] local.INFO: Acknowledgment sent {"connection_id":171683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:56:07] local.INFO: TCP Data received {"connection_id":171684,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:56:07] local.INFO: Processing buffer {"connection_id":171684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:56:07] local.INFO: IMEI packet received {"connection_id":171684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":171684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:56:08] local.INFO: TCP Data received {"connection_id":171684,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071197d38012d7dce8006005630000a00aa2e..."} 
[2026-09-05 15:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071197d38012d7dce8006005630000a00aa2e..."} 
[2026-09-05 15:56:08] local.INFO: Processing buffer {"connection_id":171684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071197d38012d7dce8006005630000a00aa2e..."} 
[2026-09-05 15:56:08] local.INFO: Packet analysis {"connection_id":171684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07119"} 
[2026-09-05 15:56:08] local.INFO: Extracted packet for processing {"connection_id":171684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07119"} 
[2026-09-05 15:56:08] local.INFO: GPS Element Parsed {"raw_longitude":763219584,"raw_latitude":100685360,"longitude_deg":76.3219584,"latitude_deg":10.068536,"altitude":10,"angle":170,"satellites":46,"speed":7,"hex_longitude":"2d7dce80","hex_latitude":"06005630","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882595584001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859621306564608,"note":"Value kept but may cause issues"} 
[2026-09-05 15:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9065323863207284736,"note":"Value kept but may cause issues"} 
[2026-09-05 15:56:08] 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-09-05 15:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788603891000,"timestamp_ms":1788603891000,"timestamp_seconds":1788603891,"priority":1,"record_length":96,"hex_timestamp":"000001a071197d38"} 
[2026-09-05 15:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:56:08] 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-09-05 15:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 15:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882595584001,"66":27876,"244":206,"87":10752,"24":7,"16":399859621306564608,"45":9065323863207284736},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882595584001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:56:08] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:56:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859621306564608,"km_value":399859621306564.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9065323863207284736,"description":"Unknown IO ID 45"} 
[2026-09-05 15:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882595584001,"power":27876,"unknown_244":206,"unknown_87":10752,"ignition":7,"odometer":null,"unknown_45":9065323863207284736}} 
[2026-09-05 15:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":171684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:56:08] local.INFO: GPS data processed {"connection_id":171684,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:56:08] local.INFO: Acknowledgment sent {"connection_id":171684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:56:19] local.INFO: TCP Data received {"connection_id":173082,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0711a11a8012d195a400720aa200034011d21..."} 
[2026-09-05 15:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711a11a8012d195a400720aa200034011d21..."} 
[2026-09-05 15:56:19] local.INFO: Processing buffer {"connection_id":173082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711a11a8012d195a400720aa200034011d21..."} 
[2026-09-05 15:56:19] local.INFO: Packet analysis {"connection_id":173082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711a"} 
[2026-09-05 15:56:19] local.INFO: Extracted packet for processing {"connection_id":173082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711a"} 
[2026-09-05 15:56:19] local.INFO: GPS Element Parsed {"raw_longitude":756636224,"raw_latitude":119581216,"longitude_deg":75.6636224,"latitude_deg":11.9581216,"altitude":52,"angle":285,"satellites":33,"speed":6,"hex_longitude":"2d195a40","hex_latitude":"0720aa20","is_valid_coordinates":true} 
[2026-09-05 15:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882604800001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17944313233145856,"note":"Value kept but may cause issues"} 
[2026-09-05 15:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827265210674098176,"note":"Value kept but may cause issues"} 
[2026-09-05 15:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788603929000,"timestamp_ms":1788603929000,"timestamp_seconds":1788603929,"priority":1,"record_length":96,"hex_timestamp":"000001a0711a11a8"} 
[2026-09-05 15:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:56:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 15:56:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882604800001,"66":14265,"103":206,"83":41984,"24":6,"16":17944313233145856,"45":1827265210674098176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 15:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882604800001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:56:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 15:56:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17944313233145856,"km_value":17944313233145.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827265210674098176,"description":"Unknown IO ID 45"} 
[2026-09-05 15:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882604800001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1827265210674098176}} 
[2026-09-05 15:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":173082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:56:19] local.INFO: GPS data processed {"connection_id":173082,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:56:19] local.INFO: Acknowledgment sent {"connection_id":173082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:56:30] local.INFO: TCP Data received {"connection_id":174398,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071197180012c778540084aa840000401532b..."} 
[2026-09-05 15:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071197180012c778540084aa840000401532b..."} 
[2026-09-05 15:56:30] local.INFO: Processing buffer {"connection_id":174398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071197180012c778540084aa840000401532b..."} 
[2026-09-05 15:56:30] local.INFO: Packet analysis {"connection_id":174398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07119"} 
[2026-09-05 15:56:30] local.INFO: Extracted packet for processing {"connection_id":174398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07119"} 
[2026-09-05 15:56:30] local.INFO: GPS Element Parsed {"raw_longitude":746030400,"raw_latitude":139110464,"longitude_deg":74.60304,"latitude_deg":13.9110464,"altitude":4,"angle":339,"satellites":43,"speed":52,"hex_longitude":"2c778540","hex_latitude":"084aa840","is_valid_coordinates":true} 
[2026-09-05 15:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882593536001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1237740855230464,"note":"Value kept but may cause issues"} 
[2026-09-05 15:56:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8615808335234842624,"note":"Value kept but may cause issues"} 
[2026-09-05 15:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788603888000,"timestamp_ms":1788603888000,"timestamp_seconds":1788603888,"priority":1,"record_length":96,"hex_timestamp":"000001a071197180"} 
[2026-09-05 15:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 15:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:56:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882593536001,"66":28082,"12":206,"9":53760,"24":52,"16":1237740855230464,"44":8615808335234842624},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,9,24,16,44]} 
[2026-09-05 15:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882593536001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:56:30] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 15:56:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1237740855230464,"km_value":1237740855230.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:56:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":8615808335234842624,"description":"Unknown IO ID 44"} 
[2026-09-05 15:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882593536001,"power":28082,"unknown_12":206,"unknown_9":53760,"ignition":52,"odometer":null,"unknown_44":8615808335234842624}} 
[2026-09-05 15:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":174398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769685,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:56:30] local.INFO: GPS data processed {"connection_id":174398,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:56:30] local.INFO: Acknowledgment sent {"connection_id":174398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:56:33] local.INFO: TCP Data received {"connection_id":171683,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071195240012d7ac90005e41270000a005323..."} 
[2026-09-05 15:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071195240012d7ac90005e41270000a005323..."} 
[2026-09-05 15:56:33] local.INFO: Processing buffer {"connection_id":171683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071195240012d7ac90005e41270000a005323..."} 
[2026-09-05 15:56:33] local.INFO: Packet analysis {"connection_id":171683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07119"} 
[2026-09-05 15:56:33] local.INFO: Extracted packet for processing {"connection_id":171683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07119"} 
[2026-09-05 15:56:33] local.INFO: GPS Element Parsed {"raw_longitude":763021568,"raw_latitude":98833008,"longitude_deg":76.3021568,"latitude_deg":9.8833008,"altitude":10,"angle":83,"satellites":35,"speed":15,"hex_longitude":"2d7ac900","hex_latitude":"05e41270","is_valid_coordinates":true} 
[2026-09-05 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-09-05 15:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882589696001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128565121541734400,"note":"Value kept but may cause issues"} 
[2026-09-05 15:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837751344062011392,"note":"Value kept but may cause issues"} 
[2026-09-05 15:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788603880000,"timestamp_ms":1788603880000,"timestamp_seconds":1788603880,"priority":1,"record_length":96,"hex_timestamp":"000001a071195240"} 
[2026-09-05 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-09-05 15:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-05 15:56:33] 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-09-05 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-09-05 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-09-05 15:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882589696001,"66":13428,"208":206,"85":15104,"24":15,"16":128565121541734400,"45":8837751344062011392},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 15:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882589696001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:56:33] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 15:56:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 15:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128565121541734400,"km_value":128565121541734.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837751344062011392,"description":"Unknown IO ID 45"} 
[2026-09-05 15:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882589696001,"power":13428,"unknown_208":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8837751344062011392}} 
[2026-09-05 15:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":171683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769686,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:56:33] local.INFO: GPS data processed {"connection_id":171683,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:56:33] local.INFO: Acknowledgment sent {"connection_id":171683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:56:39] local.INFO: TCP Data received {"connection_id":171684,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071198cd8012d7dcf8006005340000a009f2f..."} 
[2026-09-05 15:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071198cd8012d7dcf8006005340000a009f2f..."} 
[2026-09-05 15:56:39] local.INFO: Processing buffer {"connection_id":171684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071198cd8012d7dcf8006005340000a009f2f..."} 
[2026-09-05 15:56:39] local.INFO: Packet analysis {"connection_id":171684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07119"} 
[2026-09-05 15:56:39] local.INFO: Extracted packet for processing {"connection_id":171684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07119"} 
[2026-09-05 15:56:39] local.INFO: GPS Element Parsed {"raw_longitude":763219840,"raw_latitude":100684608,"longitude_deg":76.321984,"latitude_deg":10.0684608,"altitude":10,"angle":159,"satellites":47,"speed":10,"hex_longitude":"2d7dcf80","hex_latitude":"06005340","is_valid_coordinates":true} 
[2026-09-05 15:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882596096001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859659961270272,"note":"Value kept but may cause issues"} 
[2026-09-05 15:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9065323863207194624,"note":"Value kept but may cause issues"} 
[2026-09-05 15:56:39] 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-09-05 15:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788603895000,"timestamp_ms":1788603895000,"timestamp_seconds":1788603895,"priority":1,"record_length":96,"hex_timestamp":"000001a071198cd8"} 
[2026-09-05 15:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:56: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-09-05 15:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 15:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882596096001,"66":27865,"244":206,"87":10752,"24":10,"16":399859659961270272,"45":9065323863207194624},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882596096001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:56:40] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:56:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859659961270272,"km_value":399859659961270.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9065323863207194624,"description":"Unknown IO ID 45"} 
[2026-09-05 15:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882596096001,"power":27865,"unknown_244":206,"unknown_87":10752,"ignition":10,"odometer":null,"unknown_45":9065323863207194624}} 
[2026-09-05 15:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":171684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:56:40] local.INFO: GPS data processed {"connection_id":171684,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:56:40] local.INFO: Acknowledgment sent {"connection_id":171684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:56:44] local.INFO: TCP Data received {"connection_id":174399,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:56:44] local.INFO: Processing buffer {"connection_id":174399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:56:44] local.INFO: IMEI packet received {"connection_id":174399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":174399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:56:44] local.INFO: TCP Data received {"connection_id":174399,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:56:44] local.INFO: Processing buffer {"connection_id":174399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:56:44] local.INFO: IMEI packet received {"connection_id":174399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":174399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:56:48] local.INFO: TCP Data received {"connection_id":174399,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:56:48] local.INFO: Processing buffer {"connection_id":174399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:56:48] local.INFO: IMEI packet received {"connection_id":174399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":174399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:56:48] local.INFO: TCP Data received {"connection_id":171977,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171977,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:56:48] local.INFO: Processing buffer {"connection_id":171977,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:56:48] local.INFO: IMEI packet received {"connection_id":171977,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":171977,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:56:48] local.INFO: TCP Data received {"connection_id":174399,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0711a1978012d1958400720aa580034011121..."} 
[2026-09-05 15:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711a1978012d1958400720aa580034011121..."} 
[2026-09-05 15:56:48] local.INFO: Processing buffer {"connection_id":174399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711a1978012d1958400720aa580034011121..."} 
[2026-09-05 15:56:48] local.INFO: Packet analysis {"connection_id":174399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711a"} 
[2026-09-05 15:56:48] local.INFO: Extracted packet for processing {"connection_id":174399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711a"} 
[2026-09-05 15:56:48] local.INFO: GPS Element Parsed {"raw_longitude":756635712,"raw_latitude":119581272,"longitude_deg":75.6635712,"latitude_deg":11.9581272,"altitude":52,"angle":273,"satellites":33,"speed":13,"hex_longitude":"2d195840","hex_latitude":"0720aa58","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882605824001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17944334707982336,"note":"Value kept but may cause issues"} 
[2026-09-05 15:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826842998209126400,"note":"Value kept but may cause issues"} 
[2026-09-05 15:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788603931000,"timestamp_ms":1788603931000,"timestamp_seconds":1788603931,"priority":1,"record_length":96,"hex_timestamp":"000001a0711a1978"} 
[2026-09-05 15:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 15:56:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882605824001,"66":14157,"103":206,"83":41984,"24":13,"16":17944334707982336,"45":1826842998209126400},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 15:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882605824001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:56:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 15:56:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17944334707982336,"km_value":17944334707982.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826842998209126400,"description":"Unknown IO ID 45"} 
[2026-09-05 15:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882605824001,"power":14157,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1826842998209126400}} 
[2026-09-05 15:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":174399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:56:49] local.INFO: GPS data processed {"connection_id":174399,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:56:49] local.INFO: Acknowledgment sent {"connection_id":174399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:56:50] local.INFO: TCP Data received {"connection_id":171977,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171977,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:56:50] local.INFO: Processing buffer {"connection_id":171977,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:56:50] local.INFO: IMEI packet received {"connection_id":171977,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":171977,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:56:51] local.INFO: TCP Data received {"connection_id":171977,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071198cd8012c777940084aca100004015a29..."} 
[2026-09-05 15:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071198cd8012c777940084aca100004015a29..."} 
[2026-09-05 15:56:51] local.INFO: Processing buffer {"connection_id":171977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071198cd8012c777940084aca100004015a29..."} 
[2026-09-05 15:56:51] local.INFO: Packet analysis {"connection_id":171977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07119"} 
[2026-09-05 15:56:51] local.INFO: Extracted packet for processing {"connection_id":171977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07119"} 
[2026-09-05 15:56:51] local.INFO: GPS Element Parsed {"raw_longitude":746027328,"raw_latitude":139119120,"longitude_deg":74.6027328,"latitude_deg":13.911912,"altitude":4,"angle":346,"satellites":41,"speed":52,"hex_longitude":"2c777940","hex_latitude":"084aca10","is_valid_coordinates":true} 
[2026-09-05 15:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882595328001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1238187531829248,"note":"Value kept but may cause issues"} 
[2026-09-05 15:56:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8612360266772398080,"note":"Value kept but may cause issues"} 
[2026-09-05 15:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788603895000,"timestamp_ms":1788603895000,"timestamp_seconds":1788603895,"priority":1,"record_length":96,"hex_timestamp":"000001a071198cd8"} 
[2026-09-05 15:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 15:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171977,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171977,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882595328001,"66":28267,"12":206,"9":53760,"24":52,"16":1238187531829248,"44":8612360266772398080},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,9,24,16,44]} 
[2026-09-05 15:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882595328001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:56:51] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 15:56:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1238187531829248,"km_value":1238187531829.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:56:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":8612360266772398080,"description":"Unknown IO ID 44"} 
[2026-09-05 15:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882595328001,"power":28267,"unknown_12":206,"unknown_9":53760,"ignition":52,"odometer":null,"unknown_44":8612360266772398080}} 
[2026-09-05 15:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":171977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769689,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:56:51] local.INFO: GPS data processed {"connection_id":171977,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:56:51] local.INFO: Acknowledgment sent {"connection_id":171977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:56:52] local.INFO: TCP Data received {"connection_id":171977,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07119a830012c776dc0084aecc0000501512a..."} 
[2026-09-05 15:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07119a830012c776dc0084aecc0000501512a..."} 
[2026-09-05 15:56:52] local.INFO: Processing buffer {"connection_id":171977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07119a830012c776dc0084aecc0000501512a..."} 
[2026-09-05 15:56:52] local.INFO: Packet analysis {"connection_id":171977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07119"} 
[2026-09-05 15:56:52] local.INFO: Extracted packet for processing {"connection_id":171977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07119"} 
[2026-09-05 15:56:52] local.INFO: GPS Element Parsed {"raw_longitude":746024384,"raw_latitude":139128000,"longitude_deg":74.6024384,"latitude_deg":13.9128,"altitude":5,"angle":337,"satellites":42,"speed":52,"hex_longitude":"2c776dc0","hex_latitude":"084aecc0","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882597120001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1238638503395328,"note":"Value kept but may cause issues"} 
[2026-09-05 15:56:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8608982567054086144,"note":"Value kept but may cause issues"} 
[2026-09-05 15:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788603902000,"timestamp_ms":1788603902000,"timestamp_seconds":1788603902,"priority":1,"record_length":96,"hex_timestamp":"000001a07119a830"} 
[2026-09-05 15:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 15:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1711,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":171977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":171977,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":171977,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882597120001,"66":28234,"12":206,"9":53760,"24":52,"16":1238638503395328,"44":8608982567054086144},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,9,24,16,44]} 
[2026-09-05 15:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882597120001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:56:52] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 15:56:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1238638503395328,"km_value":1238638503395.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:56:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":8608982567054086144,"description":"Unknown IO ID 44"} 
[2026-09-05 15:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882597120001,"power":28234,"unknown_12":206,"unknown_9":53760,"ignition":52,"odometer":null,"unknown_44":8608982567054086144}} 
[2026-09-05 15:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":171977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769690,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:56:53] local.INFO: GPS data processed {"connection_id":171977,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:56:53] local.INFO: Acknowledgment sent {"connection_id":171977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:56:55] local.INFO: TCP Data received {"connection_id":173083,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:56:55] local.INFO: Processing buffer {"connection_id":173083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:56:55] local.INFO: IMEI packet received {"connection_id":173083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":173083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:56:55] local.INFO: TCP Data received {"connection_id":173083,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:56:55] local.INFO: Processing buffer {"connection_id":173083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:56:55] local.INFO: IMEI packet received {"connection_id":173083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":173083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:56:56] local.INFO: TCP Data received {"connection_id":173084,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:56:56] local.INFO: Processing buffer {"connection_id":173084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:56:56] local.INFO: IMEI packet received {"connection_id":173084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":173084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:56:56] local.INFO: TCP Data received {"connection_id":173084,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:56:56] local.INFO: Processing buffer {"connection_id":173084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:56:56] local.INFO: IMEI packet received {"connection_id":173084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":173084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:57:00] local.INFO: TCP Data received {"connection_id":173083,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:57:00] local.INFO: Processing buffer {"connection_id":173083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:57:00] local.INFO: IMEI packet received {"connection_id":173083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":173083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:57:02] local.INFO: TCP Data received {"connection_id":173083,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711ae498012d7b078005e34d88000800a826..."} 
[2026-09-05 15:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711ae498012d7b078005e34d88000800a826..."} 
[2026-09-05 15:57:02] local.INFO: Processing buffer {"connection_id":173083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711ae498012d7b078005e34d88000800a826..."} 
[2026-09-05 15:57:02] local.INFO: Packet analysis {"connection_id":173083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711a"} 
[2026-09-05 15:57:02] local.INFO: Extracted packet for processing {"connection_id":173083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711a"} 
[2026-09-05 15:57:02] local.INFO: GPS Element Parsed {"raw_longitude":763037568,"raw_latitude":98782600,"longitude_deg":76.3037568,"latitude_deg":9.87826,"altitude":8,"angle":168,"satellites":38,"speed":0,"hex_longitude":"2d7b0780","hex_latitude":"05e34d88","is_valid_coordinates":true} 
[2026-09-05 15:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882614528001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128567728586883072,"note":"Value kept but may cause issues"} 
[2026-09-05 15:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863154460698986496,"note":"Value kept but may cause issues"} 
[2026-09-05 15:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788603983000,"timestamp_ms":1788603983000,"timestamp_seconds":1788603983,"priority":1,"record_length":96,"hex_timestamp":"000001a0711ae498"} 
[2026-09-05 15:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-05 15:57:02] 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-09-05 15:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882614528001,"66":13689,"208":206,"85":15104,"24":0,"16":128567728586883072,"45":8863154460698986496},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 15:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882614528001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:57:02] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 15:57:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 15:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128567728586883072,"km_value":128567728586883.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863154460698986496,"description":"Unknown IO ID 45"} 
[2026-09-05 15:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882614528001,"power":13689,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8863154460698986496}} 
[2026-09-05 15:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":173083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769691,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:57:02] local.INFO: GPS data processed {"connection_id":173083,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:57:02] local.INFO: Acknowledgment sent {"connection_id":173083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:57:09] local.INFO: TCP Data received {"connection_id":173084,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:57:09] local.INFO: Processing buffer {"connection_id":173084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:57:09] local.INFO: IMEI packet received {"connection_id":173084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":173084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:57:11] local.INFO: TCP Data received {"connection_id":173084,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711994a8012d7dd0c006005108000900932f..."} 
[2026-09-05 15:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711994a8012d7dd0c006005108000900932f..."} 
[2026-09-05 15:57:11] local.INFO: Processing buffer {"connection_id":173084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711994a8012d7dd0c006005108000900932f..."} 
[2026-09-05 15:57:11] local.INFO: Packet analysis {"connection_id":173084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07119"} 
[2026-09-05 15:57:11] local.INFO: Extracted packet for processing {"connection_id":173084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07119"} 
[2026-09-05 15:57:11] local.INFO: GPS Element Parsed {"raw_longitude":763220160,"raw_latitude":100684040,"longitude_deg":76.322016,"latitude_deg":10.068404,"altitude":9,"angle":147,"satellites":47,"speed":12,"hex_longitude":"2d7dd0c0","hex_latitude":"06005108","is_valid_coordinates":true} 
[2026-09-05 15:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882597120001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399859694321008640,"note":"Value kept but may cause issues"} 
[2026-09-05 15:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9065605338183712768,"note":"Value kept but may cause issues"} 
[2026-09-05 15:57:11] 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-09-05 15:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788603897000,"timestamp_ms":1788603897000,"timestamp_seconds":1788603897,"priority":1,"record_length":96,"hex_timestamp":"000001a0711994a8"} 
[2026-09-05 15:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 15:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882597120001,"66":27571,"244":206,"87":10752,"24":12,"16":399859694321008640,"45":9065605338183712768},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-09-05 15:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882597120001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:57:11] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-05 15:57:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399859694321008640,"km_value":399859694321008.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9065605338183712768,"description":"Unknown IO ID 45"} 
[2026-09-05 15:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882597120001,"power":27571,"unknown_244":206,"unknown_87":10752,"ignition":12,"odometer":null,"unknown_45":9065605338183712768}} 
[2026-09-05 15:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":173084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:57:11] local.INFO: GPS data processed {"connection_id":173084,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:57:11] local.INFO: Acknowledgment sent {"connection_id":173084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:57:17] local.INFO: TCP Data received {"connection_id":173085,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173085,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:57:17] local.INFO: Processing buffer {"connection_id":173085,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:57:17] local.INFO: IMEI packet received {"connection_id":173085,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 15:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":173085,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:57:18] local.INFO: TCP Data received {"connection_id":173085,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0711af050012d0e320007065c28002800c11a..."} 
[2026-09-05 15:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711af050012d0e320007065c28002800c11a..."} 
[2026-09-05 15:57:18] local.INFO: Processing buffer {"connection_id":173085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711af050012d0e320007065c28002800c11a..."} 
[2026-09-05 15:57:18] local.INFO: Packet analysis {"connection_id":173085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711a"} 
[2026-09-05 15:57:18] local.INFO: Extracted packet for processing {"connection_id":173085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711a"} 
[2026-09-05 15:57:18] local.INFO: GPS Element Parsed {"raw_longitude":755905024,"raw_latitude":117857320,"longitude_deg":75.5905024,"latitude_deg":11.785732,"altitude":40,"angle":193,"satellites":26,"speed":7,"hex_longitude":"2d0e3200","hex_latitude":"07065c28","is_valid_coordinates":true} 
[2026-09-05 15:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882618112001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30363494637371392,"note":"Value kept but may cause issues"} 
[2026-09-05 15:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023020833026996224,"note":"Value kept but may cause issues"} 
[2026-09-05 15:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788603986000,"timestamp_ms":1788603986000,"timestamp_seconds":1788603986,"priority":1,"record_length":96,"hex_timestamp":"000001a0711af050"} 
[2026-09-05 15:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-05 15:57:18] 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-09-05 15:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173085,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173085,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882618112001,"66":13798,"219":206,"94":10240,"24":7,"16":30363494637371392,"45":1023020833026996224},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-05 15:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882618112001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:57:18] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-05 15:57:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 15:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30363494637371392,"km_value":30363494637371.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023020833026996224,"description":"Unknown IO ID 45"} 
[2026-09-05 15:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882618112001,"power":13798,"unknown_219":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":1023020833026996224}} 
[2026-09-05 15:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":173085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769693,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:57:18] local.INFO: GPS data processed {"connection_id":173085,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:57:18] local.INFO: Acknowledgment sent {"connection_id":173085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:57:20] local.INFO: TCP Data received {"connection_id":174399,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0711b07c0012d18cd00072130a00040014222..."} 
[2026-09-05 15:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711b07c0012d18cd00072130a00040014222..."} 
[2026-09-05 15:57:20] local.INFO: Processing buffer {"connection_id":174399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711b07c0012d18cd00072130a00040014222..."} 
[2026-09-05 15:57:20] local.INFO: Packet analysis {"connection_id":174399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:57:20] local.INFO: Extracted packet for processing {"connection_id":174399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:57:20] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119615648,"longitude_deg":75.6600064,"latitude_deg":11.9615648,"altitude":64,"angle":322,"satellites":34,"speed":34,"hex_longitude":"2d18cd00","hex_latitude":"072130a0","is_valid_coordinates":true} 
[2026-09-05 15:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882621440001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17946937458163712,"note":"Value kept but may cause issues"} 
[2026-09-05 15:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787999451431491584,"note":"Value kept but may cause issues"} 
[2026-09-05 15:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788603992000,"timestamp_ms":1788603992000,"timestamp_seconds":1788603992,"priority":1,"record_length":96,"hex_timestamp":"000001a0711b07c0"} 
[2026-09-05 15:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-05 15:57:20] 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-09-05 15:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882621440001,"66":13406,"103":206,"83":41984,"24":34,"16":17946937458163712,"45":1787999451431491584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 15:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882621440001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:57:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 15:57:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17946937458163712,"km_value":17946937458163.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787999451431491584,"description":"Unknown IO ID 45"} 
[2026-09-05 15:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882621440001,"power":13406,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1787999451431491584}} 
[2026-09-05 15:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":174399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:57:20] local.INFO: GPS data processed {"connection_id":174399,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:57:20] local.INFO: Acknowledgment sent {"connection_id":174399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:57:24] local.INFO: TCP Data received {"connection_id":171977,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0711b0f90012c76ce40084c87d00005012a29..."} 
[2026-09-05 15:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711b0f90012c76ce40084c87d00005012a29..."} 
[2026-09-05 15:57:24] local.INFO: Processing buffer {"connection_id":171977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711b0f90012c76ce40084c87d00005012a29..."} 
[2026-09-05 15:57:24] local.INFO: Packet analysis {"connection_id":171977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:57:24] local.INFO: Extracted packet for processing {"connection_id":171977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:57:24] local.INFO: GPS Element Parsed {"raw_longitude":745983552,"raw_latitude":139233232,"longitude_deg":74.5983552,"latitude_deg":13.9233232,"altitude":5,"angle":298,"satellites":41,"speed":57,"hex_longitude":"2c76ce40","hex_latitude":"084c87d0","is_valid_coordinates":true} 
[2026-09-05 15:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882620672001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1244307860226048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:57:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8570983445226123264,"note":"Value kept but may cause issues"} 
[2026-09-05 15:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788603994000,"timestamp_ms":1788603994000,"timestamp_seconds":1788603994,"priority":1,"record_length":96,"hex_timestamp":"000001a0711b0f90"} 
[2026-09-05 15:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:57: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-09-05 15:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 15:57:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171977,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171977,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882620672001,"66":28267,"13":206,"9":53760,"24":57,"16":1244307860226048,"44":8570983445226123264},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,9,24,16,44]} 
[2026-09-05 15:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882620672001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:57:24] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-05 15:57:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1244307860226048,"km_value":1244307860226.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:57:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":8570983445226123264,"description":"Unknown IO ID 44"} 
[2026-09-05 15:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882620672001,"power":28267,"unknown_13":206,"unknown_9":53760,"ignition":57,"odometer":null,"unknown_44":8570983445226123264}} 
[2026-09-05 15:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":171977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769695,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:57:24] local.INFO: GPS data processed {"connection_id":171977,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:57:24] local.INFO: Acknowledgment sent {"connection_id":171977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:57:34] local.INFO: TCP Data received {"connection_id":173083,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711b36a0012d7b0a0005e33f68000900b026..."} 
[2026-09-05 15:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711b36a0012d7b0a0005e33f68000900b026..."} 
[2026-09-05 15:57:34] local.INFO: Processing buffer {"connection_id":173083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711b36a0012d7b0a0005e33f68000900b026..."} 
[2026-09-05 15:57:34] local.INFO: Packet analysis {"connection_id":173083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:57:34] local.INFO: Extracted packet for processing {"connection_id":173083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:57:34] local.INFO: GPS Element Parsed {"raw_longitude":763038208,"raw_latitude":98778984,"longitude_deg":76.3038208,"latitude_deg":9.8778984,"altitude":9,"angle":176,"satellites":38,"speed":0,"hex_longitude":"2d7b0a00","hex_latitude":"05e33f68","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882619648001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128567913270476800,"note":"Value kept but may cause issues"} 
[2026-09-05 15:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865195154278811648,"note":"Value kept but may cause issues"} 
[2026-09-05 15:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788604004000,"timestamp_ms":1788604004000,"timestamp_seconds":1788604004,"priority":1,"record_length":96,"hex_timestamp":"000001a0711b36a0"} 
[2026-09-05 15:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-05 15:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882619648001,"66":13406,"208":206,"85":15104,"24":0,"16":128567913270476800,"45":8865195154278811648},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 15:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882619648001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:57:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 15:57:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 15:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128567913270476800,"km_value":128567913270476.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865195154278811648,"description":"Unknown IO ID 45"} 
[2026-09-05 15:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882619648001,"power":13406,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865195154278811648}} 
[2026-09-05 15:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":173083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769696,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:57:34] local.INFO: GPS data processed {"connection_id":173083,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:57:34] local.INFO: Acknowledgment sent {"connection_id":173083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:57:45] local.INFO: TCP Data received {"connection_id":174400,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:57:45] local.INFO: Processing buffer {"connection_id":174400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:57:45] local.INFO: IMEI packet received {"connection_id":174400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":174400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:57:45] local.INFO: TCP Data received {"connection_id":174400,"ip":"42.109.136.1","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 15:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174400,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 15:57:45] local.INFO: Processing buffer {"connection_id":174400,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 15:57:45] local.INFO: IMEI packet received {"connection_id":174400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":174400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:57:48] local.INFO: TCP Data received {"connection_id":174400,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:57:48] local.INFO: Processing buffer {"connection_id":174400,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 15:57:48] local.INFO: IMEI packet received {"connection_id":174400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":174400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:57:49] local.INFO: TCP Data received {"connection_id":171978,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:57:49] local.INFO: Processing buffer {"connection_id":171978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:57:49] local.INFO: IMEI packet received {"connection_id":171978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":171978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:57:49] local.INFO: TCP Data received {"connection_id":173085,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0711c2100012d0e71c007062820001d008619..."} 
[2026-09-05 15:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711c2100012d0e71c007062820001d008619..."} 
[2026-09-05 15:57:49] local.INFO: Processing buffer {"connection_id":173085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711c2100012d0e71c007062820001d008619..."} 
[2026-09-05 15:57:49] local.INFO: Packet analysis {"connection_id":173085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711c"} 
[2026-09-05 15:57:49] local.INFO: Extracted packet for processing {"connection_id":173085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711c"} 
[2026-09-05 15:57:49] local.INFO: GPS Element Parsed {"raw_longitude":755921344,"raw_latitude":117844000,"longitude_deg":75.5921344,"latitude_deg":11.7844,"altitude":29,"angle":134,"satellites":25,"speed":5,"hex_longitude":"2d0e71c0","hex_latitude":"07062820","is_valid_coordinates":true} 
[2026-09-05 15:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882640128001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30364753062789120,"note":"Value kept but may cause issues"} 
[2026-09-05 15:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1040613019067385856,"note":"Value kept but may cause issues"} 
[2026-09-05 15:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788604064000,"timestamp_ms":1788604064000,"timestamp_seconds":1788604064,"priority":1,"record_length":96,"hex_timestamp":"000001a0711c2100"} 
[2026-09-05 15:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-05 15:57:49] 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-09-05 15:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173085,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173085,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882640128001,"66":14580,"165":206,"94":11008,"24":5,"16":30364753062789120,"45":1040613019067385856},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-05 15:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882640128001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:57:49] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-05 15:57:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 15:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30364753062789120,"km_value":30364753062789.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1040613019067385856,"description":"Unknown IO ID 45"} 
[2026-09-05 15:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882640128001,"power":14580,"unknown_165":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":1040613019067385856}} 
[2026-09-05 15:57:49] local.INFO: TCP Data received {"connection_id":174400,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0711b1760012d18c5c007213c000041015322..."} 
[2026-09-05 15:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711b1760012d18c5c007213c000041015322..."} 
[2026-09-05 15:57:49] local.INFO: Processing buffer {"connection_id":174400,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a071..."} 
[2026-09-05 15:57:49] local.INFO: IMEI packet received {"connection_id":174400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":174400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":173085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769697,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:57:49] local.INFO: GPS data processed {"connection_id":173085,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:57:49] local.INFO: Acknowledgment sent {"connection_id":173085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:57:49] local.INFO: TCP Data received {"connection_id":171978,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:57:49] local.INFO: Processing buffer {"connection_id":171978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:57:49] local.INFO: IMEI packet received {"connection_id":171978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":171978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:57:50] local.INFO: TCP Data received {"connection_id":174400,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0711b1f30012d18c440072142980042016223..."} 
[2026-09-05 15:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711b1f30012d18c440072142980042016223..."} 
[2026-09-05 15:57:50] local.INFO: Processing buffer {"connection_id":174400,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0711b1760012d18c5c007213c000041015322..."} 
[2026-09-05 15:57:50] local.INFO: Packet analysis {"connection_id":174400,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:57:50] local.INFO: Extracted packet for processing {"connection_id":174400,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:57:50] local.INFO: GPS Element Parsed {"raw_longitude":756598208,"raw_latitude":119618560,"longitude_deg":75.6598208,"latitude_deg":11.961856,"altitude":65,"angle":339,"satellites":34,"speed":34,"hex_longitude":"2d18c5c0","hex_latitude":"07213c00","is_valid_coordinates":true} 
[2026-09-05 15:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882621952001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17947100666920960,"note":"Value kept but may cause issues"} 
[2026-09-05 15:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657757560832,"note":"Value kept but may cause issues"} 
[2026-09-05 15:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788603996000,"timestamp_ms":1788603996000,"timestamp_seconds":1788603996,"priority":1,"record_length":96,"hex_timestamp":"000001a0711b1760"} 
[2026-09-05 15:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-05 15:57:50] 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-09-05 15:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882621952001,"66":14265,"103":206,"83":41984,"24":34,"16":17947100666920960,"45":1787084657757560832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 15:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882621952001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:57:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 15:57:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17947100666920960,"km_value":17947100666920.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657757560832,"description":"Unknown IO ID 45"} 
[2026-09-05 15:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882621952001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1787084657757560832}} 
[2026-09-05 15:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":174400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:57:50] local.INFO: GPS data processed {"connection_id":174400,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:57:50] local.INFO: Acknowledgment sent {"connection_id":174400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:57:50] local.INFO: Packet analysis {"connection_id":174400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:57:50] local.INFO: Extracted packet for processing {"connection_id":174400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:57:50] local.INFO: GPS Element Parsed {"raw_longitude":756597824,"raw_latitude":119620248,"longitude_deg":75.6597824,"latitude_deg":11.9620248,"altitude":66,"angle":354,"satellites":35,"speed":34,"hex_longitude":"2d18c440","hex_latitude":"07214298","is_valid_coordinates":true} 
[2026-09-05 15:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882622976001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17947186566266880,"note":"Value kept but may cause issues"} 
[2026-09-05 15:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785043964177154048,"note":"Value kept but may cause issues"} 
[2026-09-05 15:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788603998000,"timestamp_ms":1788603998000,"timestamp_seconds":1788603998,"priority":1,"record_length":96,"hex_timestamp":"000001a0711b1f30"} 
[2026-09-05 15:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:57:50] 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-09-05 15:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 15:57:50] 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-09-05 15:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882622976001,"66":14265,"103":206,"83":41984,"24":34,"16":17947186566266880,"45":1785043964177154048},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 15:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882622976001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:57:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 15:57:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17947186566266880,"km_value":17947186566266.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785043964177154048,"description":"Unknown IO ID 45"} 
[2026-09-05 15:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882622976001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1785043964177154048}} 
[2026-09-05 15:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":174400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:57:50] local.INFO: GPS data processed {"connection_id":174400,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:57:50] local.INFO: Acknowledgment sent {"connection_id":174400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:57:52] local.INFO: TCP Data received {"connection_id":171978,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:57:52] local.INFO: Processing buffer {"connection_id":171978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:57:52] local.INFO: IMEI packet received {"connection_id":171978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":171978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:57:54] local.INFO: TCP Data received {"connection_id":171685,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:57:54] local.INFO: Processing buffer {"connection_id":171685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:57:54] local.INFO: IMEI packet received {"connection_id":171685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":171685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:57:54] local.INFO: TCP Data received {"connection_id":171978,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0711b2318012c76b700084c96a0000701372a..."} 
[2026-09-05 15:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711b2318012c76b700084c96a0000701372a..."} 
[2026-09-05 15:57:54] local.INFO: Processing buffer {"connection_id":171978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711b2318012c76b700084c96a0000701372a..."} 
[2026-09-05 15:57:54] local.INFO: Packet analysis {"connection_id":171978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:57:54] local.INFO: Extracted packet for processing {"connection_id":171978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:57:54] local.INFO: GPS Element Parsed {"raw_longitude":745977600,"raw_latitude":139237024,"longitude_deg":74.59776,"latitude_deg":13.9237024,"altitude":7,"angle":311,"satellites":42,"speed":53,"hex_longitude":"2c76b700","hex_latitude":"084c96a0","is_valid_coordinates":true} 
[2026-09-05 15:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882622464001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1244642867675136,"note":"Value kept but may cause issues"} 
[2026-09-05 15:57:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8560850346065776640,"note":"Value kept but may cause issues"} 
[2026-09-05 15:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788603999000,"timestamp_ms":1788603999000,"timestamp_seconds":1788603999,"priority":1,"record_length":96,"hex_timestamp":"000001a0711b2318"} 
[2026-09-05 15:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:57:54] 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-09-05 15:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 15:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1711,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882622464001,"66":28104,"13":206,"9":53760,"24":53,"16":1244642867675136,"44":8560850346065776640},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,9,24,16,44]} 
[2026-09-05 15:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882622464001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:57:54] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-05 15:57:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1244642867675136,"km_value":1244642867675.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:57:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8560850346065776640,"description":"Unknown IO ID 44"} 
[2026-09-05 15:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882622464001,"power":28104,"unknown_13":206,"unknown_9":53760,"ignition":53,"odometer":null,"unknown_44":8560850346065776640}} 
[2026-09-05 15:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":171978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769700,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:57:54] local.INFO: GPS data processed {"connection_id":171978,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:57:54] local.INFO: Acknowledgment sent {"connection_id":171978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:57:55] local.INFO: TCP Data received {"connection_id":171685,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:57:55] local.INFO: Processing buffer {"connection_id":171685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:57:55] local.INFO: IMEI packet received {"connection_id":171685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":171685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:57:57] local.INFO: TCP Data received {"connection_id":171685,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:57:57] local.INFO: Processing buffer {"connection_id":171685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:57:57] local.INFO: IMEI packet received {"connection_id":171685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":171685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:57:58] local.INFO: TCP Data received {"connection_id":173086,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:57:58] local.INFO: Processing buffer {"connection_id":173086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:57:58] local.INFO: IMEI packet received {"connection_id":173086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":173086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:57:59] local.INFO: TCP Data received {"connection_id":171685,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:57:59] local.INFO: Processing buffer {"connection_id":171685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:57:59] local.INFO: IMEI packet received {"connection_id":171685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":171685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:58:00] local.INFO: TCP Data received {"connection_id":171978,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0711b32b8012c76a900084ca620000801422a..."} 
[2026-09-05 15:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711b32b8012c76a900084ca620000801422a..."} 
[2026-09-05 15:58:00] local.INFO: Processing buffer {"connection_id":171978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711b32b8012c76a900084ca620000801422a..."} 
[2026-09-05 15:58:00] local.INFO: Packet analysis {"connection_id":171978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:58:00] local.INFO: Extracted packet for processing {"connection_id":171978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:58:00] local.INFO: GPS Element Parsed {"raw_longitude":745974016,"raw_latitude":139240992,"longitude_deg":74.5974016,"latitude_deg":13.9240992,"altitude":8,"angle":322,"satellites":42,"speed":52,"hex_longitude":"2c76a900","hex_latitude":"084ca620","is_valid_coordinates":true} 
[2026-09-05 15:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882623744001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1244900565712896,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8554306052858224640,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788604003000,"timestamp_ms":1788604003000,"timestamp_seconds":1788604003,"priority":1,"record_length":96,"hex_timestamp":"000001a0711b32b8"} 
[2026-09-05 15:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:58:00] 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-09-05 15:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 15:58:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:58:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882623744001,"66":28050,"13":206,"9":53760,"24":52,"16":1244900565712896,"44":8554306052858224640},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,9,24,16,44]} 
[2026-09-05 15:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882623744001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:58:00] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-05 15:58:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1244900565712896,"km_value":1244900565712.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:58:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":8554306052858224640,"description":"Unknown IO ID 44"} 
[2026-09-05 15:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882623744001,"power":28050,"unknown_13":206,"unknown_9":53760,"ignition":52,"odometer":null,"unknown_44":8554306052858224640}} 
[2026-09-05 15:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":171978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769701,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:58:00] local.INFO: GPS data processed {"connection_id":171978,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:58:00] local.INFO: Acknowledgment sent {"connection_id":171978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:58:00] local.INFO: TCP Data received {"connection_id":171685,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711b59c8012d7b0a4005e33e380009009f23..."} 
[2026-09-05 15:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711b59c8012d7b0a4005e33e380009009f23..."} 
[2026-09-05 15:58:00] local.INFO: Processing buffer {"connection_id":171685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711b59c8012d7b0a4005e33e380009009f23..."} 
[2026-09-05 15:58:00] local.INFO: Packet analysis {"connection_id":171685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:58:00] local.INFO: Extracted packet for processing {"connection_id":171685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:58:00] local.INFO: GPS Element Parsed {"raw_longitude":763038272,"raw_latitude":98778680,"longitude_deg":76.3038272,"latitude_deg":9.877868,"altitude":9,"angle":159,"satellites":35,"speed":2,"hex_longitude":"2d7b0a40","hex_latitude":"05e33e38","is_valid_coordinates":true} 
[2026-09-05 15:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882625024001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128567930450345984,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865898841719662592,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788604013000,"timestamp_ms":1788604013000,"timestamp_seconds":1788604013,"priority":1,"record_length":96,"hex_timestamp":"000001a0711b59c8"} 
[2026-09-05 15:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-05 15:58:00] 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-09-05 15:58:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882625024001,"66":13646,"208":206,"85":15104,"24":2,"16":128567930450345984,"45":8865898841719662592},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 15:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882625024001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:58:00] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 15:58:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 15:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128567930450345984,"km_value":128567930450345.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865898841719662592,"description":"Unknown IO ID 45"} 
[2026-09-05 15:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882625024001,"power":13646,"unknown_208":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8865898841719662592}} 
[2026-09-05 15:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":171685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769702,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:58:00] local.INFO: GPS data processed {"connection_id":171685,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:58:00] local.INFO: Acknowledgment sent {"connection_id":171685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:58:01] local.INFO: TCP Data received {"connection_id":173086,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:58:01] local.INFO: Processing buffer {"connection_id":173086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:58:01] local.INFO: IMEI packet received {"connection_id":173086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":173086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:58:06] local.INFO: TCP Data received {"connection_id":173086,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:58:06] local.INFO: Processing buffer {"connection_id":173086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:58:06] local.INFO: IMEI packet received {"connection_id":173086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":173086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:58:07] local.INFO: TCP Data received {"connection_id":173086,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711b4258012d7e834005ffb370000800c92f..."} 
[2026-09-05 15:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711b4258012d7e834005ffb370000800c92f..."} 
[2026-09-05 15:58:07] local.INFO: Processing buffer {"connection_id":173086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711b4258012d7e834005ffb370000800c92f..."} 
[2026-09-05 15:58:07] local.INFO: Packet analysis {"connection_id":173086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:58:07] local.INFO: Extracted packet for processing {"connection_id":173086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:58:07] local.INFO: GPS Element Parsed {"raw_longitude":763265856,"raw_latitude":100643696,"longitude_deg":76.3265856,"latitude_deg":10.0643696,"altitude":8,"angle":201,"satellites":47,"speed":11,"hex_longitude":"2d7e8340","hex_latitude":"05ffb370","is_valid_coordinates":true} 
[2026-09-05 15:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882625536001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399862700798115840,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9116270833981235200,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788604007000,"timestamp_ms":1788604007000,"timestamp_seconds":1788604007,"priority":1,"record_length":96,"hex_timestamp":"000001a0711b4258"} 
[2026-09-05 15:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:58: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-09-05 15:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 15:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882625536001,"66":27887,"6":206,"87":10752,"24":11,"16":399862700798115840,"45":9116270833981235200},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,87,24,16,45]} 
[2026-09-05 15:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882625536001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:58:07] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-05 15:58:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399862700798115840,"km_value":399862700798115.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9116270833981235200,"description":"Unknown IO ID 45"} 
[2026-09-05 15:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882625536001,"power":27887,"unknown_6":206,"unknown_87":10752,"ignition":11,"odometer":null,"unknown_45":9116270833981235200}} 
[2026-09-05 15:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":173086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:58:07] local.INFO: GPS data processed {"connection_id":173086,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:58:07] local.INFO: Acknowledgment sent {"connection_id":173086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:58:08] local.INFO: TCP Data received {"connection_id":173086,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711b4a28012d7e81c005ffb0f0000900da2f..."} 
[2026-09-05 15:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711b4a28012d7e81c005ffb0f0000900da2f..."} 
[2026-09-05 15:58:08] local.INFO: Processing buffer {"connection_id":173086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711b4a28012d7e81c005ffb0f0000900da2f..."} 
[2026-09-05 15:58:08] local.INFO: Packet analysis {"connection_id":173086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:58:08] local.INFO: Extracted packet for processing {"connection_id":173086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:58:08] local.INFO: GPS Element Parsed {"raw_longitude":763265472,"raw_latitude":100643056,"longitude_deg":76.3265472,"latitude_deg":10.0643056,"altitude":9,"angle":218,"satellites":47,"speed":16,"hex_longitude":"2d7e81c0","hex_latitude":"05ffb0f0","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882625792001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399862739452821504,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9116200465236979712,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788604009000,"timestamp_ms":1788604009000,"timestamp_seconds":1788604009,"priority":1,"record_length":96,"hex_timestamp":"000001a0711b4a28"} 
[2026-09-05 15:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:58: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-09-05 15: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-05 15:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882625792001,"66":27821,"6":206,"87":10752,"24":16,"16":399862739452821504,"45":9116200465236979712},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,87,24,16,45]} 
[2026-09-05 15:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882625792001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:58:08] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-05 15:58:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399862739452821504,"km_value":399862739452821.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9116200465236979712,"description":"Unknown IO ID 45"} 
[2026-09-05 15:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882625792001,"power":27821,"unknown_6":206,"unknown_87":10752,"ignition":16,"odometer":null,"unknown_45":9116200465236979712}} 
[2026-09-05 15:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":173086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:58:08] local.INFO: GPS data processed {"connection_id":173086,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:58:08] local.INFO: Acknowledgment sent {"connection_id":173086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:58:13] local.INFO: TCP Data received {"connection_id":174401,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174401,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:58:13] local.INFO: Processing buffer {"connection_id":174401,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:58:13] local.INFO: IMEI packet received {"connection_id":174401,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 15:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":174401,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:58:16] local.INFO: TCP Data received {"connection_id":174401,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174401,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:58:16] local.INFO: Processing buffer {"connection_id":174401,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:58:16] local.INFO: IMEI packet received {"connection_id":174401,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 15:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":174401,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:58:16] local.INFO: TCP Data received {"connection_id":174401,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174401,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:58:16] local.INFO: Processing buffer {"connection_id":174401,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:58:16] local.INFO: IMEI packet received {"connection_id":174401,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 15:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":174401,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:58:20] local.INFO: TCP Data received {"connection_id":174401,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174401,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:58:20] local.INFO: Processing buffer {"connection_id":174401,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:58:20] local.INFO: IMEI packet received {"connection_id":174401,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 15:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":174401,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:58:21] local.INFO: TCP Data received {"connection_id":174401,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0711c24e8012d0e720007062788001d00991a..."} 
[2026-09-05 15:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711c24e8012d0e720007062788001d00991a..."} 
[2026-09-05 15:58:21] local.INFO: Processing buffer {"connection_id":174401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711c24e8012d0e720007062788001d00991a..."} 
[2026-09-05 15:58:21] local.INFO: Packet analysis {"connection_id":174401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711c"} 
[2026-09-05 15:58:21] local.INFO: Extracted packet for processing {"connection_id":174401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711c"} 
[2026-09-05 15:58:21] local.INFO: GPS Element Parsed {"raw_longitude":755921408,"raw_latitude":117843848,"longitude_deg":75.5921408,"latitude_deg":11.7843848,"altitude":29,"angle":153,"satellites":26,"speed":7,"hex_longitude":"2d0e7200","hex_latitude":"07062788","is_valid_coordinates":true} 
[2026-09-05 15:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882640384001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30364761652723712,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1040824125299892224,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788604065000,"timestamp_ms":1788604065000,"timestamp_seconds":1788604065,"priority":1,"record_length":96,"hex_timestamp":"000001a0711c24e8"} 
[2026-09-05 15:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-05 15:58:21] 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-09-05 15:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882640384001,"66":14374,"165":206,"94":11008,"24":7,"16":30364761652723712,"45":1040824125299892224},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-05 15:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882640384001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:58:21] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-05 15:58:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 15:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30364761652723712,"km_value":30364761652723.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1040824125299892224,"description":"Unknown IO ID 45"} 
[2026-09-05 15:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882640384001,"power":14374,"unknown_165":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":1040824125299892224}} 
[2026-09-05 15:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":174401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769705,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:58:21] local.INFO: GPS data processed {"connection_id":174401,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:58:21] local.INFO: Acknowledgment sent {"connection_id":174401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:58:21] local.INFO: TCP Data received {"connection_id":174400,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0711bde98012d183700072195500049012522..."} 
[2026-09-05 15:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711bde98012d183700072195500049012522..."} 
[2026-09-05 15:58:21] local.INFO: Processing buffer {"connection_id":174400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711bde98012d183700072195500049012522..."} 
[2026-09-05 15:58:21] local.INFO: Packet analysis {"connection_id":174400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:58:21] local.INFO: Extracted packet for processing {"connection_id":174400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:58:21] local.INFO: GPS Element Parsed {"raw_longitude":756561664,"raw_latitude":119641424,"longitude_deg":75.6561664,"latitude_deg":11.9641424,"altitude":73,"angle":293,"satellites":34,"speed":31,"hex_longitude":"2d183700","hex_latitude":"07219550","is_valid_coordinates":true} 
[2026-09-05 15:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882633728001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17949368409653248,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754011347999694848,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788604047000,"timestamp_ms":1788604047000,"timestamp_seconds":1788604047,"priority":1,"record_length":96,"hex_timestamp":"000001a0711bde98"} 
[2026-09-05 15:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-05 15:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882633728001,"66":13928,"105":206,"83":41984,"24":31,"16":17949368409653248,"45":1754011347999694848},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 15:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882633728001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:58:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 15:58:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17949368409653248,"km_value":17949368409653.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754011347999694848,"description":"Unknown IO ID 45"} 
[2026-09-05 15:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882633728001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1754011347999694848}} 
[2026-09-05 15:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":174400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:58:21] local.INFO: GPS data processed {"connection_id":174400,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:58:21] local.INFO: Acknowledgment sent {"connection_id":174400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:58:21] local.INFO: TCP Data received {"connection_id":174401,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0711c2cb8012d0e724007062630001e00c21a..."} 
[2026-09-05 15:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711c2cb8012d0e724007062630001e00c21a..."} 
[2026-09-05 15:58:21] local.INFO: Processing buffer {"connection_id":174401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711c2cb8012d0e724007062630001e00c21a..."} 
[2026-09-05 15:58:21] local.INFO: Packet analysis {"connection_id":174401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711c"} 
[2026-09-05 15:58:21] local.INFO: Extracted packet for processing {"connection_id":174401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711c"} 
[2026-09-05 15:58:21] local.INFO: GPS Element Parsed {"raw_longitude":755921472,"raw_latitude":117843504,"longitude_deg":75.5921472,"latitude_deg":11.7843504,"altitude":30,"angle":194,"satellites":26,"speed":8,"hex_longitude":"2d0e7240","hex_latitude":"07062630","is_valid_coordinates":true} 
[2026-09-05 15:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882640640001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30364778832592896,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1040894494044030976,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788604067000,"timestamp_ms":1788604067000,"timestamp_seconds":1788604067,"priority":1,"record_length":96,"hex_timestamp":"000001a0711c2cb8"} 
[2026-09-05 15:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 15:58:21] 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-09-05 15:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882640640001,"66":14396,"165":206,"94":11008,"24":8,"16":30364778832592896,"45":1040894494044030976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-05 15:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882640640001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:58:21] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-05 15:58:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 15:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30364778832592896,"km_value":30364778832592.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1040894494044030976,"description":"Unknown IO ID 45"} 
[2026-09-05 15:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882640640001,"power":14396,"unknown_165":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":1040894494044030976}} 
[2026-09-05 15:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":174401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769707,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:58:22] local.INFO: GPS data processed {"connection_id":174401,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:58:22] local.INFO: Acknowledgment sent {"connection_id":174401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:58:31] local.INFO: TCP Data received {"connection_id":171978,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0711b4258012c769e00084cb720000a014e2c..."} 
[2026-09-05 15:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711b4258012c769e00084cb720000a014e2c..."} 
[2026-09-05 15:58:31] local.INFO: Processing buffer {"connection_id":171978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711b4258012c769e00084cb720000a014e2c..."} 
[2026-09-05 15:58:31] local.INFO: Packet analysis {"connection_id":171978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:58:31] local.INFO: Extracted packet for processing {"connection_id":171978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:58:31] local.INFO: GPS Element Parsed {"raw_longitude":745971200,"raw_latitude":139245344,"longitude_deg":74.59712,"latitude_deg":13.9245344,"altitude":10,"angle":334,"satellites":44,"speed":50,"hex_longitude":"2c769e00","hex_latitude":"084cb720","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882624768001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1245149673816064,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8550365403185291264,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788604007000,"timestamp_ms":1788604007000,"timestamp_seconds":1788604007,"priority":1,"record_length":96,"hex_timestamp":"000001a0711b4258"} 
[2026-09-05 15:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15: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":146,"data_length":795,"current_offset":136} 
[2026-09-05 15:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882624768001,"66":28137,"13":206,"9":53760,"24":50,"16":1245149673816064,"44":8550365403185291264},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,9,24,16,44]} 
[2026-09-05 15:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882624768001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:58:31] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-05 15:58:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1245149673816064,"km_value":1245149673816.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:58:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":8550365403185291264,"description":"Unknown IO ID 44"} 
[2026-09-05 15:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882624768001,"power":28137,"unknown_13":206,"unknown_9":53760,"ignition":50,"odometer":null,"unknown_44":8550365403185291264}} 
[2026-09-05 15:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":171978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769708,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:58:31] local.INFO: GPS data processed {"connection_id":171978,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:58:31] local.INFO: Acknowledgment sent {"connection_id":171978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:58:32] local.INFO: TCP Data received {"connection_id":171685,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711b88a8012d7b0b4005e33a10000900ae1f..."} 
[2026-09-05 15:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711b88a8012d7b0b4005e33a10000900ae1f..."} 
[2026-09-05 15:58:32] local.INFO: Processing buffer {"connection_id":171685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711b88a8012d7b0b4005e33a10000900ae1f..."} 
[2026-09-05 15:58:32] local.INFO: Packet analysis {"connection_id":171685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:58:32] local.INFO: Extracted packet for processing {"connection_id":171685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:58:32] local.INFO: GPS Element Parsed {"raw_longitude":763038528,"raw_latitude":98777616,"longitude_deg":76.3038528,"latitude_deg":9.8777616,"altitude":9,"angle":174,"satellites":31,"speed":5,"hex_longitude":"2d7b0b40","hex_latitude":"05e33a10","is_valid_coordinates":true} 
[2026-09-05 15:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882627328001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128567986284920832,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865969210463762432,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788604025000,"timestamp_ms":1788604025000,"timestamp_seconds":1788604025,"priority":1,"record_length":96,"hex_timestamp":"000001a0711b88a8"} 
[2026-09-05 15:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-05 15:58:32] 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-09-05 15:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882627328001,"66":13798,"208":206,"85":15104,"24":5,"16":128567986284920832,"45":8865969210463762432},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 15:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882627328001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:58:32] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 15:58:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 15:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128567986284920832,"km_value":128567986284920.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865969210463762432,"description":"Unknown IO ID 45"} 
[2026-09-05 15:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882627328001,"power":13798,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8865969210463762432}} 
[2026-09-05 15:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":171685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769709,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:58:32] local.INFO: GPS data processed {"connection_id":171685,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:58:32] local.INFO: Acknowledgment sent {"connection_id":171685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:58:43] local.INFO: TCP Data received {"connection_id":173086,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711b7cf0012d7e680005ff9598000c00e02b..."} 
[2026-09-05 15:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711b7cf0012d7e680005ff9598000c00e02b..."} 
[2026-09-05 15:58:43] local.INFO: Processing buffer {"connection_id":173086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711b7cf0012d7e680005ff9598000c00e02b..."} 
[2026-09-05 15:58:43] local.INFO: Packet analysis {"connection_id":173086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:58:43] local.INFO: Extracted packet for processing {"connection_id":173086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:58:43] local.INFO: GPS Element Parsed {"raw_longitude":763258880,"raw_latitude":100636056,"longitude_deg":76.325888,"latitude_deg":10.0636056,"altitude":12,"angle":224,"satellites":43,"speed":36,"hex_longitude":"2d7e6800","hex_latitude":"05ff9598","is_valid_coordinates":true} 
[2026-09-05 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-09-05 15:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882626304001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399863199014322176,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9115778252771749888,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788604022000,"timestamp_ms":1788604022000,"timestamp_seconds":1788604022,"priority":1,"record_length":96,"hex_timestamp":"000001a0711b7cf0"} 
[2026-09-05 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-09-05 15:58: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-09-05 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 15:58: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-09-05 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-09-05 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-09-05 15:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":173086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":173086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":173086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:58:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882626304001,"66":27908,"6":206,"87":10752,"24":36,"16":399863199014322176,"45":9115778252771749888},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,87,24,16,45]} 
[2026-09-05 15:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882626304001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:58:43] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-05 15:58:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399863199014322176,"km_value":399863199014322.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:58:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9115778252771749888,"description":"Unknown IO ID 45"} 
[2026-09-05 15:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882626304001,"power":27908,"unknown_6":206,"unknown_87":10752,"ignition":36,"odometer":null,"unknown_45":9115778252771749888}} 
[2026-09-05 15:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":173086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:58:43] local.INFO: GPS data processed {"connection_id":173086,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:58:43] local.INFO: Acknowledgment sent {"connection_id":173086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:58:45] local.INFO: TCP Data received {"connection_id":171979,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:58:45] local.INFO: Processing buffer {"connection_id":171979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:58:45] local.INFO: IMEI packet received {"connection_id":171979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":171979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:58:47] local.INFO: TCP Data received {"connection_id":171686,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171686,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:58:47] local.INFO: Processing buffer {"connection_id":171686,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:58:47] local.INFO: IMEI packet received {"connection_id":171686,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 15:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":171686,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:58:50] local.INFO: TCP Data received {"connection_id":171979,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:58:50] local.INFO: Processing buffer {"connection_id":171979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:58:50] local.INFO: IMEI packet received {"connection_id":171979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":171979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:58:50] local.INFO: TCP Data received {"connection_id":171979,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0711bf608012d1829c007219c100047013421..."} 
[2026-09-05 15:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711bf608012d1829c007219c100047013421..."} 
[2026-09-05 15:58:50] local.INFO: Processing buffer {"connection_id":171979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711bf608012d1829c007219c100047013421..."} 
[2026-09-05 15:58:50] local.INFO: Packet analysis {"connection_id":171979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:58:50] local.INFO: Extracted packet for processing {"connection_id":171979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:58:50] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643152,"longitude_deg":75.6558272,"latitude_deg":11.9643152,"altitude":71,"angle":308,"satellites":33,"speed":20,"hex_longitude":"2d1829c0","hex_latitude":"07219c10","is_valid_coordinates":true} 
[2026-09-05 15:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882636032001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17949548798279680,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744863411257561088,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788604053000,"timestamp_ms":1788604053000,"timestamp_seconds":1788604053,"priority":1,"record_length":96,"hex_timestamp":"000001a0711bf608"} 
[2026-09-05 15:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:58:50] 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-09-05 15:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-05 15:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882636032001,"66":13993,"105":206,"83":41984,"24":20,"16":17949548798279680,"45":1744863411257561088},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 15:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882636032001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:58:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 15:58:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17949548798279680,"km_value":17949548798279.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744863411257561088,"description":"Unknown IO ID 45"} 
[2026-09-05 15:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882636032001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1744863411257561088}} 
[2026-09-05 15:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":171979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:58:51] local.INFO: GPS data processed {"connection_id":171979,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:58:51] local.INFO: Acknowledgment sent {"connection_id":171979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:58:52] local.INFO: TCP Data received {"connection_id":171686,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171686,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:58:52] local.INFO: Processing buffer {"connection_id":171686,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 15:58:52] local.INFO: IMEI packet received {"connection_id":171686,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 15:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":171686,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:58:53] local.INFO: TCP Data received {"connection_id":174401,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0711c30a0012d0e720007062570001d00cf1a..."} 
[2026-09-05 15:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711c30a0012d0e720007062570001d00cf1a..."} 
[2026-09-05 15:58:53] local.INFO: Processing buffer {"connection_id":174401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711c30a0012d0e720007062570001d00cf1a..."} 
[2026-09-05 15:58:53] local.INFO: Packet analysis {"connection_id":174401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711c"} 
[2026-09-05 15:58:53] local.INFO: Extracted packet for processing {"connection_id":174401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711c"} 
[2026-09-05 15:58:53] local.INFO: GPS Element Parsed {"raw_longitude":755921408,"raw_latitude":117843312,"longitude_deg":75.5921408,"latitude_deg":11.7843312,"altitude":29,"angle":207,"satellites":26,"speed":10,"hex_longitude":"2d0e7200","hex_latitude":"07062570","is_valid_coordinates":true} 
[2026-09-05 15:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882641152001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30364787422527488,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1040964862788120576,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788604068000,"timestamp_ms":1788604068000,"timestamp_seconds":1788604068,"priority":1,"record_length":96,"hex_timestamp":"000001a0711c30a0"} 
[2026-09-05 15:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 15:58:53] 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-09-05 15:58:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882641152001,"66":14396,"165":206,"94":11008,"24":10,"16":30364787422527488,"45":1040964862788120576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-05 15:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882641152001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:58:53] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-05 15:58:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 15:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30364787422527488,"km_value":30364787422527.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1040964862788120576,"description":"Unknown IO ID 45"} 
[2026-09-05 15:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882641152001,"power":14396,"unknown_165":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":1040964862788120576}} 
[2026-09-05 15:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":174401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769712,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:58:53] local.INFO: GPS data processed {"connection_id":174401,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:58:53] local.INFO: Acknowledgment sent {"connection_id":174401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:58:54] local.INFO: TCP Data received {"connection_id":171686,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0711b51f8012c769780084cc9c0000b015c2b..."} 
[2026-09-05 15:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711b51f8012c769780084cc9c0000b015c2b..."} 
[2026-09-05 15:58:54] local.INFO: Processing buffer {"connection_id":171686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711b51f8012c769780084cc9c0000b015c2b..."} 
[2026-09-05 15:58:54] local.INFO: Packet analysis {"connection_id":171686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:58:54] local.INFO: Extracted packet for processing {"connection_id":171686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:58:54] local.INFO: GPS Element Parsed {"raw_longitude":745969536,"raw_latitude":139250112,"longitude_deg":74.5969536,"latitude_deg":13.9250112,"altitude":11,"angle":348,"satellites":43,"speed":49,"hex_longitude":"2c769780","hex_latitude":"084cc9c0","is_valid_coordinates":true} 
[2026-09-05 15:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882625792001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1245394486951936,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8547269178442588160,"note":"Value kept but may cause issues"} 
[2026-09-05 15:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788604011000,"timestamp_ms":1788604011000,"timestamp_seconds":1788604011,"priority":1,"record_length":96,"hex_timestamp":"000001a0711b51f8"} 
[2026-09-05 15:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:58:54] 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-09-05 15:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 15:58:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882625792001,"66":28148,"13":206,"9":53760,"24":49,"16":1245394486951936,"44":8547269178442588160},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,9,24,16,44]} 
[2026-09-05 15:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882625792001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:58:54] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-05 15:58:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1245394486951936,"km_value":1245394486951.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:58:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8547269178442588160,"description":"Unknown IO ID 44"} 
[2026-09-05 15:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882625792001,"power":28148,"unknown_13":206,"unknown_9":53760,"ignition":49,"odometer":null,"unknown_44":8547269178442588160}} 
[2026-09-05 15:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":171686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769713,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:58:54] local.INFO: GPS data processed {"connection_id":171686,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:58:54] local.INFO: Acknowledgment sent {"connection_id":171686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:58:55] local.INFO: TCP Data received {"connection_id":173087,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173087,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:58:55] local.INFO: Processing buffer {"connection_id":173087,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:58:55] local.INFO: IMEI packet received {"connection_id":173087,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 15:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":173087,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:58:56] local.INFO: TCP Data received {"connection_id":173088,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:58:56] local.INFO: Processing buffer {"connection_id":173088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:58:56] local.INFO: IMEI packet received {"connection_id":173088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 15:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":173088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:59:00] local.INFO: TCP Data received {"connection_id":173087,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173087,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:59:00] local.INFO: Processing buffer {"connection_id":173087,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 15:59:00] local.INFO: IMEI packet received {"connection_id":173087,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 15:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":173087,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:59:01] local.INFO: TCP Data received {"connection_id":173087,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711bbb70012d7b0c8005e32fc8000900c023..."} 
[2026-09-05 15:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711bbb70012d7b0c8005e32fc8000900c023..."} 
[2026-09-05 15:59:01] local.INFO: Processing buffer {"connection_id":173087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711bbb70012d7b0c8005e32fc8000900c023..."} 
[2026-09-05 15:59:01] local.INFO: Packet analysis {"connection_id":173087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:59:01] local.INFO: Extracted packet for processing {"connection_id":173087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:59:01] local.INFO: GPS Element Parsed {"raw_longitude":763038848,"raw_latitude":98774984,"longitude_deg":76.3038848,"latitude_deg":9.8774984,"altitude":9,"angle":192,"satellites":35,"speed":13,"hex_longitude":"2d7b0c80","hex_latitude":"05e32fc8","is_valid_coordinates":true} 
[2026-09-05 15:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882630400001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128568119428907008,"note":"Value kept but may cause issues"} 
[2026-09-05 15:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866250685440200704,"note":"Value kept but may cause issues"} 
[2026-09-05 15:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788604038000,"timestamp_ms":1788604038000,"timestamp_seconds":1788604038,"priority":1,"record_length":96,"hex_timestamp":"000001a0711bbb70"} 
[2026-09-05 15:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 15:59:01] 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-09-05 15: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-09-05 15:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882630400001,"66":12982,"208":206,"85":15104,"24":13,"16":128568119428907008,"45":8866250685440200704},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 15:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882630400001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:59:01] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 15:59:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 15:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128568119428907008,"km_value":128568119428907.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866250685440200704,"description":"Unknown IO ID 45"} 
[2026-09-05 15:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882630400001,"power":12982,"unknown_208":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8866250685440200704}} 
[2026-09-05 15:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":173087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769714,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:59:01] local.INFO: GPS data processed {"connection_id":173087,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:59:01] local.INFO: Acknowledgment sent {"connection_id":173087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:59:04] local.INFO: TCP Data received {"connection_id":173088,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:59:04] local.INFO: Processing buffer {"connection_id":173088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 15:59:04] local.INFO: IMEI packet received {"connection_id":173088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 15:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":173088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:59:06] local.INFO: TCP Data received {"connection_id":174402,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174402,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:59:06] local.INFO: Processing buffer {"connection_id":174402,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:59:06] local.INFO: IMEI packet received {"connection_id":174402,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 15:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":174402,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:59:09] local.INFO: TCP Data received {"connection_id":173088,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711ba018012d7e4d4005ff7d60001100e52a..."} 
[2026-09-05 15:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711ba018012d7e4d4005ff7d60001100e52a..."} 
[2026-09-05 15:59:09] local.INFO: Processing buffer {"connection_id":173088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711ba018012d7e4d4005ff7d60001100e52a..."} 
[2026-09-05 15:59:09] local.INFO: Packet analysis {"connection_id":173088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:59:09] local.INFO: Extracted packet for processing {"connection_id":173088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:59:09] local.INFO: GPS Element Parsed {"raw_longitude":763252032,"raw_latitude":100629856,"longitude_deg":76.3252032,"latitude_deg":10.0629856,"altitude":17,"angle":229,"satellites":42,"speed":42,"hex_longitude":"2d7e4d40","hex_latitude":"05ff7d60","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882629632001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399863645690920960,"note":"Value kept but may cause issues"} 
[2026-09-05 15:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108530272119658496,"note":"Value kept but may cause issues"} 
[2026-09-05 15:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788604031000,"timestamp_ms":1788604031000,"timestamp_seconds":1788604031,"priority":1,"record_length":96,"hex_timestamp":"000001a0711ba018"} 
[2026-09-05 15:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:59: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-09-05 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 15:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15: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-09-05 15:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882629632001,"66":27821,"6":206,"87":10752,"24":42,"16":399863645690920960,"45":9108530272119658496},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,87,24,16,45]} 
[2026-09-05 15:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882629632001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:59:09] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-05 15:59:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399863645690920960,"km_value":399863645690920.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108530272119658496,"description":"Unknown IO ID 45"} 
[2026-09-05 15:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882629632001,"power":27821,"unknown_6":206,"unknown_87":10752,"ignition":42,"odometer":null,"unknown_45":9108530272119658496}} 
[2026-09-05 15:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":173088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:59:09] local.INFO: GPS data processed {"connection_id":173088,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:59:09] local.INFO: Acknowledgment sent {"connection_id":173088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:59:10] local.INFO: TCP Data received {"connection_id":174402,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174402,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:59:10] local.INFO: Processing buffer {"connection_id":174402,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:59:10] local.INFO: IMEI packet received {"connection_id":174402,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 15:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":174402,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:59:15] local.INFO: TCP Data received {"connection_id":174402,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174402,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:59:15] local.INFO: Processing buffer {"connection_id":174402,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 15:59:15] local.INFO: IMEI packet received {"connection_id":174402,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 15:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":174402,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 15:59:16] local.INFO: TCP Data received {"connection_id":174402,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0711d1b00012d0e4e800705ce38001401091a..."} 
[2026-09-05 15:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711d1b00012d0e4e800705ce38001401091a..."} 
[2026-09-05 15:59:16] local.INFO: Processing buffer {"connection_id":174402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711d1b00012d0e4e800705ce38001401091a..."} 
[2026-09-05 15:59:16] local.INFO: Packet analysis {"connection_id":174402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711d"} 
[2026-09-05 15:59:16] local.INFO: Extracted packet for processing {"connection_id":174402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711d"} 
[2026-09-05 15:59:16] local.INFO: GPS Element Parsed {"raw_longitude":755912320,"raw_latitude":117820984,"longitude_deg":75.591232,"latitude_deg":11.7820984,"altitude":20,"angle":265,"satellites":26,"speed":27,"hex_longitude":"2d0e4e80","hex_latitude":"0705ce38","is_valid_coordinates":true} 
[2026-09-05 15:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882655744001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30366097387552768,"note":"Value kept but may cause issues"} 
[2026-09-05 15:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1033576144643989504,"note":"Value kept but may cause issues"} 
[2026-09-05 15:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788604128000,"timestamp_ms":1788604128000,"timestamp_seconds":1788604128,"priority":1,"record_length":96,"hex_timestamp":"000001a0711d1b00"} 
[2026-09-05 15:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 15:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:59:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":174402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":174402,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":174402,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882655744001,"66":14559,"165":206,"94":11008,"24":27,"16":30366097387552768,"45":1033576144643989504},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-05 15:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882655744001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:59:16] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-05 15:59:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 15:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30366097387552768,"km_value":30366097387552.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1033576144643989504,"description":"Unknown IO ID 45"} 
[2026-09-05 15:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882655744001,"power":14559,"unknown_165":206,"unknown_94":11008,"ignition":27,"odometer":null,"unknown_45":1033576144643989504}} 
[2026-09-05 15:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":174402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769716,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:59:16] local.INFO: GPS data processed {"connection_id":174402,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:59:16] local.INFO: Acknowledgment sent {"connection_id":174402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:59:21] local.INFO: TCP Data received {"connection_id":171979,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0711c1930012d181f800721a5280046012820..."} 
[2026-09-05 15:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711c1930012d181f800721a5280046012820..."} 
[2026-09-05 15:59:21] local.INFO: Processing buffer {"connection_id":171979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711c1930012d181f800721a5280046012820..."} 
[2026-09-05 15:59:21] local.INFO: Packet analysis {"connection_id":171979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711c"} 
[2026-09-05 15:59:21] local.INFO: Extracted packet for processing {"connection_id":171979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711c"} 
[2026-09-05 15:59:21] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119645480,"longitude_deg":75.6555648,"latitude_deg":11.964548,"altitude":70,"angle":296,"satellites":32,"speed":5,"hex_longitude":"2d181f80","hex_latitude":"0721a528","is_valid_coordinates":true} 
[2026-09-05 15:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882637568001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17949720596971520,"note":"Value kept but may cause issues"} 
[2026-09-05 15:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816587264,"note":"Value kept but may cause issues"} 
[2026-09-05 15:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788604062000,"timestamp_ms":1788604062000,"timestamp_seconds":1788604062,"priority":1,"record_length":96,"hex_timestamp":"000001a0711c1930"} 
[2026-09-05 15:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 15:59:21] 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-09-05 15:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 15:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 15:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 15:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882637568001,"66":14102,"105":206,"83":41984,"24":5,"16":17949720596971520,"45":1741133867816587264},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 15:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 15:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 15:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882637568001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:59:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 15:59:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 15:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17949720596971520,"km_value":17949720596971.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816587264,"description":"Unknown IO ID 45"} 
[2026-09-05 15:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882637568001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1741133867816587264}} 
[2026-09-05 15:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":171979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:59:21] local.INFO: GPS data processed {"connection_id":171979,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:59:21] local.INFO: Acknowledgment sent {"connection_id":171979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:59:26] local.INFO: TCP Data received {"connection_id":171686,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0711b6198012c769600084cdcd0000b01672c..."} 
[2026-09-05 15:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711b6198012c769600084cdcd0000b01672c..."} 
[2026-09-05 15:59:26] local.INFO: Processing buffer {"connection_id":171686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711b6198012c769600084cdcd0000b01672c..."} 
[2026-09-05 15:59:26] local.INFO: Packet analysis {"connection_id":171686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:59:26] local.INFO: Extracted packet for processing {"connection_id":171686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:59:26] local.INFO: GPS Element Parsed {"raw_longitude":745969152,"raw_latitude":139254992,"longitude_deg":74.5969152,"latitude_deg":13.9254992,"altitude":11,"angle":359,"satellites":44,"speed":48,"hex_longitude":"2c769600","hex_latitude":"084cdcd0","is_valid_coordinates":true} 
[2026-09-05 15:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882626816001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1245630710153216,"note":"Value kept but may cause issues"} 
[2026-09-05 15:59:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8545439591095189504,"note":"Value kept but may cause issues"} 
[2026-09-05 15:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788604015000,"timestamp_ms":1788604015000,"timestamp_seconds":1788604015,"priority":1,"record_length":96,"hex_timestamp":"000001a0711b6198"} 
[2026-09-05 15:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-05 15:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 15:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 15:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 15:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882626816001,"66":28028,"13":206,"9":53760,"24":48,"16":1245630710153216,"44":8545439591095189504},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,9,24,16,44]} 
[2026-09-05 15:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 15:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 15:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882626816001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:59:26] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-05 15:59:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 15:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1245630710153216,"km_value":1245630710153.216,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:59:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8545439591095189504,"description":"Unknown IO ID 44"} 
[2026-09-05 15:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882626816001,"power":28028,"unknown_13":206,"unknown_9":53760,"ignition":48,"odometer":null,"unknown_44":8545439591095189504}} 
[2026-09-05 15:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":171686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769718,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:59:26] local.INFO: GPS data processed {"connection_id":171686,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:59:26] local.INFO: Acknowledgment sent {"connection_id":171686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:59:33] local.INFO: TCP Data received {"connection_id":173087,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711bcb10012d7b0b4005e32ab8000900b425..."} 
[2026-09-05 15:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711bcb10012d7b0b4005e32ab8000900b425..."} 
[2026-09-05 15:59:33] local.INFO: Processing buffer {"connection_id":173087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711bcb10012d7b0b4005e32ab8000900b425..."} 
[2026-09-05 15:59:33] local.INFO: Packet analysis {"connection_id":173087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:59:33] local.INFO: Extracted packet for processing {"connection_id":173087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:59:33] local.INFO: GPS Element Parsed {"raw_longitude":763038528,"raw_latitude":98773688,"longitude_deg":76.3038528,"latitude_deg":9.8773688,"altitude":9,"angle":180,"satellites":37,"speed":10,"hex_longitude":"2d7b0b40","hex_latitude":"05e32ab8","is_valid_coordinates":true} 
[2026-09-05 15: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-09-05 15:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882633728001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128568183853416448,"note":"Value kept but may cause issues"} 
[2026-09-05 15:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866602529160415232,"note":"Value kept but may cause issues"} 
[2026-09-05 15:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788604042000,"timestamp_ms":1788604042000,"timestamp_seconds":1788604042,"priority":1,"record_length":96,"hex_timestamp":"000001a0711bcb10"} 
[2026-09-05 15:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15: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":182,"data_length":795,"current_offset":136} 
[2026-09-05 15:59:33] 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-09-05 15: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-09-05 15:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 15:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 15:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 15:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882633728001,"66":13428,"208":206,"85":15104,"24":10,"16":128568183853416448,"45":8866602529160415232},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 15:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 15:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 15:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882633728001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:59:33] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 15:59:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 15:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128568183853416448,"km_value":128568183853416.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866602529160415232,"description":"Unknown IO ID 45"} 
[2026-09-05 15:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882633728001,"power":13428,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8866602529160415232}} 
[2026-09-05 15:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":173087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769719,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:59:33] local.INFO: GPS data processed {"connection_id":173087,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:59:33] local.INFO: Acknowledgment sent {"connection_id":173087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:59:40] local.INFO: TCP Data received {"connection_id":173088,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711bc340012d7e31c005ff6710001300e82c..."} 
[2026-09-05 15:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711bc340012d7e31c005ff6710001300e82c..."} 
[2026-09-05 15:59:40] local.INFO: Processing buffer {"connection_id":173088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711bc340012d7e31c005ff6710001300e82c..."} 
[2026-09-05 15:59:40] local.INFO: Packet analysis {"connection_id":173088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:59:40] local.INFO: Extracted packet for processing {"connection_id":173088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 15:59:40] local.INFO: GPS Element Parsed {"raw_longitude":763244992,"raw_latitude":100624144,"longitude_deg":76.3244992,"latitude_deg":10.0624144,"altitude":19,"angle":232,"satellites":44,"speed":37,"hex_longitude":"2d7e31c0","hex_latitude":"05ff6710","is_valid_coordinates":true} 
[2026-09-05 15:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882631936001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399864079482617856,"note":"Value kept but may cause issues"} 
[2026-09-05 15:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9101000816491061248,"note":"Value kept but may cause issues"} 
[2026-09-05 15:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788604040000,"timestamp_ms":1788604040000,"timestamp_seconds":1788604040,"priority":1,"record_length":96,"hex_timestamp":"000001a0711bc340"} 
[2026-09-05 15:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:59:40] 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-09-05 15:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 15:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 15:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":173088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":173088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":173088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 15:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 15:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 15:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882631936001,"66":27843,"6":206,"87":10752,"24":37,"16":399864079482617856,"45":9101000816491061248},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,87,24,16,45]} 
[2026-09-05 15:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 15:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 15:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882631936001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:59:40] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-05 15:59:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 15:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399864079482617856,"km_value":399864079482617.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9101000816491061248,"description":"Unknown IO ID 45"} 
[2026-09-05 15:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882631936001,"power":27843,"unknown_6":206,"unknown_87":10752,"ignition":37,"odometer":null,"unknown_45":9101000816491061248}} 
[2026-09-05 15:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":173088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:59:40] local.INFO: GPS data processed {"connection_id":173088,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:59:40] local.INFO: Acknowledgment sent {"connection_id":173088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:59:47] local.INFO: TCP Data received {"connection_id":174402,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0711d45f8012d0e29000705cc40001200ff1a..."} 
[2026-09-05 15:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711d45f8012d0e29000705cc40001200ff1a..."} 
[2026-09-05 15:59:47] local.INFO: Processing buffer {"connection_id":174402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711d45f8012d0e29000705cc40001200ff1a..."} 
[2026-09-05 15:59:47] local.INFO: Packet analysis {"connection_id":174402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711d"} 
[2026-09-05 15:59:47] local.INFO: Extracted packet for processing {"connection_id":174402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711d"} 
[2026-09-05 15:59:47] local.INFO: GPS Element Parsed {"raw_longitude":755902720,"raw_latitude":117820480,"longitude_deg":75.590272,"latitude_deg":11.782048,"altitude":18,"angle":255,"satellites":26,"speed":24,"hex_longitude":"2d0e2900","hex_latitude":"0705cc40","is_valid_coordinates":true} 
[2026-09-05 15:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 15:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882656768001,"note":"Value kept but may cause issues"} 
[2026-09-05 15:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30366552654086144,"note":"Value kept but may cause issues"} 
[2026-09-05 15:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1030902132364949504,"note":"Value kept but may cause issues"} 
[2026-09-05 15:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 15:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788604139000,"timestamp_ms":1788604139000,"timestamp_seconds":1788604139,"priority":1,"record_length":96,"hex_timestamp":"000001a0711d45f8"} 
[2026-09-05 15:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 15:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 15:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-05 15:59:47] 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-09-05 15:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 15:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 15:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 15:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 15:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174402,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174402,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 15:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 15:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 15:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 15:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882656768001,"66":14450,"165":206,"94":11008,"24":24,"16":30366552654086144,"45":1030902132364949504},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-05 15:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 15:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 15:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882656768001,"description":"Unknown IO ID 0"} 
[2026-09-05 15:59:47] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-05 15:59:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 15:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30366552654086144,"km_value":30366552654086.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 15:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1030902132364949504,"description":"Unknown IO ID 45"} 
[2026-09-05 15:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882656768001,"power":14450,"unknown_165":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":1030902132364949504}} 
[2026-09-05 15:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":174402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769721,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 15:59:47] local.INFO: GPS data processed {"connection_id":174402,"processed":1,"errors":0,"total":1} 
[2026-09-05 15:59:47] local.INFO: Acknowledgment sent {"connection_id":174402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 15:59:54] local.INFO: TCP Data received {"connection_id":171687,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:59:54] local.INFO: Processing buffer {"connection_id":171687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:59:54] local.INFO: IMEI packet received {"connection_id":171687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 15:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":171687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 15:59:57] local.INFO: TCP Data received {"connection_id":171687,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:59:57] local.INFO: Processing buffer {"connection_id":171687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 15:59:57] local.INFO: IMEI packet received {"connection_id":171687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 15:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":171687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:00:00] local.INFO: TCP Data received {"connection_id":171687,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:00:00] local.INFO: Processing buffer {"connection_id":171687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:00:00] local.INFO: IMEI packet received {"connection_id":171687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":171687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:00:00] local.INFO: TCP Data received {"connection_id":171980,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171980,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:00:00] local.INFO: Processing buffer {"connection_id":171980,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:00:00] local.INFO: IMEI packet received {"connection_id":171980,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 16:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":171980,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:00:00] local.INFO: TCP Data received {"connection_id":171687,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0711c2cb8012d181e000721a6600047013a21..."} 
[2026-09-05 16:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711c2cb8012d181e000721a6600047013a21..."} 
[2026-09-05 16:00:00] local.INFO: Processing buffer {"connection_id":171687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711c2cb8012d181e000721a6600047013a21..."} 
[2026-09-05 16:00:00] local.INFO: Packet analysis {"connection_id":171687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711c"} 
[2026-09-05 16:00:00] local.INFO: Extracted packet for processing {"connection_id":171687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711c"} 
[2026-09-05 16:00:00] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119645792,"longitude_deg":75.6555264,"latitude_deg":11.9645792,"altitude":71,"angle":314,"satellites":33,"speed":6,"hex_longitude":"2d181e00","hex_latitude":"0721a660","is_valid_coordinates":true} 
[2026-09-05 16:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882639872001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17949746366775296,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749305899008,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788604067000,"timestamp_ms":1788604067000,"timestamp_seconds":1788604067,"priority":1,"record_length":96,"hex_timestamp":"000001a0711c2cb8"} 
[2026-09-05 16:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:00:00] 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-09-05 16:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-05 16:00: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-09-05 16:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882639872001,"66":14080,"105":206,"83":41984,"24":6,"16":17949746366775296,"45":1738248749305899008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 16:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882639872001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:00:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 16:00:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 16:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17949746366775296,"km_value":17949746366775.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749305899008,"description":"Unknown IO ID 45"} 
[2026-09-05 16:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882639872001,"power":14080,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1738248749305899008}} 
[2026-09-05 16:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":171687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:00:00] local.INFO: GPS data processed {"connection_id":171687,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:00:00] local.INFO: Acknowledgment sent {"connection_id":171687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:00:01] local.INFO: TCP Data received {"connection_id":173089,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:00:01] local.INFO: Processing buffer {"connection_id":173089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:00:01] local.INFO: IMEI packet received {"connection_id":173089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":173089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:00:02] local.INFO: TCP Data received {"connection_id":173089,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:00:02] local.INFO: Processing buffer {"connection_id":173089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:00:02] local.INFO: IMEI packet received {"connection_id":173089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":173089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:00:03] local.INFO: TCP Data received {"connection_id":173089,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711be668012d7e160005ff50c0001400e125..."} 
[2026-09-05 16:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711be668012d7e160005ff50c0001400e125..."} 
[2026-09-05 16:00:03] local.INFO: Processing buffer {"connection_id":173089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711be668012d7e160005ff50c0001400e125..."} 
[2026-09-05 16:00:03] local.INFO: Packet analysis {"connection_id":173089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 16:00:03] local.INFO: Extracted packet for processing {"connection_id":173089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 16:00:03] local.INFO: GPS Element Parsed {"raw_longitude":763237888,"raw_latitude":100618432,"longitude_deg":76.3237888,"latitude_deg":10.0618432,"altitude":20,"angle":225,"satellites":37,"speed":40,"hex_longitude":"2d7e1600","hex_latitude":"05ff50c0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882634240001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399864517569282048,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093260254630055936,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788604049000,"timestamp_ms":1788604049000,"timestamp_seconds":1788604049,"priority":1,"record_length":96,"hex_timestamp":"000001a0711be668"} 
[2026-09-05 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-09-05 16:00: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-09-05 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 16:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882634240001,"66":27800,"5":206,"87":10752,"24":40,"16":399864517569282048,"45":9093260254630055936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-09-05 16:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882634240001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:00:03] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 16:00:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 16:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399864517569282048,"km_value":399864517569282.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093260254630055936,"description":"Unknown IO ID 45"} 
[2026-09-05 16:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882634240001,"power":27800,"unknown_5":206,"unknown_87":10752,"ignition":40,"odometer":null,"unknown_45":9093260254630055936}} 
[2026-09-05 16:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":173089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:00:03] local.INFO: GPS data processed {"connection_id":173089,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:00:03] local.INFO: Acknowledgment sent {"connection_id":173089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:00:05] local.INFO: TCP Data received {"connection_id":171980,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171980,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:00:05] local.INFO: Processing buffer {"connection_id":171980,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:00:05] local.INFO: IMEI packet received {"connection_id":171980,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":171980,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:00:05] local.INFO: TCP Data received {"connection_id":171687,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0711c53c8012d181d400721a8380048000922..."} 
[2026-09-05 16:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711c53c8012d181d400721a8380048000922..."} 
[2026-09-05 16:00:05] local.INFO: Processing buffer {"connection_id":171687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711c53c8012d181d400721a8380048000922..."} 
[2026-09-05 16:00:05] local.INFO: Packet analysis {"connection_id":171687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711c"} 
[2026-09-05 16:00:05] local.INFO: Extracted packet for processing {"connection_id":171687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711c"} 
[2026-09-05 16:00:05] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119646264,"longitude_deg":75.6555072,"latitude_deg":11.9646264,"altitude":72,"angle":9,"satellites":34,"speed":7,"hex_longitude":"2d181d40","hex_latitude":"0721a838","is_valid_coordinates":true} 
[2026-09-05 16:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882641152001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17949772136579072,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536840912896,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00: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-09-05 16:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788604077000,"timestamp_ms":1788604077000,"timestamp_seconds":1788604077,"priority":1,"record_length":96,"hex_timestamp":"000001a0711c53c8"} 
[2026-09-05 16:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:00:05] 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-09-05 16:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-05 16:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303232,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:05] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":2049,"corrected_to":0} 
[2026-09-05 16:00:05] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2258632776,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:05] local.WARNING: Large IO value detected {"io_id":196,"raw_value":3674210304,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-05 16:00:05] local.WARNING: Large IO value detected {"io_id":175,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:05] local.WARNING: Large IO value detected {"io_id":99,"raw_value":2147950978,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:05] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3293708288,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:05] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,105,83,24,241,157,16,197,160,25,45,128,165,70,32,10,66,246,192,156,71,33,222,1,240,104,227,196,113,4,205,42,175,99,40,34,239,54,2,63,7,39],"length":479,"final_offset":609,"validated_count":42,"validation_warnings":[{"io_id":246,"original":2049,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-05 16:00:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116434565078319104,"timestamp_seconds":5116434565078319.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 16:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882641152001,"66":14102,"105":206,"83":41984,"24":7,"16":17949772136579072,"45":1737826536840912896},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 16:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882641152001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:00:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 16:00:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 16:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17949772136579072,"km_value":17949772136579.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536840912896,"description":"Unknown IO ID 45"} 
[2026-09-05 16:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882641152001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1737826536840912896}} 
[2026-09-05 16:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":171687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:00:05] local.INFO: GPS data processed {"connection_id":171687,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:00:05] local.INFO: Acknowledgment sent {"connection_id":171687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:00:06] local.INFO: TCP Data received {"connection_id":171980,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711bfdd8012d7b0c8005e327100008009d28..."} 
[2026-09-05 16:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711bfdd8012d7b0c8005e327100008009d28..."} 
[2026-09-05 16:00:06] local.INFO: Processing buffer {"connection_id":171980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711bfdd8012d7b0c8005e327100008009d28..."} 
[2026-09-05 16:00:06] local.INFO: Packet analysis {"connection_id":171980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 16:00:06] local.INFO: Extracted packet for processing {"connection_id":171980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711b"} 
[2026-09-05 16:00:06] local.INFO: GPS Element Parsed {"raw_longitude":763038848,"raw_latitude":98772752,"longitude_deg":76.3038848,"latitude_deg":9.8772752,"altitude":8,"angle":157,"satellites":40,"speed":3,"hex_longitude":"2d7b0c80","hex_latitude":"05e32710","is_valid_coordinates":true} 
[2026-09-05 16:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882634752001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128568235393024000,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866250685439195136,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788604055000,"timestamp_ms":1788604055000,"timestamp_seconds":1788604055,"priority":1,"record_length":96,"hex_timestamp":"000001a0711bfdd8"} 
[2026-09-05 16:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-05 16:00:06] 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-09-05 16:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882634752001,"66":13580,"208":206,"85":15104,"24":3,"16":128568235393024000,"45":8866250685439195136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 16:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882634752001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:00:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 16:00:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128568235393024000,"km_value":128568235393024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866250685439195136,"description":"Unknown IO ID 45"} 
[2026-09-05 16:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882634752001,"power":13580,"unknown_208":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8866250685439195136}} 
[2026-09-05 16:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":171980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769725,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:00:06] local.INFO: GPS data processed {"connection_id":171980,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:00:06] local.INFO: Acknowledgment sent {"connection_id":171980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:00:06] local.INFO: TCP Data received {"connection_id":171981,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171981,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:00:06] local.INFO: Processing buffer {"connection_id":171981,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:00:06] local.INFO: IMEI packet received {"connection_id":171981,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 16:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":171981,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:00:06] local.INFO: TCP Data received {"connection_id":173089,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711c1160012d7dfe4005ff3580001400da2c..."} 
[2026-09-05 16:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711c1160012d7dfe4005ff3580001400da2c..."} 
[2026-09-05 16:00:06] local.INFO: Processing buffer {"connection_id":173089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711c1160012d7dfe4005ff3580001400da2c..."} 
[2026-09-05 16:00:06] local.INFO: Packet analysis {"connection_id":173089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711c"} 
[2026-09-05 16:00:06] local.INFO: Extracted packet for processing {"connection_id":173089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711c"} 
[2026-09-05 16:00:06] local.INFO: GPS Element Parsed {"raw_longitude":763231808,"raw_latitude":100611456,"longitude_deg":76.3231808,"latitude_deg":10.0611456,"altitude":20,"angle":218,"satellites":44,"speed":31,"hex_longitude":"2d7dfe40","hex_latitude":"05ff3580","is_valid_coordinates":true} 
[2026-09-05 16:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882636544001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399864964245880832,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085449324024872960,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788604060000,"timestamp_ms":1788604060000,"timestamp_seconds":1788604060,"priority":1,"record_length":96,"hex_timestamp":"000001a0711c1160"} 
[2026-09-05 16:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 16:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882636544001,"66":27930,"5":206,"87":10752,"24":31,"16":399864964245880832,"45":9085449324024872960},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-09-05 16:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882636544001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:00:06] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 16:00:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 16:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399864964245880832,"km_value":399864964245880.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085449324024872960,"description":"Unknown IO ID 45"} 
[2026-09-05 16:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882636544001,"power":27930,"unknown_5":206,"unknown_87":10752,"ignition":31,"odometer":null,"unknown_45":9085449324024872960}} 
[2026-09-05 16:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":173089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:00:06] local.INFO: GPS data processed {"connection_id":173089,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:00:06] local.INFO: Acknowledgment sent {"connection_id":173089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:00:08] local.INFO: TCP Data received {"connection_id":171981,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171981,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:00:08] local.INFO: Processing buffer {"connection_id":171981,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:00:08] local.INFO: IMEI packet received {"connection_id":171981,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 16:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":171981,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:00:10] local.INFO: TCP Data received {"connection_id":171980,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711c1160012d7b0dc005e32310000800a926..."} 
[2026-09-05 16:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711c1160012d7b0dc005e32310000800a926..."} 
[2026-09-05 16:00:10] local.INFO: Processing buffer {"connection_id":171980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711c1160012d7b0dc005e32310000800a926..."} 
[2026-09-05 16:00:10] local.INFO: Packet analysis {"connection_id":171980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711c"} 
[2026-09-05 16:00:10] local.INFO: Extracted packet for processing {"connection_id":171980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711c"} 
[2026-09-05 16:00:10] local.INFO: GPS Element Parsed {"raw_longitude":763039168,"raw_latitude":98771728,"longitude_deg":76.3039168,"latitude_deg":9.8771728,"altitude":8,"angle":169,"satellites":38,"speed":11,"hex_longitude":"2d7b0dc0","hex_latitude":"05e32310","is_valid_coordinates":true} 
[2026-09-05 16:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882638080001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128568286932631552,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866602529159843840,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788604060000,"timestamp_ms":1788604060000,"timestamp_seconds":1788604060,"priority":1,"record_length":96,"hex_timestamp":"000001a0711c1160"} 
[2026-09-05 16:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:00: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-09-05 16:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-05 16:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630531,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:10] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":4097,"corrected_to":0} 
[2026-09-05 16:00:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3980149629177036800,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:10] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:10] local.WARNING: Large IO value detected {"io_id":195,"raw_value":3875536896,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:10] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636142283677648,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-05 16:00:10] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:10] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2684431739,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:10] local.WARNING: Large IO value detected {"io_id":52,"raw_value":6773639650960526933,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3285581824,"corrected_to":0} 
[2026-09-05 16:00:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3813509120,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:10] local.WARNING: Large IO value detected {"io_id":123,"raw_value":18020872665694216,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:10] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755502520402161,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:10] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,208,85,24,241,157,16,196,160,203,45,64,42,9,37,10,66,187,128,47,35,136,1,240,230,227,195,113,4,205,2,54,104,38,239,52,200,5,8,123,59],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":203,"original":4097,"validated":0},{"io_id":205,"original":1607467214,"validated":0},{"io_id":200,"original":3285581824,"validated":0}]} 
[2026-09-05 16:00:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576633547427872768,"timestamp_seconds":576633547427872.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 16:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882638080001,"66":13656,"208":206,"85":15104,"24":11,"16":128568286932631552,"45":8866602529159843840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-05 16:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882638080001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:00:10] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 16:00:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128568286932631552,"km_value":128568286932631.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866602529159843840,"description":"Unknown IO ID 45"} 
[2026-09-05 16:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882638080001,"power":13656,"unknown_208":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8866602529159843840}} 
[2026-09-05 16:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":171980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769727,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:00:10] local.INFO: GPS data processed {"connection_id":171980,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:00:10] local.INFO: Acknowledgment sent {"connection_id":171980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:00:11] local.INFO: TCP Data received {"connection_id":171981,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171981,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:00:11] local.INFO: Processing buffer {"connection_id":171981,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:00:11] local.INFO: IMEI packet received {"connection_id":171981,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 16:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":171981,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:00:11] local.INFO: TCP Data received {"connection_id":171981,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171981,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:00:11] local.INFO: Processing buffer {"connection_id":171981,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:00:11] local.INFO: IMEI packet received {"connection_id":171981,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 16:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":171981,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:00:22] local.INFO: TCP Data received {"connection_id":173090,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173090,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:00:22] local.INFO: Processing buffer {"connection_id":173090,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:00:22] local.INFO: IMEI packet received {"connection_id":173090,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":173090,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:00:39] local.INFO: TCP Data received {"connection_id":173089,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711c3488012d7dea8005ff1800001400d02a..."} 
[2026-09-05 16:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711c3488012d7dea8005ff1800001400d02a..."} 
[2026-09-05 16:00:39] local.INFO: Processing buffer {"connection_id":173089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711c3488012d7dea8005ff1800001400d02a..."} 
[2026-09-05 16:00:39] local.INFO: Packet analysis {"connection_id":173089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711c"} 
[2026-09-05 16:00:39] local.INFO: Extracted packet for processing {"connection_id":173089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711c"} 
[2026-09-05 16:00:39] local.INFO: GPS Element Parsed {"raw_longitude":763226752,"raw_latitude":100603904,"longitude_deg":76.3226752,"latitude_deg":10.0603904,"altitude":20,"angle":208,"satellites":42,"speed":45,"hex_longitude":"2d7dea80","hex_latitude":"05ff1800","is_valid_coordinates":true} 
[2026-09-05 16:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882639360001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399865402332545024,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9078764293326209024,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788604069000,"timestamp_ms":1788604069000,"timestamp_seconds":1788604069,"priority":1,"record_length":96,"hex_timestamp":"000001a0711c3488"} 
[2026-09-05 16:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:00:39] 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-09-05 16:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 16:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:00:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":173089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":173089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":173089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882639360001,"66":27767,"5":206,"87":10752,"24":45,"16":399865402332545024,"45":9078764293326209024},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-09-05 16:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882639360001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:00:39] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 16:00:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 16:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399865402332545024,"km_value":399865402332545.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9078764293326209024,"description":"Unknown IO ID 45"} 
[2026-09-05 16:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882639360001,"power":27767,"unknown_5":206,"unknown_87":10752,"ignition":45,"odometer":null,"unknown_45":9078764293326209024}} 
[2026-09-05 16:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":173089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:00:39] local.INFO: GPS data processed {"connection_id":173089,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:00:39] local.INFO: Acknowledgment sent {"connection_id":173089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:00:47] local.INFO: TCP Data received {"connection_id":173091,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:00:47] local.INFO: Processing buffer {"connection_id":173091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:00:47] local.INFO: IMEI packet received {"connection_id":173091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":173091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:00:49] local.INFO: TCP Data received {"connection_id":173091,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:00:49] local.INFO: Processing buffer {"connection_id":173091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:00:49] local.INFO: IMEI packet received {"connection_id":173091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":173091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:00:50] local.INFO: TCP Data received {"connection_id":173091,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:00:50] local.INFO: Processing buffer {"connection_id":173091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:00:50] local.INFO: IMEI packet received {"connection_id":173091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":173091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:00:51] local.INFO: TCP Data received {"connection_id":173091,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:00:51] local.INFO: Processing buffer {"connection_id":173091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:00:51] local.INFO: IMEI packet received {"connection_id":173091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":173091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:00:52] local.INFO: TCP Data received {"connection_id":173091,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0711dea08012d18a2000722c908006a000e24..."} 
[2026-09-05 16:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711dea08012d18a2000722c908006a000e24..."} 
[2026-09-05 16:00:52] local.INFO: Processing buffer {"connection_id":173091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711dea08012d18a2000722c908006a000e24..."} 
[2026-09-05 16:00:52] local.INFO: Packet analysis {"connection_id":173091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711d"} 
[2026-09-05 16:00:52] local.INFO: Extracted packet for processing {"connection_id":173091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711d"} 
[2026-09-05 16:00:52] local.INFO: GPS Element Parsed {"raw_longitude":756589056,"raw_latitude":119720200,"longitude_deg":75.6589056,"latitude_deg":11.97202,"altitude":106,"angle":14,"satellites":36,"speed":35,"hex_longitude":"2d18a200","hex_latitude":"0722c908","is_valid_coordinates":true} 
[2026-09-05 16:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882669824001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17953843765575680,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774699758808619008,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:52] 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-09-05 16:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788604181000,"timestamp_ms":1788604181000,"timestamp_seconds":1788604181,"priority":1,"record_length":96,"hex_timestamp":"000001a0711dea08"} 
[2026-09-05 16:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:00:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-05 16:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446302976,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":16384,"corrected_to":0} 
[2026-09-05 16:00:52] local.WARNING: Large IO value detected {"io_id":199,"raw_value":3875536896,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-05 16:00:52] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2684431640,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:52] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3389050218,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:52] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3343384576,"note":"Value kept but may cause issues"} 
[2026-09-05 16:00:52] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,137,83,24,241,157,16,200,160,179,45,64,158,110,36,10,66,152,192,141,109,128,1,240,148,227,199,113,34,4,205,31,42,130,239,54,105,2,63,7,85,38],"length":479,"final_offset":609,"validated_count":42,"validation_warnings":[{"io_id":200,"original":16384,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-05 16:00:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7710556341842083840,"timestamp_seconds":7710556341842084.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 16:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:00:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882669824001,"66":13939,"137":206,"83":42752,"24":35,"16":17953843765575680,"45":1774699758808619008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-05 16:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882669824001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:00:52] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-05 16:00:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17953843765575680,"km_value":17953843765575.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774699758808619008,"description":"Unknown IO ID 45"} 
[2026-09-05 16:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882669824001,"power":13939,"unknown_137":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1774699758808619008}} 
[2026-09-05 16:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":173091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:00:52] local.INFO: GPS data processed {"connection_id":173091,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:00:52] local.INFO: Acknowledgment sent {"connection_id":173091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:00:55] local.INFO: TCP Data received {"connection_id":174403,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:00:55] local.INFO: Processing buffer {"connection_id":174403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:00:55] local.INFO: IMEI packet received {"connection_id":174403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 16:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":174403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:00:56] local.INFO: TCP Data received {"connection_id":171688,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:00:56] local.INFO: Processing buffer {"connection_id":171688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:00:56] local.INFO: IMEI packet received {"connection_id":171688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":171688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:00:56] local.INFO: TCP Data received {"connection_id":171688,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:00:56] local.INFO: Processing buffer {"connection_id":171688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:00:56] local.INFO: IMEI packet received {"connection_id":171688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":171688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:00:57] local.INFO: TCP Data received {"connection_id":174404,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174404,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:00:57] local.INFO: Processing buffer {"connection_id":174404,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:00:57] local.INFO: IMEI packet received {"connection_id":174404,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":174404,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:01:00] local.INFO: TCP Data received {"connection_id":174403,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:01:00] local.INFO: Processing buffer {"connection_id":174403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:01:00] local.INFO: IMEI packet received {"connection_id":174403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":174403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:01:01] local.INFO: TCP Data received {"connection_id":174403,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711ea1a0012d7b2f8005e255b0000100a526..."} 
[2026-09-05 16:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711ea1a0012d7b2f8005e255b0000100a526..."} 
[2026-09-05 16:01:01] local.INFO: Processing buffer {"connection_id":174403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711ea1a0012d7b2f8005e255b0000100a526..."} 
[2026-09-05 16:01:01] local.INFO: Packet analysis {"connection_id":174403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:01:01] local.INFO: Extracted packet for processing {"connection_id":174403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:01:01] local.INFO: GPS Element Parsed {"raw_longitude":763047808,"raw_latitude":98719152,"longitude_deg":76.3047808,"latitude_deg":9.8719152,"altitude":1,"angle":165,"satellites":38,"speed":0,"hex_longitude":"2d7b2f80","hex_latitude":"05e255b0","is_valid_coordinates":true} 
[2026-09-05 16:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882676992001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128570902567714816,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875820834633930752,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788604228000,"timestamp_ms":1788604228000,"timestamp_seconds":1788604228,"priority":1,"record_length":96,"hex_timestamp":"000001a0711ea1a0"} 
[2026-09-05 16:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-05 16:01:01] 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-09-05 16:01:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882676992001,"66":13428,"207":206,"85":15104,"24":0,"16":128570902567714816,"45":8875820834633930752},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-05 16:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882676992001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:01:01] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 16:01:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128570902567714816,"km_value":128570902567714.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875820834633930752,"description":"Unknown IO ID 45"} 
[2026-09-05 16:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882676992001,"power":13428,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8875820834633930752}} 
[2026-09-05 16:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":174403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769730,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:01:01] local.INFO: GPS data processed {"connection_id":174403,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:01:01] local.INFO: Acknowledgment sent {"connection_id":174403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:01:01] local.INFO: TCP Data received {"connection_id":171688,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:01:01] local.INFO: Processing buffer {"connection_id":171688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:01:01] local.INFO: IMEI packet received {"connection_id":171688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":171688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:01:02] local.INFO: TCP Data received {"connection_id":174404,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174404,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:01:02] local.INFO: Processing buffer {"connection_id":174404,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:01:02] local.INFO: IMEI packet received {"connection_id":174404,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":174404,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:01:02] local.INFO: TCP Data received {"connection_id":171688,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711e3c10012d7dc5c005fe2080001200c025..."} 
[2026-09-05 16:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711e3c10012d7dc5c005fe2080001200c025..."} 
[2026-09-05 16:01:02] local.INFO: Processing buffer {"connection_id":171688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711e3c10012d7dc5c005fe2080001200c025..."} 
[2026-09-05 16:01:02] local.INFO: Packet analysis {"connection_id":171688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:01:02] local.INFO: Extracted packet for processing {"connection_id":171688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:01:02] local.INFO: GPS Element Parsed {"raw_longitude":763217344,"raw_latitude":100540544,"longitude_deg":76.3217344,"latitude_deg":10.0540544,"altitude":18,"angle":192,"satellites":37,"speed":31,"hex_longitude":"2d7dc5c0","hex_latitude":"05fe2080","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882671104001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399868623558017024,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9064268332009789440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788604202000,"timestamp_ms":1788604202000,"timestamp_seconds":1788604202,"priority":1,"record_length":96,"hex_timestamp":"000001a0711e3c10"} 
[2026-09-05 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-09-05 16:01: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-09-05 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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 16:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882671104001,"66":27713,"74":206,"87":10752,"24":31,"16":399868623558017024,"45":9064268332009789440},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,87,24,16,45]} 
[2026-09-05 16:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882671104001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:01:02] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-05 16:01:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 16:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399868623558017024,"km_value":399868623558017.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9064268332009789440,"description":"Unknown IO ID 45"} 
[2026-09-05 16:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882671104001,"power":27713,"unknown_74":206,"unknown_87":10752,"ignition":31,"odometer":null,"unknown_45":9064268332009789440}} 
[2026-09-05 16:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":171688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:01:02] local.INFO: GPS data processed {"connection_id":171688,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:01:02] local.INFO: Acknowledgment sent {"connection_id":171688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:01:03] local.INFO: TCP Data received {"connection_id":174404,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0711e4bb0012c763240084f7f20001101352d..."} 
[2026-09-05 16:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711e4bb0012c763240084f7f20001101352d..."} 
[2026-09-05 16:01:03] local.INFO: Processing buffer {"connection_id":174404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711e4bb0012c763240084f7f20001101352d..."} 
[2026-09-05 16:01:03] local.INFO: Packet analysis {"connection_id":174404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:01:03] local.INFO: Extracted packet for processing {"connection_id":174404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:01:03] local.INFO: GPS Element Parsed {"raw_longitude":745943616,"raw_latitude":139427616,"longitude_deg":74.5943616,"latitude_deg":13.9427616,"altitude":17,"angle":309,"satellites":45,"speed":48,"hex_longitude":"2c763240","hex_latitude":"084f7f20","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882674688001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1254310839058432,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8524962286583128064,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788604206000,"timestamp_ms":1788604206000,"timestamp_seconds":1788604206,"priority":1,"record_length":96,"hex_timestamp":"000001a0711e4bb0"} 
[2026-09-05 16:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 16:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174404,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174404,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882674688001,"66":28126,"13":206,"9":53760,"24":48,"16":1254310839058432,"44":8524962286583128064},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,9,24,16,44]} 
[2026-09-05 16:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882674688001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:01:03] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-05 16:01:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-05 16:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1254310839058432,"km_value":1254310839058.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:01:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":8524962286583128064,"description":"Unknown IO ID 44"} 
[2026-09-05 16:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882674688001,"power":28126,"unknown_13":206,"unknown_9":53760,"ignition":48,"odometer":null,"unknown_44":8524962286583128064}} 
[2026-09-05 16:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":174404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769732,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:01:03] local.INFO: GPS data processed {"connection_id":174404,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:01:03] local.INFO: Acknowledgment sent {"connection_id":174404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:01:04] local.INFO: TCP Data received {"connection_id":171688,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711e47c8012d7dc20005fe1778001200cb27..."} 
[2026-09-05 16:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711e47c8012d7dc20005fe1778001200cb27..."} 
[2026-09-05 16:01:04] local.INFO: Processing buffer {"connection_id":171688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711e47c8012d7dc20005fe1778001200cb27..."} 
[2026-09-05 16:01:04] local.INFO: Packet analysis {"connection_id":171688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:01:04] local.INFO: Extracted packet for processing {"connection_id":171688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:01:04] local.INFO: GPS Element Parsed {"raw_longitude":763216384,"raw_latitude":100538232,"longitude_deg":76.3216384,"latitude_deg":10.0538232,"altitude":18,"angle":203,"satellites":39,"speed":32,"hex_longitude":"2d7dc200","hex_latitude":"05fe1778","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882675712001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399868743817101312,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062860957123903488,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788604205000,"timestamp_ms":1788604205000,"timestamp_seconds":1788604205,"priority":1,"record_length":96,"hex_timestamp":"000001a0711e47c8"} 
[2026-09-05 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-09-05 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-09-05 16:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-05 16:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882675712001,"66":27876,"74":206,"87":10752,"24":32,"16":399868743817101312,"45":9062860957123903488},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,87,24,16,45]} 
[2026-09-05 16:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882675712001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:01:04] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-05 16:01:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 16:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399868743817101312,"km_value":399868743817101.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062860957123903488,"description":"Unknown IO ID 45"} 
[2026-09-05 16:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882675712001,"power":27876,"unknown_74":206,"unknown_87":10752,"ignition":32,"odometer":null,"unknown_45":9062860957123903488}} 
[2026-09-05 16:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":171688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:01:04] local.INFO: GPS data processed {"connection_id":171688,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:01:04] local.INFO: Acknowledgment sent {"connection_id":171688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:01:06] local.INFO: TCP Data received {"connection_id":174403,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711ebcf8012d7b300005e254080001009725..."} 
[2026-09-05 16:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711ebcf8012d7b300005e254080001009725..."} 
[2026-09-05 16:01:06] local.INFO: Processing buffer {"connection_id":174403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711ebcf8012d7b300005e254080001009725..."} 
[2026-09-05 16:01:06] local.INFO: Packet analysis {"connection_id":174403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:01:06] local.INFO: Extracted packet for processing {"connection_id":174403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:01:06] local.INFO: GPS Element Parsed {"raw_longitude":763047936,"raw_latitude":98718728,"longitude_deg":76.3047936,"latitude_deg":9.8718728,"altitude":1,"angle":151,"satellites":37,"speed":4,"hex_longitude":"2d7b3000","hex_latitude":"05e25408","is_valid_coordinates":true} 
[2026-09-05 16:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882682368001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128570924042551296,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876454153330995200,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788604235000,"timestamp_ms":1788604235000,"timestamp_seconds":1788604235,"priority":1,"record_length":96,"hex_timestamp":"000001a0711ebcf8"} 
[2026-09-05 16:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-05 16:01:06] 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-09-05 16:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882682368001,"66":13450,"207":206,"85":15104,"24":4,"16":128570924042551296,"45":8876454153330995200},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-05 16:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882682368001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:01:06] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 16:01:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128570924042551296,"km_value":128570924042551.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876454153330995200,"description":"Unknown IO ID 45"} 
[2026-09-05 16:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882682368001,"power":13450,"unknown_207":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8876454153330995200}} 
[2026-09-05 16:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":174403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769734,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:01:06] local.INFO: GPS data processed {"connection_id":174403,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:01:06] local.INFO: Acknowledgment sent {"connection_id":174403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:01:24] local.INFO: TCP Data received {"connection_id":173091,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0711eb140012d19348007233b100050002d20..."} 
[2026-09-05 16:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711eb140012d19348007233b100050002d20..."} 
[2026-09-05 16:01:24] local.INFO: Processing buffer {"connection_id":173091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711eb140012d19348007233b100050002d20..."} 
[2026-09-05 16:01:24] local.INFO: Packet analysis {"connection_id":173091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:01:24] local.INFO: Extracted packet for processing {"connection_id":173091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:01:24] local.INFO: GPS Element Parsed {"raw_longitude":756626560,"raw_latitude":119749392,"longitude_deg":75.662656,"latitude_deg":11.9749392,"altitude":80,"angle":45,"satellites":32,"speed":51,"hex_longitude":"2d193480","hex_latitude":"07233b10","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882681344001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17956480875495424,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1808336018531680256,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:24] 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-09-05 16:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788604232000,"timestamp_ms":1788604232000,"timestamp_seconds":1788604232,"priority":1,"record_length":96,"hex_timestamp":"000001a0711eb140"} 
[2026-09-05 16:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:01: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-09-05 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 16:01:24] 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-09-05 16: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-09-05 16:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882681344001,"66":14396,"186":206,"83":42752,"24":51,"16":17956480875495424,"45":1808336018531680256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-09-05 16:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882681344001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:01:24] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-05 16:01:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17956480875495424,"km_value":17956480875495.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1808336018531680256,"description":"Unknown IO ID 45"} 
[2026-09-05 16:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882681344001,"power":14396,"unknown_186":206,"unknown_83":42752,"ignition":51,"odometer":null,"unknown_45":1808336018531680256}} 
[2026-09-05 16:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":173091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:01:24] local.INFO: GPS data processed {"connection_id":173091,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:01:24] local.INFO: Acknowledgment sent {"connection_id":173091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:01:35] local.INFO: TCP Data received {"connection_id":171688,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711e7a90012d7db1c005fdf9f0001300d62a..."} 
[2026-09-05 16:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711e7a90012d7db1c005fdf9f0001300d62a..."} 
[2026-09-05 16:01:35] local.INFO: Processing buffer {"connection_id":171688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711e7a90012d7db1c005fdf9f0001300d62a..."} 
[2026-09-05 16:01:35] local.INFO: Packet analysis {"connection_id":171688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:01:35] local.INFO: Extracted packet for processing {"connection_id":171688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:01:35] local.INFO: GPS Element Parsed {"raw_longitude":763212224,"raw_latitude":100530672,"longitude_deg":76.3212224,"latitude_deg":10.0530672,"altitude":19,"angle":214,"satellites":42,"speed":25,"hex_longitude":"2d7db1c0","hex_latitude":"05fdf9f0","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882676480001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399869164723896320,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9061805425960646656,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788604218000,"timestamp_ms":1788604218000,"timestamp_seconds":1788604218,"priority":1,"record_length":96,"hex_timestamp":"000001a0711e7a90"} 
[2026-09-05 16:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:01:35] 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-09-05 16:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 16:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882676480001,"66":27767,"74":206,"87":10752,"24":25,"16":399869164723896320,"45":9061805425960646656},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,87,24,16,45]} 
[2026-09-05 16:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882676480001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:01:35] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-05 16:01:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 16:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399869164723896320,"km_value":399869164723896.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9061805425960646656,"description":"Unknown IO ID 45"} 
[2026-09-05 16:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882676480001,"power":27767,"unknown_74":206,"unknown_87":10752,"ignition":25,"odometer":null,"unknown_45":9061805425960646656}} 
[2026-09-05 16:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":171688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:01:35] local.INFO: GPS data processed {"connection_id":171688,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:01:35] local.INFO: Acknowledgment sent {"connection_id":171688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:01:37] local.INFO: TCP Data received {"connection_id":174403,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711ec4c8012d7b304005e252d0000200a226..."} 
[2026-09-05 16:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711ec4c8012d7b304005e252d0000200a226..."} 
[2026-09-05 16:01:37] local.INFO: Processing buffer {"connection_id":174403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711ec4c8012d7b304005e252d0000200a226..."} 
[2026-09-05 16:01:37] local.INFO: Packet analysis {"connection_id":174403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:01:37] local.INFO: Extracted packet for processing {"connection_id":174403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:01:37] local.INFO: GPS Element Parsed {"raw_longitude":763048000,"raw_latitude":98718416,"longitude_deg":76.3048,"latitude_deg":9.8718416,"altitude":2,"angle":162,"satellites":38,"speed":7,"hex_longitude":"2d7b3040","hex_latitude":"05e252d0","is_valid_coordinates":true} 
[2026-09-05 16:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882684160001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128570941222420480,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876594890819241984,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788604237000,"timestamp_ms":1788604237000,"timestamp_seconds":1788604237,"priority":1,"record_length":96,"hex_timestamp":"000001a0711ec4c8"} 
[2026-09-05 16:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:01: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-09-05 16:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-05 16:01:37] 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-09-05 16:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882684160001,"66":13678,"207":206,"85":15104,"24":7,"16":128570941222420480,"45":8876594890819241984},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-05 16:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882684160001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:01:37] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 16:01:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128570941222420480,"km_value":128570941222420.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876594890819241984,"description":"Unknown IO ID 45"} 
[2026-09-05 16:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882684160001,"power":13678,"unknown_207":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8876594890819241984}} 
[2026-09-05 16:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":174403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769737,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:01:37] local.INFO: GPS data processed {"connection_id":174403,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:01:37] local.INFO: Acknowledgment sent {"connection_id":174403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:01:45] local.INFO: TCP Data received {"connection_id":171983,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:01:45] local.INFO: Processing buffer {"connection_id":171983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:01:45] local.INFO: IMEI packet received {"connection_id":171983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":171983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:01:47] local.INFO: TCP Data received {"connection_id":171983,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:01:47] local.INFO: Processing buffer {"connection_id":171983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:01:47] local.INFO: IMEI packet received {"connection_id":171983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":171983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:01:47] local.INFO: TCP Data received {"connection_id":171984,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171984,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:01:47] local.INFO: Processing buffer {"connection_id":171984,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:01:47] local.INFO: IMEI packet received {"connection_id":171984,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":171984,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:01:48] local.INFO: TCP Data received {"connection_id":171984,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171984,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:01:48] local.INFO: Processing buffer {"connection_id":171984,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:01:48] local.INFO: IMEI packet received {"connection_id":171984,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":171984,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:01:49] local.INFO: TCP Data received {"connection_id":171983,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:01:49] local.INFO: Processing buffer {"connection_id":171983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:01:49] local.INFO: IMEI packet received {"connection_id":171983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":171983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:01:50] local.INFO: TCP Data received {"connection_id":171983,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0711ec4c8012d19454007234f48004c002122..."} 
[2026-09-05 16:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711ec4c8012d19454007234f48004c002122..."} 
[2026-09-05 16:01:50] local.INFO: Processing buffer {"connection_id":171983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711ec4c8012d19454007234f48004c002122..."} 
[2026-09-05 16:01:50] local.INFO: Packet analysis {"connection_id":171983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:01:50] local.INFO: Extracted packet for processing {"connection_id":171983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:01:50] local.INFO: GPS Element Parsed {"raw_longitude":756630848,"raw_latitude":119754568,"longitude_deg":75.6630848,"latitude_deg":11.9754568,"altitude":76,"angle":33,"satellites":34,"speed":55,"hex_longitude":"2d194540","hex_latitude":"07234f48","is_valid_coordinates":true} 
[2026-09-05 16:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882683392001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17956807293009920,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1816217317881352192,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:50] 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-09-05 16:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788604237000,"timestamp_ms":1788604237000,"timestamp_seconds":1788604237,"priority":1,"record_length":96,"hex_timestamp":"000001a0711ec4c8"} 
[2026-09-05 16:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 16:01:50] 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-09-05 16:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882683392001,"66":14070,"186":206,"83":42752,"24":55,"16":17956807293009920,"45":1816217317881352192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-09-05 16:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882683392001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:01:50] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-05 16:01:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17956807293009920,"km_value":17956807293009.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1816217317881352192,"description":"Unknown IO ID 45"} 
[2026-09-05 16:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882683392001,"power":14070,"unknown_186":206,"unknown_83":42752,"ignition":55,"odometer":null,"unknown_45":1816217317881352192}} 
[2026-09-05 16:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":171983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:01:50] local.INFO: GPS data processed {"connection_id":171983,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:01:50] local.INFO: Acknowledgment sent {"connection_id":171983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:01:52] local.INFO: TCP Data received {"connection_id":171984,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171984,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:01:52] local.INFO: Processing buffer {"connection_id":171984,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:01:52] local.INFO: IMEI packet received {"connection_id":171984,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":171984,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:01:53] local.INFO: TCP Data received {"connection_id":171983,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0711ee020012d1959c0072371300046001c20..."} 
[2026-09-05 16:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711ee020012d1959c0072371300046001c20..."} 
[2026-09-05 16:01:53] local.INFO: Processing buffer {"connection_id":171983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711ee020012d1959c0072371300046001c20..."} 
[2026-09-05 16:01:53] local.INFO: Packet analysis {"connection_id":171983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:01:53] local.INFO: Extracted packet for processing {"connection_id":171983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:01:53] local.INFO: GPS Element Parsed {"raw_longitude":756636096,"raw_latitude":119763248,"longitude_deg":75.6636096,"latitude_deg":11.9763248,"altitude":70,"angle":28,"satellites":32,"speed":59,"hex_longitude":"2d1959c0","hex_latitude":"07237130","is_valid_coordinates":true} 
[2026-09-05 16:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882684672001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17957296919281664,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1820932023742580736,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788604244000,"timestamp_ms":1788604244000,"timestamp_seconds":1788604244,"priority":1,"record_length":96,"hex_timestamp":"000001a0711ee020"} 
[2026-09-05 16:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:01: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-09-05 16:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-05 16:01:53] 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-09-05 16:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882684672001,"66":14396,"177":206,"83":42752,"24":59,"16":17957296919281664,"45":1820932023742580736},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-09-05 16:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882684672001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:01:53] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-05 16:01:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17957296919281664,"km_value":17957296919281.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1820932023742580736,"description":"Unknown IO ID 45"} 
[2026-09-05 16:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882684672001,"power":14396,"unknown_177":206,"unknown_83":42752,"ignition":59,"odometer":null,"unknown_45":1820932023742580736}} 
[2026-09-05 16:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":171983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:01:53] local.INFO: GPS data processed {"connection_id":171983,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:01:53] local.INFO: Acknowledgment sent {"connection_id":171983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:01:54] local.INFO: TCP Data received {"connection_id":171984,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0711e6af0012c7614c0084f94c00015012e2b..."} 
[2026-09-05 16:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711e6af0012c7614c0084f94c00015012e2b..."} 
[2026-09-05 16:01:54] local.INFO: Processing buffer {"connection_id":171984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711e6af0012c7614c0084f94c00015012e2b..."} 
[2026-09-05 16:01:54] local.INFO: Packet analysis {"connection_id":171984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:01:54] local.INFO: Extracted packet for processing {"connection_id":171984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:01:54] local.INFO: GPS Element Parsed {"raw_longitude":745936064,"raw_latitude":139433152,"longitude_deg":74.5936064,"latitude_deg":13.9433152,"altitude":21,"angle":302,"satellites":43,"speed":43,"hex_longitude":"2c7614c0","hex_latitude":"084f94c0","is_valid_coordinates":true} 
[2026-09-05 16:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882676736001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1254753220689920,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8516940249748676608,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788604214000,"timestamp_ms":1788604214000,"timestamp_seconds":1788604214,"priority":1,"record_length":96,"hex_timestamp":"000001a0711e6af0"} 
[2026-09-05 16:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:01:54] 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-09-05 16:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-05 16:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882676736001,"66":27843,"137":206,"9":56064,"24":43,"16":1254753220689920,"44":8516940249748676608},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,9,24,16,44]} 
[2026-09-05 16:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882676736001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:01:54] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-05 16:01:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1254753220689920,"km_value":1254753220689.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:01:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8516940249748676608,"description":"Unknown IO ID 44"} 
[2026-09-05 16:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882676736001,"power":27843,"unknown_137":206,"unknown_9":56064,"ignition":43,"odometer":null,"unknown_44":8516940249748676608}} 
[2026-09-05 16:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":171984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769740,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:01:54] local.INFO: GPS data processed {"connection_id":171984,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:01:54] local.INFO: Acknowledgment sent {"connection_id":171984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:01:55] local.INFO: TCP Data received {"connection_id":173092,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:01:55] local.INFO: Processing buffer {"connection_id":173092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:01:55] local.INFO: IMEI packet received {"connection_id":173092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":173092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:01:55] local.INFO: TCP Data received {"connection_id":171689,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171689,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:01:55] local.INFO: Processing buffer {"connection_id":171689,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:01:55] local.INFO: IMEI packet received {"connection_id":171689,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 16:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":171689,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:01:57] local.INFO: TCP Data received {"connection_id":171689,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171689,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:01:57] local.INFO: Processing buffer {"connection_id":171689,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:01:57] local.INFO: IMEI packet received {"connection_id":171689,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":171689,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:01:58] local.INFO: TCP Data received {"connection_id":171689,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711ee7f0012d7b310005e24ba8000300b027..."} 
[2026-09-05 16:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711ee7f0012d7b310005e24ba8000300b027..."} 
[2026-09-05 16:01:58] local.INFO: Processing buffer {"connection_id":171689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711ee7f0012d7b310005e24ba8000300b027..."} 
[2026-09-05 16:01:58] local.INFO: Packet analysis {"connection_id":171689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:01:58] local.INFO: Extracted packet for processing {"connection_id":171689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:01:58] local.INFO: GPS Element Parsed {"raw_longitude":763048192,"raw_latitude":98716584,"longitude_deg":76.3048192,"latitude_deg":9.8716584,"altitude":3,"angle":176,"satellites":39,"speed":3,"hex_longitude":"2d7b3100","hex_latitude":"05e24ba8","is_valid_coordinates":true} 
[2026-09-05 16:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882684672001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128571031416733696,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876665259563339776,"note":"Value kept but may cause issues"} 
[2026-09-05 16:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788604246000,"timestamp_ms":1788604246000,"timestamp_seconds":1788604246,"priority":1,"record_length":96,"hex_timestamp":"000001a0711ee7f0"} 
[2026-09-05 16:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-05 16:01:58] 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-09-05 16:01:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:01:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882684672001,"66":13472,"207":206,"85":15104,"24":3,"16":128571031416733696,"45":8876665259563339776},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-05 16:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882684672001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:01:58] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 16:01:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128571031416733696,"km_value":128571031416733.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876665259563339776,"description":"Unknown IO ID 45"} 
[2026-09-05 16:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882684672001,"power":13472,"unknown_207":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8876665259563339776}} 
[2026-09-05 16:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":171689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769741,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:01:58] local.INFO: GPS data processed {"connection_id":171689,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:01:58] local.INFO: Acknowledgment sent {"connection_id":171689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:02:00] local.INFO: TCP Data received {"connection_id":173092,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:02:00] local.INFO: Processing buffer {"connection_id":173092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:02:00] local.INFO: IMEI packet received {"connection_id":173092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":173092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:02:01] local.INFO: TCP Data received {"connection_id":173092,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:02:01] local.INFO: Processing buffer {"connection_id":173092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:02:01] local.INFO: IMEI packet received {"connection_id":173092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":173092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:02:02] local.INFO: TCP Data received {"connection_id":173092,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711e95e8012d7da70005fdedf0001500e62b..."} 
[2026-09-05 16:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711e95e8012d7da70005fdedf0001500e62b..."} 
[2026-09-05 16:02:02] local.INFO: Processing buffer {"connection_id":173092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711e95e8012d7da70005fdedf0001500e62b..."} 
[2026-09-05 16:02:02] local.INFO: Packet analysis {"connection_id":173092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:02:02] local.INFO: Extracted packet for processing {"connection_id":173092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:02:02] local.INFO: GPS Element Parsed {"raw_longitude":763209472,"raw_latitude":100527600,"longitude_deg":76.3209472,"latitude_deg":10.05276,"altitude":21,"angle":230,"satellites":43,"speed":22,"hex_longitude":"2d7da700","hex_latitude":"05fdedf0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882679808001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399869362292391936,"note":"Value kept but may cause issues"} 
[2026-09-05 16:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9057231457587163136,"note":"Value kept but may cause issues"} 
[2026-09-05 16:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788604225000,"timestamp_ms":1788604225000,"timestamp_seconds":1788604225,"priority":1,"record_length":96,"hex_timestamp":"000001a0711e95e8"} 
[2026-09-05 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-09-05 16:02: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-09-05 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 16:02: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-09-05 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-09-05 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-09-05 16:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882679808001,"66":27626,"74":206,"87":10752,"24":22,"16":399869362292391936,"45":9057231457587163136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,87,24,16,45]} 
[2026-09-05 16:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882679808001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:02:02] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-05 16:02:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 16:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399869362292391936,"km_value":399869362292391.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9057231457587163136,"description":"Unknown IO ID 45"} 
[2026-09-05 16:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882679808001,"power":27626,"unknown_74":206,"unknown_87":10752,"ignition":22,"odometer":null,"unknown_45":9057231457587163136}} 
[2026-09-05 16:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":173092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:02:02] local.INFO: GPS data processed {"connection_id":173092,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:02:02] local.INFO: Acknowledgment sent {"connection_id":173092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:02:06] local.INFO: TCP Data received {"connection_id":173092,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711eb910012d7d948005fde2a8001400f32d..."} 
[2026-09-05 16:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711eb910012d7d948005fde2a8001400f32d..."} 
[2026-09-05 16:02:06] local.INFO: Processing buffer {"connection_id":173092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711eb910012d7d948005fde2a8001400f32d..."} 
[2026-09-05 16:02:06] local.INFO: Packet analysis {"connection_id":173092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:02:06] local.INFO: Extracted packet for processing {"connection_id":173092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:02:06] local.INFO: GPS Element Parsed {"raw_longitude":763204736,"raw_latitude":100524712,"longitude_deg":76.3204736,"latitude_deg":10.0524712,"altitude":20,"angle":243,"satellites":45,"speed":25,"hex_longitude":"2d7d9480","hex_latitude":"05fde2a8","is_valid_coordinates":true} 
[2026-09-05 16:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882681600001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399869628580364288,"note":"Value kept but may cause issues"} 
[2026-09-05 16:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9054205601586737152,"note":"Value kept but may cause issues"} 
[2026-09-05 16:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788604234000,"timestamp_ms":1788604234000,"timestamp_seconds":1788604234,"priority":1,"record_length":96,"hex_timestamp":"000001a0711eb910"} 
[2026-09-05 16:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-05 16:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882681600001,"66":27843,"74":206,"87":10752,"24":25,"16":399869628580364288,"45":9054205601586737152},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,87,24,16,45]} 
[2026-09-05 16:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882681600001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:02:06] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-05 16:02:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 16:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399869628580364288,"km_value":399869628580364.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9054205601586737152,"description":"Unknown IO ID 45"} 
[2026-09-05 16:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882681600001,"power":27843,"unknown_74":206,"unknown_87":10752,"ignition":25,"odometer":null,"unknown_45":9054205601586737152}} 
[2026-09-05 16:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":173092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:02:06] local.INFO: GPS data processed {"connection_id":173092,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:02:06] local.INFO: Acknowledgment sent {"connection_id":173092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:02:25] local.INFO: TCP Data received {"connection_id":171984,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0711e8e18012c75f480084fa850001801322c..."} 
[2026-09-05 16:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711e8e18012c75f480084fa850001801322c..."} 
[2026-09-05 16:02:25] local.INFO: Processing buffer {"connection_id":171984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711e8e18012c75f480084fa850001801322c..."} 
[2026-09-05 16:02:25] local.INFO: Packet analysis {"connection_id":171984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:02:25] local.INFO: Extracted packet for processing {"connection_id":171984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:02:25] local.INFO: GPS Element Parsed {"raw_longitude":745927808,"raw_latitude":139438160,"longitude_deg":74.5927808,"latitude_deg":13.943816,"altitude":24,"angle":306,"satellites":44,"speed":40,"hex_longitude":"2c75f480","hex_latitude":"084fa850","is_valid_coordinates":true} 
[2026-09-05 16:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882678784001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1255212782190592,"note":"Value kept but may cause issues"} 
[2026-09-05 16:02:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8508636737937129472,"note":"Value kept but may cause issues"} 
[2026-09-05 16:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788604223000,"timestamp_ms":1788604223000,"timestamp_seconds":1788604223,"priority":1,"record_length":96,"hex_timestamp":"000001a0711e8e18"} 
[2026-09-05 16:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 16:02:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:02:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:02:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882678784001,"66":28148,"135":206,"9":56064,"24":40,"16":1255212782190592,"44":8508636737937129472},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,9,24,16,44]} 
[2026-09-05 16:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882678784001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:02:25] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-05 16:02:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1255212782190592,"km_value":1255212782190.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:02:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8508636737937129472,"description":"Unknown IO ID 44"} 
[2026-09-05 16:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882678784001,"power":28148,"unknown_135":206,"unknown_9":56064,"ignition":40,"odometer":null,"unknown_44":8508636737937129472}} 
[2026-09-05 16:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":171984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769744,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:02:25] local.INFO: GPS data processed {"connection_id":171984,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:02:25] local.INFO: Acknowledgment sent {"connection_id":171984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:02:25] local.INFO: TCP Data received {"connection_id":171983,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0711faf28012d1a4e000723e3a0002d001e24..."} 
[2026-09-05 16:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711faf28012d1a4e000723e3a0002d001e24..."} 
[2026-09-05 16:02:25] local.INFO: Processing buffer {"connection_id":171983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711faf28012d1a4e000723e3a0002d001e24..."} 
[2026-09-05 16:02:25] local.INFO: Packet analysis {"connection_id":171983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711f"} 
[2026-09-05 16:02:25] local.INFO: Extracted packet for processing {"connection_id":171983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711f"} 
[2026-09-05 16:02:25] local.INFO: GPS Element Parsed {"raw_longitude":756698624,"raw_latitude":119792544,"longitude_deg":75.6698624,"latitude_deg":11.9792544,"altitude":45,"angle":30,"satellites":36,"speed":39,"hex_longitude":"2d1a4e00","hex_latitude":"0723e3a0","is_valid_coordinates":true} 
[2026-09-05 16:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882700032001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17960801612595200,"note":"Value kept but may cause issues"} 
[2026-09-05 16:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1895452523836448768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:02:25] 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-09-05 16:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788604297000,"timestamp_ms":1788604297000,"timestamp_seconds":1788604297,"priority":1,"record_length":96,"hex_timestamp":"000001a0711faf28"} 
[2026-09-05 16:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 16:02:25] 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-09-05 16:02:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:02:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882700032001,"66":14363,"43":206,"83":42752,"24":39,"16":17960801612595200,"45":1895452523836448768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-05 16:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882700032001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:02:25] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-05 16:02:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17960801612595200,"km_value":17960801612595.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1895452523836448768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882700032001,"power":14363,"unknown_43":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1895452523836448768}} 
[2026-09-05 16:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":171983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:02:25] local.INFO: GPS data processed {"connection_id":171983,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:02:25] local.INFO: Acknowledgment sent {"connection_id":171983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:02:29] local.INFO: TCP Data received {"connection_id":171689,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711f3610012d7b308005e24700000300ab22..."} 
[2026-09-05 16:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711f3610012d7b308005e24700000300ab22..."} 
[2026-09-05 16:02:29] local.INFO: Processing buffer {"connection_id":171689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711f3610012d7b308005e24700000300ab22..."} 
[2026-09-05 16:02:29] local.INFO: Packet analysis {"connection_id":171689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711f"} 
[2026-09-05 16:02:29] local.INFO: Extracted packet for processing {"connection_id":171689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711f"} 
[2026-09-05 16:02:29] local.INFO: GPS Element Parsed {"raw_longitude":763048064,"raw_latitude":98715392,"longitude_deg":76.3048064,"latitude_deg":9.8715392,"altitude":3,"angle":171,"satellites":34,"speed":4,"hex_longitude":"2d7b3080","hex_latitude":"05e24700","is_valid_coordinates":true} 
[2026-09-05 16:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882686976001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128571091546275840,"note":"Value kept but may cause issues"} 
[2026-09-05 16:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876876365795403776,"note":"Value kept but may cause issues"} 
[2026-09-05 16:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788604266000,"timestamp_ms":1788604266000,"timestamp_seconds":1788604266,"priority":1,"record_length":96,"hex_timestamp":"000001a0711f3610"} 
[2026-09-05 16:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-05 16:02:29] 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-09-05 16:02:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":171689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":171689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":171689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882686976001,"66":13580,"207":206,"85":15104,"24":4,"16":128571091546275840,"45":8876876365795403776},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-05 16:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882686976001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:02:29] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 16:02:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128571091546275840,"km_value":128571091546275.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876876365795403776,"description":"Unknown IO ID 45"} 
[2026-09-05 16:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882686976001,"power":13580,"unknown_207":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8876876365795403776}} 
[2026-09-05 16:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":171689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769746,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:02:29] local.INFO: GPS data processed {"connection_id":171689,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:02:29] local.INFO: Acknowledgment sent {"connection_id":171689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:02:38] local.INFO: TCP Data received {"connection_id":173092,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711ed850012d7d864005fddaf0001300e52e..."} 
[2026-09-05 16:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711ed850012d7d864005fddaf0001300e52e..."} 
[2026-09-05 16:02:38] local.INFO: Processing buffer {"connection_id":173092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711ed850012d7d864005fddaf0001300e52e..."} 
[2026-09-05 16:02:38] local.INFO: Packet analysis {"connection_id":173092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:02:38] local.INFO: Extracted packet for processing {"connection_id":173092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:02:38] local.INFO: GPS Element Parsed {"raw_longitude":763201088,"raw_latitude":100522736,"longitude_deg":76.3201088,"latitude_deg":10.0522736,"altitude":19,"angle":229,"satellites":46,"speed":10,"hex_longitude":"2d7d8640","hex_latitude":"05fddaf0","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882683904001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399869826148859904,"note":"Value kept but may cause issues"} 
[2026-09-05 16:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9048998314516850688,"note":"Value kept but may cause issues"} 
[2026-09-05 16:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788604242000,"timestamp_ms":1788604242000,"timestamp_seconds":1788604242,"priority":1,"record_length":96,"hex_timestamp":"000001a0711ed850"} 
[2026-09-05 16:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:02: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-09-05 16: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 16:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882683904001,"66":27821,"74":206,"87":10752,"24":10,"16":399869826148859904,"45":9048998314516850688},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,87,24,16,45]} 
[2026-09-05 16:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882683904001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:02:38] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-05 16:02:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 16:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399869826148859904,"km_value":399869826148859.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9048998314516850688,"description":"Unknown IO ID 45"} 
[2026-09-05 16:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882683904001,"power":27821,"unknown_74":206,"unknown_87":10752,"ignition":10,"odometer":null,"unknown_45":9048998314516850688}} 
[2026-09-05 16:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":173092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:02:38] local.INFO: GPS data processed {"connection_id":173092,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:02:38] local.INFO: Acknowledgment sent {"connection_id":173092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:02:44] local.INFO: TCP Data received {"connection_id":174405,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:02:44] local.INFO: Processing buffer {"connection_id":174405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:02:44] local.INFO: IMEI packet received {"connection_id":174405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":174405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:02:49] local.INFO: TCP Data received {"connection_id":174406,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174406,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:02:49] local.INFO: Processing buffer {"connection_id":174406,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:02:49] local.INFO: IMEI packet received {"connection_id":174406,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":174406,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:02:49] local.INFO: TCP Data received {"connection_id":174405,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:02:49] local.INFO: Processing buffer {"connection_id":174405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:02:49] local.INFO: IMEI packet received {"connection_id":174405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":174405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:02:50] local.INFO: TCP Data received {"connection_id":174406,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174406,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:02:50] local.INFO: Processing buffer {"connection_id":174406,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:02:50] local.INFO: IMEI packet received {"connection_id":174406,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":174406,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:02:51] local.INFO: TCP Data received {"connection_id":174406,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0711fe5d8012c749b000850cf60001301322d..."} 
[2026-09-05 16:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711fe5d8012c749b000850cf60001301322d..."} 
[2026-09-05 16:02:51] local.INFO: Processing buffer {"connection_id":174406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711fe5d8012c749b000850cf60001301322d..."} 
[2026-09-05 16:02:51] local.INFO: Packet analysis {"connection_id":174406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711f"} 
[2026-09-05 16:02:51] local.INFO: Extracted packet for processing {"connection_id":174406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711f"} 
[2026-09-05 16:02:51] local.INFO: GPS Element Parsed {"raw_longitude":745839360,"raw_latitude":139513696,"longitude_deg":74.583936,"latitude_deg":13.9513696,"altitude":19,"angle":306,"satellites":45,"speed":52,"hex_longitude":"2c749b00","hex_latitude":"0850cf60","is_valid_coordinates":true} 
[2026-09-05 16:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882701824001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1260761879937024,"note":"Value kept but may cause issues"} 
[2026-09-05 16:02:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8410753814805147648,"note":"Value kept but may cause issues"} 
[2026-09-05 16:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788604311000,"timestamp_ms":1788604311000,"timestamp_seconds":1788604311,"priority":1,"record_length":96,"hex_timestamp":"000001a0711fe5d8"} 
[2026-09-05 16:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 16:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882701824001,"66":28071,"135":206,"9":56064,"24":52,"16":1260761879937024,"44":8410753814805147648},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,9,24,16,44]} 
[2026-09-05 16:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882701824001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:02:51] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-05 16:02:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1260761879937024,"km_value":1260761879937.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:02:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":8410753814805147648,"description":"Unknown IO ID 44"} 
[2026-09-05 16:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882701824001,"power":28071,"unknown_135":206,"unknown_9":56064,"ignition":52,"odometer":null,"unknown_44":8410753814805147648}} 
[2026-09-05 16:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":174406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769748,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:02:51] local.INFO: GPS data processed {"connection_id":174406,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:02:51] local.INFO: Acknowledgment sent {"connection_id":174406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:02:52] local.INFO: TCP Data received {"connection_id":174405,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0711fd250012d1a620007240068002c002c24..."} 
[2026-09-05 16:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711fd250012d1a620007240068002c002c24..."} 
[2026-09-05 16:02:52] local.INFO: Processing buffer {"connection_id":174405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711fd250012d1a620007240068002c002c24..."} 
[2026-09-05 16:02:52] local.INFO: Packet analysis {"connection_id":174405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711f"} 
[2026-09-05 16:02:52] local.INFO: Extracted packet for processing {"connection_id":174405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711f"} 
[2026-09-05 16:02:52] local.INFO: GPS Element Parsed {"raw_longitude":756703744,"raw_latitude":119799912,"longitude_deg":75.6703744,"latitude_deg":11.9799912,"altitude":44,"angle":44,"satellites":36,"speed":40,"hex_longitude":"2d1a6200","hex_latitude":"07240068","is_valid_coordinates":true} 
[2026-09-05 16:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882700032001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17961235404292096,"note":"Value kept but may cause issues"} 
[2026-09-05 16:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1895452523836448768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:02:52] 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-09-05 16:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788604306000,"timestamp_ms":1788604306000,"timestamp_seconds":1788604306,"priority":1,"record_length":96,"hex_timestamp":"000001a0711fd250"} 
[2026-09-05 16:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 16:02:52] 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-09-05 16:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882700032001,"66":14352,"43":206,"83":42752,"24":40,"16":17961235404292096,"45":1895452523836448768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-05 16:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882700032001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:02:52] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-05 16:02:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17961235404292096,"km_value":17961235404292.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1895452523836448768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882700032001,"power":14352,"unknown_43":206,"unknown_83":42752,"ignition":40,"odometer":null,"unknown_45":1895452523836448768}} 
[2026-09-05 16:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":174405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:02:52] local.INFO: GPS data processed {"connection_id":174405,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:02:52] local.INFO: Acknowledgment sent {"connection_id":174405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:02:52] local.INFO: TCP Data received {"connection_id":174406,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071200130012c7480800850e7b00012013d2d..."} 
[2026-09-05 16:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071200130012c7480800850e7b00012013d2d..."} 
[2026-09-05 16:02:52] local.INFO: Processing buffer {"connection_id":174406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071200130012c7480800850e7b00012013d2d..."} 
[2026-09-05 16:02:52] local.INFO: Packet analysis {"connection_id":174406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07120"} 
[2026-09-05 16:02:52] local.INFO: Extracted packet for processing {"connection_id":174406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07120"} 
[2026-09-05 16:02:52] local.INFO: GPS Element Parsed {"raw_longitude":745832576,"raw_latitude":139519920,"longitude_deg":74.5832576,"latitude_deg":13.951992,"altitude":18,"angle":317,"satellites":45,"speed":52,"hex_longitude":"2c748080","hex_latitude":"0850e7b0","is_valid_coordinates":true} 
[2026-09-05 16:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882703616001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1261199966601216,"note":"Value kept but may cause issues"} 
[2026-09-05 16:02:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8402309565505298432,"note":"Value kept but may cause issues"} 
[2026-09-05 16:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788604318000,"timestamp_ms":1788604318000,"timestamp_seconds":1788604318,"priority":1,"record_length":96,"hex_timestamp":"000001a071200130"} 
[2026-09-05 16:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-05 16:02:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2246,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882703616001,"66":28137,"135":206,"9":56064,"24":52,"16":1261199966601216,"44":8402309565505298432},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,9,24,16,44]} 
[2026-09-05 16:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882703616001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:02:52] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-05 16:02:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1261199966601216,"km_value":1261199966601.216,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:02:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":8402309565505298432,"description":"Unknown IO ID 44"} 
[2026-09-05 16:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882703616001,"power":28137,"unknown_135":206,"unknown_9":56064,"ignition":52,"odometer":null,"unknown_44":8402309565505298432}} 
[2026-09-05 16:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":174406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769750,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:02:53] local.INFO: GPS data processed {"connection_id":174406,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:02:53] local.INFO: Acknowledgment sent {"connection_id":174406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:02:55] local.INFO: TCP Data received {"connection_id":171985,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:02:55] local.INFO: Processing buffer {"connection_id":171985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:02:55] local.INFO: IMEI packet received {"connection_id":171985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 16:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":171985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:02:55] local.INFO: TCP Data received {"connection_id":171690,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:02:55] local.INFO: Processing buffer {"connection_id":171690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:02:55] local.INFO: IMEI packet received {"connection_id":171690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":171690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:02:56] local.INFO: TCP Data received {"connection_id":171690,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:02:56] local.INFO: Processing buffer {"connection_id":171690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:02:56] local.INFO: IMEI packet received {"connection_id":171690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":171690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:02:59] local.INFO: TCP Data received {"connection_id":171985,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:02:59] local.INFO: Processing buffer {"connection_id":171985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:02:59] local.INFO: IMEI packet received {"connection_id":171985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":171985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:03:00] local.INFO: TCP Data received {"connection_id":171985,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711f8818012d7b328005e23818000200b029..."} 
[2026-09-05 16:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711f8818012d7b328005e23818000200b029..."} 
[2026-09-05 16:03:00] local.INFO: Processing buffer {"connection_id":171985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711f8818012d7b328005e23818000200b029..."} 
[2026-09-05 16:03:00] local.INFO: Packet analysis {"connection_id":171985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711f"} 
[2026-09-05 16:03:00] local.INFO: Extracted packet for processing {"connection_id":171985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711f"} 
[2026-09-05 16:03:00] local.INFO: GPS Element Parsed {"raw_longitude":763048576,"raw_latitude":98711576,"longitude_deg":76.3048576,"latitude_deg":9.8711576,"altitude":2,"angle":176,"satellites":41,"speed":4,"hex_longitude":"2d7b3280","hex_latitude":"05e23818","is_valid_coordinates":true} 
[2026-09-05 16:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882692096001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128571280524836864,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876735628306743296,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788604287000,"timestamp_ms":1788604287000,"timestamp_seconds":1788604287,"priority":1,"record_length":96,"hex_timestamp":"000001a0711f8818"} 
[2026-09-05 16:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-05 16:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630534,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:00] local.WARNING: Large IO value detected {"io_id":198,"raw_value":2466250752,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:00] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3979423951502704640,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:00] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:00] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635300470087631,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607401678,"corrected_to":0} 
[2026-09-05 16:03:00] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2550214011,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:00] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-2665905168024809899,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:00] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3329490944,"corrected_to":0} 
[2026-09-05 16:03:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3798951936,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:00] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2792238239342657540,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:00] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:00] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,207,85,24,241,157,16,198,160,231,45,75,3,39,10,66,196,64,82,2,38,188,1,240,138,227,113,226,4,205,79,216,41,239,53,200,5,7,123,59],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1607401678,"validated":0},{"io_id":200,"original":3329490944,"validated":0}]} 
[2026-09-05 16:03:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216360944631283712,"timestamp_seconds":216360944631283.72,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 16:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882692096001,"66":13722,"207":206,"85":15104,"24":4,"16":128571280524836864,"45":8876735628306743296},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-05 16:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882692096001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:03:00] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 16:03:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128571280524836864,"km_value":128571280524836.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876735628306743296,"description":"Unknown IO ID 45"} 
[2026-09-05 16:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882692096001,"power":13722,"unknown_207":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8876735628306743296}} 
[2026-09-05 16:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":171985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769751,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:03:00] local.INFO: GPS data processed {"connection_id":171985,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:03:00] local.INFO: Acknowledgment sent {"connection_id":171985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:03:01] local.INFO: TCP Data received {"connection_id":171690,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:03:01] local.INFO: Processing buffer {"connection_id":171690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:03:01] local.INFO: IMEI packet received {"connection_id":171690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":171690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:03:02] local.INFO: TCP Data received {"connection_id":171690,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711ee7f0012d7d830005fdd768001200d82d..."} 
[2026-09-05 16:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711ee7f0012d7d830005fdd768001200d82d..."} 
[2026-09-05 16:03:02] local.INFO: Processing buffer {"connection_id":171690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711ee7f0012d7d830005fdd768001200d82d..."} 
[2026-09-05 16:03:02] local.INFO: Packet analysis {"connection_id":171690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:03:02] local.INFO: Extracted packet for processing {"connection_id":171690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711e"} 
[2026-09-05 16:03:02] local.INFO: GPS Element Parsed {"raw_longitude":763200256,"raw_latitude":100521832,"longitude_deg":76.3200256,"latitude_deg":10.0521832,"altitude":18,"angle":216,"satellites":45,"speed":10,"hex_longitude":"2d7d8300","hex_latitude":"05fdd768","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882685952001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399869886278402048,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9044987296098217984,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788604246000,"timestamp_ms":1788604246000,"timestamp_seconds":1788604246,"priority":1,"record_length":96,"hex_timestamp":"000001a0711ee7f0"} 
[2026-09-05 16:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:03: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-09-05 16: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 16:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882685952001,"66":27919,"74":206,"87":10752,"24":10,"16":399869886278402048,"45":9044987296098217984},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,87,24,16,45]} 
[2026-09-05 16:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882685952001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:03:02] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-05 16:03:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 16:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399869886278402048,"km_value":399869886278402.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9044987296098217984,"description":"Unknown IO ID 45"} 
[2026-09-05 16:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882685952001,"power":27919,"unknown_74":206,"unknown_87":10752,"ignition":10,"odometer":null,"unknown_45":9044987296098217984}} 
[2026-09-05 16:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":171690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:03:02] local.INFO: GPS data processed {"connection_id":171690,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:03:02] local.INFO: Acknowledgment sent {"connection_id":171690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:03:23] local.INFO: TCP Data received {"connection_id":174405,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0711fd250012d1a620007240068002c002c24..."} 
[2026-09-05 16:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711fd250012d1a620007240068002c002c24..."} 
[2026-09-05 16:03:23] local.INFO: Processing buffer {"connection_id":174405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711fd250012d1a620007240068002c002c24..."} 
[2026-09-05 16:03:23] local.INFO: Packet analysis {"connection_id":174405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711f"} 
[2026-09-05 16:03:23] local.INFO: Extracted packet for processing {"connection_id":174405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711f"} 
[2026-09-05 16:03:23] local.INFO: GPS Element Parsed {"raw_longitude":756703744,"raw_latitude":119799912,"longitude_deg":75.6703744,"latitude_deg":11.9799912,"altitude":44,"angle":44,"satellites":36,"speed":40,"hex_longitude":"2d1a6200","hex_latitude":"07240068","is_valid_coordinates":true} 
[2026-09-05 16:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882702336001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17961235404292096,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1901082023372548096,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:23] 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-09-05 16:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788604306000,"timestamp_ms":1788604306000,"timestamp_seconds":1788604306,"priority":1,"record_length":96,"hex_timestamp":"000001a0711fd250"} 
[2026-09-05 16:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-05 16:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733143296,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:23] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503873667596288,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:23] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13459243,"corrected_to":0} 
[2026-09-05 16:03:23] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5764871410124390656,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:23] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638942602354474,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596653774,"corrected_to":0} 
[2026-09-05 16:03:23] local.WARNING: Large IO value detected {"io_id":108,"raw_value":3221302554,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:23] local.WARNING: Large IO value detected {"io_id":22,"raw_value":2147951534,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:23] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837535,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:23] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:23] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3462397952,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13792630877994496,"corrected_to":0} 
[2026-09-05 16:03:23] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-5548426891327176649,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:23] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,43,83,24,241,157,16,207,160,175,45,227,36,10,66,140,128,1,240,246,206,113,35,4,205,50,108,22,40,239,55,2,63,7,47,57,200,25],"length":628,"final_offset":758,"validated_count":38,"validation_warnings":[{"io_id":246,"original":13459243,"validated":0},{"io_id":205,"original":1596653774,"validated":0},{"io_id":200,"original":13792630877994496,"validated":0}]} 
[2026-09-05 16:03:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170582670801895424,"timestamp_seconds":3170582670801895.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 16:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882702336001,"66":14352,"43":206,"83":42752,"24":40,"16":17961235404292096,"45":1901082023372548096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-05 16:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882702336001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:03:23] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-05 16:03:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17961235404292096,"km_value":17961235404292.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1901082023372548096,"description":"Unknown IO ID 45"} 
[2026-09-05 16:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882702336001,"power":14352,"unknown_43":206,"unknown_83":42752,"ignition":40,"odometer":null,"unknown_45":1901082023372548096}} 
[2026-09-05 16:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":174405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:03:23] local.INFO: GPS data processed {"connection_id":174405,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:03:23] local.INFO: Acknowledgment sent {"connection_id":174405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:03:24] local.INFO: TCP Data received {"connection_id":174406,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071200130012c7480800850e7b00012013d2d..."} 
[2026-09-05 16:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071200130012c7480800850e7b00012013d2d..."} 
[2026-09-05 16:03:24] local.INFO: Processing buffer {"connection_id":174406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071200130012c7480800850e7b00012013d2d..."} 
[2026-09-05 16:03:24] local.INFO: Packet analysis {"connection_id":174406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07120"} 
[2026-09-05 16:03:24] local.INFO: Extracted packet for processing {"connection_id":174406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07120"} 
[2026-09-05 16:03:24] local.INFO: GPS Element Parsed {"raw_longitude":745832576,"raw_latitude":139519920,"longitude_deg":74.5832576,"latitude_deg":13.951992,"altitude":18,"angle":317,"satellites":45,"speed":52,"hex_longitude":"2c748080","hex_latitude":"0850e7b0","is_valid_coordinates":true} 
[2026-09-05 16:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882705408001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1261199966601216,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8394850478624059392,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788604318000,"timestamp_ms":1788604318000,"timestamp_seconds":1788604318,"priority":1,"record_length":96,"hex_timestamp":"000001a071200130"} 
[2026-09-05 16:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:03: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-09-05 16:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 16:03:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:03:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882705408001,"66":28137,"135":206,"9":56064,"24":52,"16":1261199966601216,"44":8394850478624059392},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,9,24,16,44]} 
[2026-09-05 16:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882705408001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:03:24] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-05 16:03:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1261199966601216,"km_value":1261199966601.216,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:03:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":8394850478624059392,"description":"Unknown IO ID 44"} 
[2026-09-05 16:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882705408001,"power":28137,"unknown_135":206,"unknown_9":56064,"ignition":52,"odometer":null,"unknown_44":8394850478624059392}} 
[2026-09-05 16:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":174406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769754,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:03:24] local.INFO: GPS data processed {"connection_id":174406,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:03:24] local.INFO: Acknowledgment sent {"connection_id":174406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:03:31] local.INFO: TCP Data received {"connection_id":171985,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711fda20012d7b334005e22b20000000b429..."} 
[2026-09-05 16:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711fda20012d7b334005e22b20000000b429..."} 
[2026-09-05 16:03:31] local.INFO: Processing buffer {"connection_id":171985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711fda20012d7b334005e22b20000000b429..."} 
[2026-09-05 16:03:31] local.INFO: Packet analysis {"connection_id":171985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711f"} 
[2026-09-05 16:03:31] local.INFO: Extracted packet for processing {"connection_id":171985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711f"} 
[2026-09-05 16:03:31] local.INFO: GPS Element Parsed {"raw_longitude":763048768,"raw_latitude":98708256,"longitude_deg":76.3048768,"latitude_deg":9.8708256,"altitude":0,"angle":180,"satellites":41,"speed":5,"hex_longitude":"2d7b3340","hex_latitude":"05e22b20","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882697472001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128571443733594112,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877298578259187712,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788604308000,"timestamp_ms":1788604308000,"timestamp_seconds":1788604308,"priority":1,"record_length":96,"hex_timestamp":"000001a0711fda20"} 
[2026-09-05 16:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-05 16:03:31] 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-09-05 16: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-09-05 16:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882697472001,"66":13341,"207":206,"85":15104,"24":5,"16":128571443733594112,"45":8877298578259187712},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-05 16:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882697472001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:03:31] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 16:03:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128571443733594112,"km_value":128571443733594.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877298578259187712,"description":"Unknown IO ID 45"} 
[2026-09-05 16:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882697472001,"power":13341,"unknown_207":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8877298578259187712}} 
[2026-09-05 16:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":171985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769755,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:03:32] local.INFO: GPS data processed {"connection_id":171985,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:03:32] local.INFO: Acknowledgment sent {"connection_id":171985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:03:33] local.INFO: TCP Data received {"connection_id":171690,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711f0b18012d7d7f0005fdd080001300c92e..."} 
[2026-09-05 16:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711f0b18012d7d7f0005fdd080001300c92e..."} 
[2026-09-05 16:03:33] local.INFO: Processing buffer {"connection_id":171690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711f0b18012d7d7f0005fdd080001300c92e..."} 
[2026-09-05 16:03:33] local.INFO: Packet analysis {"connection_id":171690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711f"} 
[2026-09-05 16:03:33] local.INFO: Extracted packet for processing {"connection_id":171690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711f"} 
[2026-09-05 16:03:33] local.INFO: GPS Element Parsed {"raw_longitude":763199232,"raw_latitude":100520064,"longitude_deg":76.3199232,"latitude_deg":10.0520064,"altitude":19,"angle":201,"satellites":46,"speed":6,"hex_longitude":"2d7d7f00","hex_latitude":"05fdd080","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882686976001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399869985062649856,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9044072502423676928,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788604255000,"timestamp_ms":1788604255000,"timestamp_seconds":1788604255,"priority":1,"record_length":96,"hex_timestamp":"000001a0711f0b18"} 
[2026-09-05 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-09-05 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-09-05 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 16:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882686976001,"66":27843,"74":206,"87":10752,"24":6,"16":399869985062649856,"45":9044072502423676928},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,87,24,16,45]} 
[2026-09-05 16:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882686976001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:03:33] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-05 16:03:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 16:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399869985062649856,"km_value":399869985062649.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9044072502423676928,"description":"Unknown IO ID 45"} 
[2026-09-05 16:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882686976001,"power":27843,"unknown_74":206,"unknown_87":10752,"ignition":6,"odometer":null,"unknown_45":9044072502423676928}} 
[2026-09-05 16:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":171690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:03:33] local.INFO: GPS data processed {"connection_id":171690,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:03:33] local.INFO: Acknowledgment sent {"connection_id":171690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:03:45] local.INFO: TCP Data received {"connection_id":174407,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:03:45] local.INFO: Processing buffer {"connection_id":174407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:03:45] local.INFO: IMEI packet received {"connection_id":174407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":174407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:03:46] local.INFO: TCP Data received {"connection_id":174407,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:03:46] local.INFO: Processing buffer {"connection_id":174407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:03:46] local.INFO: IMEI packet received {"connection_id":174407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":174407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:03:46] local.INFO: TCP Data received {"connection_id":171691,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:03:46] local.INFO: Processing buffer {"connection_id":171691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:03:46] local.INFO: IMEI packet received {"connection_id":171691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":171691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:03:47] local.INFO: TCP Data received {"connection_id":171691,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:03:47] local.INFO: Processing buffer {"connection_id":171691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:03:47] local.INFO: IMEI packet received {"connection_id":171691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":171691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:03:51] local.INFO: TCP Data received {"connection_id":174407,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:03:51] local.INFO: Processing buffer {"connection_id":174407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:03:51] local.INFO: IMEI packet received {"connection_id":174407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":174407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:03:52] local.INFO: TCP Data received {"connection_id":171691,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:03:52] local.INFO: Processing buffer {"connection_id":171691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:03:52] local.INFO: IMEI packet received {"connection_id":171691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":171691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:03:52] local.INFO: TCP Data received {"connection_id":174408,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174408,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:03:52] local.INFO: Processing buffer {"connection_id":174408,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:03:52] local.INFO: IMEI packet received {"connection_id":174408,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 16:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":174408,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:03:54] local.INFO: TCP Data received {"connection_id":171691,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071201c88012c746a0008510520000f01472d..."} 
[2026-09-05 16:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071201c88012c746a0008510520000f01472d..."} 
[2026-09-05 16:03:54] local.INFO: Processing buffer {"connection_id":171691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071201c88012c746a0008510520000f01472d..."} 
[2026-09-05 16:03:54] local.INFO: Packet analysis {"connection_id":171691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07120"} 
[2026-09-05 16:03:54] local.INFO: Extracted packet for processing {"connection_id":171691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07120"} 
[2026-09-05 16:03:54] local.INFO: GPS Element Parsed {"raw_longitude":745826816,"raw_latitude":139527456,"longitude_deg":74.5826816,"latitude_deg":13.9527456,"altitude":15,"angle":327,"satellites":45,"speed":54,"hex_longitude":"2c746a00","hex_latitude":"08510520","is_valid_coordinates":true} 
[2026-09-05 16:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882705408001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1261659528101888,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8394850478624059392,"note":"Value kept but may cause issues"} 
[2026-09-05 16:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788604325000,"timestamp_ms":1788604325000,"timestamp_seconds":1788604325,"priority":1,"record_length":96,"hex_timestamp":"000001a071201c88"} 
[2026-09-05 16:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:03:54] 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-09-05 16:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 16:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882705408001,"66":27767,"135":206,"9":56064,"24":54,"16":1261659528101888,"44":8394850478624059392},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,9,24,16,44]} 
[2026-09-05 16:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882705408001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:03:54] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-05 16:03:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1261659528101888,"km_value":1261659528101.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:03:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8394850478624059392,"description":"Unknown IO ID 44"} 
[2026-09-05 16:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882705408001,"power":27767,"unknown_135":206,"unknown_9":56064,"ignition":54,"odometer":null,"unknown_44":8394850478624059392}} 
[2026-09-05 16:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":171691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769757,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:03:54] local.INFO: GPS data processed {"connection_id":171691,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:03:54] local.INFO: Acknowledgment sent {"connection_id":171691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:03:54] local.INFO: TCP Data received {"connection_id":174408,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174408,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:03:54] local.INFO: Processing buffer {"connection_id":174408,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:03:54] local.INFO: IMEI packet received {"connection_id":174408,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":174408,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:04:00] local.INFO: TCP Data received {"connection_id":174408,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174408,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:04:00] local.INFO: Processing buffer {"connection_id":174408,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:04:00] local.INFO: IMEI packet received {"connection_id":174408,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":174408,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:04:01] local.INFO: TCP Data received {"connection_id":174408,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0711ff578012d7b344005e226b0000000a629..."} 
[2026-09-05 16:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711ff578012d7b344005e226b0000000a629..."} 
[2026-09-05 16:04:01] local.INFO: Processing buffer {"connection_id":174408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711ff578012d7b344005e226b0000000a629..."} 
[2026-09-05 16:04:01] local.INFO: Packet analysis {"connection_id":174408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711f"} 
[2026-09-05 16:04:01] local.INFO: Extracted packet for processing {"connection_id":174408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711f"} 
[2026-09-05 16:04:01] local.INFO: GPS Element Parsed {"raw_longitude":763049024,"raw_latitude":98707120,"longitude_deg":76.3049024,"latitude_deg":9.870712,"altitude":0,"angle":166,"satellites":41,"speed":8,"hex_longitude":"2d7b3440","hex_latitude":"05e226b0","is_valid_coordinates":true} 
[2026-09-05 16:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882702848001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128571503863136256,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877509684490870784,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788604315000,"timestamp_ms":1788604315000,"timestamp_seconds":1788604315,"priority":1,"record_length":96,"hex_timestamp":"000001a0711ff578"} 
[2026-09-05 16:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:04: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-09-05 16:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-05 16:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882702848001,"66":13363,"207":206,"85":15104,"24":8,"16":128571503863136256,"45":8877509684490870784},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-05 16:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882702848001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:04:01] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 16:04:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128571503863136256,"km_value":128571503863136.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877509684490870784,"description":"Unknown IO ID 45"} 
[2026-09-05 16:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882702848001,"power":13363,"unknown_207":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8877509684490870784}} 
[2026-09-05 16:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":174408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769758,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:04:01] local.INFO: GPS data processed {"connection_id":174408,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:04:01] local.INFO: Acknowledgment sent {"connection_id":174408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:04:01] local.INFO: TCP Data received {"connection_id":174407,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0711fe1f0012d1a6e8007240a88002c003822..."} 
[2026-09-05 16:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0711fe1f0012d1a6e8007240a88002c003822..."} 
[2026-09-05 16:04:01] local.INFO: Processing buffer {"connection_id":174407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0711fe1f0012d1a6e8007240a88002c003822..."} 
[2026-09-05 16:04:01] local.INFO: Packet analysis {"connection_id":174407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0711f"} 
[2026-09-05 16:04:01] local.INFO: Extracted packet for processing {"connection_id":174407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0711f"} 
[2026-09-05 16:04:01] local.INFO: GPS Element Parsed {"raw_longitude":756706944,"raw_latitude":119802504,"longitude_deg":75.6706944,"latitude_deg":11.9802504,"altitude":44,"angle":56,"satellites":34,"speed":39,"hex_longitude":"2d1a6e80","hex_latitude":"07240a88","is_valid_coordinates":true} 
[2026-09-05 16:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882702336001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17961432972787712,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1901082023372548096,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:01] 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-09-05 16:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788604310000,"timestamp_ms":1788604310000,"timestamp_seconds":1788604310,"priority":1,"record_length":96,"hex_timestamp":"000001a0711fe1f0"} 
[2026-09-05 16:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-05 16:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733143552,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:01] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:01] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503873672708096,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:01] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:01] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5692813816086462720,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:01] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638989846994731,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596653774,"corrected_to":0} 
[2026-09-05 16:04:01] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:01] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3466264576,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:01] local.WARNING: Large IO value detected {"io_id":56,"raw_value":84752535965344681,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:01] local.WARNING: Large IO value detected {"io_id":152,"raw_value":13229689531283712,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:01] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-2954353505885224911,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:01] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,43,83,24,241,157,16,207,160,210,45,44,36,10,66,175,227,1,240,27,113,35,4,205,47,124,41,96,239,54,2,63,7,206,56,152,25],"length":628,"final_offset":758,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1596653774,"validated":0}]} 
[2026-09-05 16:04:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170582670801895424,"timestamp_seconds":3170582670801895.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 16:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882702336001,"66":14298,"176":206,"83":42752,"24":39,"16":17961432972787712,"45":1901082023372548096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-05 16:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882702336001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:04:01] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-05 16:04:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17961432972787712,"km_value":17961432972787.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1901082023372548096,"description":"Unknown IO ID 45"} 
[2026-09-05 16:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882702336001,"power":14298,"unknown_176":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1901082023372548096}} 
[2026-09-05 16:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":174407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:04:01] local.INFO: GPS data processed {"connection_id":174407,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:04:01] local.INFO: Acknowledgment sent {"connection_id":174407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:04:03] local.INFO: TCP Data received {"connection_id":174407,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071200900012d1a908007241b28002c003e21..."} 
[2026-09-05 16:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071200900012d1a908007241b28002c003e21..."} 
[2026-09-05 16:04:03] local.INFO: Processing buffer {"connection_id":174407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071200900012d1a908007241b28002c003e21..."} 
[2026-09-05 16:04:03] local.INFO: Packet analysis {"connection_id":174407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07120"} 
[2026-09-05 16:04:03] local.INFO: Extracted packet for processing {"connection_id":174407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07120"} 
[2026-09-05 16:04:03] local.INFO: GPS Element Parsed {"raw_longitude":756715648,"raw_latitude":119806760,"longitude_deg":75.6715648,"latitude_deg":11.980676,"altitude":44,"angle":62,"satellites":33,"speed":39,"hex_longitude":"2d1a9080","hex_latitude":"07241b28","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882703360001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17961896829255680,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904600460582094848,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04: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-09-05 16:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788604320000,"timestamp_ms":1788604320000,"timestamp_seconds":1788604320,"priority":1,"record_length":96,"hex_timestamp":"000001a071200900"} 
[2026-09-05 16:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16: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-09-05 16: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":218,"data_length":795,"current_offset":136} 
[2026-09-05 16:04: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-09-05 16: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-09-05 16:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882703360001,"66":14341,"176":206,"83":42752,"24":39,"16":17961896829255680,"45":1904600460582094848},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-05 16:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882703360001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:04:03] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-05 16:04:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17961896829255680,"km_value":17961896829255.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904600460582094848,"description":"Unknown IO ID 45"} 
[2026-09-05 16:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882703360001,"power":14341,"unknown_176":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1904600460582094848}} 
[2026-09-05 16:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":174407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:04:03] local.INFO: GPS data processed {"connection_id":174407,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:04:03] local.INFO: Acknowledgment sent {"connection_id":174407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:04:25] local.INFO: TCP Data received {"connection_id":171691,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0712164a8012c73934008528990001001452c..."} 
[2026-09-05 16:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712164a8012c73934008528990001001452c..."} 
[2026-09-05 16:04:25] local.INFO: Processing buffer {"connection_id":171691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712164a8012c73934008528990001001452c..."} 
[2026-09-05 16:04:25] local.INFO: Packet analysis {"connection_id":171691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07121"} 
[2026-09-05 16:04:25] local.INFO: Extracted packet for processing {"connection_id":171691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07121"} 
[2026-09-05 16:04:25] local.INFO: GPS Element Parsed {"raw_longitude":745771840,"raw_latitude":139626896,"longitude_deg":74.577184,"latitude_deg":13.9626896,"altitude":16,"angle":325,"satellites":44,"speed":52,"hex_longitude":"2c739340","hex_latitude":"08528990","is_valid_coordinates":true} 
[2026-09-05 16:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882726912001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1267152791273472,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8333770408703279104,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788604409000,"timestamp_ms":1788604409000,"timestamp_seconds":1788604409,"priority":1,"record_length":96,"hex_timestamp":"000001a0712164a8"} 
[2026-09-05 16:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 16:04:25] 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-09-05 16:04:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882726912001,"66":28137,"135":206,"9":56064,"24":52,"16":1267152791273472,"44":8333770408703279104},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,9,24,16,44]} 
[2026-09-05 16:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882726912001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:04:25] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-05 16:04:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1267152791273472,"km_value":1267152791273.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:04:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8333770408703279104,"description":"Unknown IO ID 44"} 
[2026-09-05 16:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882726912001,"power":28137,"unknown_135":206,"unknown_9":56064,"ignition":52,"odometer":null,"unknown_44":8333770408703279104}} 
[2026-09-05 16:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":171691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769761,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:04:26] local.INFO: GPS data processed {"connection_id":171691,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:04:26] local.INFO: Acknowledgment sent {"connection_id":171691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:04:31] local.INFO: TCP Data received {"connection_id":174409,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:04:31] local.INFO: Processing buffer {"connection_id":174409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:04:31] local.INFO: IMEI packet received {"connection_id":174409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":174409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:04:32] local.INFO: TCP Data received {"connection_id":174408,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071202840012d7b358005e22018000200b429..."} 
[2026-09-05 16:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071202840012d7b358005e22018000200b429..."} 
[2026-09-05 16:04:32] local.INFO: Processing buffer {"connection_id":174408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071202840012d7b358005e22018000200b429..."} 
[2026-09-05 16:04:32] local.INFO: Packet analysis {"connection_id":174408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07120"} 
[2026-09-05 16:04:32] local.INFO: Extracted packet for processing {"connection_id":174408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07120"} 
[2026-09-05 16:04:32] local.INFO: GPS Element Parsed {"raw_longitude":763049344,"raw_latitude":98705432,"longitude_deg":76.3049344,"latitude_deg":9.8705432,"altitude":2,"angle":180,"satellites":41,"speed":5,"hex_longitude":"2d7b3580","hex_latitude":"05e22018","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882704640001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128571589762482176,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877791159467290624,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788604328000,"timestamp_ms":1788604328000,"timestamp_seconds":1788604328,"priority":1,"record_length":96,"hex_timestamp":"000001a071202840"} 
[2026-09-05 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-09-05 16:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-05 16:04:32] 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-09-05 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-09-05 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-09-05 16:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882704640001,"66":13798,"207":206,"85":15104,"24":5,"16":128571589762482176,"45":8877791159467290624},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-05 16:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882704640001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:04:32] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 16:04:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128571589762482176,"km_value":128571589762482.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877791159467290624,"description":"Unknown IO ID 45"} 
[2026-09-05 16:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882704640001,"power":13798,"unknown_207":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8877791159467290624}} 
[2026-09-05 16:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":174408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769762,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:04:32] local.INFO: GPS data processed {"connection_id":174408,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:04:32] local.INFO: Acknowledgment sent {"connection_id":174408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:04:35] local.INFO: TCP Data received {"connection_id":174409,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:04:35] local.INFO: Processing buffer {"connection_id":174409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:04:35] local.INFO: IMEI packet received {"connection_id":174409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":174409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:04:36] local.INFO: TCP Data received {"connection_id":174409,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071210ad0012d7d198005fc8510001600c42b..."} 
[2026-09-05 16:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071210ad0012d7d198005fc8510001600c42b..."} 
[2026-09-05 16:04:36] local.INFO: Processing buffer {"connection_id":174409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071210ad0012d7d198005fc8510001600c42b..."} 
[2026-09-05 16:04:36] local.INFO: Packet analysis {"connection_id":174409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07121"} 
[2026-09-05 16:04:36] local.INFO: Extracted packet for processing {"connection_id":174409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07121"} 
[2026-09-05 16:04:36] local.INFO: GPS Element Parsed {"raw_longitude":763173248,"raw_latitude":100435216,"longitude_deg":76.3173248,"latitude_deg":10.0435216,"altitude":22,"angle":196,"satellites":43,"speed":37,"hex_longitude":"2d7d1980","hex_latitude":"05fc8510","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882720256001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399874292914847744,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017121273383743488,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788604386000,"timestamp_ms":1788604386000,"timestamp_seconds":1788604386,"priority":1,"record_length":96,"hex_timestamp":"000001a071210ad0"} 
[2026-09-05 16:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:04: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-09-05 16: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 16:04: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-09-05 16: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-09-05 16:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":174409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":174409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":174409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882720256001,"66":27767,"144":206,"87":10752,"24":37,"16":399874292914847744,"45":9017121273383743488},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-09-05 16:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882720256001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:04:36] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-05 16:04:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 16:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399874292914847744,"km_value":399874292914847.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017121273383743488,"description":"Unknown IO ID 45"} 
[2026-09-05 16:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882720256001,"power":27767,"unknown_144":206,"unknown_87":10752,"ignition":37,"odometer":null,"unknown_45":9017121273383743488}} 
[2026-09-05 16:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":174409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:04:36] local.INFO: GPS data processed {"connection_id":174409,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:04:36] local.INFO: Acknowledgment sent {"connection_id":174409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:04:47] local.INFO: TCP Data received {"connection_id":171987,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171987,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:04:47] local.INFO: Processing buffer {"connection_id":171987,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:04:47] local.INFO: IMEI packet received {"connection_id":171987,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":171987,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:04:50] local.INFO: TCP Data received {"connection_id":171987,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171987,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:04:50] local.INFO: Processing buffer {"connection_id":171987,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:04:50] local.INFO: IMEI packet received {"connection_id":171987,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":171987,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:04:50] local.INFO: TCP Data received {"connection_id":171986,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:04:50] local.INFO: Processing buffer {"connection_id":171986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:04:50] local.INFO: IMEI packet received {"connection_id":171986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":171986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:04:50] local.INFO: TCP Data received {"connection_id":171986,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:04:50] local.INFO: Processing buffer {"connection_id":171986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:04:50] local.INFO: IMEI packet received {"connection_id":171986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":171986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:04:52] local.INFO: TCP Data received {"connection_id":171987,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171987,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:04:52] local.INFO: Processing buffer {"connection_id":171987,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:04:52] local.INFO: IMEI packet received {"connection_id":171987,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":171987,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:04:53] local.INFO: TCP Data received {"connection_id":171987,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071218000012c737d800852a7b0001001442c..."} 
[2026-09-05 16:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071218000012c737d800852a7b0001001442c..."} 
[2026-09-05 16:04:53] local.INFO: Processing buffer {"connection_id":171987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071218000012c737d800852a7b0001001442c..."} 
[2026-09-05 16:04:53] local.INFO: Packet analysis {"connection_id":171987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07121"} 
[2026-09-05 16:04:53] local.INFO: Extracted packet for processing {"connection_id":171987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07121"} 
[2026-09-05 16:04:53] local.INFO: GPS Element Parsed {"raw_longitude":745766272,"raw_latitude":139634608,"longitude_deg":74.5766272,"latitude_deg":13.9634608,"altitude":16,"angle":324,"satellites":44,"speed":53,"hex_longitude":"2c737d80","hex_latitude":"0852a7b0","is_valid_coordinates":true} 
[2026-09-05 16:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882728704001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1267608057806848,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8328070540426842112,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788604416000,"timestamp_ms":1788604416000,"timestamp_seconds":1788604416,"priority":1,"record_length":96,"hex_timestamp":"000001a071218000"} 
[2026-09-05 16:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 16:04:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:04:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171987,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171987,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882728704001,"66":27952,"135":206,"9":56064,"24":53,"16":1267608057806848,"44":8328070540426842112},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,9,24,16,44]} 
[2026-09-05 16:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882728704001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:04:53] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-05 16:04:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1267608057806848,"km_value":1267608057806.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:04:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":8328070540426842112,"description":"Unknown IO ID 44"} 
[2026-09-05 16:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882728704001,"power":27952,"unknown_135":206,"unknown_9":56064,"ignition":53,"odometer":null,"unknown_44":8328070540426842112}} 
[2026-09-05 16:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":171987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769764,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:04:53] local.INFO: GPS data processed {"connection_id":171987,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:04:53] local.INFO: Acknowledgment sent {"connection_id":171987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:04:54] local.INFO: TCP Data received {"connection_id":171986,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:04:54] local.INFO: Processing buffer {"connection_id":171986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:04:54] local.INFO: IMEI packet received {"connection_id":171986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":171986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:04:55] local.INFO: TCP Data received {"connection_id":171693,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171693,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:04:55] local.INFO: Processing buffer {"connection_id":171693,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:04:55] local.INFO: IMEI packet received {"connection_id":171693,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 16:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":171693,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:04:55] local.INFO: TCP Data received {"connection_id":171986,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07121a328012d1b4d000724b4c00028002d24..."} 
[2026-09-05 16:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07121a328012d1b4d000724b4c00028002d24..."} 
[2026-09-05 16:04:55] local.INFO: Processing buffer {"connection_id":171986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07121a328012d1b4d000724b4c00028002d24..."} 
[2026-09-05 16:04:55] local.INFO: Packet analysis {"connection_id":171986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07121"} 
[2026-09-05 16:04:55] local.INFO: Extracted packet for processing {"connection_id":171986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07121"} 
[2026-09-05 16:04:55] local.INFO: GPS Element Parsed {"raw_longitude":756763904,"raw_latitude":119846080,"longitude_deg":75.6763904,"latitude_deg":11.984608,"altitude":40,"angle":45,"satellites":36,"speed":22,"hex_longitude":"2d1b4d00","hex_latitude":"0724b4c0","is_valid_coordinates":true} 
[2026-09-05 16:04: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-09-05 16:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882728448001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961880618352936960,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17964937666101248,"note":"Value kept but may cause issues"} 
[2026-09-05 16:04:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 16:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788604425000,"timestamp_ms":1788604425000,"timestamp_seconds":1788604425,"priority":1,"record_length":96,"hex_timestamp":"000001a07121a328"} 
[2026-09-05 16:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-05 16:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:04: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-09-05 16:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882728448001,"66":14374,"45":1961880618352936960,"83":41984,"24":22,"16":17964937666101248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-05 16:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882728448001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961880618352936960,"description":"Unknown IO ID 45"} 
[2026-09-05 16:04:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 16:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17964937666101248,"km_value":17964937666101.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:04:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457882728448001,"power":14374,"unknown_45":1961880618352936960,"unknown_83":41984,"ignition":22,"odometer":null}} 
[2026-09-05 16:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":171986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:04:55] local.INFO: GPS data processed {"connection_id":171986,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:04:55] local.INFO: Acknowledgment sent {"connection_id":171986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:05:00] local.INFO: TCP Data received {"connection_id":171693,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171693,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:05:00] local.INFO: Processing buffer {"connection_id":171693,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:05:00] local.INFO: IMEI packet received {"connection_id":171693,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":171693,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:05:00] local.INFO: TCP Data received {"connection_id":171986,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07121b2c8012d1b52800724bb400028002224..."} 
[2026-09-05 16:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07121b2c8012d1b52800724bb400028002224..."} 
[2026-09-05 16:05:00] local.INFO: Processing buffer {"connection_id":171986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07121b2c8012d1b52800724bb400028002224..."} 
[2026-09-05 16:05:00] local.INFO: Packet analysis {"connection_id":171986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07121"} 
[2026-09-05 16:05:00] local.INFO: Extracted packet for processing {"connection_id":171986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07121"} 
[2026-09-05 16:05:00] local.INFO: GPS Element Parsed {"raw_longitude":756765312,"raw_latitude":119847744,"longitude_deg":75.6765312,"latitude_deg":11.9847744,"altitude":40,"angle":34,"satellites":36,"speed":16,"hex_longitude":"2d1b5280","hex_latitude":"0724bb40","is_valid_coordinates":true} 
[2026-09-05 16:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882732800001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17965045040283648,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967228642911371264,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788604429000,"timestamp_ms":1788604429000,"timestamp_seconds":1788604429,"priority":1,"record_length":96,"hex_timestamp":"000001a07121b2c8"} 
[2026-09-05 16:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:05:00] 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-09-05 16:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 16:05:00] 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-09-05 16:05:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882732800001,"66":14080,"44":206,"83":41984,"24":16,"16":17965045040283648,"45":1967228642911371264},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-09-05 16:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882732800001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:05:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-05 16:05:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 16:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17965045040283648,"km_value":17965045040283.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967228642911371264,"description":"Unknown IO ID 45"} 
[2026-09-05 16:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882732800001,"power":14080,"unknown_44":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1967228642911371264}} 
[2026-09-05 16:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":171986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:05:00] local.INFO: GPS data processed {"connection_id":171986,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:05:00] local.INFO: Acknowledgment sent {"connection_id":171986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:05:01] local.INFO: TCP Data received {"connection_id":171693,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071226e48012d7b5bc005e0f1f0000300a91b..."} 
[2026-09-05 16:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071226e48012d7b5bc005e0f1f0000300a91b..."} 
[2026-09-05 16:05:01] local.INFO: Processing buffer {"connection_id":171693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071226e48012d7b5bc005e0f1f0000300a91b..."} 
[2026-09-05 16:05:01] local.INFO: Packet analysis {"connection_id":171693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07122"} 
[2026-09-05 16:05:01] local.INFO: Extracted packet for processing {"connection_id":171693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07122"} 
[2026-09-05 16:05:01] local.INFO: GPS Element Parsed {"raw_longitude":763059136,"raw_latitude":98628080,"longitude_deg":76.3059136,"latitude_deg":9.862808,"altitude":3,"angle":169,"satellites":27,"speed":55,"hex_longitude":"2d7b5bc0","hex_latitude":"05e0f1f0","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882744320001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887290939913392128,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128575386513571840,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:01] 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-09-05 16:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788604477000,"timestamp_ms":1788604477000,"timestamp_seconds":1788604477,"priority":1,"record_length":96,"hex_timestamp":"000001a071226e48"} 
[2026-09-05 16:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:05: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-09-05 16:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 16:05:01] 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-09-05 16:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882744320001,"66":13765,"45":8887290939913392128,"85":15104,"24":55,"16":128575386513571840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-05 16:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882744320001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887290939913392128,"description":"Unknown IO ID 45"} 
[2026-09-05 16:05:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128575386513571840,"km_value":128575386513571.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:05:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457882744320001,"power":13765,"unknown_45":8887290939913392128,"unknown_85":15104,"ignition":55,"odometer":null}} 
[2026-09-05 16:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":171693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769767,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:05:01] local.INFO: GPS data processed {"connection_id":171693,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:05:01] local.INFO: Acknowledgment sent {"connection_id":171693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:05:01] local.INFO: TCP Data received {"connection_id":171694,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:05:01] local.INFO: Processing buffer {"connection_id":171694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:05:01] local.INFO: IMEI packet received {"connection_id":171694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":171694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:05:06] local.INFO: TCP Data received {"connection_id":171694,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:05:06] local.INFO: Processing buffer {"connection_id":171694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:05:06] local.INFO: IMEI packet received {"connection_id":171694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":171694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:05:06] local.INFO: TCP Data received {"connection_id":171694,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071214568012d7d0d4005fc6320001600c72a..."} 
[2026-09-05 16:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071214568012d7d0d4005fc6320001600c72a..."} 
[2026-09-05 16:05:06] local.INFO: Processing buffer {"connection_id":171694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071214568012d7d0d4005fc6320001600c72a..."} 
[2026-09-05 16:05:06] local.INFO: Packet analysis {"connection_id":171694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07121"} 
[2026-09-05 16:05:06] local.INFO: Extracted packet for processing {"connection_id":171694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07121"} 
[2026-09-05 16:05:06] local.INFO: GPS Element Parsed {"raw_longitude":763170112,"raw_latitude":100426528,"longitude_deg":76.3170112,"latitude_deg":10.0426528,"altitude":22,"angle":199,"satellites":42,"speed":31,"hex_longitude":"2d7d0d40","hex_latitude":"05fc6320","is_valid_coordinates":true} 
[2026-09-05 16:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882722816001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399874739591446528,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014376892358529024,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788604401000,"timestamp_ms":1788604401000,"timestamp_seconds":1788604401,"priority":1,"record_length":96,"hex_timestamp":"000001a071214568"} 
[2026-09-05 16:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 16:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882722816001,"66":27843,"144":206,"87":10752,"24":31,"16":399874739591446528,"45":9014376892358529024},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-09-05 16:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882722816001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:05:06] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-05 16:05:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 16:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399874739591446528,"km_value":399874739591446.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014376892358529024,"description":"Unknown IO ID 45"} 
[2026-09-05 16:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882722816001,"power":27843,"unknown_144":206,"unknown_87":10752,"ignition":31,"odometer":null,"unknown_45":9014376892358529024}} 
[2026-09-05 16:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":171694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:05:06] local.INFO: GPS data processed {"connection_id":171694,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:05:06] local.INFO: Acknowledgment sent {"connection_id":171694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:05:20] local.INFO: TCP Data received {"connection_id":171988,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171988,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:05:20] local.INFO: Processing buffer {"connection_id":171988,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:05:20] local.INFO: IMEI packet received {"connection_id":171988,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 16:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":171988,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:05:24] local.INFO: TCP Data received {"connection_id":171987,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071219b58012c7367800852c5e0001001452d..."} 
[2026-09-05 16:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071219b58012c7367800852c5e0001001452d..."} 
[2026-09-05 16:05:24] local.INFO: Processing buffer {"connection_id":171987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071219b58012c7367800852c5e0001001452d..."} 
[2026-09-05 16:05:24] local.INFO: Packet analysis {"connection_id":171987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07121"} 
[2026-09-05 16:05:24] local.INFO: Extracted packet for processing {"connection_id":171987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07121"} 
[2026-09-05 16:05:24] local.INFO: GPS Element Parsed {"raw_longitude":745760640,"raw_latitude":139642336,"longitude_deg":74.576064,"latitude_deg":13.9642336,"altitude":16,"angle":325,"satellites":45,"speed":54,"hex_longitude":"2c736780","hex_latitude":"0852c5e0","is_valid_coordinates":true} 
[2026-09-05 16:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882730496001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1268067619307520,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8321948459685359616,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788604423000,"timestamp_ms":1788604423000,"timestamp_seconds":1788604423,"priority":1,"record_length":96,"hex_timestamp":"000001a071219b58"} 
[2026-09-05 16:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-05 16:05:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:05:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171987,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171987,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882730496001,"66":27952,"135":206,"9":56064,"24":54,"16":1268067619307520,"44":8321948459685359616},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,9,24,16,44]} 
[2026-09-05 16:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882730496001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:05:24] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-05 16:05:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1268067619307520,"km_value":1268067619307.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:05:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":8321948459685359616,"description":"Unknown IO ID 44"} 
[2026-09-05 16:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882730496001,"power":27952,"unknown_135":206,"unknown_9":56064,"ignition":54,"odometer":null,"unknown_44":8321948459685359616}} 
[2026-09-05 16:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":171987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769769,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:05:25] local.INFO: GPS data processed {"connection_id":171987,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:05:25] local.INFO: Acknowledgment sent {"connection_id":171987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:05:25] local.INFO: TCP Data received {"connection_id":171988,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171988,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:05:25] local.INFO: Processing buffer {"connection_id":171988,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:05:25] local.INFO: IMEI packet received {"connection_id":171988,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 16:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":171988,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:05:26] local.INFO: TCP Data received {"connection_id":171988,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a07122d3d8012d0cba00070484b0001d00a21b..."} 
[2026-09-05 16:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07122d3d8012d0cba00070484b0001d00a21b..."} 
[2026-09-05 16:05:26] local.INFO: Processing buffer {"connection_id":171988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07122d3d8012d0cba00070484b0001d00a21b..."} 
[2026-09-05 16:05:26] local.INFO: Packet analysis {"connection_id":171988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07122"} 
[2026-09-05 16:05:26] local.INFO: Extracted packet for processing {"connection_id":171988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07122"} 
[2026-09-05 16:05:26] local.INFO: GPS Element Parsed {"raw_longitude":755808768,"raw_latitude":117736624,"longitude_deg":75.5808768,"latitude_deg":11.7736624,"altitude":29,"angle":162,"satellites":27,"speed":43,"hex_longitude":"2d0cba00","hex_latitude":"070484b0","is_valid_coordinates":true} 
[2026-09-05 16:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882752256001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30376761791348736,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916060341845932032,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788604503000,"timestamp_ms":1788604503000,"timestamp_seconds":1788604503,"priority":1,"record_length":96,"hex_timestamp":"000001a07122d3d8"} 
[2026-09-05 16:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-05 16:05:26] 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-09-05 16:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171988,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 16:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171988,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 16:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 16:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 16:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882752256001,"66":13656,"96":206,"94":10240,"24":43,"16":30376761791348736,"45":916060341845932032},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-05 16:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 16:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 16:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882752256001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:05:26] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-05 16:05:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-05 16:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30376761791348736,"km_value":30376761791348.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":916060341845932032,"description":"Unknown IO ID 45"} 
[2026-09-05 16:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882752256001,"power":13656,"unknown_96":206,"unknown_94":10240,"ignition":43,"odometer":null,"unknown_45":916060341845932032}} 
[2026-09-05 16:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":171988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769770,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:05:26] local.INFO: GPS data processed {"connection_id":171988,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:05:26] local.INFO: Acknowledgment sent {"connection_id":171988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:05:32] local.INFO: TCP Data received {"connection_id":171693,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0712289a0012d7b62c005e0ca80000200aa1b..."} 
[2026-09-05 16:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712289a0012d7b62c005e0ca80000200aa1b..."} 
[2026-09-05 16:05:32] local.INFO: Processing buffer {"connection_id":171693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712289a0012d7b62c005e0ca80000200aa1b..."} 
[2026-09-05 16:05:32] local.INFO: Packet analysis {"connection_id":171693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07122"} 
[2026-09-05 16:05:32] local.INFO: Extracted packet for processing {"connection_id":171693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07122"} 
[2026-09-05 16:05:32] local.INFO: GPS Element Parsed {"raw_longitude":763060928,"raw_latitude":98617984,"longitude_deg":76.3060928,"latitude_deg":9.8617984,"altitude":2,"angle":170,"satellites":27,"speed":57,"hex_longitude":"2d7b62c0","hex_latitude":"05e0ca80","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882746112001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128575880434810880,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888909421027127296,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788604484000,"timestamp_ms":1788604484000,"timestamp_seconds":1788604484,"priority":1,"record_length":96,"hex_timestamp":"000001a0712289a0"} 
[2026-09-05 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-09-05 16:05: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-09-05 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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-05 16:05:32] 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-09-05 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-09-05 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-09-05 16:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882746112001,"66":13602,"217":206,"85":15104,"24":57,"16":128575880434810880,"45":8888909421027127296},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-09-05 16:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882746112001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:05:32] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-05 16:05:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128575880434810880,"km_value":128575880434810.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888909421027127296,"description":"Unknown IO ID 45"} 
[2026-09-05 16:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882746112001,"power":13602,"unknown_217":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":8888909421027127296}} 
[2026-09-05 16:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":171693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769771,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:05:32] local.INFO: GPS data processed {"connection_id":171693,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:05:32] local.INFO: Acknowledgment sent {"connection_id":171693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:05:38] local.INFO: TCP Data received {"connection_id":171694,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071216890012d7d030005fc4088001300c224..."} 
[2026-09-05 16:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071216890012d7d030005fc4088001300c224..."} 
[2026-09-05 16:05:38] local.INFO: Processing buffer {"connection_id":171694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071216890012d7d030005fc4088001300c224..."} 
[2026-09-05 16:05:38] local.INFO: Packet analysis {"connection_id":171694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07121"} 
[2026-09-05 16:05:38] local.INFO: Extracted packet for processing {"connection_id":171694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07121"} 
[2026-09-05 16:05:38] local.INFO: GPS Element Parsed {"raw_longitude":763167488,"raw_latitude":100417672,"longitude_deg":76.3167488,"latitude_deg":10.0417672,"altitude":19,"angle":194,"satellites":36,"speed":43,"hex_longitude":"2d7d0300","hex_latitude":"05fc4088","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882726656001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399875186268045312,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010928823891599360,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788604410000,"timestamp_ms":1788604410000,"timestamp_seconds":1788604410,"priority":1,"record_length":96,"hex_timestamp":"000001a071216890"} 
[2026-09-05 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-09-05 16:05: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-09-05 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 16:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":171694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":171694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":171694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882726656001,"66":27908,"144":206,"87":10752,"24":43,"16":399875186268045312,"45":9010928823891599360},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-09-05 16:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882726656001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:05:38] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-05 16:05:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 16:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399875186268045312,"km_value":399875186268045.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010928823891599360,"description":"Unknown IO ID 45"} 
[2026-09-05 16:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882726656001,"power":27908,"unknown_144":206,"unknown_87":10752,"ignition":43,"odometer":null,"unknown_45":9010928823891599360}} 
[2026-09-05 16:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":171694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:05:38] local.INFO: GPS data processed {"connection_id":171694,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:05:38] local.INFO: Acknowledgment sent {"connection_id":171694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:05:49] local.INFO: TCP Data received {"connection_id":174411,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:05:49] local.INFO: Processing buffer {"connection_id":174411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:05:49] local.INFO: IMEI packet received {"connection_id":174411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":174411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:05:50] local.INFO: TCP Data received {"connection_id":174411,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:05:50] local.INFO: Processing buffer {"connection_id":174411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:05:50] local.INFO: IMEI packet received {"connection_id":174411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":174411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:05:52] local.INFO: TCP Data received {"connection_id":174410,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:05:52] local.INFO: Processing buffer {"connection_id":174410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:05:52] local.INFO: IMEI packet received {"connection_id":174410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":174410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:05:54] local.INFO: TCP Data received {"connection_id":171695,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:05:54] local.INFO: Processing buffer {"connection_id":171695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:05:54] local.INFO: IMEI packet received {"connection_id":171695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 16:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":171695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:05:55] local.INFO: TCP Data received {"connection_id":174411,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:05:55] local.INFO: Processing buffer {"connection_id":174411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:05:55] local.INFO: IMEI packet received {"connection_id":174411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":174411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:05:56] local.INFO: TCP Data received {"connection_id":174411,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07121c650012d1b55800724c0e00028001725..."} 
[2026-09-05 16:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07121c650012d1b55800724c0e00028001725..."} 
[2026-09-05 16:05:56] local.INFO: Processing buffer {"connection_id":174411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07121c650012d1b55800724c0e00028001725..."} 
[2026-09-05 16:05:56] local.INFO: Packet analysis {"connection_id":174411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07121"} 
[2026-09-05 16:05:56] local.INFO: Extracted packet for processing {"connection_id":174411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07121"} 
[2026-09-05 16:05:56] local.INFO: GPS Element Parsed {"raw_longitude":756766080,"raw_latitude":119849184,"longitude_deg":75.676608,"latitude_deg":11.9849184,"altitude":40,"angle":23,"satellites":37,"speed":9,"hex_longitude":"2d1b5580","hex_latitude":"0724c0e0","is_valid_coordinates":true} 
[2026-09-05 16:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882733824001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17965122349694976,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968776755283705856,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788604434000,"timestamp_ms":1788604434000,"timestamp_seconds":1788604434,"priority":1,"record_length":96,"hex_timestamp":"000001a07121c650"} 
[2026-09-05 16:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:05:56] 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-09-05 16:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-05 16:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446321152,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:56] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:56] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2245001251,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535639758,"corrected_to":0} 
[2026-09-05 16:05:56] local.WARNING: Large IO value detected {"io_id":192,"raw_value":2550213914,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:56] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":2147951724,"corrected_to":0} 
[2026-09-05 16:05:56] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3519086592,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:56] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,44,83,24,241,157,16,211,160,163,45,180,40,36,10,66,96,166,34,210,14,128,1,240,38,227,113,4,205,22,192,246,8,239,56,136,2,63,7,46],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1535639758,"validated":0},{"io_id":246,"original":2147951724,"validated":0}]} 
[2026-09-05 16:05:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882341299532333056,"timestamp_seconds":2882341299532333.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 16:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882733824001,"66":14374,"44":206,"83":41984,"24":9,"16":17965122349694976,"45":1968776755283705856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-09-05 16:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882733824001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:05:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-05 16:05:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 16:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17965122349694976,"km_value":17965122349694.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968776755283705856,"description":"Unknown IO ID 45"} 
[2026-09-05 16:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882733824001,"power":14374,"unknown_44":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1968776755283705856}} 
[2026-09-05 16:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":174411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:05:56] local.INFO: GPS data processed {"connection_id":174411,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:05:56] local.INFO: Acknowledgment sent {"connection_id":174411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:05:56] local.INFO: TCP Data received {"connection_id":173094,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:05:56] local.INFO: Processing buffer {"connection_id":173094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:05:56] local.INFO: IMEI packet received {"connection_id":173094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":173094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:05:56] local.INFO: TCP Data received {"connection_id":174410,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:05:56] local.INFO: Processing buffer {"connection_id":174410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:05:56] local.INFO: IMEI packet received {"connection_id":174410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":174410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:05:58] local.INFO: TCP Data received {"connection_id":174410,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07122a4f8012c72e30008541a70001101442d..."} 
[2026-09-05 16:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07122a4f8012c72e30008541a70001101442d..."} 
[2026-09-05 16:05:58] local.INFO: Processing buffer {"connection_id":174410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07122a4f8012c72e30008541a70001101442d..."} 
[2026-09-05 16:05:58] local.INFO: Packet analysis {"connection_id":174410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07122"} 
[2026-09-05 16:05:58] local.INFO: Extracted packet for processing {"connection_id":174410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07122"} 
[2026-09-05 16:05:58] local.INFO: GPS Element Parsed {"raw_longitude":745726720,"raw_latitude":139729520,"longitude_deg":74.572672,"latitude_deg":13.972952,"altitude":17,"angle":324,"satellites":45,"speed":45,"hex_longitude":"2c72e300","hex_latitude":"08541a70","is_valid_coordinates":true} 
[2026-09-05 16:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882747904001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1272650349412352,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8284512287805116416,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788604491000,"timestamp_ms":1788604491000,"timestamp_seconds":1788604491,"priority":1,"record_length":96,"hex_timestamp":"000001a07122a4f8"} 
[2026-09-05 16:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 16:05:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882747904001,"66":28006,"115":206,"9":56064,"24":45,"16":1272650349412352,"44":8284512287805116416},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,9,24,16,44]} 
[2026-09-05 16:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882747904001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:05:58] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-05 16:05:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1272650349412352,"km_value":1272650349412.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:05:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":8284512287805116416,"description":"Unknown IO ID 44"} 
[2026-09-05 16:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882747904001,"power":28006,"unknown_115":206,"unknown_9":56064,"ignition":45,"odometer":null,"unknown_44":8284512287805116416}} 
[2026-09-05 16:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":174410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769774,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:05:58] local.INFO: GPS data processed {"connection_id":174410,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:05:58] local.INFO: Acknowledgment sent {"connection_id":174410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:05:59] local.INFO: TCP Data received {"connection_id":174410,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07122c820012c72cc8008543a30001201452c..."} 
[2026-09-05 16:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07122c820012c72cc8008543a30001201452c..."} 
[2026-09-05 16:05:59] local.INFO: Processing buffer {"connection_id":174410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07122c820012c72cc8008543a30001201452c..."} 
[2026-09-05 16:05:59] local.INFO: Packet analysis {"connection_id":174410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07122"} 
[2026-09-05 16:05:59] local.INFO: Extracted packet for processing {"connection_id":174410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07122"} 
[2026-09-05 16:05:59] local.INFO: GPS Element Parsed {"raw_longitude":745720960,"raw_latitude":139737648,"longitude_deg":74.572096,"latitude_deg":13.9737648,"altitude":18,"angle":325,"satellites":44,"speed":42,"hex_longitude":"2c72cc80","hex_latitude":"08543a30","is_valid_coordinates":true} 
[2026-09-05 16:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882749696001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1273127090782208,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8278460575807860736,"note":"Value kept but may cause issues"} 
[2026-09-05 16:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788604500000,"timestamp_ms":1788604500000,"timestamp_seconds":1788604500,"priority":1,"record_length":96,"hex_timestamp":"000001a07122c820"} 
[2026-09-05 16:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 16:05:59] 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-09-05 16:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882749696001,"66":27615,"115":206,"9":56064,"24":42,"16":1273127090782208,"44":8278460575807860736},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,9,24,16,44]} 
[2026-09-05 16:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882749696001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:05:59] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-05 16:05:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1273127090782208,"km_value":1273127090782.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:05:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":8278460575807860736,"description":"Unknown IO ID 44"} 
[2026-09-05 16:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882749696001,"power":27615,"unknown_115":206,"unknown_9":56064,"ignition":42,"odometer":null,"unknown_44":8278460575807860736}} 
[2026-09-05 16:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":174410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769775,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:05:59] local.INFO: GPS data processed {"connection_id":174410,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:05:59] local.INFO: Acknowledgment sent {"connection_id":174410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:06:00] local.INFO: TCP Data received {"connection_id":171695,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:06:00] local.INFO: Processing buffer {"connection_id":171695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:06:00] local.INFO: IMEI packet received {"connection_id":171695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":171695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:06:00] local.INFO: TCP Data received {"connection_id":171989,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171989,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:06:00] local.INFO: Processing buffer {"connection_id":171989,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:06:00] local.INFO: IMEI packet received {"connection_id":171989,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 16:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":171989,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:06:01] local.INFO: TCP Data received {"connection_id":171695,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07122a4f8012d7b68c005e0a5c0000200ab21..."} 
[2026-09-05 16:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07122a4f8012d7b68c005e0a5c0000200ab21..."} 
[2026-09-05 16:06:01] local.INFO: Processing buffer {"connection_id":171695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07122a4f8012d7b68c005e0a5c0000200ab21..."} 
[2026-09-05 16:06:01] local.INFO: Packet analysis {"connection_id":171695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07122"} 
[2026-09-05 16:06:01] local.INFO: Extracted packet for processing {"connection_id":171695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07122"} 
[2026-09-05 16:06:01] local.INFO: GPS Element Parsed {"raw_longitude":763062464,"raw_latitude":98608576,"longitude_deg":76.3062464,"latitude_deg":9.8608576,"altitude":2,"angle":171,"satellites":33,"speed":55,"hex_longitude":"2d7b68c0","hex_latitude":"05e0a5c0","is_valid_coordinates":true} 
[2026-09-05 16:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882747904001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128576344291278848,"note":"Value kept but may cause issues"} 
[2026-09-05 16:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890879745861517312,"note":"Value kept but may cause issues"} 
[2026-09-05 16:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788604491000,"timestamp_ms":1788604491000,"timestamp_seconds":1788604491,"priority":1,"record_length":96,"hex_timestamp":"000001a07122a4f8"} 
[2026-09-05 16:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-05 16:06:01] 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-09-05 16:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882747904001,"66":13722,"217":206,"85":15104,"24":55,"16":128576344291278848,"45":8890879745861517312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-09-05 16:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882747904001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:06:01] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-05 16:06:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128576344291278848,"km_value":128576344291278.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890879745861517312,"description":"Unknown IO ID 45"} 
[2026-09-05 16:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882747904001,"power":13722,"unknown_217":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":8890879745861517312}} 
[2026-09-05 16:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":171695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769776,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:06:01] local.INFO: GPS data processed {"connection_id":171695,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:06:01] local.INFO: Acknowledgment sent {"connection_id":171695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:06:01] local.INFO: TCP Data received {"connection_id":173094,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:06:01] local.INFO: Processing buffer {"connection_id":173094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:06:01] local.INFO: IMEI packet received {"connection_id":173094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":173094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:06:01] local.INFO: TCP Data received {"connection_id":171989,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171989,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:06:01] local.INFO: Processing buffer {"connection_id":171989,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:06:01] local.INFO: IMEI packet received {"connection_id":171989,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 16:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":171989,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:06:02] local.INFO: TCP Data received {"connection_id":171989,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a071237400012d0c73400703fc78001500e91a..."} 
[2026-09-05 16:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071237400012d0c73400703fc78001500e91a..."} 
[2026-09-05 16:06:02] local.INFO: Processing buffer {"connection_id":171989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071237400012d0c73400703fc78001500e91a..."} 
[2026-09-05 16:06:02] local.INFO: Packet analysis {"connection_id":171989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07123"} 
[2026-09-05 16:06:02] local.INFO: Extracted packet for processing {"connection_id":171989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07123"} 
[2026-09-05 16:06:02] local.INFO: GPS Element Parsed {"raw_longitude":755790656,"raw_latitude":117701752,"longitude_deg":75.5790656,"latitude_deg":11.7701752,"altitude":21,"angle":233,"satellites":26,"speed":38,"hex_longitude":"2d0c7340","hex_latitude":"0703fc78","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882760960001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30378776131010560,"note":"Value kept but may cause issues"} 
[2026-09-05 16:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905434661466992640,"note":"Value kept but may cause issues"} 
[2026-09-05 16:06:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 16:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788604544000,"timestamp_ms":1788604544000,"timestamp_seconds":1788604544,"priority":1,"record_length":96,"hex_timestamp":"000001a071237400"} 
[2026-09-05 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-09-05 16:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 16:06: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-09-05 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-09-05 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-09-05 16:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171989,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 16:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171989,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 16:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 16:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 16:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882760960001,"66":14439,"16":30378776131010560,"94":11008,"24":38,"45":905434661466992640},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-05 16:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 16:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 16:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882760960001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30378776131010560,"km_value":30378776131010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:06:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 16:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":905434661466992640,"description":"Unknown IO ID 45"} 
[2026-09-05 16:06:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457882760960001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":38,"unknown_45":905434661466992640}} 
[2026-09-05 16:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":171989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769777,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:06:02] local.INFO: GPS data processed {"connection_id":171989,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:06:02] local.INFO: Acknowledgment sent {"connection_id":171989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:06:02] local.INFO: TCP Data received {"connection_id":173094,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0712187d0012d7cf94005fc1f28001200c52c..."} 
[2026-09-05 16:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712187d0012d7cf94005fc1f28001200c52c..."} 
[2026-09-05 16:06:02] local.INFO: Processing buffer {"connection_id":173094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712187d0012d7cf94005fc1f28001200c52c..."} 
[2026-09-05 16:06:02] local.INFO: Packet analysis {"connection_id":173094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07121"} 
[2026-09-05 16:06:02] local.INFO: Extracted packet for processing {"connection_id":173094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07121"} 
[2026-09-05 16:06:02] local.INFO: GPS Element Parsed {"raw_longitude":763164992,"raw_latitude":100409128,"longitude_deg":76.3164992,"latitude_deg":10.0409128,"altitude":18,"angle":197,"satellites":44,"speed":47,"hex_longitude":"2d7cf940","hex_latitude":"05fc1f28","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882728960001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399875620059742208,"note":"Value kept but may cause issues"} 
[2026-09-05 16:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008043705378048000,"note":"Value kept but may cause issues"} 
[2026-09-05 16:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788604418000,"timestamp_ms":1788604418000,"timestamp_seconds":1788604418,"priority":1,"record_length":96,"hex_timestamp":"000001a0712187d0"} 
[2026-09-05 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-09-05 16:06: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-09-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 16:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882728960001,"66":27843,"144":206,"87":10752,"24":47,"16":399875620059742208,"45":9008043705378048000},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-09-05 16:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882728960001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:06:02] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-05 16:06:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 16:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399875620059742208,"km_value":399875620059742.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008043705378048000,"description":"Unknown IO ID 45"} 
[2026-09-05 16:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882728960001,"power":27843,"unknown_144":206,"unknown_87":10752,"ignition":47,"odometer":null,"unknown_45":9008043705378048000}} 
[2026-09-05 16:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":173094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:06:02] local.INFO: GPS data processed {"connection_id":173094,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:06:02] local.INFO: Acknowledgment sent {"connection_id":173094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:06:04] local.INFO: TCP Data received {"connection_id":171989,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a071239ef8012d0c55400703e4d0001000e41b..."} 
[2026-09-05 16:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071239ef8012d0c55400703e4d0001000e41b..."} 
[2026-09-05 16:06:04] local.INFO: Processing buffer {"connection_id":171989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071239ef8012d0c55400703e4d0001000e41b..."} 
[2026-09-05 16:06:04] local.INFO: Packet analysis {"connection_id":171989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07123"} 
[2026-09-05 16:06:04] local.INFO: Extracted packet for processing {"connection_id":171989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07123"} 
[2026-09-05 16:06:04] local.INFO: GPS Element Parsed {"raw_longitude":755782976,"raw_latitude":117695696,"longitude_deg":75.5782976,"latitude_deg":11.7695696,"altitude":16,"angle":228,"satellites":27,"speed":32,"hex_longitude":"2d0c5540","hex_latitude":"0703e4d0","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882763264001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30379239987478528,"note":"Value kept but may cause issues"} 
[2026-09-05 16:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897131149652686848,"note":"Value kept but may cause issues"} 
[2026-09-05 16:06:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 16:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788604555000,"timestamp_ms":1788604555000,"timestamp_seconds":1788604555,"priority":1,"record_length":96,"hex_timestamp":"000001a071239ef8"} 
[2026-09-05 16:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:06: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-09-05 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-05 16:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171989,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 16:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171989,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 16:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 16:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 16:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882763264001,"66":14439,"16":30379239987478528,"94":11008,"24":32,"45":897131149652686848},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-05 16:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 16:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 16:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882763264001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30379239987478528,"km_value":30379239987478.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:06:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 16:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":897131149652686848,"description":"Unknown IO ID 45"} 
[2026-09-05 16:06:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457882763264001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":32,"unknown_45":897131149652686848}} 
[2026-09-05 16:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":171989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769779,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:06:04] local.INFO: GPS data processed {"connection_id":171989,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:06:04] local.INFO: Acknowledgment sent {"connection_id":171989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:06:29] local.INFO: TCP Data received {"connection_id":174411,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07121ddc0012d1b57000724c9580028000322..."} 
[2026-09-05 16:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07121ddc0012d1b57000724c9580028000322..."} 
[2026-09-05 16:06:29] local.INFO: Processing buffer {"connection_id":174411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07121ddc0012d1b57000724c9580028000322..."} 
[2026-09-05 16:06:29] local.INFO: Packet analysis {"connection_id":174411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07121"} 
[2026-09-05 16:06:29] local.INFO: Extracted packet for processing {"connection_id":174411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07121"} 
[2026-09-05 16:06:29] local.INFO: GPS Element Parsed {"raw_longitude":756766464,"raw_latitude":119851352,"longitude_deg":75.6766464,"latitude_deg":11.9851352,"altitude":40,"angle":3,"satellites":34,"speed":19,"hex_longitude":"2d1b5700","hex_latitude":"0724c958","is_valid_coordinates":true} 
[2026-09-05 16:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882735104001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17965229723877376,"note":"Value kept but may cause issues"} 
[2026-09-05 16:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969621180214206464,"note":"Value kept but may cause issues"} 
[2026-09-05 16:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788604440000,"timestamp_ms":1788604440000,"timestamp_seconds":1788604440,"priority":1,"record_length":96,"hex_timestamp":"000001a07121ddc0"} 
[2026-09-05 16:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 16:06:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:06:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":174411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":174411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":174411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882735104001,"66":14396,"44":206,"83":41984,"24":19,"16":17965229723877376,"45":1969621180214206464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-09-05 16:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882735104001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:06:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-05 16:06:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 16:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17965229723877376,"km_value":17965229723877.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969621180214206464,"description":"Unknown IO ID 45"} 
[2026-09-05 16:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882735104001,"power":14396,"unknown_44":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1969621180214206464}} 
[2026-09-05 16:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":174411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:06:29] local.INFO: GPS data processed {"connection_id":174411,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:06:29] local.INFO: Acknowledgment sent {"connection_id":174411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:06:30] local.INFO: TCP Data received {"connection_id":174410,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07122eb48012c72b6c008545840001501422c..."} 
[2026-09-05 16:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07122eb48012c72b6c008545840001501422c..."} 
[2026-09-05 16:06:30] local.INFO: Processing buffer {"connection_id":174410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07122eb48012c72b6c008545840001501422c..."} 
[2026-09-05 16:06:30] local.INFO: Packet analysis {"connection_id":174410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07122"} 
[2026-09-05 16:06:30] local.INFO: Extracted packet for processing {"connection_id":174410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07122"} 
[2026-09-05 16:06:30] local.INFO: GPS Element Parsed {"raw_longitude":745715392,"raw_latitude":139745344,"longitude_deg":74.5715392,"latitude_deg":13.9745344,"altitude":21,"angle":322,"satellites":44,"speed":40,"hex_longitude":"2c72b6c0","hex_latitude":"08545840","is_valid_coordinates":true} 
[2026-09-05 16:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882752000001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1273582357315584,"note":"Value kept but may cause issues"} 
[2026-09-05 16:06:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8272127388833951744,"note":"Value kept but may cause issues"} 
[2026-09-05 16:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788604509000,"timestamp_ms":1788604509000,"timestamp_seconds":1788604509,"priority":1,"record_length":96,"hex_timestamp":"000001a07122eb48"} 
[2026-09-05 16:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-05 16:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882752000001,"66":28082,"146":206,"9":56064,"24":40,"16":1273582357315584,"44":8272127388833951744},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,9,24,16,44]} 
[2026-09-05 16:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882752000001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:06:30] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-05 16:06:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1273582357315584,"km_value":1273582357315.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:06:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":8272127388833951744,"description":"Unknown IO ID 44"} 
[2026-09-05 16:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882752000001,"power":28082,"unknown_146":206,"unknown_9":56064,"ignition":40,"odometer":null,"unknown_44":8272127388833951744}} 
[2026-09-05 16:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":174410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769781,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:06:31] local.INFO: GPS data processed {"connection_id":174410,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:06:31] local.INFO: Acknowledgment sent {"connection_id":174410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:06:32] local.INFO: TCP Data received {"connection_id":171695,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07122c050012d7b6e4005e07e80000100ac21..."} 
[2026-09-05 16:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07122c050012d7b6e4005e07e80000100ac21..."} 
[2026-09-05 16:06:32] local.INFO: Processing buffer {"connection_id":171695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07122c050012d7b6e4005e07e80000100ac21..."} 
[2026-09-05 16:06:32] local.INFO: Packet analysis {"connection_id":171695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07122"} 
[2026-09-05 16:06:32] local.INFO: Extracted packet for processing {"connection_id":171695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07122"} 
[2026-09-05 16:06:32] local.INFO: GPS Element Parsed {"raw_longitude":763063872,"raw_latitude":98598528,"longitude_deg":76.3063872,"latitude_deg":9.8598528,"altitude":1,"angle":172,"satellites":33,"speed":54,"hex_longitude":"2d7b6e40","hex_latitude":"05e07e80","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882749696001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128576833917550592,"note":"Value kept but may cause issues"} 
[2026-09-05 16:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892568595719372800,"note":"Value kept but may cause issues"} 
[2026-09-05 16:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788604498000,"timestamp_ms":1788604498000,"timestamp_seconds":1788604498,"priority":1,"record_length":96,"hex_timestamp":"000001a07122c050"} 
[2026-09-05 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-09-05 16:06: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-09-05 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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-05 16:06:32] 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-09-05 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-09-05 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-09-05 16:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882749696001,"66":13646,"217":206,"85":15104,"24":54,"16":128576833917550592,"45":8892568595719372800},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-09-05 16:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882749696001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:06:32] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-05 16:06:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128576833917550592,"km_value":128576833917550.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892568595719372800,"description":"Unknown IO ID 45"} 
[2026-09-05 16:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882749696001,"power":13646,"unknown_217":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8892568595719372800}} 
[2026-09-05 16:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":171695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769782,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:06:32] local.INFO: GPS data processed {"connection_id":171695,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:06:32] local.INFO: Acknowledgment sent {"connection_id":171695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:06:34] local.INFO: TCP Data received {"connection_id":173094,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07121a710012d7cebc005fbfbc8001000c92b..."} 
[2026-09-05 16:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07121a710012d7cebc005fbfbc8001000c92b..."} 
[2026-09-05 16:06:34] local.INFO: Processing buffer {"connection_id":173094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07121a710012d7cebc005fbfbc8001000c92b..."} 
[2026-09-05 16:06:34] local.INFO: Packet analysis {"connection_id":173094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07121"} 
[2026-09-05 16:06:34] local.INFO: Extracted packet for processing {"connection_id":173094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07121"} 
[2026-09-05 16:06:34] local.INFO: GPS Element Parsed {"raw_longitude":763161536,"raw_latitude":100400072,"longitude_deg":76.3161536,"latitude_deg":10.0400072,"altitude":16,"angle":201,"satellites":43,"speed":42,"hex_longitude":"2d7cebc0","hex_latitude":"05fbfbc8","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882731008001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399876088211177472,"note":"Value kept but may cause issues"} 
[2026-09-05 16:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005299324352931840,"note":"Value kept but may cause issues"} 
[2026-09-05 16:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788604426000,"timestamp_ms":1788604426000,"timestamp_seconds":1788604426,"priority":1,"record_length":96,"hex_timestamp":"000001a07121a710"} 
[2026-09-05 16:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 16:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882731008001,"66":27571,"116":206,"87":10752,"24":42,"16":399876088211177472,"45":9005299324352931840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,87,24,16,45]} 
[2026-09-05 16:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882731008001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:06:34] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-05 16:06:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 16:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399876088211177472,"km_value":399876088211177.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005299324352931840,"description":"Unknown IO ID 45"} 
[2026-09-05 16:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882731008001,"power":27571,"unknown_116":206,"unknown_87":10752,"ignition":42,"odometer":null,"unknown_45":9005299324352931840}} 
[2026-09-05 16:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":173094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:06:34] local.INFO: GPS data processed {"connection_id":173094,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:06:34] local.INFO: Acknowledgment sent {"connection_id":173094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:06:35] local.INFO: TCP Data received {"connection_id":171989,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a07123aab0012d0c4f000703ddd0000f00d31b..."} 
[2026-09-05 16:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07123aab0012d0c4f000703ddd0000f00d31b..."} 
[2026-09-05 16:06:35] local.INFO: Processing buffer {"connection_id":171989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07123aab0012d0c4f000703ddd0000f00d31b..."} 
[2026-09-05 16:06:35] local.INFO: Packet analysis {"connection_id":171989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07123"} 
[2026-09-05 16:06:35] local.INFO: Extracted packet for processing {"connection_id":171989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07123"} 
[2026-09-05 16:06:35] local.INFO: GPS Element Parsed {"raw_longitude":755781376,"raw_latitude":117693904,"longitude_deg":75.5781376,"latitude_deg":11.7693904,"altitude":15,"angle":211,"satellites":27,"speed":28,"hex_longitude":"2d0c4f00","hex_latitude":"0703ddd0","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882766080001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30379355951595520,"note":"Value kept but may cause issues"} 
[2026-09-05 16:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888686900349816832,"note":"Value kept but may cause issues"} 
[2026-09-05 16:06:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 16:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788604558000,"timestamp_ms":1788604558000,"timestamp_seconds":1788604558,"priority":1,"record_length":96,"hex_timestamp":"000001a07123aab0"} 
[2026-09-05 16:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-05 16:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171989,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 16:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171989,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 16:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 16:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 16:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882766080001,"66":14407,"16":30379355951595520,"94":11008,"24":28,"45":888686900349816832},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-05 16:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 16:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 16:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882766080001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30379355951595520,"km_value":30379355951595.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:06:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 16:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":888686900349816832,"description":"Unknown IO ID 45"} 
[2026-09-05 16:06:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457882766080001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":28,"unknown_45":888686900349816832}} 
[2026-09-05 16:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":171989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769784,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:06:36] local.INFO: GPS data processed {"connection_id":171989,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:06:36] local.INFO: Acknowledgment sent {"connection_id":171989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:06:44] local.INFO: TCP Data received {"connection_id":171697,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:06:44] local.INFO: Processing buffer {"connection_id":171697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:06:44] local.INFO: IMEI packet received {"connection_id":171697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":171697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:06:47] local.INFO: TCP Data received {"connection_id":171696,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171696,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:06:47] local.INFO: Processing buffer {"connection_id":171696,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:06:47] local.INFO: IMEI packet received {"connection_id":171696,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":171696,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:06:50] local.INFO: TCP Data received {"connection_id":171697,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:06:50] local.INFO: Processing buffer {"connection_id":171697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:06:50] local.INFO: IMEI packet received {"connection_id":171697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":171697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:06:50] local.INFO: TCP Data received {"connection_id":171696,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171696,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:06:50] local.INFO: Processing buffer {"connection_id":171696,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:06:50] local.INFO: IMEI packet received {"connection_id":171696,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":171696,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:06:50] local.INFO: TCP Data received {"connection_id":171697,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071237bd0012d1b37000725a538002c015323..."} 
[2026-09-05 16:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071237bd0012d1b37000725a538002c015323..."} 
[2026-09-05 16:06:50] local.INFO: Processing buffer {"connection_id":171697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071237bd0012d1b37000725a538002c015323..."} 
[2026-09-05 16:06:50] local.INFO: Packet analysis {"connection_id":171697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07123"} 
[2026-09-05 16:06:50] local.INFO: Extracted packet for processing {"connection_id":171697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07123"} 
[2026-09-05 16:06:50] local.INFO: GPS Element Parsed {"raw_longitude":756758272,"raw_latitude":119907640,"longitude_deg":75.6758272,"latitude_deg":11.990764,"altitude":44,"angle":339,"satellites":35,"speed":16,"hex_longitude":"2d1b3700","hex_latitude":"0725a538","is_valid_coordinates":true} 
[2026-09-05 16:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882758656001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17968133121769472,"note":"Value kept but may cause issues"} 
[2026-09-05 16:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965399055576455168,"note":"Value kept but may cause issues"} 
[2026-09-05 16:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788604546000,"timestamp_ms":1788604546000,"timestamp_seconds":1788604546,"priority":1,"record_length":96,"hex_timestamp":"000001a071237bd0"} 
[2026-09-05 16:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:06:50] 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-09-05 16:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-05 16:06:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882758656001,"66":14352,"216":206,"83":42752,"24":16,"16":17968133121769472,"45":1965399055576455168},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-05 16:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882758656001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:06:50] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-05 16:06:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17968133121769472,"km_value":17968133121769.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965399055576455168,"description":"Unknown IO ID 45"} 
[2026-09-05 16:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882758656001,"power":14352,"unknown_216":206,"unknown_83":42752,"ignition":16,"odometer":null,"unknown_45":1965399055576455168}} 
[2026-09-05 16:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":171697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:06:50] local.INFO: GPS data processed {"connection_id":171697,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:06:50] local.INFO: Acknowledgment sent {"connection_id":171697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:06:51] local.INFO: TCP Data received {"connection_id":171696,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071230e70012c729d0008547180001501352d..."} 
[2026-09-05 16:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071230e70012c729d0008547180001501352d..."} 
[2026-09-05 16:06:51] local.INFO: Processing buffer {"connection_id":171696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071230e70012c729d0008547180001501352d..."} 
[2026-09-05 16:06:51] local.INFO: Packet analysis {"connection_id":171696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07123"} 
[2026-09-05 16:06:51] local.INFO: Extracted packet for processing {"connection_id":171696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07123"} 
[2026-09-05 16:06:51] local.INFO: GPS Element Parsed {"raw_longitude":745708800,"raw_latitude":139751808,"longitude_deg":74.57088,"latitude_deg":13.9751808,"altitude":21,"angle":309,"satellites":45,"speed":41,"hex_longitude":"2c729d00","hex_latitude":"08547180","is_valid_coordinates":true} 
[2026-09-05 16:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882754304001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1274029033914368,"note":"Value kept but may cause issues"} 
[2026-09-05 16:06:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8266005308092465152,"note":"Value kept but may cause issues"} 
[2026-09-05 16:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788604518000,"timestamp_ms":1788604518000,"timestamp_seconds":1788604518,"priority":1,"record_length":96,"hex_timestamp":"000001a071230e70"} 
[2026-09-05 16:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 16:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:06:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171696,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171696,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882754304001,"66":28028,"146":206,"9":56064,"24":41,"16":1274029033914368,"44":8266005308092465152},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,9,24,16,44]} 
[2026-09-05 16:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882754304001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:06:51] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-05 16:06:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1274029033914368,"km_value":1274029033914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:06:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":8266005308092465152,"description":"Unknown IO ID 44"} 
[2026-09-05 16:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882754304001,"power":28028,"unknown_146":206,"unknown_9":56064,"ignition":41,"odometer":null,"unknown_44":8266005308092465152}} 
[2026-09-05 16:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":171696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769786,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:06:51] local.INFO: GPS data processed {"connection_id":171696,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:06:51] local.INFO: Acknowledgment sent {"connection_id":171696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:06:54] local.INFO: TCP Data received {"connection_id":174412,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:06:55] local.INFO: Processing buffer {"connection_id":174412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:06:55] local.INFO: IMEI packet received {"connection_id":174412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 16:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":174412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:06:56] local.INFO: TCP Data received {"connection_id":173095,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:06:56] local.INFO: Processing buffer {"connection_id":173095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:06:56] local.INFO: IMEI packet received {"connection_id":173095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":173095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:06:57] local.INFO: TCP Data received {"connection_id":174412,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:06:57] local.INFO: Processing buffer {"connection_id":174412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:06:57] local.INFO: IMEI packet received {"connection_id":174412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":174412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:07:00] local.INFO: TCP Data received {"connection_id":174412,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:07:00] local.INFO: Processing buffer {"connection_id":174412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:07:00] local.INFO: IMEI packet received {"connection_id":174412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":174412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:07:01] local.INFO: TCP Data received {"connection_id":174412,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071241428012d7b9cc005def238000000b122..."} 
[2026-09-05 16:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071241428012d7b9cc005def238000000b122..."} 
[2026-09-05 16:07:01] local.INFO: Processing buffer {"connection_id":174412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071241428012d7b9cc005def238000000b122..."} 
[2026-09-05 16:07:01] local.INFO: Packet analysis {"connection_id":174412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07124"} 
[2026-09-05 16:07:01] local.INFO: Extracted packet for processing {"connection_id":174412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07124"} 
[2026-09-05 16:07:01] local.INFO: GPS Element Parsed {"raw_longitude":763075776,"raw_latitude":98497080,"longitude_deg":76.3075776,"latitude_deg":9.849708,"altitude":0,"angle":177,"satellites":34,"speed":27,"hex_longitude":"2d7b9cc0","hex_latitude":"05def238","is_valid_coordinates":true} 
[2026-09-05 16:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882770944001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128581790309810176,"note":"Value kept but may cause issues"} 
[2026-09-05 16:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906360869551941632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788604585000,"timestamp_ms":1788604585000,"timestamp_seconds":1788604585,"priority":1,"record_length":96,"hex_timestamp":"000001a071241428"} 
[2026-09-05 16:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-05 16:07:01] 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-09-05 16:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882770944001,"66":13993,"103":206,"85":15104,"24":27,"16":128581790309810176,"45":8906360869551941632},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-09-05 16:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882770944001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:07:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 16:07:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128581790309810176,"km_value":128581790309810.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906360869551941632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882770944001,"power":13993,"unknown_103":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8906360869551941632}} 
[2026-09-05 16:07:01] local.INFO: TCP Data received {"connection_id":173095,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:07:01] local.INFO: Processing buffer {"connection_id":173095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:07:01] local.INFO: IMEI packet received {"connection_id":173095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":173095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":174412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769787,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:07:01] local.INFO: GPS data processed {"connection_id":174412,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:07:01] local.INFO: Acknowledgment sent {"connection_id":174412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:07:02] local.INFO: TCP Data received {"connection_id":173095,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07121d208012d7cdd0005fbd890000e00cc2b..."} 
[2026-09-05 16:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07121d208012d7cdd0005fbd890000e00cc2b..."} 
[2026-09-05 16:07:02] local.INFO: Processing buffer {"connection_id":173095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07121d208012d7cdd0005fbd890000e00cc2b..."} 
[2026-09-05 16:07:02] local.INFO: Packet analysis {"connection_id":173095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07121"} 
[2026-09-05 16:07:02] local.INFO: Extracted packet for processing {"connection_id":173095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07121"} 
[2026-09-05 16:07:02] local.INFO: GPS Element Parsed {"raw_longitude":763157760,"raw_latitude":100391056,"longitude_deg":76.315776,"latitude_deg":10.0391056,"altitude":14,"angle":204,"satellites":43,"speed":37,"hex_longitude":"2d7cdd00","hex_latitude":"05fbd890","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882733056001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399876560657580032,"note":"Value kept but may cause issues"} 
[2026-09-05 16:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001499412165019648,"note":"Value kept but may cause issues"} 
[2026-09-05 16:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788604437000,"timestamp_ms":1788604437000,"timestamp_seconds":1788604437,"priority":1,"record_length":96,"hex_timestamp":"000001a07121d208"} 
[2026-09-05 16:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:07: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-09-05 16: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-05 16:07: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-09-05 16: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-09-05 16:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882733056001,"66":27767,"116":206,"87":10752,"24":37,"16":399876560657580032,"45":9001499412165019648},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,87,24,16,45]} 
[2026-09-05 16:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882733056001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:07:02] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-05 16:07:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 16:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399876560657580032,"km_value":399876560657580.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001499412165019648,"description":"Unknown IO ID 45"} 
[2026-09-05 16:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882733056001,"power":27767,"unknown_116":206,"unknown_87":10752,"ignition":37,"odometer":null,"unknown_45":9001499412165019648}} 
[2026-09-05 16:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":173095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:07:02] local.INFO: GPS data processed {"connection_id":173095,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:07:02] local.INFO: Acknowledgment sent {"connection_id":173095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:07:08] local.INFO: TCP Data received {"connection_id":174413,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174413,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:07:08] local.INFO: Processing buffer {"connection_id":174413,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:07:08] local.INFO: IMEI packet received {"connection_id":174413,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 16:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":174413,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:07:11] local.INFO: TCP Data received {"connection_id":174413,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174413,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:07:11] local.INFO: Processing buffer {"connection_id":174413,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:07:11] local.INFO: IMEI packet received {"connection_id":174413,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 16:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":174413,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:07:12] local.INFO: TCP Data received {"connection_id":174413,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174413,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:07:12] local.INFO: Processing buffer {"connection_id":174413,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:07:12] local.INFO: IMEI packet received {"connection_id":174413,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 16:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":174413,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:07:15] local.INFO: TCP Data received {"connection_id":174413,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174413,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:07:15] local.INFO: Processing buffer {"connection_id":174413,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:07:15] local.INFO: IMEI packet received {"connection_id":174413,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 16:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":174413,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:07:17] local.INFO: TCP Data received {"connection_id":174413,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a071244ad8012d0c0d4007039b58000c010f1b..."} 
[2026-09-05 16:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071244ad8012d0c0d4007039b58000c010f1b..."} 
[2026-09-05 16:07:17] local.INFO: Processing buffer {"connection_id":174413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071244ad8012d0c0d4007039b58000c010f1b..."} 
[2026-09-05 16:07:17] local.INFO: Packet analysis {"connection_id":174413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07124"} 
[2026-09-05 16:07:17] local.INFO: Extracted packet for processing {"connection_id":174413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07124"} 
[2026-09-05 16:07:17] local.INFO: GPS Element Parsed {"raw_longitude":755764544,"raw_latitude":117676888,"longitude_deg":75.5764544,"latitude_deg":11.7676888,"altitude":12,"angle":271,"satellites":27,"speed":10,"hex_longitude":"2d0c0d40","hex_latitude":"07039b58","is_valid_coordinates":true} 
[2026-09-05 16:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882776832001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30380627261915136,"note":"Value kept but may cause issues"} 
[2026-09-05 16:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868913283231107072,"note":"Value kept but may cause issues"} 
[2026-09-05 16:07:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 16:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788604599000,"timestamp_ms":1788604599000,"timestamp_seconds":1788604599,"priority":1,"record_length":96,"hex_timestamp":"000001a071244ad8"} 
[2026-09-05 16:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 16:07:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:07:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174413,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 16:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174413,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 16:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 16:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 16:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882776832001,"66":14374,"16":30380627261915136,"94":11008,"24":10,"45":868913283231107072},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-05 16:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 16:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 16:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882776832001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30380627261915136,"km_value":30380627261915.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:07:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 16:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":868913283231107072,"description":"Unknown IO ID 45"} 
[2026-09-05 16:07:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457882776832001,"power":14374,"odometer":null,"unknown_94":11008,"ignition":10,"unknown_45":868913283231107072}} 
[2026-09-05 16:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":174413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769789,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:07:17] local.INFO: GPS data processed {"connection_id":174413,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:07:17] local.INFO: Acknowledgment sent {"connection_id":174413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:07:23] local.INFO: TCP Data received {"connection_id":171696,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071243368012c7143c008555020000401372d..."} 
[2026-09-05 16:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071243368012c7143c008555020000401372d..."} 
[2026-09-05 16:07:23] local.INFO: Processing buffer {"connection_id":171696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071243368012c7143c008555020000401372d..."} 
[2026-09-05 16:07:23] local.INFO: Packet analysis {"connection_id":171696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07124"} 
[2026-09-05 16:07:23] local.INFO: Extracted packet for processing {"connection_id":171696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07124"} 
[2026-09-05 16:07:23] local.INFO: GPS Element Parsed {"raw_longitude":745620416,"raw_latitude":139808800,"longitude_deg":74.5620416,"latitude_deg":13.98088,"altitude":4,"angle":311,"satellites":45,"speed":56,"hex_longitude":"2c7143c0","hex_latitude":"08555020","is_valid_coordinates":true} 
[2026-09-05 16:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882774016001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1279071325519872,"note":"Value kept but may cause issues"} 
[2026-09-05 16:07:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8170374184769650688,"note":"Value kept but may cause issues"} 
[2026-09-05 16:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788604593000,"timestamp_ms":1788604593000,"timestamp_seconds":1788604593,"priority":1,"record_length":96,"hex_timestamp":"000001a071243368"} 
[2026-09-05 16:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-05 16:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2246,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171696,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171696,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882774016001,"66":28104,"146":206,"9":56064,"24":56,"16":1279071325519872,"44":8170374184769650688},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,9,24,16,44]} 
[2026-09-05 16:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882774016001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:07:23] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-05 16:07:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1279071325519872,"km_value":1279071325519.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:07:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":8170374184769650688,"description":"Unknown IO ID 44"} 
[2026-09-05 16:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882774016001,"power":28104,"unknown_146":206,"unknown_9":56064,"ignition":56,"odometer":null,"unknown_44":8170374184769650688}} 
[2026-09-05 16:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":171696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769790,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:07:23] local.INFO: GPS data processed {"connection_id":171696,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:07:23] local.INFO: Acknowledgment sent {"connection_id":171696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:07:24] local.INFO: TCP Data received {"connection_id":174413,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a071244ec0012d0c0c0007039b80000c01221a..."} 
[2026-09-05 16:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071244ec0012d0c0c0007039b80000c01221a..."} 
[2026-09-05 16:07:24] local.INFO: Processing buffer {"connection_id":174413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071244ec0012d0c0c0007039b80000c01221a..."} 
[2026-09-05 16:07:24] local.INFO: Packet analysis {"connection_id":174413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07124"} 
[2026-09-05 16:07:24] local.INFO: Extracted packet for processing {"connection_id":174413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07124"} 
[2026-09-05 16:07:24] local.INFO: GPS Element Parsed {"raw_longitude":755764224,"raw_latitude":117676928,"longitude_deg":75.5764224,"latitude_deg":11.7676928,"altitude":12,"angle":290,"satellites":26,"speed":13,"hex_longitude":"2d0c0c00","hex_latitude":"07039b80","is_valid_coordinates":true} 
[2026-09-05 16:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882777344001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30380640146817024,"note":"Value kept but may cause issues"} 
[2026-09-05 16:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868420702021834752,"note":"Value kept but may cause issues"} 
[2026-09-05 16:07:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 16:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788604600000,"timestamp_ms":1788604600000,"timestamp_seconds":1788604600,"priority":1,"record_length":96,"hex_timestamp":"000001a071244ec0"} 
[2026-09-05 16:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:07:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 16:07:24] 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-09-05 16:07:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174413,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 16:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174413,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 16:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 16:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 16:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882777344001,"66":14374,"16":30380640146817024,"94":11008,"24":13,"45":868420702021834752},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-05 16:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 16:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 16:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882777344001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30380640146817024,"km_value":30380640146817.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:07:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 16:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":868420702021834752,"description":"Unknown IO ID 45"} 
[2026-09-05 16:07:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457882777344001,"power":14374,"odometer":null,"unknown_94":11008,"ignition":13,"unknown_45":868420702021834752}} 
[2026-09-05 16:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":174413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769791,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:07:24] local.INFO: GPS data processed {"connection_id":174413,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:07:24] local.INFO: Acknowledgment sent {"connection_id":174413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:07:28] local.INFO: TCP Data received {"connection_id":171697,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071243368012d1b5c8007261b58002b005325..."} 
[2026-09-05 16:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071243368012d1b5c8007261b58002b005325..."} 
[2026-09-05 16:07:28] local.INFO: Processing buffer {"connection_id":171697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071243368012d1b5c8007261b58002b005325..."} 
[2026-09-05 16:07:28] local.INFO: Packet analysis {"connection_id":171697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07124"} 
[2026-09-05 16:07:28] local.INFO: Extracted packet for processing {"connection_id":171697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07124"} 
[2026-09-05 16:07:28] local.INFO: GPS Element Parsed {"raw_longitude":756767872,"raw_latitude":119937880,"longitude_deg":75.6767872,"latitude_deg":11.993788,"altitude":43,"angle":83,"satellites":37,"speed":21,"hex_longitude":"2d1b5c80","hex_latitude":"07261b58","is_valid_coordinates":true} 
[2026-09-05 16:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882775552001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17969735144570880,"note":"Value kept but may cause issues"} 
[2026-09-05 16:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971028555120439296,"note":"Value kept but may cause issues"} 
[2026-09-05 16:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788604593000,"timestamp_ms":1788604593000,"timestamp_seconds":1788604593,"priority":1,"record_length":96,"hex_timestamp":"000001a071243368"} 
[2026-09-05 16:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-05 16:07:28] 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-09-05 16:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":171697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":171697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":171697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882775552001,"66":14048,"215":206,"83":42752,"24":21,"16":17969735144570880,"45":1971028555120439296},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-09-05 16:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882775552001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:07:28] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-05 16:07:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17969735144570880,"km_value":17969735144570.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971028555120439296,"description":"Unknown IO ID 45"} 
[2026-09-05 16:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882775552001,"power":14048,"unknown_215":206,"unknown_83":42752,"ignition":21,"odometer":null,"unknown_45":1971028555120439296}} 
[2026-09-05 16:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":171697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:07:28] local.INFO: GPS data processed {"connection_id":171697,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:07:28] local.INFO: Acknowledgment sent {"connection_id":171697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:07:33] local.INFO: TCP Data received {"connection_id":174412,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071244308012d7b9f4005decc10000000af23..."} 
[2026-09-05 16:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071244308012d7b9f4005decc10000000af23..."} 
[2026-09-05 16:07:33] local.INFO: Processing buffer {"connection_id":174412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071244308012d7b9f4005decc10000000af23..."} 
[2026-09-05 16:07:33] local.INFO: Packet analysis {"connection_id":174412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07124"} 
[2026-09-05 16:07:33] local.INFO: Extracted packet for processing {"connection_id":174412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07124"} 
[2026-09-05 16:07:33] local.INFO: GPS Element Parsed {"raw_longitude":763076416,"raw_latitude":98487312,"longitude_deg":76.3076416,"latitude_deg":9.8487312,"altitude":0,"angle":175,"satellites":35,"speed":39,"hex_longitude":"2d7b9f40","hex_latitude":"05decc10","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882773760001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128582262756212736,"note":"Value kept but may cause issues"} 
[2026-09-05 16:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907205294479783936,"note":"Value kept but may cause issues"} 
[2026-09-05 16:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788604597000,"timestamp_ms":1788604597000,"timestamp_seconds":1788604597,"priority":1,"record_length":96,"hex_timestamp":"000001a071244308"} 
[2026-09-05 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-09-05 16:07: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-09-05 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 16:07: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-09-05 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-09-05 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-09-05 16:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882773760001,"66":13852,"103":206,"85":15104,"24":39,"16":128582262756212736,"45":8907205294479783936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-09-05 16:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882773760001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:07:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 16:07:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128582262756212736,"km_value":128582262756212.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907205294479783936,"description":"Unknown IO ID 45"} 
[2026-09-05 16:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882773760001,"power":13852,"unknown_103":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8907205294479783936}} 
[2026-09-05 16:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":174412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769793,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:07:33] local.INFO: GPS data processed {"connection_id":174412,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:07:33] local.INFO: Acknowledgment sent {"connection_id":174412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:07:34] local.INFO: TCP Data received {"connection_id":173095,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07121fd00012d7ccd8005fbb648000e00c92b..."} 
[2026-09-05 16:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07121fd00012d7ccd8005fbb648000e00c92b..."} 
[2026-09-05 16:07:34] local.INFO: Processing buffer {"connection_id":173095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07121fd00012d7ccd8005fbb648000e00c92b..."} 
[2026-09-05 16:07:34] local.INFO: Packet analysis {"connection_id":173095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07121"} 
[2026-09-05 16:07:34] local.INFO: Extracted packet for processing {"connection_id":173095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07121"} 
[2026-09-05 16:07:34] local.INFO: GPS Element Parsed {"raw_longitude":763153792,"raw_latitude":100382280,"longitude_deg":76.3153792,"latitude_deg":10.038228,"altitude":14,"angle":201,"satellites":43,"speed":30,"hex_longitude":"2d7ccd80","hex_latitude":"05fbb648","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882735872001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399877024514048000,"note":"Value kept but may cause issues"} 
[2026-09-05 16:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8997347656256229376,"note":"Value kept but may cause issues"} 
[2026-09-05 16:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788604448000,"timestamp_ms":1788604448000,"timestamp_seconds":1788604448,"priority":1,"record_length":96,"hex_timestamp":"000001a07121fd00"} 
[2026-09-05 16:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16: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":119,"data_length":795,"current_offset":136} 
[2026-09-05 16:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882735872001,"66":27604,"117":206,"87":10752,"24":30,"16":399877024514048000,"45":8997347656256229376},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-09-05 16:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882735872001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:07:34] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-05 16:07:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 16:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399877024514048000,"km_value":399877024514048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8997347656256229376,"description":"Unknown IO ID 45"} 
[2026-09-05 16:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882735872001,"power":27604,"unknown_117":206,"unknown_87":10752,"ignition":30,"odometer":null,"unknown_45":8997347656256229376}} 
[2026-09-05 16:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":173095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:07:34] local.INFO: GPS data processed {"connection_id":173095,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:07:34] local.INFO: Acknowledgment sent {"connection_id":173095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:07:46] local.INFO: TCP Data received {"connection_id":174414,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:07:46] local.INFO: Processing buffer {"connection_id":174414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:07:46] local.INFO: IMEI packet received {"connection_id":174414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":174414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:07:47] local.INFO: TCP Data received {"connection_id":174414,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:07:47] local.INFO: Processing buffer {"connection_id":174414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:07:47] local.INFO: IMEI packet received {"connection_id":174414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":174414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:07:52] local.INFO: TCP Data received {"connection_id":174414,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:07:52] local.INFO: Processing buffer {"connection_id":174414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:07:52] local.INFO: IMEI packet received {"connection_id":174414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":174414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:07:54] local.INFO: TCP Data received {"connection_id":174414,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071244ec0012c7129c008556aa0000501422d..."} 
[2026-09-05 16:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071244ec0012c7129c008556aa0000501422d..."} 
[2026-09-05 16:07:54] local.INFO: Processing buffer {"connection_id":174414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071244ec0012c7129c008556aa0000501422d..."} 
[2026-09-05 16:07:54] local.INFO: Packet analysis {"connection_id":174414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07124"} 
[2026-09-05 16:07:54] local.INFO: Extracted packet for processing {"connection_id":174414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07124"} 
[2026-09-05 16:07:54] local.INFO: GPS Element Parsed {"raw_longitude":745613760,"raw_latitude":139815584,"longitude_deg":74.561376,"latitude_deg":13.9815584,"altitude":5,"angle":322,"satellites":45,"speed":50,"hex_longitude":"2c7129c0","hex_latitude":"08556aa0","is_valid_coordinates":true} 
[2026-09-05 16:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882775808001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1279526592053248,"note":"Value kept but may cause issues"} 
[2026-09-05 16:07:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8161578091749056512,"note":"Value kept but may cause issues"} 
[2026-09-05 16:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788604600000,"timestamp_ms":1788604600000,"timestamp_seconds":1788604600,"priority":1,"record_length":96,"hex_timestamp":"000001a071244ec0"} 
[2026-09-05 16:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:07:54] 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-09-05 16:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 16:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882775808001,"66":28137,"145":206,"9":56064,"24":50,"16":1279526592053248,"44":8161578091749056512},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,9,24,16,44]} 
[2026-09-05 16:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882775808001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:07:54] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-05 16:07:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1279526592053248,"km_value":1279526592053.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:07:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8161578091749056512,"description":"Unknown IO ID 44"} 
[2026-09-05 16:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882775808001,"power":28137,"unknown_145":206,"unknown_9":56064,"ignition":50,"odometer":null,"unknown_44":8161578091749056512}} 
[2026-09-05 16:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":174414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769795,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:07:54] local.INFO: GPS data processed {"connection_id":174414,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:07:54] local.INFO: Acknowledgment sent {"connection_id":174414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:07:58] local.INFO: TCP Data received {"connection_id":171698,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:07:58] local.INFO: Processing buffer {"connection_id":171698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:07:58] local.INFO: IMEI packet received {"connection_id":171698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":171698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:08:00] local.INFO: TCP Data received {"connection_id":173096,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:08:00] local.INFO: Processing buffer {"connection_id":173096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:08:00] local.INFO: IMEI packet received {"connection_id":173096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 16:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":173096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:08:00] local.INFO: TCP Data received {"connection_id":173096,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:08:00] local.INFO: Processing buffer {"connection_id":173096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:08:00] local.INFO: IMEI packet received {"connection_id":173096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":173096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:08:01] local.INFO: TCP Data received {"connection_id":171698,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:08:01] local.INFO: Processing buffer {"connection_id":171698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:08:01] local.INFO: IMEI packet received {"connection_id":171698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":171698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:08:04] local.INFO: TCP Data received {"connection_id":174413,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a0712544d8012d0b77000703a310001b01361a..."} 
[2026-09-05 16:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712544d8012d0b77000703a310001b01361a..."} 
[2026-09-05 16:08:04] local.INFO: Processing buffer {"connection_id":174413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712544d8012d0b77000703a310001b01361a..."} 
[2026-09-05 16:08:04] local.INFO: Packet analysis {"connection_id":174413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07125"} 
[2026-09-05 16:08:04] local.INFO: Extracted packet for processing {"connection_id":174413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07125"} 
[2026-09-05 16:08:04] local.INFO: GPS Element Parsed {"raw_longitude":755726080,"raw_latitude":117678864,"longitude_deg":75.572608,"latitude_deg":11.7678864,"altitude":27,"angle":310,"satellites":26,"speed":15,"hex_longitude":"2d0b7700","hex_latitude":"0703a310","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882793216001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30382590061969408,"note":"Value kept but may cause issues"} 
[2026-09-05 16:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":826551299236460544,"note":"Value kept but may cause issues"} 
[2026-09-05 16:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788604663000,"timestamp_ms":1788604663000,"timestamp_seconds":1788604663,"priority":1,"record_length":96,"hex_timestamp":"000001a0712544d8"} 
[2026-09-05 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-09-05 16:08: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-09-05 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-05 16:08:04] 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-09-05 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-09-05 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-09-05 16:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174413,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 16:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174413,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-05 16:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-05 16:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-05 16:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882793216001,"66":14439,"37":206,"94":11008,"24":15,"16":30382590061969408,"45":826551299236460544},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-05 16:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-05 16:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-05 16:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882793216001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:08:04] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-05 16:08:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-05 16:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30382590061969408,"km_value":30382590061969.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":826551299236460544,"description":"Unknown IO ID 45"} 
[2026-09-05 16:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882793216001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":826551299236460544}} 
[2026-09-05 16:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":174413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769796,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:08:04] local.INFO: GPS data processed {"connection_id":174413,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:08:04] local.INFO: Acknowledgment sent {"connection_id":174413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:08:05] local.INFO: TCP Data received {"connection_id":173096,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:08:05] local.INFO: Processing buffer {"connection_id":173096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:08:05] local.INFO: IMEI packet received {"connection_id":173096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":173096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:08:06] local.INFO: TCP Data received {"connection_id":173096,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071246630012d7ba24005dea910000000b01b..."} 
[2026-09-05 16:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071246630012d7ba24005dea910000000b01b..."} 
[2026-09-05 16:08:06] local.INFO: Processing buffer {"connection_id":173096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071246630012d7ba24005dea910000000b01b..."} 
[2026-09-05 16:08:06] local.INFO: Packet analysis {"connection_id":173096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07124"} 
[2026-09-05 16:08:06] local.INFO: Extracted packet for processing {"connection_id":173096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07124"} 
[2026-09-05 16:08:06] local.INFO: GPS Element Parsed {"raw_longitude":763077184,"raw_latitude":98478352,"longitude_deg":76.3077184,"latitude_deg":9.8478352,"altitude":0,"angle":176,"satellites":27,"speed":40,"hex_longitude":"2d7ba240","hex_latitude":"05dea910","is_valid_coordinates":true} 
[2026-09-05 16:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882776832001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128582700842876928,"note":"Value kept but may cause issues"} 
[2026-09-05 16:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907908981919059968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788604606000,"timestamp_ms":1788604606000,"timestamp_seconds":1788604606,"priority":1,"record_length":96,"hex_timestamp":"000001a071246630"} 
[2026-09-05 16:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16: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-09-05 16:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-05 16:08:06] 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-09-05 16:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882776832001,"66":13972,"44":206,"85":15104,"24":40,"16":128582700842876928,"45":8907908981919059968},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-09-05 16:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882776832001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:08:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-05 16:08:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128582700842876928,"km_value":128582700842876.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907908981919059968,"description":"Unknown IO ID 45"} 
[2026-09-05 16:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882776832001,"power":13972,"unknown_44":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8907908981919059968}} 
[2026-09-05 16:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":173096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769797,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:08:06] local.INFO: GPS data processed {"connection_id":173096,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:08:06] local.INFO: Acknowledgment sent {"connection_id":173096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:08:06] local.INFO: TCP Data received {"connection_id":171698,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:08:06] local.INFO: Processing buffer {"connection_id":171698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:08:06] local.INFO: IMEI packet received {"connection_id":171698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":171698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:08:06] local.INFO: TCP Data received {"connection_id":171698,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071222be0012d7cbd8005fb94f0000d00ca28..."} 
[2026-09-05 16:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071222be0012d7cbd8005fb94f0000d00ca28..."} 
[2026-09-05 16:08:06] local.INFO: Processing buffer {"connection_id":171698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071222be0012d7cbd8005fb94f0000d00ca28..."} 
[2026-09-05 16:08:06] local.INFO: Packet analysis {"connection_id":171698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07122"} 
[2026-09-05 16:08:06] local.INFO: Extracted packet for processing {"connection_id":171698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07122"} 
[2026-09-05 16:08:06] local.INFO: GPS Element Parsed {"raw_longitude":763149696,"raw_latitude":100373744,"longitude_deg":76.3149696,"latitude_deg":10.0373744,"altitude":13,"angle":202,"satellites":40,"speed":35,"hex_longitude":"2d7cbd80","hex_latitude":"05fb94f0","is_valid_coordinates":true} 
[2026-09-05 16:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882738688001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399877484075548672,"note":"Value kept but may cause issues"} 
[2026-09-05 16:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992984794114967552,"note":"Value kept but may cause issues"} 
[2026-09-05 16:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788604460000,"timestamp_ms":1788604460000,"timestamp_seconds":1788604460,"priority":1,"record_length":96,"hex_timestamp":"000001a071222be0"} 
[2026-09-05 16:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-05 16:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882738688001,"66":27974,"117":206,"87":10752,"24":35,"16":399877484075548672,"45":8992984794114967552},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-09-05 16:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882738688001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:08:06] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-05 16:08:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 16:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399877484075548672,"km_value":399877484075548.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992984794114967552,"description":"Unknown IO ID 45"} 
[2026-09-05 16:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882738688001,"power":27974,"unknown_117":206,"unknown_87":10752,"ignition":35,"odometer":null,"unknown_45":8992984794114967552}} 
[2026-09-05 16:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":171698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:08:07] local.INFO: GPS data processed {"connection_id":171698,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:08:07] local.INFO: Acknowledgment sent {"connection_id":171698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:08:08] local.INFO: TCP Data received {"connection_id":173096,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071248958012d7ba58005de82e8000000ac1f..."} 
[2026-09-05 16:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071248958012d7ba58005de82e8000000ac1f..."} 
[2026-09-05 16:08:08] local.INFO: Processing buffer {"connection_id":173096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071248958012d7ba58005de82e8000000ac1f..."} 
[2026-09-05 16:08:08] local.INFO: Packet analysis {"connection_id":173096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07124"} 
[2026-09-05 16:08:08] local.INFO: Extracted packet for processing {"connection_id":173096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07124"} 
[2026-09-05 16:08:08] local.INFO: GPS Element Parsed {"raw_longitude":763078016,"raw_latitude":98468584,"longitude_deg":76.3078016,"latitude_deg":9.8468584,"altitude":0,"angle":172,"satellites":31,"speed":43,"hex_longitude":"2d7ba580","hex_latitude":"05de82e8","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882779136001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128583177584246784,"note":"Value kept but may cause issues"} 
[2026-09-05 16:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908753406846898176,"note":"Value kept but may cause issues"} 
[2026-09-05 16:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788604615000,"timestamp_ms":1788604615000,"timestamp_seconds":1788604615,"priority":1,"record_length":96,"hex_timestamp":"000001a071248958"} 
[2026-09-05 16:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 16:08: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-09-05 16: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-09-05 16:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882779136001,"66":13972,"44":206,"85":15104,"24":43,"16":128583177584246784,"45":8908753406846898176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-09-05 16:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882779136001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:08:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-05 16:08:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128583177584246784,"km_value":128583177584246.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908753406846898176,"description":"Unknown IO ID 45"} 
[2026-09-05 16:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882779136001,"power":13972,"unknown_44":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8908753406846898176}} 
[2026-09-05 16:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":173096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769799,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:08:08] local.INFO: GPS data processed {"connection_id":173096,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:08:08] local.INFO: Acknowledgment sent {"connection_id":173096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:08:11] local.INFO: TCP Data received {"connection_id":171698,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071225ac0012d7caec005fb72d0000c00c926..."} 
[2026-09-05 16:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071225ac0012d7caec005fb72d0000c00c926..."} 
[2026-09-05 16:08:11] local.INFO: Processing buffer {"connection_id":171698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071225ac0012d7caec005fb72d0000c00c926..."} 
[2026-09-05 16:08:11] local.INFO: Packet analysis {"connection_id":171698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07122"} 
[2026-09-05 16:08:11] local.INFO: Extracted packet for processing {"connection_id":171698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07122"} 
[2026-09-05 16:08:11] local.INFO: GPS Element Parsed {"raw_longitude":763145920,"raw_latitude":100365008,"longitude_deg":76.314592,"latitude_deg":10.0365008,"altitude":12,"angle":201,"satellites":38,"speed":36,"hex_longitude":"2d7caec0","hex_latitude":"05fb72d0","is_valid_coordinates":true} 
[2026-09-05 16:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882741760001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399877943637049344,"note":"Value kept but may cause issues"} 
[2026-09-05 16:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8988481194485411840,"note":"Value kept but may cause issues"} 
[2026-09-05 16:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788604472000,"timestamp_ms":1788604472000,"timestamp_seconds":1788604472,"priority":1,"record_length":96,"hex_timestamp":"000001a071225ac0"} 
[2026-09-05 16:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 16:08:11] 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-09-05 16:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882741760001,"66":27767,"117":206,"87":10752,"24":36,"16":399877943637049344,"45":8988481194485411840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-09-05 16:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882741760001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:08:11] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-05 16:08:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 16:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399877943637049344,"km_value":399877943637049.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8988481194485411840,"description":"Unknown IO ID 45"} 
[2026-09-05 16:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882741760001,"power":27767,"unknown_117":206,"unknown_87":10752,"ignition":36,"odometer":null,"unknown_45":8988481194485411840}} 
[2026-09-05 16:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":171698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:08:11] local.INFO: GPS data processed {"connection_id":171698,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:08:11] local.INFO: Acknowledgment sent {"connection_id":171698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:08:14] local.INFO: TCP Data received {"connection_id":174415,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174415,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:08:14] local.INFO: Processing buffer {"connection_id":174415,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:08:14] local.INFO: IMEI packet received {"connection_id":174415,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-05 16:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":174415,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:08:15] local.INFO: TCP Data received {"connection_id":174415,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174415,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:08:15] local.INFO: Processing buffer {"connection_id":174415,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-05 16:08:15] local.INFO: IMEI packet received {"connection_id":174415,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 16:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":174415,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:08:15] local.INFO: TCP Data received {"connection_id":174415,"ip":"42.106.6.52","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-05 16:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174415,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-05 16:08:15] local.INFO: Processing buffer {"connection_id":174415,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-05 16:08:15] local.INFO: IMEI packet received {"connection_id":174415,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-05 16:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":174415,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:08:22] local.INFO: TCP Data received {"connection_id":174416,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:08:22] local.INFO: Processing buffer {"connection_id":174416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:08:22] local.INFO: IMEI packet received {"connection_id":174416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":174416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:08:24] local.INFO: TCP Data received {"connection_id":174416,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:08:24] local.INFO: Processing buffer {"connection_id":174416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:08:24] local.INFO: IMEI packet received {"connection_id":174416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":174416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:08:26] local.INFO: TCP Data received {"connection_id":174414,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071244ec0012c7129c008556aa0000501422d..."} 
[2026-09-05 16:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071244ec0012c7129c008556aa0000501422d..."} 
[2026-09-05 16:08:26] local.INFO: Processing buffer {"connection_id":174414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071244ec0012c7129c008556aa0000501422d..."} 
[2026-09-05 16:08:26] local.INFO: Packet analysis {"connection_id":174414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07124"} 
[2026-09-05 16:08:26] local.INFO: Extracted packet for processing {"connection_id":174414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07124"} 
[2026-09-05 16:08:26] local.INFO: GPS Element Parsed {"raw_longitude":745613760,"raw_latitude":139815584,"longitude_deg":74.561376,"latitude_deg":13.9815584,"altitude":5,"angle":322,"satellites":45,"speed":50,"hex_longitude":"2c7129c0","hex_latitude":"08556aa0","is_valid_coordinates":true} 
[2026-09-05 16:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882777600001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1279526592053248,"note":"Value kept but may cause issues"} 
[2026-09-05 16:08:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8154259742356316160,"note":"Value kept but may cause issues"} 
[2026-09-05 16:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788604600000,"timestamp_ms":1788604600000,"timestamp_seconds":1788604600,"priority":1,"record_length":96,"hex_timestamp":"000001a071244ec0"} 
[2026-09-05 16:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 16:08:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:08:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:08:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882777600001,"66":28137,"145":206,"9":56064,"24":50,"16":1279526592053248,"44":8154259742356316160},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,9,24,16,44]} 
[2026-09-05 16:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882777600001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:08:26] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-05 16:08:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1279526592053248,"km_value":1279526592053.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:08:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8154259742356316160,"description":"Unknown IO ID 44"} 
[2026-09-05 16:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882777600001,"power":28137,"unknown_145":206,"unknown_9":56064,"ignition":50,"odometer":null,"unknown_44":8154259742356316160}} 
[2026-09-05 16:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":174414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769801,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:08:26] local.INFO: GPS data processed {"connection_id":174414,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:08:26] local.INFO: Acknowledgment sent {"connection_id":174414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:08:28] local.INFO: TCP Data received {"connection_id":174416,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:08:28] local.INFO: Processing buffer {"connection_id":174416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:08:28] local.INFO: IMEI packet received {"connection_id":174416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":174416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:08:39] local.INFO: TCP Data received {"connection_id":173096,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07124a898012d7baa4005de6040000000aa21..."} 
[2026-09-05 16:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07124a898012d7baa4005de6040000000aa21..."} 
[2026-09-05 16:08:39] local.INFO: Processing buffer {"connection_id":173096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07124a898012d7baa4005de6040000000aa21..."} 
[2026-09-05 16:08:39] local.INFO: Packet analysis {"connection_id":173096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07124"} 
[2026-09-05 16:08:39] local.INFO: Extracted packet for processing {"connection_id":173096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07124"} 
[2026-09-05 16:08:39] local.INFO: GPS Element Parsed {"raw_longitude":763079232,"raw_latitude":98459712,"longitude_deg":76.3079232,"latitude_deg":9.8459712,"altitude":0,"angle":170,"satellites":33,"speed":42,"hex_longitude":"2d7baa40","hex_latitude":"05de6040","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882781440001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128583611375943680,"note":"Value kept but may cause issues"} 
[2026-09-05 16:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909668200518707200,"note":"Value kept but may cause issues"} 
[2026-09-05 16:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788604623000,"timestamp_ms":1788604623000,"timestamp_seconds":1788604623,"priority":1,"record_length":96,"hex_timestamp":"000001a07124a898"} 
[2026-09-05 16:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:08: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-09-05 16: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 16:08:39] 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-09-05 16: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-09-05 16:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":173096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":173096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":173096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882781440001,"66":13656,"44":206,"85":15104,"24":42,"16":128583611375943680,"45":8909668200518707200},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-09-05 16:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882781440001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:08:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-05 16:08:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128583611375943680,"km_value":128583611375943.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909668200518707200,"description":"Unknown IO ID 45"} 
[2026-09-05 16:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882781440001,"power":13656,"unknown_44":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8909668200518707200}} 
[2026-09-05 16:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":173096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769802,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:08:39] local.INFO: GPS data processed {"connection_id":173096,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:08:39] local.INFO: Acknowledgment sent {"connection_id":173096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:08:47] local.INFO: TCP Data received {"connection_id":171990,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:08:47] local.INFO: Processing buffer {"connection_id":171990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:08:47] local.INFO: IMEI packet received {"connection_id":171990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":171990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:08:47] local.INFO: TCP Data received {"connection_id":171990,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:08:47] local.INFO: Processing buffer {"connection_id":171990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:08:47] local.INFO: IMEI packet received {"connection_id":171990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":171990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:08:51] local.INFO: TCP Data received {"connection_id":171990,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:08:51] local.INFO: Processing buffer {"connection_id":171990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:08:51] local.INFO: IMEI packet received {"connection_id":171990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":171990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:08:52] local.INFO: TCP Data received {"connection_id":171990,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071256be8012c7134c00856a8a00007015c2e..."} 
[2026-09-05 16:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071256be8012c7134c00856a8a00007015c2e..."} 
[2026-09-05 16:08:52] local.INFO: Processing buffer {"connection_id":171990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071256be8012c7134c00856a8a00007015c2e..."} 
[2026-09-05 16:08:52] local.INFO: Packet analysis {"connection_id":171990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07125"} 
[2026-09-05 16:08:52] local.INFO: Extracted packet for processing {"connection_id":171990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07125"} 
[2026-09-05 16:08:52] local.INFO: GPS Element Parsed {"raw_longitude":745616576,"raw_latitude":139896992,"longitude_deg":74.5616576,"latitude_deg":13.9896992,"altitude":7,"angle":348,"satellites":46,"speed":53,"hex_longitude":"2c7134c0","hex_latitude":"0856a8a0","is_valid_coordinates":true} 
[2026-09-05 16:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882795264001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1283598221049856,"note":"Value kept but may cause issues"} 
[2026-09-05 16:08:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8157989285817212928,"note":"Value kept but may cause issues"} 
[2026-09-05 16:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788604673000,"timestamp_ms":1788604673000,"timestamp_seconds":1788604673,"priority":1,"record_length":96,"hex_timestamp":"000001a071256be8"} 
[2026-09-05 16:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 16:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":171990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":171990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":171990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882795264001,"66":28006,"115":206,"9":56064,"24":53,"16":1283598221049856,"44":8157989285817212928},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,9,24,16,44]} 
[2026-09-05 16:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882795264001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:08:52] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-05 16:08:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1283598221049856,"km_value":1283598221049.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:08:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":8157989285817212928,"description":"Unknown IO ID 44"} 
[2026-09-05 16:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882795264001,"power":28006,"unknown_115":206,"unknown_9":56064,"ignition":53,"odometer":null,"unknown_44":8157989285817212928}} 
[2026-09-05 16:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":171990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769803,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:08:52] local.INFO: GPS data processed {"connection_id":171990,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:08:52] local.INFO: Acknowledgment sent {"connection_id":171990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:08:54] local.INFO: TCP Data received {"connection_id":171699,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:08:54] local.INFO: Processing buffer {"connection_id":171699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:08:54] local.INFO: IMEI packet received {"connection_id":171699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":171699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:08:54] local.INFO: TCP Data received {"connection_id":174417,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174417,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:08:54] local.INFO: Processing buffer {"connection_id":174417,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:08:54] local.INFO: IMEI packet received {"connection_id":174417,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 16:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":174417,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:08:57] local.INFO: TCP Data received {"connection_id":174417,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174417,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:08:57] local.INFO: Processing buffer {"connection_id":174417,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:08:57] local.INFO: IMEI packet received {"connection_id":174417,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":174417,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:08:59] local.INFO: TCP Data received {"connection_id":173097,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:08:59] local.INFO: Processing buffer {"connection_id":173097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:08:59] local.INFO: IMEI packet received {"connection_id":173097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":173097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:09:00] local.INFO: TCP Data received {"connection_id":174417,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174417,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:09:00] local.INFO: Processing buffer {"connection_id":174417,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:09:00] local.INFO: IMEI packet received {"connection_id":174417,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":174417,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:09:01] local.INFO: TCP Data received {"connection_id":173097,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:09:01] local.INFO: Processing buffer {"connection_id":173097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:09:01] local.INFO: IMEI packet received {"connection_id":173097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":173097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:09:01] local.INFO: TCP Data received {"connection_id":174417,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0712617c8012d7be68005dcd3e8000000b01b..."} 
[2026-09-05 16:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712617c8012d7be68005dcd3e8000000b01b..."} 
[2026-09-05 16:09:01] local.INFO: Processing buffer {"connection_id":174417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712617c8012d7be68005dcd3e8000000b01b..."} 
[2026-09-05 16:09:01] local.INFO: Packet analysis {"connection_id":174417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07126"} 
[2026-09-05 16:09:01] local.INFO: Extracted packet for processing {"connection_id":174417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07126"} 
[2026-09-05 16:09:01] local.INFO: GPS Element Parsed {"raw_longitude":763094656,"raw_latitude":98358248,"longitude_deg":76.3094656,"latitude_deg":9.8358248,"altitude":0,"angle":176,"satellites":27,"speed":46,"hex_longitude":"2d7be680","hex_latitude":"05dcd3e8","is_valid_coordinates":true} 
[2026-09-05 16:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882805248001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128588593538007040,"note":"Value kept but may cause issues"} 
[2026-09-05 16:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927330755281369088,"note":"Value kept but may cause issues"} 
[2026-09-05 16:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788604717000,"timestamp_ms":1788604717000,"timestamp_seconds":1788604717,"priority":1,"record_length":96,"hex_timestamp":"000001a0712617c8"} 
[2026-09-05 16:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-05 16:09:01] 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-09-05 16:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882805248001,"66":13972,"169":206,"85":15104,"24":46,"16":128588593538007040,"45":8927330755281369088},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-09-05 16:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882805248001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:09:01] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-05 16:09:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128588593538007040,"km_value":128588593538007.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927330755281369088,"description":"Unknown IO ID 45"} 
[2026-09-05 16:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882805248001,"power":13972,"unknown_169":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8927330755281369088}} 
[2026-09-05 16:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":174417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769804,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:09:01] local.INFO: GPS data processed {"connection_id":174417,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:09:01] local.INFO: Acknowledgment sent {"connection_id":174417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:09:02] local.INFO: TCP Data received {"connection_id":173097,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071253d08012d7c3c0005fa92b8000e00cf2e..."} 
[2026-09-05 16:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071253d08012d7c3c0005fa92b8000e00cf2e..."} 
[2026-09-05 16:09:02] local.INFO: Processing buffer {"connection_id":173097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071253d08012d7c3c0005fa92b8000e00cf2e..."} 
[2026-09-05 16:09:02] local.INFO: Packet analysis {"connection_id":173097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07125"} 
[2026-09-05 16:09:02] local.INFO: Extracted packet for processing {"connection_id":173097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07125"} 
[2026-09-05 16:09:02] local.INFO: GPS Element Parsed {"raw_longitude":763116544,"raw_latitude":100307640,"longitude_deg":76.3116544,"latitude_deg":10.030764,"altitude":14,"angle":207,"satellites":46,"speed":7,"hex_longitude":"2d7c3c00","hex_latitude":"05fa92b8","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882787840001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399881083258142720,"note":"Value kept but may cause issues"} 
[2026-09-05 16:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954141247310497792,"note":"Value kept but may cause issues"} 
[2026-09-05 16:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788604661000,"timestamp_ms":1788604661000,"timestamp_seconds":1788604661,"priority":1,"record_length":96,"hex_timestamp":"000001a071253d08"} 
[2026-09-05 16:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:09: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-09-05 16: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 16:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882787840001,"66":27713,"34":206,"87":10752,"24":7,"16":399881083258142720,"45":8954141247310497792},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,87,24,16,45]} 
[2026-09-05 16:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882787840001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:09:02] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-05 16:09:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 16:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399881083258142720,"km_value":399881083258142.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954141247310497792,"description":"Unknown IO ID 45"} 
[2026-09-05 16:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882787840001,"power":27713,"unknown_34":206,"unknown_87":10752,"ignition":7,"odometer":null,"unknown_45":8954141247310497792}} 
[2026-09-05 16:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":173097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:09:02] local.INFO: GPS data processed {"connection_id":173097,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:09:02] local.INFO: Acknowledgment sent {"connection_id":173097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:09:05] local.INFO: TCP Data received {"connection_id":174417,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071263708012d7be84005dcae98000000b21c..."} 
[2026-09-05 16:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071263708012d7be84005dcae98000000b21c..."} 
[2026-09-05 16:09:05] local.INFO: Processing buffer {"connection_id":174417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071263708012d7be84005dcae98000000b21c..."} 
[2026-09-05 16:09:05] local.INFO: Packet analysis {"connection_id":174417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07126"} 
[2026-09-05 16:09:05] local.INFO: Extracted packet for processing {"connection_id":174417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07126"} 
[2026-09-05 16:09:05] local.INFO: GPS Element Parsed {"raw_longitude":763095104,"raw_latitude":98348696,"longitude_deg":76.3095104,"latitude_deg":9.8348696,"altitude":0,"angle":178,"satellites":28,"speed":48,"hex_longitude":"2d7be840","hex_latitude":"05dcae98","is_valid_coordinates":true} 
[2026-09-05 16:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882807552001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128589057394475008,"note":"Value kept but may cause issues"} 
[2026-09-05 16:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927964073976653824,"note":"Value kept but may cause issues"} 
[2026-09-05 16:09:05] 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-09-05 16:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788604725000,"timestamp_ms":1788604725000,"timestamp_seconds":1788604725,"priority":1,"record_length":96,"hex_timestamp":"000001a071263708"} 
[2026-09-05 16:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 16:09: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-09-05 16:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882807552001,"66":13917,"169":206,"85":15104,"24":48,"16":128589057394475008,"45":8927964073976653824},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-09-05 16:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882807552001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:09:05] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-05 16:09:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128589057394475008,"km_value":128589057394475.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927964073976653824,"description":"Unknown IO ID 45"} 
[2026-09-05 16:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882807552001,"power":13917,"unknown_169":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8927964073976653824}} 
[2026-09-05 16:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":174417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769806,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:09:05] local.INFO: GPS data processed {"connection_id":174417,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:09:05] local.INFO: Acknowledgment sent {"connection_id":174417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:09:06] local.INFO: TCP Data received {"connection_id":173097,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0712573b8012d7c334005fa8160000e00da2c..."} 
[2026-09-05 16:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712573b8012d7c334005fa8160000e00da2c..."} 
[2026-09-05 16:09:06] local.INFO: Processing buffer {"connection_id":173097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712573b8012d7c334005fa8160000e00da2c..."} 
[2026-09-05 16:09:06] local.INFO: Packet analysis {"connection_id":173097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07125"} 
[2026-09-05 16:09:06] local.INFO: Extracted packet for processing {"connection_id":173097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07125"} 
[2026-09-05 16:09:06] local.INFO: GPS Element Parsed {"raw_longitude":763114304,"raw_latitude":100303200,"longitude_deg":76.3114304,"latitude_deg":10.03032,"altitude":14,"angle":218,"satellites":44,"speed":17,"hex_longitude":"2d7c3340","hex_latitude":"05fa8160","is_valid_coordinates":true} 
[2026-09-05 16:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882793216001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399881323776311296,"note":"Value kept but may cause issues"} 
[2026-09-05 16:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952030184984459264,"note":"Value kept but may cause issues"} 
[2026-09-05 16:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788604675000,"timestamp_ms":1788604675000,"timestamp_seconds":1788604675,"priority":1,"record_length":96,"hex_timestamp":"000001a0712573b8"} 
[2026-09-05 16:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-05 16:09:06] 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-09-05 16:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882793216001,"66":27821,"34":206,"87":10752,"24":17,"16":399881323776311296,"45":8952030184984459264},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,87,24,16,45]} 
[2026-09-05 16:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882793216001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:09:06] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-05 16:09:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 16:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399881323776311296,"km_value":399881323776311.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952030184984459264,"description":"Unknown IO ID 45"} 
[2026-09-05 16:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882793216001,"power":27821,"unknown_34":206,"unknown_87":10752,"ignition":17,"odometer":null,"unknown_45":8952030184984459264}} 
[2026-09-05 16:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":173097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:09:06] local.INFO: GPS data processed {"connection_id":173097,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:09:06] local.INFO: Acknowledgment sent {"connection_id":173097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:09:24] local.INFO: TCP Data received {"connection_id":171990,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071257b88012c712e400856bd10000601512e..."} 
[2026-09-05 16:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071257b88012c712e400856bd10000601512e..."} 
[2026-09-05 16:09:24] local.INFO: Processing buffer {"connection_id":171990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071257b88012c712e400856bd10000601512e..."} 
[2026-09-05 16:09:24] local.INFO: Packet analysis {"connection_id":171990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07125"} 
[2026-09-05 16:09:24] local.INFO: Extracted packet for processing {"connection_id":171990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07125"} 
[2026-09-05 16:09:24] local.INFO: GPS Element Parsed {"raw_longitude":745614912,"raw_latitude":139902224,"longitude_deg":74.5614912,"latitude_deg":13.9902224,"altitude":6,"angle":337,"satellites":46,"speed":54,"hex_longitude":"2c712e40","hex_latitude":"0856bd10","is_valid_coordinates":true} 
[2026-09-05 16:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882796288001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1283860214054912,"note":"Value kept but may cause issues"} 
[2026-09-05 16:09:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8157355967120973824,"note":"Value kept but may cause issues"} 
[2026-09-05 16:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788604677000,"timestamp_ms":1788604677000,"timestamp_seconds":1788604677,"priority":1,"record_length":96,"hex_timestamp":"000001a071257b88"} 
[2026-09-05 16:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:09: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-09-05 16:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 16:09:24] 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-09-05 16:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882796288001,"66":28148,"115":206,"9":56064,"24":54,"16":1283860214054912,"44":8157355967120973824},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,9,24,16,44]} 
[2026-09-05 16:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882796288001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:09:24] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-05 16:09:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1283860214054912,"km_value":1283860214054.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:09:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":8157355967120973824,"description":"Unknown IO ID 44"} 
[2026-09-05 16:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882796288001,"power":28148,"unknown_115":206,"unknown_9":56064,"ignition":54,"odometer":null,"unknown_44":8157355967120973824}} 
[2026-09-05 16:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":171990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769808,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:09:24] local.INFO: GPS data processed {"connection_id":171990,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:09:24] local.INFO: Acknowledgment sent {"connection_id":171990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:09:37] local.INFO: TCP Data received {"connection_id":173097,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07125ae50012d7c214005fa6388000d00d22c..."} 
[2026-09-05 16:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07125ae50012d7c214005fa6388000d00d22c..."} 
[2026-09-05 16:09:37] local.INFO: Processing buffer {"connection_id":173097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07125ae50012d7c214005fa6388000d00d22c..."} 
[2026-09-05 16:09:37] local.INFO: Packet analysis {"connection_id":173097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07125"} 
[2026-09-05 16:09:37] local.INFO: Extracted packet for processing {"connection_id":173097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07125"} 
[2026-09-05 16:09:37] local.INFO: GPS Element Parsed {"raw_longitude":763109696,"raw_latitude":100295560,"longitude_deg":76.3109696,"latitude_deg":10.029556,"altitude":13,"angle":210,"satellites":44,"speed":23,"hex_longitude":"2d7c2140","hex_latitude":"05fa6388","is_valid_coordinates":true} 
[2026-09-05 16:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882796800001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399881757568008192,"note":"Value kept but may cause issues"} 
[2026-09-05 16:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949567278937104384,"note":"Value kept but may cause issues"} 
[2026-09-05 16:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788604690000,"timestamp_ms":1788604690000,"timestamp_seconds":1788604690,"priority":1,"record_length":96,"hex_timestamp":"000001a07125ae50"} 
[2026-09-05 16:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 16:09:37] 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-09-05 16:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882796800001,"66":27843,"34":206,"87":10752,"24":23,"16":399881757568008192,"45":8949567278937104384},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,87,24,16,45]} 
[2026-09-05 16:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882796800001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:09:37] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-05 16:09:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 16:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399881757568008192,"km_value":399881757568008.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949567278937104384,"description":"Unknown IO ID 45"} 
[2026-09-05 16:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882796800001,"power":27843,"unknown_34":206,"unknown_87":10752,"ignition":23,"odometer":null,"unknown_45":8949567278937104384}} 
[2026-09-05 16:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":173097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:09:37] local.INFO: GPS data processed {"connection_id":173097,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:09:37] local.INFO: Acknowledgment sent {"connection_id":173097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:09:47] local.INFO: TCP Data received {"connection_id":173099,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173099,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:09:47] local.INFO: Processing buffer {"connection_id":173099,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:09:47] local.INFO: IMEI packet received {"connection_id":173099,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":173099,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:09:52] local.INFO: TCP Data received {"connection_id":173099,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173099,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:09:52] local.INFO: Processing buffer {"connection_id":173099,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:09:52] local.INFO: IMEI packet received {"connection_id":173099,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":173099,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:09:54] local.INFO: TCP Data received {"connection_id":173099,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071258b28012c7123400856d020000601452d..."} 
[2026-09-05 16:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071258b28012c7123400856d020000601452d..."} 
[2026-09-05 16:09:54] local.INFO: Processing buffer {"connection_id":173099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071258b28012c7123400856d020000601452d..."} 
[2026-09-05 16:09:54] local.INFO: Packet analysis {"connection_id":173099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07125"} 
[2026-09-05 16:09:54] local.INFO: Extracted packet for processing {"connection_id":173099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07125"} 
[2026-09-05 16:09:54] local.INFO: GPS Element Parsed {"raw_longitude":745612096,"raw_latitude":139907104,"longitude_deg":74.5612096,"latitude_deg":13.9907104,"altitude":6,"angle":325,"satellites":45,"speed":56,"hex_longitude":"2c712340","hex_latitude":"0856d020","is_valid_coordinates":true} 
[2026-09-05 16:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882797312001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1284135091961856,"note":"Value kept but may cause issues"} 
[2026-09-05 16:09:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8155526379773693952,"note":"Value kept but may cause issues"} 
[2026-09-05 16:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788604681000,"timestamp_ms":1788604681000,"timestamp_seconds":1788604681,"priority":1,"record_length":96,"hex_timestamp":"000001a071258b28"} 
[2026-09-05 16:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:09:54] 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-09-05 16:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-05 16:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173099,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173099,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882797312001,"66":28104,"115":206,"9":56064,"24":56,"16":1284135091961856,"44":8155526379773693952},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,9,24,16,44]} 
[2026-09-05 16:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882797312001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:09:54] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-05 16:09:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1284135091961856,"km_value":1284135091961.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:09:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8155526379773693952,"description":"Unknown IO ID 44"} 
[2026-09-05 16:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882797312001,"power":28104,"unknown_115":206,"unknown_9":56064,"ignition":56,"odometer":null,"unknown_44":8155526379773693952}} 
[2026-09-05 16:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":173099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769810,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:09:54] local.INFO: GPS data processed {"connection_id":173099,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:09:54] local.INFO: Acknowledgment sent {"connection_id":173099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:09:56] local.INFO: TCP Data received {"connection_id":174418,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:09:56] local.INFO: Processing buffer {"connection_id":174418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:09:56] local.INFO: IMEI packet received {"connection_id":174418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":174418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:10:13] local.INFO: TCP Data received {"connection_id":174418,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:10:13] local.INFO: Processing buffer {"connection_id":174418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:10:13] local.INFO: IMEI packet received {"connection_id":174418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":174418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:10:18] local.INFO: TCP Data received {"connection_id":174418,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07125f888012d7c0f0005fa4548000c00d22c..."} 
[2026-09-05 16:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07125f888012d7c0f0005fa4548000c00d22c..."} 
[2026-09-05 16:10:18] local.INFO: Processing buffer {"connection_id":174418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07125f888012d7c0f0005fa4548000c00d22c..."} 
[2026-09-05 16:10:18] local.INFO: Packet analysis {"connection_id":174418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07125"} 
[2026-09-05 16:10:18] local.INFO: Extracted packet for processing {"connection_id":174418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07125"} 
[2026-09-05 16:10:18] local.INFO: GPS Element Parsed {"raw_longitude":763105024,"raw_latitude":100287816,"longitude_deg":76.3105024,"latitude_deg":10.0287816,"altitude":12,"angle":210,"satellites":44,"speed":6,"hex_longitude":"2d7c0f00","hex_latitude":"05fa4548","is_valid_coordinates":true} 
[2026-09-05 16:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882800640001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399882191359705088,"note":"Value kept but may cause issues"} 
[2026-09-05 16:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944500729354356736,"note":"Value kept but may cause issues"} 
[2026-09-05 16:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788604709000,"timestamp_ms":1788604709000,"timestamp_seconds":1788604709,"priority":1,"record_length":96,"hex_timestamp":"000001a07125f888"} 
[2026-09-05 16:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 16:10:18] 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-09-05 16:10:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882800640001,"66":27908,"34":206,"87":10752,"24":6,"16":399882191359705088,"45":8944500729354356736},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,87,24,16,45]} 
[2026-09-05 16:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882800640001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:10:18] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-05 16:10:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 16:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399882191359705088,"km_value":399882191359705.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944500729354356736,"description":"Unknown IO ID 45"} 
[2026-09-05 16:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882800640001,"power":27908,"unknown_34":206,"unknown_87":10752,"ignition":6,"odometer":null,"unknown_45":8944500729354356736}} 
[2026-09-05 16:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":174418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:10:18] local.INFO: GPS data processed {"connection_id":174418,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:10:18] local.INFO: Acknowledgment sent {"connection_id":174418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:10:26] local.INFO: TCP Data received {"connection_id":173099,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071259ac8012c7113c00856e110000501392d..."} 
[2026-09-05 16:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071259ac8012c7113c00856e110000501392d..."} 
[2026-09-05 16:10:26] local.INFO: Processing buffer {"connection_id":173099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071259ac8012c7113c00856e110000501392d..."} 
[2026-09-05 16:10:26] local.INFO: Packet analysis {"connection_id":173099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07125"} 
[2026-09-05 16:10:26] local.INFO: Extracted packet for processing {"connection_id":173099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07125"} 
[2026-09-05 16:10:26] local.INFO: GPS Element Parsed {"raw_longitude":745608128,"raw_latitude":139911440,"longitude_deg":74.5608128,"latitude_deg":13.991144,"altitude":5,"angle":313,"satellites":45,"speed":57,"hex_longitude":"2c7113c0","hex_latitude":"0856e110","is_valid_coordinates":true} 
[2026-09-05 16:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882798336001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1284414264836096,"note":"Value kept but may cause issues"} 
[2026-09-05 16:10:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8152430155031126016,"note":"Value kept but may cause issues"} 
[2026-09-05 16:10:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788604685000,"timestamp_ms":1788604685000,"timestamp_seconds":1788604685,"priority":1,"record_length":96,"hex_timestamp":"000001a071259ac8"} 
[2026-09-05 16:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:10:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 16:10:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:10:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173099,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173099,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:10:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882798336001,"66":28050,"115":206,"9":56064,"24":57,"16":1284414264836096,"44":8152430155031126016},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,9,24,16,44]} 
[2026-09-05 16:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882798336001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:10:26] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-05 16:10:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1284414264836096,"km_value":1284414264836.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:10:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":8152430155031126016,"description":"Unknown IO ID 44"} 
[2026-09-05 16:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882798336001,"power":28050,"unknown_115":206,"unknown_9":56064,"ignition":57,"odometer":null,"unknown_44":8152430155031126016}} 
[2026-09-05 16:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":173099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769812,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:10:26] local.INFO: GPS data processed {"connection_id":173099,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:10:26] local.INFO: Acknowledgment sent {"connection_id":173099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:10:47] local.INFO: TCP Data received {"connection_id":171991,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171991,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:10:47] local.INFO: Processing buffer {"connection_id":171991,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:10:47] local.INFO: IMEI packet received {"connection_id":171991,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":171991,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:10:52] local.INFO: TCP Data received {"connection_id":171991,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171991,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:10:52] local.INFO: Processing buffer {"connection_id":171991,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:10:52] local.INFO: IMEI packet received {"connection_id":171991,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":171991,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:10:56] local.INFO: TCP Data received {"connection_id":173100,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:10:56] local.INFO: Processing buffer {"connection_id":173100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:10:56] local.INFO: IMEI packet received {"connection_id":173100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":173100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:10:58] local.INFO: TCP Data received {"connection_id":171991,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07125aa68012c7101800856ee700005012b2d..."} 
[2026-09-05 16:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07125aa68012c7101800856ee700005012b2d..."} 
[2026-09-05 16:10:58] local.INFO: Processing buffer {"connection_id":171991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07125aa68012c7101800856ee700005012b2d..."} 
[2026-09-05 16:10:58] local.INFO: Packet analysis {"connection_id":171991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07125"} 
[2026-09-05 16:10:58] local.INFO: Extracted packet for processing {"connection_id":171991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07125"} 
[2026-09-05 16:10:58] local.INFO: GPS Element Parsed {"raw_longitude":745603456,"raw_latitude":139914864,"longitude_deg":74.5603456,"latitude_deg":13.9914864,"altitude":5,"angle":299,"satellites":45,"speed":57,"hex_longitude":"2c710180","hex_latitude":"0856ee70","is_valid_coordinates":true} 
[2026-09-05 16:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882799360001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1284689142743040,"note":"Value kept but may cause issues"} 
[2026-09-05 16:10:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8148067292893220864,"note":"Value kept but may cause issues"} 
[2026-09-05 16:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788604689000,"timestamp_ms":1788604689000,"timestamp_seconds":1788604689,"priority":1,"record_length":96,"hex_timestamp":"000001a07125aa68"} 
[2026-09-05 16:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 16:10:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:10:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882799360001,"66":27517,"115":206,"9":56064,"24":57,"16":1284689142743040,"44":8148067292893220864},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,9,24,16,44]} 
[2026-09-05 16:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882799360001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:10:58] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-05 16:10:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1284689142743040,"km_value":1284689142743.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:10:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":8148067292893220864,"description":"Unknown IO ID 44"} 
[2026-09-05 16:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882799360001,"power":27517,"unknown_115":206,"unknown_9":56064,"ignition":57,"odometer":null,"unknown_44":8148067292893220864}} 
[2026-09-05 16:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":171991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769813,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:10:58] local.INFO: GPS data processed {"connection_id":171991,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:10:58] local.INFO: Acknowledgment sent {"connection_id":171991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:11:00] local.INFO: TCP Data received {"connection_id":173100,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:11:00] local.INFO: Processing buffer {"connection_id":173100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:11:00] local.INFO: IMEI packet received {"connection_id":173100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":173100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:11:03] local.INFO: TCP Data received {"connection_id":173100,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071264a90012d7bfe8005fa27b0000d00cf2c..."} 
[2026-09-05 16:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071264a90012d7bfe8005fa27b0000d00cf2c..."} 
[2026-09-05 16:11:03] local.INFO: Processing buffer {"connection_id":173100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071264a90012d7bfe8005fa27b0000d00cf2c..."} 
[2026-09-05 16:11:03] local.INFO: Packet analysis {"connection_id":173100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07126"} 
[2026-09-05 16:11:03] local.INFO: Extracted packet for processing {"connection_id":173100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07126"} 
[2026-09-05 16:11:03] local.INFO: GPS Element Parsed {"raw_longitude":763100800,"raw_latitude":100280240,"longitude_deg":76.31008,"latitude_deg":10.028024,"altitude":13,"angle":207,"satellites":44,"speed":14,"hex_longitude":"2d7bfe80","hex_latitude":"05fa27b0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882805504001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399882612266500096,"note":"Value kept but may cause issues"} 
[2026-09-05 16:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939363811027404800,"note":"Value kept but may cause issues"} 
[2026-09-05 16:11:03] 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-09-05 16:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788604730000,"timestamp_ms":1788604730000,"timestamp_seconds":1788604730,"priority":1,"record_length":96,"hex_timestamp":"000001a071264a90"} 
[2026-09-05 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-09-05 16:11: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-09-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 16:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882805504001,"66":27767,"35":206,"87":10752,"24":14,"16":399882612266500096,"45":8939363811027404800},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,87,24,16,45]} 
[2026-09-05 16:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882805504001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:11:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-05 16:11:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 16:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399882612266500096,"km_value":399882612266500.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939363811027404800,"description":"Unknown IO ID 45"} 
[2026-09-05 16:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882805504001,"power":27767,"unknown_35":206,"unknown_87":10752,"ignition":14,"odometer":null,"unknown_45":8939363811027404800}} 
[2026-09-05 16:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":173100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:11:03] local.INFO: GPS data processed {"connection_id":173100,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:11:03] local.INFO: Acknowledgment sent {"connection_id":173100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:11:30] local.INFO: TCP Data received {"connection_id":171991,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0712846600100000000000000000000000000..."} 
[2026-09-05 16:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712846600100000000000000000000000000..."} 
[2026-09-05 16:11:30] local.INFO: Processing buffer {"connection_id":171991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712846600100000000000000000000000000..."} 
[2026-09-05 16:11:30] local.INFO: Packet analysis {"connection_id":171991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07128"} 
[2026-09-05 16:11:30] local.INFO: Extracted packet for processing {"connection_id":171991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07128"} 
[2026-09-05 16:11:30] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 16:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882829056001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1286462964236288,"note":"Value kept but may cause issues"} 
[2026-09-05 16:11:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8043710445282422784,"note":"Value kept but may cause issues"} 
[2026-09-05 16:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788604860000,"timestamp_ms":1788604860000,"timestamp_seconds":1788604860,"priority":1,"record_length":96,"hex_timestamp":"000001a071284660"} 
[2026-09-05 16:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-05 16:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":171991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":171991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":171991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":171991,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 16:11:30] local.INFO: GPS data processed {"connection_id":171991,"processed":0,"errors":0,"total":1} 
[2026-09-05 16:11:30] local.INFO: Acknowledgment sent {"connection_id":171991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:11:35] local.INFO: TCP Data received {"connection_id":173100,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0712807e0012d7bb8c005f99cc0000e00b12e..."} 
[2026-09-05 16:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712807e0012d7bb8c005f99cc0000e00b12e..."} 
[2026-09-05 16:11:35] local.INFO: Processing buffer {"connection_id":173100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712807e0012d7bb8c005f99cc0000e00b12e..."} 
[2026-09-05 16:11:35] local.INFO: Packet analysis {"connection_id":173100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07128"} 
[2026-09-05 16:11:35] local.INFO: Extracted packet for processing {"connection_id":173100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07128"} 
[2026-09-05 16:11:35] local.INFO: GPS Element Parsed {"raw_longitude":763082944,"raw_latitude":100244672,"longitude_deg":76.3082944,"latitude_deg":10.0244672,"altitude":14,"angle":177,"satellites":46,"speed":2,"hex_longitude":"2d7bb8c0","hex_latitude":"05f99cc0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882839040001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399884575066554368,"note":"Value kept but may cause issues"} 
[2026-09-05 16:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915156963019290624,"note":"Value kept but may cause issues"} 
[2026-09-05 16:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788604844000,"timestamp_ms":1788604844000,"timestamp_seconds":1788604844,"priority":1,"record_length":96,"hex_timestamp":"000001a0712807e0"} 
[2026-09-05 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-09-05 16:11:35] 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-09-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 16:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882839040001,"66":27865,"250":206,"87":12800,"24":2,"16":399884575066554368,"45":8915156963019290624},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,87,24,16,45]} 
[2026-09-05 16:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882839040001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:11:35] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-05 16:11:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399884575066554368,"km_value":399884575066554.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915156963019290624,"description":"Unknown IO ID 45"} 
[2026-09-05 16:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882839040001,"power":27865,"unknown_250":206,"unknown_87":12800,"ignition":2,"odometer":null,"unknown_45":8915156963019290624}} 
[2026-09-05 16:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":173100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:11:35] local.INFO: GPS data processed {"connection_id":173100,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:11:35] local.INFO: Acknowledgment sent {"connection_id":173100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:11:56] local.INFO: TCP Data received {"connection_id":171704,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:11:56] local.INFO: Processing buffer {"connection_id":171704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:11:56] local.INFO: IMEI packet received {"connection_id":171704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":171704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:11:56] local.INFO: TCP Data received {"connection_id":171704,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:11:56] local.INFO: Processing buffer {"connection_id":171704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:11:56] local.INFO: IMEI packet received {"connection_id":171704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":171704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:11:59] local.INFO: TCP Data received {"connection_id":171704,"ip":"117.224.141.86","data_length":812,"data_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a071..."} 
[2026-09-05 16:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171704,"packet_length":812,"packet_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a071..."} 
[2026-09-05 16:11:59] local.INFO: Processing buffer {"connection_id":171704,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a071..."} 
[2026-09-05 16:11:59] local.INFO: IMEI packet received {"connection_id":171704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":171704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:12:00] local.INFO: TCP Data received {"connection_id":171992,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:12:00] local.INFO: Processing buffer {"connection_id":171992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:12:00] local.INFO: IMEI packet received {"connection_id":171992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":171992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:12:01] local.INFO: TCP Data received {"connection_id":171992,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:12:01] local.INFO: Processing buffer {"connection_id":171992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:12:01] local.INFO: IMEI packet received {"connection_id":171992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":171992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:12:06] local.INFO: TCP Data received {"connection_id":171992,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:12:06] local.INFO: Processing buffer {"connection_id":171992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:12:06] local.INFO: IMEI packet received {"connection_id":171992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":171992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:12:07] local.INFO: TCP Data received {"connection_id":171704,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071281f50012c6f56c0085783d00022013d2b..."} 
[2026-09-05 16:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071281f50012c6f56c0085783d00022013d2b..."} 
[2026-09-05 16:12:07] local.INFO: Processing buffer {"connection_id":171704,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a07127cd48012c6f8140085759f00025013f2a..."} 
[2026-09-05 16:12:07] local.INFO: Packet analysis {"connection_id":171704,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07127"} 
[2026-09-05 16:12:07] local.INFO: Extracted packet for processing {"connection_id":171704,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07127"} 
[2026-09-05 16:12:07] local.INFO: GPS Element Parsed {"raw_longitude":745505088,"raw_latitude":139942384,"longitude_deg":74.5505088,"latitude_deg":13.9942384,"altitude":37,"angle":319,"satellites":42,"speed":28,"hex_longitude":"2c6f8140","hex_latitude":"085759f0","is_valid_coordinates":true} 
[2026-09-05 16:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1286462964236288,"note":"Value kept but may cause issues"} 
[2026-09-05 16:12:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,117,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 16:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788604829000,"timestamp_ms":1788604829000,"timestamp_seconds":1788604829,"priority":1,"record_length":96,"hex_timestamp":"000001a07127cd48"} 
[2026-09-05 16:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-05 16:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:12: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-09-05 16:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171704,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171704,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28104,"117":206,"9":56064,"24":28,"16":1286462964236288},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,9,24,16]} 
[2026-09-05 16:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-05 16:12:07] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-05 16:12:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1286462964236288,"km_value":1286462964236.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:12:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28104,"unknown_117":206,"unknown_9":56064,"ignition":28,"odometer":null}} 
[2026-09-05 16:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":171704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769816,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:12:08] local.INFO: GPS data processed {"connection_id":171704,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:12:08] local.INFO: Acknowledgment sent {"connection_id":171704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:12:08] local.INFO: Packet analysis {"connection_id":171704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07128"} 
[2026-09-05 16:12:08] local.INFO: Extracted packet for processing {"connection_id":171704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07128"} 
[2026-09-05 16:12:08] local.INFO: GPS Element Parsed {"raw_longitude":745494208,"raw_latitude":139953104,"longitude_deg":74.5494208,"latitude_deg":13.9953104,"altitude":34,"angle":317,"satellites":43,"speed":0,"hex_longitude":"2c6f56c0","hex_latitude":"085783d0","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882836224001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1286462964236288,"note":"Value kept but may cause issues"} 
[2026-09-05 16:12:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8034773614775103488,"note":"Value kept but may cause issues"} 
[2026-09-05 16:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788604850000,"timestamp_ms":1788604850000,"timestamp_seconds":1788604850,"priority":1,"record_length":96,"hex_timestamp":"000001a071281f50"} 
[2026-09-05 16:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:12:08] 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-09-05 16: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 16:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171704,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171704,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882836224001,"66":27843,"117":206,"9":56064,"24":0,"16":1286462964236288,"44":8034773614775103488},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,9,24,16,44]} 
[2026-09-05 16:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882836224001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:12:08] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-05 16:12:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1286462964236288,"km_value":1286462964236.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:12:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":8034773614775103488,"description":"Unknown IO ID 44"} 
[2026-09-05 16:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882836224001,"power":27843,"unknown_117":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":8034773614775103488}} 
[2026-09-05 16:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":171704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769817,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:12:08] local.INFO: GPS data processed {"connection_id":171704,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:12:08] local.INFO: Acknowledgment sent {"connection_id":171704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:12:08] local.INFO: TCP Data received {"connection_id":171992,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071281398012d7bb90005f99ba8000e00a52e..."} 
[2026-09-05 16:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071281398012d7bb90005f99ba8000e00a52e..."} 
[2026-09-05 16:12:08] local.INFO: Processing buffer {"connection_id":171992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071281398012d7bb90005f99ba8000e00a52e..."} 
[2026-09-05 16:12:08] local.INFO: Packet analysis {"connection_id":171992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07128"} 
[2026-09-05 16:12:08] local.INFO: Extracted packet for processing {"connection_id":171992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07128"} 
[2026-09-05 16:12:08] local.INFO: GPS Element Parsed {"raw_longitude":763083008,"raw_latitude":100244392,"longitude_deg":76.3083008,"latitude_deg":10.0244392,"altitude":14,"angle":165,"satellites":46,"speed":4,"hex_longitude":"2d7bb900","hex_latitude":"05f99ba8","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882840064001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399884587951456256,"note":"Value kept but may cause issues"} 
[2026-09-05 16:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915086594275065856,"note":"Value kept but may cause issues"} 
[2026-09-05 16:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788604847000,"timestamp_ms":1788604847000,"timestamp_seconds":1788604847,"priority":1,"record_length":96,"hex_timestamp":"000001a071281398"} 
[2026-09-05 16:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:12: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-09-05 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 16:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882840064001,"66":27865,"250":206,"87":12800,"24":4,"16":399884587951456256,"45":8915086594275065856},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,87,24,16,45]} 
[2026-09-05 16:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882840064001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:12:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-05 16:12:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399884587951456256,"km_value":399884587951456.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915086594275065856,"description":"Unknown IO ID 45"} 
[2026-09-05 16:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882840064001,"power":27865,"unknown_250":206,"unknown_87":12800,"ignition":4,"odometer":null,"unknown_45":8915086594275065856}} 
[2026-09-05 16:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":171992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:12:08] local.INFO: GPS data processed {"connection_id":171992,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:12:08] local.INFO: Acknowledgment sent {"connection_id":171992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:12:09] local.INFO: TCP Data received {"connection_id":171704,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071287158012c6f56c0085783d00022013d2b..."} 
[2026-09-05 16:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071287158012c6f56c0085783d00022013d2b..."} 
[2026-09-05 16:12:09] local.INFO: Processing buffer {"connection_id":171704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071287158012c6f56c0085783d00022013d2b..."} 
[2026-09-05 16:12:09] local.INFO: Packet analysis {"connection_id":171704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07128"} 
[2026-09-05 16:12:09] local.INFO: Extracted packet for processing {"connection_id":171704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07128"} 
[2026-09-05 16:12:09] local.INFO: GPS Element Parsed {"raw_longitude":745494208,"raw_latitude":139953104,"longitude_deg":74.5494208,"latitude_deg":13.9953104,"altitude":34,"angle":317,"satellites":43,"speed":0,"hex_longitude":"2c6f56c0","hex_latitude":"085783d0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882841600001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1286462964236288,"note":"Value kept but may cause issues"} 
[2026-09-05 16:12:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8022810928267644928,"note":"Value kept but may cause issues"} 
[2026-09-05 16:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788604871000,"timestamp_ms":1788604871000,"timestamp_seconds":1788604871,"priority":1,"record_length":96,"hex_timestamp":"000001a071287158"} 
[2026-09-05 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-09-05 16:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 16:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171704,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171704,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882841600001,"66":28028,"117":206,"9":56064,"24":0,"16":1286462964236288,"44":8022810928267644928},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,9,24,16,44]} 
[2026-09-05 16:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882841600001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:12:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-05 16:12:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1286462964236288,"km_value":1286462964236.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:12:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":8022810928267644928,"description":"Unknown IO ID 44"} 
[2026-09-05 16:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882841600001,"power":28028,"unknown_117":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":8022810928267644928}} 
[2026-09-05 16:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":171704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769819,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:12:10] local.INFO: GPS data processed {"connection_id":171704,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:12:10] local.INFO: Acknowledgment sent {"connection_id":171704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:12:12] local.INFO: TCP Data received {"connection_id":171992,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0712832d8012d7bba0005f99810000c00992c..."} 
[2026-09-05 16:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712832d8012d7bba0005f99810000c00992c..."} 
[2026-09-05 16:12:12] local.INFO: Processing buffer {"connection_id":171992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712832d8012d7bba0005f99810000c00992c..."} 
[2026-09-05 16:12:12] local.INFO: Packet analysis {"connection_id":171992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07128"} 
[2026-09-05 16:12:12] local.INFO: Extracted packet for processing {"connection_id":171992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07128"} 
[2026-09-05 16:12:12] local.INFO: GPS Element Parsed {"raw_longitude":763083264,"raw_latitude":100243472,"longitude_deg":76.3083264,"latitude_deg":10.0243472,"altitude":12,"angle":153,"satellites":44,"speed":5,"hex_longitude":"2d7bba00","hex_latitude":"05f99810","is_valid_coordinates":true} 
[2026-09-05 16:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882840832001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399884639491063808,"note":"Value kept but may cause issues"} 
[2026-09-05 16:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915156963019171840,"note":"Value kept but may cause issues"} 
[2026-09-05 16:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788604855000,"timestamp_ms":1788604855000,"timestamp_seconds":1788604855,"priority":1,"record_length":96,"hex_timestamp":"000001a0712832d8"} 
[2026-09-05 16:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:12:12] 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-09-05 16:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 16:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882840832001,"66":28028,"250":206,"87":12800,"24":5,"16":399884639491063808,"45":8915156963019171840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,87,24,16,45]} 
[2026-09-05 16:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882840832001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:12:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-05 16:12:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399884639491063808,"km_value":399884639491063.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915156963019171840,"description":"Unknown IO ID 45"} 
[2026-09-05 16:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882840832001,"power":28028,"unknown_250":206,"unknown_87":12800,"ignition":5,"odometer":null,"unknown_45":8915156963019171840}} 
[2026-09-05 16:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":171992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:12:12] local.INFO: GPS data processed {"connection_id":171992,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:12:12] local.INFO: Acknowledgment sent {"connection_id":171992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:12:52] local.INFO: TCP Data received {"connection_id":174420,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:12:52] local.INFO: Processing buffer {"connection_id":174420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:12:52] local.INFO: IMEI packet received {"connection_id":174420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":174420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:12:53] local.INFO: TCP Data received {"connection_id":174420,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:12:53] local.INFO: Processing buffer {"connection_id":174420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:12:53] local.INFO: IMEI packet received {"connection_id":174420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":174420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:12:56] local.INFO: TCP Data received {"connection_id":171994,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:12:56] local.INFO: Processing buffer {"connection_id":171994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:12:56] local.INFO: IMEI packet received {"connection_id":171994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":171994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:12:57] local.INFO: TCP Data received {"connection_id":174420,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:12:57] local.INFO: Processing buffer {"connection_id":174420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:12:57] local.INFO: IMEI packet received {"connection_id":174420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":174420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:13:01] local.INFO: TCP Data received {"connection_id":171994,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:13:01] local.INFO: Processing buffer {"connection_id":171994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:13:01] local.INFO: IMEI packet received {"connection_id":171994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":171994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:13:02] local.INFO: TCP Data received {"connection_id":171994,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0712865a0012d7bc0c005f98db0000c008e2b..."} 
[2026-09-05 16:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712865a0012d7bc0c005f98db0000c008e2b..."} 
[2026-09-05 16:13:02] local.INFO: Processing buffer {"connection_id":171994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712865a0012d7bc0c005f98db0000c008e2b..."} 
[2026-09-05 16:13:02] local.INFO: Packet analysis {"connection_id":171994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07128"} 
[2026-09-05 16:13:02] local.INFO: Extracted packet for processing {"connection_id":171994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07128"} 
[2026-09-05 16:13:02] local.INFO: GPS Element Parsed {"raw_longitude":763084992,"raw_latitude":100240816,"longitude_deg":76.3084992,"latitude_deg":10.0240816,"altitude":12,"angle":142,"satellites":43,"speed":17,"hex_longitude":"2d7bc0c0","hex_latitude":"05f98db0","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882842880001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399884794109886464,"note":"Value kept but may cause issues"} 
[2026-09-05 16:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915438437995646976,"note":"Value kept but may cause issues"} 
[2026-09-05 16:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788604868000,"timestamp_ms":1788604868000,"timestamp_seconds":1788604868,"priority":1,"record_length":96,"hex_timestamp":"000001a0712865a0"} 
[2026-09-05 16:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:13: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-09-05 16: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-05 16:13: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-09-05 16: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-09-05 16:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882842880001,"66":27974,"250":206,"87":12800,"24":17,"16":399884794109886464,"45":8915438437995646976},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,87,24,16,45]} 
[2026-09-05 16:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882842880001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:13:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-05 16:13:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399884794109886464,"km_value":399884794109886.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915438437995646976,"description":"Unknown IO ID 45"} 
[2026-09-05 16:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882842880001,"power":27974,"unknown_250":206,"unknown_87":12800,"ignition":17,"odometer":null,"unknown_45":8915438437995646976}} 
[2026-09-05 16:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":171994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:13:02] local.INFO: GPS data processed {"connection_id":171994,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:13:02] local.INFO: Acknowledgment sent {"connection_id":171994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:13:11] local.INFO: TCP Data received {"connection_id":174420,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07128c360012c6f2c400857af200021013b2b..."} 
[2026-09-05 16:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07128c360012c6f2c400857af200021013b2b..."} 
[2026-09-05 16:13:11] local.INFO: Processing buffer {"connection_id":174420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07128c360012c6f2c400857af200021013b2b..."} 
[2026-09-05 16:13:11] local.INFO: Packet analysis {"connection_id":174420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07128"} 
[2026-09-05 16:13:11] local.INFO: Extracted packet for processing {"connection_id":174420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07128"} 
[2026-09-05 16:13:11] local.INFO: GPS Element Parsed {"raw_longitude":745483328,"raw_latitude":139964192,"longitude_deg":74.5483328,"latitude_deg":13.9964192,"altitude":33,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2c6f2c40","hex_latitude":"0857af20","is_valid_coordinates":true} 
[2026-09-05 16:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882846976001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1286462964236288,"note":"Value kept but may cause issues"} 
[2026-09-05 16:13:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8022810928267644928,"note":"Value kept but may cause issues"} 
[2026-09-05 16:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788604892000,"timestamp_ms":1788604892000,"timestamp_seconds":1788604892,"priority":1,"record_length":96,"hex_timestamp":"000001a07128c360"} 
[2026-09-05 16:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-05 16:13:11] 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-09-05 16:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882846976001,"66":27984,"117":206,"9":56064,"24":0,"16":1286462964236288,"44":8022810928267644928},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,9,24,16,44]} 
[2026-09-05 16:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882846976001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:13:11] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-05 16:13:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1286462964236288,"km_value":1286462964236.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:13:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":8022810928267644928,"description":"Unknown IO ID 44"} 
[2026-09-05 16:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882846976001,"power":27984,"unknown_117":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":8022810928267644928}} 
[2026-09-05 16:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":174420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769822,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:13:11] local.INFO: GPS data processed {"connection_id":174420,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:13:11] local.INFO: Acknowledgment sent {"connection_id":174420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:13:33] local.INFO: TCP Data received {"connection_id":171994,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071289868012d7bd80005f97278000c008d2d..."} 
[2026-09-05 16:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071289868012d7bd80005f97278000c008d2d..."} 
[2026-09-05 16:13:33] local.INFO: Processing buffer {"connection_id":171994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071289868012d7bd80005f97278000c008d2d..."} 
[2026-09-05 16:13:33] local.INFO: Packet analysis {"connection_id":171994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07128"} 
[2026-09-05 16:13:33] local.INFO: Extracted packet for processing {"connection_id":171994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07128"} 
[2026-09-05 16:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763090944,"raw_latitude":100233848,"longitude_deg":76.3090944,"latitude_deg":10.0233848,"altitude":12,"angle":141,"satellites":45,"speed":34,"hex_longitude":"2d7bd800","hex_latitude":"05f97278","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882846208001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399885232196550656,"note":"Value kept but may cause issues"} 
[2026-09-05 16:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917338394087763968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788604881000,"timestamp_ms":1788604881000,"timestamp_seconds":1788604881,"priority":1,"record_length":96,"hex_timestamp":"000001a071289868"} 
[2026-09-05 16:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:13: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-09-05 16: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 16:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882846208001,"66":27800,"250":206,"87":12800,"24":34,"16":399885232196550656,"45":8917338394087763968},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,87,24,16,45]} 
[2026-09-05 16:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882846208001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:13:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-05 16:13:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399885232196550656,"km_value":399885232196550.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917338394087763968,"description":"Unknown IO ID 45"} 
[2026-09-05 16:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882846208001,"power":27800,"unknown_250":206,"unknown_87":12800,"ignition":34,"odometer":null,"unknown_45":8917338394087763968}} 
[2026-09-05 16:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":171994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:13:33] local.INFO: GPS data processed {"connection_id":171994,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:13:33] local.INFO: Acknowledgment sent {"connection_id":171994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:13:54] local.INFO: TCP Data received {"connection_id":174421,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:13:54] local.INFO: Processing buffer {"connection_id":174421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:13:54] local.INFO: IMEI packet received {"connection_id":174421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":174421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:13:56] local.INFO: TCP Data received {"connection_id":174421,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:13:56] local.INFO: Processing buffer {"connection_id":174421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:13:56] local.INFO: IMEI packet received {"connection_id":174421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":174421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:13:59] local.INFO: TCP Data received {"connection_id":171995,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:13:59] local.INFO: Processing buffer {"connection_id":171995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:13:59] local.INFO: IMEI packet received {"connection_id":171995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":171995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:14:00] local.INFO: TCP Data received {"connection_id":171995,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07128fdf8012d1d2340072779080024003827..."} 
[2026-09-05 16:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07128fdf8012d1d2340072779080024003827..."} 
[2026-09-05 16:14:00] local.INFO: Processing buffer {"connection_id":171995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07128fdf8012d1d2340072779080024003827..."} 
[2026-09-05 16:14:00] local.INFO: Packet analysis {"connection_id":171995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07128"} 
[2026-09-05 16:14:00] local.INFO: Extracted packet for processing {"connection_id":171995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07128"} 
[2026-09-05 16:14:00] local.INFO: GPS Element Parsed {"raw_longitude":756884288,"raw_latitude":120027400,"longitude_deg":75.6884288,"latitude_deg":12.00274,"altitude":36,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2d1d2340","hex_latitude":"07277908","is_valid_coordinates":true} 
[2026-09-05 16:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882850816001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17978320784195584,"note":"Value kept but may cause issues"} 
[2026-09-05 16:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2099592250755975168,"note":"Value kept but may cause issues"} 
[2026-09-05 16:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788604907000,"timestamp_ms":1788604907000,"timestamp_seconds":1788604907,"priority":1,"record_length":96,"hex_timestamp":"000001a07128fdf8"} 
[2026-09-05 16:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:14:00] 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-09-05 16:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-05 16:14:00] 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-09-05 16:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882850816001,"66":12950,"195":206,"83":42752,"24":0,"16":17978320784195584,"45":2099592250755975168},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,45]} 
[2026-09-05 16:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882850816001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:14:00] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-05 16:14:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17978320784195584,"km_value":17978320784195.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2099592250755975168,"description":"Unknown IO ID 45"} 
[2026-09-05 16:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882850816001,"power":12950,"unknown_195":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2099592250755975168}} 
[2026-09-05 16:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":171995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:14:00] local.INFO: GPS data processed {"connection_id":171995,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:14:00] local.INFO: Acknowledgment sent {"connection_id":171995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:14:01] local.INFO: TCP Data received {"connection_id":174421,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:14:01] local.INFO: Processing buffer {"connection_id":174421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:14:01] local.INFO: IMEI packet received {"connection_id":174421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":174421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:14:02] local.INFO: TCP Data received {"connection_id":174421,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07128deb8012d7bed4005f95500000800952e..."} 
[2026-09-05 16:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07128deb8012d7bed4005f95500000800952e..."} 
[2026-09-05 16:14:02] local.INFO: Processing buffer {"connection_id":174421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07128deb8012d7bed4005f95500000800952e..."} 
[2026-09-05 16:14:02] local.INFO: Packet analysis {"connection_id":174421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07128"} 
[2026-09-05 16:14:02] local.INFO: Extracted packet for processing {"connection_id":174421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07128"} 
[2026-09-05 16:14:02] local.INFO: GPS Element Parsed {"raw_longitude":763096384,"raw_latitude":100226304,"longitude_deg":76.3096384,"latitude_deg":10.0226304,"altitude":8,"angle":149,"satellites":46,"speed":17,"hex_longitude":"2d7bed40","hex_latitude":"05f95500","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882849536001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399885683168116736,"note":"Value kept but may cause issues"} 
[2026-09-05 16:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923882687294502912,"note":"Value kept but may cause issues"} 
[2026-09-05 16:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788604899000,"timestamp_ms":1788604899000,"timestamp_seconds":1788604899,"priority":1,"record_length":96,"hex_timestamp":"000001a07128deb8"} 
[2026-09-05 16:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:14: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-09-05 16: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 16:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882849536001,"66":27821,"250":206,"87":12800,"24":17,"16":399885683168116736,"45":8923882687294502912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,87,24,16,45]} 
[2026-09-05 16:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882849536001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:14:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-05 16:14:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399885683168116736,"km_value":399885683168116.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923882687294502912,"description":"Unknown IO ID 45"} 
[2026-09-05 16:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882849536001,"power":27821,"unknown_250":206,"unknown_87":12800,"ignition":17,"odometer":null,"unknown_45":8923882687294502912}} 
[2026-09-05 16:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":174421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:14:02] local.INFO: GPS data processed {"connection_id":174421,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:14:02] local.INFO: Acknowledgment sent {"connection_id":174421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:14:20] local.INFO: TCP Data received {"connection_id":171706,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:14:20] local.INFO: Processing buffer {"connection_id":171706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:14:20] local.INFO: IMEI packet received {"connection_id":171706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 16:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":171706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:14:25] local.INFO: TCP Data received {"connection_id":171706,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:14:25] local.INFO: Processing buffer {"connection_id":171706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:14:25] local.INFO: IMEI packet received {"connection_id":171706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":171706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:14:26] local.INFO: TCP Data received {"connection_id":171706,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071269c98012d7bea8005dc82f8000000b722..."} 
[2026-09-05 16:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071269c98012d7bea8005dc82f8000000b722..."} 
[2026-09-05 16:14:26] local.INFO: Processing buffer {"connection_id":171706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071269c98012d7bea8005dc82f8000000b722..."} 
[2026-09-05 16:14:26] local.INFO: Packet analysis {"connection_id":171706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07126"} 
[2026-09-05 16:14:26] local.INFO: Extracted packet for processing {"connection_id":171706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07126"} 
[2026-09-05 16:14:26] local.INFO: GPS Element Parsed {"raw_longitude":763095680,"raw_latitude":98337528,"longitude_deg":76.309568,"latitude_deg":9.8337528,"altitude":0,"angle":183,"satellites":34,"speed":0,"hex_longitude":"2d7bea80","hex_latitude":"05dc82f8","is_valid_coordinates":true} 
[2026-09-05 16:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882812160001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128589602855321600,"note":"Value kept but may cause issues"} 
[2026-09-05 16:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928949236390287360,"note":"Value kept but may cause issues"} 
[2026-09-05 16:14:26] 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-09-05 16:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788604751000,"timestamp_ms":1788604751000,"timestamp_seconds":1788604751,"priority":1,"record_length":96,"hex_timestamp":"000001a071269c98"} 
[2026-09-05 16:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-05 16:14:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 16:14:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788854,"note":"Value kept but may cause issues"} 
[2026-09-05 16:14:26] local.WARNING: Large IO value detected {"io_id":221,"raw_value":-8322652111369528576,"note":"Value kept but may cause issues"} 
[2026-09-05 16:14:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930311374,"corrected_to":0} 
[2026-09-05 16:14:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3580559360,"corrected_to":0} 
[2026-09-05 16:14:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3714570240,"note":"Value kept but may cause issues"} 
[2026-09-05 16:14:26] local.WARNING: Large IO value detected {"io_id":93,"raw_value":57894411111912763,"note":"Value kept but may cause issues"} 
[2026-09-05 16:14:26] local.WARNING: Large IO value detected {"io_id":37,"raw_value":9182840935071072261,"note":"Value kept but may cause issues"} 
[2026-09-05 16:14:26] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,169,85,24,241,157,16,215,160,55,45,64,174,28,10,66,23,128,211,27,214,244,1,240,252,227,113,221,4,205,56,186,26,239,54,2,200,5,93,37],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2930311374,"validated":0},{"io_id":200,"original":3580559360,"validated":0}]} 
[2026-09-05 16:14:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":189253440372736,"timestamp_seconds":189253440372.736,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 16:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882812160001,"66":13798,"168":206,"85":15104,"24":0,"16":128589602855321600,"45":8928949236390287360},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-05 16:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882812160001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:14:26] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-05 16:14:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128589602855321600,"km_value":128589602855321.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928949236390287360,"description":"Unknown IO ID 45"} 
[2026-09-05 16:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882812160001,"power":13798,"unknown_168":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8928949236390287360}} 
[2026-09-05 16:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":171706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769826,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:14:26] local.INFO: GPS data processed {"connection_id":171706,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:14:26] local.INFO: Acknowledgment sent {"connection_id":171706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:14:33] local.INFO: TCP Data received {"connection_id":174421,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071291180012d7bff8005f933e80009009a2d..."} 
[2026-09-05 16:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071291180012d7bff8005f933e80009009a2d..."} 
[2026-09-05 16:14:33] local.INFO: Processing buffer {"connection_id":174421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071291180012d7bff8005f933e80009009a2d..."} 
[2026-09-05 16:14:33] local.INFO: Packet analysis {"connection_id":174421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07129"} 
[2026-09-05 16:14:33] local.INFO: Extracted packet for processing {"connection_id":174421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07129"} 
[2026-09-05 16:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763101056,"raw_latitude":100217832,"longitude_deg":76.3101056,"latitude_deg":10.0217832,"altitude":9,"angle":154,"satellites":45,"speed":39,"hex_longitude":"2d7bff80","hex_latitude":"05f933e8","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882854144001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399886151319552000,"note":"Value kept but may cause issues"} 
[2026-09-05 16:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929864030547673088,"note":"Value kept but may cause issues"} 
[2026-09-05 16:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788604912000,"timestamp_ms":1788604912000,"timestamp_seconds":1788604912,"priority":1,"record_length":96,"hex_timestamp":"000001a071291180"} 
[2026-09-05 16:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:14: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-09-05 16: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 16:14: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-09-05 16: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-09-05 16:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882854144001,"66":27984,"250":206,"87":12800,"24":39,"16":399886151319552000,"45":8929864030547673088},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,87,24,16,45]} 
[2026-09-05 16:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882854144001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:14:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-05 16:14:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399886151319552000,"km_value":399886151319552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929864030547673088,"description":"Unknown IO ID 45"} 
[2026-09-05 16:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882854144001,"power":27984,"unknown_250":206,"unknown_87":12800,"ignition":39,"odometer":null,"unknown_45":8929864030547673088}} 
[2026-09-05 16:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":174421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:14:33] local.INFO: GPS data processed {"connection_id":174421,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:14:33] local.INFO: Acknowledgment sent {"connection_id":174421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:14:45] local.INFO: TCP Data received {"connection_id":171996,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:14:45] local.INFO: Processing buffer {"connection_id":171996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:14:45] local.INFO: IMEI packet received {"connection_id":171996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":171996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:14:50] local.INFO: TCP Data received {"connection_id":171996,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:14:50] local.INFO: Processing buffer {"connection_id":171996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:14:50] local.INFO: IMEI packet received {"connection_id":171996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":171996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:14:50] local.INFO: TCP Data received {"connection_id":171996,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071295000012d1d2340072779080024003829..."} 
[2026-09-05 16:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071295000012d1d2340072779080024003829..."} 
[2026-09-05 16:14:50] local.INFO: Processing buffer {"connection_id":171996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071295000012d1d2340072779080024003829..."} 
[2026-09-05 16:14:50] local.INFO: Packet analysis {"connection_id":171996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07129"} 
[2026-09-05 16:14:50] local.INFO: Extracted packet for processing {"connection_id":171996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07129"} 
[2026-09-05 16:14:50] local.INFO: GPS Element Parsed {"raw_longitude":756884288,"raw_latitude":120027400,"longitude_deg":75.6884288,"latitude_deg":12.00274,"altitude":36,"angle":56,"satellites":41,"speed":0,"hex_longitude":"2d1d2340","hex_latitude":"07277908","is_valid_coordinates":true} 
[2026-09-05 16:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882856192001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17978320784195584,"note":"Value kept but may cause issues"} 
[2026-09-05 16:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2099592250755975168,"note":"Value kept but may cause issues"} 
[2026-09-05 16:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788604928000,"timestamp_ms":1788604928000,"timestamp_seconds":1788604928,"priority":1,"record_length":96,"hex_timestamp":"000001a071295000"} 
[2026-09-05 16:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-05 16:14: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-09-05 16:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882856192001,"66":12950,"195":206,"83":42752,"24":0,"16":17978320784195584,"45":2099592250755975168},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,45]} 
[2026-09-05 16:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882856192001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:14:50] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-05 16:14:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17978320784195584,"km_value":17978320784195.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2099592250755975168,"description":"Unknown IO ID 45"} 
[2026-09-05 16:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882856192001,"power":12950,"unknown_195":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2099592250755975168}} 
[2026-09-05 16:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":171996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:14:51] local.INFO: GPS data processed {"connection_id":171996,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:14:51] local.INFO: Acknowledgment sent {"connection_id":171996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:14:54] local.INFO: TCP Data received {"connection_id":171707,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171707,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:14:54] local.INFO: Processing buffer {"connection_id":171707,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:14:54] local.INFO: IMEI packet received {"connection_id":171707,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 16:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":171707,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:14:56] local.INFO: TCP Data received {"connection_id":171708,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:14:56] local.INFO: Processing buffer {"connection_id":171708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:14:56] local.INFO: IMEI packet received {"connection_id":171708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":171708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:14:58] local.INFO: TCP Data received {"connection_id":173101,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173101,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:14:58] local.INFO: Processing buffer {"connection_id":173101,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:14:58] local.INFO: IMEI packet received {"connection_id":173101,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":173101,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:15:00] local.INFO: TCP Data received {"connection_id":171707,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171707,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:15:00] local.INFO: Processing buffer {"connection_id":171707,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:15:00] local.INFO: IMEI packet received {"connection_id":171707,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":171707,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:15:00] local.INFO: TCP Data received {"connection_id":173101,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173101,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:15:00] local.INFO: Processing buffer {"connection_id":173101,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:15:00] local.INFO: IMEI packet received {"connection_id":173101,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":173101,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:15:01] local.INFO: TCP Data received {"connection_id":171707,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07126a850012d7bea8005dc8270000000df25..."} 
[2026-09-05 16:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07126a850012d7bea8005dc8270000000df25..."} 
[2026-09-05 16:15:01] local.INFO: Processing buffer {"connection_id":171707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07126a850012d7bea8005dc8270000000df25..."} 
[2026-09-05 16:15:01] local.INFO: Packet analysis {"connection_id":171707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07126"} 
[2026-09-05 16:15:01] local.INFO: Extracted packet for processing {"connection_id":171707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07126"} 
[2026-09-05 16:15:01] local.INFO: GPS Element Parsed {"raw_longitude":763095680,"raw_latitude":98337392,"longitude_deg":76.309568,"latitude_deg":9.8337392,"altitude":0,"angle":223,"satellites":37,"speed":0,"hex_longitude":"2d7bea80","hex_latitude":"05dc8270","is_valid_coordinates":true} 
[2026-09-05 16:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882816256001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128589611445256192,"note":"Value kept but may cause issues"} 
[2026-09-05 16:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929089973878192128,"note":"Value kept but may cause issues"} 
[2026-09-05 16:15:01] 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-09-05 16:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788604754000,"timestamp_ms":1788604754000,"timestamp_seconds":1788604754,"priority":1,"record_length":96,"hex_timestamp":"000001a07126a850"} 
[2026-09-05 16:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 16:15:01] 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-09-05 16:15:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882816256001,"66":13406,"168":206,"85":15104,"24":0,"16":128589611445256192,"45":8929089973878192128},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-05 16:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882816256001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:15:01] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-05 16:15:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128589611445256192,"km_value":128589611445256.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929089973878192128,"description":"Unknown IO ID 45"} 
[2026-09-05 16:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882816256001,"power":13406,"unknown_168":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8929089973878192128}} 
[2026-09-05 16:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":171707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769829,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:15:01] local.INFO: GPS data processed {"connection_id":171707,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:15:01] local.INFO: Acknowledgment sent {"connection_id":171707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:15:01] local.INFO: TCP Data received {"connection_id":171708,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:15:01] local.INFO: Processing buffer {"connection_id":171708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:15:01] local.INFO: IMEI packet received {"connection_id":171708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":171708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:15:01] local.INFO: TCP Data received {"connection_id":173101,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071291568012c6ef3400857e4c00020013327..."} 
[2026-09-05 16:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071291568012c6ef3400857e4c00020013327..."} 
[2026-09-05 16:15:01] local.INFO: Processing buffer {"connection_id":173101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071291568012c6ef3400857e4c00020013327..."} 
[2026-09-05 16:15:01] local.INFO: Packet analysis {"connection_id":173101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07129"} 
[2026-09-05 16:15:01] local.INFO: Extracted packet for processing {"connection_id":173101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07129"} 
[2026-09-05 16:15:01] local.INFO: GPS Element Parsed {"raw_longitude":745468736,"raw_latitude":139977920,"longitude_deg":74.5468736,"latitude_deg":13.997792,"altitude":32,"angle":307,"satellites":39,"speed":0,"hex_longitude":"2c6ef340","hex_latitude":"0857e4c0","is_valid_coordinates":true} 
[2026-09-05 16:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882852352001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1286462964236288,"note":"Value kept but may cause issues"} 
[2026-09-05 16:15:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8010848241760280576,"note":"Value kept but may cause issues"} 
[2026-09-05 16:15:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788604913000,"timestamp_ms":1788604913000,"timestamp_seconds":1788604913,"priority":1,"record_length":96,"hex_timestamp":"000001a071291568"} 
[2026-09-05 16:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 16:15:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:15:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173101,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173101,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882852352001,"66":27789,"117":206,"9":56064,"24":0,"16":1286462964236288,"44":8010848241760280576},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,9,24,16,44]} 
[2026-09-05 16:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882852352001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:15:01] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-05 16:15:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1286462964236288,"km_value":1286462964236.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:15:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":8010848241760280576,"description":"Unknown IO ID 44"} 
[2026-09-05 16:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882852352001,"power":27789,"unknown_117":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":8010848241760280576}} 
[2026-09-05 16:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":173101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769830,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:15:01] local.INFO: GPS data processed {"connection_id":173101,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:15:01] local.INFO: Acknowledgment sent {"connection_id":173101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:15:02] local.INFO: TCP Data received {"connection_id":171708,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071296388012d7c0c4005f913d0000b00a42e..."} 
[2026-09-05 16:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071296388012d7c0c4005f913d0000b00a42e..."} 
[2026-09-05 16:15:02] local.INFO: Processing buffer {"connection_id":171708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071296388012d7c0c4005f913d0000b00a42e..."} 
[2026-09-05 16:15:02] local.INFO: Packet analysis {"connection_id":171708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07129"} 
[2026-09-05 16:15:02] local.INFO: Extracted packet for processing {"connection_id":171708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07129"} 
[2026-09-05 16:15:02] local.INFO: GPS Element Parsed {"raw_longitude":763104320,"raw_latitude":100209616,"longitude_deg":76.310432,"latitude_deg":10.0209616,"altitude":11,"angle":164,"satellites":46,"speed":0,"hex_longitude":"2d7c0c40","hex_latitude":"05f913d0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882857472001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399886580816281600,"note":"Value kept but may cause issues"} 
[2026-09-05 16:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935000948870473728,"note":"Value kept but may cause issues"} 
[2026-09-05 16:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788604933000,"timestamp_ms":1788604933000,"timestamp_seconds":1788604933,"priority":1,"record_length":96,"hex_timestamp":"000001a071296388"} 
[2026-09-05 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-09-05 16:15: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-09-05 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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 16:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882857472001,"66":27908,"250":206,"87":12800,"24":0,"16":399886580816281600,"45":8935000948870473728},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,87,24,16,45]} 
[2026-09-05 16:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882857472001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:15:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-05 16:15:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399886580816281600,"km_value":399886580816281.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935000948870473728,"description":"Unknown IO ID 45"} 
[2026-09-05 16:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882857472001,"power":27908,"unknown_250":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8935000948870473728}} 
[2026-09-05 16:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":171708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:15:02] local.INFO: GPS data processed {"connection_id":171708,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:15:02] local.INFO: Acknowledgment sent {"connection_id":171708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:15:02] local.INFO: TCP Data received {"connection_id":173101,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071296770012c6eb3c008581220001e013328..."} 
[2026-09-05 16:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071296770012c6eb3c008581220001e013328..."} 
[2026-09-05 16:15:02] local.INFO: Processing buffer {"connection_id":173101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071296770012c6eb3c008581220001e013328..."} 
[2026-09-05 16:15:02] local.INFO: Packet analysis {"connection_id":173101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07129"} 
[2026-09-05 16:15:02] local.INFO: Extracted packet for processing {"connection_id":173101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07129"} 
[2026-09-05 16:15:02] local.INFO: GPS Element Parsed {"raw_longitude":745452480,"raw_latitude":139989536,"longitude_deg":74.545248,"latitude_deg":13.9989536,"altitude":30,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2c6eb3c0","hex_latitude":"08581220","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882857728001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1286462964236288,"note":"Value kept but may cause issues"} 
[2026-09-05 16:15:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7994804168091287552,"note":"Value kept but may cause issues"} 
[2026-09-05 16:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788604934000,"timestamp_ms":1788604934000,"timestamp_seconds":1788604934,"priority":1,"record_length":96,"hex_timestamp":"000001a071296770"} 
[2026-09-05 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-09-05 16:15:02] 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-09-05 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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-05 16:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173101,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173101,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882857728001,"66":28126,"117":206,"9":56064,"24":0,"16":1286462964236288,"44":7994804168091287552},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,9,24,16,44]} 
[2026-09-05 16:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882857728001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:15:02] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-05 16:15:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1286462964236288,"km_value":1286462964236.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:15:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":7994804168091287552,"description":"Unknown IO ID 44"} 
[2026-09-05 16:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882857728001,"power":28126,"unknown_117":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":7994804168091287552}} 
[2026-09-05 16:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":173101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769832,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:15:03] local.INFO: GPS data processed {"connection_id":173101,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:15:03] local.INFO: Acknowledgment sent {"connection_id":173101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:15:22] local.INFO: TCP Data received {"connection_id":171996,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07129a208012d1d234007277908002400382a..."} 
[2026-09-05 16:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07129a208012d1d234007277908002400382a..."} 
[2026-09-05 16:15:22] local.INFO: Processing buffer {"connection_id":171996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07129a208012d1d234007277908002400382a..."} 
[2026-09-05 16:15:22] local.INFO: Packet analysis {"connection_id":171996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07129"} 
[2026-09-05 16:15:22] local.INFO: Extracted packet for processing {"connection_id":171996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07129"} 
[2026-09-05 16:15:22] local.INFO: GPS Element Parsed {"raw_longitude":756884288,"raw_latitude":120027400,"longitude_deg":75.6884288,"latitude_deg":12.00274,"altitude":36,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2d1d2340","hex_latitude":"07277908","is_valid_coordinates":true} 
[2026-09-05 16:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882861568001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17978320784195584,"note":"Value kept but may cause issues"} 
[2026-09-05 16:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2099592250755975168,"note":"Value kept but may cause issues"} 
[2026-09-05 16:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788604949000,"timestamp_ms":1788604949000,"timestamp_seconds":1788604949,"priority":1,"record_length":96,"hex_timestamp":"000001a07129a208"} 
[2026-09-05 16:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-05 16:15:22] 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-09-05 16:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882861568001,"66":12950,"195":206,"83":42752,"24":0,"16":17978320784195584,"45":2099592250755975168},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,45]} 
[2026-09-05 16:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882861568001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:15:22] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-05 16:15:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17978320784195584,"km_value":17978320784195.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2099592250755975168,"description":"Unknown IO ID 45"} 
[2026-09-05 16:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882861568001,"power":12950,"unknown_195":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2099592250755975168}} 
[2026-09-05 16:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":171996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:15:22] local.INFO: GPS data processed {"connection_id":171996,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:15:22] local.INFO: Acknowledgment sent {"connection_id":171996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:15:32] local.INFO: TCP Data received {"connection_id":171707,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07126cb78012d7bea8005dc8218000000c428..."} 
[2026-09-05 16:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07126cb78012d7bea8005dc8218000000c428..."} 
[2026-09-05 16:15:32] local.INFO: Processing buffer {"connection_id":171707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07126cb78012d7bea8005dc8218000000c428..."} 
[2026-09-05 16:15:32] local.INFO: Packet analysis {"connection_id":171707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07126"} 
[2026-09-05 16:15:32] local.INFO: Extracted packet for processing {"connection_id":171707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07126"} 
[2026-09-05 16:15:32] local.INFO: GPS Element Parsed {"raw_longitude":763095680,"raw_latitude":98337304,"longitude_deg":76.309568,"latitude_deg":9.8337304,"altitude":0,"angle":196,"satellites":40,"speed":1,"hex_longitude":"2d7bea80","hex_latitude":"05dc8218","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882817024001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128589615740223488,"note":"Value kept but may cause issues"} 
[2026-09-05 16:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929089973878157312,"note":"Value kept but may cause issues"} 
[2026-09-05 16:15:32] 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-09-05 16:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788604763000,"timestamp_ms":1788604763000,"timestamp_seconds":1788604763,"priority":1,"record_length":96,"hex_timestamp":"000001a07126cb78"} 
[2026-09-05 16:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16: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-09-05 16: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-05 16:15:32] 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-09-05 16: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-09-05 16:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882817024001,"66":13646,"168":206,"85":15104,"24":1,"16":128589615740223488,"45":8929089973878157312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-05 16:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882817024001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:15:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-05 16:15:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128589615740223488,"km_value":128589615740223.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929089973878157312,"description":"Unknown IO ID 45"} 
[2026-09-05 16:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882817024001,"power":13646,"unknown_168":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8929089973878157312}} 
[2026-09-05 16:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":171707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769834,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:15:32] local.INFO: GPS data processed {"connection_id":171707,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:15:32] local.INFO: Acknowledgment sent {"connection_id":171707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:15:33] local.INFO: TCP Data received {"connection_id":171708,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071296388012d7c0c4005f913d0000b00a42e..."} 
[2026-09-05 16:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071296388012d7c0c4005f913d0000b00a42e..."} 
[2026-09-05 16:15:33] local.INFO: Processing buffer {"connection_id":171708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071296388012d7c0c4005f913d0000b00a42e..."} 
[2026-09-05 16:15:33] local.INFO: Packet analysis {"connection_id":171708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07129"} 
[2026-09-05 16:15:33] local.INFO: Extracted packet for processing {"connection_id":171708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07129"} 
[2026-09-05 16:15:33] local.INFO: GPS Element Parsed {"raw_longitude":763104320,"raw_latitude":100209616,"longitude_deg":76.310432,"latitude_deg":10.0209616,"altitude":11,"angle":164,"satellites":46,"speed":0,"hex_longitude":"2d7c0c40","hex_latitude":"05f913d0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882862848001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399886580816281600,"note":"Value kept but may cause issues"} 
[2026-09-05 16:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938589754821431296,"note":"Value kept but may cause issues"} 
[2026-09-05 16:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788604933000,"timestamp_ms":1788604933000,"timestamp_seconds":1788604933,"priority":1,"record_length":96,"hex_timestamp":"000001a071296388"} 
[2026-09-05 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-09-05 16:15: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-09-05 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 16:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882862848001,"66":27908,"250":206,"87":12800,"24":0,"16":399886580816281600,"45":8938589754821431296},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,87,24,16,45]} 
[2026-09-05 16:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882862848001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:15:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-05 16:15:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399886580816281600,"km_value":399886580816281.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938589754821431296,"description":"Unknown IO ID 45"} 
[2026-09-05 16:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882862848001,"power":27908,"unknown_250":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8938589754821431296}} 
[2026-09-05 16:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":171708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:15:33] local.INFO: GPS data processed {"connection_id":171708,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:15:33] local.INFO: Acknowledgment sent {"connection_id":171708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:15:47] local.INFO: TCP Data received {"connection_id":173102,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:15:47] local.INFO: Processing buffer {"connection_id":173102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:15:47] local.INFO: IMEI packet received {"connection_id":173102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":173102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:15:50] local.INFO: TCP Data received {"connection_id":173102,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:15:50] local.INFO: Processing buffer {"connection_id":173102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:15:50] local.INFO: IMEI packet received {"connection_id":173102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":173102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:15:52] local.INFO: TCP Data received {"connection_id":173102,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:15:52] local.INFO: Processing buffer {"connection_id":173102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:15:52] local.INFO: IMEI packet received {"connection_id":173102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":173102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:15:53] local.INFO: TCP Data received {"connection_id":173102,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0712a4de80100000000000000000000000000..."} 
[2026-09-05 16:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712a4de80100000000000000000000000000..."} 
[2026-09-05 16:15:53] local.INFO: Processing buffer {"connection_id":173102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712a4de80100000000000000000000000000..."} 
[2026-09-05 16:15:53] local.INFO: Packet analysis {"connection_id":173102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712a"} 
[2026-09-05 16:15:53] local.INFO: Extracted packet for processing {"connection_id":173102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712a"} 
[2026-09-05 16:15:53] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 16:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882863104001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1286462964236288,"note":"Value kept but may cause issues"} 
[2026-09-05 16:15:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7976930507073134592,"note":"Value kept but may cause issues"} 
[2026-09-05 16:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788604993000,"timestamp_ms":1788604993000,"timestamp_seconds":1788604993,"priority":1,"record_length":96,"hex_timestamp":"000001a0712a4de8"} 
[2026-09-05 16:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-05 16:15:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173102,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173102,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":173102,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 16:15:53] local.INFO: GPS data processed {"connection_id":173102,"processed":0,"errors":0,"total":1} 
[2026-09-05 16:15:53] local.INFO: Acknowledgment sent {"connection_id":173102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:15:54] local.INFO: TCP Data received {"connection_id":171709,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:15:54] local.INFO: Processing buffer {"connection_id":171709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:15:54] local.INFO: IMEI packet received {"connection_id":171709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 16:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":171709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:15:55] local.INFO: TCP Data received {"connection_id":171710,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:15:55] local.INFO: Processing buffer {"connection_id":171710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:15:55] local.INFO: IMEI packet received {"connection_id":171710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":171710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:15:56] local.INFO: TCP Data received {"connection_id":171997,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:15:56] local.INFO: Processing buffer {"connection_id":171997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:15:56] local.INFO: IMEI packet received {"connection_id":171997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":171997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:16:00] local.INFO: TCP Data received {"connection_id":171709,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:16:00] local.INFO: Processing buffer {"connection_id":171709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:16:00] local.INFO: IMEI packet received {"connection_id":171709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":171709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:16:00] local.INFO: TCP Data received {"connection_id":171710,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:16:00] local.INFO: Processing buffer {"connection_id":171710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:16:00] local.INFO: IMEI packet received {"connection_id":171710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":171710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:16:00] local.INFO: TCP Data received {"connection_id":171709,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07126cf60012d7bea8005dc81d0000000b828..."} 
[2026-09-05 16:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07126cf60012d7bea8005dc81d0000000b828..."} 
[2026-09-05 16:16:00] local.INFO: Processing buffer {"connection_id":171709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07126cf60012d7bea8005dc81d0000000b828..."} 
[2026-09-05 16:16:00] local.INFO: Packet analysis {"connection_id":171709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07126"} 
[2026-09-05 16:16:00] local.INFO: Extracted packet for processing {"connection_id":171709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07126"} 
[2026-09-05 16:16:00] local.INFO: GPS Element Parsed {"raw_longitude":763095680,"raw_latitude":98337232,"longitude_deg":76.309568,"latitude_deg":9.8337232,"altitude":0,"angle":184,"satellites":40,"speed":2,"hex_longitude":"2d7bea80","hex_latitude":"05dc81d0","is_valid_coordinates":true} 
[2026-09-05 16:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882819328001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128589615740223488,"note":"Value kept but may cause issues"} 
[2026-09-05 16:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929089973878134784,"note":"Value kept but may cause issues"} 
[2026-09-05 16:16:00] 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-09-05 16:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788604764000,"timestamp_ms":1788604764000,"timestamp_seconds":1788604764,"priority":1,"record_length":96,"hex_timestamp":"000001a07126cf60"} 
[2026-09-05 16:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-05 16:16:00] 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-09-05 16:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882819328001,"66":13646,"168":206,"85":15104,"24":2,"16":128589615740223488,"45":8929089973878134784},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-05 16:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882819328001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:16:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-05 16:16:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128589615740223488,"km_value":128589615740223.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929089973878134784,"description":"Unknown IO ID 45"} 
[2026-09-05 16:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882819328001,"power":13646,"unknown_168":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8929089973878134784}} 
[2026-09-05 16:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":171709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769836,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:16:01] local.INFO: GPS data processed {"connection_id":171709,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:16:01] local.INFO: Acknowledgment sent {"connection_id":171709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:16:01] local.INFO: TCP Data received {"connection_id":171710,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07129f410012d1d2340072779080024003827..."} 
[2026-09-05 16:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07129f410012d1d2340072779080024003827..."} 
[2026-09-05 16:16:01] local.INFO: Processing buffer {"connection_id":171710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07129f410012d1d2340072779080024003827..."} 
[2026-09-05 16:16:01] local.INFO: Packet analysis {"connection_id":171710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07129"} 
[2026-09-05 16:16:01] local.INFO: Extracted packet for processing {"connection_id":171710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07129"} 
[2026-09-05 16:16:01] local.INFO: GPS Element Parsed {"raw_longitude":756884288,"raw_latitude":120027400,"longitude_deg":75.6884288,"latitude_deg":12.00274,"altitude":36,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2d1d2340","hex_latitude":"07277908","is_valid_coordinates":true} 
[2026-09-05 16:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882866944001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17978320784195584,"note":"Value kept but may cause issues"} 
[2026-09-05 16:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2099592250755975168,"note":"Value kept but may cause issues"} 
[2026-09-05 16:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788604970000,"timestamp_ms":1788604970000,"timestamp_seconds":1788604970,"priority":1,"record_length":96,"hex_timestamp":"000001a07129f410"} 
[2026-09-05 16:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-05 16:16:01] 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-09-05 16:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882866944001,"66":12928,"195":206,"83":42752,"24":0,"16":17978320784195584,"45":2099592250755975168},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,45]} 
[2026-09-05 16:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882866944001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:16:01] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-05 16:16:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17978320784195584,"km_value":17978320784195.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":2099592250755975168,"description":"Unknown IO ID 45"} 
[2026-09-05 16:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882866944001,"power":12928,"unknown_195":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2099592250755975168}} 
[2026-09-05 16:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":171710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:16:01] local.INFO: GPS data processed {"connection_id":171710,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:16:01] local.INFO: Acknowledgment sent {"connection_id":171710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:16:01] local.INFO: TCP Data received {"connection_id":171997,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:16:01] local.INFO: Processing buffer {"connection_id":171997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:16:01] local.INFO: IMEI packet received {"connection_id":171997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":171997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:16:02] local.INFO: TCP Data received {"connection_id":171997,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0712be428012d7c280005f87860000d00b32e..."} 
[2026-09-05 16:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712be428012d7c280005f87860000d00b32e..."} 
[2026-09-05 16:16:02] local.INFO: Processing buffer {"connection_id":171997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712be428012d7c280005f87860000d00b32e..."} 
[2026-09-05 16:16:02] local.INFO: Packet analysis {"connection_id":171997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712b"} 
[2026-09-05 16:16:02] local.INFO: Extracted packet for processing {"connection_id":171997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712b"} 
[2026-09-05 16:16:02] local.INFO: GPS Element Parsed {"raw_longitude":763111424,"raw_latitude":100169824,"longitude_deg":76.3111424,"latitude_deg":10.0169824,"altitude":13,"angle":179,"satellites":46,"speed":28,"hex_longitude":"2d7c2800","hex_latitude":"05f87860","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882903808001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399888573681106944,"note":"Value kept but may cause issues"} 
[2026-09-05 16:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946682160392364032,"note":"Value kept but may cause issues"} 
[2026-09-05 16:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788605097000,"timestamp_ms":1788605097000,"timestamp_seconds":1788605097,"priority":1,"record_length":96,"hex_timestamp":"000001a0712be428"} 
[2026-09-05 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-09-05 16:16: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-09-05 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 16:16: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-09-05 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-09-05 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-09-05 16:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882903808001,"66":27865,"142":206,"87":12800,"24":28,"16":399888573681106944,"45":8946682160392364032},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,87,24,16,45]} 
[2026-09-05 16:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882903808001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:16:02] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-05 16:16:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399888573681106944,"km_value":399888573681106.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946682160392364032,"description":"Unknown IO ID 45"} 
[2026-09-05 16:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882903808001,"power":27865,"unknown_142":206,"unknown_87":12800,"ignition":28,"odometer":null,"unknown_45":8946682160392364032}} 
[2026-09-05 16:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":171997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:16:02] local.INFO: GPS data processed {"connection_id":171997,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:16:02] local.INFO: Acknowledgment sent {"connection_id":171997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:16:24] local.INFO: TCP Data received {"connection_id":173102,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07129e088012c6e3ac0085868c0001e013428..."} 
[2026-09-05 16:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07129e088012c6e3ac0085868c0001e013428..."} 
[2026-09-05 16:16:24] local.INFO: Processing buffer {"connection_id":173102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07129e088012c6e3ac0085868c0001e013428..."} 
[2026-09-05 16:16:24] local.INFO: Packet analysis {"connection_id":173102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07129"} 
[2026-09-05 16:16:24] local.INFO: Extracted packet for processing {"connection_id":173102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07129"} 
[2026-09-05 16:16:24] local.INFO: GPS Element Parsed {"raw_longitude":745421504,"raw_latitude":140011712,"longitude_deg":74.5421504,"latitude_deg":14.0011712,"altitude":30,"angle":308,"satellites":40,"speed":38,"hex_longitude":"2c6e3ac0","hex_latitude":"085868c0","is_valid_coordinates":true} 
[2026-09-05 16:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1286462964236288,"note":"Value kept but may cause issues"} 
[2026-09-05 16:16:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,117,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 16:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788604965000,"timestamp_ms":1788604965000,"timestamp_seconds":1788604965,"priority":1,"record_length":96,"hex_timestamp":"000001a07129e088"} 
[2026-09-05 16:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 16:16:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:16:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173102,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173102,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:16:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28137,"117":206,"9":56064,"24":38,"16":1286462964236288},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,9,24,16]} 
[2026-09-05 16:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-05 16:16:24] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-05 16:16:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1286462964236288,"km_value":1286462964236.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:16:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28137,"unknown_117":206,"unknown_9":56064,"ignition":38,"odometer":null}} 
[2026-09-05 16:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":173102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769839,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:16:24] local.INFO: GPS data processed {"connection_id":173102,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:16:24] local.INFO: Acknowledgment sent {"connection_id":173102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:16:32] local.INFO: TCP Data received {"connection_id":171709,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07126d730012d7bea8005dc8140000000bc28..."} 
[2026-09-05 16:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07126d730012d7bea8005dc8140000000bc28..."} 
[2026-09-05 16:16:32] local.INFO: Processing buffer {"connection_id":171709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07126d730012d7bea8005dc8140000000bc28..."} 
[2026-09-05 16:16:32] local.INFO: Packet analysis {"connection_id":171709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07126"} 
[2026-09-05 16:16:32] local.INFO: Extracted packet for processing {"connection_id":171709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07126"} 
[2026-09-05 16:16:32] local.INFO: GPS Element Parsed {"raw_longitude":763095680,"raw_latitude":98337088,"longitude_deg":76.309568,"latitude_deg":9.8337088,"altitude":0,"angle":188,"satellites":40,"speed":2,"hex_longitude":"2d7bea80","hex_latitude":"05dc8140","is_valid_coordinates":true} 
[2026-09-05 16:16: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-09-05 16:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882819584001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128589624330158080,"note":"Value kept but may cause issues"} 
[2026-09-05 16:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929089973878116352,"note":"Value kept but may cause issues"} 
[2026-09-05 16:16:32] 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-09-05 16:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788604766000,"timestamp_ms":1788604766000,"timestamp_seconds":1788604766,"priority":1,"record_length":96,"hex_timestamp":"000001a07126d730"} 
[2026-09-05 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-09-05 16:16: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-09-05 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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-05 16:16:32] 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-09-05 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-09-05 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-09-05 16:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882819584001,"66":13798,"168":206,"85":15104,"24":2,"16":128589624330158080,"45":8929089973878116352},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-05 16:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882819584001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:16:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-05 16:16:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128589624330158080,"km_value":128589624330158.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929089973878116352,"description":"Unknown IO ID 45"} 
[2026-09-05 16:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882819584001,"power":13798,"unknown_168":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8929089973878116352}} 
[2026-09-05 16:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":171709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769840,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:16:32] local.INFO: GPS data processed {"connection_id":171709,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:16:32] local.INFO: Acknowledgment sent {"connection_id":171709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:16:33] local.INFO: TCP Data received {"connection_id":171997,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0712c0b38012d7c2d0005f85348000d00aa2a..."} 
[2026-09-05 16:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712c0b38012d7c2d0005f85348000d00aa2a..."} 
[2026-09-05 16:16:33] local.INFO: Processing buffer {"connection_id":171997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712c0b38012d7c2d0005f85348000d00aa2a..."} 
[2026-09-05 16:16:33] local.INFO: Packet analysis {"connection_id":171997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712c"} 
[2026-09-05 16:16:33] local.INFO: Extracted packet for processing {"connection_id":171997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712c"} 
[2026-09-05 16:16:33] local.INFO: GPS Element Parsed {"raw_longitude":763112704,"raw_latitude":100160328,"longitude_deg":76.3112704,"latitude_deg":10.0160328,"altitude":13,"angle":170,"satellites":42,"speed":45,"hex_longitude":"2d7c2d00","hex_latitude":"05f85348","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882904832001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399889041832542208,"note":"Value kept but may cause issues"} 
[2026-09-05 16:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946400685414965248,"note":"Value kept but may cause issues"} 
[2026-09-05 16:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788605107000,"timestamp_ms":1788605107000,"timestamp_seconds":1788605107,"priority":1,"record_length":96,"hex_timestamp":"000001a0712c0b38"} 
[2026-09-05 16:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:16: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-09-05 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 16:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882904832001,"66":27821,"142":206,"87":12800,"24":45,"16":399889041832542208,"45":8946400685414965248},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,87,24,16,45]} 
[2026-09-05 16:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882904832001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:16:33] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-05 16:16:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399889041832542208,"km_value":399889041832542.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946400685414965248,"description":"Unknown IO ID 45"} 
[2026-09-05 16:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882904832001,"power":27821,"unknown_142":206,"unknown_87":12800,"ignition":45,"odometer":null,"unknown_45":8946400685414965248}} 
[2026-09-05 16:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":171997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:16:33] local.INFO: GPS data processed {"connection_id":171997,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:16:33] local.INFO: Acknowledgment sent {"connection_id":171997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:16:47] local.INFO: TCP Data received {"connection_id":171998,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171998,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:16:47] local.INFO: Processing buffer {"connection_id":171998,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:16:47] local.INFO: IMEI packet received {"connection_id":171998,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":171998,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:16:48] local.INFO: TCP Data received {"connection_id":171998,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171998,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:16:48] local.INFO: Processing buffer {"connection_id":171998,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:16:48] local.INFO: IMEI packet received {"connection_id":171998,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":171998,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:16:52] local.INFO: TCP Data received {"connection_id":171998,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171998,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:16:52] local.INFO: Processing buffer {"connection_id":171998,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:16:52] local.INFO: IMEI packet received {"connection_id":171998,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":171998,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:16:53] local.INFO: TCP Data received {"connection_id":171998,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0712c9fa8012c6c9900085b09400013014e29..."} 
[2026-09-05 16:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712c9fa8012c6c9900085b09400013014e29..."} 
[2026-09-05 16:16:53] local.INFO: Processing buffer {"connection_id":171998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712c9fa8012c6c9900085b09400013014e29..."} 
[2026-09-05 16:16:53] local.INFO: Packet analysis {"connection_id":171998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712c"} 
[2026-09-05 16:16:53] local.INFO: Extracted packet for processing {"connection_id":171998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712c"} 
[2026-09-05 16:16:53] local.INFO: GPS Element Parsed {"raw_longitude":745314560,"raw_latitude":140183872,"longitude_deg":74.531456,"latitude_deg":14.0183872,"altitude":19,"angle":334,"satellites":41,"speed":38,"hex_longitude":"2c6c9900","hex_latitude":"085b0940","is_valid_coordinates":true} 
[2026-09-05 16:16: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-09-05 16:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1286462964236288,"note":"Value kept but may cause issues"} 
[2026-09-05 16:16:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,186,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 16:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788605145000,"timestamp_ms":1788605145000,"timestamp_seconds":1788605145,"priority":1,"record_length":96,"hex_timestamp":"000001a0712c9fa8"} 
[2026-09-05 16:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 16:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:16: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-09-05 16:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171998,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171998,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28050,"186":206,"9":56064,"24":38,"16":1286462964236288},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,9,24,16]} 
[2026-09-05 16:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-05 16:16:53] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-05 16:16:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1286462964236288,"km_value":1286462964236.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:16:53] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28050,"unknown_186":206,"unknown_9":56064,"ignition":38,"odometer":null}} 
[2026-09-05 16:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":171998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769842,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:16:54] local.INFO: GPS data processed {"connection_id":171998,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:16:54] local.INFO: Acknowledgment sent {"connection_id":171998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:16:54] local.INFO: TCP Data received {"connection_id":173103,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173103,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:16:54] local.INFO: Processing buffer {"connection_id":173103,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:16:54] local.INFO: IMEI packet received {"connection_id":173103,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 16:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":173103,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:16:56] local.INFO: TCP Data received {"connection_id":171711,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:16:56] local.INFO: Processing buffer {"connection_id":171711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:16:56] local.INFO: IMEI packet received {"connection_id":171711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":171711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:16:56] local.INFO: TCP Data received {"connection_id":171711,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:16:56] local.INFO: Processing buffer {"connection_id":171711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:16:56] local.INFO: IMEI packet received {"connection_id":171711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":171711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:17:00] local.INFO: TCP Data received {"connection_id":173103,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173103,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:17:00] local.INFO: Processing buffer {"connection_id":173103,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:17:00] local.INFO: IMEI packet received {"connection_id":173103,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":173103,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:17:01] local.INFO: TCP Data received {"connection_id":173103,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07126d730012d7bea8005dc8140000000bc28..."} 
[2026-09-05 16:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07126d730012d7bea8005dc8140000000bc28..."} 
[2026-09-05 16:17:01] local.INFO: Processing buffer {"connection_id":173103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07126d730012d7bea8005dc8140000000bc28..."} 
[2026-09-05 16:17:01] local.INFO: Packet analysis {"connection_id":173103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07126"} 
[2026-09-05 16:17:01] local.INFO: Extracted packet for processing {"connection_id":173103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07126"} 
[2026-09-05 16:17:01] local.INFO: GPS Element Parsed {"raw_longitude":763095680,"raw_latitude":98337088,"longitude_deg":76.309568,"latitude_deg":9.8337088,"altitude":0,"angle":188,"satellites":40,"speed":2,"hex_longitude":"2d7bea80","hex_latitude":"05dc8140","is_valid_coordinates":true} 
[2026-09-05 16:17:01] 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-09-05 16:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882820096001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128589624330158080,"note":"Value kept but may cause issues"} 
[2026-09-05 16:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929089973878079488,"note":"Value kept but may cause issues"} 
[2026-09-05 16:17:01] 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-09-05 16:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788604766000,"timestamp_ms":1788604766000,"timestamp_seconds":1788604766,"priority":1,"record_length":96,"hex_timestamp":"000001a07126d730"} 
[2026-09-05 16:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 16:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 16:17:01] 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-09-05 16:17:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882820096001,"66":13798,"168":206,"85":15104,"24":2,"16":128589624330158080,"45":8929089973878079488},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-05 16:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882820096001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:17:01] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-05 16:17:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128589624330158080,"km_value":128589624330158.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929089973878079488,"description":"Unknown IO ID 45"} 
[2026-09-05 16:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882820096001,"power":13798,"unknown_168":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8929089973878079488}} 
[2026-09-05 16:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":173103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769843,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:17:01] local.INFO: GPS data processed {"connection_id":173103,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:17:01] local.INFO: Acknowledgment sent {"connection_id":173103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:17:01] local.INFO: TCP Data received {"connection_id":171711,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:17:01] local.INFO: Processing buffer {"connection_id":171711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:17:01] local.INFO: IMEI packet received {"connection_id":171711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":171711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:17:02] local.INFO: TCP Data received {"connection_id":171711,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0712c2a78012d7c338005f82db8000e00a729..."} 
[2026-09-05 16:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712c2a78012d7c338005f82db8000e00a729..."} 
[2026-09-05 16:17:02] local.INFO: Processing buffer {"connection_id":171711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712c2a78012d7c338005f82db8000e00a729..."} 
[2026-09-05 16:17:02] local.INFO: Packet analysis {"connection_id":171711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712c"} 
[2026-09-05 16:17:02] local.INFO: Extracted packet for processing {"connection_id":171711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712c"} 
[2026-09-05 16:17:02] local.INFO: GPS Element Parsed {"raw_longitude":763114368,"raw_latitude":100150712,"longitude_deg":76.3114368,"latitude_deg":10.0150712,"altitude":14,"angle":167,"satellites":41,"speed":50,"hex_longitude":"2d7c3380","hex_latitude":"05f82db8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882907392001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399889514278944768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947808060296087552,"note":"Value kept but may cause issues"} 
[2026-09-05 16:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788605115000,"timestamp_ms":1788605115000,"timestamp_seconds":1788605115,"priority":1,"record_length":96,"hex_timestamp":"000001a0712c2a78"} 
[2026-09-05 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-09-05 16:17: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-09-05 16:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 16:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882907392001,"66":27876,"142":206,"87":12800,"24":50,"16":399889514278944768,"45":8947808060296087552},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,87,24,16,45]} 
[2026-09-05 16:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882907392001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:17:02] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-05 16:17:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399889514278944768,"km_value":399889514278944.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947808060296087552,"description":"Unknown IO ID 45"} 
[2026-09-05 16:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882907392001,"power":27876,"unknown_142":206,"unknown_87":12800,"ignition":50,"odometer":null,"unknown_45":8947808060296087552}} 
[2026-09-05 16:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":171711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:17:02] local.INFO: GPS data processed {"connection_id":171711,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:17:02] local.INFO: Acknowledgment sent {"connection_id":171711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:17:23] local.INFO: TCP Data received {"connection_id":174422,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:17:23] local.INFO: Processing buffer {"connection_id":174422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:17:23] local.INFO: IMEI packet received {"connection_id":174422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":174422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:17:24] local.INFO: TCP Data received {"connection_id":174422,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:17:24] local.INFO: Processing buffer {"connection_id":174422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:17:24] local.INFO: IMEI packet received {"connection_id":174422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":174422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:17:25] local.INFO: TCP Data received {"connection_id":171998,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0712ce5f8012c6c83c0085b5c000008016228..."} 
[2026-09-05 16:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712ce5f8012c6c83c0085b5c000008016228..."} 
[2026-09-05 16:17:25] local.INFO: Processing buffer {"connection_id":171998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712ce5f8012c6c83c0085b5c000008016228..."} 
[2026-09-05 16:17:25] local.INFO: Packet analysis {"connection_id":171998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712c"} 
[2026-09-05 16:17:25] local.INFO: Extracted packet for processing {"connection_id":171998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712c"} 
[2026-09-05 16:17:25] local.INFO: GPS Element Parsed {"raw_longitude":745309120,"raw_latitude":140205056,"longitude_deg":74.530912,"latitude_deg":14.0205056,"altitude":8,"angle":354,"satellites":40,"speed":54,"hex_longitude":"2c6c83c0","hex_latitude":"085b5c00","is_valid_coordinates":true} 
[2026-09-05 16:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882917120001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1286462964236288,"note":"Value kept but may cause issues"} 
[2026-09-05 16:17:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7825285863420018688,"note":"Value kept but may cause issues"} 
[2026-09-05 16:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788605163000,"timestamp_ms":1788605163000,"timestamp_seconds":1788605163,"priority":1,"record_length":96,"hex_timestamp":"000001a0712ce5f8"} 
[2026-09-05 16:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 16:17:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:17:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171998,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171998,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882917120001,"66":27995,"186":206,"9":56064,"24":54,"16":1286462964236288,"44":7825285863420018688},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,9,24,16,44]} 
[2026-09-05 16:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882917120001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:17:25] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-05 16:17:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1286462964236288,"km_value":1286462964236.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:17:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":7825285863420018688,"description":"Unknown IO ID 44"} 
[2026-09-05 16:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882917120001,"power":27995,"unknown_186":206,"unknown_9":56064,"ignition":54,"odometer":null,"unknown_44":7825285863420018688}} 
[2026-09-05 16:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":171998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769845,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:17:25] local.INFO: GPS data processed {"connection_id":171998,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:17:25] local.INFO: Acknowledgment sent {"connection_id":171998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:17:27] local.INFO: TCP Data received {"connection_id":174422,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:17:27] local.INFO: Processing buffer {"connection_id":174422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:17:27] local.INFO: IMEI packet received {"connection_id":174422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":174422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:17:28] local.INFO: TCP Data received {"connection_id":174422,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:17:28] local.INFO: Processing buffer {"connection_id":174422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:17:28] local.INFO: IMEI packet received {"connection_id":174422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":174422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:17:29] local.INFO: TCP Data received {"connection_id":174422,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0712d43b8012d1c1880072836980045014822..."} 
[2026-09-05 16:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712d43b8012d1c1880072836980045014822..."} 
[2026-09-05 16:17:29] local.INFO: Processing buffer {"connection_id":174422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712d43b8012d1c1880072836980045014822..."} 
[2026-09-05 16:17:29] local.INFO: Packet analysis {"connection_id":174422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712d"} 
[2026-09-05 16:17:29] local.INFO: Extracted packet for processing {"connection_id":174422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712d"} 
[2026-09-05 16:17:29] local.INFO: GPS Element Parsed {"raw_longitude":756816000,"raw_latitude":120075928,"longitude_deg":75.6816,"latitude_deg":12.0075928,"altitude":69,"angle":328,"satellites":34,"speed":26,"hex_longitude":"2d1c1880","hex_latitude":"07283698","is_valid_coordinates":true} 
[2026-09-05 16:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882925056001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17982645816262656,"note":"Value kept but may cause issues"} 
[2026-09-05 16:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2026901338030987264,"note":"Value kept but may cause issues"} 
[2026-09-05 16:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788605187000,"timestamp_ms":1788605187000,"timestamp_seconds":1788605187,"priority":1,"record_length":96,"hex_timestamp":"000001a0712d43b8"} 
[2026-09-05 16:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-05 16:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":174422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":174422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":174422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882925056001,"66":14048,"233":206,"83":42752,"24":26,"16":17982645816262656,"45":2026901338030987264},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,45]} 
[2026-09-05 16:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882925056001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:17:29] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-09-05 16:17:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17982645816262656,"km_value":17982645816262.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2026901338030987264,"description":"Unknown IO ID 45"} 
[2026-09-05 16:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882925056001,"power":14048,"unknown_233":206,"unknown_83":42752,"ignition":26,"odometer":null,"unknown_45":2026901338030987264}} 
[2026-09-05 16:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":174422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:17:29] local.INFO: GPS data processed {"connection_id":174422,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:17:29] local.INFO: Acknowledgment sent {"connection_id":174422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:17:32] local.INFO: TCP Data received {"connection_id":173103,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07126df00012d7bea8005dc8120000000c227..."} 
[2026-09-05 16:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07126df00012d7bea8005dc8120000000c227..."} 
[2026-09-05 16:17:32] local.INFO: Processing buffer {"connection_id":173103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07126df00012d7bea8005dc8120000000c227..."} 
[2026-09-05 16:17:32] local.INFO: Packet analysis {"connection_id":173103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07126"} 
[2026-09-05 16:17:32] local.INFO: Extracted packet for processing {"connection_id":173103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07126"} 
[2026-09-05 16:17:32] local.INFO: GPS Element Parsed {"raw_longitude":763095680,"raw_latitude":98337056,"longitude_deg":76.309568,"latitude_deg":9.8337056,"altitude":0,"angle":194,"satellites":39,"speed":0,"hex_longitude":"2d7bea80","hex_latitude":"05dc8120","is_valid_coordinates":true} 
[2026-09-05 16:17:32] 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-09-05 16:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882820096001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128589624330158080,"note":"Value kept but may cause issues"} 
[2026-09-05 16:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929089973878079488,"note":"Value kept but may cause issues"} 
[2026-09-05 16:17:32] 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-09-05 16:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788604768000,"timestamp_ms":1788604768000,"timestamp_seconds":1788604768,"priority":1,"record_length":96,"hex_timestamp":"000001a07126df00"} 
[2026-09-05 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-09-05 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-09-05 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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 16:17: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-09-05 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-09-05 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-09-05 16:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882820096001,"66":5297,"168":206,"85":15104,"24":0,"16":128589624330158080,"45":8929089973878079488},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-05 16:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882820096001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:17:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-05 16:17:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128589624330158080,"km_value":128589624330158.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929089973878079488,"description":"Unknown IO ID 45"} 
[2026-09-05 16:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882820096001,"power":5297,"unknown_168":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8929089973878079488}} 
[2026-09-05 16:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":173103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769847,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:17:32] local.INFO: GPS data processed {"connection_id":173103,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:17:32] local.INFO: Acknowledgment sent {"connection_id":173103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:17:35] local.INFO: TCP Data received {"connection_id":171711,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0712c4da0012d7c398005f80b68000d00a929..."} 
[2026-09-05 16:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712c4da0012d7c398005f80b68000d00a929..."} 
[2026-09-05 16:17:35] local.INFO: Processing buffer {"connection_id":171711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712c4da0012d7c398005f80b68000d00a929..."} 
[2026-09-05 16:17:35] local.INFO: Packet analysis {"connection_id":171711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712c"} 
[2026-09-05 16:17:35] local.INFO: Extracted packet for processing {"connection_id":171711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712c"} 
[2026-09-05 16:17:35] local.INFO: GPS Element Parsed {"raw_longitude":763115904,"raw_latitude":100141928,"longitude_deg":76.3115904,"latitude_deg":10.0141928,"altitude":13,"angle":169,"satellites":41,"speed":38,"hex_longitude":"2d7c3980","hex_latitude":"05f80b68","is_valid_coordinates":true} 
[2026-09-05 16:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882909440001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399889948070641664,"note":"Value kept but may cause issues"} 
[2026-09-05 16:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949637647642245120,"note":"Value kept but may cause issues"} 
[2026-09-05 16:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788605124000,"timestamp_ms":1788605124000,"timestamp_seconds":1788605124,"priority":1,"record_length":96,"hex_timestamp":"000001a0712c4da0"} 
[2026-09-05 16:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:17:35] 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-09-05 16:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 16:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882909440001,"66":27865,"142":206,"87":12800,"24":38,"16":399889948070641664,"45":8949637647642245120},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,87,24,16,45]} 
[2026-09-05 16:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882909440001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:17:35] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-05 16:17:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399889948070641664,"km_value":399889948070641.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949637647642245120,"description":"Unknown IO ID 45"} 
[2026-09-05 16:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882909440001,"power":27865,"unknown_142":206,"unknown_87":12800,"ignition":38,"odometer":null,"unknown_45":8949637647642245120}} 
[2026-09-05 16:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":171711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:17:35] local.INFO: GPS data processed {"connection_id":171711,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:17:35] local.INFO: Acknowledgment sent {"connection_id":171711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:17:49] local.INFO: TCP Data received {"connection_id":171713,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:17:49] local.INFO: Processing buffer {"connection_id":171713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:17:49] local.INFO: IMEI packet received {"connection_id":171713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":171713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:17:50] local.INFO: TCP Data received {"connection_id":171712,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171712,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:17:50] local.INFO: Processing buffer {"connection_id":171712,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:17:50] local.INFO: IMEI packet received {"connection_id":171712,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":171712,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:17:52] local.INFO: TCP Data received {"connection_id":171712,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171712,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:17:52] local.INFO: Processing buffer {"connection_id":171712,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:17:52] local.INFO: IMEI packet received {"connection_id":171712,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":171712,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:17:54] local.INFO: TCP Data received {"connection_id":171713,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:17:54] local.INFO: Processing buffer {"connection_id":171713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:17:54] local.INFO: IMEI packet received {"connection_id":171713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":171713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:17:54] local.INFO: TCP Data received {"connection_id":171713,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0712dd440012d1bb8000728ad300034013023..."} 
[2026-09-05 16:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712dd440012d1bb8000728ad300034013023..."} 
[2026-09-05 16:17:54] local.INFO: Processing buffer {"connection_id":171713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712dd440012d1bb8000728ad300034013023..."} 
[2026-09-05 16:17:54] local.INFO: Packet analysis {"connection_id":171713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712d"} 
[2026-09-05 16:17:54] local.INFO: Extracted packet for processing {"connection_id":171713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712d"} 
[2026-09-05 16:17:54] local.INFO: GPS Element Parsed {"raw_longitude":756791296,"raw_latitude":120106288,"longitude_deg":75.6791296,"latitude_deg":12.0106288,"altitude":52,"angle":304,"satellites":35,"speed":40,"hex_longitude":"2d1bb800","hex_latitude":"0728ad30","is_valid_coordinates":true} 
[2026-09-05 16:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882936832001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17984565666643968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1999035315345950720,"note":"Value kept but may cause issues"} 
[2026-09-05 16:17:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788605224000,"timestamp_ms":1788605224000,"timestamp_seconds":1788605224,"priority":1,"record_length":96,"hex_timestamp":"000001a0712dd440"} 
[2026-09-05 16:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:17:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-05 16:17:54] 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-09-05 16:17:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:17:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882936832001,"66":13537,"225":206,"83":42752,"24":40,"16":17984565666643968,"45":1999035315345950720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882936832001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:17:54] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:17:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17984565666643968,"km_value":17984565666643.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1999035315345950720,"description":"Unknown IO ID 45"} 
[2026-09-05 16:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882936832001,"power":13537,"unknown_225":206,"unknown_83":42752,"ignition":40,"odometer":null,"unknown_45":1999035315345950720}} 
[2026-09-05 16:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":171713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:17:55] local.INFO: GPS data processed {"connection_id":171713,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:17:55] local.INFO: Acknowledgment sent {"connection_id":171713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:17:56] local.INFO: TCP Data received {"connection_id":172000,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:17:56] local.INFO: Processing buffer {"connection_id":172000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:17:56] local.INFO: IMEI packet received {"connection_id":172000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":172000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:17:56] local.INFO: TCP Data received {"connection_id":171999,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:17:56] local.INFO: Processing buffer {"connection_id":171999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:17:56] local.INFO: IMEI packet received {"connection_id":171999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 16:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":171999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:17:57] local.INFO: TCP Data received {"connection_id":171712,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171712,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:17:57] local.INFO: Processing buffer {"connection_id":171712,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:17:57] local.INFO: IMEI packet received {"connection_id":171712,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":171712,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:17:58] local.INFO: TCP Data received {"connection_id":171712,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0712d0150012c6c8080085b81800006016229..."} 
[2026-09-05 16:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712d0150012c6c8080085b81800006016229..."} 
[2026-09-05 16:17:58] local.INFO: Processing buffer {"connection_id":171712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712d0150012c6c8080085b81800006016229..."} 
[2026-09-05 16:17:58] local.INFO: Packet analysis {"connection_id":171712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712d"} 
[2026-09-05 16:17:58] local.INFO: Extracted packet for processing {"connection_id":171712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712d"} 
[2026-09-05 16:17:58] local.INFO: GPS Element Parsed {"raw_longitude":745308288,"raw_latitude":140214656,"longitude_deg":74.5308288,"latitude_deg":14.0214656,"altitude":6,"angle":354,"satellites":41,"speed":54,"hex_longitude":"2c6c8080","hex_latitude":"085b8180","is_valid_coordinates":true} 
[2026-09-05 16:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882921728001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1286931115671552,"note":"Value kept but may cause issues"} 
[2026-09-05 16:17:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7819304520170340352,"note":"Value kept but may cause issues"} 
[2026-09-05 16:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788605170000,"timestamp_ms":1788605170000,"timestamp_seconds":1788605170,"priority":1,"record_length":96,"hex_timestamp":"000001a0712d0150"} 
[2026-09-05 16:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 16:17:58] 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-09-05 16:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171712,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171712,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882921728001,"66":27800,"186":206,"9":56064,"24":54,"16":1286931115671552,"44":7819304520170340352},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,9,24,16,44]} 
[2026-09-05 16:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882921728001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:17:58] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-05 16:17:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1286931115671552,"km_value":1286931115671.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:17:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":7819304520170340352,"description":"Unknown IO ID 44"} 
[2026-09-05 16:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882921728001,"power":27800,"unknown_186":206,"unknown_9":56064,"ignition":54,"odometer":null,"unknown_44":7819304520170340352}} 
[2026-09-05 16:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":171712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769850,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:17:58] local.INFO: GPS data processed {"connection_id":171712,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:17:58] local.INFO: Acknowledgment sent {"connection_id":171712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:18:00] local.INFO: TCP Data received {"connection_id":171999,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:18:00] local.INFO: Processing buffer {"connection_id":171999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:18:00] local.INFO: IMEI packet received {"connection_id":171999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":171999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:18:00] local.INFO: TCP Data received {"connection_id":171999,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:18:00] local.INFO: Processing buffer {"connection_id":171999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:18:00] local.INFO: IMEI packet received {"connection_id":171999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":171999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:18:01] local.INFO: TCP Data received {"connection_id":172000,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:18:01] local.INFO: Processing buffer {"connection_id":172000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:18:01] local.INFO: IMEI packet received {"connection_id":172000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":172000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:18:01] local.INFO: TCP Data received {"connection_id":171999,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:18:01] local.INFO: Processing buffer {"connection_id":171999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:18:01] local.INFO: IMEI packet received {"connection_id":171999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":171999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:18:02] local.INFO: TCP Data received {"connection_id":172000,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0712c70c8012d7c3f0005f7e550000c00ad28..."} 
[2026-09-05 16:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712c70c8012d7c3f0005f7e550000c00ad28..."} 
[2026-09-05 16:18:02] local.INFO: Processing buffer {"connection_id":172000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712c70c8012d7c3f0005f7e550000c00ad28..."} 
[2026-09-05 16:18:02] local.INFO: Packet analysis {"connection_id":172000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712c"} 
[2026-09-05 16:18:02] local.INFO: Extracted packet for processing {"connection_id":172000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712c"} 
[2026-09-05 16:18:02] local.INFO: GPS Element Parsed {"raw_longitude":763117312,"raw_latitude":100132176,"longitude_deg":76.3117312,"latitude_deg":10.0132176,"altitude":12,"angle":173,"satellites":40,"speed":49,"hex_longitude":"2d7c3f00","hex_latitude":"05f7e550","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882911744001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399890424812011520,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951326497500260352,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788605133000,"timestamp_ms":1788605133000,"timestamp_seconds":1788605133,"priority":1,"record_length":96,"hex_timestamp":"000001a0712c70c8"} 
[2026-09-05 16:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:18: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-09-05 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 16:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882911744001,"66":27908,"142":206,"87":12800,"24":49,"16":399890424812011520,"45":8951326497500260352},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,87,24,16,45]} 
[2026-09-05 16:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882911744001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:18:02] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-05 16:18:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399890424812011520,"km_value":399890424812011.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951326497500260352,"description":"Unknown IO ID 45"} 
[2026-09-05 16:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882911744001,"power":27908,"unknown_142":206,"unknown_87":12800,"ignition":49,"odometer":null,"unknown_45":8951326497500260352}} 
[2026-09-05 16:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":172000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:18:02] local.INFO: GPS data processed {"connection_id":172000,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:18:02] local.INFO: Acknowledgment sent {"connection_id":172000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:18:02] local.INFO: TCP Data received {"connection_id":171999,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07126df00012d7bea8005dc8120000000c227..."} 
[2026-09-05 16:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07126df00012d7bea8005dc8120000000c227..."} 
[2026-09-05 16:18:02] local.INFO: Processing buffer {"connection_id":171999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07126df00012d7bea8005dc8120000000c227..."} 
[2026-09-05 16:18:02] local.INFO: Packet analysis {"connection_id":171999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07126"} 
[2026-09-05 16:18:02] local.INFO: Extracted packet for processing {"connection_id":171999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07126"} 
[2026-09-05 16:18:02] local.INFO: GPS Element Parsed {"raw_longitude":763095680,"raw_latitude":98337056,"longitude_deg":76.309568,"latitude_deg":9.8337056,"altitude":0,"angle":194,"satellites":39,"speed":0,"hex_longitude":"2d7bea80","hex_latitude":"05dc8120","is_valid_coordinates":true} 
[2026-09-05 16:18:02] 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-09-05 16:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882820608001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128589624330158080,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929089973878071296,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:02] 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-09-05 16:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788604768000,"timestamp_ms":1788604768000,"timestamp_seconds":1788604768,"priority":1,"record_length":96,"hex_timestamp":"000001a07126df00"} 
[2026-09-05 16:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 16: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":20,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-09-05 16:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1891,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882820608001,"66":5297,"168":206,"85":15104,"24":0,"16":128589624330158080,"45":8929089973878071296},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-05 16:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882820608001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:18:02] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-05 16:18:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128589624330158080,"km_value":128589624330158.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929089973878071296,"description":"Unknown IO ID 45"} 
[2026-09-05 16:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882820608001,"power":5297,"unknown_168":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8929089973878071296}} 
[2026-09-05 16:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":171999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769852,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:18:02] local.INFO: GPS data processed {"connection_id":171999,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:18:02] local.INFO: Acknowledgment sent {"connection_id":171999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:18:03] local.INFO: TCP Data received {"connection_id":171999,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0712e35e8012d7bea8005dc8120000100c223..."} 
[2026-09-05 16:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712e35e8012d7bea8005dc8120000100c223..."} 
[2026-09-05 16:18:03] local.INFO: Processing buffer {"connection_id":171999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712e35e8012d7bea8005dc8120000100c223..."} 
[2026-09-05 16:18:03] local.INFO: Packet analysis {"connection_id":171999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:18:03] local.INFO: Extracted packet for processing {"connection_id":171999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:18:03] local.INFO: GPS Element Parsed {"raw_longitude":763095680,"raw_latitude":98337056,"longitude_deg":76.309568,"latitude_deg":9.8337056,"altitude":1,"angle":194,"satellites":35,"speed":0,"hex_longitude":"2d7bea80","hex_latitude":"05dc8120","is_valid_coordinates":true} 
[2026-09-05 16:18: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-09-05 16:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882820608001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128589624330158080,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929089973878071296,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:03] 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-09-05 16:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788605249000,"timestamp_ms":1788605249000,"timestamp_seconds":1788605249,"priority":1,"record_length":96,"hex_timestamp":"000001a0712e35e8"} 
[2026-09-05 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-09-05 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-09-05 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":20,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-09-05 16:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1891,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882820608001,"66":2275,"168":206,"85":15104,"24":0,"16":128589624330158080,"45":8929089973878071296},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-05 16:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882820608001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:18:03] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-05 16:18:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128589624330158080,"km_value":128589624330158.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929089973878071296,"description":"Unknown IO ID 45"} 
[2026-09-05 16:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882820608001,"power":2275,"unknown_168":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8929089973878071296}} 
[2026-09-05 16:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":171999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769853,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:18:03] local.INFO: GPS data processed {"connection_id":171999,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:18:03] local.INFO: Acknowledgment sent {"connection_id":171999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:18:05] local.INFO: TCP Data received {"connection_id":171999,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0712e35e8012d7bea8005dc8120000100c223..."} 
[2026-09-05 16:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712e35e8012d7bea8005dc8120000100c223..."} 
[2026-09-05 16:18:05] local.INFO: Processing buffer {"connection_id":171999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712e35e8012d7bea8005dc8120000100c223..."} 
[2026-09-05 16:18:05] local.INFO: Packet analysis {"connection_id":171999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:18:05] local.INFO: Extracted packet for processing {"connection_id":171999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:18:05] local.INFO: GPS Element Parsed {"raw_longitude":763095680,"raw_latitude":98337056,"longitude_deg":76.309568,"latitude_deg":9.8337056,"altitude":1,"angle":194,"satellites":35,"speed":0,"hex_longitude":"2d7bea80","hex_latitude":"05dc8120","is_valid_coordinates":true} 
[2026-09-05 16:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882943744001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128589624330158080,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929089973878071296,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:05] 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-09-05 16:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788605249000,"timestamp_ms":1788605249000,"timestamp_seconds":1788605249,"priority":1,"record_length":96,"hex_timestamp":"000001a0712e35e8"} 
[2026-09-05 16:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:18: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-09-05 16:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-05 16:18:05] 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-09-05 16:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882943744001,"66":2275,"168":206,"85":15104,"24":0,"16":128589624330158080,"45":8929089973878071296},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-05 16:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882943744001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:18:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-05 16:18:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128589624330158080,"km_value":128589624330158.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929089973878071296,"description":"Unknown IO ID 45"} 
[2026-09-05 16:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882943744001,"power":2275,"unknown_168":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8929089973878071296}} 
[2026-09-05 16:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":171999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:18:05] local.INFO: GPS data processed {"connection_id":171999,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:18:05] local.INFO: Acknowledgment sent {"connection_id":171999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:18:26] local.INFO: TCP Data received {"connection_id":171713,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0712de3e0012d1baa000728b5980033013b24..."} 
[2026-09-05 16:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712de3e0012d1baa000728b5980033013b24..."} 
[2026-09-05 16:18:26] local.INFO: Processing buffer {"connection_id":171713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712de3e0012d1baa000728b5980033013b24..."} 
[2026-09-05 16:18:26] local.INFO: Packet analysis {"connection_id":171713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712d"} 
[2026-09-05 16:18:26] local.INFO: Extracted packet for processing {"connection_id":171713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712d"} 
[2026-09-05 16:18:26] local.INFO: GPS Element Parsed {"raw_longitude":756787712,"raw_latitude":120108440,"longitude_deg":75.6787712,"latitude_deg":12.010844,"altitude":51,"angle":315,"satellites":36,"speed":39,"hex_longitude":"2d1baa00","hex_latitude":"0728b598","is_valid_coordinates":true} 
[2026-09-05 16:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882937344001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17984767530106880,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1997346465486024704,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788605228000,"timestamp_ms":1788605228000,"timestamp_seconds":1788605228,"priority":1,"record_length":96,"hex_timestamp":"000001a0712de3e0"} 
[2026-09-05 16:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:18: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-09-05 16:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-05 16:18:26] 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-09-05 16:18:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882937344001,"66":13961,"225":206,"83":42752,"24":39,"16":17984767530106880,"45":1997346465486024704},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882937344001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:18:26] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:18:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17984767530106880,"km_value":17984767530106.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1997346465486024704,"description":"Unknown IO ID 45"} 
[2026-09-05 16:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882937344001,"power":13961,"unknown_225":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1997346465486024704}} 
[2026-09-05 16:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":171713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:18:26] local.INFO: GPS data processed {"connection_id":171713,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:18:26] local.INFO: Acknowledgment sent {"connection_id":171713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:18:30] local.INFO: TCP Data received {"connection_id":171712,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0712e2a30012c6c1380085cd1e00002015126..."} 
[2026-09-05 16:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712e2a30012c6c1380085cd1e00002015126..."} 
[2026-09-05 16:18:30] local.INFO: Processing buffer {"connection_id":171712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712e2a30012c6c1380085cd1e00002015126..."} 
[2026-09-05 16:18:30] local.INFO: Packet analysis {"connection_id":171712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:18:30] local.INFO: Extracted packet for processing {"connection_id":171712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:18:30] local.INFO: GPS Element Parsed {"raw_longitude":745280384,"raw_latitude":140300768,"longitude_deg":74.5280384,"latitude_deg":14.0300768,"altitude":2,"angle":337,"satellites":38,"speed":51,"hex_longitude":"2c6c1380","hex_latitude":"085cd1e0","is_valid_coordinates":true} 
[2026-09-05 16:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882941184001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1291380701790208,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7791157022521581568,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788605246000,"timestamp_ms":1788605246000,"timestamp_seconds":1788605246,"priority":1,"record_length":96,"hex_timestamp":"000001a0712e2a30"} 
[2026-09-05 16:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 16:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":171712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":171712,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":171712,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882941184001,"66":28224,"187":206,"9":56064,"24":51,"16":1291380701790208,"44":7791157022521581568},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,9,24,16,44]} 
[2026-09-05 16:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882941184001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:18:30] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-05 16:18:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1291380701790208,"km_value":1291380701790.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:18:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":7791157022521581568,"description":"Unknown IO ID 44"} 
[2026-09-05 16:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882941184001,"power":28224,"unknown_187":206,"unknown_9":56064,"ignition":51,"odometer":null,"unknown_44":7791157022521581568}} 
[2026-09-05 16:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":171712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769856,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:18:30] local.INFO: GPS data processed {"connection_id":171712,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:18:30] local.INFO: Acknowledgment sent {"connection_id":171712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:18:33] local.INFO: TCP Data received {"connection_id":172000,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0712e5cf8012d7c7dc005f68880001c00b028..."} 
[2026-09-05 16:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712e5cf8012d7c7dc005f68880001c00b028..."} 
[2026-09-05 16:18:33] local.INFO: Processing buffer {"connection_id":172000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712e5cf8012d7c7dc005f68880001c00b028..."} 
[2026-09-05 16:18:33] local.INFO: Packet analysis {"connection_id":172000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:18:33] local.INFO: Extracted packet for processing {"connection_id":172000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:18:33] local.INFO: GPS Element Parsed {"raw_longitude":763133376,"raw_latitude":100042880,"longitude_deg":76.3133376,"latitude_deg":10.004288,"altitude":28,"angle":176,"satellites":40,"speed":6,"hex_longitude":"2d7c7dc0","hex_latitude":"05f68880","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882944768001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399894835743424512,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970396427147282432,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788605259000,"timestamp_ms":1788605259000,"timestamp_seconds":1788605259,"priority":1,"record_length":96,"hex_timestamp":"000001a0712e5cf8"} 
[2026-09-05 16:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:18: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-09-05 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 16:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882944768001,"66":27865,"32":206,"87":12800,"24":6,"16":399894835743424512,"45":8970396427147282432},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,87,24,16,45]} 
[2026-09-05 16:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882944768001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:18:33] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-05 16:18:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399894835743424512,"km_value":399894835743424.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970396427147282432,"description":"Unknown IO ID 45"} 
[2026-09-05 16:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882944768001,"power":27865,"unknown_32":206,"unknown_87":12800,"ignition":6,"odometer":null,"unknown_45":8970396427147282432}} 
[2026-09-05 16:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":172000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:18:33] local.INFO: GPS data processed {"connection_id":172000,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:18:33] local.INFO: Acknowledgment sent {"connection_id":172000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:18:36] local.INFO: TCP Data received {"connection_id":171999,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0712e35e8012d7bea8005dc8120000100c223..."} 
[2026-09-05 16:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712e35e8012d7bea8005dc8120000100c223..."} 
[2026-09-05 16:18:36] local.INFO: Processing buffer {"connection_id":171999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712e35e8012d7bea8005dc8120000100c223..."} 
[2026-09-05 16:18:36] local.INFO: Packet analysis {"connection_id":171999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:18:36] local.INFO: Extracted packet for processing {"connection_id":171999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:18:36] local.INFO: GPS Element Parsed {"raw_longitude":763095680,"raw_latitude":98337056,"longitude_deg":76.309568,"latitude_deg":9.8337056,"altitude":1,"angle":194,"satellites":35,"speed":0,"hex_longitude":"2d7bea80","hex_latitude":"05dc8120","is_valid_coordinates":true} 
[2026-09-05 16:18: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-09-05 16:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882943744001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128589624330158080,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929089973878071296,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18: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-09-05 16:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788605249000,"timestamp_ms":1788605249000,"timestamp_seconds":1788605249,"priority":1,"record_length":96,"hex_timestamp":"000001a0712e35e8"} 
[2026-09-05 16:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:18: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-09-05 16:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-05 16:18: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-09-05 16: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-09-05 16:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882943744001,"66":2275,"168":206,"85":15104,"24":0,"16":128589624330158080,"45":8929089973878071296},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-05 16:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882943744001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:18:36] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-05 16:18:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128589624330158080,"km_value":128589624330158.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929089973878071296,"description":"Unknown IO ID 45"} 
[2026-09-05 16:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882943744001,"power":2275,"unknown_168":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8929089973878071296}} 
[2026-09-05 16:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":171999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769858,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:18:36] local.INFO: GPS data processed {"connection_id":171999,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:18:36] local.INFO: Acknowledgment sent {"connection_id":171999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:18:47] local.INFO: TCP Data received {"connection_id":171714,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:18:47] local.INFO: Processing buffer {"connection_id":171714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:18:47] local.INFO: IMEI packet received {"connection_id":171714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":171714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:18:48] local.INFO: TCP Data received {"connection_id":171714,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:18:48] local.INFO: Processing buffer {"connection_id":171714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:18:48] local.INFO: IMEI packet received {"connection_id":171714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":171714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:18:50] local.INFO: TCP Data received {"connection_id":171715,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:18:50] local.INFO: Processing buffer {"connection_id":171715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:18:50] local.INFO: IMEI packet received {"connection_id":171715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":171715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:18:50] local.INFO: TCP Data received {"connection_id":171715,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:18:50] local.INFO: Processing buffer {"connection_id":171715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:18:50] local.INFO: IMEI packet received {"connection_id":171715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":171715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:18:51] local.INFO: TCP Data received {"connection_id":171715,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0712debb0012d1ba5c00728bb980033014724..."} 
[2026-09-05 16:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712debb0012d1ba5c00728bb980033014724..."} 
[2026-09-05 16:18:51] local.INFO: Processing buffer {"connection_id":171715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712debb0012d1ba5c00728bb980033014724..."} 
[2026-09-05 16:18:51] local.INFO: Packet analysis {"connection_id":171715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712d"} 
[2026-09-05 16:18:51] local.INFO: Extracted packet for processing {"connection_id":171715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712d"} 
[2026-09-05 16:18:51] local.INFO: GPS Element Parsed {"raw_longitude":756786624,"raw_latitude":120109976,"longitude_deg":75.6786624,"latitude_deg":12.0109976,"altitude":51,"angle":327,"satellites":36,"speed":36,"hex_longitude":"2d1ba5c0","hex_latitude":"0728bb98","is_valid_coordinates":true} 
[2026-09-05 16:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882938368001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17984857724420096,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1993405815812626432,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788605230000,"timestamp_ms":1788605230000,"timestamp_seconds":1788605230,"priority":1,"record_length":96,"hex_timestamp":"000001a0712debb0"} 
[2026-09-05 16:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-05 16:18:51] 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-09-05 16:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882938368001,"66":13961,"225":206,"83":42752,"24":36,"16":17984857724420096,"45":1993405815812626432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882938368001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:18:51] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:18:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17984857724420096,"km_value":17984857724420.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1993405815812626432,"description":"Unknown IO ID 45"} 
[2026-09-05 16:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882938368001,"power":13961,"unknown_225":206,"unknown_83":42752,"ignition":36,"odometer":null,"unknown_45":1993405815812626432}} 
[2026-09-05 16:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":171715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:18:51] local.INFO: GPS data processed {"connection_id":171715,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:18:51] local.INFO: Acknowledgment sent {"connection_id":171715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:18:52] local.INFO: TCP Data received {"connection_id":171714,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:18:52] local.INFO: Processing buffer {"connection_id":171714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:18:52] local.INFO: IMEI packet received {"connection_id":171714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":171714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:18:53] local.INFO: TCP Data received {"connection_id":171716,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171716,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:18:53] local.INFO: Processing buffer {"connection_id":171716,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:18:53] local.INFO: IMEI packet received {"connection_id":171716,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 16:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":171716,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:18:53] local.INFO: TCP Data received {"connection_id":171714,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0712e4970012c6c00c0085cf4400003014925..."} 
[2026-09-05 16:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712e4970012c6c00c0085cf4400003014925..."} 
[2026-09-05 16:18:53] local.INFO: Processing buffer {"connection_id":171714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712e4970012c6c00c0085cf4400003014925..."} 
[2026-09-05 16:18:53] local.INFO: Packet analysis {"connection_id":171714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:18:53] local.INFO: Extracted packet for processing {"connection_id":171714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:18:53] local.INFO: GPS Element Parsed {"raw_longitude":745275584,"raw_latitude":140309568,"longitude_deg":74.5275584,"latitude_deg":14.0309568,"altitude":3,"angle":329,"satellites":37,"speed":48,"hex_longitude":"2c6c00c0","hex_latitude":"085cf440","is_valid_coordinates":true} 
[2026-09-05 16:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882942976001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1291861738127360,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7787708954059071488,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788605254000,"timestamp_ms":1788605254000,"timestamp_seconds":1788605254,"priority":1,"record_length":96,"hex_timestamp":"000001a0712e4970"} 
[2026-09-05 16:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-05 16:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:18:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882942976001,"66":28137,"187":206,"9":56064,"24":48,"16":1291861738127360,"44":7787708954059071488},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,9,24,16,44]} 
[2026-09-05 16:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882942976001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:18:53] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-05 16:18:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1291861738127360,"km_value":1291861738127.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:18:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":7787708954059071488,"description":"Unknown IO ID 44"} 
[2026-09-05 16:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882942976001,"power":28137,"unknown_187":206,"unknown_9":56064,"ignition":48,"odometer":null,"unknown_44":7787708954059071488}} 
[2026-09-05 16:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":171714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769860,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:18:54] local.INFO: GPS data processed {"connection_id":171714,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:18:54] local.INFO: Acknowledgment sent {"connection_id":171714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:18:54] local.INFO: TCP Data received {"connection_id":171716,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171716,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:18:54] local.INFO: Processing buffer {"connection_id":171716,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:18:54] local.INFO: IMEI packet received {"connection_id":171716,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":171716,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:18:55] local.INFO: TCP Data received {"connection_id":171715,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0712e0320012d1b9d400728cca80037015226..."} 
[2026-09-05 16:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712e0320012d1b9d400728cca80037015226..."} 
[2026-09-05 16:18:55] local.INFO: Processing buffer {"connection_id":171715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712e0320012d1b9d400728cca80037015226..."} 
[2026-09-05 16:18:55] local.INFO: Packet analysis {"connection_id":171715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:18:55] local.INFO: Extracted packet for processing {"connection_id":171715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:18:55] local.INFO: GPS Element Parsed {"raw_longitude":756784448,"raw_latitude":120114344,"longitude_deg":75.6784448,"latitude_deg":12.0114344,"altitude":55,"angle":338,"satellites":38,"speed":29,"hex_longitude":"2d1b9d40","hex_latitude":"0728cca8","is_valid_coordinates":true} 
[2026-09-05 16:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882938880001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17985093947621376,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1992209547161999360,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788605236000,"timestamp_ms":1788605236000,"timestamp_seconds":1788605236,"priority":1,"record_length":96,"hex_timestamp":"000001a0712e0320"} 
[2026-09-05 16:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:18:55] 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-09-05 16:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-05 16:18:55] 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-09-05 16:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882938880001,"66":14004,"225":206,"83":42752,"24":29,"16":17985093947621376,"45":1992209547161999360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882938880001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:18:55] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:18:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17985093947621376,"km_value":17985093947621.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1992209547161999360,"description":"Unknown IO ID 45"} 
[2026-09-05 16:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882938880001,"power":14004,"unknown_225":206,"unknown_83":42752,"ignition":29,"odometer":null,"unknown_45":1992209547161999360}} 
[2026-09-05 16:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":171715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:18:55] local.INFO: GPS data processed {"connection_id":171715,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:18:55] local.INFO: Acknowledgment sent {"connection_id":171715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:18:56] local.INFO: TCP Data received {"connection_id":171714,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0712e6c98012c6bedc0085d14200002014929..."} 
[2026-09-05 16:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712e6c98012c6bedc0085d14200002014929..."} 
[2026-09-05 16:18:56] local.INFO: Processing buffer {"connection_id":171714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712e6c98012c6bedc0085d14200002014929..."} 
[2026-09-05 16:18:56] local.INFO: Packet analysis {"connection_id":171714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:18:56] local.INFO: Extracted packet for processing {"connection_id":171714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:18:56] local.INFO: GPS Element Parsed {"raw_longitude":745270720,"raw_latitude":140317728,"longitude_deg":74.527072,"latitude_deg":14.0317728,"altitude":2,"angle":329,"satellites":41,"speed":32,"hex_longitude":"2c6bedc0","hex_latitude":"085d1420","is_valid_coordinates":true} 
[2026-09-05 16:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882945024001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1292321299628032,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7782431298247999488,"note":"Value kept but may cause issues"} 
[2026-09-05 16:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788605263000,"timestamp_ms":1788605263000,"timestamp_seconds":1788605263,"priority":1,"record_length":96,"hex_timestamp":"000001a0712e6c98"} 
[2026-09-05 16:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 16:18:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882945024001,"66":27484,"187":206,"9":56064,"24":32,"16":1292321299628032,"44":7782431298247999488},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,9,24,16,44]} 
[2026-09-05 16:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882945024001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:18:56] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-05 16:18:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1292321299628032,"km_value":1292321299628.032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:18:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":7782431298247999488,"description":"Unknown IO ID 44"} 
[2026-09-05 16:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882945024001,"power":27484,"unknown_187":206,"unknown_9":56064,"ignition":32,"odometer":null,"unknown_44":7782431298247999488}} 
[2026-09-05 16:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":171714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769862,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:18:56] local.INFO: GPS data processed {"connection_id":171714,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:18:56] local.INFO: Acknowledgment sent {"connection_id":171714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:19:00] local.INFO: TCP Data received {"connection_id":171716,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171716,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:19:00] local.INFO: Processing buffer {"connection_id":171716,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:19:00] local.INFO: IMEI packet received {"connection_id":171716,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":171716,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:19:01] local.INFO: TCP Data received {"connection_id":171716,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0712e35e8012d7bea8005dc8120000100c223..."} 
[2026-09-05 16:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712e35e8012d7bea8005dc8120000100c223..."} 
[2026-09-05 16:19:01] local.INFO: Processing buffer {"connection_id":171716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712e35e8012d7bea8005dc8120000100c223..."} 
[2026-09-05 16:19:01] local.INFO: Packet analysis {"connection_id":171716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:19:01] local.INFO: Extracted packet for processing {"connection_id":171716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:19:01] local.INFO: GPS Element Parsed {"raw_longitude":763095680,"raw_latitude":98337056,"longitude_deg":76.309568,"latitude_deg":9.8337056,"altitude":1,"angle":194,"satellites":35,"speed":0,"hex_longitude":"2d7bea80","hex_latitude":"05dc8120","is_valid_coordinates":true} 
[2026-09-05 16:19:01] 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-09-05 16:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882943744001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128589624330158080,"note":"Value kept but may cause issues"} 
[2026-09-05 16:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929089973878071296,"note":"Value kept but may cause issues"} 
[2026-09-05 16:19:01] 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-09-05 16:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788605249000,"timestamp_ms":1788605249000,"timestamp_seconds":1788605249,"priority":1,"record_length":96,"hex_timestamp":"000001a0712e35e8"} 
[2026-09-05 16:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-05 16:19:01] 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-09-05 16:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882943744001,"66":2275,"168":206,"85":15104,"24":0,"16":128589624330158080,"45":8929089973878071296},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-05 16:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882943744001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:19:01] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-05 16:19:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128589624330158080,"km_value":128589624330158.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929089973878071296,"description":"Unknown IO ID 45"} 
[2026-09-05 16:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882943744001,"power":2275,"unknown_168":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8929089973878071296}} 
[2026-09-05 16:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":171716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:19:01] local.INFO: GPS data processed {"connection_id":171716,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:19:01] local.INFO: Acknowledgment sent {"connection_id":171716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:19:01] local.INFO: TCP Data received {"connection_id":173104,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:19:01] local.INFO: Processing buffer {"connection_id":173104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:19:01] local.INFO: IMEI packet received {"connection_id":173104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":173104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:19:04] local.INFO: TCP Data received {"connection_id":173104,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:19:04] local.INFO: Processing buffer {"connection_id":173104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:19:04] local.INFO: IMEI packet received {"connection_id":173104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":173104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:19:05] local.INFO: TCP Data received {"connection_id":173104,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0712e8fc0012d7c7ec005f67d28001c00bc27..."} 
[2026-09-05 16:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712e8fc0012d7c7ec005f67d28001c00bc27..."} 
[2026-09-05 16:19:05] local.INFO: Processing buffer {"connection_id":173104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712e8fc0012d7c7ec005f67d28001c00bc27..."} 
[2026-09-05 16:19:05] local.INFO: Packet analysis {"connection_id":173104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:19:05] local.INFO: Extracted packet for processing {"connection_id":173104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:19:05] local.INFO: GPS Element Parsed {"raw_longitude":763133632,"raw_latitude":100039976,"longitude_deg":76.3133632,"latitude_deg":10.0039976,"altitude":28,"angle":188,"satellites":39,"speed":5,"hex_longitude":"2d7c7ec0","hex_latitude":"05f67d28","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882946304001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399894977477345280,"note":"Value kept but may cause issues"} 
[2026-09-05 16:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970537164635406336,"note":"Value kept but may cause issues"} 
[2026-09-05 16:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788605272000,"timestamp_ms":1788605272000,"timestamp_seconds":1788605272,"priority":1,"record_length":96,"hex_timestamp":"000001a0712e8fc0"} 
[2026-09-05 16:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:19:05] 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-09-05 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 16:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882946304001,"66":28006,"32":206,"87":12800,"24":5,"16":399894977477345280,"45":8970537164635406336},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,87,24,16,45]} 
[2026-09-05 16:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882946304001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:19:05] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-05 16:19:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399894977477345280,"km_value":399894977477345.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970537164635406336,"description":"Unknown IO ID 45"} 
[2026-09-05 16:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882946304001,"power":28006,"unknown_32":206,"unknown_87":12800,"ignition":5,"odometer":null,"unknown_45":8970537164635406336}} 
[2026-09-05 16:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":173104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:19:05] local.INFO: GPS data processed {"connection_id":173104,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:19:05] local.INFO: Acknowledgment sent {"connection_id":173104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:19:06] local.INFO: TCP Data received {"connection_id":173104,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0712e93a8012d7c7ec005f67c88001c00c828..."} 
[2026-09-05 16:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712e93a8012d7c7ec005f67c88001c00c828..."} 
[2026-09-05 16:19:06] local.INFO: Processing buffer {"connection_id":173104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712e93a8012d7c7ec005f67c88001c00c828..."} 
[2026-09-05 16:19:06] local.INFO: Packet analysis {"connection_id":173104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:19:06] local.INFO: Extracted packet for processing {"connection_id":173104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:19:06] local.INFO: GPS Element Parsed {"raw_longitude":763133632,"raw_latitude":100039816,"longitude_deg":76.3133632,"latitude_deg":10.0039816,"altitude":28,"angle":200,"satellites":40,"speed":7,"hex_longitude":"2d7c7ec0","hex_latitude":"05f67c88","is_valid_coordinates":true} 
[2026-09-05 16:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882949632001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399894986067279872,"note":"Value kept but may cause issues"} 
[2026-09-05 16:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970818639611373568,"note":"Value kept but may cause issues"} 
[2026-09-05 16:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788605273000,"timestamp_ms":1788605273000,"timestamp_seconds":1788605273,"priority":1,"record_length":96,"hex_timestamp":"000001a0712e93a8"} 
[2026-09-05 16:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 16:19:06] 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-09-05 16:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882949632001,"66":27887,"32":206,"87":12800,"24":7,"16":399894986067279872,"45":8970818639611373568},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,87,24,16,45]} 
[2026-09-05 16:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882949632001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:19:06] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-05 16:19:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399894986067279872,"km_value":399894986067279.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970818639611373568,"description":"Unknown IO ID 45"} 
[2026-09-05 16:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882949632001,"power":27887,"unknown_32":206,"unknown_87":12800,"ignition":7,"odometer":null,"unknown_45":8970818639611373568}} 
[2026-09-05 16:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":173104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:19:06] local.INFO: GPS data processed {"connection_id":173104,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:19:06] local.INFO: Acknowledgment sent {"connection_id":173104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:19:26] local.INFO: TCP Data received {"connection_id":171715,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0712e3200012d1b92c00728ee680040015528..."} 
[2026-09-05 16:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712e3200012d1b92c00728ee680040015528..."} 
[2026-09-05 16:19:26] local.INFO: Processing buffer {"connection_id":171715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712e3200012d1b92c00728ee680040015528..."} 
[2026-09-05 16:19:26] local.INFO: Packet analysis {"connection_id":171715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:19:26] local.INFO: Extracted packet for processing {"connection_id":171715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:19:26] local.INFO: GPS Element Parsed {"raw_longitude":756781760,"raw_latitude":120122984,"longitude_deg":75.678176,"latitude_deg":12.0122984,"altitude":64,"angle":341,"satellites":40,"speed":36,"hex_longitude":"2d1b92c0","hex_latitude":"0728ee68","is_valid_coordinates":true} 
[2026-09-05 16:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882940416001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17985532034285568,"note":"Value kept but may cause issues"} 
[2026-09-05 16:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1989817009861076992,"note":"Value kept but may cause issues"} 
[2026-09-05 16:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788605248000,"timestamp_ms":1788605248000,"timestamp_seconds":1788605248,"priority":1,"record_length":96,"hex_timestamp":"000001a0712e3200"} 
[2026-09-05 16:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:19: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-09-05 16:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-05 16:19:26] 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-09-05 16:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882940416001,"66":13972,"225":206,"83":42752,"24":36,"16":17985532034285568,"45":1989817009861076992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882940416001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:19:26] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:19:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17985532034285568,"km_value":17985532034285.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1989817009861076992,"description":"Unknown IO ID 45"} 
[2026-09-05 16:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882940416001,"power":13972,"unknown_225":206,"unknown_83":42752,"ignition":36,"odometer":null,"unknown_45":1989817009861076992}} 
[2026-09-05 16:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":171715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:19:26] local.INFO: GPS data processed {"connection_id":171715,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:19:26] local.INFO: Acknowledgment sent {"connection_id":171715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:19:29] local.INFO: TCP Data received {"connection_id":171714,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0712e93a8012c6bdb80085d32800001014a29..."} 
[2026-09-05 16:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712e93a8012c6bdb80085d32800001014a29..."} 
[2026-09-05 16:19:29] local.INFO: Processing buffer {"connection_id":171714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712e93a8012c6bdb80085d32800001014a29..."} 
[2026-09-05 16:19:29] local.INFO: Packet analysis {"connection_id":171714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:19:29] local.INFO: Extracted packet for processing {"connection_id":171714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:19:29] local.INFO: GPS Element Parsed {"raw_longitude":745266048,"raw_latitude":140325504,"longitude_deg":74.5266048,"latitude_deg":14.0325504,"altitude":1,"angle":330,"satellites":41,"speed":39,"hex_longitude":"2c6bdb80","hex_latitude":"085d3280","is_valid_coordinates":true} 
[2026-09-05 16:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882947328001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1292755091324928,"note":"Value kept but may cause issues"} 
[2026-09-05 16:19:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7777083273692585984,"note":"Value kept but may cause issues"} 
[2026-09-05 16:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788605273000,"timestamp_ms":1788605273000,"timestamp_seconds":1788605273,"priority":1,"record_length":96,"hex_timestamp":"000001a0712e93a8"} 
[2026-09-05 16:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:19:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 16:19:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:19:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":171714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":171714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":171714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:19:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882947328001,"66":28050,"187":206,"9":56064,"24":39,"16":1292755091324928,"44":7777083273692585984},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,9,24,16,44]} 
[2026-09-05 16:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882947328001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:19:29] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-05 16:19:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1292755091324928,"km_value":1292755091324.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:19:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":7777083273692585984,"description":"Unknown IO ID 44"} 
[2026-09-05 16:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882947328001,"power":28050,"unknown_187":206,"unknown_9":56064,"ignition":39,"odometer":null,"unknown_44":7777083273692585984}} 
[2026-09-05 16:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":171714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769867,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:19:29] local.INFO: GPS data processed {"connection_id":171714,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:19:29] local.INFO: Acknowledgment sent {"connection_id":171714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:19:32] local.INFO: TCP Data received {"connection_id":171716,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0712e4970012d7bee4005dc81780001005023..."} 
[2026-09-05 16:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712e4970012d7bee4005dc81780001005023..."} 
[2026-09-05 16:19:32] local.INFO: Processing buffer {"connection_id":171716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712e4970012d7bee4005dc81780001005023..."} 
[2026-09-05 16:19:32] local.INFO: Packet analysis {"connection_id":171716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:19:32] local.INFO: Extracted packet for processing {"connection_id":171716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:19:32] local.INFO: GPS Element Parsed {"raw_longitude":763096640,"raw_latitude":98337144,"longitude_deg":76.309664,"latitude_deg":9.8337144,"altitude":1,"angle":80,"satellites":35,"speed":0,"hex_longitude":"2d7bee40","hex_latitude":"05dc8178","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882943744001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128589624330158080,"note":"Value kept but may cause issues"} 
[2026-09-05 16:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929089973878071296,"note":"Value kept but may cause issues"} 
[2026-09-05 16:19:32] 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-09-05 16:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788605254000,"timestamp_ms":1788605254000,"timestamp_seconds":1788605254,"priority":1,"record_length":96,"hex_timestamp":"000001a0712e4970"} 
[2026-09-05 16:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:19: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-09-05 16: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":227,"data_length":795,"current_offset":136} 
[2026-09-05 16:19:32] 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-09-05 16: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-09-05 16:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882943744001,"66":8536,"168":206,"85":15104,"24":0,"16":128589624330158080,"45":8929089973878071296},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-05 16:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882943744001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:19:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-05 16:19:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128589624330158080,"km_value":128589624330158.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929089973878071296,"description":"Unknown IO ID 45"} 
[2026-09-05 16:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882943744001,"power":8536,"unknown_168":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8929089973878071296}} 
[2026-09-05 16:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":171716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769868,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:19:32] local.INFO: GPS data processed {"connection_id":171716,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:19:32] local.INFO: Acknowledgment sent {"connection_id":171716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:19:37] local.INFO: TCP Data received {"connection_id":173104,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0712ebea0012d7c7f0005f67b28001f011429..."} 
[2026-09-05 16:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712ebea0012d7c7f0005f67b28001f011429..."} 
[2026-09-05 16:19:37] local.INFO: Processing buffer {"connection_id":173104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712ebea0012d7c7f0005f67b28001f011429..."} 
[2026-09-05 16:19:37] local.INFO: Packet analysis {"connection_id":173104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:19:37] local.INFO: Extracted packet for processing {"connection_id":173104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:19:37] local.INFO: GPS Element Parsed {"raw_longitude":763133696,"raw_latitude":100039464,"longitude_deg":76.3133696,"latitude_deg":10.0039464,"altitude":31,"angle":276,"satellites":41,"speed":4,"hex_longitude":"2d7c7f00","hex_latitude":"05f67b28","is_valid_coordinates":true} 
[2026-09-05 16:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882949888001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399895016132050944,"note":"Value kept but may cause issues"} 
[2026-09-05 16:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970818639611332608,"note":"Value kept but may cause issues"} 
[2026-09-05 16:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788605284000,"timestamp_ms":1788605284000,"timestamp_seconds":1788605284,"priority":1,"record_length":96,"hex_timestamp":"000001a0712ebea0"} 
[2026-09-05 16:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-05 16:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882949888001,"66":27876,"32":206,"87":12800,"24":4,"16":399895016132050944,"45":8970818639611332608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,87,24,16,45]} 
[2026-09-05 16:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882949888001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:19:37] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-05 16:19:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399895016132050944,"km_value":399895016132050.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970818639611332608,"description":"Unknown IO ID 45"} 
[2026-09-05 16:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882949888001,"power":27876,"unknown_32":206,"unknown_87":12800,"ignition":4,"odometer":null,"unknown_45":8970818639611332608}} 
[2026-09-05 16:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":173104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:19:37] local.INFO: GPS data processed {"connection_id":173104,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:19:37] local.INFO: Acknowledgment sent {"connection_id":173104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:19:45] local.INFO: TCP Data received {"connection_id":173105,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:19:45] local.INFO: Processing buffer {"connection_id":173105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:19:45] local.INFO: IMEI packet received {"connection_id":173105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":173105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:19:45] local.INFO: TCP Data received {"connection_id":173105,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:19:45] local.INFO: Processing buffer {"connection_id":173105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:19:45] local.INFO: IMEI packet received {"connection_id":173105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":173105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:19:47] local.INFO: TCP Data received {"connection_id":172001,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172001,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:19:47] local.INFO: Processing buffer {"connection_id":172001,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:19:47] local.INFO: IMEI packet received {"connection_id":172001,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":172001,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:19:50] local.INFO: TCP Data received {"connection_id":173105,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:19:50] local.INFO: Processing buffer {"connection_id":173105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:19:50] local.INFO: IMEI packet received {"connection_id":173105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":173105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:19:50] local.INFO: TCP Data received {"connection_id":172001,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172001,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:19:50] local.INFO: Processing buffer {"connection_id":172001,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:19:50] local.INFO: IMEI packet received {"connection_id":172001,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":172001,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:19:50] local.INFO: TCP Data received {"connection_id":173105,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0712e3db8012d1b90c00728f9f00041016127..."} 
[2026-09-05 16:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712e3db8012d1b90c00728f9f00041016127..."} 
[2026-09-05 16:19:51] local.INFO: Processing buffer {"connection_id":173105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712e3db8012d1b90c00728f9f00041016127..."} 
[2026-09-05 16:19:51] local.INFO: Packet analysis {"connection_id":173105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:19:51] local.INFO: Extracted packet for processing {"connection_id":173105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:19:51] local.INFO: GPS Element Parsed {"raw_longitude":756781248,"raw_latitude":120125936,"longitude_deg":75.6781248,"latitude_deg":12.0125936,"altitude":65,"angle":353,"satellites":39,"speed":42,"hex_longitude":"2d1b90c0","hex_latitude":"0728f9f0","is_valid_coordinates":true} 
[2026-09-05 16:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882943488001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17985678063173632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1986861522607826944,"note":"Value kept but may cause issues"} 
[2026-09-05 16:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788605251000,"timestamp_ms":1788605251000,"timestamp_seconds":1788605251,"priority":1,"record_length":96,"hex_timestamp":"000001a0712e3db8"} 
[2026-09-05 16:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 16:19:51] 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-09-05 16:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882943488001,"66":13939,"225":206,"83":42752,"24":42,"16":17985678063173632,"45":1986861522607826944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882943488001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:19:51] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:19:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17985678063173632,"km_value":17985678063173.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1986861522607826944,"description":"Unknown IO ID 45"} 
[2026-09-05 16:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882943488001,"power":13939,"unknown_225":206,"unknown_83":42752,"ignition":42,"odometer":null,"unknown_45":1986861522607826944}} 
[2026-09-05 16:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":173105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:19:51] local.INFO: GPS data processed {"connection_id":173105,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:19:51] local.INFO: Acknowledgment sent {"connection_id":173105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:19:52] local.INFO: TCP Data received {"connection_id":172001,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0712eb6d0012c6bca80085d53800001015225..."} 
[2026-09-05 16:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712eb6d0012c6bca80085d53800001015225..."} 
[2026-09-05 16:19:52] local.INFO: Processing buffer {"connection_id":172001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712eb6d0012c6bca80085d53800001015225..."} 
[2026-09-05 16:19:52] local.INFO: Packet analysis {"connection_id":172001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:19:52] local.INFO: Extracted packet for processing {"connection_id":172001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:19:52] local.INFO: GPS Element Parsed {"raw_longitude":745261696,"raw_latitude":140333952,"longitude_deg":74.5261696,"latitude_deg":14.0333952,"altitude":1,"angle":338,"satellites":37,"speed":43,"hex_longitude":"2c6bca80","hex_latitude":"085d5380","is_valid_coordinates":true} 
[2026-09-05 16:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882949888001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1293214652825600,"note":"Value kept but may cause issues"} 
[2026-09-05 16:19:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7771946355369607168,"note":"Value kept but may cause issues"} 
[2026-09-05 16:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788605282000,"timestamp_ms":1788605282000,"timestamp_seconds":1788605282,"priority":1,"record_length":96,"hex_timestamp":"000001a0712eb6d0"} 
[2026-09-05 16:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 16:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172001,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172001,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882949888001,"66":27995,"187":206,"9":56064,"24":43,"16":1293214652825600,"44":7771946355369607168},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,9,24,16,44]} 
[2026-09-05 16:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882949888001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:19:52] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-05 16:19:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1293214652825600,"km_value":1293214652825.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:19:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":7771946355369607168,"description":"Unknown IO ID 44"} 
[2026-09-05 16:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882949888001,"power":27995,"unknown_187":206,"unknown_9":56064,"ignition":43,"odometer":null,"unknown_44":7771946355369607168}} 
[2026-09-05 16:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":172001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769871,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:19:52] local.INFO: GPS data processed {"connection_id":172001,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:19:52] local.INFO: Acknowledgment sent {"connection_id":172001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:19:54] local.INFO: TCP Data received {"connection_id":173105,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0712e5528012d1b9140072913000040000327..."} 
[2026-09-05 16:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712e5528012d1b9140072913000040000327..."} 
[2026-09-05 16:19:54] local.INFO: Processing buffer {"connection_id":173105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712e5528012d1b9140072913000040000327..."} 
[2026-09-05 16:19:54] local.INFO: Packet analysis {"connection_id":173105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:19:54] local.INFO: Extracted packet for processing {"connection_id":173105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:19:54] local.INFO: GPS Element Parsed {"raw_longitude":756781376,"raw_latitude":120132352,"longitude_deg":75.6781376,"latitude_deg":12.0132352,"altitude":64,"angle":3,"satellites":39,"speed":35,"hex_longitude":"2d1b9140","hex_latitude":"07291300","is_valid_coordinates":true} 
[2026-09-05 16:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882944256001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17985991595786240,"note":"Value kept but may cause issues"} 
[2026-09-05 16:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1986298572655161344,"note":"Value kept but may cause issues"} 
[2026-09-05 16:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788605257000,"timestamp_ms":1788605257000,"timestamp_seconds":1788605257,"priority":1,"record_length":96,"hex_timestamp":"000001a0712e5528"} 
[2026-09-05 16:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-05 16:19:54] 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-09-05 16:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882944256001,"66":14080,"225":206,"83":42752,"24":35,"16":17985991595786240,"45":1986298572655161344},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882944256001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:19:54] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:19:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17985991595786240,"km_value":17985991595786.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1986298572655161344,"description":"Unknown IO ID 45"} 
[2026-09-05 16:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882944256001,"power":14080,"unknown_225":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1986298572655161344}} 
[2026-09-05 16:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":173105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:19:54] local.INFO: GPS data processed {"connection_id":173105,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:19:54] local.INFO: Acknowledgment sent {"connection_id":173105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:19:55] local.INFO: TCP Data received {"connection_id":173106,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:19:55] local.INFO: Processing buffer {"connection_id":173106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:19:55] local.INFO: IMEI packet received {"connection_id":173106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 16:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":173106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:19:56] local.INFO: TCP Data received {"connection_id":173107,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:19:56] local.INFO: Processing buffer {"connection_id":173107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:19:56] local.INFO: IMEI packet received {"connection_id":173107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":173107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:19:59] local.INFO: TCP Data received {"connection_id":173107,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:19:59] local.INFO: Processing buffer {"connection_id":173107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:19:59] local.INFO: IMEI packet received {"connection_id":173107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":173107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:20:00] local.INFO: TCP Data received {"connection_id":173107,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0712ece40012d7c7b8005f67c68001f012c28..."} 
[2026-09-05 16:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712ece40012d7c7b8005f67c68001f012c28..."} 
[2026-09-05 16:20:00] local.INFO: Processing buffer {"connection_id":173107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712ece40012d7c7b8005f67c68001f012c28..."} 
[2026-09-05 16:20:00] local.INFO: Packet analysis {"connection_id":173107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:20:00] local.INFO: Extracted packet for processing {"connection_id":173107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712e"} 
[2026-09-05 16:20:00] local.INFO: GPS Element Parsed {"raw_longitude":763132800,"raw_latitude":100039784,"longitude_deg":76.31328,"latitude_deg":10.0039784,"altitude":31,"angle":300,"satellites":40,"speed":11,"hex_longitude":"2d7c7b80","hex_latitude":"05f67c68","is_valid_coordinates":true} 
[2026-09-05 16:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882952704001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399895063376691200,"note":"Value kept but may cause issues"} 
[2026-09-05 16:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970889008355420160,"note":"Value kept but may cause issues"} 
[2026-09-05 16:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788605288000,"timestamp_ms":1788605288000,"timestamp_seconds":1788605288,"priority":1,"record_length":96,"hex_timestamp":"000001a0712ece40"} 
[2026-09-05 16:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:20:00] 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-09-05 16:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 16:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:20:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882952704001,"66":27974,"32":206,"87":12800,"24":11,"16":399895063376691200,"45":8970889008355420160},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,87,24,16,45]} 
[2026-09-05 16:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882952704001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:20:00] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-05 16:20:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399895063376691200,"km_value":399895063376691.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970889008355420160,"description":"Unknown IO ID 45"} 
[2026-09-05 16:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882952704001,"power":27974,"unknown_32":206,"unknown_87":12800,"ignition":11,"odometer":null,"unknown_45":8970889008355420160}} 
[2026-09-05 16:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":173107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:20:00] local.INFO: GPS data processed {"connection_id":173107,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:20:00] local.INFO: Acknowledgment sent {"connection_id":173107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:20:00] local.INFO: TCP Data received {"connection_id":173106,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:20:00] local.INFO: Processing buffer {"connection_id":173106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:20:00] local.INFO: IMEI packet received {"connection_id":173106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":173106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:20:01] local.INFO: TCP Data received {"connection_id":173106,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0712feb68012d7c074005db8040000000a71e..."} 
[2026-09-05 16:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712feb68012d7c074005db8040000000a71e..."} 
[2026-09-05 16:20:01] local.INFO: Processing buffer {"connection_id":173106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712feb68012d7c074005db8040000000a71e..."} 
[2026-09-05 16:20:01] local.INFO: Packet analysis {"connection_id":173106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712f"} 
[2026-09-05 16:20:01] local.INFO: Extracted packet for processing {"connection_id":173106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712f"} 
[2026-09-05 16:20:01] local.INFO: GPS Element Parsed {"raw_longitude":763103040,"raw_latitude":98271296,"longitude_deg":76.310304,"latitude_deg":9.8271296,"altitude":0,"angle":167,"satellites":30,"speed":16,"hex_longitude":"2d7c0740","hex_latitude":"05db8040","is_valid_coordinates":true} 
[2026-09-05 16:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882968064001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128592862735499264,"note":"Value kept but may cause issues"} 
[2026-09-05 16:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934930579630274560,"note":"Value kept but may cause issues"} 
[2026-09-05 16:20:01] 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-09-05 16:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788605361000,"timestamp_ms":1788605361000,"timestamp_seconds":1788605361,"priority":1,"record_length":96,"hex_timestamp":"000001a0712feb68"} 
[2026-09-05 16:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:20:01] 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-09-05 16:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-05 16:20:01] 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-09-05 16:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882968064001,"66":13820,"168":206,"85":15104,"24":16,"16":128592862735499264,"45":8934930579630274560},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-05 16:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882968064001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:20:01] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-05 16:20:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128592862735499264,"km_value":128592862735499.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934930579630274560,"description":"Unknown IO ID 45"} 
[2026-09-05 16:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882968064001,"power":13820,"unknown_168":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8934930579630274560}} 
[2026-09-05 16:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":173106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:20:01] local.INFO: GPS data processed {"connection_id":173106,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:20:01] local.INFO: Acknowledgment sent {"connection_id":173106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:20:23] local.INFO: TCP Data received {"connection_id":172001,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0712ffef0012c6abac0085eb690000201452a..."} 
[2026-09-05 16:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712ffef0012c6abac0085eb690000201452a..."} 
[2026-09-05 16:20:23] local.INFO: Processing buffer {"connection_id":172001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712ffef0012c6abac0085eb690000201452a..."} 
[2026-09-05 16:20:23] local.INFO: Packet analysis {"connection_id":172001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712f"} 
[2026-09-05 16:20:23] local.INFO: Extracted packet for processing {"connection_id":172001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712f"} 
[2026-09-05 16:20:23] local.INFO: GPS Element Parsed {"raw_longitude":745192128,"raw_latitude":140424848,"longitude_deg":74.5192128,"latitude_deg":14.0424848,"altitude":2,"angle":325,"satellites":42,"speed":57,"hex_longitude":"2c6abac0","hex_latitude":"085eb690","is_valid_coordinates":true} 
[2026-09-05 16:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882971904001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1298896894558208,"note":"Value kept but may cause issues"} 
[2026-09-05 16:20:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7697285117820432384,"note":"Value kept but may cause issues"} 
[2026-09-05 16:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788605366000,"timestamp_ms":1788605366000,"timestamp_seconds":1788605366,"priority":1,"record_length":96,"hex_timestamp":"000001a0712ffef0"} 
[2026-09-05 16:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 16:20:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172001,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172001,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882971904001,"66":27930,"196":206,"9":56064,"24":57,"16":1298896894558208,"44":7697285117820432384},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,9,24,16,44]} 
[2026-09-05 16:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882971904001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:20:23] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-05 16:20:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1298896894558208,"km_value":1298896894558.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:20:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":7697285117820432384,"description":"Unknown IO ID 44"} 
[2026-09-05 16:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882971904001,"power":27930,"unknown_196":206,"unknown_9":56064,"ignition":57,"odometer":null,"unknown_44":7697285117820432384}} 
[2026-09-05 16:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":172001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769875,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:20:23] local.INFO: GPS data processed {"connection_id":172001,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:20:23] local.INFO: Acknowledgment sent {"connection_id":172001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:20:25] local.INFO: TCP Data received {"connection_id":173105,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0713029e8012d1bca80072904180036003e27..."} 
[2026-09-05 16:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713029e8012d1bca80072904180036003e27..."} 
[2026-09-05 16:20:25] local.INFO: Processing buffer {"connection_id":173105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713029e8012d1bca80072904180036003e27..."} 
[2026-09-05 16:20:25] local.INFO: Packet analysis {"connection_id":173105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07130"} 
[2026-09-05 16:20:25] local.INFO: Extracted packet for processing {"connection_id":173105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07130"} 
[2026-09-05 16:20:25] local.INFO: GPS Element Parsed {"raw_longitude":756796032,"raw_latitude":120128536,"longitude_deg":75.6796032,"latitude_deg":12.0128536,"altitude":54,"angle":62,"satellites":39,"speed":6,"hex_longitude":"2d1bca80","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882976256001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987211366498304,"note":"Value kept but may cause issues"} 
[2026-09-05 16:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2002413015072489472,"note":"Value kept but may cause issues"} 
[2026-09-05 16:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788605377000,"timestamp_ms":1788605377000,"timestamp_seconds":1788605377,"priority":1,"record_length":96,"hex_timestamp":"000001a0713029e8"} 
[2026-09-05 16:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-05 16:20:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:20:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882976256001,"66":13124,"218":206,"83":42752,"24":6,"16":17987211366498304,"45":2002413015072489472},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882976256001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:20:25] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:20:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987211366498304,"km_value":17987211366498.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":2002413015072489472,"description":"Unknown IO ID 45"} 
[2026-09-05 16:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882976256001,"power":13124,"unknown_218":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":2002413015072489472}} 
[2026-09-05 16:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":173105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:20:25] local.INFO: GPS data processed {"connection_id":173105,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:20:25] local.INFO: Acknowledgment sent {"connection_id":173105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:20:31] local.INFO: TCP Data received {"connection_id":173107,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0712fe780012d7c278005f69480000b00ff2a..."} 
[2026-09-05 16:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0712fe780012d7c278005f69480000b00ff2a..."} 
[2026-09-05 16:20:31] local.INFO: Processing buffer {"connection_id":173107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0712fe780012d7c278005f69480000b00ff2a..."} 
[2026-09-05 16:20:31] local.INFO: Packet analysis {"connection_id":173107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0712f"} 
[2026-09-05 16:20:31] local.INFO: Extracted packet for processing {"connection_id":173107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0712f"} 
[2026-09-05 16:20:31] local.INFO: GPS Element Parsed {"raw_longitude":763111296,"raw_latitude":100045952,"longitude_deg":76.3111296,"latitude_deg":10.0045952,"altitude":11,"angle":255,"satellites":42,"speed":28,"hex_longitude":"2d7c2780","hex_latitude":"05f69480","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882967040001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399896442061193216,"note":"Value kept but may cause issues"} 
[2026-09-05 16:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8956181940824483840,"note":"Value kept but may cause issues"} 
[2026-09-05 16:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788605360000,"timestamp_ms":1788605360000,"timestamp_seconds":1788605360,"priority":1,"record_length":96,"hex_timestamp":"000001a0712fe780"} 
[2026-09-05 16:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:20: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-09-05 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 16:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882967040001,"66":27930,"34":206,"87":12800,"24":28,"16":399896442061193216,"45":8956181940824483840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,87,24,16,45]} 
[2026-09-05 16:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882967040001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:20:31] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-05 16:20:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399896442061193216,"km_value":399896442061193.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8956181940824483840,"description":"Unknown IO ID 45"} 
[2026-09-05 16:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882967040001,"power":27930,"unknown_34":206,"unknown_87":12800,"ignition":28,"odometer":null,"unknown_45":8956181940824483840}} 
[2026-09-05 16:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":173107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:20:31] local.INFO: GPS data processed {"connection_id":173107,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:20:31] local.INFO: Acknowledgment sent {"connection_id":173107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:20:32] local.INFO: TCP Data received {"connection_id":173106,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071302218012d7c108005db5b88000000a524..."} 
[2026-09-05 16:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071302218012d7c108005db5b88000000a524..."} 
[2026-09-05 16:20:32] local.INFO: Processing buffer {"connection_id":173106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071302218012d7c108005db5b88000000a524..."} 
[2026-09-05 16:20:32] local.INFO: Packet analysis {"connection_id":173106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07130"} 
[2026-09-05 16:20:32] local.INFO: Extracted packet for processing {"connection_id":173106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07130"} 
[2026-09-05 16:20:32] local.INFO: GPS Element Parsed {"raw_longitude":763105408,"raw_latitude":98261896,"longitude_deg":76.3105408,"latitude_deg":9.8261896,"altitude":0,"angle":165,"satellites":36,"speed":41,"hex_longitude":"2d7c1080","hex_latitude":"05db5b88","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882972416001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128593330886934528,"note":"Value kept but may cause issues"} 
[2026-09-05 16:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937182379441668096,"note":"Value kept but may cause issues"} 
[2026-09-05 16:20:32] 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-09-05 16:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788605375000,"timestamp_ms":1788605375000,"timestamp_seconds":1788605375,"priority":1,"record_length":96,"hex_timestamp":"000001a071302218"} 
[2026-09-05 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-09-05 16:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-05 16:20:32] 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-09-05 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-09-05 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-09-05 16:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882972416001,"66":13917,"168":206,"85":15104,"24":41,"16":128593330886934528,"45":8937182379441668096},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-05 16:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882972416001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:20:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-05 16:20:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128593330886934528,"km_value":128593330886934.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937182379441668096,"description":"Unknown IO ID 45"} 
[2026-09-05 16:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882972416001,"power":13917,"unknown_168":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8937182379441668096}} 
[2026-09-05 16:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":173106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:20:32] local.INFO: GPS data processed {"connection_id":173106,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:20:32] local.INFO: Acknowledgment sent {"connection_id":173106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:20:46] local.INFO: TCP Data received {"connection_id":173108,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:20:46] local.INFO: Processing buffer {"connection_id":173108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:20:46] local.INFO: IMEI packet received {"connection_id":173108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":173108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:20:46] local.INFO: TCP Data received {"connection_id":173109,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173109,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:20:46] local.INFO: Processing buffer {"connection_id":173109,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:20:46] local.INFO: IMEI packet received {"connection_id":173109,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":173109,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:20:47] local.INFO: TCP Data received {"connection_id":173109,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173109,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:20:47] local.INFO: Processing buffer {"connection_id":173109,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:20:47] local.INFO: IMEI packet received {"connection_id":173109,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":173109,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:20:53] local.INFO: TCP Data received {"connection_id":173108,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:20:53] local.INFO: Processing buffer {"connection_id":173108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:20:53] local.INFO: IMEI packet received {"connection_id":173108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":173108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:20:54] local.INFO: TCP Data received {"connection_id":173110,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:20:54] local.INFO: Processing buffer {"connection_id":173110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:20:54] local.INFO: IMEI packet received {"connection_id":173110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":173110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:20:54] local.INFO: TCP Data received {"connection_id":173108,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0713031b8012d1bcc00072904a00037005427..."} 
[2026-09-05 16:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713031b8012d1bcc00072904a00037005427..."} 
[2026-09-05 16:20:54] local.INFO: Processing buffer {"connection_id":173108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713031b8012d1bcc00072904a00037005427..."} 
[2026-09-05 16:20:54] local.INFO: Packet analysis {"connection_id":173108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07130"} 
[2026-09-05 16:20:54] local.INFO: Extracted packet for processing {"connection_id":173108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07130"} 
[2026-09-05 16:20:54] local.INFO: GPS Element Parsed {"raw_longitude":756796416,"raw_latitude":120128672,"longitude_deg":75.6796416,"latitude_deg":12.0128672,"altitude":55,"angle":84,"satellites":39,"speed":7,"hex_longitude":"2d1bcc00","hex_latitude":"072904a0","is_valid_coordinates":true} 
[2026-09-05 16:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882976512001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987228546367488,"note":"Value kept but may cause issues"} 
[2026-09-05 16:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2002553752560867328,"note":"Value kept but may cause issues"} 
[2026-09-05 16:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788605379000,"timestamp_ms":1788605379000,"timestamp_seconds":1788605379,"priority":1,"record_length":96,"hex_timestamp":"000001a0713031b8"} 
[2026-09-05 16:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-05 16:20:54] 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-09-05 16:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882976512001,"66":13102,"218":206,"83":42752,"24":7,"16":17987228546367488,"45":2002553752560867328},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882976512001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:20:54] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:20:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987228546367488,"km_value":17987228546367.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":2002553752560867328,"description":"Unknown IO ID 45"} 
[2026-09-05 16:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882976512001,"power":13102,"unknown_218":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":2002553752560867328}} 
[2026-09-05 16:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":173108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:20:54] local.INFO: GPS data processed {"connection_id":173108,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:20:54] local.INFO: Acknowledgment sent {"connection_id":173108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:20:55] local.INFO: TCP Data received {"connection_id":172002,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:20:55] local.INFO: Processing buffer {"connection_id":172002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:20:55] local.INFO: IMEI packet received {"connection_id":172002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 16:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":172002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:20:55] local.INFO: TCP Data received {"connection_id":173108,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0713035a0012d1bcc80072904800038006c28..."} 
[2026-09-05 16:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713035a0012d1bcc80072904800038006c28..."} 
[2026-09-05 16:20:55] local.INFO: Processing buffer {"connection_id":173108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713035a0012d1bcc80072904800038006c28..."} 
[2026-09-05 16:20:55] local.INFO: Packet analysis {"connection_id":173108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07130"} 
[2026-09-05 16:20:55] local.INFO: Extracted packet for processing {"connection_id":173108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07130"} 
[2026-09-05 16:20:55] local.INFO: GPS Element Parsed {"raw_longitude":756796544,"raw_latitude":120128640,"longitude_deg":75.6796544,"latitude_deg":12.012864,"altitude":56,"angle":108,"satellites":40,"speed":6,"hex_longitude":"2d1bcc80","hex_latitude":"07290480","is_valid_coordinates":true} 
[2026-09-05 16:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882977024001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987237136302080,"note":"Value kept but may cause issues"} 
[2026-09-05 16:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2002975965025968128,"note":"Value kept but may cause issues"} 
[2026-09-05 16:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788605380000,"timestamp_ms":1788605380000,"timestamp_seconds":1788605380,"priority":1,"record_length":96,"hex_timestamp":"000001a0713035a0"} 
[2026-09-05 16:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:20:55] 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-09-05 16:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-05 16:20:55] 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-09-05 16:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882977024001,"66":13102,"218":206,"83":42752,"24":6,"16":17987237136302080,"45":2002975965025968128},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882977024001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:20:55] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:20:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987237136302080,"km_value":17987237136302.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2002975965025968128,"description":"Unknown IO ID 45"} 
[2026-09-05 16:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882977024001,"power":13102,"unknown_218":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":2002975965025968128}} 
[2026-09-05 16:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":173108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:20:55] local.INFO: GPS data processed {"connection_id":173108,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:20:55] local.INFO: Acknowledgment sent {"connection_id":173108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:20:56] local.INFO: TCP Data received {"connection_id":173110,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:20:56] local.INFO: Processing buffer {"connection_id":173110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:20:56] local.INFO: IMEI packet received {"connection_id":173110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":173110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:20:58] local.INFO: TCP Data received {"connection_id":172002,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:20:58] local.INFO: Processing buffer {"connection_id":172002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:20:58] local.INFO: IMEI packet received {"connection_id":172002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":172002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:20:59] local.INFO: TCP Data received {"connection_id":172002,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071304928012d7c18c005db3900000000a726..."} 
[2026-09-05 16:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071304928012d7c18c005db3900000000a726..."} 
[2026-09-05 16:20:59] local.INFO: Processing buffer {"connection_id":172002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071304928012d7c18c005db3900000000a726..."} 
[2026-09-05 16:20:59] local.INFO: Packet analysis {"connection_id":172002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07130"} 
[2026-09-05 16:20:59] local.INFO: Extracted packet for processing {"connection_id":172002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07130"} 
[2026-09-05 16:20:59] local.INFO: GPS Element Parsed {"raw_longitude":763107520,"raw_latitude":98253056,"longitude_deg":76.310752,"latitude_deg":9.8253056,"altitude":0,"angle":167,"satellites":38,"speed":25,"hex_longitude":"2d7c18c0","hex_latitude":"05db3900","is_valid_coordinates":true} 
[2026-09-05 16:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882976000001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128593773268566016,"note":"Value kept but may cause issues"} 
[2026-09-05 16:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939786022973835264,"note":"Value kept but may cause issues"} 
[2026-09-05 16:20:59] 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-09-05 16:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788605385000,"timestamp_ms":1788605385000,"timestamp_seconds":1788605385,"priority":1,"record_length":96,"hex_timestamp":"000001a071304928"} 
[2026-09-05 16:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:20:59] 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-09-05 16:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-05 16:20:59] 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-09-05 16:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882976000001,"66":13646,"168":206,"85":15104,"24":25,"16":128593773268566016,"45":8939786022973835264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-05 16:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882976000001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:20:59] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-05 16:20:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128593773268566016,"km_value":128593773268566.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939786022973835264,"description":"Unknown IO ID 45"} 
[2026-09-05 16:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882976000001,"power":13646,"unknown_168":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8939786022973835264}} 
[2026-09-05 16:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":172002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769881,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:20:59] local.INFO: GPS data processed {"connection_id":172002,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:20:59] local.INFO: Acknowledgment sent {"connection_id":172002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:21:01] local.INFO: TCP Data received {"connection_id":173110,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:21:01] local.INFO: Processing buffer {"connection_id":173110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:21:01] local.INFO: IMEI packet received {"connection_id":173110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":173110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:21:02] local.INFO: TCP Data received {"connection_id":173110,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071301660012d7c048005f68aa8000a00f829..."} 
[2026-09-05 16:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071301660012d7c048005f68aa8000a00f829..."} 
[2026-09-05 16:21:02] local.INFO: Processing buffer {"connection_id":173110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071301660012d7c048005f68aa8000a00f829..."} 
[2026-09-05 16:21:02] local.INFO: Packet analysis {"connection_id":173110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07130"} 
[2026-09-05 16:21:02] local.INFO: Extracted packet for processing {"connection_id":173110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07130"} 
[2026-09-05 16:21:02] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":100043432,"longitude_deg":76.3102336,"latitude_deg":10.0043432,"altitude":10,"angle":248,"satellites":41,"speed":31,"hex_longitude":"2d7c0480","hex_latitude":"05f68aa8","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882972160001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399896888737792000,"note":"Value kept but may cause issues"} 
[2026-09-05 16:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946259947894898688,"note":"Value kept but may cause issues"} 
[2026-09-05 16:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788605372000,"timestamp_ms":1788605372000,"timestamp_seconds":1788605372,"priority":1,"record_length":96,"hex_timestamp":"000001a071301660"} 
[2026-09-05 16:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 16:21: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-09-05 16: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-09-05 16:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882972160001,"66":27865,"152":206,"87":12800,"24":31,"16":399896888737792000,"45":8946259947894898688},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,87,24,16,45]} 
[2026-09-05 16:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882972160001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:21:02] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-05 16:21:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399896888737792000,"km_value":399896888737792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946259947894898688,"description":"Unknown IO ID 45"} 
[2026-09-05 16:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882972160001,"power":27865,"unknown_152":206,"unknown_87":12800,"ignition":31,"odometer":null,"unknown_45":8946259947894898688}} 
[2026-09-05 16:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":173110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:21:02] local.INFO: GPS data processed {"connection_id":173110,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:21:02] local.INFO: Acknowledgment sent {"connection_id":173110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:21:06] local.INFO: TCP Data received {"connection_id":173109,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173109,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:21:06] local.INFO: Processing buffer {"connection_id":173109,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:21:06] local.INFO: IMEI packet received {"connection_id":173109,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":173109,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:21:10] local.INFO: TCP Data received {"connection_id":173109,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071301a48012c6aa440085ed7900003014629..."} 
[2026-09-05 16:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071301a48012c6aa440085ed7900003014629..."} 
[2026-09-05 16:21:10] local.INFO: Processing buffer {"connection_id":173109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071301a48012c6aa440085ed7900003014629..."} 
[2026-09-05 16:21:10] local.INFO: Packet analysis {"connection_id":173109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07130"} 
[2026-09-05 16:21:10] local.INFO: Extracted packet for processing {"connection_id":173109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07130"} 
[2026-09-05 16:21:10] local.INFO: GPS Element Parsed {"raw_longitude":745186368,"raw_latitude":140433296,"longitude_deg":74.5186368,"latitude_deg":14.0433296,"altitude":3,"angle":326,"satellites":41,"speed":57,"hex_longitude":"2c6aa440","hex_latitude":"085ed790","is_valid_coordinates":true} 
[2026-09-05 16:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882973696001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1299386520829952,"note":"Value kept but may cause issues"} 
[2026-09-05 16:21:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7690670455869837312,"note":"Value kept but may cause issues"} 
[2026-09-05 16:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788605373000,"timestamp_ms":1788605373000,"timestamp_seconds":1788605373,"priority":1,"record_length":96,"hex_timestamp":"000001a071301a48"} 
[2026-09-05 16:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 16:21:10] 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-09-05 16:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173109,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173109,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882973696001,"66":28104,"196":206,"9":56064,"24":57,"16":1299386520829952,"44":7690670455869837312},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,9,24,16,44]} 
[2026-09-05 16:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882973696001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:21:10] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-05 16:21:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1299386520829952,"km_value":1299386520829.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:21:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":7690670455869837312,"description":"Unknown IO ID 44"} 
[2026-09-05 16:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882973696001,"power":28104,"unknown_196":206,"unknown_9":56064,"ignition":57,"odometer":null,"unknown_44":7690670455869837312}} 
[2026-09-05 16:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":173109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769883,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:21:10] local.INFO: GPS data processed {"connection_id":173109,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:21:10] local.INFO: Acknowledgment sent {"connection_id":173109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:21:26] local.INFO: TCP Data received {"connection_id":173108,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071308b90012d1bcd40072904180038006c29..."} 
[2026-09-05 16:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071308b90012d1bcd40072904180038006c29..."} 
[2026-09-05 16:21:26] local.INFO: Processing buffer {"connection_id":173108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071308b90012d1bcd40072904180038006c29..."} 
[2026-09-05 16:21:26] local.INFO: Packet analysis {"connection_id":173108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07130"} 
[2026-09-05 16:21:26] local.INFO: Extracted packet for processing {"connection_id":173108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07130"} 
[2026-09-05 16:21:26] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882977280001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003116702514315264,"note":"Value kept but may cause issues"} 
[2026-09-05 16:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788605402000,"timestamp_ms":1788605402000,"timestamp_seconds":1788605402,"priority":1,"record_length":96,"hex_timestamp":"000001a071308b90"} 
[2026-09-05 16:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:21: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-09-05 16: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-09-05 16: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-09-05 16: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-09-05 16:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882977280001,"66":13015,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003116702514315264},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882977280001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:21:26] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:21:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003116702514315264,"description":"Unknown IO ID 45"} 
[2026-09-05 16:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882977280001,"power":13015,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003116702514315264}} 
[2026-09-05 16:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":173108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:21:27] local.INFO: GPS data processed {"connection_id":173108,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:21:27] local.INFO: Acknowledgment sent {"connection_id":173108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:21:30] local.INFO: TCP Data received {"connection_id":172002,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071309360012d7c220005db17b8000000a723..."} 
[2026-09-05 16:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071309360012d7c220005db17b8000000a723..."} 
[2026-09-05 16:21:30] local.INFO: Processing buffer {"connection_id":172002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071309360012d7c220005db17b8000000a723..."} 
[2026-09-05 16:21:30] local.INFO: Packet analysis {"connection_id":172002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07130"} 
[2026-09-05 16:21:30] local.INFO: Extracted packet for processing {"connection_id":172002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07130"} 
[2026-09-05 16:21:30] local.INFO: GPS Element Parsed {"raw_longitude":763109888,"raw_latitude":98244536,"longitude_deg":76.3109888,"latitude_deg":9.8244536,"altitude":0,"angle":167,"satellites":35,"speed":24,"hex_longitude":"2d7c2200","hex_latitude":"05db17b8","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882978560001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128594202765295616,"note":"Value kept but may cause issues"} 
[2026-09-05 16:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942108191529435136,"note":"Value kept but may cause issues"} 
[2026-09-05 16:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788605404000,"timestamp_ms":1788605404000,"timestamp_seconds":1788605404,"priority":1,"record_length":96,"hex_timestamp":"000001a071309360"} 
[2026-09-05 16:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:21: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-09-05 16: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-05 16:21:30] 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-09-05 16:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882978560001,"66":13820,"186":206,"85":15104,"24":24,"16":128594202765295616,"45":8942108191529435136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-09-05 16:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882978560001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:21:30] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-05 16:21:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128594202765295616,"km_value":128594202765295.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942108191529435136,"description":"Unknown IO ID 45"} 
[2026-09-05 16:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882978560001,"power":13820,"unknown_186":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8942108191529435136}} 
[2026-09-05 16:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":172002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769885,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:21:30] local.INFO: GPS data processed {"connection_id":172002,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:21:30] local.INFO: Acknowledgment sent {"connection_id":172002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:21:33] local.INFO: TCP Data received {"connection_id":173110,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071304540012d7be20005f67d40000b00f628..."} 
[2026-09-05 16:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071304540012d7be20005f67d40000b00f628..."} 
[2026-09-05 16:21:33] local.INFO: Processing buffer {"connection_id":173110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071304540012d7be20005f67d40000b00f628..."} 
[2026-09-05 16:21:33] local.INFO: Packet analysis {"connection_id":173110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07130"} 
[2026-09-05 16:21:33] local.INFO: Extracted packet for processing {"connection_id":173110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07130"} 
[2026-09-05 16:21:33] local.INFO: GPS Element Parsed {"raw_longitude":763093504,"raw_latitude":100040000,"longitude_deg":76.3093504,"latitude_deg":10.004,"altitude":11,"angle":246,"satellites":40,"speed":24,"hex_longitude":"2d7be200","hex_latitude":"05f67d40","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882975232001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399897339709358080,"note":"Value kept but may cause issues"} 
[2026-09-05 16:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323709380608,"note":"Value kept but may cause issues"} 
[2026-09-05 16:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788605384000,"timestamp_ms":1788605384000,"timestamp_seconds":1788605384,"priority":1,"record_length":96,"hex_timestamp":"000001a071304540"} 
[2026-09-05 16:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:21: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-09-05 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 16:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882975232001,"66":27919,"152":206,"87":12800,"24":24,"16":399897339709358080,"45":8936408323709380608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,87,24,16,45]} 
[2026-09-05 16:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882975232001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:21:33] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-05 16:21:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399897339709358080,"km_value":399897339709358.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323709380608,"description":"Unknown IO ID 45"} 
[2026-09-05 16:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882975232001,"power":27919,"unknown_152":206,"unknown_87":12800,"ignition":24,"odometer":null,"unknown_45":8936408323709380608}} 
[2026-09-05 16:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":173110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:21:33] local.INFO: GPS data processed {"connection_id":173110,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:21:33] local.INFO: Acknowledgment sent {"connection_id":173110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:21:42] local.INFO: TCP Data received {"connection_id":172003,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:21:42] local.INFO: Processing buffer {"connection_id":172003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:21:42] local.INFO: IMEI packet received {"connection_id":172003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":172003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:21:45] local.INFO: TCP Data received {"connection_id":172003,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:21:45] local.INFO: Processing buffer {"connection_id":172003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:21:45] local.INFO: IMEI packet received {"connection_id":172003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":172003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:21:47] local.INFO: TCP Data received {"connection_id":174423,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:21:47] local.INFO: Processing buffer {"connection_id":174423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:21:47] local.INFO: IMEI packet received {"connection_id":174423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":174423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:21:48] local.INFO: TCP Data received {"connection_id":174423,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:21:48] local.INFO: Processing buffer {"connection_id":174423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:21:48] local.INFO: IMEI packet received {"connection_id":174423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":174423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:21:50] local.INFO: TCP Data received {"connection_id":172003,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:21:50] local.INFO: Processing buffer {"connection_id":172003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:21:50] local.INFO: IMEI packet received {"connection_id":172003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":172003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:21:51] local.INFO: TCP Data received {"connection_id":172003,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07130dd98012d1bcd40072904180038006c28..."} 
[2026-09-05 16:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07130dd98012d1bcd40072904180038006c28..."} 
[2026-09-05 16:21:51] local.INFO: Processing buffer {"connection_id":172003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07130dd98012d1bcd40072904180038006c28..."} 
[2026-09-05 16:21:51] local.INFO: Packet analysis {"connection_id":172003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07130"} 
[2026-09-05 16:21:51] local.INFO: Extracted packet for processing {"connection_id":172003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07130"} 
[2026-09-05 16:21:51] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882982912001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788605423000,"timestamp_ms":1788605423000,"timestamp_seconds":1788605423,"priority":1,"record_length":96,"hex_timestamp":"000001a07130dd98"} 
[2026-09-05 16:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-05 16:21:51] 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-09-05 16:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882982912001,"66":13048,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882982912001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:21:51] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:21:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882982912001,"power":13048,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":172003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:21:51] local.INFO: GPS data processed {"connection_id":172003,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:21:51] local.INFO: Acknowledgment sent {"connection_id":172003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:21:54] local.INFO: TCP Data received {"connection_id":174424,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174424,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:21:54] local.INFO: Processing buffer {"connection_id":174424,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:21:54] local.INFO: IMEI packet received {"connection_id":174424,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 16:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":174424,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:21:55] local.INFO: TCP Data received {"connection_id":174423,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:21:55] local.INFO: Processing buffer {"connection_id":174423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:21:55] local.INFO: IMEI packet received {"connection_id":174423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":174423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:21:56] local.INFO: TCP Data received {"connection_id":174425,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:21:56] local.INFO: Processing buffer {"connection_id":174425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:21:56] local.INFO: IMEI packet received {"connection_id":174425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":174425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:21:56] local.INFO: TCP Data received {"connection_id":174423,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071314328012c69cd4008604b900003014128..."} 
[2026-09-05 16:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071314328012c69cd4008604b900003014128..."} 
[2026-09-05 16:21:56] local.INFO: Processing buffer {"connection_id":174423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071314328012c69cd4008604b900003014128..."} 
[2026-09-05 16:21:56] local.INFO: Packet analysis {"connection_id":174423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07131"} 
[2026-09-05 16:21:56] local.INFO: Extracted packet for processing {"connection_id":174423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07131"} 
[2026-09-05 16:21:56] local.INFO: GPS Element Parsed {"raw_longitude":745131328,"raw_latitude":140528528,"longitude_deg":74.5131328,"latitude_deg":14.0528528,"altitude":3,"angle":321,"satellites":40,"speed":58,"hex_longitude":"2c69cd40","hex_latitude":"08604b90","is_valid_coordinates":true} 
[2026-09-05 16:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882993152001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1304716575244288,"note":"Value kept but may cause issues"} 
[2026-09-05 16:21:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7630997760831676416,"note":"Value kept but may cause issues"} 
[2026-09-05 16:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788605449000,"timestamp_ms":1788605449000,"timestamp_seconds":1788605449,"priority":1,"record_length":96,"hex_timestamp":"000001a071314328"} 
[2026-09-05 16:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-05 16:21:56] 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-09-05 16:21:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882993152001,"66":27952,"196":206,"9":56064,"24":58,"16":1304716575244288,"44":7630997760831676416},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,9,24,16,44]} 
[2026-09-05 16:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882993152001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:21:57] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-05 16:21:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1304716575244288,"km_value":1304716575244.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:21:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":7630997760831676416,"description":"Unknown IO ID 44"} 
[2026-09-05 16:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882993152001,"power":27952,"unknown_196":206,"unknown_9":56064,"ignition":58,"odometer":null,"unknown_44":7630997760831676416}} 
[2026-09-05 16:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":174423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769888,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:21:57] local.INFO: GPS data processed {"connection_id":174423,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:21:57] local.INFO: Acknowledgment sent {"connection_id":174423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:21:59] local.INFO: TCP Data received {"connection_id":174425,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:21:59] local.INFO: Processing buffer {"connection_id":174425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:21:59] local.INFO: IMEI packet received {"connection_id":174425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":174425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:22:00] local.INFO: TCP Data received {"connection_id":174425,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071308b90012d7bc04005f66ec0000d00f828..."} 
[2026-09-05 16:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071308b90012d7bc04005f66ec0000d00f828..."} 
[2026-09-05 16:22:00] local.INFO: Processing buffer {"connection_id":174425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071308b90012d7bc04005f66ec0000d00f828..."} 
[2026-09-05 16:22:00] local.INFO: Packet analysis {"connection_id":174425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07130"} 
[2026-09-05 16:22:00] local.INFO: Extracted packet for processing {"connection_id":174425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07130"} 
[2026-09-05 16:22:00] local.INFO: GPS Element Parsed {"raw_longitude":763084864,"raw_latitude":100036288,"longitude_deg":76.3084864,"latitude_deg":10.0036288,"altitude":13,"angle":248,"satellites":40,"speed":19,"hex_longitude":"2d7bc040","hex_latitude":"05f66ec0","is_valid_coordinates":true} 
[2026-09-05 16:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882978304001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399897790680924160,"note":"Value kept but may cause issues"} 
[2026-09-05 16:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926697437011984384,"note":"Value kept but may cause issues"} 
[2026-09-05 16:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788605402000,"timestamp_ms":1788605402000,"timestamp_seconds":1788605402,"priority":1,"record_length":96,"hex_timestamp":"000001a071308b90"} 
[2026-09-05 16:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:22:00] 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-09-05 16:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-05 16:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882978304001,"66":27800,"152":206,"87":12800,"24":19,"16":399897790680924160,"45":8926697437011984384},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,87,24,16,45]} 
[2026-09-05 16:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882978304001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:22:00] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-05 16:22:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399897790680924160,"km_value":399897790680924.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926697437011984384,"description":"Unknown IO ID 45"} 
[2026-09-05 16:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882978304001,"power":27800,"unknown_152":206,"unknown_87":12800,"ignition":19,"odometer":null,"unknown_45":8926697437011984384}} 
[2026-09-05 16:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":174425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:22:00] local.INFO: GPS data processed {"connection_id":174425,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:22:00] local.INFO: Acknowledgment sent {"connection_id":174425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:22:00] local.INFO: TCP Data received {"connection_id":174424,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174424,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:22:00] local.INFO: Processing buffer {"connection_id":174424,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:22:00] local.INFO: IMEI packet received {"connection_id":174424,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":174424,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:22:01] local.INFO: TCP Data received {"connection_id":174424,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07131cfc8012d7bc88005daebc00006010b27..."} 
[2026-09-05 16:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07131cfc8012d7bc88005daebc00006010b27..."} 
[2026-09-05 16:22:01] local.INFO: Processing buffer {"connection_id":174424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07131cfc8012d7bc88005daebc00006010b27..."} 
[2026-09-05 16:22:01] local.INFO: Packet analysis {"connection_id":174424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07131"} 
[2026-09-05 16:22:01] local.INFO: Extracted packet for processing {"connection_id":174424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07131"} 
[2026-09-05 16:22:01] local.INFO: GPS Element Parsed {"raw_longitude":763086976,"raw_latitude":98233280,"longitude_deg":76.3086976,"latitude_deg":9.823328,"altitude":6,"angle":267,"satellites":39,"speed":29,"hex_longitude":"2d7bc880","hex_latitude":"05daebc0","is_valid_coordinates":true} 
[2026-09-05 16:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883001088001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128595852032737280,"note":"Value kept but may cause issues"} 
[2026-09-05 16:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929441817572532224,"note":"Value kept but may cause issues"} 
[2026-09-05 16:22:01] 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-09-05 16:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788605485000,"timestamp_ms":1788605485000,"timestamp_seconds":1788605485,"priority":1,"record_length":96,"hex_timestamp":"000001a07131cfc8"} 
[2026-09-05 16:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:22:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-05 16:22:01] 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-09-05 16:22:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883001088001,"66":13961,"187":206,"85":15104,"24":29,"16":128595852032737280,"45":8929441817572532224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-05 16:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883001088001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:22:01] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-05 16:22:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128595852032737280,"km_value":128595852032737.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929441817572532224,"description":"Unknown IO ID 45"} 
[2026-09-05 16:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883001088001,"power":13961,"unknown_187":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8929441817572532224}} 
[2026-09-05 16:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":174424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769890,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:22:01] local.INFO: GPS data processed {"connection_id":174424,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:22:01] local.INFO: Acknowledgment sent {"connection_id":174424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:22:22] local.INFO: TCP Data received {"connection_id":172003,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071312fa0012d1bcd40072904180038006c28..."} 
[2026-09-05 16:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071312fa0012d1bcd40072904180038006c28..."} 
[2026-09-05 16:22:22] local.INFO: Processing buffer {"connection_id":172003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071312fa0012d1bcd40072904180038006c28..."} 
[2026-09-05 16:22:22] local.INFO: Packet analysis {"connection_id":172003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07131"} 
[2026-09-05 16:22:22] local.INFO: Extracted packet for processing {"connection_id":172003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07131"} 
[2026-09-05 16:22:22] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882988288001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788605444000,"timestamp_ms":1788605444000,"timestamp_seconds":1788605444,"priority":1,"record_length":96,"hex_timestamp":"000001a071312fa0"} 
[2026-09-05 16:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-05 16:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882988288001,"66":12993,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882988288001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:22:22] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:22:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882988288001,"power":12993,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":172003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:22:22] local.INFO: GPS data processed {"connection_id":172003,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:22:22] local.INFO: Acknowledgment sent {"connection_id":172003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:22:28] local.INFO: TCP Data received {"connection_id":174423,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071315e80012c69b38008606af0000401422a..."} 
[2026-09-05 16:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071315e80012c69b38008606af0000401422a..."} 
[2026-09-05 16:22:28] local.INFO: Processing buffer {"connection_id":174423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071315e80012c69b38008606af0000401422a..."} 
[2026-09-05 16:22:28] local.INFO: Packet analysis {"connection_id":174423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07131"} 
[2026-09-05 16:22:28] local.INFO: Extracted packet for processing {"connection_id":174423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07131"} 
[2026-09-05 16:22:28] local.INFO: GPS Element Parsed {"raw_longitude":745124736,"raw_latitude":140536560,"longitude_deg":74.5124736,"latitude_deg":14.053656,"altitude":4,"angle":322,"satellites":42,"speed":58,"hex_longitude":"2c69b380","hex_latitude":"08606af0","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882994944001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1305210496483328,"note":"Value kept but may cause issues"} 
[2026-09-05 16:22:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7623820148927598592,"note":"Value kept but may cause issues"} 
[2026-09-05 16:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788605456000,"timestamp_ms":1788605456000,"timestamp_seconds":1788605456,"priority":1,"record_length":96,"hex_timestamp":"000001a071315e80"} 
[2026-09-05 16:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-05 16:22:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882994944001,"66":28028,"206":206,"9":56064,"24":58,"16":1305210496483328,"44":7623820148927598592},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,9,24,16,44]} 
[2026-09-05 16:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882994944001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:22:28] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-05 16:22:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1305210496483328,"km_value":1305210496483.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:22:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":7623820148927598592,"description":"Unknown IO ID 44"} 
[2026-09-05 16:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882994944001,"power":28028,"unknown_206":206,"unknown_9":56064,"ignition":58,"odometer":null,"unknown_44":7623820148927598592}} 
[2026-09-05 16:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":174423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769892,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:22:28] local.INFO: GPS data processed {"connection_id":174423,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:22:28] local.INFO: Acknowledgment sent {"connection_id":174423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:22:31] local.INFO: TCP Data received {"connection_id":174425,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0713221d0012d7b838005f5f0e0000f00942b..."} 
[2026-09-05 16:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713221d0012d7b838005f5f0e0000f00942b..."} 
[2026-09-05 16:22:31] local.INFO: Processing buffer {"connection_id":174425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713221d0012d7b838005f5f0e0000f00942b..."} 
[2026-09-05 16:22:31] local.INFO: Packet analysis {"connection_id":174425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:22:31] local.INFO: Extracted packet for processing {"connection_id":174425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:22:31] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":100004064,"longitude_deg":76.3069312,"latitude_deg":10.0004064,"altitude":15,"angle":148,"satellites":43,"speed":10,"hex_longitude":"2d7b8380","hex_latitude":"05f5f0e0","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883007744001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900024063918080,"note":"Value kept but may cause issues"} 
[2026-09-05 16:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898549939332542464,"note":"Value kept but may cause issues"} 
[2026-09-05 16:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788605506000,"timestamp_ms":1788605506000,"timestamp_seconds":1788605506,"priority":1,"record_length":96,"hex_timestamp":"000001a0713221d0"} 
[2026-09-05 16:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:22: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-09-05 16:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 16:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883007744001,"66":28082,"160":206,"87":12800,"24":10,"16":399900024063918080,"45":8898549939332542464},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883007744001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:22:31] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:22:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900024063918080,"km_value":399900024063918.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898549939332542464,"description":"Unknown IO ID 45"} 
[2026-09-05 16:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883007744001,"power":28082,"unknown_160":206,"unknown_87":12800,"ignition":10,"odometer":null,"unknown_45":8898549939332542464}} 
[2026-09-05 16:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":174425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:22:31] local.INFO: GPS data processed {"connection_id":174425,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:22:31] local.INFO: Acknowledgment sent {"connection_id":174425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:22:32] local.INFO: TCP Data received {"connection_id":174424,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071321de8012d7bae0005daeac80006010627..."} 
[2026-09-05 16:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071321de8012d7bae0005daeac80006010627..."} 
[2026-09-05 16:22:32] local.INFO: Processing buffer {"connection_id":174424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071321de8012d7bae0005daeac80006010627..."} 
[2026-09-05 16:22:32] local.INFO: Packet analysis {"connection_id":174424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:22:32] local.INFO: Extracted packet for processing {"connection_id":174424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:22:32] local.INFO: GPS Element Parsed {"raw_longitude":763080192,"raw_latitude":98233032,"longitude_deg":76.3080192,"latitude_deg":9.8233032,"altitude":6,"angle":262,"satellites":39,"speed":20,"hex_longitude":"2d7bae00","hex_latitude":"05daeac8","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883004160001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128596178450251776,"note":"Value kept but may cause issues"} 
[2026-09-05 16:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919519824643342336,"note":"Value kept but may cause issues"} 
[2026-09-05 16:22:32] 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-09-05 16:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788605505000,"timestamp_ms":1788605505000,"timestamp_seconds":1788605505,"priority":1,"record_length":96,"hex_timestamp":"000001a071321de8"} 
[2026-09-05 16:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:22: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-09-05 16: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-05 16:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883004160001,"66":13722,"188":206,"85":15104,"24":20,"16":128596178450251776,"45":8919519824643342336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-09-05 16:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883004160001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:22:32] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-05 16:22:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128596178450251776,"km_value":128596178450251.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919519824643342336,"description":"Unknown IO ID 45"} 
[2026-09-05 16:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883004160001,"power":13722,"unknown_188":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8919519824643342336}} 
[2026-09-05 16:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":174424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769894,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:22:32] local.INFO: GPS data processed {"connection_id":174424,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:22:32] local.INFO: Acknowledgment sent {"connection_id":174424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:22:45] local.INFO: TCP Data received {"connection_id":173111,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:22:45] local.INFO: Processing buffer {"connection_id":173111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:22:45] local.INFO: IMEI packet received {"connection_id":173111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":173111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:22:45] local.INFO: TCP Data received {"connection_id":173111,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:22:45] local.INFO: Processing buffer {"connection_id":173111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:22:45] local.INFO: IMEI packet received {"connection_id":173111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":173111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:22:47] local.INFO: TCP Data received {"connection_id":174426,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174426,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:22:47] local.INFO: Processing buffer {"connection_id":174426,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:22:47] local.INFO: IMEI packet received {"connection_id":174426,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":174426,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:22:48] local.INFO: TCP Data received {"connection_id":174426,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174426,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:22:48] local.INFO: Processing buffer {"connection_id":174426,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:22:48] local.INFO: IMEI packet received {"connection_id":174426,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":174426,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:22:50] local.INFO: TCP Data received {"connection_id":173111,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:22:50] local.INFO: Processing buffer {"connection_id":173111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:22:50] local.INFO: IMEI packet received {"connection_id":173111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":173111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:22:51] local.INFO: TCP Data received {"connection_id":173111,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0713181a8012d1bcd40072904180038006c28..."} 
[2026-09-05 16:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713181a8012d1bcd40072904180038006c28..."} 
[2026-09-05 16:22:51] local.INFO: Processing buffer {"connection_id":173111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713181a8012d1bcd40072904180038006c28..."} 
[2026-09-05 16:22:51] local.INFO: Packet analysis {"connection_id":173111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07131"} 
[2026-09-05 16:22:51] local.INFO: Extracted packet for processing {"connection_id":173111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07131"} 
[2026-09-05 16:22:51] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882993664001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788605465000,"timestamp_ms":1788605465000,"timestamp_seconds":1788605465,"priority":1,"record_length":96,"hex_timestamp":"000001a0713181a8"} 
[2026-09-05 16:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-05 16:22:51] 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-09-05 16:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882993664001,"66":12961,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882993664001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:22:51] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:22:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882993664001,"power":12961,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":173111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:22:52] local.INFO: GPS data processed {"connection_id":173111,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:22:52] local.INFO: Acknowledgment sent {"connection_id":173111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:22:52] local.INFO: TCP Data received {"connection_id":174426,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174426,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:22:52] local.INFO: Processing buffer {"connection_id":174426,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:22:52] local.INFO: IMEI packet received {"connection_id":174426,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":174426,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:22:54] local.INFO: TCP Data received {"connection_id":174426,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0713179d8012c699a80086089f00006013f2a..."} 
[2026-09-05 16:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713179d8012c699a80086089f00006013f2a..."} 
[2026-09-05 16:22:54] local.INFO: Processing buffer {"connection_id":174426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713179d8012c699a80086089f00006013f2a..."} 
[2026-09-05 16:22:54] local.INFO: Packet analysis {"connection_id":174426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07131"} 
[2026-09-05 16:22:54] local.INFO: Extracted packet for processing {"connection_id":174426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07131"} 
[2026-09-05 16:22:54] local.INFO: GPS Element Parsed {"raw_longitude":745118336,"raw_latitude":140544496,"longitude_deg":74.5118336,"latitude_deg":14.0544496,"altitude":6,"angle":319,"satellites":42,"speed":57,"hex_longitude":"2c699a80","hex_latitude":"086089f0","is_valid_coordinates":true} 
[2026-09-05 16:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882996736001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1305700122755072,"note":"Value kept but may cause issues"} 
[2026-09-05 16:22:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7616572168279355392,"note":"Value kept but may cause issues"} 
[2026-09-05 16:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788605463000,"timestamp_ms":1788605463000,"timestamp_seconds":1788605463,"priority":1,"record_length":96,"hex_timestamp":"000001a0713179d8"} 
[2026-09-05 16:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:22:54] 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-09-05 16:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-05 16:22:54] 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-09-05 16:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174426,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174426,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882996736001,"66":27832,"206":206,"9":56064,"24":57,"16":1305700122755072,"44":7616572168279355392},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,9,24,16,44]} 
[2026-09-05 16:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882996736001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:22:54] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-05 16:22:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1305700122755072,"km_value":1305700122755.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:22:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":7616572168279355392,"description":"Unknown IO ID 44"} 
[2026-09-05 16:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882996736001,"power":27832,"unknown_206":206,"unknown_9":56064,"ignition":57,"odometer":null,"unknown_44":7616572168279355392}} 
[2026-09-05 16:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":174426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769896,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:22:54] local.INFO: GPS data processed {"connection_id":174426,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:22:54] local.INFO: Acknowledgment sent {"connection_id":174426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:22:54] local.INFO: TCP Data received {"connection_id":172004,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:22:54] local.INFO: Processing buffer {"connection_id":172004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:22:54] local.INFO: IMEI packet received {"connection_id":172004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 16:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":172004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:22:56] local.INFO: TCP Data received {"connection_id":174427,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:22:56] local.INFO: Processing buffer {"connection_id":174427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:22:56] local.INFO: IMEI packet received {"connection_id":174427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":174427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:23:00] local.INFO: TCP Data received {"connection_id":172004,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:23:00] local.INFO: Processing buffer {"connection_id":172004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:23:00] local.INFO: IMEI packet received {"connection_id":172004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":172004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:23:01] local.INFO: TCP Data received {"connection_id":172004,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0713250b0012d7b894005dae538000800fe28..."} 
[2026-09-05 16:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713250b0012d7b894005dae538000800fe28..."} 
[2026-09-05 16:23:01] local.INFO: Processing buffer {"connection_id":172004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713250b0012d7b894005dae538000800fe28..."} 
[2026-09-05 16:23:01] local.INFO: Packet analysis {"connection_id":172004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:23:01] local.INFO: Extracted packet for processing {"connection_id":172004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:23:01] local.INFO: GPS Element Parsed {"raw_longitude":763070784,"raw_latitude":98231608,"longitude_deg":76.3070784,"latitude_deg":9.8231608,"altitude":8,"angle":254,"satellites":40,"speed":33,"hex_longitude":"2d7b8940","hex_latitude":"05dae538","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883009280001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128596633716785152,"note":"Value kept but may cause issues"} 
[2026-09-05 16:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912060737760446464,"note":"Value kept but may cause issues"} 
[2026-09-05 16:23:01] 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-09-05 16:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788605518000,"timestamp_ms":1788605518000,"timestamp_seconds":1788605518,"priority":1,"record_length":96,"hex_timestamp":"000001a0713250b0"} 
[2026-09-05 16:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-05 16:23:01] 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-09-05 16: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-09-05 16:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883009280001,"66":13820,"188":206,"85":15104,"24":33,"16":128596633716785152,"45":8912060737760446464},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-09-05 16:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883009280001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:23:01] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-05 16:23:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128596633716785152,"km_value":128596633716785.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912060737760446464,"description":"Unknown IO ID 45"} 
[2026-09-05 16:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883009280001,"power":13820,"unknown_188":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8912060737760446464}} 
[2026-09-05 16:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":172004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769897,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:23:01] local.INFO: GPS data processed {"connection_id":172004,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:23:01] local.INFO: Acknowledgment sent {"connection_id":172004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:23:01] local.INFO: TCP Data received {"connection_id":174427,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:23:01] local.INFO: Processing buffer {"connection_id":174427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:23:01] local.INFO: IMEI packet received {"connection_id":174427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":174427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:23:02] local.INFO: TCP Data received {"connection_id":174427,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071322d88012d7b850005f5ef28000e00842a..."} 
[2026-09-05 16:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071322d88012d7b850005f5ef28000e00842a..."} 
[2026-09-05 16:23:02] local.INFO: Processing buffer {"connection_id":174427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071322d88012d7b850005f5ef28000e00842a..."} 
[2026-09-05 16:23:02] local.INFO: Packet analysis {"connection_id":174427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:23:02] local.INFO: Extracted packet for processing {"connection_id":174427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:23:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100003624,"longitude_deg":76.3069696,"latitude_deg":10.0003624,"altitude":14,"angle":132,"satellites":42,"speed":5,"hex_longitude":"2d7b8500","hex_latitude":"05f5ef28","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883009536001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900049833721856,"note":"Value kept but may cause issues"} 
[2026-09-05 16:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051703627776,"note":"Value kept but may cause issues"} 
[2026-09-05 16:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788605509000,"timestamp_ms":1788605509000,"timestamp_seconds":1788605509,"priority":1,"record_length":96,"hex_timestamp":"000001a071322d88"} 
[2026-09-05 16:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:23: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-09-05 16: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 16:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883009536001,"66":27865,"160":206,"87":12800,"24":5,"16":399900049833721856,"45":8900098051703627776},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883009536001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:23:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:23:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900049833721856,"km_value":399900049833721.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051703627776,"description":"Unknown IO ID 45"} 
[2026-09-05 16:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883009536001,"power":27865,"unknown_160":206,"unknown_87":12800,"ignition":5,"odometer":null,"unknown_45":8900098051703627776}} 
[2026-09-05 16:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":174427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:23:02] local.INFO: GPS data processed {"connection_id":174427,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:23:02] local.INFO: Acknowledgment sent {"connection_id":174427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:23:23] local.INFO: TCP Data received {"connection_id":173111,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07131d3b0012d1bcd40072904180038006c29..."} 
[2026-09-05 16:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07131d3b0012d1bcd40072904180038006c29..."} 
[2026-09-05 16:23:23] local.INFO: Processing buffer {"connection_id":173111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07131d3b0012d1bcd40072904180038006c29..."} 
[2026-09-05 16:23:23] local.INFO: Packet analysis {"connection_id":173111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07131"} 
[2026-09-05 16:23:23] local.INFO: Extracted packet for processing {"connection_id":173111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07131"} 
[2026-09-05 16:23:23] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457882999040001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:23:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788605486000,"timestamp_ms":1788605486000,"timestamp_seconds":1788605486,"priority":1,"record_length":96,"hex_timestamp":"000001a07131d3b0"} 
[2026-09-05 16:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:23:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-05 16:23:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:23:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:23:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457882999040001,"66":12982,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457882999040001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:23:23] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:23:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457882999040001,"power":12982,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":173111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:23:23] local.INFO: GPS data processed {"connection_id":173111,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:23:23] local.INFO: Acknowledgment sent {"connection_id":173111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:23:25] local.INFO: TCP Data received {"connection_id":174426,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07132d198012c68b3c008623330000b014f2a..."} 
[2026-09-05 16:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07132d198012c68b3c008623330000b014f2a..."} 
[2026-09-05 16:23:25] local.INFO: Processing buffer {"connection_id":174426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07132d198012c68b3c008623330000b014f2a..."} 
[2026-09-05 16:23:25] local.INFO: Packet analysis {"connection_id":174426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:23:25] local.INFO: Extracted packet for processing {"connection_id":174426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:23:25] local.INFO: GPS Element Parsed {"raw_longitude":745059264,"raw_latitude":140653360,"longitude_deg":74.5059264,"latitude_deg":14.065336,"altitude":11,"angle":335,"satellites":42,"speed":56,"hex_longitude":"2c68b3c0","hex_latitude":"08623330","is_valid_coordinates":true} 
[2026-09-05 16:23: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-09-05 16:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883019264001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1311695897100288,"note":"Value kept but may cause issues"} 
[2026-09-05 16:23:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7548877436408057856,"note":"Value kept but may cause issues"} 
[2026-09-05 16:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788605551000,"timestamp_ms":1788605551000,"timestamp_seconds":1788605551,"priority":1,"record_length":96,"hex_timestamp":"000001a07132d198"} 
[2026-09-05 16:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-05 16:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:23: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-09-05 16:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174426,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174426,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883019264001,"66":27908,"206":206,"9":56064,"24":56,"16":1311695897100288,"44":7548877436408057856},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,9,24,16,44]} 
[2026-09-05 16:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883019264001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:23:25] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-05 16:23:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1311695897100288,"km_value":1311695897100.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:23:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":7548877436408057856,"description":"Unknown IO ID 44"} 
[2026-09-05 16:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883019264001,"power":27908,"unknown_206":206,"unknown_9":56064,"ignition":56,"odometer":null,"unknown_44":7548877436408057856}} 
[2026-09-05 16:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":174426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769900,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:23:26] local.INFO: GPS data processed {"connection_id":174426,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:23:26] local.INFO: Acknowledgment sent {"connection_id":174426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:23:31] local.INFO: TCP Data received {"connection_id":172004,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071328f30012d7b650005dadb88000e00ff29..."} 
[2026-09-05 16:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071328f30012d7b650005dadb88000e00ff29..."} 
[2026-09-05 16:23:31] local.INFO: Processing buffer {"connection_id":172004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071328f30012d7b650005dadb88000e00ff29..."} 
[2026-09-05 16:23:31] local.INFO: Packet analysis {"connection_id":172004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:23:31] local.INFO: Extracted packet for processing {"connection_id":172004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:23:31] local.INFO: GPS Element Parsed {"raw_longitude":763061504,"raw_latitude":98229128,"longitude_deg":76.3061504,"latitude_deg":9.8229128,"altitude":14,"angle":255,"satellites":41,"speed":24,"hex_longitude":"2d7b6500","hex_latitude":"05dadb88","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883012608001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128597093278285824,"note":"Value kept but may cause issues"} 
[2026-09-05 16:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901716532365965312,"note":"Value kept but may cause issues"} 
[2026-09-05 16:23:31] 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-09-05 16:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788605534000,"timestamp_ms":1788605534000,"timestamp_seconds":1788605534,"priority":1,"record_length":96,"hex_timestamp":"000001a071328f30"} 
[2026-09-05 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-09-05 16:23: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-09-05 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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-05 16:23: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-09-05 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-09-05 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-09-05 16:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883012608001,"66":13820,"188":206,"85":15104,"24":24,"16":128597093278285824,"45":8901716532365965312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-09-05 16:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883012608001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:23:31] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-05 16:23:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128597093278285824,"km_value":128597093278285.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901716532365965312,"description":"Unknown IO ID 45"} 
[2026-09-05 16:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883012608001,"power":13820,"unknown_188":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8901716532365965312}} 
[2026-09-05 16:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":172004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769901,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:23:31] local.INFO: GPS data processed {"connection_id":172004,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:23:31] local.INFO: Acknowledgment sent {"connection_id":172004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:23:33] local.INFO: TCP Data received {"connection_id":174427,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071323940012d7b85c005f5eda0000d00972a..."} 
[2026-09-05 16:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071323940012d7b85c005f5eda0000d00972a..."} 
[2026-09-05 16:23:33] local.INFO: Processing buffer {"connection_id":174427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071323940012d7b85c005f5eda0000d00972a..."} 
[2026-09-05 16:23:33] local.INFO: Packet analysis {"connection_id":174427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:23:33] local.INFO: Extracted packet for processing {"connection_id":174427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763069888,"raw_latitude":100003232,"longitude_deg":76.3069888,"latitude_deg":10.0003232,"altitude":13,"angle":151,"satellites":42,"speed":5,"hex_longitude":"2d7b85c0","hex_latitude":"05f5eda0","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883010304001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900071308558336,"note":"Value kept but may cause issues"} 
[2026-09-05 16:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168581120,"note":"Value kept but may cause issues"} 
[2026-09-05 16:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788605512000,"timestamp_ms":1788605512000,"timestamp_seconds":1788605512,"priority":1,"record_length":96,"hex_timestamp":"000001a071323940"} 
[2026-09-05 16:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:23: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-09-05 16:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 16:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883010304001,"66":27995,"160":206,"87":12800,"24":5,"16":399900071308558336,"45":8900520264168581120},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883010304001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:23:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:23:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900071308558336,"km_value":399900071308558.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168581120,"description":"Unknown IO ID 45"} 
[2026-09-05 16:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883010304001,"power":27995,"unknown_160":206,"unknown_87":12800,"ignition":5,"odometer":null,"unknown_45":8900520264168581120}} 
[2026-09-05 16:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":174427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:23:33] local.INFO: GPS data processed {"connection_id":174427,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:23:33] local.INFO: Acknowledgment sent {"connection_id":174427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:23:44] local.INFO: TCP Data received {"connection_id":172005,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:23:44] local.INFO: Processing buffer {"connection_id":172005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:23:44] local.INFO: IMEI packet received {"connection_id":172005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":172005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:23:49] local.INFO: TCP Data received {"connection_id":172005,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:23:49] local.INFO: Processing buffer {"connection_id":172005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:23:49] local.INFO: IMEI packet received {"connection_id":172005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":172005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:23:49] local.INFO: TCP Data received {"connection_id":172006,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172006,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:23:49] local.INFO: Processing buffer {"connection_id":172006,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:23:49] local.INFO: IMEI packet received {"connection_id":172006,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":172006,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:23:49] local.INFO: TCP Data received {"connection_id":172005,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0713225b8012d1bcd40072904180038006c28..."} 
[2026-09-05 16:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713225b8012d1bcd40072904180038006c28..."} 
[2026-09-05 16:23:49] local.INFO: Processing buffer {"connection_id":172005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713225b8012d1bcd40072904180038006c28..."} 
[2026-09-05 16:23:49] local.INFO: Packet analysis {"connection_id":172005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:23:49] local.INFO: Extracted packet for processing {"connection_id":172005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:23:49] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883004416001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788605507000,"timestamp_ms":1788605507000,"timestamp_seconds":1788605507,"priority":1,"record_length":96,"hex_timestamp":"000001a0713225b8"} 
[2026-09-05 16:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-05 16:23:49] 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-09-05 16:23:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883004416001,"66":12961,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883004416001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:23:49] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:23:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883004416001,"power":12961,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":172005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:23:49] local.INFO: GPS data processed {"connection_id":172005,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:23:49] local.INFO: Acknowledgment sent {"connection_id":172005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:23:54] local.INFO: TCP Data received {"connection_id":171718,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171718,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:23:54] local.INFO: Processing buffer {"connection_id":171718,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:23:54] local.INFO: IMEI packet received {"connection_id":171718,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 16:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":171718,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:23:55] local.INFO: TCP Data received {"connection_id":172006,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172006,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:23:55] local.INFO: Processing buffer {"connection_id":172006,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:23:55] local.INFO: IMEI packet received {"connection_id":172006,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":172006,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:23:56] local.INFO: TCP Data received {"connection_id":171717,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:23:56] local.INFO: Processing buffer {"connection_id":171717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:23:56] local.INFO: IMEI packet received {"connection_id":171717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":171717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:23:56] local.INFO: TCP Data received {"connection_id":172006,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172006,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:23:56] local.INFO: Processing buffer {"connection_id":172006,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:23:56] local.INFO: IMEI packet received {"connection_id":172006,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":172006,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:23:57] local.INFO: TCP Data received {"connection_id":172006,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07132ecf0012c68a300086257400009015029..."} 
[2026-09-05 16:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07132ecf0012c68a300086257400009015029..."} 
[2026-09-05 16:23:57] local.INFO: Processing buffer {"connection_id":172006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07132ecf0012c68a300086257400009015029..."} 
[2026-09-05 16:23:57] local.INFO: Packet analysis {"connection_id":172006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:23:57] local.INFO: Extracted packet for processing {"connection_id":172006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:23:57] local.INFO: GPS Element Parsed {"raw_longitude":745054976,"raw_latitude":140662592,"longitude_deg":74.5054976,"latitude_deg":14.0662592,"altitude":9,"angle":336,"satellites":41,"speed":59,"hex_longitude":"2c68a300","hex_latitude":"08625740","is_valid_coordinates":true} 
[2026-09-05 16:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883021056001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1312185523372032,"note":"Value kept but may cause issues"} 
[2026-09-05 16:23:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7544584943015505920,"note":"Value kept but may cause issues"} 
[2026-09-05 16:23:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788605558000,"timestamp_ms":1788605558000,"timestamp_seconds":1788605558,"priority":1,"record_length":96,"hex_timestamp":"000001a07132ecf0"} 
[2026-09-05 16:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:23:57] 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-09-05 16:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 16:23:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:23:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883021056001,"66":27941,"206":206,"9":56064,"24":59,"16":1312185523372032,"44":7544584943015505920},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,9,24,16,44]} 
[2026-09-05 16:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883021056001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:23:57] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-05 16:23:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1312185523372032,"km_value":1312185523372.032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:23:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":7544584943015505920,"description":"Unknown IO ID 44"} 
[2026-09-05 16:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883021056001,"power":27941,"unknown_206":206,"unknown_9":56064,"ignition":59,"odometer":null,"unknown_44":7544584943015505920}} 
[2026-09-05 16:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":172006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769904,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:23:57] local.INFO: GPS data processed {"connection_id":172006,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:23:57] local.INFO: Acknowledgment sent {"connection_id":172006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:23:58] local.INFO: TCP Data received {"connection_id":172006,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071330460012c6894c008627720000801512a..."} 
[2026-09-05 16:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071330460012c6894c008627720000801512a..."} 
[2026-09-05 16:23:58] local.INFO: Processing buffer {"connection_id":172006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071330460012c6894c008627720000801512a..."} 
[2026-09-05 16:23:58] local.INFO: Packet analysis {"connection_id":172006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07133"} 
[2026-09-05 16:23:58] local.INFO: Extracted packet for processing {"connection_id":172006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07133"} 
[2026-09-05 16:23:58] local.INFO: GPS Element Parsed {"raw_longitude":745051328,"raw_latitude":140670752,"longitude_deg":74.5051328,"latitude_deg":14.0670752,"altitude":8,"angle":337,"satellites":42,"speed":59,"hex_longitude":"2c6894c0","hex_latitude":"08627720","is_valid_coordinates":true} 
[2026-09-05 16:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883022848001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1312619315068928,"note":"Value kept but may cause issues"} 
[2026-09-05 16:23:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7539870237157965824,"note":"Value kept but may cause issues"} 
[2026-09-05 16:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788605564000,"timestamp_ms":1788605564000,"timestamp_seconds":1788605564,"priority":1,"record_length":96,"hex_timestamp":"000001a071330460"} 
[2026-09-05 16:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-05 16:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1076,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:23:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883022848001,"66":28137,"206":206,"9":56064,"24":59,"16":1312619315068928,"44":7539870237157965824},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,9,24,16,44]} 
[2026-09-05 16:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883022848001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:23:58] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-05 16:23:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1312619315068928,"km_value":1312619315068.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:23:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":7539870237157965824,"description":"Unknown IO ID 44"} 
[2026-09-05 16:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883022848001,"power":28137,"unknown_206":206,"unknown_9":56064,"ignition":59,"odometer":null,"unknown_44":7539870237157965824}} 
[2026-09-05 16:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":172006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769905,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:23:58] local.INFO: GPS data processed {"connection_id":172006,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:23:58] local.INFO: Acknowledgment sent {"connection_id":172006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:24:00] local.INFO: TCP Data received {"connection_id":171718,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171718,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:24:00] local.INFO: Processing buffer {"connection_id":171718,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:24:00] local.INFO: IMEI packet received {"connection_id":171718,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":171718,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:24:01] local.INFO: TCP Data received {"connection_id":171718,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07132be10012d7b410005dad0b8000a00fc28..."} 
[2026-09-05 16:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07132be10012d7b410005dad0b8000a00fc28..."} 
[2026-09-05 16:24:01] local.INFO: Processing buffer {"connection_id":171718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07132be10012d7b410005dad0b8000a00fc28..."} 
[2026-09-05 16:24:01] local.INFO: Packet analysis {"connection_id":171718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:24:01] local.INFO: Extracted packet for processing {"connection_id":171718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:24:01] local.INFO: GPS Element Parsed {"raw_longitude":763052288,"raw_latitude":98226360,"longitude_deg":76.3052288,"latitude_deg":9.822636,"altitude":10,"angle":252,"satellites":40,"speed":37,"hex_longitude":"2d7b4100","hex_latitude":"05dad0b8","is_valid_coordinates":true} 
[2026-09-05 16:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883016704001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128597552839786496,"note":"Value kept but may cause issues"} 
[2026-09-05 16:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891513064459569152,"note":"Value kept but may cause issues"} 
[2026-09-05 16:24:01] 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-09-05 16:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788605546000,"timestamp_ms":1788605546000,"timestamp_seconds":1788605546,"priority":1,"record_length":96,"hex_timestamp":"000001a07132be10"} 
[2026-09-05 16:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-05 16:24:01] 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-09-05 16:24:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883016704001,"66":13798,"188":206,"85":15104,"24":37,"16":128597552839786496,"45":8891513064459569152},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-09-05 16:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883016704001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:24:01] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-05 16:24:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128597552839786496,"km_value":128597552839786.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891513064459569152,"description":"Unknown IO ID 45"} 
[2026-09-05 16:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883016704001,"power":13798,"unknown_188":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8891513064459569152}} 
[2026-09-05 16:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":171718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769906,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:24:01] local.INFO: GPS data processed {"connection_id":171718,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:24:01] local.INFO: Acknowledgment sent {"connection_id":171718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:24:01] local.INFO: TCP Data received {"connection_id":171717,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:24:01] local.INFO: Processing buffer {"connection_id":171717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:24:01] local.INFO: IMEI packet received {"connection_id":171717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":171717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:24:02] local.INFO: TCP Data received {"connection_id":171717,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071323d28012d7b864005f5ed08000d00b22a..."} 
[2026-09-05 16:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071323d28012d7b864005f5ed08000d00b22a..."} 
[2026-09-05 16:24:02] local.INFO: Processing buffer {"connection_id":171717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071323d28012d7b864005f5ed08000d00b22a..."} 
[2026-09-05 16:24:02] local.INFO: Packet analysis {"connection_id":171717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:24:02] local.INFO: Extracted packet for processing {"connection_id":171717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:24:02] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":100003080,"longitude_deg":76.3070016,"latitude_deg":10.000308,"altitude":13,"angle":178,"satellites":42,"speed":6,"hex_longitude":"2d7b8640","hex_latitude":"05f5ed08","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883011072001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900079898492928,"note":"Value kept but may cause issues"} 
[2026-09-05 16:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900731370401013760,"note":"Value kept but may cause issues"} 
[2026-09-05 16:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788605513000,"timestamp_ms":1788605513000,"timestamp_seconds":1788605513,"priority":1,"record_length":96,"hex_timestamp":"000001a071323d28"} 
[2026-09-05 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-09-05 16:24: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-09-05 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 16:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883011072001,"66":27821,"160":206,"87":12800,"24":6,"16":399900079898492928,"45":8900731370401013760},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883011072001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:24:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:24:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900079898492928,"km_value":399900079898492.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900731370401013760,"description":"Unknown IO ID 45"} 
[2026-09-05 16:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883011072001,"power":27821,"unknown_160":206,"unknown_87":12800,"ignition":6,"odometer":null,"unknown_45":8900731370401013760}} 
[2026-09-05 16:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":171717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:24:02] local.INFO: GPS data processed {"connection_id":171717,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:24:02] local.INFO: Acknowledgment sent {"connection_id":171717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:24:21] local.INFO: TCP Data received {"connection_id":172005,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0713277c0012d1bcd40072904180038006c28..."} 
[2026-09-05 16:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713277c0012d1bcd40072904180038006c28..."} 
[2026-09-05 16:24:21] local.INFO: Processing buffer {"connection_id":172005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713277c0012d1bcd40072904180038006c28..."} 
[2026-09-05 16:24:21] local.INFO: Packet analysis {"connection_id":172005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:24:21] local.INFO: Extracted packet for processing {"connection_id":172005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:24:21] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883009792001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:24:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788605528000,"timestamp_ms":1788605528000,"timestamp_seconds":1788605528,"priority":1,"record_length":96,"hex_timestamp":"000001a0713277c0"} 
[2026-09-05 16:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:24:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-05 16:24:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:24:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883009792001,"66":12885,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883009792001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:24:21] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:24:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:24:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883009792001,"power":12885,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":172005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:24:21] local.INFO: GPS data processed {"connection_id":172005,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:24:21] local.INFO: Acknowledgment sent {"connection_id":172005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:24:31] local.INFO: TCP Data received {"connection_id":172006,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071331bd0012c688880086297f00006015629..."} 
[2026-09-05 16:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071331bd0012c688880086297f00006015629..."} 
[2026-09-05 16:24:31] local.INFO: Processing buffer {"connection_id":172006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071331bd0012c688880086297f00006015629..."} 
[2026-09-05 16:24:31] local.INFO: Packet analysis {"connection_id":172006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07133"} 
[2026-09-05 16:24:31] local.INFO: Extracted packet for processing {"connection_id":172006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07133"} 
[2026-09-05 16:24:31] local.INFO: GPS Element Parsed {"raw_longitude":745048192,"raw_latitude":140679152,"longitude_deg":74.5048192,"latitude_deg":14.0679152,"altitude":6,"angle":342,"satellites":41,"speed":58,"hex_longitude":"2c688880","hex_latitude":"086297f0","is_valid_coordinates":true} 
[2026-09-05 16:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883024384001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1313053106765824,"note":"Value kept but may cause issues"} 
[2026-09-05 16:24:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7535859218741927936,"note":"Value kept but may cause issues"} 
[2026-09-05 16:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788605570000,"timestamp_ms":1788605570000,"timestamp_seconds":1788605570,"priority":1,"record_length":96,"hex_timestamp":"000001a071331bd0"} 
[2026-09-05 16:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 16:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883024384001,"66":27995,"206":206,"9":56064,"24":58,"16":1313053106765824,"44":7535859218741927936},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,9,24,16,44]} 
[2026-09-05 16:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883024384001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:24:31] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-05 16:24:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1313053106765824,"km_value":1313053106765.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:24:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":7535859218741927936,"description":"Unknown IO ID 44"} 
[2026-09-05 16:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883024384001,"power":27995,"unknown_206":206,"unknown_9":56064,"ignition":58,"odometer":null,"unknown_44":7535859218741927936}} 
[2026-09-05 16:24:32] local.INFO: TCP Data received {"connection_id":171718,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07132e520012d7b1d0005dac7780009010128..."} 
[2026-09-05 16:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07132e520012d7b1d0005dac7780009010128..."} 
[2026-09-05 16:24:32] local.INFO: Processing buffer {"connection_id":171718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07132e520012d7b1d0005dac7780009010128..."} 
[2026-09-05 16:24:32] local.INFO: Packet analysis {"connection_id":171718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:24:32] local.INFO: Extracted packet for processing {"connection_id":171718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:24:32] local.INFO: GPS Element Parsed {"raw_longitude":763043072,"raw_latitude":98223992,"longitude_deg":76.3043072,"latitude_deg":9.8223992,"altitude":9,"angle":257,"satellites":40,"speed":36,"hex_longitude":"2d7b1d00","hex_latitude":"05dac778","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883019776001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128598008106319872,"note":"Value kept but may cause issues"} 
[2026-09-05 16:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881379965297276928,"note":"Value kept but may cause issues"} 
[2026-09-05 16:24:32] 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-09-05 16:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788605556000,"timestamp_ms":1788605556000,"timestamp_seconds":1788605556,"priority":1,"record_length":96,"hex_timestamp":"000001a07132e520"} 
[2026-09-05 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-09-05 16:24: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-09-05 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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 16:24: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-09-05 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-09-05 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-09-05 16:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883019776001,"66":13678,"188":206,"85":15104,"24":36,"16":128598008106319872,"45":8881379965297276928},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-09-05 16:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883019776001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:24:32] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-05 16:24:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128598008106319872,"km_value":128598008106319.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881379965297276928,"description":"Unknown IO ID 45"} 
[2026-09-05 16:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883019776001,"power":13678,"unknown_188":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8881379965297276928}} 
[2026-09-05 16:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":171718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769909,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:24:32] local.INFO: GPS data processed {"connection_id":171718,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:24:32] local.INFO: Acknowledgment sent {"connection_id":171718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":172006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769910,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:24:32] local.INFO: GPS data processed {"connection_id":172006,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:24:32] local.INFO: Acknowledgment sent {"connection_id":172006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:24:33] local.INFO: TCP Data received {"connection_id":171717,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071328f30012d7b850005f5eab8000d00b22a..."} 
[2026-09-05 16:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071328f30012d7b850005f5eab8000d00b22a..."} 
[2026-09-05 16:24:33] local.INFO: Processing buffer {"connection_id":171717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071328f30012d7b850005f5eab8000d00b22a..."} 
[2026-09-05 16:24:33] local.INFO: Packet analysis {"connection_id":171717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:24:33] local.INFO: Extracted packet for processing {"connection_id":171717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100002488,"longitude_deg":76.3069696,"latitude_deg":10.0002488,"altitude":13,"angle":178,"satellites":42,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5eab8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883011328001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900135733067776,"note":"Value kept but may cause issues"} 
[2026-09-05 16:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889330176,"note":"Value kept but may cause issues"} 
[2026-09-05 16:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788605534000,"timestamp_ms":1788605534000,"timestamp_seconds":1788605534,"priority":1,"record_length":96,"hex_timestamp":"000001a071328f30"} 
[2026-09-05 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-09-05 16:24: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-09-05 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 16:24: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-09-05 16: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-09-05 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-09-05 16:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883011328001,"66":28082,"160":206,"87":12800,"24":0,"16":399900135733067776,"45":8900872107889330176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883011328001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:24:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:24:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900135733067776,"km_value":399900135733067.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889330176,"description":"Unknown IO ID 45"} 
[2026-09-05 16:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883011328001,"power":28082,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889330176}} 
[2026-09-05 16:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":171717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:24:33] local.INFO: GPS data processed {"connection_id":171717,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:24:33] local.INFO: Acknowledgment sent {"connection_id":171717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:24:44] local.INFO: TCP Data received {"connection_id":173112,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:24:44] local.INFO: Processing buffer {"connection_id":173112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:24:44] local.INFO: IMEI packet received {"connection_id":173112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":173112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:24:47] local.INFO: TCP Data received {"connection_id":174428,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:24:47] local.INFO: Processing buffer {"connection_id":174428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:24:47] local.INFO: IMEI packet received {"connection_id":174428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":174428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:24:50] local.INFO: TCP Data received {"connection_id":173112,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:24:50] local.INFO: Processing buffer {"connection_id":173112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:24:50] local.INFO: IMEI packet received {"connection_id":173112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":173112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:24:50] local.INFO: TCP Data received {"connection_id":173112,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07132c9c8012d1bcd40072904180038006c24..."} 
[2026-09-05 16:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07132c9c8012d1bcd40072904180038006c24..."} 
[2026-09-05 16:24:50] local.INFO: Processing buffer {"connection_id":173112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07132c9c8012d1bcd40072904180038006c24..."} 
[2026-09-05 16:24:50] local.INFO: Packet analysis {"connection_id":173112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:24:50] local.INFO: Extracted packet for processing {"connection_id":173112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:24:50] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883015168001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788605549000,"timestamp_ms":1788605549000,"timestamp_seconds":1788605549,"priority":1,"record_length":96,"hex_timestamp":"000001a07132c9c8"} 
[2026-09-05 16:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-05 16:24:50] 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-09-05 16:24:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883015168001,"66":12939,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883015168001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:24:50] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:24:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883015168001,"power":12939,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":173112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:24:51] local.INFO: GPS data processed {"connection_id":173112,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:24:51] local.INFO: Acknowledgment sent {"connection_id":173112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:24:52] local.INFO: TCP Data received {"connection_id":174428,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:24:52] local.INFO: Processing buffer {"connection_id":174428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:24:52] local.INFO: IMEI packet received {"connection_id":174428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":174428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:24:54] local.INFO: TCP Data received {"connection_id":174428,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071333728012c687ec00862be800006015d2a..."} 
[2026-09-05 16:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071333728012c687ec00862be800006015d2a..."} 
[2026-09-05 16:24:54] local.INFO: Processing buffer {"connection_id":174428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071333728012c687ec00862be800006015d2a..."} 
[2026-09-05 16:24:54] local.INFO: Packet analysis {"connection_id":174428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07133"} 
[2026-09-05 16:24:54] local.INFO: Extracted packet for processing {"connection_id":174428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07133"} 
[2026-09-05 16:24:54] local.INFO: GPS Element Parsed {"raw_longitude":745045696,"raw_latitude":140689024,"longitude_deg":74.5045696,"latitude_deg":14.0689024,"altitude":6,"angle":349,"satellites":42,"speed":58,"hex_longitude":"2c687ec0","hex_latitude":"0862be80","is_valid_coordinates":true} 
[2026-09-05 16:24: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-09-05 16:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883025920001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1313547028004864,"note":"Value kept but may cause issues"} 
[2026-09-05 16:24:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7532411150279372800,"note":"Value kept but may cause issues"} 
[2026-09-05 16:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788605577000,"timestamp_ms":1788605577000,"timestamp_seconds":1788605577,"priority":1,"record_length":96,"hex_timestamp":"000001a071333728"} 
[2026-09-05 16:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:24:54] 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-09-05 16:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 16:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883025920001,"66":27908,"206":206,"9":56064,"24":58,"16":1313547028004864,"44":7532411150279372800},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,9,24,16,44]} 
[2026-09-05 16:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883025920001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:24:54] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-05 16:24:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1313547028004864,"km_value":1313547028004.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:24:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":7532411150279372800,"description":"Unknown IO ID 44"} 
[2026-09-05 16:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883025920001,"power":27908,"unknown_206":206,"unknown_9":56064,"ignition":58,"odometer":null,"unknown_44":7532411150279372800}} 
[2026-09-05 16:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":174428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769913,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:24:54] local.INFO: GPS data processed {"connection_id":174428,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:24:54] local.INFO: Acknowledgment sent {"connection_id":174428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:24:56] local.INFO: TCP Data received {"connection_id":173113,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:24:56] local.INFO: Processing buffer {"connection_id":173113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:24:56] local.INFO: IMEI packet received {"connection_id":173113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":173113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:24:59] local.INFO: TCP Data received {"connection_id":173114,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173114,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:24:59] local.INFO: Processing buffer {"connection_id":173114,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:24:59] local.INFO: IMEI packet received {"connection_id":173114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 16:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":173114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:25:00] local.INFO: TCP Data received {"connection_id":173114,"ip":"42.109.136.7","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-05 16:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173114,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-05 16:25:00] local.INFO: Processing buffer {"connection_id":173114,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-05 16:25:00] local.INFO: IMEI packet received {"connection_id":173114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":173114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:25:01] local.INFO: TCP Data received {"connection_id":173114,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173114,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:25:01] local.INFO: Processing buffer {"connection_id":173114,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-05 16:25:01] local.INFO: IMEI packet received {"connection_id":173114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":173114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:25:01] local.INFO: TCP Data received {"connection_id":173113,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:25:01] local.INFO: Processing buffer {"connection_id":173113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:25:01] local.INFO: IMEI packet received {"connection_id":173113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":173113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:25:02] local.INFO: TCP Data received {"connection_id":173114,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071331fb8012d7afa8005dabf580008010228..."} 
[2026-09-05 16:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071331fb8012d7afa8005dabf580008010228..."} 
[2026-09-05 16:25:02] local.INFO: Processing buffer {"connection_id":173114,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a071..."} 
[2026-09-05 16:25:02] local.INFO: IMEI packet received {"connection_id":173114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":173114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:25:02] local.INFO: TCP Data received {"connection_id":173113,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07132dd50012d7b840005f5ed18000e00b228..."} 
[2026-09-05 16:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07132dd50012d7b840005f5ed18000e00b228..."} 
[2026-09-05 16:25:02] local.INFO: Processing buffer {"connection_id":173113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07132dd50012d7b840005f5ed18000e00b228..."} 
[2026-09-05 16:25:02] local.INFO: Packet analysis {"connection_id":173113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:25:02] local.INFO: Extracted packet for processing {"connection_id":173113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:25:02] local.INFO: GPS Element Parsed {"raw_longitude":763069440,"raw_latitude":100003096,"longitude_deg":76.306944,"latitude_deg":10.0003096,"altitude":14,"angle":178,"satellites":40,"speed":0,"hex_longitude":"2d7b8400","hex_latitude":"05f5ed18","is_valid_coordinates":true} 
[2026-09-05 16:25: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-09-05 16:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883016704001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168290304,"note":"Value kept but may cause issues"} 
[2026-09-05 16:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788605554000,"timestamp_ms":1788605554000,"timestamp_seconds":1788605554,"priority":1,"record_length":96,"hex_timestamp":"000001a07132dd50"} 
[2026-09-05 16:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:25: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-09-05 16: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 16:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883016704001,"66":27800,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168290304},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883016704001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:25:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:25:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168290304,"description":"Unknown IO ID 45"} 
[2026-09-05 16:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883016704001,"power":27800,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168290304}} 
[2026-09-05 16:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":173113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:25:02] local.INFO: GPS data processed {"connection_id":173113,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:25:02] local.INFO: Acknowledgment sent {"connection_id":173113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:25:02] local.INFO: TCP Data received {"connection_id":173114,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071336dd8012d7ae44005dabab00009010028..."} 
[2026-09-05 16:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071336dd8012d7ae44005dabab00009010028..."} 
[2026-09-05 16:25:02] local.INFO: Processing buffer {"connection_id":173114,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a071331fb8012d7afa8005dabf580008010228..."} 
[2026-09-05 16:25:02] local.INFO: Packet analysis {"connection_id":173114,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07133"} 
[2026-09-05 16:25:02] local.INFO: Extracted packet for processing {"connection_id":173114,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07133"} 
[2026-09-05 16:25:02] local.INFO: GPS Element Parsed {"raw_longitude":763034240,"raw_latitude":98221912,"longitude_deg":76.303424,"latitude_deg":9.8221912,"altitude":8,"angle":258,"satellites":40,"speed":7,"hex_longitude":"2d7afa80","hex_latitude":"05dabf58","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883022336001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128598441898016768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871246866135087104,"note":"Value kept but may cause issues"} 
[2026-09-05 16:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788605571000,"timestamp_ms":1788605571000,"timestamp_seconds":1788605571,"priority":1,"record_length":96,"hex_timestamp":"000001a071331fb8"} 
[2026-09-05 16:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-05 16:25:02] 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-09-05 16: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-09-05 16:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883022336001,"66":13515,"188":206,"85":15104,"24":7,"16":128598441898016768,"45":8871246866135087104},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-09-05 16:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883022336001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:25:02] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-05 16:25:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128598441898016768,"km_value":128598441898016.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871246866135087104,"description":"Unknown IO ID 45"} 
[2026-09-05 16:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883022336001,"power":13515,"unknown_188":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8871246866135087104}} 
[2026-09-05 16:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":173114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769915,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:25:03] local.INFO: GPS data processed {"connection_id":173114,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:25:03] local.INFO: Acknowledgment sent {"connection_id":173114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:25:03] local.INFO: Packet analysis {"connection_id":173114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07133"} 
[2026-09-05 16:25:03] local.INFO: Extracted packet for processing {"connection_id":173114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07133"} 
[2026-09-05 16:25:03] local.INFO: GPS Element Parsed {"raw_longitude":763028544,"raw_latitude":98220720,"longitude_deg":76.3028544,"latitude_deg":9.822072,"altitude":9,"angle":256,"satellites":40,"speed":14,"hex_longitude":"2d7ae440","hex_latitude":"05dabab0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883026176001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128598721070891008,"note":"Value kept but may cause issues"} 
[2026-09-05 16:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861535979438036992,"note":"Value kept but may cause issues"} 
[2026-09-05 16:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788605591000,"timestamp_ms":1788605591000,"timestamp_seconds":1788605591,"priority":1,"record_length":96,"hex_timestamp":"000001a071336dd8"} 
[2026-09-05 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-09-05 16:25: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-09-05 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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-05 16:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883026176001,"66":13798,"188":206,"85":15104,"24":14,"16":128598721070891008,"45":8861535979438036992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-09-05 16:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883026176001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:25:03] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-05 16:25:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128598721070891008,"km_value":128598721070891.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861535979438036992,"description":"Unknown IO ID 45"} 
[2026-09-05 16:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883026176001,"power":13798,"unknown_188":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8861535979438036992}} 
[2026-09-05 16:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":173114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769916,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:25:03] local.INFO: GPS data processed {"connection_id":173114,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:25:03] local.INFO: Acknowledgment sent {"connection_id":173114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:25:22] local.INFO: TCP Data received {"connection_id":173112,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071331bd0012d1bcd40072904180038006c27..."} 
[2026-09-05 16:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071331bd0012d1bcd40072904180038006c27..."} 
[2026-09-05 16:25:22] local.INFO: Processing buffer {"connection_id":173112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071331bd0012d1bcd40072904180038006c27..."} 
[2026-09-05 16:25:22] local.INFO: Packet analysis {"connection_id":173112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07133"} 
[2026-09-05 16:25:22] local.INFO: Extracted packet for processing {"connection_id":173112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07133"} 
[2026-09-05 16:25:22] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883020544001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788605570000,"timestamp_ms":1788605570000,"timestamp_seconds":1788605570,"priority":1,"record_length":96,"hex_timestamp":"000001a071331bd0"} 
[2026-09-05 16:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:25: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-09-05 16:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 16:25:22] 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-09-05 16:25:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883020544001,"66":12885,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883020544001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:25:22] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:25:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883020544001,"power":12885,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":173112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:25:22] local.INFO: GPS data processed {"connection_id":173112,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:25:22] local.INFO: Acknowledgment sent {"connection_id":173112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:25:25] local.INFO: TCP Data received {"connection_id":174428,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071335280012c6879800862e630000601632b..."} 
[2026-09-05 16:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071335280012c6879800862e630000601632b..."} 
[2026-09-05 16:25:25] local.INFO: Processing buffer {"connection_id":174428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071335280012c6879800862e630000601632b..."} 
[2026-09-05 16:25:25] local.INFO: Packet analysis {"connection_id":174428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07133"} 
[2026-09-05 16:25:25] local.INFO: Extracted packet for processing {"connection_id":174428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07133"} 
[2026-09-05 16:25:25] local.INFO: GPS Element Parsed {"raw_longitude":745044352,"raw_latitude":140699184,"longitude_deg":74.5044352,"latitude_deg":14.0699184,"altitude":6,"angle":355,"satellites":43,"speed":58,"hex_longitude":"2c687980","hex_latitude":"0862e630","is_valid_coordinates":true} 
[2026-09-05 16:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883027712001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1314040949243904,"note":"Value kept but may cause issues"} 
[2026-09-05 16:25:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7529666769258971136,"note":"Value kept but may cause issues"} 
[2026-09-05 16:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788605584000,"timestamp_ms":1788605584000,"timestamp_seconds":1788605584,"priority":1,"record_length":96,"hex_timestamp":"000001a071335280"} 
[2026-09-05 16:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 16:25:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:25:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883027712001,"66":28267,"206":206,"9":56064,"24":58,"16":1314040949243904,"44":7529666769258971136},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,9,24,16,44]} 
[2026-09-05 16:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883027712001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:25:25] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-05 16:25:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1314040949243904,"km_value":1314040949243.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:25:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":7529666769258971136,"description":"Unknown IO ID 44"} 
[2026-09-05 16:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883027712001,"power":28267,"unknown_206":206,"unknown_9":56064,"ignition":58,"odometer":null,"unknown_44":7529666769258971136}} 
[2026-09-05 16:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":174428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769918,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:25:25] local.INFO: GPS data processed {"connection_id":174428,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:25:25] local.INFO: Acknowledgment sent {"connection_id":174428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:25:33] local.INFO: TCP Data received {"connection_id":173113,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07132e138012d7b840005f5ed18000e00b22a..."} 
[2026-09-05 16:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07132e138012d7b840005f5ed18000e00b22a..."} 
[2026-09-05 16:25:33] local.INFO: Processing buffer {"connection_id":173113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07132e138012d7b840005f5ed18000e00b22a..."} 
[2026-09-05 16:25:33] local.INFO: Packet analysis {"connection_id":173113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:25:33] local.INFO: Extracted packet for processing {"connection_id":173113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:25:33] local.INFO: GPS Element Parsed {"raw_longitude":763069440,"raw_latitude":100003096,"longitude_deg":76.306944,"latitude_deg":10.0003096,"altitude":14,"angle":178,"satellites":42,"speed":0,"hex_longitude":"2d7b8400","hex_latitude":"05f5ed18","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883021824001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900238789191735296,"note":"Value kept but may cause issues"} 
[2026-09-05 16:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788605555000,"timestamp_ms":1788605555000,"timestamp_seconds":1788605555,"priority":1,"record_length":96,"hex_timestamp":"000001a07132e138"} 
[2026-09-05 16:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:25: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-09-05 16:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 16:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883021824001,"66":27789,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900238789191735296},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883021824001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:25:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:25:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900238789191735296,"description":"Unknown IO ID 45"} 
[2026-09-05 16:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883021824001,"power":27789,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900238789191735296}} 
[2026-09-05 16:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":173113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:25:33] local.INFO: GPS data processed {"connection_id":173113,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:25:33] local.INFO: Acknowledgment sent {"connection_id":173113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:25:40] local.INFO: TCP Data received {"connection_id":173114,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071354298012d7a3a4005daa560000d01442a..."} 
[2026-09-05 16:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071354298012d7a3a4005daa560000d01442a..."} 
[2026-09-05 16:25:40] local.INFO: Processing buffer {"connection_id":173114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071354298012d7a3a4005daa560000d01442a..."} 
[2026-09-05 16:25:40] local.INFO: Packet analysis {"connection_id":173114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07135"} 
[2026-09-05 16:25:40] local.INFO: Extracted packet for processing {"connection_id":173114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07135"} 
[2026-09-05 16:25:40] local.INFO: GPS Element Parsed {"raw_longitude":762985024,"raw_latitude":98215264,"longitude_deg":76.2985024,"latitude_deg":9.8215264,"altitude":13,"angle":324,"satellites":42,"speed":9,"hex_longitude":"2d7a3a40","hex_latitude":"05daa560","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883061504001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128601036058263552,"note":"Value kept but may cause issues"} 
[2026-09-05 16:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807703890140293120,"note":"Value kept but may cause issues"} 
[2026-09-05 16:25:40] 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-09-05 16:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788605711000,"timestamp_ms":1788605711000,"timestamp_seconds":1788605711,"priority":1,"record_length":96,"hex_timestamp":"000001a071354298"} 
[2026-09-05 16:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-05 16:25:40] 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-09-05 16: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-09-05 16:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":173114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":173114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":173114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883061504001,"66":13037,"229":206,"85":15104,"24":9,"16":128601036058263552,"45":8807703890140293120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 16:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883061504001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:25:40] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 16:25:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128601036058263552,"km_value":128601036058263.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807703890140293120,"description":"Unknown IO ID 45"} 
[2026-09-05 16:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883061504001,"power":13037,"unknown_229":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8807703890140293120}} 
[2026-09-05 16:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":173114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769920,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:25:40] local.INFO: GPS data processed {"connection_id":173114,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:25:40] local.INFO: Acknowledgment sent {"connection_id":173114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:25:48] local.INFO: TCP Data received {"connection_id":174429,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174429,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:25:48] local.INFO: Processing buffer {"connection_id":174429,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:25:48] local.INFO: IMEI packet received {"connection_id":174429,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":174429,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:25:50] local.INFO: TCP Data received {"connection_id":173115,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:25:50] local.INFO: Processing buffer {"connection_id":173115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:25:50] local.INFO: IMEI packet received {"connection_id":173115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":173115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:25:50] local.INFO: TCP Data received {"connection_id":174429,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174429,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:25:50] local.INFO: Processing buffer {"connection_id":174429,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:25:50] local.INFO: IMEI packet received {"connection_id":174429,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":174429,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:25:51] local.INFO: TCP Data received {"connection_id":171719,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:25:51] local.INFO: Processing buffer {"connection_id":171719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:25:51] local.INFO: IMEI packet received {"connection_id":171719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 16:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":171719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:25:52] local.INFO: TCP Data received {"connection_id":174429,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07134d538012c6882c00863f120000701602b..."} 
[2026-09-05 16:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07134d538012c6882c00863f120000701602b..."} 
[2026-09-05 16:25:52] local.INFO: Processing buffer {"connection_id":174429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07134d538012c6882c00863f120000701602b..."} 
[2026-09-05 16:25:52] local.INFO: Packet analysis {"connection_id":174429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07134"} 
[2026-09-05 16:25:52] local.INFO: Extracted packet for processing {"connection_id":174429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07134"} 
[2026-09-05 16:25:52] local.INFO: GPS Element Parsed {"raw_longitude":745046720,"raw_latitude":140767520,"longitude_deg":74.504672,"latitude_deg":14.076752,"altitude":7,"angle":352,"satellites":43,"speed":14,"hex_longitude":"2c6882c0","hex_latitude":"0863f120","is_valid_coordinates":true} 
[2026-09-05 16:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883051776001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1317391023734784,"note":"Value kept but may cause issues"} 
[2026-09-05 16:25:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7532129675324317696,"note":"Value kept but may cause issues"} 
[2026-09-05 16:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788605683000,"timestamp_ms":1788605683000,"timestamp_seconds":1788605683,"priority":1,"record_length":96,"hex_timestamp":"000001a07134d538"} 
[2026-09-05 16:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:25: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-09-05 16:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 16:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883051776001,"66":28006,"205":206,"9":56064,"24":14,"16":1317391023734784,"44":7532129675324317696},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,9,24,16,44]} 
[2026-09-05 16:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883051776001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:25:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1317391023734784,"km_value":1317391023734.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:25:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":7532129675324317696,"description":"Unknown IO ID 44"} 
[2026-09-05 16:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883051776001,"power":28006,"cell_id":206,"unknown_9":56064,"ignition":14,"odometer":null,"unknown_44":7532129675324317696}} 
[2026-09-05 16:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":174429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769921,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:25:52] local.INFO: GPS data processed {"connection_id":174429,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:25:52] local.INFO: Acknowledgment sent {"connection_id":174429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:25:55] local.INFO: TCP Data received {"connection_id":173115,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:25:55] local.INFO: Processing buffer {"connection_id":173115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:25:55] local.INFO: IMEI packet received {"connection_id":173115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":173115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:25:55] local.INFO: TCP Data received {"connection_id":171719,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:25:55] local.INFO: Processing buffer {"connection_id":171719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:25:55] local.INFO: IMEI packet received {"connection_id":171719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":171719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:25:56] local.INFO: TCP Data received {"connection_id":173115,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0713369f0012d1bcd40072904180038006c28..."} 
[2026-09-05 16:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713369f0012d1bcd40072904180038006c28..."} 
[2026-09-05 16:25:56] local.INFO: Processing buffer {"connection_id":173115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713369f0012d1bcd40072904180038006c28..."} 
[2026-09-05 16:25:56] local.INFO: Packet analysis {"connection_id":173115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07133"} 
[2026-09-05 16:25:56] local.INFO: Extracted packet for processing {"connection_id":173115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07133"} 
[2026-09-05 16:25:56] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883025920001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788605590000,"timestamp_ms":1788605590000,"timestamp_seconds":1788605590,"priority":1,"record_length":96,"hex_timestamp":"000001a0713369f0"} 
[2026-09-05 16:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:25:56] 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-09-05 16:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-05 16:25:56] 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-09-05 16:25:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883025920001,"66":12841,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883025920001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:25:56] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:25:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883025920001,"power":12841,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":173115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:25:56] local.INFO: GPS data processed {"connection_id":173115,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:25:56] local.INFO: Acknowledgment sent {"connection_id":173115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:26:00] local.INFO: TCP Data received {"connection_id":171719,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:26:00] local.INFO: Processing buffer {"connection_id":171719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:26:00] local.INFO: IMEI packet received {"connection_id":171719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":171719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:26:00] local.INFO: TCP Data received {"connection_id":171719,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071357d30012d7a368005daa688000a01052a..."} 
[2026-09-05 16:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071357d30012d7a368005daa688000a01052a..."} 
[2026-09-05 16:26:00] local.INFO: Processing buffer {"connection_id":171719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071357d30012d7a368005daa688000a01052a..."} 
[2026-09-05 16:26:00] local.INFO: Packet analysis {"connection_id":171719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07135"} 
[2026-09-05 16:26:00] local.INFO: Extracted packet for processing {"connection_id":171719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07135"} 
[2026-09-05 16:26:00] local.INFO: GPS Element Parsed {"raw_longitude":762984064,"raw_latitude":98215560,"longitude_deg":76.2984064,"latitude_deg":9.821556,"altitude":10,"angle":261,"satellites":42,"speed":9,"hex_longitude":"2d7a3680","hex_latitude":"05daa688","is_valid_coordinates":true} 
[2026-09-05 16:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883062016001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128601087597871104,"note":"Value kept but may cause issues"} 
[2026-09-05 16:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807422415163711488,"note":"Value kept but may cause issues"} 
[2026-09-05 16:26:00] 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-09-05 16:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788605726000,"timestamp_ms":1788605726000,"timestamp_seconds":1788605726,"priority":1,"record_length":96,"hex_timestamp":"000001a071357d30"} 
[2026-09-05 16:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-05 16:26:00] 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-09-05 16:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883062016001,"66":13526,"229":206,"85":15104,"24":9,"16":128601087597871104,"45":8807422415163711488},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 16:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883062016001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:26:00] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 16:26:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128601087597871104,"km_value":128601087597871.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807422415163711488,"description":"Unknown IO ID 45"} 
[2026-09-05 16:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883062016001,"power":13526,"unknown_229":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8807422415163711488}} 
[2026-09-05 16:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":171719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:26:01] local.INFO: GPS data processed {"connection_id":171719,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:26:01] local.INFO: Acknowledgment sent {"connection_id":171719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:26:01] local.INFO: TCP Data received {"connection_id":174430,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:26:01] local.INFO: Processing buffer {"connection_id":174430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:26:01] local.INFO: IMEI packet received {"connection_id":174430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":174430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:26:06] local.INFO: TCP Data received {"connection_id":174430,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:26:06] local.INFO: Processing buffer {"connection_id":174430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:26:06] local.INFO: IMEI packet received {"connection_id":174430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":174430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:26:07] local.INFO: TCP Data received {"connection_id":174430,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07132e138012d7b840005f5ed18000e00b22a..."} 
[2026-09-05 16:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07132e138012d7b840005f5ed18000e00b22a..."} 
[2026-09-05 16:26:07] local.INFO: Processing buffer {"connection_id":174430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07132e138012d7b840005f5ed18000e00b22a..."} 
[2026-09-05 16:26:07] local.INFO: Packet analysis {"connection_id":174430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:26:07] local.INFO: Extracted packet for processing {"connection_id":174430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:26:07] local.INFO: GPS Element Parsed {"raw_longitude":763069440,"raw_latitude":100003096,"longitude_deg":76.306944,"latitude_deg":10.0003096,"altitude":14,"angle":178,"satellites":42,"speed":0,"hex_longitude":"2d7b8400","hex_latitude":"05f5ed18","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883021824001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900238789191735296,"note":"Value kept but may cause issues"} 
[2026-09-05 16:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788605555000,"timestamp_ms":1788605555000,"timestamp_seconds":1788605555,"priority":1,"record_length":96,"hex_timestamp":"000001a07132e138"} 
[2026-09-05 16:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:26: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-09-05 16:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 16:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883021824001,"66":27789,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900238789191735296},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883021824001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:26:07] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:26:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900238789191735296,"description":"Unknown IO ID 45"} 
[2026-09-05 16:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883021824001,"power":27789,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900238789191735296}} 
[2026-09-05 16:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":174430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:26:07] local.INFO: GPS data processed {"connection_id":174430,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:26:07] local.INFO: Acknowledgment sent {"connection_id":174430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:26:11] local.INFO: TCP Data received {"connection_id":174430,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07132e138012d7b840005f5ed18000e00b22a..."} 
[2026-09-05 16:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07132e138012d7b840005f5ed18000e00b22a..."} 
[2026-09-05 16:26:11] local.INFO: Processing buffer {"connection_id":174430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07132e138012d7b840005f5ed18000e00b22a..."} 
[2026-09-05 16:26:11] local.INFO: Packet analysis {"connection_id":174430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:26:11] local.INFO: Extracted packet for processing {"connection_id":174430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:26:11] local.INFO: GPS Element Parsed {"raw_longitude":763069440,"raw_latitude":100003096,"longitude_deg":76.306944,"latitude_deg":10.0003096,"altitude":14,"angle":178,"satellites":42,"speed":0,"hex_longitude":"2d7b8400","hex_latitude":"05f5ed18","is_valid_coordinates":true} 
[2026-09-05 16:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883021824001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900238789191735296,"note":"Value kept but may cause issues"} 
[2026-09-05 16:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788605555000,"timestamp_ms":1788605555000,"timestamp_seconds":1788605555,"priority":1,"record_length":96,"hex_timestamp":"000001a07132e138"} 
[2026-09-05 16:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:26: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-09-05 16:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 16:26:11] 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-09-05 16:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883021824001,"66":27789,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900238789191735296},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883021824001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:26:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:26:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900238789191735296,"description":"Unknown IO ID 45"} 
[2026-09-05 16:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883021824001,"power":27789,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900238789191735296}} 
[2026-09-05 16:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":174430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:26:11] local.INFO: GPS data processed {"connection_id":174430,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:26:11] local.INFO: Acknowledgment sent {"connection_id":174430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:26:24] local.INFO: TCP Data received {"connection_id":174429,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071351b88012c687fc008641450000701632b..."} 
[2026-09-05 16:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071351b88012c687fc008641450000701632b..."} 
[2026-09-05 16:26:24] local.INFO: Processing buffer {"connection_id":174429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071351b88012c687fc008641450000701632b..."} 
[2026-09-05 16:26:24] local.INFO: Packet analysis {"connection_id":174429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07135"} 
[2026-09-05 16:26:24] local.INFO: Extracted packet for processing {"connection_id":174429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07135"} 
[2026-09-05 16:26:24] local.INFO: GPS Element Parsed {"raw_longitude":745045952,"raw_latitude":140776528,"longitude_deg":74.5045952,"latitude_deg":14.0776528,"altitude":7,"angle":355,"satellites":43,"speed":26,"hex_longitude":"2c687fc0","hex_latitude":"08641450","is_valid_coordinates":true} 
[2026-09-05 16:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883054848001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1317833405366272,"note":"Value kept but may cause issues"} 
[2026-09-05 16:26:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7530792669185908736,"note":"Value kept but may cause issues"} 
[2026-09-05 16:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788605701000,"timestamp_ms":1788605701000,"timestamp_seconds":1788605701,"priority":1,"record_length":96,"hex_timestamp":"000001a071351b88"} 
[2026-09-05 16:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:26: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-09-05 16:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 16:26:24] 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-09-05 16:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883054848001,"66":28050,"205":206,"9":56064,"24":26,"16":1317833405366272,"44":7530792669185908736},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,9,24,16,44]} 
[2026-09-05 16:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883054848001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:26:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1317833405366272,"km_value":1317833405366.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:26:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":7530792669185908736,"description":"Unknown IO ID 44"} 
[2026-09-05 16:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883054848001,"power":28050,"cell_id":206,"unknown_9":56064,"ignition":26,"odometer":null,"unknown_44":7530792669185908736}} 
[2026-09-05 16:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":174429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769926,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:26:24] local.INFO: GPS data processed {"connection_id":174429,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:26:24] local.INFO: Acknowledgment sent {"connection_id":174429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:26:27] local.INFO: TCP Data received {"connection_id":173115,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07133bbf8012d1bcd40072904180038006c2a..."} 
[2026-09-05 16:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07133bbf8012d1bcd40072904180038006c2a..."} 
[2026-09-05 16:26:27] local.INFO: Processing buffer {"connection_id":173115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07133bbf8012d1bcd40072904180038006c2a..."} 
[2026-09-05 16:26:27] local.INFO: Packet analysis {"connection_id":173115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07133"} 
[2026-09-05 16:26:27] local.INFO: Extracted packet for processing {"connection_id":173115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07133"} 
[2026-09-05 16:26:27] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883031040001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788605611000,"timestamp_ms":1788605611000,"timestamp_seconds":1788605611,"priority":1,"record_length":96,"hex_timestamp":"000001a07133bbf8"} 
[2026-09-05 16:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-05 16:26:27] 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-09-05 16:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883031040001,"66":12852,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883031040001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:26:27] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:26:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883031040001,"power":12852,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":173115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:26:27] local.INFO: GPS data processed {"connection_id":173115,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:26:27] local.INFO: Acknowledgment sent {"connection_id":173115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:26:46] local.INFO: TCP Data received {"connection_id":172007,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:26:46] local.INFO: Processing buffer {"connection_id":172007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:26:46] local.INFO: IMEI packet received {"connection_id":172007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":172007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:26:47] local.INFO: TCP Data received {"connection_id":171720,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171720,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:26:47] local.INFO: Processing buffer {"connection_id":171720,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:26:47] local.INFO: IMEI packet received {"connection_id":171720,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":171720,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:26:49] local.INFO: TCP Data received {"connection_id":171720,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171720,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:26:49] local.INFO: Processing buffer {"connection_id":171720,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:26:49] local.INFO: IMEI packet received {"connection_id":171720,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":171720,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:26:51] local.INFO: TCP Data received {"connection_id":172007,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:26:51] local.INFO: Processing buffer {"connection_id":172007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:26:51] local.INFO: IMEI packet received {"connection_id":172007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":172007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:26:52] local.INFO: TCP Data received {"connection_id":172007,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071340e00012d1bcd40072904180038006c29..."} 
[2026-09-05 16:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071340e00012d1bcd40072904180038006c29..."} 
[2026-09-05 16:26:52] local.INFO: Processing buffer {"connection_id":172007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071340e00012d1bcd40072904180038006c29..."} 
[2026-09-05 16:26:52] local.INFO: Packet analysis {"connection_id":172007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07134"} 
[2026-09-05 16:26:52] local.INFO: Extracted packet for processing {"connection_id":172007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07134"} 
[2026-09-05 16:26:52] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883036416001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788605632000,"timestamp_ms":1788605632000,"timestamp_seconds":1788605632,"priority":1,"record_length":96,"hex_timestamp":"000001a071340e00"} 
[2026-09-05 16:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-05 16:26:52] 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-09-05 16:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883036416001,"66":12841,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883036416001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:26:52] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:26:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883036416001,"power":12841,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":172007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:26:52] local.INFO: GPS data processed {"connection_id":172007,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:26:52] local.INFO: Acknowledgment sent {"connection_id":172007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:26:52] local.INFO: TCP Data received {"connection_id":171720,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171720,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:26:52] local.INFO: Processing buffer {"connection_id":171720,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:26:52] local.INFO: IMEI packet received {"connection_id":171720,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":171720,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:26:55] local.INFO: TCP Data received {"connection_id":172007,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071346008012d1bcd40072904180038006c29..."} 
[2026-09-05 16:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071346008012d1bcd40072904180038006c29..."} 
[2026-09-05 16:26:55] local.INFO: Processing buffer {"connection_id":172007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071346008012d1bcd40072904180038006c29..."} 
[2026-09-05 16:26:55] local.INFO: Packet analysis {"connection_id":172007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07134"} 
[2026-09-05 16:26:55] local.INFO: Extracted packet for processing {"connection_id":172007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07134"} 
[2026-09-05 16:26:55] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883041792001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788605653000,"timestamp_ms":1788605653000,"timestamp_seconds":1788605653,"priority":1,"record_length":96,"hex_timestamp":"000001a071346008"} 
[2026-09-05 16:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:26:55] 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-09-05 16:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-05 16:26:55] 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-09-05 16:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883041792001,"66":12776,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883041792001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:26:55] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:26:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883041792001,"power":12776,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":172007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:26:55] local.INFO: GPS data processed {"connection_id":172007,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:26:55] local.INFO: Acknowledgment sent {"connection_id":172007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:26:56] local.INFO: TCP Data received {"connection_id":171720,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a071354680012c687d00086437b0000701662b..."} 
[2026-09-05 16:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071354680012c687d00086437b0000701662b..."} 
[2026-09-05 16:26:56] local.INFO: Processing buffer {"connection_id":171720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071354680012c687d00086437b0000701662b..."} 
[2026-09-05 16:26:56] local.INFO: Packet analysis {"connection_id":171720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07135"} 
[2026-09-05 16:26:56] local.INFO: Extracted packet for processing {"connection_id":171720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07135"} 
[2026-09-05 16:26:56] local.INFO: GPS Element Parsed {"raw_longitude":745045248,"raw_latitude":140785584,"longitude_deg":74.5045248,"latitude_deg":14.0785584,"altitude":7,"angle":358,"satellites":43,"speed":38,"hex_longitude":"2c687d00","hex_latitude":"086437b0","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883059456001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1318271492030464,"note":"Value kept but may cause issues"} 
[2026-09-05 16:26:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7529948244258082816,"note":"Value kept but may cause issues"} 
[2026-09-05 16:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788605712000,"timestamp_ms":1788605712000,"timestamp_seconds":1788605712,"priority":1,"record_length":96,"hex_timestamp":"000001a071354680"} 
[2026-09-05 16:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 16:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171720,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171720,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883059456001,"66":27876,"205":206,"9":56064,"24":38,"16":1318271492030464,"44":7529948244258082816},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,9,24,16,44]} 
[2026-09-05 16:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883059456001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:26:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1318271492030464,"km_value":1318271492030.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:26:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":7529948244258082816,"description":"Unknown IO ID 44"} 
[2026-09-05 16:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883059456001,"power":27876,"cell_id":206,"unknown_9":56064,"ignition":38,"odometer":null,"unknown_44":7529948244258082816}} 
[2026-09-05 16:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":171720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769930,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:26:56] local.INFO: GPS data processed {"connection_id":171720,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:26:56] local.INFO: Acknowledgment sent {"connection_id":171720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:26:56] local.INFO: TCP Data received {"connection_id":171721,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:26:56] local.INFO: Processing buffer {"connection_id":171721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:26:56] local.INFO: IMEI packet received {"connection_id":171721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":171721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:27:04] local.INFO: TCP Data received {"connection_id":171721,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:27:04] local.INFO: Processing buffer {"connection_id":171721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:27:04] local.INFO: IMEI packet received {"connection_id":171721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":171721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:27:05] local.INFO: TCP Data received {"connection_id":171721,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07132e138012d7b840005f5ed18000e00b22a..."} 
[2026-09-05 16:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07132e138012d7b840005f5ed18000e00b22a..."} 
[2026-09-05 16:27:05] local.INFO: Processing buffer {"connection_id":171721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07132e138012d7b840005f5ed18000e00b22a..."} 
[2026-09-05 16:27:05] local.INFO: Packet analysis {"connection_id":171721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:27:05] local.INFO: Extracted packet for processing {"connection_id":171721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:27:05] local.INFO: GPS Element Parsed {"raw_longitude":763069440,"raw_latitude":100003096,"longitude_deg":76.306944,"latitude_deg":10.0003096,"altitude":14,"angle":178,"satellites":42,"speed":0,"hex_longitude":"2d7b8400","hex_latitude":"05f5ed18","is_valid_coordinates":true} 
[2026-09-05 16:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883021824001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900238789191735296,"note":"Value kept but may cause issues"} 
[2026-09-05 16:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788605555000,"timestamp_ms":1788605555000,"timestamp_seconds":1788605555,"priority":1,"record_length":96,"hex_timestamp":"000001a07132e138"} 
[2026-09-05 16:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16: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-09-05 16:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 16:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883021824001,"66":27789,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900238789191735296},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883021824001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:27:05] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:27:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900238789191735296,"description":"Unknown IO ID 45"} 
[2026-09-05 16:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883021824001,"power":27789,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900238789191735296}} 
[2026-09-05 16:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":171721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:27:05] local.INFO: GPS data processed {"connection_id":171721,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:27:05] local.INFO: Acknowledgment sent {"connection_id":171721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:27:06] local.INFO: TCP Data received {"connection_id":171721,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07132e138012d7b840005f5ed18000e00b22a..."} 
[2026-09-05 16:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07132e138012d7b840005f5ed18000e00b22a..."} 
[2026-09-05 16:27:06] local.INFO: Processing buffer {"connection_id":171721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07132e138012d7b840005f5ed18000e00b22a..."} 
[2026-09-05 16:27:06] local.INFO: Packet analysis {"connection_id":171721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:27:06] local.INFO: Extracted packet for processing {"connection_id":171721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:27:06] local.INFO: GPS Element Parsed {"raw_longitude":763069440,"raw_latitude":100003096,"longitude_deg":76.306944,"latitude_deg":10.0003096,"altitude":14,"angle":178,"satellites":42,"speed":0,"hex_longitude":"2d7b8400","hex_latitude":"05f5ed18","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883021824001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900238789191735296,"note":"Value kept but may cause issues"} 
[2026-09-05 16:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788605555000,"timestamp_ms":1788605555000,"timestamp_seconds":1788605555,"priority":1,"record_length":96,"hex_timestamp":"000001a07132e138"} 
[2026-09-05 16:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:27:06] 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-09-05 16: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 16:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883021824001,"66":27789,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900238789191735296},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883021824001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:27:06] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:27:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900238789191735296,"description":"Unknown IO ID 45"} 
[2026-09-05 16:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883021824001,"power":27789,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900238789191735296}} 
[2026-09-05 16:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":171721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:27:06] local.INFO: GPS data processed {"connection_id":171721,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:27:06] local.INFO: Acknowledgment sent {"connection_id":171721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:27:26] local.INFO: TCP Data received {"connection_id":172007,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07134b210012d1bcd40072904180038006c29..."} 
[2026-09-05 16:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07134b210012d1bcd40072904180038006c29..."} 
[2026-09-05 16:27:26] local.INFO: Processing buffer {"connection_id":172007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07134b210012d1bcd40072904180038006c29..."} 
[2026-09-05 16:27:26] local.INFO: Packet analysis {"connection_id":172007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07134"} 
[2026-09-05 16:27:26] local.INFO: Extracted packet for processing {"connection_id":172007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07134"} 
[2026-09-05 16:27:26] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883047168001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788605674000,"timestamp_ms":1788605674000,"timestamp_seconds":1788605674,"priority":1,"record_length":96,"hex_timestamp":"000001a07134b210"} 
[2026-09-05 16:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:27: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-09-05 16:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-05 16:27:26] 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-09-05 16:27:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:27:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883047168001,"66":12841,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883047168001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:27:26] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:27:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883047168001,"power":12841,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":172007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:27:27] local.INFO: GPS data processed {"connection_id":172007,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:27:27] local.INFO: Acknowledgment sent {"connection_id":172007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:27:28] local.INFO: TCP Data received {"connection_id":171720,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0713569a8012c687b8008645c80000701662b..."} 
[2026-09-05 16:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713569a8012c687b8008645c80000701662b..."} 
[2026-09-05 16:27:29] local.INFO: Processing buffer {"connection_id":171720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713569a8012c687b8008645c80000701662b..."} 
[2026-09-05 16:27:29] local.INFO: Packet analysis {"connection_id":171720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07135"} 
[2026-09-05 16:27:29] local.INFO: Extracted packet for processing {"connection_id":171720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07135"} 
[2026-09-05 16:27:29] local.INFO: GPS Element Parsed {"raw_longitude":745044864,"raw_latitude":140795008,"longitude_deg":74.5044864,"latitude_deg":14.0795008,"altitude":7,"angle":358,"satellites":43,"speed":42,"hex_longitude":"2c687b80","hex_latitude":"08645c80","is_valid_coordinates":true} 
[2026-09-05 16:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883062272001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1318731053531136,"note":"Value kept but may cause issues"} 
[2026-09-05 16:27:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7529174188074446848,"note":"Value kept but may cause issues"} 
[2026-09-05 16:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788605721000,"timestamp_ms":1788605721000,"timestamp_seconds":1788605721,"priority":1,"record_length":96,"hex_timestamp":"000001a0713569a8"} 
[2026-09-05 16:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 16:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:27:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":171720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":171720,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":171720,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883062272001,"66":27984,"205":206,"9":56064,"24":42,"16":1318731053531136,"44":7529174188074446848},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,9,24,16,44]} 
[2026-09-05 16:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883062272001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:27:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1318731053531136,"km_value":1318731053531.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:27:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":7529174188074446848,"description":"Unknown IO ID 44"} 
[2026-09-05 16:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883062272001,"power":27984,"cell_id":206,"unknown_9":56064,"ignition":42,"odometer":null,"unknown_44":7529174188074446848}} 
[2026-09-05 16:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":171720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769934,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:27:29] local.INFO: GPS data processed {"connection_id":171720,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:27:29] local.INFO: Acknowledgment sent {"connection_id":171720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:27:37] local.INFO: TCP Data received {"connection_id":171721,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07132e138012d7b840005f5ed18000e00b22a..."} 
[2026-09-05 16:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07132e138012d7b840005f5ed18000e00b22a..."} 
[2026-09-05 16:27:37] local.INFO: Processing buffer {"connection_id":171721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07132e138012d7b840005f5ed18000e00b22a..."} 
[2026-09-05 16:27:37] local.INFO: Packet analysis {"connection_id":171721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:27:37] local.INFO: Extracted packet for processing {"connection_id":171721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:27:37] local.INFO: GPS Element Parsed {"raw_longitude":763069440,"raw_latitude":100003096,"longitude_deg":76.306944,"latitude_deg":10.0003096,"altitude":14,"angle":178,"satellites":42,"speed":0,"hex_longitude":"2d7b8400","hex_latitude":"05f5ed18","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883021824001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900238789191735296,"note":"Value kept but may cause issues"} 
[2026-09-05 16:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788605555000,"timestamp_ms":1788605555000,"timestamp_seconds":1788605555,"priority":1,"record_length":96,"hex_timestamp":"000001a07132e138"} 
[2026-09-05 16:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:27:37] 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-09-05 16:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 16:27: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-09-05 16: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-09-05 16:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":171721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":171721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":171721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883021824001,"66":27789,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900238789191735296},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883021824001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:27:37] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:27:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900238789191735296,"description":"Unknown IO ID 45"} 
[2026-09-05 16:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883021824001,"power":27789,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900238789191735296}} 
[2026-09-05 16:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":171721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:27:37] local.INFO: GPS data processed {"connection_id":171721,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:27:37] local.INFO: Acknowledgment sent {"connection_id":171721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:27:46] local.INFO: TCP Data received {"connection_id":171722,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:27:46] local.INFO: Processing buffer {"connection_id":171722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:27:46] local.INFO: IMEI packet received {"connection_id":171722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":171722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:27:47] local.INFO: TCP Data received {"connection_id":171723,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:27:47] local.INFO: Processing buffer {"connection_id":171723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:27:47] local.INFO: IMEI packet received {"connection_id":171723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":171723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:27:51] local.INFO: TCP Data received {"connection_id":171722,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:27:51] local.INFO: Processing buffer {"connection_id":171722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:27:51] local.INFO: IMEI packet received {"connection_id":171722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":171722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:27:52] local.INFO: TCP Data received {"connection_id":171723,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:27:52] local.INFO: Processing buffer {"connection_id":171723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:27:52] local.INFO: IMEI packet received {"connection_id":171723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":171723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:27:52] local.INFO: TCP Data received {"connection_id":171722,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071350800012d1bcd40072904180038006c29..."} 
[2026-09-05 16:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071350800012d1bcd40072904180038006c29..."} 
[2026-09-05 16:27:52] local.INFO: Processing buffer {"connection_id":171722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071350800012d1bcd40072904180038006c29..."} 
[2026-09-05 16:27:52] local.INFO: Packet analysis {"connection_id":171722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07135"} 
[2026-09-05 16:27:52] local.INFO: Extracted packet for processing {"connection_id":171722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07135"} 
[2026-09-05 16:27:52] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883052544001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788605696000,"timestamp_ms":1788605696000,"timestamp_seconds":1788605696,"priority":1,"record_length":96,"hex_timestamp":"000001a071350800"} 
[2026-09-05 16:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-05 16:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:27:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":171722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":171722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":171722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883052544001,"66":12809,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883052544001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:27:52] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:27:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883052544001,"power":12809,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":171722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:27:52] local.INFO: GPS data processed {"connection_id":171722,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:27:52] local.INFO: Acknowledgment sent {"connection_id":171722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:27:54] local.INFO: TCP Data received {"connection_id":171723,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07136a9f8012c687fc00865f0d0000700012b..."} 
[2026-09-05 16:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07136a9f8012c687fc00865f0d0000700012b..."} 
[2026-09-05 16:27:54] local.INFO: Processing buffer {"connection_id":171723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07136a9f8012c687fc00865f0d0000700012b..."} 
[2026-09-05 16:27:54] local.INFO: Packet analysis {"connection_id":171723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07136"} 
[2026-09-05 16:27:54] local.INFO: Extracted packet for processing {"connection_id":171723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07136"} 
[2026-09-05 16:27:54] local.INFO: GPS Element Parsed {"raw_longitude":745045952,"raw_latitude":140898512,"longitude_deg":74.5045952,"latitude_deg":14.0898512,"altitude":7,"angle":1,"satellites":43,"speed":58,"hex_longitude":"2c687fc0","hex_latitude":"0865f0d0","is_valid_coordinates":true} 
[2026-09-05 16:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883084032001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1323751870300160,"note":"Value kept but may cause issues"} 
[2026-09-05 16:27:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7529596400566149120,"note":"Value kept but may cause issues"} 
[2026-09-05 16:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788605803000,"timestamp_ms":1788605803000,"timestamp_seconds":1788605803,"priority":1,"record_length":96,"hex_timestamp":"000001a07136a9f8"} 
[2026-09-05 16:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:27:54] 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-09-05 16:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-05 16:27:54] 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-09-05 16:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883084032001,"66":28115,"225":206,"9":56064,"24":58,"16":1323751870300160,"44":7529596400566149120},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,9,24,16,44]} 
[2026-09-05 16:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883084032001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:27:54] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:27:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1323751870300160,"km_value":1323751870300.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:27:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":7529596400566149120,"description":"Unknown IO ID 44"} 
[2026-09-05 16:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883084032001,"power":28115,"unknown_225":206,"unknown_9":56064,"ignition":58,"odometer":null,"unknown_44":7529596400566149120}} 
[2026-09-05 16:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":171723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769937,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:27:54] local.INFO: GPS data processed {"connection_id":171723,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:27:54] local.INFO: Acknowledgment sent {"connection_id":171723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:27:55] local.INFO: TCP Data received {"connection_id":171722,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071355a08012d1bcd40072904180038006c29..."} 
[2026-09-05 16:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071355a08012d1bcd40072904180038006c29..."} 
[2026-09-05 16:27:55] local.INFO: Processing buffer {"connection_id":171722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071355a08012d1bcd40072904180038006c29..."} 
[2026-09-05 16:27:55] local.INFO: Packet analysis {"connection_id":171722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07135"} 
[2026-09-05 16:27:55] local.INFO: Extracted packet for processing {"connection_id":171722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07135"} 
[2026-09-05 16:27:55] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883058176001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788605717000,"timestamp_ms":1788605717000,"timestamp_seconds":1788605717,"priority":1,"record_length":96,"hex_timestamp":"000001a071355a08"} 
[2026-09-05 16:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:27:55] 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-09-05 16:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-05 16:27:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-05 16:27:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 16:27:55] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 16:27:55] local.WARNING: Large IO value detected {"io_id":113,"raw_value":3659676079592557888,"note":"Value kept but may cause issues"} 
[2026-09-05 16:27:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1074211076,"corrected_to":0} 
[2026-09-05 16:27:55] local.WARNING: Large IO value detected {"io_id":105,"raw_value":4026608923,"note":"Value kept but may cause issues"} 
[2026-09-05 16:27:55] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121300491980371,"note":"Value kept but may cause issues"} 
[2026-09-05 16:27:55] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3880714240,"note":"Value kept but may cause issues"} 
[2026-09-05 16:27:55] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2955513644680506404,"note":"Value kept but may cause issues"} 
[2026-09-05 16:27:55] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-05 16:27:55] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,225,83,24,241,157,16,231,160,178,45,64,4,56,41,10,66,96,14,1,240,227,113,205,105,40,239,50,218,2,63,7,167,79],"length":535,"final_offset":665,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1074211076,"validated":0}]} 
[2026-09-05 16:27:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035344189473423360,"timestamp_seconds":4035344189473423.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 16:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883058176001,"66":12798,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883058176001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:27:55] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:27:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883058176001,"power":12798,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":171722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:27:55] local.INFO: GPS data processed {"connection_id":171722,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:27:55] local.INFO: Acknowledgment sent {"connection_id":171722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:27:56] local.INFO: TCP Data received {"connection_id":174431,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:27:56] local.INFO: Processing buffer {"connection_id":174431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:27:56] local.INFO: IMEI packet received {"connection_id":174431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":174431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:28:01] local.INFO: TCP Data received {"connection_id":174431,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:28:01] local.INFO: Processing buffer {"connection_id":174431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:28:01] local.INFO: IMEI packet received {"connection_id":174431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":174431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:28:02] local.INFO: TCP Data received {"connection_id":174431,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07132e138012d7b840005f5ed18000e00b22a..."} 
[2026-09-05 16:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07132e138012d7b840005f5ed18000e00b22a..."} 
[2026-09-05 16:28:02] local.INFO: Processing buffer {"connection_id":174431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07132e138012d7b840005f5ed18000e00b22a..."} 
[2026-09-05 16:28:02] local.INFO: Packet analysis {"connection_id":174431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:28:02] local.INFO: Extracted packet for processing {"connection_id":174431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07132"} 
[2026-09-05 16:28:02] local.INFO: GPS Element Parsed {"raw_longitude":763069440,"raw_latitude":100003096,"longitude_deg":76.306944,"latitude_deg":10.0003096,"altitude":14,"angle":178,"satellites":42,"speed":0,"hex_longitude":"2d7b8400","hex_latitude":"05f5ed18","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883021824001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900238789191735296,"note":"Value kept but may cause issues"} 
[2026-09-05 16:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788605555000,"timestamp_ms":1788605555000,"timestamp_seconds":1788605555,"priority":1,"record_length":96,"hex_timestamp":"000001a07132e138"} 
[2026-09-05 16:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:28:02] 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-09-05 16:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 16:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883021824001,"66":27789,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900238789191735296},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883021824001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:28:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:28:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900238789191735296,"description":"Unknown IO ID 45"} 
[2026-09-05 16:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883021824001,"power":27789,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900238789191735296}} 
[2026-09-05 16:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":174431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:28:02] local.INFO: GPS data processed {"connection_id":174431,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:28:02] local.INFO: Acknowledgment sent {"connection_id":174431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:28:26] local.INFO: TCP Data received {"connection_id":171722,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07135ac10012d1bcd40072904180038006c28..."} 
[2026-09-05 16:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07135ac10012d1bcd40072904180038006c28..."} 
[2026-09-05 16:28:26] local.INFO: Processing buffer {"connection_id":171722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07135ac10012d1bcd40072904180038006c28..."} 
[2026-09-05 16:28:26] local.INFO: Packet analysis {"connection_id":171722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07135"} 
[2026-09-05 16:28:26] local.INFO: Extracted packet for processing {"connection_id":171722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07135"} 
[2026-09-05 16:28:26] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883063552001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:28:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788605738000,"timestamp_ms":1788605738000,"timestamp_seconds":1788605738,"priority":1,"record_length":96,"hex_timestamp":"000001a07135ac10"} 
[2026-09-05 16:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:28:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-05 16:28:26] 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-09-05 16:28:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:28:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883063552001,"66":12776,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883063552001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:28:26] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:28:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883063552001,"power":12776,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":171722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:28:26] local.INFO: GPS data processed {"connection_id":171722,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:28:26] local.INFO: Acknowledgment sent {"connection_id":171722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:28:28] local.INFO: TCP Data received {"connection_id":171723,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07136c550012c6880c0086617c0000a00022b..."} 
[2026-09-05 16:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07136c550012c6880c0086617c0000a00022b..."} 
[2026-09-05 16:28:28] local.INFO: Processing buffer {"connection_id":171723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07136c550012c6880c0086617c0000a00022b..."} 
[2026-09-05 16:28:28] local.INFO: Packet analysis {"connection_id":171723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07136"} 
[2026-09-05 16:28:28] local.INFO: Extracted packet for processing {"connection_id":171723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07136"} 
[2026-09-05 16:28:28] local.INFO: GPS Element Parsed {"raw_longitude":745046208,"raw_latitude":140908480,"longitude_deg":74.5046208,"latitude_deg":14.090848,"altitude":10,"angle":2,"satellites":43,"speed":54,"hex_longitude":"2c6880c0","hex_latitude":"086617c0","is_valid_coordinates":true} 
[2026-09-05 16:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883085568001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1324237201604608,"note":"Value kept but may cause issues"} 
[2026-09-05 16:28:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7529948244289310720,"note":"Value kept but may cause issues"} 
[2026-09-05 16:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788605810000,"timestamp_ms":1788605810000,"timestamp_seconds":1788605810,"priority":1,"record_length":96,"hex_timestamp":"000001a07136c550"} 
[2026-09-05 16:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-05 16:28:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2642,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":171723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":171723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":171723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883085568001,"66":28050,"225":206,"9":56064,"24":54,"16":1324237201604608,"44":7529948244289310720},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,9,24,16,44]} 
[2026-09-05 16:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883085568001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:28:28] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:28:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1324237201604608,"km_value":1324237201604.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:28:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":7529948244289310720,"description":"Unknown IO ID 44"} 
[2026-09-05 16:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883085568001,"power":28050,"unknown_225":206,"unknown_9":56064,"ignition":54,"odometer":null,"unknown_44":7529948244289310720}} 
[2026-09-05 16:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":171723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769941,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:28:28] local.INFO: GPS data processed {"connection_id":171723,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:28:28] local.INFO: Acknowledgment sent {"connection_id":171723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:28:33] local.INFO: TCP Data received {"connection_id":174431,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0713784b8012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713784b8012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:28:33] local.INFO: Processing buffer {"connection_id":174431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713784b8012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:28:33] local.INFO: Packet analysis {"connection_id":174431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07137"} 
[2026-09-05 16:28:33] local.INFO: Extracted packet for processing {"connection_id":174431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07137"} 
[2026-09-05 16:28:33] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883022080001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900238789191735296,"note":"Value kept but may cause issues"} 
[2026-09-05 16:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788605859000,"timestamp_ms":1788605859000,"timestamp_seconds":1788605859,"priority":1,"record_length":96,"hex_timestamp":"000001a0713784b8"} 
[2026-09-05 16:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:28: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-09-05 16: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-05 16:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883022080001,"66":26452,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900238789191735296},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883022080001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:28:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:28:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900238789191735296,"description":"Unknown IO ID 45"} 
[2026-09-05 16:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883022080001,"power":26452,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900238789191735296}} 
[2026-09-05 16:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":174431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:28:33] local.INFO: GPS data processed {"connection_id":174431,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:28:33] local.INFO: Acknowledgment sent {"connection_id":174431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:28:50] local.INFO: TCP Data received {"connection_id":172008,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:28:50] local.INFO: Processing buffer {"connection_id":172008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:28:50] local.INFO: IMEI packet received {"connection_id":172008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":172008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:28:52] local.INFO: TCP Data received {"connection_id":174432,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174432,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:28:52] local.INFO: Processing buffer {"connection_id":174432,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:28:52] local.INFO: IMEI packet received {"connection_id":174432,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":174432,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:28:55] local.INFO: TCP Data received {"connection_id":172008,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:28:55] local.INFO: Processing buffer {"connection_id":172008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:28:55] local.INFO: IMEI packet received {"connection_id":172008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":172008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:28:55] local.INFO: TCP Data received {"connection_id":172008,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07135fe18012d1bcd40072904180038006c27..."} 
[2026-09-05 16:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07135fe18012d1bcd40072904180038006c27..."} 
[2026-09-05 16:28:55] local.INFO: Processing buffer {"connection_id":172008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07135fe18012d1bcd40072904180038006c27..."} 
[2026-09-05 16:28:55] local.INFO: Packet analysis {"connection_id":172008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07135"} 
[2026-09-05 16:28:55] local.INFO: Extracted packet for processing {"connection_id":172008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07135"} 
[2026-09-05 16:28:55] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883068928001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788605759000,"timestamp_ms":1788605759000,"timestamp_seconds":1788605759,"priority":1,"record_length":96,"hex_timestamp":"000001a07135fe18"} 
[2026-09-05 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-09-05 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-09-05 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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-05 16:28:55] 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-09-05 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-09-05 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-09-05 16:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883068928001,"66":12776,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883068928001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:28:55] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:28:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883068928001,"power":12776,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":172008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:28:55] local.INFO: GPS data processed {"connection_id":172008,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:28:55] local.INFO: Acknowledgment sent {"connection_id":172008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:28:56] local.INFO: TCP Data received {"connection_id":174433,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:28:56] local.INFO: Processing buffer {"connection_id":174433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:28:56] local.INFO: IMEI packet received {"connection_id":174433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":174433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:28:56] local.INFO: TCP Data received {"connection_id":174432,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174432,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:28:56] local.INFO: Processing buffer {"connection_id":174432,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:28:56] local.INFO: IMEI packet received {"connection_id":174432,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":174432,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:28:57] local.INFO: TCP Data received {"connection_id":174432,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07136e0a8012c68830008663c00000d00022c..."} 
[2026-09-05 16:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07136e0a8012c68830008663c00000d00022c..."} 
[2026-09-05 16:28:57] local.INFO: Processing buffer {"connection_id":174432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07136e0a8012c68830008663c00000d00022c..."} 
[2026-09-05 16:28:57] local.INFO: Packet analysis {"connection_id":174432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07136"} 
[2026-09-05 16:28:57] local.INFO: Extracted packet for processing {"connection_id":174432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07136"} 
[2026-09-05 16:28:57] local.INFO: GPS Element Parsed {"raw_longitude":745046784,"raw_latitude":140917760,"longitude_deg":74.5046784,"latitude_deg":14.091776,"altitude":13,"angle":2,"satellites":44,"speed":50,"hex_longitude":"2c688300","hex_latitude":"08663c00","is_valid_coordinates":true} 
[2026-09-05 16:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883087360001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1324683878203392,"note":"Value kept but may cause issues"} 
[2026-09-05 16:28:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7530229719268573184,"note":"Value kept but may cause issues"} 
[2026-09-05 16:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788605817000,"timestamp_ms":1788605817000,"timestamp_seconds":1788605817,"priority":1,"record_length":96,"hex_timestamp":"000001a07136e0a8"} 
[2026-09-05 16:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:28:57] 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-09-05 16:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 16:28:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:28:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174432,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174432,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883087360001,"66":27908,"225":206,"9":56064,"24":50,"16":1324683878203392,"44":7530229719268573184},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,9,24,16,44]} 
[2026-09-05 16:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883087360001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:28:57] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:28:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1324683878203392,"km_value":1324683878203.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:28:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":7530229719268573184,"description":"Unknown IO ID 44"} 
[2026-09-05 16:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883087360001,"power":27908,"unknown_225":206,"unknown_9":56064,"ignition":50,"odometer":null,"unknown_44":7530229719268573184}} 
[2026-09-05 16:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":174432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769944,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:28:57] local.INFO: GPS data processed {"connection_id":174432,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:28:57] local.INFO: Acknowledgment sent {"connection_id":174432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:29:00] local.INFO: TCP Data received {"connection_id":172008,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071365020012d1bcd40072904180038006c29..."} 
[2026-09-05 16:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071365020012d1bcd40072904180038006c29..."} 
[2026-09-05 16:29:00] local.INFO: Processing buffer {"connection_id":172008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071365020012d1bcd40072904180038006c29..."} 
[2026-09-05 16:29:00] local.INFO: Packet analysis {"connection_id":172008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07136"} 
[2026-09-05 16:29:00] local.INFO: Extracted packet for processing {"connection_id":172008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07136"} 
[2026-09-05 16:29:00] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883074304001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788605780000,"timestamp_ms":1788605780000,"timestamp_seconds":1788605780,"priority":1,"record_length":96,"hex_timestamp":"000001a071365020"} 
[2026-09-05 16:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-05 16:29:00] 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-09-05 16:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883074304001,"66":12689,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883074304001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:29:00] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:29:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883074304001,"power":12689,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":172008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:29:00] local.INFO: GPS data processed {"connection_id":172008,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:29:00] local.INFO: Acknowledgment sent {"connection_id":172008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:29:01] local.INFO: TCP Data received {"connection_id":174433,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:29:01] local.INFO: Processing buffer {"connection_id":174433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:29:01] local.INFO: IMEI packet received {"connection_id":174433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":174433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:29:02] local.INFO: TCP Data received {"connection_id":174433,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0713784b8012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713784b8012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:29:02] local.INFO: Processing buffer {"connection_id":174433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713784b8012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:29:02] local.INFO: Packet analysis {"connection_id":174433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07137"} 
[2026-09-05 16:29:02] local.INFO: Extracted packet for processing {"connection_id":174433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07137"} 
[2026-09-05 16:29:02] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883022080001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900238789191735296,"note":"Value kept but may cause issues"} 
[2026-09-05 16:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788605859000,"timestamp_ms":1788605859000,"timestamp_seconds":1788605859,"priority":1,"record_length":96,"hex_timestamp":"000001a0713784b8"} 
[2026-09-05 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-09-05 16:29:02] 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-09-05 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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-05 16:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883022080001,"66":26452,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900238789191735296},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883022080001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:29:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:29:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900238789191735296,"description":"Unknown IO ID 45"} 
[2026-09-05 16:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883022080001,"power":26452,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900238789191735296}} 
[2026-09-05 16:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":174433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:29:02] local.INFO: GPS data processed {"connection_id":174433,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:29:02] local.INFO: Acknowledgment sent {"connection_id":174433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:29:33] local.INFO: TCP Data received {"connection_id":174433,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0713784b8012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713784b8012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:29:33] local.INFO: Processing buffer {"connection_id":174433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713784b8012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:29:33] local.INFO: Packet analysis {"connection_id":174433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07137"} 
[2026-09-05 16:29:33] local.INFO: Extracted packet for processing {"connection_id":174433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07137"} 
[2026-09-05 16:29:33] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883022080001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900238789191735296,"note":"Value kept but may cause issues"} 
[2026-09-05 16:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788605859000,"timestamp_ms":1788605859000,"timestamp_seconds":1788605859,"priority":1,"record_length":96,"hex_timestamp":"000001a0713784b8"} 
[2026-09-05 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-09-05 16:29: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-09-05 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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-05 16:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883022080001,"66":26452,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900238789191735296},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883022080001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:29:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:29:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900238789191735296,"description":"Unknown IO ID 45"} 
[2026-09-05 16:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883022080001,"power":26452,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900238789191735296}} 
[2026-09-05 16:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":174433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:29:33] local.INFO: GPS data processed {"connection_id":174433,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:29:33] local.INFO: Acknowledgment sent {"connection_id":174433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:29:44] local.INFO: TCP Data received {"connection_id":174432,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a07136ffe8012c68850008666110001200032a..."} 
[2026-09-05 16:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07136ffe8012c68850008666110001200032a..."} 
[2026-09-05 16:29:44] local.INFO: Processing buffer {"connection_id":174432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07136ffe8012c68850008666110001200032a..."} 
[2026-09-05 16:29:44] local.INFO: Packet analysis {"connection_id":174432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07136"} 
[2026-09-05 16:29:44] local.INFO: Extracted packet for processing {"connection_id":174432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07136"} 
[2026-09-05 16:29:44] local.INFO: GPS Element Parsed {"raw_longitude":745047296,"raw_latitude":140927248,"longitude_deg":74.5047296,"latitude_deg":14.0927248,"altitude":18,"angle":3,"satellites":42,"speed":42,"hex_longitude":"2c688500","hex_latitude":"08666110","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883089152001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1325147734671360,"note":"Value kept but may cause issues"} 
[2026-09-05 16:29:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7530863037968547840,"note":"Value kept but may cause issues"} 
[2026-09-05 16:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788605825000,"timestamp_ms":1788605825000,"timestamp_seconds":1788605825,"priority":1,"record_length":96,"hex_timestamp":"000001a07136ffe8"} 
[2026-09-05 16:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:29: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-09-05 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 16:29:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":174432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":174432,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":174432,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883089152001,"66":28104,"225":206,"9":56064,"24":42,"16":1325147734671360,"44":7530863037968547840},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,9,24,16,44]} 
[2026-09-05 16:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883089152001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:29:44] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:29:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1325147734671360,"km_value":1325147734671.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:29:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":7530863037968547840,"description":"Unknown IO ID 44"} 
[2026-09-05 16:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883089152001,"power":28104,"unknown_225":206,"unknown_9":56064,"ignition":42,"odometer":null,"unknown_44":7530863037968547840}} 
[2026-09-05 16:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":174432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769948,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:29:44] local.INFO: GPS data processed {"connection_id":174432,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:29:44] local.INFO: Acknowledgment sent {"connection_id":174432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:29:45] local.INFO: TCP Data received {"connection_id":173116,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:29:45] local.INFO: Processing buffer {"connection_id":173116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:29:45] local.INFO: IMEI packet received {"connection_id":173116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":173116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:29:45] local.INFO: TCP Data received {"connection_id":173116,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:29:45] local.INFO: Processing buffer {"connection_id":173116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:29:45] local.INFO: IMEI packet received {"connection_id":173116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":173116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:29:46] local.INFO: TCP Data received {"connection_id":173116,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07136a228012d1bcd40072904180038006c29..."} 
[2026-09-05 16:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07136a228012d1bcd40072904180038006c29..."} 
[2026-09-05 16:29:46] local.INFO: Processing buffer {"connection_id":173116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07136a228012d1bcd40072904180038006c29..."} 
[2026-09-05 16:29:46] local.INFO: Packet analysis {"connection_id":173116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07136"} 
[2026-09-05 16:29:46] local.INFO: Extracted packet for processing {"connection_id":173116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07136"} 
[2026-09-05 16:29:46] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883079680001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788605801000,"timestamp_ms":1788605801000,"timestamp_seconds":1788605801,"priority":1,"record_length":96,"hex_timestamp":"000001a07136a228"} 
[2026-09-05 16:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-05 16:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883079680001,"66":12722,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883079680001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:29:46] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:29:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883079680001,"power":12722,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":173116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:29:46] local.INFO: GPS data processed {"connection_id":173116,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:29:46] local.INFO: Acknowledgment sent {"connection_id":173116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:29:56] local.INFO: TCP Data received {"connection_id":171724,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:29:56] local.INFO: Processing buffer {"connection_id":171724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:29:56] local.INFO: IMEI packet received {"connection_id":171724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":171724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:29:57] local.INFO: TCP Data received {"connection_id":173117,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173117,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:29:57] local.INFO: Processing buffer {"connection_id":173117,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:29:57] local.INFO: IMEI packet received {"connection_id":173117,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":173117,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:30:01] local.INFO: TCP Data received {"connection_id":171724,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:30:01] local.INFO: Processing buffer {"connection_id":171724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:30:01] local.INFO: IMEI packet received {"connection_id":171724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":171724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:30:02] local.INFO: TCP Data received {"connection_id":171724,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0713784b8012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713784b8012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:30:02] local.INFO: Processing buffer {"connection_id":171724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713784b8012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:30:02] local.INFO: Packet analysis {"connection_id":171724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07137"} 
[2026-09-05 16:30:02] local.INFO: Extracted packet for processing {"connection_id":171724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07137"} 
[2026-09-05 16:30:02] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883022080001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900238789191735296,"note":"Value kept but may cause issues"} 
[2026-09-05 16:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788605859000,"timestamp_ms":1788605859000,"timestamp_seconds":1788605859,"priority":1,"record_length":96,"hex_timestamp":"000001a0713784b8"} 
[2026-09-05 16:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:30:02] 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-09-05 16:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-05 16:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:30:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883022080001,"66":26452,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900238789191735296},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883022080001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:30:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:30:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900238789191735296,"description":"Unknown IO ID 45"} 
[2026-09-05 16:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883022080001,"power":26452,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900238789191735296}} 
[2026-09-05 16:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":171724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:30:02] local.INFO: GPS data processed {"connection_id":171724,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:30:02] local.INFO: Acknowledgment sent {"connection_id":171724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:30:02] local.INFO: TCP Data received {"connection_id":173117,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173117,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:30:02] local.INFO: Processing buffer {"connection_id":173117,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:30:02] local.INFO: IMEI packet received {"connection_id":173117,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":173117,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:30:03] local.INFO: TCP Data received {"connection_id":173117,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173117,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:30:03] local.INFO: Processing buffer {"connection_id":173117,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:30:03] local.INFO: IMEI packet received {"connection_id":173117,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":173117,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:30:03] local.INFO: TCP Data received {"connection_id":173117,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173117,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:30:03] local.INFO: Processing buffer {"connection_id":173117,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:30:03] local.INFO: IMEI packet received {"connection_id":173117,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":173117,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:30:17] local.INFO: TCP Data received {"connection_id":173116,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07136f430012d1bcd40072904180038006c29..."} 
[2026-09-05 16:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07136f430012d1bcd40072904180038006c29..."} 
[2026-09-05 16:30:17] local.INFO: Processing buffer {"connection_id":173116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07136f430012d1bcd40072904180038006c29..."} 
[2026-09-05 16:30:17] local.INFO: Packet analysis {"connection_id":173116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07136"} 
[2026-09-05 16:30:17] local.INFO: Extracted packet for processing {"connection_id":173116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07136"} 
[2026-09-05 16:30:17] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883085056001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788605822000,"timestamp_ms":1788605822000,"timestamp_seconds":1788605822,"priority":1,"record_length":96,"hex_timestamp":"000001a07136f430"} 
[2026-09-05 16:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 16:30:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883085056001,"66":12711,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883085056001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:30:17] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:30:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883085056001,"power":12711,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":173116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:30:17] local.INFO: GPS data processed {"connection_id":173116,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:30:17] local.INFO: Acknowledgment sent {"connection_id":173116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:30:33] local.INFO: TCP Data received {"connection_id":171724,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0713784b8012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713784b8012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:30:33] local.INFO: Processing buffer {"connection_id":171724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713784b8012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:30:33] local.INFO: Packet analysis {"connection_id":171724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07137"} 
[2026-09-05 16:30:33] local.INFO: Extracted packet for processing {"connection_id":171724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07137"} 
[2026-09-05 16:30:33] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883022080001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900238789191735296,"note":"Value kept but may cause issues"} 
[2026-09-05 16:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788605859000,"timestamp_ms":1788605859000,"timestamp_seconds":1788605859,"priority":1,"record_length":96,"hex_timestamp":"000001a0713784b8"} 
[2026-09-05 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-09-05 16:30: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-09-05 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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-05 16:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883022080001,"66":26452,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900238789191735296},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883022080001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:30:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:30:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900238789191735296,"description":"Unknown IO ID 45"} 
[2026-09-05 16:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883022080001,"power":26452,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900238789191735296}} 
[2026-09-05 16:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":171724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:30:33] local.INFO: GPS data processed {"connection_id":171724,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:30:33] local.INFO: Acknowledgment sent {"connection_id":171724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:30:45] local.INFO: TCP Data received {"connection_id":174434,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:30:45] local.INFO: Processing buffer {"connection_id":174434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:30:45] local.INFO: IMEI packet received {"connection_id":174434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":174434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:30:49] local.INFO: TCP Data received {"connection_id":174434,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:30:49] local.INFO: Processing buffer {"connection_id":174434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:30:49] local.INFO: IMEI packet received {"connection_id":174434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":174434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:30:49] local.INFO: TCP Data received {"connection_id":174434,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071374250012d1bcd40072904180038006c25..."} 
[2026-09-05 16:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071374250012d1bcd40072904180038006c25..."} 
[2026-09-05 16:30:49] local.INFO: Processing buffer {"connection_id":174434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071374250012d1bcd40072904180038006c25..."} 
[2026-09-05 16:30:49] local.INFO: Packet analysis {"connection_id":174434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07137"} 
[2026-09-05 16:30:49] local.INFO: Extracted packet for processing {"connection_id":174434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07137"} 
[2026-09-05 16:30:49] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883090432001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788605842000,"timestamp_ms":1788605842000,"timestamp_seconds":1788605842,"priority":1,"record_length":96,"hex_timestamp":"000001a071374250"} 
[2026-09-05 16:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-05 16:30:49] 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-09-05 16:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883090432001,"66":12711,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883090432001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:30:49] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:30:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883090432001,"power":12711,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":174434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:30:50] local.INFO: GPS data processed {"connection_id":174434,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:30:50] local.INFO: Acknowledgment sent {"connection_id":174434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:30:56] local.INFO: TCP Data received {"connection_id":171725,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:30:56] local.INFO: Processing buffer {"connection_id":171725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:30:56] local.INFO: IMEI packet received {"connection_id":171725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":171725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:31:01] local.INFO: TCP Data received {"connection_id":171725,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:31:01] local.INFO: Processing buffer {"connection_id":171725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:31:01] local.INFO: IMEI packet received {"connection_id":171725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":171725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:31:02] local.INFO: TCP Data received {"connection_id":171725,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0713784b8012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713784b8012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:31:02] local.INFO: Processing buffer {"connection_id":171725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713784b8012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:31:02] local.INFO: Packet analysis {"connection_id":171725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07137"} 
[2026-09-05 16:31:02] local.INFO: Extracted packet for processing {"connection_id":171725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07137"} 
[2026-09-05 16:31:02] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883022080001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900238789191735296,"note":"Value kept but may cause issues"} 
[2026-09-05 16:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788605859000,"timestamp_ms":1788605859000,"timestamp_seconds":1788605859,"priority":1,"record_length":96,"hex_timestamp":"000001a0713784b8"} 
[2026-09-05 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-09-05 16:31:02] 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-09-05 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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-05 16:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883022080001,"66":26452,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900238789191735296},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883022080001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:31:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:31:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900238789191735296,"description":"Unknown IO ID 45"} 
[2026-09-05 16:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883022080001,"power":26452,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900238789191735296}} 
[2026-09-05 16:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":171725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:31:02] local.INFO: GPS data processed {"connection_id":171725,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:31:02] local.INFO: Acknowledgment sent {"connection_id":171725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:31:05] local.INFO: TCP Data received {"connection_id":173118,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173118,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:31:05] local.INFO: Processing buffer {"connection_id":173118,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:31:05] local.INFO: IMEI packet received {"connection_id":173118,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 16:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":173118,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:31:14] local.INFO: TCP Data received {"connection_id":173118,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173118,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:31:14] local.INFO: Processing buffer {"connection_id":173118,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:31:14] local.INFO: IMEI packet received {"connection_id":173118,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":173118,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:31:14] local.INFO: TCP Data received {"connection_id":173118,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07135daf0012d7a320005daa530000901132b..."} 
[2026-09-05 16:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07135daf0012d7a320005daa530000901132b..."} 
[2026-09-05 16:31:14] local.INFO: Processing buffer {"connection_id":173118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07135daf0012d7a320005daa530000901132b..."} 
[2026-09-05 16:31:14] local.INFO: Packet analysis {"connection_id":173118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07135"} 
[2026-09-05 16:31:14] local.INFO: Extracted packet for processing {"connection_id":173118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07135"} 
[2026-09-05 16:31:14] local.INFO: GPS Element Parsed {"raw_longitude":762982912,"raw_latitude":98215216,"longitude_deg":76.2982912,"latitude_deg":9.8215216,"altitude":9,"angle":275,"satellites":43,"speed":2,"hex_longitude":"2d7a3200","hex_latitude":"05daa530","is_valid_coordinates":true} 
[2026-09-05 16:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883066880001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128601190677086208,"note":"Value kept but may cause issues"} 
[2026-09-05 16:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805100246605889536,"note":"Value kept but may cause issues"} 
[2026-09-05 16:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788605750000,"timestamp_ms":1788605750000,"timestamp_seconds":1788605750,"priority":1,"record_length":96,"hex_timestamp":"000001a07135daf0"} 
[2026-09-05 16:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:31:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 16:31:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:31:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":173118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":173118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":173118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883066880001,"66":13928,"229":206,"85":15104,"24":2,"16":128601190677086208,"45":8805100246605889536},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 16:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883066880001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:31:14] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 16:31:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128601190677086208,"km_value":128601190677086.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805100246605889536,"description":"Unknown IO ID 45"} 
[2026-09-05 16:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883066880001,"power":13928,"unknown_229":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8805100246605889536}} 
[2026-09-05 16:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":173118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769955,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:31:15] local.INFO: GPS data processed {"connection_id":173118,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:31:15] local.INFO: Acknowledgment sent {"connection_id":173118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:31:15] local.INFO: TCP Data received {"connection_id":173118,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0713605e8012d7a31c005daa1e8000801132b..."} 
[2026-09-05 16:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713605e8012d7a31c005daa1e8000801132b..."} 
[2026-09-05 16:31:15] local.INFO: Processing buffer {"connection_id":173118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713605e8012d7a31c005daa1e8000801132b..."} 
[2026-09-05 16:31:15] local.INFO: Packet analysis {"connection_id":173118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07136"} 
[2026-09-05 16:31:15] local.INFO: Extracted packet for processing {"connection_id":173118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07136"} 
[2026-09-05 16:31:15] local.INFO: GPS Element Parsed {"raw_longitude":762982848,"raw_latitude":98214376,"longitude_deg":76.2982848,"latitude_deg":9.8214376,"altitude":8,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d7a31c0","hex_latitude":"05daa1e8","is_valid_coordinates":true} 
[2026-09-05 16:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883072000001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128601233626759168,"note":"Value kept but may cause issues"} 
[2026-09-05 16:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805100246605836288,"note":"Value kept but may cause issues"} 
[2026-09-05 16:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788605761000,"timestamp_ms":1788605761000,"timestamp_seconds":1788605761,"priority":1,"record_length":96,"hex_timestamp":"000001a0713605e8"} 
[2026-09-05 16:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-05 16:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883072000001,"66":13798,"229":206,"85":15104,"24":0,"16":128601233626759168,"45":8805100246605836288},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 16:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883072000001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:31:15] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 16:31:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128601233626759168,"km_value":128601233626759.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805100246605836288,"description":"Unknown IO ID 45"} 
[2026-09-05 16:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883072000001,"power":13798,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805100246605836288}} 
[2026-09-05 16:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":173118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:31:15] local.INFO: GPS data processed {"connection_id":173118,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:31:15] local.INFO: Acknowledgment sent {"connection_id":173118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:31:20] local.INFO: TCP Data received {"connection_id":174434,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071379458012d1bcd40072904180038006c28..."} 
[2026-09-05 16:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071379458012d1bcd40072904180038006c28..."} 
[2026-09-05 16:31:20] local.INFO: Processing buffer {"connection_id":174434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071379458012d1bcd40072904180038006c28..."} 
[2026-09-05 16:31:20] local.INFO: Packet analysis {"connection_id":174434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07137"} 
[2026-09-05 16:31:20] local.INFO: Extracted packet for processing {"connection_id":174434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07137"} 
[2026-09-05 16:31:20] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883095552001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788605863000,"timestamp_ms":1788605863000,"timestamp_seconds":1788605863,"priority":1,"record_length":96,"hex_timestamp":"000001a071379458"} 
[2026-09-05 16:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-05 16:31: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-09-05 16:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883095552001,"66":12711,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883095552001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:31:20] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:31:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883095552001,"power":12711,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":174434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:31:20] local.INFO: GPS data processed {"connection_id":174434,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:31:20] local.INFO: Acknowledgment sent {"connection_id":174434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:31:33] local.INFO: TCP Data received {"connection_id":171725,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0713784b8012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713784b8012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:31:33] local.INFO: Processing buffer {"connection_id":171725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713784b8012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:31:33] local.INFO: Packet analysis {"connection_id":171725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07137"} 
[2026-09-05 16:31:33] local.INFO: Extracted packet for processing {"connection_id":171725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07137"} 
[2026-09-05 16:31:33] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883022080001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900238789191735296,"note":"Value kept but may cause issues"} 
[2026-09-05 16:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788605859000,"timestamp_ms":1788605859000,"timestamp_seconds":1788605859,"priority":1,"record_length":96,"hex_timestamp":"000001a0713784b8"} 
[2026-09-05 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-09-05 16:31: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-09-05 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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-05 16:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883022080001,"66":26452,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900238789191735296},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883022080001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:31:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:31:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900238789191735296,"description":"Unknown IO ID 45"} 
[2026-09-05 16:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883022080001,"power":26452,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900238789191735296}} 
[2026-09-05 16:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":171725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:31:33] local.INFO: GPS data processed {"connection_id":171725,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:31:33] local.INFO: Acknowledgment sent {"connection_id":171725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:31:45] local.INFO: TCP Data received {"connection_id":172009,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:31:45] local.INFO: Processing buffer {"connection_id":172009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:31:45] local.INFO: IMEI packet received {"connection_id":172009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":172009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:31:50] local.INFO: TCP Data received {"connection_id":172009,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:31:50] local.INFO: Processing buffer {"connection_id":172009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:31:50] local.INFO: IMEI packet received {"connection_id":172009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":172009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:31:50] local.INFO: TCP Data received {"connection_id":172009,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07137e660012d1bcd40072904180038006c27..."} 
[2026-09-05 16:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07137e660012d1bcd40072904180038006c27..."} 
[2026-09-05 16:31:50] local.INFO: Processing buffer {"connection_id":172009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07137e660012d1bcd40072904180038006c27..."} 
[2026-09-05 16:31:50] local.INFO: Packet analysis {"connection_id":172009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07137"} 
[2026-09-05 16:31:50] local.INFO: Extracted packet for processing {"connection_id":172009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07137"} 
[2026-09-05 16:31:50] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883100928001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:31:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788605884000,"timestamp_ms":1788605884000,"timestamp_seconds":1788605884,"priority":1,"record_length":96,"hex_timestamp":"000001a07137e660"} 
[2026-09-05 16:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-05 16:31:50] 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-09-05 16:31:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:31:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883100928001,"66":12689,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883100928001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:31:50] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:31:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:31:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883100928001,"power":12689,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":172009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:31:50] local.INFO: GPS data processed {"connection_id":172009,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:31:50] local.INFO: Acknowledgment sent {"connection_id":172009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:31:55] local.INFO: TCP Data received {"connection_id":174435,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:31:55] local.INFO: Processing buffer {"connection_id":174435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:31:55] local.INFO: IMEI packet received {"connection_id":174435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 16:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":174435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:31:56] local.INFO: TCP Data received {"connection_id":174436,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:31:56] local.INFO: Processing buffer {"connection_id":174436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:31:56] local.INFO: IMEI packet received {"connection_id":174436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":174436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:32:00] local.INFO: TCP Data received {"connection_id":174435,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:32:00] local.INFO: Processing buffer {"connection_id":174435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:32:00] local.INFO: IMEI packet received {"connection_id":174435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":174435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:32:01] local.INFO: TCP Data received {"connection_id":174435,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0713605e8012d7a31c005daa1e8000801132b..."} 
[2026-09-05 16:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713605e8012d7a31c005daa1e8000801132b..."} 
[2026-09-05 16:32:01] local.INFO: Processing buffer {"connection_id":174435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713605e8012d7a31c005daa1e8000801132b..."} 
[2026-09-05 16:32:01] local.INFO: Packet analysis {"connection_id":174435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07136"} 
[2026-09-05 16:32:01] local.INFO: Extracted packet for processing {"connection_id":174435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07136"} 
[2026-09-05 16:32:01] local.INFO: GPS Element Parsed {"raw_longitude":762982848,"raw_latitude":98214376,"longitude_deg":76.2982848,"latitude_deg":9.8214376,"altitude":8,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d7a31c0","hex_latitude":"05daa1e8","is_valid_coordinates":true} 
[2026-09-05 16:32:01] 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-09-05 16:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883074816001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128601233626759168,"note":"Value kept but may cause issues"} 
[2026-09-05 16:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805029877861443584,"note":"Value kept but may cause issues"} 
[2026-09-05 16:32:01] 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-09-05 16:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788605761000,"timestamp_ms":1788605761000,"timestamp_seconds":1788605761,"priority":1,"record_length":96,"hex_timestamp":"000001a0713605e8"} 
[2026-09-05 16:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 16: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 16:32:01] 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-09-05 16: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-09-05 16:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:32:01] 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-09-05 16:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883074816001,"66":13798,"229":206,"85":15104,"24":0,"16":128601233626759168,"45":8805029877861443584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 16:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883074816001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:32:01] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 16:32:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128601233626759168,"km_value":128601233626759.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805029877861443584,"description":"Unknown IO ID 45"} 
[2026-09-05 16:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883074816001,"power":13798,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805029877861443584}} 
[2026-09-05 16:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":174435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769960,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:32:01] local.INFO: GPS data processed {"connection_id":174435,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:32:01] local.INFO: Acknowledgment sent {"connection_id":174435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:32:01] local.INFO: TCP Data received {"connection_id":174436,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:32:01] local.INFO: Processing buffer {"connection_id":174436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:32:01] local.INFO: IMEI packet received {"connection_id":174436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":174436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:32:02] local.INFO: TCP Data received {"connection_id":174436,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0713784b8012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713784b8012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:32:02] local.INFO: Processing buffer {"connection_id":174436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713784b8012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:32:02] local.INFO: Packet analysis {"connection_id":174436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07137"} 
[2026-09-05 16:32:02] local.INFO: Extracted packet for processing {"connection_id":174436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07137"} 
[2026-09-05 16:32:02] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883022080001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900238789191735296,"note":"Value kept but may cause issues"} 
[2026-09-05 16:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788605859000,"timestamp_ms":1788605859000,"timestamp_seconds":1788605859,"priority":1,"record_length":96,"hex_timestamp":"000001a0713784b8"} 
[2026-09-05 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-09-05 16:32:02] 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-09-05 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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-05 16:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883022080001,"66":26452,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900238789191735296},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883022080001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:32:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:32:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900238789191735296,"description":"Unknown IO ID 45"} 
[2026-09-05 16:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883022080001,"power":26452,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900238789191735296}} 
[2026-09-05 16:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":174436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:32:02] local.INFO: GPS data processed {"connection_id":174436,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:32:02] local.INFO: Acknowledgment sent {"connection_id":174436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:32:21] local.INFO: TCP Data received {"connection_id":172009,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071383868012d1bcd40072904180038006c29..."} 
[2026-09-05 16:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071383868012d1bcd40072904180038006c29..."} 
[2026-09-05 16:32:21] local.INFO: Processing buffer {"connection_id":172009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071383868012d1bcd40072904180038006c29..."} 
[2026-09-05 16:32:21] local.INFO: Packet analysis {"connection_id":172009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07138"} 
[2026-09-05 16:32:21] local.INFO: Extracted packet for processing {"connection_id":172009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07138"} 
[2026-09-05 16:32:21] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883106304001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788605905000,"timestamp_ms":1788605905000,"timestamp_seconds":1788605905,"priority":1,"record_length":96,"hex_timestamp":"000001a071383868"} 
[2026-09-05 16:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-05 16:32:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883106304001,"66":12667,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883106304001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:32:21] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:32:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883106304001,"power":12667,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":172009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:32:21] local.INFO: GPS data processed {"connection_id":172009,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:32:21] local.INFO: Acknowledgment sent {"connection_id":172009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:32:31] local.INFO: TCP Data received {"connection_id":174435,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a071360db8012d7a31c005daa1e8000801132b..."} 
[2026-09-05 16:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071360db8012d7a31c005daa1e8000801132b..."} 
[2026-09-05 16:32:31] local.INFO: Processing buffer {"connection_id":174435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071360db8012d7a31c005daa1e8000801132b..."} 
[2026-09-05 16:32:31] local.INFO: Packet analysis {"connection_id":174435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07136"} 
[2026-09-05 16:32:31] local.INFO: Extracted packet for processing {"connection_id":174435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07136"} 
[2026-09-05 16:32:31] local.INFO: GPS Element Parsed {"raw_longitude":762982848,"raw_latitude":98214376,"longitude_deg":76.2982848,"latitude_deg":9.8214376,"altitude":8,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d7a31c0","hex_latitude":"05daa1e8","is_valid_coordinates":true} 
[2026-09-05 16:32:31] 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-09-05 16:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883074816001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128601233626759168,"note":"Value kept but may cause issues"} 
[2026-09-05 16:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805029877861443584,"note":"Value kept but may cause issues"} 
[2026-09-05 16:32:31] 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-09-05 16:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788605763000,"timestamp_ms":1788605763000,"timestamp_seconds":1788605763,"priority":1,"record_length":96,"hex_timestamp":"000001a071360db8"} 
[2026-09-05 16:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 16: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 16:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:32: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-09-05 16:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883074816001,"66":13906,"229":206,"85":15104,"24":0,"16":128601233626759168,"45":8805029877861443584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 16:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883074816001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:32:31] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 16:32:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128601233626759168,"km_value":128601233626759.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805029877861443584,"description":"Unknown IO ID 45"} 
[2026-09-05 16:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883074816001,"power":13906,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805029877861443584}} 
[2026-09-05 16:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":174435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769963,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:32:31] local.INFO: GPS data processed {"connection_id":174435,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:32:31] local.INFO: Acknowledgment sent {"connection_id":174435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:32:33] local.INFO: TCP Data received {"connection_id":174436,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0713784b8012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713784b8012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:32:33] local.INFO: Processing buffer {"connection_id":174436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713784b8012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:32:33] local.INFO: Packet analysis {"connection_id":174436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07137"} 
[2026-09-05 16:32:33] local.INFO: Extracted packet for processing {"connection_id":174436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07137"} 
[2026-09-05 16:32:33] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883022080001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900238789191735296,"note":"Value kept but may cause issues"} 
[2026-09-05 16:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788605859000,"timestamp_ms":1788605859000,"timestamp_seconds":1788605859,"priority":1,"record_length":96,"hex_timestamp":"000001a0713784b8"} 
[2026-09-05 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-09-05 16:32: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-09-05 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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-05 16:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883022080001,"66":26452,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900238789191735296},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883022080001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:32:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:32:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900238789191735296,"description":"Unknown IO ID 45"} 
[2026-09-05 16:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883022080001,"power":26452,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900238789191735296}} 
[2026-09-05 16:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":174436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:32:33] local.INFO: GPS data processed {"connection_id":174436,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:32:33] local.INFO: Acknowledgment sent {"connection_id":174436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:32:45] local.INFO: TCP Data received {"connection_id":173119,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:32:45] local.INFO: Processing buffer {"connection_id":173119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:32:45] local.INFO: IMEI packet received {"connection_id":173119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":173119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:32:50] local.INFO: TCP Data received {"connection_id":173119,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:32:50] local.INFO: Processing buffer {"connection_id":173119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:32:50] local.INFO: IMEI packet received {"connection_id":173119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":173119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:32:50] local.INFO: TCP Data received {"connection_id":173119,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071388a70012d1bcd40072904180038006c28..."} 
[2026-09-05 16:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071388a70012d1bcd40072904180038006c28..."} 
[2026-09-05 16:32:50] local.INFO: Processing buffer {"connection_id":173119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071388a70012d1bcd40072904180038006c28..."} 
[2026-09-05 16:32:50] local.INFO: Packet analysis {"connection_id":173119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07138"} 
[2026-09-05 16:32:50] local.INFO: Extracted packet for processing {"connection_id":173119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07138"} 
[2026-09-05 16:32:50] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883111680001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788605926000,"timestamp_ms":1788605926000,"timestamp_seconds":1788605926,"priority":1,"record_length":96,"hex_timestamp":"000001a071388a70"} 
[2026-09-05 16:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:32: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-09-05 16:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-05 16:32:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:32:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883111680001,"66":12667,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883111680001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:32:50] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:32:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883111680001,"power":12667,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":173119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:32:50] local.INFO: GPS data processed {"connection_id":173119,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:32:50] local.INFO: Acknowledgment sent {"connection_id":173119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:32:56] local.INFO: TCP Data received {"connection_id":173120,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173120,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:32:56] local.INFO: Processing buffer {"connection_id":173120,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:32:56] local.INFO: IMEI packet received {"connection_id":173120,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 16:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":173120,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:32:56] local.INFO: TCP Data received {"connection_id":173121,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:32:56] local.INFO: Processing buffer {"connection_id":173121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:32:56] local.INFO: IMEI packet received {"connection_id":173121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":173121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:33:00] local.INFO: TCP Data received {"connection_id":173120,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173120,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:33:00] local.INFO: Processing buffer {"connection_id":173120,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:33:00] local.INFO: IMEI packet received {"connection_id":173120,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":173120,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:33:01] local.INFO: TCP Data received {"connection_id":173120,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a071360db8012d7a31c005daa1e8000801132b..."} 
[2026-09-05 16:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071360db8012d7a31c005daa1e8000801132b..."} 
[2026-09-05 16:33:01] local.INFO: Processing buffer {"connection_id":173120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071360db8012d7a31c005daa1e8000801132b..."} 
[2026-09-05 16:33:01] local.INFO: Packet analysis {"connection_id":173120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07136"} 
[2026-09-05 16:33:01] local.INFO: Extracted packet for processing {"connection_id":173120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07136"} 
[2026-09-05 16:33:01] local.INFO: GPS Element Parsed {"raw_longitude":762982848,"raw_latitude":98214376,"longitude_deg":76.2982848,"latitude_deg":9.8214376,"altitude":8,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d7a31c0","hex_latitude":"05daa1e8","is_valid_coordinates":true} 
[2026-09-05 16:33:01] 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-09-05 16:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883075328001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128601233626759168,"note":"Value kept but may cause issues"} 
[2026-09-05 16:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805029877861443584,"note":"Value kept but may cause issues"} 
[2026-09-05 16:33:01] 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-09-05 16:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788605763000,"timestamp_ms":1788605763000,"timestamp_seconds":1788605763,"priority":1,"record_length":96,"hex_timestamp":"000001a071360db8"} 
[2026-09-05 16:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 16:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-05 16:33:01] 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-09-05 16:33:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:33:01] 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-09-05 16:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883075328001,"66":13906,"229":206,"85":15104,"24":0,"16":128601233626759168,"45":8805029877861443584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 16:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883075328001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:33:01] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 16:33:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128601233626759168,"km_value":128601233626759.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805029877861443584,"description":"Unknown IO ID 45"} 
[2026-09-05 16:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883075328001,"power":13906,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805029877861443584}} 
[2026-09-05 16:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":173120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769966,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:33:01] local.INFO: GPS data processed {"connection_id":173120,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:33:01] local.INFO: Acknowledgment sent {"connection_id":173120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:33:01] local.INFO: TCP Data received {"connection_id":173121,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:33:01] local.INFO: Processing buffer {"connection_id":173121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:33:01] local.INFO: IMEI packet received {"connection_id":173121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":173121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:33:02] local.INFO: TCP Data received {"connection_id":173121,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0713784b8012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713784b8012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:33:02] local.INFO: Processing buffer {"connection_id":173121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713784b8012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:33:02] local.INFO: Packet analysis {"connection_id":173121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07137"} 
[2026-09-05 16:33:02] local.INFO: Extracted packet for processing {"connection_id":173121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07137"} 
[2026-09-05 16:33:02] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883022080001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900238789191735296,"note":"Value kept but may cause issues"} 
[2026-09-05 16:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788605859000,"timestamp_ms":1788605859000,"timestamp_seconds":1788605859,"priority":1,"record_length":96,"hex_timestamp":"000001a0713784b8"} 
[2026-09-05 16:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:33:02] 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-09-05 16:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-05 16:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883022080001,"66":26452,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900238789191735296},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883022080001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:33:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:33:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900238789191735296,"description":"Unknown IO ID 45"} 
[2026-09-05 16:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883022080001,"power":26452,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900238789191735296}} 
[2026-09-05 16:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":173121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:33:02] local.INFO: GPS data processed {"connection_id":173121,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:33:02] local.INFO: Acknowledgment sent {"connection_id":173121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:33:21] local.INFO: TCP Data received {"connection_id":173119,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07138dc78012d1bcd40072904180038006c2a..."} 
[2026-09-05 16:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07138dc78012d1bcd40072904180038006c2a..."} 
[2026-09-05 16:33:21] local.INFO: Processing buffer {"connection_id":173119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07138dc78012d1bcd40072904180038006c2a..."} 
[2026-09-05 16:33:21] local.INFO: Packet analysis {"connection_id":173119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07138"} 
[2026-09-05 16:33:21] local.INFO: Extracted packet for processing {"connection_id":173119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07138"} 
[2026-09-05 16:33:21] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883117056001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788605947000,"timestamp_ms":1788605947000,"timestamp_seconds":1788605947,"priority":1,"record_length":96,"hex_timestamp":"000001a07138dc78"} 
[2026-09-05 16:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-05 16:33:21] 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-09-05 16:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883117056001,"66":12493,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883117056001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:33:21] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:33:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883117056001,"power":12493,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":173119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:33:21] local.INFO: GPS data processed {"connection_id":173119,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:33:21] local.INFO: Acknowledgment sent {"connection_id":173119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:33:32] local.INFO: TCP Data received {"connection_id":173120,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a071360db8012d7a31c005daa1e8000801132b..."} 
[2026-09-05 16:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071360db8012d7a31c005daa1e8000801132b..."} 
[2026-09-05 16:33:32] local.INFO: Processing buffer {"connection_id":173120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071360db8012d7a31c005daa1e8000801132b..."} 
[2026-09-05 16:33:32] local.INFO: Packet analysis {"connection_id":173120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07136"} 
[2026-09-05 16:33:32] local.INFO: Extracted packet for processing {"connection_id":173120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07136"} 
[2026-09-05 16:33:32] local.INFO: GPS Element Parsed {"raw_longitude":762982848,"raw_latitude":98214376,"longitude_deg":76.2982848,"latitude_deg":9.8214376,"altitude":8,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d7a31c0","hex_latitude":"05daa1e8","is_valid_coordinates":true} 
[2026-09-05 16:33: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-09-05 16:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883075328001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128601233626759168,"note":"Value kept but may cause issues"} 
[2026-09-05 16:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805029877861443584,"note":"Value kept but may cause issues"} 
[2026-09-05 16:33:32] 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-09-05 16:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788605763000,"timestamp_ms":1788605763000,"timestamp_seconds":1788605763,"priority":1,"record_length":96,"hex_timestamp":"000001a071360db8"} 
[2026-09-05 16:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:33: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-09-05 16: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-05 16:33:32] 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-09-05 16: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-09-05 16:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:33:32] 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-09-05 16:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883075328001,"66":13906,"229":206,"85":15104,"24":0,"16":128601233626759168,"45":8805029877861443584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 16:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883075328001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:33:32] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 16:33:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128601233626759168,"km_value":128601233626759.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805029877861443584,"description":"Unknown IO ID 45"} 
[2026-09-05 16:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883075328001,"power":13906,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805029877861443584}} 
[2026-09-05 16:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":173120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769969,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:33:32] local.INFO: GPS data processed {"connection_id":173120,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:33:32] local.INFO: Acknowledgment sent {"connection_id":173120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:33:34] local.INFO: TCP Data received {"connection_id":173121,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0713c1c80012d7b834005f5f000000400b22b..."} 
[2026-09-05 16:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713c1c80012d7b834005f5f000000400b22b..."} 
[2026-09-05 16:33:34] local.INFO: Processing buffer {"connection_id":173121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713c1c80012d7b834005f5f000000400b22b..."} 
[2026-09-05 16:33:34] local.INFO: Packet analysis {"connection_id":173121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0713c"} 
[2026-09-05 16:33:34] local.INFO: Extracted packet for processing {"connection_id":173121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0713c"} 
[2026-09-05 16:33:34] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883099904001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788606160000,"timestamp_ms":1788606160000,"timestamp_seconds":1788606160,"priority":1,"record_length":96,"hex_timestamp":"000001a0713c1c80"} 
[2026-09-05 16:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:33: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-09-05 16: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-05 16:33:34] 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-09-05 16: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-09-05 16:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883099904001,"66":26180,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883099904001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:33:34] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:33:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883099904001,"power":26180,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":173121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:33:34] local.INFO: GPS data processed {"connection_id":173121,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:33:34] local.INFO: Acknowledgment sent {"connection_id":173121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:33:44] local.INFO: TCP Data received {"connection_id":174438,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:33:44] local.INFO: Processing buffer {"connection_id":174438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:33:44] local.INFO: IMEI packet received {"connection_id":174438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":174438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:33:50] local.INFO: TCP Data received {"connection_id":174438,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:33:50] local.INFO: Processing buffer {"connection_id":174438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:33:50] local.INFO: IMEI packet received {"connection_id":174438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":174438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:33:50] local.INFO: TCP Data received {"connection_id":174438,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071392e80012d1bcd40072904180038006c27..."} 
[2026-09-05 16:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071392e80012d1bcd40072904180038006c27..."} 
[2026-09-05 16:33:50] local.INFO: Processing buffer {"connection_id":174438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071392e80012d1bcd40072904180038006c27..."} 
[2026-09-05 16:33:50] local.INFO: Packet analysis {"connection_id":174438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07139"} 
[2026-09-05 16:33:50] local.INFO: Extracted packet for processing {"connection_id":174438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07139"} 
[2026-09-05 16:33:50] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883122432001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788605968000,"timestamp_ms":1788605968000,"timestamp_seconds":1788605968,"priority":1,"record_length":96,"hex_timestamp":"000001a071392e80"} 
[2026-09-05 16:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:33: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-09-05 16:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 16:33:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2283,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:33:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883122432001,"66":12667,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883122432001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:33:50] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:33:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883122432001,"power":12667,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":174438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:33:50] local.INFO: GPS data processed {"connection_id":174438,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:33:50] local.INFO: Acknowledgment sent {"connection_id":174438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:33:54] local.INFO: TCP Data received {"connection_id":172012,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172012,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:33:54] local.INFO: Processing buffer {"connection_id":172012,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:33:54] local.INFO: IMEI packet received {"connection_id":172012,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 16:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":172012,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:34:00] local.INFO: TCP Data received {"connection_id":172012,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172012,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:34:00] local.INFO: Processing buffer {"connection_id":172012,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:34:00] local.INFO: IMEI packet received {"connection_id":172012,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":172012,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:34:00] local.INFO: TCP Data received {"connection_id":172012,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a071360db8012d7a31c005daa1e8000801132b..."} 
[2026-09-05 16:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071360db8012d7a31c005daa1e8000801132b..."} 
[2026-09-05 16:34:00] local.INFO: Processing buffer {"connection_id":172012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071360db8012d7a31c005daa1e8000801132b..."} 
[2026-09-05 16:34:00] local.INFO: Packet analysis {"connection_id":172012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07136"} 
[2026-09-05 16:34:00] local.INFO: Extracted packet for processing {"connection_id":172012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07136"} 
[2026-09-05 16:34:00] local.INFO: GPS Element Parsed {"raw_longitude":762982848,"raw_latitude":98214376,"longitude_deg":76.2982848,"latitude_deg":9.8214376,"altitude":8,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d7a31c0","hex_latitude":"05daa1e8","is_valid_coordinates":true} 
[2026-09-05 16:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883075328001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128601233626759168,"note":"Value kept but may cause issues"} 
[2026-09-05 16:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805029877861443584,"note":"Value kept but may cause issues"} 
[2026-09-05 16:34:00] 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-09-05 16:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788605763000,"timestamp_ms":1788605763000,"timestamp_seconds":1788605763,"priority":1,"record_length":96,"hex_timestamp":"000001a071360db8"} 
[2026-09-05 16:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 16:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-05 16:34:00] 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-09-05 16:34:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:34:00] 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-09-05 16:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883075328001,"66":13906,"229":206,"85":15104,"24":0,"16":128601233626759168,"45":8805029877861443584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 16:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883075328001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:34:00] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 16:34:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128601233626759168,"km_value":128601233626759.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805029877861443584,"description":"Unknown IO ID 45"} 
[2026-09-05 16:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883075328001,"power":13906,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805029877861443584}} 
[2026-09-05 16:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":172012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769972,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:34:01] local.INFO: GPS data processed {"connection_id":172012,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:34:01] local.INFO: Acknowledgment sent {"connection_id":172012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:34:01] local.INFO: TCP Data received {"connection_id":171727,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:34:01] local.INFO: Processing buffer {"connection_id":171727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:34:01] local.INFO: IMEI packet received {"connection_id":171727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":171727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:34:06] local.INFO: TCP Data received {"connection_id":171727,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:34:06] local.INFO: Processing buffer {"connection_id":171727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:34:06] local.INFO: IMEI packet received {"connection_id":171727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":171727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:34:07] local.INFO: TCP Data received {"connection_id":171727,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0713c1c80012d7b834005f5f000000400b22b..."} 
[2026-09-05 16:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713c1c80012d7b834005f5f000000400b22b..."} 
[2026-09-05 16:34:07] local.INFO: Processing buffer {"connection_id":171727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713c1c80012d7b834005f5f000000400b22b..."} 
[2026-09-05 16:34:07] local.INFO: Packet analysis {"connection_id":171727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0713c"} 
[2026-09-05 16:34:07] local.INFO: Extracted packet for processing {"connection_id":171727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0713c"} 
[2026-09-05 16:34:07] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883099904001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788606160000,"timestamp_ms":1788606160000,"timestamp_seconds":1788606160,"priority":1,"record_length":96,"hex_timestamp":"000001a0713c1c80"} 
[2026-09-05 16:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:34: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-09-05 16: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-05 16:34:07] 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-09-05 16: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-09-05 16:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883099904001,"66":26180,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883099904001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:34:07] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:34:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883099904001,"power":26180,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":171727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:34:07] local.INFO: GPS data processed {"connection_id":171727,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:34:07] local.INFO: Acknowledgment sent {"connection_id":171727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:34:11] local.INFO: TCP Data received {"connection_id":171727,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0713c1c80012d7b834005f5f000000400b22b..."} 
[2026-09-05 16:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713c1c80012d7b834005f5f000000400b22b..."} 
[2026-09-05 16:34:11] local.INFO: Processing buffer {"connection_id":171727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713c1c80012d7b834005f5f000000400b22b..."} 
[2026-09-05 16:34:11] local.INFO: Packet analysis {"connection_id":171727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0713c"} 
[2026-09-05 16:34:11] local.INFO: Extracted packet for processing {"connection_id":171727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0713c"} 
[2026-09-05 16:34:11] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883099904001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788606160000,"timestamp_ms":1788606160000,"timestamp_seconds":1788606160,"priority":1,"record_length":96,"hex_timestamp":"000001a0713c1c80"} 
[2026-09-05 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-09-05 16:34: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-09-05 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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-05 16:34: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-09-05 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-09-05 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-09-05 16:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883099904001,"66":26180,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883099904001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:34:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:34:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883099904001,"power":26180,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":171727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:34:11] local.INFO: GPS data processed {"connection_id":171727,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:34:11] local.INFO: Acknowledgment sent {"connection_id":171727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:34:21] local.INFO: TCP Data received {"connection_id":174438,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071398088012d1bcd40072904180038006c29..."} 
[2026-09-05 16:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071398088012d1bcd40072904180038006c29..."} 
[2026-09-05 16:34:21] local.INFO: Processing buffer {"connection_id":174438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071398088012d1bcd40072904180038006c29..."} 
[2026-09-05 16:34:21] local.INFO: Packet analysis {"connection_id":174438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07139"} 
[2026-09-05 16:34:21] local.INFO: Extracted packet for processing {"connection_id":174438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07139"} 
[2026-09-05 16:34:21] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883127808001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788605989000,"timestamp_ms":1788605989000,"timestamp_seconds":1788605989,"priority":1,"record_length":96,"hex_timestamp":"000001a071398088"} 
[2026-09-05 16:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-05 16:34:21] 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-09-05 16:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883127808001,"66":12645,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883127808001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:34:21] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:34:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883127808001,"power":12645,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":174438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:34:21] local.INFO: GPS data processed {"connection_id":174438,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:34:21] local.INFO: Acknowledgment sent {"connection_id":174438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:34:32] local.INFO: TCP Data received {"connection_id":172012,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a071360db8012d7a31c005daa1e8000801132b..."} 
[2026-09-05 16:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071360db8012d7a31c005daa1e8000801132b..."} 
[2026-09-05 16:34:32] local.INFO: Processing buffer {"connection_id":172012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071360db8012d7a31c005daa1e8000801132b..."} 
[2026-09-05 16:34:32] local.INFO: Packet analysis {"connection_id":172012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07136"} 
[2026-09-05 16:34:32] local.INFO: Extracted packet for processing {"connection_id":172012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07136"} 
[2026-09-05 16:34:32] local.INFO: GPS Element Parsed {"raw_longitude":762982848,"raw_latitude":98214376,"longitude_deg":76.2982848,"latitude_deg":9.8214376,"altitude":8,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d7a31c0","hex_latitude":"05daa1e8","is_valid_coordinates":true} 
[2026-09-05 16:34: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-09-05 16:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883075328001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128601233626759168,"note":"Value kept but may cause issues"} 
[2026-09-05 16:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805029877861443584,"note":"Value kept but may cause issues"} 
[2026-09-05 16:34:32] 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-09-05 16:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788605763000,"timestamp_ms":1788605763000,"timestamp_seconds":1788605763,"priority":1,"record_length":96,"hex_timestamp":"000001a071360db8"} 
[2026-09-05 16:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:34: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-09-05 16: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-05 16:34:32] 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-09-05 16: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-09-05 16:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:34:32] 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-09-05 16:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883075328001,"66":13906,"229":206,"85":15104,"24":0,"16":128601233626759168,"45":8805029877861443584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 16:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883075328001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:34:32] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 16:34:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128601233626759168,"km_value":128601233626759.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805029877861443584,"description":"Unknown IO ID 45"} 
[2026-09-05 16:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883075328001,"power":13906,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805029877861443584}} 
[2026-09-05 16:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":172012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769976,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:34:32] local.INFO: GPS data processed {"connection_id":172012,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:34:32] local.INFO: Acknowledgment sent {"connection_id":172012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:34:44] local.INFO: TCP Data received {"connection_id":171728,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:34:44] local.INFO: Processing buffer {"connection_id":171728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:34:44] local.INFO: IMEI packet received {"connection_id":171728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":171728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:34:50] local.INFO: TCP Data received {"connection_id":171728,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:34:50] local.INFO: Processing buffer {"connection_id":171728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:34:50] local.INFO: IMEI packet received {"connection_id":171728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":171728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:34:50] local.INFO: TCP Data received {"connection_id":171728,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07139d678012d1bcd40072904180038006c29..."} 
[2026-09-05 16:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07139d678012d1bcd40072904180038006c29..."} 
[2026-09-05 16:34:50] local.INFO: Processing buffer {"connection_id":171728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07139d678012d1bcd40072904180038006c29..."} 
[2026-09-05 16:34:50] local.INFO: Packet analysis {"connection_id":171728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07139"} 
[2026-09-05 16:34:50] local.INFO: Extracted packet for processing {"connection_id":171728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07139"} 
[2026-09-05 16:34:50] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883133184001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788606011000,"timestamp_ms":1788606011000,"timestamp_seconds":1788606011,"priority":1,"record_length":96,"hex_timestamp":"000001a07139d678"} 
[2026-09-05 16:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-05 16:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:34:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883133184001,"66":12602,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883133184001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:34:50] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:34:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883133184001,"power":12602,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":171728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:34:50] local.INFO: GPS data processed {"connection_id":171728,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:34:50] local.INFO: Acknowledgment sent {"connection_id":171728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:34:54] local.INFO: TCP Data received {"connection_id":174441,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174441,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:34:54] local.INFO: Processing buffer {"connection_id":174441,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:34:54] local.INFO: IMEI packet received {"connection_id":174441,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 16:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":174441,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:34:56] local.INFO: TCP Data received {"connection_id":174440,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:34:56] local.INFO: Processing buffer {"connection_id":174440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:34:56] local.INFO: IMEI packet received {"connection_id":174440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":174440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:35:00] local.INFO: TCP Data received {"connection_id":174441,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174441,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:35:00] local.INFO: Processing buffer {"connection_id":174441,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:35:00] local.INFO: IMEI packet received {"connection_id":174441,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":174441,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:35:01] local.INFO: TCP Data received {"connection_id":174440,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:35:01] local.INFO: Processing buffer {"connection_id":174440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:35:01] local.INFO: IMEI packet received {"connection_id":174440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":174440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:35:02] local.INFO: TCP Data received {"connection_id":174441,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a071360db8012d7a31c005daa1e8000801132b..."} 
[2026-09-05 16:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071360db8012d7a31c005daa1e8000801132b..."} 
[2026-09-05 16:35:02] local.INFO: Processing buffer {"connection_id":174441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071360db8012d7a31c005daa1e8000801132b..."} 
[2026-09-05 16:35:02] local.INFO: Packet analysis {"connection_id":174441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07136"} 
[2026-09-05 16:35:02] local.INFO: Extracted packet for processing {"connection_id":174441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07136"} 
[2026-09-05 16:35:02] local.INFO: GPS Element Parsed {"raw_longitude":762982848,"raw_latitude":98214376,"longitude_deg":76.2982848,"latitude_deg":9.8214376,"altitude":8,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d7a31c0","hex_latitude":"05daa1e8","is_valid_coordinates":true} 
[2026-09-05 16:35:02] 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-09-05 16:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883075328001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128601233626759168,"note":"Value kept but may cause issues"} 
[2026-09-05 16:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805029877861443584,"note":"Value kept but may cause issues"} 
[2026-09-05 16:35:02] 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-09-05 16:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788605763000,"timestamp_ms":1788605763000,"timestamp_seconds":1788605763,"priority":1,"record_length":96,"hex_timestamp":"000001a071360db8"} 
[2026-09-05 16:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:35: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-09-05 16: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":82,"data_length":795,"current_offset":136} 
[2026-09-05 16:35:02] 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-09-05 16: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-09-05 16:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:35:02] 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-09-05 16:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883075328001,"66":13906,"229":206,"85":15104,"24":0,"16":128601233626759168,"45":8805029877861443584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 16:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883075328001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:35:02] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 16:35:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128601233626759168,"km_value":128601233626759.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805029877861443584,"description":"Unknown IO ID 45"} 
[2026-09-05 16:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883075328001,"power":13906,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805029877861443584}} 
[2026-09-05 16:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":174441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769978,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:35:02] local.INFO: GPS data processed {"connection_id":174441,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:35:02] local.INFO: Acknowledgment sent {"connection_id":174441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:35:02] local.INFO: TCP Data received {"connection_id":174440,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0713c1c80012d7b834005f5f000000400b22b..."} 
[2026-09-05 16:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713c1c80012d7b834005f5f000000400b22b..."} 
[2026-09-05 16:35:02] local.INFO: Processing buffer {"connection_id":174440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713c1c80012d7b834005f5f000000400b22b..."} 
[2026-09-05 16:35:02] local.INFO: Packet analysis {"connection_id":174440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0713c"} 
[2026-09-05 16:35:02] local.INFO: Extracted packet for processing {"connection_id":174440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0713c"} 
[2026-09-05 16:35:02] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883099904001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788606160000,"timestamp_ms":1788606160000,"timestamp_seconds":1788606160,"priority":1,"record_length":96,"hex_timestamp":"000001a0713c1c80"} 
[2026-09-05 16:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:35:02] 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-09-05 16: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-05 16:35:02] 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-09-05 16: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-09-05 16:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883099904001,"66":26180,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883099904001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:35:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:35:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883099904001,"power":26180,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":174440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:35:02] local.INFO: GPS data processed {"connection_id":174440,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:35:02] local.INFO: Acknowledgment sent {"connection_id":174440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:35:06] local.INFO: TCP Data received {"connection_id":174439,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174439,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:35:06] local.INFO: Processing buffer {"connection_id":174439,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:35:06] local.INFO: IMEI packet received {"connection_id":174439,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":174439,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:35:07] local.INFO: TCP Data received {"connection_id":174439,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0713cff10012c685540086dd3800016016429..."} 
[2026-09-05 16:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713cff10012c685540086dd3800016016429..."} 
[2026-09-05 16:35:07] local.INFO: Processing buffer {"connection_id":174439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713cff10012c685540086dd3800016016429..."} 
[2026-09-05 16:35:07] local.INFO: Packet analysis {"connection_id":174439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0713c"} 
[2026-09-05 16:35:07] local.INFO: Extracted packet for processing {"connection_id":174439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0713c"} 
[2026-09-05 16:35:07] local.INFO: GPS Element Parsed {"raw_longitude":745035072,"raw_latitude":141415296,"longitude_deg":74.5035072,"latitude_deg":14.1415296,"altitude":22,"angle":356,"satellites":41,"speed":59,"hex_longitude":"2c685540","hex_latitude":"086dd380","is_valid_coordinates":true} 
[2026-09-05 16:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883190272001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1349117947150336,"note":"Value kept but may cause issues"} 
[2026-09-05 16:35:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7518829982839259136,"note":"Value kept but may cause issues"} 
[2026-09-05 16:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788606218000,"timestamp_ms":1788606218000,"timestamp_seconds":1788606218,"priority":1,"record_length":96,"hex_timestamp":"000001a0713cff10"} 
[2026-09-05 16:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-05 16:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174439,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174439,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883190272001,"66":28028,"246":206,"9":56064,"24":59,"16":1349117947150336,"44":7518829982839259136},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,9,24,16,44]} 
[2026-09-05 16:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883190272001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:35:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1349117947150336,"km_value":1349117947150.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:35:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":7518829982839259136,"description":"Unknown IO ID 44"} 
[2026-09-05 16:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883190272001,"power":28028,"main_input_voltage":206,"unknown_9":56064,"ignition":59,"odometer":null,"unknown_44":7518829982839259136}} 
[2026-09-05 16:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":174439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769980,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:35:07] local.INFO: GPS data processed {"connection_id":174439,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:35:07] local.INFO: Acknowledgment sent {"connection_id":174439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:35:21] local.INFO: TCP Data received {"connection_id":171728,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0713a2880012d1bcd40072904180038006c29..."} 
[2026-09-05 16:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713a2880012d1bcd40072904180038006c29..."} 
[2026-09-05 16:35:21] local.INFO: Processing buffer {"connection_id":171728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713a2880012d1bcd40072904180038006c29..."} 
[2026-09-05 16:35:21] local.INFO: Packet analysis {"connection_id":171728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0713a"} 
[2026-09-05 16:35:21] local.INFO: Extracted packet for processing {"connection_id":171728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0713a"} 
[2026-09-05 16:35:21] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883138816001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788606032000,"timestamp_ms":1788606032000,"timestamp_seconds":1788606032,"priority":1,"record_length":96,"hex_timestamp":"000001a0713a2880"} 
[2026-09-05 16:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-05 16:35:21] 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-09-05 16:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883138816001,"66":12580,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883138816001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:35:21] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:35:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883138816001,"power":12580,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":171728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:35:21] local.INFO: GPS data processed {"connection_id":171728,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:35:21] local.INFO: Acknowledgment sent {"connection_id":171728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:35:33] local.INFO: TCP Data received {"connection_id":174441,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a071360db8012d7a31c005daa1e8000801132b..."} 
[2026-09-05 16:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071360db8012d7a31c005daa1e8000801132b..."} 
[2026-09-05 16:35:33] local.INFO: Processing buffer {"connection_id":174441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071360db8012d7a31c005daa1e8000801132b..."} 
[2026-09-05 16:35:33] local.INFO: Packet analysis {"connection_id":174441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07136"} 
[2026-09-05 16:35:33] local.INFO: Extracted packet for processing {"connection_id":174441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07136"} 
[2026-09-05 16:35:33] local.INFO: GPS Element Parsed {"raw_longitude":762982848,"raw_latitude":98214376,"longitude_deg":76.2982848,"latitude_deg":9.8214376,"altitude":8,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d7a31c0","hex_latitude":"05daa1e8","is_valid_coordinates":true} 
[2026-09-05 16:35: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-09-05 16:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883075328001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128601233626759168,"note":"Value kept but may cause issues"} 
[2026-09-05 16:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805029877861443584,"note":"Value kept but may cause issues"} 
[2026-09-05 16:35:33] 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-09-05 16:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788605763000,"timestamp_ms":1788605763000,"timestamp_seconds":1788605763,"priority":1,"record_length":96,"hex_timestamp":"000001a071360db8"} 
[2026-09-05 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-09-05 16:35: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-09-05 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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-05 16:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:35:33] 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-09-05 16:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883075328001,"66":13906,"229":206,"85":15104,"24":0,"16":128601233626759168,"45":8805029877861443584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 16:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883075328001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:35:33] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 16:35:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128601233626759168,"km_value":128601233626759.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805029877861443584,"description":"Unknown IO ID 45"} 
[2026-09-05 16:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883075328001,"power":13906,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805029877861443584}} 
[2026-09-05 16:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":174441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769982,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:35:33] local.INFO: GPS data processed {"connection_id":174441,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:35:33] local.INFO: Acknowledgment sent {"connection_id":174441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:35:33] local.INFO: TCP Data received {"connection_id":174440,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0713c1c80012d7b834005f5f000000400b22b..."} 
[2026-09-05 16:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713c1c80012d7b834005f5f000000400b22b..."} 
[2026-09-05 16:35:33] local.INFO: Processing buffer {"connection_id":174440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713c1c80012d7b834005f5f000000400b22b..."} 
[2026-09-05 16:35:33] local.INFO: Packet analysis {"connection_id":174440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0713c"} 
[2026-09-05 16:35:33] local.INFO: Extracted packet for processing {"connection_id":174440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0713c"} 
[2026-09-05 16:35:33] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883099904001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788606160000,"timestamp_ms":1788606160000,"timestamp_seconds":1788606160,"priority":1,"record_length":96,"hex_timestamp":"000001a0713c1c80"} 
[2026-09-05 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-09-05 16:35: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-09-05 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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-05 16:35:33] 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-09-05 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-09-05 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-09-05 16:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883099904001,"66":26180,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883099904001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:35:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:35:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883099904001,"power":26180,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":174440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:35:33] local.INFO: GPS data processed {"connection_id":174440,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:35:33] local.INFO: Acknowledgment sent {"connection_id":174440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:35:44] local.INFO: TCP Data received {"connection_id":173122,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:35:44] local.INFO: Processing buffer {"connection_id":173122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:35:44] local.INFO: IMEI packet received {"connection_id":173122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":173122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:35:47] local.INFO: TCP Data received {"connection_id":173123,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173123,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:35:47] local.INFO: Processing buffer {"connection_id":173123,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:35:47] local.INFO: IMEI packet received {"connection_id":173123,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":173123,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:35:48] local.INFO: TCP Data received {"connection_id":173123,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173123,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:35:48] local.INFO: Processing buffer {"connection_id":173123,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:35:48] local.INFO: IMEI packet received {"connection_id":173123,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":173123,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:35:50] local.INFO: TCP Data received {"connection_id":173122,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:35:50] local.INFO: Processing buffer {"connection_id":173122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:35:50] local.INFO: IMEI packet received {"connection_id":173122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":173122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:35:50] local.INFO: TCP Data received {"connection_id":173122,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0713daaf0012d1bcd40072904180038006c26..."} 
[2026-09-05 16:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713daaf0012d1bcd40072904180038006c26..."} 
[2026-09-05 16:35:50] local.INFO: Processing buffer {"connection_id":173122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713daaf0012d1bcd40072904180038006c26..."} 
[2026-09-05 16:35:50] local.INFO: Packet analysis {"connection_id":173122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0713d"} 
[2026-09-05 16:35:50] local.INFO: Extracted packet for processing {"connection_id":173122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0713d"} 
[2026-09-05 16:35:50] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883197696001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788606262000,"timestamp_ms":1788606262000,"timestamp_seconds":1788606262,"priority":1,"record_length":96,"hex_timestamp":"000001a0713daaf0"} 
[2026-09-05 16:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16: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-09-05 16: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-05 16:35:50] 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-09-05 16: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-09-05 16:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883197696001,"66":11471,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883197696001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:35:50] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:35:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883197696001,"power":11471,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":173122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:35:50] local.INFO: GPS data processed {"connection_id":173122,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:35:50] local.INFO: Acknowledgment sent {"connection_id":173122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:35:52] local.INFO: TCP Data received {"connection_id":173123,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173123,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:35:52] local.INFO: Processing buffer {"connection_id":173123,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:35:52] local.INFO: IMEI packet received {"connection_id":173123,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":173123,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:35:53] local.INFO: TCP Data received {"connection_id":173123,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0713d1680012c6853c0086df6600016016527..."} 
[2026-09-05 16:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713d1680012c6853c0086df6600016016527..."} 
[2026-09-05 16:35:53] local.INFO: Processing buffer {"connection_id":173123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713d1680012c6853c0086df6600016016527..."} 
[2026-09-05 16:35:53] local.INFO: Packet analysis {"connection_id":173123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0713d"} 
[2026-09-05 16:35:53] local.INFO: Extracted packet for processing {"connection_id":173123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0713d"} 
[2026-09-05 16:35:53] local.INFO: GPS Element Parsed {"raw_longitude":745034688,"raw_latitude":141424224,"longitude_deg":74.5034688,"latitude_deg":14.1424224,"altitude":22,"angle":357,"satellites":39,"speed":59,"hex_longitude":"2c6853c0","hex_latitude":"086df660","is_valid_coordinates":true} 
[2026-09-05 16:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883191808001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1349551738847232,"note":"Value kept but may cause issues"} 
[2026-09-05 16:35:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7517985557911404544,"note":"Value kept but may cause issues"} 
[2026-09-05 16:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788606224000,"timestamp_ms":1788606224000,"timestamp_seconds":1788606224,"priority":1,"record_length":96,"hex_timestamp":"000001a0713d1680"} 
[2026-09-05 16:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-05 16:35:53] 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-09-05 16: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-09-05 16:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883191808001,"66":28050,"246":206,"9":56064,"24":59,"16":1349551738847232,"44":7517985557911404544},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,9,24,16,44]} 
[2026-09-05 16:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883191808001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:35:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1349551738847232,"km_value":1349551738847.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:35:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":7517985557911404544,"description":"Unknown IO ID 44"} 
[2026-09-05 16:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883191808001,"power":28050,"main_input_voltage":206,"unknown_9":56064,"ignition":59,"odometer":null,"unknown_44":7517985557911404544}} 
[2026-09-05 16:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":173123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769985,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:35:54] local.INFO: GPS data processed {"connection_id":173123,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:35:54] local.INFO: Acknowledgment sent {"connection_id":173123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:35:56] local.INFO: TCP Data received {"connection_id":173123,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0713d31d8012c685180086e1df00017016229..."} 
[2026-09-05 16:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713d31d8012c685180086e1df00017016229..."} 
[2026-09-05 16:35:56] local.INFO: Processing buffer {"connection_id":173123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713d31d8012c685180086e1df00017016229..."} 
[2026-09-05 16:35:56] local.INFO: Packet analysis {"connection_id":173123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0713d"} 
[2026-09-05 16:35:56] local.INFO: Extracted packet for processing {"connection_id":173123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0713d"} 
[2026-09-05 16:35:56] local.INFO: GPS Element Parsed {"raw_longitude":745034112,"raw_latitude":141434352,"longitude_deg":74.5034112,"latitude_deg":14.1434352,"altitude":23,"angle":354,"satellites":41,"speed":57,"hex_longitude":"2c685180","hex_latitude":"086e1df0","is_valid_coordinates":true} 
[2026-09-05 16:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883193344001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1350041365118976,"note":"Value kept but may cause issues"} 
[2026-09-05 16:35:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7517563345448624128,"note":"Value kept but may cause issues"} 
[2026-09-05 16:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788606231000,"timestamp_ms":1788606231000,"timestamp_seconds":1788606231,"priority":1,"record_length":96,"hex_timestamp":"000001a0713d31d8"} 
[2026-09-05 16:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 16:35:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883193344001,"66":27984,"246":206,"9":56064,"24":57,"16":1350041365118976,"44":7517563345448624128},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,9,24,16,44]} 
[2026-09-05 16:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883193344001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:35:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1350041365118976,"km_value":1350041365118.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:35:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":7517563345448624128,"description":"Unknown IO ID 44"} 
[2026-09-05 16:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883193344001,"power":27984,"main_input_voltage":206,"unknown_9":56064,"ignition":57,"odometer":null,"unknown_44":7517563345448624128}} 
[2026-09-05 16:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":173123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769986,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:35:56] local.INFO: GPS data processed {"connection_id":173123,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:35:56] local.INFO: Acknowledgment sent {"connection_id":173123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:35:56] local.INFO: TCP Data received {"connection_id":174442,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:35:56] local.INFO: Processing buffer {"connection_id":174442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:35:56] local.INFO: IMEI packet received {"connection_id":174442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":174442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:36:00] local.INFO: TCP Data received {"connection_id":174443,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:36:00] local.INFO: Processing buffer {"connection_id":174443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:36:00] local.INFO: IMEI packet received {"connection_id":174443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 16:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":174443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:36:01] local.INFO: TCP Data received {"connection_id":174442,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:36:01] local.INFO: Processing buffer {"connection_id":174442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:36:01] local.INFO: IMEI packet received {"connection_id":174442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":174442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:36:02] local.INFO: TCP Data received {"connection_id":174442,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0713c1c80012d7b834005f5f000000400b22b..."} 
[2026-09-05 16:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713c1c80012d7b834005f5f000000400b22b..."} 
[2026-09-05 16:36:02] local.INFO: Processing buffer {"connection_id":174442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713c1c80012d7b834005f5f000000400b22b..."} 
[2026-09-05 16:36:02] local.INFO: Packet analysis {"connection_id":174442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0713c"} 
[2026-09-05 16:36:02] local.INFO: Extracted packet for processing {"connection_id":174442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0713c"} 
[2026-09-05 16:36:02] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883099904001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788606160000,"timestamp_ms":1788606160000,"timestamp_seconds":1788606160,"priority":1,"record_length":96,"hex_timestamp":"000001a0713c1c80"} 
[2026-09-05 16:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:36:02] 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-09-05 16: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-05 16:36:02] 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-09-05 16: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-09-05 16:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883099904001,"66":26180,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883099904001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:36:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:36:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883099904001,"power":26180,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":174442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:36:02] local.INFO: GPS data processed {"connection_id":174442,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:36:02] local.INFO: Acknowledgment sent {"connection_id":174442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:36:05] local.INFO: TCP Data received {"connection_id":174443,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:36:05] local.INFO: Processing buffer {"connection_id":174443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 16:36:05] local.INFO: IMEI packet received {"connection_id":174443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 16:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":174443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:36:05] local.INFO: TCP Data received {"connection_id":174443,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0713ee758012d7a334005daa1e80008011329..."} 
[2026-09-05 16:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713ee758012d7a334005daa1e80008011329..."} 
[2026-09-05 16:36:05] local.INFO: Processing buffer {"connection_id":174443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713ee758012d7a334005daa1e80008011329..."} 
[2026-09-05 16:36:05] local.INFO: Packet analysis {"connection_id":174443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0713e"} 
[2026-09-05 16:36:05] local.INFO: Extracted packet for processing {"connection_id":174443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0713e"} 
[2026-09-05 16:36:05] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":98214376,"longitude_deg":76.2983232,"latitude_deg":9.8214376,"altitude":8,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05daa1e8","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883075328001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128601233626759168,"note":"Value kept but may cause issues"} 
[2026-09-05 16:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805029877861443584,"note":"Value kept but may cause issues"} 
[2026-09-05 16:36:05] 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-09-05 16:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788606343000,"timestamp_ms":1788606343000,"timestamp_seconds":1788606343,"priority":1,"record_length":96,"hex_timestamp":"000001a0713ee758"} 
[2026-09-05 16:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 16: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-05 16:36:05] 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-09-05 16: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-09-05 16:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 16:36:05] 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-09-05 16:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 16:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 16:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883075328001,"66":2253,"188":206,"85":15104,"24":0,"16":128601233626759168,"45":8805029877861443584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-09-05 16:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 16:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 16:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883075328001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:36:05] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-05 16:36:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 16:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128601233626759168,"km_value":128601233626759.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805029877861443584,"description":"Unknown IO ID 45"} 
[2026-09-05 16:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883075328001,"power":2253,"unknown_188":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805029877861443584}} 
[2026-09-05 16:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":174443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769988,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:36:05] local.INFO: GPS data processed {"connection_id":174443,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:36:05] local.INFO: Acknowledgment sent {"connection_id":174443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:36:21] local.INFO: TCP Data received {"connection_id":173122,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0713dfcf8012d1bcd40072904180038006c25..."} 
[2026-09-05 16:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713dfcf8012d1bcd40072904180038006c25..."} 
[2026-09-05 16:36:21] local.INFO: Processing buffer {"connection_id":173122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713dfcf8012d1bcd40072904180038006c25..."} 
[2026-09-05 16:36:21] local.INFO: Packet analysis {"connection_id":173122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0713d"} 
[2026-09-05 16:36:21] local.INFO: Extracted packet for processing {"connection_id":173122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0713d"} 
[2026-09-05 16:36:21] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883203072001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788606283000,"timestamp_ms":1788606283000,"timestamp_seconds":1788606283,"priority":1,"record_length":96,"hex_timestamp":"000001a0713dfcf8"} 
[2026-09-05 16:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16: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":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 16:36:21] 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-09-05 16: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-09-05 16:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883203072001,"66":12504,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883203072001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:36:21] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:36:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883203072001,"power":12504,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":173122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:36:21] local.INFO: GPS data processed {"connection_id":173122,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:36:21] local.INFO: Acknowledgment sent {"connection_id":173122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:36:27] local.INFO: TCP Data received {"connection_id":173123,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0713ecfe8012c680580087025b0001c015b29..."} 
[2026-09-05 16:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713ecfe8012c680580087025b0001c015b29..."} 
[2026-09-05 16:36:27] local.INFO: Processing buffer {"connection_id":173123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713ecfe8012c680580087025b0001c015b29..."} 
[2026-09-05 16:36:27] local.INFO: Packet analysis {"connection_id":173123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0713e"} 
[2026-09-05 16:36:27] local.INFO: Extracted packet for processing {"connection_id":173123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0713e"} 
[2026-09-05 16:36:27] local.INFO: GPS Element Parsed {"raw_longitude":745014656,"raw_latitude":141567408,"longitude_deg":74.5014656,"latitude_deg":14.1567408,"altitude":28,"angle":347,"satellites":41,"speed":59,"hex_longitude":"2c680580","hex_latitude":"087025b0","is_valid_coordinates":true} 
[2026-09-05 16:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883220736001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1356582600310784,"note":"Value kept but may cause issues"} 
[2026-09-05 16:36:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7497156409671479296,"note":"Value kept but may cause issues"} 
[2026-09-05 16:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788606337000,"timestamp_ms":1788606337000,"timestamp_seconds":1788606337,"priority":1,"record_length":96,"hex_timestamp":"000001a0713ecfe8"} 
[2026-09-05 16:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:36:27] 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-09-05 16:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 16:36:27] 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-09-05 16:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883220736001,"66":28104,"247":206,"9":56064,"24":59,"16":1356582600310784,"44":7497156409671479296},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,9,24,16,44]} 
[2026-09-05 16:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883220736001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:36:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1356582600310784,"km_value":1356582600310.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:36:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":7497156409671479296,"description":"Unknown IO ID 44"} 
[2026-09-05 16:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883220736001,"power":28104,"internal_battery_voltage":206,"unknown_9":56064,"ignition":59,"odometer":null,"unknown_44":7497156409671479296}} 
[2026-09-05 16:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":173123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769990,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:36:27] local.INFO: GPS data processed {"connection_id":173123,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:36:27] local.INFO: Acknowledgment sent {"connection_id":173123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:36:33] local.INFO: TCP Data received {"connection_id":174442,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0713c1c80012d7b834005f5f000000400b22b..."} 
[2026-09-05 16:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713c1c80012d7b834005f5f000000400b22b..."} 
[2026-09-05 16:36:33] local.INFO: Processing buffer {"connection_id":174442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713c1c80012d7b834005f5f000000400b22b..."} 
[2026-09-05 16:36:33] local.INFO: Packet analysis {"connection_id":174442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0713c"} 
[2026-09-05 16:36:33] local.INFO: Extracted packet for processing {"connection_id":174442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0713c"} 
[2026-09-05 16:36:33] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883099904001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788606160000,"timestamp_ms":1788606160000,"timestamp_seconds":1788606160,"priority":1,"record_length":96,"hex_timestamp":"000001a0713c1c80"} 
[2026-09-05 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-09-05 16:36: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-09-05 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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-05 16:36:33] 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-09-05 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-09-05 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-09-05 16:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883099904001,"66":26180,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883099904001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:36:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:36:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883099904001,"power":26180,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":174442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:36:33] local.INFO: GPS data processed {"connection_id":174442,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:36:33] local.INFO: Acknowledgment sent {"connection_id":174442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:36:44] local.INFO: TCP Data received {"connection_id":173124,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:36:44] local.INFO: Processing buffer {"connection_id":173124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:36:44] local.INFO: IMEI packet received {"connection_id":173124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":173124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:36:45] local.INFO: TCP Data received {"connection_id":173124,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:36:45] local.INFO: Processing buffer {"connection_id":173124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:36:45] local.INFO: IMEI packet received {"connection_id":173124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":173124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:36:47] local.INFO: TCP Data received {"connection_id":172013,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172013,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:36:47] local.INFO: Processing buffer {"connection_id":172013,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:36:47] local.INFO: IMEI packet received {"connection_id":172013,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":172013,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:36:48] local.INFO: TCP Data received {"connection_id":172013,"ip":"117.224.141.86","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-05 16:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172013,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-05 16:36:48] local.INFO: Processing buffer {"connection_id":172013,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-05 16:36:48] local.INFO: IMEI packet received {"connection_id":172013,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":172013,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:36:50] local.INFO: TCP Data received {"connection_id":173124,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:36:50] local.INFO: Processing buffer {"connection_id":173124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:36:50] local.INFO: IMEI packet received {"connection_id":173124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":173124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:36:50] local.INFO: TCP Data received {"connection_id":173124,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0713e52e8012d1bcd40072904180038006c24..."} 
[2026-09-05 16:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713e52e8012d1bcd40072904180038006c24..."} 
[2026-09-05 16:36:50] local.INFO: Processing buffer {"connection_id":173124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713e52e8012d1bcd40072904180038006c24..."} 
[2026-09-05 16:36:50] local.INFO: Packet analysis {"connection_id":173124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0713e"} 
[2026-09-05 16:36:50] local.INFO: Extracted packet for processing {"connection_id":173124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0713e"} 
[2026-09-05 16:36:50] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883208448001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788606305000,"timestamp_ms":1788606305000,"timestamp_seconds":1788606305,"priority":1,"record_length":96,"hex_timestamp":"000001a0713e52e8"} 
[2026-09-05 16:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:36: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-09-05 16:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 16:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:36:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883208448001,"66":12461,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883208448001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:36:50] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:36:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883208448001,"power":12461,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":173124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:36:50] local.INFO: GPS data processed {"connection_id":173124,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:36:50] local.INFO: Acknowledgment sent {"connection_id":173124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:36:52] local.INFO: TCP Data received {"connection_id":172013,"ip":"117.224.141.86","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172013,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:36:52] local.INFO: Processing buffer {"connection_id":172013,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-05 16:36:52] local.INFO: IMEI packet received {"connection_id":172013,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":172013,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:36:55] local.INFO: TCP Data received {"connection_id":172013,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0713ee370012c67fc80087040d0001c014f2a..."} 
[2026-09-05 16:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713ee370012c67fc80087040d0001c014f2a..."} 
[2026-09-05 16:36:55] local.INFO: Processing buffer {"connection_id":172013,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a071..."} 
[2026-09-05 16:36:55] local.INFO: IMEI packet received {"connection_id":172013,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 16:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":172013,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:36:56] local.INFO: TCP Data received {"connection_id":173125,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:36:56] local.INFO: Processing buffer {"connection_id":173125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:36:56] local.INFO: IMEI packet received {"connection_id":173125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":173125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:37:01] local.INFO: TCP Data received {"connection_id":173125,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:37:01] local.INFO: Processing buffer {"connection_id":173125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:37:01] local.INFO: IMEI packet received {"connection_id":173125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":173125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:37:02] local.INFO: TCP Data received {"connection_id":173125,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0713c1c80012d7b834005f5f000000400b22b..."} 
[2026-09-05 16:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713c1c80012d7b834005f5f000000400b22b..."} 
[2026-09-05 16:37:02] local.INFO: Processing buffer {"connection_id":173125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713c1c80012d7b834005f5f000000400b22b..."} 
[2026-09-05 16:37:02] local.INFO: Packet analysis {"connection_id":173125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0713c"} 
[2026-09-05 16:37:02] local.INFO: Extracted packet for processing {"connection_id":173125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0713c"} 
[2026-09-05 16:37:02] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883099904001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788606160000,"timestamp_ms":1788606160000,"timestamp_seconds":1788606160,"priority":1,"record_length":96,"hex_timestamp":"000001a0713c1c80"} 
[2026-09-05 16:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:37:02] 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-09-05 16: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-05 16:37:02] 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-09-05 16: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-09-05 16:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883099904001,"66":26180,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883099904001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:37:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:37:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883099904001,"power":26180,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":173125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:37:02] local.INFO: GPS data processed {"connection_id":173125,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:37:02] local.INFO: Acknowledgment sent {"connection_id":173125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:37:07] local.INFO: TCP Data received {"connection_id":172013,"ip":"117.224.141.86","data_length":795,"data_hex":"000000000000030f8e0a000001a0713efae0012c67eb0008705e10001d014328..."} 
[2026-09-05 16:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713efae0012c67eb0008705e10001d014328..."} 
[2026-09-05 16:37:07] local.INFO: Processing buffer {"connection_id":172013,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0713ee370012c67fc80087040d0001c014f2a..."} 
[2026-09-05 16:37:07] local.INFO: Packet analysis {"connection_id":172013,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0713e"} 
[2026-09-05 16:37:07] local.INFO: Extracted packet for processing {"connection_id":172013,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0713e"} 
[2026-09-05 16:37:07] local.INFO: GPS Element Parsed {"raw_longitude":745012352,"raw_latitude":141574352,"longitude_deg":74.5012352,"latitude_deg":14.1574352,"altitude":28,"angle":335,"satellites":42,"speed":57,"hex_longitude":"2c67fc80","hex_latitude":"087040d0","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883222272001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1356934787629056,"note":"Value kept but may cause issues"} 
[2026-09-05 16:37:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7495537928557670400,"note":"Value kept but may cause issues"} 
[2026-09-05 16:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788606342000,"timestamp_ms":1788606342000,"timestamp_seconds":1788606342,"priority":1,"record_length":96,"hex_timestamp":"000001a0713ee370"} 
[2026-09-05 16:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:37:07] 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-09-05 16: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 16:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172013,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172013,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883222272001,"66":28017,"247":206,"9":56064,"24":57,"16":1356934787629056,"44":7495537928557670400},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,9,24,16,44]} 
[2026-09-05 16:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883222272001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:37:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1356934787629056,"km_value":1356934787629.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:37:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":7495537928557670400,"description":"Unknown IO ID 44"} 
[2026-09-05 16:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883222272001,"power":28017,"internal_battery_voltage":206,"unknown_9":56064,"ignition":57,"odometer":null,"unknown_44":7495537928557670400}} 
[2026-09-05 16:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":172013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769994,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:37:07] local.INFO: GPS data processed {"connection_id":172013,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:37:07] local.INFO: Acknowledgment sent {"connection_id":172013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:37:07] local.INFO: Packet analysis {"connection_id":172013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0713e"} 
[2026-09-05 16:37:07] local.INFO: Extracted packet for processing {"connection_id":172013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0713e"} 
[2026-09-05 16:37:07] local.INFO: GPS Element Parsed {"raw_longitude":745007872,"raw_latitude":141581840,"longitude_deg":74.5007872,"latitude_deg":14.158184,"altitude":29,"angle":323,"satellites":40,"speed":58,"hex_longitude":"2c67eb00","hex_latitude":"08705e10","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883223552001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1357355694424064,"note":"Value kept but may cause issues"} 
[2026-09-05 16:37:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7493004653769052160,"note":"Value kept but may cause issues"} 
[2026-09-05 16:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788606348000,"timestamp_ms":1788606348000,"timestamp_seconds":1788606348,"priority":1,"record_length":96,"hex_timestamp":"000001a0713efae0"} 
[2026-09-05 16:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:37:07] 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-09-05 16: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-05 16:37:07] 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-09-05 16: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-09-05 16:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172013,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172013,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 16:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.141.86","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 16:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 16:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883223552001,"66":28050,"247":206,"9":56064,"24":58,"16":1357355694424064,"44":7493004653769052160},"client_ip":"117.224.141.86","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,9,24,16,44]} 
[2026-09-05 16:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 16:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 16:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883223552001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:37:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 16:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1357355694424064,"km_value":1357355694424.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:37:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":7493004653769052160,"description":"Unknown IO ID 44"} 
[2026-09-05 16:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883223552001,"power":28050,"internal_battery_voltage":206,"unknown_9":56064,"ignition":58,"odometer":null,"unknown_44":7493004653769052160}} 
[2026-09-05 16:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":172013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769995,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:37:07] local.INFO: GPS data processed {"connection_id":172013,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:37:07] local.INFO: Acknowledgment sent {"connection_id":172013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:37:21] local.INFO: TCP Data received {"connection_id":173124,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0713ea4f0012d1bcd40072904180038006c23..."} 
[2026-09-05 16:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713ea4f0012d1bcd40072904180038006c23..."} 
[2026-09-05 16:37:21] local.INFO: Processing buffer {"connection_id":173124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713ea4f0012d1bcd40072904180038006c23..."} 
[2026-09-05 16:37:21] local.INFO: Packet analysis {"connection_id":173124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0713e"} 
[2026-09-05 16:37:21] local.INFO: Extracted packet for processing {"connection_id":173124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0713e"} 
[2026-09-05 16:37:21] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883214080001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788606326000,"timestamp_ms":1788606326000,"timestamp_seconds":1788606326,"priority":1,"record_length":96,"hex_timestamp":"000001a0713ea4f0"} 
[2026-09-05 16:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 16:37: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-09-05 16: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-09-05 16:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883214080001,"66":12526,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883214080001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:37:21] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:37:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883214080001,"power":12526,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":173124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:37:21] local.INFO: GPS data processed {"connection_id":173124,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:37:21] local.INFO: Acknowledgment sent {"connection_id":173124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:37:33] local.INFO: TCP Data received {"connection_id":173125,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0713c1c80012d7b834005f5f000000400b22b..."} 
[2026-09-05 16:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713c1c80012d7b834005f5f000000400b22b..."} 
[2026-09-05 16:37:33] local.INFO: Processing buffer {"connection_id":173125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713c1c80012d7b834005f5f000000400b22b..."} 
[2026-09-05 16:37:33] local.INFO: Packet analysis {"connection_id":173125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0713c"} 
[2026-09-05 16:37:33] local.INFO: Extracted packet for processing {"connection_id":173125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0713c"} 
[2026-09-05 16:37:33] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883099904001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788606160000,"timestamp_ms":1788606160000,"timestamp_seconds":1788606160,"priority":1,"record_length":96,"hex_timestamp":"000001a0713c1c80"} 
[2026-09-05 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-09-05 16: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-09-05 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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-05 16:37:33] 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-09-05 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-09-05 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-09-05 16:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883099904001,"66":26180,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883099904001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:37:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:37:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883099904001,"power":26180,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":173125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:37:33] local.INFO: GPS data processed {"connection_id":173125,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:37:33] local.INFO: Acknowledgment sent {"connection_id":173125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:37:49] local.INFO: TCP Data received {"connection_id":174444,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:37:49] local.INFO: Processing buffer {"connection_id":174444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:37:49] local.INFO: IMEI packet received {"connection_id":174444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":174444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:37:49] local.INFO: TCP Data received {"connection_id":174444,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:37:49] local.INFO: Processing buffer {"connection_id":174444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:37:49] local.INFO: IMEI packet received {"connection_id":174444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":174444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:37:55] local.INFO: TCP Data received {"connection_id":174444,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:37:55] local.INFO: Processing buffer {"connection_id":174444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:37:55] local.INFO: IMEI packet received {"connection_id":174444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":174444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:37:55] local.INFO: TCP Data received {"connection_id":174444,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0713ef6f8012d1bcd40072904180038006c27..."} 
[2026-09-05 16:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713ef6f8012d1bcd40072904180038006c27..."} 
[2026-09-05 16:37:55] local.INFO: Processing buffer {"connection_id":174444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713ef6f8012d1bcd40072904180038006c27..."} 
[2026-09-05 16:37:55] local.INFO: Packet analysis {"connection_id":174444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0713e"} 
[2026-09-05 16:37:55] local.INFO: Extracted packet for processing {"connection_id":174444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0713e"} 
[2026-09-05 16:37:55] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883219456001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788606347000,"timestamp_ms":1788606347000,"timestamp_seconds":1788606347,"priority":1,"record_length":96,"hex_timestamp":"000001a0713ef6f8"} 
[2026-09-05 16:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:37: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-09-05 16:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-05 16:37:55] 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-09-05 16:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883219456001,"66":12504,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883219456001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:37:55] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:37:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883219456001,"power":12504,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":174444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:37:55] local.INFO: GPS data processed {"connection_id":174444,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:37:55] local.INFO: Acknowledgment sent {"connection_id":174444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:37:56] local.INFO: TCP Data received {"connection_id":171729,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:37:56] local.INFO: Processing buffer {"connection_id":171729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:37:56] local.INFO: IMEI packet received {"connection_id":171729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":171729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:38:01] local.INFO: TCP Data received {"connection_id":171729,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:38:01] local.INFO: Processing buffer {"connection_id":171729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:38:01] local.INFO: IMEI packet received {"connection_id":171729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":171729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:38:02] local.INFO: TCP Data received {"connection_id":171729,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0713c1c80012d7b834005f5f000000400b22b..."} 
[2026-09-05 16:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713c1c80012d7b834005f5f000000400b22b..."} 
[2026-09-05 16:38:02] local.INFO: Processing buffer {"connection_id":171729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713c1c80012d7b834005f5f000000400b22b..."} 
[2026-09-05 16:38:02] local.INFO: Packet analysis {"connection_id":171729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0713c"} 
[2026-09-05 16:38:02] local.INFO: Extracted packet for processing {"connection_id":171729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0713c"} 
[2026-09-05 16:38:02] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":43,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883099904001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788606160000,"timestamp_ms":1788606160000,"timestamp_seconds":1788606160,"priority":1,"record_length":96,"hex_timestamp":"000001a0713c1c80"} 
[2026-09-05 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-09-05 16:38:02] 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-09-05 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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-05 16:38:02] 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-09-05 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-09-05 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-09-05 16:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883099904001,"66":26180,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883099904001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:38:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:38:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883099904001,"power":26180,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":171729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":769999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:38:02] local.INFO: GPS data processed {"connection_id":171729,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:38:02] local.INFO: Acknowledgment sent {"connection_id":171729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:38:26] local.INFO: TCP Data received {"connection_id":174444,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0713f4900012d1bcd40072904180038006c29..."} 
[2026-09-05 16:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713f4900012d1bcd40072904180038006c29..."} 
[2026-09-05 16:38:26] local.INFO: Processing buffer {"connection_id":174444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713f4900012d1bcd40072904180038006c29..."} 
[2026-09-05 16:38:26] local.INFO: Packet analysis {"connection_id":174444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0713f"} 
[2026-09-05 16:38:26] local.INFO: Extracted packet for processing {"connection_id":174444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0713f"} 
[2026-09-05 16:38:26] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883224832001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:38:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788606368000,"timestamp_ms":1788606368000,"timestamp_seconds":1788606368,"priority":1,"record_length":96,"hex_timestamp":"000001a0713f4900"} 
[2026-09-05 16:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 16:38:26] 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-09-05 16:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:38:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883224832001,"66":12504,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883224832001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:38:26] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:38:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883224832001,"power":12504,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":174444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:38:27] local.INFO: GPS data processed {"connection_id":174444,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:38:27] local.INFO: Acknowledgment sent {"connection_id":174444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:38:33] local.INFO: TCP Data received {"connection_id":171729,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07140b448012d7b834005f5f000000400b229..."} 
[2026-09-05 16:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07140b448012d7b834005f5f000000400b229..."} 
[2026-09-05 16:38:33] local.INFO: Processing buffer {"connection_id":171729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07140b448012d7b834005f5f000000400b229..."} 
[2026-09-05 16:38:33] local.INFO: Packet analysis {"connection_id":171729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07140"} 
[2026-09-05 16:38:33] local.INFO: Extracted packet for processing {"connection_id":171729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07140"} 
[2026-09-05 16:38:33] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":41,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883176960001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788606461000,"timestamp_ms":1788606461000,"timestamp_seconds":1788606461,"priority":1,"record_length":96,"hex_timestamp":"000001a07140b448"} 
[2026-09-05 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-09-05 16:38: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-09-05 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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-05 16:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883176960001,"66":26028,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883176960001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:38:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:38:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883176960001,"power":26028,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":171729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:38:33] local.INFO: GPS data processed {"connection_id":171729,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:38:33] local.INFO: Acknowledgment sent {"connection_id":171729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:38:45] local.INFO: TCP Data received {"connection_id":172014,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:38:45] local.INFO: Processing buffer {"connection_id":172014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:38:45] local.INFO: IMEI packet received {"connection_id":172014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":172014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:38:50] local.INFO: TCP Data received {"connection_id":172014,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:38:50] local.INFO: Processing buffer {"connection_id":172014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:38:50] local.INFO: IMEI packet received {"connection_id":172014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":172014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:38:50] local.INFO: TCP Data received {"connection_id":172014,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0713f9720012d1bcd40072904180038006c28..."} 
[2026-09-05 16:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713f9720012d1bcd40072904180038006c28..."} 
[2026-09-05 16:38:50] local.INFO: Processing buffer {"connection_id":172014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713f9720012d1bcd40072904180038006c28..."} 
[2026-09-05 16:38:50] local.INFO: Packet analysis {"connection_id":172014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0713f"} 
[2026-09-05 16:38:50] local.INFO: Extracted packet for processing {"connection_id":172014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0713f"} 
[2026-09-05 16:38:50] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883230208001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788606388000,"timestamp_ms":1788606388000,"timestamp_seconds":1788606388,"priority":1,"record_length":96,"hex_timestamp":"000001a0713f9720"} 
[2026-09-05 16:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:38: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-09-05 16:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 16:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:38:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883230208001,"66":12504,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883230208001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:38:50] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:38:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883230208001,"power":12504,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":172014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:38:50] local.INFO: GPS data processed {"connection_id":172014,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:38:50] local.INFO: Acknowledgment sent {"connection_id":172014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:38:56] local.INFO: TCP Data received {"connection_id":171730,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:38:56] local.INFO: Processing buffer {"connection_id":171730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:38:56] local.INFO: IMEI packet received {"connection_id":171730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":171730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:39:01] local.INFO: TCP Data received {"connection_id":171730,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:39:01] local.INFO: Processing buffer {"connection_id":171730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:39:01] local.INFO: IMEI packet received {"connection_id":171730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":171730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:39:02] local.INFO: TCP Data received {"connection_id":171730,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07140b448012d7b834005f5f000000400b229..."} 
[2026-09-05 16:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07140b448012d7b834005f5f000000400b229..."} 
[2026-09-05 16:39:02] local.INFO: Processing buffer {"connection_id":171730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07140b448012d7b834005f5f000000400b229..."} 
[2026-09-05 16:39:02] local.INFO: Packet analysis {"connection_id":171730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07140"} 
[2026-09-05 16:39:02] local.INFO: Extracted packet for processing {"connection_id":171730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07140"} 
[2026-09-05 16:39:02] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":41,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883176960001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788606461000,"timestamp_ms":1788606461000,"timestamp_seconds":1788606461,"priority":1,"record_length":96,"hex_timestamp":"000001a07140b448"} 
[2026-09-05 16:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:39:02] 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-09-05 16: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-05 16:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883176960001,"66":26028,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883176960001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:39:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:39:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883176960001,"power":26028,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":171730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:39:02] local.INFO: GPS data processed {"connection_id":171730,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:39:02] local.INFO: Acknowledgment sent {"connection_id":171730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:39:21] local.INFO: TCP Data received {"connection_id":172014,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0713fe928012d1bcd40072904180038006c26..."} 
[2026-09-05 16:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0713fe928012d1bcd40072904180038006c26..."} 
[2026-09-05 16:39:21] local.INFO: Processing buffer {"connection_id":172014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0713fe928012d1bcd40072904180038006c26..."} 
[2026-09-05 16:39:21] local.INFO: Packet analysis {"connection_id":172014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0713f"} 
[2026-09-05 16:39:21] local.INFO: Extracted packet for processing {"connection_id":172014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0713f"} 
[2026-09-05 16:39:21] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883235328001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788606409000,"timestamp_ms":1788606409000,"timestamp_seconds":1788606409,"priority":1,"record_length":96,"hex_timestamp":"000001a0713fe928"} 
[2026-09-05 16:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:39: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-09-05 16:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 16:39:21] 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-09-05 16:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883235328001,"66":12504,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883235328001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:39:21] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:39:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883235328001,"power":12504,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":172014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:39:21] local.INFO: GPS data processed {"connection_id":172014,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:39:21] local.INFO: Acknowledgment sent {"connection_id":172014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:39:33] local.INFO: TCP Data received {"connection_id":171730,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07140b448012d7b834005f5f000000400b229..."} 
[2026-09-05 16:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07140b448012d7b834005f5f000000400b229..."} 
[2026-09-05 16:39:33] local.INFO: Processing buffer {"connection_id":171730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07140b448012d7b834005f5f000000400b229..."} 
[2026-09-05 16:39:33] local.INFO: Packet analysis {"connection_id":171730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07140"} 
[2026-09-05 16:39:33] local.INFO: Extracted packet for processing {"connection_id":171730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07140"} 
[2026-09-05 16:39:33] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":41,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883176960001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788606461000,"timestamp_ms":1788606461000,"timestamp_seconds":1788606461,"priority":1,"record_length":96,"hex_timestamp":"000001a07140b448"} 
[2026-09-05 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-09-05 16: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-09-05 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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-05 16:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883176960001,"66":26028,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883176960001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:39:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:39:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883176960001,"power":26028,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":171730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:39:33] local.INFO: GPS data processed {"connection_id":171730,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:39:33] local.INFO: Acknowledgment sent {"connection_id":171730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:39:45] local.INFO: TCP Data received {"connection_id":171731,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:39:45] local.INFO: Processing buffer {"connection_id":171731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:39:45] local.INFO: IMEI packet received {"connection_id":171731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":171731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:39:50] local.INFO: TCP Data received {"connection_id":171731,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:39:50] local.INFO: Processing buffer {"connection_id":171731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:39:50] local.INFO: IMEI packet received {"connection_id":171731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":171731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:39:50] local.INFO: TCP Data received {"connection_id":171731,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071403b30012d1bcd40072904180038006c25..."} 
[2026-09-05 16:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071403b30012d1bcd40072904180038006c25..."} 
[2026-09-05 16:39:50] local.INFO: Processing buffer {"connection_id":171731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071403b30012d1bcd40072904180038006c25..."} 
[2026-09-05 16:39:50] local.INFO: Packet analysis {"connection_id":171731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07140"} 
[2026-09-05 16:39:50] local.INFO: Extracted packet for processing {"connection_id":171731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07140"} 
[2026-09-05 16:39:50] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883240704001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788606430000,"timestamp_ms":1788606430000,"timestamp_seconds":1788606430,"priority":1,"record_length":96,"hex_timestamp":"000001a071403b30"} 
[2026-09-05 16:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:39: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-09-05 16:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 16:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883240704001,"66":12461,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883240704001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:39:50] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:39:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883240704001,"power":12461,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":171731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:39:50] local.INFO: GPS data processed {"connection_id":171731,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:39:50] local.INFO: Acknowledgment sent {"connection_id":171731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:40:01] local.INFO: TCP Data received {"connection_id":174445,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:40:01] local.INFO: Processing buffer {"connection_id":174445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:40:01] local.INFO: IMEI packet received {"connection_id":174445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":174445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:40:06] local.INFO: TCP Data received {"connection_id":174445,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:40:06] local.INFO: Processing buffer {"connection_id":174445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:40:06] local.INFO: IMEI packet received {"connection_id":174445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":174445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:40:07] local.INFO: TCP Data received {"connection_id":174445,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07140b448012d7b834005f5f000000400b229..."} 
[2026-09-05 16:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07140b448012d7b834005f5f000000400b229..."} 
[2026-09-05 16:40:07] local.INFO: Processing buffer {"connection_id":174445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07140b448012d7b834005f5f000000400b229..."} 
[2026-09-05 16:40:07] local.INFO: Packet analysis {"connection_id":174445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07140"} 
[2026-09-05 16:40:07] local.INFO: Extracted packet for processing {"connection_id":174445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07140"} 
[2026-09-05 16:40:07] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":41,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883176960001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788606461000,"timestamp_ms":1788606461000,"timestamp_seconds":1788606461,"priority":1,"record_length":96,"hex_timestamp":"000001a07140b448"} 
[2026-09-05 16:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:40: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-09-05 16:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-05 16:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883176960001,"66":26028,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883176960001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:40:07] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:40:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883176960001,"power":26028,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":174445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:40:07] local.INFO: GPS data processed {"connection_id":174445,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:40:07] local.INFO: Acknowledgment sent {"connection_id":174445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:40:11] local.INFO: TCP Data received {"connection_id":174445,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07140b448012d7b834005f5f000000400b229..."} 
[2026-09-05 16:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07140b448012d7b834005f5f000000400b229..."} 
[2026-09-05 16:40:11] local.INFO: Processing buffer {"connection_id":174445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07140b448012d7b834005f5f000000400b229..."} 
[2026-09-05 16:40:11] local.INFO: Packet analysis {"connection_id":174445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07140"} 
[2026-09-05 16:40:11] local.INFO: Extracted packet for processing {"connection_id":174445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07140"} 
[2026-09-05 16:40:11] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":41,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883176960001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788606461000,"timestamp_ms":1788606461000,"timestamp_seconds":1788606461,"priority":1,"record_length":96,"hex_timestamp":"000001a07140b448"} 
[2026-09-05 16:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:40: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-09-05 16:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-05 16:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883176960001,"66":26028,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883176960001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:40:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:40:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883176960001,"power":26028,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":174445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:40:11] local.INFO: GPS data processed {"connection_id":174445,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:40:11] local.INFO: Acknowledgment sent {"connection_id":174445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:40:21] local.INFO: TCP Data received {"connection_id":171731,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071408d38012d1bcd40072904180038006c24..."} 
[2026-09-05 16:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071408d38012d1bcd40072904180038006c24..."} 
[2026-09-05 16:40:21] local.INFO: Processing buffer {"connection_id":171731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071408d38012d1bcd40072904180038006c24..."} 
[2026-09-05 16:40:21] local.INFO: Packet analysis {"connection_id":171731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07140"} 
[2026-09-05 16:40:21] local.INFO: Extracted packet for processing {"connection_id":171731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07140"} 
[2026-09-05 16:40:21] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883246080001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788606451000,"timestamp_ms":1788606451000,"timestamp_seconds":1788606451,"priority":1,"record_length":96,"hex_timestamp":"000001a071408d38"} 
[2026-09-05 16:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 16:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883246080001,"66":12504,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883246080001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:40:21] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:40:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883246080001,"power":12504,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":171731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:40:21] local.INFO: GPS data processed {"connection_id":171731,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:40:21] local.INFO: Acknowledgment sent {"connection_id":171731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:40:45] local.INFO: TCP Data received {"connection_id":173126,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:40:45] local.INFO: Processing buffer {"connection_id":173126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:40:45] local.INFO: IMEI packet received {"connection_id":173126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":173126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:40:51] local.INFO: TCP Data received {"connection_id":173126,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:40:51] local.INFO: Processing buffer {"connection_id":173126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:40:51] local.INFO: IMEI packet received {"connection_id":173126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":173126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:40:51] local.INFO: TCP Data received {"connection_id":173126,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07140df40012d1bcd40072904180038006c27..."} 
[2026-09-05 16:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07140df40012d1bcd40072904180038006c27..."} 
[2026-09-05 16:40:51] local.INFO: Processing buffer {"connection_id":173126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07140df40012d1bcd40072904180038006c27..."} 
[2026-09-05 16:40:51] local.INFO: Packet analysis {"connection_id":173126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07140"} 
[2026-09-05 16:40:51] local.INFO: Extracted packet for processing {"connection_id":173126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07140"} 
[2026-09-05 16:40:51] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883251456001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788606472000,"timestamp_ms":1788606472000,"timestamp_seconds":1788606472,"priority":1,"record_length":96,"hex_timestamp":"000001a07140df40"} 
[2026-09-05 16:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 16:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883251456001,"66":12504,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883251456001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:40:51] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:40:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883251456001,"power":12504,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":173126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:40:51] local.INFO: GPS data processed {"connection_id":173126,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:40:51] local.INFO: Acknowledgment sent {"connection_id":173126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:40:56] local.INFO: TCP Data received {"connection_id":173127,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:40:56] local.INFO: Processing buffer {"connection_id":173127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:40:56] local.INFO: IMEI packet received {"connection_id":173127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":173127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:40:57] local.INFO: TCP Data received {"connection_id":172016,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172016,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:40:57] local.INFO: Processing buffer {"connection_id":172016,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:40:57] local.INFO: IMEI packet received {"connection_id":172016,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":172016,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:41:01] local.INFO: TCP Data received {"connection_id":173127,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:41:01] local.INFO: Processing buffer {"connection_id":173127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:41:01] local.INFO: IMEI packet received {"connection_id":173127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":173127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:41:02] local.INFO: TCP Data received {"connection_id":173127,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07140b448012d7b834005f5f000000400b229..."} 
[2026-09-05 16:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07140b448012d7b834005f5f000000400b229..."} 
[2026-09-05 16:41:02] local.INFO: Processing buffer {"connection_id":173127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07140b448012d7b834005f5f000000400b229..."} 
[2026-09-05 16:41:02] local.INFO: Packet analysis {"connection_id":173127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07140"} 
[2026-09-05 16:41:02] local.INFO: Extracted packet for processing {"connection_id":173127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07140"} 
[2026-09-05 16:41:02] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":41,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883176960001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788606461000,"timestamp_ms":1788606461000,"timestamp_seconds":1788606461,"priority":1,"record_length":96,"hex_timestamp":"000001a07140b448"} 
[2026-09-05 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-09-05 16:41:02] 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-09-05 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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-05 16:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883176960001,"66":26028,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883176960001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:41:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:41:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883176960001,"power":26028,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":173127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:41:02] local.INFO: GPS data processed {"connection_id":173127,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:41:02] local.INFO: Acknowledgment sent {"connection_id":173127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:41:23] local.INFO: TCP Data received {"connection_id":173126,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071413148012d1bcd40072904180038006c26..."} 
[2026-09-05 16:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071413148012d1bcd40072904180038006c26..."} 
[2026-09-05 16:41:23] local.INFO: Processing buffer {"connection_id":173126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071413148012d1bcd40072904180038006c26..."} 
[2026-09-05 16:41:23] local.INFO: Packet analysis {"connection_id":173126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07141"} 
[2026-09-05 16:41:23] local.INFO: Extracted packet for processing {"connection_id":173126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07141"} 
[2026-09-05 16:41:23] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883256832001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788606493000,"timestamp_ms":1788606493000,"timestamp_seconds":1788606493,"priority":1,"record_length":96,"hex_timestamp":"000001a071413148"} 
[2026-09-05 16:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 16:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883256832001,"66":12439,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883256832001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:41:23] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:41:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883256832001,"power":12439,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":173126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:41:23] local.INFO: GPS data processed {"connection_id":173126,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:41:23] local.INFO: Acknowledgment sent {"connection_id":173126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:41:33] local.INFO: TCP Data received {"connection_id":173127,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07140b448012d7b834005f5f000000400b229..."} 
[2026-09-05 16:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07140b448012d7b834005f5f000000400b229..."} 
[2026-09-05 16:41:33] local.INFO: Processing buffer {"connection_id":173127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07140b448012d7b834005f5f000000400b229..."} 
[2026-09-05 16:41:33] local.INFO: Packet analysis {"connection_id":173127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07140"} 
[2026-09-05 16:41:33] local.INFO: Extracted packet for processing {"connection_id":173127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07140"} 
[2026-09-05 16:41:33] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":41,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883176960001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788606461000,"timestamp_ms":1788606461000,"timestamp_seconds":1788606461,"priority":1,"record_length":96,"hex_timestamp":"000001a07140b448"} 
[2026-09-05 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-09-05 16:41: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-09-05 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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-05 16:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883176960001,"66":26028,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883176960001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:41:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:41:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883176960001,"power":26028,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":173127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:41:33] local.INFO: GPS data processed {"connection_id":173127,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:41:33] local.INFO: Acknowledgment sent {"connection_id":173127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:41:44] local.INFO: TCP Data received {"connection_id":174446,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:41:44] local.INFO: Processing buffer {"connection_id":174446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:41:44] local.INFO: IMEI packet received {"connection_id":174446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":174446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:41:50] local.INFO: TCP Data received {"connection_id":174446,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:41:50] local.INFO: Processing buffer {"connection_id":174446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:41:50] local.INFO: IMEI packet received {"connection_id":174446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":174446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:41:55] local.INFO: TCP Data received {"connection_id":174446,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071418350012d1bcd40072904180038006c26..."} 
[2026-09-05 16:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071418350012d1bcd40072904180038006c26..."} 
[2026-09-05 16:41:55] local.INFO: Processing buffer {"connection_id":174446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071418350012d1bcd40072904180038006c26..."} 
[2026-09-05 16:41:55] local.INFO: Packet analysis {"connection_id":174446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07141"} 
[2026-09-05 16:41:55] local.INFO: Extracted packet for processing {"connection_id":174446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07141"} 
[2026-09-05 16:41:55] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883262208001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788606514000,"timestamp_ms":1788606514000,"timestamp_seconds":1788606514,"priority":1,"record_length":96,"hex_timestamp":"000001a071418350"} 
[2026-09-05 16:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:41: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-09-05 16:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 16:41:55] 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-09-05 16:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883262208001,"66":12461,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883262208001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:41:55] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:41:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883262208001,"power":12461,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":174446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:41:55] local.INFO: GPS data processed {"connection_id":174446,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:41:55] local.INFO: Acknowledgment sent {"connection_id":174446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:41:56] local.INFO: TCP Data received {"connection_id":174448,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:41:56] local.INFO: Processing buffer {"connection_id":174448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:41:56] local.INFO: IMEI packet received {"connection_id":174448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":174448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:42:01] local.INFO: TCP Data received {"connection_id":174448,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:42:01] local.INFO: Processing buffer {"connection_id":174448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:42:01] local.INFO: IMEI packet received {"connection_id":174448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":174448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:42:02] local.INFO: TCP Data received {"connection_id":174448,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07140b448012d7b834005f5f000000400b229..."} 
[2026-09-05 16:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07140b448012d7b834005f5f000000400b229..."} 
[2026-09-05 16:42:02] local.INFO: Processing buffer {"connection_id":174448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07140b448012d7b834005f5f000000400b229..."} 
[2026-09-05 16:42:02] local.INFO: Packet analysis {"connection_id":174448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07140"} 
[2026-09-05 16:42:02] local.INFO: Extracted packet for processing {"connection_id":174448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07140"} 
[2026-09-05 16:42:02] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":41,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883176960001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788606461000,"timestamp_ms":1788606461000,"timestamp_seconds":1788606461,"priority":1,"record_length":96,"hex_timestamp":"000001a07140b448"} 
[2026-09-05 16:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:42:02] 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-09-05 16: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-05 16:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883176960001,"66":26028,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883176960001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:42:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:42:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883176960001,"power":26028,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":174448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:42:02] local.INFO: GPS data processed {"connection_id":174448,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:42:02] local.INFO: Acknowledgment sent {"connection_id":174448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:42:26] local.INFO: TCP Data received {"connection_id":174446,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07141d558012d1bcd40072904180038006c26..."} 
[2026-09-05 16:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07141d558012d1bcd40072904180038006c26..."} 
[2026-09-05 16:42:26] local.INFO: Processing buffer {"connection_id":174446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07141d558012d1bcd40072904180038006c26..."} 
[2026-09-05 16:42:26] local.INFO: Packet analysis {"connection_id":174446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07141"} 
[2026-09-05 16:42:26] local.INFO: Extracted packet for processing {"connection_id":174446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07141"} 
[2026-09-05 16:42:26] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883267584001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788606535000,"timestamp_ms":1788606535000,"timestamp_seconds":1788606535,"priority":1,"record_length":96,"hex_timestamp":"000001a07141d558"} 
[2026-09-05 16:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 16:42:26] 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-09-05 16:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883267584001,"66":12504,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883267584001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:42:26] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:42:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883267584001,"power":12504,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":174446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:42:26] local.INFO: GPS data processed {"connection_id":174446,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:42:26] local.INFO: Acknowledgment sent {"connection_id":174446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:42:33] local.INFO: TCP Data received {"connection_id":174448,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07140b448012d7b834005f5f000000400b229..."} 
[2026-09-05 16:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07140b448012d7b834005f5f000000400b229..."} 
[2026-09-05 16:42:33] local.INFO: Processing buffer {"connection_id":174448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07140b448012d7b834005f5f000000400b229..."} 
[2026-09-05 16:42:33] local.INFO: Packet analysis {"connection_id":174448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07140"} 
[2026-09-05 16:42:33] local.INFO: Extracted packet for processing {"connection_id":174448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07140"} 
[2026-09-05 16:42:33] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":41,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883176960001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788606461000,"timestamp_ms":1788606461000,"timestamp_seconds":1788606461,"priority":1,"record_length":96,"hex_timestamp":"000001a07140b448"} 
[2026-09-05 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-09-05 16: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-09-05 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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-05 16:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883176960001,"66":26028,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883176960001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:42:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:42:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883176960001,"power":26028,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":174448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:42:33] local.INFO: GPS data processed {"connection_id":174448,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:42:33] local.INFO: Acknowledgment sent {"connection_id":174448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:42:42] local.INFO: TCP Data received {"connection_id":171732,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:42:42] local.INFO: Processing buffer {"connection_id":171732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:42:42] local.INFO: IMEI packet received {"connection_id":171732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":171732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:42:44] local.INFO: TCP Data received {"connection_id":171732,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:42:44] local.INFO: Processing buffer {"connection_id":171732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:42:44] local.INFO: IMEI packet received {"connection_id":171732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":171732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:42:50] local.INFO: TCP Data received {"connection_id":171732,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:42:50] local.INFO: Processing buffer {"connection_id":171732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:42:50] local.INFO: IMEI packet received {"connection_id":171732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":171732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:42:50] local.INFO: TCP Data received {"connection_id":171732,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071422760012d1bcd40072904180038006c28..."} 
[2026-09-05 16:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071422760012d1bcd40072904180038006c28..."} 
[2026-09-05 16:42:50] local.INFO: Processing buffer {"connection_id":171732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071422760012d1bcd40072904180038006c28..."} 
[2026-09-05 16:42:50] local.INFO: Packet analysis {"connection_id":171732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07142"} 
[2026-09-05 16:42:50] local.INFO: Extracted packet for processing {"connection_id":171732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07142"} 
[2026-09-05 16:42:50] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883272960001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788606556000,"timestamp_ms":1788606556000,"timestamp_seconds":1788606556,"priority":1,"record_length":96,"hex_timestamp":"000001a071422760"} 
[2026-09-05 16:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 16:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883272960001,"66":12461,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883272960001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:42:50] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:42:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883272960001,"power":12461,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":171732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:42:50] local.INFO: GPS data processed {"connection_id":171732,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:42:50] local.INFO: Acknowledgment sent {"connection_id":171732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:42:56] local.INFO: TCP Data received {"connection_id":171733,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:42:56] local.INFO: Processing buffer {"connection_id":171733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:42:56] local.INFO: IMEI packet received {"connection_id":171733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":171733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:43:01] local.INFO: TCP Data received {"connection_id":171733,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:43:01] local.INFO: Processing buffer {"connection_id":171733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:43:01] local.INFO: IMEI packet received {"connection_id":171733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":171733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:43:02] local.INFO: TCP Data received {"connection_id":171733,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07140b448012d7b834005f5f000000400b229..."} 
[2026-09-05 16:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07140b448012d7b834005f5f000000400b229..."} 
[2026-09-05 16:43:02] local.INFO: Processing buffer {"connection_id":171733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07140b448012d7b834005f5f000000400b229..."} 
[2026-09-05 16:43:02] local.INFO: Packet analysis {"connection_id":171733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07140"} 
[2026-09-05 16:43:02] local.INFO: Extracted packet for processing {"connection_id":171733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07140"} 
[2026-09-05 16:43:02] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":41,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883176960001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788606461000,"timestamp_ms":1788606461000,"timestamp_seconds":1788606461,"priority":1,"record_length":96,"hex_timestamp":"000001a07140b448"} 
[2026-09-05 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-09-05 16:43:02] 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-09-05 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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-05 16:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883176960001,"66":26028,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883176960001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:43:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:43:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883176960001,"power":26028,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":171733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:43:02] local.INFO: GPS data processed {"connection_id":171733,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:43:02] local.INFO: Acknowledgment sent {"connection_id":171733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:43:21] local.INFO: TCP Data received {"connection_id":171732,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071427968012d1bcd40072904180038006c28..."} 
[2026-09-05 16:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071427968012d1bcd40072904180038006c28..."} 
[2026-09-05 16:43:21] local.INFO: Processing buffer {"connection_id":171732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071427968012d1bcd40072904180038006c28..."} 
[2026-09-05 16:43:21] local.INFO: Packet analysis {"connection_id":171732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07142"} 
[2026-09-05 16:43:21] local.INFO: Extracted packet for processing {"connection_id":171732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07142"} 
[2026-09-05 16:43:21] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883278336001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788606577000,"timestamp_ms":1788606577000,"timestamp_seconds":1788606577,"priority":1,"record_length":96,"hex_timestamp":"000001a071427968"} 
[2026-09-05 16:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 16:43: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-09-05 16:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883278336001,"66":12461,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883278336001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:43:21] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:43:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883278336001,"power":12461,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":171732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:43:21] local.INFO: GPS data processed {"connection_id":171732,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:43:21] local.INFO: Acknowledgment sent {"connection_id":171732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:43:33] local.INFO: TCP Data received {"connection_id":171733,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071454c10012d7b834005f5f000000400b228..."} 
[2026-09-05 16:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071454c10012d7b834005f5f000000400b228..."} 
[2026-09-05 16:43:33] local.INFO: Processing buffer {"connection_id":171733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071454c10012d7b834005f5f000000400b228..."} 
[2026-09-05 16:43:33] local.INFO: Packet analysis {"connection_id":171733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07145"} 
[2026-09-05 16:43:33] local.INFO: Extracted packet for processing {"connection_id":171733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07145"} 
[2026-09-05 16:43:33] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":40,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883254016001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788606762000,"timestamp_ms":1788606762000,"timestamp_seconds":1788606762,"priority":1,"record_length":96,"hex_timestamp":"000001a071454c10"} 
[2026-09-05 16:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:43: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-09-05 16: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-05 16:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883254016001,"66":25952,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883254016001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:43:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:43:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883254016001,"power":25952,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":171733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:43:33] local.INFO: GPS data processed {"connection_id":171733,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:43:33] local.INFO: Acknowledgment sent {"connection_id":171733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:43:44] local.INFO: TCP Data received {"connection_id":173128,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:43:44] local.INFO: Processing buffer {"connection_id":173128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:43:44] local.INFO: IMEI packet received {"connection_id":173128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":173128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:43:45] local.INFO: TCP Data received {"connection_id":173128,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:43:45] local.INFO: Processing buffer {"connection_id":173128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:43:45] local.INFO: IMEI packet received {"connection_id":173128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":173128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:43:50] local.INFO: TCP Data received {"connection_id":173128,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:43:50] local.INFO: Processing buffer {"connection_id":173128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:43:50] local.INFO: IMEI packet received {"connection_id":173128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":173128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:43:50] local.INFO: TCP Data received {"connection_id":173128,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07142cf58012d1bcd40072904180038006c25..."} 
[2026-09-05 16:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07142cf58012d1bcd40072904180038006c25..."} 
[2026-09-05 16:43:50] local.INFO: Processing buffer {"connection_id":173128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07142cf58012d1bcd40072904180038006c25..."} 
[2026-09-05 16:43:50] local.INFO: Packet analysis {"connection_id":173128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07142"} 
[2026-09-05 16:43:50] local.INFO: Extracted packet for processing {"connection_id":173128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07142"} 
[2026-09-05 16:43:50] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883283712001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788606599000,"timestamp_ms":1788606599000,"timestamp_seconds":1788606599,"priority":1,"record_length":96,"hex_timestamp":"000001a07142cf58"} 
[2026-09-05 16:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 16:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883283712001,"66":12461,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883283712001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:43:50] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:43:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883283712001,"power":12461,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":173128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:43:50] local.INFO: GPS data processed {"connection_id":173128,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:43:50] local.INFO: Acknowledgment sent {"connection_id":173128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:44:01] local.INFO: TCP Data received {"connection_id":171734,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:44:01] local.INFO: Processing buffer {"connection_id":171734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:44:01] local.INFO: IMEI packet received {"connection_id":171734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":171734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:44:06] local.INFO: TCP Data received {"connection_id":171734,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:44:06] local.INFO: Processing buffer {"connection_id":171734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:44:06] local.INFO: IMEI packet received {"connection_id":171734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":171734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:44:07] local.INFO: TCP Data received {"connection_id":171734,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071454c10012d7b834005f5f000000400b228..."} 
[2026-09-05 16:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071454c10012d7b834005f5f000000400b228..."} 
[2026-09-05 16:44:07] local.INFO: Processing buffer {"connection_id":171734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071454c10012d7b834005f5f000000400b228..."} 
[2026-09-05 16:44:07] local.INFO: Packet analysis {"connection_id":171734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07145"} 
[2026-09-05 16:44:07] local.INFO: Extracted packet for processing {"connection_id":171734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07145"} 
[2026-09-05 16:44:07] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":40,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883254016001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788606762000,"timestamp_ms":1788606762000,"timestamp_seconds":1788606762,"priority":1,"record_length":96,"hex_timestamp":"000001a071454c10"} 
[2026-09-05 16:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:44: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-09-05 16: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-05 16:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883254016001,"66":25952,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883254016001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:44:07] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:44:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883254016001,"power":25952,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":171734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:44:07] local.INFO: GPS data processed {"connection_id":171734,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:44:07] local.INFO: Acknowledgment sent {"connection_id":171734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:44:11] local.INFO: TCP Data received {"connection_id":171734,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071454c10012d7b834005f5f000000400b228..."} 
[2026-09-05 16:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071454c10012d7b834005f5f000000400b228..."} 
[2026-09-05 16:44:11] local.INFO: Processing buffer {"connection_id":171734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071454c10012d7b834005f5f000000400b228..."} 
[2026-09-05 16:44:11] local.INFO: Packet analysis {"connection_id":171734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07145"} 
[2026-09-05 16:44:11] local.INFO: Extracted packet for processing {"connection_id":171734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07145"} 
[2026-09-05 16:44:11] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":40,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883254016001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788606762000,"timestamp_ms":1788606762000,"timestamp_seconds":1788606762,"priority":1,"record_length":96,"hex_timestamp":"000001a071454c10"} 
[2026-09-05 16:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:44: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-09-05 16:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-05 16:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883254016001,"66":25952,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883254016001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:44:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:44:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883254016001,"power":25952,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":171734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:44:11] local.INFO: GPS data processed {"connection_id":171734,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:44:11] local.INFO: Acknowledgment sent {"connection_id":171734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:44:21] local.INFO: TCP Data received {"connection_id":173128,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071432160012d1bcd40072904180038006c27..."} 
[2026-09-05 16:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071432160012d1bcd40072904180038006c27..."} 
[2026-09-05 16:44:21] local.INFO: Processing buffer {"connection_id":173128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071432160012d1bcd40072904180038006c27..."} 
[2026-09-05 16:44:21] local.INFO: Packet analysis {"connection_id":173128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07143"} 
[2026-09-05 16:44:21] local.INFO: Extracted packet for processing {"connection_id":173128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07143"} 
[2026-09-05 16:44:21] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883289344001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788606620000,"timestamp_ms":1788606620000,"timestamp_seconds":1788606620,"priority":1,"record_length":96,"hex_timestamp":"000001a071432160"} 
[2026-09-05 16:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 16:44: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-09-05 16:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883289344001,"66":12428,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883289344001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:44:21] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:44:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883289344001,"power":12428,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":173128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:44:21] local.INFO: GPS data processed {"connection_id":173128,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:44:21] local.INFO: Acknowledgment sent {"connection_id":173128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:44:44] local.INFO: TCP Data received {"connection_id":172018,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:44:44] local.INFO: Processing buffer {"connection_id":172018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:44:44] local.INFO: IMEI packet received {"connection_id":172018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":172018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:44:49] local.INFO: TCP Data received {"connection_id":172018,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:44:49] local.INFO: Processing buffer {"connection_id":172018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:44:49] local.INFO: IMEI packet received {"connection_id":172018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":172018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:44:49] local.INFO: TCP Data received {"connection_id":172018,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:44:49] local.INFO: Processing buffer {"connection_id":172018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:44:49] local.INFO: IMEI packet received {"connection_id":172018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":172018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:44:50] local.INFO: TCP Data received {"connection_id":172018,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071437368012d1bcd40072904180038006c26..."} 
[2026-09-05 16:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071437368012d1bcd40072904180038006c26..."} 
[2026-09-05 16:44:50] local.INFO: Processing buffer {"connection_id":172018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071437368012d1bcd40072904180038006c26..."} 
[2026-09-05 16:44:50] local.INFO: Packet analysis {"connection_id":172018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07143"} 
[2026-09-05 16:44:50] local.INFO: Extracted packet for processing {"connection_id":172018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07143"} 
[2026-09-05 16:44:50] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883294720001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788606641000,"timestamp_ms":1788606641000,"timestamp_seconds":1788606641,"priority":1,"record_length":96,"hex_timestamp":"000001a071437368"} 
[2026-09-05 16:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:44: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-09-05 16:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 16:44:50] 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-09-05 16:44:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883294720001,"66":12504,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883294720001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:44:50] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:44:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883294720001,"power":12504,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":172018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:44:50] local.INFO: GPS data processed {"connection_id":172018,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:44:50] local.INFO: Acknowledgment sent {"connection_id":172018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:44:55] local.INFO: TCP Data received {"connection_id":172018,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07143c188012d1bcd40072904180038006c24..."} 
[2026-09-05 16:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07143c188012d1bcd40072904180038006c24..."} 
[2026-09-05 16:44:55] local.INFO: Processing buffer {"connection_id":172018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07143c188012d1bcd40072904180038006c24..."} 
[2026-09-05 16:44:55] local.INFO: Packet analysis {"connection_id":172018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07143"} 
[2026-09-05 16:44:55] local.INFO: Extracted packet for processing {"connection_id":172018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07143"} 
[2026-09-05 16:44:55] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883300096001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788606661000,"timestamp_ms":1788606661000,"timestamp_seconds":1788606661,"priority":1,"record_length":96,"hex_timestamp":"000001a07143c188"} 
[2026-09-05 16:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:44: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-09-05 16:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 16:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883300096001,"66":12428,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883300096001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:44:55] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:44:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883300096001,"power":12428,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":172018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:44:55] local.INFO: GPS data processed {"connection_id":172018,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:44:55] local.INFO: Acknowledgment sent {"connection_id":172018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:44:56] local.INFO: TCP Data received {"connection_id":174451,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:44:56] local.INFO: Processing buffer {"connection_id":174451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:44:56] local.INFO: IMEI packet received {"connection_id":174451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":174451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:45:01] local.INFO: TCP Data received {"connection_id":174451,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:45:01] local.INFO: Processing buffer {"connection_id":174451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:45:01] local.INFO: IMEI packet received {"connection_id":174451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":174451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:45:02] local.INFO: TCP Data received {"connection_id":174451,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071454c10012d7b834005f5f000000400b228..."} 
[2026-09-05 16:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071454c10012d7b834005f5f000000400b228..."} 
[2026-09-05 16:45:02] local.INFO: Processing buffer {"connection_id":174451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071454c10012d7b834005f5f000000400b228..."} 
[2026-09-05 16:45:02] local.INFO: Packet analysis {"connection_id":174451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07145"} 
[2026-09-05 16:45:02] local.INFO: Extracted packet for processing {"connection_id":174451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07145"} 
[2026-09-05 16:45:02] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":40,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883254016001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788606762000,"timestamp_ms":1788606762000,"timestamp_seconds":1788606762,"priority":1,"record_length":96,"hex_timestamp":"000001a071454c10"} 
[2026-09-05 16:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:45:02] 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-09-05 16: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-05 16:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883254016001,"66":25952,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883254016001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:45:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:45:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883254016001,"power":25952,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":174451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:45:02] local.INFO: GPS data processed {"connection_id":174451,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:45:02] local.INFO: Acknowledgment sent {"connection_id":174451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:45:26] local.INFO: TCP Data received {"connection_id":172018,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071441390012d1bcd40072904180038006c28..."} 
[2026-09-05 16:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071441390012d1bcd40072904180038006c28..."} 
[2026-09-05 16:45:26] local.INFO: Processing buffer {"connection_id":172018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071441390012d1bcd40072904180038006c28..."} 
[2026-09-05 16:45:26] local.INFO: Packet analysis {"connection_id":172018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07144"} 
[2026-09-05 16:45:26] local.INFO: Extracted packet for processing {"connection_id":172018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07144"} 
[2026-09-05 16:45:26] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883305216001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788606682000,"timestamp_ms":1788606682000,"timestamp_seconds":1788606682,"priority":1,"record_length":96,"hex_timestamp":"000001a071441390"} 
[2026-09-05 16:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 16:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883305216001,"66":11874,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883305216001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:45:26] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:45:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883305216001,"power":11874,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":172018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:45:26] local.INFO: GPS data processed {"connection_id":172018,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:45:26] local.INFO: Acknowledgment sent {"connection_id":172018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:45:33] local.INFO: TCP Data received {"connection_id":174451,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071454c10012d7b834005f5f000000400b228..."} 
[2026-09-05 16:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071454c10012d7b834005f5f000000400b228..."} 
[2026-09-05 16:45:33] local.INFO: Processing buffer {"connection_id":174451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071454c10012d7b834005f5f000000400b228..."} 
[2026-09-05 16:45:33] local.INFO: Packet analysis {"connection_id":174451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07145"} 
[2026-09-05 16:45:33] local.INFO: Extracted packet for processing {"connection_id":174451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07145"} 
[2026-09-05 16:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":40,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883254016001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788606762000,"timestamp_ms":1788606762000,"timestamp_seconds":1788606762,"priority":1,"record_length":96,"hex_timestamp":"000001a071454c10"} 
[2026-09-05 16:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:45: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-09-05 16: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-05 16:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883254016001,"66":25952,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883254016001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:45:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:45:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883254016001,"power":25952,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":174451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:45:33] local.INFO: GPS data processed {"connection_id":174451,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:45:33] local.INFO: Acknowledgment sent {"connection_id":174451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:45:49] local.INFO: TCP Data received {"connection_id":172019,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:45:49] local.INFO: Processing buffer {"connection_id":172019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:45:50] local.INFO: IMEI packet received {"connection_id":172019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":172019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:45:51] local.INFO: TCP Data received {"connection_id":172019,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:45:51] local.INFO: Processing buffer {"connection_id":172019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:45:51] local.INFO: IMEI packet received {"connection_id":172019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":172019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:45:52] local.INFO: TCP Data received {"connection_id":172019,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071446598012d1bcd40072904180038006c28..."} 
[2026-09-05 16:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071446598012d1bcd40072904180038006c28..."} 
[2026-09-05 16:45:52] local.INFO: Processing buffer {"connection_id":172019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071446598012d1bcd40072904180038006c28..."} 
[2026-09-05 16:45:52] local.INFO: Packet analysis {"connection_id":172019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07144"} 
[2026-09-05 16:45:52] local.INFO: Extracted packet for processing {"connection_id":172019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07144"} 
[2026-09-05 16:45:52] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883310592001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788606703000,"timestamp_ms":1788606703000,"timestamp_seconds":1788606703,"priority":1,"record_length":96,"hex_timestamp":"000001a071446598"} 
[2026-09-05 16:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-05 16:45:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883310592001,"66":12461,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883310592001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:45:52] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:45:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883310592001,"power":12461,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":172019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:45:52] local.INFO: GPS data processed {"connection_id":172019,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:45:52] local.INFO: Acknowledgment sent {"connection_id":172019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:45:54] local.INFO: TCP Data received {"connection_id":172019,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07144b7a0012d1bcd40072904180038006c29..."} 
[2026-09-05 16:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07144b7a0012d1bcd40072904180038006c29..."} 
[2026-09-05 16:45:54] local.INFO: Processing buffer {"connection_id":172019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07144b7a0012d1bcd40072904180038006c29..."} 
[2026-09-05 16:45:54] local.INFO: Packet analysis {"connection_id":172019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07144"} 
[2026-09-05 16:45:54] local.INFO: Extracted packet for processing {"connection_id":172019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07144"} 
[2026-09-05 16:45:54] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883315968001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788606724000,"timestamp_ms":1788606724000,"timestamp_seconds":1788606724,"priority":1,"record_length":96,"hex_timestamp":"000001a07144b7a0"} 
[2026-09-05 16:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 16:45:54] 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-09-05 16:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883315968001,"66":12461,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883315968001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:45:54] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:45:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883315968001,"power":12461,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":172019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:45:55] local.INFO: GPS data processed {"connection_id":172019,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:45:55] local.INFO: Acknowledgment sent {"connection_id":172019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:45:56] local.INFO: TCP Data received {"connection_id":174452,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:45:56] local.INFO: Processing buffer {"connection_id":174452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:45:56] local.INFO: IMEI packet received {"connection_id":174452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":174452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:46:01] local.INFO: TCP Data received {"connection_id":174452,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:46:01] local.INFO: Processing buffer {"connection_id":174452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:46:01] local.INFO: IMEI packet received {"connection_id":174452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":174452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:46:02] local.INFO: TCP Data received {"connection_id":174452,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071454c10012d7b834005f5f000000400b228..."} 
[2026-09-05 16:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071454c10012d7b834005f5f000000400b228..."} 
[2026-09-05 16:46:02] local.INFO: Processing buffer {"connection_id":174452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071454c10012d7b834005f5f000000400b228..."} 
[2026-09-05 16:46:02] local.INFO: Packet analysis {"connection_id":174452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07145"} 
[2026-09-05 16:46:02] local.INFO: Extracted packet for processing {"connection_id":174452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07145"} 
[2026-09-05 16:46:02] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":40,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883254016001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788606762000,"timestamp_ms":1788606762000,"timestamp_seconds":1788606762,"priority":1,"record_length":96,"hex_timestamp":"000001a071454c10"} 
[2026-09-05 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-09-05 16:46:02] 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-09-05 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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-05 16:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883254016001,"66":25952,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883254016001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:46:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:46:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883254016001,"power":25952,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":174452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:46:02] local.INFO: GPS data processed {"connection_id":174452,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:46:02] local.INFO: Acknowledgment sent {"connection_id":174452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:46:26] local.INFO: TCP Data received {"connection_id":172019,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0714509a8012d1bcd40072904180038006c27..."} 
[2026-09-05 16:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0714509a8012d1bcd40072904180038006c27..."} 
[2026-09-05 16:46:26] local.INFO: Processing buffer {"connection_id":172019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0714509a8012d1bcd40072904180038006c27..."} 
[2026-09-05 16:46:26] local.INFO: Packet analysis {"connection_id":172019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07145"} 
[2026-09-05 16:46:26] local.INFO: Extracted packet for processing {"connection_id":172019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07145"} 
[2026-09-05 16:46:26] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883321344001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788606745000,"timestamp_ms":1788606745000,"timestamp_seconds":1788606745,"priority":1,"record_length":96,"hex_timestamp":"000001a0714509a8"} 
[2026-09-05 16:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 16:46:26] 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-09-05 16:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883321344001,"66":12461,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883321344001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:46:26] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:46:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883321344001,"power":12461,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":172019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:46:26] local.INFO: GPS data processed {"connection_id":172019,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:46:26] local.INFO: Acknowledgment sent {"connection_id":172019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:46:30] local.INFO: TCP Data received {"connection_id":173130,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173130,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:46:30] local.INFO: Processing buffer {"connection_id":173130,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:46:30] local.INFO: IMEI packet received {"connection_id":173130,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":173130,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:46:34] local.INFO: TCP Data received {"connection_id":174452,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071454c10012d7b834005f5f000000400b228..."} 
[2026-09-05 16:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071454c10012d7b834005f5f000000400b228..."} 
[2026-09-05 16:46:34] local.INFO: Processing buffer {"connection_id":174452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071454c10012d7b834005f5f000000400b228..."} 
[2026-09-05 16:46:34] local.INFO: Packet analysis {"connection_id":174452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07145"} 
[2026-09-05 16:46:34] local.INFO: Extracted packet for processing {"connection_id":174452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07145"} 
[2026-09-05 16:46:34] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":40,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883254016001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788606762000,"timestamp_ms":1788606762000,"timestamp_seconds":1788606762,"priority":1,"record_length":96,"hex_timestamp":"000001a071454c10"} 
[2026-09-05 16:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:46: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-09-05 16:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-05 16:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883254016001,"66":25952,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883254016001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:46:34] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:46:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883254016001,"power":25952,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":174452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:46:34] local.INFO: GPS data processed {"connection_id":174452,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:46:34] local.INFO: Acknowledgment sent {"connection_id":174452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:46:45] local.INFO: TCP Data received {"connection_id":171735,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:46:45] local.INFO: Processing buffer {"connection_id":171735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:46:45] local.INFO: IMEI packet received {"connection_id":171735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":171735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:46:48] local.INFO: TCP Data received {"connection_id":171736,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:46:48] local.INFO: Processing buffer {"connection_id":171736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:46:48] local.INFO: IMEI packet received {"connection_id":171736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":171736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:46:50] local.INFO: TCP Data received {"connection_id":171735,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:46:50] local.INFO: Processing buffer {"connection_id":171735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:46:50] local.INFO: IMEI packet received {"connection_id":171735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":171735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:46:50] local.INFO: TCP Data received {"connection_id":171735,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071455bb0012d1bcd40072904180038006c28..."} 
[2026-09-05 16:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071455bb0012d1bcd40072904180038006c28..."} 
[2026-09-05 16:46:50] local.INFO: Processing buffer {"connection_id":171735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071455bb0012d1bcd40072904180038006c28..."} 
[2026-09-05 16:46:50] local.INFO: Packet analysis {"connection_id":171735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07145"} 
[2026-09-05 16:46:50] local.INFO: Extracted packet for processing {"connection_id":171735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07145"} 
[2026-09-05 16:46:50] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883326720001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788606766000,"timestamp_ms":1788606766000,"timestamp_seconds":1788606766,"priority":1,"record_length":96,"hex_timestamp":"000001a071455bb0"} 
[2026-09-05 16:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:46: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-09-05 16:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 16:46:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:46:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883326720001,"66":12461,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883326720001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:46:50] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:46:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883326720001,"power":12461,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":171735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:46:50] local.INFO: GPS data processed {"connection_id":171735,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:46:50] local.INFO: Acknowledgment sent {"connection_id":171735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:46:55] local.INFO: TCP Data received {"connection_id":171735,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07145adb8012d1bcd40072904180038006c25..."} 
[2026-09-05 16:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07145adb8012d1bcd40072904180038006c25..."} 
[2026-09-05 16:46:55] local.INFO: Processing buffer {"connection_id":171735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07145adb8012d1bcd40072904180038006c25..."} 
[2026-09-05 16:46:55] local.INFO: Packet analysis {"connection_id":171735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07145"} 
[2026-09-05 16:46:55] local.INFO: Extracted packet for processing {"connection_id":171735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07145"} 
[2026-09-05 16:46:55] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883332096001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788606787000,"timestamp_ms":1788606787000,"timestamp_seconds":1788606787,"priority":1,"record_length":96,"hex_timestamp":"000001a07145adb8"} 
[2026-09-05 16:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:46: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-09-05 16:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 16:46:55] 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-09-05 16:46:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883332096001,"66":12461,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883332096001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:46:55] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:46:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883332096001,"power":12461,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":171735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:46:55] local.INFO: GPS data processed {"connection_id":171735,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:46:55] local.INFO: Acknowledgment sent {"connection_id":171735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:46:56] local.INFO: TCP Data received {"connection_id":174453,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:46:56] local.INFO: Processing buffer {"connection_id":174453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:46:56] local.INFO: IMEI packet received {"connection_id":174453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":174453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:47:01] local.INFO: TCP Data received {"connection_id":174453,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:47:01] local.INFO: Processing buffer {"connection_id":174453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:47:01] local.INFO: IMEI packet received {"connection_id":174453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":174453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:47:02] local.INFO: TCP Data received {"connection_id":174453,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071454c10012d7b834005f5f000000400b228..."} 
[2026-09-05 16:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071454c10012d7b834005f5f000000400b228..."} 
[2026-09-05 16:47:02] local.INFO: Processing buffer {"connection_id":174453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071454c10012d7b834005f5f000000400b228..."} 
[2026-09-05 16:47:02] local.INFO: Packet analysis {"connection_id":174453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07145"} 
[2026-09-05 16:47:02] local.INFO: Extracted packet for processing {"connection_id":174453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07145"} 
[2026-09-05 16:47:02] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":40,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883254016001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788606762000,"timestamp_ms":1788606762000,"timestamp_seconds":1788606762,"priority":1,"record_length":96,"hex_timestamp":"000001a071454c10"} 
[2026-09-05 16:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:47:02] 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-09-05 16:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-05 16:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883254016001,"66":25952,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883254016001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:47:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:47:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883254016001,"power":25952,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":174453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:47:02] local.INFO: GPS data processed {"connection_id":174453,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:47:02] local.INFO: Acknowledgment sent {"connection_id":174453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:47:26] local.INFO: TCP Data received {"connection_id":171735,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07145ffc0012d1bcd40072904180038006c22..."} 
[2026-09-05 16:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07145ffc0012d1bcd40072904180038006c22..."} 
[2026-09-05 16:47:26] local.INFO: Processing buffer {"connection_id":171735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07145ffc0012d1bcd40072904180038006c22..."} 
[2026-09-05 16:47:26] local.INFO: Packet analysis {"connection_id":171735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07145"} 
[2026-09-05 16:47:26] local.INFO: Extracted packet for processing {"connection_id":171735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07145"} 
[2026-09-05 16:47:26] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":34,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883337472001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788606808000,"timestamp_ms":1788606808000,"timestamp_seconds":1788606808,"priority":1,"record_length":96,"hex_timestamp":"000001a07145ffc0"} 
[2026-09-05 16:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 16:47:26] 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-09-05 16:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883337472001,"66":12461,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883337472001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:47:26] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:47:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883337472001,"power":12461,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":171735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:47:26] local.INFO: GPS data processed {"connection_id":171735,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:47:26] local.INFO: Acknowledgment sent {"connection_id":171735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:47:33] local.INFO: TCP Data received {"connection_id":174453,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071454c10012d7b834005f5f000000400b228..."} 
[2026-09-05 16:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071454c10012d7b834005f5f000000400b228..."} 
[2026-09-05 16:47:33] local.INFO: Processing buffer {"connection_id":174453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071454c10012d7b834005f5f000000400b228..."} 
[2026-09-05 16:47:33] local.INFO: Packet analysis {"connection_id":174453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07145"} 
[2026-09-05 16:47:33] local.INFO: Extracted packet for processing {"connection_id":174453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07145"} 
[2026-09-05 16:47:33] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":40,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883254016001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788606762000,"timestamp_ms":1788606762000,"timestamp_seconds":1788606762,"priority":1,"record_length":96,"hex_timestamp":"000001a071454c10"} 
[2026-09-05 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-09-05 16:47: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-09-05 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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-05 16:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883254016001,"66":25952,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883254016001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:47:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:47:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883254016001,"power":25952,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":174453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:47:33] local.INFO: GPS data processed {"connection_id":174453,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:47:33] local.INFO: Acknowledgment sent {"connection_id":174453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:47:45] local.INFO: TCP Data received {"connection_id":172020,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:47:45] local.INFO: Processing buffer {"connection_id":172020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:47:45] local.INFO: IMEI packet received {"connection_id":172020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":172020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:47:50] local.INFO: TCP Data received {"connection_id":172020,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:47:50] local.INFO: Processing buffer {"connection_id":172020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:47:50] local.INFO: IMEI packet received {"connection_id":172020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":172020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:47:50] local.INFO: TCP Data received {"connection_id":172020,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0714651c8012d1bcd40072904180038006c24..."} 
[2026-09-05 16:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0714651c8012d1bcd40072904180038006c24..."} 
[2026-09-05 16:47:50] local.INFO: Processing buffer {"connection_id":172020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0714651c8012d1bcd40072904180038006c24..."} 
[2026-09-05 16:47:50] local.INFO: Packet analysis {"connection_id":172020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07146"} 
[2026-09-05 16:47:50] local.INFO: Extracted packet for processing {"connection_id":172020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07146"} 
[2026-09-05 16:47:50] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883342848001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788606829000,"timestamp_ms":1788606829000,"timestamp_seconds":1788606829,"priority":1,"record_length":96,"hex_timestamp":"000001a0714651c8"} 
[2026-09-05 16:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 16:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883342848001,"66":12461,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883342848001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:47:50] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:47:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883342848001,"power":12461,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":172020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:47:50] local.INFO: GPS data processed {"connection_id":172020,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:47:50] local.INFO: Acknowledgment sent {"connection_id":172020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:47:56] local.INFO: TCP Data received {"connection_id":173131,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:47:56] local.INFO: Processing buffer {"connection_id":173131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:47:56] local.INFO: IMEI packet received {"connection_id":173131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":173131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:48:01] local.INFO: TCP Data received {"connection_id":173131,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:48:01] local.INFO: Processing buffer {"connection_id":173131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:48:01] local.INFO: IMEI packet received {"connection_id":173131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":173131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:48:02] local.INFO: TCP Data received {"connection_id":173131,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071454c10012d7b834005f5f000000400b228..."} 
[2026-09-05 16:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071454c10012d7b834005f5f000000400b228..."} 
[2026-09-05 16:48:02] local.INFO: Processing buffer {"connection_id":173131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071454c10012d7b834005f5f000000400b228..."} 
[2026-09-05 16:48:02] local.INFO: Packet analysis {"connection_id":173131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07145"} 
[2026-09-05 16:48:02] local.INFO: Extracted packet for processing {"connection_id":173131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07145"} 
[2026-09-05 16:48:02] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":40,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883254016001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788606762000,"timestamp_ms":1788606762000,"timestamp_seconds":1788606762,"priority":1,"record_length":96,"hex_timestamp":"000001a071454c10"} 
[2026-09-05 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-09-05 16:48:02] 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-09-05 16:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-05 16:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883254016001,"66":25952,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883254016001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:48:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:48:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883254016001,"power":25952,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":173131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:48:02] local.INFO: GPS data processed {"connection_id":173131,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:48:02] local.INFO: Acknowledgment sent {"connection_id":173131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:48:21] local.INFO: TCP Data received {"connection_id":172020,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07146a3d0012d1bcd40072904180038006c26..."} 
[2026-09-05 16:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07146a3d0012d1bcd40072904180038006c26..."} 
[2026-09-05 16:48:21] local.INFO: Processing buffer {"connection_id":172020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07146a3d0012d1bcd40072904180038006c26..."} 
[2026-09-05 16:48:21] local.INFO: Packet analysis {"connection_id":172020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07146"} 
[2026-09-05 16:48:21] local.INFO: Extracted packet for processing {"connection_id":172020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07146"} 
[2026-09-05 16:48:21] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883348224001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788606850000,"timestamp_ms":1788606850000,"timestamp_seconds":1788606850,"priority":1,"record_length":96,"hex_timestamp":"000001a07146a3d0"} 
[2026-09-05 16:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:48: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-09-05 16:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 16:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883348224001,"66":12461,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883348224001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:48:21] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:48:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883348224001,"power":12461,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":172020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:48:21] local.INFO: GPS data processed {"connection_id":172020,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:48:21] local.INFO: Acknowledgment sent {"connection_id":172020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:48:33] local.INFO: TCP Data received {"connection_id":173131,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07149e3d8012d7b834005f5f000000400b22c..."} 
[2026-09-05 16:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07149e3d8012d7b834005f5f000000400b22c..."} 
[2026-09-05 16:48:33] local.INFO: Processing buffer {"connection_id":173131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07149e3d8012d7b834005f5f000000400b22c..."} 
[2026-09-05 16:48:33] local.INFO: Packet analysis {"connection_id":173131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07149"} 
[2026-09-05 16:48:33] local.INFO: Extracted packet for processing {"connection_id":173131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07149"} 
[2026-09-05 16:48:33] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":44,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883331072001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788607063000,"timestamp_ms":1788607063000,"timestamp_seconds":1788607063,"priority":1,"record_length":96,"hex_timestamp":"000001a07149e3d8"} 
[2026-09-05 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-09-05 16:48: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-09-05 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 16:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 16:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883331072001,"66":25875,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883331072001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:48:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:48:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883331072001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":173131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:48:33] local.INFO: GPS data processed {"connection_id":173131,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:48:33] local.INFO: Acknowledgment sent {"connection_id":173131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:48:44] local.INFO: TCP Data received {"connection_id":174454,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:48:44] local.INFO: Processing buffer {"connection_id":174454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:48:44] local.INFO: IMEI packet received {"connection_id":174454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":174454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:48:49] local.INFO: TCP Data received {"connection_id":174454,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:48:50] local.INFO: Processing buffer {"connection_id":174454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:48:50] local.INFO: IMEI packet received {"connection_id":174454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":174454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:48:50] local.INFO: TCP Data received {"connection_id":174454,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07146f5d8012d1bcd40072904180038006c23..."} 
[2026-09-05 16:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07146f5d8012d1bcd40072904180038006c23..."} 
[2026-09-05 16:48:50] local.INFO: Processing buffer {"connection_id":174454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07146f5d8012d1bcd40072904180038006c23..."} 
[2026-09-05 16:48:50] local.INFO: Packet analysis {"connection_id":174454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07146"} 
[2026-09-05 16:48:50] local.INFO: Extracted packet for processing {"connection_id":174454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07146"} 
[2026-09-05 16:48:50] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883353600001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788606871000,"timestamp_ms":1788606871000,"timestamp_seconds":1788606871,"priority":1,"record_length":96,"hex_timestamp":"000001a07146f5d8"} 
[2026-09-05 16:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:48: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-09-05 16:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 16:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883353600001,"66":12461,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883353600001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:48:50] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:48:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883353600001,"power":12461,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":174454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:48:50] local.INFO: GPS data processed {"connection_id":174454,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:48:50] local.INFO: Acknowledgment sent {"connection_id":174454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:49:01] local.INFO: TCP Data received {"connection_id":171739,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:49:01] local.INFO: Processing buffer {"connection_id":171739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:49:01] local.INFO: IMEI packet received {"connection_id":171739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":171739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:49:06] local.INFO: TCP Data received {"connection_id":171739,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:49:06] local.INFO: Processing buffer {"connection_id":171739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:49:06] local.INFO: IMEI packet received {"connection_id":171739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":171739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:49:07] local.INFO: TCP Data received {"connection_id":171739,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07149e3d8012d7b834005f5f000000400b22c..."} 
[2026-09-05 16:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07149e3d8012d7b834005f5f000000400b22c..."} 
[2026-09-05 16:49:07] local.INFO: Processing buffer {"connection_id":171739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07149e3d8012d7b834005f5f000000400b22c..."} 
[2026-09-05 16:49:07] local.INFO: Packet analysis {"connection_id":171739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07149"} 
[2026-09-05 16:49:07] local.INFO: Extracted packet for processing {"connection_id":171739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07149"} 
[2026-09-05 16:49:07] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":44,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883331072001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788607063000,"timestamp_ms":1788607063000,"timestamp_seconds":1788607063,"priority":1,"record_length":96,"hex_timestamp":"000001a07149e3d8"} 
[2026-09-05 16:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:49: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-09-05 16: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 16:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883331072001,"66":25875,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883331072001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:49:07] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:49:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883331072001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":171739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:49:07] local.INFO: GPS data processed {"connection_id":171739,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:49:07] local.INFO: Acknowledgment sent {"connection_id":171739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:49:11] local.INFO: TCP Data received {"connection_id":171739,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07149e3d8012d7b834005f5f000000400b22c..."} 
[2026-09-05 16:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07149e3d8012d7b834005f5f000000400b22c..."} 
[2026-09-05 16:49:11] local.INFO: Processing buffer {"connection_id":171739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07149e3d8012d7b834005f5f000000400b22c..."} 
[2026-09-05 16:49:11] local.INFO: Packet analysis {"connection_id":171739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07149"} 
[2026-09-05 16:49:11] local.INFO: Extracted packet for processing {"connection_id":171739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07149"} 
[2026-09-05 16:49:11] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":44,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883331072001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788607063000,"timestamp_ms":1788607063000,"timestamp_seconds":1788607063,"priority":1,"record_length":96,"hex_timestamp":"000001a07149e3d8"} 
[2026-09-05 16:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:49: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-09-05 16:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 16:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883331072001,"66":25875,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883331072001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:49:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:49:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883331072001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":171739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:49:11] local.INFO: GPS data processed {"connection_id":171739,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:49:11] local.INFO: Acknowledgment sent {"connection_id":171739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:49:22] local.INFO: TCP Data received {"connection_id":174454,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071474bc8012d1bcd40072904180038006c27..."} 
[2026-09-05 16:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071474bc8012d1bcd40072904180038006c27..."} 
[2026-09-05 16:49:22] local.INFO: Processing buffer {"connection_id":174454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071474bc8012d1bcd40072904180038006c27..."} 
[2026-09-05 16:49:22] local.INFO: Packet analysis {"connection_id":174454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07147"} 
[2026-09-05 16:49:22] local.INFO: Extracted packet for processing {"connection_id":174454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07147"} 
[2026-09-05 16:49:22] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883358976001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788606893000,"timestamp_ms":1788606893000,"timestamp_seconds":1788606893,"priority":1,"record_length":96,"hex_timestamp":"000001a071474bc8"} 
[2026-09-05 16:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 16:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883358976001,"66":12461,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883358976001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:49:22] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:49:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883358976001,"power":12461,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":174454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:49:22] local.INFO: GPS data processed {"connection_id":174454,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:49:22] local.INFO: Acknowledgment sent {"connection_id":174454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:49:42] local.INFO: TCP Data received {"connection_id":174455,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:49:42] local.INFO: Processing buffer {"connection_id":174455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:49:42] local.INFO: IMEI packet received {"connection_id":174455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":174455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:49:44] local.INFO: TCP Data received {"connection_id":174455,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:49:44] local.INFO: Processing buffer {"connection_id":174455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:49:44] local.INFO: IMEI packet received {"connection_id":174455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":174455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:49:50] local.INFO: TCP Data received {"connection_id":174455,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:49:50] local.INFO: Processing buffer {"connection_id":174455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:49:50] local.INFO: IMEI packet received {"connection_id":174455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":174455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:49:51] local.INFO: TCP Data received {"connection_id":174455,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071479dd0012d1bcd40072904180038006c28..."} 
[2026-09-05 16:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071479dd0012d1bcd40072904180038006c28..."} 
[2026-09-05 16:49:51] local.INFO: Processing buffer {"connection_id":174455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071479dd0012d1bcd40072904180038006c28..."} 
[2026-09-05 16:49:51] local.INFO: Packet analysis {"connection_id":174455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07147"} 
[2026-09-05 16:49:51] local.INFO: Extracted packet for processing {"connection_id":174455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07147"} 
[2026-09-05 16:49:51] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883364608001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788606914000,"timestamp_ms":1788606914000,"timestamp_seconds":1788606914,"priority":1,"record_length":96,"hex_timestamp":"000001a071479dd0"} 
[2026-09-05 16:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 16:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883364608001,"66":12406,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883364608001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:49:51] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:49:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883364608001,"power":12406,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":174455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:49:51] local.INFO: GPS data processed {"connection_id":174455,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:49:51] local.INFO: Acknowledgment sent {"connection_id":174455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:49:55] local.INFO: TCP Data received {"connection_id":174455,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07147ebf0012d1bcd40072904180038006c25..."} 
[2026-09-05 16:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07147ebf0012d1bcd40072904180038006c25..."} 
[2026-09-05 16:49:55] local.INFO: Processing buffer {"connection_id":174455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07147ebf0012d1bcd40072904180038006c25..."} 
[2026-09-05 16:49:55] local.INFO: Packet analysis {"connection_id":174455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07147"} 
[2026-09-05 16:49:55] local.INFO: Extracted packet for processing {"connection_id":174455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07147"} 
[2026-09-05 16:49:55] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883369984001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788606934000,"timestamp_ms":1788606934000,"timestamp_seconds":1788606934,"priority":1,"record_length":96,"hex_timestamp":"000001a07147ebf0"} 
[2026-09-05 16:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 16:49:55] 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-09-05 16:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883369984001,"66":12461,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883369984001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:49:55] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:49:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883369984001,"power":12461,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":174455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:49:55] local.INFO: GPS data processed {"connection_id":174455,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:49:55] local.INFO: Acknowledgment sent {"connection_id":174455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:49:56] local.INFO: TCP Data received {"connection_id":174456,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:49:56] local.INFO: Processing buffer {"connection_id":174456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:49:56] local.INFO: IMEI packet received {"connection_id":174456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":174456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:50:01] local.INFO: TCP Data received {"connection_id":174456,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:50:01] local.INFO: Processing buffer {"connection_id":174456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:50:01] local.INFO: IMEI packet received {"connection_id":174456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":174456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:50:02] local.INFO: TCP Data received {"connection_id":174456,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07149e3d8012d7b834005f5f000000400b22c..."} 
[2026-09-05 16:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07149e3d8012d7b834005f5f000000400b22c..."} 
[2026-09-05 16:50:02] local.INFO: Processing buffer {"connection_id":174456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07149e3d8012d7b834005f5f000000400b22c..."} 
[2026-09-05 16:50:02] local.INFO: Packet analysis {"connection_id":174456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07149"} 
[2026-09-05 16:50:02] local.INFO: Extracted packet for processing {"connection_id":174456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07149"} 
[2026-09-05 16:50:02] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":44,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883331072001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788607063000,"timestamp_ms":1788607063000,"timestamp_seconds":1788607063,"priority":1,"record_length":96,"hex_timestamp":"000001a07149e3d8"} 
[2026-09-05 16:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:50:02] 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-09-05 16:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 16:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883331072001,"66":25875,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883331072001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:50:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:50:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883331072001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":174456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:50:02] local.INFO: GPS data processed {"connection_id":174456,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:50:02] local.INFO: Acknowledgment sent {"connection_id":174456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:50:26] local.INFO: TCP Data received {"connection_id":174455,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071483df8012d1bcd40072904180038006c28..."} 
[2026-09-05 16:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071483df8012d1bcd40072904180038006c28..."} 
[2026-09-05 16:50:26] local.INFO: Processing buffer {"connection_id":174455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071483df8012d1bcd40072904180038006c28..."} 
[2026-09-05 16:50:26] local.INFO: Packet analysis {"connection_id":174455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07148"} 
[2026-09-05 16:50:26] local.INFO: Extracted packet for processing {"connection_id":174455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07148"} 
[2026-09-05 16:50:26] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883375104001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788606955000,"timestamp_ms":1788606955000,"timestamp_seconds":1788606955,"priority":1,"record_length":96,"hex_timestamp":"000001a071483df8"} 
[2026-09-05 16:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 16:50:26] 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-09-05 16:50:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883375104001,"66":12439,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883375104001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:50:26] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:50:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883375104001,"power":12439,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":174455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:50:26] local.INFO: GPS data processed {"connection_id":174455,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:50:26] local.INFO: Acknowledgment sent {"connection_id":174455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:50:33] local.INFO: TCP Data received {"connection_id":174456,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07149e3d8012d7b834005f5f000000400b22c..."} 
[2026-09-05 16:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07149e3d8012d7b834005f5f000000400b22c..."} 
[2026-09-05 16:50:33] local.INFO: Processing buffer {"connection_id":174456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07149e3d8012d7b834005f5f000000400b22c..."} 
[2026-09-05 16:50:33] local.INFO: Packet analysis {"connection_id":174456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07149"} 
[2026-09-05 16:50:33] local.INFO: Extracted packet for processing {"connection_id":174456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07149"} 
[2026-09-05 16:50:33] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":44,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883331072001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788607063000,"timestamp_ms":1788607063000,"timestamp_seconds":1788607063,"priority":1,"record_length":96,"hex_timestamp":"000001a07149e3d8"} 
[2026-09-05 16:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:50: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-09-05 16: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 16:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883331072001,"66":25875,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883331072001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:50:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:50:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883331072001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":174456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:50:33] local.INFO: GPS data processed {"connection_id":174456,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:50:33] local.INFO: Acknowledgment sent {"connection_id":174456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:50:45] local.INFO: TCP Data received {"connection_id":172021,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:50:45] local.INFO: Processing buffer {"connection_id":172021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:50:45] local.INFO: IMEI packet received {"connection_id":172021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":172021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:50:45] local.INFO: TCP Data received {"connection_id":172021,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:50:45] local.INFO: Processing buffer {"connection_id":172021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:50:45] local.INFO: IMEI packet received {"connection_id":172021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":172021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:50:49] local.INFO: TCP Data received {"connection_id":172021,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:50:50] local.INFO: Processing buffer {"connection_id":172021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:50:50] local.INFO: IMEI packet received {"connection_id":172021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":172021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:50:50] local.INFO: TCP Data received {"connection_id":172021,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071489000012d1bcd40072904180038006c21..."} 
[2026-09-05 16:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071489000012d1bcd40072904180038006c21..."} 
[2026-09-05 16:50:50] local.INFO: Processing buffer {"connection_id":172021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071489000012d1bcd40072904180038006c21..."} 
[2026-09-05 16:50:50] local.INFO: Packet analysis {"connection_id":172021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07148"} 
[2026-09-05 16:50:50] local.INFO: Extracted packet for processing {"connection_id":172021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07148"} 
[2026-09-05 16:50:50] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":33,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883380480001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788606976000,"timestamp_ms":1788606976000,"timestamp_seconds":1788606976,"priority":1,"record_length":96,"hex_timestamp":"000001a071489000"} 
[2026-09-05 16:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:50: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-09-05 16:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 16:50:50] 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-09-05 16:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883380480001,"66":12406,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883380480001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:50:50] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:50:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883380480001,"power":12406,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":172021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:50:50] local.INFO: GPS data processed {"connection_id":172021,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:50:50] local.INFO: Acknowledgment sent {"connection_id":172021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:50:56] local.INFO: TCP Data received {"connection_id":173132,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:50:56] local.INFO: Processing buffer {"connection_id":173132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:50:56] local.INFO: IMEI packet received {"connection_id":173132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":173132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:51:01] local.INFO: TCP Data received {"connection_id":173132,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:51:01] local.INFO: Processing buffer {"connection_id":173132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:51:01] local.INFO: IMEI packet received {"connection_id":173132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":173132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:51:02] local.INFO: TCP Data received {"connection_id":173132,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07149e3d8012d7b834005f5f000000400b22c..."} 
[2026-09-05 16:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07149e3d8012d7b834005f5f000000400b22c..."} 
[2026-09-05 16:51:02] local.INFO: Processing buffer {"connection_id":173132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07149e3d8012d7b834005f5f000000400b22c..."} 
[2026-09-05 16:51:02] local.INFO: Packet analysis {"connection_id":173132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07149"} 
[2026-09-05 16:51:02] local.INFO: Extracted packet for processing {"connection_id":173132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07149"} 
[2026-09-05 16:51:02] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":44,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883331072001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788607063000,"timestamp_ms":1788607063000,"timestamp_seconds":1788607063,"priority":1,"record_length":96,"hex_timestamp":"000001a07149e3d8"} 
[2026-09-05 16:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:51:02] 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-09-05 16:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 16:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883331072001,"66":25875,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883331072001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:51:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:51:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883331072001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":173132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:51:02] local.INFO: GPS data processed {"connection_id":173132,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:51:02] local.INFO: Acknowledgment sent {"connection_id":173132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:51:21] local.INFO: TCP Data received {"connection_id":172021,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07148e208012d1bcd40072904180038006c25..."} 
[2026-09-05 16:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07148e208012d1bcd40072904180038006c25..."} 
[2026-09-05 16:51:21] local.INFO: Processing buffer {"connection_id":172021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07148e208012d1bcd40072904180038006c25..."} 
[2026-09-05 16:51:21] local.INFO: Packet analysis {"connection_id":172021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07148"} 
[2026-09-05 16:51:21] local.INFO: Extracted packet for processing {"connection_id":172021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07148"} 
[2026-09-05 16:51:21] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883385856001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788606997000,"timestamp_ms":1788606997000,"timestamp_seconds":1788606997,"priority":1,"record_length":96,"hex_timestamp":"000001a07148e208"} 
[2026-09-05 16:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 16:51:21] 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-09-05 16:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883385856001,"66":11330,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883385856001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:51:21] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:51:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883385856001,"power":11330,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":172021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:51:22] local.INFO: GPS data processed {"connection_id":172021,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:51:22] local.INFO: Acknowledgment sent {"connection_id":172021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:51:33] local.INFO: TCP Data received {"connection_id":173132,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07149e3d8012d7b834005f5f000000400b22c..."} 
[2026-09-05 16:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07149e3d8012d7b834005f5f000000400b22c..."} 
[2026-09-05 16:51:33] local.INFO: Processing buffer {"connection_id":173132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07149e3d8012d7b834005f5f000000400b22c..."} 
[2026-09-05 16:51:33] local.INFO: Packet analysis {"connection_id":173132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07149"} 
[2026-09-05 16:51:33] local.INFO: Extracted packet for processing {"connection_id":173132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07149"} 
[2026-09-05 16:51:33] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":44,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883331072001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788607063000,"timestamp_ms":1788607063000,"timestamp_seconds":1788607063,"priority":1,"record_length":96,"hex_timestamp":"000001a07149e3d8"} 
[2026-09-05 16:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:51: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-09-05 16: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 16:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883331072001,"66":25875,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883331072001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:51:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:51:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883331072001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":173132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:51:33] local.INFO: GPS data processed {"connection_id":173132,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:51:33] local.INFO: Acknowledgment sent {"connection_id":173132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:51:44] local.INFO: TCP Data received {"connection_id":174459,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:51:44] local.INFO: Processing buffer {"connection_id":174459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:51:44] local.INFO: IMEI packet received {"connection_id":174459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":174459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:51:49] local.INFO: TCP Data received {"connection_id":174459,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:51:49] local.INFO: Processing buffer {"connection_id":174459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:51:49] local.INFO: IMEI packet received {"connection_id":174459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":174459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:51:49] local.INFO: TCP Data received {"connection_id":174459,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0714c6860012d1bcd40072904180038006c28..."} 
[2026-09-05 16:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0714c6860012d1bcd40072904180038006c28..."} 
[2026-09-05 16:51:49] local.INFO: Processing buffer {"connection_id":174459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0714c6860012d1bcd40072904180038006c28..."} 
[2026-09-05 16:51:49] local.INFO: Packet analysis {"connection_id":174459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0714c"} 
[2026-09-05 16:51:49] local.INFO: Extracted packet for processing {"connection_id":174459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0714c"} 
[2026-09-05 16:51:49] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883445248001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788607228000,"timestamp_ms":1788607228000,"timestamp_seconds":1788607228,"priority":1,"record_length":96,"hex_timestamp":"000001a0714c6860"} 
[2026-09-05 16:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 16:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883445248001,"66":12461,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883445248001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:51:49] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:51:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883445248001,"power":12461,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":174459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:51:49] local.INFO: GPS data processed {"connection_id":174459,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:51:49] local.INFO: Acknowledgment sent {"connection_id":174459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:51:56] local.INFO: TCP Data received {"connection_id":174460,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:51:56] local.INFO: Processing buffer {"connection_id":174460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:51:56] local.INFO: IMEI packet received {"connection_id":174460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":174460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:52:01] local.INFO: TCP Data received {"connection_id":174460,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:52:01] local.INFO: Processing buffer {"connection_id":174460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:52:01] local.INFO: IMEI packet received {"connection_id":174460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":174460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:52:02] local.INFO: TCP Data received {"connection_id":174460,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07149e3d8012d7b834005f5f000000400b22c..."} 
[2026-09-05 16:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07149e3d8012d7b834005f5f000000400b22c..."} 
[2026-09-05 16:52:02] local.INFO: Processing buffer {"connection_id":174460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07149e3d8012d7b834005f5f000000400b22c..."} 
[2026-09-05 16:52:02] local.INFO: Packet analysis {"connection_id":174460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07149"} 
[2026-09-05 16:52:02] local.INFO: Extracted packet for processing {"connection_id":174460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07149"} 
[2026-09-05 16:52:02] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":44,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883331072001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788607063000,"timestamp_ms":1788607063000,"timestamp_seconds":1788607063,"priority":1,"record_length":96,"hex_timestamp":"000001a07149e3d8"} 
[2026-09-05 16:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:52:02] 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-09-05 16:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 16:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883331072001,"66":25875,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883331072001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:52:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:52:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883331072001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":174460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:52:02] local.INFO: GPS data processed {"connection_id":174460,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:52:02] local.INFO: Acknowledgment sent {"connection_id":174460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:52:20] local.INFO: TCP Data received {"connection_id":174459,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0714cba68012d1bcd40072904180038006c28..."} 
[2026-09-05 16:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0714cba68012d1bcd40072904180038006c28..."} 
[2026-09-05 16:52:20] local.INFO: Processing buffer {"connection_id":174459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0714cba68012d1bcd40072904180038006c28..."} 
[2026-09-05 16:52:20] local.INFO: Packet analysis {"connection_id":174459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0714c"} 
[2026-09-05 16:52:20] local.INFO: Extracted packet for processing {"connection_id":174459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0714c"} 
[2026-09-05 16:52:20] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883450368001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788607249000,"timestamp_ms":1788607249000,"timestamp_seconds":1788607249,"priority":1,"record_length":96,"hex_timestamp":"000001a0714cba68"} 
[2026-09-05 16:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 16:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:52:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883450368001,"66":12428,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883450368001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:52:20] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:52:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883450368001,"power":12428,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":174459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:52:20] local.INFO: GPS data processed {"connection_id":174459,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:52:20] local.INFO: Acknowledgment sent {"connection_id":174459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:52:33] local.INFO: TCP Data received {"connection_id":174460,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07149e3d8012d7b834005f5f000000400b22c..."} 
[2026-09-05 16:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07149e3d8012d7b834005f5f000000400b22c..."} 
[2026-09-05 16:52:33] local.INFO: Processing buffer {"connection_id":174460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07149e3d8012d7b834005f5f000000400b22c..."} 
[2026-09-05 16:52:33] local.INFO: Packet analysis {"connection_id":174460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07149"} 
[2026-09-05 16:52:33] local.INFO: Extracted packet for processing {"connection_id":174460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07149"} 
[2026-09-05 16:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":44,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883331072001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788607063000,"timestamp_ms":1788607063000,"timestamp_seconds":1788607063,"priority":1,"record_length":96,"hex_timestamp":"000001a07149e3d8"} 
[2026-09-05 16:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:52: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-09-05 16: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 16:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883331072001,"66":25875,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883331072001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:52:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:52:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883331072001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":174460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:52:33] local.INFO: GPS data processed {"connection_id":174460,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:52:33] local.INFO: Acknowledgment sent {"connection_id":174460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:52:44] local.INFO: TCP Data received {"connection_id":172022,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:52:44] local.INFO: Processing buffer {"connection_id":172022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:52:44] local.INFO: IMEI packet received {"connection_id":172022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":172022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:52:49] local.INFO: TCP Data received {"connection_id":172022,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:52:49] local.INFO: Processing buffer {"connection_id":172022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:52:49] local.INFO: IMEI packet received {"connection_id":172022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":172022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:52:51] local.INFO: TCP Data received {"connection_id":172022,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0714d0c70012d1bcd40072904180038006c29..."} 
[2026-09-05 16:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0714d0c70012d1bcd40072904180038006c29..."} 
[2026-09-05 16:52:51] local.INFO: Processing buffer {"connection_id":172022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0714d0c70012d1bcd40072904180038006c29..."} 
[2026-09-05 16:52:51] local.INFO: Packet analysis {"connection_id":172022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0714d"} 
[2026-09-05 16:52:51] local.INFO: Extracted packet for processing {"connection_id":172022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0714d"} 
[2026-09-05 16:52:51] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883455744001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788607270000,"timestamp_ms":1788607270000,"timestamp_seconds":1788607270,"priority":1,"record_length":96,"hex_timestamp":"000001a0714d0c70"} 
[2026-09-05 16:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 16:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883455744001,"66":12428,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883455744001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:52:51] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:52:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883455744001,"power":12428,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":172022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:52:51] local.INFO: GPS data processed {"connection_id":172022,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:52:51] local.INFO: Acknowledgment sent {"connection_id":172022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:52:55] local.INFO: TCP Data received {"connection_id":174461,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:52:55] local.INFO: Processing buffer {"connection_id":174461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:52:55] local.INFO: IMEI packet received {"connection_id":174461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":174461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:53:02] local.INFO: TCP Data received {"connection_id":174461,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:53:02] local.INFO: Processing buffer {"connection_id":174461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:53:02] local.INFO: IMEI packet received {"connection_id":174461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":174461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:53:02] local.INFO: TCP Data received {"connection_id":174461,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07149e3d8012d7b834005f5f000000400b22c..."} 
[2026-09-05 16:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07149e3d8012d7b834005f5f000000400b22c..."} 
[2026-09-05 16:53:02] local.INFO: Processing buffer {"connection_id":174461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07149e3d8012d7b834005f5f000000400b22c..."} 
[2026-09-05 16:53:02] local.INFO: Packet analysis {"connection_id":174461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07149"} 
[2026-09-05 16:53:02] local.INFO: Extracted packet for processing {"connection_id":174461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07149"} 
[2026-09-05 16:53:02] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":44,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883331072001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788607063000,"timestamp_ms":1788607063000,"timestamp_seconds":1788607063,"priority":1,"record_length":96,"hex_timestamp":"000001a07149e3d8"} 
[2026-09-05 16:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:53:02] 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-09-05 16: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 16:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883331072001,"66":25875,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883331072001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:53:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:53:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883331072001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":174461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:53:02] local.INFO: GPS data processed {"connection_id":174461,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:53:02] local.INFO: Acknowledgment sent {"connection_id":174461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:53:17] local.INFO: TCP Data received {"connection_id":171740,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171740,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:53:17] local.INFO: Processing buffer {"connection_id":171740,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:53:17] local.INFO: IMEI packet received {"connection_id":171740,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":171740,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:53:22] local.INFO: TCP Data received {"connection_id":172022,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0714d5e78012d1bcd40072904180038006c25..."} 
[2026-09-05 16:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0714d5e78012d1bcd40072904180038006c25..."} 
[2026-09-05 16:53:22] local.INFO: Processing buffer {"connection_id":172022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0714d5e78012d1bcd40072904180038006c25..."} 
[2026-09-05 16:53:22] local.INFO: Packet analysis {"connection_id":172022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0714d"} 
[2026-09-05 16:53:22] local.INFO: Extracted packet for processing {"connection_id":172022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0714d"} 
[2026-09-05 16:53:22] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883461120001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788607291000,"timestamp_ms":1788607291000,"timestamp_seconds":1788607291,"priority":1,"record_length":96,"hex_timestamp":"000001a0714d5e78"} 
[2026-09-05 16:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:53: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-09-05 16:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 16:53:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:53:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883461120001,"66":12461,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883461120001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:53:22] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:53:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883461120001,"power":12461,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":172022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:53:22] local.INFO: GPS data processed {"connection_id":172022,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:53:22] local.INFO: Acknowledgment sent {"connection_id":172022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:53:34] local.INFO: TCP Data received {"connection_id":174461,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0714e7ba0012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0714e7ba0012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:53:34] local.INFO: Processing buffer {"connection_id":174461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0714e7ba0012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:53:34] local.INFO: Packet analysis {"connection_id":174461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0714e"} 
[2026-09-05 16:53:34] local.INFO: Extracted packet for processing {"connection_id":174461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0714e"} 
[2026-09-05 16:53:34] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883408128001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788607364000,"timestamp_ms":1788607364000,"timestamp_seconds":1788607364,"priority":1,"record_length":96,"hex_timestamp":"000001a0714e7ba0"} 
[2026-09-05 16:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:53: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-09-05 16: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 16:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883408128001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883408128001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:53:34] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:53:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883408128001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":174461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:53:34] local.INFO: GPS data processed {"connection_id":174461,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:53:34] local.INFO: Acknowledgment sent {"connection_id":174461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:53:44] local.INFO: TCP Data received {"connection_id":173133,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:53:44] local.INFO: Processing buffer {"connection_id":173133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:53:44] local.INFO: IMEI packet received {"connection_id":173133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":173133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:53:50] local.INFO: TCP Data received {"connection_id":173133,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:53:50] local.INFO: Processing buffer {"connection_id":173133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:53:50] local.INFO: IMEI packet received {"connection_id":173133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":173133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:53:51] local.INFO: TCP Data received {"connection_id":173133,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0714db080012d1bcd40072904180038006c29..."} 
[2026-09-05 16:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0714db080012d1bcd40072904180038006c29..."} 
[2026-09-05 16:53:51] local.INFO: Processing buffer {"connection_id":173133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0714db080012d1bcd40072904180038006c29..."} 
[2026-09-05 16:53:51] local.INFO: Packet analysis {"connection_id":173133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0714d"} 
[2026-09-05 16:53:51] local.INFO: Extracted packet for processing {"connection_id":173133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0714d"} 
[2026-09-05 16:53:51] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883466496001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788607312000,"timestamp_ms":1788607312000,"timestamp_seconds":1788607312,"priority":1,"record_length":96,"hex_timestamp":"000001a0714db080"} 
[2026-09-05 16:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 16:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883466496001,"66":12439,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883466496001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:53:51] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:53:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883466496001,"power":12439,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":173133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:53:51] local.INFO: GPS data processed {"connection_id":173133,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:53:51] local.INFO: Acknowledgment sent {"connection_id":173133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:53:56] local.INFO: TCP Data received {"connection_id":171741,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:53:56] local.INFO: Processing buffer {"connection_id":171741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:53:56] local.INFO: IMEI packet received {"connection_id":171741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":171741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:54:01] local.INFO: TCP Data received {"connection_id":171741,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:54:01] local.INFO: Processing buffer {"connection_id":171741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:54:01] local.INFO: IMEI packet received {"connection_id":171741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":171741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:54:02] local.INFO: TCP Data received {"connection_id":171741,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0714e7ba0012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0714e7ba0012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:54:02] local.INFO: Processing buffer {"connection_id":171741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0714e7ba0012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:54:02] local.INFO: Packet analysis {"connection_id":171741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0714e"} 
[2026-09-05 16:54:02] local.INFO: Extracted packet for processing {"connection_id":171741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0714e"} 
[2026-09-05 16:54:02] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883408128001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788607364000,"timestamp_ms":1788607364000,"timestamp_seconds":1788607364,"priority":1,"record_length":96,"hex_timestamp":"000001a0714e7ba0"} 
[2026-09-05 16:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:54:02] 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-09-05 16: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 16:54: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-09-05 16: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-09-05 16:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883408128001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883408128001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:54:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:54:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883408128001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":171741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:54:02] local.INFO: GPS data processed {"connection_id":171741,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:54:02] local.INFO: Acknowledgment sent {"connection_id":171741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:54:12] local.INFO: TCP Data received {"connection_id":172023,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172023,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:54:12] local.INFO: Processing buffer {"connection_id":172023,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:54:12] local.INFO: IMEI packet received {"connection_id":172023,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":172023,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:54:22] local.INFO: TCP Data received {"connection_id":173133,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0714e0288012d1bcd40072904180038006c28..."} 
[2026-09-05 16:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0714e0288012d1bcd40072904180038006c28..."} 
[2026-09-05 16:54:22] local.INFO: Processing buffer {"connection_id":173133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0714e0288012d1bcd40072904180038006c28..."} 
[2026-09-05 16:54:22] local.INFO: Packet analysis {"connection_id":173133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0714e"} 
[2026-09-05 16:54:22] local.INFO: Extracted packet for processing {"connection_id":173133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0714e"} 
[2026-09-05 16:54:22] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883471872001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788607333000,"timestamp_ms":1788607333000,"timestamp_seconds":1788607333,"priority":1,"record_length":96,"hex_timestamp":"000001a0714e0288"} 
[2026-09-05 16:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:54: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-09-05 16:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 16:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883471872001,"66":11384,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883471872001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:54:22] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:54:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883471872001,"power":11384,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":173133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:54:23] local.INFO: GPS data processed {"connection_id":173133,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:54:23] local.INFO: Acknowledgment sent {"connection_id":173133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:54:33] local.INFO: TCP Data received {"connection_id":171741,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0714e7ba0012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0714e7ba0012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:54:33] local.INFO: Processing buffer {"connection_id":171741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0714e7ba0012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:54:33] local.INFO: Packet analysis {"connection_id":171741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0714e"} 
[2026-09-05 16:54:33] local.INFO: Extracted packet for processing {"connection_id":171741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0714e"} 
[2026-09-05 16:54:33] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883408128001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788607364000,"timestamp_ms":1788607364000,"timestamp_seconds":1788607364,"priority":1,"record_length":96,"hex_timestamp":"000001a0714e7ba0"} 
[2026-09-05 16:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:54: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-09-05 16: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 16:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883408128001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883408128001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:54:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:54:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883408128001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":171741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:54:33] local.INFO: GPS data processed {"connection_id":171741,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:54:33] local.INFO: Acknowledgment sent {"connection_id":171741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:54:44] local.INFO: TCP Data received {"connection_id":173134,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:54:44] local.INFO: Processing buffer {"connection_id":173134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:54:44] local.INFO: IMEI packet received {"connection_id":173134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":173134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:54:49] local.INFO: TCP Data received {"connection_id":173134,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:54:50] local.INFO: Processing buffer {"connection_id":173134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:54:50] local.INFO: IMEI packet received {"connection_id":173134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":173134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:54:51] local.INFO: TCP Data received {"connection_id":173134,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0714e5490012d1bcd40072904180038006c28..."} 
[2026-09-05 16:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0714e5490012d1bcd40072904180038006c28..."} 
[2026-09-05 16:54:51] local.INFO: Processing buffer {"connection_id":173134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0714e5490012d1bcd40072904180038006c28..."} 
[2026-09-05 16:54:51] local.INFO: Packet analysis {"connection_id":173134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0714e"} 
[2026-09-05 16:54:51] local.INFO: Extracted packet for processing {"connection_id":173134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0714e"} 
[2026-09-05 16:54:51] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883477248001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788607354000,"timestamp_ms":1788607354000,"timestamp_seconds":1788607354,"priority":1,"record_length":96,"hex_timestamp":"000001a0714e5490"} 
[2026-09-05 16:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":120,"data_length":795,"current_offset":136} 
[2026-09-05 16:54:51] 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-09-05 16:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883477248001,"66":12428,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883477248001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:54:51] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:54:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883477248001,"power":12428,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":173134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:54:51] local.INFO: GPS data processed {"connection_id":173134,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:54:51] local.INFO: Acknowledgment sent {"connection_id":173134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:55:01] local.INFO: TCP Data received {"connection_id":172024,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:55:01] local.INFO: Processing buffer {"connection_id":172024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:55:01] local.INFO: IMEI packet received {"connection_id":172024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":172024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:55:06] local.INFO: TCP Data received {"connection_id":172024,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:55:06] local.INFO: Processing buffer {"connection_id":172024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:55:06] local.INFO: IMEI packet received {"connection_id":172024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":172024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:55:07] local.INFO: TCP Data received {"connection_id":172024,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0714e7ba0012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0714e7ba0012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:55:07] local.INFO: Processing buffer {"connection_id":172024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0714e7ba0012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:55:07] local.INFO: Packet analysis {"connection_id":172024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0714e"} 
[2026-09-05 16:55:07] local.INFO: Extracted packet for processing {"connection_id":172024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0714e"} 
[2026-09-05 16:55:07] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883408128001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788607364000,"timestamp_ms":1788607364000,"timestamp_seconds":1788607364,"priority":1,"record_length":96,"hex_timestamp":"000001a0714e7ba0"} 
[2026-09-05 16:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16: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-09-05 16: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 16:55:07] 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-09-05 16: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-09-05 16:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883408128001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883408128001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:55:07] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:55:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883408128001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":172024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:55:07] local.INFO: GPS data processed {"connection_id":172024,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:55:07] local.INFO: Acknowledgment sent {"connection_id":172024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:55:07] local.INFO: TCP Data received {"connection_id":174462,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:55:07] local.INFO: Processing buffer {"connection_id":174462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 16:55:07] local.INFO: IMEI packet received {"connection_id":174462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 16:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":174462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:55:11] local.INFO: TCP Data received {"connection_id":172024,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0714e7ba0012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0714e7ba0012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:55:11] local.INFO: Processing buffer {"connection_id":172024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0714e7ba0012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:55:11] local.INFO: Packet analysis {"connection_id":172024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0714e"} 
[2026-09-05 16:55:11] local.INFO: Extracted packet for processing {"connection_id":172024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0714e"} 
[2026-09-05 16:55:11] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883408128001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788607364000,"timestamp_ms":1788607364000,"timestamp_seconds":1788607364,"priority":1,"record_length":96,"hex_timestamp":"000001a0714e7ba0"} 
[2026-09-05 16:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:55: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-09-05 16:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 16:55:11] 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-09-05 16:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":172024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":172024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":172024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883408128001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883408128001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:55:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:55:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883408128001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":172024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:55:11] local.INFO: GPS data processed {"connection_id":172024,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:55:11] local.INFO: Acknowledgment sent {"connection_id":172024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:55:22] local.INFO: TCP Data received {"connection_id":173134,"ip":"42.109.136.1","data_length":93,"data_hex":"00000000000000518e01000001a0714ea698012d1bcd40072904180038006c29..."} 
[2026-09-05 16:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173134,"packet_length":93,"packet_hex":"00000000000000518e01000001a0714ea698012d1bcd40072904180038006c29..."} 
[2026-09-05 16:55:22] local.INFO: Processing buffer {"connection_id":173134,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0714ea698012d1bcd40072904180038006c29..."} 
[2026-09-05 16:55:22] local.INFO: Packet analysis {"connection_id":173134,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0714e"} 
[2026-09-05 16:55:22] local.INFO: Extracted packet for processing {"connection_id":173134,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0714e"} 
[2026-09-05 16:55:22] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16: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":93,"current_offset":40} 
[2026-09-05 16:55:22] 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-09-05 16:55:22] 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-09-05 16:55:22] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:55:22] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 16:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173134,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-05 16:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173134,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-05 16:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173134,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-05 16:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 16:55:22] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 16:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":173134,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 16:55:22] local.ERROR: GPS data processing failed {"connection_id":173134,"error":"No valid data to process"} 
[2026-09-05 16:55:22] local.INFO: Acknowledgment sent {"connection_id":173134,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 16:55:49] local.INFO: TCP Data received {"connection_id":171743,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:55:49] local.INFO: Processing buffer {"connection_id":171743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:55:49] local.INFO: IMEI packet received {"connection_id":171743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":171743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:55:54] local.INFO: TCP Data received {"connection_id":171743,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:55:54] local.INFO: Processing buffer {"connection_id":171743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:55:54] local.INFO: IMEI packet received {"connection_id":171743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":171743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:55:55] local.INFO: TCP Data received {"connection_id":171743,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0714ef8a0012d1bcd40072904180038006c28..."} 
[2026-09-05 16:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0714ef8a0012d1bcd40072904180038006c28..."} 
[2026-09-05 16:55:55] local.INFO: Processing buffer {"connection_id":171743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0714ef8a0012d1bcd40072904180038006c28..."} 
[2026-09-05 16:55:55] local.INFO: Packet analysis {"connection_id":171743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0714e"} 
[2026-09-05 16:55:55] local.INFO: Extracted packet for processing {"connection_id":171743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0714e"} 
[2026-09-05 16:55:55] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883488000001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788607396000,"timestamp_ms":1788607396000,"timestamp_seconds":1788607396,"priority":1,"record_length":96,"hex_timestamp":"000001a0714ef8a0"} 
[2026-09-05 16:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:55: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-09-05 16:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 16:55:55] 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-09-05 16:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883488000001,"66":12385,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883488000001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:55:55] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:55:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883488000001,"power":12385,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":171743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:55:55] local.INFO: GPS data processed {"connection_id":171743,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:55:55] local.INFO: Acknowledgment sent {"connection_id":171743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:55:56] local.INFO: TCP Data received {"connection_id":174463,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:55:56] local.INFO: Processing buffer {"connection_id":174463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:55:56] local.INFO: IMEI packet received {"connection_id":174463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":174463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:55:59] local.INFO: TCP Data received {"connection_id":171743,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0714f4aa8012d1bcd40072904180038006c29..."} 
[2026-09-05 16:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0714f4aa8012d1bcd40072904180038006c29..."} 
[2026-09-05 16:55:59] local.INFO: Processing buffer {"connection_id":171743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0714f4aa8012d1bcd40072904180038006c29..."} 
[2026-09-05 16:55:59] local.INFO: Packet analysis {"connection_id":171743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0714f"} 
[2026-09-05 16:55:59] local.INFO: Extracted packet for processing {"connection_id":171743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0714f"} 
[2026-09-05 16:55:59] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883493376001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788607417000,"timestamp_ms":1788607417000,"timestamp_seconds":1788607417,"priority":1,"record_length":96,"hex_timestamp":"000001a0714f4aa8"} 
[2026-09-05 16:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 16:55:59] 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-09-05 16:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883493376001,"66":12428,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883493376001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:55:59] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:55:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883493376001,"power":12428,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":171743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:56:00] local.INFO: GPS data processed {"connection_id":171743,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:56:00] local.INFO: Acknowledgment sent {"connection_id":171743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:56:01] local.INFO: TCP Data received {"connection_id":174463,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:56:01] local.INFO: Processing buffer {"connection_id":174463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:56:01] local.INFO: IMEI packet received {"connection_id":174463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":174463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:56:02] local.INFO: TCP Data received {"connection_id":174463,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0714e7ba0012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0714e7ba0012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:56:02] local.INFO: Processing buffer {"connection_id":174463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0714e7ba0012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:56:02] local.INFO: Packet analysis {"connection_id":174463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0714e"} 
[2026-09-05 16:56:02] local.INFO: Extracted packet for processing {"connection_id":174463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0714e"} 
[2026-09-05 16:56:02] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 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-09-05 16:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883408128001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788607364000,"timestamp_ms":1788607364000,"timestamp_seconds":1788607364,"priority":1,"record_length":96,"hex_timestamp":"000001a0714e7ba0"} 
[2026-09-05 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-09-05 16:56:02] 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-09-05 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 16:56: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-09-05 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-09-05 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-09-05 16:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883408128001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883408128001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:56:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:56:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883408128001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":174463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:56:02] local.INFO: GPS data processed {"connection_id":174463,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:56:02] local.INFO: Acknowledgment sent {"connection_id":174463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:56:33] local.INFO: TCP Data received {"connection_id":174463,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0714e7ba0012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0714e7ba0012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:56:33] local.INFO: Processing buffer {"connection_id":174463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0714e7ba0012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:56:33] local.INFO: Packet analysis {"connection_id":174463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0714e"} 
[2026-09-05 16:56:33] local.INFO: Extracted packet for processing {"connection_id":174463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0714e"} 
[2026-09-05 16:56:33] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883408128001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788607364000,"timestamp_ms":1788607364000,"timestamp_seconds":1788607364,"priority":1,"record_length":96,"hex_timestamp":"000001a0714e7ba0"} 
[2026-09-05 16:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:56: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-09-05 16: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 16:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883408128001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883408128001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:56:34] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:56:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883408128001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":174463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:56:34] local.INFO: GPS data processed {"connection_id":174463,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:56:34] local.INFO: Acknowledgment sent {"connection_id":174463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:56:42] local.INFO: TCP Data received {"connection_id":174464,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:56:42] local.INFO: Processing buffer {"connection_id":174464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:56:42] local.INFO: IMEI packet received {"connection_id":174464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":174464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:56:44] local.INFO: TCP Data received {"connection_id":174464,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:56:44] local.INFO: Processing buffer {"connection_id":174464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:56:44] local.INFO: IMEI packet received {"connection_id":174464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":174464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:56:49] local.INFO: TCP Data received {"connection_id":174464,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:56:49] local.INFO: Processing buffer {"connection_id":174464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:56:49] local.INFO: IMEI packet received {"connection_id":174464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":174464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:56:50] local.INFO: TCP Data received {"connection_id":174464,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0714f9cb0012d1bcd40072904180038006c28..."} 
[2026-09-05 16:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0714f9cb0012d1bcd40072904180038006c28..."} 
[2026-09-05 16:56:50] local.INFO: Processing buffer {"connection_id":174464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0714f9cb0012d1bcd40072904180038006c28..."} 
[2026-09-05 16:56:50] local.INFO: Packet analysis {"connection_id":174464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0714f"} 
[2026-09-05 16:56:50] local.INFO: Extracted packet for processing {"connection_id":174464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0714f"} 
[2026-09-05 16:56:50] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883498752001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788607438000,"timestamp_ms":1788607438000,"timestamp_seconds":1788607438,"priority":1,"record_length":96,"hex_timestamp":"000001a0714f9cb0"} 
[2026-09-05 16:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:56: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-09-05 16:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 16:56:50] 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-09-05 16:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883498752001,"66":12461,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883498752001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:56:50] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:56:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883498752001,"power":12461,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":174464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:56:50] local.INFO: GPS data processed {"connection_id":174464,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:56:50] local.INFO: Acknowledgment sent {"connection_id":174464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:56:56] local.INFO: TCP Data received {"connection_id":171744,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:56:56] local.INFO: Processing buffer {"connection_id":171744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:56:56] local.INFO: IMEI packet received {"connection_id":171744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":171744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:57:01] local.INFO: TCP Data received {"connection_id":171744,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:57:01] local.INFO: Processing buffer {"connection_id":171744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:57:01] local.INFO: IMEI packet received {"connection_id":171744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":171744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:57:02] local.INFO: TCP Data received {"connection_id":171744,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0714e7ba0012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0714e7ba0012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:57:02] local.INFO: Processing buffer {"connection_id":171744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0714e7ba0012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:57:02] local.INFO: Packet analysis {"connection_id":171744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0714e"} 
[2026-09-05 16:57:02] local.INFO: Extracted packet for processing {"connection_id":171744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0714e"} 
[2026-09-05 16:57:02] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883408128001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788607364000,"timestamp_ms":1788607364000,"timestamp_seconds":1788607364,"priority":1,"record_length":96,"hex_timestamp":"000001a0714e7ba0"} 
[2026-09-05 16:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:57:02] 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-09-05 16:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 16:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883408128001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883408128001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:57:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:57:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883408128001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":171744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:57:02] local.INFO: GPS data processed {"connection_id":171744,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:57:02] local.INFO: Acknowledgment sent {"connection_id":171744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:57:21] local.INFO: TCP Data received {"connection_id":174464,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0714feeb8012d1bcd40072904180038006c28..."} 
[2026-09-05 16:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0714feeb8012d1bcd40072904180038006c28..."} 
[2026-09-05 16:57:21] local.INFO: Processing buffer {"connection_id":174464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0714feeb8012d1bcd40072904180038006c28..."} 
[2026-09-05 16:57:21] local.INFO: Packet analysis {"connection_id":174464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0714f"} 
[2026-09-05 16:57:21] local.INFO: Extracted packet for processing {"connection_id":174464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0714f"} 
[2026-09-05 16:57:21] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883504128001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788607459000,"timestamp_ms":1788607459000,"timestamp_seconds":1788607459,"priority":1,"record_length":96,"hex_timestamp":"000001a0714feeb8"} 
[2026-09-05 16:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 16:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883504128001,"66":12428,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883504128001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:57:21] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:57:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883504128001,"power":12428,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":174464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:57:21] local.INFO: GPS data processed {"connection_id":174464,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:57:21] local.INFO: Acknowledgment sent {"connection_id":174464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:57:33] local.INFO: TCP Data received {"connection_id":171744,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0714e7ba0012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0714e7ba0012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:57:33] local.INFO: Processing buffer {"connection_id":171744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0714e7ba0012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:57:33] local.INFO: Packet analysis {"connection_id":171744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0714e"} 
[2026-09-05 16:57:33] local.INFO: Extracted packet for processing {"connection_id":171744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0714e"} 
[2026-09-05 16:57:33] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883408128001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788607364000,"timestamp_ms":1788607364000,"timestamp_seconds":1788607364,"priority":1,"record_length":96,"hex_timestamp":"000001a0714e7ba0"} 
[2026-09-05 16:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:57: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-09-05 16: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":19,"data_length":795,"current_offset":136} 
[2026-09-05 16:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883408128001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883408128001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:57:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:57:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883408128001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":171744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:57:33] local.INFO: GPS data processed {"connection_id":171744,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:57:33] local.INFO: Acknowledgment sent {"connection_id":171744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:57:44] local.INFO: TCP Data received {"connection_id":172026,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:57:44] local.INFO: Processing buffer {"connection_id":172026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:57:44] local.INFO: IMEI packet received {"connection_id":172026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":172026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:57:45] local.INFO: TCP Data received {"connection_id":172026,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:57:45] local.INFO: Processing buffer {"connection_id":172026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:57:45] local.INFO: IMEI packet received {"connection_id":172026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":172026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:57:49] local.INFO: TCP Data received {"connection_id":172026,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:57:49] local.INFO: Processing buffer {"connection_id":172026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:57:49] local.INFO: IMEI packet received {"connection_id":172026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":172026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:57:50] local.INFO: TCP Data received {"connection_id":172026,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0715040c0012d1bcd40072904180038006c28..."} 
[2026-09-05 16:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715040c0012d1bcd40072904180038006c28..."} 
[2026-09-05 16:57:50] local.INFO: Processing buffer {"connection_id":172026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715040c0012d1bcd40072904180038006c28..."} 
[2026-09-05 16:57:50] local.INFO: Packet analysis {"connection_id":172026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07150"} 
[2026-09-05 16:57:50] local.INFO: Extracted packet for processing {"connection_id":172026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07150"} 
[2026-09-05 16:57:50] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883509504001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788607480000,"timestamp_ms":1788607480000,"timestamp_seconds":1788607480,"priority":1,"record_length":96,"hex_timestamp":"000001a0715040c0"} 
[2026-09-05 16:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:57: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-09-05 16:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 16:57:50] 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-09-05 16:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883509504001,"66":12461,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 16:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883509504001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:57:50] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 16:57:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883509504001,"power":12461,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":172026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:57:50] local.INFO: GPS data processed {"connection_id":172026,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:57:50] local.INFO: Acknowledgment sent {"connection_id":172026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:57:55] local.INFO: TCP Data received {"connection_id":172026,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0715092c8012d1bcd40072904180038006c27..."} 
[2026-09-05 16:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715092c8012d1bcd40072904180038006c27..."} 
[2026-09-05 16:57:55] local.INFO: Processing buffer {"connection_id":172026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715092c8012d1bcd40072904180038006c27..."} 
[2026-09-05 16:57:55] local.INFO: Packet analysis {"connection_id":172026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07150"} 
[2026-09-05 16:57:55] local.INFO: Extracted packet for processing {"connection_id":172026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07150"} 
[2026-09-05 16:57:55] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883514880001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788607501000,"timestamp_ms":1788607501000,"timestamp_seconds":1788607501,"priority":1,"record_length":96,"hex_timestamp":"000001a0715092c8"} 
[2026-09-05 16:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:57: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-09-05 16:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 16:57:55] 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-09-05 16:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883514880001,"66":11874,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883514880001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:57:55] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:57:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883514880001,"power":11874,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":172026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:57:55] local.INFO: GPS data processed {"connection_id":172026,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:57:55] local.INFO: Acknowledgment sent {"connection_id":172026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:57:56] local.INFO: TCP Data received {"connection_id":171745,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:57:56] local.INFO: Processing buffer {"connection_id":171745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:57:56] local.INFO: IMEI packet received {"connection_id":171745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":171745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:58:01] local.INFO: TCP Data received {"connection_id":171745,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:58:01] local.INFO: Processing buffer {"connection_id":171745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:58:01] local.INFO: IMEI packet received {"connection_id":171745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":171745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:58:02] local.INFO: TCP Data received {"connection_id":171745,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0714e7ba0012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0714e7ba0012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:58:02] local.INFO: Processing buffer {"connection_id":171745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0714e7ba0012d7b834005f5f000000400b22a..."} 
[2026-09-05 16:58:02] local.INFO: Packet analysis {"connection_id":171745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0714e"} 
[2026-09-05 16:58:02] local.INFO: Extracted packet for processing {"connection_id":171745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0714e"} 
[2026-09-05 16:58:02] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":4,"angle":178,"satellites":42,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883408128001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788607364000,"timestamp_ms":1788607364000,"timestamp_seconds":1788607364,"priority":1,"record_length":96,"hex_timestamp":"000001a0714e7ba0"} 
[2026-09-05 16:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:58:02] 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-09-05 16: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 16:58: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-09-05 16: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-09-05 16:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883408128001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883408128001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:58:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:58:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883408128001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":171745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:58:02] local.INFO: GPS data processed {"connection_id":171745,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:58:02] local.INFO: Acknowledgment sent {"connection_id":171745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:58:26] local.INFO: TCP Data received {"connection_id":172026,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07150e4d0012d1bcd40072904180038006c23..."} 
[2026-09-05 16:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07150e4d0012d1bcd40072904180038006c23..."} 
[2026-09-05 16:58:26] local.INFO: Processing buffer {"connection_id":172026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07150e4d0012d1bcd40072904180038006c23..."} 
[2026-09-05 16:58:26] local.INFO: Packet analysis {"connection_id":172026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07150"} 
[2026-09-05 16:58:26] local.INFO: Extracted packet for processing {"connection_id":172026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07150"} 
[2026-09-05 16:58:26] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883520256001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788607522000,"timestamp_ms":1788607522000,"timestamp_seconds":1788607522,"priority":1,"record_length":96,"hex_timestamp":"000001a07150e4d0"} 
[2026-09-05 16:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16: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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-05 16:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16: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-09-05 16:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883520256001,"66":12385,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883520256001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:58:26] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:58:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883520256001,"power":12385,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":172026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:58:26] local.INFO: GPS data processed {"connection_id":172026,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:58:26] local.INFO: Acknowledgment sent {"connection_id":172026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:58:33] local.INFO: TCP Data received {"connection_id":171745,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071531368012d7b834005f5f000000000b22d..."} 
[2026-09-05 16:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071531368012d7b834005f5f000000000b22d..."} 
[2026-09-05 16:58:33] local.INFO: Processing buffer {"connection_id":171745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071531368012d7b834005f5f000000000b22d..."} 
[2026-09-05 16:58:33] local.INFO: Packet analysis {"connection_id":171745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07153"} 
[2026-09-05 16:58:33] local.INFO: Extracted packet for processing {"connection_id":171745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07153"} 
[2026-09-05 16:58:33] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":0,"angle":178,"satellites":45,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883485184001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788607665000,"timestamp_ms":1788607665000,"timestamp_seconds":1788607665,"priority":1,"record_length":96,"hex_timestamp":"000001a071531368"} 
[2026-09-05 16:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:58: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-09-05 16: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-05 16:58: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-09-05 16: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-09-05 16:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883485184001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883485184001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:58:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:58:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883485184001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":171745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:58:33] local.INFO: GPS data processed {"connection_id":171745,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:58:33] local.INFO: Acknowledgment sent {"connection_id":171745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:58:44] local.INFO: TCP Data received {"connection_id":171746,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:58:44] local.INFO: Processing buffer {"connection_id":171746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:58:44] local.INFO: IMEI packet received {"connection_id":171746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":171746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:58:49] local.INFO: TCP Data received {"connection_id":171746,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:58:49] local.INFO: Processing buffer {"connection_id":171746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:58:49] local.INFO: IMEI packet received {"connection_id":171746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":171746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:58:49] local.INFO: TCP Data received {"connection_id":171746,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0715136d8012d1bcd40072904180038006c27..."} 
[2026-09-05 16:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715136d8012d1bcd40072904180038006c27..."} 
[2026-09-05 16:58:49] local.INFO: Processing buffer {"connection_id":171746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715136d8012d1bcd40072904180038006c27..."} 
[2026-09-05 16:58:49] local.INFO: Packet analysis {"connection_id":171746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07151"} 
[2026-09-05 16:58:49] local.INFO: Extracted packet for processing {"connection_id":171746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07151"} 
[2026-09-05 16:58:49] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883525632001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788607543000,"timestamp_ms":1788607543000,"timestamp_seconds":1788607543,"priority":1,"record_length":96,"hex_timestamp":"000001a0715136d8"} 
[2026-09-05 16:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 16:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":171746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":171746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":171746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883525632001,"66":12406,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883525632001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:58:49] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:58:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883525632001,"power":12406,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":171746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:58:49] local.INFO: GPS data processed {"connection_id":171746,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:58:49] local.INFO: Acknowledgment sent {"connection_id":171746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:59:01] local.INFO: TCP Data received {"connection_id":173136,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:59:01] local.INFO: Processing buffer {"connection_id":173136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:59:01] local.INFO: IMEI packet received {"connection_id":173136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":173136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:59:06] local.INFO: TCP Data received {"connection_id":173136,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:59:06] local.INFO: Processing buffer {"connection_id":173136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:59:06] local.INFO: IMEI packet received {"connection_id":173136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":173136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:59:07] local.INFO: TCP Data received {"connection_id":173136,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071531368012d7b834005f5f000000000b22d..."} 
[2026-09-05 16:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071531368012d7b834005f5f000000000b22d..."} 
[2026-09-05 16:59:07] local.INFO: Processing buffer {"connection_id":173136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071531368012d7b834005f5f000000000b22d..."} 
[2026-09-05 16:59:07] local.INFO: Packet analysis {"connection_id":173136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07153"} 
[2026-09-05 16:59:07] local.INFO: Extracted packet for processing {"connection_id":173136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07153"} 
[2026-09-05 16:59:07] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":0,"angle":178,"satellites":45,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883485184001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788607665000,"timestamp_ms":1788607665000,"timestamp_seconds":1788607665,"priority":1,"record_length":96,"hex_timestamp":"000001a071531368"} 
[2026-09-05 16:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16: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-09-05 16: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-05 16:59:07] 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-09-05 16: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-09-05 16:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883485184001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883485184001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:59:07] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:59:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883485184001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":173136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:59:07] local.INFO: GPS data processed {"connection_id":173136,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:59:07] local.INFO: Acknowledgment sent {"connection_id":173136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:59:11] local.INFO: TCP Data received {"connection_id":173136,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071531368012d7b834005f5f000000000b22d..."} 
[2026-09-05 16:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071531368012d7b834005f5f000000000b22d..."} 
[2026-09-05 16:59:11] local.INFO: Processing buffer {"connection_id":173136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071531368012d7b834005f5f000000000b22d..."} 
[2026-09-05 16:59:11] local.INFO: Packet analysis {"connection_id":173136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07153"} 
[2026-09-05 16:59:11] local.INFO: Extracted packet for processing {"connection_id":173136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07153"} 
[2026-09-05 16:59:11] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":0,"angle":178,"satellites":45,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 16: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-09-05 16:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883485184001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 16:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 16:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788607665000,"timestamp_ms":1788607665000,"timestamp_seconds":1788607665,"priority":1,"record_length":96,"hex_timestamp":"000001a071531368"} 
[2026-09-05 16:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:59: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-09-05 16: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-05 16:59:11] 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-09-05 16: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-09-05 16:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 16:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 16:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 16:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883485184001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 16:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 16:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 16:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883485184001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:59:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 16:59:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 16:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 16:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883485184001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 16:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":173136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:59:11] local.INFO: GPS data processed {"connection_id":173136,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:59:11] local.INFO: Acknowledgment sent {"connection_id":173136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:59:20] local.INFO: TCP Data received {"connection_id":171746,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0715188e0012d1bcd40072904180038006c27..."} 
[2026-09-05 16:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715188e0012d1bcd40072904180038006c27..."} 
[2026-09-05 16:59:20] local.INFO: Processing buffer {"connection_id":171746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715188e0012d1bcd40072904180038006c27..."} 
[2026-09-05 16:59:20] local.INFO: Packet analysis {"connection_id":171746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07151"} 
[2026-09-05 16:59:20] local.INFO: Extracted packet for processing {"connection_id":171746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07151"} 
[2026-09-05 16:59:20] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883531008001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788607564000,"timestamp_ms":1788607564000,"timestamp_seconds":1788607564,"priority":1,"record_length":96,"hex_timestamp":"000001a0715188e0"} 
[2026-09-05 16:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 16:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":171746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":171746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":171746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883531008001,"66":12385,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883531008001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:59:20] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:59:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883531008001,"power":12385,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":171746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:59:20] local.INFO: GPS data processed {"connection_id":171746,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:59:20] local.INFO: Acknowledgment sent {"connection_id":171746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:59:45] local.INFO: TCP Data received {"connection_id":172027,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:59:45] local.INFO: Processing buffer {"connection_id":172027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:59:45] local.INFO: IMEI packet received {"connection_id":172027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 16:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":172027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:59:49] local.INFO: TCP Data received {"connection_id":172027,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:59:50] local.INFO: Processing buffer {"connection_id":172027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 16:59:50] local.INFO: IMEI packet received {"connection_id":172027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 16:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":172027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 16:59:51] local.INFO: TCP Data received {"connection_id":172027,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07151dae8012d1bcd40072904180038006c26..."} 
[2026-09-05 16:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07151dae8012d1bcd40072904180038006c26..."} 
[2026-09-05 16:59:51] local.INFO: Processing buffer {"connection_id":172027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07151dae8012d1bcd40072904180038006c26..."} 
[2026-09-05 16:59:51] local.INFO: Packet analysis {"connection_id":172027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07151"} 
[2026-09-05 16:59:51] local.INFO: Extracted packet for processing {"connection_id":172027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07151"} 
[2026-09-05 16:59:51] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 16:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 16:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883536384001,"note":"Value kept but may cause issues"} 
[2026-09-05 16:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 16:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 16:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 16:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788607585000,"timestamp_ms":1788607585000,"timestamp_seconds":1788607585,"priority":1,"record_length":96,"hex_timestamp":"000001a07151dae8"} 
[2026-09-05 16:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 16:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 16:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 16:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 16:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 16:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 16:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 16:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 16:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 16:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 16:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 16:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 16:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883536384001,"66":12428,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 16:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 16:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 16:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883536384001,"description":"Unknown IO ID 0"} 
[2026-09-05 16:59:51] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 16:59:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 16:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 16:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 16:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883536384001,"power":12428,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 16:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":172027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 16:59:51] local.INFO: GPS data processed {"connection_id":172027,"processed":1,"errors":0,"total":1} 
[2026-09-05 16:59:51] local.INFO: Acknowledgment sent {"connection_id":172027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 16:59:54] local.INFO: TCP Data received {"connection_id":172028,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:59:54] local.INFO: Processing buffer {"connection_id":172028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:59:54] local.INFO: IMEI packet received {"connection_id":172028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 16:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":172028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 16:59:56] local.INFO: TCP Data received {"connection_id":172028,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:59:56] local.INFO: Processing buffer {"connection_id":172028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 16:59:56] local.INFO: IMEI packet received {"connection_id":172028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 16:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":172028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:00:01] local.INFO: TCP Data received {"connection_id":172028,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:00:01] local.INFO: Processing buffer {"connection_id":172028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:00:01] local.INFO: IMEI packet received {"connection_id":172028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":172028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:00:02] local.INFO: TCP Data received {"connection_id":172028,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071542ca8012d7b834005f5f000000000b22c..."} 
[2026-09-05 17:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071542ca8012d7b834005f5f000000000b22c..."} 
[2026-09-05 17:00:02] local.INFO: Processing buffer {"connection_id":172028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071542ca8012d7b834005f5f000000000b22c..."} 
[2026-09-05 17:00:02] local.INFO: Packet analysis {"connection_id":172028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07154"} 
[2026-09-05 17:00:02] local.INFO: Extracted packet for processing {"connection_id":172028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07154"} 
[2026-09-05 17:00:02] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":100003840,"longitude_deg":76.3069248,"latitude_deg":10.000384,"altitude":0,"angle":178,"satellites":44,"speed":0,"hex_longitude":"2d7b8340","hex_latitude":"05f5f000","is_valid_coordinates":true} 
[2026-09-05 17:00: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-09-05 17:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883562240001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 17:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788607737000,"timestamp_ms":1788607737000,"timestamp_seconds":1788607737,"priority":1,"record_length":96,"hex_timestamp":"000001a071542ca8"} 
[2026-09-05 17:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:00:02] 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-09-05 17: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 17:00: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-09-05 17: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-09-05 17:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883562240001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883562240001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:00:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:00:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 17:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883562240001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 17:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":172028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:00:02] local.INFO: GPS data processed {"connection_id":172028,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:00:02] local.INFO: Acknowledgment sent {"connection_id":172028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:00:22] local.INFO: TCP Data received {"connection_id":172027,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071522cf0012d1bcd40072904180038006c28..."} 
[2026-09-05 17:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071522cf0012d1bcd40072904180038006c28..."} 
[2026-09-05 17:00:22] local.INFO: Processing buffer {"connection_id":172027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071522cf0012d1bcd40072904180038006c28..."} 
[2026-09-05 17:00:22] local.INFO: Packet analysis {"connection_id":172027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07152"} 
[2026-09-05 17:00:22] local.INFO: Extracted packet for processing {"connection_id":172027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07152"} 
[2026-09-05 17:00:22] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 17:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883541760001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 17:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 17:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788607606000,"timestamp_ms":1788607606000,"timestamp_seconds":1788607606,"priority":1,"record_length":96,"hex_timestamp":"000001a071522cf0"} 
[2026-09-05 17:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 17:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883541760001,"66":12428,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 17:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883541760001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:00:22] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 17:00:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 17:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883541760001,"power":12428,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 17:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":172027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:00:23] local.INFO: GPS data processed {"connection_id":172027,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:00:23] local.INFO: Acknowledgment sent {"connection_id":172027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:00:33] local.INFO: TCP Data received {"connection_id":172028,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0715476e0012d7b898005f5f518000000b22b..."} 
[2026-09-05 17:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715476e0012d7b898005f5f518000000b22b..."} 
[2026-09-05 17:00:33] local.INFO: Processing buffer {"connection_id":172028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715476e0012d7b898005f5f518000000b22b..."} 
[2026-09-05 17:00:33] local.INFO: Packet analysis {"connection_id":172028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07154"} 
[2026-09-05 17:00:33] local.INFO: Extracted packet for processing {"connection_id":172028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07154"} 
[2026-09-05 17:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763070848,"raw_latitude":100005144,"longitude_deg":76.3070848,"latitude_deg":10.0005144,"altitude":0,"angle":178,"satellites":43,"speed":0,"hex_longitude":"2d7b8980","hex_latitude":"05f5f518","is_valid_coordinates":true} 
[2026-09-05 17:00: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-09-05 17:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883580672001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 17:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788607756000,"timestamp_ms":1788607756000,"timestamp_seconds":1788607756,"priority":1,"record_length":96,"hex_timestamp":"000001a0715476e0"} 
[2026-09-05 17:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17: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-09-05 17: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-09-05 17: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-09-05 17: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-09-05 17:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883580672001,"66":27865,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883580672001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:00:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:00:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 17:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883580672001,"power":27865,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 17:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":172028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:00:33] local.INFO: GPS data processed {"connection_id":172028,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:00:33] local.INFO: Acknowledgment sent {"connection_id":172028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:00:37] local.INFO: TCP Data received {"connection_id":171748,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:00:37] local.INFO: Processing buffer {"connection_id":171748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:00:37] local.INFO: IMEI packet received {"connection_id":171748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 17:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":171748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:00:44] local.INFO: TCP Data received {"connection_id":171749,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:00:44] local.INFO: Processing buffer {"connection_id":171749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:00:44] local.INFO: IMEI packet received {"connection_id":171749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":171749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:00:49] local.INFO: TCP Data received {"connection_id":171749,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:00:50] local.INFO: Processing buffer {"connection_id":171749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:00:50] local.INFO: IMEI packet received {"connection_id":171749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":171749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:00:50] local.INFO: TCP Data received {"connection_id":171749,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071527ef8012d1bcd40072904180038006c27..."} 
[2026-09-05 17:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071527ef8012d1bcd40072904180038006c27..."} 
[2026-09-05 17:00:50] local.INFO: Processing buffer {"connection_id":171749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071527ef8012d1bcd40072904180038006c27..."} 
[2026-09-05 17:00:50] local.INFO: Packet analysis {"connection_id":171749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07152"} 
[2026-09-05 17:00:50] local.INFO: Extracted packet for processing {"connection_id":171749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07152"} 
[2026-09-05 17:00:50] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883547136001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 17:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 17:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788607627000,"timestamp_ms":1788607627000,"timestamp_seconds":1788607627,"priority":1,"record_length":96,"hex_timestamp":"000001a071527ef8"} 
[2026-09-05 17:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:00: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-09-05 17: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":140,"data_length":795,"current_offset":136} 
[2026-09-05 17:00:50] 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-09-05 17: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-09-05 17:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883547136001,"66":11526,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 17:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883547136001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:00:50] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 17:00:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 17:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883547136001,"power":11526,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 17:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":171749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:00:50] local.INFO: GPS data processed {"connection_id":171749,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:00:50] local.INFO: Acknowledgment sent {"connection_id":171749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:00:55] local.INFO: TCP Data received {"connection_id":174466,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:00:55] local.INFO: Processing buffer {"connection_id":174466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:00:55] local.INFO: IMEI packet received {"connection_id":174466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":174466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:01:01] local.INFO: TCP Data received {"connection_id":174466,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:01:01] local.INFO: Processing buffer {"connection_id":174466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:01:01] local.INFO: IMEI packet received {"connection_id":174466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":174466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:01:02] local.INFO: TCP Data received {"connection_id":174466,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0715476e0012d7b898005f5f518000000b22b..."} 
[2026-09-05 17:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715476e0012d7b898005f5f518000000b22b..."} 
[2026-09-05 17:01:02] local.INFO: Processing buffer {"connection_id":174466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715476e0012d7b898005f5f518000000b22b..."} 
[2026-09-05 17:01:02] local.INFO: Packet analysis {"connection_id":174466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07154"} 
[2026-09-05 17:01:02] local.INFO: Extracted packet for processing {"connection_id":174466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07154"} 
[2026-09-05 17:01:02] local.INFO: GPS Element Parsed {"raw_longitude":763070848,"raw_latitude":100005144,"longitude_deg":76.3070848,"latitude_deg":10.0005144,"altitude":0,"angle":178,"satellites":43,"speed":0,"hex_longitude":"2d7b8980","hex_latitude":"05f5f518","is_valid_coordinates":true} 
[2026-09-05 17:01: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-09-05 17:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883580672001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 17:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788607756000,"timestamp_ms":1788607756000,"timestamp_seconds":1788607756,"priority":1,"record_length":96,"hex_timestamp":"000001a0715476e0"} 
[2026-09-05 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-09-05 17:01: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-09-05 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 17:01: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-09-05 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-09-05 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-09-05 17:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883580672001,"66":27865,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883580672001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:01:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:01:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 17:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883580672001,"power":27865,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 17:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":174466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:01:02] local.INFO: GPS data processed {"connection_id":174466,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:01:02] local.INFO: Acknowledgment sent {"connection_id":174466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:01:21] local.INFO: TCP Data received {"connection_id":171749,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07152d100012d1bcd40072904180038006c27..."} 
[2026-09-05 17:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07152d100012d1bcd40072904180038006c27..."} 
[2026-09-05 17:01:21] local.INFO: Processing buffer {"connection_id":171749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07152d100012d1bcd40072904180038006c27..."} 
[2026-09-05 17:01:21] local.INFO: Packet analysis {"connection_id":171749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07152"} 
[2026-09-05 17:01:21] local.INFO: Extracted packet for processing {"connection_id":171749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07152"} 
[2026-09-05 17:01:21] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883552512001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 17:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 17:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788607648000,"timestamp_ms":1788607648000,"timestamp_seconds":1788607648,"priority":1,"record_length":96,"hex_timestamp":"000001a07152d100"} 
[2026-09-05 17:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17: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":45,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-05 17:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3644853554825156864,"note":"Value kept but may cause issues"} 
[2026-09-05 17:01:21] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-05 17:01:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 17:01:21] local.WARNING: Large IO value detected {"io_id":160,"raw_value":8165187512133557197,"note":"Value kept but may cause issues"} 
[2026-09-05 17:01:21] local.WARNING: Large IO value detected {"io_id":64,"raw_value":515948133440028780,"note":"Value kept but may cause issues"} 
[2026-09-05 17:01:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1074211076,"corrected_to":0} 
[2026-09-05 17:01:21] local.WARNING: Large IO value detected {"io_id":228,"raw_value":3489738011,"note":"Value kept but may cause issues"} 
[2026-09-05 17:01:21] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3880714240,"note":"Value kept but may cause issues"} 
[2026-09-05 17:01:21] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,225,83,24,241,157,16,231,160,44,45,64,4,56,40,10,66,218,38,136,1,240,97,227,113,41,205,228,35,239,48,2,63,39],"length":483,"final_offset":613,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1074211076,"validated":0}]} 
[2026-09-05 17:01:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035344180883488768,"timestamp_seconds":4035344180883489.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 17:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883552512001,"66":12461,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 17:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883552512001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:01:21] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 17:01:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 17:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883552512001,"power":12461,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 17:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":171749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:01:21] local.INFO: GPS data processed {"connection_id":171749,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:01:21] local.INFO: Acknowledgment sent {"connection_id":171749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:01:33] local.INFO: TCP Data received {"connection_id":174466,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0715476e0012d7b898005f5f518000000b22b..."} 
[2026-09-05 17:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715476e0012d7b898005f5f518000000b22b..."} 
[2026-09-05 17:01:33] local.INFO: Processing buffer {"connection_id":174466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715476e0012d7b898005f5f518000000b22b..."} 
[2026-09-05 17:01:33] local.INFO: Packet analysis {"connection_id":174466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07154"} 
[2026-09-05 17:01:33] local.INFO: Extracted packet for processing {"connection_id":174466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07154"} 
[2026-09-05 17:01:33] local.INFO: GPS Element Parsed {"raw_longitude":763070848,"raw_latitude":100005144,"longitude_deg":76.3070848,"latitude_deg":10.0005144,"altitude":0,"angle":178,"satellites":43,"speed":0,"hex_longitude":"2d7b8980","hex_latitude":"05f5f518","is_valid_coordinates":true} 
[2026-09-05 17:01: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-09-05 17:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883580672001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 17:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788607756000,"timestamp_ms":1788607756000,"timestamp_seconds":1788607756,"priority":1,"record_length":96,"hex_timestamp":"000001a0715476e0"} 
[2026-09-05 17:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17: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-09-05 17: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-09-05 17: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-09-05 17: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-09-05 17:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883580672001,"66":27865,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883580672001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:01:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:01:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 17:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883580672001,"power":27865,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 17:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":174466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:01:33] local.INFO: GPS data processed {"connection_id":174466,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:01:33] local.INFO: Acknowledgment sent {"connection_id":174466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:01:44] local.INFO: TCP Data received {"connection_id":173137,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:01:44] local.INFO: Processing buffer {"connection_id":173137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:01:44] local.INFO: IMEI packet received {"connection_id":173137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":173137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:01:50] local.INFO: TCP Data received {"connection_id":173137,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:01:50] local.INFO: Processing buffer {"connection_id":173137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:01:50] local.INFO: IMEI packet received {"connection_id":173137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":173137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:01:51] local.INFO: TCP Data received {"connection_id":173137,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071532308012d1bcd40072904180038006c28..."} 
[2026-09-05 17:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071532308012d1bcd40072904180038006c28..."} 
[2026-09-05 17:01:51] local.INFO: Processing buffer {"connection_id":173137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071532308012d1bcd40072904180038006c28..."} 
[2026-09-05 17:01:51] local.INFO: Packet analysis {"connection_id":173137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07153"} 
[2026-09-05 17:01:51] local.INFO: Extracted packet for processing {"connection_id":173137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07153"} 
[2026-09-05 17:01:51] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 17:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883557888001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 17:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 17:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788607669000,"timestamp_ms":1788607669000,"timestamp_seconds":1788607669,"priority":1,"record_length":96,"hex_timestamp":"000001a071532308"} 
[2026-09-05 17:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 17:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:01:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883557888001,"66":12406,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 17:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883557888001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:01:51] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 17:01:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 17:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883557888001,"power":12406,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 17:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":173137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:01:51] local.INFO: GPS data processed {"connection_id":173137,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:01:51] local.INFO: Acknowledgment sent {"connection_id":173137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:01:56] local.INFO: TCP Data received {"connection_id":171750,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:01:56] local.INFO: Processing buffer {"connection_id":171750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:01:56] local.INFO: IMEI packet received {"connection_id":171750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":171750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:02:01] local.INFO: TCP Data received {"connection_id":171750,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:02:01] local.INFO: Processing buffer {"connection_id":171750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:02:01] local.INFO: IMEI packet received {"connection_id":171750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":171750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:02:02] local.INFO: TCP Data received {"connection_id":171750,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0715476e0012d7b898005f5f518000000b22b..."} 
[2026-09-05 17:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715476e0012d7b898005f5f518000000b22b..."} 
[2026-09-05 17:02:02] local.INFO: Processing buffer {"connection_id":171750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715476e0012d7b898005f5f518000000b22b..."} 
[2026-09-05 17:02:02] local.INFO: Packet analysis {"connection_id":171750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07154"} 
[2026-09-05 17:02:02] local.INFO: Extracted packet for processing {"connection_id":171750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07154"} 
[2026-09-05 17:02:02] local.INFO: GPS Element Parsed {"raw_longitude":763070848,"raw_latitude":100005144,"longitude_deg":76.3070848,"latitude_deg":10.0005144,"altitude":0,"angle":178,"satellites":43,"speed":0,"hex_longitude":"2d7b8980","hex_latitude":"05f5f518","is_valid_coordinates":true} 
[2026-09-05 17:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883580672001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 17:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788607756000,"timestamp_ms":1788607756000,"timestamp_seconds":1788607756,"priority":1,"record_length":96,"hex_timestamp":"000001a0715476e0"} 
[2026-09-05 17:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:02: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-09-05 17:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 17:02: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-09-05 17: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-09-05 17:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883580672001,"66":27865,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883580672001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:02:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:02:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 17:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883580672001,"power":27865,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 17:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":171750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:02:02] local.INFO: GPS data processed {"connection_id":171750,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:02:02] local.INFO: Acknowledgment sent {"connection_id":171750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:02:22] local.INFO: TCP Data received {"connection_id":173137,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071537510012d1bcd40072904180038006c27..."} 
[2026-09-05 17:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071537510012d1bcd40072904180038006c27..."} 
[2026-09-05 17:02:22] local.INFO: Processing buffer {"connection_id":173137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071537510012d1bcd40072904180038006c27..."} 
[2026-09-05 17:02:22] local.INFO: Packet analysis {"connection_id":173137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07153"} 
[2026-09-05 17:02:22] local.INFO: Extracted packet for processing {"connection_id":173137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07153"} 
[2026-09-05 17:02:22] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 17:02: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-09-05 17:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883563264001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 17:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 17:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788607690000,"timestamp_ms":1788607690000,"timestamp_seconds":1788607690,"priority":1,"record_length":96,"hex_timestamp":"000001a071537510"} 
[2026-09-05 17:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:02: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-09-05 17:02:22] local.INFO: IO Element 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-09-05 17:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:02: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-09-05 17:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883563264001,"66":12461,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 17:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883563264001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:02:22] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 17:02:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 17:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883563264001,"power":12461,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 17:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":173137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:02:22] local.INFO: GPS data processed {"connection_id":173137,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:02:22] local.INFO: Acknowledgment sent {"connection_id":173137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:02:33] local.INFO: TCP Data received {"connection_id":171750,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0715476e0012d7b898005f5f518000000b22b..."} 
[2026-09-05 17:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715476e0012d7b898005f5f518000000b22b..."} 
[2026-09-05 17:02:33] local.INFO: Processing buffer {"connection_id":171750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715476e0012d7b898005f5f518000000b22b..."} 
[2026-09-05 17:02:33] local.INFO: Packet analysis {"connection_id":171750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07154"} 
[2026-09-05 17:02:33] local.INFO: Extracted packet for processing {"connection_id":171750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07154"} 
[2026-09-05 17:02:33] local.INFO: GPS Element Parsed {"raw_longitude":763070848,"raw_latitude":100005144,"longitude_deg":76.3070848,"latitude_deg":10.0005144,"altitude":0,"angle":178,"satellites":43,"speed":0,"hex_longitude":"2d7b8980","hex_latitude":"05f5f518","is_valid_coordinates":true} 
[2026-09-05 17:02: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-09-05 17:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883580672001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 17:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788607756000,"timestamp_ms":1788607756000,"timestamp_seconds":1788607756,"priority":1,"record_length":96,"hex_timestamp":"000001a0715476e0"} 
[2026-09-05 17:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17: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-09-05 17: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-09-05 17: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-09-05 17: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-09-05 17:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883580672001,"66":27865,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883580672001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:02:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:02:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 17:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883580672001,"power":27865,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 17:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":171750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:02:33] local.INFO: GPS data processed {"connection_id":171750,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:02:33] local.INFO: Acknowledgment sent {"connection_id":171750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:02:44] local.INFO: TCP Data received {"connection_id":171751,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:02:44] local.INFO: Processing buffer {"connection_id":171751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:02:44] local.INFO: IMEI packet received {"connection_id":171751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":171751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:02:49] local.INFO: TCP Data received {"connection_id":171751,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:02:49] local.INFO: Processing buffer {"connection_id":171751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:02:49] local.INFO: IMEI packet received {"connection_id":171751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":171751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:02:50] local.INFO: TCP Data received {"connection_id":171751,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07153c718012d1bcd40072904180038006c25..."} 
[2026-09-05 17:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07153c718012d1bcd40072904180038006c25..."} 
[2026-09-05 17:02:50] local.INFO: Processing buffer {"connection_id":171751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07153c718012d1bcd40072904180038006c25..."} 
[2026-09-05 17:02:50] local.INFO: Packet analysis {"connection_id":171751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07153"} 
[2026-09-05 17:02:50] local.INFO: Extracted packet for processing {"connection_id":171751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07153"} 
[2026-09-05 17:02:50] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 17:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883568640001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 17:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 17:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788607711000,"timestamp_ms":1788607711000,"timestamp_seconds":1788607711,"priority":1,"record_length":96,"hex_timestamp":"000001a07153c718"} 
[2026-09-05 17:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:02: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-09-05 17:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 17:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883568640001,"66":12439,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 17:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883568640001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:02:50] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 17:02:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 17:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883568640001,"power":12439,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 17:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":171751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:02:50] local.INFO: GPS data processed {"connection_id":171751,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:02:50] local.INFO: Acknowledgment sent {"connection_id":171751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:02:55] local.INFO: TCP Data received {"connection_id":174467,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:02:55] local.INFO: Processing buffer {"connection_id":174467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:02:55] local.INFO: IMEI packet received {"connection_id":174467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":174467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:03:01] local.INFO: TCP Data received {"connection_id":174467,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:03:01] local.INFO: Processing buffer {"connection_id":174467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:03:01] local.INFO: IMEI packet received {"connection_id":174467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":174467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:03:02] local.INFO: TCP Data received {"connection_id":174467,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0715476e0012d7b898005f5f518000000b22b..."} 
[2026-09-05 17:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715476e0012d7b898005f5f518000000b22b..."} 
[2026-09-05 17:03:02] local.INFO: Processing buffer {"connection_id":174467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715476e0012d7b898005f5f518000000b22b..."} 
[2026-09-05 17:03:02] local.INFO: Packet analysis {"connection_id":174467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07154"} 
[2026-09-05 17:03:02] local.INFO: Extracted packet for processing {"connection_id":174467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07154"} 
[2026-09-05 17:03:02] local.INFO: GPS Element Parsed {"raw_longitude":763070848,"raw_latitude":100005144,"longitude_deg":76.3070848,"latitude_deg":10.0005144,"altitude":0,"angle":178,"satellites":43,"speed":0,"hex_longitude":"2d7b8980","hex_latitude":"05f5f518","is_valid_coordinates":true} 
[2026-09-05 17:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883580672001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 17:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788607756000,"timestamp_ms":1788607756000,"timestamp_seconds":1788607756,"priority":1,"record_length":96,"hex_timestamp":"000001a0715476e0"} 
[2026-09-05 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-09-05 17:03: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-09-05 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 17:03: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-09-05 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-09-05 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-09-05 17:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883580672001,"66":27865,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883580672001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:03:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:03:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 17:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883580672001,"power":27865,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 17:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":174467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:03:02] local.INFO: GPS data processed {"connection_id":174467,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:03:02] local.INFO: Acknowledgment sent {"connection_id":174467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:03:21] local.INFO: TCP Data received {"connection_id":171751,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071541920012d1bcd40072904180038006c24..."} 
[2026-09-05 17:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071541920012d1bcd40072904180038006c24..."} 
[2026-09-05 17:03:21] local.INFO: Processing buffer {"connection_id":171751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071541920012d1bcd40072904180038006c24..."} 
[2026-09-05 17:03:21] local.INFO: Packet analysis {"connection_id":171751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07154"} 
[2026-09-05 17:03:21] local.INFO: Extracted packet for processing {"connection_id":171751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07154"} 
[2026-09-05 17:03:21] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 17:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883574016001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 17:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 17:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788607732000,"timestamp_ms":1788607732000,"timestamp_seconds":1788607732,"priority":1,"record_length":96,"hex_timestamp":"000001a071541920"} 
[2026-09-05 17:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 17:03: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-09-05 17:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883574016001,"66":12385,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 17:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883574016001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:03:21] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 17:03:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 17:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883574016001,"power":12385,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 17:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":171751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:03:21] local.INFO: GPS data processed {"connection_id":171751,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:03:21] local.INFO: Acknowledgment sent {"connection_id":171751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:03:33] local.INFO: TCP Data received {"connection_id":174467,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0715476e0012d7b898005f5f518000000b22b..."} 
[2026-09-05 17:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715476e0012d7b898005f5f518000000b22b..."} 
[2026-09-05 17:03:33] local.INFO: Processing buffer {"connection_id":174467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715476e0012d7b898005f5f518000000b22b..."} 
[2026-09-05 17:03:33] local.INFO: Packet analysis {"connection_id":174467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07154"} 
[2026-09-05 17:03:33] local.INFO: Extracted packet for processing {"connection_id":174467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07154"} 
[2026-09-05 17:03:33] local.INFO: GPS Element Parsed {"raw_longitude":763070848,"raw_latitude":100005144,"longitude_deg":76.3070848,"latitude_deg":10.0005144,"altitude":0,"angle":178,"satellites":43,"speed":0,"hex_longitude":"2d7b8980","hex_latitude":"05f5f518","is_valid_coordinates":true} 
[2026-09-05 17:03: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-09-05 17:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883580672001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 17:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788607756000,"timestamp_ms":1788607756000,"timestamp_seconds":1788607756,"priority":1,"record_length":96,"hex_timestamp":"000001a0715476e0"} 
[2026-09-05 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-09-05 17: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-09-05 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 17: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-09-05 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-09-05 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-09-05 17:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883580672001,"66":27865,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883580672001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:03:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:03:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 17:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883580672001,"power":27865,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 17:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":174467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:03:33] local.INFO: GPS data processed {"connection_id":174467,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:03:33] local.INFO: Acknowledgment sent {"connection_id":174467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:03:49] local.INFO: TCP Data received {"connection_id":172030,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:03:49] local.INFO: Processing buffer {"connection_id":172030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:03:49] local.INFO: IMEI packet received {"connection_id":172030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":172030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:03:54] local.INFO: TCP Data received {"connection_id":172030,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:03:54] local.INFO: Processing buffer {"connection_id":172030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:03:54] local.INFO: IMEI packet received {"connection_id":172030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":172030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:03:55] local.INFO: TCP Data received {"connection_id":172030,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071546b28012d1bcd40072904180038006c25..."} 
[2026-09-05 17:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071546b28012d1bcd40072904180038006c25..."} 
[2026-09-05 17:03:55] local.INFO: Processing buffer {"connection_id":172030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071546b28012d1bcd40072904180038006c25..."} 
[2026-09-05 17:03:55] local.INFO: Packet analysis {"connection_id":172030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07154"} 
[2026-09-05 17:03:55] local.INFO: Extracted packet for processing {"connection_id":172030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07154"} 
[2026-09-05 17:03:55] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883579392001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 17:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 17:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788607753000,"timestamp_ms":1788607753000,"timestamp_seconds":1788607753,"priority":1,"record_length":96,"hex_timestamp":"000001a071546b28"} 
[2026-09-05 17:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:03: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-09-05 17: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 17:03:55] 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-09-05 17: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-09-05 17:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883579392001,"66":12385,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 17:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883579392001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:03:55] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 17:03:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 17:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883579392001,"power":12385,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 17:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":172030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:03:55] local.INFO: GPS data processed {"connection_id":172030,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:03:55] local.INFO: Acknowledgment sent {"connection_id":172030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:03:55] local.INFO: TCP Data received {"connection_id":172032,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:03:55] local.INFO: Processing buffer {"connection_id":172032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:03:55] local.INFO: IMEI packet received {"connection_id":172032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":172032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:03:59] local.INFO: TCP Data received {"connection_id":172030,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07154bd30012d1bcd40072904180038006c27..."} 
[2026-09-05 17:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07154bd30012d1bcd40072904180038006c27..."} 
[2026-09-05 17:03:59] local.INFO: Processing buffer {"connection_id":172030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07154bd30012d1bcd40072904180038006c27..."} 
[2026-09-05 17:03:59] local.INFO: Packet analysis {"connection_id":172030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07154"} 
[2026-09-05 17:03:59] local.INFO: Extracted packet for processing {"connection_id":172030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07154"} 
[2026-09-05 17:03:59] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 17:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883584768001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 17:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 17:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788607774000,"timestamp_ms":1788607774000,"timestamp_seconds":1788607774,"priority":1,"record_length":96,"hex_timestamp":"000001a07154bd30"} 
[2026-09-05 17:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 17:03:59] 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-09-05 17:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883584768001,"66":12461,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 17:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883584768001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:03:59] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 17:03:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 17:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883584768001,"power":12461,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 17:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":172030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:04:00] local.INFO: GPS data processed {"connection_id":172030,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:04:00] local.INFO: Acknowledgment sent {"connection_id":172030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:04:01] local.INFO: TCP Data received {"connection_id":172032,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:04:01] local.INFO: Processing buffer {"connection_id":172032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:04:01] local.INFO: IMEI packet received {"connection_id":172032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":172032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:04:01] local.INFO: TCP Data received {"connection_id":172032,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0715476e0012d7b898005f5f518000000b22b..."} 
[2026-09-05 17:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715476e0012d7b898005f5f518000000b22b..."} 
[2026-09-05 17:04:01] local.INFO: Processing buffer {"connection_id":172032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715476e0012d7b898005f5f518000000b22b..."} 
[2026-09-05 17:04:01] local.INFO: Packet analysis {"connection_id":172032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07154"} 
[2026-09-05 17:04:01] local.INFO: Extracted packet for processing {"connection_id":172032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07154"} 
[2026-09-05 17:04:01] local.INFO: GPS Element Parsed {"raw_longitude":763070848,"raw_latitude":100005144,"longitude_deg":76.3070848,"latitude_deg":10.0005144,"altitude":0,"angle":178,"satellites":43,"speed":0,"hex_longitude":"2d7b8980","hex_latitude":"05f5f518","is_valid_coordinates":true} 
[2026-09-05 17:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883580672001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 17:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788607756000,"timestamp_ms":1788607756000,"timestamp_seconds":1788607756,"priority":1,"record_length":96,"hex_timestamp":"000001a0715476e0"} 
[2026-09-05 17:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 17:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883580672001,"66":27865,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883580672001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:04:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:04:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 17:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883580672001,"power":27865,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 17:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":172032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:04:01] local.INFO: GPS data processed {"connection_id":172032,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:04:01] local.INFO: Acknowledgment sent {"connection_id":172032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:04:33] local.INFO: TCP Data received {"connection_id":172032,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0715476e0012d7b898005f5f518000000b22b..."} 
[2026-09-05 17:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715476e0012d7b898005f5f518000000b22b..."} 
[2026-09-05 17:04:33] local.INFO: Processing buffer {"connection_id":172032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715476e0012d7b898005f5f518000000b22b..."} 
[2026-09-05 17:04:33] local.INFO: Packet analysis {"connection_id":172032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07154"} 
[2026-09-05 17:04:33] local.INFO: Extracted packet for processing {"connection_id":172032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07154"} 
[2026-09-05 17:04:33] local.INFO: GPS Element Parsed {"raw_longitude":763070848,"raw_latitude":100005144,"longitude_deg":76.3070848,"latitude_deg":10.0005144,"altitude":0,"angle":178,"satellites":43,"speed":0,"hex_longitude":"2d7b8980","hex_latitude":"05f5f518","is_valid_coordinates":true} 
[2026-09-05 17:04: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-09-05 17:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883580672001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682959392768,"note":"Value kept but may cause issues"} 
[2026-09-05 17:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788607756000,"timestamp_ms":1788607756000,"timestamp_seconds":1788607756,"priority":1,"record_length":96,"hex_timestamp":"000001a0715476e0"} 
[2026-09-05 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-09-05 17:04: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-09-05 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 17: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-09-05 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-09-05 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-09-05 17:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883580672001,"66":27865,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900027682959392768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883580672001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:04:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:04:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682959392768,"description":"Unknown IO ID 45"} 
[2026-09-05 17:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883580672001,"power":27865,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900027682959392768}} 
[2026-09-05 17:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":172032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:04:33] local.INFO: GPS data processed {"connection_id":172032,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:04:33] local.INFO: Acknowledgment sent {"connection_id":172032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:04:45] local.INFO: TCP Data received {"connection_id":171752,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:04:45] local.INFO: Processing buffer {"connection_id":171752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:04:45] local.INFO: IMEI packet received {"connection_id":171752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":171752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:04:45] local.INFO: TCP Data received {"connection_id":171752,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:04:45] local.INFO: Processing buffer {"connection_id":171752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:04:45] local.INFO: IMEI packet received {"connection_id":171752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":171752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:04:46] local.INFO: TCP Data received {"connection_id":171752,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071584388012d1bcd40072904180038006c28..."} 
[2026-09-05 17:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071584388012d1bcd40072904180038006c28..."} 
[2026-09-05 17:04:46] local.INFO: Processing buffer {"connection_id":171752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071584388012d1bcd40072904180038006c28..."} 
[2026-09-05 17:04:46] local.INFO: Packet analysis {"connection_id":171752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07158"} 
[2026-09-05 17:04:46] local.INFO: Extracted packet for processing {"connection_id":171752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07158"} 
[2026-09-05 17:04:46] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 17:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883643904001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 17:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 17:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788608005000,"timestamp_ms":1788608005000,"timestamp_seconds":1788608005,"priority":1,"record_length":96,"hex_timestamp":"000001a071584388"} 
[2026-09-05 17:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 17: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-09-05 17:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":171752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":171752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":171752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883643904001,"66":12406,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 17:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883643904001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:04:46] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 17:04:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 17:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883643904001,"power":12406,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 17:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":171752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:04:46] local.INFO: GPS data processed {"connection_id":171752,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:04:46] local.INFO: Acknowledgment sent {"connection_id":171752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:04:50] local.INFO: TCP Data received {"connection_id":171752,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071589590012d1bcd40072904180038006c26..."} 
[2026-09-05 17:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071589590012d1bcd40072904180038006c26..."} 
[2026-09-05 17:04:50] local.INFO: Processing buffer {"connection_id":171752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071589590012d1bcd40072904180038006c26..."} 
[2026-09-05 17:04:50] local.INFO: Packet analysis {"connection_id":171752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07158"} 
[2026-09-05 17:04:50] local.INFO: Extracted packet for processing {"connection_id":171752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07158"} 
[2026-09-05 17:04:50] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 17:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883649280001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 17:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 17:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788608026000,"timestamp_ms":1788608026000,"timestamp_seconds":1788608026,"priority":1,"record_length":96,"hex_timestamp":"000001a071589590"} 
[2026-09-05 17:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 17:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883649280001,"66":12385,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 17:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883649280001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:04:50] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 17:04:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 17:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883649280001,"power":12385,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 17:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":171752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:04:50] local.INFO: GPS data processed {"connection_id":171752,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:04:50] local.INFO: Acknowledgment sent {"connection_id":171752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:04:57] local.INFO: TCP Data received {"connection_id":171753,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:04:57] local.INFO: Processing buffer {"connection_id":171753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:04:57] local.INFO: IMEI packet received {"connection_id":171753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":171753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:05:01] local.INFO: TCP Data received {"connection_id":171753,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:05:01] local.INFO: Processing buffer {"connection_id":171753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:05:01] local.INFO: IMEI packet received {"connection_id":171753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":171753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:05:06] local.INFO: TCP Data received {"connection_id":171753,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:05:06] local.INFO: Processing buffer {"connection_id":171753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:05:06] local.INFO: IMEI packet received {"connection_id":171753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":171753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:05:07] local.INFO: TCP Data received {"connection_id":171753,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071591678012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071591678012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:05:07] local.INFO: Processing buffer {"connection_id":171753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071591678012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:05:07] local.INFO: Packet analysis {"connection_id":171753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07159"} 
[2026-09-05 17:05:07] local.INFO: Extracted packet for processing {"connection_id":171753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07159"} 
[2026-09-05 17:05:07] local.INFO: GPS Element Parsed {"raw_longitude":763070208,"raw_latitude":100004776,"longitude_deg":76.3070208,"latitude_deg":10.0004776,"altitude":6,"angle":178,"satellites":45,"speed":0,"hex_longitude":"2d7b8700","hex_latitude":"05f5f3a8","is_valid_coordinates":true} 
[2026-09-05 17:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883585536001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901564168192,"note":"Value kept but may cause issues"} 
[2026-09-05 17:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788608059000,"timestamp_ms":1788608059000,"timestamp_seconds":1788608059,"priority":1,"record_length":96,"hex_timestamp":"000001a071591678"} 
[2026-09-05 17:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:05: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-09-05 17:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 17:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883585536001,"66":25962,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901786901564168192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883585536001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:05:07] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:05:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901564168192,"description":"Unknown IO ID 45"} 
[2026-09-05 17:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883585536001,"power":25962,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901786901564168192}} 
[2026-09-05 17:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":171753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:05:07] local.INFO: GPS data processed {"connection_id":171753,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:05:07] local.INFO: Acknowledgment sent {"connection_id":171753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:05:11] local.INFO: TCP Data received {"connection_id":171753,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071591678012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071591678012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:05:11] local.INFO: Processing buffer {"connection_id":171753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071591678012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:05:11] local.INFO: Packet analysis {"connection_id":171753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07159"} 
[2026-09-05 17:05:11] local.INFO: Extracted packet for processing {"connection_id":171753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07159"} 
[2026-09-05 17:05:11] local.INFO: GPS Element Parsed {"raw_longitude":763070208,"raw_latitude":100004776,"longitude_deg":76.3070208,"latitude_deg":10.0004776,"altitude":6,"angle":178,"satellites":45,"speed":0,"hex_longitude":"2d7b8700","hex_latitude":"05f5f3a8","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883585536001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901564168192,"note":"Value kept but may cause issues"} 
[2026-09-05 17:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788608059000,"timestamp_ms":1788608059000,"timestamp_seconds":1788608059,"priority":1,"record_length":96,"hex_timestamp":"000001a071591678"} 
[2026-09-05 17:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 17:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 17:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883585536001,"66":25962,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901786901564168192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883585536001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:05:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:05:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901564168192,"description":"Unknown IO ID 45"} 
[2026-09-05 17:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883585536001,"power":25962,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901786901564168192}} 
[2026-09-05 17:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":171753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:05:11] local.INFO: GPS data processed {"connection_id":171753,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:05:11] local.INFO: Acknowledgment sent {"connection_id":171753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:05:21] local.INFO: TCP Data received {"connection_id":171752,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07158e798012d1bcd40072904180038006c25..."} 
[2026-09-05 17:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07158e798012d1bcd40072904180038006c25..."} 
[2026-09-05 17:05:21] local.INFO: Processing buffer {"connection_id":171752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07158e798012d1bcd40072904180038006c25..."} 
[2026-09-05 17:05:21] local.INFO: Packet analysis {"connection_id":171752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07158"} 
[2026-09-05 17:05:21] local.INFO: Extracted packet for processing {"connection_id":171752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07158"} 
[2026-09-05 17:05:21] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 17:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883654656001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 17:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 17:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788608047000,"timestamp_ms":1788608047000,"timestamp_seconds":1788608047,"priority":1,"record_length":96,"hex_timestamp":"000001a07158e798"} 
[2026-09-05 17:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:05: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-09-05 17:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 17:05:21] 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-09-05 17:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883654656001,"66":12287,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 17:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883654656001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:05:21] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 17:05:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 17:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883654656001,"power":12287,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 17:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":171752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:05:21] local.INFO: GPS data processed {"connection_id":171752,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:05:21] local.INFO: Acknowledgment sent {"connection_id":171752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:05:44] local.INFO: TCP Data received {"connection_id":172033,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:05:44] local.INFO: Processing buffer {"connection_id":172033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:05:44] local.INFO: IMEI packet received {"connection_id":172033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":172033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:05:47] local.INFO: TCP Data received {"connection_id":174468,"ip":"162.216.150.205","data_length":1483,"data_hex":"16030105c6010005c203036e9d564d20378f5d086203342f5f656fb13f52767c..."} 
[2026-09-05 17:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174468,"packet_length":1483,"packet_hex":"16030105c6010005c203036e9d564d20378f5d086203342f5f656fb13f52767c..."} 
[2026-09-05 17:05:47] local.INFO: Processing buffer {"connection_id":174468,"buffer_length":1483,"buffer_hex":"16030105c6010005c203036e9d564d20378f5d086203342f5f656fb13f52767c..."} 
[2026-09-05 17:05:47] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":174468,"buffer_length":1483,"first_bytes_hex":"16030105c6010005c203036e9d564d20"} 
[2026-09-05 17:05:47] local.INFO: TCP Data received {"connection_id":171754,"ip":"162.216.150.205","data_length":207,"data_hex":"16030100ca010000c60303c703e02c6fd0a73894e697e8b3510c9af75d550253..."} 
[2026-09-05 17:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171754,"packet_length":207,"packet_hex":"16030100ca010000c60303c703e02c6fd0a73894e697e8b3510c9af75d550253..."} 
[2026-09-05 17:05:47] local.INFO: Processing buffer {"connection_id":171754,"buffer_length":207,"buffer_hex":"16030100ca010000c60303c703e02c6fd0a73894e697e8b3510c9af75d550253..."} 
[2026-09-05 17:05:47] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":171754,"buffer_length":207,"first_bytes_hex":"16030100ca010000c60303c703e02c6f"} 
[2026-09-05 17:05:47] local.INFO: TCP Data received {"connection_id":171754,"ip":"162.216.150.205","data_length":7,"data_hex":"1503010002020a..."} 
[2026-09-05 17:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171754,"packet_length":7,"packet_hex":"1503010002020a..."} 
[2026-09-05 17:05:47] local.INFO: Processing buffer {"connection_id":171754,"buffer_length":7,"buffer_hex":"1503010002020a..."} 
[2026-09-05 17:05:49] local.INFO: TCP Data received {"connection_id":172033,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:05:49] local.INFO: Processing buffer {"connection_id":172033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:05:49] local.INFO: IMEI packet received {"connection_id":172033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":172033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:05:49] local.INFO: TCP Data received {"connection_id":172033,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0715939a0012d1bcd40072904180038006c28..."} 
[2026-09-05 17:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715939a0012d1bcd40072904180038006c28..."} 
[2026-09-05 17:05:49] local.INFO: Processing buffer {"connection_id":172033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715939a0012d1bcd40072904180038006c28..."} 
[2026-09-05 17:05:49] local.INFO: Packet analysis {"connection_id":172033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07159"} 
[2026-09-05 17:05:49] local.INFO: Extracted packet for processing {"connection_id":172033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07159"} 
[2026-09-05 17:05:49] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 17:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883660032001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 17:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 17:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788608068000,"timestamp_ms":1788608068000,"timestamp_seconds":1788608068,"priority":1,"record_length":96,"hex_timestamp":"000001a0715939a0"} 
[2026-09-05 17:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 17:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883660032001,"66":12428,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 17:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883660032001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:05:49] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 17:05:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 17:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883660032001,"power":12428,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 17:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":172033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:05:49] local.INFO: GPS data processed {"connection_id":172033,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:05:49] local.INFO: Acknowledgment sent {"connection_id":172033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:05:56] local.INFO: TCP Data received {"connection_id":174469,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:05:56] local.INFO: Processing buffer {"connection_id":174469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:05:56] local.INFO: IMEI packet received {"connection_id":174469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":174469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:06:01] local.INFO: TCP Data received {"connection_id":174469,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:06:01] local.INFO: Processing buffer {"connection_id":174469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:06:01] local.INFO: IMEI packet received {"connection_id":174469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":174469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:06:02] local.INFO: TCP Data received {"connection_id":174469,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071591678012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071591678012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:06:02] local.INFO: Processing buffer {"connection_id":174469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071591678012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:06:02] local.INFO: Packet analysis {"connection_id":174469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07159"} 
[2026-09-05 17:06:02] local.INFO: Extracted packet for processing {"connection_id":174469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07159"} 
[2026-09-05 17:06:02] local.INFO: GPS Element Parsed {"raw_longitude":763070208,"raw_latitude":100004776,"longitude_deg":76.3070208,"latitude_deg":10.0004776,"altitude":6,"angle":178,"satellites":45,"speed":0,"hex_longitude":"2d7b8700","hex_latitude":"05f5f3a8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883585536001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901564168192,"note":"Value kept but may cause issues"} 
[2026-09-05 17:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788608059000,"timestamp_ms":1788608059000,"timestamp_seconds":1788608059,"priority":1,"record_length":96,"hex_timestamp":"000001a071591678"} 
[2026-09-05 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-09-05 17:06:02] 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-09-05 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 17:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 17:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883585536001,"66":25962,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901786901564168192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883585536001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:06:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:06:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901564168192,"description":"Unknown IO ID 45"} 
[2026-09-05 17:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883585536001,"power":25962,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901786901564168192}} 
[2026-09-05 17:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":174469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:06:02] local.INFO: GPS data processed {"connection_id":174469,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:06:02] local.INFO: Acknowledgment sent {"connection_id":174469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:06:03] local.INFO: TCP Data received {"connection_id":171755,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171755,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:06:03] local.INFO: Processing buffer {"connection_id":171755,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:06:03] local.INFO: IMEI packet received {"connection_id":171755,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 17:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":171755,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:06:20] local.INFO: TCP Data received {"connection_id":172033,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071598ba8012d1bcd40072904180038006c25..."} 
[2026-09-05 17:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071598ba8012d1bcd40072904180038006c25..."} 
[2026-09-05 17:06:20] local.INFO: Processing buffer {"connection_id":172033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071598ba8012d1bcd40072904180038006c25..."} 
[2026-09-05 17:06:20] local.INFO: Packet analysis {"connection_id":172033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07159"} 
[2026-09-05 17:06:20] local.INFO: Extracted packet for processing {"connection_id":172033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07159"} 
[2026-09-05 17:06:20] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 17:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883665408001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 17:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 17:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788608089000,"timestamp_ms":1788608089000,"timestamp_seconds":1788608089,"priority":1,"record_length":96,"hex_timestamp":"000001a071598ba8"} 
[2026-09-05 17:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 17:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:06:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883665408001,"66":12428,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 17:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883665408001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:06:20] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 17:06:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 17:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883665408001,"power":12428,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 17:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":172033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:06:20] local.INFO: GPS data processed {"connection_id":172033,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:06:20] local.INFO: Acknowledgment sent {"connection_id":172033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:06:33] local.INFO: TCP Data received {"connection_id":174469,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071591678012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071591678012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:06:33] local.INFO: Processing buffer {"connection_id":174469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071591678012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:06:33] local.INFO: Packet analysis {"connection_id":174469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07159"} 
[2026-09-05 17:06:33] local.INFO: Extracted packet for processing {"connection_id":174469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07159"} 
[2026-09-05 17:06:33] local.INFO: GPS Element Parsed {"raw_longitude":763070208,"raw_latitude":100004776,"longitude_deg":76.3070208,"latitude_deg":10.0004776,"altitude":6,"angle":178,"satellites":45,"speed":0,"hex_longitude":"2d7b8700","hex_latitude":"05f5f3a8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883585536001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901564168192,"note":"Value kept but may cause issues"} 
[2026-09-05 17:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788608059000,"timestamp_ms":1788608059000,"timestamp_seconds":1788608059,"priority":1,"record_length":96,"hex_timestamp":"000001a071591678"} 
[2026-09-05 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-09-05 17:06: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-09-05 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 17:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 17:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883585536001,"66":25962,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901786901564168192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883585536001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:06:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:06:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901564168192,"description":"Unknown IO ID 45"} 
[2026-09-05 17:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883585536001,"power":25962,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901786901564168192}} 
[2026-09-05 17:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":174469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:06:33] local.INFO: GPS data processed {"connection_id":174469,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:06:33] local.INFO: Acknowledgment sent {"connection_id":174469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:06:44] local.INFO: TCP Data received {"connection_id":172034,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:06:44] local.INFO: Processing buffer {"connection_id":172034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:06:44] local.INFO: IMEI packet received {"connection_id":172034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":172034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:06:49] local.INFO: TCP Data received {"connection_id":172034,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:06:49] local.INFO: Processing buffer {"connection_id":172034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:06:49] local.INFO: IMEI packet received {"connection_id":172034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":172034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:06:50] local.INFO: TCP Data received {"connection_id":172034,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07159ddb0012d1bcd40072904180038006c29..."} 
[2026-09-05 17:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07159ddb0012d1bcd40072904180038006c29..."} 
[2026-09-05 17:06:50] local.INFO: Processing buffer {"connection_id":172034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07159ddb0012d1bcd40072904180038006c29..."} 
[2026-09-05 17:06:50] local.INFO: Packet analysis {"connection_id":172034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07159"} 
[2026-09-05 17:06:50] local.INFO: Extracted packet for processing {"connection_id":172034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07159"} 
[2026-09-05 17:06:50] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 17:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883670784001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 17:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 17:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788608110000,"timestamp_ms":1788608110000,"timestamp_seconds":1788608110,"priority":1,"record_length":96,"hex_timestamp":"000001a07159ddb0"} 
[2026-09-05 17:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:06:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 17:06:50] 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-09-05 17:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883670784001,"66":12461,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 17:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883670784001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:06:50] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 17:06:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 17:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883670784001,"power":12461,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 17:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":172034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:06:50] local.INFO: GPS data processed {"connection_id":172034,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:06:50] local.INFO: Acknowledgment sent {"connection_id":172034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:06:56] local.INFO: TCP Data received {"connection_id":174471,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:06:56] local.INFO: Processing buffer {"connection_id":174471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:06:56] local.INFO: IMEI packet received {"connection_id":174471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":174471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:07:01] local.INFO: TCP Data received {"connection_id":174471,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:07:01] local.INFO: Processing buffer {"connection_id":174471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:07:01] local.INFO: IMEI packet received {"connection_id":174471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":174471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:07:02] local.INFO: TCP Data received {"connection_id":174471,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071591678012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071591678012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:07:02] local.INFO: Processing buffer {"connection_id":174471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071591678012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:07:02] local.INFO: Packet analysis {"connection_id":174471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07159"} 
[2026-09-05 17:07:02] local.INFO: Extracted packet for processing {"connection_id":174471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07159"} 
[2026-09-05 17:07:02] local.INFO: GPS Element Parsed {"raw_longitude":763070208,"raw_latitude":100004776,"longitude_deg":76.3070208,"latitude_deg":10.0004776,"altitude":6,"angle":178,"satellites":45,"speed":0,"hex_longitude":"2d7b8700","hex_latitude":"05f5f3a8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883585536001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901564168192,"note":"Value kept but may cause issues"} 
[2026-09-05 17:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788608059000,"timestamp_ms":1788608059000,"timestamp_seconds":1788608059,"priority":1,"record_length":96,"hex_timestamp":"000001a071591678"} 
[2026-09-05 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-09-05 17:07:02] 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-09-05 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 17:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 17:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883585536001,"66":25962,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901786901564168192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883585536001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:07:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:07:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901564168192,"description":"Unknown IO ID 45"} 
[2026-09-05 17:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883585536001,"power":25962,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901786901564168192}} 
[2026-09-05 17:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":174471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:07:02] local.INFO: GPS data processed {"connection_id":174471,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:07:02] local.INFO: Acknowledgment sent {"connection_id":174471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:07:21] local.INFO: TCP Data received {"connection_id":172034,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0715a2fb8012d1bcd40072904180038006c27..."} 
[2026-09-05 17:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715a2fb8012d1bcd40072904180038006c27..."} 
[2026-09-05 17:07:21] local.INFO: Processing buffer {"connection_id":172034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715a2fb8012d1bcd40072904180038006c27..."} 
[2026-09-05 17:07:21] local.INFO: Packet analysis {"connection_id":172034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0715a"} 
[2026-09-05 17:07:21] local.INFO: Extracted packet for processing {"connection_id":172034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0715a"} 
[2026-09-05 17:07:21] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 17:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883676160001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 17:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 17:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788608131000,"timestamp_ms":1788608131000,"timestamp_seconds":1788608131,"priority":1,"record_length":96,"hex_timestamp":"000001a0715a2fb8"} 
[2026-09-05 17:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:07: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-09-05 17:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 17:07: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-09-05 17:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883676160001,"66":12385,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 17:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883676160001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:07:21] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 17:07:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 17:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883676160001,"power":12385,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 17:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":172034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:07:21] local.INFO: GPS data processed {"connection_id":172034,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:07:21] local.INFO: Acknowledgment sent {"connection_id":172034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:07:33] local.INFO: TCP Data received {"connection_id":174471,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071591678012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071591678012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:07:33] local.INFO: Processing buffer {"connection_id":174471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071591678012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:07:33] local.INFO: Packet analysis {"connection_id":174471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07159"} 
[2026-09-05 17:07:33] local.INFO: Extracted packet for processing {"connection_id":174471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07159"} 
[2026-09-05 17:07:33] local.INFO: GPS Element Parsed {"raw_longitude":763070208,"raw_latitude":100004776,"longitude_deg":76.3070208,"latitude_deg":10.0004776,"altitude":6,"angle":178,"satellites":45,"speed":0,"hex_longitude":"2d7b8700","hex_latitude":"05f5f3a8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883585536001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901564168192,"note":"Value kept but may cause issues"} 
[2026-09-05 17:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788608059000,"timestamp_ms":1788608059000,"timestamp_seconds":1788608059,"priority":1,"record_length":96,"hex_timestamp":"000001a071591678"} 
[2026-09-05 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-09-05 17:07: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-09-05 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 17:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 17:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883585536001,"66":25962,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901786901564168192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883585536001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:07:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:07:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901564168192,"description":"Unknown IO ID 45"} 
[2026-09-05 17:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883585536001,"power":25962,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901786901564168192}} 
[2026-09-05 17:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":174471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:07:33] local.INFO: GPS data processed {"connection_id":174471,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:07:33] local.INFO: Acknowledgment sent {"connection_id":174471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:07:44] local.INFO: TCP Data received {"connection_id":173139,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:07:44] local.INFO: Processing buffer {"connection_id":173139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:07:44] local.INFO: IMEI packet received {"connection_id":173139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":173139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:07:49] local.INFO: TCP Data received {"connection_id":173139,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:07:49] local.INFO: Processing buffer {"connection_id":173139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:07:49] local.INFO: IMEI packet received {"connection_id":173139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":173139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:07:50] local.INFO: TCP Data received {"connection_id":173139,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0715a81c0012d1bcd40072904180038006c26..."} 
[2026-09-05 17:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715a81c0012d1bcd40072904180038006c26..."} 
[2026-09-05 17:07:50] local.INFO: Processing buffer {"connection_id":173139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715a81c0012d1bcd40072904180038006c26..."} 
[2026-09-05 17:07:50] local.INFO: Packet analysis {"connection_id":173139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0715a"} 
[2026-09-05 17:07:50] local.INFO: Extracted packet for processing {"connection_id":173139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0715a"} 
[2026-09-05 17:07:50] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 17:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883681536001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 17:07:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 17:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788608152000,"timestamp_ms":1788608152000,"timestamp_seconds":1788608152,"priority":1,"record_length":96,"hex_timestamp":"000001a0715a81c0"} 
[2026-09-05 17:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 17:07:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883681536001,"66":12428,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 17:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883681536001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:07:50] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 17:07:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:07:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 17:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883681536001,"power":12428,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 17:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":173139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:07:50] local.INFO: GPS data processed {"connection_id":173139,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:07:50] local.INFO: Acknowledgment sent {"connection_id":173139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:07:55] local.INFO: TCP Data received {"connection_id":173140,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:07:56] local.INFO: Processing buffer {"connection_id":173140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:07:56] local.INFO: IMEI packet received {"connection_id":173140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":173140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:08:00] local.INFO: TCP Data received {"connection_id":173140,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:08:00] local.INFO: Processing buffer {"connection_id":173140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:08:00] local.INFO: IMEI packet received {"connection_id":173140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":173140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:08:02] local.INFO: TCP Data received {"connection_id":173140,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071591678012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071591678012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:08:02] local.INFO: Processing buffer {"connection_id":173140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071591678012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:08:02] local.INFO: Packet analysis {"connection_id":173140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07159"} 
[2026-09-05 17:08:02] local.INFO: Extracted packet for processing {"connection_id":173140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07159"} 
[2026-09-05 17:08:02] local.INFO: GPS Element Parsed {"raw_longitude":763070208,"raw_latitude":100004776,"longitude_deg":76.3070208,"latitude_deg":10.0004776,"altitude":6,"angle":178,"satellites":45,"speed":0,"hex_longitude":"2d7b8700","hex_latitude":"05f5f3a8","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883585536001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901564168192,"note":"Value kept but may cause issues"} 
[2026-09-05 17:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788608059000,"timestamp_ms":1788608059000,"timestamp_seconds":1788608059,"priority":1,"record_length":96,"hex_timestamp":"000001a071591678"} 
[2026-09-05 17:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:08:02] 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-09-05 17:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 17:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883585536001,"66":25962,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901786901564168192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883585536001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:08:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:08:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901564168192,"description":"Unknown IO ID 45"} 
[2026-09-05 17:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883585536001,"power":25962,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901786901564168192}} 
[2026-09-05 17:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":173140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:08:02] local.INFO: GPS data processed {"connection_id":173140,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:08:02] local.INFO: Acknowledgment sent {"connection_id":173140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:08:21] local.INFO: TCP Data received {"connection_id":173139,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0715ad3c8012d1bcd40072904180038006c28..."} 
[2026-09-05 17:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715ad3c8012d1bcd40072904180038006c28..."} 
[2026-09-05 17:08:21] local.INFO: Processing buffer {"connection_id":173139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715ad3c8012d1bcd40072904180038006c28..."} 
[2026-09-05 17:08:21] local.INFO: Packet analysis {"connection_id":173139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0715a"} 
[2026-09-05 17:08:21] local.INFO: Extracted packet for processing {"connection_id":173139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0715a"} 
[2026-09-05 17:08:21] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 17:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883686912001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 17:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 17:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788608173000,"timestamp_ms":1788608173000,"timestamp_seconds":1788608173,"priority":1,"record_length":96,"hex_timestamp":"000001a0715ad3c8"} 
[2026-09-05 17:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:08: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-09-05 17:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 17:08:21] 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-09-05 17:08:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883686912001,"66":12406,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 17:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883686912001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:08:21] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 17:08:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 17:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883686912001,"power":12406,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 17:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":173139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:08:21] local.INFO: GPS data processed {"connection_id":173139,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:08:21] local.INFO: Acknowledgment sent {"connection_id":173139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:08:32] local.INFO: TCP Data received {"connection_id":173140,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071591678012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071591678012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:08:32] local.INFO: Processing buffer {"connection_id":173140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071591678012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:08:32] local.INFO: Packet analysis {"connection_id":173140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07159"} 
[2026-09-05 17:08:32] local.INFO: Extracted packet for processing {"connection_id":173140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07159"} 
[2026-09-05 17:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763070208,"raw_latitude":100004776,"longitude_deg":76.3070208,"latitude_deg":10.0004776,"altitude":6,"angle":178,"satellites":45,"speed":0,"hex_longitude":"2d7b8700","hex_latitude":"05f5f3a8","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883585536001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901564168192,"note":"Value kept but may cause issues"} 
[2026-09-05 17:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788608059000,"timestamp_ms":1788608059000,"timestamp_seconds":1788608059,"priority":1,"record_length":96,"hex_timestamp":"000001a071591678"} 
[2026-09-05 17:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 17:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 17:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883585536001,"66":25962,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901786901564168192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883585536001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:08:32] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:08:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901564168192,"description":"Unknown IO ID 45"} 
[2026-09-05 17:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883585536001,"power":25962,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901786901564168192}} 
[2026-09-05 17:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":173140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:08:32] local.INFO: GPS data processed {"connection_id":173140,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:08:32] local.INFO: Acknowledgment sent {"connection_id":173140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:08:44] local.INFO: TCP Data received {"connection_id":171757,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:08:44] local.INFO: Processing buffer {"connection_id":171757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:08:44] local.INFO: IMEI packet received {"connection_id":171757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":171757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:08:49] local.INFO: TCP Data received {"connection_id":171757,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:08:49] local.INFO: Processing buffer {"connection_id":171757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:08:49] local.INFO: IMEI packet received {"connection_id":171757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":171757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:08:50] local.INFO: TCP Data received {"connection_id":171757,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0715b25d0012d1bcd40072904180038006c26..."} 
[2026-09-05 17:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715b25d0012d1bcd40072904180038006c26..."} 
[2026-09-05 17:08:50] local.INFO: Processing buffer {"connection_id":171757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715b25d0012d1bcd40072904180038006c26..."} 
[2026-09-05 17:08:50] local.INFO: Packet analysis {"connection_id":171757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0715b"} 
[2026-09-05 17:08:50] local.INFO: Extracted packet for processing {"connection_id":171757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0715b"} 
[2026-09-05 17:08:50] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 17:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883692288001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 17:08:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 17:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788608194000,"timestamp_ms":1788608194000,"timestamp_seconds":1788608194,"priority":1,"record_length":96,"hex_timestamp":"000001a0715b25d0"} 
[2026-09-05 17:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 17:08:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:08:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883692288001,"66":12428,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 17:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883692288001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:08:50] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 17:08:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:08:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 17:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883692288001,"power":12428,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 17:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":171757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:08:50] local.INFO: GPS data processed {"connection_id":171757,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:08:50] local.INFO: Acknowledgment sent {"connection_id":171757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:08:55] local.INFO: TCP Data received {"connection_id":174473,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:08:55] local.INFO: Processing buffer {"connection_id":174473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:08:55] local.INFO: IMEI packet received {"connection_id":174473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":174473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:09:01] local.INFO: TCP Data received {"connection_id":174473,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:09:01] local.INFO: Processing buffer {"connection_id":174473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:09:01] local.INFO: IMEI packet received {"connection_id":174473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":174473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:09:02] local.INFO: TCP Data received {"connection_id":174473,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071591678012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071591678012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:09:02] local.INFO: Processing buffer {"connection_id":174473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071591678012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:09:02] local.INFO: Packet analysis {"connection_id":174473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07159"} 
[2026-09-05 17:09:02] local.INFO: Extracted packet for processing {"connection_id":174473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07159"} 
[2026-09-05 17:09:02] local.INFO: GPS Element Parsed {"raw_longitude":763070208,"raw_latitude":100004776,"longitude_deg":76.3070208,"latitude_deg":10.0004776,"altitude":6,"angle":178,"satellites":45,"speed":0,"hex_longitude":"2d7b8700","hex_latitude":"05f5f3a8","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883585536001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901564168192,"note":"Value kept but may cause issues"} 
[2026-09-05 17:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788608059000,"timestamp_ms":1788608059000,"timestamp_seconds":1788608059,"priority":1,"record_length":96,"hex_timestamp":"000001a071591678"} 
[2026-09-05 17:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:09:02] 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-09-05 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 17:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883585536001,"66":25962,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901786901564168192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883585536001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:09:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:09:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901564168192,"description":"Unknown IO ID 45"} 
[2026-09-05 17:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883585536001,"power":25962,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901786901564168192}} 
[2026-09-05 17:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":174473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:09:02] local.INFO: GPS data processed {"connection_id":174473,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:09:02] local.INFO: Acknowledgment sent {"connection_id":174473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:09:21] local.INFO: TCP Data received {"connection_id":171757,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0715b77d8012d1bcd40072904180038006c24..."} 
[2026-09-05 17:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715b77d8012d1bcd40072904180038006c24..."} 
[2026-09-05 17:09:21] local.INFO: Processing buffer {"connection_id":171757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715b77d8012d1bcd40072904180038006c24..."} 
[2026-09-05 17:09:21] local.INFO: Packet analysis {"connection_id":171757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0715b"} 
[2026-09-05 17:09:21] local.INFO: Extracted packet for processing {"connection_id":171757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0715b"} 
[2026-09-05 17:09:21] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883697664001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 17:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 17:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788608215000,"timestamp_ms":1788608215000,"timestamp_seconds":1788608215,"priority":1,"record_length":96,"hex_timestamp":"000001a0715b77d8"} 
[2026-09-05 17:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:09: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-09-05 17: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 17:09:21] 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-09-05 17:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883697664001,"66":12461,"225":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-09-05 17:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883697664001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:09:21] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-05 17:09:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 17:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883697664001,"power":12461,"unknown_225":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 17:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":171757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:09:21] local.INFO: GPS data processed {"connection_id":171757,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:09:21] local.INFO: Acknowledgment sent {"connection_id":171757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:09:33] local.INFO: TCP Data received {"connection_id":174473,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071591678012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071591678012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:09:33] local.INFO: Processing buffer {"connection_id":174473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071591678012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:09:33] local.INFO: Packet analysis {"connection_id":174473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07159"} 
[2026-09-05 17:09:33] local.INFO: Extracted packet for processing {"connection_id":174473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07159"} 
[2026-09-05 17:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763070208,"raw_latitude":100004776,"longitude_deg":76.3070208,"latitude_deg":10.0004776,"altitude":6,"angle":178,"satellites":45,"speed":0,"hex_longitude":"2d7b8700","hex_latitude":"05f5f3a8","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883585536001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901564168192,"note":"Value kept but may cause issues"} 
[2026-09-05 17:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788608059000,"timestamp_ms":1788608059000,"timestamp_seconds":1788608059,"priority":1,"record_length":96,"hex_timestamp":"000001a071591678"} 
[2026-09-05 17:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:09: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-09-05 17:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-05 17:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883585536001,"66":25962,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901786901564168192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883585536001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:09:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:09:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901564168192,"description":"Unknown IO ID 45"} 
[2026-09-05 17:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883585536001,"power":25962,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901786901564168192}} 
[2026-09-05 17:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":174473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:09:33] local.INFO: GPS data processed {"connection_id":174473,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:09:33] local.INFO: Acknowledgment sent {"connection_id":174473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:09:44] local.INFO: TCP Data received {"connection_id":173141,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:09:44] local.INFO: Processing buffer {"connection_id":173141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:09:44] local.INFO: IMEI packet received {"connection_id":173141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":173141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:09:49] local.INFO: TCP Data received {"connection_id":173141,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:09:49] local.INFO: Processing buffer {"connection_id":173141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:09:49] local.INFO: IMEI packet received {"connection_id":173141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":173141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:09:51] local.INFO: TCP Data received {"connection_id":173141,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0715bc9e0012d1bcd40072904180038006c28..."} 
[2026-09-05 17:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715bc9e0012d1bcd40072904180038006c28..."} 
[2026-09-05 17:09:51] local.INFO: Processing buffer {"connection_id":173141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715bc9e0012d1bcd40072904180038006c28..."} 
[2026-09-05 17:09:51] local.INFO: Packet analysis {"connection_id":173141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0715b"} 
[2026-09-05 17:09:51] local.INFO: Extracted packet for processing {"connection_id":173141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0715b"} 
[2026-09-05 17:09:51] local.INFO: GPS Element Parsed {"raw_longitude":756796736,"raw_latitude":120128536,"longitude_deg":75.6796736,"latitude_deg":12.0128536,"altitude":56,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d1bcd40","hex_latitude":"07290418","is_valid_coordinates":true} 
[2026-09-05 17:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883703040001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987250021203968,"note":"Value kept but may cause issues"} 
[2026-09-05 17:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003327808746821632,"note":"Value kept but may cause issues"} 
[2026-09-05 17:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788608236000,"timestamp_ms":1788608236000,"timestamp_seconds":1788608236,"priority":1,"record_length":96,"hex_timestamp":"000001a0715bc9e0"} 
[2026-09-05 17:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 17:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883703040001,"66":12428,"218":206,"83":42752,"24":0,"16":17987250021203968,"45":2003327808746821632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 17:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883703040001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:09:51] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 17:09:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987250021203968,"km_value":17987250021203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003327808746821632,"description":"Unknown IO ID 45"} 
[2026-09-05 17:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883703040001,"power":12428,"unknown_218":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2003327808746821632}} 
[2026-09-05 17:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":173141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:09:51] local.INFO: GPS data processed {"connection_id":173141,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:09:51] local.INFO: Acknowledgment sent {"connection_id":173141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:09:57] local.INFO: TCP Data received {"connection_id":171758,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:09:57] local.INFO: Processing buffer {"connection_id":171758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:09:57] local.INFO: IMEI packet received {"connection_id":171758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":171758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:10:01] local.INFO: TCP Data received {"connection_id":171758,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:10:01] local.INFO: Processing buffer {"connection_id":171758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:10:01] local.INFO: IMEI packet received {"connection_id":171758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":171758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:10:06] local.INFO: TCP Data received {"connection_id":171758,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:10:06] local.INFO: Processing buffer {"connection_id":171758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:10:06] local.INFO: IMEI packet received {"connection_id":171758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":171758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:10:07] local.INFO: TCP Data received {"connection_id":171758,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0715dae40012d7b870005f5f3a8000600b22e..."} 
[2026-09-05 17:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715dae40012d7b870005f5f3a8000600b22e..."} 
[2026-09-05 17:10:07] local.INFO: Processing buffer {"connection_id":171758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715dae40012d7b870005f5f3a8000600b22e..."} 
[2026-09-05 17:10:07] local.INFO: Packet analysis {"connection_id":171758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0715d"} 
[2026-09-05 17:10:07] local.INFO: Extracted packet for processing {"connection_id":171758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0715d"} 
[2026-09-05 17:10:07] local.INFO: GPS Element Parsed {"raw_longitude":763070208,"raw_latitude":100004776,"longitude_deg":76.3070208,"latitude_deg":10.0004776,"altitude":6,"angle":178,"satellites":46,"speed":0,"hex_longitude":"2d7b8700","hex_latitude":"05f5f3a8","is_valid_coordinates":true} 
[2026-09-05 17:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883663104001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901083214122297344,"note":"Value kept but may cause issues"} 
[2026-09-05 17:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788608360000,"timestamp_ms":1788608360000,"timestamp_seconds":1788608360,"priority":1,"record_length":96,"hex_timestamp":"000001a0715dae40"} 
[2026-09-05 17:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:10: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-09-05 17:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-05 17:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883663104001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901083214122297344},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883663104001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:10:07] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:10:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901083214122297344,"description":"Unknown IO ID 45"} 
[2026-09-05 17:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883663104001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901083214122297344}} 
[2026-09-05 17:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":171758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:10:07] local.INFO: GPS data processed {"connection_id":171758,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:10:07] local.INFO: Acknowledgment sent {"connection_id":171758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:10:12] local.INFO: TCP Data received {"connection_id":171758,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0715dae40012d7b870005f5f3a8000600b22e..."} 
[2026-09-05 17:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715dae40012d7b870005f5f3a8000600b22e..."} 
[2026-09-05 17:10:12] local.INFO: Processing buffer {"connection_id":171758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715dae40012d7b870005f5f3a8000600b22e..."} 
[2026-09-05 17:10:12] local.INFO: Packet analysis {"connection_id":171758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0715d"} 
[2026-09-05 17:10:12] local.INFO: Extracted packet for processing {"connection_id":171758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0715d"} 
[2026-09-05 17:10:12] local.INFO: GPS Element Parsed {"raw_longitude":763070208,"raw_latitude":100004776,"longitude_deg":76.3070208,"latitude_deg":10.0004776,"altitude":6,"angle":178,"satellites":46,"speed":0,"hex_longitude":"2d7b8700","hex_latitude":"05f5f3a8","is_valid_coordinates":true} 
[2026-09-05 17:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883663104001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901083214122297344,"note":"Value kept but may cause issues"} 
[2026-09-05 17:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788608360000,"timestamp_ms":1788608360000,"timestamp_seconds":1788608360,"priority":1,"record_length":96,"hex_timestamp":"000001a0715dae40"} 
[2026-09-05 17:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 17:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-05 17:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883663104001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901083214122297344},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883663104001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:10:12] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:10:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901083214122297344,"description":"Unknown IO ID 45"} 
[2026-09-05 17:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883663104001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901083214122297344}} 
[2026-09-05 17:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":171758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:10:12] local.INFO: GPS data processed {"connection_id":171758,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:10:12] local.INFO: Acknowledgment sent {"connection_id":171758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:10:22] local.INFO: TCP Data received {"connection_id":173141,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0715de4f0012d1bc940072902f80040013727..."} 
[2026-09-05 17:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715de4f0012d1bc940072902f80040013727..."} 
[2026-09-05 17:10:22] local.INFO: Processing buffer {"connection_id":173141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715de4f0012d1bc940072902f80040013727..."} 
[2026-09-05 17:10:22] local.INFO: Packet analysis {"connection_id":173141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0715d"} 
[2026-09-05 17:10:22] local.INFO: Extracted packet for processing {"connection_id":173141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0715d"} 
[2026-09-05 17:10:22] local.INFO: GPS Element Parsed {"raw_longitude":756795712,"raw_latitude":120128248,"longitude_deg":75.6795712,"latitude_deg":12.0128248,"altitude":64,"angle":311,"satellites":39,"speed":2,"hex_longitude":"2d1bc940","hex_latitude":"072902f8","is_valid_coordinates":true} 
[2026-09-05 17:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883742720001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987310150746112,"note":"Value kept but may cause issues"} 
[2026-09-05 17:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2002272277584046080,"note":"Value kept but may cause issues"} 
[2026-09-05 17:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788608374000,"timestamp_ms":1788608374000,"timestamp_seconds":1788608374,"priority":1,"record_length":96,"hex_timestamp":"000001a0715de4f0"} 
[2026-09-05 17:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-05 17:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883742720001,"66":14070,"218":206,"83":42752,"24":2,"16":17987310150746112,"45":2002272277584046080},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 17:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883742720001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:10:22] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 17:10:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987310150746112,"km_value":17987310150746.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2002272277584046080,"description":"Unknown IO ID 45"} 
[2026-09-05 17:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883742720001,"power":14070,"unknown_218":206,"unknown_83":42752,"ignition":2,"odometer":null,"unknown_45":2002272277584046080}} 
[2026-09-05 17:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":173141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:10:22] local.INFO: GPS data processed {"connection_id":173141,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:10:22] local.INFO: Acknowledgment sent {"connection_id":173141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:10:44] local.INFO: TCP Data received {"connection_id":172035,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:10:44] local.INFO: Processing buffer {"connection_id":172035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:10:44] local.INFO: IMEI packet received {"connection_id":172035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":172035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:10:48] local.INFO: TCP Data received {"connection_id":172035,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:10:48] local.INFO: Processing buffer {"connection_id":172035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:10:48] local.INFO: IMEI packet received {"connection_id":172035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":172035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:10:49] local.INFO: TCP Data received {"connection_id":172035,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:10:49] local.INFO: Processing buffer {"connection_id":172035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:10:49] local.INFO: IMEI packet received {"connection_id":172035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":172035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:10:50] local.INFO: TCP Data received {"connection_id":172035,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0715decc0012d1bc880072903900040012927..."} 
[2026-09-05 17:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715decc0012d1bc880072903900040012927..."} 
[2026-09-05 17:10:50] local.INFO: Processing buffer {"connection_id":172035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715decc0012d1bc880072903900040012927..."} 
[2026-09-05 17:10:50] local.INFO: Packet analysis {"connection_id":172035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0715d"} 
[2026-09-05 17:10:50] local.INFO: Extracted packet for processing {"connection_id":172035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0715d"} 
[2026-09-05 17:10:50] local.INFO: GPS Element Parsed {"raw_longitude":756795520,"raw_latitude":120128400,"longitude_deg":75.679552,"latitude_deg":12.01284,"altitude":64,"angle":297,"satellites":39,"speed":5,"hex_longitude":"2d1bc880","hex_latitude":"07290390","is_valid_coordinates":true} 
[2026-09-05 17:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883743744001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17987327330615296,"note":"Value kept but may cause issues"} 
[2026-09-05 17:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2002201908839905280,"note":"Value kept but may cause issues"} 
[2026-09-05 17:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788608376000,"timestamp_ms":1788608376000,"timestamp_seconds":1788608376,"priority":1,"record_length":96,"hex_timestamp":"000001a0715decc0"} 
[2026-09-05 17:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-05 17:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883743744001,"66":14135,"218":206,"83":42752,"24":5,"16":17987327330615296,"45":2002201908839905280},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 17:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883743744001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:10:50] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 17:10:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17987327330615296,"km_value":17987327330615.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2002201908839905280,"description":"Unknown IO ID 45"} 
[2026-09-05 17:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883743744001,"power":14135,"unknown_218":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":2002201908839905280}} 
[2026-09-05 17:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":172035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:10:50] local.INFO: GPS data processed {"connection_id":172035,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:10:50] local.INFO: Acknowledgment sent {"connection_id":172035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:10:55] local.INFO: TCP Data received {"connection_id":172036,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:10:55] local.INFO: Processing buffer {"connection_id":172036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:10:55] local.INFO: IMEI packet received {"connection_id":172036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":172036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:11:00] local.INFO: TCP Data received {"connection_id":172036,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:11:00] local.INFO: Processing buffer {"connection_id":172036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:11:00] local.INFO: IMEI packet received {"connection_id":172036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":172036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:11:01] local.INFO: TCP Data received {"connection_id":172036,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0715dae40012d7b870005f5f3a8000600b22e..."} 
[2026-09-05 17:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715dae40012d7b870005f5f3a8000600b22e..."} 
[2026-09-05 17:11:01] local.INFO: Processing buffer {"connection_id":172036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715dae40012d7b870005f5f3a8000600b22e..."} 
[2026-09-05 17:11:01] local.INFO: Packet analysis {"connection_id":172036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0715d"} 
[2026-09-05 17:11:01] local.INFO: Extracted packet for processing {"connection_id":172036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0715d"} 
[2026-09-05 17:11:01] local.INFO: GPS Element Parsed {"raw_longitude":763070208,"raw_latitude":100004776,"longitude_deg":76.3070208,"latitude_deg":10.0004776,"altitude":6,"angle":178,"satellites":46,"speed":0,"hex_longitude":"2d7b8700","hex_latitude":"05f5f3a8","is_valid_coordinates":true} 
[2026-09-05 17:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883663104001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901083214122297344,"note":"Value kept but may cause issues"} 
[2026-09-05 17:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788608360000,"timestamp_ms":1788608360000,"timestamp_seconds":1788608360,"priority":1,"record_length":96,"hex_timestamp":"000001a0715dae40"} 
[2026-09-05 17:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:11:01] 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-09-05 17:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-05 17:11:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883663104001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901083214122297344},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883663104001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:11:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:11:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901083214122297344,"description":"Unknown IO ID 45"} 
[2026-09-05 17:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883663104001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901083214122297344}} 
[2026-09-05 17:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":172036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:11:01] local.INFO: GPS data processed {"connection_id":172036,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:11:01] local.INFO: Acknowledgment sent {"connection_id":172036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:11:21] local.INFO: TCP Data received {"connection_id":172035,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0715ecb68012d1b98c007292ce0003900c426..."} 
[2026-09-05 17:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715ecb68012d1b98c007292ce0003900c426..."} 
[2026-09-05 17:11:21] local.INFO: Processing buffer {"connection_id":172035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715ecb68012d1b98c007292ce0003900c426..."} 
[2026-09-05 17:11:21] local.INFO: Packet analysis {"connection_id":172035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0715e"} 
[2026-09-05 17:11:21] local.INFO: Extracted packet for processing {"connection_id":172035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0715e"} 
[2026-09-05 17:11:21] local.INFO: GPS Element Parsed {"raw_longitude":756783296,"raw_latitude":120138976,"longitude_deg":75.6783296,"latitude_deg":12.0138976,"altitude":57,"angle":196,"satellites":38,"speed":7,"hex_longitude":"2d1b98c0","hex_latitude":"07292ce0","is_valid_coordinates":true} 
[2026-09-05 17:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883758592001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17988160554270720,"note":"Value kept but may cause issues"} 
[2026-09-05 17:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1988620741216405504,"note":"Value kept but may cause issues"} 
[2026-09-05 17:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788608433000,"timestamp_ms":1788608433000,"timestamp_seconds":1788608433,"priority":1,"record_length":96,"hex_timestamp":"000001a0715ecb68"} 
[2026-09-05 17:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:11: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-09-05 17:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-05 17:11:21] 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-09-05 17:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883758592001,"66":13928,"218":206,"83":42752,"24":7,"16":17988160554270720,"45":1988620741216405504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 17:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883758592001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:11:21] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 17:11:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17988160554270720,"km_value":17988160554270.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1988620741216405504,"description":"Unknown IO ID 45"} 
[2026-09-05 17:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883758592001,"power":13928,"unknown_218":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1988620741216405504}} 
[2026-09-05 17:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":172035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:11:21] local.INFO: GPS data processed {"connection_id":172035,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:11:21] local.INFO: Acknowledgment sent {"connection_id":172035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:11:32] local.INFO: TCP Data received {"connection_id":172036,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0715dae40012d7b870005f5f3a8000600b22e..."} 
[2026-09-05 17:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715dae40012d7b870005f5f3a8000600b22e..."} 
[2026-09-05 17:11:32] local.INFO: Processing buffer {"connection_id":172036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715dae40012d7b870005f5f3a8000600b22e..."} 
[2026-09-05 17:11:32] local.INFO: Packet analysis {"connection_id":172036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0715d"} 
[2026-09-05 17:11:32] local.INFO: Extracted packet for processing {"connection_id":172036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0715d"} 
[2026-09-05 17:11:32] local.INFO: GPS Element Parsed {"raw_longitude":763070208,"raw_latitude":100004776,"longitude_deg":76.3070208,"latitude_deg":10.0004776,"altitude":6,"angle":178,"satellites":46,"speed":0,"hex_longitude":"2d7b8700","hex_latitude":"05f5f3a8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883663104001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901083214122297344,"note":"Value kept but may cause issues"} 
[2026-09-05 17:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788608360000,"timestamp_ms":1788608360000,"timestamp_seconds":1788608360,"priority":1,"record_length":96,"hex_timestamp":"000001a0715dae40"} 
[2026-09-05 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-09-05 17:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-05 17:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 17:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883663104001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901083214122297344},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883663104001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:11:32] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:11:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901083214122297344,"description":"Unknown IO ID 45"} 
[2026-09-05 17:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883663104001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901083214122297344}} 
[2026-09-05 17:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":172036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:11:32] local.INFO: GPS data processed {"connection_id":172036,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:11:32] local.INFO: Acknowledgment sent {"connection_id":172036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:11:37] local.INFO: TCP Data received {"connection_id":173143,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173143,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:11:37] local.INFO: Processing buffer {"connection_id":173143,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:11:37] local.INFO: IMEI packet received {"connection_id":173143,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 17:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":173143,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:11:47] local.INFO: TCP Data received {"connection_id":173145,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173145,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:11:47] local.INFO: Processing buffer {"connection_id":173145,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:11:47] local.INFO: IMEI packet received {"connection_id":173145,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 17:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":173145,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:11:49] local.INFO: TCP Data received {"connection_id":173144,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:11:49] local.INFO: Processing buffer {"connection_id":173144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:11:49] local.INFO: IMEI packet received {"connection_id":173144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":173144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:11:51] local.INFO: TCP Data received {"connection_id":173144,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:11:51] local.INFO: Processing buffer {"connection_id":173144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:11:51] local.INFO: IMEI packet received {"connection_id":173144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":173144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:11:52] local.INFO: TCP Data received {"connection_id":173144,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0715ed720012d1b9840072929c8003a00b527..."} 
[2026-09-05 17:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715ed720012d1b9840072929c8003a00b527..."} 
[2026-09-05 17:11:52] local.INFO: Processing buffer {"connection_id":173144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715ed720012d1b9840072929c8003a00b527..."} 
[2026-09-05 17:11:52] local.INFO: Packet analysis {"connection_id":173144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0715e"} 
[2026-09-05 17:11:52] local.INFO: Extracted packet for processing {"connection_id":173144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0715e"} 
[2026-09-05 17:11:52] local.INFO: GPS Element Parsed {"raw_longitude":756783168,"raw_latitude":120138184,"longitude_deg":75.6783168,"latitude_deg":12.0138184,"altitude":58,"angle":181,"satellites":39,"speed":15,"hex_longitude":"2d1b9840","hex_latitude":"072929c8","is_valid_coordinates":true} 
[2026-09-05 17:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883758848001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17988199208976384,"note":"Value kept but may cause issues"} 
[2026-09-05 17:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1988550372472184832,"note":"Value kept but may cause issues"} 
[2026-09-05 17:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788608436000,"timestamp_ms":1788608436000,"timestamp_seconds":1788608436,"priority":1,"record_length":96,"hex_timestamp":"000001a0715ed720"} 
[2026-09-05 17:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-05 17:11:52] 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-09-05 17:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883758848001,"66":13972,"218":206,"83":42752,"24":15,"16":17988199208976384,"45":1988550372472184832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 17:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883758848001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:11:52] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 17:11:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17988199208976384,"km_value":17988199208976.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1988550372472184832,"description":"Unknown IO ID 45"} 
[2026-09-05 17:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883758848001,"power":13972,"unknown_218":206,"unknown_83":42752,"ignition":15,"odometer":null,"unknown_45":1988550372472184832}} 
[2026-09-05 17:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":173144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:11:52] local.INFO: GPS data processed {"connection_id":173144,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:11:52] local.INFO: Acknowledgment sent {"connection_id":173144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:11:55] local.INFO: TCP Data received {"connection_id":171759,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:11:55] local.INFO: Processing buffer {"connection_id":171759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:11:55] local.INFO: IMEI packet received {"connection_id":171759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":171759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:12:01] local.INFO: TCP Data received {"connection_id":171759,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:12:01] local.INFO: Processing buffer {"connection_id":171759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:12:01] local.INFO: IMEI packet received {"connection_id":171759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":171759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:12:02] local.INFO: TCP Data received {"connection_id":171759,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0715dae40012d7b870005f5f3a8000600b22e..."} 
[2026-09-05 17:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715dae40012d7b870005f5f3a8000600b22e..."} 
[2026-09-05 17:12:02] local.INFO: Processing buffer {"connection_id":171759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715dae40012d7b870005f5f3a8000600b22e..."} 
[2026-09-05 17:12:02] local.INFO: Packet analysis {"connection_id":171759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0715d"} 
[2026-09-05 17:12:02] local.INFO: Extracted packet for processing {"connection_id":171759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0715d"} 
[2026-09-05 17:12:02] local.INFO: GPS Element Parsed {"raw_longitude":763070208,"raw_latitude":100004776,"longitude_deg":76.3070208,"latitude_deg":10.0004776,"altitude":6,"angle":178,"satellites":46,"speed":0,"hex_longitude":"2d7b8700","hex_latitude":"05f5f3a8","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883663104001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901083214122297344,"note":"Value kept but may cause issues"} 
[2026-09-05 17:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788608360000,"timestamp_ms":1788608360000,"timestamp_seconds":1788608360,"priority":1,"record_length":96,"hex_timestamp":"000001a0715dae40"} 
[2026-09-05 17:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:12:02] 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-09-05 17: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":106,"data_length":795,"current_offset":136} 
[2026-09-05 17:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883663104001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901083214122297344},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883663104001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:12:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:12:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901083214122297344,"description":"Unknown IO ID 45"} 
[2026-09-05 17:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883663104001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901083214122297344}} 
[2026-09-05 17:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":171759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:12:02] local.INFO: GPS data processed {"connection_id":171759,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:12:02] local.INFO: Acknowledgment sent {"connection_id":171759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:12:02] local.INFO: TCP Data received {"connection_id":173144,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0715ee6c0012d1b9700072922a8003b00c025..."} 
[2026-09-05 17:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715ee6c0012d1b9700072922a8003b00c025..."} 
[2026-09-05 17:12:02] local.INFO: Processing buffer {"connection_id":173144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715ee6c0012d1b9700072922a8003b00c025..."} 
[2026-09-05 17:12:02] local.INFO: Packet analysis {"connection_id":173144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0715e"} 
[2026-09-05 17:12:02] local.INFO: Extracted packet for processing {"connection_id":173144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0715e"} 
[2026-09-05 17:12:02] local.INFO: GPS Element Parsed {"raw_longitude":756782848,"raw_latitude":120136360,"longitude_deg":75.6782848,"latitude_deg":12.013636,"altitude":59,"angle":192,"satellites":37,"speed":19,"hex_longitude":"2d1b9700","hex_latitude":"072922a8","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883759616001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17988289403289600,"note":"Value kept but may cause issues"} 
[2026-09-05 17:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1988409634983626752,"note":"Value kept but may cause issues"} 
[2026-09-05 17:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788608440000,"timestamp_ms":1788608440000,"timestamp_seconds":1788608440,"priority":1,"record_length":96,"hex_timestamp":"000001a0715ee6c0"} 
[2026-09-05 17:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 17:12: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-09-05 17: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-09-05 17:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883759616001,"66":14004,"218":206,"83":42752,"24":19,"16":17988289403289600,"45":1988409634983626752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 17:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883759616001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:12:02] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 17:12:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17988289403289600,"km_value":17988289403289.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1988409634983626752,"description":"Unknown IO ID 45"} 
[2026-09-05 17:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883759616001,"power":14004,"unknown_218":206,"unknown_83":42752,"ignition":19,"odometer":null,"unknown_45":1988409634983626752}} 
[2026-09-05 17:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":173144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:12:02] local.INFO: GPS data processed {"connection_id":173144,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:12:02] local.INFO: Acknowledgment sent {"connection_id":173144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:12:03] local.INFO: TCP Data received {"connection_id":173144,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0715f11b8012d1b924007290d00004100b523..."} 
[2026-09-05 17:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715f11b8012d1b924007290d00004100b523..."} 
[2026-09-05 17:12:03] local.INFO: Processing buffer {"connection_id":173144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715f11b8012d1b924007290d00004100b523..."} 
[2026-09-05 17:12:03] local.INFO: Packet analysis {"connection_id":173144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0715f"} 
[2026-09-05 17:12:03] local.INFO: Extracted packet for processing {"connection_id":173144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0715f"} 
[2026-09-05 17:12:03] local.INFO: GPS Element Parsed {"raw_longitude":756781632,"raw_latitude":120130816,"longitude_deg":75.6781632,"latitude_deg":12.0130816,"altitude":65,"angle":181,"satellites":35,"speed":23,"hex_longitude":"2d1b9240","hex_latitude":"07290d00","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883760640001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17988568576163840,"note":"Value kept but may cause issues"} 
[2026-09-05 17:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1988057791262271488,"note":"Value kept but may cause issues"} 
[2026-09-05 17:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788608451000,"timestamp_ms":1788608451000,"timestamp_seconds":1788608451,"priority":1,"record_length":96,"hex_timestamp":"000001a0715f11b8"} 
[2026-09-05 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-09-05 17:12: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-09-05 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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-05 17:12: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-09-05 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-09-05 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-09-05 17:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883760640001,"66":14189,"218":206,"83":42752,"24":23,"16":17988568576163840,"45":1988057791262271488},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,83,24,16,45]} 
[2026-09-05 17:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883760640001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:12:03] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 17:12:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17988568576163840,"km_value":17988568576163.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1988057791262271488,"description":"Unknown IO ID 45"} 
[2026-09-05 17:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883760640001,"power":14189,"unknown_218":206,"unknown_83":42752,"ignition":23,"odometer":null,"unknown_45":1988057791262271488}} 
[2026-09-05 17:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":173144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:12:03] local.INFO: GPS data processed {"connection_id":173144,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:12:03] local.INFO: Acknowledgment sent {"connection_id":173144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:12:33] local.INFO: TCP Data received {"connection_id":171759,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0715dae40012d7b870005f5f3a8000600b22e..."} 
[2026-09-05 17:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715dae40012d7b870005f5f3a8000600b22e..."} 
[2026-09-05 17:12:33] local.INFO: Processing buffer {"connection_id":171759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715dae40012d7b870005f5f3a8000600b22e..."} 
[2026-09-05 17:12:33] local.INFO: Packet analysis {"connection_id":171759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0715d"} 
[2026-09-05 17:12:33] local.INFO: Extracted packet for processing {"connection_id":171759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0715d"} 
[2026-09-05 17:12:33] local.INFO: GPS Element Parsed {"raw_longitude":763070208,"raw_latitude":100004776,"longitude_deg":76.3070208,"latitude_deg":10.0004776,"altitude":6,"angle":178,"satellites":46,"speed":0,"hex_longitude":"2d7b8700","hex_latitude":"05f5f3a8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883663104001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901083214122297344,"note":"Value kept but may cause issues"} 
[2026-09-05 17:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788608360000,"timestamp_ms":1788608360000,"timestamp_seconds":1788608360,"priority":1,"record_length":96,"hex_timestamp":"000001a0715dae40"} 
[2026-09-05 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-09-05 17:12: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-09-05 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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-05 17:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 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-09-05 17:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883663104001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901083214122297344},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883663104001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:12:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:12:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901083214122297344,"description":"Unknown IO ID 45"} 
[2026-09-05 17:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883663104001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901083214122297344}} 
[2026-09-05 17:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":171759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:12:33] local.INFO: GPS data processed {"connection_id":171759,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:12:33] local.INFO: Acknowledgment sent {"connection_id":171759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:12:55] local.INFO: TCP Data received {"connection_id":172038,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:12:55] local.INFO: Processing buffer {"connection_id":172038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:12:55] local.INFO: IMEI packet received {"connection_id":172038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":172038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:13:01] local.INFO: TCP Data received {"connection_id":172038,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:13:01] local.INFO: Processing buffer {"connection_id":172038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:13:01] local.INFO: IMEI packet received {"connection_id":172038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":172038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:13:02] local.INFO: TCP Data received {"connection_id":172038,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0715dae40012d7b870005f5f3a8000600b22e..."} 
[2026-09-05 17:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715dae40012d7b870005f5f3a8000600b22e..."} 
[2026-09-05 17:13:02] local.INFO: Processing buffer {"connection_id":172038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715dae40012d7b870005f5f3a8000600b22e..."} 
[2026-09-05 17:13:02] local.INFO: Packet analysis {"connection_id":172038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0715d"} 
[2026-09-05 17:13:02] local.INFO: Extracted packet for processing {"connection_id":172038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0715d"} 
[2026-09-05 17:13:02] local.INFO: GPS Element Parsed {"raw_longitude":763070208,"raw_latitude":100004776,"longitude_deg":76.3070208,"latitude_deg":10.0004776,"altitude":6,"angle":178,"satellites":46,"speed":0,"hex_longitude":"2d7b8700","hex_latitude":"05f5f3a8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883663104001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901083214122297344,"note":"Value kept but may cause issues"} 
[2026-09-05 17:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788608360000,"timestamp_ms":1788608360000,"timestamp_seconds":1788608360,"priority":1,"record_length":96,"hex_timestamp":"000001a0715dae40"} 
[2026-09-05 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-09-05 17:13:02] 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-09-05 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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-05 17:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 17:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883663104001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901083214122297344},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883663104001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:13:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:13:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901083214122297344,"description":"Unknown IO ID 45"} 
[2026-09-05 17:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883663104001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901083214122297344}} 
[2026-09-05 17:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":172038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:13:02] local.INFO: GPS data processed {"connection_id":172038,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:13:02] local.INFO: Acknowledgment sent {"connection_id":172038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:13:14] local.INFO: TCP Data received {"connection_id":173146,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:13:14] local.INFO: Processing buffer {"connection_id":173146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:13:14] local.INFO: IMEI packet received {"connection_id":173146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":173146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:13:15] local.INFO: TCP Data received {"connection_id":173146,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:13:15] local.INFO: Processing buffer {"connection_id":173146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:13:15] local.INFO: IMEI packet received {"connection_id":173146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":173146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:13:16] local.INFO: TCP Data received {"connection_id":173146,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:13:16] local.INFO: Processing buffer {"connection_id":173146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:13:16] local.INFO: IMEI packet received {"connection_id":173146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":173146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:13:19] local.INFO: TCP Data received {"connection_id":173146,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:13:19] local.INFO: Processing buffer {"connection_id":173146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:13:19] local.INFO: IMEI packet received {"connection_id":173146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":173146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:13:20] local.INFO: TCP Data received {"connection_id":173146,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071602710012d1bfa80072860780040009e1d..."} 
[2026-09-05 17:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071602710012d1bfa80072860780040009e1d..."} 
[2026-09-05 17:13:20] local.INFO: Processing buffer {"connection_id":173146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071602710012d1bfa80072860780040009e1d..."} 
[2026-09-05 17:13:20] local.INFO: Packet analysis {"connection_id":173146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07160"} 
[2026-09-05 17:13:20] local.INFO: Extracted packet for processing {"connection_id":173146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07160"} 
[2026-09-05 17:13:20] local.INFO: GPS Element Parsed {"raw_longitude":756808320,"raw_latitude":120086648,"longitude_deg":75.680832,"latitude_deg":12.0086648,"altitude":64,"angle":158,"satellites":29,"speed":31,"hex_longitude":"2d1bfa80","hex_latitude":"07286078","is_valid_coordinates":true} 
[2026-09-05 17:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883779072001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17991171326345216,"note":"Value kept but may cause issues"} 
[2026-09-05 17:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2012053533015932928,"note":"Value kept but may cause issues"} 
[2026-09-05 17:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788608522000,"timestamp_ms":1788608522000,"timestamp_seconds":1788608522,"priority":1,"record_length":96,"hex_timestamp":"000001a071602710"} 
[2026-09-05 17:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-05 17:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:13:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883779072001,"66":13091,"191":206,"83":43776,"24":31,"16":17991171326345216,"45":2012053533015932928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,45]} 
[2026-09-05 17:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883779072001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:13:20] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-05 17:13:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-09-05 17:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17991171326345216,"km_value":17991171326345.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2012053533015932928,"description":"Unknown IO ID 45"} 
[2026-09-05 17:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883779072001,"power":13091,"unknown_191":206,"unknown_83":43776,"ignition":31,"odometer":null,"unknown_45":2012053533015932928}} 
[2026-09-05 17:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":173146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:13:21] local.INFO: GPS data processed {"connection_id":173146,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:13:21] local.INFO: Acknowledgment sent {"connection_id":173146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:13:33] local.INFO: TCP Data received {"connection_id":172038,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0715dae40012d7b870005f5f3a8000600b22e..."} 
[2026-09-05 17:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715dae40012d7b870005f5f3a8000600b22e..."} 
[2026-09-05 17:13:33] local.INFO: Processing buffer {"connection_id":172038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715dae40012d7b870005f5f3a8000600b22e..."} 
[2026-09-05 17:13:33] local.INFO: Packet analysis {"connection_id":172038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0715d"} 
[2026-09-05 17:13:33] local.INFO: Extracted packet for processing {"connection_id":172038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0715d"} 
[2026-09-05 17:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763070208,"raw_latitude":100004776,"longitude_deg":76.3070208,"latitude_deg":10.0004776,"altitude":6,"angle":178,"satellites":46,"speed":0,"hex_longitude":"2d7b8700","hex_latitude":"05f5f3a8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883663104001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901083214122297344,"note":"Value kept but may cause issues"} 
[2026-09-05 17:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788608360000,"timestamp_ms":1788608360000,"timestamp_seconds":1788608360,"priority":1,"record_length":96,"hex_timestamp":"000001a0715dae40"} 
[2026-09-05 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-09-05 17:13: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-09-05 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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-05 17:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 17:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883663104001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901083214122297344},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883663104001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:13:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:13:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901083214122297344,"description":"Unknown IO ID 45"} 
[2026-09-05 17:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883663104001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901083214122297344}} 
[2026-09-05 17:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":172038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:13:33] local.INFO: GPS data processed {"connection_id":172038,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:13:33] local.INFO: Acknowledgment sent {"connection_id":172038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:13:44] local.INFO: TCP Data received {"connection_id":174474,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:13:44] local.INFO: Processing buffer {"connection_id":174474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:13:44] local.INFO: IMEI packet received {"connection_id":174474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":174474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:13:49] local.INFO: TCP Data received {"connection_id":174474,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:13:49] local.INFO: Processing buffer {"connection_id":174474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:13:49] local.INFO: IMEI packet received {"connection_id":174474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":174474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:13:50] local.INFO: TCP Data received {"connection_id":174474,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07160fa00012d1c49c00727d6580030008a22..."} 
[2026-09-05 17:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07160fa00012d1c49c00727d6580030008a22..."} 
[2026-09-05 17:13:50] local.INFO: Processing buffer {"connection_id":174474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07160fa00012d1c49c00727d6580030008a22..."} 
[2026-09-05 17:13:50] local.INFO: Packet analysis {"connection_id":174474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07160"} 
[2026-09-05 17:13:50] local.INFO: Extracted packet for processing {"connection_id":174474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07160"} 
[2026-09-05 17:13:50] local.INFO: GPS Element Parsed {"raw_longitude":756828608,"raw_latitude":120051288,"longitude_deg":75.6828608,"latitude_deg":12.0051288,"altitude":48,"angle":138,"satellites":34,"speed":35,"hex_longitude":"2d1c49c0","hex_latitude":"0727d658","is_valid_coordinates":true} 
[2026-09-05 17:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883794944001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17993207140843520,"note":"Value kept but may cause issues"} 
[2026-09-05 17:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2037175174676879360,"note":"Value kept but may cause issues"} 
[2026-09-05 17:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788608576000,"timestamp_ms":1788608576000,"timestamp_seconds":1788608576,"priority":1,"record_length":96,"hex_timestamp":"000001a07160fa00"} 
[2026-09-05 17:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 17:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-05 17:13:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-05 17:13:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 17:13:50] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3825205248,"note":"Value kept but may cause issues"} 
[2026-09-05 17:13:50] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 17:13:50] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503874157281280,"note":"Value kept but may cause issues"} 
[2026-09-05 17:13:50] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5981044192238174464,"note":"Value kept but may cause issues"} 
[2026-09-05 17:13:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5962485317828804632,"corrected_to":0} 
[2026-09-05 17:13:50] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2147952695,"note":"Value kept but may cause issues"} 
[2026-09-05 17:13:50] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182195349881088,"note":"Value kept but may cause issues"} 
[2026-09-05 17:13:50] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-3746768771805557165,"note":"Value kept but may cause issues"} 
[2026-09-05 17:13:50] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3950510080,"note":"Value kept but may cause issues"} 
[2026-09-05 17:13:50] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2901144993978677022,"note":"Value kept but may cause issues"} 
[2026-09-05 17:13:50] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755498225434865,"note":"Value kept but may cause issues"} 
[2026-09-05 17:13:50] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195050496,"note":"Value kept but may cause issues"} 
[2026-09-05 17:13:50] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84754786528208965,"note":"Value kept but may cause issues"} 
[2026-09-05 17:13:50] local.WARNING: Large IO value detected {"io_id":56,"raw_value":19985303670363136,"note":"Value kept but may cause issues"} 
[2026-09-05 17:13:50] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,236,83,24,241,157,16,160,207,45,128,254,59,35,10,66,179,15,65,38,61,235,171,1,240,232,227,113,40,4,205,29,125,25,176,239,50,2,63,7,73,23,167,107,69,8,56],"length":625,"final_offset":755,"validated_count":47,"validation_warnings":[{"io_id":205,"original":5962485317828804632,"validated":0}]} 
[2026-09-05 17:13:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3530990483463667712,"timestamp_seconds":3530990483463667.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 17:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883794944001,"66":12841,"236":206,"83":42752,"24":35,"16":17993207140843520,"45":2037175174676879360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-09-05 17:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883794944001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:13:50] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-09-05 17:13:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17993207140843520,"km_value":17993207140843.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2037175174676879360,"description":"Unknown IO ID 45"} 
[2026-09-05 17:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883794944001,"power":12841,"unknown_236":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":2037175174676879360}} 
[2026-09-05 17:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":174474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:13:50] local.INFO: GPS data processed {"connection_id":174474,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:13:50] local.INFO: Acknowledgment sent {"connection_id":174474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:14:01] local.INFO: TCP Data received {"connection_id":173147,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:14:01] local.INFO: Processing buffer {"connection_id":173147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:14:01] local.INFO: IMEI packet received {"connection_id":173147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":173147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:14:06] local.INFO: TCP Data received {"connection_id":173147,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:14:06] local.INFO: Processing buffer {"connection_id":173147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:14:06] local.INFO: IMEI packet received {"connection_id":173147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":173147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:14:06] local.INFO: TCP Data received {"connection_id":173147,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0715dae40012d7b870005f5f3a8000600b22e..."} 
[2026-09-05 17:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715dae40012d7b870005f5f3a8000600b22e..."} 
[2026-09-05 17:14:06] local.INFO: Processing buffer {"connection_id":173147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715dae40012d7b870005f5f3a8000600b22e..."} 
[2026-09-05 17:14:06] local.INFO: Packet analysis {"connection_id":173147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0715d"} 
[2026-09-05 17:14:06] local.INFO: Extracted packet for processing {"connection_id":173147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0715d"} 
[2026-09-05 17:14:06] local.INFO: GPS Element Parsed {"raw_longitude":763070208,"raw_latitude":100004776,"longitude_deg":76.3070208,"latitude_deg":10.0004776,"altitude":6,"angle":178,"satellites":46,"speed":0,"hex_longitude":"2d7b8700","hex_latitude":"05f5f3a8","is_valid_coordinates":true} 
[2026-09-05 17:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883663104001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901083214122297344,"note":"Value kept but may cause issues"} 
[2026-09-05 17:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788608360000,"timestamp_ms":1788608360000,"timestamp_seconds":1788608360,"priority":1,"record_length":96,"hex_timestamp":"000001a0715dae40"} 
[2026-09-05 17:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:14:06] 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-09-05 17:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-05 17:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883663104001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901083214122297344},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883663104001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:14:07] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:14:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901083214122297344,"description":"Unknown IO ID 45"} 
[2026-09-05 17:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883663104001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901083214122297344}} 
[2026-09-05 17:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":173147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:14:07] local.INFO: GPS data processed {"connection_id":173147,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:14:07] local.INFO: Acknowledgment sent {"connection_id":173147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:14:11] local.INFO: TCP Data received {"connection_id":173147,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0715dae40012d7b870005f5f3a8000600b22e..."} 
[2026-09-05 17:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0715dae40012d7b870005f5f3a8000600b22e..."} 
[2026-09-05 17:14:11] local.INFO: Processing buffer {"connection_id":173147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0715dae40012d7b870005f5f3a8000600b22e..."} 
[2026-09-05 17:14:11] local.INFO: Packet analysis {"connection_id":173147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0715d"} 
[2026-09-05 17:14:11] local.INFO: Extracted packet for processing {"connection_id":173147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0715d"} 
[2026-09-05 17:14:11] local.INFO: GPS Element Parsed {"raw_longitude":763070208,"raw_latitude":100004776,"longitude_deg":76.3070208,"latitude_deg":10.0004776,"altitude":6,"angle":178,"satellites":46,"speed":0,"hex_longitude":"2d7b8700","hex_latitude":"05f5f3a8","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883663104001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901083214122297344,"note":"Value kept but may cause issues"} 
[2026-09-05 17:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788608360000,"timestamp_ms":1788608360000,"timestamp_seconds":1788608360,"priority":1,"record_length":96,"hex_timestamp":"000001a0715dae40"} 
[2026-09-05 17:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:14: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-09-05 17: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-05 17:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883663104001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901083214122297344},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883663104001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:14:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:14:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901083214122297344,"description":"Unknown IO ID 45"} 
[2026-09-05 17:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883663104001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901083214122297344}} 
[2026-09-05 17:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":173147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:14:11] local.INFO: GPS data processed {"connection_id":173147,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:14:11] local.INFO: Acknowledgment sent {"connection_id":173147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:14:21] local.INFO: TCP Data received {"connection_id":174474,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07160fde8012d1c4c800727d4400030007b23..."} 
[2026-09-05 17:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07160fde8012d1c4c800727d4400030007b23..."} 
[2026-09-05 17:14:21] local.INFO: Processing buffer {"connection_id":174474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07160fde8012d1c4c800727d4400030007b23..."} 
[2026-09-05 17:14:21] local.INFO: Packet analysis {"connection_id":174474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07160"} 
[2026-09-05 17:14:21] local.INFO: Extracted packet for processing {"connection_id":174474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07160"} 
[2026-09-05 17:14:21] local.INFO: GPS Element Parsed {"raw_longitude":756829312,"raw_latitude":120050752,"longitude_deg":75.6829312,"latitude_deg":12.0050752,"altitude":48,"angle":123,"satellites":35,"speed":34,"hex_longitude":"2d1c4c80","hex_latitude":"0727d440","is_valid_coordinates":true} 
[2026-09-05 17:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883795456001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17993245795549184,"note":"Value kept but may cause issues"} 
[2026-09-05 17:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2038371443327522816,"note":"Value kept but may cause issues"} 
[2026-09-05 17:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788608577000,"timestamp_ms":1788608577000,"timestamp_seconds":1788608577,"priority":1,"record_length":96,"hex_timestamp":"000001a07160fde8"} 
[2026-09-05 17:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:14: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-09-05 17:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-05 17:14:21] 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-09-05 17:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883795456001,"66":12863,"236":206,"83":42752,"24":34,"16":17993245795549184,"45":2038371443327522816},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-09-05 17:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883795456001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:14:21] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-09-05 17:14:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17993245795549184,"km_value":17993245795549.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2038371443327522816,"description":"Unknown IO ID 45"} 
[2026-09-05 17:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883795456001,"power":12863,"unknown_236":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":2038371443327522816}} 
[2026-09-05 17:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":174474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:14:22] local.INFO: GPS data processed {"connection_id":174474,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:14:22] local.INFO: Acknowledgment sent {"connection_id":174474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:14:49] local.INFO: TCP Data received {"connection_id":173148,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:14:49] local.INFO: Processing buffer {"connection_id":173148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:14:49] local.INFO: IMEI packet received {"connection_id":173148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":173148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:14:51] local.INFO: TCP Data received {"connection_id":173148,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:14:51] local.INFO: Processing buffer {"connection_id":173148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:14:51] local.INFO: IMEI packet received {"connection_id":173148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":173148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:14:52] local.INFO: TCP Data received {"connection_id":173148,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0716101d0012d1c50000727d2d0002f006f24..."} 
[2026-09-05 17:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0716101d0012d1c50000727d2d0002f006f24..."} 
[2026-09-05 17:14:52] local.INFO: Processing buffer {"connection_id":173148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0716101d0012d1c50000727d2d0002f006f24..."} 
[2026-09-05 17:14:52] local.INFO: Packet analysis {"connection_id":173148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07161"} 
[2026-09-05 17:14:52] local.INFO: Extracted packet for processing {"connection_id":173148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07161"} 
[2026-09-05 17:14:52] local.INFO: GPS Element Parsed {"raw_longitude":756830208,"raw_latitude":120050384,"longitude_deg":75.6830208,"latitude_deg":12.0050384,"altitude":47,"angle":111,"satellites":36,"speed":37,"hex_longitude":"2d1c5000","hex_latitude":"0727d2d0","is_valid_coordinates":true} 
[2026-09-05 17:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883795712001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17993293040189440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2039145499513339904,"note":"Value kept but may cause issues"} 
[2026-09-05 17:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788608578000,"timestamp_ms":1788608578000,"timestamp_seconds":1788608578,"priority":1,"record_length":96,"hex_timestamp":"000001a0716101d0"} 
[2026-09-05 17:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-05 17:14:52] 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-09-05 17:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883795712001,"66":12863,"236":206,"83":42752,"24":37,"16":17993293040189440,"45":2039145499513339904},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-09-05 17:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883795712001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:14:52] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-09-05 17:14:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17993293040189440,"km_value":17993293040189.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":2039145499513339904,"description":"Unknown IO ID 45"} 
[2026-09-05 17:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883795712001,"power":12863,"unknown_236":206,"unknown_83":42752,"ignition":37,"odometer":null,"unknown_45":2039145499513339904}} 
[2026-09-05 17:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":173148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:14:52] local.INFO: GPS data processed {"connection_id":173148,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:14:52] local.INFO: Acknowledgment sent {"connection_id":173148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:14:53] local.INFO: TCP Data received {"connection_id":173148,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071611d28012d1c6dc00727cb50002b006323..."} 
[2026-09-05 17:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071611d28012d1c6dc00727cb50002b006323..."} 
[2026-09-05 17:14:53] local.INFO: Processing buffer {"connection_id":173148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071611d28012d1c6dc00727cb50002b006323..."} 
[2026-09-05 17:14:53] local.INFO: Packet analysis {"connection_id":173148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07161"} 
[2026-09-05 17:14:53] local.INFO: Extracted packet for processing {"connection_id":173148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07161"} 
[2026-09-05 17:14:53] local.INFO: GPS Element Parsed {"raw_longitude":756837824,"raw_latitude":120048464,"longitude_deg":75.6837824,"latitude_deg":12.0048464,"altitude":43,"angle":99,"satellites":35,"speed":44,"hex_longitude":"2d1c6dc0","hex_latitude":"0727cb50","is_valid_coordinates":true} 
[2026-09-05 17:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883795968001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17993666702344192,"note":"Value kept but may cause issues"} 
[2026-09-05 17:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2040130661931732992,"note":"Value kept but may cause issues"} 
[2026-09-05 17:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788608585000,"timestamp_ms":1788608585000,"timestamp_seconds":1788608585,"priority":1,"record_length":96,"hex_timestamp":"000001a071611d28"} 
[2026-09-05 17:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:14: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-09-05 17:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-05 17:14:53] 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-09-05 17:14:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883795968001,"66":12841,"236":206,"83":42752,"24":44,"16":17993666702344192,"45":2040130661931732992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-09-05 17:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883795968001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:14:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-09-05 17:14:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17993666702344192,"km_value":17993666702344.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":2040130661931732992,"description":"Unknown IO ID 45"} 
[2026-09-05 17:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883795968001,"power":12841,"unknown_236":206,"unknown_83":42752,"ignition":44,"odometer":null,"unknown_45":2040130661931732992}} 
[2026-09-05 17:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":173148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:14:53] local.INFO: GPS data processed {"connection_id":173148,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:14:53] local.INFO: Acknowledgment sent {"connection_id":173148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:14:56] local.INFO: TCP Data received {"connection_id":172040,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:14:56] local.INFO: Processing buffer {"connection_id":172040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:14:56] local.INFO: IMEI packet received {"connection_id":172040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":172040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:14:59] local.INFO: TCP Data received {"connection_id":172040,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:14:59] local.INFO: Processing buffer {"connection_id":172040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:14:59] local.INFO: IMEI packet received {"connection_id":172040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":172040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:14:59] local.INFO: TCP Data received {"connection_id":172040,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071624608012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071624608012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:14:59] local.INFO: Processing buffer {"connection_id":172040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071624608012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:14:59] local.INFO: Packet analysis {"connection_id":172040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07162"} 
[2026-09-05 17:14:59] local.INFO: Extracted packet for processing {"connection_id":172040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07162"} 
[2026-09-05 17:14:59] local.INFO: GPS Element Parsed {"raw_longitude":763070208,"raw_latitude":100004776,"longitude_deg":76.3070208,"latitude_deg":10.0004776,"altitude":6,"angle":178,"satellites":45,"speed":0,"hex_longitude":"2d7b8700","hex_latitude":"05f5f3a8","is_valid_coordinates":true} 
[2026-09-05 17:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883740160001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901083214122297344,"note":"Value kept but may cause issues"} 
[2026-09-05 17:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788608661000,"timestamp_ms":1788608661000,"timestamp_seconds":1788608661,"priority":1,"record_length":96,"hex_timestamp":"000001a071624608"} 
[2026-09-05 17:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:14:59] 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-09-05 17:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-05 17:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883740160001,"66":25854,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901083214122297344},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883740160001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:14:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:14:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901083214122297344,"description":"Unknown IO ID 45"} 
[2026-09-05 17:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883740160001,"power":25854,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901083214122297344}} 
[2026-09-05 17:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":172040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:14:59] local.INFO: GPS data processed {"connection_id":172040,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:14:59] local.INFO: Acknowledgment sent {"connection_id":172040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:15:24] local.INFO: TCP Data received {"connection_id":173148,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071614050012d1c92c00727c2680028006c22..."} 
[2026-09-05 17:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071614050012d1c92c00727c2680028006c22..."} 
[2026-09-05 17:15:25] local.INFO: Processing buffer {"connection_id":173148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071614050012d1c92c00727c2680028006c22..."} 
[2026-09-05 17:15:25] local.INFO: Packet analysis {"connection_id":173148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07161"} 
[2026-09-05 17:15:25] local.INFO: Extracted packet for processing {"connection_id":173148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07161"} 
[2026-09-05 17:15:25] local.INFO: GPS Element Parsed {"raw_longitude":756847296,"raw_latitude":120046184,"longitude_deg":75.6847296,"latitude_deg":12.0046184,"altitude":40,"angle":108,"satellites":34,"speed":44,"hex_longitude":"2d1c92c0","hex_latitude":"0727c268","is_valid_coordinates":true} 
[2026-09-05 17:15: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-09-05 17:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883797760001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17994130558812160,"note":"Value kept but may cause issues"} 
[2026-09-05 17:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2048504542488383488,"note":"Value kept but may cause issues"} 
[2026-09-05 17:15:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788608594000,"timestamp_ms":1788608594000,"timestamp_seconds":1788608594,"priority":1,"record_length":96,"hex_timestamp":"000001a071614050"} 
[2026-09-05 17:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:15:25] 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-09-05 17:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-05 17:15:25] 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-09-05 17:15: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-09-05 17:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:15:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883797760001,"66":12776,"236":206,"83":42752,"24":44,"16":17994130558812160,"45":2048504542488383488},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-09-05 17:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883797760001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:15:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-09-05 17:15:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17994130558812160,"km_value":17994130558812.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":2048504542488383488,"description":"Unknown IO ID 45"} 
[2026-09-05 17:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883797760001,"power":12776,"unknown_236":206,"unknown_83":42752,"ignition":44,"odometer":null,"unknown_45":2048504542488383488}} 
[2026-09-05 17:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":173148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:15:25] local.INFO: GPS data processed {"connection_id":173148,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:15:25] local.INFO: Acknowledgment sent {"connection_id":173148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:15:31] local.INFO: TCP Data received {"connection_id":172040,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071624608012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071624608012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:15:31] local.INFO: Processing buffer {"connection_id":172040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071624608012d7b870005f5f3a8000600b22d..."} 
[2026-09-05 17:15:31] local.INFO: Packet analysis {"connection_id":172040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07162"} 
[2026-09-05 17:15:31] local.INFO: Extracted packet for processing {"connection_id":172040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07162"} 
[2026-09-05 17:15:31] local.INFO: GPS Element Parsed {"raw_longitude":763070208,"raw_latitude":100004776,"longitude_deg":76.3070208,"latitude_deg":10.0004776,"altitude":6,"angle":178,"satellites":45,"speed":0,"hex_longitude":"2d7b8700","hex_latitude":"05f5f3a8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883740160001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901083214122297344,"note":"Value kept but may cause issues"} 
[2026-09-05 17:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788608661000,"timestamp_ms":1788608661000,"timestamp_seconds":1788608661,"priority":1,"record_length":96,"hex_timestamp":"000001a071624608"} 
[2026-09-05 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-09-05 17:15:31] 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-09-05 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":243,"data_length":795,"current_offset":136} 
[2026-09-05 17:15:31] 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-09-05 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-09-05 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-09-05 17:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883740160001,"66":25854,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901083214122297344},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883740160001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:15:31] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:15:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901083214122297344,"description":"Unknown IO ID 45"} 
[2026-09-05 17:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883740160001,"power":25854,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901083214122297344}} 
[2026-09-05 17:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":172040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:15:31] local.INFO: GPS data processed {"connection_id":172040,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:15:31] local.INFO: Acknowledgment sent {"connection_id":172040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:15:47] local.INFO: TCP Data received {"connection_id":171761,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:15:47] local.INFO: Processing buffer {"connection_id":171761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:15:47] local.INFO: IMEI packet received {"connection_id":171761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":171761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:15:55] local.INFO: TCP Data received {"connection_id":171762,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:15:55] local.INFO: Processing buffer {"connection_id":171762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:15:55] local.INFO: IMEI packet received {"connection_id":171762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":171762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:16:01] local.INFO: TCP Data received {"connection_id":171762,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:16:01] local.INFO: Processing buffer {"connection_id":171762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:16:01] local.INFO: IMEI packet received {"connection_id":171762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":171762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:16:02] local.INFO: TCP Data received {"connection_id":171761,"ip":"42.109.136.1","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 17:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171761,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 17:16:02] local.INFO: Processing buffer {"connection_id":171761,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 17:16:02] local.INFO: IMEI packet received {"connection_id":171761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":171761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:16:02] local.INFO: TCP Data received {"connection_id":171762,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07162c308012d7b864005f5f250000600f62d..."} 
[2026-09-05 17:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07162c308012d7b864005f5f250000600f62d..."} 
[2026-09-05 17:16:02] local.INFO: Processing buffer {"connection_id":171762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07162c308012d7b864005f5f250000600f62d..."} 
[2026-09-05 17:16:02] local.INFO: Packet analysis {"connection_id":171762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07162"} 
[2026-09-05 17:16:02] local.INFO: Extracted packet for processing {"connection_id":171762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07162"} 
[2026-09-05 17:16:02] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":100004432,"longitude_deg":76.3070016,"latitude_deg":10.0004432,"altitude":6,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8640","hex_latitude":"05f5f250","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883817216001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901083214122297344,"note":"Value kept but may cause issues"} 
[2026-09-05 17:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788608693000,"timestamp_ms":1788608693000,"timestamp_seconds":1788608693,"priority":1,"record_length":96,"hex_timestamp":"000001a07162c308"} 
[2026-09-05 17:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:16:02] 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-09-05 17:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-05 17:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883817216001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901083214122297344},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883817216001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:16:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:16:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901083214122297344,"description":"Unknown IO ID 45"} 
[2026-09-05 17:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883817216001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901083214122297344}} 
[2026-09-05 17:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":171762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:16:02] local.INFO: GPS data processed {"connection_id":171762,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:16:02] local.INFO: Acknowledgment sent {"connection_id":171762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:16:04] local.INFO: TCP Data received {"connection_id":171761,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07162bb38012d1d22c0072771d8002500df29..."} 
[2026-09-05 17:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07162bb38012d1d22c0072771d8002500df29..."} 
[2026-09-05 17:16:04] local.INFO: Processing buffer {"connection_id":171761,"buffer_length":829,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 17:16:04] local.INFO: IMEI packet received {"connection_id":171761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":171761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:16:05] local.INFO: TCP Data received {"connection_id":171761,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07162c6f0012d1d1f4007276ea8002500eb29..."} 
[2026-09-05 17:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07162c6f0012d1d1f4007276ea8002500eb29..."} 
[2026-09-05 17:16:05] local.INFO: Processing buffer {"connection_id":171761,"buffer_length":1607,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a071..."} 
[2026-09-05 17:16:05] local.INFO: IMEI packet received {"connection_id":171761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":171761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:16:06] local.INFO: TCP Data received {"connection_id":171761,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07162f5d0012d1cfec0072759a0002700eb27..."} 
[2026-09-05 17:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07162f5d0012d1cfec0072759a0002700eb27..."} 
[2026-09-05 17:16:06] local.INFO: Processing buffer {"connection_id":171761,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a000001a07162bb38012d1d22c0072771d8002500df29..."} 
[2026-09-05 17:16:06] local.INFO: Packet analysis {"connection_id":171761,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a000001a07162"} 
[2026-09-05 17:16:06] local.INFO: Extracted packet for processing {"connection_id":171761,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07162"} 
[2026-09-05 17:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756884160,"raw_latitude":120025560,"longitude_deg":75.688416,"latitude_deg":12.002556,"altitude":37,"angle":223,"satellites":41,"speed":9,"hex_longitude":"2d1d22c0","hex_latitude":"072771d8","is_valid_coordinates":true} 
[2026-09-05 17:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883824384001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17996230797819904,"note":"Value kept but may cause issues"} 
[2026-09-05 17:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2099732988243953664,"note":"Value kept but may cause issues"} 
[2026-09-05 17:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788608691000,"timestamp_ms":1788608691000,"timestamp_seconds":1788608691,"priority":1,"record_length":96,"hex_timestamp":"000001a07162bb38"} 
[2026-09-05 17:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-05 17:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883824384001,"66":14233,"197":206,"83":42752,"24":9,"16":17996230797819904,"45":2099732988243953664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,45]} 
[2026-09-05 17:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883824384001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:16:06] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 17:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17996230797819904,"km_value":17996230797819.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2099732988243953664,"description":"Unknown IO ID 45"} 
[2026-09-05 17:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883824384001,"power":14233,"unknown_197":206,"unknown_83":42752,"ignition":9,"odometer":null,"unknown_45":2099732988243953664}} 
[2026-09-05 17:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":171761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:16:06] local.INFO: GPS data processed {"connection_id":171761,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:16:06] local.INFO: Acknowledgment sent {"connection_id":171761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:16:06] local.INFO: Packet analysis {"connection_id":171761,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07162"} 
[2026-09-05 17:16:06] local.INFO: Extracted packet for processing {"connection_id":171761,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07162"} 
[2026-09-05 17:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756883264,"raw_latitude":120024744,"longitude_deg":75.6883264,"latitude_deg":12.0024744,"altitude":37,"angle":235,"satellites":41,"speed":18,"hex_longitude":"2d1d1f40","hex_latitude":"07276ea8","is_valid_coordinates":true} 
[2026-09-05 17:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883824896001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17996290927362048,"note":"Value kept but may cause issues"} 
[2026-09-05 17:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2099451513267148800,"note":"Value kept but may cause issues"} 
[2026-09-05 17:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788608694000,"timestamp_ms":1788608694000,"timestamp_seconds":1788608694,"priority":1,"record_length":96,"hex_timestamp":"000001a07162c6f0"} 
[2026-09-05 17:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-05 17:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883824896001,"66":14135,"197":206,"83":42752,"24":18,"16":17996290927362048,"45":2099451513267148800},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,45]} 
[2026-09-05 17:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883824896001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:16:06] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 17:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17996290927362048,"km_value":17996290927362.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2099451513267148800,"description":"Unknown IO ID 45"} 
[2026-09-05 17:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883824896001,"power":14135,"unknown_197":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":2099451513267148800}} 
[2026-09-05 17:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":171761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:16:06] local.INFO: GPS data processed {"connection_id":171761,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:16:06] local.INFO: Acknowledgment sent {"connection_id":171761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:16:06] local.INFO: Packet analysis {"connection_id":171761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07162"} 
[2026-09-05 17:16:06] local.INFO: Extracted packet for processing {"connection_id":171761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07162"} 
[2026-09-05 17:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756874944,"raw_latitude":120019360,"longitude_deg":75.6874944,"latitude_deg":12.001936,"altitude":39,"angle":235,"satellites":39,"speed":39,"hex_longitude":"2d1cfec0","hex_latitude":"072759a0","is_valid_coordinates":true} 
[2026-09-05 17:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883825664001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17996763373764608,"note":"Value kept but may cause issues"} 
[2026-09-05 17:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2098466350848452608,"note":"Value kept but may cause issues"} 
[2026-09-05 17:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788608706000,"timestamp_ms":1788608706000,"timestamp_seconds":1788608706,"priority":1,"record_length":96,"hex_timestamp":"000001a07162f5d0"} 
[2026-09-05 17:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-05 17:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883825664001,"66":14233,"197":206,"83":42752,"24":39,"16":17996763373764608,"45":2098466350848452608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,45]} 
[2026-09-05 17:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883825664001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:16:06] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 17:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17996763373764608,"km_value":17996763373764.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2098466350848452608,"description":"Unknown IO ID 45"} 
[2026-09-05 17:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883825664001,"power":14233,"unknown_197":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":2098466350848452608}} 
[2026-09-05 17:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":171761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:16:06] local.INFO: GPS data processed {"connection_id":171761,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:16:06] local.INFO: Acknowledgment sent {"connection_id":171761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:16:07] local.INFO: TCP Data received {"connection_id":171761,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071630188012d1cf5c0072751c0002700dc27..."} 
[2026-09-05 17:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071630188012d1cf5c0072751c0002700dc27..."} 
[2026-09-05 17:16:07] local.INFO: Processing buffer {"connection_id":171761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071630188012d1cf5c0072751c0002700dc27..."} 
[2026-09-05 17:16:07] local.INFO: Packet analysis {"connection_id":171761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07163"} 
[2026-09-05 17:16:07] local.INFO: Extracted packet for processing {"connection_id":171761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07163"} 
[2026-09-05 17:16:07] local.INFO: GPS Element Parsed {"raw_longitude":756872640,"raw_latitude":120017344,"longitude_deg":75.687264,"latitude_deg":12.0017344,"altitude":39,"angle":220,"satellites":39,"speed":40,"hex_longitude":"2d1cf5c0","hex_latitude":"072751c0","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883828736001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17996909402652672,"note":"Value kept but may cause issues"} 
[2026-09-05 17:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2089318414103977984,"note":"Value kept but may cause issues"} 
[2026-09-05 17:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788608709000,"timestamp_ms":1788608709000,"timestamp_seconds":1788608709,"priority":1,"record_length":96,"hex_timestamp":"000001a071630188"} 
[2026-09-05 17:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-05 17:16:07] 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-09-05 17: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-09-05 17:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883828736001,"66":13167,"197":206,"83":42752,"24":40,"16":17996909402652672,"45":2089318414103977984},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,45]} 
[2026-09-05 17:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883828736001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:16:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 17:16:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17996909402652672,"km_value":17996909402652.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2089318414103977984,"description":"Unknown IO ID 45"} 
[2026-09-05 17:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883828736001,"power":13167,"unknown_197":206,"unknown_83":42752,"ignition":40,"odometer":null,"unknown_45":2089318414103977984}} 
[2026-09-05 17:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":171761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:16:07] local.INFO: GPS data processed {"connection_id":171761,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:16:07] local.INFO: Acknowledgment sent {"connection_id":171761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:16:09] local.INFO: TCP Data received {"connection_id":171761,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071630d40012d1cef80072747c8002800ce27..."} 
[2026-09-05 17:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071630d40012d1cef80072747c8002800ce27..."} 
[2026-09-05 17:16:09] local.INFO: Processing buffer {"connection_id":171761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071630d40012d1cef80072747c8002800ce27..."} 
[2026-09-05 17:16:09] local.INFO: Packet analysis {"connection_id":171761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07163"} 
[2026-09-05 17:16:09] local.INFO: Extracted packet for processing {"connection_id":171761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07163"} 
[2026-09-05 17:16:09] local.INFO: GPS Element Parsed {"raw_longitude":756871040,"raw_latitude":120014792,"longitude_deg":75.687104,"latitude_deg":12.0014792,"altitude":40,"angle":206,"satellites":39,"speed":39,"hex_longitude":"2d1cef80","hex_latitude":"072747c8","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883829504001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17997055431540736,"note":"Value kept but may cause issues"} 
[2026-09-05 17:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2086785139313065984,"note":"Value kept but may cause issues"} 
[2026-09-05 17:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788608712000,"timestamp_ms":1788608712000,"timestamp_seconds":1788608712,"priority":1,"record_length":96,"hex_timestamp":"000001a071630d40"} 
[2026-09-05 17:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:16: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-09-05 17: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-05 17:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883829504001,"66":14004,"197":206,"83":42752,"24":39,"16":17997055431540736,"45":2086785139313065984},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,45]} 
[2026-09-05 17:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883829504001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:16:09] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 17:16:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17997055431540736,"km_value":17997055431540.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":2086785139313065984,"description":"Unknown IO ID 45"} 
[2026-09-05 17:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883829504001,"power":14004,"unknown_197":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":2086785139313065984}} 
[2026-09-05 17:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":171761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:16:09] local.INFO: GPS data processed {"connection_id":171761,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:16:09] local.INFO: Acknowledgment sent {"connection_id":171761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:16:33] local.INFO: TCP Data received {"connection_id":171762,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07162c308012d7b864005f5f250000600f62d..."} 
[2026-09-05 17:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07162c308012d7b864005f5f250000600f62d..."} 
[2026-09-05 17:16:33] local.INFO: Processing buffer {"connection_id":171762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07162c308012d7b864005f5f250000600f62d..."} 
[2026-09-05 17:16:33] local.INFO: Packet analysis {"connection_id":171762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07162"} 
[2026-09-05 17:16:33] local.INFO: Extracted packet for processing {"connection_id":171762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07162"} 
[2026-09-05 17:16:33] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":100004432,"longitude_deg":76.3070016,"latitude_deg":10.0004432,"altitude":6,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8640","hex_latitude":"05f5f250","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883817216001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901083214122297344,"note":"Value kept but may cause issues"} 
[2026-09-05 17:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788608693000,"timestamp_ms":1788608693000,"timestamp_seconds":1788608693,"priority":1,"record_length":96,"hex_timestamp":"000001a07162c308"} 
[2026-09-05 17:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:16: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-09-05 17: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":254,"data_length":795,"current_offset":136} 
[2026-09-05 17:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883817216001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901083214122297344},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883817216001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:16:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:16:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901083214122297344,"description":"Unknown IO ID 45"} 
[2026-09-05 17:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883817216001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901083214122297344}} 
[2026-09-05 17:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":171762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:16:33] local.INFO: GPS data processed {"connection_id":171762,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:16:33] local.INFO: Acknowledgment sent {"connection_id":171762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:16:42] local.INFO: TCP Data received {"connection_id":174476,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:16:42] local.INFO: Processing buffer {"connection_id":174476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:16:42] local.INFO: IMEI packet received {"connection_id":174476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":174476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:16:44] local.INFO: TCP Data received {"connection_id":174476,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:16:44] local.INFO: Processing buffer {"connection_id":174476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:16:44] local.INFO: IMEI packet received {"connection_id":174476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":174476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:16:45] local.INFO: TCP Data received {"connection_id":174476,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:16:45] local.INFO: Processing buffer {"connection_id":174476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:16:45] local.INFO: IMEI packet received {"connection_id":174476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":174476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:16:49] local.INFO: TCP Data received {"connection_id":174476,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:16:49] local.INFO: Processing buffer {"connection_id":174476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:16:49] local.INFO: IMEI packet received {"connection_id":174476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":174476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:16:50] local.INFO: TCP Data received {"connection_id":174476,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071633068012d1ce0c0072727c0002700d426..."} 
[2026-09-05 17:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071633068012d1ce0c0072727c0002700d426..."} 
[2026-09-05 17:16:50] local.INFO: Processing buffer {"connection_id":174476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071633068012d1ce0c0072727c0002700d426..."} 
[2026-09-05 17:16:50] local.INFO: Packet analysis {"connection_id":174476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07163"} 
[2026-09-05 17:16:50] local.INFO: Extracted packet for processing {"connection_id":174476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07163"} 
[2026-09-05 17:16:50] local.INFO: GPS Element Parsed {"raw_longitude":756867264,"raw_latitude":120006592,"longitude_deg":75.6867264,"latitude_deg":12.0006592,"altitude":39,"angle":212,"satellites":38,"speed":39,"hex_longitude":"2d1ce0c0","hex_latitude":"072727c0","is_valid_coordinates":true} 
[2026-09-05 17:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883830272001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":17997493518204928,"note":"Value kept but may cause issues"} 
[2026-09-05 17:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2085025920707971072,"note":"Value kept but may cause issues"} 
[2026-09-05 17:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788608721000,"timestamp_ms":1788608721000,"timestamp_seconds":1788608721,"priority":1,"record_length":96,"hex_timestamp":"000001a071633068"} 
[2026-09-05 17:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-05 17:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883830272001,"66":14157,"197":206,"83":42752,"24":39,"16":17997493518204928,"45":2085025920707971072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,45]} 
[2026-09-05 17:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883830272001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:16:50] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 17:16:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":17997493518204928,"km_value":17997493518204.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2085025920707971072,"description":"Unknown IO ID 45"} 
[2026-09-05 17:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883830272001,"power":14157,"unknown_197":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":2085025920707971072}} 
[2026-09-05 17:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":174476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:16:50] local.INFO: GPS data processed {"connection_id":174476,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:16:50] local.INFO: Acknowledgment sent {"connection_id":174476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:17:01] local.INFO: TCP Data received {"connection_id":171763,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:17:01] local.INFO: Processing buffer {"connection_id":171763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:17:01] local.INFO: IMEI packet received {"connection_id":171763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":171763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:17:02] local.INFO: TCP Data received {"connection_id":173150,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:17:02] local.INFO: Processing buffer {"connection_id":173150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:17:02] local.INFO: IMEI packet received {"connection_id":173150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 17:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":173150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:17:06] local.INFO: TCP Data received {"connection_id":171763,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:17:06] local.INFO: Processing buffer {"connection_id":171763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:17:06] local.INFO: IMEI packet received {"connection_id":171763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":171763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:17:07] local.INFO: TCP Data received {"connection_id":171763,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07162c308012d7b864005f5f250000600f62d..."} 
[2026-09-05 17:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07162c308012d7b864005f5f250000600f62d..."} 
[2026-09-05 17:17:07] local.INFO: Processing buffer {"connection_id":171763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07162c308012d7b864005f5f250000600f62d..."} 
[2026-09-05 17:17:07] local.INFO: Packet analysis {"connection_id":171763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07162"} 
[2026-09-05 17:17:07] local.INFO: Extracted packet for processing {"connection_id":171763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07162"} 
[2026-09-05 17:17:07] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":100004432,"longitude_deg":76.3070016,"latitude_deg":10.0004432,"altitude":6,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8640","hex_latitude":"05f5f250","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883817216001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901083214122297344,"note":"Value kept but may cause issues"} 
[2026-09-05 17:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788608693000,"timestamp_ms":1788608693000,"timestamp_seconds":1788608693,"priority":1,"record_length":96,"hex_timestamp":"000001a07162c308"} 
[2026-09-05 17:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:17: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-09-05 17:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-05 17:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883817216001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901083214122297344},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883817216001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:17:07] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:17:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901083214122297344,"description":"Unknown IO ID 45"} 
[2026-09-05 17:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883817216001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901083214122297344}} 
[2026-09-05 17:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":171763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:17:07] local.INFO: GPS data processed {"connection_id":171763,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:17:07] local.INFO: Acknowledgment sent {"connection_id":171763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:17:11] local.INFO: TCP Data received {"connection_id":171763,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07162c308012d7b864005f5f250000600f62d..."} 
[2026-09-05 17:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07162c308012d7b864005f5f250000600f62d..."} 
[2026-09-05 17:17:11] local.INFO: Processing buffer {"connection_id":171763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07162c308012d7b864005f5f250000600f62d..."} 
[2026-09-05 17:17:11] local.INFO: Packet analysis {"connection_id":171763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07162"} 
[2026-09-05 17:17:11] local.INFO: Extracted packet for processing {"connection_id":171763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07162"} 
[2026-09-05 17:17:11] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":100004432,"longitude_deg":76.3070016,"latitude_deg":10.0004432,"altitude":6,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8640","hex_latitude":"05f5f250","is_valid_coordinates":true} 
[2026-09-05 17:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883817216001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901083214122297344,"note":"Value kept but may cause issues"} 
[2026-09-05 17:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788608693000,"timestamp_ms":1788608693000,"timestamp_seconds":1788608693,"priority":1,"record_length":96,"hex_timestamp":"000001a07162c308"} 
[2026-09-05 17:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:17: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-09-05 17:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-05 17:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883817216001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901083214122297344},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883817216001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:17:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:17:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901083214122297344,"description":"Unknown IO ID 45"} 
[2026-09-05 17:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883817216001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901083214122297344}} 
[2026-09-05 17:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":171763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:17:11] local.INFO: GPS data processed {"connection_id":171763,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:17:11] local.INFO: Acknowledgment sent {"connection_id":171763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:17:21] local.INFO: TCP Data received {"connection_id":174476,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0716449a8012d1c5d8007262968002200e922..."} 
[2026-09-05 17:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0716449a8012d1c5d8007262968002200e922..."} 
[2026-09-05 17:17:21] local.INFO: Processing buffer {"connection_id":174476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0716449a8012d1c5d8007262968002200e922..."} 
[2026-09-05 17:17:21] local.INFO: Packet analysis {"connection_id":174476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07164"} 
[2026-09-05 17:17:21] local.INFO: Extracted packet for processing {"connection_id":174476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07164"} 
[2026-09-05 17:17:21] local.INFO: GPS Element Parsed {"raw_longitude":756833664,"raw_latitude":119941480,"longitude_deg":75.6833664,"latitude_deg":11.994148,"altitude":34,"angle":233,"satellites":34,"speed":47,"hex_longitude":"2d1c5d80","hex_latitude":"07262968","is_valid_coordinates":true} 
[2026-09-05 17:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883848960001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18001152830341120,"note":"Value kept but may cause issues"} 
[2026-09-05 17:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2052022979671363584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788608793000,"timestamp_ms":1788608793000,"timestamp_seconds":1788608793,"priority":1,"record_length":96,"hex_timestamp":"000001a0716449a8"} 
[2026-09-05 17:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:17: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-09-05 17:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-05 17:17:21] 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-09-05 17:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883848960001,"66":14265,"215":206,"83":42752,"24":47,"16":18001152830341120,"45":2052022979671363584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-09-05 17:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883848960001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:17:21] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-05 17:17:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18001152830341120,"km_value":18001152830341.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2052022979671363584,"description":"Unknown IO ID 45"} 
[2026-09-05 17:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883848960001,"power":14265,"unknown_215":206,"unknown_83":42752,"ignition":47,"odometer":null,"unknown_45":2052022979671363584}} 
[2026-09-05 17:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":174476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:17:21] local.INFO: GPS data processed {"connection_id":174476,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:17:21] local.INFO: Acknowledgment sent {"connection_id":174476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:17:44] local.INFO: TCP Data received {"connection_id":174477,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:17:44] local.INFO: Processing buffer {"connection_id":174477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:17:44] local.INFO: IMEI packet received {"connection_id":174477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":174477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:17:44] local.INFO: TCP Data received {"connection_id":174477,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:17:44] local.INFO: Processing buffer {"connection_id":174477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:17:44] local.INFO: IMEI packet received {"connection_id":174477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":174477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:17:47] local.INFO: TCP Data received {"connection_id":172041,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172041,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:17:47] local.INFO: Processing buffer {"connection_id":172041,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:17:47] local.INFO: IMEI packet received {"connection_id":172041,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 17:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":172041,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:17:50] local.INFO: TCP Data received {"connection_id":174477,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:17:50] local.INFO: Processing buffer {"connection_id":174477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:17:50] local.INFO: IMEI packet received {"connection_id":174477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":174477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:17:51] local.INFO: TCP Data received {"connection_id":174477,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0716468e8012d1c4300072611b8002600dd25..."} 
[2026-09-05 17:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0716468e8012d1c4300072611b8002600dd25..."} 
[2026-09-05 17:17:51] local.INFO: Processing buffer {"connection_id":174477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0716468e8012d1c4300072611b8002600dd25..."} 
[2026-09-05 17:17:51] local.INFO: Packet analysis {"connection_id":174477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07164"} 
[2026-09-05 17:17:51] local.INFO: Extracted packet for processing {"connection_id":174477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07164"} 
[2026-09-05 17:17:51] local.INFO: GPS Element Parsed {"raw_longitude":756826880,"raw_latitude":119935416,"longitude_deg":75.682688,"latitude_deg":11.9935416,"altitude":38,"angle":221,"satellites":37,"speed":41,"hex_longitude":"2d1c4300","hex_latitude":"072611b8","is_valid_coordinates":true} 
[2026-09-05 17:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883851008001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18001590917005312,"note":"Value kept but may cause issues"} 
[2026-09-05 17:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2043930574089447424,"note":"Value kept but may cause issues"} 
[2026-09-05 17:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788608801000,"timestamp_ms":1788608801000,"timestamp_seconds":1788608801,"priority":1,"record_length":96,"hex_timestamp":"000001a0716468e8"} 
[2026-09-05 17:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 17:17:51] 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-09-05 17:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883851008001,"66":14265,"215":206,"83":42752,"24":41,"16":18001590917005312,"45":2043930574089447424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-09-05 17:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883851008001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:17:51] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-05 17:17:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18001590917005312,"km_value":18001590917005.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2043930574089447424,"description":"Unknown IO ID 45"} 
[2026-09-05 17:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883851008001,"power":14265,"unknown_215":206,"unknown_83":42752,"ignition":41,"odometer":null,"unknown_45":2043930574089447424}} 
[2026-09-05 17:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":174477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:17:51] local.INFO: GPS data processed {"connection_id":174477,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:17:51] local.INFO: Acknowledgment sent {"connection_id":174477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:17:56] local.INFO: TCP Data received {"connection_id":172042,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:17:56] local.INFO: Processing buffer {"connection_id":172042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:17:56] local.INFO: IMEI packet received {"connection_id":172042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":172042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:18:01] local.INFO: TCP Data received {"connection_id":172042,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:18:01] local.INFO: Processing buffer {"connection_id":172042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:18:01] local.INFO: IMEI packet received {"connection_id":172042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":172042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:18:02] local.INFO: TCP Data received {"connection_id":172042,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07162c308012d7b864005f5f250000600f62d..."} 
[2026-09-05 17:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07162c308012d7b864005f5f250000600f62d..."} 
[2026-09-05 17:18:02] local.INFO: Processing buffer {"connection_id":172042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07162c308012d7b864005f5f250000600f62d..."} 
[2026-09-05 17:18:02] local.INFO: Packet analysis {"connection_id":172042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07162"} 
[2026-09-05 17:18:02] local.INFO: Extracted packet for processing {"connection_id":172042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07162"} 
[2026-09-05 17:18:02] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":100004432,"longitude_deg":76.3070016,"latitude_deg":10.0004432,"altitude":6,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8640","hex_latitude":"05f5f250","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883817216001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901083214122297344,"note":"Value kept but may cause issues"} 
[2026-09-05 17:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788608693000,"timestamp_ms":1788608693000,"timestamp_seconds":1788608693,"priority":1,"record_length":96,"hex_timestamp":"000001a07162c308"} 
[2026-09-05 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-09-05 17:18:02] 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-09-05 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":254,"data_length":795,"current_offset":136} 
[2026-09-05 17:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 17:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883817216001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901083214122297344},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883817216001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:18:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:18:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901083214122297344,"description":"Unknown IO ID 45"} 
[2026-09-05 17:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883817216001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901083214122297344}} 
[2026-09-05 17:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":172042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:18:02] local.INFO: GPS data processed {"connection_id":172042,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:18:02] local.INFO: Acknowledgment sent {"connection_id":172042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:18:23] local.INFO: TCP Data received {"connection_id":174477,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0716468e8012d1c4300072611b8002600dd25..."} 
[2026-09-05 17:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0716468e8012d1c4300072611b8002600dd25..."} 
[2026-09-05 17:18:23] local.INFO: Processing buffer {"connection_id":174477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0716468e8012d1c4300072611b8002600dd25..."} 
[2026-09-05 17:18:23] local.INFO: Packet analysis {"connection_id":174477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07164"} 
[2026-09-05 17:18:23] local.INFO: Extracted packet for processing {"connection_id":174477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07164"} 
[2026-09-05 17:18:23] local.INFO: GPS Element Parsed {"raw_longitude":756826880,"raw_latitude":119935416,"longitude_deg":75.682688,"latitude_deg":11.9935416,"altitude":38,"angle":221,"satellites":37,"speed":41,"hex_longitude":"2d1c4300","hex_latitude":"072611b8","is_valid_coordinates":true} 
[2026-09-05 17:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883853056001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18001590917005312,"note":"Value kept but may cause issues"} 
[2026-09-05 17:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2036471487205062656,"note":"Value kept but may cause issues"} 
[2026-09-05 17:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788608801000,"timestamp_ms":1788608801000,"timestamp_seconds":1788608801,"priority":1,"record_length":96,"hex_timestamp":"000001a0716468e8"} 
[2026-09-05 17:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 17:18:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883853056001,"66":14265,"215":206,"83":42752,"24":41,"16":18001590917005312,"45":2036471487205062656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-09-05 17:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883853056001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:18:23] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-05 17:18:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18001590917005312,"km_value":18001590917005.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":2036471487205062656,"description":"Unknown IO ID 45"} 
[2026-09-05 17:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883853056001,"power":14265,"unknown_215":206,"unknown_83":42752,"ignition":41,"odometer":null,"unknown_45":2036471487205062656}} 
[2026-09-05 17:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":174477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:18:23] local.INFO: GPS data processed {"connection_id":174477,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:18:23] local.INFO: Acknowledgment sent {"connection_id":174477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:18:33] local.INFO: TCP Data received {"connection_id":172042,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07162c308012d7b864005f5f250000600f62d..."} 
[2026-09-05 17:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07162c308012d7b864005f5f250000600f62d..."} 
[2026-09-05 17:18:33] local.INFO: Processing buffer {"connection_id":172042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07162c308012d7b864005f5f250000600f62d..."} 
[2026-09-05 17:18:33] local.INFO: Packet analysis {"connection_id":172042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07162"} 
[2026-09-05 17:18:33] local.INFO: Extracted packet for processing {"connection_id":172042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07162"} 
[2026-09-05 17:18:33] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":100004432,"longitude_deg":76.3070016,"latitude_deg":10.0004432,"altitude":6,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8640","hex_latitude":"05f5f250","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883817216001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901083214122297344,"note":"Value kept but may cause issues"} 
[2026-09-05 17:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788608693000,"timestamp_ms":1788608693000,"timestamp_seconds":1788608693,"priority":1,"record_length":96,"hex_timestamp":"000001a07162c308"} 
[2026-09-05 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-09-05 17:18: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-09-05 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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-05 17:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 17:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883817216001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901083214122297344},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883817216001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:18:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:18:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901083214122297344,"description":"Unknown IO ID 45"} 
[2026-09-05 17:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883817216001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901083214122297344}} 
[2026-09-05 17:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":172042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:18:33] local.INFO: GPS data processed {"connection_id":172042,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:18:33] local.INFO: Acknowledgment sent {"connection_id":172042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:18:44] local.INFO: TCP Data received {"connection_id":173151,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:18:44] local.INFO: Processing buffer {"connection_id":173151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:18:44] local.INFO: IMEI packet received {"connection_id":173151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":173151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:18:49] local.INFO: TCP Data received {"connection_id":173151,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:18:49] local.INFO: Processing buffer {"connection_id":173151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:18:49] local.INFO: IMEI packet received {"connection_id":173151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":173151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:18:50] local.INFO: TCP Data received {"connection_id":173151,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071656ea0012d1b5d40072618a8002b010523..."} 
[2026-09-05 17:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071656ea0012d1b5d40072618a8002b010523..."} 
[2026-09-05 17:18:50] local.INFO: Processing buffer {"connection_id":173151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071656ea0012d1b5d40072618a8002b010523..."} 
[2026-09-05 17:18:50] local.INFO: Packet analysis {"connection_id":173151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07165"} 
[2026-09-05 17:18:50] local.INFO: Extracted packet for processing {"connection_id":173151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07165"} 
[2026-09-05 17:18:50] local.INFO: GPS Element Parsed {"raw_longitude":756768064,"raw_latitude":119937192,"longitude_deg":75.6768064,"latitude_deg":11.9937192,"altitude":43,"angle":261,"satellites":35,"speed":13,"hex_longitude":"2d1b5d40","hex_latitude":"072618a8","is_valid_coordinates":true} 
[2026-09-05 17:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883869696001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18004713358229504,"note":"Value kept but may cause issues"} 
[2026-09-05 17:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972858142468911104,"note":"Value kept but may cause issues"} 
[2026-09-05 17:18:50] 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-09-05 17:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788608868000,"timestamp_ms":1788608868000,"timestamp_seconds":1788608868,"priority":1,"record_length":96,"hex_timestamp":"000001a071656ea0"} 
[2026-09-05 17:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 17:18:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:18:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883869696001,"66":13102,"43":206,"83":41984,"24":13,"16":18004713358229504,"45":1972858142468911104},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-05 17:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883869696001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:18:50] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-05 17:18:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18004713358229504,"km_value":18004713358229.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:18:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972858142468911104,"description":"Unknown IO ID 45"} 
[2026-09-05 17:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883869696001,"power":13102,"unknown_43":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1972858142468911104}} 
[2026-09-05 17:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":173151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:18:50] local.INFO: GPS data processed {"connection_id":173151,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:18:50] local.INFO: Acknowledgment sent {"connection_id":173151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:18:56] local.INFO: TCP Data received {"connection_id":172043,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:18:56] local.INFO: Processing buffer {"connection_id":172043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:18:56] local.INFO: IMEI packet received {"connection_id":172043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":172043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:19:01] local.INFO: TCP Data received {"connection_id":172043,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:19:01] local.INFO: Processing buffer {"connection_id":172043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:19:01] local.INFO: IMEI packet received {"connection_id":172043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":172043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:19:02] local.INFO: TCP Data received {"connection_id":172043,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a07162c308012d7b864005f5f250000600f62d..."} 
[2026-09-05 17:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07162c308012d7b864005f5f250000600f62d..."} 
[2026-09-05 17:19:02] local.INFO: Processing buffer {"connection_id":172043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07162c308012d7b864005f5f250000600f62d..."} 
[2026-09-05 17:19:02] local.INFO: Packet analysis {"connection_id":172043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07162"} 
[2026-09-05 17:19:02] local.INFO: Extracted packet for processing {"connection_id":172043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07162"} 
[2026-09-05 17:19:02] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":100004432,"longitude_deg":76.3070016,"latitude_deg":10.0004432,"altitude":6,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8640","hex_latitude":"05f5f250","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883817216001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901083214122297344,"note":"Value kept but may cause issues"} 
[2026-09-05 17:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788608693000,"timestamp_ms":1788608693000,"timestamp_seconds":1788608693,"priority":1,"record_length":96,"hex_timestamp":"000001a07162c308"} 
[2026-09-05 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-09-05 17:19:02] 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-09-05 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":254,"data_length":795,"current_offset":136} 
[2026-09-05 17:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 17:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883817216001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901083214122297344},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883817216001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:19:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:19:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901083214122297344,"description":"Unknown IO ID 45"} 
[2026-09-05 17:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883817216001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901083214122297344}} 
[2026-09-05 17:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":172043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:19:02] local.INFO: GPS data processed {"connection_id":172043,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:19:02] local.INFO: Acknowledgment sent {"connection_id":172043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:19:23] local.INFO: TCP Data received {"connection_id":173151,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071658610012d1b59c0072617b8002b00f223..."} 
[2026-09-05 17:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071658610012d1b59c0072617b8002b00f223..."} 
[2026-09-05 17:19:23] local.INFO: Processing buffer {"connection_id":173151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071658610012d1b59c0072617b8002b00f223..."} 
[2026-09-05 17:19:23] local.INFO: Packet analysis {"connection_id":173151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07165"} 
[2026-09-05 17:19:23] local.INFO: Extracted packet for processing {"connection_id":173151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07165"} 
[2026-09-05 17:19:23] local.INFO: GPS Element Parsed {"raw_longitude":756767168,"raw_latitude":119936952,"longitude_deg":75.6767168,"latitude_deg":11.9936952,"altitude":43,"angle":242,"satellites":35,"speed":6,"hex_longitude":"2d1b59c0","hex_latitude":"072617b8","is_valid_coordinates":true} 
[2026-09-05 17:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883870208001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18004756307902464,"note":"Value kept but may cause issues"} 
[2026-09-05 17:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971802611306244096,"note":"Value kept but may cause issues"} 
[2026-09-05 17:19:23] 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-09-05 17:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788608874000,"timestamp_ms":1788608874000,"timestamp_seconds":1788608874,"priority":1,"record_length":96,"hex_timestamp":"000001a071658610"} 
[2026-09-05 17:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-05 17:19:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:19:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883870208001,"66":14352,"43":206,"83":41984,"24":6,"16":18004756307902464,"45":1971802611306244096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-05 17:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883870208001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:19:23] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-05 17:19:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18004756307902464,"km_value":18004756307902.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971802611306244096,"description":"Unknown IO ID 45"} 
[2026-09-05 17:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883870208001,"power":14352,"unknown_43":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1971802611306244096}} 
[2026-09-05 17:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":173151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:19:23] local.INFO: GPS data processed {"connection_id":173151,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:19:23] local.INFO: Acknowledgment sent {"connection_id":173151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:19:33] local.INFO: TCP Data received {"connection_id":172043,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a07162c308012d7b864005f5f250000600f62d..."} 
[2026-09-05 17:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07162c308012d7b864005f5f250000600f62d..."} 
[2026-09-05 17:19:33] local.INFO: Processing buffer {"connection_id":172043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07162c308012d7b864005f5f250000600f62d..."} 
[2026-09-05 17:19:33] local.INFO: Packet analysis {"connection_id":172043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07162"} 
[2026-09-05 17:19:33] local.INFO: Extracted packet for processing {"connection_id":172043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07162"} 
[2026-09-05 17:19:33] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":100004432,"longitude_deg":76.3070016,"latitude_deg":10.0004432,"altitude":6,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8640","hex_latitude":"05f5f250","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883817216001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901083214122297344,"note":"Value kept but may cause issues"} 
[2026-09-05 17:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788608693000,"timestamp_ms":1788608693000,"timestamp_seconds":1788608693,"priority":1,"record_length":96,"hex_timestamp":"000001a07162c308"} 
[2026-09-05 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-09-05 17:19: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-09-05 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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-05 17:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 17:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883817216001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901083214122297344},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883817216001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:19:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:19:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901083214122297344,"description":"Unknown IO ID 45"} 
[2026-09-05 17:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883817216001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901083214122297344}} 
[2026-09-05 17:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":172043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:19:33] local.INFO: GPS data processed {"connection_id":172043,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:19:33] local.INFO: Acknowledgment sent {"connection_id":172043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:19:44] local.INFO: TCP Data received {"connection_id":174478,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:19:44] local.INFO: Processing buffer {"connection_id":174478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:19:44] local.INFO: IMEI packet received {"connection_id":174478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":174478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:19:49] local.INFO: TCP Data received {"connection_id":174478,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:19:49] local.INFO: Processing buffer {"connection_id":174478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:19:49] local.INFO: IMEI packet received {"connection_id":174478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":174478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:19:50] local.INFO: TCP Data received {"connection_id":174478,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071658de0012d1b5840072616a8002c00e423..."} 
[2026-09-05 17:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071658de0012d1b5840072616a8002c00e423..."} 
[2026-09-05 17:19:50] local.INFO: Processing buffer {"connection_id":174478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071658de0012d1b5840072616a8002c00e423..."} 
[2026-09-05 17:19:50] local.INFO: Packet analysis {"connection_id":174478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07165"} 
[2026-09-05 17:19:50] local.INFO: Extracted packet for processing {"connection_id":174478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07165"} 
[2026-09-05 17:19:50] local.INFO: GPS Element Parsed {"raw_longitude":756766784,"raw_latitude":119936680,"longitude_deg":75.6766784,"latitude_deg":11.993668,"altitude":44,"angle":228,"satellites":35,"speed":10,"hex_longitude":"2d1b5840","hex_latitude":"072616a8","is_valid_coordinates":true} 
[2026-09-05 17:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883871744001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18004777782738944,"note":"Value kept but may cause issues"} 
[2026-09-05 17:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970817448887695360,"note":"Value kept but may cause issues"} 
[2026-09-05 17:19:50] 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-09-05 17:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788608876000,"timestamp_ms":1788608876000,"timestamp_seconds":1788608876,"priority":1,"record_length":96,"hex_timestamp":"000001a071658de0"} 
[2026-09-05 17:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-05 17:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733144320,"note":"Value kept but may cause issues"} 
[2026-09-05 17:19:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-05 17:19:50] local.WARNING: Large IO value detected {"io_id":24,"raw_value":11260215215267840,"note":"Value kept but may cause issues"} 
[2026-09-05 17:19:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 17:19:50] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":9728,"corrected_to":0} 
[2026-09-05 17:19:50] local.WARNING: Large IO value detected {"io_id":63,"raw_value":4127129600,"note":"Value kept but may cause issues"} 
[2026-09-05 17:19:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1019502515969851402,"note":"Value kept but may cause issues"} 
[2026-09-05 17:19:50] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 17:19:50] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503874330558464,"note":"Value kept but may cause issues"} 
[2026-09-05 17:19:50] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":3238002688,"corrected_to":0} 
[2026-09-05 17:19:50] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5981044192238174464,"note":"Value kept but may cause issues"} 
[2026-09-05 17:19:50] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637447953738455,"note":"Value kept but may cause issues"} 
[2026-09-05 17:19:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792475342,"corrected_to":0} 
[2026-09-05 17:19:50] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-05 17:19:50] local.WARNING: Large IO value detected {"io_id":168,"raw_value":84754716734989801,"note":"Value kept but may cause issues"} 
[2026-09-05 17:19:50] local.WARNING: Large IO value detected {"io_id":28,"raw_value":342281431060840489,"note":"Value kept but may cause issues"} 
[2026-09-05 17:19:50] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,43,83,24,241,157,16,247,160,110,45,64,35,10,66,102,34,63,128,1,240,5,227,246,113,38,4,205,42,197,216,239,56,215,2,7,39,206,168,28],"length":628,"final_offset":758,"validated_count":40,"validation_warnings":[{"io_id":247,"original":9728,"validated":0},{"io_id":246,"original":3238002688,"validated":0},{"io_id":205,"original":1792475342,"validated":0}]} 
[2026-09-05 17:19:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098742775769071616,"timestamp_seconds":3098742775769071.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 17:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883871744001,"66":14374,"43":206,"83":41984,"24":10,"16":18004777782738944,"45":1970817448887695360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-05 17:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883871744001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:19:50] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-05 17:19:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18004777782738944,"km_value":18004777782738.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970817448887695360,"description":"Unknown IO ID 45"} 
[2026-09-05 17:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883871744001,"power":14374,"unknown_43":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1970817448887695360}} 
[2026-09-05 17:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":174478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:19:50] local.INFO: GPS data processed {"connection_id":174478,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:19:50] local.INFO: Acknowledgment sent {"connection_id":174478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:19:56] local.INFO: TCP Data received {"connection_id":171765,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:19:56] local.INFO: Processing buffer {"connection_id":171765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:19:56] local.INFO: IMEI packet received {"connection_id":171765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":171765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:20:01] local.INFO: TCP Data received {"connection_id":171765,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:20:01] local.INFO: Processing buffer {"connection_id":171765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:20:01] local.INFO: IMEI packet received {"connection_id":171765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":171765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:20:02] local.INFO: TCP Data received {"connection_id":171765,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07162c308012d7b864005f5f250000600f62d..."} 
[2026-09-05 17:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07162c308012d7b864005f5f250000600f62d..."} 
[2026-09-05 17:20:02] local.INFO: Processing buffer {"connection_id":171765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07162c308012d7b864005f5f250000600f62d..."} 
[2026-09-05 17:20:02] local.INFO: Packet analysis {"connection_id":171765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07162"} 
[2026-09-05 17:20:02] local.INFO: Extracted packet for processing {"connection_id":171765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07162"} 
[2026-09-05 17:20:02] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":100004432,"longitude_deg":76.3070016,"latitude_deg":10.0004432,"altitude":6,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8640","hex_latitude":"05f5f250","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883817216001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901083214122297344,"note":"Value kept but may cause issues"} 
[2026-09-05 17:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788608693000,"timestamp_ms":1788608693000,"timestamp_seconds":1788608693,"priority":1,"record_length":96,"hex_timestamp":"000001a07162c308"} 
[2026-09-05 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-09-05 17:20:02] 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-09-05 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":254,"data_length":795,"current_offset":136} 
[2026-09-05 17:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 17:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883817216001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901083214122297344},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883817216001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:20:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:20:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901083214122297344,"description":"Unknown IO ID 45"} 
[2026-09-05 17:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883817216001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901083214122297344}} 
[2026-09-05 17:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":171765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:20:02] local.INFO: GPS data processed {"connection_id":171765,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:20:02] local.INFO: Acknowledgment sent {"connection_id":171765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:20:21] local.INFO: TCP Data received {"connection_id":174478,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0716683f8012d1b4d40072580800028008528..."} 
[2026-09-05 17:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0716683f8012d1b4d40072580800028008528..."} 
[2026-09-05 17:20:21] local.INFO: Processing buffer {"connection_id":174478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0716683f8012d1b4d40072580800028008528..."} 
[2026-09-05 17:20:21] local.INFO: Packet analysis {"connection_id":174478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07166"} 
[2026-09-05 17:20:21] local.INFO: Extracted packet for processing {"connection_id":174478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07166"} 
[2026-09-05 17:20:21] local.INFO: GPS Element Parsed {"raw_longitude":756763968,"raw_latitude":119898240,"longitude_deg":75.6763968,"latitude_deg":11.989824,"altitude":40,"angle":133,"satellites":40,"speed":24,"hex_longitude":"2d1b4d40","hex_latitude":"07258080","is_valid_coordinates":true} 
[2026-09-05 17:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883887872001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18006774942531584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966384217994838016,"note":"Value kept but may cause issues"} 
[2026-09-05 17:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788608939000,"timestamp_ms":1788608939000,"timestamp_seconds":1788608939,"priority":1,"record_length":96,"hex_timestamp":"000001a0716683f8"} 
[2026-09-05 17:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:20:21] 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-09-05 17:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-05 17:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446331648,"note":"Value kept but may cause issues"} 
[2026-09-05 17:20:21] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-05 17:20:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 17:20:21] local.WARNING: Large IO value detected {"io_id":248,"raw_value":2181038080,"note":"Value kept but may cause issues"} 
[2026-09-05 17:20:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792606414,"corrected_to":0} 
[2026-09-05 17:20:21] local.WARNING: Large IO value detected {"io_id":58,"raw_value":3221693886,"note":"Value kept but may cause issues"} 
[2026-09-05 17:20:21] local.WARNING: Large IO value detected {"io_id":63,"raw_value":4165992448,"note":"Value kept but may cause issues"} 
[2026-09-05 17:20:21] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,217,83,24,241,157,16,249,160,124,45,132,41,10,66,73,128,165,43,36,248,61,1,240,224,227,113,37,4,205,30,38,58,239,55,2,63,7,25],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1792606414,"validated":0}]} 
[2026-09-05 17:20:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954525358882881536,"timestamp_seconds":2954525358882881.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 17:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883887872001,"66":14102,"217":206,"83":42752,"24":24,"16":18006774942531584,"45":1966384217994838016},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-05 17:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883887872001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:20:21] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-05 17:20:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18006774942531584,"km_value":18006774942531.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966384217994838016,"description":"Unknown IO ID 45"} 
[2026-09-05 17:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883887872001,"power":14102,"unknown_217":206,"unknown_83":42752,"ignition":24,"odometer":null,"unknown_45":1966384217994838016}} 
[2026-09-05 17:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":174478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:20:21] local.INFO: GPS data processed {"connection_id":174478,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:20:21] local.INFO: Acknowledgment sent {"connection_id":174478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:20:33] local.INFO: TCP Data received {"connection_id":171765,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a071675ad0012d7b850005f5f278000600f62a..."} 
[2026-09-05 17:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071675ad0012d7b850005f5f278000600f62a..."} 
[2026-09-05 17:20:33] local.INFO: Processing buffer {"connection_id":171765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071675ad0012d7b850005f5f278000600f62a..."} 
[2026-09-05 17:20:33] local.INFO: Packet analysis {"connection_id":171765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07167"} 
[2026-09-05 17:20:33] local.INFO: Extracted packet for processing {"connection_id":171765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07167"} 
[2026-09-05 17:20:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883825408001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889676288,"note":"Value kept but may cause issues"} 
[2026-09-05 17:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788608994000,"timestamp_ms":1788608994000,"timestamp_seconds":1788608994,"priority":1,"record_length":96,"hex_timestamp":"000001a071675ad0"} 
[2026-09-05 17:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:20: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-09-05 17: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-05 17:20: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-09-05 17: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-09-05 17:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883825408001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889676288},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883825408001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:20:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:20:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889676288,"description":"Unknown IO ID 45"} 
[2026-09-05 17:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883825408001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889676288}} 
[2026-09-05 17:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":171765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:20:33] local.INFO: GPS data processed {"connection_id":171765,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:20:33] local.INFO: Acknowledgment sent {"connection_id":171765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:20:44] local.INFO: TCP Data received {"connection_id":174479,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:20:44] local.INFO: Processing buffer {"connection_id":174479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:20:44] local.INFO: IMEI packet received {"connection_id":174479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":174479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:20:49] local.INFO: TCP Data received {"connection_id":174479,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:20:49] local.INFO: Processing buffer {"connection_id":174479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:20:49] local.INFO: IMEI packet received {"connection_id":174479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":174479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:20:50] local.INFO: TCP Data received {"connection_id":174479,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07166baa8012d1b62c007256968002600922a..."} 
[2026-09-05 17:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07166baa8012d1b62c007256968002600922a..."} 
[2026-09-05 17:20:50] local.INFO: Processing buffer {"connection_id":174479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07166baa8012d1b62c007256968002600922a..."} 
[2026-09-05 17:20:50] local.INFO: Packet analysis {"connection_id":174479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07166"} 
[2026-09-05 17:20:50] local.INFO: Extracted packet for processing {"connection_id":174479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07166"} 
[2026-09-05 17:20:50] local.INFO: GPS Element Parsed {"raw_longitude":756769472,"raw_latitude":119892328,"longitude_deg":75.6769472,"latitude_deg":11.9892328,"altitude":38,"angle":146,"satellites":42,"speed":16,"hex_longitude":"2d1b62c0","hex_latitude":"07256968","is_valid_coordinates":true} 
[2026-09-05 17:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883888384001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18007161489588224,"note":"Value kept but may cause issues"} 
[2026-09-05 17:20:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967299011668901888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:20:50] 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-09-05 17:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788608953000,"timestamp_ms":1788608953000,"timestamp_seconds":1788608953,"priority":1,"record_length":96,"hex_timestamp":"000001a07166baa8"} 
[2026-09-05 17:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-05 17:20:50] 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-09-05 17:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883888384001,"66":13972,"43":206,"83":41984,"24":16,"16":18007161489588224,"45":1967299011668901888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-05 17:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883888384001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:20:50] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-05 17:20:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18007161489588224,"km_value":18007161489588.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967299011668901888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883888384001,"power":13972,"unknown_43":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1967299011668901888}} 
[2026-09-05 17:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":174479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:20:50] local.INFO: GPS data processed {"connection_id":174479,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:20:50] local.INFO: Acknowledgment sent {"connection_id":174479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:20:56] local.INFO: TCP Data received {"connection_id":171766,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:20:56] local.INFO: Processing buffer {"connection_id":171766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:20:56] local.INFO: IMEI packet received {"connection_id":171766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":171766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:21:01] local.INFO: TCP Data received {"connection_id":171766,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:21:01] local.INFO: Processing buffer {"connection_id":171766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:21:01] local.INFO: IMEI packet received {"connection_id":171766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":171766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:21:02] local.INFO: TCP Data received {"connection_id":171766,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071675ad0012d7b850005f5f278000600f62a..."} 
[2026-09-05 17:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071675ad0012d7b850005f5f278000600f62a..."} 
[2026-09-05 17:21:02] local.INFO: Processing buffer {"connection_id":171766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071675ad0012d7b850005f5f278000600f62a..."} 
[2026-09-05 17:21:02] local.INFO: Packet analysis {"connection_id":171766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07167"} 
[2026-09-05 17:21:02] local.INFO: Extracted packet for processing {"connection_id":171766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07167"} 
[2026-09-05 17:21:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883825408001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889676288,"note":"Value kept but may cause issues"} 
[2026-09-05 17:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788608994000,"timestamp_ms":1788608994000,"timestamp_seconds":1788608994,"priority":1,"record_length":96,"hex_timestamp":"000001a071675ad0"} 
[2026-09-05 17:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:21:02] 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-09-05 17:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-05 17:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883825408001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889676288},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883825408001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:21:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:21:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889676288,"description":"Unknown IO ID 45"} 
[2026-09-05 17:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883825408001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889676288}} 
[2026-09-05 17:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":171766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:21:02] local.INFO: GPS data processed {"connection_id":171766,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:21:02] local.INFO: Acknowledgment sent {"connection_id":171766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:21:21] local.INFO: TCP Data received {"connection_id":174479,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0716700f8012d1b66c0072562f00027009f28..."} 
[2026-09-05 17:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0716700f8012d1b66c0072562f00027009f28..."} 
[2026-09-05 17:21:21] local.INFO: Processing buffer {"connection_id":174479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0716700f8012d1b66c0072562f00027009f28..."} 
[2026-09-05 17:21:21] local.INFO: Packet analysis {"connection_id":174479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07167"} 
[2026-09-05 17:21:21] local.INFO: Extracted packet for processing {"connection_id":174479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07167"} 
[2026-09-05 17:21:21] local.INFO: GPS Element Parsed {"raw_longitude":756770496,"raw_latitude":119890672,"longitude_deg":75.6770496,"latitude_deg":11.9890672,"altitude":39,"angle":159,"satellites":40,"speed":8,"hex_longitude":"2d1b66c0","hex_latitude":"072562f0","is_valid_coordinates":true} 
[2026-09-05 17:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883891968001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18007255978868736,"note":"Value kept but may cause issues"} 
[2026-09-05 17:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973350723666667520,"note":"Value kept but may cause issues"} 
[2026-09-05 17:21:21] 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-09-05 17:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788608971000,"timestamp_ms":1788608971000,"timestamp_seconds":1788608971,"priority":1,"record_length":96,"hex_timestamp":"000001a0716700f8"} 
[2026-09-05 17:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:21: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-09-05 17:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 17:21:21] 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-09-05 17:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883891968001,"66":14363,"43":206,"83":41984,"24":8,"16":18007255978868736,"45":1973350723666667520},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-05 17:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883891968001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:21:21] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-05 17:21:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18007255978868736,"km_value":18007255978868.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973350723666667520,"description":"Unknown IO ID 45"} 
[2026-09-05 17:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883891968001,"power":14363,"unknown_43":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1973350723666667520}} 
[2026-09-05 17:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":174479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:21:21] local.INFO: GPS data processed {"connection_id":174479,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:21:21] local.INFO: Acknowledgment sent {"connection_id":174479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:21:33] local.INFO: TCP Data received {"connection_id":171766,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071675ad0012d7b850005f5f278000600f62a..."} 
[2026-09-05 17:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071675ad0012d7b850005f5f278000600f62a..."} 
[2026-09-05 17:21:33] local.INFO: Processing buffer {"connection_id":171766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071675ad0012d7b850005f5f278000600f62a..."} 
[2026-09-05 17:21:33] local.INFO: Packet analysis {"connection_id":171766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07167"} 
[2026-09-05 17:21:33] local.INFO: Extracted packet for processing {"connection_id":171766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07167"} 
[2026-09-05 17:21:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883825408001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889676288,"note":"Value kept but may cause issues"} 
[2026-09-05 17:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788608994000,"timestamp_ms":1788608994000,"timestamp_seconds":1788608994,"priority":1,"record_length":96,"hex_timestamp":"000001a071675ad0"} 
[2026-09-05 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-09-05 17:21: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-09-05 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-05 17:21: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-09-05 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-09-05 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-09-05 17:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883825408001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889676288},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883825408001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:21:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:21:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889676288,"description":"Unknown IO ID 45"} 
[2026-09-05 17:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883825408001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889676288}} 
[2026-09-05 17:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":171766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:21:33] local.INFO: GPS data processed {"connection_id":171766,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:21:33] local.INFO: Acknowledgment sent {"connection_id":171766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:21:46] local.INFO: TCP Data received {"connection_id":171768,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:21:46] local.INFO: Processing buffer {"connection_id":171768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:21:46] local.INFO: IMEI packet received {"connection_id":171768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":171768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:21:51] local.INFO: TCP Data received {"connection_id":171768,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:21:51] local.INFO: Processing buffer {"connection_id":171768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:21:51] local.INFO: IMEI packet received {"connection_id":171768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":171768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:21:56] local.INFO: TCP Data received {"connection_id":171768,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:21:56] local.INFO: Processing buffer {"connection_id":171768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:21:56] local.INFO: IMEI packet received {"connection_id":171768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":171768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:21:57] local.INFO: TCP Data received {"connection_id":171768,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071674360012d1b68c007255ba8002700ab28..."} 
[2026-09-05 17:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071674360012d1b68c007255ba8002700ab28..."} 
[2026-09-05 17:21:57] local.INFO: Processing buffer {"connection_id":171768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071674360012d1b68c007255ba8002700ab28..."} 
[2026-09-05 17:21:57] local.INFO: Packet analysis {"connection_id":171768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07167"} 
[2026-09-05 17:21:57] local.INFO: Extracted packet for processing {"connection_id":171768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07167"} 
[2026-09-05 17:21:57] local.INFO: GPS Element Parsed {"raw_longitude":756771008,"raw_latitude":119888808,"longitude_deg":75.6771008,"latitude_deg":11.9888808,"altitude":39,"angle":171,"satellites":40,"speed":11,"hex_longitude":"2d1b68c0","hex_latitude":"07255ba8","is_valid_coordinates":true} 
[2026-09-05 17:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883896576001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18007354763116544,"note":"Value kept but may cause issues"} 
[2026-09-05 17:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974476623573086208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:21:57] 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-09-05 17:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788608988000,"timestamp_ms":1788608988000,"timestamp_seconds":1788608988,"priority":1,"record_length":96,"hex_timestamp":"000001a071674360"} 
[2026-09-05 17:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:21:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 17:21:57] 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-09-05 17:21:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":171768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":171768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":171768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883896576001,"66":14265,"43":206,"83":41984,"24":11,"16":18007354763116544,"45":1974476623573086208},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-05 17:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883896576001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:21:57] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-05 17:21:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18007354763116544,"km_value":18007354763116.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974476623573086208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883896576001,"power":14265,"unknown_43":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1974476623573086208}} 
[2026-09-05 17:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":171768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:21:57] local.INFO: GPS data processed {"connection_id":171768,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:21:57] local.INFO: Acknowledgment sent {"connection_id":171768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:21:58] local.INFO: TCP Data received {"connection_id":171768,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071675eb8012d1b694007255560002800ba29..."} 
[2026-09-05 17:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071675eb8012d1b694007255560002800ba29..."} 
[2026-09-05 17:21:58] local.INFO: Processing buffer {"connection_id":171768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071675eb8012d1b694007255560002800ba29..."} 
[2026-09-05 17:21:58] local.INFO: Packet analysis {"connection_id":171768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07167"} 
[2026-09-05 17:21:58] local.INFO: Extracted packet for processing {"connection_id":171768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07167"} 
[2026-09-05 17:21:58] local.INFO: GPS Element Parsed {"raw_longitude":756771136,"raw_latitude":119887200,"longitude_deg":75.6771136,"latitude_deg":11.98872,"altitude":40,"angle":186,"satellites":41,"speed":13,"hex_longitude":"2d1b6940","hex_latitude":"07255560","is_valid_coordinates":true} 
[2026-09-05 17:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883900928001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18007436367495168,"note":"Value kept but may cause issues"} 
[2026-09-05 17:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975039573526030336,"note":"Value kept but may cause issues"} 
[2026-09-05 17:21:58] 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-09-05 17:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788608995000,"timestamp_ms":1788608995000,"timestamp_seconds":1788608995,"priority":1,"record_length":96,"hex_timestamp":"000001a071675eb8"} 
[2026-09-05 17:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:21:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 17:21:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883900928001,"66":14048,"43":206,"83":41984,"24":13,"16":18007436367495168,"45":1975039573526030336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-05 17:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883900928001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:21:58] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-05 17:21:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18007436367495168,"km_value":18007436367495.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975039573526030336,"description":"Unknown IO ID 45"} 
[2026-09-05 17:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883900928001,"power":14048,"unknown_43":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1975039573526030336}} 
[2026-09-05 17:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":171768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:21:58] local.INFO: GPS data processed {"connection_id":171768,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:21:58] local.INFO: Acknowledgment sent {"connection_id":171768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:22:01] local.INFO: TCP Data received {"connection_id":172045,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:22:01] local.INFO: Processing buffer {"connection_id":172045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:22:01] local.INFO: IMEI packet received {"connection_id":172045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":172045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:22:06] local.INFO: TCP Data received {"connection_id":172045,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:22:06] local.INFO: Processing buffer {"connection_id":172045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:22:06] local.INFO: IMEI packet received {"connection_id":172045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":172045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:22:06] local.INFO: TCP Data received {"connection_id":172045,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071675ad0012d7b850005f5f278000600f62a..."} 
[2026-09-05 17:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071675ad0012d7b850005f5f278000600f62a..."} 
[2026-09-05 17:22:06] local.INFO: Processing buffer {"connection_id":172045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071675ad0012d7b850005f5f278000600f62a..."} 
[2026-09-05 17:22:06] local.INFO: Packet analysis {"connection_id":172045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07167"} 
[2026-09-05 17:22:06] local.INFO: Extracted packet for processing {"connection_id":172045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07167"} 
[2026-09-05 17:22:06] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883825408001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889676288,"note":"Value kept but may cause issues"} 
[2026-09-05 17:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788608994000,"timestamp_ms":1788608994000,"timestamp_seconds":1788608994,"priority":1,"record_length":96,"hex_timestamp":"000001a071675ad0"} 
[2026-09-05 17:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:22:06] 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-09-05 17:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-05 17:22:06] 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-09-05 17:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883825408001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889676288},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883825408001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:22:06] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:22:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889676288,"description":"Unknown IO ID 45"} 
[2026-09-05 17:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883825408001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889676288}} 
[2026-09-05 17:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":172045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:22:06] local.INFO: GPS data processed {"connection_id":172045,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:22:06] local.INFO: Acknowledgment sent {"connection_id":172045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:22:11] local.INFO: TCP Data received {"connection_id":172045,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071675ad0012d7b850005f5f278000600f62a..."} 
[2026-09-05 17:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071675ad0012d7b850005f5f278000600f62a..."} 
[2026-09-05 17:22:11] local.INFO: Processing buffer {"connection_id":172045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071675ad0012d7b850005f5f278000600f62a..."} 
[2026-09-05 17:22:11] local.INFO: Packet analysis {"connection_id":172045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07167"} 
[2026-09-05 17:22:11] local.INFO: Extracted packet for processing {"connection_id":172045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07167"} 
[2026-09-05 17:22:11] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883825408001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889676288,"note":"Value kept but may cause issues"} 
[2026-09-05 17:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788608994000,"timestamp_ms":1788608994000,"timestamp_seconds":1788608994,"priority":1,"record_length":96,"hex_timestamp":"000001a071675ad0"} 
[2026-09-05 17:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:22: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-09-05 17:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-05 17:22:11] 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-09-05 17:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":172045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":172045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":172045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883825408001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889676288},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883825408001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:22:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:22:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889676288,"description":"Unknown IO ID 45"} 
[2026-09-05 17:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883825408001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889676288}} 
[2026-09-05 17:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":172045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:22:11] local.INFO: GPS data processed {"connection_id":172045,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:22:11] local.INFO: Acknowledgment sent {"connection_id":172045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:22:29] local.INFO: TCP Data received {"connection_id":171768,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07167a508012d1b6200072532e0002900c126..."} 
[2026-09-05 17:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07167a508012d1b6200072532e0002900c126..."} 
[2026-09-05 17:22:29] local.INFO: Processing buffer {"connection_id":171768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07167a508012d1b6200072532e0002900c126..."} 
[2026-09-05 17:22:29] local.INFO: Packet analysis {"connection_id":171768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07167"} 
[2026-09-05 17:22:29] local.INFO: Extracted packet for processing {"connection_id":171768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07167"} 
[2026-09-05 17:22:29] local.INFO: GPS Element Parsed {"raw_longitude":756769280,"raw_latitude":119878368,"longitude_deg":75.676928,"latitude_deg":11.9878368,"altitude":41,"angle":193,"satellites":38,"speed":20,"hex_longitude":"2d1b6200","hex_latitude":"072532e0","is_valid_coordinates":true} 
[2026-09-05 17:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883902720001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18007874454159360,"note":"Value kept but may cause issues"} 
[2026-09-05 17:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975180311013974016,"note":"Value kept but may cause issues"} 
[2026-09-05 17:22:29] 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-09-05 17:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788609013000,"timestamp_ms":1788609013000,"timestamp_seconds":1788609013,"priority":1,"record_length":96,"hex_timestamp":"000001a07167a508"} 
[2026-09-05 17:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-05 17:22:29] 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-09-05 17:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":171768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":171768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":171768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883902720001,"66":14363,"43":206,"83":41984,"24":20,"16":18007874454159360,"45":1975180311013974016},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-05 17:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883902720001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:22:29] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-05 17:22:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18007874454159360,"km_value":18007874454159.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975180311013974016,"description":"Unknown IO ID 45"} 
[2026-09-05 17:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883902720001,"power":14363,"unknown_43":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1975180311013974016}} 
[2026-09-05 17:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":171768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:22:29] local.INFO: GPS data processed {"connection_id":171768,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:22:29] local.INFO: Acknowledgment sent {"connection_id":171768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:22:51] local.INFO: TCP Data received {"connection_id":174480,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:22:51] local.INFO: Processing buffer {"connection_id":174480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:22:51] local.INFO: IMEI packet received {"connection_id":174480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 17:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":174480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:22:54] local.INFO: TCP Data received {"connection_id":172046,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:22:54] local.INFO: Processing buffer {"connection_id":172046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:22:54] local.INFO: IMEI packet received {"connection_id":172046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":172046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:22:56] local.INFO: TCP Data received {"connection_id":173153,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:22:56] local.INFO: Processing buffer {"connection_id":173153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:22:56] local.INFO: IMEI packet received {"connection_id":173153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":173153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:22:59] local.INFO: TCP Data received {"connection_id":172046,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:22:59] local.INFO: Processing buffer {"connection_id":172046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:22:59] local.INFO: IMEI packet received {"connection_id":172046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":172046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:22:59] local.INFO: TCP Data received {"connection_id":172046,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0716927c0012d1afa0007246df8002d00dd25..."} 
[2026-09-05 17:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0716927c0012d1afa0007246df8002d00dd25..."} 
[2026-09-05 17:22:59] local.INFO: Processing buffer {"connection_id":172046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0716927c0012d1afa0007246df8002d00dd25..."} 
[2026-09-05 17:22:59] local.INFO: Packet analysis {"connection_id":172046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07169"} 
[2026-09-05 17:22:59] local.INFO: Extracted packet for processing {"connection_id":172046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07169"} 
[2026-09-05 17:22:59] local.INFO: GPS Element Parsed {"raw_longitude":756742656,"raw_latitude":119827960,"longitude_deg":75.6742656,"latitude_deg":11.982796,"altitude":45,"angle":221,"satellites":37,"speed":38,"hex_longitude":"2d1afa00","hex_latitude":"07246df8","is_valid_coordinates":true} 
[2026-09-05 17:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883930112001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18010855161462784,"note":"Value kept but may cause issues"} 
[2026-09-05 17:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1951043831747565568,"note":"Value kept but may cause issues"} 
[2026-09-05 17:22:59] 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-09-05 17:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788609112000,"timestamp_ms":1788609112000,"timestamp_seconds":1788609112,"priority":1,"record_length":96,"hex_timestamp":"000001a0716927c0"} 
[2026-09-05 17:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-05 17:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733144576,"note":"Value kept but may cause issues"} 
[2026-09-05 17:22:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-05 17:22:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 17:22:59] local.WARNING: Large IO value detected {"io_id":128,"raw_value":11822654050799360,"note":"Value kept but may cause issues"} 
[2026-09-05 17:22:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 17:22:59] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503874421260288,"note":"Value kept but may cause issues"} 
[2026-09-05 17:22:59] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6053101786276102400,"note":"Value kept but may cause issues"} 
[2026-09-05 17:22:59] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3232759847,"note":"Value kept but may cause issues"} 
[2026-09-05 17:22:59] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638616184839048,"note":"Value kept but may cause issues"} 
[2026-09-05 17:22:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535639758,"corrected_to":0} 
[2026-09-05 17:22:59] local.WARNING: Large IO value detected {"io_id":123,"raw_value":3758173467,"note":"Value kept but may cause issues"} 
[2026-09-05 17:22:59] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-05 17:22:59] local.WARNING: Large IO value detected {"io_id":63,"raw_value":4215341056,"note":"Value kept but may cause issues"} 
[2026-09-05 17:22:59] local.WARNING: Large IO value detected {"io_id":168,"raw_value":84754038130156794,"note":"Value kept but may cause issues"} 
[2026-09-05 17:22:59] local.WARNING: Large IO value detected {"io_id":27,"raw_value":6395119326366007339,"note":"Value kept but may cause issues"} 
[2026-09-05 17:22:59] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,176,83,24,241,157,16,252,160,209,45,128,39,40,10,66,136,251,162,178,38,41,151,1,240,185,227,113,36,4,205,28,123,90,239,56,2,63,7,31,206,168,27],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1535639758,"validated":0}]} 
[2026-09-05 17:22:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3026674212386439168,"timestamp_seconds":3026674212386439.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 17:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883930112001,"66":14363,"176":206,"83":42752,"24":38,"16":18010855161462784,"45":1951043831747565568},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-05 17:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883930112001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:22:59] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-05 17:22:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18010855161462784,"km_value":18010855161462.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1951043831747565568,"description":"Unknown IO ID 45"} 
[2026-09-05 17:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883930112001,"power":14363,"unknown_176":206,"unknown_83":42752,"ignition":38,"odometer":null,"unknown_45":1951043831747565568}} 
[2026-09-05 17:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":172046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:22:59] local.INFO: GPS data processed {"connection_id":172046,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:22:59] local.INFO: Acknowledgment sent {"connection_id":172046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:23:01] local.INFO: TCP Data received {"connection_id":173153,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:23:01] local.INFO: Processing buffer {"connection_id":173153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:23:01] local.INFO: IMEI packet received {"connection_id":173153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":173153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:23:02] local.INFO: TCP Data received {"connection_id":173153,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071675ad0012d7b850005f5f278000600f62a..."} 
[2026-09-05 17:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071675ad0012d7b850005f5f278000600f62a..."} 
[2026-09-05 17:23:02] local.INFO: Processing buffer {"connection_id":173153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071675ad0012d7b850005f5f278000600f62a..."} 
[2026-09-05 17:23:02] local.INFO: Packet analysis {"connection_id":173153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07167"} 
[2026-09-05 17:23:02] local.INFO: Extracted packet for processing {"connection_id":173153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07167"} 
[2026-09-05 17:23:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883825408001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889676288,"note":"Value kept but may cause issues"} 
[2026-09-05 17:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788608994000,"timestamp_ms":1788608994000,"timestamp_seconds":1788608994,"priority":1,"record_length":96,"hex_timestamp":"000001a071675ad0"} 
[2026-09-05 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-09-05 17:23:02] 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-09-05 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":243,"data_length":795,"current_offset":136} 
[2026-09-05 17:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 17:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883825408001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889676288},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883825408001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:23:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:23:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889676288,"description":"Unknown IO ID 45"} 
[2026-09-05 17:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883825408001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889676288}} 
[2026-09-05 17:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":173153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:23:02] local.INFO: GPS data processed {"connection_id":173153,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:23:02] local.INFO: Acknowledgment sent {"connection_id":173153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:23:33] local.INFO: TCP Data received {"connection_id":173153,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071675ad0012d7b850005f5f278000600f62a..."} 
[2026-09-05 17:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071675ad0012d7b850005f5f278000600f62a..."} 
[2026-09-05 17:23:33] local.INFO: Processing buffer {"connection_id":173153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071675ad0012d7b850005f5f278000600f62a..."} 
[2026-09-05 17:23:33] local.INFO: Packet analysis {"connection_id":173153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07167"} 
[2026-09-05 17:23:33] local.INFO: Extracted packet for processing {"connection_id":173153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07167"} 
[2026-09-05 17:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883825408001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889676288,"note":"Value kept but may cause issues"} 
[2026-09-05 17:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788608994000,"timestamp_ms":1788608994000,"timestamp_seconds":1788608994,"priority":1,"record_length":96,"hex_timestamp":"000001a071675ad0"} 
[2026-09-05 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-09-05 17:23: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-09-05 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-05 17:23: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-09-05 17: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-09-05 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-09-05 17:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883825408001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889676288},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883825408001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:23:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:23:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889676288,"description":"Unknown IO ID 45"} 
[2026-09-05 17:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883825408001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889676288}} 
[2026-09-05 17:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":173153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:23:33] local.INFO: GPS data processed {"connection_id":173153,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:23:33] local.INFO: Acknowledgment sent {"connection_id":173153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:23:44] local.INFO: TCP Data received {"connection_id":172047,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:23:44] local.INFO: Processing buffer {"connection_id":172047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:23:44] local.INFO: IMEI packet received {"connection_id":172047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":172047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:23:48] local.INFO: TCP Data received {"connection_id":172047,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:23:48] local.INFO: Processing buffer {"connection_id":172047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:23:48] local.INFO: IMEI packet received {"connection_id":172047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":172047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:23:49] local.INFO: TCP Data received {"connection_id":172047,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:23:49] local.INFO: Processing buffer {"connection_id":172047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:23:49] local.INFO: IMEI packet received {"connection_id":172047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":172047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:23:50] local.INFO: TCP Data received {"connection_id":172047,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071694318012d1aeac0072458f0003000d227..."} 
[2026-09-05 17:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071694318012d1aeac0072458f0003000d227..."} 
[2026-09-05 17:23:50] local.INFO: Processing buffer {"connection_id":172047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071694318012d1aeac0072458f0003000d227..."} 
[2026-09-05 17:23:50] local.INFO: Packet analysis {"connection_id":172047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07169"} 
[2026-09-05 17:23:50] local.INFO: Extracted packet for processing {"connection_id":172047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07169"} 
[2026-09-05 17:23:50] local.INFO: GPS Element Parsed {"raw_longitude":756738752,"raw_latitude":119822576,"longitude_deg":75.6738752,"latitude_deg":11.9822576,"altitude":48,"angle":210,"satellites":39,"speed":35,"hex_longitude":"2d1aeac0","hex_latitude":"072458f0","is_valid_coordinates":true} 
[2026-09-05 17:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883932672001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18011172989042688,"note":"Value kept but may cause issues"} 
[2026-09-05 17:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943866219839748096,"note":"Value kept but may cause issues"} 
[2026-09-05 17:23:50] 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-09-05 17:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788609119000,"timestamp_ms":1788609119000,"timestamp_seconds":1788609119,"priority":1,"record_length":96,"hex_timestamp":"000001a071694318"} 
[2026-09-05 17:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 17:23:50] 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-09-05 17:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883932672001,"66":14363,"176":206,"83":42752,"24":35,"16":18011172989042688,"45":1943866219839748096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-05 17:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883932672001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:23:50] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-05 17:23:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18011172989042688,"km_value":18011172989042.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943866219839748096,"description":"Unknown IO ID 45"} 
[2026-09-05 17:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883932672001,"power":14363,"unknown_176":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1943866219839748096}} 
[2026-09-05 17:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":172047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:23:50] local.INFO: GPS data processed {"connection_id":172047,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:23:50] local.INFO: Acknowledgment sent {"connection_id":172047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:23:55] local.INFO: TCP Data received {"connection_id":172047,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071696640012d1adc80072441a8003100dd26..."} 
[2026-09-05 17:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071696640012d1adc80072441a8003100dd26..."} 
[2026-09-05 17:23:55] local.INFO: Processing buffer {"connection_id":172047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071696640012d1adc80072441a8003100dd26..."} 
[2026-09-05 17:23:55] local.INFO: Packet analysis {"connection_id":172047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07169"} 
[2026-09-05 17:23:55] local.INFO: Extracted packet for processing {"connection_id":172047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07169"} 
[2026-09-05 17:23:55] local.INFO: GPS Element Parsed {"raw_longitude":756735104,"raw_latitude":119816616,"longitude_deg":75.6735104,"latitude_deg":11.9816616,"altitude":49,"angle":221,"satellites":38,"speed":28,"hex_longitude":"2d1adc80","hex_latitude":"072441a8","is_valid_coordinates":true} 
[2026-09-05 17:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883934464001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18011512291459072,"note":"Value kept but may cause issues"} 
[2026-09-05 17:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1939573726443532288,"note":"Value kept but may cause issues"} 
[2026-09-05 17:23:55] 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-09-05 17:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788609128000,"timestamp_ms":1788609128000,"timestamp_seconds":1788609128,"priority":1,"record_length":96,"hex_timestamp":"000001a071696640"} 
[2026-09-05 17:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 17:23:55] 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-09-05 17:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883934464001,"66":14428,"176":206,"83":42752,"24":28,"16":18011512291459072,"45":1939573726443532288},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-05 17:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883934464001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:23:55] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-05 17:23:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18011512291459072,"km_value":18011512291459.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1939573726443532288,"description":"Unknown IO ID 45"} 
[2026-09-05 17:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883934464001,"power":14428,"unknown_176":206,"unknown_83":42752,"ignition":28,"odometer":null,"unknown_45":1939573726443532288}} 
[2026-09-05 17:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":172047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:23:55] local.INFO: GPS data processed {"connection_id":172047,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:23:55] local.INFO: Acknowledgment sent {"connection_id":172047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:23:56] local.INFO: TCP Data received {"connection_id":171769,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:23:56] local.INFO: Processing buffer {"connection_id":171769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:23:56] local.INFO: IMEI packet received {"connection_id":171769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":171769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:24:01] local.INFO: TCP Data received {"connection_id":171769,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:24:01] local.INFO: Processing buffer {"connection_id":171769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:24:01] local.INFO: IMEI packet received {"connection_id":171769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":171769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:24:02] local.INFO: TCP Data received {"connection_id":171769,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071675ad0012d7b850005f5f278000600f62a..."} 
[2026-09-05 17:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071675ad0012d7b850005f5f278000600f62a..."} 
[2026-09-05 17:24:02] local.INFO: Processing buffer {"connection_id":171769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071675ad0012d7b850005f5f278000600f62a..."} 
[2026-09-05 17:24:02] local.INFO: Packet analysis {"connection_id":171769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07167"} 
[2026-09-05 17:24:02] local.INFO: Extracted packet for processing {"connection_id":171769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07167"} 
[2026-09-05 17:24:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883825408001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889676288,"note":"Value kept but may cause issues"} 
[2026-09-05 17:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788608994000,"timestamp_ms":1788608994000,"timestamp_seconds":1788608994,"priority":1,"record_length":96,"hex_timestamp":"000001a071675ad0"} 
[2026-09-05 17:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:24:02] 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-09-05 17: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":243,"data_length":795,"current_offset":136} 
[2026-09-05 17:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883825408001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889676288},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883825408001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:24:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:24:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889676288,"description":"Unknown IO ID 45"} 
[2026-09-05 17:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883825408001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889676288}} 
[2026-09-05 17:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":171769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:24:02] local.INFO: GPS data processed {"connection_id":171769,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:24:02] local.INFO: Acknowledgment sent {"connection_id":171769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:24:31] local.INFO: TCP Data received {"connection_id":172047,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0716975e0012d1ad4c007243af8003200ea27..."} 
[2026-09-05 17:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0716975e0012d1ad4c007243af8003200ea27..."} 
[2026-09-05 17:24:31] local.INFO: Processing buffer {"connection_id":172047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0716975e0012d1ad4c007243af8003200ea27..."} 
[2026-09-05 17:24:31] local.INFO: Packet analysis {"connection_id":172047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07169"} 
[2026-09-05 17:24:31] local.INFO: Extracted packet for processing {"connection_id":172047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07169"} 
[2026-09-05 17:24:31] local.INFO: GPS Element Parsed {"raw_longitude":756733120,"raw_latitude":119814904,"longitude_deg":75.673312,"latitude_deg":11.9814904,"altitude":50,"angle":234,"satellites":39,"speed":24,"hex_longitude":"2d1ad4c0","hex_latitude":"07243af8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883936768001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18011636845510656,"note":"Value kept but may cause issues"} 
[2026-09-05 17:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935562708023879680,"note":"Value kept but may cause issues"} 
[2026-09-05 17:24: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-09-05 17:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788609132000,"timestamp_ms":1788609132000,"timestamp_seconds":1788609132,"priority":1,"record_length":96,"hex_timestamp":"000001a0716975e0"} 
[2026-09-05 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-09-05 17:24:31] 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-09-05 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 17:24:31] 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-09-05 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-09-05 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-09-05 17:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883936768001,"66":14026,"176":206,"83":42752,"24":24,"16":18011636845510656,"45":1935562708023879680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-05 17:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883936768001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:24:31] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-05 17:24:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-05 17:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18011636845510656,"km_value":18011636845510.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935562708023879680,"description":"Unknown IO ID 45"} 
[2026-09-05 17:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883936768001,"power":14026,"unknown_176":206,"unknown_83":42752,"ignition":24,"odometer":null,"unknown_45":1935562708023879680}} 
[2026-09-05 17:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":172047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:24:31] local.INFO: GPS data processed {"connection_id":172047,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:24:31] local.INFO: Acknowledgment sent {"connection_id":172047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:24:33] local.INFO: TCP Data received {"connection_id":171769,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071675ad0012d7b850005f5f278000600f62a..."} 
[2026-09-05 17:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071675ad0012d7b850005f5f278000600f62a..."} 
[2026-09-05 17:24:33] local.INFO: Processing buffer {"connection_id":171769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071675ad0012d7b850005f5f278000600f62a..."} 
[2026-09-05 17:24:33] local.INFO: Packet analysis {"connection_id":171769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07167"} 
[2026-09-05 17:24:33] local.INFO: Extracted packet for processing {"connection_id":171769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07167"} 
[2026-09-05 17:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883825408001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889676288,"note":"Value kept but may cause issues"} 
[2026-09-05 17:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788608994000,"timestamp_ms":1788608994000,"timestamp_seconds":1788608994,"priority":1,"record_length":96,"hex_timestamp":"000001a071675ad0"} 
[2026-09-05 17:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:24: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-09-05 17:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-05 17:24: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-09-05 17: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-09-05 17:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883825408001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889676288},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883825408001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:24:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:24:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889676288,"description":"Unknown IO ID 45"} 
[2026-09-05 17:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883825408001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889676288}} 
[2026-09-05 17:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":171769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:24:33] local.INFO: GPS data processed {"connection_id":171769,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:24:33] local.INFO: Acknowledgment sent {"connection_id":171769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:24:58] local.INFO: TCP Data received {"connection_id":173154,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:24:58] local.INFO: Processing buffer {"connection_id":173154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:24:58] local.INFO: IMEI packet received {"connection_id":173154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":173154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:24:59] local.INFO: TCP Data received {"connection_id":173154,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:24:59] local.INFO: Processing buffer {"connection_id":173154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:24:59] local.INFO: IMEI packet received {"connection_id":173154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":173154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:25:00] local.INFO: TCP Data received {"connection_id":173154,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:25:00] local.INFO: Processing buffer {"connection_id":173154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:25:00] local.INFO: IMEI packet received {"connection_id":173154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":173154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:25:01] local.INFO: TCP Data received {"connection_id":173154,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0716b0c20012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0716b0c20012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:25:01] local.INFO: Processing buffer {"connection_id":173154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0716b0c20012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:25:01] local.INFO: Packet analysis {"connection_id":173154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0716b"} 
[2026-09-05 17:25:01] local.INFO: Extracted packet for processing {"connection_id":173154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0716b"} 
[2026-09-05 17:25:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17:25: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-09-05 17:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883902464001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788609236000,"timestamp_ms":1788609236000,"timestamp_seconds":1788609236,"priority":1,"record_length":96,"hex_timestamp":"000001a0716b0c20"} 
[2026-09-05 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-09-05 17:25:01] 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-09-05 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-05 17:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 17:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883902464001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883902464001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:25:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:25:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883902464001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":173154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:25:01] local.INFO: GPS data processed {"connection_id":173154,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:25:01] local.INFO: Acknowledgment sent {"connection_id":173154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:25:06] local.INFO: TCP Data received {"connection_id":173154,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0716b65f8012d7b864005f5f250000600f62e..."} 
[2026-09-05 17:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0716b65f8012d7b864005f5f250000600f62e..."} 
[2026-09-05 17:25:06] local.INFO: Processing buffer {"connection_id":173154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0716b65f8012d7b864005f5f250000600f62e..."} 
[2026-09-05 17:25:06] local.INFO: Packet analysis {"connection_id":173154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0716b"} 
[2026-09-05 17:25:06] local.INFO: Extracted packet for processing {"connection_id":173154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0716b"} 
[2026-09-05 17:25:06] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":100004432,"longitude_deg":76.3070016,"latitude_deg":10.0004432,"altitude":6,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8640","hex_latitude":"05f5f250","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883964416001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788609259000,"timestamp_ms":1788609259000,"timestamp_seconds":1788609259,"priority":1,"record_length":96,"hex_timestamp":"000001a0716b65f8"} 
[2026-09-05 17:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 17:25: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-09-05 17:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883964416001,"66":25495,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883964416001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:25:06] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:25:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883964416001,"power":25495,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":173154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:25:06] local.INFO: GPS data processed {"connection_id":173154,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:25:06] local.INFO: Acknowledgment sent {"connection_id":173154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:25:37] local.INFO: TCP Data received {"connection_id":173154,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0716bb800012d7b864005f5f250000600f62c..."} 
[2026-09-05 17:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0716bb800012d7b864005f5f250000600f62c..."} 
[2026-09-05 17:25:37] local.INFO: Processing buffer {"connection_id":173154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0716bb800012d7b864005f5f250000600f62c..."} 
[2026-09-05 17:25:37] local.INFO: Packet analysis {"connection_id":173154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0716b"} 
[2026-09-05 17:25:37] local.INFO: Extracted packet for processing {"connection_id":173154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0716b"} 
[2026-09-05 17:25:37] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":100004432,"longitude_deg":76.3070016,"latitude_deg":10.0004432,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d7b8640","hex_latitude":"05f5f250","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883970304001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889676288,"note":"Value kept but may cause issues"} 
[2026-09-05 17:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788609280000,"timestamp_ms":1788609280000,"timestamp_seconds":1788609280,"priority":1,"record_length":96,"hex_timestamp":"000001a0716bb800"} 
[2026-09-05 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-09-05 17:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":151,"data_length":795,"current_offset":136} 
[2026-09-05 17:25: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-09-05 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-09-05 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-09-05 17:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883970304001,"66":27539,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889676288},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883970304001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:25:37] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:25:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889676288,"description":"Unknown IO ID 45"} 
[2026-09-05 17:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883970304001,"power":27539,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889676288}} 
[2026-09-05 17:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":173154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:25:37] local.INFO: GPS data processed {"connection_id":173154,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:25:37] local.INFO: Acknowledgment sent {"connection_id":173154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:25:55] local.INFO: TCP Data received {"connection_id":171770,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:25:55] local.INFO: Processing buffer {"connection_id":171770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:25:55] local.INFO: IMEI packet received {"connection_id":171770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":171770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:25:59] local.INFO: TCP Data received {"connection_id":171771,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:25:59] local.INFO: Processing buffer {"connection_id":171771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:25:59] local.INFO: IMEI packet received {"connection_id":171771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":171771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:25:59] local.INFO: TCP Data received {"connection_id":171771,"ip":"42.109.136.1","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 17:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171771,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 17:25:59] local.INFO: Processing buffer {"connection_id":171771,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 17:25:59] local.INFO: IMEI packet received {"connection_id":171771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":171771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:26:00] local.INFO: TCP Data received {"connection_id":171771,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:26:00] local.INFO: Processing buffer {"connection_id":171771,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 17:26:00] local.INFO: IMEI packet received {"connection_id":171771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":171771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:26:01] local.INFO: TCP Data received {"connection_id":171770,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:26:01] local.INFO: Processing buffer {"connection_id":171770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:26:01] local.INFO: IMEI packet received {"connection_id":171770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":171770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:26:02] local.INFO: TCP Data received {"connection_id":171770,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0716be2f8012d7b864005f5f250000600f629..."} 
[2026-09-05 17:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0716be2f8012d7b864005f5f250000600f629..."} 
[2026-09-05 17:26:02] local.INFO: Processing buffer {"connection_id":171770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0716be2f8012d7b864005f5f250000600f629..."} 
[2026-09-05 17:26:02] local.INFO: Packet analysis {"connection_id":171770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0716b"} 
[2026-09-05 17:26:02] local.INFO: Extracted packet for processing {"connection_id":171770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0716b"} 
[2026-09-05 17:26:02] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":100004432,"longitude_deg":76.3070016,"latitude_deg":10.0004432,"altitude":6,"angle":246,"satellites":41,"speed":0,"hex_longitude":"2d7b8640","hex_latitude":"05f5f250","is_valid_coordinates":true} 
[2026-09-05 17:26: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-09-05 17:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883975680001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889676288,"note":"Value kept but may cause issues"} 
[2026-09-05 17:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788609291000,"timestamp_ms":1788609291000,"timestamp_seconds":1788609291,"priority":1,"record_length":96,"hex_timestamp":"000001a0716be2f8"} 
[2026-09-05 17:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:26: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-09-05 17:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-05 17:26: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-09-05 17:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883975680001,"66":27832,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889676288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883975680001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:26:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:26:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889676288,"description":"Unknown IO ID 45"} 
[2026-09-05 17:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883975680001,"power":27832,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889676288}} 
[2026-09-05 17:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":171770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:26:02] local.INFO: GPS data processed {"connection_id":171770,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:26:02] local.INFO: Acknowledgment sent {"connection_id":171770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:26:50] local.INFO: TCP Data received {"connection_id":171772,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:26:50] local.INFO: Processing buffer {"connection_id":171772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:26:50] local.INFO: IMEI packet received {"connection_id":171772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":171772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:26:56] local.INFO: TCP Data received {"connection_id":171772,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:26:56] local.INFO: Processing buffer {"connection_id":171772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:26:56] local.INFO: IMEI packet received {"connection_id":171772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":171772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:26:57] local.INFO: TCP Data received {"connection_id":171772,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0716be2f8012d7b864005f5f250000600f629..."} 
[2026-09-05 17:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0716be2f8012d7b864005f5f250000600f629..."} 
[2026-09-05 17:26:57] local.INFO: Processing buffer {"connection_id":171772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0716be2f8012d7b864005f5f250000600f629..."} 
[2026-09-05 17:26:57] local.INFO: Packet analysis {"connection_id":171772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0716b"} 
[2026-09-05 17:26:57] local.INFO: Extracted packet for processing {"connection_id":171772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0716b"} 
[2026-09-05 17:26:57] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":100004432,"longitude_deg":76.3070016,"latitude_deg":10.0004432,"altitude":6,"angle":246,"satellites":41,"speed":0,"hex_longitude":"2d7b8640","hex_latitude":"05f5f250","is_valid_coordinates":true} 
[2026-09-05 17:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883975680001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889676288,"note":"Value kept but may cause issues"} 
[2026-09-05 17:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788609291000,"timestamp_ms":1788609291000,"timestamp_seconds":1788609291,"priority":1,"record_length":96,"hex_timestamp":"000001a0716be2f8"} 
[2026-09-05 17:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-05 17:26:57] 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-09-05 17:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":171772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":171772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":171772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883975680001,"66":27832,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889676288},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883975680001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:26:57] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:26:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889676288,"description":"Unknown IO ID 45"} 
[2026-09-05 17:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883975680001,"power":27832,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889676288}} 
[2026-09-05 17:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":171772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:26:57] local.INFO: GPS data processed {"connection_id":171772,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:26:57] local.INFO: Acknowledgment sent {"connection_id":171772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:27:29] local.INFO: TCP Data received {"connection_id":171772,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0716be2f8012d7b864005f5f250000600f629..."} 
[2026-09-05 17:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0716be2f8012d7b864005f5f250000600f629..."} 
[2026-09-05 17:27:29] local.INFO: Processing buffer {"connection_id":171772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0716be2f8012d7b864005f5f250000600f629..."} 
[2026-09-05 17:27:29] local.INFO: Packet analysis {"connection_id":171772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0716b"} 
[2026-09-05 17:27:29] local.INFO: Extracted packet for processing {"connection_id":171772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0716b"} 
[2026-09-05 17:27:29] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":100004432,"longitude_deg":76.3070016,"latitude_deg":10.0004432,"altitude":6,"angle":246,"satellites":41,"speed":0,"hex_longitude":"2d7b8640","hex_latitude":"05f5f250","is_valid_coordinates":true} 
[2026-09-05 17:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883975680001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889676288,"note":"Value kept but may cause issues"} 
[2026-09-05 17:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788609291000,"timestamp_ms":1788609291000,"timestamp_seconds":1788609291,"priority":1,"record_length":96,"hex_timestamp":"000001a0716be2f8"} 
[2026-09-05 17:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-05 17:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:27:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":171772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":171772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":171772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883975680001,"66":27832,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889676288},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883975680001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:27:29] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:27:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889676288,"description":"Unknown IO ID 45"} 
[2026-09-05 17:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883975680001,"power":27832,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889676288}} 
[2026-09-05 17:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":171772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:27:29] local.INFO: GPS data processed {"connection_id":171772,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:27:29] local.INFO: Acknowledgment sent {"connection_id":171772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:28:01] local.INFO: TCP Data received {"connection_id":171773,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:28:01] local.INFO: Processing buffer {"connection_id":171773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:28:01] local.INFO: IMEI packet received {"connection_id":171773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":171773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:28:06] local.INFO: TCP Data received {"connection_id":171773,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:28:06] local.INFO: Processing buffer {"connection_id":171773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:28:06] local.INFO: IMEI packet received {"connection_id":171773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":171773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:28:06] local.INFO: TCP Data received {"connection_id":171773,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0716be2f8012d7b864005f5f250000600f629..."} 
[2026-09-05 17:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0716be2f8012d7b864005f5f250000600f629..."} 
[2026-09-05 17:28:06] local.INFO: Processing buffer {"connection_id":171773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0716be2f8012d7b864005f5f250000600f629..."} 
[2026-09-05 17:28:06] local.INFO: Packet analysis {"connection_id":171773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0716b"} 
[2026-09-05 17:28:06] local.INFO: Extracted packet for processing {"connection_id":171773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0716b"} 
[2026-09-05 17:28:06] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":100004432,"longitude_deg":76.3070016,"latitude_deg":10.0004432,"altitude":6,"angle":246,"satellites":41,"speed":0,"hex_longitude":"2d7b8640","hex_latitude":"05f5f250","is_valid_coordinates":true} 
[2026-09-05 17:28: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-09-05 17:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883975680001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889676288,"note":"Value kept but may cause issues"} 
[2026-09-05 17:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788609291000,"timestamp_ms":1788609291000,"timestamp_seconds":1788609291,"priority":1,"record_length":96,"hex_timestamp":"000001a0716be2f8"} 
[2026-09-05 17:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-05 17:28:06] 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-09-05 17:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883975680001,"66":27832,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889676288},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883975680001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:28:06] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:28:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889676288,"description":"Unknown IO ID 45"} 
[2026-09-05 17:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883975680001,"power":27832,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889676288}} 
[2026-09-05 17:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":171773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:28:06] local.INFO: GPS data processed {"connection_id":171773,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:28:06] local.INFO: Acknowledgment sent {"connection_id":171773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:28:11] local.INFO: TCP Data received {"connection_id":171773,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0716be2f8012d7b864005f5f250000600f629..."} 
[2026-09-05 17:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0716be2f8012d7b864005f5f250000600f629..."} 
[2026-09-05 17:28:11] local.INFO: Processing buffer {"connection_id":171773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0716be2f8012d7b864005f5f250000600f629..."} 
[2026-09-05 17:28:11] local.INFO: Packet analysis {"connection_id":171773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0716b"} 
[2026-09-05 17:28:11] local.INFO: Extracted packet for processing {"connection_id":171773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0716b"} 
[2026-09-05 17:28:11] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":100004432,"longitude_deg":76.3070016,"latitude_deg":10.0004432,"altitude":6,"angle":246,"satellites":41,"speed":0,"hex_longitude":"2d7b8640","hex_latitude":"05f5f250","is_valid_coordinates":true} 
[2026-09-05 17:28: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-09-05 17:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883975680001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889676288,"note":"Value kept but may cause issues"} 
[2026-09-05 17:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788609291000,"timestamp_ms":1788609291000,"timestamp_seconds":1788609291,"priority":1,"record_length":96,"hex_timestamp":"000001a0716be2f8"} 
[2026-09-05 17:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-05 17:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883975680001,"66":27832,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889676288},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883975680001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:28:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:28:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889676288,"description":"Unknown IO ID 45"} 
[2026-09-05 17:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883975680001,"power":27832,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889676288}} 
[2026-09-05 17:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":171773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:28:11] local.INFO: GPS data processed {"connection_id":171773,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:28:11] local.INFO: Acknowledgment sent {"connection_id":171773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:28:56] local.INFO: TCP Data received {"connection_id":172050,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:28:56] local.INFO: Processing buffer {"connection_id":172050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:28:56] local.INFO: IMEI packet received {"connection_id":172050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":172050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:29:01] local.INFO: TCP Data received {"connection_id":172050,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:29:01] local.INFO: Processing buffer {"connection_id":172050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:29:01] local.INFO: IMEI packet received {"connection_id":172050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":172050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:29:02] local.INFO: TCP Data received {"connection_id":172050,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0716be2f8012d7b864005f5f250000600f629..."} 
[2026-09-05 17:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0716be2f8012d7b864005f5f250000600f629..."} 
[2026-09-05 17:29:02] local.INFO: Processing buffer {"connection_id":172050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0716be2f8012d7b864005f5f250000600f629..."} 
[2026-09-05 17:29:02] local.INFO: Packet analysis {"connection_id":172050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0716b"} 
[2026-09-05 17:29:02] local.INFO: Extracted packet for processing {"connection_id":172050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0716b"} 
[2026-09-05 17:29:02] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":100004432,"longitude_deg":76.3070016,"latitude_deg":10.0004432,"altitude":6,"angle":246,"satellites":41,"speed":0,"hex_longitude":"2d7b8640","hex_latitude":"05f5f250","is_valid_coordinates":true} 
[2026-09-05 17:29: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-09-05 17:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883975680001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889676288,"note":"Value kept but may cause issues"} 
[2026-09-05 17:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788609291000,"timestamp_ms":1788609291000,"timestamp_seconds":1788609291,"priority":1,"record_length":96,"hex_timestamp":"000001a0716be2f8"} 
[2026-09-05 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-09-05 17:29: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-09-05 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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-05 17:29: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-09-05 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-09-05 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-09-05 17:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883975680001,"66":27832,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889676288},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883975680001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:29:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:29:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889676288,"description":"Unknown IO ID 45"} 
[2026-09-05 17:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883975680001,"power":27832,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889676288}} 
[2026-09-05 17:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":172050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:29:02] local.INFO: GPS data processed {"connection_id":172050,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:29:02] local.INFO: Acknowledgment sent {"connection_id":172050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:29:33] local.INFO: TCP Data received {"connection_id":172050,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0716be2f8012d7b864005f5f250000600f629..."} 
[2026-09-05 17:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0716be2f8012d7b864005f5f250000600f629..."} 
[2026-09-05 17:29:33] local.INFO: Processing buffer {"connection_id":172050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0716be2f8012d7b864005f5f250000600f629..."} 
[2026-09-05 17:29:33] local.INFO: Packet analysis {"connection_id":172050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0716b"} 
[2026-09-05 17:29:33] local.INFO: Extracted packet for processing {"connection_id":172050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0716b"} 
[2026-09-05 17:29:33] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":100004432,"longitude_deg":76.3070016,"latitude_deg":10.0004432,"altitude":6,"angle":246,"satellites":41,"speed":0,"hex_longitude":"2d7b8640","hex_latitude":"05f5f250","is_valid_coordinates":true} 
[2026-09-05 17:29: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-09-05 17:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883975680001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889676288,"note":"Value kept but may cause issues"} 
[2026-09-05 17:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788609291000,"timestamp_ms":1788609291000,"timestamp_seconds":1788609291,"priority":1,"record_length":96,"hex_timestamp":"000001a0716be2f8"} 
[2026-09-05 17:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:29: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-09-05 17:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-05 17:29:33] 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-09-05 17: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-09-05 17:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883975680001,"66":27832,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889676288},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883975680001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:29:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:29:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889676288,"description":"Unknown IO ID 45"} 
[2026-09-05 17:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883975680001,"power":27832,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889676288}} 
[2026-09-05 17:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":172050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:29:33] local.INFO: GPS data processed {"connection_id":172050,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:29:33] local.INFO: Acknowledgment sent {"connection_id":172050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:29:56] local.INFO: TCP Data received {"connection_id":173158,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:29:56] local.INFO: Processing buffer {"connection_id":173158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:29:56] local.INFO: IMEI packet received {"connection_id":173158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":173158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:30:01] local.INFO: TCP Data received {"connection_id":173158,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:30:01] local.INFO: Processing buffer {"connection_id":173158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:30:01] local.INFO: IMEI packet received {"connection_id":173158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":173158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:30:02] local.INFO: TCP Data received {"connection_id":173158,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0716be2f8012d7b864005f5f250000600f629..."} 
[2026-09-05 17:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0716be2f8012d7b864005f5f250000600f629..."} 
[2026-09-05 17:30:02] local.INFO: Processing buffer {"connection_id":173158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0716be2f8012d7b864005f5f250000600f629..."} 
[2026-09-05 17:30:02] local.INFO: Packet analysis {"connection_id":173158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0716b"} 
[2026-09-05 17:30:02] local.INFO: Extracted packet for processing {"connection_id":173158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0716b"} 
[2026-09-05 17:30:02] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":100004432,"longitude_deg":76.3070016,"latitude_deg":10.0004432,"altitude":6,"angle":246,"satellites":41,"speed":0,"hex_longitude":"2d7b8640","hex_latitude":"05f5f250","is_valid_coordinates":true} 
[2026-09-05 17:30: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-09-05 17:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883975680001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889676288,"note":"Value kept but may cause issues"} 
[2026-09-05 17:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788609291000,"timestamp_ms":1788609291000,"timestamp_seconds":1788609291,"priority":1,"record_length":96,"hex_timestamp":"000001a0716be2f8"} 
[2026-09-05 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-09-05 17:30: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-09-05 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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-05 17:30: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-09-05 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-09-05 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-09-05 17:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883975680001,"66":27832,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889676288},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883975680001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:30:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:30:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889676288,"description":"Unknown IO ID 45"} 
[2026-09-05 17:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883975680001,"power":27832,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889676288}} 
[2026-09-05 17:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":173158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:30:02] local.INFO: GPS data processed {"connection_id":173158,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:30:02] local.INFO: Acknowledgment sent {"connection_id":173158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:30:33] local.INFO: TCP Data received {"connection_id":173158,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071708290012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071708290012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:30:33] local.INFO: Processing buffer {"connection_id":173158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071708290012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:30:33] local.INFO: Packet analysis {"connection_id":173158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07170"} 
[2026-09-05 17:30:33] local.INFO: Extracted packet for processing {"connection_id":173158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07170"} 
[2026-09-05 17:30:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883978496001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889676288,"note":"Value kept but may cause issues"} 
[2026-09-05 17:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788609594000,"timestamp_ms":1788609594000,"timestamp_seconds":1788609594,"priority":1,"record_length":96,"hex_timestamp":"000001a071708290"} 
[2026-09-05 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-09-05 17:30: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-09-05 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 17:30:33] 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-09-05 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-09-05 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-09-05 17:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883978496001,"66":25832,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889676288},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883978496001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:30:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:30:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889676288,"description":"Unknown IO ID 45"} 
[2026-09-05 17:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883978496001,"power":25832,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889676288}} 
[2026-09-05 17:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":173158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:30:33] local.INFO: GPS data processed {"connection_id":173158,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:30:33] local.INFO: Acknowledgment sent {"connection_id":173158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:30:55] local.INFO: TCP Data received {"connection_id":174483,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:30:55] local.INFO: Processing buffer {"connection_id":174483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:30:55] local.INFO: IMEI packet received {"connection_id":174483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":174483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:31:01] local.INFO: TCP Data received {"connection_id":174483,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:31:01] local.INFO: Processing buffer {"connection_id":174483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:31:01] local.INFO: IMEI packet received {"connection_id":174483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":174483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:31:02] local.INFO: TCP Data received {"connection_id":172051,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:31:02] local.INFO: Processing buffer {"connection_id":172051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:31:02] local.INFO: IMEI packet received {"connection_id":172051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":172051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:31:02] local.INFO: TCP Data received {"connection_id":172051,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07170c110012d195b400720a0f0002100d11f..."} 
[2026-09-05 17:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07170c110012d195b400720a0f0002100d11f..."} 
[2026-09-05 17:31:02] local.INFO: Processing buffer {"connection_id":172051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07170c110012d195b400720a0f0002100d11f..."} 
[2026-09-05 17:31:02] local.INFO: Packet analysis {"connection_id":172051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07170"} 
[2026-09-05 17:31:02] local.INFO: Extracted packet for processing {"connection_id":172051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07170"} 
[2026-09-05 17:31:02] local.INFO: GPS Element Parsed {"raw_longitude":756636480,"raw_latitude":119578864,"longitude_deg":75.663648,"latitude_deg":11.9578864,"altitude":33,"angle":209,"satellites":31,"speed":11,"hex_longitude":"2d195b40","hex_latitude":"0720a0f0","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884059392001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18030216874033152,"note":"Value kept but may cause issues"} 
[2026-09-05 17:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827265210673815552,"note":"Value kept but may cause issues"} 
[2026-09-05 17:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788609610000,"timestamp_ms":1788609610000,"timestamp_seconds":1788609610,"priority":1,"record_length":96,"hex_timestamp":"000001a07170c110"} 
[2026-09-05 17:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-05 17:31:02] 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-09-05 17: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-09-05 17:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884059392001,"66":14243,"103":206,"83":41984,"24":11,"16":18030216874033152,"45":1827265210673815552},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 17:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884059392001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:31:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 17:31:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18030216874033152,"km_value":18030216874033.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827265210673815552,"description":"Unknown IO ID 45"} 
[2026-09-05 17:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884059392001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1827265210673815552}} 
[2026-09-05 17:31:02] local.INFO: TCP Data received {"connection_id":174483,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a071708290012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071708290012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:31:02] local.INFO: Processing buffer {"connection_id":174483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071708290012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:31:02] local.INFO: Packet analysis {"connection_id":174483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07170"} 
[2026-09-05 17:31:02] local.INFO: Extracted packet for processing {"connection_id":174483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07170"} 
[2026-09-05 17:31:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883978496001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889676288,"note":"Value kept but may cause issues"} 
[2026-09-05 17:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788609594000,"timestamp_ms":1788609594000,"timestamp_seconds":1788609594,"priority":1,"record_length":96,"hex_timestamp":"000001a071708290"} 
[2026-09-05 17:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:31:02] 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-09-05 17: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 17:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883978496001,"66":25832,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889676288},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883978496001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:31:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:31:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889676288,"description":"Unknown IO ID 45"} 
[2026-09-05 17:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883978496001,"power":25832,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889676288}} 
[2026-09-05 17:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":174483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:31:02] local.INFO: GPS data processed {"connection_id":174483,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:31:02] local.INFO: Acknowledgment sent {"connection_id":174483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":172051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:31:02] local.INFO: GPS data processed {"connection_id":172051,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:31:02] local.INFO: Acknowledgment sent {"connection_id":172051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:31:12] local.INFO: TCP Data received {"connection_id":171775,"ip":"117.224.210.205","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:31:12] local.INFO: Processing buffer {"connection_id":171775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:31:12] local.INFO: IMEI packet received {"connection_id":171775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 17:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":171775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:31:17] local.INFO: TCP Data received {"connection_id":171775,"ip":"117.224.210.205","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:31:17] local.INFO: Processing buffer {"connection_id":171775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:31:17] local.INFO: IMEI packet received {"connection_id":171775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 17:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":171775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:31:21] local.INFO: TCP Data received {"connection_id":171775,"ip":"117.224.210.205","data_length":795,"data_hex":"000000000000030f8e0a000001a0716f32a0012c5999000897fcf0000500392f..."} 
[2026-09-05 17:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0716f32a0012c5999000897fcf0000500392f..."} 
[2026-09-05 17:31:21] local.INFO: Processing buffer {"connection_id":171775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0716f32a0012c5999000897fcf0000500392f..."} 
[2026-09-05 17:31:21] local.INFO: Packet analysis {"connection_id":171775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0716f"} 
[2026-09-05 17:31:21] local.INFO: Extracted packet for processing {"connection_id":171775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0716f"} 
[2026-09-05 17:31:21] local.INFO: GPS Element Parsed {"raw_longitude":744069376,"raw_latitude":144178416,"longitude_deg":74.4069376,"latitude_deg":14.4178416,"altitude":5,"angle":57,"satellites":47,"speed":26,"hex_longitude":"2c599900","hex_latitude":"0897fcf0","is_valid_coordinates":true} 
[2026-09-05 17:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884030464001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1501168379363328,"note":"Value kept but may cause issues"} 
[2026-09-05 17:31:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6447465853442650112,"note":"Value kept but may cause issues"} 
[2026-09-05 17:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,195,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788609508000,"timestamp_ms":1788609508000,"timestamp_seconds":1788609508,"priority":1,"record_length":96,"hex_timestamp":"000001a0716f32a0"} 
[2026-09-05 17:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:31: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-09-05 17:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-05 17:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:31:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.210.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 17:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 17:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884030464001,"66":28224,"241":206,"195":22272,"24":26,"16":1501168379363328,"44":6447465853442650112},"client_ip":"117.224.210.205","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,195,24,16,44]} 
[2026-09-05 17:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 17:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 17:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884030464001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:31:21] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-05 17:31:21] local.INFO: Unknown IO ID detected {"io_id":195,"value":22272,"description":"Unknown IO ID 195"} 
[2026-09-05 17:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1501168379363328,"km_value":1501168379363.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:31:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":6447465853442650112,"description":"Unknown IO ID 44"} 
[2026-09-05 17:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884030464001,"power":28224,"unknown_241":206,"unknown_195":22272,"ignition":26,"odometer":null,"unknown_44":6447465853442650112}} 
[2026-09-05 17:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":171775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770210,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:31:21] local.INFO: GPS data processed {"connection_id":171775,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:31:21] local.INFO: Acknowledgment sent {"connection_id":171775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:31:34] local.INFO: TCP Data received {"connection_id":174483,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a071708290012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071708290012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:31:34] local.INFO: Processing buffer {"connection_id":174483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071708290012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:31:34] local.INFO: Packet analysis {"connection_id":174483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07170"} 
[2026-09-05 17:31:34] local.INFO: Extracted packet for processing {"connection_id":174483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07170"} 
[2026-09-05 17:31:34] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883978496001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889676288,"note":"Value kept but may cause issues"} 
[2026-09-05 17:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788609594000,"timestamp_ms":1788609594000,"timestamp_seconds":1788609594,"priority":1,"record_length":96,"hex_timestamp":"000001a071708290"} 
[2026-09-05 17:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:31: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-09-05 17:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 17:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883978496001,"66":25832,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889676288},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883978496001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:31:34] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:31:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889676288,"description":"Unknown IO ID 45"} 
[2026-09-05 17:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883978496001,"power":25832,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889676288}} 
[2026-09-05 17:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":174483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:31:34] local.INFO: GPS data processed {"connection_id":174483,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:31:34] local.INFO: Acknowledgment sent {"connection_id":174483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:31:45] local.INFO: TCP Data received {"connection_id":172052,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:31:45] local.INFO: Processing buffer {"connection_id":172052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:31:45] local.INFO: IMEI packet received {"connection_id":172052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":172052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:31:46] local.INFO: TCP Data received {"connection_id":172052,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:31:46] local.INFO: Processing buffer {"connection_id":172052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:31:46] local.INFO: IMEI packet received {"connection_id":172052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":172052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:31:47] local.INFO: TCP Data received {"connection_id":172052,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:31:47] local.INFO: Processing buffer {"connection_id":172052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:31:47] local.INFO: IMEI packet received {"connection_id":172052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":172052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:31:49] local.INFO: TCP Data received {"connection_id":171776,"ip":"117.224.210.205","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171776,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:31:49] local.INFO: Processing buffer {"connection_id":171776,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:31:49] local.INFO: IMEI packet received {"connection_id":171776,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 17:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":171776,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:31:50] local.INFO: TCP Data received {"connection_id":172052,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:31:50] local.INFO: Processing buffer {"connection_id":172052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:31:50] local.INFO: IMEI packet received {"connection_id":172052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":172052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:31:50] local.INFO: TCP Data received {"connection_id":172052,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071711ae8012d19568007208ea0001e009521..."} 
[2026-09-05 17:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071711ae8012d19568007208ea0001e009521..."} 
[2026-09-05 17:31:50] local.INFO: Processing buffer {"connection_id":172052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071711ae8012d19568007208ea0001e009521..."} 
[2026-09-05 17:31:50] local.INFO: Packet analysis {"connection_id":172052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07171"} 
[2026-09-05 17:31:50] local.INFO: Extracted packet for processing {"connection_id":172052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07171"} 
[2026-09-05 17:31:50] local.INFO: GPS Element Parsed {"raw_longitude":756635264,"raw_latitude":119574176,"longitude_deg":75.6635264,"latitude_deg":11.9574176,"altitude":30,"angle":149,"satellites":33,"speed":8,"hex_longitude":"2d195680","hex_latitude":"07208ea0","is_valid_coordinates":true} 
[2026-09-05 17:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884065280001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18030556176449536,"note":"Value kept but may cause issues"} 
[2026-09-05 17:31:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825365254579736576,"note":"Value kept but may cause issues"} 
[2026-09-05 17:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788609633000,"timestamp_ms":1788609633000,"timestamp_seconds":1788609633,"priority":1,"record_length":96,"hex_timestamp":"000001a071711ae8"} 
[2026-09-05 17:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-05 17:31:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:31:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:31:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884065280001,"66":14428,"103":206,"83":41984,"24":8,"16":18030556176449536,"45":1825365254579736576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 17:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884065280001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:31:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 17:31:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18030556176449536,"km_value":18030556176449.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:31:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825365254579736576,"description":"Unknown IO ID 45"} 
[2026-09-05 17:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884065280001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1825365254579736576}} 
[2026-09-05 17:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":172052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:31:51] local.INFO: GPS data processed {"connection_id":172052,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:31:51] local.INFO: Acknowledgment sent {"connection_id":172052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:31:52] local.INFO: TCP Data received {"connection_id":171776,"ip":"117.224.210.205","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171776,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:31:52] local.INFO: Processing buffer {"connection_id":171776,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:31:52] local.INFO: IMEI packet received {"connection_id":171776,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 17:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":171776,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:31:55] local.INFO: TCP Data received {"connection_id":172052,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0717122b8012d19578007208e20001f008622..."} 
[2026-09-05 17:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717122b8012d19578007208e20001f008622..."} 
[2026-09-05 17:31:55] local.INFO: Processing buffer {"connection_id":172052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717122b8012d19578007208e20001f008622..."} 
[2026-09-05 17:31:55] local.INFO: Packet analysis {"connection_id":172052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07171"} 
[2026-09-05 17:31:55] local.INFO: Extracted packet for processing {"connection_id":172052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07171"} 
[2026-09-05 17:31:55] local.INFO: GPS Element Parsed {"raw_longitude":756635520,"raw_latitude":119574048,"longitude_deg":75.663552,"latitude_deg":11.9574048,"altitude":31,"angle":134,"satellites":34,"speed":7,"hex_longitude":"2d195780","hex_latitude":"07208e20","is_valid_coordinates":true} 
[2026-09-05 17:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884066048001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18030569061351424,"note":"Value kept but may cause issues"} 
[2026-09-05 17:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825787467044659200,"note":"Value kept but may cause issues"} 
[2026-09-05 17:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788609635000,"timestamp_ms":1788609635000,"timestamp_seconds":1788609635,"priority":1,"record_length":96,"hex_timestamp":"000001a0717122b8"} 
[2026-09-05 17:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 17:31:55] 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-09-05 17:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884066048001,"66":14243,"103":206,"83":41984,"24":7,"16":18030569061351424,"45":1825787467044659200},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 17:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884066048001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:31:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 17:31:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18030569061351424,"km_value":18030569061351.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825787467044659200,"description":"Unknown IO ID 45"} 
[2026-09-05 17:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884066048001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1825787467044659200}} 
[2026-09-05 17:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":172052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:31:55] local.INFO: GPS data processed {"connection_id":172052,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:31:55] local.INFO: Acknowledgment sent {"connection_id":172052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:32:01] local.INFO: TCP Data received {"connection_id":173159,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:32:01] local.INFO: Processing buffer {"connection_id":173159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:32:01] local.INFO: IMEI packet received {"connection_id":173159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":173159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:32:04] local.INFO: TCP Data received {"connection_id":171776,"ip":"117.224.210.205","data_length":795,"data_hex":"000000000000030f8e0a000001a071713640012c5aa20008984100001400702d..."} 
[2026-09-05 17:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071713640012c5aa20008984100001400702d..."} 
[2026-09-05 17:32:04] local.INFO: Processing buffer {"connection_id":171776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071713640012c5aa20008984100001400702d..."} 
[2026-09-05 17:32:04] local.INFO: Packet analysis {"connection_id":171776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07171"} 
[2026-09-05 17:32:04] local.INFO: Extracted packet for processing {"connection_id":171776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07171"} 
[2026-09-05 17:32:04] local.INFO: GPS Element Parsed {"raw_longitude":744137216,"raw_latitude":144195840,"longitude_deg":74.4137216,"latitude_deg":14.419584,"altitude":20,"angle":112,"satellites":45,"speed":17,"hex_longitude":"2c5aa200","hex_latitude":"08984100","is_valid_coordinates":true} 
[2026-09-05 17:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884067840001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1503762539610112,"note":"Value kept but may cause issues"} 
[2026-09-05 17:32:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6530782446554775552,"note":"Value kept but may cause issues"} 
[2026-09-05 17:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788609640000,"timestamp_ms":1788609640000,"timestamp_seconds":1788609640,"priority":1,"record_length":96,"hex_timestamp":"000001a071713640"} 
[2026-09-05 17:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:32: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-09-05 17:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 17:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171776,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171776,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.210.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 17:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 17:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884067840001,"66":28050,"152":206,"9":56064,"24":17,"16":1503762539610112,"44":6530782446554775552},"client_ip":"117.224.210.205","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,9,24,16,44]} 
[2026-09-05 17:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 17:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 17:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884067840001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:32:04] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-05 17:32:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 17:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1503762539610112,"km_value":1503762539610.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:32:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":6530782446554775552,"description":"Unknown IO ID 44"} 
[2026-09-05 17:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884067840001,"power":28050,"unknown_152":206,"unknown_9":56064,"ignition":17,"odometer":null,"unknown_44":6530782446554775552}} 
[2026-09-05 17:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":171776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770214,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:32:04] local.INFO: GPS data processed {"connection_id":171776,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:32:04] local.INFO: Acknowledgment sent {"connection_id":171776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:32:06] local.INFO: TCP Data received {"connection_id":173159,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:32:06] local.INFO: Processing buffer {"connection_id":173159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:32:06] local.INFO: IMEI packet received {"connection_id":173159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":173159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:32:07] local.INFO: TCP Data received {"connection_id":173159,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071708290012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071708290012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:32:07] local.INFO: Processing buffer {"connection_id":173159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071708290012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:32:07] local.INFO: Packet analysis {"connection_id":173159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07170"} 
[2026-09-05 17:32:07] local.INFO: Extracted packet for processing {"connection_id":173159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07170"} 
[2026-09-05 17:32:07] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883978496001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889676288,"note":"Value kept but may cause issues"} 
[2026-09-05 17:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788609594000,"timestamp_ms":1788609594000,"timestamp_seconds":1788609594,"priority":1,"record_length":96,"hex_timestamp":"000001a071708290"} 
[2026-09-05 17:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:32: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-09-05 17:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 17:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883978496001,"66":25832,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889676288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883978496001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:32:07] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:32:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889676288,"description":"Unknown IO ID 45"} 
[2026-09-05 17:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883978496001,"power":25832,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889676288}} 
[2026-09-05 17:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":173159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:32:07] local.INFO: GPS data processed {"connection_id":173159,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:32:07] local.INFO: Acknowledgment sent {"connection_id":173159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:32:11] local.INFO: TCP Data received {"connection_id":173159,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071708290012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071708290012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:32:11] local.INFO: Processing buffer {"connection_id":173159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071708290012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:32:11] local.INFO: Packet analysis {"connection_id":173159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07170"} 
[2026-09-05 17:32:11] local.INFO: Extracted packet for processing {"connection_id":173159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07170"} 
[2026-09-05 17:32:11] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883978496001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889676288,"note":"Value kept but may cause issues"} 
[2026-09-05 17:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788609594000,"timestamp_ms":1788609594000,"timestamp_seconds":1788609594,"priority":1,"record_length":96,"hex_timestamp":"000001a071708290"} 
[2026-09-05 17:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:32: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-09-05 17:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 17:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883978496001,"66":25832,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889676288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883978496001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:32:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:32:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889676288,"description":"Unknown IO ID 45"} 
[2026-09-05 17:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883978496001,"power":25832,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889676288}} 
[2026-09-05 17:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":173159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:32:11] local.INFO: GPS data processed {"connection_id":173159,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:32:11] local.INFO: Acknowledgment sent {"connection_id":173159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:32:26] local.INFO: TCP Data received {"connection_id":172052,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0717141f8012d195d4007208800001f009423..."} 
[2026-09-05 17:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717141f8012d195d4007208800001f009423..."} 
[2026-09-05 17:32:26] local.INFO: Processing buffer {"connection_id":172052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717141f8012d195d4007208800001f009423..."} 
[2026-09-05 17:32:26] local.INFO: Packet analysis {"connection_id":172052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07171"} 
[2026-09-05 17:32:26] local.INFO: Extracted packet for processing {"connection_id":172052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07171"} 
[2026-09-05 17:32:26] local.INFO: GPS Element Parsed {"raw_longitude":756636992,"raw_latitude":119572480,"longitude_deg":75.6636992,"latitude_deg":11.957248,"altitude":31,"angle":148,"satellites":35,"speed":13,"hex_longitude":"2d195d40","hex_latitude":"07208800","is_valid_coordinates":true} 
[2026-09-05 17:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884066560001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18030676435533824,"note":"Value kept but may cause issues"} 
[2026-09-05 17:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826068942021337088,"note":"Value kept but may cause issues"} 
[2026-09-05 17:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788609643000,"timestamp_ms":1788609643000,"timestamp_seconds":1788609643,"priority":1,"record_length":96,"hex_timestamp":"000001a0717141f8"} 
[2026-09-05 17:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:32:26] 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-09-05 17:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-05 17:32:26] 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-09-05 17:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884066560001,"66":14396,"103":206,"83":41984,"24":13,"16":18030676435533824,"45":1826068942021337088},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 17:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884066560001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:32:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 17:32:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18030676435533824,"km_value":18030676435533.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826068942021337088,"description":"Unknown IO ID 45"} 
[2026-09-05 17:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884066560001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1826068942021337088}} 
[2026-09-05 17:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":172052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:32:26] local.INFO: GPS data processed {"connection_id":172052,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:32:26] local.INFO: Acknowledgment sent {"connection_id":172052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:32:44] local.INFO: TCP Data received {"connection_id":172053,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:32:44] local.INFO: Processing buffer {"connection_id":172053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:32:44] local.INFO: IMEI packet received {"connection_id":172053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":172053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:32:47] local.INFO: TCP Data received {"connection_id":171777,"ip":"117.224.210.205","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:32:47] local.INFO: Processing buffer {"connection_id":171777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:32:47] local.INFO: IMEI packet received {"connection_id":171777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 17:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":171777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:32:47] local.INFO: TCP Data received {"connection_id":172053,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:32:47] local.INFO: Processing buffer {"connection_id":172053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:32:47] local.INFO: IMEI packet received {"connection_id":172053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":172053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:32:49] local.INFO: TCP Data received {"connection_id":172053,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:32:49] local.INFO: Processing buffer {"connection_id":172053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:32:49] local.INFO: IMEI packet received {"connection_id":172053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":172053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:32:50] local.INFO: TCP Data received {"connection_id":172053,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0717272a8012d196d4007203568002200d720..."} 
[2026-09-05 17:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717272a8012d196d4007203568002200d720..."} 
[2026-09-05 17:32:50] local.INFO: Processing buffer {"connection_id":172053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717272a8012d196d4007203568002200d720..."} 
[2026-09-05 17:32:50] local.INFO: Packet analysis {"connection_id":172053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07172"} 
[2026-09-05 17:32:50] local.INFO: Extracted packet for processing {"connection_id":172053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07172"} 
[2026-09-05 17:32:50] local.INFO: GPS Element Parsed {"raw_longitude":756641088,"raw_latitude":119551336,"longitude_deg":75.6641088,"latitude_deg":11.9551336,"altitude":34,"angle":215,"satellites":32,"speed":11,"hex_longitude":"2d196d40","hex_latitude":"07203568","is_valid_coordinates":true} 
[2026-09-05 17:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884088320001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18031767357227008,"note":"Value kept but may cause issues"} 
[2026-09-05 17:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832402128991565824,"note":"Value kept but may cause issues"} 
[2026-09-05 17:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788609721000,"timestamp_ms":1788609721000,"timestamp_seconds":1788609721,"priority":1,"record_length":96,"hex_timestamp":"000001a0717272a8"} 
[2026-09-05 17:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-05 17:32:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:32:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884088320001,"66":13852,"103":206,"83":41984,"24":11,"16":18031767357227008,"45":1832402128991565824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 17:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884088320001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:32:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 17:32:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18031767357227008,"km_value":18031767357227.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832402128991565824,"description":"Unknown IO ID 45"} 
[2026-09-05 17:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884088320001,"power":13852,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1832402128991565824}} 
[2026-09-05 17:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":172053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:32:50] local.INFO: GPS data processed {"connection_id":172053,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:32:50] local.INFO: Acknowledgment sent {"connection_id":172053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:32:52] local.INFO: TCP Data received {"connection_id":171777,"ip":"117.224.210.205","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:32:52] local.INFO: Processing buffer {"connection_id":171777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:32:52] local.INFO: IMEI packet received {"connection_id":171777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 17:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":171777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:32:54] local.INFO: TCP Data received {"connection_id":171777,"ip":"117.224.210.205","data_length":795,"data_hex":"000000000000030f8e0a000001a0717218d00100000000000000000000000000..."} 
[2026-09-05 17:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717218d00100000000000000000000000000..."} 
[2026-09-05 17:32:54] local.INFO: Processing buffer {"connection_id":171777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717218d00100000000000000000000000000..."} 
[2026-09-05 17:32:54] local.INFO: Packet analysis {"connection_id":171777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07172"} 
[2026-09-05 17:32:54] local.INFO: Extracted packet for processing {"connection_id":171777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07172"} 
[2026-09-05 17:32:54] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884067840001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1503762539610112,"note":"Value kept but may cause issues"} 
[2026-09-05 17:32:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6530782446554775552,"note":"Value kept but may cause issues"} 
[2026-09-05 17:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788609698000,"timestamp_ms":1788609698000,"timestamp_seconds":1788609698,"priority":1,"record_length":96,"hex_timestamp":"000001a0717218d0"} 
[2026-09-05 17:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 17:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171777,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171777,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.210.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 17:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 17:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":171777,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 17:32:54] local.INFO: GPS data processed {"connection_id":171777,"processed":0,"errors":0,"total":1} 
[2026-09-05 17:32:54] local.INFO: Acknowledgment sent {"connection_id":171777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:32:56] local.INFO: TCP Data received {"connection_id":174484,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:32:56] local.INFO: Processing buffer {"connection_id":174484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:32:56] local.INFO: IMEI packet received {"connection_id":174484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":174484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:33:01] local.INFO: TCP Data received {"connection_id":174484,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:33:01] local.INFO: Processing buffer {"connection_id":174484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:33:01] local.INFO: IMEI packet received {"connection_id":174484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":174484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:33:02] local.INFO: TCP Data received {"connection_id":174484,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a071708290012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071708290012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:33:02] local.INFO: Processing buffer {"connection_id":174484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071708290012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:33:02] local.INFO: Packet analysis {"connection_id":174484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07170"} 
[2026-09-05 17:33:02] local.INFO: Extracted packet for processing {"connection_id":174484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07170"} 
[2026-09-05 17:33:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883978496001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889676288,"note":"Value kept but may cause issues"} 
[2026-09-05 17:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788609594000,"timestamp_ms":1788609594000,"timestamp_seconds":1788609594,"priority":1,"record_length":96,"hex_timestamp":"000001a071708290"} 
[2026-09-05 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-09-05 17:33:02] 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-09-05 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 17:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 17:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883978496001,"66":25832,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889676288},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883978496001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:33:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:33:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889676288,"description":"Unknown IO ID 45"} 
[2026-09-05 17:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883978496001,"power":25832,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889676288}} 
[2026-09-05 17:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":174484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:33:02] local.INFO: GPS data processed {"connection_id":174484,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:33:02] local.INFO: Acknowledgment sent {"connection_id":174484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:33:21] local.INFO: TCP Data received {"connection_id":172053,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071727690012d196c40072034b8002200e720..."} 
[2026-09-05 17:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071727690012d196c40072034b8002200e720..."} 
[2026-09-05 17:33:21] local.INFO: Processing buffer {"connection_id":172053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071727690012d196c40072034b8002200e720..."} 
[2026-09-05 17:33:21] local.INFO: Packet analysis {"connection_id":172053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07172"} 
[2026-09-05 17:33:21] local.INFO: Extracted packet for processing {"connection_id":172053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07172"} 
[2026-09-05 17:33:21] local.INFO: GPS Element Parsed {"raw_longitude":756640832,"raw_latitude":119551160,"longitude_deg":75.6640832,"latitude_deg":11.955116,"altitude":34,"angle":231,"satellites":32,"speed":12,"hex_longitude":"2d196c40","hex_latitude":"072034b8","is_valid_coordinates":true} 
[2026-09-05 17:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884088576001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18031780242128896,"note":"Value kept but may cause issues"} 
[2026-09-05 17:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832191022758979584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788609722000,"timestamp_ms":1788609722000,"timestamp_seconds":1788609722,"priority":1,"record_length":96,"hex_timestamp":"000001a071727690"} 
[2026-09-05 17:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:33: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-09-05 17:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-05 17:33:21] 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-09-05 17:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884088576001,"66":13852,"103":206,"83":41984,"24":12,"16":18031780242128896,"45":1832191022758979584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 17:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884088576001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:33:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 17:33:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18031780242128896,"km_value":18031780242128.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832191022758979584,"description":"Unknown IO ID 45"} 
[2026-09-05 17:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884088576001,"power":13852,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1832191022758979584}} 
[2026-09-05 17:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":172053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:33:22] local.INFO: GPS data processed {"connection_id":172053,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:33:22] local.INFO: Acknowledgment sent {"connection_id":172053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:33:28] local.INFO: TCP Data received {"connection_id":171777,"ip":"117.224.210.205","data_length":795,"data_hex":"000000000000030f8e0a000001a071719fb8012c5ad9c008984a00001b002e2b..."} 
[2026-09-05 17:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071719fb8012c5ad9c008984a00001b002e2b..."} 
[2026-09-05 17:33:28] local.INFO: Processing buffer {"connection_id":171777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071719fb8012c5ad9c008984a00001b002e2b..."} 
[2026-09-05 17:33:28] local.INFO: Packet analysis {"connection_id":171777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07171"} 
[2026-09-05 17:33:28] local.INFO: Extracted packet for processing {"connection_id":171777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07171"} 
[2026-09-05 17:33:28] local.INFO: GPS Element Parsed {"raw_longitude":744151488,"raw_latitude":144198144,"longitude_deg":74.4151488,"latitude_deg":14.4198144,"altitude":27,"angle":46,"satellites":43,"speed":24,"hex_longitude":"2c5ad9c0","hex_latitude":"08984a00","is_valid_coordinates":true} 
[2026-09-05 17:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1503762539610112,"note":"Value kept but may cause issues"} 
[2026-09-05 17:33:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,152,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 17:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788609667000,"timestamp_ms":1788609667000,"timestamp_seconds":1788609667,"priority":1,"record_length":96,"hex_timestamp":"000001a071719fb8"} 
[2026-09-05 17:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-05 17:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":171777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":171777,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":171777,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.210.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 17:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 17:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28224,"152":206,"9":56064,"24":24,"16":1503762539610112},"client_ip":"117.224.210.205","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,9,24,16]} 
[2026-09-05 17:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 17:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 17:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-05 17:33:28] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-05 17:33:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 17:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1503762539610112,"km_value":1503762539610.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:33:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28224,"unknown_152":206,"unknown_9":56064,"ignition":24,"odometer":null}} 
[2026-09-05 17:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":171777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770221,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:33:28] local.INFO: GPS data processed {"connection_id":171777,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:33:28] local.INFO: Acknowledgment sent {"connection_id":171777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:33:34] local.INFO: TCP Data received {"connection_id":174484,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a071708290012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071708290012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:33:34] local.INFO: Processing buffer {"connection_id":174484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071708290012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:33:34] local.INFO: Packet analysis {"connection_id":174484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07170"} 
[2026-09-05 17:33:34] local.INFO: Extracted packet for processing {"connection_id":174484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07170"} 
[2026-09-05 17:33:34] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883978496001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889676288,"note":"Value kept but may cause issues"} 
[2026-09-05 17:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788609594000,"timestamp_ms":1788609594000,"timestamp_seconds":1788609594,"priority":1,"record_length":96,"hex_timestamp":"000001a071708290"} 
[2026-09-05 17:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:33: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-09-05 17:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 17:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883978496001,"66":25832,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889676288},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883978496001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:33:34] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:33:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889676288,"description":"Unknown IO ID 45"} 
[2026-09-05 17:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883978496001,"power":25832,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889676288}} 
[2026-09-05 17:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":174484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:33:34] local.INFO: GPS data processed {"connection_id":174484,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:33:34] local.INFO: Acknowledgment sent {"connection_id":174484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:33:44] local.INFO: TCP Data received {"connection_id":173160,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:33:44] local.INFO: Processing buffer {"connection_id":173160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:33:44] local.INFO: IMEI packet received {"connection_id":173160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":173160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:33:49] local.INFO: TCP Data received {"connection_id":173160,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:33:49] local.INFO: Processing buffer {"connection_id":173160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:33:49] local.INFO: IMEI packet received {"connection_id":173160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":173160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:33:50] local.INFO: TCP Data received {"connection_id":173160,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071727e60012d196a00072033a0002200f220..."} 
[2026-09-05 17:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071727e60012d196a00072033a0002200f220..."} 
[2026-09-05 17:33:50] local.INFO: Processing buffer {"connection_id":173160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071727e60012d196a00072033a0002200f220..."} 
[2026-09-05 17:33:50] local.INFO: Packet analysis {"connection_id":173160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07172"} 
[2026-09-05 17:33:50] local.INFO: Extracted packet for processing {"connection_id":173160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07172"} 
[2026-09-05 17:33:50] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119550880,"longitude_deg":75.6640256,"latitude_deg":11.955088,"altitude":34,"angle":242,"satellites":32,"speed":13,"hex_longitude":"2d196a00","hex_latitude":"072033a0","is_valid_coordinates":true} 
[2026-09-05 17:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884088832001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18031810306899968,"note":"Value kept but may cause issues"} 
[2026-09-05 17:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831909547782223872,"note":"Value kept but may cause issues"} 
[2026-09-05 17:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788609724000,"timestamp_ms":1788609724000,"timestamp_seconds":1788609724,"priority":1,"record_length":96,"hex_timestamp":"000001a071727e60"} 
[2026-09-05 17:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-05 17:33: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-09-05 17:33:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884088832001,"66":13972,"103":206,"83":41984,"24":13,"16":18031810306899968,"45":1831909547782223872},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 17:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884088832001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:33:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 17:33:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18031810306899968,"km_value":18031810306899.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831909547782223872,"description":"Unknown IO ID 45"} 
[2026-09-05 17:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884088832001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1831909547782223872}} 
[2026-09-05 17:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":173160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:33:50] local.INFO: GPS data processed {"connection_id":173160,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:33:50] local.INFO: Acknowledgment sent {"connection_id":173160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:33:51] local.INFO: TCP Data received {"connection_id":171778,"ip":"117.224.210.205","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:33:51] local.INFO: Processing buffer {"connection_id":171778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:33:51] local.INFO: IMEI packet received {"connection_id":171778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 17:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":171778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:33:52] local.INFO: TCP Data received {"connection_id":171778,"ip":"117.224.210.205","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:33:52] local.INFO: Processing buffer {"connection_id":171778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:33:52] local.INFO: IMEI packet received {"connection_id":171778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 17:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":171778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:33:56] local.INFO: TCP Data received {"connection_id":171779,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:33:56] local.INFO: Processing buffer {"connection_id":171779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:33:56] local.INFO: IMEI packet received {"connection_id":171779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":171779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:33:57] local.INFO: TCP Data received {"connection_id":171778,"ip":"117.224.210.205","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:33:57] local.INFO: Processing buffer {"connection_id":171778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:33:57] local.INFO: IMEI packet received {"connection_id":171778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 17:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":171778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:33:58] local.INFO: TCP Data received {"connection_id":171778,"ip":"117.224.210.205","data_length":795,"data_hex":"000000000000030f8e0a000001a0717282480100000000000000000000000000..."} 
[2026-09-05 17:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717282480100000000000000000000000000..."} 
[2026-09-05 17:33:58] local.INFO: Processing buffer {"connection_id":171778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717282480100000000000000000000000000..."} 
[2026-09-05 17:33:58] local.INFO: Packet analysis {"connection_id":171778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07172"} 
[2026-09-05 17:33:58] local.INFO: Extracted packet for processing {"connection_id":171778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07172"} 
[2026-09-05 17:33:58] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 17:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884074752001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1503762539610112,"note":"Value kept but may cause issues"} 
[2026-09-05 17:33:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6546474676506984448,"note":"Value kept but may cause issues"} 
[2026-09-05 17:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788609725000,"timestamp_ms":1788609725000,"timestamp_seconds":1788609725,"priority":1,"record_length":96,"hex_timestamp":"000001a071728248"} 
[2026-09-05 17:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-05 17:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.210.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 17:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 17:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":171778,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 17:33:58] local.INFO: GPS data processed {"connection_id":171778,"processed":0,"errors":0,"total":1} 
[2026-09-05 17:33:58] local.INFO: Acknowledgment sent {"connection_id":171778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:34:01] local.INFO: TCP Data received {"connection_id":171779,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:34:01] local.INFO: Processing buffer {"connection_id":171779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:34:01] local.INFO: IMEI packet received {"connection_id":171779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":171779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:34:02] local.INFO: TCP Data received {"connection_id":171779,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071708290012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071708290012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:34:02] local.INFO: Processing buffer {"connection_id":171779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071708290012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:34:02] local.INFO: Packet analysis {"connection_id":171779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07170"} 
[2026-09-05 17:34:02] local.INFO: Extracted packet for processing {"connection_id":171779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07170"} 
[2026-09-05 17:34:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883978496001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889676288,"note":"Value kept but may cause issues"} 
[2026-09-05 17:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788609594000,"timestamp_ms":1788609594000,"timestamp_seconds":1788609594,"priority":1,"record_length":96,"hex_timestamp":"000001a071708290"} 
[2026-09-05 17:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:34:02] 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-09-05 17:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 17:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883978496001,"66":25832,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889676288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883978496001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:34:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:34:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889676288,"description":"Unknown IO ID 45"} 
[2026-09-05 17:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883978496001,"power":25832,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889676288}} 
[2026-09-05 17:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":171779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:34:02] local.INFO: GPS data processed {"connection_id":171779,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:34:02] local.INFO: Acknowledgment sent {"connection_id":171779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:34:03] local.INFO: TCP Data received {"connection_id":171778,"ip":"117.224.210.205","data_length":795,"data_hex":"000000000000030f8e0a000001a0717243c8012c5af1400898a320001900022e..."} 
[2026-09-05 17:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717243c8012c5af1400898a320001900022e..."} 
[2026-09-05 17:34:03] local.INFO: Processing buffer {"connection_id":171778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717243c8012c5af1400898a320001900022e..."} 
[2026-09-05 17:34:03] local.INFO: Packet analysis {"connection_id":171778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07172"} 
[2026-09-05 17:34:03] local.INFO: Extracted packet for processing {"connection_id":171778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07172"} 
[2026-09-05 17:34:03] local.INFO: GPS Element Parsed {"raw_longitude":744157504,"raw_latitude":144220960,"longitude_deg":74.4157504,"latitude_deg":14.422096,"altitude":25,"angle":2,"satellites":46,"speed":18,"hex_longitude":"2c5af140","hex_latitude":"0898a320","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1504170561503232,"note":"Value kept but may cause issues"} 
[2026-09-05 17:34:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,152,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 17:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788609709000,"timestamp_ms":1788609709000,"timestamp_seconds":1788609709,"priority":1,"record_length":96,"hex_timestamp":"000001a0717243c8"} 
[2026-09-05 17:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:34: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-05 17:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":171778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":171778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":171778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.210.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 17:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 17:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28137,"152":206,"9":56064,"24":18,"16":1504170561503232},"client_ip":"117.224.210.205","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,9,24,16]} 
[2026-09-05 17:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 17:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 17:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-05 17:34:03] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-05 17:34:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 17:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1504170561503232,"km_value":1504170561503.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:34:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28137,"unknown_152":206,"unknown_9":56064,"ignition":18,"odometer":null}} 
[2026-09-05 17:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":171778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770225,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:34:03] local.INFO: GPS data processed {"connection_id":171778,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:34:03] local.INFO: Acknowledgment sent {"connection_id":171778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:34:21] local.INFO: TCP Data received {"connection_id":173160,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071728e00012d19658007203228002200fe21..."} 
[2026-09-05 17:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071728e00012d19658007203228002200fe21..."} 
[2026-09-05 17:34:21] local.INFO: Processing buffer {"connection_id":173160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071728e00012d19658007203228002200fe21..."} 
[2026-09-05 17:34:21] local.INFO: Packet analysis {"connection_id":173160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07172"} 
[2026-09-05 17:34:21] local.INFO: Extracted packet for processing {"connection_id":173160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07172"} 
[2026-09-05 17:34:21] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119550504,"longitude_deg":75.6639104,"latitude_deg":11.9550504,"altitude":34,"angle":254,"satellites":33,"speed":9,"hex_longitude":"2d196580","hex_latitude":"07203228","is_valid_coordinates":true} 
[2026-09-05 17:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884089344001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18031870436442112,"note":"Value kept but may cause issues"} 
[2026-09-05 17:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229084553216,"note":"Value kept but may cause issues"} 
[2026-09-05 17:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788609728000,"timestamp_ms":1788609728000,"timestamp_seconds":1788609728,"priority":1,"record_length":96,"hex_timestamp":"000001a071728e00"} 
[2026-09-05 17:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:34: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-09-05 17:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 17:34:21] 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-09-05 17:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884089344001,"66":13417,"103":206,"83":41984,"24":9,"16":18031870436442112,"45":1831276229084553216},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 17:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884089344001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:34:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 17:34:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18031870436442112,"km_value":18031870436442.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229084553216,"description":"Unknown IO ID 45"} 
[2026-09-05 17:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884089344001,"power":13417,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1831276229084553216}} 
[2026-09-05 17:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":173160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:34:21] local.INFO: GPS data processed {"connection_id":173160,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:34:21] local.INFO: Acknowledgment sent {"connection_id":173160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:34:33] local.INFO: TCP Data received {"connection_id":171779,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071708290012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071708290012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:34:33] local.INFO: Processing buffer {"connection_id":171779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071708290012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:34:33] local.INFO: Packet analysis {"connection_id":171779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07170"} 
[2026-09-05 17:34:33] local.INFO: Extracted packet for processing {"connection_id":171779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07170"} 
[2026-09-05 17:34:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883978496001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889676288,"note":"Value kept but may cause issues"} 
[2026-09-05 17:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788609594000,"timestamp_ms":1788609594000,"timestamp_seconds":1788609594,"priority":1,"record_length":96,"hex_timestamp":"000001a071708290"} 
[2026-09-05 17:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:34: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-09-05 17: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 17:34:33] 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-09-05 17: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-09-05 17:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883978496001,"66":25832,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889676288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883978496001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:34:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:34:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889676288,"description":"Unknown IO ID 45"} 
[2026-09-05 17:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883978496001,"power":25832,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889676288}} 
[2026-09-05 17:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":171779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:34:33] local.INFO: GPS data processed {"connection_id":171779,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:34:33] local.INFO: Acknowledgment sent {"connection_id":171779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:34:47] local.INFO: TCP Data received {"connection_id":172054,"ip":"117.224.210.205","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172054,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:34:47] local.INFO: Processing buffer {"connection_id":172054,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:34:47] local.INFO: IMEI packet received {"connection_id":172054,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 17:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":172054,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:34:49] local.INFO: TCP Data received {"connection_id":174485,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:34:49] local.INFO: Processing buffer {"connection_id":174485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:34:49] local.INFO: IMEI packet received {"connection_id":174485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":174485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:34:50] local.INFO: TCP Data received {"connection_id":172054,"ip":"117.224.210.205","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172054,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:34:50] local.INFO: Processing buffer {"connection_id":172054,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:34:50] local.INFO: IMEI packet received {"connection_id":172054,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 17:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":172054,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:34:52] local.INFO: TCP Data received {"connection_id":172054,"ip":"117.224.210.205","data_length":795,"data_hex":"000000000000030f8e0a000001a071727690012c5af4400898b7a00019000e30..."} 
[2026-09-05 17:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071727690012c5af4400898b7a00019000e30..."} 
[2026-09-05 17:34:52] local.INFO: Processing buffer {"connection_id":172054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071727690012c5af4400898b7a00019000e30..."} 
[2026-09-05 17:34:52] local.INFO: Packet analysis {"connection_id":172054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07172"} 
[2026-09-05 17:34:52] local.INFO: Extracted packet for processing {"connection_id":172054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07172"} 
[2026-09-05 17:34:52] local.INFO: GPS Element Parsed {"raw_longitude":744158272,"raw_latitude":144226208,"longitude_deg":74.4158272,"latitude_deg":14.4226208,"altitude":25,"angle":14,"satellites":48,"speed":11,"hex_longitude":"2c5af440","hex_latitude":"0898b7a0","is_valid_coordinates":true} 
[2026-09-05 17:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884085504001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1504428259540992,"note":"Value kept but may cause issues"} 
[2026-09-05 17:34:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6553089338465525760,"note":"Value kept but may cause issues"} 
[2026-09-05 17:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788609722000,"timestamp_ms":1788609722000,"timestamp_seconds":1788609722,"priority":1,"record_length":96,"hex_timestamp":"000001a071727690"} 
[2026-09-05 17:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:34: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-09-05 17:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 17:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172054,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172054,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.210.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 17:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 17:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884085504001,"66":28202,"152":206,"9":56064,"24":11,"16":1504428259540992,"44":6553089338465525760},"client_ip":"117.224.210.205","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,9,24,16,44]} 
[2026-09-05 17:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 17:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 17:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884085504001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:34:52] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-05 17:34:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 17:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1504428259540992,"km_value":1504428259540.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:34:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":6553089338465525760,"description":"Unknown IO ID 44"} 
[2026-09-05 17:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884085504001,"power":28202,"unknown_152":206,"unknown_9":56064,"ignition":11,"odometer":null,"unknown_44":6553089338465525760}} 
[2026-09-05 17:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":172054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770228,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:34:52] local.INFO: GPS data processed {"connection_id":172054,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:34:52] local.INFO: Acknowledgment sent {"connection_id":172054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:34:54] local.INFO: TCP Data received {"connection_id":174485,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:34:54] local.INFO: Processing buffer {"connection_id":174485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:34:54] local.INFO: IMEI packet received {"connection_id":174485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":174485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:34:55] local.INFO: TCP Data received {"connection_id":174485,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07173e1d8012d195f8007201b08002c00bd1e..."} 
[2026-09-05 17:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07173e1d8012d195f8007201b08002c00bd1e..."} 
[2026-09-05 17:34:55] local.INFO: Processing buffer {"connection_id":174485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07173e1d8012d195f8007201b08002c00bd1e..."} 
[2026-09-05 17:34:55] local.INFO: Packet analysis {"connection_id":174485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07173"} 
[2026-09-05 17:34:55] local.INFO: Extracted packet for processing {"connection_id":174485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07173"} 
[2026-09-05 17:34:55] local.INFO: GPS Element Parsed {"raw_longitude":756637568,"raw_latitude":119544584,"longitude_deg":75.6637568,"latitude_deg":11.9544584,"altitude":44,"angle":189,"satellites":30,"speed":11,"hex_longitude":"2d195f80","hex_latitude":"07201b08","is_valid_coordinates":true} 
[2026-09-05 17:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884110336001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18032235508662272,"note":"Value kept but may cause issues"} 
[2026-09-05 17:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828109635595749376,"note":"Value kept but may cause issues"} 
[2026-09-05 17:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788609815000,"timestamp_ms":1788609815000,"timestamp_seconds":1788609815,"priority":1,"record_length":96,"hex_timestamp":"000001a07173e1d8"} 
[2026-09-05 17:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-05 17:34:55] 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-09-05 17:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884110336001,"66":13059,"103":206,"83":41984,"24":11,"16":18032235508662272,"45":1828109635595749376},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 17:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884110336001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:34:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 17:34:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18032235508662272,"km_value":18032235508662.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828109635595749376,"description":"Unknown IO ID 45"} 
[2026-09-05 17:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884110336001,"power":13059,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1828109635595749376}} 
[2026-09-05 17:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":174485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:34:55] local.INFO: GPS data processed {"connection_id":174485,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:34:55] local.INFO: Acknowledgment sent {"connection_id":174485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:34:56] local.INFO: TCP Data received {"connection_id":174486,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:34:56] local.INFO: Processing buffer {"connection_id":174486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:34:56] local.INFO: IMEI packet received {"connection_id":174486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":174486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:35:00] local.INFO: TCP Data received {"connection_id":174485,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0717433e0012d195ec007201728002d00c021..."} 
[2026-09-05 17:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717433e0012d195ec007201728002d00c021..."} 
[2026-09-05 17:35:00] local.INFO: Processing buffer {"connection_id":174485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717433e0012d195ec007201728002d00c021..."} 
[2026-09-05 17:35:00] local.INFO: Packet analysis {"connection_id":174485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07174"} 
[2026-09-05 17:35:00] local.INFO: Extracted packet for processing {"connection_id":174485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07174"} 
[2026-09-05 17:35:00] local.INFO: GPS Element Parsed {"raw_longitude":756637376,"raw_latitude":119543592,"longitude_deg":75.6637376,"latitude_deg":11.9543592,"altitude":45,"angle":192,"satellites":33,"speed":5,"hex_longitude":"2d195ec0","hex_latitude":"07201728","is_valid_coordinates":true} 
[2026-09-05 17:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884112640001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18032287048269824,"note":"Value kept but may cause issues"} 
[2026-09-05 17:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828320741827479552,"note":"Value kept but may cause issues"} 
[2026-09-05 17:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788609836000,"timestamp_ms":1788609836000,"timestamp_seconds":1788609836,"priority":1,"record_length":96,"hex_timestamp":"000001a0717433e0"} 
[2026-09-05 17:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-05 17:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303183246183800,"note":"Value kept but may cause issues"} 
[2026-09-05 17:35:00] local.WARNING: Large IO value detected {"io_id":103,"raw_value":58075809043709952,"note":"Value kept but may cause issues"} 
[2026-09-05 17:35:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 17:35:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 17:35:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-05 17:35:00] local.WARNING: Large IO value detected {"io_id":93,"raw_value":3221692461,"note":"Value kept but may cause issues"} 
[2026-09-05 17:35:00] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,160,190,45,192,39,41,31,10,66,178,43,40,171,128,1,240,38,227,113,32,4,205,77,93,239,56,2,64,7],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-05 17:35:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170742074216218624,"timestamp_seconds":3170742074216218.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 17:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884112640001,"66":12689,"102":206,"83":41984,"24":5,"16":18032287048269824,"45":1828320741827479552},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884112640001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:35:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:35:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18032287048269824,"km_value":18032287048269.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828320741827479552,"description":"Unknown IO ID 45"} 
[2026-09-05 17:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884112640001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1828320741827479552}} 
[2026-09-05 17:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":174485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:35:00] local.INFO: GPS data processed {"connection_id":174485,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:35:00] local.INFO: Acknowledgment sent {"connection_id":174485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:35:01] local.INFO: TCP Data received {"connection_id":174486,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:35:01] local.INFO: Processing buffer {"connection_id":174486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:35:01] local.INFO: IMEI packet received {"connection_id":174486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":174486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:35:02] local.INFO: TCP Data received {"connection_id":174486,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071708290012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071708290012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:35:02] local.INFO: Processing buffer {"connection_id":174486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071708290012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:35:02] local.INFO: Packet analysis {"connection_id":174486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07170"} 
[2026-09-05 17:35:02] local.INFO: Extracted packet for processing {"connection_id":174486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07170"} 
[2026-09-05 17:35:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883978496001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889676288,"note":"Value kept but may cause issues"} 
[2026-09-05 17:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788609594000,"timestamp_ms":1788609594000,"timestamp_seconds":1788609594,"priority":1,"record_length":96,"hex_timestamp":"000001a071708290"} 
[2026-09-05 17:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:35:02] 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-09-05 17:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 17:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883978496001,"66":25832,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889676288},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883978496001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:35:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:35:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889676288,"description":"Unknown IO ID 45"} 
[2026-09-05 17:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883978496001,"power":25832,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889676288}} 
[2026-09-05 17:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":174486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:35:02] local.INFO: GPS data processed {"connection_id":174486,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:35:02] local.INFO: Acknowledgment sent {"connection_id":174486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:35:23] local.INFO: TCP Data received {"connection_id":172054,"ip":"117.224.210.205","data_length":795,"data_hex":"000000000000030f8e0a000001a071749d58012c5bb28008996960001300232a..."} 
[2026-09-05 17:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071749d58012c5bb28008996960001300232a..."} 
[2026-09-05 17:35:23] local.INFO: Processing buffer {"connection_id":172054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071749d58012c5bb28008996960001300232a..."} 
[2026-09-05 17:35:23] local.INFO: Packet analysis {"connection_id":172054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07174"} 
[2026-09-05 17:35:23] local.INFO: Extracted packet for processing {"connection_id":172054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07174"} 
[2026-09-05 17:35:23] local.INFO: GPS Element Parsed {"raw_longitude":744206976,"raw_latitude":144271712,"longitude_deg":74.4206976,"latitude_deg":14.4271712,"altitude":19,"angle":35,"satellites":42,"speed":33,"hex_longitude":"2c5bb280","hex_latitude":"08996960","is_valid_coordinates":true} 
[2026-09-05 17:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884122112001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1507709614555136,"note":"Value kept but may cause issues"} 
[2026-09-05 17:35:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6601080822005743616,"note":"Value kept but may cause issues"} 
[2026-09-05 17:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788609863000,"timestamp_ms":1788609863000,"timestamp_seconds":1788609863,"priority":1,"record_length":96,"hex_timestamp":"000001a071749d58"} 
[2026-09-05 17:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 17:35:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172054,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172054,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.210.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 17:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 17:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884122112001,"66":28104,"162":206,"9":56064,"24":33,"16":1507709614555136,"44":6601080822005743616},"client_ip":"117.224.210.205","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,9,24,16,44]} 
[2026-09-05 17:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 17:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 17:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884122112001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:35:23] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-09-05 17:35:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 17:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1507709614555136,"km_value":1507709614555.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:35:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":6601080822005743616,"description":"Unknown IO ID 44"} 
[2026-09-05 17:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884122112001,"power":28104,"unknown_162":206,"unknown_9":56064,"ignition":33,"odometer":null,"unknown_44":6601080822005743616}} 
[2026-09-05 17:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":172054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770232,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:35:23] local.INFO: GPS data processed {"connection_id":172054,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:35:23] local.INFO: Acknowledgment sent {"connection_id":172054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:35:33] local.INFO: TCP Data received {"connection_id":174486,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071708290012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071708290012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:35:33] local.INFO: Processing buffer {"connection_id":174486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071708290012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:35:33] local.INFO: Packet analysis {"connection_id":174486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07170"} 
[2026-09-05 17:35:33] local.INFO: Extracted packet for processing {"connection_id":174486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07170"} 
[2026-09-05 17:35:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457883978496001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889676288,"note":"Value kept but may cause issues"} 
[2026-09-05 17:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788609594000,"timestamp_ms":1788609594000,"timestamp_seconds":1788609594,"priority":1,"record_length":96,"hex_timestamp":"000001a071708290"} 
[2026-09-05 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-09-05 17:35: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-09-05 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 17:35:33] 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-09-05 17: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-09-05 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-09-05 17:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457883978496001,"66":25832,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889676288},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457883978496001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:35:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:35:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889676288,"description":"Unknown IO ID 45"} 
[2026-09-05 17:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457883978496001,"power":25832,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889676288}} 
[2026-09-05 17:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":174486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:35:33] local.INFO: GPS data processed {"connection_id":174486,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:35:33] local.INFO: Acknowledgment sent {"connection_id":174486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:35:39] local.INFO: TCP Data received {"connection_id":171780,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:35:39] local.INFO: Processing buffer {"connection_id":171780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:35:39] local.INFO: IMEI packet received {"connection_id":171780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 17:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":171780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:35:40] local.INFO: TCP Data received {"connection_id":171780,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:35:40] local.INFO: Processing buffer {"connection_id":171780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:35:40] local.INFO: IMEI packet received {"connection_id":171780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 17:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":171780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:35:44] local.INFO: TCP Data received {"connection_id":171780,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:35:44] local.INFO: Processing buffer {"connection_id":171780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:35:44] local.INFO: IMEI packet received {"connection_id":171780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 17:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":171780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:35:44] local.INFO: TCP Data received {"connection_id":171781,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:35:44] local.INFO: Processing buffer {"connection_id":171781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:35:44] local.INFO: IMEI packet received {"connection_id":171781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":171781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:35:44] local.INFO: TCP Data received {"connection_id":171781,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:35:44] local.INFO: Processing buffer {"connection_id":171781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:35:44] local.INFO: IMEI packet received {"connection_id":171781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":171781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:35:45] local.INFO: TCP Data received {"connection_id":171780,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-05 17:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171780,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-05 17:35:45] local.INFO: Processing buffer {"connection_id":171780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-05 17:35:45] local.INFO: Packet analysis {"connection_id":171780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-05 17:35:45] local.INFO: Extracted packet for processing {"connection_id":171780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-05 17:35:45] 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-09-05 17:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128601233626759168,"note":"Value kept but may cause issues"} 
[2026-09-05 17:35:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,229,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 17:35:45] 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-09-05 17:35:45] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 17:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":171780,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":171780,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-05 17:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":171780,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-05 17:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 17:35:45] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 17:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":171780,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 17:35:45] local.ERROR: GPS data processing failed {"connection_id":171780,"error":"No valid data to process"} 
[2026-09-05 17:35:45] local.INFO: Acknowledgment sent {"connection_id":171780,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 17:35:47] local.INFO: TCP Data received {"connection_id":173161,"ip":"117.224.210.205","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173161,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:35:47] local.INFO: Processing buffer {"connection_id":173161,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:35:47] local.INFO: IMEI packet received {"connection_id":173161,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 17:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":173161,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:35:49] local.INFO: TCP Data received {"connection_id":171781,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:35:49] local.INFO: Processing buffer {"connection_id":171781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:35:49] local.INFO: IMEI packet received {"connection_id":171781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":171781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:35:50] local.INFO: TCP Data received {"connection_id":171781,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071744b50012d195d8007201390002e00d621..."} 
[2026-09-05 17:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071744b50012d195d8007201390002e00d621..."} 
[2026-09-05 17:35:50] local.INFO: Processing buffer {"connection_id":171781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071744b50012d195d8007201390002e00d621..."} 
[2026-09-05 17:35:50] local.INFO: Packet analysis {"connection_id":171781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07174"} 
[2026-09-05 17:35:50] local.INFO: Extracted packet for processing {"connection_id":171781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07174"} 
[2026-09-05 17:35:50] local.INFO: GPS Element Parsed {"raw_longitude":756637056,"raw_latitude":119542672,"longitude_deg":75.6637056,"latitude_deg":11.9542672,"altitude":46,"angle":214,"satellites":33,"speed":1,"hex_longitude":"2d195d80","hex_latitude":"07201390","is_valid_coordinates":true} 
[2026-09-05 17:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884118016001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18032334292910080,"note":"Value kept but may cause issues"} 
[2026-09-05 17:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828109635594692608,"note":"Value kept but may cause issues"} 
[2026-09-05 17:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788609842000,"timestamp_ms":1788609842000,"timestamp_seconds":1788609842,"priority":1,"record_length":96,"hex_timestamp":"000001a071744b50"} 
[2026-09-05 17:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-05 17:35:50] 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-09-05 17:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884118016001,"66":12548,"102":206,"83":41984,"24":1,"16":18032334292910080,"45":1828109635594692608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884118016001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:35:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:35:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18032334292910080,"km_value":18032334292910.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828109635594692608,"description":"Unknown IO ID 45"} 
[2026-09-05 17:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884118016001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1828109635594692608}} 
[2026-09-05 17:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":171781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:35:50] local.INFO: GPS data processed {"connection_id":171781,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:35:50] local.INFO: Acknowledgment sent {"connection_id":171781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:35:52] local.INFO: TCP Data received {"connection_id":173161,"ip":"117.224.210.205","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173161,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:35:52] local.INFO: Processing buffer {"connection_id":173161,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:35:52] local.INFO: IMEI packet received {"connection_id":173161,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 17:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":173161,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:35:54] local.INFO: TCP Data received {"connection_id":173161,"ip":"117.224.210.205","data_length":795,"data_hex":"000000000000030f8e0a000001a07174c468012c5bc6c008998620001300202a..."} 
[2026-09-05 17:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07174c468012c5bc6c008998620001300202a..."} 
[2026-09-05 17:35:54] local.INFO: Processing buffer {"connection_id":173161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07174c468012c5bc6c008998620001300202a..."} 
[2026-09-05 17:35:54] local.INFO: Packet analysis {"connection_id":173161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07174"} 
[2026-09-05 17:35:54] local.INFO: Extracted packet for processing {"connection_id":173161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07174"} 
[2026-09-05 17:35:54] local.INFO: GPS Element Parsed {"raw_longitude":744212160,"raw_latitude":144279072,"longitude_deg":74.421216,"latitude_deg":14.4279072,"altitude":19,"angle":32,"satellites":42,"speed":35,"hex_longitude":"2c5bc6c0","hex_latitude":"08998620","is_valid_coordinates":true} 
[2026-09-05 17:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884124928001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1508143406252032,"note":"Value kept but may cause issues"} 
[2026-09-05 17:35:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6607484377727852544,"note":"Value kept but may cause issues"} 
[2026-09-05 17:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788609873000,"timestamp_ms":1788609873000,"timestamp_seconds":1788609873,"priority":1,"record_length":96,"hex_timestamp":"000001a07174c468"} 
[2026-09-05 17:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 17:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.210.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 17:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 17:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884124928001,"66":28104,"162":206,"9":56064,"24":35,"16":1508143406252032,"44":6607484377727852544},"client_ip":"117.224.210.205","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,9,24,16,44]} 
[2026-09-05 17:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 17:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 17:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884124928001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:35:54] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-09-05 17:35:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 17:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1508143406252032,"km_value":1508143406252.032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:35:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":6607484377727852544,"description":"Unknown IO ID 44"} 
[2026-09-05 17:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884124928001,"power":28104,"unknown_162":206,"unknown_9":56064,"ignition":35,"odometer":null,"unknown_44":6607484377727852544}} 
[2026-09-05 17:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":173161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770235,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:35:54] local.INFO: GPS data processed {"connection_id":173161,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:35:54] local.INFO: Acknowledgment sent {"connection_id":173161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:35:55] local.INFO: TCP Data received {"connection_id":172055,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:35:55] local.INFO: Processing buffer {"connection_id":172055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:35:55] local.INFO: IMEI packet received {"connection_id":172055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":172055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:36:01] local.INFO: TCP Data received {"connection_id":172055,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:36:01] local.INFO: Processing buffer {"connection_id":172055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:36:01] local.INFO: IMEI packet received {"connection_id":172055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":172055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:36:02] local.INFO: TCP Data received {"connection_id":172055,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071751a58012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071751a58012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:36:02] local.INFO: Processing buffer {"connection_id":172055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071751a58012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:36:02] local.INFO: Packet analysis {"connection_id":172055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07175"} 
[2026-09-05 17:36:02] local.INFO: Extracted packet for processing {"connection_id":172055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07175"} 
[2026-09-05 17:36:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884056064001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788609895000,"timestamp_ms":1788609895000,"timestamp_seconds":1788609895,"priority":1,"record_length":96,"hex_timestamp":"000001a071751a58"} 
[2026-09-05 17:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:36:02] 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-09-05 17:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-05 17:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884056064001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884056064001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:36:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:36:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884056064001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":172055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:36:02] local.INFO: GPS data processed {"connection_id":172055,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:36:02] local.INFO: Acknowledgment sent {"connection_id":172055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:36:15] local.INFO: TCP Data received {"connection_id":171780,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-05 17:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171780,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-05 17:36:15] local.INFO: Processing buffer {"connection_id":171780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-05 17:36:15] local.INFO: Packet analysis {"connection_id":171780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-05 17:36:15] local.INFO: Extracted packet for processing {"connection_id":171780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-05 17:36:15] 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-09-05 17:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128601233626759168,"note":"Value kept but may cause issues"} 
[2026-09-05 17:36:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,229,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 17:36:15] 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-09-05 17:36:15] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 17:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":171780,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":171780,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-05 17:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":171780,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-05 17:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 17:36:15] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 17:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":171780,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 17:36:15] local.ERROR: GPS data processing failed {"connection_id":171780,"error":"No valid data to process"} 
[2026-09-05 17:36:15] local.INFO: Acknowledgment sent {"connection_id":171780,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 17:36:21] local.INFO: TCP Data received {"connection_id":171781,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071749d58012d195d8007201388002e00d620..."} 
[2026-09-05 17:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071749d58012d195d8007201388002e00d620..."} 
[2026-09-05 17:36:21] local.INFO: Processing buffer {"connection_id":171781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071749d58012d195d8007201388002e00d620..."} 
[2026-09-05 17:36:21] local.INFO: Packet analysis {"connection_id":171781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07174"} 
[2026-09-05 17:36:21] local.INFO: Extracted packet for processing {"connection_id":171781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07174"} 
[2026-09-05 17:36:21] local.INFO: GPS Element Parsed {"raw_longitude":756637056,"raw_latitude":119542664,"longitude_deg":75.6637056,"latitude_deg":11.9542664,"altitude":46,"angle":214,"satellites":32,"speed":0,"hex_longitude":"2d195d80","hex_latitude":"07201388","is_valid_coordinates":true} 
[2026-09-05 17:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884119552001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18032334292910080,"note":"Value kept but may cause issues"} 
[2026-09-05 17:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827757791873568768,"note":"Value kept but may cause issues"} 
[2026-09-05 17:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788609863000,"timestamp_ms":1788609863000,"timestamp_seconds":1788609863,"priority":1,"record_length":96,"hex_timestamp":"000001a071749d58"} 
[2026-09-05 17:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:36: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-09-05 17:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 17:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-05 17:36:21] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 17:36:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 17:36:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184289632461,"note":"Value kept but may cause issues"} 
[2026-09-05 17:36:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-05 17:36:21] local.WARNING: Large IO value detected {"io_id":93,"raw_value":2147950636,"note":"Value kept but may cause issues"} 
[2026-09-05 17:36:21] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-09-05 17:36:21] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,102,83,24,241,157,16,160,51,45,192,23,33,10,66,225,128,27,44,30,103,190,1,240,137,227,113,32,4,205,9,171,93,120,31,239,56,2,64,7,40],"length":485,"final_offset":615,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-05 17:36:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314884762967015424,"timestamp_seconds":3314884762967015.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 17:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884119552001,"66":12211,"102":206,"83":41984,"24":0,"16":18032334292910080,"45":1827757791873568768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884119552001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:36:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:36:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18032334292910080,"km_value":18032334292910.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827757791873568768,"description":"Unknown IO ID 45"} 
[2026-09-05 17:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884119552001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1827757791873568768}} 
[2026-09-05 17:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":171781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:36:21] local.INFO: GPS data processed {"connection_id":171781,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:36:21] local.INFO: Acknowledgment sent {"connection_id":171781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:36:25] local.INFO: TCP Data received {"connection_id":173161,"ip":"117.224.210.205","data_length":795,"data_hex":"000000000000030f8e0a000001a07174eb78012c5bdbc00899a3900010002227..."} 
[2026-09-05 17:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07174eb78012c5bdbc00899a3900010002227..."} 
[2026-09-05 17:36:25] local.INFO: Processing buffer {"connection_id":173161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07174eb78012c5bdbc00899a3900010002227..."} 
[2026-09-05 17:36:25] local.INFO: Packet analysis {"connection_id":173161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07174"} 
[2026-09-05 17:36:25] local.INFO: Extracted packet for processing {"connection_id":173161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07174"} 
[2026-09-05 17:36:25] local.INFO: GPS Element Parsed {"raw_longitude":744217536,"raw_latitude":144286608,"longitude_deg":74.4217536,"latitude_deg":14.4286608,"altitude":16,"angle":34,"satellites":39,"speed":36,"hex_longitude":"2c5bdbc0","hex_latitude":"0899a390","is_valid_coordinates":true} 
[2026-09-05 17:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884127488001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1508585787883520,"note":"Value kept but may cause issues"} 
[2026-09-05 17:36:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6613184246008127488,"note":"Value kept but may cause issues"} 
[2026-09-05 17:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788609883000,"timestamp_ms":1788609883000,"timestamp_seconds":1788609883,"priority":1,"record_length":96,"hex_timestamp":"000001a07174eb78"} 
[2026-09-05 17:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 17:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.210.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 17:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 17:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884127488001,"66":28256,"162":206,"9":56064,"24":36,"16":1508585787883520,"44":6613184246008127488},"client_ip":"117.224.210.205","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,9,24,16,44]} 
[2026-09-05 17:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 17:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 17:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884127488001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:36:25] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-09-05 17:36:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 17:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1508585787883520,"km_value":1508585787883.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:36:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":6613184246008127488,"description":"Unknown IO ID 44"} 
[2026-09-05 17:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884127488001,"power":28256,"unknown_162":206,"unknown_9":56064,"ignition":36,"odometer":null,"unknown_44":6613184246008127488}} 
[2026-09-05 17:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":173161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770238,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:36:25] local.INFO: GPS data processed {"connection_id":173161,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:36:25] local.INFO: Acknowledgment sent {"connection_id":173161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:36:33] local.INFO: TCP Data received {"connection_id":172055,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071751a58012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071751a58012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:36:33] local.INFO: Processing buffer {"connection_id":172055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071751a58012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:36:33] local.INFO: Packet analysis {"connection_id":172055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07175"} 
[2026-09-05 17:36:33] local.INFO: Extracted packet for processing {"connection_id":172055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07175"} 
[2026-09-05 17:36:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884056064001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788609895000,"timestamp_ms":1788609895000,"timestamp_seconds":1788609895,"priority":1,"record_length":96,"hex_timestamp":"000001a071751a58"} 
[2026-09-05 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-09-05 17:36: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-09-05 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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-05 17:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 17:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884056064001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884056064001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:36:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:36:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884056064001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":172055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:36:33] local.INFO: GPS data processed {"connection_id":172055,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:36:33] local.INFO: Acknowledgment sent {"connection_id":172055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:36:44] local.INFO: TCP Data received {"connection_id":171782,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:36:44] local.INFO: Processing buffer {"connection_id":171782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:36:44] local.INFO: IMEI packet received {"connection_id":171782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":171782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:36:45] local.INFO: TCP Data received {"connection_id":171782,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:36:45] local.INFO: Processing buffer {"connection_id":171782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:36:45] local.INFO: IMEI packet received {"connection_id":171782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":171782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:36:47] local.INFO: TCP Data received {"connection_id":171780,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0717666600100000000000000000000000000..."} 
[2026-09-05 17:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717666600100000000000000000000000000..."} 
[2026-09-05 17:36:47] local.INFO: Processing buffer {"connection_id":171780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717666600100000000000000000000000000..."} 
[2026-09-05 17:36:47] local.INFO: Packet analysis {"connection_id":171780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07176"} 
[2026-09-05 17:36:47] local.INFO: Extracted packet for processing {"connection_id":171780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07176"} 
[2026-09-05 17:36:47] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 17:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128601233626759168,"note":"Value kept but may cause issues"} 
[2026-09-05 17:36:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,229,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 17:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788609980000,"timestamp_ms":1788609980000,"timestamp_seconds":1788609980,"priority":1,"record_length":96,"hex_timestamp":"000001a071766660"} 
[2026-09-05 17:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-05 17:36:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1380916235742478346,"note":"Value kept but may cause issues"} 
[2026-09-05 17:36:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-05 17:36:47] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18581841012129792,"note":"Value kept but may cause issues"} 
[2026-09-05 17:36:47] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835469387268112,"note":"Value kept but may cause issues"} 
[2026-09-05 17:36:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3794010112,"corrected_to":0} 
[2026-09-05 17:36:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":1945780438907801088,"note":"Value kept but may cause issues"} 
[2026-09-05 17:36:47] local.WARNING: Large IO value detected {"io_id":122,"raw_value":3692958131021152264,"note":"Value kept but may cause issues"} 
[2026-09-05 17:36:47] local.INFO: IO Element Parsed {"io_data_count":26,"io_data_keys":[0,229,85,24,241,157,16,226,183,10,66,27,1,240,37,4,113,205,239,2,47,200,160,5,15,122],"length":577,"final_offset":707,"validated_count":26,"validation_warnings":[{"io_id":200,"original":3794010112,"validated":0}]} 
[2026-09-05 17:36:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 17:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":171780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":171780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":171780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":171780,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 17:36:47] local.INFO: GPS data processed {"connection_id":171780,"processed":0,"errors":0,"total":1} 
[2026-09-05 17:36:47] local.INFO: Acknowledgment sent {"connection_id":171780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:36:47] local.INFO: TCP Data received {"connection_id":173162,"ip":"117.224.210.205","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173162,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:36:47] local.INFO: Processing buffer {"connection_id":173162,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:36:47] local.INFO: IMEI packet received {"connection_id":173162,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 17:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":173162,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:36:49] local.INFO: TCP Data received {"connection_id":171782,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:36:49] local.INFO: Processing buffer {"connection_id":171782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:36:49] local.INFO: IMEI packet received {"connection_id":171782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":171782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:36:50] local.INFO: TCP Data received {"connection_id":171782,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07174ef60012d195d8007201388002e00d621..."} 
[2026-09-05 17:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07174ef60012d195d8007201388002e00d621..."} 
[2026-09-05 17:36:50] local.INFO: Processing buffer {"connection_id":171782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07174ef60012d195d8007201388002e00d621..."} 
[2026-09-05 17:36:50] local.INFO: Packet analysis {"connection_id":171782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07174"} 
[2026-09-05 17:36:50] local.INFO: Extracted packet for processing {"connection_id":171782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07174"} 
[2026-09-05 17:36:50] local.INFO: GPS Element Parsed {"raw_longitude":756637056,"raw_latitude":119542664,"longitude_deg":75.6637056,"latitude_deg":11.9542664,"altitude":46,"angle":214,"satellites":33,"speed":0,"hex_longitude":"2d195d80","hex_latitude":"07201388","is_valid_coordinates":true} 
[2026-09-05 17:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884124928001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18032334292910080,"note":"Value kept but may cause issues"} 
[2026-09-05 17:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827757791873566720,"note":"Value kept but may cause issues"} 
[2026-09-05 17:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788609884000,"timestamp_ms":1788609884000,"timestamp_seconds":1788609884,"priority":1,"record_length":96,"hex_timestamp":"000001a07174ef60"} 
[2026-09-05 17:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-05 17:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:36:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884124928001,"66":10700,"102":206,"83":41984,"24":0,"16":18032334292910080,"45":1827757791873566720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884124928001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:36:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:36:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18032334292910080,"km_value":18032334292910.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827757791873566720,"description":"Unknown IO ID 45"} 
[2026-09-05 17:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884124928001,"power":10700,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1827757791873566720}} 
[2026-09-05 17:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":171782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:36:50] local.INFO: GPS data processed {"connection_id":171782,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:36:50] local.INFO: Acknowledgment sent {"connection_id":171782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:36:52] local.INFO: TCP Data received {"connection_id":173162,"ip":"117.224.210.205","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173162,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:36:52] local.INFO: Processing buffer {"connection_id":173162,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:36:52] local.INFO: IMEI packet received {"connection_id":173162,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 17:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":173162,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:36:53] local.INFO: TCP Data received {"connection_id":173162,"ip":"117.224.210.205","data_length":795,"data_hex":"000000000000030f8e0a000001a071753998012c5bf1000899c120000d00222d..."} 
[2026-09-05 17:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071753998012c5bf1000899c120000d00222d..."} 
[2026-09-05 17:36:53] local.INFO: Processing buffer {"connection_id":173162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071753998012c5bf1000899c120000d00222d..."} 
[2026-09-05 17:36:53] local.INFO: Packet analysis {"connection_id":173162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07175"} 
[2026-09-05 17:36:53] local.INFO: Extracted packet for processing {"connection_id":173162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07175"} 
[2026-09-05 17:36:53] local.INFO: GPS Element Parsed {"raw_longitude":744222976,"raw_latitude":144294176,"longitude_deg":74.4222976,"latitude_deg":14.4294176,"altitude":13,"angle":34,"satellites":45,"speed":17,"hex_longitude":"2c5bf100","hex_latitude":"0899c120","is_valid_coordinates":true} 
[2026-09-05 17:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884130048001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1509032464482304,"note":"Value kept but may cause issues"} 
[2026-09-05 17:36:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6619095220520980480,"note":"Value kept but may cause issues"} 
[2026-09-05 17:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788609903000,"timestamp_ms":1788609903000,"timestamp_seconds":1788609903,"priority":1,"record_length":96,"hex_timestamp":"000001a071753998"} 
[2026-09-05 17:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 17:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173162,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173162,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.210.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 17:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 17:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884130048001,"66":27930,"162":206,"9":56064,"24":17,"16":1509032464482304,"44":6619095220520980480},"client_ip":"117.224.210.205","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,9,24,16,44]} 
[2026-09-05 17:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 17:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 17:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884130048001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:36:53] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-09-05 17:36:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 17:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1509032464482304,"km_value":1509032464482.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:36:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":6619095220520980480,"description":"Unknown IO ID 44"} 
[2026-09-05 17:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884130048001,"power":27930,"unknown_162":206,"unknown_9":56064,"ignition":17,"odometer":null,"unknown_44":6619095220520980480}} 
[2026-09-05 17:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":173162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770241,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:36:53] local.INFO: GPS data processed {"connection_id":173162,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:36:53] local.INFO: Acknowledgment sent {"connection_id":173162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:37:01] local.INFO: TCP Data received {"connection_id":174487,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:37:01] local.INFO: Processing buffer {"connection_id":174487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:37:01] local.INFO: IMEI packet received {"connection_id":174487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":174487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:37:06] local.INFO: TCP Data received {"connection_id":174487,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:37:06] local.INFO: Processing buffer {"connection_id":174487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:37:06] local.INFO: IMEI packet received {"connection_id":174487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":174487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:37:06] local.INFO: TCP Data received {"connection_id":174487,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071751a58012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071751a58012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:37:06] local.INFO: Processing buffer {"connection_id":174487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071751a58012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:37:06] local.INFO: Packet analysis {"connection_id":174487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07175"} 
[2026-09-05 17:37:06] local.INFO: Extracted packet for processing {"connection_id":174487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07175"} 
[2026-09-05 17:37:06] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884056064001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788609895000,"timestamp_ms":1788609895000,"timestamp_seconds":1788609895,"priority":1,"record_length":96,"hex_timestamp":"000001a071751a58"} 
[2026-09-05 17:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:37:06] 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-09-05 17:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-05 17:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884056064001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884056064001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:37:06] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:37:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884056064001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":174487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:37:06] local.INFO: GPS data processed {"connection_id":174487,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:37:06] local.INFO: Acknowledgment sent {"connection_id":174487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:37:11] local.INFO: TCP Data received {"connection_id":174487,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071751a58012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071751a58012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:37:11] local.INFO: Processing buffer {"connection_id":174487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071751a58012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:37:11] local.INFO: Packet analysis {"connection_id":174487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07175"} 
[2026-09-05 17:37:11] local.INFO: Extracted packet for processing {"connection_id":174487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07175"} 
[2026-09-05 17:37:11] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884056064001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788609895000,"timestamp_ms":1788609895000,"timestamp_seconds":1788609895,"priority":1,"record_length":96,"hex_timestamp":"000001a071751a58"} 
[2026-09-05 17:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:37: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-09-05 17:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-05 17:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884056064001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884056064001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:37:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:37:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884056064001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":174487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:37:11] local.INFO: GPS data processed {"connection_id":174487,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:37:11] local.INFO: Acknowledgment sent {"connection_id":174487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:37:18] local.INFO: TCP Data received {"connection_id":171780,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07176b8680100000000000000000000000000..."} 
[2026-09-05 17:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07176b8680100000000000000000000000000..."} 
[2026-09-05 17:37:18] local.INFO: Processing buffer {"connection_id":171780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07176b8680100000000000000000000000000..."} 
[2026-09-05 17:37:18] local.INFO: Packet analysis {"connection_id":171780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07176"} 
[2026-09-05 17:37:18] local.INFO: Extracted packet for processing {"connection_id":171780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07176"} 
[2026-09-05 17:37:18] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 17:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128601233626759168,"note":"Value kept but may cause issues"} 
[2026-09-05 17:37:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,229,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 17:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788610001000,"timestamp_ms":1788610001000,"timestamp_seconds":1788610001,"priority":1,"record_length":96,"hex_timestamp":"000001a07176b868"} 
[2026-09-05 17:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:37:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":768,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-05 17:37:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:37:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":171780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":171780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":171780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":171780,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 17:37:18] local.INFO: GPS data processed {"connection_id":171780,"processed":0,"errors":0,"total":1} 
[2026-09-05 17:37:18] local.INFO: Acknowledgment sent {"connection_id":171780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:37:21] local.INFO: TCP Data received {"connection_id":171782,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071754168012d195d8007201388002e00d620..."} 
[2026-09-05 17:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071754168012d195d8007201388002e00d620..."} 
[2026-09-05 17:37:21] local.INFO: Processing buffer {"connection_id":171782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071754168012d195d8007201388002e00d620..."} 
[2026-09-05 17:37:21] local.INFO: Packet analysis {"connection_id":171782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07175"} 
[2026-09-05 17:37:21] local.INFO: Extracted packet for processing {"connection_id":171782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07175"} 
[2026-09-05 17:37:21] local.INFO: GPS Element Parsed {"raw_longitude":756637056,"raw_latitude":119542664,"longitude_deg":75.6637056,"latitude_deg":11.9542664,"altitude":46,"angle":214,"satellites":32,"speed":0,"hex_longitude":"2d195d80","hex_latitude":"07201388","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884130304001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18032334292910080,"note":"Value kept but may cause issues"} 
[2026-09-05 17:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827757791873566720,"note":"Value kept but may cause issues"} 
[2026-09-05 17:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788609905000,"timestamp_ms":1788609905000,"timestamp_seconds":1788609905,"priority":1,"record_length":96,"hex_timestamp":"000001a071754168"} 
[2026-09-05 17:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:37: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-09-05 17: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":41,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-05 17:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2239,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884130304001,"66":12156,"102":206,"83":41984,"24":0,"16":18032334292910080,"45":1827757791873566720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884130304001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:37:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:37:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18032334292910080,"km_value":18032334292910.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827757791873566720,"description":"Unknown IO ID 45"} 
[2026-09-05 17:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884130304001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1827757791873566720}} 
[2026-09-05 17:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":171782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:37:21] local.INFO: GPS data processed {"connection_id":171782,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:37:21] local.INFO: Acknowledgment sent {"connection_id":171782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:37:25] local.INFO: TCP Data received {"connection_id":173162,"ip":"117.224.210.205","data_length":795,"data_hex":"000000000000030f8e0a000001a0717587b8012c5c05800899dde0000c00252f..."} 
[2026-09-05 17:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717587b8012c5c05800899dde0000c00252f..."} 
[2026-09-05 17:37:25] local.INFO: Processing buffer {"connection_id":173162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717587b8012c5c05800899dde0000c00252f..."} 
[2026-09-05 17:37:25] local.INFO: Packet analysis {"connection_id":173162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07175"} 
[2026-09-05 17:37:25] local.INFO: Extracted packet for processing {"connection_id":173162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07175"} 
[2026-09-05 17:37:25] local.INFO: GPS Element Parsed {"raw_longitude":744228224,"raw_latitude":144301536,"longitude_deg":74.4228224,"latitude_deg":14.4301536,"altitude":12,"angle":37,"satellites":47,"speed":11,"hex_longitude":"2c5c0580","hex_latitude":"0899dde0","is_valid_coordinates":true} 
[2026-09-05 17:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884135168001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1509466256179200,"note":"Value kept but may cause issues"} 
[2026-09-05 17:37:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6625076563778019328,"note":"Value kept but may cause issues"} 
[2026-09-05 17:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788609923000,"timestamp_ms":1788609923000,"timestamp_seconds":1788609923,"priority":1,"record_length":96,"hex_timestamp":"000001a0717587b8"} 
[2026-09-05 17:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-05 17:37:25] 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-09-05 17:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173162,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173162,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.210.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 17:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 17:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884135168001,"66":28082,"162":206,"9":56064,"24":11,"16":1509466256179200,"44":6625076563778019328},"client_ip":"117.224.210.205","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,9,24,16,44]} 
[2026-09-05 17:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 17:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 17:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884135168001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:37:25] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-09-05 17:37:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 17:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1509466256179200,"km_value":1509466256179.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:37:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":6625076563778019328,"description":"Unknown IO ID 44"} 
[2026-09-05 17:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884135168001,"power":28082,"unknown_162":206,"unknown_9":56064,"ignition":11,"odometer":null,"unknown_44":6625076563778019328}} 
[2026-09-05 17:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":173162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770245,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:37:25] local.INFO: GPS data processed {"connection_id":173162,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:37:25] local.INFO: Acknowledgment sent {"connection_id":173162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:37:44] local.INFO: TCP Data received {"connection_id":174488,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:37:44] local.INFO: Processing buffer {"connection_id":174488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:37:44] local.INFO: IMEI packet received {"connection_id":174488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":174488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:37:47] local.INFO: TCP Data received {"connection_id":174489,"ip":"117.224.210.205","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174489,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:37:47] local.INFO: Processing buffer {"connection_id":174489,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:37:47] local.INFO: IMEI packet received {"connection_id":174489,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 17:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":174489,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:37:48] local.INFO: TCP Data received {"connection_id":174488,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:37:48] local.INFO: Processing buffer {"connection_id":174488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:37:48] local.INFO: IMEI packet received {"connection_id":174488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":174488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:37:49] local.INFO: TCP Data received {"connection_id":174488,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071759370012d195d8007201388002e00d61f..."} 
[2026-09-05 17:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071759370012d195d8007201388002e00d61f..."} 
[2026-09-05 17:37:49] local.INFO: Processing buffer {"connection_id":174488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071759370012d195d8007201388002e00d61f..."} 
[2026-09-05 17:37:49] local.INFO: Packet analysis {"connection_id":174488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07175"} 
[2026-09-05 17:37:49] local.INFO: Extracted packet for processing {"connection_id":174488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07175"} 
[2026-09-05 17:37:49] local.INFO: GPS Element Parsed {"raw_longitude":756637056,"raw_latitude":119542664,"longitude_deg":75.6637056,"latitude_deg":11.9542664,"altitude":46,"angle":214,"satellites":31,"speed":0,"hex_longitude":"2d195d80","hex_latitude":"07201388","is_valid_coordinates":true} 
[2026-09-05 17:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884135680001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18032334292910080,"note":"Value kept but may cause issues"} 
[2026-09-05 17:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827757791873566720,"note":"Value kept but may cause issues"} 
[2026-09-05 17:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788609926000,"timestamp_ms":1788609926000,"timestamp_seconds":1788609926,"priority":1,"record_length":96,"hex_timestamp":"000001a071759370"} 
[2026-09-05 17:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:37: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-09-05 17:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-05 17:37:49] 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-09-05 17:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884135680001,"66":12145,"102":206,"83":41984,"24":0,"16":18032334292910080,"45":1827757791873566720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884135680001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:37:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:37:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18032334292910080,"km_value":18032334292910.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827757791873566720,"description":"Unknown IO ID 45"} 
[2026-09-05 17:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884135680001,"power":12145,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1827757791873566720}} 
[2026-09-05 17:37:49] local.INFO: TCP Data received {"connection_id":171780,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071770a700100000000000000000000000000..."} 
[2026-09-05 17:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071770a700100000000000000000000000000..."} 
[2026-09-05 17:37:49] local.INFO: Processing buffer {"connection_id":171780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071770a700100000000000000000000000000..."} 
[2026-09-05 17:37:49] local.INFO: Packet analysis {"connection_id":171780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07177"} 
[2026-09-05 17:37:49] local.INFO: Extracted packet for processing {"connection_id":171780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07177"} 
[2026-09-05 17:37:49] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 17:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128601233626759168,"note":"Value kept but may cause issues"} 
[2026-09-05 17:37:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,229,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 17:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788610022000,"timestamp_ms":1788610022000,"timestamp_seconds":1788610022,"priority":1,"record_length":96,"hex_timestamp":"000001a071770a70"} 
[2026-09-05 17:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2048,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-05 17:37:49] 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-09-05 17:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":171780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":171780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":171780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":171780,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 17:37:49] local.INFO: GPS data processed {"connection_id":171780,"processed":0,"errors":0,"total":1} 
[2026-09-05 17:37:49] local.INFO: Acknowledgment sent {"connection_id":171780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":174488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:37:49] local.INFO: GPS data processed {"connection_id":174488,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:37:49] local.INFO: Acknowledgment sent {"connection_id":174488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:37:55] local.INFO: TCP Data received {"connection_id":174489,"ip":"117.224.210.205","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174489,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:37:55] local.INFO: Processing buffer {"connection_id":174489,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:37:55] local.INFO: IMEI packet received {"connection_id":174489,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 17:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":174489,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:37:56] local.INFO: TCP Data received {"connection_id":173163,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:37:56] local.INFO: Processing buffer {"connection_id":173163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:37:56] local.INFO: IMEI packet received {"connection_id":173163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":173163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:37:57] local.INFO: TCP Data received {"connection_id":174489,"ip":"117.224.210.205","data_length":795,"data_hex":"000000000000030f8e0a000001a07175d9c0012c5c1a800899fbc0000b00222c..."} 
[2026-09-05 17:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07175d9c0012c5c1a800899fbc0000b00222c..."} 
[2026-09-05 17:37:57] local.INFO: Processing buffer {"connection_id":174489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07175d9c0012c5c1a800899fbc0000b00222c..."} 
[2026-09-05 17:37:57] local.INFO: Packet analysis {"connection_id":174489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07175"} 
[2026-09-05 17:37:57] local.INFO: Extracted packet for processing {"connection_id":174489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07175"} 
[2026-09-05 17:37:57] local.INFO: GPS Element Parsed {"raw_longitude":744233600,"raw_latitude":144309184,"longitude_deg":74.42336,"latitude_deg":14.4309184,"altitude":11,"angle":34,"satellites":44,"speed":17,"hex_longitude":"2c5c1a80","hex_latitude":"0899fbc0","is_valid_coordinates":true} 
[2026-09-05 17:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884140288001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1509917227745280,"note":"Value kept but may cause issues"} 
[2026-09-05 17:37:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6630846800802471936,"note":"Value kept but may cause issues"} 
[2026-09-05 17:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788609944000,"timestamp_ms":1788609944000,"timestamp_seconds":1788609944,"priority":1,"record_length":96,"hex_timestamp":"000001a07175d9c0"} 
[2026-09-05 17:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 17:37:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:37:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174489,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174489,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.210.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 17:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 17:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884140288001,"66":28104,"162":206,"9":56064,"24":17,"16":1509917227745280,"44":6630846800802471936},"client_ip":"117.224.210.205","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,9,24,16,44]} 
[2026-09-05 17:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 17:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 17:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884140288001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:37:57] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-09-05 17:37:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 17:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1509917227745280,"km_value":1509917227745.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:37:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":6630846800802471936,"description":"Unknown IO ID 44"} 
[2026-09-05 17:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884140288001,"power":28104,"unknown_162":206,"unknown_9":56064,"ignition":17,"odometer":null,"unknown_44":6630846800802471936}} 
[2026-09-05 17:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":174489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770247,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:37:57] local.INFO: GPS data processed {"connection_id":174489,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:37:57] local.INFO: Acknowledgment sent {"connection_id":174489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:38:01] local.INFO: TCP Data received {"connection_id":173163,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:38:01] local.INFO: Processing buffer {"connection_id":173163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:38:01] local.INFO: IMEI packet received {"connection_id":173163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":173163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:38:02] local.INFO: TCP Data received {"connection_id":173163,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a071751a58012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071751a58012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:38:02] local.INFO: Processing buffer {"connection_id":173163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071751a58012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:38:02] local.INFO: Packet analysis {"connection_id":173163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07175"} 
[2026-09-05 17:38:02] local.INFO: Extracted packet for processing {"connection_id":173163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07175"} 
[2026-09-05 17:38:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884056064001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788609895000,"timestamp_ms":1788609895000,"timestamp_seconds":1788609895,"priority":1,"record_length":96,"hex_timestamp":"000001a071751a58"} 
[2026-09-05 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-09-05 17:38:02] 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-09-05 17:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-05 17:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 17:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884056064001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884056064001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:38:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:38:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884056064001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":173163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:38:02] local.INFO: GPS data processed {"connection_id":173163,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:38:02] local.INFO: Acknowledgment sent {"connection_id":173163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:38:20] local.INFO: TCP Data received {"connection_id":171780,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071775c780100000000000000000000000000..."} 
[2026-09-05 17:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071775c780100000000000000000000000000..."} 
[2026-09-05 17:38:20] local.INFO: Processing buffer {"connection_id":171780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071775c780100000000000000000000000000..."} 
[2026-09-05 17:38:20] local.INFO: Packet analysis {"connection_id":171780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07177"} 
[2026-09-05 17:38:20] local.INFO: Extracted packet for processing {"connection_id":171780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07177"} 
[2026-09-05 17:38:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128601233626759168,"note":"Value kept but may cause issues"} 
[2026-09-05 17:38:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,230,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 17:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788610043000,"timestamp_ms":1788610043000,"timestamp_seconds":1788610043,"priority":1,"record_length":96,"hex_timestamp":"000001a071775c78"} 
[2026-09-05 17:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:38:20] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17: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":121,"data_length":795,"current_offset":136} 
[2026-09-05 17:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":171780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":171780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":171780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":171780,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 17:38:20] local.INFO: GPS data processed {"connection_id":171780,"processed":0,"errors":0,"total":1} 
[2026-09-05 17:38:20] local.INFO: Acknowledgment sent {"connection_id":171780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:38:20] local.INFO: TCP Data received {"connection_id":174488,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071776c18012d195340072009d8003500d723..."} 
[2026-09-05 17:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071776c18012d195340072009d8003500d723..."} 
[2026-09-05 17:38:20] local.INFO: Processing buffer {"connection_id":174488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071776c18012d195340072009d8003500d723..."} 
[2026-09-05 17:38:20] local.INFO: Packet analysis {"connection_id":174488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07177"} 
[2026-09-05 17:38:20] local.INFO: Extracted packet for processing {"connection_id":174488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07177"} 
[2026-09-05 17:38:20] local.INFO: GPS Element Parsed {"raw_longitude":756634432,"raw_latitude":119540184,"longitude_deg":75.6634432,"latitude_deg":11.9540184,"altitude":53,"angle":215,"satellites":35,"speed":11,"hex_longitude":"2d195340","hex_latitude":"072009d8","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884171776001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18032536156372992,"note":"Value kept but may cause issues"} 
[2026-09-05 17:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825083779594237952,"note":"Value kept but may cause issues"} 
[2026-09-05 17:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788610047000,"timestamp_ms":1788610047000,"timestamp_seconds":1788610047,"priority":1,"record_length":96,"hex_timestamp":"000001a071776c18"} 
[2026-09-05 17:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:38: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-09-05 17: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-05 17:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884171776001,"66":13472,"102":206,"83":41984,"24":11,"16":18032536156372992,"45":1825083779594237952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884171776001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:38:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:38:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18032536156372992,"km_value":18032536156372.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825083779594237952,"description":"Unknown IO ID 45"} 
[2026-09-05 17:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884171776001,"power":13472,"unknown_102":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1825083779594237952}} 
[2026-09-05 17:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":174488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:38:20] local.INFO: GPS data processed {"connection_id":174488,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:38:20] local.INFO: Acknowledgment sent {"connection_id":174488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:38:28] local.INFO: TCP Data received {"connection_id":174489,"ip":"117.224.210.205","data_length":795,"data_hex":"000000000000030f8e0a000001a07175d9c0012c5c1a800899fbc0000b00222c..."} 
[2026-09-05 17:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07175d9c0012c5c1a800899fbc0000b00222c..."} 
[2026-09-05 17:38:28] local.INFO: Processing buffer {"connection_id":174489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07175d9c0012c5c1a800899fbc0000b00222c..."} 
[2026-09-05 17:38:28] local.INFO: Packet analysis {"connection_id":174489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07175"} 
[2026-09-05 17:38:28] local.INFO: Extracted packet for processing {"connection_id":174489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07175"} 
[2026-09-05 17:38:28] local.INFO: GPS Element Parsed {"raw_longitude":744233600,"raw_latitude":144309184,"longitude_deg":74.42336,"latitude_deg":14.4309184,"altitude":11,"angle":34,"satellites":44,"speed":17,"hex_longitude":"2c5c1a80","hex_latitude":"0899fbc0","is_valid_coordinates":true} 
[2026-09-05 17:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884145664001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1509917227745280,"note":"Value kept but may cause issues"} 
[2026-09-05 17:38:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6636757775315353600,"note":"Value kept but may cause issues"} 
[2026-09-05 17:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788609944000,"timestamp_ms":1788609944000,"timestamp_seconds":1788609944,"priority":1,"record_length":96,"hex_timestamp":"000001a07175d9c0"} 
[2026-09-05 17:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 17:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174489,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174489,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.210.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 17:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 17:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884145664001,"66":28104,"162":206,"9":56064,"24":17,"16":1509917227745280,"44":6636757775315353600},"client_ip":"117.224.210.205","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,9,24,16,44]} 
[2026-09-05 17:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 17:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 17:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884145664001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:38:28] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-09-05 17:38:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 17:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1509917227745280,"km_value":1509917227745.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:38:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":6636757775315353600,"description":"Unknown IO ID 44"} 
[2026-09-05 17:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884145664001,"power":28104,"unknown_162":206,"unknown_9":56064,"ignition":17,"odometer":null,"unknown_44":6636757775315353600}} 
[2026-09-05 17:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":174489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770250,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:38:28] local.INFO: GPS data processed {"connection_id":174489,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:38:28] local.INFO: Acknowledgment sent {"connection_id":174489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:38:33] local.INFO: TCP Data received {"connection_id":173163,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a071751a58012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071751a58012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:38:33] local.INFO: Processing buffer {"connection_id":173163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071751a58012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:38:33] local.INFO: Packet analysis {"connection_id":173163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07175"} 
[2026-09-05 17:38:33] local.INFO: Extracted packet for processing {"connection_id":173163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07175"} 
[2026-09-05 17:38:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884056064001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788609895000,"timestamp_ms":1788609895000,"timestamp_seconds":1788609895,"priority":1,"record_length":96,"hex_timestamp":"000001a071751a58"} 
[2026-09-05 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-09-05 17:38: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-09-05 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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-05 17:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 17:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884056064001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884056064001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:38:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:38:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884056064001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":173163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:38:33] local.INFO: GPS data processed {"connection_id":173163,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:38:33] local.INFO: Acknowledgment sent {"connection_id":173163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:38:43] local.INFO: TCP Data received {"connection_id":171783,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:38:43] local.INFO: Processing buffer {"connection_id":171783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:38:43] local.INFO: IMEI packet received {"connection_id":171783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":171783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:38:44] local.INFO: TCP Data received {"connection_id":171783,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:38:44] local.INFO: Processing buffer {"connection_id":171783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:38:44] local.INFO: IMEI packet received {"connection_id":171783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":171783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:38:47] local.INFO: TCP Data received {"connection_id":174490,"ip":"117.224.210.205","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174490,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:38:47] local.INFO: Processing buffer {"connection_id":174490,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:38:47] local.INFO: IMEI packet received {"connection_id":174490,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 17:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":174490,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:38:47] local.INFO: TCP Data received {"connection_id":171783,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:38:47] local.INFO: Processing buffer {"connection_id":171783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:38:47] local.INFO: IMEI packet received {"connection_id":171783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":171783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:38:48] local.INFO: TCP Data received {"connection_id":171783,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071777000012d1952c0072008d8003500c523..."} 
[2026-09-05 17:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071777000012d1952c0072008d8003500c523..."} 
[2026-09-05 17:38:48] local.INFO: Processing buffer {"connection_id":171783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071777000012d1952c0072008d8003500c523..."} 
[2026-09-05 17:38:48] local.INFO: Packet analysis {"connection_id":171783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07177"} 
[2026-09-05 17:38:48] local.INFO: Extracted packet for processing {"connection_id":171783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07177"} 
[2026-09-05 17:38:48] local.INFO: GPS Element Parsed {"raw_longitude":756634304,"raw_latitude":119539928,"longitude_deg":75.6634304,"latitude_deg":11.9539928,"altitude":53,"angle":197,"satellites":35,"speed":11,"hex_longitude":"2d1952c0","hex_latitude":"072008d8","is_valid_coordinates":true} 
[2026-09-05 17:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884172032001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18032549041274880,"note":"Value kept but may cause issues"} 
[2026-09-05 17:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824872673361647616,"note":"Value kept but may cause issues"} 
[2026-09-05 17:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788610048000,"timestamp_ms":1788610048000,"timestamp_seconds":1788610048,"priority":1,"record_length":96,"hex_timestamp":"000001a071777000"} 
[2026-09-05 17:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:38: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-09-05 17:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-05 17:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":171783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":171783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":171783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884172032001,"66":13472,"102":206,"83":41984,"24":11,"16":18032549041274880,"45":1824872673361647616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884172032001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:38:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:38:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18032549041274880,"km_value":18032549041274.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824872673361647616,"description":"Unknown IO ID 45"} 
[2026-09-05 17:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884172032001,"power":13472,"unknown_102":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1824872673361647616}} 
[2026-09-05 17:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":171783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:38:48] local.INFO: GPS data processed {"connection_id":171783,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:38:48] local.INFO: Acknowledgment sent {"connection_id":171783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:38:49] local.INFO: TCP Data received {"connection_id":174490,"ip":"117.224.210.205","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174490,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:38:49] local.INFO: Processing buffer {"connection_id":174490,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:38:49] local.INFO: IMEI packet received {"connection_id":174490,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 17:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":174490,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:38:51] local.INFO: TCP Data received {"connection_id":171780,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07177ae800100000000000000000000000000..."} 
[2026-09-05 17:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07177ae800100000000000000000000000000..."} 
[2026-09-05 17:38:51] local.INFO: Processing buffer {"connection_id":171780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07177ae800100000000000000000000000000..."} 
[2026-09-05 17:38:51] local.INFO: Packet analysis {"connection_id":171780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07177"} 
[2026-09-05 17:38:51] local.INFO: Extracted packet for processing {"connection_id":171780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07177"} 
[2026-09-05 17:38:51] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 17:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128601233626759168,"note":"Value kept but may cause issues"} 
[2026-09-05 17:38:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,231,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 17:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788610064000,"timestamp_ms":1788610064000,"timestamp_seconds":1788610064,"priority":1,"record_length":96,"hex_timestamp":"000001a07177ae80"} 
[2026-09-05 17:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:38:51] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-05 17:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":171780,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 17:38:51] local.INFO: GPS data processed {"connection_id":171780,"processed":0,"errors":0,"total":1} 
[2026-09-05 17:38:51] local.INFO: Acknowledgment sent {"connection_id":171780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:38:52] local.INFO: TCP Data received {"connection_id":174490,"ip":"117.224.210.205","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174490,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:38:52] local.INFO: Processing buffer {"connection_id":174490,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:38:52] local.INFO: IMEI packet received {"connection_id":174490,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 17:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":174490,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:38:53] local.INFO: TCP Data received {"connection_id":174490,"ip":"117.224.210.205","data_length":795,"data_hex":"000000000000030f8e0a000001a071762bc8012c5c2e00089a17b0000c00202d..."} 
[2026-09-05 17:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071762bc8012c5c2e00089a17b0000c00202d..."} 
[2026-09-05 17:38:53] local.INFO: Processing buffer {"connection_id":174490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071762bc8012c5c2e00089a17b0000c00202d..."} 
[2026-09-05 17:38:53] local.INFO: Packet analysis {"connection_id":174490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07176"} 
[2026-09-05 17:38:53] local.INFO: Extracted packet for processing {"connection_id":174490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07176"} 
[2026-09-05 17:38:53] local.INFO: GPS Element Parsed {"raw_longitude":744238592,"raw_latitude":144316336,"longitude_deg":74.4238592,"latitude_deg":14.4316336,"altitude":12,"angle":32,"satellites":45,"speed":19,"hex_longitude":"2c5c2e00","hex_latitude":"089a17b0","is_valid_coordinates":true} 
[2026-09-05 17:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884145664001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1510333839572992,"note":"Value kept but may cause issues"} 
[2026-09-05 17:38:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6636757775315353600,"note":"Value kept but may cause issues"} 
[2026-09-05 17:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788609965000,"timestamp_ms":1788609965000,"timestamp_seconds":1788609965,"priority":1,"record_length":96,"hex_timestamp":"000001a071762bc8"} 
[2026-09-05 17:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 17:38:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:38:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:38:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.210.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 17:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 17:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884145664001,"66":28050,"162":206,"9":56064,"24":19,"16":1510333839572992,"44":6636757775315353600},"client_ip":"117.224.210.205","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,9,24,16,44]} 
[2026-09-05 17:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 17:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 17:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884145664001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:38:53] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-09-05 17:38:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 17:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1510333839572992,"km_value":1510333839572.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:38:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":6636757775315353600,"description":"Unknown IO ID 44"} 
[2026-09-05 17:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884145664001,"power":28050,"unknown_162":206,"unknown_9":56064,"ignition":19,"odometer":null,"unknown_44":6636757775315353600}} 
[2026-09-05 17:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":174490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770253,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:38:53] local.INFO: GPS data processed {"connection_id":174490,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:38:53] local.INFO: Acknowledgment sent {"connection_id":174490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:38:56] local.INFO: TCP Data received {"connection_id":174491,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:38:56] local.INFO: Processing buffer {"connection_id":174491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:38:56] local.INFO: IMEI packet received {"connection_id":174491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":174491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:39:01] local.INFO: TCP Data received {"connection_id":174491,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:39:01] local.INFO: Processing buffer {"connection_id":174491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:39:01] local.INFO: IMEI packet received {"connection_id":174491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":174491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:39:02] local.INFO: TCP Data received {"connection_id":174491,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071751a58012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071751a58012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:39:02] local.INFO: Processing buffer {"connection_id":174491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071751a58012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:39:02] local.INFO: Packet analysis {"connection_id":174491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07175"} 
[2026-09-05 17:39:02] local.INFO: Extracted packet for processing {"connection_id":174491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07175"} 
[2026-09-05 17:39:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884056064001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788609895000,"timestamp_ms":1788609895000,"timestamp_seconds":1788609895,"priority":1,"record_length":96,"hex_timestamp":"000001a071751a58"} 
[2026-09-05 17:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:39:02] 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-09-05 17: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-05 17:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884056064001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884056064001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:39:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:39:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884056064001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":174491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:39:02] local.INFO: GPS data processed {"connection_id":174491,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:39:02] local.INFO: Acknowledgment sent {"connection_id":174491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:39:19] local.INFO: TCP Data received {"connection_id":171783,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071779710012d194f80071ffcb0003700d024..."} 
[2026-09-05 17:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071779710012d194f80071ffcb0003700d024..."} 
[2026-09-05 17:39:19] local.INFO: Processing buffer {"connection_id":171783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071779710012d194f80071ffcb0003700d024..."} 
[2026-09-05 17:39:19] local.INFO: Packet analysis {"connection_id":171783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07177"} 
[2026-09-05 17:39:19] local.INFO: Extracted packet for processing {"connection_id":171783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07177"} 
[2026-09-05 17:39:19] local.INFO: GPS Element Parsed {"raw_longitude":756633472,"raw_latitude":119536816,"longitude_deg":75.6633472,"latitude_deg":11.9536816,"altitude":55,"angle":208,"satellites":36,"speed":7,"hex_longitude":"2d194f80","hex_latitude":"071ffcb0","is_valid_coordinates":true} 
[2026-09-05 17:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884172288001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18032707955064832,"note":"Value kept but may cause issues"} 
[2026-09-05 17:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824731935873226752,"note":"Value kept but may cause issues"} 
[2026-09-05 17:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788610058000,"timestamp_ms":1788610058000,"timestamp_seconds":1788610058,"priority":1,"record_length":96,"hex_timestamp":"000001a071779710"} 
[2026-09-05 17:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-05 17:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:39:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":171783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":171783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":171783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884172288001,"66":13863,"102":206,"83":41984,"24":7,"16":18032707955064832,"45":1824731935873226752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884172288001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:39:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:39:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18032707955064832,"km_value":18032707955064.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824731935873226752,"description":"Unknown IO ID 45"} 
[2026-09-05 17:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884172288001,"power":13863,"unknown_102":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1824731935873226752}} 
[2026-09-05 17:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":171783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:39:19] local.INFO: GPS data processed {"connection_id":171783,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:39:19] local.INFO: Acknowledgment sent {"connection_id":171783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:39:23] local.INFO: TCP Data received {"connection_id":171780,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0717800880100000000000000000000000000..."} 
[2026-09-05 17:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717800880100000000000000000000000000..."} 
[2026-09-05 17:39:23] local.INFO: Processing buffer {"connection_id":171780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717800880100000000000000000000000000..."} 
[2026-09-05 17:39:23] local.INFO: Packet analysis {"connection_id":171780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07178"} 
[2026-09-05 17:39:23] local.INFO: Extracted packet for processing {"connection_id":171780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07178"} 
[2026-09-05 17:39:23] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 17:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128601233626759168,"note":"Value kept but may cause issues"} 
[2026-09-05 17:39:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,231,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 17:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788610085000,"timestamp_ms":1788610085000,"timestamp_seconds":1788610085,"priority":1,"record_length":96,"hex_timestamp":"000001a071780088"} 
[2026-09-05 17:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:39:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4864,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-05 17:39: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-09-05 17:39:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":171780,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 17:39:23] local.INFO: GPS data processed {"connection_id":171780,"processed":0,"errors":0,"total":1} 
[2026-09-05 17:39:23] local.INFO: Acknowledgment sent {"connection_id":171780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:39:24] local.INFO: TCP Data received {"connection_id":174490,"ip":"117.224.210.205","data_length":795,"data_hex":"000000000000030f8e0a000001a071767218012c5c40c0089a35d0000d001f30..."} 
[2026-09-05 17:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071767218012c5c40c0089a35d0000d001f30..."} 
[2026-09-05 17:39:24] local.INFO: Processing buffer {"connection_id":174490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071767218012c5c40c0089a35d0000d001f30..."} 
[2026-09-05 17:39:24] local.INFO: Packet analysis {"connection_id":174490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07176"} 
[2026-09-05 17:39:24] local.INFO: Extracted packet for processing {"connection_id":174490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07176"} 
[2026-09-05 17:39:24] local.INFO: GPS Element Parsed {"raw_longitude":744243392,"raw_latitude":144324048,"longitude_deg":74.4243392,"latitude_deg":14.4324048,"altitude":13,"angle":31,"satellites":48,"speed":25,"hex_longitude":"2c5c40c0","hex_latitude":"089a35d0","is_valid_coordinates":true} 
[2026-09-05 17:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884151040001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1510771926237184,"note":"Value kept but may cause issues"} 
[2026-09-05 17:39:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6642246537363042304,"note":"Value kept but may cause issues"} 
[2026-09-05 17:39:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788609983000,"timestamp_ms":1788609983000,"timestamp_seconds":1788609983,"priority":1,"record_length":96,"hex_timestamp":"000001a071767218"} 
[2026-09-05 17:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:39:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 17:39:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:39:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.210.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 17:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 17:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884151040001,"66":28071,"162":206,"9":56064,"24":25,"16":1510771926237184,"44":6642246537363042304},"client_ip":"117.224.210.205","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,9,24,16,44]} 
[2026-09-05 17:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 17:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 17:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884151040001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:39:24] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-09-05 17:39:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 17:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1510771926237184,"km_value":1510771926237.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:39:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":6642246537363042304,"description":"Unknown IO ID 44"} 
[2026-09-05 17:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884151040001,"power":28071,"unknown_162":206,"unknown_9":56064,"ignition":25,"odometer":null,"unknown_44":6642246537363042304}} 
[2026-09-05 17:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":174490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770256,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:39:24] local.INFO: GPS data processed {"connection_id":174490,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:39:24] local.INFO: Acknowledgment sent {"connection_id":174490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:39:33] local.INFO: TCP Data received {"connection_id":174491,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071751a58012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071751a58012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:39:33] local.INFO: Processing buffer {"connection_id":174491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071751a58012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:39:33] local.INFO: Packet analysis {"connection_id":174491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07175"} 
[2026-09-05 17:39:33] local.INFO: Extracted packet for processing {"connection_id":174491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07175"} 
[2026-09-05 17:39:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884056064001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788609895000,"timestamp_ms":1788609895000,"timestamp_seconds":1788609895,"priority":1,"record_length":96,"hex_timestamp":"000001a071751a58"} 
[2026-09-05 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-09-05 17: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-09-05 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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-05 17:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 17:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884056064001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884056064001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:39:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:39:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884056064001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":174491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:39:33] local.INFO: GPS data processed {"connection_id":174491,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:39:33] local.INFO: Acknowledgment sent {"connection_id":174491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:39:45] local.INFO: TCP Data received {"connection_id":172056,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:39:45] local.INFO: Processing buffer {"connection_id":172056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:39:45] local.INFO: IMEI packet received {"connection_id":172056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":172056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:39:49] local.INFO: TCP Data received {"connection_id":172056,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:39:49] local.INFO: Processing buffer {"connection_id":172056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:39:49] local.INFO: IMEI packet received {"connection_id":172056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":172056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:39:50] local.INFO: TCP Data received {"connection_id":172056,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07177c5f0012d194ec0071ffa88003700b924..."} 
[2026-09-05 17:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07177c5f0012d194ec0071ffa88003700b924..."} 
[2026-09-05 17:39:50] local.INFO: Processing buffer {"connection_id":172056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07177c5f0012d194ec0071ffa88003700b924..."} 
[2026-09-05 17:39:50] local.INFO: Packet analysis {"connection_id":172056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07177"} 
[2026-09-05 17:39:50] local.INFO: Extracted packet for processing {"connection_id":172056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07177"} 
[2026-09-05 17:39:50] local.INFO: GPS Element Parsed {"raw_longitude":756633280,"raw_latitude":119536264,"longitude_deg":75.663328,"latitude_deg":11.9536264,"altitude":55,"angle":185,"satellites":36,"speed":4,"hex_longitude":"2d194ec0","hex_latitude":"071ffa88","is_valid_coordinates":true} 
[2026-09-05 17:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884174848001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18032738019835904,"note":"Value kept but may cause issues"} 
[2026-09-05 17:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823817142198120448,"note":"Value kept but may cause issues"} 
[2026-09-05 17:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788610070000,"timestamp_ms":1788610070000,"timestamp_seconds":1788610070,"priority":1,"record_length":96,"hex_timestamp":"000001a07177c5f0"} 
[2026-09-05 17:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-09-05 17:39:50] 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-09-05 17:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884174848001,"66":13363,"102":206,"83":41984,"24":4,"16":18032738019835904,"45":1823817142198120448},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884174848001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:39:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:39:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18032738019835904,"km_value":18032738019835.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823817142198120448,"description":"Unknown IO ID 45"} 
[2026-09-05 17:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884174848001,"power":13363,"unknown_102":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1823817142198120448}} 
[2026-09-05 17:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":172056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:39:50] local.INFO: GPS data processed {"connection_id":172056,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:39:50] local.INFO: Acknowledgment sent {"connection_id":172056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:39:55] local.INFO: TCP Data received {"connection_id":171780,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0717852900100000000000000000000000000..."} 
[2026-09-05 17:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717852900100000000000000000000000000..."} 
[2026-09-05 17:39:55] local.INFO: Processing buffer {"connection_id":171780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717852900100000000000000000000000000..."} 
[2026-09-05 17:39:55] local.INFO: Packet analysis {"connection_id":171780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07178"} 
[2026-09-05 17:39:55] local.INFO: Extracted packet for processing {"connection_id":171780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07178"} 
[2026-09-05 17:39:55] 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-09-05 17:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128601233626759168,"note":"Value kept but may cause issues"} 
[2026-09-05 17:39:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,231,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 17:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788610106000,"timestamp_ms":1788610106000,"timestamp_seconds":1788610106,"priority":1,"record_length":96,"hex_timestamp":"000001a071785290"} 
[2026-09-05 17:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5632,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-05 17:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":171780,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 17:39:55] local.INFO: GPS data processed {"connection_id":171780,"processed":0,"errors":0,"total":1} 
[2026-09-05 17:39:55] local.INFO: Acknowledgment sent {"connection_id":171780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:39:56] local.INFO: TCP Data received {"connection_id":173164,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:39:56] local.INFO: Processing buffer {"connection_id":173164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:39:56] local.INFO: IMEI packet received {"connection_id":173164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":173164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:40:01] local.INFO: TCP Data received {"connection_id":173164,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:40:01] local.INFO: Processing buffer {"connection_id":173164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:40:01] local.INFO: IMEI packet received {"connection_id":173164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":173164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:40:02] local.INFO: TCP Data received {"connection_id":173164,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071751a58012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071751a58012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:40:02] local.INFO: Processing buffer {"connection_id":173164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071751a58012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:40:02] local.INFO: Packet analysis {"connection_id":173164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07175"} 
[2026-09-05 17:40:02] local.INFO: Extracted packet for processing {"connection_id":173164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07175"} 
[2026-09-05 17:40:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884056064001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788609895000,"timestamp_ms":1788609895000,"timestamp_seconds":1788609895,"priority":1,"record_length":96,"hex_timestamp":"000001a071751a58"} 
[2026-09-05 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-09-05 17:40:02] 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-09-05 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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-05 17:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 17:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884056064001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884056064001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:40:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:40:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884056064001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":173164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:40:02] local.INFO: GPS data processed {"connection_id":173164,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:40:02] local.INFO: Acknowledgment sent {"connection_id":173164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:40:21] local.INFO: TCP Data received {"connection_id":172056,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07177cdc0012d194f40071ff918003700a324..."} 
[2026-09-05 17:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07177cdc0012d194f40071ff918003700a324..."} 
[2026-09-05 17:40:21] local.INFO: Processing buffer {"connection_id":172056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07177cdc0012d194f40071ff918003700a324..."} 
[2026-09-05 17:40:21] local.INFO: Packet analysis {"connection_id":172056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07177"} 
[2026-09-05 17:40:21] local.INFO: Extracted packet for processing {"connection_id":172056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07177"} 
[2026-09-05 17:40:21] local.INFO: GPS Element Parsed {"raw_longitude":756633408,"raw_latitude":119535896,"longitude_deg":75.6633408,"latitude_deg":11.9535896,"altitude":55,"angle":163,"satellites":36,"speed":9,"hex_longitude":"2d194f40","hex_latitude":"071ff918","is_valid_coordinates":true} 
[2026-09-05 17:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884177920001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18032755199705088,"note":"Value kept but may cause issues"} 
[2026-09-05 17:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823606035965446144,"note":"Value kept but may cause issues"} 
[2026-09-05 17:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788610072000,"timestamp_ms":1788610072000,"timestamp_seconds":1788610072,"priority":1,"record_length":96,"hex_timestamp":"000001a07177cdc0"} 
[2026-09-05 17:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-05 17:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884177920001,"66":13341,"102":206,"83":41984,"24":9,"16":18032755199705088,"45":1823606035965446144},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884177920001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:40:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:40:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18032755199705088,"km_value":18032755199705.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823606035965446144,"description":"Unknown IO ID 45"} 
[2026-09-05 17:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884177920001,"power":13341,"unknown_102":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1823606035965446144}} 
[2026-09-05 17:40:22] local.INFO: TCP Data received {"connection_id":171784,"ip":"117.224.210.205","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171784,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:40:22] local.INFO: Processing buffer {"connection_id":171784,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:40:22] local.INFO: IMEI packet received {"connection_id":171784,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 17:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":171784,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":172056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:40:22] local.INFO: GPS data processed {"connection_id":172056,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:40:22] local.INFO: Acknowledgment sent {"connection_id":172056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:40:27] local.INFO: TCP Data received {"connection_id":171784,"ip":"117.224.210.205","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171784,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:40:27] local.INFO: Processing buffer {"connection_id":171784,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:40:27] local.INFO: IMEI packet received {"connection_id":171784,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 17:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":171784,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:40:29] local.INFO: TCP Data received {"connection_id":171784,"ip":"117.224.210.205","data_length":795,"data_hex":"000000000000030f8e0a000001a071789cc8012c5d3600089b3cc0001a003b2d..."} 
[2026-09-05 17:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071789cc8012c5d3600089b3cc0001a003b2d..."} 
[2026-09-05 17:40:29] local.INFO: Processing buffer {"connection_id":171784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071789cc8012c5d3600089b3cc0001a003b2d..."} 
[2026-09-05 17:40:29] local.INFO: Packet analysis {"connection_id":171784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07178"} 
[2026-09-05 17:40:29] local.INFO: Extracted packet for processing {"connection_id":171784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07178"} 
[2026-09-05 17:40:29] local.INFO: GPS Element Parsed {"raw_longitude":744306176,"raw_latitude":144391360,"longitude_deg":74.4306176,"latitude_deg":14.439136,"altitude":26,"angle":59,"satellites":45,"speed":35,"hex_longitude":"2c5d3600","hex_latitude":"089b3cc0","is_valid_coordinates":true} 
[2026-09-05 17:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884189440001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1515268756996096,"note":"Value kept but may cause issues"} 
[2026-09-05 17:40:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6707619100722065408,"note":"Value kept but may cause issues"} 
[2026-09-05 17:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788610125000,"timestamp_ms":1788610125000,"timestamp_seconds":1788610125,"priority":1,"record_length":96,"hex_timestamp":"000001a071789cc8"} 
[2026-09-05 17:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-05 17:40:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:40:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":171784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":171784,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":171784,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.210.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 17:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 17:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884189440001,"66":28028,"208":206,"9":56064,"24":35,"16":1515268756996096,"44":6707619100722065408},"client_ip":"117.224.210.205","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,9,24,16,44]} 
[2026-09-05 17:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 17:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 17:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884189440001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:40:29] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 17:40:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 17:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1515268756996096,"km_value":1515268756996.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:40:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":6707619100722065408,"description":"Unknown IO ID 44"} 
[2026-09-05 17:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884189440001,"power":28028,"unknown_208":206,"unknown_9":56064,"ignition":35,"odometer":null,"unknown_44":6707619100722065408}} 
[2026-09-05 17:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":171784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770261,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:40:29] local.INFO: GPS data processed {"connection_id":171784,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:40:29] local.INFO: Acknowledgment sent {"connection_id":171784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:40:33] local.INFO: TCP Data received {"connection_id":173164,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071751a58012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071751a58012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:40:33] local.INFO: Processing buffer {"connection_id":173164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071751a58012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:40:33] local.INFO: Packet analysis {"connection_id":173164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07175"} 
[2026-09-05 17:40:33] local.INFO: Extracted packet for processing {"connection_id":173164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07175"} 
[2026-09-05 17:40:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884056064001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788609895000,"timestamp_ms":1788609895000,"timestamp_seconds":1788609895,"priority":1,"record_length":96,"hex_timestamp":"000001a071751a58"} 
[2026-09-05 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-09-05 17: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-09-05 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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-05 17:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 17:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884056064001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884056064001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:40:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:40:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884056064001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":173164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:40:33] local.INFO: GPS data processed {"connection_id":173164,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:40:33] local.INFO: Acknowledgment sent {"connection_id":173164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:40:44] local.INFO: TCP Data received {"connection_id":173165,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:40:44] local.INFO: Processing buffer {"connection_id":173165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:40:44] local.INFO: IMEI packet received {"connection_id":173165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":173165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:40:48] local.INFO: TCP Data received {"connection_id":174492,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:40:48] local.INFO: Processing buffer {"connection_id":174492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:40:48] local.INFO: IMEI packet received {"connection_id":174492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 17:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":174492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:40:49] local.INFO: TCP Data received {"connection_id":173165,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:40:49] local.INFO: Processing buffer {"connection_id":173165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:40:49] local.INFO: IMEI packet received {"connection_id":173165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":173165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:40:50] local.INFO: TCP Data received {"connection_id":173165,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07177d590012d195000071ff7280037008f23..."} 
[2026-09-05 17:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07177d590012d195000071ff7280037008f23..."} 
[2026-09-05 17:40:50] local.INFO: Processing buffer {"connection_id":173165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07177d590012d195000071ff7280037008f23..."} 
[2026-09-05 17:40:50] local.INFO: Packet analysis {"connection_id":173165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07177"} 
[2026-09-05 17:40:50] local.INFO: Extracted packet for processing {"connection_id":173165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07177"} 
[2026-09-05 17:40:50] local.INFO: GPS Element Parsed {"raw_longitude":756633600,"raw_latitude":119535400,"longitude_deg":75.66336,"latitude_deg":11.95354,"altitude":55,"angle":143,"satellites":35,"speed":13,"hex_longitude":"2d195000","hex_latitude":"071ff728","is_valid_coordinates":true} 
[2026-09-05 17:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884178432001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18032780969508864,"note":"Value kept but may cause issues"} 
[2026-09-05 17:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823746773453707264,"note":"Value kept but may cause issues"} 
[2026-09-05 17:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788610074000,"timestamp_ms":1788610074000,"timestamp_seconds":1788610074,"priority":1,"record_length":96,"hex_timestamp":"000001a07177d590"} 
[2026-09-05 17:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-05 17:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:40:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884178432001,"66":13015,"102":206,"83":41984,"24":13,"16":18032780969508864,"45":1823746773453707264},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884178432001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:40:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:40:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18032780969508864,"km_value":18032780969508.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823746773453707264,"description":"Unknown IO ID 45"} 
[2026-09-05 17:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884178432001,"power":13015,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1823746773453707264}} 
[2026-09-05 17:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":173165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:40:50] local.INFO: GPS data processed {"connection_id":173165,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:40:50] local.INFO: Acknowledgment sent {"connection_id":173165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:40:52] local.INFO: TCP Data received {"connection_id":171785,"ip":"117.224.210.205","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:40:52] local.INFO: Processing buffer {"connection_id":171785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:40:52] local.INFO: IMEI packet received {"connection_id":171785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 17:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":171785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:40:54] local.INFO: TCP Data received {"connection_id":174492,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:40:54] local.INFO: Processing buffer {"connection_id":174492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:40:54] local.INFO: IMEI packet received {"connection_id":174492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 17:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":174492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:40:55] local.INFO: TCP Data received {"connection_id":174493,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:40:55] local.INFO: Processing buffer {"connection_id":174493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:40:55] local.INFO: IMEI packet received {"connection_id":174493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":174493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:41:01] local.INFO: TCP Data received {"connection_id":174493,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:41:01] local.INFO: Processing buffer {"connection_id":174493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:41:01] local.INFO: IMEI packet received {"connection_id":174493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":174493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:41:01] local.INFO: TCP Data received {"connection_id":174492,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:41:01] local.INFO: Processing buffer {"connection_id":174492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:41:01] local.INFO: IMEI packet received {"connection_id":174492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 17:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":174492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:41:02] local.INFO: TCP Data received {"connection_id":174492,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:41:02] local.INFO: Processing buffer {"connection_id":174492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:41:02] local.INFO: IMEI packet received {"connection_id":174492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 17:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":174492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:41:02] local.INFO: TCP Data received {"connection_id":174493,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07179b220012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07179b220012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:41:02] local.INFO: Processing buffer {"connection_id":174493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07179b220012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:41:02] local.INFO: Packet analysis {"connection_id":174493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07179"} 
[2026-09-05 17:41:02] local.INFO: Extracted packet for processing {"connection_id":174493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07179"} 
[2026-09-05 17:41:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884133120001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788610196000,"timestamp_ms":1788610196000,"timestamp_seconds":1788610196,"priority":1,"record_length":96,"hex_timestamp":"000001a07179b220"} 
[2026-09-05 17:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:41:02] 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-09-05 17: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 17:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884133120001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884133120001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:41:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:41:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884133120001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":174493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:41:02] local.INFO: GPS data processed {"connection_id":174493,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:41:02] local.INFO: Acknowledgment sent {"connection_id":174493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:41:06] local.INFO: TCP Data received {"connection_id":171785,"ip":"117.224.210.205","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:41:06] local.INFO: Processing buffer {"connection_id":171785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:41:06] local.INFO: IMEI packet received {"connection_id":171785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 17:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":171785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:41:09] local.INFO: TCP Data received {"connection_id":171785,"ip":"117.224.210.205","data_length":795,"data_hex":"000000000000030f8e0a000001a07178c3d8012c5d5800089b4da0001700462d..."} 
[2026-09-05 17:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07178c3d8012c5d5800089b4da0001700462d..."} 
[2026-09-05 17:41:09] local.INFO: Processing buffer {"connection_id":171785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07178c3d8012c5d5800089b4da0001700462d..."} 
[2026-09-05 17:41:09] local.INFO: Packet analysis {"connection_id":171785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07178"} 
[2026-09-05 17:41:09] local.INFO: Extracted packet for processing {"connection_id":171785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07178"} 
[2026-09-05 17:41:09] local.INFO: GPS Element Parsed {"raw_longitude":744314880,"raw_latitude":144395680,"longitude_deg":74.431488,"latitude_deg":14.439568,"altitude":23,"angle":70,"satellites":45,"speed":41,"hex_longitude":"2c5d5800","hex_latitude":"089b4da0","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884192000001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1515728318496768,"note":"Value kept but may cause issues"} 
[2026-09-05 17:41:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6716555931233861632,"note":"Value kept but may cause issues"} 
[2026-09-05 17:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788610135000,"timestamp_ms":1788610135000,"timestamp_seconds":1788610135,"priority":1,"record_length":96,"hex_timestamp":"000001a07178c3d8"} 
[2026-09-05 17:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-05 17:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.210.205","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 17:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 17:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884192000001,"66":27887,"208":206,"9":56064,"24":41,"16":1515728318496768,"44":6716555931233861632},"client_ip":"117.224.210.205","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,9,24,16,44]} 
[2026-09-05 17:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 17:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 17:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884192000001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:41:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-05 17:41:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 17:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1515728318496768,"km_value":1515728318496.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:41:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":6716555931233861632,"description":"Unknown IO ID 44"} 
[2026-09-05 17:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884192000001,"power":27887,"unknown_208":206,"unknown_9":56064,"ignition":41,"odometer":null,"unknown_44":6716555931233861632}} 
[2026-09-05 17:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":171785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770265,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:41:09] local.INFO: GPS data processed {"connection_id":171785,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:41:09] local.INFO: Acknowledgment sent {"connection_id":171785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:41:21] local.INFO: TCP Data received {"connection_id":173165,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07177d978012d195140071ff6380037008423..."} 
[2026-09-05 17:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07177d978012d195140071ff6380037008423..."} 
[2026-09-05 17:41:21] local.INFO: Processing buffer {"connection_id":173165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07177d978012d195140071ff6380037008423..."} 
[2026-09-05 17:41:21] local.INFO: Packet analysis {"connection_id":173165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07177"} 
[2026-09-05 17:41:21] local.INFO: Extracted packet for processing {"connection_id":173165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07177"} 
[2026-09-05 17:41:21] local.INFO: GPS Element Parsed {"raw_longitude":756633920,"raw_latitude":119535160,"longitude_deg":75.663392,"latitude_deg":11.953516,"altitude":55,"angle":132,"satellites":35,"speed":14,"hex_longitude":"2d195140","hex_latitude":"071ff638","is_valid_coordinates":true} 
[2026-09-05 17:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884178944001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18032798149378048,"note":"Value kept but may cause issues"} 
[2026-09-05 17:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823957879686113280,"note":"Value kept but may cause issues"} 
[2026-09-05 17:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788610075000,"timestamp_ms":1788610075000,"timestamp_seconds":1788610075,"priority":1,"record_length":96,"hex_timestamp":"000001a07177d978"} 
[2026-09-05 17:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:41: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-09-05 17:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-05 17:41:21] 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-09-05 17:41:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884178944001,"66":13298,"102":206,"83":41984,"24":14,"16":18032798149378048,"45":1823957879686113280},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884178944001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:41:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:41:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18032798149378048,"km_value":18032798149378.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823957879686113280,"description":"Unknown IO ID 45"} 
[2026-09-05 17:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884178944001,"power":13298,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1823957879686113280}} 
[2026-09-05 17:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":173165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:41:21] local.INFO: GPS data processed {"connection_id":173165,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:41:21] local.INFO: Acknowledgment sent {"connection_id":173165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:41:34] local.INFO: TCP Data received {"connection_id":174493,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07179b220012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07179b220012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:41:34] local.INFO: Processing buffer {"connection_id":174493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07179b220012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:41:34] local.INFO: Packet analysis {"connection_id":174493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07179"} 
[2026-09-05 17:41:34] local.INFO: Extracted packet for processing {"connection_id":174493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07179"} 
[2026-09-05 17:41:34] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884133120001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788610196000,"timestamp_ms":1788610196000,"timestamp_seconds":1788610196,"priority":1,"record_length":96,"hex_timestamp":"000001a07179b220"} 
[2026-09-05 17:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:41: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-09-05 17: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 17:41: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-09-05 17: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-09-05 17:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884133120001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884133120001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:41:34] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:41:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884133120001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":174493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:41:34] local.INFO: GPS data processed {"connection_id":174493,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:41:34] local.INFO: Acknowledgment sent {"connection_id":174493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:41:49] local.INFO: TCP Data received {"connection_id":173166,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:41:49] local.INFO: Processing buffer {"connection_id":173166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:41:49] local.INFO: IMEI packet received {"connection_id":173166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":173166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:41:54] local.INFO: TCP Data received {"connection_id":173166,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:41:54] local.INFO: Processing buffer {"connection_id":173166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:41:54] local.INFO: IMEI packet received {"connection_id":173166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":173166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:41:55] local.INFO: TCP Data received {"connection_id":173166,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07177e148012d195340071ff4c80037007624..."} 
[2026-09-05 17:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07177e148012d195340071ff4c80037007624..."} 
[2026-09-05 17:41:55] local.INFO: Processing buffer {"connection_id":173166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07177e148012d195340071ff4c80037007624..."} 
[2026-09-05 17:41:55] local.INFO: Packet analysis {"connection_id":173166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07177"} 
[2026-09-05 17:41:55] local.INFO: Extracted packet for processing {"connection_id":173166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07177"} 
[2026-09-05 17:41:55] local.INFO: GPS Element Parsed {"raw_longitude":756634432,"raw_latitude":119534792,"longitude_deg":75.6634432,"latitude_deg":11.9534792,"altitude":55,"angle":118,"satellites":36,"speed":13,"hex_longitude":"2d195340","hex_latitude":"071ff4c8","is_valid_coordinates":true} 
[2026-09-05 17:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884179200001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18032832509116416,"note":"Value kept but may cause issues"} 
[2026-09-05 17:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824309723406940160,"note":"Value kept but may cause issues"} 
[2026-09-05 17:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788610077000,"timestamp_ms":1788610077000,"timestamp_seconds":1788610077,"priority":1,"record_length":96,"hex_timestamp":"000001a07177e148"} 
[2026-09-05 17:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-09-05 17:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884179200001,"66":13287,"102":206,"83":41984,"24":13,"16":18032832509116416,"45":1824309723406940160},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884179200001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:41:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:41:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18032832509116416,"km_value":18032832509116.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824309723406940160,"description":"Unknown IO ID 45"} 
[2026-09-05 17:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884179200001,"power":13287,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1824309723406940160}} 
[2026-09-05 17:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":173166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:41:55] local.INFO: GPS data processed {"connection_id":173166,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:41:55] local.INFO: Acknowledgment sent {"connection_id":173166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:41:56] local.INFO: TCP Data received {"connection_id":173166,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071780088012d195dc0071ff0a00037006a22..."} 
[2026-09-05 17:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071780088012d195dc0071ff0a00037006a22..."} 
[2026-09-05 17:41:56] local.INFO: Processing buffer {"connection_id":173166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071780088012d195dc0071ff0a00037006a22..."} 
[2026-09-05 17:41:56] local.INFO: Packet analysis {"connection_id":173166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07178"} 
[2026-09-05 17:41:56] local.INFO: Extracted packet for processing {"connection_id":173166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07178"} 
[2026-09-05 17:41:56] local.INFO: GPS Element Parsed {"raw_longitude":756637120,"raw_latitude":119533728,"longitude_deg":75.663712,"latitude_deg":11.9533728,"altitude":55,"angle":106,"satellites":34,"speed":14,"hex_longitude":"2d195dc0","hex_latitude":"071ff0a0","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884179712001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18032969948069888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824872673360267264,"note":"Value kept but may cause issues"} 
[2026-09-05 17:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788610085000,"timestamp_ms":1788610085000,"timestamp_seconds":1788610085,"priority":1,"record_length":96,"hex_timestamp":"000001a071780088"} 
[2026-09-05 17:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17: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":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-09-05 17:41:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884179712001,"66":13048,"102":206,"83":41984,"24":14,"16":18032969948069888,"45":1824872673360267264},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884179712001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:41:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:41:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18032969948069888,"km_value":18032969948069.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824872673360267264,"description":"Unknown IO ID 45"} 
[2026-09-05 17:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884179712001,"power":13048,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1824872673360267264}} 
[2026-09-05 17:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":173166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:41:56] local.INFO: GPS data processed {"connection_id":173166,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:41:56] local.INFO: Acknowledgment sent {"connection_id":173166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:42:01] local.INFO: TCP Data received {"connection_id":171786,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:42:01] local.INFO: Processing buffer {"connection_id":171786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:42:01] local.INFO: IMEI packet received {"connection_id":171786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":171786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:42:06] local.INFO: TCP Data received {"connection_id":171786,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:42:06] local.INFO: Processing buffer {"connection_id":171786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:42:06] local.INFO: IMEI packet received {"connection_id":171786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":171786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:42:06] local.INFO: TCP Data received {"connection_id":171786,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07179b220012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07179b220012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:42:06] local.INFO: Processing buffer {"connection_id":171786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07179b220012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:42:06] local.INFO: Packet analysis {"connection_id":171786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07179"} 
[2026-09-05 17:42:06] local.INFO: Extracted packet for processing {"connection_id":171786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07179"} 
[2026-09-05 17:42:06] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884133120001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788610196000,"timestamp_ms":1788610196000,"timestamp_seconds":1788610196,"priority":1,"record_length":96,"hex_timestamp":"000001a07179b220"} 
[2026-09-05 17:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:42:06] 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-09-05 17:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 17:42: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-09-05 17:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884133120001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884133120001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:42:06] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:42:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884133120001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":171786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:42:06] local.INFO: GPS data processed {"connection_id":171786,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:42:06] local.INFO: Acknowledgment sent {"connection_id":171786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:42:11] local.INFO: TCP Data received {"connection_id":171786,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07179b220012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07179b220012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:42:11] local.INFO: Processing buffer {"connection_id":171786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07179b220012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:42:11] local.INFO: Packet analysis {"connection_id":171786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07179"} 
[2026-09-05 17:42:11] local.INFO: Extracted packet for processing {"connection_id":171786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07179"} 
[2026-09-05 17:42:11] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884133120001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788610196000,"timestamp_ms":1788610196000,"timestamp_seconds":1788610196,"priority":1,"record_length":96,"hex_timestamp":"000001a07179b220"} 
[2026-09-05 17:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:42: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-09-05 17: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 17:42: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-09-05 17: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-09-05 17:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884133120001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884133120001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:42:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:42:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884133120001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":171786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:42:11] local.INFO: GPS data processed {"connection_id":171786,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:42:11] local.INFO: Acknowledgment sent {"connection_id":171786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:42:28] local.INFO: TCP Data received {"connection_id":173166,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071781028012d196380071fef700037005e23..."} 
[2026-09-05 17:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071781028012d196380071fef700037005e23..."} 
[2026-09-05 17:42:28] local.INFO: Processing buffer {"connection_id":173166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071781028012d196380071fef700037005e23..."} 
[2026-09-05 17:42:28] local.INFO: Packet analysis {"connection_id":173166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07178"} 
[2026-09-05 17:42:28] local.INFO: Extracted packet for processing {"connection_id":173166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07178"} 
[2026-09-05 17:42:28] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119533424,"longitude_deg":75.6638592,"latitude_deg":11.9533424,"altitude":55,"angle":94,"satellites":35,"speed":13,"hex_longitude":"2d196380","hex_latitude":"071fef70","is_valid_coordinates":true} 
[2026-09-05 17:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884181760001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033038667546624,"note":"Value kept but may cause issues"} 
[2026-09-05 17:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827828160615456768,"note":"Value kept but may cause issues"} 
[2026-09-05 17:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788610089000,"timestamp_ms":1788610089000,"timestamp_seconds":1788610089,"priority":1,"record_length":96,"hex_timestamp":"000001a071781028"} 
[2026-09-05 17:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-05 17:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884181760001,"66":13287,"102":206,"83":41984,"24":13,"16":18033038667546624,"45":1827828160615456768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884181760001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:42:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:42:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033038667546624,"km_value":18033038667546.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827828160615456768,"description":"Unknown IO ID 45"} 
[2026-09-05 17:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884181760001,"power":13287,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1827828160615456768}} 
[2026-09-05 17:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":173166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:42:28] local.INFO: GPS data processed {"connection_id":173166,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:42:28] local.INFO: Acknowledgment sent {"connection_id":173166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:42:44] local.INFO: TCP Data received {"connection_id":172057,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:42:44] local.INFO: Processing buffer {"connection_id":172057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:42:44] local.INFO: IMEI packet received {"connection_id":172057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":172057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:42:49] local.INFO: TCP Data received {"connection_id":172057,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:42:49] local.INFO: Processing buffer {"connection_id":172057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:42:49] local.INFO: IMEI packet received {"connection_id":172057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":172057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:42:50] local.INFO: TCP Data received {"connection_id":172057,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071786230012d196700071fef080038005723..."} 
[2026-09-05 17:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071786230012d196700071fef080038005723..."} 
[2026-09-05 17:42:50] local.INFO: Processing buffer {"connection_id":172057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071786230012d196700071fef080038005723..."} 
[2026-09-05 17:42:50] local.INFO: Packet analysis {"connection_id":172057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07178"} 
[2026-09-05 17:42:50] local.INFO: Extracted packet for processing {"connection_id":172057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07178"} 
[2026-09-05 17:42:50] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":35,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 17:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884182784001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641731465216,"note":"Value kept but may cause issues"} 
[2026-09-05 17:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788610110000,"timestamp_ms":1788610110000,"timestamp_seconds":1788610110,"priority":1,"record_length":96,"hex_timestamp":"000001a071786230"} 
[2026-09-05 17:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-09-05 17:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884182784001,"66":13254,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1829446641731465216},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884182784001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:42:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:42:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641731465216,"description":"Unknown IO ID 45"} 
[2026-09-05 17:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884182784001,"power":13254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829446641731465216}} 
[2026-09-05 17:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":172057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:42:50] local.INFO: GPS data processed {"connection_id":172057,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:42:50] local.INFO: Acknowledgment sent {"connection_id":172057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:42:51] local.INFO: TCP Data received {"connection_id":173167,"ip":"117.224.253.120","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173167,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:42:51] local.INFO: Processing buffer {"connection_id":173167,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:42:51] local.INFO: IMEI packet received {"connection_id":173167,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 17:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":173167,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:42:52] local.INFO: TCP Data received {"connection_id":173167,"ip":"117.224.253.120","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173167,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:42:52] local.INFO: Processing buffer {"connection_id":173167,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:42:52] local.INFO: IMEI packet received {"connection_id":173167,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 17:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":173167,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:42:55] local.INFO: TCP Data received {"connection_id":172057,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07178b438012d196700071fef080038005724..."} 
[2026-09-05 17:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07178b438012d196700071fef080038005724..."} 
[2026-09-05 17:42:55] local.INFO: Processing buffer {"connection_id":172057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07178b438012d196700071fef080038005724..."} 
[2026-09-05 17:42:55] local.INFO: Packet analysis {"connection_id":172057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07178"} 
[2026-09-05 17:42:55] local.INFO: Extracted packet for processing {"connection_id":172057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07178"} 
[2026-09-05 17:42:55] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 17:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884188160001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788610131000,"timestamp_ms":1788610131000,"timestamp_seconds":1788610131,"priority":1,"record_length":96,"hex_timestamp":"000001a07178b438"} 
[2026-09-05 17:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:42:55] 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-09-05 17:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-05 17:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884188160001,"66":13167,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1830431804149925888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884188160001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:42:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:42:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884188160001,"power":13167,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-09-05 17:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":172057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:42:55] local.INFO: GPS data processed {"connection_id":172057,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:42:55] local.INFO: Acknowledgment sent {"connection_id":172057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:42:56] local.INFO: TCP Data received {"connection_id":173168,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:42:56] local.INFO: Processing buffer {"connection_id":173168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:42:56] local.INFO: IMEI packet received {"connection_id":173168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":173168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:42:57] local.INFO: TCP Data received {"connection_id":173167,"ip":"117.224.253.120","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173167,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:42:57] local.INFO: Processing buffer {"connection_id":173167,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:42:57] local.INFO: IMEI packet received {"connection_id":173167,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 17:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":173167,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:42:59] local.INFO: TCP Data received {"connection_id":173167,"ip":"117.224.253.120","data_length":795,"data_hex":"000000000000030f8e0a000001a0717b9298012c5f8bc0089cdd20000a01392d..."} 
[2026-09-05 17:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717b9298012c5f8bc0089cdd20000a01392d..."} 
[2026-09-05 17:42:59] local.INFO: Processing buffer {"connection_id":173167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717b9298012c5f8bc0089cdd20000a01392d..."} 
[2026-09-05 17:42:59] local.INFO: Packet analysis {"connection_id":173167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0717b"} 
[2026-09-05 17:42:59] local.INFO: Extracted packet for processing {"connection_id":173167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0717b"} 
[2026-09-05 17:42:59] local.INFO: GPS Element Parsed {"raw_longitude":744459200,"raw_latitude":144497952,"longitude_deg":74.44592,"latitude_deg":14.4497952,"altitude":10,"angle":313,"satellites":45,"speed":59,"hex_longitude":"2c5f8bc0","hex_latitude":"089cdd20","is_valid_coordinates":true} 
[2026-09-05 17:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884239872001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1520955293696000,"note":"Value kept but may cause issues"} 
[2026-09-05 17:42:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6893251847889420288,"note":"Value kept but may cause issues"} 
[2026-09-05 17:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788610319000,"timestamp_ms":1788610319000,"timestamp_seconds":1788610319,"priority":1,"record_length":96,"hex_timestamp":"000001a0717b9298"} 
[2026-09-05 17:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 17:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173167,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173167,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.120","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 17:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 17:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884239872001,"66":28104,"207":206,"9":56064,"24":59,"16":1520955293696000,"44":6893251847889420288},"client_ip":"117.224.253.120","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,9,24,16,44]} 
[2026-09-05 17:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 17:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 17:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884239872001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:42:59] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 17:42:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 17:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1520955293696000,"km_value":1520955293696,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:42:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":6893251847889420288,"description":"Unknown IO ID 44"} 
[2026-09-05 17:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884239872001,"power":28104,"unknown_207":206,"unknown_9":56064,"ignition":59,"odometer":null,"unknown_44":6893251847889420288}} 
[2026-09-05 17:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":173167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770275,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:42:59] local.INFO: GPS data processed {"connection_id":173167,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:42:59] local.INFO: Acknowledgment sent {"connection_id":173167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:43:01] local.INFO: TCP Data received {"connection_id":173168,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:43:01] local.INFO: Processing buffer {"connection_id":173168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:43:01] local.INFO: IMEI packet received {"connection_id":173168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":173168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:43:03] local.INFO: TCP Data received {"connection_id":173168,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07179b220012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07179b220012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:43:03] local.INFO: Processing buffer {"connection_id":173168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07179b220012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:43:03] local.INFO: Packet analysis {"connection_id":173168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07179"} 
[2026-09-05 17:43:03] local.INFO: Extracted packet for processing {"connection_id":173168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07179"} 
[2026-09-05 17:43:03] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884133120001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788610196000,"timestamp_ms":1788610196000,"timestamp_seconds":1788610196,"priority":1,"record_length":96,"hex_timestamp":"000001a07179b220"} 
[2026-09-05 17:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:43: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-09-05 17:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 17:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884133120001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884133120001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:43:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:43:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884133120001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":173168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:43:03] local.INFO: GPS data processed {"connection_id":173168,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:43:03] local.INFO: Acknowledgment sent {"connection_id":173168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:43:26] local.INFO: TCP Data received {"connection_id":172057,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071790640012d196700071fef080038005722..."} 
[2026-09-05 17:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071790640012d196700071fef080038005722..."} 
[2026-09-05 17:43:26] local.INFO: Processing buffer {"connection_id":172057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071790640012d196700071fef080038005722..."} 
[2026-09-05 17:43:26] local.INFO: Packet analysis {"connection_id":172057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07179"} 
[2026-09-05 17:43:26] local.INFO: Extracted packet for processing {"connection_id":172057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07179"} 
[2026-09-05 17:43:26] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":34,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 17:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884193536001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788610152000,"timestamp_ms":1788610152000,"timestamp_seconds":1788610152,"priority":1,"record_length":96,"hex_timestamp":"000001a071790640"} 
[2026-09-05 17:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:43:26] 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-09-05 17:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-05 17:43:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884193536001,"66":13091,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1830431804149925888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884193536001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:43:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:43:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884193536001,"power":13091,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-09-05 17:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":172057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:43:26] local.INFO: GPS data processed {"connection_id":172057,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:43:26] local.INFO: Acknowledgment sent {"connection_id":172057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:43:31] local.INFO: TCP Data received {"connection_id":173167,"ip":"117.224.253.120","data_length":795,"data_hex":"000000000000030f8e0a000001a0717badf0012c5f6c80089cf600000d012a2d..."} 
[2026-09-05 17:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717badf0012c5f6c80089cf600000d012a2d..."} 
[2026-09-05 17:43:31] local.INFO: Processing buffer {"connection_id":173167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717badf0012c5f6c80089cf600000d012a2d..."} 
[2026-09-05 17:43:31] local.INFO: Packet analysis {"connection_id":173167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0717b"} 
[2026-09-05 17:43:31] local.INFO: Extracted packet for processing {"connection_id":173167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0717b"} 
[2026-09-05 17:43:31] local.INFO: GPS Element Parsed {"raw_longitude":744451200,"raw_latitude":144504320,"longitude_deg":74.44512,"latitude_deg":14.450432,"altitude":13,"angle":298,"satellites":45,"speed":55,"hex_longitude":"2c5f6c80","hex_latitude":"089cf600","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884241664001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1521444919967744,"note":"Value kept but may cause issues"} 
[2026-09-05 17:43:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6884807598589943808,"note":"Value kept but may cause issues"} 
[2026-09-05 17:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788610326000,"timestamp_ms":1788610326000,"timestamp_seconds":1788610326,"priority":1,"record_length":96,"hex_timestamp":"000001a0717badf0"} 
[2026-09-05 17:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 17:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173167,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173167,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.120","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 17:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 17:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884241664001,"66":28028,"207":206,"9":56064,"24":55,"16":1521444919967744,"44":6884807598589943808},"client_ip":"117.224.253.120","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,9,24,16,44]} 
[2026-09-05 17:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 17:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 17:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884241664001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:43:31] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 17:43:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 17:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1521444919967744,"km_value":1521444919967.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:43:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":6884807598589943808,"description":"Unknown IO ID 44"} 
[2026-09-05 17:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884241664001,"power":28028,"unknown_207":206,"unknown_9":56064,"ignition":55,"odometer":null,"unknown_44":6884807598589943808}} 
[2026-09-05 17:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":173167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770278,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:43:31] local.INFO: GPS data processed {"connection_id":173167,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:43:31] local.INFO: Acknowledgment sent {"connection_id":173167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:43:34] local.INFO: TCP Data received {"connection_id":173168,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07179b220012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07179b220012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:43:34] local.INFO: Processing buffer {"connection_id":173168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07179b220012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:43:34] local.INFO: Packet analysis {"connection_id":173168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07179"} 
[2026-09-05 17:43:34] local.INFO: Extracted packet for processing {"connection_id":173168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07179"} 
[2026-09-05 17:43:34] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884133120001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788610196000,"timestamp_ms":1788610196000,"timestamp_seconds":1788610196,"priority":1,"record_length":96,"hex_timestamp":"000001a07179b220"} 
[2026-09-05 17:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:43: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-09-05 17:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 17:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884133120001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884133120001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:43:34] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:43:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884133120001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":173168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:43:34] local.INFO: GPS data processed {"connection_id":173168,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:43:34] local.INFO: Acknowledgment sent {"connection_id":173168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:43:41] local.INFO: TCP Data received {"connection_id":172058,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:43:41] local.INFO: Processing buffer {"connection_id":172058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:43:41] local.INFO: IMEI packet received {"connection_id":172058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":172058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:43:45] local.INFO: TCP Data received {"connection_id":172058,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:43:45] local.INFO: Processing buffer {"connection_id":172058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:43:45] local.INFO: IMEI packet received {"connection_id":172058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":172058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:43:47] local.INFO: TCP Data received {"connection_id":174494,"ip":"117.224.253.120","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174494,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:43:47] local.INFO: Processing buffer {"connection_id":174494,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:43:47] local.INFO: IMEI packet received {"connection_id":174494,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 17:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":174494,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:43:49] local.INFO: TCP Data received {"connection_id":174494,"ip":"117.224.253.120","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174494,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:43:49] local.INFO: Processing buffer {"connection_id":174494,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:43:49] local.INFO: IMEI packet received {"connection_id":174494,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 17:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":174494,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:43:49] local.INFO: TCP Data received {"connection_id":172058,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:43:49] local.INFO: Processing buffer {"connection_id":172058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:43:49] local.INFO: IMEI packet received {"connection_id":172058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":172058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:43:50] local.INFO: TCP Data received {"connection_id":172058,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071795848012d196700071fef080038005724..."} 
[2026-09-05 17:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071795848012d196700071fef080038005724..."} 
[2026-09-05 17:43:50] local.INFO: Processing buffer {"connection_id":172058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071795848012d196700071fef080038005724..."} 
[2026-09-05 17:43:50] local.INFO: Packet analysis {"connection_id":172058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07179"} 
[2026-09-05 17:43:50] local.INFO: Extracted packet for processing {"connection_id":172058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07179"} 
[2026-09-05 17:43:50] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 17:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884198912001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788610173000,"timestamp_ms":1788610173000,"timestamp_seconds":1788610173,"priority":1,"record_length":96,"hex_timestamp":"000001a071795848"} 
[2026-09-05 17:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-05 17:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884198912001,"66":13015,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1830431804149925888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884198912001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:43:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:43:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884198912001,"power":13015,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-09-05 17:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":172058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:43:50] local.INFO: GPS data processed {"connection_id":172058,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:43:50] local.INFO: Acknowledgment sent {"connection_id":172058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:43:52] local.INFO: TCP Data received {"connection_id":174494,"ip":"117.224.253.120","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174494,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:43:52] local.INFO: Processing buffer {"connection_id":174494,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:43:52] local.INFO: IMEI packet received {"connection_id":174494,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 17:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":174494,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:43:53] local.INFO: TCP Data received {"connection_id":174494,"ip":"117.224.253.120","data_length":795,"data_hex":"000000000000030f8e0a000001a0717badf0012c5f6c80089cf600000d012a2d..."} 
[2026-09-05 17:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717badf0012c5f6c80089cf600000d012a2d..."} 
[2026-09-05 17:43:53] local.INFO: Processing buffer {"connection_id":174494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717badf0012c5f6c80089cf600000d012a2d..."} 
[2026-09-05 17:43:53] local.INFO: Packet analysis {"connection_id":174494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0717b"} 
[2026-09-05 17:43:53] local.INFO: Extracted packet for processing {"connection_id":174494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0717b"} 
[2026-09-05 17:43:53] local.INFO: GPS Element Parsed {"raw_longitude":744451200,"raw_latitude":144504320,"longitude_deg":74.44512,"latitude_deg":14.450432,"altitude":13,"angle":298,"satellites":45,"speed":55,"hex_longitude":"2c5f6c80","hex_latitude":"089cf600","is_valid_coordinates":true} 
[2026-09-05 17:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884243456001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1521444919967744,"note":"Value kept but may cause issues"} 
[2026-09-05 17:43:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6876011505569366016,"note":"Value kept but may cause issues"} 
[2026-09-05 17:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788610326000,"timestamp_ms":1788610326000,"timestamp_seconds":1788610326,"priority":1,"record_length":96,"hex_timestamp":"000001a0717badf0"} 
[2026-09-05 17:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-05 17:43:53] 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-09-05 17:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.120","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 17:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 17:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884243456001,"66":28028,"207":206,"9":56064,"24":55,"16":1521444919967744,"44":6876011505569366016},"client_ip":"117.224.253.120","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,9,24,16,44]} 
[2026-09-05 17:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 17:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 17:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884243456001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:43:53] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 17:43:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 17:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1521444919967744,"km_value":1521444919967.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:43:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":6876011505569366016,"description":"Unknown IO ID 44"} 
[2026-09-05 17:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884243456001,"power":28028,"unknown_207":206,"unknown_9":56064,"ignition":55,"odometer":null,"unknown_44":6876011505569366016}} 
[2026-09-05 17:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":174494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770281,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:43:53] local.INFO: GPS data processed {"connection_id":174494,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:43:53] local.INFO: Acknowledgment sent {"connection_id":174494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:43:56] local.INFO: TCP Data received {"connection_id":173169,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:43:56] local.INFO: Processing buffer {"connection_id":173169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:43:56] local.INFO: IMEI packet received {"connection_id":173169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":173169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:44:01] local.INFO: TCP Data received {"connection_id":173169,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:44:01] local.INFO: Processing buffer {"connection_id":173169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:44:01] local.INFO: IMEI packet received {"connection_id":173169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":173169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:44:02] local.INFO: TCP Data received {"connection_id":173169,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07179b220012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07179b220012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:44:02] local.INFO: Processing buffer {"connection_id":173169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07179b220012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:44:02] local.INFO: Packet analysis {"connection_id":173169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07179"} 
[2026-09-05 17:44:02] local.INFO: Extracted packet for processing {"connection_id":173169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07179"} 
[2026-09-05 17:44:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884133120001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788610196000,"timestamp_ms":1788610196000,"timestamp_seconds":1788610196,"priority":1,"record_length":96,"hex_timestamp":"000001a07179b220"} 
[2026-09-05 17:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:44:02] 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-09-05 17: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 17:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884133120001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884133120001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:44:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:44:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884133120001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":173169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:44:02] local.INFO: GPS data processed {"connection_id":173169,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:44:02] local.INFO: Acknowledgment sent {"connection_id":173169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:44:21] local.INFO: TCP Data received {"connection_id":172058,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07179aa50012d196700071fef080038005728..."} 
[2026-09-05 17:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07179aa50012d196700071fef080038005728..."} 
[2026-09-05 17:44:21] local.INFO: Processing buffer {"connection_id":172058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07179aa50012d196700071fef080038005728..."} 
[2026-09-05 17:44:21] local.INFO: Packet analysis {"connection_id":172058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07179"} 
[2026-09-05 17:44:21] local.INFO: Extracted packet for processing {"connection_id":172058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07179"} 
[2026-09-05 17:44:21] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 17:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884204288001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788610194000,"timestamp_ms":1788610194000,"timestamp_seconds":1788610194,"priority":1,"record_length":96,"hex_timestamp":"000001a07179aa50"} 
[2026-09-05 17:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:44: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-09-05 17:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-05 17:44:21] 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-09-05 17:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884204288001,"66":12711,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1830431804149925888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884204288001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:44:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:44:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884204288001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-09-05 17:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":172058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:44:21] local.INFO: GPS data processed {"connection_id":172058,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:44:21] local.INFO: Acknowledgment sent {"connection_id":172058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:44:24] local.INFO: TCP Data received {"connection_id":174494,"ip":"117.224.253.120","data_length":795,"data_hex":"000000000000030f8e0a000001a0717bbd90012c5f5880089cfd20000f011c2b..."} 
[2026-09-05 17:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717bbd90012c5f5880089cfd20000f011c2b..."} 
[2026-09-05 17:44:24] local.INFO: Processing buffer {"connection_id":174494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717bbd90012c5f5880089cfd20000f011c2b..."} 
[2026-09-05 17:44:24] local.INFO: Packet analysis {"connection_id":174494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0717b"} 
[2026-09-05 17:44:24] local.INFO: Extracted packet for processing {"connection_id":174494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0717b"} 
[2026-09-05 17:44:24] local.INFO: GPS Element Parsed {"raw_longitude":744446080,"raw_latitude":144506144,"longitude_deg":74.444608,"latitude_deg":14.4506144,"altitude":15,"angle":284,"satellites":43,"speed":50,"hex_longitude":"2c5f5880","hex_latitude":"089cfd20","is_valid_coordinates":true} 
[2026-09-05 17:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884243456001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1521698323038208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:44:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6876011505569366016,"note":"Value kept but may cause issues"} 
[2026-09-05 17:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788610330000,"timestamp_ms":1788610330000,"timestamp_seconds":1788610330,"priority":1,"record_length":96,"hex_timestamp":"000001a0717bbd90"} 
[2026-09-05 17:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-05 17:44:24] 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-09-05 17:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.120","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 17:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 17:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884243456001,"66":28006,"207":206,"9":56064,"24":50,"16":1521698323038208,"44":6876011505569366016},"client_ip":"117.224.253.120","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,9,24,16,44]} 
[2026-09-05 17:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 17:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 17:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884243456001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:44:24] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 17:44:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 17:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1521698323038208,"km_value":1521698323038.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:44:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":6876011505569366016,"description":"Unknown IO ID 44"} 
[2026-09-05 17:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884243456001,"power":28006,"unknown_207":206,"unknown_9":56064,"ignition":50,"odometer":null,"unknown_44":6876011505569366016}} 
[2026-09-05 17:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":174494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770284,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:44:24] local.INFO: GPS data processed {"connection_id":174494,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:44:24] local.INFO: Acknowledgment sent {"connection_id":174494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:44:33] local.INFO: TCP Data received {"connection_id":173169,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07179b220012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07179b220012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:44:33] local.INFO: Processing buffer {"connection_id":173169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07179b220012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:44:33] local.INFO: Packet analysis {"connection_id":173169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07179"} 
[2026-09-05 17:44:33] local.INFO: Extracted packet for processing {"connection_id":173169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07179"} 
[2026-09-05 17:44:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884133120001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788610196000,"timestamp_ms":1788610196000,"timestamp_seconds":1788610196,"priority":1,"record_length":96,"hex_timestamp":"000001a07179b220"} 
[2026-09-05 17:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:44: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-09-05 17:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 17:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884133120001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884133120001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:44:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:44:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884133120001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":173169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:44:33] local.INFO: GPS data processed {"connection_id":173169,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:44:33] local.INFO: Acknowledgment sent {"connection_id":173169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:44:44] local.INFO: TCP Data received {"connection_id":171788,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:44:44] local.INFO: Processing buffer {"connection_id":171788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:44:44] local.INFO: IMEI packet received {"connection_id":171788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":171788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:44:45] local.INFO: TCP Data received {"connection_id":171788,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:44:45] local.INFO: Processing buffer {"connection_id":171788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:44:45] local.INFO: IMEI packet received {"connection_id":171788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":171788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:44:49] local.INFO: TCP Data received {"connection_id":172059,"ip":"117.224.253.120","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172059,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:44:49] local.INFO: Processing buffer {"connection_id":172059,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:44:49] local.INFO: IMEI packet received {"connection_id":172059,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 17:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":172059,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:44:49] local.INFO: TCP Data received {"connection_id":171788,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:44:49] local.INFO: Processing buffer {"connection_id":171788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:44:49] local.INFO: IMEI packet received {"connection_id":171788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":171788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:44:50] local.INFO: TCP Data received {"connection_id":171788,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07179fc58012d196700071fef080038005728..."} 
[2026-09-05 17:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07179fc58012d196700071fef080038005728..."} 
[2026-09-05 17:44:50] local.INFO: Processing buffer {"connection_id":171788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07179fc58012d196700071fef080038005728..."} 
[2026-09-05 17:44:50] local.INFO: Packet analysis {"connection_id":171788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07179"} 
[2026-09-05 17:44:50] local.INFO: Extracted packet for processing {"connection_id":171788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07179"} 
[2026-09-05 17:44:50] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 17:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884209664001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788610215000,"timestamp_ms":1788610215000,"timestamp_seconds":1788610215,"priority":1,"record_length":96,"hex_timestamp":"000001a07179fc58"} 
[2026-09-05 17:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-05 17:44:50] 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-09-05 17:44:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884209664001,"66":12939,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1830431804149925888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884209664001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:44:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:44:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884209664001,"power":12939,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-09-05 17:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":171788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:44:50] local.INFO: GPS data processed {"connection_id":171788,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:44:50] local.INFO: Acknowledgment sent {"connection_id":171788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:44:56] local.INFO: TCP Data received {"connection_id":172060,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:44:56] local.INFO: Processing buffer {"connection_id":172060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:44:56] local.INFO: IMEI packet received {"connection_id":172060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":172060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:44:58] local.INFO: TCP Data received {"connection_id":172059,"ip":"117.224.253.120","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172059,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:44:58] local.INFO: Processing buffer {"connection_id":172059,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:44:58] local.INFO: IMEI packet received {"connection_id":172059,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 17:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":172059,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:44:58] local.INFO: TCP Data received {"connection_id":172059,"ip":"117.224.253.120","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172059,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:44:58] local.INFO: Processing buffer {"connection_id":172059,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:44:58] local.INFO: IMEI packet received {"connection_id":172059,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 17:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":172059,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:45:00] local.INFO: TCP Data received {"connection_id":172059,"ip":"117.224.253.120","data_length":795,"data_hex":"000000000000030f8e0a000001a0717d28d8012c5e4c00089e04d00011015726..."} 
[2026-09-05 17:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717d28d8012c5e4c00089e04d00011015726..."} 
[2026-09-05 17:45:00] local.INFO: Processing buffer {"connection_id":172059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717d28d8012c5e4c00089e04d00011015726..."} 
[2026-09-05 17:45:00] local.INFO: Packet analysis {"connection_id":172059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0717d"} 
[2026-09-05 17:45:00] local.INFO: Extracted packet for processing {"connection_id":172059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0717d"} 
[2026-09-05 17:45:00] local.INFO: GPS Element Parsed {"raw_longitude":744377344,"raw_latitude":144573648,"longitude_deg":74.4377344,"latitude_deg":14.4573648,"altitude":17,"angle":343,"satellites":38,"speed":48,"hex_longitude":"2c5e4c00","hex_latitude":"089e04d0","is_valid_coordinates":true} 
[2026-09-05 17:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884266240001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1524133569495040,"note":"Value kept but may cause issues"} 
[2026-09-05 17:45:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6798254043268464640,"note":"Value kept but may cause issues"} 
[2026-09-05 17:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788610423000,"timestamp_ms":1788610423000,"timestamp_seconds":1788610423,"priority":1,"record_length":96,"hex_timestamp":"000001a0717d28d8"} 
[2026-09-05 17:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 17:45:00] 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-09-05 17:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172059,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172059,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.120","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 17:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 17:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884266240001,"66":28104,"69":206,"9":56064,"24":48,"16":1524133569495040,"44":6798254043268464640},"client_ip":"117.224.253.120","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,9,24,16,44]} 
[2026-09-05 17:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 17:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 17:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884266240001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:45:00] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-05 17:45:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 17:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1524133569495040,"km_value":1524133569495.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:45:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":6798254043268464640,"description":"Unknown IO ID 44"} 
[2026-09-05 17:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884266240001,"power":28104,"unknown_69":206,"unknown_9":56064,"ignition":48,"odometer":null,"unknown_44":6798254043268464640}} 
[2026-09-05 17:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":172059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770287,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:45:00] local.INFO: GPS data processed {"connection_id":172059,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:45:00] local.INFO: Acknowledgment sent {"connection_id":172059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:45:01] local.INFO: TCP Data received {"connection_id":172060,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:45:01] local.INFO: Processing buffer {"connection_id":172060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:45:01] local.INFO: IMEI packet received {"connection_id":172060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":172060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:45:02] local.INFO: TCP Data received {"connection_id":172060,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07179b220012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07179b220012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:45:02] local.INFO: Processing buffer {"connection_id":172060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07179b220012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:45:02] local.INFO: Packet analysis {"connection_id":172060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07179"} 
[2026-09-05 17:45:02] local.INFO: Extracted packet for processing {"connection_id":172060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07179"} 
[2026-09-05 17:45:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884133120001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788610196000,"timestamp_ms":1788610196000,"timestamp_seconds":1788610196,"priority":1,"record_length":96,"hex_timestamp":"000001a07179b220"} 
[2026-09-05 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-09-05 17:45:02] 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-09-05 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 17:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 17:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884133120001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884133120001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:45:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:45:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884133120001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":172060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:45:02] local.INFO: GPS data processed {"connection_id":172060,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:45:02] local.INFO: Acknowledgment sent {"connection_id":172060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:45:02] local.INFO: TCP Data received {"connection_id":172059,"ip":"117.224.253.120","data_length":795,"data_hex":"000000000000030f8e0a000001a0717d4048012c5e4580089e2100000f016526..."} 
[2026-09-05 17:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717d4048012c5e4580089e2100000f016526..."} 
[2026-09-05 17:45:02] local.INFO: Processing buffer {"connection_id":172059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717d4048012c5e4580089e2100000f016526..."} 
[2026-09-05 17:45:02] local.INFO: Packet analysis {"connection_id":172059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0717d"} 
[2026-09-05 17:45:02] local.INFO: Extracted packet for processing {"connection_id":172059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0717d"} 
[2026-09-05 17:45:02] local.INFO: GPS Element Parsed {"raw_longitude":744375680,"raw_latitude":144580864,"longitude_deg":74.437568,"latitude_deg":14.4580864,"altitude":15,"angle":357,"satellites":38,"speed":49,"hex_longitude":"2c5e4580","hex_latitude":"089e2100","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884268288001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1524494346747904,"note":"Value kept but may cause issues"} 
[2026-09-05 17:45:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6794805974806089728,"note":"Value kept but may cause issues"} 
[2026-09-05 17:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788610429000,"timestamp_ms":1788610429000,"timestamp_seconds":1788610429,"priority":1,"record_length":96,"hex_timestamp":"000001a0717d4048"} 
[2026-09-05 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-09-05 17:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 17:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 17:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172059,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172059,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 17:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.120","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 17:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 17:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884268288001,"66":27615,"69":206,"9":56064,"24":49,"16":1524494346747904,"44":6794805974806089728},"client_ip":"117.224.253.120","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,9,24,16,44]} 
[2026-09-05 17:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 17:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 17:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884268288001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:45:02] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-05 17:45:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-05 17:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1524494346747904,"km_value":1524494346747.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:45:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":6794805974806089728,"description":"Unknown IO ID 44"} 
[2026-09-05 17:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884268288001,"power":27615,"unknown_69":206,"unknown_9":56064,"ignition":49,"odometer":null,"unknown_44":6794805974806089728}} 
[2026-09-05 17:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":172059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770289,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:45:02] local.INFO: GPS data processed {"connection_id":172059,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:45:02] local.INFO: Acknowledgment sent {"connection_id":172059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:45:21] local.INFO: TCP Data received {"connection_id":171788,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0717a4e60012d196700071fef080038005727..."} 
[2026-09-05 17:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717a4e60012d196700071fef080038005727..."} 
[2026-09-05 17:45:21] local.INFO: Processing buffer {"connection_id":171788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717a4e60012d196700071fef080038005727..."} 
[2026-09-05 17:45:21] local.INFO: Packet analysis {"connection_id":171788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0717a"} 
[2026-09-05 17:45:21] local.INFO: Extracted packet for processing {"connection_id":171788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0717a"} 
[2026-09-05 17:45:21] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 17:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884215040001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788610236000,"timestamp_ms":1788610236000,"timestamp_seconds":1788610236,"priority":1,"record_length":96,"hex_timestamp":"000001a0717a4e60"} 
[2026-09-05 17:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:45: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-09-05 17:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 17:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:45:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884215040001,"66":12841,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1830431804149925888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884215040001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:45:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:45:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884215040001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-09-05 17:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":171788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:45:21] local.INFO: GPS data processed {"connection_id":171788,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:45:21] local.INFO: Acknowledgment sent {"connection_id":171788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:45:33] local.INFO: TCP Data received {"connection_id":172060,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07179b220012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07179b220012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:45:33] local.INFO: Processing buffer {"connection_id":172060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07179b220012d7b850005f5f278000600f62c..."} 
[2026-09-05 17:45:33] local.INFO: Packet analysis {"connection_id":172060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07179"} 
[2026-09-05 17:45:33] local.INFO: Extracted packet for processing {"connection_id":172060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07179"} 
[2026-09-05 17:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884133120001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788610196000,"timestamp_ms":1788610196000,"timestamp_seconds":1788610196,"priority":1,"record_length":96,"hex_timestamp":"000001a07179b220"} 
[2026-09-05 17:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:45: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-09-05 17: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 17:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884133120001,"66":25843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884133120001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:45:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:45:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884133120001,"power":25843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":172060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:45:33] local.INFO: GPS data processed {"connection_id":172060,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:45:33] local.INFO: Acknowledgment sent {"connection_id":172060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:45:44] local.INFO: TCP Data received {"connection_id":174495,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:45:44] local.INFO: Processing buffer {"connection_id":174495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:45:44] local.INFO: IMEI packet received {"connection_id":174495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":174495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:45:48] local.INFO: TCP Data received {"connection_id":174495,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:45:48] local.INFO: Processing buffer {"connection_id":174495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:45:48] local.INFO: IMEI packet received {"connection_id":174495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":174495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:45:49] local.INFO: TCP Data received {"connection_id":174495,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:45:49] local.INFO: Processing buffer {"connection_id":174495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:45:49] local.INFO: IMEI packet received {"connection_id":174495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":174495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:45:50] local.INFO: TCP Data received {"connection_id":174495,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0717dd4b8012d196700071fef080038005727..."} 
[2026-09-05 17:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717dd4b8012d196700071fef080038005727..."} 
[2026-09-05 17:45:50] local.INFO: Processing buffer {"connection_id":174495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717dd4b8012d196700071fef080038005727..."} 
[2026-09-05 17:45:50] local.INFO: Packet analysis {"connection_id":174495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0717d"} 
[2026-09-05 17:45:50] local.INFO: Extracted packet for processing {"connection_id":174495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0717d"} 
[2026-09-05 17:45:50] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 17:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884274176001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:45:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788610467000,"timestamp_ms":1788610467000,"timestamp_seconds":1788610467,"priority":1,"record_length":96,"hex_timestamp":"000001a0717dd4b8"} 
[2026-09-05 17:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-05 17:45:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:45:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884274176001,"66":12743,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1830431804149925888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884274176001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:45:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:45:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:45:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884274176001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-09-05 17:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":174495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:45:50] local.INFO: GPS data processed {"connection_id":174495,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:45:50] local.INFO: Acknowledgment sent {"connection_id":174495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:45:55] local.INFO: TCP Data received {"connection_id":174495,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0717e26c0012d196700071fef080038005729..."} 
[2026-09-05 17:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717e26c0012d196700071fef080038005729..."} 
[2026-09-05 17:45:55] local.INFO: Processing buffer {"connection_id":174495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717e26c0012d196700071fef080038005729..."} 
[2026-09-05 17:45:55] local.INFO: Packet analysis {"connection_id":174495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0717e"} 
[2026-09-05 17:45:55] local.INFO: Extracted packet for processing {"connection_id":174495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0717e"} 
[2026-09-05 17:45:55] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 17:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884279552001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788610488000,"timestamp_ms":1788610488000,"timestamp_seconds":1788610488,"priority":1,"record_length":96,"hex_timestamp":"000001a0717e26c0"} 
[2026-09-05 17:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-05 17:45:55] 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-09-05 17:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884279552001,"66":12722,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1830431804149925888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884279552001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:45:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:45:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884279552001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-09-05 17:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":174495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:45:55] local.INFO: GPS data processed {"connection_id":174495,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:45:55] local.INFO: Acknowledgment sent {"connection_id":174495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:45:55] local.INFO: TCP Data received {"connection_id":171789,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:45:55] local.INFO: Processing buffer {"connection_id":171789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:45:55] local.INFO: IMEI packet received {"connection_id":171789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":171789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:46:01] local.INFO: TCP Data received {"connection_id":171789,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:46:01] local.INFO: Processing buffer {"connection_id":171789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:46:01] local.INFO: IMEI packet received {"connection_id":171789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":171789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:46:02] local.INFO: TCP Data received {"connection_id":171789,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0717e49e8012d7b850005f5f278000600f62e..."} 
[2026-09-05 17:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717e49e8012d7b850005f5f278000600f62e..."} 
[2026-09-05 17:46:02] local.INFO: Processing buffer {"connection_id":171789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717e49e8012d7b850005f5f278000600f62e..."} 
[2026-09-05 17:46:02] local.INFO: Packet analysis {"connection_id":171789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0717e"} 
[2026-09-05 17:46:02] local.INFO: Extracted packet for processing {"connection_id":171789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0717e"} 
[2026-09-05 17:46:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884210176001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788610497000,"timestamp_ms":1788610497000,"timestamp_seconds":1788610497,"priority":1,"record_length":96,"hex_timestamp":"000001a0717e49e8"} 
[2026-09-05 17:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:46:02] 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-09-05 17: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":243,"data_length":795,"current_offset":136} 
[2026-09-05 17:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884210176001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884210176001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:46:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:46:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884210176001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":171789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:46:02] local.INFO: GPS data processed {"connection_id":171789,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:46:02] local.INFO: Acknowledgment sent {"connection_id":171789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:46:04] local.INFO: TCP Data received {"connection_id":173170,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:46:04] local.INFO: Processing buffer {"connection_id":173170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:46:04] local.INFO: IMEI packet received {"connection_id":173170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 17:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":173170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:46:05] local.INFO: TCP Data received {"connection_id":173170,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0717e9bf0012d7b4f0005d37558000900b309..."} 
[2026-09-05 17:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717e9bf0012d7b4f0005d37558000900b309..."} 
[2026-09-05 17:46:05] local.INFO: Processing buffer {"connection_id":173170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717e9bf0012d7b4f0005d37558000900b309..."} 
[2026-09-05 17:46:05] local.INFO: Packet analysis {"connection_id":173170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0717e"} 
[2026-09-05 17:46:05] local.INFO: Extracted packet for processing {"connection_id":173170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0717e"} 
[2026-09-05 17:46:05] local.INFO: GPS Element Parsed {"raw_longitude":763055872,"raw_latitude":97744216,"longitude_deg":76.3055872,"latitude_deg":9.7744216,"altitude":9,"angle":179,"satellites":9,"speed":17,"hex_longitude":"2d7b4f00","hex_latitude":"05d37558","is_valid_coordinates":true} 
[2026-09-05 17:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884291072001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128611309620035584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884968771127793664,"note":"Value kept but may cause issues"} 
[2026-09-05 17:46:05] 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-09-05 17:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788610518000,"timestamp_ms":1788610518000,"timestamp_seconds":1788610518,"priority":1,"record_length":96,"hex_timestamp":"000001a0717e9bf0"} 
[2026-09-05 17:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:46: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-09-05 17:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-05 17:46:05] 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-09-05 17:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884291072001,"66":13319,"210":206,"85":15104,"24":17,"16":128611309620035584,"45":8884968771127793664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,85,24,16,45]} 
[2026-09-05 17:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 17:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 17:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884291072001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:46:05] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-09-05 17:46:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 17:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128611309620035584,"km_value":128611309620035.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884968771127793664,"description":"Unknown IO ID 45"} 
[2026-09-05 17:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884291072001,"power":13319,"unknown_210":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8884968771127793664}} 
[2026-09-05 17:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":173170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:46:05] local.INFO: GPS data processed {"connection_id":173170,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:46:05] local.INFO: Acknowledgment sent {"connection_id":173170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:46:26] local.INFO: TCP Data received {"connection_id":174495,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0717e78c8012d196700071fef080038005724..."} 
[2026-09-05 17:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717e78c8012d196700071fef080038005724..."} 
[2026-09-05 17:46:26] local.INFO: Processing buffer {"connection_id":174495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717e78c8012d196700071fef080038005724..."} 
[2026-09-05 17:46:26] local.INFO: Packet analysis {"connection_id":174495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0717e"} 
[2026-09-05 17:46:26] local.INFO: Extracted packet for processing {"connection_id":174495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0717e"} 
[2026-09-05 17:46:26] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":36,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 17:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884284928001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788610509000,"timestamp_ms":1788610509000,"timestamp_seconds":1788610509,"priority":1,"record_length":96,"hex_timestamp":"000001a0717e78c8"} 
[2026-09-05 17:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:46:26] 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-09-05 17:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 17:46:26] 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-09-05 17:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884284928001,"66":12722,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1830431804149925888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884284928001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:46:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:46:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884284928001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-09-05 17:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":174495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:46:26] local.INFO: GPS data processed {"connection_id":174495,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:46:26] local.INFO: Acknowledgment sent {"connection_id":174495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:46:33] local.INFO: TCP Data received {"connection_id":171789,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0717e49e8012d7b850005f5f278000600f62e..."} 
[2026-09-05 17:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717e49e8012d7b850005f5f278000600f62e..."} 
[2026-09-05 17:46:33] local.INFO: Processing buffer {"connection_id":171789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717e49e8012d7b850005f5f278000600f62e..."} 
[2026-09-05 17:46:33] local.INFO: Packet analysis {"connection_id":171789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0717e"} 
[2026-09-05 17:46:33] local.INFO: Extracted packet for processing {"connection_id":171789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0717e"} 
[2026-09-05 17:46:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884210176001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788610497000,"timestamp_ms":1788610497000,"timestamp_seconds":1788610497,"priority":1,"record_length":96,"hex_timestamp":"000001a0717e49e8"} 
[2026-09-05 17:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:46: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-09-05 17:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-05 17:46: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-09-05 17: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-09-05 17:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884210176001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884210176001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:46:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:46:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884210176001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":171789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:46:33] local.INFO: GPS data processed {"connection_id":171789,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:46:33] local.INFO: Acknowledgment sent {"connection_id":171789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:46:36] local.INFO: TCP Data received {"connection_id":173170,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0717ed688012d7b4e4005d36510000700a809..."} 
[2026-09-05 17:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717ed688012d7b4e4005d36510000700a809..."} 
[2026-09-05 17:46:36] local.INFO: Processing buffer {"connection_id":173170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717ed688012d7b4e4005d36510000700a809..."} 
[2026-09-05 17:46:36] local.INFO: Packet analysis {"connection_id":173170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0717e"} 
[2026-09-05 17:46:36] local.INFO: Extracted packet for processing {"connection_id":173170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0717e"} 
[2026-09-05 17:46:36] local.INFO: GPS Element Parsed {"raw_longitude":763055680,"raw_latitude":97740048,"longitude_deg":76.305568,"latitude_deg":9.7740048,"altitude":7,"angle":168,"satellites":9,"speed":7,"hex_longitude":"2d7b4e40","hex_latitude":"05d36510","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884292608001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128611511483498496,"note":"Value kept but may cause issues"} 
[2026-09-05 17:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885320614847797248,"note":"Value kept but may cause issues"} 
[2026-09-05 17:46: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-09-05 17:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788610533000,"timestamp_ms":1788610533000,"timestamp_seconds":1788610533,"priority":1,"record_length":96,"hex_timestamp":"000001a0717ed688"} 
[2026-09-05 17:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-05 17:46:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 17:46:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-05 17:46:36] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3988258827,"note":"Value kept but may cause issues"} 
[2026-09-05 17:46:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1308950734,"corrected_to":0} 
[2026-09-05 17:46:36] local.WARNING: Large IO value detected {"io_id":243,"raw_value":4160826747,"note":"Value kept but may cause issues"} 
[2026-09-05 17:46:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3559292928,"note":"Value kept but may cause issues"} 
[2026-09-05 17:46:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3920691200,"corrected_to":0} 
[2026-09-05 17:46:36] local.WARNING: Large IO value detected {"io_id":78,"raw_value":57788153621009723,"note":"Value kept but may cause issues"} 
[2026-09-05 17:46:36] local.WARNING: Large IO value detected {"io_id":125,"raw_value":-7903816051183009787,"note":"Value kept but may cause issues"} 
[2026-09-05 17:46:36] local.WARNING: Large IO value detected {"io_id":212,"raw_value":4032973500681095424,"note":"Value kept but may cause issues"} 
[2026-09-05 17:46:36] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,210,85,24,241,157,16,235,160,132,45,192,130,11,9,10,66,89,165,234,50,128,1,240,34,227,113,211,4,205,39,243,52,80,239,53,5,2,200,78,125,212],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1308950734,"validated":0},{"io_id":200,"original":3920691200,"validated":0}]} 
[2026-09-05 17:46:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648715197578543104,"timestamp_seconds":648715197578543.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 17:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884292608001,"66":13363,"210":206,"85":15104,"24":7,"16":128611511483498496,"45":8885320614847797248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,85,24,16,45]} 
[2026-09-05 17:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 17:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 17:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884292608001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:46:36] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-09-05 17:46:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 17:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128611511483498496,"km_value":128611511483498.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885320614847797248,"description":"Unknown IO ID 45"} 
[2026-09-05 17:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884292608001,"power":13363,"unknown_210":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8885320614847797248}} 
[2026-09-05 17:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":173170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770298,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:46:36] local.INFO: GPS data processed {"connection_id":173170,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:46:36] local.INFO: Acknowledgment sent {"connection_id":173170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:46:44] local.INFO: TCP Data received {"connection_id":171790,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:46:44] local.INFO: Processing buffer {"connection_id":171790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:46:44] local.INFO: IMEI packet received {"connection_id":171790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":171790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:46:49] local.INFO: TCP Data received {"connection_id":171790,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:46:49] local.INFO: Processing buffer {"connection_id":171790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:46:49] local.INFO: IMEI packet received {"connection_id":171790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":171790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:46:50] local.INFO: TCP Data received {"connection_id":171790,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0717ecad0012d196700071fef080038005726..."} 
[2026-09-05 17:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717ecad0012d196700071fef080038005726..."} 
[2026-09-05 17:46:50] local.INFO: Processing buffer {"connection_id":171790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717ecad0012d196700071fef080038005726..."} 
[2026-09-05 17:46:50] local.INFO: Packet analysis {"connection_id":171790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0717e"} 
[2026-09-05 17:46:50] local.INFO: Extracted packet for processing {"connection_id":171790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0717e"} 
[2026-09-05 17:46:50] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 17:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884290304001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788610530000,"timestamp_ms":1788610530000,"timestamp_seconds":1788610530,"priority":1,"record_length":96,"hex_timestamp":"000001a0717ecad0"} 
[2026-09-05 17:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 17:46:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:46:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884290304001,"66":12711,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1830431804149925888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884290304001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:46:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:46:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884290304001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-09-05 17:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":171790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:46:50] local.INFO: GPS data processed {"connection_id":171790,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:46:50] local.INFO: Acknowledgment sent {"connection_id":171790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:47:01] local.INFO: TCP Data received {"connection_id":173171,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:47:01] local.INFO: Processing buffer {"connection_id":173171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:47:01] local.INFO: IMEI packet received {"connection_id":173171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":173171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:47:06] local.INFO: TCP Data received {"connection_id":173171,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:47:06] local.INFO: Processing buffer {"connection_id":173171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:47:06] local.INFO: IMEI packet received {"connection_id":173171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":173171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:47:06] local.INFO: TCP Data received {"connection_id":173171,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0717e49e8012d7b850005f5f278000600f62e..."} 
[2026-09-05 17:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717e49e8012d7b850005f5f278000600f62e..."} 
[2026-09-05 17:47:06] local.INFO: Processing buffer {"connection_id":173171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717e49e8012d7b850005f5f278000600f62e..."} 
[2026-09-05 17:47:06] local.INFO: Packet analysis {"connection_id":173171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0717e"} 
[2026-09-05 17:47:06] local.INFO: Extracted packet for processing {"connection_id":173171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0717e"} 
[2026-09-05 17:47:06] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884210176001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788610497000,"timestamp_ms":1788610497000,"timestamp_seconds":1788610497,"priority":1,"record_length":96,"hex_timestamp":"000001a0717e49e8"} 
[2026-09-05 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-09-05 17:47:06] 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-09-05 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-05 17:47:06] 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-09-05 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-09-05 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-09-05 17:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884210176001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884210176001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:47:06] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:47:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884210176001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":173171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:47:07] local.INFO: GPS data processed {"connection_id":173171,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:47:07] local.INFO: Acknowledgment sent {"connection_id":173171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:47:07] local.INFO: TCP Data received {"connection_id":173170,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0717fe028012d7b5c8005d31638000100c50b..."} 
[2026-09-05 17:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717fe028012d7b5c8005d31638000100c50b..."} 
[2026-09-05 17:47:07] local.INFO: Processing buffer {"connection_id":173170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717fe028012d7b5c8005d31638000100c50b..."} 
[2026-09-05 17:47:07] local.INFO: Packet analysis {"connection_id":173170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0717f"} 
[2026-09-05 17:47:07] local.INFO: Extracted packet for processing {"connection_id":173170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0717f"} 
[2026-09-05 17:47:07] local.INFO: GPS Element Parsed {"raw_longitude":763059328,"raw_latitude":97719864,"longitude_deg":76.3059328,"latitude_deg":9.7719864,"altitude":1,"angle":197,"satellites":11,"speed":5,"hex_longitude":"2d7b5c80","hex_latitude":"05d31638","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884313344001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128612542275649536,"note":"Value kept but may cause issues"} 
[2026-09-05 17:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889190895771408384,"note":"Value kept but may cause issues"} 
[2026-09-05 17:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788610601000,"timestamp_ms":1788610601000,"timestamp_seconds":1788610601,"priority":1,"record_length":96,"hex_timestamp":"000001a0717fe028"} 
[2026-09-05 17:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-05 17:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884313344001,"66":13613,"189":206,"85":15104,"24":5,"16":128612542275649536,"45":8889190895771408384},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-09-05 17:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 17:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 17:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884313344001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:47:07] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-05 17:47:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 17:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128612542275649536,"km_value":128612542275649.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889190895771408384,"description":"Unknown IO ID 45"} 
[2026-09-05 17:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884313344001,"power":13613,"unknown_189":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8889190895771408384}} 
[2026-09-05 17:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":173170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770301,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:47:07] local.INFO: GPS data processed {"connection_id":173170,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:47:07] local.INFO: Acknowledgment sent {"connection_id":173170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:47:11] local.INFO: TCP Data received {"connection_id":173171,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0717e49e8012d7b850005f5f278000600f62e..."} 
[2026-09-05 17:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717e49e8012d7b850005f5f278000600f62e..."} 
[2026-09-05 17:47:11] local.INFO: Processing buffer {"connection_id":173171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717e49e8012d7b850005f5f278000600f62e..."} 
[2026-09-05 17:47:11] local.INFO: Packet analysis {"connection_id":173171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0717e"} 
[2026-09-05 17:47:11] local.INFO: Extracted packet for processing {"connection_id":173171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0717e"} 
[2026-09-05 17:47:11] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884210176001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788610497000,"timestamp_ms":1788610497000,"timestamp_seconds":1788610497,"priority":1,"record_length":96,"hex_timestamp":"000001a0717e49e8"} 
[2026-09-05 17:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:47: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-09-05 17:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-05 17:47:11] 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-09-05 17:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884210176001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884210176001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:47:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:47:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884210176001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":173171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:47:11] local.INFO: GPS data processed {"connection_id":173171,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:47:11] local.INFO: Acknowledgment sent {"connection_id":173171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:47:21] local.INFO: TCP Data received {"connection_id":171790,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0717f1cd8012d196700071fef080038005727..."} 
[2026-09-05 17:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717f1cd8012d196700071fef080038005727..."} 
[2026-09-05 17:47:21] local.INFO: Processing buffer {"connection_id":171790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717f1cd8012d196700071fef080038005727..."} 
[2026-09-05 17:47:21] local.INFO: Packet analysis {"connection_id":171790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0717f"} 
[2026-09-05 17:47:21] local.INFO: Extracted packet for processing {"connection_id":171790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0717f"} 
[2026-09-05 17:47:21] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 17:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884295680001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788610551000,"timestamp_ms":1788610551000,"timestamp_seconds":1788610551,"priority":1,"record_length":96,"hex_timestamp":"000001a0717f1cd8"} 
[2026-09-05 17:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:47: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-09-05 17:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-05 17:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884295680001,"66":12689,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1830431804149925888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884295680001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:47:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:47:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884295680001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-09-05 17:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":171790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:47:21] local.INFO: GPS data processed {"connection_id":171790,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:47:21] local.INFO: Acknowledgment sent {"connection_id":171790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:47:38] local.INFO: TCP Data received {"connection_id":173170,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071800738012d7b588005d301e0000100ba0b..."} 
[2026-09-05 17:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071800738012d7b588005d301e0000100ba0b..."} 
[2026-09-05 17:47:38] local.INFO: Processing buffer {"connection_id":173170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071800738012d7b588005d301e0000100ba0b..."} 
[2026-09-05 17:47:38] local.INFO: Packet analysis {"connection_id":173170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07180"} 
[2026-09-05 17:47:38] local.INFO: Extracted packet for processing {"connection_id":173170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07180"} 
[2026-09-05 17:47:38] local.INFO: GPS Element Parsed {"raw_longitude":763058304,"raw_latitude":97714656,"longitude_deg":76.3058304,"latitude_deg":9.7714656,"altitude":1,"angle":186,"satellites":11,"speed":30,"hex_longitude":"2d7b5880","hex_latitude":"05d301e0","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884313856001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128612799973687296,"note":"Value kept but may cause issues"} 
[2026-09-05 17:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889120527027156992,"note":"Value kept but may cause issues"} 
[2026-09-05 17:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788610611000,"timestamp_ms":1788610611000,"timestamp_seconds":1788610611,"priority":1,"record_length":96,"hex_timestamp":"000001a071800738"} 
[2026-09-05 17:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17: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":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-05 17:47:38] 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-09-05 17: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-09-05 17:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884313856001,"66":13624,"189":206,"85":15104,"24":30,"16":128612799973687296,"45":8889120527027156992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-09-05 17:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 17:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 17:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884313856001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:47:38] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-05 17:47:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 17:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128612799973687296,"km_value":128612799973687.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889120527027156992,"description":"Unknown IO ID 45"} 
[2026-09-05 17:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884313856001,"power":13624,"unknown_189":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8889120527027156992}} 
[2026-09-05 17:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":173170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770304,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:47:38] local.INFO: GPS data processed {"connection_id":173170,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:47:38] local.INFO: Acknowledgment sent {"connection_id":173170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:47:44] local.INFO: TCP Data received {"connection_id":172061,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:47:44] local.INFO: Processing buffer {"connection_id":172061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:47:44] local.INFO: IMEI packet received {"connection_id":172061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":172061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:47:49] local.INFO: TCP Data received {"connection_id":172061,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:47:49] local.INFO: Processing buffer {"connection_id":172061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:47:49] local.INFO: IMEI packet received {"connection_id":172061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":172061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:47:50] local.INFO: TCP Data received {"connection_id":172061,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0717f6ee0012d196700071fef080038005726..."} 
[2026-09-05 17:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717f6ee0012d196700071fef080038005726..."} 
[2026-09-05 17:47:50] local.INFO: Processing buffer {"connection_id":172061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717f6ee0012d196700071fef080038005726..."} 
[2026-09-05 17:47:50] local.INFO: Packet analysis {"connection_id":172061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0717f"} 
[2026-09-05 17:47:50] local.INFO: Extracted packet for processing {"connection_id":172061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0717f"} 
[2026-09-05 17:47:50] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 17:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884301056001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788610572000,"timestamp_ms":1788610572000,"timestamp_seconds":1788610572,"priority":1,"record_length":96,"hex_timestamp":"000001a0717f6ee0"} 
[2026-09-05 17:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-05 17:47:50] 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-09-05 17:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884301056001,"66":12689,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1830431804149925888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884301056001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:47:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:47:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884301056001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-09-05 17:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":172061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:47:50] local.INFO: GPS data processed {"connection_id":172061,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:47:50] local.INFO: Acknowledgment sent {"connection_id":172061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:47:56] local.INFO: TCP Data received {"connection_id":172062,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:47:56] local.INFO: Processing buffer {"connection_id":172062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:47:56] local.INFO: IMEI packet received {"connection_id":172062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":172062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:48:01] local.INFO: TCP Data received {"connection_id":172062,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:48:01] local.INFO: Processing buffer {"connection_id":172062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:48:01] local.INFO: IMEI packet received {"connection_id":172062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":172062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:48:01] local.INFO: TCP Data received {"connection_id":172062,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0717e49e8012d7b850005f5f278000600f62e..."} 
[2026-09-05 17:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717e49e8012d7b850005f5f278000600f62e..."} 
[2026-09-05 17:48:01] local.INFO: Processing buffer {"connection_id":172062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717e49e8012d7b850005f5f278000600f62e..."} 
[2026-09-05 17:48:01] local.INFO: Packet analysis {"connection_id":172062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0717e"} 
[2026-09-05 17:48:01] local.INFO: Extracted packet for processing {"connection_id":172062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0717e"} 
[2026-09-05 17:48:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884210176001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:48:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788610497000,"timestamp_ms":1788610497000,"timestamp_seconds":1788610497,"priority":1,"record_length":96,"hex_timestamp":"000001a0717e49e8"} 
[2026-09-05 17:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:48:01] 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-09-05 17:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-05 17:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:48:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884210176001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884210176001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:48:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:48:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884210176001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":172062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:48:01] local.INFO: GPS data processed {"connection_id":172062,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:48:01] local.INFO: Acknowledgment sent {"connection_id":172062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:48:19] local.INFO: TCP Data received {"connection_id":172063,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:48:19] local.INFO: Processing buffer {"connection_id":172063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:48:19] local.INFO: IMEI packet received {"connection_id":172063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 17:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":172063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:48:21] local.INFO: TCP Data received {"connection_id":172061,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0717fc0e8012d196700071fef080038005729..."} 
[2026-09-05 17:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717fc0e8012d196700071fef080038005729..."} 
[2026-09-05 17:48:21] local.INFO: Processing buffer {"connection_id":172061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717fc0e8012d196700071fef080038005729..."} 
[2026-09-05 17:48:21] local.INFO: Packet analysis {"connection_id":172061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0717f"} 
[2026-09-05 17:48:21] local.INFO: Extracted packet for processing {"connection_id":172061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0717f"} 
[2026-09-05 17:48:21] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 17:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884306432001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788610593000,"timestamp_ms":1788610593000,"timestamp_seconds":1788610593,"priority":1,"record_length":96,"hex_timestamp":"000001a0717fc0e8"} 
[2026-09-05 17:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:48: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-09-05 17:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-05 17:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884306432001,"66":12558,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1830431804149925888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884306432001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:48:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:48:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884306432001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-09-05 17:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":172061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:48:21] local.INFO: GPS data processed {"connection_id":172061,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:48:21] local.INFO: Acknowledgment sent {"connection_id":172061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:48:24] local.INFO: TCP Data received {"connection_id":172063,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:48:24] local.INFO: Processing buffer {"connection_id":172063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:48:24] local.INFO: IMEI packet received {"connection_id":172063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 17:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":172063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:48:25] local.INFO: TCP Data received {"connection_id":172063,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071801ea8012d7b580005d2ecc0000000ad0b..."} 
[2026-09-05 17:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071801ea8012d7b580005d2ecc0000000ad0b..."} 
[2026-09-05 17:48:25] local.INFO: Processing buffer {"connection_id":172063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071801ea8012d7b580005d2ecc0000000ad0b..."} 
[2026-09-05 17:48:25] local.INFO: Packet analysis {"connection_id":172063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07180"} 
[2026-09-05 17:48:25] local.INFO: Extracted packet for processing {"connection_id":172063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07180"} 
[2026-09-05 17:48:25] local.INFO: GPS Element Parsed {"raw_longitude":763058176,"raw_latitude":97709248,"longitude_deg":76.3058176,"latitude_deg":9.7709248,"altitude":0,"angle":173,"satellites":11,"speed":36,"hex_longitude":"2d7b5800","hex_latitude":"05d2ecc0","is_valid_coordinates":true} 
[2026-09-05 17:48: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-09-05 17:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884316416001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128613066261659648,"note":"Value kept but may cause issues"} 
[2026-09-05 17:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887994627118981120,"note":"Value kept but may cause issues"} 
[2026-09-05 17:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788610617000,"timestamp_ms":1788610617000,"timestamp_seconds":1788610617,"priority":1,"record_length":96,"hex_timestamp":"000001a071801ea8"} 
[2026-09-05 17:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:48:25] 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-09-05 17:48: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-09-05 17:48: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-09-05 17:48: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-09-05 17:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884316416001,"66":13341,"189":206,"85":15104,"24":36,"16":128613066261659648,"45":8887994627118981120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-09-05 17:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 17:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 17:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884316416001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:48:25] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-05 17:48:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 17:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128613066261659648,"km_value":128613066261659.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887994627118981120,"description":"Unknown IO ID 45"} 
[2026-09-05 17:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884316416001,"power":13341,"unknown_189":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8887994627118981120}} 
[2026-09-05 17:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":172063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770308,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:48:25] local.INFO: GPS data processed {"connection_id":172063,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:48:25] local.INFO: Acknowledgment sent {"connection_id":172063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:48:33] local.INFO: TCP Data received {"connection_id":172062,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0717e49e8012d7b850005f5f278000600f62e..."} 
[2026-09-05 17:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717e49e8012d7b850005f5f278000600f62e..."} 
[2026-09-05 17:48:33] local.INFO: Processing buffer {"connection_id":172062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717e49e8012d7b850005f5f278000600f62e..."} 
[2026-09-05 17:48:33] local.INFO: Packet analysis {"connection_id":172062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0717e"} 
[2026-09-05 17:48:33] local.INFO: Extracted packet for processing {"connection_id":172062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0717e"} 
[2026-09-05 17:48:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884210176001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788610497000,"timestamp_ms":1788610497000,"timestamp_seconds":1788610497,"priority":1,"record_length":96,"hex_timestamp":"000001a0717e49e8"} 
[2026-09-05 17:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:48: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-09-05 17:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-05 17:48: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-09-05 17: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-09-05 17:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884210176001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884210176001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:48:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:48:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884210176001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":172062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:48:33] local.INFO: GPS data processed {"connection_id":172062,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:48:33] local.INFO: Acknowledgment sent {"connection_id":172062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:48:49] local.INFO: TCP Data received {"connection_id":172064,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:48:49] local.INFO: Processing buffer {"connection_id":172064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:48:49] local.INFO: IMEI packet received {"connection_id":172064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":172064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:48:54] local.INFO: TCP Data received {"connection_id":172064,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:48:54] local.INFO: Processing buffer {"connection_id":172064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:48:54] local.INFO: IMEI packet received {"connection_id":172064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":172064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:48:55] local.INFO: TCP Data received {"connection_id":172064,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0718012f0012d196700071fef080038005728..."} 
[2026-09-05 17:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718012f0012d196700071fef080038005728..."} 
[2026-09-05 17:48:55] local.INFO: Processing buffer {"connection_id":172064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718012f0012d196700071fef080038005728..."} 
[2026-09-05 17:48:55] local.INFO: Packet analysis {"connection_id":172064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07180"} 
[2026-09-05 17:48:55] local.INFO: Extracted packet for processing {"connection_id":172064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07180"} 
[2026-09-05 17:48:55] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 17:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884311808001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788610614000,"timestamp_ms":1788610614000,"timestamp_seconds":1788610614,"priority":1,"record_length":96,"hex_timestamp":"000001a0718012f0"} 
[2026-09-05 17:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-05 17:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:48:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 17:48:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 17:48:55] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-09-05 17:48:55] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":53249,"corrected_to":0} 
[2026-09-05 17:48:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249741855941717768,"note":"Value kept but may cause issues"} 
[2026-09-05 17:48:55] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4010278968,"note":"Value kept but may cause issues"} 
[2026-09-05 17:48:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-05 17:48:55] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397048,"note":"Value kept but may cause issues"} 
[2026-09-05 17:48:55] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-05 17:48:55] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-05 17:48:55] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-05 17:48:55] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,160,110,45,239,56,38,10,66,28,39,202,1,240,167,227,113,31,4,205,103,8,41,49,2,64,7,120,85,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":202,"original":53249,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-05 17:48:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035321099729240064,"timestamp_seconds":4035321099729240.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 17:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884311808001,"66":12580,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1830431804149925888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884311808001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:48:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:48:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884311808001,"power":12580,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-09-05 17:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":172064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:48:55] local.INFO: GPS data processed {"connection_id":172064,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:48:55] local.INFO: Acknowledgment sent {"connection_id":172064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:48:56] local.INFO: TCP Data received {"connection_id":173172,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:48:56] local.INFO: Processing buffer {"connection_id":173172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:48:56] local.INFO: IMEI packet received {"connection_id":173172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":173172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:48:56] local.INFO: TCP Data received {"connection_id":172064,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0718064f8012d196700071fef080038005728..."} 
[2026-09-05 17:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718064f8012d196700071fef080038005728..."} 
[2026-09-05 17:48:56] local.INFO: Processing buffer {"connection_id":172064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718064f8012d196700071fef080038005728..."} 
[2026-09-05 17:48:56] local.INFO: Packet analysis {"connection_id":172064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07180"} 
[2026-09-05 17:48:56] local.INFO: Extracted packet for processing {"connection_id":172064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07180"} 
[2026-09-05 17:48:56] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 17:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884317184001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788610635000,"timestamp_ms":1788610635000,"timestamp_seconds":1788610635,"priority":1,"record_length":96,"hex_timestamp":"000001a0718064f8"} 
[2026-09-05 17:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-05 17:48:56] 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-09-05 17:48:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884317184001,"66":12602,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1830431804149925888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884317184001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:48:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:48:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884317184001,"power":12602,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-09-05 17:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":172064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:48:56] local.INFO: GPS data processed {"connection_id":172064,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:48:56] local.INFO: Acknowledgment sent {"connection_id":172064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:48:57] local.INFO: TCP Data received {"connection_id":172063,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07181d810012d7b880005d19778001000c80b..."} 
[2026-09-05 17:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07181d810012d7b880005d19778001000c80b..."} 
[2026-09-05 17:48:57] local.INFO: Processing buffer {"connection_id":172063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07181d810012d7b880005d19778001000c80b..."} 
[2026-09-05 17:48:57] local.INFO: Packet analysis {"connection_id":172063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07181"} 
[2026-09-05 17:48:57] local.INFO: Extracted packet for processing {"connection_id":172063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07181"} 
[2026-09-05 17:48:57] local.INFO: GPS Element Parsed {"raw_longitude":763070464,"raw_latitude":97621880,"longitude_deg":76.3070464,"latitude_deg":9.762188,"altitude":16,"angle":200,"satellites":11,"speed":21,"hex_longitude":"2d7b8800","hex_latitude":"05d19778","is_valid_coordinates":true} 
[2026-09-05 17:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884346624001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128617369818890240,"note":"Value kept but may cause issues"} 
[2026-09-05 17:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901575794721642496,"note":"Value kept but may cause issues"} 
[2026-09-05 17:48:57] 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-09-05 17:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788610730000,"timestamp_ms":1788610730000,"timestamp_seconds":1788610730,"priority":1,"record_length":96,"hex_timestamp":"000001a07181d810"} 
[2026-09-05 17:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:48:57] 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-09-05 17:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-05 17:48:57] 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-09-05 17:48:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884346624001,"66":13472,"188":206,"85":15104,"24":21,"16":128617369818890240,"45":8901575794721642496},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-09-05 17:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 17:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 17:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884346624001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:48:57] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-05 17:48:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 17:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128617369818890240,"km_value":128617369818890.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901575794721642496,"description":"Unknown IO ID 45"} 
[2026-09-05 17:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884346624001,"power":13472,"unknown_188":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8901575794721642496}} 
[2026-09-05 17:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":172063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770312,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:48:57] local.INFO: GPS data processed {"connection_id":172063,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:48:57] local.INFO: Acknowledgment sent {"connection_id":172063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:49:01] local.INFO: TCP Data received {"connection_id":173172,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:49:01] local.INFO: Processing buffer {"connection_id":173172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:49:01] local.INFO: IMEI packet received {"connection_id":173172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":173172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:49:01] local.INFO: TCP Data received {"connection_id":173172,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0717e49e8012d7b850005f5f278000600f62e..."} 
[2026-09-05 17:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717e49e8012d7b850005f5f278000600f62e..."} 
[2026-09-05 17:49:01] local.INFO: Processing buffer {"connection_id":173172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717e49e8012d7b850005f5f278000600f62e..."} 
[2026-09-05 17:49:01] local.INFO: Packet analysis {"connection_id":173172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0717e"} 
[2026-09-05 17:49:01] local.INFO: Extracted packet for processing {"connection_id":173172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0717e"} 
[2026-09-05 17:49:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884210176001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788610497000,"timestamp_ms":1788610497000,"timestamp_seconds":1788610497,"priority":1,"record_length":96,"hex_timestamp":"000001a0717e49e8"} 
[2026-09-05 17:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:49:01] 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-09-05 17:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-05 17:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884210176001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884210176001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:49:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:49:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884210176001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":173172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:49:01] local.INFO: GPS data processed {"connection_id":173172,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:49:01] local.INFO: Acknowledgment sent {"connection_id":173172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:49:19] local.INFO: TCP Data received {"connection_id":172065,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:49:19] local.INFO: Processing buffer {"connection_id":172065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:49:19] local.INFO: IMEI packet received {"connection_id":172065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 17:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":172065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:49:24] local.INFO: TCP Data received {"connection_id":172065,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:49:24] local.INFO: Processing buffer {"connection_id":172065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:49:24] local.INFO: IMEI packet received {"connection_id":172065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 17:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":172065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:49:25] local.INFO: TCP Data received {"connection_id":172065,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07181dfe0012d7b858005d19458001000de0b..."} 
[2026-09-05 17:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07181dfe0012d7b858005d19458001000de0b..."} 
[2026-09-05 17:49:25] local.INFO: Processing buffer {"connection_id":172065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07181dfe0012d7b858005d19458001000de0b..."} 
[2026-09-05 17:49:25] local.INFO: Packet analysis {"connection_id":172065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07181"} 
[2026-09-05 17:49:25] local.INFO: Extracted packet for processing {"connection_id":172065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07181"} 
[2026-09-05 17:49:25] local.INFO: GPS Element Parsed {"raw_longitude":763069824,"raw_latitude":97621080,"longitude_deg":76.3069824,"latitude_deg":9.762108,"altitude":16,"angle":222,"satellites":11,"speed":20,"hex_longitude":"2d7b8580","hex_latitude":"05d19458","is_valid_coordinates":true} 
[2026-09-05 17:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884346880001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128617417063530496,"note":"Value kept but may cause issues"} 
[2026-09-05 17:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901364688488986624,"note":"Value kept but may cause issues"} 
[2026-09-05 17:49:25] 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-09-05 17:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788610732000,"timestamp_ms":1788610732000,"timestamp_seconds":1788610732,"priority":1,"record_length":96,"hex_timestamp":"000001a07181dfe0"} 
[2026-09-05 17:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:49:25] 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-09-05 17:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-05 17:49:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:49:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884346880001,"66":13472,"188":206,"85":15104,"24":20,"16":128617417063530496,"45":8901364688488986624},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-09-05 17:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 17:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 17:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884346880001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:49:25] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-05 17:49:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 17:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128617417063530496,"km_value":128617417063530.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901364688488986624,"description":"Unknown IO ID 45"} 
[2026-09-05 17:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884346880001,"power":13472,"unknown_188":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8901364688488986624}} 
[2026-09-05 17:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":172065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:49:25] local.INFO: GPS data processed {"connection_id":172065,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:49:25] local.INFO: Acknowledgment sent {"connection_id":172065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:49:27] local.INFO: TCP Data received {"connection_id":172064,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07180b700012d196700071fef080038005729..."} 
[2026-09-05 17:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07180b700012d196700071fef080038005729..."} 
[2026-09-05 17:49:27] local.INFO: Processing buffer {"connection_id":172064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07180b700012d196700071fef080038005729..."} 
[2026-09-05 17:49:27] local.INFO: Packet analysis {"connection_id":172064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07180"} 
[2026-09-05 17:49:27] local.INFO: Extracted packet for processing {"connection_id":172064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07180"} 
[2026-09-05 17:49:27] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 17:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884322560001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788610656000,"timestamp_ms":1788610656000,"timestamp_seconds":1788610656,"priority":1,"record_length":96,"hex_timestamp":"000001a07180b700"} 
[2026-09-05 17:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:49:27] 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-09-05 17:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-05 17:49:27] 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-09-05 17:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884322560001,"66":12602,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1830431804149925888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884322560001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:49:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:49:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884322560001,"power":12602,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-09-05 17:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":172064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:49:27] local.INFO: GPS data processed {"connection_id":172064,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:49:27] local.INFO: Acknowledgment sent {"connection_id":172064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:49:33] local.INFO: TCP Data received {"connection_id":173172,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0717e49e8012d7b850005f5f278000600f62e..."} 
[2026-09-05 17:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717e49e8012d7b850005f5f278000600f62e..."} 
[2026-09-05 17:49:33] local.INFO: Processing buffer {"connection_id":173172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717e49e8012d7b850005f5f278000600f62e..."} 
[2026-09-05 17:49:33] local.INFO: Packet analysis {"connection_id":173172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0717e"} 
[2026-09-05 17:49:33] local.INFO: Extracted packet for processing {"connection_id":173172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0717e"} 
[2026-09-05 17:49:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884210176001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788610497000,"timestamp_ms":1788610497000,"timestamp_seconds":1788610497,"priority":1,"record_length":96,"hex_timestamp":"000001a0717e49e8"} 
[2026-09-05 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-09-05 17:49: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-09-05 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-05 17:49: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-09-05 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-09-05 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-09-05 17:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884210176001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884210176001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:49:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:49:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884210176001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":173172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:49:33] local.INFO: GPS data processed {"connection_id":173172,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:49:33] local.INFO: Acknowledgment sent {"connection_id":173172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:49:44] local.INFO: TCP Data received {"connection_id":172066,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:49:44] local.INFO: Processing buffer {"connection_id":172066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:49:44] local.INFO: IMEI packet received {"connection_id":172066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":172066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:49:49] local.INFO: TCP Data received {"connection_id":172066,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:49:49] local.INFO: Processing buffer {"connection_id":172066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:49:49] local.INFO: IMEI packet received {"connection_id":172066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":172066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:49:50] local.INFO: TCP Data received {"connection_id":172066,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071810908012d196700071fef080038005728..."} 
[2026-09-05 17:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071810908012d196700071fef080038005728..."} 
[2026-09-05 17:49:50] local.INFO: Processing buffer {"connection_id":172066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071810908012d196700071fef080038005728..."} 
[2026-09-05 17:49:50] local.INFO: Packet analysis {"connection_id":172066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07181"} 
[2026-09-05 17:49:50] local.INFO: Extracted packet for processing {"connection_id":172066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07181"} 
[2026-09-05 17:49:50] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884327936001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788610677000,"timestamp_ms":1788610677000,"timestamp_seconds":1788610677,"priority":1,"record_length":96,"hex_timestamp":"000001a071810908"} 
[2026-09-05 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-09-05 17:49:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-05 17:49:50] 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-09-05 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-09-05 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-09-05 17:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884327936001,"66":12645,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1830431804149925888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884327936001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:49:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:49:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884327936001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-09-05 17:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":172066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:49:50] local.INFO: GPS data processed {"connection_id":172066,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:49:50] local.INFO: Acknowledgment sent {"connection_id":172066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:49:56] local.INFO: TCP Data received {"connection_id":173173,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:49:56] local.INFO: Processing buffer {"connection_id":173173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:49:56] local.INFO: IMEI packet received {"connection_id":173173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":173173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:49:56] local.INFO: TCP Data received {"connection_id":172065,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07181e7b0012d7b81c005d191b8001100ec0b..."} 
[2026-09-05 17:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07181e7b0012d7b81c005d191b8001100ec0b..."} 
[2026-09-05 17:49:56] local.INFO: Processing buffer {"connection_id":172065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07181e7b0012d7b81c005d191b8001100ec0b..."} 
[2026-09-05 17:49:56] local.INFO: Packet analysis {"connection_id":172065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07181"} 
[2026-09-05 17:49:56] local.INFO: Extracted packet for processing {"connection_id":172065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07181"} 
[2026-09-05 17:49:56] local.INFO: GPS Element Parsed {"raw_longitude":763068864,"raw_latitude":97620408,"longitude_deg":76.3068864,"latitude_deg":9.7620408,"altitude":17,"angle":236,"satellites":11,"speed":22,"hex_longitude":"2d7b81c0","hex_latitude":"05d191b8","is_valid_coordinates":true} 
[2026-09-05 17:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884347392001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128617477193072640,"note":"Value kept but may cause issues"} 
[2026-09-05 17:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900661001047005184,"note":"Value kept but may cause issues"} 
[2026-09-05 17:49:56] 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-09-05 17:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788610734000,"timestamp_ms":1788610734000,"timestamp_seconds":1788610734,"priority":1,"record_length":96,"hex_timestamp":"000001a07181e7b0"} 
[2026-09-05 17:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:49:56] 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-09-05 17:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-05 17:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884347392001,"66":13515,"188":206,"85":15104,"24":22,"16":128617477193072640,"45":8900661001047005184},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-09-05 17:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 17:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 17:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884347392001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:49:56] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-05 17:49:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 17:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128617477193072640,"km_value":128617477193072.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900661001047005184,"description":"Unknown IO ID 45"} 
[2026-09-05 17:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884347392001,"power":13515,"unknown_188":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8900661001047005184}} 
[2026-09-05 17:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":172065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:49:56] local.INFO: GPS data processed {"connection_id":172065,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:49:56] local.INFO: Acknowledgment sent {"connection_id":172065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:50:01] local.INFO: TCP Data received {"connection_id":173173,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:50:01] local.INFO: Processing buffer {"connection_id":173173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:50:01] local.INFO: IMEI packet received {"connection_id":173173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":173173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:50:02] local.INFO: TCP Data received {"connection_id":173173,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0717e49e8012d7b850005f5f278000600f62e..."} 
[2026-09-05 17:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717e49e8012d7b850005f5f278000600f62e..."} 
[2026-09-05 17:50:02] local.INFO: Processing buffer {"connection_id":173173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717e49e8012d7b850005f5f278000600f62e..."} 
[2026-09-05 17:50:02] local.INFO: Packet analysis {"connection_id":173173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0717e"} 
[2026-09-05 17:50:02] local.INFO: Extracted packet for processing {"connection_id":173173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0717e"} 
[2026-09-05 17:50:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884210176001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788610497000,"timestamp_ms":1788610497000,"timestamp_seconds":1788610497,"priority":1,"record_length":96,"hex_timestamp":"000001a0717e49e8"} 
[2026-09-05 17:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:50:02] 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-09-05 17: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":243,"data_length":795,"current_offset":136} 
[2026-09-05 17:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884210176001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884210176001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:50:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:50:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884210176001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":173173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:50:02] local.INFO: GPS data processed {"connection_id":173173,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:50:02] local.INFO: Acknowledgment sent {"connection_id":173173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:50:18] local.INFO: TCP Data received {"connection_id":171791,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:50:18] local.INFO: Processing buffer {"connection_id":171791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:50:18] local.INFO: IMEI packet received {"connection_id":171791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 17:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":171791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:50:19] local.INFO: TCP Data received {"connection_id":171791,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:50:19] local.INFO: Processing buffer {"connection_id":171791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:50:19] local.INFO: IMEI packet received {"connection_id":171791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 17:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":171791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:50:21] local.INFO: TCP Data received {"connection_id":171791,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:50:21] local.INFO: Processing buffer {"connection_id":171791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:50:21] local.INFO: IMEI packet received {"connection_id":171791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 17:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":171791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:50:21] local.INFO: TCP Data received {"connection_id":172066,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071815b10012d196700071fef080038005726..."} 
[2026-09-05 17:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071815b10012d196700071fef080038005726..."} 
[2026-09-05 17:50:21] local.INFO: Processing buffer {"connection_id":172066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071815b10012d196700071fef080038005726..."} 
[2026-09-05 17:50:21] local.INFO: Packet analysis {"connection_id":172066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07181"} 
[2026-09-05 17:50:21] local.INFO: Extracted packet for processing {"connection_id":172066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07181"} 
[2026-09-05 17:50:21] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":38,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 17:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884333312001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788610698000,"timestamp_ms":1788610698000,"timestamp_seconds":1788610698,"priority":1,"record_length":96,"hex_timestamp":"000001a071815b10"} 
[2026-09-05 17:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:50: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-09-05 17:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-05 17:50:21] 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-09-05 17:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884333312001,"66":12558,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1830431804149925888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884333312001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:50:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:50:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884333312001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-09-05 17:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":172066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:50:21] local.INFO: GPS data processed {"connection_id":172066,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:50:21] local.INFO: Acknowledgment sent {"connection_id":172066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:50:24] local.INFO: TCP Data received {"connection_id":171791,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:50:24] local.INFO: Processing buffer {"connection_id":171791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:50:24] local.INFO: IMEI packet received {"connection_id":171791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 17:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":171791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:50:25] local.INFO: TCP Data received {"connection_id":171791,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071832030012d7b74c005d0e4a0000500c90b..."} 
[2026-09-05 17:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071832030012d7b74c005d0e4a0000500c90b..."} 
[2026-09-05 17:50:25] local.INFO: Processing buffer {"connection_id":171791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071832030012d7b74c005d0e4a0000500c90b..."} 
[2026-09-05 17:50:25] local.INFO: Packet analysis {"connection_id":171791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07183"} 
[2026-09-05 17:50:25] local.INFO: Extracted packet for processing {"connection_id":171791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07183"} 
[2026-09-05 17:50:25] local.INFO: GPS Element Parsed {"raw_longitude":763065536,"raw_latitude":97576096,"longitude_deg":76.3065536,"latitude_deg":9.7576096,"altitude":5,"angle":201,"satellites":11,"speed":18,"hex_longitude":"2d7b74c0","hex_latitude":"05d0e4a0","is_valid_coordinates":true} 
[2026-09-05 17:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884368128001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128619800770379776,"note":"Value kept but may cause issues"} 
[2026-09-05 17:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896157401408231424,"note":"Value kept but may cause issues"} 
[2026-09-05 17:50:25] 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-09-05 17:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788610814000,"timestamp_ms":1788610814000,"timestamp_seconds":1788610814,"priority":1,"record_length":96,"hex_timestamp":"000001a071832030"} 
[2026-09-05 17:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:50:25] 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-09-05 17:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-05 17:50:25] 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-09-05 17:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884368128001,"66":13515,"188":206,"85":15104,"24":18,"16":128619800770379776,"45":8896157401408231424},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-09-05 17:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 17:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 17:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884368128001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:50:25] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-05 17:50:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 17:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128619800770379776,"km_value":128619800770379.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896157401408231424,"description":"Unknown IO ID 45"} 
[2026-09-05 17:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884368128001,"power":13515,"unknown_188":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8896157401408231424}} 
[2026-09-05 17:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":171791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:50:25] local.INFO: GPS data processed {"connection_id":171791,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:50:25] local.INFO: Acknowledgment sent {"connection_id":171791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:50:33] local.INFO: TCP Data received {"connection_id":173173,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0717e49e8012d7b850005f5f278000600f62e..."} 
[2026-09-05 17:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0717e49e8012d7b850005f5f278000600f62e..."} 
[2026-09-05 17:50:33] local.INFO: Processing buffer {"connection_id":173173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0717e49e8012d7b850005f5f278000600f62e..."} 
[2026-09-05 17:50:33] local.INFO: Packet analysis {"connection_id":173173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0717e"} 
[2026-09-05 17:50:33] local.INFO: Extracted packet for processing {"connection_id":173173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0717e"} 
[2026-09-05 17:50:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884210176001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788610497000,"timestamp_ms":1788610497000,"timestamp_seconds":1788610497,"priority":1,"record_length":96,"hex_timestamp":"000001a0717e49e8"} 
[2026-09-05 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-09-05 17:50: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-09-05 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-05 17:50: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-09-05 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-09-05 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-09-05 17:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884210176001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884210176001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:50:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:50:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884210176001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":173173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:50:33] local.INFO: GPS data processed {"connection_id":173173,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:50:33] local.INFO: Acknowledgment sent {"connection_id":173173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:50:41] local.INFO: TCP Data received {"connection_id":171792,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:50:41] local.INFO: Processing buffer {"connection_id":171792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:50:41] local.INFO: IMEI packet received {"connection_id":171792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":171792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:50:44] local.INFO: TCP Data received {"connection_id":171792,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:50:44] local.INFO: Processing buffer {"connection_id":171792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:50:44] local.INFO: IMEI packet received {"connection_id":171792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":171792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:50:49] local.INFO: TCP Data received {"connection_id":171792,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:50:49] local.INFO: Processing buffer {"connection_id":171792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:50:49] local.INFO: IMEI packet received {"connection_id":171792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":171792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:50:50] local.INFO: TCP Data received {"connection_id":171792,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07181ad18012d196700071fef080038005729..."} 
[2026-09-05 17:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07181ad18012d196700071fef080038005729..."} 
[2026-09-05 17:50:50] local.INFO: Processing buffer {"connection_id":171792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07181ad18012d196700071fef080038005729..."} 
[2026-09-05 17:50:50] local.INFO: Packet analysis {"connection_id":171792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07181"} 
[2026-09-05 17:50:50] local.INFO: Extracted packet for processing {"connection_id":171792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07181"} 
[2026-09-05 17:50:50] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 17:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884338688001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788610719000,"timestamp_ms":1788610719000,"timestamp_seconds":1788610719,"priority":1,"record_length":96,"hex_timestamp":"000001a07181ad18"} 
[2026-09-05 17:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-05 17:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:50:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 17:50:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 17:50:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249741855941717768,"note":"Value kept but may cause issues"} 
[2026-09-05 17:50:50] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4010278968,"note":"Value kept but may cause issues"} 
[2026-09-05 17:50:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-05 17:50:50] local.WARNING: Large IO value detected {"io_id":192,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-09-05 17:50:50] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-05 17:50:50] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-05 17:50:50] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-05 17:50:50] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,160,9,45,239,56,40,10,66,183,41,100,1,240,58,227,113,31,4,205,192,103,8,49,2,64,7,120,85,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-05 17:50:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035321086844338176,"timestamp_seconds":4035321086844338.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 17:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884338688001,"66":12613,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1830431804149925888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884338688001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:50:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:50:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884338688001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-09-05 17:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":171792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:50:50] local.INFO: GPS data processed {"connection_id":171792,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:50:50] local.INFO: Acknowledgment sent {"connection_id":171792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:50:55] local.INFO: TCP Data received {"connection_id":171793,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:50:55] local.INFO: Processing buffer {"connection_id":171793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:50:55] local.INFO: IMEI packet received {"connection_id":171793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":171793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:50:59] local.INFO: TCP Data received {"connection_id":171791,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071832800012d7b72c005d0e190000500d70b..."} 
[2026-09-05 17:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071832800012d7b72c005d0e190000500d70b..."} 
[2026-09-05 17:50:59] local.INFO: Processing buffer {"connection_id":171791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071832800012d7b72c005d0e190000500d70b..."} 
[2026-09-05 17:50:59] local.INFO: Packet analysis {"connection_id":171791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07183"} 
[2026-09-05 17:50:59] local.INFO: Extracted packet for processing {"connection_id":171791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07183"} 
[2026-09-05 17:50:59] local.INFO: GPS Element Parsed {"raw_longitude":763065024,"raw_latitude":97575312,"longitude_deg":76.3065024,"latitude_deg":9.7575312,"altitude":5,"angle":215,"satellites":11,"speed":20,"hex_longitude":"2d7b72c0","hex_latitude":"05d0e190","is_valid_coordinates":true} 
[2026-09-05 17:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884368384001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128619848015020032,"note":"Value kept but may cause issues"} 
[2026-09-05 17:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895946295175585792,"note":"Value kept but may cause issues"} 
[2026-09-05 17:50:59] 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-09-05 17:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788610816000,"timestamp_ms":1788610816000,"timestamp_seconds":1788610816,"priority":1,"record_length":96,"hex_timestamp":"000001a071832800"} 
[2026-09-05 17:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:50:59] 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-09-05 17:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-05 17:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884368384001,"66":13493,"188":206,"85":15104,"24":20,"16":128619848015020032,"45":8895946295175585792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-09-05 17:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 17:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 17:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884368384001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:50:59] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-05 17:50:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 17:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128619848015020032,"km_value":128619848015020.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895946295175585792,"description":"Unknown IO ID 45"} 
[2026-09-05 17:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884368384001,"power":13493,"unknown_188":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8895946295175585792}} 
[2026-09-05 17:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":171791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770324,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:51:00] local.INFO: GPS data processed {"connection_id":171791,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:51:00] local.INFO: Acknowledgment sent {"connection_id":171791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:51:01] local.INFO: TCP Data received {"connection_id":171793,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:51:01] local.INFO: Processing buffer {"connection_id":171793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:51:01] local.INFO: IMEI packet received {"connection_id":171793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":171793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:51:02] local.INFO: TCP Data received {"connection_id":171793,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07182e1b0012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07182e1b0012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:51:02] local.INFO: Processing buffer {"connection_id":171793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07182e1b0012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:51:02] local.INFO: Packet analysis {"connection_id":171793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07182"} 
[2026-09-05 17:51:02] local.INFO: Extracted packet for processing {"connection_id":171793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07182"} 
[2026-09-05 17:51:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884287232001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788610798000,"timestamp_ms":1788610798000,"timestamp_seconds":1788610798,"priority":1,"record_length":96,"hex_timestamp":"000001a07182e1b0"} 
[2026-09-05 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-09-05 17:51:02] 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-09-05 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 17:51: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-09-05 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-09-05 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-09-05 17:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884287232001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884287232001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:51:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:51:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884287232001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":171793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:51:02] local.INFO: GPS data processed {"connection_id":171793,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:51:02] local.INFO: Acknowledgment sent {"connection_id":171793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:51:19] local.INFO: TCP Data received {"connection_id":173174,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:51:19] local.INFO: Processing buffer {"connection_id":173174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:51:19] local.INFO: IMEI packet received {"connection_id":173174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 17:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":173174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:51:21] local.INFO: TCP Data received {"connection_id":173174,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:51:21] local.INFO: Processing buffer {"connection_id":173174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:51:21] local.INFO: IMEI packet received {"connection_id":173174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 17:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":173174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:51:21] local.INFO: TCP Data received {"connection_id":171792,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07181ff20012d196700071fef080038005729..."} 
[2026-09-05 17:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07181ff20012d196700071fef080038005729..."} 
[2026-09-05 17:51:21] local.INFO: Processing buffer {"connection_id":171792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07181ff20012d196700071fef080038005729..."} 
[2026-09-05 17:51:21] local.INFO: Packet analysis {"connection_id":171792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07181"} 
[2026-09-05 17:51:21] local.INFO: Extracted packet for processing {"connection_id":171792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07181"} 
[2026-09-05 17:51:21] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 17:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884344064001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788610740000,"timestamp_ms":1788610740000,"timestamp_seconds":1788610740,"priority":1,"record_length":96,"hex_timestamp":"000001a07181ff20"} 
[2026-09-05 17:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:51: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-09-05 17:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-05 17:51:21] 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-09-05 17:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884344064001,"66":12591,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1830431804149925888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884344064001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:51:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:51:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884344064001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-09-05 17:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":171792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:51:21] local.INFO: GPS data processed {"connection_id":171792,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:51:21] local.INFO: Acknowledgment sent {"connection_id":171792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:51:21] local.INFO: TCP Data received {"connection_id":173174,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:51:21] local.INFO: Processing buffer {"connection_id":173174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:51:21] local.INFO: IMEI packet received {"connection_id":173174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 17:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":173174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:51:24] local.INFO: TCP Data received {"connection_id":173174,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:51:24] local.INFO: Processing buffer {"connection_id":173174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:51:24] local.INFO: IMEI packet received {"connection_id":173174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 17:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":173174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:51:24] local.INFO: TCP Data received {"connection_id":173174,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0718333b8012d7b6e0005d0dc98000400e20b..."} 
[2026-09-05 17:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718333b8012d7b6e0005d0dc98000400e20b..."} 
[2026-09-05 17:51:24] local.INFO: Processing buffer {"connection_id":173174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718333b8012d7b6e0005d0dc98000400e20b..."} 
[2026-09-05 17:51:24] local.INFO: Packet analysis {"connection_id":173174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07183"} 
[2026-09-05 17:51:24] local.INFO: Extracted packet for processing {"connection_id":173174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07183"} 
[2026-09-05 17:51:24] local.INFO: GPS Element Parsed {"raw_longitude":763063808,"raw_latitude":97574040,"longitude_deg":76.3063808,"latitude_deg":9.757404,"altitude":4,"angle":226,"satellites":11,"speed":23,"hex_longitude":"2d7b6e00","hex_latitude":"05d0dc98","is_valid_coordinates":true} 
[2026-09-05 17:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884368896001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128619929619398656,"note":"Value kept but may cause issues"} 
[2026-09-05 17:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895383345221963776,"note":"Value kept but may cause issues"} 
[2026-09-05 17:51:24] 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-09-05 17:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788610819000,"timestamp_ms":1788610819000,"timestamp_seconds":1788610819,"priority":1,"record_length":96,"hex_timestamp":"000001a0718333b8"} 
[2026-09-05 17:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-05 17:51: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-09-05 17:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884368896001,"66":13537,"188":206,"85":15104,"24":23,"16":128619929619398656,"45":8895383345221963776},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-09-05 17:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 17:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 17:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884368896001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:51:24] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-05 17:51:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 17:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128619929619398656,"km_value":128619929619398.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895383345221963776,"description":"Unknown IO ID 45"} 
[2026-09-05 17:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884368896001,"power":13537,"unknown_188":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8895383345221963776}} 
[2026-09-05 17:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":173174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:51:24] local.INFO: GPS data processed {"connection_id":173174,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:51:24] local.INFO: Acknowledgment sent {"connection_id":173174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:51:33] local.INFO: TCP Data received {"connection_id":171793,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07182e1b0012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07182e1b0012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:51:33] local.INFO: Processing buffer {"connection_id":171793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07182e1b0012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:51:33] local.INFO: Packet analysis {"connection_id":171793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07182"} 
[2026-09-05 17:51:33] local.INFO: Extracted packet for processing {"connection_id":171793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07182"} 
[2026-09-05 17:51:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884287232001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788610798000,"timestamp_ms":1788610798000,"timestamp_seconds":1788610798,"priority":1,"record_length":96,"hex_timestamp":"000001a07182e1b0"} 
[2026-09-05 17:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:51: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-09-05 17: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 17:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884287232001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884287232001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:51:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:51:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884287232001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":171793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:51:33] local.INFO: GPS data processed {"connection_id":171793,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:51:33] local.INFO: Acknowledgment sent {"connection_id":171793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:51:44] local.INFO: TCP Data received {"connection_id":174496,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:51:44] local.INFO: Processing buffer {"connection_id":174496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:51:44] local.INFO: IMEI packet received {"connection_id":174496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":174496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:51:45] local.INFO: TCP Data received {"connection_id":174496,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:51:45] local.INFO: Processing buffer {"connection_id":174496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:51:45] local.INFO: IMEI packet received {"connection_id":174496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":174496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:51:49] local.INFO: TCP Data received {"connection_id":174496,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:51:49] local.INFO: Processing buffer {"connection_id":174496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:51:49] local.INFO: IMEI packet received {"connection_id":174496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":174496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:51:50] local.INFO: TCP Data received {"connection_id":174496,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071825128012d196700071fef080038005728..."} 
[2026-09-05 17:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071825128012d196700071fef080038005728..."} 
[2026-09-05 17:51:50] local.INFO: Processing buffer {"connection_id":174496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071825128012d196700071fef080038005728..."} 
[2026-09-05 17:51:50] local.INFO: Packet analysis {"connection_id":174496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07182"} 
[2026-09-05 17:51:50] local.INFO: Extracted packet for processing {"connection_id":174496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07182"} 
[2026-09-05 17:51:50] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 17:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884349440001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788610761000,"timestamp_ms":1788610761000,"timestamp_seconds":1788610761,"priority":1,"record_length":96,"hex_timestamp":"000001a071825128"} 
[2026-09-05 17:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 17:51:50] 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-09-05 17:51:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884349440001,"66":12591,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1830431804149925888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884349440001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:51:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:51:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884349440001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-09-05 17:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":174496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:51:50] local.INFO: GPS data processed {"connection_id":174496,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:51:50] local.INFO: Acknowledgment sent {"connection_id":174496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:51:55] local.INFO: TCP Data received {"connection_id":172067,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:51:55] local.INFO: Processing buffer {"connection_id":172067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:51:55] local.INFO: IMEI packet received {"connection_id":172067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":172067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:51:56] local.INFO: TCP Data received {"connection_id":173174,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071843588012d7b7b8005d040c8000000cb0b..."} 
[2026-09-05 17:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071843588012d7b7b8005d040c8000000cb0b..."} 
[2026-09-05 17:51:56] local.INFO: Processing buffer {"connection_id":173174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071843588012d7b7b8005d040c8000000cb0b..."} 
[2026-09-05 17:51:56] local.INFO: Packet analysis {"connection_id":173174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07184"} 
[2026-09-05 17:51:56] local.INFO: Extracted packet for processing {"connection_id":173174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07184"} 
[2026-09-05 17:51:56] local.INFO: GPS Element Parsed {"raw_longitude":763067264,"raw_latitude":97534152,"longitude_deg":76.3067264,"latitude_deg":9.7534152,"altitude":0,"angle":203,"satellites":11,"speed":30,"hex_longitude":"2d7b7b80","hex_latitude":"05d040c8","is_valid_coordinates":true} 
[2026-09-05 17:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884385792001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128621974023831552,"note":"Value kept but may cause issues"} 
[2026-09-05 17:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898690676188307456,"note":"Value kept but may cause issues"} 
[2026-09-05 17:51:56] 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-09-05 17:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788610885000,"timestamp_ms":1788610885000,"timestamp_seconds":1788610885,"priority":1,"record_length":96,"hex_timestamp":"000001a071843588"} 
[2026-09-05 17:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:51:56] 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-09-05 17:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 17:51:56] 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-09-05 17:51:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884385792001,"66":13406,"81":206,"85":15104,"24":30,"16":128621974023831552,"45":8898690676188307456},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-05 17:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 17:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 17:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884385792001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:51:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-05 17:51:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 17:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128621974023831552,"km_value":128621974023831.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898690676188307456,"description":"Unknown IO ID 45"} 
[2026-09-05 17:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884385792001,"power":13406,"unknown_81":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8898690676188307456}} 
[2026-09-05 17:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":173174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770330,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:51:56] local.INFO: GPS data processed {"connection_id":173174,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:51:56] local.INFO: Acknowledgment sent {"connection_id":173174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:52:01] local.INFO: TCP Data received {"connection_id":172067,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:52:01] local.INFO: Processing buffer {"connection_id":172067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:52:01] local.INFO: IMEI packet received {"connection_id":172067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":172067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:52:02] local.INFO: TCP Data received {"connection_id":172067,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07182e1b0012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07182e1b0012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:52:02] local.INFO: Processing buffer {"connection_id":172067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07182e1b0012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:52:02] local.INFO: Packet analysis {"connection_id":172067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07182"} 
[2026-09-05 17:52:02] local.INFO: Extracted packet for processing {"connection_id":172067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07182"} 
[2026-09-05 17:52:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884287232001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788610798000,"timestamp_ms":1788610798000,"timestamp_seconds":1788610798,"priority":1,"record_length":96,"hex_timestamp":"000001a07182e1b0"} 
[2026-09-05 17:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:52:02] 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-09-05 17: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":134,"data_length":795,"current_offset":136} 
[2026-09-05 17:52: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-09-05 17: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-09-05 17:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884287232001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884287232001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:52:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:52:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884287232001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":172067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:52:02] local.INFO: GPS data processed {"connection_id":172067,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:52:02] local.INFO: Acknowledgment sent {"connection_id":172067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:52:19] local.INFO: TCP Data received {"connection_id":173175,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:52:19] local.INFO: Processing buffer {"connection_id":173175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:52:19] local.INFO: IMEI packet received {"connection_id":173175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 17:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":173175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:52:19] local.INFO: TCP Data received {"connection_id":173175,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:52:19] local.INFO: Processing buffer {"connection_id":173175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:52:19] local.INFO: IMEI packet received {"connection_id":173175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 17:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":173175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:52:21] local.INFO: TCP Data received {"connection_id":174496,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07182a330012d196700071fef08003800572a..."} 
[2026-09-05 17:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07182a330012d196700071fef08003800572a..."} 
[2026-09-05 17:52:21] local.INFO: Processing buffer {"connection_id":174496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07182a330012d196700071fef08003800572a..."} 
[2026-09-05 17:52:21] local.INFO: Packet analysis {"connection_id":174496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07182"} 
[2026-09-05 17:52:21] local.INFO: Extracted packet for processing {"connection_id":174496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07182"} 
[2026-09-05 17:52:21] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 17:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884354816001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788610782000,"timestamp_ms":1788610782000,"timestamp_seconds":1788610782,"priority":1,"record_length":96,"hex_timestamp":"000001a07182a330"} 
[2026-09-05 17:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:52: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-09-05 17:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 17:52:21] 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-09-05 17:52:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884354816001,"66":12591,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1830431804149925888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884354816001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:52:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:52:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884354816001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-09-05 17:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":174496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:52:21] local.INFO: GPS data processed {"connection_id":174496,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:52:21] local.INFO: Acknowledgment sent {"connection_id":174496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:52:24] local.INFO: TCP Data received {"connection_id":173175,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:52:24] local.INFO: Processing buffer {"connection_id":173175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:52:24] local.INFO: IMEI packet received {"connection_id":173175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 17:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":173175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:52:25] local.INFO: TCP Data received {"connection_id":173175,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071844910012d7b770005d03308000000bf0b..."} 
[2026-09-05 17:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071844910012d7b770005d03308000000bf0b..."} 
[2026-09-05 17:52:25] local.INFO: Processing buffer {"connection_id":173175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071844910012d7b770005d03308000000bf0b..."} 
[2026-09-05 17:52:25] local.INFO: Packet analysis {"connection_id":173175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07184"} 
[2026-09-05 17:52:25] local.INFO: Extracted packet for processing {"connection_id":173175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07184"} 
[2026-09-05 17:52:25] local.INFO: GPS Element Parsed {"raw_longitude":763066112,"raw_latitude":97530632,"longitude_deg":76.3066112,"latitude_deg":9.7530632,"altitude":0,"angle":191,"satellites":11,"speed":28,"hex_longitude":"2d7b7700","hex_latitude":"05d03308","is_valid_coordinates":true} 
[2026-09-05 17:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884386560001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128622154412457984,"note":"Value kept but may cause issues"} 
[2026-09-05 17:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897846251257645056,"note":"Value kept but may cause issues"} 
[2026-09-05 17:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788610890000,"timestamp_ms":1788610890000,"timestamp_seconds":1788610890,"priority":1,"record_length":96,"hex_timestamp":"000001a071844910"} 
[2026-09-05 17:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-05 17:52:25] 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-09-05 17:52:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884386560001,"66":13602,"81":206,"85":15104,"24":28,"16":128622154412457984,"45":8897846251257645056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-05 17:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 17:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 17:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884386560001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:52:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-05 17:52:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 17:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128622154412457984,"km_value":128622154412457.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897846251257645056,"description":"Unknown IO ID 45"} 
[2026-09-05 17:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884386560001,"power":13602,"unknown_81":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8897846251257645056}} 
[2026-09-05 17:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":173175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770333,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:52:25] local.INFO: GPS data processed {"connection_id":173175,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:52:25] local.INFO: Acknowledgment sent {"connection_id":173175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:52:33] local.INFO: TCP Data received {"connection_id":172067,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07182e1b0012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07182e1b0012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:52:33] local.INFO: Processing buffer {"connection_id":172067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07182e1b0012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:52:33] local.INFO: Packet analysis {"connection_id":172067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07182"} 
[2026-09-05 17:52:33] local.INFO: Extracted packet for processing {"connection_id":172067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07182"} 
[2026-09-05 17:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884287232001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788610798000,"timestamp_ms":1788610798000,"timestamp_seconds":1788610798,"priority":1,"record_length":96,"hex_timestamp":"000001a07182e1b0"} 
[2026-09-05 17:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:52: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-09-05 17: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 17:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884287232001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884287232001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:52:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:52:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884287232001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":172067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:52:33] local.INFO: GPS data processed {"connection_id":172067,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:52:33] local.INFO: Acknowledgment sent {"connection_id":172067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:52:44] local.INFO: TCP Data received {"connection_id":173176,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:52:44] local.INFO: Processing buffer {"connection_id":173176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:52:44] local.INFO: IMEI packet received {"connection_id":173176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":173176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:52:47] local.INFO: TCP Data received {"connection_id":173176,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:52:47] local.INFO: Processing buffer {"connection_id":173176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:52:47] local.INFO: IMEI packet received {"connection_id":173176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":173176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:52:49] local.INFO: TCP Data received {"connection_id":173176,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:52:49] local.INFO: Processing buffer {"connection_id":173176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:52:49] local.INFO: IMEI packet received {"connection_id":173176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":173176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:52:50] local.INFO: TCP Data received {"connection_id":173176,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07182f538012d196700071fef080038005728..."} 
[2026-09-05 17:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07182f538012d196700071fef080038005728..."} 
[2026-09-05 17:52:50] local.INFO: Processing buffer {"connection_id":173176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07182f538012d196700071fef080038005728..."} 
[2026-09-05 17:52:50] local.INFO: Packet analysis {"connection_id":173176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07182"} 
[2026-09-05 17:52:50] local.INFO: Extracted packet for processing {"connection_id":173176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07182"} 
[2026-09-05 17:52:50] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 17:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884360192001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788610803000,"timestamp_ms":1788610803000,"timestamp_seconds":1788610803,"priority":1,"record_length":96,"hex_timestamp":"000001a07182f538"} 
[2026-09-05 17:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 17:52:50] 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-09-05 17:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884360192001,"66":12558,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1830431804149925888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884360192001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:52:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:52:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884360192001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-09-05 17:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":173176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:52:50] local.INFO: GPS data processed {"connection_id":173176,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:52:50] local.INFO: Acknowledgment sent {"connection_id":173176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:52:55] local.INFO: TCP Data received {"connection_id":173176,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071834740012d196700071fef080038005728..."} 
[2026-09-05 17:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071834740012d196700071fef080038005728..."} 
[2026-09-05 17:52:55] local.INFO: Processing buffer {"connection_id":173176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071834740012d196700071fef080038005728..."} 
[2026-09-05 17:52:55] local.INFO: Packet analysis {"connection_id":173176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07183"} 
[2026-09-05 17:52:55] local.INFO: Extracted packet for processing {"connection_id":173176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07183"} 
[2026-09-05 17:52:55] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 17:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884365568001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788610824000,"timestamp_ms":1788610824000,"timestamp_seconds":1788610824,"priority":1,"record_length":96,"hex_timestamp":"000001a071834740"} 
[2026-09-05 17:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-05 17:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:52:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 17:52:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 17:52:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249741855941717768,"note":"Value kept but may cause issues"} 
[2026-09-05 17:52:55] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4010278968,"note":"Value kept but may cause issues"} 
[2026-09-05 17:52:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-05 17:52:55] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-05 17:52:55] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-05 17:52:55] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-05 17:52:55] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,160,163,45,239,56,42,10,66,81,40,255,1,240,47,227,113,31,4,205,91,103,8,38,49,2,64,7,120,85,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-05 17:52:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035321095434272768,"timestamp_seconds":4035321095434273.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 17:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884365568001,"66":12558,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1830431804149925888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884365568001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:52:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:52:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884365568001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-09-05 17:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":173176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:52:55] local.INFO: GPS data processed {"connection_id":173176,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:52:55] local.INFO: Acknowledgment sent {"connection_id":173176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:52:56] local.INFO: TCP Data received {"connection_id":173175,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0718477f0012d7b6e8005d014e8000000ca0b..."} 
[2026-09-05 17:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718477f0012d7b6e8005d014e8000000ca0b..."} 
[2026-09-05 17:52:56] local.INFO: Processing buffer {"connection_id":173175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718477f0012d7b6e8005d014e8000000ca0b..."} 
[2026-09-05 17:52:56] local.INFO: Packet analysis {"connection_id":173175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07184"} 
[2026-09-05 17:52:56] local.INFO: Extracted packet for processing {"connection_id":173175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07184"} 
[2026-09-05 17:52:56] local.INFO: GPS Element Parsed {"raw_longitude":763063936,"raw_latitude":97522920,"longitude_deg":76.3063936,"latitude_deg":9.752292,"altitude":0,"angle":202,"satellites":11,"speed":23,"hex_longitude":"2d7b6e80","hex_latitude":"05d014e8","is_valid_coordinates":true} 
[2026-09-05 17:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884387840001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128622545254481920,"note":"Value kept but may cause issues"} 
[2026-09-05 17:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896579613861545984,"note":"Value kept but may cause issues"} 
[2026-09-05 17:52:56] 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-09-05 17:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788610902000,"timestamp_ms":1788610902000,"timestamp_seconds":1788610902,"priority":1,"record_length":96,"hex_timestamp":"000001a0718477f0"} 
[2026-09-05 17:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-05 17:52:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:52:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884387840001,"66":13515,"81":206,"85":15104,"24":23,"16":128622545254481920,"45":8896579613861545984},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-05 17:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 17:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 17:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884387840001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:52:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-05 17:52:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 17:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128622545254481920,"km_value":128622545254481.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896579613861545984,"description":"Unknown IO ID 45"} 
[2026-09-05 17:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884387840001,"power":13515,"unknown_81":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8896579613861545984}} 
[2026-09-05 17:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":173175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:52:56] local.INFO: GPS data processed {"connection_id":173175,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:52:56] local.INFO: Acknowledgment sent {"connection_id":173175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:53:01] local.INFO: TCP Data received {"connection_id":174497,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:53:01] local.INFO: Processing buffer {"connection_id":174497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:53:01] local.INFO: IMEI packet received {"connection_id":174497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":174497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:53:06] local.INFO: TCP Data received {"connection_id":174497,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:53:06] local.INFO: Processing buffer {"connection_id":174497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:53:06] local.INFO: IMEI packet received {"connection_id":174497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":174497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:53:07] local.INFO: TCP Data received {"connection_id":174497,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07182e1b0012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07182e1b0012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:53:07] local.INFO: Processing buffer {"connection_id":174497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07182e1b0012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:53:07] local.INFO: Packet analysis {"connection_id":174497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07182"} 
[2026-09-05 17:53:07] local.INFO: Extracted packet for processing {"connection_id":174497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07182"} 
[2026-09-05 17:53:07] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884287232001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788610798000,"timestamp_ms":1788610798000,"timestamp_seconds":1788610798,"priority":1,"record_length":96,"hex_timestamp":"000001a07182e1b0"} 
[2026-09-05 17:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:53: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-09-05 17:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 17:53:07] 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-09-05 17:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884287232001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884287232001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:53:07] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:53:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884287232001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":174497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:53:07] local.INFO: GPS data processed {"connection_id":174497,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:53:07] local.INFO: Acknowledgment sent {"connection_id":174497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:53:19] local.INFO: TCP Data received {"connection_id":171794,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:53:19] local.INFO: Processing buffer {"connection_id":171794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:53:19] local.INFO: IMEI packet received {"connection_id":171794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 17:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":171794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:53:21] local.INFO: TCP Data received {"connection_id":171794,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:53:21] local.INFO: Processing buffer {"connection_id":171794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:53:21] local.INFO: IMEI packet received {"connection_id":171794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 17:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":171794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:53:24] local.INFO: TCP Data received {"connection_id":171794,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:53:24] local.INFO: Processing buffer {"connection_id":171794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:53:24] local.INFO: IMEI packet received {"connection_id":171794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 17:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":171794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:53:25] local.INFO: TCP Data received {"connection_id":171794,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071858190012d7b61c005cf9398000000bf0b..."} 
[2026-09-05 17:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071858190012d7b61c005cf9398000000bf0b..."} 
[2026-09-05 17:53:25] local.INFO: Processing buffer {"connection_id":171794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071858190012d7b61c005cf9398000000bf0b..."} 
[2026-09-05 17:53:25] local.INFO: Packet analysis {"connection_id":171794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07185"} 
[2026-09-05 17:53:25] local.INFO: Extracted packet for processing {"connection_id":171794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07185"} 
[2026-09-05 17:53:25] local.INFO: GPS Element Parsed {"raw_longitude":763060672,"raw_latitude":97489816,"longitude_deg":76.3060672,"latitude_deg":9.7489816,"altitude":0,"angle":191,"satellites":11,"speed":7,"hex_longitude":"2d7b61c0","hex_latitude":"05cf9398","is_valid_coordinates":true} 
[2026-09-05 17:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884404992001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128624194521923584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891442695526774784,"note":"Value kept but may cause issues"} 
[2026-09-05 17:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788610970000,"timestamp_ms":1788610970000,"timestamp_seconds":1788610970,"priority":1,"record_length":96,"hex_timestamp":"000001a071858190"} 
[2026-09-05 17:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-05 17:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:53:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884404992001,"66":12928,"82":206,"85":15104,"24":7,"16":128624194521923584,"45":8891442695526774784},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-09-05 17:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 17:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 17:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884404992001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:53:25] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 17:53:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 17:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128624194521923584,"km_value":128624194521923.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891442695526774784,"description":"Unknown IO ID 45"} 
[2026-09-05 17:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884404992001,"power":12928,"unknown_82":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8891442695526774784}} 
[2026-09-05 17:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":171794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:53:25] local.INFO: GPS data processed {"connection_id":171794,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:53:25] local.INFO: Acknowledgment sent {"connection_id":171794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:53:26] local.INFO: TCP Data received {"connection_id":173176,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071839948012d196700071fef080038005729..."} 
[2026-09-05 17:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071839948012d196700071fef080038005729..."} 
[2026-09-05 17:53:26] local.INFO: Processing buffer {"connection_id":173176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071839948012d196700071fef080038005729..."} 
[2026-09-05 17:53:26] local.INFO: Packet analysis {"connection_id":173176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07183"} 
[2026-09-05 17:53:26] local.INFO: Extracted packet for processing {"connection_id":173176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07183"} 
[2026-09-05 17:53:26] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 17:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884370944001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788610845000,"timestamp_ms":1788610845000,"timestamp_seconds":1788610845,"priority":1,"record_length":96,"hex_timestamp":"000001a071839948"} 
[2026-09-05 17:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:53:26] 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-09-05 17:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-05 17:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:53:26] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 17:53:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 17:53:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249741855941717768,"note":"Value kept but may cause issues"} 
[2026-09-05 17:53:26] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4010278968,"note":"Value kept but may cause issues"} 
[2026-09-05 17:53:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-05 17:53:26] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-05 17:53:26] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-05 17:53:26] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-05 17:53:26] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,160,245,45,239,56,40,10,66,163,42,81,1,240,47,227,113,31,4,205,173,103,8,41,49,2,64,7,120,85,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-05 17:53:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035321095434272768,"timestamp_seconds":4035321095434273.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 17:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884370944001,"66":12504,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1830431804149925888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884370944001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:53:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:53:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884370944001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-09-05 17:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":173176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:53:26] local.INFO: GPS data processed {"connection_id":173176,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:53:26] local.INFO: Acknowledgment sent {"connection_id":173176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:53:38] local.INFO: TCP Data received {"connection_id":174497,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07182e1b0012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07182e1b0012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:53:38] local.INFO: Processing buffer {"connection_id":174497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07182e1b0012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:53:38] local.INFO: Packet analysis {"connection_id":174497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07182"} 
[2026-09-05 17:53:38] local.INFO: Extracted packet for processing {"connection_id":174497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07182"} 
[2026-09-05 17:53:38] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884287232001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788610798000,"timestamp_ms":1788610798000,"timestamp_seconds":1788610798,"priority":1,"record_length":96,"hex_timestamp":"000001a07182e1b0"} 
[2026-09-05 17:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:53: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-09-05 17: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 17:53:38] 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-09-05 17: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-09-05 17:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884287232001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884287232001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:53:38] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:53:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884287232001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":174497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:53:38] local.INFO: GPS data processed {"connection_id":174497,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:53:38] local.INFO: Acknowledgment sent {"connection_id":174497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:53:44] local.INFO: TCP Data received {"connection_id":172068,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:53:44] local.INFO: Processing buffer {"connection_id":172068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:53:44] local.INFO: IMEI packet received {"connection_id":172068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":172068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:53:49] local.INFO: TCP Data received {"connection_id":172068,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:53:49] local.INFO: Processing buffer {"connection_id":172068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:53:49] local.INFO: IMEI packet received {"connection_id":172068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":172068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:53:50] local.INFO: TCP Data received {"connection_id":172068,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07183eb50012d196700071fef08003800572b..."} 
[2026-09-05 17:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07183eb50012d196700071fef08003800572b..."} 
[2026-09-05 17:53:50] local.INFO: Processing buffer {"connection_id":172068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07183eb50012d196700071fef08003800572b..."} 
[2026-09-05 17:53:50] local.INFO: Packet analysis {"connection_id":172068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07183"} 
[2026-09-05 17:53:50] local.INFO: Extracted packet for processing {"connection_id":172068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07183"} 
[2026-09-05 17:53:50] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 17:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884376320001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788610866000,"timestamp_ms":1788610866000,"timestamp_seconds":1788610866,"priority":1,"record_length":96,"hex_timestamp":"000001a07183eb50"} 
[2026-09-05 17:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 17:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:53:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884376320001,"66":12504,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1830431804149925888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884376320001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:53:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:53:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884376320001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-09-05 17:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":172068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:53:50] local.INFO: GPS data processed {"connection_id":172068,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:53:50] local.INFO: Acknowledgment sent {"connection_id":172068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:53:56] local.INFO: TCP Data received {"connection_id":171794,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07185a8a0012d7b608005cf89e0000000ad0b..."} 
[2026-09-05 17:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07185a8a0012d7b608005cf89e0000000ad0b..."} 
[2026-09-05 17:53:56] local.INFO: Processing buffer {"connection_id":171794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07185a8a0012d7b608005cf89e0000000ad0b..."} 
[2026-09-05 17:53:56] local.INFO: Packet analysis {"connection_id":171794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07185"} 
[2026-09-05 17:53:56] local.INFO: Extracted packet for processing {"connection_id":171794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07185"} 
[2026-09-05 17:53:56] local.INFO: GPS Element Parsed {"raw_longitude":763060352,"raw_latitude":97487328,"longitude_deg":76.3060352,"latitude_deg":9.7487328,"altitude":0,"angle":173,"satellites":11,"speed":8,"hex_longitude":"2d7b6080","hex_latitude":"05cf89e0","is_valid_coordinates":true} 
[2026-09-05 17:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884408320001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128624314781007872,"note":"Value kept but may cause issues"} 
[2026-09-05 17:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890598270595995648,"note":"Value kept but may cause issues"} 
[2026-09-05 17:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788610980000,"timestamp_ms":1788610980000,"timestamp_seconds":1788610980,"priority":1,"record_length":96,"hex_timestamp":"000001a07185a8a0"} 
[2026-09-05 17:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-09-05 17:53:56] 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-09-05 17:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884408320001,"66":13222,"82":206,"85":15104,"24":8,"16":128624314781007872,"45":8890598270595995648},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-09-05 17:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 17:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 17:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884408320001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:53:56] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 17:53:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 17:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128624314781007872,"km_value":128624314781007.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890598270595995648,"description":"Unknown IO ID 45"} 
[2026-09-05 17:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884408320001,"power":13222,"unknown_82":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8890598270595995648}} 
[2026-09-05 17:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":171794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770343,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:53:56] local.INFO: GPS data processed {"connection_id":171794,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:53:56] local.INFO: Acknowledgment sent {"connection_id":171794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:53:56] local.INFO: TCP Data received {"connection_id":171795,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:53:56] local.INFO: Processing buffer {"connection_id":171795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:53:56] local.INFO: IMEI packet received {"connection_id":171795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":171795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:54:01] local.INFO: TCP Data received {"connection_id":171795,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:54:01] local.INFO: Processing buffer {"connection_id":171795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:54:01] local.INFO: IMEI packet received {"connection_id":171795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":171795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:54:01] local.INFO: TCP Data received {"connection_id":171795,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07182e1b0012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07182e1b0012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:54:01] local.INFO: Processing buffer {"connection_id":171795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07182e1b0012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:54:01] local.INFO: Packet analysis {"connection_id":171795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07182"} 
[2026-09-05 17:54:01] local.INFO: Extracted packet for processing {"connection_id":171795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07182"} 
[2026-09-05 17:54:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884287232001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788610798000,"timestamp_ms":1788610798000,"timestamp_seconds":1788610798,"priority":1,"record_length":96,"hex_timestamp":"000001a07182e1b0"} 
[2026-09-05 17:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:54:01] 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-09-05 17:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 17:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884287232001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884287232001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:54:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:54:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884287232001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":171795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:54:01] local.INFO: GPS data processed {"connection_id":171795,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:54:01] local.INFO: Acknowledgment sent {"connection_id":171795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:54:21] local.INFO: TCP Data received {"connection_id":172068,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071843d58012d196700071fef08003800572c..."} 
[2026-09-05 17:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071843d58012d196700071fef08003800572c..."} 
[2026-09-05 17:54:21] local.INFO: Processing buffer {"connection_id":172068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071843d58012d196700071fef08003800572c..."} 
[2026-09-05 17:54:21] local.INFO: Packet analysis {"connection_id":172068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07184"} 
[2026-09-05 17:54:21] local.INFO: Extracted packet for processing {"connection_id":172068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07184"} 
[2026-09-05 17:54:21] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":44,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 17:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884381696001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788610887000,"timestamp_ms":1788610887000,"timestamp_seconds":1788610887,"priority":1,"record_length":96,"hex_timestamp":"000001a071843d58"} 
[2026-09-05 17:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:54: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-09-05 17:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 17:54:21] 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-09-05 17:54:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884381696001,"66":12558,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1830431804149925888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884381696001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:54:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:54:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884381696001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-09-05 17:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":172068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:54:21] local.INFO: GPS data processed {"connection_id":172068,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:54:21] local.INFO: Acknowledgment sent {"connection_id":172068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:54:23] local.INFO: TCP Data received {"connection_id":174499,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174499,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:54:23] local.INFO: Processing buffer {"connection_id":174499,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:54:23] local.INFO: IMEI packet received {"connection_id":174499,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 17:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":174499,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:54:24] local.INFO: TCP Data received {"connection_id":174499,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174499,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:54:24] local.INFO: Processing buffer {"connection_id":174499,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:54:24] local.INFO: IMEI packet received {"connection_id":174499,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 17:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":174499,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:54:29] local.INFO: TCP Data received {"connection_id":174499,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174499,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:54:29] local.INFO: Processing buffer {"connection_id":174499,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:54:29] local.INFO: IMEI packet received {"connection_id":174499,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 17:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":174499,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:54:30] local.INFO: TCP Data received {"connection_id":174499,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07185cfb0012d7b610005cf81d8000000b90b..."} 
[2026-09-05 17:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07185cfb0012d7b610005cf81d8000000b90b..."} 
[2026-09-05 17:54:30] local.INFO: Processing buffer {"connection_id":174499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07185cfb0012d7b610005cf81d8000000b90b..."} 
[2026-09-05 17:54:30] local.INFO: Packet analysis {"connection_id":174499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07185"} 
[2026-09-05 17:54:30] local.INFO: Extracted packet for processing {"connection_id":174499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07185"} 
[2026-09-05 17:54:30] local.INFO: GPS Element Parsed {"raw_longitude":763060480,"raw_latitude":97485272,"longitude_deg":76.306048,"latitude_deg":9.7485272,"altitude":0,"angle":185,"satellites":11,"speed":6,"hex_longitude":"2d7b6100","hex_latitude":"05cf81d8","is_valid_coordinates":true} 
[2026-09-05 17:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884410880001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128624417860222976,"note":"Value kept but may cause issues"} 
[2026-09-05 17:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890246426874470400,"note":"Value kept but may cause issues"} 
[2026-09-05 17:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788610990000,"timestamp_ms":1788610990000,"timestamp_seconds":1788610990,"priority":1,"record_length":96,"hex_timestamp":"000001a07185cfb0"} 
[2026-09-05 17:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:54:30] 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-09-05 17:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-05 17:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884410880001,"66":13526,"82":206,"85":15104,"24":6,"16":128624417860222976,"45":8890246426874470400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-09-05 17:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 17:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 17:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884410880001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:54:30] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 17:54:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 17:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128624417860222976,"km_value":128624417860222.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890246426874470400,"description":"Unknown IO ID 45"} 
[2026-09-05 17:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884410880001,"power":13526,"unknown_82":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8890246426874470400}} 
[2026-09-05 17:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":174499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:54:30] local.INFO: GPS data processed {"connection_id":174499,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:54:30] local.INFO: Acknowledgment sent {"connection_id":174499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:54:33] local.INFO: TCP Data received {"connection_id":171795,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07182e1b0012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07182e1b0012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:54:33] local.INFO: Processing buffer {"connection_id":171795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07182e1b0012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:54:33] local.INFO: Packet analysis {"connection_id":171795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07182"} 
[2026-09-05 17:54:33] local.INFO: Extracted packet for processing {"connection_id":171795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07182"} 
[2026-09-05 17:54:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884287232001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788610798000,"timestamp_ms":1788610798000,"timestamp_seconds":1788610798,"priority":1,"record_length":96,"hex_timestamp":"000001a07182e1b0"} 
[2026-09-05 17:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:54: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-09-05 17: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 17:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884287232001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884287232001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:54:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:54:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884287232001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":171795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:54:33] local.INFO: GPS data processed {"connection_id":171795,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:54:33] local.INFO: Acknowledgment sent {"connection_id":171795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:54:42] local.INFO: TCP Data received {"connection_id":172069,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172069,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:54:42] local.INFO: Processing buffer {"connection_id":172069,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 17:54:42] local.INFO: IMEI packet received {"connection_id":172069,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 17:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":172069,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:54:49] local.INFO: TCP Data received {"connection_id":173177,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:54:49] local.INFO: Processing buffer {"connection_id":173177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:54:49] local.INFO: IMEI packet received {"connection_id":173177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":173177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:54:53] local.INFO: TCP Data received {"connection_id":173177,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:54:53] local.INFO: Processing buffer {"connection_id":173177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:54:53] local.INFO: IMEI packet received {"connection_id":173177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":173177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:54:54] local.INFO: TCP Data received {"connection_id":173177,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071848f60012d196700071fef08003800572a..."} 
[2026-09-05 17:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071848f60012d196700071fef08003800572a..."} 
[2026-09-05 17:54:54] local.INFO: Processing buffer {"connection_id":173177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071848f60012d196700071fef08003800572a..."} 
[2026-09-05 17:54:54] local.INFO: Packet analysis {"connection_id":173177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07184"} 
[2026-09-05 17:54:54] local.INFO: Extracted packet for processing {"connection_id":173177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07184"} 
[2026-09-05 17:54:54] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 17:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884387072001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788610908000,"timestamp_ms":1788610908000,"timestamp_seconds":1788610908,"priority":1,"record_length":96,"hex_timestamp":"000001a071848f60"} 
[2026-09-05 17:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-05 17:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:54:54] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 17:54:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 17:54:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249741855941717768,"note":"Value kept but may cause issues"} 
[2026-09-05 17:54:54] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4010278968,"note":"Value kept but may cause issues"} 
[2026-09-05 17:54:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-05 17:54:54] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-05 17:54:54] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-05 17:54:54] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-05 17:54:54] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,160,235,45,239,56,43,10,66,153,41,71,1,240,14,227,113,31,4,205,163,103,8,42,49,2,64,7,120,85,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-05 17:54:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035321112614141952,"timestamp_seconds":4035321112614142.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 17:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884387072001,"66":12526,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1830431804149925888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884387072001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:54:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:54:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884387072001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-09-05 17:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":173177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:54:54] local.INFO: GPS data processed {"connection_id":173177,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:54:54] local.INFO: Acknowledgment sent {"connection_id":173177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:54:55] local.INFO: TCP Data received {"connection_id":173177,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07184e168012d196700071fef080038005728..."} 
[2026-09-05 17:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07184e168012d196700071fef080038005728..."} 
[2026-09-05 17:54:55] local.INFO: Processing buffer {"connection_id":173177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07184e168012d196700071fef080038005728..."} 
[2026-09-05 17:54:55] local.INFO: Packet analysis {"connection_id":173177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07184"} 
[2026-09-05 17:54:55] local.INFO: Extracted packet for processing {"connection_id":173177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07184"} 
[2026-09-05 17:54:55] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 17:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884392448001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788610929000,"timestamp_ms":1788610929000,"timestamp_seconds":1788610929,"priority":1,"record_length":96,"hex_timestamp":"000001a07184e168"} 
[2026-09-05 17:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-05 17:54:55] 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-09-05 17:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884392448001,"66":12537,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1830431804149925888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884392448001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:54:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:54:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884392448001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-09-05 17:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":173177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:54:55] local.INFO: GPS data processed {"connection_id":173177,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:54:55] local.INFO: Acknowledgment sent {"connection_id":173177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:54:55] local.INFO: TCP Data received {"connection_id":174500,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:54:55] local.INFO: Processing buffer {"connection_id":174500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:54:55] local.INFO: IMEI packet received {"connection_id":174500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":174500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:55:00] local.INFO: TCP Data received {"connection_id":174499,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071873710012d7b84c005cf0c08000500a90d..."} 
[2026-09-05 17:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071873710012d7b84c005cf0c08000500a90d..."} 
[2026-09-05 17:55:00] local.INFO: Processing buffer {"connection_id":174499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071873710012d7b84c005cf0c08000500a90d..."} 
[2026-09-05 17:55:00] local.INFO: Packet analysis {"connection_id":174499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07187"} 
[2026-09-05 17:55:00] local.INFO: Extracted packet for processing {"connection_id":174499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07187"} 
[2026-09-05 17:55:00] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":97455112,"longitude_deg":76.3069632,"latitude_deg":9.7455112,"altitude":5,"angle":169,"satellites":13,"speed":0,"hex_longitude":"2d7b84c0","hex_latitude":"05cf0c08","is_valid_coordinates":true} 
[2026-09-05 17:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884431616001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128625972638384128,"note":"Value kept but may cause issues"} 
[2026-09-05 17:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051051405312,"note":"Value kept but may cause issues"} 
[2026-09-05 17:55:00] 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-09-05 17:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788611082000,"timestamp_ms":1788611082000,"timestamp_seconds":1788611082,"priority":1,"record_length":96,"hex_timestamp":"000001a071873710"} 
[2026-09-05 17:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-05 17:55:00] 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-09-05 17:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884431616001,"66":13450,"83":206,"85":15104,"24":0,"16":128625972638384128,"45":8900098051051405312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-09-05 17:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 17:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 17:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884431616001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:55:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-05 17:55:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 17:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128625972638384128,"km_value":128625972638384.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051051405312,"description":"Unknown IO ID 45"} 
[2026-09-05 17:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884431616001,"power":13450,"unknown_83":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8900098051051405312}} 
[2026-09-05 17:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":174499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:55:01] local.INFO: GPS data processed {"connection_id":174499,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:55:01] local.INFO: Acknowledgment sent {"connection_id":174499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:55:01] local.INFO: TCP Data received {"connection_id":174500,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:55:01] local.INFO: Processing buffer {"connection_id":174500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:55:01] local.INFO: IMEI packet received {"connection_id":174500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":174500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:55:02] local.INFO: TCP Data received {"connection_id":174500,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07182e1b0012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07182e1b0012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:55:02] local.INFO: Processing buffer {"connection_id":174500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07182e1b0012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:55:02] local.INFO: Packet analysis {"connection_id":174500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07182"} 
[2026-09-05 17:55:02] local.INFO: Extracted packet for processing {"connection_id":174500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07182"} 
[2026-09-05 17:55:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884287232001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788610798000,"timestamp_ms":1788610798000,"timestamp_seconds":1788610798,"priority":1,"record_length":96,"hex_timestamp":"000001a07182e1b0"} 
[2026-09-05 17:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:55:02] 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-09-05 17: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":134,"data_length":795,"current_offset":136} 
[2026-09-05 17:55: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-09-05 17: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-09-05 17:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884287232001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884287232001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:55:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:55:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884287232001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":174500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:55:02] local.INFO: GPS data processed {"connection_id":174500,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:55:02] local.INFO: Acknowledgment sent {"connection_id":174500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:55:19] local.INFO: TCP Data received {"connection_id":173178,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173178,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:55:19] local.INFO: Processing buffer {"connection_id":173178,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:55:19] local.INFO: IMEI packet received {"connection_id":173178,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 17:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":173178,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:55:21] local.INFO: TCP Data received {"connection_id":173178,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173178,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:55:21] local.INFO: Processing buffer {"connection_id":173178,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:55:21] local.INFO: IMEI packet received {"connection_id":173178,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 17:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":173178,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:55:24] local.INFO: TCP Data received {"connection_id":173178,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173178,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:55:24] local.INFO: Processing buffer {"connection_id":173178,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:55:24] local.INFO: IMEI packet received {"connection_id":173178,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 17:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":173178,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:55:26] local.INFO: TCP Data received {"connection_id":173178,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071875e20012d7b85c005cf04580004009c0d..."} 
[2026-09-05 17:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071875e20012d7b85c005cf04580004009c0d..."} 
[2026-09-05 17:55:26] local.INFO: Processing buffer {"connection_id":173178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071875e20012d7b85c005cf04580004009c0d..."} 
[2026-09-05 17:55:26] local.INFO: Packet analysis {"connection_id":173178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07187"} 
[2026-09-05 17:55:26] local.INFO: Extracted packet for processing {"connection_id":173178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07187"} 
[2026-09-05 17:55:26] local.INFO: GPS Element Parsed {"raw_longitude":763069888,"raw_latitude":97453144,"longitude_deg":76.3069888,"latitude_deg":9.7453144,"altitude":4,"angle":156,"satellites":13,"speed":15,"hex_longitude":"2d7b85c0","hex_latitude":"05cf0458","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884436992001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128626071422631936,"note":"Value kept but may cause issues"} 
[2026-09-05 17:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449894771984384,"note":"Value kept but may cause issues"} 
[2026-09-05 17:55:26] 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-09-05 17:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788611092000,"timestamp_ms":1788611092000,"timestamp_seconds":1788611092,"priority":1,"record_length":96,"hex_timestamp":"000001a071875e20"} 
[2026-09-05 17:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:55:26] 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-09-05 17: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-05 17:55:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:55:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884436992001,"66":13526,"83":206,"85":15104,"24":15,"16":128626071422631936,"45":8900449894771984384},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-09-05 17:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 17:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 17:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884436992001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:55:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-05 17:55:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 17:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128626071422631936,"km_value":128626071422631.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449894771984384,"description":"Unknown IO ID 45"} 
[2026-09-05 17:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884436992001,"power":13526,"unknown_83":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8900449894771984384}} 
[2026-09-05 17:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":173178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770352,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:55:26] local.INFO: GPS data processed {"connection_id":173178,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:55:26] local.INFO: Acknowledgment sent {"connection_id":173178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:55:26] local.INFO: TCP Data received {"connection_id":173177,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071853370012d196700071fef080038005729..."} 
[2026-09-05 17:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071853370012d196700071fef080038005729..."} 
[2026-09-05 17:55:26] local.INFO: Processing buffer {"connection_id":173177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071853370012d196700071fef080038005729..."} 
[2026-09-05 17:55:26] local.INFO: Packet analysis {"connection_id":173177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07185"} 
[2026-09-05 17:55:26] local.INFO: Extracted packet for processing {"connection_id":173177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07185"} 
[2026-09-05 17:55:26] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884397824001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788610950000,"timestamp_ms":1788610950000,"timestamp_seconds":1788610950,"priority":1,"record_length":96,"hex_timestamp":"000001a071853370"} 
[2026-09-05 17:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-05 17:55:26] 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-09-05 17: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-09-05 17:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:55:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884397824001,"66":12537,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1830431804149925888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884397824001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:55:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:55:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884397824001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-09-05 17:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":173177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:55:26] local.INFO: GPS data processed {"connection_id":173177,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:55:26] local.INFO: Acknowledgment sent {"connection_id":173177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:55:28] local.INFO: TCP Data received {"connection_id":173178,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0718771a8012d7b89c005cefb80000400a90d..."} 
[2026-09-05 17:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718771a8012d7b89c005cefb80000400a90d..."} 
[2026-09-05 17:55:28] local.INFO: Processing buffer {"connection_id":173178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718771a8012d7b89c005cefb80000400a90d..."} 
[2026-09-05 17:55:28] local.INFO: Packet analysis {"connection_id":173178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07187"} 
[2026-09-05 17:55:28] local.INFO: Extracted packet for processing {"connection_id":173178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07187"} 
[2026-09-05 17:55:28] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":97450880,"longitude_deg":76.3070912,"latitude_deg":9.745088,"altitude":4,"angle":169,"satellites":13,"speed":22,"hex_longitude":"2d7b89c0","hex_latitude":"05cefb80","is_valid_coordinates":true} 
[2026-09-05 17:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884439552001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128626191681716224,"note":"Value kept but may cause issues"} 
[2026-09-05 17:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900731369748191232,"note":"Value kept but may cause issues"} 
[2026-09-05 17:55:28] 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-09-05 17:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788611097000,"timestamp_ms":1788611097000,"timestamp_seconds":1788611097,"priority":1,"record_length":96,"hex_timestamp":"000001a0718771a8"} 
[2026-09-05 17:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 17:55:28] 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-09-05 17:55:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884439552001,"66":13363,"83":206,"85":15104,"24":22,"16":128626191681716224,"45":8900731369748191232},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-09-05 17:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 17:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 17:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884439552001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:55:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-05 17:55:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 17:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128626191681716224,"km_value":128626191681716.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900731369748191232,"description":"Unknown IO ID 45"} 
[2026-09-05 17:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884439552001,"power":13363,"unknown_83":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8900731369748191232}} 
[2026-09-05 17:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":173178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770354,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:55:28] local.INFO: GPS data processed {"connection_id":173178,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:55:28] local.INFO: Acknowledgment sent {"connection_id":173178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:55:33] local.INFO: TCP Data received {"connection_id":174500,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07182e1b0012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07182e1b0012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:55:33] local.INFO: Processing buffer {"connection_id":174500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07182e1b0012d7b850005f5f278000600f62d..."} 
[2026-09-05 17:55:33] local.INFO: Packet analysis {"connection_id":174500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07182"} 
[2026-09-05 17:55:33] local.INFO: Extracted packet for processing {"connection_id":174500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07182"} 
[2026-09-05 17:55:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":6,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884287232001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788610798000,"timestamp_ms":1788610798000,"timestamp_seconds":1788610798,"priority":1,"record_length":96,"hex_timestamp":"000001a07182e1b0"} 
[2026-09-05 17:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:55: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-09-05 17: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 17:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884287232001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884287232001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:55:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:55:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884287232001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":174500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:55:33] local.INFO: GPS data processed {"connection_id":174500,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:55:33] local.INFO: Acknowledgment sent {"connection_id":174500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:55:44] local.INFO: TCP Data received {"connection_id":173179,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:55:44] local.INFO: Processing buffer {"connection_id":173179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:55:44] local.INFO: IMEI packet received {"connection_id":173179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":173179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:55:49] local.INFO: TCP Data received {"connection_id":173179,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:55:49] local.INFO: Processing buffer {"connection_id":173179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:55:49] local.INFO: IMEI packet received {"connection_id":173179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":173179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:55:50] local.INFO: TCP Data received {"connection_id":173179,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071858578012d196700071fef080038005729..."} 
[2026-09-05 17:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071858578012d196700071fef080038005729..."} 
[2026-09-05 17:55:50] local.INFO: Processing buffer {"connection_id":173179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071858578012d196700071fef080038005729..."} 
[2026-09-05 17:55:50] local.INFO: Packet analysis {"connection_id":173179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07185"} 
[2026-09-05 17:55:50] local.INFO: Extracted packet for processing {"connection_id":173179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07185"} 
[2026-09-05 17:55:50] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 17:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884403200001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788610971000,"timestamp_ms":1788610971000,"timestamp_seconds":1788610971,"priority":1,"record_length":96,"hex_timestamp":"000001a071858578"} 
[2026-09-05 17:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-05 17:55:50] 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-09-05 17:55:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884403200001,"66":12537,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1830431804149925888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884403200001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:55:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:55:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884403200001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-09-05 17:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":173179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:55:50] local.INFO: GPS data processed {"connection_id":173179,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:55:50] local.INFO: Acknowledgment sent {"connection_id":173179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:55:55] local.INFO: TCP Data received {"connection_id":174501,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:55:55] local.INFO: Processing buffer {"connection_id":174501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:55:55] local.INFO: IMEI packet received {"connection_id":174501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":174501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:56:01] local.INFO: TCP Data received {"connection_id":174501,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:56:01] local.INFO: Processing buffer {"connection_id":174501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:56:01] local.INFO: IMEI packet received {"connection_id":174501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":174501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:56:01] local.INFO: TCP Data received {"connection_id":173178,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071878d00012d7b8b0005ceea90000400b50d..."} 
[2026-09-05 17:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071878d00012d7b8b0005ceea90000400b50d..."} 
[2026-09-05 17:56:01] local.INFO: Processing buffer {"connection_id":173178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071878d00012d7b8b0005ceea90000400b50d..."} 
[2026-09-05 17:56:01] local.INFO: Packet analysis {"connection_id":173178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07187"} 
[2026-09-05 17:56:01] local.INFO: Extracted packet for processing {"connection_id":173178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07187"} 
[2026-09-05 17:56:01] local.INFO: GPS Element Parsed {"raw_longitude":763071232,"raw_latitude":97446544,"longitude_deg":76.3071232,"latitude_deg":9.7446544,"altitude":4,"angle":181,"satellites":13,"speed":23,"hex_longitude":"2d7b8b00","hex_latitude":"05ceea90","is_valid_coordinates":true} 
[2026-09-05 17:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884440832001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128626402135113728,"note":"Value kept but may cause issues"} 
[2026-09-05 17:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857269654454272,"note":"Value kept but may cause issues"} 
[2026-09-05 17:56:01] 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-09-05 17:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788611104000,"timestamp_ms":1788611104000,"timestamp_seconds":1788611104,"priority":1,"record_length":96,"hex_timestamp":"000001a071878d00"} 
[2026-09-05 17:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:56:01] 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-09-05 17:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-05 17:56:01] 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-09-05 17:56:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884440832001,"66":13472,"83":206,"85":15104,"24":23,"16":128626402135113728,"45":8901857269654454272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-09-05 17:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 17:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 17:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884440832001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:56:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-05 17:56:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 17:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128626402135113728,"km_value":128626402135113.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857269654454272,"description":"Unknown IO ID 45"} 
[2026-09-05 17:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884440832001,"power":13472,"unknown_83":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8901857269654454272}} 
[2026-09-05 17:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":173178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770357,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:56:01] local.INFO: GPS data processed {"connection_id":173178,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:56:01] local.INFO: Acknowledgment sent {"connection_id":173178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:56:02] local.INFO: TCP Data received {"connection_id":174501,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071877978012d7b850005f5f278000000f62d..."} 
[2026-09-05 17:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071877978012d7b850005f5f278000000f62d..."} 
[2026-09-05 17:56:02] local.INFO: Processing buffer {"connection_id":174501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071877978012d7b850005f5f278000000f62d..."} 
[2026-09-05 17:56:02] local.INFO: Packet analysis {"connection_id":174501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07187"} 
[2026-09-05 17:56:02] local.INFO: Extracted packet for processing {"connection_id":174501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07187"} 
[2026-09-05 17:56:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":0,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884364288001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788611099000,"timestamp_ms":1788611099000,"timestamp_seconds":1788611099,"priority":1,"record_length":96,"hex_timestamp":"000001a071877978"} 
[2026-09-05 17:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:56:02] 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-09-05 17: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":156,"data_length":795,"current_offset":136} 
[2026-09-05 17:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884364288001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884364288001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:56:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:56:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884364288001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":174501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:56:02] local.INFO: GPS data processed {"connection_id":174501,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:56:02] local.INFO: Acknowledgment sent {"connection_id":174501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:56:19] local.INFO: TCP Data received {"connection_id":174502,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174502,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:56:19] local.INFO: Processing buffer {"connection_id":174502,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:56:19] local.INFO: IMEI packet received {"connection_id":174502,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 17:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":174502,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:56:21] local.INFO: TCP Data received {"connection_id":173179,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07185d780012d196700071fef08003800572b..."} 
[2026-09-05 17:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07185d780012d196700071fef08003800572b..."} 
[2026-09-05 17:56:21] local.INFO: Processing buffer {"connection_id":173179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07185d780012d196700071fef08003800572b..."} 
[2026-09-05 17:56:21] local.INFO: Packet analysis {"connection_id":173179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07185"} 
[2026-09-05 17:56:21] local.INFO: Extracted packet for processing {"connection_id":173179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07185"} 
[2026-09-05 17:56:21] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884408576001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788610992000,"timestamp_ms":1788610992000,"timestamp_seconds":1788610992,"priority":1,"record_length":96,"hex_timestamp":"000001a07185d780"} 
[2026-09-05 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-09-05 17:56: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-09-05 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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-05 17:56:21] 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-09-05 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-09-05 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-09-05 17:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884408576001,"66":12461,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1830431804149925888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884408576001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:56:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:56:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884408576001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-09-05 17:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":173179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:56:21] local.INFO: GPS data processed {"connection_id":173179,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:56:21] local.INFO: Acknowledgment sent {"connection_id":173179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:56:21] local.INFO: TCP Data received {"connection_id":174502,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174502,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:56:21] local.INFO: Processing buffer {"connection_id":174502,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:56:21] local.INFO: IMEI packet received {"connection_id":174502,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 17:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":174502,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:56:24] local.INFO: TCP Data received {"connection_id":174502,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174502,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:56:24] local.INFO: Processing buffer {"connection_id":174502,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:56:24] local.INFO: IMEI packet received {"connection_id":174502,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 17:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":174502,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:56:25] local.INFO: TCP Data received {"connection_id":174502,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07187c798012d7b89c005cec908000400c20d..."} 
[2026-09-05 17:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07187c798012d7b89c005cec908000400c20d..."} 
[2026-09-05 17:56:25] local.INFO: Processing buffer {"connection_id":174502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07187c798012d7b89c005cec908000400c20d..."} 
[2026-09-05 17:56:25] local.INFO: Packet analysis {"connection_id":174502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07187"} 
[2026-09-05 17:56:25] local.INFO: Extracted packet for processing {"connection_id":174502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07187"} 
[2026-09-05 17:56:25] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":97437960,"longitude_deg":76.3070912,"latitude_deg":9.743796,"altitude":4,"angle":194,"satellites":13,"speed":22,"hex_longitude":"2d7b89c0","hex_latitude":"05cec908","is_valid_coordinates":true} 
[2026-09-05 17:56: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-09-05 17:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884442624001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128626818746941440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902209113374232576,"note":"Value kept but may cause issues"} 
[2026-09-05 17:56:25] 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-09-05 17:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788611119000,"timestamp_ms":1788611119000,"timestamp_seconds":1788611119,"priority":1,"record_length":96,"hex_timestamp":"000001a07187c798"} 
[2026-09-05 17:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:56:25] 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-09-05 17:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-05 17:56:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:56: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-09-05 17:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:56:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884442624001,"66":12993,"83":206,"85":15104,"24":22,"16":128626818746941440,"45":8902209113374232576},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-09-05 17:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 17:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 17:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884442624001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:56:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-05 17:56:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 17:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128626818746941440,"km_value":128626818746941.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902209113374232576,"description":"Unknown IO ID 45"} 
[2026-09-05 17:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884442624001,"power":12993,"unknown_83":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8902209113374232576}} 
[2026-09-05 17:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":174502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770360,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:56:25] local.INFO: GPS data processed {"connection_id":174502,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:56:25] local.INFO: Acknowledgment sent {"connection_id":174502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:56:33] local.INFO: TCP Data received {"connection_id":174501,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071877978012d7b850005f5f278000000f62d..."} 
[2026-09-05 17:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071877978012d7b850005f5f278000000f62d..."} 
[2026-09-05 17:56:33] local.INFO: Processing buffer {"connection_id":174501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071877978012d7b850005f5f278000000f62d..."} 
[2026-09-05 17:56:33] local.INFO: Packet analysis {"connection_id":174501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07187"} 
[2026-09-05 17:56:33] local.INFO: Extracted packet for processing {"connection_id":174501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07187"} 
[2026-09-05 17:56:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":0,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884364288001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788611099000,"timestamp_ms":1788611099000,"timestamp_seconds":1788611099,"priority":1,"record_length":96,"hex_timestamp":"000001a071877978"} 
[2026-09-05 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-09-05 17:56: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-09-05 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 17:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 17:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884364288001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884364288001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:56:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:56:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884364288001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":174501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:56:33] local.INFO: GPS data processed {"connection_id":174501,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:56:33] local.INFO: Acknowledgment sent {"connection_id":174501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:56:44] local.INFO: TCP Data received {"connection_id":173180,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:56:44] local.INFO: Processing buffer {"connection_id":173180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:56:44] local.INFO: IMEI packet received {"connection_id":173180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":173180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:56:49] local.INFO: TCP Data received {"connection_id":173180,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:56:49] local.INFO: Processing buffer {"connection_id":173180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:56:49] local.INFO: IMEI packet received {"connection_id":173180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":173180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:56:50] local.INFO: TCP Data received {"connection_id":173180,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071862988012d196700071fef08003800572a..."} 
[2026-09-05 17:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071862988012d196700071fef08003800572a..."} 
[2026-09-05 17:56:50] local.INFO: Processing buffer {"connection_id":173180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071862988012d196700071fef08003800572a..."} 
[2026-09-05 17:56:50] local.INFO: Packet analysis {"connection_id":173180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07186"} 
[2026-09-05 17:56:50] local.INFO: Extracted packet for processing {"connection_id":173180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07186"} 
[2026-09-05 17:56:50] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533320,"longitude_deg":75.6639488,"latitude_deg":11.953332,"altitude":56,"angle":87,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-09-05 17:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884413952001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033081617219584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149925888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788611013000,"timestamp_ms":1788611013000,"timestamp_seconds":1788611013,"priority":1,"record_length":96,"hex_timestamp":"000001a071862988"} 
[2026-09-05 17:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 17:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884413952001,"66":12156,"102":206,"83":41984,"24":0,"16":18033081617219584,"45":1830431804149925888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884413952001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:56:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:56:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033081617219584,"km_value":18033081617219.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149925888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884413952001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149925888}} 
[2026-09-05 17:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":173180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:56:50] local.INFO: GPS data processed {"connection_id":173180,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:56:50] local.INFO: Acknowledgment sent {"connection_id":173180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:56:56] local.INFO: TCP Data received {"connection_id":174502,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07187e2f0012d7b868005cebba8000400b40d..."} 
[2026-09-05 17:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07187e2f0012d7b868005cebba8000400b40d..."} 
[2026-09-05 17:56:56] local.INFO: Processing buffer {"connection_id":174502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07187e2f0012d7b868005cebba8000400b40d..."} 
[2026-09-05 17:56:56] local.INFO: Packet analysis {"connection_id":174502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07187"} 
[2026-09-05 17:56:56] local.INFO: Extracted packet for processing {"connection_id":174502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07187"} 
[2026-09-05 17:56:56] local.INFO: GPS Element Parsed {"raw_longitude":763070080,"raw_latitude":97434536,"longitude_deg":76.307008,"latitude_deg":9.7434536,"altitude":4,"angle":180,"satellites":13,"speed":18,"hex_longitude":"2d7b8680","hex_latitude":"05cebba8","is_valid_coordinates":true} 
[2026-09-05 17:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884446464001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128626994840600576,"note":"Value kept but may cause issues"} 
[2026-09-05 17:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857269651146752,"note":"Value kept but may cause issues"} 
[2026-09-05 17:56:56] 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-09-05 17:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788611126000,"timestamp_ms":1788611126000,"timestamp_seconds":1788611126,"priority":1,"record_length":96,"hex_timestamp":"000001a07187e2f0"} 
[2026-09-05 17:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-05 17:56:56] 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-09-05 17:56:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884446464001,"66":13515,"83":206,"85":15104,"24":18,"16":128626994840600576,"45":8901857269651146752},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-09-05 17:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 17:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 17:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884446464001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:56:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-05 17:56:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 17:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128626994840600576,"km_value":128626994840600.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857269651146752,"description":"Unknown IO ID 45"} 
[2026-09-05 17:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884446464001,"power":13515,"unknown_83":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8901857269651146752}} 
[2026-09-05 17:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":174502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770363,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:56:56] local.INFO: GPS data processed {"connection_id":174502,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:56:56] local.INFO: Acknowledgment sent {"connection_id":174502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:57:01] local.INFO: TCP Data received {"connection_id":171796,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:57:01] local.INFO: Processing buffer {"connection_id":171796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:57:01] local.INFO: IMEI packet received {"connection_id":171796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":171796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:57:06] local.INFO: TCP Data received {"connection_id":171796,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:57:06] local.INFO: Processing buffer {"connection_id":171796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:57:06] local.INFO: IMEI packet received {"connection_id":171796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":171796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:57:07] local.INFO: TCP Data received {"connection_id":171796,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071877978012d7b850005f5f278000000f62d..."} 
[2026-09-05 17:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071877978012d7b850005f5f278000000f62d..."} 
[2026-09-05 17:57:07] local.INFO: Processing buffer {"connection_id":171796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071877978012d7b850005f5f278000000f62d..."} 
[2026-09-05 17:57:07] local.INFO: Packet analysis {"connection_id":171796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07187"} 
[2026-09-05 17:57:07] local.INFO: Extracted packet for processing {"connection_id":171796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07187"} 
[2026-09-05 17:57:07] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":0,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884364288001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788611099000,"timestamp_ms":1788611099000,"timestamp_seconds":1788611099,"priority":1,"record_length":96,"hex_timestamp":"000001a071877978"} 
[2026-09-05 17:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17: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-09-05 17: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 17:57:07] 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-09-05 17: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-09-05 17:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884364288001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884364288001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:57:07] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:57:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884364288001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":171796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:57:07] local.INFO: GPS data processed {"connection_id":171796,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:57:07] local.INFO: Acknowledgment sent {"connection_id":171796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:57:12] local.INFO: TCP Data received {"connection_id":171796,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071877978012d7b850005f5f278000000f62d..."} 
[2026-09-05 17:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071877978012d7b850005f5f278000000f62d..."} 
[2026-09-05 17:57:12] local.INFO: Processing buffer {"connection_id":171796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071877978012d7b850005f5f278000000f62d..."} 
[2026-09-05 17:57:12] local.INFO: Packet analysis {"connection_id":171796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07187"} 
[2026-09-05 17:57:12] local.INFO: Extracted packet for processing {"connection_id":171796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07187"} 
[2026-09-05 17:57:12] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":0,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884364288001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788611099000,"timestamp_ms":1788611099000,"timestamp_seconds":1788611099,"priority":1,"record_length":96,"hex_timestamp":"000001a071877978"} 
[2026-09-05 17:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 17:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 17:57:12] 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-09-05 17:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884364288001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884364288001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:57:12] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:57:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884364288001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":171796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:57:12] local.INFO: GPS data processed {"connection_id":171796,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:57:12] local.INFO: Acknowledgment sent {"connection_id":171796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:57:19] local.INFO: TCP Data received {"connection_id":173181,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:57:19] local.INFO: Processing buffer {"connection_id":173181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:57:19] local.INFO: IMEI packet received {"connection_id":173181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 17:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":173181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:57:21] local.INFO: TCP Data received {"connection_id":173180,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07188d908012d1981c0071ff0a0004300402c..."} 
[2026-09-05 17:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07188d908012d1981c0071ff0a0004300402c..."} 
[2026-09-05 17:57:21] local.INFO: Processing buffer {"connection_id":173180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07188d908012d1981c0071ff0a0004300402c..."} 
[2026-09-05 17:57:21] local.INFO: Packet analysis {"connection_id":173180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07188"} 
[2026-09-05 17:57:21] local.INFO: Extracted packet for processing {"connection_id":173180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07188"} 
[2026-09-05 17:57:21] local.INFO: GPS Element Parsed {"raw_longitude":756646336,"raw_latitude":119533728,"longitude_deg":75.6646336,"latitude_deg":11.9533728,"altitude":67,"angle":64,"satellites":44,"speed":20,"hex_longitude":"2d1981c0","hex_latitude":"071ff0a0","is_valid_coordinates":true} 
[2026-09-05 17:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884463872001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18033429509570560,"note":"Value kept but may cause issues"} 
[2026-09-05 17:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836976097358403584,"note":"Value kept but may cause issues"} 
[2026-09-05 17:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788611189000,"timestamp_ms":1788611189000,"timestamp_seconds":1788611189,"priority":1,"record_length":96,"hex_timestamp":"000001a07188d908"} 
[2026-09-05 17:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:57: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-09-05 17:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-05 17:57:21] 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-09-05 17:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884463872001,"66":14080,"102":206,"83":41984,"24":20,"16":18033429509570560,"45":1836976097358403584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 17:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884463872001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:57:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 17:57:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18033429509570560,"km_value":18033429509570.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836976097358403584,"description":"Unknown IO ID 45"} 
[2026-09-05 17:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884463872001,"power":14080,"unknown_102":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1836976097358403584}} 
[2026-09-05 17:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":173180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:57:21] local.INFO: GPS data processed {"connection_id":173180,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:57:21] local.INFO: Acknowledgment sent {"connection_id":173180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:57:24] local.INFO: TCP Data received {"connection_id":173181,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:57:24] local.INFO: Processing buffer {"connection_id":173181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:57:24] local.INFO: IMEI packet received {"connection_id":173181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 17:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":173181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:57:25] local.INFO: TCP Data received {"connection_id":173181,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071896990012d7c7f4005cea6380000005d0d..."} 
[2026-09-05 17:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071896990012d7c7f4005cea6380000005d0d..."} 
[2026-09-05 17:57:25] local.INFO: Processing buffer {"connection_id":173181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071896990012d7c7f4005cea6380000005d0d..."} 
[2026-09-05 17:57:25] local.INFO: Packet analysis {"connection_id":173181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07189"} 
[2026-09-05 17:57:25] local.INFO: Extracted packet for processing {"connection_id":173181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07189"} 
[2026-09-05 17:57:25] local.INFO: GPS Element Parsed {"raw_longitude":763133760,"raw_latitude":97429048,"longitude_deg":76.313376,"latitude_deg":9.7429048,"altitude":0,"angle":93,"satellites":13,"speed":31,"hex_longitude":"2d7c7f40","hex_latitude":"05cea638","is_valid_coordinates":true} 
[2026-09-05 17:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884471296001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128630203181170688,"note":"Value kept but may cause issues"} 
[2026-09-05 17:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961178120991053824,"note":"Value kept but may cause issues"} 
[2026-09-05 17:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788611226000,"timestamp_ms":1788611226000,"timestamp_seconds":1788611226,"priority":1,"record_length":96,"hex_timestamp":"000001a071896990"} 
[2026-09-05 17:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-05 17:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630585,"note":"Value kept but may cause issues"} 
[2026-09-05 17:57:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 17:57:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3964874114132344832,"note":"Value kept but may cause issues"} 
[2026-09-05 17:57:25] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 17:57:25] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13458533,"corrected_to":0} 
[2026-09-05 17:57:25] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2894069760,"note":"Value kept but may cause issues"} 
[2026-09-05 17:57:25] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635768621522771,"note":"Value kept but may cause issues"} 
[2026-09-05 17:57:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1599275214,"corrected_to":0} 
[2026-09-05 17:57:25] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221302651,"note":"Value kept but may cause issues"} 
[2026-09-05 17:57:25] local.WARNING: Large IO value detected {"io_id":192,"raw_value":3221606059,"note":"Value kept but may cause issues"} 
[2026-09-05 17:57:25] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-5404093743546446251,"note":"Value kept but may cause issues"} 
[2026-09-05 17:57:25] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-05 17:57:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4200136704,"corrected_to":0} 
[2026-09-05 17:57:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3467560960,"note":"Value kept but may cause issues"} 
[2026-09-05 17:57:25] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-8268602530586427390,"note":"Value kept but may cause issues"} 
[2026-09-05 17:57:25] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755463865696497,"note":"Value kept but may cause issues"} 
[2026-09-05 17:57:25] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,101,85,24,241,157,16,252,160,43,45,174,13,10,66,251,220,128,177,1,240,203,227,113,206,4,205,38,103,192,120,239,52,83,2,200,5,123,59],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":203,"original":13458533,"validated":0},{"io_id":205,"original":1599275214,"validated":0},{"io_id":200,"original":4200136704,"validated":0}]} 
[2026-09-05 17:57:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":114405045436416,"timestamp_seconds":114405045436.416,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 17:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884471296001,"66":13559,"101":206,"85":15104,"24":31,"16":128630203181170688,"45":8961178120991053824},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,45]} 
[2026-09-05 17:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 17:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 17:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884471296001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:57:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 17:57:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 17:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128630203181170688,"km_value":128630203181170.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961178120991053824,"description":"Unknown IO ID 45"} 
[2026-09-05 17:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884471296001,"power":13559,"unknown_101":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8961178120991053824}} 
[2026-09-05 17:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":173181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:57:25] local.INFO: GPS data processed {"connection_id":173181,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:57:25] local.INFO: Acknowledgment sent {"connection_id":173181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:57:44] local.INFO: TCP Data received {"connection_id":171797,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:57:44] local.INFO: Processing buffer {"connection_id":171797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:57:44] local.INFO: IMEI packet received {"connection_id":171797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":171797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:57:45] local.INFO: TCP Data received {"connection_id":171797,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:57:45] local.INFO: Processing buffer {"connection_id":171797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:57:45] local.INFO: IMEI packet received {"connection_id":171797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":171797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:57:45] local.INFO: TCP Data received {"connection_id":171797,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:57:45] local.INFO: Processing buffer {"connection_id":171797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:57:45] local.INFO: IMEI packet received {"connection_id":171797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":171797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:57:48] local.INFO: TCP Data received {"connection_id":171797,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:57:48] local.INFO: Processing buffer {"connection_id":171797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:57:48] local.INFO: IMEI packet received {"connection_id":171797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":171797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:57:49] local.INFO: TCP Data received {"connection_id":171797,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071895dd8012d19ca00071ff4e80034001c2a..."} 
[2026-09-05 17:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071895dd8012d19ca00071ff4e80034001c2a..."} 
[2026-09-05 17:57:49] local.INFO: Processing buffer {"connection_id":171797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071895dd8012d19ca00071ff4e80034001c2a..."} 
[2026-09-05 17:57:49] local.INFO: Packet analysis {"connection_id":171797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07189"} 
[2026-09-05 17:57:49] local.INFO: Extracted packet for processing {"connection_id":171797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07189"} 
[2026-09-05 17:57:49] local.INFO: GPS Element Parsed {"raw_longitude":756664832,"raw_latitude":119534824,"longitude_deg":75.6664832,"latitude_deg":11.9534824,"altitude":52,"angle":28,"satellites":42,"speed":16,"hex_longitude":"2d19ca00","hex_latitude":"071ff4e8","is_valid_coordinates":true} 
[2026-09-05 17:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884472832001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18034331452702720,"note":"Value kept but may cause issues"} 
[2026-09-05 17:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858016351867871232,"note":"Value kept but may cause issues"} 
[2026-09-05 17:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788611223000,"timestamp_ms":1788611223000,"timestamp_seconds":1788611223,"priority":1,"record_length":96,"hex_timestamp":"000001a071895dd8"} 
[2026-09-05 17:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-05 17:57:49] 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-09-05 17:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":171797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":171797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":171797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884472832001,"66":14135,"101":206,"83":41984,"24":16,"16":18034331452702720,"45":1858016351867871232},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-05 17:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884472832001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:57:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 17:57:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18034331452702720,"km_value":18034331452702.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858016351867871232,"description":"Unknown IO ID 45"} 
[2026-09-05 17:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884472832001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1858016351867871232}} 
[2026-09-05 17:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":171797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:57:49] local.INFO: GPS data processed {"connection_id":171797,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:57:49] local.INFO: Acknowledgment sent {"connection_id":171797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:57:56] local.INFO: TCP Data received {"connection_id":173181,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071897160012d7c850005cea718000000510c..."} 
[2026-09-05 17:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071897160012d7c850005cea718000000510c..."} 
[2026-09-05 17:57:56] local.INFO: Processing buffer {"connection_id":173181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071897160012d7c850005cea718000000510c..."} 
[2026-09-05 17:57:56] local.INFO: Packet analysis {"connection_id":173181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07189"} 
[2026-09-05 17:57:56] local.INFO: Extracted packet for processing {"connection_id":173181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07189"} 
[2026-09-05 17:57:56] local.INFO: GPS Element Parsed {"raw_longitude":763135232,"raw_latitude":97429272,"longitude_deg":76.3135232,"latitude_deg":9.7429272,"altitude":0,"angle":81,"satellites":12,"speed":26,"hex_longitude":"2d7c8500","hex_latitude":"05cea718","is_valid_coordinates":true} 
[2026-09-05 17:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884473856001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128630271900647424,"note":"Value kept but may cause issues"} 
[2026-09-05 17:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970959376431331328,"note":"Value kept but may cause issues"} 
[2026-09-05 17:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788611228000,"timestamp_ms":1788611228000,"timestamp_seconds":1788611228,"priority":1,"record_length":96,"hex_timestamp":"000001a071897160"} 
[2026-09-05 17:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-05 17:57:56] 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-09-05 17:57:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884473856001,"66":13559,"101":206,"85":15104,"24":26,"16":128630271900647424,"45":8970959376431331328},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,45]} 
[2026-09-05 17:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 17:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 17:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884473856001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:57:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 17:57:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 17:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128630271900647424,"km_value":128630271900647.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970959376431331328,"description":"Unknown IO ID 45"} 
[2026-09-05 17:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884473856001,"power":13559,"unknown_101":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8970959376431331328}} 
[2026-09-05 17:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":173181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:57:56] local.INFO: GPS data processed {"connection_id":173181,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:57:56] local.INFO: Acknowledgment sent {"connection_id":173181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:57:56] local.INFO: TCP Data received {"connection_id":173182,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:57:56] local.INFO: Processing buffer {"connection_id":173182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:57:56] local.INFO: IMEI packet received {"connection_id":173182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":173182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:58:01] local.INFO: TCP Data received {"connection_id":173182,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:58:01] local.INFO: Processing buffer {"connection_id":173182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:58:01] local.INFO: IMEI packet received {"connection_id":173182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":173182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:58:01] local.INFO: TCP Data received {"connection_id":173182,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071877978012d7b850005f5f278000000f62d..."} 
[2026-09-05 17:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071877978012d7b850005f5f278000000f62d..."} 
[2026-09-05 17:58:01] local.INFO: Processing buffer {"connection_id":173182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071877978012d7b850005f5f278000000f62d..."} 
[2026-09-05 17:58:01] local.INFO: Packet analysis {"connection_id":173182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07187"} 
[2026-09-05 17:58:01] local.INFO: Extracted packet for processing {"connection_id":173182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07187"} 
[2026-09-05 17:58:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":0,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884364288001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788611099000,"timestamp_ms":1788611099000,"timestamp_seconds":1788611099,"priority":1,"record_length":96,"hex_timestamp":"000001a071877978"} 
[2026-09-05 17:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:58:01] 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-09-05 17:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 17:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:58:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884364288001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884364288001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:58:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:58:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884364288001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":173182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:58:01] local.INFO: GPS data processed {"connection_id":173182,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:58:01] local.INFO: Acknowledgment sent {"connection_id":173182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:58:20] local.INFO: TCP Data received {"connection_id":171797,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071896990012d19cd00071ff9c00034003029..."} 
[2026-09-05 17:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071896990012d19cd00071ff9c00034003029..."} 
[2026-09-05 17:58:20] local.INFO: Processing buffer {"connection_id":171797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071896990012d19cd00071ff9c00034003029..."} 
[2026-09-05 17:58:20] local.INFO: Packet analysis {"connection_id":171797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07189"} 
[2026-09-05 17:58:20] local.INFO: Extracted packet for processing {"connection_id":171797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07189"} 
[2026-09-05 17:58:20] local.INFO: GPS Element Parsed {"raw_longitude":756665600,"raw_latitude":119536064,"longitude_deg":75.66656,"latitude_deg":11.9536064,"altitude":52,"angle":48,"satellites":41,"speed":22,"hex_longitude":"2d19cd00","hex_latitude":"071ff9c0","is_valid_coordinates":true} 
[2026-09-05 17:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884473088001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18034404467146752,"note":"Value kept but may cause issues"} 
[2026-09-05 17:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858297826844665856,"note":"Value kept but may cause issues"} 
[2026-09-05 17:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788611226000,"timestamp_ms":1788611226000,"timestamp_seconds":1788611226,"priority":1,"record_length":96,"hex_timestamp":"000001a071896990"} 
[2026-09-05 17:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:58: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-09-05 17:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-05 17:58:20] 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-09-05 17:58:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":171797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":171797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":171797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884473088001,"66":13004,"101":206,"83":41984,"24":22,"16":18034404467146752,"45":1858297826844665856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-05 17:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884473088001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:58:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 17:58:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18034404467146752,"km_value":18034404467146.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858297826844665856,"description":"Unknown IO ID 45"} 
[2026-09-05 17:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884473088001,"power":13004,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1858297826844665856}} 
[2026-09-05 17:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":171797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:58:21] local.INFO: GPS data processed {"connection_id":171797,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:58:21] local.INFO: Acknowledgment sent {"connection_id":171797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:58:21] local.INFO: TCP Data received {"connection_id":171798,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:58:21] local.INFO: Processing buffer {"connection_id":171798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:58:21] local.INFO: IMEI packet received {"connection_id":171798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 17:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":171798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:58:24] local.INFO: TCP Data received {"connection_id":171798,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:58:24] local.INFO: Processing buffer {"connection_id":171798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:58:24] local.INFO: IMEI packet received {"connection_id":171798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 17:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":171798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:58:25] local.INFO: TCP Data received {"connection_id":171798,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:58:25] local.INFO: Processing buffer {"connection_id":171798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:58:25] local.INFO: IMEI packet received {"connection_id":171798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 17:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":171798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:58:26] local.INFO: TCP Data received {"connection_id":171798,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071897d18012d7c8d0005cea980000000460d..."} 
[2026-09-05 17:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071897d18012d7c8d0005cea980000000460d..."} 
[2026-09-05 17:58:26] local.INFO: Processing buffer {"connection_id":171798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071897d18012d7c8d0005cea980000000460d..."} 
[2026-09-05 17:58:26] local.INFO: Packet analysis {"connection_id":171798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07189"} 
[2026-09-05 17:58:26] local.INFO: Extracted packet for processing {"connection_id":171798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07189"} 
[2026-09-05 17:58:26] local.INFO: GPS Element Parsed {"raw_longitude":763137280,"raw_latitude":97429888,"longitude_deg":76.313728,"latitude_deg":9.7429888,"altitude":0,"angle":70,"satellites":13,"speed":26,"hex_longitude":"2d7c8d00","hex_latitude":"05cea980","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884474368001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128630374979862528,"note":"Value kept but may cause issues"} 
[2026-09-05 17:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972577857547474944,"note":"Value kept but may cause issues"} 
[2026-09-05 17:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788611231000,"timestamp_ms":1788611231000,"timestamp_seconds":1788611231,"priority":1,"record_length":96,"hex_timestamp":"000001a071897d18"} 
[2026-09-05 17:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:58:26] 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-09-05 17: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-05 17:58:26] 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-09-05 17: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-09-05 17:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884474368001,"66":13559,"101":206,"85":15104,"24":26,"16":128630374979862528,"45":8972577857547474944},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,45]} 
[2026-09-05 17:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 17:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 17:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884474368001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:58:26] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 17:58:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 17:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128630374979862528,"km_value":128630374979862.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972577857547474944,"description":"Unknown IO ID 45"} 
[2026-09-05 17:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884474368001,"power":13559,"unknown_101":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8972577857547474944}} 
[2026-09-05 17:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":171798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770372,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:58:26] local.INFO: GPS data processed {"connection_id":171798,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:58:26] local.INFO: Acknowledgment sent {"connection_id":171798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:58:28] local.INFO: TCP Data received {"connection_id":171798,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0718990a0012d7c9cc005ceabd0000000520d..."} 
[2026-09-05 17:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718990a0012d7c9cc005ceabd0000000520d..."} 
[2026-09-05 17:58:28] local.INFO: Processing buffer {"connection_id":171798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718990a0012d7c9cc005ceabd0000000520d..."} 
[2026-09-05 17:58:28] local.INFO: Packet analysis {"connection_id":171798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07189"} 
[2026-09-05 17:58:28] local.INFO: Extracted packet for processing {"connection_id":171798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07189"} 
[2026-09-05 17:58:28] local.INFO: GPS Element Parsed {"raw_longitude":763141312,"raw_latitude":97430480,"longitude_deg":76.3141312,"latitude_deg":9.743048,"altitude":0,"angle":82,"satellites":13,"speed":36,"hex_longitude":"2d7c9cc0","hex_latitude":"05ceabd0","is_valid_coordinates":true} 
[2026-09-05 17:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884475136001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128630572548358144,"note":"Value kept but may cause issues"} 
[2026-09-05 17:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974829657361317888,"note":"Value kept but may cause issues"} 
[2026-09-05 17:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788611236000,"timestamp_ms":1788611236000,"timestamp_seconds":1788611236,"priority":1,"record_length":96,"hex_timestamp":"000001a0718990a0"} 
[2026-09-05 17:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:58:28] 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-09-05 17:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-05 17:58:28] 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-09-05 17:58:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":171798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":171798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":171798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884475136001,"66":13602,"101":206,"85":15104,"24":36,"16":128630572548358144,"45":8974829657361317888},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,45]} 
[2026-09-05 17:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 17:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 17:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884475136001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:58:28] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 17:58:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 17:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128630572548358144,"km_value":128630572548358.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974829657361317888,"description":"Unknown IO ID 45"} 
[2026-09-05 17:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884475136001,"power":13602,"unknown_101":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8974829657361317888}} 
[2026-09-05 17:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":171798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:58:28] local.INFO: GPS data processed {"connection_id":171798,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:58:28] local.INFO: Acknowledgment sent {"connection_id":171798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:58:33] local.INFO: TCP Data received {"connection_id":173182,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071877978012d7b850005f5f278000000f62d..."} 
[2026-09-05 17:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071877978012d7b850005f5f278000000f62d..."} 
[2026-09-05 17:58:33] local.INFO: Processing buffer {"connection_id":173182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071877978012d7b850005f5f278000000f62d..."} 
[2026-09-05 17:58:33] local.INFO: Packet analysis {"connection_id":173182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07187"} 
[2026-09-05 17:58:33] local.INFO: Extracted packet for processing {"connection_id":173182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07187"} 
[2026-09-05 17:58:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":0,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884364288001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788611099000,"timestamp_ms":1788611099000,"timestamp_seconds":1788611099,"priority":1,"record_length":96,"hex_timestamp":"000001a071877978"} 
[2026-09-05 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-09-05 17:58: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-09-05 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 17:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 17:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884364288001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884364288001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:58:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:58:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884364288001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":173182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:58:33] local.INFO: GPS data processed {"connection_id":173182,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:58:33] local.INFO: Acknowledgment sent {"connection_id":173182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:58:44] local.INFO: TCP Data received {"connection_id":174503,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:58:44] local.INFO: Processing buffer {"connection_id":174503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:58:44] local.INFO: IMEI packet received {"connection_id":174503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":174503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:58:48] local.INFO: TCP Data received {"connection_id":174503,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:58:48] local.INFO: Processing buffer {"connection_id":174503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:58:48] local.INFO: IMEI packet received {"connection_id":174503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":174503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:58:48] local.INFO: TCP Data received {"connection_id":174503,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:58:48] local.INFO: Processing buffer {"connection_id":174503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:58:48] local.INFO: IMEI packet received {"connection_id":174503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":174503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:58:49] local.INFO: TCP Data received {"connection_id":174503,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0718a1570012d19bc80072041700028015e2c..."} 
[2026-09-05 17:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718a1570012d19bc80072041700028015e2c..."} 
[2026-09-05 17:58:49] local.INFO: Processing buffer {"connection_id":174503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718a1570012d19bc80072041700028015e2c..."} 
[2026-09-05 17:58:49] local.INFO: Packet analysis {"connection_id":174503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718a"} 
[2026-09-05 17:58:49] local.INFO: Extracted packet for processing {"connection_id":174503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718a"} 
[2026-09-05 17:58:49] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119554416,"longitude_deg":75.6661376,"latitude_deg":11.9554416,"altitude":40,"angle":350,"satellites":44,"speed":43,"hex_longitude":"2d19bc80","hex_latitude":"07204170","is_valid_coordinates":true} 
[2026-09-05 17:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884483840001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18035542633480192,"note":"Value kept but may cause issues"} 
[2026-09-05 17:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856257133267191808,"note":"Value kept but may cause issues"} 
[2026-09-05 17:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788611270000,"timestamp_ms":1788611270000,"timestamp_seconds":1788611270,"priority":1,"record_length":96,"hex_timestamp":"000001a0718a1570"} 
[2026-09-05 17:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 17:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884483840001,"66":14233,"103":206,"83":41984,"24":43,"16":18035542633480192,"45":1856257133267191808},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 17:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884483840001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:58:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 17:58:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18035542633480192,"km_value":18035542633480.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856257133267191808,"description":"Unknown IO ID 45"} 
[2026-09-05 17:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884483840001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1856257133267191808}} 
[2026-09-05 17:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":174503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:58:49] local.INFO: GPS data processed {"connection_id":174503,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:58:49] local.INFO: Acknowledgment sent {"connection_id":174503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:58:50] local.INFO: TCP Data received {"connection_id":174503,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0718a34b0012d19b840072064080022015c2c..."} 
[2026-09-05 17:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718a34b0012d19b840072064080022015c2c..."} 
[2026-09-05 17:58:50] local.INFO: Processing buffer {"connection_id":174503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718a34b0012d19b840072064080022015c2c..."} 
[2026-09-05 17:58:50] local.INFO: Packet analysis {"connection_id":174503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718a"} 
[2026-09-05 17:58:50] local.INFO: Extracted packet for processing {"connection_id":174503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718a"} 
[2026-09-05 17:58:50] local.INFO: GPS Element Parsed {"raw_longitude":756660288,"raw_latitude":119563272,"longitude_deg":75.6660288,"latitude_deg":11.9563272,"altitude":34,"angle":348,"satellites":44,"speed":43,"hex_longitude":"2d19b840","hex_latitude":"07206408","is_valid_coordinates":true} 
[2026-09-05 17:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884485120001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18035976425177088,"note":"Value kept but may cause issues"} 
[2026-09-05 17:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914664087552,"note":"Value kept but may cause issues"} 
[2026-09-05 17:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788611278000,"timestamp_ms":1788611278000,"timestamp_seconds":1788611278,"priority":1,"record_length":96,"hex_timestamp":"000001a0718a34b0"} 
[2026-09-05 17:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-05 17:58:50] 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-09-05 17:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884485120001,"66":14254,"103":206,"83":41984,"24":43,"16":18035976425177088,"45":1854497914664087552},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 17:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884485120001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:58:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 17:58:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18035976425177088,"km_value":18035976425177.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914664087552,"description":"Unknown IO ID 45"} 
[2026-09-05 17:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884485120001,"power":14254,"unknown_103":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1854497914664087552}} 
[2026-09-05 17:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":174503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:58:50] local.INFO: GPS data processed {"connection_id":174503,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:58:50] local.INFO: Acknowledgment sent {"connection_id":174503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:58:56] local.INFO: TCP Data received {"connection_id":171799,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:58:56] local.INFO: Processing buffer {"connection_id":171799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:58:56] local.INFO: IMEI packet received {"connection_id":171799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":171799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:58:58] local.INFO: TCP Data received {"connection_id":171798,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0718ac920012d7d51c005ce8770000f00b50d..."} 
[2026-09-05 17:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718ac920012d7d51c005ce8770000f00b50d..."} 
[2026-09-05 17:58:58] local.INFO: Processing buffer {"connection_id":171798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718ac920012d7d51c005ce8770000f00b50d..."} 
[2026-09-05 17:58:58] local.INFO: Packet analysis {"connection_id":171798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718a"} 
[2026-09-05 17:58:58] local.INFO: Extracted packet for processing {"connection_id":171798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718a"} 
[2026-09-05 17:58:58] local.INFO: GPS Element Parsed {"raw_longitude":763187648,"raw_latitude":97421168,"longitude_deg":76.3187648,"latitude_deg":9.7421168,"altitude":15,"angle":181,"satellites":13,"speed":40,"hex_longitude":"2d7d51c0","hex_latitude":"05ce8770","is_valid_coordinates":true} 
[2026-09-05 17:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884494336001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128633368572067840,"note":"Value kept but may cause issues"} 
[2026-09-05 17:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030139490285185024,"note":"Value kept but may cause issues"} 
[2026-09-05 17:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788611316000,"timestamp_ms":1788611316000,"timestamp_seconds":1788611316,"priority":1,"record_length":96,"hex_timestamp":"000001a0718ac920"} 
[2026-09-05 17:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-05 17:58:58] 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-09-05 17:58:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884494336001,"66":13537,"99":206,"85":15104,"24":40,"16":128633368572067840,"45":9030139490285185024},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-09-05 17:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 17:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 17:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884494336001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:58:58] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-05 17:58:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 17:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128633368572067840,"km_value":128633368572067.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030139490285185024,"description":"Unknown IO ID 45"} 
[2026-09-05 17:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884494336001,"power":13537,"unknown_99":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9030139490285185024}} 
[2026-09-05 17:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":171798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770377,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:58:58] local.INFO: GPS data processed {"connection_id":171798,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:58:58] local.INFO: Acknowledgment sent {"connection_id":171798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:59:01] local.INFO: TCP Data received {"connection_id":171799,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:59:01] local.INFO: Processing buffer {"connection_id":171799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:59:01] local.INFO: IMEI packet received {"connection_id":171799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 17:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":171799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:59:02] local.INFO: TCP Data received {"connection_id":171799,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a071877978012d7b850005f5f278000000f62d..."} 
[2026-09-05 17:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071877978012d7b850005f5f278000000f62d..."} 
[2026-09-05 17:59:02] local.INFO: Processing buffer {"connection_id":171799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071877978012d7b850005f5f278000000f62d..."} 
[2026-09-05 17:59:02] local.INFO: Packet analysis {"connection_id":171799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07187"} 
[2026-09-05 17:59:02] local.INFO: Extracted packet for processing {"connection_id":171799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07187"} 
[2026-09-05 17:59:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":0,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 17: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-09-05 17:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884364288001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788611099000,"timestamp_ms":1788611099000,"timestamp_seconds":1788611099,"priority":1,"record_length":96,"hex_timestamp":"000001a071877978"} 
[2026-09-05 17:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:59:02] 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-09-05 17: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 17:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17: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-09-05 17:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884364288001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884364288001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:59:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:59:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884364288001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":171799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:59:02] local.INFO: GPS data processed {"connection_id":171799,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:59:02] local.INFO: Acknowledgment sent {"connection_id":171799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:59:19] local.INFO: TCP Data received {"connection_id":174504,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174504,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:59:19] local.INFO: Processing buffer {"connection_id":174504,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:59:19] local.INFO: IMEI packet received {"connection_id":174504,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 17:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":174504,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:59:21] local.INFO: TCP Data received {"connection_id":174503,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0718aa210012d19a8400720b0700032011628..."} 
[2026-09-05 17:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718aa210012d19a8400720b0700032011628..."} 
[2026-09-05 17:59:21] local.INFO: Processing buffer {"connection_id":174503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718aa210012d19a8400720b0700032011628..."} 
[2026-09-05 17:59:21] local.INFO: Packet analysis {"connection_id":174503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718a"} 
[2026-09-05 17:59:21] local.INFO: Extracted packet for processing {"connection_id":174503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718a"} 
[2026-09-05 17:59:21] local.INFO: GPS Element Parsed {"raw_longitude":756656192,"raw_latitude":119582832,"longitude_deg":75.6656192,"latitude_deg":11.9582832,"altitude":50,"angle":278,"satellites":40,"speed":26,"hex_longitude":"2d19a840","hex_latitude":"0720b070","is_valid_coordinates":true} 
[2026-09-05 17:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884493056001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18037153246216192,"note":"Value kept but may cause issues"} 
[2026-09-05 17:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852175746113216512,"note":"Value kept but may cause issues"} 
[2026-09-05 17:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788611306000,"timestamp_ms":1788611306000,"timestamp_seconds":1788611306,"priority":1,"record_length":96,"hex_timestamp":"000001a0718aa210"} 
[2026-09-05 17:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 17:59:21] 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-09-05 17:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884493056001,"66":14407,"103":206,"83":41984,"24":26,"16":18037153246216192,"45":1852175746113216512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 17:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884493056001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:59:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 17:59:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18037153246216192,"km_value":18037153246216.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852175746113216512,"description":"Unknown IO ID 45"} 
[2026-09-05 17:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884493056001,"power":14407,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1852175746113216512}} 
[2026-09-05 17:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":174503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:59:21] local.INFO: GPS data processed {"connection_id":174503,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:59:21] local.INFO: Acknowledgment sent {"connection_id":174503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:59:24] local.INFO: TCP Data received {"connection_id":174504,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174504,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:59:24] local.INFO: Processing buffer {"connection_id":174504,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 17:59:24] local.INFO: IMEI packet received {"connection_id":174504,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 17:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":174504,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:59:25] local.INFO: TCP Data received {"connection_id":174504,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0718aec48012d7d4f0005ce61d0000e00b80d..."} 
[2026-09-05 17:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718aec48012d7d4f0005ce61d0000e00b80d..."} 
[2026-09-05 17:59:25] local.INFO: Processing buffer {"connection_id":174504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718aec48012d7d4f0005ce61d0000e00b80d..."} 
[2026-09-05 17:59:25] local.INFO: Packet analysis {"connection_id":174504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718a"} 
[2026-09-05 17:59:25] local.INFO: Extracted packet for processing {"connection_id":174504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718a"} 
[2026-09-05 17:59:25] local.INFO: GPS Element Parsed {"raw_longitude":763186944,"raw_latitude":97411536,"longitude_deg":76.3186944,"latitude_deg":9.7411536,"altitude":14,"angle":184,"satellites":13,"speed":37,"hex_longitude":"2d7d4f00","hex_latitude":"05ce61d0","is_valid_coordinates":true} 
[2026-09-05 17:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884496896001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128633836723503104,"note":"Value kept but may cause issues"} 
[2026-09-05 17:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030209859026907136,"note":"Value kept but may cause issues"} 
[2026-09-05 17:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788611325000,"timestamp_ms":1788611325000,"timestamp_seconds":1788611325,"priority":1,"record_length":96,"hex_timestamp":"000001a0718aec48"} 
[2026-09-05 17:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:59:25] 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-09-05 17:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-05 17:59:25] 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-09-05 17:59:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:59:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884496896001,"66":13254,"99":206,"85":15104,"24":37,"16":128633836723503104,"45":9030209859026907136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-09-05 17:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 17:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 17:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884496896001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:59:25] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-05 17:59:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 17:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128633836723503104,"km_value":128633836723503.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030209859026907136,"description":"Unknown IO ID 45"} 
[2026-09-05 17:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884496896001,"power":13254,"unknown_99":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9030209859026907136}} 
[2026-09-05 17:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":174504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770380,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:59:25] local.INFO: GPS data processed {"connection_id":174504,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:59:25] local.INFO: Acknowledgment sent {"connection_id":174504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:59:33] local.INFO: TCP Data received {"connection_id":171799,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a071877978012d7b850005f5f278000000f62d..."} 
[2026-09-05 17:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071877978012d7b850005f5f278000000f62d..."} 
[2026-09-05 17:59:33] local.INFO: Processing buffer {"connection_id":171799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071877978012d7b850005f5f278000000f62d..."} 
[2026-09-05 17:59:33] local.INFO: Packet analysis {"connection_id":171799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07187"} 
[2026-09-05 17:59:33] local.INFO: Extracted packet for processing {"connection_id":171799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07187"} 
[2026-09-05 17:59:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":0,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 17:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884364288001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 17:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 17:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788611099000,"timestamp_ms":1788611099000,"timestamp_seconds":1788611099,"priority":1,"record_length":96,"hex_timestamp":"000001a071877978"} 
[2026-09-05 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-09-05 17:59: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-09-05 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 17:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 17:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 17:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 17:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 17:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884364288001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 17:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 17:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 17:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884364288001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:59:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 17:59:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 17:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 17:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884364288001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 17:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":171799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:59:33] local.INFO: GPS data processed {"connection_id":171799,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:59:33] local.INFO: Acknowledgment sent {"connection_id":171799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:59:44] local.INFO: TCP Data received {"connection_id":174505,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:59:44] local.INFO: Processing buffer {"connection_id":174505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:59:44] local.INFO: IMEI packet received {"connection_id":174505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 17:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":174505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:59:47] local.INFO: TCP Data received {"connection_id":174505,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:59:47] local.INFO: Processing buffer {"connection_id":174505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:59:47] local.INFO: IMEI packet received {"connection_id":174505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":174505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:59:51] local.INFO: TCP Data received {"connection_id":174505,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:59:51] local.INFO: Processing buffer {"connection_id":174505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 17:59:51] local.INFO: IMEI packet received {"connection_id":174505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 17:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":174505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 17:59:52] local.INFO: TCP Data received {"connection_id":174505,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0718ac920012d1988400720b3280036010929..."} 
[2026-09-05 17:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718ac920012d1988400720b3280036010929..."} 
[2026-09-05 17:59:52] local.INFO: Processing buffer {"connection_id":174505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718ac920012d1988400720b3280036010929..."} 
[2026-09-05 17:59:52] local.INFO: Packet analysis {"connection_id":174505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718a"} 
[2026-09-05 17:59:52] local.INFO: Extracted packet for processing {"connection_id":174505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718a"} 
[2026-09-05 17:59:52] local.INFO: GPS Element Parsed {"raw_longitude":756648000,"raw_latitude":119583528,"longitude_deg":75.6648,"latitude_deg":11.9583528,"altitude":54,"angle":265,"satellites":41,"speed":37,"hex_longitude":"2d198840","hex_latitude":"0720b328","is_valid_coordinates":true} 
[2026-09-05 17:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884494336001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18037539793272832,"note":"Value kept but may cause issues"} 
[2026-09-05 17:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848798046392971264,"note":"Value kept but may cause issues"} 
[2026-09-05 17:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 17:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788611316000,"timestamp_ms":1788611316000,"timestamp_seconds":1788611316,"priority":1,"record_length":96,"hex_timestamp":"000001a0718ac920"} 
[2026-09-05 17:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 17:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-05 17:59:52] 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-09-05 17:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 17:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 17:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 17:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884494336001,"66":14341,"103":206,"83":41984,"24":37,"16":18037539793272832,"45":1848798046392971264},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 17:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 17:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 17:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884494336001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:59:52] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 17:59:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 17:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18037539793272832,"km_value":18037539793272.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848798046392971264,"description":"Unknown IO ID 45"} 
[2026-09-05 17:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884494336001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1848798046392971264}} 
[2026-09-05 17:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":174505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:59:53] local.INFO: GPS data processed {"connection_id":174505,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:59:53] local.INFO: Acknowledgment sent {"connection_id":174505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 17:59:55] local.INFO: TCP Data received {"connection_id":172071,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:59:55] local.INFO: Processing buffer {"connection_id":172071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 17:59:55] local.INFO: IMEI packet received {"connection_id":172071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 17:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":172071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 17:59:56] local.INFO: TCP Data received {"connection_id":174504,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0718b1740012d7d4c4005ce3cd0000e00b60d..."} 
[2026-09-05 17:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718b1740012d7d4c4005ce3cd0000e00b60d..."} 
[2026-09-05 17:59:56] local.INFO: Processing buffer {"connection_id":174504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718b1740012d7d4c4005ce3cd0000e00b60d..."} 
[2026-09-05 17:59:56] local.INFO: Packet analysis {"connection_id":174504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718b"} 
[2026-09-05 17:59:56] local.INFO: Extracted packet for processing {"connection_id":174504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718b"} 
[2026-09-05 17:59:56] local.INFO: GPS Element Parsed {"raw_longitude":763186240,"raw_latitude":97402064,"longitude_deg":76.318624,"latitude_deg":9.7402064,"altitude":14,"angle":182,"satellites":13,"speed":31,"hex_longitude":"2d7d4c40","hex_latitude":"05ce3cd0","is_valid_coordinates":true} 
[2026-09-05 17:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 17:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884499200001,"note":"Value kept but may cause issues"} 
[2026-09-05 17:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128634296285003776,"note":"Value kept but may cause issues"} 
[2026-09-05 17:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029435802838487040,"note":"Value kept but may cause issues"} 
[2026-09-05 17:59:56] 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-09-05 17:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788611336000,"timestamp_ms":1788611336000,"timestamp_seconds":1788611336,"priority":1,"record_length":96,"hex_timestamp":"000001a0718b1740"} 
[2026-09-05 17:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 17:59:56] 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-09-05 17:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-05 17:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 17:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 17:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 17:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 17:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 17:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 17:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 17:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 17:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 17:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884499200001,"66":13428,"237":206,"85":15104,"24":31,"16":128634296285003776,"45":9029435802838487040},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-09-05 17:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 17:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 17:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884499200001,"description":"Unknown IO ID 0"} 
[2026-09-05 17:59:56] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-05 17:59:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 17:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128634296285003776,"km_value":128634296285003.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 17:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029435802838487040,"description":"Unknown IO ID 45"} 
[2026-09-05 17:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884499200001,"power":13428,"unknown_237":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9029435802838487040}} 
[2026-09-05 17:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":174504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 17:59:56] local.INFO: GPS data processed {"connection_id":174504,"processed":1,"errors":0,"total":1} 
[2026-09-05 17:59:56] local.INFO: Acknowledgment sent {"connection_id":174504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:00:01] local.INFO: TCP Data received {"connection_id":172071,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:00:01] local.INFO: Processing buffer {"connection_id":172071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:00:01] local.INFO: IMEI packet received {"connection_id":172071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":172071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:00:02] local.INFO: TCP Data received {"connection_id":172071,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a071877978012d7b850005f5f278000000f62d..."} 
[2026-09-05 18:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071877978012d7b850005f5f278000000f62d..."} 
[2026-09-05 18:00:02] local.INFO: Processing buffer {"connection_id":172071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071877978012d7b850005f5f278000000f62d..."} 
[2026-09-05 18:00:02] local.INFO: Packet analysis {"connection_id":172071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07187"} 
[2026-09-05 18:00:02] local.INFO: Extracted packet for processing {"connection_id":172071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07187"} 
[2026-09-05 18:00:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":0,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884364288001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788611099000,"timestamp_ms":1788611099000,"timestamp_seconds":1788611099,"priority":1,"record_length":96,"hex_timestamp":"000001a071877978"} 
[2026-09-05 18:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:00:02] 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-09-05 18:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:00:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884364288001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884364288001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:00:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:00:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884364288001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":172071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:00:02] local.INFO: GPS data processed {"connection_id":172071,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:00:02] local.INFO: Acknowledgment sent {"connection_id":172071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:00:19] local.INFO: TCP Data received {"connection_id":172072,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:00:19] local.INFO: Processing buffer {"connection_id":172072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:00:19] local.INFO: IMEI packet received {"connection_id":172072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":172072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:00:22] local.INFO: TCP Data received {"connection_id":172072,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:00:22] local.INFO: Processing buffer {"connection_id":172072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:00:22] local.INFO: IMEI packet received {"connection_id":172072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":172072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:00:24] local.INFO: TCP Data received {"connection_id":172072,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:00:24] local.INFO: Processing buffer {"connection_id":172072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:00:24] local.INFO: IMEI packet received {"connection_id":172072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":172072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:00:24] local.INFO: TCP Data received {"connection_id":174505,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0718ae090012d1974c00720af40003500fd28..."} 
[2026-09-05 18:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718ae090012d1974c00720af40003500fd28..."} 
[2026-09-05 18:00:24] local.INFO: Processing buffer {"connection_id":174505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718ae090012d1974c00720af40003500fd28..."} 
[2026-09-05 18:00:24] local.INFO: Packet analysis {"connection_id":174505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718a"} 
[2026-09-05 18:00:24] local.INFO: Extracted packet for processing {"connection_id":174505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718a"} 
[2026-09-05 18:00:24] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119582528,"longitude_deg":75.6643008,"latitude_deg":11.9582528,"altitude":53,"angle":253,"satellites":40,"speed":21,"hex_longitude":"2d1974c0","hex_latitude":"0720af40","is_valid_coordinates":true} 
[2026-09-05 18:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884496896001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18037784606408704,"note":"Value kept but may cause issues"} 
[2026-09-05 18:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839790847138408448,"note":"Value kept but may cause issues"} 
[2026-09-05 18:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788611322000,"timestamp_ms":1788611322000,"timestamp_seconds":1788611322,"priority":1,"record_length":96,"hex_timestamp":"000001a0718ae090"} 
[2026-09-05 18:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-05 18:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6986762867,"note":"Value kept but may cause issues"} 
[2026-09-05 18:00:24] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 18:00:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 18:00:24] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-09-05 18:00:24] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3221692584,"note":"Value kept but may cause issues"} 
[2026-09-05 18:00:24] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503874848423936,"note":"Value kept but may cause issues"} 
[2026-09-05 18:00:24] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2853175338,"note":"Value kept but may cause issues"} 
[2026-09-05 18:00:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-05 18:00:24] local.WARNING: Large IO value detected {"io_id":130,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-09-05 18:00:24] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837560,"note":"Value kept but may cause issues"} 
[2026-09-05 18:00:24] local.WARNING: Large IO value detected {"io_id":48,"raw_value":84752229948924063,"note":"Value kept but may cause issues"} 
[2026-09-05 18:00:24] local.WARNING: Large IO value detected {"io_id":136,"raw_value":11540642253512960,"note":"Value kept but may cause issues"} 
[2026-09-05 18:00:24] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,103,83,24,241,157,16,21,160,162,45,64,176,50,40,10,66,20,142,172,44,39,138,192,1,240,185,227,113,32,4,205,19,130,112,41,239,55,2,7,206,48,136],"length":529,"final_offset":659,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-05 18:00:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891401624725553152,"timestamp_seconds":3891401624725553.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 18:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884496896001,"66":14374,"103":206,"83":41984,"24":21,"16":18037784606408704,"45":1839790847138408448},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 18:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884496896001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:00:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 18:00:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18037784606408704,"km_value":18037784606408.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839790847138408448,"description":"Unknown IO ID 45"} 
[2026-09-05 18:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884496896001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1839790847138408448}} 
[2026-09-05 18:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":174505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:00:24] local.INFO: GPS data processed {"connection_id":174505,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:00:24] local.INFO: Acknowledgment sent {"connection_id":174505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:00:25] local.INFO: TCP Data received {"connection_id":172072,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0718b4620012d7d4a4005ce1a40000d00b60d..."} 
[2026-09-05 18:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718b4620012d7d4a4005ce1a40000d00b60d..."} 
[2026-09-05 18:00:25] local.INFO: Processing buffer {"connection_id":172072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718b4620012d7d4a4005ce1a40000d00b60d..."} 
[2026-09-05 18:00:25] local.INFO: Packet analysis {"connection_id":172072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718b"} 
[2026-09-05 18:00:25] local.INFO: Extracted packet for processing {"connection_id":172072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718b"} 
[2026-09-05 18:00:25] local.INFO: GPS Element Parsed {"raw_longitude":763185728,"raw_latitude":97393216,"longitude_deg":76.3185728,"latitude_deg":9.7393216,"altitude":13,"angle":182,"satellites":13,"speed":26,"hex_longitude":"2d7d4a40","hex_latitude":"05ce1a40","is_valid_coordinates":true} 
[2026-09-05 18:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884502016001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128634730076700672,"note":"Value kept but may cause issues"} 
[2026-09-05 18:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028661746650107904,"note":"Value kept but may cause issues"} 
[2026-09-05 18:00:25] 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-09-05 18:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788611348000,"timestamp_ms":1788611348000,"timestamp_seconds":1788611348,"priority":1,"record_length":96,"hex_timestamp":"000001a0718b4620"} 
[2026-09-05 18:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:00:25] 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-09-05 18:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-05 18:00:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:00:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884502016001,"66":13428,"237":206,"85":15104,"24":26,"16":128634730076700672,"45":9028661746650107904},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-09-05 18:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884502016001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:00:25] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-05 18:00:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 18:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128634730076700672,"km_value":128634730076700.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028661746650107904,"description":"Unknown IO ID 45"} 
[2026-09-05 18:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884502016001,"power":13428,"unknown_237":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9028661746650107904}} 
[2026-09-05 18:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":172072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770386,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:00:25] local.INFO: GPS data processed {"connection_id":172072,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:00:25] local.INFO: Acknowledgment sent {"connection_id":172072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:00:33] local.INFO: TCP Data received {"connection_id":172071,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a071877978012d7b850005f5f278000000f62d..."} 
[2026-09-05 18:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071877978012d7b850005f5f278000000f62d..."} 
[2026-09-05 18:00:33] local.INFO: Processing buffer {"connection_id":172071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071877978012d7b850005f5f278000000f62d..."} 
[2026-09-05 18:00:33] local.INFO: Packet analysis {"connection_id":172071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07187"} 
[2026-09-05 18:00:33] local.INFO: Extracted packet for processing {"connection_id":172071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07187"} 
[2026-09-05 18:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":0,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884364288001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788611099000,"timestamp_ms":1788611099000,"timestamp_seconds":1788611099,"priority":1,"record_length":96,"hex_timestamp":"000001a071877978"} 
[2026-09-05 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-09-05 18:00: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-09-05 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 18:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884364288001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884364288001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:00:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:00:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884364288001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":172071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:00:33] local.INFO: GPS data processed {"connection_id":172071,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:00:33] local.INFO: Acknowledgment sent {"connection_id":172071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:00:47] local.INFO: TCP Data received {"connection_id":174507,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174507,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:00:47] local.INFO: Processing buffer {"connection_id":174507,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:00:47] local.INFO: IMEI packet received {"connection_id":174507,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 18:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":174507,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:00:49] local.INFO: TCP Data received {"connection_id":174506,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:00:49] local.INFO: Processing buffer {"connection_id":174506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:00:49] local.INFO: IMEI packet received {"connection_id":174506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":174506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:00:53] local.INFO: TCP Data received {"connection_id":174506,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:00:53] local.INFO: Processing buffer {"connection_id":174506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:00:53] local.INFO: IMEI packet received {"connection_id":174506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":174506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:00:54] local.INFO: TCP Data received {"connection_id":174506,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0718be648012d18d10007211918004100022d..."} 
[2026-09-05 18:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718be648012d18d10007211918004100022d..."} 
[2026-09-05 18:00:54] local.INFO: Processing buffer {"connection_id":174506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718be648012d18d10007211918004100022d..."} 
[2026-09-05 18:00:54] local.INFO: Packet analysis {"connection_id":174506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718b"} 
[2026-09-05 18:00:54] local.INFO: Extracted packet for processing {"connection_id":174506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718b"} 
[2026-09-05 18:00:54] local.INFO: GPS Element Parsed {"raw_longitude":756601088,"raw_latitude":119609624,"longitude_deg":75.6601088,"latitude_deg":11.9609624,"altitude":65,"angle":2,"satellites":45,"speed":29,"hex_longitude":"2d18d100","hex_latitude":"07211918","is_valid_coordinates":true} 
[2026-09-05 18:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884514560001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18040438896197632,"note":"Value kept but may cause issues"} 
[2026-09-05 18:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788492032638853120,"note":"Value kept but may cause issues"} 
[2026-09-05 18:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788611389000,"timestamp_ms":1788611389000,"timestamp_seconds":1788611389,"priority":1,"record_length":96,"hex_timestamp":"000001a0718be648"} 
[2026-09-05 18:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 18:00:54] 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-09-05 18:00:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884514560001,"66":14254,"103":206,"83":41984,"24":29,"16":18040438896197632,"45":1788492032638853120},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 18:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884514560001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:00:54] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 18:00:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18040438896197632,"km_value":18040438896197.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788492032638853120,"description":"Unknown IO ID 45"} 
[2026-09-05 18:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884514560001,"power":14254,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1788492032638853120}} 
[2026-09-05 18:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":174506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:00:54] local.INFO: GPS data processed {"connection_id":174506,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:00:54] local.INFO: Acknowledgment sent {"connection_id":174506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:00:55] local.INFO: TCP Data received {"connection_id":174506,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0718bfdb8012d18d0c0072127d80043015e2b..."} 
[2026-09-05 18:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718bfdb8012d18d0c0072127d80043015e2b..."} 
[2026-09-05 18:00:55] local.INFO: Processing buffer {"connection_id":174506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718bfdb8012d18d0c0072127d80043015e2b..."} 
[2026-09-05 18:00:55] local.INFO: Packet analysis {"connection_id":174506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718b"} 
[2026-09-05 18:00:55] local.INFO: Extracted packet for processing {"connection_id":174506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718b"} 
[2026-09-05 18:00:55] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119613400,"longitude_deg":75.6601024,"latitude_deg":11.96134,"altitude":67,"angle":350,"satellites":43,"speed":17,"hex_longitude":"2d18d0c0","hex_latitude":"072127d8","is_valid_coordinates":true} 
[2026-09-05 18:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884515584001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18040619284824064,"note":"Value kept but may cause issues"} 
[2026-09-05 18:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788210557662861312,"note":"Value kept but may cause issues"} 
[2026-09-05 18:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788611395000,"timestamp_ms":1788611395000,"timestamp_seconds":1788611395,"priority":1,"record_length":96,"hex_timestamp":"000001a0718bfdb8"} 
[2026-09-05 18:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-05 18:00:55] 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-09-05 18:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884515584001,"66":14341,"103":206,"83":41984,"24":17,"16":18040619284824064,"45":1788210557662861312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 18:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884515584001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:00:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 18:00:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18040619284824064,"km_value":18040619284824.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788210557662861312,"description":"Unknown IO ID 45"} 
[2026-09-05 18:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884515584001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1788210557662861312}} 
[2026-09-05 18:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":174506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:00:55] local.INFO: GPS data processed {"connection_id":174506,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:00:55] local.INFO: Acknowledgment sent {"connection_id":174506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:00:55] local.INFO: TCP Data received {"connection_id":174508,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:00:55] local.INFO: Processing buffer {"connection_id":174508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:00:55] local.INFO: IMEI packet received {"connection_id":174508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":174508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:00:56] local.INFO: TCP Data received {"connection_id":172072,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0718b84a0012d7d46c005cdf6c0000c00b50e..."} 
[2026-09-05 18:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718b84a0012d7d46c005cdf6c0000c00b50e..."} 
[2026-09-05 18:00:56] local.INFO: Processing buffer {"connection_id":172072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718b84a0012d7d46c005cdf6c0000c00b50e..."} 
[2026-09-05 18:00:56] local.INFO: Packet analysis {"connection_id":172072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718b"} 
[2026-09-05 18:00:56] local.INFO: Extracted packet for processing {"connection_id":172072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718b"} 
[2026-09-05 18:00:56] local.INFO: GPS Element Parsed {"raw_longitude":763184832,"raw_latitude":97384128,"longitude_deg":76.3184832,"latitude_deg":9.7384128,"altitude":12,"angle":181,"satellites":14,"speed":29,"hex_longitude":"2d7d46c0","hex_latitude":"05cdf6c0","is_valid_coordinates":true} 
[2026-09-05 18:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884505088001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128635172458332160,"note":"Value kept but may cause issues"} 
[2026-09-05 18:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028098796694421504,"note":"Value kept but may cause issues"} 
[2026-09-05 18:00:56] 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-09-05 18:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788611364000,"timestamp_ms":1788611364000,"timestamp_seconds":1788611364,"priority":1,"record_length":96,"hex_timestamp":"000001a0718b84a0"} 
[2026-09-05 18:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:00:56] 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-09-05 18:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-05 18:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:00:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884505088001,"66":13624,"235":206,"85":15104,"24":29,"16":128635172458332160,"45":9028098796694421504},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-09-05 18:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884505088001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:00:56] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-05 18:00:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 18:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128635172458332160,"km_value":128635172458332.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028098796694421504,"description":"Unknown IO ID 45"} 
[2026-09-05 18:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884505088001,"power":13624,"unknown_235":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9028098796694421504}} 
[2026-09-05 18:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":172072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:00:56] local.INFO: GPS data processed {"connection_id":172072,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:00:56] local.INFO: Acknowledgment sent {"connection_id":172072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:01:01] local.INFO: TCP Data received {"connection_id":174508,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:01:01] local.INFO: Processing buffer {"connection_id":174508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:01:01] local.INFO: IMEI packet received {"connection_id":174508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":174508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:01:01] local.INFO: TCP Data received {"connection_id":174508,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0718c1140012d7b850005f5f278000900f62a..."} 
[2026-09-05 18:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718c1140012d7b850005f5f278000900f62a..."} 
[2026-09-05 18:01:02] local.INFO: Processing buffer {"connection_id":174508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718c1140012d7b850005f5f278000900f62a..."} 
[2026-09-05 18:01:02] local.INFO: Packet analysis {"connection_id":174508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718c"} 
[2026-09-05 18:01:02] local.INFO: Extracted packet for processing {"connection_id":174508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718c"} 
[2026-09-05 18:01:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884441344001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788611400000,"timestamp_ms":1788611400000,"timestamp_seconds":1788611400,"priority":1,"record_length":96,"hex_timestamp":"000001a0718c1140"} 
[2026-09-05 18:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:01:02] 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-09-05 18: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":178,"data_length":795,"current_offset":136} 
[2026-09-05 18:01: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-09-05 18: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-09-05 18:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884441344001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884441344001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:01:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:01:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884441344001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":174508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:01:02] local.INFO: GPS data processed {"connection_id":174508,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:01:02] local.INFO: Acknowledgment sent {"connection_id":174508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:01:24] local.INFO: TCP Data received {"connection_id":173184,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:01:24] local.INFO: Processing buffer {"connection_id":173184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:01:24] local.INFO: IMEI packet received {"connection_id":173184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":173184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:01:27] local.INFO: TCP Data received {"connection_id":174506,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0718c0588012d18d040072129d00043014c2b..."} 
[2026-09-05 18:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718c0588012d18d040072129d00043014c2b..."} 
[2026-09-05 18:01:27] local.INFO: Processing buffer {"connection_id":174506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718c0588012d18d040072129d00043014c2b..."} 
[2026-09-05 18:01:27] local.INFO: Packet analysis {"connection_id":174506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718c"} 
[2026-09-05 18:01:27] local.INFO: Extracted packet for processing {"connection_id":174506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718c"} 
[2026-09-05 18:01:27] local.INFO: GPS Element Parsed {"raw_longitude":756600896,"raw_latitude":119613904,"longitude_deg":75.6600896,"latitude_deg":11.9613904,"altitude":67,"angle":332,"satellites":43,"speed":5,"hex_longitude":"2d18d040","hex_latitude":"072129d0","is_valid_coordinates":true} 
[2026-09-05 18:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884517120001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18040645054627840,"note":"Value kept but may cause issues"} 
[2026-09-05 18:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188919650304,"note":"Value kept but may cause issues"} 
[2026-09-05 18:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788611397000,"timestamp_ms":1788611397000,"timestamp_seconds":1788611397,"priority":1,"record_length":96,"hex_timestamp":"000001a0718c0588"} 
[2026-09-05 18:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-05 18:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6986763113,"note":"Value kept but may cause issues"} 
[2026-09-05 18:01:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 18:01:27] local.WARNING: Large IO value detected {"io_id":24,"raw_value":16045375785802240,"note":"Value kept but may cause issues"} 
[2026-09-05 18:01:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 18:01:27] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503874888859648,"note":"Value kept but may cause issues"} 
[2026-09-05 18:01:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-05 18:01:27] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247736,"note":"Value kept but may cause issues"} 
[2026-09-05 18:01:27] local.WARNING: Large IO value detected {"io_id":72,"raw_value":84751472960938189,"note":"Value kept but may cause issues"} 
[2026-09-05 18:01:27] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,103,83,24,241,157,16,23,160,230,45,25,65,10,66,214,14,64,195,128,1,240,92,227,113,32,4,205,33,152,235,43,239,54,2,7,60,206,72],"length":529,"final_offset":659,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-05 18:01:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4828243814295601152,"timestamp_seconds":4828243814295601.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 18:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884517120001,"66":14102,"103":206,"83":41984,"24":5,"16":18040645054627840,"45":1788140188919650304},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 18:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884517120001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:01:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 18:01:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18040645054627840,"km_value":18040645054627.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188919650304,"description":"Unknown IO ID 45"} 
[2026-09-05 18:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884517120001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1788140188919650304}} 
[2026-09-05 18:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":174506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:01:27] local.INFO: GPS data processed {"connection_id":174506,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:01:27] local.INFO: Acknowledgment sent {"connection_id":174506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:01:27] local.INFO: TCP Data received {"connection_id":173184,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:01:27] local.INFO: Processing buffer {"connection_id":173184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:01:27] local.INFO: IMEI packet received {"connection_id":173184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":173184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:01:28] local.INFO: TCP Data received {"connection_id":173184,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0718cd0a8012d7d568005cc5e50000c00b910..."} 
[2026-09-05 18:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718cd0a8012d7d568005cc5e50000c00b910..."} 
[2026-09-05 18:01:28] local.INFO: Processing buffer {"connection_id":173184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718cd0a8012d7d568005cc5e50000c00b910..."} 
[2026-09-05 18:01:28] local.INFO: Packet analysis {"connection_id":173184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718c"} 
[2026-09-05 18:01:28] local.INFO: Extracted packet for processing {"connection_id":173184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718c"} 
[2026-09-05 18:01:28] local.INFO: GPS Element Parsed {"raw_longitude":763188864,"raw_latitude":97279568,"longitude_deg":76.3188864,"latitude_deg":9.7279568,"altitude":12,"angle":185,"satellites":16,"speed":59,"hex_longitude":"2d7d5680","hex_latitude":"05cc5e50","is_valid_coordinates":true} 
[2026-09-05 18:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884529408001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128640253404643328,"note":"Value kept but may cause issues"} 
[2026-09-05 18:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9032109815085959168,"note":"Value kept but may cause issues"} 
[2026-09-05 18:01:28] 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-09-05 18:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788611449000,"timestamp_ms":1788611449000,"timestamp_seconds":1788611449,"priority":1,"record_length":96,"hex_timestamp":"000001a0718cd0a8"} 
[2026-09-05 18:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 18:01:28] 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-09-05 18:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884529408001,"66":13298,"129":206,"85":15104,"24":59,"16":128640253404643328,"45":9032109815085959168},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-09-05 18:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884529408001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:01:28] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-05 18:01:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 18:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128640253404643328,"km_value":128640253404643.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9032109815085959168,"description":"Unknown IO ID 45"} 
[2026-09-05 18:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884529408001,"power":13298,"unknown_129":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9032109815085959168}} 
[2026-09-05 18:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":173184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:01:28] local.INFO: GPS data processed {"connection_id":173184,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:01:28] local.INFO: Acknowledgment sent {"connection_id":173184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:01:29] local.INFO: TCP Data received {"connection_id":173184,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0718cec00012d7d528005cc3880000c00b710..."} 
[2026-09-05 18:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718cec00012d7d528005cc3880000c00b710..."} 
[2026-09-05 18:01:29] local.INFO: Processing buffer {"connection_id":173184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718cec00012d7d528005cc3880000c00b710..."} 
[2026-09-05 18:01:29] local.INFO: Packet analysis {"connection_id":173184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718c"} 
[2026-09-05 18:01:29] local.INFO: Extracted packet for processing {"connection_id":173184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718c"} 
[2026-09-05 18:01:29] local.INFO: GPS Element Parsed {"raw_longitude":763187840,"raw_latitude":97269888,"longitude_deg":76.318784,"latitude_deg":9.7269888,"altitude":12,"angle":183,"satellites":16,"speed":52,"hex_longitude":"2d7d5280","hex_latitude":"05cc3880","is_valid_coordinates":true} 
[2026-09-05 18:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884530944001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128640725851045888,"note":"Value kept but may cause issues"} 
[2026-09-05 18:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031546865130033152,"note":"Value kept but may cause issues"} 
[2026-09-05 18:01:29] 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-09-05 18:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788611456000,"timestamp_ms":1788611456000,"timestamp_seconds":1788611456,"priority":1,"record_length":96,"hex_timestamp":"000001a0718cec00"} 
[2026-09-05 18:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:01:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-09-05 18:01:29] 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-09-05 18:01:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:01:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884530944001,"66":13374,"129":206,"85":15104,"24":52,"16":128640725851045888,"45":9031546865130033152},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-09-05 18:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884530944001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:01:29] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-05 18:01:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 18:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128640725851045888,"km_value":128640725851045.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031546865130033152,"description":"Unknown IO ID 45"} 
[2026-09-05 18:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884530944001,"power":13374,"unknown_129":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":9031546865130033152}} 
[2026-09-05 18:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":173184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:01:29] local.INFO: GPS data processed {"connection_id":173184,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:01:29] local.INFO: Acknowledgment sent {"connection_id":173184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:01:33] local.INFO: TCP Data received {"connection_id":174508,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0718c1140012d7b850005f5f278000900f62a..."} 
[2026-09-05 18:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718c1140012d7b850005f5f278000900f62a..."} 
[2026-09-05 18:01:33] local.INFO: Processing buffer {"connection_id":174508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718c1140012d7b850005f5f278000900f62a..."} 
[2026-09-05 18:01:33] local.INFO: Packet analysis {"connection_id":174508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718c"} 
[2026-09-05 18:01:33] local.INFO: Extracted packet for processing {"connection_id":174508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718c"} 
[2026-09-05 18:01:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884441344001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788611400000,"timestamp_ms":1788611400000,"timestamp_seconds":1788611400,"priority":1,"record_length":96,"hex_timestamp":"000001a0718c1140"} 
[2026-09-05 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-09-05 18:01: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-09-05 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 18: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-09-05 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-09-05 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-09-05 18:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884441344001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884441344001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:01:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:01:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884441344001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":174508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:01:33] local.INFO: GPS data processed {"connection_id":174508,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:01:33] local.INFO: Acknowledgment sent {"connection_id":174508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:01:40] local.INFO: TCP Data received {"connection_id":171800,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:01:40] local.INFO: Processing buffer {"connection_id":171800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:01:40] local.INFO: IMEI packet received {"connection_id":171800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":171800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:01:42] local.INFO: TCP Data received {"connection_id":171800,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:01:42] local.INFO: Processing buffer {"connection_id":171800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:01:42] local.INFO: IMEI packet received {"connection_id":171800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":171800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:01:45] local.INFO: TCP Data received {"connection_id":171800,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:01:45] local.INFO: Processing buffer {"connection_id":171800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:01:45] local.INFO: IMEI packet received {"connection_id":171800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":171800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:01:49] local.INFO: TCP Data received {"connection_id":171800,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:01:49] local.INFO: Processing buffer {"connection_id":171800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:01:49] local.INFO: IMEI packet received {"connection_id":171800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":171800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:01:50] local.INFO: TCP Data received {"connection_id":171800,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0718c4bd8012d18ce0007212ce80045013f29..."} 
[2026-09-05 18:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718c4bd8012d18ce0007212ce80045013f29..."} 
[2026-09-05 18:01:50] local.INFO: Processing buffer {"connection_id":171800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718c4bd8012d18ce0007212ce80045013f29..."} 
[2026-09-05 18:01:50] local.INFO: Packet analysis {"connection_id":171800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718c"} 
[2026-09-05 18:01:50] local.INFO: Extracted packet for processing {"connection_id":171800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718c"} 
[2026-09-05 18:01:50] local.INFO: GPS Element Parsed {"raw_longitude":756600320,"raw_latitude":119614696,"longitude_deg":75.660032,"latitude_deg":11.9614696,"altitude":69,"angle":319,"satellites":41,"speed":11,"hex_longitude":"2d18ce00","hex_latitude":"07212ce8","is_valid_coordinates":true} 
[2026-09-05 18:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884517632001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18040692299268096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787999451431424000,"note":"Value kept but may cause issues"} 
[2026-09-05 18:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788611415000,"timestamp_ms":1788611415000,"timestamp_seconds":1788611415,"priority":1,"record_length":96,"hex_timestamp":"000001a0718c4bd8"} 
[2026-09-05 18:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-05 18:01:50] 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-09-05 18:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884517632001,"66":14374,"103":206,"83":41984,"24":11,"16":18040692299268096,"45":1787999451431424000},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 18:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884517632001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:01:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 18:01:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18040692299268096,"km_value":18040692299268.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787999451431424000,"description":"Unknown IO ID 45"} 
[2026-09-05 18:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884517632001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1787999451431424000}} 
[2026-09-05 18:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":171800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:01:50] local.INFO: GPS data processed {"connection_id":171800,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:01:50] local.INFO: Acknowledgment sent {"connection_id":171800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:01:55] local.INFO: TCP Data received {"connection_id":171800,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0718c6b18012d18c60007213a500044014e2a..."} 
[2026-09-05 18:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718c6b18012d18c60007213a500044014e2a..."} 
[2026-09-05 18:01:55] local.INFO: Processing buffer {"connection_id":171800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718c6b18012d18c60007213a500044014e2a..."} 
[2026-09-05 18:01:55] local.INFO: Packet analysis {"connection_id":171800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718c"} 
[2026-09-05 18:01:55] local.INFO: Extracted packet for processing {"connection_id":171800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718c"} 
[2026-09-05 18:01:55] local.INFO: GPS Element Parsed {"raw_longitude":756598272,"raw_latitude":119618128,"longitude_deg":75.6598272,"latitude_deg":11.9618128,"altitude":68,"angle":334,"satellites":42,"speed":24,"hex_longitude":"2d18c600","hex_latitude":"07213a50","is_valid_coordinates":true} 
[2026-09-05 18:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884522240001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18040889867763712,"note":"Value kept but may cause issues"} 
[2026-09-05 18:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787366132734027776,"note":"Value kept but may cause issues"} 
[2026-09-05 18:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788611423000,"timestamp_ms":1788611423000,"timestamp_seconds":1788611423,"priority":1,"record_length":96,"hex_timestamp":"000001a0718c6b18"} 
[2026-09-05 18:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 18:01: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-09-05 18:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884522240001,"66":14080,"103":206,"83":41984,"24":24,"16":18040889867763712,"45":1787366132734027776},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 18:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884522240001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:01:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 18:01:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18040889867763712,"km_value":18040889867763.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787366132734027776,"description":"Unknown IO ID 45"} 
[2026-09-05 18:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884522240001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1787366132734027776}} 
[2026-09-05 18:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":171800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:01:55] local.INFO: GPS data processed {"connection_id":171800,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:01:55] local.INFO: Acknowledgment sent {"connection_id":171800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:01:55] local.INFO: TCP Data received {"connection_id":174509,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:01:55] local.INFO: Processing buffer {"connection_id":174509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:01:55] local.INFO: IMEI packet received {"connection_id":174509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":174509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:02:00] local.INFO: TCP Data received {"connection_id":173184,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0718d0f28012d7d4e8005cc1538000b00be10..."} 
[2026-09-05 18:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718d0f28012d7d4e8005cc1538000b00be10..."} 
[2026-09-05 18:02:00] local.INFO: Processing buffer {"connection_id":173184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718d0f28012d7d4e8005cc1538000b00be10..."} 
[2026-09-05 18:02:00] local.INFO: Packet analysis {"connection_id":173184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718d"} 
[2026-09-05 18:02:00] local.INFO: Extracted packet for processing {"connection_id":173184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718d"} 
[2026-09-05 18:02:00] local.INFO: GPS Element Parsed {"raw_longitude":763186816,"raw_latitude":97260856,"longitude_deg":76.3186816,"latitude_deg":9.7260856,"altitude":11,"angle":190,"satellites":16,"speed":33,"hex_longitude":"2d7d4e80","hex_latitude":"05cc1538","is_valid_coordinates":true} 
[2026-09-05 18:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884532736001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128641163937710080,"note":"Value kept but may cause issues"} 
[2026-09-05 18:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030420965220712448,"note":"Value kept but may cause issues"} 
[2026-09-05 18:02:00] 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-09-05 18:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788611465000,"timestamp_ms":1788611465000,"timestamp_seconds":1788611465,"priority":1,"record_length":96,"hex_timestamp":"000001a0718d0f28"} 
[2026-09-05 18:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:02: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-09-05 18:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-05 18:02:00] 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-09-05 18:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884532736001,"66":13406,"129":206,"85":15104,"24":33,"16":128641163937710080,"45":9030420965220712448},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-09-05 18:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884532736001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:02:00] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-05 18:02:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 18:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128641163937710080,"km_value":128641163937710.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030420965220712448,"description":"Unknown IO ID 45"} 
[2026-09-05 18:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884532736001,"power":13406,"unknown_129":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9030420965220712448}} 
[2026-09-05 18:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":173184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770398,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:02:00] local.INFO: GPS data processed {"connection_id":173184,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:02:00] local.INFO: Acknowledgment sent {"connection_id":173184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:02:01] local.INFO: TCP Data received {"connection_id":174509,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:02:01] local.INFO: Processing buffer {"connection_id":174509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:02:01] local.INFO: IMEI packet received {"connection_id":174509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":174509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:02:02] local.INFO: TCP Data received {"connection_id":174509,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0718c1140012d7b850005f5f278000900f62a..."} 
[2026-09-05 18:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718c1140012d7b850005f5f278000900f62a..."} 
[2026-09-05 18:02:02] local.INFO: Processing buffer {"connection_id":174509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718c1140012d7b850005f5f278000900f62a..."} 
[2026-09-05 18:02:02] local.INFO: Packet analysis {"connection_id":174509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718c"} 
[2026-09-05 18:02:02] local.INFO: Extracted packet for processing {"connection_id":174509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718c"} 
[2026-09-05 18:02:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884441344001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788611400000,"timestamp_ms":1788611400000,"timestamp_seconds":1788611400,"priority":1,"record_length":96,"hex_timestamp":"000001a0718c1140"} 
[2026-09-05 18:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:02:02] 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-09-05 18:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 18:02: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-09-05 18: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-09-05 18:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884441344001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884441344001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:02:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:02:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884441344001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":174509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:02:02] local.INFO: GPS data processed {"connection_id":174509,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:02:02] local.INFO: Acknowledgment sent {"connection_id":174509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:02:19] local.INFO: TCP Data received {"connection_id":172074,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:02:19] local.INFO: Processing buffer {"connection_id":172074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:02:19] local.INFO: IMEI packet received {"connection_id":172074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":172074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:02:21] local.INFO: TCP Data received {"connection_id":172074,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:02:21] local.INFO: Processing buffer {"connection_id":172074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:02:21] local.INFO: IMEI packet received {"connection_id":172074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":172074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:02:22] local.INFO: TCP Data received {"connection_id":172074,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0718d3638012d7d488005cbf2a0000a00bd11..."} 
[2026-09-05 18:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718d3638012d7d488005cbf2a0000a00bd11..."} 
[2026-09-05 18:02:22] local.INFO: Processing buffer {"connection_id":172074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718d3638012d7d488005cbf2a0000a00bd11..."} 
[2026-09-05 18:02:22] local.INFO: Packet analysis {"connection_id":172074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718d"} 
[2026-09-05 18:02:22] local.INFO: Extracted packet for processing {"connection_id":172074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718d"} 
[2026-09-05 18:02:22] local.INFO: GPS Element Parsed {"raw_longitude":763185280,"raw_latitude":97252000,"longitude_deg":76.318528,"latitude_deg":9.7252,"altitude":10,"angle":189,"satellites":17,"speed":36,"hex_longitude":"2d7d4880","hex_latitude":"05cbf2a0","is_valid_coordinates":true} 
[2026-09-05 18:02: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-09-05 18:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884535040001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128641602024374272,"note":"Value kept but may cause issues"} 
[2026-09-05 18:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029295065311557632,"note":"Value kept but may cause issues"} 
[2026-09-05 18:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788611475000,"timestamp_ms":1788611475000,"timestamp_seconds":1788611475,"priority":1,"record_length":96,"hex_timestamp":"000001a0718d3638"} 
[2026-09-05 18:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:02:22] local.INFO: IO Element 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-09-05 18:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:02: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-09-05 18:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884535040001,"66":13472,"129":206,"85":15104,"24":36,"16":128641602024374272,"45":9029295065311557632},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-09-05 18:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884535040001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:02:22] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-05 18:02:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 18:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128641602024374272,"km_value":128641602024374.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029295065311557632,"description":"Unknown IO ID 45"} 
[2026-09-05 18:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884535040001,"power":13472,"unknown_129":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9029295065311557632}} 
[2026-09-05 18:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":172074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:02:22] local.INFO: GPS data processed {"connection_id":172074,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:02:22] local.INFO: Acknowledgment sent {"connection_id":172074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:02:26] local.INFO: TCP Data received {"connection_id":171800,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0718d74b8012d187b00072181a0004c01112c..."} 
[2026-09-05 18:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718d74b8012d187b00072181a0004c01112c..."} 
[2026-09-05 18:02:26] local.INFO: Processing buffer {"connection_id":171800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718d74b8012d187b00072181a0004c01112c..."} 
[2026-09-05 18:02:26] local.INFO: Packet analysis {"connection_id":171800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718d"} 
[2026-09-05 18:02:26] local.INFO: Extracted packet for processing {"connection_id":171800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718d"} 
[2026-09-05 18:02:26] local.INFO: GPS Element Parsed {"raw_longitude":756579072,"raw_latitude":119636384,"longitude_deg":75.6579072,"latitude_deg":11.9636384,"altitude":76,"angle":273,"satellites":44,"speed":28,"hex_longitude":"2d187b00","hex_latitude":"072181a0","is_valid_coordinates":true} 
[2026-09-05 18:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884540672001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18042311501938688,"note":"Value kept but may cause issues"} 
[2026-09-05 18:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767240671904647168,"note":"Value kept but may cause issues"} 
[2026-09-05 18:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788611491000,"timestamp_ms":1788611491000,"timestamp_seconds":1788611491,"priority":1,"record_length":96,"hex_timestamp":"000001a0718d74b8"} 
[2026-09-05 18:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-05 18:02:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884540672001,"66":13015,"105":206,"83":41984,"24":28,"16":18042311501938688,"45":1767240671904647168},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884540672001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:02:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:02:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18042311501938688,"km_value":18042311501938.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767240671904647168,"description":"Unknown IO ID 45"} 
[2026-09-05 18:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884540672001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1767240671904647168}} 
[2026-09-05 18:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":171800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:02:26] local.INFO: GPS data processed {"connection_id":171800,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:02:26] local.INFO: Acknowledgment sent {"connection_id":171800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:02:34] local.INFO: TCP Data received {"connection_id":174509,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0718c1140012d7b850005f5f278000900f62a..."} 
[2026-09-05 18:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718c1140012d7b850005f5f278000900f62a..."} 
[2026-09-05 18:02:34] local.INFO: Processing buffer {"connection_id":174509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718c1140012d7b850005f5f278000900f62a..."} 
[2026-09-05 18:02:34] local.INFO: Packet analysis {"connection_id":174509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718c"} 
[2026-09-05 18:02:34] local.INFO: Extracted packet for processing {"connection_id":174509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718c"} 
[2026-09-05 18:02:34] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884441344001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788611400000,"timestamp_ms":1788611400000,"timestamp_seconds":1788611400,"priority":1,"record_length":96,"hex_timestamp":"000001a0718c1140"} 
[2026-09-05 18:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:02: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-09-05 18:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 18:02:34] 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-09-05 18: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-09-05 18:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884441344001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884441344001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:02:34] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:02:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884441344001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":174509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:02:34] local.INFO: GPS data processed {"connection_id":174509,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:02:34] local.INFO: Acknowledgment sent {"connection_id":174509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:02:44] local.INFO: TCP Data received {"connection_id":171801,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:02:44] local.INFO: Processing buffer {"connection_id":171801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:02:44] local.INFO: IMEI packet received {"connection_id":171801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":171801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:02:49] local.INFO: TCP Data received {"connection_id":171801,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:02:49] local.INFO: Processing buffer {"connection_id":171801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:02:49] local.INFO: IMEI packet received {"connection_id":171801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":171801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:02:50] local.INFO: TCP Data received {"connection_id":171801,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0718d93f8012d18618007218248004d011e2c..."} 
[2026-09-05 18:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718d93f8012d18618007218248004d011e2c..."} 
[2026-09-05 18:02:50] local.INFO: Processing buffer {"connection_id":171801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718d93f8012d18618007218248004d011e2c..."} 
[2026-09-05 18:02:50] local.INFO: Packet analysis {"connection_id":171801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718d"} 
[2026-09-05 18:02:50] local.INFO: Extracted packet for processing {"connection_id":171801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718d"} 
[2026-09-05 18:02:50] local.INFO: GPS Element Parsed {"raw_longitude":756572544,"raw_latitude":119636552,"longitude_deg":75.6572544,"latitude_deg":11.9636552,"altitude":77,"angle":286,"satellites":44,"speed":34,"hex_longitude":"2d186180","hex_latitude":"07218248","is_valid_coordinates":true} 
[2026-09-05 18:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884541696001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18042620739584000,"note":"Value kept but may cause issues"} 
[2026-09-05 18:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764003709672595456,"note":"Value kept but may cause issues"} 
[2026-09-05 18:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788611499000,"timestamp_ms":1788611499000,"timestamp_seconds":1788611499,"priority":1,"record_length":96,"hex_timestamp":"000001a0718d93f8"} 
[2026-09-05 18:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-05 18:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884541696001,"66":13037,"105":206,"83":41984,"24":34,"16":18042620739584000,"45":1764003709672595456},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884541696001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:02:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:02:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18042620739584000,"km_value":18042620739584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764003709672595456,"description":"Unknown IO ID 45"} 
[2026-09-05 18:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884541696001,"power":13037,"unknown_105":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1764003709672595456}} 
[2026-09-05 18:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":171801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:02:50] local.INFO: GPS data processed {"connection_id":171801,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:02:50] local.INFO: Acknowledgment sent {"connection_id":171801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:02:53] local.INFO: TCP Data received {"connection_id":172074,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0718d5d48012d7d428005cbcde0000b00bb11..."} 
[2026-09-05 18:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718d5d48012d7d428005cbcde0000b00bb11..."} 
[2026-09-05 18:02:53] local.INFO: Processing buffer {"connection_id":172074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718d5d48012d7d428005cbcde0000b00bb11..."} 
[2026-09-05 18:02:53] local.INFO: Packet analysis {"connection_id":172074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718d"} 
[2026-09-05 18:02:53] local.INFO: Extracted packet for processing {"connection_id":172074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718d"} 
[2026-09-05 18:02:53] local.INFO: GPS Element Parsed {"raw_longitude":763183744,"raw_latitude":97242592,"longitude_deg":76.3183744,"latitude_deg":9.7242592,"altitude":11,"angle":187,"satellites":17,"speed":34,"hex_longitude":"2d7d4280","hex_latitude":"05cbcde0","is_valid_coordinates":true} 
[2026-09-05 18:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884537600001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128642061585874944,"note":"Value kept but may cause issues"} 
[2026-09-05 18:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027606215449026560,"note":"Value kept but may cause issues"} 
[2026-09-05 18:02:53] 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-09-05 18:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788611485000,"timestamp_ms":1788611485000,"timestamp_seconds":1788611485,"priority":1,"record_length":96,"hex_timestamp":"000001a0718d5d48"} 
[2026-09-05 18:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-05 18:02:53] 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-09-05 18:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884537600001,"66":13124,"129":206,"85":15104,"24":34,"16":128642061585874944,"45":9027606215449026560},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-09-05 18:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884537600001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:02:53] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-05 18:02:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 18:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128642061585874944,"km_value":128642061585874.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027606215449026560,"description":"Unknown IO ID 45"} 
[2026-09-05 18:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884537600001,"power":13124,"unknown_129":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9027606215449026560}} 
[2026-09-05 18:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":172074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770404,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:02:53] local.INFO: GPS data processed {"connection_id":172074,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:02:53] local.INFO: Acknowledgment sent {"connection_id":172074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:03:01] local.INFO: TCP Data received {"connection_id":174510,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:03:01] local.INFO: Processing buffer {"connection_id":174510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:03:01] local.INFO: IMEI packet received {"connection_id":174510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":174510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:03:06] local.INFO: TCP Data received {"connection_id":174510,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:03:06] local.INFO: Processing buffer {"connection_id":174510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:03:06] local.INFO: IMEI packet received {"connection_id":174510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":174510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:03:07] local.INFO: TCP Data received {"connection_id":174510,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0718c1140012d7b850005f5f278000900f62a..."} 
[2026-09-05 18:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718c1140012d7b850005f5f278000900f62a..."} 
[2026-09-05 18:03:07] local.INFO: Processing buffer {"connection_id":174510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718c1140012d7b850005f5f278000900f62a..."} 
[2026-09-05 18:03:07] local.INFO: Packet analysis {"connection_id":174510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718c"} 
[2026-09-05 18:03:07] local.INFO: Extracted packet for processing {"connection_id":174510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718c"} 
[2026-09-05 18:03:07] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884441344001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788611400000,"timestamp_ms":1788611400000,"timestamp_seconds":1788611400,"priority":1,"record_length":96,"hex_timestamp":"000001a0718c1140"} 
[2026-09-05 18:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:03: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-09-05 18:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 18:03:07] 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-09-05 18:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884441344001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884441344001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:03:07] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:03:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884441344001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":174510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:03:07] local.INFO: GPS data processed {"connection_id":174510,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:03:07] local.INFO: Acknowledgment sent {"connection_id":174510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:03:11] local.INFO: TCP Data received {"connection_id":174510,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0718c1140012d7b850005f5f278000900f62a..."} 
[2026-09-05 18:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718c1140012d7b850005f5f278000900f62a..."} 
[2026-09-05 18:03:11] local.INFO: Processing buffer {"connection_id":174510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718c1140012d7b850005f5f278000900f62a..."} 
[2026-09-05 18:03:11] local.INFO: Packet analysis {"connection_id":174510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718c"} 
[2026-09-05 18:03:11] local.INFO: Extracted packet for processing {"connection_id":174510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718c"} 
[2026-09-05 18:03:11] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884441344001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788611400000,"timestamp_ms":1788611400000,"timestamp_seconds":1788611400,"priority":1,"record_length":96,"hex_timestamp":"000001a0718c1140"} 
[2026-09-05 18:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 18:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 18:03:11] 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-09-05 18:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884441344001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884441344001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:03:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:03:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884441344001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":174510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:03:11] local.INFO: GPS data processed {"connection_id":174510,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:03:11] local.INFO: Acknowledgment sent {"connection_id":174510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:03:17] local.INFO: TCP Data received {"connection_id":173186,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:03:17] local.INFO: Processing buffer {"connection_id":173186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:03:17] local.INFO: IMEI packet received {"connection_id":173186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":173186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:03:19] local.INFO: TCP Data received {"connection_id":173186,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:03:19] local.INFO: Processing buffer {"connection_id":173186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:03:19] local.INFO: IMEI packet received {"connection_id":173186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":173186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:03:21] local.INFO: TCP Data received {"connection_id":171801,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0718d9fb0012d1857c007218670004f012a2c..."} 
[2026-09-05 18:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718d9fb0012d1857c007218670004f012a2c..."} 
[2026-09-05 18:03:21] local.INFO: Processing buffer {"connection_id":171801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718d9fb0012d1857c007218670004f012a2c..."} 
[2026-09-05 18:03:21] local.INFO: Packet analysis {"connection_id":171801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718d"} 
[2026-09-05 18:03:21] local.INFO: Extracted packet for processing {"connection_id":171801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718d"} 
[2026-09-05 18:03:21] local.INFO: GPS Element Parsed {"raw_longitude":756570048,"raw_latitude":119637616,"longitude_deg":75.6570048,"latitude_deg":11.9637616,"altitude":79,"angle":298,"satellites":44,"speed":36,"hex_longitude":"2d1857c0","hex_latitude":"07218670","is_valid_coordinates":true} 
[2026-09-05 18:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884543744001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18042753883570176,"note":"Value kept but may cause issues"} 
[2026-09-05 18:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756826097766516736,"note":"Value kept but may cause issues"} 
[2026-09-05 18:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788611502000,"timestamp_ms":1788611502000,"timestamp_seconds":1788611502,"priority":1,"record_length":96,"hex_timestamp":"000001a0718d9fb0"} 
[2026-09-05 18:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-05 18:03:21] 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-09-05 18:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884543744001,"66":13004,"105":206,"83":41984,"24":36,"16":18042753883570176,"45":1756826097766516736},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884543744001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:03:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:03:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18042753883570176,"km_value":18042753883570.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756826097766516736,"description":"Unknown IO ID 45"} 
[2026-09-05 18:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884543744001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1756826097766516736}} 
[2026-09-05 18:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":171801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:03:21] local.INFO: GPS data processed {"connection_id":171801,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:03:21] local.INFO: Acknowledgment sent {"connection_id":171801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:03:24] local.INFO: TCP Data received {"connection_id":173186,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:03:24] local.INFO: Processing buffer {"connection_id":173186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:03:24] local.INFO: IMEI packet received {"connection_id":173186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":173186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:03:26] local.INFO: TCP Data received {"connection_id":173186,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0718eb8f0012d7d1d4005ca4270000c00b912..."} 
[2026-09-05 18:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718eb8f0012d7d1d4005ca4270000c00b912..."} 
[2026-09-05 18:03:26] local.INFO: Processing buffer {"connection_id":173186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718eb8f0012d7d1d4005ca4270000c00b912..."} 
[2026-09-05 18:03:26] local.INFO: Packet analysis {"connection_id":173186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718e"} 
[2026-09-05 18:03:26] local.INFO: Extracted packet for processing {"connection_id":173186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718e"} 
[2026-09-05 18:03:26] local.INFO: GPS Element Parsed {"raw_longitude":763174208,"raw_latitude":97141360,"longitude_deg":76.3174208,"latitude_deg":9.714136,"altitude":12,"angle":185,"satellites":18,"speed":54,"hex_longitude":"2d7d1d40","hex_latitude":"05ca4270","is_valid_coordinates":true} 
[2026-09-05 18:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884561152001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128646996503298048,"note":"Value kept but may cause issues"} 
[2026-09-05 18:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016417585098866688,"note":"Value kept but may cause issues"} 
[2026-09-05 18:03:26] 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-09-05 18:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788611574000,"timestamp_ms":1788611574000,"timestamp_seconds":1788611574,"priority":1,"record_length":96,"hex_timestamp":"000001a0718eb8f0"} 
[2026-09-05 18:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:03:26] 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-09-05 18:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-05 18:03:26] 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-09-05 18:03:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:03:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884561152001,"66":13059,"131":206,"85":15104,"24":54,"16":128646996503298048,"45":9016417585098866688},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-05 18:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884561152001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:03:26] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-05 18:03:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 18:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128646996503298048,"km_value":128646996503298.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016417585098866688,"description":"Unknown IO ID 45"} 
[2026-09-05 18:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884561152001,"power":13059,"unknown_131":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":9016417585098866688}} 
[2026-09-05 18:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":173186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770408,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:03:26] local.INFO: GPS data processed {"connection_id":173186,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:03:26] local.INFO: Acknowledgment sent {"connection_id":173186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:03:42] local.INFO: TCP Data received {"connection_id":174511,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:03:42] local.INFO: Processing buffer {"connection_id":174511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:03:42] local.INFO: IMEI packet received {"connection_id":174511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":174511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:03:44] local.INFO: TCP Data received {"connection_id":174511,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:03:44] local.INFO: Processing buffer {"connection_id":174511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:03:44] local.INFO: IMEI packet received {"connection_id":174511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":174511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:03:49] local.INFO: TCP Data received {"connection_id":174511,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:03:49] local.INFO: Processing buffer {"connection_id":174511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:03:49] local.INFO: IMEI packet received {"connection_id":174511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":174511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:03:50] local.INFO: TCP Data received {"connection_id":174511,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0718dc6c0012d1836c0072194d8005101232b..."} 
[2026-09-05 18:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718dc6c0012d1836c0072194d8005101232b..."} 
[2026-09-05 18:03:50] local.INFO: Processing buffer {"connection_id":174511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718dc6c0012d1836c0072194d8005101232b..."} 
[2026-09-05 18:03:50] local.INFO: Packet analysis {"connection_id":174511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718d"} 
[2026-09-05 18:03:50] local.INFO: Extracted packet for processing {"connection_id":174511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718d"} 
[2026-09-05 18:03:50] local.INFO: GPS Element Parsed {"raw_longitude":756561600,"raw_latitude":119641304,"longitude_deg":75.65616,"latitude_deg":11.9641304,"altitude":81,"angle":291,"satellites":43,"speed":30,"hex_longitude":"2d1836c0","hex_latitude":"072194d8","is_valid_coordinates":true} 
[2026-09-05 18:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884544512001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18043191970234368,"note":"Value kept but may cause issues"} 
[2026-09-05 18:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754081716743860224,"note":"Value kept but may cause issues"} 
[2026-09-05 18:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788611512000,"timestamp_ms":1788611512000,"timestamp_seconds":1788611512,"priority":1,"record_length":96,"hex_timestamp":"000001a0718dc6c0"} 
[2026-09-05 18:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-05 18:03:50] 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-09-05 18:03:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884544512001,"66":12993,"105":206,"83":41984,"24":30,"16":18043191970234368,"45":1754081716743860224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884544512001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:03:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:03:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18043191970234368,"km_value":18043191970234.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754081716743860224,"description":"Unknown IO ID 45"} 
[2026-09-05 18:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884544512001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1754081716743860224}} 
[2026-09-05 18:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":174511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:03:50] local.INFO: GPS data processed {"connection_id":174511,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:03:50] local.INFO: Acknowledgment sent {"connection_id":174511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:03:56] local.INFO: TCP Data received {"connection_id":173187,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:03:56] local.INFO: Processing buffer {"connection_id":173187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:03:56] local.INFO: IMEI packet received {"connection_id":173187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":173187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:03:58] local.INFO: TCP Data received {"connection_id":173186,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0718ed448012d7d198005ca1cc0000d00b913..."} 
[2026-09-05 18:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718ed448012d7d198005ca1cc0000d00b913..."} 
[2026-09-05 18:03:58] local.INFO: Processing buffer {"connection_id":173186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718ed448012d7d198005ca1cc0000d00b913..."} 
[2026-09-05 18:03:58] local.INFO: Packet analysis {"connection_id":173186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718e"} 
[2026-09-05 18:03:58] local.INFO: Extracted packet for processing {"connection_id":173186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718e"} 
[2026-09-05 18:03:58] local.INFO: GPS Element Parsed {"raw_longitude":763173248,"raw_latitude":97131712,"longitude_deg":76.3173248,"latitude_deg":9.7131712,"altitude":13,"angle":185,"satellites":19,"speed":55,"hex_longitude":"2d7d1980","hex_latitude":"05ca1cc0","is_valid_coordinates":true} 
[2026-09-05 18:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884562944001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128647464654733312,"note":"Value kept but may cause issues"} 
[2026-09-05 18:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015432422677966848,"note":"Value kept but may cause issues"} 
[2026-09-05 18:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788611581000,"timestamp_ms":1788611581000,"timestamp_seconds":1788611581,"priority":1,"record_length":96,"hex_timestamp":"000001a0718ed448"} 
[2026-09-05 18:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-05 18:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168113135014,"note":"Value kept but may cause issues"} 
[2026-09-05 18:03:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 18:03:58] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":3617062923,"corrected_to":0} 
[2026-09-05 18:03:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2894201038,"corrected_to":0} 
[2026-09-05 18:03:58] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2248199596,"note":"Value kept but may cause issues"} 
[2026-09-05 18:03:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3407986688,"note":"Value kept but may cause issues"} 
[2026-09-05 18:03:58] local.WARNING: Large IO value detected {"io_id":236,"raw_value":58077557095399467,"note":"Value kept but may cause issues"} 
[2026-09-05 18:03:58] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,131,85,24,241,157,16,11,160,45,192,103,18,10,66,130,128,139,17,102,64,1,240,227,113,202,4,205,53,48,46,120,239,49,2,201,5,43,236],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":202,"original":3617062923,"validated":0},{"io_id":205,"original":2894201038,"validated":0}]} 
[2026-09-05 18:03:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864894615419224064,"timestamp_seconds":864894615419224.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 18:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884562944001,"66":13504,"131":206,"85":15104,"24":55,"16":128647464654733312,"45":9015432422677966848},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-05 18:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884562944001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:03:58] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-05 18:03:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 18:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128647464654733312,"km_value":128647464654733.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015432422677966848,"description":"Unknown IO ID 45"} 
[2026-09-05 18:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884562944001,"power":13504,"unknown_131":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":9015432422677966848}} 
[2026-09-05 18:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":173186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770410,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:03:58] local.INFO: GPS data processed {"connection_id":173186,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:03:58] local.INFO: Acknowledgment sent {"connection_id":173186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:04:01] local.INFO: TCP Data received {"connection_id":173187,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:04:01] local.INFO: Processing buffer {"connection_id":173187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:04:01] local.INFO: IMEI packet received {"connection_id":173187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":173187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:04:02] local.INFO: TCP Data received {"connection_id":173187,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0718c1140012d7b850005f5f278000900f62a..."} 
[2026-09-05 18:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718c1140012d7b850005f5f278000900f62a..."} 
[2026-09-05 18:04:02] local.INFO: Processing buffer {"connection_id":173187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718c1140012d7b850005f5f278000900f62a..."} 
[2026-09-05 18:04:02] local.INFO: Packet analysis {"connection_id":173187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718c"} 
[2026-09-05 18:04:02] local.INFO: Extracted packet for processing {"connection_id":173187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718c"} 
[2026-09-05 18:04:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884441344001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788611400000,"timestamp_ms":1788611400000,"timestamp_seconds":1788611400,"priority":1,"record_length":96,"hex_timestamp":"000001a0718c1140"} 
[2026-09-05 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-09-05 18:04:02] 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-09-05 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 18:04: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-09-05 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-09-05 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-09-05 18:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884441344001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884441344001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:04:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:04:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884441344001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":173187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:04:02] local.INFO: GPS data processed {"connection_id":173187,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:04:02] local.INFO: Acknowledgment sent {"connection_id":173187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:04:19] local.INFO: TCP Data received {"connection_id":172076,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:04:19] local.INFO: Processing buffer {"connection_id":172076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:04:19] local.INFO: IMEI packet received {"connection_id":172076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":172076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:04:21] local.INFO: TCP Data received {"connection_id":174511,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0718de218012d182bc0072199a80050011429..."} 
[2026-09-05 18:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718de218012d182bc0072199a80050011429..."} 
[2026-09-05 18:04:21] local.INFO: Processing buffer {"connection_id":174511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718de218012d182bc0072199a80050011429..."} 
[2026-09-05 18:04:21] local.INFO: Packet analysis {"connection_id":174511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718d"} 
[2026-09-05 18:04:21] local.INFO: Extracted packet for processing {"connection_id":174511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718d"} 
[2026-09-05 18:04:21] local.INFO: GPS Element Parsed {"raw_longitude":756558784,"raw_latitude":119642536,"longitude_deg":75.6558784,"latitude_deg":11.9642536,"altitude":80,"angle":276,"satellites":41,"speed":6,"hex_longitude":"2d182bc0","hex_latitude":"072199a8","is_valid_coordinates":true} 
[2026-09-05 18:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884547072001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18043337999122432,"note":"Value kept but may cause issues"} 
[2026-09-05 18:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744793042513352704,"note":"Value kept but may cause issues"} 
[2026-09-05 18:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788611519000,"timestamp_ms":1788611519000,"timestamp_seconds":1788611519,"priority":1,"record_length":96,"hex_timestamp":"000001a0718de218"} 
[2026-09-05 18:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-05 18:04:21] 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-09-05 18:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884547072001,"66":13015,"105":206,"83":41984,"24":6,"16":18043337999122432,"45":1744793042513352704},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884547072001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:04:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:04:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18043337999122432,"km_value":18043337999122.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744793042513352704,"description":"Unknown IO ID 45"} 
[2026-09-05 18:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884547072001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1744793042513352704}} 
[2026-09-05 18:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":174511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:04:21] local.INFO: GPS data processed {"connection_id":174511,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:04:21] local.INFO: Acknowledgment sent {"connection_id":174511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:04:25] local.INFO: TCP Data received {"connection_id":172076,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:04:25] local.INFO: Processing buffer {"connection_id":172076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:04:25] local.INFO: IMEI packet received {"connection_id":172076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":172076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:04:29] local.INFO: TCP Data received {"connection_id":172076,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:04:29] local.INFO: Processing buffer {"connection_id":172076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:04:29] local.INFO: IMEI packet received {"connection_id":172076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":172076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:04:30] local.INFO: TCP Data received {"connection_id":172076,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0718eefa0012d7d160005c9f688000d00b913..."} 
[2026-09-05 18:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718eefa0012d7d160005c9f688000d00b913..."} 
[2026-09-05 18:04:30] local.INFO: Processing buffer {"connection_id":172076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718eefa0012d7d160005c9f688000d00b913..."} 
[2026-09-05 18:04:30] local.INFO: Packet analysis {"connection_id":172076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718e"} 
[2026-09-05 18:04:30] local.INFO: Extracted packet for processing {"connection_id":172076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718e"} 
[2026-09-05 18:04:30] local.INFO: GPS Element Parsed {"raw_longitude":763172352,"raw_latitude":97121928,"longitude_deg":76.3172352,"latitude_deg":9.7121928,"altitude":13,"angle":185,"satellites":19,"speed":56,"hex_longitude":"2d7d1600","hex_latitude":"05c9f688","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884564736001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128647941396103168,"note":"Value kept but may cause issues"} 
[2026-09-05 18:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014376891512832000,"note":"Value kept but may cause issues"} 
[2026-09-05 18:04:30] 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-09-05 18:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788611588000,"timestamp_ms":1788611588000,"timestamp_seconds":1788611588,"priority":1,"record_length":96,"hex_timestamp":"000001a0718eefa0"} 
[2026-09-05 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-09-05 18:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-05 18:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 18:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884564736001,"66":12841,"131":206,"85":15104,"24":56,"16":128647941396103168,"45":9014376891512832000},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-05 18:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884564736001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:04:30] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-05 18:04:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 18:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128647941396103168,"km_value":128647941396103.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014376891512832000,"description":"Unknown IO ID 45"} 
[2026-09-05 18:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884564736001,"power":12841,"unknown_131":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":9014376891512832000}} 
[2026-09-05 18:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":172076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:04:30] local.INFO: GPS data processed {"connection_id":172076,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:04:30] local.INFO: Acknowledgment sent {"connection_id":172076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:04:33] local.INFO: TCP Data received {"connection_id":173187,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0718c1140012d7b850005f5f278000900f62a..."} 
[2026-09-05 18:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718c1140012d7b850005f5f278000900f62a..."} 
[2026-09-05 18:04:33] local.INFO: Processing buffer {"connection_id":173187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718c1140012d7b850005f5f278000900f62a..."} 
[2026-09-05 18:04:33] local.INFO: Packet analysis {"connection_id":173187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718c"} 
[2026-09-05 18:04:33] local.INFO: Extracted packet for processing {"connection_id":173187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718c"} 
[2026-09-05 18:04:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884441344001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788611400000,"timestamp_ms":1788611400000,"timestamp_seconds":1788611400,"priority":1,"record_length":96,"hex_timestamp":"000001a0718c1140"} 
[2026-09-05 18:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:04: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-09-05 18: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-09-05 18: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-09-05 18: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-09-05 18:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884441344001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884441344001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:04:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:04:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884441344001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":173187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:04:33] local.INFO: GPS data processed {"connection_id":173187,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:04:33] local.INFO: Acknowledgment sent {"connection_id":173187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:04:44] local.INFO: TCP Data received {"connection_id":174512,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:04:44] local.INFO: Processing buffer {"connection_id":174512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:04:44] local.INFO: IMEI packet received {"connection_id":174512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":174512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:04:45] local.INFO: TCP Data received {"connection_id":174512,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:04:45] local.INFO: Processing buffer {"connection_id":174512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:04:45] local.INFO: IMEI packet received {"connection_id":174512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":174512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:04:49] local.INFO: TCP Data received {"connection_id":174512,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:04:49] local.INFO: Processing buffer {"connection_id":174512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:04:49] local.INFO: IMEI packet received {"connection_id":174512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":174512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:04:50] local.INFO: TCP Data received {"connection_id":174512,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0718de9e8012d182a80072199f0004f013227..."} 
[2026-09-05 18:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718de9e8012d182a80072199f0004f013227..."} 
[2026-09-05 18:04:50] local.INFO: Processing buffer {"connection_id":174512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718de9e8012d182a80072199f0004f013227..."} 
[2026-09-05 18:04:50] local.INFO: Packet analysis {"connection_id":174512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718d"} 
[2026-09-05 18:04:50] local.INFO: Extracted packet for processing {"connection_id":174512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718d"} 
[2026-09-05 18:04:50] local.INFO: GPS Element Parsed {"raw_longitude":756558464,"raw_latitude":119642608,"longitude_deg":75.6558464,"latitude_deg":11.9642608,"altitude":79,"angle":306,"satellites":39,"speed":6,"hex_longitude":"2d182a80","hex_latitude":"072199f0","is_valid_coordinates":true} 
[2026-09-05 18:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884548864001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18043355178991616,"note":"Value kept but may cause issues"} 
[2026-09-05 18:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741696817769850880,"note":"Value kept but may cause issues"} 
[2026-09-05 18:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788611521000,"timestamp_ms":1788611521000,"timestamp_seconds":1788611521,"priority":1,"record_length":96,"hex_timestamp":"000001a0718de9e8"} 
[2026-09-05 18:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-05 18:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884548864001,"66":12950,"105":206,"83":41984,"24":6,"16":18043355178991616,"45":1741696817769850880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884548864001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:04:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:04:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18043355178991616,"km_value":18043355178991.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741696817769850880,"description":"Unknown IO ID 45"} 
[2026-09-05 18:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884548864001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1741696817769850880}} 
[2026-09-05 18:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":174512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:04:50] local.INFO: GPS data processed {"connection_id":174512,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:04:50] local.INFO: Acknowledgment sent {"connection_id":174512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:04:56] local.INFO: TCP Data received {"connection_id":173188,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:04:56] local.INFO: Processing buffer {"connection_id":173188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:04:56] local.INFO: IMEI packet received {"connection_id":173188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":173188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:05:01] local.INFO: TCP Data received {"connection_id":173188,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:05:01] local.INFO: Processing buffer {"connection_id":173188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:05:01] local.INFO: IMEI packet received {"connection_id":173188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":173188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:05:01] local.INFO: TCP Data received {"connection_id":172076,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0718f0af8012d7d12c005c9d020000b00b813..."} 
[2026-09-05 18:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718f0af8012d7d12c005c9d020000b00b813..."} 
[2026-09-05 18:05:01] local.INFO: Processing buffer {"connection_id":172076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718f0af8012d7d12c005c9d020000b00b813..."} 
[2026-09-05 18:05:01] local.INFO: Packet analysis {"connection_id":172076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718f"} 
[2026-09-05 18:05:01] local.INFO: Extracted packet for processing {"connection_id":172076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718f"} 
[2026-09-05 18:05:01] local.INFO: GPS Element Parsed {"raw_longitude":763171520,"raw_latitude":97112096,"longitude_deg":76.317152,"latitude_deg":9.7112096,"altitude":11,"angle":184,"satellites":19,"speed":57,"hex_longitude":"2d7d12c0","hex_latitude":"05c9d020","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884566528001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128648422432440320,"note":"Value kept but may cause issues"} 
[2026-09-05 18:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013391729091840000,"note":"Value kept but may cause issues"} 
[2026-09-05 18:05:01] 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-09-05 18:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788611595000,"timestamp_ms":1788611595000,"timestamp_seconds":1788611595,"priority":1,"record_length":96,"hex_timestamp":"000001a0718f0af8"} 
[2026-09-05 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-09-05 18:05:01] 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-09-05 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-05 18:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 18:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884566528001,"66":13135,"131":206,"85":15104,"24":57,"16":128648422432440320,"45":9013391729091840000},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-05 18:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884566528001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:05:01] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-05 18:05:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 18:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128648422432440320,"km_value":128648422432440.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013391729091840000,"description":"Unknown IO ID 45"} 
[2026-09-05 18:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884566528001,"power":13135,"unknown_131":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":9013391729091840000}} 
[2026-09-05 18:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":172076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770416,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:05:01] local.INFO: GPS data processed {"connection_id":172076,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:05:01] local.INFO: Acknowledgment sent {"connection_id":172076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:05:02] local.INFO: TCP Data received {"connection_id":173188,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0718c1140012d7b850005f5f278000900f62a..."} 
[2026-09-05 18:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718c1140012d7b850005f5f278000900f62a..."} 
[2026-09-05 18:05:02] local.INFO: Processing buffer {"connection_id":173188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718c1140012d7b850005f5f278000900f62a..."} 
[2026-09-05 18:05:02] local.INFO: Packet analysis {"connection_id":173188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718c"} 
[2026-09-05 18:05:02] local.INFO: Extracted packet for processing {"connection_id":173188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718c"} 
[2026-09-05 18:05:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884441344001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788611400000,"timestamp_ms":1788611400000,"timestamp_seconds":1788611400,"priority":1,"record_length":96,"hex_timestamp":"000001a0718c1140"} 
[2026-09-05 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-09-05 18:05:02] 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-09-05 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 18:05: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-09-05 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-09-05 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-09-05 18:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884441344001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884441344001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:05:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:05:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884441344001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":173188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:05:02] local.INFO: GPS data processed {"connection_id":173188,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:05:02] local.INFO: Acknowledgment sent {"connection_id":173188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:05:21] local.INFO: TCP Data received {"connection_id":174512,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0718e3bf0012d182a4007219aa8004f013229..."} 
[2026-09-05 18:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718e3bf0012d182a4007219aa8004f013229..."} 
[2026-09-05 18:05:21] local.INFO: Processing buffer {"connection_id":174512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718e3bf0012d182a4007219aa8004f013229..."} 
[2026-09-05 18:05:21] local.INFO: Packet analysis {"connection_id":174512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718e"} 
[2026-09-05 18:05:21] local.INFO: Extracted packet for processing {"connection_id":174512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718e"} 
[2026-09-05 18:05:21] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119642792,"longitude_deg":75.65584,"latitude_deg":11.9642792,"altitude":79,"angle":306,"satellites":41,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219aa8","is_valid_coordinates":true} 
[2026-09-05 18:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884549376001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18043363768926208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741344974048980992,"note":"Value kept but may cause issues"} 
[2026-09-05 18:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788611542000,"timestamp_ms":1788611542000,"timestamp_seconds":1788611542,"priority":1,"record_length":96,"hex_timestamp":"000001a0718e3bf0"} 
[2026-09-05 18:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-05 18:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884549376001,"66":12993,"105":206,"83":41984,"24":0,"16":18043363768926208,"45":1741344974048980992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884549376001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:05:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:05:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18043363768926208,"km_value":18043363768926.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741344974048980992,"description":"Unknown IO ID 45"} 
[2026-09-05 18:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884549376001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741344974048980992}} 
[2026-09-05 18:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":174512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:05:21] local.INFO: GPS data processed {"connection_id":174512,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:05:21] local.INFO: Acknowledgment sent {"connection_id":174512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:05:23] local.INFO: TCP Data received {"connection_id":173190,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173190,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:05:23] local.INFO: Processing buffer {"connection_id":173190,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:05:23] local.INFO: IMEI packet received {"connection_id":173190,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":173190,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:05:24] local.INFO: TCP Data received {"connection_id":173190,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173190,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:05:24] local.INFO: Processing buffer {"connection_id":173190,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:05:24] local.INFO: IMEI packet received {"connection_id":173190,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":173190,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:05:29] local.INFO: TCP Data received {"connection_id":173190,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173190,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:05:29] local.INFO: Processing buffer {"connection_id":173190,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:05:29] local.INFO: IMEI packet received {"connection_id":173190,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":173190,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:05:30] local.INFO: TCP Data received {"connection_id":173190,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0718f2650012d7d0f8005c9a8e0000b00b813..."} 
[2026-09-05 18:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718f2650012d7d0f8005c9a8e0000b00b813..."} 
[2026-09-05 18:05:30] local.INFO: Processing buffer {"connection_id":173190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718f2650012d7d0f8005c9a8e0000b00b813..."} 
[2026-09-05 18:05:30] local.INFO: Packet analysis {"connection_id":173190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718f"} 
[2026-09-05 18:05:30] local.INFO: Extracted packet for processing {"connection_id":173190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718f"} 
[2026-09-05 18:05:30] local.INFO: GPS Element Parsed {"raw_longitude":763170688,"raw_latitude":97102048,"longitude_deg":76.3170688,"latitude_deg":9.7102048,"altitude":11,"angle":184,"satellites":19,"speed":57,"hex_longitude":"2d7d0f80","hex_latitude":"05c9a8e0","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884568320001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128648907763744768,"note":"Value kept but may cause issues"} 
[2026-09-05 18:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012476935415013376,"note":"Value kept but may cause issues"} 
[2026-09-05 18:05:30] 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-09-05 18:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788611602000,"timestamp_ms":1788611602000,"timestamp_seconds":1788611602,"priority":1,"record_length":96,"hex_timestamp":"000001a0718f2650"} 
[2026-09-05 18:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-05 18:05:30] 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-09-05 18:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":173190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":173190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":173190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884568320001,"66":12961,"131":206,"85":15104,"24":57,"16":128648907763744768,"45":9012476935415013376},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-05 18:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884568320001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:05:30] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-05 18:05:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 18:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128648907763744768,"km_value":128648907763744.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012476935415013376,"description":"Unknown IO ID 45"} 
[2026-09-05 18:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884568320001,"power":12961,"unknown_131":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":9012476935415013376}} 
[2026-09-05 18:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":173190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:05:30] local.INFO: GPS data processed {"connection_id":173190,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:05:30] local.INFO: Acknowledgment sent {"connection_id":173190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:05:33] local.INFO: TCP Data received {"connection_id":173188,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0718c1140012d7b850005f5f278000900f62a..."} 
[2026-09-05 18:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718c1140012d7b850005f5f278000900f62a..."} 
[2026-09-05 18:05:33] local.INFO: Processing buffer {"connection_id":173188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718c1140012d7b850005f5f278000900f62a..."} 
[2026-09-05 18:05:33] local.INFO: Packet analysis {"connection_id":173188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718c"} 
[2026-09-05 18:05:33] local.INFO: Extracted packet for processing {"connection_id":173188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718c"} 
[2026-09-05 18:05:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884441344001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788611400000,"timestamp_ms":1788611400000,"timestamp_seconds":1788611400,"priority":1,"record_length":96,"hex_timestamp":"000001a0718c1140"} 
[2026-09-05 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-09-05 18:05: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-09-05 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 18:05: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-09-05 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-09-05 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-09-05 18:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884441344001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884441344001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:05:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:05:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884441344001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":173188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:05:33] local.INFO: GPS data processed {"connection_id":173188,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:05:33] local.INFO: Acknowledgment sent {"connection_id":173188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:05:44] local.INFO: TCP Data received {"connection_id":174513,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:05:44] local.INFO: Processing buffer {"connection_id":174513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:05:44] local.INFO: IMEI packet received {"connection_id":174513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":174513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:05:48] local.INFO: TCP Data received {"connection_id":174513,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:05:48] local.INFO: Processing buffer {"connection_id":174513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:05:48] local.INFO: IMEI packet received {"connection_id":174513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":174513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:05:49] local.INFO: TCP Data received {"connection_id":174513,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0718e8df8012d182a4007219aa8004f01322a..."} 
[2026-09-05 18:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718e8df8012d182a4007219aa8004f01322a..."} 
[2026-09-05 18:05:49] local.INFO: Processing buffer {"connection_id":174513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718e8df8012d182a4007219aa8004f01322a..."} 
[2026-09-05 18:05:49] local.INFO: Packet analysis {"connection_id":174513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718e"} 
[2026-09-05 18:05:49] local.INFO: Extracted packet for processing {"connection_id":174513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718e"} 
[2026-09-05 18:05:49] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119642792,"longitude_deg":75.65584,"latitude_deg":11.9642792,"altitude":79,"angle":306,"satellites":42,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219aa8","is_valid_coordinates":true} 
[2026-09-05 18:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884554752001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18043363768926208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304850432,"note":"Value kept but may cause issues"} 
[2026-09-05 18:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788611563000,"timestamp_ms":1788611563000,"timestamp_seconds":1788611563,"priority":1,"record_length":96,"hex_timestamp":"000001a0718e8df8"} 
[2026-09-05 18:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-05 18:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884554752001,"66":12841,"105":206,"83":41984,"24":0,"16":18043363768926208,"45":1741274605304850432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884554752001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:05:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:05:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18043363768926208,"km_value":18043363768926.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605304850432,"description":"Unknown IO ID 45"} 
[2026-09-05 18:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884554752001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741274605304850432}} 
[2026-09-05 18:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":174513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:05:49] local.INFO: GPS data processed {"connection_id":174513,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:05:49] local.INFO: Acknowledgment sent {"connection_id":174513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:05:55] local.INFO: TCP Data received {"connection_id":174514,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:05:55] local.INFO: Processing buffer {"connection_id":174514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:05:55] local.INFO: IMEI packet received {"connection_id":174514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":174514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:06:01] local.INFO: TCP Data received {"connection_id":174514,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:06:01] local.INFO: Processing buffer {"connection_id":174514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:06:01] local.INFO: IMEI packet received {"connection_id":174514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":174514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:06:01] local.INFO: TCP Data received {"connection_id":173190,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0718f3dc0012d7d0cc005c98650000d00b714..."} 
[2026-09-05 18:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718f3dc0012d7d0cc005c98650000d00b714..."} 
[2026-09-05 18:06:01] local.INFO: Processing buffer {"connection_id":173190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718f3dc0012d7d0cc005c98650000d00b714..."} 
[2026-09-05 18:06:01] local.INFO: Packet analysis {"connection_id":173190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718f"} 
[2026-09-05 18:06:01] local.INFO: Extracted packet for processing {"connection_id":173190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718f"} 
[2026-09-05 18:06:01] local.INFO: GPS Element Parsed {"raw_longitude":763169984,"raw_latitude":97093200,"longitude_deg":76.3169984,"latitude_deg":9.70932,"altitude":13,"angle":183,"satellites":20,"speed":58,"hex_longitude":"2d7d0cc0","hex_latitude":"05c98650","is_valid_coordinates":true} 
[2026-09-05 18:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884570112001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128649341555441664,"note":"Value kept but may cause issues"} 
[2026-09-05 18:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011562141738131456,"note":"Value kept but may cause issues"} 
[2026-09-05 18:06:01] 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-09-05 18:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788611608000,"timestamp_ms":1788611608000,"timestamp_seconds":1788611608,"priority":1,"record_length":96,"hex_timestamp":"000001a0718f3dc0"} 
[2026-09-05 18:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:06: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-09-05 18:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-05 18:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884570112001,"66":12939,"131":206,"85":15104,"24":58,"16":128649341555441664,"45":9011562141738131456},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-05 18:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884570112001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:06:01] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-05 18:06:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-05 18:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128649341555441664,"km_value":128649341555441.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011562141738131456,"description":"Unknown IO ID 45"} 
[2026-09-05 18:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884570112001,"power":12939,"unknown_131":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":9011562141738131456}} 
[2026-09-05 18:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":173190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:06:01] local.INFO: GPS data processed {"connection_id":173190,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:06:01] local.INFO: Acknowledgment sent {"connection_id":173190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:06:02] local.INFO: TCP Data received {"connection_id":174514,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07190a908012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07190a908012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:06:02] local.INFO: Processing buffer {"connection_id":174514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07190a908012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:06:02] local.INFO: Packet analysis {"connection_id":174514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07190"} 
[2026-09-05 18:06:02] local.INFO: Extracted packet for processing {"connection_id":174514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07190"} 
[2026-09-05 18:06:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884518400001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788611701000,"timestamp_ms":1788611701000,"timestamp_seconds":1788611701,"priority":1,"record_length":96,"hex_timestamp":"000001a07190a908"} 
[2026-09-05 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-09-05 18:06:02] 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-09-05 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 18:06: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-09-05 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-09-05 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-09-05 18:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884518400001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884518400001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:06:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:06:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884518400001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":174514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:06:02] local.INFO: GPS data processed {"connection_id":174514,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:06:02] local.INFO: Acknowledgment sent {"connection_id":174514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:06:17] local.INFO: TCP Data received {"connection_id":173191,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:06:17] local.INFO: Processing buffer {"connection_id":173191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:06:17] local.INFO: IMEI packet received {"connection_id":173191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":173191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:06:19] local.INFO: TCP Data received {"connection_id":173191,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:06:19] local.INFO: Processing buffer {"connection_id":173191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:06:19] local.INFO: IMEI packet received {"connection_id":173191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":173191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:06:20] local.INFO: TCP Data received {"connection_id":174513,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0718ee000012d182a4007219aa8004f01322a..."} 
[2026-09-05 18:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718ee000012d182a4007219aa8004f01322a..."} 
[2026-09-05 18:06:20] local.INFO: Processing buffer {"connection_id":174513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718ee000012d182a4007219aa8004f01322a..."} 
[2026-09-05 18:06:20] local.INFO: Packet analysis {"connection_id":174513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718e"} 
[2026-09-05 18:06:20] local.INFO: Extracted packet for processing {"connection_id":174513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718e"} 
[2026-09-05 18:06:20] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119642792,"longitude_deg":75.65584,"latitude_deg":11.9642792,"altitude":79,"angle":306,"satellites":42,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219aa8","is_valid_coordinates":true} 
[2026-09-05 18:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884560128001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18043363768926208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304850432,"note":"Value kept but may cause issues"} 
[2026-09-05 18:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788611584000,"timestamp_ms":1788611584000,"timestamp_seconds":1788611584,"priority":1,"record_length":96,"hex_timestamp":"000001a0718ee000"} 
[2026-09-05 18:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-05 18:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:06:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884560128001,"66":12928,"105":206,"83":41984,"24":0,"16":18043363768926208,"45":1741274605304850432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884560128001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:06:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:06:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18043363768926208,"km_value":18043363768926.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605304850432,"description":"Unknown IO ID 45"} 
[2026-09-05 18:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884560128001,"power":12928,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741274605304850432}} 
[2026-09-05 18:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":174513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:06:20] local.INFO: GPS data processed {"connection_id":174513,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:06:20] local.INFO: Acknowledgment sent {"connection_id":174513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:06:24] local.INFO: TCP Data received {"connection_id":173191,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:06:24] local.INFO: Processing buffer {"connection_id":173191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:06:24] local.INFO: IMEI packet received {"connection_id":173191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":173191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:06:25] local.INFO: TCP Data received {"connection_id":173191,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071916c58012d7d260005c84bc0000d00ab14..."} 
[2026-09-05 18:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071916c58012d7d260005c84bc0000d00ab14..."} 
[2026-09-05 18:06:25] local.INFO: Processing buffer {"connection_id":173191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071916c58012d7d260005c84bc0000d00ab14..."} 
[2026-09-05 18:06:25] local.INFO: Packet analysis {"connection_id":173191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07191"} 
[2026-09-05 18:06:25] local.INFO: Extracted packet for processing {"connection_id":173191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07191"} 
[2026-09-05 18:06:25] local.INFO: GPS Element Parsed {"raw_longitude":763176448,"raw_latitude":97012672,"longitude_deg":76.3176448,"latitude_deg":9.7012672,"altitude":13,"angle":171,"satellites":20,"speed":42,"hex_longitude":"2d7d2600","hex_latitude":"05c84bc0","is_valid_coordinates":true} 
[2026-09-05 18:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884605952001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128653275745484800,"note":"Value kept but may cause issues"} 
[2026-09-05 18:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016558322554198016,"note":"Value kept but may cause issues"} 
[2026-09-05 18:06:25] 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-09-05 18:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788611751000,"timestamp_ms":1788611751000,"timestamp_seconds":1788611751,"priority":1,"record_length":96,"hex_timestamp":"000001a071916c58"} 
[2026-09-05 18:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:06:25] 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-09-05 18:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-05 18:06:25] 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-09-05 18:06:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884605952001,"66":13374,"205":206,"85":12288,"24":42,"16":128653275745484800,"45":9016558322554198016},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-05 18:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884605952001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:06:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128653275745484800,"km_value":128653275745484.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016558322554198016,"description":"Unknown IO ID 45"} 
[2026-09-05 18:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884605952001,"power":13374,"cell_id":206,"unknown_85":12288,"ignition":42,"odometer":null,"unknown_45":9016558322554198016}} 
[2026-09-05 18:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":173191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770425,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:06:25] local.INFO: GPS data processed {"connection_id":173191,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:06:25] local.INFO: Acknowledgment sent {"connection_id":173191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:06:33] local.INFO: TCP Data received {"connection_id":174514,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07190a908012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07190a908012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:06:33] local.INFO: Processing buffer {"connection_id":174514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07190a908012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:06:33] local.INFO: Packet analysis {"connection_id":174514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07190"} 
[2026-09-05 18:06:33] local.INFO: Extracted packet for processing {"connection_id":174514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07190"} 
[2026-09-05 18:06:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884518400001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788611701000,"timestamp_ms":1788611701000,"timestamp_seconds":1788611701,"priority":1,"record_length":96,"hex_timestamp":"000001a07190a908"} 
[2026-09-05 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-09-05 18:06: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-09-05 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 18:06: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-09-05 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-09-05 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-09-05 18:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884518400001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884518400001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:06:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:06:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884518400001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":174514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:06:33] local.INFO: GPS data processed {"connection_id":174514,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:06:33] local.INFO: Acknowledgment sent {"connection_id":174514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:06:44] local.INFO: TCP Data received {"connection_id":171802,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:06:44] local.INFO: Processing buffer {"connection_id":171802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:06:44] local.INFO: IMEI packet received {"connection_id":171802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":171802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:06:49] local.INFO: TCP Data received {"connection_id":171802,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:06:49] local.INFO: Processing buffer {"connection_id":171802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:06:49] local.INFO: IMEI packet received {"connection_id":171802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":171802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:06:50] local.INFO: TCP Data received {"connection_id":171802,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0718f3208012d182a4007219aa8004f013229..."} 
[2026-09-05 18:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718f3208012d182a4007219aa8004f013229..."} 
[2026-09-05 18:06:50] local.INFO: Processing buffer {"connection_id":171802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718f3208012d182a4007219aa8004f013229..."} 
[2026-09-05 18:06:50] local.INFO: Packet analysis {"connection_id":171802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718f"} 
[2026-09-05 18:06:50] local.INFO: Extracted packet for processing {"connection_id":171802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718f"} 
[2026-09-05 18:06:50] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119642792,"longitude_deg":75.65584,"latitude_deg":11.9642792,"altitude":79,"angle":306,"satellites":41,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219aa8","is_valid_coordinates":true} 
[2026-09-05 18:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884565504001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18043363768926208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304850432,"note":"Value kept but may cause issues"} 
[2026-09-05 18:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788611605000,"timestamp_ms":1788611605000,"timestamp_seconds":1788611605,"priority":1,"record_length":96,"hex_timestamp":"000001a0718f3208"} 
[2026-09-05 18:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:06:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-09-05 18:06:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884565504001,"66":12939,"105":206,"83":41984,"24":0,"16":18043363768926208,"45":1741274605304850432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884565504001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:06:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:06:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18043363768926208,"km_value":18043363768926.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605304850432,"description":"Unknown IO ID 45"} 
[2026-09-05 18:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884565504001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741274605304850432}} 
[2026-09-05 18:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":171802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:06:50] local.INFO: GPS data processed {"connection_id":171802,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:06:50] local.INFO: Acknowledgment sent {"connection_id":171802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:06:55] local.INFO: TCP Data received {"connection_id":174515,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:06:55] local.INFO: Processing buffer {"connection_id":174515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:06:55] local.INFO: IMEI packet received {"connection_id":174515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":174515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:07:01] local.INFO: TCP Data received {"connection_id":174515,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:07:01] local.INFO: Processing buffer {"connection_id":174515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:07:01] local.INFO: IMEI packet received {"connection_id":174515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":174515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:07:01] local.INFO: TCP Data received {"connection_id":174515,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07190a908012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07190a908012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:07:01] local.INFO: Processing buffer {"connection_id":174515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07190a908012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:07:01] local.INFO: Packet analysis {"connection_id":174515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07190"} 
[2026-09-05 18:07:01] local.INFO: Extracted packet for processing {"connection_id":174515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07190"} 
[2026-09-05 18:07:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884518400001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788611701000,"timestamp_ms":1788611701000,"timestamp_seconds":1788611701,"priority":1,"record_length":96,"hex_timestamp":"000001a07190a908"} 
[2026-09-05 18:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:07:01] 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-09-05 18:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 18:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884518400001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884518400001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:07:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:07:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884518400001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":174515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:07:01] local.INFO: GPS data processed {"connection_id":174515,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:07:01] local.INFO: Acknowledgment sent {"connection_id":174515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:07:02] local.INFO: TCP Data received {"connection_id":173191,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071918b98012d7d2a4005c828c8000b00ad12..."} 
[2026-09-05 18:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071918b98012d7d2a4005c828c8000b00ad12..."} 
[2026-09-05 18:07:02] local.INFO: Processing buffer {"connection_id":173191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071918b98012d7d2a4005c828c8000b00ad12..."} 
[2026-09-05 18:07:02] local.INFO: Packet analysis {"connection_id":173191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07191"} 
[2026-09-05 18:07:02] local.INFO: Extracted packet for processing {"connection_id":173191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07191"} 
[2026-09-05 18:07:02] local.INFO: GPS Element Parsed {"raw_longitude":763177536,"raw_latitude":97003720,"longitude_deg":76.3177536,"latitude_deg":9.700372,"altitude":11,"angle":173,"satellites":18,"speed":43,"hex_longitude":"2d7d2a40","hex_latitude":"05c828c8","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884608256001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128653713832148992,"note":"Value kept but may cause issues"} 
[2026-09-05 18:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017895328691240960,"note":"Value kept but may cause issues"} 
[2026-09-05 18:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788611759000,"timestamp_ms":1788611759000,"timestamp_seconds":1788611759,"priority":1,"record_length":96,"hex_timestamp":"000001a071918b98"} 
[2026-09-05 18:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-05 18:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18: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-09-05 18:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884608256001,"66":13602,"199":206,"85":12288,"24":43,"16":128653713832148992,"45":9017895328691240960},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-05 18:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884608256001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:07:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-05 18:07:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128653713832148992,"km_value":128653713832148.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017895328691240960,"description":"Unknown IO ID 45"} 
[2026-09-05 18:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884608256001,"power":13602,"trip_odometer":0.206,"unknown_85":12288,"ignition":43,"odometer":null,"unknown_45":9017895328691240960}} 
[2026-09-05 18:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":173191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770429,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:07:02] local.INFO: GPS data processed {"connection_id":173191,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:07:02] local.INFO: Acknowledgment sent {"connection_id":173191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:07:19] local.INFO: TCP Data received {"connection_id":174516,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174516,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:07:19] local.INFO: Processing buffer {"connection_id":174516,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:07:19] local.INFO: IMEI packet received {"connection_id":174516,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":174516,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:07:21] local.INFO: TCP Data received {"connection_id":171802,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0718f8410012d182a4007219aa8004f01322b..."} 
[2026-09-05 18:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718f8410012d182a4007219aa8004f01322b..."} 
[2026-09-05 18:07:21] local.INFO: Processing buffer {"connection_id":171802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718f8410012d182a4007219aa8004f01322b..."} 
[2026-09-05 18:07:21] local.INFO: Packet analysis {"connection_id":171802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718f"} 
[2026-09-05 18:07:21] local.INFO: Extracted packet for processing {"connection_id":171802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718f"} 
[2026-09-05 18:07:21] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119642792,"longitude_deg":75.65584,"latitude_deg":11.9642792,"altitude":79,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219aa8","is_valid_coordinates":true} 
[2026-09-05 18:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884570880001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18043363768926208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304850432,"note":"Value kept but may cause issues"} 
[2026-09-05 18:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788611626000,"timestamp_ms":1788611626000,"timestamp_seconds":1788611626,"priority":1,"record_length":96,"hex_timestamp":"000001a0718f8410"} 
[2026-09-05 18:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 18:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884570880001,"66":12885,"105":206,"83":41984,"24":0,"16":18043363768926208,"45":1741274605304850432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884570880001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:07:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:07:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18043363768926208,"km_value":18043363768926.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605304850432,"description":"Unknown IO ID 45"} 
[2026-09-05 18:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884570880001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741274605304850432}} 
[2026-09-05 18:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":171802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:07:21] local.INFO: GPS data processed {"connection_id":171802,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:07:21] local.INFO: Acknowledgment sent {"connection_id":171802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:07:21] local.INFO: TCP Data received {"connection_id":174516,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174516,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:07:21] local.INFO: Processing buffer {"connection_id":174516,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:07:21] local.INFO: IMEI packet received {"connection_id":174516,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":174516,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:07:22] local.INFO: TCP Data received {"connection_id":174516,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07191aad8012d7d300005c80470000b00a616..."} 
[2026-09-05 18:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07191aad8012d7d300005c80470000b00a616..."} 
[2026-09-05 18:07:22] local.INFO: Processing buffer {"connection_id":174516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07191aad8012d7d300005c80470000b00a616..."} 
[2026-09-05 18:07:22] local.INFO: Packet analysis {"connection_id":174516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07191"} 
[2026-09-05 18:07:22] local.INFO: Extracted packet for processing {"connection_id":174516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07191"} 
[2026-09-05 18:07:22] local.INFO: GPS Element Parsed {"raw_longitude":763179008,"raw_latitude":96994416,"longitude_deg":76.3179008,"latitude_deg":9.6994416,"altitude":11,"angle":166,"satellites":22,"speed":47,"hex_longitude":"2d7d3000","hex_latitude":"05c80470","is_valid_coordinates":true} 
[2026-09-05 18:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884610304001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128654169098682368,"note":"Value kept but may cause issues"} 
[2026-09-05 18:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019091597339969536,"note":"Value kept but may cause issues"} 
[2026-09-05 18:07:22] 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-09-05 18:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788611767000,"timestamp_ms":1788611767000,"timestamp_seconds":1788611767,"priority":1,"record_length":96,"hex_timestamp":"000001a07191aad8"} 
[2026-09-05 18:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-05 18:07:22] 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-09-05 18:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884610304001,"66":13515,"199":206,"85":12288,"24":47,"16":128654169098682368,"45":9019091597339969536},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-05 18:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884610304001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:07:22] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-05 18:07:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128654169098682368,"km_value":128654169098682.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019091597339969536,"description":"Unknown IO ID 45"} 
[2026-09-05 18:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884610304001,"power":13515,"trip_odometer":0.206,"unknown_85":12288,"ignition":47,"odometer":null,"unknown_45":9019091597339969536}} 
[2026-09-05 18:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":174516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:07:22] local.INFO: GPS data processed {"connection_id":174516,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:07:22] local.INFO: Acknowledgment sent {"connection_id":174516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:07:33] local.INFO: TCP Data received {"connection_id":174515,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07190a908012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07190a908012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:07:33] local.INFO: Processing buffer {"connection_id":174515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07190a908012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:07:33] local.INFO: Packet analysis {"connection_id":174515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07190"} 
[2026-09-05 18:07:33] local.INFO: Extracted packet for processing {"connection_id":174515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07190"} 
[2026-09-05 18:07:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884518400001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788611701000,"timestamp_ms":1788611701000,"timestamp_seconds":1788611701,"priority":1,"record_length":96,"hex_timestamp":"000001a07190a908"} 
[2026-09-05 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-09-05 18:07: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-09-05 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 18:07: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-09-05 18: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-09-05 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-09-05 18:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884518400001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884518400001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:07:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:07:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884518400001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":174515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:07:33] local.INFO: GPS data processed {"connection_id":174515,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:07:33] local.INFO: Acknowledgment sent {"connection_id":174515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:07:44] local.INFO: TCP Data received {"connection_id":171803,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:07:44] local.INFO: Processing buffer {"connection_id":171803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:07:44] local.INFO: IMEI packet received {"connection_id":171803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":171803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:07:49] local.INFO: TCP Data received {"connection_id":171803,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:07:49] local.INFO: Processing buffer {"connection_id":171803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:07:49] local.INFO: IMEI packet received {"connection_id":171803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":171803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:07:50] local.INFO: TCP Data received {"connection_id":171803,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0718fd618012d182a4007219aa8004f01322c..."} 
[2026-09-05 18:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0718fd618012d182a4007219aa8004f01322c..."} 
[2026-09-05 18:07:50] local.INFO: Processing buffer {"connection_id":171803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0718fd618012d182a4007219aa8004f01322c..."} 
[2026-09-05 18:07:50] local.INFO: Packet analysis {"connection_id":171803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0718f"} 
[2026-09-05 18:07:50] local.INFO: Extracted packet for processing {"connection_id":171803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0718f"} 
[2026-09-05 18:07:50] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119642792,"longitude_deg":75.65584,"latitude_deg":11.9642792,"altitude":79,"angle":306,"satellites":44,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219aa8","is_valid_coordinates":true} 
[2026-09-05 18:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884576256001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18043363768926208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:07:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304850432,"note":"Value kept but may cause issues"} 
[2026-09-05 18:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788611647000,"timestamp_ms":1788611647000,"timestamp_seconds":1788611647,"priority":1,"record_length":96,"hex_timestamp":"000001a0718fd618"} 
[2026-09-05 18:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-05 18:07:50] 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-09-05 18:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884576256001,"66":12591,"105":206,"83":41984,"24":0,"16":18043363768926208,"45":1741274605304850432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884576256001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:07:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:07:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18043363768926208,"km_value":18043363768926.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:07:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605304850432,"description":"Unknown IO ID 45"} 
[2026-09-05 18:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884576256001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741274605304850432}} 
[2026-09-05 18:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":171803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:07:50] local.INFO: GPS data processed {"connection_id":171803,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:07:50] local.INFO: Acknowledgment sent {"connection_id":171803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:07:54] local.INFO: TCP Data received {"connection_id":174516,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07191ca18012d7d3bc005c7df90000c00a016..."} 
[2026-09-05 18:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07191ca18012d7d3bc005c7df90000c00a016..."} 
[2026-09-05 18:07:54] local.INFO: Processing buffer {"connection_id":174516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07191ca18012d7d3bc005c7df90000c00a016..."} 
[2026-09-05 18:07:54] local.INFO: Packet analysis {"connection_id":174516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07191"} 
[2026-09-05 18:07:54] local.INFO: Extracted packet for processing {"connection_id":174516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07191"} 
[2026-09-05 18:07:54] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":96984976,"longitude_deg":76.3182016,"latitude_deg":9.6984976,"altitude":12,"angle":160,"satellites":22,"speed":46,"hex_longitude":"2d7d3bc0","hex_latitude":"05c7df90","is_valid_coordinates":true} 
[2026-09-05 18:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884612352001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128654645840052224,"note":"Value kept but may cause issues"} 
[2026-09-05 18:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020710078453673984,"note":"Value kept but may cause issues"} 
[2026-09-05 18:07:54] 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-09-05 18:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788611775000,"timestamp_ms":1788611775000,"timestamp_seconds":1788611775,"priority":1,"record_length":96,"hex_timestamp":"000001a07191ca18"} 
[2026-09-05 18:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-05 18:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884612352001,"66":13319,"199":206,"85":12288,"24":46,"16":128654645840052224,"45":9020710078453673984},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-05 18:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884612352001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:07:54] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-05 18:07:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128654645840052224,"km_value":128654645840052.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020710078453673984,"description":"Unknown IO ID 45"} 
[2026-09-05 18:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884612352001,"power":13319,"trip_odometer":0.206,"unknown_85":12288,"ignition":46,"odometer":null,"unknown_45":9020710078453673984}} 
[2026-09-05 18:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":174516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770434,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:07:54] local.INFO: GPS data processed {"connection_id":174516,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:07:54] local.INFO: Acknowledgment sent {"connection_id":174516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:08:01] local.INFO: TCP Data received {"connection_id":171804,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:08:01] local.INFO: Processing buffer {"connection_id":171804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:08:01] local.INFO: IMEI packet received {"connection_id":171804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":171804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:08:06] local.INFO: TCP Data received {"connection_id":171804,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:08:06] local.INFO: Processing buffer {"connection_id":171804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:08:06] local.INFO: IMEI packet received {"connection_id":171804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":171804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:08:07] local.INFO: TCP Data received {"connection_id":171804,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07190a908012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07190a908012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:08:07] local.INFO: Processing buffer {"connection_id":171804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07190a908012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:08:07] local.INFO: Packet analysis {"connection_id":171804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07190"} 
[2026-09-05 18:08:07] local.INFO: Extracted packet for processing {"connection_id":171804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07190"} 
[2026-09-05 18:08:07] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884518400001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788611701000,"timestamp_ms":1788611701000,"timestamp_seconds":1788611701,"priority":1,"record_length":96,"hex_timestamp":"000001a07190a908"} 
[2026-09-05 18:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:08: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-09-05 18: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 18:08:07] 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-09-05 18: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-09-05 18:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884518400001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884518400001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:08:07] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:08:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884518400001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":171804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:08:07] local.INFO: GPS data processed {"connection_id":171804,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:08:07] local.INFO: Acknowledgment sent {"connection_id":171804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:08:11] local.INFO: TCP Data received {"connection_id":171804,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07190a908012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07190a908012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:08:11] local.INFO: Processing buffer {"connection_id":171804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07190a908012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:08:11] local.INFO: Packet analysis {"connection_id":171804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07190"} 
[2026-09-05 18:08:11] local.INFO: Extracted packet for processing {"connection_id":171804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07190"} 
[2026-09-05 18:08:11] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884518400001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788611701000,"timestamp_ms":1788611701000,"timestamp_seconds":1788611701,"priority":1,"record_length":96,"hex_timestamp":"000001a07190a908"} 
[2026-09-05 18:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:08: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-09-05 18:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 18:08:11] 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-09-05 18:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884518400001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884518400001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:08:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:08:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884518400001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":171804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:08:11] local.INFO: GPS data processed {"connection_id":171804,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:08:11] local.INFO: Acknowledgment sent {"connection_id":171804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:08:19] local.INFO: TCP Data received {"connection_id":173192,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:08:19] local.INFO: Processing buffer {"connection_id":173192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:08:19] local.INFO: IMEI packet received {"connection_id":173192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":173192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:08:20] local.INFO: TCP Data received {"connection_id":173192,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:08:20] local.INFO: Processing buffer {"connection_id":173192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:08:20] local.INFO: IMEI packet received {"connection_id":173192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":173192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:08:21] local.INFO: TCP Data received {"connection_id":171803,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071902820012d182a4007219aa8004f01322d..."} 
[2026-09-05 18:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071902820012d182a4007219aa8004f01322d..."} 
[2026-09-05 18:08:21] local.INFO: Processing buffer {"connection_id":171803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071902820012d182a4007219aa8004f01322d..."} 
[2026-09-05 18:08:21] local.INFO: Packet analysis {"connection_id":171803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07190"} 
[2026-09-05 18:08:21] local.INFO: Extracted packet for processing {"connection_id":171803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07190"} 
[2026-09-05 18:08:21] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119642792,"longitude_deg":75.65584,"latitude_deg":11.9642792,"altitude":79,"angle":306,"satellites":45,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219aa8","is_valid_coordinates":true} 
[2026-09-05 18:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884581632001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18043363768926208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304850432,"note":"Value kept but may cause issues"} 
[2026-09-05 18:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788611668000,"timestamp_ms":1788611668000,"timestamp_seconds":1788611668,"priority":1,"record_length":96,"hex_timestamp":"000001a071902820"} 
[2026-09-05 18:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 18:08:21] 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-09-05 18:08:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884581632001,"66":12852,"105":206,"83":41984,"24":0,"16":18043363768926208,"45":1741274605304850432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884581632001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:08:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:08:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18043363768926208,"km_value":18043363768926.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605304850432,"description":"Unknown IO ID 45"} 
[2026-09-05 18:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884581632001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741274605304850432}} 
[2026-09-05 18:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":171803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:08:21] local.INFO: GPS data processed {"connection_id":171803,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:08:21] local.INFO: Acknowledgment sent {"connection_id":171803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:08:24] local.INFO: TCP Data received {"connection_id":173192,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:08:24] local.INFO: Processing buffer {"connection_id":173192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:08:24] local.INFO: IMEI packet received {"connection_id":173192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":173192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:08:24] local.INFO: TCP Data received {"connection_id":173192,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071935888012d7ded4005c728e0000c007e18..."} 
[2026-09-05 18:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071935888012d7ded4005c728e0000c007e18..."} 
[2026-09-05 18:08:24] local.INFO: Processing buffer {"connection_id":173192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071935888012d7ded4005c728e0000c007e18..."} 
[2026-09-05 18:08:24] local.INFO: Packet analysis {"connection_id":173192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07193"} 
[2026-09-05 18:08:24] local.INFO: Extracted packet for processing {"connection_id":173192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07193"} 
[2026-09-05 18:08:24] local.INFO: GPS Element Parsed {"raw_longitude":763227456,"raw_latitude":96938208,"longitude_deg":76.3227456,"latitude_deg":9.6938208,"altitude":12,"angle":126,"satellites":24,"speed":49,"hex_longitude":"2d7ded40","hex_latitude":"05c728e0","is_valid_coordinates":true} 
[2026-09-05 18:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884638464001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:08:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 18:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128657858475589632,"note":"Value kept but may cause issues"} 
[2026-09-05 18:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9065746074714396672,"note":"Value kept but may cause issues"} 
[2026-09-05 18:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-05 18:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788611877000,"timestamp_ms":1788611877000,"timestamp_seconds":1788611877,"priority":1,"record_length":96,"hex_timestamp":"000001a071935888"} 
[2026-09-05 18:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-05 18:08:24] 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-09-05 18:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884638464001,"66":13559,"200":0,"85":12288,"24":49,"16":128657858475589632,"45":9065746074714396672},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-05 18:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884638464001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:08:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128657858475589632,"km_value":128657858475589.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9065746074714396672,"description":"Unknown IO ID 45"} 
[2026-09-05 18:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884638464001,"power":13559,"gsm_signal":0,"unknown_85":12288,"ignition":49,"odometer":null,"unknown_45":9065746074714396672}} 
[2026-09-05 18:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":173192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:08:24] local.INFO: GPS data processed {"connection_id":173192,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:08:24] local.INFO: Acknowledgment sent {"connection_id":173192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:08:44] local.INFO: TCP Data received {"connection_id":174517,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:08:44] local.INFO: Processing buffer {"connection_id":174517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:08:44] local.INFO: IMEI packet received {"connection_id":174517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":174517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:08:49] local.INFO: TCP Data received {"connection_id":174517,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:08:49] local.INFO: Processing buffer {"connection_id":174517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:08:49] local.INFO: IMEI packet received {"connection_id":174517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":174517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:08:50] local.INFO: TCP Data received {"connection_id":174517,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071907a28012d182a4007219aa8004f01322d..."} 
[2026-09-05 18:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071907a28012d182a4007219aa8004f01322d..."} 
[2026-09-05 18:08:50] local.INFO: Processing buffer {"connection_id":174517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071907a28012d182a4007219aa8004f01322d..."} 
[2026-09-05 18:08:50] local.INFO: Packet analysis {"connection_id":174517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07190"} 
[2026-09-05 18:08:50] local.INFO: Extracted packet for processing {"connection_id":174517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07190"} 
[2026-09-05 18:08:50] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119642792,"longitude_deg":75.65584,"latitude_deg":11.9642792,"altitude":79,"angle":306,"satellites":45,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219aa8","is_valid_coordinates":true} 
[2026-09-05 18:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884587008001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18043363768926208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:08:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304850432,"note":"Value kept but may cause issues"} 
[2026-09-05 18:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788611689000,"timestamp_ms":1788611689000,"timestamp_seconds":1788611689,"priority":1,"record_length":96,"hex_timestamp":"000001a071907a28"} 
[2026-09-05 18:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-05 18:08:50] 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-09-05 18:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:08:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884587008001,"66":12841,"105":206,"83":41984,"24":0,"16":18043363768926208,"45":1741274605304850432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884587008001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:08:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:08:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18043363768926208,"km_value":18043363768926.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:08:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605304850432,"description":"Unknown IO ID 45"} 
[2026-09-05 18:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884587008001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741274605304850432}} 
[2026-09-05 18:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":174517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:08:50] local.INFO: GPS data processed {"connection_id":174517,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:08:50] local.INFO: Acknowledgment sent {"connection_id":174517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:08:56] local.INFO: TCP Data received {"connection_id":171805,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:08:56] local.INFO: Processing buffer {"connection_id":171805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:08:56] local.INFO: IMEI packet received {"connection_id":171805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":171805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:08:56] local.INFO: TCP Data received {"connection_id":173192,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0719373e0012d7e0b8005c71370000d007c17..."} 
[2026-09-05 18:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719373e0012d7e0b8005c71370000d007c17..."} 
[2026-09-05 18:08:56] local.INFO: Processing buffer {"connection_id":173192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719373e0012d7e0b8005c71370000d007c17..."} 
[2026-09-05 18:08:56] local.INFO: Packet analysis {"connection_id":173192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07193"} 
[2026-09-05 18:08:56] local.INFO: Extracted packet for processing {"connection_id":173192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07193"} 
[2026-09-05 18:08:56] local.INFO: GPS Element Parsed {"raw_longitude":763235200,"raw_latitude":96932720,"longitude_deg":76.32352,"latitude_deg":9.693272,"altitude":13,"angle":124,"satellites":23,"speed":54,"hex_longitude":"2d7e0b80","hex_latitude":"05c71370","is_valid_coordinates":true} 
[2026-09-05 18:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884640512001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:08:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 18:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128658313742123008,"note":"Value kept but may cause issues"} 
[2026-09-05 18:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9073979217781776384,"note":"Value kept but may cause issues"} 
[2026-09-05 18:08:56] 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-09-05 18:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788611884000,"timestamp_ms":1788611884000,"timestamp_seconds":1788611884,"priority":1,"record_length":96,"hex_timestamp":"000001a0719373e0"} 
[2026-09-05 18:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:08:56] 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-09-05 18:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-05 18:08:56] 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-09-05 18:08:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884640512001,"66":13602,"200":0,"85":12288,"24":54,"16":128658313742123008,"45":9073979217781776384},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-05 18:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884640512001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:08:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128658313742123008,"km_value":128658313742123.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9073979217781776384,"description":"Unknown IO ID 45"} 
[2026-09-05 18:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884640512001,"power":13602,"gsm_signal":0,"unknown_85":12288,"ignition":54,"odometer":null,"unknown_45":9073979217781776384}} 
[2026-09-05 18:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":173192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770440,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:08:56] local.INFO: GPS data processed {"connection_id":173192,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:08:56] local.INFO: Acknowledgment sent {"connection_id":173192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:09:01] local.INFO: TCP Data received {"connection_id":171805,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:09:01] local.INFO: Processing buffer {"connection_id":171805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:09:01] local.INFO: IMEI packet received {"connection_id":171805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":171805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:09:02] local.INFO: TCP Data received {"connection_id":171805,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07190a908012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07190a908012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:09:02] local.INFO: Processing buffer {"connection_id":171805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07190a908012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:09:02] local.INFO: Packet analysis {"connection_id":171805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07190"} 
[2026-09-05 18:09:02] local.INFO: Extracted packet for processing {"connection_id":171805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07190"} 
[2026-09-05 18:09:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884518400001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788611701000,"timestamp_ms":1788611701000,"timestamp_seconds":1788611701,"priority":1,"record_length":96,"hex_timestamp":"000001a07190a908"} 
[2026-09-05 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-09-05 18:09:02] 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-09-05 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 18:09: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-09-05 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-09-05 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-09-05 18:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884518400001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884518400001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:09:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:09:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884518400001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":171805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:09:02] local.INFO: GPS data processed {"connection_id":171805,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:09:02] local.INFO: Acknowledgment sent {"connection_id":171805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:09:19] local.INFO: TCP Data received {"connection_id":173193,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:09:19] local.INFO: Processing buffer {"connection_id":173193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:09:19] local.INFO: IMEI packet received {"connection_id":173193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":173193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:09:21] local.INFO: TCP Data received {"connection_id":174517,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07193e910012d181dc00721a620004f00ef2e..."} 
[2026-09-05 18:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07193e910012d181dc00721a620004f00ef2e..."} 
[2026-09-05 18:09:21] local.INFO: Processing buffer {"connection_id":174517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07193e910012d181dc00721a620004f00ef2e..."} 
[2026-09-05 18:09:21] local.INFO: Packet analysis {"connection_id":174517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07193"} 
[2026-09-05 18:09:21] local.INFO: Extracted packet for processing {"connection_id":174517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07193"} 
[2026-09-05 18:09:21] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119645728,"longitude_deg":75.65552,"latitude_deg":11.9645728,"altitude":79,"angle":239,"satellites":46,"speed":6,"hex_longitude":"2d181dc0","hex_latitude":"0721a620","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884649728001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18043591402192896,"note":"Value kept but may cause issues"} 
[2026-09-05 18:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585090560,"note":"Value kept but may cause issues"} 
[2026-09-05 18:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788611914000,"timestamp_ms":1788611914000,"timestamp_seconds":1788611914,"priority":1,"record_length":96,"hex_timestamp":"000001a07193e910"} 
[2026-09-05 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-09-05 18:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-05 18:09:21] 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-09-05 18:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 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-09-05 18:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884649728001,"66":13015,"105":206,"83":41984,"24":6,"16":18043591402192896,"45":1737896905585090560},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884649728001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:09:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:09:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18043591402192896,"km_value":18043591402192.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585090560,"description":"Unknown IO ID 45"} 
[2026-09-05 18:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884649728001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1737896905585090560}} 
[2026-09-05 18:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":174517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:09:21] local.INFO: GPS data processed {"connection_id":174517,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:09:21] local.INFO: Acknowledgment sent {"connection_id":174517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:09:24] local.INFO: TCP Data received {"connection_id":173193,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:09:24] local.INFO: Processing buffer {"connection_id":173193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:09:24] local.INFO: IMEI packet received {"connection_id":173193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":173193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:09:25] local.INFO: TCP Data received {"connection_id":173193,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071938f38012d7e2ac005c6fdd8000e007d17..."} 
[2026-09-05 18:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071938f38012d7e2ac005c6fdd8000e007d17..."} 
[2026-09-05 18:09:25] local.INFO: Processing buffer {"connection_id":173193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071938f38012d7e2ac005c6fdd8000e007d17..."} 
[2026-09-05 18:09:25] local.INFO: Packet analysis {"connection_id":173193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07193"} 
[2026-09-05 18:09:25] local.INFO: Extracted packet for processing {"connection_id":173193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07193"} 
[2026-09-05 18:09:25] local.INFO: GPS Element Parsed {"raw_longitude":763243200,"raw_latitude":96927192,"longitude_deg":76.32432,"latitude_deg":9.6927192,"altitude":14,"angle":125,"satellites":23,"speed":54,"hex_longitude":"2d7e2ac0","hex_latitude":"05c6fdd8","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884642304001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:09:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 18:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128658781893558272,"note":"Value kept but may cause issues"} 
[2026-09-05 18:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9082493835825868800,"note":"Value kept but may cause issues"} 
[2026-09-05 18:09:25] 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-09-05 18:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788611891000,"timestamp_ms":1788611891000,"timestamp_seconds":1788611891,"priority":1,"record_length":96,"hex_timestamp":"000001a071938f38"} 
[2026-09-05 18:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:09:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-05 18:09:25] 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-09-05 18: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-09-05 18:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884642304001,"66":13352,"200":0,"85":12288,"24":54,"16":128658781893558272,"45":9082493835825868800},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-05 18:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884642304001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:09:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128658781893558272,"km_value":128658781893558.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9082493835825868800,"description":"Unknown IO ID 45"} 
[2026-09-05 18:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884642304001,"power":13352,"gsm_signal":0,"unknown_85":12288,"ignition":54,"odometer":null,"unknown_45":9082493835825868800}} 
[2026-09-05 18:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":173193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:09:25] local.INFO: GPS data processed {"connection_id":173193,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:09:25] local.INFO: Acknowledgment sent {"connection_id":173193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:09:33] local.INFO: TCP Data received {"connection_id":171805,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07190a908012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07190a908012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:09:33] local.INFO: Processing buffer {"connection_id":171805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07190a908012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:09:33] local.INFO: Packet analysis {"connection_id":171805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07190"} 
[2026-09-05 18:09:33] local.INFO: Extracted packet for processing {"connection_id":171805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07190"} 
[2026-09-05 18:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884518400001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788611701000,"timestamp_ms":1788611701000,"timestamp_seconds":1788611701,"priority":1,"record_length":96,"hex_timestamp":"000001a07190a908"} 
[2026-09-05 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-09-05 18:09: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-09-05 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 18:09: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-09-05 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-09-05 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-09-05 18:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884518400001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884518400001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:09:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:09:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884518400001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":171805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:09:33] local.INFO: GPS data processed {"connection_id":171805,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:09:33] local.INFO: Acknowledgment sent {"connection_id":171805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:09:49] local.INFO: TCP Data received {"connection_id":173194,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:09:49] local.INFO: Processing buffer {"connection_id":173194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:09:49] local.INFO: IMEI packet received {"connection_id":173194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":173194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:09:54] local.INFO: TCP Data received {"connection_id":173194,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:09:54] local.INFO: Processing buffer {"connection_id":173194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:09:54] local.INFO: IMEI packet received {"connection_id":173194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":173194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:09:55] local.INFO: TCP Data received {"connection_id":173194,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07193ecf8012d181cc00721a578004f00e02e..."} 
[2026-09-05 18:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07193ecf8012d181cc00721a578004f00e02e..."} 
[2026-09-05 18:09:55] local.INFO: Processing buffer {"connection_id":173194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07193ecf8012d181cc00721a578004f00e02e..."} 
[2026-09-05 18:09:55] local.INFO: Packet analysis {"connection_id":173194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07193"} 
[2026-09-05 18:09:55] local.INFO: Extracted packet for processing {"connection_id":173194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07193"} 
[2026-09-05 18:09:55] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119645560,"longitude_deg":75.6554944,"latitude_deg":11.964556,"altitude":79,"angle":224,"satellites":46,"speed":9,"hex_longitude":"2d181cc0","hex_latitude":"0721a578","is_valid_coordinates":true} 
[2026-09-05 18:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884649984001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18043604287094784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096718848,"note":"Value kept but may cause issues"} 
[2026-09-05 18:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788611915000,"timestamp_ms":1788611915000,"timestamp_seconds":1788611915,"priority":1,"record_length":96,"hex_timestamp":"000001a07193ecf8"} 
[2026-09-05 18:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-05 18:09:55] 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-09-05 18:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884649984001,"66":12972,"105":206,"83":41984,"24":9,"16":18043604287094784,"45":1737756168096718848},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884649984001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:09:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:09:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18043604287094784,"km_value":18043604287094.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096718848,"description":"Unknown IO ID 45"} 
[2026-09-05 18:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884649984001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737756168096718848}} 
[2026-09-05 18:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":173194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:09:55] local.INFO: GPS data processed {"connection_id":173194,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:09:55] local.INFO: Acknowledgment sent {"connection_id":173194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:09:56] local.INFO: TCP Data received {"connection_id":174518,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:09:56] local.INFO: Processing buffer {"connection_id":174518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:09:56] local.INFO: IMEI packet received {"connection_id":174518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":174518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:09:57] local.INFO: TCP Data received {"connection_id":173193,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07193aa90012d7e48c005c6e7e8000f007d19..."} 
[2026-09-05 18:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07193aa90012d7e48c005c6e7e8000f007d19..."} 
[2026-09-05 18:09:57] local.INFO: Processing buffer {"connection_id":173193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07193aa90012d7e48c005c6e7e8000f007d19..."} 
[2026-09-05 18:09:57] local.INFO: Packet analysis {"connection_id":173193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07193"} 
[2026-09-05 18:09:57] local.INFO: Extracted packet for processing {"connection_id":173193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07193"} 
[2026-09-05 18:09:57] local.INFO: GPS Element Parsed {"raw_longitude":763250880,"raw_latitude":96921576,"longitude_deg":76.325088,"latitude_deg":9.6921576,"altitude":15,"angle":125,"satellites":25,"speed":52,"hex_longitude":"2d7e48c0","hex_latitude":"05c6e7e8","is_valid_coordinates":true} 
[2026-09-05 18:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884644096001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:09:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 18:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128659237160091648,"note":"Value kept but may cause issues"} 
[2026-09-05 18:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091289928846661632,"note":"Value kept but may cause issues"} 
[2026-09-05 18:09:57] 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-09-05 18:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788611898000,"timestamp_ms":1788611898000,"timestamp_seconds":1788611898,"priority":1,"record_length":96,"hex_timestamp":"000001a07193aa90"} 
[2026-09-05 18:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-05 18:09:57] 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-09-05 18:09:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884644096001,"66":13319,"200":0,"85":12288,"24":52,"16":128659237160091648,"45":9091289928846661632},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-05 18:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884644096001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:09:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128659237160091648,"km_value":128659237160091.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091289928846661632,"description":"Unknown IO ID 45"} 
[2026-09-05 18:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884644096001,"power":13319,"gsm_signal":0,"unknown_85":12288,"ignition":52,"odometer":null,"unknown_45":9091289928846661632}} 
[2026-09-05 18:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":173193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:09:57] local.INFO: GPS data processed {"connection_id":173193,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:09:57] local.INFO: Acknowledgment sent {"connection_id":173193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:09:59] local.INFO: TCP Data received {"connection_id":173194,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07193f4c8012d181b400721a398004f00d22c..."} 
[2026-09-05 18:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07193f4c8012d181b400721a398004f00d22c..."} 
[2026-09-05 18:09:59] local.INFO: Processing buffer {"connection_id":173194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07193f4c8012d181b400721a398004f00d22c..."} 
[2026-09-05 18:09:59] local.INFO: Packet analysis {"connection_id":173194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07193"} 
[2026-09-05 18:09:59] local.INFO: Extracted packet for processing {"connection_id":173194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07193"} 
[2026-09-05 18:09:59] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119645080,"longitude_deg":75.655456,"latitude_deg":11.964508,"altitude":79,"angle":210,"satellites":44,"speed":11,"hex_longitude":"2d181b40","hex_latitude":"0721a398","is_valid_coordinates":true} 
[2026-09-05 18:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884650240001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18043634351865856,"note":"Value kept but may cause issues"} 
[2026-09-05 18:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693119965184,"note":"Value kept but may cause issues"} 
[2026-09-05 18:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788611917000,"timestamp_ms":1788611917000,"timestamp_seconds":1788611917,"priority":1,"record_length":96,"hex_timestamp":"000001a07193f4c8"} 
[2026-09-05 18:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-05 18:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884650240001,"66":13004,"105":206,"83":41984,"24":11,"16":18043634351865856,"45":1737474693119965184},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884650240001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:09:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:09:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18043634351865856,"km_value":18043634351865.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693119965184,"description":"Unknown IO ID 45"} 
[2026-09-05 18:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884650240001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1737474693119965184}} 
[2026-09-05 18:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":173194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:09:59] local.INFO: GPS data processed {"connection_id":173194,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:09:59] local.INFO: Acknowledgment sent {"connection_id":173194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:10:01] local.INFO: TCP Data received {"connection_id":174518,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:10:01] local.INFO: Processing buffer {"connection_id":174518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:10:01] local.INFO: IMEI packet received {"connection_id":174518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":174518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:10:02] local.INFO: TCP Data received {"connection_id":174518,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07190a908012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07190a908012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:10:02] local.INFO: Processing buffer {"connection_id":174518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07190a908012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:10:02] local.INFO: Packet analysis {"connection_id":174518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07190"} 
[2026-09-05 18:10:02] local.INFO: Extracted packet for processing {"connection_id":174518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07190"} 
[2026-09-05 18:10:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884518400001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788611701000,"timestamp_ms":1788611701000,"timestamp_seconds":1788611701,"priority":1,"record_length":96,"hex_timestamp":"000001a07190a908"} 
[2026-09-05 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-09-05 18:10:02] 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-09-05 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 18:10: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-09-05 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-09-05 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-09-05 18:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884518400001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884518400001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:10:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:10:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884518400001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":174518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:10:02] local.INFO: GPS data processed {"connection_id":174518,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:10:02] local.INFO: Acknowledgment sent {"connection_id":174518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:10:19] local.INFO: TCP Data received {"connection_id":173195,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:10:19] local.INFO: Processing buffer {"connection_id":173195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:10:19] local.INFO: IMEI packet received {"connection_id":173195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":173195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:10:24] local.INFO: TCP Data received {"connection_id":173195,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:10:24] local.INFO: Processing buffer {"connection_id":173195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:10:24] local.INFO: IMEI packet received {"connection_id":173195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":173195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:10:25] local.INFO: TCP Data received {"connection_id":173195,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07193c5e8012d7e664005c6d3100011007d19..."} 
[2026-09-05 18:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07193c5e8012d7e664005c6d3100011007d19..."} 
[2026-09-05 18:10:25] local.INFO: Processing buffer {"connection_id":173195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07193c5e8012d7e664005c6d3100011007d19..."} 
[2026-09-05 18:10:25] local.INFO: Packet analysis {"connection_id":173195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07193"} 
[2026-09-05 18:10:25] local.INFO: Extracted packet for processing {"connection_id":173195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07193"} 
[2026-09-05 18:10:25] local.INFO: GPS Element Parsed {"raw_longitude":763258432,"raw_latitude":96916240,"longitude_deg":76.3258432,"latitude_deg":9.691624,"altitude":17,"angle":125,"satellites":25,"speed":50,"hex_longitude":"2d7e6640","hex_latitude":"05c6d310","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884645888001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:10:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 18:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128659683836690432,"note":"Value kept but may cause issues"} 
[2026-09-05 18:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9099734178146543616,"note":"Value kept but may cause issues"} 
[2026-09-05 18:10:25] 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-09-05 18:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788611905000,"timestamp_ms":1788611905000,"timestamp_seconds":1788611905,"priority":1,"record_length":96,"hex_timestamp":"000001a07193c5e8"} 
[2026-09-05 18:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:10:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-05 18:10:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13522224,"corrected_to":0} 
[2026-09-05 18:10:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 18:10:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-05 18:10:25] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13477832,"corrected_to":0} 
[2026-09-05 18:10:25] local.WARNING: Large IO value detected {"io_id":21,"raw_value":2751463424,"note":"Value kept but may cause issues"} 
[2026-09-05 18:10:25] local.WARNING: Large IO value detected {"io_id":199,"raw_value":8514055134207219200,"note":"Value kept but may cause issues"} 
[2026-09-05 18:10:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2814902478,"corrected_to":0} 
[2026-09-05 18:10:25] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2147862350,"note":"Value kept but may cause issues"} 
[2026-09-05 18:10:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3344973824,"note":"Value kept but may cause issues"} 
[2026-09-05 18:10:25] local.WARNING: Large IO value detected {"io_id":12,"raw_value":57886847674504496,"note":"Value kept but may cause issues"} 
[2026-09-05 18:10:25] local.WARNING: Large IO value detected {"io_id":146,"raw_value":-4316698947943497723,"note":"Value kept but may cause issues"} 
[2026-09-05 18:10:25] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,200,85,24,241,157,16,22,160,143,45,192,253,14,23,10,66,115,128,19,13,88,64,1,240,247,227,21,113,199,4,205,38,18,189,120,239,52,2,201,5,37,12,146],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":200,"original":13522224,"validated":0},{"io_id":247,"original":13477832,"validated":0},{"io_id":205,"original":2814902478,"validated":0}]} 
[2026-09-05 18:10:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081001456899981312,"timestamp_seconds":1081001456899981.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 18:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884645888001,"66":13363,"200":0,"85":12288,"24":50,"16":128659683836690432,"45":9099734178146543616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-05 18:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884645888001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:10:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128659683836690432,"km_value":128659683836690.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9099734178146543616,"description":"Unknown IO ID 45"} 
[2026-09-05 18:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884645888001,"power":13363,"gsm_signal":0,"unknown_85":12288,"ignition":50,"odometer":null,"unknown_45":9099734178146543616}} 
[2026-09-05 18:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":173195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:10:25] local.INFO: GPS data processed {"connection_id":173195,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:10:25] local.INFO: Acknowledgment sent {"connection_id":173195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:10:33] local.INFO: TCP Data received {"connection_id":174518,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07190a908012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07190a908012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:10:33] local.INFO: Processing buffer {"connection_id":174518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07190a908012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:10:33] local.INFO: Packet analysis {"connection_id":174518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07190"} 
[2026-09-05 18:10:33] local.INFO: Extracted packet for processing {"connection_id":174518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07190"} 
[2026-09-05 18:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884518400001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788611701000,"timestamp_ms":1788611701000,"timestamp_seconds":1788611701,"priority":1,"record_length":96,"hex_timestamp":"000001a07190a908"} 
[2026-09-05 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-09-05 18:10: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-09-05 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 18:10: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-09-05 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-09-05 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-09-05 18:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884518400001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884518400001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:10:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:10:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884518400001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":174518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:10:33] local.INFO: GPS data processed {"connection_id":174518,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:10:33] local.INFO: Acknowledgment sent {"connection_id":174518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:10:44] local.INFO: TCP Data received {"connection_id":173196,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:10:44] local.INFO: Processing buffer {"connection_id":173196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:10:44] local.INFO: IMEI packet received {"connection_id":173196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":173196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:10:49] local.INFO: TCP Data received {"connection_id":173196,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:10:49] local.INFO: Processing buffer {"connection_id":173196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:10:49] local.INFO: IMEI packet received {"connection_id":173196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":173196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:10:50] local.INFO: TCP Data received {"connection_id":173196,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071941408012d18160007219aa0004f00c72c..."} 
[2026-09-05 18:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071941408012d18160007219aa0004f00c72c..."} 
[2026-09-05 18:10:50] local.INFO: Processing buffer {"connection_id":173196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071941408012d18160007219aa0004f00c72c..."} 
[2026-09-05 18:10:50] local.INFO: Packet analysis {"connection_id":173196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07194"} 
[2026-09-05 18:10:50] local.INFO: Extracted packet for processing {"connection_id":173196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07194"} 
[2026-09-05 18:10:50] local.INFO: GPS Element Parsed {"raw_longitude":756553216,"raw_latitude":119642784,"longitude_deg":75.6553216,"latitude_deg":11.9642784,"altitude":79,"angle":199,"satellites":44,"speed":9,"hex_longitude":"2d181600","hex_latitude":"07219aa0","is_valid_coordinates":true} 
[2026-09-05 18:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884650752001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18043767495852032,"note":"Value kept but may cause issues"} 
[2026-09-05 18:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480654776320,"note":"Value kept but may cause issues"} 
[2026-09-05 18:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788611925000,"timestamp_ms":1788611925000,"timestamp_seconds":1788611925,"priority":1,"record_length":96,"hex_timestamp":"000001a071941408"} 
[2026-09-05 18:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-05 18:10:50] 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-09-05 18:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884650752001,"66":12950,"105":206,"83":41984,"24":9,"16":18043767495852032,"45":1737052480654776320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884650752001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:10:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:10:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18043767495852032,"km_value":18043767495852.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480654776320,"description":"Unknown IO ID 45"} 
[2026-09-05 18:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884650752001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737052480654776320}} 
[2026-09-05 18:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":173196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:10:50] local.INFO: GPS data processed {"connection_id":173196,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:10:50] local.INFO: Acknowledgment sent {"connection_id":173196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:10:55] local.INFO: TCP Data received {"connection_id":173197,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:10:55] local.INFO: Processing buffer {"connection_id":173197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:10:55] local.INFO: IMEI packet received {"connection_id":173197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":173197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:10:57] local.INFO: TCP Data received {"connection_id":173195,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07193e528012d7e858005c6bd300011007c18..."} 
[2026-09-05 18:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07193e528012d7e858005c6bd300011007c18..."} 
[2026-09-05 18:10:57] local.INFO: Processing buffer {"connection_id":173195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07193e528012d7e858005c6bd300011007c18..."} 
[2026-09-05 18:10:57] local.INFO: Packet analysis {"connection_id":173195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07193"} 
[2026-09-05 18:10:57] local.INFO: Extracted packet for processing {"connection_id":173195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07193"} 
[2026-09-05 18:10:57] local.INFO: GPS Element Parsed {"raw_longitude":763266432,"raw_latitude":96910640,"longitude_deg":76.3266432,"latitude_deg":9.691064,"altitude":17,"angle":124,"satellites":24,"speed":48,"hex_longitude":"2d7e8580","hex_latitude":"05c6bd30","is_valid_coordinates":true} 
[2026-09-05 18:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884647680001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:10:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 18:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128660151988125696,"note":"Value kept but may cause issues"} 
[2026-09-05 18:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108037689958141952,"note":"Value kept but may cause issues"} 
[2026-09-05 18:10:57] 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-09-05 18:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788611913000,"timestamp_ms":1788611913000,"timestamp_seconds":1788611913,"priority":1,"record_length":96,"hex_timestamp":"000001a07193e528"} 
[2026-09-05 18:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:10:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-05 18:10:57] 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-09-05 18:10:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:10:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884647680001,"66":13461,"200":0,"85":12288,"24":48,"16":128660151988125696,"45":9108037689958141952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-05 18:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884647680001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:10:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128660151988125696,"km_value":128660151988125.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108037689958141952,"description":"Unknown IO ID 45"} 
[2026-09-05 18:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884647680001,"power":13461,"gsm_signal":0,"unknown_85":12288,"ignition":48,"odometer":null,"unknown_45":9108037689958141952}} 
[2026-09-05 18:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":173195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:10:57] local.INFO: GPS data processed {"connection_id":173195,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:10:57] local.INFO: Acknowledgment sent {"connection_id":173195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:11:01] local.INFO: TCP Data received {"connection_id":173197,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:11:01] local.INFO: Processing buffer {"connection_id":173197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:11:01] local.INFO: IMEI packet received {"connection_id":173197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":173197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:11:01] local.INFO: TCP Data received {"connection_id":173197,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0719540d0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719540d0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:11:01] local.INFO: Processing buffer {"connection_id":173197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719540d0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:11:01] local.INFO: Packet analysis {"connection_id":173197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07195"} 
[2026-09-05 18:11:01] local.INFO: Extracted packet for processing {"connection_id":173197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07195"} 
[2026-09-05 18:11:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884595456001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788612002000,"timestamp_ms":1788612002000,"timestamp_seconds":1788612002,"priority":1,"record_length":96,"hex_timestamp":"000001a0719540d0"} 
[2026-09-05 18:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:11:01] 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-09-05 18:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:11:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884595456001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884595456001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:11:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:11:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884595456001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":173197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:11:01] local.INFO: GPS data processed {"connection_id":173197,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:11:01] local.INFO: Acknowledgment sent {"connection_id":173197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:11:19] local.INFO: TCP Data received {"connection_id":172077,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:11:19] local.INFO: Processing buffer {"connection_id":172077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:11:19] local.INFO: IMEI packet received {"connection_id":172077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":172077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:11:21] local.INFO: TCP Data received {"connection_id":173196,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0719417f0012d181580072199c0004f00aa2d..."} 
[2026-09-05 18:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719417f0012d181580072199c0004f00aa2d..."} 
[2026-09-05 18:11:21] local.INFO: Processing buffer {"connection_id":173196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719417f0012d181580072199c0004f00aa2d..."} 
[2026-09-05 18:11:21] local.INFO: Packet analysis {"connection_id":173196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07194"} 
[2026-09-05 18:11:21] local.INFO: Extracted packet for processing {"connection_id":173196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07194"} 
[2026-09-05 18:11:21] local.INFO: GPS Element Parsed {"raw_longitude":756553088,"raw_latitude":119642560,"longitude_deg":75.6553088,"latitude_deg":11.964256,"altitude":79,"angle":170,"satellites":45,"speed":8,"hex_longitude":"2d181580","hex_latitude":"072199c0","is_valid_coordinates":true} 
[2026-09-05 18:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884652800001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18043776085786624,"note":"Value kept but may cause issues"} 
[2026-09-05 18:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735574737026457600,"note":"Value kept but may cause issues"} 
[2026-09-05 18:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788611926000,"timestamp_ms":1788611926000,"timestamp_seconds":1788611926,"priority":1,"record_length":96,"hex_timestamp":"000001a0719417f0"} 
[2026-09-05 18:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-05 18:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884652800001,"66":12950,"105":206,"83":41984,"24":8,"16":18043776085786624,"45":1735574737026457600},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884652800001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:11:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:11:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18043776085786624,"km_value":18043776085786.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735574737026457600,"description":"Unknown IO ID 45"} 
[2026-09-05 18:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884652800001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1735574737026457600}} 
[2026-09-05 18:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":173196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:11:21] local.INFO: GPS data processed {"connection_id":173196,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:11:21] local.INFO: Acknowledgment sent {"connection_id":173196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:11:24] local.INFO: TCP Data received {"connection_id":172077,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:11:24] local.INFO: Processing buffer {"connection_id":172077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:11:24] local.INFO: IMEI packet received {"connection_id":172077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":172077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:11:25] local.INFO: TCP Data received {"connection_id":172077,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071940468012d7ea4c005c6a8480010007a18..."} 
[2026-09-05 18:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071940468012d7ea4c005c6a8480010007a18..."} 
[2026-09-05 18:11:25] local.INFO: Processing buffer {"connection_id":172077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071940468012d7ea4c005c6a8480010007a18..."} 
[2026-09-05 18:11:25] local.INFO: Packet analysis {"connection_id":172077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07194"} 
[2026-09-05 18:11:25] local.INFO: Extracted packet for processing {"connection_id":172077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07194"} 
[2026-09-05 18:11:25] local.INFO: GPS Element Parsed {"raw_longitude":763274432,"raw_latitude":96905288,"longitude_deg":76.3274432,"latitude_deg":9.6905288,"altitude":16,"angle":122,"satellites":24,"speed":47,"hex_longitude":"2d7ea4c0","hex_latitude":"05c6a848","is_valid_coordinates":true} 
[2026-09-05 18:11: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-09-05 18:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884649728001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:11:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-05 18:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128660615844593664,"note":"Value kept but may cause issues"} 
[2026-09-05 18:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9116833782978916352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:11:25] 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-09-05 18:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788611921000,"timestamp_ms":1788611921000,"timestamp_seconds":1788611921,"priority":1,"record_length":96,"hex_timestamp":"000001a071940468"} 
[2026-09-05 18:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-05 18:11:25] 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-09-05 18:11: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-09-05 18:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884649728001,"66":13646,"200":0,"85":12288,"24":47,"16":128660615844593664,"45":9116833782978916352},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-05 18:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884649728001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:11:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128660615844593664,"km_value":128660615844593.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9116833782978916352,"description":"Unknown IO ID 45"} 
[2026-09-05 18:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884649728001,"power":13646,"gsm_signal":0,"unknown_85":12288,"ignition":47,"odometer":null,"unknown_45":9116833782978916352}} 
[2026-09-05 18:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":172077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770455,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:11:25] local.INFO: GPS data processed {"connection_id":172077,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:11:25] local.INFO: Acknowledgment sent {"connection_id":172077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:11:34] local.INFO: TCP Data received {"connection_id":173197,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0719540d0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719540d0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:11:34] local.INFO: Processing buffer {"connection_id":173197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719540d0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:11:34] local.INFO: Packet analysis {"connection_id":173197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07195"} 
[2026-09-05 18:11:34] local.INFO: Extracted packet for processing {"connection_id":173197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07195"} 
[2026-09-05 18:11:34] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884595456001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788612002000,"timestamp_ms":1788612002000,"timestamp_seconds":1788612002,"priority":1,"record_length":96,"hex_timestamp":"000001a0719540d0"} 
[2026-09-05 18:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:11: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-09-05 18:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:11: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-09-05 18: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-09-05 18:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884595456001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884595456001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:11:34] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:11:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884595456001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":173197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:11:34] local.INFO: GPS data processed {"connection_id":173197,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:11:34] local.INFO: Acknowledgment sent {"connection_id":173197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:11:44] local.INFO: TCP Data received {"connection_id":174519,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:11:44] local.INFO: Processing buffer {"connection_id":174519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:11:44] local.INFO: IMEI packet received {"connection_id":174519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":174519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:11:47] local.INFO: TCP Data received {"connection_id":174519,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:11:47] local.INFO: Processing buffer {"connection_id":174519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:11:47] local.INFO: IMEI packet received {"connection_id":174519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":174519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:11:48] local.INFO: TCP Data received {"connection_id":174519,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07195e4e0012d181c80072194d00051010321..."} 
[2026-09-05 18:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07195e4e0012d181c80072194d00051010321..."} 
[2026-09-05 18:11:48] local.INFO: Processing buffer {"connection_id":174519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07195e4e0012d181c80072194d00051010321..."} 
[2026-09-05 18:11:48] local.INFO: Packet analysis {"connection_id":174519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07195"} 
[2026-09-05 18:11:48] local.INFO: Extracted packet for processing {"connection_id":174519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07195"} 
[2026-09-05 18:11:48] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119641296,"longitude_deg":75.655488,"latitude_deg":11.9641296,"altitude":81,"angle":259,"satellites":33,"speed":1,"hex_longitude":"2d181c80","hex_latitude":"072194d0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884683264001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18043995129118720,"note":"Value kept but may cause issues"} 
[2026-09-05 18:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324374695936,"note":"Value kept but may cause issues"} 
[2026-09-05 18:11: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-09-05 18:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788612044000,"timestamp_ms":1788612044000,"timestamp_seconds":1788612044,"priority":1,"record_length":96,"hex_timestamp":"000001a07195e4e0"} 
[2026-09-05 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-09-05 18:11:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-05 18:11:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 18:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884683264001,"66":12667,"105":206,"83":41984,"24":1,"16":18043995129118720,"45":1737404324374695936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884683264001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:11:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:11:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18043995129118720,"km_value":18043995129118.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324374695936,"description":"Unknown IO ID 45"} 
[2026-09-05 18:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884683264001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1737404324374695936}} 
[2026-09-05 18:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":174519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:11:48] local.INFO: GPS data processed {"connection_id":174519,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:11:48] local.INFO: Acknowledgment sent {"connection_id":174519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:11:55] local.INFO: TCP Data received {"connection_id":173198,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:11:55] local.INFO: Processing buffer {"connection_id":173198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:11:55] local.INFO: IMEI packet received {"connection_id":173198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":173198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:11:56] local.INFO: TCP Data received {"connection_id":172077,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07196daf8012d7f388005c61f08000e00d51a..."} 
[2026-09-05 18:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07196daf8012d7f388005c61f08000e00d51a..."} 
[2026-09-05 18:11:56] local.INFO: Processing buffer {"connection_id":172077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07196daf8012d7f388005c61f08000e00d51a..."} 
[2026-09-05 18:11:56] local.INFO: Packet analysis {"connection_id":172077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07196"} 
[2026-09-05 18:11:56] local.INFO: Extracted packet for processing {"connection_id":172077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07196"} 
[2026-09-05 18:11:56] local.INFO: GPS Element Parsed {"raw_longitude":763312256,"raw_latitude":96870152,"longitude_deg":76.3312256,"latitude_deg":9.6870152,"altitude":14,"angle":213,"satellites":26,"speed":7,"hex_longitude":"2d7f3880","hex_latitude":"05c61f08","is_valid_coordinates":true} 
[2026-09-05 18:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884699136001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128663149875298304,"note":"Value kept but may cause issues"} 
[2026-09-05 18:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167288172543981568,"note":"Value kept but may cause issues"} 
[2026-09-05 18:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788612107000,"timestamp_ms":1788612107000,"timestamp_seconds":1788612107,"priority":1,"record_length":96,"hex_timestamp":"000001a07196daf8"} 
[2026-09-05 18:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:11:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-05 18:11:56] 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-09-05 18:11:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884699136001,"66":13352,"100":206,"85":12288,"24":7,"16":128663149875298304,"45":9167288172543981568},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-09-05 18:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884699136001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:11:56] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-05 18:11:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128663149875298304,"km_value":128663149875298.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167288172543981568,"description":"Unknown IO ID 45"} 
[2026-09-05 18:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884699136001,"power":13352,"unknown_100":206,"unknown_85":12288,"ignition":7,"odometer":null,"unknown_45":9167288172543981568}} 
[2026-09-05 18:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":172077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770458,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:11:56] local.INFO: GPS data processed {"connection_id":172077,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:11:56] local.INFO: Acknowledgment sent {"connection_id":172077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:12:01] local.INFO: TCP Data received {"connection_id":173198,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:12:01] local.INFO: Processing buffer {"connection_id":173198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:12:01] local.INFO: IMEI packet received {"connection_id":173198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":173198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:12:02] local.INFO: TCP Data received {"connection_id":173198,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0719540d0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719540d0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:12:02] local.INFO: Processing buffer {"connection_id":173198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719540d0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:12:02] local.INFO: Packet analysis {"connection_id":173198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07195"} 
[2026-09-05 18:12:02] local.INFO: Extracted packet for processing {"connection_id":173198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07195"} 
[2026-09-05 18:12:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884595456001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788612002000,"timestamp_ms":1788612002000,"timestamp_seconds":1788612002,"priority":1,"record_length":96,"hex_timestamp":"000001a0719540d0"} 
[2026-09-05 18:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:12:02] 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-09-05 18:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18: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-09-05 18:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884595456001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884595456001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:12:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:12:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884595456001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":173198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:12:02] local.INFO: GPS data processed {"connection_id":173198,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:12:02] local.INFO: Acknowledgment sent {"connection_id":173198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:12:19] local.INFO: TCP Data received {"connection_id":172078,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:12:19] local.INFO: Processing buffer {"connection_id":172078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:12:19] local.INFO: IMEI packet received {"connection_id":172078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":172078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:12:19] local.INFO: TCP Data received {"connection_id":174519,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07195ecb0012d181c4007219478005100f720..."} 
[2026-09-05 18:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07195ecb0012d181c4007219478005100f720..."} 
[2026-09-05 18:12:19] local.INFO: Processing buffer {"connection_id":174519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07195ecb0012d181c4007219478005100f720..."} 
[2026-09-05 18:12:19] local.INFO: Packet analysis {"connection_id":174519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07195"} 
[2026-09-05 18:12:19] local.INFO: Extracted packet for processing {"connection_id":174519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07195"} 
[2026-09-05 18:12:19] local.INFO: GPS Element Parsed {"raw_longitude":756554816,"raw_latitude":119641208,"longitude_deg":75.6554816,"latitude_deg":11.9641208,"altitude":81,"angle":247,"satellites":32,"speed":1,"hex_longitude":"2d181c40","hex_latitude":"07219478","is_valid_coordinates":true} 
[2026-09-05 18:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884683264001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18043999424086016,"note":"Value kept but may cause issues"} 
[2026-09-05 18:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324374695936,"note":"Value kept but may cause issues"} 
[2026-09-05 18:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788612046000,"timestamp_ms":1788612046000,"timestamp_seconds":1788612046,"priority":1,"record_length":96,"hex_timestamp":"000001a07195ecb0"} 
[2026-09-05 18:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:12:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-05 18:12:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:12:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884683264001,"66":12689,"105":206,"83":41984,"24":1,"16":18043999424086016,"45":1737404324374695936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884683264001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:12:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:12:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18043999424086016,"km_value":18043999424086.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324374695936,"description":"Unknown IO ID 45"} 
[2026-09-05 18:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884683264001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1737404324374695936}} 
[2026-09-05 18:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":174519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:12:19] local.INFO: GPS data processed {"connection_id":174519,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:12:19] local.INFO: Acknowledgment sent {"connection_id":174519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:12:22] local.INFO: TCP Data received {"connection_id":172078,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:12:22] local.INFO: Processing buffer {"connection_id":172078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:12:22] local.INFO: IMEI packet received {"connection_id":172078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":172078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:12:24] local.INFO: TCP Data received {"connection_id":172078,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:12:24] local.INFO: Processing buffer {"connection_id":172078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:12:24] local.INFO: IMEI packet received {"connection_id":172078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":172078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:12:24] local.INFO: TCP Data received {"connection_id":172078,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07196dee0012d7f380005c61e98000e00e21b..."} 
[2026-09-05 18:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07196dee0012d7f380005c61e98000e00e21b..."} 
[2026-09-05 18:12:24] local.INFO: Processing buffer {"connection_id":172078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07196dee0012d7f380005c61e98000e00e21b..."} 
[2026-09-05 18:12:24] local.INFO: Packet analysis {"connection_id":172078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07196"} 
[2026-09-05 18:12:24] local.INFO: Extracted packet for processing {"connection_id":172078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07196"} 
[2026-09-05 18:12:24] local.INFO: GPS Element Parsed {"raw_longitude":763312128,"raw_latitude":96870040,"longitude_deg":76.3312128,"latitude_deg":9.687004,"altitude":14,"angle":226,"satellites":27,"speed":6,"hex_longitude":"2d7f3800","hex_latitude":"05c61e98","is_valid_coordinates":true} 
[2026-09-05 18:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884699392001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128663158465232896,"note":"Value kept but may cause issues"} 
[2026-09-05 18:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167217803799758848,"note":"Value kept but may cause issues"} 
[2026-09-05 18:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788612108000,"timestamp_ms":1788612108000,"timestamp_seconds":1788612108,"priority":1,"record_length":96,"hex_timestamp":"000001a07196dee0"} 
[2026-09-05 18:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-05 18:12:24] 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-09-05 18:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884699392001,"66":13352,"100":206,"85":12288,"24":6,"16":128663158465232896,"45":9167217803799758848},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-09-05 18:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884699392001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:12:24] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-05 18:12:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128663158465232896,"km_value":128663158465232.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167217803799758848,"description":"Unknown IO ID 45"} 
[2026-09-05 18:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884699392001,"power":13352,"unknown_100":206,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":9167217803799758848}} 
[2026-09-05 18:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":172078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770461,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:12:25] local.INFO: GPS data processed {"connection_id":172078,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:12:25] local.INFO: Acknowledgment sent {"connection_id":172078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:12:33] local.INFO: TCP Data received {"connection_id":173198,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0719540d0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719540d0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:12:33] local.INFO: Processing buffer {"connection_id":173198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719540d0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:12:33] local.INFO: Packet analysis {"connection_id":173198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07195"} 
[2026-09-05 18:12:33] local.INFO: Extracted packet for processing {"connection_id":173198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07195"} 
[2026-09-05 18:12:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884595456001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788612002000,"timestamp_ms":1788612002000,"timestamp_seconds":1788612002,"priority":1,"record_length":96,"hex_timestamp":"000001a0719540d0"} 
[2026-09-05 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-09-05 18:12: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-09-05 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 18:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884595456001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884595456001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:12:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:12:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884595456001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":173198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:12:33] local.INFO: GPS data processed {"connection_id":173198,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:12:33] local.INFO: Acknowledgment sent {"connection_id":173198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:12:44] local.INFO: TCP Data received {"connection_id":171806,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:12:44] local.INFO: Processing buffer {"connection_id":171806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:12:44] local.INFO: IMEI packet received {"connection_id":171806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":171806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:12:49] local.INFO: TCP Data received {"connection_id":171806,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:12:49] local.INFO: Processing buffer {"connection_id":171806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:12:49] local.INFO: IMEI packet received {"connection_id":171806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":171806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:12:50] local.INFO: TCP Data received {"connection_id":171806,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07195f480012d181bc0072194600051011020..."} 
[2026-09-05 18:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07195f480012d181bc0072194600051011020..."} 
[2026-09-05 18:12:50] local.INFO: Processing buffer {"connection_id":171806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07195f480012d181bc0072194600051011020..."} 
[2026-09-05 18:12:50] local.INFO: Packet analysis {"connection_id":171806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07195"} 
[2026-09-05 18:12:50] local.INFO: Extracted packet for processing {"connection_id":171806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07195"} 
[2026-09-05 18:12:50] local.INFO: GPS Element Parsed {"raw_longitude":756554688,"raw_latitude":119641184,"longitude_deg":75.6554688,"latitude_deg":11.9641184,"altitude":81,"angle":272,"satellites":32,"speed":1,"hex_longitude":"2d181bc0","hex_latitude":"07219460","is_valid_coordinates":true} 
[2026-09-05 18:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884683776001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18044003719053312,"note":"Value kept but may cause issues"} 
[2026-09-05 18:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737333955630495744,"note":"Value kept but may cause issues"} 
[2026-09-05 18:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788612048000,"timestamp_ms":1788612048000,"timestamp_seconds":1788612048,"priority":1,"record_length":96,"hex_timestamp":"000001a07195f480"} 
[2026-09-05 18:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-05 18:12:50] 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-09-05 18:12:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:12:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884683776001,"66":12678,"105":206,"83":41984,"24":1,"16":18044003719053312,"45":1737333955630495744},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884683776001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:12:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:12:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18044003719053312,"km_value":18044003719053.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737333955630495744,"description":"Unknown IO ID 45"} 
[2026-09-05 18:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884683776001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1737333955630495744}} 
[2026-09-05 18:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":171806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:12:50] local.INFO: GPS data processed {"connection_id":171806,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:12:50] local.INFO: Acknowledgment sent {"connection_id":171806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:12:56] local.INFO: TCP Data received {"connection_id":172078,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07196ee80012d7f368005c61cd8000e00d51b..."} 
[2026-09-05 18:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07196ee80012d7f368005c61cd8000e00d51b..."} 
[2026-09-05 18:12:56] local.INFO: Processing buffer {"connection_id":172078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07196ee80012d7f368005c61cd8000e00d51b..."} 
[2026-09-05 18:12:56] local.INFO: Packet analysis {"connection_id":172078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07196"} 
[2026-09-05 18:12:56] local.INFO: Extracted packet for processing {"connection_id":172078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07196"} 
[2026-09-05 18:12:56] local.INFO: GPS Element Parsed {"raw_longitude":763311744,"raw_latitude":96869592,"longitude_deg":76.3311744,"latitude_deg":9.6869592,"altitude":14,"angle":213,"satellites":27,"speed":5,"hex_longitude":"2d7f3680","hex_latitude":"05c61cd8","is_valid_coordinates":true} 
[2026-09-05 18:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884699648001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128663188530003968,"note":"Value kept but may cause issues"} 
[2026-09-05 18:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167077066311374848,"note":"Value kept but may cause issues"} 
[2026-09-05 18:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788612112000,"timestamp_ms":1788612112000,"timestamp_seconds":1788612112,"priority":1,"record_length":96,"hex_timestamp":"000001a07196ee80"} 
[2026-09-05 18:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-05 18:12:56] 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-09-05 18:12:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884699648001,"66":13341,"100":206,"85":12288,"24":5,"16":128663188530003968,"45":9167077066311374848},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-09-05 18:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884699648001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:12:56] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-05 18:12:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128663188530003968,"km_value":128663188530003.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167077066311374848,"description":"Unknown IO ID 45"} 
[2026-09-05 18:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884699648001,"power":13341,"unknown_100":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":9167077066311374848}} 
[2026-09-05 18:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":172078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:12:56] local.INFO: GPS data processed {"connection_id":172078,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:12:56] local.INFO: Acknowledgment sent {"connection_id":172078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:13:01] local.INFO: TCP Data received {"connection_id":173199,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:13:01] local.INFO: Processing buffer {"connection_id":173199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:13:01] local.INFO: IMEI packet received {"connection_id":173199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":173199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:13:06] local.INFO: TCP Data received {"connection_id":173199,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:13:06] local.INFO: Processing buffer {"connection_id":173199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:13:06] local.INFO: IMEI packet received {"connection_id":173199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":173199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:13:11] local.INFO: TCP Data received {"connection_id":173199,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0719540d0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719540d0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:13:11] local.INFO: Processing buffer {"connection_id":173199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719540d0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:13:11] local.INFO: Packet analysis {"connection_id":173199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07195"} 
[2026-09-05 18:13:11] local.INFO: Extracted packet for processing {"connection_id":173199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07195"} 
[2026-09-05 18:13:11] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884595456001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788612002000,"timestamp_ms":1788612002000,"timestamp_seconds":1788612002,"priority":1,"record_length":96,"hex_timestamp":"000001a0719540d0"} 
[2026-09-05 18:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:13: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-09-05 18:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:13: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-09-05 18:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884595456001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884595456001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:13:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:13:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884595456001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":173199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:13:11] local.INFO: GPS data processed {"connection_id":173199,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:13:11] local.INFO: Acknowledgment sent {"connection_id":173199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:13:16] local.INFO: TCP Data received {"connection_id":173199,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0719540d0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719540d0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:13:16] local.INFO: Processing buffer {"connection_id":173199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719540d0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:13:16] local.INFO: Packet analysis {"connection_id":173199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07195"} 
[2026-09-05 18:13:16] local.INFO: Extracted packet for processing {"connection_id":173199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07195"} 
[2026-09-05 18:13:16] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884595456001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788612002000,"timestamp_ms":1788612002000,"timestamp_seconds":1788612002,"priority":1,"record_length":96,"hex_timestamp":"000001a0719540d0"} 
[2026-09-05 18:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 18:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:13:16] 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-09-05 18:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884595456001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884595456001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:13:16] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:13:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884595456001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":173199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:13:16] local.INFO: GPS data processed {"connection_id":173199,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:13:16] local.INFO: Acknowledgment sent {"connection_id":173199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:13:21] local.INFO: TCP Data received {"connection_id":171806,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071964688012d181b40072194180051011a25..."} 
[2026-09-05 18:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071964688012d181b40072194180051011a25..."} 
[2026-09-05 18:13:21] local.INFO: Processing buffer {"connection_id":171806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071964688012d181b40072194180051011a25..."} 
[2026-09-05 18:13:21] local.INFO: Packet analysis {"connection_id":171806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07196"} 
[2026-09-05 18:13:21] local.INFO: Extracted packet for processing {"connection_id":171806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07196"} 
[2026-09-05 18:13:21] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119641112,"longitude_deg":75.655456,"latitude_deg":11.9641112,"altitude":81,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d181b40","hex_latitude":"07219418","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884684288001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18044012308987904,"note":"Value kept but may cause issues"} 
[2026-09-05 18:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737193218142134272,"note":"Value kept but may cause issues"} 
[2026-09-05 18:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788612069000,"timestamp_ms":1788612069000,"timestamp_seconds":1788612069,"priority":1,"record_length":96,"hex_timestamp":"000001a071964688"} 
[2026-09-05 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-09-05 18:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 18:13:21] 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-09-05 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-09-05 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-09-05 18:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884684288001,"66":12635,"105":206,"83":41984,"24":0,"16":18044012308987904,"45":1737193218142134272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884684288001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:13:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:13:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18044012308987904,"km_value":18044012308987.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737193218142134272,"description":"Unknown IO ID 45"} 
[2026-09-05 18:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884684288001,"power":12635,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737193218142134272}} 
[2026-09-05 18:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":171806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:13:21] local.INFO: GPS data processed {"connection_id":171806,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:13:21] local.INFO: Acknowledgment sent {"connection_id":171806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:13:23] local.INFO: TCP Data received {"connection_id":171807,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171807,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:13:23] local.INFO: Processing buffer {"connection_id":171807,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:13:23] local.INFO: IMEI packet received {"connection_id":171807,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":171807,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:13:24] local.INFO: TCP Data received {"connection_id":171807,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171807,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:13:24] local.INFO: Processing buffer {"connection_id":171807,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:13:24] local.INFO: IMEI packet received {"connection_id":171807,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":171807,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:13:29] local.INFO: TCP Data received {"connection_id":171807,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171807,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:13:29] local.INFO: Processing buffer {"connection_id":171807,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:13:29] local.INFO: IMEI packet received {"connection_id":171807,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":171807,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:13:30] local.INFO: TCP Data received {"connection_id":171807,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07196fa38012d7f34c005c61b98000e00e715..."} 
[2026-09-05 18:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07196fa38012d7f34c005c61b98000e00e715..."} 
[2026-09-05 18:13:30] local.INFO: Processing buffer {"connection_id":171807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07196fa38012d7f34c005c61b98000e00e715..."} 
[2026-09-05 18:13:30] local.INFO: Packet analysis {"connection_id":171807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07196"} 
[2026-09-05 18:13:30] local.INFO: Extracted packet for processing {"connection_id":171807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07196"} 
[2026-09-05 18:13:30] local.INFO: GPS Element Parsed {"raw_longitude":763311296,"raw_latitude":96869272,"longitude_deg":76.3311296,"latitude_deg":9.6869272,"altitude":14,"angle":231,"satellites":21,"speed":7,"hex_longitude":"2d7f34c0","hex_latitude":"05c61b98","is_valid_coordinates":true} 
[2026-09-05 18:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884700672001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128663214299807744,"note":"Value kept but may cause issues"} 
[2026-09-05 18:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9166654853846194176,"note":"Value kept but may cause issues"} 
[2026-09-05 18:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788612115000,"timestamp_ms":1788612115000,"timestamp_seconds":1788612115,"priority":1,"record_length":96,"hex_timestamp":"000001a07196fa38"} 
[2026-09-05 18:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:13:30] 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-09-05 18:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-05 18:13:30] 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-09-05 18:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":171807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":171807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":171807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884700672001,"66":12885,"100":206,"85":12288,"24":7,"16":128663214299807744,"45":9166654853846194176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-09-05 18:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884700672001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:13:30] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-05 18:13:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128663214299807744,"km_value":128663214299807.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9166654853846194176,"description":"Unknown IO ID 45"} 
[2026-09-05 18:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884700672001,"power":12885,"unknown_100":206,"unknown_85":12288,"ignition":7,"odometer":null,"unknown_45":9166654853846194176}} 
[2026-09-05 18:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":171807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770468,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:13:30] local.INFO: GPS data processed {"connection_id":171807,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:13:30] local.INFO: Acknowledgment sent {"connection_id":171807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:13:44] local.INFO: TCP Data received {"connection_id":172079,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:13:44] local.INFO: Processing buffer {"connection_id":172079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:13:44] local.INFO: IMEI packet received {"connection_id":172079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":172079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:13:49] local.INFO: TCP Data received {"connection_id":172079,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:13:49] local.INFO: Processing buffer {"connection_id":172079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:13:49] local.INFO: IMEI packet received {"connection_id":172079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":172079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:13:50] local.INFO: TCP Data received {"connection_id":172079,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071969890012d181b40072194180051011a21..."} 
[2026-09-05 18:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071969890012d181b40072194180051011a21..."} 
[2026-09-05 18:13:50] local.INFO: Processing buffer {"connection_id":172079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071969890012d181b40072194180051011a21..."} 
[2026-09-05 18:13:50] local.INFO: Packet analysis {"connection_id":172079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07196"} 
[2026-09-05 18:13:50] local.INFO: Extracted packet for processing {"connection_id":172079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07196"} 
[2026-09-05 18:13:50] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119641112,"longitude_deg":75.655456,"latitude_deg":11.9641112,"altitude":81,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d181b40","hex_latitude":"07219418","is_valid_coordinates":true} 
[2026-09-05 18:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884689664001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18044012308987904,"note":"Value kept but may cause issues"} 
[2026-09-05 18:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480653760512,"note":"Value kept but may cause issues"} 
[2026-09-05 18:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788612090000,"timestamp_ms":1788612090000,"timestamp_seconds":1788612090,"priority":1,"record_length":96,"hex_timestamp":"000001a071969890"} 
[2026-09-05 18:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 18:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884689664001,"66":12645,"105":206,"83":41984,"24":0,"16":18044012308987904,"45":1737052480653760512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884689664001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:13:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:13:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18044012308987904,"km_value":18044012308987.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480653760512,"description":"Unknown IO ID 45"} 
[2026-09-05 18:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884689664001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737052480653760512}} 
[2026-09-05 18:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":172079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:13:50] local.INFO: GPS data processed {"connection_id":172079,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:13:50] local.INFO: Acknowledgment sent {"connection_id":172079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:13:56] local.INFO: TCP Data received {"connection_id":174520,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:13:56] local.INFO: Processing buffer {"connection_id":174520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:13:56] local.INFO: IMEI packet received {"connection_id":174520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":174520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:14:01] local.INFO: TCP Data received {"connection_id":174520,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:14:01] local.INFO: Processing buffer {"connection_id":174520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:14:01] local.INFO: IMEI packet received {"connection_id":174520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":174520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:14:01] local.INFO: TCP Data received {"connection_id":171807,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071987908012d7e4b4005c637680010010a19..."} 
[2026-09-05 18:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071987908012d7e4b4005c637680010010a19..."} 
[2026-09-05 18:14:01] local.INFO: Processing buffer {"connection_id":171807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071987908012d7e4b4005c637680010010a19..."} 
[2026-09-05 18:14:01] local.INFO: Packet analysis {"connection_id":171807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07198"} 
[2026-09-05 18:14:01] local.INFO: Extracted packet for processing {"connection_id":171807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07198"} 
[2026-09-05 18:14:01] local.INFO: GPS Element Parsed {"raw_longitude":763251520,"raw_latitude":96876392,"longitude_deg":76.325152,"latitude_deg":9.6876392,"altitude":16,"angle":266,"satellites":25,"speed":25,"hex_longitude":"2d7e4b40","hex_latitude":"05c63768","is_valid_coordinates":true} 
[2026-09-05 18:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884723456001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128666152057438208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9110922808459292672,"note":"Value kept but may cause issues"} 
[2026-09-05 18:14:01] 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-09-05 18:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788612213000,"timestamp_ms":1788612213000,"timestamp_seconds":1788612213,"priority":1,"record_length":96,"hex_timestamp":"000001a071987908"} 
[2026-09-05 18:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:14:01] 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-09-05 18:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-05 18:14:01] 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-09-05 18:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884723456001,"66":13276,"89":206,"85":12288,"24":25,"16":128666152057438208,"45":9110922808459292672},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-09-05 18:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884723456001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:14:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-05 18:14:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128666152057438208,"km_value":128666152057438.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9110922808459292672,"description":"Unknown IO ID 45"} 
[2026-09-05 18:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884723456001,"power":13276,"unknown_89":206,"unknown_85":12288,"ignition":25,"odometer":null,"unknown_45":9110922808459292672}} 
[2026-09-05 18:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":171807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770470,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:14:01] local.INFO: GPS data processed {"connection_id":171807,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:14:01] local.INFO: Acknowledgment sent {"connection_id":171807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:14:01] local.INFO: TCP Data received {"connection_id":174520,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0719540d0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719540d0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:14:01] local.INFO: Processing buffer {"connection_id":174520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719540d0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:14:01] local.INFO: Packet analysis {"connection_id":174520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07195"} 
[2026-09-05 18:14:01] local.INFO: Extracted packet for processing {"connection_id":174520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07195"} 
[2026-09-05 18:14:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884595456001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788612002000,"timestamp_ms":1788612002000,"timestamp_seconds":1788612002,"priority":1,"record_length":96,"hex_timestamp":"000001a0719540d0"} 
[2026-09-05 18:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:14:01] 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-09-05 18:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884595456001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884595456001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:14:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:14:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884595456001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":174520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:14:01] local.INFO: GPS data processed {"connection_id":174520,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:14:01] local.INFO: Acknowledgment sent {"connection_id":174520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:14:19] local.INFO: TCP Data received {"connection_id":173200,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173200,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:14:19] local.INFO: Processing buffer {"connection_id":173200,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:14:19] local.INFO: IMEI packet received {"connection_id":173200,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":173200,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:14:21] local.INFO: TCP Data received {"connection_id":172079,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07196ea98012d181b40072194180051011a1f..."} 
[2026-09-05 18:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07196ea98012d181b40072194180051011a1f..."} 
[2026-09-05 18:14:21] local.INFO: Processing buffer {"connection_id":172079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07196ea98012d181b40072194180051011a1f..."} 
[2026-09-05 18:14:21] local.INFO: Packet analysis {"connection_id":172079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07196"} 
[2026-09-05 18:14:21] local.INFO: Extracted packet for processing {"connection_id":172079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07196"} 
[2026-09-05 18:14:21] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119641112,"longitude_deg":75.655456,"latitude_deg":11.9641112,"altitude":81,"angle":282,"satellites":31,"speed":0,"hex_longitude":"2d181b40","hex_latitude":"07219418","is_valid_coordinates":true} 
[2026-09-05 18:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884695040001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18044012308987904,"note":"Value kept but may cause issues"} 
[2026-09-05 18:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480653760512,"note":"Value kept but may cause issues"} 
[2026-09-05 18:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788612111000,"timestamp_ms":1788612111000,"timestamp_seconds":1788612111,"priority":1,"record_length":96,"hex_timestamp":"000001a07196ea98"} 
[2026-09-05 18:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-05 18:14:21] 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-09-05 18:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884695040001,"66":12591,"105":206,"83":41984,"24":0,"16":18044012308987904,"45":1737052480653760512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884695040001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:14:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:14:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18044012308987904,"km_value":18044012308987.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480653760512,"description":"Unknown IO ID 45"} 
[2026-09-05 18:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884695040001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737052480653760512}} 
[2026-09-05 18:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":172079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:14:21] local.INFO: GPS data processed {"connection_id":172079,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:14:21] local.INFO: Acknowledgment sent {"connection_id":172079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:14:24] local.INFO: TCP Data received {"connection_id":173200,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173200,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:14:24] local.INFO: Processing buffer {"connection_id":173200,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:14:24] local.INFO: IMEI packet received {"connection_id":173200,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":173200,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:14:25] local.INFO: TCP Data received {"connection_id":173200,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07198afb8012d7e2ac005c63720000d011519..."} 
[2026-09-05 18:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07198afb8012d7e2ac005c63720000d011519..."} 
[2026-09-05 18:14:25] local.INFO: Processing buffer {"connection_id":173200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07198afb8012d7e2ac005c63720000d011519..."} 
[2026-09-05 18:14:25] local.INFO: Packet analysis {"connection_id":173200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07198"} 
[2026-09-05 18:14:25] local.INFO: Extracted packet for processing {"connection_id":173200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07198"} 
[2026-09-05 18:14:25] local.INFO: GPS Element Parsed {"raw_longitude":763243200,"raw_latitude":96876320,"longitude_deg":76.32432,"latitude_deg":9.687632,"altitude":13,"angle":277,"satellites":25,"speed":34,"hex_longitude":"2d7e2ac0","hex_latitude":"05c63720","is_valid_coordinates":true} 
[2026-09-05 18:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884726528001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128666551489396736,"note":"Value kept but may cause issues"} 
[2026-09-05 18:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9100437865576753152,"note":"Value kept but may cause issues"} 
[2026-09-05 18:14:25] 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-09-05 18:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788612227000,"timestamp_ms":1788612227000,"timestamp_seconds":1788612227,"priority":1,"record_length":96,"hex_timestamp":"000001a07198afb8"} 
[2026-09-05 18:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:14:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-05 18:14:25] 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-09-05 18:14:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:14:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884726528001,"66":13624,"89":206,"85":12288,"24":34,"16":128666551489396736,"45":9100437865576753152},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-09-05 18:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884726528001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:14:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-05 18:14:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128666551489396736,"km_value":128666551489396.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9100437865576753152,"description":"Unknown IO ID 45"} 
[2026-09-05 18:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884726528001,"power":13624,"unknown_89":206,"unknown_85":12288,"ignition":34,"odometer":null,"unknown_45":9100437865576753152}} 
[2026-09-05 18:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":173200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:14:25] local.INFO: GPS data processed {"connection_id":173200,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:14:25] local.INFO: Acknowledgment sent {"connection_id":173200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:14:33] local.INFO: TCP Data received {"connection_id":174520,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0719540d0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719540d0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:14:33] local.INFO: Processing buffer {"connection_id":174520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719540d0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:14:33] local.INFO: Packet analysis {"connection_id":174520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07195"} 
[2026-09-05 18:14:33] local.INFO: Extracted packet for processing {"connection_id":174520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07195"} 
[2026-09-05 18:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884595456001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788612002000,"timestamp_ms":1788612002000,"timestamp_seconds":1788612002,"priority":1,"record_length":96,"hex_timestamp":"000001a0719540d0"} 
[2026-09-05 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-09-05 18:14: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-09-05 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 18:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884595456001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884595456001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:14:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:14:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884595456001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":174520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:14:33] local.INFO: GPS data processed {"connection_id":174520,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:14:33] local.INFO: Acknowledgment sent {"connection_id":174520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:14:44] local.INFO: TCP Data received {"connection_id":174521,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:14:44] local.INFO: Processing buffer {"connection_id":174521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:14:44] local.INFO: IMEI packet received {"connection_id":174521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":174521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:14:49] local.INFO: TCP Data received {"connection_id":174521,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:14:49] local.INFO: Processing buffer {"connection_id":174521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:14:49] local.INFO: IMEI packet received {"connection_id":174521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":174521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:14:50] local.INFO: TCP Data received {"connection_id":174521,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071973ca0012d181b40072194180051011a25..."} 
[2026-09-05 18:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071973ca0012d181b40072194180051011a25..."} 
[2026-09-05 18:14:50] local.INFO: Processing buffer {"connection_id":174521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071973ca0012d181b40072194180051011a25..."} 
[2026-09-05 18:14:50] local.INFO: Packet analysis {"connection_id":174521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07197"} 
[2026-09-05 18:14:50] local.INFO: Extracted packet for processing {"connection_id":174521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07197"} 
[2026-09-05 18:14:50] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119641112,"longitude_deg":75.655456,"latitude_deg":11.9641112,"altitude":81,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d181b40","hex_latitude":"07219418","is_valid_coordinates":true} 
[2026-09-05 18:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884700416001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18044012308987904,"note":"Value kept but may cause issues"} 
[2026-09-05 18:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480653760512,"note":"Value kept but may cause issues"} 
[2026-09-05 18:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788612132000,"timestamp_ms":1788612132000,"timestamp_seconds":1788612132,"priority":1,"record_length":96,"hex_timestamp":"000001a071973ca0"} 
[2026-09-05 18:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 18:14:50] 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-09-05 18:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884700416001,"66":12548,"105":206,"83":41984,"24":0,"16":18044012308987904,"45":1737052480653760512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884700416001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:14:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:14:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18044012308987904,"km_value":18044012308987.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480653760512,"description":"Unknown IO ID 45"} 
[2026-09-05 18:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884700416001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737052480653760512}} 
[2026-09-05 18:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":174521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:14:50] local.INFO: GPS data processed {"connection_id":174521,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:14:50] local.INFO: Acknowledgment sent {"connection_id":174521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:14:56] local.INFO: TCP Data received {"connection_id":172080,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:14:56] local.INFO: Processing buffer {"connection_id":172080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:14:56] local.INFO: IMEI packet received {"connection_id":172080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":172080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:14:56] local.INFO: TCP Data received {"connection_id":173200,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07198d2e0012d7e070005c63da0000c01171a..."} 
[2026-09-05 18:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07198d2e0012d7e070005c63da0000c01171a..."} 
[2026-09-05 18:14:56] local.INFO: Processing buffer {"connection_id":173200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07198d2e0012d7e070005c63da0000c01171a..."} 
[2026-09-05 18:14:56] local.INFO: Packet analysis {"connection_id":173200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07198"} 
[2026-09-05 18:14:56] local.INFO: Extracted packet for processing {"connection_id":173200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07198"} 
[2026-09-05 18:14:56] local.INFO: GPS Element Parsed {"raw_longitude":763234048,"raw_latitude":96877984,"longitude_deg":76.3234048,"latitude_deg":9.6877984,"altitude":12,"angle":279,"satellites":26,"speed":38,"hex_longitude":"2d7e0700","hex_latitude":"05c63da0","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884730112001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128666993871028224,"note":"Value kept but may cause issues"} 
[2026-09-05 18:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091289928833638400,"note":"Value kept but may cause issues"} 
[2026-09-05 18:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788612236000,"timestamp_ms":1788612236000,"timestamp_seconds":1788612236,"priority":1,"record_length":96,"hex_timestamp":"000001a07198d2e0"} 
[2026-09-05 18:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:14:56] 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-09-05 18: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-05 18:14:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18: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-09-05 18:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884730112001,"66":13559,"89":206,"85":12288,"24":38,"16":128666993871028224,"45":9091289928833638400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-09-05 18:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884730112001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:14:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-05 18:14:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128666993871028224,"km_value":128666993871028.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091289928833638400,"description":"Unknown IO ID 45"} 
[2026-09-05 18:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884730112001,"power":13559,"unknown_89":206,"unknown_85":12288,"ignition":38,"odometer":null,"unknown_45":9091289928833638400}} 
[2026-09-05 18:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":173200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770476,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:14:56] local.INFO: GPS data processed {"connection_id":173200,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:14:56] local.INFO: Acknowledgment sent {"connection_id":173200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:15:01] local.INFO: TCP Data received {"connection_id":172080,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:15:01] local.INFO: Processing buffer {"connection_id":172080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:15:01] local.INFO: IMEI packet received {"connection_id":172080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":172080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:15:02] local.INFO: TCP Data received {"connection_id":172080,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0719540d0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719540d0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:15:02] local.INFO: Processing buffer {"connection_id":172080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719540d0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:15:02] local.INFO: Packet analysis {"connection_id":172080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07195"} 
[2026-09-05 18:15:02] local.INFO: Extracted packet for processing {"connection_id":172080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07195"} 
[2026-09-05 18:15:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884595456001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788612002000,"timestamp_ms":1788612002000,"timestamp_seconds":1788612002,"priority":1,"record_length":96,"hex_timestamp":"000001a0719540d0"} 
[2026-09-05 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-09-05 18:15:02] 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-09-05 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 18:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884595456001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884595456001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:15:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:15:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884595456001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":172080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:15:02] local.INFO: GPS data processed {"connection_id":172080,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:15:02] local.INFO: Acknowledgment sent {"connection_id":172080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:15:19] local.INFO: TCP Data received {"connection_id":174522,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174522,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:15:19] local.INFO: Processing buffer {"connection_id":174522,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:15:19] local.INFO: IMEI packet received {"connection_id":174522,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":174522,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:15:19] local.INFO: TCP Data received {"connection_id":174522,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174522,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:15:19] local.INFO: Processing buffer {"connection_id":174522,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:15:19] local.INFO: IMEI packet received {"connection_id":174522,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":174522,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:15:21] local.INFO: TCP Data received {"connection_id":174521,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071978ea8012d181b40072194180051011a1f..."} 
[2026-09-05 18:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071978ea8012d181b40072194180051011a1f..."} 
[2026-09-05 18:15:21] local.INFO: Processing buffer {"connection_id":174521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071978ea8012d181b40072194180051011a1f..."} 
[2026-09-05 18:15:21] local.INFO: Packet analysis {"connection_id":174521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07197"} 
[2026-09-05 18:15:21] local.INFO: Extracted packet for processing {"connection_id":174521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07197"} 
[2026-09-05 18:15:21] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119641112,"longitude_deg":75.655456,"latitude_deg":11.9641112,"altitude":81,"angle":282,"satellites":31,"speed":0,"hex_longitude":"2d181b40","hex_latitude":"07219418","is_valid_coordinates":true} 
[2026-09-05 18:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884705792001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18044012308987904,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480653760512,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788612153000,"timestamp_ms":1788612153000,"timestamp_seconds":1788612153,"priority":1,"record_length":96,"hex_timestamp":"000001a071978ea8"} 
[2026-09-05 18:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 18:15:21] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:21] local.WARNING: Large IO value detected {"io_id":26,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:21] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2489319505,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184204828877,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-05 18:15:21] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:21] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748906,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:21] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:21] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,26,160,234,45,64,148,81,31,10,66,152,33,70,1,240,91,227,113,4,205,236,28,120,32,239,49,2,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-05 18:15:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5836975338264985600,"timestamp_seconds":5836975338264986.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 18:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884705792001,"66":12537,"105":206,"83":41984,"24":0,"16":18044012308987904,"45":1737052480653760512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884705792001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:15:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:15:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18044012308987904,"km_value":18044012308987.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480653760512,"description":"Unknown IO ID 45"} 
[2026-09-05 18:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884705792001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737052480653760512}} 
[2026-09-05 18:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":174521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:15:21] local.INFO: GPS data processed {"connection_id":174521,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:15:21] local.INFO: Acknowledgment sent {"connection_id":174521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:15:24] local.INFO: TCP Data received {"connection_id":174522,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174522,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:15:24] local.INFO: Processing buffer {"connection_id":174522,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:15:24] local.INFO: IMEI packet received {"connection_id":174522,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":174522,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:15:25] local.INFO: TCP Data received {"connection_id":174522,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07198f608012d7de24005c64278000e010b1a..."} 
[2026-09-05 18:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07198f608012d7de24005c64278000e010b1a..."} 
[2026-09-05 18:15:25] local.INFO: Processing buffer {"connection_id":174522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07198f608012d7de24005c64278000e010b1a..."} 
[2026-09-05 18:15:25] local.INFO: Packet analysis {"connection_id":174522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07198"} 
[2026-09-05 18:15:25] local.INFO: Extracted packet for processing {"connection_id":174522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07198"} 
[2026-09-05 18:15:25] local.INFO: GPS Element Parsed {"raw_longitude":763224640,"raw_latitude":96879224,"longitude_deg":76.322464,"latitude_deg":9.6879224,"altitude":14,"angle":267,"satellites":26,"speed":41,"hex_longitude":"2d7de240","hex_latitude":"05c64278","is_valid_coordinates":true} 
[2026-09-05 18:15: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-09-05 18:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884732416001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128667449137561600,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9081227198416658432,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:25] 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-09-05 18:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788612245000,"timestamp_ms":1788612245000,"timestamp_seconds":1788612245,"priority":1,"record_length":96,"hex_timestamp":"000001a07198f608"} 
[2026-09-05 18:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:15:25] 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-09-05 18:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-05 18:15:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:15: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-09-05 18:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:15:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884732416001,"66":13765,"89":206,"85":12288,"24":41,"16":128667449137561600,"45":9081227198416658432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-09-05 18:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884732416001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:15:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-05 18:15:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128667449137561600,"km_value":128667449137561.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9081227198416658432,"description":"Unknown IO ID 45"} 
[2026-09-05 18:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884732416001,"power":13765,"unknown_89":206,"unknown_85":12288,"ignition":41,"odometer":null,"unknown_45":9081227198416658432}} 
[2026-09-05 18:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":174522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:15:25] local.INFO: GPS data processed {"connection_id":174522,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:15:25] local.INFO: Acknowledgment sent {"connection_id":174522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:15:33] local.INFO: TCP Data received {"connection_id":172080,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0719540d0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719540d0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:15:33] local.INFO: Processing buffer {"connection_id":172080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719540d0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:15:33] local.INFO: Packet analysis {"connection_id":172080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07195"} 
[2026-09-05 18:15:33] local.INFO: Extracted packet for processing {"connection_id":172080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07195"} 
[2026-09-05 18:15:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884595456001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788612002000,"timestamp_ms":1788612002000,"timestamp_seconds":1788612002,"priority":1,"record_length":96,"hex_timestamp":"000001a0719540d0"} 
[2026-09-05 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-09-05 18:15: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-09-05 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 18:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884595456001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884595456001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:15:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:15:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884595456001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":172080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:15:33] local.INFO: GPS data processed {"connection_id":172080,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:15:33] local.INFO: Acknowledgment sent {"connection_id":172080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:15:49] local.INFO: TCP Data received {"connection_id":171808,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:15:49] local.INFO: Processing buffer {"connection_id":171808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:15:49] local.INFO: IMEI packet received {"connection_id":171808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":171808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:15:54] local.INFO: TCP Data received {"connection_id":171808,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:15:54] local.INFO: Processing buffer {"connection_id":171808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:15:54] local.INFO: IMEI packet received {"connection_id":171808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":171808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:15:55] local.INFO: TCP Data received {"connection_id":171808,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07197e0b0012d181b40072194180051011a20..."} 
[2026-09-05 18:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07197e0b0012d181b40072194180051011a20..."} 
[2026-09-05 18:15:55] local.INFO: Processing buffer {"connection_id":171808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07197e0b0012d181b40072194180051011a20..."} 
[2026-09-05 18:15:55] local.INFO: Packet analysis {"connection_id":171808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07197"} 
[2026-09-05 18:15:55] local.INFO: Extracted packet for processing {"connection_id":171808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07197"} 
[2026-09-05 18:15:55] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119641112,"longitude_deg":75.655456,"latitude_deg":11.9641112,"altitude":81,"angle":282,"satellites":32,"speed":0,"hex_longitude":"2d181b40","hex_latitude":"07219418","is_valid_coordinates":true} 
[2026-09-05 18:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884711168001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18044012308987904,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480653760512,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788612174000,"timestamp_ms":1788612174000,"timestamp_seconds":1788612174,"priority":1,"record_length":96,"hex_timestamp":"000001a07197e0b0"} 
[2026-09-05 18:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-05 18:15:55] 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-09-05 18:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884711168001,"66":12504,"105":206,"83":41984,"24":0,"16":18044012308987904,"45":1737052480653760512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884711168001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:15:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:15:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18044012308987904,"km_value":18044012308987.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480653760512,"description":"Unknown IO ID 45"} 
[2026-09-05 18:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884711168001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737052480653760512}} 
[2026-09-05 18:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":171808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:15:55] local.INFO: GPS data processed {"connection_id":171808,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:15:55] local.INFO: Acknowledgment sent {"connection_id":171808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:15:55] local.INFO: TCP Data received {"connection_id":171809,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:15:55] local.INFO: Processing buffer {"connection_id":171809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:15:55] local.INFO: IMEI packet received {"connection_id":171809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":171809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:15:57] local.INFO: TCP Data received {"connection_id":174522,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0719a3a40012d7d334005c5f270000700ab19..."} 
[2026-09-05 18:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719a3a40012d7d334005c5f270000700ab19..."} 
[2026-09-05 18:15:57] local.INFO: Processing buffer {"connection_id":174522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719a3a40012d7d334005c5f270000700ab19..."} 
[2026-09-05 18:15:57] local.INFO: Packet analysis {"connection_id":174522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719a"} 
[2026-09-05 18:15:57] local.INFO: Extracted packet for processing {"connection_id":174522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719a"} 
[2026-09-05 18:15:57] local.INFO: GPS Element Parsed {"raw_longitude":763179840,"raw_latitude":96858736,"longitude_deg":76.317984,"latitude_deg":9.6858736,"altitude":7,"angle":171,"satellites":25,"speed":26,"hex_longitude":"2d7d3340","hex_latitude":"05c5f270","is_valid_coordinates":true} 
[2026-09-05 18:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884753152001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128670459909636096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021484134606882816,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:57] 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-09-05 18:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788612328000,"timestamp_ms":1788612328000,"timestamp_seconds":1788612328,"priority":1,"record_length":96,"hex_timestamp":"000001a0719a3a40"} 
[2026-09-05 18:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-05 18:15:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:57] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13522224,"corrected_to":0} 
[2026-09-05 18:15:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":63489,"corrected_to":0} 
[2026-09-05 18:15:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:57] local.WARNING: Large IO value detected {"io_id":198,"raw_value":4143311704442804736,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1391853774,"corrected_to":0} 
[2026-09-05 18:15:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3325581312,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:57] local.WARNING: Large IO value detected {"io_id":46,"raw_value":57793586754639152,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:57] local.WARNING: Large IO value detected {"io_id":153,"raw_value":6881501525512421381,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:57] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,229,85,24,241,157,16,32,160,208,45,64,51,11,26,10,66,246,200,53,12,193,128,1,240,116,227,113,198,4,205,7,185,52,104,25,239,2,201,5,41,46,153],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":246,"original":13522224,"validated":0},{"io_id":200,"original":63489,"validated":0},{"io_id":205,"original":1391853774,"validated":0}]} 
[2026-09-05 18:15:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720776163166650368,"timestamp_seconds":720776163166650.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 18:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884753152001,"66":13135,"229":206,"85":12288,"24":26,"16":128670459909636096,"45":9021484134606882816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 18:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884753152001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:15:57] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 18:15:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128670459909636096,"km_value":128670459909636.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021484134606882816,"description":"Unknown IO ID 45"} 
[2026-09-05 18:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884753152001,"power":13135,"unknown_229":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":9021484134606882816}} 
[2026-09-05 18:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":174522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770482,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:15:57] local.INFO: GPS data processed {"connection_id":174522,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:15:57] local.INFO: Acknowledgment sent {"connection_id":174522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:15:59] local.INFO: TCP Data received {"connection_id":171808,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0719832b8012d181b40072194180051011a26..."} 
[2026-09-05 18:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719832b8012d181b40072194180051011a26..."} 
[2026-09-05 18:15:59] local.INFO: Processing buffer {"connection_id":171808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719832b8012d181b40072194180051011a26..."} 
[2026-09-05 18:15:59] local.INFO: Packet analysis {"connection_id":171808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07198"} 
[2026-09-05 18:15:59] local.INFO: Extracted packet for processing {"connection_id":171808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07198"} 
[2026-09-05 18:15:59] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119641112,"longitude_deg":75.655456,"latitude_deg":11.9641112,"altitude":81,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d181b40","hex_latitude":"07219418","is_valid_coordinates":true} 
[2026-09-05 18:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884716544001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18044012308987904,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480653760512,"note":"Value kept but may cause issues"} 
[2026-09-05 18:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788612195000,"timestamp_ms":1788612195000,"timestamp_seconds":1788612195,"priority":1,"record_length":96,"hex_timestamp":"000001a0719832b8"} 
[2026-09-05 18:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 18:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884716544001,"66":12504,"105":206,"83":41984,"24":0,"16":18044012308987904,"45":1737052480653760512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884716544001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:15:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:15:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18044012308987904,"km_value":18044012308987.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480653760512,"description":"Unknown IO ID 45"} 
[2026-09-05 18:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884716544001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737052480653760512}} 
[2026-09-05 18:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":171808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:15:59] local.INFO: GPS data processed {"connection_id":171808,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:15:59] local.INFO: Acknowledgment sent {"connection_id":171808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:16:00] local.INFO: TCP Data received {"connection_id":171809,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:16:00] local.INFO: Processing buffer {"connection_id":171809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:16:00] local.INFO: IMEI packet received {"connection_id":171809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":171809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:16:01] local.INFO: TCP Data received {"connection_id":171809,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07199d4b0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07199d4b0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:16:01] local.INFO: Processing buffer {"connection_id":171809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07199d4b0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:16:01] local.INFO: Packet analysis {"connection_id":171809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07199"} 
[2026-09-05 18:16:01] local.INFO: Extracted packet for processing {"connection_id":171809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07199"} 
[2026-09-05 18:16:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884672512001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788612302000,"timestamp_ms":1788612302000,"timestamp_seconds":1788612302,"priority":1,"record_length":96,"hex_timestamp":"000001a07199d4b0"} 
[2026-09-05 18:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:16:01] 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-09-05 18:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 18:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884672512001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884672512001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:16:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:16:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884672512001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":171809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:16:01] local.INFO: GPS data processed {"connection_id":171809,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:16:01] local.INFO: Acknowledgment sent {"connection_id":171809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:16:19] local.INFO: TCP Data received {"connection_id":172081,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:16:19] local.INFO: Processing buffer {"connection_id":172081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:16:19] local.INFO: IMEI packet received {"connection_id":172081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":172081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:16:19] local.INFO: TCP Data received {"connection_id":172081,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:16:19] local.INFO: Processing buffer {"connection_id":172081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:16:19] local.INFO: IMEI packet received {"connection_id":172081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":172081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:16:24] local.INFO: TCP Data received {"connection_id":172081,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:16:24] local.INFO: Processing buffer {"connection_id":172081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:16:24] local.INFO: IMEI packet received {"connection_id":172081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":172081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:16:25] local.INFO: TCP Data received {"connection_id":172081,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0719a6538012d7d38c005c5cea0000600ac19..."} 
[2026-09-05 18:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719a6538012d7d38c005c5cea0000600ac19..."} 
[2026-09-05 18:16:25] local.INFO: Processing buffer {"connection_id":172081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719a6538012d7d38c005c5cea0000600ac19..."} 
[2026-09-05 18:16:25] local.INFO: Packet analysis {"connection_id":172081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719a"} 
[2026-09-05 18:16:25] local.INFO: Extracted packet for processing {"connection_id":172081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719a"} 
[2026-09-05 18:16:25] local.INFO: GPS Element Parsed {"raw_longitude":763181248,"raw_latitude":96849568,"longitude_deg":76.3181248,"latitude_deg":9.6849568,"altitude":6,"angle":172,"satellites":25,"speed":36,"hex_longitude":"2d7d38c0","hex_latitude":"05c5cea0","is_valid_coordinates":true} 
[2026-09-05 18:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884755968001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128670906586234880,"note":"Value kept but may cause issues"} 
[2026-09-05 18:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021624872093249536,"note":"Value kept but may cause issues"} 
[2026-09-05 18:16:25] 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-09-05 18:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788612339000,"timestamp_ms":1788612339000,"timestamp_seconds":1788612339,"priority":1,"record_length":96,"hex_timestamp":"000001a0719a6538"} 
[2026-09-05 18:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:16:25] 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-09-05 18:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-05 18:16:25] 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-09-05 18:16:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:16:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884755968001,"66":13363,"229":206,"85":12288,"24":36,"16":128670906586234880,"45":9021624872093249536},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 18:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884755968001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:16:25] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 18:16:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128670906586234880,"km_value":128670906586234.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021624872093249536,"description":"Unknown IO ID 45"} 
[2026-09-05 18:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884755968001,"power":13363,"unknown_229":206,"unknown_85":12288,"ignition":36,"odometer":null,"unknown_45":9021624872093249536}} 
[2026-09-05 18:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":172081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770485,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:16:25] local.INFO: GPS data processed {"connection_id":172081,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:16:25] local.INFO: Acknowledgment sent {"connection_id":172081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:16:33] local.INFO: TCP Data received {"connection_id":171809,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07199d4b0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07199d4b0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:16:33] local.INFO: Processing buffer {"connection_id":171809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07199d4b0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:16:33] local.INFO: Packet analysis {"connection_id":171809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07199"} 
[2026-09-05 18:16:33] local.INFO: Extracted packet for processing {"connection_id":171809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07199"} 
[2026-09-05 18:16:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884672512001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788612302000,"timestamp_ms":1788612302000,"timestamp_seconds":1788612302,"priority":1,"record_length":96,"hex_timestamp":"000001a07199d4b0"} 
[2026-09-05 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-09-05 18:16: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-09-05 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 18:16: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-09-05 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-09-05 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-09-05 18:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884672512001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884672512001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:16:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:16:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884672512001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":171809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:16:33] local.INFO: GPS data processed {"connection_id":171809,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:16:33] local.INFO: Acknowledgment sent {"connection_id":171809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:16:41] local.INFO: TCP Data received {"connection_id":173201,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:16:41] local.INFO: Processing buffer {"connection_id":173201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:16:41] local.INFO: IMEI packet received {"connection_id":173201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":173201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:16:44] local.INFO: TCP Data received {"connection_id":173201,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:16:44] local.INFO: Processing buffer {"connection_id":173201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:16:44] local.INFO: IMEI packet received {"connection_id":173201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":173201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:16:49] local.INFO: TCP Data received {"connection_id":173201,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:16:49] local.INFO: Processing buffer {"connection_id":173201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:16:49] local.INFO: IMEI packet received {"connection_id":173201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":173201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:16:50] local.INFO: TCP Data received {"connection_id":173201,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0719884c0012d181b40072194180051011a24..."} 
[2026-09-05 18:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719884c0012d181b40072194180051011a24..."} 
[2026-09-05 18:16:50] local.INFO: Processing buffer {"connection_id":173201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719884c0012d181b40072194180051011a24..."} 
[2026-09-05 18:16:50] local.INFO: Packet analysis {"connection_id":173201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07198"} 
[2026-09-05 18:16:50] local.INFO: Extracted packet for processing {"connection_id":173201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07198"} 
[2026-09-05 18:16:50] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119641112,"longitude_deg":75.655456,"latitude_deg":11.9641112,"altitude":81,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d181b40","hex_latitude":"07219418","is_valid_coordinates":true} 
[2026-09-05 18:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884721920001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18044012308987904,"note":"Value kept but may cause issues"} 
[2026-09-05 18:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480653760512,"note":"Value kept but may cause issues"} 
[2026-09-05 18:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788612216000,"timestamp_ms":1788612216000,"timestamp_seconds":1788612216,"priority":1,"record_length":96,"hex_timestamp":"000001a0719884c0"} 
[2026-09-05 18:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 18:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884721920001,"66":12461,"105":206,"83":41984,"24":0,"16":18044012308987904,"45":1737052480653760512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884721920001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:16:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:16:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18044012308987904,"km_value":18044012308987.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480653760512,"description":"Unknown IO ID 45"} 
[2026-09-05 18:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884721920001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737052480653760512}} 
[2026-09-05 18:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":173201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:16:50] local.INFO: GPS data processed {"connection_id":173201,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:16:50] local.INFO: Acknowledgment sent {"connection_id":173201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:16:55] local.INFO: TCP Data received {"connection_id":174523,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:16:55] local.INFO: Processing buffer {"connection_id":174523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:16:55] local.INFO: IMEI packet received {"connection_id":174523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":174523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:16:56] local.INFO: TCP Data received {"connection_id":172081,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0719a9418012d7d408005c5abc8000800ad1a..."} 
[2026-09-05 18:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719a9418012d7d408005c5abc8000800ad1a..."} 
[2026-09-05 18:16:56] local.INFO: Processing buffer {"connection_id":172081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719a9418012d7d408005c5abc8000800ad1a..."} 
[2026-09-05 18:16:56] local.INFO: Packet analysis {"connection_id":172081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719a"} 
[2026-09-05 18:16:56] local.INFO: Extracted packet for processing {"connection_id":172081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719a"} 
[2026-09-05 18:16:56] local.INFO: GPS Element Parsed {"raw_longitude":763183232,"raw_latitude":96840648,"longitude_deg":76.3183232,"latitude_deg":9.6840648,"altitude":8,"angle":173,"satellites":26,"speed":24,"hex_longitude":"2d7d4080","hex_latitude":"05c5abc8","is_valid_coordinates":true} 
[2026-09-05 18:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884758784001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128671353262833664,"note":"Value kept but may cause issues"} 
[2026-09-05 18:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023172984462811136,"note":"Value kept but may cause issues"} 
[2026-09-05 18:16:56] 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-09-05 18:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788612351000,"timestamp_ms":1788612351000,"timestamp_seconds":1788612351,"priority":1,"record_length":96,"hex_timestamp":"000001a0719a9418"} 
[2026-09-05 18:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:16:56] 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-09-05 18:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-05 18:16:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:16:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884758784001,"66":13722,"229":206,"85":12288,"24":24,"16":128671353262833664,"45":9023172984462811136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 18:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884758784001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:16:56] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 18:16:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128671353262833664,"km_value":128671353262833.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023172984462811136,"description":"Unknown IO ID 45"} 
[2026-09-05 18:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884758784001,"power":13722,"unknown_229":206,"unknown_85":12288,"ignition":24,"odometer":null,"unknown_45":9023172984462811136}} 
[2026-09-05 18:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":172081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770488,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:16:56] local.INFO: GPS data processed {"connection_id":172081,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:16:56] local.INFO: Acknowledgment sent {"connection_id":172081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:17:01] local.INFO: TCP Data received {"connection_id":174523,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:17:01] local.INFO: Processing buffer {"connection_id":174523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:17:01] local.INFO: IMEI packet received {"connection_id":174523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":174523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:17:02] local.INFO: TCP Data received {"connection_id":174523,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07199d4b0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07199d4b0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:17:02] local.INFO: Processing buffer {"connection_id":174523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07199d4b0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:17:02] local.INFO: Packet analysis {"connection_id":174523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07199"} 
[2026-09-05 18:17:02] local.INFO: Extracted packet for processing {"connection_id":174523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07199"} 
[2026-09-05 18:17:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884672512001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788612302000,"timestamp_ms":1788612302000,"timestamp_seconds":1788612302,"priority":1,"record_length":96,"hex_timestamp":"000001a07199d4b0"} 
[2026-09-05 18:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:17:02] 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-09-05 18: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":178,"data_length":795,"current_offset":136} 
[2026-09-05 18:17: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-09-05 18: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-09-05 18:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884672512001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884672512001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:17:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:17:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884672512001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":174523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:17:02] local.INFO: GPS data processed {"connection_id":174523,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:17:02] local.INFO: Acknowledgment sent {"connection_id":174523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:17:21] local.INFO: TCP Data received {"connection_id":173201,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07198d6c8012d181b40072194180051011a24..."} 
[2026-09-05 18:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07198d6c8012d181b40072194180051011a24..."} 
[2026-09-05 18:17:21] local.INFO: Processing buffer {"connection_id":173201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07198d6c8012d181b40072194180051011a24..."} 
[2026-09-05 18:17:21] local.INFO: Packet analysis {"connection_id":173201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07198"} 
[2026-09-05 18:17:21] local.INFO: Extracted packet for processing {"connection_id":173201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07198"} 
[2026-09-05 18:17:21] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119641112,"longitude_deg":75.655456,"latitude_deg":11.9641112,"altitude":81,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d181b40","hex_latitude":"07219418","is_valid_coordinates":true} 
[2026-09-05 18:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884727296001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18044012308987904,"note":"Value kept but may cause issues"} 
[2026-09-05 18:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480653760512,"note":"Value kept but may cause issues"} 
[2026-09-05 18:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788612237000,"timestamp_ms":1788612237000,"timestamp_seconds":1788612237,"priority":1,"record_length":96,"hex_timestamp":"000001a07198d6c8"} 
[2026-09-05 18:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 18:17: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-09-05 18:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884727296001,"66":12461,"105":206,"83":41984,"24":0,"16":18044012308987904,"45":1737052480653760512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884727296001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:17:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:17:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18044012308987904,"km_value":18044012308987.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480653760512,"description":"Unknown IO ID 45"} 
[2026-09-05 18:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884727296001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737052480653760512}} 
[2026-09-05 18:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":173201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:17:21] local.INFO: GPS data processed {"connection_id":173201,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:17:21] local.INFO: Acknowledgment sent {"connection_id":173201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:17:24] local.INFO: TCP Data received {"connection_id":173202,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173202,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:17:24] local.INFO: Processing buffer {"connection_id":173202,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:17:24] local.INFO: IMEI packet received {"connection_id":173202,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":173202,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:17:25] local.INFO: TCP Data received {"connection_id":173202,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173202,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:17:25] local.INFO: Processing buffer {"connection_id":173202,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:17:25] local.INFO: IMEI packet received {"connection_id":173202,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":173202,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:17:25] local.INFO: TCP Data received {"connection_id":173202,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0719acac8012d7d430005c58850000a00b01a..."} 
[2026-09-05 18:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719acac8012d7d430005c58850000a00b01a..."} 
[2026-09-05 18:17:25] local.INFO: Processing buffer {"connection_id":173202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719acac8012d7d430005c58850000a00b01a..."} 
[2026-09-05 18:17:25] local.INFO: Packet analysis {"connection_id":173202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719a"} 
[2026-09-05 18:17:25] local.INFO: Extracted packet for processing {"connection_id":173202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719a"} 
[2026-09-05 18:17:25] local.INFO: GPS Element Parsed {"raw_longitude":763183872,"raw_latitude":96831568,"longitude_deg":76.3183872,"latitude_deg":9.6831568,"altitude":10,"angle":176,"satellites":26,"speed":30,"hex_longitude":"2d7d4300","hex_latitude":"05c58850","is_valid_coordinates":true} 
[2026-09-05 18:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884761856001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128671795644465152,"note":"Value kept but may cause issues"} 
[2026-09-05 18:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025354415530035200,"note":"Value kept but may cause issues"} 
[2026-09-05 18:17:25] 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-09-05 18:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788612365000,"timestamp_ms":1788612365000,"timestamp_seconds":1788612365,"priority":1,"record_length":96,"hex_timestamp":"000001a0719acac8"} 
[2026-09-05 18:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:17:25] 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-09-05 18:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-05 18:17:25] 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-09-05 18:17:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884761856001,"66":13580,"229":206,"85":12288,"24":30,"16":128671795644465152,"45":9025354415530035200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-05 18:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884761856001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:17:25] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 18:17:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128671795644465152,"km_value":128671795644465.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025354415530035200,"description":"Unknown IO ID 45"} 
[2026-09-05 18:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884761856001,"power":13580,"unknown_229":206,"unknown_85":12288,"ignition":30,"odometer":null,"unknown_45":9025354415530035200}} 
[2026-09-05 18:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":173202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770491,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:17:25] local.INFO: GPS data processed {"connection_id":173202,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:17:25] local.INFO: Acknowledgment sent {"connection_id":173202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:17:29] local.INFO: TCP Data received {"connection_id":173202,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0719af9a8012d7d42c005c56428000900b51a..."} 
[2026-09-05 18:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719af9a8012d7d42c005c56428000900b51a..."} 
[2026-09-05 18:17:29] local.INFO: Processing buffer {"connection_id":173202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719af9a8012d7d42c005c56428000900b51a..."} 
[2026-09-05 18:17:29] local.INFO: Packet analysis {"connection_id":173202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719a"} 
[2026-09-05 18:17:29] local.INFO: Extracted packet for processing {"connection_id":173202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719a"} 
[2026-09-05 18:17:29] local.INFO: GPS Element Parsed {"raw_longitude":763183808,"raw_latitude":96822312,"longitude_deg":76.3183808,"latitude_deg":9.6822312,"altitude":9,"angle":181,"satellites":26,"speed":32,"hex_longitude":"2d7d42c0","hex_latitude":"05c56428","is_valid_coordinates":true} 
[2026-09-05 18:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884765440001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128672242321063936,"note":"Value kept but may cause issues"} 
[2026-09-05 18:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026058102969487360,"note":"Value kept but may cause issues"} 
[2026-09-05 18:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788612377000,"timestamp_ms":1788612377000,"timestamp_seconds":1788612377,"priority":1,"record_length":96,"hex_timestamp":"000001a0719af9a8"} 
[2026-09-05 18:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-05 18:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630624,"note":"Value kept but may cause issues"} 
[2026-09-05 18:17:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 18:17:29] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3954063715808051200,"note":"Value kept but may cause issues"} 
[2026-09-05 18:17:29] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 18:17:29] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633436454277878,"note":"Value kept but may cause issues"} 
[2026-09-05 18:17:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1508180174,"corrected_to":0} 
[2026-09-05 18:17:29] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3355520381,"note":"Value kept but may cause issues"} 
[2026-09-05 18:17:29] local.WARNING: Large IO value detected {"io_id":52,"raw_value":8358906664597900885,"note":"Value kept but may cause issues"} 
[2026-09-05 18:17:29] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13522224,"corrected_to":0} 
[2026-09-05 18:17:29] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-05 18:17:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3325380608,"note":"Value kept but may cause issues"} 
[2026-09-05 18:17:29] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3710972441839796236,"note":"Value kept but may cause issues"} 
[2026-09-05 18:17:29] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-09-05 18:17:29] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,229,85,24,241,157,16,34,160,148,45,128,171,8,26,10,66,33,101,192,206,6,25,58,64,1,240,79,227,113,198,4,205,30,208,52,168,239,246,2,201,5,12,125,48],"length":577,"final_offset":707,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1508180174,"validated":0},{"io_id":246,"original":13522224,"validated":0}]} 
[2026-09-05 18:17:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720769566096883712,"timestamp_seconds":720769566096883.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 18:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884765440001,"66":13461,"227":206,"85":12288,"24":32,"16":128672242321063936,"45":9026058102969487360},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-09-05 18:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884765440001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:17:29] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-05 18:17:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128672242321063936,"km_value":128672242321063.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026058102969487360,"description":"Unknown IO ID 45"} 
[2026-09-05 18:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884765440001,"power":13461,"unknown_227":206,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":9026058102969487360}} 
[2026-09-05 18:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":173202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770492,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:17:29] local.INFO: GPS data processed {"connection_id":173202,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:17:29] local.INFO: Acknowledgment sent {"connection_id":173202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:17:33] local.INFO: TCP Data received {"connection_id":174523,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07199d4b0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07199d4b0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:17:33] local.INFO: Processing buffer {"connection_id":174523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07199d4b0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:17:33] local.INFO: Packet analysis {"connection_id":174523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07199"} 
[2026-09-05 18:17:33] local.INFO: Extracted packet for processing {"connection_id":174523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07199"} 
[2026-09-05 18:17:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884672512001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788612302000,"timestamp_ms":1788612302000,"timestamp_seconds":1788612302,"priority":1,"record_length":96,"hex_timestamp":"000001a07199d4b0"} 
[2026-09-05 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-09-05 18:17: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-09-05 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 18:17: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-09-05 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-09-05 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-09-05 18:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884672512001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884672512001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:17:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:17:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884672512001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":174523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:17:33] local.INFO: GPS data processed {"connection_id":174523,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:17:33] local.INFO: Acknowledgment sent {"connection_id":174523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:17:44] local.INFO: TCP Data received {"connection_id":174524,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:17:44] local.INFO: Processing buffer {"connection_id":174524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:17:44] local.INFO: IMEI packet received {"connection_id":174524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":174524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:17:45] local.INFO: TCP Data received {"connection_id":174524,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:17:45] local.INFO: Processing buffer {"connection_id":174524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:17:45] local.INFO: IMEI packet received {"connection_id":174524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":174524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:17:49] local.INFO: TCP Data received {"connection_id":174524,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:17:49] local.INFO: Processing buffer {"connection_id":174524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:17:49] local.INFO: IMEI packet received {"connection_id":174524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":174524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:17:50] local.INFO: TCP Data received {"connection_id":174524,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0719928d0012d181b40072194180051011a23..."} 
[2026-09-05 18:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719928d0012d181b40072194180051011a23..."} 
[2026-09-05 18:17:50] local.INFO: Processing buffer {"connection_id":174524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719928d0012d181b40072194180051011a23..."} 
[2026-09-05 18:17:50] local.INFO: Packet analysis {"connection_id":174524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07199"} 
[2026-09-05 18:17:50] local.INFO: Extracted packet for processing {"connection_id":174524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07199"} 
[2026-09-05 18:17:50] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119641112,"longitude_deg":75.655456,"latitude_deg":11.9641112,"altitude":81,"angle":282,"satellites":35,"speed":0,"hex_longitude":"2d181b40","hex_latitude":"07219418","is_valid_coordinates":true} 
[2026-09-05 18:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884732672001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18044012308987904,"note":"Value kept but may cause issues"} 
[2026-09-05 18:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480653760512,"note":"Value kept but may cause issues"} 
[2026-09-05 18:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788612258000,"timestamp_ms":1788612258000,"timestamp_seconds":1788612258,"priority":1,"record_length":96,"hex_timestamp":"000001a0719928d0"} 
[2026-09-05 18:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 18:17:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:17:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884732672001,"66":12461,"105":206,"83":41984,"24":0,"16":18044012308987904,"45":1737052480653760512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884732672001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:17:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:17:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18044012308987904,"km_value":18044012308987.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480653760512,"description":"Unknown IO ID 45"} 
[2026-09-05 18:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884732672001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737052480653760512}} 
[2026-09-05 18:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":174524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:17:50] local.INFO: GPS data processed {"connection_id":174524,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:17:50] local.INFO: Acknowledgment sent {"connection_id":174524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:18:00] local.INFO: TCP Data received {"connection_id":173202,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0719b2888012d7d440005c54090000900b019..."} 
[2026-09-05 18:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719b2888012d7d440005c54090000900b019..."} 
[2026-09-05 18:18:00] local.INFO: Processing buffer {"connection_id":173202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719b2888012d7d440005c54090000900b019..."} 
[2026-09-05 18:18:00] local.INFO: Packet analysis {"connection_id":173202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719b"} 
[2026-09-05 18:18:00] local.INFO: Extracted packet for processing {"connection_id":173202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719b"} 
[2026-09-05 18:18:00] local.INFO: GPS Element Parsed {"raw_longitude":763184128,"raw_latitude":96813200,"longitude_deg":76.3184128,"latitude_deg":9.68132,"altitude":9,"angle":176,"satellites":25,"speed":27,"hex_longitude":"2d7d4400","hex_latitude":"05c54090","is_valid_coordinates":true} 
[2026-09-05 18:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884768512001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128672684702695424,"note":"Value kept but may cause issues"} 
[2026-09-05 18:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025987734222940160,"note":"Value kept but may cause issues"} 
[2026-09-05 18:18:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788612389000,"timestamp_ms":1788612389000,"timestamp_seconds":1788612389,"priority":1,"record_length":96,"hex_timestamp":"000001a0719b2888"} 
[2026-09-05 18:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:18:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-05 18:18:00] 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-09-05 18:18:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:18:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884768512001,"66":13656,"227":206,"85":12288,"24":27,"16":128672684702695424,"45":9025987734222940160},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-09-05 18:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884768512001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:18:00] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-05 18:18:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128672684702695424,"km_value":128672684702695.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025987734222940160,"description":"Unknown IO ID 45"} 
[2026-09-05 18:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884768512001,"power":13656,"unknown_227":206,"unknown_85":12288,"ignition":27,"odometer":null,"unknown_45":9025987734222940160}} 
[2026-09-05 18:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":173202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770495,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:18:00] local.INFO: GPS data processed {"connection_id":173202,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:18:00] local.INFO: Acknowledgment sent {"connection_id":173202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:18:01] local.INFO: TCP Data received {"connection_id":173203,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:18:01] local.INFO: Processing buffer {"connection_id":173203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:18:01] local.INFO: IMEI packet received {"connection_id":173203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":173203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:18:06] local.INFO: TCP Data received {"connection_id":173203,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:18:06] local.INFO: Processing buffer {"connection_id":173203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:18:06] local.INFO: IMEI packet received {"connection_id":173203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":173203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:18:07] local.INFO: TCP Data received {"connection_id":173203,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07199d4b0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07199d4b0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:18:07] local.INFO: Processing buffer {"connection_id":173203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07199d4b0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:18:07] local.INFO: Packet analysis {"connection_id":173203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07199"} 
[2026-09-05 18:18:07] local.INFO: Extracted packet for processing {"connection_id":173203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07199"} 
[2026-09-05 18:18:07] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884672512001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788612302000,"timestamp_ms":1788612302000,"timestamp_seconds":1788612302,"priority":1,"record_length":96,"hex_timestamp":"000001a07199d4b0"} 
[2026-09-05 18:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:18: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-09-05 18: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":178,"data_length":795,"current_offset":136} 
[2026-09-05 18:18:07] 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-09-05 18: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-09-05 18:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884672512001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884672512001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:18:07] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:18:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884672512001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":173203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:18:07] local.INFO: GPS data processed {"connection_id":173203,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:18:07] local.INFO: Acknowledgment sent {"connection_id":173203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:18:11] local.INFO: TCP Data received {"connection_id":173203,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07199d4b0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07199d4b0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:18:11] local.INFO: Processing buffer {"connection_id":173203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07199d4b0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:18:11] local.INFO: Packet analysis {"connection_id":173203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07199"} 
[2026-09-05 18:18:11] local.INFO: Extracted packet for processing {"connection_id":173203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07199"} 
[2026-09-05 18:18:11] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884672512001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788612302000,"timestamp_ms":1788612302000,"timestamp_seconds":1788612302,"priority":1,"record_length":96,"hex_timestamp":"000001a07199d4b0"} 
[2026-09-05 18:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:18: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-09-05 18:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 18:18:11] 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-09-05 18:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884672512001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884672512001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:18:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:18:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884672512001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":173203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:18:11] local.INFO: GPS data processed {"connection_id":173203,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:18:11] local.INFO: Acknowledgment sent {"connection_id":173203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:18:17] local.INFO: TCP Data received {"connection_id":172082,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:18:17] local.INFO: Processing buffer {"connection_id":172082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:18:17] local.INFO: IMEI packet received {"connection_id":172082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":172082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:18:19] local.INFO: TCP Data received {"connection_id":172082,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:18:19] local.INFO: Processing buffer {"connection_id":172082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:18:19] local.INFO: IMEI packet received {"connection_id":172082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":172082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:18:21] local.INFO: TCP Data received {"connection_id":174524,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071997ad8012d181b40072194180051011a21..."} 
[2026-09-05 18:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071997ad8012d181b40072194180051011a21..."} 
[2026-09-05 18:18:21] local.INFO: Processing buffer {"connection_id":174524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071997ad8012d181b40072194180051011a21..."} 
[2026-09-05 18:18:21] local.INFO: Packet analysis {"connection_id":174524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07199"} 
[2026-09-05 18:18:21] local.INFO: Extracted packet for processing {"connection_id":174524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07199"} 
[2026-09-05 18:18:21] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119641112,"longitude_deg":75.655456,"latitude_deg":11.9641112,"altitude":81,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d181b40","hex_latitude":"07219418","is_valid_coordinates":true} 
[2026-09-05 18:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884738048001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18044012308987904,"note":"Value kept but may cause issues"} 
[2026-09-05 18:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480653760512,"note":"Value kept but may cause issues"} 
[2026-09-05 18:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788612279000,"timestamp_ms":1788612279000,"timestamp_seconds":1788612279,"priority":1,"record_length":96,"hex_timestamp":"000001a071997ad8"} 
[2026-09-05 18:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 18:18: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-09-05 18:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884738048001,"66":12428,"105":206,"83":41984,"24":0,"16":18044012308987904,"45":1737052480653760512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884738048001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:18:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:18:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18044012308987904,"km_value":18044012308987.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480653760512,"description":"Unknown IO ID 45"} 
[2026-09-05 18:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884738048001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737052480653760512}} 
[2026-09-05 18:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":174524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:18:21] local.INFO: GPS data processed {"connection_id":174524,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:18:21] local.INFO: Acknowledgment sent {"connection_id":174524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:18:24] local.INFO: TCP Data received {"connection_id":172082,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:18:24] local.INFO: Processing buffer {"connection_id":172082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:18:24] local.INFO: IMEI packet received {"connection_id":172082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":172082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:18:25] local.INFO: TCP Data received {"connection_id":172082,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0719b6af0012d7d468005c51c80000c00b41a..."} 
[2026-09-05 18:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719b6af0012d7d468005c51c80000c00b41a..."} 
[2026-09-05 18:18:25] local.INFO: Processing buffer {"connection_id":172082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719b6af0012d7d468005c51c80000c00b41a..."} 
[2026-09-05 18:18:25] local.INFO: Packet analysis {"connection_id":172082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719b"} 
[2026-09-05 18:18:25] local.INFO: Extracted packet for processing {"connection_id":172082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719b"} 
[2026-09-05 18:18:25] local.INFO: GPS Element Parsed {"raw_longitude":763184768,"raw_latitude":96803968,"longitude_deg":76.3184768,"latitude_deg":9.6803968,"altitude":12,"angle":180,"satellites":26,"speed":21,"hex_longitude":"2d7d4680","hex_latitude":"05c51c80","is_valid_coordinates":true} 
[2026-09-05 18:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884771584001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128673135674261504,"note":"Value kept but may cause issues"} 
[2026-09-05 18:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026339577941495808,"note":"Value kept but may cause issues"} 
[2026-09-05 18:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788612406000,"timestamp_ms":1788612406000,"timestamp_seconds":1788612406,"priority":1,"record_length":96,"hex_timestamp":"000001a0719b6af0"} 
[2026-09-05 18:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:18:25] 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-09-05 18:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 18:18:25] 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-09-05 18:18:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884771584001,"66":13526,"227":206,"85":12288,"24":21,"16":128673135674261504,"45":9026339577941495808},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-09-05 18:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884771584001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:18:25] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-05 18:18:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128673135674261504,"km_value":128673135674261.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026339577941495808,"description":"Unknown IO ID 45"} 
[2026-09-05 18:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884771584001,"power":13526,"unknown_227":206,"unknown_85":12288,"ignition":21,"odometer":null,"unknown_45":9026339577941495808}} 
[2026-09-05 18:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":172082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770499,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:18:25] local.INFO: GPS data processed {"connection_id":172082,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:18:25] local.INFO: Acknowledgment sent {"connection_id":172082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:18:44] local.INFO: TCP Data received {"connection_id":171810,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:18:44] local.INFO: Processing buffer {"connection_id":171810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:18:44] local.INFO: IMEI packet received {"connection_id":171810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":171810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:18:47] local.INFO: TCP Data received {"connection_id":171810,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:18:47] local.INFO: Processing buffer {"connection_id":171810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:18:47] local.INFO: IMEI packet received {"connection_id":171810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":171810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:18:48] local.INFO: TCP Data received {"connection_id":171810,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07199cce0012d181b40072194180051011a23..."} 
[2026-09-05 18:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07199cce0012d181b40072194180051011a23..."} 
[2026-09-05 18:18:48] local.INFO: Processing buffer {"connection_id":171810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07199cce0012d181b40072194180051011a23..."} 
[2026-09-05 18:18:48] local.INFO: Packet analysis {"connection_id":171810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07199"} 
[2026-09-05 18:18:48] local.INFO: Extracted packet for processing {"connection_id":171810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07199"} 
[2026-09-05 18:18:48] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119641112,"longitude_deg":75.655456,"latitude_deg":11.9641112,"altitude":81,"angle":282,"satellites":35,"speed":0,"hex_longitude":"2d181b40","hex_latitude":"07219418","is_valid_coordinates":true} 
[2026-09-05 18:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884743424001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18044012308987904,"note":"Value kept but may cause issues"} 
[2026-09-05 18:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480653760512,"note":"Value kept but may cause issues"} 
[2026-09-05 18:18: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-09-05 18:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788612300000,"timestamp_ms":1788612300000,"timestamp_seconds":1788612300,"priority":1,"record_length":96,"hex_timestamp":"000001a07199cce0"} 
[2026-09-05 18:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 18:18:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":171810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":171810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":171810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884743424001,"66":12428,"105":206,"83":41984,"24":0,"16":18044012308987904,"45":1737052480653760512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884743424001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:18:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:18:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18044012308987904,"km_value":18044012308987.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480653760512,"description":"Unknown IO ID 45"} 
[2026-09-05 18:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884743424001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737052480653760512}} 
[2026-09-05 18:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":171810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:18:48] local.INFO: GPS data processed {"connection_id":171810,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:18:48] local.INFO: Acknowledgment sent {"connection_id":171810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:18:56] local.INFO: TCP Data received {"connection_id":173204,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:18:56] local.INFO: Processing buffer {"connection_id":173204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:18:56] local.INFO: IMEI packet received {"connection_id":173204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":173204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:19:00] local.INFO: TCP Data received {"connection_id":172082,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0719ba1a0012d7d470005c4f860000f00ad1a..."} 
[2026-09-05 18:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719ba1a0012d7d470005c4f860000f00ad1a..."} 
[2026-09-05 18:19:00] local.INFO: Processing buffer {"connection_id":172082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719ba1a0012d7d470005c4f860000f00ad1a..."} 
[2026-09-05 18:19:00] local.INFO: Packet analysis {"connection_id":172082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719b"} 
[2026-09-05 18:19:00] local.INFO: Extracted packet for processing {"connection_id":172082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719b"} 
[2026-09-05 18:19:00] local.INFO: GPS Element Parsed {"raw_longitude":763184896,"raw_latitude":96794720,"longitude_deg":76.3184896,"latitude_deg":9.679472,"altitude":15,"angle":173,"satellites":26,"speed":37,"hex_longitude":"2d7d4700","hex_latitude":"05c4f860","is_valid_coordinates":true} 
[2026-09-05 18:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884775936001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128673586645827584,"note":"Value kept but may cause issues"} 
[2026-09-05 18:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027043265380909056,"note":"Value kept but may cause issues"} 
[2026-09-05 18:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788612420000,"timestamp_ms":1788612420000,"timestamp_seconds":1788612420,"priority":1,"record_length":96,"hex_timestamp":"000001a0719ba1a0"} 
[2026-09-05 18:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 18:19:00] 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-09-05 18:19:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884775936001,"66":12743,"227":206,"85":12288,"24":37,"16":128673586645827584,"45":9027043265380909056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-09-05 18:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884775936001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:19:00] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-05 18:19:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128673586645827584,"km_value":128673586645827.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027043265380909056,"description":"Unknown IO ID 45"} 
[2026-09-05 18:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884775936001,"power":12743,"unknown_227":206,"unknown_85":12288,"ignition":37,"odometer":null,"unknown_45":9027043265380909056}} 
[2026-09-05 18:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":172082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770501,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:19:00] local.INFO: GPS data processed {"connection_id":172082,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:19:00] local.INFO: Acknowledgment sent {"connection_id":172082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:19:01] local.INFO: TCP Data received {"connection_id":173204,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:19:01] local.INFO: Processing buffer {"connection_id":173204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:19:01] local.INFO: IMEI packet received {"connection_id":173204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":173204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:19:01] local.INFO: TCP Data received {"connection_id":173204,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07199d4b0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07199d4b0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:19:01] local.INFO: Processing buffer {"connection_id":173204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07199d4b0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:19:01] local.INFO: Packet analysis {"connection_id":173204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07199"} 
[2026-09-05 18:19:01] local.INFO: Extracted packet for processing {"connection_id":173204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07199"} 
[2026-09-05 18:19:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884672512001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788612302000,"timestamp_ms":1788612302000,"timestamp_seconds":1788612302,"priority":1,"record_length":96,"hex_timestamp":"000001a07199d4b0"} 
[2026-09-05 18:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:19:01] 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-09-05 18:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 18:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18: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-09-05 18:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884672512001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884672512001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:19:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:19:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884672512001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":173204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:19:02] local.INFO: GPS data processed {"connection_id":173204,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:19:02] local.INFO: Acknowledgment sent {"connection_id":173204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:19:19] local.INFO: TCP Data received {"connection_id":173205,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173205,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:19:19] local.INFO: Processing buffer {"connection_id":173205,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:19:19] local.INFO: IMEI packet received {"connection_id":173205,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":173205,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:19:19] local.INFO: TCP Data received {"connection_id":171810,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0719d1c88012d181800072194700051010525..."} 
[2026-09-05 18:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719d1c88012d181800072194700051010525..."} 
[2026-09-05 18:19:19] local.INFO: Processing buffer {"connection_id":171810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719d1c88012d181800072194700051010525..."} 
[2026-09-05 18:19:19] local.INFO: Packet analysis {"connection_id":171810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719d"} 
[2026-09-05 18:19:19] local.INFO: Extracted packet for processing {"connection_id":171810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719d"} 
[2026-09-05 18:19:19] local.INFO: GPS Element Parsed {"raw_longitude":756553728,"raw_latitude":119641200,"longitude_deg":75.6553728,"latitude_deg":11.96412,"altitude":81,"angle":261,"satellites":37,"speed":5,"hex_longitude":"2d181800","hex_latitude":"07219470","is_valid_coordinates":true} 
[2026-09-05 18:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884804096001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18044063848595456,"note":"Value kept but may cause issues"} 
[2026-09-05 18:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055723640832,"note":"Value kept but may cause issues"} 
[2026-09-05 18:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788612517000,"timestamp_ms":1788612517000,"timestamp_seconds":1788612517,"priority":1,"record_length":96,"hex_timestamp":"000001a0719d1c88"} 
[2026-09-05 18:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-05 18:19:19] 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-09-05 18:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":171810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":171810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":171810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884804096001,"66":13537,"105":206,"83":41984,"24":5,"16":18044063848595456,"45":1736208055723640832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884804096001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:19:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:19:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18044063848595456,"km_value":18044063848595.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055723640832,"description":"Unknown IO ID 45"} 
[2026-09-05 18:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884804096001,"power":13537,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1736208055723640832}} 
[2026-09-05 18:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":171810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:19:20] local.INFO: GPS data processed {"connection_id":171810,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:19:20] local.INFO: Acknowledgment sent {"connection_id":171810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:19:21] local.INFO: TCP Data received {"connection_id":173205,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173205,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:19:21] local.INFO: Processing buffer {"connection_id":173205,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:19:21] local.INFO: IMEI packet received {"connection_id":173205,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":173205,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:19:24] local.INFO: TCP Data received {"connection_id":173205,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173205,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:19:24] local.INFO: Processing buffer {"connection_id":173205,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:19:24] local.INFO: IMEI packet received {"connection_id":173205,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":173205,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:19:25] local.INFO: TCP Data received {"connection_id":173205,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0719d2070012d7d488005c3bc38000c00aa1a..."} 
[2026-09-05 18:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719d2070012d7d488005c3bc38000c00aa1a..."} 
[2026-09-05 18:19:25] local.INFO: Processing buffer {"connection_id":173205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719d2070012d7d488005c3bc38000c00aa1a..."} 
[2026-09-05 18:19:25] local.INFO: Packet analysis {"connection_id":173205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719d"} 
[2026-09-05 18:19:25] local.INFO: Extracted packet for processing {"connection_id":173205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719d"} 
[2026-09-05 18:19:25] local.INFO: GPS Element Parsed {"raw_longitude":763185280,"raw_latitude":96713784,"longitude_deg":76.318528,"latitude_deg":9.6713784,"altitude":12,"angle":170,"satellites":26,"speed":33,"hex_longitude":"2d7d4880","hex_latitude":"05c3bc38","is_valid_coordinates":true} 
[2026-09-05 18:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884802304001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128677546605674496,"note":"Value kept but may cause issues"} 
[2026-09-05 18:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025565521732407296,"note":"Value kept but may cause issues"} 
[2026-09-05 18:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788612518000,"timestamp_ms":1788612518000,"timestamp_seconds":1788612518,"priority":1,"record_length":96,"hex_timestamp":"000001a0719d2070"} 
[2026-09-05 18:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-05 18:19:25] 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-09-05 18:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884802304001,"66":13472,"135":206,"85":12288,"24":33,"16":128677546605674496,"45":9025565521732407296},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-09-05 18:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884802304001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:19:25] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-05 18:19:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128677546605674496,"km_value":128677546605674.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025565521732407296,"description":"Unknown IO ID 45"} 
[2026-09-05 18:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884802304001,"power":13472,"unknown_135":206,"unknown_85":12288,"ignition":33,"odometer":null,"unknown_45":9025565521732407296}} 
[2026-09-05 18:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":173205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770504,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:19:25] local.INFO: GPS data processed {"connection_id":173205,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:19:25] local.INFO: Acknowledgment sent {"connection_id":173205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:19:29] local.INFO: TCP Data received {"connection_id":173205,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0719d7278012d7d4b4005c39ff0000b00b21a..."} 
[2026-09-05 18:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719d7278012d7d4b4005c39ff0000b00b21a..."} 
[2026-09-05 18:19:29] local.INFO: Processing buffer {"connection_id":173205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719d7278012d7d4b4005c39ff0000b00b21a..."} 
[2026-09-05 18:19:29] local.INFO: Packet analysis {"connection_id":173205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719d"} 
[2026-09-05 18:19:29] local.INFO: Extracted packet for processing {"connection_id":173205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719d"} 
[2026-09-05 18:19:29] local.INFO: GPS Element Parsed {"raw_longitude":763185984,"raw_latitude":96706544,"longitude_deg":76.3185984,"latitude_deg":9.6706544,"altitude":11,"angle":178,"satellites":26,"speed":29,"hex_longitude":"2d7d4b40","hex_latitude":"05c39ff0","is_valid_coordinates":true} 
[2026-09-05 18:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884804608001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128677903087960064,"note":"Value kept but may cause issues"} 
[2026-09-05 18:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027606215311243264,"note":"Value kept but may cause issues"} 
[2026-09-05 18:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788612539000,"timestamp_ms":1788612539000,"timestamp_seconds":1788612539,"priority":1,"record_length":96,"hex_timestamp":"000001a0719d7278"} 
[2026-09-05 18:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:19:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-05 18:19:29] 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-09-05 18:19:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:19:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884804608001,"66":13602,"135":206,"85":12288,"24":29,"16":128677903087960064,"45":9027606215311243264},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-09-05 18:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884804608001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:19:29] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-05 18:19:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128677903087960064,"km_value":128677903087960.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027606215311243264,"description":"Unknown IO ID 45"} 
[2026-09-05 18:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884804608001,"power":13602,"unknown_135":206,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":9027606215311243264}} 
[2026-09-05 18:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":173205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770505,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:19:29] local.INFO: GPS data processed {"connection_id":173205,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:19:29] local.INFO: Acknowledgment sent {"connection_id":173205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:19:33] local.INFO: TCP Data received {"connection_id":173204,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07199d4b0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07199d4b0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:19:33] local.INFO: Processing buffer {"connection_id":173204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07199d4b0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:19:33] local.INFO: Packet analysis {"connection_id":173204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07199"} 
[2026-09-05 18:19:33] local.INFO: Extracted packet for processing {"connection_id":173204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07199"} 
[2026-09-05 18:19:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884672512001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788612302000,"timestamp_ms":1788612302000,"timestamp_seconds":1788612302,"priority":1,"record_length":96,"hex_timestamp":"000001a07199d4b0"} 
[2026-09-05 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-09-05 18:19: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-09-05 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 18:19: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-09-05 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-09-05 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-09-05 18:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884672512001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884672512001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:19:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:19:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884672512001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":173204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:19:33] local.INFO: GPS data processed {"connection_id":173204,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:19:33] local.INFO: Acknowledgment sent {"connection_id":173204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:19:44] local.INFO: TCP Data received {"connection_id":171811,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:19:44] local.INFO: Processing buffer {"connection_id":171811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:19:44] local.INFO: IMEI packet received {"connection_id":171811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":171811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:19:50] local.INFO: TCP Data received {"connection_id":171811,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:19:50] local.INFO: Processing buffer {"connection_id":171811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:19:50] local.INFO: IMEI packet received {"connection_id":171811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":171811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:19:50] local.INFO: TCP Data received {"connection_id":171811,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0719d2070012d181780072194d00051012026..."} 
[2026-09-05 18:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719d2070012d181780072194d00051012026..."} 
[2026-09-05 18:19:50] local.INFO: Processing buffer {"connection_id":171811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719d2070012d181780072194d00051012026..."} 
[2026-09-05 18:19:50] local.INFO: Packet analysis {"connection_id":171811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719d"} 
[2026-09-05 18:19:50] local.INFO: Extracted packet for processing {"connection_id":171811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719d"} 
[2026-09-05 18:19:50] local.INFO: GPS Element Parsed {"raw_longitude":756553600,"raw_latitude":119641296,"longitude_deg":75.65536,"latitude_deg":11.9641296,"altitude":81,"angle":288,"satellites":38,"speed":9,"hex_longitude":"2d181780","hex_latitude":"072194d0","is_valid_coordinates":true} 
[2026-09-05 18:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884804352001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18044072438530048,"note":"Value kept but may cause issues"} 
[2026-09-05 18:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736137686979473408,"note":"Value kept but may cause issues"} 
[2026-09-05 18:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788612518000,"timestamp_ms":1788612518000,"timestamp_seconds":1788612518,"priority":1,"record_length":96,"hex_timestamp":"000001a0719d2070"} 
[2026-09-05 18:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-05 18:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884804352001,"66":13537,"105":206,"83":41984,"24":9,"16":18044072438530048,"45":1736137686979473408},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884804352001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:19:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:19:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18044072438530048,"km_value":18044072438530.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736137686979473408,"description":"Unknown IO ID 45"} 
[2026-09-05 18:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884804352001,"power":13537,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1736137686979473408}} 
[2026-09-05 18:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":171811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:19:50] local.INFO: GPS data processed {"connection_id":171811,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:19:50] local.INFO: Acknowledgment sent {"connection_id":171811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:19:56] local.INFO: TCP Data received {"connection_id":174525,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:19:56] local.INFO: Processing buffer {"connection_id":174525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:19:56] local.INFO: IMEI packet received {"connection_id":174525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":174525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:20:00] local.INFO: TCP Data received {"connection_id":173205,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0719d9d70012d7d4b4005c37ac8000b00b91a..."} 
[2026-09-05 18:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719d9d70012d7d4b4005c37ac8000b00b91a..."} 
[2026-09-05 18:20:00] local.INFO: Processing buffer {"connection_id":173205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719d9d70012d7d4b4005c37ac8000b00b91a..."} 
[2026-09-05 18:20:00] local.INFO: Packet analysis {"connection_id":173205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719d"} 
[2026-09-05 18:20:00] local.INFO: Extracted packet for processing {"connection_id":173205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719d"} 
[2026-09-05 18:20:00] local.INFO: GPS Element Parsed {"raw_longitude":763185984,"raw_latitude":96697032,"longitude_deg":76.3185984,"latitude_deg":9.6697032,"altitude":11,"angle":185,"satellites":26,"speed":37,"hex_longitude":"2d7d4b40","hex_latitude":"05c37ac8","is_valid_coordinates":true} 
[2026-09-05 18:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884809984001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128678362649460736,"note":"Value kept but may cause issues"} 
[2026-09-05 18:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028380271495344128,"note":"Value kept but may cause issues"} 
[2026-09-05 18:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788612550000,"timestamp_ms":1788612550000,"timestamp_seconds":1788612550,"priority":1,"record_length":96,"hex_timestamp":"000001a0719d9d70"} 
[2026-09-05 18:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-05 18:20:00] 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-09-05 18:20:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884809984001,"66":13363,"104":206,"85":12288,"24":37,"16":128678362649460736,"45":9028380271495344128},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-05 18:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884809984001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:20:00] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-05 18:20:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128678362649460736,"km_value":128678362649460.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028380271495344128,"description":"Unknown IO ID 45"} 
[2026-09-05 18:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884809984001,"power":13363,"unknown_104":206,"unknown_85":12288,"ignition":37,"odometer":null,"unknown_45":9028380271495344128}} 
[2026-09-05 18:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":173205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770508,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:20:00] local.INFO: GPS data processed {"connection_id":173205,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:20:00] local.INFO: Acknowledgment sent {"connection_id":173205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:20:01] local.INFO: TCP Data received {"connection_id":174525,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:20:01] local.INFO: Processing buffer {"connection_id":174525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:20:01] local.INFO: IMEI packet received {"connection_id":174525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":174525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:20:02] local.INFO: TCP Data received {"connection_id":174525,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07199d4b0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07199d4b0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:20:02] local.INFO: Processing buffer {"connection_id":174525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07199d4b0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:20:02] local.INFO: Packet analysis {"connection_id":174525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07199"} 
[2026-09-05 18:20:02] local.INFO: Extracted packet for processing {"connection_id":174525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07199"} 
[2026-09-05 18:20:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884672512001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788612302000,"timestamp_ms":1788612302000,"timestamp_seconds":1788612302,"priority":1,"record_length":96,"hex_timestamp":"000001a07199d4b0"} 
[2026-09-05 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-09-05 18:20:02] 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-09-05 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 18:20: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-09-05 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-09-05 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-09-05 18:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884672512001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884672512001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:20:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:20:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884672512001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":174525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:20:02] local.INFO: GPS data processed {"connection_id":174525,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:20:02] local.INFO: Acknowledgment sent {"connection_id":174525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:20:19] local.INFO: TCP Data received {"connection_id":172083,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:20:19] local.INFO: Processing buffer {"connection_id":172083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:20:19] local.INFO: IMEI packet received {"connection_id":172083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":172083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:20:21] local.INFO: TCP Data received {"connection_id":171811,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0719d2458012d1816c0072195780051012c27..."} 
[2026-09-05 18:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719d2458012d1816c0072195780051012c27..."} 
[2026-09-05 18:20:21] local.INFO: Processing buffer {"connection_id":171811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719d2458012d1816c0072195780051012c27..."} 
[2026-09-05 18:20:21] local.INFO: Packet analysis {"connection_id":171811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719d"} 
[2026-09-05 18:20:21] local.INFO: Extracted packet for processing {"connection_id":171811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719d"} 
[2026-09-05 18:20:21] local.INFO: GPS Element Parsed {"raw_longitude":756553408,"raw_latitude":119641464,"longitude_deg":75.6553408,"latitude_deg":11.9641464,"altitude":81,"angle":300,"satellites":39,"speed":12,"hex_longitude":"2d1816c0","hex_latitude":"07219578","is_valid_coordinates":true} 
[2026-09-05 18:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884804608001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18044081028464640,"note":"Value kept but may cause issues"} 
[2026-09-05 18:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735996949491142656,"note":"Value kept but may cause issues"} 
[2026-09-05 18:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788612519000,"timestamp_ms":1788612519000,"timestamp_seconds":1788612519,"priority":1,"record_length":96,"hex_timestamp":"000001a0719d2458"} 
[2026-09-05 18:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-05 18:20:21] 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-09-05 18:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884804608001,"66":13787,"105":206,"83":41984,"24":12,"16":18044081028464640,"45":1735996949491142656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884804608001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:20:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:20:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18044081028464640,"km_value":18044081028464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735996949491142656,"description":"Unknown IO ID 45"} 
[2026-09-05 18:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884804608001,"power":13787,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1735996949491142656}} 
[2026-09-05 18:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":171811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:20:21] local.INFO: GPS data processed {"connection_id":171811,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:20:21] local.INFO: Acknowledgment sent {"connection_id":171811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:20:24] local.INFO: TCP Data received {"connection_id":172083,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:20:24] local.INFO: Processing buffer {"connection_id":172083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:20:24] local.INFO: IMEI packet received {"connection_id":172083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":172083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:20:25] local.INFO: TCP Data received {"connection_id":172083,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0719dc098012d7d48c005c356f8000c00b41a..."} 
[2026-09-05 18:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719dc098012d7d48c005c356f8000c00b41a..."} 
[2026-09-05 18:20:25] local.INFO: Processing buffer {"connection_id":172083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719dc098012d7d48c005c356f8000c00b41a..."} 
[2026-09-05 18:20:25] local.INFO: Packet analysis {"connection_id":172083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719d"} 
[2026-09-05 18:20:25] local.INFO: Extracted packet for processing {"connection_id":172083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719d"} 
[2026-09-05 18:20:25] local.INFO: GPS Element Parsed {"raw_longitude":763185344,"raw_latitude":96687864,"longitude_deg":76.3185344,"latitude_deg":9.6687864,"altitude":12,"angle":180,"satellites":26,"speed":31,"hex_longitude":"2d7d48c0","hex_latitude":"05c356f8","is_valid_coordinates":true} 
[2026-09-05 18:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884812800001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128678809326059520,"note":"Value kept but may cause issues"} 
[2026-09-05 18:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028380271492909056,"note":"Value kept but may cause issues"} 
[2026-09-05 18:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788612559000,"timestamp_ms":1788612559000,"timestamp_seconds":1788612559,"priority":1,"record_length":96,"hex_timestamp":"000001a0719dc098"} 
[2026-09-05 18:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-05 18:20:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:20:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884812800001,"66":13428,"104":206,"85":12288,"24":31,"16":128678809326059520,"45":9028380271492909056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-05 18:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884812800001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:20:25] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-05 18:20:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128678809326059520,"km_value":128678809326059.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028380271492909056,"description":"Unknown IO ID 45"} 
[2026-09-05 18:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884812800001,"power":13428,"unknown_104":206,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":9028380271492909056}} 
[2026-09-05 18:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":172083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770511,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:20:25] local.INFO: GPS data processed {"connection_id":172083,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:20:25] local.INFO: Acknowledgment sent {"connection_id":172083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:20:33] local.INFO: TCP Data received {"connection_id":174525,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07199d4b0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07199d4b0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:20:33] local.INFO: Processing buffer {"connection_id":174525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07199d4b0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:20:33] local.INFO: Packet analysis {"connection_id":174525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07199"} 
[2026-09-05 18:20:33] local.INFO: Extracted packet for processing {"connection_id":174525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07199"} 
[2026-09-05 18:20:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884672512001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788612302000,"timestamp_ms":1788612302000,"timestamp_seconds":1788612302,"priority":1,"record_length":96,"hex_timestamp":"000001a07199d4b0"} 
[2026-09-05 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-09-05 18:20: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-09-05 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 18:20: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-09-05 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-09-05 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-09-05 18:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884672512001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884672512001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:20:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:20:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884672512001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":174525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:20:33] local.INFO: GPS data processed {"connection_id":174525,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:20:33] local.INFO: Acknowledgment sent {"connection_id":174525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:20:44] local.INFO: TCP Data received {"connection_id":174526,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:20:44] local.INFO: Processing buffer {"connection_id":174526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:20:44] local.INFO: IMEI packet received {"connection_id":174526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":174526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:20:49] local.INFO: TCP Data received {"connection_id":174526,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:20:49] local.INFO: Processing buffer {"connection_id":174526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:20:49] local.INFO: IMEI packet received {"connection_id":174526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":174526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:20:50] local.INFO: TCP Data received {"connection_id":174526,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0719d37e0012d181540072198000051013a2c..."} 
[2026-09-05 18:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719d37e0012d181540072198000051013a2c..."} 
[2026-09-05 18:20:50] local.INFO: Processing buffer {"connection_id":174526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719d37e0012d181540072198000051013a2c..."} 
[2026-09-05 18:20:50] local.INFO: Packet analysis {"connection_id":174526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719d"} 
[2026-09-05 18:20:50] local.INFO: Extracted packet for processing {"connection_id":174526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719d"} 
[2026-09-05 18:20:50] local.INFO: GPS Element Parsed {"raw_longitude":756553024,"raw_latitude":119642112,"longitude_deg":75.6553024,"latitude_deg":11.9642112,"altitude":81,"angle":314,"satellites":44,"speed":3,"hex_longitude":"2d181540","hex_latitude":"07219800","is_valid_coordinates":true} 
[2026-09-05 18:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884804864001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18044119683170304,"note":"Value kept but may cause issues"} 
[2026-09-05 18:20:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735785843258652672,"note":"Value kept but may cause issues"} 
[2026-09-05 18:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788612524000,"timestamp_ms":1788612524000,"timestamp_seconds":1788612524,"priority":1,"record_length":96,"hex_timestamp":"000001a0719d37e0"} 
[2026-09-05 18:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-05 18:20:50] 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-09-05 18:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884804864001,"66":14113,"105":206,"83":41984,"24":3,"16":18044119683170304,"45":1735785843258652672},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-05 18:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884804864001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:20:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 18:20:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18044119683170304,"km_value":18044119683170.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735785843258652672,"description":"Unknown IO ID 45"} 
[2026-09-05 18:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884804864001,"power":14113,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1735785843258652672}} 
[2026-09-05 18:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":174526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:20:50] local.INFO: GPS data processed {"connection_id":174526,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:20:50] local.INFO: Acknowledgment sent {"connection_id":174526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:20:55] local.INFO: TCP Data received {"connection_id":174527,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:20:55] local.INFO: Processing buffer {"connection_id":174527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:20:55] local.INFO: IMEI packet received {"connection_id":174527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":174527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:20:56] local.INFO: TCP Data received {"connection_id":172083,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0719e0eb8012d7d488005c34e50000d00b519..."} 
[2026-09-05 18:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719e0eb8012d7d488005c34e50000d00b519..."} 
[2026-09-05 18:20:56] local.INFO: Processing buffer {"connection_id":172083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719e0eb8012d7d488005c34e50000d00b519..."} 
[2026-09-05 18:20:56] local.INFO: Packet analysis {"connection_id":172083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719e"} 
[2026-09-05 18:20:56] local.INFO: Extracted packet for processing {"connection_id":172083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719e"} 
[2026-09-05 18:20:56] local.INFO: GPS Element Parsed {"raw_longitude":763185280,"raw_latitude":96685648,"longitude_deg":76.318528,"latitude_deg":9.6685648,"altitude":13,"angle":181,"satellites":25,"speed":0,"hex_longitude":"2d7d4880","hex_latitude":"05c34e50","is_valid_coordinates":true} 
[2026-09-05 18:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884815104001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128678925290176512,"note":"Value kept but may cause issues"} 
[2026-09-05 18:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027676584048785408,"note":"Value kept but may cause issues"} 
[2026-09-05 18:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788612579000,"timestamp_ms":1788612579000,"timestamp_seconds":1788612579,"priority":1,"record_length":96,"hex_timestamp":"000001a0719e0eb8"} 
[2026-09-05 18:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:20:56] 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-09-05 18:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-05 18:20:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:20:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884815104001,"66":13428,"104":206,"85":12288,"24":0,"16":128678925290176512,"45":9027676584048785408},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-05 18:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884815104001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:20:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-05 18:20:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128678925290176512,"km_value":128678925290176.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027676584048785408,"description":"Unknown IO ID 45"} 
[2026-09-05 18:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884815104001,"power":13428,"unknown_104":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9027676584048785408}} 
[2026-09-05 18:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":172083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:20:56] local.INFO: GPS data processed {"connection_id":172083,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:20:56] local.INFO: Acknowledgment sent {"connection_id":172083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:21:01] local.INFO: TCP Data received {"connection_id":174527,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:21:01] local.INFO: Processing buffer {"connection_id":174527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:21:01] local.INFO: IMEI packet received {"connection_id":174527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":174527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:21:02] local.INFO: TCP Data received {"connection_id":174527,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0719e6c78012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719e6c78012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:21:02] local.INFO: Processing buffer {"connection_id":174527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719e6c78012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:21:02] local.INFO: Packet analysis {"connection_id":174527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719e"} 
[2026-09-05 18:21:02] local.INFO: Extracted packet for processing {"connection_id":174527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719e"} 
[2026-09-05 18:21:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884749312001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788612603000,"timestamp_ms":1788612603000,"timestamp_seconds":1788612603,"priority":1,"record_length":96,"hex_timestamp":"000001a0719e6c78"} 
[2026-09-05 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-09-05 18:21:02] 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-09-05 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 18:21: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-09-05 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-09-05 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-09-05 18:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884749312001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884749312001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:21:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:21:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884749312001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":174527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:21:02] local.INFO: GPS data processed {"connection_id":174527,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:21:02] local.INFO: Acknowledgment sent {"connection_id":174527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:21:19] local.INFO: TCP Data received {"connection_id":173206,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:21:19] local.INFO: Processing buffer {"connection_id":173206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:21:19] local.INFO: IMEI packet received {"connection_id":173206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":173206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:21:20] local.INFO: TCP Data received {"connection_id":173206,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:21:20] local.INFO: Processing buffer {"connection_id":173206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:21:20] local.INFO: IMEI packet received {"connection_id":173206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":173206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:21:21] local.INFO: TCP Data received {"connection_id":174526,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0719ec268012d186c0007218260004f005a29..."} 
[2026-09-05 18:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719ec268012d186c0007218260004f005a29..."} 
[2026-09-05 18:21:21] local.INFO: Processing buffer {"connection_id":174526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719ec268012d186c0007218260004f005a29..."} 
[2026-09-05 18:21:21] local.INFO: Packet analysis {"connection_id":174526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719e"} 
[2026-09-05 18:21:21] local.INFO: Extracted packet for processing {"connection_id":174526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719e"} 
[2026-09-05 18:21:21] local.INFO: GPS Element Parsed {"raw_longitude":756575232,"raw_latitude":119636576,"longitude_deg":75.6575232,"latitude_deg":11.9636576,"altitude":79,"angle":90,"satellites":41,"speed":35,"hex_longitude":"2d186c00","hex_latitude":"07218260","is_valid_coordinates":true} 
[2026-09-05 18:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884831488001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18045472597868544,"note":"Value kept but may cause issues"} 
[2026-09-05 18:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757811260185053184,"note":"Value kept but may cause issues"} 
[2026-09-05 18:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788612625000,"timestamp_ms":1788612625000,"timestamp_seconds":1788612625,"priority":1,"record_length":96,"hex_timestamp":"000001a0719ec268"} 
[2026-09-05 18:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-05 18:21:21] 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-09-05 18:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884831488001,"66":13048,"106":206,"83":41984,"24":35,"16":18045472597868544,"45":1757811260185053184},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-05 18:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884831488001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:21:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-05 18:21:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18045472597868544,"km_value":18045472597868.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757811260185053184,"description":"Unknown IO ID 45"} 
[2026-09-05 18:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884831488001,"power":13048,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1757811260185053184}} 
[2026-09-05 18:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":174526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:21:22] local.INFO: GPS data processed {"connection_id":174526,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:21:22] local.INFO: Acknowledgment sent {"connection_id":174526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:21:24] local.INFO: TCP Data received {"connection_id":173206,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:21:24] local.INFO: Processing buffer {"connection_id":173206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:21:24] local.INFO: IMEI packet received {"connection_id":173206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":173206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:21:25] local.INFO: TCP Data received {"connection_id":173206,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0719e1688012d7d484005c34d38000d00c417..."} 
[2026-09-05 18:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719e1688012d7d484005c34d38000d00c417..."} 
[2026-09-05 18:21:25] local.INFO: Processing buffer {"connection_id":173206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719e1688012d7d484005c34d38000d00c417..."} 
[2026-09-05 18:21:25] local.INFO: Packet analysis {"connection_id":173206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719e"} 
[2026-09-05 18:21:25] local.INFO: Extracted packet for processing {"connection_id":173206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719e"} 
[2026-09-05 18:21:25] local.INFO: GPS Element Parsed {"raw_longitude":763185216,"raw_latitude":96685368,"longitude_deg":76.3185216,"latitude_deg":9.6685368,"altitude":13,"angle":196,"satellites":23,"speed":4,"hex_longitude":"2d7d4840","hex_latitude":"05c34d38","is_valid_coordinates":true} 
[2026-09-05 18:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884820224001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128678938175078400,"note":"Value kept but may cause issues"} 
[2026-09-05 18:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027606215304040448,"note":"Value kept but may cause issues"} 
[2026-09-05 18:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788612581000,"timestamp_ms":1788612581000,"timestamp_seconds":1788612581,"priority":1,"record_length":96,"hex_timestamp":"000001a0719e1688"} 
[2026-09-05 18:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-05 18:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884820224001,"66":13450,"104":206,"85":12288,"24":4,"16":128678938175078400,"45":9027606215304040448},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-05 18:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884820224001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:21:25] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-05 18:21:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128678938175078400,"km_value":128678938175078.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027606215304040448,"description":"Unknown IO ID 45"} 
[2026-09-05 18:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884820224001,"power":13450,"unknown_104":206,"unknown_85":12288,"ignition":4,"odometer":null,"unknown_45":9027606215304040448}} 
[2026-09-05 18:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":173206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770517,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:21:25] local.INFO: GPS data processed {"connection_id":173206,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:21:25] local.INFO: Acknowledgment sent {"connection_id":173206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:21:34] local.INFO: TCP Data received {"connection_id":174527,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0719e6c78012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719e6c78012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:21:34] local.INFO: Processing buffer {"connection_id":174527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719e6c78012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:21:34] local.INFO: Packet analysis {"connection_id":174527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719e"} 
[2026-09-05 18:21:34] local.INFO: Extracted packet for processing {"connection_id":174527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719e"} 
[2026-09-05 18:21:34] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884749312001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788612603000,"timestamp_ms":1788612603000,"timestamp_seconds":1788612603,"priority":1,"record_length":96,"hex_timestamp":"000001a0719e6c78"} 
[2026-09-05 18:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:21: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-09-05 18:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 18:21:34] 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-09-05 18: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-09-05 18:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884749312001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884749312001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:21:34] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:21:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884749312001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":174527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:21:34] local.INFO: GPS data processed {"connection_id":174527,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:21:34] local.INFO: Acknowledgment sent {"connection_id":174527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:21:44] local.INFO: TCP Data received {"connection_id":174528,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:21:44] local.INFO: Processing buffer {"connection_id":174528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:21:44] local.INFO: IMEI packet received {"connection_id":174528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":174528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:21:44] local.INFO: TCP Data received {"connection_id":174528,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:21:44] local.INFO: Processing buffer {"connection_id":174528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:21:44] local.INFO: IMEI packet received {"connection_id":174528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":174528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:21:49] local.INFO: TCP Data received {"connection_id":174528,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:21:49] local.INFO: Processing buffer {"connection_id":174528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:21:49] local.INFO: IMEI packet received {"connection_id":174528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":174528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:21:50] local.INFO: TCP Data received {"connection_id":174528,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0719eddc0012d188680072181a0004f00682c..."} 
[2026-09-05 18:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719eddc0012d188680072181a0004f00682c..."} 
[2026-09-05 18:21:50] local.INFO: Processing buffer {"connection_id":174528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719eddc0012d188680072181a0004f00682c..."} 
[2026-09-05 18:21:50] local.INFO: Packet analysis {"connection_id":174528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719e"} 
[2026-09-05 18:21:50] local.INFO: Extracted packet for processing {"connection_id":174528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719e"} 
[2026-09-05 18:21:50] local.INFO: GPS Element Parsed {"raw_longitude":756582016,"raw_latitude":119636384,"longitude_deg":75.6582016,"latitude_deg":11.9636384,"altitude":79,"angle":104,"satellites":44,"speed":40,"hex_longitude":"2d188680","hex_latitude":"072181a0","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884832000001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18045799015383040,"note":"Value kept but may cause issues"} 
[2026-09-05 18:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1759781585021984768,"note":"Value kept but may cause issues"} 
[2026-09-05 18:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788612632000,"timestamp_ms":1788612632000,"timestamp_seconds":1788612632,"priority":1,"record_length":96,"hex_timestamp":"000001a0719eddc0"} 
[2026-09-05 18:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-05 18:21:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18: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-09-05 18:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884832000001,"66":13015,"106":206,"83":41984,"24":40,"16":18045799015383040,"45":1759781585021984768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-05 18:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884832000001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:21:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-05 18:21:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18045799015383040,"km_value":18045799015383.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1759781585021984768,"description":"Unknown IO ID 45"} 
[2026-09-05 18:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884832000001,"power":13015,"unknown_106":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1759781585021984768}} 
[2026-09-05 18:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":174528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:21:50] local.INFO: GPS data processed {"connection_id":174528,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:21:50] local.INFO: Acknowledgment sent {"connection_id":174528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:21:55] local.INFO: TCP Data received {"connection_id":171812,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:21:55] local.INFO: Processing buffer {"connection_id":171812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:21:55] local.INFO: IMEI packet received {"connection_id":171812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":171812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:21:56] local.INFO: TCP Data received {"connection_id":173206,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0719e2a10012d7d470005c34590000d00b619..."} 
[2026-09-05 18:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719e2a10012d7d470005c34590000d00b619..."} 
[2026-09-05 18:21:56] local.INFO: Processing buffer {"connection_id":173206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719e2a10012d7d470005c34590000d00b619..."} 
[2026-09-05 18:21:56] local.INFO: Packet analysis {"connection_id":173206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719e"} 
[2026-09-05 18:21:56] local.INFO: Extracted packet for processing {"connection_id":173206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719e"} 
[2026-09-05 18:21:56] local.INFO: GPS Element Parsed {"raw_longitude":763184896,"raw_latitude":96683408,"longitude_deg":76.3184896,"latitude_deg":9.6683408,"altitude":13,"angle":182,"satellites":25,"speed":22,"hex_longitude":"2d7d4700","hex_latitude":"05c34590","is_valid_coordinates":true} 
[2026-09-05 18:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884820736001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128679036959326208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027535846559791104,"note":"Value kept but may cause issues"} 
[2026-09-05 18:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788612586000,"timestamp_ms":1788612586000,"timestamp_seconds":1788612586,"priority":1,"record_length":96,"hex_timestamp":"000001a0719e2a10"} 
[2026-09-05 18:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:21:56] 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-09-05 18:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-05 18:21:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:21:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884820736001,"66":13580,"104":206,"85":12288,"24":22,"16":128679036959326208,"45":9027535846559791104},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-05 18:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884820736001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:21:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-05 18:21:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128679036959326208,"km_value":128679036959326.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027535846559791104,"description":"Unknown IO ID 45"} 
[2026-09-05 18:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884820736001,"power":13580,"unknown_104":206,"unknown_85":12288,"ignition":22,"odometer":null,"unknown_45":9027535846559791104}} 
[2026-09-05 18:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":173206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770520,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:21:56] local.INFO: GPS data processed {"connection_id":173206,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:21:56] local.INFO: Acknowledgment sent {"connection_id":173206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:22:01] local.INFO: TCP Data received {"connection_id":171812,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:22:01] local.INFO: Processing buffer {"connection_id":171812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:22:01] local.INFO: IMEI packet received {"connection_id":171812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":171812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:22:02] local.INFO: TCP Data received {"connection_id":171812,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0719e6c78012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719e6c78012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:22:02] local.INFO: Processing buffer {"connection_id":171812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719e6c78012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:22:02] local.INFO: Packet analysis {"connection_id":171812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719e"} 
[2026-09-05 18:22:02] local.INFO: Extracted packet for processing {"connection_id":171812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719e"} 
[2026-09-05 18:22:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884749312001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788612603000,"timestamp_ms":1788612603000,"timestamp_seconds":1788612603,"priority":1,"record_length":96,"hex_timestamp":"000001a0719e6c78"} 
[2026-09-05 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-09-05 18:22:02] 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-09-05 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 18:22: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-09-05 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-09-05 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-09-05 18:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884749312001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884749312001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:22:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:22:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884749312001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":171812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:22:02] local.INFO: GPS data processed {"connection_id":171812,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:22:02] local.INFO: Acknowledgment sent {"connection_id":171812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:22:21] local.INFO: TCP Data received {"connection_id":174528,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0719fbc68012d18e7c00720ed20003c00942b..."} 
[2026-09-05 18:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719fbc68012d18e7c00720ed20003c00942b..."} 
[2026-09-05 18:22:21] local.INFO: Processing buffer {"connection_id":174528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719fbc68012d18e7c00720ed20003c00942b..."} 
[2026-09-05 18:22:21] local.INFO: Packet analysis {"connection_id":174528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719f"} 
[2026-09-05 18:22:21] local.INFO: Extracted packet for processing {"connection_id":174528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719f"} 
[2026-09-05 18:22:21] local.INFO: GPS Element Parsed {"raw_longitude":756606912,"raw_latitude":119598368,"longitude_deg":75.6606912,"latitude_deg":11.9598368,"altitude":60,"angle":148,"satellites":43,"speed":38,"hex_longitude":"2d18e7c0","hex_latitude":"0720ed20","is_valid_coordinates":true} 
[2026-09-05 18:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884847104001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18048165542363136,"note":"Value kept but may cause issues"} 
[2026-09-05 18:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791095676172214272,"note":"Value kept but may cause issues"} 
[2026-09-05 18:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788612689000,"timestamp_ms":1788612689000,"timestamp_seconds":1788612689,"priority":1,"record_length":96,"hex_timestamp":"000001a0719fbc68"} 
[2026-09-05 18:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:22: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-09-05 18:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-05 18:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2427,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:22:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884847104001,"66":13972,"103":206,"83":41984,"24":38,"16":18048165542363136,"45":1791095676172214272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 18:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884847104001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:22:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 18:22:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18048165542363136,"km_value":18048165542363.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791095676172214272,"description":"Unknown IO ID 45"} 
[2026-09-05 18:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884847104001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1791095676172214272}} 
[2026-09-05 18:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":174528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:22:21] local.INFO: GPS data processed {"connection_id":174528,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:22:21] local.INFO: Acknowledgment sent {"connection_id":174528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:22:25] local.INFO: TCP Data received {"connection_id":172084,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:22:25] local.INFO: Processing buffer {"connection_id":172084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:22:25] local.INFO: IMEI packet received {"connection_id":172084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":172084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:22:25] local.INFO: TCP Data received {"connection_id":172084,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:22:25] local.INFO: Processing buffer {"connection_id":172084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:22:25] local.INFO: IMEI packet received {"connection_id":172084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":172084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:22:29] local.INFO: TCP Data received {"connection_id":172084,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:22:29] local.INFO: Processing buffer {"connection_id":172084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:22:29] local.INFO: IMEI packet received {"connection_id":172084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":172084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:22:30] local.INFO: TCP Data received {"connection_id":172084,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0719e60c0012d7d47c005c32158000e00b11a..."} 
[2026-09-05 18:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719e60c0012d7d47c005c32158000e00b11a..."} 
[2026-09-05 18:22:30] local.INFO: Processing buffer {"connection_id":172084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719e60c0012d7d47c005c32158000e00b11a..."} 
[2026-09-05 18:22:30] local.INFO: Packet analysis {"connection_id":172084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719e"} 
[2026-09-05 18:22:30] local.INFO: Extracted packet for processing {"connection_id":172084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719e"} 
[2026-09-05 18:22:30] local.INFO: GPS Element Parsed {"raw_longitude":763185088,"raw_latitude":96674136,"longitude_deg":76.3185088,"latitude_deg":9.6674136,"altitude":14,"angle":177,"satellites":26,"speed":34,"hex_longitude":"2d7d47c0","hex_latitude":"05c32158","is_valid_coordinates":true} 
[2026-09-05 18:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884822016001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128679487930892288,"note":"Value kept but may cause issues"} 
[2026-09-05 18:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027184002838401024,"note":"Value kept but may cause issues"} 
[2026-09-05 18:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788612600000,"timestamp_ms":1788612600000,"timestamp_seconds":1788612600,"priority":1,"record_length":96,"hex_timestamp":"000001a0719e60c0"} 
[2026-09-05 18:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-05 18:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630631,"note":"Value kept but may cause issues"} 
[2026-09-05 18:22:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 18:22:30] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2986344448,"note":"Value kept but may cause issues"} 
[2026-09-05 18:22:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3952036216366432256,"note":"Value kept but may cause issues"} 
[2026-09-05 18:22:30] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 18:22:30] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635210275793031,"note":"Value kept but may cause issues"} 
[2026-09-05 18:22:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1650983118,"corrected_to":0} 
[2026-09-05 18:22:30] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-05 18:22:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3283892224,"note":"Value kept but may cause issues"} 
[2026-09-05 18:22:30] local.WARNING: Large IO value detected {"io_id":125,"raw_value":4701764349802315788,"note":"Value kept but may cause issues"} 
[2026-09-05 18:22:30] local.WARNING: Large IO value detected {"io_id":52,"raw_value":9151540228761112149,"note":"Value kept but may cause issues"} 
[2026-09-05 18:22:30] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755592714715377,"note":"Value kept but may cause issues"} 
[2026-09-05 18:22:30] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,104,85,24,241,157,16,40,160,22,45,64,77,13,23,10,66,14,128,78,25,192,1,240,116,227,113,195,4,205,37,114,75,26,239,53,135,2,201,5,12,33,125,52,48],"length":577,"final_offset":707,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1650983118,"validated":0}]} 
[2026-09-05 18:22:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936948940984942592,"timestamp_seconds":936948940984942.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 18:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884822016001,"66":13602,"104":206,"85":12288,"24":34,"16":128679487930892288,"45":9027184002838401024},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-05 18:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884822016001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:22:30] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-05 18:22:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128679487930892288,"km_value":128679487930892.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027184002838401024,"description":"Unknown IO ID 45"} 
[2026-09-05 18:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884822016001,"power":13602,"unknown_104":206,"unknown_85":12288,"ignition":34,"odometer":null,"unknown_45":9027184002838401024}} 
[2026-09-05 18:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":172084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770523,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:22:30] local.INFO: GPS data processed {"connection_id":172084,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:22:30] local.INFO: Acknowledgment sent {"connection_id":172084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:22:34] local.INFO: TCP Data received {"connection_id":171812,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0719e6c78012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719e6c78012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:22:34] local.INFO: Processing buffer {"connection_id":171812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719e6c78012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:22:34] local.INFO: Packet analysis {"connection_id":171812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719e"} 
[2026-09-05 18:22:34] local.INFO: Extracted packet for processing {"connection_id":171812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719e"} 
[2026-09-05 18:22:34] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884749312001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788612603000,"timestamp_ms":1788612603000,"timestamp_seconds":1788612603,"priority":1,"record_length":96,"hex_timestamp":"000001a0719e6c78"} 
[2026-09-05 18:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:22: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-09-05 18:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 18:22:34] 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-09-05 18:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884749312001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884749312001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:22:34] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:22:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884749312001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":171812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:22:34] local.INFO: GPS data processed {"connection_id":171812,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:22:34] local.INFO: Acknowledgment sent {"connection_id":171812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:22:49] local.INFO: TCP Data received {"connection_id":172085,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:22:49] local.INFO: Processing buffer {"connection_id":172085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:22:49] local.INFO: IMEI packet received {"connection_id":172085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":172085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:22:50] local.INFO: TCP Data received {"connection_id":172085,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:22:50] local.INFO: Processing buffer {"connection_id":172085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:22:50] local.INFO: IMEI packet received {"connection_id":172085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":172085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:22:54] local.INFO: TCP Data received {"connection_id":172085,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:22:54] local.INFO: Processing buffer {"connection_id":172085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:22:54] local.INFO: IMEI packet received {"connection_id":172085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":172085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:22:55] local.INFO: TCP Data received {"connection_id":172085,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0719fd3d8012d18f5800720d958003a00872a..."} 
[2026-09-05 18:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719fd3d8012d18f5800720d958003a00872a..."} 
[2026-09-05 18:22:55] local.INFO: Processing buffer {"connection_id":172085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719fd3d8012d18f5800720d958003a00872a..."} 
[2026-09-05 18:22:55] local.INFO: Packet analysis {"connection_id":172085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719f"} 
[2026-09-05 18:22:55] local.INFO: Extracted packet for processing {"connection_id":172085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719f"} 
[2026-09-05 18:22:55] local.INFO: GPS Element Parsed {"raw_longitude":756610432,"raw_latitude":119593304,"longitude_deg":75.6610432,"latitude_deg":11.9593304,"altitude":58,"angle":135,"satellites":42,"speed":41,"hex_longitude":"2d18f580","hex_latitude":"0720d958","is_valid_coordinates":true} 
[2026-09-05 18:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884848384001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18048466190073856,"note":"Value kept but may cause issues"} 
[2026-09-05 18:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794614113380147200,"note":"Value kept but may cause issues"} 
[2026-09-05 18:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788612695000,"timestamp_ms":1788612695000,"timestamp_seconds":1788612695,"priority":1,"record_length":96,"hex_timestamp":"000001a0719fd3d8"} 
[2026-09-05 18:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-05 18:22:55] 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-09-05 18:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884848384001,"66":14189,"103":206,"83":41984,"24":41,"16":18048466190073856,"45":1794614113380147200},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 18:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884848384001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:22:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 18:22:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18048466190073856,"km_value":18048466190073.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794614113380147200,"description":"Unknown IO ID 45"} 
[2026-09-05 18:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884848384001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1794614113380147200}} 
[2026-09-05 18:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":172085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:22:55] local.INFO: GPS data processed {"connection_id":172085,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:22:55] local.INFO: Acknowledgment sent {"connection_id":172085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:22:55] local.INFO: TCP Data received {"connection_id":171813,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:22:55] local.INFO: Processing buffer {"connection_id":171813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:22:55] local.INFO: IMEI packet received {"connection_id":171813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":171813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:22:59] local.INFO: TCP Data received {"connection_id":172085,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0719fdf90012d18ff400720d1f00039007a2b..."} 
[2026-09-05 18:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719fdf90012d18ff400720d1f00039007a2b..."} 
[2026-09-05 18:22:59] local.INFO: Processing buffer {"connection_id":172085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719fdf90012d18ff400720d1f00039007a2b..."} 
[2026-09-05 18:22:59] local.INFO: Packet analysis {"connection_id":172085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719f"} 
[2026-09-05 18:22:59] local.INFO: Extracted packet for processing {"connection_id":172085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719f"} 
[2026-09-05 18:22:59] local.INFO: GPS Element Parsed {"raw_longitude":756612928,"raw_latitude":119591408,"longitude_deg":75.6612928,"latitude_deg":11.9591408,"altitude":57,"angle":122,"satellites":43,"speed":41,"hex_longitude":"2d18ff40","hex_latitude":"0720d1f0","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884849920001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18048616513929216,"note":"Value kept but may cause issues"} 
[2026-09-05 18:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798484394308622336,"note":"Value kept but may cause issues"} 
[2026-09-05 18:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788612698000,"timestamp_ms":1788612698000,"timestamp_seconds":1788612698,"priority":1,"record_length":96,"hex_timestamp":"000001a0719fdf90"} 
[2026-09-05 18:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-05 18:22:59] 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-09-05 18: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-09-05 18:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884849920001,"66":14102,"103":206,"83":41984,"24":41,"16":18048616513929216,"45":1798484394308622336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 18:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884849920001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:22:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 18:22:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18048616513929216,"km_value":18048616513929.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798484394308622336,"description":"Unknown IO ID 45"} 
[2026-09-05 18:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884849920001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1798484394308622336}} 
[2026-09-05 18:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":172085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:23:00] local.INFO: GPS data processed {"connection_id":172085,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:23:00] local.INFO: Acknowledgment sent {"connection_id":172085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:23:01] local.INFO: TCP Data received {"connection_id":171813,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:23:01] local.INFO: Processing buffer {"connection_id":171813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:23:01] local.INFO: IMEI packet received {"connection_id":171813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":171813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:23:01] local.INFO: TCP Data received {"connection_id":172084,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071a0b280012d7d3ac005c1a7b8000d00b71a..."} 
[2026-09-05 18:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a0b280012d7d3ac005c1a7b8000d00b71a..."} 
[2026-09-05 18:23:01] local.INFO: Processing buffer {"connection_id":172084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a0b280012d7d3ac005c1a7b8000d00b71a..."} 
[2026-09-05 18:23:01] local.INFO: Packet analysis {"connection_id":172084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a0"} 
[2026-09-05 18:23:01] local.INFO: Extracted packet for processing {"connection_id":172084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a0"} 
[2026-09-05 18:23:01] local.INFO: GPS Element Parsed {"raw_longitude":763181760,"raw_latitude":96577464,"longitude_deg":76.318176,"latitude_deg":9.6577464,"altitude":13,"angle":183,"satellites":26,"speed":37,"hex_longitude":"2d7d3ac0","hex_latitude":"05c1a7b8","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884862208001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128684225279819776,"note":"Value kept but may cause issues"} 
[2026-09-05 18:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023735934348877824,"note":"Value kept but may cause issues"} 
[2026-09-05 18:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788612752000,"timestamp_ms":1788612752000,"timestamp_seconds":1788612752,"priority":1,"record_length":96,"hex_timestamp":"000001a071a0b280"} 
[2026-09-05 18:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-05 18:23:01] 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-09-05 18: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-09-05 18:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884862208001,"66":13526,"9":206,"85":12288,"24":37,"16":128684225279819776,"45":9023735934348877824},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-09-05 18:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884862208001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:23:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-05 18:23:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128684225279819776,"km_value":128684225279819.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023735934348877824,"description":"Unknown IO ID 45"} 
[2026-09-05 18:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884862208001,"power":13526,"unknown_9":206,"unknown_85":12288,"ignition":37,"odometer":null,"unknown_45":9023735934348877824}} 
[2026-09-05 18:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":172084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:23:01] local.INFO: GPS data processed {"connection_id":172084,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:23:01] local.INFO: Acknowledgment sent {"connection_id":172084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:23:02] local.INFO: TCP Data received {"connection_id":171813,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0719e6c78012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719e6c78012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:23:02] local.INFO: Processing buffer {"connection_id":171813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719e6c78012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:23:02] local.INFO: Packet analysis {"connection_id":171813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719e"} 
[2026-09-05 18:23:02] local.INFO: Extracted packet for processing {"connection_id":171813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719e"} 
[2026-09-05 18:23:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884749312001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788612603000,"timestamp_ms":1788612603000,"timestamp_seconds":1788612603,"priority":1,"record_length":96,"hex_timestamp":"000001a0719e6c78"} 
[2026-09-05 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-09-05 18:23:02] 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-09-05 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 18:23: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-09-05 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-09-05 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-09-05 18:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884749312001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884749312001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:23:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:23:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884749312001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":171813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:23:02] local.INFO: GPS data processed {"connection_id":171813,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:23:02] local.INFO: Acknowledgment sent {"connection_id":171813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:23:19] local.INFO: TCP Data received {"connection_id":171814,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:23:19] local.INFO: Processing buffer {"connection_id":171814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:23:19] local.INFO: IMEI packet received {"connection_id":171814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":171814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:23:24] local.INFO: TCP Data received {"connection_id":171814,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:23:24] local.INFO: Processing buffer {"connection_id":171814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:23:24] local.INFO: IMEI packet received {"connection_id":171814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":171814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:23:25] local.INFO: TCP Data received {"connection_id":171814,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071a10488012d7d380005c18d28000b00b219..."} 
[2026-09-05 18:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a10488012d7d380005c18d28000b00b219..."} 
[2026-09-05 18:23:25] local.INFO: Processing buffer {"connection_id":171814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a10488012d7d380005c18d28000b00b219..."} 
[2026-09-05 18:23:25] local.INFO: Packet analysis {"connection_id":171814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a1"} 
[2026-09-05 18:23:25] local.INFO: Extracted packet for processing {"connection_id":171814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a1"} 
[2026-09-05 18:23:25] local.INFO: GPS Element Parsed {"raw_longitude":763181056,"raw_latitude":96570664,"longitude_deg":76.3181056,"latitude_deg":9.6570664,"altitude":11,"angle":178,"satellites":25,"speed":0,"hex_longitude":"2d7d3800","hex_latitude":"05c18d28","is_valid_coordinates":true} 
[2026-09-05 18:23: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-09-05 18:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884864512001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128684555992301568,"note":"Value kept but may cause issues"} 
[2026-09-05 18:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023735934346573824,"note":"Value kept but may cause issues"} 
[2026-09-05 18:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788612773000,"timestamp_ms":1788612773000,"timestamp_seconds":1788612773,"priority":1,"record_length":96,"hex_timestamp":"000001a071a10488"} 
[2026-09-05 18:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 18:23:25] 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-09-05 18:23: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-09-05 18:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884864512001,"66":13276,"9":206,"85":12288,"24":0,"16":128684555992301568,"45":9023735934346573824},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-09-05 18:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884864512001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:23:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-05 18:23:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128684555992301568,"km_value":128684555992301.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023735934346573824,"description":"Unknown IO ID 45"} 
[2026-09-05 18:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884864512001,"power":13276,"unknown_9":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9023735934346573824}} 
[2026-09-05 18:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":171814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770529,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:23:25] local.INFO: GPS data processed {"connection_id":171814,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:23:25] local.INFO: Acknowledgment sent {"connection_id":171814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:23:33] local.INFO: TCP Data received {"connection_id":171813,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0719e6c78012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719e6c78012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:23:33] local.INFO: Processing buffer {"connection_id":171813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719e6c78012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:23:33] local.INFO: Packet analysis {"connection_id":171813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719e"} 
[2026-09-05 18:23:33] local.INFO: Extracted packet for processing {"connection_id":171813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719e"} 
[2026-09-05 18:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884749312001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788612603000,"timestamp_ms":1788612603000,"timestamp_seconds":1788612603,"priority":1,"record_length":96,"hex_timestamp":"000001a0719e6c78"} 
[2026-09-05 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-09-05 18:23: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-09-05 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 18:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 18:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884749312001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884749312001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:23:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:23:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884749312001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":171813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:23:33] local.INFO: GPS data processed {"connection_id":171813,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:23:33] local.INFO: Acknowledgment sent {"connection_id":171813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:23:43] local.INFO: TCP Data received {"connection_id":173207,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:23:43] local.INFO: Processing buffer {"connection_id":173207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:23:43] local.INFO: IMEI packet received {"connection_id":173207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":173207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:23:44] local.INFO: TCP Data received {"connection_id":173207,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:23:44] local.INFO: Processing buffer {"connection_id":173207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:23:44] local.INFO: IMEI packet received {"connection_id":173207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":173207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:23:49] local.INFO: TCP Data received {"connection_id":173207,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:23:49] local.INFO: Processing buffer {"connection_id":173207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:23:49] local.INFO: IMEI packet received {"connection_id":173207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":173207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:23:50] local.INFO: TCP Data received {"connection_id":173207,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071a0d990012d19ba800720a338003300c82c..."} 
[2026-09-05 18:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a0d990012d19ba800720a338003300c82c..."} 
[2026-09-05 18:23:50] local.INFO: Processing buffer {"connection_id":173207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a0d990012d19ba800720a338003300c82c..."} 
[2026-09-05 18:23:50] local.INFO: Packet analysis {"connection_id":173207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a0"} 
[2026-09-05 18:23:50] local.INFO: Extracted packet for processing {"connection_id":173207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a0"} 
[2026-09-05 18:23:50] local.INFO: GPS Element Parsed {"raw_longitude":756660864,"raw_latitude":119579448,"longitude_deg":75.6660864,"latitude_deg":11.9579448,"altitude":51,"angle":200,"satellites":44,"speed":21,"hex_longitude":"2d19ba80","hex_latitude":"0720a338","is_valid_coordinates":true} 
[2026-09-05 18:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884866816001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18051120479862784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854146070949736448,"note":"Value kept but may cause issues"} 
[2026-09-05 18:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788612762000,"timestamp_ms":1788612762000,"timestamp_seconds":1788612762,"priority":1,"record_length":96,"hex_timestamp":"000001a071a0d990"} 
[2026-09-05 18:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-05 18:23:50] 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-09-05 18:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884866816001,"66":14233,"103":206,"83":41984,"24":21,"16":18051120479862784,"45":1854146070949736448},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-05 18:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884866816001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:23:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-05 18:23:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18051120479862784,"km_value":18051120479862.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854146070949736448,"description":"Unknown IO ID 45"} 
[2026-09-05 18:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884866816001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1854146070949736448}} 
[2026-09-05 18:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":173207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:23:50] local.INFO: GPS data processed {"connection_id":173207,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:23:50] local.INFO: Acknowledgment sent {"connection_id":173207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:23:56] local.INFO: TCP Data received {"connection_id":171814,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071a10c58012d7d37c005c18c70000b00bd19..."} 
[2026-09-05 18:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a10c58012d7d37c005c18c70000b00bd19..."} 
[2026-09-05 18:23:56] local.INFO: Processing buffer {"connection_id":171814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a10c58012d7d37c005c18c70000b00bd19..."} 
[2026-09-05 18:23:56] local.INFO: Packet analysis {"connection_id":171814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a1"} 
[2026-09-05 18:23:56] local.INFO: Extracted packet for processing {"connection_id":171814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a1"} 
[2026-09-05 18:23:56] local.INFO: GPS Element Parsed {"raw_longitude":763180992,"raw_latitude":96570480,"longitude_deg":76.3180992,"latitude_deg":9.657048,"altitude":11,"angle":189,"satellites":25,"speed":2,"hex_longitude":"2d7d37c0","hex_latitude":"05c18c70","is_valid_coordinates":true} 
[2026-09-05 18:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884869888001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128684568877203456,"note":"Value kept but may cause issues"} 
[2026-09-05 18:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022961878158878720,"note":"Value kept but may cause issues"} 
[2026-09-05 18:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788612775000,"timestamp_ms":1788612775000,"timestamp_seconds":1788612775,"priority":1,"record_length":96,"hex_timestamp":"000001a071a10c58"} 
[2026-09-05 18:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-05 18:23:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:23:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884869888001,"66":13396,"9":206,"85":12288,"24":2,"16":128684568877203456,"45":9022961878158878720},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-09-05 18:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884869888001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:23:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-05 18:23:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128684568877203456,"km_value":128684568877203.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022961878158878720,"description":"Unknown IO ID 45"} 
[2026-09-05 18:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884869888001,"power":13396,"unknown_9":206,"unknown_85":12288,"ignition":2,"odometer":null,"unknown_45":9022961878158878720}} 
[2026-09-05 18:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":171814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770532,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:23:56] local.INFO: GPS data processed {"connection_id":171814,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:23:56] local.INFO: Acknowledgment sent {"connection_id":171814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:24:01] local.INFO: TCP Data received {"connection_id":172086,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:24:01] local.INFO: Processing buffer {"connection_id":172086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:24:01] local.INFO: IMEI packet received {"connection_id":172086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":172086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:24:06] local.INFO: TCP Data received {"connection_id":172086,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:24:06] local.INFO: Processing buffer {"connection_id":172086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:24:06] local.INFO: IMEI packet received {"connection_id":172086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":172086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:24:07] local.INFO: TCP Data received {"connection_id":172086,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0719e6c78012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719e6c78012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:24:07] local.INFO: Processing buffer {"connection_id":172086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719e6c78012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:24:07] local.INFO: Packet analysis {"connection_id":172086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719e"} 
[2026-09-05 18:24:07] local.INFO: Extracted packet for processing {"connection_id":172086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719e"} 
[2026-09-05 18:24:07] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884749312001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788612603000,"timestamp_ms":1788612603000,"timestamp_seconds":1788612603,"priority":1,"record_length":96,"hex_timestamp":"000001a0719e6c78"} 
[2026-09-05 18:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:24: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-09-05 18: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 18:24:07] 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-09-05 18: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-09-05 18:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884749312001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884749312001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:24:07] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:24:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884749312001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":172086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:24:07] local.INFO: GPS data processed {"connection_id":172086,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:24:07] local.INFO: Acknowledgment sent {"connection_id":172086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:24:12] local.INFO: TCP Data received {"connection_id":172086,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0719e6c78012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719e6c78012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:24:12] local.INFO: Processing buffer {"connection_id":172086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719e6c78012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:24:12] local.INFO: Packet analysis {"connection_id":172086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719e"} 
[2026-09-05 18:24:12] local.INFO: Extracted packet for processing {"connection_id":172086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719e"} 
[2026-09-05 18:24:12] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884749312001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788612603000,"timestamp_ms":1788612603000,"timestamp_seconds":1788612603,"priority":1,"record_length":96,"hex_timestamp":"000001a0719e6c78"} 
[2026-09-05 18:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 18:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 18:24:12] 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-09-05 18:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":172086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":172086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":172086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884749312001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884749312001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:24:12] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:24:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884749312001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":172086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:24:12] local.INFO: GPS data processed {"connection_id":172086,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:24:12] local.INFO: Acknowledgment sent {"connection_id":172086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:24:19] local.INFO: TCP Data received {"connection_id":173208,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173208,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:24:19] local.INFO: Processing buffer {"connection_id":173208,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:24:19] local.INFO: IMEI packet received {"connection_id":173208,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":173208,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:24:21] local.INFO: TCP Data received {"connection_id":173207,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071a1a898012d19df0007200b08002e009925..."} 
[2026-09-05 18:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a1a898012d19df0007200b08002e009925..."} 
[2026-09-05 18:24:21] local.INFO: Processing buffer {"connection_id":173207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a1a898012d19df0007200b08002e009925..."} 
[2026-09-05 18:24:21] local.INFO: Packet analysis {"connection_id":173207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a1"} 
[2026-09-05 18:24:21] local.INFO: Extracted packet for processing {"connection_id":173207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a1"} 
[2026-09-05 18:24:21] local.INFO: GPS Element Parsed {"raw_longitude":756670208,"raw_latitude":119540488,"longitude_deg":75.6670208,"latitude_deg":11.9540488,"altitude":46,"angle":153,"satellites":37,"speed":12,"hex_longitude":"2d19df00","hex_latitude":"07200b08","is_valid_coordinates":true} 
[2026-09-05 18:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884880384001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18053229308805120,"note":"Value kept but may cause issues"} 
[2026-09-05 18:24:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864068063868755968,"note":"Value kept but may cause issues"} 
[2026-09-05 18:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788612815000,"timestamp_ms":1788612815000,"timestamp_seconds":1788612815,"priority":1,"record_length":96,"hex_timestamp":"000001a071a1a898"} 
[2026-09-05 18:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:24: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-09-05 18:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-05 18:24:21] 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-09-05 18:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:24:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884880384001,"66":13287,"101":206,"83":41984,"24":12,"16":18053229308805120,"45":1864068063868755968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-05 18:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884880384001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:24:21] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 18:24:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18053229308805120,"km_value":18053229308805.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:24:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864068063868755968,"description":"Unknown IO ID 45"} 
[2026-09-05 18:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884880384001,"power":13287,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1864068063868755968}} 
[2026-09-05 18:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":173207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:24:22] local.INFO: GPS data processed {"connection_id":173207,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:24:22] local.INFO: Acknowledgment sent {"connection_id":173207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:24:24] local.INFO: TCP Data received {"connection_id":173208,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173208,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:24:24] local.INFO: Processing buffer {"connection_id":173208,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:24:24] local.INFO: IMEI packet received {"connection_id":173208,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":173208,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:24:25] local.INFO: TCP Data received {"connection_id":173208,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071a14ec0012d7d344005c166a8000c00b81a..."} 
[2026-09-05 18:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a14ec0012d7d344005c166a8000c00b81a..."} 
[2026-09-05 18:24:25] local.INFO: Processing buffer {"connection_id":173208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a14ec0012d7d344005c166a8000c00b81a..."} 
[2026-09-05 18:24:25] local.INFO: Packet analysis {"connection_id":173208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a1"} 
[2026-09-05 18:24:25] local.INFO: Extracted packet for processing {"connection_id":173208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a1"} 
[2026-09-05 18:24:25] local.INFO: GPS Element Parsed {"raw_longitude":763180096,"raw_latitude":96560808,"longitude_deg":76.3180096,"latitude_deg":9.6560808,"altitude":12,"angle":184,"satellites":26,"speed":37,"hex_longitude":"2d7d3440","hex_latitude":"05c166a8","is_valid_coordinates":true} 
[2026-09-05 18:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884870400001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128685041323606016,"note":"Value kept but may cause issues"} 
[2026-09-05 18:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022891509414653952,"note":"Value kept but may cause issues"} 
[2026-09-05 18:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788612792000,"timestamp_ms":1788612792000,"timestamp_seconds":1788612792,"priority":1,"record_length":96,"hex_timestamp":"000001a071a14ec0"} 
[2026-09-05 18:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-05 18:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884870400001,"66":13526,"9":206,"85":12288,"24":37,"16":128685041323606016,"45":9022891509414653952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-09-05 18:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884870400001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:24:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-05 18:24:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128685041323606016,"km_value":128685041323606.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022891509414653952,"description":"Unknown IO ID 45"} 
[2026-09-05 18:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884870400001,"power":13526,"unknown_9":206,"unknown_85":12288,"ignition":37,"odometer":null,"unknown_45":9022891509414653952}} 
[2026-09-05 18:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":173208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:24:25] local.INFO: GPS data processed {"connection_id":173208,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:24:25] local.INFO: Acknowledgment sent {"connection_id":173208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:24:42] local.INFO: TCP Data received {"connection_id":174529,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:24:42] local.INFO: Processing buffer {"connection_id":174529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:24:42] local.INFO: IMEI packet received {"connection_id":174529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":174529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:24:43] local.INFO: TCP Data received {"connection_id":174529,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:24:43] local.INFO: Processing buffer {"connection_id":174529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:24:43] local.INFO: IMEI packet received {"connection_id":174529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":174529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:24:44] local.INFO: TCP Data received {"connection_id":174529,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:24:44] local.INFO: Processing buffer {"connection_id":174529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:24:44] local.INFO: IMEI packet received {"connection_id":174529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":174529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:24:46] local.INFO: TCP Data received {"connection_id":174529,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:24:46] local.INFO: Processing buffer {"connection_id":174529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:24:46] local.INFO: IMEI packet received {"connection_id":174529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":174529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:24:56] local.INFO: TCP Data received {"connection_id":171815,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:24:56] local.INFO: Processing buffer {"connection_id":171815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:24:56] local.INFO: IMEI packet received {"connection_id":171815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":171815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:24:56] local.INFO: TCP Data received {"connection_id":173208,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071a175d0012d7d330005c14260000d00af19..."} 
[2026-09-05 18:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a175d0012d7d330005c14260000d00af19..."} 
[2026-09-05 18:24:56] local.INFO: Processing buffer {"connection_id":173208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a175d0012d7d330005c14260000d00af19..."} 
[2026-09-05 18:24:56] local.INFO: Packet analysis {"connection_id":173208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a1"} 
[2026-09-05 18:24:56] local.INFO: Extracted packet for processing {"connection_id":173208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a1"} 
[2026-09-05 18:24:56] local.INFO: GPS Element Parsed {"raw_longitude":763179776,"raw_latitude":96551520,"longitude_deg":76.3179776,"latitude_deg":9.655152,"altitude":13,"angle":175,"satellites":25,"speed":35,"hex_longitude":"2d7d3300","hex_latitude":"05c14260","is_valid_coordinates":true} 
[2026-09-05 18:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884874752001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128685492295172096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021906346993690624,"note":"Value kept but may cause issues"} 
[2026-09-05 18:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788612802000,"timestamp_ms":1788612802000,"timestamp_seconds":1788612802,"priority":1,"record_length":96,"hex_timestamp":"000001a071a175d0"} 
[2026-09-05 18:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 18:24:56] 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-09-05 18:24:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884874752001,"66":13406,"9":206,"85":12288,"24":35,"16":128685492295172096,"45":9021906346993690624},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-09-05 18:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884874752001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:24:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-05 18:24:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128685492295172096,"km_value":128685492295172.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021906346993690624,"description":"Unknown IO ID 45"} 
[2026-09-05 18:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884874752001,"power":13406,"unknown_9":206,"unknown_85":12288,"ignition":35,"odometer":null,"unknown_45":9021906346993690624}} 
[2026-09-05 18:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":173208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770537,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:24:56] local.INFO: GPS data processed {"connection_id":173208,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:24:56] local.INFO: Acknowledgment sent {"connection_id":173208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:25:01] local.INFO: TCP Data received {"connection_id":171815,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:25:01] local.INFO: Processing buffer {"connection_id":171815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:25:01] local.INFO: IMEI packet received {"connection_id":171815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":171815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:25:02] local.INFO: TCP Data received {"connection_id":171815,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0719e6c78012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719e6c78012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:25:02] local.INFO: Processing buffer {"connection_id":171815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719e6c78012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:25:02] local.INFO: Packet analysis {"connection_id":171815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719e"} 
[2026-09-05 18:25:02] local.INFO: Extracted packet for processing {"connection_id":171815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719e"} 
[2026-09-05 18:25:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884749312001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788612603000,"timestamp_ms":1788612603000,"timestamp_seconds":1788612603,"priority":1,"record_length":96,"hex_timestamp":"000001a0719e6c78"} 
[2026-09-05 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-09-05 18:25:02] 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-09-05 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 18:25: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-09-05 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-09-05 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-09-05 18:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884749312001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884749312001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:25:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:25:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884749312001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":171815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:25:02] local.INFO: GPS data processed {"connection_id":171815,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:25:02] local.INFO: Acknowledgment sent {"connection_id":171815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:25:19] local.INFO: TCP Data received {"connection_id":171816,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:25:19] local.INFO: Processing buffer {"connection_id":171816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:25:19] local.INFO: IMEI packet received {"connection_id":171816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":171816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:25:22] local.INFO: TCP Data received {"connection_id":171816,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:25:22] local.INFO: Processing buffer {"connection_id":171816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:25:22] local.INFO: IMEI packet received {"connection_id":171816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":171816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:25:24] local.INFO: TCP Data received {"connection_id":171816,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:25:24] local.INFO: Processing buffer {"connection_id":171816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:25:24] local.INFO: IMEI packet received {"connection_id":171816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":171816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:25:24] local.INFO: TCP Data received {"connection_id":171816,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071a18188012d7d32c005c137c8000d00bb19..."} 
[2026-09-05 18:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a18188012d7d32c005c137c8000d00bb19..."} 
[2026-09-05 18:25:24] local.INFO: Processing buffer {"connection_id":171816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a18188012d7d32c005c137c8000d00bb19..."} 
[2026-09-05 18:25:24] local.INFO: Packet analysis {"connection_id":171816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a1"} 
[2026-09-05 18:25:24] local.INFO: Extracted packet for processing {"connection_id":171816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a1"} 
[2026-09-05 18:25:24] local.INFO: GPS Element Parsed {"raw_longitude":763179712,"raw_latitude":96548808,"longitude_deg":76.3179712,"latitude_deg":9.6548808,"altitude":13,"angle":187,"satellites":25,"speed":37,"hex_longitude":"2d7d32c0","hex_latitude":"05c137c8","is_valid_coordinates":true} 
[2026-09-05 18:25: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-09-05 18:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884877312001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128685625439158272,"note":"Value kept but may cause issues"} 
[2026-09-05 18:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021554503270424576,"note":"Value kept but may cause issues"} 
[2026-09-05 18:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788612805000,"timestamp_ms":1788612805000,"timestamp_seconds":1788612805,"priority":1,"record_length":96,"hex_timestamp":"000001a071a18188"} 
[2026-09-05 18:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-05 18:25:24] 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-09-05 18:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884877312001,"66":13243,"9":206,"85":12288,"24":37,"16":128685625439158272,"45":9021554503270424576},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-09-05 18:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884877312001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:25:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-05 18:25:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128685625439158272,"km_value":128685625439158.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021554503270424576,"description":"Unknown IO ID 45"} 
[2026-09-05 18:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884877312001,"power":13243,"unknown_9":206,"unknown_85":12288,"ignition":37,"odometer":null,"unknown_45":9021554503270424576}} 
[2026-09-05 18:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":171816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770539,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:25:24] local.INFO: GPS data processed {"connection_id":171816,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:25:24] local.INFO: Acknowledgment sent {"connection_id":171816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:25:34] local.INFO: TCP Data received {"connection_id":171815,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0719e6c78012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0719e6c78012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:25:34] local.INFO: Processing buffer {"connection_id":171815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0719e6c78012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:25:34] local.INFO: Packet analysis {"connection_id":171815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0719e"} 
[2026-09-05 18:25:34] local.INFO: Extracted packet for processing {"connection_id":171815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0719e"} 
[2026-09-05 18:25:34] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884749312001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788612603000,"timestamp_ms":1788612603000,"timestamp_seconds":1788612603,"priority":1,"record_length":96,"hex_timestamp":"000001a0719e6c78"} 
[2026-09-05 18:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18: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-09-05 18:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 18:25:34] 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-09-05 18:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884749312001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884749312001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:25:34] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:25:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884749312001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":171815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:25:34] local.INFO: GPS data processed {"connection_id":171815,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:25:34] local.INFO: Acknowledgment sent {"connection_id":171815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:25:56] local.INFO: TCP Data received {"connection_id":171816,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071a371a0012d7d380005bffba8000f00c01d..."} 
[2026-09-05 18:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a371a0012d7d380005bffba8000f00c01d..."} 
[2026-09-05 18:25:56] local.INFO: Processing buffer {"connection_id":171816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a371a0012d7d380005bffba8000f00c01d..."} 
[2026-09-05 18:25:56] local.INFO: Packet analysis {"connection_id":171816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a3"} 
[2026-09-05 18:25:56] local.INFO: Extracted packet for processing {"connection_id":171816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a3"} 
[2026-09-05 18:25:56] local.INFO: GPS Element Parsed {"raw_longitude":763181056,"raw_latitude":96467880,"longitude_deg":76.3181056,"latitude_deg":9.646788,"altitude":15,"angle":192,"satellites":29,"speed":38,"hex_longitude":"2d7d3800","hex_latitude":"05bffba8","is_valid_coordinates":true} 
[2026-09-05 18:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884909568001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128689589693972480,"note":"Value kept but may cause issues"} 
[2026-09-05 18:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023454459342895104,"note":"Value kept but may cause issues"} 
[2026-09-05 18:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788612932000,"timestamp_ms":1788612932000,"timestamp_seconds":1788612932,"priority":1,"record_length":96,"hex_timestamp":"000001a071a371a0"} 
[2026-09-05 18:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-05 18:25:56] 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-09-05 18:25:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884909568001,"66":13352,"10":206,"85":12288,"24":38,"16":128689589693972480,"45":9023454459342895104},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-09-05 18:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884909568001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:25:56] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-05 18:25:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128689589693972480,"km_value":128689589693972.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023454459342895104,"description":"Unknown IO ID 45"} 
[2026-09-05 18:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884909568001,"power":13352,"unknown_10":206,"unknown_85":12288,"ignition":38,"odometer":null,"unknown_45":9023454459342895104}} 
[2026-09-05 18:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":171816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770541,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:25:56] local.INFO: GPS data processed {"connection_id":171816,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:25:56] local.INFO: Acknowledgment sent {"connection_id":171816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:25:56] local.INFO: TCP Data received {"connection_id":174530,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:25:56] local.INFO: Processing buffer {"connection_id":174530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:25:56] local.INFO: IMEI packet received {"connection_id":174530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":174530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:26:01] local.INFO: TCP Data received {"connection_id":174530,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:26:01] local.INFO: Processing buffer {"connection_id":174530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:26:01] local.INFO: IMEI packet received {"connection_id":174530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":174530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:26:02] local.INFO: TCP Data received {"connection_id":174530,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071a30440012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a30440012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:26:02] local.INFO: Processing buffer {"connection_id":174530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a30440012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:26:02] local.INFO: Packet analysis {"connection_id":174530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a3"} 
[2026-09-05 18:26:02] local.INFO: Extracted packet for processing {"connection_id":174530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a3"} 
[2026-09-05 18:26:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884826368001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788612904000,"timestamp_ms":1788612904000,"timestamp_seconds":1788612904,"priority":1,"record_length":96,"hex_timestamp":"000001a071a30440"} 
[2026-09-05 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-09-05 18:26:02] 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-09-05 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 18:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884826368001,"66":25604,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884826368001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:26:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:26:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884826368001,"power":25604,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":174530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:26:02] local.INFO: GPS data processed {"connection_id":174530,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:26:02] local.INFO: Acknowledgment sent {"connection_id":174530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:26:19] local.INFO: TCP Data received {"connection_id":173209,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173209,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:26:19] local.INFO: Processing buffer {"connection_id":173209,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:26:19] local.INFO: IMEI packet received {"connection_id":173209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":173209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:26:22] local.INFO: TCP Data received {"connection_id":173209,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173209,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:26:22] local.INFO: Processing buffer {"connection_id":173209,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:26:22] local.INFO: IMEI packet received {"connection_id":173209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":173209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:26:23] local.INFO: TCP Data received {"connection_id":173209,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173209,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:26:23] local.INFO: Processing buffer {"connection_id":173209,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:26:23] local.INFO: IMEI packet received {"connection_id":173209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":173209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:26:24] local.INFO: TCP Data received {"connection_id":173209,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173209,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:26:24] local.INFO: Processing buffer {"connection_id":173209,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:26:24] local.INFO: IMEI packet received {"connection_id":173209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":173209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:26:25] local.INFO: TCP Data received {"connection_id":173209,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071a37970012d7d358005bff4c8000f00cf1d..."} 
[2026-09-05 18:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a37970012d7d358005bff4c8000f00cf1d..."} 
[2026-09-05 18:26:25] local.INFO: Processing buffer {"connection_id":173209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a37970012d7d358005bff4c8000f00cf1d..."} 
[2026-09-05 18:26:25] local.INFO: Packet analysis {"connection_id":173209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a3"} 
[2026-09-05 18:26:25] local.INFO: Extracted packet for processing {"connection_id":173209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a3"} 
[2026-09-05 18:26:25] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":96466120,"longitude_deg":76.3180416,"latitude_deg":9.646612,"altitude":15,"angle":207,"satellites":29,"speed":37,"hex_longitude":"2d7d3580","hex_latitude":"05bff4c8","is_valid_coordinates":true} 
[2026-09-05 18:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884910592001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128689684183252992,"note":"Value kept but may cause issues"} 
[2026-09-05 18:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022961878132566016,"note":"Value kept but may cause issues"} 
[2026-09-05 18:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788612934000,"timestamp_ms":1788612934000,"timestamp_seconds":1788612934,"priority":1,"record_length":96,"hex_timestamp":"000001a071a37970"} 
[2026-09-05 18:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-05 18:26:25] 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-09-05 18:26:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884910592001,"66":13526,"10":206,"85":12288,"24":37,"16":128689684183252992,"45":9022961878132566016},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-09-05 18:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884910592001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:26:25] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-05 18:26:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128689684183252992,"km_value":128689684183252.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022961878132566016,"description":"Unknown IO ID 45"} 
[2026-09-05 18:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884910592001,"power":13526,"unknown_10":206,"unknown_85":12288,"ignition":37,"odometer":null,"unknown_45":9022961878132566016}} 
[2026-09-05 18:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":173209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770543,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:26:25] local.INFO: GPS data processed {"connection_id":173209,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:26:25] local.INFO: Acknowledgment sent {"connection_id":173209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:26:25] local.INFO: TCP Data received {"connection_id":173209,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071a3a468012d7d208005bfd5e8000e00d31c..."} 
[2026-09-05 18:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a3a468012d7d208005bfd5e8000e00d31c..."} 
[2026-09-05 18:26:25] local.INFO: Processing buffer {"connection_id":173209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a3a468012d7d208005bfd5e8000e00d31c..."} 
[2026-09-05 18:26:25] local.INFO: Packet analysis {"connection_id":173209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a3"} 
[2026-09-05 18:26:25] local.INFO: Extracted packet for processing {"connection_id":173209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a3"} 
[2026-09-05 18:26:25] local.INFO: GPS Element Parsed {"raw_longitude":763175040,"raw_latitude":96458216,"longitude_deg":76.317504,"latitude_deg":9.6458216,"altitude":14,"angle":211,"satellites":28,"speed":34,"hex_longitude":"2d7d2080","hex_latitude":"05bfd5e8","is_valid_coordinates":true} 
[2026-09-05 18:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884911104001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128690143744753664,"note":"Value kept but may cause issues"} 
[2026-09-05 18:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258190690338816,"note":"Value kept but may cause issues"} 
[2026-09-05 18:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788612945000,"timestamp_ms":1788612945000,"timestamp_seconds":1788612945,"priority":1,"record_length":96,"hex_timestamp":"000001a071a3a468"} 
[2026-09-05 18:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 18:26:25] 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-09-05 18:26:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884911104001,"66":13559,"10":206,"85":12288,"24":34,"16":128690143744753664,"45":9022258190690338816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-09-05 18:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884911104001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:26:25] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-05 18:26:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128690143744753664,"km_value":128690143744753.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258190690338816,"description":"Unknown IO ID 45"} 
[2026-09-05 18:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884911104001,"power":13559,"unknown_10":206,"unknown_85":12288,"ignition":34,"odometer":null,"unknown_45":9022258190690338816}} 
[2026-09-05 18:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":173209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:26:25] local.INFO: GPS data processed {"connection_id":173209,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:26:25] local.INFO: Acknowledgment sent {"connection_id":173209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:26:33] local.INFO: TCP Data received {"connection_id":174530,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071a30440012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a30440012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:26:33] local.INFO: Processing buffer {"connection_id":174530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a30440012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:26:33] local.INFO: Packet analysis {"connection_id":174530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a3"} 
[2026-09-05 18:26:33] local.INFO: Extracted packet for processing {"connection_id":174530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a3"} 
[2026-09-05 18:26:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884826368001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788612904000,"timestamp_ms":1788612904000,"timestamp_seconds":1788612904,"priority":1,"record_length":96,"hex_timestamp":"000001a071a30440"} 
[2026-09-05 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-09-05 18:26: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-09-05 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 18:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884826368001,"66":25604,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884826368001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:26:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:26:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884826368001,"power":25604,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":174530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:26:34] local.INFO: GPS data processed {"connection_id":174530,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:26:34] local.INFO: Acknowledgment sent {"connection_id":174530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:26:55] local.INFO: TCP Data received {"connection_id":174532,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:26:55] local.INFO: Processing buffer {"connection_id":174532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:26:55] local.INFO: IMEI packet received {"connection_id":174532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":174532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:26:56] local.INFO: TCP Data received {"connection_id":173209,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071a3cb78012d7d0f8005bfb810000e00c51c..."} 
[2026-09-05 18:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a3cb78012d7d0f8005bfb810000e00c51c..."} 
[2026-09-05 18:26:56] local.INFO: Processing buffer {"connection_id":173209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a3cb78012d7d0f8005bfb810000e00c51c..."} 
[2026-09-05 18:26:56] local.INFO: Packet analysis {"connection_id":173209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a3"} 
[2026-09-05 18:26:56] local.INFO: Extracted packet for processing {"connection_id":173209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a3"} 
[2026-09-05 18:26:56] local.INFO: GPS Element Parsed {"raw_longitude":763170688,"raw_latitude":96450576,"longitude_deg":76.3170688,"latitude_deg":9.6450576,"altitude":14,"angle":197,"satellites":28,"speed":31,"hex_longitude":"2d7d0f80","hex_latitude":"05bfb810","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884913920001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128690568946515968,"note":"Value kept but may cause issues"} 
[2026-09-05 18:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016347216177391616,"note":"Value kept but may cause issues"} 
[2026-09-05 18:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788612955000,"timestamp_ms":1788612955000,"timestamp_seconds":1788612955,"priority":1,"record_length":96,"hex_timestamp":"000001a071a3cb78"} 
[2026-09-05 18:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-05 18:26:56] 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-09-05 18: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-09-05 18:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884913920001,"66":13319,"10":206,"85":12288,"24":31,"16":128690568946515968,"45":9016347216177391616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-09-05 18:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884913920001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:26:56] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-05 18:26:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128690568946515968,"km_value":128690568946515.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016347216177391616,"description":"Unknown IO ID 45"} 
[2026-09-05 18:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884913920001,"power":13319,"unknown_10":206,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":9016347216177391616}} 
[2026-09-05 18:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":173209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770546,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:26:56] local.INFO: GPS data processed {"connection_id":173209,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:26:56] local.INFO: Acknowledgment sent {"connection_id":173209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:27:01] local.INFO: TCP Data received {"connection_id":174532,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:27:01] local.INFO: Processing buffer {"connection_id":174532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:27:01] local.INFO: IMEI packet received {"connection_id":174532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":174532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:27:01] local.INFO: TCP Data received {"connection_id":174532,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071a30440012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a30440012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:27:01] local.INFO: Processing buffer {"connection_id":174532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a30440012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:27:01] local.INFO: Packet analysis {"connection_id":174532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a3"} 
[2026-09-05 18:27:01] local.INFO: Extracted packet for processing {"connection_id":174532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a3"} 
[2026-09-05 18:27:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884826368001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788612904000,"timestamp_ms":1788612904000,"timestamp_seconds":1788612904,"priority":1,"record_length":96,"hex_timestamp":"000001a071a30440"} 
[2026-09-05 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-09-05 18:27:02] 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-09-05 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 18:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884826368001,"66":25604,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884826368001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:27:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:27:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884826368001,"power":25604,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":174532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:27:02] local.INFO: GPS data processed {"connection_id":174532,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:27:02] local.INFO: Acknowledgment sent {"connection_id":174532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:27:24] local.INFO: TCP Data received {"connection_id":171818,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:27:24] local.INFO: Processing buffer {"connection_id":171818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:27:24] local.INFO: IMEI packet received {"connection_id":171818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":171818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:27:25] local.INFO: TCP Data received {"connection_id":171818,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:27:25] local.INFO: Processing buffer {"connection_id":171818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:27:25] local.INFO: IMEI packet received {"connection_id":171818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":171818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:27:25] local.INFO: TCP Data received {"connection_id":171818,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071a4e0d0012d7c638005bf7850001301071b..."} 
[2026-09-05 18:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a4e0d0012d7c638005bf7850001301071b..."} 
[2026-09-05 18:27:25] local.INFO: Processing buffer {"connection_id":171818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a4e0d0012d7c638005bf7850001301071b..."} 
[2026-09-05 18:27:25] local.INFO: Packet analysis {"connection_id":171818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a4"} 
[2026-09-05 18:27:25] local.INFO: Extracted packet for processing {"connection_id":171818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a4"} 
[2026-09-05 18:27:25] local.INFO: GPS Element Parsed {"raw_longitude":763126656,"raw_latitude":96434256,"longitude_deg":76.3126656,"latitude_deg":9.6434256,"altitude":19,"angle":263,"satellites":27,"speed":37,"hex_longitude":"2d7c6380","hex_latitude":"05bf7850","is_valid_coordinates":true} 
[2026-09-05 18:27: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-09-05 18:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884933120001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128693386445062144,"note":"Value kept but may cause issues"} 
[2026-09-05 18:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969622370037803008,"note":"Value kept but may cause issues"} 
[2026-09-05 18:27:25] 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-09-05 18:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788613026000,"timestamp_ms":1788613026000,"timestamp_seconds":1788613026,"priority":1,"record_length":96,"hex_timestamp":"000001a071a4e0d0"} 
[2026-09-05 18:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-05 18:27:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:27: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-09-05 18:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884933120001,"66":13526,"25":206,"85":12288,"24":37,"16":128693386445062144,"45":8969622370037803008},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-05 18:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884933120001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:27:25] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-05 18:27:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128693386445062144,"km_value":128693386445062.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969622370037803008,"description":"Unknown IO ID 45"} 
[2026-09-05 18:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884933120001,"power":13526,"unknown_25":206,"unknown_85":12288,"ignition":37,"odometer":null,"unknown_45":8969622370037803008}} 
[2026-09-05 18:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":171818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770548,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:27:25] local.INFO: GPS data processed {"connection_id":171818,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:27:25] local.INFO: Acknowledgment sent {"connection_id":171818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:27:29] local.INFO: TCP Data received {"connection_id":171818,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071a503f8012d7c3e4005bf75780013010b1c..."} 
[2026-09-05 18:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a503f8012d7c3e4005bf75780013010b1c..."} 
[2026-09-05 18:27:29] local.INFO: Processing buffer {"connection_id":171818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a503f8012d7c3e4005bf75780013010b1c..."} 
[2026-09-05 18:27:29] local.INFO: Packet analysis {"connection_id":171818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a5"} 
[2026-09-05 18:27:29] local.INFO: Extracted packet for processing {"connection_id":171818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a5"} 
[2026-09-05 18:27:29] local.INFO: GPS Element Parsed {"raw_longitude":763117120,"raw_latitude":96433528,"longitude_deg":76.311712,"latitude_deg":9.6433528,"altitude":19,"angle":267,"satellites":28,"speed":44,"hex_longitude":"2d7c3e40","hex_latitude":"05bf7578","is_valid_coordinates":true} 
[2026-09-05 18:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884934656001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128693846006562816,"note":"Value kept but may cause issues"} 
[2026-09-05 18:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963148445572943872,"note":"Value kept but may cause issues"} 
[2026-09-05 18:27:29] 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-09-05 18:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788613035000,"timestamp_ms":1788613035000,"timestamp_seconds":1788613035,"priority":1,"record_length":96,"hex_timestamp":"000001a071a503f8"} 
[2026-09-05 18:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 18:27:29] 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-09-05 18:27:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":171818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":171818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":171818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884934656001,"66":13646,"25":206,"85":12288,"24":44,"16":128693846006562816,"45":8963148445572943872},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-05 18:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884934656001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:27:29] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-05 18:27:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128693846006562816,"km_value":128693846006562.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963148445572943872,"description":"Unknown IO ID 45"} 
[2026-09-05 18:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884934656001,"power":13646,"unknown_25":206,"unknown_85":12288,"ignition":44,"odometer":null,"unknown_45":8963148445572943872}} 
[2026-09-05 18:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":171818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770549,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:27:29] local.INFO: GPS data processed {"connection_id":171818,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:27:29] local.INFO: Acknowledgment sent {"connection_id":171818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:27:33] local.INFO: TCP Data received {"connection_id":174532,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071a30440012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a30440012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:27:33] local.INFO: Processing buffer {"connection_id":174532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a30440012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:27:33] local.INFO: Packet analysis {"connection_id":174532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a3"} 
[2026-09-05 18:27:33] local.INFO: Extracted packet for processing {"connection_id":174532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a3"} 
[2026-09-05 18:27:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884826368001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788612904000,"timestamp_ms":1788612904000,"timestamp_seconds":1788612904,"priority":1,"record_length":96,"hex_timestamp":"000001a071a30440"} 
[2026-09-05 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-09-05 18:27: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-09-05 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 18:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884826368001,"66":25604,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884826368001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:27:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:27:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884826368001,"power":25604,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":174532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:27:33] local.INFO: GPS data processed {"connection_id":174532,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:27:33] local.INFO: Acknowledgment sent {"connection_id":174532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:27:55] local.INFO: TCP Data received {"connection_id":171819,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:27:55] local.INFO: Processing buffer {"connection_id":171819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:27:55] local.INFO: IMEI packet received {"connection_id":171819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":171819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:28:00] local.INFO: TCP Data received {"connection_id":171818,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071a52338012d7c1a4005bf76700011010e1d..."} 
[2026-09-05 18:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a52338012d7c1a4005bf76700011010e1d..."} 
[2026-09-05 18:28:00] local.INFO: Processing buffer {"connection_id":171818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a52338012d7c1a4005bf76700011010e1d..."} 
[2026-09-05 18:28:00] local.INFO: Packet analysis {"connection_id":171818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a5"} 
[2026-09-05 18:28:00] local.INFO: Extracted packet for processing {"connection_id":171818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a5"} 
[2026-09-05 18:28:00] local.INFO: GPS Element Parsed {"raw_longitude":763107904,"raw_latitude":96433776,"longitude_deg":76.3107904,"latitude_deg":9.6433776,"altitude":17,"angle":270,"satellites":29,"speed":45,"hex_longitude":"2d7c1a40","hex_latitude":"05bf7670","is_valid_coordinates":true} 
[2026-09-05 18:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884936960001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128694284093227008,"note":"Value kept but may cause issues"} 
[2026-09-05 18:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952663502690285568,"note":"Value kept but may cause issues"} 
[2026-09-05 18:28:00] 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-09-05 18:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788613043000,"timestamp_ms":1788613043000,"timestamp_seconds":1788613043,"priority":1,"record_length":96,"hex_timestamp":"000001a071a52338"} 
[2026-09-05 18:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-05 18:28:00] 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-09-05 18:28:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884936960001,"66":13243,"25":206,"85":12288,"24":45,"16":128694284093227008,"45":8952663502690285568},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-05 18:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884936960001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:28:00] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-05 18:28:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128694284093227008,"km_value":128694284093227.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952663502690285568,"description":"Unknown IO ID 45"} 
[2026-09-05 18:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884936960001,"power":13243,"unknown_25":206,"unknown_85":12288,"ignition":45,"odometer":null,"unknown_45":8952663502690285568}} 
[2026-09-05 18:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":171818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770551,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:28:00] local.INFO: GPS data processed {"connection_id":171818,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:28:00] local.INFO: Acknowledgment sent {"connection_id":171818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:28:01] local.INFO: TCP Data received {"connection_id":171819,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:28:01] local.INFO: Processing buffer {"connection_id":171819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:28:01] local.INFO: IMEI packet received {"connection_id":171819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":171819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:28:02] local.INFO: TCP Data received {"connection_id":171819,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071a30440012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a30440012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:28:02] local.INFO: Processing buffer {"connection_id":171819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a30440012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:28:02] local.INFO: Packet analysis {"connection_id":171819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a3"} 
[2026-09-05 18:28:02] local.INFO: Extracted packet for processing {"connection_id":171819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a3"} 
[2026-09-05 18:28:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884826368001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788612904000,"timestamp_ms":1788612904000,"timestamp_seconds":1788612904,"priority":1,"record_length":96,"hex_timestamp":"000001a071a30440"} 
[2026-09-05 18:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:28:02] 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-09-05 18: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":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18: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-09-05 18:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884826368001,"66":25604,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884826368001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:28:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:28:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884826368001,"power":25604,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":171819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:28:02] local.INFO: GPS data processed {"connection_id":171819,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:28:02] local.INFO: Acknowledgment sent {"connection_id":171819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:28:16] local.INFO: TCP Data received {"connection_id":174533,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174533,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:28:16] local.INFO: Processing buffer {"connection_id":174533,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:28:16] local.INFO: IMEI packet received {"connection_id":174533,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":174533,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:28:19] local.INFO: TCP Data received {"connection_id":174533,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174533,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:28:19] local.INFO: Processing buffer {"connection_id":174533,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:28:19] local.INFO: IMEI packet received {"connection_id":174533,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":174533,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:28:24] local.INFO: TCP Data received {"connection_id":174533,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174533,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:28:24] local.INFO: Processing buffer {"connection_id":174533,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:28:24] local.INFO: IMEI packet received {"connection_id":174533,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":174533,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:28:25] local.INFO: TCP Data received {"connection_id":174533,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071a532d8012d7c08c005bf74e0001001021d..."} 
[2026-09-05 18:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a532d8012d7c08c005bf74e0001001021d..."} 
[2026-09-05 18:28:25] local.INFO: Processing buffer {"connection_id":174533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a532d8012d7c08c005bf74e0001001021d..."} 
[2026-09-05 18:28:25] local.INFO: Packet analysis {"connection_id":174533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a5"} 
[2026-09-05 18:28:25] local.INFO: Extracted packet for processing {"connection_id":174533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a5"} 
[2026-09-05 18:28:25] local.INFO: GPS Element Parsed {"raw_longitude":763103424,"raw_latitude":96433376,"longitude_deg":76.3103424,"latitude_deg":9.6433376,"altitude":16,"angle":258,"satellites":29,"speed":44,"hex_longitude":"2d7c08c0","hex_latitude":"05bf74e0","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884939008001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128694503136559104,"note":"Value kept but may cause issues"} 
[2026-09-05 18:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942530403528765440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:28:25] 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-09-05 18:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788613047000,"timestamp_ms":1788613047000,"timestamp_seconds":1788613047,"priority":1,"record_length":96,"hex_timestamp":"000001a071a532d8"} 
[2026-09-05 18:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-05 18:28:25] 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-09-05 18: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-09-05 18:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884939008001,"66":13526,"25":206,"85":12288,"24":44,"16":128694503136559104,"45":8942530403528765440},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-05 18:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884939008001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:28:25] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-05 18:28:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128694503136559104,"km_value":128694503136559.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942530403528765440,"description":"Unknown IO ID 45"} 
[2026-09-05 18:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884939008001,"power":13526,"unknown_25":206,"unknown_85":12288,"ignition":44,"odometer":null,"unknown_45":8942530403528765440}} 
[2026-09-05 18:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":174533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770553,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:28:25] local.INFO: GPS data processed {"connection_id":174533,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:28:25] local.INFO: Acknowledgment sent {"connection_id":174533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:28:33] local.INFO: TCP Data received {"connection_id":171819,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071a30440012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a30440012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:28:33] local.INFO: Processing buffer {"connection_id":171819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a30440012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:28:33] local.INFO: Packet analysis {"connection_id":171819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a3"} 
[2026-09-05 18:28:33] local.INFO: Extracted packet for processing {"connection_id":171819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a3"} 
[2026-09-05 18:28:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884826368001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788612904000,"timestamp_ms":1788612904000,"timestamp_seconds":1788612904,"priority":1,"record_length":96,"hex_timestamp":"000001a071a30440"} 
[2026-09-05 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-09-05 18:28: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-09-05 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 18:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884826368001,"66":25604,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884826368001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:28:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:28:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884826368001,"power":25604,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":171819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:28:33] local.INFO: GPS data processed {"connection_id":171819,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:28:33] local.INFO: Acknowledgment sent {"connection_id":171819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:28:56] local.INFO: TCP Data received {"connection_id":174533,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071a55218012d7be58005bf6da8000f01051d..."} 
[2026-09-05 18:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a55218012d7be58005bf6da8000f01051d..."} 
[2026-09-05 18:28:56] local.INFO: Processing buffer {"connection_id":174533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a55218012d7be58005bf6da8000f01051d..."} 
[2026-09-05 18:28:56] local.INFO: Packet analysis {"connection_id":174533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a5"} 
[2026-09-05 18:28:56] local.INFO: Extracted packet for processing {"connection_id":174533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a5"} 
[2026-09-05 18:28:56] local.INFO: GPS Element Parsed {"raw_longitude":763094400,"raw_latitude":96431528,"longitude_deg":76.30944,"latitude_deg":9.6431528,"altitude":15,"angle":261,"satellites":29,"speed":43,"hex_longitude":"2d7be580","hex_latitude":"05bf6da8","is_valid_coordinates":true} 
[2026-09-05 18:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884940032001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128694941223223296,"note":"Value kept but may cause issues"} 
[2026-09-05 18:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937604591436226560,"note":"Value kept but may cause issues"} 
[2026-09-05 18:28:56] 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-09-05 18:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788613055000,"timestamp_ms":1788613055000,"timestamp_seconds":1788613055,"priority":1,"record_length":96,"hex_timestamp":"000001a071a55218"} 
[2026-09-05 18:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 18:28:56] 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-09-05 18:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884940032001,"66":13515,"25":206,"85":12288,"24":43,"16":128694941223223296,"45":8937604591436226560},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-05 18:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884940032001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:28:56] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-05 18:28:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128694941223223296,"km_value":128694941223223.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937604591436226560,"description":"Unknown IO ID 45"} 
[2026-09-05 18:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884940032001,"power":13515,"unknown_25":206,"unknown_85":12288,"ignition":43,"odometer":null,"unknown_45":8937604591436226560}} 
[2026-09-05 18:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":174533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770555,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:28:56] local.INFO: GPS data processed {"connection_id":174533,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:28:56] local.INFO: Acknowledgment sent {"connection_id":174533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:29:01] local.INFO: TCP Data received {"connection_id":172088,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:29:01] local.INFO: Processing buffer {"connection_id":172088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:29:01] local.INFO: IMEI packet received {"connection_id":172088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":172088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:29:06] local.INFO: TCP Data received {"connection_id":172088,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:29:06] local.INFO: Processing buffer {"connection_id":172088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:29:06] local.INFO: IMEI packet received {"connection_id":172088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":172088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:29:06] local.INFO: TCP Data received {"connection_id":172088,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071a30440012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a30440012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:29:06] local.INFO: Processing buffer {"connection_id":172088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a30440012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:29:06] local.INFO: Packet analysis {"connection_id":172088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a3"} 
[2026-09-05 18:29:06] local.INFO: Extracted packet for processing {"connection_id":172088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a3"} 
[2026-09-05 18:29:06] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884826368001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788612904000,"timestamp_ms":1788612904000,"timestamp_seconds":1788612904,"priority":1,"record_length":96,"hex_timestamp":"000001a071a30440"} 
[2026-09-05 18:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:29:06] 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-09-05 18:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:29: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-09-05 18:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884826368001,"66":25604,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884826368001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:29:06] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:29:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884826368001,"power":25604,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":172088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:29:06] local.INFO: GPS data processed {"connection_id":172088,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:29:06] local.INFO: Acknowledgment sent {"connection_id":172088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:29:11] local.INFO: TCP Data received {"connection_id":172088,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071a30440012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a30440012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:29:11] local.INFO: Processing buffer {"connection_id":172088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a30440012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:29:11] local.INFO: Packet analysis {"connection_id":172088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a3"} 
[2026-09-05 18:29:11] local.INFO: Extracted packet for processing {"connection_id":172088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a3"} 
[2026-09-05 18:29:11] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884826368001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788612904000,"timestamp_ms":1788612904000,"timestamp_seconds":1788612904,"priority":1,"record_length":96,"hex_timestamp":"000001a071a30440"} 
[2026-09-05 18:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:29: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-09-05 18:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:29: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-09-05 18:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":172088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":172088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":172088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884826368001,"66":25604,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884826368001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:29:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:29:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884826368001,"power":25604,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":172088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:29:11] local.INFO: GPS data processed {"connection_id":172088,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:29:11] local.INFO: Acknowledgment sent {"connection_id":172088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:29:19] local.INFO: TCP Data received {"connection_id":171820,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:29:19] local.INFO: Processing buffer {"connection_id":171820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:29:19] local.INFO: IMEI packet received {"connection_id":171820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":171820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:29:23] local.INFO: TCP Data received {"connection_id":171820,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:29:23] local.INFO: Processing buffer {"connection_id":171820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:29:23] local.INFO: IMEI packet received {"connection_id":171820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":171820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:29:24] local.INFO: TCP Data received {"connection_id":171820,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071a57158012d7bc30005bf6530000d00ff1c..."} 
[2026-09-05 18:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a57158012d7bc30005bf6530000d00ff1c..."} 
[2026-09-05 18:29:24] local.INFO: Processing buffer {"connection_id":171820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a57158012d7bc30005bf6530000d00ff1c..."} 
[2026-09-05 18:29:24] local.INFO: Packet analysis {"connection_id":171820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a5"} 
[2026-09-05 18:29:24] local.INFO: Extracted packet for processing {"connection_id":171820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a5"} 
[2026-09-05 18:29:24] local.INFO: GPS Element Parsed {"raw_longitude":763085568,"raw_latitude":96429360,"longitude_deg":76.3085568,"latitude_deg":9.642936,"altitude":13,"angle":255,"satellites":28,"speed":36,"hex_longitude":"2d7bc300","hex_latitude":"05bf6530","is_valid_coordinates":true} 
[2026-09-05 18:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884942080001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128695379309887488,"note":"Value kept but may cause issues"} 
[2026-09-05 18:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927682598506702848,"note":"Value kept but may cause issues"} 
[2026-09-05 18:29:24] 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-09-05 18:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788613063000,"timestamp_ms":1788613063000,"timestamp_seconds":1788613063,"priority":1,"record_length":96,"hex_timestamp":"000001a071a57158"} 
[2026-09-05 18:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-05 18:29:24] 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-09-05 18:29:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884942080001,"66":13189,"25":206,"85":12288,"24":36,"16":128695379309887488,"45":8927682598506702848},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-05 18:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884942080001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:29:24] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-05 18:29:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128695379309887488,"km_value":128695379309887.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927682598506702848,"description":"Unknown IO ID 45"} 
[2026-09-05 18:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884942080001,"power":13189,"unknown_25":206,"unknown_85":12288,"ignition":36,"odometer":null,"unknown_45":8927682598506702848}} 
[2026-09-05 18:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":171820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770558,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:29:24] local.INFO: GPS data processed {"connection_id":171820,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:29:24] local.INFO: Acknowledgment sent {"connection_id":171820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:29:49] local.INFO: TCP Data received {"connection_id":171821,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:29:49] local.INFO: Processing buffer {"connection_id":171821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:29:49] local.INFO: IMEI packet received {"connection_id":171821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":171821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:29:50] local.INFO: TCP Data received {"connection_id":171821,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071a4a638012d196740071fecc8003b011530..."} 
[2026-09-05 18:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a4a638012d196740071fecc8003b011530..."} 
[2026-09-05 18:29:50] local.INFO: Processing buffer {"connection_id":171821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a4a638012d196740071fecc8003b011530..."} 
[2026-09-05 18:29:50] local.INFO: Packet analysis {"connection_id":171821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a4"} 
[2026-09-05 18:29:50] local.INFO: Extracted packet for processing {"connection_id":171821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a4"} 
[2026-09-05 18:29:50] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884925440001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788613011000,"timestamp_ms":1788613011000,"timestamp_seconds":1788613011,"priority":1,"record_length":96,"hex_timestamp":"000001a071a4a638"} 
[2026-09-05 18:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:29: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-09-05 18:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-05 18:29:50] 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-09-05 18:29:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884925440001,"66":12982,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884925440001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:29:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:29:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884925440001,"power":12982,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":171821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:29:51] local.INFO: GPS data processed {"connection_id":171821,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:29:51] local.INFO: Acknowledgment sent {"connection_id":171821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:29:56] local.INFO: TCP Data received {"connection_id":172089,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:29:56] local.INFO: Processing buffer {"connection_id":172089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:29:56] local.INFO: IMEI packet received {"connection_id":172089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":172089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:29:56] local.INFO: TCP Data received {"connection_id":171820,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071a73290012d7a3c4005bf3e70000c00fb1e..."} 
[2026-09-05 18:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a73290012d7a3c4005bf3e70000c00fb1e..."} 
[2026-09-05 18:29:56] local.INFO: Processing buffer {"connection_id":171820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a73290012d7a3c4005bf3e70000c00fb1e..."} 
[2026-09-05 18:29:56] local.INFO: Packet analysis {"connection_id":171820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:29:56] local.INFO: Extracted packet for processing {"connection_id":171820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:29:56] local.INFO: GPS Element Parsed {"raw_longitude":762985536,"raw_latitude":96419440,"longitude_deg":76.2985536,"latitude_deg":9.641944,"altitude":12,"angle":251,"satellites":30,"speed":8,"hex_longitude":"2d7a3c40","hex_latitude":"05bf3e70","is_valid_coordinates":true} 
[2026-09-05 18:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884971264001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128700211148095488,"note":"Value kept but may cause issues"} 
[2026-09-05 18:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815162976563570688,"note":"Value kept but may cause issues"} 
[2026-09-05 18:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788613178000,"timestamp_ms":1788613178000,"timestamp_seconds":1788613178,"priority":1,"record_length":96,"hex_timestamp":"000001a071a73290"} 
[2026-09-05 18:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-05 18:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:29:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884971264001,"66":13243,"44":206,"85":12288,"24":8,"16":128700211148095488,"45":8815162976563570688},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-09-05 18:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884971264001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:29:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-05 18:29:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128700211148095488,"km_value":128700211148095.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815162976563570688,"description":"Unknown IO ID 45"} 
[2026-09-05 18:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884971264001,"power":13243,"unknown_44":206,"unknown_85":12288,"ignition":8,"odometer":null,"unknown_45":8815162976563570688}} 
[2026-09-05 18:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":171820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770560,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:29:56] local.INFO: GPS data processed {"connection_id":171820,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:29:56] local.INFO: Acknowledgment sent {"connection_id":171820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:30:01] local.INFO: TCP Data received {"connection_id":172089,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:30:01] local.INFO: Processing buffer {"connection_id":172089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:30:01] local.INFO: IMEI packet received {"connection_id":172089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":172089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:30:01] local.INFO: TCP Data received {"connection_id":172089,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071a30440012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a30440012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:30:01] local.INFO: Processing buffer {"connection_id":172089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a30440012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:30:01] local.INFO: Packet analysis {"connection_id":172089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a3"} 
[2026-09-05 18:30:01] local.INFO: Extracted packet for processing {"connection_id":172089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a3"} 
[2026-09-05 18:30:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884826368001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788612904000,"timestamp_ms":1788612904000,"timestamp_seconds":1788612904,"priority":1,"record_length":96,"hex_timestamp":"000001a071a30440"} 
[2026-09-05 18:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:30:01] 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-09-05 18:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:30:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884826368001,"66":25604,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884826368001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:30:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:30:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884826368001,"power":25604,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":172089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:30:01] local.INFO: GPS data processed {"connection_id":172089,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:30:01] local.INFO: Acknowledgment sent {"connection_id":172089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:30:19] local.INFO: TCP Data received {"connection_id":171822,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:30:19] local.INFO: Processing buffer {"connection_id":171822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:30:19] local.INFO: IMEI packet received {"connection_id":171822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":171822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:30:21] local.INFO: TCP Data received {"connection_id":171822,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:30:21] local.INFO: Processing buffer {"connection_id":171822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:30:21] local.INFO: IMEI packet received {"connection_id":171822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":171822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:30:21] local.INFO: TCP Data received {"connection_id":171821,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071a4f840012d196740071fecc8003b01152b..."} 
[2026-09-05 18:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a4f840012d196740071fecc8003b01152b..."} 
[2026-09-05 18:30:21] local.INFO: Processing buffer {"connection_id":171821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a4f840012d196740071fecc8003b01152b..."} 
[2026-09-05 18:30:21] local.INFO: Packet analysis {"connection_id":171821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a4"} 
[2026-09-05 18:30:21] local.INFO: Extracted packet for processing {"connection_id":171821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a4"} 
[2026-09-05 18:30:21] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884930816001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788613032000,"timestamp_ms":1788613032000,"timestamp_seconds":1788613032,"priority":1,"record_length":96,"hex_timestamp":"000001a071a4f840"} 
[2026-09-05 18:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:30: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-09-05 18:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-05 18:30:21] 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-09-05 18:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884930816001,"66":12950,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884930816001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:30:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:30:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884930816001,"power":12950,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":171821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:30:21] local.INFO: GPS data processed {"connection_id":171821,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:30:21] local.INFO: Acknowledgment sent {"connection_id":171821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:30:24] local.INFO: TCP Data received {"connection_id":171822,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:30:24] local.INFO: Processing buffer {"connection_id":171822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:30:24] local.INFO: IMEI packet received {"connection_id":171822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":171822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:30:25] local.INFO: TCP Data received {"connection_id":171822,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071a75d88012d7a3a8005bf3d08000b00c31e..."} 
[2026-09-05 18:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a75d88012d7a3a8005bf3d08000b00c31e..."} 
[2026-09-05 18:30:25] local.INFO: Processing buffer {"connection_id":171822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a75d88012d7a3a8005bf3d08000b00c31e..."} 
[2026-09-05 18:30:25] local.INFO: Packet analysis {"connection_id":171822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:30:25] local.INFO: Extracted packet for processing {"connection_id":171822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:30:25] local.INFO: GPS Element Parsed {"raw_longitude":762985088,"raw_latitude":96419080,"longitude_deg":76.2985088,"latitude_deg":9.641908,"altitude":11,"angle":195,"satellites":30,"speed":8,"hex_longitude":"2d7a3a80","hex_latitude":"05bf3d08","is_valid_coordinates":true} 
[2026-09-05 18:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884973568001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128700241212866560,"note":"Value kept but may cause issues"} 
[2026-09-05 18:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807985364657401856,"note":"Value kept but may cause issues"} 
[2026-09-05 18:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788613189000,"timestamp_ms":1788613189000,"timestamp_seconds":1788613189,"priority":1,"record_length":96,"hex_timestamp":"000001a071a75d88"} 
[2026-09-05 18:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:30:25] 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-09-05 18:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-05 18:30:25] 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-09-05 18:30:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884973568001,"66":13461,"44":206,"85":12288,"24":8,"16":128700241212866560,"45":8807985364657401856},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-09-05 18:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884973568001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:30:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-05 18:30:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128700241212866560,"km_value":128700241212866.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807985364657401856,"description":"Unknown IO ID 45"} 
[2026-09-05 18:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884973568001,"power":13461,"unknown_44":206,"unknown_85":12288,"ignition":8,"odometer":null,"unknown_45":8807985364657401856}} 
[2026-09-05 18:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":171822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770563,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:30:25] local.INFO: GPS data processed {"connection_id":171822,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:30:25] local.INFO: Acknowledgment sent {"connection_id":171822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:30:29] local.INFO: TCP Data received {"connection_id":171822,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071a76170012d7a3a8005bf3c18000b00b71e..."} 
[2026-09-05 18:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a76170012d7a3a8005bf3c18000b00b71e..."} 
[2026-09-05 18:30:29] local.INFO: Processing buffer {"connection_id":171822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a76170012d7a3a8005bf3c18000b00b71e..."} 
[2026-09-05 18:30:29] local.INFO: Packet analysis {"connection_id":171822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:30:29] local.INFO: Extracted packet for processing {"connection_id":171822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:30:29] local.INFO: GPS Element Parsed {"raw_longitude":762985088,"raw_latitude":96418840,"longitude_deg":76.2985088,"latitude_deg":9.641884,"altitude":11,"angle":183,"satellites":30,"speed":10,"hex_longitude":"2d7a3a80","hex_latitude":"05bf3c18","is_valid_coordinates":true} 
[2026-09-05 18:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884976384001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128700254097768448,"note":"Value kept but may cause issues"} 
[2026-09-05 18:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807492783448066048,"note":"Value kept but may cause issues"} 
[2026-09-05 18:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788613190000,"timestamp_ms":1788613190000,"timestamp_seconds":1788613190,"priority":1,"record_length":96,"hex_timestamp":"000001a071a76170"} 
[2026-09-05 18:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-05 18:30:29] 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-09-05 18:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":171822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":171822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":171822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884976384001,"66":13765,"44":206,"85":12288,"24":10,"16":128700254097768448,"45":8807492783448066048},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-09-05 18:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884976384001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:30:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-05 18:30:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128700254097768448,"km_value":128700254097768.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807492783448066048,"description":"Unknown IO ID 45"} 
[2026-09-05 18:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884976384001,"power":13765,"unknown_44":206,"unknown_85":12288,"ignition":10,"odometer":null,"unknown_45":8807492783448066048}} 
[2026-09-05 18:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":171822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770564,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:30:29] local.INFO: GPS data processed {"connection_id":171822,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:30:29] local.INFO: Acknowledgment sent {"connection_id":171822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:30:32] local.INFO: TCP Data received {"connection_id":172089,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071a30440012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a30440012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:30:32] local.INFO: Processing buffer {"connection_id":172089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a30440012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:30:32] local.INFO: Packet analysis {"connection_id":172089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a3"} 
[2026-09-05 18:30:32] local.INFO: Extracted packet for processing {"connection_id":172089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a3"} 
[2026-09-05 18:30:32] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884826368001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788612904000,"timestamp_ms":1788612904000,"timestamp_seconds":1788612904,"priority":1,"record_length":96,"hex_timestamp":"000001a071a30440"} 
[2026-09-05 18:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 18: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":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18: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-09-05 18:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884826368001,"66":25604,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884826368001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:30:32] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:30:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884826368001,"power":25604,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":172089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:30:32] local.INFO: GPS data processed {"connection_id":172089,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:30:32] local.INFO: Acknowledgment sent {"connection_id":172089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:30:44] local.INFO: TCP Data received {"connection_id":171823,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:30:44] local.INFO: Processing buffer {"connection_id":171823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:30:44] local.INFO: IMEI packet received {"connection_id":171823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":171823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:30:49] local.INFO: TCP Data received {"connection_id":171823,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:30:49] local.INFO: Processing buffer {"connection_id":171823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:30:49] local.INFO: IMEI packet received {"connection_id":171823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":171823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:30:50] local.INFO: TCP Data received {"connection_id":171823,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071a54a48012d196740071fecc8003b01152d..."} 
[2026-09-05 18:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a54a48012d196740071fecc8003b01152d..."} 
[2026-09-05 18:30:50] local.INFO: Processing buffer {"connection_id":171823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a54a48012d196740071fecc8003b01152d..."} 
[2026-09-05 18:30:50] local.INFO: Packet analysis {"connection_id":171823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a5"} 
[2026-09-05 18:30:50] local.INFO: Extracted packet for processing {"connection_id":171823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a5"} 
[2026-09-05 18:30:50] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884936192001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788613053000,"timestamp_ms":1788613053000,"timestamp_seconds":1788613053,"priority":1,"record_length":96,"hex_timestamp":"000001a071a54a48"} 
[2026-09-05 18:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-05 18:30: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-09-05 18:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884936192001,"66":12939,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884936192001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:30:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:30:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884936192001,"power":12939,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":171823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:30:50] local.INFO: GPS data processed {"connection_id":171823,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:30:50] local.INFO: Acknowledgment sent {"connection_id":171823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:30:56] local.INFO: TCP Data received {"connection_id":171824,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:30:56] local.INFO: Processing buffer {"connection_id":171824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:30:56] local.INFO: IMEI packet received {"connection_id":171824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":171824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:31:00] local.INFO: TCP Data received {"connection_id":171824,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:31:00] local.INFO: Processing buffer {"connection_id":171824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:31:00] local.INFO: IMEI packet received {"connection_id":171824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":171824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:31:01] local.INFO: TCP Data received {"connection_id":171822,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071a778e0012d7a3b0005bf3048000c00ab1e..."} 
[2026-09-05 18:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a778e0012d7a3b0005bf3048000c00ab1e..."} 
[2026-09-05 18:31:01] local.INFO: Processing buffer {"connection_id":171822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a778e0012d7a3b0005bf3048000c00ab1e..."} 
[2026-09-05 18:31:01] local.INFO: Packet analysis {"connection_id":171822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:31:01] local.INFO: Extracted packet for processing {"connection_id":171822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:31:01] local.INFO: GPS Element Parsed {"raw_longitude":762985216,"raw_latitude":96415816,"longitude_deg":76.2985216,"latitude_deg":9.6415816,"altitude":12,"angle":171,"satellites":30,"speed":28,"hex_longitude":"2d7a3b00","hex_latitude":"05bf3048","is_valid_coordinates":true} 
[2026-09-05 18:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884976640001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128700400126656512,"note":"Value kept but may cause issues"} 
[2026-09-05 18:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807492783448004608,"note":"Value kept but may cause issues"} 
[2026-09-05 18:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788613196000,"timestamp_ms":1788613196000,"timestamp_seconds":1788613196,"priority":1,"record_length":96,"hex_timestamp":"000001a071a778e0"} 
[2026-09-05 18:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:31:01] 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-09-05 18:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-05 18:31:01] 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-09-05 18:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884976640001,"66":13091,"44":206,"85":12288,"24":28,"16":128700400126656512,"45":8807492783448004608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-09-05 18:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884976640001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:31:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-05 18:31:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128700400126656512,"km_value":128700400126656.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807492783448004608,"description":"Unknown IO ID 45"} 
[2026-09-05 18:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884976640001,"power":13091,"unknown_44":206,"unknown_85":12288,"ignition":28,"odometer":null,"unknown_45":8807492783448004608}} 
[2026-09-05 18:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":171822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770567,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:31:01] local.INFO: GPS data processed {"connection_id":171822,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:31:01] local.INFO: Acknowledgment sent {"connection_id":171822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:31:01] local.INFO: TCP Data received {"connection_id":171824,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071a79c08012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a79c08012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:31:01] local.INFO: Processing buffer {"connection_id":171824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a79c08012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:31:01] local.INFO: Packet analysis {"connection_id":171824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:31:01] local.INFO: Extracted packet for processing {"connection_id":171824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:31:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884903424001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788613205000,"timestamp_ms":1788613205000,"timestamp_seconds":1788613205,"priority":1,"record_length":96,"hex_timestamp":"000001a071a79c08"} 
[2026-09-05 18:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:31:01] 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-09-05 18:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 18:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884903424001,"66":25702,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884903424001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:31:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:31:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884903424001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":171824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:31:01] local.INFO: GPS data processed {"connection_id":171824,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:31:01] local.INFO: Acknowledgment sent {"connection_id":171824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:31:21] local.INFO: TCP Data received {"connection_id":171823,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071a59c50012d196740071fecc8003b01152e..."} 
[2026-09-05 18:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a59c50012d196740071fecc8003b01152e..."} 
[2026-09-05 18:31:21] local.INFO: Processing buffer {"connection_id":171823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a59c50012d196740071fecc8003b01152e..."} 
[2026-09-05 18:31:21] local.INFO: Packet analysis {"connection_id":171823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a5"} 
[2026-09-05 18:31:21] local.INFO: Extracted packet for processing {"connection_id":171823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a5"} 
[2026-09-05 18:31:21] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884941568001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788613074000,"timestamp_ms":1788613074000,"timestamp_seconds":1788613074,"priority":1,"record_length":96,"hex_timestamp":"000001a071a59c50"} 
[2026-09-05 18:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:31: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-09-05 18:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 18:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:31:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884941568001,"66":12852,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884941568001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:31:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:31:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884941568001,"power":12852,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":171823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:31:21] local.INFO: GPS data processed {"connection_id":171823,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:31:21] local.INFO: Acknowledgment sent {"connection_id":171823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:31:33] local.INFO: TCP Data received {"connection_id":171824,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071a79c08012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a79c08012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:31:33] local.INFO: Processing buffer {"connection_id":171824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a79c08012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:31:33] local.INFO: Packet analysis {"connection_id":171824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:31:33] local.INFO: Extracted packet for processing {"connection_id":171824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:31:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884903424001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788613205000,"timestamp_ms":1788613205000,"timestamp_seconds":1788613205,"priority":1,"record_length":96,"hex_timestamp":"000001a071a79c08"} 
[2026-09-05 18:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:31: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-09-05 18: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":4,"data_length":795,"current_offset":136} 
[2026-09-05 18:31: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-09-05 18: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-09-05 18:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884903424001,"66":25702,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884903424001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:31:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:31:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884903424001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":171824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:31:33] local.INFO: GPS data processed {"connection_id":171824,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:31:33] local.INFO: Acknowledgment sent {"connection_id":171824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:31:41] local.INFO: TCP Data received {"connection_id":171825,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:31:41] local.INFO: Processing buffer {"connection_id":171825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:31:41] local.INFO: IMEI packet received {"connection_id":171825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":171825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:31:44] local.INFO: TCP Data received {"connection_id":171825,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:31:44] local.INFO: Processing buffer {"connection_id":171825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:31:44] local.INFO: IMEI packet received {"connection_id":171825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":171825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:31:49] local.INFO: TCP Data received {"connection_id":171825,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:31:49] local.INFO: Processing buffer {"connection_id":171825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:31:49] local.INFO: IMEI packet received {"connection_id":171825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":171825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:31:50] local.INFO: TCP Data received {"connection_id":171825,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071a5ee58012d196740071fecc8003b01152e..."} 
[2026-09-05 18:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a5ee58012d196740071fecc8003b01152e..."} 
[2026-09-05 18:31:50] local.INFO: Processing buffer {"connection_id":171825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a5ee58012d196740071fecc8003b01152e..."} 
[2026-09-05 18:31:50] local.INFO: Packet analysis {"connection_id":171825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a5"} 
[2026-09-05 18:31:50] local.INFO: Extracted packet for processing {"connection_id":171825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a5"} 
[2026-09-05 18:31:50] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884946944001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:31:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788613095000,"timestamp_ms":1788613095000,"timestamp_seconds":1788613095,"priority":1,"record_length":96,"hex_timestamp":"000001a071a5ee58"} 
[2026-09-05 18:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:31: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-09-05 18:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-05 18:31:50] 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-09-05 18:31:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:31:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884946944001,"66":12885,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884946944001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:31:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:31:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:31:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884946944001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":171825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:31:50] local.INFO: GPS data processed {"connection_id":171825,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:31:50] local.INFO: Acknowledgment sent {"connection_id":171825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:31:54] local.INFO: TCP Data received {"connection_id":173210,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:31:54] local.INFO: Processing buffer {"connection_id":173210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:31:54] local.INFO: IMEI packet received {"connection_id":173210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":173210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:31:55] local.INFO: TCP Data received {"connection_id":171826,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:31:55] local.INFO: Processing buffer {"connection_id":171826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:31:55] local.INFO: IMEI packet received {"connection_id":171826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":171826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:31:58] local.INFO: TCP Data received {"connection_id":173210,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:31:58] local.INFO: Processing buffer {"connection_id":173210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:31:58] local.INFO: IMEI packet received {"connection_id":173210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":173210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:31:59] local.INFO: TCP Data received {"connection_id":173210,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071a8bd18012d7a5d0005bdd838000800ad1e..."} 
[2026-09-05 18:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a8bd18012d7a5d0005bdd838000800ad1e..."} 
[2026-09-05 18:31:59] local.INFO: Processing buffer {"connection_id":173210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a8bd18012d7a5d0005bdd838000800ad1e..."} 
[2026-09-05 18:31:59] local.INFO: Packet analysis {"connection_id":173210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a8"} 
[2026-09-05 18:31:59] local.INFO: Extracted packet for processing {"connection_id":173210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a8"} 
[2026-09-05 18:31:59] local.INFO: GPS Element Parsed {"raw_longitude":762993920,"raw_latitude":96327736,"longitude_deg":76.299392,"latitude_deg":9.6327736,"altitude":8,"angle":173,"satellites":30,"speed":48,"hex_longitude":"2d7a5d00","hex_latitude":"05bdd838","is_valid_coordinates":true} 
[2026-09-05 18:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884997376001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815374082775058432,"note":"Value kept but may cause issues"} 
[2026-09-05 18:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128704720863756288,"note":"Value kept but may cause issues"} 
[2026-09-05 18:31:59] 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-09-05 18:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788613279000,"timestamp_ms":1788613279000,"timestamp_seconds":1788613279,"priority":1,"record_length":96,"hex_timestamp":"000001a071a8bd18"} 
[2026-09-05 18:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-05 18:31:59] 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-09-05 18:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884997376001,"66":13341,"45":8815374082775058432,"85":12288,"24":48,"16":128704720863756288},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-05 18:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884997376001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815374082775058432,"description":"Unknown IO ID 45"} 
[2026-09-05 18:31:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128704720863756288,"km_value":128704720863756.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:31:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457884997376001,"power":13341,"unknown_45":8815374082775058432,"unknown_85":12288,"ignition":48,"odometer":null}} 
[2026-09-05 18:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":173210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770572,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:31:59] local.INFO: GPS data processed {"connection_id":173210,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:31:59] local.INFO: Acknowledgment sent {"connection_id":173210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:31:59] local.INFO: TCP Data received {"connection_id":173210,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071a8e428012d7a600005bdb2a8000900b01e..."} 
[2026-09-05 18:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a8e428012d7a600005bdb2a8000900b01e..."} 
[2026-09-05 18:31:59] local.INFO: Processing buffer {"connection_id":173210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a8e428012d7a600005bdb2a8000900b01e..."} 
[2026-09-05 18:31:59] local.INFO: Packet analysis {"connection_id":173210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a8"} 
[2026-09-05 18:31:59] local.INFO: Extracted packet for processing {"connection_id":173210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a8"} 
[2026-09-05 18:31:59] local.INFO: GPS Element Parsed {"raw_longitude":762994688,"raw_latitude":96318120,"longitude_deg":76.2994688,"latitude_deg":9.631812,"altitude":9,"angle":176,"satellites":30,"speed":33,"hex_longitude":"2d7a6000","hex_latitude":"05bdb2a8","is_valid_coordinates":true} 
[2026-09-05 18:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884999424001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817203670121199616,"note":"Value kept but may cause issues"} 
[2026-09-05 18:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128705189015191552,"note":"Value kept but may cause issues"} 
[2026-09-05 18:31:59] 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-09-05 18:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788613289000,"timestamp_ms":1788613289000,"timestamp_seconds":1788613289,"priority":1,"record_length":96,"hex_timestamp":"000001a071a8e428"} 
[2026-09-05 18:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-05 18:31:59] 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-09-05 18:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884999424001,"66":13472,"45":8817203670121199616,"85":12288,"24":33,"16":128705189015191552},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-05 18:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884999424001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817203670121199616,"description":"Unknown IO ID 45"} 
[2026-09-05 18:31:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128705189015191552,"km_value":128705189015191.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:31:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457884999424001,"power":13472,"unknown_45":8817203670121199616,"unknown_85":12288,"ignition":33,"odometer":null}} 
[2026-09-05 18:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":173210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770573,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:31:59] local.INFO: GPS data processed {"connection_id":173210,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:31:59] local.INFO: Acknowledgment sent {"connection_id":173210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:32:01] local.INFO: TCP Data received {"connection_id":171826,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:32:01] local.INFO: Processing buffer {"connection_id":171826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:32:01] local.INFO: IMEI packet received {"connection_id":171826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":171826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:32:01] local.INFO: TCP Data received {"connection_id":171826,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071a79c08012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a79c08012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:32:01] local.INFO: Processing buffer {"connection_id":171826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a79c08012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:32:01] local.INFO: Packet analysis {"connection_id":171826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:32:01] local.INFO: Extracted packet for processing {"connection_id":171826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:32:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884903424001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788613205000,"timestamp_ms":1788613205000,"timestamp_seconds":1788613205,"priority":1,"record_length":96,"hex_timestamp":"000001a071a79c08"} 
[2026-09-05 18:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:32:01] 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-09-05 18: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 18:32:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18: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-09-05 18:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884903424001,"66":25702,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884903424001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:32:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:32:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884903424001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":171826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:32:01] local.INFO: GPS data processed {"connection_id":171826,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:32:01] local.INFO: Acknowledgment sent {"connection_id":171826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:32:21] local.INFO: TCP Data received {"connection_id":171825,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071a64060012d196740071fecc8003b011530..."} 
[2026-09-05 18:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a64060012d196740071fecc8003b011530..."} 
[2026-09-05 18:32:21] local.INFO: Processing buffer {"connection_id":171825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a64060012d196740071fecc8003b011530..."} 
[2026-09-05 18:32:21] local.INFO: Packet analysis {"connection_id":171825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a6"} 
[2026-09-05 18:32:21] local.INFO: Extracted packet for processing {"connection_id":171825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a6"} 
[2026-09-05 18:32:21] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884952320001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788613116000,"timestamp_ms":1788613116000,"timestamp_seconds":1788613116,"priority":1,"record_length":96,"hex_timestamp":"000001a071a64060"} 
[2026-09-05 18:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:32: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-09-05 18:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-05 18:32:21] 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-09-05 18:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884952320001,"66":12841,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884952320001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:32:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:32:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884952320001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":171825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:32:21] local.INFO: GPS data processed {"connection_id":171825,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:32:21] local.INFO: Acknowledgment sent {"connection_id":171825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:32:24] local.INFO: TCP Data received {"connection_id":172090,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:32:24] local.INFO: Processing buffer {"connection_id":172090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:32:24] local.INFO: IMEI packet received {"connection_id":172090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":172090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:32:25] local.INFO: TCP Data received {"connection_id":172090,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:32:25] local.INFO: Processing buffer {"connection_id":172090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:32:25] local.INFO: IMEI packet received {"connection_id":172090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":172090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:32:26] local.INFO: TCP Data received {"connection_id":172090,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:32:26] local.INFO: Processing buffer {"connection_id":172090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:32:26] local.INFO: IMEI packet received {"connection_id":172090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":172090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:32:27] local.INFO: TCP Data received {"connection_id":172090,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:32:27] local.INFO: Processing buffer {"connection_id":172090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:32:27] local.INFO: IMEI packet received {"connection_id":172090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":172090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:32:27] local.INFO: TCP Data received {"connection_id":172090,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071a91ad8012d7a61c005bd8f50000800b21e..."} 
[2026-09-05 18:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a91ad8012d7a61c005bd8f50000800b21e..."} 
[2026-09-05 18:32:27] local.INFO: Processing buffer {"connection_id":172090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a91ad8012d7a61c005bd8f50000800b21e..."} 
[2026-09-05 18:32:27] local.INFO: Packet analysis {"connection_id":172090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a9"} 
[2026-09-05 18:32:27] local.INFO: Extracted packet for processing {"connection_id":172090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a9"} 
[2026-09-05 18:32:27] local.INFO: GPS Element Parsed {"raw_longitude":762995136,"raw_latitude":96309072,"longitude_deg":76.2995136,"latitude_deg":9.6309072,"altitude":8,"angle":178,"satellites":30,"speed":22,"hex_longitude":"2d7a61c0","hex_latitude":"05bd8f50","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885001984001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818048095048869888,"note":"Value kept but may cause issues"} 
[2026-09-05 18:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128705631396823040,"note":"Value kept but may cause issues"} 
[2026-09-05 18:32:27] 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-09-05 18:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788613303000,"timestamp_ms":1788613303000,"timestamp_seconds":1788613303,"priority":1,"record_length":96,"hex_timestamp":"000001a071a91ad8"} 
[2026-09-05 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-09-05 18:32:27] 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-09-05 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":160,"data_length":795,"current_offset":136} 
[2026-09-05 18:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 18:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885001984001,"66":13352,"45":8818048095048869888,"85":12288,"24":22,"16":128705631396823040},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-05 18:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885001984001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818048095048869888,"description":"Unknown IO ID 45"} 
[2026-09-05 18:32:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-05 18:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128705631396823040,"km_value":128705631396823.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:32:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457885001984001,"power":13352,"unknown_45":8818048095048869888,"unknown_85":12288,"ignition":22,"odometer":null}} 
[2026-09-05 18:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":172090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770576,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:32:27] local.INFO: GPS data processed {"connection_id":172090,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:32:27] local.INFO: Acknowledgment sent {"connection_id":172090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:32:28] local.INFO: TCP Data received {"connection_id":172090,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071a94da0012d7a634005bd6be8000b00b61e..."} 
[2026-09-05 18:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a94da0012d7a634005bd6be8000b00b61e..."} 
[2026-09-05 18:32:28] local.INFO: Processing buffer {"connection_id":172090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a94da0012d7a634005bd6be8000b00b61e..."} 
[2026-09-05 18:32:28] local.INFO: Packet analysis {"connection_id":172090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a9"} 
[2026-09-05 18:32:28] local.INFO: Extracted packet for processing {"connection_id":172090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a9"} 
[2026-09-05 18:32:28] local.INFO: GPS Element Parsed {"raw_longitude":762995520,"raw_latitude":96300008,"longitude_deg":76.299552,"latitude_deg":9.6300008,"altitude":11,"angle":182,"satellites":30,"speed":30,"hex_longitude":"2d7a6340","hex_latitude":"05bd6be8","is_valid_coordinates":true} 
[2026-09-05 18:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885005568001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128706069483487232,"note":"Value kept but may cause issues"} 
[2026-09-05 18:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818540676255797248,"note":"Value kept but may cause issues"} 
[2026-09-05 18:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788613316000,"timestamp_ms":1788613316000,"timestamp_seconds":1788613316,"priority":1,"record_length":96,"hex_timestamp":"000001a071a94da0"} 
[2026-09-05 18:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-05 18:32:28] 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-09-05 18:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885005568001,"66":13689,"8":206,"85":12544,"24":30,"16":128706069483487232,"45":8818540676255797248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,85,24,16,45]} 
[2026-09-05 18:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885005568001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:32:28] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-05 18:32:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128706069483487232,"km_value":128706069483487.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818540676255797248,"description":"Unknown IO ID 45"} 
[2026-09-05 18:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885005568001,"power":13689,"unknown_8":206,"unknown_85":12544,"ignition":30,"odometer":null,"unknown_45":8818540676255797248}} 
[2026-09-05 18:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":172090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770577,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:32:28] local.INFO: GPS data processed {"connection_id":172090,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:32:28] local.INFO: Acknowledgment sent {"connection_id":172090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:32:33] local.INFO: TCP Data received {"connection_id":171826,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071a79c08012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a79c08012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:32:33] local.INFO: Processing buffer {"connection_id":171826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a79c08012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:32:33] local.INFO: Packet analysis {"connection_id":171826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:32:33] local.INFO: Extracted packet for processing {"connection_id":171826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:32:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884903424001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788613205000,"timestamp_ms":1788613205000,"timestamp_seconds":1788613205,"priority":1,"record_length":96,"hex_timestamp":"000001a071a79c08"} 
[2026-09-05 18:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:32: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-09-05 18: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":4,"data_length":795,"current_offset":136} 
[2026-09-05 18:32: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-09-05 18: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-09-05 18:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884903424001,"66":25702,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884903424001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:32:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:32:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884903424001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":171826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:32:33] local.INFO: GPS data processed {"connection_id":171826,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:32:33] local.INFO: Acknowledgment sent {"connection_id":171826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:32:45] local.INFO: TCP Data received {"connection_id":174535,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:32:45] local.INFO: Processing buffer {"connection_id":174535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:32:45] local.INFO: IMEI packet received {"connection_id":174535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":174535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:32:45] local.INFO: TCP Data received {"connection_id":174535,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:32:45] local.INFO: Processing buffer {"connection_id":174535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:32:45] local.INFO: IMEI packet received {"connection_id":174535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":174535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:32:49] local.INFO: TCP Data received {"connection_id":174535,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:32:49] local.INFO: Processing buffer {"connection_id":174535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:32:49] local.INFO: IMEI packet received {"connection_id":174535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":174535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:32:50] local.INFO: TCP Data received {"connection_id":174535,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071a69268012d196740071fecc8003b011530..."} 
[2026-09-05 18:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a69268012d196740071fecc8003b011530..."} 
[2026-09-05 18:32:50] local.INFO: Processing buffer {"connection_id":174535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a69268012d196740071fecc8003b011530..."} 
[2026-09-05 18:32:50] local.INFO: Packet analysis {"connection_id":174535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a6"} 
[2026-09-05 18:32:50] local.INFO: Extracted packet for processing {"connection_id":174535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a6"} 
[2026-09-05 18:32:50] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884957696001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788613137000,"timestamp_ms":1788613137000,"timestamp_seconds":1788613137,"priority":1,"record_length":96,"hex_timestamp":"000001a071a69268"} 
[2026-09-05 18:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-05 18:32:50] 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-09-05 18:32:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884957696001,"66":12841,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884957696001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:32:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:32:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884957696001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":174535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:32:50] local.INFO: GPS data processed {"connection_id":174535,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:32:50] local.INFO: Acknowledgment sent {"connection_id":174535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:32:59] local.INFO: TCP Data received {"connection_id":172090,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071a974b0012d7a634005bd4788000a00ac1d..."} 
[2026-09-05 18:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a974b0012d7a634005bd4788000a00ac1d..."} 
[2026-09-05 18:32:59] local.INFO: Processing buffer {"connection_id":172090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a974b0012d7a634005bd4788000a00ac1d..."} 
[2026-09-05 18:32:59] local.INFO: Packet analysis {"connection_id":172090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a9"} 
[2026-09-05 18:32:59] local.INFO: Extracted packet for processing {"connection_id":172090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a9"} 
[2026-09-05 18:32:59] local.INFO: GPS Element Parsed {"raw_longitude":762995520,"raw_latitude":96290696,"longitude_deg":76.299552,"latitude_deg":9.6290696,"altitude":10,"angle":172,"satellites":29,"speed":40,"hex_longitude":"2d7a6340","hex_latitude":"05bd4788","is_valid_coordinates":true} 
[2026-09-05 18:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885008896001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128706524750020608,"note":"Value kept but may cause issues"} 
[2026-09-05 18:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818962888718542848,"note":"Value kept but may cause issues"} 
[2026-09-05 18:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788613326000,"timestamp_ms":1788613326000,"timestamp_seconds":1788613326,"priority":1,"record_length":96,"hex_timestamp":"000001a071a974b0"} 
[2026-09-05 18:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:32:59] 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-09-05 18:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-05 18:32:59] 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-09-05 18:32:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885008896001,"66":13678,"8":206,"85":12544,"24":40,"16":128706524750020608,"45":8818962888718542848},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,85,24,16,45]} 
[2026-09-05 18:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885008896001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:32:59] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-05 18:32:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128706524750020608,"km_value":128706524750020.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818962888718542848,"description":"Unknown IO ID 45"} 
[2026-09-05 18:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885008896001,"power":13678,"unknown_8":206,"unknown_85":12544,"ignition":40,"odometer":null,"unknown_45":8818962888718542848}} 
[2026-09-05 18:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":172090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770580,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:32:59] local.INFO: GPS data processed {"connection_id":172090,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:32:59] local.INFO: Acknowledgment sent {"connection_id":172090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:33:01] local.INFO: TCP Data received {"connection_id":171827,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:33:01] local.INFO: Processing buffer {"connection_id":171827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:33:01] local.INFO: IMEI packet received {"connection_id":171827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":171827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:33:06] local.INFO: TCP Data received {"connection_id":171827,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:33:06] local.INFO: Processing buffer {"connection_id":171827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:33:06] local.INFO: IMEI packet received {"connection_id":171827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":171827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:33:07] local.INFO: TCP Data received {"connection_id":171827,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071a79c08012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a79c08012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:33:07] local.INFO: Processing buffer {"connection_id":171827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a79c08012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:33:07] local.INFO: Packet analysis {"connection_id":171827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:33:07] local.INFO: Extracted packet for processing {"connection_id":171827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:33:07] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884903424001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788613205000,"timestamp_ms":1788613205000,"timestamp_seconds":1788613205,"priority":1,"record_length":96,"hex_timestamp":"000001a071a79c08"} 
[2026-09-05 18:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:33: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-09-05 18: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 18:33: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-09-05 18: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-09-05 18:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884903424001,"66":25702,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884903424001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:33:07] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:33:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884903424001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":171827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:33:07] local.INFO: GPS data processed {"connection_id":171827,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:33:07] local.INFO: Acknowledgment sent {"connection_id":171827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:33:12] local.INFO: TCP Data received {"connection_id":171827,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071a79c08012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a79c08012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:33:12] local.INFO: Processing buffer {"connection_id":171827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a79c08012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:33:12] local.INFO: Packet analysis {"connection_id":171827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:33:12] local.INFO: Extracted packet for processing {"connection_id":171827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:33:12] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884903424001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788613205000,"timestamp_ms":1788613205000,"timestamp_seconds":1788613205,"priority":1,"record_length":96,"hex_timestamp":"000001a071a79c08"} 
[2026-09-05 18:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 18: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 18:33:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18: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-09-05 18:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":171827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":171827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":171827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884903424001,"66":25702,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884903424001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:33:12] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:33:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884903424001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":171827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:33:12] local.INFO: GPS data processed {"connection_id":171827,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:33:12] local.INFO: Acknowledgment sent {"connection_id":171827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:33:17] local.INFO: TCP Data received {"connection_id":173211,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173211,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:33:17] local.INFO: Processing buffer {"connection_id":173211,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:33:17] local.INFO: IMEI packet received {"connection_id":173211,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":173211,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:33:21] local.INFO: TCP Data received {"connection_id":173211,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173211,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:33:21] local.INFO: Processing buffer {"connection_id":173211,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:33:21] local.INFO: IMEI packet received {"connection_id":173211,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":173211,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:33:21] local.INFO: TCP Data received {"connection_id":174535,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071a6e470012d196740071fecc8003b01152d..."} 
[2026-09-05 18:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a6e470012d196740071fecc8003b01152d..."} 
[2026-09-05 18:33:21] local.INFO: Processing buffer {"connection_id":174535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a6e470012d196740071fecc8003b01152d..."} 
[2026-09-05 18:33:21] local.INFO: Packet analysis {"connection_id":174535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a6"} 
[2026-09-05 18:33:21] local.INFO: Extracted packet for processing {"connection_id":174535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a6"} 
[2026-09-05 18:33:21] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884963072001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788613158000,"timestamp_ms":1788613158000,"timestamp_seconds":1788613158,"priority":1,"record_length":96,"hex_timestamp":"000001a071a6e470"} 
[2026-09-05 18:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:33: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-09-05 18:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-05 18:33:21] 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-09-05 18:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884963072001,"66":12841,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884963072001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:33:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:33:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884963072001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":174535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:33:21] local.INFO: GPS data processed {"connection_id":174535,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:33:21] local.INFO: Acknowledgment sent {"connection_id":174535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:33:23] local.INFO: TCP Data received {"connection_id":173211,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173211,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:33:23] local.INFO: Processing buffer {"connection_id":173211,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:33:23] local.INFO: IMEI packet received {"connection_id":173211,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":173211,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:33:24] local.INFO: TCP Data received {"connection_id":173211,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071a997d8012d7a678005bd24e8000800ac1e..."} 
[2026-09-05 18:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a997d8012d7a678005bd24e8000800ac1e..."} 
[2026-09-05 18:33:24] local.INFO: Processing buffer {"connection_id":173211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a997d8012d7a678005bd24e8000800ac1e..."} 
[2026-09-05 18:33:24] local.INFO: Packet analysis {"connection_id":173211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a9"} 
[2026-09-05 18:33:24] local.INFO: Extracted packet for processing {"connection_id":173211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a9"} 
[2026-09-05 18:33:24] local.INFO: GPS Element Parsed {"raw_longitude":762996608,"raw_latitude":96281832,"longitude_deg":76.2996608,"latitude_deg":9.6281832,"altitude":8,"angle":172,"satellites":30,"speed":35,"hex_longitude":"2d7a6780","hex_latitude":"05bd24e8","is_valid_coordinates":true} 
[2026-09-05 18:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885011456001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128706958541717504,"note":"Value kept but may cause issues"} 
[2026-09-05 18:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818962888716158976,"note":"Value kept but may cause issues"} 
[2026-09-05 18:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788613335000,"timestamp_ms":1788613335000,"timestamp_seconds":1788613335,"priority":1,"record_length":96,"hex_timestamp":"000001a071a997d8"} 
[2026-09-05 18:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-05 18:33:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885011456001,"66":13276,"8":206,"85":12544,"24":35,"16":128706958541717504,"45":8818962888716158976},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,85,24,16,45]} 
[2026-09-05 18:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885011456001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:33:24] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-05 18:33:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128706958541717504,"km_value":128706958541717.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818962888716158976,"description":"Unknown IO ID 45"} 
[2026-09-05 18:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885011456001,"power":13276,"unknown_8":206,"unknown_85":12544,"ignition":35,"odometer":null,"unknown_45":8818962888716158976}} 
[2026-09-05 18:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":173211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770584,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:33:24] local.INFO: GPS data processed {"connection_id":173211,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:33:24] local.INFO: Acknowledgment sent {"connection_id":173211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:33:44] local.INFO: TCP Data received {"connection_id":174536,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:33:44] local.INFO: Processing buffer {"connection_id":174536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:33:44] local.INFO: IMEI packet received {"connection_id":174536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":174536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:33:47] local.INFO: TCP Data received {"connection_id":174536,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:33:47] local.INFO: Processing buffer {"connection_id":174536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:33:47] local.INFO: IMEI packet received {"connection_id":174536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":174536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:33:48] local.INFO: TCP Data received {"connection_id":174536,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071a73678012d196740071fecc8003b01152c..."} 
[2026-09-05 18:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a73678012d196740071fecc8003b01152c..."} 
[2026-09-05 18:33:48] local.INFO: Processing buffer {"connection_id":174536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a73678012d196740071fecc8003b01152c..."} 
[2026-09-05 18:33:48] local.INFO: Packet analysis {"connection_id":174536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:33:48] local.INFO: Extracted packet for processing {"connection_id":174536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:33:48] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884968448001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788613179000,"timestamp_ms":1788613179000,"timestamp_seconds":1788613179,"priority":1,"record_length":96,"hex_timestamp":"000001a071a73678"} 
[2026-09-05 18:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:33: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-09-05 18:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-05 18:33:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884968448001,"66":12809,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884968448001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:33:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:33:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884968448001,"power":12809,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":174536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:33:48] local.INFO: GPS data processed {"connection_id":174536,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:33:48] local.INFO: Acknowledgment sent {"connection_id":174536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:33:55] local.INFO: TCP Data received {"connection_id":173211,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071aaf380012d7b68c005bd1980000900521f..."} 
[2026-09-05 18:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071aaf380012d7b68c005bd1980000900521f..."} 
[2026-09-05 18:33:55] local.INFO: Processing buffer {"connection_id":173211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071aaf380012d7b68c005bd1980000900521f..."} 
[2026-09-05 18:33:55] local.INFO: Packet analysis {"connection_id":173211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071aa"} 
[2026-09-05 18:33:55] local.INFO: Extracted packet for processing {"connection_id":173211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071aa"} 
[2026-09-05 18:33:55] local.INFO: GPS Element Parsed {"raw_longitude":763062464,"raw_latitude":96278912,"longitude_deg":76.3062464,"latitude_deg":9.6278912,"altitude":9,"angle":82,"satellites":31,"speed":42,"hex_longitude":"2d7b68c0","hex_latitude":"05bd1980","is_valid_coordinates":true} 
[2026-09-05 18:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885035264001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128710317206142976,"note":"Value kept but may cause issues"} 
[2026-09-05 18:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886446514379657216,"note":"Value kept but may cause issues"} 
[2026-09-05 18:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788613424000,"timestamp_ms":1788613424000,"timestamp_seconds":1788613424,"priority":1,"record_length":96,"hex_timestamp":"000001a071aaf380"} 
[2026-09-05 18:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-05 18:33:55] 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-09-05 18:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885035264001,"66":13656,"7":206,"85":12544,"24":42,"16":128710317206142976,"45":8886446514379657216},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-09-05 18:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885035264001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:33:55] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-09-05 18:33:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128710317206142976,"km_value":128710317206142.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886446514379657216,"description":"Unknown IO ID 45"} 
[2026-09-05 18:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885035264001,"power":13656,"unknown_7":206,"unknown_85":12544,"ignition":42,"odometer":null,"unknown_45":8886446514379657216}} 
[2026-09-05 18:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":173211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770586,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:33:55] local.INFO: GPS data processed {"connection_id":173211,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:33:55] local.INFO: Acknowledgment sent {"connection_id":173211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:33:56] local.INFO: TCP Data received {"connection_id":173212,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:33:56] local.INFO: Processing buffer {"connection_id":173212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:33:56] local.INFO: IMEI packet received {"connection_id":173212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":173212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:34:01] local.INFO: TCP Data received {"connection_id":173212,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:34:01] local.INFO: Processing buffer {"connection_id":173212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:34:01] local.INFO: IMEI packet received {"connection_id":173212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":173212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:34:01] local.INFO: TCP Data received {"connection_id":173212,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071a79c08012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a79c08012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:34:01] local.INFO: Processing buffer {"connection_id":173212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a79c08012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:34:01] local.INFO: Packet analysis {"connection_id":173212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:34:01] local.INFO: Extracted packet for processing {"connection_id":173212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:34:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884903424001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:34:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788613205000,"timestamp_ms":1788613205000,"timestamp_seconds":1788613205,"priority":1,"record_length":96,"hex_timestamp":"000001a071a79c08"} 
[2026-09-05 18:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:34:01] 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-09-05 18:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 18:34:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:34:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884903424001,"66":25702,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884903424001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:34:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:34:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884903424001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":173212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:34:02] local.INFO: GPS data processed {"connection_id":173212,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:34:02] local.INFO: Acknowledgment sent {"connection_id":173212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:34:19] local.INFO: TCP Data received {"connection_id":171828,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:34:19] local.INFO: Processing buffer {"connection_id":171828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:34:19] local.INFO: IMEI packet received {"connection_id":171828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":171828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:34:20] local.INFO: TCP Data received {"connection_id":174536,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071a78880012d196740071fecc8003b01152f..."} 
[2026-09-05 18:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a78880012d196740071fecc8003b01152f..."} 
[2026-09-05 18:34:20] local.INFO: Processing buffer {"connection_id":174536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a78880012d196740071fecc8003b01152f..."} 
[2026-09-05 18:34:20] local.INFO: Packet analysis {"connection_id":174536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:34:20] local.INFO: Extracted packet for processing {"connection_id":174536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:34:20] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884973824001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788613200000,"timestamp_ms":1788613200000,"timestamp_seconds":1788613200,"priority":1,"record_length":96,"hex_timestamp":"000001a071a78880"} 
[2026-09-05 18:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-05 18:34:20] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 18:34:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 18:34:20] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3506438144,"note":"Value kept but may cause issues"} 
[2026-09-05 18:34:20] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 18:34:20] local.WARNING: Large IO value detected {"io_id":113,"raw_value":-6559422483469342912,"note":"Value kept but may cause issues"} 
[2026-09-05 18:34:20] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3972530235,"note":"Value kept but may cause issues"} 
[2026-09-05 18:34:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-05 18:34:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3866901,"corrected_to":0} 
[2026-09-05 18:34:20] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512585446470061,"note":"Value kept but may cause issues"} 
[2026-09-05 18:34:20] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300433412994962731,"note":"Value kept but may cause issues"} 
[2026-09-05 18:34:20] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-05 18:34:20] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,36,160,228,45,64,236,59,10,66,146,48,1,240,41,227,113,31,4,205,156,103,200,46,239,50,2,7,164,209],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":3866901,"validated":0}]} 
[2026-09-05 18:34:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251702801937203200,"timestamp_seconds":4251702801937203.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 18:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884973824001,"66":12798,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884973824001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:34:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:34:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884973824001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":174536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:34:20] local.INFO: GPS data processed {"connection_id":174536,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:34:20] local.INFO: Acknowledgment sent {"connection_id":174536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:34:24] local.INFO: TCP Data received {"connection_id":171828,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:34:24] local.INFO: Processing buffer {"connection_id":171828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:34:24] local.INFO: IMEI packet received {"connection_id":171828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":171828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:34:25] local.INFO: TCP Data received {"connection_id":171828,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071aafb50012d7b70c005bd1b98000800461f..."} 
[2026-09-05 18:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071aafb50012d7b70c005bd1b98000800461f..."} 
[2026-09-05 18:34:25] local.INFO: Processing buffer {"connection_id":171828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071aafb50012d7b70c005bd1b98000800461f..."} 
[2026-09-05 18:34:25] local.INFO: Packet analysis {"connection_id":171828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071aa"} 
[2026-09-05 18:34:25] local.INFO: Extracted packet for processing {"connection_id":171828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071aa"} 
[2026-09-05 18:34:25] local.INFO: GPS Element Parsed {"raw_longitude":763064512,"raw_latitude":96279448,"longitude_deg":76.3064512,"latitude_deg":9.6279448,"altitude":8,"angle":70,"satellites":31,"speed":41,"hex_longitude":"2d7b70c0","hex_latitude":"05bd1b98","is_valid_coordinates":true} 
[2026-09-05 18:34: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-09-05 18:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885036544001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128710420285358080,"note":"Value kept but may cause issues"} 
[2026-09-05 18:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892568595122978816,"note":"Value kept but may cause issues"} 
[2026-09-05 18:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788613426000,"timestamp_ms":1788613426000,"timestamp_seconds":1788613426,"priority":1,"record_length":96,"hex_timestamp":"000001a071aafb50"} 
[2026-09-05 18:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 18:34:25] 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-09-05 18:34:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885036544001,"66":13526,"7":206,"85":12544,"24":41,"16":128710420285358080,"45":8892568595122978816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-09-05 18:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885036544001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:34:25] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-09-05 18:34:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128710420285358080,"km_value":128710420285358.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892568595122978816,"description":"Unknown IO ID 45"} 
[2026-09-05 18:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885036544001,"power":13526,"unknown_7":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":8892568595122978816}} 
[2026-09-05 18:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":171828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770589,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:34:25] local.INFO: GPS data processed {"connection_id":171828,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:34:25] local.INFO: Acknowledgment sent {"connection_id":171828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:34:33] local.INFO: TCP Data received {"connection_id":173212,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071a79c08012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a79c08012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:34:33] local.INFO: Processing buffer {"connection_id":173212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a79c08012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:34:33] local.INFO: Packet analysis {"connection_id":173212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:34:33] local.INFO: Extracted packet for processing {"connection_id":173212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:34:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884903424001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788613205000,"timestamp_ms":1788613205000,"timestamp_seconds":1788613205,"priority":1,"record_length":96,"hex_timestamp":"000001a071a79c08"} 
[2026-09-05 18:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:34: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-09-05 18:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 18:34: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-09-05 18:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884903424001,"66":25702,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884903424001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:34:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:34:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884903424001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":173212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:34:33] local.INFO: GPS data processed {"connection_id":173212,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:34:33] local.INFO: Acknowledgment sent {"connection_id":173212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:34:45] local.INFO: TCP Data received {"connection_id":173213,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:34:45] local.INFO: Processing buffer {"connection_id":173213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:34:45] local.INFO: IMEI packet received {"connection_id":173213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":173213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:34:49] local.INFO: TCP Data received {"connection_id":173213,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:34:49] local.INFO: Processing buffer {"connection_id":173213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:34:49] local.INFO: IMEI packet received {"connection_id":173213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":173213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:34:50] local.INFO: TCP Data received {"connection_id":173213,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071a7da88012d196740071fecc8003b01152e..."} 
[2026-09-05 18:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a7da88012d196740071fecc8003b01152e..."} 
[2026-09-05 18:34:50] local.INFO: Processing buffer {"connection_id":173213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a7da88012d196740071fecc8003b01152e..."} 
[2026-09-05 18:34:50] local.INFO: Packet analysis {"connection_id":173213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:34:50] local.INFO: Extracted packet for processing {"connection_id":173213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:34:50] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884979200001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788613221000,"timestamp_ms":1788613221000,"timestamp_seconds":1788613221,"priority":1,"record_length":96,"hex_timestamp":"000001a071a7da88"} 
[2026-09-05 18:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:34: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-09-05 18:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-05 18:34:50] 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-09-05 18:34:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884979200001,"66":12776,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884979200001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:34:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:34:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884979200001,"power":12776,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":173213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:34:50] local.INFO: GPS data processed {"connection_id":173213,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:34:50] local.INFO: Acknowledgment sent {"connection_id":173213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:34:56] local.INFO: TCP Data received {"connection_id":172091,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:34:56] local.INFO: Processing buffer {"connection_id":172091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:34:56] local.INFO: IMEI packet received {"connection_id":172091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":172091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:34:56] local.INFO: TCP Data received {"connection_id":171828,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071ab12c0012d7b888005bd23800007005220..."} 
[2026-09-05 18:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ab12c0012d7b888005bd23800007005220..."} 
[2026-09-05 18:34:56] local.INFO: Processing buffer {"connection_id":171828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ab12c0012d7b888005bd23800007005220..."} 
[2026-09-05 18:34:56] local.INFO: Packet analysis {"connection_id":171828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ab"} 
[2026-09-05 18:34:56] local.INFO: Extracted packet for processing {"connection_id":171828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ab"} 
[2026-09-05 18:34:56] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":96281472,"longitude_deg":76.3070592,"latitude_deg":9.6281472,"altitude":7,"angle":82,"satellites":32,"speed":43,"hex_longitude":"2d7b8880","hex_latitude":"05bd2380","is_valid_coordinates":true} 
[2026-09-05 18:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885037056001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128710729523003392,"note":"Value kept but may cause issues"} 
[2026-09-05 18:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894820394936801280,"note":"Value kept but may cause issues"} 
[2026-09-05 18:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788613432000,"timestamp_ms":1788613432000,"timestamp_seconds":1788613432,"priority":1,"record_length":96,"hex_timestamp":"000001a071ab12c0"} 
[2026-09-05 18:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 18:34:56] 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-09-05 18:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885037056001,"66":13798,"8":206,"85":12544,"24":43,"16":128710729523003392,"45":8894820394936801280},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,85,24,16,45]} 
[2026-09-05 18:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885037056001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:34:56] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-05 18:34:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128710729523003392,"km_value":128710729523003.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894820394936801280,"description":"Unknown IO ID 45"} 
[2026-09-05 18:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885037056001,"power":13798,"unknown_8":206,"unknown_85":12544,"ignition":43,"odometer":null,"unknown_45":8894820394936801280}} 
[2026-09-05 18:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":171828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770592,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:34:56] local.INFO: GPS data processed {"connection_id":171828,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:34:56] local.INFO: Acknowledgment sent {"connection_id":171828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:35:01] local.INFO: TCP Data received {"connection_id":172091,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:35:01] local.INFO: Processing buffer {"connection_id":172091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:35:01] local.INFO: IMEI packet received {"connection_id":172091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":172091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:35:01] local.INFO: TCP Data received {"connection_id":172091,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a071a79c08012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a79c08012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:35:01] local.INFO: Processing buffer {"connection_id":172091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a79c08012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:35:01] local.INFO: Packet analysis {"connection_id":172091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:35:01] local.INFO: Extracted packet for processing {"connection_id":172091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:35:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884903424001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788613205000,"timestamp_ms":1788613205000,"timestamp_seconds":1788613205,"priority":1,"record_length":96,"hex_timestamp":"000001a071a79c08"} 
[2026-09-05 18:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:35:01] 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-09-05 18: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 18:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18: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-09-05 18:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884903424001,"66":25702,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884903424001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:35:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:35:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884903424001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":172091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:35:01] local.INFO: GPS data processed {"connection_id":172091,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:35:01] local.INFO: Acknowledgment sent {"connection_id":172091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:35:18] local.INFO: TCP Data received {"connection_id":173214,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:35:18] local.INFO: Processing buffer {"connection_id":173214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:35:18] local.INFO: IMEI packet received {"connection_id":173214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":173214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:35:21] local.INFO: TCP Data received {"connection_id":173213,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071a82c90012d196740071fecc8003b01152d..."} 
[2026-09-05 18:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a82c90012d196740071fecc8003b01152d..."} 
[2026-09-05 18:35:21] local.INFO: Processing buffer {"connection_id":173213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a82c90012d196740071fecc8003b01152d..."} 
[2026-09-05 18:35:21] local.INFO: Packet analysis {"connection_id":173213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a8"} 
[2026-09-05 18:35:21] local.INFO: Extracted packet for processing {"connection_id":173213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a8"} 
[2026-09-05 18:35:21] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884984576001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788613242000,"timestamp_ms":1788613242000,"timestamp_seconds":1788613242,"priority":1,"record_length":96,"hex_timestamp":"000001a071a82c90"} 
[2026-09-05 18:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:35: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-09-05 18:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-05 18:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884984576001,"66":12743,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884984576001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:35:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:35:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884984576001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":173213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:35:21] local.INFO: GPS data processed {"connection_id":173213,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:35:21] local.INFO: Acknowledgment sent {"connection_id":173213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:35:23] local.INFO: TCP Data received {"connection_id":173214,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:35:23] local.INFO: Processing buffer {"connection_id":173214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:35:23] local.INFO: IMEI packet received {"connection_id":173214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":173214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:35:24] local.INFO: TCP Data received {"connection_id":173214,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:35:24] local.INFO: Processing buffer {"connection_id":173214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:35:24] local.INFO: IMEI packet received {"connection_id":173214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":173214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:35:24] local.INFO: TCP Data received {"connection_id":173214,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071ac5310012d7c0ec005bd3790000b01601f..."} 
[2026-09-05 18:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ac5310012d7c0ec005bd3790000b01601f..."} 
[2026-09-05 18:35:24] local.INFO: Processing buffer {"connection_id":173214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ac5310012d7c0ec005bd3790000b01601f..."} 
[2026-09-05 18:35:24] local.INFO: Packet analysis {"connection_id":173214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:35:24] local.INFO: Extracted packet for processing {"connection_id":173214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:35:24] local.INFO: GPS Element Parsed {"raw_longitude":763104960,"raw_latitude":96286608,"longitude_deg":76.310496,"latitude_deg":9.6286608,"altitude":11,"angle":352,"satellites":31,"speed":6,"hex_longitude":"2d7c0ec0","hex_latitude":"05bd3790","is_valid_coordinates":true} 
[2026-09-05 18:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885058304001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712610718679040,"note":"Value kept but may cause issues"} 
[2026-09-05 18:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939574916235417600,"note":"Value kept but may cause issues"} 
[2026-09-05 18:35:24] 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-09-05 18:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788613514000,"timestamp_ms":1788613514000,"timestamp_seconds":1788613514,"priority":1,"record_length":96,"hex_timestamp":"000001a071ac5310"} 
[2026-09-05 18:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-05 18:35:24] 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-09-05 18:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885058304001,"66":13222,"197":206,"85":12544,"24":6,"16":128712610718679040,"45":8939574916235417600},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885058304001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:35:24] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:35:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712610718679040,"km_value":128712610718679.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939574916235417600,"description":"Unknown IO ID 45"} 
[2026-09-05 18:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885058304001,"power":13222,"unknown_197":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":8939574916235417600}} 
[2026-09-05 18:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":173214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770595,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:35:24] local.INFO: GPS data processed {"connection_id":173214,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:35:24] local.INFO: Acknowledgment sent {"connection_id":173214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:35:25] local.INFO: TCP Data received {"connection_id":173214,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071ac5ae0012d7c0ec005bd38a8000b000620..."} 
[2026-09-05 18:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ac5ae0012d7c0ec005bd38a8000b000620..."} 
[2026-09-05 18:35:25] local.INFO: Processing buffer {"connection_id":173214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ac5ae0012d7c0ec005bd38a8000b000620..."} 
[2026-09-05 18:35:25] local.INFO: Packet analysis {"connection_id":173214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:35:25] local.INFO: Extracted packet for processing {"connection_id":173214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:35:25] local.INFO: GPS Element Parsed {"raw_longitude":763104960,"raw_latitude":96286888,"longitude_deg":76.310496,"latitude_deg":9.6286888,"altitude":11,"angle":6,"satellites":32,"speed":6,"hex_longitude":"2d7c0ec0","hex_latitude":"05bd38a8","is_valid_coordinates":true} 
[2026-09-05 18:35: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-09-05 18:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885059584001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712623603580928,"note":"Value kept but may cause issues"} 
[2026-09-05 18:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939293441258917888,"note":"Value kept but may cause issues"} 
[2026-09-05 18:35:25] 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-09-05 18:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788613516000,"timestamp_ms":1788613516000,"timestamp_seconds":1788613516,"priority":1,"record_length":96,"hex_timestamp":"000001a071ac5ae0"} 
[2026-09-05 18:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:35:25] 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-09-05 18:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-05 18:35:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:35: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-09-05 18:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885059584001,"66":13124,"197":206,"85":12544,"24":6,"16":128712623603580928,"45":8939293441258917888},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885059584001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:35:25] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:35:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712623603580928,"km_value":128712623603580.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939293441258917888,"description":"Unknown IO ID 45"} 
[2026-09-05 18:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885059584001,"power":13124,"unknown_197":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":8939293441258917888}} 
[2026-09-05 18:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":173214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770596,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:35:25] local.INFO: GPS data processed {"connection_id":173214,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:35:25] local.INFO: Acknowledgment sent {"connection_id":173214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:35:33] local.INFO: TCP Data received {"connection_id":172091,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a071a79c08012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a79c08012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:35:33] local.INFO: Processing buffer {"connection_id":172091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a79c08012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:35:33] local.INFO: Packet analysis {"connection_id":172091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:35:33] local.INFO: Extracted packet for processing {"connection_id":172091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a7"} 
[2026-09-05 18:35:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884903424001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788613205000,"timestamp_ms":1788613205000,"timestamp_seconds":1788613205,"priority":1,"record_length":96,"hex_timestamp":"000001a071a79c08"} 
[2026-09-05 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-09-05 18:35: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-09-05 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 18:35: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-09-05 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-09-05 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-09-05 18:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884903424001,"66":25702,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884903424001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:35:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:35:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884903424001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":172091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:35:33] local.INFO: GPS data processed {"connection_id":172091,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:35:33] local.INFO: Acknowledgment sent {"connection_id":172091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:35:44] local.INFO: TCP Data received {"connection_id":171829,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:35:44] local.INFO: Processing buffer {"connection_id":171829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:35:44] local.INFO: IMEI packet received {"connection_id":171829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":171829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:35:49] local.INFO: TCP Data received {"connection_id":171829,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:35:49] local.INFO: Processing buffer {"connection_id":171829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:35:49] local.INFO: IMEI packet received {"connection_id":171829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":171829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:35:50] local.INFO: TCP Data received {"connection_id":171829,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071a87e98012d196740071fecc8003b01152f..."} 
[2026-09-05 18:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071a87e98012d196740071fecc8003b01152f..."} 
[2026-09-05 18:35:50] local.INFO: Processing buffer {"connection_id":171829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071a87e98012d196740071fecc8003b01152f..."} 
[2026-09-05 18:35:50] local.INFO: Packet analysis {"connection_id":171829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071a8"} 
[2026-09-05 18:35:50] local.INFO: Extracted packet for processing {"connection_id":171829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071a8"} 
[2026-09-05 18:35:50] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884989952001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788613263000,"timestamp_ms":1788613263000,"timestamp_seconds":1788613263,"priority":1,"record_length":96,"hex_timestamp":"000001a071a87e98"} 
[2026-09-05 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-09-05 18:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-05 18:35:50] 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-09-05 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-09-05 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-09-05 18:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884989952001,"66":12689,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884989952001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:35:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:35:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884989952001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":171829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:35:50] local.INFO: GPS data processed {"connection_id":171829,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:35:50] local.INFO: Acknowledgment sent {"connection_id":171829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:35:56] local.INFO: TCP Data received {"connection_id":173214,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071ac6e68012d7c0e0005bd3c88000b016420..."} 
[2026-09-05 18:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ac6e68012d7c0e0005bd3c88000b016420..."} 
[2026-09-05 18:35:56] local.INFO: Processing buffer {"connection_id":173214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ac6e68012d7c0e0005bd3c88000b016420..."} 
[2026-09-05 18:35:56] local.INFO: Packet analysis {"connection_id":173214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:35:56] local.INFO: Extracted packet for processing {"connection_id":173214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:35:56] local.INFO: GPS Element Parsed {"raw_longitude":763104768,"raw_latitude":96287880,"longitude_deg":76.3104768,"latitude_deg":9.628788,"altitude":11,"angle":356,"satellites":32,"speed":8,"hex_longitude":"2d7c0e00","hex_latitude":"05bd3c88","is_valid_coordinates":true} 
[2026-09-05 18:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885060096001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712670848221184,"note":"Value kept but may cause issues"} 
[2026-09-05 18:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939293441258989568,"note":"Value kept but may cause issues"} 
[2026-09-05 18:35:56] 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-09-05 18:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788613521000,"timestamp_ms":1788613521000,"timestamp_seconds":1788613521,"priority":1,"record_length":96,"hex_timestamp":"000001a071ac6e68"} 
[2026-09-05 18:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-05 18:35:56] 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-09-05 18:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885060096001,"66":13406,"197":206,"85":12544,"24":8,"16":128712670848221184,"45":8939293441258989568},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885060096001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:35:56] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:35:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712670848221184,"km_value":128712670848221.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939293441258989568,"description":"Unknown IO ID 45"} 
[2026-09-05 18:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885060096001,"power":13406,"unknown_197":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":8939293441258989568}} 
[2026-09-05 18:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":173214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770599,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:35:56] local.INFO: GPS data processed {"connection_id":173214,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:35:56] local.INFO: Acknowledgment sent {"connection_id":173214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:35:56] local.INFO: TCP Data received {"connection_id":171830,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:35:56] local.INFO: Processing buffer {"connection_id":171830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:35:56] local.INFO: IMEI packet received {"connection_id":171830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":171830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:36:01] local.INFO: TCP Data received {"connection_id":171830,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:36:01] local.INFO: Processing buffer {"connection_id":171830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:36:01] local.INFO: IMEI packet received {"connection_id":171830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":171830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:36:02] local.INFO: TCP Data received {"connection_id":171830,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071ac33d0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ac33d0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:36:02] local.INFO: Processing buffer {"connection_id":171830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ac33d0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:36:02] local.INFO: Packet analysis {"connection_id":171830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:36:02] local.INFO: Extracted packet for processing {"connection_id":171830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:36:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884980480001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788613506000,"timestamp_ms":1788613506000,"timestamp_seconds":1788613506,"priority":1,"record_length":96,"hex_timestamp":"000001a071ac33d0"} 
[2026-09-05 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-09-05 18:36:02] 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-09-05 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 18:36: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-09-05 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-09-05 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-09-05 18:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884980480001,"66":25745,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884980480001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:36:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:36:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884980480001,"power":25745,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":171830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:36:02] local.INFO: GPS data processed {"connection_id":171830,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:36:02] local.INFO: Acknowledgment sent {"connection_id":171830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:36:21] local.INFO: TCP Data received {"connection_id":171829,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071ac04f0012d196740071fecc8003b01152e..."} 
[2026-09-05 18:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ac04f0012d196740071fecc8003b01152e..."} 
[2026-09-05 18:36:21] local.INFO: Processing buffer {"connection_id":171829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ac04f0012d196740071fecc8003b01152e..."} 
[2026-09-05 18:36:21] local.INFO: Packet analysis {"connection_id":171829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:36:21] local.INFO: Extracted packet for processing {"connection_id":171829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:36:21] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885049088001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788613494000,"timestamp_ms":1788613494000,"timestamp_seconds":1788613494,"priority":1,"record_length":96,"hex_timestamp":"000001a071ac04f0"} 
[2026-09-05 18:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:36: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-09-05 18: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-05 18:36:21] 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-09-05 18: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-09-05 18:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885049088001,"66":12548,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885049088001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:36:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:36:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885049088001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":171829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:36:21] local.INFO: GPS data processed {"connection_id":171829,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:36:21] local.INFO: Acknowledgment sent {"connection_id":171829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:36:24] local.INFO: TCP Data received {"connection_id":172092,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:36:24] local.INFO: Processing buffer {"connection_id":172092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:36:24] local.INFO: IMEI packet received {"connection_id":172092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":172092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:36:27] local.INFO: TCP Data received {"connection_id":172092,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:36:27] local.INFO: Processing buffer {"connection_id":172092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:36:27] local.INFO: IMEI packet received {"connection_id":172092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":172092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:36:27] local.INFO: TCP Data received {"connection_id":172092,"ip":"42.109.136.5","data_length":93,"data_hex":"00000000000000518e01000001a071ac7250012d7c0e0005bd3d60000b015820..."} 
[2026-09-05 18:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172092,"packet_length":93,"packet_hex":"00000000000000518e01000001a071ac7250012d7c0e0005bd3d60000b015820..."} 
[2026-09-05 18:36:27] local.INFO: Processing buffer {"connection_id":172092,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a071ac7250012d7c0e0005bd3d60000b015820..."} 
[2026-09-05 18:36:27] local.INFO: Packet analysis {"connection_id":172092,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a071ac"} 
[2026-09-05 18:36:27] local.INFO: Extracted packet for processing {"connection_id":172092,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a071ac"} 
[2026-09-05 18:36:27] local.INFO: GPS Element Parsed {"raw_longitude":763104768,"raw_latitude":96288096,"longitude_deg":76.3104768,"latitude_deg":9.6288096,"altitude":11,"angle":344,"satellites":32,"speed":9,"hex_longitude":"2d7c0e00","hex_latitude":"05bd3d60","is_valid_coordinates":true} 
[2026-09-05 18:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-05 18:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:36:27] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:36:27] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 18:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172092,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-05 18:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172092,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-05 18:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172092,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-05 18:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 18:36:27] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 18:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":172092,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 18:36:27] local.ERROR: GPS data processing failed {"connection_id":172092,"error":"No valid data to process"} 
[2026-09-05 18:36:27] local.INFO: Acknowledgment sent {"connection_id":172092,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 18:36:29] local.INFO: TCP Data received {"connection_id":172092,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071ac85d8012d7c0c0005bd4228000b014c20..."} 
[2026-09-05 18:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ac85d8012d7c0c0005bd4228000b014c20..."} 
[2026-09-05 18:36:29] local.INFO: Processing buffer {"connection_id":172092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ac85d8012d7c0c0005bd4228000b014c20..."} 
[2026-09-05 18:36:29] local.INFO: Packet analysis {"connection_id":172092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:36:29] local.INFO: Extracted packet for processing {"connection_id":172092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:36:29] local.INFO: GPS Element Parsed {"raw_longitude":763104256,"raw_latitude":96289320,"longitude_deg":76.3104256,"latitude_deg":9.628932,"altitude":11,"angle":332,"satellites":32,"speed":9,"hex_longitude":"2d7c0c00","hex_latitude":"05bd4228","is_valid_coordinates":true} 
[2026-09-05 18:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885061632001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712748157632512,"note":"Value kept but may cause issues"} 
[2026-09-05 18:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939082335026765824,"note":"Value kept but may cause issues"} 
[2026-09-05 18:36:29] 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-09-05 18:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788613527000,"timestamp_ms":1788613527000,"timestamp_seconds":1788613527,"priority":1,"record_length":96,"hex_timestamp":"000001a071ac85d8"} 
[2026-09-05 18:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 18:36:29] 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-09-05 18:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885061632001,"66":13461,"197":206,"85":12544,"24":9,"16":128712748157632512,"45":8939082335026765824},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885061632001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:36:29] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:36:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712748157632512,"km_value":128712748157632.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939082335026765824,"description":"Unknown IO ID 45"} 
[2026-09-05 18:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885061632001,"power":13461,"unknown_197":206,"unknown_85":12544,"ignition":9,"odometer":null,"unknown_45":8939082335026765824}} 
[2026-09-05 18:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":172092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770602,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:36:30] local.INFO: GPS data processed {"connection_id":172092,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:36:30] local.INFO: Acknowledgment sent {"connection_id":172092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:36:33] local.INFO: TCP Data received {"connection_id":171830,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071ac33d0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ac33d0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:36:33] local.INFO: Processing buffer {"connection_id":171830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ac33d0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:36:33] local.INFO: Packet analysis {"connection_id":171830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:36:33] local.INFO: Extracted packet for processing {"connection_id":171830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:36:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884980480001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788613506000,"timestamp_ms":1788613506000,"timestamp_seconds":1788613506,"priority":1,"record_length":96,"hex_timestamp":"000001a071ac33d0"} 
[2026-09-05 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-09-05 18:36: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-09-05 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 18:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 18:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884980480001,"66":25745,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884980480001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:36:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:36:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884980480001,"power":25745,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":171830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:36:33] local.INFO: GPS data processed {"connection_id":171830,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:36:33] local.INFO: Acknowledgment sent {"connection_id":171830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:36:44] local.INFO: TCP Data received {"connection_id":173215,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:36:44] local.INFO: Processing buffer {"connection_id":173215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:36:44] local.INFO: IMEI packet received {"connection_id":173215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":173215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:36:49] local.INFO: TCP Data received {"connection_id":173215,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:36:49] local.INFO: Processing buffer {"connection_id":173215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:36:49] local.INFO: IMEI packet received {"connection_id":173215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":173215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:36:50] local.INFO: TCP Data received {"connection_id":173215,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071ac56f8012d196740071fecc8003b01152b..."} 
[2026-09-05 18:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ac56f8012d196740071fecc8003b01152b..."} 
[2026-09-05 18:36:50] local.INFO: Processing buffer {"connection_id":173215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ac56f8012d196740071fecc8003b01152b..."} 
[2026-09-05 18:36:50] local.INFO: Packet analysis {"connection_id":173215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:36:50] local.INFO: Extracted packet for processing {"connection_id":173215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:36:50] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885054464001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788613515000,"timestamp_ms":1788613515000,"timestamp_seconds":1788613515,"priority":1,"record_length":96,"hex_timestamp":"000001a071ac56f8"} 
[2026-09-05 18:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:36: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-09-05 18:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 18:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-05 18:36:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 18:36:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 18:36:50] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3506438144,"note":"Value kept but may cause issues"} 
[2026-09-05 18:36:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184204828877,"note":"Value kept but may cause issues"} 
[2026-09-05 18:36:50] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3972530235,"note":"Value kept but may cause issues"} 
[2026-09-05 18:36:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-05 18:36:50] local.WARNING: Large IO value detected {"io_id":106,"raw_value":3355520281,"note":"Value kept but may cause issues"} 
[2026-09-05 18:36:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3866901,"corrected_to":0} 
[2026-09-05 18:36:50] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2248199544,"note":"Value kept but may cause issues"} 
[2026-09-05 18:36:50] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-05 18:36:50] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,36,160,178,45,64,236,59,47,10,66,96,14,1,240,123,227,113,31,4,205,106,103,200,48,239,49,2,7,120],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":3866901,"validated":0}]} 
[2026-09-05 18:36:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251702810527137792,"timestamp_seconds":4251702810527138.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 18:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885054464001,"66":12548,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885054464001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:36:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:36:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885054464001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":173215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:36:50] local.INFO: GPS data processed {"connection_id":173215,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:36:50] local.INFO: Acknowledgment sent {"connection_id":173215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:36:55] local.INFO: TCP Data received {"connection_id":172093,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:36:55] local.INFO: Processing buffer {"connection_id":172093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:36:55] local.INFO: IMEI packet received {"connection_id":172093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":172093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:37:01] local.INFO: TCP Data received {"connection_id":172093,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:37:01] local.INFO: Processing buffer {"connection_id":172093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:37:01] local.INFO: IMEI packet received {"connection_id":172093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":172093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:37:01] local.INFO: TCP Data received {"connection_id":172092,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071acd7e0012d7c0ac005bd45f8000a015221..."} 
[2026-09-05 18:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071acd7e0012d7c0ac005bd45f8000a015221..."} 
[2026-09-05 18:37:01] local.INFO: Processing buffer {"connection_id":172092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071acd7e0012d7c0ac005bd45f8000a015221..."} 
[2026-09-05 18:37:01] local.INFO: Packet analysis {"connection_id":172092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:37:01] local.INFO: Extracted packet for processing {"connection_id":172092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:37:01] local.INFO: GPS Element Parsed {"raw_longitude":763103936,"raw_latitude":96290296,"longitude_deg":76.3103936,"latitude_deg":9.6290296,"altitude":10,"angle":338,"satellites":33,"speed":0,"hex_longitude":"2d7c0ac0","hex_latitude":"05bd45f8","is_valid_coordinates":true} 
[2026-09-05 18:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885062912001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712803992207360,"note":"Value kept but may cause issues"} 
[2026-09-05 18:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938519385073657856,"note":"Value kept but may cause issues"} 
[2026-09-05 18:37:01] 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-09-05 18:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788613548000,"timestamp_ms":1788613548000,"timestamp_seconds":1788613548,"priority":1,"record_length":96,"hex_timestamp":"000001a071acd7e0"} 
[2026-09-05 18:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:37: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-09-05 18:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-05 18:37:01] 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-09-05 18:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885062912001,"66":13526,"197":206,"85":12544,"24":0,"16":128712803992207360,"45":8938519385073657856},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885062912001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:37:01] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:37:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712803992207360,"km_value":128712803992207.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938519385073657856,"description":"Unknown IO ID 45"} 
[2026-09-05 18:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885062912001,"power":13526,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8938519385073657856}} 
[2026-09-05 18:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":172092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770605,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:37:01] local.INFO: GPS data processed {"connection_id":172092,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:37:01] local.INFO: Acknowledgment sent {"connection_id":172092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:37:01] local.INFO: TCP Data received {"connection_id":172093,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071ac33d0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ac33d0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:37:01] local.INFO: Processing buffer {"connection_id":172093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ac33d0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:37:01] local.INFO: Packet analysis {"connection_id":172093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:37:01] local.INFO: Extracted packet for processing {"connection_id":172093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:37:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884980480001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788613506000,"timestamp_ms":1788613506000,"timestamp_seconds":1788613506,"priority":1,"record_length":96,"hex_timestamp":"000001a071ac33d0"} 
[2026-09-05 18:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:37:01] 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-09-05 18:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 18:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884980480001,"66":25745,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884980480001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:37:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:37:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884980480001,"power":25745,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":172093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:37:01] local.INFO: GPS data processed {"connection_id":172093,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:37:01] local.INFO: Acknowledgment sent {"connection_id":172093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:37:19] local.INFO: TCP Data received {"connection_id":174537,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174537,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:37:19] local.INFO: Processing buffer {"connection_id":174537,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:37:19] local.INFO: IMEI packet received {"connection_id":174537,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":174537,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:37:21] local.INFO: TCP Data received {"connection_id":173215,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071aca900012d196740071fecc8003b01152d..."} 
[2026-09-05 18:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071aca900012d196740071fecc8003b01152d..."} 
[2026-09-05 18:37:21] local.INFO: Processing buffer {"connection_id":173215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071aca900012d196740071fecc8003b01152d..."} 
[2026-09-05 18:37:21] local.INFO: Packet analysis {"connection_id":173215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:37:21] local.INFO: Extracted packet for processing {"connection_id":173215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:37:21] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885059840001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788613536000,"timestamp_ms":1788613536000,"timestamp_seconds":1788613536,"priority":1,"record_length":96,"hex_timestamp":"000001a071aca900"} 
[2026-09-05 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-09-05 18:37: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-09-05 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 18:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-05 18:37:21] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 18:37:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 18:37:21] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3506438144,"note":"Value kept but may cause issues"} 
[2026-09-05 18:37:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184205549773,"note":"Value kept but may cause issues"} 
[2026-09-05 18:37:21] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3972530235,"note":"Value kept but may cause issues"} 
[2026-09-05 18:37:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-05 18:37:21] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-09-05 18:37:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3866901,"corrected_to":0} 
[2026-09-05 18:37:21] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-05 18:37:21] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,36,160,4,45,64,236,59,46,10,66,178,47,96,1,240,69,227,113,31,205,188,103,200,48,239,49,2,7,120],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":3866901,"validated":0}]} 
[2026-09-05 18:37:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251702797642235904,"timestamp_seconds":4251702797642236.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 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-09-05 18:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885059840001,"66":12591,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885059840001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:37:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:37:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885059840001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":173215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:37:21] local.INFO: GPS data processed {"connection_id":173215,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:37:21] local.INFO: Acknowledgment sent {"connection_id":173215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:37:24] local.INFO: TCP Data received {"connection_id":174537,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174537,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:37:24] local.INFO: Processing buffer {"connection_id":174537,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:37:24] local.INFO: IMEI packet received {"connection_id":174537,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":174537,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:37:25] local.INFO: TCP Data received {"connection_id":174537,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071aceb68012d7c0a4005bd47e80009000022..."} 
[2026-09-05 18:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071aceb68012d7c0a4005bd47e80009000022..."} 
[2026-09-05 18:37:25] local.INFO: Processing buffer {"connection_id":174537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071aceb68012d7c0a4005bd47e80009000022..."} 
[2026-09-05 18:37:25] local.INFO: Packet analysis {"connection_id":174537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:37:25] local.INFO: Extracted packet for processing {"connection_id":174537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:37:25] local.INFO: GPS Element Parsed {"raw_longitude":763103808,"raw_latitude":96290792,"longitude_deg":76.3103808,"latitude_deg":9.6290792,"altitude":9,"angle":0,"satellites":34,"speed":11,"hex_longitude":"2d7c0a40","hex_latitude":"05bd47e8","is_valid_coordinates":true} 
[2026-09-05 18:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885068288001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712829762011136,"note":"Value kept but may cause issues"} 
[2026-09-05 18:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938167541353019392,"note":"Value kept but may cause issues"} 
[2026-09-05 18:37:25] 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-09-05 18:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788613553000,"timestamp_ms":1788613553000,"timestamp_seconds":1788613553,"priority":1,"record_length":96,"hex_timestamp":"000001a071aceb68"} 
[2026-09-05 18:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 18:37:25] 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-09-05 18:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885068288001,"66":13363,"197":206,"85":12544,"24":11,"16":128712829762011136,"45":8938167541353019392},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885068288001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:37:25] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:37:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712829762011136,"km_value":128712829762011.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938167541353019392,"description":"Unknown IO ID 45"} 
[2026-09-05 18:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885068288001,"power":13363,"unknown_197":206,"unknown_85":12544,"ignition":11,"odometer":null,"unknown_45":8938167541353019392}} 
[2026-09-05 18:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":174537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:37:25] local.INFO: GPS data processed {"connection_id":174537,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:37:25] local.INFO: Acknowledgment sent {"connection_id":174537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:37:33] local.INFO: TCP Data received {"connection_id":172093,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071ac33d0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ac33d0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:37:33] local.INFO: Processing buffer {"connection_id":172093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ac33d0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:37:33] local.INFO: Packet analysis {"connection_id":172093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:37:33] local.INFO: Extracted packet for processing {"connection_id":172093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:37:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884980480001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788613506000,"timestamp_ms":1788613506000,"timestamp_seconds":1788613506,"priority":1,"record_length":96,"hex_timestamp":"000001a071ac33d0"} 
[2026-09-05 18:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18: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-09-05 18: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":102,"data_length":795,"current_offset":136} 
[2026-09-05 18:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18: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-09-05 18:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884980480001,"66":25745,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884980480001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:37:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:37:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884980480001,"power":25745,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":172093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:37:33] local.INFO: GPS data processed {"connection_id":172093,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:37:33] local.INFO: Acknowledgment sent {"connection_id":172093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:37:49] local.INFO: TCP Data received {"connection_id":174538,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:37:49] local.INFO: Processing buffer {"connection_id":174538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:37:49] local.INFO: IMEI packet received {"connection_id":174538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":174538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:37:54] local.INFO: TCP Data received {"connection_id":174538,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:37:54] local.INFO: Processing buffer {"connection_id":174538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:37:54] local.INFO: IMEI packet received {"connection_id":174538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":174538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:37:55] local.INFO: TCP Data received {"connection_id":174538,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071acfb08012d196740071fecc8003b01152e..."} 
[2026-09-05 18:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071acfb08012d196740071fecc8003b01152e..."} 
[2026-09-05 18:37:55] local.INFO: Processing buffer {"connection_id":174538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071acfb08012d196740071fecc8003b01152e..."} 
[2026-09-05 18:37:55] local.INFO: Packet analysis {"connection_id":174538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:37:55] local.INFO: Extracted packet for processing {"connection_id":174538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:37:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885065216001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788613557000,"timestamp_ms":1788613557000,"timestamp_seconds":1788613557,"priority":1,"record_length":96,"hex_timestamp":"000001a071acfb08"} 
[2026-09-05 18:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 18:37:55] 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-09-05 18:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885065216001,"66":12580,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885065216001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:37:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:37:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885065216001,"power":12580,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":174538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:37:55] local.INFO: GPS data processed {"connection_id":174538,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:37:55] local.INFO: Acknowledgment sent {"connection_id":174538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:37:55] local.INFO: TCP Data received {"connection_id":171831,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:37:55] local.INFO: Processing buffer {"connection_id":171831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:37:55] local.INFO: IMEI packet received {"connection_id":171831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":171831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:37:56] local.INFO: TCP Data received {"connection_id":174537,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071acef50012d7c0ac005bd49200009001b22..."} 
[2026-09-05 18:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071acef50012d7c0ac005bd49200009001b22..."} 
[2026-09-05 18:37:56] local.INFO: Processing buffer {"connection_id":174537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071acef50012d7c0ac005bd49200009001b22..."} 
[2026-09-05 18:37:56] local.INFO: Packet analysis {"connection_id":174537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:37:56] local.INFO: Extracted packet for processing {"connection_id":174537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:37:56] local.INFO: GPS Element Parsed {"raw_longitude":763103936,"raw_latitude":96291104,"longitude_deg":76.3103936,"latitude_deg":9.6291104,"altitude":9,"angle":27,"satellites":34,"speed":12,"hex_longitude":"2d7c0ac0","hex_latitude":"05bd4920","is_valid_coordinates":true} 
[2026-09-05 18:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885069568001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712846941880320,"note":"Value kept but may cause issues"} 
[2026-09-05 18:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938026803864791040,"note":"Value kept but may cause issues"} 
[2026-09-05 18:37:56] 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-09-05 18:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788613554000,"timestamp_ms":1788613554000,"timestamp_seconds":1788613554,"priority":1,"record_length":96,"hex_timestamp":"000001a071acef50"} 
[2026-09-05 18:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-05 18:37:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:37:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885069568001,"66":13319,"197":206,"85":12544,"24":12,"16":128712846941880320,"45":8938026803864791040},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885069568001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:37:56] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:37:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712846941880320,"km_value":128712846941880.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938026803864791040,"description":"Unknown IO ID 45"} 
[2026-09-05 18:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885069568001,"power":13319,"unknown_197":206,"unknown_85":12544,"ignition":12,"odometer":null,"unknown_45":8938026803864791040}} 
[2026-09-05 18:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":174537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:37:56] local.INFO: GPS data processed {"connection_id":174537,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:37:56] local.INFO: Acknowledgment sent {"connection_id":174537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:37:59] local.INFO: TCP Data received {"connection_id":174538,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071ad4d10012d196740071fecc8003b01152f..."} 
[2026-09-05 18:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ad4d10012d196740071fecc8003b01152f..."} 
[2026-09-05 18:37:59] local.INFO: Processing buffer {"connection_id":174538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ad4d10012d196740071fecc8003b01152f..."} 
[2026-09-05 18:37:59] local.INFO: Packet analysis {"connection_id":174538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ad"} 
[2026-09-05 18:37:59] local.INFO: Extracted packet for processing {"connection_id":174538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ad"} 
[2026-09-05 18:37:59] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885070592001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788613578000,"timestamp_ms":1788613578000,"timestamp_seconds":1788613578,"priority":1,"record_length":96,"hex_timestamp":"000001a071ad4d10"} 
[2026-09-05 18:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-05 18:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885070592001,"66":12580,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885070592001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:37:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:37:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885070592001,"power":12580,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":174538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:38:00] local.INFO: GPS data processed {"connection_id":174538,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:38:00] local.INFO: Acknowledgment sent {"connection_id":174538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:38:01] local.INFO: TCP Data received {"connection_id":171831,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:38:01] local.INFO: Processing buffer {"connection_id":171831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:38:01] local.INFO: IMEI packet received {"connection_id":171831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":171831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:38:01] local.INFO: TCP Data received {"connection_id":171831,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a071ac33d0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ac33d0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:38:01] local.INFO: Processing buffer {"connection_id":171831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ac33d0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:38:01] local.INFO: Packet analysis {"connection_id":171831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:38:01] local.INFO: Extracted packet for processing {"connection_id":171831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:38:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884980480001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788613506000,"timestamp_ms":1788613506000,"timestamp_seconds":1788613506,"priority":1,"record_length":96,"hex_timestamp":"000001a071ac33d0"} 
[2026-09-05 18:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:38:01] 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-09-05 18:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 18:38:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:38:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884980480001,"66":25745,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884980480001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:38:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:38:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884980480001,"power":25745,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":171831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:38:01] local.INFO: GPS data processed {"connection_id":171831,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:38:01] local.INFO: Acknowledgment sent {"connection_id":171831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:38:19] local.INFO: TCP Data received {"connection_id":174539,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174539,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:38:19] local.INFO: Processing buffer {"connection_id":174539,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:38:19] local.INFO: IMEI packet received {"connection_id":174539,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":174539,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:38:24] local.INFO: TCP Data received {"connection_id":174539,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174539,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:38:24] local.INFO: Processing buffer {"connection_id":174539,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:38:24] local.INFO: IMEI packet received {"connection_id":174539,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":174539,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:38:25] local.INFO: TCP Data received {"connection_id":174539,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071acf338012d7c0b4005bd49f80009003322..."} 
[2026-09-05 18:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071acf338012d7c0b4005bd49f80009003322..."} 
[2026-09-05 18:38:25] local.INFO: Processing buffer {"connection_id":174539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071acf338012d7c0b4005bd49f80009003322..."} 
[2026-09-05 18:38:25] local.INFO: Packet analysis {"connection_id":174539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:38:25] local.INFO: Extracted packet for processing {"connection_id":174539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:38:25] local.INFO: GPS Element Parsed {"raw_longitude":763104064,"raw_latitude":96291320,"longitude_deg":76.3104064,"latitude_deg":9.629132,"altitude":9,"angle":51,"satellites":34,"speed":8,"hex_longitude":"2d7c0b40","hex_latitude":"05bd49f8","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885069824001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712859826782208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938167541353226240,"note":"Value kept but may cause issues"} 
[2026-09-05 18:38:25] 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-09-05 18:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788613555000,"timestamp_ms":1788613555000,"timestamp_seconds":1788613555,"priority":1,"record_length":96,"hex_timestamp":"000001a071acf338"} 
[2026-09-05 18:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-05 18:38:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 18:38:25] local.WARNING: Large IO value detected {"io_id":71,"raw_value":2415919104,"note":"Value kept but may cause issues"} 
[2026-09-05 18:38:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-05 18:38:25] local.WARNING: Large IO value detected {"io_id":189,"raw_value":4003700116000087808,"note":"Value kept but may cause issues"} 
[2026-09-05 18:38:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797928654,"corrected_to":0} 
[2026-09-05 18:38:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3174606848,"note":"Value kept but may cause issues"} 
[2026-09-05 18:38:25] local.WARNING: Large IO value detected {"io_id":68,"raw_value":57885735277974833,"note":"Value kept but may cause issues"} 
[2026-09-05 18:38:25] local.WARNING: Large IO value detected {"io_id":172,"raw_value":5985285199641886725,"note":"Value kept but may cause issues"} 
[2026-09-05 18:38:25] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,197,85,24,241,157,16,71,160,235,45,64,9,34,10,66,215,192,69,33,133,1,240,149,227,113,189,4,205,110,14,136,32,239,52,2,201,5,11,6,68,172],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2797928654,"validated":0}]} 
[2026-09-05 18:38:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648548179184975872,"timestamp_seconds":648548179184975.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 18:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174539,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174539,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885069824001,"66":13319,"197":206,"85":12544,"24":8,"16":128712859826782208,"45":8938167541353226240},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885069824001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:38:25] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:38:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712859826782208,"km_value":128712859826782.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938167541353226240,"description":"Unknown IO ID 45"} 
[2026-09-05 18:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885069824001,"power":13319,"unknown_197":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":8938167541353226240}} 
[2026-09-05 18:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":174539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:38:25] local.INFO: GPS data processed {"connection_id":174539,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:38:25] local.INFO: Acknowledgment sent {"connection_id":174539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:38:32] local.INFO: TCP Data received {"connection_id":171831,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a071ac33d0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ac33d0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:38:32] local.INFO: Processing buffer {"connection_id":171831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ac33d0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:38:32] local.INFO: Packet analysis {"connection_id":171831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:38:32] local.INFO: Extracted packet for processing {"connection_id":171831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:38:32] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884980480001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788613506000,"timestamp_ms":1788613506000,"timestamp_seconds":1788613506,"priority":1,"record_length":96,"hex_timestamp":"000001a071ac33d0"} 
[2026-09-05 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-09-05 18:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 18:38: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-09-05 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-09-05 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-09-05 18:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884980480001,"66":25745,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884980480001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:38:32] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:38:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884980480001,"power":25745,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":171831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:38:32] local.INFO: GPS data processed {"connection_id":171831,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:38:32] local.INFO: Acknowledgment sent {"connection_id":171831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:38:41] local.INFO: TCP Data received {"connection_id":174540,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:38:41] local.INFO: Processing buffer {"connection_id":174540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:38:41] local.INFO: IMEI packet received {"connection_id":174540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":174540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:38:44] local.INFO: TCP Data received {"connection_id":174540,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:38:44] local.INFO: Processing buffer {"connection_id":174540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:38:44] local.INFO: IMEI packet received {"connection_id":174540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":174540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:38:49] local.INFO: TCP Data received {"connection_id":174540,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:38:49] local.INFO: Processing buffer {"connection_id":174540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:38:49] local.INFO: IMEI packet received {"connection_id":174540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":174540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:38:50] local.INFO: TCP Data received {"connection_id":174540,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071ad9f18012d196740071fecc8003b01152e..."} 
[2026-09-05 18:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ad9f18012d196740071fecc8003b01152e..."} 
[2026-09-05 18:38:50] local.INFO: Processing buffer {"connection_id":174540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ad9f18012d196740071fecc8003b01152e..."} 
[2026-09-05 18:38:50] local.INFO: Packet analysis {"connection_id":174540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ad"} 
[2026-09-05 18:38:50] local.INFO: Extracted packet for processing {"connection_id":174540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ad"} 
[2026-09-05 18:38:50] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885075968001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788613599000,"timestamp_ms":1788613599000,"timestamp_seconds":1788613599,"priority":1,"record_length":96,"hex_timestamp":"000001a071ad9f18"} 
[2026-09-05 18:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-05 18:38:50] 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-09-05 18:38:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885075968001,"66":12548,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885075968001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:38:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:38:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885075968001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":174540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:38:50] local.INFO: GPS data processed {"connection_id":174540,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:38:50] local.INFO: Acknowledgment sent {"connection_id":174540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:38:56] local.INFO: TCP Data received {"connection_id":174539,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071ad0e90012d7c0b0005bd4a60000900e523..."} 
[2026-09-05 18:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ad0e90012d7c0b0005bd4a60000900e523..."} 
[2026-09-05 18:38:56] local.INFO: Processing buffer {"connection_id":174539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ad0e90012d7c0b0005bd4a60000900e523..."} 
[2026-09-05 18:38:56] local.INFO: Packet analysis {"connection_id":174539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ad"} 
[2026-09-05 18:38:56] local.INFO: Extracted packet for processing {"connection_id":174539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ad"} 
[2026-09-05 18:38:56] local.INFO: GPS Element Parsed {"raw_longitude":763104000,"raw_latitude":96291424,"longitude_deg":76.3104,"latitude_deg":9.6291424,"altitude":9,"angle":229,"satellites":35,"speed":5,"hex_longitude":"2d7c0b00","hex_latitude":"05bd4a60","is_valid_coordinates":true} 
[2026-09-05 18:38: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-09-05 18:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885070080001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712881301618688,"note":"Value kept but may cause issues"} 
[2026-09-05 18:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938308278841636864,"note":"Value kept but may cause issues"} 
[2026-09-05 18:38:56] 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-09-05 18:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788613562000,"timestamp_ms":1788613562000,"timestamp_seconds":1788613562,"priority":1,"record_length":96,"hex_timestamp":"000001a071ad0e90"} 
[2026-09-05 18:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-05 18:38:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 18:38:56] local.WARNING: Large IO value detected {"io_id":71,"raw_value":2634022912,"note":"Value kept but may cause issues"} 
[2026-09-05 18:38:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-05 18:38:56] local.WARNING: Large IO value detected {"io_id":189,"raw_value":4082513109456396288,"note":"Value kept but may cause issues"} 
[2026-09-05 18:38:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797928654,"corrected_to":0} 
[2026-09-05 18:38:56] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3174860800,"note":"Value kept but may cause issues"} 
[2026-09-05 18:38:56] local.WARNING: Large IO value detected {"io_id":94,"raw_value":57885735277974833,"note":"Value kept but may cause issues"} 
[2026-09-05 18:38:56] local.WARNING: Large IO value detected {"io_id":172,"raw_value":6548235153063198725,"note":"Value kept but may cause issues"} 
[2026-09-05 18:38:56] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,197,85,24,241,157,16,71,160,239,45,192,73,9,34,10,66,235,64,215,1,240,214,227,113,189,4,205,114,14,96,32,53,2,201,5,11,8,94,172],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2797928654,"validated":0}]} 
[2026-09-05 18:38:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648574567463780352,"timestamp_seconds":648574567463780.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 18:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174539,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174539,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885070080001,"66":13526,"197":206,"85":12544,"24":5,"16":128712881301618688,"45":8938308278841636864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885070080001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:38:56] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:38:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712881301618688,"km_value":128712881301618.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938308278841636864,"description":"Unknown IO ID 45"} 
[2026-09-05 18:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885070080001,"power":13526,"unknown_197":206,"unknown_85":12544,"ignition":5,"odometer":null,"unknown_45":8938308278841636864}} 
[2026-09-05 18:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":174539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:38:56] local.INFO: GPS data processed {"connection_id":174539,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:38:56] local.INFO: Acknowledgment sent {"connection_id":174539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:39:01] local.INFO: TCP Data received {"connection_id":172094,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:39:01] local.INFO: Processing buffer {"connection_id":172094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:39:01] local.INFO: IMEI packet received {"connection_id":172094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":172094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:39:06] local.INFO: TCP Data received {"connection_id":172094,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:39:06] local.INFO: Processing buffer {"connection_id":172094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:39:06] local.INFO: IMEI packet received {"connection_id":172094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":172094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:39:06] local.INFO: TCP Data received {"connection_id":172094,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071ac33d0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ac33d0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:39:06] local.INFO: Processing buffer {"connection_id":172094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ac33d0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:39:06] local.INFO: Packet analysis {"connection_id":172094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:39:06] local.INFO: Extracted packet for processing {"connection_id":172094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:39:06] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884980480001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788613506000,"timestamp_ms":1788613506000,"timestamp_seconds":1788613506,"priority":1,"record_length":96,"hex_timestamp":"000001a071ac33d0"} 
[2026-09-05 18:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:39:06] 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-09-05 18:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 18:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884980480001,"66":25745,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884980480001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:39:06] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:39:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884980480001,"power":25745,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":172094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:39:06] local.INFO: GPS data processed {"connection_id":172094,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:39:06] local.INFO: Acknowledgment sent {"connection_id":172094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:39:11] local.INFO: TCP Data received {"connection_id":172094,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071ac33d0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ac33d0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:39:11] local.INFO: Processing buffer {"connection_id":172094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ac33d0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:39:11] local.INFO: Packet analysis {"connection_id":172094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:39:11] local.INFO: Extracted packet for processing {"connection_id":172094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:39:11] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884980480001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788613506000,"timestamp_ms":1788613506000,"timestamp_seconds":1788613506,"priority":1,"record_length":96,"hex_timestamp":"000001a071ac33d0"} 
[2026-09-05 18:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18: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-09-05 18:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 18:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":172094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":172094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":172094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884980480001,"66":25745,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884980480001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:39:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:39:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884980480001,"power":25745,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":172094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:39:11] local.INFO: GPS data processed {"connection_id":172094,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:39:11] local.INFO: Acknowledgment sent {"connection_id":172094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:39:19] local.INFO: TCP Data received {"connection_id":171832,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171832,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:39:19] local.INFO: Processing buffer {"connection_id":171832,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:39:19] local.INFO: IMEI packet received {"connection_id":171832,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":171832,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:39:21] local.INFO: TCP Data received {"connection_id":174540,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071adf120012d196740071fecc8003b01152e..."} 
[2026-09-05 18:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071adf120012d196740071fecc8003b01152e..."} 
[2026-09-05 18:39:21] local.INFO: Processing buffer {"connection_id":174540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071adf120012d196740071fecc8003b01152e..."} 
[2026-09-05 18:39:21] local.INFO: Packet analysis {"connection_id":174540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ad"} 
[2026-09-05 18:39:21] local.INFO: Extracted packet for processing {"connection_id":174540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ad"} 
[2026-09-05 18:39:21] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885081344001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788613620000,"timestamp_ms":1788613620000,"timestamp_seconds":1788613620,"priority":1,"record_length":96,"hex_timestamp":"000001a071adf120"} 
[2026-09-05 18:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:39: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-09-05 18:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 18:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:21] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:21] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3506438144,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184203387085,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:21] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3972530235,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:21] local.WARNING: Large IO value detected {"io_id":4,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-05 18:39:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3866901,"corrected_to":0} 
[2026-09-05 18:39:21] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:21] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,36,160,77,45,64,236,59,47,10,66,251,46,169,1,240,227,113,31,4,205,103,200,239,49,2,7,120],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":3866901,"validated":0}]} 
[2026-09-05 18:39:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251702810527137792,"timestamp_seconds":4251702810527138.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 18:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885081344001,"66":12558,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885081344001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:39:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:39:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885081344001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":174540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:39:21] local.INFO: GPS data processed {"connection_id":174540,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:39:21] local.INFO: Acknowledgment sent {"connection_id":174540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:39:24] local.INFO: TCP Data received {"connection_id":171832,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171832,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:39:24] local.INFO: Processing buffer {"connection_id":171832,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:39:24] local.INFO: IMEI packet received {"connection_id":171832,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":171832,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:39:25] local.INFO: TCP Data received {"connection_id":171832,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071ad1660012d7c0a0005bd49f0000a00fe23..."} 
[2026-09-05 18:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ad1660012d7c0a0005bd49f0000a00fe23..."} 
[2026-09-05 18:39:25] local.INFO: Processing buffer {"connection_id":171832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ad1660012d7c0a0005bd49f0000a00fe23..."} 
[2026-09-05 18:39:25] local.INFO: Packet analysis {"connection_id":171832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ad"} 
[2026-09-05 18:39:25] local.INFO: Extracted packet for processing {"connection_id":171832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ad"} 
[2026-09-05 18:39:25] local.INFO: GPS Element Parsed {"raw_longitude":763103744,"raw_latitude":96291312,"longitude_deg":76.3103744,"latitude_deg":9.6291312,"altitude":10,"angle":254,"satellites":35,"speed":8,"hex_longitude":"2d7c0a00","hex_latitude":"05bd49f0","is_valid_coordinates":true} 
[2026-09-05 18:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885071872001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712898481487872,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938237910097485824,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:25] 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-09-05 18:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788613564000,"timestamp_ms":1788613564000,"timestamp_seconds":1788613564,"priority":1,"record_length":96,"hex_timestamp":"000001a071ad1660"} 
[2026-09-05 18:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 18:39:25] 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-09-05 18:39:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885071872001,"66":13374,"197":206,"85":12544,"24":8,"16":128712898481487872,"45":8938237910097485824},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885071872001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:39:25] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:39:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712898481487872,"km_value":128712898481487.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938237910097485824,"description":"Unknown IO ID 45"} 
[2026-09-05 18:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885071872001,"power":13374,"unknown_197":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":8938237910097485824}} 
[2026-09-05 18:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":171832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:39:25] local.INFO: GPS data processed {"connection_id":171832,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:39:25] local.INFO: Acknowledgment sent {"connection_id":171832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:39:44] local.INFO: TCP Data received {"connection_id":171833,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:39:44] local.INFO: Processing buffer {"connection_id":171833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:39:44] local.INFO: IMEI packet received {"connection_id":171833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":171833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:39:45] local.INFO: TCP Data received {"connection_id":171833,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:39:45] local.INFO: Processing buffer {"connection_id":171833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:39:45] local.INFO: IMEI packet received {"connection_id":171833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":171833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:39:49] local.INFO: TCP Data received {"connection_id":171833,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:39:49] local.INFO: Processing buffer {"connection_id":171833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:39:49] local.INFO: IMEI packet received {"connection_id":171833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":171833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:39:50] local.INFO: TCP Data received {"connection_id":171833,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071ae4328012d196740071fecc8003b01152e..."} 
[2026-09-05 18:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ae4328012d196740071fecc8003b01152e..."} 
[2026-09-05 18:39:50] local.INFO: Processing buffer {"connection_id":171833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ae4328012d196740071fecc8003b01152e..."} 
[2026-09-05 18:39:50] local.INFO: Packet analysis {"connection_id":171833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ae"} 
[2026-09-05 18:39:50] local.INFO: Extracted packet for processing {"connection_id":171833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ae"} 
[2026-09-05 18:39:50] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885086720001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788613641000,"timestamp_ms":1788613641000,"timestamp_seconds":1788613641,"priority":1,"record_length":96,"hex_timestamp":"000001a071ae4328"} 
[2026-09-05 18:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-05 18:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:50] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3506438144,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249742130819624136,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:50] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3972530235,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-05 18:39:50] local.WARNING: Large IO value detected {"io_id":86,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3866901,"corrected_to":0} 
[2026-09-05 18:39:50] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:50] local.WARNING: Large IO value detected {"io_id":88,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:50] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:50] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,36,160,159,45,64,236,59,46,10,66,77,47,251,1,240,227,113,31,4,205,86,103,200,43,239,49,2,7,120,88,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":3866901,"validated":0}]} 
[2026-09-05 18:39:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251702810527137792,"timestamp_seconds":4251702810527138.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 18:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885086720001,"66":12526,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885086720001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:39:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:39:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885086720001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":171833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:39:50] local.INFO: GPS data processed {"connection_id":171833,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:39:50] local.INFO: Acknowledgment sent {"connection_id":171833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:39:56] local.INFO: TCP Data received {"connection_id":173216,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:39:56] local.INFO: Processing buffer {"connection_id":173216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:39:56] local.INFO: IMEI packet received {"connection_id":173216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":173216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:39:56] local.INFO: TCP Data received {"connection_id":171832,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071ad6868012d7c080005bd49f8000900f923..."} 
[2026-09-05 18:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ad6868012d7c080005bd49f8000900f923..."} 
[2026-09-05 18:39:56] local.INFO: Processing buffer {"connection_id":171832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ad6868012d7c080005bd49f8000900f923..."} 
[2026-09-05 18:39:56] local.INFO: Packet analysis {"connection_id":171832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ad"} 
[2026-09-05 18:39:56] local.INFO: Extracted packet for processing {"connection_id":171832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ad"} 
[2026-09-05 18:39:56] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291320,"longitude_deg":76.3103232,"latitude_deg":9.629132,"altitude":9,"angle":249,"satellites":35,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd49f8","is_valid_coordinates":true} 
[2026-09-05 18:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885072384001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937956435120746496,"note":"Value kept but may cause issues"} 
[2026-09-05 18:39:56] 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-09-05 18:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788613585000,"timestamp_ms":1788613585000,"timestamp_seconds":1788613585,"priority":1,"record_length":96,"hex_timestamp":"000001a071ad6868"} 
[2026-09-05 18:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-05 18:39:56] 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-09-05 18:39:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885072384001,"66":13243,"197":206,"85":12544,"24":0,"16":128712919956324352,"45":8937956435120746496},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885072384001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:39:56] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:39:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712919956324352,"km_value":128712919956324.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937956435120746496,"description":"Unknown IO ID 45"} 
[2026-09-05 18:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885072384001,"power":13243,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937956435120746496}} 
[2026-09-05 18:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":171832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:39:56] local.INFO: GPS data processed {"connection_id":171832,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:39:56] local.INFO: Acknowledgment sent {"connection_id":171832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:40:01] local.INFO: TCP Data received {"connection_id":173216,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:40:01] local.INFO: Processing buffer {"connection_id":173216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:40:01] local.INFO: IMEI packet received {"connection_id":173216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":173216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:40:01] local.INFO: TCP Data received {"connection_id":173216,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a071ac33d0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ac33d0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:40:01] local.INFO: Processing buffer {"connection_id":173216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ac33d0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:40:01] local.INFO: Packet analysis {"connection_id":173216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:40:01] local.INFO: Extracted packet for processing {"connection_id":173216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:40:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884980480001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788613506000,"timestamp_ms":1788613506000,"timestamp_seconds":1788613506,"priority":1,"record_length":96,"hex_timestamp":"000001a071ac33d0"} 
[2026-09-05 18:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:40:01] 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-09-05 18:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 18:40:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:40:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884980480001,"66":25745,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884980480001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:40:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:40:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884980480001,"power":25745,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":173216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:40:01] local.INFO: GPS data processed {"connection_id":173216,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:40:01] local.INFO: Acknowledgment sent {"connection_id":173216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:40:18] local.INFO: TCP Data received {"connection_id":171834,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:40:18] local.INFO: Processing buffer {"connection_id":171834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:40:18] local.INFO: IMEI packet received {"connection_id":171834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":171834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:40:18] local.INFO: TCP Data received {"connection_id":171834,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:40:18] local.INFO: Processing buffer {"connection_id":171834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:40:18] local.INFO: IMEI packet received {"connection_id":171834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":171834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:40:21] local.INFO: TCP Data received {"connection_id":171833,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071ae9530012d196740071fecc8003b01152e..."} 
[2026-09-05 18:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ae9530012d196740071fecc8003b01152e..."} 
[2026-09-05 18:40:21] local.INFO: Processing buffer {"connection_id":171833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ae9530012d196740071fecc8003b01152e..."} 
[2026-09-05 18:40:21] local.INFO: Packet analysis {"connection_id":171833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ae"} 
[2026-09-05 18:40:21] local.INFO: Extracted packet for processing {"connection_id":171833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ae"} 
[2026-09-05 18:40:21] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885092096001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788613662000,"timestamp_ms":1788613662000,"timestamp_seconds":1788613662,"priority":1,"record_length":96,"hex_timestamp":"000001a071ae9530"} 
[2026-09-05 18:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:40: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-09-05 18:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-05 18:40:21] 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-09-05 18:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885092096001,"66":12537,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885092096001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:40:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:40:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885092096001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":171833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:40:21] local.INFO: GPS data processed {"connection_id":171833,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:40:21] local.INFO: Acknowledgment sent {"connection_id":171833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:40:24] local.INFO: TCP Data received {"connection_id":171834,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:40:24] local.INFO: Processing buffer {"connection_id":171834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:40:24] local.INFO: IMEI packet received {"connection_id":171834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":171834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:40:25] local.INFO: TCP Data received {"connection_id":171834,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071adba70012d7c080005bd49f8000900f925..."} 
[2026-09-05 18:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071adba70012d7c080005bd49f8000900f925..."} 
[2026-09-05 18:40:25] local.INFO: Processing buffer {"connection_id":171834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071adba70012d7c080005bd49f8000900f925..."} 
[2026-09-05 18:40:25] local.INFO: Packet analysis {"connection_id":171834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ad"} 
[2026-09-05 18:40:25] local.INFO: Extracted packet for processing {"connection_id":171834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ad"} 
[2026-09-05 18:40:25] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291320,"longitude_deg":76.3103232,"latitude_deg":9.629132,"altitude":9,"angle":249,"satellites":37,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd49f8","is_valid_coordinates":true} 
[2026-09-05 18:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885077760001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167327232,"note":"Value kept but may cause issues"} 
[2026-09-05 18:40:25] 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-09-05 18:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788613606000,"timestamp_ms":1788613606000,"timestamp_seconds":1788613606,"priority":1,"record_length":96,"hex_timestamp":"000001a071adba70"} 
[2026-09-05 18:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-05 18:40:25] 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-09-05 18:40:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885077760001,"66":13276,"197":206,"85":12544,"24":0,"16":128712919956324352,"45":8937393485167327232},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885077760001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:40:25] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:40:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712919956324352,"km_value":128712919956324.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167327232,"description":"Unknown IO ID 45"} 
[2026-09-05 18:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885077760001,"power":13276,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167327232}} 
[2026-09-05 18:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":171834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:40:25] local.INFO: GPS data processed {"connection_id":171834,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:40:25] local.INFO: Acknowledgment sent {"connection_id":171834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:40:33] local.INFO: TCP Data received {"connection_id":173216,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a071ac33d0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ac33d0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:40:33] local.INFO: Processing buffer {"connection_id":173216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ac33d0012d7b850005f5f278000900f62f..."} 
[2026-09-05 18:40:33] local.INFO: Packet analysis {"connection_id":173216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:40:33] local.INFO: Extracted packet for processing {"connection_id":173216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ac"} 
[2026-09-05 18:40:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457884980480001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788613506000,"timestamp_ms":1788613506000,"timestamp_seconds":1788613506,"priority":1,"record_length":96,"hex_timestamp":"000001a071ac33d0"} 
[2026-09-05 18:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18: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-09-05 18: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 18:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18: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-09-05 18:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457884980480001,"66":25745,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457884980480001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:40:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:40:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457884980480001,"power":25745,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":173216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:40:33] local.INFO: GPS data processed {"connection_id":173216,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:40:33] local.INFO: Acknowledgment sent {"connection_id":173216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:40:44] local.INFO: TCP Data received {"connection_id":171835,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:40:44] local.INFO: Processing buffer {"connection_id":171835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:40:44] local.INFO: IMEI packet received {"connection_id":171835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":171835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:40:48] local.INFO: TCP Data received {"connection_id":171835,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:40:48] local.INFO: Processing buffer {"connection_id":171835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:40:48] local.INFO: IMEI packet received {"connection_id":171835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":171835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:40:48] local.INFO: TCP Data received {"connection_id":171835,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071aee738012d196740071fecc8003b01152e..."} 
[2026-09-05 18:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071aee738012d196740071fecc8003b01152e..."} 
[2026-09-05 18:40:48] local.INFO: Processing buffer {"connection_id":171835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071aee738012d196740071fecc8003b01152e..."} 
[2026-09-05 18:40:48] local.INFO: Packet analysis {"connection_id":171835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ae"} 
[2026-09-05 18:40:48] local.INFO: Extracted packet for processing {"connection_id":171835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ae"} 
[2026-09-05 18:40:48] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885097472001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788613683000,"timestamp_ms":1788613683000,"timestamp_seconds":1788613683,"priority":1,"record_length":96,"hex_timestamp":"000001a071aee738"} 
[2026-09-05 18:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:40: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-09-05 18:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-05 18:40:48] 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-09-05 18:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":171835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":171835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":171835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885097472001,"66":12504,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885097472001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:40:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:40:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885097472001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":171835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:40:48] local.INFO: GPS data processed {"connection_id":171835,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:40:48] local.INFO: Acknowledgment sent {"connection_id":171835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:40:56] local.INFO: TCP Data received {"connection_id":174541,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:40:56] local.INFO: Processing buffer {"connection_id":174541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:40:56] local.INFO: IMEI packet received {"connection_id":174541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":174541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:40:56] local.INFO: TCP Data received {"connection_id":171834,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071ae0c78012d7c080005bd49f8000900f926..."} 
[2026-09-05 18:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ae0c78012d7c080005bd49f8000900f926..."} 
[2026-09-05 18:40:56] local.INFO: Processing buffer {"connection_id":171834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ae0c78012d7c080005bd49f8000900f926..."} 
[2026-09-05 18:40:56] local.INFO: Packet analysis {"connection_id":171834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ae"} 
[2026-09-05 18:40:56] local.INFO: Extracted packet for processing {"connection_id":171834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ae"} 
[2026-09-05 18:40:56] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291320,"longitude_deg":76.3103232,"latitude_deg":9.629132,"altitude":9,"angle":249,"satellites":38,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd49f8","is_valid_coordinates":true} 
[2026-09-05 18:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885083136001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167327232,"note":"Value kept but may cause issues"} 
[2026-09-05 18:40:56] 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-09-05 18:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788613627000,"timestamp_ms":1788613627000,"timestamp_seconds":1788613627,"priority":1,"record_length":96,"hex_timestamp":"000001a071ae0c78"} 
[2026-09-05 18:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-05 18:40:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885083136001,"66":13341,"197":206,"85":12544,"24":0,"16":128712919956324352,"45":8937393485167327232},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885083136001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:40:56] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:40:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712919956324352,"km_value":128712919956324.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167327232,"description":"Unknown IO ID 45"} 
[2026-09-05 18:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885083136001,"power":13341,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167327232}} 
[2026-09-05 18:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":171834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:40:56] local.INFO: GPS data processed {"connection_id":171834,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:40:56] local.INFO: Acknowledgment sent {"connection_id":171834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:41:01] local.INFO: TCP Data received {"connection_id":174541,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:41:01] local.INFO: Processing buffer {"connection_id":174541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:41:01] local.INFO: IMEI packet received {"connection_id":174541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":174541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:41:02] local.INFO: TCP Data received {"connection_id":174541,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a071b0cb98012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b0cb98012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:41:02] local.INFO: Processing buffer {"connection_id":174541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b0cb98012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:41:02] local.INFO: Packet analysis {"connection_id":174541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b0"} 
[2026-09-05 18:41:02] local.INFO: Extracted packet for processing {"connection_id":174541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b0"} 
[2026-09-05 18:41:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885057536001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788613807000,"timestamp_ms":1788613807000,"timestamp_seconds":1788613807,"priority":1,"record_length":96,"hex_timestamp":"000001a071b0cb98"} 
[2026-09-05 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-09-05 18:41:02] 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-09-05 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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-05 18:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 18:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885057536001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885057536001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:41:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:41:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885057536001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":174541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:41:02] local.INFO: GPS data processed {"connection_id":174541,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:41:02] local.INFO: Acknowledgment sent {"connection_id":174541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:41:18] local.INFO: TCP Data received {"connection_id":173217,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173217,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:41:18] local.INFO: Processing buffer {"connection_id":173217,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:41:18] local.INFO: IMEI packet received {"connection_id":173217,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":173217,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:41:19] local.INFO: TCP Data received {"connection_id":171835,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071af3940012d196740071fecc8003b011530..."} 
[2026-09-05 18:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071af3940012d196740071fecc8003b011530..."} 
[2026-09-05 18:41:19] local.INFO: Processing buffer {"connection_id":171835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071af3940012d196740071fecc8003b011530..."} 
[2026-09-05 18:41:19] local.INFO: Packet analysis {"connection_id":171835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071af"} 
[2026-09-05 18:41:19] local.INFO: Extracted packet for processing {"connection_id":171835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071af"} 
[2026-09-05 18:41:19] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":48,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885102848001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788613704000,"timestamp_ms":1788613704000,"timestamp_seconds":1788613704,"priority":1,"record_length":96,"hex_timestamp":"000001a071af3940"} 
[2026-09-05 18:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 18:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:41:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":171835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":171835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":171835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885102848001,"66":12493,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885102848001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:41:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:41:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885102848001,"power":12493,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":171835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:41:19] local.INFO: GPS data processed {"connection_id":171835,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:41:19] local.INFO: Acknowledgment sent {"connection_id":171835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:41:21] local.INFO: TCP Data received {"connection_id":173217,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173217,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:41:21] local.INFO: Processing buffer {"connection_id":173217,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:41:21] local.INFO: IMEI packet received {"connection_id":173217,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":173217,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:41:24] local.INFO: TCP Data received {"connection_id":173217,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173217,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:41:24] local.INFO: Processing buffer {"connection_id":173217,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:41:24] local.INFO: IMEI packet received {"connection_id":173217,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":173217,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:41:25] local.INFO: TCP Data received {"connection_id":173217,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071ae5e80012d7c080005bd49f8000900f924..."} 
[2026-09-05 18:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ae5e80012d7c080005bd49f8000900f924..."} 
[2026-09-05 18:41:25] local.INFO: Processing buffer {"connection_id":173217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ae5e80012d7c080005bd49f8000900f924..."} 
[2026-09-05 18:41:25] local.INFO: Packet analysis {"connection_id":173217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ae"} 
[2026-09-05 18:41:25] local.INFO: Extracted packet for processing {"connection_id":173217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ae"} 
[2026-09-05 18:41:25] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291320,"longitude_deg":76.3103232,"latitude_deg":9.629132,"altitude":9,"angle":249,"satellites":36,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd49f8","is_valid_coordinates":true} 
[2026-09-05 18:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885088512001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167327232,"note":"Value kept but may cause issues"} 
[2026-09-05 18:41:25] 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-09-05 18:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788613648000,"timestamp_ms":1788613648000,"timestamp_seconds":1788613648,"priority":1,"record_length":96,"hex_timestamp":"000001a071ae5e80"} 
[2026-09-05 18:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-05 18:41:25] 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-09-05 18:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885088512001,"66":13559,"197":206,"85":12544,"24":0,"16":128712919956324352,"45":8937393485167327232},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885088512001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:41:25] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:41:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712919956324352,"km_value":128712919956324.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167327232,"description":"Unknown IO ID 45"} 
[2026-09-05 18:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885088512001,"power":13559,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167327232}} 
[2026-09-05 18:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":173217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:41:25] local.INFO: GPS data processed {"connection_id":173217,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:41:25] local.INFO: Acknowledgment sent {"connection_id":173217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:41:33] local.INFO: TCP Data received {"connection_id":174541,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a071b0cb98012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b0cb98012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:41:33] local.INFO: Processing buffer {"connection_id":174541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b0cb98012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:41:33] local.INFO: Packet analysis {"connection_id":174541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b0"} 
[2026-09-05 18:41:33] local.INFO: Extracted packet for processing {"connection_id":174541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b0"} 
[2026-09-05 18:41:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885057536001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788613807000,"timestamp_ms":1788613807000,"timestamp_seconds":1788613807,"priority":1,"record_length":96,"hex_timestamp":"000001a071b0cb98"} 
[2026-09-05 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-09-05 18:41: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-09-05 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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-05 18:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 18:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885057536001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885057536001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:41:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:41:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885057536001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":174541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:41:33] local.INFO: GPS data processed {"connection_id":174541,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:41:33] local.INFO: Acknowledgment sent {"connection_id":174541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:41:44] local.INFO: TCP Data received {"connection_id":172095,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:41:44] local.INFO: Processing buffer {"connection_id":172095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:41:44] local.INFO: IMEI packet received {"connection_id":172095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":172095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:41:49] local.INFO: TCP Data received {"connection_id":172095,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:41:49] local.INFO: Processing buffer {"connection_id":172095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:41:49] local.INFO: IMEI packet received {"connection_id":172095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":172095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:41:50] local.INFO: TCP Data received {"connection_id":172095,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071af8b48012d196740071fecc8003b01152d..."} 
[2026-09-05 18:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071af8b48012d196740071fecc8003b01152d..."} 
[2026-09-05 18:41:50] local.INFO: Processing buffer {"connection_id":172095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071af8b48012d196740071fecc8003b01152d..."} 
[2026-09-05 18:41:50] local.INFO: Packet analysis {"connection_id":172095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071af"} 
[2026-09-05 18:41:50] local.INFO: Extracted packet for processing {"connection_id":172095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071af"} 
[2026-09-05 18:41:50] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885108224001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788613725000,"timestamp_ms":1788613725000,"timestamp_seconds":1788613725,"priority":1,"record_length":96,"hex_timestamp":"000001a071af8b48"} 
[2026-09-05 18:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 18:41:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2283,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:41:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885108224001,"66":12504,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885108224001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:41:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:41:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885108224001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":172095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:41:50] local.INFO: GPS data processed {"connection_id":172095,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:41:50] local.INFO: Acknowledgment sent {"connection_id":172095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:41:55] local.INFO: TCP Data received {"connection_id":171836,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:41:55] local.INFO: Processing buffer {"connection_id":171836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:41:55] local.INFO: IMEI packet received {"connection_id":171836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":171836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:41:56] local.INFO: TCP Data received {"connection_id":173217,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071aeb088012d7c080005bd49f8000900f925..."} 
[2026-09-05 18:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071aeb088012d7c080005bd49f8000900f925..."} 
[2026-09-05 18:41:56] local.INFO: Processing buffer {"connection_id":173217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071aeb088012d7c080005bd49f8000900f925..."} 
[2026-09-05 18:41:56] local.INFO: Packet analysis {"connection_id":173217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ae"} 
[2026-09-05 18:41:56] local.INFO: Extracted packet for processing {"connection_id":173217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ae"} 
[2026-09-05 18:41:56] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291320,"longitude_deg":76.3103232,"latitude_deg":9.629132,"altitude":9,"angle":249,"satellites":37,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd49f8","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885093888001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167327232,"note":"Value kept but may cause issues"} 
[2026-09-05 18:41:56] 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-09-05 18:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788613669000,"timestamp_ms":1788613669000,"timestamp_seconds":1788613669,"priority":1,"record_length":96,"hex_timestamp":"000001a071aeb088"} 
[2026-09-05 18:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-05 18:41:56] 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-09-05 18: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-09-05 18:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885093888001,"66":13341,"197":206,"85":12544,"24":0,"16":128712919956324352,"45":8937393485167327232},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885093888001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:41:56] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:41:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712919956324352,"km_value":128712919956324.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167327232,"description":"Unknown IO ID 45"} 
[2026-09-05 18:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885093888001,"power":13341,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167327232}} 
[2026-09-05 18:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":173217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:41:56] local.INFO: GPS data processed {"connection_id":173217,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:41:56] local.INFO: Acknowledgment sent {"connection_id":173217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:42:01] local.INFO: TCP Data received {"connection_id":171836,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:42:01] local.INFO: Processing buffer {"connection_id":171836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:42:01] local.INFO: IMEI packet received {"connection_id":171836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":171836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:42:01] local.INFO: TCP Data received {"connection_id":171836,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071b0cb98012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b0cb98012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:42:01] local.INFO: Processing buffer {"connection_id":171836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b0cb98012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:42:01] local.INFO: Packet analysis {"connection_id":171836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b0"} 
[2026-09-05 18:42:01] local.INFO: Extracted packet for processing {"connection_id":171836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b0"} 
[2026-09-05 18:42:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885057536001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788613807000,"timestamp_ms":1788613807000,"timestamp_seconds":1788613807,"priority":1,"record_length":96,"hex_timestamp":"000001a071b0cb98"} 
[2026-09-05 18:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:42:01] 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-09-05 18:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-05 18:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:42:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885057536001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885057536001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:42:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:42:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885057536001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":171836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:42:01] local.INFO: GPS data processed {"connection_id":171836,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:42:01] local.INFO: Acknowledgment sent {"connection_id":171836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:42:18] local.INFO: TCP Data received {"connection_id":174542,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174542,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:42:18] local.INFO: Processing buffer {"connection_id":174542,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:42:18] local.INFO: IMEI packet received {"connection_id":174542,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":174542,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:42:21] local.INFO: TCP Data received {"connection_id":172095,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071afdd50012d196740071fecc8003b01152e..."} 
[2026-09-05 18:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071afdd50012d196740071fecc8003b01152e..."} 
[2026-09-05 18:42:21] local.INFO: Processing buffer {"connection_id":172095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071afdd50012d196740071fecc8003b01152e..."} 
[2026-09-05 18:42:21] local.INFO: Packet analysis {"connection_id":172095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071af"} 
[2026-09-05 18:42:21] local.INFO: Extracted packet for processing {"connection_id":172095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071af"} 
[2026-09-05 18:42:21] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885113600001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788613746000,"timestamp_ms":1788613746000,"timestamp_seconds":1788613746,"priority":1,"record_length":96,"hex_timestamp":"000001a071afdd50"} 
[2026-09-05 18:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:42: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-09-05 18:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 18:42:21] 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-09-05 18:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885113600001,"66":12526,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885113600001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:42:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:42:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885113600001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":172095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:42:21] local.INFO: GPS data processed {"connection_id":172095,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:42:21] local.INFO: Acknowledgment sent {"connection_id":172095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:42:24] local.INFO: TCP Data received {"connection_id":174542,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174542,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:42:24] local.INFO: Processing buffer {"connection_id":174542,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:42:24] local.INFO: IMEI packet received {"connection_id":174542,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":174542,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:42:24] local.INFO: TCP Data received {"connection_id":174542,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071af0290012d7c080005bd49f8000900f925..."} 
[2026-09-05 18:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071af0290012d7c080005bd49f8000900f925..."} 
[2026-09-05 18:42:24] local.INFO: Processing buffer {"connection_id":174542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071af0290012d7c080005bd49f8000900f925..."} 
[2026-09-05 18:42:24] local.INFO: Packet analysis {"connection_id":174542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071af"} 
[2026-09-05 18:42:24] local.INFO: Extracted packet for processing {"connection_id":174542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071af"} 
[2026-09-05 18:42:24] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291320,"longitude_deg":76.3103232,"latitude_deg":9.629132,"altitude":9,"angle":249,"satellites":37,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd49f8","is_valid_coordinates":true} 
[2026-09-05 18:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885099264001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167327232,"note":"Value kept but may cause issues"} 
[2026-09-05 18:42:24] 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-09-05 18:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788613690000,"timestamp_ms":1788613690000,"timestamp_seconds":1788613690,"priority":1,"record_length":96,"hex_timestamp":"000001a071af0290"} 
[2026-09-05 18:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:42:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-05 18:42:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174542,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174542,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885099264001,"66":13646,"197":206,"85":12544,"24":0,"16":128712919956324352,"45":8937393485167327232},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885099264001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:42:24] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:42:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712919956324352,"km_value":128712919956324.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167327232,"description":"Unknown IO ID 45"} 
[2026-09-05 18:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885099264001,"power":13646,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167327232}} 
[2026-09-05 18:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":174542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770638,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:42:24] local.INFO: GPS data processed {"connection_id":174542,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:42:24] local.INFO: Acknowledgment sent {"connection_id":174542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:42:33] local.INFO: TCP Data received {"connection_id":171836,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071b0cb98012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b0cb98012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:42:33] local.INFO: Processing buffer {"connection_id":171836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b0cb98012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:42:33] local.INFO: Packet analysis {"connection_id":171836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b0"} 
[2026-09-05 18:42:33] local.INFO: Extracted packet for processing {"connection_id":171836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b0"} 
[2026-09-05 18:42:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885057536001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788613807000,"timestamp_ms":1788613807000,"timestamp_seconds":1788613807,"priority":1,"record_length":96,"hex_timestamp":"000001a071b0cb98"} 
[2026-09-05 18:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18: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-09-05 18: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-05 18:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18: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-09-05 18:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885057536001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885057536001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:42:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:42:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885057536001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":171836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:42:33] local.INFO: GPS data processed {"connection_id":171836,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:42:33] local.INFO: Acknowledgment sent {"connection_id":171836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:42:44] local.INFO: TCP Data received {"connection_id":173218,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:42:44] local.INFO: Processing buffer {"connection_id":173218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:42:44] local.INFO: IMEI packet received {"connection_id":173218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":173218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:42:49] local.INFO: TCP Data received {"connection_id":173218,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:42:49] local.INFO: Processing buffer {"connection_id":173218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:42:49] local.INFO: IMEI packet received {"connection_id":173218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":173218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:42:50] local.INFO: TCP Data received {"connection_id":173218,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071b02f58012d196740071fecc8003b01152e..."} 
[2026-09-05 18:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b02f58012d196740071fecc8003b01152e..."} 
[2026-09-05 18:42:50] local.INFO: Processing buffer {"connection_id":173218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b02f58012d196740071fecc8003b01152e..."} 
[2026-09-05 18:42:50] local.INFO: Packet analysis {"connection_id":173218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b0"} 
[2026-09-05 18:42:50] local.INFO: Extracted packet for processing {"connection_id":173218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b0"} 
[2026-09-05 18:42:50] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885118976001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788613767000,"timestamp_ms":1788613767000,"timestamp_seconds":1788613767,"priority":1,"record_length":96,"hex_timestamp":"000001a071b02f58"} 
[2026-09-05 18:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-05 18:42:50] 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-09-05 18:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885118976001,"66":12526,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885118976001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:42:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:42:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885118976001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":173218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:42:50] local.INFO: GPS data processed {"connection_id":173218,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:42:50] local.INFO: Acknowledgment sent {"connection_id":173218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:42:55] local.INFO: TCP Data received {"connection_id":173219,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:42:55] local.INFO: Processing buffer {"connection_id":173219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:42:55] local.INFO: IMEI packet received {"connection_id":173219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":173219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:42:55] local.INFO: TCP Data received {"connection_id":174542,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071b288e8012d7c080005bd49f8000900f927..."} 
[2026-09-05 18:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b288e8012d7c080005bd49f8000900f927..."} 
[2026-09-05 18:42:55] local.INFO: Processing buffer {"connection_id":174542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b288e8012d7c080005bd49f8000900f927..."} 
[2026-09-05 18:42:55] local.INFO: Packet analysis {"connection_id":174542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b2"} 
[2026-09-05 18:42:55] local.INFO: Extracted packet for processing {"connection_id":174542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b2"} 
[2026-09-05 18:42:55] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291320,"longitude_deg":76.3103232,"latitude_deg":9.629132,"altitude":9,"angle":249,"satellites":39,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd49f8","is_valid_coordinates":true} 
[2026-09-05 18:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885158400001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167327232,"note":"Value kept but may cause issues"} 
[2026-09-05 18:42:55] 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-09-05 18:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788613921000,"timestamp_ms":1788613921000,"timestamp_seconds":1788613921,"priority":1,"record_length":96,"hex_timestamp":"000001a071b288e8"} 
[2026-09-05 18:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 18:42:55] 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-09-05 18:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174542,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174542,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885158400001,"66":13493,"197":206,"85":12544,"24":0,"16":128712919956324352,"45":8937393485167327232},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885158400001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:42:55] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:42:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712919956324352,"km_value":128712919956324.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167327232,"description":"Unknown IO ID 45"} 
[2026-09-05 18:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885158400001,"power":13493,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167327232}} 
[2026-09-05 18:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":174542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770641,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:42:55] local.INFO: GPS data processed {"connection_id":174542,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:42:55] local.INFO: Acknowledgment sent {"connection_id":174542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:43:01] local.INFO: TCP Data received {"connection_id":173219,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:43:01] local.INFO: Processing buffer {"connection_id":173219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:43:01] local.INFO: IMEI packet received {"connection_id":173219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":173219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:43:02] local.INFO: TCP Data received {"connection_id":173219,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071b0cb98012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b0cb98012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:43:02] local.INFO: Processing buffer {"connection_id":173219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b0cb98012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:43:02] local.INFO: Packet analysis {"connection_id":173219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b0"} 
[2026-09-05 18:43:02] local.INFO: Extracted packet for processing {"connection_id":173219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b0"} 
[2026-09-05 18:43:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885057536001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788613807000,"timestamp_ms":1788613807000,"timestamp_seconds":1788613807,"priority":1,"record_length":96,"hex_timestamp":"000001a071b0cb98"} 
[2026-09-05 18:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:43:02] 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-09-05 18:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-05 18:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18: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-09-05 18:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885057536001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885057536001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:43:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:43:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885057536001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":173219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:43:02] local.INFO: GPS data processed {"connection_id":173219,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:43:02] local.INFO: Acknowledgment sent {"connection_id":173219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:43:21] local.INFO: TCP Data received {"connection_id":173218,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071b08160012d196740071fecc8003b01152c..."} 
[2026-09-05 18:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b08160012d196740071fecc8003b01152c..."} 
[2026-09-05 18:43:21] local.INFO: Processing buffer {"connection_id":173218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b08160012d196740071fecc8003b01152c..."} 
[2026-09-05 18:43:21] local.INFO: Packet analysis {"connection_id":173218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b0"} 
[2026-09-05 18:43:21] local.INFO: Extracted packet for processing {"connection_id":173218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b0"} 
[2026-09-05 18:43:21] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885124352001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788613788000,"timestamp_ms":1788613788000,"timestamp_seconds":1788613788,"priority":1,"record_length":96,"hex_timestamp":"000001a071b08160"} 
[2026-09-05 18:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:43: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-09-05 18:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-05 18:43:21] 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-09-05 18:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885124352001,"66":12504,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885124352001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:43:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:43:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885124352001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":173218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:43:21] local.INFO: GPS data processed {"connection_id":173218,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:43:21] local.INFO: Acknowledgment sent {"connection_id":173218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:43:24] local.INFO: TCP Data received {"connection_id":172096,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:43:24] local.INFO: Processing buffer {"connection_id":172096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:43:24] local.INFO: IMEI packet received {"connection_id":172096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":172096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:43:29] local.INFO: TCP Data received {"connection_id":172096,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:43:29] local.INFO: Processing buffer {"connection_id":172096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:43:29] local.INFO: IMEI packet received {"connection_id":172096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":172096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:43:30] local.INFO: TCP Data received {"connection_id":172096,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071b2daf0012d7c080005bd49f8000900f927..."} 
[2026-09-05 18:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b2daf0012d7c080005bd49f8000900f927..."} 
[2026-09-05 18:43:30] local.INFO: Processing buffer {"connection_id":172096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b2daf0012d7c080005bd49f8000900f927..."} 
[2026-09-05 18:43:30] local.INFO: Packet analysis {"connection_id":172096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b2"} 
[2026-09-05 18:43:30] local.INFO: Extracted packet for processing {"connection_id":172096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b2"} 
[2026-09-05 18:43:30] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291320,"longitude_deg":76.3103232,"latitude_deg":9.629132,"altitude":9,"angle":249,"satellites":39,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd49f8","is_valid_coordinates":true} 
[2026-09-05 18:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885163776001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167327232,"note":"Value kept but may cause issues"} 
[2026-09-05 18:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788613942000,"timestamp_ms":1788613942000,"timestamp_seconds":1788613942,"priority":1,"record_length":96,"hex_timestamp":"000001a071b2daf0"} 
[2026-09-05 18:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-05 18:43:30] 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-09-05 18:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885163776001,"66":13722,"197":206,"85":12544,"24":0,"16":128712919956324352,"45":8937393485167327232},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885163776001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:43:30] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:43:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712919956324352,"km_value":128712919956324.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167327232,"description":"Unknown IO ID 45"} 
[2026-09-05 18:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885163776001,"power":13722,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167327232}} 
[2026-09-05 18:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":172096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770644,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:43:30] local.INFO: GPS data processed {"connection_id":172096,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:43:30] local.INFO: Acknowledgment sent {"connection_id":172096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:43:33] local.INFO: TCP Data received {"connection_id":173219,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071b0cb98012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b0cb98012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:43:33] local.INFO: Processing buffer {"connection_id":173219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b0cb98012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:43:33] local.INFO: Packet analysis {"connection_id":173219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b0"} 
[2026-09-05 18:43:33] local.INFO: Extracted packet for processing {"connection_id":173219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b0"} 
[2026-09-05 18:43:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885057536001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788613807000,"timestamp_ms":1788613807000,"timestamp_seconds":1788613807,"priority":1,"record_length":96,"hex_timestamp":"000001a071b0cb98"} 
[2026-09-05 18:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:43: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-09-05 18:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-05 18:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:43:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885057536001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885057536001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:43:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:43:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885057536001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":173219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:43:33] local.INFO: GPS data processed {"connection_id":173219,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:43:33] local.INFO: Acknowledgment sent {"connection_id":173219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:43:34] local.INFO: TCP Data received {"connection_id":172096,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071b32cf8012d7c080005bd49f8000900f929..."} 
[2026-09-05 18:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b32cf8012d7c080005bd49f8000900f929..."} 
[2026-09-05 18:43:34] local.INFO: Processing buffer {"connection_id":172096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b32cf8012d7c080005bd49f8000900f929..."} 
[2026-09-05 18:43:34] local.INFO: Packet analysis {"connection_id":172096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b3"} 
[2026-09-05 18:43:34] local.INFO: Extracted packet for processing {"connection_id":172096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b3"} 
[2026-09-05 18:43:34] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291320,"longitude_deg":76.3103232,"latitude_deg":9.629132,"altitude":9,"angle":249,"satellites":41,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd49f8","is_valid_coordinates":true} 
[2026-09-05 18:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885169152001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167327232,"note":"Value kept but may cause issues"} 
[2026-09-05 18:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788613963000,"timestamp_ms":1788613963000,"timestamp_seconds":1788613963,"priority":1,"record_length":96,"hex_timestamp":"000001a071b32cf8"} 
[2026-09-05 18:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:43: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-09-05 18:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-05 18:43:34] 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-09-05 18:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885169152001,"66":13428,"197":206,"85":12544,"24":0,"16":128712919956324352,"45":8937393485167327232},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885169152001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:43:34] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:43:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712919956324352,"km_value":128712919956324.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167327232,"description":"Unknown IO ID 45"} 
[2026-09-05 18:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885169152001,"power":13428,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167327232}} 
[2026-09-05 18:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":172096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770646,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:43:34] local.INFO: GPS data processed {"connection_id":172096,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:43:34] local.INFO: Acknowledgment sent {"connection_id":172096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:43:44] local.INFO: TCP Data received {"connection_id":173220,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:43:44] local.INFO: Processing buffer {"connection_id":173220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:43:44] local.INFO: IMEI packet received {"connection_id":173220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":173220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:43:49] local.INFO: TCP Data received {"connection_id":173220,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:43:49] local.INFO: Processing buffer {"connection_id":173220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:43:49] local.INFO: IMEI packet received {"connection_id":173220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":173220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:43:50] local.INFO: TCP Data received {"connection_id":173220,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071b0d368012d196740071fecc8003b01152f..."} 
[2026-09-05 18:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b0d368012d196740071fecc8003b01152f..."} 
[2026-09-05 18:43:50] local.INFO: Processing buffer {"connection_id":173220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b0d368012d196740071fecc8003b01152f..."} 
[2026-09-05 18:43:50] local.INFO: Packet analysis {"connection_id":173220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b0"} 
[2026-09-05 18:43:50] local.INFO: Extracted packet for processing {"connection_id":173220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b0"} 
[2026-09-05 18:43:50] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885129728001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788613809000,"timestamp_ms":1788613809000,"timestamp_seconds":1788613809,"priority":1,"record_length":96,"hex_timestamp":"000001a071b0d368"} 
[2026-09-05 18:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 18:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885129728001,"66":12526,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885129728001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:43:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:43:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885129728001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":173220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:43:50] local.INFO: GPS data processed {"connection_id":173220,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:43:50] local.INFO: Acknowledgment sent {"connection_id":173220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:44:01] local.INFO: TCP Data received {"connection_id":174543,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:44:01] local.INFO: Processing buffer {"connection_id":174543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:44:01] local.INFO: IMEI packet received {"connection_id":174543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":174543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:44:06] local.INFO: TCP Data received {"connection_id":174543,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:44:06] local.INFO: Processing buffer {"connection_id":174543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:44:06] local.INFO: IMEI packet received {"connection_id":174543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":174543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:44:06] local.INFO: TCP Data received {"connection_id":174543,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071b0cb98012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b0cb98012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:44:06] local.INFO: Processing buffer {"connection_id":174543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b0cb98012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:44:06] local.INFO: Packet analysis {"connection_id":174543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b0"} 
[2026-09-05 18:44:06] local.INFO: Extracted packet for processing {"connection_id":174543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b0"} 
[2026-09-05 18:44:06] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885057536001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788613807000,"timestamp_ms":1788613807000,"timestamp_seconds":1788613807,"priority":1,"record_length":96,"hex_timestamp":"000001a071b0cb98"} 
[2026-09-05 18:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:44:06] 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-09-05 18:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-05 18:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885057536001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885057536001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:44:06] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:44:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885057536001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":174543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:44:06] local.INFO: GPS data processed {"connection_id":174543,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:44:06] local.INFO: Acknowledgment sent {"connection_id":174543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:44:11] local.INFO: TCP Data received {"connection_id":174543,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071b0cb98012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b0cb98012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:44:11] local.INFO: Processing buffer {"connection_id":174543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b0cb98012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:44:11] local.INFO: Packet analysis {"connection_id":174543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b0"} 
[2026-09-05 18:44:11] local.INFO: Extracted packet for processing {"connection_id":174543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b0"} 
[2026-09-05 18:44:11] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885057536001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788613807000,"timestamp_ms":1788613807000,"timestamp_seconds":1788613807,"priority":1,"record_length":96,"hex_timestamp":"000001a071b0cb98"} 
[2026-09-05 18:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:44: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-09-05 18:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-05 18:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885057536001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885057536001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:44:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:44:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885057536001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":174543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:44:11] local.INFO: GPS data processed {"connection_id":174543,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:44:11] local.INFO: Acknowledgment sent {"connection_id":174543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:44:19] local.INFO: TCP Data received {"connection_id":173221,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173221,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:44:19] local.INFO: Processing buffer {"connection_id":173221,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:44:19] local.INFO: IMEI packet received {"connection_id":173221,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":173221,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:44:21] local.INFO: TCP Data received {"connection_id":173220,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071b12570012d196740071fecc8003b01152f..."} 
[2026-09-05 18:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b12570012d196740071fecc8003b01152f..."} 
[2026-09-05 18:44:21] local.INFO: Processing buffer {"connection_id":173220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b12570012d196740071fecc8003b01152f..."} 
[2026-09-05 18:44:21] local.INFO: Packet analysis {"connection_id":173220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b1"} 
[2026-09-05 18:44:21] local.INFO: Extracted packet for processing {"connection_id":173220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b1"} 
[2026-09-05 18:44:21] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885135104001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788613830000,"timestamp_ms":1788613830000,"timestamp_seconds":1788613830,"priority":1,"record_length":96,"hex_timestamp":"000001a071b12570"} 
[2026-09-05 18:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:44: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-09-05 18:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-05 18:44:21] 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-09-05 18:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885135104001,"66":12504,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885135104001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:44:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:44:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885135104001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":173220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:44:21] local.INFO: GPS data processed {"connection_id":173220,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:44:21] local.INFO: Acknowledgment sent {"connection_id":173220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:44:24] local.INFO: TCP Data received {"connection_id":173221,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173221,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:44:24] local.INFO: Processing buffer {"connection_id":173221,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:44:24] local.INFO: IMEI packet received {"connection_id":173221,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":173221,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:44:25] local.INFO: TCP Data received {"connection_id":173221,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071b363a8012d7c080005bd49f8000900f929..."} 
[2026-09-05 18:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b363a8012d7c080005bd49f8000900f929..."} 
[2026-09-05 18:44:25] local.INFO: Processing buffer {"connection_id":173221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b363a8012d7c080005bd49f8000900f929..."} 
[2026-09-05 18:44:25] local.INFO: Packet analysis {"connection_id":173221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b3"} 
[2026-09-05 18:44:25] local.INFO: Extracted packet for processing {"connection_id":173221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b3"} 
[2026-09-05 18:44:25] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291320,"longitude_deg":76.3103232,"latitude_deg":9.629132,"altitude":9,"angle":249,"satellites":41,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd49f8","is_valid_coordinates":true} 
[2026-09-05 18:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885174528001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167327232,"note":"Value kept but may cause issues"} 
[2026-09-05 18:44:25] 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-09-05 18:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788613977000,"timestamp_ms":1788613977000,"timestamp_seconds":1788613977,"priority":1,"record_length":96,"hex_timestamp":"000001a071b363a8"} 
[2026-09-05 18:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:44:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-05 18:44:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18: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-09-05 18:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173221,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173221,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:44:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885174528001,"66":13656,"197":206,"85":12544,"24":0,"16":128712919956324352,"45":8937393485167327232},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885174528001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:44:25] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:44:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712919956324352,"km_value":128712919956324.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167327232,"description":"Unknown IO ID 45"} 
[2026-09-05 18:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885174528001,"power":13656,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167327232}} 
[2026-09-05 18:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":173221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770651,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:44:25] local.INFO: GPS data processed {"connection_id":173221,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:44:25] local.INFO: Acknowledgment sent {"connection_id":173221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:44:45] local.INFO: TCP Data received {"connection_id":174544,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:44:45] local.INFO: Processing buffer {"connection_id":174544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:44:45] local.INFO: IMEI packet received {"connection_id":174544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":174544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:44:49] local.INFO: TCP Data received {"connection_id":174544,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:44:49] local.INFO: Processing buffer {"connection_id":174544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:44:49] local.INFO: IMEI packet received {"connection_id":174544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":174544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:44:50] local.INFO: TCP Data received {"connection_id":174544,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071b17778012d196740071fecc8003b01152f..."} 
[2026-09-05 18:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b17778012d196740071fecc8003b01152f..."} 
[2026-09-05 18:44:50] local.INFO: Processing buffer {"connection_id":174544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b17778012d196740071fecc8003b01152f..."} 
[2026-09-05 18:44:50] local.INFO: Packet analysis {"connection_id":174544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b1"} 
[2026-09-05 18:44:50] local.INFO: Extracted packet for processing {"connection_id":174544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b1"} 
[2026-09-05 18:44:50] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885140480001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788613851000,"timestamp_ms":1788613851000,"timestamp_seconds":1788613851,"priority":1,"record_length":96,"hex_timestamp":"000001a071b17778"} 
[2026-09-05 18:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 18:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:44:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885140480001,"66":12504,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885140480001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:44:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:44:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885140480001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":174544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:44:50] local.INFO: GPS data processed {"connection_id":174544,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:44:50] local.INFO: Acknowledgment sent {"connection_id":174544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:44:56] local.INFO: TCP Data received {"connection_id":172097,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:44:56] local.INFO: Processing buffer {"connection_id":172097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:44:56] local.INFO: IMEI packet received {"connection_id":172097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":172097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:44:56] local.INFO: TCP Data received {"connection_id":173221,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071b363a8012d7c080005bd49f8000900f929..."} 
[2026-09-05 18:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b363a8012d7c080005bd49f8000900f929..."} 
[2026-09-05 18:44:56] local.INFO: Processing buffer {"connection_id":173221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b363a8012d7c080005bd49f8000900f929..."} 
[2026-09-05 18:44:56] local.INFO: Packet analysis {"connection_id":173221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b3"} 
[2026-09-05 18:44:56] local.INFO: Extracted packet for processing {"connection_id":173221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b3"} 
[2026-09-05 18:44:56] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291320,"longitude_deg":76.3103232,"latitude_deg":9.629132,"altitude":9,"angle":249,"satellites":41,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd49f8","is_valid_coordinates":true} 
[2026-09-05 18:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885178112001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167327232,"note":"Value kept but may cause issues"} 
[2026-09-05 18:44:56] 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-09-05 18:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788613977000,"timestamp_ms":1788613977000,"timestamp_seconds":1788613977,"priority":1,"record_length":96,"hex_timestamp":"000001a071b363a8"} 
[2026-09-05 18:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 18:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 18:44:56] 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-09-05 18:44:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173221,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173221,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885178112001,"66":13656,"197":206,"85":12544,"24":0,"16":128712919956324352,"45":8937393485167327232},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885178112001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:44:56] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:44:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712919956324352,"km_value":128712919956324.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167327232,"description":"Unknown IO ID 45"} 
[2026-09-05 18:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885178112001,"power":13656,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167327232}} 
[2026-09-05 18:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":173221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770653,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:44:56] local.INFO: GPS data processed {"connection_id":173221,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:44:56] local.INFO: Acknowledgment sent {"connection_id":173221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:45:01] local.INFO: TCP Data received {"connection_id":172097,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:45:01] local.INFO: Processing buffer {"connection_id":172097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:45:01] local.INFO: IMEI packet received {"connection_id":172097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":172097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:45:01] local.INFO: TCP Data received {"connection_id":172097,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071b0cb98012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b0cb98012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:45:01] local.INFO: Processing buffer {"connection_id":172097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b0cb98012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:45:01] local.INFO: Packet analysis {"connection_id":172097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b0"} 
[2026-09-05 18:45:01] local.INFO: Extracted packet for processing {"connection_id":172097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b0"} 
[2026-09-05 18:45:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885057536001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788613807000,"timestamp_ms":1788613807000,"timestamp_seconds":1788613807,"priority":1,"record_length":96,"hex_timestamp":"000001a071b0cb98"} 
[2026-09-05 18:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:45:01] 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-09-05 18:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-05 18:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885057536001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885057536001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:45:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:45:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885057536001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":172097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:45:01] local.INFO: GPS data processed {"connection_id":172097,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:45:01] local.INFO: Acknowledgment sent {"connection_id":172097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:45:19] local.INFO: TCP Data received {"connection_id":173222,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:45:19] local.INFO: Processing buffer {"connection_id":173222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:45:19] local.INFO: IMEI packet received {"connection_id":173222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":173222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:45:21] local.INFO: TCP Data received {"connection_id":174544,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071b1c980012d196740071fecc8003b01152e..."} 
[2026-09-05 18:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b1c980012d196740071fecc8003b01152e..."} 
[2026-09-05 18:45:21] local.INFO: Processing buffer {"connection_id":174544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b1c980012d196740071fecc8003b01152e..."} 
[2026-09-05 18:45:21] local.INFO: Packet analysis {"connection_id":174544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b1"} 
[2026-09-05 18:45:21] local.INFO: Extracted packet for processing {"connection_id":174544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b1"} 
[2026-09-05 18:45:21] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885145856001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788613872000,"timestamp_ms":1788613872000,"timestamp_seconds":1788613872,"priority":1,"record_length":96,"hex_timestamp":"000001a071b1c980"} 
[2026-09-05 18:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:45: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-09-05 18:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 18:45:21] 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-09-05 18:45:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885145856001,"66":12504,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885145856001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:45:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:45:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885145856001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":174544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:45:21] local.INFO: GPS data processed {"connection_id":174544,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:45:21] local.INFO: Acknowledgment sent {"connection_id":174544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:45:24] local.INFO: TCP Data received {"connection_id":173222,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:45:24] local.INFO: Processing buffer {"connection_id":173222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:45:24] local.INFO: IMEI packet received {"connection_id":173222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":173222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:45:25] local.INFO: TCP Data received {"connection_id":173222,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071b363a8012d7c080005bd49f8000900f929..."} 
[2026-09-05 18:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b363a8012d7c080005bd49f8000900f929..."} 
[2026-09-05 18:45:25] local.INFO: Processing buffer {"connection_id":173222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b363a8012d7c080005bd49f8000900f929..."} 
[2026-09-05 18:45:25] local.INFO: Packet analysis {"connection_id":173222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b3"} 
[2026-09-05 18:45:25] local.INFO: Extracted packet for processing {"connection_id":173222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b3"} 
[2026-09-05 18:45:25] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291320,"longitude_deg":76.3103232,"latitude_deg":9.629132,"altitude":9,"angle":249,"satellites":41,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd49f8","is_valid_coordinates":true} 
[2026-09-05 18:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885178112001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167327232,"note":"Value kept but may cause issues"} 
[2026-09-05 18:45:25] 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-09-05 18:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788613977000,"timestamp_ms":1788613977000,"timestamp_seconds":1788613977,"priority":1,"record_length":96,"hex_timestamp":"000001a071b363a8"} 
[2026-09-05 18:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 18:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 18:45:25] 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-09-05 18:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885178112001,"66":13656,"197":206,"85":12544,"24":0,"16":128712919956324352,"45":8937393485167327232},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885178112001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:45:25] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:45:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712919956324352,"km_value":128712919956324.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167327232,"description":"Unknown IO ID 45"} 
[2026-09-05 18:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885178112001,"power":13656,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167327232}} 
[2026-09-05 18:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":173222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770656,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:45:25] local.INFO: GPS data processed {"connection_id":173222,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:45:25] local.INFO: Acknowledgment sent {"connection_id":173222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:45:33] local.INFO: TCP Data received {"connection_id":172097,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071b0cb98012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b0cb98012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:45:33] local.INFO: Processing buffer {"connection_id":172097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b0cb98012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:45:33] local.INFO: Packet analysis {"connection_id":172097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b0"} 
[2026-09-05 18:45:33] local.INFO: Extracted packet for processing {"connection_id":172097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b0"} 
[2026-09-05 18:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885057536001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788613807000,"timestamp_ms":1788613807000,"timestamp_seconds":1788613807,"priority":1,"record_length":96,"hex_timestamp":"000001a071b0cb98"} 
[2026-09-05 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-09-05 18:45: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-09-05 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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-05 18:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 18:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885057536001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885057536001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:45:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:45:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885057536001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":172097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:45:33] local.INFO: GPS data processed {"connection_id":172097,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:45:33] local.INFO: Acknowledgment sent {"connection_id":172097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:45:45] local.INFO: TCP Data received {"connection_id":173223,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:45:45] local.INFO: Processing buffer {"connection_id":173223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:45:45] local.INFO: IMEI packet received {"connection_id":173223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":173223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:45:49] local.INFO: TCP Data received {"connection_id":173223,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:45:49] local.INFO: Processing buffer {"connection_id":173223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:45:49] local.INFO: IMEI packet received {"connection_id":173223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":173223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:45:50] local.INFO: TCP Data received {"connection_id":173223,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071b21b88012d196740071fecc8003b01152d..."} 
[2026-09-05 18:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b21b88012d196740071fecc8003b01152d..."} 
[2026-09-05 18:45:50] local.INFO: Processing buffer {"connection_id":173223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b21b88012d196740071fecc8003b01152d..."} 
[2026-09-05 18:45:50] local.INFO: Packet analysis {"connection_id":173223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b2"} 
[2026-09-05 18:45:50] local.INFO: Extracted packet for processing {"connection_id":173223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b2"} 
[2026-09-05 18:45:50] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885151232001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:45:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788613893000,"timestamp_ms":1788613893000,"timestamp_seconds":1788613893,"priority":1,"record_length":96,"hex_timestamp":"000001a071b21b88"} 
[2026-09-05 18:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 18:45:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:45:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885151232001,"66":12504,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885151232001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:45:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:45:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:45:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885151232001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":173223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:45:50] local.INFO: GPS data processed {"connection_id":173223,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:45:50] local.INFO: Acknowledgment sent {"connection_id":173223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:45:56] local.INFO: TCP Data received {"connection_id":173222,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071b363a8012d7c080005bd49f8000900f929..."} 
[2026-09-05 18:45:56] local.INFO: TCP Data received {"connection_id":172098,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b363a8012d7c080005bd49f8000900f929..."} 
[2026-09-05 18:45:56] local.INFO: Processing buffer {"connection_id":173222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b363a8012d7c080005bd49f8000900f929..."} 
[2026-09-05 18:45:56] local.INFO: Packet analysis {"connection_id":173222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b3"} 
[2026-09-05 18:45:56] local.INFO: Extracted packet for processing {"connection_id":173222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b3"} 
[2026-09-05 18:45:56] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291320,"longitude_deg":76.3103232,"latitude_deg":9.629132,"altitude":9,"angle":249,"satellites":41,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd49f8","is_valid_coordinates":true} 
[2026-09-05 18:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885178112001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167327232,"note":"Value kept but may cause issues"} 
[2026-09-05 18:45:56] 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-09-05 18:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788613977000,"timestamp_ms":1788613977000,"timestamp_seconds":1788613977,"priority":1,"record_length":96,"hex_timestamp":"000001a071b363a8"} 
[2026-09-05 18:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 18:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 18:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:45:56] 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-09-05 18:45:56] local.INFO: Processing buffer {"connection_id":172098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:45:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:45:56] local.INFO: IMEI packet received {"connection_id":172098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":172098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885178112001,"66":13656,"197":206,"85":12544,"24":0,"16":128712919956324352,"45":8937393485167327232},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885178112001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:45:56] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:45:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712919956324352,"km_value":128712919956324.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167327232,"description":"Unknown IO ID 45"} 
[2026-09-05 18:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885178112001,"power":13656,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167327232}} 
[2026-09-05 18:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":173222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770659,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:45:56] local.INFO: GPS data processed {"connection_id":173222,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:45:56] local.INFO: Acknowledgment sent {"connection_id":173222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:46:01] local.INFO: TCP Data received {"connection_id":172098,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:46:01] local.INFO: Processing buffer {"connection_id":172098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:46:01] local.INFO: IMEI packet received {"connection_id":172098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":172098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:46:01] local.INFO: TCP Data received {"connection_id":172098,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071b56360012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b56360012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:46:01] local.INFO: Processing buffer {"connection_id":172098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b56360012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:46:01] local.INFO: Packet analysis {"connection_id":172098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b5"} 
[2026-09-05 18:46:01] local.INFO: Extracted packet for processing {"connection_id":172098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b5"} 
[2026-09-05 18:46:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885134592001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788614108000,"timestamp_ms":1788614108000,"timestamp_seconds":1788614108,"priority":1,"record_length":96,"hex_timestamp":"000001a071b56360"} 
[2026-09-05 18:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:46:01] 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-09-05 18:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885134592001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885134592001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:46:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:46:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885134592001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":172098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:46:01] local.INFO: GPS data processed {"connection_id":172098,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:46:01] local.INFO: Acknowledgment sent {"connection_id":172098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:46:18] local.INFO: TCP Data received {"connection_id":174545,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174545,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:46:18] local.INFO: Processing buffer {"connection_id":174545,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:46:18] local.INFO: IMEI packet received {"connection_id":174545,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":174545,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:46:21] local.INFO: TCP Data received {"connection_id":173223,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071b26d90012d196740071fecc8003b01152e..."} 
[2026-09-05 18:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b26d90012d196740071fecc8003b01152e..."} 
[2026-09-05 18:46:21] local.INFO: Processing buffer {"connection_id":173223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b26d90012d196740071fecc8003b01152e..."} 
[2026-09-05 18:46:21] local.INFO: Packet analysis {"connection_id":173223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b2"} 
[2026-09-05 18:46:21] local.INFO: Extracted packet for processing {"connection_id":173223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b2"} 
[2026-09-05 18:46:21] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885156608001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788613914000,"timestamp_ms":1788613914000,"timestamp_seconds":1788613914,"priority":1,"record_length":96,"hex_timestamp":"000001a071b26d90"} 
[2026-09-05 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-09-05 18:46: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-09-05 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 18:46:21] 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-09-05 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-09-05 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-09-05 18:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885156608001,"66":12461,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885156608001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:46:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:46:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885156608001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":173223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:46:21] local.INFO: GPS data processed {"connection_id":173223,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:46:21] local.INFO: Acknowledgment sent {"connection_id":173223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:46:24] local.INFO: TCP Data received {"connection_id":174545,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174545,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:46:24] local.INFO: Processing buffer {"connection_id":174545,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:46:24] local.INFO: IMEI packet received {"connection_id":174545,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":174545,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:46:25] local.INFO: TCP Data received {"connection_id":174545,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071b363a8012d7c080005bd49f8000900f929..."} 
[2026-09-05 18:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b363a8012d7c080005bd49f8000900f929..."} 
[2026-09-05 18:46:25] local.INFO: Processing buffer {"connection_id":174545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b363a8012d7c080005bd49f8000900f929..."} 
[2026-09-05 18:46:25] local.INFO: Packet analysis {"connection_id":174545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b3"} 
[2026-09-05 18:46:25] local.INFO: Extracted packet for processing {"connection_id":174545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b3"} 
[2026-09-05 18:46:25] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291320,"longitude_deg":76.3103232,"latitude_deg":9.629132,"altitude":9,"angle":249,"satellites":41,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd49f8","is_valid_coordinates":true} 
[2026-09-05 18:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885178112001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167327232,"note":"Value kept but may cause issues"} 
[2026-09-05 18:46:25] 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-09-05 18:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788613977000,"timestamp_ms":1788613977000,"timestamp_seconds":1788613977,"priority":1,"record_length":96,"hex_timestamp":"000001a071b363a8"} 
[2026-09-05 18:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 18:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 18:46:25] 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-09-05 18:46:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885178112001,"66":13656,"197":206,"85":12544,"24":0,"16":128712919956324352,"45":8937393485167327232},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885178112001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:46:25] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:46:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712919956324352,"km_value":128712919956324.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167327232,"description":"Unknown IO ID 45"} 
[2026-09-05 18:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885178112001,"power":13656,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167327232}} 
[2026-09-05 18:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":174545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770662,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:46:25] local.INFO: GPS data processed {"connection_id":174545,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:46:25] local.INFO: Acknowledgment sent {"connection_id":174545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:46:33] local.INFO: TCP Data received {"connection_id":172098,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071b56360012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b56360012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:46:33] local.INFO: Processing buffer {"connection_id":172098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b56360012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:46:33] local.INFO: Packet analysis {"connection_id":172098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b5"} 
[2026-09-05 18:46:33] local.INFO: Extracted packet for processing {"connection_id":172098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b5"} 
[2026-09-05 18:46:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885134592001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788614108000,"timestamp_ms":1788614108000,"timestamp_seconds":1788614108,"priority":1,"record_length":96,"hex_timestamp":"000001a071b56360"} 
[2026-09-05 18:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:46: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-09-05 18:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18: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-09-05 18:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885134592001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885134592001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:46:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:46:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885134592001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":172098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:46:33] local.INFO: GPS data processed {"connection_id":172098,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:46:33] local.INFO: Acknowledgment sent {"connection_id":172098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:46:44] local.INFO: TCP Data received {"connection_id":173224,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:46:44] local.INFO: Processing buffer {"connection_id":173224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:46:44] local.INFO: IMEI packet received {"connection_id":173224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":173224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:46:44] local.INFO: TCP Data received {"connection_id":173224,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:46:44] local.INFO: Processing buffer {"connection_id":173224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:46:44] local.INFO: IMEI packet received {"connection_id":173224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":173224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:46:49] local.INFO: TCP Data received {"connection_id":173224,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:46:49] local.INFO: Processing buffer {"connection_id":173224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:46:49] local.INFO: IMEI packet received {"connection_id":173224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":173224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:46:50] local.INFO: TCP Data received {"connection_id":173224,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071b2bf98012d196740071fecc8003b01152d..."} 
[2026-09-05 18:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b2bf98012d196740071fecc8003b01152d..."} 
[2026-09-05 18:46:50] local.INFO: Processing buffer {"connection_id":173224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b2bf98012d196740071fecc8003b01152d..."} 
[2026-09-05 18:46:50] local.INFO: Packet analysis {"connection_id":173224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b2"} 
[2026-09-05 18:46:50] local.INFO: Extracted packet for processing {"connection_id":173224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b2"} 
[2026-09-05 18:46:50] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885161984001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788613935000,"timestamp_ms":1788613935000,"timestamp_seconds":1788613935,"priority":1,"record_length":96,"hex_timestamp":"000001a071b2bf98"} 
[2026-09-05 18:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 18:46:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:46:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885161984001,"66":12461,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885161984001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:46:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:46:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885161984001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":173224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:46:50] local.INFO: GPS data processed {"connection_id":173224,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:46:50] local.INFO: Acknowledgment sent {"connection_id":173224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:46:55] local.INFO: TCP Data received {"connection_id":173225,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:46:55] local.INFO: Processing buffer {"connection_id":173225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:46:55] local.INFO: IMEI packet received {"connection_id":173225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":173225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:46:56] local.INFO: TCP Data received {"connection_id":174545,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071b363a8012d7c080005bd49f8000900f929..."} 
[2026-09-05 18:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b363a8012d7c080005bd49f8000900f929..."} 
[2026-09-05 18:46:56] local.INFO: Processing buffer {"connection_id":174545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b363a8012d7c080005bd49f8000900f929..."} 
[2026-09-05 18:46:56] local.INFO: Packet analysis {"connection_id":174545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b3"} 
[2026-09-05 18:46:56] local.INFO: Extracted packet for processing {"connection_id":174545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b3"} 
[2026-09-05 18:46:56] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291320,"longitude_deg":76.3103232,"latitude_deg":9.629132,"altitude":9,"angle":249,"satellites":41,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd49f8","is_valid_coordinates":true} 
[2026-09-05 18:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885178112001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167327232,"note":"Value kept but may cause issues"} 
[2026-09-05 18:46:56] 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-09-05 18:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788613977000,"timestamp_ms":1788613977000,"timestamp_seconds":1788613977,"priority":1,"record_length":96,"hex_timestamp":"000001a071b363a8"} 
[2026-09-05 18:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 18:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 18:46:56] 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-09-05 18:46: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-09-05 18:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885178112001,"66":13656,"197":206,"85":12544,"24":0,"16":128712919956324352,"45":8937393485167327232},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885178112001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:46:56] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:46:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712919956324352,"km_value":128712919956324.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167327232,"description":"Unknown IO ID 45"} 
[2026-09-05 18:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885178112001,"power":13656,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167327232}} 
[2026-09-05 18:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":174545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770665,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:46:56] local.INFO: GPS data processed {"connection_id":174545,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:46:56] local.INFO: Acknowledgment sent {"connection_id":174545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:47:01] local.INFO: TCP Data received {"connection_id":173225,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:47:01] local.INFO: Processing buffer {"connection_id":173225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:47:01] local.INFO: IMEI packet received {"connection_id":173225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":173225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:47:02] local.INFO: TCP Data received {"connection_id":173225,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071b56360012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b56360012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:47:02] local.INFO: Processing buffer {"connection_id":173225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b56360012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:47:02] local.INFO: Packet analysis {"connection_id":173225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b5"} 
[2026-09-05 18:47:02] local.INFO: Extracted packet for processing {"connection_id":173225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b5"} 
[2026-09-05 18:47:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885134592001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788614108000,"timestamp_ms":1788614108000,"timestamp_seconds":1788614108,"priority":1,"record_length":96,"hex_timestamp":"000001a071b56360"} 
[2026-09-05 18:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:47:02] 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-09-05 18: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18: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-09-05 18:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885134592001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885134592001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:47:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:47:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885134592001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":173225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:47:02] local.INFO: GPS data processed {"connection_id":173225,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:47:02] local.INFO: Acknowledgment sent {"connection_id":173225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:47:18] local.INFO: TCP Data received {"connection_id":174546,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174546,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:47:18] local.INFO: Processing buffer {"connection_id":174546,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:47:18] local.INFO: IMEI packet received {"connection_id":174546,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":174546,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:47:21] local.INFO: TCP Data received {"connection_id":173224,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071b311a0012d196740071fecc8003b01152c..."} 
[2026-09-05 18:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b311a0012d196740071fecc8003b01152c..."} 
[2026-09-05 18:47:21] local.INFO: Processing buffer {"connection_id":173224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b311a0012d196740071fecc8003b01152c..."} 
[2026-09-05 18:47:21] local.INFO: Packet analysis {"connection_id":173224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b3"} 
[2026-09-05 18:47:21] local.INFO: Extracted packet for processing {"connection_id":173224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b3"} 
[2026-09-05 18:47:21] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885167360001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788613956000,"timestamp_ms":1788613956000,"timestamp_seconds":1788613956,"priority":1,"record_length":96,"hex_timestamp":"000001a071b311a0"} 
[2026-09-05 18:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:47: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-09-05 18:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 18:47: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-09-05 18:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885167360001,"66":12461,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885167360001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:47:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:47:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885167360001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":173224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:47:21] local.INFO: GPS data processed {"connection_id":173224,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:47:21] local.INFO: Acknowledgment sent {"connection_id":173224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:47:24] local.INFO: TCP Data received {"connection_id":174546,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174546,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:47:24] local.INFO: Processing buffer {"connection_id":174546,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:47:24] local.INFO: IMEI packet received {"connection_id":174546,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":174546,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:47:25] local.INFO: TCP Data received {"connection_id":174546,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071b363a8012d7c080005bd49f8000900f929..."} 
[2026-09-05 18:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b363a8012d7c080005bd49f8000900f929..."} 
[2026-09-05 18:47:25] local.INFO: Processing buffer {"connection_id":174546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b363a8012d7c080005bd49f8000900f929..."} 
[2026-09-05 18:47:25] local.INFO: Packet analysis {"connection_id":174546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b3"} 
[2026-09-05 18:47:25] local.INFO: Extracted packet for processing {"connection_id":174546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b3"} 
[2026-09-05 18:47:25] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291320,"longitude_deg":76.3103232,"latitude_deg":9.629132,"altitude":9,"angle":249,"satellites":41,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd49f8","is_valid_coordinates":true} 
[2026-09-05 18:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885178112001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167327232,"note":"Value kept but may cause issues"} 
[2026-09-05 18:47:25] 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-09-05 18:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788613977000,"timestamp_ms":1788613977000,"timestamp_seconds":1788613977,"priority":1,"record_length":96,"hex_timestamp":"000001a071b363a8"} 
[2026-09-05 18:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 18:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 18:47:25] 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-09-05 18:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885178112001,"66":13656,"197":206,"85":12544,"24":0,"16":128712919956324352,"45":8937393485167327232},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885178112001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:47:25] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:47:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712919956324352,"km_value":128712919956324.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167327232,"description":"Unknown IO ID 45"} 
[2026-09-05 18:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885178112001,"power":13656,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167327232}} 
[2026-09-05 18:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":174546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770668,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:47:25] local.INFO: GPS data processed {"connection_id":174546,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:47:25] local.INFO: Acknowledgment sent {"connection_id":174546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:47:33] local.INFO: TCP Data received {"connection_id":173225,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071b56360012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b56360012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:47:33] local.INFO: Processing buffer {"connection_id":173225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b56360012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:47:33] local.INFO: Packet analysis {"connection_id":173225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b5"} 
[2026-09-05 18:47:33] local.INFO: Extracted packet for processing {"connection_id":173225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b5"} 
[2026-09-05 18:47:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885134592001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788614108000,"timestamp_ms":1788614108000,"timestamp_seconds":1788614108,"priority":1,"record_length":96,"hex_timestamp":"000001a071b56360"} 
[2026-09-05 18:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:47: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-09-05 18: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18: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-09-05 18:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885134592001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885134592001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:47:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:47:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885134592001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":173225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:47:33] local.INFO: GPS data processed {"connection_id":173225,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:47:33] local.INFO: Acknowledgment sent {"connection_id":173225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:47:47] local.INFO: TCP Data received {"connection_id":171837,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:47:47] local.INFO: Processing buffer {"connection_id":171837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:47:47] local.INFO: IMEI packet received {"connection_id":171837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":171837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:47:49] local.INFO: TCP Data received {"connection_id":171837,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:47:49] local.INFO: Processing buffer {"connection_id":171837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:47:49] local.INFO: IMEI packet received {"connection_id":171837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":171837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:47:54] local.INFO: TCP Data received {"connection_id":171837,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:47:54] local.INFO: Processing buffer {"connection_id":171837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:47:54] local.INFO: IMEI packet received {"connection_id":171837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":171837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:47:55] local.INFO: TCP Data received {"connection_id":171837,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071b697f8012d196740071fecc8003b01152d..."} 
[2026-09-05 18:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b697f8012d196740071fecc8003b01152d..."} 
[2026-09-05 18:47:55] local.INFO: Processing buffer {"connection_id":171837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b697f8012d196740071fecc8003b01152d..."} 
[2026-09-05 18:47:55] local.INFO: Packet analysis {"connection_id":171837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b6"} 
[2026-09-05 18:47:55] local.INFO: Extracted packet for processing {"connection_id":171837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b6"} 
[2026-09-05 18:47:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885226496001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788614187000,"timestamp_ms":1788614187000,"timestamp_seconds":1788614187,"priority":1,"record_length":96,"hex_timestamp":"000001a071b697f8"} 
[2026-09-05 18:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-05 18:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885226496001,"66":12461,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885226496001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:47:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:47:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885226496001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:47:55] local.INFO: TCP Data received {"connection_id":172099,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:47:55] local.INFO: Processing buffer {"connection_id":172099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:47:55] local.INFO: IMEI packet received {"connection_id":172099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":172099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":171837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:47:55] local.INFO: GPS data processed {"connection_id":171837,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:47:55] local.INFO: Acknowledgment sent {"connection_id":171837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:47:58] local.INFO: TCP Data received {"connection_id":174546,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071b363a8012d7c080005bd49f8000900f929..."} 
[2026-09-05 18:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b363a8012d7c080005bd49f8000900f929..."} 
[2026-09-05 18:47:58] local.INFO: Processing buffer {"connection_id":174546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b363a8012d7c080005bd49f8000900f929..."} 
[2026-09-05 18:47:58] local.INFO: Packet analysis {"connection_id":174546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b3"} 
[2026-09-05 18:47:58] local.INFO: Extracted packet for processing {"connection_id":174546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b3"} 
[2026-09-05 18:47:58] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291320,"longitude_deg":76.3103232,"latitude_deg":9.629132,"altitude":9,"angle":249,"satellites":41,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd49f8","is_valid_coordinates":true} 
[2026-09-05 18:47:58] 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-09-05 18:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885178112001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167327232,"note":"Value kept but may cause issues"} 
[2026-09-05 18:47:58] 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-09-05 18:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788613977000,"timestamp_ms":1788613977000,"timestamp_seconds":1788613977,"priority":1,"record_length":96,"hex_timestamp":"000001a071b363a8"} 
[2026-09-05 18:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 18: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 18:47:58] 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-09-05 18: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-09-05 18:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885178112001,"66":13656,"197":206,"85":12544,"24":0,"16":128712919956324352,"45":8937393485167327232},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885178112001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:47:58] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:47:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712919956324352,"km_value":128712919956324.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167327232,"description":"Unknown IO ID 45"} 
[2026-09-05 18:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885178112001,"power":13656,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167327232}} 
[2026-09-05 18:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":174546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770671,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:47:58] local.INFO: GPS data processed {"connection_id":174546,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:47:58] local.INFO: Acknowledgment sent {"connection_id":174546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:47:59] local.INFO: TCP Data received {"connection_id":171837,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071b6ea00012d196740071fecc8003b01152e..."} 
[2026-09-05 18:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b6ea00012d196740071fecc8003b01152e..."} 
[2026-09-05 18:47:59] local.INFO: Processing buffer {"connection_id":171837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b6ea00012d196740071fecc8003b01152e..."} 
[2026-09-05 18:47:59] local.INFO: Packet analysis {"connection_id":171837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b6"} 
[2026-09-05 18:47:59] local.INFO: Extracted packet for processing {"connection_id":171837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b6"} 
[2026-09-05 18:47:59] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885231872001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788614208000,"timestamp_ms":1788614208000,"timestamp_seconds":1788614208,"priority":1,"record_length":96,"hex_timestamp":"000001a071b6ea00"} 
[2026-09-05 18:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 18:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885231872001,"66":12428,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885231872001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:47:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:47:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885231872001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":171837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:48:00] local.INFO: GPS data processed {"connection_id":171837,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:48:00] local.INFO: Acknowledgment sent {"connection_id":171837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:48:01] local.INFO: TCP Data received {"connection_id":172099,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:48:01] local.INFO: Processing buffer {"connection_id":172099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:48:01] local.INFO: IMEI packet received {"connection_id":172099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":172099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:48:01] local.INFO: TCP Data received {"connection_id":172099,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071b56360012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b56360012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:48:01] local.INFO: Processing buffer {"connection_id":172099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b56360012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:48:01] local.INFO: Packet analysis {"connection_id":172099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b5"} 
[2026-09-05 18:48:01] local.INFO: Extracted packet for processing {"connection_id":172099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b5"} 
[2026-09-05 18:48:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885134592001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:48:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788614108000,"timestamp_ms":1788614108000,"timestamp_seconds":1788614108,"priority":1,"record_length":96,"hex_timestamp":"000001a071b56360"} 
[2026-09-05 18:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:48:01] 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-09-05 18: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:48:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885134592001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885134592001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:48:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:48:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885134592001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":172099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:48:01] local.INFO: GPS data processed {"connection_id":172099,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:48:01] local.INFO: Acknowledgment sent {"connection_id":172099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:48:24] local.INFO: TCP Data received {"connection_id":173226,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173226,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:48:24] local.INFO: Processing buffer {"connection_id":173226,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:48:24] local.INFO: IMEI packet received {"connection_id":173226,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":173226,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:48:29] local.INFO: TCP Data received {"connection_id":173226,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173226,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:48:29] local.INFO: Processing buffer {"connection_id":173226,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:48:29] local.INFO: IMEI packet received {"connection_id":173226,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":173226,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:48:30] local.INFO: TCP Data received {"connection_id":173226,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071b80b10012d7c088005bd49e0000900f92b..."} 
[2026-09-05 18:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b80b10012d7c088005bd49e0000900f92b..."} 
[2026-09-05 18:48:30] local.INFO: Processing buffer {"connection_id":173226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b80b10012d7c088005bd49e0000900f92b..."} 
[2026-09-05 18:48:30] local.INFO: Packet analysis {"connection_id":173226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b8"} 
[2026-09-05 18:48:30] local.INFO: Extracted packet for processing {"connection_id":173226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b8"} 
[2026-09-05 18:48:30] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291296,"longitude_deg":76.310336,"latitude_deg":9.6291296,"altitude":9,"angle":249,"satellites":43,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd49e0","is_valid_coordinates":true} 
[2026-09-05 18:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885178112001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167327232,"note":"Value kept but may cause issues"} 
[2026-09-05 18:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788614282000,"timestamp_ms":1788614282000,"timestamp_seconds":1788614282,"priority":1,"record_length":96,"hex_timestamp":"000001a071b80b10"} 
[2026-09-05 18:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 18:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 18:48:30] 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-09-05 18:48:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":173226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":173226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":173226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885178112001,"66":12145,"197":206,"85":12544,"24":0,"16":128712919956324352,"45":8937393485167327232},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885178112001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:48:30] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:48:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712919956324352,"km_value":128712919956324.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167327232,"description":"Unknown IO ID 45"} 
[2026-09-05 18:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885178112001,"power":12145,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167327232}} 
[2026-09-05 18:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":173226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770674,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:48:30] local.INFO: GPS data processed {"connection_id":173226,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:48:30] local.INFO: Acknowledgment sent {"connection_id":173226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:48:33] local.INFO: TCP Data received {"connection_id":172099,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071b56360012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b56360012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:48:33] local.INFO: Processing buffer {"connection_id":172099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b56360012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:48:33] local.INFO: Packet analysis {"connection_id":172099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b5"} 
[2026-09-05 18:48:33] local.INFO: Extracted packet for processing {"connection_id":172099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b5"} 
[2026-09-05 18:48:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885134592001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788614108000,"timestamp_ms":1788614108000,"timestamp_seconds":1788614108,"priority":1,"record_length":96,"hex_timestamp":"000001a071b56360"} 
[2026-09-05 18:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:48: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-09-05 18:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18: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-09-05 18:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885134592001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885134592001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:48:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:48:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885134592001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":172099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:48:33] local.INFO: GPS data processed {"connection_id":172099,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:48:33] local.INFO: Acknowledgment sent {"connection_id":172099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:48:34] local.INFO: TCP Data received {"connection_id":173226,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071b80b10012d7c088005bd49e0000900f92b..."} 
[2026-09-05 18:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b80b10012d7c088005bd49e0000900f92b..."} 
[2026-09-05 18:48:34] local.INFO: Processing buffer {"connection_id":173226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b80b10012d7c088005bd49e0000900f92b..."} 
[2026-09-05 18:48:34] local.INFO: Packet analysis {"connection_id":173226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b8"} 
[2026-09-05 18:48:34] local.INFO: Extracted packet for processing {"connection_id":173226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b8"} 
[2026-09-05 18:48:34] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291296,"longitude_deg":76.310336,"latitude_deg":9.6291296,"altitude":9,"angle":249,"satellites":43,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd49e0","is_valid_coordinates":true} 
[2026-09-05 18:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885178112001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167327232,"note":"Value kept but may cause issues"} 
[2026-09-05 18:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788614282000,"timestamp_ms":1788614282000,"timestamp_seconds":1788614282,"priority":1,"record_length":96,"hex_timestamp":"000001a071b80b10"} 
[2026-09-05 18:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 18:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 18:48:34] 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-09-05 18:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885178112001,"66":12145,"197":206,"85":12544,"24":0,"16":128712919956324352,"45":8937393485167327232},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885178112001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:48:34] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:48:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712919956324352,"km_value":128712919956324.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167327232,"description":"Unknown IO ID 45"} 
[2026-09-05 18:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885178112001,"power":12145,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167327232}} 
[2026-09-05 18:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":173226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770676,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:48:34] local.INFO: GPS data processed {"connection_id":173226,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:48:34] local.INFO: Acknowledgment sent {"connection_id":173226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:48:44] local.INFO: TCP Data received {"connection_id":171838,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:48:44] local.INFO: Processing buffer {"connection_id":171838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:48:44] local.INFO: IMEI packet received {"connection_id":171838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":171838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:48:49] local.INFO: TCP Data received {"connection_id":171838,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:48:49] local.INFO: Processing buffer {"connection_id":171838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:48:49] local.INFO: IMEI packet received {"connection_id":171838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":171838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:48:50] local.INFO: TCP Data received {"connection_id":171838,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071b73c08012d196740071fecc8003b01152c..."} 
[2026-09-05 18:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b73c08012d196740071fecc8003b01152c..."} 
[2026-09-05 18:48:50] local.INFO: Processing buffer {"connection_id":171838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b73c08012d196740071fecc8003b01152c..."} 
[2026-09-05 18:48:50] local.INFO: Packet analysis {"connection_id":171838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b7"} 
[2026-09-05 18:48:50] local.INFO: Extracted packet for processing {"connection_id":171838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b7"} 
[2026-09-05 18:48:50] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885237248001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788614229000,"timestamp_ms":1788614229000,"timestamp_seconds":1788614229,"priority":1,"record_length":96,"hex_timestamp":"000001a071b73c08"} 
[2026-09-05 18:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:48: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-09-05 18:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 18:48:50] 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-09-05 18:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885237248001,"66":12428,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885237248001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:48:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:48:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885237248001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":171838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:48:50] local.INFO: GPS data processed {"connection_id":171838,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:48:50] local.INFO: Acknowledgment sent {"connection_id":171838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:48:55] local.INFO: TCP Data received {"connection_id":173227,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:48:55] local.INFO: Processing buffer {"connection_id":173227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:48:55] local.INFO: IMEI packet received {"connection_id":173227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":173227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:49:01] local.INFO: TCP Data received {"connection_id":173227,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:49:01] local.INFO: Processing buffer {"connection_id":173227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:49:01] local.INFO: IMEI packet received {"connection_id":173227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":173227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:49:02] local.INFO: TCP Data received {"connection_id":173227,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071b56360012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b56360012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:49:02] local.INFO: Processing buffer {"connection_id":173227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b56360012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:49:02] local.INFO: Packet analysis {"connection_id":173227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b5"} 
[2026-09-05 18:49:02] local.INFO: Extracted packet for processing {"connection_id":173227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b5"} 
[2026-09-05 18:49:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885134592001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788614108000,"timestamp_ms":1788614108000,"timestamp_seconds":1788614108,"priority":1,"record_length":96,"hex_timestamp":"000001a071b56360"} 
[2026-09-05 18:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:49:02] 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-09-05 18: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18: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-09-05 18:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885134592001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885134592001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:49:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:49:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885134592001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":173227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:49:02] local.INFO: GPS data processed {"connection_id":173227,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:49:02] local.INFO: Acknowledgment sent {"connection_id":173227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:49:19] local.INFO: TCP Data received {"connection_id":173228,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:49:19] local.INFO: Processing buffer {"connection_id":173228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:49:19] local.INFO: IMEI packet received {"connection_id":173228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":173228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:49:21] local.INFO: TCP Data received {"connection_id":171838,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071b78e10012d196740071fecc8003b01152a..."} 
[2026-09-05 18:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b78e10012d196740071fecc8003b01152a..."} 
[2026-09-05 18:49:21] local.INFO: Processing buffer {"connection_id":171838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b78e10012d196740071fecc8003b01152a..."} 
[2026-09-05 18:49:21] local.INFO: Packet analysis {"connection_id":171838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b7"} 
[2026-09-05 18:49:21] local.INFO: Extracted packet for processing {"connection_id":171838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b7"} 
[2026-09-05 18:49:21] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885242624001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788614250000,"timestamp_ms":1788614250000,"timestamp_seconds":1788614250,"priority":1,"record_length":96,"hex_timestamp":"000001a071b78e10"} 
[2026-09-05 18:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:49: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-09-05 18:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 18:49:21] 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-09-05 18:49:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885242624001,"66":12439,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885242624001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:49:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:49:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885242624001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":171838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:49:21] local.INFO: GPS data processed {"connection_id":171838,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:49:21] local.INFO: Acknowledgment sent {"connection_id":171838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:49:24] local.INFO: TCP Data received {"connection_id":173228,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:49:24] local.INFO: Processing buffer {"connection_id":173228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:49:24] local.INFO: IMEI packet received {"connection_id":173228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":173228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:49:25] local.INFO: TCP Data received {"connection_id":173228,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071b80b10012d7c088005bd49e0000900f92b..."} 
[2026-09-05 18:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b80b10012d7c088005bd49e0000900f92b..."} 
[2026-09-05 18:49:25] local.INFO: Processing buffer {"connection_id":173228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b80b10012d7c088005bd49e0000900f92b..."} 
[2026-09-05 18:49:25] local.INFO: Packet analysis {"connection_id":173228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b8"} 
[2026-09-05 18:49:25] local.INFO: Extracted packet for processing {"connection_id":173228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b8"} 
[2026-09-05 18:49:25] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291296,"longitude_deg":76.310336,"latitude_deg":9.6291296,"altitude":9,"angle":249,"satellites":43,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd49e0","is_valid_coordinates":true} 
[2026-09-05 18:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885178112001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167327232,"note":"Value kept but may cause issues"} 
[2026-09-05 18:49:25] 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-09-05 18:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788614282000,"timestamp_ms":1788614282000,"timestamp_seconds":1788614282,"priority":1,"record_length":96,"hex_timestamp":"000001a071b80b10"} 
[2026-09-05 18:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 18:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-05 18:49:25] 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-09-05 18:49:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885178112001,"66":12145,"197":206,"85":12544,"24":0,"16":128712919956324352,"45":8937393485167327232},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885178112001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:49:25] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:49:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712919956324352,"km_value":128712919956324.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167327232,"description":"Unknown IO ID 45"} 
[2026-09-05 18:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885178112001,"power":12145,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167327232}} 
[2026-09-05 18:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":173228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770680,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:49:25] local.INFO: GPS data processed {"connection_id":173228,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:49:25] local.INFO: Acknowledgment sent {"connection_id":173228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:49:33] local.INFO: TCP Data received {"connection_id":173227,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071b56360012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b56360012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:49:33] local.INFO: Processing buffer {"connection_id":173227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b56360012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:49:33] local.INFO: Packet analysis {"connection_id":173227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b5"} 
[2026-09-05 18:49:33] local.INFO: Extracted packet for processing {"connection_id":173227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b5"} 
[2026-09-05 18:49:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885134592001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788614108000,"timestamp_ms":1788614108000,"timestamp_seconds":1788614108,"priority":1,"record_length":96,"hex_timestamp":"000001a071b56360"} 
[2026-09-05 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-09-05 18:49: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-09-05 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 18:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885134592001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885134592001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:49:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:49:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885134592001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":173227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:49:33] local.INFO: GPS data processed {"connection_id":173227,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:49:33] local.INFO: Acknowledgment sent {"connection_id":173227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:49:44] local.INFO: TCP Data received {"connection_id":172100,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:49:44] local.INFO: Processing buffer {"connection_id":172100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:49:44] local.INFO: IMEI packet received {"connection_id":172100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":172100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:49:49] local.INFO: TCP Data received {"connection_id":172100,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:49:49] local.INFO: Processing buffer {"connection_id":172100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:49:49] local.INFO: IMEI packet received {"connection_id":172100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":172100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:49:50] local.INFO: TCP Data received {"connection_id":172100,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071b7e018012d196740071fecc8003b01152a..."} 
[2026-09-05 18:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b7e018012d196740071fecc8003b01152a..."} 
[2026-09-05 18:49:50] local.INFO: Processing buffer {"connection_id":172100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b7e018012d196740071fecc8003b01152a..."} 
[2026-09-05 18:49:50] local.INFO: Packet analysis {"connection_id":172100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b7"} 
[2026-09-05 18:49:50] local.INFO: Extracted packet for processing {"connection_id":172100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b7"} 
[2026-09-05 18:49:50] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885248000001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788614271000,"timestamp_ms":1788614271000,"timestamp_seconds":1788614271,"priority":1,"record_length":96,"hex_timestamp":"000001a071b7e018"} 
[2026-09-05 18:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:49: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-09-05 18:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 18:49:50] 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-09-05 18: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-09-05 18:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885248000001,"66":12461,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885248000001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:49:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:49:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885248000001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":172100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:49:50] local.INFO: GPS data processed {"connection_id":172100,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:49:50] local.INFO: Acknowledgment sent {"connection_id":172100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:49:56] local.INFO: TCP Data received {"connection_id":173228,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071b95ee8012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b95ee8012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:49:56] local.INFO: Processing buffer {"connection_id":173228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b95ee8012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:49:56] local.INFO: Packet analysis {"connection_id":173228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:49:56] local.INFO: Extracted packet for processing {"connection_id":173228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:49:56] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291296,"longitude_deg":76.310336,"latitude_deg":9.6291296,"altitude":9,"angle":249,"satellites":45,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd49e0","is_valid_coordinates":true} 
[2026-09-05 18:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885256192001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937534222655676416,"note":"Value kept but may cause issues"} 
[2026-09-05 18:49:56] 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-09-05 18:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788614369000,"timestamp_ms":1788614369000,"timestamp_seconds":1788614369,"priority":1,"record_length":96,"hex_timestamp":"000001a071b95ee8"} 
[2026-09-05 18:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 18:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-05 18:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885256192001,"66":12298,"197":206,"85":12544,"24":0,"16":128712919956324352,"45":8937534222655676416},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885256192001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:49:56] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:49:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712919956324352,"km_value":128712919956324.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937534222655676416,"description":"Unknown IO ID 45"} 
[2026-09-05 18:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885256192001,"power":12298,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937534222655676416}} 
[2026-09-05 18:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":173228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770683,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:49:56] local.INFO: GPS data processed {"connection_id":173228,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:49:56] local.INFO: Acknowledgment sent {"connection_id":173228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:50:01] local.INFO: TCP Data received {"connection_id":171839,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:50:01] local.INFO: Processing buffer {"connection_id":171839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:50:01] local.INFO: IMEI packet received {"connection_id":171839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":171839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:50:06] local.INFO: TCP Data received {"connection_id":171839,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:50:06] local.INFO: Processing buffer {"connection_id":171839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:50:06] local.INFO: IMEI packet received {"connection_id":171839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":171839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:50:07] local.INFO: TCP Data received {"connection_id":171839,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071b56360012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b56360012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:50:07] local.INFO: Processing buffer {"connection_id":171839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b56360012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:50:07] local.INFO: Packet analysis {"connection_id":171839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b5"} 
[2026-09-05 18:50:07] local.INFO: Extracted packet for processing {"connection_id":171839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b5"} 
[2026-09-05 18:50:07] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885134592001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788614108000,"timestamp_ms":1788614108000,"timestamp_seconds":1788614108,"priority":1,"record_length":96,"hex_timestamp":"000001a071b56360"} 
[2026-09-05 18:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:50: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-09-05 18: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:50:07] 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-09-05 18: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-09-05 18:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885134592001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885134592001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:50:07] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:50:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885134592001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":171839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:50:07] local.INFO: GPS data processed {"connection_id":171839,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:50:07] local.INFO: Acknowledgment sent {"connection_id":171839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:50:11] local.INFO: TCP Data received {"connection_id":171839,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071b56360012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b56360012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:50:11] local.INFO: Processing buffer {"connection_id":171839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b56360012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:50:11] local.INFO: Packet analysis {"connection_id":171839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b5"} 
[2026-09-05 18:50:11] local.INFO: Extracted packet for processing {"connection_id":171839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b5"} 
[2026-09-05 18:50:11] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885134592001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788614108000,"timestamp_ms":1788614108000,"timestamp_seconds":1788614108,"priority":1,"record_length":96,"hex_timestamp":"000001a071b56360"} 
[2026-09-05 18:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:50: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-09-05 18:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:50: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-09-05 18:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885134592001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885134592001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:50:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:50:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885134592001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":171839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:50:11] local.INFO: GPS data processed {"connection_id":171839,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:50:11] local.INFO: Acknowledgment sent {"connection_id":171839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:50:19] local.INFO: TCP Data received {"connection_id":172101,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172101,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:50:19] local.INFO: Processing buffer {"connection_id":172101,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:50:19] local.INFO: IMEI packet received {"connection_id":172101,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":172101,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:50:21] local.INFO: TCP Data received {"connection_id":172100,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071b83220012d196740071fecc8003b01152c..."} 
[2026-09-05 18:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b83220012d196740071fecc8003b01152c..."} 
[2026-09-05 18:50:21] local.INFO: Processing buffer {"connection_id":172100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b83220012d196740071fecc8003b01152c..."} 
[2026-09-05 18:50:21] local.INFO: Packet analysis {"connection_id":172100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b8"} 
[2026-09-05 18:50:21] local.INFO: Extracted packet for processing {"connection_id":172100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b8"} 
[2026-09-05 18:50:21] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885253376001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788614292000,"timestamp_ms":1788614292000,"timestamp_seconds":1788614292,"priority":1,"record_length":96,"hex_timestamp":"000001a071b83220"} 
[2026-09-05 18:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:50: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-09-05 18:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 18:50: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-09-05 18:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885253376001,"66":12461,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885253376001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:50:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:50:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885253376001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":172100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:50:21] local.INFO: GPS data processed {"connection_id":172100,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:50:21] local.INFO: Acknowledgment sent {"connection_id":172100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:50:24] local.INFO: TCP Data received {"connection_id":172101,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172101,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:50:24] local.INFO: Processing buffer {"connection_id":172101,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:50:24] local.INFO: IMEI packet received {"connection_id":172101,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":172101,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:50:25] local.INFO: TCP Data received {"connection_id":172101,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071b962d0012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b962d0012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:50:25] local.INFO: Processing buffer {"connection_id":172101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b962d0012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:50:25] local.INFO: Packet analysis {"connection_id":172101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:50:25] local.INFO: Extracted packet for processing {"connection_id":172101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:50:25] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291296,"longitude_deg":76.310336,"latitude_deg":9.6291296,"altitude":9,"angle":249,"satellites":45,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd49e0","is_valid_coordinates":true} 
[2026-09-05 18:50:25] 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-09-05 18:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885278464001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937534222655676416,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:25] 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-09-05 18:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788614370000,"timestamp_ms":1788614370000,"timestamp_seconds":1788614370,"priority":1,"record_length":96,"hex_timestamp":"000001a071b962d0"} 
[2026-09-05 18:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 18:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-05 18:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":413568070289260793,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:25] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3530848496137536000,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:25] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186057,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:25] local.WARNING: Large IO value detected {"io_id":71,"raw_value":-5188146770730811391,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:25] local.WARNING: Large IO value detected {"io_id":160,"raw_value":8192671007860685832,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:25] local.WARNING: Large IO value detected {"io_id":9,"raw_value":70130150154436608,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:25] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832599,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:25] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3797942744023105742,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797928654,"corrected_to":0} 
[2026-09-05 18:50:25] local.WARNING: Large IO value detected {"io_id":218,"raw_value":4026609020,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:25] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743910,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3175741440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:25] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,197,85,24,241,157,16,71,160,11,45,128,73,9,43,10,66,99,41,240,88,227,113,189,4,205,218,8,248,39,239,1,53,2,201,5,40],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2797928654,"validated":0}]} 
[2026-09-05 18:50:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648792318010195999,"timestamp_seconds":648792318010196.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 18:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885278464001,"66":5199,"197":206,"85":12544,"24":0,"16":128712919956324352,"45":8937534222655676416},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885278464001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:50:25] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:50:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712919956324352,"km_value":128712919956324.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937534222655676416,"description":"Unknown IO ID 45"} 
[2026-09-05 18:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885278464001,"power":5199,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937534222655676416}} 
[2026-09-05 18:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":172101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770687,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:50:25] local.INFO: GPS data processed {"connection_id":172101,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:50:25] local.INFO: Acknowledgment sent {"connection_id":172101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:50:44] local.INFO: TCP Data received {"connection_id":171840,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:50:44] local.INFO: Processing buffer {"connection_id":171840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:50:44] local.INFO: IMEI packet received {"connection_id":171840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":171840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:50:49] local.INFO: TCP Data received {"connection_id":171840,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:50:49] local.INFO: Processing buffer {"connection_id":171840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:50:49] local.INFO: IMEI packet received {"connection_id":171840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":171840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:50:50] local.INFO: TCP Data received {"connection_id":171840,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071b88428012d196740071fecc8003b01152c..."} 
[2026-09-05 18:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b88428012d196740071fecc8003b01152c..."} 
[2026-09-05 18:50:50] local.INFO: Processing buffer {"connection_id":171840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b88428012d196740071fecc8003b01152c..."} 
[2026-09-05 18:50:50] local.INFO: Packet analysis {"connection_id":171840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b8"} 
[2026-09-05 18:50:50] local.INFO: Extracted packet for processing {"connection_id":171840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b8"} 
[2026-09-05 18:50:50] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885258752001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788614313000,"timestamp_ms":1788614313000,"timestamp_seconds":1788614313,"priority":1,"record_length":96,"hex_timestamp":"000001a071b88428"} 
[2026-09-05 18:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:50: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-09-05 18:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 18:50:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885258752001,"66":12428,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885258752001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:50:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:50:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885258752001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":171840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:50:50] local.INFO: GPS data processed {"connection_id":171840,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:50:50] local.INFO: Acknowledgment sent {"connection_id":171840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:50:56] local.INFO: TCP Data received {"connection_id":172102,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:50:56] local.INFO: Processing buffer {"connection_id":172102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:50:56] local.INFO: IMEI packet received {"connection_id":172102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":172102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:50:56] local.INFO: TCP Data received {"connection_id":172101,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071b962d0012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b962d0012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:50:56] local.INFO: Processing buffer {"connection_id":172101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b962d0012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:50:56] local.INFO: Packet analysis {"connection_id":172101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:50:56] local.INFO: Extracted packet for processing {"connection_id":172101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:50:56] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291296,"longitude_deg":76.310336,"latitude_deg":9.6291296,"altitude":9,"angle":249,"satellites":45,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd49e0","is_valid_coordinates":true} 
[2026-09-05 18:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885278464001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937534222655676416,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:56] 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-09-05 18:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788614370000,"timestamp_ms":1788614370000,"timestamp_seconds":1788614370,"priority":1,"record_length":96,"hex_timestamp":"000001a071b962d0"} 
[2026-09-05 18:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 18:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-05 18:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":413568070289260793,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:56] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3530848496137536000,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:56] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186057,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:56] local.WARNING: Large IO value detected {"io_id":71,"raw_value":-5188146770730811391,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:56] local.WARNING: Large IO value detected {"io_id":160,"raw_value":8192671007860685832,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:56] local.WARNING: Large IO value detected {"io_id":9,"raw_value":70130150154436608,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:56] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832599,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:56] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3797942744023105742,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797928654,"corrected_to":0} 
[2026-09-05 18:50:56] local.WARNING: Large IO value detected {"io_id":218,"raw_value":4026609020,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:56] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743910,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:56] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3175741440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:50:56] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,197,85,24,241,157,16,71,160,11,45,128,73,9,43,10,66,99,41,240,88,227,113,189,4,205,218,8,248,39,239,1,53,2,201,5,40],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2797928654,"validated":0}]} 
[2026-09-05 18:50:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648792318010195999,"timestamp_seconds":648792318010196.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 18:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885278464001,"66":5199,"197":206,"85":12544,"24":0,"16":128712919956324352,"45":8937534222655676416},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885278464001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:50:56] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:50:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712919956324352,"km_value":128712919956324.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937534222655676416,"description":"Unknown IO ID 45"} 
[2026-09-05 18:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885278464001,"power":5199,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937534222655676416}} 
[2026-09-05 18:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":172101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770689,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:50:56] local.INFO: GPS data processed {"connection_id":172101,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:50:56] local.INFO: Acknowledgment sent {"connection_id":172101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:51:01] local.INFO: TCP Data received {"connection_id":172102,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:51:01] local.INFO: Processing buffer {"connection_id":172102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:51:01] local.INFO: IMEI packet received {"connection_id":172102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":172102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:51:01] local.INFO: TCP Data received {"connection_id":172102,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a071b9fb28012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b9fb28012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:51:01] local.INFO: Processing buffer {"connection_id":172102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b9fb28012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:51:01] local.INFO: Packet analysis {"connection_id":172102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:51:01] local.INFO: Extracted packet for processing {"connection_id":172102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:51:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885211648001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788614409000,"timestamp_ms":1788614409000,"timestamp_seconds":1788614409,"priority":1,"record_length":96,"hex_timestamp":"000001a071b9fb28"} 
[2026-09-05 18:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:51:01] 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-09-05 18:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:51:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885211648001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885211648001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:51:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:51:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885211648001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":172102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:51:02] local.INFO: GPS data processed {"connection_id":172102,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:51:02] local.INFO: Acknowledgment sent {"connection_id":172102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:51:18] local.INFO: TCP Data received {"connection_id":174547,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174547,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:51:18] local.INFO: Processing buffer {"connection_id":174547,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:51:18] local.INFO: IMEI packet received {"connection_id":174547,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":174547,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:51:21] local.INFO: TCP Data received {"connection_id":171840,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071b8d630012d196740071fecc8003b01152b..."} 
[2026-09-05 18:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b8d630012d196740071fecc8003b01152b..."} 
[2026-09-05 18:51:21] local.INFO: Processing buffer {"connection_id":171840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b8d630012d196740071fecc8003b01152b..."} 
[2026-09-05 18:51:21] local.INFO: Packet analysis {"connection_id":171840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b8"} 
[2026-09-05 18:51:21] local.INFO: Extracted packet for processing {"connection_id":171840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b8"} 
[2026-09-05 18:51:21] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885264128001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788614334000,"timestamp_ms":1788614334000,"timestamp_seconds":1788614334,"priority":1,"record_length":96,"hex_timestamp":"000001a071b8d630"} 
[2026-09-05 18:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:51: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-09-05 18:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 18:51:21] 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-09-05 18:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885264128001,"66":12374,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885264128001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:51:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:51:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885264128001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":171840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:51:21] local.INFO: GPS data processed {"connection_id":171840,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:51:21] local.INFO: Acknowledgment sent {"connection_id":171840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:51:24] local.INFO: TCP Data received {"connection_id":174547,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174547,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:51:24] local.INFO: Processing buffer {"connection_id":174547,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:51:24] local.INFO: IMEI packet received {"connection_id":174547,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":174547,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:51:25] local.INFO: TCP Data received {"connection_id":174547,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071b962d0012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b962d0012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:51:25] local.INFO: Processing buffer {"connection_id":174547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b962d0012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:51:25] local.INFO: Packet analysis {"connection_id":174547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:51:25] local.INFO: Extracted packet for processing {"connection_id":174547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:51:25] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291296,"longitude_deg":76.310336,"latitude_deg":9.6291296,"altitude":9,"angle":249,"satellites":45,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd49e0","is_valid_coordinates":true} 
[2026-09-05 18:51:25] 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-09-05 18:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885278464001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937534222655676416,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:25] 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-09-05 18:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788614370000,"timestamp_ms":1788614370000,"timestamp_seconds":1788614370,"priority":1,"record_length":96,"hex_timestamp":"000001a071b962d0"} 
[2026-09-05 18:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 18:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-05 18:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":413568070289260793,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:25] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3530848496137536000,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:25] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186057,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:25] local.WARNING: Large IO value detected {"io_id":71,"raw_value":-5188146770730811391,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:25] local.WARNING: Large IO value detected {"io_id":160,"raw_value":8192671007860685832,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:25] local.WARNING: Large IO value detected {"io_id":9,"raw_value":70130150154436608,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:25] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832599,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:25] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3797942744023105742,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797928654,"corrected_to":0} 
[2026-09-05 18:51:25] local.WARNING: Large IO value detected {"io_id":218,"raw_value":4026609020,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:25] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743910,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3175741440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:25] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,197,85,24,241,157,16,71,160,11,45,128,73,9,43,10,66,99,41,240,88,227,113,189,4,205,218,8,248,39,239,1,53,2,201,5,40],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2797928654,"validated":0}]} 
[2026-09-05 18:51:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648792318010195999,"timestamp_seconds":648792318010196.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 18:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885278464001,"66":5199,"197":206,"85":12544,"24":0,"16":128712919956324352,"45":8937534222655676416},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885278464001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:51:25] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:51:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712919956324352,"km_value":128712919956324.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937534222655676416,"description":"Unknown IO ID 45"} 
[2026-09-05 18:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885278464001,"power":5199,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937534222655676416}} 
[2026-09-05 18:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":174547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770692,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:51:25] local.INFO: GPS data processed {"connection_id":174547,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:51:25] local.INFO: Acknowledgment sent {"connection_id":174547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:51:33] local.INFO: TCP Data received {"connection_id":172102,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a071b9fb28012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b9fb28012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:51:33] local.INFO: Processing buffer {"connection_id":172102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b9fb28012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:51:33] local.INFO: Packet analysis {"connection_id":172102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:51:33] local.INFO: Extracted packet for processing {"connection_id":172102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:51:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885211648001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788614409000,"timestamp_ms":1788614409000,"timestamp_seconds":1788614409,"priority":1,"record_length":96,"hex_timestamp":"000001a071b9fb28"} 
[2026-09-05 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-09-05 18:51: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-09-05 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 18:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885211648001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885211648001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:51:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:51:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885211648001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":172102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:51:33] local.INFO: GPS data processed {"connection_id":172102,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:51:33] local.INFO: Acknowledgment sent {"connection_id":172102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:51:44] local.INFO: TCP Data received {"connection_id":172103,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:51:44] local.INFO: Processing buffer {"connection_id":172103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:51:44] local.INFO: IMEI packet received {"connection_id":172103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":172103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:51:49] local.INFO: TCP Data received {"connection_id":172103,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:51:49] local.INFO: Processing buffer {"connection_id":172103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:51:49] local.INFO: IMEI packet received {"connection_id":172103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":172103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:51:50] local.INFO: TCP Data received {"connection_id":172103,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071b92838012d196740071fecc8003b01152c..."} 
[2026-09-05 18:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b92838012d196740071fecc8003b01152c..."} 
[2026-09-05 18:51:50] local.INFO: Processing buffer {"connection_id":172103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b92838012d196740071fecc8003b01152c..."} 
[2026-09-05 18:51:50] local.INFO: Packet analysis {"connection_id":172103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:51:50] local.INFO: Extracted packet for processing {"connection_id":172103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:51:50] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885269504001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788614355000,"timestamp_ms":1788614355000,"timestamp_seconds":1788614355,"priority":1,"record_length":96,"hex_timestamp":"000001a071b92838"} 
[2026-09-05 18:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:51: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-09-05 18:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 18:51:50] 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-09-05 18:51:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885269504001,"66":12406,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885269504001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:51:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:51:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885269504001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":172103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:51:50] local.INFO: GPS data processed {"connection_id":172103,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:51:50] local.INFO: Acknowledgment sent {"connection_id":172103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:51:55] local.INFO: TCP Data received {"connection_id":172104,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:51:55] local.INFO: Processing buffer {"connection_id":172104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:51:55] local.INFO: IMEI packet received {"connection_id":172104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":172104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:51:56] local.INFO: TCP Data received {"connection_id":174547,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071b962d0012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b962d0012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:51:56] local.INFO: Processing buffer {"connection_id":174547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b962d0012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:51:56] local.INFO: Packet analysis {"connection_id":174547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:51:56] local.INFO: Extracted packet for processing {"connection_id":174547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:51:56] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291296,"longitude_deg":76.310336,"latitude_deg":9.6291296,"altitude":9,"angle":249,"satellites":45,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd49e0","is_valid_coordinates":true} 
[2026-09-05 18:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885278464001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937534222655676416,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:56] 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-09-05 18:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788614370000,"timestamp_ms":1788614370000,"timestamp_seconds":1788614370,"priority":1,"record_length":96,"hex_timestamp":"000001a071b962d0"} 
[2026-09-05 18:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 18:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-05 18:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":413568070289260793,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:56] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3530848496137536000,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:56] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186057,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:56] local.WARNING: Large IO value detected {"io_id":71,"raw_value":-5188146770730811391,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:56] local.WARNING: Large IO value detected {"io_id":160,"raw_value":8192671007860685832,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:56] local.WARNING: Large IO value detected {"io_id":9,"raw_value":70130150154436608,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:56] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832599,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:56] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3797942744023105742,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797928654,"corrected_to":0} 
[2026-09-05 18:51:56] local.WARNING: Large IO value detected {"io_id":218,"raw_value":4026609020,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:56] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743910,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:56] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3175741440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:51:56] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,197,85,24,241,157,16,71,160,11,45,128,73,9,43,10,66,99,41,240,88,227,113,189,4,205,218,8,248,39,239,1,53,2,201,5,40],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2797928654,"validated":0}]} 
[2026-09-05 18:51:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648792318010195999,"timestamp_seconds":648792318010196.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 18:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885278464001,"66":5199,"197":206,"85":12544,"24":0,"16":128712919956324352,"45":8937534222655676416},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885278464001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:51:56] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:51:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712919956324352,"km_value":128712919956324.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937534222655676416,"description":"Unknown IO ID 45"} 
[2026-09-05 18:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885278464001,"power":5199,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937534222655676416}} 
[2026-09-05 18:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":174547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770695,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:51:56] local.INFO: GPS data processed {"connection_id":174547,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:51:56] local.INFO: Acknowledgment sent {"connection_id":174547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:52:01] local.INFO: TCP Data received {"connection_id":172104,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:52:01] local.INFO: Processing buffer {"connection_id":172104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:52:01] local.INFO: IMEI packet received {"connection_id":172104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":172104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:52:02] local.INFO: TCP Data received {"connection_id":172104,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a071b9fb28012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b9fb28012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:52:02] local.INFO: Processing buffer {"connection_id":172104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b9fb28012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:52:02] local.INFO: Packet analysis {"connection_id":172104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:52:02] local.INFO: Extracted packet for processing {"connection_id":172104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:52:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885211648001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788614409000,"timestamp_ms":1788614409000,"timestamp_seconds":1788614409,"priority":1,"record_length":96,"hex_timestamp":"000001a071b9fb28"} 
[2026-09-05 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-09-05 18:52:02] 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-09-05 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 18:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885211648001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885211648001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:52:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:52:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885211648001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":172104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:52:02] local.INFO: GPS data processed {"connection_id":172104,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:52:02] local.INFO: Acknowledgment sent {"connection_id":172104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:52:21] local.INFO: TCP Data received {"connection_id":172103,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071b97a40012d196740071fecc8003b01152b..."} 
[2026-09-05 18:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b97a40012d196740071fecc8003b01152b..."} 
[2026-09-05 18:52:21] local.INFO: Processing buffer {"connection_id":172103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b97a40012d196740071fecc8003b01152b..."} 
[2026-09-05 18:52:21] local.INFO: Packet analysis {"connection_id":172103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:52:21] local.INFO: Extracted packet for processing {"connection_id":172103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:52:21] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885274880001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788614376000,"timestamp_ms":1788614376000,"timestamp_seconds":1788614376,"priority":1,"record_length":96,"hex_timestamp":"000001a071b97a40"} 
[2026-09-05 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-09-05 18:52: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-09-05 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 18:52:21] 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-09-05 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-09-05 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-09-05 18:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885274880001,"66":12428,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885274880001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:52:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:52:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885274880001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":172103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:52:21] local.INFO: GPS data processed {"connection_id":172103,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:52:21] local.INFO: Acknowledgment sent {"connection_id":172103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:52:24] local.INFO: TCP Data received {"connection_id":171841,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:52:24] local.INFO: Processing buffer {"connection_id":171841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:52:24] local.INFO: IMEI packet received {"connection_id":171841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":171841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:52:29] local.INFO: TCP Data received {"connection_id":171841,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:52:29] local.INFO: Processing buffer {"connection_id":171841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:52:29] local.INFO: IMEI packet received {"connection_id":171841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":171841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:52:30] local.INFO: TCP Data received {"connection_id":171841,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071b962d0012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b962d0012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:52:30] local.INFO: Processing buffer {"connection_id":171841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b962d0012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:52:30] local.INFO: Packet analysis {"connection_id":171841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:52:30] local.INFO: Extracted packet for processing {"connection_id":171841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:52:30] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291296,"longitude_deg":76.310336,"latitude_deg":9.6291296,"altitude":9,"angle":249,"satellites":45,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd49e0","is_valid_coordinates":true} 
[2026-09-05 18:52: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-09-05 18:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885278464001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937534222655676416,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788614370000,"timestamp_ms":1788614370000,"timestamp_seconds":1788614370,"priority":1,"record_length":96,"hex_timestamp":"000001a071b962d0"} 
[2026-09-05 18:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 18:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-05 18:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":413568070289260793,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:30] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3530848496137536000,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:30] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186057,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:30] local.WARNING: Large IO value detected {"io_id":71,"raw_value":-5188146770730811391,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":8192671007860685832,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:30] local.WARNING: Large IO value detected {"io_id":9,"raw_value":70130150154436608,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:30] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832599,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:30] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3797942744023105742,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797928654,"corrected_to":0} 
[2026-09-05 18:52:30] local.WARNING: Large IO value detected {"io_id":218,"raw_value":4026609020,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:30] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743910,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3175741440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:30] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,197,85,24,241,157,16,71,160,11,45,128,73,9,43,10,66,99,41,240,88,227,113,189,4,205,218,8,248,39,239,1,53,2,201,5,40],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2797928654,"validated":0}]} 
[2026-09-05 18:52:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648792318010195999,"timestamp_seconds":648792318010196.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 18:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":171841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":171841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":171841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885278464001,"66":5199,"197":206,"85":12544,"24":0,"16":128712919956324352,"45":8937534222655676416},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885278464001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:52:30] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:52:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712919956324352,"km_value":128712919956324.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937534222655676416,"description":"Unknown IO ID 45"} 
[2026-09-05 18:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885278464001,"power":5199,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937534222655676416}} 
[2026-09-05 18:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":171841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770698,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:52:30] local.INFO: GPS data processed {"connection_id":171841,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:52:30] local.INFO: Acknowledgment sent {"connection_id":171841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:52:33] local.INFO: TCP Data received {"connection_id":172104,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a071b9fb28012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b9fb28012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:52:33] local.INFO: Processing buffer {"connection_id":172104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b9fb28012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:52:33] local.INFO: Packet analysis {"connection_id":172104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:52:33] local.INFO: Extracted packet for processing {"connection_id":172104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885211648001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788614409000,"timestamp_ms":1788614409000,"timestamp_seconds":1788614409,"priority":1,"record_length":96,"hex_timestamp":"000001a071b9fb28"} 
[2026-09-05 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-09-05 18:52: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-09-05 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 18:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885211648001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885211648001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:52:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:52:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885211648001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":172104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:52:33] local.INFO: GPS data processed {"connection_id":172104,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:52:33] local.INFO: Acknowledgment sent {"connection_id":172104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:52:34] local.INFO: TCP Data received {"connection_id":171841,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071b962d0012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b962d0012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:52:34] local.INFO: Processing buffer {"connection_id":171841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b962d0012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:52:34] local.INFO: Packet analysis {"connection_id":171841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:52:34] local.INFO: Extracted packet for processing {"connection_id":171841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:52:34] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291296,"longitude_deg":76.310336,"latitude_deg":9.6291296,"altitude":9,"angle":249,"satellites":45,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd49e0","is_valid_coordinates":true} 
[2026-09-05 18:52:34] 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-09-05 18:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885278464001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937534222655676416,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788614370000,"timestamp_ms":1788614370000,"timestamp_seconds":1788614370,"priority":1,"record_length":96,"hex_timestamp":"000001a071b962d0"} 
[2026-09-05 18:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 18: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-05 18:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":413568070289260793,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:34] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3530848496137536000,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186057,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:34] local.WARNING: Large IO value detected {"io_id":71,"raw_value":-5188146770730811391,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":8192671007860685832,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:34] local.WARNING: Large IO value detected {"io_id":9,"raw_value":70130150154436608,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832599,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3797942744023105742,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797928654,"corrected_to":0} 
[2026-09-05 18:52:34] local.WARNING: Large IO value detected {"io_id":218,"raw_value":4026609020,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:34] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743910,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3175741440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:34] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,197,85,24,241,157,16,71,160,11,45,128,73,9,43,10,66,99,41,240,88,227,113,189,4,205,218,8,248,39,239,1,53,2,201,5,40],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2797928654,"validated":0}]} 
[2026-09-05 18:52:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648792318010195999,"timestamp_seconds":648792318010196.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 18:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885278464001,"66":5199,"197":206,"85":12544,"24":0,"16":128712919956324352,"45":8937534222655676416},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885278464001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:52:34] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:52:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712919956324352,"km_value":128712919956324.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937534222655676416,"description":"Unknown IO ID 45"} 
[2026-09-05 18:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885278464001,"power":5199,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937534222655676416}} 
[2026-09-05 18:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":171841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770700,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:52:34] local.INFO: GPS data processed {"connection_id":171841,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:52:34] local.INFO: Acknowledgment sent {"connection_id":171841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:52:44] local.INFO: TCP Data received {"connection_id":173229,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:52:44] local.INFO: Processing buffer {"connection_id":173229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:52:44] local.INFO: IMEI packet received {"connection_id":173229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":173229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:52:49] local.INFO: TCP Data received {"connection_id":173229,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:52:49] local.INFO: Processing buffer {"connection_id":173229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:52:49] local.INFO: IMEI packet received {"connection_id":173229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":173229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:52:50] local.INFO: TCP Data received {"connection_id":173229,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071b9cc48012d196740071fecc8003b01152a..."} 
[2026-09-05 18:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b9cc48012d196740071fecc8003b01152a..."} 
[2026-09-05 18:52:50] local.INFO: Processing buffer {"connection_id":173229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b9cc48012d196740071fecc8003b01152a..."} 
[2026-09-05 18:52:50] local.INFO: Packet analysis {"connection_id":173229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:52:50] local.INFO: Extracted packet for processing {"connection_id":173229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:52:50] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885280256001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788614397000,"timestamp_ms":1788614397000,"timestamp_seconds":1788614397,"priority":1,"record_length":96,"hex_timestamp":"000001a071b9cc48"} 
[2026-09-05 18:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:52: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-09-05 18:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 18:52:50] 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-09-05 18:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885280256001,"66":12406,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885280256001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:52:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:52:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885280256001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":173229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:52:50] local.INFO: GPS data processed {"connection_id":173229,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:52:50] local.INFO: Acknowledgment sent {"connection_id":173229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:52:55] local.INFO: TCP Data received {"connection_id":171842,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:52:55] local.INFO: Processing buffer {"connection_id":171842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:52:55] local.INFO: IMEI packet received {"connection_id":171842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":171842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:53:01] local.INFO: TCP Data received {"connection_id":171842,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:53:01] local.INFO: Processing buffer {"connection_id":171842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:53:01] local.INFO: IMEI packet received {"connection_id":171842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":171842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:53:02] local.INFO: TCP Data received {"connection_id":171842,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071b9fb28012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b9fb28012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:53:02] local.INFO: Processing buffer {"connection_id":171842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b9fb28012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:53:02] local.INFO: Packet analysis {"connection_id":171842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:53:02] local.INFO: Extracted packet for processing {"connection_id":171842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:53:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885211648001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788614409000,"timestamp_ms":1788614409000,"timestamp_seconds":1788614409,"priority":1,"record_length":96,"hex_timestamp":"000001a071b9fb28"} 
[2026-09-05 18:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:53:02] 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-09-05 18:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18: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-09-05 18:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885211648001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885211648001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:53:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:53:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885211648001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":171842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:53:02] local.INFO: GPS data processed {"connection_id":171842,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:53:02] local.INFO: Acknowledgment sent {"connection_id":171842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:53:19] local.INFO: TCP Data received {"connection_id":173230,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:53:19] local.INFO: Processing buffer {"connection_id":173230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:53:19] local.INFO: IMEI packet received {"connection_id":173230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":173230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:53:21] local.INFO: TCP Data received {"connection_id":173229,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071ba1e50012d196740071fecc8003b01152a..."} 
[2026-09-05 18:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ba1e50012d196740071fecc8003b01152a..."} 
[2026-09-05 18:53:21] local.INFO: Processing buffer {"connection_id":173229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ba1e50012d196740071fecc8003b01152a..."} 
[2026-09-05 18:53:21] local.INFO: Packet analysis {"connection_id":173229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ba"} 
[2026-09-05 18:53:21] local.INFO: Extracted packet for processing {"connection_id":173229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ba"} 
[2026-09-05 18:53:21] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885285632001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788614418000,"timestamp_ms":1788614418000,"timestamp_seconds":1788614418,"priority":1,"record_length":96,"hex_timestamp":"000001a071ba1e50"} 
[2026-09-05 18:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:53: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-09-05 18:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 18:53:21] 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-09-05 18:53:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885285632001,"66":12428,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885285632001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:53:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:53:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885285632001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":173229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:53:21] local.INFO: GPS data processed {"connection_id":173229,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:53:21] local.INFO: Acknowledgment sent {"connection_id":173229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:53:24] local.INFO: TCP Data received {"connection_id":173230,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:53:24] local.INFO: Processing buffer {"connection_id":173230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:53:24] local.INFO: IMEI packet received {"connection_id":173230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":173230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:53:25] local.INFO: TCP Data received {"connection_id":173230,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071bca2d8012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071bca2d8012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:53:25] local.INFO: Processing buffer {"connection_id":173230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071bca2d8012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:53:25] local.INFO: Packet analysis {"connection_id":173230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071bc"} 
[2026-09-05 18:53:25] local.INFO: Extracted packet for processing {"connection_id":173230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071bc"} 
[2026-09-05 18:53:25] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291296,"longitude_deg":76.310336,"latitude_deg":9.6291296,"altitude":9,"angle":249,"satellites":45,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd49e0","is_valid_coordinates":true} 
[2026-09-05 18:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885278720001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937534222655676416,"note":"Value kept but may cause issues"} 
[2026-09-05 18:53:25] 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-09-05 18:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788614583000,"timestamp_ms":1788614583000,"timestamp_seconds":1788614583,"priority":1,"record_length":96,"hex_timestamp":"000001a071bca2d8"} 
[2026-09-05 18:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 18:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-05 18:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:53:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885278720001,"66":2568,"197":206,"85":12544,"24":0,"16":128712919956324352,"45":8937534222655676416},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885278720001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:53:25] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:53:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712919956324352,"km_value":128712919956324.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937534222655676416,"description":"Unknown IO ID 45"} 
[2026-09-05 18:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885278720001,"power":2568,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937534222655676416}} 
[2026-09-05 18:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":173230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770704,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:53:25] local.INFO: GPS data processed {"connection_id":173230,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:53:25] local.INFO: Acknowledgment sent {"connection_id":173230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:53:33] local.INFO: TCP Data received {"connection_id":171842,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071b9fb28012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b9fb28012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:53:33] local.INFO: Processing buffer {"connection_id":171842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b9fb28012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:53:33] local.INFO: Packet analysis {"connection_id":171842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:53:33] local.INFO: Extracted packet for processing {"connection_id":171842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:53:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885211648001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788614409000,"timestamp_ms":1788614409000,"timestamp_seconds":1788614409,"priority":1,"record_length":96,"hex_timestamp":"000001a071b9fb28"} 
[2026-09-05 18:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:53: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-09-05 18: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18: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-09-05 18:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885211648001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885211648001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:53:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:53:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885211648001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":171842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:53:33] local.INFO: GPS data processed {"connection_id":171842,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:53:33] local.INFO: Acknowledgment sent {"connection_id":171842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:53:44] local.INFO: TCP Data received {"connection_id":174548,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:53:44] local.INFO: Processing buffer {"connection_id":174548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:53:44] local.INFO: IMEI packet received {"connection_id":174548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":174548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:53:44] local.INFO: TCP Data received {"connection_id":174548,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:53:44] local.INFO: Processing buffer {"connection_id":174548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:53:44] local.INFO: IMEI packet received {"connection_id":174548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":174548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:53:49] local.INFO: TCP Data received {"connection_id":174548,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:53:49] local.INFO: Processing buffer {"connection_id":174548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:53:49] local.INFO: IMEI packet received {"connection_id":174548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":174548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:53:50] local.INFO: TCP Data received {"connection_id":174548,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071ba7058012d196740071fecc8003b01152d..."} 
[2026-09-05 18:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ba7058012d196740071fecc8003b01152d..."} 
[2026-09-05 18:53:50] local.INFO: Processing buffer {"connection_id":174548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ba7058012d196740071fecc8003b01152d..."} 
[2026-09-05 18:53:50] local.INFO: Packet analysis {"connection_id":174548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ba"} 
[2026-09-05 18:53:50] local.INFO: Extracted packet for processing {"connection_id":174548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ba"} 
[2026-09-05 18:53:50] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885291008001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788614439000,"timestamp_ms":1788614439000,"timestamp_seconds":1788614439,"priority":1,"record_length":96,"hex_timestamp":"000001a071ba7058"} 
[2026-09-05 18:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:53: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-09-05 18:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 18:53:50] 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-09-05 18:53:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885291008001,"66":12406,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885291008001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:53:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:53:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885291008001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":174548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:53:50] local.INFO: GPS data processed {"connection_id":174548,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:53:50] local.INFO: Acknowledgment sent {"connection_id":174548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:53:55] local.INFO: TCP Data received {"connection_id":172105,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:53:55] local.INFO: Processing buffer {"connection_id":172105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:53:55] local.INFO: IMEI packet received {"connection_id":172105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":172105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:53:56] local.INFO: TCP Data received {"connection_id":173230,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071bca2d8012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071bca2d8012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:53:56] local.INFO: Processing buffer {"connection_id":173230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071bca2d8012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:53:56] local.INFO: Packet analysis {"connection_id":173230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071bc"} 
[2026-09-05 18:53:56] local.INFO: Extracted packet for processing {"connection_id":173230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071bc"} 
[2026-09-05 18:53:56] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291296,"longitude_deg":76.310336,"latitude_deg":9.6291296,"altitude":9,"angle":249,"satellites":45,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd49e0","is_valid_coordinates":true} 
[2026-09-05 18:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885278720001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937534222655676416,"note":"Value kept but may cause issues"} 
[2026-09-05 18:53:56] 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-09-05 18:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788614583000,"timestamp_ms":1788614583000,"timestamp_seconds":1788614583,"priority":1,"record_length":96,"hex_timestamp":"000001a071bca2d8"} 
[2026-09-05 18:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 18:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-05 18:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885278720001,"66":2568,"197":206,"85":12544,"24":0,"16":128712919956324352,"45":8937534222655676416},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885278720001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:53:56] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:53:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712919956324352,"km_value":128712919956324.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937534222655676416,"description":"Unknown IO ID 45"} 
[2026-09-05 18:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885278720001,"power":2568,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937534222655676416}} 
[2026-09-05 18:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":173230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770707,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:53:56] local.INFO: GPS data processed {"connection_id":173230,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:53:56] local.INFO: Acknowledgment sent {"connection_id":173230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:54:01] local.INFO: TCP Data received {"connection_id":172105,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:54:01] local.INFO: Processing buffer {"connection_id":172105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:54:01] local.INFO: IMEI packet received {"connection_id":172105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":172105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:54:01] local.INFO: TCP Data received {"connection_id":172105,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071b9fb28012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b9fb28012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:54:01] local.INFO: Processing buffer {"connection_id":172105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b9fb28012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:54:01] local.INFO: Packet analysis {"connection_id":172105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:54:01] local.INFO: Extracted packet for processing {"connection_id":172105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:54:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885211648001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788614409000,"timestamp_ms":1788614409000,"timestamp_seconds":1788614409,"priority":1,"record_length":96,"hex_timestamp":"000001a071b9fb28"} 
[2026-09-05 18:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:54:01] 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-09-05 18:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885211648001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885211648001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:54:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:54:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885211648001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":172105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:54:01] local.INFO: GPS data processed {"connection_id":172105,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:54:01] local.INFO: Acknowledgment sent {"connection_id":172105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:54:19] local.INFO: TCP Data received {"connection_id":174549,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174549,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:54:19] local.INFO: Processing buffer {"connection_id":174549,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:54:19] local.INFO: IMEI packet received {"connection_id":174549,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":174549,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:54:21] local.INFO: TCP Data received {"connection_id":174548,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071bac260012d196740071fecc8003b01152d..."} 
[2026-09-05 18:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071bac260012d196740071fecc8003b01152d..."} 
[2026-09-05 18:54:21] local.INFO: Processing buffer {"connection_id":174548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071bac260012d196740071fecc8003b01152d..."} 
[2026-09-05 18:54:21] local.INFO: Packet analysis {"connection_id":174548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ba"} 
[2026-09-05 18:54:21] local.INFO: Extracted packet for processing {"connection_id":174548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ba"} 
[2026-09-05 18:54:21] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885296384001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788614460000,"timestamp_ms":1788614460000,"timestamp_seconds":1788614460,"priority":1,"record_length":96,"hex_timestamp":"000001a071bac260"} 
[2026-09-05 18:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:54: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-09-05 18:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 18:54:21] 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-09-05 18:54:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885296384001,"66":12428,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885296384001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:54:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:54:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885296384001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":174548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:54:21] local.INFO: GPS data processed {"connection_id":174548,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:54:21] local.INFO: Acknowledgment sent {"connection_id":174548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:54:24] local.INFO: TCP Data received {"connection_id":174549,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174549,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:54:24] local.INFO: Processing buffer {"connection_id":174549,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:54:24] local.INFO: IMEI packet received {"connection_id":174549,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":174549,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:54:25] local.INFO: TCP Data received {"connection_id":174549,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071bca2d8012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071bca2d8012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:54:25] local.INFO: Processing buffer {"connection_id":174549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071bca2d8012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:54:25] local.INFO: Packet analysis {"connection_id":174549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071bc"} 
[2026-09-05 18:54:25] local.INFO: Extracted packet for processing {"connection_id":174549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071bc"} 
[2026-09-05 18:54:25] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291296,"longitude_deg":76.310336,"latitude_deg":9.6291296,"altitude":9,"angle":249,"satellites":45,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd49e0","is_valid_coordinates":true} 
[2026-09-05 18:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885278720001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937534222655676416,"note":"Value kept but may cause issues"} 
[2026-09-05 18:54:25] 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-09-05 18:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788614583000,"timestamp_ms":1788614583000,"timestamp_seconds":1788614583,"priority":1,"record_length":96,"hex_timestamp":"000001a071bca2d8"} 
[2026-09-05 18:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 18:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-05 18:54:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:54:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885278720001,"66":2568,"197":206,"85":12544,"24":0,"16":128712919956324352,"45":8937534222655676416},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885278720001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:54:25] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:54:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712919956324352,"km_value":128712919956324.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937534222655676416,"description":"Unknown IO ID 45"} 
[2026-09-05 18:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885278720001,"power":2568,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937534222655676416}} 
[2026-09-05 18:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":174549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770710,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:54:25] local.INFO: GPS data processed {"connection_id":174549,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:54:25] local.INFO: Acknowledgment sent {"connection_id":174549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:54:32] local.INFO: TCP Data received {"connection_id":172105,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071b9fb28012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b9fb28012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:54:32] local.INFO: Processing buffer {"connection_id":172105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b9fb28012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:54:32] local.INFO: Packet analysis {"connection_id":172105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:54:32] local.INFO: Extracted packet for processing {"connection_id":172105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:54:32] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885211648001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788614409000,"timestamp_ms":1788614409000,"timestamp_seconds":1788614409,"priority":1,"record_length":96,"hex_timestamp":"000001a071b9fb28"} 
[2026-09-05 18:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 18:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885211648001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885211648001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:54:32] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:54:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885211648001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":172105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:54:32] local.INFO: GPS data processed {"connection_id":172105,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:54:32] local.INFO: Acknowledgment sent {"connection_id":172105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:54:47] local.INFO: TCP Data received {"connection_id":174550,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:54:47] local.INFO: Processing buffer {"connection_id":174550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:54:47] local.INFO: IMEI packet received {"connection_id":174550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":174550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:54:49] local.INFO: TCP Data received {"connection_id":174550,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:54:49] local.INFO: Processing buffer {"connection_id":174550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:54:49] local.INFO: IMEI packet received {"connection_id":174550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":174550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:54:54] local.INFO: TCP Data received {"connection_id":174550,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:54:54] local.INFO: Processing buffer {"connection_id":174550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:54:54] local.INFO: IMEI packet received {"connection_id":174550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":174550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:54:55] local.INFO: TCP Data received {"connection_id":174550,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071bb1468012d196740071fecc8003b01152e..."} 
[2026-09-05 18:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071bb1468012d196740071fecc8003b01152e..."} 
[2026-09-05 18:54:55] local.INFO: Processing buffer {"connection_id":174550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071bb1468012d196740071fecc8003b01152e..."} 
[2026-09-05 18:54:55] local.INFO: Packet analysis {"connection_id":174550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071bb"} 
[2026-09-05 18:54:55] local.INFO: Extracted packet for processing {"connection_id":174550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071bb"} 
[2026-09-05 18:54:55] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885301760001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788614481000,"timestamp_ms":1788614481000,"timestamp_seconds":1788614481,"priority":1,"record_length":96,"hex_timestamp":"000001a071bb1468"} 
[2026-09-05 18:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 18:54:55] 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-09-05 18:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885301760001,"66":12428,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885301760001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:54:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:54:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885301760001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":174550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:54:55] local.INFO: GPS data processed {"connection_id":174550,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:54:55] local.INFO: Acknowledgment sent {"connection_id":174550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:54:56] local.INFO: TCP Data received {"connection_id":174549,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071bca2d8012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071bca2d8012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:54:56] local.INFO: Processing buffer {"connection_id":174549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071bca2d8012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:54:56] local.INFO: Packet analysis {"connection_id":174549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071bc"} 
[2026-09-05 18:54:56] local.INFO: Extracted packet for processing {"connection_id":174549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071bc"} 
[2026-09-05 18:54:56] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291296,"longitude_deg":76.310336,"latitude_deg":9.6291296,"altitude":9,"angle":249,"satellites":45,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd49e0","is_valid_coordinates":true} 
[2026-09-05 18:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885278720001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937534222655676416,"note":"Value kept but may cause issues"} 
[2026-09-05 18:54:56] 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-09-05 18:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788614583000,"timestamp_ms":1788614583000,"timestamp_seconds":1788614583,"priority":1,"record_length":96,"hex_timestamp":"000001a071bca2d8"} 
[2026-09-05 18:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 18:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-05 18:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885278720001,"66":2568,"197":206,"85":12544,"24":0,"16":128712919956324352,"45":8937534222655676416},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885278720001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:54:56] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:54:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712919956324352,"km_value":128712919956324.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937534222655676416,"description":"Unknown IO ID 45"} 
[2026-09-05 18:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885278720001,"power":2568,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937534222655676416}} 
[2026-09-05 18:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":174549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770713,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:54:56] local.INFO: GPS data processed {"connection_id":174549,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:54:56] local.INFO: Acknowledgment sent {"connection_id":174549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:54:57] local.INFO: TCP Data received {"connection_id":174551,"ip":"117.224.170.188","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:54:57] local.INFO: Processing buffer {"connection_id":174551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:54:57] local.INFO: IMEI packet received {"connection_id":174551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 18:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":174551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:54:58] local.INFO: TCP Data received {"connection_id":174551,"ip":"117.224.170.188","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:54:58] local.INFO: Processing buffer {"connection_id":174551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:54:58] local.INFO: IMEI packet received {"connection_id":174551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 18:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":174551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:54:59] local.INFO: TCP Data received {"connection_id":174551,"ip":"117.224.170.188","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:54:59] local.INFO: Processing buffer {"connection_id":174551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:54:59] local.INFO: IMEI packet received {"connection_id":174551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 18:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":174551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:54:59] local.INFO: TCP Data received {"connection_id":174550,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071bb6670012d196740071fecc8003b01152d..."} 
[2026-09-05 18:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071bb6670012d196740071fecc8003b01152d..."} 
[2026-09-05 18:54:59] local.INFO: Processing buffer {"connection_id":174550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071bb6670012d196740071fecc8003b01152d..."} 
[2026-09-05 18:54:59] local.INFO: Packet analysis {"connection_id":174550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071bb"} 
[2026-09-05 18:54:59] local.INFO: Extracted packet for processing {"connection_id":174550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071bb"} 
[2026-09-05 18:54:59] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885307136001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788614502000,"timestamp_ms":1788614502000,"timestamp_seconds":1788614502,"priority":1,"record_length":96,"hex_timestamp":"000001a071bb6670"} 
[2026-09-05 18:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 18:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885307136001,"66":12406,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885307136001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:54:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:54:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885307136001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":174550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:55:00] local.INFO: GPS data processed {"connection_id":174550,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:55:00] local.INFO: Acknowledgment sent {"connection_id":174550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:55:01] local.INFO: TCP Data received {"connection_id":173231,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:55:01] local.INFO: Processing buffer {"connection_id":173231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:55:01] local.INFO: IMEI packet received {"connection_id":173231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":173231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:55:01] local.INFO: TCP Data received {"connection_id":174551,"ip":"117.224.170.188","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:55:01] local.INFO: Processing buffer {"connection_id":174551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:55:01] local.INFO: IMEI packet received {"connection_id":174551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 18:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":174551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:55:02] local.INFO: TCP Data received {"connection_id":174551,"ip":"117.224.170.188","data_length":795,"data_hex":"000000000000030f8e0a000001a071bd3360012c51c80008b63bd00009011b28..."} 
[2026-09-05 18:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071bd3360012c51c80008b63bd00009011b28..."} 
[2026-09-05 18:55:02] local.INFO: Processing buffer {"connection_id":174551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071bd3360012c51c80008b63bd00009011b28..."} 
[2026-09-05 18:55:02] local.INFO: Packet analysis {"connection_id":174551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071bd"} 
[2026-09-05 18:55:02] local.INFO: Extracted packet for processing {"connection_id":174551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071bd"} 
[2026-09-05 18:55:02] local.INFO: GPS Element Parsed {"raw_longitude":743557120,"raw_latitude":146160592,"longitude_deg":74.355712,"latitude_deg":14.6160592,"altitude":9,"angle":283,"satellites":40,"speed":35,"hex_longitude":"2c51c800","hex_latitude":"08b63bd0","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885341184001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1608993533329408,"note":"Value kept but may cause issues"} 
[2026-09-05 18:55:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5898871124341866496,"note":"Value kept but may cause issues"} 
[2026-09-05 18:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788614620000,"timestamp_ms":1788614620000,"timestamp_seconds":1788614620,"priority":1,"record_length":96,"hex_timestamp":"000001a071bd3360"} 
[2026-09-05 18:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18: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":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-05 18:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18: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-09-05 18:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 18:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 18:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.170.188","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 18:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 18:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885341184001,"66":28126,"134":206,"9":55808,"24":35,"16":1608993533329408,"44":5898871124341866496},"client_ip":"117.224.170.188","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,9,24,16,44]} 
[2026-09-05 18:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 18:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 18:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885341184001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:55:02] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-09-05 18:55:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 18:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1608993533329408,"km_value":1608993533329.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:55:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":5898871124341866496,"description":"Unknown IO ID 44"} 
[2026-09-05 18:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885341184001,"power":28126,"unknown_134":206,"unknown_9":55808,"ignition":35,"odometer":null,"unknown_44":5898871124341866496}} 
[2026-09-05 18:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":174551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770715,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:55:02] local.INFO: GPS data processed {"connection_id":174551,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:55:02] local.INFO: Acknowledgment sent {"connection_id":174551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:55:04] local.INFO: TCP Data received {"connection_id":174551,"ip":"117.224.170.188","data_length":795,"data_hex":"000000000000030f8e0a000001a071bd4300012c51ba0008b63d60000801102a..."} 
[2026-09-05 18:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071bd4300012c51ba0008b63d60000801102a..."} 
[2026-09-05 18:55:04] local.INFO: Processing buffer {"connection_id":174551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071bd4300012c51ba0008b63d60000801102a..."} 
[2026-09-05 18:55:04] local.INFO: Packet analysis {"connection_id":174551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071bd"} 
[2026-09-05 18:55:04] local.INFO: Extracted packet for processing {"connection_id":174551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071bd"} 
[2026-09-05 18:55:04] local.INFO: GPS Element Parsed {"raw_longitude":743553536,"raw_latitude":146160992,"longitude_deg":74.3553536,"latitude_deg":14.6160992,"altitude":8,"angle":272,"satellites":42,"speed":32,"hex_longitude":"2c51ba00","hex_latitude":"08b63d60","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885342720001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1609165332021248,"note":"Value kept but may cause issues"} 
[2026-09-05 18:55:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5892960149831405568,"note":"Value kept but may cause issues"} 
[2026-09-05 18:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788614624000,"timestamp_ms":1788614624000,"timestamp_seconds":1788614624,"priority":1,"record_length":96,"hex_timestamp":"000001a071bd4300"} 
[2026-09-05 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-09-05 18:55: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-09-05 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":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-05 18:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 18:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 18:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 18:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.170.188","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 18:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 18:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885342720001,"66":28224,"134":206,"9":55808,"24":32,"16":1609165332021248,"44":5892960149831405568},"client_ip":"117.224.170.188","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,9,24,16,44]} 
[2026-09-05 18:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 18:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 18:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885342720001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:55:04] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-09-05 18:55:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 18:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1609165332021248,"km_value":1609165332021.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:55:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":5892960149831405568,"description":"Unknown IO ID 44"} 
[2026-09-05 18:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885342720001,"power":28224,"unknown_134":206,"unknown_9":55808,"ignition":32,"odometer":null,"unknown_44":5892960149831405568}} 
[2026-09-05 18:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":174551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770716,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:55:04] local.INFO: GPS data processed {"connection_id":174551,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:55:04] local.INFO: Acknowledgment sent {"connection_id":174551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:55:06] local.INFO: TCP Data received {"connection_id":173231,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:55:06] local.INFO: Processing buffer {"connection_id":173231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:55:06] local.INFO: IMEI packet received {"connection_id":173231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":173231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:55:07] local.INFO: TCP Data received {"connection_id":173231,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071b9fb28012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b9fb28012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:55:07] local.INFO: Processing buffer {"connection_id":173231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b9fb28012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:55:07] local.INFO: Packet analysis {"connection_id":173231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:55:07] local.INFO: Extracted packet for processing {"connection_id":173231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:55:07] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885211648001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788614409000,"timestamp_ms":1788614409000,"timestamp_seconds":1788614409,"priority":1,"record_length":96,"hex_timestamp":"000001a071b9fb28"} 
[2026-09-05 18:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18: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-09-05 18: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:55:07] 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-09-05 18: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-09-05 18:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885211648001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885211648001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:55:07] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:55:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885211648001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":173231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:55:07] local.INFO: GPS data processed {"connection_id":173231,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:55:07] local.INFO: Acknowledgment sent {"connection_id":173231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:55:11] local.INFO: TCP Data received {"connection_id":173231,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071b9fb28012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071b9fb28012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:55:11] local.INFO: Processing buffer {"connection_id":173231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071b9fb28012d7b850005f5f278000900f62d..."} 
[2026-09-05 18:55:11] local.INFO: Packet analysis {"connection_id":173231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:55:11] local.INFO: Extracted packet for processing {"connection_id":173231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071b9"} 
[2026-09-05 18:55:11] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885211648001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788614409000,"timestamp_ms":1788614409000,"timestamp_seconds":1788614409,"priority":1,"record_length":96,"hex_timestamp":"000001a071b9fb28"} 
[2026-09-05 18:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:55: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-09-05 18:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:55: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-09-05 18:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885211648001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885211648001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:55:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:55:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885211648001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":173231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:55:11] local.INFO: GPS data processed {"connection_id":173231,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:55:11] local.INFO: Acknowledgment sent {"connection_id":173231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:55:11] local.INFO: TCP Data received {"connection_id":174551,"ip":"117.224.170.188","data_length":795,"data_hex":"000000000000030f8e0a000001a071bd6df8012c5194c008b63ec00008010e2b..."} 
[2026-09-05 18:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071bd6df8012c5194c008b63ec00008010e2b..."} 
[2026-09-05 18:55:11] local.INFO: Processing buffer {"connection_id":174551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071bd6df8012c5194c008b63ec00008010e2b..."} 
[2026-09-05 18:55:11] local.INFO: Packet analysis {"connection_id":174551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071bd"} 
[2026-09-05 18:55:11] local.INFO: Extracted packet for processing {"connection_id":174551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071bd"} 
[2026-09-05 18:55:11] local.INFO: GPS Element Parsed {"raw_longitude":743544000,"raw_latitude":146161344,"longitude_deg":74.3544,"latitude_deg":14.6161344,"altitude":8,"angle":270,"satellites":43,"speed":35,"hex_longitude":"2c5194c0","hex_latitude":"08b63ec0","is_valid_coordinates":true} 
[2026-09-05 18:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885343744001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1609612008620032,"note":"Value kept but may cause issues"} 
[2026-09-05 18:55:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5889019500157558784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788614635000,"timestamp_ms":1788614635000,"timestamp_seconds":1788614635,"priority":1,"record_length":96,"hex_timestamp":"000001a071bd6df8"} 
[2026-09-05 18:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-05 18:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 18:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 18:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.170.188","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 18:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 18:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885343744001,"66":28137,"84":206,"9":55808,"24":35,"16":1609612008620032,"44":5889019500157558784},"client_ip":"117.224.170.188","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,9,24,16,44]} 
[2026-09-05 18:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 18:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 18:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885343744001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:55:11] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-05 18:55:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 18:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1609612008620032,"km_value":1609612008620.032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:55:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":5889019500157558784,"description":"Unknown IO ID 44"} 
[2026-09-05 18:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885343744001,"power":28137,"unknown_84":206,"unknown_9":55808,"ignition":35,"odometer":null,"unknown_44":5889019500157558784}} 
[2026-09-05 18:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":174551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770719,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:55:11] local.INFO: GPS data processed {"connection_id":174551,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:55:11] local.INFO: Acknowledgment sent {"connection_id":174551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:55:19] local.INFO: TCP Data received {"connection_id":173232,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173232,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:55:19] local.INFO: Processing buffer {"connection_id":173232,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:55:19] local.INFO: IMEI packet received {"connection_id":173232,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-05 18:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":173232,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:55:24] local.INFO: TCP Data received {"connection_id":173232,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173232,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:55:24] local.INFO: Processing buffer {"connection_id":173232,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-05 18:55:24] local.INFO: IMEI packet received {"connection_id":173232,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-05 18:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":173232,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:55:25] local.INFO: TCP Data received {"connection_id":173232,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071bca2d8012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071bca2d8012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:55:25] local.INFO: Processing buffer {"connection_id":173232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071bca2d8012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:55:25] local.INFO: Packet analysis {"connection_id":173232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071bc"} 
[2026-09-05 18:55:25] local.INFO: Extracted packet for processing {"connection_id":173232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071bc"} 
[2026-09-05 18:55:25] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291296,"longitude_deg":76.310336,"latitude_deg":9.6291296,"altitude":9,"angle":249,"satellites":45,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd49e0","is_valid_coordinates":true} 
[2026-09-05 18:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885278720001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937534222655676416,"note":"Value kept but may cause issues"} 
[2026-09-05 18:55:25] 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-09-05 18:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788614583000,"timestamp_ms":1788614583000,"timestamp_seconds":1788614583,"priority":1,"record_length":96,"hex_timestamp":"000001a071bca2d8"} 
[2026-09-05 18:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 18:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-05 18:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:55:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885278720001,"66":2568,"197":206,"85":12544,"24":0,"16":128712919956324352,"45":8937534222655676416},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885278720001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:55:25] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:55:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712919956324352,"km_value":128712919956324.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937534222655676416,"description":"Unknown IO ID 45"} 
[2026-09-05 18:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885278720001,"power":2568,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937534222655676416}} 
[2026-09-05 18:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":173232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770720,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:55:25] local.INFO: GPS data processed {"connection_id":173232,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:55:25] local.INFO: Acknowledgment sent {"connection_id":173232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:55:44] local.INFO: TCP Data received {"connection_id":172106,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:55:44] local.INFO: Processing buffer {"connection_id":172106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:55:44] local.INFO: IMEI packet received {"connection_id":172106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":172106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:55:47] local.INFO: TCP Data received {"connection_id":172107,"ip":"117.224.170.188","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172107,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:55:47] local.INFO: Processing buffer {"connection_id":172107,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:55:47] local.INFO: IMEI packet received {"connection_id":172107,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 18:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":172107,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:55:49] local.INFO: TCP Data received {"connection_id":172107,"ip":"117.224.170.188","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172107,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:55:49] local.INFO: Processing buffer {"connection_id":172107,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:55:49] local.INFO: IMEI packet received {"connection_id":172107,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 18:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":172107,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:55:49] local.INFO: TCP Data received {"connection_id":172106,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:55:49] local.INFO: Processing buffer {"connection_id":172106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:55:49] local.INFO: IMEI packet received {"connection_id":172106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":172106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:55:50] local.INFO: TCP Data received {"connection_id":172106,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071bbb878012d196740071fecc8003b01152d..."} 
[2026-09-05 18:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071bbb878012d196740071fecc8003b01152d..."} 
[2026-09-05 18:55:50] local.INFO: Processing buffer {"connection_id":172106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071bbb878012d196740071fecc8003b01152d..."} 
[2026-09-05 18:55:50] local.INFO: Packet analysis {"connection_id":172106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071bb"} 
[2026-09-05 18:55:50] local.INFO: Extracted packet for processing {"connection_id":172106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071bb"} 
[2026-09-05 18:55:50] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885312512001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788614523000,"timestamp_ms":1788614523000,"timestamp_seconds":1788614523,"priority":1,"record_length":96,"hex_timestamp":"000001a071bbb878"} 
[2026-09-05 18:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:55: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-09-05 18:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 18:55:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:55:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885312512001,"66":12374,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885312512001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:55:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:55:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885312512001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":172106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:55:50] local.INFO: GPS data processed {"connection_id":172106,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:55:50] local.INFO: Acknowledgment sent {"connection_id":172106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:55:52] local.INFO: TCP Data received {"connection_id":172107,"ip":"117.224.170.188","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172107,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:55:52] local.INFO: Processing buffer {"connection_id":172107,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:55:52] local.INFO: IMEI packet received {"connection_id":172107,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 18:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":172107,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:55:53] local.INFO: TCP Data received {"connection_id":172107,"ip":"117.224.170.188","data_length":795,"data_hex":"000000000000030f8e0a000001a071bd9508012c51714008b641500007011a27..."} 
[2026-09-05 18:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071bd9508012c51714008b641500007011a27..."} 
[2026-09-05 18:55:53] local.INFO: Processing buffer {"connection_id":172107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071bd9508012c51714008b641500007011a27..."} 
[2026-09-05 18:55:53] local.INFO: Packet analysis {"connection_id":172107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071bd"} 
[2026-09-05 18:55:53] local.INFO: Extracted packet for processing {"connection_id":172107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071bd"} 
[2026-09-05 18:55:53] local.INFO: GPS Element Parsed {"raw_longitude":743534912,"raw_latitude":146162000,"longitude_deg":74.3534912,"latitude_deg":14.6162,"altitude":7,"angle":282,"satellites":39,"speed":34,"hex_longitude":"2c517140","hex_latitude":"08b64150","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885346560001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1610037210382336,"note":"Value kept but may cause issues"} 
[2026-09-05 18:55:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5878534557275176960,"note":"Value kept but may cause issues"} 
[2026-09-05 18:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788614645000,"timestamp_ms":1788614645000,"timestamp_seconds":1788614645,"priority":1,"record_length":96,"hex_timestamp":"000001a071bd9508"} 
[2026-09-05 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-09-05 18:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 18:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 18:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172107,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 18:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172107,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 18:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.170.188","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 18:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 18:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885346560001,"66":28137,"84":206,"9":55808,"24":34,"16":1610037210382336,"44":5878534557275176960},"client_ip":"117.224.170.188","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,9,24,16,44]} 
[2026-09-05 18:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 18:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 18:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885346560001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:55:53] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-05 18:55:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 18:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1610037210382336,"km_value":1610037210382.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:55:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":5878534557275176960,"description":"Unknown IO ID 44"} 
[2026-09-05 18:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885346560001,"power":28137,"unknown_84":206,"unknown_9":55808,"ignition":34,"odometer":null,"unknown_44":5878534557275176960}} 
[2026-09-05 18:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":172107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770722,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:55:53] local.INFO: GPS data processed {"connection_id":172107,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:55:53] local.INFO: Acknowledgment sent {"connection_id":172107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:55:56] local.INFO: TCP Data received {"connection_id":174552,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:55:56] local.INFO: Processing buffer {"connection_id":174552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:55:56] local.INFO: IMEI packet received {"connection_id":174552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":174552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:55:56] local.INFO: TCP Data received {"connection_id":173232,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071bca2d8012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071bca2d8012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:55:56] local.INFO: Processing buffer {"connection_id":173232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071bca2d8012d7c088005bd49e0000900f92d..."} 
[2026-09-05 18:55:56] local.INFO: Packet analysis {"connection_id":173232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071bc"} 
[2026-09-05 18:55:56] local.INFO: Extracted packet for processing {"connection_id":173232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071bc"} 
[2026-09-05 18:55:56] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291296,"longitude_deg":76.310336,"latitude_deg":9.6291296,"altitude":9,"angle":249,"satellites":45,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd49e0","is_valid_coordinates":true} 
[2026-09-05 18:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885278720001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-05 18:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937534222655676416,"note":"Value kept but may cause issues"} 
[2026-09-05 18:55:56] 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-09-05 18:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788614583000,"timestamp_ms":1788614583000,"timestamp_seconds":1788614583,"priority":1,"record_length":96,"hex_timestamp":"000001a071bca2d8"} 
[2026-09-05 18:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 18:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-05 18:55:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-05 18:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-05 18:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-05 18:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885278720001,"66":2568,"197":206,"85":12544,"24":0,"16":128712919956324352,"45":8937534222655676416},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-05 18:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-05 18:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-05 18:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885278720001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:55:56] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-05 18:55:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-09-05 18:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128712919956324352,"km_value":128712919956324.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937534222655676416,"description":"Unknown IO ID 45"} 
[2026-09-05 18:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885278720001,"power":2568,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937534222655676416}} 
[2026-09-05 18:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":173232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770723,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:55:56] local.INFO: GPS data processed {"connection_id":173232,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:55:56] local.INFO: Acknowledgment sent {"connection_id":173232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:56:01] local.INFO: TCP Data received {"connection_id":174552,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:56:01] local.INFO: Processing buffer {"connection_id":174552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:56:01] local.INFO: IMEI packet received {"connection_id":174552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":174552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:56:01] local.INFO: TCP Data received {"connection_id":174552,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a071be92f0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071be92f0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:56:01] local.INFO: Processing buffer {"connection_id":174552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071be92f0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:56:01] local.INFO: Packet analysis {"connection_id":174552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071be"} 
[2026-09-05 18:56:01] local.INFO: Extracted packet for processing {"connection_id":174552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071be"} 
[2026-09-05 18:56:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885288704001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788614710000,"timestamp_ms":1788614710000,"timestamp_seconds":1788614710,"priority":1,"record_length":96,"hex_timestamp":"000001a071be92f0"} 
[2026-09-05 18:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:56:01] 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-09-05 18:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:56:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885288704001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885288704001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:56:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:56:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885288704001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":174552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:56:01] local.INFO: GPS data processed {"connection_id":174552,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:56:01] local.INFO: Acknowledgment sent {"connection_id":174552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:56:21] local.INFO: TCP Data received {"connection_id":172106,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071bc0a80012d196740071fecc8003b01152f..."} 
[2026-09-05 18:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071bc0a80012d196740071fecc8003b01152f..."} 
[2026-09-05 18:56:21] local.INFO: Processing buffer {"connection_id":172106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071bc0a80012d196740071fecc8003b01152f..."} 
[2026-09-05 18:56:21] local.INFO: Packet analysis {"connection_id":172106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071bc"} 
[2026-09-05 18:56:21] local.INFO: Extracted packet for processing {"connection_id":172106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071bc"} 
[2026-09-05 18:56:21] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885317888001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788614544000,"timestamp_ms":1788614544000,"timestamp_seconds":1788614544,"priority":1,"record_length":96,"hex_timestamp":"000001a071bc0a80"} 
[2026-09-05 18:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:56: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-09-05 18: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 18:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18: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-09-05 18:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885317888001,"66":12374,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885317888001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:56:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:56:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885317888001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":172106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:56:21] local.INFO: GPS data processed {"connection_id":172106,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:56:21] local.INFO: Acknowledgment sent {"connection_id":172106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:56:25] local.INFO: TCP Data received {"connection_id":172107,"ip":"117.224.170.188","data_length":795,"data_hex":"000000000000030f8e0a000001a071bea678012c50f44008b719200005013f2b..."} 
[2026-09-05 18:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071bea678012c50f44008b719200005013f2b..."} 
[2026-09-05 18:56:25] local.INFO: Processing buffer {"connection_id":172107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071bea678012c50f44008b719200005013f2b..."} 
[2026-09-05 18:56:25] local.INFO: Packet analysis {"connection_id":172107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071be"} 
[2026-09-05 18:56:25] local.INFO: Extracted packet for processing {"connection_id":172107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071be"} 
[2026-09-05 18:56:25] local.INFO: GPS Element Parsed {"raw_longitude":743502912,"raw_latitude":146217248,"longitude_deg":74.3502912,"latitude_deg":14.6217248,"altitude":5,"angle":319,"satellites":43,"speed":31,"hex_longitude":"2c50f440","hex_latitude":"08b71920","is_valid_coordinates":true} 
[2026-09-05 18:56: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-09-05 18:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885366016001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1613236961017856,"note":"Value kept but may cause issues"} 
[2026-09-05 18:56:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5835398517107847168,"note":"Value kept but may cause issues"} 
[2026-09-05 18:56:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788614715000,"timestamp_ms":1788614715000,"timestamp_seconds":1788614715,"priority":1,"record_length":96,"hex_timestamp":"000001a071bea678"} 
[2026-09-05 18:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:56:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 18:56:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:56: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-09-05 18:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172107,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 18:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172107,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 18:56:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.170.188","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 18:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 18:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885366016001,"66":28137,"84":206,"9":55808,"24":31,"16":1613236961017856,"44":5835398517107847168},"client_ip":"117.224.170.188","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,9,24,16,44]} 
[2026-09-05 18:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 18:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 18:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885366016001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:56:25] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-05 18:56:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 18:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1613236961017856,"km_value":1613236961017.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:56:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":5835398517107847168,"description":"Unknown IO ID 44"} 
[2026-09-05 18:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885366016001,"power":28137,"unknown_84":206,"unknown_9":55808,"ignition":31,"odometer":null,"unknown_44":5835398517107847168}} 
[2026-09-05 18:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":172107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770726,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:56:25] local.INFO: GPS data processed {"connection_id":172107,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:56:25] local.INFO: Acknowledgment sent {"connection_id":172107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:56:32] local.INFO: TCP Data received {"connection_id":174552,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a071be92f0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071be92f0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:56:32] local.INFO: Processing buffer {"connection_id":174552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071be92f0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:56:32] local.INFO: Packet analysis {"connection_id":174552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071be"} 
[2026-09-05 18:56:32] local.INFO: Extracted packet for processing {"connection_id":174552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071be"} 
[2026-09-05 18:56:32] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885288704001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788614710000,"timestamp_ms":1788614710000,"timestamp_seconds":1788614710,"priority":1,"record_length":96,"hex_timestamp":"000001a071be92f0"} 
[2026-09-05 18:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 18: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":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18: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-09-05 18:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885288704001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885288704001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:56:32] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:56:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885288704001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":174552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:56:32] local.INFO: GPS data processed {"connection_id":174552,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:56:32] local.INFO: Acknowledgment sent {"connection_id":174552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:56:44] local.INFO: TCP Data received {"connection_id":171843,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:56:44] local.INFO: Processing buffer {"connection_id":171843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:56:44] local.INFO: IMEI packet received {"connection_id":171843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":171843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:56:46] local.INFO: TCP Data received {"connection_id":172108,"ip":"117.224.170.188","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172108,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:56:46] local.INFO: Processing buffer {"connection_id":172108,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:56:46] local.INFO: IMEI packet received {"connection_id":172108,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 18:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":172108,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:56:49] local.INFO: TCP Data received {"connection_id":171843,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:56:49] local.INFO: Processing buffer {"connection_id":171843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:56:49] local.INFO: IMEI packet received {"connection_id":171843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":171843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:56:50] local.INFO: TCP Data received {"connection_id":171843,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071bc5c88012d196740071fecc8003b01152e..."} 
[2026-09-05 18:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071bc5c88012d196740071fecc8003b01152e..."} 
[2026-09-05 18:56:50] local.INFO: Processing buffer {"connection_id":171843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071bc5c88012d196740071fecc8003b01152e..."} 
[2026-09-05 18:56:50] local.INFO: Packet analysis {"connection_id":171843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071bc"} 
[2026-09-05 18:56:50] local.INFO: Extracted packet for processing {"connection_id":171843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071bc"} 
[2026-09-05 18:56:50] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885323264001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788614565000,"timestamp_ms":1788614565000,"timestamp_seconds":1788614565,"priority":1,"record_length":96,"hex_timestamp":"000001a071bc5c88"} 
[2026-09-05 18:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:56: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-09-05 18:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 18:56:50] 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-09-05 18:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885323264001,"66":12406,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885323264001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:56:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:56:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885323264001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":171843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:56:50] local.INFO: GPS data processed {"connection_id":171843,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:56:50] local.INFO: Acknowledgment sent {"connection_id":171843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:56:52] local.INFO: TCP Data received {"connection_id":172108,"ip":"117.224.170.188","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172108,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:56:52] local.INFO: Processing buffer {"connection_id":172108,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:56:52] local.INFO: IMEI packet received {"connection_id":172108,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 18:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":172108,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:56:53] local.INFO: TCP Data received {"connection_id":172108,"ip":"117.224.170.188","data_length":795,"data_hex":"000000000000030f8e0a000001a071bed558012c50d74008b73170000d01352b..."} 
[2026-09-05 18:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071bed558012c50d74008b73170000d01352b..."} 
[2026-09-05 18:56:53] local.INFO: Processing buffer {"connection_id":172108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071bed558012c50d74008b73170000d01352b..."} 
[2026-09-05 18:56:53] local.INFO: Packet analysis {"connection_id":172108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071be"} 
[2026-09-05 18:56:53] local.INFO: Extracted packet for processing {"connection_id":172108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071be"} 
[2026-09-05 18:56:53] local.INFO: GPS Element Parsed {"raw_longitude":743495488,"raw_latitude":146223472,"longitude_deg":74.3495488,"latitude_deg":14.6223472,"altitude":13,"angle":309,"satellites":43,"speed":27,"hex_longitude":"2c50d740","hex_latitude":"08b73170","is_valid_coordinates":true} 
[2026-09-05 18:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885367040001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1613696522518528,"note":"Value kept but may cause issues"} 
[2026-09-05 18:56:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5833357823527428096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788614727000,"timestamp_ms":1788614727000,"timestamp_seconds":1788614727,"priority":1,"record_length":96,"hex_timestamp":"000001a071bed558"} 
[2026-09-05 18:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 18:56:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172108,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 18:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172108,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 18:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.170.188","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 18:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 18:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885367040001,"66":28137,"84":206,"9":55808,"24":27,"16":1613696522518528,"44":5833357823527428096},"client_ip":"117.224.170.188","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,9,24,16,44]} 
[2026-09-05 18:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 18:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 18:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885367040001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:56:53] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-05 18:56:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 18:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1613696522518528,"km_value":1613696522518.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:56:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":5833357823527428096,"description":"Unknown IO ID 44"} 
[2026-09-05 18:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885367040001,"power":28137,"unknown_84":206,"unknown_9":55808,"ignition":27,"odometer":null,"unknown_44":5833357823527428096}} 
[2026-09-05 18:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":172108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770729,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:56:53] local.INFO: GPS data processed {"connection_id":172108,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:56:53] local.INFO: Acknowledgment sent {"connection_id":172108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:56:55] local.INFO: TCP Data received {"connection_id":172109,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:56:55] local.INFO: Processing buffer {"connection_id":172109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:56:55] local.INFO: IMEI packet received {"connection_id":172109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":172109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:57:01] local.INFO: TCP Data received {"connection_id":172109,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:57:01] local.INFO: Processing buffer {"connection_id":172109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:57:01] local.INFO: IMEI packet received {"connection_id":172109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":172109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:57:02] local.INFO: TCP Data received {"connection_id":172109,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071be92f0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071be92f0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:57:02] local.INFO: Processing buffer {"connection_id":172109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071be92f0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:57:02] local.INFO: Packet analysis {"connection_id":172109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071be"} 
[2026-09-05 18:57:02] local.INFO: Extracted packet for processing {"connection_id":172109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071be"} 
[2026-09-05 18:57:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885288704001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788614710000,"timestamp_ms":1788614710000,"timestamp_seconds":1788614710,"priority":1,"record_length":96,"hex_timestamp":"000001a071be92f0"} 
[2026-09-05 18:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:57:02] 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-09-05 18:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885288704001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885288704001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:57:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:57:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885288704001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":172109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:57:02] local.INFO: GPS data processed {"connection_id":172109,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:57:02] local.INFO: Acknowledgment sent {"connection_id":172109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:57:21] local.INFO: TCP Data received {"connection_id":171843,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071bcae90012d196740071fecc8003b01152d..."} 
[2026-09-05 18:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071bcae90012d196740071fecc8003b01152d..."} 
[2026-09-05 18:57:21] local.INFO: Processing buffer {"connection_id":171843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071bcae90012d196740071fecc8003b01152d..."} 
[2026-09-05 18:57:21] local.INFO: Packet analysis {"connection_id":171843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071bc"} 
[2026-09-05 18:57:21] local.INFO: Extracted packet for processing {"connection_id":171843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071bc"} 
[2026-09-05 18:57:21] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885328640001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788614586000,"timestamp_ms":1788614586000,"timestamp_seconds":1788614586,"priority":1,"record_length":96,"hex_timestamp":"000001a071bcae90"} 
[2026-09-05 18:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:57: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-09-05 18:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 18:57:21] 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-09-05 18:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885328640001,"66":12374,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885328640001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:57:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:57:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885328640001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":171843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:57:21] local.INFO: GPS data processed {"connection_id":171843,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:57:21] local.INFO: Acknowledgment sent {"connection_id":171843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:57:25] local.INFO: TCP Data received {"connection_id":172108,"ip":"117.224.170.188","data_length":795,"data_hex":"000000000000030f8e0a000001a071bef498012c50c78008b73ff0000f014429..."} 
[2026-09-05 18:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071bef498012c50c78008b73ff0000f014429..."} 
[2026-09-05 18:57:25] local.INFO: Processing buffer {"connection_id":172108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071bef498012c50c78008b73ff0000f014429..."} 
[2026-09-05 18:57:25] local.INFO: Packet analysis {"connection_id":172108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071be"} 
[2026-09-05 18:57:25] local.INFO: Extracted packet for processing {"connection_id":172108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071be"} 
[2026-09-05 18:57:25] local.INFO: GPS Element Parsed {"raw_longitude":743491456,"raw_latitude":146227184,"longitude_deg":74.3491456,"latitude_deg":14.6227184,"altitude":15,"angle":324,"satellites":41,"speed":28,"hex_longitude":"2c50c780","hex_latitude":"08b73ff0","is_valid_coordinates":true} 
[2026-09-05 18:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885370112001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1613958515523584,"note":"Value kept but may cause issues"} 
[2026-09-05 18:57:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5825195049204412416,"note":"Value kept but may cause issues"} 
[2026-09-05 18:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788614735000,"timestamp_ms":1788614735000,"timestamp_seconds":1788614735,"priority":1,"record_length":96,"hex_timestamp":"000001a071bef498"} 
[2026-09-05 18:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-05 18:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172108,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 18:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172108,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 18:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.170.188","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 18:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 18:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885370112001,"66":28148,"84":206,"9":55808,"24":28,"16":1613958515523584,"44":5825195049204412416},"client_ip":"117.224.170.188","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,9,24,16,44]} 
[2026-09-05 18:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 18:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 18:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885370112001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:57:25] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-05 18:57:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 18:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1613958515523584,"km_value":1613958515523.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:57:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":5825195049204412416,"description":"Unknown IO ID 44"} 
[2026-09-05 18:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885370112001,"power":28148,"unknown_84":206,"unknown_9":55808,"ignition":28,"odometer":null,"unknown_44":5825195049204412416}} 
[2026-09-05 18:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":172108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770732,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:57:25] local.INFO: GPS data processed {"connection_id":172108,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:57:25] local.INFO: Acknowledgment sent {"connection_id":172108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:57:33] local.INFO: TCP Data received {"connection_id":172109,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071be92f0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071be92f0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:57:33] local.INFO: Processing buffer {"connection_id":172109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071be92f0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:57:33] local.INFO: Packet analysis {"connection_id":172109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071be"} 
[2026-09-05 18:57:33] local.INFO: Extracted packet for processing {"connection_id":172109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071be"} 
[2026-09-05 18:57:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885288704001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788614710000,"timestamp_ms":1788614710000,"timestamp_seconds":1788614710,"priority":1,"record_length":96,"hex_timestamp":"000001a071be92f0"} 
[2026-09-05 18:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:57: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-09-05 18: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18: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-09-05 18:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885288704001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885288704001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:57:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:57:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885288704001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":172109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:57:33] local.INFO: GPS data processed {"connection_id":172109,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:57:33] local.INFO: Acknowledgment sent {"connection_id":172109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:57:44] local.INFO: TCP Data received {"connection_id":172110,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:57:44] local.INFO: Processing buffer {"connection_id":172110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:57:44] local.INFO: IMEI packet received {"connection_id":172110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":172110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:57:49] local.INFO: TCP Data received {"connection_id":172110,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:57:49] local.INFO: Processing buffer {"connection_id":172110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:57:49] local.INFO: IMEI packet received {"connection_id":172110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":172110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:57:50] local.INFO: TCP Data received {"connection_id":171844,"ip":"117.224.170.188","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171844,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:57:50] local.INFO: Processing buffer {"connection_id":171844,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:57:50] local.INFO: IMEI packet received {"connection_id":171844,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 18:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":171844,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:57:50] local.INFO: TCP Data received {"connection_id":172110,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071bd0098012d196740071fecc8003b01152d..."} 
[2026-09-05 18:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071bd0098012d196740071fecc8003b01152d..."} 
[2026-09-05 18:57:50] local.INFO: Processing buffer {"connection_id":172110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071bd0098012d196740071fecc8003b01152d..."} 
[2026-09-05 18:57:50] local.INFO: Packet analysis {"connection_id":172110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071bd"} 
[2026-09-05 18:57:50] local.INFO: Extracted packet for processing {"connection_id":172110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071bd"} 
[2026-09-05 18:57:50] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532744,"longitude_deg":75.6639552,"latitude_deg":11.9532744,"altitude":59,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-05 18:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885334016001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054878576246784,"note":"Value kept but may cause issues"} 
[2026-09-05 18:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893956096,"note":"Value kept but may cause issues"} 
[2026-09-05 18:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788614607000,"timestamp_ms":1788614607000,"timestamp_seconds":1788614607,"priority":1,"record_length":96,"hex_timestamp":"000001a071bd0098"} 
[2026-09-05 18:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:57: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-09-05 18:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-05 18:57:50] 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-09-05 18:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885334016001,"66":12385,"102":206,"83":41984,"24":0,"16":18054878576246784,"45":1830502172893956096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885334016001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:57:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:57:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054878576246784,"km_value":18054878576246.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893956096,"description":"Unknown IO ID 45"} 
[2026-09-05 18:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885334016001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893956096}} 
[2026-09-05 18:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":172110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:57:50] local.INFO: GPS data processed {"connection_id":172110,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:57:50] local.INFO: Acknowledgment sent {"connection_id":172110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:57:51] local.INFO: TCP Data received {"connection_id":171844,"ip":"117.224.170.188","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171844,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:57:51] local.INFO: Processing buffer {"connection_id":171844,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:57:51] local.INFO: IMEI packet received {"connection_id":171844,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 18:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":171844,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:57:55] local.INFO: TCP Data received {"connection_id":173233,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:57:55] local.INFO: Processing buffer {"connection_id":173233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:57:55] local.INFO: IMEI packet received {"connection_id":173233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":173233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:57:56] local.INFO: TCP Data received {"connection_id":171844,"ip":"117.224.170.188","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171844,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:57:56] local.INFO: Processing buffer {"connection_id":171844,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:57:56] local.INFO: IMEI packet received {"connection_id":171844,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 18:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":171844,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:57:57] local.INFO: TCP Data received {"connection_id":171844,"ip":"117.224.170.188","data_length":795,"data_hex":"000000000000030f8e0a000001a071bf2378012c50b28008b75d600010014529..."} 
[2026-09-05 18:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071bf2378012c50b28008b75d600010014529..."} 
[2026-09-05 18:57:57] local.INFO: Processing buffer {"connection_id":171844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071bf2378012c50b28008b75d600010014529..."} 
[2026-09-05 18:57:57] local.INFO: Packet analysis {"connection_id":171844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071bf"} 
[2026-09-05 18:57:57] local.INFO: Extracted packet for processing {"connection_id":171844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071bf"} 
[2026-09-05 18:57:57] local.INFO: GPS Element Parsed {"raw_longitude":743486080,"raw_latitude":146234720,"longitude_deg":74.348608,"latitude_deg":14.623472,"altitude":16,"angle":325,"satellites":41,"speed":32,"hex_longitude":"2c50b280","hex_latitude":"08b75d60","is_valid_coordinates":true} 
[2026-09-05 18:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885372160001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1614405192122368,"note":"Value kept but may cause issues"} 
[2026-09-05 18:57:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5820761818322169856,"note":"Value kept but may cause issues"} 
[2026-09-05 18:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788614747000,"timestamp_ms":1788614747000,"timestamp_seconds":1788614747,"priority":1,"record_length":96,"hex_timestamp":"000001a071bf2378"} 
[2026-09-05 18:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:57:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-05 18:57:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:57:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":171844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":171844,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 18:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":171844,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 18:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.170.188","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 18:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 18:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885372160001,"66":28126,"84":206,"9":55808,"24":32,"16":1614405192122368,"44":5820761818322169856},"client_ip":"117.224.170.188","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,9,24,16,44]} 
[2026-09-05 18:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 18:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 18:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885372160001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:57:57] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-05 18:57:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 18:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1614405192122368,"km_value":1614405192122.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:57:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":5820761818322169856,"description":"Unknown IO ID 44"} 
[2026-09-05 18:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885372160001,"power":28126,"unknown_84":206,"unknown_9":55808,"ignition":32,"odometer":null,"unknown_44":5820761818322169856}} 
[2026-09-05 18:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":171844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770735,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:57:57] local.INFO: GPS data processed {"connection_id":171844,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:57:57] local.INFO: Acknowledgment sent {"connection_id":171844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:57:58] local.INFO: TCP Data received {"connection_id":171844,"ip":"117.224.170.188","data_length":795,"data_hex":"000000000000030f8e0a000001a071bf4e70012c509c4008b77cb0001201452c..."} 
[2026-09-05 18:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071bf4e70012c509c4008b77cb0001201452c..."} 
[2026-09-05 18:57:58] local.INFO: Processing buffer {"connection_id":171844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071bf4e70012c509c4008b77cb0001201452c..."} 
[2026-09-05 18:57:58] local.INFO: Packet analysis {"connection_id":171844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071bf"} 
[2026-09-05 18:57:58] local.INFO: Extracted packet for processing {"connection_id":171844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071bf"} 
[2026-09-05 18:57:58] local.INFO: GPS Element Parsed {"raw_longitude":743480384,"raw_latitude":146242736,"longitude_deg":74.3480384,"latitude_deg":14.6242736,"altitude":18,"angle":325,"satellites":44,"speed":37,"hex_longitude":"2c509c40","hex_latitude":"08b77cb0","is_valid_coordinates":true} 
[2026-09-05 18:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885375232001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1614877638524928,"note":"Value kept but may cause issues"} 
[2026-09-05 18:57:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5814850843813175296,"note":"Value kept but may cause issues"} 
[2026-09-05 18:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788614758000,"timestamp_ms":1788614758000,"timestamp_seconds":1788614758,"priority":1,"record_length":96,"hex_timestamp":"000001a071bf4e70"} 
[2026-09-05 18:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-05 18:57:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171844,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 18:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171844,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 18:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.170.188","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 18:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 18:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885375232001,"66":27984,"84":206,"9":55808,"24":37,"16":1614877638524928,"44":5814850843813175296},"client_ip":"117.224.170.188","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,9,24,16,44]} 
[2026-09-05 18:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 18:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 18:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885375232001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:57:58] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-05 18:57:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 18:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1614877638524928,"km_value":1614877638524.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:57:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":5814850843813175296,"description":"Unknown IO ID 44"} 
[2026-09-05 18:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885375232001,"power":27984,"unknown_84":206,"unknown_9":55808,"ignition":37,"odometer":null,"unknown_44":5814850843813175296}} 
[2026-09-05 18:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":171844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770736,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:57:58] local.INFO: GPS data processed {"connection_id":171844,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:57:58] local.INFO: Acknowledgment sent {"connection_id":171844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:58:01] local.INFO: TCP Data received {"connection_id":173233,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:58:01] local.INFO: Processing buffer {"connection_id":173233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:58:01] local.INFO: IMEI packet received {"connection_id":173233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":173233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:58:02] local.INFO: TCP Data received {"connection_id":173233,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071be92f0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071be92f0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:58:02] local.INFO: Processing buffer {"connection_id":173233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071be92f0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:58:02] local.INFO: Packet analysis {"connection_id":173233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071be"} 
[2026-09-05 18:58:02] local.INFO: Extracted packet for processing {"connection_id":173233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071be"} 
[2026-09-05 18:58:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885288704001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788614710000,"timestamp_ms":1788614710000,"timestamp_seconds":1788614710,"priority":1,"record_length":96,"hex_timestamp":"000001a071be92f0"} 
[2026-09-05 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-09-05 18:58:02] 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-09-05 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 18:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885288704001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885288704001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:58:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:58:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885288704001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":173233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:58:02] local.INFO: GPS data processed {"connection_id":173233,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:58:02] local.INFO: Acknowledgment sent {"connection_id":173233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:58:21] local.INFO: TCP Data received {"connection_id":172110,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071c0bda0012d196740071fec20004100ba2e..."} 
[2026-09-05 18:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c0bda0012d196740071fec20004100ba2e..."} 
[2026-09-05 18:58:21] local.INFO: Processing buffer {"connection_id":172110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c0bda0012d196740071fec20004100ba2e..."} 
[2026-09-05 18:58:21] local.INFO: Packet analysis {"connection_id":172110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c0"} 
[2026-09-05 18:58:21] local.INFO: Extracted packet for processing {"connection_id":172110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c0"} 
[2026-09-05 18:58:21] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532576,"longitude_deg":75.6639552,"latitude_deg":11.9532576,"altitude":65,"angle":186,"satellites":46,"speed":3,"hex_longitude":"2d196740","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-05 18:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885401600001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054891461148672,"note":"Value kept but may cause issues"} 
[2026-09-05 18:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638127616,"note":"Value kept but may cause issues"} 
[2026-09-05 18:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788614852000,"timestamp_ms":1788614852000,"timestamp_seconds":1788614852,"priority":1,"record_length":96,"hex_timestamp":"000001a071c0bda0"} 
[2026-09-05 18:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:58:21] 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-09-05 18:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-05 18:58: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-09-05 18:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885401600001,"66":13722,"102":206,"83":41984,"24":3,"16":18054891461148672,"45":1830572541638127616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885401600001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:58:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:58:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054891461148672,"km_value":18054891461148.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638127616,"description":"Unknown IO ID 45"} 
[2026-09-05 18:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885401600001,"power":13722,"unknown_102":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1830572541638127616}} 
[2026-09-05 18:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":172110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:58:21] local.INFO: GPS data processed {"connection_id":172110,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:58:21] local.INFO: Acknowledgment sent {"connection_id":172110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:58:30] local.INFO: TCP Data received {"connection_id":171844,"ip":"117.224.170.188","data_length":795,"data_hex":"000000000000030f8e0a000001a071c0cd40012c4f7d8008b8dbf0001d01372b..."} 
[2026-09-05 18:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c0cd40012c4f7d8008b8dbf0001d01372b..."} 
[2026-09-05 18:58:30] local.INFO: Processing buffer {"connection_id":171844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c0cd40012c4f7d8008b8dbf0001d01372b..."} 
[2026-09-05 18:58:30] local.INFO: Packet analysis {"connection_id":171844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c0"} 
[2026-09-05 18:58:30] local.INFO: Extracted packet for processing {"connection_id":171844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c0"} 
[2026-09-05 18:58:30] local.INFO: GPS Element Parsed {"raw_longitude":743406976,"raw_latitude":146332656,"longitude_deg":74.3406976,"latitude_deg":14.6332656,"altitude":29,"angle":311,"satellites":43,"speed":49,"hex_longitude":"2c4f7d80","hex_latitude":"08b8dbf0","is_valid_coordinates":true} 
[2026-09-05 18:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885401088001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1620461096009728,"note":"Value kept but may cause issues"} 
[2026-09-05 18:58:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5736108219101777920,"note":"Value kept but may cause issues"} 
[2026-09-05 18:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788614856000,"timestamp_ms":1788614856000,"timestamp_seconds":1788614856,"priority":1,"record_length":96,"hex_timestamp":"000001a071c0cd40"} 
[2026-09-05 18:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-05 18:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":171844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":171844,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 18:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":171844,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 18:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.170.188","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 18:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 18:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885401088001,"66":28104,"85":206,"9":55808,"24":49,"16":1620461096009728,"44":5736108219101777920},"client_ip":"117.224.170.188","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,9,24,16,44]} 
[2026-09-05 18:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 18:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 18:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885401088001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:58:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-05 18:58:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 18:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1620461096009728,"km_value":1620461096009.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:58:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":5736108219101777920,"description":"Unknown IO ID 44"} 
[2026-09-05 18:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885401088001,"power":28104,"unknown_85":206,"unknown_9":55808,"ignition":49,"odometer":null,"unknown_44":5736108219101777920}} 
[2026-09-05 18:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":171844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770739,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:58:30] local.INFO: GPS data processed {"connection_id":171844,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:58:30] local.INFO: Acknowledgment sent {"connection_id":171844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:58:33] local.INFO: TCP Data received {"connection_id":173233,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071be92f0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071be92f0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:58:33] local.INFO: Processing buffer {"connection_id":173233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071be92f0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:58:33] local.INFO: Packet analysis {"connection_id":173233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071be"} 
[2026-09-05 18:58:33] local.INFO: Extracted packet for processing {"connection_id":173233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071be"} 
[2026-09-05 18:58:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18: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-09-05 18:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885288704001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788614710000,"timestamp_ms":1788614710000,"timestamp_seconds":1788614710,"priority":1,"record_length":96,"hex_timestamp":"000001a071be92f0"} 
[2026-09-05 18:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:58: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-09-05 18: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18: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-09-05 18:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885288704001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885288704001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:58:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:58:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885288704001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":173233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:58:33] local.INFO: GPS data processed {"connection_id":173233,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:58:33] local.INFO: Acknowledgment sent {"connection_id":173233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:58:44] local.INFO: TCP Data received {"connection_id":173234,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:58:44] local.INFO: Processing buffer {"connection_id":173234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:58:44] local.INFO: IMEI packet received {"connection_id":173234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":173234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:58:47] local.INFO: TCP Data received {"connection_id":174553,"ip":"117.224.170.188","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174553,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:58:47] local.INFO: Processing buffer {"connection_id":174553,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:58:47] local.INFO: IMEI packet received {"connection_id":174553,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 18:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":174553,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:58:47] local.INFO: TCP Data received {"connection_id":174553,"ip":"117.224.170.188","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174553,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:58:47] local.INFO: Processing buffer {"connection_id":174553,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:58:47] local.INFO: IMEI packet received {"connection_id":174553,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 18:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":174553,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:58:47] local.INFO: TCP Data received {"connection_id":173234,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:58:47] local.INFO: Processing buffer {"connection_id":173234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:58:47] local.INFO: IMEI packet received {"connection_id":173234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":173234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:58:48] local.INFO: TCP Data received {"connection_id":173234,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071c0d128012d196740071fec480041000f2e..."} 
[2026-09-05 18:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c0d128012d196740071fec480041000f2e..."} 
[2026-09-05 18:58:48] local.INFO: Processing buffer {"connection_id":173234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c0d128012d196740071fec480041000f2e..."} 
[2026-09-05 18:58:48] local.INFO: Packet analysis {"connection_id":173234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c0"} 
[2026-09-05 18:58:48] local.INFO: Extracted packet for processing {"connection_id":173234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c0"} 
[2026-09-05 18:58:48] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532616,"longitude_deg":75.6639552,"latitude_deg":11.9532616,"altitude":65,"angle":15,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fec48","is_valid_coordinates":true} 
[2026-09-05 18:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885402112001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18054900051083264,"note":"Value kept but may cause issues"} 
[2026-09-05 18:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172893913088,"note":"Value kept but may cause issues"} 
[2026-09-05 18:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788614857000,"timestamp_ms":1788614857000,"timestamp_seconds":1788614857,"priority":1,"record_length":96,"hex_timestamp":"000001a071c0d128"} 
[2026-09-05 18:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:58:48] 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-09-05 18:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-05 18:58:48] 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-09-05 18:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":173234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":173234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":173234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885402112001,"66":13917,"102":206,"83":41984,"24":0,"16":18054900051083264,"45":1830502172893913088},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 18:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885402112001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:58:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 18:58:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18054900051083264,"km_value":18054900051083.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172893913088,"description":"Unknown IO ID 45"} 
[2026-09-05 18:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885402112001,"power":13917,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172893913088}} 
[2026-09-05 18:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":173234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:58:48] local.INFO: GPS data processed {"connection_id":173234,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:58:48] local.INFO: Acknowledgment sent {"connection_id":173234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:58:52] local.INFO: TCP Data received {"connection_id":174553,"ip":"117.224.170.188","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174553,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:58:52] local.INFO: Processing buffer {"connection_id":174553,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 18:58:52] local.INFO: IMEI packet received {"connection_id":174553,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 18:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":174553,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:58:53] local.INFO: TCP Data received {"connection_id":174553,"ip":"117.224.170.188","data_length":795,"data_hex":"000000000000030f8e0a000001a071c0e898012c4f630008b8f360001b01382c..."} 
[2026-09-05 18:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c0e898012c4f630008b8f360001b01382c..."} 
[2026-09-05 18:58:53] local.INFO: Processing buffer {"connection_id":174553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c0e898012c4f630008b8f360001b01382c..."} 
[2026-09-05 18:58:53] local.INFO: Packet analysis {"connection_id":174553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c0"} 
[2026-09-05 18:58:53] local.INFO: Extracted packet for processing {"connection_id":174553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c0"} 
[2026-09-05 18:58:53] local.INFO: GPS Element Parsed {"raw_longitude":743400192,"raw_latitude":146338656,"longitude_deg":74.3400192,"latitude_deg":14.6338656,"altitude":27,"angle":312,"satellites":44,"speed":52,"hex_longitude":"2c4f6300","hex_latitude":"08b8f360","is_valid_coordinates":true} 
[2026-09-05 18:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885403136001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1620894887706624,"note":"Value kept but may cause issues"} 
[2026-09-05 18:58:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5727875076034654208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788614863000,"timestamp_ms":1788614863000,"timestamp_seconds":1788614863,"priority":1,"record_length":96,"hex_timestamp":"000001a071c0e898"} 
[2026-09-05 18:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 18:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:58:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174553,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 18:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174553,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 18:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.170.188","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 18:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 18:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885403136001,"66":28191,"85":206,"9":55808,"24":52,"16":1620894887706624,"44":5727875076034654208},"client_ip":"117.224.170.188","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,9,24,16,44]} 
[2026-09-05 18:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 18:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 18:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885403136001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:58:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-05 18:58:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 18:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1620894887706624,"km_value":1620894887706.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:58:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":5727875076034654208,"description":"Unknown IO ID 44"} 
[2026-09-05 18:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885403136001,"power":28191,"unknown_85":206,"unknown_9":55808,"ignition":52,"odometer":null,"unknown_44":5727875076034654208}} 
[2026-09-05 18:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":174553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770742,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:58:53] local.INFO: GPS data processed {"connection_id":174553,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:58:53] local.INFO: Acknowledgment sent {"connection_id":174553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:58:55] local.INFO: TCP Data received {"connection_id":171845,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:58:55] local.INFO: Processing buffer {"connection_id":171845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:58:55] local.INFO: IMEI packet received {"connection_id":171845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":171845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:59:01] local.INFO: TCP Data received {"connection_id":171845,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:59:01] local.INFO: Processing buffer {"connection_id":171845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:59:01] local.INFO: IMEI packet received {"connection_id":171845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 18:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":171845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:59:01] local.INFO: TCP Data received {"connection_id":171845,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071be92f0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071be92f0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:59:01] local.INFO: Processing buffer {"connection_id":171845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071be92f0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:59:01] local.INFO: Packet analysis {"connection_id":171845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071be"} 
[2026-09-05 18:59:01] local.INFO: Extracted packet for processing {"connection_id":171845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071be"} 
[2026-09-05 18:59:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 18:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885288704001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788614710000,"timestamp_ms":1788614710000,"timestamp_seconds":1788614710,"priority":1,"record_length":96,"hex_timestamp":"000001a071be92f0"} 
[2026-09-05 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-09-05 18:59:01] 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-09-05 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 18:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885288704001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885288704001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:59:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:59:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885288704001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":171845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:59:02] local.INFO: GPS data processed {"connection_id":171845,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:59:02] local.INFO: Acknowledgment sent {"connection_id":171845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:59:19] local.INFO: TCP Data received {"connection_id":173234,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071c1afd0012d19cb80071ff5f8003300122c..."} 
[2026-09-05 18:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c1afd0012d19cb80071ff5f8003300122c..."} 
[2026-09-05 18:59:19] local.INFO: Processing buffer {"connection_id":173234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c1afd0012d19cb80071ff5f8003300122c..."} 
[2026-09-05 18:59:19] local.INFO: Packet analysis {"connection_id":173234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c1"} 
[2026-09-05 18:59:19] local.INFO: Extracted packet for processing {"connection_id":173234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c1"} 
[2026-09-05 18:59:19] local.INFO: GPS Element Parsed {"raw_longitude":756665216,"raw_latitude":119535096,"longitude_deg":75.6665216,"latitude_deg":11.9535096,"altitude":51,"angle":18,"satellites":44,"speed":15,"hex_longitude":"2d19cb80","hex_latitude":"071ff5f8","is_valid_coordinates":true} 
[2026-09-05 18:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885417728001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18056179951337472,"note":"Value kept but may cause issues"} 
[2026-09-05 18:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858508933077174272,"note":"Value kept but may cause issues"} 
[2026-09-05 18:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788614914000,"timestamp_ms":1788614914000,"timestamp_seconds":1788614914,"priority":1,"record_length":96,"hex_timestamp":"000001a071c1afd0"} 
[2026-09-05 18:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:59:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-05 18:59:19] 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-09-05 18:59:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885417728001,"66":13504,"101":206,"83":41984,"24":15,"16":18056179951337472,"45":1858508933077174272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-05 18:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885417728001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:59:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 18:59:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18056179951337472,"km_value":18056179951337.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858508933077174272,"description":"Unknown IO ID 45"} 
[2026-09-05 18:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885417728001,"power":13504,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1858508933077174272}} 
[2026-09-05 18:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":173234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:59:19] local.INFO: GPS data processed {"connection_id":173234,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:59:19] local.INFO: Acknowledgment sent {"connection_id":173234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:59:33] local.INFO: TCP Data received {"connection_id":171845,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071be92f0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071be92f0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:59:33] local.INFO: Processing buffer {"connection_id":171845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071be92f0012d7b850005f5f278000900f62e..."} 
[2026-09-05 18:59:33] local.INFO: Packet analysis {"connection_id":171845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071be"} 
[2026-09-05 18:59:33] local.INFO: Extracted packet for processing {"connection_id":171845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071be"} 
[2026-09-05 18:59:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 18:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885288704001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 18:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 18:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788614710000,"timestamp_ms":1788614710000,"timestamp_seconds":1788614710,"priority":1,"record_length":96,"hex_timestamp":"000001a071be92f0"} 
[2026-09-05 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-09-05 18:59: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-09-05 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 18:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 18:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 18:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 18:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 18:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885288704001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 18:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 18:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 18:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885288704001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:59:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 18:59:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 18:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 18:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885288704001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 18:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":171845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:59:33] local.INFO: GPS data processed {"connection_id":171845,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:59:33] local.INFO: Acknowledgment sent {"connection_id":171845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:59:44] local.INFO: TCP Data received {"connection_id":172111,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:59:44] local.INFO: Processing buffer {"connection_id":172111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:59:44] local.INFO: IMEI packet received {"connection_id":172111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 18:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":172111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 18:59:44] local.INFO: TCP Data received {"connection_id":172111,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:59:44] local.INFO: Processing buffer {"connection_id":172111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:59:44] local.INFO: IMEI packet received {"connection_id":172111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":172111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:59:47] local.INFO: TCP Data received {"connection_id":172111,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:59:47] local.INFO: Processing buffer {"connection_id":172111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:59:47] local.INFO: IMEI packet received {"connection_id":172111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":172111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:59:49] local.INFO: TCP Data received {"connection_id":172111,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:59:49] local.INFO: Processing buffer {"connection_id":172111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 18:59:49] local.INFO: IMEI packet received {"connection_id":172111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 18:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":172111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 18:59:50] local.INFO: TCP Data received {"connection_id":172111,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071c21d30012d19f040071ffbe0003100522d..."} 
[2026-09-05 18:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c21d30012d19f040071ffbe0003100522d..."} 
[2026-09-05 18:59:50] local.INFO: Processing buffer {"connection_id":172111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c21d30012d19f040071ffbe0003100522d..."} 
[2026-09-05 18:59:50] local.INFO: Packet analysis {"connection_id":172111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c2"} 
[2026-09-05 18:59:50] local.INFO: Extracted packet for processing {"connection_id":172111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c2"} 
[2026-09-05 18:59:50] local.INFO: GPS Element Parsed {"raw_longitude":756674624,"raw_latitude":119536608,"longitude_deg":75.6674624,"latitude_deg":11.9536608,"altitude":49,"angle":82,"satellites":45,"speed":27,"hex_longitude":"2d19f040","hex_latitude":"071ffbe0","is_valid_coordinates":true} 
[2026-09-05 18:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885424896001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18056815606497280,"note":"Value kept but may cause issues"} 
[2026-09-05 18:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868360557262516224,"note":"Value kept but may cause issues"} 
[2026-09-05 18:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788614942000,"timestamp_ms":1788614942000,"timestamp_seconds":1788614942,"priority":1,"record_length":96,"hex_timestamp":"000001a071c21d30"} 
[2026-09-05 18:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 18:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 18:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885424896001,"66":13526,"101":206,"83":41984,"24":27,"16":18056815606497280,"45":1868360557262516224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-05 18:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885424896001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:59:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 18:59:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18056815606497280,"km_value":18056815606497.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868360557262516224,"description":"Unknown IO ID 45"} 
[2026-09-05 18:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885424896001,"power":13526,"unknown_101":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1868360557262516224}} 
[2026-09-05 18:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":172111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:59:50] local.INFO: GPS data processed {"connection_id":172111,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:59:50] local.INFO: Acknowledgment sent {"connection_id":172111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:59:54] local.INFO: TCP Data received {"connection_id":172111,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071c228e8012d19fa00071ffc58003000612d..."} 
[2026-09-05 18:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c228e8012d19fa00071ffc58003000612d..."} 
[2026-09-05 18:59:54] local.INFO: Processing buffer {"connection_id":172111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c228e8012d19fa00071ffc58003000612d..."} 
[2026-09-05 18:59:54] local.INFO: Packet analysis {"connection_id":172111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c2"} 
[2026-09-05 18:59:54] local.INFO: Extracted packet for processing {"connection_id":172111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c2"} 
[2026-09-05 18:59:54] local.INFO: GPS Element Parsed {"raw_longitude":756677120,"raw_latitude":119536728,"longitude_deg":75.667712,"latitude_deg":11.9536728,"altitude":48,"angle":97,"satellites":45,"speed":33,"hex_longitude":"2d19fa00","hex_latitude":"071ffc58","is_valid_coordinates":true} 
[2026-09-05 18:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 18:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885425152001,"note":"Value kept but may cause issues"} 
[2026-09-05 18:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18056931570614272,"note":"Value kept but may cause issues"} 
[2026-09-05 18:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1869064244704305152,"note":"Value kept but may cause issues"} 
[2026-09-05 18:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 18:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788614945000,"timestamp_ms":1788614945000,"timestamp_seconds":1788614945,"priority":1,"record_length":96,"hex_timestamp":"000001a071c228e8"} 
[2026-09-05 18:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 18:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 18:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 18:59:54] 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-09-05 18:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 18:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 18:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 18:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 18:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 18:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 18:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 18:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 18:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885425152001,"66":13580,"101":206,"83":41984,"24":33,"16":18056931570614272,"45":1869064244704305152},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-05 18:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 18:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 18:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885425152001,"description":"Unknown IO ID 0"} 
[2026-09-05 18:59:54] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 18:59:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 18:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18056931570614272,"km_value":18056931570614.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 18:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1869064244704305152,"description":"Unknown IO ID 45"} 
[2026-09-05 18:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885425152001,"power":13580,"unknown_101":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1869064244704305152}} 
[2026-09-05 18:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":172111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 18:59:55] local.INFO: GPS data processed {"connection_id":172111,"processed":1,"errors":0,"total":1} 
[2026-09-05 18:59:55] local.INFO: Acknowledgment sent {"connection_id":172111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 18:59:55] local.INFO: TCP Data received {"connection_id":174554,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:59:55] local.INFO: Processing buffer {"connection_id":174554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 18:59:55] local.INFO: IMEI packet received {"connection_id":174554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 18:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":174554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:00:01] local.INFO: TCP Data received {"connection_id":174554,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:00:01] local.INFO: Processing buffer {"connection_id":174554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:00:01] local.INFO: IMEI packet received {"connection_id":174554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":174554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:00:01] local.INFO: TCP Data received {"connection_id":174554,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071be92f0012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071be92f0012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:00:01] local.INFO: Processing buffer {"connection_id":174554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071be92f0012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:00:01] local.INFO: Packet analysis {"connection_id":174554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071be"} 
[2026-09-05 19:00:01] local.INFO: Extracted packet for processing {"connection_id":174554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071be"} 
[2026-09-05 19:00:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885288704001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788614710000,"timestamp_ms":1788614710000,"timestamp_seconds":1788614710,"priority":1,"record_length":96,"hex_timestamp":"000001a071be92f0"} 
[2026-09-05 19:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:00:01] 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-09-05 19:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 19:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885288704001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885288704001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:00:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:00:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885288704001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":174554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:00:01] local.INFO: GPS data processed {"connection_id":174554,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:00:01] local.INFO: Acknowledgment sent {"connection_id":174554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:00:01] local.INFO: TCP Data received {"connection_id":174555,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174555,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:00:01] local.INFO: Processing buffer {"connection_id":174555,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:00:01] local.INFO: IMEI packet received {"connection_id":174555,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 19:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":174555,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:00:04] local.INFO: TCP Data received {"connection_id":174555,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174555,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:00:04] local.INFO: Processing buffer {"connection_id":174555,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:00:04] local.INFO: IMEI packet received {"connection_id":174555,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":174555,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:00:05] local.INFO: TCP Data received {"connection_id":174555,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071c228e8012c4e030008ba0eb0000f013c2b..."} 
[2026-09-05 19:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c228e8012c4e030008ba0eb0000f013c2b..."} 
[2026-09-05 19:00:05] local.INFO: Processing buffer {"connection_id":174555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c228e8012c4e030008ba0eb0000f013c2b..."} 
[2026-09-05 19:00:05] local.INFO: Packet analysis {"connection_id":174555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c2"} 
[2026-09-05 19:00:05] local.INFO: Extracted packet for processing {"connection_id":174555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c2"} 
[2026-09-05 19:00:05] local.INFO: GPS Element Parsed {"raw_longitude":743310080,"raw_latitude":146411184,"longitude_deg":74.331008,"latitude_deg":14.6411184,"altitude":15,"angle":316,"satellites":43,"speed":54,"hex_longitude":"2c4e0300","hex_latitude":"08ba0eb0","is_valid_coordinates":true} 
[2026-09-05 19:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885424128001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1626435395518464,"note":"Value kept but may cause issues"} 
[2026-09-05 19:00:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5628866252995014656,"note":"Value kept but may cause issues"} 
[2026-09-05 19:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788614945000,"timestamp_ms":1788614945000,"timestamp_seconds":1788614945,"priority":1,"record_length":96,"hex_timestamp":"000001a071c228e8"} 
[2026-09-05 19:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-05 19:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885424128001,"66":28104,"241":206,"9":55808,"24":54,"16":1626435395518464,"44":5628866252995014656},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-09-05 19:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885424128001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:00:05] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-05 19:00:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1626435395518464,"km_value":1626435395518.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:00:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":5628866252995014656,"description":"Unknown IO ID 44"} 
[2026-09-05 19:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885424128001,"power":28104,"unknown_241":206,"unknown_9":55808,"ignition":54,"odometer":null,"unknown_44":5628866252995014656}} 
[2026-09-05 19:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":174555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770749,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:00:05] local.INFO: GPS data processed {"connection_id":174555,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:00:05] local.INFO: Acknowledgment sent {"connection_id":174555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:00:06] local.INFO: TCP Data received {"connection_id":174555,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071c24440012c4de8c008ba2960000d013c2b..."} 
[2026-09-05 19:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c24440012c4de8c008ba2960000d013c2b..."} 
[2026-09-05 19:00:06] local.INFO: Processing buffer {"connection_id":174555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c24440012c4de8c008ba2960000d013c2b..."} 
[2026-09-05 19:00:06] local.INFO: Packet analysis {"connection_id":174555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c2"} 
[2026-09-05 19:00:06] local.INFO: Extracted packet for processing {"connection_id":174555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c2"} 
[2026-09-05 19:00:06] local.INFO: GPS Element Parsed {"raw_longitude":743303360,"raw_latitude":146418016,"longitude_deg":74.330336,"latitude_deg":14.6418016,"altitude":13,"angle":316,"satellites":43,"speed":53,"hex_longitude":"2c4de8c0","hex_latitude":"08ba2960","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885425920001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1626890662051840,"note":"Value kept but may cause issues"} 
[2026-09-05 19:00:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5621336797369774080,"note":"Value kept but may cause issues"} 
[2026-09-05 19:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788614952000,"timestamp_ms":1788614952000,"timestamp_seconds":1788614952,"priority":1,"record_length":96,"hex_timestamp":"000001a071c24440"} 
[2026-09-05 19:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 19:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885425920001,"66":27887,"241":206,"9":55808,"24":53,"16":1626890662051840,"44":5621336797369774080},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-09-05 19:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885425920001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:00:06] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-05 19:00:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1626890662051840,"km_value":1626890662051.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:00:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":5621336797369774080,"description":"Unknown IO ID 44"} 
[2026-09-05 19:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885425920001,"power":27887,"unknown_241":206,"unknown_9":55808,"ignition":53,"odometer":null,"unknown_44":5621336797369774080}} 
[2026-09-05 19:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":174555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770750,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:00:06] local.INFO: GPS data processed {"connection_id":174555,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:00:06] local.INFO: Acknowledgment sent {"connection_id":174555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:00:25] local.INFO: TCP Data received {"connection_id":172111,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071c234a0012d1a0400071ff9c80030006d2d..."} 
[2026-09-05 19:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c234a0012d1a0400071ff9c80030006d2d..."} 
[2026-09-05 19:00:25] local.INFO: Processing buffer {"connection_id":172111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c234a0012d1a0400071ff9c80030006d2d..."} 
[2026-09-05 19:00:25] local.INFO: Packet analysis {"connection_id":172111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c2"} 
[2026-09-05 19:00:25] local.INFO: Extracted packet for processing {"connection_id":172111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c2"} 
[2026-09-05 19:00:25] local.INFO: GPS Element Parsed {"raw_longitude":756679680,"raw_latitude":119536072,"longitude_deg":75.667968,"latitude_deg":11.9536072,"altitude":48,"angle":109,"satellites":45,"speed":35,"hex_longitude":"2d1a0400","hex_latitude":"071ff9c8","is_valid_coordinates":true} 
[2026-09-05 19:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885425920001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18057060419633152,"note":"Value kept but may cause issues"} 
[2026-09-05 19:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871808625727264768,"note":"Value kept but may cause issues"} 
[2026-09-05 19:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788614948000,"timestamp_ms":1788614948000,"timestamp_seconds":1788614948,"priority":1,"record_length":96,"hex_timestamp":"000001a071c234a0"} 
[2026-09-05 19:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:00: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-09-05 19:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-05 19:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751530022,"note":"Value kept but may cause issues"} 
[2026-09-05 19:00:25] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 19:00:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 19:00:25] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2231369728,"note":"Value kept but may cause issues"} 
[2026-09-05 19:00:25] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-2323849573548163022,"note":"Value kept but may cause issues"} 
[2026-09-05 19:00:25] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 19:00:25] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13465701,"corrected_to":0} 
[2026-09-05 19:00:25] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635489448654949,"note":"Value kept but may cause issues"} 
[2026-09-05 19:00:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-05 19:00:25] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":536947993,"corrected_to":0} 
[2026-09-05 19:00:25] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3221692424,"note":"Value kept but may cause issues"} 
[2026-09-05 19:00:25] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3774926200,"note":"Value kept but may cause issues"} 
[2026-09-05 19:00:25] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-05 19:00:25] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864917045429456467,"note":"Value kept but may cause issues"} 
[2026-09-05 19:00:25] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-09-05 19:00:25] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,101,83,24,241,157,16,38,160,29,45,64,251,49,10,66,25,192,50,21,1,240,247,227,113,32,4,205,14,246,225,44,239,52,2,7,53,164],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":247,"original":13465701,"validated":0},{"io_id":205,"original":2019885262,"validated":0},{"io_id":246,"original":536947993,"validated":0}]} 
[2026-09-05 19:00:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458871359724126208,"timestamp_seconds":3458871359724126.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 19:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885425920001,"66":13493,"101":206,"83":41984,"24":35,"16":18057060419633152,"45":1871808625727264768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-05 19:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885425920001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:00:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 19:00:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18057060419633152,"km_value":18057060419633.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871808625727264768,"description":"Unknown IO ID 45"} 
[2026-09-05 19:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885425920001,"power":13493,"unknown_101":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1871808625727264768}} 
[2026-09-05 19:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":172111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:00:25] local.INFO: GPS data processed {"connection_id":172111,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:00:25] local.INFO: Acknowledgment sent {"connection_id":172111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:00:34] local.INFO: TCP Data received {"connection_id":174554,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071be92f0012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071be92f0012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:00:34] local.INFO: Processing buffer {"connection_id":174554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071be92f0012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:00:34] local.INFO: Packet analysis {"connection_id":174554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071be"} 
[2026-09-05 19:00:34] local.INFO: Extracted packet for processing {"connection_id":174554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071be"} 
[2026-09-05 19:00:34] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885288704001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788614710000,"timestamp_ms":1788614710000,"timestamp_seconds":1788614710,"priority":1,"record_length":96,"hex_timestamp":"000001a071be92f0"} 
[2026-09-05 19:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:00: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-09-05 19:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 19:00: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-09-05 19: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-09-05 19:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885288704001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885288704001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:00:34] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:00:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885288704001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":174554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:00:34] local.INFO: GPS data processed {"connection_id":174554,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:00:34] local.INFO: Acknowledgment sent {"connection_id":174554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:00:43] local.INFO: TCP Data received {"connection_id":171846,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:00:43] local.INFO: Processing buffer {"connection_id":171846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:00:43] local.INFO: IMEI packet received {"connection_id":171846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":171846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:00:44] local.INFO: TCP Data received {"connection_id":171846,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:00:44] local.INFO: Processing buffer {"connection_id":171846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:00:44] local.INFO: IMEI packet received {"connection_id":171846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":171846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:00:44] local.INFO: TCP Data received {"connection_id":171846,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:00:44] local.INFO: Processing buffer {"connection_id":171846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:00:44] local.INFO: IMEI packet received {"connection_id":171846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":171846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:00:45] local.INFO: TCP Data received {"connection_id":171846,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:00:45] local.INFO: Processing buffer {"connection_id":171846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:00:45] local.INFO: IMEI packet received {"connection_id":171846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":171846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:00:46] local.INFO: TCP Data received {"connection_id":171847,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171847,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:00:46] local.INFO: Processing buffer {"connection_id":171847,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:00:46] local.INFO: IMEI packet received {"connection_id":171847,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 19:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":171847,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:00:52] local.INFO: TCP Data received {"connection_id":171847,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171847,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:00:52] local.INFO: Processing buffer {"connection_id":171847,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:00:52] local.INFO: IMEI packet received {"connection_id":171847,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":171847,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:00:53] local.INFO: TCP Data received {"connection_id":171847,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071c25f98012c4dce8008ba4330000c013a2b..."} 
[2026-09-05 19:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c25f98012c4dce8008ba4330000c013a2b..."} 
[2026-09-05 19:00:53] local.INFO: Processing buffer {"connection_id":171847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c25f98012c4dce8008ba4330000c013a2b..."} 
[2026-09-05 19:00:53] local.INFO: Packet analysis {"connection_id":171847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c2"} 
[2026-09-05 19:00:53] local.INFO: Extracted packet for processing {"connection_id":171847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c2"} 
[2026-09-05 19:00:53] local.INFO: GPS Element Parsed {"raw_longitude":743296640,"raw_latitude":146424624,"longitude_deg":74.329664,"latitude_deg":14.6424624,"altitude":12,"angle":314,"satellites":43,"speed":52,"hex_longitude":"2c4dce80","hex_latitude":"08ba4330","is_valid_coordinates":true} 
[2026-09-05 19:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885427712001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1627341633617920,"note":"Value kept but may cause issues"} 
[2026-09-05 19:00:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5613948079232868352,"note":"Value kept but may cause issues"} 
[2026-09-05 19:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788614959000,"timestamp_ms":1788614959000,"timestamp_seconds":1788614959,"priority":1,"record_length":96,"hex_timestamp":"000001a071c25f98"} 
[2026-09-05 19:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-05 19:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171847,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171847,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885427712001,"66":28082,"241":206,"9":55808,"24":52,"16":1627341633617920,"44":5613948079232868352},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-09-05 19:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885427712001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:00:53] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-05 19:00:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1627341633617920,"km_value":1627341633617.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:00:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":5613948079232868352,"description":"Unknown IO ID 44"} 
[2026-09-05 19:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885427712001,"power":28082,"unknown_241":206,"unknown_9":55808,"ignition":52,"odometer":null,"unknown_44":5613948079232868352}} 
[2026-09-05 19:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":171847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770753,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:00:53] local.INFO: GPS data processed {"connection_id":171847,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:00:53] local.INFO: Acknowledgment sent {"connection_id":171847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:01:01] local.INFO: TCP Data received {"connection_id":173235,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:01:01] local.INFO: Processing buffer {"connection_id":173235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:01:01] local.INFO: IMEI packet received {"connection_id":173235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":173235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:01:06] local.INFO: TCP Data received {"connection_id":173235,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:01:06] local.INFO: Processing buffer {"connection_id":173235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:01:06] local.INFO: IMEI packet received {"connection_id":173235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":173235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:01:07] local.INFO: TCP Data received {"connection_id":173235,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071c32ab8012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c32ab8012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:01:07] local.INFO: Processing buffer {"connection_id":173235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c32ab8012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:01:07] local.INFO: Packet analysis {"connection_id":173235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c3"} 
[2026-09-05 19:01:07] local.INFO: Extracted packet for processing {"connection_id":173235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c3"} 
[2026-09-05 19:01:07] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885365760001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788615011000,"timestamp_ms":1788615011000,"timestamp_seconds":1788615011,"priority":1,"record_length":96,"hex_timestamp":"000001a071c32ab8"} 
[2026-09-05 19:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:01: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-09-05 19: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 19:01:07] 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-09-05 19: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-09-05 19:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885365760001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885365760001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:01:07] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:01:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885365760001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":173235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:01:07] local.INFO: GPS data processed {"connection_id":173235,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:01:07] local.INFO: Acknowledgment sent {"connection_id":173235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:01:11] local.INFO: TCP Data received {"connection_id":173235,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071c32ab8012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c32ab8012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:01:11] local.INFO: Processing buffer {"connection_id":173235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c32ab8012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:01:11] local.INFO: Packet analysis {"connection_id":173235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c3"} 
[2026-09-05 19:01:11] local.INFO: Extracted packet for processing {"connection_id":173235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c3"} 
[2026-09-05 19:01:11] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885365760001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788615011000,"timestamp_ms":1788615011000,"timestamp_seconds":1788615011,"priority":1,"record_length":96,"hex_timestamp":"000001a071c32ab8"} 
[2026-09-05 19:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:01: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-09-05 19:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 19:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885365760001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885365760001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:01:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:01:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885365760001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":173235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:01:11] local.INFO: GPS data processed {"connection_id":173235,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:01:11] local.INFO: Acknowledgment sent {"connection_id":173235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:01:25] local.INFO: TCP Data received {"connection_id":171847,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071c27af0012c4db1c008ba5980000c012d2a..."} 
[2026-09-05 19:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c27af0012c4db1c008ba5980000c012d2a..."} 
[2026-09-05 19:01:25] local.INFO: Processing buffer {"connection_id":171847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c27af0012c4db1c008ba5980000c012d2a..."} 
[2026-09-05 19:01:25] local.INFO: Packet analysis {"connection_id":171847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c2"} 
[2026-09-05 19:01:25] local.INFO: Extracted packet for processing {"connection_id":171847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c2"} 
[2026-09-05 19:01:25] local.INFO: GPS Element Parsed {"raw_longitude":743289280,"raw_latitude":146430336,"longitude_deg":74.328928,"latitude_deg":14.6430336,"altitude":12,"angle":301,"satellites":42,"speed":52,"hex_longitude":"2c4db1c0","hex_latitude":"08ba5980","is_valid_coordinates":true} 
[2026-09-05 19:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885429504001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1627788310216704,"note":"Value kept but may cause issues"} 
[2026-09-05 19:01:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5606559361095905280,"note":"Value kept but may cause issues"} 
[2026-09-05 19:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788614966000,"timestamp_ms":1788614966000,"timestamp_seconds":1788614966,"priority":1,"record_length":96,"hex_timestamp":"000001a071c27af0"} 
[2026-09-05 19:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 19:01:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:01:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171847,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171847,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:01:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885429504001,"66":27843,"241":206,"9":55808,"24":52,"16":1627788310216704,"44":5606559361095905280},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-09-05 19:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885429504001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:01:25] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-05 19:01:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1627788310216704,"km_value":1627788310216.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:01:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":5606559361095905280,"description":"Unknown IO ID 44"} 
[2026-09-05 19:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885429504001,"power":27843,"unknown_241":206,"unknown_9":55808,"ignition":52,"odometer":null,"unknown_44":5606559361095905280}} 
[2026-09-05 19:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":171847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770756,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:01:25] local.INFO: GPS data processed {"connection_id":171847,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:01:25] local.INFO: Acknowledgment sent {"connection_id":171847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:01:47] local.INFO: TCP Data received {"connection_id":172112,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172112,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:01:47] local.INFO: Processing buffer {"connection_id":172112,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:01:47] local.INFO: IMEI packet received {"connection_id":172112,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 19:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":172112,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:01:49] local.INFO: TCP Data received {"connection_id":172112,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172112,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:01:49] local.INFO: Processing buffer {"connection_id":172112,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:01:49] local.INFO: IMEI packet received {"connection_id":172112,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":172112,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:01:52] local.INFO: TCP Data received {"connection_id":172112,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172112,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:01:52] local.INFO: Processing buffer {"connection_id":172112,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:01:52] local.INFO: IMEI packet received {"connection_id":172112,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":172112,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:01:54] local.INFO: TCP Data received {"connection_id":172112,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071c27af0012c4db1c008ba5980000c012d2a..."} 
[2026-09-05 19:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c27af0012c4db1c008ba5980000c012d2a..."} 
[2026-09-05 19:01:54] local.INFO: Processing buffer {"connection_id":172112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c27af0012c4db1c008ba5980000c012d2a..."} 
[2026-09-05 19:01:54] local.INFO: Packet analysis {"connection_id":172112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c2"} 
[2026-09-05 19:01:54] local.INFO: Extracted packet for processing {"connection_id":172112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c2"} 
[2026-09-05 19:01:54] local.INFO: GPS Element Parsed {"raw_longitude":743289280,"raw_latitude":146430336,"longitude_deg":74.328928,"latitude_deg":14.6430336,"altitude":12,"angle":301,"satellites":42,"speed":52,"hex_longitude":"2c4db1c0","hex_latitude":"08ba5980","is_valid_coordinates":true} 
[2026-09-05 19:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885431296001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1627788310216704,"note":"Value kept but may cause issues"} 
[2026-09-05 19:01:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5598466955516936192,"note":"Value kept but may cause issues"} 
[2026-09-05 19:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788614966000,"timestamp_ms":1788614966000,"timestamp_seconds":1788614966,"priority":1,"record_length":96,"hex_timestamp":"000001a071c27af0"} 
[2026-09-05 19:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 19:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172112,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172112,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885431296001,"66":27843,"241":206,"9":55808,"24":52,"16":1627788310216704,"44":5598466955516936192},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-09-05 19:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885431296001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:01:54] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-05 19:01:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1627788310216704,"km_value":1627788310216.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:01:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":5598466955516936192,"description":"Unknown IO ID 44"} 
[2026-09-05 19:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885431296001,"power":27843,"unknown_241":206,"unknown_9":55808,"ignition":52,"odometer":null,"unknown_44":5598466955516936192}} 
[2026-09-05 19:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":172112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770757,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:01:54] local.INFO: GPS data processed {"connection_id":172112,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:01:54] local.INFO: Acknowledgment sent {"connection_id":172112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:01:56] local.INFO: TCP Data received {"connection_id":174556,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:01:56] local.INFO: Processing buffer {"connection_id":174556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:01:56] local.INFO: IMEI packet received {"connection_id":174556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":174556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:02:01] local.INFO: TCP Data received {"connection_id":174556,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:02:01] local.INFO: Processing buffer {"connection_id":174556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:02:01] local.INFO: IMEI packet received {"connection_id":174556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":174556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:02:01] local.INFO: TCP Data received {"connection_id":174556,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071c32ab8012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c32ab8012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:02:01] local.INFO: Processing buffer {"connection_id":174556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c32ab8012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:02:01] local.INFO: Packet analysis {"connection_id":174556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c3"} 
[2026-09-05 19:02:01] local.INFO: Extracted packet for processing {"connection_id":174556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c3"} 
[2026-09-05 19:02:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885365760001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788615011000,"timestamp_ms":1788615011000,"timestamp_seconds":1788615011,"priority":1,"record_length":96,"hex_timestamp":"000001a071c32ab8"} 
[2026-09-05 19:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:02:01] 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-09-05 19:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 19:02:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885365760001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885365760001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:02:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:02:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885365760001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":174556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:02:01] local.INFO: GPS data processed {"connection_id":174556,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:02:01] local.INFO: Acknowledgment sent {"connection_id":174556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:02:03] local.INFO: TCP Data received {"connection_id":172112,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071c29648012c4d904008ba6950000c01262d..."} 
[2026-09-05 19:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c29648012c4d904008ba6950000c01262d..."} 
[2026-09-05 19:02:03] local.INFO: Processing buffer {"connection_id":172112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c29648012c4d904008ba6950000c01262d..."} 
[2026-09-05 19:02:03] local.INFO: Packet analysis {"connection_id":172112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c2"} 
[2026-09-05 19:02:03] local.INFO: Extracted packet for processing {"connection_id":172112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c2"} 
[2026-09-05 19:02:03] local.INFO: GPS Element Parsed {"raw_longitude":743280704,"raw_latitude":146434384,"longitude_deg":74.3280704,"latitude_deg":14.6434384,"altitude":12,"angle":294,"satellites":45,"speed":52,"hex_longitude":"2c4d9040","hex_latitude":"08ba6950","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885431296001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1628234986815488,"note":"Value kept but may cause issues"} 
[2026-09-05 19:02:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5598466955516936192,"note":"Value kept but may cause issues"} 
[2026-09-05 19:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788614973000,"timestamp_ms":1788614973000,"timestamp_seconds":1788614973,"priority":1,"record_length":96,"hex_timestamp":"000001a071c29648"} 
[2026-09-05 19:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:02: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-09-05 19: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 19:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172112,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172112,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885431296001,"66":28137,"241":206,"9":55808,"24":52,"16":1628234986815488,"44":5598466955516936192},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,9,24,16,44]} 
[2026-09-05 19:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885431296001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:02:03] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-05 19:02:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1628234986815488,"km_value":1628234986815.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:02:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":5598466955516936192,"description":"Unknown IO ID 44"} 
[2026-09-05 19:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885431296001,"power":28137,"unknown_241":206,"unknown_9":55808,"ignition":52,"odometer":null,"unknown_44":5598466955516936192}} 
[2026-09-05 19:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":172112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770759,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:02:04] local.INFO: GPS data processed {"connection_id":172112,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:02:04] local.INFO: Acknowledgment sent {"connection_id":172112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:02:33] local.INFO: TCP Data received {"connection_id":174556,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071c32ab8012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c32ab8012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:02:33] local.INFO: Processing buffer {"connection_id":174556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c32ab8012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:02:33] local.INFO: Packet analysis {"connection_id":174556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c3"} 
[2026-09-05 19:02:33] local.INFO: Extracted packet for processing {"connection_id":174556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c3"} 
[2026-09-05 19:02:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885365760001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788615011000,"timestamp_ms":1788615011000,"timestamp_seconds":1788615011,"priority":1,"record_length":96,"hex_timestamp":"000001a071c32ab8"} 
[2026-09-05 19:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:02: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-09-05 19: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":134,"data_length":795,"current_offset":136} 
[2026-09-05 19:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885365760001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885365760001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:02:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:02:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885365760001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":174556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:02:33] local.INFO: GPS data processed {"connection_id":174556,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:02:33] local.INFO: Acknowledgment sent {"connection_id":174556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:02:47] local.INFO: TCP Data received {"connection_id":173236,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173236,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:02:47] local.INFO: Processing buffer {"connection_id":173236,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:02:47] local.INFO: IMEI packet received {"connection_id":173236,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 19:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":173236,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:02:48] local.INFO: TCP Data received {"connection_id":173236,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173236,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:02:48] local.INFO: Processing buffer {"connection_id":173236,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:02:48] local.INFO: IMEI packet received {"connection_id":173236,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":173236,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:02:52] local.INFO: TCP Data received {"connection_id":173236,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173236,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:02:52] local.INFO: Processing buffer {"connection_id":173236,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:02:52] local.INFO: IMEI packet received {"connection_id":173236,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":173236,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:02:53] local.INFO: TCP Data received {"connection_id":173236,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071c476c0012c4c144008bb7d40000f01422a..."} 
[2026-09-05 19:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c476c0012c4c144008bb7d40000f01422a..."} 
[2026-09-05 19:02:53] local.INFO: Processing buffer {"connection_id":173236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c476c0012c4c144008bb7d40000f01422a..."} 
[2026-09-05 19:02:53] local.INFO: Packet analysis {"connection_id":173236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c4"} 
[2026-09-05 19:02:53] local.INFO: Extracted packet for processing {"connection_id":173236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c4"} 
[2026-09-05 19:02:53] local.INFO: GPS Element Parsed {"raw_longitude":743183424,"raw_latitude":146505024,"longitude_deg":74.3183424,"latitude_deg":14.6505024,"altitude":15,"angle":322,"satellites":42,"speed":42,"hex_longitude":"2c4c1440","hex_latitude":"08bb7d40","is_valid_coordinates":true} 
[2026-09-05 19:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885462272001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1633998832926720,"note":"Value kept but may cause issues"} 
[2026-09-05 19:02:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5488832452105281536,"note":"Value kept but may cause issues"} 
[2026-09-05 19:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788615096000,"timestamp_ms":1788615096000,"timestamp_seconds":1788615096,"priority":1,"record_length":96,"hex_timestamp":"000001a071c476c0"} 
[2026-09-05 19:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 19:02:53] 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-09-05 19:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173236,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173236,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885462272001,"66":28104,"242":206,"9":55808,"24":42,"16":1633998832926720,"44":5488832452105281536},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,9,24,16,44]} 
[2026-09-05 19:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885462272001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:02:53] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-05 19:02:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1633998832926720,"km_value":1633998832926.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:02:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":5488832452105281536,"description":"Unknown IO ID 44"} 
[2026-09-05 19:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885462272001,"power":28104,"unknown_242":206,"unknown_9":55808,"ignition":42,"odometer":null,"unknown_44":5488832452105281536}} 
[2026-09-05 19:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":173236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770761,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:02:54] local.INFO: GPS data processed {"connection_id":173236,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:02:54] local.INFO: Acknowledgment sent {"connection_id":173236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:02:55] local.INFO: TCP Data received {"connection_id":172113,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:02:55] local.INFO: Processing buffer {"connection_id":172113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:02:55] local.INFO: IMEI packet received {"connection_id":172113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":172113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:03:01] local.INFO: TCP Data received {"connection_id":172113,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:03:01] local.INFO: Processing buffer {"connection_id":172113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:03:01] local.INFO: IMEI packet received {"connection_id":172113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":172113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:03:02] local.INFO: TCP Data received {"connection_id":172113,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071c32ab8012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c32ab8012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:03:02] local.INFO: Processing buffer {"connection_id":172113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c32ab8012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:03:02] local.INFO: Packet analysis {"connection_id":172113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c3"} 
[2026-09-05 19:03:02] local.INFO: Extracted packet for processing {"connection_id":172113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c3"} 
[2026-09-05 19:03:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885365760001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788615011000,"timestamp_ms":1788615011000,"timestamp_seconds":1788615011,"priority":1,"record_length":96,"hex_timestamp":"000001a071c32ab8"} 
[2026-09-05 19:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:03:02] 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-09-05 19: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 19:03: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-09-05 19: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-09-05 19:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885365760001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885365760001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:03:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:03:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885365760001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":172113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:03:02] local.INFO: GPS data processed {"connection_id":172113,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:03:02] local.INFO: Acknowledgment sent {"connection_id":172113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:03:33] local.INFO: TCP Data received {"connection_id":172113,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071c32ab8012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c32ab8012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:03:33] local.INFO: Processing buffer {"connection_id":172113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c32ab8012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:03:33] local.INFO: Packet analysis {"connection_id":172113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c3"} 
[2026-09-05 19:03:33] local.INFO: Extracted packet for processing {"connection_id":172113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c3"} 
[2026-09-05 19:03:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 19:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885365760001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788615011000,"timestamp_ms":1788615011000,"timestamp_seconds":1788615011,"priority":1,"record_length":96,"hex_timestamp":"000001a071c32ab8"} 
[2026-09-05 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-09-05 19:03: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-09-05 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 19:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 19:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885365760001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885365760001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:03:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:03:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885365760001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":172113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:03:33] local.INFO: GPS data processed {"connection_id":172113,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:03:33] local.INFO: Acknowledgment sent {"connection_id":172113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:03:41] local.INFO: TCP Data received {"connection_id":173236,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071c499e8012c4bfc4008bb9b20001001412b..."} 
[2026-09-05 19:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c499e8012c4bfc4008bb9b20001001412b..."} 
[2026-09-05 19:03:41] local.INFO: Processing buffer {"connection_id":173236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c499e8012c4bfc4008bb9b20001001412b..."} 
[2026-09-05 19:03:41] local.INFO: Packet analysis {"connection_id":173236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c4"} 
[2026-09-05 19:03:41] local.INFO: Extracted packet for processing {"connection_id":173236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c4"} 
[2026-09-05 19:03:41] local.INFO: GPS Element Parsed {"raw_longitude":743177280,"raw_latitude":146512672,"longitude_deg":74.317728,"latitude_deg":14.6512672,"altitude":16,"angle":321,"satellites":43,"speed":43,"hex_longitude":"2c4bfc40","hex_latitude":"08bb9b20","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885464576001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1634466984361984,"note":"Value kept but may cause issues"} 
[2026-09-05 19:03:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5482077052666200064,"note":"Value kept but may cause issues"} 
[2026-09-05 19:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788615105000,"timestamp_ms":1788615105000,"timestamp_seconds":1788615105,"priority":1,"record_length":96,"hex_timestamp":"000001a071c499e8"} 
[2026-09-05 19:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-05 19:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":173236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":173236,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":173236,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885464576001,"66":27995,"242":206,"9":55808,"24":43,"16":1634466984361984,"44":5482077052666200064},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,9,24,16,44]} 
[2026-09-05 19:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885464576001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:03:41] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-05 19:03:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1634466984361984,"km_value":1634466984361.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:03:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":5482077052666200064,"description":"Unknown IO ID 44"} 
[2026-09-05 19:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885464576001,"power":27995,"unknown_242":206,"unknown_9":55808,"ignition":43,"odometer":null,"unknown_44":5482077052666200064}} 
[2026-09-05 19:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":173236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770764,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:03:41] local.INFO: GPS data processed {"connection_id":173236,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:03:41] local.INFO: Acknowledgment sent {"connection_id":173236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:03:52] local.INFO: TCP Data received {"connection_id":171848,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171848,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:03:52] local.INFO: Processing buffer {"connection_id":171848,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:03:52] local.INFO: IMEI packet received {"connection_id":171848,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 19:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":171848,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:03:54] local.INFO: TCP Data received {"connection_id":171848,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171848,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:03:54] local.INFO: Processing buffer {"connection_id":171848,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:03:54] local.INFO: IMEI packet received {"connection_id":171848,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":171848,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:03:55] local.INFO: TCP Data received {"connection_id":171848,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071c4b928012c4be58008bbb690001101402a..."} 
[2026-09-05 19:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c4b928012c4be58008bbb690001101402a..."} 
[2026-09-05 19:03:55] local.INFO: Processing buffer {"connection_id":171848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c4b928012c4be58008bbb690001101402a..."} 
[2026-09-05 19:03:55] local.INFO: Packet analysis {"connection_id":171848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c4"} 
[2026-09-05 19:03:55] local.INFO: Extracted packet for processing {"connection_id":171848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c4"} 
[2026-09-05 19:03:55] local.INFO: GPS Element Parsed {"raw_longitude":743171456,"raw_latitude":146519696,"longitude_deg":74.3171456,"latitude_deg":14.6519696,"altitude":17,"angle":320,"satellites":42,"speed":45,"hex_longitude":"2c4be580","hex_latitude":"08bbb690","is_valid_coordinates":true} 
[2026-09-05 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-09-05 19:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885466880001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1634905071026176,"note":"Value kept but may cause issues"} 
[2026-09-05 19:03:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5475321653227102208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788615113000,"timestamp_ms":1788615113000,"timestamp_seconds":1788615113,"priority":1,"record_length":96,"hex_timestamp":"000001a071c4b928"} 
[2026-09-05 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-09-05 19:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-05 19:03:55] 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-09-05 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-09-05 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-09-05 19:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885466880001,"66":28050,"242":206,"9":55808,"24":45,"16":1634905071026176,"44":5475321653227102208},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,9,24,16,44]} 
[2026-09-05 19:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885466880001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:03:55] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-05 19:03:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1634905071026176,"km_value":1634905071026.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:03:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":5475321653227102208,"description":"Unknown IO ID 44"} 
[2026-09-05 19:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885466880001,"power":28050,"unknown_242":206,"unknown_9":55808,"ignition":45,"odometer":null,"unknown_44":5475321653227102208}} 
[2026-09-05 19:03:55] local.INFO: TCP Data received {"connection_id":173238,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:03:55] local.INFO: Processing buffer {"connection_id":173238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:03:55] local.INFO: IMEI packet received {"connection_id":173238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":173238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":171848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770765,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:03:55] local.INFO: GPS data processed {"connection_id":171848,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:03:55] local.INFO: Acknowledgment sent {"connection_id":171848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:04:01] local.INFO: TCP Data received {"connection_id":173238,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:04:01] local.INFO: Processing buffer {"connection_id":173238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:04:01] local.INFO: IMEI packet received {"connection_id":173238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":173238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:04:01] local.INFO: TCP Data received {"connection_id":173238,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071c32ab8012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c32ab8012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:04:01] local.INFO: Processing buffer {"connection_id":173238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c32ab8012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:04:01] local.INFO: Packet analysis {"connection_id":173238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c3"} 
[2026-09-05 19:04:01] local.INFO: Extracted packet for processing {"connection_id":173238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c3"} 
[2026-09-05 19:04:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885365760001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788615011000,"timestamp_ms":1788615011000,"timestamp_seconds":1788615011,"priority":1,"record_length":96,"hex_timestamp":"000001a071c32ab8"} 
[2026-09-05 19:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:04:01] 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-09-05 19:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 19:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885365760001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885365760001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:04:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:04:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885365760001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":173238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:04:01] local.INFO: GPS data processed {"connection_id":173238,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:04:01] local.INFO: Acknowledgment sent {"connection_id":173238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:04:27] local.INFO: TCP Data received {"connection_id":171848,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071c63be0012c4b19c008bd3790001001552d..."} 
[2026-09-05 19:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c63be0012c4b19c008bd3790001001552d..."} 
[2026-09-05 19:04:27] local.INFO: Processing buffer {"connection_id":171848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c63be0012c4b19c008bd3790001001552d..."} 
[2026-09-05 19:04:27] local.INFO: Packet analysis {"connection_id":171848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c6"} 
[2026-09-05 19:04:27] local.INFO: Extracted packet for processing {"connection_id":171848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c6"} 
[2026-09-05 19:04:27] local.INFO: GPS Element Parsed {"raw_longitude":743119296,"raw_latitude":146618256,"longitude_deg":74.3119296,"latitude_deg":14.6618256,"altitude":16,"angle":341,"satellites":45,"speed":47,"hex_longitude":"2c4b19c0","hex_latitude":"08bd3790","is_valid_coordinates":true} 
[2026-09-05 19:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885492224001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1640312434851840,"note":"Value kept but may cause issues"} 
[2026-09-05 19:04:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5414874902003224576,"note":"Value kept but may cause issues"} 
[2026-09-05 19:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788615212000,"timestamp_ms":1788615212000,"timestamp_seconds":1788615212,"priority":1,"record_length":96,"hex_timestamp":"000001a071c63be0"} 
[2026-09-05 19:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:04:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 19:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885492224001,"66":27593,"6":206,"9":55808,"24":47,"16":1640312434851840,"44":5414874902003224576},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,9,24,16,44]} 
[2026-09-05 19:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885492224001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:04:27] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-05 19:04:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1640312434851840,"km_value":1640312434851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:04:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":5414874902003224576,"description":"Unknown IO ID 44"} 
[2026-09-05 19:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885492224001,"power":27593,"unknown_6":206,"unknown_9":55808,"ignition":47,"odometer":null,"unknown_44":5414874902003224576}} 
[2026-09-05 19:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":171848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770767,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:04:27] local.INFO: GPS data processed {"connection_id":171848,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:04:27] local.INFO: Acknowledgment sent {"connection_id":171848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:04:33] local.INFO: TCP Data received {"connection_id":173238,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071c32ab8012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c32ab8012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:04:33] local.INFO: Processing buffer {"connection_id":173238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c32ab8012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:04:33] local.INFO: Packet analysis {"connection_id":173238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c3"} 
[2026-09-05 19:04:33] local.INFO: Extracted packet for processing {"connection_id":173238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c3"} 
[2026-09-05 19:04:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885365760001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788615011000,"timestamp_ms":1788615011000,"timestamp_seconds":1788615011,"priority":1,"record_length":96,"hex_timestamp":"000001a071c32ab8"} 
[2026-09-05 19:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:04: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-09-05 19: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":134,"data_length":795,"current_offset":136} 
[2026-09-05 19:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885365760001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885365760001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:04:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:04:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885365760001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":173238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:04:33] local.INFO: GPS data processed {"connection_id":173238,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:04:33] local.INFO: Acknowledgment sent {"connection_id":173238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:04:47] local.INFO: TCP Data received {"connection_id":171849,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171849,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:04:47] local.INFO: Processing buffer {"connection_id":171849,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:04:47] local.INFO: IMEI packet received {"connection_id":171849,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 19:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":171849,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:04:50] local.INFO: TCP Data received {"connection_id":171849,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171849,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:04:50] local.INFO: Processing buffer {"connection_id":171849,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:04:50] local.INFO: IMEI packet received {"connection_id":171849,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":171849,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:04:51] local.INFO: TCP Data received {"connection_id":171849,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071c65b20012c4b0d4008bd5ab0000e01542d..."} 
[2026-09-05 19:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c65b20012c4b0d4008bd5ab0000e01542d..."} 
[2026-09-05 19:04:51] local.INFO: Processing buffer {"connection_id":171849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c65b20012c4b0d4008bd5ab0000e01542d..."} 
[2026-09-05 19:04:51] local.INFO: Packet analysis {"connection_id":171849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c6"} 
[2026-09-05 19:04:51] local.INFO: Extracted packet for processing {"connection_id":171849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c6"} 
[2026-09-05 19:04:51] local.INFO: GPS Element Parsed {"raw_longitude":743116096,"raw_latitude":146627248,"longitude_deg":74.3116096,"latitude_deg":14.6627248,"altitude":14,"angle":340,"satellites":45,"speed":48,"hex_longitude":"2c4b0d40","hex_latitude":"08bd5ab0","is_valid_coordinates":true} 
[2026-09-05 19:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885494272001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1640776291319808,"note":"Value kept but may cause issues"} 
[2026-09-05 19:04:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5411567571029168128,"note":"Value kept but may cause issues"} 
[2026-09-05 19:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788615220000,"timestamp_ms":1788615220000,"timestamp_seconds":1788615220,"priority":1,"record_length":96,"hex_timestamp":"000001a071c65b20"} 
[2026-09-05 19:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-05 19:04:51] 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-09-05 19:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885494272001,"66":27626,"6":206,"9":55808,"24":48,"16":1640776291319808,"44":5411567571029168128},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,9,24,16,44]} 
[2026-09-05 19:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885494272001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:04:51] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-05 19:04:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1640776291319808,"km_value":1640776291319.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:04:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":5411567571029168128,"description":"Unknown IO ID 44"} 
[2026-09-05 19:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885494272001,"power":27626,"unknown_6":206,"unknown_9":55808,"ignition":48,"odometer":null,"unknown_44":5411567571029168128}} 
[2026-09-05 19:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":171849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770769,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:04:51] local.INFO: GPS data processed {"connection_id":171849,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:04:51] local.INFO: Acknowledgment sent {"connection_id":171849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:04:55] local.INFO: TCP Data received {"connection_id":172114,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:04:55] local.INFO: Processing buffer {"connection_id":172114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:04:55] local.INFO: IMEI packet received {"connection_id":172114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":172114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:05:01] local.INFO: TCP Data received {"connection_id":172114,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:05:01] local.INFO: Processing buffer {"connection_id":172114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:05:01] local.INFO: IMEI packet received {"connection_id":172114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":172114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:05:02] local.INFO: TCP Data received {"connection_id":172114,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071c32ab8012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c32ab8012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:05:02] local.INFO: Processing buffer {"connection_id":172114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c32ab8012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:05:02] local.INFO: Packet analysis {"connection_id":172114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c3"} 
[2026-09-05 19:05:02] local.INFO: Extracted packet for processing {"connection_id":172114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c3"} 
[2026-09-05 19:05:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 19:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885365760001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788615011000,"timestamp_ms":1788615011000,"timestamp_seconds":1788615011,"priority":1,"record_length":96,"hex_timestamp":"000001a071c32ab8"} 
[2026-09-05 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-09-05 19:05:02] 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-09-05 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 19:05: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-09-05 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-09-05 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-09-05 19:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885365760001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885365760001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:05:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:05:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885365760001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":172114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:05:02] local.INFO: GPS data processed {"connection_id":172114,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:05:02] local.INFO: Acknowledgment sent {"connection_id":172114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:05:22] local.INFO: TCP Data received {"connection_id":171849,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071c67a60012c4b010008bd7ea0000d01562c..."} 
[2026-09-05 19:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c67a60012c4b010008bd7ea0000d01562c..."} 
[2026-09-05 19:05:22] local.INFO: Processing buffer {"connection_id":171849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c67a60012c4b010008bd7ea0000d01562c..."} 
[2026-09-05 19:05:22] local.INFO: Packet analysis {"connection_id":171849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c6"} 
[2026-09-05 19:05:22] local.INFO: Extracted packet for processing {"connection_id":171849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c6"} 
[2026-09-05 19:05:22] local.INFO: GPS Element Parsed {"raw_longitude":743112960,"raw_latitude":146636448,"longitude_deg":74.311296,"latitude_deg":14.6636448,"altitude":13,"angle":342,"satellites":44,"speed":47,"hex_longitude":"2c4b0100","hex_latitude":"08bd7ea0","is_valid_coordinates":true} 
[2026-09-05 19:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885496320001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1641244442755072,"note":"Value kept but may cause issues"} 
[2026-09-05 19:05:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5408049133822586880,"note":"Value kept but may cause issues"} 
[2026-09-05 19:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788615228000,"timestamp_ms":1788615228000,"timestamp_seconds":1788615228,"priority":1,"record_length":96,"hex_timestamp":"000001a071c67a60"} 
[2026-09-05 19:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-05 19:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885496320001,"66":27789,"6":206,"9":55808,"24":47,"16":1641244442755072,"44":5408049133822586880},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,9,24,16,44]} 
[2026-09-05 19:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885496320001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:05:22] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-05 19:05:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1641244442755072,"km_value":1641244442755.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:05:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":5408049133822586880,"description":"Unknown IO ID 44"} 
[2026-09-05 19:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885496320001,"power":27789,"unknown_6":206,"unknown_9":55808,"ignition":47,"odometer":null,"unknown_44":5408049133822586880}} 
[2026-09-05 19:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":171849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770771,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:05:22] local.INFO: GPS data processed {"connection_id":171849,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:05:22] local.INFO: Acknowledgment sent {"connection_id":171849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:05:33] local.INFO: TCP Data received {"connection_id":172114,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071c32ab8012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c32ab8012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:05:33] local.INFO: Processing buffer {"connection_id":172114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c32ab8012d7b850005f5f278000900f62e..."} 
[2026-09-05 19:05:33] local.INFO: Packet analysis {"connection_id":172114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c3"} 
[2026-09-05 19:05:33] local.INFO: Extracted packet for processing {"connection_id":172114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c3"} 
[2026-09-05 19:05:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":46,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885365760001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788615011000,"timestamp_ms":1788615011000,"timestamp_seconds":1788615011,"priority":1,"record_length":96,"hex_timestamp":"000001a071c32ab8"} 
[2026-09-05 19:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:05: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-09-05 19: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":134,"data_length":795,"current_offset":136} 
[2026-09-05 19:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885365760001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885365760001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:05:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:05:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885365760001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":172114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:05:33] local.INFO: GPS data processed {"connection_id":172114,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:05:33] local.INFO: Acknowledgment sent {"connection_id":172114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:05:47] local.INFO: TCP Data received {"connection_id":171850,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171850,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:05:47] local.INFO: Processing buffer {"connection_id":171850,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:05:47] local.INFO: IMEI packet received {"connection_id":171850,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 19:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":171850,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:05:48] local.INFO: TCP Data received {"connection_id":171850,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171850,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:05:48] local.INFO: Processing buffer {"connection_id":171850,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:05:48] local.INFO: IMEI packet received {"connection_id":171850,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":171850,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:05:52] local.INFO: TCP Data received {"connection_id":171850,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171850,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:05:52] local.INFO: Processing buffer {"connection_id":171850,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:05:52] local.INFO: IMEI packet received {"connection_id":171850,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":171850,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:05:53] local.INFO: TCP Data received {"connection_id":171850,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071c699a0012c4af9c008bda110000c01622d..."} 
[2026-09-05 19:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c699a0012c4af9c008bda110000c01622d..."} 
[2026-09-05 19:05:53] local.INFO: Processing buffer {"connection_id":171850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c699a0012c4af9c008bda110000c01622d..."} 
[2026-09-05 19:05:53] local.INFO: Packet analysis {"connection_id":171850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c6"} 
[2026-09-05 19:05:53] local.INFO: Extracted packet for processing {"connection_id":171850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c6"} 
[2026-09-05 19:05:53] local.INFO: GPS Element Parsed {"raw_longitude":743111104,"raw_latitude":146645264,"longitude_deg":74.3111104,"latitude_deg":14.6645264,"altitude":12,"angle":354,"satellites":45,"speed":43,"hex_longitude":"2c4af9c0","hex_latitude":"08bda110","is_valid_coordinates":true} 
[2026-09-05 19:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885498368001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1641682529419264,"note":"Value kept but may cause issues"} 
[2026-09-05 19:05:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5404601065360236544,"note":"Value kept but may cause issues"} 
[2026-09-05 19:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788615236000,"timestamp_ms":1788615236000,"timestamp_seconds":1788615236,"priority":1,"record_length":96,"hex_timestamp":"000001a071c699a0"} 
[2026-09-05 19:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-05 19:05:53] 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-09-05 19:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885498368001,"66":27571,"6":206,"9":55808,"24":43,"16":1641682529419264,"44":5404601065360236544},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,9,24,16,44]} 
[2026-09-05 19:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885498368001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:05:53] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-05 19:05:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1641682529419264,"km_value":1641682529419.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:05:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":5404601065360236544,"description":"Unknown IO ID 44"} 
[2026-09-05 19:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885498368001,"power":27571,"unknown_6":206,"unknown_9":55808,"ignition":43,"odometer":null,"unknown_44":5404601065360236544}} 
[2026-09-05 19:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":171850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770773,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:05:53] local.INFO: GPS data processed {"connection_id":171850,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:05:53] local.INFO: Acknowledgment sent {"connection_id":171850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:06:01] local.INFO: TCP Data received {"connection_id":173239,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:06:01] local.INFO: Processing buffer {"connection_id":173239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:06:01] local.INFO: IMEI packet received {"connection_id":173239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":173239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:06:06] local.INFO: TCP Data received {"connection_id":173239,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:06:06] local.INFO: Processing buffer {"connection_id":173239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:06:06] local.INFO: IMEI packet received {"connection_id":173239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":173239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:06:07] local.INFO: TCP Data received {"connection_id":173239,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a071c7c280012d7b850005f5f278000900f62d..."} 
[2026-09-05 19:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c7c280012d7b850005f5f278000900f62d..."} 
[2026-09-05 19:06:07] local.INFO: Processing buffer {"connection_id":173239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c7c280012d7b850005f5f278000900f62d..."} 
[2026-09-05 19:06:07] local.INFO: Packet analysis {"connection_id":173239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c7"} 
[2026-09-05 19:06:07] local.INFO: Extracted packet for processing {"connection_id":173239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c7"} 
[2026-09-05 19:06:07] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885442816001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788615312000,"timestamp_ms":1788615312000,"timestamp_seconds":1788615312,"priority":1,"record_length":96,"hex_timestamp":"000001a071c7c280"} 
[2026-09-05 19:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:06: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-09-05 19:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 19:06:07] 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-09-05 19:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885442816001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885442816001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:06:07] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:06:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885442816001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":173239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:06:07] local.INFO: GPS data processed {"connection_id":173239,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:06:07] local.INFO: Acknowledgment sent {"connection_id":173239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:06:12] local.INFO: TCP Data received {"connection_id":173239,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a071c7c280012d7b850005f5f278000900f62d..."} 
[2026-09-05 19:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c7c280012d7b850005f5f278000900f62d..."} 
[2026-09-05 19:06:12] local.INFO: Processing buffer {"connection_id":173239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c7c280012d7b850005f5f278000900f62d..."} 
[2026-09-05 19:06:12] local.INFO: Packet analysis {"connection_id":173239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c7"} 
[2026-09-05 19:06:12] local.INFO: Extracted packet for processing {"connection_id":173239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c7"} 
[2026-09-05 19:06:12] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885442816001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788615312000,"timestamp_ms":1788615312000,"timestamp_seconds":1788615312,"priority":1,"record_length":96,"hex_timestamp":"000001a071c7c280"} 
[2026-09-05 19:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 19:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 19:06:12] 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-09-05 19:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":173239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":173239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":173239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885442816001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885442816001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:06:12] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:06:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885442816001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":173239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:06:12] local.INFO: GPS data processed {"connection_id":173239,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:06:12] local.INFO: Acknowledgment sent {"connection_id":173239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:06:25] local.INFO: TCP Data received {"connection_id":171850,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071c81488012c4b018008bf1a500017001d2d..."} 
[2026-09-05 19:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c81488012c4b018008bf1a500017001d2d..."} 
[2026-09-05 19:06:25] local.INFO: Processing buffer {"connection_id":171850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c81488012c4b018008bf1a500017001d2d..."} 
[2026-09-05 19:06:25] local.INFO: Packet analysis {"connection_id":171850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c8"} 
[2026-09-05 19:06:25] local.INFO: Extracted packet for processing {"connection_id":171850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c8"} 
[2026-09-05 19:06:25] local.INFO: GPS Element Parsed {"raw_longitude":743113088,"raw_latitude":146741840,"longitude_deg":74.3113088,"latitude_deg":14.674184,"altitude":23,"angle":29,"satellites":45,"speed":33,"hex_longitude":"2c4b0180","hex_latitude":"08bf1a50","is_valid_coordinates":true} 
[2026-09-05 19:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885524224001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1646428468281344,"note":"Value kept but may cause issues"} 
[2026-09-05 19:06:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5403193690502811648,"note":"Value kept but may cause issues"} 
[2026-09-05 19:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788615333000,"timestamp_ms":1788615333000,"timestamp_seconds":1788615333,"priority":1,"record_length":96,"hex_timestamp":"000001a071c81488"} 
[2026-09-05 19:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-05 19:06:25] 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-09-05 19:06:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885524224001,"66":27332,"6":206,"9":55808,"24":33,"16":1646428468281344,"44":5403193690502811648},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,9,24,16,44]} 
[2026-09-05 19:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885524224001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:06:25] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-05 19:06:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1646428468281344,"km_value":1646428468281.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:06:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":5403193690502811648,"description":"Unknown IO ID 44"} 
[2026-09-05 19:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885524224001,"power":27332,"unknown_6":206,"unknown_9":55808,"ignition":33,"odometer":null,"unknown_44":5403193690502811648}} 
[2026-09-05 19:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":171850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770776,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:06:25] local.INFO: GPS data processed {"connection_id":171850,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:06:25] local.INFO: Acknowledgment sent {"connection_id":171850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:06:37] local.INFO: TCP Data received {"connection_id":173240,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:06:37] local.INFO: Processing buffer {"connection_id":173240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:06:37] local.INFO: IMEI packet received {"connection_id":173240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":173240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:06:37] local.INFO: TCP Data received {"connection_id":173240,"ip":"42.109.136.1","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 19:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173240,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 19:06:37] local.INFO: Processing buffer {"connection_id":173240,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 19:06:37] local.INFO: IMEI packet received {"connection_id":173240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":173240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:06:39] local.INFO: TCP Data received {"connection_id":173240,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:06:39] local.INFO: Processing buffer {"connection_id":173240,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 19:06:39] local.INFO: IMEI packet received {"connection_id":173240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":173240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:06:40] local.INFO: TCP Data received {"connection_id":173240,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071c86e60012d1bff00071d8e68004b009229..."} 
[2026-09-05 19:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c86e60012d1bff00071d8e68004b009229..."} 
[2026-09-05 19:06:40] local.INFO: Processing buffer {"connection_id":173240,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a071..."} 
[2026-09-05 19:06:40] local.INFO: IMEI packet received {"connection_id":173240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":173240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:06:41] local.INFO: TCP Data received {"connection_id":173240,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071c87248012d1bffc0071d8d80004b008027..."} 
[2026-09-05 19:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c87248012d1bffc0071d8d80004b008027..."} 
[2026-09-05 19:06:41] local.INFO: Processing buffer {"connection_id":173240,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a071c86e60012d1bff00071d8e68004b009229..."} 
[2026-09-05 19:06:41] local.INFO: Packet analysis {"connection_id":173240,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a071c8"} 
[2026-09-05 19:06:41] local.INFO: Extracted packet for processing {"connection_id":173240,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c8"} 
[2026-09-05 19:06:41] local.INFO: GPS Element Parsed {"raw_longitude":756809472,"raw_latitude":119377512,"longitude_deg":75.6809472,"latitude_deg":11.9377512,"altitude":75,"angle":146,"satellites":41,"speed":13,"hex_longitude":"2d1bff00","hex_latitude":"071d8e68","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885529088001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18069082033094656,"note":"Value kept but may cause issues"} 
[2026-09-05 19:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2015783076274991104,"note":"Value kept but may cause issues"} 
[2026-09-05 19:06:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 19:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788615356000,"timestamp_ms":1788615356000,"timestamp_seconds":1788615356,"priority":1,"record_length":96,"hex_timestamp":"000001a071c86e60"} 
[2026-09-05 19:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-05 19:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":173240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":173240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":173240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885529088001,"66":12885,"83":41984,"24":13,"16":18069082033094656,"45":2015783076274991104},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-09-05 19:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885529088001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:06:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18069082033094656,"km_value":18069082033094.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":2015783076274991104,"description":"Unknown IO ID 45"} 
[2026-09-05 19:06:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457885529088001,"power":12885,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":2015783076274991104}} 
[2026-09-05 19:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":173240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:06:41] local.INFO: GPS data processed {"connection_id":173240,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:06:41] local.INFO: Acknowledgment sent {"connection_id":173240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:06:41] local.INFO: Packet analysis {"connection_id":173240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c8"} 
[2026-09-05 19:06:41] local.INFO: Extracted packet for processing {"connection_id":173240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c8"} 
[2026-09-05 19:06:41] local.INFO: GPS Element Parsed {"raw_longitude":756809664,"raw_latitude":119377280,"longitude_deg":75.6809664,"latitude_deg":11.937728,"altitude":75,"angle":128,"satellites":39,"speed":12,"hex_longitude":"2d1bffc0","hex_latitude":"071d8d80","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885531136001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18069094917996544,"note":"Value kept but may cause issues"} 
[2026-09-05 19:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2017331188645914624,"note":"Value kept but may cause issues"} 
[2026-09-05 19:06:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 19:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788615357000,"timestamp_ms":1788615357000,"timestamp_seconds":1788615357,"priority":1,"record_length":96,"hex_timestamp":"000001a071c87248"} 
[2026-09-05 19:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-05 19:06:41] 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-09-05 19: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-09-05 19:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":173240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":173240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":173240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885531136001,"66":12319,"83":41984,"24":12,"16":18069094917996544,"45":2017331188645914624},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-09-05 19:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885531136001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:06:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18069094917996544,"km_value":18069094917996.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":2017331188645914624,"description":"Unknown IO ID 45"} 
[2026-09-05 19:06:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457885531136001,"power":12319,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":2017331188645914624}} 
[2026-09-05 19:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":173240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:06:41] local.INFO: GPS data processed {"connection_id":173240,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:06:41] local.INFO: Acknowledgment sent {"connection_id":173240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:06:42] local.INFO: TCP Data received {"connection_id":173240,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071c87630012d1c0140071d8cf8004b006c27..."} 
[2026-09-05 19:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c87630012d1c0140071d8cf8004b006c27..."} 
[2026-09-05 19:06:42] local.INFO: Processing buffer {"connection_id":173240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c87630012d1c0140071d8cf8004b006c27..."} 
[2026-09-05 19:06:42] local.INFO: Packet analysis {"connection_id":173240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c8"} 
[2026-09-05 19:06:42] local.INFO: Extracted packet for processing {"connection_id":173240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c8"} 
[2026-09-05 19:06:42] local.INFO: GPS Element Parsed {"raw_longitude":756810048,"raw_latitude":119377144,"longitude_deg":75.6810048,"latitude_deg":11.9377144,"altitude":75,"angle":108,"satellites":39,"speed":13,"hex_longitude":"2d1c0140","hex_latitude":"071d8cf8","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885531392001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18069116392833024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2017542294878388224,"note":"Value kept but may cause issues"} 
[2026-09-05 19:06:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 19:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788615358000,"timestamp_ms":1788615358000,"timestamp_seconds":1788615358,"priority":1,"record_length":96,"hex_timestamp":"000001a071c87630"} 
[2026-09-05 19:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 19:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":173240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":173240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":173240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885531392001,"66":12319,"83":41984,"24":13,"16":18069116392833024,"45":2017542294878388224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-09-05 19:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885531392001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:06:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18069116392833024,"km_value":18069116392833.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2017542294878388224,"description":"Unknown IO ID 45"} 
[2026-09-05 19:06:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457885531392001,"power":12319,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":2017542294878388224}} 
[2026-09-05 19:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":173240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:06:43] local.INFO: GPS data processed {"connection_id":173240,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:06:43] local.INFO: Acknowledgment sent {"connection_id":173240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:06:44] local.INFO: TCP Data received {"connection_id":173240,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071c885d0012d1c0700071d8b50004d007825..."} 
[2026-09-05 19:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c885d0012d1c0700071d8b50004d007825..."} 
[2026-09-05 19:06:44] local.INFO: Processing buffer {"connection_id":173240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c885d0012d1c0700071d8b50004d007825..."} 
[2026-09-05 19:06:44] local.INFO: Packet analysis {"connection_id":173240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c8"} 
[2026-09-05 19:06:44] local.INFO: Extracted packet for processing {"connection_id":173240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c8"} 
[2026-09-05 19:06:44] local.INFO: GPS Element Parsed {"raw_longitude":756811520,"raw_latitude":119376720,"longitude_deg":75.681152,"latitude_deg":11.937672,"altitude":77,"angle":120,"satellites":37,"speed":15,"hex_longitude":"2d1c0700","hex_latitude":"071d8b50","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885531648001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18069189407277056,"note":"Value kept but may cause issues"} 
[2026-09-05 19:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2017964507343419392,"note":"Value kept but may cause issues"} 
[2026-09-05 19:06:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 19:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788615362000,"timestamp_ms":1788615362000,"timestamp_seconds":1788615362,"priority":1,"record_length":96,"hex_timestamp":"000001a071c885d0"} 
[2026-09-05 19:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-05 19:06: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-09-05 19: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-09-05 19:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":173240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":173240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":173240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885531648001,"66":13537,"83":41984,"24":15,"16":18069189407277056,"45":2017964507343419392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-09-05 19:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885531648001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:06:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18069189407277056,"km_value":18069189407277.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2017964507343419392,"description":"Unknown IO ID 45"} 
[2026-09-05 19:06:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457885531648001,"power":13537,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":2017964507343419392}} 
[2026-09-05 19:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":173240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:06:44] local.INFO: GPS data processed {"connection_id":173240,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:06:44] local.INFO: Acknowledgment sent {"connection_id":173240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:06:46] local.INFO: TCP Data received {"connection_id":171851,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171851,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:06:46] local.INFO: Processing buffer {"connection_id":171851,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:06:46] local.INFO: IMEI packet received {"connection_id":171851,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 19:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":171851,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:06:47] local.INFO: TCP Data received {"connection_id":171851,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171851,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:06:47] local.INFO: Processing buffer {"connection_id":171851,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:06:47] local.INFO: IMEI packet received {"connection_id":171851,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":171851,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:06:52] local.INFO: TCP Data received {"connection_id":171851,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171851,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:06:52] local.INFO: Processing buffer {"connection_id":171851,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:06:52] local.INFO: IMEI packet received {"connection_id":171851,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":171851,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:06:53] local.INFO: TCP Data received {"connection_id":171851,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071c837b0012c4b13c008bf32f00018002a2d..."} 
[2026-09-05 19:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c837b0012c4b13c008bf32f00018002a2d..."} 
[2026-09-05 19:06:53] local.INFO: Processing buffer {"connection_id":171851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c837b0012c4b13c008bf32f00018002a2d..."} 
[2026-09-05 19:06:53] local.INFO: Packet analysis {"connection_id":171851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c8"} 
[2026-09-05 19:06:53] local.INFO: Extracted packet for processing {"connection_id":171851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c8"} 
[2026-09-05 19:06:53] local.INFO: GPS Element Parsed {"raw_longitude":743117760,"raw_latitude":146748144,"longitude_deg":74.311776,"latitude_deg":14.6748144,"altitude":24,"angle":42,"satellites":45,"speed":31,"hex_longitude":"2c4b13c0","hex_latitude":"08bf32f0","is_valid_coordinates":true} 
[2026-09-05 19:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885525248001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1646802130436096,"note":"Value kept but may cause issues"} 
[2026-09-05 19:06:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5404741802875572224,"note":"Value kept but may cause issues"} 
[2026-09-05 19:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788615342000,"timestamp_ms":1788615342000,"timestamp_seconds":1788615342,"priority":1,"record_length":96,"hex_timestamp":"000001a071c837b0"} 
[2026-09-05 19:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-05 19:06:53] 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-09-05 19:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171851,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171851,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885525248001,"66":27767,"6":206,"9":55808,"24":31,"16":1646802130436096,"44":5404741802875572224},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,9,24,16,44]} 
[2026-09-05 19:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885525248001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:06:53] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-05 19:06:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1646802130436096,"km_value":1646802130436.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:06:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":5404741802875572224,"description":"Unknown IO ID 44"} 
[2026-09-05 19:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885525248001,"power":27767,"unknown_6":206,"unknown_9":55808,"ignition":31,"odometer":null,"unknown_44":5404741802875572224}} 
[2026-09-05 19:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":171851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770781,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:06:53] local.INFO: GPS data processed {"connection_id":171851,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:06:53] local.INFO: Acknowledgment sent {"connection_id":171851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:06:55] local.INFO: TCP Data received {"connection_id":173241,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:06:55] local.INFO: Processing buffer {"connection_id":173241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:06:55] local.INFO: IMEI packet received {"connection_id":173241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":173241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:07:01] local.INFO: TCP Data received {"connection_id":173241,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:07:01] local.INFO: Processing buffer {"connection_id":173241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:07:01] local.INFO: IMEI packet received {"connection_id":173241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":173241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:07:02] local.INFO: TCP Data received {"connection_id":173241,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a071c7c280012d7b850005f5f278000900f62d..."} 
[2026-09-05 19:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c7c280012d7b850005f5f278000900f62d..."} 
[2026-09-05 19:07:02] local.INFO: Processing buffer {"connection_id":173241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c7c280012d7b850005f5f278000900f62d..."} 
[2026-09-05 19:07:02] local.INFO: Packet analysis {"connection_id":173241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c7"} 
[2026-09-05 19:07:02] local.INFO: Extracted packet for processing {"connection_id":173241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c7"} 
[2026-09-05 19:07:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885442816001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788615312000,"timestamp_ms":1788615312000,"timestamp_seconds":1788615312,"priority":1,"record_length":96,"hex_timestamp":"000001a071c7c280"} 
[2026-09-05 19:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:07:02] 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-09-05 19: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":156,"data_length":795,"current_offset":136} 
[2026-09-05 19:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885442816001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885442816001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:07:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:07:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885442816001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":173241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:07:02] local.INFO: GPS data processed {"connection_id":173241,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:07:02] local.INFO: Acknowledgment sent {"connection_id":173241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:07:16] local.INFO: TCP Data received {"connection_id":173240,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071c8fee8012d1c0b00071d3b80004200df2b..."} 
[2026-09-05 19:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c8fee8012d1c0b00071d3b80004200df2b..."} 
[2026-09-05 19:07:16] local.INFO: Processing buffer {"connection_id":173240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c8fee8012d1c0b00071d3b80004200df2b..."} 
[2026-09-05 19:07:16] local.INFO: Packet analysis {"connection_id":173240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c8"} 
[2026-09-05 19:07:16] local.INFO: Extracted packet for processing {"connection_id":173240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c8"} 
[2026-09-05 19:07:16] local.INFO: GPS Element Parsed {"raw_longitude":756812544,"raw_latitude":119356288,"longitude_deg":75.6812544,"latitude_deg":11.9356288,"altitude":66,"angle":223,"satellites":43,"speed":21,"hex_longitude":"2d1c0b00","hex_latitude":"071d3b80","is_valid_coordinates":true} 
[2026-09-05 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-09-05 19:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885540352001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18070254559166464,"note":"Value kept but may cause issues"} 
[2026-09-05 19:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2021201469570349056,"note":"Value kept but may cause issues"} 
[2026-09-05 19:07:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 19:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788615393000,"timestamp_ms":1788615393000,"timestamp_seconds":1788615393,"priority":1,"record_length":96,"hex_timestamp":"000001a071c8fee8"} 
[2026-09-05 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-09-05 19:07: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-09-05 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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-05 19:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 19:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885540352001,"66":13526,"83":41984,"24":21,"16":18070254559166464,"45":2021201469570349056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-09-05 19:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885540352001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:07:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18070254559166464,"km_value":18070254559166.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2021201469570349056,"description":"Unknown IO ID 45"} 
[2026-09-05 19:07:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457885540352001,"power":13526,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":2021201469570349056}} 
[2026-09-05 19:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":173240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:07:16] local.INFO: GPS data processed {"connection_id":173240,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:07:16] local.INFO: Acknowledgment sent {"connection_id":173240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:07:25] local.INFO: TCP Data received {"connection_id":171851,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071c84750012c4b1d4008bf3ab0001800352c..."} 
[2026-09-05 19:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c84750012c4b1d4008bf3ab0001800352c..."} 
[2026-09-05 19:07:25] local.INFO: Processing buffer {"connection_id":171851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c84750012c4b1d4008bf3ab0001800352c..."} 
[2026-09-05 19:07:25] local.INFO: Packet analysis {"connection_id":171851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c8"} 
[2026-09-05 19:07:25] local.INFO: Extracted packet for processing {"connection_id":171851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c8"} 
[2026-09-05 19:07:25] local.INFO: GPS Element Parsed {"raw_longitude":743120192,"raw_latitude":146750128,"longitude_deg":74.3120192,"latitude_deg":14.6750128,"altitude":24,"angle":53,"satellites":44,"speed":30,"hex_longitude":"2c4b1d40","hex_latitude":"08bf3ab0","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885527552001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1646952454291456,"note":"Value kept but may cause issues"} 
[2026-09-05 19:07:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5409878721202155520,"note":"Value kept but may cause issues"} 
[2026-09-05 19:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788615346000,"timestamp_ms":1788615346000,"timestamp_seconds":1788615346,"priority":1,"record_length":96,"hex_timestamp":"000001a071c84750"} 
[2026-09-05 19:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 19:07:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171851,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171851,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885527552001,"66":27789,"6":206,"9":55808,"24":30,"16":1646952454291456,"44":5409878721202155520},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,9,24,16,44]} 
[2026-09-05 19:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885527552001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:07:25] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-05 19:07:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1646952454291456,"km_value":1646952454291.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:07:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":5409878721202155520,"description":"Unknown IO ID 44"} 
[2026-09-05 19:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885527552001,"power":27789,"unknown_6":206,"unknown_9":55808,"ignition":30,"odometer":null,"unknown_44":5409878721202155520}} 
[2026-09-05 19:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":171851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770784,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:07:25] local.INFO: GPS data processed {"connection_id":171851,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:07:25] local.INFO: Acknowledgment sent {"connection_id":171851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:07:34] local.INFO: TCP Data received {"connection_id":173241,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a071c7c280012d7b850005f5f278000900f62d..."} 
[2026-09-05 19:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c7c280012d7b850005f5f278000900f62d..."} 
[2026-09-05 19:07:34] local.INFO: Processing buffer {"connection_id":173241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c7c280012d7b850005f5f278000900f62d..."} 
[2026-09-05 19:07:34] local.INFO: Packet analysis {"connection_id":173241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c7"} 
[2026-09-05 19:07:34] local.INFO: Extracted packet for processing {"connection_id":173241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c7"} 
[2026-09-05 19:07:34] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885442816001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788615312000,"timestamp_ms":1788615312000,"timestamp_seconds":1788615312,"priority":1,"record_length":96,"hex_timestamp":"000001a071c7c280"} 
[2026-09-05 19:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:07: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-09-05 19: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-09-05 19: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-09-05 19: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-09-05 19:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885442816001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885442816001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:07:34] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:07:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885442816001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":173241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:07:34] local.INFO: GPS data processed {"connection_id":173241,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:07:34] local.INFO: Acknowledgment sent {"connection_id":173241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:07:44] local.INFO: TCP Data received {"connection_id":174558,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:07:44] local.INFO: Processing buffer {"connection_id":174558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:07:44] local.INFO: IMEI packet received {"connection_id":174558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":174558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:07:47] local.INFO: TCP Data received {"connection_id":172116,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172116,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:07:47] local.INFO: Processing buffer {"connection_id":172116,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:07:47] local.INFO: IMEI packet received {"connection_id":172116,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 19:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":172116,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:07:47] local.INFO: TCP Data received {"connection_id":172116,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172116,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:07:47] local.INFO: Processing buffer {"connection_id":172116,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:07:47] local.INFO: IMEI packet received {"connection_id":172116,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":172116,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:07:49] local.INFO: TCP Data received {"connection_id":174558,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:07:49] local.INFO: Processing buffer {"connection_id":174558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:07:49] local.INFO: IMEI packet received {"connection_id":174558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":174558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:07:50] local.INFO: TCP Data received {"connection_id":172116,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172116,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:07:50] local.INFO: Processing buffer {"connection_id":172116,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:07:50] local.INFO: IMEI packet received {"connection_id":172116,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":172116,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:07:51] local.INFO: TCP Data received {"connection_id":174558,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071c902d0012d1c0a00071d39c0004200cf2b..."} 
[2026-09-05 19:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c902d0012d1c0a00071d39c0004200cf2b..."} 
[2026-09-05 19:07:51] local.INFO: Processing buffer {"connection_id":174558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c902d0012d1c0a00071d39c0004200cf2b..."} 
[2026-09-05 19:07:51] local.INFO: Packet analysis {"connection_id":174558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c9"} 
[2026-09-05 19:07:51] local.INFO: Extracted packet for processing {"connection_id":174558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c9"} 
[2026-09-05 19:07:51] local.INFO: GPS Element Parsed {"raw_longitude":756812288,"raw_latitude":119355840,"longitude_deg":75.6812288,"latitude_deg":11.935584,"altitude":66,"angle":207,"satellites":43,"speed":20,"hex_longitude":"2d1c0a00","hex_latitude":"071d39c0","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885540608001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18070280328970240,"note":"Value kept but may cause issues"} 
[2026-09-05 19:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2020708888361009152,"note":"Value kept but may cause issues"} 
[2026-09-05 19:07:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 19:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788615394000,"timestamp_ms":1788615394000,"timestamp_seconds":1788615394,"priority":1,"record_length":96,"hex_timestamp":"000001a071c902d0"} 
[2026-09-05 19:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 19:07: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-09-05 19: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-09-05 19:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885540608001,"66":13526,"83":41984,"24":20,"16":18070280328970240,"45":2020708888361009152},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-09-05 19:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885540608001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:07:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18070280328970240,"km_value":18070280328970.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2020708888361009152,"description":"Unknown IO ID 45"} 
[2026-09-05 19:07:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457885540608001,"power":13526,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":2020708888361009152}} 
[2026-09-05 19:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":174558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:07:51] local.INFO: GPS data processed {"connection_id":174558,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:07:51] local.INFO: Acknowledgment sent {"connection_id":174558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:07:54] local.INFO: TCP Data received {"connection_id":172116,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172116,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:07:54] local.INFO: Processing buffer {"connection_id":172116,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:07:54] local.INFO: IMEI packet received {"connection_id":172116,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":172116,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:07:55] local.INFO: TCP Data received {"connection_id":172117,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:07:55] local.INFO: Processing buffer {"connection_id":172117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:07:55] local.INFO: IMEI packet received {"connection_id":172117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":172117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:07:55] local.INFO: TCP Data received {"connection_id":172116,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071c97800012c4bbd4008c041b0000a015e2e..."} 
[2026-09-05 19:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c97800012c4bbd4008c041b0000a015e2e..."} 
[2026-09-05 19:07:55] local.INFO: Processing buffer {"connection_id":172116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c97800012c4bbd4008c041b0000a015e2e..."} 
[2026-09-05 19:07:55] local.INFO: Packet analysis {"connection_id":172116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c9"} 
[2026-09-05 19:07:55] local.INFO: Extracted packet for processing {"connection_id":172116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c9"} 
[2026-09-05 19:07:55] local.INFO: GPS Element Parsed {"raw_longitude":743161152,"raw_latitude":146817456,"longitude_deg":74.3161152,"latitude_deg":14.6817456,"altitude":10,"angle":350,"satellites":46,"speed":45,"hex_longitude":"2c4bbd40","hex_latitude":"08c041b0","is_valid_coordinates":true} 
[2026-09-05 19:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885547520001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1650989723549696,"note":"Value kept but may cause issues"} 
[2026-09-05 19:07:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5457940573492080640,"note":"Value kept but may cause issues"} 
[2026-09-05 19:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788615424000,"timestamp_ms":1788615424000,"timestamp_seconds":1788615424,"priority":1,"record_length":96,"hex_timestamp":"000001a071c97800"} 
[2026-09-05 19:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 19:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172116,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172116,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885547520001,"66":27800,"5":206,"9":55808,"24":45,"16":1650989723549696,"44":5457940573492080640},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 19:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885547520001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:07:55] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 19:07:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1650989723549696,"km_value":1650989723549.696,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:07:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":5457940573492080640,"description":"Unknown IO ID 44"} 
[2026-09-05 19:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885547520001,"power":27800,"unknown_5":206,"unknown_9":55808,"ignition":45,"odometer":null,"unknown_44":5457940573492080640}} 
[2026-09-05 19:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":172116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770787,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:07:56] local.INFO: GPS data processed {"connection_id":172116,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:07:56] local.INFO: Acknowledgment sent {"connection_id":172116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:08:01] local.INFO: TCP Data received {"connection_id":172117,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:08:01] local.INFO: Processing buffer {"connection_id":172117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:08:01] local.INFO: IMEI packet received {"connection_id":172117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":172117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:08:02] local.INFO: TCP Data received {"connection_id":172117,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071c7c280012d7b850005f5f278000900f62d..."} 
[2026-09-05 19:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c7c280012d7b850005f5f278000900f62d..."} 
[2026-09-05 19:08:02] local.INFO: Processing buffer {"connection_id":172117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c7c280012d7b850005f5f278000900f62d..."} 
[2026-09-05 19:08:02] local.INFO: Packet analysis {"connection_id":172117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c7"} 
[2026-09-05 19:08:02] local.INFO: Extracted packet for processing {"connection_id":172117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c7"} 
[2026-09-05 19:08:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 19:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885442816001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788615312000,"timestamp_ms":1788615312000,"timestamp_seconds":1788615312,"priority":1,"record_length":96,"hex_timestamp":"000001a071c7c280"} 
[2026-09-05 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-09-05 19:08:02] 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-09-05 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 19:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 19:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885442816001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885442816001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:08:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:08:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885442816001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":172117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:08:02] local.INFO: GPS data processed {"connection_id":172117,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:08:02] local.INFO: Acknowledgment sent {"connection_id":172117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:08:22] local.INFO: TCP Data received {"connection_id":174558,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071c9d9a8012d1c1640071cc130003000c72a..."} 
[2026-09-05 19:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c9d9a8012d1c1640071cc130003000c72a..."} 
[2026-09-05 19:08:22] local.INFO: Processing buffer {"connection_id":174558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c9d9a8012d1c1640071cc130003000c72a..."} 
[2026-09-05 19:08:22] local.INFO: Packet analysis {"connection_id":174558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c9"} 
[2026-09-05 19:08:22] local.INFO: Extracted packet for processing {"connection_id":174558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c9"} 
[2026-09-05 19:08:22] local.INFO: GPS Element Parsed {"raw_longitude":756815424,"raw_latitude":119324976,"longitude_deg":75.6815424,"latitude_deg":11.9324976,"altitude":48,"angle":199,"satellites":42,"speed":29,"hex_longitude":"2d1c1640","hex_latitude":"071cc130","is_valid_coordinates":true} 
[2026-09-05 19:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885554432001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18071895236673536,"note":"Value kept but may cause issues"} 
[2026-09-05 19:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2024297694306400256,"note":"Value kept but may cause issues"} 
[2026-09-05 19:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788615449000,"timestamp_ms":1788615449000,"timestamp_seconds":1788615449,"priority":1,"record_length":96,"hex_timestamp":"000001a071c9d9a8"} 
[2026-09-05 19:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-05 19:08:22] 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-09-05 19:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885554432001,"66":13537,"71":206,"83":41984,"24":29,"16":18071895236673536,"45":2024297694306400256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-09-05 19:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885554432001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:08:22] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-05 19:08:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18071895236673536,"km_value":18071895236673.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2024297694306400256,"description":"Unknown IO ID 45"} 
[2026-09-05 19:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885554432001,"power":13537,"unknown_71":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":2024297694306400256}} 
[2026-09-05 19:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":174558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:08:23] local.INFO: GPS data processed {"connection_id":174558,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:08:23] local.INFO: Acknowledgment sent {"connection_id":174558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:08:31] local.INFO: TCP Data received {"connection_id":172116,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071c98b88012c4bb64008c05780000a01512d..."} 
[2026-09-05 19:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c98b88012c4bb64008c05780000a01512d..."} 
[2026-09-05 19:08:31] local.INFO: Processing buffer {"connection_id":172116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c98b88012c4bb64008c05780000a01512d..."} 
[2026-09-05 19:08:31] local.INFO: Packet analysis {"connection_id":172116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c9"} 
[2026-09-05 19:08:31] local.INFO: Extracted packet for processing {"connection_id":172116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c9"} 
[2026-09-05 19:08:31] local.INFO: GPS Element Parsed {"raw_longitude":743159360,"raw_latitude":146823040,"longitude_deg":74.315936,"latitude_deg":14.682304,"altitude":10,"angle":337,"satellites":45,"speed":47,"hex_longitude":"2c4bb640","hex_latitude":"08c05780","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885548544001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1651277486358528,"note":"Value kept but may cause issues"} 
[2026-09-05 19:08:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5457588729772355584,"note":"Value kept but may cause issues"} 
[2026-09-05 19:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788615429000,"timestamp_ms":1788615429000,"timestamp_seconds":1788615429,"priority":1,"record_length":96,"hex_timestamp":"000001a071c98b88"} 
[2026-09-05 19:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:08: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-09-05 19: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 19:08: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-09-05 19: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-09-05 19:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172116,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172116,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885548544001,"66":27745,"5":206,"9":55808,"24":47,"16":1651277486358528,"44":5457588729772355584},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 19:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885548544001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:08:31] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 19:08:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1651277486358528,"km_value":1651277486358.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:08:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":5457588729772355584,"description":"Unknown IO ID 44"} 
[2026-09-05 19:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885548544001,"power":27745,"unknown_5":206,"unknown_9":55808,"ignition":47,"odometer":null,"unknown_44":5457588729772355584}} 
[2026-09-05 19:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":172116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770790,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:08:31] local.INFO: GPS data processed {"connection_id":172116,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:08:31] local.INFO: Acknowledgment sent {"connection_id":172116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:08:33] local.INFO: TCP Data received {"connection_id":172117,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071c7c280012d7b850005f5f278000900f62d..."} 
[2026-09-05 19:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c7c280012d7b850005f5f278000900f62d..."} 
[2026-09-05 19:08:33] local.INFO: Processing buffer {"connection_id":172117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c7c280012d7b850005f5f278000900f62d..."} 
[2026-09-05 19:08:33] local.INFO: Packet analysis {"connection_id":172117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c7"} 
[2026-09-05 19:08:33] local.INFO: Extracted packet for processing {"connection_id":172117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c7"} 
[2026-09-05 19:08:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885442816001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788615312000,"timestamp_ms":1788615312000,"timestamp_seconds":1788615312,"priority":1,"record_length":96,"hex_timestamp":"000001a071c7c280"} 
[2026-09-05 19:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:08: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-09-05 19: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":156,"data_length":795,"current_offset":136} 
[2026-09-05 19:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885442816001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885442816001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:08:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:08:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885442816001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":172117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:08:33] local.INFO: GPS data processed {"connection_id":172117,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:08:33] local.INFO: Acknowledgment sent {"connection_id":172117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:08:49] local.INFO: TCP Data received {"connection_id":173242,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:08:49] local.INFO: Processing buffer {"connection_id":173242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:08:49] local.INFO: IMEI packet received {"connection_id":173242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":173242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:08:50] local.INFO: TCP Data received {"connection_id":173242,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:08:50] local.INFO: Processing buffer {"connection_id":173242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:08:50] local.INFO: IMEI packet received {"connection_id":173242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":173242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:08:50] local.INFO: TCP Data received {"connection_id":174559,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174559,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:08:50] local.INFO: Processing buffer {"connection_id":174559,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:08:50] local.INFO: IMEI packet received {"connection_id":174559,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 19:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":174559,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:08:51] local.INFO: TCP Data received {"connection_id":173242,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:08:51] local.INFO: Processing buffer {"connection_id":173242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:08:51] local.INFO: IMEI packet received {"connection_id":173242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":173242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:08:51] local.INFO: TCP Data received {"connection_id":174559,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174559,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:08:51] local.INFO: Processing buffer {"connection_id":174559,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:08:51] local.INFO: IMEI packet received {"connection_id":174559,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":174559,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:08:52] local.INFO: TCP Data received {"connection_id":173242,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071ca00b8012d1c0b80071c9f68002e00bd26..."} 
[2026-09-05 19:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ca00b8012d1c0b80071c9f68002e00bd26..."} 
[2026-09-05 19:08:52] local.INFO: Processing buffer {"connection_id":173242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ca00b8012d1c0b80071c9f68002e00bd26..."} 
[2026-09-05 19:08:52] local.INFO: Packet analysis {"connection_id":173242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ca"} 
[2026-09-05 19:08:52] local.INFO: Extracted packet for processing {"connection_id":173242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ca"} 
[2026-09-05 19:08:52] local.INFO: GPS Element Parsed {"raw_longitude":756812672,"raw_latitude":119316328,"longitude_deg":75.6812672,"latitude_deg":11.9316328,"altitude":46,"angle":189,"satellites":38,"speed":37,"hex_longitude":"2d1c0b80","hex_latitude":"071c9f68","is_valid_coordinates":true} 
[2026-09-05 19:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885554944001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18072337618305024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2023875481840988160,"note":"Value kept but may cause issues"} 
[2026-09-05 19:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788615459000,"timestamp_ms":1788615459000,"timestamp_seconds":1788615459,"priority":1,"record_length":96,"hex_timestamp":"000001a071ca00b8"} 
[2026-09-05 19:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:08: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-09-05 19:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-05 19:08:52] 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-09-05 19:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885554944001,"66":13472,"71":206,"83":41984,"24":37,"16":18072337618305024,"45":2023875481840988160},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-09-05 19:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885554944001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:08:52] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-05 19:08:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18072337618305024,"km_value":18072337618305.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":2023875481840988160,"description":"Unknown IO ID 45"} 
[2026-09-05 19:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885554944001,"power":13472,"unknown_71":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":2023875481840988160}} 
[2026-09-05 19:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":173242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:08:52] local.INFO: GPS data processed {"connection_id":173242,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:08:52] local.INFO: Acknowledgment sent {"connection_id":173242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:08:55] local.INFO: TCP Data received {"connection_id":173242,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071ca0888012d1c0980071c9838002d00ca27..."} 
[2026-09-05 19:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ca0888012d1c0980071c9838002d00ca27..."} 
[2026-09-05 19:08:55] local.INFO: Processing buffer {"connection_id":173242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ca0888012d1c0980071c9838002d00ca27..."} 
[2026-09-05 19:08:55] local.INFO: Packet analysis {"connection_id":173242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ca"} 
[2026-09-05 19:08:55] local.INFO: Extracted packet for processing {"connection_id":173242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ca"} 
[2026-09-05 19:08:55] local.INFO: GPS Element Parsed {"raw_longitude":756812160,"raw_latitude":119314488,"longitude_deg":75.681216,"latitude_deg":11.9314488,"altitude":45,"angle":202,"satellites":39,"speed":37,"hex_longitude":"2d1c0980","hex_latitude":"071c9838","is_valid_coordinates":true} 
[2026-09-05 19:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885557504001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18072432107585536,"note":"Value kept but may cause issues"} 
[2026-09-05 19:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2020849625839134720,"note":"Value kept but may cause issues"} 
[2026-09-05 19:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788615461000,"timestamp_ms":1788615461000,"timestamp_seconds":1788615461,"priority":1,"record_length":96,"hex_timestamp":"000001a071ca0888"} 
[2026-09-05 19:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-05 19:08:55] 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-09-05 19:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885557504001,"66":13515,"71":206,"83":41984,"24":37,"16":18072432107585536,"45":2020849625839134720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-09-05 19:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885557504001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:08:55] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-05 19:08:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18072432107585536,"km_value":18072432107585.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2020849625839134720,"description":"Unknown IO ID 45"} 
[2026-09-05 19:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885557504001,"power":13515,"unknown_71":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":2020849625839134720}} 
[2026-09-05 19:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":173242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:08:55] local.INFO: GPS data processed {"connection_id":173242,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:08:55] local.INFO: Acknowledgment sent {"connection_id":173242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:08:55] local.INFO: TCP Data received {"connection_id":174560,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:08:55] local.INFO: Processing buffer {"connection_id":174560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:08:55] local.INFO: IMEI packet received {"connection_id":174560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":174560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:08:57] local.INFO: TCP Data received {"connection_id":174559,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174559,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:08:57] local.INFO: Processing buffer {"connection_id":174559,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:08:57] local.INFO: IMEI packet received {"connection_id":174559,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":174559,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:08:58] local.INFO: TCP Data received {"connection_id":174559,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071c99740012c4baf4008c063e0000b01452d..."} 
[2026-09-05 19:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c99740012c4baf4008c063e0000b01452d..."} 
[2026-09-05 19:08:58] local.INFO: Processing buffer {"connection_id":174559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c99740012c4baf4008c063e0000b01452d..."} 
[2026-09-05 19:08:58] local.INFO: Packet analysis {"connection_id":174559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c9"} 
[2026-09-05 19:08:58] local.INFO: Extracted packet for processing {"connection_id":174559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c9"} 
[2026-09-05 19:08:58] local.INFO: GPS Element Parsed {"raw_longitude":743157568,"raw_latitude":146826208,"longitude_deg":74.3157568,"latitude_deg":14.6826208,"altitude":11,"angle":325,"satellites":45,"speed":46,"hex_longitude":"2c4baf40","hex_latitude":"08c063e0","is_valid_coordinates":true} 
[2026-09-05 19:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885549824001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1651449285050368,"note":"Value kept but may cause issues"} 
[2026-09-05 19:08:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5455618404936810496,"note":"Value kept but may cause issues"} 
[2026-09-05 19:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788615432000,"timestamp_ms":1788615432000,"timestamp_seconds":1788615432,"priority":1,"record_length":96,"hex_timestamp":"000001a071c99740"} 
[2026-09-05 19:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 19:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:08:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174559,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174559,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885549824001,"66":27745,"5":206,"9":55808,"24":46,"16":1651449285050368,"44":5455618404936810496},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 19:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885549824001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:08:58] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 19:08:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1651449285050368,"km_value":1651449285050.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:08:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":5455618404936810496,"description":"Unknown IO ID 44"} 
[2026-09-05 19:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885549824001,"power":27745,"unknown_5":206,"unknown_9":55808,"ignition":46,"odometer":null,"unknown_44":5455618404936810496}} 
[2026-09-05 19:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":174559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770794,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:08:58] local.INFO: GPS data processed {"connection_id":174559,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:08:58] local.INFO: Acknowledgment sent {"connection_id":174559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:09:01] local.INFO: TCP Data received {"connection_id":174560,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:09:01] local.INFO: Processing buffer {"connection_id":174560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:09:01] local.INFO: IMEI packet received {"connection_id":174560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":174560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:09:01] local.INFO: TCP Data received {"connection_id":174560,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071c7c280012d7b850005f5f278000900f62d..."} 
[2026-09-05 19:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c7c280012d7b850005f5f278000900f62d..."} 
[2026-09-05 19:09:01] local.INFO: Processing buffer {"connection_id":174560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c7c280012d7b850005f5f278000900f62d..."} 
[2026-09-05 19:09:01] local.INFO: Packet analysis {"connection_id":174560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c7"} 
[2026-09-05 19:09:01] local.INFO: Extracted packet for processing {"connection_id":174560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c7"} 
[2026-09-05 19:09:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885442816001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788615312000,"timestamp_ms":1788615312000,"timestamp_seconds":1788615312,"priority":1,"record_length":96,"hex_timestamp":"000001a071c7c280"} 
[2026-09-05 19:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:09:01] 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-09-05 19:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 19:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885442816001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885442816001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:09:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:09:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885442816001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":174560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:09:01] local.INFO: GPS data processed {"connection_id":174560,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:09:01] local.INFO: Acknowledgment sent {"connection_id":174560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:09:26] local.INFO: TCP Data received {"connection_id":173242,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071cad790012d1b9780071c14a0003900e329..."} 
[2026-09-05 19:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071cad790012d1b9780071c14a0003900e329..."} 
[2026-09-05 19:09:26] local.INFO: Processing buffer {"connection_id":173242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071cad790012d1b9780071c14a0003900e329..."} 
[2026-09-05 19:09:26] local.INFO: Packet analysis {"connection_id":173242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ca"} 
[2026-09-05 19:09:26] local.INFO: Extracted packet for processing {"connection_id":173242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ca"} 
[2026-09-05 19:09:26] local.INFO: GPS Element Parsed {"raw_longitude":756782976,"raw_latitude":119280800,"longitude_deg":75.6782976,"latitude_deg":11.92808,"altitude":57,"angle":227,"satellites":41,"speed":35,"hex_longitude":"2d1b9780","hex_latitude":"071c14a0","is_valid_coordinates":true} 
[2026-09-05 19:09: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-09-05 19:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885570304001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18074661195612160,"note":"Value kept but may cause issues"} 
[2026-09-05 19:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1992209546950383616,"note":"Value kept but may cause issues"} 
[2026-09-05 19:09:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788615514000,"timestamp_ms":1788615514000,"timestamp_seconds":1788615514,"priority":1,"record_length":96,"hex_timestamp":"000001a071cad790"} 
[2026-09-05 19:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 19:09:26] 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-09-05 19:09: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-09-05 19:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:09:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885570304001,"66":13493,"109":206,"83":41984,"24":35,"16":18074661195612160,"45":1992209546950383616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-05 19:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885570304001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:09:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-05 19:09:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18074661195612160,"km_value":18074661195612.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1992209546950383616,"description":"Unknown IO ID 45"} 
[2026-09-05 19:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885570304001,"power":13493,"unknown_109":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1992209546950383616}} 
[2026-09-05 19:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":173242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:09:26] local.INFO: GPS data processed {"connection_id":173242,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:09:26] local.INFO: Acknowledgment sent {"connection_id":173242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:09:30] local.INFO: TCP Data received {"connection_id":174559,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071cadf60012c4abb4008c18a80000e014e2d..."} 
[2026-09-05 19:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071cadf60012c4abb4008c18a80000e014e2d..."} 
[2026-09-05 19:09:30] local.INFO: Processing buffer {"connection_id":174559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071cadf60012c4abb4008c18a80000e014e2d..."} 
[2026-09-05 19:09:30] local.INFO: Packet analysis {"connection_id":174559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ca"} 
[2026-09-05 19:09:30] local.INFO: Extracted packet for processing {"connection_id":174559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ca"} 
[2026-09-05 19:09:30] local.INFO: GPS Element Parsed {"raw_longitude":743095104,"raw_latitude":146901632,"longitude_deg":74.3095104,"latitude_deg":14.6901632,"altitude":14,"angle":334,"satellites":45,"speed":47,"hex_longitude":"2c4abb40","hex_latitude":"08c18a80","is_valid_coordinates":true} 
[2026-09-05 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-09-05 19:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885570048001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656165159141376,"note":"Value kept but may cause issues"} 
[2026-09-05 19:09:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5389964366637010944,"note":"Value kept but may cause issues"} 
[2026-09-05 19:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788615516000,"timestamp_ms":1788615516000,"timestamp_seconds":1788615516,"priority":1,"record_length":96,"hex_timestamp":"000001a071cadf60"} 
[2026-09-05 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-09-05 19:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":212,"data_length":795,"current_offset":136} 
[2026-09-05 19:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 19:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174559,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174559,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885570048001,"66":28082,"5":206,"9":55808,"24":47,"16":1656165159141376,"44":5389964366637010944},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 19:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885570048001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:09:30] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 19:09:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656165159141376,"km_value":1656165159141.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:09:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":5389964366637010944,"description":"Unknown IO ID 44"} 
[2026-09-05 19:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885570048001,"power":28082,"unknown_5":206,"unknown_9":55808,"ignition":47,"odometer":null,"unknown_44":5389964366637010944}} 
[2026-09-05 19:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":174559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770797,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:09:30] local.INFO: GPS data processed {"connection_id":174559,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:09:30] local.INFO: Acknowledgment sent {"connection_id":174559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:09:34] local.INFO: TCP Data received {"connection_id":174560,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071c7c280012d7b850005f5f278000900f62d..."} 
[2026-09-05 19:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c7c280012d7b850005f5f278000900f62d..."} 
[2026-09-05 19:09:34] local.INFO: Processing buffer {"connection_id":174560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c7c280012d7b850005f5f278000900f62d..."} 
[2026-09-05 19:09:34] local.INFO: Packet analysis {"connection_id":174560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c7"} 
[2026-09-05 19:09:34] local.INFO: Extracted packet for processing {"connection_id":174560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c7"} 
[2026-09-05 19:09:34] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885442816001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788615312000,"timestamp_ms":1788615312000,"timestamp_seconds":1788615312,"priority":1,"record_length":96,"hex_timestamp":"000001a071c7c280"} 
[2026-09-05 19:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:09: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-09-05 19:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 19:09: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-09-05 19: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-09-05 19:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885442816001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885442816001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:09:34] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:09:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885442816001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":174560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:09:34] local.INFO: GPS data processed {"connection_id":174560,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:09:34] local.INFO: Acknowledgment sent {"connection_id":174560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:09:47] local.INFO: TCP Data received {"connection_id":173243,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173243,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:09:47] local.INFO: Processing buffer {"connection_id":173243,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:09:47] local.INFO: IMEI packet received {"connection_id":173243,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 19:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":173243,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:09:51] local.INFO: TCP Data received {"connection_id":173243,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173243,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:09:51] local.INFO: Processing buffer {"connection_id":173243,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:09:51] local.INFO: IMEI packet received {"connection_id":173243,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":173243,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:09:53] local.INFO: TCP Data received {"connection_id":173243,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071cafea0012c4aaa8008c1ab10000e014a2c..."} 
[2026-09-05 19:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071cafea0012c4aaa8008c1ab10000e014a2c..."} 
[2026-09-05 19:09:53] local.INFO: Processing buffer {"connection_id":173243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071cafea0012c4aaa8008c1ab10000e014a2c..."} 
[2026-09-05 19:09:53] local.INFO: Packet analysis {"connection_id":173243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ca"} 
[2026-09-05 19:09:53] local.INFO: Extracted packet for processing {"connection_id":173243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ca"} 
[2026-09-05 19:09:53] local.INFO: GPS Element Parsed {"raw_longitude":743090816,"raw_latitude":146909968,"longitude_deg":74.3090816,"latitude_deg":14.6909968,"altitude":14,"angle":330,"satellites":44,"speed":40,"hex_longitude":"2c4aaa80","hex_latitude":"08c1ab10","is_valid_coordinates":true} 
[2026-09-05 19:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885572096001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656616130707456,"note":"Value kept but may cause issues"} 
[2026-09-05 19:09:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5384968185802555392,"note":"Value kept but may cause issues"} 
[2026-09-05 19:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788615524000,"timestamp_ms":1788615524000,"timestamp_seconds":1788615524,"priority":1,"record_length":96,"hex_timestamp":"000001a071cafea0"} 
[2026-09-05 19:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:09: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-09-05 19:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 19:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885572096001,"66":28006,"5":206,"9":55808,"24":40,"16":1656616130707456,"44":5384968185802555392},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 19:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885572096001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:09:53] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 19:09:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656616130707456,"km_value":1656616130707.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:09:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":5384968185802555392,"description":"Unknown IO ID 44"} 
[2026-09-05 19:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885572096001,"power":28006,"unknown_5":206,"unknown_9":55808,"ignition":40,"odometer":null,"unknown_44":5384968185802555392}} 
[2026-09-05 19:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":173243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770799,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:09:53] local.INFO: GPS data processed {"connection_id":173243,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:09:53] local.INFO: Acknowledgment sent {"connection_id":173243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:09:55] local.INFO: TCP Data received {"connection_id":171852,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:09:55] local.INFO: Processing buffer {"connection_id":171852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:09:55] local.INFO: IMEI packet received {"connection_id":171852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":171852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:09:59] local.INFO: TCP Data received {"connection_id":171853,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:09:59] local.INFO: Processing buffer {"connection_id":171853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:09:59] local.INFO: IMEI packet received {"connection_id":171853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":171853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:10:01] local.INFO: TCP Data received {"connection_id":171852,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:10:01] local.INFO: Processing buffer {"connection_id":171852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:10:01] local.INFO: IMEI packet received {"connection_id":171852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":171852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:10:02] local.INFO: TCP Data received {"connection_id":171852,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071c7c280012d7b850005f5f278000900f62d..."} 
[2026-09-05 19:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c7c280012d7b850005f5f278000900f62d..."} 
[2026-09-05 19:10:02] local.INFO: Processing buffer {"connection_id":171852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c7c280012d7b850005f5f278000900f62d..."} 
[2026-09-05 19:10:02] local.INFO: Packet analysis {"connection_id":171852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c7"} 
[2026-09-05 19:10:02] local.INFO: Extracted packet for processing {"connection_id":171852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c7"} 
[2026-09-05 19:10:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885442816001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788615312000,"timestamp_ms":1788615312000,"timestamp_seconds":1788615312,"priority":1,"record_length":96,"hex_timestamp":"000001a071c7c280"} 
[2026-09-05 19:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:10:02] 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-09-05 19:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 19:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885442816001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885442816001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:10:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:10:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885442816001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":171852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:10:02] local.INFO: GPS data processed {"connection_id":171852,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:10:02] local.INFO: Acknowledgment sent {"connection_id":171852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:10:03] local.INFO: TCP Data received {"connection_id":171853,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:10:03] local.INFO: Processing buffer {"connection_id":171853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:10:03] local.INFO: IMEI packet received {"connection_id":171853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":171853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:10:04] local.INFO: TCP Data received {"connection_id":171853,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071cb5878012d1b7cc0071bea18004500702b..."} 
[2026-09-05 19:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071cb5878012d1b7cc0071bea18004500702b..."} 
[2026-09-05 19:10:04] local.INFO: Processing buffer {"connection_id":171853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071cb5878012d1b7cc0071bea18004500702b..."} 
[2026-09-05 19:10:04] local.INFO: Packet analysis {"connection_id":171853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071cb"} 
[2026-09-05 19:10:04] local.INFO: Extracted packet for processing {"connection_id":171853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071cb"} 
[2026-09-05 19:10:04] local.INFO: GPS Element Parsed {"raw_longitude":756776128,"raw_latitude":119269912,"longitude_deg":75.6776128,"latitude_deg":11.9269912,"altitude":69,"angle":112,"satellites":43,"speed":30,"hex_longitude":"2d1b7cc0","hex_latitude":"071bea18","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885578240001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18075627563253760,"note":"Value kept but may cause issues"} 
[2026-09-05 19:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976376579507165184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788615547000,"timestamp_ms":1788615547000,"timestamp_seconds":1788615547,"priority":1,"record_length":96,"hex_timestamp":"000001a071cb5878"} 
[2026-09-05 19:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-05 19:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":171853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":171853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":171853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885578240001,"66":13374,"71":206,"83":41984,"24":30,"16":18075627563253760,"45":1976376579507165184},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-09-05 19:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885578240001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:10:04] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-05 19:10:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18075627563253760,"km_value":18075627563253.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976376579507165184,"description":"Unknown IO ID 45"} 
[2026-09-05 19:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885578240001,"power":13374,"unknown_71":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1976376579507165184}} 
[2026-09-05 19:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":171853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:10:04] local.INFO: GPS data processed {"connection_id":171853,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:10:04] local.INFO: Acknowledgment sent {"connection_id":171853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:10:24] local.INFO: TCP Data received {"connection_id":173243,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071cb1610012c4aa2c008c1b8e0000e014a2a..."} 
[2026-09-05 19:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071cb1610012c4aa2c008c1b8e0000e014a2a..."} 
[2026-09-05 19:10:24] local.INFO: Processing buffer {"connection_id":173243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071cb1610012c4aa2c008c1b8e0000e014a2a..."} 
[2026-09-05 19:10:24] local.INFO: Packet analysis {"connection_id":173243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071cb"} 
[2026-09-05 19:10:24] local.INFO: Extracted packet for processing {"connection_id":173243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071cb"} 
[2026-09-05 19:10:24] local.INFO: GPS Element Parsed {"raw_longitude":743088832,"raw_latitude":146913504,"longitude_deg":74.3088832,"latitude_deg":14.6913504,"altitude":14,"angle":330,"satellites":42,"speed":16,"hex_longitude":"2c4aa2c0","hex_latitude":"08c1b8e0","is_valid_coordinates":true} 
[2026-09-05 19:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885574144001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:10:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5380253479944785920,"note":"Value kept but may cause issues"} 
[2026-09-05 19:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788615530000,"timestamp_ms":1788615530000,"timestamp_seconds":1788615530,"priority":1,"record_length":96,"hex_timestamp":"000001a071cb1610"} 
[2026-09-05 19:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 19:10:24] 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-09-05 19:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885574144001,"66":28126,"5":206,"9":55808,"24":16,"16":1656792224366592,"44":5380253479944785920},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 19:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885574144001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:10:24] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 19:10:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656792224366592,"km_value":1656792224366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:10:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":5380253479944785920,"description":"Unknown IO ID 44"} 
[2026-09-05 19:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885574144001,"power":28126,"unknown_5":206,"unknown_9":55808,"ignition":16,"odometer":null,"unknown_44":5380253479944785920}} 
[2026-09-05 19:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":173243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770802,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:10:25] local.INFO: GPS data processed {"connection_id":173243,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:10:25] local.INFO: Acknowledgment sent {"connection_id":173243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:10:33] local.INFO: TCP Data received {"connection_id":171852,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071c7c280012d7b850005f5f278000900f62d..."} 
[2026-09-05 19:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071c7c280012d7b850005f5f278000900f62d..."} 
[2026-09-05 19:10:33] local.INFO: Processing buffer {"connection_id":171852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071c7c280012d7b850005f5f278000900f62d..."} 
[2026-09-05 19:10:33] local.INFO: Packet analysis {"connection_id":171852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071c7"} 
[2026-09-05 19:10:33] local.INFO: Extracted packet for processing {"connection_id":171852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071c7"} 
[2026-09-05 19:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":45,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885442816001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788615312000,"timestamp_ms":1788615312000,"timestamp_seconds":1788615312,"priority":1,"record_length":96,"hex_timestamp":"000001a071c7c280"} 
[2026-09-05 19:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:10: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-09-05 19: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":156,"data_length":795,"current_offset":136} 
[2026-09-05 19:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885442816001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885442816001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:10:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:10:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885442816001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":171852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:10:33] local.INFO: GPS data processed {"connection_id":171852,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:10:33] local.INFO: Acknowledgment sent {"connection_id":171852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:10:44] local.INFO: TCP Data received {"connection_id":174561,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:10:44] local.INFO: Processing buffer {"connection_id":174561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:10:44] local.INFO: IMEI packet received {"connection_id":174561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":174561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:10:48] local.INFO: TCP Data received {"connection_id":171854,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171854,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:10:48] local.INFO: Processing buffer {"connection_id":171854,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:10:48] local.INFO: IMEI packet received {"connection_id":171854,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 19:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":171854,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:10:49] local.INFO: TCP Data received {"connection_id":174561,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:10:49] local.INFO: Processing buffer {"connection_id":174561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:10:49] local.INFO: IMEI packet received {"connection_id":174561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":174561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:10:50] local.INFO: TCP Data received {"connection_id":174561,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071cb77b8012d1b9640071bdeb80045006528..."} 
[2026-09-05 19:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071cb77b8012d1b9640071bdeb80045006528..."} 
[2026-09-05 19:10:50] local.INFO: Processing buffer {"connection_id":174561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071cb77b8012d1b9640071bdeb80045006528..."} 
[2026-09-05 19:10:50] local.INFO: Packet analysis {"connection_id":174561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071cb"} 
[2026-09-05 19:10:50] local.INFO: Extracted packet for processing {"connection_id":174561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071cb"} 
[2026-09-05 19:10:50] local.INFO: GPS Element Parsed {"raw_longitude":756782656,"raw_latitude":119267000,"longitude_deg":75.6782656,"latitude_deg":11.9267,"altitude":69,"angle":101,"satellites":40,"speed":40,"hex_longitude":"2d1b9640","hex_latitude":"071bdeb8","is_valid_coordinates":true} 
[2026-09-05 19:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885580032001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18075971160637440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1980669072901806080,"note":"Value kept but may cause issues"} 
[2026-09-05 19:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788615555000,"timestamp_ms":1788615555000,"timestamp_seconds":1788615555,"priority":1,"record_length":96,"hex_timestamp":"000001a071cb77b8"} 
[2026-09-05 19:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-05 19:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885580032001,"66":12711,"71":206,"83":41984,"24":40,"16":18075971160637440,"45":1980669072901806080},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-09-05 19:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885580032001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:10:50] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-05 19:10:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18075971160637440,"km_value":18075971160637.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1980669072901806080,"description":"Unknown IO ID 45"} 
[2026-09-05 19:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885580032001,"power":12711,"unknown_71":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1980669072901806080}} 
[2026-09-05 19:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":174561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:10:51] local.INFO: GPS data processed {"connection_id":174561,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:10:51] local.INFO: Acknowledgment sent {"connection_id":174561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:10:51] local.INFO: TCP Data received {"connection_id":171854,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171854,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:10:51] local.INFO: Processing buffer {"connection_id":171854,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:10:51] local.INFO: IMEI packet received {"connection_id":171854,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":171854,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:10:53] local.INFO: TCP Data received {"connection_id":171854,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071cb21c8012c4aa0c008c1bc10000e013f28..."} 
[2026-09-05 19:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071cb21c8012c4aa0c008c1bc10000e013f28..."} 
[2026-09-05 19:10:53] local.INFO: Processing buffer {"connection_id":171854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071cb21c8012c4aa0c008c1bc10000e013f28..."} 
[2026-09-05 19:10:53] local.INFO: Packet analysis {"connection_id":171854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071cb"} 
[2026-09-05 19:10:53] local.INFO: Extracted packet for processing {"connection_id":171854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071cb"} 
[2026-09-05 19:10:53] local.INFO: GPS Element Parsed {"raw_longitude":743088320,"raw_latitude":146914320,"longitude_deg":74.308832,"latitude_deg":14.691432,"altitude":14,"angle":319,"satellites":40,"speed":11,"hex_longitude":"2c4aa0c0","hex_latitude":"08c1bc10","is_valid_coordinates":true} 
[2026-09-05 19:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885575680001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:10:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5378072048876183552,"note":"Value kept but may cause issues"} 
[2026-09-05 19:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788615533000,"timestamp_ms":1788615533000,"timestamp_seconds":1788615533,"priority":1,"record_length":96,"hex_timestamp":"000001a071cb21c8"} 
[2026-09-05 19:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 19:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-05 19:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885575680001,"66":26691,"5":206,"9":55808,"24":11,"16":1656792224366592,"44":5378072048876183552},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 19:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885575680001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:10:53] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 19:10:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656792224366592,"km_value":1656792224366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:10:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":5378072048876183552,"description":"Unknown IO ID 44"} 
[2026-09-05 19:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885575680001,"power":26691,"unknown_5":206,"unknown_9":55808,"ignition":11,"odometer":null,"unknown_44":5378072048876183552}} 
[2026-09-05 19:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":171854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770805,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:10:53] local.INFO: GPS data processed {"connection_id":171854,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:10:53] local.INFO: Acknowledgment sent {"connection_id":171854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:10:58] local.INFO: TCP Data received {"connection_id":171854,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071cb21c8012c4aa0c008c1bc10000e013f28..."} 
[2026-09-05 19:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071cb21c8012c4aa0c008c1bc10000e013f28..."} 
[2026-09-05 19:10:58] local.INFO: Processing buffer {"connection_id":171854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071cb21c8012c4aa0c008c1bc10000e013f28..."} 
[2026-09-05 19:10:58] local.INFO: Packet analysis {"connection_id":171854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071cb"} 
[2026-09-05 19:10:58] local.INFO: Extracted packet for processing {"connection_id":171854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071cb"} 
[2026-09-05 19:10:58] local.INFO: GPS Element Parsed {"raw_longitude":743088320,"raw_latitude":146914320,"longitude_deg":74.308832,"latitude_deg":14.691432,"altitude":14,"angle":319,"satellites":40,"speed":11,"hex_longitude":"2c4aa0c0","hex_latitude":"08c1bc10","is_valid_coordinates":true} 
[2026-09-05 19:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885575680001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:10:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5378072048876183552,"note":"Value kept but may cause issues"} 
[2026-09-05 19:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788615533000,"timestamp_ms":1788615533000,"timestamp_seconds":1788615533,"priority":1,"record_length":96,"hex_timestamp":"000001a071cb21c8"} 
[2026-09-05 19:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 19:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-05 19:10:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:10:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885575680001,"66":26691,"5":206,"9":55808,"24":11,"16":1656792224366592,"44":5378072048876183552},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 19:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885575680001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:10:58] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 19:10:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656792224366592,"km_value":1656792224366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:10:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":5378072048876183552,"description":"Unknown IO ID 44"} 
[2026-09-05 19:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885575680001,"power":26691,"unknown_5":206,"unknown_9":55808,"ignition":11,"odometer":null,"unknown_44":5378072048876183552}} 
[2026-09-05 19:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":171854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770806,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:10:58] local.INFO: GPS data processed {"connection_id":171854,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:10:58] local.INFO: Acknowledgment sent {"connection_id":171854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:11:01] local.INFO: TCP Data received {"connection_id":172118,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:11:01] local.INFO: Processing buffer {"connection_id":172118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:11:01] local.INFO: IMEI packet received {"connection_id":172118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":172118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:11:06] local.INFO: TCP Data received {"connection_id":172118,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:11:06] local.INFO: Processing buffer {"connection_id":172118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:11:06] local.INFO: IMEI packet received {"connection_id":172118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":172118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:11:06] local.INFO: TCP Data received {"connection_id":172118,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071cc5a48012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071cc5a48012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:11:06] local.INFO: Processing buffer {"connection_id":172118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071cc5a48012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:11:06] local.INFO: Packet analysis {"connection_id":172118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071cc"} 
[2026-09-05 19:11:06] local.INFO: Extracted packet for processing {"connection_id":172118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071cc"} 
[2026-09-05 19:11:06] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885519872001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788615613000,"timestamp_ms":1788615613000,"timestamp_seconds":1788615613,"priority":1,"record_length":96,"hex_timestamp":"000001a071cc5a48"} 
[2026-09-05 19:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:11:06] 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-09-05 19:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 19:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885519872001,"66":25745,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885519872001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:11:06] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:11:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885519872001,"power":25745,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":172118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:11:06] local.INFO: GPS data processed {"connection_id":172118,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:11:06] local.INFO: Acknowledgment sent {"connection_id":172118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:11:11] local.INFO: TCP Data received {"connection_id":172118,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071cc5a48012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071cc5a48012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:11:11] local.INFO: Processing buffer {"connection_id":172118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071cc5a48012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:11:11] local.INFO: Packet analysis {"connection_id":172118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071cc"} 
[2026-09-05 19:11:11] local.INFO: Extracted packet for processing {"connection_id":172118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071cc"} 
[2026-09-05 19:11:11] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 19:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885519872001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788615613000,"timestamp_ms":1788615613000,"timestamp_seconds":1788615613,"priority":1,"record_length":96,"hex_timestamp":"000001a071cc5a48"} 
[2026-09-05 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-09-05 19:11: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-09-05 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 19:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 19:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":172118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":172118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":172118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885519872001,"66":25745,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885519872001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:11:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:11:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885519872001,"power":25745,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":172118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:11:11] local.INFO: GPS data processed {"connection_id":172118,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:11:11] local.INFO: Acknowledgment sent {"connection_id":172118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:11:22] local.INFO: TCP Data received {"connection_id":174561,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071cc75a0012d1cad40071bd288003a004f2b..."} 
[2026-09-05 19:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071cc75a0012d1cad40071bd288003a004f2b..."} 
[2026-09-05 19:11:22] local.INFO: Processing buffer {"connection_id":174561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071cc75a0012d1cad40071bd288003a004f2b..."} 
[2026-09-05 19:11:22] local.INFO: Packet analysis {"connection_id":174561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071cc"} 
[2026-09-05 19:11:22] local.INFO: Extracted packet for processing {"connection_id":174561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071cc"} 
[2026-09-05 19:11:22] local.INFO: GPS Element Parsed {"raw_longitude":756854080,"raw_latitude":119263880,"longitude_deg":75.685408,"latitude_deg":11.926388,"altitude":58,"angle":79,"satellites":43,"speed":36,"hex_longitude":"2d1cad40","hex_latitude":"071bd288","is_valid_coordinates":true} 
[2026-09-05 19:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885596416001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18079458674081792,"note":"Value kept but may cause issues"} 
[2026-09-05 19:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2056245104146761728,"note":"Value kept but may cause issues"} 
[2026-09-05 19:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788615620000,"timestamp_ms":1788615620000,"timestamp_seconds":1788615620,"priority":1,"record_length":96,"hex_timestamp":"000001a071cc75a0"} 
[2026-09-05 19:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-05 19:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885596416001,"66":13428,"82":206,"83":41984,"24":36,"16":18079458674081792,"45":2056245104146761728},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885596416001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:11:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:11:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18079458674081792,"km_value":18079458674081.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2056245104146761728,"description":"Unknown IO ID 45"} 
[2026-09-05 19:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885596416001,"power":13428,"unknown_82":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":2056245104146761728}} 
[2026-09-05 19:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":174561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:11:22] local.INFO: GPS data processed {"connection_id":174561,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:11:22] local.INFO: Acknowledgment sent {"connection_id":174561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:11:29] local.INFO: TCP Data received {"connection_id":171854,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071cb21c8012c4aa0c008c1bc10000e013f28..."} 
[2026-09-05 19:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071cb21c8012c4aa0c008c1bc10000e013f28..."} 
[2026-09-05 19:11:29] local.INFO: Processing buffer {"connection_id":171854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071cb21c8012c4aa0c008c1bc10000e013f28..."} 
[2026-09-05 19:11:29] local.INFO: Packet analysis {"connection_id":171854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071cb"} 
[2026-09-05 19:11:29] local.INFO: Extracted packet for processing {"connection_id":171854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071cb"} 
[2026-09-05 19:11:29] local.INFO: GPS Element Parsed {"raw_longitude":743088320,"raw_latitude":146914320,"longitude_deg":74.308832,"latitude_deg":14.691432,"altitude":14,"angle":319,"satellites":40,"speed":11,"hex_longitude":"2c4aa0c0","hex_latitude":"08c1bc10","is_valid_coordinates":true} 
[2026-09-05 19:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885575680001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:11:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5378072048876183552,"note":"Value kept but may cause issues"} 
[2026-09-05 19:11:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788615533000,"timestamp_ms":1788615533000,"timestamp_seconds":1788615533,"priority":1,"record_length":96,"hex_timestamp":"000001a071cb21c8"} 
[2026-09-05 19:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:11:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 19:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-05 19:11:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:11:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":171854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":171854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":171854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:11:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885575680001,"66":26691,"5":206,"9":55808,"24":11,"16":1656792224366592,"44":5378072048876183552},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 19:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885575680001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:11:29] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 19:11:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656792224366592,"km_value":1656792224366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:11:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":5378072048876183552,"description":"Unknown IO ID 44"} 
[2026-09-05 19:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885575680001,"power":26691,"unknown_5":206,"unknown_9":55808,"ignition":11,"odometer":null,"unknown_44":5378072048876183552}} 
[2026-09-05 19:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":171854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770810,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:11:29] local.INFO: GPS data processed {"connection_id":171854,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:11:29] local.INFO: Acknowledgment sent {"connection_id":171854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:11:44] local.INFO: TCP Data received {"connection_id":173244,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:11:44] local.INFO: Processing buffer {"connection_id":173244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:11:44] local.INFO: IMEI packet received {"connection_id":173244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":173244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:11:46] local.INFO: TCP Data received {"connection_id":172119,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:11:46] local.INFO: Processing buffer {"connection_id":172119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:11:46] local.INFO: IMEI packet received {"connection_id":172119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 19:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":172119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:11:49] local.INFO: TCP Data received {"connection_id":173244,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:11:49] local.INFO: Processing buffer {"connection_id":173244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:11:49] local.INFO: IMEI packet received {"connection_id":173244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":173244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:11:50] local.INFO: TCP Data received {"connection_id":173244,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071cca098012d1cd200071bdc780043005329..."} 
[2026-09-05 19:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071cca098012d1cd200071bdc780043005329..."} 
[2026-09-05 19:11:50] local.INFO: Processing buffer {"connection_id":173244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071cca098012d1cd200071bdc780043005329..."} 
[2026-09-05 19:11:50] local.INFO: Packet analysis {"connection_id":173244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071cc"} 
[2026-09-05 19:11:50] local.INFO: Extracted packet for processing {"connection_id":173244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071cc"} 
[2026-09-05 19:11:50] local.INFO: GPS Element Parsed {"raw_longitude":756863488,"raw_latitude":119266424,"longitude_deg":75.6863488,"latitude_deg":11.9266424,"altitude":67,"angle":83,"satellites":41,"speed":33,"hex_longitude":"2d1cd200","hex_latitude":"071bdc78","is_valid_coordinates":true} 
[2026-09-05 19:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885598720001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18079922530549760,"note":"Value kept but may cause issues"} 
[2026-09-05 19:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2066378203308656640,"note":"Value kept but may cause issues"} 
[2026-09-05 19:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788615631000,"timestamp_ms":1788615631000,"timestamp_seconds":1788615631,"priority":1,"record_length":96,"hex_timestamp":"000001a071cca098"} 
[2026-09-05 19:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-05 19:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:11:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885598720001,"66":13461,"82":206,"83":41984,"24":33,"16":18079922530549760,"45":2066378203308656640},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885598720001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:11:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:11:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18079922530549760,"km_value":18079922530549.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2066378203308656640,"description":"Unknown IO ID 45"} 
[2026-09-05 19:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885598720001,"power":13461,"unknown_82":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":2066378203308656640}} 
[2026-09-05 19:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":173244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:11:50] local.INFO: GPS data processed {"connection_id":173244,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:11:50] local.INFO: Acknowledgment sent {"connection_id":173244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:11:51] local.INFO: TCP Data received {"connection_id":172119,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:11:51] local.INFO: Processing buffer {"connection_id":172119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:11:51] local.INFO: IMEI packet received {"connection_id":172119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":172119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:11:53] local.INFO: TCP Data received {"connection_id":172119,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071cb21c8012c4aa0c008c1bc10000e013f28..."} 
[2026-09-05 19:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071cb21c8012c4aa0c008c1bc10000e013f28..."} 
[2026-09-05 19:11:53] local.INFO: Processing buffer {"connection_id":172119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071cb21c8012c4aa0c008c1bc10000e013f28..."} 
[2026-09-05 19:11:53] local.INFO: Packet analysis {"connection_id":172119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071cb"} 
[2026-09-05 19:11:53] local.INFO: Extracted packet for processing {"connection_id":172119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071cb"} 
[2026-09-05 19:11:53] local.INFO: GPS Element Parsed {"raw_longitude":743088320,"raw_latitude":146914320,"longitude_deg":74.308832,"latitude_deg":14.691432,"altitude":14,"angle":319,"satellites":40,"speed":11,"hex_longitude":"2c4aa0c0","hex_latitude":"08c1bc10","is_valid_coordinates":true} 
[2026-09-05 19:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885575680001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:11:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5378072048876183552,"note":"Value kept but may cause issues"} 
[2026-09-05 19:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788615533000,"timestamp_ms":1788615533000,"timestamp_seconds":1788615533,"priority":1,"record_length":96,"hex_timestamp":"000001a071cb21c8"} 
[2026-09-05 19:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 19:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-05 19:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885575680001,"66":26691,"5":206,"9":55808,"24":11,"16":1656792224366592,"44":5378072048876183552},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 19:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885575680001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:11:53] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 19:11:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656792224366592,"km_value":1656792224366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:11:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":5378072048876183552,"description":"Unknown IO ID 44"} 
[2026-09-05 19:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885575680001,"power":26691,"unknown_5":206,"unknown_9":55808,"ignition":11,"odometer":null,"unknown_44":5378072048876183552}} 
[2026-09-05 19:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":172119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770812,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:11:53] local.INFO: GPS data processed {"connection_id":172119,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:11:53] local.INFO: Acknowledgment sent {"connection_id":172119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:11:56] local.INFO: TCP Data received {"connection_id":171855,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:11:56] local.INFO: Processing buffer {"connection_id":171855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:11:56] local.INFO: IMEI packet received {"connection_id":171855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":171855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:12:01] local.INFO: TCP Data received {"connection_id":171855,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:12:01] local.INFO: Processing buffer {"connection_id":171855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:12:01] local.INFO: IMEI packet received {"connection_id":171855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":171855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:12:01] local.INFO: TCP Data received {"connection_id":171855,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a071cc5a48012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071cc5a48012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:12:01] local.INFO: Processing buffer {"connection_id":171855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071cc5a48012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:12:01] local.INFO: Packet analysis {"connection_id":171855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071cc"} 
[2026-09-05 19:12:01] local.INFO: Extracted packet for processing {"connection_id":171855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071cc"} 
[2026-09-05 19:12:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885519872001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:12:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788615613000,"timestamp_ms":1788615613000,"timestamp_seconds":1788615613,"priority":1,"record_length":96,"hex_timestamp":"000001a071cc5a48"} 
[2026-09-05 19:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:12:01] 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-09-05 19:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 19:12:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:12:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885519872001,"66":25745,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885519872001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:12:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:12:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885519872001,"power":25745,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":171855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:12:01] local.INFO: GPS data processed {"connection_id":171855,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:12:01] local.INFO: Acknowledgment sent {"connection_id":171855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:12:21] local.INFO: TCP Data received {"connection_id":173244,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071ccc3c0012d1cf4c0071be120004100462b..."} 
[2026-09-05 19:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ccc3c0012d1cf4c0071be120004100462b..."} 
[2026-09-05 19:12:21] local.INFO: Processing buffer {"connection_id":173244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ccc3c0012d1cf4c0071be120004100462b..."} 
[2026-09-05 19:12:21] local.INFO: Packet analysis {"connection_id":173244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071cc"} 
[2026-09-05 19:12:21] local.INFO: Extracted packet for processing {"connection_id":173244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071cc"} 
[2026-09-05 19:12:21] local.INFO: GPS Element Parsed {"raw_longitude":756872384,"raw_latitude":119267616,"longitude_deg":75.6872384,"latitude_deg":11.9267616,"altitude":65,"angle":70,"satellites":43,"speed":39,"hex_longitude":"2d1cf4c0","hex_latitude":"071be120","is_valid_coordinates":true} 
[2026-09-05 19:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885601536001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18080352027279360,"note":"Value kept but may cause issues"} 
[2026-09-05 19:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2076722408703424512,"note":"Value kept but may cause issues"} 
[2026-09-05 19:12:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 19:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788615640000,"timestamp_ms":1788615640000,"timestamp_seconds":1788615640,"priority":1,"record_length":96,"hex_timestamp":"000001a071ccc3c0"} 
[2026-09-05 19:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:12: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-09-05 19:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-05 19:12:21] 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-09-05 19:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885601536001,"66":13396,"83":41984,"24":39,"16":18080352027279360,"45":2076722408703424512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-09-05 19:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885601536001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:12:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18080352027279360,"km_value":18080352027279.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2076722408703424512,"description":"Unknown IO ID 45"} 
[2026-09-05 19:12:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457885601536001,"power":13396,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":2076722408703424512}} 
[2026-09-05 19:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":173244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:12:22] local.INFO: GPS data processed {"connection_id":173244,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:12:22] local.INFO: Acknowledgment sent {"connection_id":173244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:12:25] local.INFO: TCP Data received {"connection_id":172119,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071cb21c8012c4aa0c008c1bc10000e013f28..."} 
[2026-09-05 19:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071cb21c8012c4aa0c008c1bc10000e013f28..."} 
[2026-09-05 19:12:25] local.INFO: Processing buffer {"connection_id":172119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071cb21c8012c4aa0c008c1bc10000e013f28..."} 
[2026-09-05 19:12:25] local.INFO: Packet analysis {"connection_id":172119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071cb"} 
[2026-09-05 19:12:25] local.INFO: Extracted packet for processing {"connection_id":172119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071cb"} 
[2026-09-05 19:12:25] local.INFO: GPS Element Parsed {"raw_longitude":743088320,"raw_latitude":146914320,"longitude_deg":74.308832,"latitude_deg":14.691432,"altitude":14,"angle":319,"satellites":40,"speed":11,"hex_longitude":"2c4aa0c0","hex_latitude":"08c1bc10","is_valid_coordinates":true} 
[2026-09-05 19:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885575680001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:12:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5378072048876183552,"note":"Value kept but may cause issues"} 
[2026-09-05 19:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788615533000,"timestamp_ms":1788615533000,"timestamp_seconds":1788615533,"priority":1,"record_length":96,"hex_timestamp":"000001a071cb21c8"} 
[2026-09-05 19:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 19:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-05 19:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885575680001,"66":26691,"5":206,"9":55808,"24":11,"16":1656792224366592,"44":5378072048876183552},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 19:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885575680001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:12:25] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 19:12:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656792224366592,"km_value":1656792224366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:12:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":5378072048876183552,"description":"Unknown IO ID 44"} 
[2026-09-05 19:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885575680001,"power":26691,"unknown_5":206,"unknown_9":55808,"ignition":11,"odometer":null,"unknown_44":5378072048876183552}} 
[2026-09-05 19:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":172119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770815,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:12:25] local.INFO: GPS data processed {"connection_id":172119,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:12:25] local.INFO: Acknowledgment sent {"connection_id":172119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:12:33] local.INFO: TCP Data received {"connection_id":171855,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a071cc5a48012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071cc5a48012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:12:33] local.INFO: Processing buffer {"connection_id":171855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071cc5a48012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:12:33] local.INFO: Packet analysis {"connection_id":171855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071cc"} 
[2026-09-05 19:12:33] local.INFO: Extracted packet for processing {"connection_id":171855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071cc"} 
[2026-09-05 19:12:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885519872001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788615613000,"timestamp_ms":1788615613000,"timestamp_seconds":1788615613,"priority":1,"record_length":96,"hex_timestamp":"000001a071cc5a48"} 
[2026-09-05 19:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:12: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-09-05 19: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":134,"data_length":795,"current_offset":136} 
[2026-09-05 19:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885519872001,"66":25745,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885519872001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:12:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:12:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885519872001,"power":25745,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":171855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:12:33] local.INFO: GPS data processed {"connection_id":171855,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:12:33] local.INFO: Acknowledgment sent {"connection_id":171855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:12:43] local.INFO: TCP Data received {"connection_id":171856,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:12:43] local.INFO: Processing buffer {"connection_id":171856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:12:43] local.INFO: IMEI packet received {"connection_id":171856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":171856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:12:44] local.INFO: TCP Data received {"connection_id":171856,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:12:44] local.INFO: Processing buffer {"connection_id":171856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:12:44] local.INFO: IMEI packet received {"connection_id":171856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":171856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:12:44] local.INFO: TCP Data received {"connection_id":171856,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:12:44] local.INFO: Processing buffer {"connection_id":171856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:12:44] local.INFO: IMEI packet received {"connection_id":171856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":171856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:12:46] local.INFO: TCP Data received {"connection_id":171856,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:12:46] local.INFO: Processing buffer {"connection_id":171856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:12:46] local.INFO: IMEI packet received {"connection_id":171856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":171856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:12:51] local.INFO: TCP Data received {"connection_id":173245,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:12:51] local.INFO: Processing buffer {"connection_id":173245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:12:51] local.INFO: IMEI packet received {"connection_id":173245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 19:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":173245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:12:55] local.INFO: TCP Data received {"connection_id":174562,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:12:55] local.INFO: Processing buffer {"connection_id":174562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:12:55] local.INFO: IMEI packet received {"connection_id":174562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":174562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:12:57] local.INFO: TCP Data received {"connection_id":173245,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:12:57] local.INFO: Processing buffer {"connection_id":173245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:12:57] local.INFO: IMEI packet received {"connection_id":173245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":173245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:12:59] local.INFO: TCP Data received {"connection_id":173245,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071cb21c8012c4aa0c008c1bc10000e013f28..."} 
[2026-09-05 19:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071cb21c8012c4aa0c008c1bc10000e013f28..."} 
[2026-09-05 19:12:59] local.INFO: Processing buffer {"connection_id":173245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071cb21c8012c4aa0c008c1bc10000e013f28..."} 
[2026-09-05 19:12:59] local.INFO: Packet analysis {"connection_id":173245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071cb"} 
[2026-09-05 19:12:59] local.INFO: Extracted packet for processing {"connection_id":173245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071cb"} 
[2026-09-05 19:12:59] local.INFO: GPS Element Parsed {"raw_longitude":743088320,"raw_latitude":146914320,"longitude_deg":74.308832,"latitude_deg":14.691432,"altitude":14,"angle":319,"satellites":40,"speed":11,"hex_longitude":"2c4aa0c0","hex_latitude":"08c1bc10","is_valid_coordinates":true} 
[2026-09-05 19:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885575680001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:12:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5378072048876183552,"note":"Value kept but may cause issues"} 
[2026-09-05 19:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788615533000,"timestamp_ms":1788615533000,"timestamp_seconds":1788615533,"priority":1,"record_length":96,"hex_timestamp":"000001a071cb21c8"} 
[2026-09-05 19:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 19:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-05 19:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885575680001,"66":26691,"5":206,"9":55808,"24":11,"16":1656792224366592,"44":5378072048876183552},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 19:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885575680001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:12:59] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 19:12:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656792224366592,"km_value":1656792224366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:12:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":5378072048876183552,"description":"Unknown IO ID 44"} 
[2026-09-05 19:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885575680001,"power":26691,"unknown_5":206,"unknown_9":55808,"ignition":11,"odometer":null,"unknown_44":5378072048876183552}} 
[2026-09-05 19:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":173245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770817,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:12:59] local.INFO: GPS data processed {"connection_id":173245,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:12:59] local.INFO: Acknowledgment sent {"connection_id":173245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:13:01] local.INFO: TCP Data received {"connection_id":174562,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:13:01] local.INFO: Processing buffer {"connection_id":174562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:13:01] local.INFO: IMEI packet received {"connection_id":174562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":174562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:13:01] local.INFO: TCP Data received {"connection_id":174562,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071cc5a48012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071cc5a48012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:13:01] local.INFO: Processing buffer {"connection_id":174562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071cc5a48012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:13:01] local.INFO: Packet analysis {"connection_id":174562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071cc"} 
[2026-09-05 19:13:01] local.INFO: Extracted packet for processing {"connection_id":174562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071cc"} 
[2026-09-05 19:13:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885519872001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788615613000,"timestamp_ms":1788615613000,"timestamp_seconds":1788615613,"priority":1,"record_length":96,"hex_timestamp":"000001a071cc5a48"} 
[2026-09-05 19:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:13:01] 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-09-05 19:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 19:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885519872001,"66":25745,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885519872001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:13:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:13:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885519872001,"power":25745,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":174562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:13:01] local.INFO: GPS data processed {"connection_id":174562,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:13:01] local.INFO: Acknowledgment sent {"connection_id":174562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:13:03] local.INFO: TCP Data received {"connection_id":173245,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071cb21c8012c4aa0c008c1bc10000e013f28..."} 
[2026-09-05 19:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071cb21c8012c4aa0c008c1bc10000e013f28..."} 
[2026-09-05 19:13:03] local.INFO: Processing buffer {"connection_id":173245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071cb21c8012c4aa0c008c1bc10000e013f28..."} 
[2026-09-05 19:13:03] local.INFO: Packet analysis {"connection_id":173245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071cb"} 
[2026-09-05 19:13:03] local.INFO: Extracted packet for processing {"connection_id":173245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071cb"} 
[2026-09-05 19:13:03] local.INFO: GPS Element Parsed {"raw_longitude":743088320,"raw_latitude":146914320,"longitude_deg":74.308832,"latitude_deg":14.691432,"altitude":14,"angle":319,"satellites":40,"speed":11,"hex_longitude":"2c4aa0c0","hex_latitude":"08c1bc10","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885575680001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:13:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5378072048876183552,"note":"Value kept but may cause issues"} 
[2026-09-05 19:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788615533000,"timestamp_ms":1788615533000,"timestamp_seconds":1788615533,"priority":1,"record_length":96,"hex_timestamp":"000001a071cb21c8"} 
[2026-09-05 19:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 19: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":222,"data_length":795,"current_offset":136} 
[2026-09-05 19:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885575680001,"66":26691,"5":206,"9":55808,"24":11,"16":1656792224366592,"44":5378072048876183552},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 19:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885575680001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:13:03] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 19:13:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656792224366592,"km_value":1656792224366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:13:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":5378072048876183552,"description":"Unknown IO ID 44"} 
[2026-09-05 19:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885575680001,"power":26691,"unknown_5":206,"unknown_9":55808,"ignition":11,"odometer":null,"unknown_44":5378072048876183552}} 
[2026-09-05 19:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":173245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770819,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:13:03] local.INFO: GPS data processed {"connection_id":173245,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:13:03] local.INFO: Acknowledgment sent {"connection_id":173245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:13:33] local.INFO: TCP Data received {"connection_id":174562,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071cc5a48012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071cc5a48012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:13:33] local.INFO: Processing buffer {"connection_id":174562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071cc5a48012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:13:33] local.INFO: Packet analysis {"connection_id":174562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071cc"} 
[2026-09-05 19:13:33] local.INFO: Extracted packet for processing {"connection_id":174562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071cc"} 
[2026-09-05 19:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885519872001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788615613000,"timestamp_ms":1788615613000,"timestamp_seconds":1788615613,"priority":1,"record_length":96,"hex_timestamp":"000001a071cc5a48"} 
[2026-09-05 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-09-05 19:13: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-09-05 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 19:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 19:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885519872001,"66":25745,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885519872001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:13:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:13:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885519872001,"power":25745,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":174562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:13:33] local.INFO: GPS data processed {"connection_id":174562,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:13:33] local.INFO: Acknowledgment sent {"connection_id":174562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:13:47] local.INFO: TCP Data received {"connection_id":171857,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171857,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:13:47] local.INFO: Processing buffer {"connection_id":171857,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:13:47] local.INFO: IMEI packet received {"connection_id":171857,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 19:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":171857,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:13:48] local.INFO: TCP Data received {"connection_id":171857,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171857,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:13:48] local.INFO: Processing buffer {"connection_id":171857,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:13:48] local.INFO: IMEI packet received {"connection_id":171857,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":171857,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:13:52] local.INFO: TCP Data received {"connection_id":171857,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171857,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:13:52] local.INFO: Processing buffer {"connection_id":171857,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:13:52] local.INFO: IMEI packet received {"connection_id":171857,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":171857,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:13:54] local.INFO: TCP Data received {"connection_id":171857,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071cefe10012c4a9f0008c1bfd0000d01452a..."} 
[2026-09-05 19:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071cefe10012c4a9f0008c1bfd0000d01452a..."} 
[2026-09-05 19:13:54] local.INFO: Processing buffer {"connection_id":171857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071cefe10012c4a9f0008c1bfd0000d01452a..."} 
[2026-09-05 19:13:54] local.INFO: Packet analysis {"connection_id":171857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ce"} 
[2026-09-05 19:13:54] local.INFO: Extracted packet for processing {"connection_id":171857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ce"} 
[2026-09-05 19:13:54] local.INFO: GPS Element Parsed {"raw_longitude":743087872,"raw_latitude":146915280,"longitude_deg":74.3087872,"latitude_deg":14.691528,"altitude":13,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2c4a9f00","hex_latitude":"08c1bfd0","is_valid_coordinates":true} 
[2026-09-05 19:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885576448001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:13:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5377509098922971136,"note":"Value kept but may cause issues"} 
[2026-09-05 19:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788615786000,"timestamp_ms":1788615786000,"timestamp_seconds":1788615786,"priority":1,"record_length":96,"hex_timestamp":"000001a071cefe10"} 
[2026-09-05 19:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 19: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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-09-05 19:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885576448001,"66":25495,"5":206,"9":55808,"24":0,"16":1656792224366592,"44":5377509098922971136},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 19:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885576448001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:13:54] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 19:13:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656792224366592,"km_value":1656792224366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:13:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":5377509098922971136,"description":"Unknown IO ID 44"} 
[2026-09-05 19:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885576448001,"power":25495,"unknown_5":206,"unknown_9":55808,"ignition":0,"odometer":null,"unknown_44":5377509098922971136}} 
[2026-09-05 19:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":171857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770821,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:13:54] local.INFO: GPS data processed {"connection_id":171857,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:13:54] local.INFO: Acknowledgment sent {"connection_id":171857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:13:55] local.INFO: TCP Data received {"connection_id":173247,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:13:55] local.INFO: Processing buffer {"connection_id":173247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:13:55] local.INFO: IMEI packet received {"connection_id":173247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":173247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:14:01] local.INFO: TCP Data received {"connection_id":173247,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:14:01] local.INFO: Processing buffer {"connection_id":173247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:14:01] local.INFO: IMEI packet received {"connection_id":173247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":173247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:14:01] local.INFO: TCP Data received {"connection_id":173247,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a071cc5a48012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071cc5a48012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:14:01] local.INFO: Processing buffer {"connection_id":173247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071cc5a48012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:14:01] local.INFO: Packet analysis {"connection_id":173247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071cc"} 
[2026-09-05 19:14:01] local.INFO: Extracted packet for processing {"connection_id":173247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071cc"} 
[2026-09-05 19:14:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885519872001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788615613000,"timestamp_ms":1788615613000,"timestamp_seconds":1788615613,"priority":1,"record_length":96,"hex_timestamp":"000001a071cc5a48"} 
[2026-09-05 19:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:14:01] 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-09-05 19:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 19:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885519872001,"66":25745,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885519872001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:14:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:14:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885519872001,"power":25745,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":173247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:14:01] local.INFO: GPS data processed {"connection_id":173247,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:14:01] local.INFO: Acknowledgment sent {"connection_id":173247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:14:26] local.INFO: TCP Data received {"connection_id":171857,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071cf0db0012c4a9e0008c1c000000d01552a..."} 
[2026-09-05 19:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071cf0db0012c4a9e0008c1c000000d01552a..."} 
[2026-09-05 19:14:26] local.INFO: Processing buffer {"connection_id":171857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071cf0db0012c4a9e0008c1c000000d01552a..."} 
[2026-09-05 19:14:26] local.INFO: Packet analysis {"connection_id":171857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071cf"} 
[2026-09-05 19:14:26] local.INFO: Extracted packet for processing {"connection_id":171857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071cf"} 
[2026-09-05 19:14:26] local.INFO: GPS Element Parsed {"raw_longitude":743087616,"raw_latitude":146915328,"longitude_deg":74.3087616,"latitude_deg":14.6915328,"altitude":13,"angle":341,"satellites":42,"speed":0,"hex_longitude":"2c4a9e00","hex_latitude":"08c1c000","is_valid_coordinates":true} 
[2026-09-05 19:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885641216001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:14:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5377016517713973248,"note":"Value kept but may cause issues"} 
[2026-09-05 19:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788615790000,"timestamp_ms":1788615790000,"timestamp_seconds":1788615790,"priority":1,"record_length":96,"hex_timestamp":"000001a071cf0db0"} 
[2026-09-05 19:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 19:14:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:14:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885641216001,"66":25419,"5":206,"9":55808,"24":0,"16":1656792224366592,"44":5377016517713973248},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 19:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885641216001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:14:26] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 19:14:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656792224366592,"km_value":1656792224366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:14:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":5377016517713973248,"description":"Unknown IO ID 44"} 
[2026-09-05 19:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885641216001,"power":25419,"unknown_5":206,"unknown_9":55808,"ignition":0,"odometer":null,"unknown_44":5377016517713973248}} 
[2026-09-05 19:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":171857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770823,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:14:26] local.INFO: GPS data processed {"connection_id":171857,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:14:26] local.INFO: Acknowledgment sent {"connection_id":171857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:14:32] local.INFO: TCP Data received {"connection_id":173247,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a071cc5a48012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071cc5a48012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:14:32] local.INFO: Processing buffer {"connection_id":173247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071cc5a48012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:14:32] local.INFO: Packet analysis {"connection_id":173247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071cc"} 
[2026-09-05 19:14:32] local.INFO: Extracted packet for processing {"connection_id":173247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071cc"} 
[2026-09-05 19:14:32] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885519872001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788615613000,"timestamp_ms":1788615613000,"timestamp_seconds":1788615613,"priority":1,"record_length":96,"hex_timestamp":"000001a071cc5a48"} 
[2026-09-05 19:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 19: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 19:14: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-09-05 19: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-09-05 19:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885519872001,"66":25745,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885519872001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:14:32] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:14:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885519872001,"power":25745,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":173247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:14:32] local.INFO: GPS data processed {"connection_id":173247,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:14:32] local.INFO: Acknowledgment sent {"connection_id":173247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:14:46] local.INFO: TCP Data received {"connection_id":172120,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172120,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:14:46] local.INFO: Processing buffer {"connection_id":172120,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:14:46] local.INFO: IMEI packet received {"connection_id":172120,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 19:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":172120,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:14:51] local.INFO: TCP Data received {"connection_id":172120,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172120,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:14:51] local.INFO: Processing buffer {"connection_id":172120,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:14:51] local.INFO: IMEI packet received {"connection_id":172120,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":172120,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:14:53] local.INFO: TCP Data received {"connection_id":172120,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071cf5fb8012c4a9e0008c1c000000d01552a..."} 
[2026-09-05 19:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071cf5fb8012c4a9e0008c1c000000d01552a..."} 
[2026-09-05 19:14:53] local.INFO: Processing buffer {"connection_id":172120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071cf5fb8012c4a9e0008c1c000000d01552a..."} 
[2026-09-05 19:14:53] local.INFO: Packet analysis {"connection_id":172120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071cf"} 
[2026-09-05 19:14:53] local.INFO: Extracted packet for processing {"connection_id":172120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071cf"} 
[2026-09-05 19:14:53] local.INFO: GPS Element Parsed {"raw_longitude":743087616,"raw_latitude":146915328,"longitude_deg":74.3087616,"latitude_deg":14.6915328,"altitude":13,"angle":341,"satellites":42,"speed":0,"hex_longitude":"2c4a9e00","hex_latitude":"08c1c000","is_valid_coordinates":true} 
[2026-09-05 19:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885642240001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:14:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5376735042737274880,"note":"Value kept but may cause issues"} 
[2026-09-05 19:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788615811000,"timestamp_ms":1788615811000,"timestamp_seconds":1788615811,"priority":1,"record_length":96,"hex_timestamp":"000001a071cf5fb8"} 
[2026-09-05 19:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:14: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-09-05 19:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-05 19:14:53] 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-09-05 19:14:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172120,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172120,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885642240001,"66":25343,"5":206,"9":55808,"24":0,"16":1656792224366592,"44":5376735042737274880},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 19:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885642240001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:14:53] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 19:14:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656792224366592,"km_value":1656792224366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:14:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":5376735042737274880,"description":"Unknown IO ID 44"} 
[2026-09-05 19:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885642240001,"power":25343,"unknown_5":206,"unknown_9":55808,"ignition":0,"odometer":null,"unknown_44":5376735042737274880}} 
[2026-09-05 19:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":172120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770825,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:14:53] local.INFO: GPS data processed {"connection_id":172120,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:14:53] local.INFO: Acknowledgment sent {"connection_id":172120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:14:55] local.INFO: TCP Data received {"connection_id":171859,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:14:55] local.INFO: Processing buffer {"connection_id":171859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:14:55] local.INFO: IMEI packet received {"connection_id":171859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":171859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:15:01] local.INFO: TCP Data received {"connection_id":171859,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:15:01] local.INFO: Processing buffer {"connection_id":171859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:15:01] local.INFO: IMEI packet received {"connection_id":171859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":171859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:15:02] local.INFO: TCP Data received {"connection_id":171859,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071cc5a48012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071cc5a48012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:15:02] local.INFO: Processing buffer {"connection_id":171859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071cc5a48012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:15:02] local.INFO: Packet analysis {"connection_id":171859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071cc"} 
[2026-09-05 19:15:02] local.INFO: Extracted packet for processing {"connection_id":171859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071cc"} 
[2026-09-05 19:15:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885519872001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788615613000,"timestamp_ms":1788615613000,"timestamp_seconds":1788615613,"priority":1,"record_length":96,"hex_timestamp":"000001a071cc5a48"} 
[2026-09-05 19:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:15:02] 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-09-05 19: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":134,"data_length":795,"current_offset":136} 
[2026-09-05 19:15: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-09-05 19: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-09-05 19:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885519872001,"66":25745,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885519872001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:15:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:15:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885519872001,"power":25745,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":171859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:15:02] local.INFO: GPS data processed {"connection_id":171859,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:15:02] local.INFO: Acknowledgment sent {"connection_id":171859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:15:24] local.INFO: TCP Data received {"connection_id":172120,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071cfb1c0012c4a9e0008c1c000000d01552a..."} 
[2026-09-05 19:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071cfb1c0012c4a9e0008c1c000000d01552a..."} 
[2026-09-05 19:15:24] local.INFO: Processing buffer {"connection_id":172120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071cfb1c0012c4a9e0008c1c000000d01552a..."} 
[2026-09-05 19:15:24] local.INFO: Packet analysis {"connection_id":172120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071cf"} 
[2026-09-05 19:15:24] local.INFO: Extracted packet for processing {"connection_id":172120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071cf"} 
[2026-09-05 19:15:24] local.INFO: GPS Element Parsed {"raw_longitude":743087616,"raw_latitude":146915328,"longitude_deg":74.3087616,"latitude_deg":14.6915328,"altitude":13,"angle":341,"satellites":42,"speed":0,"hex_longitude":"2c4a9e00","hex_latitude":"08c1c000","is_valid_coordinates":true} 
[2026-09-05 19:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885647616001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:15:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5376735042737274880,"note":"Value kept but may cause issues"} 
[2026-09-05 19:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788615832000,"timestamp_ms":1788615832000,"timestamp_seconds":1788615832,"priority":1,"record_length":96,"hex_timestamp":"000001a071cfb1c0"} 
[2026-09-05 19:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-05 19:15:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:15:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172120,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172120,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885647616001,"66":25234,"5":206,"9":55808,"24":0,"16":1656792224366592,"44":5376735042737274880},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 19:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885647616001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:15:24] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 19:15:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656792224366592,"km_value":1656792224366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:15:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":5376735042737274880,"description":"Unknown IO ID 44"} 
[2026-09-05 19:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885647616001,"power":25234,"unknown_5":206,"unknown_9":55808,"ignition":0,"odometer":null,"unknown_44":5376735042737274880}} 
[2026-09-05 19:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":172120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770827,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:15:25] local.INFO: GPS data processed {"connection_id":172120,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:15:25] local.INFO: Acknowledgment sent {"connection_id":172120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:15:33] local.INFO: TCP Data received {"connection_id":171859,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071cc5a48012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071cc5a48012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:15:33] local.INFO: Processing buffer {"connection_id":171859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071cc5a48012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:15:33] local.INFO: Packet analysis {"connection_id":171859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071cc"} 
[2026-09-05 19:15:33] local.INFO: Extracted packet for processing {"connection_id":171859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071cc"} 
[2026-09-05 19:15:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 19:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885519872001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788615613000,"timestamp_ms":1788615613000,"timestamp_seconds":1788615613,"priority":1,"record_length":96,"hex_timestamp":"000001a071cc5a48"} 
[2026-09-05 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-09-05 19:15: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-09-05 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 19:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 19:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885519872001,"66":25745,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885519872001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:15:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:15:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885519872001,"power":25745,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":171859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:15:33] local.INFO: GPS data processed {"connection_id":171859,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:15:33] local.INFO: Acknowledgment sent {"connection_id":171859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:15:46] local.INFO: TCP Data received {"connection_id":171860,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:15:46] local.INFO: Processing buffer {"connection_id":171860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:15:46] local.INFO: IMEI packet received {"connection_id":171860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 19:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":171860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:15:52] local.INFO: TCP Data received {"connection_id":171860,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:15:52] local.INFO: Processing buffer {"connection_id":171860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:15:52] local.INFO: IMEI packet received {"connection_id":171860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":171860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:15:53] local.INFO: TCP Data received {"connection_id":171860,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071d003c8012c4a9e0008c1c000000d01552a..."} 
[2026-09-05 19:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d003c8012c4a9e0008c1c000000d01552a..."} 
[2026-09-05 19:15:53] local.INFO: Processing buffer {"connection_id":171860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d003c8012c4a9e0008c1c000000d01552a..."} 
[2026-09-05 19:15:53] local.INFO: Packet analysis {"connection_id":171860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d0"} 
[2026-09-05 19:15:53] local.INFO: Extracted packet for processing {"connection_id":171860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d0"} 
[2026-09-05 19:15:53] local.INFO: GPS Element Parsed {"raw_longitude":743087616,"raw_latitude":146915328,"longitude_deg":74.3087616,"latitude_deg":14.6915328,"altitude":13,"angle":341,"satellites":42,"speed":0,"hex_longitude":"2c4a9e00","hex_latitude":"08c1c000","is_valid_coordinates":true} 
[2026-09-05 19:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885652992001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:15:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5376735042737274880,"note":"Value kept but may cause issues"} 
[2026-09-05 19:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788615853000,"timestamp_ms":1788615853000,"timestamp_seconds":1788615853,"priority":1,"record_length":96,"hex_timestamp":"000001a071d003c8"} 
[2026-09-05 19:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-05 19:15:53] 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-09-05 19:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171860,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171860,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885652992001,"66":25212,"5":206,"9":55808,"24":0,"16":1656792224366592,"44":5376735042737274880},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 19:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885652992001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:15:53] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 19:15:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656792224366592,"km_value":1656792224366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:15:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":5376735042737274880,"description":"Unknown IO ID 44"} 
[2026-09-05 19:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885652992001,"power":25212,"unknown_5":206,"unknown_9":55808,"ignition":0,"odometer":null,"unknown_44":5376735042737274880}} 
[2026-09-05 19:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":171860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770829,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:15:53] local.INFO: GPS data processed {"connection_id":171860,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:15:53] local.INFO: Acknowledgment sent {"connection_id":171860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:16:01] local.INFO: TCP Data received {"connection_id":172121,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:16:01] local.INFO: Processing buffer {"connection_id":172121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:16:01] local.INFO: IMEI packet received {"connection_id":172121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":172121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:16:06] local.INFO: TCP Data received {"connection_id":172121,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:16:06] local.INFO: Processing buffer {"connection_id":172121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:16:06] local.INFO: IMEI packet received {"connection_id":172121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":172121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:16:06] local.INFO: TCP Data received {"connection_id":172121,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071d0f210012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d0f210012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:16:06] local.INFO: Processing buffer {"connection_id":172121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d0f210012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:16:06] local.INFO: Packet analysis {"connection_id":172121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d0"} 
[2026-09-05 19:16:06] local.INFO: Extracted packet for processing {"connection_id":172121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d0"} 
[2026-09-05 19:16:06] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885596928001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788615914000,"timestamp_ms":1788615914000,"timestamp_seconds":1788615914,"priority":1,"record_length":96,"hex_timestamp":"000001a071d0f210"} 
[2026-09-05 19:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:16:06] 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-09-05 19: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-05 19:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885596928001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885596928001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:16:06] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:16:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885596928001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":172121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:16:06] local.INFO: GPS data processed {"connection_id":172121,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:16:06] local.INFO: Acknowledgment sent {"connection_id":172121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:16:11] local.INFO: TCP Data received {"connection_id":172121,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071d0f210012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d0f210012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:16:11] local.INFO: Processing buffer {"connection_id":172121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d0f210012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:16:11] local.INFO: Packet analysis {"connection_id":172121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d0"} 
[2026-09-05 19:16:11] local.INFO: Extracted packet for processing {"connection_id":172121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d0"} 
[2026-09-05 19:16:11] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885596928001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788615914000,"timestamp_ms":1788615914000,"timestamp_seconds":1788615914,"priority":1,"record_length":96,"hex_timestamp":"000001a071d0f210"} 
[2026-09-05 19:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 19: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-05 19:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":172121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":172121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":172121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885596928001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885596928001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:16:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:16:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885596928001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":172121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:16:11] local.INFO: GPS data processed {"connection_id":172121,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:16:11] local.INFO: Acknowledgment sent {"connection_id":172121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:16:25] local.INFO: TCP Data received {"connection_id":171860,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071d055d0012c4a9e0008c1c000000d01552a..."} 
[2026-09-05 19:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d055d0012c4a9e0008c1c000000d01552a..."} 
[2026-09-05 19:16:25] local.INFO: Processing buffer {"connection_id":171860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d055d0012c4a9e0008c1c000000d01552a..."} 
[2026-09-05 19:16:25] local.INFO: Packet analysis {"connection_id":171860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d0"} 
[2026-09-05 19:16:25] local.INFO: Extracted packet for processing {"connection_id":171860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d0"} 
[2026-09-05 19:16:25] local.INFO: GPS Element Parsed {"raw_longitude":743087616,"raw_latitude":146915328,"longitude_deg":74.3087616,"latitude_deg":14.6915328,"altitude":13,"angle":341,"satellites":42,"speed":0,"hex_longitude":"2c4a9e00","hex_latitude":"08c1c000","is_valid_coordinates":true} 
[2026-09-05 19:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885658368001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:16:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5376735042737274880,"note":"Value kept but may cause issues"} 
[2026-09-05 19:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788615874000,"timestamp_ms":1788615874000,"timestamp_seconds":1788615874,"priority":1,"record_length":96,"hex_timestamp":"000001a071d055d0"} 
[2026-09-05 19:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-05 19:16:25] 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-09-05 19:16:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171860,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171860,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:16:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885658368001,"66":25201,"5":206,"9":55808,"24":0,"16":1656792224366592,"44":5376735042737274880},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 19:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885658368001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:16:25] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 19:16:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656792224366592,"km_value":1656792224366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:16:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":5376735042737274880,"description":"Unknown IO ID 44"} 
[2026-09-05 19:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885658368001,"power":25201,"unknown_5":206,"unknown_9":55808,"ignition":0,"odometer":null,"unknown_44":5376735042737274880}} 
[2026-09-05 19:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":171860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770832,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:16:25] local.INFO: GPS data processed {"connection_id":171860,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:16:25] local.INFO: Acknowledgment sent {"connection_id":171860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:16:46] local.INFO: TCP Data received {"connection_id":173249,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173249,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:16:46] local.INFO: Processing buffer {"connection_id":173249,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:16:46] local.INFO: IMEI packet received {"connection_id":173249,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 19:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":173249,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:16:53] local.INFO: TCP Data received {"connection_id":173249,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173249,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:16:53] local.INFO: Processing buffer {"connection_id":173249,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:16:53] local.INFO: IMEI packet received {"connection_id":173249,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":173249,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:16:54] local.INFO: TCP Data received {"connection_id":173249,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071d0a7d8012c4a9e0008c1c000000d01552a..."} 
[2026-09-05 19:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d0a7d8012c4a9e0008c1c000000d01552a..."} 
[2026-09-05 19:16:54] local.INFO: Processing buffer {"connection_id":173249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d0a7d8012c4a9e0008c1c000000d01552a..."} 
[2026-09-05 19:16:54] local.INFO: Packet analysis {"connection_id":173249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d0"} 
[2026-09-05 19:16:54] local.INFO: Extracted packet for processing {"connection_id":173249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d0"} 
[2026-09-05 19:16:54] local.INFO: GPS Element Parsed {"raw_longitude":743087616,"raw_latitude":146915328,"longitude_deg":74.3087616,"latitude_deg":14.6915328,"altitude":13,"angle":341,"satellites":42,"speed":0,"hex_longitude":"2c4a9e00","hex_latitude":"08c1c000","is_valid_coordinates":true} 
[2026-09-05 19:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885663744001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:16:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5376735042737274880,"note":"Value kept but may cause issues"} 
[2026-09-05 19:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788615895000,"timestamp_ms":1788615895000,"timestamp_seconds":1788615895,"priority":1,"record_length":96,"hex_timestamp":"000001a071d0a7d8"} 
[2026-09-05 19:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-05 19:16:54] 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-09-05 19:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173249,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173249,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:16:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885663744001,"66":25191,"5":206,"9":55808,"24":0,"16":1656792224366592,"44":5376735042737274880},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 19:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885663744001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:16:54] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 19:16:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656792224366592,"km_value":1656792224366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:16:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":5376735042737274880,"description":"Unknown IO ID 44"} 
[2026-09-05 19:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885663744001,"power":25191,"unknown_5":206,"unknown_9":55808,"ignition":0,"odometer":null,"unknown_44":5376735042737274880}} 
[2026-09-05 19:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":173249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770833,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:16:54] local.INFO: GPS data processed {"connection_id":173249,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:16:54] local.INFO: Acknowledgment sent {"connection_id":173249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:16:56] local.INFO: TCP Data received {"connection_id":172122,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:16:56] local.INFO: Processing buffer {"connection_id":172122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:16:56] local.INFO: IMEI packet received {"connection_id":172122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":172122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:17:01] local.INFO: TCP Data received {"connection_id":172122,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:17:01] local.INFO: Processing buffer {"connection_id":172122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:17:01] local.INFO: IMEI packet received {"connection_id":172122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":172122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:17:02] local.INFO: TCP Data received {"connection_id":172122,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071d0f210012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d0f210012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:17:02] local.INFO: Processing buffer {"connection_id":172122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d0f210012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:17:02] local.INFO: Packet analysis {"connection_id":172122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d0"} 
[2026-09-05 19:17:02] local.INFO: Extracted packet for processing {"connection_id":172122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d0"} 
[2026-09-05 19:17:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885596928001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788615914000,"timestamp_ms":1788615914000,"timestamp_seconds":1788615914,"priority":1,"record_length":96,"hex_timestamp":"000001a071d0f210"} 
[2026-09-05 19:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:17:02] 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-09-05 19: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":145,"data_length":795,"current_offset":136} 
[2026-09-05 19:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885596928001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885596928001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:17:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:17:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885596928001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":172122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:17:02] local.INFO: GPS data processed {"connection_id":172122,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:17:02] local.INFO: Acknowledgment sent {"connection_id":172122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:17:26] local.INFO: TCP Data received {"connection_id":173249,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071d0f9e0012c4a9e0008c1c000000d01552a..."} 
[2026-09-05 19:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d0f9e0012c4a9e0008c1c000000d01552a..."} 
[2026-09-05 19:17:26] local.INFO: Processing buffer {"connection_id":173249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d0f9e0012c4a9e0008c1c000000d01552a..."} 
[2026-09-05 19:17:26] local.INFO: Packet analysis {"connection_id":173249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d0"} 
[2026-09-05 19:17:26] local.INFO: Extracted packet for processing {"connection_id":173249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d0"} 
[2026-09-05 19:17:26] local.INFO: GPS Element Parsed {"raw_longitude":743087616,"raw_latitude":146915328,"longitude_deg":74.3087616,"latitude_deg":14.6915328,"altitude":13,"angle":341,"satellites":42,"speed":0,"hex_longitude":"2c4a9e00","hex_latitude":"08c1c000","is_valid_coordinates":true} 
[2026-09-05 19:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885669120001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:17:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5376735042737274880,"note":"Value kept but may cause issues"} 
[2026-09-05 19:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788615916000,"timestamp_ms":1788615916000,"timestamp_seconds":1788615916,"priority":1,"record_length":96,"hex_timestamp":"000001a071d0f9e0"} 
[2026-09-05 19:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-05 19:17:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173249,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173249,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885669120001,"66":25147,"5":206,"9":55808,"24":0,"16":1656792224366592,"44":5376735042737274880},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 19:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885669120001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:17:26] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 19:17:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656792224366592,"km_value":1656792224366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:17:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":5376735042737274880,"description":"Unknown IO ID 44"} 
[2026-09-05 19:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885669120001,"power":25147,"unknown_5":206,"unknown_9":55808,"ignition":0,"odometer":null,"unknown_44":5376735042737274880}} 
[2026-09-05 19:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":173249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770835,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:17:26] local.INFO: GPS data processed {"connection_id":173249,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:17:26] local.INFO: Acknowledgment sent {"connection_id":173249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:17:33] local.INFO: TCP Data received {"connection_id":172122,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071d0f210012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d0f210012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:17:33] local.INFO: Processing buffer {"connection_id":172122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d0f210012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:17:33] local.INFO: Packet analysis {"connection_id":172122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d0"} 
[2026-09-05 19:17:33] local.INFO: Extracted packet for processing {"connection_id":172122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d0"} 
[2026-09-05 19:17:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 19:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885596928001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788615914000,"timestamp_ms":1788615914000,"timestamp_seconds":1788615914,"priority":1,"record_length":96,"hex_timestamp":"000001a071d0f210"} 
[2026-09-05 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-09-05 19:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-05 19:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 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-09-05 19:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885596928001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885596928001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:17:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:17:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885596928001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":172122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:17:33] local.INFO: GPS data processed {"connection_id":172122,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:17:33] local.INFO: Acknowledgment sent {"connection_id":172122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:17:49] local.INFO: TCP Data received {"connection_id":171861,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:17:49] local.INFO: Processing buffer {"connection_id":171861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:17:49] local.INFO: IMEI packet received {"connection_id":171861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":171861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:17:50] local.INFO: TCP Data received {"connection_id":171861,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071d0a7d8012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d0a7d8012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:17:50] local.INFO: Processing buffer {"connection_id":171861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d0a7d8012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:17:50] local.INFO: Packet analysis {"connection_id":171861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d0"} 
[2026-09-05 19:17:50] local.INFO: Extracted packet for processing {"connection_id":171861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d0"} 
[2026-09-05 19:17:50] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885663744001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788615895000,"timestamp_ms":1788615895000,"timestamp_seconds":1788615895,"priority":1,"record_length":96,"hex_timestamp":"000001a071d0a7d8"} 
[2026-09-05 19:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-05 19:17:50] 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-09-05 19:17:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885663744001,"66":12993,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885663744001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:17:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:17:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885663744001,"power":12993,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":171861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:17:50] local.INFO: GPS data processed {"connection_id":171861,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:17:50] local.INFO: Acknowledgment sent {"connection_id":171861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:17:51] local.INFO: TCP Data received {"connection_id":174564,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:17:51] local.INFO: Processing buffer {"connection_id":174564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:17:51] local.INFO: IMEI packet received {"connection_id":174564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 19:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":174564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:17:56] local.INFO: TCP Data received {"connection_id":173250,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:17:56] local.INFO: Processing buffer {"connection_id":173250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:17:56] local.INFO: IMEI packet received {"connection_id":173250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":173250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:17:57] local.INFO: TCP Data received {"connection_id":174564,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:17:57] local.INFO: Processing buffer {"connection_id":174564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:17:57] local.INFO: IMEI packet received {"connection_id":174564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":174564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:17:58] local.INFO: TCP Data received {"connection_id":174564,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071d14be8012c4a9e0008c1c000000d01552a..."} 
[2026-09-05 19:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d14be8012c4a9e0008c1c000000d01552a..."} 
[2026-09-05 19:17:58] local.INFO: Processing buffer {"connection_id":174564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d14be8012c4a9e0008c1c000000d01552a..."} 
[2026-09-05 19:17:58] local.INFO: Packet analysis {"connection_id":174564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d1"} 
[2026-09-05 19:17:58] local.INFO: Extracted packet for processing {"connection_id":174564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d1"} 
[2026-09-05 19:17:58] local.INFO: GPS Element Parsed {"raw_longitude":743087616,"raw_latitude":146915328,"longitude_deg":74.3087616,"latitude_deg":14.6915328,"altitude":13,"angle":341,"satellites":42,"speed":0,"hex_longitude":"2c4a9e00","hex_latitude":"08c1c000","is_valid_coordinates":true} 
[2026-09-05 19:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885674496001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:17:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5376735042737274880,"note":"Value kept but may cause issues"} 
[2026-09-05 19:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788615937000,"timestamp_ms":1788615937000,"timestamp_seconds":1788615937,"priority":1,"record_length":96,"hex_timestamp":"000001a071d14be8"} 
[2026-09-05 19:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-05 19:17:58] 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-09-05 19:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885674496001,"66":27952,"5":206,"9":55808,"24":0,"16":1656792224366592,"44":5376735042737274880},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 19:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885674496001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:17:58] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 19:17:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656792224366592,"km_value":1656792224366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:17:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":5376735042737274880,"description":"Unknown IO ID 44"} 
[2026-09-05 19:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885674496001,"power":27952,"unknown_5":206,"unknown_9":55808,"ignition":0,"odometer":null,"unknown_44":5376735042737274880}} 
[2026-09-05 19:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":174564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770838,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:17:59] local.INFO: GPS data processed {"connection_id":174564,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:17:59] local.INFO: Acknowledgment sent {"connection_id":174564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:18:01] local.INFO: TCP Data received {"connection_id":173250,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:18:01] local.INFO: Processing buffer {"connection_id":173250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:18:01] local.INFO: IMEI packet received {"connection_id":173250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":173250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:18:01] local.INFO: TCP Data received {"connection_id":173250,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071d0f210012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d0f210012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:18:01] local.INFO: Processing buffer {"connection_id":173250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d0f210012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:18:01] local.INFO: Packet analysis {"connection_id":173250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d0"} 
[2026-09-05 19:18:01] local.INFO: Extracted packet for processing {"connection_id":173250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d0"} 
[2026-09-05 19:18:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885596928001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788615914000,"timestamp_ms":1788615914000,"timestamp_seconds":1788615914,"priority":1,"record_length":96,"hex_timestamp":"000001a071d0f210"} 
[2026-09-05 19:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:18:01] 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-09-05 19:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-05 19:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885596928001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885596928001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:18:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:18:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885596928001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":173250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:18:01] local.INFO: GPS data processed {"connection_id":173250,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:18:01] local.INFO: Acknowledgment sent {"connection_id":173250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:18:21] local.INFO: TCP Data received {"connection_id":171861,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071d0f9e0012d1d9000071b2de8003f012828..."} 
[2026-09-05 19:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d0f9e0012d1d9000071b2de8003f012828..."} 
[2026-09-05 19:18:21] local.INFO: Processing buffer {"connection_id":171861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d0f9e0012d1d9000071b2de8003f012828..."} 
[2026-09-05 19:18:21] local.INFO: Packet analysis {"connection_id":171861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d0"} 
[2026-09-05 19:18:21] local.INFO: Extracted packet for processing {"connection_id":171861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d0"} 
[2026-09-05 19:18:21] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":40,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885669120001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788615916000,"timestamp_ms":1788615916000,"timestamp_seconds":1788615916,"priority":1,"record_length":96,"hex_timestamp":"000001a071d0f9e0"} 
[2026-09-05 19:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:18: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-09-05 19:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-05 19:18:21] 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-09-05 19:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885669120001,"66":12950,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885669120001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:18:21] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:18:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885669120001,"power":12950,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":171861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:18:21] local.INFO: GPS data processed {"connection_id":171861,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:18:21] local.INFO: Acknowledgment sent {"connection_id":171861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:18:30] local.INFO: TCP Data received {"connection_id":174564,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071d19df0012c4a9e0008c1c000000d01552a..."} 
[2026-09-05 19:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d19df0012c4a9e0008c1c000000d01552a..."} 
[2026-09-05 19:18:30] local.INFO: Processing buffer {"connection_id":174564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d19df0012c4a9e0008c1c000000d01552a..."} 
[2026-09-05 19:18:30] local.INFO: Packet analysis {"connection_id":174564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d1"} 
[2026-09-05 19:18:30] local.INFO: Extracted packet for processing {"connection_id":174564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d1"} 
[2026-09-05 19:18:30] local.INFO: GPS Element Parsed {"raw_longitude":743087616,"raw_latitude":146915328,"longitude_deg":74.3087616,"latitude_deg":14.6915328,"altitude":13,"angle":341,"satellites":42,"speed":0,"hex_longitude":"2c4a9e00","hex_latitude":"08c1c000","is_valid_coordinates":true} 
[2026-09-05 19:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885679872001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:18:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5376735042737274880,"note":"Value kept but may cause issues"} 
[2026-09-05 19:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788615958000,"timestamp_ms":1788615958000,"timestamp_seconds":1788615958,"priority":1,"record_length":96,"hex_timestamp":"000001a071d19df0"} 
[2026-09-05 19:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-05 19:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885679872001,"66":27604,"5":206,"9":55808,"24":0,"16":1656792224366592,"44":5376735042737274880},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 19:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885679872001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:18:30] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 19:18:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656792224366592,"km_value":1656792224366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:18:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":5376735042737274880,"description":"Unknown IO ID 44"} 
[2026-09-05 19:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885679872001,"power":27604,"unknown_5":206,"unknown_9":55808,"ignition":0,"odometer":null,"unknown_44":5376735042737274880}} 
[2026-09-05 19:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":174564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770841,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:18:30] local.INFO: GPS data processed {"connection_id":174564,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:18:30] local.INFO: Acknowledgment sent {"connection_id":174564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:18:33] local.INFO: TCP Data received {"connection_id":173250,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071d0f210012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d0f210012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:18:33] local.INFO: Processing buffer {"connection_id":173250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d0f210012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:18:33] local.INFO: Packet analysis {"connection_id":173250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d0"} 
[2026-09-05 19:18:33] local.INFO: Extracted packet for processing {"connection_id":173250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d0"} 
[2026-09-05 19:18:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 19:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885596928001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788615914000,"timestamp_ms":1788615914000,"timestamp_seconds":1788615914,"priority":1,"record_length":96,"hex_timestamp":"000001a071d0f210"} 
[2026-09-05 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-09-05 19:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-05 19:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 19:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885596928001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885596928001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:18:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:18:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885596928001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":173250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:18:33] local.INFO: GPS data processed {"connection_id":173250,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:18:33] local.INFO: Acknowledgment sent {"connection_id":173250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:18:45] local.INFO: TCP Data received {"connection_id":174565,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174565,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:18:45] local.INFO: Processing buffer {"connection_id":174565,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:18:45] local.INFO: IMEI packet received {"connection_id":174565,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 19:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":174565,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:18:47] local.INFO: TCP Data received {"connection_id":174565,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174565,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:18:47] local.INFO: Processing buffer {"connection_id":174565,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:18:47] local.INFO: IMEI packet received {"connection_id":174565,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":174565,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:18:49] local.INFO: TCP Data received {"connection_id":173251,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:18:49] local.INFO: Processing buffer {"connection_id":173251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:18:49] local.INFO: IMEI packet received {"connection_id":173251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":173251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:18:52] local.INFO: TCP Data received {"connection_id":174565,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174565,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:18:52] local.INFO: Processing buffer {"connection_id":174565,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:18:52] local.INFO: IMEI packet received {"connection_id":174565,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":174565,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:18:53] local.INFO: TCP Data received {"connection_id":174565,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071d1eff8012c4a9e0008c1c000000d01552a..."} 
[2026-09-05 19:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d1eff8012c4a9e0008c1c000000d01552a..."} 
[2026-09-05 19:18:53] local.INFO: Processing buffer {"connection_id":174565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d1eff8012c4a9e0008c1c000000d01552a..."} 
[2026-09-05 19:18:53] local.INFO: Packet analysis {"connection_id":174565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d1"} 
[2026-09-05 19:18:53] local.INFO: Extracted packet for processing {"connection_id":174565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d1"} 
[2026-09-05 19:18:53] local.INFO: GPS Element Parsed {"raw_longitude":743087616,"raw_latitude":146915328,"longitude_deg":74.3087616,"latitude_deg":14.6915328,"altitude":13,"angle":341,"satellites":42,"speed":0,"hex_longitude":"2c4a9e00","hex_latitude":"08c1c000","is_valid_coordinates":true} 
[2026-09-05 19:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885685248001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:18:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5376735042737274880,"note":"Value kept but may cause issues"} 
[2026-09-05 19:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788615979000,"timestamp_ms":1788615979000,"timestamp_seconds":1788615979,"priority":1,"record_length":96,"hex_timestamp":"000001a071d1eff8"} 
[2026-09-05 19:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-05 19:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:18:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885685248001,"66":27343,"5":206,"9":55808,"24":0,"16":1656792224366592,"44":5376735042737274880},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 19:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885685248001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:18:53] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 19:18:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656792224366592,"km_value":1656792224366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:18:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":5376735042737274880,"description":"Unknown IO ID 44"} 
[2026-09-05 19:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885685248001,"power":27343,"unknown_5":206,"unknown_9":55808,"ignition":0,"odometer":null,"unknown_44":5376735042737274880}} 
[2026-09-05 19:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":174565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770843,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:18:53] local.INFO: GPS data processed {"connection_id":174565,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:18:53] local.INFO: Acknowledgment sent {"connection_id":174565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:18:54] local.INFO: TCP Data received {"connection_id":173251,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:18:54] local.INFO: Processing buffer {"connection_id":173251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:18:54] local.INFO: IMEI packet received {"connection_id":173251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":173251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:18:55] local.INFO: TCP Data received {"connection_id":173251,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071d14be8012d1d9000071b2de8003f012828..."} 
[2026-09-05 19:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d14be8012d1d9000071b2de8003f012828..."} 
[2026-09-05 19:18:55] local.INFO: Processing buffer {"connection_id":173251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d14be8012d1d9000071b2de8003f012828..."} 
[2026-09-05 19:18:55] local.INFO: Packet analysis {"connection_id":173251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d1"} 
[2026-09-05 19:18:55] local.INFO: Extracted packet for processing {"connection_id":173251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d1"} 
[2026-09-05 19:18:55] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":40,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885674496001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788615937000,"timestamp_ms":1788615937000,"timestamp_seconds":1788615937,"priority":1,"record_length":96,"hex_timestamp":"000001a071d14be8"} 
[2026-09-05 19:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-05 19:18:55] 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-09-05 19:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885674496001,"66":12950,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885674496001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:18:55] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:18:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885674496001,"power":12950,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:18:55] local.INFO: TCP Data received {"connection_id":172123,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:18:55] local.INFO: Processing buffer {"connection_id":172123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:18:55] local.INFO: IMEI packet received {"connection_id":172123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":172123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":173251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:18:55] local.INFO: GPS data processed {"connection_id":173251,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:18:55] local.INFO: Acknowledgment sent {"connection_id":173251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:18:59] local.INFO: TCP Data received {"connection_id":173251,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071d19df0012d1d9000071b2de8003f012828..."} 
[2026-09-05 19:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d19df0012d1d9000071b2de8003f012828..."} 
[2026-09-05 19:18:59] local.INFO: Processing buffer {"connection_id":173251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d19df0012d1d9000071b2de8003f012828..."} 
[2026-09-05 19:18:59] local.INFO: Packet analysis {"connection_id":173251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d1"} 
[2026-09-05 19:18:59] local.INFO: Extracted packet for processing {"connection_id":173251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d1"} 
[2026-09-05 19:18:59] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":40,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885679872001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788615958000,"timestamp_ms":1788615958000,"timestamp_seconds":1788615958,"priority":1,"record_length":96,"hex_timestamp":"000001a071d19df0"} 
[2026-09-05 19:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-05 19:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885679872001,"66":12950,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885679872001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:18:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:18:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885679872001,"power":12950,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":173251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:18:59] local.INFO: GPS data processed {"connection_id":173251,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:18:59] local.INFO: Acknowledgment sent {"connection_id":173251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:19:01] local.INFO: TCP Data received {"connection_id":172123,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:19:01] local.INFO: Processing buffer {"connection_id":172123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:19:01] local.INFO: IMEI packet received {"connection_id":172123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":172123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:19:02] local.INFO: TCP Data received {"connection_id":172123,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071d0f210012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d0f210012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:19:02] local.INFO: Processing buffer {"connection_id":172123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d0f210012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:19:02] local.INFO: Packet analysis {"connection_id":172123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d0"} 
[2026-09-05 19:19:02] local.INFO: Extracted packet for processing {"connection_id":172123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d0"} 
[2026-09-05 19:19:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885596928001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788615914000,"timestamp_ms":1788615914000,"timestamp_seconds":1788615914,"priority":1,"record_length":96,"hex_timestamp":"000001a071d0f210"} 
[2026-09-05 19:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:19:02] 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-09-05 19: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":145,"data_length":795,"current_offset":136} 
[2026-09-05 19:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885596928001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885596928001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:19:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:19:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885596928001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":172123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:19:02] local.INFO: GPS data processed {"connection_id":172123,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:19:02] local.INFO: Acknowledgment sent {"connection_id":172123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:19:25] local.INFO: TCP Data received {"connection_id":174565,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071d24200012c4a9e0008c1c000000d01552a..."} 
[2026-09-05 19:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d24200012c4a9e0008c1c000000d01552a..."} 
[2026-09-05 19:19:25] local.INFO: Processing buffer {"connection_id":174565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d24200012c4a9e0008c1c000000d01552a..."} 
[2026-09-05 19:19:25] local.INFO: Packet analysis {"connection_id":174565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d2"} 
[2026-09-05 19:19:25] local.INFO: Extracted packet for processing {"connection_id":174565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d2"} 
[2026-09-05 19:19:25] local.INFO: GPS Element Parsed {"raw_longitude":743087616,"raw_latitude":146915328,"longitude_deg":74.3087616,"latitude_deg":14.6915328,"altitude":13,"angle":341,"satellites":42,"speed":0,"hex_longitude":"2c4a9e00","hex_latitude":"08c1c000","is_valid_coordinates":true} 
[2026-09-05 19:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885690624001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:19:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5376735042737274880,"note":"Value kept but may cause issues"} 
[2026-09-05 19:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788616000000,"timestamp_ms":1788616000000,"timestamp_seconds":1788616000,"priority":1,"record_length":96,"hex_timestamp":"000001a071d24200"} 
[2026-09-05 19:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 19:19:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885690624001,"66":27745,"5":206,"9":55808,"24":0,"16":1656792224366592,"44":5376735042737274880},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 19:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885690624001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:19:25] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 19:19:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656792224366592,"km_value":1656792224366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:19:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":5376735042737274880,"description":"Unknown IO ID 44"} 
[2026-09-05 19:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885690624001,"power":27745,"unknown_5":206,"unknown_9":55808,"ignition":0,"odometer":null,"unknown_44":5376735042737274880}} 
[2026-09-05 19:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":174565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770847,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:19:25] local.INFO: GPS data processed {"connection_id":174565,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:19:25] local.INFO: Acknowledgment sent {"connection_id":174565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:19:33] local.INFO: TCP Data received {"connection_id":172123,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071d0f210012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d0f210012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:19:33] local.INFO: Processing buffer {"connection_id":172123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d0f210012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:19:33] local.INFO: Packet analysis {"connection_id":172123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d0"} 
[2026-09-05 19:19:33] local.INFO: Extracted packet for processing {"connection_id":172123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d0"} 
[2026-09-05 19:19:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 19:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885596928001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788615914000,"timestamp_ms":1788615914000,"timestamp_seconds":1788615914,"priority":1,"record_length":96,"hex_timestamp":"000001a071d0f210"} 
[2026-09-05 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-09-05 19:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-05 19:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 19:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885596928001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885596928001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:19:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:19:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885596928001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":172123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:19:33] local.INFO: GPS data processed {"connection_id":172123,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:19:33] local.INFO: Acknowledgment sent {"connection_id":172123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:19:44] local.INFO: TCP Data received {"connection_id":173252,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:19:44] local.INFO: Processing buffer {"connection_id":173252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:19:44] local.INFO: IMEI packet received {"connection_id":173252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":173252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:19:45] local.INFO: TCP Data received {"connection_id":173252,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:19:45] local.INFO: Processing buffer {"connection_id":173252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:19:45] local.INFO: IMEI packet received {"connection_id":173252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":173252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:19:47] local.INFO: TCP Data received {"connection_id":172124,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:19:47] local.INFO: Processing buffer {"connection_id":172124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:19:47] local.INFO: IMEI packet received {"connection_id":172124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 19:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":172124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:19:49] local.INFO: TCP Data received {"connection_id":173252,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:19:49] local.INFO: Processing buffer {"connection_id":173252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:19:49] local.INFO: IMEI packet received {"connection_id":173252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":173252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:19:50] local.INFO: TCP Data received {"connection_id":173252,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071d1eff8012d1d9000071b2de8003f012828..."} 
[2026-09-05 19:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d1eff8012d1d9000071b2de8003f012828..."} 
[2026-09-05 19:19:50] local.INFO: Processing buffer {"connection_id":173252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d1eff8012d1d9000071b2de8003f012828..."} 
[2026-09-05 19:19:50] local.INFO: Packet analysis {"connection_id":173252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d1"} 
[2026-09-05 19:19:50] local.INFO: Extracted packet for processing {"connection_id":173252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d1"} 
[2026-09-05 19:19:50] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":40,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885685248001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788615979000,"timestamp_ms":1788615979000,"timestamp_seconds":1788615979,"priority":1,"record_length":96,"hex_timestamp":"000001a071d1eff8"} 
[2026-09-05 19:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-05 19:19: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-09-05 19:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885685248001,"66":12950,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885685248001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:19:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:19:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885685248001,"power":12950,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":173252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:19:50] local.INFO: GPS data processed {"connection_id":173252,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:19:50] local.INFO: Acknowledgment sent {"connection_id":173252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:19:52] local.INFO: TCP Data received {"connection_id":172124,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:19:52] local.INFO: Processing buffer {"connection_id":172124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:19:52] local.INFO: IMEI packet received {"connection_id":172124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":172124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:19:53] local.INFO: TCP Data received {"connection_id":172124,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071d28c38012c4aa1c008c1df70000f005a30..."} 
[2026-09-05 19:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d28c38012c4aa1c008c1df70000f005a30..."} 
[2026-09-05 19:19:53] local.INFO: Processing buffer {"connection_id":172124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d28c38012c4aa1c008c1df70000f005a30..."} 
[2026-09-05 19:19:53] local.INFO: Packet analysis {"connection_id":172124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d2"} 
[2026-09-05 19:19:53] local.INFO: Extracted packet for processing {"connection_id":172124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d2"} 
[2026-09-05 19:19:53] local.INFO: GPS Element Parsed {"raw_longitude":743088576,"raw_latitude":146923376,"longitude_deg":74.3088576,"latitude_deg":14.6923376,"altitude":15,"angle":90,"satellites":48,"speed":15,"hex_longitude":"2c4aa1c0","hex_latitude":"08c1df70","is_valid_coordinates":true} 
[2026-09-05 19:19: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-09-05 19:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885696000001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:19:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5376735042737274880,"note":"Value kept but may cause issues"} 
[2026-09-05 19:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788616019000,"timestamp_ms":1788616019000,"timestamp_seconds":1788616019,"priority":1,"record_length":96,"hex_timestamp":"000001a071d28c38"} 
[2026-09-05 19:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 19:19:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885696000001,"66":27713,"5":206,"9":55808,"24":15,"16":1656792224366592,"44":5376735042737274880},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 19:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885696000001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:19:53] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 19:19:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656792224366592,"km_value":1656792224366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:19:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":5376735042737274880,"description":"Unknown IO ID 44"} 
[2026-09-05 19:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885696000001,"power":27713,"unknown_5":206,"unknown_9":55808,"ignition":15,"odometer":null,"unknown_44":5376735042737274880}} 
[2026-09-05 19:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":172124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770850,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:19:53] local.INFO: GPS data processed {"connection_id":172124,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:19:53] local.INFO: Acknowledgment sent {"connection_id":172124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:19:54] local.INFO: TCP Data received {"connection_id":173252,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071d24200012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d24200012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:19:54] local.INFO: Processing buffer {"connection_id":173252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d24200012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:19:54] local.INFO: Packet analysis {"connection_id":173252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d2"} 
[2026-09-05 19:19:54] local.INFO: Extracted packet for processing {"connection_id":173252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d2"} 
[2026-09-05 19:19:54] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885690624001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788616000000,"timestamp_ms":1788616000000,"timestamp_seconds":1788616000,"priority":1,"record_length":96,"hex_timestamp":"000001a071d24200"} 
[2026-09-05 19:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-05 19:19:54] 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-09-05 19:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885690624001,"66":12928,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885690624001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:19:55] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:19:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885690624001,"power":12928,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":173252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:19:55] local.INFO: GPS data processed {"connection_id":173252,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:19:55] local.INFO: Acknowledgment sent {"connection_id":173252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:19:55] local.INFO: TCP Data received {"connection_id":171862,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:19:55] local.INFO: Processing buffer {"connection_id":171862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:19:55] local.INFO: IMEI packet received {"connection_id":171862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":171862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:20:01] local.INFO: TCP Data received {"connection_id":171862,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:20:01] local.INFO: Processing buffer {"connection_id":171862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:20:01] local.INFO: IMEI packet received {"connection_id":171862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":171862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:20:01] local.INFO: TCP Data received {"connection_id":171862,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071d0f210012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d0f210012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:20:01] local.INFO: Processing buffer {"connection_id":171862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d0f210012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:20:01] local.INFO: Packet analysis {"connection_id":171862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d0"} 
[2026-09-05 19:20:01] local.INFO: Extracted packet for processing {"connection_id":171862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d0"} 
[2026-09-05 19:20:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885596928001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788615914000,"timestamp_ms":1788615914000,"timestamp_seconds":1788615914,"priority":1,"record_length":96,"hex_timestamp":"000001a071d0f210"} 
[2026-09-05 19:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:20:01] 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-09-05 19:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-05 19:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885596928001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885596928001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:20:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:20:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885596928001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":171862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:20:02] local.INFO: GPS data processed {"connection_id":171862,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:20:02] local.INFO: Acknowledgment sent {"connection_id":171862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:20:25] local.INFO: TCP Data received {"connection_id":172124,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071d2de40012c4aa1c008c1df70000f005a30..."} 
[2026-09-05 19:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d2de40012c4aa1c008c1df70000f005a30..."} 
[2026-09-05 19:20:25] local.INFO: Processing buffer {"connection_id":172124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d2de40012c4aa1c008c1df70000f005a30..."} 
[2026-09-05 19:20:25] local.INFO: Packet analysis {"connection_id":172124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d2"} 
[2026-09-05 19:20:25] local.INFO: Extracted packet for processing {"connection_id":172124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d2"} 
[2026-09-05 19:20:25] local.INFO: GPS Element Parsed {"raw_longitude":743088576,"raw_latitude":146923376,"longitude_deg":74.3088576,"latitude_deg":14.6923376,"altitude":15,"angle":90,"satellites":48,"speed":0,"hex_longitude":"2c4aa1c0","hex_latitude":"08c1df70","is_valid_coordinates":true} 
[2026-09-05 19:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885700864001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:20:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5377790573902000128,"note":"Value kept but may cause issues"} 
[2026-09-05 19:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788616040000,"timestamp_ms":1788616040000,"timestamp_seconds":1788616040,"priority":1,"record_length":96,"hex_timestamp":"000001a071d2de40"} 
[2026-09-05 19:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-05 19:20:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:20:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885700864001,"66":27550,"5":206,"9":55808,"24":0,"16":1656792224366592,"44":5377790573902000128},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 19:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885700864001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:20:25] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 19:20:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656792224366592,"km_value":1656792224366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:20:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":5377790573902000128,"description":"Unknown IO ID 44"} 
[2026-09-05 19:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885700864001,"power":27550,"unknown_5":206,"unknown_9":55808,"ignition":0,"odometer":null,"unknown_44":5377790573902000128}} 
[2026-09-05 19:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":172124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770853,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:20:25] local.INFO: GPS data processed {"connection_id":172124,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:20:25] local.INFO: Acknowledgment sent {"connection_id":172124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:20:26] local.INFO: TCP Data received {"connection_id":173252,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071d29408012d1d9000071b2de8003f012827..."} 
[2026-09-05 19:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d29408012d1d9000071b2de8003f012827..."} 
[2026-09-05 19:20:26] local.INFO: Processing buffer {"connection_id":173252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d29408012d1d9000071b2de8003f012827..."} 
[2026-09-05 19:20:26] local.INFO: Packet analysis {"connection_id":173252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d2"} 
[2026-09-05 19:20:26] local.INFO: Extracted packet for processing {"connection_id":173252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d2"} 
[2026-09-05 19:20:26] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885696000001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788616021000,"timestamp_ms":1788616021000,"timestamp_seconds":1788616021,"priority":1,"record_length":96,"hex_timestamp":"000001a071d29408"} 
[2026-09-05 19:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-09-05 19:20:26] 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-09-05 19:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885696000001,"66":12863,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885696000001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:20:26] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:20:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885696000001,"power":12863,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":173252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:20:26] local.INFO: GPS data processed {"connection_id":173252,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:20:26] local.INFO: Acknowledgment sent {"connection_id":173252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:20:33] local.INFO: TCP Data received {"connection_id":171862,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071d0f210012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d0f210012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:20:33] local.INFO: Processing buffer {"connection_id":171862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d0f210012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:20:33] local.INFO: Packet analysis {"connection_id":171862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d0"} 
[2026-09-05 19:20:33] local.INFO: Extracted packet for processing {"connection_id":171862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d0"} 
[2026-09-05 19:20:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 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-09-05 19:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885596928001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788615914000,"timestamp_ms":1788615914000,"timestamp_seconds":1788615914,"priority":1,"record_length":96,"hex_timestamp":"000001a071d0f210"} 
[2026-09-05 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-09-05 19:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-05 19:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 19:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885596928001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885596928001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:20:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:20:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885596928001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":171862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:20:33] local.INFO: GPS data processed {"connection_id":171862,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:20:33] local.INFO: Acknowledgment sent {"connection_id":171862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:20:45] local.INFO: TCP Data received {"connection_id":174566,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:20:45] local.INFO: Processing buffer {"connection_id":174566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:20:45] local.INFO: IMEI packet received {"connection_id":174566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":174566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:20:46] local.INFO: TCP Data received {"connection_id":173253,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173253,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:20:47] local.INFO: Processing buffer {"connection_id":173253,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:20:47] local.INFO: IMEI packet received {"connection_id":173253,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 19:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":173253,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:20:48] local.INFO: TCP Data received {"connection_id":174566,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:20:48] local.INFO: Processing buffer {"connection_id":174566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:20:48] local.INFO: IMEI packet received {"connection_id":174566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":174566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:20:49] local.INFO: TCP Data received {"connection_id":174566,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071d2e610012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d2e610012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:20:49] local.INFO: Processing buffer {"connection_id":174566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d2e610012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:20:49] local.INFO: Packet analysis {"connection_id":174566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d2"} 
[2026-09-05 19:20:49] local.INFO: Extracted packet for processing {"connection_id":174566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d2"} 
[2026-09-05 19:20:49] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885701376001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788616042000,"timestamp_ms":1788616042000,"timestamp_seconds":1788616042,"priority":1,"record_length":96,"hex_timestamp":"000001a071d2e610"} 
[2026-09-05 19:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-05 19:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885701376001,"66":12863,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885701376001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:20:49] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:20:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885701376001,"power":12863,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":174566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:20:49] local.INFO: GPS data processed {"connection_id":174566,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:20:49] local.INFO: Acknowledgment sent {"connection_id":174566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:20:50] local.INFO: TCP Data received {"connection_id":174566,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071d33818012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d33818012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:20:50] local.INFO: Processing buffer {"connection_id":174566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d33818012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:20:50] local.INFO: Packet analysis {"connection_id":174566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d3"} 
[2026-09-05 19:20:50] local.INFO: Extracted packet for processing {"connection_id":174566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d3"} 
[2026-09-05 19:20:50] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885706752001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:20:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788616063000,"timestamp_ms":1788616063000,"timestamp_seconds":1788616063,"priority":1,"record_length":96,"hex_timestamp":"000001a071d33818"} 
[2026-09-05 19:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-05 19:20:50] 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-09-05 19:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885706752001,"66":12841,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885706752001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:20:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:20:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885706752001,"power":12841,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":174566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:20:50] local.INFO: GPS data processed {"connection_id":174566,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:20:50] local.INFO: Acknowledgment sent {"connection_id":174566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:20:52] local.INFO: TCP Data received {"connection_id":173253,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173253,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:20:52] local.INFO: Processing buffer {"connection_id":173253,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:20:52] local.INFO: IMEI packet received {"connection_id":173253,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":173253,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:20:53] local.INFO: TCP Data received {"connection_id":173253,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071d33048012c4acf8008c1dea00011005730..."} 
[2026-09-05 19:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d33048012c4acf8008c1dea00011005730..."} 
[2026-09-05 19:20:53] local.INFO: Processing buffer {"connection_id":173253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d33048012c4acf8008c1dea00011005730..."} 
[2026-09-05 19:20:53] local.INFO: Packet analysis {"connection_id":173253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d3"} 
[2026-09-05 19:20:53] local.INFO: Extracted packet for processing {"connection_id":173253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d3"} 
[2026-09-05 19:20:53] local.INFO: GPS Element Parsed {"raw_longitude":743100288,"raw_latitude":146923168,"longitude_deg":74.3100288,"latitude_deg":14.6923168,"altitude":17,"angle":87,"satellites":48,"speed":0,"hex_longitude":"2c4acf80","hex_latitude":"08c1dea0","is_valid_coordinates":true} 
[2026-09-05 19:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885706240001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:20:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5377790573902000128,"note":"Value kept but may cause issues"} 
[2026-09-05 19:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788616061000,"timestamp_ms":1788616061000,"timestamp_seconds":1788616061,"priority":1,"record_length":96,"hex_timestamp":"000001a071d33048"} 
[2026-09-05 19:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-05 19:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885706240001,"66":27517,"5":206,"9":55808,"24":0,"16":1656792224366592,"44":5377790573902000128},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 19:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885706240001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:20:53] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 19:20:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656792224366592,"km_value":1656792224366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:20:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":5377790573902000128,"description":"Unknown IO ID 44"} 
[2026-09-05 19:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885706240001,"power":27517,"unknown_5":206,"unknown_9":55808,"ignition":0,"odometer":null,"unknown_44":5377790573902000128}} 
[2026-09-05 19:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":173253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770858,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:20:53] local.INFO: GPS data processed {"connection_id":173253,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:20:53] local.INFO: Acknowledgment sent {"connection_id":173253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:21:01] local.INFO: TCP Data received {"connection_id":171863,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:21:01] local.INFO: Processing buffer {"connection_id":171863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:21:01] local.INFO: IMEI packet received {"connection_id":171863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":171863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:21:06] local.INFO: TCP Data received {"connection_id":171863,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:21:06] local.INFO: Processing buffer {"connection_id":171863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:21:06] local.INFO: IMEI packet received {"connection_id":171863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":171863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:21:06] local.INFO: TCP Data received {"connection_id":171863,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071d589d8012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d589d8012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:21:06] local.INFO: Processing buffer {"connection_id":171863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d589d8012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:21:06] local.INFO: Packet analysis {"connection_id":171863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d5"} 
[2026-09-05 19:21:06] local.INFO: Extracted packet for processing {"connection_id":171863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d5"} 
[2026-09-05 19:21:06] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885673984001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788616215000,"timestamp_ms":1788616215000,"timestamp_seconds":1788616215,"priority":1,"record_length":96,"hex_timestamp":"000001a071d589d8"} 
[2026-09-05 19:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:21:06] 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-09-05 19:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 19:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885673984001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885673984001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:21:06] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:21:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885673984001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":171863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:21:06] local.INFO: GPS data processed {"connection_id":171863,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:21:06] local.INFO: Acknowledgment sent {"connection_id":171863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:21:11] local.INFO: TCP Data received {"connection_id":171863,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071d589d8012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d589d8012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:21:11] local.INFO: Processing buffer {"connection_id":171863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d589d8012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:21:11] local.INFO: Packet analysis {"connection_id":171863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d5"} 
[2026-09-05 19:21:11] local.INFO: Extracted packet for processing {"connection_id":171863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d5"} 
[2026-09-05 19:21:11] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885673984001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788616215000,"timestamp_ms":1788616215000,"timestamp_seconds":1788616215,"priority":1,"record_length":96,"hex_timestamp":"000001a071d589d8"} 
[2026-09-05 19:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:21:11] 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-09-05 19:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 19:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885673984001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885673984001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:21:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:21:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885673984001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":171863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:21:11] local.INFO: GPS data processed {"connection_id":171863,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:21:11] local.INFO: Acknowledgment sent {"connection_id":171863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:21:21] local.INFO: TCP Data received {"connection_id":174566,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071d38a20012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d38a20012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:21:21] local.INFO: Processing buffer {"connection_id":174566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d38a20012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:21:21] local.INFO: Packet analysis {"connection_id":174566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d3"} 
[2026-09-05 19:21:21] local.INFO: Extracted packet for processing {"connection_id":174566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d3"} 
[2026-09-05 19:21:21] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885712128001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788616084000,"timestamp_ms":1788616084000,"timestamp_seconds":1788616084,"priority":1,"record_length":96,"hex_timestamp":"000001a071d38a20"} 
[2026-09-05 19:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:21: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-09-05 19:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-05 19:21:21] 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-09-05 19:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885712128001,"66":12841,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885712128001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:21:21] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:21:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885712128001,"power":12841,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":174566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:21:21] local.INFO: GPS data processed {"connection_id":174566,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:21:21] local.INFO: Acknowledgment sent {"connection_id":174566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:21:44] local.INFO: TCP Data received {"connection_id":171864,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:21:44] local.INFO: Processing buffer {"connection_id":171864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:21:44] local.INFO: IMEI packet received {"connection_id":171864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":171864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:21:48] local.INFO: TCP Data received {"connection_id":173253,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071d412d80100000000000000000000000000..."} 
[2026-09-05 19:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d412d80100000000000000000000000000..."} 
[2026-09-05 19:21:48] local.INFO: Processing buffer {"connection_id":173253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d412d80100000000000000000000000000..."} 
[2026-09-05 19:21:48] local.INFO: Packet analysis {"connection_id":173253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d4"} 
[2026-09-05 19:21:48] local.INFO: Extracted packet for processing {"connection_id":173253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d4"} 
[2026-09-05 19:21:48] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 19:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885711616001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:21:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5390668054086459392,"note":"Value kept but may cause issues"} 
[2026-09-05 19:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788616119000,"timestamp_ms":1788616119000,"timestamp_seconds":1788616119,"priority":1,"record_length":96,"hex_timestamp":"000001a071d412d8"} 
[2026-09-05 19:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:21: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-09-05 19:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 19:21:48] 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-09-05 19:21:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":173253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":173253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":173253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":173253,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 19:21:48] local.INFO: GPS data processed {"connection_id":173253,"processed":0,"errors":0,"total":1} 
[2026-09-05 19:21:48] local.INFO: Acknowledgment sent {"connection_id":173253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:21:49] local.INFO: TCP Data received {"connection_id":171864,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:21:49] local.INFO: Processing buffer {"connection_id":171864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:21:49] local.INFO: IMEI packet received {"connection_id":171864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":171864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:21:50] local.INFO: TCP Data received {"connection_id":171864,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071d3dc28012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d3dc28012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:21:50] local.INFO: Processing buffer {"connection_id":171864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d3dc28012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:21:50] local.INFO: Packet analysis {"connection_id":171864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d3"} 
[2026-09-05 19:21:50] local.INFO: Extracted packet for processing {"connection_id":171864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d3"} 
[2026-09-05 19:21:50] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885717504001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788616105000,"timestamp_ms":1788616105000,"timestamp_seconds":1788616105,"priority":1,"record_length":96,"hex_timestamp":"000001a071d3dc28"} 
[2026-09-05 19:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-05 19:21:50] 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-09-05 19: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-09-05 19:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885717504001,"66":12841,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885717504001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:21:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:21:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885717504001,"power":12841,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":171864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:21:50] local.INFO: GPS data processed {"connection_id":171864,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:21:50] local.INFO: Acknowledgment sent {"connection_id":171864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:21:56] local.INFO: TCP Data received {"connection_id":173254,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:21:56] local.INFO: Processing buffer {"connection_id":173254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:21:56] local.INFO: IMEI packet received {"connection_id":173254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":173254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:21:56] local.INFO: TCP Data received {"connection_id":173255,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173255,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:21:56] local.INFO: Processing buffer {"connection_id":173255,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:21:56] local.INFO: IMEI packet received {"connection_id":173255,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 19:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":173255,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:22:01] local.INFO: TCP Data received {"connection_id":173254,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:22:01] local.INFO: Processing buffer {"connection_id":173254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:22:01] local.INFO: IMEI packet received {"connection_id":173254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":173254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:22:01] local.INFO: TCP Data received {"connection_id":173255,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173255,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:22:01] local.INFO: Processing buffer {"connection_id":173255,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:22:01] local.INFO: IMEI packet received {"connection_id":173255,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":173255,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:22:02] local.INFO: TCP Data received {"connection_id":173254,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071d589d8012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d589d8012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:22:02] local.INFO: Processing buffer {"connection_id":173254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d589d8012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:22:02] local.INFO: Packet analysis {"connection_id":173254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d5"} 
[2026-09-05 19:22:02] local.INFO: Extracted packet for processing {"connection_id":173254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d5"} 
[2026-09-05 19:22:02] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885673984001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788616215000,"timestamp_ms":1788616215000,"timestamp_seconds":1788616215,"priority":1,"record_length":96,"hex_timestamp":"000001a071d589d8"} 
[2026-09-05 19:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:22:02] 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-09-05 19:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 19:22: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-09-05 19: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-09-05 19:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885673984001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885673984001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:22:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:22:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885673984001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":173254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:22:02] local.INFO: GPS data processed {"connection_id":173254,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:22:02] local.INFO: Acknowledgment sent {"connection_id":173254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:22:03] local.INFO: TCP Data received {"connection_id":173255,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071d395d8012c4b01c008c1dfe00011005b2f..."} 
[2026-09-05 19:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d395d8012c4b01c008c1dfe00011005b2f..."} 
[2026-09-05 19:22:03] local.INFO: Processing buffer {"connection_id":173255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d395d8012c4b01c008c1dfe00011005b2f..."} 
[2026-09-05 19:22:03] local.INFO: Packet analysis {"connection_id":173255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d3"} 
[2026-09-05 19:22:03] local.INFO: Extracted packet for processing {"connection_id":173255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d3"} 
[2026-09-05 19:22:03] local.INFO: GPS Element Parsed {"raw_longitude":743113152,"raw_latitude":146923488,"longitude_deg":74.3113152,"latitude_deg":14.6923488,"altitude":17,"angle":91,"satellites":47,"speed":17,"hex_longitude":"2c4b01c0","hex_latitude":"08c1dfe0","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:22:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,5,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 19:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788616087000,"timestamp_ms":1788616087000,"timestamp_seconds":1788616087,"priority":1,"record_length":96,"hex_timestamp":"000001a071d395d8"} 
[2026-09-05 19:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-05 19:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173255,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173255,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27343,"5":206,"9":55808,"24":17,"16":1656792224366592},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16]} 
[2026-09-05 19:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-05 19:22:03] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 19:22:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656792224366592,"km_value":1656792224366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:22:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27343,"unknown_5":206,"unknown_9":55808,"ignition":17,"odometer":null}} 
[2026-09-05 19:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":173255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770864,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:22:03] local.INFO: GPS data processed {"connection_id":173255,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:22:03] local.INFO: Acknowledgment sent {"connection_id":173255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:22:21] local.INFO: TCP Data received {"connection_id":171864,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071d42e30012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d42e30012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:22:21] local.INFO: Processing buffer {"connection_id":171864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d42e30012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:22:21] local.INFO: Packet analysis {"connection_id":171864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d4"} 
[2026-09-05 19:22:21] local.INFO: Extracted packet for processing {"connection_id":171864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d4"} 
[2026-09-05 19:22:21] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885722880001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788616126000,"timestamp_ms":1788616126000,"timestamp_seconds":1788616126,"priority":1,"record_length":96,"hex_timestamp":"000001a071d42e30"} 
[2026-09-05 19:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:22: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-09-05 19:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-05 19:22:21] 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-09-05 19:22:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885722880001,"66":12809,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885722880001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:22:21] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:22:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885722880001,"power":12809,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":171864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:22:21] local.INFO: GPS data processed {"connection_id":171864,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:22:21] local.INFO: Acknowledgment sent {"connection_id":171864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:22:33] local.INFO: TCP Data received {"connection_id":173254,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071d589d8012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d589d8012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:22:33] local.INFO: Processing buffer {"connection_id":173254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d589d8012d7b850005f5f278000900f62f..."} 
[2026-09-05 19:22:33] local.INFO: Packet analysis {"connection_id":173254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d5"} 
[2026-09-05 19:22:33] local.INFO: Extracted packet for processing {"connection_id":173254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d5"} 
[2026-09-05 19:22:33] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885673984001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788616215000,"timestamp_ms":1788616215000,"timestamp_seconds":1788616215,"priority":1,"record_length":96,"hex_timestamp":"000001a071d589d8"} 
[2026-09-05 19:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:22: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-09-05 19: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 19:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885673984001,"66":25734,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885673984001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:22:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:22:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885673984001,"power":25734,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":173254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:22:33] local.INFO: GPS data processed {"connection_id":173254,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:22:33] local.INFO: Acknowledgment sent {"connection_id":173254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:22:44] local.INFO: TCP Data received {"connection_id":172125,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:22:44] local.INFO: Processing buffer {"connection_id":172125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:22:44] local.INFO: IMEI packet received {"connection_id":172125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":172125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:22:46] local.INFO: TCP Data received {"connection_id":171865,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171865,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:22:46] local.INFO: Processing buffer {"connection_id":171865,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:22:46] local.INFO: IMEI packet received {"connection_id":171865,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 19:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":171865,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:22:49] local.INFO: TCP Data received {"connection_id":172125,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:22:49] local.INFO: Processing buffer {"connection_id":172125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:22:49] local.INFO: IMEI packet received {"connection_id":172125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":172125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:22:50] local.INFO: TCP Data received {"connection_id":172125,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071d48038012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d48038012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:22:50] local.INFO: Processing buffer {"connection_id":172125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d48038012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:22:50] local.INFO: Packet analysis {"connection_id":172125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d4"} 
[2026-09-05 19:22:50] local.INFO: Extracted packet for processing {"connection_id":172125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d4"} 
[2026-09-05 19:22:50] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885728256001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788616147000,"timestamp_ms":1788616147000,"timestamp_seconds":1788616147,"priority":1,"record_length":96,"hex_timestamp":"000001a071d48038"} 
[2026-09-05 19:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-05 19:22:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 19:22:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 19:22:50] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 19:22:50] local.WARNING: Large IO value detected {"io_id":113,"raw_value":-3319161716413198336,"note":"Value kept but may cause issues"} 
[2026-09-05 19:22:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1766981838,"corrected_to":0} 
[2026-09-05 19:22:50] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-9223146184623731117,"note":"Value kept but may cause issues"} 
[2026-09-05 19:22:50] local.WARNING: Large IO value detected {"io_id":7,"raw_value":1958476500730718248,"note":"Value kept but may cause issues"} 
[2026-09-05 19:22:50] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-05 19:22:50] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,82,83,24,241,157,16,65,160,220,45,63,41,10,66,138,56,1,240,227,113,27,4,205,148,144,232,39,239,50,2,64,7,164,60],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1766981838,"validated":0}]} 
[2026-09-05 19:22:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539954060219908096,"timestamp_seconds":4539954060219908.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 19:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885728256001,"66":12776,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885728256001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:22:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:22:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885728256001,"power":12776,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":172125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:22:50] local.INFO: GPS data processed {"connection_id":172125,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:22:50] local.INFO: Acknowledgment sent {"connection_id":172125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:22:52] local.INFO: TCP Data received {"connection_id":171865,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171865,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:22:52] local.INFO: Processing buffer {"connection_id":171865,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:22:52] local.INFO: IMEI packet received {"connection_id":171865,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":171865,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:22:53] local.INFO: TCP Data received {"connection_id":171865,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071d69760012c4d6e4008c1d6f00014005a30..."} 
[2026-09-05 19:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d69760012c4d6e4008c1d6f00014005a30..."} 
[2026-09-05 19:22:53] local.INFO: Processing buffer {"connection_id":171865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d69760012c4d6e4008c1d6f00014005a30..."} 
[2026-09-05 19:22:53] local.INFO: Packet analysis {"connection_id":171865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d6"} 
[2026-09-05 19:22:53] local.INFO: Extracted packet for processing {"connection_id":171865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d6"} 
[2026-09-05 19:22:53] local.INFO: GPS Element Parsed {"raw_longitude":743272000,"raw_latitude":146921200,"longitude_deg":74.3272,"latitude_deg":14.69212,"altitude":20,"angle":90,"satellites":48,"speed":0,"hex_longitude":"2c4d6e40","hex_latitude":"08c1d6f0","is_valid_coordinates":true} 
[2026-09-05 19:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885763328001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:22:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5558778983926345728,"note":"Value kept but may cause issues"} 
[2026-09-05 19:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788616284000,"timestamp_ms":1788616284000,"timestamp_seconds":1788616284,"priority":1,"record_length":96,"hex_timestamp":"000001a071d69760"} 
[2026-09-05 19:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-05 19:22:53] 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-09-05 19:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885763328001,"66":27245,"5":206,"9":55808,"24":0,"16":1656792224366592,"44":5558778983926345728},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 19:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885763328001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:22:53] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 19:22:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656792224366592,"km_value":1656792224366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:22:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":5558778983926345728,"description":"Unknown IO ID 44"} 
[2026-09-05 19:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885763328001,"power":27245,"unknown_5":206,"unknown_9":55808,"ignition":0,"odometer":null,"unknown_44":5558778983926345728}} 
[2026-09-05 19:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":171865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770868,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:22:53] local.INFO: GPS data processed {"connection_id":171865,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:22:53] local.INFO: Acknowledgment sent {"connection_id":171865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:22:55] local.INFO: TCP Data received {"connection_id":171866,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:22:55] local.INFO: Processing buffer {"connection_id":171866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:22:55] local.INFO: IMEI packet received {"connection_id":171866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":171866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:23:00] local.INFO: TCP Data received {"connection_id":171866,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:23:00] local.INFO: Processing buffer {"connection_id":171866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:23:00] local.INFO: IMEI packet received {"connection_id":171866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":171866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:23:01] local.INFO: TCP Data received {"connection_id":171866,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071d74340012d7b850005f5f278000900f631..."} 
[2026-09-05 19:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d74340012d7b850005f5f278000900f631..."} 
[2026-09-05 19:23:01] local.INFO: Processing buffer {"connection_id":171866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d74340012d7b850005f5f278000900f631..."} 
[2026-09-05 19:23:01] local.INFO: Packet analysis {"connection_id":171866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d7"} 
[2026-09-05 19:23:01] local.INFO: Extracted packet for processing {"connection_id":171866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d7"} 
[2026-09-05 19:23:01] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":100004472,"longitude_deg":76.3069696,"latitude_deg":10.0004472,"altitude":9,"angle":246,"satellites":49,"speed":0,"hex_longitude":"2d7b8500","hex_latitude":"05f5f278","is_valid_coordinates":true} 
[2026-09-05 19:23: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-09-05 19:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885751040001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788616328000,"timestamp_ms":1788616328000,"timestamp_seconds":1788616328,"priority":1,"record_length":96,"hex_timestamp":"000001a071d74340"} 
[2026-09-05 19:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:23:01] 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-09-05 19: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-05 19:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885751040001,"66":25702,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885751040001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:23:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:23:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885751040001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":171866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:23:01] local.INFO: GPS data processed {"connection_id":171866,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:23:01] local.INFO: Acknowledgment sent {"connection_id":171866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:23:21] local.INFO: TCP Data received {"connection_id":172125,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071d4d240012d1d9000071b2de8003f01282c..."} 
[2026-09-05 19:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d4d240012d1d9000071b2de8003f01282c..."} 
[2026-09-05 19:23:21] local.INFO: Processing buffer {"connection_id":172125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d4d240012d1d9000071b2de8003f01282c..."} 
[2026-09-05 19:23:21] local.INFO: Packet analysis {"connection_id":172125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d4"} 
[2026-09-05 19:23:21] local.INFO: Extracted packet for processing {"connection_id":172125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d4"} 
[2026-09-05 19:23:21] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":44,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885733632001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788616168000,"timestamp_ms":1788616168000,"timestamp_seconds":1788616168,"priority":1,"record_length":96,"hex_timestamp":"000001a071d4d240"} 
[2026-09-05 19:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:23: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-09-05 19:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-05 19:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885733632001,"66":12798,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885733632001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:23:21] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:23:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885733632001,"power":12798,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":172125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:23:22] local.INFO: GPS data processed {"connection_id":172125,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:23:22] local.INFO: Acknowledgment sent {"connection_id":172125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:23:26] local.INFO: TCP Data received {"connection_id":171865,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071d779f00100000000000000000000000000..."} 
[2026-09-05 19:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d779f00100000000000000000000000000..."} 
[2026-09-05 19:23:26] local.INFO: Processing buffer {"connection_id":171865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d779f00100000000000000000000000000..."} 
[2026-09-05 19:23:26] local.INFO: Packet analysis {"connection_id":171865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d7"} 
[2026-09-05 19:23:26] local.INFO: Extracted packet for processing {"connection_id":171865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d7"} 
[2026-09-05 19:23:26] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 19:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885768704001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:23:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5579467394714628096,"note":"Value kept but may cause issues"} 
[2026-09-05 19:23:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788616342000,"timestamp_ms":1788616342000,"timestamp_seconds":1788616342,"priority":1,"record_length":96,"hex_timestamp":"000001a071d779f0"} 
[2026-09-05 19:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:23:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-05 19:23:26] 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-09-05 19:23:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:23:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":171865,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 19:23:26] local.INFO: GPS data processed {"connection_id":171865,"processed":0,"errors":0,"total":1} 
[2026-09-05 19:23:26] local.INFO: Acknowledgment sent {"connection_id":171865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:23:32] local.INFO: TCP Data received {"connection_id":171866,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071d7a4e8012d7b864005f5f0c8000900f631..."} 
[2026-09-05 19:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d7a4e8012d7b864005f5f0c8000900f631..."} 
[2026-09-05 19:23:33] local.INFO: Processing buffer {"connection_id":171866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d7a4e8012d7b864005f5f0c8000900f631..."} 
[2026-09-05 19:23:33] local.INFO: Packet analysis {"connection_id":171866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d7"} 
[2026-09-05 19:23:33] local.INFO: Extracted packet for processing {"connection_id":171866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d7"} 
[2026-09-05 19:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":100004040,"longitude_deg":76.3070016,"latitude_deg":10.000404,"altitude":9,"angle":246,"satellites":49,"speed":0,"hex_longitude":"2d7b8640","hex_latitude":"05f5f0c8","is_valid_coordinates":true} 
[2026-09-05 19:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885779968001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520264168798208,"note":"Value kept but may cause issues"} 
[2026-09-05 19:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788616353000,"timestamp_ms":1788616353000,"timestamp_seconds":1788616353,"priority":1,"record_length":96,"hex_timestamp":"000001a071d7a4e8"} 
[2026-09-05 19:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:23: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-09-05 19:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 19:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885779968001,"66":27821,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900520264168798208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885779968001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:23:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:23:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520264168798208,"description":"Unknown IO ID 45"} 
[2026-09-05 19:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885779968001,"power":27821,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900520264168798208}} 
[2026-09-05 19:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":171866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:23:33] local.INFO: GPS data processed {"connection_id":171866,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:23:33] local.INFO: Acknowledgment sent {"connection_id":171866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:23:44] local.INFO: TCP Data received {"connection_id":172126,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:23:44] local.INFO: Processing buffer {"connection_id":172126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:23:44] local.INFO: IMEI packet received {"connection_id":172126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":172126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:23:46] local.INFO: TCP Data received {"connection_id":173256,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173256,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:23:46] local.INFO: Processing buffer {"connection_id":173256,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:23:46] local.INFO: IMEI packet received {"connection_id":173256,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 19:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":173256,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:23:49] local.INFO: TCP Data received {"connection_id":172126,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:23:49] local.INFO: Processing buffer {"connection_id":172126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:23:49] local.INFO: IMEI packet received {"connection_id":172126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":172126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:23:50] local.INFO: TCP Data received {"connection_id":172126,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071d52448012d1d9000071b2de8003f01282c..."} 
[2026-09-05 19:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d52448012d1d9000071b2de8003f01282c..."} 
[2026-09-05 19:23:50] local.INFO: Processing buffer {"connection_id":172126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d52448012d1d9000071b2de8003f01282c..."} 
[2026-09-05 19:23:50] local.INFO: Packet analysis {"connection_id":172126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d5"} 
[2026-09-05 19:23:50] local.INFO: Extracted packet for processing {"connection_id":172126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d5"} 
[2026-09-05 19:23:50] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":44,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885739008001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788616189000,"timestamp_ms":1788616189000,"timestamp_seconds":1788616189,"priority":1,"record_length":96,"hex_timestamp":"000001a071d52448"} 
[2026-09-05 19:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-05 19:23:50] 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-09-05 19:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885739008001,"66":12776,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885739008001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:23:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:23:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885739008001,"power":12776,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":172126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:23:50] local.INFO: GPS data processed {"connection_id":172126,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:23:50] local.INFO: Acknowledgment sent {"connection_id":172126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:23:52] local.INFO: TCP Data received {"connection_id":173256,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173256,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:23:52] local.INFO: Processing buffer {"connection_id":173256,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:23:52] local.INFO: IMEI packet received {"connection_id":173256,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":173256,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:23:54] local.INFO: TCP Data received {"connection_id":173256,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071d71078012c4dfc0008c1c3800013006630..."} 
[2026-09-05 19:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d71078012c4dfc0008c1c3800013006630..."} 
[2026-09-05 19:23:54] local.INFO: Processing buffer {"connection_id":173256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d71078012c4dfc0008c1c3800013006630..."} 
[2026-09-05 19:23:54] local.INFO: Packet analysis {"connection_id":173256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d7"} 
[2026-09-05 19:23:54] local.INFO: Extracted packet for processing {"connection_id":173256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d7"} 
[2026-09-05 19:23:54] local.INFO: GPS Element Parsed {"raw_longitude":743308288,"raw_latitude":146916224,"longitude_deg":74.3308288,"latitude_deg":14.6916224,"altitude":19,"angle":102,"satellites":48,"speed":38,"hex_longitude":"2c4dfc00","hex_latitude":"08c1c380","is_valid_coordinates":true} 
[2026-09-05 19:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:23:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,5,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 19:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788616315000,"timestamp_ms":1788616315000,"timestamp_seconds":1788616315,"priority":1,"record_length":96,"hex_timestamp":"000001a071d71078"} 
[2026-09-05 19:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-05 19:23:54] 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-09-05 19:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173256,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173256,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27430,"5":206,"9":55808,"24":38,"16":1656792224366592},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16]} 
[2026-09-05 19:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-05 19:23:54] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 19:23:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656792224366592,"km_value":1656792224366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:23:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27430,"unknown_5":206,"unknown_9":55808,"ignition":38,"odometer":null}} 
[2026-09-05 19:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":173256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770873,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:23:54] local.INFO: GPS data processed {"connection_id":173256,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:23:54] local.INFO: Acknowledgment sent {"connection_id":173256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:23:55] local.INFO: TCP Data received {"connection_id":172127,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:23:55] local.INFO: Processing buffer {"connection_id":172127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:23:55] local.INFO: IMEI packet received {"connection_id":172127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":172127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:24:01] local.INFO: TCP Data received {"connection_id":172127,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:24:01] local.INFO: Processing buffer {"connection_id":172127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:24:01] local.INFO: IMEI packet received {"connection_id":172127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":172127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:24:01] local.INFO: TCP Data received {"connection_id":172127,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071d7cbf8012d7b864005f5f0c8000900f631..."} 
[2026-09-05 19:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d7cbf8012d7b864005f5f0c8000900f631..."} 
[2026-09-05 19:24:01] local.INFO: Processing buffer {"connection_id":172127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d7cbf8012d7b864005f5f0c8000900f631..."} 
[2026-09-05 19:24:01] local.INFO: Packet analysis {"connection_id":172127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d7"} 
[2026-09-05 19:24:01] local.INFO: Extracted packet for processing {"connection_id":172127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d7"} 
[2026-09-05 19:24:01] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":100004040,"longitude_deg":76.3070016,"latitude_deg":10.000404,"altitude":9,"angle":246,"satellites":49,"speed":0,"hex_longitude":"2d7b8640","hex_latitude":"05f5f0c8","is_valid_coordinates":true} 
[2026-09-05 19:24: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-09-05 19:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885786368001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889575936,"note":"Value kept but may cause issues"} 
[2026-09-05 19:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788616363000,"timestamp_ms":1788616363000,"timestamp_seconds":1788616363,"priority":1,"record_length":96,"hex_timestamp":"000001a071d7cbf8"} 
[2026-09-05 19:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:24:01] 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-09-05 19:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 19:24:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:24:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885786368001,"66":27843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889575936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885786368001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:24:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:24:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889575936,"description":"Unknown IO ID 45"} 
[2026-09-05 19:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885786368001,"power":27843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889575936}} 
[2026-09-05 19:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":172127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:24:01] local.INFO: GPS data processed {"connection_id":172127,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:24:01] local.INFO: Acknowledgment sent {"connection_id":172127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:24:21] local.INFO: TCP Data received {"connection_id":172126,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071d57650012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d57650012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:24:21] local.INFO: Processing buffer {"connection_id":172126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d57650012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:24:21] local.INFO: Packet analysis {"connection_id":172126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d5"} 
[2026-09-05 19:24:21] local.INFO: Extracted packet for processing {"connection_id":172126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d5"} 
[2026-09-05 19:24:21] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885744384001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:24:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788616210000,"timestamp_ms":1788616210000,"timestamp_seconds":1788616210,"priority":1,"record_length":96,"hex_timestamp":"000001a071d57650"} 
[2026-09-05 19:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:24: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-09-05 19:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-05 19:24:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:24:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885744384001,"66":12722,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885744384001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:24:21] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:24:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:24:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885744384001,"power":12722,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":172126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:24:21] local.INFO: GPS data processed {"connection_id":172126,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:24:21] local.INFO: Acknowledgment sent {"connection_id":172126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:24:28] local.INFO: TCP Data received {"connection_id":173256,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071d75ab0012c4e410008c1bb900014005a30..."} 
[2026-09-05 19:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d75ab0012c4e410008c1bb900014005a30..."} 
[2026-09-05 19:24:28] local.INFO: Processing buffer {"connection_id":173256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d75ab0012c4e410008c1bb900014005a30..."} 
[2026-09-05 19:24:28] local.INFO: Packet analysis {"connection_id":173256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d7"} 
[2026-09-05 19:24:28] local.INFO: Extracted packet for processing {"connection_id":173256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d7"} 
[2026-09-05 19:24:28] local.INFO: GPS Element Parsed {"raw_longitude":743325952,"raw_latitude":146914192,"longitude_deg":74.3325952,"latitude_deg":14.6914192,"altitude":20,"angle":90,"satellites":48,"speed":29,"hex_longitude":"2c4e4100","hex_latitude":"08c1bb90","is_valid_coordinates":true} 
[2026-09-05 19:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885776640001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:24:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5619366472662089728,"note":"Value kept but may cause issues"} 
[2026-09-05 19:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788616334000,"timestamp_ms":1788616334000,"timestamp_seconds":1788616334,"priority":1,"record_length":96,"hex_timestamp":"000001a071d75ab0"} 
[2026-09-05 19:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 19:24:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:24:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173256,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173256,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885776640001,"66":27767,"5":206,"9":55808,"24":29,"16":1656792224366592,"44":5619366472662089728},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 19:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885776640001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:24:28] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 19:24:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656792224366592,"km_value":1656792224366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:24:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":5619366472662089728,"description":"Unknown IO ID 44"} 
[2026-09-05 19:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885776640001,"power":27767,"unknown_5":206,"unknown_9":55808,"ignition":29,"odometer":null,"unknown_44":5619366472662089728}} 
[2026-09-05 19:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":173256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770876,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:24:28] local.INFO: GPS data processed {"connection_id":173256,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:24:28] local.INFO: Acknowledgment sent {"connection_id":173256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:24:33] local.INFO: TCP Data received {"connection_id":172127,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071d7cbf8012d7b864005f5f0c8000900f631..."} 
[2026-09-05 19:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d7cbf8012d7b864005f5f0c8000900f631..."} 
[2026-09-05 19:24:33] local.INFO: Processing buffer {"connection_id":172127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d7cbf8012d7b864005f5f0c8000900f631..."} 
[2026-09-05 19:24:33] local.INFO: Packet analysis {"connection_id":172127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d7"} 
[2026-09-05 19:24:33] local.INFO: Extracted packet for processing {"connection_id":172127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d7"} 
[2026-09-05 19:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":100004040,"longitude_deg":76.3070016,"latitude_deg":10.000404,"altitude":9,"angle":246,"satellites":49,"speed":0,"hex_longitude":"2d7b8640","hex_latitude":"05f5f0c8","is_valid_coordinates":true} 
[2026-09-05 19:24: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-09-05 19:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885786368001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889575936,"note":"Value kept but may cause issues"} 
[2026-09-05 19:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788616363000,"timestamp_ms":1788616363000,"timestamp_seconds":1788616363,"priority":1,"record_length":96,"hex_timestamp":"000001a071d7cbf8"} 
[2026-09-05 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-09-05 19:24: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-09-05 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 19:24: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-09-05 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-09-05 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-09-05 19:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885786368001,"66":27843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889575936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885786368001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:24:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:24:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889575936,"description":"Unknown IO ID 45"} 
[2026-09-05 19:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885786368001,"power":27843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889575936}} 
[2026-09-05 19:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":172127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:24:33] local.INFO: GPS data processed {"connection_id":172127,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:24:33] local.INFO: Acknowledgment sent {"connection_id":172127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:24:46] local.INFO: TCP Data received {"connection_id":173257,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173257,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:24:46] local.INFO: Processing buffer {"connection_id":173257,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:24:46] local.INFO: IMEI packet received {"connection_id":173257,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 19:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":173257,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:24:49] local.INFO: TCP Data received {"connection_id":174567,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:24:49] local.INFO: Processing buffer {"connection_id":174567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:24:49] local.INFO: IMEI packet received {"connection_id":174567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":174567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:24:52] local.INFO: TCP Data received {"connection_id":173257,"ip":"117.225.146.241","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173257,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:24:52] local.INFO: Processing buffer {"connection_id":173257,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:24:52] local.INFO: IMEI packet received {"connection_id":173257,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":173257,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:24:54] local.INFO: TCP Data received {"connection_id":173257,"ip":"117.225.146.241","data_length":795,"data_hex":"000000000000030f8e0a000001a071d7acb8012c4e7b8008c1ba200016005630..."} 
[2026-09-05 19:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d7acb8012c4e7b8008c1ba200016005630..."} 
[2026-09-05 19:24:54] local.INFO: Processing buffer {"connection_id":173257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d7acb8012c4e7b8008c1ba200016005630..."} 
[2026-09-05 19:24:54] local.INFO: Packet analysis {"connection_id":173257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d7"} 
[2026-09-05 19:24:54] local.INFO: Extracted packet for processing {"connection_id":173257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d7"} 
[2026-09-05 19:24:54] local.INFO: GPS Element Parsed {"raw_longitude":743340928,"raw_latitude":146913824,"longitude_deg":74.3340928,"latitude_deg":14.6913824,"altitude":22,"angle":86,"satellites":48,"speed":0,"hex_longitude":"2c4e7b80","hex_latitude":"08c1ba20","is_valid_coordinates":true} 
[2026-09-05 19:24: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-09-05 19:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885781504001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:24:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5638788246054604800,"note":"Value kept but may cause issues"} 
[2026-09-05 19:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788616355000,"timestamp_ms":1788616355000,"timestamp_seconds":1788616355,"priority":1,"record_length":96,"hex_timestamp":"000001a071d7acb8"} 
[2026-09-05 19:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 19:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173257,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173257,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.146.241","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885781504001,"66":27745,"5":206,"9":55808,"24":0,"16":1656792224366592,"44":5638788246054604800},"client_ip":"117.225.146.241","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,9,24,16,44]} 
[2026-09-05 19:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885781504001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:24:54] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-05 19:24:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656792224366592,"km_value":1656792224366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:24:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":5638788246054604800,"description":"Unknown IO ID 44"} 
[2026-09-05 19:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885781504001,"power":27745,"unknown_5":206,"unknown_9":55808,"ignition":0,"odometer":null,"unknown_44":5638788246054604800}} 
[2026-09-05 19:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":173257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770878,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:24:54] local.INFO: GPS data processed {"connection_id":173257,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:24:54] local.INFO: Acknowledgment sent {"connection_id":173257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:24:54] local.INFO: TCP Data received {"connection_id":174567,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:24:54] local.INFO: Processing buffer {"connection_id":174567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:24:54] local.INFO: IMEI packet received {"connection_id":174567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":174567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:24:55] local.INFO: TCP Data received {"connection_id":174567,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071d5c858012d1d9000071b2de8003f01282b..."} 
[2026-09-05 19:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d5c858012d1d9000071b2de8003f01282b..."} 
[2026-09-05 19:24:55] local.INFO: Processing buffer {"connection_id":174567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d5c858012d1d9000071b2de8003f01282b..."} 
[2026-09-05 19:24:55] local.INFO: Packet analysis {"connection_id":174567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d5"} 
[2026-09-05 19:24:55] local.INFO: Extracted packet for processing {"connection_id":174567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d5"} 
[2026-09-05 19:24:55] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":43,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885749760001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788616231000,"timestamp_ms":1788616231000,"timestamp_seconds":1788616231,"priority":1,"record_length":96,"hex_timestamp":"000001a071d5c858"} 
[2026-09-05 19:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 19:24:55] 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-09-05 19:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885749760001,"66":12722,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885749760001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:24:55] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:24:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885749760001,"power":12722,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:24:55] local.INFO: TCP Data received {"connection_id":173258,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:24:55] local.INFO: Processing buffer {"connection_id":173258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:24:55] local.INFO: IMEI packet received {"connection_id":173258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":173258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":174567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:24:55] local.INFO: GPS data processed {"connection_id":174567,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:24:55] local.INFO: Acknowledgment sent {"connection_id":174567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:24:59] local.INFO: TCP Data received {"connection_id":174567,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071d61a60012d1d9000071b2de8003f01282b..."} 
[2026-09-05 19:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d61a60012d1d9000071b2de8003f01282b..."} 
[2026-09-05 19:24:59] local.INFO: Processing buffer {"connection_id":174567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d61a60012d1d9000071b2de8003f01282b..."} 
[2026-09-05 19:24:59] local.INFO: Packet analysis {"connection_id":174567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d6"} 
[2026-09-05 19:24:59] local.INFO: Extracted packet for processing {"connection_id":174567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d6"} 
[2026-09-05 19:24:59] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":43,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885755136001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788616252000,"timestamp_ms":1788616252000,"timestamp_seconds":1788616252,"priority":1,"record_length":96,"hex_timestamp":"000001a071d61a60"} 
[2026-09-05 19:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 19:24:59] 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-09-05 19:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885755136001,"66":12722,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885755136001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:25:00] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:25:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885755136001,"power":12722,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":174567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:25:00] local.INFO: GPS data processed {"connection_id":174567,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:25:00] local.INFO: Acknowledgment sent {"connection_id":174567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:25:01] local.INFO: TCP Data received {"connection_id":173258,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:25:01] local.INFO: Processing buffer {"connection_id":173258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:25:01] local.INFO: IMEI packet received {"connection_id":173258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":173258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:25:01] local.INFO: TCP Data received {"connection_id":173258,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071d7cbf8012d7b864005f5f0c8000900f631..."} 
[2026-09-05 19:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d7cbf8012d7b864005f5f0c8000900f631..."} 
[2026-09-05 19:25:01] local.INFO: Processing buffer {"connection_id":173258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d7cbf8012d7b864005f5f0c8000900f631..."} 
[2026-09-05 19:25:01] local.INFO: Packet analysis {"connection_id":173258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d7"} 
[2026-09-05 19:25:01] local.INFO: Extracted packet for processing {"connection_id":173258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d7"} 
[2026-09-05 19:25:01] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":100004040,"longitude_deg":76.3070016,"latitude_deg":10.000404,"altitude":9,"angle":246,"satellites":49,"speed":0,"hex_longitude":"2d7b8640","hex_latitude":"05f5f0c8","is_valid_coordinates":true} 
[2026-09-05 19:25: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-09-05 19:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885786368001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889575936,"note":"Value kept but may cause issues"} 
[2026-09-05 19:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788616363000,"timestamp_ms":1788616363000,"timestamp_seconds":1788616363,"priority":1,"record_length":96,"hex_timestamp":"000001a071d7cbf8"} 
[2026-09-05 19:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:25:01] 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-09-05 19:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 19:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885786368001,"66":27843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889575936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885786368001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:25:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:25:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889575936,"description":"Unknown IO ID 45"} 
[2026-09-05 19:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885786368001,"power":27843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889575936}} 
[2026-09-05 19:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":173258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:25:01] local.INFO: GPS data processed {"connection_id":173258,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:25:01] local.INFO: Acknowledgment sent {"connection_id":173258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:25:33] local.INFO: TCP Data received {"connection_id":173258,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071d7cbf8012d7b864005f5f0c8000900f631..."} 
[2026-09-05 19:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d7cbf8012d7b864005f5f0c8000900f631..."} 
[2026-09-05 19:25:33] local.INFO: Processing buffer {"connection_id":173258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d7cbf8012d7b864005f5f0c8000900f631..."} 
[2026-09-05 19:25:33] local.INFO: Packet analysis {"connection_id":173258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d7"} 
[2026-09-05 19:25:33] local.INFO: Extracted packet for processing {"connection_id":173258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d7"} 
[2026-09-05 19:25:33] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":100004040,"longitude_deg":76.3070016,"latitude_deg":10.000404,"altitude":9,"angle":246,"satellites":49,"speed":0,"hex_longitude":"2d7b8640","hex_latitude":"05f5f0c8","is_valid_coordinates":true} 
[2026-09-05 19:25: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-09-05 19:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885786368001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889575936,"note":"Value kept but may cause issues"} 
[2026-09-05 19:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788616363000,"timestamp_ms":1788616363000,"timestamp_seconds":1788616363,"priority":1,"record_length":96,"hex_timestamp":"000001a071d7cbf8"} 
[2026-09-05 19:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19: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-09-05 19:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 19:25: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-09-05 19: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-09-05 19:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885786368001,"66":27843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889575936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885786368001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:25:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:25:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889575936,"description":"Unknown IO ID 45"} 
[2026-09-05 19:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885786368001,"power":27843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889575936}} 
[2026-09-05 19:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":173258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:25:33] local.INFO: GPS data processed {"connection_id":173258,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:25:33] local.INFO: Acknowledgment sent {"connection_id":173258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:25:42] local.INFO: TCP Data received {"connection_id":172128,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:25:42] local.INFO: Processing buffer {"connection_id":172128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:25:42] local.INFO: IMEI packet received {"connection_id":172128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":172128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:25:44] local.INFO: TCP Data received {"connection_id":172128,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:25:44] local.INFO: Processing buffer {"connection_id":172128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:25:44] local.INFO: IMEI packet received {"connection_id":172128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":172128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:25:49] local.INFO: TCP Data received {"connection_id":172128,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:25:49] local.INFO: Processing buffer {"connection_id":172128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:25:49] local.INFO: IMEI packet received {"connection_id":172128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":172128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:25:50] local.INFO: TCP Data received {"connection_id":172128,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071d66c68012d1d9000071b2de8003f01282c..."} 
[2026-09-05 19:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d66c68012d1d9000071b2de8003f01282c..."} 
[2026-09-05 19:25:50] local.INFO: Processing buffer {"connection_id":172128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d66c68012d1d9000071b2de8003f01282c..."} 
[2026-09-05 19:25:50] local.INFO: Packet analysis {"connection_id":172128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d6"} 
[2026-09-05 19:25:50] local.INFO: Extracted packet for processing {"connection_id":172128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d6"} 
[2026-09-05 19:25:50] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":44,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885760512001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788616273000,"timestamp_ms":1788616273000,"timestamp_seconds":1788616273,"priority":1,"record_length":96,"hex_timestamp":"000001a071d66c68"} 
[2026-09-05 19:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 19:25:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:25:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:25:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885760512001,"66":12667,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885760512001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:25:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:25:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885760512001,"power":12667,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":172128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:25:50] local.INFO: GPS data processed {"connection_id":172128,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:25:50] local.INFO: Acknowledgment sent {"connection_id":172128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:26:00] local.INFO: TCP Data received {"connection_id":172129,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:26:00] local.INFO: Processing buffer {"connection_id":172129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:26:00] local.INFO: IMEI packet received {"connection_id":172129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":172129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:26:06] local.INFO: TCP Data received {"connection_id":172129,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:26:06] local.INFO: Processing buffer {"connection_id":172129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:26:06] local.INFO: IMEI packet received {"connection_id":172129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":172129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:26:06] local.INFO: TCP Data received {"connection_id":172129,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071d7cbf8012d7b864005f5f0c8000900f631..."} 
[2026-09-05 19:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d7cbf8012d7b864005f5f0c8000900f631..."} 
[2026-09-05 19:26:06] local.INFO: Processing buffer {"connection_id":172129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d7cbf8012d7b864005f5f0c8000900f631..."} 
[2026-09-05 19:26:06] local.INFO: Packet analysis {"connection_id":172129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d7"} 
[2026-09-05 19:26:06] local.INFO: Extracted packet for processing {"connection_id":172129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d7"} 
[2026-09-05 19:26:06] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":100004040,"longitude_deg":76.3070016,"latitude_deg":10.000404,"altitude":9,"angle":246,"satellites":49,"speed":0,"hex_longitude":"2d7b8640","hex_latitude":"05f5f0c8","is_valid_coordinates":true} 
[2026-09-05 19:26: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-09-05 19:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885786368001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889575936,"note":"Value kept but may cause issues"} 
[2026-09-05 19:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788616363000,"timestamp_ms":1788616363000,"timestamp_seconds":1788616363,"priority":1,"record_length":96,"hex_timestamp":"000001a071d7cbf8"} 
[2026-09-05 19:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:26: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-09-05 19: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 19:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885786368001,"66":27843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889575936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885786368001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:26:06] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:26:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889575936,"description":"Unknown IO ID 45"} 
[2026-09-05 19:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885786368001,"power":27843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889575936}} 
[2026-09-05 19:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":172129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:26:06] local.INFO: GPS data processed {"connection_id":172129,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:26:06] local.INFO: Acknowledgment sent {"connection_id":172129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:26:11] local.INFO: TCP Data received {"connection_id":172129,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071d7cbf8012d7b864005f5f0c8000900f631..."} 
[2026-09-05 19:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d7cbf8012d7b864005f5f0c8000900f631..."} 
[2026-09-05 19:26:11] local.INFO: Processing buffer {"connection_id":172129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d7cbf8012d7b864005f5f0c8000900f631..."} 
[2026-09-05 19:26:11] local.INFO: Packet analysis {"connection_id":172129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d7"} 
[2026-09-05 19:26:11] local.INFO: Extracted packet for processing {"connection_id":172129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d7"} 
[2026-09-05 19:26:11] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":100004040,"longitude_deg":76.3070016,"latitude_deg":10.000404,"altitude":9,"angle":246,"satellites":49,"speed":0,"hex_longitude":"2d7b8640","hex_latitude":"05f5f0c8","is_valid_coordinates":true} 
[2026-09-05 19:26: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-09-05 19:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885786368001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889575936,"note":"Value kept but may cause issues"} 
[2026-09-05 19:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788616363000,"timestamp_ms":1788616363000,"timestamp_seconds":1788616363,"priority":1,"record_length":96,"hex_timestamp":"000001a071d7cbf8"} 
[2026-09-05 19:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 19:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":172129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":172129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":172129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885786368001,"66":27843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889575936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885786368001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:26:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:26:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889575936,"description":"Unknown IO ID 45"} 
[2026-09-05 19:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885786368001,"power":27843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889575936}} 
[2026-09-05 19:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":172129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:26:11] local.INFO: GPS data processed {"connection_id":172129,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:26:11] local.INFO: Acknowledgment sent {"connection_id":172129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:26:26] local.INFO: TCP Data received {"connection_id":172128,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071d6be70012d1d9000071b2de8003f01282b..."} 
[2026-09-05 19:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d6be70012d1d9000071b2de8003f01282b..."} 
[2026-09-05 19:26:26] local.INFO: Processing buffer {"connection_id":172128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d6be70012d1d9000071b2de8003f01282b..."} 
[2026-09-05 19:26:26] local.INFO: Packet analysis {"connection_id":172128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d6"} 
[2026-09-05 19:26:26] local.INFO: Extracted packet for processing {"connection_id":172128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d6"} 
[2026-09-05 19:26:26] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":43,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885765888001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788616294000,"timestamp_ms":1788616294000,"timestamp_seconds":1788616294,"priority":1,"record_length":96,"hex_timestamp":"000001a071d6be70"} 
[2026-09-05 19:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-05 19:26:26] 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-09-05 19:26:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:26:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885765888001,"66":12602,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885765888001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:26:26] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:26:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885765888001,"power":12602,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":172128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:26:26] local.INFO: GPS data processed {"connection_id":172128,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:26:26] local.INFO: Acknowledgment sent {"connection_id":172128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:26:44] local.INFO: TCP Data received {"connection_id":172130,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:26:44] local.INFO: Processing buffer {"connection_id":172130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:26:44] local.INFO: IMEI packet received {"connection_id":172130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":172130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:26:45] local.INFO: TCP Data received {"connection_id":172130,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:26:45] local.INFO: Processing buffer {"connection_id":172130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:26:45] local.INFO: IMEI packet received {"connection_id":172130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":172130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:26:49] local.INFO: TCP Data received {"connection_id":172130,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:26:49] local.INFO: Processing buffer {"connection_id":172130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:26:49] local.INFO: IMEI packet received {"connection_id":172130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":172130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:26:50] local.INFO: TCP Data received {"connection_id":172130,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071da44c8012d1d9000071b2de8003f01282b..."} 
[2026-09-05 19:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071da44c8012d1d9000071b2de8003f01282b..."} 
[2026-09-05 19:26:50] local.INFO: Processing buffer {"connection_id":172130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071da44c8012d1d9000071b2de8003f01282b..."} 
[2026-09-05 19:26:50] local.INFO: Packet analysis {"connection_id":172130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071da"} 
[2026-09-05 19:26:50] local.INFO: Extracted packet for processing {"connection_id":172130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071da"} 
[2026-09-05 19:26:50] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":43,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885825024001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788616525000,"timestamp_ms":1788616525000,"timestamp_seconds":1788616525,"priority":1,"record_length":96,"hex_timestamp":"000001a071da44c8"} 
[2026-09-05 19:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-05 19:26:50] 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-09-05 19: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-09-05 19:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885825024001,"66":12558,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885825024001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:26:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:26:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885825024001,"power":12558,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":172130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:26:50] local.INFO: GPS data processed {"connection_id":172130,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:26:50] local.INFO: Acknowledgment sent {"connection_id":172130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:26:56] local.INFO: TCP Data received {"connection_id":173259,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:26:56] local.INFO: Processing buffer {"connection_id":173259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:26:56] local.INFO: IMEI packet received {"connection_id":173259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":173259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:27:00] local.INFO: TCP Data received {"connection_id":173259,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:27:01] local.INFO: Processing buffer {"connection_id":173259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:27:01] local.INFO: IMEI packet received {"connection_id":173259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":173259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:27:01] local.INFO: TCP Data received {"connection_id":173259,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a071d7cbf8012d7b864005f5f0c8000900f631..."} 
[2026-09-05 19:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d7cbf8012d7b864005f5f0c8000900f631..."} 
[2026-09-05 19:27:01] local.INFO: Processing buffer {"connection_id":173259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d7cbf8012d7b864005f5f0c8000900f631..."} 
[2026-09-05 19:27:01] local.INFO: Packet analysis {"connection_id":173259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d7"} 
[2026-09-05 19:27:01] local.INFO: Extracted packet for processing {"connection_id":173259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d7"} 
[2026-09-05 19:27:01] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":100004040,"longitude_deg":76.3070016,"latitude_deg":10.000404,"altitude":9,"angle":246,"satellites":49,"speed":0,"hex_longitude":"2d7b8640","hex_latitude":"05f5f0c8","is_valid_coordinates":true} 
[2026-09-05 19:27: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-09-05 19:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885786368001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889575936,"note":"Value kept but may cause issues"} 
[2026-09-05 19:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788616363000,"timestamp_ms":1788616363000,"timestamp_seconds":1788616363,"priority":1,"record_length":96,"hex_timestamp":"000001a071d7cbf8"} 
[2026-09-05 19:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:27:01] 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-09-05 19:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 19:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885786368001,"66":27843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889575936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885786368001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:27:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:27:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889575936,"description":"Unknown IO ID 45"} 
[2026-09-05 19:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885786368001,"power":27843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889575936}} 
[2026-09-05 19:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":173259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:27:01] local.INFO: GPS data processed {"connection_id":173259,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:27:01] local.INFO: Acknowledgment sent {"connection_id":173259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:27:21] local.INFO: TCP Data received {"connection_id":172130,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071da96d0012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071da96d0012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:27:21] local.INFO: Processing buffer {"connection_id":172130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071da96d0012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:27:21] local.INFO: Packet analysis {"connection_id":172130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071da"} 
[2026-09-05 19:27:21] local.INFO: Extracted packet for processing {"connection_id":172130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071da"} 
[2026-09-05 19:27:21] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885830400001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788616546000,"timestamp_ms":1788616546000,"timestamp_seconds":1788616546,"priority":1,"record_length":96,"hex_timestamp":"000001a071da96d0"} 
[2026-09-05 19:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-05 19:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:27:21] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 19:27:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 19:27:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250912835824987624,"note":"Value kept but may cause issues"} 
[2026-09-05 19:27:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1766981838,"corrected_to":0} 
[2026-09-05 19:27:21] local.WARNING: Large IO value detected {"io_id":170,"raw_value":2684431645,"note":"Value kept but may cause issues"} 
[2026-09-05 19:27:21] local.WARNING: Large IO value detected {"io_id":105,"raw_value":5908949569739167744,"note":"Value kept but may cause issues"} 
[2026-09-05 19:27:21] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-05 19:27:21] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-05 19:27:21] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,82,83,24,241,157,16,65,160,242,45,63,42,10,66,44,78,1,240,69,227,113,27,4,205,170,144,232,239,49,2,64,7,105,92,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1766981838,"validated":0}]} 
[2026-09-05 19:27:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539954064514875392,"timestamp_seconds":4539954064514875.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 19:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885830400001,"66":12504,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885830400001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:27:21] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:27:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885830400001,"power":12504,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":172130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:27:21] local.INFO: GPS data processed {"connection_id":172130,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:27:21] local.INFO: Acknowledgment sent {"connection_id":172130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:27:33] local.INFO: TCP Data received {"connection_id":173259,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a071d7cbf8012d7b864005f5f0c8000900f631..."} 
[2026-09-05 19:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d7cbf8012d7b864005f5f0c8000900f631..."} 
[2026-09-05 19:27:33] local.INFO: Processing buffer {"connection_id":173259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d7cbf8012d7b864005f5f0c8000900f631..."} 
[2026-09-05 19:27:33] local.INFO: Packet analysis {"connection_id":173259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d7"} 
[2026-09-05 19:27:33] local.INFO: Extracted packet for processing {"connection_id":173259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d7"} 
[2026-09-05 19:27:33] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":100004040,"longitude_deg":76.3070016,"latitude_deg":10.000404,"altitude":9,"angle":246,"satellites":49,"speed":0,"hex_longitude":"2d7b8640","hex_latitude":"05f5f0c8","is_valid_coordinates":true} 
[2026-09-05 19:27: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-09-05 19:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885786368001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889575936,"note":"Value kept but may cause issues"} 
[2026-09-05 19:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788616363000,"timestamp_ms":1788616363000,"timestamp_seconds":1788616363,"priority":1,"record_length":96,"hex_timestamp":"000001a071d7cbf8"} 
[2026-09-05 19:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:27: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-09-05 19: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 19:27: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-09-05 19: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-09-05 19:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885786368001,"66":27843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889575936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885786368001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:27:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:27:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889575936,"description":"Unknown IO ID 45"} 
[2026-09-05 19:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885786368001,"power":27843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889575936}} 
[2026-09-05 19:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":173259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:27:33] local.INFO: GPS data processed {"connection_id":173259,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:27:33] local.INFO: Acknowledgment sent {"connection_id":173259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:27:44] local.INFO: TCP Data received {"connection_id":171867,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:27:44] local.INFO: Processing buffer {"connection_id":171867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:27:44] local.INFO: IMEI packet received {"connection_id":171867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":171867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:27:48] local.INFO: TCP Data received {"connection_id":171867,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:27:48] local.INFO: Processing buffer {"connection_id":171867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:27:48] local.INFO: IMEI packet received {"connection_id":171867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":171867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:27:49] local.INFO: TCP Data received {"connection_id":171867,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071dae8d8012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071dae8d8012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:27:49] local.INFO: Processing buffer {"connection_id":171867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071dae8d8012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:27:49] local.INFO: Packet analysis {"connection_id":171867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071da"} 
[2026-09-05 19:27:49] local.INFO: Extracted packet for processing {"connection_id":171867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071da"} 
[2026-09-05 19:27:49] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885835776001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788616567000,"timestamp_ms":1788616567000,"timestamp_seconds":1788616567,"priority":1,"record_length":96,"hex_timestamp":"000001a071dae8d8"} 
[2026-09-05 19:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 19:27:49] 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-09-05 19:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":171867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":171867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":171867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885835776001,"66":12504,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885835776001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:27:49] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:27:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885835776001,"power":12504,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":171867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:27:49] local.INFO: GPS data processed {"connection_id":171867,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:27:49] local.INFO: Acknowledgment sent {"connection_id":171867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:27:55] local.INFO: TCP Data received {"connection_id":171868,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:27:56] local.INFO: Processing buffer {"connection_id":171868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:27:56] local.INFO: IMEI packet received {"connection_id":171868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":171868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:28:01] local.INFO: TCP Data received {"connection_id":171868,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:28:01] local.INFO: Processing buffer {"connection_id":171868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:28:01] local.INFO: IMEI packet received {"connection_id":171868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":171868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:28:02] local.INFO: TCP Data received {"connection_id":171868,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071d7cbf8012d7b864005f5f0c8000900f631..."} 
[2026-09-05 19:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071d7cbf8012d7b864005f5f0c8000900f631..."} 
[2026-09-05 19:28:02] local.INFO: Processing buffer {"connection_id":171868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071d7cbf8012d7b864005f5f0c8000900f631..."} 
[2026-09-05 19:28:02] local.INFO: Packet analysis {"connection_id":171868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071d7"} 
[2026-09-05 19:28:02] local.INFO: Extracted packet for processing {"connection_id":171868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071d7"} 
[2026-09-05 19:28:02] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":100004040,"longitude_deg":76.3070016,"latitude_deg":10.000404,"altitude":9,"angle":246,"satellites":49,"speed":0,"hex_longitude":"2d7b8640","hex_latitude":"05f5f0c8","is_valid_coordinates":true} 
[2026-09-05 19:28: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-09-05 19:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885786368001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889575936,"note":"Value kept but may cause issues"} 
[2026-09-05 19:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788616363000,"timestamp_ms":1788616363000,"timestamp_seconds":1788616363,"priority":1,"record_length":96,"hex_timestamp":"000001a071d7cbf8"} 
[2026-09-05 19:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:28:02] 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-09-05 19:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 19:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885786368001,"66":27843,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889575936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885786368001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:28:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:28:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889575936,"description":"Unknown IO ID 45"} 
[2026-09-05 19:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885786368001,"power":27843,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889575936}} 
[2026-09-05 19:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":171868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:28:02] local.INFO: GPS data processed {"connection_id":171868,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:28:02] local.INFO: Acknowledgment sent {"connection_id":171868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:28:20] local.INFO: TCP Data received {"connection_id":171867,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071db3ae0012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071db3ae0012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:28:20] local.INFO: Processing buffer {"connection_id":171867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071db3ae0012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:28:20] local.INFO: Packet analysis {"connection_id":171867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071db"} 
[2026-09-05 19:28:20] local.INFO: Extracted packet for processing {"connection_id":171867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071db"} 
[2026-09-05 19:28:20] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885841152001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788616588000,"timestamp_ms":1788616588000,"timestamp_seconds":1788616588,"priority":1,"record_length":96,"hex_timestamp":"000001a071db3ae0"} 
[2026-09-05 19:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 19:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":171867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":171867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":171867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885841152001,"66":12558,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885841152001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:28:20] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:28:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885841152001,"power":12558,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":171867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:28:20] local.INFO: GPS data processed {"connection_id":171867,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:28:20] local.INFO: Acknowledgment sent {"connection_id":171867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:28:33] local.INFO: TCP Data received {"connection_id":171868,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071dc7360012d7b894005f5f310001400f62c..."} 
[2026-09-05 19:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071dc7360012d7b894005f5f310001400f62c..."} 
[2026-09-05 19:28:33] local.INFO: Processing buffer {"connection_id":171868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071dc7360012d7b894005f5f310001400f62c..."} 
[2026-09-05 19:28:33] local.INFO: Packet analysis {"connection_id":171868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071dc"} 
[2026-09-05 19:28:33] local.INFO: Extracted packet for processing {"connection_id":171868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071dc"} 
[2026-09-05 19:28:33] local.INFO: GPS Element Parsed {"raw_longitude":763070784,"raw_latitude":100004624,"longitude_deg":76.3070784,"latitude_deg":10.0004624,"altitude":20,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d7b8940","hex_latitude":"05f5f310","is_valid_coordinates":true} 
[2026-09-05 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-09-05 19:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885788928001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889575936,"note":"Value kept but may cause issues"} 
[2026-09-05 19:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788616668000,"timestamp_ms":1788616668000,"timestamp_seconds":1788616668,"priority":1,"record_length":96,"hex_timestamp":"000001a071dc7360"} 
[2026-09-05 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-09-05 19:28: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-09-05 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 19:28: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-09-05 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-09-05 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-09-05 19:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885788928001,"66":26060,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889575936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885788928001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:28:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:28:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889575936,"description":"Unknown IO ID 45"} 
[2026-09-05 19:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885788928001,"power":26060,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889575936}} 
[2026-09-05 19:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":171868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:28:33] local.INFO: GPS data processed {"connection_id":171868,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:28:33] local.INFO: Acknowledgment sent {"connection_id":171868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:28:44] local.INFO: TCP Data received {"connection_id":173260,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:28:44] local.INFO: Processing buffer {"connection_id":173260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:28:44] local.INFO: IMEI packet received {"connection_id":173260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":173260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:28:49] local.INFO: TCP Data received {"connection_id":173260,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:28:49] local.INFO: Processing buffer {"connection_id":173260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:28:49] local.INFO: IMEI packet received {"connection_id":173260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":173260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:28:50] local.INFO: TCP Data received {"connection_id":173260,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071db8ce8012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071db8ce8012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:28:50] local.INFO: Processing buffer {"connection_id":173260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071db8ce8012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:28:50] local.INFO: Packet analysis {"connection_id":173260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071db"} 
[2026-09-05 19:28:50] local.INFO: Extracted packet for processing {"connection_id":173260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071db"} 
[2026-09-05 19:28:50] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885846528001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788616609000,"timestamp_ms":1788616609000,"timestamp_seconds":1788616609,"priority":1,"record_length":96,"hex_timestamp":"000001a071db8ce8"} 
[2026-09-05 19:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-05 19:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:28:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 19:28:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 19:28:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250912835824987624,"note":"Value kept but may cause issues"} 
[2026-09-05 19:28:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1766981838,"corrected_to":0} 
[2026-09-05 19:28:50] local.WARNING: Large IO value detected {"io_id":105,"raw_value":5908949569739167744,"note":"Value kept but may cause issues"} 
[2026-09-05 19:28:50] local.WARNING: Large IO value detected {"io_id":91,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-05 19:28:50] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-05 19:28:50] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,82,83,24,241,157,16,65,160,232,45,63,42,10,66,150,68,1,240,14,227,113,27,4,205,144,44,239,49,2,64,7,105,91,206],"length":575,"final_offset":705,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1766981838,"validated":0}]} 
[2026-09-05 19:28:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539954055924940800,"timestamp_seconds":4539954055924941.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 19:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885846528001,"66":12548,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885846528001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:28:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:28:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885846528001,"power":12548,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":173260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:28:50] local.INFO: GPS data processed {"connection_id":173260,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:28:50] local.INFO: Acknowledgment sent {"connection_id":173260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:28:55] local.INFO: TCP Data received {"connection_id":172131,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:28:55] local.INFO: Processing buffer {"connection_id":172131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:28:55] local.INFO: IMEI packet received {"connection_id":172131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":172131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:29:00] local.INFO: TCP Data received {"connection_id":172131,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:29:00] local.INFO: Processing buffer {"connection_id":172131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:29:00] local.INFO: IMEI packet received {"connection_id":172131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":172131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:29:02] local.INFO: TCP Data received {"connection_id":172131,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071dc7360012d7b894005f5f310001400f62c..."} 
[2026-09-05 19:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071dc7360012d7b894005f5f310001400f62c..."} 
[2026-09-05 19:29:02] local.INFO: Processing buffer {"connection_id":172131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071dc7360012d7b894005f5f310001400f62c..."} 
[2026-09-05 19:29:02] local.INFO: Packet analysis {"connection_id":172131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071dc"} 
[2026-09-05 19:29:02] local.INFO: Extracted packet for processing {"connection_id":172131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071dc"} 
[2026-09-05 19:29:02] local.INFO: GPS Element Parsed {"raw_longitude":763070784,"raw_latitude":100004624,"longitude_deg":76.3070784,"latitude_deg":10.0004624,"altitude":20,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d7b8940","hex_latitude":"05f5f310","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885788928001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889575936,"note":"Value kept but may cause issues"} 
[2026-09-05 19:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788616668000,"timestamp_ms":1788616668000,"timestamp_seconds":1788616668,"priority":1,"record_length":96,"hex_timestamp":"000001a071dc7360"} 
[2026-09-05 19:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:29:02] 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-09-05 19:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 19:29: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-09-05 19: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-09-05 19:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885788928001,"66":26060,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889575936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885788928001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:29:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:29:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889575936,"description":"Unknown IO ID 45"} 
[2026-09-05 19:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885788928001,"power":26060,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889575936}} 
[2026-09-05 19:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":172131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:29:02] local.INFO: GPS data processed {"connection_id":172131,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:29:02] local.INFO: Acknowledgment sent {"connection_id":172131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:29:22] local.INFO: TCP Data received {"connection_id":173260,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071dbdef0012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071dbdef0012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:29:22] local.INFO: Processing buffer {"connection_id":173260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071dbdef0012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:29:22] local.INFO: Packet analysis {"connection_id":173260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071db"} 
[2026-09-05 19:29:22] local.INFO: Extracted packet for processing {"connection_id":173260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071db"} 
[2026-09-05 19:29:22] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885851904001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788616630000,"timestamp_ms":1788616630000,"timestamp_seconds":1788616630,"priority":1,"record_length":96,"hex_timestamp":"000001a071dbdef0"} 
[2026-09-05 19:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 19:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-05 19:29:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 19:29:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 19:29:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-09-05 19:29:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1766981838,"corrected_to":0} 
[2026-09-05 19:29:22] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3221302557,"note":"Value kept but may cause issues"} 
[2026-09-05 19:29:22] local.WARNING: Large IO value detected {"io_id":48,"raw_value":4177579369,"note":"Value kept but may cause issues"} 
[2026-09-05 19:29:22] local.WARNING: Large IO value detected {"io_id":105,"raw_value":5908949569739167744,"note":"Value kept but may cause issues"} 
[2026-09-05 19:29:22] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,82,83,24,241,157,16,65,160,58,45,63,41,10,66,232,42,150,1,240,216,227,113,27,4,205,242,144,239,48,2,64,7,105],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1766981838,"validated":0}]} 
[2026-09-05 19:29:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539954055924940800,"timestamp_seconds":4539954055924941.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 19:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885851904001,"66":12526,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885851904001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:29:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:29:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885851904001,"power":12526,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":173260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:29:23] local.INFO: GPS data processed {"connection_id":173260,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:29:23] local.INFO: Acknowledgment sent {"connection_id":173260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:29:33] local.INFO: TCP Data received {"connection_id":172131,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071dc7360012d7b894005f5f310001400f62c..."} 
[2026-09-05 19:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071dc7360012d7b894005f5f310001400f62c..."} 
[2026-09-05 19:29:33] local.INFO: Processing buffer {"connection_id":172131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071dc7360012d7b894005f5f310001400f62c..."} 
[2026-09-05 19:29:33] local.INFO: Packet analysis {"connection_id":172131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071dc"} 
[2026-09-05 19:29:33] local.INFO: Extracted packet for processing {"connection_id":172131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071dc"} 
[2026-09-05 19:29:33] local.INFO: GPS Element Parsed {"raw_longitude":763070784,"raw_latitude":100004624,"longitude_deg":76.3070784,"latitude_deg":10.0004624,"altitude":20,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d7b8940","hex_latitude":"05f5f310","is_valid_coordinates":true} 
[2026-09-05 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-09-05 19:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885788928001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889575936,"note":"Value kept but may cause issues"} 
[2026-09-05 19:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788616668000,"timestamp_ms":1788616668000,"timestamp_seconds":1788616668,"priority":1,"record_length":96,"hex_timestamp":"000001a071dc7360"} 
[2026-09-05 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-09-05 19:29: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-09-05 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 19:29: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-09-05 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-09-05 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-09-05 19:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885788928001,"66":26060,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889575936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885788928001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:29:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:29:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889575936,"description":"Unknown IO ID 45"} 
[2026-09-05 19:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885788928001,"power":26060,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889575936}} 
[2026-09-05 19:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":172131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:29:33] local.INFO: GPS data processed {"connection_id":172131,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:29:33] local.INFO: Acknowledgment sent {"connection_id":172131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:29:44] local.INFO: TCP Data received {"connection_id":174568,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:29:44] local.INFO: Processing buffer {"connection_id":174568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:29:44] local.INFO: IMEI packet received {"connection_id":174568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":174568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:29:49] local.INFO: TCP Data received {"connection_id":174568,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:29:49] local.INFO: Processing buffer {"connection_id":174568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:29:49] local.INFO: IMEI packet received {"connection_id":174568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":174568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:29:50] local.INFO: TCP Data received {"connection_id":174568,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071dc30f8012d1d9000071b2de8003f012825..."} 
[2026-09-05 19:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071dc30f8012d1d9000071b2de8003f012825..."} 
[2026-09-05 19:29:50] local.INFO: Processing buffer {"connection_id":174568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071dc30f8012d1d9000071b2de8003f012825..."} 
[2026-09-05 19:29:50] local.INFO: Packet analysis {"connection_id":174568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071dc"} 
[2026-09-05 19:29:50] local.INFO: Extracted packet for processing {"connection_id":174568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071dc"} 
[2026-09-05 19:29:50] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":37,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885857280001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788616651000,"timestamp_ms":1788616651000,"timestamp_seconds":1788616651,"priority":1,"record_length":96,"hex_timestamp":"000001a071dc30f8"} 
[2026-09-05 19:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-05 19:29:50] 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-09-05 19:29:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885857280001,"66":12526,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885857280001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:29:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:29:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885857280001,"power":12526,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":174568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:29:50] local.INFO: GPS data processed {"connection_id":174568,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:29:50] local.INFO: Acknowledgment sent {"connection_id":174568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:29:55] local.INFO: TCP Data received {"connection_id":172132,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:29:55] local.INFO: Processing buffer {"connection_id":172132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:29:55] local.INFO: IMEI packet received {"connection_id":172132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":172132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:30:01] local.INFO: TCP Data received {"connection_id":172132,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:30:01] local.INFO: Processing buffer {"connection_id":172132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:30:01] local.INFO: IMEI packet received {"connection_id":172132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":172132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:30:01] local.INFO: TCP Data received {"connection_id":172132,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071dc7360012d7b894005f5f310001400f62c..."} 
[2026-09-05 19:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071dc7360012d7b894005f5f310001400f62c..."} 
[2026-09-05 19:30:01] local.INFO: Processing buffer {"connection_id":172132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071dc7360012d7b894005f5f310001400f62c..."} 
[2026-09-05 19:30:01] local.INFO: Packet analysis {"connection_id":172132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071dc"} 
[2026-09-05 19:30:01] local.INFO: Extracted packet for processing {"connection_id":172132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071dc"} 
[2026-09-05 19:30:01] local.INFO: GPS Element Parsed {"raw_longitude":763070784,"raw_latitude":100004624,"longitude_deg":76.3070784,"latitude_deg":10.0004624,"altitude":20,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d7b8940","hex_latitude":"05f5f310","is_valid_coordinates":true} 
[2026-09-05 19:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885788928001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889575936,"note":"Value kept but may cause issues"} 
[2026-09-05 19:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788616668000,"timestamp_ms":1788616668000,"timestamp_seconds":1788616668,"priority":1,"record_length":96,"hex_timestamp":"000001a071dc7360"} 
[2026-09-05 19:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:30:01] 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-09-05 19:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 19:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:30:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885788928001,"66":26060,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889575936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885788928001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:30:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:30:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889575936,"description":"Unknown IO ID 45"} 
[2026-09-05 19:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885788928001,"power":26060,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889575936}} 
[2026-09-05 19:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":172132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:30:01] local.INFO: GPS data processed {"connection_id":172132,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:30:01] local.INFO: Acknowledgment sent {"connection_id":172132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:30:21] local.INFO: TCP Data received {"connection_id":174568,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071dc8300012d1d9000071b2de8003f01282b..."} 
[2026-09-05 19:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071dc8300012d1d9000071b2de8003f01282b..."} 
[2026-09-05 19:30:21] local.INFO: Processing buffer {"connection_id":174568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071dc8300012d1d9000071b2de8003f01282b..."} 
[2026-09-05 19:30:21] local.INFO: Packet analysis {"connection_id":174568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071dc"} 
[2026-09-05 19:30:21] local.INFO: Extracted packet for processing {"connection_id":174568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071dc"} 
[2026-09-05 19:30:21] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":43,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885862656001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788616672000,"timestamp_ms":1788616672000,"timestamp_seconds":1788616672,"priority":1,"record_length":96,"hex_timestamp":"000001a071dc8300"} 
[2026-09-05 19:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-05 19:30:21] 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-09-05 19:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885862656001,"66":12526,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885862656001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:30:21] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:30:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885862656001,"power":12526,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":174568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:30:21] local.INFO: GPS data processed {"connection_id":174568,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:30:21] local.INFO: Acknowledgment sent {"connection_id":174568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:30:33] local.INFO: TCP Data received {"connection_id":172132,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071dc7360012d7b894005f5f310001400f62c..."} 
[2026-09-05 19:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071dc7360012d7b894005f5f310001400f62c..."} 
[2026-09-05 19:30:33] local.INFO: Processing buffer {"connection_id":172132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071dc7360012d7b894005f5f310001400f62c..."} 
[2026-09-05 19:30:33] local.INFO: Packet analysis {"connection_id":172132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071dc"} 
[2026-09-05 19:30:33] local.INFO: Extracted packet for processing {"connection_id":172132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071dc"} 
[2026-09-05 19:30:33] local.INFO: GPS Element Parsed {"raw_longitude":763070784,"raw_latitude":100004624,"longitude_deg":76.3070784,"latitude_deg":10.0004624,"altitude":20,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d7b8940","hex_latitude":"05f5f310","is_valid_coordinates":true} 
[2026-09-05 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-09-05 19:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885788928001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889575936,"note":"Value kept but may cause issues"} 
[2026-09-05 19:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788616668000,"timestamp_ms":1788616668000,"timestamp_seconds":1788616668,"priority":1,"record_length":96,"hex_timestamp":"000001a071dc7360"} 
[2026-09-05 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-09-05 19:30: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-09-05 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 19:30: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-09-05 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-09-05 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-09-05 19:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885788928001,"66":26060,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889575936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885788928001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:30:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:30:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889575936,"description":"Unknown IO ID 45"} 
[2026-09-05 19:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885788928001,"power":26060,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889575936}} 
[2026-09-05 19:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":172132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:30:33] local.INFO: GPS data processed {"connection_id":172132,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:30:33] local.INFO: Acknowledgment sent {"connection_id":172132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:30:49] local.INFO: TCP Data received {"connection_id":171869,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:30:49] local.INFO: Processing buffer {"connection_id":171869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:30:49] local.INFO: IMEI packet received {"connection_id":171869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":171869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:30:54] local.INFO: TCP Data received {"connection_id":171869,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:30:54] local.INFO: Processing buffer {"connection_id":171869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:30:54] local.INFO: IMEI packet received {"connection_id":171869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":171869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:30:55] local.INFO: TCP Data received {"connection_id":171869,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071dcd508012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071dcd508012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:30:55] local.INFO: Processing buffer {"connection_id":171869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071dcd508012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:30:55] local.INFO: Packet analysis {"connection_id":171869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071dc"} 
[2026-09-05 19:30:55] local.INFO: Extracted packet for processing {"connection_id":171869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071dc"} 
[2026-09-05 19:30:55] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885868032001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788616693000,"timestamp_ms":1788616693000,"timestamp_seconds":1788616693,"priority":1,"record_length":96,"hex_timestamp":"000001a071dcd508"} 
[2026-09-05 19:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-05 19:30:55] 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-09-05 19:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885868032001,"66":11243,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885868032001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:30:55] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:30:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885868032001,"power":11243,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":171869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:30:55] local.INFO: GPS data processed {"connection_id":171869,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:30:55] local.INFO: Acknowledgment sent {"connection_id":171869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:30:57] local.INFO: TCP Data received {"connection_id":171869,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071dd2710012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071dd2710012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:30:57] local.INFO: Processing buffer {"connection_id":171869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071dd2710012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:30:57] local.INFO: Packet analysis {"connection_id":171869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071dd"} 
[2026-09-05 19:30:57] local.INFO: Extracted packet for processing {"connection_id":171869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071dd"} 
[2026-09-05 19:30:57] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885873408001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788616714000,"timestamp_ms":1788616714000,"timestamp_seconds":1788616714,"priority":1,"record_length":96,"hex_timestamp":"000001a071dd2710"} 
[2026-09-05 19:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-09-05 19:30:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2528,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:30:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":171869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":171869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":171869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885873408001,"66":12504,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885873408001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:30:57] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:30:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885873408001,"power":12504,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":171869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:30:57] local.INFO: GPS data processed {"connection_id":171869,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:30:57] local.INFO: Acknowledgment sent {"connection_id":171869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:31:01] local.INFO: TCP Data received {"connection_id":173261,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:31:01] local.INFO: Processing buffer {"connection_id":173261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:31:01] local.INFO: IMEI packet received {"connection_id":173261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":173261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:31:06] local.INFO: TCP Data received {"connection_id":173261,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:31:06] local.INFO: Processing buffer {"connection_id":173261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:31:06] local.INFO: IMEI packet received {"connection_id":173261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":173261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:31:06] local.INFO: TCP Data received {"connection_id":173261,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a071dc7360012d7b894005f5f310001400f62c..."} 
[2026-09-05 19:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071dc7360012d7b894005f5f310001400f62c..."} 
[2026-09-05 19:31:06] local.INFO: Processing buffer {"connection_id":173261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071dc7360012d7b894005f5f310001400f62c..."} 
[2026-09-05 19:31:06] local.INFO: Packet analysis {"connection_id":173261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071dc"} 
[2026-09-05 19:31:06] local.INFO: Extracted packet for processing {"connection_id":173261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071dc"} 
[2026-09-05 19:31:06] local.INFO: GPS Element Parsed {"raw_longitude":763070784,"raw_latitude":100004624,"longitude_deg":76.3070784,"latitude_deg":10.0004624,"altitude":20,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d7b8940","hex_latitude":"05f5f310","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885788928001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889575936,"note":"Value kept but may cause issues"} 
[2026-09-05 19:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788616668000,"timestamp_ms":1788616668000,"timestamp_seconds":1788616668,"priority":1,"record_length":96,"hex_timestamp":"000001a071dc7360"} 
[2026-09-05 19:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:31:06] 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-09-05 19:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 19:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885788928001,"66":26060,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889575936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885788928001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:31:06] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:31:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889575936,"description":"Unknown IO ID 45"} 
[2026-09-05 19:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885788928001,"power":26060,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889575936}} 
[2026-09-05 19:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":173261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:31:06] local.INFO: GPS data processed {"connection_id":173261,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:31:06] local.INFO: Acknowledgment sent {"connection_id":173261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:31:11] local.INFO: TCP Data received {"connection_id":173261,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a071dc7360012d7b894005f5f310001400f62c..."} 
[2026-09-05 19:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071dc7360012d7b894005f5f310001400f62c..."} 
[2026-09-05 19:31:11] local.INFO: Processing buffer {"connection_id":173261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071dc7360012d7b894005f5f310001400f62c..."} 
[2026-09-05 19:31:11] local.INFO: Packet analysis {"connection_id":173261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071dc"} 
[2026-09-05 19:31:11] local.INFO: Extracted packet for processing {"connection_id":173261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071dc"} 
[2026-09-05 19:31:11] local.INFO: GPS Element Parsed {"raw_longitude":763070784,"raw_latitude":100004624,"longitude_deg":76.3070784,"latitude_deg":10.0004624,"altitude":20,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d7b8940","hex_latitude":"05f5f310","is_valid_coordinates":true} 
[2026-09-05 19:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885788928001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107889575936,"note":"Value kept but may cause issues"} 
[2026-09-05 19:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788616668000,"timestamp_ms":1788616668000,"timestamp_seconds":1788616668,"priority":1,"record_length":96,"hex_timestamp":"000001a071dc7360"} 
[2026-09-05 19:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:31:11] 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-09-05 19:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 19:31:11] 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-09-05 19:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885788928001,"66":26060,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900872107889575936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885788928001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:31:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:31:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107889575936,"description":"Unknown IO ID 45"} 
[2026-09-05 19:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885788928001,"power":26060,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900872107889575936}} 
[2026-09-05 19:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":173261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:31:11] local.INFO: GPS data processed {"connection_id":173261,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:31:11] local.INFO: Acknowledgment sent {"connection_id":173261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:31:28] local.INFO: TCP Data received {"connection_id":171869,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071dd7918012d1d9000071b2de8003f012828..."} 
[2026-09-05 19:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071dd7918012d1d9000071b2de8003f012828..."} 
[2026-09-05 19:31:28] local.INFO: Processing buffer {"connection_id":171869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071dd7918012d1d9000071b2de8003f012828..."} 
[2026-09-05 19:31:28] local.INFO: Packet analysis {"connection_id":171869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071dd"} 
[2026-09-05 19:31:28] local.INFO: Extracted packet for processing {"connection_id":171869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071dd"} 
[2026-09-05 19:31:28] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":40,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885878784001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:31:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788616735000,"timestamp_ms":1788616735000,"timestamp_seconds":1788616735,"priority":1,"record_length":96,"hex_timestamp":"000001a071dd7918"} 
[2026-09-05 19:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:31:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 19:31:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":171869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":171869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":171869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885878784001,"66":12504,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885878784001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:31:28] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:31:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885878784001,"power":12504,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":171869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:31:29] local.INFO: GPS data processed {"connection_id":171869,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:31:29] local.INFO: Acknowledgment sent {"connection_id":171869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:31:44] local.INFO: TCP Data received {"connection_id":172133,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:31:44] local.INFO: Processing buffer {"connection_id":172133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:31:44] local.INFO: IMEI packet received {"connection_id":172133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":172133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:31:49] local.INFO: TCP Data received {"connection_id":172133,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:31:49] local.INFO: Processing buffer {"connection_id":172133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:31:49] local.INFO: IMEI packet received {"connection_id":172133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":172133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:31:50] local.INFO: TCP Data received {"connection_id":172133,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071ddcb20012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ddcb20012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:31:50] local.INFO: Processing buffer {"connection_id":172133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ddcb20012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:31:50] local.INFO: Packet analysis {"connection_id":172133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071dd"} 
[2026-09-05 19:31:50] local.INFO: Extracted packet for processing {"connection_id":172133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071dd"} 
[2026-09-05 19:31:50] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885884160001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:31:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788616756000,"timestamp_ms":1788616756000,"timestamp_seconds":1788616756,"priority":1,"record_length":96,"hex_timestamp":"000001a071ddcb20"} 
[2026-09-05 19:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 19:31:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:31:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:31:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885884160001,"66":12504,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885884160001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:31:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:31:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:31:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885884160001,"power":12504,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":172133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:31:50] local.INFO: GPS data processed {"connection_id":172133,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:31:50] local.INFO: Acknowledgment sent {"connection_id":172133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:31:56] local.INFO: TCP Data received {"connection_id":171870,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:31:56] local.INFO: Processing buffer {"connection_id":171870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:31:56] local.INFO: IMEI packet received {"connection_id":171870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":171870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:31:57] local.INFO: TCP Data received {"connection_id":171870,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:31:57] local.INFO: Processing buffer {"connection_id":171870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:31:57] local.INFO: IMEI packet received {"connection_id":171870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":171870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:31:59] local.INFO: TCP Data received {"connection_id":171870,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:31:59] local.INFO: Processing buffer {"connection_id":171870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:31:59] local.INFO: IMEI packet received {"connection_id":171870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":171870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:32:00] local.INFO: TCP Data received {"connection_id":171870,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a071df51c0012d7b894005f5f310001400f62f..."} 
[2026-09-05 19:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071df51c0012d7b894005f5f310001400f62f..."} 
[2026-09-05 19:32:00] local.INFO: Processing buffer {"connection_id":171870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071df51c0012d7b894005f5f310001400f62f..."} 
[2026-09-05 19:32:00] local.INFO: Packet analysis {"connection_id":171870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071df"} 
[2026-09-05 19:32:00] local.INFO: Extracted packet for processing {"connection_id":171870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071df"} 
[2026-09-05 19:32:00] local.INFO: GPS Element Parsed {"raw_longitude":763070784,"raw_latitude":100004624,"longitude_deg":76.3070784,"latitude_deg":10.0004624,"altitude":20,"angle":246,"satellites":47,"speed":0,"hex_longitude":"2d7b8940","hex_latitude":"05f5f310","is_valid_coordinates":true} 
[2026-09-05 19:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885867008001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901716532819857408,"note":"Value kept but may cause issues"} 
[2026-09-05 19:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788616856000,"timestamp_ms":1788616856000,"timestamp_seconds":1788616856,"priority":1,"record_length":96,"hex_timestamp":"000001a071df51c0"} 
[2026-09-05 19:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 19:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-05 19:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:32:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885867008001,"66":25908,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901716532819857408},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885867008001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:32:00] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:32:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901716532819857408,"description":"Unknown IO ID 45"} 
[2026-09-05 19:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885867008001,"power":25908,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901716532819857408}} 
[2026-09-05 19:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":171870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:32:00] local.INFO: GPS data processed {"connection_id":171870,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:32:00] local.INFO: Acknowledgment sent {"connection_id":171870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:32:01] local.INFO: TCP Data received {"connection_id":171870,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a071df5990012d7b898005f5f4600014003f2e..."} 
[2026-09-05 19:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071df5990012d7b898005f5f4600014003f2e..."} 
[2026-09-05 19:32:01] local.INFO: Processing buffer {"connection_id":171870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071df5990012d7b898005f5f4600014003f2e..."} 
[2026-09-05 19:32:01] local.INFO: Packet analysis {"connection_id":171870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071df"} 
[2026-09-05 19:32:01] local.INFO: Extracted packet for processing {"connection_id":171870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071df"} 
[2026-09-05 19:32:01] local.INFO: GPS Element Parsed {"raw_longitude":763070848,"raw_latitude":100004960,"longitude_deg":76.3070848,"latitude_deg":10.000496,"altitude":20,"angle":63,"satellites":46,"speed":0,"hex_longitude":"2d7b8980","hex_latitude":"05f5f460","is_valid_coordinates":true} 
[2026-09-05 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-09-05 19:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885915136001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901716532819857408,"note":"Value kept but may cause issues"} 
[2026-09-05 19:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788616858000,"timestamp_ms":1788616858000,"timestamp_seconds":1788616858,"priority":1,"record_length":96,"hex_timestamp":"000001a071df5990"} 
[2026-09-05 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-09-05 19:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-05 19:32:01] 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-09-05 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-09-05 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-09-05 19:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885915136001,"66":25647,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901716532819857408},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885915136001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:32:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:32:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901716532819857408,"description":"Unknown IO ID 45"} 
[2026-09-05 19:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885915136001,"power":25647,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901716532819857408}} 
[2026-09-05 19:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":171870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:32:01] local.INFO: GPS data processed {"connection_id":171870,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:32:01] local.INFO: Acknowledgment sent {"connection_id":171870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:32:21] local.INFO: TCP Data received {"connection_id":172133,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071de1d28012d1d9000071b2de8003f01282b..."} 
[2026-09-05 19:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071de1d28012d1d9000071b2de8003f01282b..."} 
[2026-09-05 19:32:21] local.INFO: Processing buffer {"connection_id":172133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071de1d28012d1d9000071b2de8003f01282b..."} 
[2026-09-05 19:32:21] local.INFO: Packet analysis {"connection_id":172133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071de"} 
[2026-09-05 19:32:21] local.INFO: Extracted packet for processing {"connection_id":172133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071de"} 
[2026-09-05 19:32:21] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":43,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885889536001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788616777000,"timestamp_ms":1788616777000,"timestamp_seconds":1788616777,"priority":1,"record_length":96,"hex_timestamp":"000001a071de1d28"} 
[2026-09-05 19:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:32: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-09-05 19:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 19:32:21] 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-09-05 19:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885889536001,"66":12504,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885889536001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:32:21] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:32:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885889536001,"power":12504,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":172133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:32:21] local.INFO: GPS data processed {"connection_id":172133,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:32:21] local.INFO: Acknowledgment sent {"connection_id":172133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:32:32] local.INFO: TCP Data received {"connection_id":171870,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a071dfab98012d7b898005f5f4600014003f2e..."} 
[2026-09-05 19:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071dfab98012d7b898005f5f4600014003f2e..."} 
[2026-09-05 19:32:32] local.INFO: Processing buffer {"connection_id":171870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071dfab98012d7b898005f5f4600014003f2e..."} 
[2026-09-05 19:32:32] local.INFO: Packet analysis {"connection_id":171870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071df"} 
[2026-09-05 19:32:32] local.INFO: Extracted packet for processing {"connection_id":171870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071df"} 
[2026-09-05 19:32:32] local.INFO: GPS Element Parsed {"raw_longitude":763070848,"raw_latitude":100004960,"longitude_deg":76.3070848,"latitude_deg":10.000496,"altitude":20,"angle":63,"satellites":46,"speed":0,"hex_longitude":"2d7b8980","hex_latitude":"05f5f460","is_valid_coordinates":true} 
[2026-09-05 19:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885915648001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901564121088,"note":"Value kept but may cause issues"} 
[2026-09-05 19:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788616879000,"timestamp_ms":1788616879000,"timestamp_seconds":1788616879,"priority":1,"record_length":96,"hex_timestamp":"000001a071dfab98"} 
[2026-09-05 19:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:32: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-09-05 19:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 19:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885915648001,"66":27832,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901786901564121088},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885915648001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:32:32] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:32:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901564121088,"description":"Unknown IO ID 45"} 
[2026-09-05 19:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885915648001,"power":27832,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901786901564121088}} 
[2026-09-05 19:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":171870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:32:32] local.INFO: GPS data processed {"connection_id":171870,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:32:32] local.INFO: Acknowledgment sent {"connection_id":171870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:32:42] local.INFO: TCP Data received {"connection_id":174569,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:32:42] local.INFO: Processing buffer {"connection_id":174569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:32:42] local.INFO: IMEI packet received {"connection_id":174569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":174569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:32:44] local.INFO: TCP Data received {"connection_id":174569,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:32:44] local.INFO: Processing buffer {"connection_id":174569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:32:44] local.INFO: IMEI packet received {"connection_id":174569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":174569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:32:49] local.INFO: TCP Data received {"connection_id":174569,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:32:49] local.INFO: Processing buffer {"connection_id":174569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:32:49] local.INFO: IMEI packet received {"connection_id":174569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":174569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:32:50] local.INFO: TCP Data received {"connection_id":174569,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071de6f30012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071de6f30012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:32:50] local.INFO: Processing buffer {"connection_id":174569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071de6f30012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:32:50] local.INFO: Packet analysis {"connection_id":174569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071de"} 
[2026-09-05 19:32:50] local.INFO: Extracted packet for processing {"connection_id":174569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071de"} 
[2026-09-05 19:32:50] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885894912001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788616798000,"timestamp_ms":1788616798000,"timestamp_seconds":1788616798,"priority":1,"record_length":96,"hex_timestamp":"000001a071de6f30"} 
[2026-09-05 19:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 19:32:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:32:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885894912001,"66":12504,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885894912001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:32:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:32:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885894912001,"power":12504,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":174569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:32:50] local.INFO: GPS data processed {"connection_id":174569,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:32:50] local.INFO: Acknowledgment sent {"connection_id":174569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:32:55] local.INFO: TCP Data received {"connection_id":172134,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:32:55] local.INFO: Processing buffer {"connection_id":172134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:32:55] local.INFO: IMEI packet received {"connection_id":172134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":172134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:33:00] local.INFO: TCP Data received {"connection_id":172134,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:33:00] local.INFO: Processing buffer {"connection_id":172134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:33:00] local.INFO: IMEI packet received {"connection_id":172134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":172134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:33:01] local.INFO: TCP Data received {"connection_id":172134,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071dfaf80012d7b898005f5f4600014003f2f..."} 
[2026-09-05 19:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071dfaf80012d7b898005f5f4600014003f2f..."} 
[2026-09-05 19:33:01] local.INFO: Processing buffer {"connection_id":172134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071dfaf80012d7b898005f5f4600014003f2f..."} 
[2026-09-05 19:33:01] local.INFO: Packet analysis {"connection_id":172134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071df"} 
[2026-09-05 19:33:01] local.INFO: Extracted packet for processing {"connection_id":172134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071df"} 
[2026-09-05 19:33:01] local.INFO: GPS Element Parsed {"raw_longitude":763070848,"raw_latitude":100004960,"longitude_deg":76.3070848,"latitude_deg":10.000496,"altitude":20,"angle":63,"satellites":47,"speed":0,"hex_longitude":"2d7b8980","hex_latitude":"05f5f460","is_valid_coordinates":true} 
[2026-09-05 19:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885921024001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901564121088,"note":"Value kept but may cause issues"} 
[2026-09-05 19:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788616880000,"timestamp_ms":1788616880000,"timestamp_seconds":1788616880,"priority":1,"record_length":96,"hex_timestamp":"000001a071dfaf80"} 
[2026-09-05 19:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 19:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:33:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885921024001,"66":27626,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901786901564121088},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885921024001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:33:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:33:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901564121088,"description":"Unknown IO ID 45"} 
[2026-09-05 19:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885921024001,"power":27626,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901786901564121088}} 
[2026-09-05 19:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":172134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:33:01] local.INFO: GPS data processed {"connection_id":172134,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:33:01] local.INFO: Acknowledgment sent {"connection_id":172134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:33:21] local.INFO: TCP Data received {"connection_id":174569,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071dec138012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071dec138012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:33:21] local.INFO: Processing buffer {"connection_id":174569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071dec138012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:33:21] local.INFO: Packet analysis {"connection_id":174569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071de"} 
[2026-09-05 19:33:21] local.INFO: Extracted packet for processing {"connection_id":174569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071de"} 
[2026-09-05 19:33:21] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885900288001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788616819000,"timestamp_ms":1788616819000,"timestamp_seconds":1788616819,"priority":1,"record_length":96,"hex_timestamp":"000001a071dec138"} 
[2026-09-05 19:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 19:33:21] 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-09-05 19:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885900288001,"66":12439,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885900288001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:33:21] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:33:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885900288001,"power":12439,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":174569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:33:21] local.INFO: GPS data processed {"connection_id":174569,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:33:21] local.INFO: Acknowledgment sent {"connection_id":174569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:33:32] local.INFO: TCP Data received {"connection_id":172134,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071dfaf80012d7b898005f5f4600014003f2f..."} 
[2026-09-05 19:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071dfaf80012d7b898005f5f4600014003f2f..."} 
[2026-09-05 19:33:32] local.INFO: Processing buffer {"connection_id":172134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071dfaf80012d7b898005f5f4600014003f2f..."} 
[2026-09-05 19:33:32] local.INFO: Packet analysis {"connection_id":172134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071df"} 
[2026-09-05 19:33:32] local.INFO: Extracted packet for processing {"connection_id":172134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071df"} 
[2026-09-05 19:33:32] local.INFO: GPS Element Parsed {"raw_longitude":763070848,"raw_latitude":100004960,"longitude_deg":76.3070848,"latitude_deg":10.000496,"altitude":20,"angle":63,"satellites":47,"speed":0,"hex_longitude":"2d7b8980","hex_latitude":"05f5f460","is_valid_coordinates":true} 
[2026-09-05 19:33: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-09-05 19:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885921024001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901564121088,"note":"Value kept but may cause issues"} 
[2026-09-05 19:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788616880000,"timestamp_ms":1788616880000,"timestamp_seconds":1788616880,"priority":1,"record_length":96,"hex_timestamp":"000001a071dfaf80"} 
[2026-09-05 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-09-05 19:33: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-09-05 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 19:33:32] 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-09-05 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-09-05 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-09-05 19:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885921024001,"66":27626,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901786901564121088},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885921024001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:33:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:33:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901564121088,"description":"Unknown IO ID 45"} 
[2026-09-05 19:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885921024001,"power":27626,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901786901564121088}} 
[2026-09-05 19:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":172134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:33:33] local.INFO: GPS data processed {"connection_id":172134,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:33:33] local.INFO: Acknowledgment sent {"connection_id":172134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:33:44] local.INFO: TCP Data received {"connection_id":174570,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:33:44] local.INFO: Processing buffer {"connection_id":174570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:33:44] local.INFO: IMEI packet received {"connection_id":174570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":174570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:33:45] local.INFO: TCP Data received {"connection_id":174570,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:33:45] local.INFO: Processing buffer {"connection_id":174570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:33:45] local.INFO: IMEI packet received {"connection_id":174570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":174570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:33:49] local.INFO: TCP Data received {"connection_id":174570,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:33:49] local.INFO: Processing buffer {"connection_id":174570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:33:49] local.INFO: IMEI packet received {"connection_id":174570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":174570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:33:50] local.INFO: TCP Data received {"connection_id":174570,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071df1340012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071df1340012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:33:50] local.INFO: Processing buffer {"connection_id":174570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071df1340012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:33:50] local.INFO: Packet analysis {"connection_id":174570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071df"} 
[2026-09-05 19:33:50] local.INFO: Extracted packet for processing {"connection_id":174570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071df"} 
[2026-09-05 19:33:50] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885905664001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788616840000,"timestamp_ms":1788616840000,"timestamp_seconds":1788616840,"priority":1,"record_length":96,"hex_timestamp":"000001a071df1340"} 
[2026-09-05 19:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 19:33:50] 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-09-05 19:33:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885905664001,"66":12504,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885905664001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:33:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:33:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885905664001,"power":12504,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":174570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:33:50] local.INFO: GPS data processed {"connection_id":174570,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:33:50] local.INFO: Acknowledgment sent {"connection_id":174570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:33:55] local.INFO: TCP Data received {"connection_id":172135,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:33:55] local.INFO: Processing buffer {"connection_id":172135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:33:55] local.INFO: IMEI packet received {"connection_id":172135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":172135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:34:01] local.INFO: TCP Data received {"connection_id":172135,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:34:01] local.INFO: Processing buffer {"connection_id":172135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:34:01] local.INFO: IMEI packet received {"connection_id":172135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":172135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:34:02] local.INFO: TCP Data received {"connection_id":172135,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071dfaf80012d7b898005f5f4600014003f2f..."} 
[2026-09-05 19:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071dfaf80012d7b898005f5f4600014003f2f..."} 
[2026-09-05 19:34:02] local.INFO: Processing buffer {"connection_id":172135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071dfaf80012d7b898005f5f4600014003f2f..."} 
[2026-09-05 19:34:02] local.INFO: Packet analysis {"connection_id":172135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071df"} 
[2026-09-05 19:34:02] local.INFO: Extracted packet for processing {"connection_id":172135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071df"} 
[2026-09-05 19:34:02] local.INFO: GPS Element Parsed {"raw_longitude":763070848,"raw_latitude":100004960,"longitude_deg":76.3070848,"latitude_deg":10.000496,"altitude":20,"angle":63,"satellites":47,"speed":0,"hex_longitude":"2d7b8980","hex_latitude":"05f5f460","is_valid_coordinates":true} 
[2026-09-05 19:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885921024001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901564121088,"note":"Value kept but may cause issues"} 
[2026-09-05 19:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788616880000,"timestamp_ms":1788616880000,"timestamp_seconds":1788616880,"priority":1,"record_length":96,"hex_timestamp":"000001a071dfaf80"} 
[2026-09-05 19:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:34: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-09-05 19:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 19:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885921024001,"66":27626,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901786901564121088},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885921024001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:34:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:34:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901564121088,"description":"Unknown IO ID 45"} 
[2026-09-05 19:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885921024001,"power":27626,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901786901564121088}} 
[2026-09-05 19:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":172135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:34:02] local.INFO: GPS data processed {"connection_id":172135,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:34:02] local.INFO: Acknowledgment sent {"connection_id":172135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:34:22] local.INFO: TCP Data received {"connection_id":174570,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071df6548012d1d9000071b2de8003f012828..."} 
[2026-09-05 19:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071df6548012d1d9000071b2de8003f012828..."} 
[2026-09-05 19:34:22] local.INFO: Processing buffer {"connection_id":174570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071df6548012d1d9000071b2de8003f012828..."} 
[2026-09-05 19:34:22] local.INFO: Packet analysis {"connection_id":174570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071df"} 
[2026-09-05 19:34:22] local.INFO: Extracted packet for processing {"connection_id":174570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071df"} 
[2026-09-05 19:34:22] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":40,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885911040001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788616861000,"timestamp_ms":1788616861000,"timestamp_seconds":1788616861,"priority":1,"record_length":96,"hex_timestamp":"000001a071df6548"} 
[2026-09-05 19:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 19:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885911040001,"66":12504,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885911040001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:34:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:34:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885911040001,"power":12504,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":174570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:34:22] local.INFO: GPS data processed {"connection_id":174570,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:34:22] local.INFO: Acknowledgment sent {"connection_id":174570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:34:33] local.INFO: TCP Data received {"connection_id":172135,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071dfaf80012d7b898005f5f4600014003f2f..."} 
[2026-09-05 19:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071dfaf80012d7b898005f5f4600014003f2f..."} 
[2026-09-05 19:34:33] local.INFO: Processing buffer {"connection_id":172135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071dfaf80012d7b898005f5f4600014003f2f..."} 
[2026-09-05 19:34:33] local.INFO: Packet analysis {"connection_id":172135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071df"} 
[2026-09-05 19:34:33] local.INFO: Extracted packet for processing {"connection_id":172135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071df"} 
[2026-09-05 19:34:33] local.INFO: GPS Element Parsed {"raw_longitude":763070848,"raw_latitude":100004960,"longitude_deg":76.3070848,"latitude_deg":10.000496,"altitude":20,"angle":63,"satellites":47,"speed":0,"hex_longitude":"2d7b8980","hex_latitude":"05f5f460","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885921024001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901564121088,"note":"Value kept but may cause issues"} 
[2026-09-05 19:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788616880000,"timestamp_ms":1788616880000,"timestamp_seconds":1788616880,"priority":1,"record_length":96,"hex_timestamp":"000001a071dfaf80"} 
[2026-09-05 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-09-05 19:34: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-09-05 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 19:34:33] 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-09-05 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-09-05 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-09-05 19:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885921024001,"66":27626,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901786901564121088},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885921024001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:34:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:34:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901564121088,"description":"Unknown IO ID 45"} 
[2026-09-05 19:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885921024001,"power":27626,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901786901564121088}} 
[2026-09-05 19:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":172135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:34:33] local.INFO: GPS data processed {"connection_id":172135,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:34:33] local.INFO: Acknowledgment sent {"connection_id":172135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:34:44] local.INFO: TCP Data received {"connection_id":171871,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:34:44] local.INFO: Processing buffer {"connection_id":171871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:34:44] local.INFO: IMEI packet received {"connection_id":171871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":171871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:34:48] local.INFO: TCP Data received {"connection_id":171871,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:34:48] local.INFO: Processing buffer {"connection_id":171871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:34:48] local.INFO: IMEI packet received {"connection_id":171871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":171871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:34:49] local.INFO: TCP Data received {"connection_id":171871,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071dfb750012d1d9000071b2de8003f012828..."} 
[2026-09-05 19:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071dfb750012d1d9000071b2de8003f012828..."} 
[2026-09-05 19:34:49] local.INFO: Processing buffer {"connection_id":171871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071dfb750012d1d9000071b2de8003f012828..."} 
[2026-09-05 19:34:49] local.INFO: Packet analysis {"connection_id":171871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071df"} 
[2026-09-05 19:34:49] local.INFO: Extracted packet for processing {"connection_id":171871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071df"} 
[2026-09-05 19:34:49] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":40,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885916416001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788616882000,"timestamp_ms":1788616882000,"timestamp_seconds":1788616882,"priority":1,"record_length":96,"hex_timestamp":"000001a071dfb750"} 
[2026-09-05 19:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 19:34:49] 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-09-05 19:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":171871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":171871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":171871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885916416001,"66":12504,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885916416001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:34:49] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:34:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885916416001,"power":12504,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":171871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:34:49] local.INFO: GPS data processed {"connection_id":171871,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:34:49] local.INFO: Acknowledgment sent {"connection_id":171871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:34:55] local.INFO: TCP Data received {"connection_id":174571,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:34:55] local.INFO: Processing buffer {"connection_id":174571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:34:55] local.INFO: IMEI packet received {"connection_id":174571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":174571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:35:01] local.INFO: TCP Data received {"connection_id":174571,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:35:01] local.INFO: Processing buffer {"connection_id":174571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:35:01] local.INFO: IMEI packet received {"connection_id":174571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":174571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:35:02] local.INFO: TCP Data received {"connection_id":174571,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071dfaf80012d7b898005f5f4600014003f2f..."} 
[2026-09-05 19:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071dfaf80012d7b898005f5f4600014003f2f..."} 
[2026-09-05 19:35:02] local.INFO: Processing buffer {"connection_id":174571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071dfaf80012d7b898005f5f4600014003f2f..."} 
[2026-09-05 19:35:02] local.INFO: Packet analysis {"connection_id":174571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071df"} 
[2026-09-05 19:35:02] local.INFO: Extracted packet for processing {"connection_id":174571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071df"} 
[2026-09-05 19:35:02] local.INFO: GPS Element Parsed {"raw_longitude":763070848,"raw_latitude":100004960,"longitude_deg":76.3070848,"latitude_deg":10.000496,"altitude":20,"angle":63,"satellites":47,"speed":0,"hex_longitude":"2d7b8980","hex_latitude":"05f5f460","is_valid_coordinates":true} 
[2026-09-05 19:35: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-09-05 19:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885921024001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901564121088,"note":"Value kept but may cause issues"} 
[2026-09-05 19:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788616880000,"timestamp_ms":1788616880000,"timestamp_seconds":1788616880,"priority":1,"record_length":96,"hex_timestamp":"000001a071dfaf80"} 
[2026-09-05 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-09-05 19:35: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-09-05 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 19:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 19:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885921024001,"66":27626,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901786901564121088},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885921024001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:35:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:35:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901564121088,"description":"Unknown IO ID 45"} 
[2026-09-05 19:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885921024001,"power":27626,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901786901564121088}} 
[2026-09-05 19:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":174571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:35:02] local.INFO: GPS data processed {"connection_id":174571,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:35:02] local.INFO: Acknowledgment sent {"connection_id":174571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:35:20] local.INFO: TCP Data received {"connection_id":171871,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071e00958012d1d9000071b2de8003f012828..."} 
[2026-09-05 19:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e00958012d1d9000071b2de8003f012828..."} 
[2026-09-05 19:35:20] local.INFO: Processing buffer {"connection_id":171871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e00958012d1d9000071b2de8003f012828..."} 
[2026-09-05 19:35:20] local.INFO: Packet analysis {"connection_id":171871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e0"} 
[2026-09-05 19:35:20] local.INFO: Extracted packet for processing {"connection_id":171871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e0"} 
[2026-09-05 19:35:20] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":40,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885921792001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788616903000,"timestamp_ms":1788616903000,"timestamp_seconds":1788616903,"priority":1,"record_length":96,"hex_timestamp":"000001a071e00958"} 
[2026-09-05 19:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 19:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":171871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":171871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":171871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885921792001,"66":12504,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885921792001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:35:20] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:35:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885921792001,"power":12504,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":171871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:35:20] local.INFO: GPS data processed {"connection_id":171871,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:35:20] local.INFO: Acknowledgment sent {"connection_id":171871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:35:33] local.INFO: TCP Data received {"connection_id":174571,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071dfaf80012d7b898005f5f4600014003f2f..."} 
[2026-09-05 19:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071dfaf80012d7b898005f5f4600014003f2f..."} 
[2026-09-05 19:35:33] local.INFO: Processing buffer {"connection_id":174571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071dfaf80012d7b898005f5f4600014003f2f..."} 
[2026-09-05 19:35:33] local.INFO: Packet analysis {"connection_id":174571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071df"} 
[2026-09-05 19:35:33] local.INFO: Extracted packet for processing {"connection_id":174571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071df"} 
[2026-09-05 19:35:33] local.INFO: GPS Element Parsed {"raw_longitude":763070848,"raw_latitude":100004960,"longitude_deg":76.3070848,"latitude_deg":10.000496,"altitude":20,"angle":63,"satellites":47,"speed":0,"hex_longitude":"2d7b8980","hex_latitude":"05f5f460","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885921024001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901564121088,"note":"Value kept but may cause issues"} 
[2026-09-05 19:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788616880000,"timestamp_ms":1788616880000,"timestamp_seconds":1788616880,"priority":1,"record_length":96,"hex_timestamp":"000001a071dfaf80"} 
[2026-09-05 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-09-05 19:35: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-09-05 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 19:35:33] 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-09-05 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-09-05 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-09-05 19:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885921024001,"66":27626,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901786901564121088},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885921024001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:35:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:35:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901564121088,"description":"Unknown IO ID 45"} 
[2026-09-05 19:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885921024001,"power":27626,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901786901564121088}} 
[2026-09-05 19:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":174571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:35:33] local.INFO: GPS data processed {"connection_id":174571,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:35:33] local.INFO: Acknowledgment sent {"connection_id":174571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:35:44] local.INFO: TCP Data received {"connection_id":174572,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:35:44] local.INFO: Processing buffer {"connection_id":174572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:35:44] local.INFO: IMEI packet received {"connection_id":174572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":174572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:35:49] local.INFO: TCP Data received {"connection_id":174572,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:35:49] local.INFO: Processing buffer {"connection_id":174572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:35:49] local.INFO: IMEI packet received {"connection_id":174572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":174572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:35:50] local.INFO: TCP Data received {"connection_id":174572,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071e05b60012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e05b60012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:35:50] local.INFO: Processing buffer {"connection_id":174572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e05b60012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:35:50] local.INFO: Packet analysis {"connection_id":174572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e0"} 
[2026-09-05 19:35:50] local.INFO: Extracted packet for processing {"connection_id":174572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e0"} 
[2026-09-05 19:35:50] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885927168001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788616924000,"timestamp_ms":1788616924000,"timestamp_seconds":1788616924,"priority":1,"record_length":96,"hex_timestamp":"000001a071e05b60"} 
[2026-09-05 19:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 19:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885927168001,"66":12439,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885927168001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:35:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:35:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885927168001,"power":12439,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":174572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:35:50] local.INFO: GPS data processed {"connection_id":174572,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:35:50] local.INFO: Acknowledgment sent {"connection_id":174572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:36:01] local.INFO: TCP Data received {"connection_id":173262,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:36:01] local.INFO: Processing buffer {"connection_id":173262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:36:01] local.INFO: IMEI packet received {"connection_id":173262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":173262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:36:05] local.INFO: TCP Data received {"connection_id":173262,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:36:06] local.INFO: Processing buffer {"connection_id":173262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:36:06] local.INFO: IMEI packet received {"connection_id":173262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":173262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:36:06] local.INFO: TCP Data received {"connection_id":173262,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071dfaf80012d7b898005f5f4600014003f2f..."} 
[2026-09-05 19:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071dfaf80012d7b898005f5f4600014003f2f..."} 
[2026-09-05 19:36:06] local.INFO: Processing buffer {"connection_id":173262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071dfaf80012d7b898005f5f4600014003f2f..."} 
[2026-09-05 19:36:06] local.INFO: Packet analysis {"connection_id":173262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071df"} 
[2026-09-05 19:36:06] local.INFO: Extracted packet for processing {"connection_id":173262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071df"} 
[2026-09-05 19:36:06] local.INFO: GPS Element Parsed {"raw_longitude":763070848,"raw_latitude":100004960,"longitude_deg":76.3070848,"latitude_deg":10.000496,"altitude":20,"angle":63,"satellites":47,"speed":0,"hex_longitude":"2d7b8980","hex_latitude":"05f5f460","is_valid_coordinates":true} 
[2026-09-05 19:36: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-09-05 19:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885921024001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901564121088,"note":"Value kept but may cause issues"} 
[2026-09-05 19:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788616880000,"timestamp_ms":1788616880000,"timestamp_seconds":1788616880,"priority":1,"record_length":96,"hex_timestamp":"000001a071dfaf80"} 
[2026-09-05 19:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 19:36:06] 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-09-05 19:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885921024001,"66":27626,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901786901564121088},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885921024001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:36:07] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:36:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901564121088,"description":"Unknown IO ID 45"} 
[2026-09-05 19:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885921024001,"power":27626,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901786901564121088}} 
[2026-09-05 19:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":173262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:36:07] local.INFO: GPS data processed {"connection_id":173262,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:36:07] local.INFO: Acknowledgment sent {"connection_id":173262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:36:11] local.INFO: TCP Data received {"connection_id":173262,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071dfaf80012d7b898005f5f4600014003f2f..."} 
[2026-09-05 19:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071dfaf80012d7b898005f5f4600014003f2f..."} 
[2026-09-05 19:36:11] local.INFO: Processing buffer {"connection_id":173262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071dfaf80012d7b898005f5f4600014003f2f..."} 
[2026-09-05 19:36:11] local.INFO: Packet analysis {"connection_id":173262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071df"} 
[2026-09-05 19:36:11] local.INFO: Extracted packet for processing {"connection_id":173262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071df"} 
[2026-09-05 19:36:11] local.INFO: GPS Element Parsed {"raw_longitude":763070848,"raw_latitude":100004960,"longitude_deg":76.3070848,"latitude_deg":10.000496,"altitude":20,"angle":63,"satellites":47,"speed":0,"hex_longitude":"2d7b8980","hex_latitude":"05f5f460","is_valid_coordinates":true} 
[2026-09-05 19:36: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-09-05 19:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885921024001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901564121088,"note":"Value kept but may cause issues"} 
[2026-09-05 19:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788616880000,"timestamp_ms":1788616880000,"timestamp_seconds":1788616880,"priority":1,"record_length":96,"hex_timestamp":"000001a071dfaf80"} 
[2026-09-05 19:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 19:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885921024001,"66":27626,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901786901564121088},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885921024001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:36:11] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:36:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901564121088,"description":"Unknown IO ID 45"} 
[2026-09-05 19:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885921024001,"power":27626,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901786901564121088}} 
[2026-09-05 19:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":173262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:36:11] local.INFO: GPS data processed {"connection_id":173262,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:36:11] local.INFO: Acknowledgment sent {"connection_id":173262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:36:21] local.INFO: TCP Data received {"connection_id":174572,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071e0ad68012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e0ad68012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:36:21] local.INFO: Processing buffer {"connection_id":174572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e0ad68012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:36:21] local.INFO: Packet analysis {"connection_id":174572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e0"} 
[2026-09-05 19:36:21] local.INFO: Extracted packet for processing {"connection_id":174572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e0"} 
[2026-09-05 19:36:21] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 19:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885932544001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788616945000,"timestamp_ms":1788616945000,"timestamp_seconds":1788616945,"priority":1,"record_length":96,"hex_timestamp":"000001a071e0ad68"} 
[2026-09-05 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-09-05 19:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 19:36: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-09-05 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-09-05 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-09-05 19:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885932544001,"66":12504,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885932544001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:36:21] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:36:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885932544001,"power":12504,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":174572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:36:22] local.INFO: GPS data processed {"connection_id":174572,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:36:22] local.INFO: Acknowledgment sent {"connection_id":174572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:36:49] local.INFO: TCP Data received {"connection_id":172136,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:36:49] local.INFO: Processing buffer {"connection_id":172136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:36:49] local.INFO: IMEI packet received {"connection_id":172136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":172136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:36:54] local.INFO: TCP Data received {"connection_id":172136,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:36:54] local.INFO: Processing buffer {"connection_id":172136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:36:54] local.INFO: IMEI packet received {"connection_id":172136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":172136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:36:55] local.INFO: TCP Data received {"connection_id":172136,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071e0ff70012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e0ff70012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:36:55] local.INFO: Processing buffer {"connection_id":172136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e0ff70012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:36:55] local.INFO: Packet analysis {"connection_id":172136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e0"} 
[2026-09-05 19:36:55] local.INFO: Extracted packet for processing {"connection_id":172136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e0"} 
[2026-09-05 19:36:55] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885937920001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788616966000,"timestamp_ms":1788616966000,"timestamp_seconds":1788616966,"priority":1,"record_length":96,"hex_timestamp":"000001a071e0ff70"} 
[2026-09-05 19:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 19:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885937920001,"66":11406,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885937920001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:36:55] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:36:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885937920001,"power":11406,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":172136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:36:55] local.INFO: GPS data processed {"connection_id":172136,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:36:55] local.INFO: Acknowledgment sent {"connection_id":172136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:36:55] local.INFO: TCP Data received {"connection_id":174573,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:36:55] local.INFO: Processing buffer {"connection_id":174573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:36:55] local.INFO: IMEI packet received {"connection_id":174573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":174573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:36:56] local.INFO: TCP Data received {"connection_id":172136,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071e15178012d1d9000071b2de8003f012827..."} 
[2026-09-05 19:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e15178012d1d9000071b2de8003f012827..."} 
[2026-09-05 19:36:56] local.INFO: Processing buffer {"connection_id":172136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e15178012d1d9000071b2de8003f012827..."} 
[2026-09-05 19:36:56] local.INFO: Packet analysis {"connection_id":172136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e1"} 
[2026-09-05 19:36:56] local.INFO: Extracted packet for processing {"connection_id":172136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e1"} 
[2026-09-05 19:36:56] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885943296001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788616987000,"timestamp_ms":1788616987000,"timestamp_seconds":1788616987,"priority":1,"record_length":96,"hex_timestamp":"000001a071e15178"} 
[2026-09-05 19:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":142,"data_length":795,"current_offset":136} 
[2026-09-05 19:36:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1696,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:36:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885943296001,"66":12439,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885943296001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:36:56] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:36:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885943296001,"power":12439,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":172136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:36:56] local.INFO: GPS data processed {"connection_id":172136,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:36:56] local.INFO: Acknowledgment sent {"connection_id":172136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:37:00] local.INFO: TCP Data received {"connection_id":174573,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:37:01] local.INFO: Processing buffer {"connection_id":174573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:37:01] local.INFO: IMEI packet received {"connection_id":174573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":174573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:37:01] local.INFO: TCP Data received {"connection_id":174573,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071dfaf80012d7b898005f5f4600014003f2f..."} 
[2026-09-05 19:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071dfaf80012d7b898005f5f4600014003f2f..."} 
[2026-09-05 19:37:01] local.INFO: Processing buffer {"connection_id":174573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071dfaf80012d7b898005f5f4600014003f2f..."} 
[2026-09-05 19:37:01] local.INFO: Packet analysis {"connection_id":174573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071df"} 
[2026-09-05 19:37:01] local.INFO: Extracted packet for processing {"connection_id":174573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071df"} 
[2026-09-05 19:37:01] local.INFO: GPS Element Parsed {"raw_longitude":763070848,"raw_latitude":100004960,"longitude_deg":76.3070848,"latitude_deg":10.000496,"altitude":20,"angle":63,"satellites":47,"speed":0,"hex_longitude":"2d7b8980","hex_latitude":"05f5f460","is_valid_coordinates":true} 
[2026-09-05 19:37: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-09-05 19:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885921024001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901564121088,"note":"Value kept but may cause issues"} 
[2026-09-05 19:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788616880000,"timestamp_ms":1788616880000,"timestamp_seconds":1788616880,"priority":1,"record_length":96,"hex_timestamp":"000001a071dfaf80"} 
[2026-09-05 19:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 19:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885921024001,"66":27626,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901786901564121088},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885921024001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:37:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:37:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901564121088,"description":"Unknown IO ID 45"} 
[2026-09-05 19:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885921024001,"power":27626,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901786901564121088}} 
[2026-09-05 19:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":174573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:37:01] local.INFO: GPS data processed {"connection_id":174573,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:37:01] local.INFO: Acknowledgment sent {"connection_id":174573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:37:27] local.INFO: TCP Data received {"connection_id":172136,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071e1a380012d1d9000071b2de8003f012828..."} 
[2026-09-05 19:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e1a380012d1d9000071b2de8003f012828..."} 
[2026-09-05 19:37:27] local.INFO: Processing buffer {"connection_id":172136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e1a380012d1d9000071b2de8003f012828..."} 
[2026-09-05 19:37:27] local.INFO: Packet analysis {"connection_id":172136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e1"} 
[2026-09-05 19:37:27] local.INFO: Extracted packet for processing {"connection_id":172136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e1"} 
[2026-09-05 19:37:27] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":40,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885948672001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788617008000,"timestamp_ms":1788617008000,"timestamp_seconds":1788617008,"priority":1,"record_length":96,"hex_timestamp":"000001a071e1a380"} 
[2026-09-05 19:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 19:37:27] 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-09-05 19:37: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-09-05 19:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885948672001,"66":12504,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885948672001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:37:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:37:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885948672001,"power":12504,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":172136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:37:27] local.INFO: GPS data processed {"connection_id":172136,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:37:27] local.INFO: Acknowledgment sent {"connection_id":172136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:37:32] local.INFO: TCP Data received {"connection_id":174573,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071e44f18012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e44f18012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:37:32] local.INFO: Processing buffer {"connection_id":174573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e44f18012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:37:32] local.INFO: Packet analysis {"connection_id":174573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e4"} 
[2026-09-05 19:37:32] local.INFO: Extracted packet for processing {"connection_id":174573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e4"} 
[2026-09-05 19:37:32] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885921280001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901564121088,"note":"Value kept but may cause issues"} 
[2026-09-05 19:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788617183000,"timestamp_ms":1788617183000,"timestamp_seconds":1788617183,"priority":1,"record_length":96,"hex_timestamp":"000001a071e44f18"} 
[2026-09-05 19:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 19: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-05 19:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885921280001,"66":25995,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901786901564121088},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885921280001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:37:32] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:37:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901564121088,"description":"Unknown IO ID 45"} 
[2026-09-05 19:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885921280001,"power":25995,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901786901564121088}} 
[2026-09-05 19:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":174573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:37:32] local.INFO: GPS data processed {"connection_id":174573,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:37:32] local.INFO: Acknowledgment sent {"connection_id":174573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:37:44] local.INFO: TCP Data received {"connection_id":173263,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:37:44] local.INFO: Processing buffer {"connection_id":173263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:37:44] local.INFO: IMEI packet received {"connection_id":173263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":173263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:37:49] local.INFO: TCP Data received {"connection_id":173263,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:37:49] local.INFO: Processing buffer {"connection_id":173263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:37:49] local.INFO: IMEI packet received {"connection_id":173263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":173263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:37:50] local.INFO: TCP Data received {"connection_id":173263,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071e1f588012d1d9000071b2de8003f012828..."} 
[2026-09-05 19:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e1f588012d1d9000071b2de8003f012828..."} 
[2026-09-05 19:37:50] local.INFO: Processing buffer {"connection_id":173263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e1f588012d1d9000071b2de8003f012828..."} 
[2026-09-05 19:37:50] local.INFO: Packet analysis {"connection_id":173263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e1"} 
[2026-09-05 19:37:50] local.INFO: Extracted packet for processing {"connection_id":173263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e1"} 
[2026-09-05 19:37:50] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":40,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885954048001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:37:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788617029000,"timestamp_ms":1788617029000,"timestamp_seconds":1788617029,"priority":1,"record_length":96,"hex_timestamp":"000001a071e1f588"} 
[2026-09-05 19:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:37:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-05 19:37:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:37:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885954048001,"66":12461,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885954048001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:37:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:37:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:37:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885954048001,"power":12461,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":173263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:37:50] local.INFO: GPS data processed {"connection_id":173263,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:37:50] local.INFO: Acknowledgment sent {"connection_id":173263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:37:56] local.INFO: TCP Data received {"connection_id":171873,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:37:56] local.INFO: Processing buffer {"connection_id":171873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:37:56] local.INFO: IMEI packet received {"connection_id":171873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":171873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:38:00] local.INFO: TCP Data received {"connection_id":171873,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:38:01] local.INFO: Processing buffer {"connection_id":171873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:38:01] local.INFO: IMEI packet received {"connection_id":171873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":171873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:38:01] local.INFO: TCP Data received {"connection_id":171873,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071e44f18012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e44f18012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:38:01] local.INFO: Processing buffer {"connection_id":171873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e44f18012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:38:01] local.INFO: Packet analysis {"connection_id":171873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e4"} 
[2026-09-05 19:38:01] local.INFO: Extracted packet for processing {"connection_id":171873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e4"} 
[2026-09-05 19:38:01] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885921280001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901564121088,"note":"Value kept but may cause issues"} 
[2026-09-05 19:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788617183000,"timestamp_ms":1788617183000,"timestamp_seconds":1788617183,"priority":1,"record_length":96,"hex_timestamp":"000001a071e44f18"} 
[2026-09-05 19:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:38:01] 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-09-05 19:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-05 19:38:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:38:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885921280001,"66":25995,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901786901564121088},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885921280001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:38:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:38:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901564121088,"description":"Unknown IO ID 45"} 
[2026-09-05 19:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885921280001,"power":25995,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901786901564121088}} 
[2026-09-05 19:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":171873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:38:01] local.INFO: GPS data processed {"connection_id":171873,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:38:01] local.INFO: Acknowledgment sent {"connection_id":171873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:38:21] local.INFO: TCP Data received {"connection_id":173263,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071e24790012d1d9000071b2de8003f012824..."} 
[2026-09-05 19:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e24790012d1d9000071b2de8003f012824..."} 
[2026-09-05 19:38:21] local.INFO: Processing buffer {"connection_id":173263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e24790012d1d9000071b2de8003f012824..."} 
[2026-09-05 19:38:21] local.INFO: Packet analysis {"connection_id":173263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e2"} 
[2026-09-05 19:38:21] local.INFO: Extracted packet for processing {"connection_id":173263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e2"} 
[2026-09-05 19:38:21] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":36,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885959424001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788617050000,"timestamp_ms":1788617050000,"timestamp_seconds":1788617050,"priority":1,"record_length":96,"hex_timestamp":"000001a071e24790"} 
[2026-09-05 19:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:38: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-09-05 19:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 19:38: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-09-05 19:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885959424001,"66":12461,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885959424001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:38:21] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:38:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885959424001,"power":12461,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":173263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:38:21] local.INFO: GPS data processed {"connection_id":173263,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:38:21] local.INFO: Acknowledgment sent {"connection_id":173263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:38:32] local.INFO: TCP Data received {"connection_id":171873,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071e44f18012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e44f18012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:38:32] local.INFO: Processing buffer {"connection_id":171873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e44f18012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:38:32] local.INFO: Packet analysis {"connection_id":171873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e4"} 
[2026-09-05 19:38:32] local.INFO: Extracted packet for processing {"connection_id":171873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e4"} 
[2026-09-05 19:38:32] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885921280001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901564121088,"note":"Value kept but may cause issues"} 
[2026-09-05 19:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788617183000,"timestamp_ms":1788617183000,"timestamp_seconds":1788617183,"priority":1,"record_length":96,"hex_timestamp":"000001a071e44f18"} 
[2026-09-05 19:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 19:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-05 19:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885921280001,"66":25995,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901786901564121088},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885921280001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:38:32] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:38:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901564121088,"description":"Unknown IO ID 45"} 
[2026-09-05 19:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885921280001,"power":25995,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901786901564121088}} 
[2026-09-05 19:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":171873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:38:32] local.INFO: GPS data processed {"connection_id":171873,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:38:32] local.INFO: Acknowledgment sent {"connection_id":171873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:38:44] local.INFO: TCP Data received {"connection_id":174575,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:38:44] local.INFO: Processing buffer {"connection_id":174575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:38:44] local.INFO: IMEI packet received {"connection_id":174575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":174575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:38:49] local.INFO: TCP Data received {"connection_id":174575,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:38:49] local.INFO: Processing buffer {"connection_id":174575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:38:49] local.INFO: IMEI packet received {"connection_id":174575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":174575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:38:50] local.INFO: TCP Data received {"connection_id":174575,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071e29998012d1d9000071b2de8003f012826..."} 
[2026-09-05 19:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e29998012d1d9000071b2de8003f012826..."} 
[2026-09-05 19:38:50] local.INFO: Processing buffer {"connection_id":174575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e29998012d1d9000071b2de8003f012826..."} 
[2026-09-05 19:38:50] local.INFO: Packet analysis {"connection_id":174575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e2"} 
[2026-09-05 19:38:50] local.INFO: Extracted packet for processing {"connection_id":174575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e2"} 
[2026-09-05 19:38:50] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":38,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885964800001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788617071000,"timestamp_ms":1788617071000,"timestamp_seconds":1788617071,"priority":1,"record_length":96,"hex_timestamp":"000001a071e29998"} 
[2026-09-05 19:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 19:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:38:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885964800001,"66":12461,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885964800001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:38:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:38:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885964800001,"power":12461,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":174575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:38:50] local.INFO: GPS data processed {"connection_id":174575,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:38:50] local.INFO: Acknowledgment sent {"connection_id":174575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:38:55] local.INFO: TCP Data received {"connection_id":173264,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:38:55] local.INFO: Processing buffer {"connection_id":173264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:38:55] local.INFO: IMEI packet received {"connection_id":173264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":173264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:39:00] local.INFO: TCP Data received {"connection_id":173264,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:39:01] local.INFO: Processing buffer {"connection_id":173264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:39:01] local.INFO: IMEI packet received {"connection_id":173264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":173264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:39:02] local.INFO: TCP Data received {"connection_id":173264,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071e44f18012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e44f18012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:39:02] local.INFO: Processing buffer {"connection_id":173264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e44f18012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:39:02] local.INFO: Packet analysis {"connection_id":173264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e4"} 
[2026-09-05 19:39:02] local.INFO: Extracted packet for processing {"connection_id":173264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e4"} 
[2026-09-05 19:39:02] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885921280001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901564121088,"note":"Value kept but may cause issues"} 
[2026-09-05 19:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788617183000,"timestamp_ms":1788617183000,"timestamp_seconds":1788617183,"priority":1,"record_length":96,"hex_timestamp":"000001a071e44f18"} 
[2026-09-05 19:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:39:02] 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-09-05 19:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-05 19:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885921280001,"66":25995,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901786901564121088},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885921280001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:39:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:39:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901564121088,"description":"Unknown IO ID 45"} 
[2026-09-05 19:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885921280001,"power":25995,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901786901564121088}} 
[2026-09-05 19:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":173264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:39:02] local.INFO: GPS data processed {"connection_id":173264,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:39:02] local.INFO: Acknowledgment sent {"connection_id":173264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:39:21] local.INFO: TCP Data received {"connection_id":174575,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071e2eba0012d1d9000071b2de8003f012825..."} 
[2026-09-05 19:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e2eba0012d1d9000071b2de8003f012825..."} 
[2026-09-05 19:39:21] local.INFO: Processing buffer {"connection_id":174575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e2eba0012d1d9000071b2de8003f012825..."} 
[2026-09-05 19:39:21] local.INFO: Packet analysis {"connection_id":174575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e2"} 
[2026-09-05 19:39:21] local.INFO: Extracted packet for processing {"connection_id":174575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e2"} 
[2026-09-05 19:39:21] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":37,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885970176001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788617092000,"timestamp_ms":1788617092000,"timestamp_seconds":1788617092,"priority":1,"record_length":96,"hex_timestamp":"000001a071e2eba0"} 
[2026-09-05 19:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 19:39: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-09-05 19:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885970176001,"66":12461,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885970176001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:39:21] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:39:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885970176001,"power":12461,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":174575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:39:22] local.INFO: GPS data processed {"connection_id":174575,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:39:22] local.INFO: Acknowledgment sent {"connection_id":174575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:39:33] local.INFO: TCP Data received {"connection_id":173264,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071e44f18012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e44f18012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:39:33] local.INFO: Processing buffer {"connection_id":173264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e44f18012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:39:33] local.INFO: Packet analysis {"connection_id":173264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e4"} 
[2026-09-05 19:39:33] local.INFO: Extracted packet for processing {"connection_id":173264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e4"} 
[2026-09-05 19:39:33] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 19:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885921280001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901564121088,"note":"Value kept but may cause issues"} 
[2026-09-05 19:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788617183000,"timestamp_ms":1788617183000,"timestamp_seconds":1788617183,"priority":1,"record_length":96,"hex_timestamp":"000001a071e44f18"} 
[2026-09-05 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-09-05 19: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-09-05 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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-05 19:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 19:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885921280001,"66":25995,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901786901564121088},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885921280001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:39:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:39:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901564121088,"description":"Unknown IO ID 45"} 
[2026-09-05 19:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885921280001,"power":25995,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901786901564121088}} 
[2026-09-05 19:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":173264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:39:33] local.INFO: GPS data processed {"connection_id":173264,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:39:33] local.INFO: Acknowledgment sent {"connection_id":173264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:39:44] local.INFO: TCP Data received {"connection_id":172137,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:39:44] local.INFO: Processing buffer {"connection_id":172137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:39:44] local.INFO: IMEI packet received {"connection_id":172137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":172137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:39:49] local.INFO: TCP Data received {"connection_id":172137,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:39:49] local.INFO: Processing buffer {"connection_id":172137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:39:49] local.INFO: IMEI packet received {"connection_id":172137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":172137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:39:50] local.INFO: TCP Data received {"connection_id":172137,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071e33da8012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e33da8012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:39:50] local.INFO: Processing buffer {"connection_id":172137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e33da8012d1d9000071b2de8003f01282a..."} 
[2026-09-05 19:39:50] local.INFO: Packet analysis {"connection_id":172137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e3"} 
[2026-09-05 19:39:50] local.INFO: Extracted packet for processing {"connection_id":172137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e3"} 
[2026-09-05 19:39:50] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":42,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885975552001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788617113000,"timestamp_ms":1788617113000,"timestamp_seconds":1788617113,"priority":1,"record_length":96,"hex_timestamp":"000001a071e33da8"} 
[2026-09-05 19:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-05 19:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885975552001,"66":12406,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885975552001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:39:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:39:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885975552001,"power":12406,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":172137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:39:50] local.INFO: GPS data processed {"connection_id":172137,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:39:50] local.INFO: Acknowledgment sent {"connection_id":172137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:39:55] local.INFO: TCP Data received {"connection_id":171874,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:39:55] local.INFO: Processing buffer {"connection_id":171874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:39:55] local.INFO: IMEI packet received {"connection_id":171874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":171874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:40:00] local.INFO: TCP Data received {"connection_id":171874,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:40:00] local.INFO: Processing buffer {"connection_id":171874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:40:00] local.INFO: IMEI packet received {"connection_id":171874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":171874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:40:01] local.INFO: TCP Data received {"connection_id":171874,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071e44f18012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e44f18012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:40:01] local.INFO: Processing buffer {"connection_id":171874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e44f18012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:40:01] local.INFO: Packet analysis {"connection_id":171874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e4"} 
[2026-09-05 19:40:01] local.INFO: Extracted packet for processing {"connection_id":171874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e4"} 
[2026-09-05 19:40:01] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885921280001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901564121088,"note":"Value kept but may cause issues"} 
[2026-09-05 19:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788617183000,"timestamp_ms":1788617183000,"timestamp_seconds":1788617183,"priority":1,"record_length":96,"hex_timestamp":"000001a071e44f18"} 
[2026-09-05 19:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:40:01] 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-09-05 19:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-05 19:40:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:40:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885921280001,"66":25995,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901786901564121088},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885921280001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:40:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:40:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901564121088,"description":"Unknown IO ID 45"} 
[2026-09-05 19:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885921280001,"power":25995,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901786901564121088}} 
[2026-09-05 19:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":171874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:40:01] local.INFO: GPS data processed {"connection_id":171874,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:40:01] local.INFO: Acknowledgment sent {"connection_id":171874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:40:32] local.INFO: TCP Data received {"connection_id":171874,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071e44f18012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e44f18012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:40:33] local.INFO: Processing buffer {"connection_id":171874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e44f18012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:40:33] local.INFO: Packet analysis {"connection_id":171874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e4"} 
[2026-09-05 19:40:33] local.INFO: Extracted packet for processing {"connection_id":171874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e4"} 
[2026-09-05 19:40:33] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885921280001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901564121088,"note":"Value kept but may cause issues"} 
[2026-09-05 19:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788617183000,"timestamp_ms":1788617183000,"timestamp_seconds":1788617183,"priority":1,"record_length":96,"hex_timestamp":"000001a071e44f18"} 
[2026-09-05 19:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19: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-09-05 19: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-05 19:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885921280001,"66":25995,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901786901564121088},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885921280001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:40:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:40:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901564121088,"description":"Unknown IO ID 45"} 
[2026-09-05 19:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885921280001,"power":25995,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901786901564121088}} 
[2026-09-05 19:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":171874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:40:33] local.INFO: GPS data processed {"connection_id":171874,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:40:33] local.INFO: Acknowledgment sent {"connection_id":171874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:40:42] local.INFO: TCP Data received {"connection_id":171875,"ip":"117.224.210.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171875,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:40:42] local.INFO: Processing buffer {"connection_id":171875,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:40:42] local.INFO: IMEI packet received {"connection_id":171875,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 19:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":171875,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:40:44] local.INFO: TCP Data received {"connection_id":171875,"ip":"117.224.210.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171875,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:40:44] local.INFO: Processing buffer {"connection_id":171875,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:40:44] local.INFO: IMEI packet received {"connection_id":171875,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":171875,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:40:45] local.INFO: TCP Data received {"connection_id":171875,"ip":"117.224.210.99","data_length":795,"data_hex":"000000000000030f8e0a000001a071e5b290012c57a90008bf33600023007531..."} 
[2026-09-05 19:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e5b290012c57a90008bf33600023007531..."} 
[2026-09-05 19:40:45] local.INFO: Processing buffer {"connection_id":171875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e5b290012c57a90008bf33600023007531..."} 
[2026-09-05 19:40:45] local.INFO: Packet analysis {"connection_id":171875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e5"} 
[2026-09-05 19:40:45] local.INFO: Extracted packet for processing {"connection_id":171875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e5"} 
[2026-09-05 19:40:45] local.INFO: GPS Element Parsed {"raw_longitude":743942400,"raw_latitude":146748256,"longitude_deg":74.39424,"latitude_deg":14.6748256,"altitude":35,"angle":117,"satellites":49,"speed":32,"hex_longitude":"2c57a900","hex_latitude":"08bf3360","is_valid_coordinates":true} 
[2026-09-05 19:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886018048001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:40:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6302224766121979904,"note":"Value kept but may cause issues"} 
[2026-09-05 19:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,104,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788617274000,"timestamp_ms":1788617274000,"timestamp_seconds":1788617274,"priority":1,"record_length":96,"hex_timestamp":"000001a071e5b290"} 
[2026-09-05 19:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-05 19:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:40:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":171875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":171875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":171875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.210.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886018048001,"66":27604,"203":206,"104":45568,"24":32,"16":1656792224366592,"44":6302224766121979904},"client_ip":"117.224.210.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,104,24,16,44]} 
[2026-09-05 19:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886018048001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:40:45] local.INFO: Unknown IO ID detected {"io_id":104,"value":45568,"description":"Unknown IO ID 104"} 
[2026-09-05 19:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656792224366592,"km_value":1656792224366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:40:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":6302224766121979904,"description":"Unknown IO ID 44"} 
[2026-09-05 19:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886018048001,"power":27604,"mnc":206,"unknown_104":45568,"ignition":32,"odometer":null,"unknown_44":6302224766121979904}} 
[2026-09-05 19:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":171875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770945,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:40:46] local.INFO: GPS data processed {"connection_id":171875,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:40:46] local.INFO: Acknowledgment sent {"connection_id":171875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:40:55] local.INFO: TCP Data received {"connection_id":174576,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:40:55] local.INFO: Processing buffer {"connection_id":174576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:40:55] local.INFO: IMEI packet received {"connection_id":174576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":174576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:41:00] local.INFO: TCP Data received {"connection_id":174576,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:41:00] local.INFO: Processing buffer {"connection_id":174576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:41:00] local.INFO: IMEI packet received {"connection_id":174576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":174576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:41:01] local.INFO: TCP Data received {"connection_id":174576,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071e44f18012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e44f18012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:41:01] local.INFO: Processing buffer {"connection_id":174576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e44f18012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:41:01] local.INFO: Packet analysis {"connection_id":174576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e4"} 
[2026-09-05 19:41:01] local.INFO: Extracted packet for processing {"connection_id":174576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e4"} 
[2026-09-05 19:41:01] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885921280001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901564121088,"note":"Value kept but may cause issues"} 
[2026-09-05 19:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788617183000,"timestamp_ms":1788617183000,"timestamp_seconds":1788617183,"priority":1,"record_length":96,"hex_timestamp":"000001a071e44f18"} 
[2026-09-05 19:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:41:01] 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-09-05 19:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-05 19:41:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:41:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885921280001,"66":25995,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901786901564121088},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885921280001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:41:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:41:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901564121088,"description":"Unknown IO ID 45"} 
[2026-09-05 19:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885921280001,"power":25995,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901786901564121088}} 
[2026-09-05 19:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":174576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:41:01] local.INFO: GPS data processed {"connection_id":174576,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:41:01] local.INFO: Acknowledgment sent {"connection_id":174576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:41:21] local.INFO: TCP Data received {"connection_id":171875,"ip":"117.224.210.99","data_length":795,"data_hex":"000000000000030f8e0a000001a071e60498012c57eb8008bf1130002000752f..."} 
[2026-09-05 19:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e60498012c57eb8008bf1130002000752f..."} 
[2026-09-05 19:41:21] local.INFO: Processing buffer {"connection_id":171875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e60498012c57eb8008bf1130002000752f..."} 
[2026-09-05 19:41:21] local.INFO: Packet analysis {"connection_id":171875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e6"} 
[2026-09-05 19:41:21] local.INFO: Extracted packet for processing {"connection_id":171875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e6"} 
[2026-09-05 19:41:21] local.INFO: GPS Element Parsed {"raw_longitude":743959424,"raw_latitude":146739504,"longitude_deg":74.3959424,"latitude_deg":14.6739504,"altitude":32,"angle":117,"satellites":47,"speed":0,"hex_longitude":"2c57eb80","hex_latitude":"08bf1130","is_valid_coordinates":true} 
[2026-09-05 19:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886022144001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:41:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6316579989931384832,"note":"Value kept but may cause issues"} 
[2026-09-05 19:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,104,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788617295000,"timestamp_ms":1788617295000,"timestamp_seconds":1788617295,"priority":1,"record_length":96,"hex_timestamp":"000001a071e60498"} 
[2026-09-05 19:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:41: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-09-05 19:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-05 19:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:41:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.210.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886022144001,"66":27615,"203":206,"104":45568,"24":0,"16":1656792224366592,"44":6316579989931384832},"client_ip":"117.224.210.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,104,24,16,44]} 
[2026-09-05 19:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886022144001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:41:21] local.INFO: Unknown IO ID detected {"io_id":104,"value":45568,"description":"Unknown IO ID 104"} 
[2026-09-05 19:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656792224366592,"km_value":1656792224366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:41:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":6316579989931384832,"description":"Unknown IO ID 44"} 
[2026-09-05 19:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886022144001,"power":27615,"mnc":206,"unknown_104":45568,"ignition":0,"odometer":null,"unknown_44":6316579989931384832}} 
[2026-09-05 19:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":171875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770947,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:41:21] local.INFO: GPS data processed {"connection_id":171875,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:41:21] local.INFO: Acknowledgment sent {"connection_id":171875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:41:33] local.INFO: TCP Data received {"connection_id":174576,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071e44f18012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e44f18012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:41:33] local.INFO: Processing buffer {"connection_id":174576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e44f18012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:41:33] local.INFO: Packet analysis {"connection_id":174576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e4"} 
[2026-09-05 19:41:33] local.INFO: Extracted packet for processing {"connection_id":174576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e4"} 
[2026-09-05 19:41:33] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 19:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885921280001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901564121088,"note":"Value kept but may cause issues"} 
[2026-09-05 19:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788617183000,"timestamp_ms":1788617183000,"timestamp_seconds":1788617183,"priority":1,"record_length":96,"hex_timestamp":"000001a071e44f18"} 
[2026-09-05 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-09-05 19:41: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-09-05 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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-05 19:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 19:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885921280001,"66":25995,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8901786901564121088},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885921280001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:41:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:41:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901564121088,"description":"Unknown IO ID 45"} 
[2026-09-05 19:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885921280001,"power":25995,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8901786901564121088}} 
[2026-09-05 19:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":174576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:41:33] local.INFO: GPS data processed {"connection_id":174576,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:41:33] local.INFO: Acknowledgment sent {"connection_id":174576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:41:46] local.INFO: TCP Data received {"connection_id":171876,"ip":"117.224.210.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:41:46] local.INFO: Processing buffer {"connection_id":171876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:41:46] local.INFO: IMEI packet received {"connection_id":171876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 19:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":171876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:41:51] local.INFO: TCP Data received {"connection_id":171876,"ip":"117.224.210.99","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:41:51] local.INFO: Processing buffer {"connection_id":171876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 19:41:51] local.INFO: IMEI packet received {"connection_id":171876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 19:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":171876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:41:52] local.INFO: TCP Data received {"connection_id":171876,"ip":"117.224.210.99","data_length":795,"data_hex":"000000000000030f8e0a000001a071e656a0012c582dc008beef90001e007631..."} 
[2026-09-05 19:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e656a0012c582dc008beef90001e007631..."} 
[2026-09-05 19:41:52] local.INFO: Processing buffer {"connection_id":171876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e656a0012c582dc008beef90001e007631..."} 
[2026-09-05 19:41:52] local.INFO: Packet analysis {"connection_id":171876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e6"} 
[2026-09-05 19:41:52] local.INFO: Extracted packet for processing {"connection_id":171876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e6"} 
[2026-09-05 19:41:52] local.INFO: GPS Element Parsed {"raw_longitude":743976384,"raw_latitude":146730896,"longitude_deg":74.3976384,"latitude_deg":14.6730896,"altitude":30,"angle":118,"satellites":49,"speed":0,"hex_longitude":"2c582dc0","hex_latitude":"08beef90","is_valid_coordinates":true} 
[2026-09-05 19:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886027520001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:41:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6335298075880402944,"note":"Value kept but may cause issues"} 
[2026-09-05 19:41:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,104,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788617316000,"timestamp_ms":1788617316000,"timestamp_seconds":1788617316,"priority":1,"record_length":96,"hex_timestamp":"000001a071e656a0"} 
[2026-09-05 19:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:41:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-05 19:41:52] 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-09-05 19:41:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":171876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":171876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":171876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:41:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.210.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886027520001,"66":27691,"203":206,"104":45568,"24":0,"16":1656792224366592,"44":6335298075880402944},"client_ip":"117.224.210.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,104,24,16,44]} 
[2026-09-05 19:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886027520001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:41:52] local.INFO: Unknown IO ID detected {"io_id":104,"value":45568,"description":"Unknown IO ID 104"} 
[2026-09-05 19:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656792224366592,"km_value":1656792224366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:41:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":6335298075880402944,"description":"Unknown IO ID 44"} 
[2026-09-05 19:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886027520001,"power":27691,"mnc":206,"unknown_104":45568,"ignition":0,"odometer":null,"unknown_44":6335298075880402944}} 
[2026-09-05 19:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":171876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770949,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:41:52] local.INFO: GPS data processed {"connection_id":171876,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:41:52] local.INFO: Acknowledgment sent {"connection_id":171876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:42:00] local.INFO: TCP Data received {"connection_id":174577,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:42:01] local.INFO: Processing buffer {"connection_id":174577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:42:01] local.INFO: IMEI packet received {"connection_id":174577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":174577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:42:02] local.INFO: TCP Data received {"connection_id":174577,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:42:02] local.INFO: Processing buffer {"connection_id":174577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:42:02] local.INFO: IMEI packet received {"connection_id":174577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":174577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:42:03] local.INFO: TCP Data received {"connection_id":174577,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071e8e6e0012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e8e6e0012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:42:03] local.INFO: Processing buffer {"connection_id":174577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e8e6e0012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:42:03] local.INFO: Packet analysis {"connection_id":174577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e8"} 
[2026-09-05 19:42:03] local.INFO: Extracted packet for processing {"connection_id":174577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e8"} 
[2026-09-05 19:42:03] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885998848001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788617484000,"timestamp_ms":1788617484000,"timestamp_seconds":1788617484,"priority":1,"record_length":96,"hex_timestamp":"000001a071e8e6e0"} 
[2026-09-05 19:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:42: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-09-05 19: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":139,"data_length":795,"current_offset":136} 
[2026-09-05 19:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885998848001,"66":25875,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885998848001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:42:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:42:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885998848001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":174577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:42:03] local.INFO: GPS data processed {"connection_id":174577,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:42:03] local.INFO: Acknowledgment sent {"connection_id":174577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:42:06] local.INFO: TCP Data received {"connection_id":174577,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071e8e6e0012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e8e6e0012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:42:06] local.INFO: Processing buffer {"connection_id":174577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e8e6e0012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:42:06] local.INFO: Packet analysis {"connection_id":174577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e8"} 
[2026-09-05 19:42:06] local.INFO: Extracted packet for processing {"connection_id":174577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e8"} 
[2026-09-05 19:42:06] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885998848001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788617484000,"timestamp_ms":1788617484000,"timestamp_seconds":1788617484,"priority":1,"record_length":96,"hex_timestamp":"000001a071e8e6e0"} 
[2026-09-05 19:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:42:06] 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-09-05 19: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 19:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885998848001,"66":25875,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885998848001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:42:06] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:42:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885998848001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":174577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:42:06] local.INFO: GPS data processed {"connection_id":174577,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:42:06] local.INFO: Acknowledgment sent {"connection_id":174577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:42:24] local.INFO: TCP Data received {"connection_id":171876,"ip":"117.224.210.99","data_length":795,"data_hex":"000000000000030f8e0a000001a071e6a8a8012c586cc008bed0a0002100762f..."} 
[2026-09-05 19:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e6a8a8012c586cc008bed0a0002100762f..."} 
[2026-09-05 19:42:24] local.INFO: Processing buffer {"connection_id":171876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e6a8a8012c586cc008bed0a0002100762f..."} 
[2026-09-05 19:42:24] local.INFO: Packet analysis {"connection_id":171876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e6"} 
[2026-09-05 19:42:24] local.INFO: Extracted packet for processing {"connection_id":171876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e6"} 
[2026-09-05 19:42:24] local.INFO: GPS Element Parsed {"raw_longitude":743992512,"raw_latitude":146722976,"longitude_deg":74.3992512,"latitude_deg":14.6722976,"altitude":33,"angle":118,"satellites":47,"speed":0,"hex_longitude":"2c586cc0","hex_latitude":"08bed0a0","is_valid_coordinates":true} 
[2026-09-05 19:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886032896001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1656792224366592,"note":"Value kept but may cause issues"} 
[2026-09-05 19:42:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6353945793085280256,"note":"Value kept but may cause issues"} 
[2026-09-05 19:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788617337000,"timestamp_ms":1788617337000,"timestamp_seconds":1788617337,"priority":1,"record_length":96,"hex_timestamp":"000001a071e6a8a8"} 
[2026-09-05 19:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:42:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-05 19:42:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 19:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.210.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 19:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 19:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886032896001,"66":27430,"95":206,"9":55808,"24":0,"16":1656792224366592,"44":6353945793085280256},"client_ip":"117.224.210.99","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,9,24,16,44]} 
[2026-09-05 19:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 19:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 19:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886032896001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:42:24] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-05 19:42:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 19:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1656792224366592,"km_value":1656792224366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:42:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":6353945793085280256,"description":"Unknown IO ID 44"} 
[2026-09-05 19:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886032896001,"power":27430,"unknown_95":206,"unknown_9":55808,"ignition":0,"odometer":null,"unknown_44":6353945793085280256}} 
[2026-09-05 19:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":171876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770952,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:42:24] local.INFO: GPS data processed {"connection_id":171876,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:42:24] local.INFO: Acknowledgment sent {"connection_id":171876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:42:37] local.INFO: TCP Data received {"connection_id":174577,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071e8e6e0012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e8e6e0012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:42:37] local.INFO: Processing buffer {"connection_id":174577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e8e6e0012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:42:37] local.INFO: Packet analysis {"connection_id":174577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e8"} 
[2026-09-05 19:42:37] local.INFO: Extracted packet for processing {"connection_id":174577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e8"} 
[2026-09-05 19:42:37] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885998848001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788617484000,"timestamp_ms":1788617484000,"timestamp_seconds":1788617484,"priority":1,"record_length":96,"hex_timestamp":"000001a071e8e6e0"} 
[2026-09-05 19:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:42:37] 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-09-05 19:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 19:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885998848001,"66":25875,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885998848001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:42:37] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:42:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885998848001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":174577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:42:37] local.INFO: GPS data processed {"connection_id":174577,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:42:37] local.INFO: Acknowledgment sent {"connection_id":174577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:42:55] local.INFO: TCP Data received {"connection_id":172138,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:42:55] local.INFO: Processing buffer {"connection_id":172138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:42:55] local.INFO: IMEI packet received {"connection_id":172138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":172138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:43:00] local.INFO: TCP Data received {"connection_id":172138,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:43:00] local.INFO: Processing buffer {"connection_id":172138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:43:00] local.INFO: IMEI packet received {"connection_id":172138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":172138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:43:02] local.INFO: TCP Data received {"connection_id":172138,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071e8e6e0012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e8e6e0012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:43:02] local.INFO: Processing buffer {"connection_id":172138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e8e6e0012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:43:02] local.INFO: Packet analysis {"connection_id":172138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e8"} 
[2026-09-05 19:43:02] local.INFO: Extracted packet for processing {"connection_id":172138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e8"} 
[2026-09-05 19:43:02] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885998848001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788617484000,"timestamp_ms":1788617484000,"timestamp_seconds":1788617484,"priority":1,"record_length":96,"hex_timestamp":"000001a071e8e6e0"} 
[2026-09-05 19:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:43:02] 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-09-05 19:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 19:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885998848001,"66":25875,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885998848001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:43:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:43:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885998848001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":172138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:43:02] local.INFO: GPS data processed {"connection_id":172138,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:43:02] local.INFO: Acknowledgment sent {"connection_id":172138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:43:33] local.INFO: TCP Data received {"connection_id":172138,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071e8e6e0012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e8e6e0012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:43:33] local.INFO: Processing buffer {"connection_id":172138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e8e6e0012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:43:33] local.INFO: Packet analysis {"connection_id":172138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e8"} 
[2026-09-05 19:43:33] local.INFO: Extracted packet for processing {"connection_id":172138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e8"} 
[2026-09-05 19:43:33] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 19:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885998848001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788617484000,"timestamp_ms":1788617484000,"timestamp_seconds":1788617484,"priority":1,"record_length":96,"hex_timestamp":"000001a071e8e6e0"} 
[2026-09-05 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-09-05 19:43: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-09-05 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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 19:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 19:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885998848001,"66":25875,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885998848001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:43:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:43:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885998848001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":172138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:43:33] local.INFO: GPS data processed {"connection_id":172138,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:43:33] local.INFO: Acknowledgment sent {"connection_id":172138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:43:55] local.INFO: TCP Data received {"connection_id":174578,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:43:55] local.INFO: Processing buffer {"connection_id":174578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:43:55] local.INFO: IMEI packet received {"connection_id":174578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":174578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:44:00] local.INFO: TCP Data received {"connection_id":174578,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:44:00] local.INFO: Processing buffer {"connection_id":174578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:44:00] local.INFO: IMEI packet received {"connection_id":174578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":174578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:44:01] local.INFO: TCP Data received {"connection_id":174578,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071e8e6e0012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e8e6e0012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:44:01] local.INFO: Processing buffer {"connection_id":174578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e8e6e0012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:44:01] local.INFO: Packet analysis {"connection_id":174578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e8"} 
[2026-09-05 19:44:01] local.INFO: Extracted packet for processing {"connection_id":174578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e8"} 
[2026-09-05 19:44:01] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885998848001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788617484000,"timestamp_ms":1788617484000,"timestamp_seconds":1788617484,"priority":1,"record_length":96,"hex_timestamp":"000001a071e8e6e0"} 
[2026-09-05 19:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:44:01] 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-09-05 19:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 19:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885998848001,"66":25875,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885998848001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:44:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:44:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885998848001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":174578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:44:01] local.INFO: GPS data processed {"connection_id":174578,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:44:01] local.INFO: Acknowledgment sent {"connection_id":174578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:44:32] local.INFO: TCP Data received {"connection_id":174578,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071e8e6e0012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e8e6e0012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:44:32] local.INFO: Processing buffer {"connection_id":174578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e8e6e0012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:44:32] local.INFO: Packet analysis {"connection_id":174578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e8"} 
[2026-09-05 19:44:32] local.INFO: Extracted packet for processing {"connection_id":174578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e8"} 
[2026-09-05 19:44:32] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 19:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885998848001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788617484000,"timestamp_ms":1788617484000,"timestamp_seconds":1788617484,"priority":1,"record_length":96,"hex_timestamp":"000001a071e8e6e0"} 
[2026-09-05 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-09-05 19:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 19:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 19:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885998848001,"66":25875,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885998848001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:44:32] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:44:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885998848001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":174578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:44:32] local.INFO: GPS data processed {"connection_id":174578,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:44:32] local.INFO: Acknowledgment sent {"connection_id":174578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:44:55] local.INFO: TCP Data received {"connection_id":172139,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:44:55] local.INFO: Processing buffer {"connection_id":172139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:44:55] local.INFO: IMEI packet received {"connection_id":172139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":172139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:45:00] local.INFO: TCP Data received {"connection_id":172139,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:45:01] local.INFO: Processing buffer {"connection_id":172139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:45:01] local.INFO: IMEI packet received {"connection_id":172139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":172139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:45:01] local.INFO: TCP Data received {"connection_id":172139,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071e8e6e0012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e8e6e0012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:45:02] local.INFO: Processing buffer {"connection_id":172139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e8e6e0012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:45:02] local.INFO: Packet analysis {"connection_id":172139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e8"} 
[2026-09-05 19:45:02] local.INFO: Extracted packet for processing {"connection_id":172139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e8"} 
[2026-09-05 19:45:02] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 19:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885998848001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788617484000,"timestamp_ms":1788617484000,"timestamp_seconds":1788617484,"priority":1,"record_length":96,"hex_timestamp":"000001a071e8e6e0"} 
[2026-09-05 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-09-05 19:45:02] 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-09-05 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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 19:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 19:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885998848001,"66":25875,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885998848001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:45:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:45:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885998848001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":172139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:45:02] local.INFO: GPS data processed {"connection_id":172139,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:45:02] local.INFO: Acknowledgment sent {"connection_id":172139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:45:33] local.INFO: TCP Data received {"connection_id":172139,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071e8e6e0012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e8e6e0012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:45:33] local.INFO: Processing buffer {"connection_id":172139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e8e6e0012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:45:33] local.INFO: Packet analysis {"connection_id":172139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e8"} 
[2026-09-05 19:45:33] local.INFO: Extracted packet for processing {"connection_id":172139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e8"} 
[2026-09-05 19:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885998848001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788617484000,"timestamp_ms":1788617484000,"timestamp_seconds":1788617484,"priority":1,"record_length":96,"hex_timestamp":"000001a071e8e6e0"} 
[2026-09-05 19:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:45: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-09-05 19: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 19:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885998848001,"66":25875,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885998848001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:45:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:45:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885998848001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":172139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:45:33] local.INFO: GPS data processed {"connection_id":172139,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:45:33] local.INFO: Acknowledgment sent {"connection_id":172139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:45:49] local.INFO: TCP Data received {"connection_id":173265,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:45:49] local.INFO: Processing buffer {"connection_id":173265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:45:49] local.INFO: IMEI packet received {"connection_id":173265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":173265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:45:54] local.INFO: TCP Data received {"connection_id":173265,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:45:54] local.INFO: Processing buffer {"connection_id":173265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:45:54] local.INFO: IMEI packet received {"connection_id":173265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":173265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:45:55] local.INFO: TCP Data received {"connection_id":173265,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071e76428012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e76428012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:45:55] local.INFO: Processing buffer {"connection_id":173265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e76428012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:45:55] local.INFO: Packet analysis {"connection_id":173265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e7"} 
[2026-09-05 19:45:55] local.INFO: Extracted packet for processing {"connection_id":173265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e7"} 
[2026-09-05 19:45:55] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886050560001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788617385000,"timestamp_ms":1788617385000,"timestamp_seconds":1788617385,"priority":1,"record_length":96,"hex_timestamp":"000001a071e76428"} 
[2026-09-05 19:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 19:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 19:45:55] 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-09-05 19:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886050560001,"66":12428,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886050560001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:45:55] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:45:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886050560001,"power":12428,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":173265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:45:55] local.INFO: GPS data processed {"connection_id":173265,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:45:55] local.INFO: Acknowledgment sent {"connection_id":173265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:45:55] local.INFO: TCP Data received {"connection_id":173266,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:45:55] local.INFO: Processing buffer {"connection_id":173266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:45:55] local.INFO: IMEI packet received {"connection_id":173266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":173266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:46:01] local.INFO: TCP Data received {"connection_id":173266,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:46:01] local.INFO: Processing buffer {"connection_id":173266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:46:01] local.INFO: IMEI packet received {"connection_id":173266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":173266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:46:02] local.INFO: TCP Data received {"connection_id":173266,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071e8e6e0012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e8e6e0012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:46:02] local.INFO: Processing buffer {"connection_id":173266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e8e6e0012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:46:02] local.INFO: Packet analysis {"connection_id":173266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e8"} 
[2026-09-05 19:46:02] local.INFO: Extracted packet for processing {"connection_id":173266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e8"} 
[2026-09-05 19:46:02] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885998848001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788617484000,"timestamp_ms":1788617484000,"timestamp_seconds":1788617484,"priority":1,"record_length":96,"hex_timestamp":"000001a071e8e6e0"} 
[2026-09-05 19:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:46:02] 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-09-05 19: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 19:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885998848001,"66":25875,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885998848001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:46:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:46:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885998848001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":173266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:46:02] local.INFO: GPS data processed {"connection_id":173266,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:46:02] local.INFO: Acknowledgment sent {"connection_id":173266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:46:27] local.INFO: TCP Data received {"connection_id":173265,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071e76428012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e76428012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:46:27] local.INFO: Processing buffer {"connection_id":173265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e76428012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:46:27] local.INFO: Packet analysis {"connection_id":173265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e7"} 
[2026-09-05 19:46:27] local.INFO: Extracted packet for processing {"connection_id":173265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e7"} 
[2026-09-05 19:46:27] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886050560001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788617385000,"timestamp_ms":1788617385000,"timestamp_seconds":1788617385,"priority":1,"record_length":96,"hex_timestamp":"000001a071e76428"} 
[2026-09-05 19:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 19:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 19:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886050560001,"66":12428,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886050560001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:46:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:46:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886050560001,"power":12428,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":173265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:46:27] local.INFO: GPS data processed {"connection_id":173265,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:46:27] local.INFO: Acknowledgment sent {"connection_id":173265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:46:33] local.INFO: TCP Data received {"connection_id":173266,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071e8e6e0012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e8e6e0012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:46:33] local.INFO: Processing buffer {"connection_id":173266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e8e6e0012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:46:33] local.INFO: Packet analysis {"connection_id":173266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e8"} 
[2026-09-05 19:46:33] local.INFO: Extracted packet for processing {"connection_id":173266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e8"} 
[2026-09-05 19:46:33] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457885998848001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788617484000,"timestamp_ms":1788617484000,"timestamp_seconds":1788617484,"priority":1,"record_length":96,"hex_timestamp":"000001a071e8e6e0"} 
[2026-09-05 19:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:46: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-09-05 19: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 19:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457885998848001,"66":25875,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457885998848001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:46:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:46:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457885998848001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":173266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:46:33] local.INFO: GPS data processed {"connection_id":173266,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:46:33] local.INFO: Acknowledgment sent {"connection_id":173266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:46:44] local.INFO: TCP Data received {"connection_id":171877,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:46:44] local.INFO: Processing buffer {"connection_id":171877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:46:44] local.INFO: IMEI packet received {"connection_id":171877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":171877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:46:49] local.INFO: TCP Data received {"connection_id":171877,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:46:49] local.INFO: Processing buffer {"connection_id":171877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:46:49] local.INFO: IMEI packet received {"connection_id":171877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":171877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:46:50] local.INFO: TCP Data received {"connection_id":171877,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071e76810012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e76810012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:46:50] local.INFO: Processing buffer {"connection_id":171877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e76810012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:46:50] local.INFO: Packet analysis {"connection_id":171877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e7"} 
[2026-09-05 19:46:50] local.INFO: Extracted packet for processing {"connection_id":171877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e7"} 
[2026-09-05 19:46:50] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886050560001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788617386000,"timestamp_ms":1788617386000,"timestamp_seconds":1788617386,"priority":1,"record_length":96,"hex_timestamp":"000001a071e76810"} 
[2026-09-05 19:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 19:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 19:46:50] 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-09-05 19:46:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886050560001,"66":12428,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886050560001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:46:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:46:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886050560001,"power":12428,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":171877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:46:50] local.INFO: GPS data processed {"connection_id":171877,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:46:50] local.INFO: Acknowledgment sent {"connection_id":171877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:47:00] local.INFO: TCP Data received {"connection_id":174579,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:47:00] local.INFO: Processing buffer {"connection_id":174579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:47:00] local.INFO: IMEI packet received {"connection_id":174579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":174579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:47:03] local.INFO: TCP Data received {"connection_id":174579,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:47:03] local.INFO: Processing buffer {"connection_id":174579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:47:03] local.INFO: IMEI packet received {"connection_id":174579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":174579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:47:04] local.INFO: TCP Data received {"connection_id":174579,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071ed7ea8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ed7ea8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:47:04] local.INFO: Processing buffer {"connection_id":174579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ed7ea8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:47:04] local.INFO: Packet analysis {"connection_id":174579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ed"} 
[2026-09-05 19:47:04] local.INFO: Extracted packet for processing {"connection_id":174579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ed"} 
[2026-09-05 19:47:04] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886075904001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788617785000,"timestamp_ms":1788617785000,"timestamp_seconds":1788617785,"priority":1,"record_length":96,"hex_timestamp":"000001a071ed7ea8"} 
[2026-09-05 19:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:47: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-09-05 19:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 19:47:04] 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-09-05 19:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886075904001,"66":25875,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886075904001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:47:04] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:47:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886075904001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":174579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:47:04] local.INFO: GPS data processed {"connection_id":174579,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:47:04] local.INFO: Acknowledgment sent {"connection_id":174579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:47:05] local.INFO: TCP Data received {"connection_id":174579,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071ed7ea8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ed7ea8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:47:05] local.INFO: Processing buffer {"connection_id":174579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ed7ea8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:47:05] local.INFO: Packet analysis {"connection_id":174579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ed"} 
[2026-09-05 19:47:05] local.INFO: Extracted packet for processing {"connection_id":174579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ed"} 
[2026-09-05 19:47:05] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886075904001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788617785000,"timestamp_ms":1788617785000,"timestamp_seconds":1788617785,"priority":1,"record_length":96,"hex_timestamp":"000001a071ed7ea8"} 
[2026-09-05 19:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 19:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 19:47:05] 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-09-05 19:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886075904001,"66":25875,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886075904001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:47:05] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:47:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886075904001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":174579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:47:05] local.INFO: GPS data processed {"connection_id":174579,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:47:05] local.INFO: Acknowledgment sent {"connection_id":174579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:47:22] local.INFO: TCP Data received {"connection_id":171877,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071e76810012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e76810012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:47:22] local.INFO: Processing buffer {"connection_id":171877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e76810012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:47:22] local.INFO: Packet analysis {"connection_id":171877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e7"} 
[2026-09-05 19:47:22] local.INFO: Extracted packet for processing {"connection_id":171877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e7"} 
[2026-09-05 19:47:22] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886050560001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788617386000,"timestamp_ms":1788617386000,"timestamp_seconds":1788617386,"priority":1,"record_length":96,"hex_timestamp":"000001a071e76810"} 
[2026-09-05 19:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 19:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 19:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886050560001,"66":12428,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886050560001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:47:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:47:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886050560001,"power":12428,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":171877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:47:22] local.INFO: GPS data processed {"connection_id":171877,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:47:22] local.INFO: Acknowledgment sent {"connection_id":171877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:47:37] local.INFO: TCP Data received {"connection_id":174579,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071ed7ea8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ed7ea8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:47:37] local.INFO: Processing buffer {"connection_id":174579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ed7ea8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:47:37] local.INFO: Packet analysis {"connection_id":174579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ed"} 
[2026-09-05 19:47:37] local.INFO: Extracted packet for processing {"connection_id":174579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ed"} 
[2026-09-05 19:47:37] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886075904001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788617785000,"timestamp_ms":1788617785000,"timestamp_seconds":1788617785,"priority":1,"record_length":96,"hex_timestamp":"000001a071ed7ea8"} 
[2026-09-05 19:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 19:47:37] 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-09-05 19: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-09-05 19:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886075904001,"66":25875,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886075904001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:47:37] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:47:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886075904001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":174579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:47:37] local.INFO: GPS data processed {"connection_id":174579,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:47:37] local.INFO: Acknowledgment sent {"connection_id":174579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:47:55] local.INFO: TCP Data received {"connection_id":172140,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:47:55] local.INFO: Processing buffer {"connection_id":172140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:47:55] local.INFO: IMEI packet received {"connection_id":172140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":172140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:48:00] local.INFO: TCP Data received {"connection_id":172140,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:48:00] local.INFO: Processing buffer {"connection_id":172140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:48:00] local.INFO: IMEI packet received {"connection_id":172140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":172140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:48:02] local.INFO: TCP Data received {"connection_id":172140,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071ed7ea8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ed7ea8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:48:02] local.INFO: Processing buffer {"connection_id":172140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ed7ea8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:48:02] local.INFO: Packet analysis {"connection_id":172140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ed"} 
[2026-09-05 19:48:02] local.INFO: Extracted packet for processing {"connection_id":172140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ed"} 
[2026-09-05 19:48:02] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886075904001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788617785000,"timestamp_ms":1788617785000,"timestamp_seconds":1788617785,"priority":1,"record_length":96,"hex_timestamp":"000001a071ed7ea8"} 
[2026-09-05 19:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:48:02] 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-09-05 19:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 19:48: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-09-05 19: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-09-05 19:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886075904001,"66":25875,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886075904001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:48:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:48:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886075904001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":172140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:48:02] local.INFO: GPS data processed {"connection_id":172140,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:48:02] local.INFO: Acknowledgment sent {"connection_id":172140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:48:33] local.INFO: TCP Data received {"connection_id":172140,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071ed7ea8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ed7ea8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:48:33] local.INFO: Processing buffer {"connection_id":172140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ed7ea8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:48:33] local.INFO: Packet analysis {"connection_id":172140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ed"} 
[2026-09-05 19:48:33] local.INFO: Extracted packet for processing {"connection_id":172140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ed"} 
[2026-09-05 19:48:33] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886075904001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788617785000,"timestamp_ms":1788617785000,"timestamp_seconds":1788617785,"priority":1,"record_length":96,"hex_timestamp":"000001a071ed7ea8"} 
[2026-09-05 19:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 19:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886075904001,"66":25875,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886075904001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:48:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:48:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886075904001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":172140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:48:33] local.INFO: GPS data processed {"connection_id":172140,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:48:33] local.INFO: Acknowledgment sent {"connection_id":172140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:48:56] local.INFO: TCP Data received {"connection_id":171878,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:48:56] local.INFO: Processing buffer {"connection_id":171878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:48:56] local.INFO: IMEI packet received {"connection_id":171878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":171878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:48:59] local.INFO: TCP Data received {"connection_id":171879,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:48:59] local.INFO: Processing buffer {"connection_id":171879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:48:59] local.INFO: IMEI packet received {"connection_id":171879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":171879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:49:00] local.INFO: TCP Data received {"connection_id":171878,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:49:00] local.INFO: Processing buffer {"connection_id":171878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:49:00] local.INFO: IMEI packet received {"connection_id":171878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":171878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:49:01] local.INFO: TCP Data received {"connection_id":171878,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071ed7ea8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ed7ea8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:49:01] local.INFO: Processing buffer {"connection_id":171878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ed7ea8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:49:01] local.INFO: Packet analysis {"connection_id":171878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ed"} 
[2026-09-05 19:49:01] local.INFO: Extracted packet for processing {"connection_id":171878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ed"} 
[2026-09-05 19:49:01] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886075904001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788617785000,"timestamp_ms":1788617785000,"timestamp_seconds":1788617785,"priority":1,"record_length":96,"hex_timestamp":"000001a071ed7ea8"} 
[2026-09-05 19:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:49:01] 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-09-05 19:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 19:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886075904001,"66":25875,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886075904001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:49:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:49:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886075904001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":171878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:49:01] local.INFO: GPS data processed {"connection_id":171878,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:49:01] local.INFO: Acknowledgment sent {"connection_id":171878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:49:04] local.INFO: TCP Data received {"connection_id":171879,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:49:04] local.INFO: Processing buffer {"connection_id":171879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:49:04] local.INFO: IMEI packet received {"connection_id":171879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":171879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:49:09] local.INFO: TCP Data received {"connection_id":171879,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071e76810012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e76810012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:49:09] local.INFO: Processing buffer {"connection_id":171879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e76810012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:49:09] local.INFO: Packet analysis {"connection_id":171879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e7"} 
[2026-09-05 19:49:09] local.INFO: Extracted packet for processing {"connection_id":171879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e7"} 
[2026-09-05 19:49:09] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:49: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-09-05 19:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886050560001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788617386000,"timestamp_ms":1788617386000,"timestamp_seconds":1788617386,"priority":1,"record_length":96,"hex_timestamp":"000001a071e76810"} 
[2026-09-05 19:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:49: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-09-05 19:49: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-09-05 19:49: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-09-05 19:49: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-09-05 19:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":171879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":171879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":171879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886050560001,"66":12428,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886050560001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:49:09] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:49:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886050560001,"power":12428,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":171879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:49:09] local.INFO: GPS data processed {"connection_id":171879,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:49:09] local.INFO: Acknowledgment sent {"connection_id":171879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:49:11] local.INFO: TCP Data received {"connection_id":171879,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071e76810012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e76810012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:49:11] local.INFO: Processing buffer {"connection_id":171879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e76810012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:49:11] local.INFO: Packet analysis {"connection_id":171879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e7"} 
[2026-09-05 19:49:11] local.INFO: Extracted packet for processing {"connection_id":171879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e7"} 
[2026-09-05 19:49:11] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886050560001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788617386000,"timestamp_ms":1788617386000,"timestamp_seconds":1788617386,"priority":1,"record_length":96,"hex_timestamp":"000001a071e76810"} 
[2026-09-05 19:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 19:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 19:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":171879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":171879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":171879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886050560001,"66":12428,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886050560001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:49:11] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:49:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886050560001,"power":12428,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":171879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:49:11] local.INFO: GPS data processed {"connection_id":171879,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:49:11] local.INFO: Acknowledgment sent {"connection_id":171879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:49:33] local.INFO: TCP Data received {"connection_id":171878,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071ed7ea8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ed7ea8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:49:33] local.INFO: Processing buffer {"connection_id":171878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ed7ea8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:49:33] local.INFO: Packet analysis {"connection_id":171878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ed"} 
[2026-09-05 19:49:33] local.INFO: Extracted packet for processing {"connection_id":171878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ed"} 
[2026-09-05 19:49:33] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886075904001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788617785000,"timestamp_ms":1788617785000,"timestamp_seconds":1788617785,"priority":1,"record_length":96,"hex_timestamp":"000001a071ed7ea8"} 
[2026-09-05 19:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 19:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886075904001,"66":25875,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886075904001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:49:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:49:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886075904001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":171878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:49:33] local.INFO: GPS data processed {"connection_id":171878,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:49:33] local.INFO: Acknowledgment sent {"connection_id":171878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:49:44] local.INFO: TCP Data received {"connection_id":173267,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:49:44] local.INFO: Processing buffer {"connection_id":173267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:49:44] local.INFO: IMEI packet received {"connection_id":173267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":173267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:49:51] local.INFO: TCP Data received {"connection_id":173267,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:49:51] local.INFO: Processing buffer {"connection_id":173267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:49:51] local.INFO: IMEI packet received {"connection_id":173267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":173267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:49:52] local.INFO: TCP Data received {"connection_id":173267,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071e76810012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071e76810012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:49:52] local.INFO: Processing buffer {"connection_id":173267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071e76810012d1d9000071b2de8003f012829..."} 
[2026-09-05 19:49:52] local.INFO: Packet analysis {"connection_id":173267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071e7"} 
[2026-09-05 19:49:52] local.INFO: Extracted packet for processing {"connection_id":173267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071e7"} 
[2026-09-05 19:49:52] local.INFO: GPS Element Parsed {"raw_longitude":756912128,"raw_latitude":119221736,"longitude_deg":75.6912128,"latitude_deg":11.9221736,"altitude":63,"angle":296,"satellites":41,"speed":0,"hex_longitude":"2d1d9000","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-09-05 19:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886050560001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788617386000,"timestamp_ms":1788617386000,"timestamp_seconds":1788617386,"priority":1,"record_length":96,"hex_timestamp":"000001a071e76810"} 
[2026-09-05 19:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 19:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 19:49:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886050560001,"66":12428,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886050560001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:49:52] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:49:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886050560001,"power":12428,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":173267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:49:53] local.INFO: GPS data processed {"connection_id":173267,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:49:53] local.INFO: Acknowledgment sent {"connection_id":173267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:49:55] local.INFO: TCP Data received {"connection_id":171880,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:49:55] local.INFO: Processing buffer {"connection_id":171880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:49:55] local.INFO: IMEI packet received {"connection_id":171880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":171880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:50:00] local.INFO: TCP Data received {"connection_id":171880,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:50:00] local.INFO: Processing buffer {"connection_id":171880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:50:00] local.INFO: IMEI packet received {"connection_id":171880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":171880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:50:02] local.INFO: TCP Data received {"connection_id":171880,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071ed7ea8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ed7ea8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:50:02] local.INFO: Processing buffer {"connection_id":171880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ed7ea8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:50:02] local.INFO: Packet analysis {"connection_id":171880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ed"} 
[2026-09-05 19:50:02] local.INFO: Extracted packet for processing {"connection_id":171880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ed"} 
[2026-09-05 19:50:02] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886075904001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788617785000,"timestamp_ms":1788617785000,"timestamp_seconds":1788617785,"priority":1,"record_length":96,"hex_timestamp":"000001a071ed7ea8"} 
[2026-09-05 19:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:50:02] 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-09-05 19:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 19:50: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-09-05 19: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-09-05 19:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886075904001,"66":25875,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886075904001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:50:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:50:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886075904001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":171880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:50:02] local.INFO: GPS data processed {"connection_id":171880,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:50:02] local.INFO: Acknowledgment sent {"connection_id":171880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:50:24] local.INFO: TCP Data received {"connection_id":173267,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071f01e88012d1d8f40071b2e18003f012827..."} 
[2026-09-05 19:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f01e88012d1d8f40071b2e18003f012827..."} 
[2026-09-05 19:50:24] local.INFO: Processing buffer {"connection_id":173267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f01e88012d1d8f40071b2e18003f012827..."} 
[2026-09-05 19:50:24] local.INFO: Packet analysis {"connection_id":173267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f0"} 
[2026-09-05 19:50:24] local.INFO: Extracted packet for processing {"connection_id":173267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f0"} 
[2026-09-05 19:50:24] local.INFO: GPS Element Parsed {"raw_longitude":756911936,"raw_latitude":119221784,"longitude_deg":75.6911936,"latitude_deg":11.9221784,"altitude":63,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d1d8f40","hex_latitude":"071b2e18","is_valid_coordinates":true} 
[2026-09-05 19:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886050816001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788617957000,"timestamp_ms":1788617957000,"timestamp_seconds":1788617957,"priority":1,"record_length":96,"hex_timestamp":"000001a071f01e88"} 
[2026-09-05 19:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 19:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 19:50:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886050816001,"66":2155,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886050816001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:50:24] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:50:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886050816001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":173267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:50:24] local.INFO: GPS data processed {"connection_id":173267,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:50:24] local.INFO: Acknowledgment sent {"connection_id":173267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:50:33] local.INFO: TCP Data received {"connection_id":171880,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071ed7ea8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ed7ea8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:50:33] local.INFO: Processing buffer {"connection_id":171880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ed7ea8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:50:33] local.INFO: Packet analysis {"connection_id":171880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ed"} 
[2026-09-05 19:50:33] local.INFO: Extracted packet for processing {"connection_id":171880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ed"} 
[2026-09-05 19:50:33] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 19:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886075904001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788617785000,"timestamp_ms":1788617785000,"timestamp_seconds":1788617785,"priority":1,"record_length":96,"hex_timestamp":"000001a071ed7ea8"} 
[2026-09-05 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-09-05 19:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 19:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 19:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886075904001,"66":25875,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886075904001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:50:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:50:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886075904001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":171880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:50:33] local.INFO: GPS data processed {"connection_id":171880,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:50:33] local.INFO: Acknowledgment sent {"connection_id":171880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:50:44] local.INFO: TCP Data received {"connection_id":172141,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:50:44] local.INFO: Processing buffer {"connection_id":172141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:50:44] local.INFO: IMEI packet received {"connection_id":172141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":172141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:50:49] local.INFO: TCP Data received {"connection_id":172141,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:50:49] local.INFO: Processing buffer {"connection_id":172141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:50:49] local.INFO: IMEI packet received {"connection_id":172141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":172141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:50:50] local.INFO: TCP Data received {"connection_id":172141,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071f01e88012d1d8f40071b2e18003f012827..."} 
[2026-09-05 19:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f01e88012d1d8f40071b2e18003f012827..."} 
[2026-09-05 19:50:50] local.INFO: Processing buffer {"connection_id":172141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f01e88012d1d8f40071b2e18003f012827..."} 
[2026-09-05 19:50:50] local.INFO: Packet analysis {"connection_id":172141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f0"} 
[2026-09-05 19:50:50] local.INFO: Extracted packet for processing {"connection_id":172141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f0"} 
[2026-09-05 19:50:50] local.INFO: GPS Element Parsed {"raw_longitude":756911936,"raw_latitude":119221784,"longitude_deg":75.6911936,"latitude_deg":11.9221784,"altitude":63,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d1d8f40","hex_latitude":"071b2e18","is_valid_coordinates":true} 
[2026-09-05 19:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886050816001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788617957000,"timestamp_ms":1788617957000,"timestamp_seconds":1788617957,"priority":1,"record_length":96,"hex_timestamp":"000001a071f01e88"} 
[2026-09-05 19:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 19:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 19:50:50] 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-09-05 19:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886050816001,"66":2155,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886050816001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:50:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:50:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886050816001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":172141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:50:50] local.INFO: GPS data processed {"connection_id":172141,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:50:50] local.INFO: Acknowledgment sent {"connection_id":172141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:50:55] local.INFO: TCP Data received {"connection_id":174580,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:50:55] local.INFO: Processing buffer {"connection_id":174580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:50:55] local.INFO: IMEI packet received {"connection_id":174580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":174580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:51:00] local.INFO: TCP Data received {"connection_id":174580,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:51:00] local.INFO: Processing buffer {"connection_id":174580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:51:00] local.INFO: IMEI packet received {"connection_id":174580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":174580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:51:01] local.INFO: TCP Data received {"connection_id":174580,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071ed7ea8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ed7ea8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:51:01] local.INFO: Processing buffer {"connection_id":174580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ed7ea8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:51:01] local.INFO: Packet analysis {"connection_id":174580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ed"} 
[2026-09-05 19:51:01] local.INFO: Extracted packet for processing {"connection_id":174580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ed"} 
[2026-09-05 19:51:01] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886075904001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788617785000,"timestamp_ms":1788617785000,"timestamp_seconds":1788617785,"priority":1,"record_length":96,"hex_timestamp":"000001a071ed7ea8"} 
[2026-09-05 19:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:51:01] 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-09-05 19:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 19:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:51:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886075904001,"66":25875,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886075904001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:51:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:51:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886075904001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":174580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:51:01] local.INFO: GPS data processed {"connection_id":174580,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:51:01] local.INFO: Acknowledgment sent {"connection_id":174580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:51:21] local.INFO: TCP Data received {"connection_id":172141,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071f01e88012d1d8f40071b2e18003f012827..."} 
[2026-09-05 19:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f01e88012d1d8f40071b2e18003f012827..."} 
[2026-09-05 19:51:21] local.INFO: Processing buffer {"connection_id":172141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f01e88012d1d8f40071b2e18003f012827..."} 
[2026-09-05 19:51:21] local.INFO: Packet analysis {"connection_id":172141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f0"} 
[2026-09-05 19:51:21] local.INFO: Extracted packet for processing {"connection_id":172141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f0"} 
[2026-09-05 19:51:21] local.INFO: GPS Element Parsed {"raw_longitude":756911936,"raw_latitude":119221784,"longitude_deg":75.6911936,"latitude_deg":11.9221784,"altitude":63,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d1d8f40","hex_latitude":"071b2e18","is_valid_coordinates":true} 
[2026-09-05 19:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886050816001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788617957000,"timestamp_ms":1788617957000,"timestamp_seconds":1788617957,"priority":1,"record_length":96,"hex_timestamp":"000001a071f01e88"} 
[2026-09-05 19:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 19:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 19:51:21] 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-09-05 19:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886050816001,"66":2155,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886050816001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:51:21] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:51:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886050816001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":172141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:51:22] local.INFO: GPS data processed {"connection_id":172141,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:51:22] local.INFO: Acknowledgment sent {"connection_id":172141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:51:33] local.INFO: TCP Data received {"connection_id":174580,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071ed7ea8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ed7ea8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:51:33] local.INFO: Processing buffer {"connection_id":174580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ed7ea8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 19:51:33] local.INFO: Packet analysis {"connection_id":174580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ed"} 
[2026-09-05 19:51:33] local.INFO: Extracted packet for processing {"connection_id":174580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ed"} 
[2026-09-05 19:51:33] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886075904001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788617785000,"timestamp_ms":1788617785000,"timestamp_seconds":1788617785,"priority":1,"record_length":96,"hex_timestamp":"000001a071ed7ea8"} 
[2026-09-05 19:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 19:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886075904001,"66":25875,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886075904001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:51:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:51:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886075904001,"power":25875,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":174580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:51:33] local.INFO: GPS data processed {"connection_id":174580,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:51:33] local.INFO: Acknowledgment sent {"connection_id":174580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:51:45] local.INFO: TCP Data received {"connection_id":173268,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:51:45] local.INFO: Processing buffer {"connection_id":173268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:51:45] local.INFO: IMEI packet received {"connection_id":173268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":173268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:51:49] local.INFO: TCP Data received {"connection_id":173268,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:51:49] local.INFO: Processing buffer {"connection_id":173268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:51:49] local.INFO: IMEI packet received {"connection_id":173268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":173268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:51:50] local.INFO: TCP Data received {"connection_id":173268,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071f01e88012d1d8f40071b2e18003f012827..."} 
[2026-09-05 19:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f01e88012d1d8f40071b2e18003f012827..."} 
[2026-09-05 19:51:50] local.INFO: Processing buffer {"connection_id":173268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f01e88012d1d8f40071b2e18003f012827..."} 
[2026-09-05 19:51:50] local.INFO: Packet analysis {"connection_id":173268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f0"} 
[2026-09-05 19:51:50] local.INFO: Extracted packet for processing {"connection_id":173268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f0"} 
[2026-09-05 19:51:50] local.INFO: GPS Element Parsed {"raw_longitude":756911936,"raw_latitude":119221784,"longitude_deg":75.6911936,"latitude_deg":11.9221784,"altitude":63,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d1d8f40","hex_latitude":"071b2e18","is_valid_coordinates":true} 
[2026-09-05 19:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886050816001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788617957000,"timestamp_ms":1788617957000,"timestamp_seconds":1788617957,"priority":1,"record_length":96,"hex_timestamp":"000001a071f01e88"} 
[2026-09-05 19:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 19:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 19:51:50] 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-09-05 19:51:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886050816001,"66":2155,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886050816001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:51:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:51:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886050816001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":173268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:51:50] local.INFO: GPS data processed {"connection_id":173268,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:51:50] local.INFO: Acknowledgment sent {"connection_id":173268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:52:00] local.INFO: TCP Data received {"connection_id":174581,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:52:00] local.INFO: Processing buffer {"connection_id":174581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:52:00] local.INFO: IMEI packet received {"connection_id":174581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":174581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:52:04] local.INFO: TCP Data received {"connection_id":174581,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:52:04] local.INFO: Processing buffer {"connection_id":174581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:52:05] local.INFO: IMEI packet received {"connection_id":174581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":174581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:52:05] local.INFO: TCP Data received {"connection_id":174581,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071f21670012d7b8ac005f5f2b8000b003f2e..."} 
[2026-09-05 19:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f21670012d7b8ac005f5f2b8000b003f2e..."} 
[2026-09-05 19:52:05] local.INFO: Processing buffer {"connection_id":174581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f21670012d7b8ac005f5f2b8000b003f2e..."} 
[2026-09-05 19:52:05] local.INFO: Packet analysis {"connection_id":174581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f2"} 
[2026-09-05 19:52:05] local.INFO: Extracted packet for processing {"connection_id":174581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f2"} 
[2026-09-05 19:52:05] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":46,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886152960001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788618086000,"timestamp_ms":1788618086000,"timestamp_seconds":1788618086,"priority":1,"record_length":96,"hex_timestamp":"000001a071f21670"} 
[2026-09-05 19:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 19:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 19:52:05] 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-09-05 19:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886152960001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886152960001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:52:05] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:52:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886152960001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":174581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:52:05] local.INFO: GPS data processed {"connection_id":174581,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:52:05] local.INFO: Acknowledgment sent {"connection_id":174581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:52:06] local.INFO: TCP Data received {"connection_id":174581,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071f21670012d7b8ac005f5f2b8000b003f2e..."} 
[2026-09-05 19:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f21670012d7b8ac005f5f2b8000b003f2e..."} 
[2026-09-05 19:52:06] local.INFO: Processing buffer {"connection_id":174581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f21670012d7b8ac005f5f2b8000b003f2e..."} 
[2026-09-05 19:52:06] local.INFO: Packet analysis {"connection_id":174581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f2"} 
[2026-09-05 19:52:06] local.INFO: Extracted packet for processing {"connection_id":174581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f2"} 
[2026-09-05 19:52:06] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":46,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886152960001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788618086000,"timestamp_ms":1788618086000,"timestamp_seconds":1788618086,"priority":1,"record_length":96,"hex_timestamp":"000001a071f21670"} 
[2026-09-05 19:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:52:06] 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-09-05 19:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 19:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886152960001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886152960001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:52:06] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:52:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886152960001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":174581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:52:06] local.INFO: GPS data processed {"connection_id":174581,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:52:06] local.INFO: Acknowledgment sent {"connection_id":174581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:52:22] local.INFO: TCP Data received {"connection_id":173268,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071f01e88012d1d8f40071b2e18003f012827..."} 
[2026-09-05 19:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f01e88012d1d8f40071b2e18003f012827..."} 
[2026-09-05 19:52:22] local.INFO: Processing buffer {"connection_id":173268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f01e88012d1d8f40071b2e18003f012827..."} 
[2026-09-05 19:52:22] local.INFO: Packet analysis {"connection_id":173268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f0"} 
[2026-09-05 19:52:22] local.INFO: Extracted packet for processing {"connection_id":173268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f0"} 
[2026-09-05 19:52:22] local.INFO: GPS Element Parsed {"raw_longitude":756911936,"raw_latitude":119221784,"longitude_deg":75.6911936,"latitude_deg":11.9221784,"altitude":63,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d1d8f40","hex_latitude":"071b2e18","is_valid_coordinates":true} 
[2026-09-05 19:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886050816001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788617957000,"timestamp_ms":1788617957000,"timestamp_seconds":1788617957,"priority":1,"record_length":96,"hex_timestamp":"000001a071f01e88"} 
[2026-09-05 19:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 19:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 19:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886050816001,"66":2155,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886050816001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:52:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:52:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886050816001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":173268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:52:22] local.INFO: GPS data processed {"connection_id":173268,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:52:22] local.INFO: Acknowledgment sent {"connection_id":173268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:52:37] local.INFO: TCP Data received {"connection_id":174581,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071f21670012d7b8ac005f5f2b8000b003f2e..."} 
[2026-09-05 19:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f21670012d7b8ac005f5f2b8000b003f2e..."} 
[2026-09-05 19:52:37] local.INFO: Processing buffer {"connection_id":174581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f21670012d7b8ac005f5f2b8000b003f2e..."} 
[2026-09-05 19:52:37] local.INFO: Packet analysis {"connection_id":174581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f2"} 
[2026-09-05 19:52:37] local.INFO: Extracted packet for processing {"connection_id":174581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f2"} 
[2026-09-05 19:52:37] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":46,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 19:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886152960001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788618086000,"timestamp_ms":1788618086000,"timestamp_seconds":1788618086,"priority":1,"record_length":96,"hex_timestamp":"000001a071f21670"} 
[2026-09-05 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-09-05 19:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 19:52:37] 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-09-05 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-09-05 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-09-05 19:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886152960001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886152960001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:52:37] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:52:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886152960001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":174581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:52:37] local.INFO: GPS data processed {"connection_id":174581,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:52:37] local.INFO: Acknowledgment sent {"connection_id":174581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:52:44] local.INFO: TCP Data received {"connection_id":172142,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:52:44] local.INFO: Processing buffer {"connection_id":172142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:52:44] local.INFO: IMEI packet received {"connection_id":172142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":172142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:52:49] local.INFO: TCP Data received {"connection_id":172142,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:52:49] local.INFO: Processing buffer {"connection_id":172142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:52:49] local.INFO: IMEI packet received {"connection_id":172142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":172142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:52:50] local.INFO: TCP Data received {"connection_id":172142,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071f01e88012d1d8f40071b2e18003f012827..."} 
[2026-09-05 19:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f01e88012d1d8f40071b2e18003f012827..."} 
[2026-09-05 19:52:50] local.INFO: Processing buffer {"connection_id":172142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f01e88012d1d8f40071b2e18003f012827..."} 
[2026-09-05 19:52:50] local.INFO: Packet analysis {"connection_id":172142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f0"} 
[2026-09-05 19:52:50] local.INFO: Extracted packet for processing {"connection_id":172142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f0"} 
[2026-09-05 19:52:50] local.INFO: GPS Element Parsed {"raw_longitude":756911936,"raw_latitude":119221784,"longitude_deg":75.6911936,"latitude_deg":11.9221784,"altitude":63,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d1d8f40","hex_latitude":"071b2e18","is_valid_coordinates":true} 
[2026-09-05 19:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886050816001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130202654267009024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788617957000,"timestamp_ms":1788617957000,"timestamp_seconds":1788617957,"priority":1,"record_length":96,"hex_timestamp":"000001a071f01e88"} 
[2026-09-05 19:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 19:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-05 19:52:50] 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-09-05 19:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886050816001,"66":2155,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2130202654267009024},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886050816001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:52:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:52:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130202654267009024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886050816001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2130202654267009024}} 
[2026-09-05 19:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":172142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:52:50] local.INFO: GPS data processed {"connection_id":172142,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:52:50] local.INFO: Acknowledgment sent {"connection_id":172142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:52:56] local.INFO: TCP Data received {"connection_id":174582,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:52:56] local.INFO: Processing buffer {"connection_id":174582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:52:56] local.INFO: IMEI packet received {"connection_id":174582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":174582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:53:00] local.INFO: TCP Data received {"connection_id":174582,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:53:00] local.INFO: Processing buffer {"connection_id":174582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:53:00] local.INFO: IMEI packet received {"connection_id":174582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":174582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:53:01] local.INFO: TCP Data received {"connection_id":174582,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071f21670012d7b8ac005f5f2b8000b003f2e..."} 
[2026-09-05 19:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f21670012d7b8ac005f5f2b8000b003f2e..."} 
[2026-09-05 19:53:01] local.INFO: Processing buffer {"connection_id":174582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f21670012d7b8ac005f5f2b8000b003f2e..."} 
[2026-09-05 19:53:01] local.INFO: Packet analysis {"connection_id":174582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f2"} 
[2026-09-05 19:53:01] local.INFO: Extracted packet for processing {"connection_id":174582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f2"} 
[2026-09-05 19:53:01] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":46,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886152960001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788618086000,"timestamp_ms":1788618086000,"timestamp_seconds":1788618086,"priority":1,"record_length":96,"hex_timestamp":"000001a071f21670"} 
[2026-09-05 19:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:53:01] 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-09-05 19:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 19:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886152960001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886152960001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:53:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:53:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886152960001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":174582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:53:01] local.INFO: GPS data processed {"connection_id":174582,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:53:01] local.INFO: Acknowledgment sent {"connection_id":174582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:53:22] local.INFO: TCP Data received {"connection_id":172142,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071f30c88012d1d8f40071b2e18003f012827..."} 
[2026-09-05 19:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f30c88012d1d8f40071b2e18003f012827..."} 
[2026-09-05 19:53:22] local.INFO: Processing buffer {"connection_id":172142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f30c88012d1d8f40071b2e18003f012827..."} 
[2026-09-05 19:53:22] local.INFO: Packet analysis {"connection_id":172142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f3"} 
[2026-09-05 19:53:22] local.INFO: Extracted packet for processing {"connection_id":172142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f3"} 
[2026-09-05 19:53:22] local.INFO: GPS Element Parsed {"raw_longitude":756911936,"raw_latitude":119221784,"longitude_deg":75.6911936,"latitude_deg":11.9221784,"altitude":63,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d1d8f40","hex_latitude":"071b2e18","is_valid_coordinates":true} 
[2026-09-05 19:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886196992001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2129991548034488320,"note":"Value kept but may cause issues"} 
[2026-09-05 19:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788618149000,"timestamp_ms":1788618149000,"timestamp_seconds":1788618149,"priority":1,"record_length":96,"hex_timestamp":"000001a071f30c88"} 
[2026-09-05 19:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 19:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 19:53:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:53:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886196992001,"66":2166,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2129991548034488320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886196992001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:53:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:53:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2129991548034488320,"description":"Unknown IO ID 45"} 
[2026-09-05 19:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886196992001,"power":2166,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2129991548034488320}} 
[2026-09-05 19:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":172142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:53:23] local.INFO: GPS data processed {"connection_id":172142,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:53:23] local.INFO: Acknowledgment sent {"connection_id":172142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:53:33] local.INFO: TCP Data received {"connection_id":174582,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a071f21670012d7b8ac005f5f2b8000b003f2e..."} 
[2026-09-05 19:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f21670012d7b8ac005f5f2b8000b003f2e..."} 
[2026-09-05 19:53:33] local.INFO: Processing buffer {"connection_id":174582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f21670012d7b8ac005f5f2b8000b003f2e..."} 
[2026-09-05 19:53:33] local.INFO: Packet analysis {"connection_id":174582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f2"} 
[2026-09-05 19:53:33] local.INFO: Extracted packet for processing {"connection_id":174582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f2"} 
[2026-09-05 19:53:33] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":46,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 19:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886152960001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788618086000,"timestamp_ms":1788618086000,"timestamp_seconds":1788618086,"priority":1,"record_length":96,"hex_timestamp":"000001a071f21670"} 
[2026-09-05 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-09-05 19:53: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-09-05 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 19:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 19:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886152960001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886152960001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:53:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:53:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886152960001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":174582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:53:33] local.INFO: GPS data processed {"connection_id":174582,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:53:33] local.INFO: Acknowledgment sent {"connection_id":174582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:53:44] local.INFO: TCP Data received {"connection_id":173269,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:53:44] local.INFO: Processing buffer {"connection_id":173269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:53:44] local.INFO: IMEI packet received {"connection_id":173269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":173269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:53:49] local.INFO: TCP Data received {"connection_id":173269,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:53:49] local.INFO: Processing buffer {"connection_id":173269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:53:49] local.INFO: IMEI packet received {"connection_id":173269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":173269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:53:50] local.INFO: TCP Data received {"connection_id":173269,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071f30c88012d1d8f40071b2e18003f012827..."} 
[2026-09-05 19:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f30c88012d1d8f40071b2e18003f012827..."} 
[2026-09-05 19:53:50] local.INFO: Processing buffer {"connection_id":173269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f30c88012d1d8f40071b2e18003f012827..."} 
[2026-09-05 19:53:50] local.INFO: Packet analysis {"connection_id":173269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f3"} 
[2026-09-05 19:53:50] local.INFO: Extracted packet for processing {"connection_id":173269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f3"} 
[2026-09-05 19:53:50] local.INFO: GPS Element Parsed {"raw_longitude":756911936,"raw_latitude":119221784,"longitude_deg":75.6911936,"latitude_deg":11.9221784,"altitude":63,"angle":296,"satellites":39,"speed":0,"hex_longitude":"2d1d8f40","hex_latitude":"071b2e18","is_valid_coordinates":true} 
[2026-09-05 19:53:50] 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-09-05 19:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886246144001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086124463325184,"note":"Value kept but may cause issues"} 
[2026-09-05 19:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2129991548034488320,"note":"Value kept but may cause issues"} 
[2026-09-05 19:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788618149000,"timestamp_ms":1788618149000,"timestamp_seconds":1788618149,"priority":1,"record_length":96,"hex_timestamp":"000001a071f30c88"} 
[2026-09-05 19:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:53: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-09-05 19:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 19:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:53:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886246144001,"66":2166,"82":206,"83":41984,"24":0,"16":18086124463325184,"45":2129991548034488320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886246144001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:53:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:53:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086124463325184,"km_value":18086124463325.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2129991548034488320,"description":"Unknown IO ID 45"} 
[2026-09-05 19:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886246144001,"power":2166,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2129991548034488320}} 
[2026-09-05 19:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":173269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:53:50] local.INFO: GPS data processed {"connection_id":173269,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:53:50] local.INFO: Acknowledgment sent {"connection_id":173269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:53:55] local.INFO: TCP Data received {"connection_id":172143,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:53:55] local.INFO: Processing buffer {"connection_id":172143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:53:55] local.INFO: IMEI packet received {"connection_id":172143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":172143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:54:00] local.INFO: TCP Data received {"connection_id":172143,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:54:00] local.INFO: Processing buffer {"connection_id":172143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:54:00] local.INFO: IMEI packet received {"connection_id":172143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":172143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:54:01] local.INFO: TCP Data received {"connection_id":172143,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071f21670012d7b8ac005f5f2b8000b003f2e..."} 
[2026-09-05 19:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f21670012d7b8ac005f5f2b8000b003f2e..."} 
[2026-09-05 19:54:01] local.INFO: Processing buffer {"connection_id":172143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f21670012d7b8ac005f5f2b8000b003f2e..."} 
[2026-09-05 19:54:01] local.INFO: Packet analysis {"connection_id":172143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f2"} 
[2026-09-05 19:54:01] local.INFO: Extracted packet for processing {"connection_id":172143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f2"} 
[2026-09-05 19:54:01] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":46,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886152960001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788618086000,"timestamp_ms":1788618086000,"timestamp_seconds":1788618086,"priority":1,"record_length":96,"hex_timestamp":"000001a071f21670"} 
[2026-09-05 19:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:54:01] 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-09-05 19:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 19:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886152960001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886152960001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:54:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:54:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886152960001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":172143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:54:01] local.INFO: GPS data processed {"connection_id":172143,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:54:01] local.INFO: Acknowledgment sent {"connection_id":172143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:54:21] local.INFO: TCP Data received {"connection_id":173269,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071f421e0012d1d9940071b2eb80041004929..."} 
[2026-09-05 19:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f421e0012d1d9940071b2eb80041004929..."} 
[2026-09-05 19:54:21] local.INFO: Processing buffer {"connection_id":173269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f421e0012d1d9940071b2eb80041004929..."} 
[2026-09-05 19:54:21] local.INFO: Packet analysis {"connection_id":173269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f4"} 
[2026-09-05 19:54:21] local.INFO: Extracted packet for processing {"connection_id":173269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f4"} 
[2026-09-05 19:54:21] local.INFO: GPS Element Parsed {"raw_longitude":756914496,"raw_latitude":119221944,"longitude_deg":75.6914496,"latitude_deg":11.9221944,"altitude":65,"angle":73,"satellites":41,"speed":16,"hex_longitude":"2d1d9940","hex_latitude":"071b2eb8","is_valid_coordinates":true} 
[2026-09-05 19:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886259968001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086283377115136,"note":"Value kept but may cause issues"} 
[2026-09-05 19:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130624866732161024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788618220000,"timestamp_ms":1788618220000,"timestamp_seconds":1788618220,"priority":1,"record_length":96,"hex_timestamp":"000001a071f421e0"} 
[2026-09-05 19:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-05 19:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:54:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886259968001,"66":13537,"82":206,"83":41984,"24":16,"16":18086283377115136,"45":2130624866732161024},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886259968001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:54:21] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:54:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086283377115136,"km_value":18086283377115.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130624866732161024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886259968001,"power":13537,"unknown_82":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":2130624866732161024}} 
[2026-09-05 19:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":173269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:54:21] local.INFO: GPS data processed {"connection_id":173269,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:54:21] local.INFO: Acknowledgment sent {"connection_id":173269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:54:32] local.INFO: TCP Data received {"connection_id":172143,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071f21670012d7b8ac005f5f2b8000b003f2e..."} 
[2026-09-05 19:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f21670012d7b8ac005f5f2b8000b003f2e..."} 
[2026-09-05 19:54:32] local.INFO: Processing buffer {"connection_id":172143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f21670012d7b8ac005f5f2b8000b003f2e..."} 
[2026-09-05 19:54:32] local.INFO: Packet analysis {"connection_id":172143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f2"} 
[2026-09-05 19:54:32] local.INFO: Extracted packet for processing {"connection_id":172143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f2"} 
[2026-09-05 19:54:32] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":46,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886152960001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788618086000,"timestamp_ms":1788618086000,"timestamp_seconds":1788618086,"priority":1,"record_length":96,"hex_timestamp":"000001a071f21670"} 
[2026-09-05 19:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:54:32] 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-09-05 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 19:54: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-09-05 19: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-09-05 19:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886152960001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886152960001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:54:32] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:54:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886152960001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":172143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:54:32] local.INFO: GPS data processed {"connection_id":172143,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:54:32] local.INFO: Acknowledgment sent {"connection_id":172143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:54:43] local.INFO: TCP Data received {"connection_id":172144,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:54:43] local.INFO: Processing buffer {"connection_id":172144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:54:43] local.INFO: IMEI packet received {"connection_id":172144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":172144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:54:48] local.INFO: TCP Data received {"connection_id":172144,"ip":"42.109.136.9","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 19:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172144,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 19:54:48] local.INFO: Processing buffer {"connection_id":172144,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 19:54:48] local.INFO: IMEI packet received {"connection_id":172144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":172144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:54:49] local.INFO: TCP Data received {"connection_id":172144,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071f425c8012d1d9ac0071b2f800041003829..."} 
[2026-09-05 19:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f425c8012d1d9ac0071b2f800041003829..."} 
[2026-09-05 19:54:49] local.INFO: Processing buffer {"connection_id":172144,"buffer_length":829,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 19:54:49] local.INFO: IMEI packet received {"connection_id":172144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":172144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:54:50] local.INFO: TCP Data received {"connection_id":172144,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071f429b0012d1d9c00071b30e80041002628..."} 
[2026-09-05 19:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f429b0012d1d9c00071b30e80041002628..."} 
[2026-09-05 19:54:50] local.INFO: Processing buffer {"connection_id":172144,"buffer_length":1607,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a071..."} 
[2026-09-05 19:54:50] local.INFO: IMEI packet received {"connection_id":172144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":172144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:54:50] local.INFO: TCP Data received {"connection_id":172144,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071f42d98012d1d9c80071b32e80040001528..."} 
[2026-09-05 19:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f42d98012d1d9c80071b32e80040001528..."} 
[2026-09-05 19:54:50] local.INFO: Processing buffer {"connection_id":172144,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a000001a071f425c8012d1d9ac0071b2f800041003829..."} 
[2026-09-05 19:54:50] local.INFO: Packet analysis {"connection_id":172144,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a000001a071f4"} 
[2026-09-05 19:54:50] local.INFO: Extracted packet for processing {"connection_id":172144,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a071f4"} 
[2026-09-05 19:54:50] local.INFO: GPS Element Parsed {"raw_longitude":756914880,"raw_latitude":119222144,"longitude_deg":75.691488,"latitude_deg":11.9222144,"altitude":65,"angle":56,"satellites":41,"speed":17,"hex_longitude":"2d1d9ac0","hex_latitude":"071b2f80","is_valid_coordinates":true} 
[2026-09-05 19:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886264320001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086300556984320,"note":"Value kept but may cause issues"} 
[2026-09-05 19:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2132806297801635840,"note":"Value kept but may cause issues"} 
[2026-09-05 19:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788618221000,"timestamp_ms":1788618221000,"timestamp_seconds":1788618221,"priority":1,"record_length":96,"hex_timestamp":"000001a071f425c8"} 
[2026-09-05 19:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-05 19:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886264320001,"66":13450,"82":206,"83":41984,"24":17,"16":18086300556984320,"45":2132806297801635840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886264320001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:54:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:54:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086300556984320,"km_value":18086300556984.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2132806297801635840,"description":"Unknown IO ID 45"} 
[2026-09-05 19:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886264320001,"power":13450,"unknown_82":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":2132806297801635840}} 
[2026-09-05 19:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":172144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:54:50] local.INFO: GPS data processed {"connection_id":172144,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:54:50] local.INFO: Acknowledgment sent {"connection_id":172144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:54:50] local.INFO: Packet analysis {"connection_id":172144,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a071f4"} 
[2026-09-05 19:54:50] local.INFO: Extracted packet for processing {"connection_id":172144,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f4"} 
[2026-09-05 19:54:50] local.INFO: GPS Element Parsed {"raw_longitude":756915200,"raw_latitude":119222504,"longitude_deg":75.69152,"latitude_deg":11.9222504,"altitude":65,"angle":38,"satellites":40,"speed":19,"hex_longitude":"2d1d9c00","hex_latitude":"071b30e8","is_valid_coordinates":true} 
[2026-09-05 19:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886264576001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086326326788096,"note":"Value kept but may cause issues"} 
[2026-09-05 19:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2133228510266753024,"note":"Value kept but may cause issues"} 
[2026-09-05 19:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788618222000,"timestamp_ms":1788618222000,"timestamp_seconds":1788618222,"priority":1,"record_length":96,"hex_timestamp":"000001a071f429b0"} 
[2026-09-05 19:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-05 19:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886264576001,"66":13450,"82":206,"83":41984,"24":19,"16":18086326326788096,"45":2133228510266753024},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886264576001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:54:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:54:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086326326788096,"km_value":18086326326788.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2133228510266753024,"description":"Unknown IO ID 45"} 
[2026-09-05 19:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886264576001,"power":13450,"unknown_82":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":2133228510266753024}} 
[2026-09-05 19:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":172144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:54:51] local.INFO: GPS data processed {"connection_id":172144,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:54:51] local.INFO: Acknowledgment sent {"connection_id":172144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:54:51] local.INFO: Packet analysis {"connection_id":172144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f4"} 
[2026-09-05 19:54:51] local.INFO: Extracted packet for processing {"connection_id":172144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f4"} 
[2026-09-05 19:54:51] local.INFO: GPS Element Parsed {"raw_longitude":756915328,"raw_latitude":119223016,"longitude_deg":75.6915328,"latitude_deg":11.9223016,"altitude":64,"angle":21,"satellites":40,"speed":22,"hex_longitude":"2d1d9c80","hex_latitude":"071b32e8","is_valid_coordinates":true} 
[2026-09-05 19:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886264832001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086352096591872,"note":"Value kept but may cause issues"} 
[2026-09-05 19:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2133580353987733504,"note":"Value kept but may cause issues"} 
[2026-09-05 19:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788618223000,"timestamp_ms":1788618223000,"timestamp_seconds":1788618223,"priority":1,"record_length":96,"hex_timestamp":"000001a071f42d98"} 
[2026-09-05 19:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-05 19:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886264832001,"66":13472,"82":206,"83":41984,"24":22,"16":18086352096591872,"45":2133580353987733504},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886264832001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:54:51] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:54:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086352096591872,"km_value":18086352096591.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2133580353987733504,"description":"Unknown IO ID 45"} 
[2026-09-05 19:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886264832001,"power":13472,"unknown_82":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":2133580353987733504}} 
[2026-09-05 19:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":172144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:54:51] local.INFO: GPS data processed {"connection_id":172144,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:54:51] local.INFO: Acknowledgment sent {"connection_id":172144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:54:55] local.INFO: TCP Data received {"connection_id":172144,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071f454a8012d1da340071b4cb0003d000927..."} 
[2026-09-05 19:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f454a8012d1da340071b4cb0003d000927..."} 
[2026-09-05 19:54:55] local.INFO: Processing buffer {"connection_id":172144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f454a8012d1da340071b4cb0003d000927..."} 
[2026-09-05 19:54:55] local.INFO: Packet analysis {"connection_id":172144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f4"} 
[2026-09-05 19:54:55] local.INFO: Extracted packet for processing {"connection_id":172144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f4"} 
[2026-09-05 19:54:55] local.INFO: GPS Element Parsed {"raw_longitude":756917056,"raw_latitude":119229616,"longitude_deg":75.6917056,"latitude_deg":11.9229616,"altitude":61,"angle":9,"satellites":39,"speed":25,"hex_longitude":"2d1da340","hex_latitude":"071b4cb0","is_valid_coordinates":true} 
[2026-09-05 19:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886265088001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18086682809073664,"note":"Value kept but may cause issues"} 
[2026-09-05 19:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2133721091476219904,"note":"Value kept but may cause issues"} 
[2026-09-05 19:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788618233000,"timestamp_ms":1788618233000,"timestamp_seconds":1788618233,"priority":1,"record_length":96,"hex_timestamp":"000001a071f454a8"} 
[2026-09-05 19:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-05 19:54:55] 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-09-05 19:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886265088001,"66":13352,"82":206,"83":41984,"24":25,"16":18086682809073664,"45":2133721091476219904},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886265088001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:54:55] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:54:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18086682809073664,"km_value":18086682809073.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2133721091476219904,"description":"Unknown IO ID 45"} 
[2026-09-05 19:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886265088001,"power":13352,"unknown_82":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":2133721091476219904}} 
[2026-09-05 19:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":172144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":770999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:54:55] local.INFO: GPS data processed {"connection_id":172144,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:54:55] local.INFO: Acknowledgment sent {"connection_id":172144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:54:55] local.INFO: TCP Data received {"connection_id":171881,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:54:55] local.INFO: Processing buffer {"connection_id":171881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:54:55] local.INFO: IMEI packet received {"connection_id":171881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":171881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:55:00] local.INFO: TCP Data received {"connection_id":171881,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:55:00] local.INFO: Processing buffer {"connection_id":171881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:55:00] local.INFO: IMEI packet received {"connection_id":171881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":171881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:55:01] local.INFO: TCP Data received {"connection_id":171881,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a071f21670012d7b8ac005f5f2b8000b003f2e..."} 
[2026-09-05 19:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f21670012d7b8ac005f5f2b8000b003f2e..."} 
[2026-09-05 19:55:01] local.INFO: Processing buffer {"connection_id":171881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f21670012d7b8ac005f5f2b8000b003f2e..."} 
[2026-09-05 19:55:01] local.INFO: Packet analysis {"connection_id":171881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f2"} 
[2026-09-05 19:55:01] local.INFO: Extracted packet for processing {"connection_id":171881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f2"} 
[2026-09-05 19:55:01] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":46,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886152960001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788618086000,"timestamp_ms":1788618086000,"timestamp_seconds":1788618086,"priority":1,"record_length":96,"hex_timestamp":"000001a071f21670"} 
[2026-09-05 19:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:55:01] 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-09-05 19:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 19:55:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:55:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886152960001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886152960001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:55:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:55:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886152960001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":171881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:55:01] local.INFO: GPS data processed {"connection_id":171881,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:55:01] local.INFO: Acknowledgment sent {"connection_id":171881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:55:25] local.INFO: TCP Data received {"connection_id":172144,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071f48388012d1da6c0071b67e8003a001529..."} 
[2026-09-05 19:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f48388012d1da6c0071b67e8003a001529..."} 
[2026-09-05 19:55:25] local.INFO: Processing buffer {"connection_id":172144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f48388012d1da6c0071b67e8003a001529..."} 
[2026-09-05 19:55:25] local.INFO: Packet analysis {"connection_id":172144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f4"} 
[2026-09-05 19:55:25] local.INFO: Extracted packet for processing {"connection_id":172144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f4"} 
[2026-09-05 19:55:25] local.INFO: GPS Element Parsed {"raw_longitude":756917952,"raw_latitude":119236584,"longitude_deg":75.6917952,"latitude_deg":11.9236584,"altitude":58,"angle":21,"satellites":41,"speed":19,"hex_longitude":"2d1da6c0","hex_latitude":"071b67e8","is_valid_coordinates":true} 
[2026-09-05 19:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886267648001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18087022111490048,"note":"Value kept but may cause issues"} 
[2026-09-05 19:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2135621047570706432,"note":"Value kept but may cause issues"} 
[2026-09-05 19:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788618245000,"timestamp_ms":1788618245000,"timestamp_seconds":1788618245,"priority":1,"record_length":96,"hex_timestamp":"000001a071f48388"} 
[2026-09-05 19:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-05 19:55:25] 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-09-05 19:55:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886267648001,"66":13798,"82":206,"83":41984,"24":19,"16":18087022111490048,"45":2135621047570706432},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886267648001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:55:25] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:55:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18087022111490048,"km_value":18087022111490.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":2135621047570706432,"description":"Unknown IO ID 45"} 
[2026-09-05 19:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886267648001,"power":13798,"unknown_82":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":2135621047570706432}} 
[2026-09-05 19:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":172144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:55:26] local.INFO: GPS data processed {"connection_id":172144,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:55:26] local.INFO: Acknowledgment sent {"connection_id":172144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:55:32] local.INFO: TCP Data received {"connection_id":171881,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a071f21670012d7b8ac005f5f2b8000b003f2e..."} 
[2026-09-05 19:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f21670012d7b8ac005f5f2b8000b003f2e..."} 
[2026-09-05 19:55:32] local.INFO: Processing buffer {"connection_id":171881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f21670012d7b8ac005f5f2b8000b003f2e..."} 
[2026-09-05 19:55:32] local.INFO: Packet analysis {"connection_id":171881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f2"} 
[2026-09-05 19:55:32] local.INFO: Extracted packet for processing {"connection_id":171881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f2"} 
[2026-09-05 19:55:32] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":46,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 19:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886152960001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788618086000,"timestamp_ms":1788618086000,"timestamp_seconds":1788618086,"priority":1,"record_length":96,"hex_timestamp":"000001a071f21670"} 
[2026-09-05 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-09-05 19:55:32] 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-09-05 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 19:55: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-09-05 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-09-05 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-09-05 19:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886152960001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886152960001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:55:32] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:55:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886152960001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":171881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:55:32] local.INFO: GPS data processed {"connection_id":171881,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:55:32] local.INFO: Acknowledgment sent {"connection_id":171881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:55:44] local.INFO: TCP Data received {"connection_id":172145,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:55:44] local.INFO: Processing buffer {"connection_id":172145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:55:44] local.INFO: IMEI packet received {"connection_id":172145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":172145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:55:48] local.INFO: TCP Data received {"connection_id":172145,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:55:48] local.INFO: Processing buffer {"connection_id":172145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:55:48] local.INFO: IMEI packet received {"connection_id":172145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":172145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:55:49] local.INFO: TCP Data received {"connection_id":172145,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071f48b58012d1da8c0071b6b90003a002329..."} 
[2026-09-05 19:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f48b58012d1da8c0071b6b90003a002329..."} 
[2026-09-05 19:55:49] local.INFO: Processing buffer {"connection_id":172145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f48b58012d1da8c0071b6b90003a002329..."} 
[2026-09-05 19:55:49] local.INFO: Packet analysis {"connection_id":172145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f4"} 
[2026-09-05 19:55:49] local.INFO: Extracted packet for processing {"connection_id":172145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f4"} 
[2026-09-05 19:55:49] local.INFO: GPS Element Parsed {"raw_longitude":756918464,"raw_latitude":119237520,"longitude_deg":75.6918464,"latitude_deg":11.923752,"altitude":58,"angle":35,"satellites":41,"speed":22,"hex_longitude":"2d1da8c0","hex_latitude":"071b6b90","is_valid_coordinates":true} 
[2026-09-05 19:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886270720001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18087073651097600,"note":"Value kept but may cause issues"} 
[2026-09-05 19:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2136606209990977536,"note":"Value kept but may cause issues"} 
[2026-09-05 19:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788618247000,"timestamp_ms":1788618247000,"timestamp_seconds":1788618247,"priority":1,"record_length":96,"hex_timestamp":"000001a071f48b58"} 
[2026-09-05 19:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-05 19:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886270720001,"66":13798,"82":206,"83":41984,"24":22,"16":18087073651097600,"45":2136606209990977536},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 19:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886270720001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:55:49] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 19:55:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18087073651097600,"km_value":18087073651097.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2136606209990977536,"description":"Unknown IO ID 45"} 
[2026-09-05 19:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886270720001,"power":13798,"unknown_82":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":2136606209990977536}} 
[2026-09-05 19:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":172145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:55:49] local.INFO: GPS data processed {"connection_id":172145,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:55:49] local.INFO: Acknowledgment sent {"connection_id":172145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:55:55] local.INFO: TCP Data received {"connection_id":174583,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:55:55] local.INFO: Processing buffer {"connection_id":174583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:55:55] local.INFO: IMEI packet received {"connection_id":174583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":174583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:56:03] local.INFO: TCP Data received {"connection_id":174583,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:56:03] local.INFO: Processing buffer {"connection_id":174583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:56:03] local.INFO: IMEI packet received {"connection_id":174583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":174583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:56:04] local.INFO: TCP Data received {"connection_id":174583,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071f21670012d7b8ac005f5f2b8000b003f2e..."} 
[2026-09-05 19:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f21670012d7b8ac005f5f2b8000b003f2e..."} 
[2026-09-05 19:56:04] local.INFO: Processing buffer {"connection_id":174583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f21670012d7b8ac005f5f2b8000b003f2e..."} 
[2026-09-05 19:56:04] local.INFO: Packet analysis {"connection_id":174583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f2"} 
[2026-09-05 19:56:04] local.INFO: Extracted packet for processing {"connection_id":174583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f2"} 
[2026-09-05 19:56:04] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":46,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 19:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886152960001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788618086000,"timestamp_ms":1788618086000,"timestamp_seconds":1788618086,"priority":1,"record_length":96,"hex_timestamp":"000001a071f21670"} 
[2026-09-05 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-09-05 19:56: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-09-05 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 19:56:04] 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-09-05 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-09-05 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-09-05 19:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886152960001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886152960001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:56:04] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:56:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886152960001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":174583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:56:04] local.INFO: GPS data processed {"connection_id":174583,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:56:04] local.INFO: Acknowledgment sent {"connection_id":174583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:56:20] local.INFO: TCP Data received {"connection_id":172145,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071f5e318012d1dca80071bbe58004201312c..."} 
[2026-09-05 19:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f5e318012d1dca80071bbe58004201312c..."} 
[2026-09-05 19:56:20] local.INFO: Processing buffer {"connection_id":172145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f5e318012d1dca80071bbe58004201312c..."} 
[2026-09-05 19:56:20] local.INFO: Packet analysis {"connection_id":172145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f5"} 
[2026-09-05 19:56:20] local.INFO: Extracted packet for processing {"connection_id":172145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f5"} 
[2026-09-05 19:56:20] local.INFO: GPS Element Parsed {"raw_longitude":756927104,"raw_latitude":119258712,"longitude_deg":75.6927104,"latitude_deg":11.9258712,"altitude":66,"angle":305,"satellites":44,"speed":28,"hex_longitude":"2d1dca80","hex_latitude":"071bbe58","is_valid_coordinates":true} 
[2026-09-05 19:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886293248001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18088950551805952,"note":"Value kept but may cause issues"} 
[2026-09-05 19:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2147865209064841216,"note":"Value kept but may cause issues"} 
[2026-09-05 19:56:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 19:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788618335000,"timestamp_ms":1788618335000,"timestamp_seconds":1788618335,"priority":1,"record_length":96,"hex_timestamp":"000001a071f5e318"} 
[2026-09-05 19:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:56: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-09-05 19:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-09-05 19:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886293248001,"66":13906,"83":41984,"24":28,"16":18088950551805952,"45":2147865209064841216},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-09-05 19:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886293248001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:56:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18088950551805952,"km_value":18088950551805.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2147865209064841216,"description":"Unknown IO ID 45"} 
[2026-09-05 19:56:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457886293248001,"power":13906,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":2147865209064841216}} 
[2026-09-05 19:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":172145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:56:21] local.INFO: GPS data processed {"connection_id":172145,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:56:21] local.INFO: Acknowledgment sent {"connection_id":172145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:56:35] local.INFO: TCP Data received {"connection_id":174583,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071f21670012d7b8ac005f5f2b8000b003f2e..."} 
[2026-09-05 19:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f21670012d7b8ac005f5f2b8000b003f2e..."} 
[2026-09-05 19:56:35] local.INFO: Processing buffer {"connection_id":174583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f21670012d7b8ac005f5f2b8000b003f2e..."} 
[2026-09-05 19:56:35] local.INFO: Packet analysis {"connection_id":174583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f2"} 
[2026-09-05 19:56:35] local.INFO: Extracted packet for processing {"connection_id":174583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f2"} 
[2026-09-05 19:56:35] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":46,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886152960001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788618086000,"timestamp_ms":1788618086000,"timestamp_seconds":1788618086,"priority":1,"record_length":96,"hex_timestamp":"000001a071f21670"} 
[2026-09-05 19:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:56:35] 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-09-05 19:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-05 19:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886152960001,"66":25778,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886152960001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:56:35] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:56:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886152960001,"power":25778,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":174583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:56:35] local.INFO: GPS data processed {"connection_id":174583,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:56:35] local.INFO: Acknowledgment sent {"connection_id":174583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:56:44] local.INFO: TCP Data received {"connection_id":174584,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:56:44] local.INFO: Processing buffer {"connection_id":174584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:56:44] local.INFO: IMEI packet received {"connection_id":174584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":174584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:56:49] local.INFO: TCP Data received {"connection_id":174584,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:56:49] local.INFO: Processing buffer {"connection_id":174584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:56:49] local.INFO: IMEI packet received {"connection_id":174584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":174584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:56:50] local.INFO: TCP Data received {"connection_id":174584,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071f5eae8012d1dc4c0071bc130004201252c..."} 
[2026-09-05 19:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f5eae8012d1dc4c0071bc130004201252c..."} 
[2026-09-05 19:56:50] local.INFO: Processing buffer {"connection_id":174584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f5eae8012d1dc4c0071bc130004201252c..."} 
[2026-09-05 19:56:50] local.INFO: Packet analysis {"connection_id":174584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f5"} 
[2026-09-05 19:56:50] local.INFO: Extracted packet for processing {"connection_id":174584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f5"} 
[2026-09-05 19:56:50] local.INFO: GPS Element Parsed {"raw_longitude":756925632,"raw_latitude":119259440,"longitude_deg":75.6925632,"latitude_deg":11.925944,"altitude":66,"angle":293,"satellites":44,"speed":34,"hex_longitude":"2d1dc4c0","hex_latitude":"071bc130","is_valid_coordinates":true} 
[2026-09-05 19:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886293760001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18089027861217280,"note":"Value kept but may cause issues"} 
[2026-09-05 19:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2146668940414048256,"note":"Value kept but may cause issues"} 
[2026-09-05 19:56:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 19:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788618337000,"timestamp_ms":1788618337000,"timestamp_seconds":1788618337,"priority":1,"record_length":96,"hex_timestamp":"000001a071f5eae8"} 
[2026-09-05 19:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-05 19:56:50] 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-09-05 19:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886293760001,"66":13015,"83":41984,"24":34,"16":18089027861217280,"45":2146668940414048256},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-09-05 19:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886293760001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:56:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18089027861217280,"km_value":18089027861217.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2146668940414048256,"description":"Unknown IO ID 45"} 
[2026-09-05 19:56:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457886293760001,"power":13015,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":2146668940414048256}} 
[2026-09-05 19:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":174584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:56:50] local.INFO: GPS data processed {"connection_id":174584,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:56:50] local.INFO: Acknowledgment sent {"connection_id":174584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:57:00] local.INFO: TCP Data received {"connection_id":172146,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:57:00] local.INFO: Processing buffer {"connection_id":172146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:57:00] local.INFO: IMEI packet received {"connection_id":172146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":172146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:57:05] local.INFO: TCP Data received {"connection_id":172146,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:57:05] local.INFO: Processing buffer {"connection_id":172146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:57:05] local.INFO: IMEI packet received {"connection_id":172146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":172146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:57:06] local.INFO: TCP Data received {"connection_id":172146,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 19:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 19:57:06] local.INFO: Processing buffer {"connection_id":172146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 19:57:06] local.INFO: Packet analysis {"connection_id":172146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f6"} 
[2026-09-05 19:57:06] local.INFO: Extracted packet for processing {"connection_id":172146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f6"} 
[2026-09-05 19:57:06] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886230016001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788618387000,"timestamp_ms":1788618387000,"timestamp_seconds":1788618387,"priority":1,"record_length":96,"hex_timestamp":"000001a071f6ae38"} 
[2026-09-05 19:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:57:06] 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-09-05 19:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 19:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886230016001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886230016001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:57:06] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:57:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886230016001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":172146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:57:06] local.INFO: GPS data processed {"connection_id":172146,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:57:06] local.INFO: Acknowledgment sent {"connection_id":172146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:57:08] local.INFO: TCP Data received {"connection_id":172146,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 19:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 19:57:08] local.INFO: Processing buffer {"connection_id":172146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 19:57:08] local.INFO: Packet analysis {"connection_id":172146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f6"} 
[2026-09-05 19:57:08] local.INFO: Extracted packet for processing {"connection_id":172146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f6"} 
[2026-09-05 19:57:08] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886230016001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788618387000,"timestamp_ms":1788618387000,"timestamp_seconds":1788618387,"priority":1,"record_length":96,"hex_timestamp":"000001a071f6ae38"} 
[2026-09-05 19:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:57:08] 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-09-05 19:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 19:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886230016001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886230016001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:57:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:57:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886230016001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":172146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:57:08] local.INFO: GPS data processed {"connection_id":172146,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:57:08] local.INFO: Acknowledgment sent {"connection_id":172146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:57:21] local.INFO: TCP Data received {"connection_id":174584,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071f5f2b8012d1dbe80071bc498004201312a..."} 
[2026-09-05 19:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f5f2b8012d1dbe80071bc498004201312a..."} 
[2026-09-05 19:57:21] local.INFO: Processing buffer {"connection_id":174584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f5f2b8012d1dbe80071bc498004201312a..."} 
[2026-09-05 19:57:21] local.INFO: Packet analysis {"connection_id":174584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f5"} 
[2026-09-05 19:57:21] local.INFO: Extracted packet for processing {"connection_id":174584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f5"} 
[2026-09-05 19:57:21] local.INFO: GPS Element Parsed {"raw_longitude":756924032,"raw_latitude":119260312,"longitude_deg":75.6924032,"latitude_deg":11.9260312,"altitude":66,"angle":305,"satellites":42,"speed":35,"hex_longitude":"2d1dbe80","hex_latitude":"071bc498","is_valid_coordinates":true} 
[2026-09-05 19:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886294272001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18089118055530496,"note":"Value kept but may cause issues"} 
[2026-09-05 19:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2145050459298148352,"note":"Value kept but may cause issues"} 
[2026-09-05 19:57:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 19:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788618339000,"timestamp_ms":1788618339000,"timestamp_seconds":1788618339,"priority":1,"record_length":96,"hex_timestamp":"000001a071f5f2b8"} 
[2026-09-05 19:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:57: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-09-05 19:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-05 19:57:21] 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-09-05 19:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886294272001,"66":13048,"83":41984,"24":35,"16":18089118055530496,"45":2145050459298148352},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-09-05 19:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886294272001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:57:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18089118055530496,"km_value":18089118055530.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2145050459298148352,"description":"Unknown IO ID 45"} 
[2026-09-05 19:57:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457886294272001,"power":13048,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":2145050459298148352}} 
[2026-09-05 19:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":174584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:57:21] local.INFO: GPS data processed {"connection_id":174584,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:57:21] local.INFO: Acknowledgment sent {"connection_id":174584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:57:39] local.INFO: TCP Data received {"connection_id":172146,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 19:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 19:57:39] local.INFO: Processing buffer {"connection_id":172146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 19:57:39] local.INFO: Packet analysis {"connection_id":172146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f6"} 
[2026-09-05 19:57:39] local.INFO: Extracted packet for processing {"connection_id":172146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f6"} 
[2026-09-05 19:57:39] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886230016001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788618387000,"timestamp_ms":1788618387000,"timestamp_seconds":1788618387,"priority":1,"record_length":96,"hex_timestamp":"000001a071f6ae38"} 
[2026-09-05 19:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:57: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-09-05 19:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 19:57:39] 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-09-05 19:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886230016001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886230016001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:57:39] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:57:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886230016001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":172146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:57:39] local.INFO: GPS data processed {"connection_id":172146,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:57:39] local.INFO: Acknowledgment sent {"connection_id":172146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:57:44] local.INFO: TCP Data received {"connection_id":172147,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:57:44] local.INFO: Processing buffer {"connection_id":172147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:57:44] local.INFO: IMEI packet received {"connection_id":172147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":172147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:57:49] local.INFO: TCP Data received {"connection_id":172147,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:57:49] local.INFO: Processing buffer {"connection_id":172147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:57:49] local.INFO: IMEI packet received {"connection_id":172147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":172147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:57:50] local.INFO: TCP Data received {"connection_id":172147,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071f60258012d1db380071bcee80041013d27..."} 
[2026-09-05 19:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f60258012d1db380071bcee80041013d27..."} 
[2026-09-05 19:57:50] local.INFO: Processing buffer {"connection_id":172147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f60258012d1db380071bcee80041013d27..."} 
[2026-09-05 19:57:50] local.INFO: Packet analysis {"connection_id":172147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f6"} 
[2026-09-05 19:57:50] local.INFO: Extracted packet for processing {"connection_id":172147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f6"} 
[2026-09-05 19:57:50] local.INFO: GPS Element Parsed {"raw_longitude":756921216,"raw_latitude":119262952,"longitude_deg":75.6921216,"latitude_deg":11.9262952,"altitude":65,"angle":317,"satellites":39,"speed":39,"hex_longitude":"2d1db380","hex_latitude":"071bcee8","is_valid_coordinates":true} 
[2026-09-05 19:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886294784001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18089302739124224,"note":"Value kept but may cause issues"} 
[2026-09-05 19:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2143291240693929984,"note":"Value kept but may cause issues"} 
[2026-09-05 19:57:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 19:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788618343000,"timestamp_ms":1788618343000,"timestamp_seconds":1788618343,"priority":1,"record_length":96,"hex_timestamp":"000001a071f60258"} 
[2026-09-05 19:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-05 19:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886294784001,"66":13091,"83":41984,"24":39,"16":18089302739124224,"45":2143291240693929984},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-09-05 19:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886294784001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:57:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18089302739124224,"km_value":18089302739124.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2143291240693929984,"description":"Unknown IO ID 45"} 
[2026-09-05 19:57:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457886294784001,"power":13091,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":2143291240693929984}} 
[2026-09-05 19:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":172147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:57:50] local.INFO: GPS data processed {"connection_id":172147,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:57:50] local.INFO: Acknowledgment sent {"connection_id":172147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:57:55] local.INFO: TCP Data received {"connection_id":171882,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:57:55] local.INFO: Processing buffer {"connection_id":171882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:57:55] local.INFO: IMEI packet received {"connection_id":171882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":171882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:58:00] local.INFO: TCP Data received {"connection_id":171882,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:58:00] local.INFO: Processing buffer {"connection_id":171882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:58:00] local.INFO: IMEI packet received {"connection_id":171882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":171882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:58:01] local.INFO: TCP Data received {"connection_id":171882,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 19:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 19:58:01] local.INFO: Processing buffer {"connection_id":171882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 19:58:01] local.INFO: Packet analysis {"connection_id":171882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f6"} 
[2026-09-05 19:58:01] local.INFO: Extracted packet for processing {"connection_id":171882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f6"} 
[2026-09-05 19:58:01] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886230016001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788618387000,"timestamp_ms":1788618387000,"timestamp_seconds":1788618387,"priority":1,"record_length":96,"hex_timestamp":"000001a071f6ae38"} 
[2026-09-05 19:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:58:01] 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-09-05 19:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 19:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19:58:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886230016001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886230016001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:58:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:58:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886230016001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":171882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:58:01] local.INFO: GPS data processed {"connection_id":171882,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:58:01] local.INFO: Acknowledgment sent {"connection_id":171882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:58:21] local.INFO: TCP Data received {"connection_id":172147,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071f62968012d1d9780071be9a8003f013526..."} 
[2026-09-05 19:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f62968012d1d9780071be9a8003f013526..."} 
[2026-09-05 19:58:21] local.INFO: Processing buffer {"connection_id":172147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f62968012d1d9780071be9a8003f013526..."} 
[2026-09-05 19:58:21] local.INFO: Packet analysis {"connection_id":172147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f6"} 
[2026-09-05 19:58:21] local.INFO: Extracted packet for processing {"connection_id":172147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f6"} 
[2026-09-05 19:58:21] local.INFO: GPS Element Parsed {"raw_longitude":756914048,"raw_latitude":119269800,"longitude_deg":75.6914048,"latitude_deg":11.92698,"altitude":63,"angle":309,"satellites":38,"speed":40,"hex_longitude":"2d1d9780","hex_latitude":"071be9a8","is_valid_coordinates":true} 
[2026-09-05 19:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886295808001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18089779480494080,"note":"Value kept but may cause issues"} 
[2026-09-05 19:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2140195015950788608,"note":"Value kept but may cause issues"} 
[2026-09-05 19:58:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 19:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788618353000,"timestamp_ms":1788618353000,"timestamp_seconds":1788618353,"priority":1,"record_length":96,"hex_timestamp":"000001a071f62968"} 
[2026-09-05 19:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:58: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-09-05 19:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-05 19:58:21] 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-09-05 19:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886295808001,"66":12722,"83":41984,"24":40,"16":18089779480494080,"45":2140195015950788608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-09-05 19:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886295808001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:58:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18089779480494080,"km_value":18089779480494.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2140195015950788608,"description":"Unknown IO ID 45"} 
[2026-09-05 19:58:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457886295808001,"power":12722,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":2140195015950788608}} 
[2026-09-05 19:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":172147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:58:21] local.INFO: GPS data processed {"connection_id":172147,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:58:21] local.INFO: Acknowledgment sent {"connection_id":172147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:58:33] local.INFO: TCP Data received {"connection_id":171882,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 19:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 19:58:33] local.INFO: Processing buffer {"connection_id":171882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 19:58:33] local.INFO: Packet analysis {"connection_id":171882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f6"} 
[2026-09-05 19:58:33] local.INFO: Extracted packet for processing {"connection_id":171882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f6"} 
[2026-09-05 19:58:33] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19: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-09-05 19:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886230016001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788618387000,"timestamp_ms":1788618387000,"timestamp_seconds":1788618387,"priority":1,"record_length":96,"hex_timestamp":"000001a071f6ae38"} 
[2026-09-05 19:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:58: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-09-05 19: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 19:58: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-09-05 19: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-09-05 19:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886230016001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886230016001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:58:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:58:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886230016001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":171882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:58:33] local.INFO: GPS data processed {"connection_id":171882,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:58:33] local.INFO: Acknowledgment sent {"connection_id":171882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:58:49] local.INFO: TCP Data received {"connection_id":171883,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:58:49] local.INFO: Processing buffer {"connection_id":171883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:58:49] local.INFO: IMEI packet received {"connection_id":171883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":171883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:58:54] local.INFO: TCP Data received {"connection_id":171883,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:58:54] local.INFO: Processing buffer {"connection_id":171883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:58:54] local.INFO: IMEI packet received {"connection_id":171883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":171883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:58:54] local.INFO: TCP Data received {"connection_id":171883,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071f67b70012d1d7fc0071bfa780037013326..."} 
[2026-09-05 19:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f67b70012d1d7fc0071bfa780037013326..."} 
[2026-09-05 19:58:54] local.INFO: Processing buffer {"connection_id":171883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f67b70012d1d7fc0071bfa780037013326..."} 
[2026-09-05 19:58:54] local.INFO: Packet analysis {"connection_id":171883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f6"} 
[2026-09-05 19:58:54] local.INFO: Extracted packet for processing {"connection_id":171883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f6"} 
[2026-09-05 19:58:54] local.INFO: GPS Element Parsed {"raw_longitude":756907968,"raw_latitude":119274104,"longitude_deg":75.6907968,"latitude_deg":11.9274104,"altitude":55,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d1d7fc0","hex_latitude":"071bfa78","is_valid_coordinates":true} 
[2026-09-05 19:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886298368001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18090140257746944,"note":"Value kept but may cause issues"} 
[2026-09-05 19:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2132313716604643328,"note":"Value kept but may cause issues"} 
[2026-09-05 19:58:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 19:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788618374000,"timestamp_ms":1788618374000,"timestamp_seconds":1788618374,"priority":1,"record_length":96,"hex_timestamp":"000001a071f67b70"} 
[2026-09-05 19:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 19:58:54] 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-09-05 19:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886298368001,"66":12917,"83":41984,"24":0,"16":18090140257746944,"45":2132313716604643328},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-09-05 19:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886298368001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:58:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18090140257746944,"km_value":18090140257746.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":2132313716604643328,"description":"Unknown IO ID 45"} 
[2026-09-05 19:58:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457886298368001,"power":12917,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2132313716604643328}} 
[2026-09-05 19:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":171883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:58:54] local.INFO: GPS data processed {"connection_id":171883,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:58:54] local.INFO: Acknowledgment sent {"connection_id":171883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:58:55] local.INFO: TCP Data received {"connection_id":174585,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:58:55] local.INFO: Processing buffer {"connection_id":174585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:58:55] local.INFO: IMEI packet received {"connection_id":174585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":174585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:58:58] local.INFO: TCP Data received {"connection_id":171883,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071f6cd78012d1d7fc0071bfa780037013328..."} 
[2026-09-05 19:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f6cd78012d1d7fc0071bfa780037013328..."} 
[2026-09-05 19:58:58] local.INFO: Processing buffer {"connection_id":171883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f6cd78012d1d7fc0071bfa780037013328..."} 
[2026-09-05 19:58:58] local.INFO: Packet analysis {"connection_id":171883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f6"} 
[2026-09-05 19:58:58] local.INFO: Extracted packet for processing {"connection_id":171883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f6"} 
[2026-09-05 19:58:58] local.INFO: GPS Element Parsed {"raw_longitude":756907968,"raw_latitude":119274104,"longitude_deg":75.6907968,"latitude_deg":11.9274104,"altitude":55,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d1d7fc0","hex_latitude":"071bfa78","is_valid_coordinates":true} 
[2026-09-05 19:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886303744001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18090140257746944,"note":"Value kept but may cause issues"} 
[2026-09-05 19:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2125628685908867072,"note":"Value kept but may cause issues"} 
[2026-09-05 19:58:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 19:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788618395000,"timestamp_ms":1788618395000,"timestamp_seconds":1788618395,"priority":1,"record_length":96,"hex_timestamp":"000001a071f6cd78"} 
[2026-09-05 19:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-05 19:58:58] 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-09-05 19:58:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886303744001,"66":12776,"83":41984,"24":0,"16":18090140257746944,"45":2125628685908867072},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-09-05 19:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886303744001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:58:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18090140257746944,"km_value":18090140257746.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2125628685908867072,"description":"Unknown IO ID 45"} 
[2026-09-05 19:58:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457886303744001,"power":12776,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2125628685908867072}} 
[2026-09-05 19:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":171883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:58:58] local.INFO: GPS data processed {"connection_id":171883,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:58:58] local.INFO: Acknowledgment sent {"connection_id":171883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:59:00] local.INFO: TCP Data received {"connection_id":174585,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:59:00] local.INFO: Processing buffer {"connection_id":174585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:59:00] local.INFO: IMEI packet received {"connection_id":174585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 19:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":174585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:59:01] local.INFO: TCP Data received {"connection_id":174585,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 19:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 19:59:01] local.INFO: Processing buffer {"connection_id":174585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 19:59:01] local.INFO: Packet analysis {"connection_id":174585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f6"} 
[2026-09-05 19:59:01] local.INFO: Extracted packet for processing {"connection_id":174585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f6"} 
[2026-09-05 19:59:01] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 19:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886230016001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788618387000,"timestamp_ms":1788618387000,"timestamp_seconds":1788618387,"priority":1,"record_length":96,"hex_timestamp":"000001a071f6ae38"} 
[2026-09-05 19:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:59:01] 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-09-05 19:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 19:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 19: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-09-05 19:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886230016001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886230016001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:59:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:59:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886230016001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":174585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:59:01] local.INFO: GPS data processed {"connection_id":174585,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:59:01] local.INFO: Acknowledgment sent {"connection_id":174585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:59:33] local.INFO: TCP Data received {"connection_id":174585,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 19:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 19:59:33] local.INFO: Processing buffer {"connection_id":174585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 19:59:33] local.INFO: Packet analysis {"connection_id":174585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f6"} 
[2026-09-05 19:59:33] local.INFO: Extracted packet for processing {"connection_id":174585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f6"} 
[2026-09-05 19:59:33] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 19:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886230016001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 19:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 19:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 19:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788618387000,"timestamp_ms":1788618387000,"timestamp_seconds":1788618387,"priority":1,"record_length":96,"hex_timestamp":"000001a071f6ae38"} 
[2026-09-05 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-09-05 19:59: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-09-05 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 19:59: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-09-05 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-09-05 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-09-05 19:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 19:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 19:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 19:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886230016001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 19:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 19:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 19:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886230016001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:59:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 19:59:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 19:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 19:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886230016001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 19:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":174585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:59:33] local.INFO: GPS data processed {"connection_id":174585,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:59:33] local.INFO: Acknowledgment sent {"connection_id":174585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:59:44] local.INFO: TCP Data received {"connection_id":174586,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:59:44] local.INFO: Processing buffer {"connection_id":174586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:59:44] local.INFO: IMEI packet received {"connection_id":174586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 19:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":174586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 19:59:49] local.INFO: TCP Data received {"connection_id":174586,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:59:49] local.INFO: Processing buffer {"connection_id":174586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 19:59:49] local.INFO: IMEI packet received {"connection_id":174586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 19:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":174586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 19:59:50] local.INFO: TCP Data received {"connection_id":174586,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071f71f80012d1d7fc0071bfa780037013328..."} 
[2026-09-05 19:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f71f80012d1d7fc0071bfa780037013328..."} 
[2026-09-05 19:59:50] local.INFO: Processing buffer {"connection_id":174586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f71f80012d1d7fc0071bfa780037013328..."} 
[2026-09-05 19:59:50] local.INFO: Packet analysis {"connection_id":174586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f7"} 
[2026-09-05 19:59:50] local.INFO: Extracted packet for processing {"connection_id":174586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f7"} 
[2026-09-05 19:59:50] local.INFO: GPS Element Parsed {"raw_longitude":756907968,"raw_latitude":119274104,"longitude_deg":75.6907968,"latitude_deg":11.9274104,"altitude":55,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d1d7fc0","hex_latitude":"071bfa78","is_valid_coordinates":true} 
[2026-09-05 19:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 19:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886309120001,"note":"Value kept but may cause issues"} 
[2026-09-05 19:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18090140257746944,"note":"Value kept but may cause issues"} 
[2026-09-05 19:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2125628685908867072,"note":"Value kept but may cause issues"} 
[2026-09-05 19:59:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 19:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788618416000,"timestamp_ms":1788618416000,"timestamp_seconds":1788618416,"priority":1,"record_length":96,"hex_timestamp":"000001a071f71f80"} 
[2026-09-05 19:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 19:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 19:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-05 19:59:50] 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-09-05 19:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 19:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 19:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 19:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 19:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 19:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 19:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 19:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 19:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886309120001,"66":12689,"83":41984,"24":0,"16":18090140257746944,"45":2125628685908867072},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-09-05 19:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 19:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 19:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886309120001,"description":"Unknown IO ID 0"} 
[2026-09-05 19:59:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 19:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18090140257746944,"km_value":18090140257746.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 19:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2125628685908867072,"description":"Unknown IO ID 45"} 
[2026-09-05 19:59:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457886309120001,"power":12689,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2125628685908867072}} 
[2026-09-05 19:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":174586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 19:59:50] local.INFO: GPS data processed {"connection_id":174586,"processed":1,"errors":0,"total":1} 
[2026-09-05 19:59:50] local.INFO: Acknowledgment sent {"connection_id":174586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 19:59:55] local.INFO: TCP Data received {"connection_id":173270,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:59:55] local.INFO: Processing buffer {"connection_id":173270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 19:59:55] local.INFO: IMEI packet received {"connection_id":173270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 19:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":173270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:00:00] local.INFO: TCP Data received {"connection_id":173270,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:00:00] local.INFO: Processing buffer {"connection_id":173270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:00:00] local.INFO: IMEI packet received {"connection_id":173270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":173270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:00:02] local.INFO: TCP Data received {"connection_id":173270,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 20:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 20:00:02] local.INFO: Processing buffer {"connection_id":173270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 20:00:02] local.INFO: Packet analysis {"connection_id":173270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f6"} 
[2026-09-05 20:00:02] local.INFO: Extracted packet for processing {"connection_id":173270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f6"} 
[2026-09-05 20:00:02] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886230016001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788618387000,"timestamp_ms":1788618387000,"timestamp_seconds":1788618387,"priority":1,"record_length":96,"hex_timestamp":"000001a071f6ae38"} 
[2026-09-05 20:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:00:02] 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-09-05 20: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 20:00: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-09-05 20: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-09-05 20:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886230016001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886230016001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:00:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:00:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886230016001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":173270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:00:02] local.INFO: GPS data processed {"connection_id":173270,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:00:02] local.INFO: Acknowledgment sent {"connection_id":173270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:00:21] local.INFO: TCP Data received {"connection_id":174586,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071f77188012d1d7fc0071bfa780037013323..."} 
[2026-09-05 20:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f77188012d1d7fc0071bfa780037013323..."} 
[2026-09-05 20:00:21] local.INFO: Processing buffer {"connection_id":174586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f77188012d1d7fc0071bfa780037013323..."} 
[2026-09-05 20:00:21] local.INFO: Packet analysis {"connection_id":174586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f7"} 
[2026-09-05 20:00:21] local.INFO: Extracted packet for processing {"connection_id":174586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f7"} 
[2026-09-05 20:00:21] local.INFO: GPS Element Parsed {"raw_longitude":756907968,"raw_latitude":119274104,"longitude_deg":75.6907968,"latitude_deg":11.9274104,"altitude":55,"angle":307,"satellites":35,"speed":0,"hex_longitude":"2d1d7fc0","hex_latitude":"071bfa78","is_valid_coordinates":true} 
[2026-09-05 20:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886314496001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18090140257746944,"note":"Value kept but may cause issues"} 
[2026-09-05 20:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2125628685908867072,"note":"Value kept but may cause issues"} 
[2026-09-05 20:00:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 20:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788618437000,"timestamp_ms":1788618437000,"timestamp_seconds":1788618437,"priority":1,"record_length":96,"hex_timestamp":"000001a071f77188"} 
[2026-09-05 20:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:00: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-09-05 20:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-05 20:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886314496001,"66":12667,"83":41984,"24":0,"16":18090140257746944,"45":2125628685908867072},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-09-05 20:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886314496001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:00:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18090140257746944,"km_value":18090140257746.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2125628685908867072,"description":"Unknown IO ID 45"} 
[2026-09-05 20:00:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457886314496001,"power":12667,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2125628685908867072}} 
[2026-09-05 20:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":174586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:00:21] local.INFO: GPS data processed {"connection_id":174586,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:00:21] local.INFO: Acknowledgment sent {"connection_id":174586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:00:33] local.INFO: TCP Data received {"connection_id":173270,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 20:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 20:00:33] local.INFO: Processing buffer {"connection_id":173270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 20:00:33] local.INFO: Packet analysis {"connection_id":173270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f6"} 
[2026-09-05 20:00:33] local.INFO: Extracted packet for processing {"connection_id":173270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f6"} 
[2026-09-05 20:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886230016001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788618387000,"timestamp_ms":1788618387000,"timestamp_seconds":1788618387,"priority":1,"record_length":96,"hex_timestamp":"000001a071f6ae38"} 
[2026-09-05 20:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:00: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-09-05 20: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-09-05 20: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-09-05 20: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-09-05 20:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886230016001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886230016001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:00:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:00:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886230016001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":173270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:00:33] local.INFO: GPS data processed {"connection_id":173270,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:00:33] local.INFO: Acknowledgment sent {"connection_id":173270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:00:43] local.INFO: TCP Data received {"connection_id":171884,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:00:43] local.INFO: Processing buffer {"connection_id":171884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:00:43] local.INFO: IMEI packet received {"connection_id":171884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":171884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:00:44] local.INFO: TCP Data received {"connection_id":171884,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:00:44] local.INFO: Processing buffer {"connection_id":171884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:00:44] local.INFO: IMEI packet received {"connection_id":171884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":171884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:00:49] local.INFO: TCP Data received {"connection_id":171884,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:00:49] local.INFO: Processing buffer {"connection_id":171884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:00:49] local.INFO: IMEI packet received {"connection_id":171884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":171884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:00:50] local.INFO: TCP Data received {"connection_id":171884,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071f7c390012d1d7fc0071bfa780037013326..."} 
[2026-09-05 20:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f7c390012d1d7fc0071bfa780037013326..."} 
[2026-09-05 20:00:50] local.INFO: Processing buffer {"connection_id":171884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f7c390012d1d7fc0071bfa780037013326..."} 
[2026-09-05 20:00:50] local.INFO: Packet analysis {"connection_id":171884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f7"} 
[2026-09-05 20:00:50] local.INFO: Extracted packet for processing {"connection_id":171884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f7"} 
[2026-09-05 20:00:50] local.INFO: GPS Element Parsed {"raw_longitude":756907968,"raw_latitude":119274104,"longitude_deg":75.6907968,"latitude_deg":11.9274104,"altitude":55,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d1d7fc0","hex_latitude":"071bfa78","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886319872001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18090140257746944,"note":"Value kept but may cause issues"} 
[2026-09-05 20:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2125628685908867072,"note":"Value kept but may cause issues"} 
[2026-09-05 20:00:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 20:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788618458000,"timestamp_ms":1788618458000,"timestamp_seconds":1788618458,"priority":1,"record_length":96,"hex_timestamp":"000001a071f7c390"} 
[2026-09-05 20:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20: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-09-05 20: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-05 20:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20: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-09-05 20:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886319872001,"66":12548,"83":41984,"24":0,"16":18090140257746944,"45":2125628685908867072},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-09-05 20:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886319872001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:00:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18090140257746944,"km_value":18090140257746.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2125628685908867072,"description":"Unknown IO ID 45"} 
[2026-09-05 20:00:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457886319872001,"power":12548,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2125628685908867072}} 
[2026-09-05 20:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":171884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:00:50] local.INFO: GPS data processed {"connection_id":171884,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:00:50] local.INFO: Acknowledgment sent {"connection_id":171884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:00:55] local.INFO: TCP Data received {"connection_id":173271,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:00:55] local.INFO: Processing buffer {"connection_id":173271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:00:55] local.INFO: IMEI packet received {"connection_id":173271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":173271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:01:00] local.INFO: TCP Data received {"connection_id":173271,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:01:00] local.INFO: Processing buffer {"connection_id":173271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:01:00] local.INFO: IMEI packet received {"connection_id":173271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":173271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:01:01] local.INFO: TCP Data received {"connection_id":173271,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 20:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 20:01:01] local.INFO: Processing buffer {"connection_id":173271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 20:01:01] local.INFO: Packet analysis {"connection_id":173271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f6"} 
[2026-09-05 20:01:01] local.INFO: Extracted packet for processing {"connection_id":173271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f6"} 
[2026-09-05 20:01:01] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 20:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886230016001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788618387000,"timestamp_ms":1788618387000,"timestamp_seconds":1788618387,"priority":1,"record_length":96,"hex_timestamp":"000001a071f6ae38"} 
[2026-09-05 20:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:01:01] 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-09-05 20:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 20:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:01:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886230016001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886230016001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:01:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:01:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886230016001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":173271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:01:01] local.INFO: GPS data processed {"connection_id":173271,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:01:01] local.INFO: Acknowledgment sent {"connection_id":173271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:01:30] local.INFO: TCP Data received {"connection_id":171884,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071f81598012d1d7fc0071bfa780037013325..."} 
[2026-09-05 20:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f81598012d1d7fc0071bfa780037013325..."} 
[2026-09-05 20:01:30] local.INFO: Processing buffer {"connection_id":171884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f81598012d1d7fc0071bfa780037013325..."} 
[2026-09-05 20:01:30] local.INFO: Packet analysis {"connection_id":171884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f8"} 
[2026-09-05 20:01:30] local.INFO: Extracted packet for processing {"connection_id":171884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f8"} 
[2026-09-05 20:01:30] local.INFO: GPS Element Parsed {"raw_longitude":756907968,"raw_latitude":119274104,"longitude_deg":75.6907968,"latitude_deg":11.9274104,"altitude":55,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d1d7fc0","hex_latitude":"071bfa78","is_valid_coordinates":true} 
[2026-09-05 20:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886325248001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18090140257746944,"note":"Value kept but may cause issues"} 
[2026-09-05 20:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2125628685908867072,"note":"Value kept but may cause issues"} 
[2026-09-05 20:01:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 20:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788618479000,"timestamp_ms":1788618479000,"timestamp_seconds":1788618479,"priority":1,"record_length":96,"hex_timestamp":"000001a071f81598"} 
[2026-09-05 20:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 20:01:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 20:01:30] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3808428032,"note":"Value kept but may cause issues"} 
[2026-09-05 20:01:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1767047374,"corrected_to":0} 
[2026-09-05 20:01:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184232616141,"note":"Value kept but may cause issues"} 
[2026-09-05 20:01:30] local.WARNING: Large IO value detected {"io_id":27,"raw_value":4202168375,"note":"Value kept but may cause issues"} 
[2026-09-05 20:01:30] local.WARNING: Large IO value detected {"io_id":151,"raw_value":2147949545,"note":"Value kept but may cause issues"} 
[2026-09-05 20:01:30] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397033,"note":"Value kept but may cause issues"} 
[2026-09-05 20:01:30] local.WARNING: Large IO value detected {"io_id":39,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-05 20:01:30] local.WARNING: Large IO value detected {"io_id":105,"raw_value":5981007163777095680,"note":"Value kept but may cause issues"} 
[2026-09-05 20:01:30] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,83,24,241,157,16,68,160,113,45,192,250,55,35,10,66,31,40,205,1,240,232,227,27,4,41,151,168,38,239,49,2,64,7,65,39,105],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1767047374,"validated":0}]} 
[2026-09-05 20:01:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963505385364520960,"timestamp_seconds":3963505385364521.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 20:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":171884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":171884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":171884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886325248001,"66":12461,"83":41984,"24":0,"16":18090140257746944,"45":2125628685908867072},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-09-05 20:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886325248001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:01:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18090140257746944,"km_value":18090140257746.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":2125628685908867072,"description":"Unknown IO ID 45"} 
[2026-09-05 20:01:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457886325248001,"power":12461,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2125628685908867072}} 
[2026-09-05 20:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":171884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:01:30] local.INFO: GPS data processed {"connection_id":171884,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:01:30] local.INFO: Acknowledgment sent {"connection_id":171884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:01:33] local.INFO: TCP Data received {"connection_id":173271,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 20:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 20:01:33] local.INFO: Processing buffer {"connection_id":173271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 20:01:33] local.INFO: Packet analysis {"connection_id":173271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f6"} 
[2026-09-05 20:01:33] local.INFO: Extracted packet for processing {"connection_id":173271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f6"} 
[2026-09-05 20:01:33] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886230016001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788618387000,"timestamp_ms":1788618387000,"timestamp_seconds":1788618387,"priority":1,"record_length":96,"hex_timestamp":"000001a071f6ae38"} 
[2026-09-05 20:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:01: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-09-05 20: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-09-05 20: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-09-05 20: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-09-05 20:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886230016001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886230016001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:01:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:01:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886230016001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":173271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:01:33] local.INFO: GPS data processed {"connection_id":173271,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:01:33] local.INFO: Acknowledgment sent {"connection_id":173271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:01:45] local.INFO: TCP Data received {"connection_id":172148,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:01:45] local.INFO: Processing buffer {"connection_id":172148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:01:45] local.INFO: IMEI packet received {"connection_id":172148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":172148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:01:49] local.INFO: TCP Data received {"connection_id":172148,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:01:49] local.INFO: Processing buffer {"connection_id":172148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:01:49] local.INFO: IMEI packet received {"connection_id":172148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":172148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:01:55] local.INFO: TCP Data received {"connection_id":174587,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:01:55] local.INFO: Processing buffer {"connection_id":174587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:01:55] local.INFO: IMEI packet received {"connection_id":174587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":174587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:01:55] local.INFO: TCP Data received {"connection_id":172148,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:01:55] local.INFO: Processing buffer {"connection_id":172148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:01:55] local.INFO: IMEI packet received {"connection_id":172148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":172148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:01:56] local.INFO: TCP Data received {"connection_id":172148,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071fa6f28012d1d5680071c02d00039010129..."} 
[2026-09-05 20:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071fa6f28012d1d5680071c02d00039010129..."} 
[2026-09-05 20:01:56] local.INFO: Processing buffer {"connection_id":172148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071fa6f28012d1d5680071c02d00039010129..."} 
[2026-09-05 20:01:56] local.INFO: Packet analysis {"connection_id":172148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071fa"} 
[2026-09-05 20:01:56] local.INFO: Extracted packet for processing {"connection_id":172148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071fa"} 
[2026-09-05 20:01:56] local.INFO: GPS Element Parsed {"raw_longitude":756897408,"raw_latitude":119276240,"longitude_deg":75.6897408,"latitude_deg":11.927624,"altitude":57,"angle":257,"satellites":41,"speed":33,"hex_longitude":"2d1d5680","hex_latitude":"071c02d0","is_valid_coordinates":true} 
[2026-09-05 20:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886369024001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18090659948789760,"note":"Value kept but may cause issues"} 
[2026-09-05 20:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2117536280329062400,"note":"Value kept but may cause issues"} 
[2026-09-05 20:01:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 20:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788618633000,"timestamp_ms":1788618633000,"timestamp_seconds":1788618633,"priority":1,"record_length":96,"hex_timestamp":"000001a071fa6f28"} 
[2026-09-05 20:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-05 20:01:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:01:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886369024001,"66":13515,"83":41984,"24":33,"16":18090659948789760,"45":2117536280329062400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-09-05 20:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886369024001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:01:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18090659948789760,"km_value":18090659948789.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":2117536280329062400,"description":"Unknown IO ID 45"} 
[2026-09-05 20:01:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457886369024001,"power":13515,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":2117536280329062400}} 
[2026-09-05 20:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":172148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:01:57] local.INFO: GPS data processed {"connection_id":172148,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:01:57] local.INFO: Acknowledgment sent {"connection_id":172148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:02:01] local.INFO: TCP Data received {"connection_id":174587,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:02:01] local.INFO: Processing buffer {"connection_id":174587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:02:01] local.INFO: IMEI packet received {"connection_id":174587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":174587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:02:02] local.INFO: TCP Data received {"connection_id":174587,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 20:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 20:02:02] local.INFO: Processing buffer {"connection_id":174587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071f6ae38012d7b8ac005f5f2b8000b003f2c..."} 
[2026-09-05 20:02:02] local.INFO: Packet analysis {"connection_id":174587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071f6"} 
[2026-09-05 20:02:02] local.INFO: Extracted packet for processing {"connection_id":174587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071f6"} 
[2026-09-05 20:02:02] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886230016001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788618387000,"timestamp_ms":1788618387000,"timestamp_seconds":1788618387,"priority":1,"record_length":96,"hex_timestamp":"000001a071f6ae38"} 
[2026-09-05 20:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:02:02] 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-09-05 20:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 20:02: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-09-05 20: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-09-05 20:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886230016001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886230016001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:02:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:02:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886230016001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":174587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:02:02] local.INFO: GPS data processed {"connection_id":174587,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:02:02] local.INFO: Acknowledgment sent {"connection_id":174587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:02:31] local.INFO: TCP Data received {"connection_id":172148,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071fa9e08012d1d3100071bf9e0003900fe28..."} 
[2026-09-05 20:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071fa9e08012d1d3100071bf9e0003900fe28..."} 
[2026-09-05 20:02:31] local.INFO: Processing buffer {"connection_id":172148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071fa9e08012d1d3100071bf9e0003900fe28..."} 
[2026-09-05 20:02:31] local.INFO: Packet analysis {"connection_id":172148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071fa"} 
[2026-09-05 20:02:31] local.INFO: Extracted packet for processing {"connection_id":172148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071fa"} 
[2026-09-05 20:02:31] local.INFO: GPS Element Parsed {"raw_longitude":756887808,"raw_latitude":119273952,"longitude_deg":75.6887808,"latitude_deg":11.9273952,"altitude":57,"angle":254,"satellites":40,"speed":32,"hex_longitude":"2d1d3100","hex_latitude":"071bf9e0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 20:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886370048001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18091132395192320,"note":"Value kept but may cause issues"} 
[2026-09-05 20:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2114017843120099328,"note":"Value kept but may cause issues"} 
[2026-09-05 20:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788618645000,"timestamp_ms":1788618645000,"timestamp_seconds":1788618645,"priority":1,"record_length":96,"hex_timestamp":"000001a071fa9e08"} 
[2026-09-05 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-09-05 20:02: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-09-05 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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-05 20:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 20:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886370048001,"66":13537,"82":206,"83":41984,"24":32,"16":18091132395192320,"45":2114017843120099328},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-05 20:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886370048001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:02:31] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-05 20:02:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18091132395192320,"km_value":18091132395192.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":2114017843120099328,"description":"Unknown IO ID 45"} 
[2026-09-05 20:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886370048001,"power":13537,"unknown_82":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":2114017843120099328}} 
[2026-09-05 20:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":172148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:02:31] local.INFO: GPS data processed {"connection_id":172148,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:02:31] local.INFO: Acknowledgment sent {"connection_id":172148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:02:33] local.INFO: TCP Data received {"connection_id":174587,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071fb4600012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071fb4600012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:02:33] local.INFO: Processing buffer {"connection_id":174587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071fb4600012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:02:33] local.INFO: Packet analysis {"connection_id":174587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071fb"} 
[2026-09-05 20:02:33] local.INFO: Extracted packet for processing {"connection_id":174587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071fb"} 
[2026-09-05 20:02:33] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":47,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 20:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886307072001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788618688000,"timestamp_ms":1788618688000,"timestamp_seconds":1788618688,"priority":1,"record_length":96,"hex_timestamp":"000001a071fb4600"} 
[2026-09-05 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-09-05 20:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 20:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 20:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886307072001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886307072001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:02:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:02:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886307072001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":174587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:02:33] local.INFO: GPS data processed {"connection_id":174587,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:02:33] local.INFO: Acknowledgment sent {"connection_id":174587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:02:43] local.INFO: TCP Data received {"connection_id":172149,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:02:43] local.INFO: Processing buffer {"connection_id":172149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:02:43] local.INFO: IMEI packet received {"connection_id":172149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":172149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:02:44] local.INFO: TCP Data received {"connection_id":172149,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:02:44] local.INFO: Processing buffer {"connection_id":172149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:02:44] local.INFO: IMEI packet received {"connection_id":172149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":172149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:02:45] local.INFO: TCP Data received {"connection_id":172149,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:02:45] local.INFO: Processing buffer {"connection_id":172149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:02:45] local.INFO: IMEI packet received {"connection_id":172149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":172149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:02:46] local.INFO: TCP Data received {"connection_id":172149,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:02:46] local.INFO: Processing buffer {"connection_id":172149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:02:46] local.INFO: IMEI packet received {"connection_id":172149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":172149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:02:47] local.INFO: TCP Data received {"connection_id":172149,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071facce8012d1d0fc0071bec50003b00fa29..."} 
[2026-09-05 20:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071facce8012d1d0fc0071bec50003b00fa29..."} 
[2026-09-05 20:02:47] local.INFO: Processing buffer {"connection_id":172149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071facce8012d1d0fc0071bec50003b00fa29..."} 
[2026-09-05 20:02:47] local.INFO: Packet analysis {"connection_id":172149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071fa"} 
[2026-09-05 20:02:47] local.INFO: Extracted packet for processing {"connection_id":172149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071fa"} 
[2026-09-05 20:02:47] local.INFO: GPS Element Parsed {"raw_longitude":756879296,"raw_latitude":119270480,"longitude_deg":75.6879296,"latitude_deg":11.927048,"altitude":59,"angle":250,"satellites":41,"speed":31,"hex_longitude":"2d1d0fc0","hex_latitude":"071bec50","is_valid_coordinates":true} 
[2026-09-05 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-09-05 20:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886373120001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18091570481856512,"note":"Value kept but may cause issues"} 
[2026-09-05 20:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2103462531492864000,"note":"Value kept but may cause issues"} 
[2026-09-05 20:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788618657000,"timestamp_ms":1788618657000,"timestamp_seconds":1788618657,"priority":1,"record_length":96,"hex_timestamp":"000001a071facce8"} 
[2026-09-05 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-09-05 20:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-05 20:02:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 20:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":172149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":172149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":172149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886373120001,"66":13450,"71":206,"83":41984,"24":31,"16":18091570481856512,"45":2103462531492864000},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-09-05 20:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886373120001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:02:47] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-05 20:02:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18091570481856512,"km_value":18091570481856.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":2103462531492864000,"description":"Unknown IO ID 45"} 
[2026-09-05 20:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886373120001,"power":13450,"unknown_71":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":2103462531492864000}} 
[2026-09-05 20:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":172149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:02:47] local.INFO: GPS data processed {"connection_id":172149,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:02:47] local.INFO: Acknowledgment sent {"connection_id":172149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:02:55] local.INFO: TCP Data received {"connection_id":171885,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:02:55] local.INFO: Processing buffer {"connection_id":171885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:02:55] local.INFO: IMEI packet received {"connection_id":171885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":171885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:03:00] local.INFO: TCP Data received {"connection_id":171885,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:03:00] local.INFO: Processing buffer {"connection_id":171885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:03:00] local.INFO: IMEI packet received {"connection_id":171885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":171885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:03:01] local.INFO: TCP Data received {"connection_id":171885,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071fb4600012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071fb4600012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:03:01] local.INFO: Processing buffer {"connection_id":171885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071fb4600012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:03:01] local.INFO: Packet analysis {"connection_id":171885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071fb"} 
[2026-09-05 20:03:01] local.INFO: Extracted packet for processing {"connection_id":171885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071fb"} 
[2026-09-05 20:03:01] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":47,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 20:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886307072001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788618688000,"timestamp_ms":1788618688000,"timestamp_seconds":1788618688,"priority":1,"record_length":96,"hex_timestamp":"000001a071fb4600"} 
[2026-09-05 20:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:03:01] 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-09-05 20:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 20:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886307072001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886307072001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:03:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:03:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886307072001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":171885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:03:01] local.INFO: GPS data processed {"connection_id":171885,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:03:01] local.INFO: Acknowledgment sent {"connection_id":171885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:03:18] local.INFO: TCP Data received {"connection_id":172149,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071fc20c0012d1bd380071bd300004601282a..."} 
[2026-09-05 20:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071fc20c0012d1bd380071bd300004601282a..."} 
[2026-09-05 20:03:18] local.INFO: Processing buffer {"connection_id":172149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071fc20c0012d1bd380071bd300004601282a..."} 
[2026-09-05 20:03:18] local.INFO: Packet analysis {"connection_id":172149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071fc"} 
[2026-09-05 20:03:18] local.INFO: Extracted packet for processing {"connection_id":172149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071fc"} 
[2026-09-05 20:03:18] local.INFO: GPS Element Parsed {"raw_longitude":756798336,"raw_latitude":119264000,"longitude_deg":75.6798336,"latitude_deg":11.9264,"altitude":70,"angle":296,"satellites":42,"speed":42,"hex_longitude":"2d1bd380","hex_latitude":"071bd300","is_valid_coordinates":true} 
[2026-09-05 20:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886396160001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18095543326605312,"note":"Value kept but may cause issues"} 
[2026-09-05 20:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2014164595128481792,"note":"Value kept but may cause issues"} 
[2026-09-05 20:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788618744000,"timestamp_ms":1788618744000,"timestamp_seconds":1788618744,"priority":1,"record_length":96,"hex_timestamp":"000001a071fc20c0"} 
[2026-09-05 20:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:03: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-09-05 20:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-05 20:03:18] 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-09-05 20:03:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":172149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":172149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":172149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886396160001,"66":13493,"71":206,"83":41984,"24":42,"16":18095543326605312,"45":2014164595128481792},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-09-05 20:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886396160001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:03:18] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-05 20:03:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18095543326605312,"km_value":18095543326605.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":2014164595128481792,"description":"Unknown IO ID 45"} 
[2026-09-05 20:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886396160001,"power":13493,"unknown_71":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":2014164595128481792}} 
[2026-09-05 20:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":172149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:03:18] local.INFO: GPS data processed {"connection_id":172149,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:03:18] local.INFO: Acknowledgment sent {"connection_id":172149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:03:32] local.INFO: TCP Data received {"connection_id":171885,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071fb4600012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071fb4600012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:03:32] local.INFO: Processing buffer {"connection_id":171885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071fb4600012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:03:32] local.INFO: Packet analysis {"connection_id":171885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071fb"} 
[2026-09-05 20:03:32] local.INFO: Extracted packet for processing {"connection_id":171885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071fb"} 
[2026-09-05 20:03:32] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":47,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886307072001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788618688000,"timestamp_ms":1788618688000,"timestamp_seconds":1788618688,"priority":1,"record_length":96,"hex_timestamp":"000001a071fb4600"} 
[2026-09-05 20:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:03:32] 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-09-05 20:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 20:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20: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-09-05 20:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886307072001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886307072001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:03:32] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:03:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886307072001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":171885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:03:32] local.INFO: GPS data processed {"connection_id":171885,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:03:32] local.INFO: Acknowledgment sent {"connection_id":171885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:03:42] local.INFO: TCP Data received {"connection_id":174588,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:03:42] local.INFO: Processing buffer {"connection_id":174588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:03:42] local.INFO: IMEI packet received {"connection_id":174588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":174588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:03:44] local.INFO: TCP Data received {"connection_id":174588,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:03:44] local.INFO: Processing buffer {"connection_id":174588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:03:44] local.INFO: IMEI packet received {"connection_id":174588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":174588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:03:49] local.INFO: TCP Data received {"connection_id":174588,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:03:49] local.INFO: Processing buffer {"connection_id":174588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:03:49] local.INFO: IMEI packet received {"connection_id":174588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":174588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:03:50] local.INFO: TCP Data received {"connection_id":174588,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071fca1a8012d1b6c40071bf5a8003e003629..."} 
[2026-09-05 20:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071fca1a8012d1b6c40071bf5a8003e003629..."} 
[2026-09-05 20:03:50] local.INFO: Processing buffer {"connection_id":174588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071fca1a8012d1b6c40071bf5a8003e003629..."} 
[2026-09-05 20:03:50] local.INFO: Packet analysis {"connection_id":174588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071fc"} 
[2026-09-05 20:03:50] local.INFO: Extracted packet for processing {"connection_id":174588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071fc"} 
[2026-09-05 20:03:50] local.INFO: GPS Element Parsed {"raw_longitude":756771904,"raw_latitude":119272872,"longitude_deg":75.6771904,"latitude_deg":11.9272872,"altitude":62,"angle":54,"satellites":41,"speed":19,"hex_longitude":"2d1b6c40","hex_latitude":"071bf5a8","is_valid_coordinates":true} 
[2026-09-05 20:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886406656001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18096990730584064,"note":"Value kept but may cause issues"} 
[2026-09-05 20:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975602523321686016,"note":"Value kept but may cause issues"} 
[2026-09-05 20:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788618777000,"timestamp_ms":1788618777000,"timestamp_seconds":1788618777,"priority":1,"record_length":96,"hex_timestamp":"000001a071fca1a8"} 
[2026-09-05 20:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:03: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-09-05 20:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-05 20:03:50] 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-09-05 20:03:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886406656001,"66":13537,"71":206,"83":41984,"24":19,"16":18096990730584064,"45":1975602523321686016},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-09-05 20:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886406656001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:03:50] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-05 20:03:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18096990730584064,"km_value":18096990730584.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975602523321686016,"description":"Unknown IO ID 45"} 
[2026-09-05 20:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886406656001,"power":13537,"unknown_71":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1975602523321686016}} 
[2026-09-05 20:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":174588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:03:50] local.INFO: GPS data processed {"connection_id":174588,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:03:50] local.INFO: Acknowledgment sent {"connection_id":174588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:03:55] local.INFO: TCP Data received {"connection_id":174589,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:03:55] local.INFO: Processing buffer {"connection_id":174589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:03:55] local.INFO: IMEI packet received {"connection_id":174589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":174589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:04:00] local.INFO: TCP Data received {"connection_id":174589,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:04:00] local.INFO: Processing buffer {"connection_id":174589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:04:00] local.INFO: IMEI packet received {"connection_id":174589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":174589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:04:01] local.INFO: TCP Data received {"connection_id":174589,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071fb4600012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071fb4600012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:04:01] local.INFO: Processing buffer {"connection_id":174589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071fb4600012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:04:01] local.INFO: Packet analysis {"connection_id":174589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071fb"} 
[2026-09-05 20:04:01] local.INFO: Extracted packet for processing {"connection_id":174589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071fb"} 
[2026-09-05 20:04:01] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":47,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 20:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886307072001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788618688000,"timestamp_ms":1788618688000,"timestamp_seconds":1788618688,"priority":1,"record_length":96,"hex_timestamp":"000001a071fb4600"} 
[2026-09-05 20:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:04:01] 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-09-05 20:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 20:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886307072001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886307072001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:04:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:04:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886307072001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":174589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:04:01] local.INFO: GPS data processed {"connection_id":174589,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:04:01] local.INFO: Acknowledgment sent {"connection_id":174589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:04:23] local.INFO: TCP Data received {"connection_id":174588,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071fca978012d1b7040071bf798003e004329..."} 
[2026-09-05 20:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071fca978012d1b7040071bf798003e004329..."} 
[2026-09-05 20:04:23] local.INFO: Processing buffer {"connection_id":174588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071fca978012d1b7040071bf798003e004329..."} 
[2026-09-05 20:04:23] local.INFO: Packet analysis {"connection_id":174588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071fc"} 
[2026-09-05 20:04:23] local.INFO: Extracted packet for processing {"connection_id":174588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071fc"} 
[2026-09-05 20:04:23] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119273368,"longitude_deg":75.6772928,"latitude_deg":11.9273368,"altitude":62,"angle":67,"satellites":41,"speed":23,"hex_longitude":"2d1b7040","hex_latitude":"071bf798","is_valid_coordinates":true} 
[2026-09-05 20:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886406912001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18097042270191616,"note":"Value kept but may cause issues"} 
[2026-09-05 20:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976024735786838016,"note":"Value kept but may cause issues"} 
[2026-09-05 20:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788618779000,"timestamp_ms":1788618779000,"timestamp_seconds":1788618779,"priority":1,"record_length":96,"hex_timestamp":"000001a071fca978"} 
[2026-09-05 20:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-05 20:04:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886406912001,"66":13461,"71":206,"83":41984,"24":23,"16":18097042270191616,"45":1976024735786838016},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-09-05 20:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886406912001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:04:23] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-05 20:04:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18097042270191616,"km_value":18097042270191.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976024735786838016,"description":"Unknown IO ID 45"} 
[2026-09-05 20:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886406912001,"power":13461,"unknown_71":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1976024735786838016}} 
[2026-09-05 20:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":174588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:04:23] local.INFO: GPS data processed {"connection_id":174588,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:04:23] local.INFO: Acknowledgment sent {"connection_id":174588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:04:32] local.INFO: TCP Data received {"connection_id":174589,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071fb4600012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071fb4600012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:04:32] local.INFO: Processing buffer {"connection_id":174589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071fb4600012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:04:32] local.INFO: Packet analysis {"connection_id":174589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071fb"} 
[2026-09-05 20:04:32] local.INFO: Extracted packet for processing {"connection_id":174589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071fb"} 
[2026-09-05 20:04:32] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":47,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886307072001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788618688000,"timestamp_ms":1788618688000,"timestamp_seconds":1788618688,"priority":1,"record_length":96,"hex_timestamp":"000001a071fb4600"} 
[2026-09-05 20:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:04:32] 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-09-05 20:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 20:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20: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-09-05 20:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886307072001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886307072001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:04:32] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:04:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886307072001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":174589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:04:32] local.INFO: GPS data processed {"connection_id":174589,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:04:32] local.INFO: Acknowledgment sent {"connection_id":174589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:04:44] local.INFO: TCP Data received {"connection_id":171886,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:04:44] local.INFO: Processing buffer {"connection_id":171886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:04:44] local.INFO: IMEI packet received {"connection_id":171886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":171886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:04:46] local.INFO: TCP Data received {"connection_id":171886,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:04:46] local.INFO: Processing buffer {"connection_id":171886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:04:46] local.INFO: IMEI packet received {"connection_id":171886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":171886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:04:49] local.INFO: TCP Data received {"connection_id":171886,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:04:49] local.INFO: Processing buffer {"connection_id":171886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:04:49] local.INFO: IMEI packet received {"connection_id":171886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":171886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:04:50] local.INFO: TCP Data received {"connection_id":171886,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071fd5d28012d1be840071c6170002c001127..."} 
[2026-09-05 20:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071fd5d28012d1be840071c6170002c001127..."} 
[2026-09-05 20:04:50] local.INFO: Processing buffer {"connection_id":171886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071fd5d28012d1be840071c6170002c001127..."} 
[2026-09-05 20:04:50] local.INFO: Packet analysis {"connection_id":171886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071fd"} 
[2026-09-05 20:04:50] local.INFO: Extracted packet for processing {"connection_id":171886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071fd"} 
[2026-09-05 20:04:50] local.INFO: GPS Element Parsed {"raw_longitude":756803648,"raw_latitude":119300464,"longitude_deg":75.6803648,"latitude_deg":11.9300464,"altitude":44,"angle":17,"satellites":39,"speed":26,"hex_longitude":"2d1be840","hex_latitude":"071c6170","is_valid_coordinates":true} 
[2026-09-05 20:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886418944001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18099069494755328,"note":"Value kept but may cause issues"} 
[2026-09-05 20:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2010716526673328128,"note":"Value kept but may cause issues"} 
[2026-09-05 20:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788618825000,"timestamp_ms":1788618825000,"timestamp_seconds":1788618825,"priority":1,"record_length":96,"hex_timestamp":"000001a071fd5d28"} 
[2026-09-05 20:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:04: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-09-05 20:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-05 20:04:50] 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-09-05 20:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886418944001,"66":13330,"71":206,"83":41984,"24":26,"16":18099069494755328,"45":2010716526673328128},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-09-05 20:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886418944001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:04:50] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-05 20:04:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18099069494755328,"km_value":18099069494755.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2010716526673328128,"description":"Unknown IO ID 45"} 
[2026-09-05 20:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886418944001,"power":13330,"unknown_71":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":2010716526673328128}} 
[2026-09-05 20:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":171886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:04:50] local.INFO: GPS data processed {"connection_id":171886,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:04:50] local.INFO: Acknowledgment sent {"connection_id":171886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:04:55] local.INFO: TCP Data received {"connection_id":171886,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071fd6cc8012d1beb80071c6ce8002b002128..."} 
[2026-09-05 20:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071fd6cc8012d1beb80071c6ce8002b002128..."} 
[2026-09-05 20:04:55] local.INFO: Processing buffer {"connection_id":171886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071fd6cc8012d1beb80071c6ce8002b002128..."} 
[2026-09-05 20:04:55] local.INFO: Packet analysis {"connection_id":171886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071fd"} 
[2026-09-05 20:04:55] local.INFO: Extracted packet for processing {"connection_id":171886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071fd"} 
[2026-09-05 20:04:55] local.INFO: GPS Element Parsed {"raw_longitude":756804480,"raw_latitude":119303400,"longitude_deg":75.680448,"latitude_deg":11.93034,"altitude":43,"angle":33,"satellites":40,"speed":33,"hex_longitude":"2d1beb80","hex_latitude":"071c6ce8","is_valid_coordinates":true} 
[2026-09-05 20:04: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-09-05 20:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886419200001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18099219818610688,"note":"Value kept but may cause issues"} 
[2026-09-05 20:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2010927632906022912,"note":"Value kept but may cause issues"} 
[2026-09-05 20:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788618829000,"timestamp_ms":1788618829000,"timestamp_seconds":1788618829,"priority":1,"record_length":96,"hex_timestamp":"000001a071fd6cc8"} 
[2026-09-05 20:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-05 20:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-05 20:04:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 20:04:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 20:04:55] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2600468480,"note":"Value kept but may cause issues"} 
[2026-09-05 20:04:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250376549028602128,"note":"Value kept but may cause issues"} 
[2026-09-05 20:04:55] local.WARNING: Large IO value detected {"io_id":28,"raw_value":2749447787261601792,"note":"Value kept but may cause issues"} 
[2026-09-05 20:04:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1766260942,"corrected_to":0} 
[2026-09-05 20:04:55] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2415996187,"note":"Value kept but may cause issues"} 
[2026-09-05 20:04:55] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1074207800,"corrected_to":0} 
[2026-09-05 20:04:55] local.WARNING: Large IO value detected {"io_id":127,"raw_value":57818123902800804,"note":"Value kept but may cause issues"} 
[2026-09-05 20:04:55] local.WARNING: Large IO value detected {"io_id":252,"raw_value":-42782903210164217,"note":"Value kept but may cause issues"} 
[2026-09-05 20:04:55] local.WARNING: Large IO value detected {"io_id":38,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-05 20:04:55] local.WARNING: Large IO value detected {"io_id":105,"raw_value":5116316035321960448,"note":"Value kept but may cause issues"} 
[2026-09-05 20:04:55] local.WARNING: Large IO value detected {"io_id":88,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-05 20:04:55] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,71,83,24,241,157,16,77,160,89,45,128,94,39,10,66,76,61,47,40,54,64,1,240,227,113,28,4,205,27,34,204,239,52,2,7,49,29,127,252,38,105,88],"length":626,"final_offset":756,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1766260942,"validated":0},{"io_id":204,"original":1074207800,"validated":0}]} 
[2026-09-05 20:04:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170552996871929856,"timestamp_seconds":3170552996871930.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 20:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886419200001,"66":13493,"71":206,"83":41984,"24":33,"16":18099219818610688,"45":2010927632906022912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-09-05 20:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886419200001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:04:55] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-05 20:04:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18099219818610688,"km_value":18099219818610.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2010927632906022912,"description":"Unknown IO ID 45"} 
[2026-09-05 20:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886419200001,"power":13493,"unknown_71":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":2010927632906022912}} 
[2026-09-05 20:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":171886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:04:55] local.INFO: GPS data processed {"connection_id":171886,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:04:55] local.INFO: Acknowledgment sent {"connection_id":171886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:04:55] local.INFO: TCP Data received {"connection_id":174590,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:04:55] local.INFO: Processing buffer {"connection_id":174590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:04:55] local.INFO: IMEI packet received {"connection_id":174590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":174590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:05:00] local.INFO: TCP Data received {"connection_id":174590,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:05:00] local.INFO: Processing buffer {"connection_id":174590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:05:00] local.INFO: IMEI packet received {"connection_id":174590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":174590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:05:01] local.INFO: TCP Data received {"connection_id":174590,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071fb4600012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071fb4600012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:05:01] local.INFO: Processing buffer {"connection_id":174590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071fb4600012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:05:01] local.INFO: Packet analysis {"connection_id":174590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071fb"} 
[2026-09-05 20:05:01] local.INFO: Extracted packet for processing {"connection_id":174590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071fb"} 
[2026-09-05 20:05:01] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":47,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886307072001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788618688000,"timestamp_ms":1788618688000,"timestamp_seconds":1788618688,"priority":1,"record_length":96,"hex_timestamp":"000001a071fb4600"} 
[2026-09-05 20:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:05:01] 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-09-05 20: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 20:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20: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-09-05 20:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886307072001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886307072001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:05:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:05:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886307072001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":174590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:05:02] local.INFO: GPS data processed {"connection_id":174590,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:05:02] local.INFO: Acknowledgment sent {"connection_id":174590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:05:29] local.INFO: TCP Data received {"connection_id":171886,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a071fe1c90012d1c0780071ce3c8003001642a..."} 
[2026-09-05 20:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071fe1c90012d1c0780071ce3c8003001642a..."} 
[2026-09-05 20:05:29] local.INFO: Processing buffer {"connection_id":171886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071fe1c90012d1c0780071ce3c8003001642a..."} 
[2026-09-05 20:05:29] local.INFO: Packet analysis {"connection_id":171886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071fe"} 
[2026-09-05 20:05:29] local.INFO: Extracted packet for processing {"connection_id":171886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071fe"} 
[2026-09-05 20:05:29] local.INFO: GPS Element Parsed {"raw_longitude":756811648,"raw_latitude":119333832,"longitude_deg":75.6811648,"latitude_deg":11.9333832,"altitude":48,"angle":356,"satellites":42,"speed":27,"hex_longitude":"2d1c0780","hex_latitude":"071ce3c8","is_valid_coordinates":true} 
[2026-09-05 20:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886431232001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18100924920627200,"note":"Value kept but may cause issues"} 
[2026-09-05 20:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2019934832168978432,"note":"Value kept but may cause issues"} 
[2026-09-05 20:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788618874000,"timestamp_ms":1788618874000,"timestamp_seconds":1788618874,"priority":1,"record_length":96,"hex_timestamp":"000001a071fe1c90"} 
[2026-09-05 20:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-05 20:05:29] 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-09-05 20:05:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":171886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":171886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":171886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:05:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886431232001,"66":13374,"71":206,"83":41984,"24":27,"16":18100924920627200,"45":2019934832168978432},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-09-05 20:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886431232001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:05:29] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-05 20:05:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18100924920627200,"km_value":18100924920627.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2019934832168978432,"description":"Unknown IO ID 45"} 
[2026-09-05 20:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886431232001,"power":13374,"unknown_71":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":2019934832168978432}} 
[2026-09-05 20:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":171886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:05:30] local.INFO: GPS data processed {"connection_id":171886,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:05:30] local.INFO: Acknowledgment sent {"connection_id":171886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:05:33] local.INFO: TCP Data received {"connection_id":174590,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071fb4600012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071fb4600012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:05:33] local.INFO: Processing buffer {"connection_id":174590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071fb4600012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:05:33] local.INFO: Packet analysis {"connection_id":174590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071fb"} 
[2026-09-05 20:05:33] local.INFO: Extracted packet for processing {"connection_id":174590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071fb"} 
[2026-09-05 20:05:33] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":47,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 20:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886307072001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788618688000,"timestamp_ms":1788618688000,"timestamp_seconds":1788618688,"priority":1,"record_length":96,"hex_timestamp":"000001a071fb4600"} 
[2026-09-05 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-09-05 20:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 20:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 20:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886307072001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886307072001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:05:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:05:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886307072001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":174590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:05:33] local.INFO: GPS data processed {"connection_id":174590,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:05:33] local.INFO: Acknowledgment sent {"connection_id":174590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:05:55] local.INFO: TCP Data received {"connection_id":174591,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:05:55] local.INFO: Processing buffer {"connection_id":174591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:05:55] local.INFO: IMEI packet received {"connection_id":174591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":174591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:06:00] local.INFO: TCP Data received {"connection_id":174591,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:06:00] local.INFO: Processing buffer {"connection_id":174591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:06:00] local.INFO: IMEI packet received {"connection_id":174591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":174591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:06:02] local.INFO: TCP Data received {"connection_id":174591,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071fb4600012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071fb4600012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:06:02] local.INFO: Processing buffer {"connection_id":174591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071fb4600012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:06:02] local.INFO: Packet analysis {"connection_id":174591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071fb"} 
[2026-09-05 20:06:02] local.INFO: Extracted packet for processing {"connection_id":174591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071fb"} 
[2026-09-05 20:06:02] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":47,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 20:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886307072001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788618688000,"timestamp_ms":1788618688000,"timestamp_seconds":1788618688,"priority":1,"record_length":96,"hex_timestamp":"000001a071fb4600"} 
[2026-09-05 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-09-05 20:06:02] 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-09-05 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 20:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 20:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886307072001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886307072001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:06:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:06:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886307072001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":174591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:06:02] local.INFO: GPS data processed {"connection_id":174591,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:06:02] local.INFO: Acknowledgment sent {"connection_id":174591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:06:27] local.INFO: TCP Data received {"connection_id":173272,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:06:27] local.INFO: Processing buffer {"connection_id":173272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:06:27] local.INFO: IMEI packet received {"connection_id":173272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":173272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:06:27] local.INFO: TCP Data received {"connection_id":173272,"ip":"42.109.136.9","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 20:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173272,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 20:06:27] local.INFO: Processing buffer {"connection_id":173272,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-05 20:06:27] local.INFO: IMEI packet received {"connection_id":173272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":173272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:06:33] local.INFO: TCP Data received {"connection_id":174591,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a071fb4600012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071fb4600012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:06:33] local.INFO: Processing buffer {"connection_id":174591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071fb4600012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:06:33] local.INFO: Packet analysis {"connection_id":174591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071fb"} 
[2026-09-05 20:06:33] local.INFO: Extracted packet for processing {"connection_id":174591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071fb"} 
[2026-09-05 20:06:33] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":47,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886307072001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788618688000,"timestamp_ms":1788618688000,"timestamp_seconds":1788618688,"priority":1,"record_length":96,"hex_timestamp":"000001a071fb4600"} 
[2026-09-05 20:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20: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":156,"data_length":795,"current_offset":136} 
[2026-09-05 20:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20: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-09-05 20:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886307072001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886307072001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:06:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:06:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886307072001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":174591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:06:33] local.INFO: GPS data processed {"connection_id":174591,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:06:33] local.INFO: Acknowledgment sent {"connection_id":174591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:07:00] local.INFO: TCP Data received {"connection_id":172150,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:07:00] local.INFO: Processing buffer {"connection_id":172150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:07:00] local.INFO: IMEI packet received {"connection_id":172150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":172150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:07:05] local.INFO: TCP Data received {"connection_id":172150,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:07:05] local.INFO: Processing buffer {"connection_id":172150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:07:05] local.INFO: IMEI packet received {"connection_id":172150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":172150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:07:06] local.INFO: TCP Data received {"connection_id":172150,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071fb4600012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071fb4600012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:07:06] local.INFO: Processing buffer {"connection_id":172150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071fb4600012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:07:06] local.INFO: Packet analysis {"connection_id":172150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071fb"} 
[2026-09-05 20:07:06] local.INFO: Extracted packet for processing {"connection_id":172150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071fb"} 
[2026-09-05 20:07:06] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":47,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886307072001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788618688000,"timestamp_ms":1788618688000,"timestamp_seconds":1788618688,"priority":1,"record_length":96,"hex_timestamp":"000001a071fb4600"} 
[2026-09-05 20:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:07:06] 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-09-05 20:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 20:07: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-09-05 20: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-09-05 20:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886307072001,"66":25756,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886307072001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:07:06] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:07:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886307072001,"power":25756,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":172150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:07:06] local.INFO: GPS data processed {"connection_id":172150,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:07:06] local.INFO: Acknowledgment sent {"connection_id":172150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:07:08] local.INFO: TCP Data received {"connection_id":172150,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071ffddc8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 20:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ffddc8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 20:07:08] local.INFO: Processing buffer {"connection_id":172150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ffddc8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 20:07:08] local.INFO: Packet analysis {"connection_id":172150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ff"} 
[2026-09-05 20:07:08] local.INFO: Extracted packet for processing {"connection_id":172150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ff"} 
[2026-09-05 20:07:08] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 20:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886384128001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788618989000,"timestamp_ms":1788618989000,"timestamp_seconds":1788618989,"priority":1,"record_length":96,"hex_timestamp":"000001a071ffddc8"} 
[2026-09-05 20:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:07: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-09-05 20:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 20:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886384128001,"66":25549,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886384128001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:07:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:07:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886384128001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":172150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:07:08] local.INFO: GPS data processed {"connection_id":172150,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:07:08] local.INFO: Acknowledgment sent {"connection_id":172150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:07:39] local.INFO: TCP Data received {"connection_id":172150,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a071ffddc8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 20:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ffddc8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 20:07:39] local.INFO: Processing buffer {"connection_id":172150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ffddc8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 20:07:39] local.INFO: Packet analysis {"connection_id":172150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ff"} 
[2026-09-05 20:07:39] local.INFO: Extracted packet for processing {"connection_id":172150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ff"} 
[2026-09-05 20:07:39] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886384128001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788618989000,"timestamp_ms":1788618989000,"timestamp_seconds":1788618989,"priority":1,"record_length":96,"hex_timestamp":"000001a071ffddc8"} 
[2026-09-05 20:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:07: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-09-05 20: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 20:07:39] 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-09-05 20: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-09-05 20:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":172150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":172150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":172150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886384128001,"66":25549,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886384128001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:07:39] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:07:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886384128001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":172150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:07:39] local.INFO: GPS data processed {"connection_id":172150,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:07:39] local.INFO: Acknowledgment sent {"connection_id":172150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:07:55] local.INFO: TCP Data received {"connection_id":171888,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:07:55] local.INFO: Processing buffer {"connection_id":171888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:07:55] local.INFO: IMEI packet received {"connection_id":171888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":171888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:08:00] local.INFO: TCP Data received {"connection_id":171888,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:08:00] local.INFO: Processing buffer {"connection_id":171888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:08:00] local.INFO: IMEI packet received {"connection_id":171888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":171888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:08:01] local.INFO: TCP Data received {"connection_id":171888,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a071ffddc8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 20:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ffddc8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 20:08:02] local.INFO: Processing buffer {"connection_id":171888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ffddc8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 20:08:02] local.INFO: Packet analysis {"connection_id":171888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ff"} 
[2026-09-05 20:08:02] local.INFO: Extracted packet for processing {"connection_id":171888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ff"} 
[2026-09-05 20:08:02] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886384128001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788618989000,"timestamp_ms":1788618989000,"timestamp_seconds":1788618989,"priority":1,"record_length":96,"hex_timestamp":"000001a071ffddc8"} 
[2026-09-05 20:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:08:02] 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-09-05 20: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 20:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20: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-09-05 20:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886384128001,"66":25549,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886384128001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:08:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:08:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886384128001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":171888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:08:02] local.INFO: GPS data processed {"connection_id":171888,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:08:02] local.INFO: Acknowledgment sent {"connection_id":171888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:08:33] local.INFO: TCP Data received {"connection_id":171888,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a071ffddc8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 20:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ffddc8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 20:08:33] local.INFO: Processing buffer {"connection_id":171888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ffddc8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 20:08:33] local.INFO: Packet analysis {"connection_id":171888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ff"} 
[2026-09-05 20:08:33] local.INFO: Extracted packet for processing {"connection_id":171888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ff"} 
[2026-09-05 20:08:33] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886384128001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788618989000,"timestamp_ms":1788618989000,"timestamp_seconds":1788618989,"priority":1,"record_length":96,"hex_timestamp":"000001a071ffddc8"} 
[2026-09-05 20:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:08: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-09-05 20: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":156,"data_length":795,"current_offset":136} 
[2026-09-05 20:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20: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-09-05 20:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886384128001,"66":25549,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886384128001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:08:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:08:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886384128001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":171888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:08:33] local.INFO: GPS data processed {"connection_id":171888,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:08:33] local.INFO: Acknowledgment sent {"connection_id":171888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:08:55] local.INFO: TCP Data received {"connection_id":174593,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:08:55] local.INFO: Processing buffer {"connection_id":174593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:08:55] local.INFO: IMEI packet received {"connection_id":174593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":174593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:09:00] local.INFO: TCP Data received {"connection_id":174593,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:09:00] local.INFO: Processing buffer {"connection_id":174593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:09:00] local.INFO: IMEI packet received {"connection_id":174593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":174593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:09:01] local.INFO: TCP Data received {"connection_id":174593,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071ffddc8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 20:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ffddc8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 20:09:01] local.INFO: Processing buffer {"connection_id":174593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ffddc8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 20:09:01] local.INFO: Packet analysis {"connection_id":174593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ff"} 
[2026-09-05 20:09:01] local.INFO: Extracted packet for processing {"connection_id":174593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ff"} 
[2026-09-05 20:09:01] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 20:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886384128001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788618989000,"timestamp_ms":1788618989000,"timestamp_seconds":1788618989,"priority":1,"record_length":96,"hex_timestamp":"000001a071ffddc8"} 
[2026-09-05 20:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:09:01] 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-09-05 20:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 20:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886384128001,"66":25549,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886384128001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:09:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:09:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886384128001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":174593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:09:01] local.INFO: GPS data processed {"connection_id":174593,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:09:01] local.INFO: Acknowledgment sent {"connection_id":174593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:09:26] local.INFO: TCP Data received {"connection_id":173274,"ip":"117.224.86.150","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173274,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:09:26] local.INFO: Processing buffer {"connection_id":173274,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:09:26] local.INFO: IMEI packet received {"connection_id":173274,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 20:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":173274,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:09:31] local.INFO: TCP Data received {"connection_id":173274,"ip":"117.224.86.150","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173274,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:09:31] local.INFO: Processing buffer {"connection_id":173274,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:09:31] local.INFO: IMEI packet received {"connection_id":173274,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 20:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":173274,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:09:33] local.INFO: TCP Data received {"connection_id":174593,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a071ffddc8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 20:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ffddc8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 20:09:33] local.INFO: Processing buffer {"connection_id":174593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ffddc8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 20:09:33] local.INFO: Packet analysis {"connection_id":174593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ff"} 
[2026-09-05 20:09:33] local.INFO: Extracted packet for processing {"connection_id":174593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ff"} 
[2026-09-05 20:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886384128001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788618989000,"timestamp_ms":1788618989000,"timestamp_seconds":1788618989,"priority":1,"record_length":96,"hex_timestamp":"000001a071ffddc8"} 
[2026-09-05 20:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:09: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-09-05 20: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":156,"data_length":795,"current_offset":136} 
[2026-09-05 20:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20: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-09-05 20:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886384128001,"66":25549,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886384128001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:09:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:09:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886384128001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":174593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:09:33] local.INFO: GPS data processed {"connection_id":174593,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:09:33] local.INFO: Acknowledgment sent {"connection_id":174593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:09:55] local.INFO: TCP Data received {"connection_id":172151,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:09:55] local.INFO: Processing buffer {"connection_id":172151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:09:55] local.INFO: IMEI packet received {"connection_id":172151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":172151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:10:00] local.INFO: TCP Data received {"connection_id":172151,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:10:00] local.INFO: Processing buffer {"connection_id":172151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:10:00] local.INFO: IMEI packet received {"connection_id":172151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":172151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:10:01] local.INFO: TCP Data received {"connection_id":172151,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a071ffddc8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 20:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ffddc8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 20:10:01] local.INFO: Processing buffer {"connection_id":172151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ffddc8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 20:10:01] local.INFO: Packet analysis {"connection_id":172151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ff"} 
[2026-09-05 20:10:01] local.INFO: Extracted packet for processing {"connection_id":172151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ff"} 
[2026-09-05 20:10:01] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886384128001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788618989000,"timestamp_ms":1788618989000,"timestamp_seconds":1788618989,"priority":1,"record_length":96,"hex_timestamp":"000001a071ffddc8"} 
[2026-09-05 20:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:10:01] 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-09-05 20:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 20:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20: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-09-05 20:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886384128001,"66":25549,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886384128001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:10:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:10:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886384128001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":172151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:10:01] local.INFO: GPS data processed {"connection_id":172151,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:10:01] local.INFO: Acknowledgment sent {"connection_id":172151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:10:01] local.INFO: TCP Data received {"connection_id":171889,"ip":"117.224.86.150","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171889,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:10:01] local.INFO: Processing buffer {"connection_id":171889,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:10:01] local.INFO: IMEI packet received {"connection_id":171889,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 20:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":171889,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:10:02] local.INFO: TCP Data received {"connection_id":171889,"ip":"117.224.86.150","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171889,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:10:02] local.INFO: Processing buffer {"connection_id":171889,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:10:02] local.INFO: IMEI packet received {"connection_id":171889,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 20:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":171889,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:10:06] local.INFO: TCP Data received {"connection_id":171889,"ip":"117.224.86.150","data_length":795,"data_hex":"000000000000030f8e0a000001a072021c00012c6a87c008c79f700039000c2c..."} 
[2026-09-05 20:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072021c00012c6a87c008c79f700039000c2c..."} 
[2026-09-05 20:10:06] local.INFO: Processing buffer {"connection_id":171889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072021c00012c6a87c008c79f700039000c2c..."} 
[2026-09-05 20:10:06] local.INFO: Packet analysis {"connection_id":171889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07202"} 
[2026-09-05 20:10:06] local.INFO: Extracted packet for processing {"connection_id":171889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07202"} 
[2026-09-05 20:10:06] local.INFO: GPS Element Parsed {"raw_longitude":745179072,"raw_latitude":147300208,"longitude_deg":74.5179072,"latitude_deg":14.7300208,"altitude":57,"angle":12,"satellites":44,"speed":44,"hex_longitude":"2c6a87c0","hex_latitude":"08c79f70","is_valid_coordinates":true} 
[2026-09-05 20:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886498048001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1676566253797376,"note":"Value kept but may cause issues"} 
[2026-09-05 20:10:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7675118965165871104,"note":"Value kept but may cause issues"} 
[2026-09-05 20:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788619136000,"timestamp_ms":1788619136000,"timestamp_seconds":1788619136,"priority":1,"record_length":96,"hex_timestamp":"000001a072021c00"} 
[2026-09-05 20:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:10: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-09-05 20:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 20:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171889,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 20:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171889,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 20:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.86.150","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 20:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 20:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886498048001,"66":27593,"104":206,"9":55808,"24":44,"16":1676566253797376,"44":7675118965165871104},"client_ip":"117.224.86.150","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,9,24,16,44]} 
[2026-09-05 20:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 20:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 20:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886498048001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:10:06] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-05 20:10:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 20:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1676566253797376,"km_value":1676566253797.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:10:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":7675118965165871104,"description":"Unknown IO ID 44"} 
[2026-09-05 20:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886498048001,"power":27593,"unknown_104":206,"unknown_9":55808,"ignition":44,"odometer":null,"unknown_44":7675118965165871104}} 
[2026-09-05 20:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":171889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771055,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:10:06] local.INFO: GPS data processed {"connection_id":171889,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:10:06] local.INFO: Acknowledgment sent {"connection_id":171889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:10:07] local.INFO: TCP Data received {"connection_id":171889,"ip":"117.224.86.150","data_length":795,"data_hex":"000000000000030f8e0a000001a0720223d0012c6a884008c7a840003701652b..."} 
[2026-09-05 20:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0720223d0012c6a884008c7a840003701652b..."} 
[2026-09-05 20:10:07] local.INFO: Processing buffer {"connection_id":171889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0720223d0012c6a884008c7a840003701652b..."} 
[2026-09-05 20:10:07] local.INFO: Packet analysis {"connection_id":171889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07202"} 
[2026-09-05 20:10:07] local.INFO: Extracted packet for processing {"connection_id":171889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07202"} 
[2026-09-05 20:10:07] local.INFO: GPS Element Parsed {"raw_longitude":745179200,"raw_latitude":147302464,"longitude_deg":74.51792,"latitude_deg":14.7302464,"altitude":55,"angle":357,"satellites":43,"speed":46,"hex_longitude":"2c6a8840","hex_latitude":"08c7a840","is_valid_coordinates":true} 
[2026-09-05 20:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886498816001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1676677922947072,"note":"Value kept but may cause issues"} 
[2026-09-05 20:10:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7676315233817686016,"note":"Value kept but may cause issues"} 
[2026-09-05 20:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788619138000,"timestamp_ms":1788619138000,"timestamp_seconds":1788619138,"priority":1,"record_length":96,"hex_timestamp":"000001a0720223d0"} 
[2026-09-05 20:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-05 20:10: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-09-05 20:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":171889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":171889,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 20:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":171889,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 20:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.86.150","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 20:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 20:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886498816001,"66":27517,"104":206,"9":55808,"24":46,"16":1676677922947072,"44":7676315233817686016},"client_ip":"117.224.86.150","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,9,24,16,44]} 
[2026-09-05 20:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 20:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 20:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886498816001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:10:07] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-05 20:10:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 20:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1676677922947072,"km_value":1676677922947.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:10:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":7676315233817686016,"description":"Unknown IO ID 44"} 
[2026-09-05 20:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886498816001,"power":27517,"unknown_104":206,"unknown_9":55808,"ignition":46,"odometer":null,"unknown_44":7676315233817686016}} 
[2026-09-05 20:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":171889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771056,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:10:07] local.INFO: GPS data processed {"connection_id":171889,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:10:07] local.INFO: Acknowledgment sent {"connection_id":171889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:10:33] local.INFO: TCP Data received {"connection_id":172151,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a071ffddc8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 20:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ffddc8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 20:10:33] local.INFO: Processing buffer {"connection_id":172151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ffddc8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 20:10:33] local.INFO: Packet analysis {"connection_id":172151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ff"} 
[2026-09-05 20:10:33] local.INFO: Extracted packet for processing {"connection_id":172151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ff"} 
[2026-09-05 20:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886384128001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788618989000,"timestamp_ms":1788618989000,"timestamp_seconds":1788618989,"priority":1,"record_length":96,"hex_timestamp":"000001a071ffddc8"} 
[2026-09-05 20:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:10: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-09-05 20: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":156,"data_length":795,"current_offset":136} 
[2026-09-05 20:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20: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-09-05 20:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886384128001,"66":25549,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886384128001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:10:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:10:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886384128001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":172151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:10:33] local.INFO: GPS data processed {"connection_id":172151,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:10:33] local.INFO: Acknowledgment sent {"connection_id":172151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:10:44] local.INFO: TCP Data received {"connection_id":173276,"ip":"117.224.86.150","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:10:44] local.INFO: Processing buffer {"connection_id":173276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:10:44] local.INFO: IMEI packet received {"connection_id":173276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 20:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":173276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:10:44] local.INFO: TCP Data received {"connection_id":173276,"ip":"117.224.86.150","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:10:44] local.INFO: Processing buffer {"connection_id":173276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:10:44] local.INFO: IMEI packet received {"connection_id":173276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 20:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":173276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:10:47] local.INFO: TCP Data received {"connection_id":173276,"ip":"117.224.86.150","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:10:47] local.INFO: Processing buffer {"connection_id":173276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:10:47] local.INFO: IMEI packet received {"connection_id":173276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 20:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":173276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:10:48] local.INFO: TCP Data received {"connection_id":173276,"ip":"117.224.86.150","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:10:48] local.INFO: Processing buffer {"connection_id":173276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:10:48] local.INFO: IMEI packet received {"connection_id":173276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 20:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":173276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:10:55] local.INFO: TCP Data received {"connection_id":174594,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:10:55] local.INFO: Processing buffer {"connection_id":174594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:10:55] local.INFO: IMEI packet received {"connection_id":174594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":174594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:11:00] local.INFO: TCP Data received {"connection_id":174594,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:11:00] local.INFO: Processing buffer {"connection_id":174594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:11:00] local.INFO: IMEI packet received {"connection_id":174594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":174594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:11:02] local.INFO: TCP Data received {"connection_id":174594,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071ffddc8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 20:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ffddc8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 20:11:02] local.INFO: Processing buffer {"connection_id":174594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ffddc8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 20:11:02] local.INFO: Packet analysis {"connection_id":174594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ff"} 
[2026-09-05 20:11:02] local.INFO: Extracted packet for processing {"connection_id":174594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ff"} 
[2026-09-05 20:11:02] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886384128001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788618989000,"timestamp_ms":1788618989000,"timestamp_seconds":1788618989,"priority":1,"record_length":96,"hex_timestamp":"000001a071ffddc8"} 
[2026-09-05 20:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:11:02] 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-09-05 20: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":156,"data_length":795,"current_offset":136} 
[2026-09-05 20:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20: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-09-05 20:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886384128001,"66":25549,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886384128001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:11:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:11:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886384128001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":174594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:11:02] local.INFO: GPS data processed {"connection_id":174594,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:11:02] local.INFO: Acknowledgment sent {"connection_id":174594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:11:27] local.INFO: TCP Data received {"connection_id":172152,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:11:27] local.INFO: Processing buffer {"connection_id":172152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:11:27] local.INFO: IMEI packet received {"connection_id":172152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":172152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:11:27] local.INFO: TCP Data received {"connection_id":172152,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0720348c8012d1b0500071eeab8004e013b28..."} 
[2026-09-05 20:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0720348c8012d1b0500071eeab8004e013b28..."} 
[2026-09-05 20:11:27] local.INFO: Processing buffer {"connection_id":172152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0720348c8012d1b0500071eeab8004e013b28..."} 
[2026-09-05 20:11:27] local.INFO: Packet analysis {"connection_id":172152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07203"} 
[2026-09-05 20:11:27] local.INFO: Extracted packet for processing {"connection_id":172152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07203"} 
[2026-09-05 20:11:27] local.INFO: GPS Element Parsed {"raw_longitude":756745472,"raw_latitude":119466680,"longitude_deg":75.6745472,"latitude_deg":11.946668,"altitude":78,"angle":315,"satellites":40,"speed":18,"hex_longitude":"2d1b0500","hex_latitude":"071eeab8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 20:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886518272001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18109605049532416,"note":"Value kept but may cause issues"} 
[2026-09-05 20:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1947384656956061696,"note":"Value kept but may cause issues"} 
[2026-09-05 20:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788619213000,"timestamp_ms":1788619213000,"timestamp_seconds":1788619213,"priority":1,"record_length":96,"hex_timestamp":"000001a0720348c8"} 
[2026-09-05 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-09-05 20:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-05 20:11:27] 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-09-05 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-09-05 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-09-05 20:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886518272001,"66":11189,"101":206,"83":41984,"24":18,"16":18109605049532416,"45":1947384656956061696},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-05 20:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886518272001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:11:27] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 20:11:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18109605049532416,"km_value":18109605049532.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1947384656956061696,"description":"Unknown IO ID 45"} 
[2026-09-05 20:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886518272001,"power":11189,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1947384656956061696}} 
[2026-09-05 20:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":172152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:11:28] local.INFO: GPS data processed {"connection_id":172152,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:11:28] local.INFO: Acknowledgment sent {"connection_id":172152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:11:33] local.INFO: TCP Data received {"connection_id":174594,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a071ffddc8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 20:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ffddc8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 20:11:33] local.INFO: Processing buffer {"connection_id":174594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ffddc8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 20:11:33] local.INFO: Packet analysis {"connection_id":174594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ff"} 
[2026-09-05 20:11:33] local.INFO: Extracted packet for processing {"connection_id":174594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ff"} 
[2026-09-05 20:11:33] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 20:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886384128001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788618989000,"timestamp_ms":1788618989000,"timestamp_seconds":1788618989,"priority":1,"record_length":96,"hex_timestamp":"000001a071ffddc8"} 
[2026-09-05 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-09-05 20:11: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-09-05 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 20:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 20:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886384128001,"66":25549,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886384128001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:11:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:11:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886384128001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":174594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:11:33] local.INFO: GPS data processed {"connection_id":174594,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:11:33] local.INFO: Acknowledgment sent {"connection_id":174594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:11:44] local.INFO: TCP Data received {"connection_id":172153,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:11:44] local.INFO: Processing buffer {"connection_id":172153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:11:44] local.INFO: IMEI packet received {"connection_id":172153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":172153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:11:49] local.INFO: TCP Data received {"connection_id":172153,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:11:49] local.INFO: Processing buffer {"connection_id":172153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:11:49] local.INFO: IMEI packet received {"connection_id":172153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":172153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:11:50] local.INFO: TCP Data received {"connection_id":172153,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a07203e508012d1ae880071f4270003f010029..."} 
[2026-09-05 20:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07203e508012d1ae880071f4270003f010029..."} 
[2026-09-05 20:11:50] local.INFO: Processing buffer {"connection_id":172153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07203e508012d1ae880071f4270003f010029..."} 
[2026-09-05 20:11:50] local.INFO: Packet analysis {"connection_id":172153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07203"} 
[2026-09-05 20:11:50] local.INFO: Extracted packet for processing {"connection_id":172153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07203"} 
[2026-09-05 20:11:50] local.INFO: GPS Element Parsed {"raw_longitude":756738176,"raw_latitude":119489136,"longitude_deg":75.6738176,"latitude_deg":11.9489136,"altitude":63,"angle":256,"satellites":41,"speed":28,"hex_longitude":"2d1ae880","hex_latitude":"071f4270","is_valid_coordinates":true} 
[2026-09-05 20:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886528256001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18110872064884736,"note":"Value kept but may cause issues"} 
[2026-09-05 20:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1940558888776720384,"note":"Value kept but may cause issues"} 
[2026-09-05 20:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788619253000,"timestamp_ms":1788619253000,"timestamp_seconds":1788619253,"priority":1,"record_length":96,"hex_timestamp":"000001a07203e508"} 
[2026-09-05 20:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-05 20:11:50] 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-09-05 20:11:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886528256001,"66":13406,"101":206,"83":41984,"24":28,"16":18110872064884736,"45":1940558888776720384},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-05 20:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886528256001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:11:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 20:11:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18110872064884736,"km_value":18110872064884.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1940558888776720384,"description":"Unknown IO ID 45"} 
[2026-09-05 20:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886528256001,"power":13406,"unknown_101":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1940558888776720384}} 
[2026-09-05 20:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":172153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:11:50] local.INFO: GPS data processed {"connection_id":172153,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:11:50] local.INFO: Acknowledgment sent {"connection_id":172153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:11:51] local.INFO: TCP Data received {"connection_id":172153,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a072040060012d1ad440071f4020003c010d28..."} 
[2026-09-05 20:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072040060012d1ad440071f4020003c010d28..."} 
[2026-09-05 20:11:51] local.INFO: Processing buffer {"connection_id":172153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072040060012d1ad440071f4020003c010d28..."} 
[2026-09-05 20:11:51] local.INFO: Packet analysis {"connection_id":172153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07204"} 
[2026-09-05 20:11:51] local.INFO: Extracted packet for processing {"connection_id":172153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07204"} 
[2026-09-05 20:11:51] local.INFO: GPS Element Parsed {"raw_longitude":756732992,"raw_latitude":119488544,"longitude_deg":75.6732992,"latitude_deg":11.9488544,"altitude":60,"angle":269,"satellites":40,"speed":26,"hex_longitude":"2d1ad440","hex_latitude":"071f4020","is_valid_coordinates":true} 
[2026-09-05 20:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886528768001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18111116878020608,"note":"Value kept but may cause issues"} 
[2026-09-05 20:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1938940407660572672,"note":"Value kept but may cause issues"} 
[2026-09-05 20:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788619260000,"timestamp_ms":1788619260000,"timestamp_seconds":1788619260,"priority":1,"record_length":96,"hex_timestamp":"000001a072040060"} 
[2026-09-05 20:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-05 20:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886528768001,"66":13396,"101":206,"83":41984,"24":26,"16":18111116878020608,"45":1938940407660572672},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-05 20:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886528768001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:11:51] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 20:11:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18111116878020608,"km_value":18111116878020.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1938940407660572672,"description":"Unknown IO ID 45"} 
[2026-09-05 20:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886528768001,"power":13396,"unknown_101":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1938940407660572672}} 
[2026-09-05 20:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":172153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:11:51] local.INFO: GPS data processed {"connection_id":172153,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:11:51] local.INFO: Acknowledgment sent {"connection_id":172153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:12:00] local.INFO: TCP Data received {"connection_id":171891,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:12:00] local.INFO: Processing buffer {"connection_id":171891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:12:00] local.INFO: IMEI packet received {"connection_id":171891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":171891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:12:05] local.INFO: TCP Data received {"connection_id":171891,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:12:05] local.INFO: Processing buffer {"connection_id":171891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:12:05] local.INFO: IMEI packet received {"connection_id":171891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":171891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:12:06] local.INFO: TCP Data received {"connection_id":171891,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a071ffddc8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 20:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a071ffddc8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 20:12:06] local.INFO: Processing buffer {"connection_id":171891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a071ffddc8012d7b8ac005f5f2b8000b003f30..."} 
[2026-09-05 20:12:06] local.INFO: Packet analysis {"connection_id":171891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a071ff"} 
[2026-09-05 20:12:06] local.INFO: Extracted packet for processing {"connection_id":171891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a071ff"} 
[2026-09-05 20:12:06] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":48,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886384128001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788618989000,"timestamp_ms":1788618989000,"timestamp_seconds":1788618989,"priority":1,"record_length":96,"hex_timestamp":"000001a071ffddc8"} 
[2026-09-05 20:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:12:06] 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-09-05 20: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 20:12: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-09-05 20: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-09-05 20:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886384128001,"66":25549,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886384128001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:12:06] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:12:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886384128001,"power":25549,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":171891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:12:06] local.INFO: GPS data processed {"connection_id":171891,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:12:06] local.INFO: Acknowledgment sent {"connection_id":171891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:12:08] local.INFO: TCP Data received {"connection_id":171891,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a072047590012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072047590012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:12:08] local.INFO: Processing buffer {"connection_id":171891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072047590012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:12:08] local.INFO: Packet analysis {"connection_id":171891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07204"} 
[2026-09-05 20:12:08] local.INFO: Extracted packet for processing {"connection_id":171891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07204"} 
[2026-09-05 20:12:08] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":47,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886461184001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788619290000,"timestamp_ms":1788619290000,"timestamp_seconds":1788619290,"priority":1,"record_length":96,"hex_timestamp":"000001a072047590"} 
[2026-09-05 20:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:12:08] 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-09-05 20:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 20:12: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-09-05 20: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-09-05 20:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886461184001,"66":25702,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886461184001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:12:08] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:12:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886461184001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":171891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:12:09] local.INFO: GPS data processed {"connection_id":171891,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:12:09] local.INFO: Acknowledgment sent {"connection_id":171891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:12:21] local.INFO: TCP Data received {"connection_id":172153,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0720490e8012d1abf80071f93e00037012f29..."} 
[2026-09-05 20:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0720490e8012d1abf80071f93e00037012f29..."} 
[2026-09-05 20:12:21] local.INFO: Processing buffer {"connection_id":172153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0720490e8012d1abf80071f93e00037012f29..."} 
[2026-09-05 20:12:21] local.INFO: Packet analysis {"connection_id":172153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07204"} 
[2026-09-05 20:12:21] local.INFO: Extracted packet for processing {"connection_id":172153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07204"} 
[2026-09-05 20:12:21] local.INFO: GPS Element Parsed {"raw_longitude":756727680,"raw_latitude":119509984,"longitude_deg":75.672768,"latitude_deg":11.9509984,"altitude":55,"angle":303,"satellites":41,"speed":25,"hex_longitude":"2d1abf80","hex_latitude":"071f93e0","is_valid_coordinates":true} 
[2026-09-05 20:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886539776001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18112478382653440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928033252318281728,"note":"Value kept but may cause issues"} 
[2026-09-05 20:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788619297000,"timestamp_ms":1788619297000,"timestamp_seconds":1788619297,"priority":1,"record_length":96,"hex_timestamp":"000001a0720490e8"} 
[2026-09-05 20:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:12: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-09-05 20:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-05 20:12:21] 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-09-05 20:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886539776001,"66":13417,"101":206,"83":41984,"24":25,"16":18112478382653440,"45":1928033252318281728},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-05 20:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886539776001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:12:21] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 20:12:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18112478382653440,"km_value":18112478382653.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928033252318281728,"description":"Unknown IO ID 45"} 
[2026-09-05 20:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886539776001,"power":13417,"unknown_101":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1928033252318281728}} 
[2026-09-05 20:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":172153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:12:22] local.INFO: GPS data processed {"connection_id":172153,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:12:22] local.INFO: Acknowledgment sent {"connection_id":172153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:12:40] local.INFO: TCP Data received {"connection_id":171891,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a072047590012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072047590012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:12:40] local.INFO: Processing buffer {"connection_id":171891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072047590012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:12:40] local.INFO: Packet analysis {"connection_id":171891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07204"} 
[2026-09-05 20:12:40] local.INFO: Extracted packet for processing {"connection_id":171891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07204"} 
[2026-09-05 20:12:40] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":47,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 20:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886461184001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788619290000,"timestamp_ms":1788619290000,"timestamp_seconds":1788619290,"priority":1,"record_length":96,"hex_timestamp":"000001a072047590"} 
[2026-09-05 20:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:12:40] 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-09-05 20:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 20:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":171891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":171891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":171891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886461184001,"66":25702,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886461184001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:12:40] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:12:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886461184001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":171891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:12:40] local.INFO: GPS data processed {"connection_id":171891,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:12:40] local.INFO: Acknowledgment sent {"connection_id":171891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:12:43] local.INFO: TCP Data received {"connection_id":172154,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:12:43] local.INFO: Processing buffer {"connection_id":172154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:12:43] local.INFO: IMEI packet received {"connection_id":172154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":172154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:12:44] local.INFO: TCP Data received {"connection_id":172154,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:12:44] local.INFO: Processing buffer {"connection_id":172154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:12:44] local.INFO: IMEI packet received {"connection_id":172154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":172154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:12:44] local.INFO: TCP Data received {"connection_id":172154,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:12:44] local.INFO: Processing buffer {"connection_id":172154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:12:44] local.INFO: IMEI packet received {"connection_id":172154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":172154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:12:47] local.INFO: TCP Data received {"connection_id":172154,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:12:47] local.INFO: Processing buffer {"connection_id":172154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:12:47] local.INFO: IMEI packet received {"connection_id":172154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":172154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:12:47] local.INFO: TCP Data received {"connection_id":172154,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0720498b8012d1ab900071f95d80037011d2a..."} 
[2026-09-05 20:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0720498b8012d1ab900071f95d80037011d2a..."} 
[2026-09-05 20:12:47] local.INFO: Processing buffer {"connection_id":172154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0720498b8012d1ab900071f95d80037011d2a..."} 
[2026-09-05 20:12:47] local.INFO: Packet analysis {"connection_id":172154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07204"} 
[2026-09-05 20:12:47] local.INFO: Extracted packet for processing {"connection_id":172154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07204"} 
[2026-09-05 20:12:47] local.INFO: GPS Element Parsed {"raw_longitude":756726016,"raw_latitude":119510488,"longitude_deg":75.6726016,"latitude_deg":11.9510488,"altitude":55,"angle":285,"satellites":42,"speed":31,"hex_longitude":"2d1ab900","hex_latitude":"071f95d8","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886540032001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18112564281999360,"note":"Value kept but may cause issues"} 
[2026-09-05 20:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927399933620772864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788619299000,"timestamp_ms":1788619299000,"timestamp_seconds":1788619299,"priority":1,"record_length":96,"hex_timestamp":"000001a0720498b8"} 
[2026-09-05 20:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20: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-09-05 20:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-05 20:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20: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-09-05 20:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":172154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":172154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":172154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886540032001,"66":13472,"101":206,"83":41984,"24":31,"16":18112564281999360,"45":1927399933620772864},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-05 20:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886540032001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:12:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 20:12:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18112564281999360,"km_value":18112564281999.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927399933620772864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886540032001,"power":13472,"unknown_101":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1927399933620772864}} 
[2026-09-05 20:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":172154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:12:48] local.INFO: GPS data processed {"connection_id":172154,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:12:48] local.INFO: Acknowledgment sent {"connection_id":172154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:12:56] local.INFO: TCP Data received {"connection_id":174595,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:12:56] local.INFO: Processing buffer {"connection_id":174595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:12:56] local.INFO: IMEI packet received {"connection_id":174595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":174595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:13:00] local.INFO: TCP Data received {"connection_id":174595,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:13:00] local.INFO: Processing buffer {"connection_id":174595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:13:00] local.INFO: IMEI packet received {"connection_id":174595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":174595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:13:01] local.INFO: TCP Data received {"connection_id":174595,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a072047590012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072047590012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:13:01] local.INFO: Processing buffer {"connection_id":174595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072047590012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:13:01] local.INFO: Packet analysis {"connection_id":174595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07204"} 
[2026-09-05 20:13:01] local.INFO: Extracted packet for processing {"connection_id":174595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07204"} 
[2026-09-05 20:13:01] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":47,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 20:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886461184001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788619290000,"timestamp_ms":1788619290000,"timestamp_seconds":1788619290,"priority":1,"record_length":96,"hex_timestamp":"000001a072047590"} 
[2026-09-05 20:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:13:01] 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-09-05 20:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 20:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886461184001,"66":25702,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886461184001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:13:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:13:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886461184001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":174595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:13:01] local.INFO: GPS data processed {"connection_id":174595,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:13:01] local.INFO: Acknowledgment sent {"connection_id":174595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:13:18] local.INFO: TCP Data received {"connection_id":172154,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a072055820012d1a2000071ff070002b011d2a..."} 
[2026-09-05 20:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072055820012d1a2000071ff070002b011d2a..."} 
[2026-09-05 20:13:18] local.INFO: Processing buffer {"connection_id":172154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072055820012d1a2000071ff070002b011d2a..."} 
[2026-09-05 20:13:18] local.INFO: Packet analysis {"connection_id":172154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07205"} 
[2026-09-05 20:13:18] local.INFO: Extracted packet for processing {"connection_id":172154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07205"} 
[2026-09-05 20:13:18] local.INFO: GPS Element Parsed {"raw_longitude":756686848,"raw_latitude":119533680,"longitude_deg":75.6686848,"latitude_deg":11.953368,"altitude":43,"angle":285,"satellites":42,"speed":42,"hex_longitude":"2d1a2000","hex_latitude":"071ff070","is_valid_coordinates":true} 
[2026-09-05 20:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886550784001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18114844909633536,"note":"Value kept but may cause issues"} 
[2026-09-05 20:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1892848880234967040,"note":"Value kept but may cause issues"} 
[2026-09-05 20:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788619348000,"timestamp_ms":1788619348000,"timestamp_seconds":1788619348,"priority":1,"record_length":96,"hex_timestamp":"000001a072055820"} 
[2026-09-05 20:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-05 20:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":172154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":172154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":172154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886550784001,"66":13450,"101":206,"83":41984,"24":42,"16":18114844909633536,"45":1892848880234967040},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-05 20:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886550784001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:13:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 20:13:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18114844909633536,"km_value":18114844909633.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1892848880234967040,"description":"Unknown IO ID 45"} 
[2026-09-05 20:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886550784001,"power":13450,"unknown_101":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1892848880234967040}} 
[2026-09-05 20:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":172154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:13:19] local.INFO: GPS data processed {"connection_id":172154,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:13:19] local.INFO: Acknowledgment sent {"connection_id":172154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:13:32] local.INFO: TCP Data received {"connection_id":174595,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a072047590012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072047590012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:13:32] local.INFO: Processing buffer {"connection_id":174595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072047590012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:13:32] local.INFO: Packet analysis {"connection_id":174595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07204"} 
[2026-09-05 20:13:32] local.INFO: Extracted packet for processing {"connection_id":174595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07204"} 
[2026-09-05 20:13:32] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":47,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886461184001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788619290000,"timestamp_ms":1788619290000,"timestamp_seconds":1788619290,"priority":1,"record_length":96,"hex_timestamp":"000001a072047590"} 
[2026-09-05 20:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:13:32] 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-09-05 20: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":205,"data_length":795,"current_offset":136} 
[2026-09-05 20:13: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-09-05 20: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-09-05 20:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886461184001,"66":25702,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886461184001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:13:32] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:13:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886461184001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":174595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:13:32] local.INFO: GPS data processed {"connection_id":174595,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:13:32] local.INFO: Acknowledgment sent {"connection_id":174595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:13:43] local.INFO: TCP Data received {"connection_id":171892,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:13:43] local.INFO: Processing buffer {"connection_id":171892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:13:43] local.INFO: IMEI packet received {"connection_id":171892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":171892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:13:44] local.INFO: TCP Data received {"connection_id":171892,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:13:44] local.INFO: Processing buffer {"connection_id":171892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:13:44] local.INFO: IMEI packet received {"connection_id":171892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":171892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:13:44] local.INFO: TCP Data received {"connection_id":171892,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:13:44] local.INFO: Processing buffer {"connection_id":171892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:13:44] local.INFO: IMEI packet received {"connection_id":171892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":171892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:13:46] local.INFO: TCP Data received {"connection_id":171892,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:13:46] local.INFO: Processing buffer {"connection_id":171892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:13:46] local.INFO: IMEI packet received {"connection_id":171892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":171892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:13:46] local.INFO: TCP Data received {"connection_id":171892,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a07205d138012d19d80007200010002b00de2b..."} 
[2026-09-05 20:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07205d138012d19d80007200010002b00de2b..."} 
[2026-09-05 20:13:46] local.INFO: Processing buffer {"connection_id":171892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07205d138012d19d80007200010002b00de2b..."} 
[2026-09-05 20:13:46] local.INFO: Packet analysis {"connection_id":171892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07205"} 
[2026-09-05 20:13:46] local.INFO: Extracted packet for processing {"connection_id":171892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07205"} 
[2026-09-05 20:13:46] local.INFO: GPS Element Parsed {"raw_longitude":756668416,"raw_latitude":119537680,"longitude_deg":75.6668416,"latitude_deg":11.953768,"altitude":43,"angle":222,"satellites":43,"speed":24,"hex_longitude":"2d19d800","hex_latitude":"07200010","is_valid_coordinates":true} 
[2026-09-05 20:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886559744001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18115875701784576,"note":"Value kept but may cause issues"} 
[2026-09-05 20:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863716220147539968,"note":"Value kept but may cause issues"} 
[2026-09-05 20:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788619379000,"timestamp_ms":1788619379000,"timestamp_seconds":1788619379,"priority":1,"record_length":96,"hex_timestamp":"000001a07205d138"} 
[2026-09-05 20:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:13: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-09-05 20:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-05 20:13:46] 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-09-05 20:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":171892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":171892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":171892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886559744001,"66":13439,"101":206,"83":41984,"24":24,"16":18115875701784576,"45":1863716220147539968},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-05 20:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886559744001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:13:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 20:13:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18115875701784576,"km_value":18115875701784.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863716220147539968,"description":"Unknown IO ID 45"} 
[2026-09-05 20:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886559744001,"power":13439,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1863716220147539968}} 
[2026-09-05 20:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":171892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:13:47] local.INFO: GPS data processed {"connection_id":171892,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:13:47] local.INFO: Acknowledgment sent {"connection_id":171892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:13:55] local.INFO: TCP Data received {"connection_id":172155,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:13:55] local.INFO: Processing buffer {"connection_id":172155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:13:55] local.INFO: IMEI packet received {"connection_id":172155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":172155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:14:00] local.INFO: TCP Data received {"connection_id":172155,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:14:00] local.INFO: Processing buffer {"connection_id":172155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:14:00] local.INFO: IMEI packet received {"connection_id":172155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":172155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:14:01] local.INFO: TCP Data received {"connection_id":172155,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072047590012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072047590012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:14:01] local.INFO: Processing buffer {"connection_id":172155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072047590012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:14:01] local.INFO: Packet analysis {"connection_id":172155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07204"} 
[2026-09-05 20:14:01] local.INFO: Extracted packet for processing {"connection_id":172155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07204"} 
[2026-09-05 20:14:01] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":47,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 20:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886461184001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788619290000,"timestamp_ms":1788619290000,"timestamp_seconds":1788619290,"priority":1,"record_length":96,"hex_timestamp":"000001a072047590"} 
[2026-09-05 20:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:14:01] 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-09-05 20:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 20:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886461184001,"66":25702,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886461184001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:14:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:14:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886461184001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":172155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:14:01] local.INFO: GPS data processed {"connection_id":172155,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:14:01] local.INFO: Acknowledgment sent {"connection_id":172155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:14:17] local.INFO: TCP Data received {"connection_id":171892,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a07205d908012d19d440071ffd10002a00eb29..."} 
[2026-09-05 20:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07205d908012d19d440071ffd10002a00eb29..."} 
[2026-09-05 20:14:17] local.INFO: Processing buffer {"connection_id":171892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07205d908012d19d440071ffd10002a00eb29..."} 
[2026-09-05 20:14:17] local.INFO: Packet analysis {"connection_id":171892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07205"} 
[2026-09-05 20:14:17] local.INFO: Extracted packet for processing {"connection_id":171892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07205"} 
[2026-09-05 20:14:17] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119536912,"longitude_deg":75.6667456,"latitude_deg":11.9536912,"altitude":42,"angle":235,"satellites":41,"speed":22,"hex_longitude":"2d19d440","hex_latitude":"071ffd10","is_valid_coordinates":true} 
[2026-09-05 20:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886561024001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18115931536359424,"note":"Value kept but may cause issues"} 
[2026-09-05 20:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862238476519346176,"note":"Value kept but may cause issues"} 
[2026-09-05 20:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788619381000,"timestamp_ms":1788619381000,"timestamp_seconds":1788619381,"priority":1,"record_length":96,"hex_timestamp":"000001a07205d908"} 
[2026-09-05 20:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-05 20:14:17] 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-09-05 20:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":171892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":171892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":171892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886561024001,"66":13276,"101":206,"83":41984,"24":22,"16":18115931536359424,"45":1862238476519346176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-05 20:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886561024001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:14:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 20:14:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18115931536359424,"km_value":18115931536359.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862238476519346176,"description":"Unknown IO ID 45"} 
[2026-09-05 20:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886561024001,"power":13276,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1862238476519346176}} 
[2026-09-05 20:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":171892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:14:18] local.INFO: GPS data processed {"connection_id":171892,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:14:18] local.INFO: Acknowledgment sent {"connection_id":171892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:14:33] local.INFO: TCP Data received {"connection_id":172155,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072047590012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072047590012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:14:33] local.INFO: Processing buffer {"connection_id":172155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072047590012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:14:33] local.INFO: Packet analysis {"connection_id":172155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07204"} 
[2026-09-05 20:14:33] local.INFO: Extracted packet for processing {"connection_id":172155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07204"} 
[2026-09-05 20:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":47,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886461184001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788619290000,"timestamp_ms":1788619290000,"timestamp_seconds":1788619290,"priority":1,"record_length":96,"hex_timestamp":"000001a072047590"} 
[2026-09-05 20:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20: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":205,"data_length":795,"current_offset":136} 
[2026-09-05 20:14: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-09-05 20: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-09-05 20:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886461184001,"66":25702,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886461184001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:14:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:14:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886461184001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":172155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:14:33] local.INFO: GPS data processed {"connection_id":172155,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:14:33] local.INFO: Acknowledgment sent {"connection_id":172155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:14:44] local.INFO: TCP Data received {"connection_id":172156,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:14:44] local.INFO: Processing buffer {"connection_id":172156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:14:44] local.INFO: IMEI packet received {"connection_id":172156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":172156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:14:49] local.INFO: TCP Data received {"connection_id":172156,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:14:49] local.INFO: Processing buffer {"connection_id":172156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:14:49] local.INFO: IMEI packet received {"connection_id":172156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":172156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:14:50] local.INFO: TCP Data received {"connection_id":172156,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0720661c0012d199d40071ff048003901162a..."} 
[2026-09-05 20:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0720661c0012d199d40071ff048003901162a..."} 
[2026-09-05 20:14:50] local.INFO: Processing buffer {"connection_id":172156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0720661c0012d199d40071ff048003901162a..."} 
[2026-09-05 20:14:50] local.INFO: Packet analysis {"connection_id":172156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07206"} 
[2026-09-05 20:14:50] local.INFO: Extracted packet for processing {"connection_id":172156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07206"} 
[2026-09-05 20:14:50] local.INFO: GPS Element Parsed {"raw_longitude":756653376,"raw_latitude":119533640,"longitude_deg":75.6653376,"latitude_deg":11.953364,"altitude":57,"angle":278,"satellites":42,"speed":15,"hex_longitude":"2d199d40","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-09-05 20:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886569984001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18116674565701632,"note":"Value kept but may cause issues"} 
[2026-09-05 20:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846546246566684672,"note":"Value kept but may cause issues"} 
[2026-09-05 20:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788619416000,"timestamp_ms":1788619416000,"timestamp_seconds":1788619416,"priority":1,"record_length":96,"hex_timestamp":"000001a0720661c0"} 
[2026-09-05 20:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-05 20:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886569984001,"66":12939,"101":206,"83":41984,"24":15,"16":18116674565701632,"45":1846546246566684672},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-05 20:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886569984001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:14:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 20:14:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18116674565701632,"km_value":18116674565701.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846546246566684672,"description":"Unknown IO ID 45"} 
[2026-09-05 20:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886569984001,"power":12939,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1846546246566684672}} 
[2026-09-05 20:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":172156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:14:50] local.INFO: GPS data processed {"connection_id":172156,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:14:50] local.INFO: Acknowledgment sent {"connection_id":172156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:14:55] local.INFO: TCP Data received {"connection_id":172157,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:14:55] local.INFO: Processing buffer {"connection_id":172157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:14:55] local.INFO: IMEI packet received {"connection_id":172157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":172157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:15:00] local.INFO: TCP Data received {"connection_id":172157,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:15:00] local.INFO: Processing buffer {"connection_id":172157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:15:00] local.INFO: IMEI packet received {"connection_id":172157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":172157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:15:01] local.INFO: TCP Data received {"connection_id":172157,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a072047590012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072047590012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:15:01] local.INFO: Processing buffer {"connection_id":172157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072047590012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:15:01] local.INFO: Packet analysis {"connection_id":172157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07204"} 
[2026-09-05 20:15:01] local.INFO: Extracted packet for processing {"connection_id":172157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07204"} 
[2026-09-05 20:15:01] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":47,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 20:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886461184001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:15:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788619290000,"timestamp_ms":1788619290000,"timestamp_seconds":1788619290,"priority":1,"record_length":96,"hex_timestamp":"000001a072047590"} 
[2026-09-05 20:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:15:01] 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-09-05 20:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-05 20:15:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:15:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886461184001,"66":25702,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886461184001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:15:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:15:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886461184001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":172157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:15:01] local.INFO: GPS data processed {"connection_id":172157,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:15:01] local.INFO: Acknowledgment sent {"connection_id":172157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:15:21] local.INFO: TCP Data received {"connection_id":172156,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a072069870012d1987c0071ff168003b010429..."} 
[2026-09-05 20:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072069870012d1987c0071ff168003b010429..."} 
[2026-09-05 20:15:21] local.INFO: Processing buffer {"connection_id":172156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072069870012d1987c0071ff168003b010429..."} 
[2026-09-05 20:15:21] local.INFO: Packet analysis {"connection_id":172156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07206"} 
[2026-09-05 20:15:21] local.INFO: Extracted packet for processing {"connection_id":172156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07206"} 
[2026-09-05 20:15:21] local.INFO: GPS Element Parsed {"raw_longitude":756647872,"raw_latitude":119533928,"longitude_deg":75.6647872,"latitude_deg":11.9533928,"altitude":59,"angle":260,"satellites":41,"speed":16,"hex_longitude":"2d1987c0","hex_latitude":"071ff168","is_valid_coordinates":true} 
[2026-09-05 20:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886570496001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18116940853673984,"note":"Value kept but may cause issues"} 
[2026-09-05 20:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845701821636560896,"note":"Value kept but may cause issues"} 
[2026-09-05 20:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788619430000,"timestamp_ms":1788619430000,"timestamp_seconds":1788619430,"priority":1,"record_length":96,"hex_timestamp":"000001a072069870"} 
[2026-09-05 20:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:15: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-09-05 20:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 20:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886570496001,"66":12841,"102":206,"83":41984,"24":16,"16":18116940853673984,"45":1845701821636560896},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886570496001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:15:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:15:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18116940853673984,"km_value":18116940853673.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845701821636560896,"description":"Unknown IO ID 45"} 
[2026-09-05 20:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886570496001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1845701821636560896}} 
[2026-09-05 20:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":172156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:15:21] local.INFO: GPS data processed {"connection_id":172156,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:15:21] local.INFO: Acknowledgment sent {"connection_id":172156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:15:33] local.INFO: TCP Data received {"connection_id":172157,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a072047590012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072047590012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:15:33] local.INFO: Processing buffer {"connection_id":172157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072047590012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:15:33] local.INFO: Packet analysis {"connection_id":172157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07204"} 
[2026-09-05 20:15:33] local.INFO: Extracted packet for processing {"connection_id":172157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07204"} 
[2026-09-05 20:15:33] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":47,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886461184001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788619290000,"timestamp_ms":1788619290000,"timestamp_seconds":1788619290,"priority":1,"record_length":96,"hex_timestamp":"000001a072047590"} 
[2026-09-05 20:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20: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":205,"data_length":795,"current_offset":136} 
[2026-09-05 20:15: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-09-05 20: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-09-05 20:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886461184001,"66":25702,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886461184001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:15:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:15:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886461184001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":172157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:15:33] local.INFO: GPS data processed {"connection_id":172157,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:15:33] local.INFO: Acknowledgment sent {"connection_id":172157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:15:44] local.INFO: TCP Data received {"connection_id":171894,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:15:44] local.INFO: Processing buffer {"connection_id":171894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:15:44] local.INFO: IMEI packet received {"connection_id":171894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":171894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:15:49] local.INFO: TCP Data received {"connection_id":171894,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:15:49] local.INFO: Processing buffer {"connection_id":171894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:15:49] local.INFO: IMEI packet received {"connection_id":171894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":171894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:15:50] local.INFO: TCP Data received {"connection_id":171894,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07206a040012d198480071ff070003c00f12a..."} 
[2026-09-05 20:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07206a040012d198480071ff070003c00f12a..."} 
[2026-09-05 20:15:50] local.INFO: Processing buffer {"connection_id":171894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07206a040012d198480071ff070003c00f12a..."} 
[2026-09-05 20:15:50] local.INFO: Packet analysis {"connection_id":171894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07206"} 
[2026-09-05 20:15:50] local.INFO: Extracted packet for processing {"connection_id":171894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07206"} 
[2026-09-05 20:15:50] local.INFO: GPS Element Parsed {"raw_longitude":756647040,"raw_latitude":119533680,"longitude_deg":75.664704,"latitude_deg":11.953368,"altitude":60,"angle":241,"satellites":42,"speed":16,"hex_longitude":"2d198480","hex_latitude":"071ff070","is_valid_coordinates":true} 
[2026-09-05 20:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886574080001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18116979508379648,"note":"Value kept but may cause issues"} 
[2026-09-05 20:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839650109637355520,"note":"Value kept but may cause issues"} 
[2026-09-05 20:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788619432000,"timestamp_ms":1788619432000,"timestamp_seconds":1788619432,"priority":1,"record_length":96,"hex_timestamp":"000001a07206a040"} 
[2026-09-05 20:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-05 20:15:50] 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-09-05 20:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886574080001,"66":12809,"102":206,"83":41984,"24":16,"16":18116979508379648,"45":1839650109637355520},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886574080001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:15:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:15:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18116979508379648,"km_value":18116979508379.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839650109637355520,"description":"Unknown IO ID 45"} 
[2026-09-05 20:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886574080001,"power":12809,"unknown_102":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1839650109637355520}} 
[2026-09-05 20:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":171894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:15:50] local.INFO: GPS data processed {"connection_id":171894,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:15:50] local.INFO: Acknowledgment sent {"connection_id":171894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:15:55] local.INFO: TCP Data received {"connection_id":174596,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:15:55] local.INFO: Processing buffer {"connection_id":174596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:15:55] local.INFO: IMEI packet received {"connection_id":174596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":174596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:16:00] local.INFO: TCP Data received {"connection_id":174596,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:16:00] local.INFO: Processing buffer {"connection_id":174596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:16:00] local.INFO: IMEI packet received {"connection_id":174596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":174596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:16:02] local.INFO: TCP Data received {"connection_id":174596,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a072047590012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072047590012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:16:02] local.INFO: Processing buffer {"connection_id":174596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072047590012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:16:02] local.INFO: Packet analysis {"connection_id":174596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07204"} 
[2026-09-05 20:16:02] local.INFO: Extracted packet for processing {"connection_id":174596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07204"} 
[2026-09-05 20:16:02] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":47,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886461184001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788619290000,"timestamp_ms":1788619290000,"timestamp_seconds":1788619290,"priority":1,"record_length":96,"hex_timestamp":"000001a072047590"} 
[2026-09-05 20:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:16:02] 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-09-05 20: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":205,"data_length":795,"current_offset":136} 
[2026-09-05 20:16: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-09-05 20: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-09-05 20:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886461184001,"66":25702,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886461184001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:16:02] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:16:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886461184001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":174596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:16:02] local.INFO: GPS data processed {"connection_id":174596,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:16:02] local.INFO: Acknowledgment sent {"connection_id":174596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:16:21] local.INFO: TCP Data received {"connection_id":171894,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07206b3c8012d197d40071fec50003c01022a..."} 
[2026-09-05 20:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07206b3c8012d197d40071fec50003c01022a..."} 
[2026-09-05 20:16:21] local.INFO: Processing buffer {"connection_id":171894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07206b3c8012d197d40071fec50003c01022a..."} 
[2026-09-05 20:16:21] local.INFO: Packet analysis {"connection_id":171894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07206"} 
[2026-09-05 20:16:21] local.INFO: Extracted packet for processing {"connection_id":171894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07206"} 
[2026-09-05 20:16:21] local.INFO: GPS Element Parsed {"raw_longitude":756645184,"raw_latitude":119532624,"longitude_deg":75.6645184,"latitude_deg":11.9532624,"altitude":60,"angle":258,"satellites":42,"speed":15,"hex_longitude":"2d197d40","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-09-05 20:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886574592001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117082587594752,"note":"Value kept but may cause issues"} 
[2026-09-05 20:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838735315962982400,"note":"Value kept but may cause issues"} 
[2026-09-05 20:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788619437000,"timestamp_ms":1788619437000,"timestamp_seconds":1788619437,"priority":1,"record_length":96,"hex_timestamp":"000001a07206b3c8"} 
[2026-09-05 20:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:16: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-09-05 20:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-05 20:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1008806316698764288,"note":"Value kept but may cause issues"} 
[2026-09-05 20:16:21] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 20:16:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 20:16:21] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 20:16:21] local.WARNING: Large IO value detected {"io_id":92,"raw_value":4244635648,"note":"Value kept but may cause issues"} 
[2026-09-05 20:16:21] local.WARNING: Large IO value detected {"io_id":114,"raw_value":432371957558265792,"note":"Value kept but may cause issues"} 
[2026-09-05 20:16:21] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4050649142,"note":"Value kept but may cause issues"} 
[2026-09-05 20:16:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-05 20:16:21] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755502520402161,"note":"Value kept but may cause issues"} 
[2026-09-05 20:16:21] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847672,"note":"Value kept but may cause issues"} 
[2026-09-05 20:16:21] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301849583703098665,"note":"Value kept but may cause issues"} 
[2026-09-05 20:16:21] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692775845970628179,"note":"Value kept but may cause issues"} 
[2026-09-05 20:16:21] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,102,83,24,241,157,16,93,160,152,45,192,59,41,10,66,97,64,240,57,42,101,89,1,40,227,92,114,31,4,113,205,8,74,164,208,239,49,2,7,50,51],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-05 20:16:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323720804967645184,"timestamp_seconds":4323720804967645.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 20:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886574592001,"66":12841,"102":206,"83":41984,"24":15,"16":18117082587594752,"45":1838735315962982400},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886574592001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:16:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:16:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117082587594752,"km_value":18117082587594.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838735315962982400,"description":"Unknown IO ID 45"} 
[2026-09-05 20:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886574592001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1838735315962982400}} 
[2026-09-05 20:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":171894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:16:21] local.INFO: GPS data processed {"connection_id":171894,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:16:21] local.INFO: Acknowledgment sent {"connection_id":171894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:16:33] local.INFO: TCP Data received {"connection_id":174596,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a072047590012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072047590012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:16:33] local.INFO: Processing buffer {"connection_id":174596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072047590012d7b8ac005f5f2b8000b003f2f..."} 
[2026-09-05 20:16:33] local.INFO: Packet analysis {"connection_id":174596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07204"} 
[2026-09-05 20:16:33] local.INFO: Extracted packet for processing {"connection_id":174596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07204"} 
[2026-09-05 20:16:33] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":47,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886461184001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788619290000,"timestamp_ms":1788619290000,"timestamp_seconds":1788619290,"priority":1,"record_length":96,"hex_timestamp":"000001a072047590"} 
[2026-09-05 20:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20: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":205,"data_length":795,"current_offset":136} 
[2026-09-05 20:16: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-09-05 20: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-09-05 20:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886461184001,"66":25702,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886461184001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:16:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:16:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886461184001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":174596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:16:33] local.INFO: GPS data processed {"connection_id":174596,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:16:33] local.INFO: Acknowledgment sent {"connection_id":174596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:16:44] local.INFO: TCP Data received {"connection_id":174597,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:16:44] local.INFO: Processing buffer {"connection_id":174597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:16:44] local.INFO: IMEI packet received {"connection_id":174597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":174597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:16:49] local.INFO: TCP Data received {"connection_id":174597,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:16:49] local.INFO: Processing buffer {"connection_id":174597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:16:49] local.INFO: IMEI packet received {"connection_id":174597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":174597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:16:50] local.INFO: TCP Data received {"connection_id":174597,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07206bb98012d197a00071fec28003c010e2a..."} 
[2026-09-05 20:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07206bb98012d197a00071fec28003c010e2a..."} 
[2026-09-05 20:16:50] local.INFO: Processing buffer {"connection_id":174597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07206bb98012d197a00071fec28003c010e2a..."} 
[2026-09-05 20:16:50] local.INFO: Packet analysis {"connection_id":174597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07206"} 
[2026-09-05 20:16:50] local.INFO: Extracted packet for processing {"connection_id":174597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07206"} 
[2026-09-05 20:16:50] local.INFO: GPS Element Parsed {"raw_longitude":756644352,"raw_latitude":119532584,"longitude_deg":75.6644352,"latitude_deg":11.9532584,"altitude":60,"angle":270,"satellites":42,"speed":16,"hex_longitude":"2d197a00","hex_latitude":"071fec28","is_valid_coordinates":true} 
[2026-09-05 20:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886575872001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117121242300416,"note":"Value kept but may cause issues"} 
[2026-09-05 20:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836694622381559808,"note":"Value kept but may cause issues"} 
[2026-09-05 20:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788619439000,"timestamp_ms":1788619439000,"timestamp_seconds":1788619439,"priority":1,"record_length":96,"hex_timestamp":"000001a07206bb98"} 
[2026-09-05 20:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-05 20:16:50] 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-09-05 20:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886575872001,"66":12743,"102":206,"83":41984,"24":16,"16":18117121242300416,"45":1836694622381559808},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886575872001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:16:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:16:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117121242300416,"km_value":18117121242300.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836694622381559808,"description":"Unknown IO ID 45"} 
[2026-09-05 20:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886575872001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1836694622381559808}} 
[2026-09-05 20:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":174597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:16:50] local.INFO: GPS data processed {"connection_id":174597,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:16:50] local.INFO: Acknowledgment sent {"connection_id":174597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:16:55] local.INFO: TCP Data received {"connection_id":174598,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:16:55] local.INFO: Processing buffer {"connection_id":174598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:16:55] local.INFO: IMEI packet received {"connection_id":174598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":174598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:16:56] local.INFO: TCP Data received {"connection_id":174598,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:16:56] local.INFO: Processing buffer {"connection_id":174598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:16:56] local.INFO: IMEI packet received {"connection_id":174598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":174598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:17:01] local.INFO: TCP Data received {"connection_id":174598,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:17:01] local.INFO: Processing buffer {"connection_id":174598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:17:01] local.INFO: IMEI packet received {"connection_id":174598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":174598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:17:01] local.INFO: TCP Data received {"connection_id":174598,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07208d6a8012d7b8ac005f5f2b8000b003f2d..."} 
[2026-09-05 20:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07208d6a8012d7b8ac005f5f2b8000b003f2d..."} 
[2026-09-05 20:17:01] local.INFO: Processing buffer {"connection_id":174598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07208d6a8012d7b8ac005f5f2b8000b003f2d..."} 
[2026-09-05 20:17:01] local.INFO: Packet analysis {"connection_id":174598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07208"} 
[2026-09-05 20:17:01] local.INFO: Extracted packet for processing {"connection_id":174598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07208"} 
[2026-09-05 20:17:01] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":100004536,"longitude_deg":76.3071168,"latitude_deg":10.0004536,"altitude":11,"angle":63,"satellites":45,"speed":0,"hex_longitude":"2d7b8ac0","hex_latitude":"05f5f2b8","is_valid_coordinates":true} 
[2026-09-05 20:17: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-09-05 20:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886538240001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788619577000,"timestamp_ms":1788619577000,"timestamp_seconds":1788619577,"priority":1,"record_length":96,"hex_timestamp":"000001a07208d6a8"} 
[2026-09-05 20:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:17:01] 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-09-05 20:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 20:17:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:17:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886538240001,"66":25702,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886538240001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:17:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:17:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886538240001,"power":25702,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":174598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:17:01] local.INFO: GPS data processed {"connection_id":174598,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:17:01] local.INFO: Acknowledgment sent {"connection_id":174598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:17:21] local.INFO: TCP Data received {"connection_id":174597,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07206ee60012d1969c0071fed10003b012529..."} 
[2026-09-05 20:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07206ee60012d1969c0071fed10003b012529..."} 
[2026-09-05 20:17:21] local.INFO: Processing buffer {"connection_id":174597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07206ee60012d1969c0071fed10003b012529..."} 
[2026-09-05 20:17:21] local.INFO: Packet analysis {"connection_id":174597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07206"} 
[2026-09-05 20:17:21] local.INFO: Extracted packet for processing {"connection_id":174597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07206"} 
[2026-09-05 20:17:21] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532816,"longitude_deg":75.6640192,"latitude_deg":11.9532816,"altitude":59,"angle":293,"satellites":41,"speed":8,"hex_longitude":"2d1969c0","hex_latitude":"071fed10","is_valid_coordinates":true} 
[2026-09-05 20:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886576384001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117323105763328,"note":"Value kept but may cause issues"} 
[2026-09-05 20:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835779828707239936,"note":"Value kept but may cause issues"} 
[2026-09-05 20:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788619452000,"timestamp_ms":1788619452000,"timestamp_seconds":1788619452,"priority":1,"record_length":96,"hex_timestamp":"000001a07206ee60"} 
[2026-09-05 20:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:17: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-09-05 20:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-05 20:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886576384001,"66":12852,"102":206,"83":41984,"24":8,"16":18117323105763328,"45":1835779828707239936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886576384001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:17:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:17:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117323105763328,"km_value":18117323105763.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835779828707239936,"description":"Unknown IO ID 45"} 
[2026-09-05 20:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886576384001,"power":12852,"unknown_102":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1835779828707239936}} 
[2026-09-05 20:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":174597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:17:21] local.INFO: GPS data processed {"connection_id":174597,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:17:21] local.INFO: Acknowledgment sent {"connection_id":174597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:17:32] local.INFO: TCP Data received {"connection_id":174598,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07208ee18012d7b840005f5f200000b00f22d..."} 
[2026-09-05 20:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07208ee18012d7b840005f5f200000b00f22d..."} 
[2026-09-05 20:17:32] local.INFO: Processing buffer {"connection_id":174598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07208ee18012d7b840005f5f200000b00f22d..."} 
[2026-09-05 20:17:32] local.INFO: Packet analysis {"connection_id":174598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07208"} 
[2026-09-05 20:17:32] local.INFO: Extracted packet for processing {"connection_id":174598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07208"} 
[2026-09-05 20:17:32] local.INFO: GPS Element Parsed {"raw_longitude":763069440,"raw_latitude":100004352,"longitude_deg":76.306944,"latitude_deg":10.0004352,"altitude":11,"angle":242,"satellites":45,"speed":0,"hex_longitude":"2d7b8400","hex_latitude":"05f5f200","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886611712001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745284900864,"note":"Value kept but may cause issues"} 
[2026-09-05 20:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788619583000,"timestamp_ms":1788619583000,"timestamp_seconds":1788619583,"priority":1,"record_length":96,"hex_timestamp":"000001a07208ee18"} 
[2026-09-05 20:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:17: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-09-05 20:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 20:17: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-09-05 20: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-09-05 20:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886611712001,"66":27767,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8902138745284900864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886611712001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:17:32] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:17:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745284900864,"description":"Unknown IO ID 45"} 
[2026-09-05 20:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886611712001,"power":27767,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8902138745284900864}} 
[2026-09-05 20:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":174598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:17:32] local.INFO: GPS data processed {"connection_id":174598,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:17:32] local.INFO: Acknowledgment sent {"connection_id":174598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:17:49] local.INFO: TCP Data received {"connection_id":173277,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:17:49] local.INFO: Processing buffer {"connection_id":173277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:17:49] local.INFO: IMEI packet received {"connection_id":173277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":173277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:17:54] local.INFO: TCP Data received {"connection_id":173277,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:17:54] local.INFO: Processing buffer {"connection_id":173277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:17:54] local.INFO: IMEI packet received {"connection_id":173277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":173277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:17:55] local.INFO: TCP Data received {"connection_id":173277,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07206f248012d196900071fed70003c014028..."} 
[2026-09-05 20:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07206f248012d196900071fed70003c014028..."} 
[2026-09-05 20:17:55] local.INFO: Processing buffer {"connection_id":173277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07206f248012d196900071fed70003c014028..."} 
[2026-09-05 20:17:55] local.INFO: Packet analysis {"connection_id":173277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07206"} 
[2026-09-05 20:17:55] local.INFO: Extracted packet for processing {"connection_id":173277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07206"} 
[2026-09-05 20:17:55] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532912,"longitude_deg":75.664,"latitude_deg":11.9532912,"altitude":60,"angle":320,"satellites":40,"speed":7,"hex_longitude":"2d196900","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-09-05 20:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886579712001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117331695697920,"note":"Value kept but may cause issues"} 
[2026-09-05 20:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335751168,"note":"Value kept but may cause issues"} 
[2026-09-05 20:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788619453000,"timestamp_ms":1788619453000,"timestamp_seconds":1788619453,"priority":1,"record_length":96,"hex_timestamp":"000001a07206f248"} 
[2026-09-05 20:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-05 20:17:55] 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-09-05 20:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886579712001,"66":12809,"102":206,"83":41984,"24":7,"16":18117331695697920,"45":1831205860335751168},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886579712001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:17:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:17:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117331695697920,"km_value":18117331695697.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335751168,"description":"Unknown IO ID 45"} 
[2026-09-05 20:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886579712001,"power":12809,"unknown_102":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1831205860335751168}} 
[2026-09-05 20:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":173277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:17:55] local.INFO: GPS data processed {"connection_id":173277,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:17:55] local.INFO: Acknowledgment sent {"connection_id":173277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:17:55] local.INFO: TCP Data received {"connection_id":173278,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:17:55] local.INFO: Processing buffer {"connection_id":173278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:17:55] local.INFO: IMEI packet received {"connection_id":173278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":173278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:17:59] local.INFO: TCP Data received {"connection_id":173277,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a072072510012d1965c0071ff140003e014529..."} 
[2026-09-05 20:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072072510012d1965c0071ff140003e014529..."} 
[2026-09-05 20:17:59] local.INFO: Processing buffer {"connection_id":173277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072072510012d1965c0071ff140003e014529..."} 
[2026-09-05 20:17:59] local.INFO: Packet analysis {"connection_id":173277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07207"} 
[2026-09-05 20:17:59] local.INFO: Extracted packet for processing {"connection_id":173277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07207"} 
[2026-09-05 20:17:59] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533888,"longitude_deg":75.6639168,"latitude_deg":11.9533888,"altitude":62,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff140","is_valid_coordinates":true} 
[2026-09-05 20:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886579968001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103242752,"note":"Value kept but may cause issues"} 
[2026-09-05 20:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788619466000,"timestamp_ms":1788619466000,"timestamp_seconds":1788619466,"priority":1,"record_length":96,"hex_timestamp":"000001a072072510"} 
[2026-09-05 20:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-05 20:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1008806316698764288,"note":"Value kept but may cause issues"} 
[2026-09-05 20:17:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-05 20:17:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-05 20:17:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-05 20:17:59] local.WARNING: Large IO value detected {"io_id":114,"raw_value":457660724997103680,"note":"Value kept but may cause issues"} 
[2026-09-05 20:17:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4033871932,"note":"Value kept but may cause issues"} 
[2026-09-05 20:17:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-05 20:17:59] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3221692401,"note":"Value kept but may cause issues"} 
[2026-09-05 20:17:59] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512585463247277,"note":"Value kept but may cause issues"} 
[2026-09-05 20:17:59] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301383390991026218,"note":"Value kept but may cause issues"} 
[2026-09-05 20:17:59] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755463865696497,"note":"Value kept but may cause issues"} 
[2026-09-05 20:17:59] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,102,83,24,241,157,16,93,160,238,45,192,237,59,41,10,66,187,236,60,42,179,64,1,240,227,114,31,4,113,205,152,135,104,239,50,2,7,57,15,164,5],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-05 20:17:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323807657795715072,"timestamp_seconds":4323807657795715.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-05 20:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886579968001,"66":12863,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1830994754103242752},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886579968001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:17:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:17:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103242752,"description":"Unknown IO ID 45"} 
[2026-09-05 20:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886579968001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103242752}} 
[2026-09-05 20:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":173277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:17:59] local.INFO: GPS data processed {"connection_id":173277,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:17:59] local.INFO: Acknowledgment sent {"connection_id":173277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:18:00] local.INFO: TCP Data received {"connection_id":173278,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:18:00] local.INFO: Processing buffer {"connection_id":173278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:18:00] local.INFO: IMEI packet received {"connection_id":173278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":173278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:18:01] local.INFO: TCP Data received {"connection_id":173278,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072094020012d7b840005f5f200000b00f22c..."} 
[2026-09-05 20:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072094020012d7b840005f5f200000b00f22c..."} 
[2026-09-05 20:18:01] local.INFO: Processing buffer {"connection_id":173278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072094020012d7b840005f5f200000b00f22c..."} 
[2026-09-05 20:18:01] local.INFO: Packet analysis {"connection_id":173278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07209"} 
[2026-09-05 20:18:01] local.INFO: Extracted packet for processing {"connection_id":173278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07209"} 
[2026-09-05 20:18:01] local.INFO: GPS Element Parsed {"raw_longitude":763069440,"raw_latitude":100004352,"longitude_deg":76.306944,"latitude_deg":10.0004352,"altitude":11,"angle":242,"satellites":44,"speed":0,"hex_longitude":"2d7b8400","hex_latitude":"05f5f200","is_valid_coordinates":true} 
[2026-09-05 20:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886613248001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900238789192056832,"note":"Value kept but may cause issues"} 
[2026-09-05 20:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788619604000,"timestamp_ms":1788619604000,"timestamp_seconds":1788619604,"priority":1,"record_length":96,"hex_timestamp":"000001a072094020"} 
[2026-09-05 20:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 20:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886613248001,"66":27300,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900238789192056832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886613248001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:18:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:18:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900238789192056832,"description":"Unknown IO ID 45"} 
[2026-09-05 20:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886613248001,"power":27300,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900238789192056832}} 
[2026-09-05 20:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":173278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:18:01] local.INFO: GPS data processed {"connection_id":173278,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:18:01] local.INFO: Acknowledgment sent {"connection_id":173278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:18:33] local.INFO: TCP Data received {"connection_id":173278,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072099228012d7b840005f5f200000b00f22b..."} 
[2026-09-05 20:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072099228012d7b840005f5f200000b00f22b..."} 
[2026-09-05 20:18:33] local.INFO: Processing buffer {"connection_id":173278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072099228012d7b840005f5f200000b00f22b..."} 
[2026-09-05 20:18:33] local.INFO: Packet analysis {"connection_id":173278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07209"} 
[2026-09-05 20:18:33] local.INFO: Extracted packet for processing {"connection_id":173278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07209"} 
[2026-09-05 20:18:33] local.INFO: GPS Element Parsed {"raw_longitude":763069440,"raw_latitude":100004352,"longitude_deg":76.306944,"latitude_deg":10.0004352,"altitude":11,"angle":242,"satellites":43,"speed":0,"hex_longitude":"2d7b8400","hex_latitude":"05f5f200","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886618624001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900238789192056832,"note":"Value kept but may cause issues"} 
[2026-09-05 20:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788619625000,"timestamp_ms":1788619625000,"timestamp_seconds":1788619625,"priority":1,"record_length":96,"hex_timestamp":"000001a072099228"} 
[2026-09-05 20:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:18: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-09-05 20:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-05 20:18: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-09-05 20: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-09-05 20:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886618624001,"66":27223,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900238789192056832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886618624001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:18:33] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:18:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900238789192056832,"description":"Unknown IO ID 45"} 
[2026-09-05 20:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886618624001,"power":27223,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900238789192056832}} 
[2026-09-05 20:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":173278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:18:33] local.INFO: GPS data processed {"connection_id":173278,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:18:33] local.INFO: Acknowledgment sent {"connection_id":173278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:18:44] local.INFO: TCP Data received {"connection_id":171895,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:18:44] local.INFO: Processing buffer {"connection_id":171895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:18:44] local.INFO: IMEI packet received {"connection_id":171895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":171895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:18:49] local.INFO: TCP Data received {"connection_id":171895,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:18:49] local.INFO: Processing buffer {"connection_id":171895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:18:49] local.INFO: IMEI packet received {"connection_id":171895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":171895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:18:50] local.INFO: TCP Data received {"connection_id":171895,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072072510012d1965c0071ff140003e014529..."} 
[2026-09-05 20:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072072510012d1965c0071ff140003e014529..."} 
[2026-09-05 20:18:50] local.INFO: Processing buffer {"connection_id":171895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072072510012d1965c0071ff140003e014529..."} 
[2026-09-05 20:18:50] local.INFO: Packet analysis {"connection_id":171895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07207"} 
[2026-09-05 20:18:50] local.INFO: Extracted packet for processing {"connection_id":171895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07207"} 
[2026-09-05 20:18:50] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533888,"longitude_deg":75.6639168,"latitude_deg":11.9533888,"altitude":62,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff140","is_valid_coordinates":true} 
[2026-09-05 20:18:50] 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-09-05 20:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886583296001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429182976,"note":"Value kept but may cause issues"} 
[2026-09-05 20:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788619466000,"timestamp_ms":1788619466000,"timestamp_seconds":1788619466,"priority":1,"record_length":96,"hex_timestamp":"000001a072072510"} 
[2026-09-05 20:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-05 20:18:50] 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-09-05 20:18:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886583296001,"66":12863,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1830079960429182976},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886583296001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:18:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:18:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:18:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429182976,"description":"Unknown IO ID 45"} 
[2026-09-05 20:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886583296001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429182976}} 
[2026-09-05 20:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":171895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:18:50] local.INFO: GPS data processed {"connection_id":171895,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:18:50] local.INFO: Acknowledgment sent {"connection_id":171895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:18:56] local.INFO: TCP Data received {"connection_id":174599,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:18:56] local.INFO: Processing buffer {"connection_id":174599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:18:56] local.INFO: IMEI packet received {"connection_id":174599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":174599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:18:57] local.INFO: TCP Data received {"connection_id":174599,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:18:57] local.INFO: Processing buffer {"connection_id":174599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:18:57] local.INFO: IMEI packet received {"connection_id":174599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":174599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:18:58] local.INFO: TCP Data received {"connection_id":174599,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:18:58] local.INFO: Processing buffer {"connection_id":174599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:18:58] local.INFO: IMEI packet received {"connection_id":174599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":174599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:18:59] local.INFO: TCP Data received {"connection_id":174599,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07209e430012d7b840005f5f200000b00f22f..."} 
[2026-09-05 20:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07209e430012d7b840005f5f200000b00f22f..."} 
[2026-09-05 20:18:59] local.INFO: Processing buffer {"connection_id":174599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07209e430012d7b840005f5f200000b00f22f..."} 
[2026-09-05 20:18:59] local.INFO: Packet analysis {"connection_id":174599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07209"} 
[2026-09-05 20:18:59] local.INFO: Extracted packet for processing {"connection_id":174599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07209"} 
[2026-09-05 20:18:59] local.INFO: GPS Element Parsed {"raw_longitude":763069440,"raw_latitude":100004352,"longitude_deg":76.306944,"latitude_deg":10.0004352,"altitude":11,"angle":242,"satellites":47,"speed":0,"hex_longitude":"2d7b8400","hex_latitude":"05f5f200","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886624000001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900238789192056832,"note":"Value kept but may cause issues"} 
[2026-09-05 20:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788619646000,"timestamp_ms":1788619646000,"timestamp_seconds":1788619646,"priority":1,"record_length":96,"hex_timestamp":"000001a07209e430"} 
[2026-09-05 20:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20: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":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-09-05 20:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20: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-09-05 20:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886624000001,"66":27180,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900238789192056832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886624000001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:18:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:18:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900238789192056832,"description":"Unknown IO ID 45"} 
[2026-09-05 20:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886624000001,"power":27180,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900238789192056832}} 
[2026-09-05 20:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":174599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:18:59] local.INFO: GPS data processed {"connection_id":174599,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:18:59] local.INFO: Acknowledgment sent {"connection_id":174599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:19:01] local.INFO: TCP Data received {"connection_id":174599,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0720a3638012d7b840005f5f200000b00f22e..."} 
[2026-09-05 20:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0720a3638012d7b840005f5f200000b00f22e..."} 
[2026-09-05 20:19:01] local.INFO: Processing buffer {"connection_id":174599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0720a3638012d7b840005f5f200000b00f22e..."} 
[2026-09-05 20:19:01] local.INFO: Packet analysis {"connection_id":174599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0720a"} 
[2026-09-05 20:19:01] local.INFO: Extracted packet for processing {"connection_id":174599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0720a"} 
[2026-09-05 20:19:01] local.INFO: GPS Element Parsed {"raw_longitude":763069440,"raw_latitude":100004352,"longitude_deg":76.306944,"latitude_deg":10.0004352,"altitude":11,"angle":242,"satellites":46,"speed":0,"hex_longitude":"2d7b8400","hex_latitude":"05f5f200","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886629376001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900174387773440,"note":"Value kept but may cause issues"} 
[2026-09-05 20:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900238789192056832,"note":"Value kept but may cause issues"} 
[2026-09-05 20:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788619667000,"timestamp_ms":1788619667000,"timestamp_seconds":1788619667,"priority":1,"record_length":96,"hex_timestamp":"000001a0720a3638"} 
[2026-09-05 20:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:19:01] 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-09-05 20:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-05 20:19:01] 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-09-05 20: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-09-05 20:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886629376001,"66":27397,"160":206,"87":12800,"24":0,"16":399900174387773440,"45":8900238789192056832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886629376001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:19:01] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:19:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900174387773440,"km_value":399900174387773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900238789192056832,"description":"Unknown IO ID 45"} 
[2026-09-05 20:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886629376001,"power":27397,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900238789192056832}} 
[2026-09-05 20:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":174599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:19:01] local.INFO: GPS data processed {"connection_id":174599,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:19:01] local.INFO: Acknowledgment sent {"connection_id":174599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:19:21] local.INFO: TCP Data received {"connection_id":171895,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072072510012d1965c0071ff140003e014529..."} 
[2026-09-05 20:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072072510012d1965c0071ff140003e014529..."} 
[2026-09-05 20:19:21] local.INFO: Processing buffer {"connection_id":171895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072072510012d1965c0071ff140003e014529..."} 
[2026-09-05 20:19:21] local.INFO: Packet analysis {"connection_id":171895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07207"} 
[2026-09-05 20:19:21] local.INFO: Extracted packet for processing {"connection_id":171895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07207"} 
[2026-09-05 20:19:21] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533888,"longitude_deg":75.6639168,"latitude_deg":11.9533888,"altitude":62,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff140","is_valid_coordinates":true} 
[2026-09-05 20:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886583296001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429182976,"note":"Value kept but may cause issues"} 
[2026-09-05 20:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788619466000,"timestamp_ms":1788619466000,"timestamp_seconds":1788619466,"priority":1,"record_length":96,"hex_timestamp":"000001a072072510"} 
[2026-09-05 20:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-05 20:19:21] 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-09-05 20:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886583296001,"66":12863,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1830079960429182976},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886583296001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:19:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:19:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429182976,"description":"Unknown IO ID 45"} 
[2026-09-05 20:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886583296001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429182976}} 
[2026-09-05 20:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":171895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:19:21] local.INFO: GPS data processed {"connection_id":171895,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:19:21] local.INFO: Acknowledgment sent {"connection_id":171895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:19:32] local.INFO: TCP Data received {"connection_id":174599,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0720a8840012d7b828005f5f080000d00fb2f..."} 
[2026-09-05 20:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0720a8840012d7b828005f5f080000d00fb2f..."} 
[2026-09-05 20:19:32] local.INFO: Processing buffer {"connection_id":174599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0720a8840012d7b828005f5f080000d00fb2f..."} 
[2026-09-05 20:19:32] local.INFO: Packet analysis {"connection_id":174599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0720a"} 
[2026-09-05 20:19:32] local.INFO: Extracted packet for processing {"connection_id":174599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0720a"} 
[2026-09-05 20:19:32] local.INFO: GPS Element Parsed {"raw_longitude":763069056,"raw_latitude":100003968,"longitude_deg":76.3069056,"latitude_deg":10.0003968,"altitude":13,"angle":251,"satellites":47,"speed":0,"hex_longitude":"2d7b8280","hex_latitude":"05f5f080","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886634752001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900204452544512,"note":"Value kept but may cause issues"} 
[2026-09-05 20:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900238789192056832,"note":"Value kept but may cause issues"} 
[2026-09-05 20:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788619688000,"timestamp_ms":1788619688000,"timestamp_seconds":1788619688,"priority":1,"record_length":96,"hex_timestamp":"000001a0720a8840"} 
[2026-09-05 20:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:19: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-09-05 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-05 20:19: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-09-05 20: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-09-05 20:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886634752001,"66":27321,"160":206,"87":12800,"24":0,"16":399900204452544512,"45":8900238789192056832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-09-05 20:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886634752001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:19:32] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-05 20:19:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900204452544512,"km_value":399900204452544.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900238789192056832,"description":"Unknown IO ID 45"} 
[2026-09-05 20:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886634752001,"power":27321,"unknown_160":206,"unknown_87":12800,"ignition":0,"odometer":null,"unknown_45":8900238789192056832}} 
[2026-09-05 20:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":174599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:19:32] local.INFO: GPS data processed {"connection_id":174599,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:19:32] local.INFO: Acknowledgment sent {"connection_id":174599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:19:44] local.INFO: TCP Data received {"connection_id":173279,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:19:44] local.INFO: Processing buffer {"connection_id":173279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:19:44] local.INFO: IMEI packet received {"connection_id":173279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":173279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:19:49] local.INFO: TCP Data received {"connection_id":173279,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:19:49] local.INFO: Processing buffer {"connection_id":173279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:19:49] local.INFO: IMEI packet received {"connection_id":173279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":173279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:19:50] local.INFO: TCP Data received {"connection_id":173279,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a072072510012d1965c0071ff140003e014529..."} 
[2026-09-05 20:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072072510012d1965c0071ff140003e014529..."} 
[2026-09-05 20:19:50] local.INFO: Processing buffer {"connection_id":173279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072072510012d1965c0071ff140003e014529..."} 
[2026-09-05 20:19:50] local.INFO: Packet analysis {"connection_id":173279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07207"} 
[2026-09-05 20:19:50] local.INFO: Extracted packet for processing {"connection_id":173279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07207"} 
[2026-09-05 20:19:50] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533888,"longitude_deg":75.6639168,"latitude_deg":11.9533888,"altitude":62,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff140","is_valid_coordinates":true} 
[2026-09-05 20:19:50] 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-09-05 20:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886583296001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429182976,"note":"Value kept but may cause issues"} 
[2026-09-05 20:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788619466000,"timestamp_ms":1788619466000,"timestamp_seconds":1788619466,"priority":1,"record_length":96,"hex_timestamp":"000001a072072510"} 
[2026-09-05 20:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-05 20:19:50] 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-09-05 20:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886583296001,"66":12863,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1830079960429182976},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886583296001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:19:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:19:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429182976,"description":"Unknown IO ID 45"} 
[2026-09-05 20:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886583296001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429182976}} 
[2026-09-05 20:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":173279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:19:50] local.INFO: GPS data processed {"connection_id":173279,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:19:50] local.INFO: Acknowledgment sent {"connection_id":173279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:19:55] local.INFO: TCP Data received {"connection_id":171896,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:19:55] local.INFO: Processing buffer {"connection_id":171896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:19:55] local.INFO: IMEI packet received {"connection_id":171896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":171896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:19:57] local.INFO: TCP Data received {"connection_id":171896,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:19:57] local.INFO: Processing buffer {"connection_id":171896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:19:57] local.INFO: IMEI packet received {"connection_id":171896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":171896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:20:04] local.INFO: TCP Data received {"connection_id":171896,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:20:04] local.INFO: Processing buffer {"connection_id":171896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:20:04] local.INFO: IMEI packet received {"connection_id":171896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":171896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:20:05] local.INFO: TCP Data received {"connection_id":171896,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:20:05] local.INFO: Processing buffer {"connection_id":171896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:20:05] local.INFO: IMEI packet received {"connection_id":171896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":171896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:20:06] local.INFO: TCP Data received {"connection_id":171896,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0720ab338012d7b81c005f5f050000e011e2d..."} 
[2026-09-05 20:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0720ab338012d7b81c005f5f050000e011e2d..."} 
[2026-09-05 20:20:06] local.INFO: Processing buffer {"connection_id":171896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0720ab338012d7b81c005f5f050000e011e2d..."} 
[2026-09-05 20:20:06] local.INFO: Packet analysis {"connection_id":171896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0720a"} 
[2026-09-05 20:20:06] local.INFO: Extracted packet for processing {"connection_id":171896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0720a"} 
[2026-09-05 20:20:06] local.INFO: GPS Element Parsed {"raw_longitude":763068864,"raw_latitude":100003920,"longitude_deg":76.3068864,"latitude_deg":10.000392,"altitude":14,"angle":286,"satellites":45,"speed":2,"hex_longitude":"2d7b81c0","hex_latitude":"05f5f050","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886640128001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399900213042479104,"note":"Value kept but may cause issues"} 
[2026-09-05 20:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576726892544,"note":"Value kept but may cause issues"} 
[2026-09-05 20:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788619699000,"timestamp_ms":1788619699000,"timestamp_seconds":1788619699,"priority":1,"record_length":96,"hex_timestamp":"000001a0720ab338"} 
[2026-09-05 20:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:20: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-09-05 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 20:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20: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-09-05 20:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886640128001,"66":27300,"162":206,"87":12800,"24":2,"16":399900213042479104,"45":8899816576726892544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,87,24,16,45]} 
[2026-09-05 20:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886640128001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:20:06] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-09-05 20:20:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399900213042479104,"km_value":399900213042479.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576726892544,"description":"Unknown IO ID 45"} 
[2026-09-05 20:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886640128001,"power":27300,"unknown_162":206,"unknown_87":12800,"ignition":2,"odometer":null,"unknown_45":8899816576726892544}} 
[2026-09-05 20:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":171896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:20:06] local.INFO: GPS data processed {"connection_id":171896,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:20:06] local.INFO: Acknowledgment sent {"connection_id":171896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:20:08] local.INFO: TCP Data received {"connection_id":171896,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0720ba568012d7b66c005f63da0000c01132d..."} 
[2026-09-05 20:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0720ba568012d7b66c005f63da0000c01132d..."} 
[2026-09-05 20:20:08] local.INFO: Processing buffer {"connection_id":171896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0720ba568012d7b66c005f63da0000c01132d..."} 
[2026-09-05 20:20:08] local.INFO: Packet analysis {"connection_id":171896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0720b"} 
[2026-09-05 20:20:08] local.INFO: Extracted packet for processing {"connection_id":171896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0720b"} 
[2026-09-05 20:20:08] local.INFO: GPS Element Parsed {"raw_longitude":763061952,"raw_latitude":100023712,"longitude_deg":76.3061952,"latitude_deg":10.0023712,"altitude":12,"angle":275,"satellites":45,"speed":9,"hex_longitude":"2d7b66c0","hex_latitude":"05f63da0","is_valid_coordinates":true} 
[2026-09-05 20:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886658560001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399901252424564736,"note":"Value kept but may cause issues"} 
[2026-09-05 20:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892287121104918528,"note":"Value kept but may cause issues"} 
[2026-09-05 20:20:08] 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-09-05 20:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788619761000,"timestamp_ms":1788619761000,"timestamp_seconds":1788619761,"priority":1,"record_length":96,"hex_timestamp":"000001a0720ba568"} 
[2026-09-05 20:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:20: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-09-05 20: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-05 20:20:08] 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-09-05 20: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-09-05 20:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":171896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":171896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":171896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886658560001,"66":27213,"163":206,"87":12800,"24":9,"16":399901252424564736,"45":8892287121104918528},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-05 20:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886658560001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:20:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:20:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399901252424564736,"km_value":399901252424564.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892287121104918528,"description":"Unknown IO ID 45"} 
[2026-09-05 20:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886658560001,"power":27213,"unknown_163":206,"unknown_87":12800,"ignition":9,"odometer":null,"unknown_45":8892287121104918528}} 
[2026-09-05 20:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":171896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:20:08] local.INFO: GPS data processed {"connection_id":171896,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:20:08] local.INFO: Acknowledgment sent {"connection_id":171896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:20:21] local.INFO: TCP Data received {"connection_id":173279,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0720bd060012d196500071ff128003e014529..."} 
[2026-09-05 20:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0720bd060012d196500071ff128003e014529..."} 
[2026-09-05 20:20:21] local.INFO: Processing buffer {"connection_id":173279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0720bd060012d196500071ff128003e014529..."} 
[2026-09-05 20:20:21] local.INFO: Packet analysis {"connection_id":173279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0720b"} 
[2026-09-05 20:20:21] local.INFO: Extracted packet for processing {"connection_id":173279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0720b"} 
[2026-09-05 20:20:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886583296001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429182976,"note":"Value kept but may cause issues"} 
[2026-09-05 20:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788619772000,"timestamp_ms":1788619772000,"timestamp_seconds":1788619772,"priority":1,"record_length":96,"hex_timestamp":"000001a0720bd060"} 
[2026-09-05 20:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-05 20:20:21] 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-09-05 20:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886583296001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1830079960429182976},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886583296001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:20:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:20:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429182976,"description":"Unknown IO ID 45"} 
[2026-09-05 20:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886583296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429182976}} 
[2026-09-05 20:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":173279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:20:21] local.INFO: GPS data processed {"connection_id":173279,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:20:21] local.INFO: Acknowledgment sent {"connection_id":173279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:20:39] local.INFO: TCP Data received {"connection_id":171896,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0720ba950012d7b65c005f63da0000c01042c..."} 
[2026-09-05 20:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0720ba950012d7b65c005f63da0000c01042c..."} 
[2026-09-05 20:20:39] local.INFO: Processing buffer {"connection_id":171896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0720ba950012d7b65c005f63da0000c01042c..."} 
[2026-09-05 20:20:39] local.INFO: Packet analysis {"connection_id":171896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0720b"} 
[2026-09-05 20:20:39] local.INFO: Extracted packet for processing {"connection_id":171896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0720b"} 
[2026-09-05 20:20:39] local.INFO: GPS Element Parsed {"raw_longitude":763061696,"raw_latitude":100023712,"longitude_deg":76.3061696,"latitude_deg":10.0023712,"altitude":12,"angle":260,"satellites":44,"speed":11,"hex_longitude":"2d7b65c0","hex_latitude":"05f63da0","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886658816001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399901269604433920,"note":"Value kept but may cause issues"} 
[2026-09-05 20:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892005646128226304,"note":"Value kept but may cause issues"} 
[2026-09-05 20:20:39] 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-09-05 20:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788619762000,"timestamp_ms":1788619762000,"timestamp_seconds":1788619762,"priority":1,"record_length":96,"hex_timestamp":"000001a0720ba950"} 
[2026-09-05 20:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:20:39] 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-09-05 20: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":77,"data_length":795,"current_offset":136} 
[2026-09-05 20:20:39] 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-09-05 20: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-09-05 20:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":171896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":171896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":171896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886658816001,"66":27463,"163":206,"87":12800,"24":11,"16":399901269604433920,"45":8892005646128226304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-05 20:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886658816001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:20:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:20:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399901269604433920,"km_value":399901269604433.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892005646128226304,"description":"Unknown IO ID 45"} 
[2026-09-05 20:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886658816001,"power":27463,"unknown_163":206,"unknown_87":12800,"ignition":11,"odometer":null,"unknown_45":8892005646128226304}} 
[2026-09-05 20:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":171896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:20:39] local.INFO: GPS data processed {"connection_id":171896,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:20:39] local.INFO: Acknowledgment sent {"connection_id":171896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:20:44] local.INFO: TCP Data received {"connection_id":171897,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:20:44] local.INFO: Processing buffer {"connection_id":171897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:20:44] local.INFO: IMEI packet received {"connection_id":171897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":171897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:20:49] local.INFO: TCP Data received {"connection_id":171897,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:20:49] local.INFO: Processing buffer {"connection_id":171897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:20:49] local.INFO: IMEI packet received {"connection_id":171897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":171897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:20:50] local.INFO: TCP Data received {"connection_id":171897,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0720bd060012d196500071ff128003e014529..."} 
[2026-09-05 20:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0720bd060012d196500071ff128003e014529..."} 
[2026-09-05 20:20:50] local.INFO: Processing buffer {"connection_id":171897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0720bd060012d196500071ff128003e014529..."} 
[2026-09-05 20:20:50] local.INFO: Packet analysis {"connection_id":171897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0720b"} 
[2026-09-05 20:20:50] local.INFO: Extracted packet for processing {"connection_id":171897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0720b"} 
[2026-09-05 20:20:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886583296001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:20:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429182976,"note":"Value kept but may cause issues"} 
[2026-09-05 20:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788619772000,"timestamp_ms":1788619772000,"timestamp_seconds":1788619772,"priority":1,"record_length":96,"hex_timestamp":"000001a0720bd060"} 
[2026-09-05 20:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-05 20:20:50] 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-09-05 20:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886583296001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1830079960429182976},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886583296001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:20:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:20:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429182976,"description":"Unknown IO ID 45"} 
[2026-09-05 20:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886583296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429182976}} 
[2026-09-05 20:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":171897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:20:50] local.INFO: GPS data processed {"connection_id":171897,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:20:50] local.INFO: Acknowledgment sent {"connection_id":171897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:20:55] local.INFO: TCP Data received {"connection_id":171898,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:20:55] local.INFO: Processing buffer {"connection_id":171898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:20:55] local.INFO: IMEI packet received {"connection_id":171898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":171898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:21:00] local.INFO: TCP Data received {"connection_id":171898,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:21:00] local.INFO: Processing buffer {"connection_id":171898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:21:00] local.INFO: IMEI packet received {"connection_id":171898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":171898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:21:01] local.INFO: TCP Data received {"connection_id":171898,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0720bad38012d7b648005f63d50000c00f72c..."} 
[2026-09-05 20:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0720bad38012d7b648005f63d50000c00f72c..."} 
[2026-09-05 20:21:01] local.INFO: Processing buffer {"connection_id":171898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0720bad38012d7b648005f63d50000c00f72c..."} 
[2026-09-05 20:21:01] local.INFO: Packet analysis {"connection_id":171898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0720b"} 
[2026-09-05 20:21:01] local.INFO: Extracted packet for processing {"connection_id":171898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0720b"} 
[2026-09-05 20:21:01] local.INFO: GPS Element Parsed {"raw_longitude":763061376,"raw_latitude":100023632,"longitude_deg":76.3061376,"latitude_deg":10.0023632,"altitude":12,"angle":247,"satellites":44,"speed":13,"hex_longitude":"2d7b6480","hex_latitude":"05f63d50","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886659072001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399901282489335808,"note":"Value kept but may cause issues"} 
[2026-09-05 20:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891724171151515648,"note":"Value kept but may cause issues"} 
[2026-09-05 20:21:01] 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-09-05 20:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788619763000,"timestamp_ms":1788619763000,"timestamp_seconds":1788619763,"priority":1,"record_length":96,"hex_timestamp":"000001a0720bad38"} 
[2026-09-05 20:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:21:01] 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-09-05 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-05 20:21: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-09-05 20: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-09-05 20:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886659072001,"66":27463,"163":206,"87":12800,"24":13,"16":399901282489335808,"45":8891724171151515648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-05 20:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886659072001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:21:01] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:21:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399901282489335808,"km_value":399901282489335.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891724171151515648,"description":"Unknown IO ID 45"} 
[2026-09-05 20:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886659072001,"power":27463,"unknown_163":206,"unknown_87":12800,"ignition":13,"odometer":null,"unknown_45":8891724171151515648}} 
[2026-09-05 20:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":171898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:21:01] local.INFO: GPS data processed {"connection_id":171898,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:21:01] local.INFO: Acknowledgment sent {"connection_id":171898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:21:21] local.INFO: TCP Data received {"connection_id":171897,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0720bd060012d196500071ff128003e014529..."} 
[2026-09-05 20:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0720bd060012d196500071ff128003e014529..."} 
[2026-09-05 20:21:21] local.INFO: Processing buffer {"connection_id":171897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0720bd060012d196500071ff128003e014529..."} 
[2026-09-05 20:21:21] local.INFO: Packet analysis {"connection_id":171897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0720b"} 
[2026-09-05 20:21:21] local.INFO: Extracted packet for processing {"connection_id":171897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0720b"} 
[2026-09-05 20:21:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886583296001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429182976,"note":"Value kept but may cause issues"} 
[2026-09-05 20:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788619772000,"timestamp_ms":1788619772000,"timestamp_seconds":1788619772,"priority":1,"record_length":96,"hex_timestamp":"000001a0720bd060"} 
[2026-09-05 20:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-05 20:21:21] 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-09-05 20:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886583296001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1830079960429182976},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886583296001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:21:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:21:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429182976,"description":"Unknown IO ID 45"} 
[2026-09-05 20:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886583296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429182976}} 
[2026-09-05 20:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":171897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:21:21] local.INFO: GPS data processed {"connection_id":171897,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:21:21] local.INFO: Acknowledgment sent {"connection_id":171897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:21:33] local.INFO: TCP Data received {"connection_id":171898,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0720bff40012d7b4ec005f634a8000900f52d..."} 
[2026-09-05 20:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0720bff40012d7b4ec005f634a8000900f52d..."} 
[2026-09-05 20:21:33] local.INFO: Processing buffer {"connection_id":171898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0720bff40012d7b4ec005f634a8000900f52d..."} 
[2026-09-05 20:21:33] local.INFO: Packet analysis {"connection_id":171898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0720b"} 
[2026-09-05 20:21:33] local.INFO: Extracted packet for processing {"connection_id":171898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0720b"} 
[2026-09-05 20:21:33] local.INFO: GPS Element Parsed {"raw_longitude":763055808,"raw_latitude":100021416,"longitude_deg":76.3055808,"latitude_deg":10.0021416,"altitude":9,"angle":245,"satellites":45,"speed":5,"hex_longitude":"2d7b4ec0","hex_latitude":"05f634a8","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886659328001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399901570252144640,"note":"Value kept but may cause issues"} 
[2026-09-05 20:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891372327430606848,"note":"Value kept but may cause issues"} 
[2026-09-05 20:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788619784000,"timestamp_ms":1788619784000,"timestamp_seconds":1788619784,"priority":1,"record_length":96,"hex_timestamp":"000001a0720bff40"} 
[2026-09-05 20:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:21: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-09-05 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-05 20:21: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-09-05 20: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-09-05 20:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886659328001,"66":27343,"163":206,"87":12800,"24":5,"16":399901570252144640,"45":8891372327430606848},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-05 20:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886659328001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:21:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:21:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399901570252144640,"km_value":399901570252144.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891372327430606848,"description":"Unknown IO ID 45"} 
[2026-09-05 20:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886659328001,"power":27343,"unknown_163":206,"unknown_87":12800,"ignition":5,"odometer":null,"unknown_45":8891372327430606848}} 
[2026-09-05 20:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":171898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:21:33] local.INFO: GPS data processed {"connection_id":171898,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:21:33] local.INFO: Acknowledgment sent {"connection_id":171898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:21:44] local.INFO: TCP Data received {"connection_id":174600,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:21:44] local.INFO: Processing buffer {"connection_id":174600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:21:44] local.INFO: IMEI packet received {"connection_id":174600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":174600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:21:49] local.INFO: TCP Data received {"connection_id":174600,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:21:49] local.INFO: Processing buffer {"connection_id":174600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:21:49] local.INFO: IMEI packet received {"connection_id":174600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":174600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:21:50] local.INFO: TCP Data received {"connection_id":174600,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0720bd060012d196500071ff128003e014529..."} 
[2026-09-05 20:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0720bd060012d196500071ff128003e014529..."} 
[2026-09-05 20:21:50] local.INFO: Processing buffer {"connection_id":174600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0720bd060012d196500071ff128003e014529..."} 
[2026-09-05 20:21:50] local.INFO: Packet analysis {"connection_id":174600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0720b"} 
[2026-09-05 20:21:50] local.INFO: Extracted packet for processing {"connection_id":174600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0720b"} 
[2026-09-05 20:21:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886583296001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429182976,"note":"Value kept but may cause issues"} 
[2026-09-05 20:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788619772000,"timestamp_ms":1788619772000,"timestamp_seconds":1788619772,"priority":1,"record_length":96,"hex_timestamp":"000001a0720bd060"} 
[2026-09-05 20:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-05 20:21:50] 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-09-05 20: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-09-05 20:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886583296001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1830079960429182976},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886583296001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:21:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:21:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429182976,"description":"Unknown IO ID 45"} 
[2026-09-05 20:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886583296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429182976}} 
[2026-09-05 20:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":174600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:21:50] local.INFO: GPS data processed {"connection_id":174600,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:21:50] local.INFO: Acknowledgment sent {"connection_id":174600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:21:55] local.INFO: TCP Data received {"connection_id":171899,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:21:55] local.INFO: Processing buffer {"connection_id":171899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:21:55] local.INFO: IMEI packet received {"connection_id":171899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":171899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:22:00] local.INFO: TCP Data received {"connection_id":171899,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:22:00] local.INFO: Processing buffer {"connection_id":171899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:22:00] local.INFO: IMEI packet received {"connection_id":171899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":171899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:22:01] local.INFO: TCP Data received {"connection_id":171899,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0720c0af8012d7b4cc005f63408000901032d..."} 
[2026-09-05 20:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0720c0af8012d7b4cc005f63408000901032d..."} 
[2026-09-05 20:22:01] local.INFO: Processing buffer {"connection_id":171899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0720c0af8012d7b4cc005f63408000901032d..."} 
[2026-09-05 20:22:01] local.INFO: Packet analysis {"connection_id":171899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0720c"} 
[2026-09-05 20:22:01] local.INFO: Extracted packet for processing {"connection_id":171899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0720c"} 
[2026-09-05 20:22:01] local.INFO: GPS Element Parsed {"raw_longitude":763055296,"raw_latitude":100021256,"longitude_deg":76.3055296,"latitude_deg":10.0021256,"altitude":9,"angle":259,"satellites":45,"speed":7,"hex_longitude":"2d7b4cc0","hex_latitude":"05f63408","is_valid_coordinates":true} 
[2026-09-05 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-09-05 20:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886664704001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399901596021948416,"note":"Value kept but may cause issues"} 
[2026-09-05 20:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885250246686582784,"note":"Value kept but may cause issues"} 
[2026-09-05 20:22:01] 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-09-05 20:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788619787000,"timestamp_ms":1788619787000,"timestamp_seconds":1788619787,"priority":1,"record_length":96,"hex_timestamp":"000001a0720c0af8"} 
[2026-09-05 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-09-05 20:22:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 20:22:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 20:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886664704001,"66":27137,"163":206,"87":12800,"24":7,"16":399901596021948416,"45":8885250246686582784},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-05 20:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886664704001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:22:01] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:22:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399901596021948416,"km_value":399901596021948.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885250246686582784,"description":"Unknown IO ID 45"} 
[2026-09-05 20:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886664704001,"power":27137,"unknown_163":206,"unknown_87":12800,"ignition":7,"odometer":null,"unknown_45":8885250246686582784}} 
[2026-09-05 20:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":171899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:22:01] local.INFO: GPS data processed {"connection_id":171899,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:22:01] local.INFO: Acknowledgment sent {"connection_id":171899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:22:21] local.INFO: TCP Data received {"connection_id":174600,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0720bd060012d196500071ff128003e014529..."} 
[2026-09-05 20:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0720bd060012d196500071ff128003e014529..."} 
[2026-09-05 20:22:21] local.INFO: Processing buffer {"connection_id":174600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0720bd060012d196500071ff128003e014529..."} 
[2026-09-05 20:22:21] local.INFO: Packet analysis {"connection_id":174600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0720b"} 
[2026-09-05 20:22:21] local.INFO: Extracted packet for processing {"connection_id":174600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0720b"} 
[2026-09-05 20:22:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886583296001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429182976,"note":"Value kept but may cause issues"} 
[2026-09-05 20:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788619772000,"timestamp_ms":1788619772000,"timestamp_seconds":1788619772,"priority":1,"record_length":96,"hex_timestamp":"000001a0720bd060"} 
[2026-09-05 20:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-05 20:22:21] 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-09-05 20:22:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886583296001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1830079960429182976},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886583296001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:22:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:22:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429182976,"description":"Unknown IO ID 45"} 
[2026-09-05 20:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886583296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429182976}} 
[2026-09-05 20:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":174600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:22:21] local.INFO: GPS data processed {"connection_id":174600,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:22:21] local.INFO: Acknowledgment sent {"connection_id":174600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:22:33] local.INFO: TCP Data received {"connection_id":171899,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0720c5d00012d7b3c4005f63200000e01052d..."} 
[2026-09-05 20:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0720c5d00012d7b3c4005f63200000e01052d..."} 
[2026-09-05 20:22:33] local.INFO: Processing buffer {"connection_id":171899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0720c5d00012d7b3c4005f63200000e01052d..."} 
[2026-09-05 20:22:33] local.INFO: Packet analysis {"connection_id":171899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0720c"} 
[2026-09-05 20:22:33] local.INFO: Extracted packet for processing {"connection_id":171899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0720c"} 
[2026-09-05 20:22:33] local.INFO: GPS Element Parsed {"raw_longitude":763051072,"raw_latitude":100020736,"longitude_deg":76.3051072,"latitude_deg":10.0020736,"altitude":14,"angle":261,"satellites":45,"speed":6,"hex_longitude":"2d7b3c40","hex_latitude":"05f63200","is_valid_coordinates":true} 
[2026-09-05 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-09-05 20:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886665472001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399901797885411328,"note":"Value kept but may cause issues"} 
[2026-09-05 20:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884687296733120512,"note":"Value kept but may cause issues"} 
[2026-09-05 20:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788619808000,"timestamp_ms":1788619808000,"timestamp_seconds":1788619808,"priority":1,"record_length":96,"hex_timestamp":"000001a0720c5d00"} 
[2026-09-05 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-09-05 20:22: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-09-05 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":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-09-05 20:22:33] 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-09-05 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-09-05 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-09-05 20:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886665472001,"66":27484,"163":206,"87":12800,"24":6,"16":399901797885411328,"45":8884687296733120512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-05 20:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886665472001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:22:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:22:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399901797885411328,"km_value":399901797885411.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884687296733120512,"description":"Unknown IO ID 45"} 
[2026-09-05 20:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886665472001,"power":27484,"unknown_163":206,"unknown_87":12800,"ignition":6,"odometer":null,"unknown_45":8884687296733120512}} 
[2026-09-05 20:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":171899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:22:33] local.INFO: GPS data processed {"connection_id":171899,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:22:33] local.INFO: Acknowledgment sent {"connection_id":171899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:22:49] local.INFO: TCP Data received {"connection_id":171900,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:22:49] local.INFO: Processing buffer {"connection_id":171900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:22:49] local.INFO: IMEI packet received {"connection_id":171900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":171900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:22:54] local.INFO: TCP Data received {"connection_id":171900,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:22:54] local.INFO: Processing buffer {"connection_id":171900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:22:54] local.INFO: IMEI packet received {"connection_id":171900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":171900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:22:55] local.INFO: TCP Data received {"connection_id":171900,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0720bd060012d196500071ff128003e014529..."} 
[2026-09-05 20:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0720bd060012d196500071ff128003e014529..."} 
[2026-09-05 20:22:55] local.INFO: Processing buffer {"connection_id":171900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0720bd060012d196500071ff128003e014529..."} 
[2026-09-05 20:22:55] local.INFO: Packet analysis {"connection_id":171900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0720b"} 
[2026-09-05 20:22:55] local.INFO: Extracted packet for processing {"connection_id":171900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0720b"} 
[2026-09-05 20:22:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886583296001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429182976,"note":"Value kept but may cause issues"} 
[2026-09-05 20:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788619772000,"timestamp_ms":1788619772000,"timestamp_seconds":1788619772,"priority":1,"record_length":96,"hex_timestamp":"000001a0720bd060"} 
[2026-09-05 20:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-05 20:22:55] 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-09-05 20:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886583296001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1830079960429182976},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886583296001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:22:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:22:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429182976,"description":"Unknown IO ID 45"} 
[2026-09-05 20:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886583296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429182976}} 
[2026-09-05 20:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":171900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:22:55] local.INFO: GPS data processed {"connection_id":171900,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:22:55] local.INFO: Acknowledgment sent {"connection_id":171900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:22:59] local.INFO: TCP Data received {"connection_id":171900,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0720bd060012d196500071ff128003e014529..."} 
[2026-09-05 20:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0720bd060012d196500071ff128003e014529..."} 
[2026-09-05 20:22:59] local.INFO: Processing buffer {"connection_id":171900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0720bd060012d196500071ff128003e014529..."} 
[2026-09-05 20:22:59] local.INFO: Packet analysis {"connection_id":171900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0720b"} 
[2026-09-05 20:22:59] local.INFO: Extracted packet for processing {"connection_id":171900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0720b"} 
[2026-09-05 20:22:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886583296001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429182976,"note":"Value kept but may cause issues"} 
[2026-09-05 20:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788619772000,"timestamp_ms":1788619772000,"timestamp_seconds":1788619772,"priority":1,"record_length":96,"hex_timestamp":"000001a0720bd060"} 
[2026-09-05 20:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-05 20:22:59] 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-09-05 20:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886583296001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1830079960429182976},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886583296001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:22:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:22:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429182976,"description":"Unknown IO ID 45"} 
[2026-09-05 20:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886583296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429182976}} 
[2026-09-05 20:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":171900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:22:59] local.INFO: GPS data processed {"connection_id":171900,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:22:59] local.INFO: Acknowledgment sent {"connection_id":171900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:23:01] local.INFO: TCP Data received {"connection_id":172158,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:23:01] local.INFO: Processing buffer {"connection_id":172158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:23:01] local.INFO: IMEI packet received {"connection_id":172158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":172158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:23:05] local.INFO: TCP Data received {"connection_id":172158,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:23:05] local.INFO: Processing buffer {"connection_id":172158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:23:05] local.INFO: IMEI packet received {"connection_id":172158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":172158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:23:06] local.INFO: TCP Data received {"connection_id":172158,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0720c7088012d7b380005f631d0000e011a2d..."} 
[2026-09-05 20:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0720c7088012d7b380005f631d0000e011a2d..."} 
[2026-09-05 20:23:06] local.INFO: Processing buffer {"connection_id":172158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0720c7088012d7b380005f631d0000e011a2d..."} 
[2026-09-05 20:23:06] local.INFO: Packet analysis {"connection_id":172158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0720c"} 
[2026-09-05 20:23:06] local.INFO: Extracted packet for processing {"connection_id":172158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0720c"} 
[2026-09-05 20:23:06] local.INFO: GPS Element Parsed {"raw_longitude":763049984,"raw_latitude":100020688,"longitude_deg":76.3049984,"latitude_deg":10.0020688,"altitude":14,"angle":282,"satellites":45,"speed":9,"hex_longitude":"2d7b3800","hex_latitude":"05f631d0","is_valid_coordinates":true} 
[2026-09-05 20:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886670848001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399901849425018880,"note":"Value kept but may cause issues"} 
[2026-09-05 20:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880042959617261568,"note":"Value kept but may cause issues"} 
[2026-09-05 20:23:06] 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-09-05 20:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788619813000,"timestamp_ms":1788619813000,"timestamp_seconds":1788619813,"priority":1,"record_length":96,"hex_timestamp":"000001a0720c7088"} 
[2026-09-05 20:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 20:23: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-09-05 20:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886670848001,"66":27343,"163":206,"87":12800,"24":9,"16":399901849425018880,"45":8880042959617261568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-05 20:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886670848001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:23:06] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:23:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399901849425018880,"km_value":399901849425018.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880042959617261568,"description":"Unknown IO ID 45"} 
[2026-09-05 20:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886670848001,"power":27343,"unknown_163":206,"unknown_87":12800,"ignition":9,"odometer":null,"unknown_45":8880042959617261568}} 
[2026-09-05 20:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":172158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:23:06] local.INFO: GPS data processed {"connection_id":172158,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:23:06] local.INFO: Acknowledgment sent {"connection_id":172158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:23:11] local.INFO: TCP Data received {"connection_id":172158,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0720c7858012d7b360005f631f0000d010b2d..."} 
[2026-09-05 20:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0720c7858012d7b360005f631f0000d010b2d..."} 
[2026-09-05 20:23:11] local.INFO: Processing buffer {"connection_id":172158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0720c7858012d7b360005f631f0000d010b2d..."} 
[2026-09-05 20:23:11] local.INFO: Packet analysis {"connection_id":172158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0720c"} 
[2026-09-05 20:23:11] local.INFO: Extracted packet for processing {"connection_id":172158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0720c"} 
[2026-09-05 20:23:11] local.INFO: GPS Element Parsed {"raw_longitude":763049472,"raw_latitude":100020720,"longitude_deg":76.3049472,"latitude_deg":10.002072,"altitude":13,"angle":267,"satellites":45,"speed":11,"hex_longitude":"2d7b3600","hex_latitude":"05f631f0","is_valid_coordinates":true} 
[2026-09-05 20:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886672128001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399901875194822656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878846690966228992,"note":"Value kept but may cause issues"} 
[2026-09-05 20:23:11] 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-09-05 20:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788619815000,"timestamp_ms":1788619815000,"timestamp_seconds":1788619815,"priority":1,"record_length":96,"hex_timestamp":"000001a0720c7858"} 
[2026-09-05 20:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 20:23: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-09-05 20:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":172158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":172158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":172158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886672128001,"66":27343,"163":206,"87":12800,"24":11,"16":399901875194822656,"45":8878846690966228992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-05 20:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886672128001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:23:11] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:23:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399901875194822656,"km_value":399901875194822.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878846690966228992,"description":"Unknown IO ID 45"} 
[2026-09-05 20:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886672128001,"power":27343,"unknown_163":206,"unknown_87":12800,"ignition":11,"odometer":null,"unknown_45":8878846690966228992}} 
[2026-09-05 20:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":172158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:23:11] local.INFO: GPS data processed {"connection_id":172158,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:23:11] local.INFO: Acknowledgment sent {"connection_id":172158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:23:44] local.INFO: TCP Data received {"connection_id":174601,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:23:44] local.INFO: Processing buffer {"connection_id":174601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:23:44] local.INFO: IMEI packet received {"connection_id":174601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":174601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:23:49] local.INFO: TCP Data received {"connection_id":174601,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:23:49] local.INFO: Processing buffer {"connection_id":174601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:23:49] local.INFO: IMEI packet received {"connection_id":174601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":174601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:23:50] local.INFO: TCP Data received {"connection_id":174601,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0720bd060012d196500071ff128003e014529..."} 
[2026-09-05 20:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0720bd060012d196500071ff128003e014529..."} 
[2026-09-05 20:23:50] local.INFO: Processing buffer {"connection_id":174601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0720bd060012d196500071ff128003e014529..."} 
[2026-09-05 20:23:50] local.INFO: Packet analysis {"connection_id":174601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0720b"} 
[2026-09-05 20:23:50] local.INFO: Extracted packet for processing {"connection_id":174601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0720b"} 
[2026-09-05 20:23:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886583296001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429182976,"note":"Value kept but may cause issues"} 
[2026-09-05 20:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788619772000,"timestamp_ms":1788619772000,"timestamp_seconds":1788619772,"priority":1,"record_length":96,"hex_timestamp":"000001a0720bd060"} 
[2026-09-05 20:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-05 20:23:50] 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-09-05 20:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886583296001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1830079960429182976},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886583296001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:23:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:23:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429182976,"description":"Unknown IO ID 45"} 
[2026-09-05 20:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886583296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429182976}} 
[2026-09-05 20:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":174601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:23:50] local.INFO: GPS data processed {"connection_id":174601,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:23:50] local.INFO: Acknowledgment sent {"connection_id":174601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:23:55] local.INFO: TCP Data received {"connection_id":172159,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:23:55] local.INFO: Processing buffer {"connection_id":172159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:23:55] local.INFO: IMEI packet received {"connection_id":172159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":172159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:23:57] local.INFO: TCP Data received {"connection_id":172159,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:23:57] local.INFO: Processing buffer {"connection_id":172159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:23:57] local.INFO: IMEI packet received {"connection_id":172159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":172159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:23:58] local.INFO: TCP Data received {"connection_id":172159,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0720c9f68012d7b2ac005f63078000900f52f..."} 
[2026-09-05 20:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0720c9f68012d7b2ac005f63078000900f52f..."} 
[2026-09-05 20:23:58] local.INFO: Processing buffer {"connection_id":172159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0720c9f68012d7b2ac005f63078000900f52f..."} 
[2026-09-05 20:23:58] local.INFO: Packet analysis {"connection_id":172159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0720c"} 
[2026-09-05 20:23:58] local.INFO: Extracted packet for processing {"connection_id":172159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0720c"} 
[2026-09-05 20:23:58] local.INFO: GPS Element Parsed {"raw_longitude":763046592,"raw_latitude":100020344,"longitude_deg":76.3046592,"latitude_deg":10.0020344,"altitude":9,"angle":245,"satellites":47,"speed":9,"hex_longitude":"2d7b2ac0","hex_latitude":"05f63078","is_valid_coordinates":true} 
[2026-09-05 20:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886672640001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399902016928743424,"note":"Value kept but may cause issues"} 
[2026-09-05 20:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878283741012815872,"note":"Value kept but may cause issues"} 
[2026-09-05 20:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788619825000,"timestamp_ms":1788619825000,"timestamp_seconds":1788619825,"priority":1,"record_length":96,"hex_timestamp":"000001a0720c9f68"} 
[2026-09-05 20:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 20:23: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-09-05 20:23:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886672640001,"66":27571,"32":206,"87":12800,"24":9,"16":399902016928743424,"45":8878283741012815872},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,87,24,16,45]} 
[2026-09-05 20:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886672640001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:23:58] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-05 20:23:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399902016928743424,"km_value":399902016928743.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878283741012815872,"description":"Unknown IO ID 45"} 
[2026-09-05 20:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886672640001,"power":27571,"unknown_32":206,"unknown_87":12800,"ignition":9,"odometer":null,"unknown_45":8878283741012815872}} 
[2026-09-05 20:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":172159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:23:58] local.INFO: GPS data processed {"connection_id":172159,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:23:58] local.INFO: Acknowledgment sent {"connection_id":172159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:24:21] local.INFO: TCP Data received {"connection_id":174601,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0720bd060012d196500071ff128003e014529..."} 
[2026-09-05 20:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0720bd060012d196500071ff128003e014529..."} 
[2026-09-05 20:24:21] local.INFO: Processing buffer {"connection_id":174601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0720bd060012d196500071ff128003e014529..."} 
[2026-09-05 20:24:21] local.INFO: Packet analysis {"connection_id":174601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0720b"} 
[2026-09-05 20:24:21] local.INFO: Extracted packet for processing {"connection_id":174601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0720b"} 
[2026-09-05 20:24:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886583296001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:24:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429182976,"note":"Value kept but may cause issues"} 
[2026-09-05 20:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788619772000,"timestamp_ms":1788619772000,"timestamp_seconds":1788619772,"priority":1,"record_length":96,"hex_timestamp":"000001a0720bd060"} 
[2026-09-05 20:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:24:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-05 20:24:21] 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-09-05 20:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:24:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886583296001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1830079960429182976},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886583296001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:24:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:24:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:24:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429182976,"description":"Unknown IO ID 45"} 
[2026-09-05 20:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886583296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429182976}} 
[2026-09-05 20:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":174601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:24:21] local.INFO: GPS data processed {"connection_id":174601,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:24:21] local.INFO: Acknowledgment sent {"connection_id":174601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:24:30] local.INFO: TCP Data received {"connection_id":172159,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0720ca350012d7b29c005f62f90000900e22d..."} 
[2026-09-05 20:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0720ca350012d7b29c005f62f90000900e22d..."} 
[2026-09-05 20:24:30] local.INFO: Processing buffer {"connection_id":172159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0720ca350012d7b29c005f62f90000900e22d..."} 
[2026-09-05 20:24:30] local.INFO: Packet analysis {"connection_id":172159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0720c"} 
[2026-09-05 20:24:30] local.INFO: Extracted packet for processing {"connection_id":172159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0720c"} 
[2026-09-05 20:24:30] local.INFO: GPS Element Parsed {"raw_longitude":763046336,"raw_latitude":100020112,"longitude_deg":76.3046336,"latitude_deg":10.0020112,"altitude":9,"angle":226,"satellites":45,"speed":11,"hex_longitude":"2d7b29c0","hex_latitude":"05f62f90","is_valid_coordinates":true} 
[2026-09-05 20:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886675200001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399902034108612608,"note":"Value kept but may cause issues"} 
[2026-09-05 20:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875117147524724736,"note":"Value kept but may cause issues"} 
[2026-09-05 20:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788619826000,"timestamp_ms":1788619826000,"timestamp_seconds":1788619826,"priority":1,"record_length":96,"hex_timestamp":"000001a0720ca350"} 
[2026-09-05 20:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:24:30] 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-09-05 20:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-05 20:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:24:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886675200001,"66":27397,"32":206,"87":12800,"24":11,"16":399902034108612608,"45":8875117147524724736},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,87,24,16,45]} 
[2026-09-05 20:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886675200001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:24:30] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-05 20:24:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399902034108612608,"km_value":399902034108612.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875117147524724736,"description":"Unknown IO ID 45"} 
[2026-09-05 20:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886675200001,"power":27397,"unknown_32":206,"unknown_87":12800,"ignition":11,"odometer":null,"unknown_45":8875117147524724736}} 
[2026-09-05 20:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":172159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:24:30] local.INFO: GPS data processed {"connection_id":172159,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:24:30] local.INFO: Acknowledgment sent {"connection_id":172159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:24:44] local.INFO: TCP Data received {"connection_id":171901,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:24:44] local.INFO: Processing buffer {"connection_id":171901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:24:44] local.INFO: IMEI packet received {"connection_id":171901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":171901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:24:49] local.INFO: TCP Data received {"connection_id":171901,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:24:49] local.INFO: Processing buffer {"connection_id":171901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:24:49] local.INFO: IMEI packet received {"connection_id":171901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":171901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:24:50] local.INFO: TCP Data received {"connection_id":171901,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0720bd060012d196500071ff128003e014529..."} 
[2026-09-05 20:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0720bd060012d196500071ff128003e014529..."} 
[2026-09-05 20:24:50] local.INFO: Processing buffer {"connection_id":171901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0720bd060012d196500071ff128003e014529..."} 
[2026-09-05 20:24:50] local.INFO: Packet analysis {"connection_id":171901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0720b"} 
[2026-09-05 20:24:50] local.INFO: Extracted packet for processing {"connection_id":171901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0720b"} 
[2026-09-05 20:24:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886583296001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429182976,"note":"Value kept but may cause issues"} 
[2026-09-05 20:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788619772000,"timestamp_ms":1788619772000,"timestamp_seconds":1788619772,"priority":1,"record_length":96,"hex_timestamp":"000001a0720bd060"} 
[2026-09-05 20:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-05 20:24:50] 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-09-05 20:24:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886583296001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1830079960429182976},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886583296001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:24:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:24:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429182976,"description":"Unknown IO ID 45"} 
[2026-09-05 20:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886583296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429182976}} 
[2026-09-05 20:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":171901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:24:50] local.INFO: GPS data processed {"connection_id":171901,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:24:50] local.INFO: Acknowledgment sent {"connection_id":171901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:24:55] local.INFO: TCP Data received {"connection_id":173280,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:24:55] local.INFO: Processing buffer {"connection_id":173280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:24:55] local.INFO: IMEI packet received {"connection_id":173280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":173280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:24:57] local.INFO: TCP Data received {"connection_id":173280,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:24:57] local.INFO: Processing buffer {"connection_id":173280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:24:57] local.INFO: IMEI packet received {"connection_id":173280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":173280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:24:58] local.INFO: TCP Data received {"connection_id":173280,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0720f9920012d7a844005f60a90000800ff2d..."} 
[2026-09-05 20:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0720f9920012d7a844005f60a90000800ff2d..."} 
[2026-09-05 20:24:58] local.INFO: Processing buffer {"connection_id":173280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0720f9920012d7a844005f60a90000800ff2d..."} 
[2026-09-05 20:24:58] local.INFO: Packet analysis {"connection_id":173280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0720f"} 
[2026-09-05 20:24:58] local.INFO: Extracted packet for processing {"connection_id":173280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0720f"} 
[2026-09-05 20:24:58] local.INFO: GPS Element Parsed {"raw_longitude":763003968,"raw_latitude":100010640,"longitude_deg":76.3003968,"latitude_deg":10.001064,"altitude":8,"angle":255,"satellites":45,"speed":3,"hex_longitude":"2d7a8440","hex_latitude":"05f60a90","is_valid_coordinates":true} 
[2026-09-05 20:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886719744001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399904134347620352,"note":"Value kept but may cause issues"} 
[2026-09-05 20:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118025666772992,"note":"Value kept but may cause issues"} 
[2026-09-05 20:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788620020000,"timestamp_ms":1788620020000,"timestamp_seconds":1788620020,"priority":1,"record_length":96,"hex_timestamp":"000001a0720f9920"} 
[2026-09-05 20:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:24:58] 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-09-05 20:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-05 20:24: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-09-05 20:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886719744001,"66":27397,"34":206,"87":12800,"24":3,"16":399904134347620352,"45":8837118025666772992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,87,24,16,45]} 
[2026-09-05 20:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886719744001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:24:58] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-05 20:24:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399904134347620352,"km_value":399904134347620.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118025666772992,"description":"Unknown IO ID 45"} 
[2026-09-05 20:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886719744001,"power":27397,"unknown_34":206,"unknown_87":12800,"ignition":3,"odometer":null,"unknown_45":8837118025666772992}} 
[2026-09-05 20:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":173280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:24:58] local.INFO: GPS data processed {"connection_id":173280,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:24:58] local.INFO: Acknowledgment sent {"connection_id":173280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:25:21] local.INFO: TCP Data received {"connection_id":171901,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a072106828012d196500071ff128003e014529..."} 
[2026-09-05 20:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072106828012d196500071ff128003e014529..."} 
[2026-09-05 20:25:21] local.INFO: Processing buffer {"connection_id":171901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072106828012d196500071ff128003e014529..."} 
[2026-09-05 20:25:21] local.INFO: Packet analysis {"connection_id":171901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07210"} 
[2026-09-05 20:25:21] local.INFO: Extracted packet for processing {"connection_id":171901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07210"} 
[2026-09-05 20:25:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886661632001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788620073000,"timestamp_ms":1788620073000,"timestamp_seconds":1788620073,"priority":1,"record_length":96,"hex_timestamp":"000001a072106828"} 
[2026-09-05 20:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:25:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886661632001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886661632001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:25:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:25:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886661632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":171901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:25:21] local.INFO: GPS data processed {"connection_id":171901,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:25:21] local.INFO: Acknowledgment sent {"connection_id":171901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:25:30] local.INFO: TCP Data received {"connection_id":173280,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0720fdf70012d7a7f8005f60898000700f32f..."} 
[2026-09-05 20:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0720fdf70012d7a7f8005f60898000700f32f..."} 
[2026-09-05 20:25:30] local.INFO: Processing buffer {"connection_id":173280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0720fdf70012d7a7f8005f60898000700f32f..."} 
[2026-09-05 20:25:30] local.INFO: Packet analysis {"connection_id":173280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0720f"} 
[2026-09-05 20:25:30] local.INFO: Extracted packet for processing {"connection_id":173280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0720f"} 
[2026-09-05 20:25:30] local.INFO: GPS Element Parsed {"raw_longitude":763002752,"raw_latitude":100010136,"longitude_deg":76.3002752,"latitude_deg":10.0010136,"altitude":7,"angle":243,"satellites":47,"speed":8,"hex_longitude":"2d7a7f80","hex_latitude":"05f60898","is_valid_coordinates":true} 
[2026-09-05 20:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886725120001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399904198772129792,"note":"Value kept but may cause issues"} 
[2026-09-05 20:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8828251563899916288,"note":"Value kept but may cause issues"} 
[2026-09-05 20:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788620038000,"timestamp_ms":1788620038000,"timestamp_seconds":1788620038,"priority":1,"record_length":96,"hex_timestamp":"000001a0720fdf70"} 
[2026-09-05 20:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:25:30] 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-09-05 20:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-05 20:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:25:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":173280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":173280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":173280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886725120001,"66":27213,"34":206,"87":12800,"24":8,"16":399904198772129792,"45":8828251563899916288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,87,24,16,45]} 
[2026-09-05 20:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886725120001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:25:30] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-05 20:25:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-09-05 20:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399904198772129792,"km_value":399904198772129.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8828251563899916288,"description":"Unknown IO ID 45"} 
[2026-09-05 20:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886725120001,"power":27213,"unknown_34":206,"unknown_87":12800,"ignition":8,"odometer":null,"unknown_45":8828251563899916288}} 
[2026-09-05 20:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":173280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:25:30] local.INFO: GPS data processed {"connection_id":173280,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:25:30] local.INFO: Acknowledgment sent {"connection_id":173280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:25:44] local.INFO: TCP Data received {"connection_id":173281,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:25:44] local.INFO: Processing buffer {"connection_id":173281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:25:44] local.INFO: IMEI packet received {"connection_id":173281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":173281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:25:49] local.INFO: TCP Data received {"connection_id":173281,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:25:49] local.INFO: Processing buffer {"connection_id":173281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:25:49] local.INFO: IMEI packet received {"connection_id":173281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":173281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:25:50] local.INFO: TCP Data received {"connection_id":173281,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072106828012d196500071ff128003e014529..."} 
[2026-09-05 20:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072106828012d196500071ff128003e014529..."} 
[2026-09-05 20:25:50] local.INFO: Processing buffer {"connection_id":173281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072106828012d196500071ff128003e014529..."} 
[2026-09-05 20:25:50] local.INFO: Packet analysis {"connection_id":173281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07210"} 
[2026-09-05 20:25:50] local.INFO: Extracted packet for processing {"connection_id":173281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07210"} 
[2026-09-05 20:25:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886661632001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788620073000,"timestamp_ms":1788620073000,"timestamp_seconds":1788620073,"priority":1,"record_length":96,"hex_timestamp":"000001a072106828"} 
[2026-09-05 20:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:25:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:25:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:25:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886661632001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886661632001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:25:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:25:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886661632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":173281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:25:50] local.INFO: GPS data processed {"connection_id":173281,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:25:50] local.INFO: Acknowledgment sent {"connection_id":173281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:25:55] local.INFO: TCP Data received {"connection_id":172160,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:25:55] local.INFO: Processing buffer {"connection_id":172160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:25:55] local.INFO: IMEI packet received {"connection_id":172160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":172160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:25:55] local.INFO: TCP Data received {"connection_id":172160,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:25:55] local.INFO: Processing buffer {"connection_id":172160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:25:55] local.INFO: IMEI packet received {"connection_id":172160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":172160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:26:00] local.INFO: TCP Data received {"connection_id":172160,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:26:00] local.INFO: Processing buffer {"connection_id":172160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:26:00] local.INFO: IMEI packet received {"connection_id":172160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":172160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:26:01] local.INFO: TCP Data received {"connection_id":172160,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072103178012d7a680005f5fbc0000700ee2e..."} 
[2026-09-05 20:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072103178012d7a680005f5fbc0000700ee2e..."} 
[2026-09-05 20:26:01] local.INFO: Processing buffer {"connection_id":172160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072103178012d7a680005f5fbc0000700ee2e..."} 
[2026-09-05 20:26:01] local.INFO: Packet analysis {"connection_id":172160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07210"} 
[2026-09-05 20:26:01] local.INFO: Extracted packet for processing {"connection_id":172160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07210"} 
[2026-09-05 20:26:01] local.INFO: GPS Element Parsed {"raw_longitude":762996736,"raw_latitude":100006848,"longitude_deg":76.2996736,"latitude_deg":10.0006848,"altitude":7,"angle":238,"satellites":46,"speed":18,"hex_longitude":"2d7a6800","hex_latitude":"05f5fbc0","is_valid_coordinates":true} 
[2026-09-05 20:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886729728001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399904529484611584,"note":"Value kept but may cause issues"} 
[2026-09-05 20:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826914557760411648,"note":"Value kept but may cause issues"} 
[2026-09-05 20:26:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788620059000,"timestamp_ms":1788620059000,"timestamp_seconds":1788620059,"priority":1,"record_length":96,"hex_timestamp":"000001a072103178"} 
[2026-09-05 20:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-05 20:26:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886729728001,"66":27321,"22":206,"87":13568,"24":18,"16":399904529484611584,"45":8826914557760411648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,87,24,16,45]} 
[2026-09-05 20:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886729728001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:26:01] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-09-05 20:26:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-05 20:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399904529484611584,"km_value":399904529484611.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826914557760411648,"description":"Unknown IO ID 45"} 
[2026-09-05 20:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886729728001,"power":27321,"unknown_22":206,"unknown_87":13568,"ignition":18,"odometer":null,"unknown_45":8826914557760411648}} 
[2026-09-05 20:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":172160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:26:01] local.INFO: GPS data processed {"connection_id":172160,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:26:01] local.INFO: Acknowledgment sent {"connection_id":172160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:26:21] local.INFO: TCP Data received {"connection_id":173281,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072106828012d196500071ff128003e014529..."} 
[2026-09-05 20:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072106828012d196500071ff128003e014529..."} 
[2026-09-05 20:26:21] local.INFO: Processing buffer {"connection_id":173281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072106828012d196500071ff128003e014529..."} 
[2026-09-05 20:26:21] local.INFO: Packet analysis {"connection_id":173281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07210"} 
[2026-09-05 20:26:21] local.INFO: Extracted packet for processing {"connection_id":173281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07210"} 
[2026-09-05 20:26:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886661632001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788620073000,"timestamp_ms":1788620073000,"timestamp_seconds":1788620073,"priority":1,"record_length":96,"hex_timestamp":"000001a072106828"} 
[2026-09-05 20:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886661632001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886661632001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:26:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:26:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886661632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":173281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:26:21] local.INFO: GPS data processed {"connection_id":173281,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:26:21] local.INFO: Acknowledgment sent {"connection_id":173281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:26:32] local.INFO: TCP Data received {"connection_id":172160,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072106c10012d7a49c005f5e7a0000600ea19..."} 
[2026-09-05 20:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072106c10012d7a49c005f5e7a0000600ea19..."} 
[2026-09-05 20:26:32] local.INFO: Processing buffer {"connection_id":172160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072106c10012d7a49c005f5e7a0000600ea19..."} 
[2026-09-05 20:26:32] local.INFO: Packet analysis {"connection_id":172160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07210"} 
[2026-09-05 20:26:32] local.INFO: Extracted packet for processing {"connection_id":172160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07210"} 
[2026-09-05 20:26:32] local.INFO: GPS Element Parsed {"raw_longitude":762988992,"raw_latitude":100001696,"longitude_deg":76.2988992,"latitude_deg":10.0001696,"altitude":6,"angle":234,"satellites":25,"speed":24,"hex_longitude":"2d7a49c0","hex_latitude":"05f5e7a0","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886735104001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399904976161210368,"note":"Value kept but may cause issues"} 
[2026-09-05 20:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820299895806869504,"note":"Value kept but may cause issues"} 
[2026-09-05 20:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788620074000,"timestamp_ms":1788620074000,"timestamp_seconds":1788620074,"priority":1,"record_length":96,"hex_timestamp":"000001a072106c10"} 
[2026-09-05 20:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:26: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-09-05 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 20:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20: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-09-05 20:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886735104001,"66":27321,"22":206,"87":13568,"24":24,"16":399904976161210368,"45":8820299895806869504},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,87,24,16,45]} 
[2026-09-05 20:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886735104001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:26:32] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-09-05 20:26:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-05 20:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399904976161210368,"km_value":399904976161210.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820299895806869504,"description":"Unknown IO ID 45"} 
[2026-09-05 20:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886735104001,"power":27321,"unknown_22":206,"unknown_87":13568,"ignition":24,"odometer":null,"unknown_45":8820299895806869504}} 
[2026-09-05 20:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":172160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:26:32] local.INFO: GPS data processed {"connection_id":172160,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:26:32] local.INFO: Acknowledgment sent {"connection_id":172160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:26:49] local.INFO: TCP Data received {"connection_id":172161,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:26:49] local.INFO: Processing buffer {"connection_id":172161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:26:49] local.INFO: IMEI packet received {"connection_id":172161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":172161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:26:53] local.INFO: TCP Data received {"connection_id":173282,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:26:53] local.INFO: Processing buffer {"connection_id":173282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:26:53] local.INFO: IMEI packet received {"connection_id":173282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":173282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:26:54] local.INFO: TCP Data received {"connection_id":172161,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:26:54] local.INFO: Processing buffer {"connection_id":172161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:26:54] local.INFO: IMEI packet received {"connection_id":172161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":172161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:26:55] local.INFO: TCP Data received {"connection_id":172161,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a072106828012d196500071ff128003e014529..."} 
[2026-09-05 20:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072106828012d196500071ff128003e014529..."} 
[2026-09-05 20:26:55] local.INFO: Processing buffer {"connection_id":172161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072106828012d196500071ff128003e014529..."} 
[2026-09-05 20:26:55] local.INFO: Packet analysis {"connection_id":172161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07210"} 
[2026-09-05 20:26:55] local.INFO: Extracted packet for processing {"connection_id":172161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07210"} 
[2026-09-05 20:26:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886661632001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788620073000,"timestamp_ms":1788620073000,"timestamp_seconds":1788620073,"priority":1,"record_length":96,"hex_timestamp":"000001a072106828"} 
[2026-09-05 20:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886661632001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886661632001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:26:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:26:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886661632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":172161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:26:55] local.INFO: GPS data processed {"connection_id":172161,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:26:55] local.INFO: Acknowledgment sent {"connection_id":172161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:26:55] local.INFO: TCP Data received {"connection_id":173282,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:26:55] local.INFO: Processing buffer {"connection_id":173282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:26:55] local.INFO: IMEI packet received {"connection_id":173282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":173282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:26:59] local.INFO: TCP Data received {"connection_id":172161,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a072106828012d196500071ff128003e014529..."} 
[2026-09-05 20:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072106828012d196500071ff128003e014529..."} 
[2026-09-05 20:26:59] local.INFO: Processing buffer {"connection_id":172161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072106828012d196500071ff128003e014529..."} 
[2026-09-05 20:26:59] local.INFO: Packet analysis {"connection_id":172161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07210"} 
[2026-09-05 20:26:59] local.INFO: Extracted packet for processing {"connection_id":172161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07210"} 
[2026-09-05 20:26:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886661632001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788620073000,"timestamp_ms":1788620073000,"timestamp_seconds":1788620073,"priority":1,"record_length":96,"hex_timestamp":"000001a072106828"} 
[2026-09-05 20:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886661632001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886661632001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:26:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:26:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886661632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":172161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:26:59] local.INFO: GPS data processed {"connection_id":172161,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:26:59] local.INFO: Acknowledgment sent {"connection_id":172161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:27:00] local.INFO: TCP Data received {"connection_id":173282,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:27:00] local.INFO: Processing buffer {"connection_id":173282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:27:00] local.INFO: IMEI packet received {"connection_id":173282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":173282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:27:02] local.INFO: TCP Data received {"connection_id":173282,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07210c200012d7a368005f5dc78000500ee24..."} 
[2026-09-05 20:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07210c200012d7a368005f5dc78000500ee24..."} 
[2026-09-05 20:27:02] local.INFO: Processing buffer {"connection_id":173282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07210c200012d7a368005f5dc78000500ee24..."} 
[2026-09-05 20:27:02] local.INFO: Packet analysis {"connection_id":173282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07210"} 
[2026-09-05 20:27:02] local.INFO: Extracted packet for processing {"connection_id":173282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07210"} 
[2026-09-05 20:27:02] local.INFO: GPS Element Parsed {"raw_longitude":762984064,"raw_latitude":99998840,"longitude_deg":76.2984064,"latitude_deg":9.999884,"altitude":5,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2d7a3680","hex_latitude":"05f5dc78","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886738944001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399905074945458176,"note":"Value kept but may cause issues"} 
[2026-09-05 20:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8811785277760053248,"note":"Value kept but may cause issues"} 
[2026-09-05 20:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788620096000,"timestamp_ms":1788620096000,"timestamp_seconds":1788620096,"priority":1,"record_length":96,"hex_timestamp":"000001a07210c200"} 
[2026-09-05 20:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:27:02] 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-09-05 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 20:27: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-09-05 20: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-09-05 20:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886738944001,"66":27310,"22":206,"87":13568,"24":0,"16":399905074945458176,"45":8811785277760053248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,87,24,16,45]} 
[2026-09-05 20:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886738944001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:27:02] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-09-05 20:27:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-05 20:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399905074945458176,"km_value":399905074945458.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8811785277760053248,"description":"Unknown IO ID 45"} 
[2026-09-05 20:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886738944001,"power":27310,"unknown_22":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8811785277760053248}} 
[2026-09-05 20:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":173282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:27:02] local.INFO: GPS data processed {"connection_id":173282,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:27:02] local.INFO: Acknowledgment sent {"connection_id":173282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:27:33] local.INFO: TCP Data received {"connection_id":173282,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072111020012d7a1c0005f5ca18000300e829..."} 
[2026-09-05 20:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072111020012d7a1c0005f5ca18000300e829..."} 
[2026-09-05 20:27:33] local.INFO: Processing buffer {"connection_id":173282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072111020012d7a1c0005f5ca18000300e829..."} 
[2026-09-05 20:27:33] local.INFO: Packet analysis {"connection_id":173282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07211"} 
[2026-09-05 20:27:33] local.INFO: Extracted packet for processing {"connection_id":173282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07211"} 
[2026-09-05 20:27:33] local.INFO: GPS Element Parsed {"raw_longitude":762977280,"raw_latitude":99994136,"longitude_deg":76.297728,"latitude_deg":9.9994136,"altitude":3,"angle":232,"satellites":41,"speed":31,"hex_longitude":"2d7a1c00","hex_latitude":"05f5ca18","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886744576001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399905474377416704,"note":"Value kept but may cause issues"} 
[2026-09-05 20:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8806366884457641984,"note":"Value kept but may cause issues"} 
[2026-09-05 20:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788620116000,"timestamp_ms":1788620116000,"timestamp_seconds":1788620116,"priority":1,"record_length":96,"hex_timestamp":"000001a072111020"} 
[2026-09-05 20:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:27: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-09-05 20: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":174,"data_length":795,"current_offset":136} 
[2026-09-05 20:27: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-09-05 20: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-09-05 20:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886744576001,"66":27234,"22":206,"87":13568,"24":31,"16":399905474377416704,"45":8806366884457641984},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,87,24,16,45]} 
[2026-09-05 20:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886744576001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:27:33] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-09-05 20:27:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-05 20:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399905474377416704,"km_value":399905474377416.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8806366884457641984,"description":"Unknown IO ID 45"} 
[2026-09-05 20:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886744576001,"power":27234,"unknown_22":206,"unknown_87":13568,"ignition":31,"odometer":null,"unknown_45":8806366884457641984}} 
[2026-09-05 20:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":173282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:27:33] local.INFO: GPS data processed {"connection_id":173282,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:27:33] local.INFO: Acknowledgment sent {"connection_id":173282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:27:44] local.INFO: TCP Data received {"connection_id":172162,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:27:44] local.INFO: Processing buffer {"connection_id":172162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:27:44] local.INFO: IMEI packet received {"connection_id":172162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":172162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:27:49] local.INFO: TCP Data received {"connection_id":172162,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:27:49] local.INFO: Processing buffer {"connection_id":172162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:27:49] local.INFO: IMEI packet received {"connection_id":172162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":172162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:27:50] local.INFO: TCP Data received {"connection_id":172162,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a072106828012d196500071ff128003e014529..."} 
[2026-09-05 20:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072106828012d196500071ff128003e014529..."} 
[2026-09-05 20:27:50] local.INFO: Processing buffer {"connection_id":172162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072106828012d196500071ff128003e014529..."} 
[2026-09-05 20:27:50] local.INFO: Packet analysis {"connection_id":172162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07210"} 
[2026-09-05 20:27:50] local.INFO: Extracted packet for processing {"connection_id":172162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07210"} 
[2026-09-05 20:27:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886661632001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:27:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:27:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788620073000,"timestamp_ms":1788620073000,"timestamp_seconds":1788620073,"priority":1,"record_length":96,"hex_timestamp":"000001a072106828"} 
[2026-09-05 20:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:27:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:27:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:27:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:27:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886661632001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886661632001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:27:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:27:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:27:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:27:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886661632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:27:50] local.INFO: DEBUG: GPS processor result {"connection_id":172162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:27:50] local.INFO: GPS data processed {"connection_id":172162,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:27:50] local.INFO: Acknowledgment sent {"connection_id":172162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:27:51] local.INFO: TCP Data received {"connection_id":174602,"ip":"117.225.254.193","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174602,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:27:51] local.INFO: Processing buffer {"connection_id":174602,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:27:51] local.INFO: IMEI packet received {"connection_id":174602,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 20:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":174602,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:27:54] local.INFO: TCP Data received {"connection_id":172162,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a072106828012d196500071ff128003e014529..."} 
[2026-09-05 20:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072106828012d196500071ff128003e014529..."} 
[2026-09-05 20:27:54] local.INFO: Processing buffer {"connection_id":172162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072106828012d196500071ff128003e014529..."} 
[2026-09-05 20:27:54] local.INFO: Packet analysis {"connection_id":172162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07210"} 
[2026-09-05 20:27:54] local.INFO: Extracted packet for processing {"connection_id":172162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07210"} 
[2026-09-05 20:27:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886661632001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788620073000,"timestamp_ms":1788620073000,"timestamp_seconds":1788620073,"priority":1,"record_length":96,"hex_timestamp":"000001a072106828"} 
[2026-09-05 20:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886661632001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886661632001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:27:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:27:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886661632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":172162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:27:54] local.INFO: GPS data processed {"connection_id":172162,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:27:54] local.INFO: Acknowledgment sent {"connection_id":172162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:27:55] local.INFO: TCP Data received {"connection_id":173283,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:27:55] local.INFO: Processing buffer {"connection_id":173283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:27:55] local.INFO: IMEI packet received {"connection_id":173283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":173283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:27:56] local.INFO: TCP Data received {"connection_id":173283,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:27:56] local.INFO: Processing buffer {"connection_id":173283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:27:56] local.INFO: IMEI packet received {"connection_id":173283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":173283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:27:56] local.INFO: TCP Data received {"connection_id":174602,"ip":"117.225.254.193","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174602,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:27:56] local.INFO: Processing buffer {"connection_id":174602,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:27:56] local.INFO: IMEI packet received {"connection_id":174602,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 20:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":174602,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:27:57] local.INFO: TCP Data received {"connection_id":174602,"ip":"117.225.254.193","data_length":795,"data_hex":"000000000000030f8e0a000001a07211cf88012c75340008d22420003100302b..."} 
[2026-09-05 20:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07211cf88012c75340008d22420003100302b..."} 
[2026-09-05 20:27:57] local.INFO: Processing buffer {"connection_id":174602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07211cf88012c75340008d22420003100302b..."} 
[2026-09-05 20:27:57] local.INFO: Packet analysis {"connection_id":174602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07211"} 
[2026-09-05 20:27:57] local.INFO: Extracted packet for processing {"connection_id":174602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07211"} 
[2026-09-05 20:27:57] local.INFO: GPS Element Parsed {"raw_longitude":745878528,"raw_latitude":147989536,"longitude_deg":74.5878528,"latitude_deg":14.7989536,"altitude":49,"angle":48,"satellites":43,"speed":37,"hex_longitude":"2c753400","hex_latitude":"08d22420","is_valid_coordinates":true} 
[2026-09-05 20:27: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-09-05 20:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886760704001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1706742694019072,"note":"Value kept but may cause issues"} 
[2026-09-05 20:27:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8441012376971661312,"note":"Value kept but may cause issues"} 
[2026-09-05 20:27:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788620165000,"timestamp_ms":1788620165000,"timestamp_seconds":1788620165,"priority":1,"record_length":96,"hex_timestamp":"000001a07211cf88"} 
[2026-09-05 20:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:27:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-05 20:27:57] 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-09-05 20:27: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-09-05 20:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174602,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 20:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174602,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 20:27:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.254.193","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 20:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 20:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886760704001,"66":27484,"27":206,"9":55808,"24":37,"16":1706742694019072,"44":8441012376971661312},"client_ip":"117.225.254.193","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,9,24,16,44]} 
[2026-09-05 20:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 20:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 20:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886760704001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:27:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-05 20:27:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 20:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1706742694019072,"km_value":1706742694019.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:27:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":8441012376971661312,"description":"Unknown IO ID 44"} 
[2026-09-05 20:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886760704001,"power":27484,"unknown_27":206,"unknown_9":55808,"ignition":37,"odometer":null,"unknown_44":8441012376971661312}} 
[2026-09-05 20:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":174602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771131,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:27:57] local.INFO: GPS data processed {"connection_id":174602,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:27:57] local.INFO: Acknowledgment sent {"connection_id":174602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:28:00] local.INFO: TCP Data received {"connection_id":173283,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:28:00] local.INFO: Processing buffer {"connection_id":173283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:28:00] local.INFO: IMEI packet received {"connection_id":173283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":173283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:28:01] local.INFO: TCP Data received {"connection_id":173283,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072114ab8012d7a010005f5b318000400e228..."} 
[2026-09-05 20:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072114ab8012d7a010005f5b318000400e228..."} 
[2026-09-05 20:28:01] local.INFO: Processing buffer {"connection_id":173283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072114ab8012d7a010005f5b318000400e228..."} 
[2026-09-05 20:28:01] local.INFO: Packet analysis {"connection_id":173283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07211"} 
[2026-09-05 20:28:01] local.INFO: Extracted packet for processing {"connection_id":173283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07211"} 
[2026-09-05 20:28:01] local.INFO: GPS Element Parsed {"raw_longitude":762970368,"raw_latitude":99988248,"longitude_deg":76.2970368,"latitude_deg":9.9988248,"altitude":4,"angle":226,"satellites":40,"speed":17,"hex_longitude":"2d7a0100","hex_latitude":"05f5b318","is_valid_coordinates":true} 
[2026-09-05 20:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886749696001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399905912464080896,"note":"Value kept but may cause issues"} 
[2026-09-05 20:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798907797573605376,"note":"Value kept but may cause issues"} 
[2026-09-05 20:28:01] 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-09-05 20:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788620131000,"timestamp_ms":1788620131000,"timestamp_seconds":1788620131,"priority":1,"record_length":96,"hex_timestamp":"000001a072114ab8"} 
[2026-09-05 20:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-05 20:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886749696001,"66":27365,"24":17,"87":13568,"16":399905912464080896,"45":8798907797573605376},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,87,16,45]} 
[2026-09-05 20:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886749696001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:28:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-05 20:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399905912464080896,"km_value":399905912464080.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798907797573605376,"description":"Unknown IO ID 45"} 
[2026-09-05 20:28:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457886749696001,"power":27365,"ignition":17,"unknown_87":13568,"odometer":null,"unknown_45":8798907797573605376}} 
[2026-09-05 20:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":173283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:28:01] local.INFO: GPS data processed {"connection_id":173283,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:28:01] local.INFO: Acknowledgment sent {"connection_id":173283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:28:25] local.INFO: TCP Data received {"connection_id":172162,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a072106828012d196500071ff128003e014529..."} 
[2026-09-05 20:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072106828012d196500071ff128003e014529..."} 
[2026-09-05 20:28:25] local.INFO: Processing buffer {"connection_id":172162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072106828012d196500071ff128003e014529..."} 
[2026-09-05 20:28:25] local.INFO: Packet analysis {"connection_id":172162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07210"} 
[2026-09-05 20:28:25] local.INFO: Extracted packet for processing {"connection_id":172162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07210"} 
[2026-09-05 20:28:25] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886661632001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788620073000,"timestamp_ms":1788620073000,"timestamp_seconds":1788620073,"priority":1,"record_length":96,"hex_timestamp":"000001a072106828"} 
[2026-09-05 20:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:28:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20: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-09-05 20:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886661632001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886661632001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:28:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:28:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886661632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":172162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:28:25] local.INFO: GPS data processed {"connection_id":172162,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:28:25] local.INFO: Acknowledgment sent {"connection_id":172162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:28:28] local.INFO: TCP Data received {"connection_id":174602,"ip":"117.225.254.193","data_length":795,"data_hex":"000000000000030f8e0a000001a07211db40012c753d0008d229e00030003e2b..."} 
[2026-09-05 20:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07211db40012c753d0008d229e00030003e2b..."} 
[2026-09-05 20:28:28] local.INFO: Processing buffer {"connection_id":174602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07211db40012c753d0008d229e00030003e2b..."} 
[2026-09-05 20:28:28] local.INFO: Packet analysis {"connection_id":174602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07211"} 
[2026-09-05 20:28:28] local.INFO: Extracted packet for processing {"connection_id":174602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07211"} 
[2026-09-05 20:28:28] local.INFO: GPS Element Parsed {"raw_longitude":745880832,"raw_latitude":147991008,"longitude_deg":74.5880832,"latitude_deg":14.7991008,"altitude":48,"angle":62,"satellites":43,"speed":34,"hex_longitude":"2c753d00","hex_latitude":"08d229e0","is_valid_coordinates":true} 
[2026-09-05 20:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886762240001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1706875838005248,"note":"Value kept but may cause issues"} 
[2026-09-05 20:28:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8445375239111843840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788620168000,"timestamp_ms":1788620168000,"timestamp_seconds":1788620168,"priority":1,"record_length":96,"hex_timestamp":"000001a07211db40"} 
[2026-09-05 20:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 20:28:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174602,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 20:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174602,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 20:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.254.193","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 20:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 20:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886762240001,"66":27713,"27":206,"9":55808,"24":34,"16":1706875838005248,"44":8445375239111843840},"client_ip":"117.225.254.193","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,9,24,16,44]} 
[2026-09-05 20:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 20:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 20:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886762240001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:28:28] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-05 20:28:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 20:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1706875838005248,"km_value":1706875838005.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:28:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":8445375239111843840,"description":"Unknown IO ID 44"} 
[2026-09-05 20:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886762240001,"power":27713,"unknown_27":206,"unknown_9":55808,"ignition":34,"odometer":null,"unknown_44":8445375239111843840}} 
[2026-09-05 20:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":174602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771134,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:28:28] local.INFO: GPS data processed {"connection_id":174602,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:28:28] local.INFO: Acknowledgment sent {"connection_id":174602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:28:32] local.INFO: TCP Data received {"connection_id":173283,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072117d80012d79e54005f59aa8000800e526..."} 
[2026-09-05 20:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072117d80012d79e54005f59aa8000800e526..."} 
[2026-09-05 20:28:32] local.INFO: Processing buffer {"connection_id":173283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072117d80012d79e54005f59aa8000800e526..."} 
[2026-09-05 20:28:32] local.INFO: Packet analysis {"connection_id":173283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07211"} 
[2026-09-05 20:28:32] local.INFO: Extracted packet for processing {"connection_id":173283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07211"} 
[2026-09-05 20:28:32] local.INFO: GPS Element Parsed {"raw_longitude":762963264,"raw_latitude":99981992,"longitude_deg":76.2963264,"latitude_deg":9.9981992,"altitude":8,"angle":229,"satellites":38,"speed":38,"hex_longitude":"2d79e540","hex_latitude":"05f59aa8","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886753536001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399906367730614272,"note":"Value kept but may cause issues"} 
[2026-09-05 20:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791307973200910336,"note":"Value kept but may cause issues"} 
[2026-09-05 20:28:32] 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-09-05 20:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788620144000,"timestamp_ms":1788620144000,"timestamp_seconds":1788620144,"priority":1,"record_length":96,"hex_timestamp":"000001a072117d80"} 
[2026-09-05 20:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:28: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-09-05 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-05 20:28: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-09-05 20: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-09-05 20:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886753536001,"66":27376,"24":38,"87":13568,"16":399906367730614272,"45":8791307973200910336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,87,16,45]} 
[2026-09-05 20:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886753536001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:28:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-05 20:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399906367730614272,"km_value":399906367730614.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791307973200910336,"description":"Unknown IO ID 45"} 
[2026-09-05 20:28:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457886753536001,"power":27376,"ignition":38,"unknown_87":13568,"odometer":null,"unknown_45":8791307973200910336}} 
[2026-09-05 20:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":173283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:28:32] local.INFO: GPS data processed {"connection_id":173283,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:28:32] local.INFO: Acknowledgment sent {"connection_id":173283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:28:44] local.INFO: TCP Data received {"connection_id":173284,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:28:44] local.INFO: Processing buffer {"connection_id":173284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:28:44] local.INFO: IMEI packet received {"connection_id":173284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":173284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:28:49] local.INFO: TCP Data received {"connection_id":173284,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:28:49] local.INFO: Processing buffer {"connection_id":173284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:28:49] local.INFO: IMEI packet received {"connection_id":173284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":173284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:28:50] local.INFO: TCP Data received {"connection_id":173284,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a072106828012d196500071ff128003e014529..."} 
[2026-09-05 20:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072106828012d196500071ff128003e014529..."} 
[2026-09-05 20:28:50] local.INFO: Processing buffer {"connection_id":173284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072106828012d196500071ff128003e014529..."} 
[2026-09-05 20:28:50] local.INFO: Packet analysis {"connection_id":173284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07210"} 
[2026-09-05 20:28:50] local.INFO: Extracted packet for processing {"connection_id":173284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07210"} 
[2026-09-05 20:28:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886661632001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788620073000,"timestamp_ms":1788620073000,"timestamp_seconds":1788620073,"priority":1,"record_length":96,"hex_timestamp":"000001a072106828"} 
[2026-09-05 20:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:28:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886661632001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886661632001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:28:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:28:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886661632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":173284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:28:50] local.INFO: GPS data processed {"connection_id":173284,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:28:50] local.INFO: Acknowledgment sent {"connection_id":173284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:28:55] local.INFO: TCP Data received {"connection_id":171902,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:28:55] local.INFO: Processing buffer {"connection_id":171902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:28:55] local.INFO: IMEI packet received {"connection_id":171902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":171902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:28:56] local.INFO: TCP Data received {"connection_id":171902,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:28:56] local.INFO: Processing buffer {"connection_id":171902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:28:56] local.INFO: IMEI packet received {"connection_id":171902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":171902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:29:00] local.INFO: TCP Data received {"connection_id":171902,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:29:00] local.INFO: Processing buffer {"connection_id":171902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:29:00] local.INFO: IMEI packet received {"connection_id":171902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":171902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:29:01] local.INFO: TCP Data received {"connection_id":171902,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07211a490012d79c9c005f58460000700e820..."} 
[2026-09-05 20:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07211a490012d79c9c005f58460000700e820..."} 
[2026-09-05 20:29:01] local.INFO: Processing buffer {"connection_id":171902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07211a490012d79c9c005f58460000700e820..."} 
[2026-09-05 20:29:01] local.INFO: Packet analysis {"connection_id":171902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07211"} 
[2026-09-05 20:29:01] local.INFO: Extracted packet for processing {"connection_id":171902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07211"} 
[2026-09-05 20:29:01] local.INFO: GPS Element Parsed {"raw_longitude":762956224,"raw_latitude":99976288,"longitude_deg":76.2956224,"latitude_deg":9.9976288,"altitude":7,"angle":232,"satellites":32,"speed":20,"hex_longitude":"2d79c9c0","hex_latitude":"05f58460","is_valid_coordinates":true} 
[2026-09-05 20:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886756864001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399906801522311168,"note":"Value kept but may cause issues"} 
[2026-09-05 20:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783497042595588096,"note":"Value kept but may cause issues"} 
[2026-09-05 20:29:01] 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-09-05 20:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788620154000,"timestamp_ms":1788620154000,"timestamp_seconds":1788620154,"priority":1,"record_length":96,"hex_timestamp":"000001a07211a490"} 
[2026-09-05 20:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-05 20:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886756864001,"66":27300,"24":20,"87":13568,"16":399906801522311168,"45":8783497042595588096},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,87,16,45]} 
[2026-09-05 20:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886756864001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:29:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-05 20:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399906801522311168,"km_value":399906801522311.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783497042595588096,"description":"Unknown IO ID 45"} 
[2026-09-05 20:29:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457886756864001,"power":27300,"ignition":20,"unknown_87":13568,"odometer":null,"unknown_45":8783497042595588096}} 
[2026-09-05 20:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":171902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:29:01] local.INFO: GPS data processed {"connection_id":171902,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:29:01] local.INFO: Acknowledgment sent {"connection_id":171902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:29:21] local.INFO: TCP Data received {"connection_id":173284,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a072106828012d196500071ff128003e014529..."} 
[2026-09-05 20:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072106828012d196500071ff128003e014529..."} 
[2026-09-05 20:29:21] local.INFO: Processing buffer {"connection_id":173284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072106828012d196500071ff128003e014529..."} 
[2026-09-05 20:29:21] local.INFO: Packet analysis {"connection_id":173284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07210"} 
[2026-09-05 20:29:21] local.INFO: Extracted packet for processing {"connection_id":173284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07210"} 
[2026-09-05 20:29:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886661632001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788620073000,"timestamp_ms":1788620073000,"timestamp_seconds":1788620073,"priority":1,"record_length":96,"hex_timestamp":"000001a072106828"} 
[2026-09-05 20:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886661632001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886661632001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:29:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:29:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886661632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":173284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:29:21] local.INFO: GPS data processed {"connection_id":173284,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:29:21] local.INFO: Acknowledgment sent {"connection_id":173284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:29:21] local.INFO: TCP Data received {"connection_id":174603,"ip":"117.225.254.193","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:29:21] local.INFO: Processing buffer {"connection_id":174603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:29:21] local.INFO: IMEI packet received {"connection_id":174603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 20:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":174603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:29:28] local.INFO: TCP Data received {"connection_id":174603,"ip":"117.225.254.193","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:29:28] local.INFO: Processing buffer {"connection_id":174603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:29:28] local.INFO: IMEI packet received {"connection_id":174603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 20:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":174603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:29:32] local.INFO: TCP Data received {"connection_id":174603,"ip":"117.225.254.193","data_length":795,"data_hex":"000000000000030f8e0a000001a07211e310012c75438008d22c200031004b2a..."} 
[2026-09-05 20:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07211e310012c75438008d22c200031004b2a..."} 
[2026-09-05 20:29:32] local.INFO: Processing buffer {"connection_id":174603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07211e310012c75438008d22c200031004b2a..."} 
[2026-09-05 20:29:32] local.INFO: Packet analysis {"connection_id":174603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07211"} 
[2026-09-05 20:29:32] local.INFO: Extracted packet for processing {"connection_id":174603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07211"} 
[2026-09-05 20:29:32] local.INFO: GPS Element Parsed {"raw_longitude":745882496,"raw_latitude":147991584,"longitude_deg":74.5882496,"latitude_deg":14.7991584,"altitude":49,"angle":75,"satellites":42,"speed":33,"hex_longitude":"2c754380","hex_latitude":"08d22c20","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886763008001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1706957442383872,"note":"Value kept but may cause issues"} 
[2026-09-05 20:29:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8447908513902616576,"note":"Value kept but may cause issues"} 
[2026-09-05 20:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788620170000,"timestamp_ms":1788620170000,"timestamp_seconds":1788620170,"priority":1,"record_length":96,"hex_timestamp":"000001a07211e310"} 
[2026-09-05 20:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20: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":65,"data_length":795,"current_offset":136} 
[2026-09-05 20:29: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-09-05 20: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-09-05 20:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174603,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 20:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174603,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 20:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.254.193","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 20:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 20:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886763008001,"66":27691,"27":206,"9":55808,"24":33,"16":1706957442383872,"44":8447908513902616576},"client_ip":"117.225.254.193","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,9,24,16,44]} 
[2026-09-05 20:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 20:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 20:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886763008001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:29:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-05 20:29:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-05 20:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1706957442383872,"km_value":1706957442383.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:29:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":8447908513902616576,"description":"Unknown IO ID 44"} 
[2026-09-05 20:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886763008001,"power":27691,"unknown_27":206,"unknown_9":55808,"ignition":33,"odometer":null,"unknown_44":8447908513902616576}} 
[2026-09-05 20:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":174603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771139,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:29:32] local.INFO: GPS data processed {"connection_id":174603,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:29:32] local.INFO: Acknowledgment sent {"connection_id":174603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:29:32] local.INFO: TCP Data received {"connection_id":171902,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07211cf88012d79ae0005f56f00000a00e92a..."} 
[2026-09-05 20:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07211cf88012d79ae0005f56f00000a00e92a..."} 
[2026-09-05 20:29:32] local.INFO: Processing buffer {"connection_id":171902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07211cf88012d79ae0005f56f00000a00e92a..."} 
[2026-09-05 20:29:32] local.INFO: Packet analysis {"connection_id":171902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07211"} 
[2026-09-05 20:29:32] local.INFO: Extracted packet for processing {"connection_id":171902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07211"} 
[2026-09-05 20:29:32] local.INFO: GPS Element Parsed {"raw_longitude":762949120,"raw_latitude":99970816,"longitude_deg":76.294912,"latitude_deg":9.9970816,"altitude":10,"angle":233,"satellites":42,"speed":40,"hex_longitude":"2d79ae00","hex_latitude":"05f56f00","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886759424001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399907231019040768,"note":"Value kept but may cause issues"} 
[2026-09-05 20:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8775756480734584832,"note":"Value kept but may cause issues"} 
[2026-09-05 20:29:32] 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-09-05 20:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788620165000,"timestamp_ms":1788620165000,"timestamp_seconds":1788620165,"priority":1,"record_length":96,"hex_timestamp":"000001a07211cf88"} 
[2026-09-05 20:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:29: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-09-05 20:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-05 20:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20: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-09-05 20:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886759424001,"66":27365,"24":40,"87":13568,"16":399907231019040768,"45":8775756480734584832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,87,16,45]} 
[2026-09-05 20:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886759424001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:29:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-05 20:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399907231019040768,"km_value":399907231019040.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8775756480734584832,"description":"Unknown IO ID 45"} 
[2026-09-05 20:29:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457886759424001,"power":27365,"ignition":40,"unknown_87":13568,"odometer":null,"unknown_45":8775756480734584832}} 
[2026-09-05 20:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":171902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:29:32] local.INFO: GPS data processed {"connection_id":171902,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:29:32] local.INFO: Acknowledgment sent {"connection_id":171902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:29:44] local.INFO: TCP Data received {"connection_id":171903,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:29:44] local.INFO: Processing buffer {"connection_id":171903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:29:44] local.INFO: IMEI packet received {"connection_id":171903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":171903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:29:49] local.INFO: TCP Data received {"connection_id":171903,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:29:49] local.INFO: Processing buffer {"connection_id":171903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:29:49] local.INFO: IMEI packet received {"connection_id":171903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":171903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:29:50] local.INFO: TCP Data received {"connection_id":171903,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a072106828012d196500071ff128003e014529..."} 
[2026-09-05 20:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072106828012d196500071ff128003e014529..."} 
[2026-09-05 20:29:50] local.INFO: Processing buffer {"connection_id":171903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072106828012d196500071ff128003e014529..."} 
[2026-09-05 20:29:50] local.INFO: Packet analysis {"connection_id":171903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07210"} 
[2026-09-05 20:29:50] local.INFO: Extracted packet for processing {"connection_id":171903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07210"} 
[2026-09-05 20:29:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886661632001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788620073000,"timestamp_ms":1788620073000,"timestamp_seconds":1788620073,"priority":1,"record_length":96,"hex_timestamp":"000001a072106828"} 
[2026-09-05 20:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:29:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886661632001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886661632001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:29:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:29:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886661632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":171903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:29:50] local.INFO: GPS data processed {"connection_id":171903,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:29:50] local.INFO: Acknowledgment sent {"connection_id":171903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:30:00] local.INFO: TCP Data received {"connection_id":171904,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:30:01] local.INFO: Processing buffer {"connection_id":171904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:30:01] local.INFO: IMEI packet received {"connection_id":171904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":171904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:30:06] local.INFO: TCP Data received {"connection_id":171904,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:30:06] local.INFO: Processing buffer {"connection_id":171904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:30:06] local.INFO: IMEI packet received {"connection_id":171904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":171904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:30:06] local.INFO: TCP Data received {"connection_id":171904,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0721438b8012d79018005f4d998000600de21..."} 
[2026-09-05 20:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0721438b8012d79018005f4d998000600de21..."} 
[2026-09-05 20:30:06] local.INFO: Processing buffer {"connection_id":171904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0721438b8012d79018005f4d998000600de21..."} 
[2026-09-05 20:30:06] local.INFO: Packet analysis {"connection_id":171904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07214"} 
[2026-09-05 20:30:06] local.INFO: Extracted packet for processing {"connection_id":171904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07214"} 
[2026-09-05 20:30:06] local.INFO: GPS Element Parsed {"raw_longitude":762904960,"raw_latitude":99932568,"longitude_deg":76.290496,"latitude_deg":9.9932568,"altitude":6,"angle":222,"satellites":33,"speed":39,"hex_longitude":"2d790180","hex_latitude":"05f4d998","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886800640001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399910061402488832,"note":"Value kept but may cause issues"} 
[2026-09-05 20:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8726709466033268736,"note":"Value kept but may cause issues"} 
[2026-09-05 20:30:06] 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-09-05 20:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788620323000,"timestamp_ms":1788620323000,"timestamp_seconds":1788620323,"priority":1,"record_length":96,"hex_timestamp":"000001a0721438b8"} 
[2026-09-05 20:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 20:30: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-09-05 20: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-09-05 20:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886800640001,"66":27550,"182":206,"87":13568,"24":39,"16":399910061402488832,"45":8726709466033268736},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-09-05 20:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886800640001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:30:06] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-05 20:30:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-05 20:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399910061402488832,"km_value":399910061402488.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8726709466033268736,"description":"Unknown IO ID 45"} 
[2026-09-05 20:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886800640001,"power":27550,"unknown_182":206,"unknown_87":13568,"ignition":39,"odometer":null,"unknown_45":8726709466033268736}} 
[2026-09-05 20:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":171904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:30:06] local.INFO: GPS data processed {"connection_id":171904,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:30:06] local.INFO: Acknowledgment sent {"connection_id":171904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:30:10] local.INFO: TCP Data received {"connection_id":171904,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0721463b0012d78ea0005f4bf78000400e021..."} 
[2026-09-05 20:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0721463b0012d78ea0005f4bf78000400e021..."} 
[2026-09-05 20:30:10] local.INFO: Processing buffer {"connection_id":171904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0721463b0012d78ea0005f4bf78000400e021..."} 
[2026-09-05 20:30:10] local.INFO: Packet analysis {"connection_id":171904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07214"} 
[2026-09-05 20:30:10] local.INFO: Extracted packet for processing {"connection_id":171904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07214"} 
[2026-09-05 20:30:10] local.INFO: GPS Element Parsed {"raw_longitude":762898944,"raw_latitude":99925880,"longitude_deg":76.2898944,"latitude_deg":9.992588,"altitude":4,"angle":224,"satellites":33,"speed":10,"hex_longitude":"2d78ea00","hex_latitude":"05f4bf78","is_valid_coordinates":true} 
[2026-09-05 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-09-05 20:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886802688001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399910495194185728,"note":"Value kept but may cause issues"} 
[2026-09-05 20:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8719391116637083648,"note":"Value kept but may cause issues"} 
[2026-09-05 20:30:10] 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-09-05 20:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788620334000,"timestamp_ms":1788620334000,"timestamp_seconds":1788620334,"priority":1,"record_length":96,"hex_timestamp":"000001a0721463b0"} 
[2026-09-05 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-09-05 20:30: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-09-05 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":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-05 20:30:10] 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-09-05 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-09-05 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-09-05 20:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":171904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":171904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":171904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886802688001,"66":27484,"182":206,"87":13568,"24":10,"16":399910495194185728,"45":8719391116637083648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-09-05 20:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886802688001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:30:10] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-05 20:30:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-05 20:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399910495194185728,"km_value":399910495194185.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8719391116637083648,"description":"Unknown IO ID 45"} 
[2026-09-05 20:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886802688001,"power":27484,"unknown_182":206,"unknown_87":13568,"ignition":10,"odometer":null,"unknown_45":8719391116637083648}} 
[2026-09-05 20:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":171904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:30:10] local.INFO: GPS data processed {"connection_id":171904,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:30:10] local.INFO: Acknowledgment sent {"connection_id":171904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:30:21] local.INFO: TCP Data received {"connection_id":171903,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07214fff0012d196500071ff128003e014528..."} 
[2026-09-05 20:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07214fff0012d196500071ff128003e014528..."} 
[2026-09-05 20:30:21] local.INFO: Processing buffer {"connection_id":171903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07214fff0012d196500071ff128003e014528..."} 
[2026-09-05 20:30:21] local.INFO: Packet analysis {"connection_id":171903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07214"} 
[2026-09-05 20:30:21] local.INFO: Extracted packet for processing {"connection_id":171903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07214"} 
[2026-09-05 20:30:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886738688001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788620374000,"timestamp_ms":1788620374000,"timestamp_seconds":1788620374,"priority":1,"record_length":96,"hex_timestamp":"000001a07214fff0"} 
[2026-09-05 20:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886738688001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886738688001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:30:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:30:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886738688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":171903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:30:21] local.INFO: GPS data processed {"connection_id":171903,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:30:21] local.INFO: Acknowledgment sent {"connection_id":171903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:30:44] local.INFO: TCP Data received {"connection_id":173285,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:30:44] local.INFO: Processing buffer {"connection_id":173285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:30:44] local.INFO: IMEI packet received {"connection_id":173285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":173285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:30:49] local.INFO: TCP Data received {"connection_id":173285,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:30:49] local.INFO: Processing buffer {"connection_id":173285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:30:49] local.INFO: IMEI packet received {"connection_id":173285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":173285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:30:50] local.INFO: TCP Data received {"connection_id":173285,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07214fff0012d196500071ff128003e014528..."} 
[2026-09-05 20:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07214fff0012d196500071ff128003e014528..."} 
[2026-09-05 20:30:50] local.INFO: Processing buffer {"connection_id":173285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07214fff0012d196500071ff128003e014528..."} 
[2026-09-05 20:30:50] local.INFO: Packet analysis {"connection_id":173285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07214"} 
[2026-09-05 20:30:50] local.INFO: Extracted packet for processing {"connection_id":173285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07214"} 
[2026-09-05 20:30:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886738688001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788620374000,"timestamp_ms":1788620374000,"timestamp_seconds":1788620374,"priority":1,"record_length":96,"hex_timestamp":"000001a07214fff0"} 
[2026-09-05 20:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886738688001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886738688001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:30:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:30:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886738688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":173285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:30:50] local.INFO: GPS data processed {"connection_id":173285,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:30:50] local.INFO: Acknowledgment sent {"connection_id":173285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:31:10] local.INFO: TCP Data received {"connection_id":173286,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:31:10] local.INFO: Processing buffer {"connection_id":173286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:31:10] local.INFO: IMEI packet received {"connection_id":173286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":173286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:31:13] local.INFO: TCP Data received {"connection_id":173286,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:31:13] local.INFO: Processing buffer {"connection_id":173286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:31:13] local.INFO: IMEI packet received {"connection_id":173286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":173286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:31:14] local.INFO: TCP Data received {"connection_id":173286,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07214b5b8012d78e88005f4be80000300e220..."} 
[2026-09-05 20:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07214b5b8012d78e88005f4be80000300e220..."} 
[2026-09-05 20:31:14] local.INFO: Processing buffer {"connection_id":173286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07214b5b8012d78e88005f4be80000300e220..."} 
[2026-09-05 20:31:14] local.INFO: Packet analysis {"connection_id":173286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07214"} 
[2026-09-05 20:31:14] local.INFO: Extracted packet for processing {"connection_id":173286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07214"} 
[2026-09-05 20:31:14] local.INFO: GPS Element Parsed {"raw_longitude":762898560,"raw_latitude":99925632,"longitude_deg":76.289856,"latitude_deg":9.9925632,"altitude":3,"angle":226,"satellites":32,"speed":0,"hex_longitude":"2d78e880","hex_latitude":"05f4be80","is_valid_coordinates":true} 
[2026-09-05 20:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886805504001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399910520963989504,"note":"Value kept but may cause issues"} 
[2026-09-05 20:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8712776454682671104,"note":"Value kept but may cause issues"} 
[2026-09-05 20:31:14] 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-09-05 20:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788620355000,"timestamp_ms":1788620355000,"timestamp_seconds":1788620355,"priority":1,"record_length":96,"hex_timestamp":"000001a07214b5b8"} 
[2026-09-05 20:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:31:14] 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-09-05 20:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 20:31:14] 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-09-05 20:31:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":173286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":173286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":173286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886805504001,"66":27376,"182":206,"87":13568,"24":0,"16":399910520963989504,"45":8712776454682671104},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-09-05 20:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886805504001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:31:14] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-05 20:31:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-05 20:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399910520963989504,"km_value":399910520963989.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8712776454682671104,"description":"Unknown IO ID 45"} 
[2026-09-05 20:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886805504001,"power":27376,"unknown_182":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8712776454682671104}} 
[2026-09-05 20:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":173286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:31:14] local.INFO: GPS data processed {"connection_id":173286,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:31:14] local.INFO: Acknowledgment sent {"connection_id":173286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:31:21] local.INFO: TCP Data received {"connection_id":173285,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07214fff0012d196500071ff128003e014528..."} 
[2026-09-05 20:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07214fff0012d196500071ff128003e014528..."} 
[2026-09-05 20:31:21] local.INFO: Processing buffer {"connection_id":173285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07214fff0012d196500071ff128003e014528..."} 
[2026-09-05 20:31:21] local.INFO: Packet analysis {"connection_id":173285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07214"} 
[2026-09-05 20:31:21] local.INFO: Extracted packet for processing {"connection_id":173285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07214"} 
[2026-09-05 20:31:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886738688001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788620374000,"timestamp_ms":1788620374000,"timestamp_seconds":1788620374,"priority":1,"record_length":96,"hex_timestamp":"000001a07214fff0"} 
[2026-09-05 20:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:31:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886738688001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886738688001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:31:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:31:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886738688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":173285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:31:21] local.INFO: GPS data processed {"connection_id":173285,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:31:21] local.INFO: Acknowledgment sent {"connection_id":173285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:31:49] local.INFO: TCP Data received {"connection_id":174604,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:31:49] local.INFO: Processing buffer {"connection_id":174604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:31:49] local.INFO: IMEI packet received {"connection_id":174604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":174604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:31:54] local.INFO: TCP Data received {"connection_id":174604,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:31:54] local.INFO: Processing buffer {"connection_id":174604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:31:54] local.INFO: IMEI packet received {"connection_id":174604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":174604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:31:55] local.INFO: TCP Data received {"connection_id":174604,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07214fff0012d196500071ff128003e014528..."} 
[2026-09-05 20:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07214fff0012d196500071ff128003e014528..."} 
[2026-09-05 20:31:55] local.INFO: Processing buffer {"connection_id":174604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07214fff0012d196500071ff128003e014528..."} 
[2026-09-05 20:31:55] local.INFO: Packet analysis {"connection_id":174604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07214"} 
[2026-09-05 20:31:55] local.INFO: Extracted packet for processing {"connection_id":174604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07214"} 
[2026-09-05 20:31:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886738688001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788620374000,"timestamp_ms":1788620374000,"timestamp_seconds":1788620374,"priority":1,"record_length":96,"hex_timestamp":"000001a07214fff0"} 
[2026-09-05 20:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886738688001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886738688001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:31:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:31:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886738688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":174604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:31:55] local.INFO: GPS data processed {"connection_id":174604,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:31:55] local.INFO: Acknowledgment sent {"connection_id":174604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:31:55] local.INFO: TCP Data received {"connection_id":171905,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:31:55] local.INFO: Processing buffer {"connection_id":171905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:31:55] local.INFO: IMEI packet received {"connection_id":171905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":171905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:31:56] local.INFO: TCP Data received {"connection_id":171905,"ip":"42.109.136.7","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 20:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171905,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 20:31:56] local.INFO: Processing buffer {"connection_id":171905,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 20:31:56] local.INFO: IMEI packet received {"connection_id":171905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":171905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:31:59] local.INFO: TCP Data received {"connection_id":174604,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07214fff0012d196500071ff128003e014528..."} 
[2026-09-05 20:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07214fff0012d196500071ff128003e014528..."} 
[2026-09-05 20:31:59] local.INFO: Processing buffer {"connection_id":174604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07214fff0012d196500071ff128003e014528..."} 
[2026-09-05 20:31:59] local.INFO: Packet analysis {"connection_id":174604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07214"} 
[2026-09-05 20:31:59] local.INFO: Extracted packet for processing {"connection_id":174604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07214"} 
[2026-09-05 20:31:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886738688001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788620374000,"timestamp_ms":1788620374000,"timestamp_seconds":1788620374,"priority":1,"record_length":96,"hex_timestamp":"000001a07214fff0"} 
[2026-09-05 20:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886738688001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886738688001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:31:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:31:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886738688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":174604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:31:59] local.INFO: GPS data processed {"connection_id":174604,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:31:59] local.INFO: Acknowledgment sent {"connection_id":174604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:32:00] local.INFO: TCP Data received {"connection_id":171905,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:32:00] local.INFO: Processing buffer {"connection_id":171905,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 20:32:00] local.INFO: IMEI packet received {"connection_id":171905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":171905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:32:01] local.INFO: TCP Data received {"connection_id":171905,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0721507c0012d78e88005f4be80000300e229..."} 
[2026-09-05 20:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0721507c0012d78e88005f4be80000300e229..."} 
[2026-09-05 20:32:01] local.INFO: Processing buffer {"connection_id":171905,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a072..."} 
[2026-09-05 20:32:01] local.INFO: IMEI packet received {"connection_id":171905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":171905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:32:05] local.INFO: TCP Data received {"connection_id":171905,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0721559c8012d78d00005f4aae0000600e32e..."} 
[2026-09-05 20:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0721559c8012d78d00005f4aae0000600e32e..."} 
[2026-09-05 20:32:05] local.INFO: Processing buffer {"connection_id":171905,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0721507c0012d78e88005f4be80000300e229..."} 
[2026-09-05 20:32:05] local.INFO: Packet analysis {"connection_id":171905,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07215"} 
[2026-09-05 20:32:05] local.INFO: Extracted packet for processing {"connection_id":171905,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07215"} 
[2026-09-05 20:32:05] local.INFO: GPS Element Parsed {"raw_longitude":762898560,"raw_latitude":99925632,"longitude_deg":76.289856,"latitude_deg":9.9925632,"altitude":3,"angle":226,"satellites":41,"speed":0,"hex_longitude":"2d78e880","hex_latitude":"05f4be80","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886810880001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399910520963989504,"note":"Value kept but may cause issues"} 
[2026-09-05 20:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8712354242217541632,"note":"Value kept but may cause issues"} 
[2026-09-05 20:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788620376000,"timestamp_ms":1788620376000,"timestamp_seconds":1788620376,"priority":1,"record_length":96,"hex_timestamp":"000001a0721507c0"} 
[2026-09-05 20:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:32: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-09-05 20: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":240,"data_length":795,"current_offset":136} 
[2026-09-05 20:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20: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-09-05 20:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886810880001,"66":27343,"241":206,"87":13568,"24":0,"16":399910520963989504,"45":8712354242217541632},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,87,24,16,45]} 
[2026-09-05 20:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886810880001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:32:05] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-05 20:32:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-05 20:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399910520963989504,"km_value":399910520963989.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8712354242217541632,"description":"Unknown IO ID 45"} 
[2026-09-05 20:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886810880001,"power":27343,"unknown_241":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8712354242217541632}} 
[2026-09-05 20:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":171905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:32:05] local.INFO: GPS data processed {"connection_id":171905,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:32:05] local.INFO: Acknowledgment sent {"connection_id":171905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:32:05] local.INFO: Packet analysis {"connection_id":171905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07215"} 
[2026-09-05 20:32:05] local.INFO: Extracted packet for processing {"connection_id":171905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07215"} 
[2026-09-05 20:32:05] local.INFO: GPS Element Parsed {"raw_longitude":762892288,"raw_latitude":99920608,"longitude_deg":76.2892288,"latitude_deg":9.9920608,"altitude":6,"angle":227,"satellites":46,"speed":29,"hex_longitude":"2d78d000","hex_latitude":"05f4aae0","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886816256001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399910907511046144,"note":"Value kept but may cause issues"} 
[2026-09-05 20:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8712354242217541632,"note":"Value kept but may cause issues"} 
[2026-09-05 20:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788620397000,"timestamp_ms":1788620397000,"timestamp_seconds":1788620397,"priority":1,"record_length":96,"hex_timestamp":"000001a0721559c8"} 
[2026-09-05 20:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:32: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-09-05 20: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":207,"data_length":795,"current_offset":136} 
[2026-09-05 20:32: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-09-05 20: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-09-05 20:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886816256001,"66":27376,"114":206,"87":13568,"24":29,"16":399910907511046144,"45":8712354242217541632},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,87,24,16,45]} 
[2026-09-05 20:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886816256001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:32:05] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-09-05 20:32:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-05 20:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399910907511046144,"km_value":399910907511046.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8712354242217541632,"description":"Unknown IO ID 45"} 
[2026-09-05 20:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886816256001,"power":27376,"unknown_114":206,"unknown_87":13568,"ignition":29,"odometer":null,"unknown_45":8712354242217541632}} 
[2026-09-05 20:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":171905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:32:05] local.INFO: GPS data processed {"connection_id":171905,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:32:05] local.INFO: Acknowledgment sent {"connection_id":171905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:32:21] local.INFO: TCP Data received {"connection_id":172163,"ip":"117.224.82.68","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172163,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:32:21] local.INFO: Processing buffer {"connection_id":172163,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:32:21] local.INFO: IMEI packet received {"connection_id":172163,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 20:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":172163,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:32:22] local.INFO: TCP Data received {"connection_id":172163,"ip":"117.224.82.68","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172163,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:32:22] local.INFO: Processing buffer {"connection_id":172163,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:32:22] local.INFO: IMEI packet received {"connection_id":172163,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 20:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":172163,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:32:27] local.INFO: TCP Data received {"connection_id":172163,"ip":"117.224.82.68","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172163,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:32:27] local.INFO: Processing buffer {"connection_id":172163,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:32:27] local.INFO: IMEI packet received {"connection_id":172163,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 20:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":172163,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:32:28] local.INFO: TCP Data received {"connection_id":172163,"ip":"117.224.82.68","data_length":795,"data_hex":"000000000000030f8e0a000001a07215c728012c778f4008d37250004100012c..."} 
[2026-09-05 20:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07215c728012c778f4008d37250004100012c..."} 
[2026-09-05 20:32:28] local.INFO: Processing buffer {"connection_id":172163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07215c728012c778f4008d37250004100012c..."} 
[2026-09-05 20:32:28] local.INFO: Packet analysis {"connection_id":172163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07215"} 
[2026-09-05 20:32:28] local.INFO: Extracted packet for processing {"connection_id":172163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07215"} 
[2026-09-05 20:32:28] local.INFO: GPS Element Parsed {"raw_longitude":746032960,"raw_latitude":148075088,"longitude_deg":74.603296,"latitude_deg":14.8075088,"altitude":65,"angle":1,"satellites":44,"speed":41,"hex_longitude":"2c778f40","hex_latitude":"08d37250","is_valid_coordinates":true} 
[2026-09-05 20:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886826496001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1711192280137728,"note":"Value kept but may cause issues"} 
[2026-09-05 20:32:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8614400962646003712,"note":"Value kept but may cause issues"} 
[2026-09-05 20:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,104,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788620425000,"timestamp_ms":1788620425000,"timestamp_seconds":1788620425,"priority":1,"record_length":96,"hex_timestamp":"000001a07215c728"} 
[2026-09-05 20:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-05 20:32:28] 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-09-05 20:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172163,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 20:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172163,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 20:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.82.68","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 20:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 20:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886826496001,"66":27713,"242":206,"104":45568,"24":41,"16":1711192280137728,"44":8614400962646003712},"client_ip":"117.224.82.68","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,104,24,16,44]} 
[2026-09-05 20:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 20:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 20:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886826496001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:32:28] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-05 20:32:28] local.INFO: Unknown IO ID detected {"io_id":104,"value":45568,"description":"Unknown IO ID 104"} 
[2026-09-05 20:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1711192280137728,"km_value":1711192280137.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:32:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":8614400962646003712,"description":"Unknown IO ID 44"} 
[2026-09-05 20:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886826496001,"power":27713,"unknown_242":206,"unknown_104":45568,"ignition":41,"odometer":null,"unknown_44":8614400962646003712}} 
[2026-09-05 20:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":172163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771152,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:32:28] local.INFO: GPS data processed {"connection_id":172163,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:32:28] local.INFO: Acknowledgment sent {"connection_id":172163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:32:36] local.INFO: TCP Data received {"connection_id":171905,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0721584c0012d78b54005f49368000600e52d..."} 
[2026-09-05 20:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0721584c0012d78b54005f49368000600e52d..."} 
[2026-09-05 20:32:36] local.INFO: Processing buffer {"connection_id":171905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0721584c0012d78b54005f49368000600e52d..."} 
[2026-09-05 20:32:36] local.INFO: Packet analysis {"connection_id":171905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07215"} 
[2026-09-05 20:32:36] local.INFO: Extracted packet for processing {"connection_id":171905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07215"} 
[2026-09-05 20:32:36] local.INFO: GPS Element Parsed {"raw_longitude":762885440,"raw_latitude":99914600,"longitude_deg":76.288544,"latitude_deg":9.99146,"altitude":6,"angle":229,"satellites":45,"speed":34,"hex_longitude":"2d78b540","hex_latitude":"05f49368","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886821632001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399911345597710336,"note":"Value kept but may cause issues"} 
[2026-09-05 20:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8705458105286844416,"note":"Value kept but may cause issues"} 
[2026-09-05 20:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788620408000,"timestamp_ms":1788620408000,"timestamp_seconds":1788620408,"priority":1,"record_length":96,"hex_timestamp":"000001a0721584c0"} 
[2026-09-05 20:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:32: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-09-05 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-05 20:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20: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-09-05 20:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":171905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":171905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":171905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886821632001,"66":27310,"116":206,"87":13568,"24":34,"16":399911345597710336,"45":8705458105286844416},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,87,24,16,45]} 
[2026-09-05 20:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886821632001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:32:36] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-05 20:32:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-05 20:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399911345597710336,"km_value":399911345597710.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8705458105286844416,"description":"Unknown IO ID 45"} 
[2026-09-05 20:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886821632001,"power":27310,"unknown_116":206,"unknown_87":13568,"ignition":34,"odometer":null,"unknown_45":8705458105286844416}} 
[2026-09-05 20:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":171905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:32:36] local.INFO: GPS data processed {"connection_id":171905,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:32:36] local.INFO: Acknowledgment sent {"connection_id":171905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:32:44] local.INFO: TCP Data received {"connection_id":174605,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:32:44] local.INFO: Processing buffer {"connection_id":174605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:32:44] local.INFO: IMEI packet received {"connection_id":174605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":174605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:32:49] local.INFO: TCP Data received {"connection_id":174605,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:32:49] local.INFO: Processing buffer {"connection_id":174605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:32:49] local.INFO: IMEI packet received {"connection_id":174605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":174605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:32:50] local.INFO: TCP Data received {"connection_id":174605,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07214fff0012d196500071ff128003e014528..."} 
[2026-09-05 20:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07214fff0012d196500071ff128003e014528..."} 
[2026-09-05 20:32:50] local.INFO: Processing buffer {"connection_id":174605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07214fff0012d196500071ff128003e014528..."} 
[2026-09-05 20:32:50] local.INFO: Packet analysis {"connection_id":174605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07214"} 
[2026-09-05 20:32:50] local.INFO: Extracted packet for processing {"connection_id":174605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07214"} 
[2026-09-05 20:32:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886738688001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788620374000,"timestamp_ms":1788620374000,"timestamp_seconds":1788620374,"priority":1,"record_length":96,"hex_timestamp":"000001a07214fff0"} 
[2026-09-05 20:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:32:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:32:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886738688001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886738688001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:32:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:32:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886738688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":174605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:32:50] local.INFO: GPS data processed {"connection_id":174605,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:32:50] local.INFO: Acknowledgment sent {"connection_id":174605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:32:51] local.INFO: TCP Data received {"connection_id":172164,"ip":"117.224.82.68","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172164,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:32:51] local.INFO: Processing buffer {"connection_id":172164,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:32:51] local.INFO: IMEI packet received {"connection_id":172164,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 20:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":172164,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:32:56] local.INFO: TCP Data received {"connection_id":172165,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:32:56] local.INFO: Processing buffer {"connection_id":172165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:32:56] local.INFO: IMEI packet received {"connection_id":172165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":172165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:32:56] local.INFO: TCP Data received {"connection_id":172164,"ip":"117.224.82.68","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172164,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:32:56] local.INFO: Processing buffer {"connection_id":172164,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:32:56] local.INFO: IMEI packet received {"connection_id":172164,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 20:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":172164,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:32:58] local.INFO: TCP Data received {"connection_id":172164,"ip":"117.224.82.68","data_length":795,"data_hex":"000000000000030f8e0a000001a072171ee8012c78480008d3f460003e00552d..."} 
[2026-09-05 20:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072171ee8012c78480008d3f460003e00552d..."} 
[2026-09-05 20:32:58] local.INFO: Processing buffer {"connection_id":172164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072171ee8012c78480008d3f460003e00552d..."} 
[2026-09-05 20:32:58] local.INFO: Packet analysis {"connection_id":172164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07217"} 
[2026-09-05 20:32:58] local.INFO: Extracted packet for processing {"connection_id":172164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07217"} 
[2026-09-05 20:32:58] local.INFO: GPS Element Parsed {"raw_longitude":746080256,"raw_latitude":148108384,"longitude_deg":74.6080256,"latitude_deg":14.8108384,"altitude":62,"angle":85,"satellites":45,"speed":38,"hex_longitude":"2c784800","hex_latitude":"08d3f460","is_valid_coordinates":true} 
[2026-09-05 20:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886848768001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1714512289857536,"note":"Value kept but may cause issues"} 
[2026-09-05 20:32:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8656762946651856896,"note":"Value kept but may cause issues"} 
[2026-09-05 20:32:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788620513000,"timestamp_ms":1788620513000,"timestamp_seconds":1788620513,"priority":1,"record_length":96,"hex_timestamp":"000001a072171ee8"} 
[2026-09-05 20:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 20:32:58] 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-09-05 20:32:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172164,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 20:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172164,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 20:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.82.68","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 20:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 20:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886848768001,"66":27593,"172":206,"9":56576,"24":38,"16":1714512289857536,"44":8656762946651856896},"client_ip":"117.224.82.68","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,9,24,16,44]} 
[2026-09-05 20:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 20:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 20:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886848768001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:32:58] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-05 20:32:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-05 20:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1714512289857536,"km_value":1714512289857.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:32:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":8656762946651856896,"description":"Unknown IO ID 44"} 
[2026-09-05 20:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886848768001,"power":27593,"unknown_172":206,"unknown_9":56576,"ignition":38,"odometer":null,"unknown_44":8656762946651856896}} 
[2026-09-05 20:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":172164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771155,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:32:58] local.INFO: GPS data processed {"connection_id":172164,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:32:58] local.INFO: Acknowledgment sent {"connection_id":172164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:33:00] local.INFO: TCP Data received {"connection_id":172165,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:33:00] local.INFO: Processing buffer {"connection_id":172165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:33:00] local.INFO: IMEI packet received {"connection_id":172165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":172165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:33:01] local.INFO: TCP Data received {"connection_id":172165,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072172aa0012d77b90005f3bc60000801012a..."} 
[2026-09-05 20:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072172aa0012d77b90005f3bc60000801012a..."} 
[2026-09-05 20:33:01] local.INFO: Processing buffer {"connection_id":172165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072172aa0012d77b90005f3bc60000801012a..."} 
[2026-09-05 20:33:01] local.INFO: Packet analysis {"connection_id":172165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07217"} 
[2026-09-05 20:33:01] local.INFO: Extracted packet for processing {"connection_id":172165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07217"} 
[2026-09-05 20:33:01] local.INFO: GPS Element Parsed {"raw_longitude":762820864,"raw_latitude":99859552,"longitude_deg":76.2820864,"latitude_deg":9.9859552,"altitude":8,"angle":257,"satellites":42,"speed":24,"hex_longitude":"2d77b900","hex_latitude":"05f3bc60","is_valid_coordinates":true} 
[2026-09-05 20:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886847488001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399915567550562304,"note":"Value kept but may cause issues"} 
[2026-09-05 20:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8637130054675273728,"note":"Value kept but may cause issues"} 
[2026-09-05 20:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788620516000,"timestamp_ms":1788620516000,"timestamp_seconds":1788620516,"priority":1,"record_length":96,"hex_timestamp":"000001a072172aa0"} 
[2026-09-05 20:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:33:01] 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-09-05 20:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-05 20:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:33:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886847488001,"66":27376,"218":206,"87":13568,"24":24,"16":399915567550562304,"45":8637130054675273728},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,87,24,16,45]} 
[2026-09-05 20:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886847488001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:33:01] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 20:33:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-05 20:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399915567550562304,"km_value":399915567550562.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8637130054675273728,"description":"Unknown IO ID 45"} 
[2026-09-05 20:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886847488001,"power":27376,"unknown_218":206,"unknown_87":13568,"ignition":24,"odometer":null,"unknown_45":8637130054675273728}} 
[2026-09-05 20:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":172165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:33:01] local.INFO: GPS data processed {"connection_id":172165,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:33:01] local.INFO: Acknowledgment sent {"connection_id":172165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:33:21] local.INFO: TCP Data received {"connection_id":174605,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07214fff0012d196500071ff128003e014528..."} 
[2026-09-05 20:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07214fff0012d196500071ff128003e014528..."} 
[2026-09-05 20:33:21] local.INFO: Processing buffer {"connection_id":174605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07214fff0012d196500071ff128003e014528..."} 
[2026-09-05 20:33:21] local.INFO: Packet analysis {"connection_id":174605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07214"} 
[2026-09-05 20:33:21] local.INFO: Extracted packet for processing {"connection_id":174605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07214"} 
[2026-09-05 20:33:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886738688001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788620374000,"timestamp_ms":1788620374000,"timestamp_seconds":1788620374,"priority":1,"record_length":96,"hex_timestamp":"000001a07214fff0"} 
[2026-09-05 20:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:33:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886738688001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886738688001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:33:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:33:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886738688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":174605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:33:21] local.INFO: GPS data processed {"connection_id":174605,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:33:21] local.INFO: Acknowledgment sent {"connection_id":174605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:33:30] local.INFO: TCP Data received {"connection_id":172164,"ip":"117.224.82.68","data_length":795,"data_hex":"000000000000030f8e0a000001a072172e88012c78580008d3f6e0003e00492e..."} 
[2026-09-05 20:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072172e88012c78580008d3f6e0003e00492e..."} 
[2026-09-05 20:33:30] local.INFO: Processing buffer {"connection_id":172164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072172e88012c78580008d3f6e0003e00492e..."} 
[2026-09-05 20:33:30] local.INFO: Packet analysis {"connection_id":172164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07217"} 
[2026-09-05 20:33:30] local.INFO: Extracted packet for processing {"connection_id":172164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07217"} 
[2026-09-05 20:33:30] local.INFO: GPS Element Parsed {"raw_longitude":746084352,"raw_latitude":148109024,"longitude_deg":74.6084352,"latitude_deg":14.8109024,"altitude":62,"angle":73,"satellites":46,"speed":41,"hex_longitude":"2c785800","hex_latitude":"08d3f6e0","is_valid_coordinates":true} 
[2026-09-05 20:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886851328001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1714709858353152,"note":"Value kept but may cause issues"} 
[2026-09-05 20:33:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8667177520790265856,"note":"Value kept but may cause issues"} 
[2026-09-05 20:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788620517000,"timestamp_ms":1788620517000,"timestamp_seconds":1788620517,"priority":1,"record_length":96,"hex_timestamp":"000001a072172e88"} 
[2026-09-05 20:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-05 20:33: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-09-05 20:33:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172164,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 20:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172164,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 20:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.82.68","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 20:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 20:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886851328001,"66":27800,"172":206,"9":56576,"24":41,"16":1714709858353152,"44":8667177520790265856},"client_ip":"117.224.82.68","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,9,24,16,44]} 
[2026-09-05 20:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 20:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 20:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886851328001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:33:30] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-05 20:33:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-05 20:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1714709858353152,"km_value":1714709858353.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:33:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":8667177520790265856,"description":"Unknown IO ID 44"} 
[2026-09-05 20:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886851328001,"power":27800,"unknown_172":206,"unknown_9":56576,"ignition":41,"odometer":null,"unknown_44":8667177520790265856}} 
[2026-09-05 20:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":172164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771158,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:33:30] local.INFO: GPS data processed {"connection_id":172164,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:33:30] local.INFO: Acknowledgment sent {"connection_id":172164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:33:32] local.INFO: TCP Data received {"connection_id":172165,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072174210012d77ae8005f3b908000700f52b..."} 
[2026-09-05 20:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072174210012d77ae8005f3b908000700f52b..."} 
[2026-09-05 20:33:32] local.INFO: Processing buffer {"connection_id":172165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072174210012d77ae8005f3b908000700f52b..."} 
[2026-09-05 20:33:32] local.INFO: Packet analysis {"connection_id":172165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07217"} 
[2026-09-05 20:33:32] local.INFO: Extracted packet for processing {"connection_id":172165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07217"} 
[2026-09-05 20:33:32] local.INFO: GPS Element Parsed {"raw_longitude":762818176,"raw_latitude":99858696,"longitude_deg":76.2818176,"latitude_deg":9.9858696,"altitude":7,"angle":245,"satellites":43,"speed":11,"hex_longitude":"2d77ae80","hex_latitude":"05f3b908","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886852096001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399915704989515776,"note":"Value kept but may cause issues"} 
[2026-09-05 20:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8626926586768941056,"note":"Value kept but may cause issues"} 
[2026-09-05 20:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788620522000,"timestamp_ms":1788620522000,"timestamp_seconds":1788620522,"priority":1,"record_length":96,"hex_timestamp":"000001a072174210"} 
[2026-09-05 20:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:33: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-09-05 20:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-05 20:33: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-09-05 20: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-09-05 20:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886852096001,"66":27180,"218":206,"87":13568,"24":11,"16":399915704989515776,"45":8626926586768941056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,87,24,16,45]} 
[2026-09-05 20:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886852096001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:33:32] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 20:33:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-05 20:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399915704989515776,"km_value":399915704989515.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8626926586768941056,"description":"Unknown IO ID 45"} 
[2026-09-05 20:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886852096001,"power":27180,"unknown_218":206,"unknown_87":13568,"ignition":11,"odometer":null,"unknown_45":8626926586768941056}} 
[2026-09-05 20:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":172165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:33:32] local.INFO: GPS data processed {"connection_id":172165,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:33:32] local.INFO: Acknowledgment sent {"connection_id":172165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:33:44] local.INFO: TCP Data received {"connection_id":172166,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:33:44] local.INFO: Processing buffer {"connection_id":172166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:33:44] local.INFO: IMEI packet received {"connection_id":172166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":172166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:33:49] local.INFO: TCP Data received {"connection_id":172166,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:33:49] local.INFO: Processing buffer {"connection_id":172166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:33:49] local.INFO: IMEI packet received {"connection_id":172166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":172166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:33:50] local.INFO: TCP Data received {"connection_id":172166,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07214fff0012d196500071ff128003e014528..."} 
[2026-09-05 20:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07214fff0012d196500071ff128003e014528..."} 
[2026-09-05 20:33:50] local.INFO: Processing buffer {"connection_id":172166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07214fff0012d196500071ff128003e014528..."} 
[2026-09-05 20:33:50] local.INFO: Packet analysis {"connection_id":172166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07214"} 
[2026-09-05 20:33:50] local.INFO: Extracted packet for processing {"connection_id":172166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07214"} 
[2026-09-05 20:33:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886738688001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788620374000,"timestamp_ms":1788620374000,"timestamp_seconds":1788620374,"priority":1,"record_length":96,"hex_timestamp":"000001a07214fff0"} 
[2026-09-05 20:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:33:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:33:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886738688001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886738688001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:33:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:33:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886738688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":172166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:33:50] local.INFO: GPS data processed {"connection_id":172166,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:33:50] local.INFO: Acknowledgment sent {"connection_id":172166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:33:51] local.INFO: TCP Data received {"connection_id":173287,"ip":"117.224.82.68","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:33:51] local.INFO: Processing buffer {"connection_id":173287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:33:51] local.INFO: IMEI packet received {"connection_id":173287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 20:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":173287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:33:52] local.INFO: TCP Data received {"connection_id":173287,"ip":"117.224.82.68","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:33:52] local.INFO: Processing buffer {"connection_id":173287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:33:52] local.INFO: IMEI packet received {"connection_id":173287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 20:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":173287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:33:55] local.INFO: TCP Data received {"connection_id":171906,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:33:55] local.INFO: Processing buffer {"connection_id":171906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:33:55] local.INFO: IMEI packet received {"connection_id":171906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":171906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:33:57] local.INFO: TCP Data received {"connection_id":173287,"ip":"117.224.82.68","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:33:57] local.INFO: Processing buffer {"connection_id":173287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:33:57] local.INFO: IMEI packet received {"connection_id":173287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 20:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":173287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:33:58] local.INFO: TCP Data received {"connection_id":173287,"ip":"117.224.82.68","data_length":795,"data_hex":"000000000000030f8e0a000001a072174210012c786b8008d3ff50003b003c2d..."} 
[2026-09-05 20:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072174210012c786b8008d3ff50003b003c2d..."} 
[2026-09-05 20:33:58] local.INFO: Processing buffer {"connection_id":173287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072174210012c786b8008d3ff50003b003c2d..."} 
[2026-09-05 20:33:58] local.INFO: Packet analysis {"connection_id":173287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07217"} 
[2026-09-05 20:33:58] local.INFO: Extracted packet for processing {"connection_id":173287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07217"} 
[2026-09-05 20:33:58] local.INFO: GPS Element Parsed {"raw_longitude":746089344,"raw_latitude":148111184,"longitude_deg":74.6089344,"latitude_deg":14.8111184,"altitude":59,"angle":60,"satellites":45,"speed":42,"hex_longitude":"2c786b80","hex_latitude":"08d3ff50","is_valid_coordinates":true} 
[2026-09-05 20:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886852352001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1714963261423616,"note":"Value kept but may cause issues"} 
[2026-09-05 20:33:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8671681120417800192,"note":"Value kept but may cause issues"} 
[2026-09-05 20:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788620522000,"timestamp_ms":1788620522000,"timestamp_seconds":1788620522,"priority":1,"record_length":96,"hex_timestamp":"000001a072174210"} 
[2026-09-05 20:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-05 20:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 20:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 20:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.82.68","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 20:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 20:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886852352001,"66":27289,"172":206,"9":56576,"24":42,"16":1714963261423616,"44":8671681120417800192},"client_ip":"117.224.82.68","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,9,24,16,44]} 
[2026-09-05 20:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 20:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 20:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886852352001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:33:58] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-05 20:33:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-05 20:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1714963261423616,"km_value":1714963261423.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:33:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":8671681120417800192,"description":"Unknown IO ID 44"} 
[2026-09-05 20:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886852352001,"power":27289,"unknown_172":206,"unknown_9":56576,"ignition":42,"odometer":null,"unknown_44":8671681120417800192}} 
[2026-09-05 20:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":173287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771161,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:33:58] local.INFO: GPS data processed {"connection_id":173287,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:33:58] local.INFO: Acknowledgment sent {"connection_id":173287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:33:59] local.INFO: TCP Data received {"connection_id":173287,"ip":"117.224.82.68","data_length":795,"data_hex":"000000000000030f8e0a000001a072176538012c788b0008d411400038003b2b..."} 
[2026-09-05 20:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072176538012c788b0008d411400038003b2b..."} 
[2026-09-05 20:33:59] local.INFO: Processing buffer {"connection_id":173287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072176538012c788b0008d411400038003b2b..."} 
[2026-09-05 20:33:59] local.INFO: Packet analysis {"connection_id":173287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07217"} 
[2026-09-05 20:33:59] local.INFO: Extracted packet for processing {"connection_id":173287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07217"} 
[2026-09-05 20:33:59] local.INFO: GPS Element Parsed {"raw_longitude":746097408,"raw_latitude":148115776,"longitude_deg":74.6097408,"latitude_deg":14.8115776,"altitude":56,"angle":59,"satellites":43,"speed":37,"hex_longitude":"2c788b00","hex_latitude":"08d41140","is_valid_coordinates":true} 
[2026-09-05 20:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886853632001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1715405643055104,"note":"Value kept but may cause issues"} 
[2026-09-05 20:33:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8677169882464210944,"note":"Value kept but may cause issues"} 
[2026-09-05 20:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788620531000,"timestamp_ms":1788620531000,"timestamp_seconds":1788620531,"priority":1,"record_length":96,"hex_timestamp":"000001a072176538"} 
[2026-09-05 20:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-05 20:33:59] 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-09-05 20:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 20:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 20:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.82.68","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 20:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 20:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886853632001,"66":27713,"172":206,"9":56576,"24":37,"16":1715405643055104,"44":8677169882464210944},"client_ip":"117.224.82.68","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,9,24,16,44]} 
[2026-09-05 20:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 20:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 20:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886853632001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:33:59] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-05 20:33:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-05 20:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1715405643055104,"km_value":1715405643055.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:33:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":8677169882464210944,"description":"Unknown IO ID 44"} 
[2026-09-05 20:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886853632001,"power":27713,"unknown_172":206,"unknown_9":56576,"ignition":37,"odometer":null,"unknown_44":8677169882464210944}} 
[2026-09-05 20:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":173287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771162,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:34:00] local.INFO: GPS data processed {"connection_id":173287,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:34:00] local.INFO: Acknowledgment sent {"connection_id":173287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:34:00] local.INFO: TCP Data received {"connection_id":171906,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:34:00] local.INFO: Processing buffer {"connection_id":171906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:34:00] local.INFO: IMEI packet received {"connection_id":171906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":171906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:34:01] local.INFO: TCP Data received {"connection_id":171906,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0721749e0012d77ac8005f3b870000801032d..."} 
[2026-09-05 20:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0721749e0012d77ac8005f3b870000801032d..."} 
[2026-09-05 20:34:01] local.INFO: Processing buffer {"connection_id":171906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0721749e0012d77ac8005f3b870000801032d..."} 
[2026-09-05 20:34:01] local.INFO: Packet analysis {"connection_id":171906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07217"} 
[2026-09-05 20:34:01] local.INFO: Extracted packet for processing {"connection_id":171906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07217"} 
[2026-09-05 20:34:01] local.INFO: GPS Element Parsed {"raw_longitude":762817664,"raw_latitude":99858544,"longitude_deg":76.2817664,"latitude_deg":9.9858544,"altitude":8,"angle":259,"satellites":45,"speed":7,"hex_longitude":"2d77ac80","hex_latitude":"05f3b870","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886853632001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399915726464352256,"note":"Value kept but may cause issues"} 
[2026-09-05 20:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623971099513260032,"note":"Value kept but may cause issues"} 
[2026-09-05 20:34:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788620524000,"timestamp_ms":1788620524000,"timestamp_seconds":1788620524,"priority":1,"record_length":96,"hex_timestamp":"000001a0721749e0"} 
[2026-09-05 20:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-05 20:34:01] 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-09-05 20: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-09-05 20:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886853632001,"66":27126,"218":206,"87":13568,"24":7,"16":399915726464352256,"45":8623971099513260032},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,87,24,16,45]} 
[2026-09-05 20:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886853632001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:34:01] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-05 20:34:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-09-05 20:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399915726464352256,"km_value":399915726464352.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623971099513260032,"description":"Unknown IO ID 45"} 
[2026-09-05 20:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886853632001,"power":27126,"unknown_218":206,"unknown_87":13568,"ignition":7,"odometer":null,"unknown_45":8623971099513260032}} 
[2026-09-05 20:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":171906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:34:01] local.INFO: GPS data processed {"connection_id":171906,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:34:01] local.INFO: Acknowledgment sent {"connection_id":171906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:34:02] local.INFO: TCP Data received {"connection_id":173287,"ip":"117.224.82.68","data_length":795,"data_hex":"000000000000030f8e0a000001a072178478012c78a40008d421200035002f27..."} 
[2026-09-05 20:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072178478012c78a40008d421200035002f27..."} 
[2026-09-05 20:34:02] local.INFO: Processing buffer {"connection_id":173287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072178478012c78a40008d421200035002f27..."} 
[2026-09-05 20:34:02] local.INFO: Packet analysis {"connection_id":173287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07217"} 
[2026-09-05 20:34:02] local.INFO: Extracted packet for processing {"connection_id":173287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07217"} 
[2026-09-05 20:34:02] local.INFO: GPS Element Parsed {"raw_longitude":746103808,"raw_latitude":148119840,"longitude_deg":74.6103808,"latitude_deg":14.811984,"altitude":53,"angle":47,"satellites":39,"speed":35,"hex_longitude":"2c78a400","hex_latitude":"08d42120","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886855936001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1715766420307968,"note":"Value kept but may cause issues"} 
[2026-09-05 20:34:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8686036344231772160,"note":"Value kept but may cause issues"} 
[2026-09-05 20:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788620539000,"timestamp_ms":1788620539000,"timestamp_seconds":1788620539,"priority":1,"record_length":96,"hex_timestamp":"000001a072178478"} 
[2026-09-05 20:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-05 20:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20: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-09-05 20:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 20:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 20:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.82.68","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 20:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 20:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886855936001,"66":27604,"172":206,"9":56576,"24":35,"16":1715766420307968,"44":8686036344231772160},"client_ip":"117.224.82.68","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,9,24,16,44]} 
[2026-09-05 20:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 20:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 20:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886855936001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:34:02] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-05 20:34:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-05 20:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1715766420307968,"km_value":1715766420307.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:34:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":8686036344231772160,"description":"Unknown IO ID 44"} 
[2026-09-05 20:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886855936001,"power":27604,"unknown_172":206,"unknown_9":56576,"ignition":35,"odometer":null,"unknown_44":8686036344231772160}} 
[2026-09-05 20:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":173287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771164,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:34:02] local.INFO: GPS data processed {"connection_id":173287,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:34:02] local.INFO: Acknowledgment sent {"connection_id":173287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:34:21] local.INFO: TCP Data received {"connection_id":172166,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07214fff0012d196500071ff128003e014528..."} 
[2026-09-05 20:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07214fff0012d196500071ff128003e014528..."} 
[2026-09-05 20:34:21] local.INFO: Processing buffer {"connection_id":172166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07214fff0012d196500071ff128003e014528..."} 
[2026-09-05 20:34:21] local.INFO: Packet analysis {"connection_id":172166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07214"} 
[2026-09-05 20:34:21] local.INFO: Extracted packet for processing {"connection_id":172166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07214"} 
[2026-09-05 20:34:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886738688001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788620374000,"timestamp_ms":1788620374000,"timestamp_seconds":1788620374,"priority":1,"record_length":96,"hex_timestamp":"000001a07214fff0"} 
[2026-09-05 20:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886738688001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886738688001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:34:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:34:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886738688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":172166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:34:21] local.INFO: GPS data processed {"connection_id":172166,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:34:21] local.INFO: Acknowledgment sent {"connection_id":172166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:34:44] local.INFO: TCP Data received {"connection_id":173288,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:34:44] local.INFO: Processing buffer {"connection_id":173288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:34:44] local.INFO: IMEI packet received {"connection_id":173288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":173288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:34:47] local.INFO: TCP Data received {"connection_id":173289,"ip":"117.224.82.68","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:34:47] local.INFO: Processing buffer {"connection_id":173289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:34:47] local.INFO: IMEI packet received {"connection_id":173289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 20:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":173289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:34:48] local.INFO: TCP Data received {"connection_id":173289,"ip":"117.224.82.68","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:34:48] local.INFO: Processing buffer {"connection_id":173289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:34:48] local.INFO: IMEI packet received {"connection_id":173289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 20:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":173289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:34:49] local.INFO: TCP Data received {"connection_id":173288,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:34:49] local.INFO: Processing buffer {"connection_id":173288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:34:49] local.INFO: IMEI packet received {"connection_id":173288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":173288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:34:50] local.INFO: TCP Data received {"connection_id":173288,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07214fff0012d196500071ff128003e014528..."} 
[2026-09-05 20:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07214fff0012d196500071ff128003e014528..."} 
[2026-09-05 20:34:50] local.INFO: Processing buffer {"connection_id":173288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07214fff0012d196500071ff128003e014528..."} 
[2026-09-05 20:34:50] local.INFO: Packet analysis {"connection_id":173288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07214"} 
[2026-09-05 20:34:50] local.INFO: Extracted packet for processing {"connection_id":173288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07214"} 
[2026-09-05 20:34:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886738688001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788620374000,"timestamp_ms":1788620374000,"timestamp_seconds":1788620374,"priority":1,"record_length":96,"hex_timestamp":"000001a07214fff0"} 
[2026-09-05 20:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:34:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886738688001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886738688001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:34:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:34:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886738688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":173288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:34:50] local.INFO: GPS data processed {"connection_id":173288,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:34:50] local.INFO: Acknowledgment sent {"connection_id":173288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:34:51] local.INFO: TCP Data received {"connection_id":173289,"ip":"117.224.82.68","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:34:51] local.INFO: Processing buffer {"connection_id":173289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:34:51] local.INFO: IMEI packet received {"connection_id":173289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 20:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":173289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:34:53] local.INFO: TCP Data received {"connection_id":173289,"ip":"117.224.82.68","data_length":795,"data_hex":"000000000000030f8e0a000001a07218dc38012c7977c008d54540003500362f..."} 
[2026-09-05 20:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07218dc38012c7977c008d54540003500362f..."} 
[2026-09-05 20:34:53] local.INFO: Processing buffer {"connection_id":173289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07218dc38012c7977c008d54540003500362f..."} 
[2026-09-05 20:34:53] local.INFO: Packet analysis {"connection_id":173289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07218"} 
[2026-09-05 20:34:53] local.INFO: Extracted packet for processing {"connection_id":173289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07218"} 
[2026-09-05 20:34:53] local.INFO: GPS Element Parsed {"raw_longitude":746158016,"raw_latitude":148194624,"longitude_deg":74.6158016,"latitude_deg":14.8194624,"altitude":53,"angle":54,"satellites":47,"speed":40,"hex_longitude":"2c7977c0","hex_latitude":"08d54540","is_valid_coordinates":true} 
[2026-09-05 20:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886878208001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1720263251066880,"note":"Value kept but may cause issues"} 
[2026-09-05 20:34:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8744512770662084608,"note":"Value kept but may cause issues"} 
[2026-09-05 20:34:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788620627000,"timestamp_ms":1788620627000,"timestamp_seconds":1788620627,"priority":1,"record_length":96,"hex_timestamp":"000001a07218dc38"} 
[2026-09-05 20:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 20:34:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:34:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 20:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 20:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.82.68","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 20:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 20:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886878208001,"66":27604,"172":206,"9":56576,"24":40,"16":1720263251066880,"44":8744512770662084608},"client_ip":"117.224.82.68","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,9,24,16,44]} 
[2026-09-05 20:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 20:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 20:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886878208001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:34:53] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-05 20:34:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-05 20:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1720263251066880,"km_value":1720263251066.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:34:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":8744512770662084608,"description":"Unknown IO ID 44"} 
[2026-09-05 20:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886878208001,"power":27604,"unknown_172":206,"unknown_9":56576,"ignition":40,"odometer":null,"unknown_44":8744512770662084608}} 
[2026-09-05 20:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":173289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771167,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:34:53] local.INFO: GPS data processed {"connection_id":173289,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:34:53] local.INFO: Acknowledgment sent {"connection_id":173289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:34:54] local.INFO: TCP Data received {"connection_id":173289,"ip":"117.224.82.68","data_length":795,"data_hex":"000000000000030f8e0a000001a07218ff60012c79960008d557e0003600392e..."} 
[2026-09-05 20:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07218ff60012c79960008d557e0003600392e..."} 
[2026-09-05 20:34:54] local.INFO: Processing buffer {"connection_id":173289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07218ff60012c79960008d557e0003600392e..."} 
[2026-09-05 20:34:54] local.INFO: Packet analysis {"connection_id":173289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07218"} 
[2026-09-05 20:34:54] local.INFO: Extracted packet for processing {"connection_id":173289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07218"} 
[2026-09-05 20:34:54] local.INFO: GPS Element Parsed {"raw_longitude":746165760,"raw_latitude":148199392,"longitude_deg":74.616576,"latitude_deg":14.8199392,"altitude":54,"angle":57,"satellites":46,"speed":40,"hex_longitude":"2c799600","hex_latitude":"08d557e0","is_valid_coordinates":true} 
[2026-09-05 20:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886880512001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1720697042763776,"note":"Value kept but may cause issues"} 
[2026-09-05 20:34:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8752675544988205056,"note":"Value kept but may cause issues"} 
[2026-09-05 20:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788620636000,"timestamp_ms":1788620636000,"timestamp_seconds":1788620636,"priority":1,"record_length":96,"hex_timestamp":"000001a07218ff60"} 
[2026-09-05 20:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-05 20:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 20:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 20:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.82.68","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 20:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 20:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886880512001,"66":27571,"172":206,"9":56576,"24":40,"16":1720697042763776,"44":8752675544988205056},"client_ip":"117.224.82.68","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,9,24,16,44]} 
[2026-09-05 20:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 20:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 20:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886880512001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:34:54] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-05 20:34:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-05 20:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1720697042763776,"km_value":1720697042763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:34:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":8752675544988205056,"description":"Unknown IO ID 44"} 
[2026-09-05 20:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886880512001,"power":27571,"unknown_172":206,"unknown_9":56576,"ignition":40,"odometer":null,"unknown_44":8752675544988205056}} 
[2026-09-05 20:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":173289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771168,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:34:54] local.INFO: GPS data processed {"connection_id":173289,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:34:54] local.INFO: Acknowledgment sent {"connection_id":173289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:35:21] local.INFO: TCP Data received {"connection_id":173288,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0721997b8012d196500071ff128003e01452a..."} 
[2026-09-05 20:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0721997b8012d196500071ff128003e01452a..."} 
[2026-09-05 20:35:21] local.INFO: Processing buffer {"connection_id":173288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0721997b8012d196500071ff128003e01452a..."} 
[2026-09-05 20:35:21] local.INFO: Packet analysis {"connection_id":173288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07219"} 
[2026-09-05 20:35:21] local.INFO: Extracted packet for processing {"connection_id":173288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07219"} 
[2026-09-05 20:35:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886815744001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788620675000,"timestamp_ms":1788620675000,"timestamp_seconds":1788620675,"priority":1,"record_length":96,"hex_timestamp":"000001a0721997b8"} 
[2026-09-05 20:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886815744001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886815744001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:35:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:35:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886815744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":173288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:35:21] local.INFO: GPS data processed {"connection_id":173288,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:35:21] local.INFO: Acknowledgment sent {"connection_id":173288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:35:25] local.INFO: TCP Data received {"connection_id":173289,"ip":"117.224.82.68","data_length":795,"data_hex":"000000000000030f8e0a000001a072192288012c79b74008d56bd0003600392f..."} 
[2026-09-05 20:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072192288012c79b74008d56bd0003600392f..."} 
[2026-09-05 20:35:25] local.INFO: Processing buffer {"connection_id":173289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072192288012c79b74008d56bd0003600392f..."} 
[2026-09-05 20:35:25] local.INFO: Packet analysis {"connection_id":173289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07219"} 
[2026-09-05 20:35:25] local.INFO: Extracted packet for processing {"connection_id":173289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07219"} 
[2026-09-05 20:35:25] local.INFO: GPS Element Parsed {"raw_longitude":746174272,"raw_latitude":148204496,"longitude_deg":74.6174272,"latitude_deg":14.8204496,"altitude":54,"angle":57,"satellites":47,"speed":43,"hex_longitude":"2c79b740","hex_latitude":"08d56bd0","is_valid_coordinates":true} 
[2026-09-05 20:35: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-09-05 20:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886882816001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1721165194199040,"note":"Value kept but may cause issues"} 
[2026-09-05 20:35:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8761190163034923008,"note":"Value kept but may cause issues"} 
[2026-09-05 20:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788620645000,"timestamp_ms":1788620645000,"timestamp_seconds":1788620645,"priority":1,"record_length":96,"hex_timestamp":"000001a072192288"} 
[2026-09-05 20:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-05 20:35:25] 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-09-05 20:35: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-09-05 20:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 20:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 20:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.82.68","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 20:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 20:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886882816001,"66":27713,"172":206,"9":56576,"24":43,"16":1721165194199040,"44":8761190163034923008},"client_ip":"117.224.82.68","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,9,24,16,44]} 
[2026-09-05 20:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 20:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 20:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886882816001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:35:25] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-05 20:35:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-05 20:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1721165194199040,"km_value":1721165194199.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:35:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8761190163034923008,"description":"Unknown IO ID 44"} 
[2026-09-05 20:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886882816001,"power":27713,"unknown_172":206,"unknown_9":56576,"ignition":43,"odometer":null,"unknown_44":8761190163034923008}} 
[2026-09-05 20:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":173289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771170,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:35:26] local.INFO: GPS data processed {"connection_id":173289,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:35:26] local.INFO: Acknowledgment sent {"connection_id":173289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:35:44] local.INFO: TCP Data received {"connection_id":171908,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:35:44] local.INFO: Processing buffer {"connection_id":171908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:35:44] local.INFO: IMEI packet received {"connection_id":171908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":171908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:35:47] local.INFO: TCP Data received {"connection_id":171907,"ip":"117.224.82.68","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171907,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:35:47] local.INFO: Processing buffer {"connection_id":171907,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:35:47] local.INFO: IMEI packet received {"connection_id":171907,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 20:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":171907,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:35:48] local.INFO: TCP Data received {"connection_id":171907,"ip":"117.224.82.68","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171907,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:35:48] local.INFO: Processing buffer {"connection_id":171907,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:35:48] local.INFO: IMEI packet received {"connection_id":171907,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 20:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":171907,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:35:49] local.INFO: TCP Data received {"connection_id":171908,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:35:49] local.INFO: Processing buffer {"connection_id":171908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:35:49] local.INFO: IMEI packet received {"connection_id":171908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":171908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:35:50] local.INFO: TCP Data received {"connection_id":171908,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0721997b8012d196500071ff128003e01452a..."} 
[2026-09-05 20:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0721997b8012d196500071ff128003e01452a..."} 
[2026-09-05 20:35:50] local.INFO: Processing buffer {"connection_id":171908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0721997b8012d196500071ff128003e01452a..."} 
[2026-09-05 20:35:50] local.INFO: Packet analysis {"connection_id":171908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07219"} 
[2026-09-05 20:35:50] local.INFO: Extracted packet for processing {"connection_id":171908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07219"} 
[2026-09-05 20:35:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886815744001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788620675000,"timestamp_ms":1788620675000,"timestamp_seconds":1788620675,"priority":1,"record_length":96,"hex_timestamp":"000001a0721997b8"} 
[2026-09-05 20:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20: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-09-05 20:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886815744001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886815744001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:35:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:35:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886815744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":171908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:35:50] local.INFO: GPS data processed {"connection_id":171908,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:35:50] local.INFO: Acknowledgment sent {"connection_id":171908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:35:52] local.INFO: TCP Data received {"connection_id":171907,"ip":"117.224.82.68","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171907,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:35:52] local.INFO: Processing buffer {"connection_id":171907,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 20:35:52] local.INFO: IMEI packet received {"connection_id":171907,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 20:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":171907,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:35:57] local.INFO: TCP Data received {"connection_id":171907,"ip":"117.224.82.68","data_length":795,"data_hex":"000000000000030f8e0a000001a072194998012c79d74008d57f90003600382f..."} 
[2026-09-05 20:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072194998012c79d74008d57f90003600382f..."} 
[2026-09-05 20:35:57] local.INFO: Processing buffer {"connection_id":171907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072194998012c79d74008d57f90003600382f..."} 
[2026-09-05 20:35:57] local.INFO: Packet analysis {"connection_id":171907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07219"} 
[2026-09-05 20:35:57] local.INFO: Extracted packet for processing {"connection_id":171907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07219"} 
[2026-09-05 20:35:57] local.INFO: GPS Element Parsed {"raw_longitude":746182464,"raw_latitude":148209552,"longitude_deg":74.6182464,"latitude_deg":14.8209552,"altitude":54,"angle":56,"satellites":47,"speed":36,"hex_longitude":"2c79d740","hex_latitude":"08d57f90","is_valid_coordinates":true} 
[2026-09-05 20:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886885120001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1721620460732416,"note":"Value kept but may cause issues"} 
[2026-09-05 20:35:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8770549206011858944,"note":"Value kept but may cause issues"} 
[2026-09-05 20:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788620655000,"timestamp_ms":1788620655000,"timestamp_seconds":1788620655,"priority":1,"record_length":96,"hex_timestamp":"000001a072194998"} 
[2026-09-05 20:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-05 20:35:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:35:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":171907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":171907,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 20:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":171907,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 20:35:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.82.68","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 20:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 20:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886885120001,"66":27789,"172":206,"9":56576,"24":36,"16":1721620460732416,"44":8770549206011858944},"client_ip":"117.224.82.68","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,9,24,16,44]} 
[2026-09-05 20:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 20:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 20:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886885120001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:35:57] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-05 20:35:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-05 20:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1721620460732416,"km_value":1721620460732.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:35:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":8770549206011858944,"description":"Unknown IO ID 44"} 
[2026-09-05 20:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886885120001,"power":27789,"unknown_172":206,"unknown_9":56576,"ignition":36,"odometer":null,"unknown_44":8770549206011858944}} 
[2026-09-05 20:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":171907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771172,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:35:57] local.INFO: GPS data processed {"connection_id":171907,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:35:57] local.INFO: Acknowledgment sent {"connection_id":171907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:35:58] local.INFO: TCP Data received {"connection_id":171907,"ip":"117.224.82.68","data_length":795,"data_hex":"000000000000030f8e0a000001a072196cc0012c79f5c008d594200034002f2f..."} 
[2026-09-05 20:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072196cc0012c79f5c008d594200034002f2f..."} 
[2026-09-05 20:35:58] local.INFO: Processing buffer {"connection_id":171907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072196cc0012c79f5c008d594200034002f2f..."} 
[2026-09-05 20:35:58] local.INFO: Packet analysis {"connection_id":171907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07219"} 
[2026-09-05 20:35:58] local.INFO: Extracted packet for processing {"connection_id":171907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07219"} 
[2026-09-05 20:35:58] local.INFO: GPS Element Parsed {"raw_longitude":746190272,"raw_latitude":148214816,"longitude_deg":74.6190272,"latitude_deg":14.8214816,"altitude":52,"angle":47,"satellites":47,"speed":42,"hex_longitude":"2c79f5c0","hex_latitude":"08d59420","is_valid_coordinates":true} 
[2026-09-05 20:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886887680001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1722067137331200,"note":"Value kept but may cause issues"} 
[2026-09-05 20:35:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8779556405267894272,"note":"Value kept but may cause issues"} 
[2026-09-05 20:35:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788620664000,"timestamp_ms":1788620664000,"timestamp_seconds":1788620664,"priority":1,"record_length":96,"hex_timestamp":"000001a072196cc0"} 
[2026-09-05 20:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 20:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-05 20:35:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:35:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171907,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 20:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171907,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 20:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.82.68","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 20:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 20:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886887680001,"66":27571,"172":206,"9":56576,"24":42,"16":1722067137331200,"44":8779556405267894272},"client_ip":"117.224.82.68","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,9,24,16,44]} 
[2026-09-05 20:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 20:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 20:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886887680001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:35:58] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-05 20:35:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-05 20:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1722067137331200,"km_value":1722067137331.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:35:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":8779556405267894272,"description":"Unknown IO ID 44"} 
[2026-09-05 20:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886887680001,"power":27571,"unknown_172":206,"unknown_9":56576,"ignition":42,"odometer":null,"unknown_44":8779556405267894272}} 
[2026-09-05 20:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":171907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771173,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:35:58] local.INFO: GPS data processed {"connection_id":171907,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:35:58] local.INFO: Acknowledgment sent {"connection_id":171907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:36:21] local.INFO: TCP Data received {"connection_id":171908,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0721997b8012d196500071ff128003e01452a..."} 
[2026-09-05 20:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0721997b8012d196500071ff128003e01452a..."} 
[2026-09-05 20:36:21] local.INFO: Processing buffer {"connection_id":171908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0721997b8012d196500071ff128003e01452a..."} 
[2026-09-05 20:36:21] local.INFO: Packet analysis {"connection_id":171908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07219"} 
[2026-09-05 20:36:21] local.INFO: Extracted packet for processing {"connection_id":171908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07219"} 
[2026-09-05 20:36:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886815744001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788620675000,"timestamp_ms":1788620675000,"timestamp_seconds":1788620675,"priority":1,"record_length":96,"hex_timestamp":"000001a0721997b8"} 
[2026-09-05 20:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886815744001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886815744001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:36:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:36:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886815744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":171908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:36:21] local.INFO: GPS data processed {"connection_id":171908,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:36:21] local.INFO: Acknowledgment sent {"connection_id":171908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:36:49] local.INFO: TCP Data received {"connection_id":174606,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:36:49] local.INFO: Processing buffer {"connection_id":174606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:36:49] local.INFO: IMEI packet received {"connection_id":174606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":174606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:36:54] local.INFO: TCP Data received {"connection_id":174606,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:36:54] local.INFO: Processing buffer {"connection_id":174606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:36:54] local.INFO: IMEI packet received {"connection_id":174606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":174606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:36:55] local.INFO: TCP Data received {"connection_id":174606,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0721997b8012d196500071ff128003e01452a..."} 
[2026-09-05 20:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0721997b8012d196500071ff128003e01452a..."} 
[2026-09-05 20:36:55] local.INFO: Processing buffer {"connection_id":174606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0721997b8012d196500071ff128003e01452a..."} 
[2026-09-05 20:36:55] local.INFO: Packet analysis {"connection_id":174606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07219"} 
[2026-09-05 20:36:55] local.INFO: Extracted packet for processing {"connection_id":174606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07219"} 
[2026-09-05 20:36:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886815744001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788620675000,"timestamp_ms":1788620675000,"timestamp_seconds":1788620675,"priority":1,"record_length":96,"hex_timestamp":"000001a0721997b8"} 
[2026-09-05 20:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886815744001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886815744001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:36:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:36:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886815744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":174606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:36:55] local.INFO: GPS data processed {"connection_id":174606,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:36:55] local.INFO: Acknowledgment sent {"connection_id":174606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:36:59] local.INFO: TCP Data received {"connection_id":174606,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0721997b8012d196500071ff128003e01452a..."} 
[2026-09-05 20:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0721997b8012d196500071ff128003e01452a..."} 
[2026-09-05 20:36:59] local.INFO: Processing buffer {"connection_id":174606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0721997b8012d196500071ff128003e01452a..."} 
[2026-09-05 20:36:59] local.INFO: Packet analysis {"connection_id":174606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07219"} 
[2026-09-05 20:36:59] local.INFO: Extracted packet for processing {"connection_id":174606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07219"} 
[2026-09-05 20:36:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886815744001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788620675000,"timestamp_ms":1788620675000,"timestamp_seconds":1788620675,"priority":1,"record_length":96,"hex_timestamp":"000001a0721997b8"} 
[2026-09-05 20:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886815744001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886815744001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:36:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:36:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886815744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":174606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:36:59] local.INFO: GPS data processed {"connection_id":174606,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:36:59] local.INFO: Acknowledgment sent {"connection_id":174606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:37:44] local.INFO: TCP Data received {"connection_id":171909,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:37:44] local.INFO: Processing buffer {"connection_id":171909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:37:44] local.INFO: IMEI packet received {"connection_id":171909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":171909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:37:49] local.INFO: TCP Data received {"connection_id":171909,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:37:49] local.INFO: Processing buffer {"connection_id":171909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:37:49] local.INFO: IMEI packet received {"connection_id":171909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":171909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:37:50] local.INFO: TCP Data received {"connection_id":171909,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0721997b8012d196500071ff128003e01452a..."} 
[2026-09-05 20:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0721997b8012d196500071ff128003e01452a..."} 
[2026-09-05 20:37:50] local.INFO: Processing buffer {"connection_id":171909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0721997b8012d196500071ff128003e01452a..."} 
[2026-09-05 20:37:50] local.INFO: Packet analysis {"connection_id":171909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07219"} 
[2026-09-05 20:37:50] local.INFO: Extracted packet for processing {"connection_id":171909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07219"} 
[2026-09-05 20:37:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886815744001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:37:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788620675000,"timestamp_ms":1788620675000,"timestamp_seconds":1788620675,"priority":1,"record_length":96,"hex_timestamp":"000001a0721997b8"} 
[2026-09-05 20:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:37:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:37:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:37:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886815744001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886815744001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:37:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:37:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:37:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886815744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":171909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:37:50] local.INFO: GPS data processed {"connection_id":171909,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:37:50] local.INFO: Acknowledgment sent {"connection_id":171909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:38:21] local.INFO: TCP Data received {"connection_id":171909,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0721997b8012d196500071ff128003e01452a..."} 
[2026-09-05 20:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0721997b8012d196500071ff128003e01452a..."} 
[2026-09-05 20:38:21] local.INFO: Processing buffer {"connection_id":171909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0721997b8012d196500071ff128003e01452a..."} 
[2026-09-05 20:38:21] local.INFO: Packet analysis {"connection_id":171909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07219"} 
[2026-09-05 20:38:21] local.INFO: Extracted packet for processing {"connection_id":171909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07219"} 
[2026-09-05 20:38:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886815744001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788620675000,"timestamp_ms":1788620675000,"timestamp_seconds":1788620675,"priority":1,"record_length":96,"hex_timestamp":"000001a0721997b8"} 
[2026-09-05 20:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886815744001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886815744001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:38:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:38:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886815744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":171909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:38:21] local.INFO: GPS data processed {"connection_id":171909,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:38:21] local.INFO: Acknowledgment sent {"connection_id":171909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:38:44] local.INFO: TCP Data received {"connection_id":171910,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:38:44] local.INFO: Processing buffer {"connection_id":171910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:38:44] local.INFO: IMEI packet received {"connection_id":171910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":171910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:38:49] local.INFO: TCP Data received {"connection_id":171910,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:38:49] local.INFO: Processing buffer {"connection_id":171910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:38:49] local.INFO: IMEI packet received {"connection_id":171910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":171910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:38:50] local.INFO: TCP Data received {"connection_id":171910,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0721997b8012d196500071ff128003e01452a..."} 
[2026-09-05 20:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0721997b8012d196500071ff128003e01452a..."} 
[2026-09-05 20:38:50] local.INFO: Processing buffer {"connection_id":171910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0721997b8012d196500071ff128003e01452a..."} 
[2026-09-05 20:38:50] local.INFO: Packet analysis {"connection_id":171910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07219"} 
[2026-09-05 20:38:50] local.INFO: Extracted packet for processing {"connection_id":171910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07219"} 
[2026-09-05 20:38:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886815744001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788620675000,"timestamp_ms":1788620675000,"timestamp_seconds":1788620675,"priority":1,"record_length":96,"hex_timestamp":"000001a0721997b8"} 
[2026-09-05 20:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:38:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886815744001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886815744001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:38:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:38:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886815744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":171910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:38:50] local.INFO: GPS data processed {"connection_id":171910,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:38:50] local.INFO: Acknowledgment sent {"connection_id":171910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:39:10] local.INFO: TCP Data received {"connection_id":172167,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:39:10] local.INFO: Processing buffer {"connection_id":172167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:39:10] local.INFO: IMEI packet received {"connection_id":172167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":172167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:39:15] local.INFO: TCP Data received {"connection_id":172167,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:39:15] local.INFO: Processing buffer {"connection_id":172167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:39:15] local.INFO: IMEI packet received {"connection_id":172167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":172167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:39:21] local.INFO: TCP Data received {"connection_id":171910,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0721997b8012d196500071ff128003e01452a..."} 
[2026-09-05 20:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0721997b8012d196500071ff128003e01452a..."} 
[2026-09-05 20:39:21] local.INFO: Processing buffer {"connection_id":171910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0721997b8012d196500071ff128003e01452a..."} 
[2026-09-05 20:39:21] local.INFO: Packet analysis {"connection_id":171910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07219"} 
[2026-09-05 20:39:21] local.INFO: Extracted packet for processing {"connection_id":171910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07219"} 
[2026-09-05 20:39:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886815744001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788620675000,"timestamp_ms":1788620675000,"timestamp_seconds":1788620675,"priority":1,"record_length":96,"hex_timestamp":"000001a0721997b8"} 
[2026-09-05 20:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886815744001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886815744001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:39:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:39:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886815744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":171910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:39:21] local.INFO: GPS data processed {"connection_id":171910,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:39:21] local.INFO: Acknowledgment sent {"connection_id":171910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:39:22] local.INFO: TCP Data received {"connection_id":172167,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07272cf900100000000000000000000000000..."} 
[2026-09-05 20:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07272cf900100000000000000000000000000..."} 
[2026-09-05 20:39:22] local.INFO: Processing buffer {"connection_id":172167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07272cf900100000000000000000000000000..."} 
[2026-09-05 20:39:22] local.INFO: Packet analysis {"connection_id":172167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07272"} 
[2026-09-05 20:39:22] local.INFO: Extracted packet for processing {"connection_id":172167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07272"} 
[2026-09-05 20:39:22] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 20:39:22] 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-09-05 20:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:39:22] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-09-05 20:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788626522000,"timestamp_ms":1788626522000,"timestamp_seconds":1788626522,"priority":1,"record_length":96,"hex_timestamp":"000001a07272cf90"} 
[2026-09-05 20:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-05 20:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":172167,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 20:39:22] local.INFO: GPS data processed {"connection_id":172167,"processed":0,"errors":0,"total":1} 
[2026-09-05 20:39:22] local.INFO: Acknowledgment sent {"connection_id":172167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:39:30] local.INFO: TCP Data received {"connection_id":172167,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07272cf900100000000000000000000000000..."} 
[2026-09-05 20:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07272cf900100000000000000000000000000..."} 
[2026-09-05 20:39:30] local.INFO: Processing buffer {"connection_id":172167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07272cf900100000000000000000000000000..."} 
[2026-09-05 20:39:30] local.INFO: Packet analysis {"connection_id":172167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07272"} 
[2026-09-05 20:39:30] local.INFO: Extracted packet for processing {"connection_id":172167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07272"} 
[2026-09-05 20:39:30] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 20:39: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-09-05 20:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:39:30] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-09-05 20:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788626522000,"timestamp_ms":1788626522000,"timestamp_seconds":1788626522,"priority":1,"record_length":96,"hex_timestamp":"000001a07272cf90"} 
[2026-09-05 20:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-05 20:39:30] 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-09-05 20:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":172167,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 20:39:30] local.INFO: GPS data processed {"connection_id":172167,"processed":0,"errors":0,"total":1} 
[2026-09-05 20:39:30] local.INFO: Acknowledgment sent {"connection_id":172167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:39:45] local.INFO: TCP Data received {"connection_id":174607,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:39:45] local.INFO: Processing buffer {"connection_id":174607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:39:45] local.INFO: IMEI packet received {"connection_id":174607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":174607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:39:49] local.INFO: TCP Data received {"connection_id":174607,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:39:49] local.INFO: Processing buffer {"connection_id":174607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:39:49] local.INFO: IMEI packet received {"connection_id":174607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":174607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:39:50] local.INFO: TCP Data received {"connection_id":174607,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0721997b8012d196500071ff128003e01452a..."} 
[2026-09-05 20:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0721997b8012d196500071ff128003e01452a..."} 
[2026-09-05 20:39:50] local.INFO: Processing buffer {"connection_id":174607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0721997b8012d196500071ff128003e01452a..."} 
[2026-09-05 20:39:50] local.INFO: Packet analysis {"connection_id":174607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07219"} 
[2026-09-05 20:39:50] local.INFO: Extracted packet for processing {"connection_id":174607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07219"} 
[2026-09-05 20:39:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886815744001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788620675000,"timestamp_ms":1788620675000,"timestamp_seconds":1788620675,"priority":1,"record_length":96,"hex_timestamp":"000001a0721997b8"} 
[2026-09-05 20:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886815744001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886815744001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:39:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:39:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886815744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":174607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:39:50] local.INFO: GPS data processed {"connection_id":174607,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:39:50] local.INFO: Acknowledgment sent {"connection_id":174607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:40:08] local.INFO: TCP Data received {"connection_id":172167,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07272cf900100000000000000000000000000..."} 
[2026-09-05 20:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07272cf900100000000000000000000000000..."} 
[2026-09-05 20:40:08] local.INFO: Processing buffer {"connection_id":172167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07272cf900100000000000000000000000000..."} 
[2026-09-05 20:40:08] local.INFO: Packet analysis {"connection_id":172167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07272"} 
[2026-09-05 20:40:08] local.INFO: Extracted packet for processing {"connection_id":172167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07272"} 
[2026-09-05 20:40:08] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 20:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:40:08] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-09-05 20:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788626522000,"timestamp_ms":1788626522000,"timestamp_seconds":1788626522,"priority":1,"record_length":96,"hex_timestamp":"000001a07272cf90"} 
[2026-09-05 20:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-05 20:40:08] 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-09-05 20: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-09-05 20:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":172167,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 20:40:08] local.INFO: GPS data processed {"connection_id":172167,"processed":0,"errors":0,"total":1} 
[2026-09-05 20:40:08] local.INFO: Acknowledgment sent {"connection_id":172167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:40:21] local.INFO: TCP Data received {"connection_id":174607,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0721e2f80012d196500071ff128003e014526..."} 
[2026-09-05 20:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0721e2f80012d196500071ff128003e014526..."} 
[2026-09-05 20:40:21] local.INFO: Processing buffer {"connection_id":174607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0721e2f80012d196500071ff128003e014526..."} 
[2026-09-05 20:40:21] local.INFO: Packet analysis {"connection_id":174607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0721e"} 
[2026-09-05 20:40:21] local.INFO: Extracted packet for processing {"connection_id":174607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0721e"} 
[2026-09-05 20:40:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886892800001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788620976000,"timestamp_ms":1788620976000,"timestamp_seconds":1788620976,"priority":1,"record_length":96,"hex_timestamp":"000001a0721e2f80"} 
[2026-09-05 20:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886892800001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886892800001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:40:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:40:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886892800001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":174607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:40:21] local.INFO: GPS data processed {"connection_id":174607,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:40:21] local.INFO: Acknowledgment sent {"connection_id":174607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:40:46] local.INFO: TCP Data received {"connection_id":172167,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07272cf900100000000000000000000000000..."} 
[2026-09-05 20:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07272cf900100000000000000000000000000..."} 
[2026-09-05 20:40:46] local.INFO: Processing buffer {"connection_id":172167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07272cf900100000000000000000000000000..."} 
[2026-09-05 20:40:46] local.INFO: Packet analysis {"connection_id":172167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07272"} 
[2026-09-05 20:40:46] local.INFO: Extracted packet for processing {"connection_id":172167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07272"} 
[2026-09-05 20:40:46] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 20:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:40:46] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-09-05 20:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788626522000,"timestamp_ms":1788626522000,"timestamp_seconds":1788626522,"priority":1,"record_length":96,"hex_timestamp":"000001a07272cf90"} 
[2026-09-05 20:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-05 20:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20: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-09-05 20:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":172167,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 20:40:46] local.INFO: GPS data processed {"connection_id":172167,"processed":0,"errors":0,"total":1} 
[2026-09-05 20:40:46] local.INFO: Acknowledgment sent {"connection_id":172167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:40:49] local.INFO: TCP Data received {"connection_id":174608,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:40:49] local.INFO: Processing buffer {"connection_id":174608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:40:49] local.INFO: IMEI packet received {"connection_id":174608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":174608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:40:54] local.INFO: TCP Data received {"connection_id":174608,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:40:54] local.INFO: Processing buffer {"connection_id":174608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:40:54] local.INFO: IMEI packet received {"connection_id":174608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":174608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:40:55] local.INFO: TCP Data received {"connection_id":174608,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0721e2f80012d196500071ff128003e014526..."} 
[2026-09-05 20:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0721e2f80012d196500071ff128003e014526..."} 
[2026-09-05 20:40:55] local.INFO: Processing buffer {"connection_id":174608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0721e2f80012d196500071ff128003e014526..."} 
[2026-09-05 20:40:55] local.INFO: Packet analysis {"connection_id":174608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0721e"} 
[2026-09-05 20:40:55] local.INFO: Extracted packet for processing {"connection_id":174608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0721e"} 
[2026-09-05 20:40:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886892800001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788620976000,"timestamp_ms":1788620976000,"timestamp_seconds":1788620976,"priority":1,"record_length":96,"hex_timestamp":"000001a0721e2f80"} 
[2026-09-05 20:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886892800001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886892800001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:40:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:40:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886892800001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":174608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:40:55] local.INFO: GPS data processed {"connection_id":174608,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:40:55] local.INFO: Acknowledgment sent {"connection_id":174608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:40:59] local.INFO: TCP Data received {"connection_id":174608,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0721e2f80012d196500071ff128003e014526..."} 
[2026-09-05 20:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0721e2f80012d196500071ff128003e014526..."} 
[2026-09-05 20:40:59] local.INFO: Processing buffer {"connection_id":174608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0721e2f80012d196500071ff128003e014526..."} 
[2026-09-05 20:40:59] local.INFO: Packet analysis {"connection_id":174608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0721e"} 
[2026-09-05 20:40:59] local.INFO: Extracted packet for processing {"connection_id":174608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0721e"} 
[2026-09-05 20:40:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886892800001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788620976000,"timestamp_ms":1788620976000,"timestamp_seconds":1788620976,"priority":1,"record_length":96,"hex_timestamp":"000001a0721e2f80"} 
[2026-09-05 20:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:40:59] 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-09-05 20:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886892800001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886892800001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:40:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:40:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886892800001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":174608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:40:59] local.INFO: GPS data processed {"connection_id":174608,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:40:59] local.INFO: Acknowledgment sent {"connection_id":174608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:41:18] local.INFO: TCP Data received {"connection_id":172167,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07272cf900100000000000000000000000000..."} 
[2026-09-05 20:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07272cf900100000000000000000000000000..."} 
[2026-09-05 20:41:18] local.INFO: Processing buffer {"connection_id":172167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07272cf900100000000000000000000000000..."} 
[2026-09-05 20:41:18] local.INFO: Packet analysis {"connection_id":172167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07272"} 
[2026-09-05 20:41:18] local.INFO: Extracted packet for processing {"connection_id":172167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07272"} 
[2026-09-05 20:41:18] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 20:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:41:18] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-09-05 20:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788626522000,"timestamp_ms":1788626522000,"timestamp_seconds":1788626522,"priority":1,"record_length":96,"hex_timestamp":"000001a07272cf90"} 
[2026-09-05 20:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:41:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-05 20:41:18] 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-09-05 20:41:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":172167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":172167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":172167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:41:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":172167,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 20:41:18] local.INFO: GPS data processed {"connection_id":172167,"processed":0,"errors":0,"total":1} 
[2026-09-05 20:41:18] local.INFO: Acknowledgment sent {"connection_id":172167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:41:44] local.INFO: TCP Data received {"connection_id":174609,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:41:44] local.INFO: Processing buffer {"connection_id":174609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:41:44] local.INFO: IMEI packet received {"connection_id":174609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":174609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:41:49] local.INFO: TCP Data received {"connection_id":174609,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:41:49] local.INFO: Processing buffer {"connection_id":174609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:41:49] local.INFO: IMEI packet received {"connection_id":174609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":174609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:41:49] local.INFO: TCP Data received {"connection_id":172167,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07272cf900100000000000000000000000000..."} 
[2026-09-05 20:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07272cf900100000000000000000000000000..."} 
[2026-09-05 20:41:49] local.INFO: Processing buffer {"connection_id":172167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07272cf900100000000000000000000000000..."} 
[2026-09-05 20:41:49] local.INFO: Packet analysis {"connection_id":172167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07272"} 
[2026-09-05 20:41:49] local.INFO: Extracted packet for processing {"connection_id":172167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07272"} 
[2026-09-05 20:41:49] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 20:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:41:49] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-09-05 20:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788626522000,"timestamp_ms":1788626522000,"timestamp_seconds":1788626522,"priority":1,"record_length":96,"hex_timestamp":"000001a07272cf90"} 
[2026-09-05 20:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-05 20:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":172167,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 20:41:49] local.INFO: GPS data processed {"connection_id":172167,"processed":0,"errors":0,"total":1} 
[2026-09-05 20:41:49] local.INFO: Acknowledgment sent {"connection_id":172167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:41:50] local.INFO: TCP Data received {"connection_id":174609,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0721e2f80012d196500071ff128003e014526..."} 
[2026-09-05 20:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0721e2f80012d196500071ff128003e014526..."} 
[2026-09-05 20:41:50] local.INFO: Processing buffer {"connection_id":174609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0721e2f80012d196500071ff128003e014526..."} 
[2026-09-05 20:41:50] local.INFO: Packet analysis {"connection_id":174609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0721e"} 
[2026-09-05 20:41:50] local.INFO: Extracted packet for processing {"connection_id":174609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0721e"} 
[2026-09-05 20:41:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886892800001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788620976000,"timestamp_ms":1788620976000,"timestamp_seconds":1788620976,"priority":1,"record_length":96,"hex_timestamp":"000001a0721e2f80"} 
[2026-09-05 20:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:41:50] 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-09-05 20:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:41:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:41:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886892800001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886892800001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:41:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:41:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886892800001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":174609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:41:50] local.INFO: GPS data processed {"connection_id":174609,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:41:50] local.INFO: Acknowledgment sent {"connection_id":174609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:42:21] local.INFO: TCP Data received {"connection_id":172167,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07272cf900100000000000000000000000000..."} 
[2026-09-05 20:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07272cf900100000000000000000000000000..."} 
[2026-09-05 20:42:21] local.INFO: Processing buffer {"connection_id":172167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07272cf900100000000000000000000000000..."} 
[2026-09-05 20:42:21] local.INFO: Packet analysis {"connection_id":172167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07272"} 
[2026-09-05 20:42:21] local.INFO: Extracted packet for processing {"connection_id":172167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07272"} 
[2026-09-05 20:42:21] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 20:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:42:21] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-09-05 20:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788626522000,"timestamp_ms":1788626522000,"timestamp_seconds":1788626522,"priority":1,"record_length":96,"hex_timestamp":"000001a07272cf90"} 
[2026-09-05 20:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-05 20:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":172167,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 20:42:21] local.INFO: GPS data processed {"connection_id":172167,"processed":0,"errors":0,"total":1} 
[2026-09-05 20:42:21] local.INFO: Acknowledgment sent {"connection_id":172167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:42:21] local.INFO: TCP Data received {"connection_id":174609,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0721e2f80012d196500071ff128003e014526..."} 
[2026-09-05 20:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0721e2f80012d196500071ff128003e014526..."} 
[2026-09-05 20:42:21] local.INFO: Processing buffer {"connection_id":174609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0721e2f80012d196500071ff128003e014526..."} 
[2026-09-05 20:42:21] local.INFO: Packet analysis {"connection_id":174609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0721e"} 
[2026-09-05 20:42:21] local.INFO: Extracted packet for processing {"connection_id":174609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0721e"} 
[2026-09-05 20:42:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886892800001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788620976000,"timestamp_ms":1788620976000,"timestamp_seconds":1788620976,"priority":1,"record_length":96,"hex_timestamp":"000001a0721e2f80"} 
[2026-09-05 20:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886892800001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886892800001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:42:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:42:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886892800001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":174609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:42:21] local.INFO: GPS data processed {"connection_id":174609,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:42:21] local.INFO: Acknowledgment sent {"connection_id":174609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:42:44] local.INFO: TCP Data received {"connection_id":173290,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:42:44] local.INFO: Processing buffer {"connection_id":173290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:42:44] local.INFO: IMEI packet received {"connection_id":173290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":173290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:42:49] local.INFO: TCP Data received {"connection_id":173290,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:42:49] local.INFO: Processing buffer {"connection_id":173290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:42:49] local.INFO: IMEI packet received {"connection_id":173290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":173290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:42:50] local.INFO: TCP Data received {"connection_id":173290,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0721e2f80012d196500071ff128003e014526..."} 
[2026-09-05 20:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0721e2f80012d196500071ff128003e014526..."} 
[2026-09-05 20:42:50] local.INFO: Processing buffer {"connection_id":173290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0721e2f80012d196500071ff128003e014526..."} 
[2026-09-05 20:42:50] local.INFO: Packet analysis {"connection_id":173290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0721e"} 
[2026-09-05 20:42:50] local.INFO: Extracted packet for processing {"connection_id":173290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0721e"} 
[2026-09-05 20:42:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886892800001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788620976000,"timestamp_ms":1788620976000,"timestamp_seconds":1788620976,"priority":1,"record_length":96,"hex_timestamp":"000001a0721e2f80"} 
[2026-09-05 20:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:42:50] 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-09-05 20:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886892800001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886892800001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:42:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:42:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886892800001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":173290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:42:50] local.INFO: GPS data processed {"connection_id":173290,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:42:50] local.INFO: Acknowledgment sent {"connection_id":173290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:42:53] local.INFO: TCP Data received {"connection_id":172167,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07272cf900100000000000000000000000000..."} 
[2026-09-05 20:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07272cf900100000000000000000000000000..."} 
[2026-09-05 20:42:53] local.INFO: Processing buffer {"connection_id":172167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07272cf900100000000000000000000000000..."} 
[2026-09-05 20:42:53] local.INFO: Packet analysis {"connection_id":172167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07272"} 
[2026-09-05 20:42:53] local.INFO: Extracted packet for processing {"connection_id":172167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07272"} 
[2026-09-05 20:42:53] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 20:42:53] 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-09-05 20:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:42:53] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-09-05 20:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788626522000,"timestamp_ms":1788626522000,"timestamp_seconds":1788626522,"priority":1,"record_length":96,"hex_timestamp":"000001a07272cf90"} 
[2026-09-05 20:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-05 20:42:53] 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-09-05 20:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":172167,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 20:42:53] local.INFO: GPS data processed {"connection_id":172167,"processed":0,"errors":0,"total":1} 
[2026-09-05 20:42:53] local.INFO: Acknowledgment sent {"connection_id":172167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:43:21] local.INFO: TCP Data received {"connection_id":173290,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0721e2f80012d196500071ff128003e014526..."} 
[2026-09-05 20:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0721e2f80012d196500071ff128003e014526..."} 
[2026-09-05 20:43:21] local.INFO: Processing buffer {"connection_id":173290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0721e2f80012d196500071ff128003e014526..."} 
[2026-09-05 20:43:21] local.INFO: Packet analysis {"connection_id":173290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0721e"} 
[2026-09-05 20:43:21] local.INFO: Extracted packet for processing {"connection_id":173290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0721e"} 
[2026-09-05 20:43:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886892800001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788620976000,"timestamp_ms":1788620976000,"timestamp_seconds":1788620976,"priority":1,"record_length":96,"hex_timestamp":"000001a0721e2f80"} 
[2026-09-05 20:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886892800001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886892800001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:43:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:43:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886892800001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":173290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:43:21] local.INFO: GPS data processed {"connection_id":173290,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:43:21] local.INFO: Acknowledgment sent {"connection_id":173290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:43:25] local.INFO: TCP Data received {"connection_id":172167,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07272cf900100000000000000000000000000..."} 
[2026-09-05 20:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07272cf900100000000000000000000000000..."} 
[2026-09-05 20:43:25] local.INFO: Processing buffer {"connection_id":172167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07272cf900100000000000000000000000000..."} 
[2026-09-05 20:43:25] local.INFO: Packet analysis {"connection_id":172167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07272"} 
[2026-09-05 20:43:25] local.INFO: Extracted packet for processing {"connection_id":172167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07272"} 
[2026-09-05 20:43:25] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-05 20:43:25] 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-09-05 20:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:43:25] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-09-05 20:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788626522000,"timestamp_ms":1788626522000,"timestamp_seconds":1788626522,"priority":1,"record_length":96,"hex_timestamp":"000001a07272cf90"} 
[2026-09-05 20:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-05 20:43:25] 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-09-05 20:43:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:43:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":172167,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-05 20:43:25] local.INFO: GPS data processed {"connection_id":172167,"processed":0,"errors":0,"total":1} 
[2026-09-05 20:43:25] local.INFO: Acknowledgment sent {"connection_id":172167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:43:44] local.INFO: TCP Data received {"connection_id":174610,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:43:44] local.INFO: Processing buffer {"connection_id":174610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:43:44] local.INFO: IMEI packet received {"connection_id":174610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":174610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:43:49] local.INFO: TCP Data received {"connection_id":174610,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:43:49] local.INFO: Processing buffer {"connection_id":174610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:43:49] local.INFO: IMEI packet received {"connection_id":174610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":174610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:43:50] local.INFO: TCP Data received {"connection_id":174610,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0721e2f80012d196500071ff128003e014526..."} 
[2026-09-05 20:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0721e2f80012d196500071ff128003e014526..."} 
[2026-09-05 20:43:50] local.INFO: Processing buffer {"connection_id":174610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0721e2f80012d196500071ff128003e014526..."} 
[2026-09-05 20:43:50] local.INFO: Packet analysis {"connection_id":174610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0721e"} 
[2026-09-05 20:43:50] local.INFO: Extracted packet for processing {"connection_id":174610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0721e"} 
[2026-09-05 20:43:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886892800001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788620976000,"timestamp_ms":1788620976000,"timestamp_seconds":1788620976,"priority":1,"record_length":96,"hex_timestamp":"000001a0721e2f80"} 
[2026-09-05 20:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:43:50] 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-09-05 20:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886892800001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886892800001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:43:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:43:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886892800001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":174610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:43:50] local.INFO: GPS data processed {"connection_id":174610,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:43:50] local.INFO: Acknowledgment sent {"connection_id":174610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:44:02] local.INFO: TCP Data received {"connection_id":172167,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072216ba0012d77ab0005f2a678000801192e..."} 
[2026-09-05 20:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072216ba0012d77ab0005f2a678000801192e..."} 
[2026-09-05 20:44:02] local.INFO: Processing buffer {"connection_id":172167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072216ba0012d77ab0005f2a678000801192e..."} 
[2026-09-05 20:44:02] local.INFO: Packet analysis {"connection_id":172167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07221"} 
[2026-09-05 20:44:02] local.INFO: Extracted packet for processing {"connection_id":172167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07221"} 
[2026-09-05 20:44:02] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":46,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 20:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:44:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,163,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 20:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788621188000,"timestamp_ms":1788621188000,"timestamp_seconds":1788621188,"priority":1,"record_length":96,"hex_timestamp":"000001a072216ba0"} 
[2026-09-05 20:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-05 20:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:44:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":26321,"163":206,"9":24832,"24":0,"16":399919772323545088},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16]} 
[2026-09-05 20:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-05 20:44:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:44:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 20:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:44:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":26321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null}} 
[2026-09-05 20:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":172167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:44:02] local.INFO: GPS data processed {"connection_id":172167,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:44:02] local.INFO: Acknowledgment sent {"connection_id":172167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:44:21] local.INFO: TCP Data received {"connection_id":174610,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0721e2f80012d196500071ff128003e014526..."} 
[2026-09-05 20:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0721e2f80012d196500071ff128003e014526..."} 
[2026-09-05 20:44:21] local.INFO: Processing buffer {"connection_id":174610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0721e2f80012d196500071ff128003e014526..."} 
[2026-09-05 20:44:21] local.INFO: Packet analysis {"connection_id":174610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0721e"} 
[2026-09-05 20:44:21] local.INFO: Extracted packet for processing {"connection_id":174610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0721e"} 
[2026-09-05 20:44:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886892800001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788620976000,"timestamp_ms":1788620976000,"timestamp_seconds":1788620976,"priority":1,"record_length":96,"hex_timestamp":"000001a0721e2f80"} 
[2026-09-05 20:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886892800001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886892800001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:44:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:44:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886892800001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":174610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:44:21] local.INFO: GPS data processed {"connection_id":174610,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:44:21] local.INFO: Acknowledgment sent {"connection_id":174610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:44:33] local.INFO: TCP Data received {"connection_id":172167,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072216ba0012d77ab0005f2a678000801192e..."} 
[2026-09-05 20:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072216ba0012d77ab0005f2a678000801192e..."} 
[2026-09-05 20:44:33] local.INFO: Processing buffer {"connection_id":172167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072216ba0012d77ab0005f2a678000801192e..."} 
[2026-09-05 20:44:33] local.INFO: Packet analysis {"connection_id":172167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07221"} 
[2026-09-05 20:44:33] local.INFO: Extracted packet for processing {"connection_id":172167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07221"} 
[2026-09-05 20:44:33] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":46,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:44:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,163,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 20:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788621188000,"timestamp_ms":1788621188000,"timestamp_seconds":1788621188,"priority":1,"record_length":96,"hex_timestamp":"000001a072216ba0"} 
[2026-09-05 20:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20: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":44,"data_length":795,"current_offset":136} 
[2026-09-05 20:44: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-09-05 20: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-09-05 20:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":26321,"163":206,"9":24832,"24":0,"16":399919772323545088},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16]} 
[2026-09-05 20:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-05 20:44:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:44:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 20:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:44:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":26321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null}} 
[2026-09-05 20:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":172167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:44:33] local.INFO: GPS data processed {"connection_id":172167,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:44:33] local.INFO: Acknowledgment sent {"connection_id":172167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:44:44] local.INFO: TCP Data received {"connection_id":172168,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:44:44] local.INFO: Processing buffer {"connection_id":172168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:44:44] local.INFO: IMEI packet received {"connection_id":172168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":172168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:44:49] local.INFO: TCP Data received {"connection_id":172168,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:44:49] local.INFO: Processing buffer {"connection_id":172168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:44:49] local.INFO: IMEI packet received {"connection_id":172168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":172168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:44:50] local.INFO: TCP Data received {"connection_id":172168,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0721e2f80012d196500071ff128003e014526..."} 
[2026-09-05 20:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0721e2f80012d196500071ff128003e014526..."} 
[2026-09-05 20:44:50] local.INFO: Processing buffer {"connection_id":172168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0721e2f80012d196500071ff128003e014526..."} 
[2026-09-05 20:44:50] local.INFO: Packet analysis {"connection_id":172168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0721e"} 
[2026-09-05 20:44:50] local.INFO: Extracted packet for processing {"connection_id":172168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0721e"} 
[2026-09-05 20:44:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":62,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886892800001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788620976000,"timestamp_ms":1788620976000,"timestamp_seconds":1788620976,"priority":1,"record_length":96,"hex_timestamp":"000001a0721e2f80"} 
[2026-09-05 20:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:44:50] 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-09-05 20:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 20:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:44:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886892800001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886892800001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:44:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:44:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886892800001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":172168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:44:50] local.INFO: GPS data processed {"connection_id":172168,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:44:50] local.INFO: Acknowledgment sent {"connection_id":172168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:45:04] local.INFO: TCP Data received {"connection_id":172167,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072216ba0012d77ab0005f2a678000801192e..."} 
[2026-09-05 20:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072216ba0012d77ab0005f2a678000801192e..."} 
[2026-09-05 20:45:04] local.INFO: Processing buffer {"connection_id":172167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072216ba0012d77ab0005f2a678000801192e..."} 
[2026-09-05 20:45:04] local.INFO: Packet analysis {"connection_id":172167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07221"} 
[2026-09-05 20:45:04] local.INFO: Extracted packet for processing {"connection_id":172167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07221"} 
[2026-09-05 20:45:04] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":46,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 20:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:45:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,163,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 20:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788621188000,"timestamp_ms":1788621188000,"timestamp_seconds":1788621188,"priority":1,"record_length":96,"hex_timestamp":"000001a072216ba0"} 
[2026-09-05 20:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-05 20:45:04] 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-09-05 20:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":26321,"163":206,"9":24832,"24":0,"16":399919772323545088},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16]} 
[2026-09-05 20:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-05 20:45:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:45:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 20:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:45:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":26321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null}} 
[2026-09-05 20:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":172167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:45:04] local.INFO: GPS data processed {"connection_id":172167,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:45:04] local.INFO: Acknowledgment sent {"connection_id":172167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:45:21] local.INFO: TCP Data received {"connection_id":172168,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07222c748012d196500071ff1280041014527..."} 
[2026-09-05 20:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07222c748012d196500071ff1280041014527..."} 
[2026-09-05 20:45:21] local.INFO: Processing buffer {"connection_id":172168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07222c748012d196500071ff1280041014527..."} 
[2026-09-05 20:45:21] local.INFO: Packet analysis {"connection_id":172168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07222"} 
[2026-09-05 20:45:21] local.INFO: Extracted packet for processing {"connection_id":172168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07222"} 
[2026-09-05 20:45:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886969856001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788621277000,"timestamp_ms":1788621277000,"timestamp_seconds":1788621277,"priority":1,"record_length":96,"hex_timestamp":"000001a07222c748"} 
[2026-09-05 20:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 20:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:45:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886969856001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886969856001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:45:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:45:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886969856001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":172168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:45:21] local.INFO: GPS data processed {"connection_id":172168,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:45:21] local.INFO: Acknowledgment sent {"connection_id":172168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:45:49] local.INFO: TCP Data received {"connection_id":174611,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:45:49] local.INFO: Processing buffer {"connection_id":174611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:45:49] local.INFO: IMEI packet received {"connection_id":174611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":174611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:45:50] local.INFO: TCP Data received {"connection_id":173291,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:45:50] local.INFO: Processing buffer {"connection_id":173291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:45:50] local.INFO: IMEI packet received {"connection_id":173291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":173291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:45:54] local.INFO: TCP Data received {"connection_id":174611,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:45:54] local.INFO: Processing buffer {"connection_id":174611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:45:54] local.INFO: IMEI packet received {"connection_id":174611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":174611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:45:55] local.INFO: TCP Data received {"connection_id":173291,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:45:55] local.INFO: Processing buffer {"connection_id":173291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:45:55] local.INFO: IMEI packet received {"connection_id":173291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":173291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:45:55] local.INFO: TCP Data received {"connection_id":174611,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07222c748012d196500071ff1280041014527..."} 
[2026-09-05 20:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07222c748012d196500071ff1280041014527..."} 
[2026-09-05 20:45:55] local.INFO: Processing buffer {"connection_id":174611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07222c748012d196500071ff1280041014527..."} 
[2026-09-05 20:45:55] local.INFO: Packet analysis {"connection_id":174611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07222"} 
[2026-09-05 20:45:55] local.INFO: Extracted packet for processing {"connection_id":174611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07222"} 
[2026-09-05 20:45:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886969856001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788621277000,"timestamp_ms":1788621277000,"timestamp_seconds":1788621277,"priority":1,"record_length":96,"hex_timestamp":"000001a07222c748"} 
[2026-09-05 20:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 20:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886969856001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886969856001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:45:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:45:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886969856001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":174611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:45:55] local.INFO: GPS data processed {"connection_id":174611,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:45:55] local.INFO: Acknowledgment sent {"connection_id":174611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:45:59] local.INFO: TCP Data received {"connection_id":174611,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07222c748012d196500071ff1280041014527..."} 
[2026-09-05 20:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07222c748012d196500071ff1280041014527..."} 
[2026-09-05 20:45:59] local.INFO: Processing buffer {"connection_id":174611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07222c748012d196500071ff1280041014527..."} 
[2026-09-05 20:45:59] local.INFO: Packet analysis {"connection_id":174611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07222"} 
[2026-09-05 20:45:59] local.INFO: Extracted packet for processing {"connection_id":174611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07222"} 
[2026-09-05 20:45:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886969856001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788621277000,"timestamp_ms":1788621277000,"timestamp_seconds":1788621277,"priority":1,"record_length":96,"hex_timestamp":"000001a07222c748"} 
[2026-09-05 20:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:45:59] 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-09-05 20:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 20:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886969856001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886969856001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:45:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:45:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886969856001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":174611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:45:59] local.INFO: GPS data processed {"connection_id":174611,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:45:59] local.INFO: Acknowledgment sent {"connection_id":174611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:46:00] local.INFO: TCP Data received {"connection_id":173291,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:46:00] local.INFO: Processing buffer {"connection_id":173291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:46:00] local.INFO: IMEI packet received {"connection_id":173291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":173291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:46:01] local.INFO: TCP Data received {"connection_id":173291,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072216ba0012d77ab0005f2a678000801192e..."} 
[2026-09-05 20:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072216ba0012d77ab0005f2a678000801192e..."} 
[2026-09-05 20:46:01] local.INFO: Processing buffer {"connection_id":173291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072216ba0012d77ab0005f2a678000801192e..."} 
[2026-09-05 20:46:01] local.INFO: Packet analysis {"connection_id":173291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07221"} 
[2026-09-05 20:46:01] local.INFO: Extracted packet for processing {"connection_id":173291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07221"} 
[2026-09-05 20:46:01] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":46,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 20:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:46:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,163,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 20:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788621188000,"timestamp_ms":1788621188000,"timestamp_seconds":1788621188,"priority":1,"record_length":96,"hex_timestamp":"000001a072216ba0"} 
[2026-09-05 20:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-05 20:46:01] 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-09-05 20:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":26321,"163":206,"9":24832,"24":0,"16":399919772323545088},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16]} 
[2026-09-05 20:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-05 20:46:01] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:46:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 20:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:46:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":26321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null}} 
[2026-09-05 20:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":173291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:46:01] local.INFO: GPS data processed {"connection_id":173291,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:46:01] local.INFO: Acknowledgment sent {"connection_id":173291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:46:33] local.INFO: TCP Data received {"connection_id":173291,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072216ba0012d77ab0005f2a678000801192e..."} 
[2026-09-05 20:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072216ba0012d77ab0005f2a678000801192e..."} 
[2026-09-05 20:46:33] local.INFO: Processing buffer {"connection_id":173291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072216ba0012d77ab0005f2a678000801192e..."} 
[2026-09-05 20:46:33] local.INFO: Packet analysis {"connection_id":173291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07221"} 
[2026-09-05 20:46:33] local.INFO: Extracted packet for processing {"connection_id":173291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07221"} 
[2026-09-05 20:46:33] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":46,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 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-09-05 20:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:46:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,163,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 20:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788621188000,"timestamp_ms":1788621188000,"timestamp_seconds":1788621188,"priority":1,"record_length":96,"hex_timestamp":"000001a072216ba0"} 
[2026-09-05 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-09-05 20:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-05 20:46: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-09-05 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-09-05 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-09-05 20:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":26321,"163":206,"9":24832,"24":0,"16":399919772323545088},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16]} 
[2026-09-05 20:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-05 20:46:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:46:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 20:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:46:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":26321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null}} 
[2026-09-05 20:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":173291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:46:33] local.INFO: GPS data processed {"connection_id":173291,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:46:33] local.INFO: Acknowledgment sent {"connection_id":173291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:46:44] local.INFO: TCP Data received {"connection_id":173292,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173292,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:46:44] local.INFO: Processing buffer {"connection_id":173292,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:46:44] local.INFO: IMEI packet received {"connection_id":173292,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":173292,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:46:49] local.INFO: TCP Data received {"connection_id":173292,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173292,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:46:49] local.INFO: Processing buffer {"connection_id":173292,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:46:49] local.INFO: IMEI packet received {"connection_id":173292,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":173292,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:46:50] local.INFO: TCP Data received {"connection_id":173292,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07222c748012d196500071ff1280041014527..."} 
[2026-09-05 20:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07222c748012d196500071ff1280041014527..."} 
[2026-09-05 20:46:50] local.INFO: Processing buffer {"connection_id":173292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07222c748012d196500071ff1280041014527..."} 
[2026-09-05 20:46:50] local.INFO: Packet analysis {"connection_id":173292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07222"} 
[2026-09-05 20:46:50] local.INFO: Extracted packet for processing {"connection_id":173292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07222"} 
[2026-09-05 20:46:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886969856001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788621277000,"timestamp_ms":1788621277000,"timestamp_seconds":1788621277,"priority":1,"record_length":96,"hex_timestamp":"000001a07222c748"} 
[2026-09-05 20:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:46:50] 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-09-05 20:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 20:46:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:46:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886969856001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886969856001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:46:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:46:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886969856001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":173292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:46:50] local.INFO: GPS data processed {"connection_id":173292,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:46:50] local.INFO: Acknowledgment sent {"connection_id":173292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:46:55] local.INFO: TCP Data received {"connection_id":171911,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:46:55] local.INFO: Processing buffer {"connection_id":171911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:46:55] local.INFO: IMEI packet received {"connection_id":171911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":171911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:47:00] local.INFO: TCP Data received {"connection_id":171911,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:47:00] local.INFO: Processing buffer {"connection_id":171911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:47:00] local.INFO: IMEI packet received {"connection_id":171911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":171911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:47:02] local.INFO: TCP Data received {"connection_id":171911,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072216ba0012d77ab0005f2a678000801192e..."} 
[2026-09-05 20:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072216ba0012d77ab0005f2a678000801192e..."} 
[2026-09-05 20:47:02] local.INFO: Processing buffer {"connection_id":171911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072216ba0012d77ab0005f2a678000801192e..."} 
[2026-09-05 20:47:02] local.INFO: Packet analysis {"connection_id":171911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07221"} 
[2026-09-05 20:47:02] local.INFO: Extracted packet for processing {"connection_id":171911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07221"} 
[2026-09-05 20:47:02] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":46,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:47:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,163,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 20:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788621188000,"timestamp_ms":1788621188000,"timestamp_seconds":1788621188,"priority":1,"record_length":96,"hex_timestamp":"000001a072216ba0"} 
[2026-09-05 20:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-05 20:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20: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-09-05 20:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":26321,"163":206,"9":24832,"24":0,"16":399919772323545088},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16]} 
[2026-09-05 20:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-05 20:47:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:47:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 20:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:47:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":26321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null}} 
[2026-09-05 20:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":171911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:47:02] local.INFO: GPS data processed {"connection_id":171911,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:47:02] local.INFO: Acknowledgment sent {"connection_id":171911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:47:05] local.INFO: TCP Data received {"connection_id":171911,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072216ba0012d77ab0005f2a678000801192e..."} 
[2026-09-05 20:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072216ba0012d77ab0005f2a678000801192e..."} 
[2026-09-05 20:47:05] local.INFO: Processing buffer {"connection_id":171911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072216ba0012d77ab0005f2a678000801192e..."} 
[2026-09-05 20:47:05] local.INFO: Packet analysis {"connection_id":171911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07221"} 
[2026-09-05 20:47:05] local.INFO: Extracted packet for processing {"connection_id":171911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07221"} 
[2026-09-05 20:47:05] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":46,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 20:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:47:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,163,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 20:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788621188000,"timestamp_ms":1788621188000,"timestamp_seconds":1788621188,"priority":1,"record_length":96,"hex_timestamp":"000001a072216ba0"} 
[2026-09-05 20:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-05 20:47: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-09-05 20:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":171911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":171911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":171911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":26321,"163":206,"9":24832,"24":0,"16":399919772323545088},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16]} 
[2026-09-05 20:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-05 20:47:05] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:47:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 20:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:47:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":26321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null}} 
[2026-09-05 20:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":171911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:47:05] local.INFO: GPS data processed {"connection_id":171911,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:47:05] local.INFO: Acknowledgment sent {"connection_id":171911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:47:21] local.INFO: TCP Data received {"connection_id":173292,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07222c748012d196500071ff1280041014527..."} 
[2026-09-05 20:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07222c748012d196500071ff1280041014527..."} 
[2026-09-05 20:47:21] local.INFO: Processing buffer {"connection_id":173292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07222c748012d196500071ff1280041014527..."} 
[2026-09-05 20:47:21] local.INFO: Packet analysis {"connection_id":173292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07222"} 
[2026-09-05 20:47:21] local.INFO: Extracted packet for processing {"connection_id":173292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07222"} 
[2026-09-05 20:47:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886969856001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788621277000,"timestamp_ms":1788621277000,"timestamp_seconds":1788621277,"priority":1,"record_length":96,"hex_timestamp":"000001a07222c748"} 
[2026-09-05 20:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 20:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886969856001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886969856001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:47:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:47:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886969856001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":173292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:47:21] local.INFO: GPS data processed {"connection_id":173292,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:47:21] local.INFO: Acknowledgment sent {"connection_id":173292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:47:44] local.INFO: TCP Data received {"connection_id":172169,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:47:44] local.INFO: Processing buffer {"connection_id":172169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:47:44] local.INFO: IMEI packet received {"connection_id":172169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":172169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:47:49] local.INFO: TCP Data received {"connection_id":172169,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:47:49] local.INFO: Processing buffer {"connection_id":172169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:47:49] local.INFO: IMEI packet received {"connection_id":172169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":172169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:47:50] local.INFO: TCP Data received {"connection_id":172170,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:47:50] local.INFO: Processing buffer {"connection_id":172170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:47:50] local.INFO: IMEI packet received {"connection_id":172170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":172170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:47:50] local.INFO: TCP Data received {"connection_id":172169,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07222c748012d196500071ff1280041014527..."} 
[2026-09-05 20:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07222c748012d196500071ff1280041014527..."} 
[2026-09-05 20:47:50] local.INFO: Processing buffer {"connection_id":172169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07222c748012d196500071ff1280041014527..."} 
[2026-09-05 20:47:50] local.INFO: Packet analysis {"connection_id":172169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07222"} 
[2026-09-05 20:47:50] local.INFO: Extracted packet for processing {"connection_id":172169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07222"} 
[2026-09-05 20:47:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886969856001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788621277000,"timestamp_ms":1788621277000,"timestamp_seconds":1788621277,"priority":1,"record_length":96,"hex_timestamp":"000001a07222c748"} 
[2026-09-05 20:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:47:50] 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-09-05 20:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 20:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886969856001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886969856001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:47:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:47:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886969856001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":172169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:47:50] local.INFO: GPS data processed {"connection_id":172169,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:47:50] local.INFO: Acknowledgment sent {"connection_id":172169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:47:55] local.INFO: TCP Data received {"connection_id":172170,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:47:55] local.INFO: Processing buffer {"connection_id":172170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:47:55] local.INFO: IMEI packet received {"connection_id":172170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":172170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:48:00] local.INFO: TCP Data received {"connection_id":172170,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072216ba0012d77ab0005f2a678000801192e..."} 
[2026-09-05 20:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072216ba0012d77ab0005f2a678000801192e..."} 
[2026-09-05 20:48:00] local.INFO: Processing buffer {"connection_id":172170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072216ba0012d77ab0005f2a678000801192e..."} 
[2026-09-05 20:48:00] local.INFO: Packet analysis {"connection_id":172170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07221"} 
[2026-09-05 20:48:00] local.INFO: Extracted packet for processing {"connection_id":172170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07221"} 
[2026-09-05 20:48:00] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":46,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 20:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:48:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,163,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 20:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788621188000,"timestamp_ms":1788621188000,"timestamp_seconds":1788621188,"priority":1,"record_length":96,"hex_timestamp":"000001a072216ba0"} 
[2026-09-05 20:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-05 20:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":26321,"163":206,"9":24832,"24":0,"16":399919772323545088},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16]} 
[2026-09-05 20:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-05 20:48:00] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:48:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 20:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:48:00] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":26321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null}} 
[2026-09-05 20:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":172170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:48:00] local.INFO: GPS data processed {"connection_id":172170,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:48:00] local.INFO: Acknowledgment sent {"connection_id":172170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:48:02] local.INFO: TCP Data received {"connection_id":172170,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072216ba0012d77ab0005f2a678000801192e..."} 
[2026-09-05 20:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072216ba0012d77ab0005f2a678000801192e..."} 
[2026-09-05 20:48:02] local.INFO: Processing buffer {"connection_id":172170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072216ba0012d77ab0005f2a678000801192e..."} 
[2026-09-05 20:48:02] local.INFO: Packet analysis {"connection_id":172170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07221"} 
[2026-09-05 20:48:02] local.INFO: Extracted packet for processing {"connection_id":172170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07221"} 
[2026-09-05 20:48:02] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":46,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:48:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,163,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 20:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788621188000,"timestamp_ms":1788621188000,"timestamp_seconds":1788621188,"priority":1,"record_length":96,"hex_timestamp":"000001a072216ba0"} 
[2026-09-05 20:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-05 20:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20: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-09-05 20:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":26321,"163":206,"9":24832,"24":0,"16":399919772323545088},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16]} 
[2026-09-05 20:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-05 20:48:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:48:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 20:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:48:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":26321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null}} 
[2026-09-05 20:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":172170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:48:02] local.INFO: GPS data processed {"connection_id":172170,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:48:02] local.INFO: Acknowledgment sent {"connection_id":172170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:48:21] local.INFO: TCP Data received {"connection_id":172169,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07222c748012d196500071ff1280041014527..."} 
[2026-09-05 20:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07222c748012d196500071ff1280041014527..."} 
[2026-09-05 20:48:21] local.INFO: Processing buffer {"connection_id":172169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07222c748012d196500071ff1280041014527..."} 
[2026-09-05 20:48:21] local.INFO: Packet analysis {"connection_id":172169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07222"} 
[2026-09-05 20:48:21] local.INFO: Extracted packet for processing {"connection_id":172169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07222"} 
[2026-09-05 20:48:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886969856001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788621277000,"timestamp_ms":1788621277000,"timestamp_seconds":1788621277,"priority":1,"record_length":96,"hex_timestamp":"000001a07222c748"} 
[2026-09-05 20:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 20:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886969856001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886969856001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:48:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:48:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886969856001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":172169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:48:21] local.INFO: GPS data processed {"connection_id":172169,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:48:21] local.INFO: Acknowledgment sent {"connection_id":172169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:48:34] local.INFO: TCP Data received {"connection_id":172170,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072216ba0012d77ab0005f2a678000801192e..."} 
[2026-09-05 20:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072216ba0012d77ab0005f2a678000801192e..."} 
[2026-09-05 20:48:34] local.INFO: Processing buffer {"connection_id":172170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072216ba0012d77ab0005f2a678000801192e..."} 
[2026-09-05 20:48:34] local.INFO: Packet analysis {"connection_id":172170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07221"} 
[2026-09-05 20:48:34] local.INFO: Extracted packet for processing {"connection_id":172170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07221"} 
[2026-09-05 20:48:34] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":46,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 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-09-05 20:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:48:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,163,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 20:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788621188000,"timestamp_ms":1788621188000,"timestamp_seconds":1788621188,"priority":1,"record_length":96,"hex_timestamp":"000001a072216ba0"} 
[2026-09-05 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-09-05 20:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":44,"data_length":795,"current_offset":136} 
[2026-09-05 20:48: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-09-05 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-09-05 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-09-05 20:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":26321,"163":206,"9":24832,"24":0,"16":399919772323545088},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16]} 
[2026-09-05 20:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-05 20:48:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:48:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 20:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:48:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":26321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null}} 
[2026-09-05 20:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":172170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:48:34] local.INFO: GPS data processed {"connection_id":172170,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:48:34] local.INFO: Acknowledgment sent {"connection_id":172170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:48:44] local.INFO: TCP Data received {"connection_id":171912,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:48:44] local.INFO: Processing buffer {"connection_id":171912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:48:44] local.INFO: IMEI packet received {"connection_id":171912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":171912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:48:49] local.INFO: TCP Data received {"connection_id":171912,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:48:49] local.INFO: Processing buffer {"connection_id":171912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:48:49] local.INFO: IMEI packet received {"connection_id":171912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":171912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:48:50] local.INFO: TCP Data received {"connection_id":172171,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:48:50] local.INFO: Processing buffer {"connection_id":172171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:48:50] local.INFO: IMEI packet received {"connection_id":172171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":172171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:48:50] local.INFO: TCP Data received {"connection_id":171912,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07222c748012d196500071ff1280041014527..."} 
[2026-09-05 20:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07222c748012d196500071ff1280041014527..."} 
[2026-09-05 20:48:50] local.INFO: Processing buffer {"connection_id":171912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07222c748012d196500071ff1280041014527..."} 
[2026-09-05 20:48:50] local.INFO: Packet analysis {"connection_id":171912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07222"} 
[2026-09-05 20:48:50] local.INFO: Extracted packet for processing {"connection_id":171912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07222"} 
[2026-09-05 20:48:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886969856001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788621277000,"timestamp_ms":1788621277000,"timestamp_seconds":1788621277,"priority":1,"record_length":96,"hex_timestamp":"000001a07222c748"} 
[2026-09-05 20:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:48:50] 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-09-05 20:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 20:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886969856001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886969856001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:48:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:48:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886969856001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":171912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:48:50] local.INFO: GPS data processed {"connection_id":171912,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:48:50] local.INFO: Acknowledgment sent {"connection_id":171912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:48:55] local.INFO: TCP Data received {"connection_id":172171,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:48:55] local.INFO: Processing buffer {"connection_id":172171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:48:55] local.INFO: IMEI packet received {"connection_id":172171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":172171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:48:57] local.INFO: TCP Data received {"connection_id":172171,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072260368012d77ab0005f2a678000801192c..."} 
[2026-09-05 20:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072260368012d77ab0005f2a678000801192c..."} 
[2026-09-05 20:48:57] local.INFO: Processing buffer {"connection_id":172171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072260368012d77ab0005f2a678000801192c..."} 
[2026-09-05 20:48:57] local.INFO: Packet analysis {"connection_id":172171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07226"} 
[2026-09-05 20:48:57] local.INFO: Extracted packet for processing {"connection_id":172171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07226"} 
[2026-09-05 20:48:57] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":44,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 20:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887024128001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 20:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788621489000,"timestamp_ms":1788621489000,"timestamp_seconds":1788621489,"priority":1,"record_length":96,"hex_timestamp":"000001a072260368"} 
[2026-09-05 20:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:48:57] 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-09-05 20:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-05 20:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:48:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887024128001,"66":26169,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 20:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887024128001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:48:57] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:48:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 20:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 20:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887024128001,"power":26169,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 20:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":172171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:48:57] local.INFO: GPS data processed {"connection_id":172171,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:48:57] local.INFO: Acknowledgment sent {"connection_id":172171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:49:21] local.INFO: TCP Data received {"connection_id":171912,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07222c748012d196500071ff1280041014527..."} 
[2026-09-05 20:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07222c748012d196500071ff1280041014527..."} 
[2026-09-05 20:49:21] local.INFO: Processing buffer {"connection_id":171912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07222c748012d196500071ff1280041014527..."} 
[2026-09-05 20:49:21] local.INFO: Packet analysis {"connection_id":171912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07222"} 
[2026-09-05 20:49:21] local.INFO: Extracted packet for processing {"connection_id":171912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07222"} 
[2026-09-05 20:49:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886969856001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788621277000,"timestamp_ms":1788621277000,"timestamp_seconds":1788621277,"priority":1,"record_length":96,"hex_timestamp":"000001a07222c748"} 
[2026-09-05 20:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20: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":107,"data_length":795,"current_offset":136} 
[2026-09-05 20:49:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20: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-09-05 20:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886969856001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886969856001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:49:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:49:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886969856001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":171912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:49:21] local.INFO: GPS data processed {"connection_id":171912,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:49:21] local.INFO: Acknowledgment sent {"connection_id":171912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:49:29] local.INFO: TCP Data received {"connection_id":172171,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072260368012d77ab0005f2a678000801192c..."} 
[2026-09-05 20:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072260368012d77ab0005f2a678000801192c..."} 
[2026-09-05 20:49:29] local.INFO: Processing buffer {"connection_id":172171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072260368012d77ab0005f2a678000801192c..."} 
[2026-09-05 20:49:29] local.INFO: Packet analysis {"connection_id":172171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07226"} 
[2026-09-05 20:49:29] local.INFO: Extracted packet for processing {"connection_id":172171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07226"} 
[2026-09-05 20:49:29] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":44,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 20:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887024128001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 20:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788621489000,"timestamp_ms":1788621489000,"timestamp_seconds":1788621489,"priority":1,"record_length":96,"hex_timestamp":"000001a072260368"} 
[2026-09-05 20:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:49:29] 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-09-05 20:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-05 20:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887024128001,"66":26169,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 20:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887024128001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:49:29] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:49:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 20:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 20:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887024128001,"power":26169,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 20:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":172171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:49:29] local.INFO: GPS data processed {"connection_id":172171,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:49:29] local.INFO: Acknowledgment sent {"connection_id":172171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:49:44] local.INFO: TCP Data received {"connection_id":171913,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:49:44] local.INFO: Processing buffer {"connection_id":171913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:49:44] local.INFO: IMEI packet received {"connection_id":171913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":171913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:49:49] local.INFO: TCP Data received {"connection_id":171913,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:49:49] local.INFO: Processing buffer {"connection_id":171913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:49:49] local.INFO: IMEI packet received {"connection_id":171913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":171913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:49:50] local.INFO: TCP Data received {"connection_id":173293,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:49:50] local.INFO: Processing buffer {"connection_id":173293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:49:50] local.INFO: IMEI packet received {"connection_id":173293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":173293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:49:50] local.INFO: TCP Data received {"connection_id":171913,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07222c748012d196500071ff1280041014527..."} 
[2026-09-05 20:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07222c748012d196500071ff1280041014527..."} 
[2026-09-05 20:49:50] local.INFO: Processing buffer {"connection_id":171913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07222c748012d196500071ff1280041014527..."} 
[2026-09-05 20:49:50] local.INFO: Packet analysis {"connection_id":171913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07222"} 
[2026-09-05 20:49:50] local.INFO: Extracted packet for processing {"connection_id":171913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07222"} 
[2026-09-05 20:49:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457886969856001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788621277000,"timestamp_ms":1788621277000,"timestamp_seconds":1788621277,"priority":1,"record_length":96,"hex_timestamp":"000001a07222c748"} 
[2026-09-05 20:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:49:50] 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-09-05 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 20:49:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20: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-09-05 20:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457886969856001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457886969856001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:49:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:49:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457886969856001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":171913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:49:50] local.INFO: GPS data processed {"connection_id":171913,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:49:50] local.INFO: Acknowledgment sent {"connection_id":171913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:49:55] local.INFO: TCP Data received {"connection_id":173293,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:49:55] local.INFO: Processing buffer {"connection_id":173293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:49:55] local.INFO: IMEI packet received {"connection_id":173293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":173293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:50:02] local.INFO: TCP Data received {"connection_id":173293,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072260368012d77ab0005f2a678000801192c..."} 
[2026-09-05 20:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072260368012d77ab0005f2a678000801192c..."} 
[2026-09-05 20:50:02] local.INFO: Processing buffer {"connection_id":173293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072260368012d77ab0005f2a678000801192c..."} 
[2026-09-05 20:50:02] local.INFO: Packet analysis {"connection_id":173293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07226"} 
[2026-09-05 20:50:02] local.INFO: Extracted packet for processing {"connection_id":173293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07226"} 
[2026-09-05 20:50:02] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":44,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887024128001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 20: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-09-05 20:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788621489000,"timestamp_ms":1788621489000,"timestamp_seconds":1788621489,"priority":1,"record_length":96,"hex_timestamp":"000001a072260368"} 
[2026-09-05 20:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:50:02] 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-09-05 20: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-05 20:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20: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-09-05 20:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887024128001,"66":26169,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 20:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887024128001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:50:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:50:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 20:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 20:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887024128001,"power":26169,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 20:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":173293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:50:02] local.INFO: GPS data processed {"connection_id":173293,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:50:02] local.INFO: Acknowledgment sent {"connection_id":173293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:50:21] local.INFO: TCP Data received {"connection_id":171913,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072275f10012d196500071ff1280041014527..."} 
[2026-09-05 20:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072275f10012d196500071ff1280041014527..."} 
[2026-09-05 20:50:21] local.INFO: Processing buffer {"connection_id":171913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072275f10012d196500071ff1280041014527..."} 
[2026-09-05 20:50:21] local.INFO: Packet analysis {"connection_id":171913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07227"} 
[2026-09-05 20:50:21] local.INFO: Extracted packet for processing {"connection_id":171913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07227"} 
[2026-09-05 20:50:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887046912001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788621578000,"timestamp_ms":1788621578000,"timestamp_seconds":1788621578,"priority":1,"record_length":96,"hex_timestamp":"000001a072275f10"} 
[2026-09-05 20:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 20:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887046912001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887046912001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:50:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:50:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887046912001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":171913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:50:21] local.INFO: GPS data processed {"connection_id":171913,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:50:21] local.INFO: Acknowledgment sent {"connection_id":171913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:50:34] local.INFO: TCP Data received {"connection_id":173293,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072260368012d77ab0005f2a678000801192c..."} 
[2026-09-05 20:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072260368012d77ab0005f2a678000801192c..."} 
[2026-09-05 20:50:34] local.INFO: Processing buffer {"connection_id":173293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072260368012d77ab0005f2a678000801192c..."} 
[2026-09-05 20:50:34] local.INFO: Packet analysis {"connection_id":173293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07226"} 
[2026-09-05 20:50:34] local.INFO: Extracted packet for processing {"connection_id":173293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07226"} 
[2026-09-05 20:50:34] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":44,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887024128001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 20:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788621489000,"timestamp_ms":1788621489000,"timestamp_seconds":1788621489,"priority":1,"record_length":96,"hex_timestamp":"000001a072260368"} 
[2026-09-05 20:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:50: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-09-05 20: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-05 20:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20: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-09-05 20:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887024128001,"66":26169,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 20:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887024128001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:50:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:50:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 20:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 20:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887024128001,"power":26169,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 20:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":173293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:50:34] local.INFO: GPS data processed {"connection_id":173293,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:50:34] local.INFO: Acknowledgment sent {"connection_id":173293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:50:49] local.INFO: TCP Data received {"connection_id":172172,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:50:49] local.INFO: Processing buffer {"connection_id":172172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:50:49] local.INFO: IMEI packet received {"connection_id":172172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":172172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:50:54] local.INFO: TCP Data received {"connection_id":172172,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:50:54] local.INFO: Processing buffer {"connection_id":172172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:50:54] local.INFO: IMEI packet received {"connection_id":172172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":172172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:50:55] local.INFO: TCP Data received {"connection_id":172172,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a072275f10012d196500071ff1280041014527..."} 
[2026-09-05 20:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072275f10012d196500071ff1280041014527..."} 
[2026-09-05 20:50:55] local.INFO: Processing buffer {"connection_id":172172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072275f10012d196500071ff1280041014527..."} 
[2026-09-05 20:50:55] local.INFO: Packet analysis {"connection_id":172172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07227"} 
[2026-09-05 20:50:55] local.INFO: Extracted packet for processing {"connection_id":172172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07227"} 
[2026-09-05 20:50:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887046912001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788621578000,"timestamp_ms":1788621578000,"timestamp_seconds":1788621578,"priority":1,"record_length":96,"hex_timestamp":"000001a072275f10"} 
[2026-09-05 20:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 20:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887046912001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887046912001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:50:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:50:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887046912001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":172172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:50:55] local.INFO: GPS data processed {"connection_id":172172,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:50:55] local.INFO: Acknowledgment sent {"connection_id":172172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:50:55] local.INFO: TCP Data received {"connection_id":172173,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:50:55] local.INFO: Processing buffer {"connection_id":172173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:50:55] local.INFO: IMEI packet received {"connection_id":172173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":172173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:50:59] local.INFO: TCP Data received {"connection_id":172172,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a072275f10012d196500071ff1280041014527..."} 
[2026-09-05 20:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072275f10012d196500071ff1280041014527..."} 
[2026-09-05 20:50:59] local.INFO: Processing buffer {"connection_id":172172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072275f10012d196500071ff1280041014527..."} 
[2026-09-05 20:50:59] local.INFO: Packet analysis {"connection_id":172172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07227"} 
[2026-09-05 20:50:59] local.INFO: Extracted packet for processing {"connection_id":172172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07227"} 
[2026-09-05 20:50:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887046912001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788621578000,"timestamp_ms":1788621578000,"timestamp_seconds":1788621578,"priority":1,"record_length":96,"hex_timestamp":"000001a072275f10"} 
[2026-09-05 20:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 20:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887046912001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887046912001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:50:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:50:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887046912001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":172172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:50:59] local.INFO: GPS data processed {"connection_id":172172,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:50:59] local.INFO: Acknowledgment sent {"connection_id":172172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:51:00] local.INFO: TCP Data received {"connection_id":172173,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:51:00] local.INFO: Processing buffer {"connection_id":172173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:51:00] local.INFO: IMEI packet received {"connection_id":172173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":172173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:51:01] local.INFO: TCP Data received {"connection_id":172173,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072260368012d77ab0005f2a678000801192c..."} 
[2026-09-05 20:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072260368012d77ab0005f2a678000801192c..."} 
[2026-09-05 20:51:01] local.INFO: Processing buffer {"connection_id":172173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072260368012d77ab0005f2a678000801192c..."} 
[2026-09-05 20:51:01] local.INFO: Packet analysis {"connection_id":172173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07226"} 
[2026-09-05 20:51:01] local.INFO: Extracted packet for processing {"connection_id":172173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07226"} 
[2026-09-05 20:51:01] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":44,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 20:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887024128001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 20:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788621489000,"timestamp_ms":1788621489000,"timestamp_seconds":1788621489,"priority":1,"record_length":96,"hex_timestamp":"000001a072260368"} 
[2026-09-05 20:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:51:01] 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-09-05 20:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-05 20:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:51:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887024128001,"66":26169,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 20:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887024128001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:51:01] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:51:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 20:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 20:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887024128001,"power":26169,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 20:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":172173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:51:01] local.INFO: GPS data processed {"connection_id":172173,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:51:01] local.INFO: Acknowledgment sent {"connection_id":172173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:51:06] local.INFO: TCP Data received {"connection_id":172173,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072260368012d77ab0005f2a678000801192c..."} 
[2026-09-05 20:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072260368012d77ab0005f2a678000801192c..."} 
[2026-09-05 20:51:06] local.INFO: Processing buffer {"connection_id":172173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072260368012d77ab0005f2a678000801192c..."} 
[2026-09-05 20:51:06] local.INFO: Packet analysis {"connection_id":172173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07226"} 
[2026-09-05 20:51:06] local.INFO: Extracted packet for processing {"connection_id":172173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07226"} 
[2026-09-05 20:51:06] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":44,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887024128001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 20:51: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-09-05 20:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788621489000,"timestamp_ms":1788621489000,"timestamp_seconds":1788621489,"priority":1,"record_length":96,"hex_timestamp":"000001a072260368"} 
[2026-09-05 20:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:51:06] 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-09-05 20: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-05 20:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20: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-09-05 20:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887024128001,"66":26169,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 20:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887024128001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:51:06] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:51:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 20:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 20:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887024128001,"power":26169,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 20:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":172173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:51:06] local.INFO: GPS data processed {"connection_id":172173,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:51:06] local.INFO: Acknowledgment sent {"connection_id":172173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:51:44] local.INFO: TCP Data received {"connection_id":174612,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:51:44] local.INFO: Processing buffer {"connection_id":174612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:51:44] local.INFO: IMEI packet received {"connection_id":174612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":174612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:51:49] local.INFO: TCP Data received {"connection_id":174612,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:51:49] local.INFO: Processing buffer {"connection_id":174612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:51:49] local.INFO: IMEI packet received {"connection_id":174612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":174612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:51:50] local.INFO: TCP Data received {"connection_id":174612,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072275f10012d196500071ff1280041014527..."} 
[2026-09-05 20:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072275f10012d196500071ff1280041014527..."} 
[2026-09-05 20:51:50] local.INFO: Processing buffer {"connection_id":174612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072275f10012d196500071ff1280041014527..."} 
[2026-09-05 20:51:50] local.INFO: Packet analysis {"connection_id":174612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07227"} 
[2026-09-05 20:51:50] local.INFO: Extracted packet for processing {"connection_id":174612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07227"} 
[2026-09-05 20:51:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887046912001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788621578000,"timestamp_ms":1788621578000,"timestamp_seconds":1788621578,"priority":1,"record_length":96,"hex_timestamp":"000001a072275f10"} 
[2026-09-05 20:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:51:50] 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-09-05 20:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 20:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:51:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887046912001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887046912001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:51:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:51:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887046912001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":174612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:51:50] local.INFO: GPS data processed {"connection_id":174612,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:51:50] local.INFO: Acknowledgment sent {"connection_id":174612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:51:50] local.INFO: TCP Data received {"connection_id":173294,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:51:50] local.INFO: Processing buffer {"connection_id":173294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:51:50] local.INFO: IMEI packet received {"connection_id":173294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":173294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:51:55] local.INFO: TCP Data received {"connection_id":173294,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:51:55] local.INFO: Processing buffer {"connection_id":173294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:51:55] local.INFO: IMEI packet received {"connection_id":173294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":173294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:51:56] local.INFO: TCP Data received {"connection_id":173294,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072260368012d77ab0005f2a678000801192c..."} 
[2026-09-05 20:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072260368012d77ab0005f2a678000801192c..."} 
[2026-09-05 20:51:56] local.INFO: Processing buffer {"connection_id":173294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072260368012d77ab0005f2a678000801192c..."} 
[2026-09-05 20:51:56] local.INFO: Packet analysis {"connection_id":173294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07226"} 
[2026-09-05 20:51:56] local.INFO: Extracted packet for processing {"connection_id":173294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07226"} 
[2026-09-05 20:51:56] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":44,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 20:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887024128001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 20:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788621489000,"timestamp_ms":1788621489000,"timestamp_seconds":1788621489,"priority":1,"record_length":96,"hex_timestamp":"000001a072260368"} 
[2026-09-05 20:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:51:56] 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-09-05 20:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-05 20:51:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:51:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887024128001,"66":26169,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 20:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887024128001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:51:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:51:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 20:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 20:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887024128001,"power":26169,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 20:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":173294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:51:56] local.INFO: GPS data processed {"connection_id":173294,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:51:56] local.INFO: Acknowledgment sent {"connection_id":173294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:52:21] local.INFO: TCP Data received {"connection_id":174612,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072275f10012d196500071ff1280041014527..."} 
[2026-09-05 20:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072275f10012d196500071ff1280041014527..."} 
[2026-09-05 20:52:21] local.INFO: Processing buffer {"connection_id":174612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072275f10012d196500071ff1280041014527..."} 
[2026-09-05 20:52:21] local.INFO: Packet analysis {"connection_id":174612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07227"} 
[2026-09-05 20:52:21] local.INFO: Extracted packet for processing {"connection_id":174612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07227"} 
[2026-09-05 20:52:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887046912001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788621578000,"timestamp_ms":1788621578000,"timestamp_seconds":1788621578,"priority":1,"record_length":96,"hex_timestamp":"000001a072275f10"} 
[2026-09-05 20:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 20:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:52:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887046912001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887046912001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:52:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:52:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887046912001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":174612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:52:21] local.INFO: GPS data processed {"connection_id":174612,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:52:21] local.INFO: Acknowledgment sent {"connection_id":174612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:52:28] local.INFO: TCP Data received {"connection_id":173294,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072260368012d77ab0005f2a678000801192c..."} 
[2026-09-05 20:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072260368012d77ab0005f2a678000801192c..."} 
[2026-09-05 20:52:28] local.INFO: Processing buffer {"connection_id":173294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072260368012d77ab0005f2a678000801192c..."} 
[2026-09-05 20:52:28] local.INFO: Packet analysis {"connection_id":173294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07226"} 
[2026-09-05 20:52:28] local.INFO: Extracted packet for processing {"connection_id":173294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07226"} 
[2026-09-05 20:52:28] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":44,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 20:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887024128001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 20:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788621489000,"timestamp_ms":1788621489000,"timestamp_seconds":1788621489,"priority":1,"record_length":96,"hex_timestamp":"000001a072260368"} 
[2026-09-05 20:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:52:28] 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-09-05 20:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-05 20:52:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887024128001,"66":26169,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 20:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887024128001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:52:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:52:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 20:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 20:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887024128001,"power":26169,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 20:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":173294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:52:28] local.INFO: GPS data processed {"connection_id":173294,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:52:28] local.INFO: Acknowledgment sent {"connection_id":173294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:52:44] local.INFO: TCP Data received {"connection_id":174613,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:52:44] local.INFO: Processing buffer {"connection_id":174613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:52:44] local.INFO: IMEI packet received {"connection_id":174613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":174613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:52:49] local.INFO: TCP Data received {"connection_id":174613,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:52:49] local.INFO: Processing buffer {"connection_id":174613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:52:49] local.INFO: IMEI packet received {"connection_id":174613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":174613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:52:50] local.INFO: TCP Data received {"connection_id":174614,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:52:50] local.INFO: Processing buffer {"connection_id":174614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:52:50] local.INFO: IMEI packet received {"connection_id":174614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":174614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:52:50] local.INFO: TCP Data received {"connection_id":174613,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072275f10012d196500071ff1280041014527..."} 
[2026-09-05 20:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072275f10012d196500071ff1280041014527..."} 
[2026-09-05 20:52:50] local.INFO: Processing buffer {"connection_id":174613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072275f10012d196500071ff1280041014527..."} 
[2026-09-05 20:52:50] local.INFO: Packet analysis {"connection_id":174613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07227"} 
[2026-09-05 20:52:50] local.INFO: Extracted packet for processing {"connection_id":174613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07227"} 
[2026-09-05 20:52:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887046912001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788621578000,"timestamp_ms":1788621578000,"timestamp_seconds":1788621578,"priority":1,"record_length":96,"hex_timestamp":"000001a072275f10"} 
[2026-09-05 20:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:52:50] 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-09-05 20:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 20:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887046912001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887046912001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:52:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:52:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887046912001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":174613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:52:50] local.INFO: GPS data processed {"connection_id":174613,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:52:50] local.INFO: Acknowledgment sent {"connection_id":174613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:52:55] local.INFO: TCP Data received {"connection_id":174614,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:52:55] local.INFO: Processing buffer {"connection_id":174614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:52:55] local.INFO: IMEI packet received {"connection_id":174614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":174614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:52:56] local.INFO: TCP Data received {"connection_id":174614,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072260368012d77ab0005f2a678000801192c..."} 
[2026-09-05 20:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072260368012d77ab0005f2a678000801192c..."} 
[2026-09-05 20:52:56] local.INFO: Processing buffer {"connection_id":174614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072260368012d77ab0005f2a678000801192c..."} 
[2026-09-05 20:52:56] local.INFO: Packet analysis {"connection_id":174614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07226"} 
[2026-09-05 20:52:56] local.INFO: Extracted packet for processing {"connection_id":174614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07226"} 
[2026-09-05 20:52:56] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":44,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 20:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887024128001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 20:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788621489000,"timestamp_ms":1788621489000,"timestamp_seconds":1788621489,"priority":1,"record_length":96,"hex_timestamp":"000001a072260368"} 
[2026-09-05 20:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:52:56] 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-09-05 20:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-05 20:52:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:52:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887024128001,"66":26169,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 20:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887024128001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:52:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:52:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 20:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 20:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887024128001,"power":26169,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 20:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":174614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:52:56] local.INFO: GPS data processed {"connection_id":174614,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:52:56] local.INFO: Acknowledgment sent {"connection_id":174614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:53:21] local.INFO: TCP Data received {"connection_id":174613,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072275f10012d196500071ff1280041014527..."} 
[2026-09-05 20:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072275f10012d196500071ff1280041014527..."} 
[2026-09-05 20:53:21] local.INFO: Processing buffer {"connection_id":174613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072275f10012d196500071ff1280041014527..."} 
[2026-09-05 20:53:21] local.INFO: Packet analysis {"connection_id":174613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07227"} 
[2026-09-05 20:53:21] local.INFO: Extracted packet for processing {"connection_id":174613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07227"} 
[2026-09-05 20:53:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887046912001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788621578000,"timestamp_ms":1788621578000,"timestamp_seconds":1788621578,"priority":1,"record_length":96,"hex_timestamp":"000001a072275f10"} 
[2026-09-05 20:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 20:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:53:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887046912001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887046912001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:53:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:53:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887046912001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":174613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:53:21] local.INFO: GPS data processed {"connection_id":174613,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:53:21] local.INFO: Acknowledgment sent {"connection_id":174613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:53:28] local.INFO: TCP Data received {"connection_id":174614,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072260368012d77ab0005f2a678000801192c..."} 
[2026-09-05 20:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072260368012d77ab0005f2a678000801192c..."} 
[2026-09-05 20:53:28] local.INFO: Processing buffer {"connection_id":174614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072260368012d77ab0005f2a678000801192c..."} 
[2026-09-05 20:53:28] local.INFO: Packet analysis {"connection_id":174614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07226"} 
[2026-09-05 20:53:28] local.INFO: Extracted packet for processing {"connection_id":174614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07226"} 
[2026-09-05 20:53:28] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":44,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 20:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887024128001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 20:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788621489000,"timestamp_ms":1788621489000,"timestamp_seconds":1788621489,"priority":1,"record_length":96,"hex_timestamp":"000001a072260368"} 
[2026-09-05 20:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:53:28] 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-09-05 20:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-05 20:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887024128001,"66":26169,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 20:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887024128001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:53:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:53:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 20:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 20:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887024128001,"power":26169,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 20:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":174614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:53:28] local.INFO: GPS data processed {"connection_id":174614,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:53:28] local.INFO: Acknowledgment sent {"connection_id":174614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:53:44] local.INFO: TCP Data received {"connection_id":173295,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:53:44] local.INFO: Processing buffer {"connection_id":173295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:53:44] local.INFO: IMEI packet received {"connection_id":173295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":173295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:53:49] local.INFO: TCP Data received {"connection_id":173295,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:53:49] local.INFO: Processing buffer {"connection_id":173295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:53:49] local.INFO: IMEI packet received {"connection_id":173295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":173295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:53:50] local.INFO: TCP Data received {"connection_id":173296,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:53:50] local.INFO: Processing buffer {"connection_id":173296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:53:50] local.INFO: IMEI packet received {"connection_id":173296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":173296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:53:50] local.INFO: TCP Data received {"connection_id":173295,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a072275f10012d196500071ff1280041014527..."} 
[2026-09-05 20:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072275f10012d196500071ff1280041014527..."} 
[2026-09-05 20:53:50] local.INFO: Processing buffer {"connection_id":173295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072275f10012d196500071ff1280041014527..."} 
[2026-09-05 20:53:50] local.INFO: Packet analysis {"connection_id":173295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07227"} 
[2026-09-05 20:53:50] local.INFO: Extracted packet for processing {"connection_id":173295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07227"} 
[2026-09-05 20:53:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887046912001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788621578000,"timestamp_ms":1788621578000,"timestamp_seconds":1788621578,"priority":1,"record_length":96,"hex_timestamp":"000001a072275f10"} 
[2026-09-05 20:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:53:50] 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-09-05 20:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 20:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:53:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887046912001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887046912001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:53:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:53:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887046912001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":173295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:53:50] local.INFO: GPS data processed {"connection_id":173295,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:53:50] local.INFO: Acknowledgment sent {"connection_id":173295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:53:55] local.INFO: TCP Data received {"connection_id":173296,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:53:55] local.INFO: Processing buffer {"connection_id":173296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:53:55] local.INFO: IMEI packet received {"connection_id":173296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":173296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:53:55] local.INFO: TCP Data received {"connection_id":173296,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0722a9b30012d77ab0005f2a678000801192d..."} 
[2026-09-05 20:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0722a9b30012d77ab0005f2a678000801192d..."} 
[2026-09-05 20:53:55] local.INFO: Processing buffer {"connection_id":173296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0722a9b30012d77ab0005f2a678000801192d..."} 
[2026-09-05 20:53:55] local.INFO: Packet analysis {"connection_id":173296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0722a"} 
[2026-09-05 20:53:55] local.INFO: Extracted packet for processing {"connection_id":173296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0722a"} 
[2026-09-05 20:53:55] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":45,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 20:53: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-09-05 20:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887101184001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 20:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788621790000,"timestamp_ms":1788621790000,"timestamp_seconds":1788621790,"priority":1,"record_length":96,"hex_timestamp":"000001a0722a9b30"} 
[2026-09-05 20:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-05 20:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:53: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-09-05 20:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887101184001,"66":26039,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 20:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887101184001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:53:55] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:53:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 20:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 20:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887101184001,"power":26039,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 20:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":173296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:53:55] local.INFO: GPS data processed {"connection_id":173296,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:53:55] local.INFO: Acknowledgment sent {"connection_id":173296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:54:21] local.INFO: TCP Data received {"connection_id":173295,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a072275f10012d196500071ff1280041014527..."} 
[2026-09-05 20:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072275f10012d196500071ff1280041014527..."} 
[2026-09-05 20:54:21] local.INFO: Processing buffer {"connection_id":173295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072275f10012d196500071ff1280041014527..."} 
[2026-09-05 20:54:21] local.INFO: Packet analysis {"connection_id":173295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07227"} 
[2026-09-05 20:54:21] local.INFO: Extracted packet for processing {"connection_id":173295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07227"} 
[2026-09-05 20:54:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887046912001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788621578000,"timestamp_ms":1788621578000,"timestamp_seconds":1788621578,"priority":1,"record_length":96,"hex_timestamp":"000001a072275f10"} 
[2026-09-05 20:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 20:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:54:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887046912001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887046912001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:54:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:54:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887046912001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":173295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:54:21] local.INFO: GPS data processed {"connection_id":173295,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:54:21] local.INFO: Acknowledgment sent {"connection_id":173295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:54:27] local.INFO: TCP Data received {"connection_id":173296,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0722a9b30012d77ab0005f2a678000801192d..."} 
[2026-09-05 20:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0722a9b30012d77ab0005f2a678000801192d..."} 
[2026-09-05 20:54:27] local.INFO: Processing buffer {"connection_id":173296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0722a9b30012d77ab0005f2a678000801192d..."} 
[2026-09-05 20:54:27] local.INFO: Packet analysis {"connection_id":173296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0722a"} 
[2026-09-05 20:54:27] local.INFO: Extracted packet for processing {"connection_id":173296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0722a"} 
[2026-09-05 20:54:27] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":45,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 20:54: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-09-05 20:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887101184001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 20:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788621790000,"timestamp_ms":1788621790000,"timestamp_seconds":1788621790,"priority":1,"record_length":96,"hex_timestamp":"000001a0722a9b30"} 
[2026-09-05 20:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:54:27] 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-09-05 20:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-05 20:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:54: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-09-05 20:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887101184001,"66":26039,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 20:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887101184001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:54:27] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:54:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 20:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 20:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887101184001,"power":26039,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 20:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":173296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:54:27] local.INFO: GPS data processed {"connection_id":173296,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:54:27] local.INFO: Acknowledgment sent {"connection_id":173296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:54:44] local.INFO: TCP Data received {"connection_id":171914,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:54:44] local.INFO: Processing buffer {"connection_id":171914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:54:44] local.INFO: IMEI packet received {"connection_id":171914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":171914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:54:49] local.INFO: TCP Data received {"connection_id":171914,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:54:49] local.INFO: Processing buffer {"connection_id":171914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:54:49] local.INFO: IMEI packet received {"connection_id":171914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":171914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:54:50] local.INFO: TCP Data received {"connection_id":171914,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a072275f10012d196500071ff1280041014527..."} 
[2026-09-05 20:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072275f10012d196500071ff1280041014527..."} 
[2026-09-05 20:54:50] local.INFO: Processing buffer {"connection_id":171914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072275f10012d196500071ff1280041014527..."} 
[2026-09-05 20:54:50] local.INFO: Packet analysis {"connection_id":171914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07227"} 
[2026-09-05 20:54:50] local.INFO: Extracted packet for processing {"connection_id":171914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07227"} 
[2026-09-05 20:54:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887046912001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788621578000,"timestamp_ms":1788621578000,"timestamp_seconds":1788621578,"priority":1,"record_length":96,"hex_timestamp":"000001a072275f10"} 
[2026-09-05 20:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:54:50] 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-09-05 20:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 20:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887046912001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887046912001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:54:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:54:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887046912001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":171914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:54:50] local.INFO: GPS data processed {"connection_id":171914,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:54:50] local.INFO: Acknowledgment sent {"connection_id":171914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:54:55] local.INFO: TCP Data received {"connection_id":171915,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:54:55] local.INFO: Processing buffer {"connection_id":171915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:54:55] local.INFO: IMEI packet received {"connection_id":171915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":171915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:55:00] local.INFO: TCP Data received {"connection_id":171915,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:55:00] local.INFO: Processing buffer {"connection_id":171915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:55:00] local.INFO: IMEI packet received {"connection_id":171915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":171915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:55:01] local.INFO: TCP Data received {"connection_id":171915,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0722a9b30012d77ab0005f2a678000801192d..."} 
[2026-09-05 20:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0722a9b30012d77ab0005f2a678000801192d..."} 
[2026-09-05 20:55:01] local.INFO: Processing buffer {"connection_id":171915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0722a9b30012d77ab0005f2a678000801192d..."} 
[2026-09-05 20:55:01] local.INFO: Packet analysis {"connection_id":171915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0722a"} 
[2026-09-05 20:55:01] local.INFO: Extracted packet for processing {"connection_id":171915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0722a"} 
[2026-09-05 20:55:01] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":45,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 20:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887101184001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 20:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788621790000,"timestamp_ms":1788621790000,"timestamp_seconds":1788621790,"priority":1,"record_length":96,"hex_timestamp":"000001a0722a9b30"} 
[2026-09-05 20:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:55:01] 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-09-05 20:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-05 20:55:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:55:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887101184001,"66":26039,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 20:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887101184001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:55:01] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:55:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 20:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 20:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887101184001,"power":26039,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 20:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":171915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:55:01] local.INFO: GPS data processed {"connection_id":171915,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:55:01] local.INFO: Acknowledgment sent {"connection_id":171915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:55:06] local.INFO: TCP Data received {"connection_id":171915,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0722a9b30012d77ab0005f2a678000801192d..."} 
[2026-09-05 20:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0722a9b30012d77ab0005f2a678000801192d..."} 
[2026-09-05 20:55:06] local.INFO: Processing buffer {"connection_id":171915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0722a9b30012d77ab0005f2a678000801192d..."} 
[2026-09-05 20:55:06] local.INFO: Packet analysis {"connection_id":171915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0722a"} 
[2026-09-05 20:55:06] local.INFO: Extracted packet for processing {"connection_id":171915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0722a"} 
[2026-09-05 20:55:06] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":45,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 20:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887101184001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 20:55: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-09-05 20:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788621790000,"timestamp_ms":1788621790000,"timestamp_seconds":1788621790,"priority":1,"record_length":96,"hex_timestamp":"000001a0722a9b30"} 
[2026-09-05 20:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:55:06] 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-09-05 20:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-05 20:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887101184001,"66":26039,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 20:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887101184001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:55:06] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:55:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 20:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 20:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887101184001,"power":26039,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 20:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":171915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:55:06] local.INFO: GPS data processed {"connection_id":171915,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:55:06] local.INFO: Acknowledgment sent {"connection_id":171915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:55:21] local.INFO: TCP Data received {"connection_id":171914,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0722bf6d8012d196500071ff128004101452a..."} 
[2026-09-05 20:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0722bf6d8012d196500071ff128004101452a..."} 
[2026-09-05 20:55:21] local.INFO: Processing buffer {"connection_id":171914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0722bf6d8012d196500071ff128004101452a..."} 
[2026-09-05 20:55:21] local.INFO: Packet analysis {"connection_id":171914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0722b"} 
[2026-09-05 20:55:21] local.INFO: Extracted packet for processing {"connection_id":171914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0722b"} 
[2026-09-05 20:55:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887123968001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788621879000,"timestamp_ms":1788621879000,"timestamp_seconds":1788621879,"priority":1,"record_length":96,"hex_timestamp":"000001a0722bf6d8"} 
[2026-09-05 20:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:55:21] 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-09-05 20:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 20:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887123968001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887123968001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:55:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:55:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887123968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":171914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:55:21] local.INFO: GPS data processed {"connection_id":171914,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:55:21] local.INFO: Acknowledgment sent {"connection_id":171914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:55:49] local.INFO: TCP Data received {"connection_id":172174,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:55:49] local.INFO: Processing buffer {"connection_id":172174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:55:49] local.INFO: IMEI packet received {"connection_id":172174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":172174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:55:50] local.INFO: TCP Data received {"connection_id":173297,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:55:50] local.INFO: Processing buffer {"connection_id":173297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:55:50] local.INFO: IMEI packet received {"connection_id":173297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":173297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:55:54] local.INFO: TCP Data received {"connection_id":172174,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:55:54] local.INFO: Processing buffer {"connection_id":172174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:55:54] local.INFO: IMEI packet received {"connection_id":172174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":172174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:55:55] local.INFO: TCP Data received {"connection_id":172174,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0722bf6d8012d196500071ff128004101452a..."} 
[2026-09-05 20:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0722bf6d8012d196500071ff128004101452a..."} 
[2026-09-05 20:55:55] local.INFO: Processing buffer {"connection_id":172174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0722bf6d8012d196500071ff128004101452a..."} 
[2026-09-05 20:55:55] local.INFO: Packet analysis {"connection_id":172174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0722b"} 
[2026-09-05 20:55:55] local.INFO: Extracted packet for processing {"connection_id":172174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0722b"} 
[2026-09-05 20:55:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887123968001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788621879000,"timestamp_ms":1788621879000,"timestamp_seconds":1788621879,"priority":1,"record_length":96,"hex_timestamp":"000001a0722bf6d8"} 
[2026-09-05 20:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:55:55] 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-09-05 20:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 20:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887123968001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887123968001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:55:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:55:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887123968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":172174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:55:55] local.INFO: GPS data processed {"connection_id":172174,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:55:55] local.INFO: Acknowledgment sent {"connection_id":172174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:55:55] local.INFO: TCP Data received {"connection_id":173297,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:55:55] local.INFO: Processing buffer {"connection_id":173297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:55:55] local.INFO: IMEI packet received {"connection_id":173297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":173297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:55:56] local.INFO: TCP Data received {"connection_id":173297,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0722a9b30012d77ab0005f2a678000801192d..."} 
[2026-09-05 20:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0722a9b30012d77ab0005f2a678000801192d..."} 
[2026-09-05 20:55:56] local.INFO: Processing buffer {"connection_id":173297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0722a9b30012d77ab0005f2a678000801192d..."} 
[2026-09-05 20:55:56] local.INFO: Packet analysis {"connection_id":173297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0722a"} 
[2026-09-05 20:55:56] local.INFO: Extracted packet for processing {"connection_id":173297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0722a"} 
[2026-09-05 20:55:56] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":45,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 20:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887101184001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 20:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788621790000,"timestamp_ms":1788621790000,"timestamp_seconds":1788621790,"priority":1,"record_length":96,"hex_timestamp":"000001a0722a9b30"} 
[2026-09-05 20:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:55:56] 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-09-05 20:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-05 20:55:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887101184001,"66":26039,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 20:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887101184001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:55:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:55:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 20:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 20:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887101184001,"power":26039,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 20:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":173297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:55:56] local.INFO: GPS data processed {"connection_id":173297,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:55:56] local.INFO: Acknowledgment sent {"connection_id":173297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:55:59] local.INFO: TCP Data received {"connection_id":172174,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0722bf6d8012d196500071ff128004101452a..."} 
[2026-09-05 20:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0722bf6d8012d196500071ff128004101452a..."} 
[2026-09-05 20:55:59] local.INFO: Processing buffer {"connection_id":172174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0722bf6d8012d196500071ff128004101452a..."} 
[2026-09-05 20:55:59] local.INFO: Packet analysis {"connection_id":172174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0722b"} 
[2026-09-05 20:55:59] local.INFO: Extracted packet for processing {"connection_id":172174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0722b"} 
[2026-09-05 20:55:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887123968001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788621879000,"timestamp_ms":1788621879000,"timestamp_seconds":1788621879,"priority":1,"record_length":96,"hex_timestamp":"000001a0722bf6d8"} 
[2026-09-05 20:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 20:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887123968001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887123968001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:55:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:55:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887123968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":172174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:55:59] local.INFO: GPS data processed {"connection_id":172174,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:55:59] local.INFO: Acknowledgment sent {"connection_id":172174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:56:28] local.INFO: TCP Data received {"connection_id":173297,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0722a9b30012d77ab0005f2a678000801192d..."} 
[2026-09-05 20:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0722a9b30012d77ab0005f2a678000801192d..."} 
[2026-09-05 20:56:28] local.INFO: Processing buffer {"connection_id":173297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0722a9b30012d77ab0005f2a678000801192d..."} 
[2026-09-05 20:56:28] local.INFO: Packet analysis {"connection_id":173297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0722a"} 
[2026-09-05 20:56:28] local.INFO: Extracted packet for processing {"connection_id":173297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0722a"} 
[2026-09-05 20:56:28] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":45,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 20:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887101184001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 20:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788621790000,"timestamp_ms":1788621790000,"timestamp_seconds":1788621790,"priority":1,"record_length":96,"hex_timestamp":"000001a0722a9b30"} 
[2026-09-05 20:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-05 20:56:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887101184001,"66":26039,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 20:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887101184001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:56:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:56:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 20:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 20:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887101184001,"power":26039,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 20:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":173297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:56:28] local.INFO: GPS data processed {"connection_id":173297,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:56:28] local.INFO: Acknowledgment sent {"connection_id":173297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:56:44] local.INFO: TCP Data received {"connection_id":174615,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:56:44] local.INFO: Processing buffer {"connection_id":174615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:56:44] local.INFO: IMEI packet received {"connection_id":174615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":174615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:56:49] local.INFO: TCP Data received {"connection_id":174615,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:56:49] local.INFO: Processing buffer {"connection_id":174615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:56:49] local.INFO: IMEI packet received {"connection_id":174615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":174615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:56:50] local.INFO: TCP Data received {"connection_id":174616,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:56:50] local.INFO: Processing buffer {"connection_id":174616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:56:50] local.INFO: IMEI packet received {"connection_id":174616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":174616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:56:50] local.INFO: TCP Data received {"connection_id":174615,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0722bf6d8012d196500071ff128004101452a..."} 
[2026-09-05 20:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0722bf6d8012d196500071ff128004101452a..."} 
[2026-09-05 20:56:50] local.INFO: Processing buffer {"connection_id":174615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0722bf6d8012d196500071ff128004101452a..."} 
[2026-09-05 20:56:50] local.INFO: Packet analysis {"connection_id":174615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0722b"} 
[2026-09-05 20:56:50] local.INFO: Extracted packet for processing {"connection_id":174615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0722b"} 
[2026-09-05 20:56:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887123968001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788621879000,"timestamp_ms":1788621879000,"timestamp_seconds":1788621879,"priority":1,"record_length":96,"hex_timestamp":"000001a0722bf6d8"} 
[2026-09-05 20:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 20:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887123968001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887123968001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:56:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:56:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887123968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":174615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:56:50] local.INFO: GPS data processed {"connection_id":174615,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:56:50] local.INFO: Acknowledgment sent {"connection_id":174615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:56:55] local.INFO: TCP Data received {"connection_id":174616,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:56:55] local.INFO: Processing buffer {"connection_id":174616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:56:55] local.INFO: IMEI packet received {"connection_id":174616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":174616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:56:56] local.INFO: TCP Data received {"connection_id":174616,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0722a9b30012d77ab0005f2a678000801192d..."} 
[2026-09-05 20:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0722a9b30012d77ab0005f2a678000801192d..."} 
[2026-09-05 20:56:56] local.INFO: Processing buffer {"connection_id":174616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0722a9b30012d77ab0005f2a678000801192d..."} 
[2026-09-05 20:56:56] local.INFO: Packet analysis {"connection_id":174616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0722a"} 
[2026-09-05 20:56:56] local.INFO: Extracted packet for processing {"connection_id":174616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0722a"} 
[2026-09-05 20:56:56] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":45,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 20:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887101184001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 20:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788621790000,"timestamp_ms":1788621790000,"timestamp_seconds":1788621790,"priority":1,"record_length":96,"hex_timestamp":"000001a0722a9b30"} 
[2026-09-05 20:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:56:56] 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-09-05 20:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-05 20:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:56:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887101184001,"66":26039,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 20:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887101184001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:56:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:56:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 20:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 20:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887101184001,"power":26039,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 20:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":174616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:56:56] local.INFO: GPS data processed {"connection_id":174616,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:56:56] local.INFO: Acknowledgment sent {"connection_id":174616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:57:21] local.INFO: TCP Data received {"connection_id":174615,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0722bf6d8012d196500071ff128004101452a..."} 
[2026-09-05 20:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0722bf6d8012d196500071ff128004101452a..."} 
[2026-09-05 20:57:21] local.INFO: Processing buffer {"connection_id":174615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0722bf6d8012d196500071ff128004101452a..."} 
[2026-09-05 20:57:21] local.INFO: Packet analysis {"connection_id":174615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0722b"} 
[2026-09-05 20:57:21] local.INFO: Extracted packet for processing {"connection_id":174615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0722b"} 
[2026-09-05 20:57:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887123968001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788621879000,"timestamp_ms":1788621879000,"timestamp_seconds":1788621879,"priority":1,"record_length":96,"hex_timestamp":"000001a0722bf6d8"} 
[2026-09-05 20:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:57:21] 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-09-05 20:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 20:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887123968001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887123968001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:57:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:57:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887123968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":174615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:57:21] local.INFO: GPS data processed {"connection_id":174615,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:57:21] local.INFO: Acknowledgment sent {"connection_id":174615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:57:28] local.INFO: TCP Data received {"connection_id":174616,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0722a9b30012d77ab0005f2a678000801192d..."} 
[2026-09-05 20:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0722a9b30012d77ab0005f2a678000801192d..."} 
[2026-09-05 20:57:28] local.INFO: Processing buffer {"connection_id":174616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0722a9b30012d77ab0005f2a678000801192d..."} 
[2026-09-05 20:57:28] local.INFO: Packet analysis {"connection_id":174616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0722a"} 
[2026-09-05 20:57:28] local.INFO: Extracted packet for processing {"connection_id":174616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0722a"} 
[2026-09-05 20:57:28] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":45,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 20:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887101184001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 20:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788621790000,"timestamp_ms":1788621790000,"timestamp_seconds":1788621790,"priority":1,"record_length":96,"hex_timestamp":"000001a0722a9b30"} 
[2026-09-05 20:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-05 20:57:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:57:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887101184001,"66":26039,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 20:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887101184001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:57:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:57:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 20:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 20:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887101184001,"power":26039,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 20:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":174616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:57:28] local.INFO: GPS data processed {"connection_id":174616,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:57:28] local.INFO: Acknowledgment sent {"connection_id":174616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:57:44] local.INFO: TCP Data received {"connection_id":171916,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:57:44] local.INFO: Processing buffer {"connection_id":171916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:57:44] local.INFO: IMEI packet received {"connection_id":171916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":171916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:57:49] local.INFO: TCP Data received {"connection_id":171916,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:57:49] local.INFO: Processing buffer {"connection_id":171916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:57:49] local.INFO: IMEI packet received {"connection_id":171916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":171916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:57:50] local.INFO: TCP Data received {"connection_id":172175,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:57:50] local.INFO: Processing buffer {"connection_id":172175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:57:50] local.INFO: IMEI packet received {"connection_id":172175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":172175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:57:50] local.INFO: TCP Data received {"connection_id":171916,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0722bf6d8012d196500071ff128004101452a..."} 
[2026-09-05 20:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0722bf6d8012d196500071ff128004101452a..."} 
[2026-09-05 20:57:50] local.INFO: Processing buffer {"connection_id":171916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0722bf6d8012d196500071ff128004101452a..."} 
[2026-09-05 20:57:50] local.INFO: Packet analysis {"connection_id":171916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0722b"} 
[2026-09-05 20:57:50] local.INFO: Extracted packet for processing {"connection_id":171916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0722b"} 
[2026-09-05 20:57:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887123968001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788621879000,"timestamp_ms":1788621879000,"timestamp_seconds":1788621879,"priority":1,"record_length":96,"hex_timestamp":"000001a0722bf6d8"} 
[2026-09-05 20:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 20:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887123968001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887123968001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:57:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:57:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887123968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":171916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:57:50] local.INFO: GPS data processed {"connection_id":171916,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:57:50] local.INFO: Acknowledgment sent {"connection_id":171916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:57:55] local.INFO: TCP Data received {"connection_id":172175,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:57:55] local.INFO: Processing buffer {"connection_id":172175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:57:55] local.INFO: IMEI packet received {"connection_id":172175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":172175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:57:56] local.INFO: TCP Data received {"connection_id":172175,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0722a9b30012d77ab0005f2a678000801192d..."} 
[2026-09-05 20:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0722a9b30012d77ab0005f2a678000801192d..."} 
[2026-09-05 20:57:56] local.INFO: Processing buffer {"connection_id":172175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0722a9b30012d77ab0005f2a678000801192d..."} 
[2026-09-05 20:57:56] local.INFO: Packet analysis {"connection_id":172175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0722a"} 
[2026-09-05 20:57:56] local.INFO: Extracted packet for processing {"connection_id":172175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0722a"} 
[2026-09-05 20:57:56] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":45,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 20:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887101184001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 20:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788621790000,"timestamp_ms":1788621790000,"timestamp_seconds":1788621790,"priority":1,"record_length":96,"hex_timestamp":"000001a0722a9b30"} 
[2026-09-05 20:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:57:56] 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-09-05 20:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-05 20:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:57:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887101184001,"66":26039,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 20:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887101184001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:57:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:57:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 20:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 20:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887101184001,"power":26039,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 20:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":172175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:57:56] local.INFO: GPS data processed {"connection_id":172175,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:57:56] local.INFO: Acknowledgment sent {"connection_id":172175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:58:21] local.INFO: TCP Data received {"connection_id":171916,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0722bf6d8012d196500071ff128004101452a..."} 
[2026-09-05 20:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0722bf6d8012d196500071ff128004101452a..."} 
[2026-09-05 20:58:21] local.INFO: Processing buffer {"connection_id":171916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0722bf6d8012d196500071ff128004101452a..."} 
[2026-09-05 20:58:21] local.INFO: Packet analysis {"connection_id":171916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0722b"} 
[2026-09-05 20:58:21] local.INFO: Extracted packet for processing {"connection_id":171916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0722b"} 
[2026-09-05 20:58:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887123968001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788621879000,"timestamp_ms":1788621879000,"timestamp_seconds":1788621879,"priority":1,"record_length":96,"hex_timestamp":"000001a0722bf6d8"} 
[2026-09-05 20:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:58:21] 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-09-05 20:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 20:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887123968001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887123968001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:58:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:58:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887123968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":171916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:58:21] local.INFO: GPS data processed {"connection_id":171916,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:58:21] local.INFO: Acknowledgment sent {"connection_id":171916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:58:28] local.INFO: TCP Data received {"connection_id":172175,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0722a9b30012d77ab0005f2a678000801192d..."} 
[2026-09-05 20:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0722a9b30012d77ab0005f2a678000801192d..."} 
[2026-09-05 20:58:28] local.INFO: Processing buffer {"connection_id":172175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0722a9b30012d77ab0005f2a678000801192d..."} 
[2026-09-05 20:58:28] local.INFO: Packet analysis {"connection_id":172175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0722a"} 
[2026-09-05 20:58:28] local.INFO: Extracted packet for processing {"connection_id":172175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0722a"} 
[2026-09-05 20:58:28] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":45,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 20:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887101184001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 20:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788621790000,"timestamp_ms":1788621790000,"timestamp_seconds":1788621790,"priority":1,"record_length":96,"hex_timestamp":"000001a0722a9b30"} 
[2026-09-05 20:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-05 20:58:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:58:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887101184001,"66":26039,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 20:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887101184001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:58:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:58:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 20:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 20:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887101184001,"power":26039,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 20:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":172175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:58:28] local.INFO: GPS data processed {"connection_id":172175,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:58:28] local.INFO: Acknowledgment sent {"connection_id":172175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:58:44] local.INFO: TCP Data received {"connection_id":174617,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:58:44] local.INFO: Processing buffer {"connection_id":174617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:58:44] local.INFO: IMEI packet received {"connection_id":174617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":174617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:58:49] local.INFO: TCP Data received {"connection_id":174617,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:58:49] local.INFO: Processing buffer {"connection_id":174617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:58:49] local.INFO: IMEI packet received {"connection_id":174617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":174617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:58:50] local.INFO: TCP Data received {"connection_id":174617,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0722bf6d8012d196500071ff128004101452a..."} 
[2026-09-05 20:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0722bf6d8012d196500071ff128004101452a..."} 
[2026-09-05 20:58:50] local.INFO: Processing buffer {"connection_id":174617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0722bf6d8012d196500071ff128004101452a..."} 
[2026-09-05 20:58:50] local.INFO: Packet analysis {"connection_id":174617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0722b"} 
[2026-09-05 20:58:50] local.INFO: Extracted packet for processing {"connection_id":174617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0722b"} 
[2026-09-05 20:58:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887123968001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788621879000,"timestamp_ms":1788621879000,"timestamp_seconds":1788621879,"priority":1,"record_length":96,"hex_timestamp":"000001a0722bf6d8"} 
[2026-09-05 20:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 20:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887123968001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887123968001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:58:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:58:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887123968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":174617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:58:50] local.INFO: GPS data processed {"connection_id":174617,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:58:50] local.INFO: Acknowledgment sent {"connection_id":174617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:58:55] local.INFO: TCP Data received {"connection_id":174618,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:58:55] local.INFO: Processing buffer {"connection_id":174618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:58:55] local.INFO: IMEI packet received {"connection_id":174618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":174618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:59:00] local.INFO: TCP Data received {"connection_id":174618,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:59:00] local.INFO: Processing buffer {"connection_id":174618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:59:00] local.INFO: IMEI packet received {"connection_id":174618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":174618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:59:01] local.INFO: TCP Data received {"connection_id":174618,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0722f32f8012d77ab0005f2a678000801192f..."} 
[2026-09-05 20:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0722f32f8012d77ab0005f2a678000801192f..."} 
[2026-09-05 20:59:01] local.INFO: Processing buffer {"connection_id":174618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0722f32f8012d77ab0005f2a678000801192f..."} 
[2026-09-05 20:59:01] local.INFO: Packet analysis {"connection_id":174618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0722f"} 
[2026-09-05 20:59:01] local.INFO: Extracted packet for processing {"connection_id":174618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0722f"} 
[2026-09-05 20:59:01] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":47,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 20:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887178240001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 20:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788622091000,"timestamp_ms":1788622091000,"timestamp_seconds":1788622091,"priority":1,"record_length":96,"hex_timestamp":"000001a0722f32f8"} 
[2026-09-05 20:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:59:01] 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-09-05 20:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-05 20:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20: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-09-05 20:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887178240001,"66":25995,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 20:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887178240001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:59:01] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:59:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 20:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 20:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887178240001,"power":25995,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 20:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":174618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:59:01] local.INFO: GPS data processed {"connection_id":174618,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:59:01] local.INFO: Acknowledgment sent {"connection_id":174618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:59:06] local.INFO: TCP Data received {"connection_id":174618,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0722f32f8012d77ab0005f2a678000801192f..."} 
[2026-09-05 20:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0722f32f8012d77ab0005f2a678000801192f..."} 
[2026-09-05 20:59:06] local.INFO: Processing buffer {"connection_id":174618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0722f32f8012d77ab0005f2a678000801192f..."} 
[2026-09-05 20:59:06] local.INFO: Packet analysis {"connection_id":174618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0722f"} 
[2026-09-05 20:59:06] local.INFO: Extracted packet for processing {"connection_id":174618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0722f"} 
[2026-09-05 20:59:06] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":47,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 20: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-09-05 20:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887178240001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 20:59: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-09-05 20:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788622091000,"timestamp_ms":1788622091000,"timestamp_seconds":1788622091,"priority":1,"record_length":96,"hex_timestamp":"000001a0722f32f8"} 
[2026-09-05 20:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:59:06] 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-09-05 20: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-05 20:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20: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-09-05 20:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887178240001,"66":25995,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 20:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887178240001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:59:06] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:59:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 20:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 20:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887178240001,"power":25995,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 20:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":174618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:59:06] local.INFO: GPS data processed {"connection_id":174618,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:59:06] local.INFO: Acknowledgment sent {"connection_id":174618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:59:21] local.INFO: TCP Data received {"connection_id":174617,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0722bf6d8012d196500071ff128004101452a..."} 
[2026-09-05 20:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0722bf6d8012d196500071ff128004101452a..."} 
[2026-09-05 20:59:21] local.INFO: Processing buffer {"connection_id":174617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0722bf6d8012d196500071ff128004101452a..."} 
[2026-09-05 20:59:21] local.INFO: Packet analysis {"connection_id":174617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0722b"} 
[2026-09-05 20:59:21] local.INFO: Extracted packet for processing {"connection_id":174617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0722b"} 
[2026-09-05 20:59:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887123968001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788621879000,"timestamp_ms":1788621879000,"timestamp_seconds":1788621879,"priority":1,"record_length":96,"hex_timestamp":"000001a0722bf6d8"} 
[2026-09-05 20:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:59:21] 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-09-05 20:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 20:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887123968001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887123968001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:59:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:59:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887123968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":174617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:59:21] local.INFO: GPS data processed {"connection_id":174617,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:59:21] local.INFO: Acknowledgment sent {"connection_id":174617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:59:44] local.INFO: TCP Data received {"connection_id":172176,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:59:44] local.INFO: Processing buffer {"connection_id":172176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:59:44] local.INFO: IMEI packet received {"connection_id":172176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 20:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":172176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:59:49] local.INFO: TCP Data received {"connection_id":172176,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:59:49] local.INFO: Processing buffer {"connection_id":172176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 20:59:49] local.INFO: IMEI packet received {"connection_id":172176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 20:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":172176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:59:50] local.INFO: TCP Data received {"connection_id":173298,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:59:50] local.INFO: Processing buffer {"connection_id":173298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:59:50] local.INFO: IMEI packet received {"connection_id":173298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 20:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":173298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 20:59:50] local.INFO: TCP Data received {"connection_id":172176,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0722bf6d8012d196500071ff128004101452a..."} 
[2026-09-05 20:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0722bf6d8012d196500071ff128004101452a..."} 
[2026-09-05 20:59:50] local.INFO: Processing buffer {"connection_id":172176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0722bf6d8012d196500071ff128004101452a..."} 
[2026-09-05 20:59:50] local.INFO: Packet analysis {"connection_id":172176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0722b"} 
[2026-09-05 20:59:50] local.INFO: Extracted packet for processing {"connection_id":172176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0722b"} 
[2026-09-05 20:59:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 20:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887123968001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 20:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 20:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788621879000,"timestamp_ms":1788621879000,"timestamp_seconds":1788621879,"priority":1,"record_length":96,"hex_timestamp":"000001a0722bf6d8"} 
[2026-09-05 20:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 20:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 20:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 20:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 20:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 20:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 20:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887123968001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 20:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 20:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 20:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887123968001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:59:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 20:59:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 20:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 20:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887123968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 20:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":172176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:59:50] local.INFO: GPS data processed {"connection_id":172176,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:59:50] local.INFO: Acknowledgment sent {"connection_id":172176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 20:59:56] local.INFO: TCP Data received {"connection_id":173298,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:59:56] local.INFO: Processing buffer {"connection_id":173298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 20:59:56] local.INFO: IMEI packet received {"connection_id":173298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 20:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":173298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 20:59:59] local.INFO: TCP Data received {"connection_id":173298,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0722f32f8012d77ab0005f2a678000801192f..."} 
[2026-09-05 20:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0722f32f8012d77ab0005f2a678000801192f..."} 
[2026-09-05 20:59:59] local.INFO: Processing buffer {"connection_id":173298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0722f32f8012d77ab0005f2a678000801192f..."} 
[2026-09-05 20:59:59] local.INFO: Packet analysis {"connection_id":173298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0722f"} 
[2026-09-05 20:59:59] local.INFO: Extracted packet for processing {"connection_id":173298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0722f"} 
[2026-09-05 20:59:59] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":47,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 20:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 20:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887178240001,"note":"Value kept but may cause issues"} 
[2026-09-05 20:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 20:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 20:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 20:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788622091000,"timestamp_ms":1788622091000,"timestamp_seconds":1788622091,"priority":1,"record_length":96,"hex_timestamp":"000001a0722f32f8"} 
[2026-09-05 20:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 20:59:59] 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-09-05 20:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-05 20:59:59] 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-09-05 20:59:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 20:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 20:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 20:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 20:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 20:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 20:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 20:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 20:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887178240001,"66":25995,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 20:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 20:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 20:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887178240001,"description":"Unknown IO ID 0"} 
[2026-09-05 20:59:59] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 20:59:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 20:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 20:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 20:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887178240001,"power":25995,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 20:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":173298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 20:59:59] local.INFO: GPS data processed {"connection_id":173298,"processed":1,"errors":0,"total":1} 
[2026-09-05 20:59:59] local.INFO: Acknowledgment sent {"connection_id":173298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:00:21] local.INFO: TCP Data received {"connection_id":172176,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a072308ea0012d196500071ff1280041014526..."} 
[2026-09-05 21:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072308ea0012d196500071ff1280041014526..."} 
[2026-09-05 21:00:21] local.INFO: Processing buffer {"connection_id":172176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072308ea0012d196500071ff1280041014526..."} 
[2026-09-05 21:00:21] local.INFO: Packet analysis {"connection_id":172176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07230"} 
[2026-09-05 21:00:21] local.INFO: Extracted packet for processing {"connection_id":172176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07230"} 
[2026-09-05 21:00:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887201024001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788622180000,"timestamp_ms":1788622180000,"timestamp_seconds":1788622180,"priority":1,"record_length":96,"hex_timestamp":"000001a072308ea0"} 
[2026-09-05 21:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:00:21] 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-09-05 21:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887201024001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887201024001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:00:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:00:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887201024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":172176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:00:21] local.INFO: GPS data processed {"connection_id":172176,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:00:21] local.INFO: Acknowledgment sent {"connection_id":172176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:00:31] local.INFO: TCP Data received {"connection_id":173298,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0722f32f8012d77ab0005f2a678000801192f..."} 
[2026-09-05 21:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0722f32f8012d77ab0005f2a678000801192f..."} 
[2026-09-05 21:00:31] local.INFO: Processing buffer {"connection_id":173298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0722f32f8012d77ab0005f2a678000801192f..."} 
[2026-09-05 21:00:31] local.INFO: Packet analysis {"connection_id":173298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0722f"} 
[2026-09-05 21:00:31] local.INFO: Extracted packet for processing {"connection_id":173298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0722f"} 
[2026-09-05 21:00:31] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":47,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887178240001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 21:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 21: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-09-05 21:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788622091000,"timestamp_ms":1788622091000,"timestamp_seconds":1788622091,"priority":1,"record_length":96,"hex_timestamp":"000001a0722f32f8"} 
[2026-09-05 21:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:00:31] 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-09-05 21: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":183,"data_length":795,"current_offset":136} 
[2026-09-05 21:00:31] 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-09-05 21: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-09-05 21:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887178240001,"66":25995,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887178240001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:00:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:00:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 21:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887178240001,"power":25995,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 21:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":173298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:00:31] local.INFO: GPS data processed {"connection_id":173298,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:00:31] local.INFO: Acknowledgment sent {"connection_id":173298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:00:49] local.INFO: TCP Data received {"connection_id":173299,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:00:49] local.INFO: Processing buffer {"connection_id":173299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:00:49] local.INFO: IMEI packet received {"connection_id":173299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":173299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:00:50] local.INFO: TCP Data received {"connection_id":171917,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:00:50] local.INFO: Processing buffer {"connection_id":171917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:00:50] local.INFO: IMEI packet received {"connection_id":171917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":171917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:00:54] local.INFO: TCP Data received {"connection_id":173299,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:00:54] local.INFO: Processing buffer {"connection_id":173299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:00:54] local.INFO: IMEI packet received {"connection_id":173299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":173299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:00:55] local.INFO: TCP Data received {"connection_id":173299,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a072308ea0012d196500071ff1280041014526..."} 
[2026-09-05 21:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072308ea0012d196500071ff1280041014526..."} 
[2026-09-05 21:00:55] local.INFO: Processing buffer {"connection_id":173299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072308ea0012d196500071ff1280041014526..."} 
[2026-09-05 21:00:55] local.INFO: Packet analysis {"connection_id":173299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07230"} 
[2026-09-05 21:00:55] local.INFO: Extracted packet for processing {"connection_id":173299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07230"} 
[2026-09-05 21:00:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887201024001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788622180000,"timestamp_ms":1788622180000,"timestamp_seconds":1788622180,"priority":1,"record_length":96,"hex_timestamp":"000001a072308ea0"} 
[2026-09-05 21:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:00:55] 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-09-05 21:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887201024001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887201024001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:00:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:00:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887201024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":173299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:00:55] local.INFO: GPS data processed {"connection_id":173299,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:00:55] local.INFO: Acknowledgment sent {"connection_id":173299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:00:55] local.INFO: TCP Data received {"connection_id":171917,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:00:55] local.INFO: Processing buffer {"connection_id":171917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:00:55] local.INFO: IMEI packet received {"connection_id":171917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":171917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:00:56] local.INFO: TCP Data received {"connection_id":171917,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0722f32f8012d77ab0005f2a678000801192f..."} 
[2026-09-05 21:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0722f32f8012d77ab0005f2a678000801192f..."} 
[2026-09-05 21:00:56] local.INFO: Processing buffer {"connection_id":171917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0722f32f8012d77ab0005f2a678000801192f..."} 
[2026-09-05 21:00:56] local.INFO: Packet analysis {"connection_id":171917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0722f"} 
[2026-09-05 21:00:56] local.INFO: Extracted packet for processing {"connection_id":171917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0722f"} 
[2026-09-05 21:00:56] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":47,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 21:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887178240001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 21:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 21:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788622091000,"timestamp_ms":1788622091000,"timestamp_seconds":1788622091,"priority":1,"record_length":96,"hex_timestamp":"000001a0722f32f8"} 
[2026-09-05 21:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:00:56] 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-09-05 21:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-05 21:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:00:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887178240001,"66":25995,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887178240001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:00:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:00:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 21:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887178240001,"power":25995,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 21:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":171917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:00:56] local.INFO: GPS data processed {"connection_id":171917,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:00:56] local.INFO: Acknowledgment sent {"connection_id":171917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:01:26] local.INFO: TCP Data received {"connection_id":173299,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a072308ea0012d196500071ff1280041014526..."} 
[2026-09-05 21:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072308ea0012d196500071ff1280041014526..."} 
[2026-09-05 21:01:26] local.INFO: Processing buffer {"connection_id":173299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072308ea0012d196500071ff1280041014526..."} 
[2026-09-05 21:01:26] local.INFO: Packet analysis {"connection_id":173299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07230"} 
[2026-09-05 21:01:26] local.INFO: Extracted packet for processing {"connection_id":173299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07230"} 
[2026-09-05 21:01:26] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887201024001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788622180000,"timestamp_ms":1788622180000,"timestamp_seconds":1788622180,"priority":1,"record_length":96,"hex_timestamp":"000001a072308ea0"} 
[2026-09-05 21:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:01:26] 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-09-05 21: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":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21: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-09-05 21:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887201024001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887201024001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:01:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:01:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887201024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":173299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:01:26] local.INFO: GPS data processed {"connection_id":173299,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:01:26] local.INFO: Acknowledgment sent {"connection_id":173299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:01:28] local.INFO: TCP Data received {"connection_id":171917,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0722f32f8012d77ab0005f2a678000801192f..."} 
[2026-09-05 21:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0722f32f8012d77ab0005f2a678000801192f..."} 
[2026-09-05 21:01:28] local.INFO: Processing buffer {"connection_id":171917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0722f32f8012d77ab0005f2a678000801192f..."} 
[2026-09-05 21:01:28] local.INFO: Packet analysis {"connection_id":171917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0722f"} 
[2026-09-05 21:01:28] local.INFO: Extracted packet for processing {"connection_id":171917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0722f"} 
[2026-09-05 21:01:28] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":47,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 21:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887178240001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 21:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 21:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788622091000,"timestamp_ms":1788622091000,"timestamp_seconds":1788622091,"priority":1,"record_length":96,"hex_timestamp":"000001a0722f32f8"} 
[2026-09-05 21:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-05 21:01:28] 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-09-05 21:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":171917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":171917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":171917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887178240001,"66":25995,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887178240001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:01:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:01:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 21:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887178240001,"power":25995,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 21:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":171917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:01:28] local.INFO: GPS data processed {"connection_id":171917,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:01:28] local.INFO: Acknowledgment sent {"connection_id":171917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:01:44] local.INFO: TCP Data received {"connection_id":174619,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:01:44] local.INFO: Processing buffer {"connection_id":174619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:01:44] local.INFO: IMEI packet received {"connection_id":174619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":174619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:01:49] local.INFO: TCP Data received {"connection_id":174619,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:01:49] local.INFO: Processing buffer {"connection_id":174619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:01:49] local.INFO: IMEI packet received {"connection_id":174619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":174619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:01:50] local.INFO: TCP Data received {"connection_id":172177,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:01:50] local.INFO: Processing buffer {"connection_id":172177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:01:50] local.INFO: IMEI packet received {"connection_id":172177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":172177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:01:50] local.INFO: TCP Data received {"connection_id":174619,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a072308ea0012d196500071ff1280041014526..."} 
[2026-09-05 21:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072308ea0012d196500071ff1280041014526..."} 
[2026-09-05 21:01:50] local.INFO: Processing buffer {"connection_id":174619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072308ea0012d196500071ff1280041014526..."} 
[2026-09-05 21:01:50] local.INFO: Packet analysis {"connection_id":174619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07230"} 
[2026-09-05 21:01:50] local.INFO: Extracted packet for processing {"connection_id":174619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07230"} 
[2026-09-05 21:01:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887201024001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788622180000,"timestamp_ms":1788622180000,"timestamp_seconds":1788622180,"priority":1,"record_length":96,"hex_timestamp":"000001a072308ea0"} 
[2026-09-05 21:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:01:50] 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-09-05 21:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887201024001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887201024001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:01:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:01:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887201024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":174619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:01:50] local.INFO: GPS data processed {"connection_id":174619,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:01:50] local.INFO: Acknowledgment sent {"connection_id":174619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:01:55] local.INFO: TCP Data received {"connection_id":172177,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:01:55] local.INFO: Processing buffer {"connection_id":172177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:01:55] local.INFO: IMEI packet received {"connection_id":172177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":172177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:01:56] local.INFO: TCP Data received {"connection_id":172177,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0722f32f8012d77ab0005f2a678000801192f..."} 
[2026-09-05 21:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0722f32f8012d77ab0005f2a678000801192f..."} 
[2026-09-05 21:01:56] local.INFO: Processing buffer {"connection_id":172177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0722f32f8012d77ab0005f2a678000801192f..."} 
[2026-09-05 21:01:56] local.INFO: Packet analysis {"connection_id":172177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0722f"} 
[2026-09-05 21:01:56] local.INFO: Extracted packet for processing {"connection_id":172177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0722f"} 
[2026-09-05 21:01:56] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":47,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 21:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887178240001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 21:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 21:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788622091000,"timestamp_ms":1788622091000,"timestamp_seconds":1788622091,"priority":1,"record_length":96,"hex_timestamp":"000001a0722f32f8"} 
[2026-09-05 21:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:01:56] 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-09-05 21:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-05 21:01:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:01:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887178240001,"66":25995,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887178240001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:01:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:01:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 21:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887178240001,"power":25995,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 21:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":172177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:01:56] local.INFO: GPS data processed {"connection_id":172177,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:01:56] local.INFO: Acknowledgment sent {"connection_id":172177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:02:21] local.INFO: TCP Data received {"connection_id":174619,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a072308ea0012d196500071ff1280041014526..."} 
[2026-09-05 21:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072308ea0012d196500071ff1280041014526..."} 
[2026-09-05 21:02:21] local.INFO: Processing buffer {"connection_id":174619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072308ea0012d196500071ff1280041014526..."} 
[2026-09-05 21:02:21] local.INFO: Packet analysis {"connection_id":174619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07230"} 
[2026-09-05 21:02:21] local.INFO: Extracted packet for processing {"connection_id":174619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07230"} 
[2026-09-05 21:02:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887201024001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788622180000,"timestamp_ms":1788622180000,"timestamp_seconds":1788622180,"priority":1,"record_length":96,"hex_timestamp":"000001a072308ea0"} 
[2026-09-05 21:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:02:21] 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-09-05 21:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887201024001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887201024001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:02:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:02:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887201024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":174619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:02:21] local.INFO: GPS data processed {"connection_id":174619,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:02:21] local.INFO: Acknowledgment sent {"connection_id":174619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:02:27] local.INFO: TCP Data received {"connection_id":172177,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0722f32f8012d77ab0005f2a678000801192f..."} 
[2026-09-05 21:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0722f32f8012d77ab0005f2a678000801192f..."} 
[2026-09-05 21:02:27] local.INFO: Processing buffer {"connection_id":172177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0722f32f8012d77ab0005f2a678000801192f..."} 
[2026-09-05 21:02:27] local.INFO: Packet analysis {"connection_id":172177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0722f"} 
[2026-09-05 21:02:27] local.INFO: Extracted packet for processing {"connection_id":172177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0722f"} 
[2026-09-05 21:02:27] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":47,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 21:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887178240001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 21:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 21:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788622091000,"timestamp_ms":1788622091000,"timestamp_seconds":1788622091,"priority":1,"record_length":96,"hex_timestamp":"000001a0722f32f8"} 
[2026-09-05 21:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-05 21:02:27] 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-09-05 21:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887178240001,"66":25995,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887178240001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:02:27] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:02:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 21:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887178240001,"power":25995,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 21:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":172177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:02:27] local.INFO: GPS data processed {"connection_id":172177,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:02:27] local.INFO: Acknowledgment sent {"connection_id":172177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:02:44] local.INFO: TCP Data received {"connection_id":173300,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:02:44] local.INFO: Processing buffer {"connection_id":173300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:02:44] local.INFO: IMEI packet received {"connection_id":173300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":173300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:02:49] local.INFO: TCP Data received {"connection_id":173300,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:02:49] local.INFO: Processing buffer {"connection_id":173300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:02:49] local.INFO: IMEI packet received {"connection_id":173300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":173300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:02:50] local.INFO: TCP Data received {"connection_id":173300,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072308ea0012d196500071ff1280041014526..."} 
[2026-09-05 21:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072308ea0012d196500071ff1280041014526..."} 
[2026-09-05 21:02:50] local.INFO: Processing buffer {"connection_id":173300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072308ea0012d196500071ff1280041014526..."} 
[2026-09-05 21:02:50] local.INFO: Packet analysis {"connection_id":173300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07230"} 
[2026-09-05 21:02:50] local.INFO: Extracted packet for processing {"connection_id":173300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07230"} 
[2026-09-05 21:02:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887201024001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788622180000,"timestamp_ms":1788622180000,"timestamp_seconds":1788622180,"priority":1,"record_length":96,"hex_timestamp":"000001a072308ea0"} 
[2026-09-05 21:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:02:50] 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-09-05 21:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887201024001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887201024001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:02:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:02:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887201024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":173300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:02:50] local.INFO: GPS data processed {"connection_id":173300,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:02:50] local.INFO: Acknowledgment sent {"connection_id":173300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:02:55] local.INFO: TCP Data received {"connection_id":173301,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:02:55] local.INFO: Processing buffer {"connection_id":173301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:02:55] local.INFO: IMEI packet received {"connection_id":173301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":173301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:03:00] local.INFO: TCP Data received {"connection_id":173301,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:03:00] local.INFO: Processing buffer {"connection_id":173301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:03:00] local.INFO: IMEI packet received {"connection_id":173301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":173301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:03:01] local.INFO: TCP Data received {"connection_id":173301,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0722f32f8012d77ab0005f2a678000801192f..."} 
[2026-09-05 21:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0722f32f8012d77ab0005f2a678000801192f..."} 
[2026-09-05 21:03:01] local.INFO: Processing buffer {"connection_id":173301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0722f32f8012d77ab0005f2a678000801192f..."} 
[2026-09-05 21:03:01] local.INFO: Packet analysis {"connection_id":173301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0722f"} 
[2026-09-05 21:03:01] local.INFO: Extracted packet for processing {"connection_id":173301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0722f"} 
[2026-09-05 21:03:01] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":47,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 21:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887178240001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 21:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 21:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788622091000,"timestamp_ms":1788622091000,"timestamp_seconds":1788622091,"priority":1,"record_length":96,"hex_timestamp":"000001a0722f32f8"} 
[2026-09-05 21:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:03:01] 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-09-05 21:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-05 21:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887178240001,"66":25995,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887178240001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:03:01] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:03:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 21:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887178240001,"power":25995,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 21:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":173301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:03:01] local.INFO: GPS data processed {"connection_id":173301,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:03:01] local.INFO: Acknowledgment sent {"connection_id":173301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:03:07] local.INFO: TCP Data received {"connection_id":173301,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0722f32f8012d77ab0005f2a678000801192f..."} 
[2026-09-05 21:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0722f32f8012d77ab0005f2a678000801192f..."} 
[2026-09-05 21:03:07] local.INFO: Processing buffer {"connection_id":173301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0722f32f8012d77ab0005f2a678000801192f..."} 
[2026-09-05 21:03:07] local.INFO: Packet analysis {"connection_id":173301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0722f"} 
[2026-09-05 21:03:07] local.INFO: Extracted packet for processing {"connection_id":173301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0722f"} 
[2026-09-05 21:03:07] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":47,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 21:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887178240001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 21:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 21:03: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-09-05 21:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788622091000,"timestamp_ms":1788622091000,"timestamp_seconds":1788622091,"priority":1,"record_length":96,"hex_timestamp":"000001a0722f32f8"} 
[2026-09-05 21:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:03: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-09-05 21:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-05 21:03:07] 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-09-05 21:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887178240001,"66":25995,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887178240001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:03:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:03:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 21:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887178240001,"power":25995,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 21:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":173301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:03:07] local.INFO: GPS data processed {"connection_id":173301,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:03:07] local.INFO: Acknowledgment sent {"connection_id":173301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:03:21] local.INFO: TCP Data received {"connection_id":173300,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072308ea0012d196500071ff1280041014526..."} 
[2026-09-05 21:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072308ea0012d196500071ff1280041014526..."} 
[2026-09-05 21:03:21] local.INFO: Processing buffer {"connection_id":173300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072308ea0012d196500071ff1280041014526..."} 
[2026-09-05 21:03:21] local.INFO: Packet analysis {"connection_id":173300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07230"} 
[2026-09-05 21:03:21] local.INFO: Extracted packet for processing {"connection_id":173300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07230"} 
[2026-09-05 21:03:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887201024001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788622180000,"timestamp_ms":1788622180000,"timestamp_seconds":1788622180,"priority":1,"record_length":96,"hex_timestamp":"000001a072308ea0"} 
[2026-09-05 21:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:03:21] 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-09-05 21:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887201024001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887201024001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:03:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:03:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887201024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":173300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:03:21] local.INFO: GPS data processed {"connection_id":173300,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:03:21] local.INFO: Acknowledgment sent {"connection_id":173300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:03:44] local.INFO: TCP Data received {"connection_id":171918,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:03:44] local.INFO: Processing buffer {"connection_id":171918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:03:44] local.INFO: IMEI packet received {"connection_id":171918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":171918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:03:49] local.INFO: TCP Data received {"connection_id":171918,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:03:49] local.INFO: Processing buffer {"connection_id":171918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:03:49] local.INFO: IMEI packet received {"connection_id":171918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":171918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:03:50] local.INFO: TCP Data received {"connection_id":171919,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:03:50] local.INFO: Processing buffer {"connection_id":171919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:03:50] local.INFO: IMEI packet received {"connection_id":171919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":171919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:03:50] local.INFO: TCP Data received {"connection_id":171918,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a072308ea0012d196500071ff1280041014526..."} 
[2026-09-05 21:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072308ea0012d196500071ff1280041014526..."} 
[2026-09-05 21:03:50] local.INFO: Processing buffer {"connection_id":171918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072308ea0012d196500071ff1280041014526..."} 
[2026-09-05 21:03:50] local.INFO: Packet analysis {"connection_id":171918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07230"} 
[2026-09-05 21:03:50] local.INFO: Extracted packet for processing {"connection_id":171918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07230"} 
[2026-09-05 21:03:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887201024001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788622180000,"timestamp_ms":1788622180000,"timestamp_seconds":1788622180,"priority":1,"record_length":96,"hex_timestamp":"000001a072308ea0"} 
[2026-09-05 21:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:03:50] 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-09-05 21:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:03:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887201024001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887201024001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:03:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:03:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887201024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":171918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:03:50] local.INFO: GPS data processed {"connection_id":171918,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:03:50] local.INFO: Acknowledgment sent {"connection_id":171918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:03:50] local.INFO: TCP Data received {"connection_id":171919,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:03:50] local.INFO: Processing buffer {"connection_id":171919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:03:50] local.INFO: IMEI packet received {"connection_id":171919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":171919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:03:55] local.INFO: TCP Data received {"connection_id":171919,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:03:55] local.INFO: Processing buffer {"connection_id":171919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:03:55] local.INFO: IMEI packet received {"connection_id":171919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":171919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:03:56] local.INFO: TCP Data received {"connection_id":171919,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07233cac0012d77ab0005f2a678000801192c..."} 
[2026-09-05 21:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07233cac0012d77ab0005f2a678000801192c..."} 
[2026-09-05 21:03:56] local.INFO: Processing buffer {"connection_id":171919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07233cac0012d77ab0005f2a678000801192c..."} 
[2026-09-05 21:03:56] local.INFO: Packet analysis {"connection_id":171919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07233"} 
[2026-09-05 21:03:56] local.INFO: Extracted packet for processing {"connection_id":171919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07233"} 
[2026-09-05 21:03:56] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":44,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887255296001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 21:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 21:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788622392000,"timestamp_ms":1788622392000,"timestamp_seconds":1788622392,"priority":1,"record_length":96,"hex_timestamp":"000001a07233cac0"} 
[2026-09-05 21:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:03:56] 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-09-05 21: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 21:03:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21: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-09-05 21:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887255296001,"66":25756,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887255296001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:03:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:03:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 21:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887255296001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 21:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":171919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:03:56] local.INFO: GPS data processed {"connection_id":171919,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:03:56] local.INFO: Acknowledgment sent {"connection_id":171919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:04:21] local.INFO: TCP Data received {"connection_id":171918,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a072308ea0012d196500071ff1280041014526..."} 
[2026-09-05 21:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072308ea0012d196500071ff1280041014526..."} 
[2026-09-05 21:04:21] local.INFO: Processing buffer {"connection_id":171918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072308ea0012d196500071ff1280041014526..."} 
[2026-09-05 21:04:21] local.INFO: Packet analysis {"connection_id":171918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07230"} 
[2026-09-05 21:04:21] local.INFO: Extracted packet for processing {"connection_id":171918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07230"} 
[2026-09-05 21:04:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887201024001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788622180000,"timestamp_ms":1788622180000,"timestamp_seconds":1788622180,"priority":1,"record_length":96,"hex_timestamp":"000001a072308ea0"} 
[2026-09-05 21:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:04:21] 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-09-05 21:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887201024001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887201024001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:04:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:04:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887201024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":171918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:04:21] local.INFO: GPS data processed {"connection_id":171918,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:04:21] local.INFO: Acknowledgment sent {"connection_id":171918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:04:32] local.INFO: TCP Data received {"connection_id":171919,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07233cac0012d77ab0005f2a678000801192c..."} 
[2026-09-05 21:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07233cac0012d77ab0005f2a678000801192c..."} 
[2026-09-05 21:04:32] local.INFO: Processing buffer {"connection_id":171919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07233cac0012d77ab0005f2a678000801192c..."} 
[2026-09-05 21:04:32] local.INFO: Packet analysis {"connection_id":171919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07233"} 
[2026-09-05 21:04:32] local.INFO: Extracted packet for processing {"connection_id":171919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07233"} 
[2026-09-05 21:04:32] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":44,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 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-09-05 21:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887255296001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 21:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 21:04: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-09-05 21:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788622392000,"timestamp_ms":1788622392000,"timestamp_seconds":1788622392,"priority":1,"record_length":96,"hex_timestamp":"000001a07233cac0"} 
[2026-09-05 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-09-05 21:04:32] 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-09-05 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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 21:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 21:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":171919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":171919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":171919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887255296001,"66":25756,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887255296001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:04:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:04:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 21:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887255296001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 21:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":171919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:04:32] local.INFO: GPS data processed {"connection_id":171919,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:04:32] local.INFO: Acknowledgment sent {"connection_id":171919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:04:44] local.INFO: TCP Data received {"connection_id":172178,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:04:44] local.INFO: Processing buffer {"connection_id":172178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:04:44] local.INFO: IMEI packet received {"connection_id":172178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":172178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:04:49] local.INFO: TCP Data received {"connection_id":172178,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:04:49] local.INFO: Processing buffer {"connection_id":172178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:04:49] local.INFO: IMEI packet received {"connection_id":172178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":172178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:04:50] local.INFO: TCP Data received {"connection_id":172179,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:04:50] local.INFO: Processing buffer {"connection_id":172179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:04:50] local.INFO: IMEI packet received {"connection_id":172179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":172179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:04:50] local.INFO: TCP Data received {"connection_id":172178,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a072308ea0012d196500071ff1280041014526..."} 
[2026-09-05 21:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072308ea0012d196500071ff1280041014526..."} 
[2026-09-05 21:04:50] local.INFO: Processing buffer {"connection_id":172178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072308ea0012d196500071ff1280041014526..."} 
[2026-09-05 21:04:50] local.INFO: Packet analysis {"connection_id":172178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07230"} 
[2026-09-05 21:04:50] local.INFO: Extracted packet for processing {"connection_id":172178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07230"} 
[2026-09-05 21:04:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887201024001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788622180000,"timestamp_ms":1788622180000,"timestamp_seconds":1788622180,"priority":1,"record_length":96,"hex_timestamp":"000001a072308ea0"} 
[2026-09-05 21:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:04:50] 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-09-05 21:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887201024001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887201024001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:04:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:04:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887201024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":172178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:04:50] local.INFO: GPS data processed {"connection_id":172178,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:04:50] local.INFO: Acknowledgment sent {"connection_id":172178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:04:55] local.INFO: TCP Data received {"connection_id":172179,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:04:55] local.INFO: Processing buffer {"connection_id":172179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:04:55] local.INFO: IMEI packet received {"connection_id":172179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":172179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:04:56] local.INFO: TCP Data received {"connection_id":172179,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07233cac0012d77ab0005f2a678000801192c..."} 
[2026-09-05 21:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07233cac0012d77ab0005f2a678000801192c..."} 
[2026-09-05 21:04:56] local.INFO: Processing buffer {"connection_id":172179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07233cac0012d77ab0005f2a678000801192c..."} 
[2026-09-05 21:04:56] local.INFO: Packet analysis {"connection_id":172179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07233"} 
[2026-09-05 21:04:56] local.INFO: Extracted packet for processing {"connection_id":172179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07233"} 
[2026-09-05 21:04:56] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":44,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 21:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887255296001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 21:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 21:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788622392000,"timestamp_ms":1788622392000,"timestamp_seconds":1788622392,"priority":1,"record_length":96,"hex_timestamp":"000001a07233cac0"} 
[2026-09-05 21:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:04:56] 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-09-05 21:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 21:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:04:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887255296001,"66":25756,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887255296001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:04:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:04:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 21:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887255296001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 21:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":172179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:04:56] local.INFO: GPS data processed {"connection_id":172179,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:04:56] local.INFO: Acknowledgment sent {"connection_id":172179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:05:21] local.INFO: TCP Data received {"connection_id":172178,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a072352668012d196500071ff1280041014529..."} 
[2026-09-05 21:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072352668012d196500071ff1280041014529..."} 
[2026-09-05 21:05:21] local.INFO: Processing buffer {"connection_id":172178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072352668012d196500071ff1280041014529..."} 
[2026-09-05 21:05:21] local.INFO: Packet analysis {"connection_id":172178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07235"} 
[2026-09-05 21:05:21] local.INFO: Extracted packet for processing {"connection_id":172178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07235"} 
[2026-09-05 21:05:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887278080001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788622481000,"timestamp_ms":1788622481000,"timestamp_seconds":1788622481,"priority":1,"record_length":96,"hex_timestamp":"000001a072352668"} 
[2026-09-05 21:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:05:21] 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-09-05 21:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887278080001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887278080001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:05:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:05:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887278080001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":172178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:05:21] local.INFO: GPS data processed {"connection_id":172178,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:05:21] local.INFO: Acknowledgment sent {"connection_id":172178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:05:27] local.INFO: TCP Data received {"connection_id":172179,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07233cac0012d77ab0005f2a678000801192c..."} 
[2026-09-05 21:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07233cac0012d77ab0005f2a678000801192c..."} 
[2026-09-05 21:05:27] local.INFO: Processing buffer {"connection_id":172179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07233cac0012d77ab0005f2a678000801192c..."} 
[2026-09-05 21:05:27] local.INFO: Packet analysis {"connection_id":172179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07233"} 
[2026-09-05 21:05:27] local.INFO: Extracted packet for processing {"connection_id":172179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07233"} 
[2026-09-05 21:05:27] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":44,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887255296001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 21:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 21:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788622392000,"timestamp_ms":1788622392000,"timestamp_seconds":1788622392,"priority":1,"record_length":96,"hex_timestamp":"000001a07233cac0"} 
[2026-09-05 21:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:05:27] 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-09-05 21: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 21:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21: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-09-05 21:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887255296001,"66":25756,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887255296001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:05:27] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:05:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 21:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887255296001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 21:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":172179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:05:27] local.INFO: GPS data processed {"connection_id":172179,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:05:27] local.INFO: Acknowledgment sent {"connection_id":172179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:05:49] local.INFO: TCP Data received {"connection_id":171920,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:05:49] local.INFO: Processing buffer {"connection_id":171920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:05:49] local.INFO: IMEI packet received {"connection_id":171920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":171920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:05:54] local.INFO: TCP Data received {"connection_id":171920,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:05:54] local.INFO: Processing buffer {"connection_id":171920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:05:54] local.INFO: IMEI packet received {"connection_id":171920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":171920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:05:55] local.INFO: TCP Data received {"connection_id":171920,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a072352668012d196500071ff1280041014529..."} 
[2026-09-05 21:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072352668012d196500071ff1280041014529..."} 
[2026-09-05 21:05:55] local.INFO: Processing buffer {"connection_id":171920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072352668012d196500071ff1280041014529..."} 
[2026-09-05 21:05:55] local.INFO: Packet analysis {"connection_id":171920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07235"} 
[2026-09-05 21:05:55] local.INFO: Extracted packet for processing {"connection_id":171920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07235"} 
[2026-09-05 21:05:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:05: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-09-05 21:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887278080001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788622481000,"timestamp_ms":1788622481000,"timestamp_seconds":1788622481,"priority":1,"record_length":96,"hex_timestamp":"000001a072352668"} 
[2026-09-05 21:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:05:55] 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-09-05 21:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:05: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-09-05 21:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887278080001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887278080001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:05:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:05:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887278080001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":171920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:05:55] local.INFO: GPS data processed {"connection_id":171920,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:05:55] local.INFO: Acknowledgment sent {"connection_id":171920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:05:55] local.INFO: TCP Data received {"connection_id":174620,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:05:55] local.INFO: Processing buffer {"connection_id":174620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:05:55] local.INFO: IMEI packet received {"connection_id":174620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":174620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:06:00] local.INFO: TCP Data received {"connection_id":174620,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:06:00] local.INFO: Processing buffer {"connection_id":174620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:06:00] local.INFO: IMEI packet received {"connection_id":174620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":174620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:06:01] local.INFO: TCP Data received {"connection_id":174620,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07233cac0012d77ab0005f2a678000801192c..."} 
[2026-09-05 21:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07233cac0012d77ab0005f2a678000801192c..."} 
[2026-09-05 21:06:01] local.INFO: Processing buffer {"connection_id":174620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07233cac0012d77ab0005f2a678000801192c..."} 
[2026-09-05 21:06:01] local.INFO: Packet analysis {"connection_id":174620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07233"} 
[2026-09-05 21:06:01] local.INFO: Extracted packet for processing {"connection_id":174620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07233"} 
[2026-09-05 21:06:01] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":44,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 21:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887255296001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 21:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 21:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788622392000,"timestamp_ms":1788622392000,"timestamp_seconds":1788622392,"priority":1,"record_length":96,"hex_timestamp":"000001a07233cac0"} 
[2026-09-05 21:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:06:01] 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-09-05 21:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 21:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887255296001,"66":25756,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887255296001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:06:01] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:06:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 21:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887255296001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 21:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":174620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:06:01] local.INFO: GPS data processed {"connection_id":174620,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:06:01] local.INFO: Acknowledgment sent {"connection_id":174620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:06:26] local.INFO: TCP Data received {"connection_id":171920,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a072352668012d196500071ff1280041014529..."} 
[2026-09-05 21:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072352668012d196500071ff1280041014529..."} 
[2026-09-05 21:06:26] local.INFO: Processing buffer {"connection_id":171920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072352668012d196500071ff1280041014529..."} 
[2026-09-05 21:06:26] local.INFO: Packet analysis {"connection_id":171920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07235"} 
[2026-09-05 21:06:26] local.INFO: Extracted packet for processing {"connection_id":171920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07235"} 
[2026-09-05 21:06:26] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887278080001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788622481000,"timestamp_ms":1788622481000,"timestamp_seconds":1788622481,"priority":1,"record_length":96,"hex_timestamp":"000001a072352668"} 
[2026-09-05 21:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:06:26] 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-09-05 21:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887278080001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887278080001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:06:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:06:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887278080001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":171920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:06:26] local.INFO: GPS data processed {"connection_id":171920,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:06:26] local.INFO: Acknowledgment sent {"connection_id":171920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:06:33] local.INFO: TCP Data received {"connection_id":174620,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07233cac0012d77ab0005f2a678000801192c..."} 
[2026-09-05 21:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07233cac0012d77ab0005f2a678000801192c..."} 
[2026-09-05 21:06:33] local.INFO: Processing buffer {"connection_id":174620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07233cac0012d77ab0005f2a678000801192c..."} 
[2026-09-05 21:06:33] local.INFO: Packet analysis {"connection_id":174620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07233"} 
[2026-09-05 21:06:33] local.INFO: Extracted packet for processing {"connection_id":174620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07233"} 
[2026-09-05 21:06:33] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":44,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887255296001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 21:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 21:06: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-09-05 21:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788622392000,"timestamp_ms":1788622392000,"timestamp_seconds":1788622392,"priority":1,"record_length":96,"hex_timestamp":"000001a07233cac0"} 
[2026-09-05 21:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 21:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21: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-09-05 21:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887255296001,"66":25756,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887255296001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:06:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:06:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 21:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887255296001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 21:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":174620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:06:33] local.INFO: GPS data processed {"connection_id":174620,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:06:33] local.INFO: Acknowledgment sent {"connection_id":174620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:06:44] local.INFO: TCP Data received {"connection_id":174621,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:06:44] local.INFO: Processing buffer {"connection_id":174621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:06:44] local.INFO: IMEI packet received {"connection_id":174621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":174621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:06:49] local.INFO: TCP Data received {"connection_id":174621,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:06:49] local.INFO: Processing buffer {"connection_id":174621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:06:49] local.INFO: IMEI packet received {"connection_id":174621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":174621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:06:50] local.INFO: TCP Data received {"connection_id":172180,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:06:50] local.INFO: Processing buffer {"connection_id":172180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:06:50] local.INFO: IMEI packet received {"connection_id":172180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":172180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:06:50] local.INFO: TCP Data received {"connection_id":174621,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072352668012d196500071ff1280041014529..."} 
[2026-09-05 21:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072352668012d196500071ff1280041014529..."} 
[2026-09-05 21:06:50] local.INFO: Processing buffer {"connection_id":174621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072352668012d196500071ff1280041014529..."} 
[2026-09-05 21:06:50] local.INFO: Packet analysis {"connection_id":174621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07235"} 
[2026-09-05 21:06:50] local.INFO: Extracted packet for processing {"connection_id":174621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07235"} 
[2026-09-05 21:06:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887278080001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788622481000,"timestamp_ms":1788622481000,"timestamp_seconds":1788622481,"priority":1,"record_length":96,"hex_timestamp":"000001a072352668"} 
[2026-09-05 21:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:06:50] 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-09-05 21:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:06:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887278080001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887278080001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:06:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:06:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887278080001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":174621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:06:50] local.INFO: GPS data processed {"connection_id":174621,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:06:50] local.INFO: Acknowledgment sent {"connection_id":174621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:06:55] local.INFO: TCP Data received {"connection_id":172180,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:06:55] local.INFO: Processing buffer {"connection_id":172180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:06:55] local.INFO: IMEI packet received {"connection_id":172180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":172180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:06:56] local.INFO: TCP Data received {"connection_id":172180,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07233cac0012d77ab0005f2a678000801192c..."} 
[2026-09-05 21:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07233cac0012d77ab0005f2a678000801192c..."} 
[2026-09-05 21:06:56] local.INFO: Processing buffer {"connection_id":172180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07233cac0012d77ab0005f2a678000801192c..."} 
[2026-09-05 21:06:56] local.INFO: Packet analysis {"connection_id":172180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07233"} 
[2026-09-05 21:06:56] local.INFO: Extracted packet for processing {"connection_id":172180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07233"} 
[2026-09-05 21:06:56] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":44,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 21:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887255296001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 21:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 21:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788622392000,"timestamp_ms":1788622392000,"timestamp_seconds":1788622392,"priority":1,"record_length":96,"hex_timestamp":"000001a07233cac0"} 
[2026-09-05 21:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:06:56] 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-09-05 21:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 21:06:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:06:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887255296001,"66":25756,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887255296001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:06:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:06:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 21:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887255296001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 21:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":172180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:06:56] local.INFO: GPS data processed {"connection_id":172180,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:06:56] local.INFO: Acknowledgment sent {"connection_id":172180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:07:21] local.INFO: TCP Data received {"connection_id":174621,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072352668012d196500071ff1280041014529..."} 
[2026-09-05 21:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072352668012d196500071ff1280041014529..."} 
[2026-09-05 21:07:21] local.INFO: Processing buffer {"connection_id":174621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072352668012d196500071ff1280041014529..."} 
[2026-09-05 21:07:21] local.INFO: Packet analysis {"connection_id":174621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07235"} 
[2026-09-05 21:07:21] local.INFO: Extracted packet for processing {"connection_id":174621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07235"} 
[2026-09-05 21:07:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887278080001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788622481000,"timestamp_ms":1788622481000,"timestamp_seconds":1788622481,"priority":1,"record_length":96,"hex_timestamp":"000001a072352668"} 
[2026-09-05 21:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:07:21] 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-09-05 21:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887278080001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887278080001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:07:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:07:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887278080001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":174621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:07:21] local.INFO: GPS data processed {"connection_id":174621,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:07:21] local.INFO: Acknowledgment sent {"connection_id":174621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:07:44] local.INFO: TCP Data received {"connection_id":172181,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:07:44] local.INFO: Processing buffer {"connection_id":172181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:07:44] local.INFO: IMEI packet received {"connection_id":172181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":172181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:07:49] local.INFO: TCP Data received {"connection_id":172181,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:07:49] local.INFO: Processing buffer {"connection_id":172181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:07:49] local.INFO: IMEI packet received {"connection_id":172181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":172181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:07:50] local.INFO: TCP Data received {"connection_id":171921,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:07:50] local.INFO: Processing buffer {"connection_id":171921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:07:50] local.INFO: IMEI packet received {"connection_id":171921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":171921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:07:50] local.INFO: TCP Data received {"connection_id":172181,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a072352668012d196500071ff1280041014529..."} 
[2026-09-05 21:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072352668012d196500071ff1280041014529..."} 
[2026-09-05 21:07:50] local.INFO: Processing buffer {"connection_id":172181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072352668012d196500071ff1280041014529..."} 
[2026-09-05 21:07:50] local.INFO: Packet analysis {"connection_id":172181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07235"} 
[2026-09-05 21:07:50] local.INFO: Extracted packet for processing {"connection_id":172181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07235"} 
[2026-09-05 21:07:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887278080001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:07:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788622481000,"timestamp_ms":1788622481000,"timestamp_seconds":1788622481,"priority":1,"record_length":96,"hex_timestamp":"000001a072352668"} 
[2026-09-05 21:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:07:50] 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-09-05 21:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:07:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887278080001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887278080001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:07:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:07:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:07:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887278080001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":172181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:07:50] local.INFO: GPS data processed {"connection_id":172181,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:07:50] local.INFO: Acknowledgment sent {"connection_id":172181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:07:55] local.INFO: TCP Data received {"connection_id":171921,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:07:55] local.INFO: Processing buffer {"connection_id":171921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:07:55] local.INFO: IMEI packet received {"connection_id":171921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":171921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:07:56] local.INFO: TCP Data received {"connection_id":171921,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07233cac0012d77ab0005f2a678000801192c..."} 
[2026-09-05 21:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07233cac0012d77ab0005f2a678000801192c..."} 
[2026-09-05 21:07:56] local.INFO: Processing buffer {"connection_id":171921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07233cac0012d77ab0005f2a678000801192c..."} 
[2026-09-05 21:07:56] local.INFO: Packet analysis {"connection_id":171921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07233"} 
[2026-09-05 21:07:56] local.INFO: Extracted packet for processing {"connection_id":171921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07233"} 
[2026-09-05 21:07:56] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":44,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 21:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887255296001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 21:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 21:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788622392000,"timestamp_ms":1788622392000,"timestamp_seconds":1788622392,"priority":1,"record_length":96,"hex_timestamp":"000001a07233cac0"} 
[2026-09-05 21:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:07:56] 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-09-05 21:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 21:07:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:07:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887255296001,"66":25756,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887255296001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:07:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:07:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 21:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887255296001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 21:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":171921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:07:56] local.INFO: GPS data processed {"connection_id":171921,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:07:56] local.INFO: Acknowledgment sent {"connection_id":171921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:08:21] local.INFO: TCP Data received {"connection_id":172181,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a072352668012d196500071ff1280041014529..."} 
[2026-09-05 21:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072352668012d196500071ff1280041014529..."} 
[2026-09-05 21:08:21] local.INFO: Processing buffer {"connection_id":172181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072352668012d196500071ff1280041014529..."} 
[2026-09-05 21:08:21] local.INFO: Packet analysis {"connection_id":172181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07235"} 
[2026-09-05 21:08:21] local.INFO: Extracted packet for processing {"connection_id":172181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07235"} 
[2026-09-05 21:08:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887278080001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788622481000,"timestamp_ms":1788622481000,"timestamp_seconds":1788622481,"priority":1,"record_length":96,"hex_timestamp":"000001a072352668"} 
[2026-09-05 21:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:08:21] 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-09-05 21:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:08:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:08:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887278080001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887278080001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:08:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:08:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887278080001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":172181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:08:21] local.INFO: GPS data processed {"connection_id":172181,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:08:21] local.INFO: Acknowledgment sent {"connection_id":172181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:08:28] local.INFO: TCP Data received {"connection_id":171921,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07233cac0012d77ab0005f2a678000801192c..."} 
[2026-09-05 21:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07233cac0012d77ab0005f2a678000801192c..."} 
[2026-09-05 21:08:28] local.INFO: Processing buffer {"connection_id":171921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07233cac0012d77ab0005f2a678000801192c..."} 
[2026-09-05 21:08:28] local.INFO: Packet analysis {"connection_id":171921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07233"} 
[2026-09-05 21:08:28] local.INFO: Extracted packet for processing {"connection_id":171921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07233"} 
[2026-09-05 21:08:28] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":44,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 21:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887255296001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 21:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 21:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788622392000,"timestamp_ms":1788622392000,"timestamp_seconds":1788622392,"priority":1,"record_length":96,"hex_timestamp":"000001a07233cac0"} 
[2026-09-05 21:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-05 21:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:08:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":171921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":171921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":171921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887255296001,"66":25756,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887255296001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:08:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:08:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 21:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887255296001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 21:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":171921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:08:28] local.INFO: GPS data processed {"connection_id":171921,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:08:28] local.INFO: Acknowledgment sent {"connection_id":171921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:08:44] local.INFO: TCP Data received {"connection_id":173302,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:08:44] local.INFO: Processing buffer {"connection_id":173302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:08:44] local.INFO: IMEI packet received {"connection_id":173302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":173302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:08:49] local.INFO: TCP Data received {"connection_id":173302,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:08:49] local.INFO: Processing buffer {"connection_id":173302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:08:49] local.INFO: IMEI packet received {"connection_id":173302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":173302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:08:50] local.INFO: TCP Data received {"connection_id":173303,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:08:50] local.INFO: Processing buffer {"connection_id":173303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:08:50] local.INFO: IMEI packet received {"connection_id":173303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":173303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:08:50] local.INFO: TCP Data received {"connection_id":173302,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a072352668012d196500071ff1280041014529..."} 
[2026-09-05 21:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072352668012d196500071ff1280041014529..."} 
[2026-09-05 21:08:50] local.INFO: Processing buffer {"connection_id":173302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072352668012d196500071ff1280041014529..."} 
[2026-09-05 21:08:50] local.INFO: Packet analysis {"connection_id":173302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07235"} 
[2026-09-05 21:08:50] local.INFO: Extracted packet for processing {"connection_id":173302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07235"} 
[2026-09-05 21:08:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887278080001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:08:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788622481000,"timestamp_ms":1788622481000,"timestamp_seconds":1788622481,"priority":1,"record_length":96,"hex_timestamp":"000001a072352668"} 
[2026-09-05 21:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:08:50] 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-09-05 21:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:08:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:08:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887278080001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887278080001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:08:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:08:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:08:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887278080001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":173302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:08:50] local.INFO: GPS data processed {"connection_id":173302,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:08:50] local.INFO: Acknowledgment sent {"connection_id":173302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:08:51] local.INFO: TCP Data received {"connection_id":173303,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:08:51] local.INFO: Processing buffer {"connection_id":173303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:08:51] local.INFO: IMEI packet received {"connection_id":173303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":173303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:08:55] local.INFO: TCP Data received {"connection_id":173303,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:08:55] local.INFO: Processing buffer {"connection_id":173303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:08:55] local.INFO: IMEI packet received {"connection_id":173303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":173303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:08:56] local.INFO: TCP Data received {"connection_id":173303,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072386288012d77ab0005f2a6780008011929..."} 
[2026-09-05 21:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072386288012d77ab0005f2a6780008011929..."} 
[2026-09-05 21:08:56] local.INFO: Processing buffer {"connection_id":173303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072386288012d77ab0005f2a6780008011929..."} 
[2026-09-05 21:08:56] local.INFO: Packet analysis {"connection_id":173303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07238"} 
[2026-09-05 21:08:56] local.INFO: Extracted packet for processing {"connection_id":173303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07238"} 
[2026-09-05 21:08:56] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":41,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 21:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887332352001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 21:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 21:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788622693000,"timestamp_ms":1788622693000,"timestamp_seconds":1788622693,"priority":1,"record_length":96,"hex_timestamp":"000001a072386288"} 
[2026-09-05 21:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:08:56] 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-09-05 21:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 21:08:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:08:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887332352001,"66":25843,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887332352001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:08:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:08:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 21:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887332352001,"power":25843,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 21:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":173303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:08:56] local.INFO: GPS data processed {"connection_id":173303,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:08:56] local.INFO: Acknowledgment sent {"connection_id":173303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:09:21] local.INFO: TCP Data received {"connection_id":173302,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a072352668012d196500071ff1280041014529..."} 
[2026-09-05 21:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072352668012d196500071ff1280041014529..."} 
[2026-09-05 21:09:21] local.INFO: Processing buffer {"connection_id":173302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072352668012d196500071ff1280041014529..."} 
[2026-09-05 21:09:21] local.INFO: Packet analysis {"connection_id":173302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07235"} 
[2026-09-05 21:09:21] local.INFO: Extracted packet for processing {"connection_id":173302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07235"} 
[2026-09-05 21:09:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887278080001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788622481000,"timestamp_ms":1788622481000,"timestamp_seconds":1788622481,"priority":1,"record_length":96,"hex_timestamp":"000001a072352668"} 
[2026-09-05 21:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:09:21] 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-09-05 21:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887278080001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887278080001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:09:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:09:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887278080001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":173302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:09:21] local.INFO: GPS data processed {"connection_id":173302,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:09:21] local.INFO: Acknowledgment sent {"connection_id":173302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:09:28] local.INFO: TCP Data received {"connection_id":173303,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072386288012d77ab0005f2a6780008011929..."} 
[2026-09-05 21:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072386288012d77ab0005f2a6780008011929..."} 
[2026-09-05 21:09:28] local.INFO: Processing buffer {"connection_id":173303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072386288012d77ab0005f2a6780008011929..."} 
[2026-09-05 21:09:28] local.INFO: Packet analysis {"connection_id":173303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07238"} 
[2026-09-05 21:09:28] local.INFO: Extracted packet for processing {"connection_id":173303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07238"} 
[2026-09-05 21:09:28] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":41,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 21:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887332352001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 21:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 21:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788622693000,"timestamp_ms":1788622693000,"timestamp_seconds":1788622693,"priority":1,"record_length":96,"hex_timestamp":"000001a072386288"} 
[2026-09-05 21:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 21:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:09:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887332352001,"66":25843,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887332352001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:09:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:09:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 21:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887332352001,"power":25843,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 21:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":173303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:09:28] local.INFO: GPS data processed {"connection_id":173303,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:09:28] local.INFO: Acknowledgment sent {"connection_id":173303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:09:44] local.INFO: TCP Data received {"connection_id":174622,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:09:44] local.INFO: Processing buffer {"connection_id":174622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:09:44] local.INFO: IMEI packet received {"connection_id":174622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":174622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:09:49] local.INFO: TCP Data received {"connection_id":174622,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:09:49] local.INFO: Processing buffer {"connection_id":174622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:09:49] local.INFO: IMEI packet received {"connection_id":174622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":174622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:09:50] local.INFO: TCP Data received {"connection_id":171922,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:09:50] local.INFO: Processing buffer {"connection_id":171922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:09:50] local.INFO: IMEI packet received {"connection_id":171922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":171922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:09:50] local.INFO: TCP Data received {"connection_id":174622,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a072352668012d196500071ff1280041014529..."} 
[2026-09-05 21:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072352668012d196500071ff1280041014529..."} 
[2026-09-05 21:09:50] local.INFO: Processing buffer {"connection_id":174622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072352668012d196500071ff1280041014529..."} 
[2026-09-05 21:09:50] local.INFO: Packet analysis {"connection_id":174622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07235"} 
[2026-09-05 21:09:50] local.INFO: Extracted packet for processing {"connection_id":174622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07235"} 
[2026-09-05 21:09:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887278080001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788622481000,"timestamp_ms":1788622481000,"timestamp_seconds":1788622481,"priority":1,"record_length":96,"hex_timestamp":"000001a072352668"} 
[2026-09-05 21:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:09:50] 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-09-05 21:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:09:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887278080001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887278080001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:09:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:09:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887278080001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":174622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:09:50] local.INFO: GPS data processed {"connection_id":174622,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:09:50] local.INFO: Acknowledgment sent {"connection_id":174622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:09:55] local.INFO: TCP Data received {"connection_id":171922,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:09:55] local.INFO: Processing buffer {"connection_id":171922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:09:55] local.INFO: IMEI packet received {"connection_id":171922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":171922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:10:01] local.INFO: TCP Data received {"connection_id":171922,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072386288012d77ab0005f2a6780008011929..."} 
[2026-09-05 21:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072386288012d77ab0005f2a6780008011929..."} 
[2026-09-05 21:10:01] local.INFO: Processing buffer {"connection_id":171922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072386288012d77ab0005f2a6780008011929..."} 
[2026-09-05 21:10:01] local.INFO: Packet analysis {"connection_id":171922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07238"} 
[2026-09-05 21:10:01] local.INFO: Extracted packet for processing {"connection_id":171922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07238"} 
[2026-09-05 21:10:01] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":41,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887332352001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 21:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 21:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788622693000,"timestamp_ms":1788622693000,"timestamp_seconds":1788622693,"priority":1,"record_length":96,"hex_timestamp":"000001a072386288"} 
[2026-09-05 21:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:10:01] 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-09-05 21:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 21:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21: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-09-05 21:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887332352001,"66":25843,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887332352001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:10:01] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:10:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 21:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887332352001,"power":25843,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 21:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":171922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:10:01] local.INFO: GPS data processed {"connection_id":171922,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:10:01] local.INFO: Acknowledgment sent {"connection_id":171922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:10:21] local.INFO: TCP Data received {"connection_id":174622,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07239be30012d196500071ff128004101452a..."} 
[2026-09-05 21:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07239be30012d196500071ff128004101452a..."} 
[2026-09-05 21:10:21] local.INFO: Processing buffer {"connection_id":174622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07239be30012d196500071ff128004101452a..."} 
[2026-09-05 21:10:21] local.INFO: Packet analysis {"connection_id":174622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07239"} 
[2026-09-05 21:10:21] local.INFO: Extracted packet for processing {"connection_id":174622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07239"} 
[2026-09-05 21:10:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887355136001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788622782000,"timestamp_ms":1788622782000,"timestamp_seconds":1788622782,"priority":1,"record_length":96,"hex_timestamp":"000001a07239be30"} 
[2026-09-05 21:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:10:21] 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-09-05 21:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 21:10:21] 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-09-05 21:10:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887355136001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887355136001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:10:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:10:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887355136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":174622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:10:21] local.INFO: GPS data processed {"connection_id":174622,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:10:21] local.INFO: Acknowledgment sent {"connection_id":174622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:10:49] local.INFO: TCP Data received {"connection_id":171923,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:10:49] local.INFO: Processing buffer {"connection_id":171923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:10:49] local.INFO: IMEI packet received {"connection_id":171923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":171923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:10:54] local.INFO: TCP Data received {"connection_id":171923,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:10:54] local.INFO: Processing buffer {"connection_id":171923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:10:54] local.INFO: IMEI packet received {"connection_id":171923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":171923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:10:55] local.INFO: TCP Data received {"connection_id":171923,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07239be30012d196500071ff128004101452a..."} 
[2026-09-05 21:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07239be30012d196500071ff128004101452a..."} 
[2026-09-05 21:10:55] local.INFO: Processing buffer {"connection_id":171923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07239be30012d196500071ff128004101452a..."} 
[2026-09-05 21:10:55] local.INFO: Packet analysis {"connection_id":171923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07239"} 
[2026-09-05 21:10:55] local.INFO: Extracted packet for processing {"connection_id":171923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07239"} 
[2026-09-05 21:10:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887355136001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788622782000,"timestamp_ms":1788622782000,"timestamp_seconds":1788622782,"priority":1,"record_length":96,"hex_timestamp":"000001a07239be30"} 
[2026-09-05 21:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:10:55] 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-09-05 21:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 21:10:55] 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-09-05 21:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887355136001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887355136001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:10:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:10:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887355136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:10:55] local.INFO: TCP Data received {"connection_id":173304,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:10:55] local.INFO: Processing buffer {"connection_id":173304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:10:55] local.INFO: IMEI packet received {"connection_id":173304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":173304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":171923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:10:55] local.INFO: GPS data processed {"connection_id":171923,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:10:55] local.INFO: Acknowledgment sent {"connection_id":171923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:10:55] local.INFO: TCP Data received {"connection_id":173304,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:10:55] local.INFO: Processing buffer {"connection_id":173304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:10:55] local.INFO: IMEI packet received {"connection_id":173304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":173304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:11:00] local.INFO: TCP Data received {"connection_id":173304,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:11:00] local.INFO: Processing buffer {"connection_id":173304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:11:00] local.INFO: IMEI packet received {"connection_id":173304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":173304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:11:00] local.INFO: TCP Data received {"connection_id":173304,"ip":"117.224.177.49","data_length":1360,"data_hex":"000000000000030f8e0a000001a072397fb0012d77ab0005f2a678000801192b..."} 
[2026-09-05 21:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173304,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a072397fb0012d77ab0005f2a678000801192b..."} 
[2026-09-05 21:11:00] local.INFO: Processing buffer {"connection_id":173304,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a072397fb0012d77ab0005f2a678000801192b..."} 
[2026-09-05 21:11:00] local.INFO: Packet analysis {"connection_id":173304,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a07239"} 
[2026-09-05 21:11:00] local.INFO: Extracted packet for processing {"connection_id":173304,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a07239"} 
[2026-09-05 21:11:00] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788408,"longitude_deg":76.281728,"latitude_deg":9.9788408,"altitude":8,"angle":281,"satellites":43,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 21:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887409408001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 21:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 21:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788622766000,"timestamp_ms":1788622766000,"timestamp_seconds":1788622766,"priority":1,"record_length":96,"hex_timestamp":"000001a072397fb0"} 
[2026-09-05 21:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:11:00] 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-09-05 21:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-05 21:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887409408001,"66":25756,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887409408001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:11:00] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:11:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 21:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887409408001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 21:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":173304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:11:00] local.INFO: GPS data processed {"connection_id":173304,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:11:00] local.INFO: Acknowledgment sent {"connection_id":173304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:11:00] local.INFO: Packet analysis {"connection_id":173304,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a07239"} 
[2026-09-05 21:11:00] local.INFO: Incomplete packet, waiting for more data {"connection_id":173304,"needed":795,"available":565} 
[2026-09-05 21:11:01] local.INFO: TCP Data received {"connection_id":173304,"ip":"117.224.177.49","data_length":230,"data_hex":"2d77ab0005f2a678000801192e00000000000a000400ef0000714f00f0000045..."} 
[2026-09-05 21:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173304,"packet_length":230,"packet_hex":"2d77ab0005f2a678000801192e00000000000a000400ef0000714f00f0000045..."} 
[2026-09-05 21:11:01] local.INFO: Processing buffer {"connection_id":173304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07239d5a0012d77aa8005f2a658000801192a..."} 
[2026-09-05 21:11:01] local.INFO: Packet analysis {"connection_id":173304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07239"} 
[2026-09-05 21:11:01] local.INFO: Extracted packet for processing {"connection_id":173304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07239"} 
[2026-09-05 21:11:01] local.INFO: GPS Element Parsed {"raw_longitude":762817152,"raw_latitude":99788376,"longitude_deg":76.2817152,"latitude_deg":9.9788376,"altitude":8,"angle":281,"satellites":42,"speed":0,"hex_longitude":"2d77aa80","hex_latitude":"05f2a658","is_valid_coordinates":true} 
[2026-09-05 21:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887428096001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 21:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076779008,"note":"Value kept but may cause issues"} 
[2026-09-05 21:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788622788000,"timestamp_ms":1788622788000,"timestamp_seconds":1788622788,"priority":1,"record_length":96,"hex_timestamp":"000001a07239d5a0"} 
[2026-09-05 21:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 21:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 21:11:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887428096001,"66":27115,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622985937076779008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887428096001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:11:01] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:11:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076779008,"description":"Unknown IO ID 45"} 
[2026-09-05 21:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887428096001,"power":27115,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076779008}} 
[2026-09-05 21:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":173304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:11:01] local.INFO: GPS data processed {"connection_id":173304,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:11:01] local.INFO: Acknowledgment sent {"connection_id":173304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:11:02] local.INFO: TCP Data received {"connection_id":173304,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0723a27a8012d77aa8005f2a658000801192a..."} 
[2026-09-05 21:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0723a27a8012d77aa8005f2a658000801192a..."} 
[2026-09-05 21:11:02] local.INFO: Processing buffer {"connection_id":173304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0723a27a8012d77aa8005f2a658000801192a..."} 
[2026-09-05 21:11:02] local.INFO: Packet analysis {"connection_id":173304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0723a"} 
[2026-09-05 21:11:02] local.INFO: Extracted packet for processing {"connection_id":173304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0723a"} 
[2026-09-05 21:11:02] local.INFO: GPS Element Parsed {"raw_longitude":762817152,"raw_latitude":99788376,"longitude_deg":76.2817152,"latitude_deg":9.9788376,"altitude":8,"angle":281,"satellites":42,"speed":0,"hex_longitude":"2d77aa80","hex_latitude":"05f2a658","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887433728001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919772323545088,"note":"Value kept but may cause issues"} 
[2026-09-05 21:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622845199588415488,"note":"Value kept but may cause issues"} 
[2026-09-05 21: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-09-05 21:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788622809000,"timestamp_ms":1788622809000,"timestamp_seconds":1788622809,"priority":1,"record_length":96,"hex_timestamp":"000001a0723a27a8"} 
[2026-09-05 21:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 21: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-09-05 21:11:02] 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-09-05 21: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-09-05 21:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887433728001,"66":27169,"163":206,"9":24832,"24":0,"16":399919772323545088,"45":8622845199588415488},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887433728001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:11:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:11:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919772323545088,"km_value":399919772323545.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622845199588415488,"description":"Unknown IO ID 45"} 
[2026-09-05 21:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887433728001,"power":27169,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622845199588415488}} 
[2026-09-05 21:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":173304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:11:02] local.INFO: GPS data processed {"connection_id":173304,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:11:02] local.INFO: Acknowledgment sent {"connection_id":173304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:11:26] local.INFO: TCP Data received {"connection_id":171923,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07239be30012d196500071ff128004101452a..."} 
[2026-09-05 21:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07239be30012d196500071ff128004101452a..."} 
[2026-09-05 21:11:26] local.INFO: Processing buffer {"connection_id":171923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07239be30012d196500071ff128004101452a..."} 
[2026-09-05 21:11:26] local.INFO: Packet analysis {"connection_id":171923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07239"} 
[2026-09-05 21:11:26] local.INFO: Extracted packet for processing {"connection_id":171923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07239"} 
[2026-09-05 21:11:26] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887355136001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788622782000,"timestamp_ms":1788622782000,"timestamp_seconds":1788622782,"priority":1,"record_length":96,"hex_timestamp":"000001a07239be30"} 
[2026-09-05 21:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:11:26] 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-09-05 21:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 21:11:26] 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-09-05 21:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887355136001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887355136001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:11:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:11:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887355136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":171923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:11:26] local.INFO: GPS data processed {"connection_id":171923,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:11:26] local.INFO: Acknowledgment sent {"connection_id":171923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:11:34] local.INFO: TCP Data received {"connection_id":173304,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0723a46e8012d77aac005f2a678000f005a25..."} 
[2026-09-05 21:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0723a46e8012d77aac005f2a678000f005a25..."} 
[2026-09-05 21:11:34] local.INFO: Processing buffer {"connection_id":173304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0723a46e8012d77aac005f2a678000f005a25..."} 
[2026-09-05 21:11:34] local.INFO: Packet analysis {"connection_id":173304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0723a"} 
[2026-09-05 21:11:34] local.INFO: Extracted packet for processing {"connection_id":173304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0723a"} 
[2026-09-05 21:11:34] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99788408,"longitude_deg":76.2817216,"latitude_deg":9.9788408,"altitude":15,"angle":90,"satellites":37,"speed":3,"hex_longitude":"2d77aac0","hex_latitude":"05f2a678","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887439104001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919776618512384,"note":"Value kept but may cause issues"} 
[2026-09-05 21:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622845199588415488,"note":"Value kept but may cause issues"} 
[2026-09-05 21:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788622817000,"timestamp_ms":1788622817000,"timestamp_seconds":1788622817,"priority":1,"record_length":96,"hex_timestamp":"000001a0723a46e8"} 
[2026-09-05 21:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:11: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-09-05 21: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":33,"data_length":795,"current_offset":136} 
[2026-09-05 21:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21: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-09-05 21:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887439104001,"66":27463,"163":206,"9":24832,"24":3,"16":399919776618512384,"45":8622845199588415488},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887439104001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:11:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:11:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919776618512384,"km_value":399919776618512.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622845199588415488,"description":"Unknown IO ID 45"} 
[2026-09-05 21:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887439104001,"power":27463,"unknown_163":206,"unknown_9":24832,"ignition":3,"odometer":null,"unknown_45":8622845199588415488}} 
[2026-09-05 21:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":173304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:11:34] local.INFO: GPS data processed {"connection_id":173304,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:11:34] local.INFO: Acknowledgment sent {"connection_id":173304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:11:44] local.INFO: TCP Data received {"connection_id":174623,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:11:44] local.INFO: Processing buffer {"connection_id":174623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:11:44] local.INFO: IMEI packet received {"connection_id":174623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":174623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:11:47] local.INFO: TCP Data received {"connection_id":174624,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:11:47] local.INFO: Processing buffer {"connection_id":174624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:11:47] local.INFO: IMEI packet received {"connection_id":174624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":174624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:11:48] local.INFO: TCP Data received {"connection_id":174624,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:11:48] local.INFO: Processing buffer {"connection_id":174624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:11:48] local.INFO: IMEI packet received {"connection_id":174624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":174624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:11:49] local.INFO: TCP Data received {"connection_id":174623,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:11:49] local.INFO: Processing buffer {"connection_id":174623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:11:49] local.INFO: IMEI packet received {"connection_id":174623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":174623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:11:50] local.INFO: TCP Data received {"connection_id":174623,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07239be30012d196500071ff128004101452a..."} 
[2026-09-05 21:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07239be30012d196500071ff128004101452a..."} 
[2026-09-05 21:11:50] local.INFO: Processing buffer {"connection_id":174623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07239be30012d196500071ff128004101452a..."} 
[2026-09-05 21:11:50] local.INFO: Packet analysis {"connection_id":174623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07239"} 
[2026-09-05 21:11:50] local.INFO: Extracted packet for processing {"connection_id":174623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07239"} 
[2026-09-05 21:11:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887355136001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788622782000,"timestamp_ms":1788622782000,"timestamp_seconds":1788622782,"priority":1,"record_length":96,"hex_timestamp":"000001a07239be30"} 
[2026-09-05 21:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 21:11:50] 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-09-05 21:11:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887355136001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887355136001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:11:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:11:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887355136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":174623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:11:50] local.INFO: GPS data processed {"connection_id":174623,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:11:50] local.INFO: Acknowledgment sent {"connection_id":174623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:11:50] local.INFO: TCP Data received {"connection_id":174624,"ip":"117.224.177.49","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 21:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174624,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 21:11:50] local.INFO: Processing buffer {"connection_id":174624,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 21:11:50] local.INFO: IMEI packet received {"connection_id":174624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":174624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:12:21] local.INFO: TCP Data received {"connection_id":174623,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07239be30012d196500071ff128004101452a..."} 
[2026-09-05 21:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07239be30012d196500071ff128004101452a..."} 
[2026-09-05 21:12:21] local.INFO: Processing buffer {"connection_id":174623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07239be30012d196500071ff128004101452a..."} 
[2026-09-05 21:12:21] local.INFO: Packet analysis {"connection_id":174623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07239"} 
[2026-09-05 21:12:21] local.INFO: Extracted packet for processing {"connection_id":174623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07239"} 
[2026-09-05 21:12:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887355136001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788622782000,"timestamp_ms":1788622782000,"timestamp_seconds":1788622782,"priority":1,"record_length":96,"hex_timestamp":"000001a07239be30"} 
[2026-09-05 21:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:12:21] 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-09-05 21:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 21:12:21] 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-09-05 21:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887355136001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887355136001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:12:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:12:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887355136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":174623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:12:21] local.INFO: GPS data processed {"connection_id":174623,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:12:21] local.INFO: Acknowledgment sent {"connection_id":174623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:12:44] local.INFO: TCP Data received {"connection_id":172182,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:12:44] local.INFO: Processing buffer {"connection_id":172182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:12:44] local.INFO: IMEI packet received {"connection_id":172182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":172182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:12:49] local.INFO: TCP Data received {"connection_id":172182,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:12:49] local.INFO: Processing buffer {"connection_id":172182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:12:49] local.INFO: IMEI packet received {"connection_id":172182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":172182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:12:50] local.INFO: TCP Data received {"connection_id":172182,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07239be30012d196500071ff128004101452a..."} 
[2026-09-05 21:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07239be30012d196500071ff128004101452a..."} 
[2026-09-05 21:12:50] local.INFO: Processing buffer {"connection_id":172182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07239be30012d196500071ff128004101452a..."} 
[2026-09-05 21:12:50] local.INFO: Packet analysis {"connection_id":172182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07239"} 
[2026-09-05 21:12:50] local.INFO: Extracted packet for processing {"connection_id":172182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07239"} 
[2026-09-05 21:12:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887355136001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788622782000,"timestamp_ms":1788622782000,"timestamp_seconds":1788622782,"priority":1,"record_length":96,"hex_timestamp":"000001a07239be30"} 
[2026-09-05 21:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 21:12:50] 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-09-05 21:12:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:12:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887355136001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887355136001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:12:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:12:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887355136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":172182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:12:50] local.INFO: GPS data processed {"connection_id":172182,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:12:50] local.INFO: Acknowledgment sent {"connection_id":172182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:13:21] local.INFO: TCP Data received {"connection_id":172182,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07239be30012d196500071ff128004101452a..."} 
[2026-09-05 21:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07239be30012d196500071ff128004101452a..."} 
[2026-09-05 21:13:21] local.INFO: Processing buffer {"connection_id":172182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07239be30012d196500071ff128004101452a..."} 
[2026-09-05 21:13:21] local.INFO: Packet analysis {"connection_id":172182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07239"} 
[2026-09-05 21:13:21] local.INFO: Extracted packet for processing {"connection_id":172182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07239"} 
[2026-09-05 21:13:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887355136001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788622782000,"timestamp_ms":1788622782000,"timestamp_seconds":1788622782,"priority":1,"record_length":96,"hex_timestamp":"000001a07239be30"} 
[2026-09-05 21:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:13:21] 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-09-05 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 21:13:21] 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-09-05 21: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-09-05 21:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887355136001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887355136001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:13:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:13:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887355136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":172182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:13:21] local.INFO: GPS data processed {"connection_id":172182,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:13:21] local.INFO: Acknowledgment sent {"connection_id":172182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:13:44] local.INFO: TCP Data received {"connection_id":171925,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:13:44] local.INFO: Processing buffer {"connection_id":171925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:13:44] local.INFO: IMEI packet received {"connection_id":171925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":171925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:13:49] local.INFO: TCP Data received {"connection_id":171925,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:13:49] local.INFO: Processing buffer {"connection_id":171925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:13:49] local.INFO: IMEI packet received {"connection_id":171925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":171925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:13:50] local.INFO: TCP Data received {"connection_id":171925,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07239be30012d196500071ff128004101452a..."} 
[2026-09-05 21:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07239be30012d196500071ff128004101452a..."} 
[2026-09-05 21:13:50] local.INFO: Processing buffer {"connection_id":171925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07239be30012d196500071ff128004101452a..."} 
[2026-09-05 21:13:50] local.INFO: Packet analysis {"connection_id":171925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07239"} 
[2026-09-05 21:13:50] local.INFO: Extracted packet for processing {"connection_id":171925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07239"} 
[2026-09-05 21:13:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887355136001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788622782000,"timestamp_ms":1788622782000,"timestamp_seconds":1788622782,"priority":1,"record_length":96,"hex_timestamp":"000001a07239be30"} 
[2026-09-05 21:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 21:13:50] 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-09-05 21:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887355136001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887355136001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:13:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:13:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887355136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":171925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:13:50] local.INFO: GPS data processed {"connection_id":171925,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:13:50] local.INFO: Acknowledgment sent {"connection_id":171925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:14:21] local.INFO: TCP Data received {"connection_id":171925,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07239be30012d196500071ff128004101452a..."} 
[2026-09-05 21:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07239be30012d196500071ff128004101452a..."} 
[2026-09-05 21:14:21] local.INFO: Processing buffer {"connection_id":171925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07239be30012d196500071ff128004101452a..."} 
[2026-09-05 21:14:21] local.INFO: Packet analysis {"connection_id":171925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07239"} 
[2026-09-05 21:14:21] local.INFO: Extracted packet for processing {"connection_id":171925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07239"} 
[2026-09-05 21:14:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887355136001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788622782000,"timestamp_ms":1788622782000,"timestamp_seconds":1788622782,"priority":1,"record_length":96,"hex_timestamp":"000001a07239be30"} 
[2026-09-05 21:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:14:21] 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-09-05 21:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 21:14:21] 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-09-05 21:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887355136001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887355136001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:14:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:14:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887355136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":171925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:14:21] local.INFO: GPS data processed {"connection_id":171925,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:14:21] local.INFO: Acknowledgment sent {"connection_id":171925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:14:44] local.INFO: TCP Data received {"connection_id":171927,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:14:44] local.INFO: Processing buffer {"connection_id":171927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:14:44] local.INFO: IMEI packet received {"connection_id":171927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":171927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:14:49] local.INFO: TCP Data received {"connection_id":171927,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:14:49] local.INFO: Processing buffer {"connection_id":171927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:14:49] local.INFO: IMEI packet received {"connection_id":171927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":171927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:14:50] local.INFO: TCP Data received {"connection_id":171927,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07239be30012d196500071ff128004101452a..."} 
[2026-09-05 21:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07239be30012d196500071ff128004101452a..."} 
[2026-09-05 21:14:50] local.INFO: Processing buffer {"connection_id":171927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07239be30012d196500071ff128004101452a..."} 
[2026-09-05 21:14:50] local.INFO: Packet analysis {"connection_id":171927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07239"} 
[2026-09-05 21:14:50] local.INFO: Extracted packet for processing {"connection_id":171927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07239"} 
[2026-09-05 21:14:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887355136001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788622782000,"timestamp_ms":1788622782000,"timestamp_seconds":1788622782,"priority":1,"record_length":96,"hex_timestamp":"000001a07239be30"} 
[2026-09-05 21:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 21:14:50] 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-09-05 21:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887355136001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887355136001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:14:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:14:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887355136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":171927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:14:50] local.INFO: GPS data processed {"connection_id":171927,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:14:50] local.INFO: Acknowledgment sent {"connection_id":171927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:15:21] local.INFO: TCP Data received {"connection_id":171927,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07239be30012d196500071ff128004101452a..."} 
[2026-09-05 21:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07239be30012d196500071ff128004101452a..."} 
[2026-09-05 21:15:21] local.INFO: Processing buffer {"connection_id":171927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07239be30012d196500071ff128004101452a..."} 
[2026-09-05 21:15:21] local.INFO: Packet analysis {"connection_id":171927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07239"} 
[2026-09-05 21:15:21] local.INFO: Extracted packet for processing {"connection_id":171927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07239"} 
[2026-09-05 21:15:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887355136001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788622782000,"timestamp_ms":1788622782000,"timestamp_seconds":1788622782,"priority":1,"record_length":96,"hex_timestamp":"000001a07239be30"} 
[2026-09-05 21:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:15:21] 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-09-05 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 21:15:21] 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-09-05 21:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887355136001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887355136001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:15:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:15:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887355136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":171927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:15:21] local.INFO: GPS data processed {"connection_id":171927,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:15:21] local.INFO: Acknowledgment sent {"connection_id":171927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:15:41] local.INFO: TCP Data received {"connection_id":174625,"ip":"117.224.228.218","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174625,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:15:41] local.INFO: Processing buffer {"connection_id":174625,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:15:41] local.INFO: IMEI packet received {"connection_id":174625,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 21:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":174625,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:15:43] local.INFO: TCP Data received {"connection_id":174625,"ip":"117.224.228.218","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174625,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:15:43] local.INFO: Processing buffer {"connection_id":174625,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:15:43] local.INFO: IMEI packet received {"connection_id":174625,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 21:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":174625,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:15:46] local.INFO: TCP Data received {"connection_id":174625,"ip":"117.224.228.218","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174625,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:15:46] local.INFO: Processing buffer {"connection_id":174625,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:15:46] local.INFO: IMEI packet received {"connection_id":174625,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 21:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":174625,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:15:47] local.INFO: TCP Data received {"connection_id":174625,"ip":"117.224.228.218","data_length":795,"data_hex":"000000000000030f8e0a000001a0723e03f0012c85430008e87f700224000c29..."} 
[2026-09-05 21:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0723e03f0012c85430008e87f700224000c29..."} 
[2026-09-05 21:15:47] local.INFO: Processing buffer {"connection_id":174625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0723e03f0012c85430008e87f700224000c29..."} 
[2026-09-05 21:15:47] local.INFO: Packet analysis {"connection_id":174625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0723e"} 
[2026-09-05 21:15:47] local.INFO: Extracted packet for processing {"connection_id":174625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0723e"} 
[2026-09-05 21:15:47] local.INFO: GPS Element Parsed {"raw_longitude":746930944,"raw_latitude":149454704,"longitude_deg":74.6930944,"latitude_deg":14.9454704,"altitude":548,"angle":12,"satellites":41,"speed":43,"hex_longitude":"2c854300","hex_latitude":"08e87f70","is_valid_coordinates":true} 
[2026-09-05 21:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887503872001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1794622019862528,"note":"Value kept but may cause issues"} 
[2026-09-05 21:15:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8844225204965117950,"note":"Value kept but may cause issues"} 
[2026-09-05 21:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788623062000,"timestamp_ms":1788623062000,"timestamp_seconds":1788623062,"priority":1,"record_length":96,"hex_timestamp":"000001a0723e03f0"} 
[2026-09-05 21:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 21:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-05 21:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174625,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174625,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.228.218","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 21:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 21:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887503872001,"66":27463,"64":206,"9":56576,"24":43,"16":1794622019862528,"44":-8844225204965117950},"client_ip":"117.224.228.218","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,9,24,16,44]} 
[2026-09-05 21:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 21:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 21:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887503872001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:15:47] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-05 21:15:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-05 21:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1794622019862528,"km_value":1794622019862.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:15:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8844225204965117950,"description":"Unknown IO ID 44"} 
[2026-09-05 21:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887503872001,"power":27463,"unknown_64":206,"unknown_9":56576,"ignition":43,"odometer":null,"unknown_44":-8844225204965117950}} 
[2026-09-05 21:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":174625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771309,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:15:47] local.INFO: GPS data processed {"connection_id":174625,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:15:47] local.INFO: Acknowledgment sent {"connection_id":174625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:15:49] local.INFO: TCP Data received {"connection_id":173306,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:15:49] local.INFO: Processing buffer {"connection_id":173306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:15:49] local.INFO: IMEI packet received {"connection_id":173306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":173306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:15:54] local.INFO: TCP Data received {"connection_id":173306,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:15:54] local.INFO: Processing buffer {"connection_id":173306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:15:54] local.INFO: IMEI packet received {"connection_id":173306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":173306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:15:55] local.INFO: TCP Data received {"connection_id":173306,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0723e55f8012d196500071ff128004101452a..."} 
[2026-09-05 21:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0723e55f8012d196500071ff128004101452a..."} 
[2026-09-05 21:15:55] local.INFO: Processing buffer {"connection_id":173306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0723e55f8012d196500071ff128004101452a..."} 
[2026-09-05 21:15:55] local.INFO: Packet analysis {"connection_id":173306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0723e"} 
[2026-09-05 21:15:55] local.INFO: Extracted packet for processing {"connection_id":173306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0723e"} 
[2026-09-05 21:15:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887432192001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788623083000,"timestamp_ms":1788623083000,"timestamp_seconds":1788623083,"priority":1,"record_length":96,"hex_timestamp":"000001a0723e55f8"} 
[2026-09-05 21:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:15:55] 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-09-05 21:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887432192001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887432192001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:15:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:15:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887432192001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":173306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:15:55] local.INFO: GPS data processed {"connection_id":173306,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:15:55] local.INFO: Acknowledgment sent {"connection_id":173306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:16:20] local.INFO: TCP Data received {"connection_id":174625,"ip":"117.224.228.218","data_length":795,"data_hex":"000000000000030f8e0a000001a0723e2330012c85478008e8a1f00225000629..."} 
[2026-09-05 21:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0723e2330012c85478008e8a1f00225000629..."} 
[2026-09-05 21:16:20] local.INFO: Processing buffer {"connection_id":174625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0723e2330012c85478008e8a1f00225000629..."} 
[2026-09-05 21:16:20] local.INFO: Packet analysis {"connection_id":174625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0723e"} 
[2026-09-05 21:16:20] local.INFO: Extracted packet for processing {"connection_id":174625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0723e"} 
[2026-09-05 21:16:20] local.INFO: GPS Element Parsed {"raw_longitude":746932096,"raw_latitude":149463536,"longitude_deg":74.6932096,"latitude_deg":14.9463536,"altitude":549,"angle":6,"satellites":41,"speed":45,"hex_longitude":"2c854780","hex_latitude":"08e8a1f0","is_valid_coordinates":true} 
[2026-09-05 21:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887503872001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1795055811559424,"note":"Value kept but may cause issues"} 
[2026-09-05 21:16:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8844225204965117950,"note":"Value kept but may cause issues"} 
[2026-09-05 21:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788623070000,"timestamp_ms":1788623070000,"timestamp_seconds":1788623070,"priority":1,"record_length":96,"hex_timestamp":"000001a0723e2330"} 
[2026-09-05 21:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 21:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-05 21:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174625,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174625,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.228.218","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 21:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 21:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887503872001,"66":27463,"55":206,"9":56576,"24":45,"16":1795055811559424,"44":-8844225204965117950},"client_ip":"117.224.228.218","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,9,24,16,44]} 
[2026-09-05 21:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 21:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 21:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887503872001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:16:20] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-05 21:16:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-05 21:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1795055811559424,"km_value":1795055811559.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:16:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8844225204965117950,"description":"Unknown IO ID 44"} 
[2026-09-05 21:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887503872001,"power":27463,"unknown_55":206,"unknown_9":56576,"ignition":45,"odometer":null,"unknown_44":-8844225204965117950}} 
[2026-09-05 21:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":174625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771311,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:16:20] local.INFO: GPS data processed {"connection_id":174625,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:16:20] local.INFO: Acknowledgment sent {"connection_id":174625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:16:26] local.INFO: TCP Data received {"connection_id":173306,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0723e55f8012d196500071ff128004101452a..."} 
[2026-09-05 21:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0723e55f8012d196500071ff128004101452a..."} 
[2026-09-05 21:16:26] local.INFO: Processing buffer {"connection_id":173306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0723e55f8012d196500071ff128004101452a..."} 
[2026-09-05 21:16:26] local.INFO: Packet analysis {"connection_id":173306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0723e"} 
[2026-09-05 21:16:26] local.INFO: Extracted packet for processing {"connection_id":173306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0723e"} 
[2026-09-05 21:16:26] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:16: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-09-05 21:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887432192001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:16:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788623083000,"timestamp_ms":1788623083000,"timestamp_seconds":1788623083,"priority":1,"record_length":96,"hex_timestamp":"000001a0723e55f8"} 
[2026-09-05 21:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:16:26] 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-09-05 21:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:16:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:16: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-09-05 21:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887432192001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887432192001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:16:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:16:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887432192001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":173306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:16:26] local.INFO: GPS data processed {"connection_id":173306,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:16:26] local.INFO: Acknowledgment sent {"connection_id":173306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:16:44] local.INFO: TCP Data received {"connection_id":171928,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:16:44] local.INFO: Processing buffer {"connection_id":171928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:16:44] local.INFO: IMEI packet received {"connection_id":171928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":171928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:16:49] local.INFO: TCP Data received {"connection_id":171928,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:16:49] local.INFO: Processing buffer {"connection_id":171928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:16:49] local.INFO: IMEI packet received {"connection_id":171928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":171928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:16:50] local.INFO: TCP Data received {"connection_id":171928,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0723e55f8012d196500071ff128004101452a..."} 
[2026-09-05 21:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0723e55f8012d196500071ff128004101452a..."} 
[2026-09-05 21:16:50] local.INFO: Processing buffer {"connection_id":171928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0723e55f8012d196500071ff128004101452a..."} 
[2026-09-05 21:16:50] local.INFO: Packet analysis {"connection_id":171928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0723e"} 
[2026-09-05 21:16:50] local.INFO: Extracted packet for processing {"connection_id":171928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0723e"} 
[2026-09-05 21:16:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887432192001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788623083000,"timestamp_ms":1788623083000,"timestamp_seconds":1788623083,"priority":1,"record_length":96,"hex_timestamp":"000001a0723e55f8"} 
[2026-09-05 21:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:16:50] 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-09-05 21:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887432192001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887432192001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:16:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:16:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887432192001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":171928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:16:50] local.INFO: GPS data processed {"connection_id":171928,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:16:50] local.INFO: Acknowledgment sent {"connection_id":171928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:16:52] local.INFO: TCP Data received {"connection_id":172185,"ip":"117.224.228.218","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172185,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:16:52] local.INFO: Processing buffer {"connection_id":172185,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:16:52] local.INFO: IMEI packet received {"connection_id":172185,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 21:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":172185,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:16:53] local.INFO: TCP Data received {"connection_id":172185,"ip":"117.224.228.218","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172185,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:16:53] local.INFO: Processing buffer {"connection_id":172185,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:16:53] local.INFO: IMEI packet received {"connection_id":172185,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 21:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":172185,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:16:54] local.INFO: TCP Data received {"connection_id":172185,"ip":"117.224.228.218","data_length":795,"data_hex":"000000000000030f8e0a000001a0723f3888012c85f54008e9a190022000242c..."} 
[2026-09-05 21:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0723f3888012c85f54008e9a190022000242c..."} 
[2026-09-05 21:16:54] local.INFO: Processing buffer {"connection_id":172185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0723f3888012c85f54008e9a190022000242c..."} 
[2026-09-05 21:16:54] local.INFO: Packet analysis {"connection_id":172185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0723f"} 
[2026-09-05 21:16:54] local.INFO: Extracted packet for processing {"connection_id":172185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0723f"} 
[2026-09-05 21:16:54] local.INFO: GPS Element Parsed {"raw_longitude":746976576,"raw_latitude":149528976,"longitude_deg":74.6976576,"latitude_deg":14.9528976,"altitude":544,"angle":36,"satellites":44,"speed":44,"hex_longitude":"2c85f540","hex_latitude":"08e9a190","is_valid_coordinates":true} 
[2026-09-05 21:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887522048001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1799032951275520,"note":"Value kept but may cause issues"} 
[2026-09-05 21:16:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8799963264860217342,"note":"Value kept but may cause issues"} 
[2026-09-05 21:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788623141000,"timestamp_ms":1788623141000,"timestamp_seconds":1788623141,"priority":1,"record_length":96,"hex_timestamp":"000001a0723f3888"} 
[2026-09-05 21:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 21:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-05 21:16:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172185,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172185,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:16:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.228.218","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 21:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 21:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887522048001,"66":27626,"55":206,"9":56576,"24":44,"16":1799032951275520,"44":-8799963264860217342},"client_ip":"117.224.228.218","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,9,24,16,44]} 
[2026-09-05 21:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 21:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 21:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887522048001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:16:54] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-05 21:16:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-05 21:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1799032951275520,"km_value":1799032951275.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:16:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8799963264860217342,"description":"Unknown IO ID 44"} 
[2026-09-05 21:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887522048001,"power":27626,"unknown_55":206,"unknown_9":56576,"ignition":44,"odometer":null,"unknown_44":-8799963264860217342}} 
[2026-09-05 21:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":172185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771314,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:16:54] local.INFO: GPS data processed {"connection_id":172185,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:16:54] local.INFO: Acknowledgment sent {"connection_id":172185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:16:55] local.INFO: TCP Data received {"connection_id":172184,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:16:55] local.INFO: Processing buffer {"connection_id":172184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:16:55] local.INFO: IMEI packet received {"connection_id":172184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":172184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:16:57] local.INFO: TCP Data received {"connection_id":172184,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0723a5a70012d77ad0005f2a6e8000f004726..."} 
[2026-09-05 21:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0723a5a70012d77ad0005f2a6e8000f004726..."} 
[2026-09-05 21:16:57] local.INFO: Processing buffer {"connection_id":172184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0723a5a70012d77ad0005f2a6e8000f004726..."} 
[2026-09-05 21:16:57] local.INFO: Packet analysis {"connection_id":172184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0723a"} 
[2026-09-05 21:16:57] local.INFO: Extracted packet for processing {"connection_id":172184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0723a"} 
[2026-09-05 21:16:57] local.INFO: GPS Element Parsed {"raw_longitude":762817792,"raw_latitude":99788520,"longitude_deg":76.2817792,"latitude_deg":9.978852,"altitude":15,"angle":71,"satellites":38,"speed":3,"hex_longitude":"2d77ad00","hex_latitude":"05f2a6e8","is_valid_coordinates":true} 
[2026-09-05 21:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887441152001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919802388316160,"note":"Value kept but may cause issues"} 
[2026-09-05 21:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568332601344,"note":"Value kept but may cause issues"} 
[2026-09-05 21:16:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788622822000,"timestamp_ms":1788622822000,"timestamp_seconds":1788622822,"priority":1,"record_length":96,"hex_timestamp":"000001a0723a5a70"} 
[2026-09-05 21:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:16:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 21:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-05 21:16:57] 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-09-05 21:16:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887441152001,"66":27104,"163":206,"9":24832,"24":3,"16":399919802388316160,"45":8622915568332601344},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887441152001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:16:57] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:16:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919802388316160,"km_value":399919802388316.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568332601344,"description":"Unknown IO ID 45"} 
[2026-09-05 21:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887441152001,"power":27104,"unknown_163":206,"unknown_9":24832,"ignition":3,"odometer":null,"unknown_45":8622915568332601344}} 
[2026-09-05 21:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":172184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:16:57] local.INFO: GPS data processed {"connection_id":172184,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:16:57] local.INFO: Acknowledgment sent {"connection_id":172184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:17:02] local.INFO: TCP Data received {"connection_id":172185,"ip":"117.224.228.218","data_length":795,"data_hex":"000000000000030f8e0a000001a0723f4828012c8600c008e9ae20022000312d..."} 
[2026-09-05 21:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0723f4828012c8600c008e9ae20022000312d..."} 
[2026-09-05 21:17:02] local.INFO: Processing buffer {"connection_id":172185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0723f4828012c8600c008e9ae20022000312d..."} 
[2026-09-05 21:17:02] local.INFO: Packet analysis {"connection_id":172185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0723f"} 
[2026-09-05 21:17:02] local.INFO: Extracted packet for processing {"connection_id":172185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0723f"} 
[2026-09-05 21:17:02] local.INFO: GPS Element Parsed {"raw_longitude":746979520,"raw_latitude":149532192,"longitude_deg":74.697952,"latitude_deg":14.9532192,"altitude":544,"angle":49,"satellites":45,"speed":44,"hex_longitude":"2c8600c0","hex_latitude":"08e9ae20","is_valid_coordinates":true} 
[2026-09-05 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-09-05 21:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887524096001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1799243404673024,"note":"Value kept but may cause issues"} 
[2026-09-05 21:17:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8794052290347429886,"note":"Value kept but may cause issues"} 
[2026-09-05 21:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788623145000,"timestamp_ms":1788623145000,"timestamp_seconds":1788623145,"priority":1,"record_length":96,"hex_timestamp":"000001a0723f4828"} 
[2026-09-05 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-09-05 21:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-05 21:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 21:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172185,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172185,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.228.218","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 21:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 21:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887524096001,"66":27463,"55":206,"9":56576,"24":44,"16":1799243404673024,"44":-8794052290347429886},"client_ip":"117.224.228.218","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,9,24,16,44]} 
[2026-09-05 21:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 21:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 21:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887524096001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:17:02] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-05 21:17:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-05 21:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1799243404673024,"km_value":1799243404673.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:17:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8794052290347429886,"description":"Unknown IO ID 44"} 
[2026-09-05 21:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887524096001,"power":27463,"unknown_55":206,"unknown_9":56576,"ignition":44,"odometer":null,"unknown_44":-8794052290347429886}} 
[2026-09-05 21:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":172185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771316,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:17:02] local.INFO: GPS data processed {"connection_id":172185,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:17:02] local.INFO: Acknowledgment sent {"connection_id":172185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:17:21] local.INFO: TCP Data received {"connection_id":171928,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0723e55f8012d196500071ff128004101452a..."} 
[2026-09-05 21:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0723e55f8012d196500071ff128004101452a..."} 
[2026-09-05 21:17:21] local.INFO: Processing buffer {"connection_id":171928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0723e55f8012d196500071ff128004101452a..."} 
[2026-09-05 21:17:21] local.INFO: Packet analysis {"connection_id":171928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0723e"} 
[2026-09-05 21:17:21] local.INFO: Extracted packet for processing {"connection_id":171928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0723e"} 
[2026-09-05 21:17:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887432192001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788623083000,"timestamp_ms":1788623083000,"timestamp_seconds":1788623083,"priority":1,"record_length":96,"hex_timestamp":"000001a0723e55f8"} 
[2026-09-05 21:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:17:21] 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-09-05 21:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887432192001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887432192001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:17:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:17:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887432192001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":171928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:17:21] local.INFO: GPS data processed {"connection_id":171928,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:17:21] local.INFO: Acknowledgment sent {"connection_id":171928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:17:28] local.INFO: TCP Data received {"connection_id":172184,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0723a6240012d77ad4005f2a718000f003327..."} 
[2026-09-05 21:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0723a6240012d77ad4005f2a718000f003327..."} 
[2026-09-05 21:17:28] local.INFO: Processing buffer {"connection_id":172184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0723a6240012d77ad4005f2a718000f003327..."} 
[2026-09-05 21:17:28] local.INFO: Packet analysis {"connection_id":172184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0723a"} 
[2026-09-05 21:17:28] local.INFO: Extracted packet for processing {"connection_id":172184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0723a"} 
[2026-09-05 21:17:28] local.INFO: GPS Element Parsed {"raw_longitude":762817856,"raw_latitude":99788568,"longitude_deg":76.2817856,"latitude_deg":9.9788568,"altitude":15,"angle":51,"satellites":39,"speed":0,"hex_longitude":"2d77ad40","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-09-05 21:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887442432001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919810978250752,"note":"Value kept but may cause issues"} 
[2026-09-05 21:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623548887030228992,"note":"Value kept but may cause issues"} 
[2026-09-05 21:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788622824000,"timestamp_ms":1788622824000,"timestamp_seconds":1788622824,"priority":1,"record_length":96,"hex_timestamp":"000001a0723a6240"} 
[2026-09-05 21:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 21:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-05 21:17:28] 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-09-05 21:17:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887442432001,"66":27300,"163":206,"9":24832,"24":0,"16":399919810978250752,"45":8623548887030228992},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887442432001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:17:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:17:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919810978250752,"km_value":399919810978250.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623548887030228992,"description":"Unknown IO ID 45"} 
[2026-09-05 21:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887442432001,"power":27300,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623548887030228992}} 
[2026-09-05 21:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":172184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:17:28] local.INFO: GPS data processed {"connection_id":172184,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:17:28] local.INFO: Acknowledgment sent {"connection_id":172184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:17:44] local.INFO: TCP Data received {"connection_id":172186,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:17:44] local.INFO: Processing buffer {"connection_id":172186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:17:44] local.INFO: IMEI packet received {"connection_id":172186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":172186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:17:47] local.INFO: TCP Data received {"connection_id":173307,"ip":"117.224.228.218","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173307,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:17:47] local.INFO: Processing buffer {"connection_id":173307,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:17:47] local.INFO: IMEI packet received {"connection_id":173307,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 21:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":173307,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:17:49] local.INFO: TCP Data received {"connection_id":172186,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:17:49] local.INFO: Processing buffer {"connection_id":172186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:17:49] local.INFO: IMEI packet received {"connection_id":172186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":172186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:17:50] local.INFO: TCP Data received {"connection_id":174626,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:17:50] local.INFO: Processing buffer {"connection_id":174626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:17:50] local.INFO: IMEI packet received {"connection_id":174626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":174626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:17:50] local.INFO: TCP Data received {"connection_id":172186,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0723e55f8012d196500071ff128004101452a..."} 
[2026-09-05 21:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0723e55f8012d196500071ff128004101452a..."} 
[2026-09-05 21:17:50] local.INFO: Processing buffer {"connection_id":172186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0723e55f8012d196500071ff128004101452a..."} 
[2026-09-05 21:17:50] local.INFO: Packet analysis {"connection_id":172186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0723e"} 
[2026-09-05 21:17:50] local.INFO: Extracted packet for processing {"connection_id":172186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0723e"} 
[2026-09-05 21:17:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887432192001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788623083000,"timestamp_ms":1788623083000,"timestamp_seconds":1788623083,"priority":1,"record_length":96,"hex_timestamp":"000001a0723e55f8"} 
[2026-09-05 21:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:17:50] 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-09-05 21:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:17:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:17:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887432192001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887432192001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:17:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:17:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887432192001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":172186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:17:50] local.INFO: GPS data processed {"connection_id":172186,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:17:50] local.INFO: Acknowledgment sent {"connection_id":172186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:17:52] local.INFO: TCP Data received {"connection_id":173307,"ip":"117.224.228.218","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173307,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:17:52] local.INFO: Processing buffer {"connection_id":173307,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:17:52] local.INFO: IMEI packet received {"connection_id":173307,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 21:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":173307,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:17:53] local.INFO: TCP Data received {"connection_id":173307,"ip":"117.224.228.218","data_length":795,"data_hex":"000000000000030f8e0a000001a0723f6b50012c861d4008e9c5d00221002e2d..."} 
[2026-09-05 21:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0723f6b50012c861d4008e9c5d00221002e2d..."} 
[2026-09-05 21:17:53] local.INFO: Processing buffer {"connection_id":173307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0723f6b50012c861d4008e9c5d00221002e2d..."} 
[2026-09-05 21:17:53] local.INFO: Packet analysis {"connection_id":173307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0723f"} 
[2026-09-05 21:17:53] local.INFO: Extracted packet for processing {"connection_id":173307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0723f"} 
[2026-09-05 21:17:53] local.INFO: GPS Element Parsed {"raw_longitude":746986816,"raw_latitude":149538256,"longitude_deg":74.6986816,"latitude_deg":14.9538256,"altitude":545,"angle":46,"satellites":45,"speed":35,"hex_longitude":"2c861d40","hex_latitude":"08e9c5d0","is_valid_coordinates":true} 
[2026-09-05 21:17: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-09-05 21:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887525120001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1799694376239104,"note":"Value kept but may cause issues"} 
[2026-09-05 21:17:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8790815328114434046,"note":"Value kept but may cause issues"} 
[2026-09-05 21:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788623154000,"timestamp_ms":1788623154000,"timestamp_seconds":1788623154,"priority":1,"record_length":96,"hex_timestamp":"000001a0723f6b50"} 
[2026-09-05 21:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 21:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-05 21:17:53] 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-09-05 21:17: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-09-05 21:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173307,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173307,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.228.218","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 21:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 21:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887525120001,"66":27441,"55":206,"9":56576,"24":35,"16":1799694376239104,"44":-8790815328114434046},"client_ip":"117.224.228.218","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,9,24,16,44]} 
[2026-09-05 21:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 21:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 21:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887525120001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:17:53] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-05 21:17:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-05 21:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1799694376239104,"km_value":1799694376239.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:17:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8790815328114434046,"description":"Unknown IO ID 44"} 
[2026-09-05 21:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887525120001,"power":27441,"unknown_55":206,"unknown_9":56576,"ignition":35,"odometer":null,"unknown_44":-8790815328114434046}} 
[2026-09-05 21:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":173307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771320,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:17:53] local.INFO: GPS data processed {"connection_id":173307,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:17:53] local.INFO: Acknowledgment sent {"connection_id":173307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:17:55] local.INFO: TCP Data received {"connection_id":174626,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:17:55] local.INFO: Processing buffer {"connection_id":174626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:17:55] local.INFO: IMEI packet received {"connection_id":174626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":174626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:17:56] local.INFO: TCP Data received {"connection_id":174626,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0723aa4a8012d77ad0005f2a730001101012c..."} 
[2026-09-05 21:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0723aa4a8012d77ad0005f2a730001101012c..."} 
[2026-09-05 21:17:56] local.INFO: Processing buffer {"connection_id":174626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0723aa4a8012d77ad0005f2a730001101012c..."} 
[2026-09-05 21:17:56] local.INFO: Packet analysis {"connection_id":174626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0723a"} 
[2026-09-05 21:17:56] local.INFO: Extracted packet for processing {"connection_id":174626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0723a"} 
[2026-09-05 21:17:56] local.INFO: GPS Element Parsed {"raw_longitude":762817792,"raw_latitude":99788592,"longitude_deg":76.2817792,"latitude_deg":9.9788592,"altitude":17,"angle":257,"satellites":44,"speed":2,"hex_longitude":"2d77ad00","hex_latitude":"05f2a730","is_valid_coordinates":true} 
[2026-09-05 21:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887442944001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919815273218048,"note":"Value kept but may cause issues"} 
[2026-09-05 21:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623619255774418944,"note":"Value kept but may cause issues"} 
[2026-09-05 21:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788622841000,"timestamp_ms":1788622841000,"timestamp_seconds":1788622841,"priority":1,"record_length":96,"hex_timestamp":"000001a0723aa4a8"} 
[2026-09-05 21:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:17:56] 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-09-05 21:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-05 21:17:56] 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-09-05 21:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887442944001,"66":27376,"163":206,"9":24832,"24":2,"16":399919815273218048,"45":8623619255774418944},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887442944001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:17:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:17:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919815273218048,"km_value":399919815273218.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623619255774418944,"description":"Unknown IO ID 45"} 
[2026-09-05 21:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887442944001,"power":27376,"unknown_163":206,"unknown_9":24832,"ignition":2,"odometer":null,"unknown_45":8623619255774418944}} 
[2026-09-05 21:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":174626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:17:56] local.INFO: GPS data processed {"connection_id":174626,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:17:56] local.INFO: Acknowledgment sent {"connection_id":174626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:18:21] local.INFO: TCP Data received {"connection_id":172186,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0723e55f8012d196500071ff128004101452a..."} 
[2026-09-05 21:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0723e55f8012d196500071ff128004101452a..."} 
[2026-09-05 21:18:21] local.INFO: Processing buffer {"connection_id":172186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0723e55f8012d196500071ff128004101452a..."} 
[2026-09-05 21:18:21] local.INFO: Packet analysis {"connection_id":172186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0723e"} 
[2026-09-05 21:18:21] local.INFO: Extracted packet for processing {"connection_id":172186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0723e"} 
[2026-09-05 21:18:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887432192001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788623083000,"timestamp_ms":1788623083000,"timestamp_seconds":1788623083,"priority":1,"record_length":96,"hex_timestamp":"000001a0723e55f8"} 
[2026-09-05 21:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:18:21] 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-09-05 21:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887432192001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887432192001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:18:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:18:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887432192001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":172186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:18:21] local.INFO: GPS data processed {"connection_id":172186,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:18:21] local.INFO: Acknowledgment sent {"connection_id":172186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:18:25] local.INFO: TCP Data received {"connection_id":173307,"ip":"117.224.228.218","data_length":795,"data_hex":"000000000000030f8e0a000001a0723f9260012c86390008e9dc80022200302b..."} 
[2026-09-05 21:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0723f9260012c86390008e9dc80022200302b..."} 
[2026-09-05 21:18:25] local.INFO: Processing buffer {"connection_id":173307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0723f9260012c86390008e9dc80022200302b..."} 
[2026-09-05 21:18:25] local.INFO: Packet analysis {"connection_id":173307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0723f"} 
[2026-09-05 21:18:25] local.INFO: Extracted packet for processing {"connection_id":173307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0723f"} 
[2026-09-05 21:18:25] local.INFO: GPS Element Parsed {"raw_longitude":746993920,"raw_latitude":149544064,"longitude_deg":74.699392,"latitude_deg":14.9544064,"altitude":546,"angle":48,"satellites":43,"speed":35,"hex_longitude":"2c863900","hex_latitude":"08e9dc80","is_valid_coordinates":true} 
[2026-09-05 21:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887527424001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1800128167936000,"note":"Value kept but may cause issues"} 
[2026-09-05 21:18:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8782793291276627966,"note":"Value kept but may cause issues"} 
[2026-09-05 21:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788623164000,"timestamp_ms":1788623164000,"timestamp_seconds":1788623164,"priority":1,"record_length":96,"hex_timestamp":"000001a0723f9260"} 
[2026-09-05 21:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 21:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-09-05 21:18:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1174,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:18:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173307,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173307,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.228.218","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 21:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 21:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887527424001,"66":27430,"55":206,"9":56576,"24":35,"16":1800128167936000,"44":-8782793291276627966},"client_ip":"117.224.228.218","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,9,24,16,44]} 
[2026-09-05 21:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 21:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 21:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887527424001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:18:25] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-05 21:18:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-05 21:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1800128167936000,"km_value":1800128167936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:18:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8782793291276627966,"description":"Unknown IO ID 44"} 
[2026-09-05 21:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887527424001,"power":27430,"unknown_55":206,"unknown_9":56576,"ignition":35,"odometer":null,"unknown_44":-8782793291276627966}} 
[2026-09-05 21:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":173307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771323,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:18:25] local.INFO: GPS data processed {"connection_id":173307,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:18:25] local.INFO: Acknowledgment sent {"connection_id":173307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:18:28] local.INFO: TCP Data received {"connection_id":174626,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0723aeaf8012d77a78005f2a5880012010d2b..."} 
[2026-09-05 21:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0723aeaf8012d77a78005f2a5880012010d2b..."} 
[2026-09-05 21:18:28] local.INFO: Processing buffer {"connection_id":174626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0723aeaf8012d77a78005f2a5880012010d2b..."} 
[2026-09-05 21:18:28] local.INFO: Packet analysis {"connection_id":174626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0723a"} 
[2026-09-05 21:18:28] local.INFO: Extracted packet for processing {"connection_id":174626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0723a"} 
[2026-09-05 21:18:28] local.INFO: GPS Element Parsed {"raw_longitude":762816384,"raw_latitude":99788168,"longitude_deg":76.2816384,"latitude_deg":9.9788168,"altitude":18,"angle":269,"satellites":43,"speed":4,"hex_longitude":"2d77a780","hex_latitude":"05f2a588","is_valid_coordinates":true} 
[2026-09-05 21:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887447296001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919888287662080,"note":"Value kept but may cause issues"} 
[2026-09-05 21:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623548887030247424,"note":"Value kept but may cause issues"} 
[2026-09-05 21:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788622859000,"timestamp_ms":1788622859000,"timestamp_seconds":1788622859,"priority":1,"record_length":96,"hex_timestamp":"000001a0723aeaf8"} 
[2026-09-05 21:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 21:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-05 21:18:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:18:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887447296001,"66":27245,"163":206,"9":24832,"24":4,"16":399919888287662080,"45":8623548887030247424},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887447296001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:18:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:18:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919888287662080,"km_value":399919888287662.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623548887030247424,"description":"Unknown IO ID 45"} 
[2026-09-05 21:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887447296001,"power":27245,"unknown_163":206,"unknown_9":24832,"ignition":4,"odometer":null,"unknown_45":8623548887030247424}} 
[2026-09-05 21:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":174626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:18:28] local.INFO: GPS data processed {"connection_id":174626,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:18:28] local.INFO: Acknowledgment sent {"connection_id":174626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:18:44] local.INFO: TCP Data received {"connection_id":172187,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:18:44] local.INFO: Processing buffer {"connection_id":172187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:18:44] local.INFO: IMEI packet received {"connection_id":172187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":172187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:18:49] local.INFO: TCP Data received {"connection_id":172187,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:18:49] local.INFO: Processing buffer {"connection_id":172187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:18:49] local.INFO: IMEI packet received {"connection_id":172187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":172187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:18:50] local.INFO: TCP Data received {"connection_id":172187,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0723e55f8012d196500071ff128004101452a..."} 
[2026-09-05 21:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0723e55f8012d196500071ff128004101452a..."} 
[2026-09-05 21:18:50] local.INFO: Processing buffer {"connection_id":172187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0723e55f8012d196500071ff128004101452a..."} 
[2026-09-05 21:18:50] local.INFO: Packet analysis {"connection_id":172187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0723e"} 
[2026-09-05 21:18:50] local.INFO: Extracted packet for processing {"connection_id":172187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0723e"} 
[2026-09-05 21:18:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887432192001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788623083000,"timestamp_ms":1788623083000,"timestamp_seconds":1788623083,"priority":1,"record_length":96,"hex_timestamp":"000001a0723e55f8"} 
[2026-09-05 21:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:18:50] 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-09-05 21:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:18:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:18:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887432192001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887432192001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:18:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:18:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:18:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887432192001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":172187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:18:50] local.INFO: GPS data processed {"connection_id":172187,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:18:50] local.INFO: Acknowledgment sent {"connection_id":172187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:18:51] local.INFO: TCP Data received {"connection_id":174627,"ip":"117.224.228.218","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174627,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:18:51] local.INFO: Processing buffer {"connection_id":174627,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:18:51] local.INFO: IMEI packet received {"connection_id":174627,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 21:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":174627,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:18:52] local.INFO: TCP Data received {"connection_id":174627,"ip":"117.224.228.218","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174627,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:18:52] local.INFO: Processing buffer {"connection_id":174627,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:18:52] local.INFO: IMEI packet received {"connection_id":174627,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 21:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":174627,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:18:54] local.INFO: TCP Data received {"connection_id":174627,"ip":"117.224.228.218","data_length":795,"data_hex":"000000000000030f8e0a000001a0723fb970012c86558008e9f3d0022300322c..."} 
[2026-09-05 21:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0723fb970012c86558008e9f3d0022300322c..."} 
[2026-09-05 21:18:54] local.INFO: Processing buffer {"connection_id":174627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0723fb970012c86558008e9f3d0022300322c..."} 
[2026-09-05 21:18:54] local.INFO: Packet analysis {"connection_id":174627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0723f"} 
[2026-09-05 21:18:54] local.INFO: Extracted packet for processing {"connection_id":174627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0723f"} 
[2026-09-05 21:18:54] local.INFO: GPS Element Parsed {"raw_longitude":747001216,"raw_latitude":149550032,"longitude_deg":74.7001216,"latitude_deg":14.9550032,"altitude":547,"angle":50,"satellites":44,"speed":37,"hex_longitude":"2c865580","hex_latitude":"08e9f3d0","is_valid_coordinates":true} 
[2026-09-05 21:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887529984001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1800574844534784,"note":"Value kept but may cause issues"} 
[2026-09-05 21:18:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8774982360671420414,"note":"Value kept but may cause issues"} 
[2026-09-05 21:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788623174000,"timestamp_ms":1788623174000,"timestamp_seconds":1788623174,"priority":1,"record_length":96,"hex_timestamp":"000001a0723fb970"} 
[2026-09-05 21:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 21:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-05 21:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174627,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174627,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.228.218","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 21:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 21:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887529984001,"66":27691,"55":206,"9":56576,"24":37,"16":1800574844534784,"44":-8774982360671420414},"client_ip":"117.224.228.218","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,9,24,16,44]} 
[2026-09-05 21:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 21:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 21:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887529984001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:18:54] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-05 21:18:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-05 21:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1800574844534784,"km_value":1800574844534.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:18:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8774982360671420414,"description":"Unknown IO ID 44"} 
[2026-09-05 21:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887529984001,"power":27691,"unknown_55":206,"unknown_9":56576,"ignition":37,"odometer":null,"unknown_44":-8774982360671420414}} 
[2026-09-05 21:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":174627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771326,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:18:54] local.INFO: GPS data processed {"connection_id":174627,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:18:54] local.INFO: Acknowledgment sent {"connection_id":174627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:18:55] local.INFO: TCP Data received {"connection_id":174628,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:18:55] local.INFO: Processing buffer {"connection_id":174628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:18:55] local.INFO: IMEI packet received {"connection_id":174628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":174628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:19:00] local.INFO: TCP Data received {"connection_id":174628,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:19:00] local.INFO: Processing buffer {"connection_id":174628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:19:00] local.INFO: IMEI packet received {"connection_id":174628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":174628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:19:01] local.INFO: TCP Data received {"connection_id":174628,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0723b0a38012d77a40005f2a4d8001201012d..."} 
[2026-09-05 21:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0723b0a38012d77a40005f2a4d8001201012d..."} 
[2026-09-05 21:19:01] local.INFO: Processing buffer {"connection_id":174628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0723b0a38012d77a40005f2a4d8001201012d..."} 
[2026-09-05 21:19:01] local.INFO: Packet analysis {"connection_id":174628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0723b"} 
[2026-09-05 21:19:01] local.INFO: Extracted packet for processing {"connection_id":174628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0723b"} 
[2026-09-05 21:19:01] local.INFO: GPS Element Parsed {"raw_longitude":762815488,"raw_latitude":99787992,"longitude_deg":76.2815488,"latitude_deg":9.9787992,"altitude":18,"angle":257,"satellites":45,"speed":3,"hex_longitude":"2d77a400","hex_latitude":"05f2a4d8","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887451904001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919931237335040,"note":"Value kept but may cause issues"} 
[2026-09-05 21:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622000774658230272,"note":"Value kept but may cause issues"} 
[2026-09-05 21:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788622867000,"timestamp_ms":1788622867000,"timestamp_seconds":1788622867,"priority":1,"record_length":96,"hex_timestamp":"000001a0723b0a38"} 
[2026-09-05 21:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:19: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-09-05 21:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-05 21:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21: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-09-05 21:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887451904001,"66":27908,"163":206,"9":24832,"24":3,"16":399919931237335040,"45":8622000774658230272},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887451904001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:19:01] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:19:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919931237335040,"km_value":399919931237335.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622000774658230272,"description":"Unknown IO ID 45"} 
[2026-09-05 21:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887451904001,"power":27908,"unknown_163":206,"unknown_9":24832,"ignition":3,"odometer":null,"unknown_45":8622000774658230272}} 
[2026-09-05 21:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":174628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:19:01] local.INFO: GPS data processed {"connection_id":174628,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:19:01] local.INFO: Acknowledgment sent {"connection_id":174628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:19:06] local.INFO: TCP Data received {"connection_id":174628,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0723b1208012d77a34005f2a4e0001201162e..."} 
[2026-09-05 21:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0723b1208012d77a34005f2a4e0001201162e..."} 
[2026-09-05 21:19:06] local.INFO: Processing buffer {"connection_id":174628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0723b1208012d77a34005f2a4e0001201162e..."} 
[2026-09-05 21:19:06] local.INFO: Packet analysis {"connection_id":174628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0723b"} 
[2026-09-05 21:19:06] local.INFO: Extracted packet for processing {"connection_id":174628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0723b"} 
[2026-09-05 21:19:06] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788000,"longitude_deg":76.2815296,"latitude_deg":9.9788,"altitude":18,"angle":278,"satellites":46,"speed":2,"hex_longitude":"2d77a340","hex_latitude":"05f2a4e0","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887453952001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919939827269632,"note":"Value kept but may cause issues"} 
[2026-09-05 21:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621015612239697920,"note":"Value kept but may cause issues"} 
[2026-09-05 21:19: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-09-05 21:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788622869000,"timestamp_ms":1788622869000,"timestamp_seconds":1788622869,"priority":1,"record_length":96,"hex_timestamp":"000001a0723b1208"} 
[2026-09-05 21:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 21: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-05 21:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21: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-09-05 21:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887453952001,"66":27832,"163":206,"9":24832,"24":2,"16":399919939827269632,"45":8621015612239697920},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887453952001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:19:06] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:19:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919939827269632,"km_value":399919939827269.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621015612239697920,"description":"Unknown IO ID 45"} 
[2026-09-05 21:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887453952001,"power":27832,"unknown_163":206,"unknown_9":24832,"ignition":2,"odometer":null,"unknown_45":8621015612239697920}} 
[2026-09-05 21:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":174628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:19:06] local.INFO: GPS data processed {"connection_id":174628,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:19:06] local.INFO: Acknowledgment sent {"connection_id":174628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:19:21] local.INFO: TCP Data received {"connection_id":172187,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0723e55f8012d196500071ff128004101452a..."} 
[2026-09-05 21:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0723e55f8012d196500071ff128004101452a..."} 
[2026-09-05 21:19:21] local.INFO: Processing buffer {"connection_id":172187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0723e55f8012d196500071ff128004101452a..."} 
[2026-09-05 21:19:21] local.INFO: Packet analysis {"connection_id":172187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0723e"} 
[2026-09-05 21:19:21] local.INFO: Extracted packet for processing {"connection_id":172187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0723e"} 
[2026-09-05 21:19:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887432192001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788623083000,"timestamp_ms":1788623083000,"timestamp_seconds":1788623083,"priority":1,"record_length":96,"hex_timestamp":"000001a0723e55f8"} 
[2026-09-05 21:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:19:21] 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-09-05 21:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887432192001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887432192001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:19:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:19:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887432192001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":172187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:19:21] local.INFO: GPS data processed {"connection_id":172187,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:19:21] local.INFO: Acknowledgment sent {"connection_id":172187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:19:25] local.INFO: TCP Data received {"connection_id":174627,"ip":"117.224.228.218","data_length":795,"data_hex":"000000000000030f8e0a000001a0723ff7f0012c86730008ea07b0022400372c..."} 
[2026-09-05 21:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0723ff7f0012c86730008ea07b0022400372c..."} 
[2026-09-05 21:19:25] local.INFO: Processing buffer {"connection_id":174627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0723ff7f0012c86730008ea07b0022400372c..."} 
[2026-09-05 21:19:25] local.INFO: Packet analysis {"connection_id":174627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0723f"} 
[2026-09-05 21:19:25] local.INFO: Extracted packet for processing {"connection_id":174627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0723f"} 
[2026-09-05 21:19:25] local.INFO: GPS Element Parsed {"raw_longitude":747008768,"raw_latitude":149555120,"longitude_deg":74.7008768,"latitude_deg":14.955512,"altitude":548,"angle":55,"satellites":44,"speed":18,"hex_longitude":"2c867300","hex_latitude":"08ea07b0","is_valid_coordinates":true} 
[2026-09-05 21:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887532544001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1801008636231680,"note":"Value kept but may cause issues"} 
[2026-09-05 21:19:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8766960323833638910,"note":"Value kept but may cause issues"} 
[2026-09-05 21:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788623190000,"timestamp_ms":1788623190000,"timestamp_seconds":1788623190,"priority":1,"record_length":96,"hex_timestamp":"000001a0723ff7f0"} 
[2026-09-05 21:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 21:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-05 21:19:25] 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-09-05 21:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174627,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174627,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.228.218","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 21:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 21:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887532544001,"66":27463,"55":206,"9":56576,"24":18,"16":1801008636231680,"44":-8766960323833638910},"client_ip":"117.224.228.218","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,9,24,16,44]} 
[2026-09-05 21:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 21:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 21:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887532544001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:19:25] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-05 21:19:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-05 21:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1801008636231680,"km_value":1801008636231.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:19:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8766960323833638910,"description":"Unknown IO ID 44"} 
[2026-09-05 21:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887532544001,"power":27463,"unknown_55":206,"unknown_9":56576,"ignition":18,"odometer":null,"unknown_44":-8766960323833638910}} 
[2026-09-05 21:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":174627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771330,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:19:25] local.INFO: GPS data processed {"connection_id":174627,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:19:25] local.INFO: Acknowledgment sent {"connection_id":174627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:19:44] local.INFO: TCP Data received {"connection_id":171930,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:19:44] local.INFO: Processing buffer {"connection_id":171930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:19:44] local.INFO: IMEI packet received {"connection_id":171930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":171930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:19:47] local.INFO: TCP Data received {"connection_id":171929,"ip":"117.224.228.218","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:19:47] local.INFO: Processing buffer {"connection_id":171929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:19:47] local.INFO: IMEI packet received {"connection_id":171929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 21:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":171929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:19:49] local.INFO: TCP Data received {"connection_id":171930,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:19:49] local.INFO: Processing buffer {"connection_id":171930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:19:49] local.INFO: IMEI packet received {"connection_id":171930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":171930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:19:50] local.INFO: TCP Data received {"connection_id":171930,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0723e55f8012d196500071ff128004101452a..."} 
[2026-09-05 21:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0723e55f8012d196500071ff128004101452a..."} 
[2026-09-05 21:19:50] local.INFO: Processing buffer {"connection_id":171930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0723e55f8012d196500071ff128004101452a..."} 
[2026-09-05 21:19:50] local.INFO: Packet analysis {"connection_id":171930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0723e"} 
[2026-09-05 21:19:50] local.INFO: Extracted packet for processing {"connection_id":171930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0723e"} 
[2026-09-05 21:19:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887432192001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788623083000,"timestamp_ms":1788623083000,"timestamp_seconds":1788623083,"priority":1,"record_length":96,"hex_timestamp":"000001a0723e55f8"} 
[2026-09-05 21:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:19:50] 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-09-05 21:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887432192001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887432192001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:19:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:19:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887432192001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":171930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:19:50] local.INFO: GPS data processed {"connection_id":171930,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:19:50] local.INFO: Acknowledgment sent {"connection_id":171930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:19:51] local.INFO: TCP Data received {"connection_id":172188,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:19:51] local.INFO: Processing buffer {"connection_id":172188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:19:51] local.INFO: IMEI packet received {"connection_id":172188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":172188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:19:52] local.INFO: TCP Data received {"connection_id":171929,"ip":"117.224.228.218","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:19:52] local.INFO: Processing buffer {"connection_id":171929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:19:52] local.INFO: IMEI packet received {"connection_id":171929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 21:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":171929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:19:53] local.INFO: TCP Data received {"connection_id":171929,"ip":"117.224.228.218","data_length":795,"data_hex":"000000000000030f8e0a000001a072403a58012c86918008ea1b20022300392b..."} 
[2026-09-05 21:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072403a58012c86918008ea1b20022300392b..."} 
[2026-09-05 21:19:53] local.INFO: Processing buffer {"connection_id":171929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072403a58012c86918008ea1b20022300392b..."} 
[2026-09-05 21:19:53] local.INFO: Packet analysis {"connection_id":171929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07240"} 
[2026-09-05 21:19:53] local.INFO: Extracted packet for processing {"connection_id":171929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07240"} 
[2026-09-05 21:19:53] local.INFO: GPS Element Parsed {"raw_longitude":747016576,"raw_latitude":149560096,"longitude_deg":74.7016576,"latitude_deg":14.9560096,"altitude":547,"angle":57,"satellites":43,"speed":19,"hex_longitude":"2c869180","hex_latitude":"08ea1b20","is_valid_coordinates":true} 
[2026-09-05 21:19: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-09-05 21:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887536640001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1801446722895872,"note":"Value kept but may cause issues"} 
[2026-09-05 21:19:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8758656812019372030,"note":"Value kept but may cause issues"} 
[2026-09-05 21:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788623207000,"timestamp_ms":1788623207000,"timestamp_seconds":1788623207,"priority":1,"record_length":96,"hex_timestamp":"000001a072403a58"} 
[2026-09-05 21:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 21:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-05 21:19:53] 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-09-05 21:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.228.218","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 21:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 21:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887536640001,"66":27419,"55":206,"9":56576,"24":19,"16":1801446722895872,"44":-8758656812019372030},"client_ip":"117.224.228.218","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,9,24,16,44]} 
[2026-09-05 21:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 21:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 21:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887536640001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:19:53] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-05 21:19:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-05 21:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1801446722895872,"km_value":1801446722895.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:19:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8758656812019372030,"description":"Unknown IO ID 44"} 
[2026-09-05 21:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887536640001,"power":27419,"unknown_55":206,"unknown_9":56576,"ignition":19,"odometer":null,"unknown_44":-8758656812019372030}} 
[2026-09-05 21:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":171929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771332,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:19:53] local.INFO: GPS data processed {"connection_id":171929,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:19:53] local.INFO: Acknowledgment sent {"connection_id":171929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:19:55] local.INFO: TCP Data received {"connection_id":171929,"ip":"117.224.228.218","data_length":795,"data_hex":"000000000000030f8e0a000001a0724074f0012c86af8008ea2fb0022300332b..."} 
[2026-09-05 21:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0724074f0012c86af8008ea2fb0022300332b..."} 
[2026-09-05 21:19:55] local.INFO: Processing buffer {"connection_id":171929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0724074f0012c86af8008ea2fb0022300332b..."} 
[2026-09-05 21:19:55] local.INFO: Packet analysis {"connection_id":171929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07240"} 
[2026-09-05 21:19:55] local.INFO: Extracted packet for processing {"connection_id":171929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07240"} 
[2026-09-05 21:19:55] local.INFO: GPS Element Parsed {"raw_longitude":747024256,"raw_latitude":149565360,"longitude_deg":74.7024256,"latitude_deg":14.956536,"altitude":547,"angle":51,"satellites":43,"speed":28,"hex_longitude":"2c86af80","hex_latitude":"08ea2fb0","is_valid_coordinates":true} 
[2026-09-05 21:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887540992001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1801889104527360,"note":"Value kept but may cause issues"} 
[2026-09-05 21:19:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8750071825228423166,"note":"Value kept but may cause issues"} 
[2026-09-05 21:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788623222000,"timestamp_ms":1788623222000,"timestamp_seconds":1788623222,"priority":1,"record_length":96,"hex_timestamp":"000001a0724074f0"} 
[2026-09-05 21:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 21:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-05 21:19:55] 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-09-05 21:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.228.218","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 21:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 21:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887540992001,"66":27213,"55":206,"9":56576,"24":28,"16":1801889104527360,"44":-8750071825228423166},"client_ip":"117.224.228.218","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,9,24,16,44]} 
[2026-09-05 21:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 21:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 21:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887540992001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:19:55] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-05 21:19:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-05 21:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1801889104527360,"km_value":1801889104527.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:19:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8750071825228423166,"description":"Unknown IO ID 44"} 
[2026-09-05 21:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887540992001,"power":27213,"unknown_55":206,"unknown_9":56576,"ignition":28,"odometer":null,"unknown_44":-8750071825228423166}} 
[2026-09-05 21:19:55] local.INFO: TCP Data received {"connection_id":172188,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:19:55] local.INFO: Processing buffer {"connection_id":172188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:19:55] local.INFO: IMEI packet received {"connection_id":172188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":172188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":171929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771333,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:19:55] local.INFO: GPS data processed {"connection_id":171929,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:19:55] local.INFO: Acknowledgment sent {"connection_id":171929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:19:56] local.INFO: TCP Data received {"connection_id":172188,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0723b15f0012d77a30005f2a5080013012530..."} 
[2026-09-05 21:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0723b15f0012d77a30005f2a5080013012530..."} 
[2026-09-05 21:19:56] local.INFO: Processing buffer {"connection_id":172188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0723b15f0012d77a30005f2a5080013012530..."} 
[2026-09-05 21:19:56] local.INFO: Packet analysis {"connection_id":172188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0723b"} 
[2026-09-05 21:19:56] local.INFO: Extracted packet for processing {"connection_id":172188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0723b"} 
[2026-09-05 21:19:56] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788040,"longitude_deg":76.2815232,"latitude_deg":9.978804,"altitude":19,"angle":293,"satellites":48,"speed":2,"hex_longitude":"2d77a300","hex_latitude":"05f2a508","is_valid_coordinates":true} 
[2026-09-05 21:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887454464001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919944122236928,"note":"Value kept but may cause issues"} 
[2026-09-05 21:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007166976,"note":"Value kept but may cause issues"} 
[2026-09-05 21:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788622870000,"timestamp_ms":1788622870000,"timestamp_seconds":1788622870,"priority":1,"record_length":96,"hex_timestamp":"000001a0723b15f0"} 
[2026-09-05 21:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 21:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 21:19:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:19:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887454464001,"66":27832,"163":206,"9":24832,"24":2,"16":399919944122236928,"45":8620804506007166976},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887454464001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:19:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:19:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919944122236928,"km_value":399919944122236.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007166976,"description":"Unknown IO ID 45"} 
[2026-09-05 21:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887454464001,"power":27832,"unknown_163":206,"unknown_9":24832,"ignition":2,"odometer":null,"unknown_45":8620804506007166976}} 
[2026-09-05 21:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":172188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:19:56] local.INFO: GPS data processed {"connection_id":172188,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:19:56] local.INFO: Acknowledgment sent {"connection_id":172188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:20:21] local.INFO: TCP Data received {"connection_id":171930,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0723e55f8012d196500071ff128004101452a..."} 
[2026-09-05 21:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0723e55f8012d196500071ff128004101452a..."} 
[2026-09-05 21:20:21] local.INFO: Processing buffer {"connection_id":171930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0723e55f8012d196500071ff128004101452a..."} 
[2026-09-05 21:20:21] local.INFO: Packet analysis {"connection_id":171930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0723e"} 
[2026-09-05 21:20:21] local.INFO: Extracted packet for processing {"connection_id":171930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0723e"} 
[2026-09-05 21:20:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887432192001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788623083000,"timestamp_ms":1788623083000,"timestamp_seconds":1788623083,"priority":1,"record_length":96,"hex_timestamp":"000001a0723e55f8"} 
[2026-09-05 21:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:20:21] 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-09-05 21:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887432192001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887432192001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:20:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:20:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887432192001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":171930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:20:21] local.INFO: GPS data processed {"connection_id":171930,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:20:21] local.INFO: Acknowledgment sent {"connection_id":171930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:20:27] local.INFO: TCP Data received {"connection_id":171929,"ip":"117.224.228.218","data_length":795,"data_hex":"000000000000030f8e0a000001a07242d268012c87f58008eb4b80022300392d..."} 
[2026-09-05 21:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07242d268012c87f58008eb4b80022300392d..."} 
[2026-09-05 21:20:27] local.INFO: Processing buffer {"connection_id":171929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07242d268012c87f58008eb4b80022300392d..."} 
[2026-09-05 21:20:27] local.INFO: Packet analysis {"connection_id":171929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07242"} 
[2026-09-05 21:20:27] local.INFO: Extracted packet for processing {"connection_id":171929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07242"} 
[2026-09-05 21:20:27] local.INFO: GPS Element Parsed {"raw_longitude":747107712,"raw_latitude":149638016,"longitude_deg":74.7107712,"latitude_deg":14.9638016,"altitude":547,"angle":57,"satellites":45,"speed":32,"hex_longitude":"2c87f580","hex_latitude":"08eb4b80","is_valid_coordinates":true} 
[2026-09-05 21:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887581696001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1807184799203328,"note":"Value kept but may cause issues"} 
[2026-09-05 21:20:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8658803564011524094,"note":"Value kept but may cause issues"} 
[2026-09-05 21:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788623377000,"timestamp_ms":1788623377000,"timestamp_seconds":1788623377,"priority":1,"record_length":96,"hex_timestamp":"000001a07242d268"} 
[2026-09-05 21:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 21:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-09-05 21:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1174,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.228.218","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 21:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 21:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887581696001,"66":27550,"45":206,"9":56576,"24":32,"16":1807184799203328,"44":-8658803564011524094},"client_ip":"117.224.228.218","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,9,24,16,44]} 
[2026-09-05 21:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 21:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 21:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887581696001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-09-05 21:20:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-05 21:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1807184799203328,"km_value":1807184799203.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:20:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8658803564011524094,"description":"Unknown IO ID 44"} 
[2026-09-05 21:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887581696001,"power":27550,"unknown_45":206,"unknown_9":56576,"ignition":32,"odometer":null,"unknown_44":-8658803564011524094}} 
[2026-09-05 21:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":171929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771336,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:20:27] local.INFO: GPS data processed {"connection_id":171929,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:20:27] local.INFO: Acknowledgment sent {"connection_id":171929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:20:28] local.INFO: TCP Data received {"connection_id":172188,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0723b19d8012d77a2c005f2a510001301132f..."} 
[2026-09-05 21:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0723b19d8012d77a2c005f2a510001301132f..."} 
[2026-09-05 21:20:28] local.INFO: Processing buffer {"connection_id":172188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0723b19d8012d77a2c005f2a510001301132f..."} 
[2026-09-05 21:20:28] local.INFO: Packet analysis {"connection_id":172188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0723b"} 
[2026-09-05 21:20:28] local.INFO: Extracted packet for processing {"connection_id":172188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0723b"} 
[2026-09-05 21:20:28] local.INFO: GPS Element Parsed {"raw_longitude":762815168,"raw_latitude":99788048,"longitude_deg":76.2815168,"latitude_deg":9.9788048,"altitude":19,"angle":275,"satellites":47,"speed":2,"hex_longitude":"2d77a2c0","hex_latitude":"05f2a510","is_valid_coordinates":true} 
[2026-09-05 21:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887454720001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919948417204224,"note":"Value kept but may cause issues"} 
[2026-09-05 21:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262999552,"note":"Value kept but may cause issues"} 
[2026-09-05 21:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788622871000,"timestamp_ms":1788622871000,"timestamp_seconds":1788622871,"priority":1,"record_length":96,"hex_timestamp":"000001a0723b19d8"} 
[2026-09-05 21:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 21:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-05 21:20:28] 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-09-05 21:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887454720001,"66":27343,"163":206,"9":24832,"24":2,"16":399919948417204224,"45":8620734137262999552},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887454720001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:20:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:20:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919948417204224,"km_value":399919948417204.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262999552,"description":"Unknown IO ID 45"} 
[2026-09-05 21:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887454720001,"power":27343,"unknown_163":206,"unknown_9":24832,"ignition":2,"odometer":null,"unknown_45":8620734137262999552}} 
[2026-09-05 21:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":172188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:20:28] local.INFO: GPS data processed {"connection_id":172188,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:20:28] local.INFO: Acknowledgment sent {"connection_id":172188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:20:47] local.INFO: TCP Data received {"connection_id":173308,"ip":"117.224.228.218","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173308,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:20:47] local.INFO: Processing buffer {"connection_id":173308,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:20:47] local.INFO: IMEI packet received {"connection_id":173308,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 21:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":173308,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:20:48] local.INFO: TCP Data received {"connection_id":173308,"ip":"117.224.228.218","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173308,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:20:48] local.INFO: Processing buffer {"connection_id":173308,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:20:48] local.INFO: IMEI packet received {"connection_id":173308,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 21:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":173308,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:20:49] local.INFO: TCP Data received {"connection_id":173309,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:20:49] local.INFO: Processing buffer {"connection_id":173309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:20:49] local.INFO: IMEI packet received {"connection_id":173309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":173309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:20:50] local.INFO: TCP Data received {"connection_id":173310,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:20:50] local.INFO: Processing buffer {"connection_id":173310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:20:50] local.INFO: IMEI packet received {"connection_id":173310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":173310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:20:50] local.INFO: TCP Data received {"connection_id":173308,"ip":"117.224.228.218","data_length":795,"data_hex":"000000000000030f8e0a000001a07242e208012c87ff8008eb53300221002d2c..."} 
[2026-09-05 21:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07242e208012c87ff8008eb53300221002d2c..."} 
[2026-09-05 21:20:50] local.INFO: Processing buffer {"connection_id":173308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07242e208012c87ff8008eb53300221002d2c..."} 
[2026-09-05 21:20:50] local.INFO: Packet analysis {"connection_id":173308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07242"} 
[2026-09-05 21:20:50] local.INFO: Extracted packet for processing {"connection_id":173308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07242"} 
[2026-09-05 21:20:50] local.INFO: GPS Element Parsed {"raw_longitude":747110272,"raw_latitude":149639984,"longitude_deg":74.7110272,"latitude_deg":14.9639984,"altitude":545,"angle":45,"satellites":44,"speed":30,"hex_longitude":"2c87ff80","hex_latitude":"08eb5330","is_valid_coordinates":true} 
[2026-09-05 21:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887584512001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1807339418025984,"note":"Value kept but may cause issues"} 
[2026-09-05 21:20:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8649866733499482110,"note":"Value kept but may cause issues"} 
[2026-09-05 21:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788623381000,"timestamp_ms":1788623381000,"timestamp_seconds":1788623381,"priority":1,"record_length":96,"hex_timestamp":"000001a07242e208"} 
[2026-09-05 21:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 21:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-05 21:20:50] 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-09-05 21:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.228.218","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 21:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 21:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887584512001,"66":27571,"45":206,"9":56576,"24":30,"16":1807339418025984,"44":-8649866733499482110},"client_ip":"117.224.228.218","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,9,24,16,44]} 
[2026-09-05 21:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 21:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 21:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887584512001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-09-05 21:20:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-05 21:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1807339418025984,"km_value":1807339418025.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:20:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8649866733499482110,"description":"Unknown IO ID 44"} 
[2026-09-05 21:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887584512001,"power":27571,"unknown_45":206,"unknown_9":56576,"ignition":30,"odometer":null,"unknown_44":-8649866733499482110}} 
[2026-09-05 21:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":173308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771338,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:20:50] local.INFO: GPS data processed {"connection_id":173308,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:20:50] local.INFO: Acknowledgment sent {"connection_id":173308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:20:54] local.INFO: TCP Data received {"connection_id":173309,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:20:54] local.INFO: Processing buffer {"connection_id":173309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:20:54] local.INFO: IMEI packet received {"connection_id":173309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":173309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:20:55] local.INFO: TCP Data received {"connection_id":173309,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07242edc0012d196500071ff1280041014528..."} 
[2026-09-05 21:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07242edc0012d196500071ff1280041014528..."} 
[2026-09-05 21:20:55] local.INFO: Processing buffer {"connection_id":173309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07242edc0012d196500071ff1280041014528..."} 
[2026-09-05 21:20:55] local.INFO: Packet analysis {"connection_id":173309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07242"} 
[2026-09-05 21:20:55] local.INFO: Extracted packet for processing {"connection_id":173309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07242"} 
[2026-09-05 21:20:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887509248001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788623384000,"timestamp_ms":1788623384000,"timestamp_seconds":1788623384,"priority":1,"record_length":96,"hex_timestamp":"000001a07242edc0"} 
[2026-09-05 21:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:20:55] 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-09-05 21:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 21:20:55] 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-09-05 21:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887509248001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887509248001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:20:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:20:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887509248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":173309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:20:55] local.INFO: GPS data processed {"connection_id":173309,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:20:55] local.INFO: Acknowledgment sent {"connection_id":173309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:20:55] local.INFO: TCP Data received {"connection_id":173310,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:20:55] local.INFO: Processing buffer {"connection_id":173310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:20:55] local.INFO: IMEI packet received {"connection_id":173310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":173310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:20:56] local.INFO: TCP Data received {"connection_id":173310,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0723b2978012d77a1c005f2a548001401082e..."} 
[2026-09-05 21:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0723b2978012d77a1c005f2a548001401082e..."} 
[2026-09-05 21:20:56] local.INFO: Processing buffer {"connection_id":173310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0723b2978012d77a1c005f2a548001401082e..."} 
[2026-09-05 21:20:56] local.INFO: Packet analysis {"connection_id":173310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0723b"} 
[2026-09-05 21:20:56] local.INFO: Extracted packet for processing {"connection_id":173310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0723b"} 
[2026-09-05 21:20:56] local.INFO: GPS Element Parsed {"raw_longitude":762814912,"raw_latitude":99788104,"longitude_deg":76.2814912,"latitude_deg":9.9788104,"altitude":20,"angle":264,"satellites":46,"speed":1,"hex_longitude":"2d77a1c0","hex_latitude":"05f2a548","is_valid_coordinates":true} 
[2026-09-05 21:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887454976001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919957007138816,"note":"Value kept but may cause issues"} 
[2026-09-05 21:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620663768518823936,"note":"Value kept but may cause issues"} 
[2026-09-05 21:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788622875000,"timestamp_ms":1788622875000,"timestamp_seconds":1788622875,"priority":1,"record_length":96,"hex_timestamp":"000001a0723b2978"} 
[2026-09-05 21:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 21:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 21:20:56] 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-09-05 21:20:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887454976001,"66":27984,"163":206,"9":24832,"24":1,"16":399919957007138816,"45":8620663768518823936},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887454976001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:20:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:20:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919957007138816,"km_value":399919957007138.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620663768518823936,"description":"Unknown IO ID 45"} 
[2026-09-05 21:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887454976001,"power":27984,"unknown_163":206,"unknown_9":24832,"ignition":1,"odometer":null,"unknown_45":8620663768518823936}} 
[2026-09-05 21:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":173310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:20:56] local.INFO: GPS data processed {"connection_id":173310,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:20:56] local.INFO: Acknowledgment sent {"connection_id":173310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:21:21] local.INFO: TCP Data received {"connection_id":173308,"ip":"117.224.228.218","data_length":795,"data_hex":"000000000000030f8e0a000001a07242f978012c8809c008eb5f70021e00202a..."} 
[2026-09-05 21:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07242f978012c8809c008eb5f70021e00202a..."} 
[2026-09-05 21:21:21] local.INFO: Processing buffer {"connection_id":173308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07242f978012c8809c008eb5f70021e00202a..."} 
[2026-09-05 21:21:21] local.INFO: Packet analysis {"connection_id":173308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07242"} 
[2026-09-05 21:21:21] local.INFO: Extracted packet for processing {"connection_id":173308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07242"} 
[2026-09-05 21:21:21] local.INFO: GPS Element Parsed {"raw_longitude":747112896,"raw_latitude":149643120,"longitude_deg":74.7112896,"latitude_deg":14.964312,"altitude":542,"angle":32,"satellites":42,"speed":21,"hex_longitude":"2c8809c0","hex_latitude":"08eb5f70","is_valid_coordinates":true} 
[2026-09-05 21:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887585536001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1807532691554304,"note":"Value kept but may cause issues"} 
[2026-09-05 21:21:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8647051983731871742,"note":"Value kept but may cause issues"} 
[2026-09-05 21:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788623387000,"timestamp_ms":1788623387000,"timestamp_seconds":1788623387,"priority":1,"record_length":96,"hex_timestamp":"000001a07242f978"} 
[2026-09-05 21:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 21:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-05 21:21:21] 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-09-05 21:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.228.218","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 21:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 21:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887585536001,"66":27593,"45":206,"9":56576,"24":21,"16":1807532691554304,"44":-8647051983731871742},"client_ip":"117.224.228.218","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,9,24,16,44]} 
[2026-09-05 21:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 21:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 21:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887585536001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-09-05 21:21:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-05 21:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1807532691554304,"km_value":1807532691554.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:21:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8647051983731871742,"description":"Unknown IO ID 44"} 
[2026-09-05 21:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887585536001,"power":27593,"unknown_45":206,"unknown_9":56576,"ignition":21,"odometer":null,"unknown_44":-8647051983731871742}} 
[2026-09-05 21:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":173308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771341,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:21:21] local.INFO: GPS data processed {"connection_id":173308,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:21:21] local.INFO: Acknowledgment sent {"connection_id":173308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:21:26] local.INFO: TCP Data received {"connection_id":173309,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07242edc0012d196500071ff1280041014528..."} 
[2026-09-05 21:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07242edc0012d196500071ff1280041014528..."} 
[2026-09-05 21:21:26] local.INFO: Processing buffer {"connection_id":173309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07242edc0012d196500071ff1280041014528..."} 
[2026-09-05 21:21:26] local.INFO: Packet analysis {"connection_id":173309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07242"} 
[2026-09-05 21:21:26] local.INFO: Extracted packet for processing {"connection_id":173309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07242"} 
[2026-09-05 21:21:26] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887509248001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788623384000,"timestamp_ms":1788623384000,"timestamp_seconds":1788623384,"priority":1,"record_length":96,"hex_timestamp":"000001a07242edc0"} 
[2026-09-05 21:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:21:26] 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-09-05 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 21:21:26] 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-09-05 21: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-09-05 21:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887509248001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887509248001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:21:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:21:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887509248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":173309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:21:26] local.INFO: GPS data processed {"connection_id":173309,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:21:26] local.INFO: Acknowledgment sent {"connection_id":173309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:21:28] local.INFO: TCP Data received {"connection_id":173310,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0723b7798012d77a18005f2a590001601032e..."} 
[2026-09-05 21:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0723b7798012d77a18005f2a590001601032e..."} 
[2026-09-05 21:21:28] local.INFO: Processing buffer {"connection_id":173310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0723b7798012d77a18005f2a590001601032e..."} 
[2026-09-05 21:21:28] local.INFO: Packet analysis {"connection_id":173310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0723b"} 
[2026-09-05 21:21:28] local.INFO: Extracted packet for processing {"connection_id":173310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0723b"} 
[2026-09-05 21:21:28] local.INFO: GPS Element Parsed {"raw_longitude":762814848,"raw_latitude":99788176,"longitude_deg":76.2814848,"latitude_deg":9.9788176,"altitude":22,"angle":259,"satellites":46,"speed":0,"hex_longitude":"2d77a180","hex_latitude":"05f2a590","is_valid_coordinates":true} 
[2026-09-05 21:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887456000001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620382293542127616,"note":"Value kept but may cause issues"} 
[2026-09-05 21:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788622895000,"timestamp_ms":1788622895000,"timestamp_seconds":1788622895,"priority":1,"record_length":96,"hex_timestamp":"000001a0723b7798"} 
[2026-09-05 21:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 21:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-05 21:21:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:21:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887456000001,"66":27843,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620382293542127616},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887456000001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:21:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:21:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620382293542127616,"description":"Unknown IO ID 45"} 
[2026-09-05 21:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887456000001,"power":27843,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620382293542127616}} 
[2026-09-05 21:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":173310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:21:28] local.INFO: GPS data processed {"connection_id":173310,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:21:28] local.INFO: Acknowledgment sent {"connection_id":173310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:21:44] local.INFO: TCP Data received {"connection_id":173311,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:21:44] local.INFO: Processing buffer {"connection_id":173311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:21:44] local.INFO: IMEI packet received {"connection_id":173311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":173311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:21:46] local.INFO: TCP Data received {"connection_id":171931,"ip":"117.224.228.218","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:21:46] local.INFO: Processing buffer {"connection_id":171931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:21:46] local.INFO: IMEI packet received {"connection_id":171931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 21:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":171931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:21:49] local.INFO: TCP Data received {"connection_id":173311,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:21:49] local.INFO: Processing buffer {"connection_id":173311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:21:49] local.INFO: IMEI packet received {"connection_id":173311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":173311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:21:49] local.INFO: TCP Data received {"connection_id":173312,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:21:50] local.INFO: Processing buffer {"connection_id":173312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:21:50] local.INFO: IMEI packet received {"connection_id":173312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":173312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:21:50] local.INFO: TCP Data received {"connection_id":173311,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07242edc0012d196500071ff1280041014528..."} 
[2026-09-05 21:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07242edc0012d196500071ff1280041014528..."} 
[2026-09-05 21:21:50] local.INFO: Processing buffer {"connection_id":173311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07242edc0012d196500071ff1280041014528..."} 
[2026-09-05 21:21:50] local.INFO: Packet analysis {"connection_id":173311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07242"} 
[2026-09-05 21:21:50] local.INFO: Extracted packet for processing {"connection_id":173311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07242"} 
[2026-09-05 21:21:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887509248001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788623384000,"timestamp_ms":1788623384000,"timestamp_seconds":1788623384,"priority":1,"record_length":96,"hex_timestamp":"000001a07242edc0"} 
[2026-09-05 21:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:21:50] 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-09-05 21:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 21:21:50] 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-09-05 21:21:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887509248001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887509248001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:21:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:21:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887509248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":173311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:21:50] local.INFO: GPS data processed {"connection_id":173311,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:21:50] local.INFO: Acknowledgment sent {"connection_id":173311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:21:52] local.INFO: TCP Data received {"connection_id":171931,"ip":"117.224.228.218","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:21:52] local.INFO: Processing buffer {"connection_id":171931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:21:52] local.INFO: IMEI packet received {"connection_id":171931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 21:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":171931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:21:53] local.INFO: TCP Data received {"connection_id":171931,"ip":"117.224.228.218","data_length":795,"data_hex":"000000000000030f8e0a000001a0724337f8012c881c0008eb7830021f002b2c..."} 
[2026-09-05 21:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0724337f8012c881c0008eb7830021f002b2c..."} 
[2026-09-05 21:21:53] local.INFO: Processing buffer {"connection_id":171931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0724337f8012c881c0008eb7830021f002b2c..."} 
[2026-09-05 21:21:53] local.INFO: Packet analysis {"connection_id":171931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07243"} 
[2026-09-05 21:21:53] local.INFO: Extracted packet for processing {"connection_id":171931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07243"} 
[2026-09-05 21:21:53] local.INFO: GPS Element Parsed {"raw_longitude":747117568,"raw_latitude":149649456,"longitude_deg":74.7117568,"latitude_deg":14.9649456,"altitude":543,"angle":43,"satellites":44,"speed":23,"hex_longitude":"2c881c00","hex_latitude":"08eb7830","is_valid_coordinates":true} 
[2026-09-05 21:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887587072001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1807910648676352,"note":"Value kept but may cause issues"} 
[2026-09-05 21:21:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8644166865219784702,"note":"Value kept but may cause issues"} 
[2026-09-05 21:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788623403000,"timestamp_ms":1788623403000,"timestamp_seconds":1788623403,"priority":1,"record_length":96,"hex_timestamp":"000001a0724337f8"} 
[2026-09-05 21:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 21:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-05 21:21:53] 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-09-05 21:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.228.218","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 21:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 21:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887587072001,"66":27571,"45":206,"9":56576,"24":23,"16":1807910648676352,"44":-8644166865219784702},"client_ip":"117.224.228.218","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,9,24,16,44]} 
[2026-09-05 21:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 21:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 21:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887587072001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-09-05 21:21:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-05 21:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1807910648676352,"km_value":1807910648676.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:21:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8644166865219784702,"description":"Unknown IO ID 44"} 
[2026-09-05 21:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887587072001,"power":27571,"unknown_45":206,"unknown_9":56576,"ignition":23,"odometer":null,"unknown_44":-8644166865219784702}} 
[2026-09-05 21:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":171931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771345,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:21:53] local.INFO: GPS data processed {"connection_id":171931,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:21:53] local.INFO: Acknowledgment sent {"connection_id":171931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:21:55] local.INFO: TCP Data received {"connection_id":173312,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:21:55] local.INFO: Processing buffer {"connection_id":173312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:21:55] local.INFO: IMEI packet received {"connection_id":173312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":173312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:21:56] local.INFO: TCP Data received {"connection_id":173312,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0723b7b80012d77a18005f2a590001601032e..."} 
[2026-09-05 21:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0723b7b80012d77a18005f2a590001601032e..."} 
[2026-09-05 21:21:56] local.INFO: Processing buffer {"connection_id":173312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0723b7b80012d77a18005f2a590001601032e..."} 
[2026-09-05 21:21:56] local.INFO: Packet analysis {"connection_id":173312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0723b"} 
[2026-09-05 21:21:56] local.INFO: Extracted packet for processing {"connection_id":173312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0723b"} 
[2026-09-05 21:21:56] local.INFO: GPS Element Parsed {"raw_longitude":762814848,"raw_latitude":99788176,"longitude_deg":76.2814848,"latitude_deg":9.9788176,"altitude":22,"angle":259,"satellites":46,"speed":0,"hex_longitude":"2d77a180","hex_latitude":"05f2a590","is_valid_coordinates":true} 
[2026-09-05 21:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887461120001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620311924797968384,"note":"Value kept but may cause issues"} 
[2026-09-05 21:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788622896000,"timestamp_ms":1788622896000,"timestamp_seconds":1788622896,"priority":1,"record_length":96,"hex_timestamp":"000001a0723b7b80"} 
[2026-09-05 21:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 21:21:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:21:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887461120001,"66":27843,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620311924797968384},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887461120001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:21:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:21:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620311924797968384,"description":"Unknown IO ID 45"} 
[2026-09-05 21:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887461120001,"power":27843,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620311924797968384}} 
[2026-09-05 21:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":173312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:21:56] local.INFO: GPS data processed {"connection_id":173312,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:21:56] local.INFO: Acknowledgment sent {"connection_id":173312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:22:21] local.INFO: TCP Data received {"connection_id":173311,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07242edc0012d196500071ff1280041014528..."} 
[2026-09-05 21:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07242edc0012d196500071ff1280041014528..."} 
[2026-09-05 21:22:21] local.INFO: Processing buffer {"connection_id":173311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07242edc0012d196500071ff1280041014528..."} 
[2026-09-05 21:22:21] local.INFO: Packet analysis {"connection_id":173311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07242"} 
[2026-09-05 21:22:21] local.INFO: Extracted packet for processing {"connection_id":173311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07242"} 
[2026-09-05 21:22:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887509248001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788623384000,"timestamp_ms":1788623384000,"timestamp_seconds":1788623384,"priority":1,"record_length":96,"hex_timestamp":"000001a07242edc0"} 
[2026-09-05 21:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:22:21] 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-09-05 21:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 21:22:21] 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-09-05 21:22:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887509248001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887509248001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:22:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:22:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887509248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":173311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:22:21] local.INFO: GPS data processed {"connection_id":173311,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:22:21] local.INFO: Acknowledgment sent {"connection_id":173311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:22:25] local.INFO: TCP Data received {"connection_id":171931,"ip":"117.224.228.218","data_length":795,"data_hex":"000000000000030f8e0a000001a072448018012c885d4008ec3c10021701532a..."} 
[2026-09-05 21:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072448018012c885d4008ec3c10021701532a..."} 
[2026-09-05 21:22:25] local.INFO: Processing buffer {"connection_id":171931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072448018012c885d4008ec3c10021701532a..."} 
[2026-09-05 21:22:25] local.INFO: Packet analysis {"connection_id":171931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07244"} 
[2026-09-05 21:22:25] local.INFO: Extracted packet for processing {"connection_id":171931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07244"} 
[2026-09-05 21:22:25] local.INFO: GPS Element Parsed {"raw_longitude":747134272,"raw_latitude":149699600,"longitude_deg":74.7134272,"latitude_deg":14.96996,"altitude":535,"angle":339,"satellites":42,"speed":31,"hex_longitude":"2c885d40","hex_latitude":"08ec3c10","is_valid_coordinates":true} 
[2026-09-05 21:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887612160001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1810771096895488,"note":"Value kept but may cause issues"} 
[2026-09-05 21:22:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8620241492185333758,"note":"Value kept but may cause issues"} 
[2026-09-05 21:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788623487000,"timestamp_ms":1788623487000,"timestamp_seconds":1788623487,"priority":1,"record_length":96,"hex_timestamp":"000001a072448018"} 
[2026-09-05 21:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:22:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 21:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-05 21:22:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:22:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:22:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.228.218","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 21:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 21:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887612160001,"66":27365,"45":206,"9":56576,"24":31,"16":1810771096895488,"44":-8620241492185333758},"client_ip":"117.224.228.218","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,9,24,16,44]} 
[2026-09-05 21:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 21:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 21:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887612160001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-09-05 21:22:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-05 21:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1810771096895488,"km_value":1810771096895.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:22:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8620241492185333758,"description":"Unknown IO ID 44"} 
[2026-09-05 21:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887612160001,"power":27365,"unknown_45":206,"unknown_9":56576,"ignition":31,"odometer":null,"unknown_44":-8620241492185333758}} 
[2026-09-05 21:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":171931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771348,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:22:25] local.INFO: GPS data processed {"connection_id":171931,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:22:25] local.INFO: Acknowledgment sent {"connection_id":171931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:22:28] local.INFO: TCP Data received {"connection_id":173312,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072401730012d77a0c005f2a5a8001601032d..."} 
[2026-09-05 21:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072401730012d77a0c005f2a5a8001601032d..."} 
[2026-09-05 21:22:28] local.INFO: Processing buffer {"connection_id":173312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072401730012d77a0c005f2a5a8001601032d..."} 
[2026-09-05 21:22:28] local.INFO: Packet analysis {"connection_id":173312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07240"} 
[2026-09-05 21:22:28] local.INFO: Extracted packet for processing {"connection_id":173312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07240"} 
[2026-09-05 21:22:28] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":45,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887461376001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620311924797968384,"note":"Value kept but may cause issues"} 
[2026-09-05 21:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788623198000,"timestamp_ms":1788623198000,"timestamp_seconds":1788623198,"priority":1,"record_length":96,"hex_timestamp":"000001a072401730"} 
[2026-09-05 21:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-05 21:22:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887461376001,"66":26321,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620311924797968384},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887461376001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:22:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:22:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620311924797968384,"description":"Unknown IO ID 45"} 
[2026-09-05 21:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887461376001,"power":26321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620311924797968384}} 
[2026-09-05 21:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":173312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:22:28] local.INFO: GPS data processed {"connection_id":173312,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:22:28] local.INFO: Acknowledgment sent {"connection_id":173312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:22:44] local.INFO: TCP Data received {"connection_id":174629,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:22:44] local.INFO: Processing buffer {"connection_id":174629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:22:44] local.INFO: IMEI packet received {"connection_id":174629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":174629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:22:46] local.INFO: TCP Data received {"connection_id":171932,"ip":"117.224.228.218","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171932,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:22:46] local.INFO: Processing buffer {"connection_id":171932,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:22:46] local.INFO: IMEI packet received {"connection_id":171932,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 21:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":171932,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:22:47] local.INFO: TCP Data received {"connection_id":171932,"ip":"117.224.228.218","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171932,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:22:47] local.INFO: Processing buffer {"connection_id":171932,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:22:47] local.INFO: IMEI packet received {"connection_id":171932,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 21:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":171932,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:22:49] local.INFO: TCP Data received {"connection_id":174629,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:22:49] local.INFO: Processing buffer {"connection_id":174629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:22:49] local.INFO: IMEI packet received {"connection_id":174629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":174629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:22:50] local.INFO: TCP Data received {"connection_id":174629,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07242edc0012d196500071ff1280041014528..."} 
[2026-09-05 21:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07242edc0012d196500071ff1280041014528..."} 
[2026-09-05 21:22:50] local.INFO: Processing buffer {"connection_id":174629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07242edc0012d196500071ff1280041014528..."} 
[2026-09-05 21:22:50] local.INFO: Packet analysis {"connection_id":174629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07242"} 
[2026-09-05 21:22:50] local.INFO: Extracted packet for processing {"connection_id":174629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07242"} 
[2026-09-05 21:22:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887509248001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788623384000,"timestamp_ms":1788623384000,"timestamp_seconds":1788623384,"priority":1,"record_length":96,"hex_timestamp":"000001a07242edc0"} 
[2026-09-05 21:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:22:50] 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-09-05 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 21:22:50] 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-09-05 21: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-09-05 21:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887509248001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887509248001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:22:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:22:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887509248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":174629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:22:50] local.INFO: GPS data processed {"connection_id":174629,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:22:50] local.INFO: Acknowledgment sent {"connection_id":174629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:22:50] local.INFO: TCP Data received {"connection_id":173313,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:22:50] local.INFO: Processing buffer {"connection_id":173313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:22:50] local.INFO: IMEI packet received {"connection_id":173313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":173313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:22:50] local.INFO: TCP Data received {"connection_id":171932,"ip":"117.224.228.218","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171932,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:22:50] local.INFO: Processing buffer {"connection_id":171932,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:22:50] local.INFO: IMEI packet received {"connection_id":171932,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 21:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":171932,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:22:52] local.INFO: TCP Data received {"connection_id":171932,"ip":"117.224.228.218","data_length":795,"data_hex":"000000000000030f8e0a000001a0724487e8012c885a4008ec40f00216014528..."} 
[2026-09-05 21:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0724487e8012c885a4008ec40f00216014528..."} 
[2026-09-05 21:22:52] local.INFO: Processing buffer {"connection_id":171932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0724487e8012c885a4008ec40f00216014528..."} 
[2026-09-05 21:22:52] local.INFO: Packet analysis {"connection_id":171932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07244"} 
[2026-09-05 21:22:52] local.INFO: Extracted packet for processing {"connection_id":171932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07244"} 
[2026-09-05 21:22:52] local.INFO: GPS Element Parsed {"raw_longitude":747133504,"raw_latitude":149700848,"longitude_deg":74.7133504,"latitude_deg":14.9700848,"altitude":534,"angle":325,"satellites":40,"speed":21,"hex_longitude":"2c885a40","hex_latitude":"08ec40f0","is_valid_coordinates":true} 
[2026-09-05 21:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887612672001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1810839816372224,"note":"Value kept but may cause issues"} 
[2026-09-05 21:22:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8620663704649986046,"note":"Value kept but may cause issues"} 
[2026-09-05 21:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788623489000,"timestamp_ms":1788623489000,"timestamp_seconds":1788623489,"priority":1,"record_length":96,"hex_timestamp":"000001a0724487e8"} 
[2026-09-05 21:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 21:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-05 21:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":171932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":171932,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":171932,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.228.218","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 21:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 21:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887612672001,"66":27550,"45":206,"9":56576,"24":21,"16":1810839816372224,"44":-8620663704649986046},"client_ip":"117.224.228.218","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,9,24,16,44]} 
[2026-09-05 21:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 21:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 21:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887612672001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-09-05 21:22:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-05 21:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1810839816372224,"km_value":1810839816372.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:22:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8620663704649986046,"description":"Unknown IO ID 44"} 
[2026-09-05 21:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887612672001,"power":27550,"unknown_45":206,"unknown_9":56576,"ignition":21,"odometer":null,"unknown_44":-8620663704649986046}} 
[2026-09-05 21:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":171932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771351,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:22:52] local.INFO: GPS data processed {"connection_id":171932,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:22:52] local.INFO: Acknowledgment sent {"connection_id":171932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:22:55] local.INFO: TCP Data received {"connection_id":173313,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:22:55] local.INFO: Processing buffer {"connection_id":173313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:22:55] local.INFO: IMEI packet received {"connection_id":173313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":173313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:22:58] local.INFO: TCP Data received {"connection_id":173313,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07244aef8012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07244aef8012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:22:58] local.INFO: Processing buffer {"connection_id":173313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07244aef8012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:22:58] local.INFO: Packet analysis {"connection_id":173313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07244"} 
[2026-09-05 21:22:58] local.INFO: Extracted packet for processing {"connection_id":173313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07244"} 
[2026-09-05 21:22:58] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887538688001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788623499000,"timestamp_ms":1788623499000,"timestamp_seconds":1788623499,"priority":1,"record_length":96,"hex_timestamp":"000001a07244aef8"} 
[2026-09-05 21:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-05 21:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887538688001,"66":26115,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887538688001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:22:58] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:22:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887538688001,"power":26115,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":173313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:22:58] local.INFO: GPS data processed {"connection_id":173313,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:22:58] local.INFO: Acknowledgment sent {"connection_id":173313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:23:21] local.INFO: TCP Data received {"connection_id":174629,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07242edc0012d196500071ff1280041014528..."} 
[2026-09-05 21:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07242edc0012d196500071ff1280041014528..."} 
[2026-09-05 21:23:21] local.INFO: Processing buffer {"connection_id":174629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07242edc0012d196500071ff1280041014528..."} 
[2026-09-05 21:23:21] local.INFO: Packet analysis {"connection_id":174629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07242"} 
[2026-09-05 21:23:21] local.INFO: Extracted packet for processing {"connection_id":174629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07242"} 
[2026-09-05 21:23:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887509248001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788623384000,"timestamp_ms":1788623384000,"timestamp_seconds":1788623384,"priority":1,"record_length":96,"hex_timestamp":"000001a07242edc0"} 
[2026-09-05 21:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:23:21] 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-09-05 21:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 21:23:21] 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-09-05 21:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887509248001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887509248001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:23:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:23:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887509248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":174629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:23:21] local.INFO: GPS data processed {"connection_id":174629,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:23:21] local.INFO: Acknowledgment sent {"connection_id":174629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:23:24] local.INFO: TCP Data received {"connection_id":171932,"ip":"117.224.228.218","data_length":795,"data_hex":"000000000000030f8e0a000001a07244bab0012c88454008ec5de00214014229..."} 
[2026-09-05 21:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07244bab0012c88454008ec5de00214014229..."} 
[2026-09-05 21:23:24] local.INFO: Processing buffer {"connection_id":171932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07244bab0012c88454008ec5de00214014229..."} 
[2026-09-05 21:23:24] local.INFO: Packet analysis {"connection_id":171932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07244"} 
[2026-09-05 21:23:24] local.INFO: Extracted packet for processing {"connection_id":171932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07244"} 
[2026-09-05 21:23:24] local.INFO: GPS Element Parsed {"raw_longitude":747128128,"raw_latitude":149708256,"longitude_deg":74.7128128,"latitude_deg":14.9708256,"altitude":532,"angle":322,"satellites":41,"speed":36,"hex_longitude":"2c884540","hex_latitude":"08ec5de0","is_valid_coordinates":true} 
[2026-09-05 21:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887613184001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1811277903036416,"note":"Value kept but may cause issues"} 
[2026-09-05 21:23:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8621508129579798526,"note":"Value kept but may cause issues"} 
[2026-09-05 21:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788623502000,"timestamp_ms":1788623502000,"timestamp_seconds":1788623502,"priority":1,"record_length":96,"hex_timestamp":"000001a07244bab0"} 
[2026-09-05 21:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 21:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-05 21:23:24] 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-09-05 21:23:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171932,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171932,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 21:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.228.218","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 21:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 21:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887613184001,"66":27691,"45":206,"9":56576,"24":36,"16":1811277903036416,"44":-8621508129579798526},"client_ip":"117.224.228.218","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,9,24,16,44]} 
[2026-09-05 21:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 21:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 21:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887613184001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-09-05 21:23:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":56576,"description":"Unknown IO ID 9"} 
[2026-09-05 21:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1811277903036416,"km_value":1811277903036.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:23:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8621508129579798526,"description":"Unknown IO ID 44"} 
[2026-09-05 21:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887613184001,"power":27691,"unknown_45":206,"unknown_9":56576,"ignition":36,"odometer":null,"unknown_44":-8621508129579798526}} 
[2026-09-05 21:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":171932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771354,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:23:24] local.INFO: GPS data processed {"connection_id":171932,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:23:24] local.INFO: Acknowledgment sent {"connection_id":171932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:23:29] local.INFO: TCP Data received {"connection_id":173313,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07244aef8012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07244aef8012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:23:29] local.INFO: Processing buffer {"connection_id":173313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07244aef8012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:23:29] local.INFO: Packet analysis {"connection_id":173313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07244"} 
[2026-09-05 21:23:29] local.INFO: Extracted packet for processing {"connection_id":173313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07244"} 
[2026-09-05 21:23:29] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887538688001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788623499000,"timestamp_ms":1788623499000,"timestamp_seconds":1788623499,"priority":1,"record_length":96,"hex_timestamp":"000001a07244aef8"} 
[2026-09-05 21:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-05 21:23:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:23:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887538688001,"66":26115,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887538688001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:23:29] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:23:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887538688001,"power":26115,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":173313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:23:29] local.INFO: GPS data processed {"connection_id":173313,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:23:29] local.INFO: Acknowledgment sent {"connection_id":173313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:23:44] local.INFO: TCP Data received {"connection_id":172189,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:23:44] local.INFO: Processing buffer {"connection_id":172189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:23:44] local.INFO: IMEI packet received {"connection_id":172189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":172189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:23:49] local.INFO: TCP Data received {"connection_id":172189,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:23:49] local.INFO: Processing buffer {"connection_id":172189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:23:49] local.INFO: IMEI packet received {"connection_id":172189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":172189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:23:49] local.INFO: TCP Data received {"connection_id":171933,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:23:49] local.INFO: Processing buffer {"connection_id":171933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:23:49] local.INFO: IMEI packet received {"connection_id":171933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":171933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:23:50] local.INFO: TCP Data received {"connection_id":172189,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07242edc0012d196500071ff1280041014528..."} 
[2026-09-05 21:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07242edc0012d196500071ff1280041014528..."} 
[2026-09-05 21:23:50] local.INFO: Processing buffer {"connection_id":172189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07242edc0012d196500071ff1280041014528..."} 
[2026-09-05 21:23:50] local.INFO: Packet analysis {"connection_id":172189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07242"} 
[2026-09-05 21:23:50] local.INFO: Extracted packet for processing {"connection_id":172189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07242"} 
[2026-09-05 21:23:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887509248001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788623384000,"timestamp_ms":1788623384000,"timestamp_seconds":1788623384,"priority":1,"record_length":96,"hex_timestamp":"000001a07242edc0"} 
[2026-09-05 21:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:23:50] 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-09-05 21:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 21:23:50] 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-09-05 21:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887509248001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887509248001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:23:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:23:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887509248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":172189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:23:50] local.INFO: GPS data processed {"connection_id":172189,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:23:50] local.INFO: Acknowledgment sent {"connection_id":172189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:23:55] local.INFO: TCP Data received {"connection_id":171933,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:23:55] local.INFO: Processing buffer {"connection_id":171933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:23:55] local.INFO: IMEI packet received {"connection_id":171933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":171933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:23:56] local.INFO: TCP Data received {"connection_id":171933,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07244aef8012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07244aef8012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:23:56] local.INFO: Processing buffer {"connection_id":171933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07244aef8012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:23:56] local.INFO: Packet analysis {"connection_id":171933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07244"} 
[2026-09-05 21:23:56] local.INFO: Extracted packet for processing {"connection_id":171933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07244"} 
[2026-09-05 21:23:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887538688001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788623499000,"timestamp_ms":1788623499000,"timestamp_seconds":1788623499,"priority":1,"record_length":96,"hex_timestamp":"000001a07244aef8"} 
[2026-09-05 21:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-05 21:23:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:23:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887538688001,"66":26115,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887538688001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:23:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:23:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887538688001,"power":26115,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":171933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:23:56] local.INFO: GPS data processed {"connection_id":171933,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:23:56] local.INFO: Acknowledgment sent {"connection_id":171933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:24:21] local.INFO: TCP Data received {"connection_id":172189,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07242edc0012d196500071ff1280041014528..."} 
[2026-09-05 21:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07242edc0012d196500071ff1280041014528..."} 
[2026-09-05 21:24:21] local.INFO: Processing buffer {"connection_id":172189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07242edc0012d196500071ff1280041014528..."} 
[2026-09-05 21:24:21] local.INFO: Packet analysis {"connection_id":172189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07242"} 
[2026-09-05 21:24:21] local.INFO: Extracted packet for processing {"connection_id":172189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07242"} 
[2026-09-05 21:24:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887509248001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:24:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788623384000,"timestamp_ms":1788623384000,"timestamp_seconds":1788623384,"priority":1,"record_length":96,"hex_timestamp":"000001a07242edc0"} 
[2026-09-05 21:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:24:21] 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-09-05 21:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 21:24:21] 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-09-05 21:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:24:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887509248001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887509248001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:24:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:24:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:24:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887509248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":172189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:24:21] local.INFO: GPS data processed {"connection_id":172189,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:24:21] local.INFO: Acknowledgment sent {"connection_id":172189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:24:28] local.INFO: TCP Data received {"connection_id":171933,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07244aef8012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07244aef8012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:24:28] local.INFO: Processing buffer {"connection_id":171933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07244aef8012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:24:28] local.INFO: Packet analysis {"connection_id":171933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07244"} 
[2026-09-05 21:24:28] local.INFO: Extracted packet for processing {"connection_id":171933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07244"} 
[2026-09-05 21:24:28] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887538688001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788623499000,"timestamp_ms":1788623499000,"timestamp_seconds":1788623499,"priority":1,"record_length":96,"hex_timestamp":"000001a07244aef8"} 
[2026-09-05 21:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-05 21:24:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:24:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":171933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":171933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":171933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887538688001,"66":26115,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887538688001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:24:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:24:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887538688001,"power":26115,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":171933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:24:28] local.INFO: GPS data processed {"connection_id":171933,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:24:28] local.INFO: Acknowledgment sent {"connection_id":171933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:24:44] local.INFO: TCP Data received {"connection_id":174630,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:24:44] local.INFO: Processing buffer {"connection_id":174630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:24:44] local.INFO: IMEI packet received {"connection_id":174630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":174630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:24:49] local.INFO: TCP Data received {"connection_id":174630,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:24:49] local.INFO: Processing buffer {"connection_id":174630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:24:49] local.INFO: IMEI packet received {"connection_id":174630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":174630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:24:50] local.INFO: TCP Data received {"connection_id":172190,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:24:50] local.INFO: Processing buffer {"connection_id":172190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:24:50] local.INFO: IMEI packet received {"connection_id":172190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":172190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:24:50] local.INFO: TCP Data received {"connection_id":174630,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07242edc0012d196500071ff1280041014528..."} 
[2026-09-05 21:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07242edc0012d196500071ff1280041014528..."} 
[2026-09-05 21:24:50] local.INFO: Processing buffer {"connection_id":174630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07242edc0012d196500071ff1280041014528..."} 
[2026-09-05 21:24:50] local.INFO: Packet analysis {"connection_id":174630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07242"} 
[2026-09-05 21:24:50] local.INFO: Extracted packet for processing {"connection_id":174630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07242"} 
[2026-09-05 21:24:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887509248001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788623384000,"timestamp_ms":1788623384000,"timestamp_seconds":1788623384,"priority":1,"record_length":96,"hex_timestamp":"000001a07242edc0"} 
[2026-09-05 21:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:24:50] 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-09-05 21:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 21:24:50] 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-09-05 21:24:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887509248001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887509248001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:24:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:24:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887509248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":174630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:24:50] local.INFO: GPS data processed {"connection_id":174630,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:24:50] local.INFO: Acknowledgment sent {"connection_id":174630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:24:55] local.INFO: TCP Data received {"connection_id":172190,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:24:55] local.INFO: Processing buffer {"connection_id":172190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:24:55] local.INFO: IMEI packet received {"connection_id":172190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":172190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:24:56] local.INFO: TCP Data received {"connection_id":172190,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07244aef8012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07244aef8012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:24:56] local.INFO: Processing buffer {"connection_id":172190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07244aef8012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:24:56] local.INFO: Packet analysis {"connection_id":172190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07244"} 
[2026-09-05 21:24:56] local.INFO: Extracted packet for processing {"connection_id":172190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07244"} 
[2026-09-05 21:24:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887538688001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788623499000,"timestamp_ms":1788623499000,"timestamp_seconds":1788623499,"priority":1,"record_length":96,"hex_timestamp":"000001a07244aef8"} 
[2026-09-05 21:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-05 21:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:24:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887538688001,"66":26115,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887538688001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:24:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:24:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887538688001,"power":26115,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":172190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:24:56] local.INFO: GPS data processed {"connection_id":172190,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:24:56] local.INFO: Acknowledgment sent {"connection_id":172190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:25:21] local.INFO: TCP Data received {"connection_id":174630,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07242edc0012d196500071ff1280041014528..."} 
[2026-09-05 21:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07242edc0012d196500071ff1280041014528..."} 
[2026-09-05 21:25:21] local.INFO: Processing buffer {"connection_id":174630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07242edc0012d196500071ff1280041014528..."} 
[2026-09-05 21:25:21] local.INFO: Packet analysis {"connection_id":174630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07242"} 
[2026-09-05 21:25:21] local.INFO: Extracted packet for processing {"connection_id":174630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07242"} 
[2026-09-05 21:25:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887509248001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788623384000,"timestamp_ms":1788623384000,"timestamp_seconds":1788623384,"priority":1,"record_length":96,"hex_timestamp":"000001a07242edc0"} 
[2026-09-05 21:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:25:21] 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-09-05 21:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 21:25:21] 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-09-05 21:25:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887509248001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887509248001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:25:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:25:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887509248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":174630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:25:21] local.INFO: GPS data processed {"connection_id":174630,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:25:21] local.INFO: Acknowledgment sent {"connection_id":174630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:25:27] local.INFO: TCP Data received {"connection_id":172190,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07244aef8012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07244aef8012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:25:27] local.INFO: Processing buffer {"connection_id":172190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07244aef8012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:25:27] local.INFO: Packet analysis {"connection_id":172190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07244"} 
[2026-09-05 21:25:27] local.INFO: Extracted packet for processing {"connection_id":172190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07244"} 
[2026-09-05 21:25:27] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887538688001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788623499000,"timestamp_ms":1788623499000,"timestamp_seconds":1788623499,"priority":1,"record_length":96,"hex_timestamp":"000001a07244aef8"} 
[2026-09-05 21:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-05 21:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887538688001,"66":26115,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887538688001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:25:27] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:25:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887538688001,"power":26115,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":172190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:25:27] local.INFO: GPS data processed {"connection_id":172190,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:25:27] local.INFO: Acknowledgment sent {"connection_id":172190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:25:49] local.INFO: TCP Data received {"connection_id":174631,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:25:49] local.INFO: Processing buffer {"connection_id":174631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:25:49] local.INFO: IMEI packet received {"connection_id":174631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":174631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:25:50] local.INFO: TCP Data received {"connection_id":171934,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:25:50] local.INFO: Processing buffer {"connection_id":171934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:25:50] local.INFO: IMEI packet received {"connection_id":171934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":171934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:25:54] local.INFO: TCP Data received {"connection_id":174631,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:25:54] local.INFO: Processing buffer {"connection_id":174631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:25:54] local.INFO: IMEI packet received {"connection_id":174631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":174631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:25:54] local.INFO: TCP Data received {"connection_id":174631,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072478588012d196500071ff1280041014528..."} 
[2026-09-05 21:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072478588012d196500071ff1280041014528..."} 
[2026-09-05 21:25:54] local.INFO: Processing buffer {"connection_id":174631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072478588012d196500071ff1280041014528..."} 
[2026-09-05 21:25:54] local.INFO: Packet analysis {"connection_id":174631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07247"} 
[2026-09-05 21:25:54] local.INFO: Extracted packet for processing {"connection_id":174631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07247"} 
[2026-09-05 21:25:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887586304001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788623685000,"timestamp_ms":1788623685000,"timestamp_seconds":1788623685,"priority":1,"record_length":96,"hex_timestamp":"000001a072478588"} 
[2026-09-05 21:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:25:54] 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-09-05 21:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887586304001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887586304001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:25:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:25:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887586304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":174631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:25:54] local.INFO: GPS data processed {"connection_id":174631,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:25:54] local.INFO: Acknowledgment sent {"connection_id":174631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:25:55] local.INFO: TCP Data received {"connection_id":171934,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:25:55] local.INFO: Processing buffer {"connection_id":171934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:25:55] local.INFO: IMEI packet received {"connection_id":171934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":171934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:25:56] local.INFO: TCP Data received {"connection_id":171934,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07244aef8012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07244aef8012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:25:56] local.INFO: Processing buffer {"connection_id":171934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07244aef8012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:25:56] local.INFO: Packet analysis {"connection_id":171934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07244"} 
[2026-09-05 21:25:56] local.INFO: Extracted packet for processing {"connection_id":171934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07244"} 
[2026-09-05 21:25:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887538688001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788623499000,"timestamp_ms":1788623499000,"timestamp_seconds":1788623499,"priority":1,"record_length":96,"hex_timestamp":"000001a07244aef8"} 
[2026-09-05 21:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-05 21:25:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:25:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887538688001,"66":26115,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887538688001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:25:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:25:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887538688001,"power":26115,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":171934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:25:56] local.INFO: GPS data processed {"connection_id":171934,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:25:56] local.INFO: Acknowledgment sent {"connection_id":171934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:26:25] local.INFO: TCP Data received {"connection_id":174631,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072478588012d196500071ff1280041014528..."} 
[2026-09-05 21:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072478588012d196500071ff1280041014528..."} 
[2026-09-05 21:26:25] local.INFO: Processing buffer {"connection_id":174631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072478588012d196500071ff1280041014528..."} 
[2026-09-05 21:26:25] local.INFO: Packet analysis {"connection_id":174631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07247"} 
[2026-09-05 21:26:25] local.INFO: Extracted packet for processing {"connection_id":174631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07247"} 
[2026-09-05 21:26:25] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887586304001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788623685000,"timestamp_ms":1788623685000,"timestamp_seconds":1788623685,"priority":1,"record_length":96,"hex_timestamp":"000001a072478588"} 
[2026-09-05 21:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:26:25] 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-09-05 21:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:26:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887586304001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887586304001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:26:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:26:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887586304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":174631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:26:25] local.INFO: GPS data processed {"connection_id":174631,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:26:25] local.INFO: Acknowledgment sent {"connection_id":174631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:26:27] local.INFO: TCP Data received {"connection_id":171934,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07244aef8012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07244aef8012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:26:27] local.INFO: Processing buffer {"connection_id":171934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07244aef8012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:26:27] local.INFO: Packet analysis {"connection_id":171934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07244"} 
[2026-09-05 21:26:27] local.INFO: Extracted packet for processing {"connection_id":171934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07244"} 
[2026-09-05 21:26:27] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887538688001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788623499000,"timestamp_ms":1788623499000,"timestamp_seconds":1788623499,"priority":1,"record_length":96,"hex_timestamp":"000001a07244aef8"} 
[2026-09-05 21:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-05 21:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887538688001,"66":26115,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887538688001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:26:27] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:26:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887538688001,"power":26115,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":171934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:26:27] local.INFO: GPS data processed {"connection_id":171934,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:26:27] local.INFO: Acknowledgment sent {"connection_id":171934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:26:44] local.INFO: TCP Data received {"connection_id":174632,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:26:44] local.INFO: Processing buffer {"connection_id":174632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:26:44] local.INFO: IMEI packet received {"connection_id":174632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":174632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:26:49] local.INFO: TCP Data received {"connection_id":174632,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:26:49] local.INFO: Processing buffer {"connection_id":174632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:26:49] local.INFO: IMEI packet received {"connection_id":174632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":174632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:26:50] local.INFO: TCP Data received {"connection_id":174632,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a072478588012d196500071ff1280041014528..."} 
[2026-09-05 21:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072478588012d196500071ff1280041014528..."} 
[2026-09-05 21:26:50] local.INFO: Processing buffer {"connection_id":174632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072478588012d196500071ff1280041014528..."} 
[2026-09-05 21:26:50] local.INFO: Packet analysis {"connection_id":174632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07247"} 
[2026-09-05 21:26:50] local.INFO: Extracted packet for processing {"connection_id":174632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07247"} 
[2026-09-05 21:26:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887586304001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788623685000,"timestamp_ms":1788623685000,"timestamp_seconds":1788623685,"priority":1,"record_length":96,"hex_timestamp":"000001a072478588"} 
[2026-09-05 21:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:26:50] 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-09-05 21:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:26:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:26:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887586304001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887586304001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:26:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:26:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887586304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":174632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:26:50] local.INFO: GPS data processed {"connection_id":174632,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:26:50] local.INFO: Acknowledgment sent {"connection_id":174632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:26:55] local.INFO: TCP Data received {"connection_id":173314,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:26:55] local.INFO: Processing buffer {"connection_id":173314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:26:55] local.INFO: IMEI packet received {"connection_id":173314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":173314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:27:00] local.INFO: TCP Data received {"connection_id":173314,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:27:00] local.INFO: Processing buffer {"connection_id":173314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:27:00] local.INFO: IMEI packet received {"connection_id":173314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":173314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:27:01] local.INFO: TCP Data received {"connection_id":173314,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07244aef8012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07244aef8012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:27:01] local.INFO: Processing buffer {"connection_id":173314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07244aef8012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:27:01] local.INFO: Packet analysis {"connection_id":173314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07244"} 
[2026-09-05 21:27:01] local.INFO: Extracted packet for processing {"connection_id":173314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07244"} 
[2026-09-05 21:27:01] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887538688001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788623499000,"timestamp_ms":1788623499000,"timestamp_seconds":1788623499,"priority":1,"record_length":96,"hex_timestamp":"000001a07244aef8"} 
[2026-09-05 21:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-05 21:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887538688001,"66":26115,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887538688001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:27:01] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:27:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887538688001,"power":26115,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":173314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:27:01] local.INFO: GPS data processed {"connection_id":173314,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:27:01] local.INFO: Acknowledgment sent {"connection_id":173314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:27:05] local.INFO: TCP Data received {"connection_id":173314,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07244aef8012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07244aef8012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:27:05] local.INFO: Processing buffer {"connection_id":173314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07244aef8012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:27:05] local.INFO: Packet analysis {"connection_id":173314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07244"} 
[2026-09-05 21:27:05] local.INFO: Extracted packet for processing {"connection_id":173314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07244"} 
[2026-09-05 21:27:05] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887538688001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:27: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-09-05 21:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788623499000,"timestamp_ms":1788623499000,"timestamp_seconds":1788623499,"priority":1,"record_length":96,"hex_timestamp":"000001a07244aef8"} 
[2026-09-05 21:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-05 21:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887538688001,"66":26115,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887538688001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:27:05] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:27:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887538688001,"power":26115,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":173314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:27:05] local.INFO: GPS data processed {"connection_id":173314,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:27:05] local.INFO: Acknowledgment sent {"connection_id":173314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:27:21] local.INFO: TCP Data received {"connection_id":174632,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a072478588012d196500071ff1280041014528..."} 
[2026-09-05 21:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072478588012d196500071ff1280041014528..."} 
[2026-09-05 21:27:21] local.INFO: Processing buffer {"connection_id":174632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072478588012d196500071ff1280041014528..."} 
[2026-09-05 21:27:21] local.INFO: Packet analysis {"connection_id":174632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07247"} 
[2026-09-05 21:27:21] local.INFO: Extracted packet for processing {"connection_id":174632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07247"} 
[2026-09-05 21:27:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887586304001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788623685000,"timestamp_ms":1788623685000,"timestamp_seconds":1788623685,"priority":1,"record_length":96,"hex_timestamp":"000001a072478588"} 
[2026-09-05 21:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:27:21] 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-09-05 21:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887586304001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887586304001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:27:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:27:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887586304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":174632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:27:21] local.INFO: GPS data processed {"connection_id":174632,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:27:21] local.INFO: Acknowledgment sent {"connection_id":174632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:27:44] local.INFO: TCP Data received {"connection_id":171935,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:27:44] local.INFO: Processing buffer {"connection_id":171935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:27:44] local.INFO: IMEI packet received {"connection_id":171935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":171935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:27:49] local.INFO: TCP Data received {"connection_id":171935,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:27:49] local.INFO: Processing buffer {"connection_id":171935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:27:49] local.INFO: IMEI packet received {"connection_id":171935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":171935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:27:49] local.INFO: TCP Data received {"connection_id":174633,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:27:49] local.INFO: Processing buffer {"connection_id":174633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:27:49] local.INFO: IMEI packet received {"connection_id":174633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":174633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:27:50] local.INFO: TCP Data received {"connection_id":171935,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a072478588012d196500071ff1280041014528..."} 
[2026-09-05 21:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072478588012d196500071ff1280041014528..."} 
[2026-09-05 21:27:50] local.INFO: Processing buffer {"connection_id":171935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072478588012d196500071ff1280041014528..."} 
[2026-09-05 21:27:50] local.INFO: Packet analysis {"connection_id":171935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07247"} 
[2026-09-05 21:27:50] local.INFO: Extracted packet for processing {"connection_id":171935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07247"} 
[2026-09-05 21:27:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887586304001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:27:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:27:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788623685000,"timestamp_ms":1788623685000,"timestamp_seconds":1788623685,"priority":1,"record_length":96,"hex_timestamp":"000001a072478588"} 
[2026-09-05 21:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:27:50] 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-09-05 21:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:27:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:27:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:27:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887586304001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887586304001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:27:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:27:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:27:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:27:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887586304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:27:50] local.INFO: DEBUG: GPS processor result {"connection_id":171935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:27:50] local.INFO: GPS data processed {"connection_id":171935,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:27:50] local.INFO: Acknowledgment sent {"connection_id":171935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:27:55] local.INFO: TCP Data received {"connection_id":174633,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:27:55] local.INFO: Processing buffer {"connection_id":174633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:27:55] local.INFO: IMEI packet received {"connection_id":174633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":174633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:27:56] local.INFO: TCP Data received {"connection_id":174633,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0724946c0012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0724946c0012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:27:56] local.INFO: Processing buffer {"connection_id":174633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0724946c0012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:27:56] local.INFO: Packet analysis {"connection_id":174633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07249"} 
[2026-09-05 21:27:56] local.INFO: Extracted packet for processing {"connection_id":174633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07249"} 
[2026-09-05 21:27:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887615744001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788623800000,"timestamp_ms":1788623800000,"timestamp_seconds":1788623800,"priority":1,"record_length":96,"hex_timestamp":"000001a0724946c0"} 
[2026-09-05 21:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-05 21:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:27:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887615744001,"66":26006,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887615744001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:27:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:27:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887615744001,"power":26006,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":174633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:27:56] local.INFO: GPS data processed {"connection_id":174633,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:27:56] local.INFO: Acknowledgment sent {"connection_id":174633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:28:21] local.INFO: TCP Data received {"connection_id":171935,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a072478588012d196500071ff1280041014528..."} 
[2026-09-05 21:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072478588012d196500071ff1280041014528..."} 
[2026-09-05 21:28:21] local.INFO: Processing buffer {"connection_id":171935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072478588012d196500071ff1280041014528..."} 
[2026-09-05 21:28:21] local.INFO: Packet analysis {"connection_id":171935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07247"} 
[2026-09-05 21:28:21] local.INFO: Extracted packet for processing {"connection_id":171935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07247"} 
[2026-09-05 21:28:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887586304001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788623685000,"timestamp_ms":1788623685000,"timestamp_seconds":1788623685,"priority":1,"record_length":96,"hex_timestamp":"000001a072478588"} 
[2026-09-05 21:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:28:21] 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-09-05 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21: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-09-05 21:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887586304001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887586304001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:28:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:28:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887586304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":171935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:28:21] local.INFO: GPS data processed {"connection_id":171935,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:28:21] local.INFO: Acknowledgment sent {"connection_id":171935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:28:28] local.INFO: TCP Data received {"connection_id":174633,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0724946c0012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0724946c0012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:28:28] local.INFO: Processing buffer {"connection_id":174633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0724946c0012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:28:28] local.INFO: Packet analysis {"connection_id":174633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07249"} 
[2026-09-05 21:28:28] local.INFO: Extracted packet for processing {"connection_id":174633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07249"} 
[2026-09-05 21:28:28] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887615744001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788623800000,"timestamp_ms":1788623800000,"timestamp_seconds":1788623800,"priority":1,"record_length":96,"hex_timestamp":"000001a0724946c0"} 
[2026-09-05 21:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-05 21:28:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887615744001,"66":26006,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887615744001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:28:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:28:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887615744001,"power":26006,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":174633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:28:28] local.INFO: GPS data processed {"connection_id":174633,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:28:28] local.INFO: Acknowledgment sent {"connection_id":174633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:28:44] local.INFO: TCP Data received {"connection_id":174634,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:28:44] local.INFO: Processing buffer {"connection_id":174634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:28:44] local.INFO: IMEI packet received {"connection_id":174634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":174634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:28:49] local.INFO: TCP Data received {"connection_id":174634,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:28:49] local.INFO: Processing buffer {"connection_id":174634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:28:49] local.INFO: IMEI packet received {"connection_id":174634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":174634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:28:49] local.INFO: TCP Data received {"connection_id":171936,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:28:49] local.INFO: Processing buffer {"connection_id":171936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:28:49] local.INFO: IMEI packet received {"connection_id":171936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":171936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:28:50] local.INFO: TCP Data received {"connection_id":174634,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072478588012d196500071ff1280041014528..."} 
[2026-09-05 21:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072478588012d196500071ff1280041014528..."} 
[2026-09-05 21:28:50] local.INFO: Processing buffer {"connection_id":174634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072478588012d196500071ff1280041014528..."} 
[2026-09-05 21:28:50] local.INFO: Packet analysis {"connection_id":174634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07247"} 
[2026-09-05 21:28:50] local.INFO: Extracted packet for processing {"connection_id":174634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07247"} 
[2026-09-05 21:28:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887586304001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788623685000,"timestamp_ms":1788623685000,"timestamp_seconds":1788623685,"priority":1,"record_length":96,"hex_timestamp":"000001a072478588"} 
[2026-09-05 21:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:28:50] 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-09-05 21:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:28:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887586304001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887586304001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:28:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:28:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887586304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":174634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:28:50] local.INFO: GPS data processed {"connection_id":174634,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:28:50] local.INFO: Acknowledgment sent {"connection_id":174634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:28:55] local.INFO: TCP Data received {"connection_id":171936,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:28:55] local.INFO: Processing buffer {"connection_id":171936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:28:55] local.INFO: IMEI packet received {"connection_id":171936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":171936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:28:56] local.INFO: TCP Data received {"connection_id":171936,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0724946c0012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0724946c0012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:28:56] local.INFO: Processing buffer {"connection_id":171936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0724946c0012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:28:56] local.INFO: Packet analysis {"connection_id":171936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07249"} 
[2026-09-05 21:28:56] local.INFO: Extracted packet for processing {"connection_id":171936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07249"} 
[2026-09-05 21:28:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887615744001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788623800000,"timestamp_ms":1788623800000,"timestamp_seconds":1788623800,"priority":1,"record_length":96,"hex_timestamp":"000001a0724946c0"} 
[2026-09-05 21:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-05 21:28:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887615744001,"66":26006,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887615744001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:28:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:28:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887615744001,"power":26006,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":171936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:28:56] local.INFO: GPS data processed {"connection_id":171936,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:28:56] local.INFO: Acknowledgment sent {"connection_id":171936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:29:21] local.INFO: TCP Data received {"connection_id":174634,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072478588012d196500071ff1280041014528..."} 
[2026-09-05 21:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072478588012d196500071ff1280041014528..."} 
[2026-09-05 21:29:21] local.INFO: Processing buffer {"connection_id":174634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072478588012d196500071ff1280041014528..."} 
[2026-09-05 21:29:21] local.INFO: Packet analysis {"connection_id":174634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07247"} 
[2026-09-05 21:29:21] local.INFO: Extracted packet for processing {"connection_id":174634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07247"} 
[2026-09-05 21:29:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887586304001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788623685000,"timestamp_ms":1788623685000,"timestamp_seconds":1788623685,"priority":1,"record_length":96,"hex_timestamp":"000001a072478588"} 
[2026-09-05 21:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:29:21] 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-09-05 21:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887586304001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887586304001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:29:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:29:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887586304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":174634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:29:21] local.INFO: GPS data processed {"connection_id":174634,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:29:21] local.INFO: Acknowledgment sent {"connection_id":174634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:29:27] local.INFO: TCP Data received {"connection_id":171936,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0724946c0012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0724946c0012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:29:27] local.INFO: Processing buffer {"connection_id":171936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0724946c0012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:29:27] local.INFO: Packet analysis {"connection_id":171936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07249"} 
[2026-09-05 21:29:27] local.INFO: Extracted packet for processing {"connection_id":171936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07249"} 
[2026-09-05 21:29:27] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887615744001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:29:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788623800000,"timestamp_ms":1788623800000,"timestamp_seconds":1788623800,"priority":1,"record_length":96,"hex_timestamp":"000001a0724946c0"} 
[2026-09-05 21:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-05 21:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:29:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887615744001,"66":26006,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887615744001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:29:27] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:29:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887615744001,"power":26006,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":171936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:29:27] local.INFO: GPS data processed {"connection_id":171936,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:29:27] local.INFO: Acknowledgment sent {"connection_id":171936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:29:44] local.INFO: TCP Data received {"connection_id":172191,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:29:44] local.INFO: Processing buffer {"connection_id":172191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:29:44] local.INFO: IMEI packet received {"connection_id":172191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":172191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:29:49] local.INFO: TCP Data received {"connection_id":172191,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:29:49] local.INFO: Processing buffer {"connection_id":172191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:29:49] local.INFO: IMEI packet received {"connection_id":172191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":172191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:29:50] local.INFO: TCP Data received {"connection_id":174635,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:29:50] local.INFO: Processing buffer {"connection_id":174635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:29:50] local.INFO: IMEI packet received {"connection_id":174635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":174635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:29:50] local.INFO: TCP Data received {"connection_id":172191,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072478588012d196500071ff1280041014528..."} 
[2026-09-05 21:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072478588012d196500071ff1280041014528..."} 
[2026-09-05 21:29:50] local.INFO: Processing buffer {"connection_id":172191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072478588012d196500071ff1280041014528..."} 
[2026-09-05 21:29:50] local.INFO: Packet analysis {"connection_id":172191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07247"} 
[2026-09-05 21:29:50] local.INFO: Extracted packet for processing {"connection_id":172191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07247"} 
[2026-09-05 21:29:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887586304001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788623685000,"timestamp_ms":1788623685000,"timestamp_seconds":1788623685,"priority":1,"record_length":96,"hex_timestamp":"000001a072478588"} 
[2026-09-05 21:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:29:50] 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-09-05 21:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:29:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887586304001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887586304001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:29:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:29:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887586304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":172191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:29:50] local.INFO: GPS data processed {"connection_id":172191,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:29:50] local.INFO: Acknowledgment sent {"connection_id":172191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:29:55] local.INFO: TCP Data received {"connection_id":174635,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:29:55] local.INFO: Processing buffer {"connection_id":174635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:29:55] local.INFO: IMEI packet received {"connection_id":174635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":174635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:29:56] local.INFO: TCP Data received {"connection_id":174635,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0724946c0012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0724946c0012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:29:56] local.INFO: Processing buffer {"connection_id":174635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0724946c0012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:29:56] local.INFO: Packet analysis {"connection_id":174635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07249"} 
[2026-09-05 21:29:56] local.INFO: Extracted packet for processing {"connection_id":174635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07249"} 
[2026-09-05 21:29:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887615744001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788623800000,"timestamp_ms":1788623800000,"timestamp_seconds":1788623800,"priority":1,"record_length":96,"hex_timestamp":"000001a0724946c0"} 
[2026-09-05 21:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-05 21:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:29:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887615744001,"66":26006,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887615744001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:29:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:29:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887615744001,"power":26006,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":174635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:29:56] local.INFO: GPS data processed {"connection_id":174635,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:29:56] local.INFO: Acknowledgment sent {"connection_id":174635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:30:21] local.INFO: TCP Data received {"connection_id":172191,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072478588012d196500071ff1280041014528..."} 
[2026-09-05 21:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072478588012d196500071ff1280041014528..."} 
[2026-09-05 21:30:21] local.INFO: Processing buffer {"connection_id":172191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072478588012d196500071ff1280041014528..."} 
[2026-09-05 21:30:21] local.INFO: Packet analysis {"connection_id":172191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07247"} 
[2026-09-05 21:30:21] local.INFO: Extracted packet for processing {"connection_id":172191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07247"} 
[2026-09-05 21:30:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887586304001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788623685000,"timestamp_ms":1788623685000,"timestamp_seconds":1788623685,"priority":1,"record_length":96,"hex_timestamp":"000001a072478588"} 
[2026-09-05 21:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:30:21] 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-09-05 21:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887586304001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887586304001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:30:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:30:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887586304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":172191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:30:21] local.INFO: GPS data processed {"connection_id":172191,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:30:21] local.INFO: Acknowledgment sent {"connection_id":172191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:30:27] local.INFO: TCP Data received {"connection_id":174635,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0724946c0012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0724946c0012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:30:27] local.INFO: Processing buffer {"connection_id":174635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0724946c0012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:30:27] local.INFO: Packet analysis {"connection_id":174635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07249"} 
[2026-09-05 21:30:27] local.INFO: Extracted packet for processing {"connection_id":174635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07249"} 
[2026-09-05 21:30:27] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887615744001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788623800000,"timestamp_ms":1788623800000,"timestamp_seconds":1788623800,"priority":1,"record_length":96,"hex_timestamp":"000001a0724946c0"} 
[2026-09-05 21:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-05 21:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887615744001,"66":26006,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887615744001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:30:27] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:30:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887615744001,"power":26006,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":174635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:30:27] local.INFO: GPS data processed {"connection_id":174635,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:30:27] local.INFO: Acknowledgment sent {"connection_id":174635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:30:49] local.INFO: TCP Data received {"connection_id":172192,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:30:49] local.INFO: Processing buffer {"connection_id":172192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:30:49] local.INFO: IMEI packet received {"connection_id":172192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":172192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:30:54] local.INFO: TCP Data received {"connection_id":172192,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:30:54] local.INFO: Processing buffer {"connection_id":172192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:30:54] local.INFO: IMEI packet received {"connection_id":172192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":172192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:30:55] local.INFO: TCP Data received {"connection_id":172192,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0724c1d50012d196500071ff1280041014526..."} 
[2026-09-05 21:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0724c1d50012d196500071ff1280041014526..."} 
[2026-09-05 21:30:55] local.INFO: Processing buffer {"connection_id":172192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0724c1d50012d196500071ff1280041014526..."} 
[2026-09-05 21:30:55] local.INFO: Packet analysis {"connection_id":172192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0724c"} 
[2026-09-05 21:30:55] local.INFO: Extracted packet for processing {"connection_id":172192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0724c"} 
[2026-09-05 21:30:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887663360001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788623986000,"timestamp_ms":1788623986000,"timestamp_seconds":1788623986,"priority":1,"record_length":96,"hex_timestamp":"000001a0724c1d50"} 
[2026-09-05 21:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:30:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887663360001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887663360001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:30:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:30:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887663360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":172192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:30:55] local.INFO: GPS data processed {"connection_id":172192,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:30:55] local.INFO: Acknowledgment sent {"connection_id":172192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:30:55] local.INFO: TCP Data received {"connection_id":173315,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:30:55] local.INFO: Processing buffer {"connection_id":173315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:30:55] local.INFO: IMEI packet received {"connection_id":173315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":173315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:31:00] local.INFO: TCP Data received {"connection_id":173315,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:31:00] local.INFO: Processing buffer {"connection_id":173315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:31:00] local.INFO: IMEI packet received {"connection_id":173315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":173315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:31:05] local.INFO: TCP Data received {"connection_id":173315,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0724946c0012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0724946c0012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:31:05] local.INFO: Processing buffer {"connection_id":173315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0724946c0012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:31:05] local.INFO: Packet analysis {"connection_id":173315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07249"} 
[2026-09-05 21:31:05] local.INFO: Extracted packet for processing {"connection_id":173315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07249"} 
[2026-09-05 21:31:05] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887615744001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:31: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-09-05 21:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788623800000,"timestamp_ms":1788623800000,"timestamp_seconds":1788623800,"priority":1,"record_length":96,"hex_timestamp":"000001a0724946c0"} 
[2026-09-05 21:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-05 21:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887615744001,"66":26006,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887615744001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:31:05] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:31:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887615744001,"power":26006,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":173315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:31:05] local.INFO: GPS data processed {"connection_id":173315,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:31:05] local.INFO: Acknowledgment sent {"connection_id":173315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:31:06] local.INFO: TCP Data received {"connection_id":173315,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0724946c0012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0724946c0012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:31:06] local.INFO: Processing buffer {"connection_id":173315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0724946c0012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:31:06] local.INFO: Packet analysis {"connection_id":173315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07249"} 
[2026-09-05 21:31:06] local.INFO: Extracted packet for processing {"connection_id":173315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07249"} 
[2026-09-05 21:31:06] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887615744001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:31: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-09-05 21:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788623800000,"timestamp_ms":1788623800000,"timestamp_seconds":1788623800,"priority":1,"record_length":96,"hex_timestamp":"000001a0724946c0"} 
[2026-09-05 21:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-05 21:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21: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-09-05 21:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887615744001,"66":26006,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887615744001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:31:06] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:31:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887615744001,"power":26006,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":173315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:31:06] local.INFO: GPS data processed {"connection_id":173315,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:31:06] local.INFO: Acknowledgment sent {"connection_id":173315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:31:26] local.INFO: TCP Data received {"connection_id":172192,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0724c1d50012d196500071ff1280041014526..."} 
[2026-09-05 21:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0724c1d50012d196500071ff1280041014526..."} 
[2026-09-05 21:31:26] local.INFO: Processing buffer {"connection_id":172192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0724c1d50012d196500071ff1280041014526..."} 
[2026-09-05 21:31:26] local.INFO: Packet analysis {"connection_id":172192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0724c"} 
[2026-09-05 21:31:26] local.INFO: Extracted packet for processing {"connection_id":172192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0724c"} 
[2026-09-05 21:31:26] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:31: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-09-05 21:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887663360001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788623986000,"timestamp_ms":1788623986000,"timestamp_seconds":1788623986,"priority":1,"record_length":96,"hex_timestamp":"000001a0724c1d50"} 
[2026-09-05 21:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:31:26] 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-09-05 21:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:31: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-09-05 21:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887663360001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887663360001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:31:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:31:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887663360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":172192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:31:26] local.INFO: GPS data processed {"connection_id":172192,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:31:26] local.INFO: Acknowledgment sent {"connection_id":172192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:31:44] local.INFO: TCP Data received {"connection_id":172193,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:31:44] local.INFO: Processing buffer {"connection_id":172193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:31:44] local.INFO: IMEI packet received {"connection_id":172193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":172193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:31:49] local.INFO: TCP Data received {"connection_id":172193,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:31:49] local.INFO: Processing buffer {"connection_id":172193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:31:49] local.INFO: IMEI packet received {"connection_id":172193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":172193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:31:50] local.INFO: TCP Data received {"connection_id":172193,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0724c1d50012d196500071ff1280041014526..."} 
[2026-09-05 21:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0724c1d50012d196500071ff1280041014526..."} 
[2026-09-05 21:31:50] local.INFO: Processing buffer {"connection_id":172193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0724c1d50012d196500071ff1280041014526..."} 
[2026-09-05 21:31:50] local.INFO: Packet analysis {"connection_id":172193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0724c"} 
[2026-09-05 21:31:50] local.INFO: Extracted packet for processing {"connection_id":172193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0724c"} 
[2026-09-05 21:31:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887663360001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:31:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788623986000,"timestamp_ms":1788623986000,"timestamp_seconds":1788623986,"priority":1,"record_length":96,"hex_timestamp":"000001a0724c1d50"} 
[2026-09-05 21:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:31:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:31:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:31:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887663360001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887663360001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:31:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:31:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:31:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887663360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":172193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:31:50] local.INFO: GPS data processed {"connection_id":172193,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:31:50] local.INFO: Acknowledgment sent {"connection_id":172193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:31:50] local.INFO: TCP Data received {"connection_id":174636,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:31:50] local.INFO: Processing buffer {"connection_id":174636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:31:50] local.INFO: IMEI packet received {"connection_id":174636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":174636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:31:55] local.INFO: TCP Data received {"connection_id":174636,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:31:55] local.INFO: Processing buffer {"connection_id":174636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:31:55] local.INFO: IMEI packet received {"connection_id":174636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":174636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:31:57] local.INFO: TCP Data received {"connection_id":174636,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0724946c0012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0724946c0012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:31:57] local.INFO: Processing buffer {"connection_id":174636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0724946c0012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:31:57] local.INFO: Packet analysis {"connection_id":174636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07249"} 
[2026-09-05 21:31:57] local.INFO: Extracted packet for processing {"connection_id":174636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07249"} 
[2026-09-05 21:31:57] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887615744001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788623800000,"timestamp_ms":1788623800000,"timestamp_seconds":1788623800,"priority":1,"record_length":96,"hex_timestamp":"000001a0724946c0"} 
[2026-09-05 21:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-05 21:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21: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-09-05 21:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887615744001,"66":26006,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887615744001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:31:57] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:31:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887615744001,"power":26006,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":174636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:31:57] local.INFO: GPS data processed {"connection_id":174636,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:31:57] local.INFO: Acknowledgment sent {"connection_id":174636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:32:23] local.INFO: TCP Data received {"connection_id":172193,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0724c1d50012d196500071ff1280041014526..."} 
[2026-09-05 21:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0724c1d50012d196500071ff1280041014526..."} 
[2026-09-05 21:32:23] local.INFO: Processing buffer {"connection_id":172193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0724c1d50012d196500071ff1280041014526..."} 
[2026-09-05 21:32:23] local.INFO: Packet analysis {"connection_id":172193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0724c"} 
[2026-09-05 21:32:23] local.INFO: Extracted packet for processing {"connection_id":172193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0724c"} 
[2026-09-05 21:32:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887663360001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788623986000,"timestamp_ms":1788623986000,"timestamp_seconds":1788623986,"priority":1,"record_length":96,"hex_timestamp":"000001a0724c1d50"} 
[2026-09-05 21:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:32: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-09-05 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21: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-09-05 21:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887663360001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887663360001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:32:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:32:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887663360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":172193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:32:23] local.INFO: GPS data processed {"connection_id":172193,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:32:23] local.INFO: Acknowledgment sent {"connection_id":172193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:32:29] local.INFO: TCP Data received {"connection_id":174636,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0724dde88012d77a0c005f2a5a8001601032b..."} 
[2026-09-05 21:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0724dde88012d77a0c005f2a5a8001601032b..."} 
[2026-09-05 21:32:29] local.INFO: Processing buffer {"connection_id":174636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0724dde88012d77a0c005f2a5a8001601032b..."} 
[2026-09-05 21:32:29] local.INFO: Packet analysis {"connection_id":174636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0724d"} 
[2026-09-05 21:32:29] local.INFO: Extracted packet for processing {"connection_id":174636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0724d"} 
[2026-09-05 21:32:29] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":43,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887692800001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788624101000,"timestamp_ms":1788624101000,"timestamp_seconds":1788624101,"priority":1,"record_length":96,"hex_timestamp":"000001a0724dde88"} 
[2026-09-05 21:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-05 21:32:29] 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-09-05 21:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":174636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":174636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":174636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887692800001,"66":25941,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887692800001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:32:29] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:32:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887692800001,"power":25941,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":174636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:32:29] local.INFO: GPS data processed {"connection_id":174636,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:32:29] local.INFO: Acknowledgment sent {"connection_id":174636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:32:44] local.INFO: TCP Data received {"connection_id":171937,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:32:44] local.INFO: Processing buffer {"connection_id":171937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:32:44] local.INFO: IMEI packet received {"connection_id":171937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":171937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:32:49] local.INFO: TCP Data received {"connection_id":171937,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:32:49] local.INFO: Processing buffer {"connection_id":171937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:32:49] local.INFO: IMEI packet received {"connection_id":171937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":171937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:32:50] local.INFO: TCP Data received {"connection_id":172194,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:32:50] local.INFO: Processing buffer {"connection_id":172194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:32:50] local.INFO: IMEI packet received {"connection_id":172194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":172194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:32:50] local.INFO: TCP Data received {"connection_id":171937,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0724c1d50012d196500071ff1280041014526..."} 
[2026-09-05 21:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0724c1d50012d196500071ff1280041014526..."} 
[2026-09-05 21:32:50] local.INFO: Processing buffer {"connection_id":171937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0724c1d50012d196500071ff1280041014526..."} 
[2026-09-05 21:32:50] local.INFO: Packet analysis {"connection_id":171937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0724c"} 
[2026-09-05 21:32:50] local.INFO: Extracted packet for processing {"connection_id":171937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0724c"} 
[2026-09-05 21:32:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887663360001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788623986000,"timestamp_ms":1788623986000,"timestamp_seconds":1788623986,"priority":1,"record_length":96,"hex_timestamp":"000001a0724c1d50"} 
[2026-09-05 21:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:32:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:32:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887663360001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887663360001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:32:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:32:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887663360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":171937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:32:50] local.INFO: GPS data processed {"connection_id":171937,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:32:50] local.INFO: Acknowledgment sent {"connection_id":171937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:32:55] local.INFO: TCP Data received {"connection_id":172194,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:32:55] local.INFO: Processing buffer {"connection_id":172194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:32:55] local.INFO: IMEI packet received {"connection_id":172194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":172194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:32:57] local.INFO: TCP Data received {"connection_id":172194,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0724dde88012d77a0c005f2a5a8001601032b..."} 
[2026-09-05 21:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0724dde88012d77a0c005f2a5a8001601032b..."} 
[2026-09-05 21:32:57] local.INFO: Processing buffer {"connection_id":172194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0724dde88012d77a0c005f2a5a8001601032b..."} 
[2026-09-05 21:32:57] local.INFO: Packet analysis {"connection_id":172194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0724d"} 
[2026-09-05 21:32:57] local.INFO: Extracted packet for processing {"connection_id":172194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0724d"} 
[2026-09-05 21:32:57] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":43,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887692800001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788624101000,"timestamp_ms":1788624101000,"timestamp_seconds":1788624101,"priority":1,"record_length":96,"hex_timestamp":"000001a0724dde88"} 
[2026-09-05 21:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-05 21:32:57] 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-09-05 21:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887692800001,"66":25941,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887692800001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:32:57] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:32:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887692800001,"power":25941,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":172194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:32:57] local.INFO: GPS data processed {"connection_id":172194,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:32:57] local.INFO: Acknowledgment sent {"connection_id":172194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:33:21] local.INFO: TCP Data received {"connection_id":171937,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0724c1d50012d196500071ff1280041014526..."} 
[2026-09-05 21:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0724c1d50012d196500071ff1280041014526..."} 
[2026-09-05 21:33:21] local.INFO: Processing buffer {"connection_id":171937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0724c1d50012d196500071ff1280041014526..."} 
[2026-09-05 21:33:21] local.INFO: Packet analysis {"connection_id":171937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0724c"} 
[2026-09-05 21:33:21] local.INFO: Extracted packet for processing {"connection_id":171937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0724c"} 
[2026-09-05 21:33:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887663360001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788623986000,"timestamp_ms":1788623986000,"timestamp_seconds":1788623986,"priority":1,"record_length":96,"hex_timestamp":"000001a0724c1d50"} 
[2026-09-05 21:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:33:21] 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-09-05 21:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:33:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887663360001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887663360001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:33:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:33:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887663360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":171937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:33:21] local.INFO: GPS data processed {"connection_id":171937,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:33:21] local.INFO: Acknowledgment sent {"connection_id":171937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:33:29] local.INFO: TCP Data received {"connection_id":172194,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0724dde88012d77a0c005f2a5a8001601032b..."} 
[2026-09-05 21:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0724dde88012d77a0c005f2a5a8001601032b..."} 
[2026-09-05 21:33:29] local.INFO: Processing buffer {"connection_id":172194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0724dde88012d77a0c005f2a5a8001601032b..."} 
[2026-09-05 21:33:29] local.INFO: Packet analysis {"connection_id":172194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0724d"} 
[2026-09-05 21:33:29] local.INFO: Extracted packet for processing {"connection_id":172194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0724d"} 
[2026-09-05 21:33:29] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":43,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887692800001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:33:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:33:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788624101000,"timestamp_ms":1788624101000,"timestamp_seconds":1788624101,"priority":1,"record_length":96,"hex_timestamp":"000001a0724dde88"} 
[2026-09-05 21:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-05 21:33:29] 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-09-05 21:33:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:33:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887692800001,"66":25941,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887692800001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:33:29] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:33:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:33:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887692800001,"power":25941,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":172194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:33:29] local.INFO: GPS data processed {"connection_id":172194,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:33:29] local.INFO: Acknowledgment sent {"connection_id":172194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:33:49] local.INFO: TCP Data received {"connection_id":173316,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:33:49] local.INFO: Processing buffer {"connection_id":173316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:33:49] local.INFO: IMEI packet received {"connection_id":173316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":173316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:33:54] local.INFO: TCP Data received {"connection_id":173316,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:33:54] local.INFO: Processing buffer {"connection_id":173316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:33:54] local.INFO: IMEI packet received {"connection_id":173316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":173316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:33:55] local.INFO: TCP Data received {"connection_id":173316,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0724c1d50012d196500071ff1280041014526..."} 
[2026-09-05 21:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0724c1d50012d196500071ff1280041014526..."} 
[2026-09-05 21:33:55] local.INFO: Processing buffer {"connection_id":173316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0724c1d50012d196500071ff1280041014526..."} 
[2026-09-05 21:33:55] local.INFO: Packet analysis {"connection_id":173316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0724c"} 
[2026-09-05 21:33:55] local.INFO: Extracted packet for processing {"connection_id":173316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0724c"} 
[2026-09-05 21:33:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887663360001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788623986000,"timestamp_ms":1788623986000,"timestamp_seconds":1788623986,"priority":1,"record_length":96,"hex_timestamp":"000001a0724c1d50"} 
[2026-09-05 21:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887663360001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887663360001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:33:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:33:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887663360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":173316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:33:55] local.INFO: GPS data processed {"connection_id":173316,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:33:55] local.INFO: Acknowledgment sent {"connection_id":173316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:33:55] local.INFO: TCP Data received {"connection_id":171938,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:33:55] local.INFO: Processing buffer {"connection_id":171938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:33:55] local.INFO: IMEI packet received {"connection_id":171938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":171938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:33:59] local.INFO: TCP Data received {"connection_id":173316,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0724c1d50012d196500071ff1280041014526..."} 
[2026-09-05 21:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0724c1d50012d196500071ff1280041014526..."} 
[2026-09-05 21:33:59] local.INFO: Processing buffer {"connection_id":173316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0724c1d50012d196500071ff1280041014526..."} 
[2026-09-05 21:33:59] local.INFO: Packet analysis {"connection_id":173316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0724c"} 
[2026-09-05 21:33:59] local.INFO: Extracted packet for processing {"connection_id":173316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0724c"} 
[2026-09-05 21:33:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887663360001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788623986000,"timestamp_ms":1788623986000,"timestamp_seconds":1788623986,"priority":1,"record_length":96,"hex_timestamp":"000001a0724c1d50"} 
[2026-09-05 21:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:33:59] 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-09-05 21:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887663360001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887663360001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:33:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:33:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887663360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":173316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:33:59] local.INFO: GPS data processed {"connection_id":173316,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:33:59] local.INFO: Acknowledgment sent {"connection_id":173316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:34:00] local.INFO: TCP Data received {"connection_id":171938,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:34:00] local.INFO: Processing buffer {"connection_id":171938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:34:00] local.INFO: IMEI packet received {"connection_id":171938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":171938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:34:01] local.INFO: TCP Data received {"connection_id":171938,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0724dde88012d77a0c005f2a5a8001601032b..."} 
[2026-09-05 21:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0724dde88012d77a0c005f2a5a8001601032b..."} 
[2026-09-05 21:34:01] local.INFO: Processing buffer {"connection_id":171938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0724dde88012d77a0c005f2a5a8001601032b..."} 
[2026-09-05 21:34:01] local.INFO: Packet analysis {"connection_id":171938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0724d"} 
[2026-09-05 21:34:01] local.INFO: Extracted packet for processing {"connection_id":171938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0724d"} 
[2026-09-05 21:34:01] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":43,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887692800001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:34:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788624101000,"timestamp_ms":1788624101000,"timestamp_seconds":1788624101,"priority":1,"record_length":96,"hex_timestamp":"000001a0724dde88"} 
[2026-09-05 21:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-05 21:34:01] 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-09-05 21: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-09-05 21:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887692800001,"66":25941,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887692800001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:34:01] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:34:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887692800001,"power":25941,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":171938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:34:01] local.INFO: GPS data processed {"connection_id":171938,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:34:01] local.INFO: Acknowledgment sent {"connection_id":171938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:34:06] local.INFO: TCP Data received {"connection_id":171938,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0724dde88012d77a0c005f2a5a8001601032b..."} 
[2026-09-05 21:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0724dde88012d77a0c005f2a5a8001601032b..."} 
[2026-09-05 21:34:06] local.INFO: Processing buffer {"connection_id":171938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0724dde88012d77a0c005f2a5a8001601032b..."} 
[2026-09-05 21:34:06] local.INFO: Packet analysis {"connection_id":171938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0724d"} 
[2026-09-05 21:34:06] local.INFO: Extracted packet for processing {"connection_id":171938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0724d"} 
[2026-09-05 21:34:06] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":43,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887692800001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:34: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-09-05 21:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788624101000,"timestamp_ms":1788624101000,"timestamp_seconds":1788624101,"priority":1,"record_length":96,"hex_timestamp":"000001a0724dde88"} 
[2026-09-05 21:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-05 21:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21: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-09-05 21:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887692800001,"66":25941,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887692800001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:34:06] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:34:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887692800001,"power":25941,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":171938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:34:06] local.INFO: GPS data processed {"connection_id":171938,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:34:06] local.INFO: Acknowledgment sent {"connection_id":171938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:34:44] local.INFO: TCP Data received {"connection_id":174637,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:34:44] local.INFO: Processing buffer {"connection_id":174637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:34:44] local.INFO: IMEI packet received {"connection_id":174637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":174637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:34:49] local.INFO: TCP Data received {"connection_id":174637,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:34:49] local.INFO: Processing buffer {"connection_id":174637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:34:49] local.INFO: IMEI packet received {"connection_id":174637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":174637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:34:50] local.INFO: TCP Data received {"connection_id":174637,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0724c1d50012d196500071ff1280041014526..."} 
[2026-09-05 21:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0724c1d50012d196500071ff1280041014526..."} 
[2026-09-05 21:34:50] local.INFO: Processing buffer {"connection_id":174637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0724c1d50012d196500071ff1280041014526..."} 
[2026-09-05 21:34:50] local.INFO: Packet analysis {"connection_id":174637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0724c"} 
[2026-09-05 21:34:50] local.INFO: Extracted packet for processing {"connection_id":174637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0724c"} 
[2026-09-05 21:34:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887663360001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788623986000,"timestamp_ms":1788623986000,"timestamp_seconds":1788623986,"priority":1,"record_length":96,"hex_timestamp":"000001a0724c1d50"} 
[2026-09-05 21:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:34:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887663360001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887663360001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:34:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:34:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887663360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":174637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:34:50] local.INFO: GPS data processed {"connection_id":174637,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:34:50] local.INFO: Acknowledgment sent {"connection_id":174637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:34:50] local.INFO: TCP Data received {"connection_id":172195,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:34:50] local.INFO: Processing buffer {"connection_id":172195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:34:50] local.INFO: IMEI packet received {"connection_id":172195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":172195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:34:55] local.INFO: TCP Data received {"connection_id":172195,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:34:55] local.INFO: Processing buffer {"connection_id":172195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:34:55] local.INFO: IMEI packet received {"connection_id":172195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":172195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:34:56] local.INFO: TCP Data received {"connection_id":172195,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0724dde88012d77a0c005f2a5a8001601032b..."} 
[2026-09-05 21:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0724dde88012d77a0c005f2a5a8001601032b..."} 
[2026-09-05 21:34:56] local.INFO: Processing buffer {"connection_id":172195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0724dde88012d77a0c005f2a5a8001601032b..."} 
[2026-09-05 21:34:56] local.INFO: Packet analysis {"connection_id":172195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0724d"} 
[2026-09-05 21:34:56] local.INFO: Extracted packet for processing {"connection_id":172195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0724d"} 
[2026-09-05 21:34:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":43,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887692800001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788624101000,"timestamp_ms":1788624101000,"timestamp_seconds":1788624101,"priority":1,"record_length":96,"hex_timestamp":"000001a0724dde88"} 
[2026-09-05 21:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-05 21:34:56] 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-09-05 21:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887692800001,"66":25941,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887692800001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:34:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:34:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887692800001,"power":25941,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":172195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:34:56] local.INFO: GPS data processed {"connection_id":172195,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:34:56] local.INFO: Acknowledgment sent {"connection_id":172195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:35:21] local.INFO: TCP Data received {"connection_id":174637,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0724c1d50012d196500071ff1280041014526..."} 
[2026-09-05 21:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0724c1d50012d196500071ff1280041014526..."} 
[2026-09-05 21:35:21] local.INFO: Processing buffer {"connection_id":174637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0724c1d50012d196500071ff1280041014526..."} 
[2026-09-05 21:35:21] local.INFO: Packet analysis {"connection_id":174637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0724c"} 
[2026-09-05 21:35:21] local.INFO: Extracted packet for processing {"connection_id":174637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0724c"} 
[2026-09-05 21:35:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887663360001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788623986000,"timestamp_ms":1788623986000,"timestamp_seconds":1788623986,"priority":1,"record_length":96,"hex_timestamp":"000001a0724c1d50"} 
[2026-09-05 21:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:35:21] 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-09-05 21:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887663360001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887663360001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:35:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:35:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887663360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":174637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:35:21] local.INFO: GPS data processed {"connection_id":174637,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:35:21] local.INFO: Acknowledgment sent {"connection_id":174637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:35:27] local.INFO: TCP Data received {"connection_id":172195,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0724dde88012d77a0c005f2a5a8001601032b..."} 
[2026-09-05 21:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0724dde88012d77a0c005f2a5a8001601032b..."} 
[2026-09-05 21:35:27] local.INFO: Processing buffer {"connection_id":172195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0724dde88012d77a0c005f2a5a8001601032b..."} 
[2026-09-05 21:35:27] local.INFO: Packet analysis {"connection_id":172195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0724d"} 
[2026-09-05 21:35:27] local.INFO: Extracted packet for processing {"connection_id":172195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0724d"} 
[2026-09-05 21:35:27] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":43,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887692800001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788624101000,"timestamp_ms":1788624101000,"timestamp_seconds":1788624101,"priority":1,"record_length":96,"hex_timestamp":"000001a0724dde88"} 
[2026-09-05 21:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-05 21:35:27] 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-09-05 21:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887692800001,"66":25941,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887692800001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:35:27] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:35:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887692800001,"power":25941,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":172195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:35:27] local.INFO: GPS data processed {"connection_id":172195,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:35:27] local.INFO: Acknowledgment sent {"connection_id":172195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:35:44] local.INFO: TCP Data received {"connection_id":173317,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:35:44] local.INFO: Processing buffer {"connection_id":173317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:35:44] local.INFO: IMEI packet received {"connection_id":173317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":173317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:35:49] local.INFO: TCP Data received {"connection_id":173317,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:35:49] local.INFO: Processing buffer {"connection_id":173317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:35:49] local.INFO: IMEI packet received {"connection_id":173317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":173317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:35:50] local.INFO: TCP Data received {"connection_id":172196,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:35:50] local.INFO: Processing buffer {"connection_id":172196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:35:50] local.INFO: IMEI packet received {"connection_id":172196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":172196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:35:50] local.INFO: TCP Data received {"connection_id":173317,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07250b518012d196500071ff1280040014526..."} 
[2026-09-05 21:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07250b518012d196500071ff1280040014526..."} 
[2026-09-05 21:35:50] local.INFO: Processing buffer {"connection_id":173317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07250b518012d196500071ff1280040014526..."} 
[2026-09-05 21:35:50] local.INFO: Packet analysis {"connection_id":173317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07250"} 
[2026-09-05 21:35:50] local.INFO: Extracted packet for processing {"connection_id":173317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07250"} 
[2026-09-05 21:35:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887740416001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788624287000,"timestamp_ms":1788624287000,"timestamp_seconds":1788624287,"priority":1,"record_length":96,"hex_timestamp":"000001a07250b518"} 
[2026-09-05 21:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:35:50] 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-09-05 21:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887740416001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887740416001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:35:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:35:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887740416001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":173317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:35:50] local.INFO: GPS data processed {"connection_id":173317,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:35:50] local.INFO: Acknowledgment sent {"connection_id":173317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:35:55] local.INFO: TCP Data received {"connection_id":172196,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:35:55] local.INFO: Processing buffer {"connection_id":172196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:35:55] local.INFO: IMEI packet received {"connection_id":172196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":172196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:35:56] local.INFO: TCP Data received {"connection_id":172196,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0724dde88012d77a0c005f2a5a8001601032b..."} 
[2026-09-05 21:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0724dde88012d77a0c005f2a5a8001601032b..."} 
[2026-09-05 21:35:56] local.INFO: Processing buffer {"connection_id":172196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0724dde88012d77a0c005f2a5a8001601032b..."} 
[2026-09-05 21:35:56] local.INFO: Packet analysis {"connection_id":172196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0724d"} 
[2026-09-05 21:35:56] local.INFO: Extracted packet for processing {"connection_id":172196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0724d"} 
[2026-09-05 21:35:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":43,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887692800001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788624101000,"timestamp_ms":1788624101000,"timestamp_seconds":1788624101,"priority":1,"record_length":96,"hex_timestamp":"000001a0724dde88"} 
[2026-09-05 21:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-05 21:35:56] 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-09-05 21:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887692800001,"66":25941,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887692800001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:35:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:35:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887692800001,"power":25941,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":172196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:35:56] local.INFO: GPS data processed {"connection_id":172196,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:35:56] local.INFO: Acknowledgment sent {"connection_id":172196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:36:21] local.INFO: TCP Data received {"connection_id":173317,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07250b518012d196500071ff1280040014526..."} 
[2026-09-05 21:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07250b518012d196500071ff1280040014526..."} 
[2026-09-05 21:36:21] local.INFO: Processing buffer {"connection_id":173317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07250b518012d196500071ff1280040014526..."} 
[2026-09-05 21:36:21] local.INFO: Packet analysis {"connection_id":173317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07250"} 
[2026-09-05 21:36:21] local.INFO: Extracted packet for processing {"connection_id":173317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07250"} 
[2026-09-05 21:36:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887740416001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788624287000,"timestamp_ms":1788624287000,"timestamp_seconds":1788624287,"priority":1,"record_length":96,"hex_timestamp":"000001a07250b518"} 
[2026-09-05 21:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:36:21] 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-09-05 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21: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-09-05 21:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887740416001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887740416001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:36:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:36:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887740416001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":173317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:36:21] local.INFO: GPS data processed {"connection_id":173317,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:36:21] local.INFO: Acknowledgment sent {"connection_id":173317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:36:27] local.INFO: TCP Data received {"connection_id":172196,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0724dde88012d77a0c005f2a5a8001601032b..."} 
[2026-09-05 21:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0724dde88012d77a0c005f2a5a8001601032b..."} 
[2026-09-05 21:36:27] local.INFO: Processing buffer {"connection_id":172196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0724dde88012d77a0c005f2a5a8001601032b..."} 
[2026-09-05 21:36:27] local.INFO: Packet analysis {"connection_id":172196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0724d"} 
[2026-09-05 21:36:27] local.INFO: Extracted packet for processing {"connection_id":172196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0724d"} 
[2026-09-05 21:36:27] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":43,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887692800001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788624101000,"timestamp_ms":1788624101000,"timestamp_seconds":1788624101,"priority":1,"record_length":96,"hex_timestamp":"000001a0724dde88"} 
[2026-09-05 21:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-05 21:36:27] 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-09-05 21:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887692800001,"66":25941,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887692800001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:36:27] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:36:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887692800001,"power":25941,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":172196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:36:27] local.INFO: GPS data processed {"connection_id":172196,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:36:27] local.INFO: Acknowledgment sent {"connection_id":172196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:36:44] local.INFO: TCP Data received {"connection_id":171939,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:36:44] local.INFO: Processing buffer {"connection_id":171939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:36:44] local.INFO: IMEI packet received {"connection_id":171939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":171939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:36:49] local.INFO: TCP Data received {"connection_id":171939,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:36:49] local.INFO: Processing buffer {"connection_id":171939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:36:49] local.INFO: IMEI packet received {"connection_id":171939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":171939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:36:50] local.INFO: TCP Data received {"connection_id":174638,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:36:50] local.INFO: Processing buffer {"connection_id":174638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:36:50] local.INFO: IMEI packet received {"connection_id":174638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":174638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:36:50] local.INFO: TCP Data received {"connection_id":171939,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07250b518012d196500071ff1280040014526..."} 
[2026-09-05 21:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07250b518012d196500071ff1280040014526..."} 
[2026-09-05 21:36:50] local.INFO: Processing buffer {"connection_id":171939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07250b518012d196500071ff1280040014526..."} 
[2026-09-05 21:36:50] local.INFO: Packet analysis {"connection_id":171939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07250"} 
[2026-09-05 21:36:50] local.INFO: Extracted packet for processing {"connection_id":171939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07250"} 
[2026-09-05 21:36:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887740416001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788624287000,"timestamp_ms":1788624287000,"timestamp_seconds":1788624287,"priority":1,"record_length":96,"hex_timestamp":"000001a07250b518"} 
[2026-09-05 21:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:36:50] 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-09-05 21:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:36:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887740416001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887740416001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:36:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:36:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887740416001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":171939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:36:50] local.INFO: GPS data processed {"connection_id":171939,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:36:50] local.INFO: Acknowledgment sent {"connection_id":171939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:36:55] local.INFO: TCP Data received {"connection_id":174638,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:36:55] local.INFO: Processing buffer {"connection_id":174638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:36:55] local.INFO: IMEI packet received {"connection_id":174638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":174638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:37:07] local.INFO: TCP Data received {"connection_id":174638,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0724dde88012d77a0c005f2a5a8001601032b..."} 
[2026-09-05 21:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0724dde88012d77a0c005f2a5a8001601032b..."} 
[2026-09-05 21:37:07] local.INFO: Processing buffer {"connection_id":174638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0724dde88012d77a0c005f2a5a8001601032b..."} 
[2026-09-05 21:37:07] local.INFO: Packet analysis {"connection_id":174638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0724d"} 
[2026-09-05 21:37:07] local.INFO: Extracted packet for processing {"connection_id":174638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0724d"} 
[2026-09-05 21:37:07] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":43,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887692800001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:37: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-09-05 21:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788624101000,"timestamp_ms":1788624101000,"timestamp_seconds":1788624101,"priority":1,"record_length":96,"hex_timestamp":"000001a0724dde88"} 
[2026-09-05 21:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-05 21:37:07] 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-09-05 21: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-09-05 21:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887692800001,"66":25941,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887692800001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:37:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:37:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887692800001,"power":25941,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":174638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:37:07] local.INFO: GPS data processed {"connection_id":174638,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:37:07] local.INFO: Acknowledgment sent {"connection_id":174638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:37:21] local.INFO: TCP Data received {"connection_id":171939,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07250b518012d196500071ff1280040014526..."} 
[2026-09-05 21:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07250b518012d196500071ff1280040014526..."} 
[2026-09-05 21:37:21] local.INFO: Processing buffer {"connection_id":171939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07250b518012d196500071ff1280040014526..."} 
[2026-09-05 21:37:21] local.INFO: Packet analysis {"connection_id":171939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07250"} 
[2026-09-05 21:37:21] local.INFO: Extracted packet for processing {"connection_id":171939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07250"} 
[2026-09-05 21:37:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887740416001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788624287000,"timestamp_ms":1788624287000,"timestamp_seconds":1788624287,"priority":1,"record_length":96,"hex_timestamp":"000001a07250b518"} 
[2026-09-05 21:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:37:21] 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-09-05 21:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887740416001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887740416001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:37:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:37:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887740416001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":171939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:37:21] local.INFO: GPS data processed {"connection_id":171939,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:37:21] local.INFO: Acknowledgment sent {"connection_id":171939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:37:43] local.INFO: TCP Data received {"connection_id":171940,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:37:43] local.INFO: Processing buffer {"connection_id":171940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:37:43] local.INFO: IMEI packet received {"connection_id":171940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":171940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:37:49] local.INFO: TCP Data received {"connection_id":171940,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:37:49] local.INFO: Processing buffer {"connection_id":171940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:37:49] local.INFO: IMEI packet received {"connection_id":171940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":171940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:37:50] local.INFO: TCP Data received {"connection_id":171940,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07250b518012d196500071ff1280040014526..."} 
[2026-09-05 21:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07250b518012d196500071ff1280040014526..."} 
[2026-09-05 21:37:50] local.INFO: Processing buffer {"connection_id":171940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07250b518012d196500071ff1280040014526..."} 
[2026-09-05 21:37:50] local.INFO: Packet analysis {"connection_id":171940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07250"} 
[2026-09-05 21:37:50] local.INFO: Extracted packet for processing {"connection_id":171940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07250"} 
[2026-09-05 21:37:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887740416001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:37:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788624287000,"timestamp_ms":1788624287000,"timestamp_seconds":1788624287,"priority":1,"record_length":96,"hex_timestamp":"000001a07250b518"} 
[2026-09-05 21:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:37:50] 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-09-05 21:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:37:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:37:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887740416001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887740416001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:37:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:37:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:37:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887740416001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":171940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:37:50] local.INFO: GPS data processed {"connection_id":171940,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:37:50] local.INFO: Acknowledgment sent {"connection_id":171940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:37:55] local.INFO: TCP Data received {"connection_id":173318,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:37:55] local.INFO: Processing buffer {"connection_id":173318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:37:55] local.INFO: IMEI packet received {"connection_id":173318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":173318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:37:59] local.INFO: TCP Data received {"connection_id":173318,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:37:59] local.INFO: Processing buffer {"connection_id":173318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:37:59] local.INFO: IMEI packet received {"connection_id":173318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":173318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:38:01] local.INFO: TCP Data received {"connection_id":173318,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072527650012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072527650012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:38:01] local.INFO: Processing buffer {"connection_id":173318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072527650012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:38:01] local.INFO: Packet analysis {"connection_id":173318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07252"} 
[2026-09-05 21:38:01] local.INFO: Extracted packet for processing {"connection_id":173318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07252"} 
[2026-09-05 21:38:01] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887769856001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788624402000,"timestamp_ms":1788624402000,"timestamp_seconds":1788624402,"priority":1,"record_length":96,"hex_timestamp":"000001a072527650"} 
[2026-09-05 21:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-05 21:38:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:38:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887769856001,"66":25908,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887769856001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:38:01] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:38:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887769856001,"power":25908,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":173318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:38:01] local.INFO: GPS data processed {"connection_id":173318,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:38:01] local.INFO: Acknowledgment sent {"connection_id":173318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:38:05] local.INFO: TCP Data received {"connection_id":173318,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072527650012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072527650012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:38:05] local.INFO: Processing buffer {"connection_id":173318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072527650012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:38:05] local.INFO: Packet analysis {"connection_id":173318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07252"} 
[2026-09-05 21:38:05] local.INFO: Extracted packet for processing {"connection_id":173318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07252"} 
[2026-09-05 21:38:05] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887769856001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:38: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-09-05 21:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788624402000,"timestamp_ms":1788624402000,"timestamp_seconds":1788624402,"priority":1,"record_length":96,"hex_timestamp":"000001a072527650"} 
[2026-09-05 21:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-05 21:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887769856001,"66":25908,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887769856001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:38:05] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:38:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887769856001,"power":25908,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":173318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:38:05] local.INFO: GPS data processed {"connection_id":173318,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:38:05] local.INFO: Acknowledgment sent {"connection_id":173318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:38:21] local.INFO: TCP Data received {"connection_id":171940,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07250b518012d196500071ff1280040014526..."} 
[2026-09-05 21:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07250b518012d196500071ff1280040014526..."} 
[2026-09-05 21:38:21] local.INFO: Processing buffer {"connection_id":171940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07250b518012d196500071ff1280040014526..."} 
[2026-09-05 21:38:21] local.INFO: Packet analysis {"connection_id":171940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07250"} 
[2026-09-05 21:38:21] local.INFO: Extracted packet for processing {"connection_id":171940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07250"} 
[2026-09-05 21:38:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887740416001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788624287000,"timestamp_ms":1788624287000,"timestamp_seconds":1788624287,"priority":1,"record_length":96,"hex_timestamp":"000001a07250b518"} 
[2026-09-05 21:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:38:21] 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-09-05 21:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887740416001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887740416001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:38:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:38:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887740416001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":171940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:38:21] local.INFO: GPS data processed {"connection_id":171940,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:38:21] local.INFO: Acknowledgment sent {"connection_id":171940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:38:49] local.INFO: TCP Data received {"connection_id":174639,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:38:49] local.INFO: Processing buffer {"connection_id":174639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:38:49] local.INFO: IMEI packet received {"connection_id":174639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":174639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:38:49] local.INFO: TCP Data received {"connection_id":171941,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:38:50] local.INFO: Processing buffer {"connection_id":171941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:38:50] local.INFO: IMEI packet received {"connection_id":171941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":171941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:38:54] local.INFO: TCP Data received {"connection_id":174639,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:38:54] local.INFO: Processing buffer {"connection_id":174639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:38:54] local.INFO: IMEI packet received {"connection_id":174639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":174639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:38:55] local.INFO: TCP Data received {"connection_id":174639,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07250b518012d196500071ff1280040014526..."} 
[2026-09-05 21:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07250b518012d196500071ff1280040014526..."} 
[2026-09-05 21:38:55] local.INFO: Processing buffer {"connection_id":174639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07250b518012d196500071ff1280040014526..."} 
[2026-09-05 21:38:55] local.INFO: Packet analysis {"connection_id":174639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07250"} 
[2026-09-05 21:38:55] local.INFO: Extracted packet for processing {"connection_id":174639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07250"} 
[2026-09-05 21:38:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887740416001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788624287000,"timestamp_ms":1788624287000,"timestamp_seconds":1788624287,"priority":1,"record_length":96,"hex_timestamp":"000001a07250b518"} 
[2026-09-05 21:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:38:55] 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-09-05 21:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887740416001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887740416001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:38:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:38:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887740416001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":174639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:38:55] local.INFO: GPS data processed {"connection_id":174639,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:38:55] local.INFO: Acknowledgment sent {"connection_id":174639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:38:57] local.INFO: TCP Data received {"connection_id":171941,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:38:57] local.INFO: Processing buffer {"connection_id":171941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:38:57] local.INFO: IMEI packet received {"connection_id":171941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":171941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:38:59] local.INFO: TCP Data received {"connection_id":174639,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07250b518012d196500071ff1280040014526..."} 
[2026-09-05 21:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07250b518012d196500071ff1280040014526..."} 
[2026-09-05 21:38:59] local.INFO: Processing buffer {"connection_id":174639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07250b518012d196500071ff1280040014526..."} 
[2026-09-05 21:38:59] local.INFO: Packet analysis {"connection_id":174639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07250"} 
[2026-09-05 21:38:59] local.INFO: Extracted packet for processing {"connection_id":174639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07250"} 
[2026-09-05 21:38:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887740416001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788624287000,"timestamp_ms":1788624287000,"timestamp_seconds":1788624287,"priority":1,"record_length":96,"hex_timestamp":"000001a07250b518"} 
[2026-09-05 21:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:38:59] 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-09-05 21:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887740416001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887740416001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:38:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:38:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887740416001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:38:59] local.INFO: TCP Data received {"connection_id":171941,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072527650012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072527650012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:38:59] local.INFO: Processing buffer {"connection_id":171941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072527650012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:38:59] local.INFO: Packet analysis {"connection_id":171941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07252"} 
[2026-09-05 21:38:59] local.INFO: Extracted packet for processing {"connection_id":171941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07252"} 
[2026-09-05 21:38:59] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887769856001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788624402000,"timestamp_ms":1788624402000,"timestamp_seconds":1788624402,"priority":1,"record_length":96,"hex_timestamp":"000001a072527650"} 
[2026-09-05 21:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-05 21:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887769856001,"66":25908,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887769856001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:38:59] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:38:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887769856001,"power":25908,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":171941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:38:59] local.INFO: GPS data processed {"connection_id":171941,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:38:59] local.INFO: Acknowledgment sent {"connection_id":171941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":174639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:38:59] local.INFO: GPS data processed {"connection_id":174639,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:38:59] local.INFO: Acknowledgment sent {"connection_id":174639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:39:31] local.INFO: TCP Data received {"connection_id":171941,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072527650012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072527650012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:39:31] local.INFO: Processing buffer {"connection_id":171941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072527650012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:39:31] local.INFO: Packet analysis {"connection_id":171941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07252"} 
[2026-09-05 21:39:31] local.INFO: Extracted packet for processing {"connection_id":171941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07252"} 
[2026-09-05 21:39:31] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887769856001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21: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-09-05 21:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788624402000,"timestamp_ms":1788624402000,"timestamp_seconds":1788624402,"priority":1,"record_length":96,"hex_timestamp":"000001a072527650"} 
[2026-09-05 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-09-05 21:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-05 21:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 21:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887769856001,"66":25908,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887769856001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:39:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:39:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887769856001,"power":25908,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":171941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:39:31] local.INFO: GPS data processed {"connection_id":171941,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:39:31] local.INFO: Acknowledgment sent {"connection_id":171941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:39:44] local.INFO: TCP Data received {"connection_id":172197,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:39:44] local.INFO: Processing buffer {"connection_id":172197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:39:44] local.INFO: IMEI packet received {"connection_id":172197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":172197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:39:49] local.INFO: TCP Data received {"connection_id":172197,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:39:49] local.INFO: Processing buffer {"connection_id":172197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:39:49] local.INFO: IMEI packet received {"connection_id":172197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":172197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:39:50] local.INFO: TCP Data received {"connection_id":172197,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07250b518012d196500071ff1280040014526..."} 
[2026-09-05 21:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07250b518012d196500071ff1280040014526..."} 
[2026-09-05 21:39:50] local.INFO: Processing buffer {"connection_id":172197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07250b518012d196500071ff1280040014526..."} 
[2026-09-05 21:39:50] local.INFO: Packet analysis {"connection_id":172197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07250"} 
[2026-09-05 21:39:50] local.INFO: Extracted packet for processing {"connection_id":172197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07250"} 
[2026-09-05 21:39:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887740416001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788624287000,"timestamp_ms":1788624287000,"timestamp_seconds":1788624287,"priority":1,"record_length":96,"hex_timestamp":"000001a07250b518"} 
[2026-09-05 21:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:39:50] 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-09-05 21:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887740416001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887740416001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:39:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:39:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887740416001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":172197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:39:50] local.INFO: GPS data processed {"connection_id":172197,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:39:50] local.INFO: Acknowledgment sent {"connection_id":172197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:39:55] local.INFO: TCP Data received {"connection_id":171942,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:39:55] local.INFO: Processing buffer {"connection_id":171942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:39:55] local.INFO: IMEI packet received {"connection_id":171942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":171942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:40:00] local.INFO: TCP Data received {"connection_id":171942,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:40:00] local.INFO: Processing buffer {"connection_id":171942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:40:00] local.INFO: IMEI packet received {"connection_id":171942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":171942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:40:02] local.INFO: TCP Data received {"connection_id":171942,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072527650012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072527650012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:40:02] local.INFO: Processing buffer {"connection_id":171942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072527650012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:40:02] local.INFO: Packet analysis {"connection_id":171942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07252"} 
[2026-09-05 21:40:02] local.INFO: Extracted packet for processing {"connection_id":171942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07252"} 
[2026-09-05 21:40:02] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887769856001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:40: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-09-05 21:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788624402000,"timestamp_ms":1788624402000,"timestamp_seconds":1788624402,"priority":1,"record_length":96,"hex_timestamp":"000001a072527650"} 
[2026-09-05 21:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21: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":85,"data_length":795,"current_offset":136} 
[2026-09-05 21:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21: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-09-05 21:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":171942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":171942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":171942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887769856001,"66":25908,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887769856001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:40:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:40:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887769856001,"power":25908,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":171942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:40:02] local.INFO: GPS data processed {"connection_id":171942,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:40:02] local.INFO: Acknowledgment sent {"connection_id":171942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:40:21] local.INFO: TCP Data received {"connection_id":172197,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07250b518012d196500071ff1280040014526..."} 
[2026-09-05 21:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07250b518012d196500071ff1280040014526..."} 
[2026-09-05 21:40:21] local.INFO: Processing buffer {"connection_id":172197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07250b518012d196500071ff1280040014526..."} 
[2026-09-05 21:40:21] local.INFO: Packet analysis {"connection_id":172197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07250"} 
[2026-09-05 21:40:21] local.INFO: Extracted packet for processing {"connection_id":172197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07250"} 
[2026-09-05 21:40:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887740416001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788624287000,"timestamp_ms":1788624287000,"timestamp_seconds":1788624287,"priority":1,"record_length":96,"hex_timestamp":"000001a07250b518"} 
[2026-09-05 21:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:40:21] 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-09-05 21:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887740416001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887740416001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:40:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:40:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887740416001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":172197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:40:21] local.INFO: GPS data processed {"connection_id":172197,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:40:21] local.INFO: Acknowledgment sent {"connection_id":172197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:40:34] local.INFO: TCP Data received {"connection_id":171942,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072527650012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072527650012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:40:34] local.INFO: Processing buffer {"connection_id":171942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072527650012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:40:34] local.INFO: Packet analysis {"connection_id":171942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07252"} 
[2026-09-05 21:40:34] local.INFO: Extracted packet for processing {"connection_id":171942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07252"} 
[2026-09-05 21:40:34] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887769856001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788624402000,"timestamp_ms":1788624402000,"timestamp_seconds":1788624402,"priority":1,"record_length":96,"hex_timestamp":"000001a072527650"} 
[2026-09-05 21:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-05 21:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21: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-09-05 21:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":171942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":171942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":171942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887769856001,"66":25908,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887769856001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:40:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:40:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887769856001,"power":25908,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":171942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:40:34] local.INFO: GPS data processed {"connection_id":171942,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:40:34] local.INFO: Acknowledgment sent {"connection_id":171942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:40:44] local.INFO: TCP Data received {"connection_id":173319,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:40:44] local.INFO: Processing buffer {"connection_id":173319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:40:44] local.INFO: IMEI packet received {"connection_id":173319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":173319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:40:49] local.INFO: TCP Data received {"connection_id":173319,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:40:49] local.INFO: Processing buffer {"connection_id":173319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:40:49] local.INFO: IMEI packet received {"connection_id":173319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":173319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:40:49] local.INFO: TCP Data received {"connection_id":174640,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:40:49] local.INFO: Processing buffer {"connection_id":174640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:40:49] local.INFO: IMEI packet received {"connection_id":174640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":174640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:40:50] local.INFO: TCP Data received {"connection_id":173319,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072554ce0012d196500071ff1280040014529..."} 
[2026-09-05 21:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072554ce0012d196500071ff1280040014529..."} 
[2026-09-05 21:40:50] local.INFO: Processing buffer {"connection_id":173319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072554ce0012d196500071ff1280040014529..."} 
[2026-09-05 21:40:50] local.INFO: Packet analysis {"connection_id":173319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07255"} 
[2026-09-05 21:40:50] local.INFO: Extracted packet for processing {"connection_id":173319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07255"} 
[2026-09-05 21:40:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887817472001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788624588000,"timestamp_ms":1788624588000,"timestamp_seconds":1788624588,"priority":1,"record_length":96,"hex_timestamp":"000001a072554ce0"} 
[2026-09-05 21:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:40:50] 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-09-05 21:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 21:40:50] 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-09-05 21:40:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887817472001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887817472001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:40:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:40:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887817472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":173319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:40:50] local.INFO: GPS data processed {"connection_id":173319,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:40:50] local.INFO: Acknowledgment sent {"connection_id":173319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:40:55] local.INFO: TCP Data received {"connection_id":174640,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:40:55] local.INFO: Processing buffer {"connection_id":174640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:40:55] local.INFO: IMEI packet received {"connection_id":174640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":174640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:40:56] local.INFO: TCP Data received {"connection_id":174640,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072527650012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072527650012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:40:56] local.INFO: Processing buffer {"connection_id":174640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072527650012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:40:56] local.INFO: Packet analysis {"connection_id":174640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07252"} 
[2026-09-05 21:40:56] local.INFO: Extracted packet for processing {"connection_id":174640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07252"} 
[2026-09-05 21:40:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887769856001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788624402000,"timestamp_ms":1788624402000,"timestamp_seconds":1788624402,"priority":1,"record_length":96,"hex_timestamp":"000001a072527650"} 
[2026-09-05 21:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-05 21:40:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887769856001,"66":25908,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887769856001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:40:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:40:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887769856001,"power":25908,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":174640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:40:56] local.INFO: GPS data processed {"connection_id":174640,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:40:56] local.INFO: Acknowledgment sent {"connection_id":174640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:41:21] local.INFO: TCP Data received {"connection_id":173319,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072554ce0012d196500071ff1280040014529..."} 
[2026-09-05 21:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072554ce0012d196500071ff1280040014529..."} 
[2026-09-05 21:41:21] local.INFO: Processing buffer {"connection_id":173319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072554ce0012d196500071ff1280040014529..."} 
[2026-09-05 21:41:21] local.INFO: Packet analysis {"connection_id":173319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07255"} 
[2026-09-05 21:41:21] local.INFO: Extracted packet for processing {"connection_id":173319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07255"} 
[2026-09-05 21:41:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887817472001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788624588000,"timestamp_ms":1788624588000,"timestamp_seconds":1788624588,"priority":1,"record_length":96,"hex_timestamp":"000001a072554ce0"} 
[2026-09-05 21:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:41:21] 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-09-05 21:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 21:41:21] 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-09-05 21:41:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887817472001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887817472001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:41:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:41:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887817472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":173319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:41:21] local.INFO: GPS data processed {"connection_id":173319,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:41:21] local.INFO: Acknowledgment sent {"connection_id":173319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:41:27] local.INFO: TCP Data received {"connection_id":174640,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072527650012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072527650012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:41:27] local.INFO: Processing buffer {"connection_id":174640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072527650012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:41:27] local.INFO: Packet analysis {"connection_id":174640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07252"} 
[2026-09-05 21:41:27] local.INFO: Extracted packet for processing {"connection_id":174640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07252"} 
[2026-09-05 21:41:27] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887769856001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788624402000,"timestamp_ms":1788624402000,"timestamp_seconds":1788624402,"priority":1,"record_length":96,"hex_timestamp":"000001a072527650"} 
[2026-09-05 21:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-05 21:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887769856001,"66":25908,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887769856001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:41:27] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:41:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887769856001,"power":25908,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":174640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:41:27] local.INFO: GPS data processed {"connection_id":174640,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:41:27] local.INFO: Acknowledgment sent {"connection_id":174640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:41:44] local.INFO: TCP Data received {"connection_id":174641,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:41:44] local.INFO: Processing buffer {"connection_id":174641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:41:44] local.INFO: IMEI packet received {"connection_id":174641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":174641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:41:49] local.INFO: TCP Data received {"connection_id":174641,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:41:49] local.INFO: Processing buffer {"connection_id":174641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:41:49] local.INFO: IMEI packet received {"connection_id":174641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":174641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:41:49] local.INFO: TCP Data received {"connection_id":171943,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:41:49] local.INFO: Processing buffer {"connection_id":171943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:41:49] local.INFO: IMEI packet received {"connection_id":171943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":171943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:41:50] local.INFO: TCP Data received {"connection_id":174641,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072554ce0012d196500071ff1280040014529..."} 
[2026-09-05 21:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072554ce0012d196500071ff1280040014529..."} 
[2026-09-05 21:41:50] local.INFO: Processing buffer {"connection_id":174641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072554ce0012d196500071ff1280040014529..."} 
[2026-09-05 21:41:50] local.INFO: Packet analysis {"connection_id":174641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07255"} 
[2026-09-05 21:41:50] local.INFO: Extracted packet for processing {"connection_id":174641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07255"} 
[2026-09-05 21:41:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887817472001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788624588000,"timestamp_ms":1788624588000,"timestamp_seconds":1788624588,"priority":1,"record_length":96,"hex_timestamp":"000001a072554ce0"} 
[2026-09-05 21:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:41:50] 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-09-05 21:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 21:41:50] 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-09-05 21:41:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887817472001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887817472001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:41:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:41:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887817472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":174641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:41:50] local.INFO: GPS data processed {"connection_id":174641,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:41:50] local.INFO: Acknowledgment sent {"connection_id":174641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:41:55] local.INFO: TCP Data received {"connection_id":171943,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:41:55] local.INFO: Processing buffer {"connection_id":171943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:41:55] local.INFO: IMEI packet received {"connection_id":171943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":171943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:41:56] local.INFO: TCP Data received {"connection_id":171943,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072527650012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072527650012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:41:56] local.INFO: Processing buffer {"connection_id":171943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072527650012d77a0c005f2a5a8001601032a..."} 
[2026-09-05 21:41:56] local.INFO: Packet analysis {"connection_id":171943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07252"} 
[2026-09-05 21:41:56] local.INFO: Extracted packet for processing {"connection_id":171943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07252"} 
[2026-09-05 21:41:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887769856001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788624402000,"timestamp_ms":1788624402000,"timestamp_seconds":1788624402,"priority":1,"record_length":96,"hex_timestamp":"000001a072527650"} 
[2026-09-05 21:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-05 21:41:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21: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-09-05 21:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887769856001,"66":25908,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887769856001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:41:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:41:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887769856001,"power":25908,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":171943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:41:56] local.INFO: GPS data processed {"connection_id":171943,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:41:56] local.INFO: Acknowledgment sent {"connection_id":171943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:42:21] local.INFO: TCP Data received {"connection_id":174641,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072554ce0012d196500071ff1280040014529..."} 
[2026-09-05 21:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072554ce0012d196500071ff1280040014529..."} 
[2026-09-05 21:42:21] local.INFO: Processing buffer {"connection_id":174641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072554ce0012d196500071ff1280040014529..."} 
[2026-09-05 21:42:21] local.INFO: Packet analysis {"connection_id":174641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07255"} 
[2026-09-05 21:42:21] local.INFO: Extracted packet for processing {"connection_id":174641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07255"} 
[2026-09-05 21:42:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887817472001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788624588000,"timestamp_ms":1788624588000,"timestamp_seconds":1788624588,"priority":1,"record_length":96,"hex_timestamp":"000001a072554ce0"} 
[2026-09-05 21:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:42:21] 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-09-05 21:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 21:42:21] 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-09-05 21:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887817472001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887817472001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:42:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:42:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887817472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":174641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:42:21] local.INFO: GPS data processed {"connection_id":174641,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:42:21] local.INFO: Acknowledgment sent {"connection_id":174641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:42:28] local.INFO: TCP Data received {"connection_id":171943,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072570e18012d77a0c005f2a5a8001601032c..."} 
[2026-09-05 21:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072570e18012d77a0c005f2a5a8001601032c..."} 
[2026-09-05 21:42:28] local.INFO: Processing buffer {"connection_id":171943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072570e18012d77a0c005f2a5a8001601032c..."} 
[2026-09-05 21:42:28] local.INFO: Packet analysis {"connection_id":171943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07257"} 
[2026-09-05 21:42:28] local.INFO: Extracted packet for processing {"connection_id":171943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07257"} 
[2026-09-05 21:42:28] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":44,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887846912001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788624703000,"timestamp_ms":1788624703000,"timestamp_seconds":1788624703,"priority":1,"record_length":96,"hex_timestamp":"000001a072570e18"} 
[2026-09-05 21:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-05 21:42:28] 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-09-05 21:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":171943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":171943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":171943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887846912001,"66":25832,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887846912001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:42:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:42:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887846912001,"power":25832,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":171943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:42:28] local.INFO: GPS data processed {"connection_id":171943,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:42:28] local.INFO: Acknowledgment sent {"connection_id":171943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:42:44] local.INFO: TCP Data received {"connection_id":174642,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:42:44] local.INFO: Processing buffer {"connection_id":174642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:42:44] local.INFO: IMEI packet received {"connection_id":174642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":174642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:42:49] local.INFO: TCP Data received {"connection_id":174642,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:42:49] local.INFO: Processing buffer {"connection_id":174642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:42:49] local.INFO: IMEI packet received {"connection_id":174642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":174642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:42:50] local.INFO: TCP Data received {"connection_id":174642,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072554ce0012d196500071ff1280040014529..."} 
[2026-09-05 21:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072554ce0012d196500071ff1280040014529..."} 
[2026-09-05 21:42:50] local.INFO: Processing buffer {"connection_id":174642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072554ce0012d196500071ff1280040014529..."} 
[2026-09-05 21:42:50] local.INFO: Packet analysis {"connection_id":174642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07255"} 
[2026-09-05 21:42:50] local.INFO: Extracted packet for processing {"connection_id":174642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07255"} 
[2026-09-05 21:42:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887817472001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788624588000,"timestamp_ms":1788624588000,"timestamp_seconds":1788624588,"priority":1,"record_length":96,"hex_timestamp":"000001a072554ce0"} 
[2026-09-05 21:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:42:50] 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-09-05 21:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 21:42:50] 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-09-05 21:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887817472001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887817472001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:42:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:42:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887817472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":174642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:42:50] local.INFO: GPS data processed {"connection_id":174642,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:42:50] local.INFO: Acknowledgment sent {"connection_id":174642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:42:55] local.INFO: TCP Data received {"connection_id":171944,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:42:55] local.INFO: Processing buffer {"connection_id":171944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:42:55] local.INFO: IMEI packet received {"connection_id":171944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":171944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:43:00] local.INFO: TCP Data received {"connection_id":171944,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:43:00] local.INFO: Processing buffer {"connection_id":171944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:43:00] local.INFO: IMEI packet received {"connection_id":171944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":171944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:43:01] local.INFO: TCP Data received {"connection_id":171944,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072570e18012d77a0c005f2a5a8001601032c..."} 
[2026-09-05 21:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072570e18012d77a0c005f2a5a8001601032c..."} 
[2026-09-05 21:43:01] local.INFO: Processing buffer {"connection_id":171944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072570e18012d77a0c005f2a5a8001601032c..."} 
[2026-09-05 21:43:01] local.INFO: Packet analysis {"connection_id":171944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07257"} 
[2026-09-05 21:43:01] local.INFO: Extracted packet for processing {"connection_id":171944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07257"} 
[2026-09-05 21:43:01] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":44,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887846912001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788624703000,"timestamp_ms":1788624703000,"timestamp_seconds":1788624703,"priority":1,"record_length":96,"hex_timestamp":"000001a072570e18"} 
[2026-09-05 21:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-05 21:43:01] 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-09-05 21:43:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887846912001,"66":25832,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887846912001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:43:01] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:43:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887846912001,"power":25832,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":171944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:43:01] local.INFO: GPS data processed {"connection_id":171944,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:43:01] local.INFO: Acknowledgment sent {"connection_id":171944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:43:06] local.INFO: TCP Data received {"connection_id":171944,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072570e18012d77a0c005f2a5a8001601032c..."} 
[2026-09-05 21:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072570e18012d77a0c005f2a5a8001601032c..."} 
[2026-09-05 21:43:06] local.INFO: Processing buffer {"connection_id":171944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072570e18012d77a0c005f2a5a8001601032c..."} 
[2026-09-05 21:43:06] local.INFO: Packet analysis {"connection_id":171944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07257"} 
[2026-09-05 21:43:06] local.INFO: Extracted packet for processing {"connection_id":171944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07257"} 
[2026-09-05 21:43:06] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":44,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887846912001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:43: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-09-05 21:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788624703000,"timestamp_ms":1788624703000,"timestamp_seconds":1788624703,"priority":1,"record_length":96,"hex_timestamp":"000001a072570e18"} 
[2026-09-05 21:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-05 21:43:06] 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-09-05 21: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-09-05 21:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":171944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":171944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":171944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887846912001,"66":25832,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887846912001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:43:06] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:43:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887846912001,"power":25832,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":171944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:43:06] local.INFO: GPS data processed {"connection_id":171944,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:43:06] local.INFO: Acknowledgment sent {"connection_id":171944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:43:21] local.INFO: TCP Data received {"connection_id":174642,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072554ce0012d196500071ff1280040014529..."} 
[2026-09-05 21:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072554ce0012d196500071ff1280040014529..."} 
[2026-09-05 21:43:21] local.INFO: Processing buffer {"connection_id":174642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072554ce0012d196500071ff1280040014529..."} 
[2026-09-05 21:43:21] local.INFO: Packet analysis {"connection_id":174642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07255"} 
[2026-09-05 21:43:21] local.INFO: Extracted packet for processing {"connection_id":174642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07255"} 
[2026-09-05 21:43:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887817472001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788624588000,"timestamp_ms":1788624588000,"timestamp_seconds":1788624588,"priority":1,"record_length":96,"hex_timestamp":"000001a072554ce0"} 
[2026-09-05 21:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:43:21] 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-09-05 21:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 21:43:21] 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-09-05 21:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887817472001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887817472001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:43:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:43:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887817472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":174642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:43:21] local.INFO: GPS data processed {"connection_id":174642,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:43:21] local.INFO: Acknowledgment sent {"connection_id":174642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:43:49] local.INFO: TCP Data received {"connection_id":171945,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:43:49] local.INFO: Processing buffer {"connection_id":171945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:43:49] local.INFO: IMEI packet received {"connection_id":171945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":171945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:43:50] local.INFO: TCP Data received {"connection_id":171946,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:43:50] local.INFO: Processing buffer {"connection_id":171946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:43:50] local.INFO: IMEI packet received {"connection_id":171946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":171946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:43:54] local.INFO: TCP Data received {"connection_id":171945,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:43:54] local.INFO: Processing buffer {"connection_id":171945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:43:54] local.INFO: IMEI packet received {"connection_id":171945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":171945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:43:55] local.INFO: TCP Data received {"connection_id":171945,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072554ce0012d196500071ff1280040014529..."} 
[2026-09-05 21:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072554ce0012d196500071ff1280040014529..."} 
[2026-09-05 21:43:55] local.INFO: Processing buffer {"connection_id":171945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072554ce0012d196500071ff1280040014529..."} 
[2026-09-05 21:43:55] local.INFO: Packet analysis {"connection_id":171945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07255"} 
[2026-09-05 21:43:55] local.INFO: Extracted packet for processing {"connection_id":171945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07255"} 
[2026-09-05 21:43:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887817472001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788624588000,"timestamp_ms":1788624588000,"timestamp_seconds":1788624588,"priority":1,"record_length":96,"hex_timestamp":"000001a072554ce0"} 
[2026-09-05 21:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:43:55] 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-09-05 21:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 21:43:55] 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-09-05 21:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887817472001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887817472001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:43:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:43:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887817472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":171945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:43:55] local.INFO: GPS data processed {"connection_id":171945,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:43:55] local.INFO: Acknowledgment sent {"connection_id":171945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:43:55] local.INFO: TCP Data received {"connection_id":171946,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:43:55] local.INFO: Processing buffer {"connection_id":171946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:43:55] local.INFO: IMEI packet received {"connection_id":171946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":171946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:43:56] local.INFO: TCP Data received {"connection_id":171946,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072570e18012d77a0c005f2a5a8001601032c..."} 
[2026-09-05 21:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072570e18012d77a0c005f2a5a8001601032c..."} 
[2026-09-05 21:43:56] local.INFO: Processing buffer {"connection_id":171946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072570e18012d77a0c005f2a5a8001601032c..."} 
[2026-09-05 21:43:56] local.INFO: Packet analysis {"connection_id":171946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07257"} 
[2026-09-05 21:43:56] local.INFO: Extracted packet for processing {"connection_id":171946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07257"} 
[2026-09-05 21:43:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":44,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887846912001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788624703000,"timestamp_ms":1788624703000,"timestamp_seconds":1788624703,"priority":1,"record_length":96,"hex_timestamp":"000001a072570e18"} 
[2026-09-05 21:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-05 21:43:56] 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-09-05 21:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887846912001,"66":25832,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887846912001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:43:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:43:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887846912001,"power":25832,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":171946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:43:56] local.INFO: GPS data processed {"connection_id":171946,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:43:56] local.INFO: Acknowledgment sent {"connection_id":171946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:43:59] local.INFO: TCP Data received {"connection_id":171945,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072554ce0012d196500071ff1280040014529..."} 
[2026-09-05 21:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072554ce0012d196500071ff1280040014529..."} 
[2026-09-05 21:43:59] local.INFO: Processing buffer {"connection_id":171945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072554ce0012d196500071ff1280040014529..."} 
[2026-09-05 21:43:59] local.INFO: Packet analysis {"connection_id":171945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07255"} 
[2026-09-05 21:43:59] local.INFO: Extracted packet for processing {"connection_id":171945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07255"} 
[2026-09-05 21:43:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887817472001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788624588000,"timestamp_ms":1788624588000,"timestamp_seconds":1788624588,"priority":1,"record_length":96,"hex_timestamp":"000001a072554ce0"} 
[2026-09-05 21:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 21:43:59] 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-09-05 21:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887817472001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887817472001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:43:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:43:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887817472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":171945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:43:59] local.INFO: GPS data processed {"connection_id":171945,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:43:59] local.INFO: Acknowledgment sent {"connection_id":171945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:44:28] local.INFO: TCP Data received {"connection_id":171946,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072570e18012d77a0c005f2a5a8001601032c..."} 
[2026-09-05 21:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072570e18012d77a0c005f2a5a8001601032c..."} 
[2026-09-05 21:44:28] local.INFO: Processing buffer {"connection_id":171946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072570e18012d77a0c005f2a5a8001601032c..."} 
[2026-09-05 21:44:28] local.INFO: Packet analysis {"connection_id":171946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07257"} 
[2026-09-05 21:44:28] local.INFO: Extracted packet for processing {"connection_id":171946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07257"} 
[2026-09-05 21:44:28] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":44,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887846912001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788624703000,"timestamp_ms":1788624703000,"timestamp_seconds":1788624703,"priority":1,"record_length":96,"hex_timestamp":"000001a072570e18"} 
[2026-09-05 21:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-05 21:44:28] 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-09-05 21:44:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":171946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":171946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":171946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887846912001,"66":25832,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887846912001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:44:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:44:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887846912001,"power":25832,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":171946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:44:28] local.INFO: GPS data processed {"connection_id":171946,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:44:28] local.INFO: Acknowledgment sent {"connection_id":171946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:44:47] local.INFO: TCP Data received {"connection_id":172198,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:44:47] local.INFO: Processing buffer {"connection_id":172198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:44:47] local.INFO: IMEI packet received {"connection_id":172198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":172198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:44:48] local.INFO: TCP Data received {"connection_id":172198,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:44:48] local.INFO: Processing buffer {"connection_id":172198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:44:48] local.INFO: IMEI packet received {"connection_id":172198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":172198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:44:49] local.INFO: TCP Data received {"connection_id":172198,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072554ce0012d196500071ff1280040014529..."} 
[2026-09-05 21:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072554ce0012d196500071ff1280040014529..."} 
[2026-09-05 21:44:49] local.INFO: Processing buffer {"connection_id":172198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072554ce0012d196500071ff1280040014529..."} 
[2026-09-05 21:44:49] local.INFO: Packet analysis {"connection_id":172198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07255"} 
[2026-09-05 21:44:49] local.INFO: Extracted packet for processing {"connection_id":172198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07255"} 
[2026-09-05 21:44:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887817472001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788624588000,"timestamp_ms":1788624588000,"timestamp_seconds":1788624588,"priority":1,"record_length":96,"hex_timestamp":"000001a072554ce0"} 
[2026-09-05 21:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:44:49] 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-09-05 21:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 21:44: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-09-05 21:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887817472001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887817472001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:44:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:44:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887817472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":172198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:44:49] local.INFO: GPS data processed {"connection_id":172198,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:44:49] local.INFO: Acknowledgment sent {"connection_id":172198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:44:49] local.INFO: TCP Data received {"connection_id":172199,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:44:49] local.INFO: Processing buffer {"connection_id":172199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:44:49] local.INFO: IMEI packet received {"connection_id":172199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":172199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:44:54] local.INFO: TCP Data received {"connection_id":172198,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072554ce0012d196500071ff1280040014529..."} 
[2026-09-05 21:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072554ce0012d196500071ff1280040014529..."} 
[2026-09-05 21:44:54] local.INFO: Processing buffer {"connection_id":172198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072554ce0012d196500071ff1280040014529..."} 
[2026-09-05 21:44:54] local.INFO: Packet analysis {"connection_id":172198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07255"} 
[2026-09-05 21:44:54] local.INFO: Extracted packet for processing {"connection_id":172198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07255"} 
[2026-09-05 21:44:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887817472001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788624588000,"timestamp_ms":1788624588000,"timestamp_seconds":1788624588,"priority":1,"record_length":96,"hex_timestamp":"000001a072554ce0"} 
[2026-09-05 21:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:44:54] 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-09-05 21:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 21:44:54] 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-09-05 21:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887817472001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887817472001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:44:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:44:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887817472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":172198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:44:54] local.INFO: GPS data processed {"connection_id":172198,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:44:54] local.INFO: Acknowledgment sent {"connection_id":172198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:44:55] local.INFO: TCP Data received {"connection_id":172199,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:44:55] local.INFO: Processing buffer {"connection_id":172199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:44:55] local.INFO: IMEI packet received {"connection_id":172199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":172199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:44:56] local.INFO: TCP Data received {"connection_id":172199,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072570e18012d77a0c005f2a5a8001601032c..."} 
[2026-09-05 21:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072570e18012d77a0c005f2a5a8001601032c..."} 
[2026-09-05 21:44:56] local.INFO: Processing buffer {"connection_id":172199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072570e18012d77a0c005f2a5a8001601032c..."} 
[2026-09-05 21:44:56] local.INFO: Packet analysis {"connection_id":172199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07257"} 
[2026-09-05 21:44:56] local.INFO: Extracted packet for processing {"connection_id":172199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07257"} 
[2026-09-05 21:44:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":44,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887846912001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788624703000,"timestamp_ms":1788624703000,"timestamp_seconds":1788624703,"priority":1,"record_length":96,"hex_timestamp":"000001a072570e18"} 
[2026-09-05 21:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-05 21:44:56] 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-09-05 21:44:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887846912001,"66":25832,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887846912001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:44:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:44:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887846912001,"power":25832,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":172199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:44:56] local.INFO: GPS data processed {"connection_id":172199,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:44:56] local.INFO: Acknowledgment sent {"connection_id":172199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:45:25] local.INFO: TCP Data received {"connection_id":172198,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072554ce0012d196500071ff1280040014529..."} 
[2026-09-05 21:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072554ce0012d196500071ff1280040014529..."} 
[2026-09-05 21:45:25] local.INFO: Processing buffer {"connection_id":172198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072554ce0012d196500071ff1280040014529..."} 
[2026-09-05 21:45:25] local.INFO: Packet analysis {"connection_id":172198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07255"} 
[2026-09-05 21:45:25] local.INFO: Extracted packet for processing {"connection_id":172198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07255"} 
[2026-09-05 21:45:25] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887817472001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788624588000,"timestamp_ms":1788624588000,"timestamp_seconds":1788624588,"priority":1,"record_length":96,"hex_timestamp":"000001a072554ce0"} 
[2026-09-05 21:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:45:25] 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-09-05 21:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 21:45:25] 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-09-05 21:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887817472001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887817472001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:45:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:45:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887817472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":172198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:45:25] local.INFO: GPS data processed {"connection_id":172198,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:45:25] local.INFO: Acknowledgment sent {"connection_id":172198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:45:28] local.INFO: TCP Data received {"connection_id":172199,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072570e18012d77a0c005f2a5a8001601032c..."} 
[2026-09-05 21:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072570e18012d77a0c005f2a5a8001601032c..."} 
[2026-09-05 21:45:28] local.INFO: Processing buffer {"connection_id":172199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072570e18012d77a0c005f2a5a8001601032c..."} 
[2026-09-05 21:45:28] local.INFO: Packet analysis {"connection_id":172199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07257"} 
[2026-09-05 21:45:28] local.INFO: Extracted packet for processing {"connection_id":172199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07257"} 
[2026-09-05 21:45:28] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":44,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887846912001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788624703000,"timestamp_ms":1788624703000,"timestamp_seconds":1788624703,"priority":1,"record_length":96,"hex_timestamp":"000001a072570e18"} 
[2026-09-05 21:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:45:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-05 21:45:28] 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-09-05 21:45:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887846912001,"66":25832,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887846912001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:45:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:45:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887846912001,"power":25832,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":172199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:45:28] local.INFO: GPS data processed {"connection_id":172199,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:45:28] local.INFO: Acknowledgment sent {"connection_id":172199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:45:44] local.INFO: TCP Data received {"connection_id":171947,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:45:44] local.INFO: Processing buffer {"connection_id":171947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:45:44] local.INFO: IMEI packet received {"connection_id":171947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":171947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:45:49] local.INFO: TCP Data received {"connection_id":171947,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:45:49] local.INFO: Processing buffer {"connection_id":171947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:45:49] local.INFO: IMEI packet received {"connection_id":171947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":171947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:45:49] local.INFO: TCP Data received {"connection_id":174643,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:45:49] local.INFO: Processing buffer {"connection_id":174643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:45:49] local.INFO: IMEI packet received {"connection_id":174643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":174643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:45:50] local.INFO: TCP Data received {"connection_id":171947,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07259e4a8012d196500071ff1280040014526..."} 
[2026-09-05 21:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07259e4a8012d196500071ff1280040014526..."} 
[2026-09-05 21:45:50] local.INFO: Processing buffer {"connection_id":171947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07259e4a8012d196500071ff1280040014526..."} 
[2026-09-05 21:45:50] local.INFO: Packet analysis {"connection_id":171947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07259"} 
[2026-09-05 21:45:50] local.INFO: Extracted packet for processing {"connection_id":171947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07259"} 
[2026-09-05 21:45:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887894528001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:45:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788624889000,"timestamp_ms":1788624889000,"timestamp_seconds":1788624889,"priority":1,"record_length":96,"hex_timestamp":"000001a07259e4a8"} 
[2026-09-05 21:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:45:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:45:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887894528001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887894528001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:45:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:45:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:45:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887894528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":171947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:45:50] local.INFO: GPS data processed {"connection_id":171947,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:45:50] local.INFO: Acknowledgment sent {"connection_id":171947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:45:55] local.INFO: TCP Data received {"connection_id":174643,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:45:55] local.INFO: Processing buffer {"connection_id":174643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:45:55] local.INFO: IMEI packet received {"connection_id":174643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":174643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:45:56] local.INFO: TCP Data received {"connection_id":174643,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072570e18012d77a0c005f2a5a8001601032c..."} 
[2026-09-05 21:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072570e18012d77a0c005f2a5a8001601032c..."} 
[2026-09-05 21:45:56] local.INFO: Processing buffer {"connection_id":174643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072570e18012d77a0c005f2a5a8001601032c..."} 
[2026-09-05 21:45:56] local.INFO: Packet analysis {"connection_id":174643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07257"} 
[2026-09-05 21:45:56] local.INFO: Extracted packet for processing {"connection_id":174643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07257"} 
[2026-09-05 21:45:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":44,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887846912001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788624703000,"timestamp_ms":1788624703000,"timestamp_seconds":1788624703,"priority":1,"record_length":96,"hex_timestamp":"000001a072570e18"} 
[2026-09-05 21:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-05 21:45:56] 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-09-05 21:45:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887846912001,"66":25832,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887846912001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:45:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:45:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887846912001,"power":25832,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":174643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:45:56] local.INFO: GPS data processed {"connection_id":174643,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:45:56] local.INFO: Acknowledgment sent {"connection_id":174643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:46:21] local.INFO: TCP Data received {"connection_id":171947,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07259e4a8012d196500071ff1280040014526..."} 
[2026-09-05 21:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07259e4a8012d196500071ff1280040014526..."} 
[2026-09-05 21:46:21] local.INFO: Processing buffer {"connection_id":171947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07259e4a8012d196500071ff1280040014526..."} 
[2026-09-05 21:46:21] local.INFO: Packet analysis {"connection_id":171947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07259"} 
[2026-09-05 21:46:21] local.INFO: Extracted packet for processing {"connection_id":171947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07259"} 
[2026-09-05 21:46:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887894528001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788624889000,"timestamp_ms":1788624889000,"timestamp_seconds":1788624889,"priority":1,"record_length":96,"hex_timestamp":"000001a07259e4a8"} 
[2026-09-05 21:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:46:21] 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-09-05 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21: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-09-05 21:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887894528001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887894528001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:46:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:46:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887894528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":171947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:46:21] local.INFO: GPS data processed {"connection_id":171947,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:46:21] local.INFO: Acknowledgment sent {"connection_id":171947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:46:27] local.INFO: TCP Data received {"connection_id":174643,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072570e18012d77a0c005f2a5a8001601032c..."} 
[2026-09-05 21:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072570e18012d77a0c005f2a5a8001601032c..."} 
[2026-09-05 21:46:27] local.INFO: Processing buffer {"connection_id":174643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072570e18012d77a0c005f2a5a8001601032c..."} 
[2026-09-05 21:46:27] local.INFO: Packet analysis {"connection_id":174643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07257"} 
[2026-09-05 21:46:27] local.INFO: Extracted packet for processing {"connection_id":174643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07257"} 
[2026-09-05 21:46:27] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":44,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887846912001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788624703000,"timestamp_ms":1788624703000,"timestamp_seconds":1788624703,"priority":1,"record_length":96,"hex_timestamp":"000001a072570e18"} 
[2026-09-05 21:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-05 21:46:27] 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-09-05 21:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887846912001,"66":25832,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887846912001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:46:27] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:46:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887846912001,"power":25832,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":174643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:46:27] local.INFO: GPS data processed {"connection_id":174643,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:46:27] local.INFO: Acknowledgment sent {"connection_id":174643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:46:43] local.INFO: TCP Data received {"connection_id":171948,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:46:43] local.INFO: Processing buffer {"connection_id":171948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:46:43] local.INFO: IMEI packet received {"connection_id":171948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":171948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:46:49] local.INFO: TCP Data received {"connection_id":171948,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:46:49] local.INFO: Processing buffer {"connection_id":171948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:46:49] local.INFO: IMEI packet received {"connection_id":171948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":171948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:46:49] local.INFO: TCP Data received {"connection_id":173320,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:46:49] local.INFO: Processing buffer {"connection_id":173320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:46:49] local.INFO: IMEI packet received {"connection_id":173320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":173320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:46:50] local.INFO: TCP Data received {"connection_id":171948,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07259e4a8012d196500071ff1280040014526..."} 
[2026-09-05 21:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07259e4a8012d196500071ff1280040014526..."} 
[2026-09-05 21:46:50] local.INFO: Processing buffer {"connection_id":171948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07259e4a8012d196500071ff1280040014526..."} 
[2026-09-05 21:46:50] local.INFO: Packet analysis {"connection_id":171948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07259"} 
[2026-09-05 21:46:50] local.INFO: Extracted packet for processing {"connection_id":171948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07259"} 
[2026-09-05 21:46:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887894528001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788624889000,"timestamp_ms":1788624889000,"timestamp_seconds":1788624889,"priority":1,"record_length":96,"hex_timestamp":"000001a07259e4a8"} 
[2026-09-05 21:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:46:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:46:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887894528001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887894528001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:46:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:46:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887894528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":171948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:46:50] local.INFO: GPS data processed {"connection_id":171948,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:46:50] local.INFO: Acknowledgment sent {"connection_id":171948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:46:55] local.INFO: TCP Data received {"connection_id":173320,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:46:55] local.INFO: Processing buffer {"connection_id":173320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:46:55] local.INFO: IMEI packet received {"connection_id":173320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":173320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:46:56] local.INFO: TCP Data received {"connection_id":173320,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072570e18012d77a0c005f2a5a8001601032c..."} 
[2026-09-05 21:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072570e18012d77a0c005f2a5a8001601032c..."} 
[2026-09-05 21:46:56] local.INFO: Processing buffer {"connection_id":173320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072570e18012d77a0c005f2a5a8001601032c..."} 
[2026-09-05 21:46:56] local.INFO: Packet analysis {"connection_id":173320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07257"} 
[2026-09-05 21:46:56] local.INFO: Extracted packet for processing {"connection_id":173320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07257"} 
[2026-09-05 21:46:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":44,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:46: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-09-05 21:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887846912001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788624703000,"timestamp_ms":1788624703000,"timestamp_seconds":1788624703,"priority":1,"record_length":96,"hex_timestamp":"000001a072570e18"} 
[2026-09-05 21:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-05 21:46:56] 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-09-05 21:46: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-09-05 21:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887846912001,"66":25832,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887846912001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:46:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:46:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887846912001,"power":25832,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":173320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:46:56] local.INFO: GPS data processed {"connection_id":173320,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:46:56] local.INFO: Acknowledgment sent {"connection_id":173320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:47:21] local.INFO: TCP Data received {"connection_id":171948,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07259e4a8012d196500071ff1280040014526..."} 
[2026-09-05 21:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07259e4a8012d196500071ff1280040014526..."} 
[2026-09-05 21:47:21] local.INFO: Processing buffer {"connection_id":171948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07259e4a8012d196500071ff1280040014526..."} 
[2026-09-05 21:47:21] local.INFO: Packet analysis {"connection_id":171948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07259"} 
[2026-09-05 21:47:21] local.INFO: Extracted packet for processing {"connection_id":171948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07259"} 
[2026-09-05 21:47:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887894528001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788624889000,"timestamp_ms":1788624889000,"timestamp_seconds":1788624889,"priority":1,"record_length":96,"hex_timestamp":"000001a07259e4a8"} 
[2026-09-05 21:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:47:21] 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-09-05 21:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887894528001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887894528001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:47:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:47:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887894528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":171948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:47:21] local.INFO: GPS data processed {"connection_id":171948,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:47:21] local.INFO: Acknowledgment sent {"connection_id":171948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:47:28] local.INFO: TCP Data received {"connection_id":173320,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0725ba5e0012d77a0c005f2a5a8001601032d..."} 
[2026-09-05 21:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0725ba5e0012d77a0c005f2a5a8001601032d..."} 
[2026-09-05 21:47:28] local.INFO: Processing buffer {"connection_id":173320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0725ba5e0012d77a0c005f2a5a8001601032d..."} 
[2026-09-05 21:47:28] local.INFO: Packet analysis {"connection_id":173320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0725b"} 
[2026-09-05 21:47:28] local.INFO: Extracted packet for processing {"connection_id":173320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0725b"} 
[2026-09-05 21:47:28] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":45,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887923968001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788625004000,"timestamp_ms":1788625004000,"timestamp_seconds":1788625004,"priority":1,"record_length":96,"hex_timestamp":"000001a0725ba5e0"} 
[2026-09-05 21:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-05 21:47:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887923968001,"66":25778,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887923968001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:47:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:47:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887923968001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":173320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:47:28] local.INFO: GPS data processed {"connection_id":173320,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:47:28] local.INFO: Acknowledgment sent {"connection_id":173320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:47:43] local.INFO: TCP Data received {"connection_id":172200,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:47:43] local.INFO: Processing buffer {"connection_id":172200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:47:43] local.INFO: IMEI packet received {"connection_id":172200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":172200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:47:49] local.INFO: TCP Data received {"connection_id":172200,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:47:49] local.INFO: Processing buffer {"connection_id":172200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:47:49] local.INFO: IMEI packet received {"connection_id":172200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":172200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:47:50] local.INFO: TCP Data received {"connection_id":172200,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07259e4a8012d196500071ff1280040014526..."} 
[2026-09-05 21:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07259e4a8012d196500071ff1280040014526..."} 
[2026-09-05 21:47:50] local.INFO: Processing buffer {"connection_id":172200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07259e4a8012d196500071ff1280040014526..."} 
[2026-09-05 21:47:50] local.INFO: Packet analysis {"connection_id":172200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07259"} 
[2026-09-05 21:47:50] local.INFO: Extracted packet for processing {"connection_id":172200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07259"} 
[2026-09-05 21:47:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887894528001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788624889000,"timestamp_ms":1788624889000,"timestamp_seconds":1788624889,"priority":1,"record_length":96,"hex_timestamp":"000001a07259e4a8"} 
[2026-09-05 21:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887894528001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887894528001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:47:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:47:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887894528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":172200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:47:50] local.INFO: GPS data processed {"connection_id":172200,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:47:50] local.INFO: Acknowledgment sent {"connection_id":172200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:47:55] local.INFO: TCP Data received {"connection_id":173321,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:47:55] local.INFO: Processing buffer {"connection_id":173321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:47:55] local.INFO: IMEI packet received {"connection_id":173321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":173321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:48:00] local.INFO: TCP Data received {"connection_id":173321,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:48:00] local.INFO: Processing buffer {"connection_id":173321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:48:00] local.INFO: IMEI packet received {"connection_id":173321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":173321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:48:01] local.INFO: TCP Data received {"connection_id":173321,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0725ba5e0012d77a0c005f2a5a8001601032d..."} 
[2026-09-05 21:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0725ba5e0012d77a0c005f2a5a8001601032d..."} 
[2026-09-05 21:48:01] local.INFO: Processing buffer {"connection_id":173321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0725ba5e0012d77a0c005f2a5a8001601032d..."} 
[2026-09-05 21:48:01] local.INFO: Packet analysis {"connection_id":173321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0725b"} 
[2026-09-05 21:48:01] local.INFO: Extracted packet for processing {"connection_id":173321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0725b"} 
[2026-09-05 21:48:01] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":45,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887923968001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:48:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788625004000,"timestamp_ms":1788625004000,"timestamp_seconds":1788625004,"priority":1,"record_length":96,"hex_timestamp":"000001a0725ba5e0"} 
[2026-09-05 21:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:48:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-05 21:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:48:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887923968001,"66":25778,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887923968001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:48:01] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:48:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887923968001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":173321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:48:01] local.INFO: GPS data processed {"connection_id":173321,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:48:01] local.INFO: Acknowledgment sent {"connection_id":173321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:48:06] local.INFO: TCP Data received {"connection_id":171949,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:48:06] local.INFO: Processing buffer {"connection_id":171949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 21:48:06] local.INFO: IMEI packet received {"connection_id":171949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 21:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":171949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:48:21] local.INFO: TCP Data received {"connection_id":172200,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07259e4a8012d196500071ff1280040014526..."} 
[2026-09-05 21:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07259e4a8012d196500071ff1280040014526..."} 
[2026-09-05 21:48:21] local.INFO: Processing buffer {"connection_id":172200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07259e4a8012d196500071ff1280040014526..."} 
[2026-09-05 21:48:21] local.INFO: Packet analysis {"connection_id":172200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07259"} 
[2026-09-05 21:48:21] local.INFO: Extracted packet for processing {"connection_id":172200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07259"} 
[2026-09-05 21:48:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887894528001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788624889000,"timestamp_ms":1788624889000,"timestamp_seconds":1788624889,"priority":1,"record_length":96,"hex_timestamp":"000001a07259e4a8"} 
[2026-09-05 21:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:48:21] 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-09-05 21:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887894528001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887894528001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:48:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:48:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887894528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":172200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:48:21] local.INFO: GPS data processed {"connection_id":172200,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:48:21] local.INFO: Acknowledgment sent {"connection_id":172200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:48:33] local.INFO: TCP Data received {"connection_id":173321,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0725ba5e0012d77a0c005f2a5a8001601032d..."} 
[2026-09-05 21:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0725ba5e0012d77a0c005f2a5a8001601032d..."} 
[2026-09-05 21:48:33] local.INFO: Processing buffer {"connection_id":173321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0725ba5e0012d77a0c005f2a5a8001601032d..."} 
[2026-09-05 21:48:33] local.INFO: Packet analysis {"connection_id":173321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0725b"} 
[2026-09-05 21:48:33] local.INFO: Extracted packet for processing {"connection_id":173321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0725b"} 
[2026-09-05 21:48:33] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":45,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887923968001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:48: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-09-05 21:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788625004000,"timestamp_ms":1788625004000,"timestamp_seconds":1788625004,"priority":1,"record_length":96,"hex_timestamp":"000001a0725ba5e0"} 
[2026-09-05 21:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-05 21:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887923968001,"66":25778,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887923968001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:48:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:48:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887923968001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":173321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:48:33] local.INFO: GPS data processed {"connection_id":173321,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:48:33] local.INFO: Acknowledgment sent {"connection_id":173321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:48:49] local.INFO: TCP Data received {"connection_id":172201,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:48:49] local.INFO: Processing buffer {"connection_id":172201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:48:49] local.INFO: IMEI packet received {"connection_id":172201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":172201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:48:49] local.INFO: TCP Data received {"connection_id":171951,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:48:49] local.INFO: Processing buffer {"connection_id":171951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:48:49] local.INFO: IMEI packet received {"connection_id":171951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":171951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:48:54] local.INFO: TCP Data received {"connection_id":172201,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:48:54] local.INFO: Processing buffer {"connection_id":172201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:48:54] local.INFO: IMEI packet received {"connection_id":172201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":172201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:48:55] local.INFO: TCP Data received {"connection_id":172201,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07259e4a8012d196500071ff1280040014526..."} 
[2026-09-05 21:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07259e4a8012d196500071ff1280040014526..."} 
[2026-09-05 21:48:55] local.INFO: Processing buffer {"connection_id":172201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07259e4a8012d196500071ff1280040014526..."} 
[2026-09-05 21:48:55] local.INFO: Packet analysis {"connection_id":172201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07259"} 
[2026-09-05 21:48:55] local.INFO: Extracted packet for processing {"connection_id":172201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07259"} 
[2026-09-05 21:48:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887894528001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788624889000,"timestamp_ms":1788624889000,"timestamp_seconds":1788624889,"priority":1,"record_length":96,"hex_timestamp":"000001a07259e4a8"} 
[2026-09-05 21:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:48:55] 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-09-05 21:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:48:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887894528001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887894528001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:48:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:48:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887894528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":172201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:48:55] local.INFO: GPS data processed {"connection_id":172201,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:48:55] local.INFO: Acknowledgment sent {"connection_id":172201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:48:55] local.INFO: TCP Data received {"connection_id":171951,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:48:55] local.INFO: Processing buffer {"connection_id":171951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:48:55] local.INFO: IMEI packet received {"connection_id":171951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":171951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:48:56] local.INFO: TCP Data received {"connection_id":171951,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0725ba5e0012d77a0c005f2a5a8001601032d..."} 
[2026-09-05 21:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0725ba5e0012d77a0c005f2a5a8001601032d..."} 
[2026-09-05 21:48:56] local.INFO: Processing buffer {"connection_id":171951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0725ba5e0012d77a0c005f2a5a8001601032d..."} 
[2026-09-05 21:48:56] local.INFO: Packet analysis {"connection_id":171951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0725b"} 
[2026-09-05 21:48:56] local.INFO: Extracted packet for processing {"connection_id":171951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0725b"} 
[2026-09-05 21:48:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":45,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887923968001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788625004000,"timestamp_ms":1788625004000,"timestamp_seconds":1788625004,"priority":1,"record_length":96,"hex_timestamp":"000001a0725ba5e0"} 
[2026-09-05 21:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-05 21:48:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:48:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887923968001,"66":25778,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887923968001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:48:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:48:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887923968001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":171951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:48:56] local.INFO: GPS data processed {"connection_id":171951,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:48:56] local.INFO: Acknowledgment sent {"connection_id":171951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:48:59] local.INFO: TCP Data received {"connection_id":172201,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07259e4a8012d196500071ff1280040014526..."} 
[2026-09-05 21:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07259e4a8012d196500071ff1280040014526..."} 
[2026-09-05 21:48:59] local.INFO: Processing buffer {"connection_id":172201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07259e4a8012d196500071ff1280040014526..."} 
[2026-09-05 21:48:59] local.INFO: Packet analysis {"connection_id":172201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07259"} 
[2026-09-05 21:48:59] local.INFO: Extracted packet for processing {"connection_id":172201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07259"} 
[2026-09-05 21:48:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887894528001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788624889000,"timestamp_ms":1788624889000,"timestamp_seconds":1788624889,"priority":1,"record_length":96,"hex_timestamp":"000001a07259e4a8"} 
[2026-09-05 21:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:48:59] 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-09-05 21:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:48:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887894528001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887894528001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:48:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:48:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887894528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":172201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:48:59] local.INFO: GPS data processed {"connection_id":172201,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:48:59] local.INFO: Acknowledgment sent {"connection_id":172201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:49:28] local.INFO: TCP Data received {"connection_id":171951,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0725ba5e0012d77a0c005f2a5a8001601032d..."} 
[2026-09-05 21:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0725ba5e0012d77a0c005f2a5a8001601032d..."} 
[2026-09-05 21:49:28] local.INFO: Processing buffer {"connection_id":171951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0725ba5e0012d77a0c005f2a5a8001601032d..."} 
[2026-09-05 21:49:28] local.INFO: Packet analysis {"connection_id":171951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0725b"} 
[2026-09-05 21:49:28] local.INFO: Extracted packet for processing {"connection_id":171951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0725b"} 
[2026-09-05 21:49:28] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":45,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887923968001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788625004000,"timestamp_ms":1788625004000,"timestamp_seconds":1788625004,"priority":1,"record_length":96,"hex_timestamp":"000001a0725ba5e0"} 
[2026-09-05 21:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-05 21:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":171951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":171951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":171951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887923968001,"66":25778,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887923968001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:49:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:49:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887923968001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":171951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:49:28] local.INFO: GPS data processed {"connection_id":171951,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:49:28] local.INFO: Acknowledgment sent {"connection_id":171951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:49:44] local.INFO: TCP Data received {"connection_id":174644,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:49:44] local.INFO: Processing buffer {"connection_id":174644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:49:44] local.INFO: IMEI packet received {"connection_id":174644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":174644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:49:49] local.INFO: TCP Data received {"connection_id":174644,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:49:49] local.INFO: Processing buffer {"connection_id":174644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:49:49] local.INFO: IMEI packet received {"connection_id":174644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":174644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:49:50] local.INFO: TCP Data received {"connection_id":174644,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07259e4a8012d196500071ff1280040014526..."} 
[2026-09-05 21:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07259e4a8012d196500071ff1280040014526..."} 
[2026-09-05 21:49:50] local.INFO: Processing buffer {"connection_id":174644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07259e4a8012d196500071ff1280040014526..."} 
[2026-09-05 21:49:50] local.INFO: Packet analysis {"connection_id":174644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07259"} 
[2026-09-05 21:49:50] local.INFO: Extracted packet for processing {"connection_id":174644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07259"} 
[2026-09-05 21:49:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887894528001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788624889000,"timestamp_ms":1788624889000,"timestamp_seconds":1788624889,"priority":1,"record_length":96,"hex_timestamp":"000001a07259e4a8"} 
[2026-09-05 21:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:49:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:49:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:49:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887894528001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887894528001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:49:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:49:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887894528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":174644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:49:50] local.INFO: GPS data processed {"connection_id":174644,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:49:50] local.INFO: Acknowledgment sent {"connection_id":174644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:49:55] local.INFO: TCP Data received {"connection_id":173323,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:49:55] local.INFO: Processing buffer {"connection_id":173323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:49:55] local.INFO: IMEI packet received {"connection_id":173323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":173323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:50:00] local.INFO: TCP Data received {"connection_id":173323,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:50:00] local.INFO: Processing buffer {"connection_id":173323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:50:00] local.INFO: IMEI packet received {"connection_id":173323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":173323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:50:01] local.INFO: TCP Data received {"connection_id":173323,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0725ba5e0012d77a0c005f2a5a8001601032d..."} 
[2026-09-05 21:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0725ba5e0012d77a0c005f2a5a8001601032d..."} 
[2026-09-05 21:50:01] local.INFO: Processing buffer {"connection_id":173323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0725ba5e0012d77a0c005f2a5a8001601032d..."} 
[2026-09-05 21:50:01] local.INFO: Packet analysis {"connection_id":173323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0725b"} 
[2026-09-05 21:50:01] local.INFO: Extracted packet for processing {"connection_id":173323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0725b"} 
[2026-09-05 21:50:01] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":45,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887923968001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788625004000,"timestamp_ms":1788625004000,"timestamp_seconds":1788625004,"priority":1,"record_length":96,"hex_timestamp":"000001a0725ba5e0"} 
[2026-09-05 21:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-05 21:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887923968001,"66":25778,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887923968001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:50:01] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:50:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887923968001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":173323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:50:01] local.INFO: GPS data processed {"connection_id":173323,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:50:01] local.INFO: Acknowledgment sent {"connection_id":173323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:50:06] local.INFO: TCP Data received {"connection_id":173323,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0725ba5e0012d77a0c005f2a5a8001601032d..."} 
[2026-09-05 21:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0725ba5e0012d77a0c005f2a5a8001601032d..."} 
[2026-09-05 21:50:06] local.INFO: Processing buffer {"connection_id":173323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0725ba5e0012d77a0c005f2a5a8001601032d..."} 
[2026-09-05 21:50:06] local.INFO: Packet analysis {"connection_id":173323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0725b"} 
[2026-09-05 21:50:06] local.INFO: Extracted packet for processing {"connection_id":173323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0725b"} 
[2026-09-05 21:50:06] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":45,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887923968001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:50: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-09-05 21:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788625004000,"timestamp_ms":1788625004000,"timestamp_seconds":1788625004,"priority":1,"record_length":96,"hex_timestamp":"000001a0725ba5e0"} 
[2026-09-05 21:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-05 21:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21: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-09-05 21:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887923968001,"66":25778,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887923968001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:50:06] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:50:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887923968001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":173323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:50:06] local.INFO: GPS data processed {"connection_id":173323,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:50:06] local.INFO: Acknowledgment sent {"connection_id":173323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:50:21] local.INFO: TCP Data received {"connection_id":174644,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07259e4a8012d196500071ff1280040014526..."} 
[2026-09-05 21:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07259e4a8012d196500071ff1280040014526..."} 
[2026-09-05 21:50:21] local.INFO: Processing buffer {"connection_id":174644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07259e4a8012d196500071ff1280040014526..."} 
[2026-09-05 21:50:21] local.INFO: Packet analysis {"connection_id":174644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07259"} 
[2026-09-05 21:50:21] local.INFO: Extracted packet for processing {"connection_id":174644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07259"} 
[2026-09-05 21:50:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887894528001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788624889000,"timestamp_ms":1788624889000,"timestamp_seconds":1788624889,"priority":1,"record_length":96,"hex_timestamp":"000001a07259e4a8"} 
[2026-09-05 21:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:50:21] 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-09-05 21:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 21:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887894528001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887894528001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:50:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:50:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887894528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":174644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:50:21] local.INFO: GPS data processed {"connection_id":174644,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:50:21] local.INFO: Acknowledgment sent {"connection_id":174644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:50:44] local.INFO: TCP Data received {"connection_id":172202,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:50:44] local.INFO: Processing buffer {"connection_id":172202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:50:44] local.INFO: IMEI packet received {"connection_id":172202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":172202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:50:49] local.INFO: TCP Data received {"connection_id":172202,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:50:49] local.INFO: Processing buffer {"connection_id":172202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:50:49] local.INFO: IMEI packet received {"connection_id":172202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":172202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:50:50] local.INFO: TCP Data received {"connection_id":172202,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0725e7c70012d196500071ff1280040014529..."} 
[2026-09-05 21:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0725e7c70012d196500071ff1280040014529..."} 
[2026-09-05 21:50:50] local.INFO: Processing buffer {"connection_id":172202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0725e7c70012d196500071ff1280040014529..."} 
[2026-09-05 21:50:50] local.INFO: Packet analysis {"connection_id":172202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0725e"} 
[2026-09-05 21:50:50] local.INFO: Extracted packet for processing {"connection_id":172202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0725e"} 
[2026-09-05 21:50:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887971584001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788625190000,"timestamp_ms":1788625190000,"timestamp_seconds":1788625190,"priority":1,"record_length":96,"hex_timestamp":"000001a0725e7c70"} 
[2026-09-05 21:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:50:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887971584001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887971584001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:50:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:50:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887971584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":172202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:50:50] local.INFO: GPS data processed {"connection_id":172202,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:50:50] local.INFO: Acknowledgment sent {"connection_id":172202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:50:50] local.INFO: TCP Data received {"connection_id":172204,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:50:50] local.INFO: Processing buffer {"connection_id":172204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:50:50] local.INFO: IMEI packet received {"connection_id":172204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":172204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:50:55] local.INFO: TCP Data received {"connection_id":172204,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:50:55] local.INFO: Processing buffer {"connection_id":172204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:50:55] local.INFO: IMEI packet received {"connection_id":172204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":172204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:50:57] local.INFO: TCP Data received {"connection_id":172204,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0725ba5e0012d77a0c005f2a5a8001601032d..."} 
[2026-09-05 21:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0725ba5e0012d77a0c005f2a5a8001601032d..."} 
[2026-09-05 21:50:57] local.INFO: Processing buffer {"connection_id":172204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0725ba5e0012d77a0c005f2a5a8001601032d..."} 
[2026-09-05 21:50:57] local.INFO: Packet analysis {"connection_id":172204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0725b"} 
[2026-09-05 21:50:57] local.INFO: Extracted packet for processing {"connection_id":172204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0725b"} 
[2026-09-05 21:50:57] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":45,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887923968001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788625004000,"timestamp_ms":1788625004000,"timestamp_seconds":1788625004,"priority":1,"record_length":96,"hex_timestamp":"000001a0725ba5e0"} 
[2026-09-05 21:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:50:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-05 21:50:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:50:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887923968001,"66":25778,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887923968001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:50:57] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:50:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887923968001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":172204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:50:57] local.INFO: GPS data processed {"connection_id":172204,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:50:57] local.INFO: Acknowledgment sent {"connection_id":172204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:51:21] local.INFO: TCP Data received {"connection_id":172202,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0725e7c70012d196500071ff1280040014529..."} 
[2026-09-05 21:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0725e7c70012d196500071ff1280040014529..."} 
[2026-09-05 21:51:21] local.INFO: Processing buffer {"connection_id":172202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0725e7c70012d196500071ff1280040014529..."} 
[2026-09-05 21:51:21] local.INFO: Packet analysis {"connection_id":172202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0725e"} 
[2026-09-05 21:51:21] local.INFO: Extracted packet for processing {"connection_id":172202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0725e"} 
[2026-09-05 21:51:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887971584001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788625190000,"timestamp_ms":1788625190000,"timestamp_seconds":1788625190,"priority":1,"record_length":96,"hex_timestamp":"000001a0725e7c70"} 
[2026-09-05 21:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:51:21] 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-09-05 21:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887971584001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887971584001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:51:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:51:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887971584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":172202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:51:21] local.INFO: GPS data processed {"connection_id":172202,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:51:21] local.INFO: Acknowledgment sent {"connection_id":172202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:51:32] local.INFO: TCP Data received {"connection_id":172204,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0725ba5e0012d77a0c005f2a5a8001601032d..."} 
[2026-09-05 21:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0725ba5e0012d77a0c005f2a5a8001601032d..."} 
[2026-09-05 21:51:32] local.INFO: Processing buffer {"connection_id":172204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0725ba5e0012d77a0c005f2a5a8001601032d..."} 
[2026-09-05 21:51:32] local.INFO: Packet analysis {"connection_id":172204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0725b"} 
[2026-09-05 21:51:32] local.INFO: Extracted packet for processing {"connection_id":172204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0725b"} 
[2026-09-05 21:51:32] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":45,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 21:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887923968001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:51: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-09-05 21:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788625004000,"timestamp_ms":1788625004000,"timestamp_seconds":1788625004,"priority":1,"record_length":96,"hex_timestamp":"000001a0725ba5e0"} 
[2026-09-05 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-09-05 21:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-05 21:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 21:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887923968001,"66":25778,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887923968001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:51:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:51:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887923968001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":172204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:51:32] local.INFO: GPS data processed {"connection_id":172204,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:51:32] local.INFO: Acknowledgment sent {"connection_id":172204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:51:43] local.INFO: TCP Data received {"connection_id":174645,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:51:43] local.INFO: Processing buffer {"connection_id":174645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:51:43] local.INFO: IMEI packet received {"connection_id":174645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":174645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:51:49] local.INFO: TCP Data received {"connection_id":174645,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:51:49] local.INFO: Processing buffer {"connection_id":174645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:51:49] local.INFO: IMEI packet received {"connection_id":174645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":174645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:51:49] local.INFO: TCP Data received {"connection_id":174647,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:51:49] local.INFO: Processing buffer {"connection_id":174647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:51:49] local.INFO: IMEI packet received {"connection_id":174647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":174647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:51:50] local.INFO: TCP Data received {"connection_id":174645,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0725e7c70012d196500071ff1280040014529..."} 
[2026-09-05 21:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0725e7c70012d196500071ff1280040014529..."} 
[2026-09-05 21:51:50] local.INFO: Processing buffer {"connection_id":174645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0725e7c70012d196500071ff1280040014529..."} 
[2026-09-05 21:51:50] local.INFO: Packet analysis {"connection_id":174645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0725e"} 
[2026-09-05 21:51:50] local.INFO: Extracted packet for processing {"connection_id":174645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0725e"} 
[2026-09-05 21:51:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887971584001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788625190000,"timestamp_ms":1788625190000,"timestamp_seconds":1788625190,"priority":1,"record_length":96,"hex_timestamp":"000001a0725e7c70"} 
[2026-09-05 21:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:51:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887971584001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887971584001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:51:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:51:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887971584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":174645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:51:50] local.INFO: GPS data processed {"connection_id":174645,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:51:50] local.INFO: Acknowledgment sent {"connection_id":174645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:51:55] local.INFO: TCP Data received {"connection_id":174647,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:51:55] local.INFO: Processing buffer {"connection_id":174647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:51:55] local.INFO: IMEI packet received {"connection_id":174647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":174647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:51:56] local.INFO: TCP Data received {"connection_id":174647,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0725ba5e0012d77a0c005f2a5a8001601032d..."} 
[2026-09-05 21:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0725ba5e0012d77a0c005f2a5a8001601032d..."} 
[2026-09-05 21:51:56] local.INFO: Processing buffer {"connection_id":174647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0725ba5e0012d77a0c005f2a5a8001601032d..."} 
[2026-09-05 21:51:56] local.INFO: Packet analysis {"connection_id":174647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0725b"} 
[2026-09-05 21:51:56] local.INFO: Extracted packet for processing {"connection_id":174647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0725b"} 
[2026-09-05 21:51:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":45,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887923968001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788625004000,"timestamp_ms":1788625004000,"timestamp_seconds":1788625004,"priority":1,"record_length":96,"hex_timestamp":"000001a0725ba5e0"} 
[2026-09-05 21:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-05 21:51:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:51:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887923968001,"66":25778,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887923968001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:51:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:51:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887923968001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":174647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:51:56] local.INFO: GPS data processed {"connection_id":174647,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:51:56] local.INFO: Acknowledgment sent {"connection_id":174647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:52:21] local.INFO: TCP Data received {"connection_id":174645,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0725e7c70012d196500071ff1280040014529..."} 
[2026-09-05 21:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0725e7c70012d196500071ff1280040014529..."} 
[2026-09-05 21:52:21] local.INFO: Processing buffer {"connection_id":174645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0725e7c70012d196500071ff1280040014529..."} 
[2026-09-05 21:52:21] local.INFO: Packet analysis {"connection_id":174645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0725e"} 
[2026-09-05 21:52:21] local.INFO: Extracted packet for processing {"connection_id":174645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0725e"} 
[2026-09-05 21:52:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887971584001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788625190000,"timestamp_ms":1788625190000,"timestamp_seconds":1788625190,"priority":1,"record_length":96,"hex_timestamp":"000001a0725e7c70"} 
[2026-09-05 21:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:52:21] 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-09-05 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21: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-09-05 21:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887971584001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887971584001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:52:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:52:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887971584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":174645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:52:21] local.INFO: GPS data processed {"connection_id":174645,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:52:21] local.INFO: Acknowledgment sent {"connection_id":174645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:52:28] local.INFO: TCP Data received {"connection_id":174647,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072603da8012d77a0c005f2a5a80016010329..."} 
[2026-09-05 21:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072603da8012d77a0c005f2a5a80016010329..."} 
[2026-09-05 21:52:28] local.INFO: Processing buffer {"connection_id":174647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072603da8012d77a0c005f2a5a80016010329..."} 
[2026-09-05 21:52:28] local.INFO: Packet analysis {"connection_id":174647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07260"} 
[2026-09-05 21:52:28] local.INFO: Extracted packet for processing {"connection_id":174647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07260"} 
[2026-09-05 21:52:28] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":41,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888001024001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788625305000,"timestamp_ms":1788625305000,"timestamp_seconds":1788625305,"priority":1,"record_length":96,"hex_timestamp":"000001a072603da8"} 
[2026-09-05 21:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 21:52:28] 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-09-05 21:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888001024001,"66":25756,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888001024001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:52:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:52:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888001024001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":174647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:52:28] local.INFO: GPS data processed {"connection_id":174647,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:52:28] local.INFO: Acknowledgment sent {"connection_id":174647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:52:49] local.INFO: TCP Data received {"connection_id":174648,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:52:49] local.INFO: Processing buffer {"connection_id":174648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:52:49] local.INFO: IMEI packet received {"connection_id":174648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":174648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:52:54] local.INFO: TCP Data received {"connection_id":174648,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:52:54] local.INFO: Processing buffer {"connection_id":174648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:52:54] local.INFO: IMEI packet received {"connection_id":174648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":174648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:52:55] local.INFO: TCP Data received {"connection_id":174648,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0725e7c70012d196500071ff1280040014529..."} 
[2026-09-05 21:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0725e7c70012d196500071ff1280040014529..."} 
[2026-09-05 21:52:55] local.INFO: Processing buffer {"connection_id":174648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0725e7c70012d196500071ff1280040014529..."} 
[2026-09-05 21:52:55] local.INFO: Packet analysis {"connection_id":174648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0725e"} 
[2026-09-05 21:52:55] local.INFO: Extracted packet for processing {"connection_id":174648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0725e"} 
[2026-09-05 21:52:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887971584001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788625190000,"timestamp_ms":1788625190000,"timestamp_seconds":1788625190,"priority":1,"record_length":96,"hex_timestamp":"000001a0725e7c70"} 
[2026-09-05 21:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:52:55] 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-09-05 21:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887971584001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887971584001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:52:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:52:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887971584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":174648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:52:55] local.INFO: GPS data processed {"connection_id":174648,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:52:55] local.INFO: Acknowledgment sent {"connection_id":174648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:52:55] local.INFO: TCP Data received {"connection_id":171952,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:52:55] local.INFO: Processing buffer {"connection_id":171952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:52:55] local.INFO: IMEI packet received {"connection_id":171952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":171952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:52:59] local.INFO: TCP Data received {"connection_id":174648,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0725e7c70012d196500071ff1280040014529..."} 
[2026-09-05 21:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0725e7c70012d196500071ff1280040014529..."} 
[2026-09-05 21:52:59] local.INFO: Processing buffer {"connection_id":174648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0725e7c70012d196500071ff1280040014529..."} 
[2026-09-05 21:52:59] local.INFO: Packet analysis {"connection_id":174648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0725e"} 
[2026-09-05 21:52:59] local.INFO: Extracted packet for processing {"connection_id":174648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0725e"} 
[2026-09-05 21:52:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887971584001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788625190000,"timestamp_ms":1788625190000,"timestamp_seconds":1788625190,"priority":1,"record_length":96,"hex_timestamp":"000001a0725e7c70"} 
[2026-09-05 21:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:52:59] 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-09-05 21:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887971584001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887971584001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:52:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:52:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887971584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":174648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:52:59] local.INFO: GPS data processed {"connection_id":174648,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:52:59] local.INFO: Acknowledgment sent {"connection_id":174648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:53:00] local.INFO: TCP Data received {"connection_id":171952,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:53:00] local.INFO: Processing buffer {"connection_id":171952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:53:00] local.INFO: IMEI packet received {"connection_id":171952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":171952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:53:01] local.INFO: TCP Data received {"connection_id":171952,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072603da8012d77a0c005f2a5a80016010329..."} 
[2026-09-05 21:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072603da8012d77a0c005f2a5a80016010329..."} 
[2026-09-05 21:53:01] local.INFO: Processing buffer {"connection_id":171952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072603da8012d77a0c005f2a5a80016010329..."} 
[2026-09-05 21:53:01] local.INFO: Packet analysis {"connection_id":171952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07260"} 
[2026-09-05 21:53:01] local.INFO: Extracted packet for processing {"connection_id":171952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07260"} 
[2026-09-05 21:53:01] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":41,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888001024001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788625305000,"timestamp_ms":1788625305000,"timestamp_seconds":1788625305,"priority":1,"record_length":96,"hex_timestamp":"000001a072603da8"} 
[2026-09-05 21:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:53:01] 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-09-05 21:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 21:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":171952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":171952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":171952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888001024001,"66":25756,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888001024001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:53:01] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:53:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888001024001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":171952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:53:01] local.INFO: GPS data processed {"connection_id":171952,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:53:01] local.INFO: Acknowledgment sent {"connection_id":171952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:53:33] local.INFO: TCP Data received {"connection_id":171952,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072603da8012d77a0c005f2a5a80016010329..."} 
[2026-09-05 21:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072603da8012d77a0c005f2a5a80016010329..."} 
[2026-09-05 21:53:33] local.INFO: Processing buffer {"connection_id":171952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072603da8012d77a0c005f2a5a80016010329..."} 
[2026-09-05 21:53:33] local.INFO: Packet analysis {"connection_id":171952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07260"} 
[2026-09-05 21:53:33] local.INFO: Extracted packet for processing {"connection_id":171952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07260"} 
[2026-09-05 21:53:33] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":41,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888001024001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:53: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-09-05 21:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788625305000,"timestamp_ms":1788625305000,"timestamp_seconds":1788625305,"priority":1,"record_length":96,"hex_timestamp":"000001a072603da8"} 
[2026-09-05 21:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:53: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-09-05 21: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 21:53: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-09-05 21: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-09-05 21:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":171952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":171952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":171952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888001024001,"66":25756,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888001024001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:53:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:53:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888001024001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":171952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:53:33] local.INFO: GPS data processed {"connection_id":171952,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:53:33] local.INFO: Acknowledgment sent {"connection_id":171952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:53:44] local.INFO: TCP Data received {"connection_id":172205,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:53:44] local.INFO: Processing buffer {"connection_id":172205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:53:44] local.INFO: IMEI packet received {"connection_id":172205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":172205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:53:49] local.INFO: TCP Data received {"connection_id":172205,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:53:49] local.INFO: Processing buffer {"connection_id":172205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:53:49] local.INFO: IMEI packet received {"connection_id":172205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":172205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:53:49] local.INFO: TCP Data received {"connection_id":174649,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:53:49] local.INFO: Processing buffer {"connection_id":174649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:53:49] local.INFO: IMEI packet received {"connection_id":174649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":174649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:53:50] local.INFO: TCP Data received {"connection_id":172205,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0725e7c70012d196500071ff1280040014529..."} 
[2026-09-05 21:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0725e7c70012d196500071ff1280040014529..."} 
[2026-09-05 21:53:50] local.INFO: Processing buffer {"connection_id":172205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0725e7c70012d196500071ff1280040014529..."} 
[2026-09-05 21:53:50] local.INFO: Packet analysis {"connection_id":172205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0725e"} 
[2026-09-05 21:53:50] local.INFO: Extracted packet for processing {"connection_id":172205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0725e"} 
[2026-09-05 21:53:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887971584001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788625190000,"timestamp_ms":1788625190000,"timestamp_seconds":1788625190,"priority":1,"record_length":96,"hex_timestamp":"000001a0725e7c70"} 
[2026-09-05 21:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:53:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887971584001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887971584001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:53:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:53:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887971584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":172205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:53:50] local.INFO: GPS data processed {"connection_id":172205,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:53:50] local.INFO: Acknowledgment sent {"connection_id":172205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:53:54] local.INFO: TCP Data received {"connection_id":174649,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:53:54] local.INFO: Processing buffer {"connection_id":174649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:53:54] local.INFO: IMEI packet received {"connection_id":174649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":174649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:53:56] local.INFO: TCP Data received {"connection_id":174649,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072603da8012d77a0c005f2a5a80016010329..."} 
[2026-09-05 21:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072603da8012d77a0c005f2a5a80016010329..."} 
[2026-09-05 21:53:56] local.INFO: Processing buffer {"connection_id":174649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072603da8012d77a0c005f2a5a80016010329..."} 
[2026-09-05 21:53:56] local.INFO: Packet analysis {"connection_id":174649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07260"} 
[2026-09-05 21:53:56] local.INFO: Extracted packet for processing {"connection_id":174649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07260"} 
[2026-09-05 21:53:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":41,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888001024001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788625305000,"timestamp_ms":1788625305000,"timestamp_seconds":1788625305,"priority":1,"record_length":96,"hex_timestamp":"000001a072603da8"} 
[2026-09-05 21:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:53:56] 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-09-05 21:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 21:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888001024001,"66":25756,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888001024001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:53:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:53:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888001024001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":174649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:53:56] local.INFO: GPS data processed {"connection_id":174649,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:53:56] local.INFO: Acknowledgment sent {"connection_id":174649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:54:21] local.INFO: TCP Data received {"connection_id":172205,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0725e7c70012d196500071ff1280040014529..."} 
[2026-09-05 21:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0725e7c70012d196500071ff1280040014529..."} 
[2026-09-05 21:54:21] local.INFO: Processing buffer {"connection_id":172205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0725e7c70012d196500071ff1280040014529..."} 
[2026-09-05 21:54:21] local.INFO: Packet analysis {"connection_id":172205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0725e"} 
[2026-09-05 21:54:21] local.INFO: Extracted packet for processing {"connection_id":172205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0725e"} 
[2026-09-05 21:54:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887971584001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788625190000,"timestamp_ms":1788625190000,"timestamp_seconds":1788625190,"priority":1,"record_length":96,"hex_timestamp":"000001a0725e7c70"} 
[2026-09-05 21:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:54:21] 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-09-05 21:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:54:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887971584001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887971584001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:54:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:54:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887971584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":172205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:54:21] local.INFO: GPS data processed {"connection_id":172205,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:54:21] local.INFO: Acknowledgment sent {"connection_id":172205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:54:28] local.INFO: TCP Data received {"connection_id":174649,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072603da8012d77a0c005f2a5a80016010329..."} 
[2026-09-05 21:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072603da8012d77a0c005f2a5a80016010329..."} 
[2026-09-05 21:54:28] local.INFO: Processing buffer {"connection_id":174649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072603da8012d77a0c005f2a5a80016010329..."} 
[2026-09-05 21:54:28] local.INFO: Packet analysis {"connection_id":174649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07260"} 
[2026-09-05 21:54:28] local.INFO: Extracted packet for processing {"connection_id":174649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07260"} 
[2026-09-05 21:54:28] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":41,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888001024001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788625305000,"timestamp_ms":1788625305000,"timestamp_seconds":1788625305,"priority":1,"record_length":96,"hex_timestamp":"000001a072603da8"} 
[2026-09-05 21:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 21:54:28] 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-09-05 21:54:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888001024001,"66":25756,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888001024001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:54:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:54:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888001024001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":174649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:54:28] local.INFO: GPS data processed {"connection_id":174649,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:54:28] local.INFO: Acknowledgment sent {"connection_id":174649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:54:44] local.INFO: TCP Data received {"connection_id":171953,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:54:44] local.INFO: Processing buffer {"connection_id":171953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:54:44] local.INFO: IMEI packet received {"connection_id":171953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":171953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:54:49] local.INFO: TCP Data received {"connection_id":171953,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:54:49] local.INFO: Processing buffer {"connection_id":171953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:54:49] local.INFO: IMEI packet received {"connection_id":171953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":171953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:54:49] local.INFO: TCP Data received {"connection_id":171954,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:54:49] local.INFO: Processing buffer {"connection_id":171954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:54:49] local.INFO: IMEI packet received {"connection_id":171954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":171954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:54:50] local.INFO: TCP Data received {"connection_id":171953,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0725e7c70012d196500071ff1280040014529..."} 
[2026-09-05 21:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0725e7c70012d196500071ff1280040014529..."} 
[2026-09-05 21:54:50] local.INFO: Processing buffer {"connection_id":171953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0725e7c70012d196500071ff1280040014529..."} 
[2026-09-05 21:54:50] local.INFO: Packet analysis {"connection_id":171953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0725e"} 
[2026-09-05 21:54:50] local.INFO: Extracted packet for processing {"connection_id":171953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0725e"} 
[2026-09-05 21:54:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887971584001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788625190000,"timestamp_ms":1788625190000,"timestamp_seconds":1788625190,"priority":1,"record_length":96,"hex_timestamp":"000001a0725e7c70"} 
[2026-09-05 21:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887971584001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887971584001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:54:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:54:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887971584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":171953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:54:50] local.INFO: GPS data processed {"connection_id":171953,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:54:50] local.INFO: Acknowledgment sent {"connection_id":171953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:54:55] local.INFO: TCP Data received {"connection_id":171954,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:54:55] local.INFO: Processing buffer {"connection_id":171954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:54:55] local.INFO: IMEI packet received {"connection_id":171954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":171954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:54:56] local.INFO: TCP Data received {"connection_id":171954,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072603da8012d77a0c005f2a5a80016010329..."} 
[2026-09-05 21:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072603da8012d77a0c005f2a5a80016010329..."} 
[2026-09-05 21:54:56] local.INFO: Processing buffer {"connection_id":171954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072603da8012d77a0c005f2a5a80016010329..."} 
[2026-09-05 21:54:56] local.INFO: Packet analysis {"connection_id":171954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07260"} 
[2026-09-05 21:54:56] local.INFO: Extracted packet for processing {"connection_id":171954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07260"} 
[2026-09-05 21:54:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":41,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888001024001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788625305000,"timestamp_ms":1788625305000,"timestamp_seconds":1788625305,"priority":1,"record_length":96,"hex_timestamp":"000001a072603da8"} 
[2026-09-05 21:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:54:56] 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-09-05 21:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 21:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888001024001,"66":25756,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888001024001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:54:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:54:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888001024001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":171954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:54:56] local.INFO: GPS data processed {"connection_id":171954,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:54:56] local.INFO: Acknowledgment sent {"connection_id":171954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:55:21] local.INFO: TCP Data received {"connection_id":171953,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0725e7c70012d196500071ff1280040014529..."} 
[2026-09-05 21:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0725e7c70012d196500071ff1280040014529..."} 
[2026-09-05 21:55:21] local.INFO: Processing buffer {"connection_id":171953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0725e7c70012d196500071ff1280040014529..."} 
[2026-09-05 21:55:21] local.INFO: Packet analysis {"connection_id":171953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0725e"} 
[2026-09-05 21:55:21] local.INFO: Extracted packet for processing {"connection_id":171953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0725e"} 
[2026-09-05 21:55:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457887971584001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788625190000,"timestamp_ms":1788625190000,"timestamp_seconds":1788625190,"priority":1,"record_length":96,"hex_timestamp":"000001a0725e7c70"} 
[2026-09-05 21:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:55:21] 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-09-05 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21: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-09-05 21:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457887971584001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457887971584001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:55:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:55:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457887971584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":171953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:55:21] local.INFO: GPS data processed {"connection_id":171953,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:55:21] local.INFO: Acknowledgment sent {"connection_id":171953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:55:28] local.INFO: TCP Data received {"connection_id":171954,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072603da8012d77a0c005f2a5a80016010329..."} 
[2026-09-05 21:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072603da8012d77a0c005f2a5a80016010329..."} 
[2026-09-05 21:55:28] local.INFO: Processing buffer {"connection_id":171954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072603da8012d77a0c005f2a5a80016010329..."} 
[2026-09-05 21:55:28] local.INFO: Packet analysis {"connection_id":171954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07260"} 
[2026-09-05 21:55:28] local.INFO: Extracted packet for processing {"connection_id":171954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07260"} 
[2026-09-05 21:55:28] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":41,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888001024001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788625305000,"timestamp_ms":1788625305000,"timestamp_seconds":1788625305,"priority":1,"record_length":96,"hex_timestamp":"000001a072603da8"} 
[2026-09-05 21:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 21:55:28] 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-09-05 21:55:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":171954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":171954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":171954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888001024001,"66":25756,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888001024001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:55:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:55:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888001024001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":171954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:55:28] local.INFO: GPS data processed {"connection_id":171954,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:55:28] local.INFO: Acknowledgment sent {"connection_id":171954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:55:43] local.INFO: TCP Data received {"connection_id":174650,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:55:43] local.INFO: Processing buffer {"connection_id":174650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:55:43] local.INFO: IMEI packet received {"connection_id":174650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":174650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:55:49] local.INFO: TCP Data received {"connection_id":174650,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:55:49] local.INFO: Processing buffer {"connection_id":174650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:55:49] local.INFO: IMEI packet received {"connection_id":174650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":174650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:55:49] local.INFO: TCP Data received {"connection_id":174650,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072631438012d196500071ff1280040014525..."} 
[2026-09-05 21:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072631438012d196500071ff1280040014525..."} 
[2026-09-05 21:55:49] local.INFO: Processing buffer {"connection_id":174650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072631438012d196500071ff1280040014525..."} 
[2026-09-05 21:55:49] local.INFO: Packet analysis {"connection_id":174650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07263"} 
[2026-09-05 21:55:49] local.INFO: Extracted packet for processing {"connection_id":174650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07263"} 
[2026-09-05 21:55:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888048640001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788625491000,"timestamp_ms":1788625491000,"timestamp_seconds":1788625491,"priority":1,"record_length":96,"hex_timestamp":"000001a072631438"} 
[2026-09-05 21:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888048640001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888048640001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:55:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:55:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888048640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":174650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:55:49] local.INFO: GPS data processed {"connection_id":174650,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:55:49] local.INFO: Acknowledgment sent {"connection_id":174650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:55:55] local.INFO: TCP Data received {"connection_id":173324,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:55:55] local.INFO: Processing buffer {"connection_id":173324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:55:55] local.INFO: IMEI packet received {"connection_id":173324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":173324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:56:00] local.INFO: TCP Data received {"connection_id":173324,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:56:00] local.INFO: Processing buffer {"connection_id":173324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:56:00] local.INFO: IMEI packet received {"connection_id":173324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":173324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:56:02] local.INFO: TCP Data received {"connection_id":173324,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072603da8012d77a0c005f2a5a80016010329..."} 
[2026-09-05 21:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072603da8012d77a0c005f2a5a80016010329..."} 
[2026-09-05 21:56:02] local.INFO: Processing buffer {"connection_id":173324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072603da8012d77a0c005f2a5a80016010329..."} 
[2026-09-05 21:56:02] local.INFO: Packet analysis {"connection_id":173324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07260"} 
[2026-09-05 21:56:02] local.INFO: Extracted packet for processing {"connection_id":173324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07260"} 
[2026-09-05 21:56:02] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":41,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 21:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888001024001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 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-09-05 21:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788625305000,"timestamp_ms":1788625305000,"timestamp_seconds":1788625305,"priority":1,"record_length":96,"hex_timestamp":"000001a072603da8"} 
[2026-09-05 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-09-05 21:56:02] 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-09-05 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":178,"data_length":795,"current_offset":136} 
[2026-09-05 21:56: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-09-05 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-09-05 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-09-05 21:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888001024001,"66":25756,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888001024001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:56:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:56:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888001024001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":173324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:56:02] local.INFO: GPS data processed {"connection_id":173324,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:56:02] local.INFO: Acknowledgment sent {"connection_id":173324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:56:07] local.INFO: TCP Data received {"connection_id":173324,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072603da8012d77a0c005f2a5a80016010329..."} 
[2026-09-05 21:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072603da8012d77a0c005f2a5a80016010329..."} 
[2026-09-05 21:56:07] local.INFO: Processing buffer {"connection_id":173324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072603da8012d77a0c005f2a5a80016010329..."} 
[2026-09-05 21:56:07] local.INFO: Packet analysis {"connection_id":173324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07260"} 
[2026-09-05 21:56:07] local.INFO: Extracted packet for processing {"connection_id":173324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07260"} 
[2026-09-05 21:56:07] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":41,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888001024001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788625305000,"timestamp_ms":1788625305000,"timestamp_seconds":1788625305,"priority":1,"record_length":96,"hex_timestamp":"000001a072603da8"} 
[2026-09-05 21:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21: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-09-05 21: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 21:56:07] 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-09-05 21: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-09-05 21:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888001024001,"66":25756,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888001024001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:56:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:56:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888001024001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":173324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:56:07] local.INFO: GPS data processed {"connection_id":173324,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:56:07] local.INFO: Acknowledgment sent {"connection_id":173324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:56:20] local.INFO: TCP Data received {"connection_id":174650,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072631438012d196500071ff1280040014525..."} 
[2026-09-05 21:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072631438012d196500071ff1280040014525..."} 
[2026-09-05 21:56:20] local.INFO: Processing buffer {"connection_id":174650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072631438012d196500071ff1280040014525..."} 
[2026-09-05 21:56:20] local.INFO: Packet analysis {"connection_id":174650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07263"} 
[2026-09-05 21:56:20] local.INFO: Extracted packet for processing {"connection_id":174650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07263"} 
[2026-09-05 21:56:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888048640001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788625491000,"timestamp_ms":1788625491000,"timestamp_seconds":1788625491,"priority":1,"record_length":96,"hex_timestamp":"000001a072631438"} 
[2026-09-05 21:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888048640001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888048640001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:56:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:56:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888048640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":174650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:56:20] local.INFO: GPS data processed {"connection_id":174650,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:56:20] local.INFO: Acknowledgment sent {"connection_id":174650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:56:49] local.INFO: TCP Data received {"connection_id":172206,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:56:49] local.INFO: Processing buffer {"connection_id":172206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:56:49] local.INFO: IMEI packet received {"connection_id":172206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":172206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:56:51] local.INFO: TCP Data received {"connection_id":172207,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:56:51] local.INFO: Processing buffer {"connection_id":172207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:56:51] local.INFO: IMEI packet received {"connection_id":172207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":172207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:56:54] local.INFO: TCP Data received {"connection_id":172206,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:56:54] local.INFO: Processing buffer {"connection_id":172206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:56:54] local.INFO: IMEI packet received {"connection_id":172206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":172206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:56:55] local.INFO: TCP Data received {"connection_id":172206,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072631438012d196500071ff1280040014525..."} 
[2026-09-05 21:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072631438012d196500071ff1280040014525..."} 
[2026-09-05 21:56:55] local.INFO: Processing buffer {"connection_id":172206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072631438012d196500071ff1280040014525..."} 
[2026-09-05 21:56:55] local.INFO: Packet analysis {"connection_id":172206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07263"} 
[2026-09-05 21:56:55] local.INFO: Extracted packet for processing {"connection_id":172206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07263"} 
[2026-09-05 21:56:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888048640001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788625491000,"timestamp_ms":1788625491000,"timestamp_seconds":1788625491,"priority":1,"record_length":96,"hex_timestamp":"000001a072631438"} 
[2026-09-05 21:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888048640001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888048640001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:56:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:56:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888048640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":172206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:56:55] local.INFO: GPS data processed {"connection_id":172206,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:56:55] local.INFO: Acknowledgment sent {"connection_id":172206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:56:55] local.INFO: TCP Data received {"connection_id":172207,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:56:55] local.INFO: Processing buffer {"connection_id":172207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:56:55] local.INFO: IMEI packet received {"connection_id":172207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":172207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:56:57] local.INFO: TCP Data received {"connection_id":172207,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072603da8012d77a0c005f2a5a80016010329..."} 
[2026-09-05 21:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072603da8012d77a0c005f2a5a80016010329..."} 
[2026-09-05 21:56:57] local.INFO: Processing buffer {"connection_id":172207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072603da8012d77a0c005f2a5a80016010329..."} 
[2026-09-05 21:56:57] local.INFO: Packet analysis {"connection_id":172207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07260"} 
[2026-09-05 21:56:57] local.INFO: Extracted packet for processing {"connection_id":172207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07260"} 
[2026-09-05 21:56:57] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":41,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21: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-09-05 21:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888001024001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788625305000,"timestamp_ms":1788625305000,"timestamp_seconds":1788625305,"priority":1,"record_length":96,"hex_timestamp":"000001a072603da8"} 
[2026-09-05 21:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:56:57] 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-09-05 21: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 21:56:57] 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-09-05 21: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-09-05 21:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888001024001,"66":25756,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888001024001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:56:57] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:56:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888001024001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":172207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:56:57] local.INFO: GPS data processed {"connection_id":172207,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:56:57] local.INFO: Acknowledgment sent {"connection_id":172207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:56:59] local.INFO: TCP Data received {"connection_id":172206,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072631438012d196500071ff1280040014525..."} 
[2026-09-05 21:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072631438012d196500071ff1280040014525..."} 
[2026-09-05 21:56:59] local.INFO: Processing buffer {"connection_id":172206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072631438012d196500071ff1280040014525..."} 
[2026-09-05 21:56:59] local.INFO: Packet analysis {"connection_id":172206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07263"} 
[2026-09-05 21:56:59] local.INFO: Extracted packet for processing {"connection_id":172206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07263"} 
[2026-09-05 21:56:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888048640001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788625491000,"timestamp_ms":1788625491000,"timestamp_seconds":1788625491,"priority":1,"record_length":96,"hex_timestamp":"000001a072631438"} 
[2026-09-05 21:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888048640001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888048640001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:56:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:56:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888048640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":172206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:56:59] local.INFO: GPS data processed {"connection_id":172206,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:56:59] local.INFO: Acknowledgment sent {"connection_id":172206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:57:06] local.INFO: TCP Data received {"connection_id":172207,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072603da8012d77a0c005f2a5a80016010329..."} 
[2026-09-05 21:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072603da8012d77a0c005f2a5a80016010329..."} 
[2026-09-05 21:57:06] local.INFO: Processing buffer {"connection_id":172207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072603da8012d77a0c005f2a5a80016010329..."} 
[2026-09-05 21:57:06] local.INFO: Packet analysis {"connection_id":172207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07260"} 
[2026-09-05 21:57:06] local.INFO: Extracted packet for processing {"connection_id":172207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07260"} 
[2026-09-05 21:57:06] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":22,"angle":259,"satellites":41,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888001024001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:57: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-09-05 21:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788625305000,"timestamp_ms":1788625305000,"timestamp_seconds":1788625305,"priority":1,"record_length":96,"hex_timestamp":"000001a072603da8"} 
[2026-09-05 21:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:57:06] 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-09-05 21:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-05 21:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888001024001,"66":25756,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888001024001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:57:06] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:57:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888001024001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":172207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:57:06] local.INFO: GPS data processed {"connection_id":172207,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:57:06] local.INFO: Acknowledgment sent {"connection_id":172207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:57:44] local.INFO: TCP Data received {"connection_id":171955,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:57:44] local.INFO: Processing buffer {"connection_id":171955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:57:44] local.INFO: IMEI packet received {"connection_id":171955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":171955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:57:49] local.INFO: TCP Data received {"connection_id":171955,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:57:49] local.INFO: Processing buffer {"connection_id":171955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:57:49] local.INFO: IMEI packet received {"connection_id":171955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":171955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:57:49] local.INFO: TCP Data received {"connection_id":171956,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:57:49] local.INFO: Processing buffer {"connection_id":171956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:57:49] local.INFO: IMEI packet received {"connection_id":171956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":171956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:57:50] local.INFO: TCP Data received {"connection_id":171955,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a072631438012d196500071ff1280040014525..."} 
[2026-09-05 21:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072631438012d196500071ff1280040014525..."} 
[2026-09-05 21:57:50] local.INFO: Processing buffer {"connection_id":171955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072631438012d196500071ff1280040014525..."} 
[2026-09-05 21:57:50] local.INFO: Packet analysis {"connection_id":171955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07263"} 
[2026-09-05 21:57:50] local.INFO: Extracted packet for processing {"connection_id":171955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07263"} 
[2026-09-05 21:57:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888048640001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788625491000,"timestamp_ms":1788625491000,"timestamp_seconds":1788625491,"priority":1,"record_length":96,"hex_timestamp":"000001a072631438"} 
[2026-09-05 21:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888048640001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888048640001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:57:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:57:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888048640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":171955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:57:50] local.INFO: GPS data processed {"connection_id":171955,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:57:50] local.INFO: Acknowledgment sent {"connection_id":171955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:57:55] local.INFO: TCP Data received {"connection_id":171956,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:57:55] local.INFO: Processing buffer {"connection_id":171956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:57:55] local.INFO: IMEI packet received {"connection_id":171956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":171956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:57:56] local.INFO: TCP Data received {"connection_id":171956,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07264d570012d77a0c005f2a5a8001001032c..."} 
[2026-09-05 21:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07264d570012d77a0c005f2a5a8001001032c..."} 
[2026-09-05 21:57:56] local.INFO: Processing buffer {"connection_id":171956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07264d570012d77a0c005f2a5a8001001032c..."} 
[2026-09-05 21:57:56] local.INFO: Packet analysis {"connection_id":171956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07264"} 
[2026-09-05 21:57:56] local.INFO: Extracted packet for processing {"connection_id":171956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07264"} 
[2026-09-05 21:57:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":16,"angle":259,"satellites":44,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888078080001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788625606000,"timestamp_ms":1788625606000,"timestamp_seconds":1788625606,"priority":1,"record_length":96,"hex_timestamp":"000001a07264d570"} 
[2026-09-05 21:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 21:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:57:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888078080001,"66":25756,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888078080001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:57:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:57:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888078080001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":171956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:57:56] local.INFO: GPS data processed {"connection_id":171956,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:57:56] local.INFO: Acknowledgment sent {"connection_id":171956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:58:21] local.INFO: TCP Data received {"connection_id":171955,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a072631438012d196500071ff1280040014525..."} 
[2026-09-05 21:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072631438012d196500071ff1280040014525..."} 
[2026-09-05 21:58:21] local.INFO: Processing buffer {"connection_id":171955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072631438012d196500071ff1280040014525..."} 
[2026-09-05 21:58:21] local.INFO: Packet analysis {"connection_id":171955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07263"} 
[2026-09-05 21:58:21] local.INFO: Extracted packet for processing {"connection_id":171955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07263"} 
[2026-09-05 21:58:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888048640001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788625491000,"timestamp_ms":1788625491000,"timestamp_seconds":1788625491,"priority":1,"record_length":96,"hex_timestamp":"000001a072631438"} 
[2026-09-05 21:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888048640001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888048640001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:58:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:58:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888048640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":171955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:58:21] local.INFO: GPS data processed {"connection_id":171955,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:58:21] local.INFO: Acknowledgment sent {"connection_id":171955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:58:29] local.INFO: TCP Data received {"connection_id":171956,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07264d570012d77a0c005f2a5a8001001032c..."} 
[2026-09-05 21:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07264d570012d77a0c005f2a5a8001001032c..."} 
[2026-09-05 21:58:29] local.INFO: Processing buffer {"connection_id":171956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07264d570012d77a0c005f2a5a8001001032c..."} 
[2026-09-05 21:58:29] local.INFO: Packet analysis {"connection_id":171956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07264"} 
[2026-09-05 21:58:29] local.INFO: Extracted packet for processing {"connection_id":171956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07264"} 
[2026-09-05 21:58:29] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":16,"angle":259,"satellites":44,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888078080001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788625606000,"timestamp_ms":1788625606000,"timestamp_seconds":1788625606,"priority":1,"record_length":96,"hex_timestamp":"000001a07264d570"} 
[2026-09-05 21:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 21:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":171956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":171956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":171956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888078080001,"66":25756,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888078080001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:58:29] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:58:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888078080001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":171956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:58:29] local.INFO: GPS data processed {"connection_id":171956,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:58:29] local.INFO: Acknowledgment sent {"connection_id":171956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:58:44] local.INFO: TCP Data received {"connection_id":174651,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:58:44] local.INFO: Processing buffer {"connection_id":174651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:58:44] local.INFO: IMEI packet received {"connection_id":174651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":174651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:58:49] local.INFO: TCP Data received {"connection_id":174651,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:58:49] local.INFO: Processing buffer {"connection_id":174651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:58:49] local.INFO: IMEI packet received {"connection_id":174651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":174651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:58:49] local.INFO: TCP Data received {"connection_id":173325,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:58:49] local.INFO: Processing buffer {"connection_id":173325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:58:49] local.INFO: IMEI packet received {"connection_id":173325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":173325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:58:51] local.INFO: TCP Data received {"connection_id":174651,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072631438012d196500071ff1280040014525..."} 
[2026-09-05 21:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072631438012d196500071ff1280040014525..."} 
[2026-09-05 21:58:51] local.INFO: Processing buffer {"connection_id":174651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072631438012d196500071ff1280040014525..."} 
[2026-09-05 21:58:51] local.INFO: Packet analysis {"connection_id":174651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07263"} 
[2026-09-05 21:58:51] local.INFO: Extracted packet for processing {"connection_id":174651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07263"} 
[2026-09-05 21:58:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888048640001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788625491000,"timestamp_ms":1788625491000,"timestamp_seconds":1788625491,"priority":1,"record_length":96,"hex_timestamp":"000001a072631438"} 
[2026-09-05 21:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888048640001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888048640001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:58:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:58:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888048640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":174651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:58:51] local.INFO: GPS data processed {"connection_id":174651,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:58:51] local.INFO: Acknowledgment sent {"connection_id":174651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:58:55] local.INFO: TCP Data received {"connection_id":173325,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:58:55] local.INFO: Processing buffer {"connection_id":173325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:58:55] local.INFO: IMEI packet received {"connection_id":173325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 21:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":173325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:58:56] local.INFO: TCP Data received {"connection_id":173325,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07264d570012d77a0c005f2a5a8001001032c..."} 
[2026-09-05 21:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07264d570012d77a0c005f2a5a8001001032c..."} 
[2026-09-05 21:58:56] local.INFO: Processing buffer {"connection_id":173325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07264d570012d77a0c005f2a5a8001001032c..."} 
[2026-09-05 21:58:56] local.INFO: Packet analysis {"connection_id":173325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07264"} 
[2026-09-05 21:58:56] local.INFO: Extracted packet for processing {"connection_id":173325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07264"} 
[2026-09-05 21:58:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":16,"angle":259,"satellites":44,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888078080001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788625606000,"timestamp_ms":1788625606000,"timestamp_seconds":1788625606,"priority":1,"record_length":96,"hex_timestamp":"000001a07264d570"} 
[2026-09-05 21:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 21:58:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888078080001,"66":25756,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888078080001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:58:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:58:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888078080001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":173325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:58:56] local.INFO: GPS data processed {"connection_id":173325,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:58:56] local.INFO: Acknowledgment sent {"connection_id":173325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:59:23] local.INFO: TCP Data received {"connection_id":174651,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072631438012d196500071ff1280040014525..."} 
[2026-09-05 21:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072631438012d196500071ff1280040014525..."} 
[2026-09-05 21:59:23] local.INFO: Processing buffer {"connection_id":174651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072631438012d196500071ff1280040014525..."} 
[2026-09-05 21:59:23] local.INFO: Packet analysis {"connection_id":174651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07263"} 
[2026-09-05 21:59:23] local.INFO: Extracted packet for processing {"connection_id":174651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07263"} 
[2026-09-05 21:59:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888048640001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788625491000,"timestamp_ms":1788625491000,"timestamp_seconds":1788625491,"priority":1,"record_length":96,"hex_timestamp":"000001a072631438"} 
[2026-09-05 21:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888048640001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888048640001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:59:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:59:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888048640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":174651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:59:23] local.INFO: GPS data processed {"connection_id":174651,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:59:23] local.INFO: Acknowledgment sent {"connection_id":174651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:59:27] local.INFO: TCP Data received {"connection_id":173325,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07264d570012d77a0c005f2a5a8001001032c..."} 
[2026-09-05 21:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07264d570012d77a0c005f2a5a8001001032c..."} 
[2026-09-05 21:59:27] local.INFO: Processing buffer {"connection_id":173325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07264d570012d77a0c005f2a5a8001001032c..."} 
[2026-09-05 21:59:27] local.INFO: Packet analysis {"connection_id":173325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07264"} 
[2026-09-05 21:59:27] local.INFO: Extracted packet for processing {"connection_id":173325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07264"} 
[2026-09-05 21:59:27] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":16,"angle":259,"satellites":44,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 21:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888078080001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 21:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 21:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788625606000,"timestamp_ms":1788625606000,"timestamp_seconds":1788625606,"priority":1,"record_length":96,"hex_timestamp":"000001a07264d570"} 
[2026-09-05 21:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 21:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 21:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 21:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 21:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888078080001,"66":25756,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 21:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 21:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 21:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888078080001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:59:27] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 21:59:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 21:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 21:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888078080001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 21:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":173325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:59:27] local.INFO: GPS data processed {"connection_id":173325,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:59:27] local.INFO: Acknowledgment sent {"connection_id":173325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:59:44] local.INFO: TCP Data received {"connection_id":173326,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:59:44] local.INFO: Processing buffer {"connection_id":173326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:59:44] local.INFO: IMEI packet received {"connection_id":173326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 21:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":173326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 21:59:49] local.INFO: TCP Data received {"connection_id":173326,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:59:49] local.INFO: Processing buffer {"connection_id":173326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 21:59:49] local.INFO: IMEI packet received {"connection_id":173326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 21:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":173326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 21:59:50] local.INFO: TCP Data received {"connection_id":173326,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072631438012d196500071ff1280040014525..."} 
[2026-09-05 21:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072631438012d196500071ff1280040014525..."} 
[2026-09-05 21:59:50] local.INFO: Processing buffer {"connection_id":173326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072631438012d196500071ff1280040014525..."} 
[2026-09-05 21:59:50] local.INFO: Packet analysis {"connection_id":173326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07263"} 
[2026-09-05 21:59:50] local.INFO: Extracted packet for processing {"connection_id":173326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07263"} 
[2026-09-05 21:59:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 21:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 21:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888048640001,"note":"Value kept but may cause issues"} 
[2026-09-05 21:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 21:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 21:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 21:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788625491000,"timestamp_ms":1788625491000,"timestamp_seconds":1788625491,"priority":1,"record_length":96,"hex_timestamp":"000001a072631438"} 
[2026-09-05 21:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 21:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 21:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 21:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 21:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 21:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 21:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 21:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 21:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 21:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 21:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 21:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 21:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888048640001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 21:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 21:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 21:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888048640001,"description":"Unknown IO ID 0"} 
[2026-09-05 21:59:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 21:59:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 21:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 21:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 21:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888048640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 21:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":173326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 21:59:50] local.INFO: GPS data processed {"connection_id":173326,"processed":1,"errors":0,"total":1} 
[2026-09-05 21:59:50] local.INFO: Acknowledgment sent {"connection_id":173326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 21:59:55] local.INFO: TCP Data received {"connection_id":174652,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:59:55] local.INFO: Processing buffer {"connection_id":174652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 21:59:55] local.INFO: IMEI packet received {"connection_id":174652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 21:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":174652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:00:00] local.INFO: TCP Data received {"connection_id":174652,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:00:00] local.INFO: Processing buffer {"connection_id":174652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:00:00] local.INFO: IMEI packet received {"connection_id":174652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":174652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:00:01] local.INFO: TCP Data received {"connection_id":174652,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07264d570012d77a0c005f2a5a8001001032c..."} 
[2026-09-05 22:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07264d570012d77a0c005f2a5a8001001032c..."} 
[2026-09-05 22:00:01] local.INFO: Processing buffer {"connection_id":174652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07264d570012d77a0c005f2a5a8001001032c..."} 
[2026-09-05 22:00:01] local.INFO: Packet analysis {"connection_id":174652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07264"} 
[2026-09-05 22:00:01] local.INFO: Extracted packet for processing {"connection_id":174652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07264"} 
[2026-09-05 22:00:01] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":16,"angle":259,"satellites":44,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 22:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888078080001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 22:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 22:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788625606000,"timestamp_ms":1788625606000,"timestamp_seconds":1788625606,"priority":1,"record_length":96,"hex_timestamp":"000001a07264d570"} 
[2026-09-05 22:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 22:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888078080001,"66":25756,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 22:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888078080001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:00:01] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 22:00:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 22:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 22:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888078080001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 22:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":174652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:00:01] local.INFO: GPS data processed {"connection_id":174652,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:00:01] local.INFO: Acknowledgment sent {"connection_id":174652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:00:06] local.INFO: TCP Data received {"connection_id":174652,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07264d570012d77a0c005f2a5a8001001032c..."} 
[2026-09-05 22:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07264d570012d77a0c005f2a5a8001001032c..."} 
[2026-09-05 22:00:06] local.INFO: Processing buffer {"connection_id":174652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07264d570012d77a0c005f2a5a8001001032c..."} 
[2026-09-05 22:00:06] local.INFO: Packet analysis {"connection_id":174652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07264"} 
[2026-09-05 22:00:06] local.INFO: Extracted packet for processing {"connection_id":174652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07264"} 
[2026-09-05 22:00:06] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":16,"angle":259,"satellites":44,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 22: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-09-05 22:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888078080001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 22:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 22:00: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-09-05 22:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788625606000,"timestamp_ms":1788625606000,"timestamp_seconds":1788625606,"priority":1,"record_length":96,"hex_timestamp":"000001a07264d570"} 
[2026-09-05 22:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 22:00: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-09-05 22:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888078080001,"66":25756,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 22:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888078080001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:00:06] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 22:00:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 22:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 22:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888078080001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 22:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":174652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:00:06] local.INFO: GPS data processed {"connection_id":174652,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:00:06] local.INFO: Acknowledgment sent {"connection_id":174652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:00:21] local.INFO: TCP Data received {"connection_id":173326,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072631438012d196500071ff1280040014525..."} 
[2026-09-05 22:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072631438012d196500071ff1280040014525..."} 
[2026-09-05 22:00:21] local.INFO: Processing buffer {"connection_id":173326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072631438012d196500071ff1280040014525..."} 
[2026-09-05 22:00:21] local.INFO: Packet analysis {"connection_id":173326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07263"} 
[2026-09-05 22:00:21] local.INFO: Extracted packet for processing {"connection_id":173326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07263"} 
[2026-09-05 22:00:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888048640001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788625491000,"timestamp_ms":1788625491000,"timestamp_seconds":1788625491,"priority":1,"record_length":96,"hex_timestamp":"000001a072631438"} 
[2026-09-05 22:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 22:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888048640001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888048640001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:00:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:00:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888048640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":173326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:00:21] local.INFO: GPS data processed {"connection_id":173326,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:00:21] local.INFO: Acknowledgment sent {"connection_id":173326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:00:43] local.INFO: TCP Data received {"connection_id":173327,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:00:43] local.INFO: Processing buffer {"connection_id":173327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:00:43] local.INFO: IMEI packet received {"connection_id":173327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":173327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:00:49] local.INFO: TCP Data received {"connection_id":173327,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:00:49] local.INFO: Processing buffer {"connection_id":173327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:00:49] local.INFO: IMEI packet received {"connection_id":173327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":173327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:00:49] local.INFO: TCP Data received {"connection_id":173327,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07267ac00012d196500071ff1280040014529..."} 
[2026-09-05 22:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07267ac00012d196500071ff1280040014529..."} 
[2026-09-05 22:00:49] local.INFO: Processing buffer {"connection_id":173327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07267ac00012d196500071ff1280040014529..."} 
[2026-09-05 22:00:49] local.INFO: Packet analysis {"connection_id":173327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07267"} 
[2026-09-05 22:00:49] local.INFO: Extracted packet for processing {"connection_id":173327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07267"} 
[2026-09-05 22:00:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888125696001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788625792000,"timestamp_ms":1788625792000,"timestamp_seconds":1788625792,"priority":1,"record_length":96,"hex_timestamp":"000001a07267ac00"} 
[2026-09-05 22:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888125696001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888125696001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:00:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:00:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888125696001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":173327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:00:49] local.INFO: GPS data processed {"connection_id":173327,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:00:49] local.INFO: Acknowledgment sent {"connection_id":173327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:00:50] local.INFO: TCP Data received {"connection_id":172208,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:00:50] local.INFO: Processing buffer {"connection_id":172208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:00:50] local.INFO: IMEI packet received {"connection_id":172208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":172208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:00:55] local.INFO: TCP Data received {"connection_id":172208,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:00:55] local.INFO: Processing buffer {"connection_id":172208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:00:55] local.INFO: IMEI packet received {"connection_id":172208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":172208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:00:56] local.INFO: TCP Data received {"connection_id":172208,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07264d570012d77a0c005f2a5a8001001032c..."} 
[2026-09-05 22:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07264d570012d77a0c005f2a5a8001001032c..."} 
[2026-09-05 22:00:56] local.INFO: Processing buffer {"connection_id":172208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07264d570012d77a0c005f2a5a8001001032c..."} 
[2026-09-05 22:00:56] local.INFO: Packet analysis {"connection_id":172208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07264"} 
[2026-09-05 22:00:56] local.INFO: Extracted packet for processing {"connection_id":172208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07264"} 
[2026-09-05 22:00:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":16,"angle":259,"satellites":44,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 22:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888078080001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 22:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 22:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788625606000,"timestamp_ms":1788625606000,"timestamp_seconds":1788625606,"priority":1,"record_length":96,"hex_timestamp":"000001a07264d570"} 
[2026-09-05 22:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 22:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:00:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888078080001,"66":25756,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 22:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888078080001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:00:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 22:00:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 22:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 22:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888078080001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 22:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":172208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:00:56] local.INFO: GPS data processed {"connection_id":172208,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:00:56] local.INFO: Acknowledgment sent {"connection_id":172208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:01:22] local.INFO: TCP Data received {"connection_id":173327,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07267ac00012d196500071ff1280040014529..."} 
[2026-09-05 22:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07267ac00012d196500071ff1280040014529..."} 
[2026-09-05 22:01:22] local.INFO: Processing buffer {"connection_id":173327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07267ac00012d196500071ff1280040014529..."} 
[2026-09-05 22:01:22] local.INFO: Packet analysis {"connection_id":173327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07267"} 
[2026-09-05 22:01:22] local.INFO: Extracted packet for processing {"connection_id":173327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07267"} 
[2026-09-05 22:01:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888125696001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788625792000,"timestamp_ms":1788625792000,"timestamp_seconds":1788625792,"priority":1,"record_length":96,"hex_timestamp":"000001a07267ac00"} 
[2026-09-05 22:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888125696001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888125696001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:01:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:01:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888125696001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":173327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:01:22] local.INFO: GPS data processed {"connection_id":173327,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:01:22] local.INFO: Acknowledgment sent {"connection_id":173327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:01:27] local.INFO: TCP Data received {"connection_id":172208,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07264d570012d77a0c005f2a5a8001001032c..."} 
[2026-09-05 22:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07264d570012d77a0c005f2a5a8001001032c..."} 
[2026-09-05 22:01:27] local.INFO: Processing buffer {"connection_id":172208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07264d570012d77a0c005f2a5a8001001032c..."} 
[2026-09-05 22:01:27] local.INFO: Packet analysis {"connection_id":172208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07264"} 
[2026-09-05 22:01:27] local.INFO: Extracted packet for processing {"connection_id":172208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07264"} 
[2026-09-05 22:01:27] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":16,"angle":259,"satellites":44,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 22:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888078080001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 22:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 22:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788625606000,"timestamp_ms":1788625606000,"timestamp_seconds":1788625606,"priority":1,"record_length":96,"hex_timestamp":"000001a07264d570"} 
[2026-09-05 22:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 22:01:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:01:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888078080001,"66":25756,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 22:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888078080001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:01:27] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 22:01:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 22:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 22:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888078080001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 22:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":172208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:01:27] local.INFO: GPS data processed {"connection_id":172208,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:01:27] local.INFO: Acknowledgment sent {"connection_id":172208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:01:49] local.INFO: TCP Data received {"connection_id":173328,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:01:49] local.INFO: Processing buffer {"connection_id":173328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:01:49] local.INFO: IMEI packet received {"connection_id":173328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":173328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:01:49] local.INFO: TCP Data received {"connection_id":171957,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:01:49] local.INFO: Processing buffer {"connection_id":171957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:01:49] local.INFO: IMEI packet received {"connection_id":171957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":171957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:01:54] local.INFO: TCP Data received {"connection_id":173328,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:01:54] local.INFO: Processing buffer {"connection_id":173328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:01:54] local.INFO: IMEI packet received {"connection_id":173328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":173328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:01:55] local.INFO: TCP Data received {"connection_id":173328,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07267ac00012d196500071ff1280040014529..."} 
[2026-09-05 22:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07267ac00012d196500071ff1280040014529..."} 
[2026-09-05 22:01:55] local.INFO: Processing buffer {"connection_id":173328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07267ac00012d196500071ff1280040014529..."} 
[2026-09-05 22:01:55] local.INFO: Packet analysis {"connection_id":173328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07267"} 
[2026-09-05 22:01:55] local.INFO: Extracted packet for processing {"connection_id":173328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07267"} 
[2026-09-05 22:01:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888125696001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788625792000,"timestamp_ms":1788625792000,"timestamp_seconds":1788625792,"priority":1,"record_length":96,"hex_timestamp":"000001a07267ac00"} 
[2026-09-05 22:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888125696001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888125696001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:01:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:01:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888125696001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":173328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:01:55] local.INFO: GPS data processed {"connection_id":173328,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:01:55] local.INFO: Acknowledgment sent {"connection_id":173328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:01:58] local.INFO: TCP Data received {"connection_id":171957,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:01:58] local.INFO: Processing buffer {"connection_id":171957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:01:58] local.INFO: IMEI packet received {"connection_id":171957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":171957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:01:59] local.INFO: TCP Data received {"connection_id":171957,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07264d570012d77a0c005f2a5a8001001032c..."} 
[2026-09-05 22:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07264d570012d77a0c005f2a5a8001001032c..."} 
[2026-09-05 22:01:59] local.INFO: Processing buffer {"connection_id":171957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07264d570012d77a0c005f2a5a8001001032c..."} 
[2026-09-05 22:01:59] local.INFO: Packet analysis {"connection_id":171957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07264"} 
[2026-09-05 22:01:59] local.INFO: Extracted packet for processing {"connection_id":171957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07264"} 
[2026-09-05 22:01:59] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":16,"angle":259,"satellites":44,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 22:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888078080001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 22:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 22:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788625606000,"timestamp_ms":1788625606000,"timestamp_seconds":1788625606,"priority":1,"record_length":96,"hex_timestamp":"000001a07264d570"} 
[2026-09-05 22:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 22:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888078080001,"66":25756,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 22:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888078080001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:01:59] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 22:01:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 22:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 22:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888078080001,"power":25756,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 22:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":171957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:01:59] local.INFO: GPS data processed {"connection_id":171957,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:01:59] local.INFO: Acknowledgment sent {"connection_id":171957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:01:59] local.INFO: TCP Data received {"connection_id":173328,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07267ac00012d196500071ff1280040014529..."} 
[2026-09-05 22:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07267ac00012d196500071ff1280040014529..."} 
[2026-09-05 22:01:59] local.INFO: Processing buffer {"connection_id":173328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07267ac00012d196500071ff1280040014529..."} 
[2026-09-05 22:01:59] local.INFO: Packet analysis {"connection_id":173328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07267"} 
[2026-09-05 22:01:59] local.INFO: Extracted packet for processing {"connection_id":173328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07267"} 
[2026-09-05 22:01:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888125696001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788625792000,"timestamp_ms":1788625792000,"timestamp_seconds":1788625792,"priority":1,"record_length":96,"hex_timestamp":"000001a07267ac00"} 
[2026-09-05 22:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888125696001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888125696001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:01:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:01:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888125696001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":173328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:01:59] local.INFO: GPS data processed {"connection_id":173328,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:01:59] local.INFO: Acknowledgment sent {"connection_id":173328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:02:31] local.INFO: TCP Data received {"connection_id":171957,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072696d38012d77a0c005f2a5a8001001032e..."} 
[2026-09-05 22:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072696d38012d77a0c005f2a5a8001001032e..."} 
[2026-09-05 22:02:31] local.INFO: Processing buffer {"connection_id":171957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072696d38012d77a0c005f2a5a8001001032e..."} 
[2026-09-05 22:02:31] local.INFO: Packet analysis {"connection_id":171957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07269"} 
[2026-09-05 22:02:31] local.INFO: Extracted packet for processing {"connection_id":171957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07269"} 
[2026-09-05 22:02:31] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":16,"angle":259,"satellites":46,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 22:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888155136001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 22:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 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-09-05 22:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788625907000,"timestamp_ms":1788625907000,"timestamp_seconds":1788625907,"priority":1,"record_length":96,"hex_timestamp":"000001a072696d38"} 
[2026-09-05 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-09-05 22:02:31] 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-09-05 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":156,"data_length":795,"current_offset":136} 
[2026-09-05 22:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 22:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888155136001,"66":25712,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 22:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888155136001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:02:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 22:02:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 22:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 22:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888155136001,"power":25712,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 22:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":171957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:02:31] local.INFO: GPS data processed {"connection_id":171957,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:02:31] local.INFO: Acknowledgment sent {"connection_id":171957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:02:44] local.INFO: TCP Data received {"connection_id":171958,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:02:44] local.INFO: Processing buffer {"connection_id":171958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:02:44] local.INFO: IMEI packet received {"connection_id":171958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":171958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:02:49] local.INFO: TCP Data received {"connection_id":171958,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:02:49] local.INFO: Processing buffer {"connection_id":171958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:02:49] local.INFO: IMEI packet received {"connection_id":171958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":171958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:02:50] local.INFO: TCP Data received {"connection_id":171958,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07267ac00012d196500071ff1280040014529..."} 
[2026-09-05 22:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07267ac00012d196500071ff1280040014529..."} 
[2026-09-05 22:02:50] local.INFO: Processing buffer {"connection_id":171958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07267ac00012d196500071ff1280040014529..."} 
[2026-09-05 22:02:50] local.INFO: Packet analysis {"connection_id":171958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07267"} 
[2026-09-05 22:02:50] local.INFO: Extracted packet for processing {"connection_id":171958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07267"} 
[2026-09-05 22:02:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888125696001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788625792000,"timestamp_ms":1788625792000,"timestamp_seconds":1788625792,"priority":1,"record_length":96,"hex_timestamp":"000001a07267ac00"} 
[2026-09-05 22:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888125696001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888125696001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:02:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:02:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888125696001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":171958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:02:50] local.INFO: GPS data processed {"connection_id":171958,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:02:50] local.INFO: Acknowledgment sent {"connection_id":171958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:02:55] local.INFO: TCP Data received {"connection_id":172209,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:02:55] local.INFO: Processing buffer {"connection_id":172209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:02:55] local.INFO: IMEI packet received {"connection_id":172209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":172209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:02:57] local.INFO: TCP Data received {"connection_id":172209,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:02:57] local.INFO: Processing buffer {"connection_id":172209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:02:57] local.INFO: IMEI packet received {"connection_id":172209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":172209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:02:59] local.INFO: TCP Data received {"connection_id":172209,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:02:59] local.INFO: Processing buffer {"connection_id":172209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:02:59] local.INFO: IMEI packet received {"connection_id":172209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":172209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:03:00] local.INFO: TCP Data received {"connection_id":172209,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072696d38012d77a0c005f2a5a8001001032e..."} 
[2026-09-05 22:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072696d38012d77a0c005f2a5a8001001032e..."} 
[2026-09-05 22:03:00] local.INFO: Processing buffer {"connection_id":172209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072696d38012d77a0c005f2a5a8001001032e..."} 
[2026-09-05 22:03:00] local.INFO: Packet analysis {"connection_id":172209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07269"} 
[2026-09-05 22:03:00] local.INFO: Extracted packet for processing {"connection_id":172209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07269"} 
[2026-09-05 22:03:00] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":16,"angle":259,"satellites":46,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 22:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888155136001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 22:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 22:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788625907000,"timestamp_ms":1788625907000,"timestamp_seconds":1788625907,"priority":1,"record_length":96,"hex_timestamp":"000001a072696d38"} 
[2026-09-05 22:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:03:00] 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-09-05 22:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 22:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888155136001,"66":25712,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 22:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888155136001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:03:00] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 22:03:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 22:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 22:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888155136001,"power":25712,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 22:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":172209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:03:00] local.INFO: GPS data processed {"connection_id":172209,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:03:00] local.INFO: Acknowledgment sent {"connection_id":172209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:03:21] local.INFO: TCP Data received {"connection_id":171958,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07267ac00012d196500071ff1280040014529..."} 
[2026-09-05 22:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07267ac00012d196500071ff1280040014529..."} 
[2026-09-05 22:03:21] local.INFO: Processing buffer {"connection_id":171958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07267ac00012d196500071ff1280040014529..."} 
[2026-09-05 22:03:21] local.INFO: Packet analysis {"connection_id":171958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07267"} 
[2026-09-05 22:03:21] local.INFO: Extracted packet for processing {"connection_id":171958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07267"} 
[2026-09-05 22:03:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888125696001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788625792000,"timestamp_ms":1788625792000,"timestamp_seconds":1788625792,"priority":1,"record_length":96,"hex_timestamp":"000001a07267ac00"} 
[2026-09-05 22:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888125696001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888125696001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:03:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:03:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888125696001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":171958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:03:21] local.INFO: GPS data processed {"connection_id":171958,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:03:21] local.INFO: Acknowledgment sent {"connection_id":171958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:03:32] local.INFO: TCP Data received {"connection_id":172209,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072696d38012d77a0c005f2a5a8001001032e..."} 
[2026-09-05 22:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072696d38012d77a0c005f2a5a8001001032e..."} 
[2026-09-05 22:03:32] local.INFO: Processing buffer {"connection_id":172209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072696d38012d77a0c005f2a5a8001001032e..."} 
[2026-09-05 22:03:32] local.INFO: Packet analysis {"connection_id":172209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07269"} 
[2026-09-05 22:03:32] local.INFO: Extracted packet for processing {"connection_id":172209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07269"} 
[2026-09-05 22:03:32] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":16,"angle":259,"satellites":46,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 22:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888155136001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 22:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 22:03: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-09-05 22:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788625907000,"timestamp_ms":1788625907000,"timestamp_seconds":1788625907,"priority":1,"record_length":96,"hex_timestamp":"000001a072696d38"} 
[2026-09-05 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-09-05 22:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 22:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 22:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888155136001,"66":25712,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 22:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888155136001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:03:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 22:03:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 22:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 22:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888155136001,"power":25712,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 22:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":172209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:03:32] local.INFO: GPS data processed {"connection_id":172209,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:03:32] local.INFO: Acknowledgment sent {"connection_id":172209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:03:44] local.INFO: TCP Data received {"connection_id":171959,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:03:44] local.INFO: Processing buffer {"connection_id":171959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:03:44] local.INFO: IMEI packet received {"connection_id":171959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":171959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:03:49] local.INFO: TCP Data received {"connection_id":171959,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:03:49] local.INFO: Processing buffer {"connection_id":171959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:03:49] local.INFO: IMEI packet received {"connection_id":171959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":171959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:03:50] local.INFO: TCP Data received {"connection_id":171959,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07267ac00012d196500071ff1280040014529..."} 
[2026-09-05 22:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07267ac00012d196500071ff1280040014529..."} 
[2026-09-05 22:03:50] local.INFO: Processing buffer {"connection_id":171959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07267ac00012d196500071ff1280040014529..."} 
[2026-09-05 22:03:50] local.INFO: Packet analysis {"connection_id":171959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07267"} 
[2026-09-05 22:03:50] local.INFO: Extracted packet for processing {"connection_id":171959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07267"} 
[2026-09-05 22:03:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888125696001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788625792000,"timestamp_ms":1788625792000,"timestamp_seconds":1788625792,"priority":1,"record_length":96,"hex_timestamp":"000001a07267ac00"} 
[2026-09-05 22:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:03:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888125696001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888125696001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:03:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:03:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888125696001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":171959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:03:50] local.INFO: GPS data processed {"connection_id":171959,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:03:50] local.INFO: Acknowledgment sent {"connection_id":171959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:03:55] local.INFO: TCP Data received {"connection_id":172210,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:03:55] local.INFO: Processing buffer {"connection_id":172210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:03:55] local.INFO: IMEI packet received {"connection_id":172210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":172210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:04:00] local.INFO: TCP Data received {"connection_id":172210,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:04:00] local.INFO: Processing buffer {"connection_id":172210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:04:00] local.INFO: IMEI packet received {"connection_id":172210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":172210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:04:01] local.INFO: TCP Data received {"connection_id":172210,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072696d38012d77a0c005f2a5a8001001032e..."} 
[2026-09-05 22:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072696d38012d77a0c005f2a5a8001001032e..."} 
[2026-09-05 22:04:01] local.INFO: Processing buffer {"connection_id":172210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072696d38012d77a0c005f2a5a8001001032e..."} 
[2026-09-05 22:04:01] local.INFO: Packet analysis {"connection_id":172210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07269"} 
[2026-09-05 22:04:01] local.INFO: Extracted packet for processing {"connection_id":172210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07269"} 
[2026-09-05 22:04:01] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":16,"angle":259,"satellites":46,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 22:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888155136001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 22:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 22:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788625907000,"timestamp_ms":1788625907000,"timestamp_seconds":1788625907,"priority":1,"record_length":96,"hex_timestamp":"000001a072696d38"} 
[2026-09-05 22:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:04:01] 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-09-05 22:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 22:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888155136001,"66":25712,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 22:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888155136001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:04:01] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 22:04:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 22:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 22:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888155136001,"power":25712,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 22:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":172210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:04:01] local.INFO: GPS data processed {"connection_id":172210,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:04:01] local.INFO: Acknowledgment sent {"connection_id":172210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:04:06] local.INFO: TCP Data received {"connection_id":172210,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072696d38012d77a0c005f2a5a8001001032e..."} 
[2026-09-05 22:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072696d38012d77a0c005f2a5a8001001032e..."} 
[2026-09-05 22:04:06] local.INFO: Processing buffer {"connection_id":172210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072696d38012d77a0c005f2a5a8001001032e..."} 
[2026-09-05 22:04:06] local.INFO: Packet analysis {"connection_id":172210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07269"} 
[2026-09-05 22:04:06] local.INFO: Extracted packet for processing {"connection_id":172210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07269"} 
[2026-09-05 22:04:06] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":16,"angle":259,"satellites":46,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 22: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-09-05 22:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888155136001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 22:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 22:04: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-09-05 22:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788625907000,"timestamp_ms":1788625907000,"timestamp_seconds":1788625907,"priority":1,"record_length":96,"hex_timestamp":"000001a072696d38"} 
[2026-09-05 22:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:04:06] 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-09-05 22: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 22:04: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-09-05 22: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-09-05 22:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888155136001,"66":25712,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 22:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888155136001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:04:06] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 22:04:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 22:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 22:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888155136001,"power":25712,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 22:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":172210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:04:06] local.INFO: GPS data processed {"connection_id":172210,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:04:06] local.INFO: Acknowledgment sent {"connection_id":172210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:04:21] local.INFO: TCP Data received {"connection_id":171959,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07267ac00012d196500071ff1280040014529..."} 
[2026-09-05 22:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07267ac00012d196500071ff1280040014529..."} 
[2026-09-05 22:04:21] local.INFO: Processing buffer {"connection_id":171959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07267ac00012d196500071ff1280040014529..."} 
[2026-09-05 22:04:21] local.INFO: Packet analysis {"connection_id":171959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07267"} 
[2026-09-05 22:04:21] local.INFO: Extracted packet for processing {"connection_id":171959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07267"} 
[2026-09-05 22:04:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888125696001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788625792000,"timestamp_ms":1788625792000,"timestamp_seconds":1788625792,"priority":1,"record_length":96,"hex_timestamp":"000001a07267ac00"} 
[2026-09-05 22:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888125696001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888125696001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:04:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:04:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888125696001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":171959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:04:21] local.INFO: GPS data processed {"connection_id":171959,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:04:21] local.INFO: Acknowledgment sent {"connection_id":171959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:04:44] local.INFO: TCP Data received {"connection_id":171960,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:04:44] local.INFO: Processing buffer {"connection_id":171960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:04:44] local.INFO: IMEI packet received {"connection_id":171960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":171960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:04:49] local.INFO: TCP Data received {"connection_id":171960,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:04:49] local.INFO: Processing buffer {"connection_id":171960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:04:49] local.INFO: IMEI packet received {"connection_id":171960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":171960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:04:50] local.INFO: TCP Data received {"connection_id":171960,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07267ac00012d196500071ff1280040014529..."} 
[2026-09-05 22:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07267ac00012d196500071ff1280040014529..."} 
[2026-09-05 22:04:50] local.INFO: Processing buffer {"connection_id":171960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07267ac00012d196500071ff1280040014529..."} 
[2026-09-05 22:04:50] local.INFO: Packet analysis {"connection_id":171960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07267"} 
[2026-09-05 22:04:50] local.INFO: Extracted packet for processing {"connection_id":171960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07267"} 
[2026-09-05 22:04:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888125696001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788625792000,"timestamp_ms":1788625792000,"timestamp_seconds":1788625792,"priority":1,"record_length":96,"hex_timestamp":"000001a07267ac00"} 
[2026-09-05 22:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888125696001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888125696001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:04:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:04:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888125696001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":171960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:04:50] local.INFO: GPS data processed {"connection_id":171960,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:04:50] local.INFO: Acknowledgment sent {"connection_id":171960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:04:50] local.INFO: TCP Data received {"connection_id":174653,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:04:50] local.INFO: Processing buffer {"connection_id":174653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:04:50] local.INFO: IMEI packet received {"connection_id":174653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":174653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:04:54] local.INFO: TCP Data received {"connection_id":174653,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:04:54] local.INFO: Processing buffer {"connection_id":174653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:04:54] local.INFO: IMEI packet received {"connection_id":174653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":174653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:04:56] local.INFO: TCP Data received {"connection_id":174653,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072696d38012d77a0c005f2a5a8001001032e..."} 
[2026-09-05 22:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072696d38012d77a0c005f2a5a8001001032e..."} 
[2026-09-05 22:04:56] local.INFO: Processing buffer {"connection_id":174653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072696d38012d77a0c005f2a5a8001001032e..."} 
[2026-09-05 22:04:56] local.INFO: Packet analysis {"connection_id":174653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07269"} 
[2026-09-05 22:04:56] local.INFO: Extracted packet for processing {"connection_id":174653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07269"} 
[2026-09-05 22:04:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":16,"angle":259,"satellites":46,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 22:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888155136001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 22:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 22:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788625907000,"timestamp_ms":1788625907000,"timestamp_seconds":1788625907,"priority":1,"record_length":96,"hex_timestamp":"000001a072696d38"} 
[2026-09-05 22:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:04:56] 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-09-05 22:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 22:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:04:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888155136001,"66":25712,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 22:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888155136001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:04:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 22:04:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 22:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 22:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888155136001,"power":25712,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 22:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":174653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:04:56] local.INFO: GPS data processed {"connection_id":174653,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:04:56] local.INFO: Acknowledgment sent {"connection_id":174653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:05:21] local.INFO: TCP Data received {"connection_id":171960,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07267ac00012d196500071ff1280040014529..."} 
[2026-09-05 22:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07267ac00012d196500071ff1280040014529..."} 
[2026-09-05 22:05:21] local.INFO: Processing buffer {"connection_id":171960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07267ac00012d196500071ff1280040014529..."} 
[2026-09-05 22:05:21] local.INFO: Packet analysis {"connection_id":171960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07267"} 
[2026-09-05 22:05:21] local.INFO: Extracted packet for processing {"connection_id":171960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07267"} 
[2026-09-05 22:05:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888125696001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788625792000,"timestamp_ms":1788625792000,"timestamp_seconds":1788625792,"priority":1,"record_length":96,"hex_timestamp":"000001a07267ac00"} 
[2026-09-05 22:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888125696001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888125696001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:05:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:05:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888125696001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":171960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:05:21] local.INFO: GPS data processed {"connection_id":171960,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:05:21] local.INFO: Acknowledgment sent {"connection_id":171960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:05:27] local.INFO: TCP Data received {"connection_id":174653,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072696d38012d77a0c005f2a5a8001001032e..."} 
[2026-09-05 22:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072696d38012d77a0c005f2a5a8001001032e..."} 
[2026-09-05 22:05:27] local.INFO: Processing buffer {"connection_id":174653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072696d38012d77a0c005f2a5a8001001032e..."} 
[2026-09-05 22:05:27] local.INFO: Packet analysis {"connection_id":174653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07269"} 
[2026-09-05 22:05:27] local.INFO: Extracted packet for processing {"connection_id":174653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07269"} 
[2026-09-05 22:05:27] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":16,"angle":259,"satellites":46,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 22: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-09-05 22:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888155136001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 22:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 22:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788625907000,"timestamp_ms":1788625907000,"timestamp_seconds":1788625907,"priority":1,"record_length":96,"hex_timestamp":"000001a072696d38"} 
[2026-09-05 22:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 22:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22: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-09-05 22:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888155136001,"66":25712,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 22:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888155136001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:05:27] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 22:05:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 22:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 22:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888155136001,"power":25712,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 22:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":174653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:05:27] local.INFO: GPS data processed {"connection_id":174653,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:05:27] local.INFO: Acknowledgment sent {"connection_id":174653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:05:43] local.INFO: TCP Data received {"connection_id":172211,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:05:43] local.INFO: Processing buffer {"connection_id":172211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:05:43] local.INFO: IMEI packet received {"connection_id":172211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":172211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:05:49] local.INFO: TCP Data received {"connection_id":172211,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:05:49] local.INFO: Processing buffer {"connection_id":172211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:05:49] local.INFO: IMEI packet received {"connection_id":172211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":172211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:05:49] local.INFO: TCP Data received {"connection_id":172211,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0726c43c8012d196500071ff1280040014525..."} 
[2026-09-05 22:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0726c43c8012d196500071ff1280040014525..."} 
[2026-09-05 22:05:49] local.INFO: Processing buffer {"connection_id":172211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0726c43c8012d196500071ff1280040014525..."} 
[2026-09-05 22:05:49] local.INFO: Packet analysis {"connection_id":172211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0726c"} 
[2026-09-05 22:05:49] local.INFO: Extracted packet for processing {"connection_id":172211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0726c"} 
[2026-09-05 22:05:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888202752001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788626093000,"timestamp_ms":1788626093000,"timestamp_seconds":1788626093,"priority":1,"record_length":96,"hex_timestamp":"000001a0726c43c8"} 
[2026-09-05 22:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:05:49] 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-09-05 22:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 22:05: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-09-05 22:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888202752001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888202752001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:05:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:05:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888202752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":172211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:05:49] local.INFO: GPS data processed {"connection_id":172211,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:05:49] local.INFO: Acknowledgment sent {"connection_id":172211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:05:49] local.INFO: TCP Data received {"connection_id":172212,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:05:49] local.INFO: Processing buffer {"connection_id":172212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:05:49] local.INFO: IMEI packet received {"connection_id":172212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":172212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:05:55] local.INFO: TCP Data received {"connection_id":172212,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:05:55] local.INFO: Processing buffer {"connection_id":172212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:05:55] local.INFO: IMEI packet received {"connection_id":172212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":172212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:05:56] local.INFO: TCP Data received {"connection_id":172212,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072696d38012d77a0c005f2a5a8001001032e..."} 
[2026-09-05 22:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072696d38012d77a0c005f2a5a8001001032e..."} 
[2026-09-05 22:05:56] local.INFO: Processing buffer {"connection_id":172212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072696d38012d77a0c005f2a5a8001001032e..."} 
[2026-09-05 22:05:56] local.INFO: Packet analysis {"connection_id":172212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07269"} 
[2026-09-05 22:05:56] local.INFO: Extracted packet for processing {"connection_id":172212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07269"} 
[2026-09-05 22:05:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":16,"angle":259,"satellites":46,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 22:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888155136001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 22:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 22:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788625907000,"timestamp_ms":1788625907000,"timestamp_seconds":1788625907,"priority":1,"record_length":96,"hex_timestamp":"000001a072696d38"} 
[2026-09-05 22:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:05:56] 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-09-05 22:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 22:05:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888155136001,"66":25712,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 22:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888155136001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:05:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 22:05:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 22:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 22:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888155136001,"power":25712,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 22:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":172212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:05:56] local.INFO: GPS data processed {"connection_id":172212,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:05:56] local.INFO: Acknowledgment sent {"connection_id":172212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:06:20] local.INFO: TCP Data received {"connection_id":172211,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0726c43c8012d196500071ff1280040014525..."} 
[2026-09-05 22:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0726c43c8012d196500071ff1280040014525..."} 
[2026-09-05 22:06:20] local.INFO: Processing buffer {"connection_id":172211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0726c43c8012d196500071ff1280040014525..."} 
[2026-09-05 22:06:20] local.INFO: Packet analysis {"connection_id":172211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0726c"} 
[2026-09-05 22:06:20] local.INFO: Extracted packet for processing {"connection_id":172211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0726c"} 
[2026-09-05 22:06:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888202752001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788626093000,"timestamp_ms":1788626093000,"timestamp_seconds":1788626093,"priority":1,"record_length":96,"hex_timestamp":"000001a0726c43c8"} 
[2026-09-05 22:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:06:20] 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-09-05 22:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 22:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:06:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888202752001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888202752001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:06:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:06:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888202752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":172211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:06:20] local.INFO: GPS data processed {"connection_id":172211,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:06:20] local.INFO: Acknowledgment sent {"connection_id":172211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:06:27] local.INFO: TCP Data received {"connection_id":172212,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072696d38012d77a0c005f2a5a8001001032e..."} 
[2026-09-05 22:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072696d38012d77a0c005f2a5a8001001032e..."} 
[2026-09-05 22:06:27] local.INFO: Processing buffer {"connection_id":172212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072696d38012d77a0c005f2a5a8001001032e..."} 
[2026-09-05 22:06:27] local.INFO: Packet analysis {"connection_id":172212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07269"} 
[2026-09-05 22:06:27] local.INFO: Extracted packet for processing {"connection_id":172212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07269"} 
[2026-09-05 22:06:27] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":16,"angle":259,"satellites":46,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 22:06: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-09-05 22:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888155136001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 22:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 22:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788625907000,"timestamp_ms":1788625907000,"timestamp_seconds":1788625907,"priority":1,"record_length":96,"hex_timestamp":"000001a072696d38"} 
[2026-09-05 22:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 22:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:06: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-09-05 22:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888155136001,"66":25712,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 22:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888155136001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:06:27] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 22:06:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 22:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 22:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888155136001,"power":25712,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 22:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":172212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:06:27] local.INFO: GPS data processed {"connection_id":172212,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:06:27] local.INFO: Acknowledgment sent {"connection_id":172212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:06:44] local.INFO: TCP Data received {"connection_id":174654,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:06:44] local.INFO: Processing buffer {"connection_id":174654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:06:44] local.INFO: IMEI packet received {"connection_id":174654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":174654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:06:49] local.INFO: TCP Data received {"connection_id":174654,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:06:49] local.INFO: Processing buffer {"connection_id":174654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:06:49] local.INFO: IMEI packet received {"connection_id":174654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":174654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:06:49] local.INFO: TCP Data received {"connection_id":171961,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:06:49] local.INFO: Processing buffer {"connection_id":171961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:06:49] local.INFO: IMEI packet received {"connection_id":171961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":171961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:06:50] local.INFO: TCP Data received {"connection_id":174654,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0726c43c8012d196500071ff1280040014525..."} 
[2026-09-05 22:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0726c43c8012d196500071ff1280040014525..."} 
[2026-09-05 22:06:50] local.INFO: Processing buffer {"connection_id":174654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0726c43c8012d196500071ff1280040014525..."} 
[2026-09-05 22:06:50] local.INFO: Packet analysis {"connection_id":174654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0726c"} 
[2026-09-05 22:06:50] local.INFO: Extracted packet for processing {"connection_id":174654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0726c"} 
[2026-09-05 22:06:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888202752001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788626093000,"timestamp_ms":1788626093000,"timestamp_seconds":1788626093,"priority":1,"record_length":96,"hex_timestamp":"000001a0726c43c8"} 
[2026-09-05 22:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:06:50] 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-09-05 22:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 22:06:50] 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-09-05 22:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888202752001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888202752001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:06:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:06:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888202752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":174654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:06:50] local.INFO: GPS data processed {"connection_id":174654,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:06:50] local.INFO: Acknowledgment sent {"connection_id":174654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:06:55] local.INFO: TCP Data received {"connection_id":171961,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:06:55] local.INFO: Processing buffer {"connection_id":171961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:06:55] local.INFO: IMEI packet received {"connection_id":171961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":171961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:06:56] local.INFO: TCP Data received {"connection_id":171961,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072696d38012d77a0c005f2a5a8001001032e..."} 
[2026-09-05 22:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072696d38012d77a0c005f2a5a8001001032e..."} 
[2026-09-05 22:06:56] local.INFO: Processing buffer {"connection_id":171961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072696d38012d77a0c005f2a5a8001001032e..."} 
[2026-09-05 22:06:56] local.INFO: Packet analysis {"connection_id":171961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07269"} 
[2026-09-05 22:06:56] local.INFO: Extracted packet for processing {"connection_id":171961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07269"} 
[2026-09-05 22:06:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":16,"angle":259,"satellites":46,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 22:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888155136001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 22:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 22:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788625907000,"timestamp_ms":1788625907000,"timestamp_seconds":1788625907,"priority":1,"record_length":96,"hex_timestamp":"000001a072696d38"} 
[2026-09-05 22:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:06:56] 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-09-05 22:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-05 22:06:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:06:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888155136001,"66":25712,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 22:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888155136001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:06:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 22:06:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 22:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 22:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888155136001,"power":25712,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 22:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":171961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:06:56] local.INFO: GPS data processed {"connection_id":171961,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:06:56] local.INFO: Acknowledgment sent {"connection_id":171961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:07:21] local.INFO: TCP Data received {"connection_id":174654,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0726c43c8012d196500071ff1280040014525..."} 
[2026-09-05 22:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0726c43c8012d196500071ff1280040014525..."} 
[2026-09-05 22:07:21] local.INFO: Processing buffer {"connection_id":174654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0726c43c8012d196500071ff1280040014525..."} 
[2026-09-05 22:07:21] local.INFO: Packet analysis {"connection_id":174654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0726c"} 
[2026-09-05 22:07:21] local.INFO: Extracted packet for processing {"connection_id":174654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0726c"} 
[2026-09-05 22:07:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888202752001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788626093000,"timestamp_ms":1788626093000,"timestamp_seconds":1788626093,"priority":1,"record_length":96,"hex_timestamp":"000001a0726c43c8"} 
[2026-09-05 22:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:07:21] 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-09-05 22:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 22:07:21] 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-09-05 22:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888202752001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888202752001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:07:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:07:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888202752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":174654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:07:21] local.INFO: GPS data processed {"connection_id":174654,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:07:21] local.INFO: Acknowledgment sent {"connection_id":174654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:07:35] local.INFO: TCP Data received {"connection_id":171961,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0726e0500012d77a0c005f2a5a8001001032a..."} 
[2026-09-05 22:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0726e0500012d77a0c005f2a5a8001001032a..."} 
[2026-09-05 22:07:35] local.INFO: Processing buffer {"connection_id":171961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0726e0500012d77a0c005f2a5a8001001032a..."} 
[2026-09-05 22:07:35] local.INFO: Packet analysis {"connection_id":171961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0726e"} 
[2026-09-05 22:07:35] local.INFO: Extracted packet for processing {"connection_id":171961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0726e"} 
[2026-09-05 22:07:35] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":16,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 22: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-09-05 22:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888232192001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 22:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 22:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788626208000,"timestamp_ms":1788626208000,"timestamp_seconds":1788626208,"priority":1,"record_length":96,"hex_timestamp":"000001a0726e0500"} 
[2026-09-05 22:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-05 22:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22: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-09-05 22:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":171961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":171961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":171961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888232192001,"66":25702,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 22:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888232192001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:07:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 22:07:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 22:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 22:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888232192001,"power":25702,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 22:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":171961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:07:35] local.INFO: GPS data processed {"connection_id":171961,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:07:35] local.INFO: Acknowledgment sent {"connection_id":171961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:07:44] local.INFO: TCP Data received {"connection_id":172213,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:07:44] local.INFO: Processing buffer {"connection_id":172213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:07:44] local.INFO: IMEI packet received {"connection_id":172213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":172213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:07:49] local.INFO: TCP Data received {"connection_id":172213,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:07:49] local.INFO: Processing buffer {"connection_id":172213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:07:49] local.INFO: IMEI packet received {"connection_id":172213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":172213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:07:49] local.INFO: TCP Data received {"connection_id":172213,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0726c43c8012d196500071ff1280040014525..."} 
[2026-09-05 22:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0726c43c8012d196500071ff1280040014525..."} 
[2026-09-05 22:07:49] local.INFO: Processing buffer {"connection_id":172213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0726c43c8012d196500071ff1280040014525..."} 
[2026-09-05 22:07:49] local.INFO: Packet analysis {"connection_id":172213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0726c"} 
[2026-09-05 22:07:49] local.INFO: Extracted packet for processing {"connection_id":172213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0726c"} 
[2026-09-05 22:07:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888202752001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788626093000,"timestamp_ms":1788626093000,"timestamp_seconds":1788626093,"priority":1,"record_length":96,"hex_timestamp":"000001a0726c43c8"} 
[2026-09-05 22:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:07:49] 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-09-05 22:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 22:07: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-09-05 22:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888202752001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888202752001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:07:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:07:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888202752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":172213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:07:50] local.INFO: GPS data processed {"connection_id":172213,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:07:50] local.INFO: Acknowledgment sent {"connection_id":172213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:07:55] local.INFO: TCP Data received {"connection_id":174655,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:07:55] local.INFO: Processing buffer {"connection_id":174655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:07:55] local.INFO: IMEI packet received {"connection_id":174655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":174655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:08:00] local.INFO: TCP Data received {"connection_id":174655,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:08:00] local.INFO: Processing buffer {"connection_id":174655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:08:00] local.INFO: IMEI packet received {"connection_id":174655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":174655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:08:01] local.INFO: TCP Data received {"connection_id":174655,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0726e0500012d77a0c005f2a5a8001001032a..."} 
[2026-09-05 22:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0726e0500012d77a0c005f2a5a8001001032a..."} 
[2026-09-05 22:08:01] local.INFO: Processing buffer {"connection_id":174655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0726e0500012d77a0c005f2a5a8001001032a..."} 
[2026-09-05 22:08:01] local.INFO: Packet analysis {"connection_id":174655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0726e"} 
[2026-09-05 22:08:01] local.INFO: Extracted packet for processing {"connection_id":174655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0726e"} 
[2026-09-05 22:08:01] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":16,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 22:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888232192001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 22:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 22:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788626208000,"timestamp_ms":1788626208000,"timestamp_seconds":1788626208,"priority":1,"record_length":96,"hex_timestamp":"000001a0726e0500"} 
[2026-09-05 22:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-05 22:08:01] 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-09-05 22:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888232192001,"66":25702,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 22:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888232192001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:08:01] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 22:08:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 22:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 22:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888232192001,"power":25702,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 22:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":174655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:08:01] local.INFO: GPS data processed {"connection_id":174655,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:08:01] local.INFO: Acknowledgment sent {"connection_id":174655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:08:06] local.INFO: TCP Data received {"connection_id":172214,"ip":"117.224.188.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:08:06] local.INFO: Processing buffer {"connection_id":172214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:08:06] local.INFO: IMEI packet received {"connection_id":172214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 22:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":172214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:08:10] local.INFO: TCP Data received {"connection_id":172214,"ip":"117.224.188.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:08:10] local.INFO: Processing buffer {"connection_id":172214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:08:10] local.INFO: IMEI packet received {"connection_id":172214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 22:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":172214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:08:11] local.INFO: TCP Data received {"connection_id":172214,"ip":"117.224.188.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:08:11] local.INFO: Processing buffer {"connection_id":172214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:08:11] local.INFO: IMEI packet received {"connection_id":172214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 22:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":172214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:08:12] local.INFO: TCP Data received {"connection_id":172214,"ip":"117.224.188.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0726d7c48012ca890800903a2f0022f003523..."} 
[2026-09-05 22:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0726d7c48012ca890800903a2f0022f003523..."} 
[2026-09-05 22:08:12] local.INFO: Processing buffer {"connection_id":172214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0726d7c48012ca890800903a2f0022f003523..."} 
[2026-09-05 22:08:12] local.INFO: Packet analysis {"connection_id":172214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0726d"} 
[2026-09-05 22:08:12] local.INFO: Extracted packet for processing {"connection_id":172214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0726d"} 
[2026-09-05 22:08:12] local.INFO: GPS Element Parsed {"raw_longitude":749244544,"raw_latitude":151233264,"longitude_deg":74.9244544,"latitude_deg":15.1233264,"altitude":559,"angle":53,"satellites":35,"speed":43,"hex_longitude":"2ca89080","hex_latitude":"0903a2f0","is_valid_coordinates":true} 
[2026-09-05 22:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888298240001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1893883009040384,"note":"Value kept but may cause issues"} 
[2026-09-05 22:08:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6308628245557211134,"note":"Value kept but may cause issues"} 
[2026-09-05 22:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788626173000,"timestamp_ms":1788626173000,"timestamp_seconds":1788626173,"priority":1,"record_length":96,"hex_timestamp":"000001a0726d7c48"} 
[2026-09-05 22:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 22:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":172214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":172214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":172214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.188.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888298240001,"66":27571,"102":206,"9":54784,"24":43,"16":1893883009040384,"44":-6308628245557211134},"client_ip":"117.224.188.46","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,44]} 
[2026-09-05 22:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888298240001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:08:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:08:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1893883009040384,"km_value":1893883009040.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:08:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6308628245557211134,"description":"Unknown IO ID 44"} 
[2026-09-05 22:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888298240001,"power":27571,"unknown_102":206,"unknown_9":54784,"ignition":43,"odometer":null,"unknown_44":-6308628245557211134}} 
[2026-09-05 22:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":172214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771534,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:08:12] local.INFO: GPS data processed {"connection_id":172214,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:08:12] local.INFO: Acknowledgment sent {"connection_id":172214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:08:21] local.INFO: TCP Data received {"connection_id":172213,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0726c43c8012d196500071ff1280040014525..."} 
[2026-09-05 22:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0726c43c8012d196500071ff1280040014525..."} 
[2026-09-05 22:08:21] local.INFO: Processing buffer {"connection_id":172213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0726c43c8012d196500071ff1280040014525..."} 
[2026-09-05 22:08:21] local.INFO: Packet analysis {"connection_id":172213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0726c"} 
[2026-09-05 22:08:21] local.INFO: Extracted packet for processing {"connection_id":172213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0726c"} 
[2026-09-05 22:08:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888202752001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788626093000,"timestamp_ms":1788626093000,"timestamp_seconds":1788626093,"priority":1,"record_length":96,"hex_timestamp":"000001a0726c43c8"} 
[2026-09-05 22:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:08:21] 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-09-05 22:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 22:08:21] 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-09-05 22:08:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888202752001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888202752001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:08:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:08:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888202752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":172213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:08:21] local.INFO: GPS data processed {"connection_id":172213,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:08:21] local.INFO: Acknowledgment sent {"connection_id":172213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:08:32] local.INFO: TCP Data received {"connection_id":174655,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0726e0500012d77a0c005f2a5a8001001032a..."} 
[2026-09-05 22:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0726e0500012d77a0c005f2a5a8001001032a..."} 
[2026-09-05 22:08:32] local.INFO: Processing buffer {"connection_id":174655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0726e0500012d77a0c005f2a5a8001001032a..."} 
[2026-09-05 22:08:32] local.INFO: Packet analysis {"connection_id":174655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0726e"} 
[2026-09-05 22:08:32] local.INFO: Extracted packet for processing {"connection_id":174655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0726e"} 
[2026-09-05 22:08:32] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":16,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 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-09-05 22:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888232192001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 22:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 22:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788626208000,"timestamp_ms":1788626208000,"timestamp_seconds":1788626208,"priority":1,"record_length":96,"hex_timestamp":"000001a0726e0500"} 
[2026-09-05 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-09-05 22:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-05 22:08:32] 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-09-05 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-09-05 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-09-05 22:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888232192001,"66":25702,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 22:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888232192001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:08:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 22:08:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 22:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 22:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888232192001,"power":25702,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 22:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":174655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:08:32] local.INFO: GPS data processed {"connection_id":174655,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:08:32] local.INFO: Acknowledgment sent {"connection_id":174655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:08:44] local.INFO: TCP Data received {"connection_id":171962,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:08:44] local.INFO: Processing buffer {"connection_id":171962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:08:44] local.INFO: IMEI packet received {"connection_id":171962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":171962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:08:49] local.INFO: TCP Data received {"connection_id":171962,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:08:49] local.INFO: Processing buffer {"connection_id":171962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:08:49] local.INFO: IMEI packet received {"connection_id":171962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":171962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:08:49] local.INFO: TCP Data received {"connection_id":173329,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:08:49] local.INFO: Processing buffer {"connection_id":173329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:08:49] local.INFO: IMEI packet received {"connection_id":173329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":173329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:08:50] local.INFO: TCP Data received {"connection_id":171962,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0726c43c8012d196500071ff1280040014525..."} 
[2026-09-05 22:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0726c43c8012d196500071ff1280040014525..."} 
[2026-09-05 22:08:50] local.INFO: Processing buffer {"connection_id":171962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0726c43c8012d196500071ff1280040014525..."} 
[2026-09-05 22:08:50] local.INFO: Packet analysis {"connection_id":171962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0726c"} 
[2026-09-05 22:08:50] local.INFO: Extracted packet for processing {"connection_id":171962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0726c"} 
[2026-09-05 22:08:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888202752001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:08:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788626093000,"timestamp_ms":1788626093000,"timestamp_seconds":1788626093,"priority":1,"record_length":96,"hex_timestamp":"000001a0726c43c8"} 
[2026-09-05 22:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:08:50] 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-09-05 22:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 22:08:50] 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-09-05 22:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:08:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888202752001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888202752001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:08:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:08:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:08:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888202752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":171962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:08:50] local.INFO: GPS data processed {"connection_id":171962,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:08:50] local.INFO: Acknowledgment sent {"connection_id":171962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:08:51] local.INFO: TCP Data received {"connection_id":171963,"ip":"117.224.188.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:08:51] local.INFO: Processing buffer {"connection_id":171963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:08:51] local.INFO: IMEI packet received {"connection_id":171963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 22:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":171963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:08:51] local.INFO: TCP Data received {"connection_id":171963,"ip":"117.224.188.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:08:51] local.INFO: Processing buffer {"connection_id":171963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:08:51] local.INFO: IMEI packet received {"connection_id":171963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 22:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":171963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:08:55] local.INFO: TCP Data received {"connection_id":173329,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:08:55] local.INFO: Processing buffer {"connection_id":173329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:08:55] local.INFO: IMEI packet received {"connection_id":173329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":173329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:08:56] local.INFO: TCP Data received {"connection_id":173329,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0726e0500012d77a0c005f2a5a8001001032a..."} 
[2026-09-05 22:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0726e0500012d77a0c005f2a5a8001001032a..."} 
[2026-09-05 22:08:56] local.INFO: Processing buffer {"connection_id":173329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0726e0500012d77a0c005f2a5a8001001032a..."} 
[2026-09-05 22:08:56] local.INFO: Packet analysis {"connection_id":173329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0726e"} 
[2026-09-05 22:08:56] local.INFO: Extracted packet for processing {"connection_id":173329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0726e"} 
[2026-09-05 22:08:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":16,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 22:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888232192001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 22:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 22:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788626208000,"timestamp_ms":1788626208000,"timestamp_seconds":1788626208,"priority":1,"record_length":96,"hex_timestamp":"000001a0726e0500"} 
[2026-09-05 22:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-05 22:08:56] 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-09-05 22:08:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888232192001,"66":25702,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 22:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888232192001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:08:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 22:08:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 22:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 22:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888232192001,"power":25702,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 22:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":173329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:08:56] local.INFO: GPS data processed {"connection_id":173329,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:08:56] local.INFO: Acknowledgment sent {"connection_id":173329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:08:56] local.INFO: TCP Data received {"connection_id":171963,"ip":"117.224.188.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:08:56] local.INFO: Processing buffer {"connection_id":171963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:08:56] local.INFO: IMEI packet received {"connection_id":171963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 22:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":171963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:08:58] local.INFO: TCP Data received {"connection_id":171963,"ip":"117.224.188.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0726ed020012ca955c0090479700227016420..."} 
[2026-09-05 22:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0726ed020012ca955c0090479700227016420..."} 
[2026-09-05 22:08:58] local.INFO: Processing buffer {"connection_id":171963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0726ed020012ca955c0090479700227016420..."} 
[2026-09-05 22:08:58] local.INFO: Packet analysis {"connection_id":171963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0726e"} 
[2026-09-05 22:08:58] local.INFO: Extracted packet for processing {"connection_id":171963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0726e"} 
[2026-09-05 22:08:58] local.INFO: GPS Element Parsed {"raw_longitude":749295040,"raw_latitude":151288176,"longitude_deg":74.929504,"latitude_deg":15.1288176,"altitude":551,"angle":356,"satellites":32,"speed":48,"hex_longitude":"2ca955c0","hex_latitude":"09047970","is_valid_coordinates":true} 
[2026-09-05 22:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888320512001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1897439241961472,"note":"Value kept but may cause issues"} 
[2026-09-05 22:08:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6244311213365936126,"note":"Value kept but may cause issues"} 
[2026-09-05 22:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788626260000,"timestamp_ms":1788626260000,"timestamp_seconds":1788626260,"priority":1,"record_length":96,"hex_timestamp":"000001a0726ed020"} 
[2026-09-05 22:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:08:58] 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-09-05 22:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-05 22:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:08:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.188.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888320512001,"66":26984,"102":206,"9":54784,"24":48,"16":1897439241961472,"44":-6244311213365936126},"client_ip":"117.224.188.46","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,44]} 
[2026-09-05 22:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888320512001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:08:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:08:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1897439241961472,"km_value":1897439241961.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:08:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6244311213365936126,"description":"Unknown IO ID 44"} 
[2026-09-05 22:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888320512001,"power":26984,"unknown_102":206,"unknown_9":54784,"ignition":48,"odometer":null,"unknown_44":-6244311213365936126}} 
[2026-09-05 22:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":171963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771539,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:08:58] local.INFO: GPS data processed {"connection_id":171963,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:08:58] local.INFO: Acknowledgment sent {"connection_id":171963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:09:00] local.INFO: TCP Data received {"connection_id":171963,"ip":"117.224.188.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0726eef60012ca952000904a0c00221015e22..."} 
[2026-09-05 22:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0726eef60012ca952000904a0c00221015e22..."} 
[2026-09-05 22:09:00] local.INFO: Processing buffer {"connection_id":171963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0726eef60012ca952000904a0c00221015e22..."} 
[2026-09-05 22:09:00] local.INFO: Packet analysis {"connection_id":171963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0726e"} 
[2026-09-05 22:09:00] local.INFO: Extracted packet for processing {"connection_id":171963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0726e"} 
[2026-09-05 22:09:00] local.INFO: GPS Element Parsed {"raw_longitude":749294080,"raw_latitude":151298240,"longitude_deg":74.929408,"latitude_deg":15.129824,"altitude":545,"angle":350,"satellites":34,"speed":50,"hex_longitude":"2ca95200","hex_latitude":"0904a0c0","is_valid_coordinates":true} 
[2026-09-05 22:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888322560001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1897928868233216,"note":"Value kept but may cause issues"} 
[2026-09-05 22:09:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6244874163317018622,"note":"Value kept but may cause issues"} 
[2026-09-05 22:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788626268000,"timestamp_ms":1788626268000,"timestamp_seconds":1788626268,"priority":1,"record_length":96,"hex_timestamp":"000001a0726eef60"} 
[2026-09-05 22:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-05 22:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":171963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":171963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":171963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.188.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888322560001,"66":27343,"102":206,"9":54784,"24":50,"16":1897928868233216,"44":-6244874163317018622},"client_ip":"117.224.188.46","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,44]} 
[2026-09-05 22:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888322560001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:09:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:09:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1897928868233216,"km_value":1897928868233.216,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:09:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6244874163317018622,"description":"Unknown IO ID 44"} 
[2026-09-05 22:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888322560001,"power":27343,"unknown_102":206,"unknown_9":54784,"ignition":50,"odometer":null,"unknown_44":-6244874163317018622}} 
[2026-09-05 22:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":171963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771540,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:09:00] local.INFO: GPS data processed {"connection_id":171963,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:09:00] local.INFO: Acknowledgment sent {"connection_id":171963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:09:21] local.INFO: TCP Data received {"connection_id":171962,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0726c43c8012d196500071ff1280040014525..."} 
[2026-09-05 22:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0726c43c8012d196500071ff1280040014525..."} 
[2026-09-05 22:09:21] local.INFO: Processing buffer {"connection_id":171962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0726c43c8012d196500071ff1280040014525..."} 
[2026-09-05 22:09:21] local.INFO: Packet analysis {"connection_id":171962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0726c"} 
[2026-09-05 22:09:21] local.INFO: Extracted packet for processing {"connection_id":171962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0726c"} 
[2026-09-05 22:09:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22: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-09-05 22:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888202752001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788626093000,"timestamp_ms":1788626093000,"timestamp_seconds":1788626093,"priority":1,"record_length":96,"hex_timestamp":"000001a0726c43c8"} 
[2026-09-05 22:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:09:21] 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-09-05 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 22:09:21] 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-09-05 22:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888202752001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888202752001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:09:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:09:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888202752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":171962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:09:21] local.INFO: GPS data processed {"connection_id":171962,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:09:21] local.INFO: Acknowledgment sent {"connection_id":171962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:09:27] local.INFO: TCP Data received {"connection_id":173329,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0726e0500012d77a0c005f2a5a8001001032a..."} 
[2026-09-05 22:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0726e0500012d77a0c005f2a5a8001001032a..."} 
[2026-09-05 22:09:27] local.INFO: Processing buffer {"connection_id":173329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0726e0500012d77a0c005f2a5a8001001032a..."} 
[2026-09-05 22:09:27] local.INFO: Packet analysis {"connection_id":173329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0726e"} 
[2026-09-05 22:09:27] local.INFO: Extracted packet for processing {"connection_id":173329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0726e"} 
[2026-09-05 22:09:27] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":16,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 22:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888232192001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 22:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 22:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788626208000,"timestamp_ms":1788626208000,"timestamp_seconds":1788626208,"priority":1,"record_length":96,"hex_timestamp":"000001a0726e0500"} 
[2026-09-05 22:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-05 22:09:27] 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-09-05 22:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888232192001,"66":25702,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 22:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888232192001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:09:27] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 22:09:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 22:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 22:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888232192001,"power":25702,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 22:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":173329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:09:27] local.INFO: GPS data processed {"connection_id":173329,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:09:27] local.INFO: Acknowledgment sent {"connection_id":173329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:09:31] local.INFO: TCP Data received {"connection_id":171963,"ip":"117.224.188.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0726f06d0012ca949400904bdc0022001511e..."} 
[2026-09-05 22:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0726f06d0012ca949400904bdc0022001511e..."} 
[2026-09-05 22:09:31] local.INFO: Processing buffer {"connection_id":171963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0726f06d0012ca949400904bdc0022001511e..."} 
[2026-09-05 22:09:31] local.INFO: Packet analysis {"connection_id":171963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0726f"} 
[2026-09-05 22:09:31] local.INFO: Extracted packet for processing {"connection_id":171963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0726f"} 
[2026-09-05 22:09:31] local.INFO: GPS Element Parsed {"raw_longitude":749291840,"raw_latitude":151305664,"longitude_deg":74.929184,"latitude_deg":15.1305664,"altitude":544,"angle":337,"satellites":30,"speed":51,"hex_longitude":"2ca94940","hex_latitude":"0904bdc0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 22:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888324608001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1898302530387968,"note":"Value kept but may cause issues"} 
[2026-09-05 22:09:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6245929694477107198,"note":"Value kept but may cause issues"} 
[2026-09-05 22:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788626274000,"timestamp_ms":1788626274000,"timestamp_seconds":1788626274,"priority":1,"record_length":96,"hex_timestamp":"000001a0726f06d0"} 
[2026-09-05 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-09-05 22:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 22:09: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-09-05 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-09-05 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-09-05 22:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":171963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":171963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":171963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.188.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888324608001,"66":27626,"102":206,"9":54784,"24":51,"16":1898302530387968,"44":-6245929694477107198},"client_ip":"117.224.188.46","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,44]} 
[2026-09-05 22:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888324608001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:09:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:09:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1898302530387968,"km_value":1898302530387.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:09:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6245929694477107198,"description":"Unknown IO ID 44"} 
[2026-09-05 22:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888324608001,"power":27626,"unknown_102":206,"unknown_9":54784,"ignition":51,"odometer":null,"unknown_44":-6245929694477107198}} 
[2026-09-05 22:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":171963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771543,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:09:31] local.INFO: GPS data processed {"connection_id":171963,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:09:31] local.INFO: Acknowledgment sent {"connection_id":171963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:09:43] local.INFO: TCP Data received {"connection_id":172216,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:09:43] local.INFO: Processing buffer {"connection_id":172216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:09:43] local.INFO: IMEI packet received {"connection_id":172216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":172216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:09:44] local.INFO: TCP Data received {"connection_id":172215,"ip":"117.224.188.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:09:44] local.INFO: Processing buffer {"connection_id":172215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:09:44] local.INFO: IMEI packet received {"connection_id":172215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 22:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":172215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:09:46] local.INFO: TCP Data received {"connection_id":172215,"ip":"117.224.188.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:09:46] local.INFO: Processing buffer {"connection_id":172215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:09:46] local.INFO: IMEI packet received {"connection_id":172215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 22:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":172215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:09:49] local.INFO: TCP Data received {"connection_id":172216,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:09:49] local.INFO: Processing buffer {"connection_id":172216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:09:49] local.INFO: IMEI packet received {"connection_id":172216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":172216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:09:49] local.INFO: TCP Data received {"connection_id":174656,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:09:49] local.INFO: Processing buffer {"connection_id":174656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:09:49] local.INFO: IMEI packet received {"connection_id":174656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":174656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:09:50] local.INFO: TCP Data received {"connection_id":172216,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0726c43c8012d196500071ff1280040014525..."} 
[2026-09-05 22:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0726c43c8012d196500071ff1280040014525..."} 
[2026-09-05 22:09:50] local.INFO: Processing buffer {"connection_id":172216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0726c43c8012d196500071ff1280040014525..."} 
[2026-09-05 22:09:50] local.INFO: Packet analysis {"connection_id":172216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0726c"} 
[2026-09-05 22:09:50] local.INFO: Extracted packet for processing {"connection_id":172216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0726c"} 
[2026-09-05 22:09:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888202752001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788626093000,"timestamp_ms":1788626093000,"timestamp_seconds":1788626093,"priority":1,"record_length":96,"hex_timestamp":"000001a0726c43c8"} 
[2026-09-05 22:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:09:50] 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-09-05 22:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 22:09:50] 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-09-05 22:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888202752001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888202752001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:09:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:09:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888202752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":172216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:09:50] local.INFO: GPS data processed {"connection_id":172216,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:09:50] local.INFO: Acknowledgment sent {"connection_id":172216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:09:50] local.INFO: TCP Data received {"connection_id":172215,"ip":"117.224.188.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:09:50] local.INFO: Processing buffer {"connection_id":172215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:09:50] local.INFO: IMEI packet received {"connection_id":172215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 22:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":172215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:09:52] local.INFO: TCP Data received {"connection_id":172215,"ip":"117.224.188.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0726f2610012ca93a400904df50021f01501f..."} 
[2026-09-05 22:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0726f2610012ca93a400904df50021f01501f..."} 
[2026-09-05 22:09:52] local.INFO: Processing buffer {"connection_id":172215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0726f2610012ca93a400904df50021f01501f..."} 
[2026-09-05 22:09:52] local.INFO: Packet analysis {"connection_id":172215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0726f"} 
[2026-09-05 22:09:52] local.INFO: Extracted packet for processing {"connection_id":172215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0726f"} 
[2026-09-05 22:09:52] local.INFO: GPS Element Parsed {"raw_longitude":749288000,"raw_latitude":151314256,"longitude_deg":74.9288,"latitude_deg":15.1314256,"altitude":543,"angle":336,"satellites":31,"speed":42,"hex_longitude":"2ca93a40","hex_latitude":"0904df50","is_valid_coordinates":true} 
[2026-09-05 22: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-09-05 22:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888326144001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1898757796921344,"note":"Value kept but may cause issues"} 
[2026-09-05 22:09:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6248392600521424894,"note":"Value kept but may cause issues"} 
[2026-09-05 22:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788626282000,"timestamp_ms":1788626282000,"timestamp_seconds":1788626282,"priority":1,"record_length":96,"hex_timestamp":"000001a0726f2610"} 
[2026-09-05 22:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-05 22:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22: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-09-05 22:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172215,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172215,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.188.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888326144001,"66":27615,"102":206,"9":54784,"24":42,"16":1898757796921344,"44":-6248392600521424894},"client_ip":"117.224.188.46","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,44]} 
[2026-09-05 22:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888326144001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:09:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:09:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1898757796921344,"km_value":1898757796921.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:09:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6248392600521424894,"description":"Unknown IO ID 44"} 
[2026-09-05 22:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888326144001,"power":27615,"unknown_102":206,"unknown_9":54784,"ignition":42,"odometer":null,"unknown_44":-6248392600521424894}} 
[2026-09-05 22:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":172215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771545,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:09:52] local.INFO: GPS data processed {"connection_id":172215,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:09:52] local.INFO: Acknowledgment sent {"connection_id":172215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:09:55] local.INFO: TCP Data received {"connection_id":174656,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:09:55] local.INFO: Processing buffer {"connection_id":174656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:09:55] local.INFO: IMEI packet received {"connection_id":174656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":174656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:09:56] local.INFO: TCP Data received {"connection_id":174656,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0726e0500012d77a0c005f2a5a8001001032a..."} 
[2026-09-05 22:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0726e0500012d77a0c005f2a5a8001001032a..."} 
[2026-09-05 22:09:56] local.INFO: Processing buffer {"connection_id":174656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0726e0500012d77a0c005f2a5a8001001032a..."} 
[2026-09-05 22:09:56] local.INFO: Packet analysis {"connection_id":174656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0726e"} 
[2026-09-05 22:09:56] local.INFO: Extracted packet for processing {"connection_id":174656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0726e"} 
[2026-09-05 22:09:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":16,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 22:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888232192001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 22:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 22:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788626208000,"timestamp_ms":1788626208000,"timestamp_seconds":1788626208,"priority":1,"record_length":96,"hex_timestamp":"000001a0726e0500"} 
[2026-09-05 22:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-05 22:09:56] 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-09-05 22:09:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888232192001,"66":25702,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 22:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888232192001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:09:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 22:09:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 22:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 22:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888232192001,"power":25702,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 22:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":174656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:09:56] local.INFO: GPS data processed {"connection_id":174656,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:09:56] local.INFO: Acknowledgment sent {"connection_id":174656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:10:21] local.INFO: TCP Data received {"connection_id":172216,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0726c43c8012d196500071ff1280040014525..."} 
[2026-09-05 22:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0726c43c8012d196500071ff1280040014525..."} 
[2026-09-05 22:10:21] local.INFO: Processing buffer {"connection_id":172216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0726c43c8012d196500071ff1280040014525..."} 
[2026-09-05 22:10:21] local.INFO: Packet analysis {"connection_id":172216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0726c"} 
[2026-09-05 22:10:21] local.INFO: Extracted packet for processing {"connection_id":172216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0726c"} 
[2026-09-05 22:10:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22: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-09-05 22:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888202752001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788626093000,"timestamp_ms":1788626093000,"timestamp_seconds":1788626093,"priority":1,"record_length":96,"hex_timestamp":"000001a0726c43c8"} 
[2026-09-05 22:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:10:21] 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-09-05 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 22:10:21] 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-09-05 22: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-09-05 22:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888202752001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888202752001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:10:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:10:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888202752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":172216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:10:21] local.INFO: GPS data processed {"connection_id":172216,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:10:21] local.INFO: Acknowledgment sent {"connection_id":172216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:10:23] local.INFO: TCP Data received {"connection_id":172215,"ip":"117.224.188.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0726f4938012ca92b8009050210022101501e..."} 
[2026-09-05 22:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0726f4938012ca92b8009050210022101501e..."} 
[2026-09-05 22:10:23] local.INFO: Processing buffer {"connection_id":172215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0726f4938012ca92b8009050210022101501e..."} 
[2026-09-05 22:10:23] local.INFO: Packet analysis {"connection_id":172215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0726f"} 
[2026-09-05 22:10:23] local.INFO: Extracted packet for processing {"connection_id":172215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0726f"} 
[2026-09-05 22:10:23] local.INFO: GPS Element Parsed {"raw_longitude":749284224,"raw_latitude":151323152,"longitude_deg":74.9284224,"latitude_deg":15.1323152,"altitude":545,"angle":336,"satellites":30,"speed":40,"hex_longitude":"2ca92b80","hex_latitude":"09050210","is_valid_coordinates":true} 
[2026-09-05 22:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888328192001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1899225948356608,"note":"Value kept but may cause issues"} 
[2026-09-05 22:10:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6252614725169885182,"note":"Value kept but may cause issues"} 
[2026-09-05 22:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788626291000,"timestamp_ms":1788626291000,"timestamp_seconds":1788626291,"priority":1,"record_length":96,"hex_timestamp":"000001a0726f4938"} 
[2026-09-05 22:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-05 22:10:23] 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-09-05 22:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172215,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172215,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.188.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888328192001,"66":27332,"102":206,"9":54784,"24":40,"16":1899225948356608,"44":-6252614725169885182},"client_ip":"117.224.188.46","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,44]} 
[2026-09-05 22:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888328192001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:10:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:10:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1899225948356608,"km_value":1899225948356.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:10:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6252614725169885182,"description":"Unknown IO ID 44"} 
[2026-09-05 22:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888328192001,"power":27332,"unknown_102":206,"unknown_9":54784,"ignition":40,"odometer":null,"unknown_44":-6252614725169885182}} 
[2026-09-05 22:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":172215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771548,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:10:23] local.INFO: GPS data processed {"connection_id":172215,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:10:23] local.INFO: Acknowledgment sent {"connection_id":172215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:10:27] local.INFO: TCP Data received {"connection_id":174656,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0726e0500012d77a0c005f2a5a8001001032a..."} 
[2026-09-05 22:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0726e0500012d77a0c005f2a5a8001001032a..."} 
[2026-09-05 22:10:27] local.INFO: Processing buffer {"connection_id":174656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0726e0500012d77a0c005f2a5a8001001032a..."} 
[2026-09-05 22:10:27] local.INFO: Packet analysis {"connection_id":174656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0726e"} 
[2026-09-05 22:10:27] local.INFO: Extracted packet for processing {"connection_id":174656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0726e"} 
[2026-09-05 22:10:27] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":16,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 22:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888232192001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 22:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 22:10:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788626208000,"timestamp_ms":1788626208000,"timestamp_seconds":1788626208,"priority":1,"record_length":96,"hex_timestamp":"000001a0726e0500"} 
[2026-09-05 22:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-05 22:10:27] 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-09-05 22:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888232192001,"66":25702,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 22:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888232192001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:10:27] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 22:10:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 22:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 22:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888232192001,"power":25702,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 22:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":174656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:10:27] local.INFO: GPS data processed {"connection_id":174656,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:10:27] local.INFO: Acknowledgment sent {"connection_id":174656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:10:46] local.INFO: TCP Data received {"connection_id":172217,"ip":"117.224.188.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172217,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:10:46] local.INFO: Processing buffer {"connection_id":172217,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:10:46] local.INFO: IMEI packet received {"connection_id":172217,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 22:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":172217,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:10:49] local.INFO: TCP Data received {"connection_id":173330,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:10:49] local.INFO: Processing buffer {"connection_id":173330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:10:49] local.INFO: IMEI packet received {"connection_id":173330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":173330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:10:49] local.INFO: TCP Data received {"connection_id":174657,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:10:49] local.INFO: Processing buffer {"connection_id":174657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:10:49] local.INFO: IMEI packet received {"connection_id":174657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":174657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:10:50] local.INFO: TCP Data received {"connection_id":172217,"ip":"117.224.188.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172217,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:10:50] local.INFO: Processing buffer {"connection_id":172217,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:10:50] local.INFO: IMEI packet received {"connection_id":172217,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 22:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":172217,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:10:52] local.INFO: TCP Data received {"connection_id":172217,"ip":"117.224.188.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0726f6c60012ca91d4009052470021f015420..."} 
[2026-09-05 22:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0726f6c60012ca91d4009052470021f015420..."} 
[2026-09-05 22:10:52] local.INFO: Processing buffer {"connection_id":172217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0726f6c60012ca91d4009052470021f015420..."} 
[2026-09-05 22:10:52] local.INFO: Packet analysis {"connection_id":172217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0726f"} 
[2026-09-05 22:10:52] local.INFO: Extracted packet for processing {"connection_id":172217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0726f"} 
[2026-09-05 22:10:52] local.INFO: GPS Element Parsed {"raw_longitude":749280576,"raw_latitude":151331952,"longitude_deg":74.9280576,"latitude_deg":15.1331952,"altitude":543,"angle":340,"satellites":32,"speed":43,"hex_longitude":"2ca91d40","hex_latitude":"09052470","is_valid_coordinates":true} 
[2026-09-05 22:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888330496001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1899685509857280,"note":"Value kept but may cause issues"} 
[2026-09-05 22:10:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6256766481074089982,"note":"Value kept but may cause issues"} 
[2026-09-05 22:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788626300000,"timestamp_ms":1788626300000,"timestamp_seconds":1788626300,"priority":1,"record_length":96,"hex_timestamp":"000001a0726f6c60"} 
[2026-09-05 22:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:10: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-09-05 22:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-05 22:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172217,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172217,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.188.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888330496001,"66":27626,"102":206,"9":54784,"24":43,"16":1899685509857280,"44":-6256766481074089982},"client_ip":"117.224.188.46","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,44]} 
[2026-09-05 22:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888330496001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:10:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:10:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1899685509857280,"km_value":1899685509857.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:10:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6256766481074089982,"description":"Unknown IO ID 44"} 
[2026-09-05 22:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888330496001,"power":27626,"unknown_102":206,"unknown_9":54784,"ignition":43,"odometer":null,"unknown_44":-6256766481074089982}} 
[2026-09-05 22:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":172217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771550,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:10:52] local.INFO: GPS data processed {"connection_id":172217,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:10:52] local.INFO: Acknowledgment sent {"connection_id":172217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:10:54] local.INFO: TCP Data received {"connection_id":173330,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:10:54] local.INFO: Processing buffer {"connection_id":173330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:10:54] local.INFO: IMEI packet received {"connection_id":173330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":173330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:10:55] local.INFO: TCP Data received {"connection_id":173330,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a07270db90012d196500071ff1280040014528..."} 
[2026-09-05 22:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07270db90012d196500071ff1280040014528..."} 
[2026-09-05 22:10:55] local.INFO: Processing buffer {"connection_id":173330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07270db90012d196500071ff1280040014528..."} 
[2026-09-05 22:10:55] local.INFO: Packet analysis {"connection_id":173330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07270"} 
[2026-09-05 22:10:55] local.INFO: Extracted packet for processing {"connection_id":173330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07270"} 
[2026-09-05 22:10:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888279808001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788626394000,"timestamp_ms":1788626394000,"timestamp_seconds":1788626394,"priority":1,"record_length":96,"hex_timestamp":"000001a07270db90"} 
[2026-09-05 22:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:10:55] 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-09-05 22:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888279808001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888279808001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:10:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:10:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888279808001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:10:55] local.INFO: TCP Data received {"connection_id":174657,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:10:55] local.INFO: Processing buffer {"connection_id":174657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:10:55] local.INFO: IMEI packet received {"connection_id":174657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":174657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":173330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:10:55] local.INFO: GPS data processed {"connection_id":173330,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:10:55] local.INFO: Acknowledgment sent {"connection_id":173330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:10:56] local.INFO: TCP Data received {"connection_id":174657,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0726e0500012d77a0c005f2a5a8001001032a..."} 
[2026-09-05 22:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0726e0500012d77a0c005f2a5a8001001032a..."} 
[2026-09-05 22:10:56] local.INFO: Processing buffer {"connection_id":174657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0726e0500012d77a0c005f2a5a8001001032a..."} 
[2026-09-05 22:10:56] local.INFO: Packet analysis {"connection_id":174657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0726e"} 
[2026-09-05 22:10:56] local.INFO: Extracted packet for processing {"connection_id":174657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0726e"} 
[2026-09-05 22:10:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":16,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 22:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888232192001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 22:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 22:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788626208000,"timestamp_ms":1788626208000,"timestamp_seconds":1788626208,"priority":1,"record_length":96,"hex_timestamp":"000001a0726e0500"} 
[2026-09-05 22:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-05 22:10:56] 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-09-05 22:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888232192001,"66":25702,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 22:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888232192001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:10:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 22:10:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 22:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 22:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888232192001,"power":25702,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 22:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":174657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:10:56] local.INFO: GPS data processed {"connection_id":174657,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:10:56] local.INFO: Acknowledgment sent {"connection_id":174657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:10:59] local.INFO: TCP Data received {"connection_id":173330,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a07270db90012d196500071ff1280040014528..."} 
[2026-09-05 22:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07270db90012d196500071ff1280040014528..."} 
[2026-09-05 22:10:59] local.INFO: Processing buffer {"connection_id":173330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07270db90012d196500071ff1280040014528..."} 
[2026-09-05 22:10:59] local.INFO: Packet analysis {"connection_id":173330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07270"} 
[2026-09-05 22:10:59] local.INFO: Extracted packet for processing {"connection_id":173330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07270"} 
[2026-09-05 22:10:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888279808001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788626394000,"timestamp_ms":1788626394000,"timestamp_seconds":1788626394,"priority":1,"record_length":96,"hex_timestamp":"000001a07270db90"} 
[2026-09-05 22:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888279808001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888279808001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:10:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:10:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888279808001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":173330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:10:59] local.INFO: GPS data processed {"connection_id":173330,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:10:59] local.INFO: Acknowledgment sent {"connection_id":173330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:11:23] local.INFO: TCP Data received {"connection_id":172217,"ip":"117.224.188.46","data_length":795,"data_hex":"000000000000030f8e0a000001a072716448012ca9e300090643a0021c002025..."} 
[2026-09-05 22:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072716448012ca9e300090643a0021c002025..."} 
[2026-09-05 22:11:23] local.INFO: Processing buffer {"connection_id":172217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072716448012ca9e300090643a0021c002025..."} 
[2026-09-05 22:11:23] local.INFO: Packet analysis {"connection_id":172217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07271"} 
[2026-09-05 22:11:23] local.INFO: Extracted packet for processing {"connection_id":172217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07271"} 
[2026-09-05 22:11:23] local.INFO: GPS Element Parsed {"raw_longitude":749331200,"raw_latitude":151405472,"longitude_deg":74.93312,"latitude_deg":15.1405472,"altitude":540,"angle":32,"satellites":37,"speed":50,"hex_longitude":"2ca9e300","hex_latitude":"090643a0","is_valid_coordinates":true} 
[2026-09-05 22:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888363776001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1904332664471552,"note":"Value kept but may cause issues"} 
[2026-09-05 22:11:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6210886059851186174,"note":"Value kept but may cause issues"} 
[2026-09-05 22:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788626429000,"timestamp_ms":1788626429000,"timestamp_seconds":1788626429,"priority":1,"record_length":96,"hex_timestamp":"000001a072716448"} 
[2026-09-05 22:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:11:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 22:11:23] 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-09-05 22:11:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172217,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172217,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:11:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.188.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888363776001,"66":27517,"102":206,"9":54784,"24":50,"16":1904332664471552,"44":-6210886059851186174},"client_ip":"117.224.188.46","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,44]} 
[2026-09-05 22:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888363776001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:11:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:11:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1904332664471552,"km_value":1904332664471.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:11:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6210886059851186174,"description":"Unknown IO ID 44"} 
[2026-09-05 22:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888363776001,"power":27517,"unknown_102":206,"unknown_9":54784,"ignition":50,"odometer":null,"unknown_44":-6210886059851186174}} 
[2026-09-05 22:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":172217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771554,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:11:24] local.INFO: GPS data processed {"connection_id":172217,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:11:24] local.INFO: Acknowledgment sent {"connection_id":172217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:11:27] local.INFO: TCP Data received {"connection_id":174657,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0726e0500012d77a0c005f2a5a8001001032a..."} 
[2026-09-05 22:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0726e0500012d77a0c005f2a5a8001001032a..."} 
[2026-09-05 22:11:27] local.INFO: Processing buffer {"connection_id":174657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0726e0500012d77a0c005f2a5a8001001032a..."} 
[2026-09-05 22:11:27] local.INFO: Packet analysis {"connection_id":174657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0726e"} 
[2026-09-05 22:11:27] local.INFO: Extracted packet for processing {"connection_id":174657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0726e"} 
[2026-09-05 22:11:27] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":16,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 22: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-09-05 22:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888232192001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 22:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 22:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788626208000,"timestamp_ms":1788626208000,"timestamp_seconds":1788626208,"priority":1,"record_length":96,"hex_timestamp":"000001a0726e0500"} 
[2026-09-05 22:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-05 22:11:27] 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-09-05 22: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-09-05 22:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888232192001,"66":25702,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 22:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888232192001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:11:27] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 22:11:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 22:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 22:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888232192001,"power":25702,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 22:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":174657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:11:27] local.INFO: GPS data processed {"connection_id":174657,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:11:27] local.INFO: Acknowledgment sent {"connection_id":174657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:11:44] local.INFO: TCP Data received {"connection_id":171964,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:11:44] local.INFO: Processing buffer {"connection_id":171964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:11:44] local.INFO: IMEI packet received {"connection_id":171964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":171964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:11:46] local.INFO: TCP Data received {"connection_id":172218,"ip":"117.224.188.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:11:46] local.INFO: Processing buffer {"connection_id":172218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:11:46] local.INFO: IMEI packet received {"connection_id":172218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 22:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":172218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:11:46] local.INFO: TCP Data received {"connection_id":172218,"ip":"117.224.188.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:11:46] local.INFO: Processing buffer {"connection_id":172218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:11:46] local.INFO: IMEI packet received {"connection_id":172218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 22:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":172218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:11:49] local.INFO: TCP Data received {"connection_id":171964,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:11:49] local.INFO: Processing buffer {"connection_id":171964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:11:49] local.INFO: IMEI packet received {"connection_id":171964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":171964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:11:49] local.INFO: TCP Data received {"connection_id":171964,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07270db90012d196500071ff1280040014528..."} 
[2026-09-05 22:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07270db90012d196500071ff1280040014528..."} 
[2026-09-05 22:11:49] local.INFO: Processing buffer {"connection_id":171964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07270db90012d196500071ff1280040014528..."} 
[2026-09-05 22:11:49] local.INFO: Packet analysis {"connection_id":171964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07270"} 
[2026-09-05 22:11:49] local.INFO: Extracted packet for processing {"connection_id":171964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07270"} 
[2026-09-05 22:11:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888279808001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788626394000,"timestamp_ms":1788626394000,"timestamp_seconds":1788626394,"priority":1,"record_length":96,"hex_timestamp":"000001a07270db90"} 
[2026-09-05 22:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:11:49] 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-09-05 22:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:11: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-09-05 22:11:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":171964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":171964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":171964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888279808001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888279808001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:11:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:11:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888279808001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":171964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:11:50] local.INFO: GPS data processed {"connection_id":171964,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:11:50] local.INFO: Acknowledgment sent {"connection_id":171964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:11:53] local.INFO: TCP Data received {"connection_id":172218,"ip":"117.224.188.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:11:53] local.INFO: Processing buffer {"connection_id":172218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:11:53] local.INFO: IMEI packet received {"connection_id":172218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 22:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":172218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:11:54] local.INFO: TCP Data received {"connection_id":174658,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:11:54] local.INFO: Processing buffer {"connection_id":174658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:11:54] local.INFO: IMEI packet received {"connection_id":174658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":174658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:11:55] local.INFO: TCP Data received {"connection_id":172218,"ip":"117.224.188.46","data_length":795,"data_hex":"000000000000030f8e0a000001a072717fa0012ca9f6c0090661c0021f002125..."} 
[2026-09-05 22:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072717fa0012ca9f6c0090661c0021f002125..."} 
[2026-09-05 22:11:55] local.INFO: Processing buffer {"connection_id":172218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072717fa0012ca9f6c0090661c0021f002125..."} 
[2026-09-05 22:11:55] local.INFO: Packet analysis {"connection_id":172218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07271"} 
[2026-09-05 22:11:55] local.INFO: Extracted packet for processing {"connection_id":172218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07271"} 
[2026-09-05 22:11:55] local.INFO: GPS Element Parsed {"raw_longitude":749336256,"raw_latitude":151413184,"longitude_deg":74.9336256,"latitude_deg":15.1413184,"altitude":543,"angle":33,"satellites":37,"speed":52,"hex_longitude":"2ca9f6c0","hex_latitude":"090661c0","is_valid_coordinates":true} 
[2026-09-05 22:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888365824001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1904775046103040,"note":"Value kept but may cause issues"} 
[2026-09-05 22:11:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6205115822826610686,"note":"Value kept but may cause issues"} 
[2026-09-05 22:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788626436000,"timestamp_ms":1788626436000,"timestamp_seconds":1788626436,"priority":1,"record_length":96,"hex_timestamp":"000001a072717fa0"} 
[2026-09-05 22:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 22:11:55] 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-09-05 22:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.188.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888365824001,"66":27604,"101":206,"9":54784,"24":52,"16":1904775046103040,"44":-6205115822826610686},"client_ip":"117.224.188.46","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,9,24,16,44]} 
[2026-09-05 22:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888365824001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:11:55] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 22:11:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1904775046103040,"km_value":1904775046103.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:11:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6205115822826610686,"description":"Unknown IO ID 44"} 
[2026-09-05 22:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888365824001,"power":27604,"unknown_101":206,"unknown_9":54784,"ignition":52,"odometer":null,"unknown_44":-6205115822826610686}} 
[2026-09-05 22:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":172218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771557,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:11:55] local.INFO: GPS data processed {"connection_id":172218,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:11:55] local.INFO: Acknowledgment sent {"connection_id":172218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:11:59] local.INFO: TCP Data received {"connection_id":174658,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:11:59] local.INFO: Processing buffer {"connection_id":174658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:11:59] local.INFO: IMEI packet received {"connection_id":174658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":174658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:12:00] local.INFO: TCP Data received {"connection_id":174658,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07271b268012d77a0c005f2a5a8001001032a..."} 
[2026-09-05 22:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07271b268012d77a0c005f2a5a8001001032a..."} 
[2026-09-05 22:12:00] local.INFO: Processing buffer {"connection_id":174658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07271b268012d77a0c005f2a5a8001001032a..."} 
[2026-09-05 22:12:00] local.INFO: Packet analysis {"connection_id":174658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07271"} 
[2026-09-05 22:12:00] local.INFO: Extracted packet for processing {"connection_id":174658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07271"} 
[2026-09-05 22:12:00] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788200,"longitude_deg":76.2814656,"latitude_deg":9.97882,"altitude":16,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-09-05 22:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888309248001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 22:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 22:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788626449000,"timestamp_ms":1788626449000,"timestamp_seconds":1788626449,"priority":1,"record_length":96,"hex_timestamp":"000001a07271b268"} 
[2026-09-05 22:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-05 22:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:12:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888309248001,"66":25647,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 22:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888309248001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:12:00] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 22:12:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 22:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 22:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888309248001,"power":25647,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 22:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":174658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:12:00] local.INFO: GPS data processed {"connection_id":174658,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:12:00] local.INFO: Acknowledgment sent {"connection_id":174658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:12:06] local.INFO: TCP Data received {"connection_id":174658,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072721028012d779e8005f2a7b0001001042d..."} 
[2026-09-05 22:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072721028012d779e8005f2a7b0001001042d..."} 
[2026-09-05 22:12:06] local.INFO: Processing buffer {"connection_id":174658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072721028012d779e8005f2a7b0001001042d..."} 
[2026-09-05 22:12:06] local.INFO: Packet analysis {"connection_id":174658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07272"} 
[2026-09-05 22:12:06] local.INFO: Extracted packet for processing {"connection_id":174658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07272"} 
[2026-09-05 22:12:06] local.INFO: GPS Element Parsed {"raw_longitude":762814080,"raw_latitude":99788720,"longitude_deg":76.281408,"latitude_deg":9.978872,"altitude":16,"angle":260,"satellites":45,"speed":0,"hex_longitude":"2d779e80","hex_latitude":"05f2a7b0","is_valid_coordinates":true} 
[2026-09-05 22: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-09-05 22:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888370944001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399919965597073408,"note":"Value kept but may cause issues"} 
[2026-09-05 22:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565441536,"note":"Value kept but may cause issues"} 
[2026-09-05 22:12: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-09-05 22:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788626473000,"timestamp_ms":1788626473000,"timestamp_seconds":1788626473,"priority":1,"record_length":96,"hex_timestamp":"000001a072721028"} 
[2026-09-05 22:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-05 22:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22: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-09-05 22:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888370944001,"66":27104,"163":206,"9":24832,"24":0,"16":399919965597073408,"45":8620100818565441536},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 22:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888370944001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:12:06] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 22:12:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 22:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399919965597073408,"km_value":399919965597073.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565441536,"description":"Unknown IO ID 45"} 
[2026-09-05 22:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888370944001,"power":27104,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565441536}} 
[2026-09-05 22:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":174658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:12:06] local.INFO: GPS data processed {"connection_id":174658,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:12:06] local.INFO: Acknowledgment sent {"connection_id":174658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:12:21] local.INFO: TCP Data received {"connection_id":171964,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07270db90012d196500071ff1280040014528..."} 
[2026-09-05 22:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07270db90012d196500071ff1280040014528..."} 
[2026-09-05 22:12:21] local.INFO: Processing buffer {"connection_id":171964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07270db90012d196500071ff1280040014528..."} 
[2026-09-05 22:12:21] local.INFO: Packet analysis {"connection_id":171964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07270"} 
[2026-09-05 22:12:21] local.INFO: Extracted packet for processing {"connection_id":171964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07270"} 
[2026-09-05 22:12:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888279808001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788626394000,"timestamp_ms":1788626394000,"timestamp_seconds":1788626394,"priority":1,"record_length":96,"hex_timestamp":"000001a07270db90"} 
[2026-09-05 22:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:12:21] 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-09-05 22:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888279808001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888279808001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:12:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:12:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888279808001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":171964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:12:21] local.INFO: GPS data processed {"connection_id":171964,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:12:21] local.INFO: Acknowledgment sent {"connection_id":171964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:12:27] local.INFO: TCP Data received {"connection_id":172218,"ip":"117.224.188.46","data_length":795,"data_hex":"000000000000030f8e0a000001a072719ee0012caa0ec0090680e00222002a27..."} 
[2026-09-05 22:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072719ee0012caa0ec0090680e00222002a27..."} 
[2026-09-05 22:12:27] local.INFO: Processing buffer {"connection_id":172218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072719ee0012caa0ec0090680e00222002a27..."} 
[2026-09-05 22:12:27] local.INFO: Packet analysis {"connection_id":172218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07271"} 
[2026-09-05 22:12:27] local.INFO: Extracted packet for processing {"connection_id":172218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07271"} 
[2026-09-05 22:12:27] local.INFO: GPS Element Parsed {"raw_longitude":749342400,"raw_latitude":151421152,"longitude_deg":74.93424,"latitude_deg":15.1421152,"altitude":546,"angle":42,"satellites":39,"speed":47,"hex_longitude":"2caa0ec0","hex_latitude":"090680e0","is_valid_coordinates":true} 
[2026-09-05 22:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888367616001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1905256082440192,"note":"Value kept but may cause issues"} 
[2026-09-05 22:12:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6199556692034600958,"note":"Value kept but may cause issues"} 
[2026-09-05 22:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788626444000,"timestamp_ms":1788626444000,"timestamp_seconds":1788626444,"priority":1,"record_length":96,"hex_timestamp":"000001a072719ee0"} 
[2026-09-05 22:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:12:27] 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-09-05 22:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-05 22:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.188.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888367616001,"66":27397,"101":206,"9":54784,"24":47,"16":1905256082440192,"44":-6199556692034600958},"client_ip":"117.224.188.46","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,9,24,16,44]} 
[2026-09-05 22:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888367616001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:12:27] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 22:12:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1905256082440192,"km_value":1905256082440.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:12:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6199556692034600958,"description":"Unknown IO ID 44"} 
[2026-09-05 22:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888367616001,"power":27397,"unknown_101":206,"unknown_9":54784,"ignition":47,"odometer":null,"unknown_44":-6199556692034600958}} 
[2026-09-05 22:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":172218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771561,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:12:27] local.INFO: GPS data processed {"connection_id":172218,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:12:27] local.INFO: Acknowledgment sent {"connection_id":172218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:12:44] local.INFO: TCP Data received {"connection_id":174659,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:12:44] local.INFO: Processing buffer {"connection_id":174659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:12:44] local.INFO: IMEI packet received {"connection_id":174659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":174659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:12:49] local.INFO: TCP Data received {"connection_id":174659,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:12:49] local.INFO: Processing buffer {"connection_id":174659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:12:49] local.INFO: IMEI packet received {"connection_id":174659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":174659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:12:50] local.INFO: TCP Data received {"connection_id":174659,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07270db90012d196500071ff1280040014528..."} 
[2026-09-05 22:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07270db90012d196500071ff1280040014528..."} 
[2026-09-05 22:12:50] local.INFO: Processing buffer {"connection_id":174659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07270db90012d196500071ff1280040014528..."} 
[2026-09-05 22:12:50] local.INFO: Packet analysis {"connection_id":174659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07270"} 
[2026-09-05 22:12:50] local.INFO: Extracted packet for processing {"connection_id":174659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07270"} 
[2026-09-05 22:12:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888279808001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788626394000,"timestamp_ms":1788626394000,"timestamp_seconds":1788626394,"priority":1,"record_length":96,"hex_timestamp":"000001a07270db90"} 
[2026-09-05 22:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:12:50] 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-09-05 22:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:12:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:12:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:12:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888279808001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888279808001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:12:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:12:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888279808001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":174659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:12:50] local.INFO: GPS data processed {"connection_id":174659,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:12:50] local.INFO: Acknowledgment sent {"connection_id":174659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:13:04] local.INFO: TCP Data received {"connection_id":172219,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:13:04] local.INFO: Processing buffer {"connection_id":172219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:13:04] local.INFO: IMEI packet received {"connection_id":172219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":172219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:13:05] local.INFO: TCP Data received {"connection_id":172219,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:13:05] local.INFO: Processing buffer {"connection_id":172219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:13:05] local.INFO: IMEI packet received {"connection_id":172219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":172219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:13:10] local.INFO: TCP Data received {"connection_id":172219,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:13:10] local.INFO: Processing buffer {"connection_id":172219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:13:10] local.INFO: IMEI packet received {"connection_id":172219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":172219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:13:11] local.INFO: TCP Data received {"connection_id":172219,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072726230012d77a24005f2a6e0002601042b..."} 
[2026-09-05 22:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072726230012d77a24005f2a6e0002601042b..."} 
[2026-09-05 22:13:11] local.INFO: Processing buffer {"connection_id":172219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072726230012d77a24005f2a6e0002601042b..."} 
[2026-09-05 22:13:11] local.INFO: Packet analysis {"connection_id":172219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07272"} 
[2026-09-05 22:13:11] local.INFO: Extracted packet for processing {"connection_id":172219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07272"} 
[2026-09-05 22:13:11] local.INFO: GPS Element Parsed {"raw_longitude":762815040,"raw_latitude":99788512,"longitude_deg":76.281504,"latitude_deg":9.9788512,"altitude":38,"angle":260,"satellites":43,"speed":0,"hex_longitude":"2d77a240","hex_latitude":"05f2a6e0","is_valid_coordinates":true} 
[2026-09-05 22:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888377088001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399920012841713664,"note":"Value kept but may cause issues"} 
[2026-09-05 22:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619467499867975680,"note":"Value kept but may cause issues"} 
[2026-09-05 22:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788626494000,"timestamp_ms":1788626494000,"timestamp_seconds":1788626494,"priority":1,"record_length":96,"hex_timestamp":"000001a072726230"} 
[2026-09-05 22:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:13: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-09-05 22:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-05 22:13:11] 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-09-05 22:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":172219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":172219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":172219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888377088001,"66":27332,"163":206,"9":24832,"24":0,"16":399920012841713664,"45":8619467499867975680},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 22:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888377088001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:13:11] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 22:13:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 22:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399920012841713664,"km_value":399920012841713.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619467499867975680,"description":"Unknown IO ID 45"} 
[2026-09-05 22:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888377088001,"power":27332,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619467499867975680}} 
[2026-09-05 22:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":172219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:13:11] local.INFO: GPS data processed {"connection_id":172219,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:13:11] local.INFO: Acknowledgment sent {"connection_id":172219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:13:16] local.INFO: TCP Data received {"connection_id":172219,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0727271d0012d77a28005f2a708002600472a..."} 
[2026-09-05 22:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727271d0012d77a28005f2a708002600472a..."} 
[2026-09-05 22:13:16] local.INFO: Processing buffer {"connection_id":172219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727271d0012d77a28005f2a708002600472a..."} 
[2026-09-05 22:13:16] local.INFO: Packet analysis {"connection_id":172219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07272"} 
[2026-09-05 22:13:16] local.INFO: Extracted packet for processing {"connection_id":172219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07272"} 
[2026-09-05 22:13:16] local.INFO: GPS Element Parsed {"raw_longitude":762815104,"raw_latitude":99788552,"longitude_deg":76.2815104,"latitude_deg":9.9788552,"altitude":38,"angle":71,"satellites":42,"speed":2,"hex_longitude":"2d77a280","hex_latitude":"05f2a708","is_valid_coordinates":true} 
[2026-09-05 22:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888382464001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399920017136680960,"note":"Value kept but may cause issues"} 
[2026-09-05 22:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620523031030587392,"note":"Value kept but may cause issues"} 
[2026-09-05 22:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788626498000,"timestamp_ms":1788626498000,"timestamp_seconds":1788626498,"priority":1,"record_length":96,"hex_timestamp":"000001a0727271d0"} 
[2026-09-05 22:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:13: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-09-05 22:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-05 22:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":172219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":172219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":172219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888382464001,"66":27376,"163":206,"9":24832,"24":2,"16":399920017136680960,"45":8620523031030587392},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 22:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888382464001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:13:16] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 22:13:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 22:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399920017136680960,"km_value":399920017136680.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620523031030587392,"description":"Unknown IO ID 45"} 
[2026-09-05 22:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888382464001,"power":27376,"unknown_163":206,"unknown_9":24832,"ignition":2,"odometer":null,"unknown_45":8620523031030587392}} 
[2026-09-05 22:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":172219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:13:16] local.INFO: GPS data processed {"connection_id":172219,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:13:16] local.INFO: Acknowledgment sent {"connection_id":172219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:13:21] local.INFO: TCP Data received {"connection_id":174659,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07270db90012d196500071ff1280040014528..."} 
[2026-09-05 22:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07270db90012d196500071ff1280040014528..."} 
[2026-09-05 22:13:21] local.INFO: Processing buffer {"connection_id":174659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07270db90012d196500071ff1280040014528..."} 
[2026-09-05 22:13:21] local.INFO: Packet analysis {"connection_id":174659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07270"} 
[2026-09-05 22:13:21] local.INFO: Extracted packet for processing {"connection_id":174659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07270"} 
[2026-09-05 22:13:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22: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-09-05 22:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888279808001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788626394000,"timestamp_ms":1788626394000,"timestamp_seconds":1788626394,"priority":1,"record_length":96,"hex_timestamp":"000001a07270db90"} 
[2026-09-05 22:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:13:21] 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-09-05 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22: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-09-05 22:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888279808001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888279808001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:13:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:13:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888279808001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":174659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:13:21] local.INFO: GPS data processed {"connection_id":174659,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:13:21] local.INFO: Acknowledgment sent {"connection_id":174659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:13:43] local.INFO: TCP Data received {"connection_id":174660,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:13:43] local.INFO: Processing buffer {"connection_id":174660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:13:43] local.INFO: IMEI packet received {"connection_id":174660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":174660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:13:49] local.INFO: TCP Data received {"connection_id":174660,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:13:49] local.INFO: Processing buffer {"connection_id":174660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:13:49] local.INFO: IMEI packet received {"connection_id":174660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":174660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:13:49] local.INFO: TCP Data received {"connection_id":174661,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:13:49] local.INFO: Processing buffer {"connection_id":174661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:13:49] local.INFO: IMEI packet received {"connection_id":174661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":174661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:13:50] local.INFO: TCP Data received {"connection_id":174660,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07270db90012d196500071ff1280040014528..."} 
[2026-09-05 22:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07270db90012d196500071ff1280040014528..."} 
[2026-09-05 22:13:50] local.INFO: Processing buffer {"connection_id":174660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07270db90012d196500071ff1280040014528..."} 
[2026-09-05 22:13:50] local.INFO: Packet analysis {"connection_id":174660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07270"} 
[2026-09-05 22:13:50] local.INFO: Extracted packet for processing {"connection_id":174660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07270"} 
[2026-09-05 22:13:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888279808001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788626394000,"timestamp_ms":1788626394000,"timestamp_seconds":1788626394,"priority":1,"record_length":96,"hex_timestamp":"000001a07270db90"} 
[2026-09-05 22:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:13:50] 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-09-05 22:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888279808001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888279808001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:13:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:13:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888279808001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":174660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:13:50] local.INFO: GPS data processed {"connection_id":174660,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:13:50] local.INFO: Acknowledgment sent {"connection_id":174660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:13:53] local.INFO: TCP Data received {"connection_id":174661,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:13:53] local.INFO: Processing buffer {"connection_id":174661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:13:53] local.INFO: IMEI packet received {"connection_id":174661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":174661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:13:54] local.INFO: TCP Data received {"connection_id":174661,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:13:54] local.INFO: Processing buffer {"connection_id":174661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:13:54] local.INFO: IMEI packet received {"connection_id":174661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":174661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:14:09] local.INFO: TCP Data received {"connection_id":174661,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072729110012d77a60005f2a7700025003b2a..."} 
[2026-09-05 22:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072729110012d77a60005f2a7700025003b2a..."} 
[2026-09-05 22:14:09] local.INFO: Processing buffer {"connection_id":174661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072729110012d77a60005f2a7700025003b2a..."} 
[2026-09-05 22:14:09] local.INFO: Packet analysis {"connection_id":174661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07272"} 
[2026-09-05 22:14:09] local.INFO: Extracted packet for processing {"connection_id":174661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07272"} 
[2026-09-05 22:14:09] local.INFO: GPS Element Parsed {"raw_longitude":762816000,"raw_latitude":99788656,"longitude_deg":76.2816,"latitude_deg":9.9788656,"altitude":37,"angle":59,"satellites":42,"speed":4,"hex_longitude":"2d77a600","hex_latitude":"05f2a770","is_valid_coordinates":true} 
[2026-09-05 22: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-09-05 22:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888383488001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399920060086353920,"note":"Value kept but may cause issues"} 
[2026-09-05 22:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620593399774775296,"note":"Value kept but may cause issues"} 
[2026-09-05 22:14: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-09-05 22:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788626506000,"timestamp_ms":1788626506000,"timestamp_seconds":1788626506,"priority":1,"record_length":96,"hex_timestamp":"000001a072729110"} 
[2026-09-05 22:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:14: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-09-05 22:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-05 22:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22: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-09-05 22:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":174661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":174661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":174661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888383488001,"66":27332,"163":206,"9":24832,"24":4,"16":399920060086353920,"45":8620593399774775296},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-09-05 22:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888383488001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:14:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-05 22:14:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 22:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399920060086353920,"km_value":399920060086353.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620593399774775296,"description":"Unknown IO ID 45"} 
[2026-09-05 22:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888383488001,"power":27332,"unknown_163":206,"unknown_9":24832,"ignition":4,"odometer":null,"unknown_45":8620593399774775296}} 
[2026-09-05 22:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":174661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:14:09] local.INFO: GPS data processed {"connection_id":174661,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:14:09] local.INFO: Acknowledgment sent {"connection_id":174661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:14:21] local.INFO: TCP Data received {"connection_id":174660,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07270db90012d196500071ff1280040014528..."} 
[2026-09-05 22:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07270db90012d196500071ff1280040014528..."} 
[2026-09-05 22:14:21] local.INFO: Processing buffer {"connection_id":174660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07270db90012d196500071ff1280040014528..."} 
[2026-09-05 22:14:21] local.INFO: Packet analysis {"connection_id":174660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07270"} 
[2026-09-05 22:14:21] local.INFO: Extracted packet for processing {"connection_id":174660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07270"} 
[2026-09-05 22:14:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888279808001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788626394000,"timestamp_ms":1788626394000,"timestamp_seconds":1788626394,"priority":1,"record_length":96,"hex_timestamp":"000001a07270db90"} 
[2026-09-05 22:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:14:21] 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-09-05 22:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888279808001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888279808001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:14:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:14:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888279808001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":174660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:14:21] local.INFO: GPS data processed {"connection_id":174660,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:14:21] local.INFO: Acknowledgment sent {"connection_id":174660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:14:43] local.INFO: TCP Data received {"connection_id":173331,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:14:43] local.INFO: Processing buffer {"connection_id":173331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:14:43] local.INFO: IMEI packet received {"connection_id":173331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":173331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:14:49] local.INFO: TCP Data received {"connection_id":173331,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:14:49] local.INFO: Processing buffer {"connection_id":173331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:14:49] local.INFO: IMEI packet received {"connection_id":173331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":173331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:14:50] local.INFO: TCP Data received {"connection_id":173331,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07270db90012d196500071ff1280040014528..."} 
[2026-09-05 22:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07270db90012d196500071ff1280040014528..."} 
[2026-09-05 22:14:50] local.INFO: Processing buffer {"connection_id":173331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07270db90012d196500071ff1280040014528..."} 
[2026-09-05 22:14:50] local.INFO: Packet analysis {"connection_id":173331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07270"} 
[2026-09-05 22:14:50] local.INFO: Extracted packet for processing {"connection_id":173331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07270"} 
[2026-09-05 22:14:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888279808001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788626394000,"timestamp_ms":1788626394000,"timestamp_seconds":1788626394,"priority":1,"record_length":96,"hex_timestamp":"000001a07270db90"} 
[2026-09-05 22:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:14:50] 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-09-05 22:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888279808001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888279808001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:14:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:14:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888279808001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":173331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:14:50] local.INFO: GPS data processed {"connection_id":173331,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:14:50] local.INFO: Acknowledgment sent {"connection_id":173331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:14:51] local.INFO: TCP Data received {"connection_id":172220,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:14:51] local.INFO: Processing buffer {"connection_id":172220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:14:51] local.INFO: IMEI packet received {"connection_id":172220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":172220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:14:55] local.INFO: TCP Data received {"connection_id":172220,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:14:55] local.INFO: Processing buffer {"connection_id":172220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:14:55] local.INFO: IMEI packet received {"connection_id":172220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":172220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:15:00] local.INFO: TCP Data received {"connection_id":172220,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:15:00] local.INFO: Processing buffer {"connection_id":172220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:15:00] local.INFO: IMEI packet received {"connection_id":172220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":172220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:15:01] local.INFO: TCP Data received {"connection_id":172220,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072743ec0012d778a4005f331c80002015a2b..."} 
[2026-09-05 22:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072743ec0012d778a4005f331c80002015a2b..."} 
[2026-09-05 22:15:01] local.INFO: Processing buffer {"connection_id":172220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072743ec0012d778a4005f331c80002015a2b..."} 
[2026-09-05 22:15:01] local.INFO: Packet analysis {"connection_id":172220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07274"} 
[2026-09-05 22:15:01] local.INFO: Extracted packet for processing {"connection_id":172220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07274"} 
[2026-09-05 22:15:01] local.INFO: GPS Element Parsed {"raw_longitude":762808896,"raw_latitude":99824072,"longitude_deg":76.2808896,"latitude_deg":9.9824072,"altitude":2,"angle":346,"satellites":43,"speed":18,"hex_longitude":"2d778a40","hex_latitude":"05f331c8","is_valid_coordinates":true} 
[2026-09-05 22:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888408320001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399921829612879872,"note":"Value kept but may cause issues"} 
[2026-09-05 22:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8615456481456846848,"note":"Value kept but may cause issues"} 
[2026-09-05 22:15:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788626616000,"timestamp_ms":1788626616000,"timestamp_seconds":1788626616,"priority":1,"record_length":96,"hex_timestamp":"000001a072743ec0"} 
[2026-09-05 22:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:15:01] 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-09-05 22:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-05 22:15: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-09-05 22:15:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888408320001,"66":27300,"105":206,"9":24832,"24":18,"16":399921829612879872,"45":8615456481456846848},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,9,24,16,45]} 
[2026-09-05 22:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888408320001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:15:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-05 22:15:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 22:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399921829612879872,"km_value":399921829612879.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8615456481456846848,"description":"Unknown IO ID 45"} 
[2026-09-05 22:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888408320001,"power":27300,"unknown_105":206,"unknown_9":24832,"ignition":18,"odometer":null,"unknown_45":8615456481456846848}} 
[2026-09-05 22:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":172220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:15:01] local.INFO: GPS data processed {"connection_id":172220,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:15:01] local.INFO: Acknowledgment sent {"connection_id":172220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:15:06] local.INFO: TCP Data received {"connection_id":172220,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a072747570012d77834005f353d80002015e28..."} 
[2026-09-05 22:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072747570012d77834005f353d80002015e28..."} 
[2026-09-05 22:15:06] local.INFO: Processing buffer {"connection_id":172220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072747570012d77834005f353d80002015e28..."} 
[2026-09-05 22:15:06] local.INFO: Packet analysis {"connection_id":172220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07274"} 
[2026-09-05 22:15:06] local.INFO: Extracted packet for processing {"connection_id":172220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07274"} 
[2026-09-05 22:15:06] local.INFO: GPS Element Parsed {"raw_longitude":762807104,"raw_latitude":99832792,"longitude_deg":76.2807104,"latitude_deg":9.9832792,"altitude":2,"angle":350,"satellites":40,"speed":29,"hex_longitude":"2d778340","hex_latitude":"05f353d8","is_valid_coordinates":true} 
[2026-09-05 22: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-09-05 22:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888413696001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399922259109609472,"note":"Value kept but may cause issues"} 
[2026-09-05 22:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8613767631598635008,"note":"Value kept but may cause issues"} 
[2026-09-05 22:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788626630000,"timestamp_ms":1788626630000,"timestamp_seconds":1788626630,"priority":1,"record_length":96,"hex_timestamp":"000001a072747570"} 
[2026-09-05 22:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:15: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-09-05 22: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-05 22:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22: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-09-05 22:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888413696001,"66":27300,"104":206,"9":24832,"24":29,"16":399922259109609472,"45":8613767631598635008},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,9,24,16,45]} 
[2026-09-05 22:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888413696001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:15:06] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-05 22:15:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 22:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399922259109609472,"km_value":399922259109609.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8613767631598635008,"description":"Unknown IO ID 45"} 
[2026-09-05 22:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888413696001,"power":27300,"unknown_104":206,"unknown_9":24832,"ignition":29,"odometer":null,"unknown_45":8613767631598635008}} 
[2026-09-05 22:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":172220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:15:06] local.INFO: GPS data processed {"connection_id":172220,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:15:06] local.INFO: Acknowledgment sent {"connection_id":172220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:15:21] local.INFO: TCP Data received {"connection_id":173331,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07270db90012d196500071ff1280040014528..."} 
[2026-09-05 22:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07270db90012d196500071ff1280040014528..."} 
[2026-09-05 22:15:21] local.INFO: Processing buffer {"connection_id":173331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07270db90012d196500071ff1280040014528..."} 
[2026-09-05 22:15:21] local.INFO: Packet analysis {"connection_id":173331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07270"} 
[2026-09-05 22:15:21] local.INFO: Extracted packet for processing {"connection_id":173331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07270"} 
[2026-09-05 22:15:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22: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-09-05 22:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888279808001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788626394000,"timestamp_ms":1788626394000,"timestamp_seconds":1788626394,"priority":1,"record_length":96,"hex_timestamp":"000001a07270db90"} 
[2026-09-05 22:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:15:21] 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-09-05 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888279808001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888279808001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:15:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:15:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888279808001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":173331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:15:21] local.INFO: GPS data processed {"connection_id":173331,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:15:21] local.INFO: Acknowledgment sent {"connection_id":173331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:15:49] local.INFO: TCP Data received {"connection_id":171965,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:15:49] local.INFO: Processing buffer {"connection_id":171965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:15:49] local.INFO: IMEI packet received {"connection_id":171965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":171965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:15:54] local.INFO: TCP Data received {"connection_id":171965,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:15:54] local.INFO: Processing buffer {"connection_id":171965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:15:54] local.INFO: IMEI packet received {"connection_id":171965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":171965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:15:55] local.INFO: TCP Data received {"connection_id":171965,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072757358012d196500071ff1280040014527..."} 
[2026-09-05 22:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072757358012d196500071ff1280040014527..."} 
[2026-09-05 22:15:55] local.INFO: Processing buffer {"connection_id":171965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072757358012d196500071ff1280040014527..."} 
[2026-09-05 22:15:55] local.INFO: Packet analysis {"connection_id":171965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07275"} 
[2026-09-05 22:15:55] local.INFO: Extracted packet for processing {"connection_id":171965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07275"} 
[2026-09-05 22:15:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888356864001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788626695000,"timestamp_ms":1788626695000,"timestamp_seconds":1788626695,"priority":1,"record_length":96,"hex_timestamp":"000001a072757358"} 
[2026-09-05 22:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:15:55] 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-09-05 22:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888356864001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888356864001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:15:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:15:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888356864001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":171965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:15:55] local.INFO: GPS data processed {"connection_id":171965,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:15:55] local.INFO: Acknowledgment sent {"connection_id":171965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:15:59] local.INFO: TCP Data received {"connection_id":171965,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072757358012d196500071ff1280040014527..."} 
[2026-09-05 22:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072757358012d196500071ff1280040014527..."} 
[2026-09-05 22:15:59] local.INFO: Processing buffer {"connection_id":171965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072757358012d196500071ff1280040014527..."} 
[2026-09-05 22:15:59] local.INFO: Packet analysis {"connection_id":171965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07275"} 
[2026-09-05 22:15:59] local.INFO: Extracted packet for processing {"connection_id":171965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07275"} 
[2026-09-05 22:15:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888356864001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788626695000,"timestamp_ms":1788626695000,"timestamp_seconds":1788626695,"priority":1,"record_length":96,"hex_timestamp":"000001a072757358"} 
[2026-09-05 22:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888356864001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888356864001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:15:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:15:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888356864001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":171965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:15:59] local.INFO: GPS data processed {"connection_id":171965,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:15:59] local.INFO: Acknowledgment sent {"connection_id":171965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:16:44] local.INFO: TCP Data received {"connection_id":173332,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:16:44] local.INFO: Processing buffer {"connection_id":173332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:16:44] local.INFO: IMEI packet received {"connection_id":173332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":173332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:16:49] local.INFO: TCP Data received {"connection_id":173332,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:16:49] local.INFO: Processing buffer {"connection_id":173332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:16:49] local.INFO: IMEI packet received {"connection_id":173332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":173332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:16:50] local.INFO: TCP Data received {"connection_id":173332,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a072757358012d196500071ff1280040014527..."} 
[2026-09-05 22:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072757358012d196500071ff1280040014527..."} 
[2026-09-05 22:16:50] local.INFO: Processing buffer {"connection_id":173332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072757358012d196500071ff1280040014527..."} 
[2026-09-05 22:16:50] local.INFO: Packet analysis {"connection_id":173332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07275"} 
[2026-09-05 22:16:50] local.INFO: Extracted packet for processing {"connection_id":173332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07275"} 
[2026-09-05 22:16:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888356864001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788626695000,"timestamp_ms":1788626695000,"timestamp_seconds":1788626695,"priority":1,"record_length":96,"hex_timestamp":"000001a072757358"} 
[2026-09-05 22:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:16:50] 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-09-05 22:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888356864001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888356864001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:16:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:16:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888356864001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":173332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:16:50] local.INFO: GPS data processed {"connection_id":173332,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:16:50] local.INFO: Acknowledgment sent {"connection_id":173332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:17:21] local.INFO: TCP Data received {"connection_id":173332,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a072757358012d196500071ff1280040014527..."} 
[2026-09-05 22:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072757358012d196500071ff1280040014527..."} 
[2026-09-05 22:17:21] local.INFO: Processing buffer {"connection_id":173332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072757358012d196500071ff1280040014527..."} 
[2026-09-05 22:17:21] local.INFO: Packet analysis {"connection_id":173332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07275"} 
[2026-09-05 22:17:21] local.INFO: Extracted packet for processing {"connection_id":173332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07275"} 
[2026-09-05 22:17:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888356864001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788626695000,"timestamp_ms":1788626695000,"timestamp_seconds":1788626695,"priority":1,"record_length":96,"hex_timestamp":"000001a072757358"} 
[2026-09-05 22:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:17:21] 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-09-05 22:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888356864001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888356864001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:17:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:17:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888356864001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":173332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:17:21] local.INFO: GPS data processed {"connection_id":173332,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:17:21] local.INFO: Acknowledgment sent {"connection_id":173332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:17:44] local.INFO: TCP Data received {"connection_id":172222,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:17:44] local.INFO: Processing buffer {"connection_id":172222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:17:44] local.INFO: IMEI packet received {"connection_id":172222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":172222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:17:49] local.INFO: TCP Data received {"connection_id":172222,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:17:49] local.INFO: Processing buffer {"connection_id":172222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:17:49] local.INFO: IMEI packet received {"connection_id":172222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":172222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:17:50] local.INFO: TCP Data received {"connection_id":172222,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072757358012d196500071ff1280040014527..."} 
[2026-09-05 22:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072757358012d196500071ff1280040014527..."} 
[2026-09-05 22:17:50] local.INFO: Processing buffer {"connection_id":172222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072757358012d196500071ff1280040014527..."} 
[2026-09-05 22:17:50] local.INFO: Packet analysis {"connection_id":172222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07275"} 
[2026-09-05 22:17:50] local.INFO: Extracted packet for processing {"connection_id":172222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07275"} 
[2026-09-05 22:17:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888356864001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788626695000,"timestamp_ms":1788626695000,"timestamp_seconds":1788626695,"priority":1,"record_length":96,"hex_timestamp":"000001a072757358"} 
[2026-09-05 22:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:17:50] 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-09-05 22:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:17:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:17:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888356864001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888356864001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:17:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:17:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888356864001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":172222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:17:50] local.INFO: GPS data processed {"connection_id":172222,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:17:50] local.INFO: Acknowledgment sent {"connection_id":172222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:18:21] local.INFO: TCP Data received {"connection_id":172222,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072757358012d196500071ff1280040014527..."} 
[2026-09-05 22:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072757358012d196500071ff1280040014527..."} 
[2026-09-05 22:18:21] local.INFO: Processing buffer {"connection_id":172222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072757358012d196500071ff1280040014527..."} 
[2026-09-05 22:18:21] local.INFO: Packet analysis {"connection_id":172222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07275"} 
[2026-09-05 22:18:21] local.INFO: Extracted packet for processing {"connection_id":172222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07275"} 
[2026-09-05 22:18:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888356864001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788626695000,"timestamp_ms":1788626695000,"timestamp_seconds":1788626695,"priority":1,"record_length":96,"hex_timestamp":"000001a072757358"} 
[2026-09-05 22:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:18:21] 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-09-05 22:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888356864001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888356864001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:18:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:18:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888356864001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":172222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:18:21] local.INFO: GPS data processed {"connection_id":172222,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:18:21] local.INFO: Acknowledgment sent {"connection_id":172222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:18:43] local.INFO: TCP Data received {"connection_id":172223,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:18:43] local.INFO: Processing buffer {"connection_id":172223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:18:43] local.INFO: IMEI packet received {"connection_id":172223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":172223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:18:48] local.INFO: TCP Data received {"connection_id":174662,"ip":"117.225.203.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:18:48] local.INFO: Processing buffer {"connection_id":174662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:18:48] local.INFO: IMEI packet received {"connection_id":174662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 22:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":174662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:18:49] local.INFO: TCP Data received {"connection_id":174662,"ip":"117.225.203.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:18:49] local.INFO: Processing buffer {"connection_id":174662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:18:49] local.INFO: IMEI packet received {"connection_id":174662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 22:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":174662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:18:49] local.INFO: TCP Data received {"connection_id":172223,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:18:49] local.INFO: Processing buffer {"connection_id":172223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:18:49] local.INFO: IMEI packet received {"connection_id":172223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":172223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:18:50] local.INFO: TCP Data received {"connection_id":172223,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072757358012d196500071ff1280040014527..."} 
[2026-09-05 22:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072757358012d196500071ff1280040014527..."} 
[2026-09-05 22:18:50] local.INFO: Processing buffer {"connection_id":172223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072757358012d196500071ff1280040014527..."} 
[2026-09-05 22:18:50] local.INFO: Packet analysis {"connection_id":172223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07275"} 
[2026-09-05 22:18:50] local.INFO: Extracted packet for processing {"connection_id":172223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07275"} 
[2026-09-05 22:18:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888356864001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788626695000,"timestamp_ms":1788626695000,"timestamp_seconds":1788626695,"priority":1,"record_length":96,"hex_timestamp":"000001a072757358"} 
[2026-09-05 22:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:18:50] 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-09-05 22:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:18:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:18:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888356864001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888356864001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:18:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:18:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:18:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888356864001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":172223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:18:50] local.INFO: GPS data processed {"connection_id":172223,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:18:50] local.INFO: Acknowledgment sent {"connection_id":172223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:19:13] local.INFO: TCP Data received {"connection_id":174662,"ip":"117.225.203.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:19:13] local.INFO: Processing buffer {"connection_id":174662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:19:13] local.INFO: IMEI packet received {"connection_id":174662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 22:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":174662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:19:16] local.INFO: TCP Data received {"connection_id":174662,"ip":"117.225.203.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07277c130012caef580090a3530021c001b29..."} 
[2026-09-05 22:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07277c130012caef580090a3530021c001b29..."} 
[2026-09-05 22:19:16] local.INFO: Processing buffer {"connection_id":174662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07277c130012caef580090a3530021c001b29..."} 
[2026-09-05 22:19:16] local.INFO: Packet analysis {"connection_id":174662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07277"} 
[2026-09-05 22:19:16] local.INFO: Extracted packet for processing {"connection_id":174662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07277"} 
[2026-09-05 22:19:16] local.INFO: GPS Element Parsed {"raw_longitude":749663616,"raw_latitude":151663920,"longitude_deg":74.9663616,"latitude_deg":15.166392,"altitude":540,"angle":27,"satellites":41,"speed":35,"hex_longitude":"2caef580","hex_latitude":"090a3530","is_valid_coordinates":true} 
[2026-09-05 22:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1924351507038208,"note":"Value kept but may cause issues"} 
[2026-09-05 22:19:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 22:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788626846000,"timestamp_ms":1788626846000,"timestamp_seconds":1788626846,"priority":1,"record_length":96,"hex_timestamp":"000001a07277c130"} 
[2026-09-05 22:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-05 22:19:16] 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-09-05 22:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":174662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":174662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":174662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.203.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27691,"101":206,"9":54784,"24":35,"16":1924351507038208},"client_ip":"117.225.203.3","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,9,24,16]} 
[2026-09-05 22:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-05 22:19:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-05 22:19:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1924351507038208,"km_value":1924351507038.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:19:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27691,"unknown_101":206,"unknown_9":54784,"ignition":35,"odometer":null}} 
[2026-09-05 22:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":174662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771580,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:19:17] local.INFO: GPS data processed {"connection_id":174662,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:19:17] local.INFO: Acknowledgment sent {"connection_id":174662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:19:17] local.INFO: TCP Data received {"connection_id":174662,"ip":"117.225.203.3","data_length":795,"data_hex":"000000000000030f8e0a000001a072781338012caf1580090a7180022000192a..."} 
[2026-09-05 22:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072781338012caf1580090a7180022000192a..."} 
[2026-09-05 22:19:17] local.INFO: Processing buffer {"connection_id":174662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072781338012caf1580090a7180022000192a..."} 
[2026-09-05 22:19:17] local.INFO: Packet analysis {"connection_id":174662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07278"} 
[2026-09-05 22:19:17] local.INFO: Extracted packet for processing {"connection_id":174662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07278"} 
[2026-09-05 22:19:17] local.INFO: GPS Element Parsed {"raw_longitude":749671808,"raw_latitude":151679360,"longitude_deg":74.9671808,"latitude_deg":15.167936,"altitude":544,"angle":25,"satellites":42,"speed":0,"hex_longitude":"2caf1580","hex_latitude":"090a7180","is_valid_coordinates":true} 
[2026-09-05 22:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888472576001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1924351507038208,"note":"Value kept but may cause issues"} 
[2026-09-05 22:19:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5839620565501661182,"note":"Value kept but may cause issues"} 
[2026-09-05 22:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788626867000,"timestamp_ms":1788626867000,"timestamp_seconds":1788626867,"priority":1,"record_length":96,"hex_timestamp":"000001a072781338"} 
[2026-09-05 22:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-05 22:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:19:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.203.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888472576001,"66":27571,"133":206,"9":54784,"24":0,"16":1924351507038208,"44":-5839620565501661182},"client_ip":"117.225.203.3","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,44]} 
[2026-09-05 22:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888472576001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:19:17] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-05 22:19:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1924351507038208,"km_value":1924351507038.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:19:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5839620565501661182,"description":"Unknown IO ID 44"} 
[2026-09-05 22:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888472576001,"power":27571,"unknown_133":206,"unknown_9":54784,"ignition":0,"odometer":null,"unknown_44":-5839620565501661182}} 
[2026-09-05 22:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":174662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771581,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:19:18] local.INFO: GPS data processed {"connection_id":174662,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:19:18] local.INFO: Acknowledgment sent {"connection_id":174662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:19:21] local.INFO: TCP Data received {"connection_id":172223,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072757358012d196500071ff1280040014527..."} 
[2026-09-05 22:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072757358012d196500071ff1280040014527..."} 
[2026-09-05 22:19:21] local.INFO: Processing buffer {"connection_id":172223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072757358012d196500071ff1280040014527..."} 
[2026-09-05 22:19:21] local.INFO: Packet analysis {"connection_id":172223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07275"} 
[2026-09-05 22:19:21] local.INFO: Extracted packet for processing {"connection_id":172223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07275"} 
[2026-09-05 22:19:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888356864001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788626695000,"timestamp_ms":1788626695000,"timestamp_seconds":1788626695,"priority":1,"record_length":96,"hex_timestamp":"000001a072757358"} 
[2026-09-05 22:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:19:21] 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-09-05 22:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888356864001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888356864001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:19:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:19:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888356864001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":172223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:19:21] local.INFO: GPS data processed {"connection_id":172223,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:19:21] local.INFO: Acknowledgment sent {"connection_id":172223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:19:43] local.INFO: TCP Data received {"connection_id":174663,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:19:43] local.INFO: Processing buffer {"connection_id":174663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:19:43] local.INFO: IMEI packet received {"connection_id":174663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":174663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:19:49] local.INFO: TCP Data received {"connection_id":174663,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:19:49] local.INFO: Processing buffer {"connection_id":174663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:19:49] local.INFO: IMEI packet received {"connection_id":174663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":174663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:19:49] local.INFO: TCP Data received {"connection_id":174662,"ip":"117.225.203.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0727870f8012caf3280090aac700223001927..."} 
[2026-09-05 22:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727870f8012caf3280090aac700223001927..."} 
[2026-09-05 22:19:49] local.INFO: Processing buffer {"connection_id":174662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727870f8012caf3280090aac700223001927..."} 
[2026-09-05 22:19:49] local.INFO: Packet analysis {"connection_id":174662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07278"} 
[2026-09-05 22:19:49] local.INFO: Extracted packet for processing {"connection_id":174662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07278"} 
[2026-09-05 22:19:49] local.INFO: GPS Element Parsed {"raw_longitude":749679232,"raw_latitude":151694448,"longitude_deg":74.9679232,"latitude_deg":15.1694448,"altitude":547,"angle":25,"satellites":39,"speed":0,"hex_longitude":"2caf3280","hex_latitude":"090aac70","is_valid_coordinates":true} 
[2026-09-05 22:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888477952001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1924351507038208,"note":"Value kept but may cause issues"} 
[2026-09-05 22:19:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5830613366242967550,"note":"Value kept but may cause issues"} 
[2026-09-05 22:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788626891000,"timestamp_ms":1788626891000,"timestamp_seconds":1788626891,"priority":1,"record_length":96,"hex_timestamp":"000001a0727870f8"} 
[2026-09-05 22:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-05 22:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:19:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.203.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888477952001,"66":27593,"133":206,"9":54784,"24":0,"16":1924351507038208,"44":-5830613366242967550},"client_ip":"117.225.203.3","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,44]} 
[2026-09-05 22:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888477952001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:19:49] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-05 22:19:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1924351507038208,"km_value":1924351507038.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:19:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5830613366242967550,"description":"Unknown IO ID 44"} 
[2026-09-05 22:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888477952001,"power":27593,"unknown_133":206,"unknown_9":54784,"ignition":0,"odometer":null,"unknown_44":-5830613366242967550}} 
[2026-09-05 22:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":174662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771583,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:19:49] local.INFO: GPS data processed {"connection_id":174662,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:19:49] local.INFO: Acknowledgment sent {"connection_id":174662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:19:49] local.INFO: TCP Data received {"connection_id":174663,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a072757358012d196500071ff1280040014527..."} 
[2026-09-05 22:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072757358012d196500071ff1280040014527..."} 
[2026-09-05 22:19:49] local.INFO: Processing buffer {"connection_id":174663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072757358012d196500071ff1280040014527..."} 
[2026-09-05 22:19:49] local.INFO: Packet analysis {"connection_id":174663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07275"} 
[2026-09-05 22:19:49] local.INFO: Extracted packet for processing {"connection_id":174663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07275"} 
[2026-09-05 22:19:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888356864001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788626695000,"timestamp_ms":1788626695000,"timestamp_seconds":1788626695,"priority":1,"record_length":96,"hex_timestamp":"000001a072757358"} 
[2026-09-05 22:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:19:49] 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-09-05 22:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:19: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-09-05 22:19:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888356864001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888356864001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:19:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:19:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888356864001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":174663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:19:50] local.INFO: GPS data processed {"connection_id":174663,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:19:50] local.INFO: Acknowledgment sent {"connection_id":174663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:20:21] local.INFO: TCP Data received {"connection_id":174663,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a072757358012d196500071ff1280040014527..."} 
[2026-09-05 22:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072757358012d196500071ff1280040014527..."} 
[2026-09-05 22:20:21] local.INFO: Processing buffer {"connection_id":174663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072757358012d196500071ff1280040014527..."} 
[2026-09-05 22:20:21] local.INFO: Packet analysis {"connection_id":174663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07275"} 
[2026-09-05 22:20:21] local.INFO: Extracted packet for processing {"connection_id":174663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07275"} 
[2026-09-05 22:20:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888356864001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788626695000,"timestamp_ms":1788626695000,"timestamp_seconds":1788626695,"priority":1,"record_length":96,"hex_timestamp":"000001a072757358"} 
[2026-09-05 22:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:20:21] 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-09-05 22:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888356864001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888356864001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:20:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:20:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888356864001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":174663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:20:21] local.INFO: GPS data processed {"connection_id":174663,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:20:21] local.INFO: Acknowledgment sent {"connection_id":174663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:20:21] local.INFO: TCP Data received {"connection_id":174662,"ip":"117.225.203.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07278bf18012caf5540090afdc00223000d29..."} 
[2026-09-05 22:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07278bf18012caf5540090afdc00223000d29..."} 
[2026-09-05 22:20:21] local.INFO: Processing buffer {"connection_id":174662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07278bf18012caf5540090afdc00223000d29..."} 
[2026-09-05 22:20:21] local.INFO: Packet analysis {"connection_id":174662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07278"} 
[2026-09-05 22:20:21] local.INFO: Extracted packet for processing {"connection_id":174662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07278"} 
[2026-09-05 22:20:21] local.INFO: GPS Element Parsed {"raw_longitude":749688128,"raw_latitude":151715264,"longitude_deg":74.9688128,"latitude_deg":15.1715264,"altitude":547,"angle":13,"satellites":41,"speed":39,"hex_longitude":"2caf5540","hex_latitude":"090afdc0","is_valid_coordinates":true} 
[2026-09-05 22:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888484096001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1924583435272192,"note":"Value kept but may cause issues"} 
[2026-09-05 22:20:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5822450591914495998,"note":"Value kept but may cause issues"} 
[2026-09-05 22:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788626911000,"timestamp_ms":1788626911000,"timestamp_seconds":1788626911,"priority":1,"record_length":96,"hex_timestamp":"000001a07278bf18"} 
[2026-09-05 22:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:20: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-09-05 22:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-05 22:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.203.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888484096001,"66":27463,"133":206,"9":54784,"24":39,"16":1924583435272192,"44":-5822450591914495998},"client_ip":"117.225.203.3","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,44]} 
[2026-09-05 22:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888484096001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:20:21] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-05 22:20:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1924583435272192,"km_value":1924583435272.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:20:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5822450591914495998,"description":"Unknown IO ID 44"} 
[2026-09-05 22:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888484096001,"power":27463,"unknown_133":206,"unknown_9":54784,"ignition":39,"odometer":null,"unknown_44":-5822450591914495998}} 
[2026-09-05 22:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":174662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771586,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:20:21] local.INFO: GPS data processed {"connection_id":174662,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:20:21] local.INFO: Acknowledgment sent {"connection_id":174662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:20:49] local.INFO: TCP Data received {"connection_id":171968,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:20:49] local.INFO: Processing buffer {"connection_id":171968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:20:49] local.INFO: IMEI packet received {"connection_id":171968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":171968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:20:52] local.INFO: TCP Data received {"connection_id":174662,"ip":"117.225.203.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0727a12f0012cafaf40090c42f00224003b29..."} 
[2026-09-05 22:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727a12f0012cafaf40090c42f00224003b29..."} 
[2026-09-05 22:20:52] local.INFO: Processing buffer {"connection_id":174662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727a12f0012cafaf40090c42f00224003b29..."} 
[2026-09-05 22:20:52] local.INFO: Packet analysis {"connection_id":174662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727a"} 
[2026-09-05 22:20:52] local.INFO: Extracted packet for processing {"connection_id":174662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727a"} 
[2026-09-05 22:20:52] local.INFO: GPS Element Parsed {"raw_longitude":749711168,"raw_latitude":151798512,"longitude_deg":74.9711168,"latitude_deg":15.1798512,"altitude":548,"angle":59,"satellites":41,"speed":44,"hex_longitude":"2cafaf40","hex_latitude":"090c42f0","is_valid_coordinates":true} 
[2026-09-05 22:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888510464001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1928852632764416,"note":"Value kept but may cause issues"} 
[2026-09-05 22:20:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5791277238217785342,"note":"Value kept but may cause issues"} 
[2026-09-05 22:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788626998000,"timestamp_ms":1788626998000,"timestamp_seconds":1788626998,"priority":1,"record_length":96,"hex_timestamp":"000001a0727a12f0"} 
[2026-09-05 22:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 22:20:52] 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-09-05 22:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.203.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888510464001,"66":27713,"131":206,"9":54784,"24":44,"16":1928852632764416,"44":-5791277238217785342},"client_ip":"117.225.203.3","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,9,24,16,44]} 
[2026-09-05 22:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888510464001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:20:52] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-05 22:20:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1928852632764416,"km_value":1928852632764.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:20:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5791277238217785342,"description":"Unknown IO ID 44"} 
[2026-09-05 22:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888510464001,"power":27713,"unknown_131":206,"unknown_9":54784,"ignition":44,"odometer":null,"unknown_44":-5791277238217785342}} 
[2026-09-05 22:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":174662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771587,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:20:53] local.INFO: GPS data processed {"connection_id":174662,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:20:53] local.INFO: Acknowledgment sent {"connection_id":174662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:20:54] local.INFO: TCP Data received {"connection_id":171968,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:20:54] local.INFO: Processing buffer {"connection_id":171968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:20:54] local.INFO: IMEI packet received {"connection_id":171968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":171968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:20:55] local.INFO: TCP Data received {"connection_id":171968,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0727a0b20012d196500071ff1280040014528..."} 
[2026-09-05 22:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727a0b20012d196500071ff1280040014528..."} 
[2026-09-05 22:20:55] local.INFO: Processing buffer {"connection_id":171968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727a0b20012d196500071ff1280040014528..."} 
[2026-09-05 22:20:55] local.INFO: Packet analysis {"connection_id":171968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727a"} 
[2026-09-05 22:20:55] local.INFO: Extracted packet for processing {"connection_id":171968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727a"} 
[2026-09-05 22:20:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888433920001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788626996000,"timestamp_ms":1788626996000,"timestamp_seconds":1788626996,"priority":1,"record_length":96,"hex_timestamp":"000001a0727a0b20"} 
[2026-09-05 22:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:20:55] 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-09-05 22:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888433920001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888433920001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:20:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:20:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888433920001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":171968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:20:55] local.INFO: GPS data processed {"connection_id":171968,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:20:55] local.INFO: Acknowledgment sent {"connection_id":171968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:20:59] local.INFO: TCP Data received {"connection_id":171968,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0727a0b20012d196500071ff1280040014528..."} 
[2026-09-05 22:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727a0b20012d196500071ff1280040014528..."} 
[2026-09-05 22:20:59] local.INFO: Processing buffer {"connection_id":171968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727a0b20012d196500071ff1280040014528..."} 
[2026-09-05 22:20:59] local.INFO: Packet analysis {"connection_id":171968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727a"} 
[2026-09-05 22:20:59] local.INFO: Extracted packet for processing {"connection_id":171968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727a"} 
[2026-09-05 22:20:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888433920001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788626996000,"timestamp_ms":1788626996000,"timestamp_seconds":1788626996,"priority":1,"record_length":96,"hex_timestamp":"000001a0727a0b20"} 
[2026-09-05 22:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888433920001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888433920001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:20:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:20:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888433920001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":171968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:20:59] local.INFO: GPS data processed {"connection_id":171968,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:20:59] local.INFO: Acknowledgment sent {"connection_id":171968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:21:24] local.INFO: TCP Data received {"connection_id":174662,"ip":"117.225.203.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0727a2a60012cafc800090c4d500224004628..."} 
[2026-09-05 22:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727a2a60012cafc800090c4d500224004628..."} 
[2026-09-05 22:21:24] local.INFO: Processing buffer {"connection_id":174662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727a2a60012cafc800090c4d500224004628..."} 
[2026-09-05 22:21:24] local.INFO: Packet analysis {"connection_id":174662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727a"} 
[2026-09-05 22:21:24] local.INFO: Extracted packet for processing {"connection_id":174662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727a"} 
[2026-09-05 22:21:24] local.INFO: GPS Element Parsed {"raw_longitude":749717504,"raw_latitude":151801168,"longitude_deg":74.9717504,"latitude_deg":15.1801168,"altitude":548,"angle":70,"satellites":40,"speed":44,"hex_longitude":"2cafc800","hex_latitude":"090c4d50","is_valid_coordinates":true} 
[2026-09-05 22:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888511488001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1929174755311616,"note":"Value kept but may cause issues"} 
[2026-09-05 22:21:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5787336588543201278,"note":"Value kept but may cause issues"} 
[2026-09-05 22:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788627004000,"timestamp_ms":1788627004000,"timestamp_seconds":1788627004,"priority":1,"record_length":96,"hex_timestamp":"000001a0727a2a60"} 
[2026-09-05 22:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:21:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-05 22:21:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.203.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888511488001,"66":27517,"133":206,"9":54784,"24":44,"16":1929174755311616,"44":-5787336588543201278},"client_ip":"117.225.203.3","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,44]} 
[2026-09-05 22:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888511488001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:21:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-05 22:21:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1929174755311616,"km_value":1929174755311.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:21:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5787336588543201278,"description":"Unknown IO ID 44"} 
[2026-09-05 22:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888511488001,"power":27517,"unknown_133":206,"unknown_9":54784,"ignition":44,"odometer":null,"unknown_44":-5787336588543201278}} 
[2026-09-05 22:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":174662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771590,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:21:24] local.INFO: GPS data processed {"connection_id":174662,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:21:24] local.INFO: Acknowledgment sent {"connection_id":174662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:21:44] local.INFO: TCP Data received {"connection_id":171969,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:21:44] local.INFO: Processing buffer {"connection_id":171969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:21:44] local.INFO: IMEI packet received {"connection_id":171969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":171969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:21:49] local.INFO: TCP Data received {"connection_id":171969,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:21:49] local.INFO: Processing buffer {"connection_id":171969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:21:49] local.INFO: IMEI packet received {"connection_id":171969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":171969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:21:49] local.INFO: TCP Data received {"connection_id":171969,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0727a0b20012d196500071ff1280040014528..."} 
[2026-09-05 22:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727a0b20012d196500071ff1280040014528..."} 
[2026-09-05 22:21:49] local.INFO: Processing buffer {"connection_id":171969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727a0b20012d196500071ff1280040014528..."} 
[2026-09-05 22:21:49] local.INFO: Packet analysis {"connection_id":171969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727a"} 
[2026-09-05 22:21:49] local.INFO: Extracted packet for processing {"connection_id":171969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727a"} 
[2026-09-05 22:21:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888433920001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788626996000,"timestamp_ms":1788626996000,"timestamp_seconds":1788626996,"priority":1,"record_length":96,"hex_timestamp":"000001a0727a0b20"} 
[2026-09-05 22:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:21: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-09-05 22:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":171969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":171969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":171969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888433920001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888433920001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:21:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:21:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888433920001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":171969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:21:50] local.INFO: GPS data processed {"connection_id":171969,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:21:50] local.INFO: Acknowledgment sent {"connection_id":171969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:21:54] local.INFO: TCP Data received {"connection_id":171969,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0727a0b20012d196500071ff1280040014528..."} 
[2026-09-05 22:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727a0b20012d196500071ff1280040014528..."} 
[2026-09-05 22:21:54] local.INFO: Processing buffer {"connection_id":171969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727a0b20012d196500071ff1280040014528..."} 
[2026-09-05 22:21:54] local.INFO: Packet analysis {"connection_id":171969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727a"} 
[2026-09-05 22:21:54] local.INFO: Extracted packet for processing {"connection_id":171969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727a"} 
[2026-09-05 22:21:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888433920001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788626996000,"timestamp_ms":1788626996000,"timestamp_seconds":1788626996,"priority":1,"record_length":96,"hex_timestamp":"000001a0727a0b20"} 
[2026-09-05 22:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:21:54] 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-09-05 22:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888433920001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888433920001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:21:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:21:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888433920001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":171969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:21:54] local.INFO: GPS data processed {"connection_id":171969,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:21:54] local.INFO: Acknowledgment sent {"connection_id":171969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:21:56] local.INFO: TCP Data received {"connection_id":174662,"ip":"117.225.203.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0727a4d88012cafec80090c56c00228004e2a..."} 
[2026-09-05 22:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727a4d88012cafec80090c56c00228004e2a..."} 
[2026-09-05 22:21:56] local.INFO: Processing buffer {"connection_id":174662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727a4d88012cafec80090c56c00228004e2a..."} 
[2026-09-05 22:21:56] local.INFO: Packet analysis {"connection_id":174662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727a"} 
[2026-09-05 22:21:56] local.INFO: Extracted packet for processing {"connection_id":174662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727a"} 
[2026-09-05 22:21:56] local.INFO: GPS Element Parsed {"raw_longitude":749726848,"raw_latitude":151803584,"longitude_deg":74.9726848,"latitude_deg":15.1803584,"altitude":552,"angle":78,"satellites":42,"speed":38,"hex_longitude":"2cafec80","hex_latitude":"090c56c0","is_valid_coordinates":true} 
[2026-09-05 22:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888513024001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1929630021844992,"note":"Value kept but may cause issues"} 
[2026-09-05 22:21:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5780370082868932606,"note":"Value kept but may cause issues"} 
[2026-09-05 22:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788627013000,"timestamp_ms":1788627013000,"timestamp_seconds":1788627013,"priority":1,"record_length":96,"hex_timestamp":"000001a0727a4d88"} 
[2026-09-05 22:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 22:21:56] 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-09-05 22:21:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.203.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888513024001,"66":27484,"133":206,"9":54784,"24":38,"16":1929630021844992,"44":-5780370082868932606},"client_ip":"117.225.203.3","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,44]} 
[2026-09-05 22:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888513024001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:21:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-05 22:21:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1929630021844992,"km_value":1929630021844.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:21:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5780370082868932606,"description":"Unknown IO ID 44"} 
[2026-09-05 22:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888513024001,"power":27484,"unknown_133":206,"unknown_9":54784,"ignition":38,"odometer":null,"unknown_44":-5780370082868932606}} 
[2026-09-05 22:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":174662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771593,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:21:56] local.INFO: GPS data processed {"connection_id":174662,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:21:56] local.INFO: Acknowledgment sent {"connection_id":174662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:22:04] local.INFO: TCP Data received {"connection_id":173335,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:22:04] local.INFO: Processing buffer {"connection_id":173335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:22:04] local.INFO: IMEI packet received {"connection_id":173335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":173335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:22:09] local.INFO: TCP Data received {"connection_id":173335,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:22:09] local.INFO: Processing buffer {"connection_id":173335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:22:09] local.INFO: IMEI packet received {"connection_id":173335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":173335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:22:15] local.INFO: TCP Data received {"connection_id":173335,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:22:15] local.INFO: Processing buffer {"connection_id":173335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:22:15] local.INFO: IMEI packet received {"connection_id":173335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":173335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:22:23] local.INFO: TCP Data received {"connection_id":173335,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07279c4d0012d793a8005f519b0000f002e20..."} 
[2026-09-05 22:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07279c4d0012d793a8005f519b0000f002e20..."} 
[2026-09-05 22:22:23] local.INFO: Processing buffer {"connection_id":173335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07279c4d0012d793a8005f519b0000f002e20..."} 
[2026-09-05 22:22:23] local.INFO: Packet analysis {"connection_id":173335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07279"} 
[2026-09-05 22:22:23] local.INFO: Extracted packet for processing {"connection_id":173335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07279"} 
[2026-09-05 22:22:23] local.INFO: GPS Element Parsed {"raw_longitude":762919552,"raw_latitude":99948976,"longitude_deg":76.2919552,"latitude_deg":9.9948976,"altitude":15,"angle":46,"satellites":32,"speed":0,"hex_longitude":"2d793a80","hex_latitude":"05f519b0","is_valid_coordinates":true} 
[2026-09-05 22:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888500992001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399930776029757440,"note":"Value kept but may cause issues"} 
[2026-09-05 22:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8735435190313791488,"note":"Value kept but may cause issues"} 
[2026-09-05 22:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788626978000,"timestamp_ms":1788626978000,"timestamp_seconds":1788626978,"priority":1,"record_length":96,"hex_timestamp":"000001a07279c4d0"} 
[2026-09-05 22:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-05 22:22:23] 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-09-05 22:22:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888500992001,"66":27343,"142":206,"9":24832,"24":0,"16":399930776029757440,"45":8735435190313791488},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,9,24,16,45]} 
[2026-09-05 22:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888500992001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:22:23] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-05 22:22:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 22:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399930776029757440,"km_value":399930776029757.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8735435190313791488,"description":"Unknown IO ID 45"} 
[2026-09-05 22:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888500992001,"power":27343,"unknown_142":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8735435190313791488}} 
[2026-09-05 22:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":173335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:22:23] local.INFO: GPS data processed {"connection_id":173335,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:22:23] local.INFO: Acknowledgment sent {"connection_id":173335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:22:25] local.INFO: TCP Data received {"connection_id":171969,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0727a0b20012d196500071ff1280040014528..."} 
[2026-09-05 22:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727a0b20012d196500071ff1280040014528..."} 
[2026-09-05 22:22:25] local.INFO: Processing buffer {"connection_id":171969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727a0b20012d196500071ff1280040014528..."} 
[2026-09-05 22:22:25] local.INFO: Packet analysis {"connection_id":171969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727a"} 
[2026-09-05 22:22:25] local.INFO: Extracted packet for processing {"connection_id":171969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727a"} 
[2026-09-05 22:22:25] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888433920001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788626996000,"timestamp_ms":1788626996000,"timestamp_seconds":1788626996,"priority":1,"record_length":96,"hex_timestamp":"000001a0727a0b20"} 
[2026-09-05 22:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:22: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-09-05 22:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:22:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:22:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:22:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888433920001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888433920001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:22:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:22:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888433920001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":171969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:22:25] local.INFO: GPS data processed {"connection_id":171969,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:22:25] local.INFO: Acknowledgment sent {"connection_id":171969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:22:27] local.INFO: TCP Data received {"connection_id":174662,"ip":"117.225.203.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0727b91c0012cb08f00090d48f0021e000329..."} 
[2026-09-05 22:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727b91c0012cb08f00090d48f0021e000329..."} 
[2026-09-05 22:22:27] local.INFO: Processing buffer {"connection_id":174662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727b91c0012cb08f00090d48f0021e000329..."} 
[2026-09-05 22:22:27] local.INFO: Packet analysis {"connection_id":174662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727b"} 
[2026-09-05 22:22:27] local.INFO: Extracted packet for processing {"connection_id":174662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727b"} 
[2026-09-05 22:22:27] local.INFO: GPS Element Parsed {"raw_longitude":749768448,"raw_latitude":151865584,"longitude_deg":74.9768448,"latitude_deg":15.1865584,"altitude":542,"angle":3,"satellites":41,"speed":46,"hex_longitude":"2cb08f00","hex_latitude":"090d48f0","is_valid_coordinates":true} 
[2026-09-05 22:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888534528001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1933753190449152,"note":"Value kept but may cause issues"} 
[2026-09-05 22:22:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5724075087512698878,"note":"Value kept but may cause issues"} 
[2026-09-05 22:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788627096000,"timestamp_ms":1788627096000,"timestamp_seconds":1788627096,"priority":1,"record_length":96,"hex_timestamp":"000001a0727b91c0"} 
[2026-09-05 22:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-05 22:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.203.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888534528001,"66":27517,"133":206,"9":54784,"24":46,"16":1933753190449152,"44":-5724075087512698878},"client_ip":"117.225.203.3","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,44]} 
[2026-09-05 22:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888534528001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:22:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-05 22:22:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1933753190449152,"km_value":1933753190449.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:22:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5724075087512698878,"description":"Unknown IO ID 44"} 
[2026-09-05 22:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888534528001,"power":27517,"unknown_133":206,"unknown_9":54784,"ignition":46,"odometer":null,"unknown_44":-5724075087512698878}} 
[2026-09-05 22:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":174662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771596,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:22:27] local.INFO: GPS data processed {"connection_id":174662,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:22:27] local.INFO: Acknowledgment sent {"connection_id":174662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:22:44] local.INFO: TCP Data received {"connection_id":172224,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:22:44] local.INFO: Processing buffer {"connection_id":172224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:22:44] local.INFO: IMEI packet received {"connection_id":172224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":172224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:22:49] local.INFO: TCP Data received {"connection_id":172224,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:22:49] local.INFO: Processing buffer {"connection_id":172224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:22:49] local.INFO: IMEI packet received {"connection_id":172224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":172224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:22:49] local.INFO: TCP Data received {"connection_id":172224,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0727a0b20012d196500071ff1280040014528..."} 
[2026-09-05 22:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727a0b20012d196500071ff1280040014528..."} 
[2026-09-05 22:22:49] local.INFO: Processing buffer {"connection_id":172224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727a0b20012d196500071ff1280040014528..."} 
[2026-09-05 22:22:49] local.INFO: Packet analysis {"connection_id":172224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727a"} 
[2026-09-05 22:22:49] local.INFO: Extracted packet for processing {"connection_id":172224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727a"} 
[2026-09-05 22:22:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888433920001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788626996000,"timestamp_ms":1788626996000,"timestamp_seconds":1788626996,"priority":1,"record_length":96,"hex_timestamp":"000001a0727a0b20"} 
[2026-09-05 22:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:22: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-09-05 22:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888433920001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888433920001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:22:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:22:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888433920001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":172224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:22:50] local.INFO: GPS data processed {"connection_id":172224,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:22:50] local.INFO: Acknowledgment sent {"connection_id":172224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:23:09] local.INFO: TCP Data received {"connection_id":173335,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07279d470012d793b4005f51ac80010002020..."} 
[2026-09-05 22:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07279d470012d793b4005f51ac80010002020..."} 
[2026-09-05 22:23:09] local.INFO: Processing buffer {"connection_id":173335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07279d470012d793b4005f51ac80010002020..."} 
[2026-09-05 22:23:09] local.INFO: Packet analysis {"connection_id":173335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07279"} 
[2026-09-05 22:23:09] local.INFO: Extracted packet for processing {"connection_id":173335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07279"} 
[2026-09-05 22:23:09] local.INFO: GPS Element Parsed {"raw_longitude":762919744,"raw_latitude":99949256,"longitude_deg":76.2919744,"latitude_deg":9.9949256,"altitude":16,"angle":32,"satellites":32,"speed":4,"hex_longitude":"2d793b40","hex_latitude":"05f51ac8","is_valid_coordinates":true} 
[2026-09-05 22:23: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-09-05 22:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888506368001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399930793209626624,"note":"Value kept but may cause issues"} 
[2026-09-05 22:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8735435190313791488,"note":"Value kept but may cause issues"} 
[2026-09-05 22:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788626982000,"timestamp_ms":1788626982000,"timestamp_seconds":1788626982,"priority":1,"record_length":96,"hex_timestamp":"000001a07279d470"} 
[2026-09-05 22:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:23: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-09-05 22:23: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-09-05 22:23: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-09-05 22:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888506368001,"66":26789,"142":206,"9":24832,"24":4,"16":399930793209626624,"45":8735435190313791488},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,9,24,16,45]} 
[2026-09-05 22:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888506368001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:23:09] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-05 22:23:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-09-05 22:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399930793209626624,"km_value":399930793209626.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8735435190313791488,"description":"Unknown IO ID 45"} 
[2026-09-05 22:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888506368001,"power":26789,"unknown_142":206,"unknown_9":24832,"ignition":4,"odometer":null,"unknown_45":8735435190313791488}} 
[2026-09-05 22:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":173335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:23:09] local.INFO: GPS data processed {"connection_id":173335,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:23:09] local.INFO: Acknowledgment sent {"connection_id":173335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:23:11] local.INFO: TCP Data received {"connection_id":172225,"ip":"117.225.203.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172225,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:23:11] local.INFO: Processing buffer {"connection_id":172225,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:23:11] local.INFO: IMEI packet received {"connection_id":172225,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 22:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":172225,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:23:11] local.INFO: TCP Data received {"connection_id":171970,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:23:11] local.INFO: Processing buffer {"connection_id":171970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:23:11] local.INFO: IMEI packet received {"connection_id":171970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":171970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:23:13] local.INFO: TCP Data received {"connection_id":172225,"ip":"117.225.203.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172225,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:23:13] local.INFO: Processing buffer {"connection_id":172225,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:23:13] local.INFO: IMEI packet received {"connection_id":172225,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 22:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":172225,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:23:14] local.INFO: TCP Data received {"connection_id":171970,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:23:14] local.INFO: Processing buffer {"connection_id":171970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:23:14] local.INFO: IMEI packet received {"connection_id":171970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":171970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:23:18] local.INFO: TCP Data received {"connection_id":172225,"ip":"117.225.203.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172225,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:23:18] local.INFO: Processing buffer {"connection_id":172225,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:23:18] local.INFO: IMEI packet received {"connection_id":172225,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 22:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":172225,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:23:18] local.INFO: TCP Data received {"connection_id":172225,"ip":"117.225.203.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0727ba548012cb092c0090d5ed00220000f2a..."} 
[2026-09-05 22:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727ba548012cb092c0090d5ed00220000f2a..."} 
[2026-09-05 22:23:18] local.INFO: Processing buffer {"connection_id":172225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727ba548012cb092c0090d5ed00220000f2a..."} 
[2026-09-05 22:23:18] local.INFO: Packet analysis {"connection_id":172225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727b"} 
[2026-09-05 22:23:18] local.INFO: Extracted packet for processing {"connection_id":172225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727b"} 
[2026-09-05 22:23:18] local.INFO: GPS Element Parsed {"raw_longitude":749769408,"raw_latitude":151871184,"longitude_deg":74.9769408,"latitude_deg":15.1871184,"altitude":544,"angle":15,"satellites":42,"speed":44,"hex_longitude":"2cb092c0","hex_latitude":"090d5ed0","is_valid_coordinates":true} 
[2026-09-05 22:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888536576001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1934032363323392,"note":"Value kept but may cause issues"} 
[2026-09-05 22:23:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5724356562487021566,"note":"Value kept but may cause issues"} 
[2026-09-05 22:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788627101000,"timestamp_ms":1788627101000,"timestamp_seconds":1788627101,"priority":1,"record_length":96,"hex_timestamp":"000001a0727ba548"} 
[2026-09-05 22:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 22:23:18] 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-09-05 22:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":172225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":172225,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":172225,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.203.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888536576001,"66":27571,"133":206,"9":54784,"24":44,"16":1934032363323392,"44":-5724356562487021566},"client_ip":"117.225.203.3","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,44]} 
[2026-09-05 22:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888536576001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:23:18] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-05 22:23:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1934032363323392,"km_value":1934032363323.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:23:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5724356562487021566,"description":"Unknown IO ID 44"} 
[2026-09-05 22:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888536576001,"power":27571,"unknown_133":206,"unknown_9":54784,"ignition":44,"odometer":null,"unknown_44":-5724356562487021566}} 
[2026-09-05 22:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":172225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771599,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:23:18] local.INFO: GPS data processed {"connection_id":172225,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:23:18] local.INFO: Acknowledgment sent {"connection_id":172225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:23:20] local.INFO: TCP Data received {"connection_id":171970,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:23:20] local.INFO: Processing buffer {"connection_id":171970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:23:20] local.INFO: IMEI packet received {"connection_id":171970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":171970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:23:21] local.INFO: TCP Data received {"connection_id":172224,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0727a0b20012d196500071ff1280040014528..."} 
[2026-09-05 22:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727a0b20012d196500071ff1280040014528..."} 
[2026-09-05 22:23:21] local.INFO: Processing buffer {"connection_id":172224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727a0b20012d196500071ff1280040014528..."} 
[2026-09-05 22:23:21] local.INFO: Packet analysis {"connection_id":172224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727a"} 
[2026-09-05 22:23:21] local.INFO: Extracted packet for processing {"connection_id":172224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727a"} 
[2026-09-05 22:23:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888433920001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788626996000,"timestamp_ms":1788626996000,"timestamp_seconds":1788626996,"priority":1,"record_length":96,"hex_timestamp":"000001a0727a0b20"} 
[2026-09-05 22:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:23:21] 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-09-05 22:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888433920001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888433920001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:23:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:23:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888433920001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":172224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:23:21] local.INFO: GPS data processed {"connection_id":172224,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:23:21] local.INFO: Acknowledgment sent {"connection_id":172224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:23:21] local.INFO: TCP Data received {"connection_id":171970,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0727bd428012d7a548005f5f3300007003b13..."} 
[2026-09-05 22:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727bd428012d7a548005f5f3300007003b13..."} 
[2026-09-05 22:23:21] local.INFO: Processing buffer {"connection_id":171970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727bd428012d7a548005f5f3300007003b13..."} 
[2026-09-05 22:23:21] local.INFO: Packet analysis {"connection_id":171970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727b"} 
[2026-09-05 22:23:21] local.INFO: Extracted packet for processing {"connection_id":171970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727b"} 
[2026-09-05 22:23:21] local.INFO: GPS Element Parsed {"raw_longitude":762991744,"raw_latitude":100004656,"longitude_deg":76.2991744,"latitude_deg":10.0004656,"altitude":7,"angle":59,"satellites":19,"speed":35,"hex_longitude":"2d7a5480","hex_latitude":"05f5f330","is_valid_coordinates":true} 
[2026-09-05 22:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888537600001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399935165486333952,"note":"Value kept but may cause issues"} 
[2026-09-05 22:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090783436800,"note":"Value kept but may cause issues"} 
[2026-09-05 22:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788627113000,"timestamp_ms":1788627113000,"timestamp_seconds":1788627113,"priority":1,"record_length":96,"hex_timestamp":"000001a0727bd428"} 
[2026-09-05 22:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 22:23:21] 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-09-05 22:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888537600001,"66":27082,"44":206,"8":64768,"24":35,"16":399935165486333952,"45":8805452090783436800},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,8,24,16,45]} 
[2026-09-05 22:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888537600001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:23:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-05 22:23:21] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-09-05 22:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399935165486333952,"km_value":399935165486333.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090783436800,"description":"Unknown IO ID 45"} 
[2026-09-05 22:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888537600001,"power":27082,"unknown_44":206,"unknown_8":64768,"ignition":35,"odometer":null,"unknown_45":8805452090783436800}} 
[2026-09-05 22:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":171970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:23:21] local.INFO: GPS data processed {"connection_id":171970,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:23:21] local.INFO: Acknowledgment sent {"connection_id":171970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:23:43] local.INFO: TCP Data received {"connection_id":174664,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:23:43] local.INFO: Processing buffer {"connection_id":174664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:23:43] local.INFO: IMEI packet received {"connection_id":174664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":174664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:23:49] local.INFO: TCP Data received {"connection_id":174664,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:23:49] local.INFO: Processing buffer {"connection_id":174664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:23:49] local.INFO: IMEI packet received {"connection_id":174664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":174664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:23:49] local.INFO: TCP Data received {"connection_id":174664,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0727a0b20012d196500071ff1280040014528..."} 
[2026-09-05 22:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727a0b20012d196500071ff1280040014528..."} 
[2026-09-05 22:23:49] local.INFO: Processing buffer {"connection_id":174664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727a0b20012d196500071ff1280040014528..."} 
[2026-09-05 22:23:49] local.INFO: Packet analysis {"connection_id":174664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727a"} 
[2026-09-05 22:23:49] local.INFO: Extracted packet for processing {"connection_id":174664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727a"} 
[2026-09-05 22:23:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888433920001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788626996000,"timestamp_ms":1788626996000,"timestamp_seconds":1788626996,"priority":1,"record_length":96,"hex_timestamp":"000001a0727a0b20"} 
[2026-09-05 22:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:23: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-09-05 22:23:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888433920001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888433920001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:23:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:23:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888433920001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":174664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:23:50] local.INFO: GPS data processed {"connection_id":174664,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:23:50] local.INFO: Acknowledgment sent {"connection_id":174664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:23:50] local.INFO: TCP Data received {"connection_id":171971,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:23:50] local.INFO: Processing buffer {"connection_id":171971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:23:50] local.INFO: IMEI packet received {"connection_id":171971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":171971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:23:52] local.INFO: TCP Data received {"connection_id":171971,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:23:52] local.INFO: Processing buffer {"connection_id":171971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:23:52] local.INFO: IMEI packet received {"connection_id":171971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":171971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:23:53] local.INFO: TCP Data received {"connection_id":171971,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0727bf750012d7a718005f604d80009003d1b..."} 
[2026-09-05 22:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727bf750012d7a718005f604d80009003d1b..."} 
[2026-09-05 22:23:53] local.INFO: Processing buffer {"connection_id":171971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727bf750012d7a718005f604d80009003d1b..."} 
[2026-09-05 22:23:53] local.INFO: Packet analysis {"connection_id":171971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727b"} 
[2026-09-05 22:23:53] local.INFO: Extracted packet for processing {"connection_id":171971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727b"} 
[2026-09-05 22:23:53] local.INFO: GPS Element Parsed {"raw_longitude":762999168,"raw_latitude":100009176,"longitude_deg":76.2999168,"latitude_deg":10.0009176,"altitude":9,"angle":61,"satellites":27,"speed":31,"hex_longitude":"2d7a7180","hex_latitude":"05f604d8","is_valid_coordinates":true} 
[2026-09-05 22:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888540928001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399935603572998144,"note":"Value kept but may cause issues"} 
[2026-09-05 22:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814811133760450560,"note":"Value kept but may cause issues"} 
[2026-09-05 22:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788627122000,"timestamp_ms":1788627122000,"timestamp_seconds":1788627122,"priority":1,"record_length":96,"hex_timestamp":"000001a0727bf750"} 
[2026-09-05 22:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-05 22:23:53] 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-09-05 22:23:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":171971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":171971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":171971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888540928001,"66":27397,"44":206,"8":64768,"24":31,"16":399935603572998144,"45":8814811133760450560},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,8,24,16,45]} 
[2026-09-05 22:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888540928001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:23:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-05 22:23:53] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-09-05 22:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399935603572998144,"km_value":399935603572998.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814811133760450560,"description":"Unknown IO ID 45"} 
[2026-09-05 22:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888540928001,"power":27397,"unknown_44":206,"unknown_8":64768,"ignition":31,"odometer":null,"unknown_45":8814811133760450560}} 
[2026-09-05 22:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":171971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:23:53] local.INFO: GPS data processed {"connection_id":171971,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:23:53] local.INFO: Acknowledgment sent {"connection_id":171971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:24:03] local.INFO: TCP Data received {"connection_id":174665,"ip":"117.224.148.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:24:03] local.INFO: Processing buffer {"connection_id":174665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:24:03] local.INFO: IMEI packet received {"connection_id":174665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 22:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":174665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:24:05] local.INFO: TCP Data received {"connection_id":174665,"ip":"117.224.148.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:24:05] local.INFO: Processing buffer {"connection_id":174665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:24:05] local.INFO: IMEI packet received {"connection_id":174665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 22:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":174665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:24:08] local.INFO: TCP Data received {"connection_id":174665,"ip":"117.224.148.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:24:08] local.INFO: Processing buffer {"connection_id":174665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:24:08] local.INFO: IMEI packet received {"connection_id":174665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 22:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":174665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:24:09] local.INFO: TCP Data received {"connection_id":174665,"ip":"117.224.148.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0727bb100012cb097c0090d6ab00220001b2a..."} 
[2026-09-05 22:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727bb100012cb097c0090d6ab00220001b2a..."} 
[2026-09-05 22:24:09] local.INFO: Processing buffer {"connection_id":174665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727bb100012cb097c0090d6ab00220001b2a..."} 
[2026-09-05 22:24:09] local.INFO: Packet analysis {"connection_id":174665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727b"} 
[2026-09-05 22:24:09] local.INFO: Extracted packet for processing {"connection_id":174665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727b"} 
[2026-09-05 22:24:09] local.INFO: GPS Element Parsed {"raw_longitude":749770688,"raw_latitude":151874224,"longitude_deg":74.9770688,"latitude_deg":15.1874224,"altitude":544,"angle":27,"satellites":42,"speed":43,"hex_longitude":"2cb097c0","hex_latitude":"090d6ab0","is_valid_coordinates":true} 
[2026-09-05 22: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-09-05 22:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888537856001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1934186982146048,"note":"Value kept but may cause issues"} 
[2026-09-05 22:24:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5723301031322923006,"note":"Value kept but may cause issues"} 
[2026-09-05 22:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788627104000,"timestamp_ms":1788627104000,"timestamp_seconds":1788627104,"priority":1,"record_length":96,"hex_timestamp":"000001a0727bb100"} 
[2026-09-05 22:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:24: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-09-05 22: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-05 22:24:09] 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-09-05 22: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-09-05 22:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":174665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":174665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":174665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.148.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888537856001,"66":27550,"133":206,"9":54784,"24":43,"16":1934186982146048,"44":-5723301031322923006},"client_ip":"117.224.148.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,44]} 
[2026-09-05 22:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888537856001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:24:09] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-05 22:24:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1934186982146048,"km_value":1934186982146.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:24:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5723301031322923006,"description":"Unknown IO ID 44"} 
[2026-09-05 22:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888537856001,"power":27550,"unknown_133":206,"unknown_9":54784,"ignition":43,"odometer":null,"unknown_44":-5723301031322923006}} 
[2026-09-05 22:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":174665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771604,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:24:09] local.INFO: GPS data processed {"connection_id":174665,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:24:09] local.INFO: Acknowledgment sent {"connection_id":174665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:24:14] local.INFO: TCP Data received {"connection_id":174665,"ip":"117.224.148.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0727bc870012cb0a640090d7f700222002a29..."} 
[2026-09-05 22:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727bc870012cb0a640090d7f700222002a29..."} 
[2026-09-05 22:24:14] local.INFO: Processing buffer {"connection_id":174665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727bc870012cb0a640090d7f700222002a29..."} 
[2026-09-05 22:24:14] local.INFO: Packet analysis {"connection_id":174665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727b"} 
[2026-09-05 22:24:14] local.INFO: Extracted packet for processing {"connection_id":174665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727b"} 
[2026-09-05 22:24:14] local.INFO: GPS Element Parsed {"raw_longitude":749774400,"raw_latitude":151879536,"longitude_deg":74.97744,"latitude_deg":15.1879536,"altitude":546,"angle":42,"satellites":41,"speed":41,"hex_longitude":"2cb0a640","hex_latitude":"090d7f70","is_valid_coordinates":true} 
[2026-09-05 22:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888538624001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1934500514758656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:24:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5721893656438591486,"note":"Value kept but may cause issues"} 
[2026-09-05 22:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788627110000,"timestamp_ms":1788627110000,"timestamp_seconds":1788627110,"priority":1,"record_length":96,"hex_timestamp":"000001a0727bc870"} 
[2026-09-05 22:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-05 22:24:14] 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-09-05 22:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":174665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":174665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":174665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.148.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888538624001,"66":27484,"133":206,"9":54784,"24":41,"16":1934500514758656,"44":-5721893656438591486},"client_ip":"117.224.148.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,44]} 
[2026-09-05 22:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888538624001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:24:14] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-05 22:24:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1934500514758656,"km_value":1934500514758.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:24:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5721893656438591486,"description":"Unknown IO ID 44"} 
[2026-09-05 22:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888538624001,"power":27484,"unknown_133":206,"unknown_9":54784,"ignition":41,"odometer":null,"unknown_44":-5721893656438591486}} 
[2026-09-05 22:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":174665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771605,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:24:14] local.INFO: GPS data processed {"connection_id":174665,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:24:14] local.INFO: Acknowledgment sent {"connection_id":174665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:24:23] local.INFO: TCP Data received {"connection_id":174664,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0727a0b20012d196500071ff1280040014528..."} 
[2026-09-05 22:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727a0b20012d196500071ff1280040014528..."} 
[2026-09-05 22:24:23] local.INFO: Processing buffer {"connection_id":174664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727a0b20012d196500071ff1280040014528..."} 
[2026-09-05 22:24:23] local.INFO: Packet analysis {"connection_id":174664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727a"} 
[2026-09-05 22:24:23] local.INFO: Extracted packet for processing {"connection_id":174664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727a"} 
[2026-09-05 22:24:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888433920001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788626996000,"timestamp_ms":1788626996000,"timestamp_seconds":1788626996,"priority":1,"record_length":96,"hex_timestamp":"000001a0727a0b20"} 
[2026-09-05 22:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:24:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888433920001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888433920001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:24:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:24:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888433920001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":174664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:24:23] local.INFO: GPS data processed {"connection_id":174664,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:24:23] local.INFO: Acknowledgment sent {"connection_id":174664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:24:25] local.INFO: TCP Data received {"connection_id":171971,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0727c1e60012d7a850005f60d300005004825..."} 
[2026-09-05 22:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727c1e60012d7a850005f60d300005004825..."} 
[2026-09-05 22:24:25] local.INFO: Processing buffer {"connection_id":171971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727c1e60012d7a850005f60d300005004825..."} 
[2026-09-05 22:24:25] local.INFO: Packet analysis {"connection_id":171971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727c"} 
[2026-09-05 22:24:25] local.INFO: Extracted packet for processing {"connection_id":171971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727c"} 
[2026-09-05 22:24:25] local.INFO: GPS Element Parsed {"raw_longitude":763004160,"raw_latitude":100011312,"longitude_deg":76.300416,"latitude_deg":10.0011312,"altitude":5,"angle":72,"satellites":37,"speed":17,"hex_longitude":"2d7a8500","hex_latitude":"05f60d30","is_valid_coordinates":true} 
[2026-09-05 22:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888543232001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399935861271035904,"note":"Value kept but may cause issues"} 
[2026-09-05 22:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8822973908086216704,"note":"Value kept but may cause issues"} 
[2026-09-05 22:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788627132000,"timestamp_ms":1788627132000,"timestamp_seconds":1788627132,"priority":1,"record_length":96,"hex_timestamp":"000001a0727c1e60"} 
[2026-09-05 22:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-05 22:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888543232001,"66":27343,"44":206,"8":64768,"24":17,"16":399935861271035904,"45":8822973908086216704},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,8,24,16,45]} 
[2026-09-05 22:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888543232001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:24:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-05 22:24:25] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-09-05 22:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399935861271035904,"km_value":399935861271035.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8822973908086216704,"description":"Unknown IO ID 45"} 
[2026-09-05 22:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888543232001,"power":27343,"unknown_44":206,"unknown_8":64768,"ignition":17,"odometer":null,"unknown_45":8822973908086216704}} 
[2026-09-05 22:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":171971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:24:25] local.INFO: GPS data processed {"connection_id":171971,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:24:25] local.INFO: Acknowledgment sent {"connection_id":171971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:24:43] local.INFO: TCP Data received {"connection_id":171972,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:24:43] local.INFO: Processing buffer {"connection_id":171972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:24:43] local.INFO: IMEI packet received {"connection_id":171972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":171972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:24:49] local.INFO: TCP Data received {"connection_id":171972,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:24:49] local.INFO: Processing buffer {"connection_id":171972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:24:49] local.INFO: IMEI packet received {"connection_id":171972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":171972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:24:50] local.INFO: TCP Data received {"connection_id":171972,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0727a0b20012d196500071ff1280040014528..."} 
[2026-09-05 22:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727a0b20012d196500071ff1280040014528..."} 
[2026-09-05 22:24:50] local.INFO: Processing buffer {"connection_id":171972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727a0b20012d196500071ff1280040014528..."} 
[2026-09-05 22:24:50] local.INFO: Packet analysis {"connection_id":171972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727a"} 
[2026-09-05 22:24:50] local.INFO: Extracted packet for processing {"connection_id":171972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727a"} 
[2026-09-05 22:24:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888433920001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788626996000,"timestamp_ms":1788626996000,"timestamp_seconds":1788626996,"priority":1,"record_length":96,"hex_timestamp":"000001a0727a0b20"} 
[2026-09-05 22:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:24:50] 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-09-05 22:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:24:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888433920001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888433920001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:24:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:24:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888433920001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":171972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:24:50] local.INFO: GPS data processed {"connection_id":171972,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:24:50] local.INFO: Acknowledgment sent {"connection_id":171972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:25:03] local.INFO: TCP Data received {"connection_id":174665,"ip":"117.224.148.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0727d9560012cb21880090e5b400225003929..."} 
[2026-09-05 22:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727d9560012cb21880090e5b400225003929..."} 
[2026-09-05 22:25:03] local.INFO: Processing buffer {"connection_id":174665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727d9560012cb21880090e5b400225003929..."} 
[2026-09-05 22:25:03] local.INFO: Packet analysis {"connection_id":174665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727d"} 
[2026-09-05 22:25:03] local.INFO: Extracted packet for processing {"connection_id":174665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727d"} 
[2026-09-05 22:25:03] local.INFO: GPS Element Parsed {"raw_longitude":749869184,"raw_latitude":151935808,"longitude_deg":74.9869184,"latitude_deg":15.1935808,"altitude":549,"angle":57,"satellites":41,"speed":37,"hex_longitude":"2cb21880","hex_latitude":"090e5b40","is_valid_coordinates":true} 
[2026-09-05 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-09-05 22:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888567808001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1939710310088704,"note":"Value kept but may cause issues"} 
[2026-09-05 22:25:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5622532989645185022,"note":"Value kept but may cause issues"} 
[2026-09-05 22:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788627228000,"timestamp_ms":1788627228000,"timestamp_seconds":1788627228,"priority":1,"record_length":96,"hex_timestamp":"000001a0727d9560"} 
[2026-09-05 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-09-05 22:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 22:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 22:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.148.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888567808001,"66":27713,"133":206,"9":54784,"24":37,"16":1939710310088704,"44":-5622532989645185022},"client_ip":"117.224.148.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,44]} 
[2026-09-05 22:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888567808001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:25:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-05 22:25:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1939710310088704,"km_value":1939710310088.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:25:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5622532989645185022,"description":"Unknown IO ID 44"} 
[2026-09-05 22:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888567808001,"power":27713,"unknown_133":206,"unknown_9":54784,"ignition":37,"odometer":null,"unknown_44":-5622532989645185022}} 
[2026-09-05 22:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":174665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771609,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:25:03] local.INFO: GPS data processed {"connection_id":174665,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:25:03] local.INFO: Acknowledgment sent {"connection_id":174665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:25:04] local.INFO: TCP Data received {"connection_id":172226,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:25:04] local.INFO: Processing buffer {"connection_id":172226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:25:04] local.INFO: IMEI packet received {"connection_id":172226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":172226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:25:05] local.INFO: TCP Data received {"connection_id":172226,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:25:05] local.INFO: Processing buffer {"connection_id":172226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:25:05] local.INFO: IMEI packet received {"connection_id":172226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":172226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:25:10] local.INFO: TCP Data received {"connection_id":172226,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:25:10] local.INFO: Processing buffer {"connection_id":172226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:25:10] local.INFO: IMEI packet received {"connection_id":172226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":172226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:25:13] local.INFO: TCP Data received {"connection_id":171973,"ip":"117.224.148.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171973,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:25:13] local.INFO: Processing buffer {"connection_id":171973,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:25:13] local.INFO: IMEI packet received {"connection_id":171973,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 22:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":171973,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:25:13] local.INFO: TCP Data received {"connection_id":172226,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0727c7068012d7a9b4005f61310000300492a..."} 
[2026-09-05 22:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727c7068012d7a9b4005f61310000300492a..."} 
[2026-09-05 22:25:13] local.INFO: Processing buffer {"connection_id":172226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727c7068012d7a9b4005f61310000300492a..."} 
[2026-09-05 22:25:13] local.INFO: Packet analysis {"connection_id":172226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727c"} 
[2026-09-05 22:25:13] local.INFO: Extracted packet for processing {"connection_id":172226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727c"} 
[2026-09-05 22:25:13] local.INFO: GPS Element Parsed {"raw_longitude":763009856,"raw_latitude":100012816,"longitude_deg":76.3009856,"latitude_deg":10.0012816,"altitude":3,"angle":73,"satellites":42,"speed":8,"hex_longitude":"2d7a9b40","hex_latitude":"05f61310","is_valid_coordinates":true} 
[2026-09-05 22:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888545792001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399936144738877440,"note":"Value kept but may cause issues"} 
[2026-09-05 22:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8828462670132621312,"note":"Value kept but may cause issues"} 
[2026-09-05 22:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788627153000,"timestamp_ms":1788627153000,"timestamp_seconds":1788627153,"priority":1,"record_length":96,"hex_timestamp":"000001a0727c7068"} 
[2026-09-05 22:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 22:25:13] 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-09-05 22:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":172226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":172226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":172226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888545792001,"66":27169,"44":206,"8":64768,"24":8,"16":399936144738877440,"45":8828462670132621312},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,8,24,16,45]} 
[2026-09-05 22:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888545792001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:25:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-05 22:25:13] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-09-05 22:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399936144738877440,"km_value":399936144738877.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8828462670132621312,"description":"Unknown IO ID 45"} 
[2026-09-05 22:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888545792001,"power":27169,"unknown_44":206,"unknown_8":64768,"ignition":8,"odometer":null,"unknown_45":8828462670132621312}} 
[2026-09-05 22:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":172226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:25:13] local.INFO: GPS data processed {"connection_id":172226,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:25:13] local.INFO: Acknowledgment sent {"connection_id":172226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:25:19] local.INFO: TCP Data received {"connection_id":171973,"ip":"117.224.148.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171973,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:25:19] local.INFO: Processing buffer {"connection_id":171973,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:25:19] local.INFO: IMEI packet received {"connection_id":171973,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 22:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":171973,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:25:21] local.INFO: TCP Data received {"connection_id":171973,"ip":"117.224.148.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0727db888012cb23380090e6fc00229002e28..."} 
[2026-09-05 22:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727db888012cb23380090e6fc00229002e28..."} 
[2026-09-05 22:25:21] local.INFO: Processing buffer {"connection_id":171973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727db888012cb23380090e6fc00229002e28..."} 
[2026-09-05 22:25:21] local.INFO: Packet analysis {"connection_id":171973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727d"} 
[2026-09-05 22:25:21] local.INFO: Extracted packet for processing {"connection_id":171973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727d"} 
[2026-09-05 22:25:21] local.INFO: GPS Element Parsed {"raw_longitude":749876096,"raw_latitude":151941056,"longitude_deg":74.9876096,"latitude_deg":15.1941056,"altitude":553,"angle":46,"satellites":40,"speed":37,"hex_longitude":"2cb23380","hex_latitude":"090e6fc0","is_valid_coordinates":true} 
[2026-09-05 22:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888570368001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1940126921916416,"note":"Value kept but may cause issues"} 
[2026-09-05 22:25:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5613596159133401086,"note":"Value kept but may cause issues"} 
[2026-09-05 22:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788627237000,"timestamp_ms":1788627237000,"timestamp_seconds":1788627237,"priority":1,"record_length":96,"hex_timestamp":"000001a0727db888"} 
[2026-09-05 22:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-05 22:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:25:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171973,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171973,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.148.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888570368001,"66":27571,"133":206,"9":54784,"24":37,"16":1940126921916416,"44":-5613596159133401086},"client_ip":"117.224.148.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,44]} 
[2026-09-05 22:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888570368001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:25:21] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-05 22:25:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1940126921916416,"km_value":1940126921916.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:25:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5613596159133401086,"description":"Unknown IO ID 44"} 
[2026-09-05 22:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888570368001,"power":27571,"unknown_133":206,"unknown_9":54784,"ignition":37,"odometer":null,"unknown_44":-5613596159133401086}} 
[2026-09-05 22:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":171973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771611,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:25:21] local.INFO: GPS data processed {"connection_id":171973,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:25:21] local.INFO: Acknowledgment sent {"connection_id":171973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:25:21] local.INFO: TCP Data received {"connection_id":171972,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0727a0b20012d196500071ff1280040014528..."} 
[2026-09-05 22:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727a0b20012d196500071ff1280040014528..."} 
[2026-09-05 22:25:21] local.INFO: Processing buffer {"connection_id":171972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727a0b20012d196500071ff1280040014528..."} 
[2026-09-05 22:25:21] local.INFO: Packet analysis {"connection_id":171972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727a"} 
[2026-09-05 22:25:21] local.INFO: Extracted packet for processing {"connection_id":171972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727a"} 
[2026-09-05 22:25:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888433920001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788626996000,"timestamp_ms":1788626996000,"timestamp_seconds":1788626996,"priority":1,"record_length":96,"hex_timestamp":"000001a0727a0b20"} 
[2026-09-05 22:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:25:21] 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-09-05 22:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:25:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888433920001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888433920001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:25:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:25:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888433920001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":171972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:25:21] local.INFO: GPS data processed {"connection_id":171972,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:25:21] local.INFO: Acknowledgment sent {"connection_id":171972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:25:49] local.INFO: TCP Data received {"connection_id":171974,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:25:49] local.INFO: Processing buffer {"connection_id":171974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:25:49] local.INFO: IMEI packet received {"connection_id":171974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":171974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:25:52] local.INFO: TCP Data received {"connection_id":171973,"ip":"117.224.148.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0727ddbb0012cb249c0090e8880022a002128..."} 
[2026-09-05 22:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727ddbb0012cb249c0090e8880022a002128..."} 
[2026-09-05 22:25:52] local.INFO: Processing buffer {"connection_id":171973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727ddbb0012cb249c0090e8880022a002128..."} 
[2026-09-05 22:25:52] local.INFO: Packet analysis {"connection_id":171973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727d"} 
[2026-09-05 22:25:52] local.INFO: Extracted packet for processing {"connection_id":171973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727d"} 
[2026-09-05 22:25:52] local.INFO: GPS Element Parsed {"raw_longitude":749881792,"raw_latitude":151947392,"longitude_deg":74.9881792,"latitude_deg":15.1947392,"altitude":554,"angle":33,"satellites":40,"speed":39,"hex_longitude":"2cb249c0","hex_latitude":"090e8880","is_valid_coordinates":true} 
[2026-09-05 22:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888572672001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1940534943809536,"note":"Value kept but may cause issues"} 
[2026-09-05 22:25:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5605996334760869886,"note":"Value kept but may cause issues"} 
[2026-09-05 22:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788627246000,"timestamp_ms":1788627246000,"timestamp_seconds":1788627246,"priority":1,"record_length":96,"hex_timestamp":"000001a0727ddbb0"} 
[2026-09-05 22:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-05 22:25:52] 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-09-05 22:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":171973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":171973,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":171973,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.148.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888572672001,"66":27571,"133":206,"9":54784,"24":39,"16":1940534943809536,"44":-5605996334760869886},"client_ip":"117.224.148.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,44]} 
[2026-09-05 22:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888572672001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:25:52] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-05 22:25:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1940534943809536,"km_value":1940534943809.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:25:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5605996334760869886,"description":"Unknown IO ID 44"} 
[2026-09-05 22:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888572672001,"power":27571,"unknown_133":206,"unknown_9":54784,"ignition":39,"odometer":null,"unknown_44":-5605996334760869886}} 
[2026-09-05 22:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":171973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771613,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:25:52] local.INFO: GPS data processed {"connection_id":171973,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:25:52] local.INFO: Acknowledgment sent {"connection_id":171973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:25:54] local.INFO: TCP Data received {"connection_id":171974,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:25:54] local.INFO: Processing buffer {"connection_id":171974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:25:54] local.INFO: IMEI packet received {"connection_id":171974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":171974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:25:55] local.INFO: TCP Data received {"connection_id":171974,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0727ea2e8012d196500071ff1280040014526..."} 
[2026-09-05 22:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727ea2e8012d196500071ff1280040014526..."} 
[2026-09-05 22:25:55] local.INFO: Processing buffer {"connection_id":171974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727ea2e8012d196500071ff1280040014526..."} 
[2026-09-05 22:25:55] local.INFO: Packet analysis {"connection_id":171974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727e"} 
[2026-09-05 22:25:55] local.INFO: Extracted packet for processing {"connection_id":171974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727e"} 
[2026-09-05 22:25:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888510976001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788627297000,"timestamp_ms":1788627297000,"timestamp_seconds":1788627297,"priority":1,"record_length":96,"hex_timestamp":"000001a0727ea2e8"} 
[2026-09-05 22:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:25:55] 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-09-05 22:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 22:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:25:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888510976001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888510976001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:25:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:25:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888510976001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":171974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:25:55] local.INFO: GPS data processed {"connection_id":171974,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:25:55] local.INFO: Acknowledgment sent {"connection_id":171974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:25:56] local.INFO: TCP Data received {"connection_id":171975,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:25:56] local.INFO: Processing buffer {"connection_id":171975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:25:56] local.INFO: IMEI packet received {"connection_id":171975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":171975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:25:57] local.INFO: TCP Data received {"connection_id":171975,"ip":"117.224.177.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:25:57] local.INFO: Processing buffer {"connection_id":171975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:25:57] local.INFO: IMEI packet received {"connection_id":171975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":171975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:25:58] local.INFO: TCP Data received {"connection_id":171975,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0727eba58012d7b358005f686400000000127..."} 
[2026-09-05 22:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727eba58012d7b358005f686400000000127..."} 
[2026-09-05 22:25:58] local.INFO: Processing buffer {"connection_id":171975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727eba58012d7b358005f686400000000127..."} 
[2026-09-05 22:25:58] local.INFO: Packet analysis {"connection_id":171975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727e"} 
[2026-09-05 22:25:58] local.INFO: Extracted packet for processing {"connection_id":171975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727e"} 
[2026-09-05 22:25:58] local.INFO: GPS Element Parsed {"raw_longitude":763049344,"raw_latitude":100042304,"longitude_deg":76.3049344,"latitude_deg":10.0042304,"altitude":0,"angle":1,"satellites":39,"speed":6,"hex_longitude":"2d7b3580","hex_latitude":"05f68640","is_valid_coordinates":true} 
[2026-09-05 22:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888586496001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399938730309189632,"note":"Value kept but may cause issues"} 
[2026-09-05 22:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877298578599000064,"note":"Value kept but may cause issues"} 
[2026-09-05 22:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788627303000,"timestamp_ms":1788627303000,"timestamp_seconds":1788627303,"priority":1,"record_length":96,"hex_timestamp":"000001a0727eba58"} 
[2026-09-05 22:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 22:25: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-09-05 22:25:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":171975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":171975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":171975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888586496001,"66":27397,"62":206,"8":64768,"24":6,"16":399938730309189632,"45":8877298578599000064},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,8,24,16,45]} 
[2026-09-05 22:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888586496001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:25:58] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-05 22:25:58] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-09-05 22:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399938730309189632,"km_value":399938730309189.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877298578599000064,"description":"Unknown IO ID 45"} 
[2026-09-05 22:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888586496001,"power":27397,"unknown_62":206,"unknown_8":64768,"ignition":6,"odometer":null,"unknown_45":8877298578599000064}} 
[2026-09-05 22:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":171975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:25:58] local.INFO: GPS data processed {"connection_id":171975,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:25:58] local.INFO: Acknowledgment sent {"connection_id":171975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:25:59] local.INFO: TCP Data received {"connection_id":171974,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0727ea2e8012d196500071ff1280040014526..."} 
[2026-09-05 22:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727ea2e8012d196500071ff1280040014526..."} 
[2026-09-05 22:25:59] local.INFO: Processing buffer {"connection_id":171974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727ea2e8012d196500071ff1280040014526..."} 
[2026-09-05 22:25:59] local.INFO: Packet analysis {"connection_id":171974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727e"} 
[2026-09-05 22:25:59] local.INFO: Extracted packet for processing {"connection_id":171974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727e"} 
[2026-09-05 22:25:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888510976001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788627297000,"timestamp_ms":1788627297000,"timestamp_seconds":1788627297,"priority":1,"record_length":96,"hex_timestamp":"000001a0727ea2e8"} 
[2026-09-05 22:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 22:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888510976001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888510976001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:25:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:25:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888510976001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":171974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:25:59] local.INFO: GPS data processed {"connection_id":171974,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:25:59] local.INFO: Acknowledgment sent {"connection_id":171974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:26:16] local.INFO: TCP Data received {"connection_id":174666,"ip":"117.224.148.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174666,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:26:16] local.INFO: Processing buffer {"connection_id":174666,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:26:16] local.INFO: IMEI packet received {"connection_id":174666,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 22:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":174666,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:26:18] local.INFO: TCP Data received {"connection_id":174666,"ip":"117.224.148.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174666,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:26:18] local.INFO: Processing buffer {"connection_id":174666,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:26:18] local.INFO: IMEI packet received {"connection_id":174666,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 22:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":174666,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:26:23] local.INFO: TCP Data received {"connection_id":174666,"ip":"117.224.148.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174666,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:26:23] local.INFO: Processing buffer {"connection_id":174666,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:26:23] local.INFO: IMEI packet received {"connection_id":174666,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 22:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":174666,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:26:24] local.INFO: TCP Data received {"connection_id":174666,"ip":"117.224.148.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0727dfed8012cb25d40090ea980022b001929..."} 
[2026-09-05 22:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727dfed8012cb25d40090ea980022b001929..."} 
[2026-09-05 22:26:24] local.INFO: Processing buffer {"connection_id":174666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727dfed8012cb25d40090ea980022b001929..."} 
[2026-09-05 22:26:24] local.INFO: Packet analysis {"connection_id":174666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727d"} 
[2026-09-05 22:26:24] local.INFO: Extracted packet for processing {"connection_id":174666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727d"} 
[2026-09-05 22:26:24] local.INFO: GPS Element Parsed {"raw_longitude":749886784,"raw_latitude":151955840,"longitude_deg":74.9886784,"latitude_deg":15.195584,"altitude":555,"angle":25,"satellites":41,"speed":43,"hex_longitude":"2cb25d40","hex_latitude":"090ea980","is_valid_coordinates":true} 
[2026-09-05 22:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888574976001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1941003095244800,"note":"Value kept but may cause issues"} 
[2026-09-05 22:26:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5599733516527435774,"note":"Value kept but may cause issues"} 
[2026-09-05 22:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788627255000,"timestamp_ms":1788627255000,"timestamp_seconds":1788627255,"priority":1,"record_length":96,"hex_timestamp":"000001a0727dfed8"} 
[2026-09-05 22:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-05 22:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174666,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174666,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.148.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888574976001,"66":27550,"133":206,"9":54784,"24":43,"16":1941003095244800,"44":-5599733516527435774},"client_ip":"117.224.148.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,44]} 
[2026-09-05 22:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888574976001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:26:24] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-05 22:26:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1941003095244800,"km_value":1941003095244.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:26:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5599733516527435774,"description":"Unknown IO ID 44"} 
[2026-09-05 22:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888574976001,"power":27550,"unknown_133":206,"unknown_9":54784,"ignition":43,"odometer":null,"unknown_44":-5599733516527435774}} 
[2026-09-05 22:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":174666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771617,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:26:25] local.INFO: GPS data processed {"connection_id":174666,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:26:25] local.INFO: Acknowledgment sent {"connection_id":174666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:26:42] local.INFO: TCP Data received {"connection_id":171975,"ip":"117.224.177.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0727ec610012d7b358005f689300000000c29..."} 
[2026-09-05 22:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727ec610012d7b358005f689300000000c29..."} 
[2026-09-05 22:26:42] local.INFO: Processing buffer {"connection_id":171975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727ec610012d7b358005f689300000000c29..."} 
[2026-09-05 22:26:42] local.INFO: Packet analysis {"connection_id":171975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727e"} 
[2026-09-05 22:26:42] local.INFO: Extracted packet for processing {"connection_id":171975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727e"} 
[2026-09-05 22:26:42] local.INFO: GPS Element Parsed {"raw_longitude":763049344,"raw_latitude":100043056,"longitude_deg":76.3049344,"latitude_deg":10.0043056,"altitude":0,"angle":12,"satellites":41,"speed":11,"hex_longitude":"2d7b3580","hex_latitude":"05f68930","is_valid_coordinates":true} 
[2026-09-05 22: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-09-05 22:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888589568001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399938764668928000,"note":"Value kept but may cause issues"} 
[2026-09-05 22:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878143003529986048,"note":"Value kept but may cause issues"} 
[2026-09-05 22:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788627306000,"timestamp_ms":1788627306000,"timestamp_seconds":1788627306,"priority":1,"record_length":96,"hex_timestamp":"000001a0727ec610"} 
[2026-09-05 22:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:26: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-09-05 22: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-05 22:26: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-09-05 22: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-09-05 22:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":171975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":171975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":171975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.177.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888589568001,"66":27300,"62":206,"8":64768,"24":11,"16":399938764668928000,"45":8878143003529986048},"client_ip":"117.224.177.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,8,24,16,45]} 
[2026-09-05 22:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888589568001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:26:42] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-05 22:26:42] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-09-05 22:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399938764668928000,"km_value":399938764668928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878143003529986048,"description":"Unknown IO ID 45"} 
[2026-09-05 22:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888589568001,"power":27300,"unknown_62":206,"unknown_8":64768,"ignition":11,"odometer":null,"unknown_45":8878143003529986048}} 
[2026-09-05 22:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":171975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:26:42] local.INFO: GPS data processed {"connection_id":171975,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:26:42] local.INFO: Acknowledgment sent {"connection_id":171975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:26:44] local.INFO: TCP Data received {"connection_id":171976,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:26:44] local.INFO: Processing buffer {"connection_id":171976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:26:44] local.INFO: IMEI packet received {"connection_id":171976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":171976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:26:49] local.INFO: TCP Data received {"connection_id":171976,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:26:49] local.INFO: Processing buffer {"connection_id":171976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:26:49] local.INFO: IMEI packet received {"connection_id":171976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":171976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:26:50] local.INFO: TCP Data received {"connection_id":171976,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0727ea2e8012d196500071ff1280040014526..."} 
[2026-09-05 22:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727ea2e8012d196500071ff1280040014526..."} 
[2026-09-05 22:26:50] local.INFO: Processing buffer {"connection_id":171976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727ea2e8012d196500071ff1280040014526..."} 
[2026-09-05 22:26:50] local.INFO: Packet analysis {"connection_id":171976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727e"} 
[2026-09-05 22:26:50] local.INFO: Extracted packet for processing {"connection_id":171976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727e"} 
[2026-09-05 22:26:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888510976001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788627297000,"timestamp_ms":1788627297000,"timestamp_seconds":1788627297,"priority":1,"record_length":96,"hex_timestamp":"000001a0727ea2e8"} 
[2026-09-05 22:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:26:50] 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-09-05 22:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 22:26:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:26:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888510976001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888510976001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:26:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:26:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888510976001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":171976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:26:50] local.INFO: GPS data processed {"connection_id":171976,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:26:50] local.INFO: Acknowledgment sent {"connection_id":171976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:26:59] local.INFO: TCP Data received {"connection_id":174666,"ip":"117.224.148.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0727f9ce8012cb39d40091016800221002e28..."} 
[2026-09-05 22:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727f9ce8012cb39d40091016800221002e28..."} 
[2026-09-05 22:26:59] local.INFO: Processing buffer {"connection_id":174666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727f9ce8012cb39d40091016800221002e28..."} 
[2026-09-05 22:26:59] local.INFO: Packet analysis {"connection_id":174666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727f"} 
[2026-09-05 22:26:59] local.INFO: Extracted packet for processing {"connection_id":174666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727f"} 
[2026-09-05 22:26:59] local.INFO: GPS Element Parsed {"raw_longitude":749968704,"raw_latitude":152049280,"longitude_deg":74.9968704,"latitude_deg":15.204928,"altitude":545,"angle":46,"satellites":40,"speed":50,"hex_longitude":"2cb39d40","hex_latitude":"09101680","is_valid_coordinates":true} 
[2026-09-05 22:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888602368001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1947024639393792,"note":"Value kept but may cause issues"} 
[2026-09-05 22:26:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5512476273722810366,"note":"Value kept but may cause issues"} 
[2026-09-05 22:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788627361000,"timestamp_ms":1788627361000,"timestamp_seconds":1788627361,"priority":1,"record_length":96,"hex_timestamp":"000001a0727f9ce8"} 
[2026-09-05 22:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-05 22:26:59] 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-09-05 22:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174666,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174666,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.148.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888602368001,"66":27517,"212":206,"9":54784,"24":50,"16":1947024639393792,"44":-5512476273722810366},"client_ip":"117.224.148.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-05 22:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888602368001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:26:59] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-05 22:26:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1947024639393792,"km_value":1947024639393.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:26:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5512476273722810366,"description":"Unknown IO ID 44"} 
[2026-09-05 22:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888602368001,"power":27517,"unknown_212":206,"unknown_9":54784,"ignition":50,"odometer":null,"unknown_44":-5512476273722810366}} 
[2026-09-05 22:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":174666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771620,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:26:59] local.INFO: GPS data processed {"connection_id":174666,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:26:59] local.INFO: Acknowledgment sent {"connection_id":174666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:27:13] local.INFO: TCP Data received {"connection_id":174667,"ip":"117.224.148.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174667,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:27:13] local.INFO: Processing buffer {"connection_id":174667,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:27:13] local.INFO: IMEI packet received {"connection_id":174667,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 22:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":174667,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:27:16] local.INFO: TCP Data received {"connection_id":174667,"ip":"117.224.148.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174667,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:27:16] local.INFO: Processing buffer {"connection_id":174667,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:27:16] local.INFO: IMEI packet received {"connection_id":174667,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 22:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":174667,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:27:21] local.INFO: TCP Data received {"connection_id":171976,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0727ea2e8012d196500071ff1280040014526..."} 
[2026-09-05 22:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727ea2e8012d196500071ff1280040014526..."} 
[2026-09-05 22:27:21] local.INFO: Processing buffer {"connection_id":171976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727ea2e8012d196500071ff1280040014526..."} 
[2026-09-05 22:27:21] local.INFO: Packet analysis {"connection_id":171976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727e"} 
[2026-09-05 22:27:21] local.INFO: Extracted packet for processing {"connection_id":171976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727e"} 
[2026-09-05 22:27:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888510976001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788627297000,"timestamp_ms":1788627297000,"timestamp_seconds":1788627297,"priority":1,"record_length":96,"hex_timestamp":"000001a0727ea2e8"} 
[2026-09-05 22:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:27:21] 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-09-05 22:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 22:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888510976001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888510976001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:27:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:27:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888510976001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":171976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:27:21] local.INFO: GPS data processed {"connection_id":171976,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:27:21] local.INFO: Acknowledgment sent {"connection_id":171976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:27:23] local.INFO: TCP Data received {"connection_id":174667,"ip":"117.224.148.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174667,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:27:23] local.INFO: Processing buffer {"connection_id":174667,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:27:23] local.INFO: IMEI packet received {"connection_id":174667,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 22:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":174667,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:27:25] local.INFO: TCP Data received {"connection_id":174667,"ip":"117.224.148.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0727fbc28012cb3ba8009103010021e003128..."} 
[2026-09-05 22:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727fbc28012cb3ba8009103010021e003128..."} 
[2026-09-05 22:27:25] local.INFO: Processing buffer {"connection_id":174667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727fbc28012cb3ba8009103010021e003128..."} 
[2026-09-05 22:27:25] local.INFO: Packet analysis {"connection_id":174667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727f"} 
[2026-09-05 22:27:25] local.INFO: Extracted packet for processing {"connection_id":174667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727f"} 
[2026-09-05 22:27:25] local.INFO: GPS Element Parsed {"raw_longitude":749976192,"raw_latitude":152055824,"longitude_deg":74.9976192,"latitude_deg":15.2055824,"altitude":542,"angle":49,"satellites":40,"speed":48,"hex_longitude":"2cb3ba80","hex_latitude":"09103010","is_valid_coordinates":true} 
[2026-09-05 22:27: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-09-05 22:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888604416001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1947497085796352,"note":"Value kept but may cause issues"} 
[2026-09-05 22:27:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5504172761908084734,"note":"Value kept but may cause issues"} 
[2026-09-05 22:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788627369000,"timestamp_ms":1788627369000,"timestamp_seconds":1788627369,"priority":1,"record_length":96,"hex_timestamp":"000001a0727fbc28"} 
[2026-09-05 22:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 22:27:25] 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-09-05 22:27: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-09-05 22:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.148.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888604416001,"66":27517,"212":206,"9":54784,"24":48,"16":1947497085796352,"44":-5504172761908084734},"client_ip":"117.224.148.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-05 22:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888604416001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:27:25] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-05 22:27:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1947497085796352,"km_value":1947497085796.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:27:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5504172761908084734,"description":"Unknown IO ID 44"} 
[2026-09-05 22:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888604416001,"power":27517,"unknown_212":206,"unknown_9":54784,"ignition":48,"odometer":null,"unknown_44":-5504172761908084734}} 
[2026-09-05 22:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":174667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771622,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:27:25] local.INFO: GPS data processed {"connection_id":174667,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:27:25] local.INFO: Acknowledgment sent {"connection_id":174667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:27:44] local.INFO: TCP Data received {"connection_id":174668,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:27:44] local.INFO: Processing buffer {"connection_id":174668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:27:44] local.INFO: IMEI packet received {"connection_id":174668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":174668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:27:49] local.INFO: TCP Data received {"connection_id":174668,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:27:49] local.INFO: Processing buffer {"connection_id":174668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:27:49] local.INFO: IMEI packet received {"connection_id":174668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":174668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:27:49] local.INFO: TCP Data received {"connection_id":174668,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0727ea2e8012d196500071ff1280040014526..."} 
[2026-09-05 22:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727ea2e8012d196500071ff1280040014526..."} 
[2026-09-05 22:27:49] local.INFO: Processing buffer {"connection_id":174668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727ea2e8012d196500071ff1280040014526..."} 
[2026-09-05 22:27:49] local.INFO: Packet analysis {"connection_id":174668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727e"} 
[2026-09-05 22:27:49] local.INFO: Extracted packet for processing {"connection_id":174668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727e"} 
[2026-09-05 22:27:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888510976001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788627297000,"timestamp_ms":1788627297000,"timestamp_seconds":1788627297,"priority":1,"record_length":96,"hex_timestamp":"000001a0727ea2e8"} 
[2026-09-05 22:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 22:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888510976001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888510976001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:27:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:27:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888510976001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:27:50] local.INFO: DEBUG: GPS processor result {"connection_id":174668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:27:50] local.INFO: GPS data processed {"connection_id":174668,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:27:50] local.INFO: Acknowledgment sent {"connection_id":174668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:28:01] local.INFO: TCP Data received {"connection_id":174667,"ip":"117.224.148.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0727fdb68012cb3d900091048e00219003129..."} 
[2026-09-05 22:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727fdb68012cb3d900091048e00219003129..."} 
[2026-09-05 22:28:01] local.INFO: Processing buffer {"connection_id":174667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727fdb68012cb3d900091048e00219003129..."} 
[2026-09-05 22:28:01] local.INFO: Packet analysis {"connection_id":174667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727f"} 
[2026-09-05 22:28:01] local.INFO: Extracted packet for processing {"connection_id":174667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727f"} 
[2026-09-05 22:28:01] local.INFO: GPS Element Parsed {"raw_longitude":749984000,"raw_latitude":152062176,"longitude_deg":74.9984,"latitude_deg":15.2062176,"altitude":537,"angle":49,"satellites":41,"speed":47,"hex_longitude":"2cb3d900","hex_latitude":"091048e0","is_valid_coordinates":true} 
[2026-09-05 22:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888606464001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1947973827166208,"note":"Value kept but may cause issues"} 
[2026-09-05 22:28:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5495939618837622782,"note":"Value kept but may cause issues"} 
[2026-09-05 22:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788627377000,"timestamp_ms":1788627377000,"timestamp_seconds":1788627377,"priority":1,"record_length":96,"hex_timestamp":"000001a0727fdb68"} 
[2026-09-05 22:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 22:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.148.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888606464001,"66":27691,"212":206,"9":54784,"24":47,"16":1947973827166208,"44":-5495939618837622782},"client_ip":"117.224.148.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-05 22:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888606464001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:28:01] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-05 22:28:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1947973827166208,"km_value":1947973827166.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:28:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5495939618837622782,"description":"Unknown IO ID 44"} 
[2026-09-05 22:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888606464001,"power":27691,"unknown_212":206,"unknown_9":54784,"ignition":47,"odometer":null,"unknown_44":-5495939618837622782}} 
[2026-09-05 22:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":174667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771624,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:28:01] local.INFO: GPS data processed {"connection_id":174667,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:28:01] local.INFO: Acknowledgment sent {"connection_id":174667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:28:18] local.INFO: TCP Data received {"connection_id":172227,"ip":"117.224.148.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172227,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:28:18] local.INFO: Processing buffer {"connection_id":172227,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:28:18] local.INFO: IMEI packet received {"connection_id":172227,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 22:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":172227,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:28:21] local.INFO: TCP Data received {"connection_id":174668,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0727ea2e8012d196500071ff1280040014526..."} 
[2026-09-05 22:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727ea2e8012d196500071ff1280040014526..."} 
[2026-09-05 22:28:21] local.INFO: Processing buffer {"connection_id":174668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727ea2e8012d196500071ff1280040014526..."} 
[2026-09-05 22:28:21] local.INFO: Packet analysis {"connection_id":174668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727e"} 
[2026-09-05 22:28:21] local.INFO: Extracted packet for processing {"connection_id":174668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727e"} 
[2026-09-05 22:28:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22: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-09-05 22:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888510976001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788627297000,"timestamp_ms":1788627297000,"timestamp_seconds":1788627297,"priority":1,"record_length":96,"hex_timestamp":"000001a0727ea2e8"} 
[2026-09-05 22:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:28:21] 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-09-05 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 22:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22: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-09-05 22:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888510976001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888510976001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:28:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:28:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888510976001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":174668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:28:21] local.INFO: GPS data processed {"connection_id":174668,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:28:21] local.INFO: Acknowledgment sent {"connection_id":174668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:28:23] local.INFO: TCP Data received {"connection_id":172227,"ip":"117.224.148.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172227,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:28:23] local.INFO: Processing buffer {"connection_id":172227,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:28:23] local.INFO: IMEI packet received {"connection_id":172227,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 22:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":172227,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:28:24] local.INFO: TCP Data received {"connection_id":172227,"ip":"117.224.148.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0727ffe90012cb3f700091060d00218003329..."} 
[2026-09-05 22:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727ffe90012cb3f700091060d00218003329..."} 
[2026-09-05 22:28:24] local.INFO: Processing buffer {"connection_id":172227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727ffe90012cb3f700091060d00218003329..."} 
[2026-09-05 22:28:24] local.INFO: Packet analysis {"connection_id":172227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727f"} 
[2026-09-05 22:28:24] local.INFO: Extracted packet for processing {"connection_id":172227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727f"} 
[2026-09-05 22:28:24] local.INFO: GPS Element Parsed {"raw_longitude":749991680,"raw_latitude":152068304,"longitude_deg":74.999168,"latitude_deg":15.2068304,"altitude":536,"angle":51,"satellites":41,"speed":32,"hex_longitude":"2cb3f700","hex_latitude":"091060d0","is_valid_coordinates":true} 
[2026-09-05 22:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888608512001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1948441978601472,"note":"Value kept but may cause issues"} 
[2026-09-05 22:28:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5487354632046321662,"note":"Value kept but may cause issues"} 
[2026-09-05 22:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788627386000,"timestamp_ms":1788627386000,"timestamp_seconds":1788627386,"priority":1,"record_length":96,"hex_timestamp":"000001a0727ffe90"} 
[2026-09-05 22:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-05 22:28:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172227,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172227,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.148.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888608512001,"66":27767,"212":206,"9":54784,"24":32,"16":1948441978601472,"44":-5487354632046321662},"client_ip":"117.224.148.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-05 22:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888608512001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:28:24] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-05 22:28:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1948441978601472,"km_value":1948441978601.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:28:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5487354632046321662,"description":"Unknown IO ID 44"} 
[2026-09-05 22:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888608512001,"power":27767,"unknown_212":206,"unknown_9":54784,"ignition":32,"odometer":null,"unknown_44":-5487354632046321662}} 
[2026-09-05 22:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":172227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771626,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:28:24] local.INFO: GPS data processed {"connection_id":172227,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:28:24] local.INFO: Acknowledgment sent {"connection_id":172227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:28:29] local.INFO: TCP Data received {"connection_id":172227,"ip":"117.224.148.37","data_length":795,"data_hex":"000000000000030f8e0a000001a072802988012cb4144009107810021900332a..."} 
[2026-09-05 22:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072802988012cb4144009107810021900332a..."} 
[2026-09-05 22:28:29] local.INFO: Processing buffer {"connection_id":172227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072802988012cb4144009107810021900332a..."} 
[2026-09-05 22:28:29] local.INFO: Packet analysis {"connection_id":172227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07280"} 
[2026-09-05 22:28:29] local.INFO: Extracted packet for processing {"connection_id":172227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07280"} 
[2026-09-05 22:28:29] local.INFO: GPS Element Parsed {"raw_longitude":749999168,"raw_latitude":152074256,"longitude_deg":74.9999168,"latitude_deg":15.2074256,"altitude":537,"angle":51,"satellites":42,"speed":37,"hex_longitude":"2cb41440","hex_latitude":"09107810","is_valid_coordinates":true} 
[2026-09-05 22:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888610816001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1948897245134848,"note":"Value kept but may cause issues"} 
[2026-09-05 22:28:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5478910382743433214,"note":"Value kept but may cause issues"} 
[2026-09-05 22:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788627397000,"timestamp_ms":1788627397000,"timestamp_seconds":1788627397,"priority":1,"record_length":96,"hex_timestamp":"000001a072802988"} 
[2026-09-05 22:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 22:28:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:28:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172227,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172227,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.148.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888610816001,"66":27517,"212":206,"9":54784,"24":37,"16":1948897245134848,"44":-5478910382743433214},"client_ip":"117.224.148.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-05 22:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888610816001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:28:29] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-05 22:28:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1948897245134848,"km_value":1948897245134.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:28:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5478910382743433214,"description":"Unknown IO ID 44"} 
[2026-09-05 22:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888610816001,"power":27517,"unknown_212":206,"unknown_9":54784,"ignition":37,"odometer":null,"unknown_44":-5478910382743433214}} 
[2026-09-05 22:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":172227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771627,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:28:29] local.INFO: GPS data processed {"connection_id":172227,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:28:29] local.INFO: Acknowledgment sent {"connection_id":172227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:28:43] local.INFO: TCP Data received {"connection_id":173336,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:28:43] local.INFO: Processing buffer {"connection_id":173336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:28:43] local.INFO: IMEI packet received {"connection_id":173336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":173336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:28:49] local.INFO: TCP Data received {"connection_id":173336,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:28:49] local.INFO: Processing buffer {"connection_id":173336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:28:49] local.INFO: IMEI packet received {"connection_id":173336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":173336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:28:49] local.INFO: TCP Data received {"connection_id":173336,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0727ea2e8012d196500071ff1280040014526..."} 
[2026-09-05 22:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727ea2e8012d196500071ff1280040014526..."} 
[2026-09-05 22:28:49] local.INFO: Processing buffer {"connection_id":173336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727ea2e8012d196500071ff1280040014526..."} 
[2026-09-05 22:28:49] local.INFO: Packet analysis {"connection_id":173336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727e"} 
[2026-09-05 22:28:49] local.INFO: Extracted packet for processing {"connection_id":173336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727e"} 
[2026-09-05 22:28:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888510976001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788627297000,"timestamp_ms":1788627297000,"timestamp_seconds":1788627297,"priority":1,"record_length":96,"hex_timestamp":"000001a0727ea2e8"} 
[2026-09-05 22:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 22:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888510976001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888510976001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:28:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:28:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888510976001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":173336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:28:50] local.INFO: GPS data processed {"connection_id":173336,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:28:50] local.INFO: Acknowledgment sent {"connection_id":173336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:29:13] local.INFO: TCP Data received {"connection_id":171977,"ip":"117.224.148.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171977,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:29:13] local.INFO: Processing buffer {"connection_id":171977,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:29:13] local.INFO: IMEI packet received {"connection_id":171977,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 22:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":171977,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:29:18] local.INFO: TCP Data received {"connection_id":171977,"ip":"117.224.148.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171977,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:29:18] local.INFO: Processing buffer {"connection_id":171977,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:29:18] local.INFO: IMEI packet received {"connection_id":171977,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 22:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":171977,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:29:19] local.INFO: TCP Data received {"connection_id":171977,"ip":"117.224.148.37","data_length":795,"data_hex":"000000000000030f8e0a000001a072804cb0012cb4300009109020021900292a..."} 
[2026-09-05 22:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072804cb0012cb4300009109020021900292a..."} 
[2026-09-05 22:29:19] local.INFO: Processing buffer {"connection_id":171977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072804cb0012cb4300009109020021900292a..."} 
[2026-09-05 22:29:19] local.INFO: Packet analysis {"connection_id":171977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07280"} 
[2026-09-05 22:29:19] local.INFO: Extracted packet for processing {"connection_id":171977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07280"} 
[2026-09-05 22:29:19] local.INFO: GPS Element Parsed {"raw_longitude":750006272,"raw_latitude":152080416,"longitude_deg":75.0006272,"latitude_deg":15.2080416,"altitude":537,"angle":41,"satellites":42,"speed":43,"hex_longitude":"2cb43000","hex_latitude":"09109020","is_valid_coordinates":true} 
[2026-09-05 22:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888613632001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1949343921733632,"note":"Value kept but may cause issues"} 
[2026-09-05 22:29:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5470677239673122814,"note":"Value kept but may cause issues"} 
[2026-09-05 22:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788627406000,"timestamp_ms":1788627406000,"timestamp_seconds":1788627406,"priority":1,"record_length":96,"hex_timestamp":"000001a072804cb0"} 
[2026-09-05 22:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 22:29:19] 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-09-05 22:29:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":171977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":171977,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":171977,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.148.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888613632001,"66":27517,"212":206,"9":54784,"24":43,"16":1949343921733632,"44":-5470677239673122814},"client_ip":"117.224.148.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-05 22:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888613632001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:29:19] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-05 22:29:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1949343921733632,"km_value":1949343921733.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:29:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5470677239673122814,"description":"Unknown IO ID 44"} 
[2026-09-05 22:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888613632001,"power":27517,"unknown_212":206,"unknown_9":54784,"ignition":43,"odometer":null,"unknown_44":-5470677239673122814}} 
[2026-09-05 22:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":171977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771629,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:29:19] local.INFO: GPS data processed {"connection_id":171977,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:29:19] local.INFO: Acknowledgment sent {"connection_id":171977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:29:21] local.INFO: TCP Data received {"connection_id":173336,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0727ea2e8012d196500071ff1280040014526..."} 
[2026-09-05 22:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727ea2e8012d196500071ff1280040014526..."} 
[2026-09-05 22:29:21] local.INFO: Processing buffer {"connection_id":173336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727ea2e8012d196500071ff1280040014526..."} 
[2026-09-05 22:29:21] local.INFO: Packet analysis {"connection_id":173336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727e"} 
[2026-09-05 22:29:21] local.INFO: Extracted packet for processing {"connection_id":173336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727e"} 
[2026-09-05 22:29:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888510976001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788627297000,"timestamp_ms":1788627297000,"timestamp_seconds":1788627297,"priority":1,"record_length":96,"hex_timestamp":"000001a0727ea2e8"} 
[2026-09-05 22:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:29:21] 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-09-05 22:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 22:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888510976001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888510976001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:29:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:29:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888510976001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":173336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:29:21] local.INFO: GPS data processed {"connection_id":173336,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:29:21] local.INFO: Acknowledgment sent {"connection_id":173336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:29:43] local.INFO: TCP Data received {"connection_id":174669,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:29:43] local.INFO: Processing buffer {"connection_id":174669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:29:43] local.INFO: IMEI packet received {"connection_id":174669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":174669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:29:49] local.INFO: TCP Data received {"connection_id":174669,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:29:49] local.INFO: Processing buffer {"connection_id":174669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:29:49] local.INFO: IMEI packet received {"connection_id":174669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":174669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:29:49] local.INFO: TCP Data received {"connection_id":174669,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0727ea2e8012d196500071ff1280040014526..."} 
[2026-09-05 22:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727ea2e8012d196500071ff1280040014526..."} 
[2026-09-05 22:29:49] local.INFO: Processing buffer {"connection_id":174669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727ea2e8012d196500071ff1280040014526..."} 
[2026-09-05 22:29:49] local.INFO: Packet analysis {"connection_id":174669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727e"} 
[2026-09-05 22:29:49] local.INFO: Extracted packet for processing {"connection_id":174669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727e"} 
[2026-09-05 22:29:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22: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-09-05 22:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888510976001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788627297000,"timestamp_ms":1788627297000,"timestamp_seconds":1788627297,"priority":1,"record_length":96,"hex_timestamp":"000001a0727ea2e8"} 
[2026-09-05 22:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22: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":107,"data_length":795,"current_offset":136} 
[2026-09-05 22:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22: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-09-05 22:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888510976001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888510976001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:29:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:29:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888510976001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":174669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:29:50] local.INFO: GPS data processed {"connection_id":174669,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:29:50] local.INFO: Acknowledgment sent {"connection_id":174669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:29:51] local.INFO: TCP Data received {"connection_id":171977,"ip":"117.224.148.37","data_length":795,"data_hex":"000000000000030f8e0a000001a072822940012cb479000911fb40021e016626..."} 
[2026-09-05 22:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072822940012cb479000911fb40021e016626..."} 
[2026-09-05 22:29:51] local.INFO: Processing buffer {"connection_id":171977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072822940012cb479000911fb40021e016626..."} 
[2026-09-05 22:29:51] local.INFO: Packet analysis {"connection_id":171977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07282"} 
[2026-09-05 22:29:51] local.INFO: Extracted packet for processing {"connection_id":171977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07282"} 
[2026-09-05 22:29:51] local.INFO: GPS Element Parsed {"raw_longitude":750024960,"raw_latitude":152173376,"longitude_deg":75.002496,"latitude_deg":15.2173376,"altitude":542,"angle":358,"satellites":38,"speed":45,"hex_longitude":"2cb47900","hex_latitude":"0911fb40","is_valid_coordinates":true} 
[2026-09-05 22:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888645120001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1954059795824640,"note":"Value kept but may cause issues"} 
[2026-09-05 22:29:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5442248267002241022,"note":"Value kept but may cause issues"} 
[2026-09-05 22:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788627528000,"timestamp_ms":1788627528000,"timestamp_seconds":1788627528,"priority":1,"record_length":96,"hex_timestamp":"000001a072822940"} 
[2026-09-05 22:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 22:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:29:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":171977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":171977,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":171977,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.148.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888645120001,"66":27604,"212":206,"9":54784,"24":45,"16":1954059795824640,"44":-5442248267002241022},"client_ip":"117.224.148.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-05 22:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888645120001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:29:51] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-05 22:29:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1954059795824640,"km_value":1954059795824.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:29:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5442248267002241022,"description":"Unknown IO ID 44"} 
[2026-09-05 22:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888645120001,"power":27604,"unknown_212":206,"unknown_9":54784,"ignition":45,"odometer":null,"unknown_44":-5442248267002241022}} 
[2026-09-05 22:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":171977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771632,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:29:51] local.INFO: GPS data processed {"connection_id":171977,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:29:51] local.INFO: Acknowledgment sent {"connection_id":171977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:30:05] local.INFO: TCP Data received {"connection_id":172228,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:30:05] local.INFO: Processing buffer {"connection_id":172228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:30:05] local.INFO: IMEI packet received {"connection_id":172228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":172228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:30:07] local.INFO: TCP Data received {"connection_id":172228,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:30:07] local.INFO: Processing buffer {"connection_id":172228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:30:07] local.INFO: IMEI packet received {"connection_id":172228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":172228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:30:10] local.INFO: TCP Data received {"connection_id":172228,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:30:10] local.INFO: Processing buffer {"connection_id":172228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:30:10] local.INFO: IMEI packet received {"connection_id":172228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":172228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:30:13] local.INFO: TCP Data received {"connection_id":171978,"ip":"117.224.148.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:30:13] local.INFO: Processing buffer {"connection_id":171978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:30:13] local.INFO: IMEI packet received {"connection_id":171978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 22:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":171978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:30:15] local.INFO: TCP Data received {"connection_id":172228,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:30:15] local.INFO: Processing buffer {"connection_id":172228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:30:15] local.INFO: IMEI packet received {"connection_id":172228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":172228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:30:16] local.INFO: TCP Data received {"connection_id":172228,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072818530012d7b358005f8d5180016002524..."} 
[2026-09-05 22:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072818530012d7b358005f8d5180016002524..."} 
[2026-09-05 22:30:16] local.INFO: Processing buffer {"connection_id":172228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072818530012d7b358005f8d5180016002524..."} 
[2026-09-05 22:30:16] local.INFO: Packet analysis {"connection_id":172228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07281"} 
[2026-09-05 22:30:16] local.INFO: Extracted packet for processing {"connection_id":172228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07281"} 
[2026-09-05 22:30:16] local.INFO: GPS Element Parsed {"raw_longitude":763049344,"raw_latitude":100193560,"longitude_deg":76.3049344,"latitude_deg":10.019356,"altitude":22,"angle":37,"satellites":36,"speed":46,"hex_longitude":"2d7b3580","hex_latitude":"05f8d518","is_valid_coordinates":true} 
[2026-09-05 22: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-09-05 22:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888634368001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399946749013131264,"note":"Value kept but may cause issues"} 
[2026-09-05 22:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871880185335242752,"note":"Value kept but may cause issues"} 
[2026-09-05 22:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788627486000,"timestamp_ms":1788627486000,"timestamp_seconds":1788627486,"priority":1,"record_length":96,"hex_timestamp":"000001a072818530"} 
[2026-09-05 22:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-05 22:30:16] 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-09-05 22: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-09-05 22:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":172228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":172228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":172228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888634368001,"66":27213,"142":206,"8":65024,"24":46,"16":399946749013131264,"45":8871880185335242752},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,8,24,16,45]} 
[2026-09-05 22:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888634368001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:30:16] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-05 22:30:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-09-05 22:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399946749013131264,"km_value":399946749013131.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871880185335242752,"description":"Unknown IO ID 45"} 
[2026-09-05 22:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888634368001,"power":27213,"unknown_142":206,"unknown_8":65024,"ignition":46,"odometer":null,"unknown_45":8871880185335242752}} 
[2026-09-05 22:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":172228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:30:16] local.INFO: GPS data processed {"connection_id":172228,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:30:16] local.INFO: Acknowledgment sent {"connection_id":172228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:30:20] local.INFO: TCP Data received {"connection_id":171978,"ip":"117.224.148.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:30:20] local.INFO: Processing buffer {"connection_id":171978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:30:20] local.INFO: IMEI packet received {"connection_id":171978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 22:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":171978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:30:21] local.INFO: TCP Data received {"connection_id":174669,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0727ea2e8012d196500071ff1280040014526..."} 
[2026-09-05 22:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0727ea2e8012d196500071ff1280040014526..."} 
[2026-09-05 22:30:21] local.INFO: Processing buffer {"connection_id":174669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0727ea2e8012d196500071ff1280040014526..."} 
[2026-09-05 22:30:21] local.INFO: Packet analysis {"connection_id":174669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0727e"} 
[2026-09-05 22:30:21] local.INFO: Extracted packet for processing {"connection_id":174669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0727e"} 
[2026-09-05 22:30:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888510976001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788627297000,"timestamp_ms":1788627297000,"timestamp_seconds":1788627297,"priority":1,"record_length":96,"hex_timestamp":"000001a0727ea2e8"} 
[2026-09-05 22:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:30:21] 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-09-05 22:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 22:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888510976001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888510976001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:30:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:30:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888510976001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:30:21] local.INFO: TCP Data received {"connection_id":171978,"ip":"117.224.148.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:30:21] local.INFO: Processing buffer {"connection_id":171978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:30:21] local.INFO: IMEI packet received {"connection_id":171978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 22:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":171978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":174669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:30:21] local.INFO: GPS data processed {"connection_id":174669,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:30:21] local.INFO: Acknowledgment sent {"connection_id":174669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:30:22] local.INFO: TCP Data received {"connection_id":171978,"ip":"117.224.148.37","data_length":795,"data_hex":"000000000000030f8e0a000001a072824880012cb4784009121ff0021e016729..."} 
[2026-09-05 22:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072824880012cb4784009121ff0021e016729..."} 
[2026-09-05 22:30:22] local.INFO: Processing buffer {"connection_id":171978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072824880012cb4784009121ff0021e016729..."} 
[2026-09-05 22:30:22] local.INFO: Packet analysis {"connection_id":171978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07282"} 
[2026-09-05 22:30:22] local.INFO: Extracted packet for processing {"connection_id":171978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07282"} 
[2026-09-05 22:30:22] local.INFO: GPS Element Parsed {"raw_longitude":750024768,"raw_latitude":152182768,"longitude_deg":75.0024768,"latitude_deg":15.2182768,"altitude":542,"angle":359,"satellites":41,"speed":48,"hex_longitude":"2cb47840","hex_latitude":"09121ff0","is_valid_coordinates":true} 
[2026-09-05 22:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888647168001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1954519357325312,"note":"Value kept but may cause issues"} 
[2026-09-05 22:30:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5442318635744149502,"note":"Value kept but may cause issues"} 
[2026-09-05 22:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788627536000,"timestamp_ms":1788627536000,"timestamp_seconds":1788627536,"priority":1,"record_length":96,"hex_timestamp":"000001a072824880"} 
[2026-09-05 22:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-05 22:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":171978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":171978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":171978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.148.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888647168001,"66":27484,"212":206,"9":54784,"24":48,"16":1954519357325312,"44":-5442318635744149502},"client_ip":"117.224.148.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-05 22:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888647168001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:30:22] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-05 22:30:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1954519357325312,"km_value":1954519357325.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:30:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5442318635744149502,"description":"Unknown IO ID 44"} 
[2026-09-05 22:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888647168001,"power":27484,"unknown_212":206,"unknown_9":54784,"ignition":48,"odometer":null,"unknown_44":-5442318635744149502}} 
[2026-09-05 22:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":171978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771635,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:30:22] local.INFO: GPS data processed {"connection_id":171978,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:30:22] local.INFO: Acknowledgment sent {"connection_id":171978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:30:23] local.INFO: TCP Data received {"connection_id":171978,"ip":"117.224.148.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0728267c0012cb4780009124580021e016626..."} 
[2026-09-05 22:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0728267c0012cb4780009124580021e016626..."} 
[2026-09-05 22:30:23] local.INFO: Processing buffer {"connection_id":171978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0728267c0012cb4780009124580021e016626..."} 
[2026-09-05 22:30:23] local.INFO: Packet analysis {"connection_id":171978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07282"} 
[2026-09-05 22:30:23] local.INFO: Extracted packet for processing {"connection_id":171978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07282"} 
[2026-09-05 22:30:23] local.INFO: GPS Element Parsed {"raw_longitude":750024704,"raw_latitude":152192384,"longitude_deg":75.0024704,"latitude_deg":15.2192384,"altitude":542,"angle":358,"satellites":38,"speed":48,"hex_longitude":"2cb47800","hex_latitude":"09124580","is_valid_coordinates":true} 
[2026-09-05 22:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888649216001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1954983213793280,"note":"Value kept but may cause issues"} 
[2026-09-05 22:30:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5442529741974278142,"note":"Value kept but may cause issues"} 
[2026-09-05 22:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788627544000,"timestamp_ms":1788627544000,"timestamp_seconds":1788627544,"priority":1,"record_length":96,"hex_timestamp":"000001a0728267c0"} 
[2026-09-05 22:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 22:30:23] 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-09-05 22:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.148.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888649216001,"66":27484,"212":206,"9":54784,"24":48,"16":1954983213793280,"44":-5442529741974278142},"client_ip":"117.224.148.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-05 22:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888649216001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:30:23] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-05 22:30:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1954983213793280,"km_value":1954983213793.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:30:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5442529741974278142,"description":"Unknown IO ID 44"} 
[2026-09-05 22:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888649216001,"power":27484,"unknown_212":206,"unknown_9":54784,"ignition":48,"odometer":null,"unknown_44":-5442529741974278142}} 
[2026-09-05 22:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":171978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771636,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:30:23] local.INFO: GPS data processed {"connection_id":171978,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:30:23] local.INFO: Acknowledgment sent {"connection_id":171978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:30:49] local.INFO: TCP Data received {"connection_id":173337,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:30:49] local.INFO: Processing buffer {"connection_id":173337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:30:49] local.INFO: IMEI packet received {"connection_id":173337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":173337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:30:49] local.INFO: TCP Data received {"connection_id":174670,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:30:49] local.INFO: Processing buffer {"connection_id":174670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:30:49] local.INFO: IMEI packet received {"connection_id":174670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":174670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:30:49] local.INFO: TCP Data received {"connection_id":174670,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:30:49] local.INFO: Processing buffer {"connection_id":174670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:30:49] local.INFO: IMEI packet received {"connection_id":174670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":174670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:30:54] local.INFO: TCP Data received {"connection_id":173337,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:30:54] local.INFO: Processing buffer {"connection_id":173337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:30:54] local.INFO: IMEI packet received {"connection_id":173337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":173337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:30:55] local.INFO: TCP Data received {"connection_id":174670,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:30:55] local.INFO: Processing buffer {"connection_id":174670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:30:55] local.INFO: IMEI packet received {"connection_id":174670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":174670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:30:55] local.INFO: TCP Data received {"connection_id":173337,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072833ab0012d196500071ff1280040014526..."} 
[2026-09-05 22:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072833ab0012d196500071ff1280040014526..."} 
[2026-09-05 22:30:55] local.INFO: TCP Data received {"connection_id":171978,"ip":"117.224.148.37","data_length":795,"data_hex":"000000000000030f8e0a000001a072828700012cb4778009126bc0021f016627..."} 
[2026-09-05 22:30:55] local.INFO: Processing buffer {"connection_id":173337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072833ab0012d196500071ff1280040014526..."} 
[2026-09-05 22:30:55] local.INFO: Packet analysis {"connection_id":173337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07283"} 
[2026-09-05 22:30:55] local.INFO: Extracted packet for processing {"connection_id":173337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07283"} 
[2026-09-05 22:30:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888588032001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788627598000,"timestamp_ms":1788627598000,"timestamp_seconds":1788627598,"priority":1,"record_length":96,"hex_timestamp":"000001a072833ab0"} 
[2026-09-05 22:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:30:55] 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-09-05 22:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 22:30:55] 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-09-05 22:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072828700012cb4778009126bc0021f016627..."} 
[2026-09-05 22:30:55] local.INFO: Processing buffer {"connection_id":171978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072828700012cb4778009126bc0021f016627..."} 
[2026-09-05 22:30:55] local.INFO: Packet analysis {"connection_id":171978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07282"} 
[2026-09-05 22:30:55] local.INFO: Extracted packet for processing {"connection_id":171978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07282"} 
[2026-09-05 22:30:55] local.INFO: GPS Element Parsed {"raw_longitude":750024576,"raw_latitude":152202176,"longitude_deg":75.0024576,"latitude_deg":15.2202176,"altitude":543,"angle":358,"satellites":39,"speed":49,"hex_longitude":"2cb47780","hex_latitude":"09126bc0","is_valid_coordinates":true} 
[2026-09-05 22:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888651264001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1955459955163136,"note":"Value kept but may cause issues"} 
[2026-09-05 22:30:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5442600110715994110,"note":"Value kept but may cause issues"} 
[2026-09-05 22:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788627552000,"timestamp_ms":1788627552000,"timestamp_seconds":1788627552,"priority":1,"record_length":96,"hex_timestamp":"000001a072828700"} 
[2026-09-05 22:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:30: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-09-05 22:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 22:30:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.148.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888588032001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888588032001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:30:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:30:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888588032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888651264001,"66":27484,"212":206,"9":54784,"24":49,"16":1955459955163136,"44":-5442600110715994110},"client_ip":"117.224.148.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-05 22:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888651264001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:30:55] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-05 22:30:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1955459955163136,"km_value":1955459955163.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:30:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5442600110715994110,"description":"Unknown IO ID 44"} 
[2026-09-05 22:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888651264001,"power":27484,"unknown_212":206,"unknown_9":54784,"ignition":49,"odometer":null,"unknown_44":-5442600110715994110}} 
[2026-09-05 22:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":173337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:30:55] local.INFO: GPS data processed {"connection_id":173337,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:30:55] local.INFO: Acknowledgment sent {"connection_id":173337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":171978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771638,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:30:55] local.INFO: GPS data processed {"connection_id":171978,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:30:55] local.INFO: Acknowledgment sent {"connection_id":171978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:30:56] local.INFO: TCP Data received {"connection_id":174670,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07282f848012d7b978005f9b3f8000b014223..."} 
[2026-09-05 22:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07282f848012d7b978005f9b3f8000b014223..."} 
[2026-09-05 22:30:56] local.INFO: Processing buffer {"connection_id":174670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07282f848012d7b978005f9b3f8000b014223..."} 
[2026-09-05 22:30:56] local.INFO: Packet analysis {"connection_id":174670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07282"} 
[2026-09-05 22:30:56] local.INFO: Extracted packet for processing {"connection_id":174670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07282"} 
[2026-09-05 22:30:56] local.INFO: GPS Element Parsed {"raw_longitude":763074432,"raw_latitude":100250616,"longitude_deg":76.3074432,"latitude_deg":10.0250616,"altitude":11,"angle":322,"satellites":35,"speed":26,"hex_longitude":"2d7b9780","hex_latitude":"05f9b3f8","is_valid_coordinates":true} 
[2026-09-05 22:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888659968001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399949884339257344,"note":"Value kept but may cause issues"} 
[2026-09-05 22:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906712713719060480,"note":"Value kept but may cause issues"} 
[2026-09-05 22:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788627581000,"timestamp_ms":1788627581000,"timestamp_seconds":1788627581,"priority":1,"record_length":96,"hex_timestamp":"000001a07282f848"} 
[2026-09-05 22:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-05 22:30:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:30:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888659968001,"66":27343,"14":206,"87":10752,"24":26,"16":399949884339257344,"45":8906712713719060480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,87,24,16,45]} 
[2026-09-05 22:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888659968001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:30:56] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-05 22:30:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 22:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399949884339257344,"km_value":399949884339257.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906712713719060480,"description":"Unknown IO ID 45"} 
[2026-09-05 22:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888659968001,"power":27343,"unknown_14":206,"unknown_87":10752,"ignition":26,"odometer":null,"unknown_45":8906712713719060480}} 
[2026-09-05 22:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":174670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:30:56] local.INFO: GPS data processed {"connection_id":174670,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:30:56] local.INFO: Acknowledgment sent {"connection_id":174670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:30:59] local.INFO: TCP Data received {"connection_id":173337,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072833ab0012d196500071ff1280040014526..."} 
[2026-09-05 22:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072833ab0012d196500071ff1280040014526..."} 
[2026-09-05 22:30:59] local.INFO: Processing buffer {"connection_id":173337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072833ab0012d196500071ff1280040014526..."} 
[2026-09-05 22:30:59] local.INFO: Packet analysis {"connection_id":173337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07283"} 
[2026-09-05 22:30:59] local.INFO: Extracted packet for processing {"connection_id":173337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07283"} 
[2026-09-05 22:30:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888588032001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788627598000,"timestamp_ms":1788627598000,"timestamp_seconds":1788627598,"priority":1,"record_length":96,"hex_timestamp":"000001a072833ab0"} 
[2026-09-05 22:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 22:30:59] 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-09-05 22:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888588032001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888588032001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:30:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:30:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888588032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":173337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:30:59] local.INFO: GPS data processed {"connection_id":173337,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:30:59] local.INFO: Acknowledgment sent {"connection_id":173337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:31:13] local.INFO: TCP Data received {"connection_id":174671,"ip":"117.224.148.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174671,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:31:13] local.INFO: Processing buffer {"connection_id":174671,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:31:13] local.INFO: IMEI packet received {"connection_id":174671,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 22:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":174671,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:31:18] local.INFO: TCP Data received {"connection_id":174671,"ip":"117.224.148.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174671,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:31:18] local.INFO: Processing buffer {"connection_id":174671,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:31:18] local.INFO: IMEI packet received {"connection_id":174671,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 22:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":174671,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:31:19] local.INFO: TCP Data received {"connection_id":174671,"ip":"117.224.148.37","data_length":795,"data_hex":"000000000000030f8e0a000001a07282a640012cb476c009129230021f016727..."} 
[2026-09-05 22:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07282a640012cb476c009129230021f016727..."} 
[2026-09-05 22:31:19] local.INFO: Processing buffer {"connection_id":174671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07282a640012cb476c009129230021f016727..."} 
[2026-09-05 22:31:19] local.INFO: Packet analysis {"connection_id":174671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07282"} 
[2026-09-05 22:31:19] local.INFO: Extracted packet for processing {"connection_id":174671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07282"} 
[2026-09-05 22:31:19] local.INFO: GPS Element Parsed {"raw_longitude":750024384,"raw_latitude":152212016,"longitude_deg":75.0024384,"latitude_deg":15.2212016,"altitude":543,"angle":359,"satellites":39,"speed":45,"hex_longitude":"2cb476c0","hex_latitude":"09129230","is_valid_coordinates":true} 
[2026-09-05 22:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888653312001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1955936696532992,"note":"Value kept but may cause issues"} 
[2026-09-05 22:31:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5442740848201842686,"note":"Value kept but may cause issues"} 
[2026-09-05 22:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788627560000,"timestamp_ms":1788627560000,"timestamp_seconds":1788627560,"priority":1,"record_length":96,"hex_timestamp":"000001a07282a640"} 
[2026-09-05 22:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 22:31:19] 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-09-05 22:31:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.148.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888653312001,"66":27484,"212":206,"9":54784,"24":45,"16":1955936696532992,"44":-5442740848201842686},"client_ip":"117.224.148.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-05 22:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888653312001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:31:19] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-05 22:31:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1955936696532992,"km_value":1955936696532.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:31:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5442740848201842686,"description":"Unknown IO ID 44"} 
[2026-09-05 22:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888653312001,"power":27484,"unknown_212":206,"unknown_9":54784,"ignition":45,"odometer":null,"unknown_44":-5442740848201842686}} 
[2026-09-05 22:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":174671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771641,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:31:20] local.INFO: GPS data processed {"connection_id":174671,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:31:20] local.INFO: Acknowledgment sent {"connection_id":174671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:31:27] local.INFO: TCP Data received {"connection_id":174670,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072830fb8012d7b8c0005f9bf30000c013627..."} 
[2026-09-05 22:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072830fb8012d7b8c0005f9bf30000c013627..."} 
[2026-09-05 22:31:27] local.INFO: Processing buffer {"connection_id":174670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072830fb8012d7b8c0005f9bf30000c013627..."} 
[2026-09-05 22:31:27] local.INFO: Packet analysis {"connection_id":174670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07283"} 
[2026-09-05 22:31:27] local.INFO: Extracted packet for processing {"connection_id":174670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07283"} 
[2026-09-05 22:31:27] local.INFO: GPS Element Parsed {"raw_longitude":763071488,"raw_latitude":100253488,"longitude_deg":76.3071488,"latitude_deg":10.0253488,"altitude":12,"angle":310,"satellites":39,"speed":26,"hex_longitude":"2d7b8c00","hex_latitude":"05f9bf30","is_valid_coordinates":true} 
[2026-09-05 22:31: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-09-05 22:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888660736001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399950081907752960,"note":"Value kept but may cause issues"} 
[2026-09-05 22:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905727551300958208,"note":"Value kept but may cause issues"} 
[2026-09-05 22:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788627587000,"timestamp_ms":1788627587000,"timestamp_seconds":1788627587,"priority":1,"record_length":96,"hex_timestamp":"000001a072830fb8"} 
[2026-09-05 22:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:31: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-09-05 22:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 22:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:31: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-09-05 22:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888660736001,"66":27397,"14":206,"87":10752,"24":26,"16":399950081907752960,"45":8905727551300958208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,87,24,16,45]} 
[2026-09-05 22:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888660736001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:31:27] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-09-05 22:31:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 22:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399950081907752960,"km_value":399950081907752.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905727551300958208,"description":"Unknown IO ID 45"} 
[2026-09-05 22:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888660736001,"power":27397,"unknown_14":206,"unknown_87":10752,"ignition":26,"odometer":null,"unknown_45":8905727551300958208}} 
[2026-09-05 22:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":174670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:31:27] local.INFO: GPS data processed {"connection_id":174670,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:31:27] local.INFO: Acknowledgment sent {"connection_id":174670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:31:44] local.INFO: TCP Data received {"connection_id":171979,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:31:44] local.INFO: Processing buffer {"connection_id":171979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:31:44] local.INFO: IMEI packet received {"connection_id":171979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":171979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:31:49] local.INFO: TCP Data received {"connection_id":171979,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:31:49] local.INFO: Processing buffer {"connection_id":171979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:31:49] local.INFO: IMEI packet received {"connection_id":171979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":171979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:31:49] local.INFO: TCP Data received {"connection_id":171979,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072833ab0012d196500071ff1280040014526..."} 
[2026-09-05 22:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072833ab0012d196500071ff1280040014526..."} 
[2026-09-05 22:31:49] local.INFO: Processing buffer {"connection_id":171979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072833ab0012d196500071ff1280040014526..."} 
[2026-09-05 22:31:49] local.INFO: Packet analysis {"connection_id":171979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07283"} 
[2026-09-05 22:31:49] local.INFO: Extracted packet for processing {"connection_id":171979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07283"} 
[2026-09-05 22:31:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888588032001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788627598000,"timestamp_ms":1788627598000,"timestamp_seconds":1788627598,"priority":1,"record_length":96,"hex_timestamp":"000001a072833ab0"} 
[2026-09-05 22:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 22:31: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-09-05 22:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":171979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":171979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":171979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888588032001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888588032001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:31:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:31:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888588032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":171979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:31:50] local.INFO: GPS data processed {"connection_id":171979,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:31:50] local.INFO: Acknowledgment sent {"connection_id":171979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:31:51] local.INFO: TCP Data received {"connection_id":174671,"ip":"117.224.148.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0728405d0012cb4798009142c900230000327..."} 
[2026-09-05 22:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0728405d0012cb4798009142c900230000327..."} 
[2026-09-05 22:31:51] local.INFO: Processing buffer {"connection_id":174671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0728405d0012cb4798009142c900230000327..."} 
[2026-09-05 22:31:51] local.INFO: Packet analysis {"connection_id":174671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07284"} 
[2026-09-05 22:31:51] local.INFO: Extracted packet for processing {"connection_id":174671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07284"} 
[2026-09-05 22:31:51] local.INFO: GPS Element Parsed {"raw_longitude":750025088,"raw_latitude":152317072,"longitude_deg":75.0025088,"latitude_deg":15.2317072,"altitude":560,"angle":3,"satellites":39,"speed":42,"hex_longitude":"2cb47980","hex_latitude":"09142c90","is_valid_coordinates":true} 
[2026-09-05 22:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888676096001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1961034822713344,"note":"Value kept but may cause issues"} 
[2026-09-05 22:31:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5443022323151605758,"note":"Value kept but may cause issues"} 
[2026-09-05 22:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788627650000,"timestamp_ms":1788627650000,"timestamp_seconds":1788627650,"priority":1,"record_length":96,"hex_timestamp":"000001a0728405d0"} 
[2026-09-05 22:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 22:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.148.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888676096001,"66":27463,"212":206,"9":54784,"24":42,"16":1961034822713344,"44":-5443022323151605758},"client_ip":"117.224.148.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-05 22:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888676096001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:31:51] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-05 22:31:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1961034822713344,"km_value":1961034822713.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:31:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5443022323151605758,"description":"Unknown IO ID 44"} 
[2026-09-05 22:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888676096001,"power":27463,"unknown_212":206,"unknown_9":54784,"ignition":42,"odometer":null,"unknown_44":-5443022323151605758}} 
[2026-09-05 22:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":174671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771644,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:31:51] local.INFO: GPS data processed {"connection_id":174671,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:31:51] local.INFO: Acknowledgment sent {"connection_id":174671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:32:04] local.INFO: TCP Data received {"connection_id":172229,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:32:04] local.INFO: Processing buffer {"connection_id":172229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:32:04] local.INFO: IMEI packet received {"connection_id":172229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":172229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:32:05] local.INFO: TCP Data received {"connection_id":172229,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:32:05] local.INFO: Processing buffer {"connection_id":172229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:32:05] local.INFO: IMEI packet received {"connection_id":172229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":172229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:32:10] local.INFO: TCP Data received {"connection_id":172229,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:32:10] local.INFO: Processing buffer {"connection_id":172229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:32:10] local.INFO: IMEI packet received {"connection_id":172229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":172229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:32:10] local.INFO: TCP Data received {"connection_id":172229,"ip":"42.106.6.15","data_length":93,"data_hex":"00000000000000518e01000001a0728332e0012d7b7e8005f9cb20000e014428..."} 
[2026-09-05 22:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172229,"packet_length":93,"packet_hex":"00000000000000518e01000001a0728332e0012d7b7e8005f9cb20000e014428..."} 
[2026-09-05 22:32:10] local.INFO: Processing buffer {"connection_id":172229,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0728332e0012d7b7e8005f9cb20000e014428..."} 
[2026-09-05 22:32:10] local.INFO: Packet analysis {"connection_id":172229,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a07283"} 
[2026-09-05 22:32:10] local.INFO: Extracted packet for processing {"connection_id":172229,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a07283"} 
[2026-09-05 22:32:10] local.INFO: GPS Element Parsed {"raw_longitude":763068032,"raw_latitude":100256544,"longitude_deg":76.3068032,"latitude_deg":10.0256544,"altitude":14,"angle":324,"satellites":40,"speed":13,"hex_longitude":"2d7b7e80","hex_latitude":"05f9cb20","is_valid_coordinates":true} 
[2026-09-05 22:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-05 22:32:10] 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-09-05 22:32:10] 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-09-05 22:32:10] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:32:10] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-05 22:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":172229,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-05 22:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":172229,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-05 22:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":172229,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-05 22:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-05 22:32:10] local.WARNING: DEBUG: No valid data to process  
[2026-09-05 22:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":172229,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-05 22:32:10] local.ERROR: GPS data processing failed {"connection_id":172229,"error":"No valid data to process"} 
[2026-09-05 22:32:10] local.INFO: Acknowledgment sent {"connection_id":172229,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-05 22:32:13] local.INFO: TCP Data received {"connection_id":173338,"ip":"117.224.148.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173338,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:32:13] local.INFO: Processing buffer {"connection_id":173338,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:32:13] local.INFO: IMEI packet received {"connection_id":173338,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 22:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":173338,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:32:18] local.INFO: TCP Data received {"connection_id":173338,"ip":"117.224.148.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173338,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:32:18] local.INFO: Processing buffer {"connection_id":173338,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:32:18] local.INFO: IMEI packet received {"connection_id":173338,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 22:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":173338,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:32:19] local.INFO: TCP Data received {"connection_id":173338,"ip":"117.224.148.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0728428f8012cb47c40091452c00231000327..."} 
[2026-09-05 22:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0728428f8012cb47c40091452c00231000327..."} 
[2026-09-05 22:32:19] local.INFO: Processing buffer {"connection_id":173338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0728428f8012cb47c40091452c00231000327..."} 
[2026-09-05 22:32:19] local.INFO: Packet analysis {"connection_id":173338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07284"} 
[2026-09-05 22:32:19] local.INFO: Extracted packet for processing {"connection_id":173338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07284"} 
[2026-09-05 22:32:19] local.INFO: GPS Element Parsed {"raw_longitude":750025792,"raw_latitude":152326848,"longitude_deg":75.0025792,"latitude_deg":15.2326848,"altitude":561,"angle":3,"satellites":39,"speed":44,"hex_longitude":"2cb47c40","hex_latitude":"091452c0","is_valid_coordinates":true} 
[2026-09-05 22:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888678400001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1961507269115904,"note":"Value kept but may cause issues"} 
[2026-09-05 22:32:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5442177898219007998,"note":"Value kept but may cause issues"} 
[2026-09-05 22:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788627659000,"timestamp_ms":1788627659000,"timestamp_seconds":1788627659,"priority":1,"record_length":96,"hex_timestamp":"000001a0728428f8"} 
[2026-09-05 22:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-05 22:32:19] 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-09-05 22:32:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.148.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888678400001,"66":27626,"212":206,"9":54784,"24":44,"16":1961507269115904,"44":-5442177898219007998},"client_ip":"117.224.148.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-05 22:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888678400001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:32:19] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-05 22:32:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1961507269115904,"km_value":1961507269115.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:32:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5442177898219007998,"description":"Unknown IO ID 44"} 
[2026-09-05 22:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888678400001,"power":27626,"unknown_212":206,"unknown_9":54784,"ignition":44,"odometer":null,"unknown_44":-5442177898219007998}} 
[2026-09-05 22:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":173338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771645,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:32:19] local.INFO: GPS data processed {"connection_id":173338,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:32:19] local.INFO: Acknowledgment sent {"connection_id":173338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:32:21] local.INFO: TCP Data received {"connection_id":171979,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072833ab0012d196500071ff1280040014526..."} 
[2026-09-05 22:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072833ab0012d196500071ff1280040014526..."} 
[2026-09-05 22:32:21] local.INFO: Processing buffer {"connection_id":171979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072833ab0012d196500071ff1280040014526..."} 
[2026-09-05 22:32:21] local.INFO: Packet analysis {"connection_id":171979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07283"} 
[2026-09-05 22:32:21] local.INFO: Extracted packet for processing {"connection_id":171979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07283"} 
[2026-09-05 22:32:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888588032001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788627598000,"timestamp_ms":1788627598000,"timestamp_seconds":1788627598,"priority":1,"record_length":96,"hex_timestamp":"000001a072833ab0"} 
[2026-09-05 22:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:32:21] 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-09-05 22:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 22:32:21] 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-09-05 22:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888588032001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888588032001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:32:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:32:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888588032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":171979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:32:21] local.INFO: GPS data processed {"connection_id":171979,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:32:21] local.INFO: Acknowledgment sent {"connection_id":171979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:32:44] local.INFO: TCP Data received {"connection_id":174672,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:32:44] local.INFO: Processing buffer {"connection_id":174672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:32:44] local.INFO: IMEI packet received {"connection_id":174672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":174672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:32:49] local.INFO: TCP Data received {"connection_id":174672,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:32:49] local.INFO: Processing buffer {"connection_id":174672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:32:49] local.INFO: IMEI packet received {"connection_id":174672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":174672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:32:49] local.INFO: TCP Data received {"connection_id":174672,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a072833ab0012d196500071ff1280040014526..."} 
[2026-09-05 22:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072833ab0012d196500071ff1280040014526..."} 
[2026-09-05 22:32:49] local.INFO: Processing buffer {"connection_id":174672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072833ab0012d196500071ff1280040014526..."} 
[2026-09-05 22:32:49] local.INFO: Packet analysis {"connection_id":174672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07283"} 
[2026-09-05 22:32:49] local.INFO: Extracted packet for processing {"connection_id":174672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07283"} 
[2026-09-05 22:32:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888588032001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788627598000,"timestamp_ms":1788627598000,"timestamp_seconds":1788627598,"priority":1,"record_length":96,"hex_timestamp":"000001a072833ab0"} 
[2026-09-05 22:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 22:32: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-09-05 22:32:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888588032001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888588032001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:32:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:32:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888588032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":174672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:32:50] local.INFO: GPS data processed {"connection_id":174672,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:32:50] local.INFO: Acknowledgment sent {"connection_id":174672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:32:50] local.INFO: TCP Data received {"connection_id":171980,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:32:50] local.INFO: Processing buffer {"connection_id":171980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:32:50] local.INFO: IMEI packet received {"connection_id":171980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":171980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:32:51] local.INFO: TCP Data received {"connection_id":173338,"ip":"117.224.148.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0728457d8012cb47e80091475900231000228..."} 
[2026-09-05 22:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0728457d8012cb47e80091475900231000228..."} 
[2026-09-05 22:32:51] local.INFO: Processing buffer {"connection_id":173338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0728457d8012cb47e80091475900231000228..."} 
[2026-09-05 22:32:51] local.INFO: Packet analysis {"connection_id":173338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07284"} 
[2026-09-05 22:32:51] local.INFO: Extracted packet for processing {"connection_id":173338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07284"} 
[2026-09-05 22:32:51] local.INFO: GPS Element Parsed {"raw_longitude":750026368,"raw_latitude":152335760,"longitude_deg":75.0026368,"latitude_deg":15.233576,"altitude":561,"angle":2,"satellites":40,"speed":9,"hex_longitude":"2cb47e80","hex_latitude":"09147590","is_valid_coordinates":true} 
[2026-09-05 22:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888680704001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1961941060812800,"note":"Value kept but may cause issues"} 
[2026-09-05 22:32:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5441403842030551038,"note":"Value kept but may cause issues"} 
[2026-09-05 22:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788627671000,"timestamp_ms":1788627671000,"timestamp_seconds":1788627671,"priority":1,"record_length":96,"hex_timestamp":"000001a0728457d8"} 
[2026-09-05 22:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-05 22:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.148.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888680704001,"66":27713,"212":206,"9":54784,"24":9,"16":1961941060812800,"44":-5441403842030551038},"client_ip":"117.224.148.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-05 22:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888680704001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:32:51] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-05 22:32:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1961941060812800,"km_value":1961941060812.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:32:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5441403842030551038,"description":"Unknown IO ID 44"} 
[2026-09-05 22:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888680704001,"power":27713,"unknown_212":206,"unknown_9":54784,"ignition":9,"odometer":null,"unknown_44":-5441403842030551038}} 
[2026-09-05 22:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":173338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771648,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:32:51] local.INFO: GPS data processed {"connection_id":173338,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:32:51] local.INFO: Acknowledgment sent {"connection_id":173338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:32:55] local.INFO: TCP Data received {"connection_id":171980,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:32:55] local.INFO: Processing buffer {"connection_id":171980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:32:55] local.INFO: IMEI packet received {"connection_id":171980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":171980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:32:56] local.INFO: TCP Data received {"connection_id":171980,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07284dca8012d7b350005fa9cb8000d015725..."} 
[2026-09-05 22:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07284dca8012d7b350005fa9cb8000d015725..."} 
[2026-09-05 22:32:56] local.INFO: Processing buffer {"connection_id":171980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07284dca8012d7b350005fa9cb8000d015725..."} 
[2026-09-05 22:32:56] local.INFO: Packet analysis {"connection_id":171980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07284"} 
[2026-09-05 22:32:56] local.INFO: Extracted packet for processing {"connection_id":171980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07284"} 
[2026-09-05 22:32:56] local.INFO: GPS Element Parsed {"raw_longitude":763049216,"raw_latitude":100310200,"longitude_deg":76.3049216,"latitude_deg":10.03102,"altitude":13,"angle":343,"satellites":37,"speed":30,"hex_longitude":"2d7b3500","hex_latitude":"05fa9cb8","is_valid_coordinates":true} 
[2026-09-05 22:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888691712001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399953114154663936,"note":"Value kept but may cause issues"} 
[2026-09-05 22:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878565216063082496,"note":"Value kept but may cause issues"} 
[2026-09-05 22:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788627705000,"timestamp_ms":1788627705000,"timestamp_seconds":1788627705,"priority":1,"record_length":96,"hex_timestamp":"000001a07284dca8"} 
[2026-09-05 22:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-05 22:32:56] 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-09-05 22:32:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888691712001,"66":27300,"54":206,"87":10752,"24":30,"16":399953114154663936,"45":8878565216063082496},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,87,24,16,45]} 
[2026-09-05 22:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888691712001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:32:56] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-05 22:32:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 22:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399953114154663936,"km_value":399953114154663.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878565216063082496,"description":"Unknown IO ID 45"} 
[2026-09-05 22:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888691712001,"power":27300,"unknown_54":206,"unknown_87":10752,"ignition":30,"odometer":null,"unknown_45":8878565216063082496}} 
[2026-09-05 22:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":171980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:32:56] local.INFO: GPS data processed {"connection_id":171980,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:32:56] local.INFO: Acknowledgment sent {"connection_id":171980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:33:13] local.INFO: TCP Data received {"connection_id":174673,"ip":"117.224.148.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:33:13] local.INFO: Processing buffer {"connection_id":174673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:33:13] local.INFO: IMEI packet received {"connection_id":174673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 22:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":174673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:33:18] local.INFO: TCP Data received {"connection_id":174673,"ip":"117.224.148.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:33:18] local.INFO: Processing buffer {"connection_id":174673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:33:18] local.INFO: IMEI packet received {"connection_id":174673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 22:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":174673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:33:19] local.INFO: TCP Data received {"connection_id":174673,"ip":"117.224.148.37","data_length":795,"data_hex":"000000000000030f8e0a000001a07284a9e0012cb48100091498c00231000427..."} 
[2026-09-05 22:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07284a9e0012cb48100091498c00231000427..."} 
[2026-09-05 22:33:19] local.INFO: Processing buffer {"connection_id":174673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07284a9e0012cb48100091498c00231000427..."} 
[2026-09-05 22:33:19] local.INFO: Packet analysis {"connection_id":174673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07284"} 
[2026-09-05 22:33:19] local.INFO: Extracted packet for processing {"connection_id":174673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07284"} 
[2026-09-05 22:33:19] local.INFO: GPS Element Parsed {"raw_longitude":750027008,"raw_latitude":152344768,"longitude_deg":75.0027008,"latitude_deg":15.2344768,"altitude":561,"angle":4,"satellites":39,"speed":26,"hex_longitude":"2cb48100","hex_latitude":"091498c0","is_valid_coordinates":true} 
[2026-09-05 22:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888683776001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1962379147476992,"note":"Value kept but may cause issues"} 
[2026-09-05 22:33:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5440770523330670590,"note":"Value kept but may cause issues"} 
[2026-09-05 22:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788627692000,"timestamp_ms":1788627692000,"timestamp_seconds":1788627692,"priority":1,"record_length":96,"hex_timestamp":"000001a07284a9e0"} 
[2026-09-05 22:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-05 22:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.148.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888683776001,"66":27604,"212":206,"9":54784,"24":26,"16":1962379147476992,"44":-5440770523330670590},"client_ip":"117.224.148.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-05 22:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888683776001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:33:19] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-05 22:33:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1962379147476992,"km_value":1962379147476.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:33:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5440770523330670590,"description":"Unknown IO ID 44"} 
[2026-09-05 22:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888683776001,"power":27604,"unknown_212":206,"unknown_9":54784,"ignition":26,"odometer":null,"unknown_44":-5440770523330670590}} 
[2026-09-05 22:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":174673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771650,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:33:19] local.INFO: GPS data processed {"connection_id":174673,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:33:19] local.INFO: Acknowledgment sent {"connection_id":174673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:33:21] local.INFO: TCP Data received {"connection_id":174672,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a072833ab0012d196500071ff1280040014526..."} 
[2026-09-05 22:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072833ab0012d196500071ff1280040014526..."} 
[2026-09-05 22:33:21] local.INFO: Processing buffer {"connection_id":174672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072833ab0012d196500071ff1280040014526..."} 
[2026-09-05 22:33:21] local.INFO: Packet analysis {"connection_id":174672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07283"} 
[2026-09-05 22:33:21] local.INFO: Extracted packet for processing {"connection_id":174672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07283"} 
[2026-09-05 22:33:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888588032001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788627598000,"timestamp_ms":1788627598000,"timestamp_seconds":1788627598,"priority":1,"record_length":96,"hex_timestamp":"000001a072833ab0"} 
[2026-09-05 22:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:33:21] 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-09-05 22:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 22:33:21] 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-09-05 22:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888588032001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888588032001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:33:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:33:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888588032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":174672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:33:21] local.INFO: GPS data processed {"connection_id":174672,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:33:21] local.INFO: Acknowledgment sent {"connection_id":174672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:33:26] local.INFO: TCP Data received {"connection_id":171980,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0728507a0012d7b2b8005fabe80000e015429..."} 
[2026-09-05 22:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0728507a0012d7b2b8005fabe80000e015429..."} 
[2026-09-05 22:33:26] local.INFO: Processing buffer {"connection_id":171980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0728507a0012d7b2b8005fabe80000e015429..."} 
[2026-09-05 22:33:26] local.INFO: Packet analysis {"connection_id":171980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07285"} 
[2026-09-05 22:33:26] local.INFO: Extracted packet for processing {"connection_id":171980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07285"} 
[2026-09-05 22:33:26] local.INFO: GPS Element Parsed {"raw_longitude":763046784,"raw_latitude":100318848,"longitude_deg":76.3046784,"latitude_deg":10.0318848,"altitude":14,"angle":340,"satellites":41,"speed":29,"hex_longitude":"2d7b2b80","hex_latitude":"05fabe80","is_valid_coordinates":true} 
[2026-09-05 22:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888692480001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399953552241328128,"note":"Value kept but may cause issues"} 
[2026-09-05 22:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878002266110212096,"note":"Value kept but may cause issues"} 
[2026-09-05 22:33:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788627716000,"timestamp_ms":1788627716000,"timestamp_seconds":1788627716,"priority":1,"record_length":96,"hex_timestamp":"000001a0728507a0"} 
[2026-09-05 22:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:33:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-05 22:33:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:33:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:33:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888692480001,"66":27343,"54":206,"87":10752,"24":29,"16":399953552241328128,"45":8878002266110212096},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,87,24,16,45]} 
[2026-09-05 22:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888692480001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:33:26] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-05 22:33:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 22:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399953552241328128,"km_value":399953552241328.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878002266110212096,"description":"Unknown IO ID 45"} 
[2026-09-05 22:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888692480001,"power":27343,"unknown_54":206,"unknown_87":10752,"ignition":29,"odometer":null,"unknown_45":8878002266110212096}} 
[2026-09-05 22:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":171980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:33:26] local.INFO: GPS data processed {"connection_id":171980,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:33:26] local.INFO: Acknowledgment sent {"connection_id":171980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:33:43] local.INFO: TCP Data received {"connection_id":172230,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:33:43] local.INFO: Processing buffer {"connection_id":172230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:33:43] local.INFO: IMEI packet received {"connection_id":172230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":172230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:33:49] local.INFO: TCP Data received {"connection_id":172230,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:33:49] local.INFO: Processing buffer {"connection_id":172230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:33:49] local.INFO: IMEI packet received {"connection_id":172230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":172230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:33:49] local.INFO: TCP Data received {"connection_id":172230,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a072833ab0012d196500071ff1280040014526..."} 
[2026-09-05 22:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072833ab0012d196500071ff1280040014526..."} 
[2026-09-05 22:33:49] local.INFO: Processing buffer {"connection_id":172230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072833ab0012d196500071ff1280040014526..."} 
[2026-09-05 22:33:49] local.INFO: Packet analysis {"connection_id":172230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07283"} 
[2026-09-05 22:33:49] local.INFO: Extracted packet for processing {"connection_id":172230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07283"} 
[2026-09-05 22:33:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888588032001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788627598000,"timestamp_ms":1788627598000,"timestamp_seconds":1788627598,"priority":1,"record_length":96,"hex_timestamp":"000001a072833ab0"} 
[2026-09-05 22:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 22:33: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-09-05 22:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888588032001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888588032001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:33:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:33:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888588032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":172230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:33:50] local.INFO: GPS data processed {"connection_id":172230,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:33:50] local.INFO: Acknowledgment sent {"connection_id":172230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:33:50] local.INFO: TCP Data received {"connection_id":173339,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:33:50] local.INFO: Processing buffer {"connection_id":173339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:33:50] local.INFO: IMEI packet received {"connection_id":173339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":173339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:33:51] local.INFO: TCP Data received {"connection_id":174673,"ip":"117.224.148.37","data_length":795,"data_hex":"000000000000030f8e0a000001a07284a9e0012cb48100091498c00231000427..."} 
[2026-09-05 22:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07284a9e0012cb48100091498c00231000427..."} 
[2026-09-05 22:33:51] local.INFO: Processing buffer {"connection_id":174673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07284a9e0012cb48100091498c00231000427..."} 
[2026-09-05 22:33:51] local.INFO: Packet analysis {"connection_id":174673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07284"} 
[2026-09-05 22:33:51] local.INFO: Extracted packet for processing {"connection_id":174673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07284"} 
[2026-09-05 22:33:51] local.INFO: GPS Element Parsed {"raw_longitude":750027008,"raw_latitude":152344768,"longitude_deg":75.0027008,"latitude_deg":15.2344768,"altitude":561,"angle":4,"satellites":39,"speed":26,"hex_longitude":"2cb48100","hex_latitude":"091498c0","is_valid_coordinates":true} 
[2026-09-05 22:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888689152001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1962379147476992,"note":"Value kept but may cause issues"} 
[2026-09-05 22:33:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5440066835886587902,"note":"Value kept but may cause issues"} 
[2026-09-05 22:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788627692000,"timestamp_ms":1788627692000,"timestamp_seconds":1788627692,"priority":1,"record_length":96,"hex_timestamp":"000001a07284a9e0"} 
[2026-09-05 22:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-05 22:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.148.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888689152001,"66":27604,"212":206,"9":54784,"24":26,"16":1962379147476992,"44":-5440066835886587902},"client_ip":"117.224.148.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-05 22:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888689152001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:33:51] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-05 22:33:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1962379147476992,"km_value":1962379147476.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:33:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5440066835886587902,"description":"Unknown IO ID 44"} 
[2026-09-05 22:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888689152001,"power":27604,"unknown_212":206,"unknown_9":54784,"ignition":26,"odometer":null,"unknown_44":-5440066835886587902}} 
[2026-09-05 22:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":174673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771654,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:33:51] local.INFO: GPS data processed {"connection_id":174673,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:33:51] local.INFO: Acknowledgment sent {"connection_id":174673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:33:52] local.INFO: TCP Data received {"connection_id":173339,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:33:52] local.INFO: Processing buffer {"connection_id":173339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:33:52] local.INFO: IMEI packet received {"connection_id":173339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":173339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:33:54] local.INFO: TCP Data received {"connection_id":173339,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:33:54] local.INFO: Processing buffer {"connection_id":173339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:33:54] local.INFO: IMEI packet received {"connection_id":173339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":173339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:33:56] local.INFO: TCP Data received {"connection_id":173339,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072853298012d7b1f4005fadfd8000a01522b..."} 
[2026-09-05 22:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072853298012d7b1f4005fadfd8000a01522b..."} 
[2026-09-05 22:33:56] local.INFO: Processing buffer {"connection_id":173339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072853298012d7b1f4005fadfd8000a01522b..."} 
[2026-09-05 22:33:56] local.INFO: Packet analysis {"connection_id":173339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07285"} 
[2026-09-05 22:33:56] local.INFO: Extracted packet for processing {"connection_id":173339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07285"} 
[2026-09-05 22:33:56] local.INFO: GPS Element Parsed {"raw_longitude":763043648,"raw_latitude":100327384,"longitude_deg":76.3043648,"latitude_deg":10.0327384,"altitude":10,"angle":338,"satellites":43,"speed":36,"hex_longitude":"2d7b1f40","hex_latitude":"05fadfd8","is_valid_coordinates":true} 
[2026-09-05 22:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888695296001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399953990327992320,"note":"Value kept but may cause issues"} 
[2026-09-05 22:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875328253833674752,"note":"Value kept but may cause issues"} 
[2026-09-05 22:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788627727000,"timestamp_ms":1788627727000,"timestamp_seconds":1788627727,"priority":1,"record_length":96,"hex_timestamp":"000001a072853298"} 
[2026-09-05 22:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 22:33:56] 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-09-05 22:33:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888695296001,"66":27397,"54":206,"87":10752,"24":36,"16":399953990327992320,"45":8875328253833674752},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,87,24,16,45]} 
[2026-09-05 22:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888695296001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:33:56] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-05 22:33:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 22:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399953990327992320,"km_value":399953990327992.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875328253833674752,"description":"Unknown IO ID 45"} 
[2026-09-05 22:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888695296001,"power":27397,"unknown_54":206,"unknown_87":10752,"ignition":36,"odometer":null,"unknown_45":8875328253833674752}} 
[2026-09-05 22:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":173339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:33:56] local.INFO: GPS data processed {"connection_id":173339,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:33:56] local.INFO: Acknowledgment sent {"connection_id":173339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:34:13] local.INFO: TCP Data received {"connection_id":172231,"ip":"117.224.148.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172231,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:34:13] local.INFO: Processing buffer {"connection_id":172231,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:34:13] local.INFO: IMEI packet received {"connection_id":172231,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 22:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":172231,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:34:18] local.INFO: TCP Data received {"connection_id":172231,"ip":"117.224.148.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172231,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:34:18] local.INFO: Processing buffer {"connection_id":172231,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:34:18] local.INFO: IMEI packet received {"connection_id":172231,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 22:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":172231,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:34:19] local.INFO: TCP Data received {"connection_id":172231,"ip":"117.224.148.37","data_length":795,"data_hex":"000000000000030f8e0a000001a07284dca8012cb484000914bd500231000525..."} 
[2026-09-05 22:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07284dca8012cb484000914bd500231000525..."} 
[2026-09-05 22:34:19] local.INFO: Processing buffer {"connection_id":172231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07284dca8012cb484000914bd500231000525..."} 
[2026-09-05 22:34:19] local.INFO: Packet analysis {"connection_id":172231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07284"} 
[2026-09-05 22:34:19] local.INFO: Extracted packet for processing {"connection_id":172231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07284"} 
[2026-09-05 22:34:19] local.INFO: GPS Element Parsed {"raw_longitude":750027776,"raw_latitude":152354128,"longitude_deg":75.0027776,"latitude_deg":15.2354128,"altitude":561,"angle":5,"satellites":37,"speed":34,"hex_longitude":"2cb48400","hex_latitude":"0914bd50","is_valid_coordinates":true} 
[2026-09-05 22:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888689152001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1962838708977664,"note":"Value kept but may cause issues"} 
[2026-09-05 22:34:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5440066835886587902,"note":"Value kept but may cause issues"} 
[2026-09-05 22:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788627705000,"timestamp_ms":1788627705000,"timestamp_seconds":1788627705,"priority":1,"record_length":96,"hex_timestamp":"000001a07284dca8"} 
[2026-09-05 22:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-05 22:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":172231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":172231,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":172231,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.148.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888689152001,"66":27517,"212":206,"9":54784,"24":34,"16":1962838708977664,"44":-5440066835886587902},"client_ip":"117.224.148.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-05 22:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888689152001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:34:19] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-05 22:34:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1962838708977664,"km_value":1962838708977.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:34:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5440066835886587902,"description":"Unknown IO ID 44"} 
[2026-09-05 22:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888689152001,"power":27517,"unknown_212":206,"unknown_9":54784,"ignition":34,"odometer":null,"unknown_44":-5440066835886587902}} 
[2026-09-05 22:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":172231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771656,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:34:19] local.INFO: GPS data processed {"connection_id":172231,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:34:19] local.INFO: Acknowledgment sent {"connection_id":172231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:34:21] local.INFO: TCP Data received {"connection_id":172230,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a072833ab0012d196500071ff1280040014526..."} 
[2026-09-05 22:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072833ab0012d196500071ff1280040014526..."} 
[2026-09-05 22:34:21] local.INFO: Processing buffer {"connection_id":172230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072833ab0012d196500071ff1280040014526..."} 
[2026-09-05 22:34:21] local.INFO: Packet analysis {"connection_id":172230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07283"} 
[2026-09-05 22:34:21] local.INFO: Extracted packet for processing {"connection_id":172230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07283"} 
[2026-09-05 22:34:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888588032001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788627598000,"timestamp_ms":1788627598000,"timestamp_seconds":1788627598,"priority":1,"record_length":96,"hex_timestamp":"000001a072833ab0"} 
[2026-09-05 22:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:34:21] 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-09-05 22:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 22:34:21] 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-09-05 22:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888588032001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888588032001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:34:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:34:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888588032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":172230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:34:21] local.INFO: GPS data processed {"connection_id":172230,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:34:21] local.INFO: Acknowledgment sent {"connection_id":172230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:34:27] local.INFO: TCP Data received {"connection_id":173339,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0728559a8012d7b104005fafff8000a014d2c..."} 
[2026-09-05 22:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0728559a8012d7b104005fafff8000a014d2c..."} 
[2026-09-05 22:34:27] local.INFO: Processing buffer {"connection_id":173339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0728559a8012d7b104005fafff8000a014d2c..."} 
[2026-09-05 22:34:27] local.INFO: Packet analysis {"connection_id":173339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07285"} 
[2026-09-05 22:34:27] local.INFO: Extracted packet for processing {"connection_id":173339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07285"} 
[2026-09-05 22:34:27] local.INFO: GPS Element Parsed {"raw_longitude":763039808,"raw_latitude":100335608,"longitude_deg":76.3039808,"latitude_deg":10.0335608,"altitude":10,"angle":333,"satellites":44,"speed":32,"hex_longitude":"2d7b1040","hex_latitude":"05fafff8","is_valid_coordinates":true} 
[2026-09-05 22:34: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-09-05 22:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888698112001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399954432709623808,"note":"Value kept but may cause issues"} 
[2026-09-05 22:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871880185371154432,"note":"Value kept but may cause issues"} 
[2026-09-05 22:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788627737000,"timestamp_ms":1788627737000,"timestamp_seconds":1788627737,"priority":1,"record_length":96,"hex_timestamp":"000001a0728559a8"} 
[2026-09-05 22:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:34: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-09-05 22:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-05 22:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:34: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-09-05 22:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888698112001,"66":27397,"54":206,"87":10752,"24":32,"16":399954432709623808,"45":8871880185371154432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,87,24,16,45]} 
[2026-09-05 22:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888698112001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:34:27] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-05 22:34:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 22:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399954432709623808,"km_value":399954432709623.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871880185371154432,"description":"Unknown IO ID 45"} 
[2026-09-05 22:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888698112001,"power":27397,"unknown_54":206,"unknown_87":10752,"ignition":32,"odometer":null,"unknown_45":8871880185371154432}} 
[2026-09-05 22:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":173339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:34:27] local.INFO: GPS data processed {"connection_id":173339,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:34:27] local.INFO: Acknowledgment sent {"connection_id":173339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:34:43] local.INFO: TCP Data received {"connection_id":173340,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:34:43] local.INFO: Processing buffer {"connection_id":173340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:34:43] local.INFO: IMEI packet received {"connection_id":173340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":173340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:34:49] local.INFO: TCP Data received {"connection_id":173340,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:34:49] local.INFO: Processing buffer {"connection_id":173340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:34:49] local.INFO: IMEI packet received {"connection_id":173340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":173340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:34:49] local.INFO: TCP Data received {"connection_id":173340,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072833ab0012d196500071ff1280040014526..."} 
[2026-09-05 22:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072833ab0012d196500071ff1280040014526..."} 
[2026-09-05 22:34:49] local.INFO: Processing buffer {"connection_id":173340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072833ab0012d196500071ff1280040014526..."} 
[2026-09-05 22:34:49] local.INFO: Packet analysis {"connection_id":173340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07283"} 
[2026-09-05 22:34:49] local.INFO: Extracted packet for processing {"connection_id":173340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07283"} 
[2026-09-05 22:34:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888588032001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788627598000,"timestamp_ms":1788627598000,"timestamp_seconds":1788627598,"priority":1,"record_length":96,"hex_timestamp":"000001a072833ab0"} 
[2026-09-05 22:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 22:34: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-09-05 22:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888588032001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888588032001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:34:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:34:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888588032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":173340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:34:50] local.INFO: GPS data processed {"connection_id":173340,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:34:50] local.INFO: Acknowledgment sent {"connection_id":173340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:34:50] local.INFO: TCP Data received {"connection_id":173341,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:34:50] local.INFO: Processing buffer {"connection_id":173341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:34:50] local.INFO: IMEI packet received {"connection_id":173341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":173341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:34:50] local.INFO: TCP Data received {"connection_id":173341,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:34:50] local.INFO: Processing buffer {"connection_id":173341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:34:50] local.INFO: IMEI packet received {"connection_id":173341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":173341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:34:51] local.INFO: TCP Data received {"connection_id":172231,"ip":"117.224.148.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0728507a0012cb487400914e1700230000622..."} 
[2026-09-05 22:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0728507a0012cb487400914e1700230000622..."} 
[2026-09-05 22:34:51] local.INFO: Processing buffer {"connection_id":172231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0728507a0012cb487400914e1700230000622..."} 
[2026-09-05 22:34:51] local.INFO: Packet analysis {"connection_id":172231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07285"} 
[2026-09-05 22:34:51] local.INFO: Extracted packet for processing {"connection_id":172231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07285"} 
[2026-09-05 22:34:51] local.INFO: GPS Element Parsed {"raw_longitude":750028608,"raw_latitude":152363376,"longitude_deg":75.0028608,"latitude_deg":15.2363376,"altitude":560,"angle":6,"satellites":34,"speed":33,"hex_longitude":"2cb48740","hex_latitude":"0914e170","is_valid_coordinates":true} 
[2026-09-05 22:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888692480001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1963285385576448,"note":"Value kept but may cause issues"} 
[2026-09-05 22:34:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5439222410954059774,"note":"Value kept but may cause issues"} 
[2026-09-05 22:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788627716000,"timestamp_ms":1788627716000,"timestamp_seconds":1788627716,"priority":1,"record_length":96,"hex_timestamp":"000001a0728507a0"} 
[2026-09-05 22:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 22:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172231,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172231,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.148.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888692480001,"66":27593,"212":206,"9":54784,"24":33,"16":1963285385576448,"44":-5439222410954059774},"client_ip":"117.224.148.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,44]} 
[2026-09-05 22:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888692480001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:34:51] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-05 22:34:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1963285385576448,"km_value":1963285385576.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:34:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5439222410954059774,"description":"Unknown IO ID 44"} 
[2026-09-05 22:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888692480001,"power":27593,"unknown_212":206,"unknown_9":54784,"ignition":33,"odometer":null,"unknown_44":-5439222410954059774}} 
[2026-09-05 22:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":172231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771660,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:34:51] local.INFO: GPS data processed {"connection_id":172231,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:34:51] local.INFO: Acknowledgment sent {"connection_id":172231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:34:55] local.INFO: TCP Data received {"connection_id":173341,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:34:55] local.INFO: Processing buffer {"connection_id":173341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:34:55] local.INFO: IMEI packet received {"connection_id":173341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":173341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:34:55] local.INFO: TCP Data received {"connection_id":173341,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0728584a0012d7affc005fb1fd0000d014d2d..."} 
[2026-09-05 22:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0728584a0012d7affc005fb1fd0000d014d2d..."} 
[2026-09-05 22:34:55] local.INFO: Processing buffer {"connection_id":173341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0728584a0012d7affc005fb1fd0000d014d2d..."} 
[2026-09-05 22:34:55] local.INFO: Packet analysis {"connection_id":173341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07285"} 
[2026-09-05 22:34:55] local.INFO: Extracted packet for processing {"connection_id":173341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07285"} 
[2026-09-05 22:34:55] local.INFO: GPS Element Parsed {"raw_longitude":763035584,"raw_latitude":100343760,"longitude_deg":76.3035584,"latitude_deg":10.034376,"altitude":13,"angle":333,"satellites":45,"speed":31,"hex_longitude":"2d7affc0","hex_latitude":"05fb1fd0","is_valid_coordinates":true} 
[2026-09-05 22:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888700672001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399954875091255296,"note":"Value kept but may cause issues"} 
[2026-09-05 22:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867658060722599936,"note":"Value kept but may cause issues"} 
[2026-09-05 22:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788627748000,"timestamp_ms":1788627748000,"timestamp_seconds":1788627748,"priority":1,"record_length":96,"hex_timestamp":"000001a0728584a0"} 
[2026-09-05 22:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:34: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-09-05 22:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-05 22:34:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888700672001,"66":27343,"168":206,"87":10752,"24":31,"16":399954875091255296,"45":8867658060722599936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-09-05 22:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888700672001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:34:55] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-05 22:34:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 22:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399954875091255296,"km_value":399954875091255.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867658060722599936,"description":"Unknown IO ID 45"} 
[2026-09-05 22:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888700672001,"power":27343,"unknown_168":206,"unknown_87":10752,"ignition":31,"odometer":null,"unknown_45":8867658060722599936}} 
[2026-09-05 22:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":173341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:34:55] local.INFO: GPS data processed {"connection_id":173341,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:34:55] local.INFO: Acknowledgment sent {"connection_id":173341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:35:19] local.INFO: TCP Data received {"connection_id":171981,"ip":"117.224.148.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171981,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:35:19] local.INFO: Processing buffer {"connection_id":171981,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:35:19] local.INFO: IMEI packet received {"connection_id":171981,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 22:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":171981,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:35:21] local.INFO: TCP Data received {"connection_id":173340,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072833ab0012d196500071ff1280040014526..."} 
[2026-09-05 22:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072833ab0012d196500071ff1280040014526..."} 
[2026-09-05 22:35:21] local.INFO: Processing buffer {"connection_id":173340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072833ab0012d196500071ff1280040014526..."} 
[2026-09-05 22:35:21] local.INFO: Packet analysis {"connection_id":173340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07283"} 
[2026-09-05 22:35:21] local.INFO: Extracted packet for processing {"connection_id":173340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07283"} 
[2026-09-05 22:35:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888588032001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788627598000,"timestamp_ms":1788627598000,"timestamp_seconds":1788627598,"priority":1,"record_length":96,"hex_timestamp":"000001a072833ab0"} 
[2026-09-05 22:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:35:21] 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-09-05 22:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 22:35:21] 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-09-05 22:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888588032001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888588032001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:35:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:35:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888588032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":173340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:35:21] local.INFO: GPS data processed {"connection_id":173340,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:35:21] local.INFO: Acknowledgment sent {"connection_id":173340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:35:21] local.INFO: TCP Data received {"connection_id":171981,"ip":"117.224.148.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171981,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:35:21] local.INFO: Processing buffer {"connection_id":171981,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:35:21] local.INFO: IMEI packet received {"connection_id":171981,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 22:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":171981,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:35:23] local.INFO: TCP Data received {"connection_id":171981,"ip":"117.224.148.37","data_length":795,"data_hex":"000000000000030f8e0a000001a072872698012cb4c3c009162e400232000b29..."} 
[2026-09-05 22:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072872698012cb4c3c009162e400232000b29..."} 
[2026-09-05 22:35:23] local.INFO: Processing buffer {"connection_id":171981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072872698012cb4c3c009162e400232000b29..."} 
[2026-09-05 22:35:23] local.INFO: Packet analysis {"connection_id":171981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07287"} 
[2026-09-05 22:35:23] local.INFO: Extracted packet for processing {"connection_id":171981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07287"} 
[2026-09-05 22:35:23] local.INFO: GPS Element Parsed {"raw_longitude":750044096,"raw_latitude":152448576,"longitude_deg":75.0044096,"latitude_deg":15.2448576,"altitude":562,"angle":11,"satellites":41,"speed":33,"hex_longitude":"2cb4c3c0","hex_latitude":"09162e40","is_valid_coordinates":true} 
[2026-09-05 22:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888728320001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1967494453526528,"note":"Value kept but may cause issues"} 
[2026-09-05 22:35:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5423530180980543486,"note":"Value kept but may cause issues"} 
[2026-09-05 22:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788627855000,"timestamp_ms":1788627855000,"timestamp_seconds":1788627855,"priority":1,"record_length":96,"hex_timestamp":"000001a072872698"} 
[2026-09-05 22:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 22:35:23] 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-09-05 22:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":171981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":171981,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":171981,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.148.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888728320001,"66":27517,"211":206,"9":54784,"24":33,"16":1967494453526528,"44":-5423530180980543486},"client_ip":"117.224.148.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,9,24,16,44]} 
[2026-09-05 22:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888728320001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:35:23] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-05 22:35:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1967494453526528,"km_value":1967494453526.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:35:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5423530180980543486,"description":"Unknown IO ID 44"} 
[2026-09-05 22:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888728320001,"power":27517,"unknown_211":206,"unknown_9":54784,"ignition":33,"odometer":null,"unknown_44":-5423530180980543486}} 
[2026-09-05 22:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":171981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771663,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:35:23] local.INFO: GPS data processed {"connection_id":171981,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:35:23] local.INFO: Acknowledgment sent {"connection_id":171981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:35:24] local.INFO: TCP Data received {"connection_id":171981,"ip":"117.224.148.37","data_length":795,"data_hex":"000000000000030f8e0a000001a072875190012cb4ca80091652000233000b27..."} 
[2026-09-05 22:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072875190012cb4ca80091652000233000b27..."} 
[2026-09-05 22:35:24] local.INFO: Processing buffer {"connection_id":171981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072875190012cb4ca80091652000233000b27..."} 
[2026-09-05 22:35:24] local.INFO: Packet analysis {"connection_id":171981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07287"} 
[2026-09-05 22:35:24] local.INFO: Extracted packet for processing {"connection_id":171981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07287"} 
[2026-09-05 22:35:24] local.INFO: GPS Element Parsed {"raw_longitude":750045824,"raw_latitude":152457728,"longitude_deg":75.0045824,"latitude_deg":15.2457728,"altitude":563,"angle":11,"satellites":39,"speed":36,"hex_longitude":"2cb4ca80","hex_latitude":"09165200","is_valid_coordinates":true} 
[2026-09-05 22:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888730880001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1967945425092608,"note":"Value kept but may cause issues"} 
[2026-09-05 22:35:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5421278381164576766,"note":"Value kept but may cause issues"} 
[2026-09-05 22:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788627866000,"timestamp_ms":1788627866000,"timestamp_seconds":1788627866,"priority":1,"record_length":96,"hex_timestamp":"000001a072875190"} 
[2026-09-05 22:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 22:35:24] 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-09-05 22:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":171981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":171981,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":171981,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.148.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888730880001,"66":27484,"211":206,"9":54784,"24":36,"16":1967945425092608,"44":-5421278381164576766},"client_ip":"117.224.148.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,9,24,16,44]} 
[2026-09-05 22:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888730880001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:35:24] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-05 22:35:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1967945425092608,"km_value":1967945425092.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:35:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5421278381164576766,"description":"Unknown IO ID 44"} 
[2026-09-05 22:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888730880001,"power":27484,"unknown_211":206,"unknown_9":54784,"ignition":36,"odometer":null,"unknown_44":-5421278381164576766}} 
[2026-09-05 22:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":171981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771664,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:35:24] local.INFO: GPS data processed {"connection_id":171981,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:35:24] local.INFO: Acknowledgment sent {"connection_id":171981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:35:27] local.INFO: TCP Data received {"connection_id":173341,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07285af98012d7af00005fb3f08000f014d2e..."} 
[2026-09-05 22:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07285af98012d7af00005fb3f08000f014d2e..."} 
[2026-09-05 22:35:27] local.INFO: Processing buffer {"connection_id":173341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07285af98012d7af00005fb3f08000f014d2e..."} 
[2026-09-05 22:35:27] local.INFO: Packet analysis {"connection_id":173341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07285"} 
[2026-09-05 22:35:27] local.INFO: Extracted packet for processing {"connection_id":173341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07285"} 
[2026-09-05 22:35:27] local.INFO: GPS Element Parsed {"raw_longitude":763031552,"raw_latitude":100351752,"longitude_deg":76.3031552,"latitude_deg":10.0351752,"altitude":15,"angle":333,"satellites":46,"speed":29,"hex_longitude":"2d7af000","hex_latitude":"05fb3f08","is_valid_coordinates":true} 
[2026-09-05 22:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888703488001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399955308882952192,"note":"Value kept but may cause issues"} 
[2026-09-05 22:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863013723608961024,"note":"Value kept but may cause issues"} 
[2026-09-05 22:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788627759000,"timestamp_ms":1788627759000,"timestamp_seconds":1788627759,"priority":1,"record_length":96,"hex_timestamp":"000001a07285af98"} 
[2026-09-05 22:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:35: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-09-05 22:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 22:35:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888703488001,"66":27397,"168":206,"87":10752,"24":29,"16":399955308882952192,"45":8863013723608961024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-09-05 22:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888703488001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:35:27] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-05 22:35:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 22:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399955308882952192,"km_value":399955308882952.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863013723608961024,"description":"Unknown IO ID 45"} 
[2026-09-05 22:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888703488001,"power":27397,"unknown_168":206,"unknown_87":10752,"ignition":29,"odometer":null,"unknown_45":8863013723608961024}} 
[2026-09-05 22:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":173341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:35:27] local.INFO: GPS data processed {"connection_id":173341,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:35:27] local.INFO: Acknowledgment sent {"connection_id":173341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:35:49] local.INFO: TCP Data received {"connection_id":173342,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:35:49] local.INFO: Processing buffer {"connection_id":173342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:35:49] local.INFO: IMEI packet received {"connection_id":173342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":173342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:35:49] local.INFO: TCP Data received {"connection_id":174674,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:35:49] local.INFO: Processing buffer {"connection_id":174674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:35:49] local.INFO: IMEI packet received {"connection_id":174674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":174674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:35:54] local.INFO: TCP Data received {"connection_id":173342,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:35:54] local.INFO: Processing buffer {"connection_id":173342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:35:54] local.INFO: IMEI packet received {"connection_id":173342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":173342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:35:54] local.INFO: TCP Data received {"connection_id":173342,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07287d278012d196500071ff1280040014528..."} 
[2026-09-05 22:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07287d278012d196500071ff1280040014528..."} 
[2026-09-05 22:35:54] local.INFO: Processing buffer {"connection_id":173342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07287d278012d196500071ff1280040014528..."} 
[2026-09-05 22:35:54] local.INFO: Packet analysis {"connection_id":173342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07287"} 
[2026-09-05 22:35:54] local.INFO: Extracted packet for processing {"connection_id":173342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07287"} 
[2026-09-05 22:35:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888665088001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788627899000,"timestamp_ms":1788627899000,"timestamp_seconds":1788627899,"priority":1,"record_length":96,"hex_timestamp":"000001a07287d278"} 
[2026-09-05 22:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888665088001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888665088001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:35:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:35:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888665088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":173342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:35:55] local.INFO: GPS data processed {"connection_id":173342,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:35:55] local.INFO: Acknowledgment sent {"connection_id":173342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:35:55] local.INFO: TCP Data received {"connection_id":174674,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:35:55] local.INFO: Processing buffer {"connection_id":174674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:35:55] local.INFO: IMEI packet received {"connection_id":174674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":174674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:35:55] local.INFO: TCP Data received {"connection_id":174674,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0728793f8012d7a468005fc7d980005014a2e..."} 
[2026-09-05 22:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0728793f8012d7a468005fc7d980005014a2e..."} 
[2026-09-05 22:35:55] local.INFO: Processing buffer {"connection_id":174674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0728793f8012d7a468005fc7d980005014a2e..."} 
[2026-09-05 22:35:55] local.INFO: Packet analysis {"connection_id":174674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07287"} 
[2026-09-05 22:35:55] local.INFO: Extracted packet for processing {"connection_id":174674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07287"} 
[2026-09-05 22:35:55] local.INFO: GPS Element Parsed {"raw_longitude":762988160,"raw_latitude":100433304,"longitude_deg":76.298816,"latitude_deg":10.0433304,"altitude":5,"angle":330,"satellites":46,"speed":16,"hex_longitude":"2d7a4680","hex_latitude":"05fc7d98","is_valid_coordinates":true} 
[2026-09-05 22:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888736256001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399959779943907328,"note":"Value kept but may cause issues"} 
[2026-09-05 22:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8813333390241746944,"note":"Value kept but may cause issues"} 
[2026-09-05 22:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788627883000,"timestamp_ms":1788627883000,"timestamp_seconds":1788627883,"priority":1,"record_length":96,"hex_timestamp":"000001a0728793f8"} 
[2026-09-05 22:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22: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-09-05 22:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 22:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888736256001,"66":27365,"216":206,"87":10752,"24":16,"16":399959779943907328,"45":8813333390241746944},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,87,24,16,45]} 
[2026-09-05 22:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888736256001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:35:55] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-05 22:35:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 22:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399959779943907328,"km_value":399959779943907.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8813333390241746944,"description":"Unknown IO ID 45"} 
[2026-09-05 22:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888736256001,"power":27365,"unknown_216":206,"unknown_87":10752,"ignition":16,"odometer":null,"unknown_45":8813333390241746944}} 
[2026-09-05 22:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":174674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:35:55] local.INFO: GPS data processed {"connection_id":174674,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:35:55] local.INFO: Acknowledgment sent {"connection_id":174674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:35:59] local.INFO: TCP Data received {"connection_id":173342,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07287d278012d196500071ff1280040014528..."} 
[2026-09-05 22:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07287d278012d196500071ff1280040014528..."} 
[2026-09-05 22:35:59] local.INFO: Processing buffer {"connection_id":173342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07287d278012d196500071ff1280040014528..."} 
[2026-09-05 22:35:59] local.INFO: Packet analysis {"connection_id":173342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07287"} 
[2026-09-05 22:35:59] local.INFO: Extracted packet for processing {"connection_id":173342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07287"} 
[2026-09-05 22:35:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888665088001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788627899000,"timestamp_ms":1788627899000,"timestamp_seconds":1788627899,"priority":1,"record_length":96,"hex_timestamp":"000001a07287d278"} 
[2026-09-05 22:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:35:59] 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-09-05 22:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888665088001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888665088001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:35:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:35:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888665088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":173342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:35:59] local.INFO: GPS data processed {"connection_id":173342,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:35:59] local.INFO: Acknowledgment sent {"connection_id":173342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:36:29] local.INFO: TCP Data received {"connection_id":174674,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07287d278012d7a350005fc9bd0000401482f..."} 
[2026-09-05 22:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07287d278012d7a350005fc9bd0000401482f..."} 
[2026-09-05 22:36:29] local.INFO: Processing buffer {"connection_id":174674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07287d278012d7a350005fc9bd0000401482f..."} 
[2026-09-05 22:36:29] local.INFO: Packet analysis {"connection_id":174674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07287"} 
[2026-09-05 22:36:29] local.INFO: Extracted packet for processing {"connection_id":174674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07287"} 
[2026-09-05 22:36:29] local.INFO: GPS Element Parsed {"raw_longitude":762983680,"raw_latitude":100441040,"longitude_deg":76.298368,"latitude_deg":10.044104,"altitude":4,"angle":328,"satellites":47,"speed":30,"hex_longitude":"2d7a3500","hex_latitude":"05fc9bd0","is_valid_coordinates":true} 
[2026-09-05 22:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888738048001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399960213735604224,"note":"Value kept but may cause issues"} 
[2026-09-05 22:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8810870484196235264,"note":"Value kept but may cause issues"} 
[2026-09-05 22:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788627899000,"timestamp_ms":1788627899000,"timestamp_seconds":1788627899,"priority":1,"record_length":96,"hex_timestamp":"000001a07287d278"} 
[2026-09-05 22:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:36: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-09-05 22:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-05 22:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":174674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":174674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":174674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888738048001,"66":27397,"216":206,"87":10752,"24":30,"16":399960213735604224,"45":8810870484196235264},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,87,24,16,45]} 
[2026-09-05 22:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888738048001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:36:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-05 22:36:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 22:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399960213735604224,"km_value":399960213735604.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8810870484196235264,"description":"Unknown IO ID 45"} 
[2026-09-05 22:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888738048001,"power":27397,"unknown_216":206,"unknown_87":10752,"ignition":30,"odometer":null,"unknown_45":8810870484196235264}} 
[2026-09-05 22:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":174674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:36:29] local.INFO: GPS data processed {"connection_id":174674,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:36:29] local.INFO: Acknowledgment sent {"connection_id":174674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:36:44] local.INFO: TCP Data received {"connection_id":174675,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:36:44] local.INFO: Processing buffer {"connection_id":174675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:36:44] local.INFO: IMEI packet received {"connection_id":174675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":174675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:36:49] local.INFO: TCP Data received {"connection_id":174675,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:36:49] local.INFO: Processing buffer {"connection_id":174675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:36:49] local.INFO: IMEI packet received {"connection_id":174675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":174675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:36:50] local.INFO: TCP Data received {"connection_id":174675,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07287d278012d196500071ff1280040014528..."} 
[2026-09-05 22:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07287d278012d196500071ff1280040014528..."} 
[2026-09-05 22:36:50] local.INFO: Processing buffer {"connection_id":174675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07287d278012d196500071ff1280040014528..."} 
[2026-09-05 22:36:50] local.INFO: Packet analysis {"connection_id":174675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07287"} 
[2026-09-05 22:36:50] local.INFO: Extracted packet for processing {"connection_id":174675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07287"} 
[2026-09-05 22:36:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888665088001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788627899000,"timestamp_ms":1788627899000,"timestamp_seconds":1788627899,"priority":1,"record_length":96,"hex_timestamp":"000001a07287d278"} 
[2026-09-05 22:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:36:50] 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-09-05 22:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:36:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888665088001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888665088001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:36:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:36:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888665088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":174675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:36:50] local.INFO: GPS data processed {"connection_id":174675,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:36:50] local.INFO: Acknowledgment sent {"connection_id":174675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:37:01] local.INFO: TCP Data received {"connection_id":173343,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:37:01] local.INFO: Processing buffer {"connection_id":173343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:37:01] local.INFO: IMEI packet received {"connection_id":173343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":173343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:37:06] local.INFO: TCP Data received {"connection_id":173343,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:37:06] local.INFO: Processing buffer {"connection_id":173343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:37:06] local.INFO: IMEI packet received {"connection_id":173343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":173343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:37:07] local.INFO: TCP Data received {"connection_id":173343,"ip":"42.106.6.15","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 22:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173343,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 22:37:07] local.INFO: Processing buffer {"connection_id":173343,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-05 22:37:07] local.INFO: IMEI packet received {"connection_id":173343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":173343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:37:21] local.INFO: TCP Data received {"connection_id":174675,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07287d278012d196500071ff1280040014528..."} 
[2026-09-05 22:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07287d278012d196500071ff1280040014528..."} 
[2026-09-05 22:37:21] local.INFO: Processing buffer {"connection_id":174675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07287d278012d196500071ff1280040014528..."} 
[2026-09-05 22:37:21] local.INFO: Packet analysis {"connection_id":174675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07287"} 
[2026-09-05 22:37:21] local.INFO: Extracted packet for processing {"connection_id":174675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07287"} 
[2026-09-05 22:37:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888665088001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788627899000,"timestamp_ms":1788627899000,"timestamp_seconds":1788627899,"priority":1,"record_length":96,"hex_timestamp":"000001a07287d278"} 
[2026-09-05 22:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:37:21] 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-09-05 22:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888665088001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888665088001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:37:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:37:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888665088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":174675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:37:21] local.INFO: GPS data processed {"connection_id":174675,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:37:21] local.INFO: Acknowledgment sent {"connection_id":174675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:37:38] local.INFO: TCP Data received {"connection_id":171982,"ip":"117.224.148.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:37:38] local.INFO: Processing buffer {"connection_id":171982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:37:38] local.INFO: IMEI packet received {"connection_id":171982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 22:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":171982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:37:41] local.INFO: TCP Data received {"connection_id":171982,"ip":"117.224.148.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:37:41] local.INFO: Processing buffer {"connection_id":171982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:37:41] local.INFO: IMEI packet received {"connection_id":171982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 22:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":171982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:37:42] local.INFO: TCP Data received {"connection_id":171982,"ip":"117.224.148.37","data_length":795,"data_hex":"000000000000030f8e0a000001a07288d060012cb4f9000917f0a00243015928..."} 
[2026-09-05 22:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07288d060012cb4f9000917f0a00243015928..."} 
[2026-09-05 22:37:42] local.INFO: Processing buffer {"connection_id":171982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07288d060012cb4f9000917f0a00243015928..."} 
[2026-09-05 22:37:42] local.INFO: Packet analysis {"connection_id":171982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07288"} 
[2026-09-05 22:37:42] local.INFO: Extracted packet for processing {"connection_id":171982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07288"} 
[2026-09-05 22:37:42] local.INFO: GPS Element Parsed {"raw_longitude":750057728,"raw_latitude":152563872,"longitude_deg":75.0057728,"latitude_deg":15.2563872,"altitude":579,"angle":345,"satellites":40,"speed":40,"hex_longitude":"2cb4f900","hex_latitude":"0917f0a0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 22:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888757760001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1973142335520768,"note":"Value kept but may cause issues"} 
[2026-09-05 22:37:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5405515782440280062,"note":"Value kept but may cause issues"} 
[2026-09-05 22:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788627964000,"timestamp_ms":1788627964000,"timestamp_seconds":1788627964,"priority":1,"record_length":96,"hex_timestamp":"000001a07288d060"} 
[2026-09-05 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-09-05 22:37: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-09-05 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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-05 22:37:42] 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-09-05 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-09-05 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-09-05 22:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":171982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":171982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":171982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-05 22:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.148.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-05 22:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-05 22:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888757760001,"66":27745,"202":206,"9":54784,"24":40,"16":1973142335520768,"44":-5405515782440280062},"client_ip":"117.224.148.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,9,24,16,44]} 
[2026-09-05 22:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-05 22:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-05 22:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888757760001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:37:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":54784,"description":"Unknown IO ID 9"} 
[2026-09-05 22:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1973142335520768,"km_value":1973142335520.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:37:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5405515782440280062,"description":"Unknown IO ID 44"} 
[2026-09-05 22:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888757760001,"power":27745,"mcc":206,"unknown_9":54784,"ignition":40,"odometer":null,"unknown_44":-5405515782440280062}} 
[2026-09-05 22:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":171982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771672,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:37:42] local.INFO: GPS data processed {"connection_id":171982,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:37:42] local.INFO: Acknowledgment sent {"connection_id":171982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:37:44] local.INFO: TCP Data received {"connection_id":172232,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:37:44] local.INFO: Processing buffer {"connection_id":172232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:37:44] local.INFO: IMEI packet received {"connection_id":172232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":172232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:37:49] local.INFO: TCP Data received {"connection_id":172232,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:37:49] local.INFO: Processing buffer {"connection_id":172232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:37:49] local.INFO: IMEI packet received {"connection_id":172232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":172232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:37:49] local.INFO: TCP Data received {"connection_id":172232,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07287d278012d196500071ff1280040014528..."} 
[2026-09-05 22:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07287d278012d196500071ff1280040014528..."} 
[2026-09-05 22:37:49] local.INFO: Processing buffer {"connection_id":172232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07287d278012d196500071ff1280040014528..."} 
[2026-09-05 22:37:49] local.INFO: Packet analysis {"connection_id":172232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07287"} 
[2026-09-05 22:37:49] local.INFO: Extracted packet for processing {"connection_id":172232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07287"} 
[2026-09-05 22:37:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888665088001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788627899000,"timestamp_ms":1788627899000,"timestamp_seconds":1788627899,"priority":1,"record_length":96,"hex_timestamp":"000001a07287d278"} 
[2026-09-05 22:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:37: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-09-05 22:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888665088001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888665088001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:37:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:37:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888665088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":172232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:37:50] local.INFO: GPS data processed {"connection_id":172232,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:37:50] local.INFO: Acknowledgment sent {"connection_id":172232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:38:21] local.INFO: TCP Data received {"connection_id":172232,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07287d278012d196500071ff1280040014528..."} 
[2026-09-05 22:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07287d278012d196500071ff1280040014528..."} 
[2026-09-05 22:38:21] local.INFO: Processing buffer {"connection_id":172232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07287d278012d196500071ff1280040014528..."} 
[2026-09-05 22:38:21] local.INFO: Packet analysis {"connection_id":172232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07287"} 
[2026-09-05 22:38:21] local.INFO: Extracted packet for processing {"connection_id":172232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07287"} 
[2026-09-05 22:38:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888665088001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788627899000,"timestamp_ms":1788627899000,"timestamp_seconds":1788627899,"priority":1,"record_length":96,"hex_timestamp":"000001a07287d278"} 
[2026-09-05 22:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:38:21] 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-09-05 22:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888665088001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888665088001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:38:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:38:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888665088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":172232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:38:21] local.INFO: GPS data processed {"connection_id":172232,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:38:21] local.INFO: Acknowledgment sent {"connection_id":172232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:38:43] local.INFO: TCP Data received {"connection_id":173345,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:38:43] local.INFO: Processing buffer {"connection_id":173345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:38:43] local.INFO: IMEI packet received {"connection_id":173345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":173345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:38:49] local.INFO: TCP Data received {"connection_id":173345,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:38:49] local.INFO: Processing buffer {"connection_id":173345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:38:49] local.INFO: IMEI packet received {"connection_id":173345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":173345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:38:49] local.INFO: TCP Data received {"connection_id":173345,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a07287d278012d196500071ff1280040014528..."} 
[2026-09-05 22:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07287d278012d196500071ff1280040014528..."} 
[2026-09-05 22:38:49] local.INFO: Processing buffer {"connection_id":173345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07287d278012d196500071ff1280040014528..."} 
[2026-09-05 22:38:49] local.INFO: Packet analysis {"connection_id":173345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07287"} 
[2026-09-05 22:38:49] local.INFO: Extracted packet for processing {"connection_id":173345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07287"} 
[2026-09-05 22:38:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888665088001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788627899000,"timestamp_ms":1788627899000,"timestamp_seconds":1788627899,"priority":1,"record_length":96,"hex_timestamp":"000001a07287d278"} 
[2026-09-05 22:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:38: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-09-05 22:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888665088001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888665088001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:38:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:38:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888665088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":173345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:38:50] local.INFO: GPS data processed {"connection_id":173345,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:38:50] local.INFO: Acknowledgment sent {"connection_id":173345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:39:21] local.INFO: TCP Data received {"connection_id":173345,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a07287d278012d196500071ff1280040014528..."} 
[2026-09-05 22:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07287d278012d196500071ff1280040014528..."} 
[2026-09-05 22:39:21] local.INFO: Processing buffer {"connection_id":173345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07287d278012d196500071ff1280040014528..."} 
[2026-09-05 22:39:21] local.INFO: Packet analysis {"connection_id":173345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07287"} 
[2026-09-05 22:39:21] local.INFO: Extracted packet for processing {"connection_id":173345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07287"} 
[2026-09-05 22:39:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888665088001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788627899000,"timestamp_ms":1788627899000,"timestamp_seconds":1788627899,"priority":1,"record_length":96,"hex_timestamp":"000001a07287d278"} 
[2026-09-05 22:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:39:21] 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-09-05 22:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888665088001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888665088001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:39:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:39:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888665088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":173345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:39:21] local.INFO: GPS data processed {"connection_id":173345,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:39:21] local.INFO: Acknowledgment sent {"connection_id":173345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:39:43] local.INFO: TCP Data received {"connection_id":171983,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:39:43] local.INFO: Processing buffer {"connection_id":171983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:39:43] local.INFO: IMEI packet received {"connection_id":171983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":171983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:39:49] local.INFO: TCP Data received {"connection_id":171983,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:39:49] local.INFO: Processing buffer {"connection_id":171983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:39:49] local.INFO: IMEI packet received {"connection_id":171983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":171983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:39:49] local.INFO: TCP Data received {"connection_id":171983,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07287d278012d196500071ff1280040014528..."} 
[2026-09-05 22:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07287d278012d196500071ff1280040014528..."} 
[2026-09-05 22:39:49] local.INFO: Processing buffer {"connection_id":171983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07287d278012d196500071ff1280040014528..."} 
[2026-09-05 22:39:49] local.INFO: Packet analysis {"connection_id":171983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07287"} 
[2026-09-05 22:39:49] local.INFO: Extracted packet for processing {"connection_id":171983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07287"} 
[2026-09-05 22:39:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888665088001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788627899000,"timestamp_ms":1788627899000,"timestamp_seconds":1788627899,"priority":1,"record_length":96,"hex_timestamp":"000001a07287d278"} 
[2026-09-05 22:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:39: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-09-05 22:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":171983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":171983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":171983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888665088001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888665088001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:39:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:39:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888665088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":171983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:39:50] local.INFO: GPS data processed {"connection_id":171983,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:39:50] local.INFO: Acknowledgment sent {"connection_id":171983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:40:21] local.INFO: TCP Data received {"connection_id":171983,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07287d278012d196500071ff1280040014528..."} 
[2026-09-05 22:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07287d278012d196500071ff1280040014528..."} 
[2026-09-05 22:40:21] local.INFO: Processing buffer {"connection_id":171983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07287d278012d196500071ff1280040014528..."} 
[2026-09-05 22:40:21] local.INFO: Packet analysis {"connection_id":171983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07287"} 
[2026-09-05 22:40:21] local.INFO: Extracted packet for processing {"connection_id":171983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07287"} 
[2026-09-05 22:40:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888665088001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788627899000,"timestamp_ms":1788627899000,"timestamp_seconds":1788627899,"priority":1,"record_length":96,"hex_timestamp":"000001a07287d278"} 
[2026-09-05 22:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:40:21] 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-09-05 22:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888665088001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888665088001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:40:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:40:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888665088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":171983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:40:21] local.INFO: GPS data processed {"connection_id":171983,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:40:21] local.INFO: Acknowledgment sent {"connection_id":171983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:40:49] local.INFO: TCP Data received {"connection_id":171984,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:40:49] local.INFO: Processing buffer {"connection_id":171984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:40:49] local.INFO: IMEI packet received {"connection_id":171984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":171984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:40:54] local.INFO: TCP Data received {"connection_id":171984,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:40:54] local.INFO: Processing buffer {"connection_id":171984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:40:54] local.INFO: IMEI packet received {"connection_id":171984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":171984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:40:54] local.INFO: TCP Data received {"connection_id":171984,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0728c6a40012d196500071ff1280040014526..."} 
[2026-09-05 22:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0728c6a40012d196500071ff1280040014526..."} 
[2026-09-05 22:40:54] local.INFO: Processing buffer {"connection_id":171984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0728c6a40012d196500071ff1280040014526..."} 
[2026-09-05 22:40:54] local.INFO: Packet analysis {"connection_id":171984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0728c"} 
[2026-09-05 22:40:54] local.INFO: Extracted packet for processing {"connection_id":171984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0728c"} 
[2026-09-05 22:40:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888742144001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788628200000,"timestamp_ms":1788628200000,"timestamp_seconds":1788628200,"priority":1,"record_length":96,"hex_timestamp":"000001a0728c6a40"} 
[2026-09-05 22:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888742144001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888742144001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:40:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:40:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888742144001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":171984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:40:55] local.INFO: GPS data processed {"connection_id":171984,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:40:55] local.INFO: Acknowledgment sent {"connection_id":171984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:40:59] local.INFO: TCP Data received {"connection_id":171984,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0728c6a40012d196500071ff1280040014526..."} 
[2026-09-05 22:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0728c6a40012d196500071ff1280040014526..."} 
[2026-09-05 22:40:59] local.INFO: Processing buffer {"connection_id":171984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0728c6a40012d196500071ff1280040014526..."} 
[2026-09-05 22:40:59] local.INFO: Packet analysis {"connection_id":171984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0728c"} 
[2026-09-05 22:40:59] local.INFO: Extracted packet for processing {"connection_id":171984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0728c"} 
[2026-09-05 22:40:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888742144001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788628200000,"timestamp_ms":1788628200000,"timestamp_seconds":1788628200,"priority":1,"record_length":96,"hex_timestamp":"000001a0728c6a40"} 
[2026-09-05 22:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:40:59] 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-09-05 22:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":171984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":171984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":171984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888742144001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888742144001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:40:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:40:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888742144001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":171984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:40:59] local.INFO: GPS data processed {"connection_id":171984,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:40:59] local.INFO: Acknowledgment sent {"connection_id":171984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:41:44] local.INFO: TCP Data received {"connection_id":173347,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:41:44] local.INFO: Processing buffer {"connection_id":173347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:41:44] local.INFO: IMEI packet received {"connection_id":173347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":173347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:41:49] local.INFO: TCP Data received {"connection_id":173347,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:41:49] local.INFO: Processing buffer {"connection_id":173347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:41:49] local.INFO: IMEI packet received {"connection_id":173347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":173347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:41:49] local.INFO: TCP Data received {"connection_id":173347,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0728c6a40012d196500071ff1280040014526..."} 
[2026-09-05 22:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0728c6a40012d196500071ff1280040014526..."} 
[2026-09-05 22:41:49] local.INFO: Processing buffer {"connection_id":173347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0728c6a40012d196500071ff1280040014526..."} 
[2026-09-05 22:41:49] local.INFO: Packet analysis {"connection_id":173347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0728c"} 
[2026-09-05 22:41:49] local.INFO: Extracted packet for processing {"connection_id":173347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0728c"} 
[2026-09-05 22:41:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888742144001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788628200000,"timestamp_ms":1788628200000,"timestamp_seconds":1788628200,"priority":1,"record_length":96,"hex_timestamp":"000001a0728c6a40"} 
[2026-09-05 22:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:41: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-09-05 22:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888742144001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888742144001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:41:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:41:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888742144001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":173347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:41:50] local.INFO: GPS data processed {"connection_id":173347,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:41:50] local.INFO: Acknowledgment sent {"connection_id":173347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:42:10] local.INFO: TCP Data received {"connection_id":172234,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:42:10] local.INFO: Processing buffer {"connection_id":172234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:42:10] local.INFO: IMEI packet received {"connection_id":172234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":172234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:42:10] local.INFO: TCP Data received {"connection_id":172234,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0728d2d90012d78338006007820000701362c..."} 
[2026-09-05 22:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0728d2d90012d78338006007820000701362c..."} 
[2026-09-05 22:42:10] local.INFO: Processing buffer {"connection_id":172234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0728d2d90012d78338006007820000701362c..."} 
[2026-09-05 22:42:10] local.INFO: Packet analysis {"connection_id":172234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0728d"} 
[2026-09-05 22:42:10] local.INFO: Extracted packet for processing {"connection_id":172234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0728d"} 
[2026-09-05 22:42:10] local.INFO: GPS Element Parsed {"raw_longitude":762852224,"raw_latitude":100694048,"longitude_deg":76.2852224,"latitude_deg":10.0694048,"altitude":7,"angle":310,"satellites":44,"speed":42,"hex_longitude":"2d783380","hex_latitude":"06007820","is_valid_coordinates":true} 
[2026-09-05 22:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888829696001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399974322703171584,"note":"Value kept but may cause issues"} 
[2026-09-05 22:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8669147833487529984,"note":"Value kept but may cause issues"} 
[2026-09-05 22:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788628250000,"timestamp_ms":1788628250000,"timestamp_seconds":1788628250,"priority":1,"record_length":96,"hex_timestamp":"000001a0728d2d90"} 
[2026-09-05 22:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 22:42: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-09-05 22:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":172234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":172234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":172234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888829696001,"66":27332,"217":206,"87":10752,"24":42,"16":399974322703171584,"45":8669147833487529984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,87,24,16,45]} 
[2026-09-05 22:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888829696001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:42:10] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-05 22:42:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 22:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399974322703171584,"km_value":399974322703171.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8669147833487529984,"description":"Unknown IO ID 45"} 
[2026-09-05 22:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888829696001,"power":27332,"unknown_217":206,"unknown_87":10752,"ignition":42,"odometer":null,"unknown_45":8669147833487529984}} 
[2026-09-05 22:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":172234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:42:10] local.INFO: GPS data processed {"connection_id":172234,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:42:10] local.INFO: Acknowledgment sent {"connection_id":172234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:42:21] local.INFO: TCP Data received {"connection_id":173347,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0728c6a40012d196500071ff1280040014526..."} 
[2026-09-05 22:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0728c6a40012d196500071ff1280040014526..."} 
[2026-09-05 22:42:21] local.INFO: Processing buffer {"connection_id":173347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0728c6a40012d196500071ff1280040014526..."} 
[2026-09-05 22:42:21] local.INFO: Packet analysis {"connection_id":173347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0728c"} 
[2026-09-05 22:42:21] local.INFO: Extracted packet for processing {"connection_id":173347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0728c"} 
[2026-09-05 22:42:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888742144001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788628200000,"timestamp_ms":1788628200000,"timestamp_seconds":1788628200,"priority":1,"record_length":96,"hex_timestamp":"000001a0728c6a40"} 
[2026-09-05 22:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:42:21] 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-09-05 22:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888742144001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888742144001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:42:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:42:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888742144001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":173347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:42:21] local.INFO: GPS data processed {"connection_id":173347,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:42:21] local.INFO: Acknowledgment sent {"connection_id":173347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:42:44] local.INFO: TCP Data received {"connection_id":172235,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:42:44] local.INFO: Processing buffer {"connection_id":172235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:42:44] local.INFO: IMEI packet received {"connection_id":172235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":172235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:42:49] local.INFO: TCP Data received {"connection_id":172235,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:42:49] local.INFO: Processing buffer {"connection_id":172235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:42:49] local.INFO: IMEI packet received {"connection_id":172235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":172235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:42:49] local.INFO: TCP Data received {"connection_id":171985,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:42:49] local.INFO: Processing buffer {"connection_id":171985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:42:49] local.INFO: IMEI packet received {"connection_id":171985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":171985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:42:50] local.INFO: TCP Data received {"connection_id":172235,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0728c6a40012d196500071ff1280040014526..."} 
[2026-09-05 22:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0728c6a40012d196500071ff1280040014526..."} 
[2026-09-05 22:42:50] local.INFO: Processing buffer {"connection_id":172235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0728c6a40012d196500071ff1280040014526..."} 
[2026-09-05 22:42:50] local.INFO: Packet analysis {"connection_id":172235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0728c"} 
[2026-09-05 22:42:50] local.INFO: Extracted packet for processing {"connection_id":172235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0728c"} 
[2026-09-05 22:42:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888742144001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788628200000,"timestamp_ms":1788628200000,"timestamp_seconds":1788628200,"priority":1,"record_length":96,"hex_timestamp":"000001a0728c6a40"} 
[2026-09-05 22:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:42:50] 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-09-05 22:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888742144001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888742144001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:42:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:42:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888742144001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":172235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:42:50] local.INFO: GPS data processed {"connection_id":172235,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:42:50] local.INFO: Acknowledgment sent {"connection_id":172235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:42:55] local.INFO: TCP Data received {"connection_id":171985,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:42:55] local.INFO: Processing buffer {"connection_id":171985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:42:55] local.INFO: IMEI packet received {"connection_id":171985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":171985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:42:56] local.INFO: TCP Data received {"connection_id":171985,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0728d50b8012d78178006009048000b013730..."} 
[2026-09-05 22:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0728d50b8012d78178006009048000b013730..."} 
[2026-09-05 22:42:56] local.INFO: Processing buffer {"connection_id":171985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0728d50b8012d78178006009048000b013730..."} 
[2026-09-05 22:42:56] local.INFO: Packet analysis {"connection_id":171985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0728d"} 
[2026-09-05 22:42:56] local.INFO: Extracted packet for processing {"connection_id":171985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0728d"} 
[2026-09-05 22:42:56] local.INFO: GPS Element Parsed {"raw_longitude":762845056,"raw_latitude":100700232,"longitude_deg":76.2845056,"latitude_deg":10.0700232,"altitude":11,"angle":311,"satellites":48,"speed":38,"hex_longitude":"2d781780","hex_latitude":"06009048","is_valid_coordinates":true} 
[2026-09-05 22:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888832000001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399974777969704960,"note":"Value kept but may cause issues"} 
[2026-09-05 22:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8661407271629627392,"note":"Value kept but may cause issues"} 
[2026-09-05 22:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788628259000,"timestamp_ms":1788628259000,"timestamp_seconds":1788628259,"priority":1,"record_length":96,"hex_timestamp":"000001a0728d50b8"} 
[2026-09-05 22:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-05 22:42:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:42:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888832000001,"66":27332,"217":206,"87":10752,"24":38,"16":399974777969704960,"45":8661407271629627392},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,87,24,16,45]} 
[2026-09-05 22:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888832000001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:42:56] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-05 22:42:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-09-05 22:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399974777969704960,"km_value":399974777969704.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8661407271629627392,"description":"Unknown IO ID 45"} 
[2026-09-05 22:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888832000001,"power":27332,"unknown_217":206,"unknown_87":10752,"ignition":38,"odometer":null,"unknown_45":8661407271629627392}} 
[2026-09-05 22:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":171985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:42:56] local.INFO: GPS data processed {"connection_id":171985,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:42:56] local.INFO: Acknowledgment sent {"connection_id":171985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:43:21] local.INFO: TCP Data received {"connection_id":172235,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0728c6a40012d196500071ff1280040014526..."} 
[2026-09-05 22:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0728c6a40012d196500071ff1280040014526..."} 
[2026-09-05 22:43:21] local.INFO: Processing buffer {"connection_id":172235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0728c6a40012d196500071ff1280040014526..."} 
[2026-09-05 22:43:21] local.INFO: Packet analysis {"connection_id":172235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0728c"} 
[2026-09-05 22:43:21] local.INFO: Extracted packet for processing {"connection_id":172235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0728c"} 
[2026-09-05 22:43:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888742144001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788628200000,"timestamp_ms":1788628200000,"timestamp_seconds":1788628200,"priority":1,"record_length":96,"hex_timestamp":"000001a0728c6a40"} 
[2026-09-05 22:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:43:21] 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-09-05 22:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888742144001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888742144001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:43:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:43:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888742144001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":172235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:43:21] local.INFO: GPS data processed {"connection_id":172235,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:43:21] local.INFO: Acknowledgment sent {"connection_id":172235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:43:27] local.INFO: TCP Data received {"connection_id":171985,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0728eb818012d76e80006019db80005013630..."} 
[2026-09-05 22:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0728eb818012d76e80006019db80005013630..."} 
[2026-09-05 22:43:27] local.INFO: Processing buffer {"connection_id":171985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0728eb818012d76e80006019db80005013630..."} 
[2026-09-05 22:43:27] local.INFO: Packet analysis {"connection_id":171985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0728e"} 
[2026-09-05 22:43:27] local.INFO: Extracted packet for processing {"connection_id":171985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0728e"} 
[2026-09-05 22:43:27] local.INFO: GPS Element Parsed {"raw_longitude":762767360,"raw_latitude":100769208,"longitude_deg":76.276736,"latitude_deg":10.0769208,"altitude":5,"angle":310,"satellites":48,"speed":54,"hex_longitude":"2d76e800","hex_latitude":"06019db8","is_valid_coordinates":true} 
[2026-09-05 22: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-09-05 22:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888856064001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399979773016670208,"note":"Value kept but may cause issues"} 
[2026-09-05 22:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8575627772494663680,"note":"Value kept but may cause issues"} 
[2026-09-05 22:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788628351000,"timestamp_ms":1788628351000,"timestamp_seconds":1788628351,"priority":1,"record_length":96,"hex_timestamp":"000001a0728eb818"} 
[2026-09-05 22:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:43: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-09-05 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-05 22:43:27] 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-09-05 22: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-09-05 22:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888856064001,"66":27310,"188":206,"79":47616,"24":54,"16":399979773016670208,"45":8575627772494663680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,79,24,16,45]} 
[2026-09-05 22:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888856064001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:43:27] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-05 22:43:27] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399979773016670208,"km_value":399979773016670.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8575627772494663680,"description":"Unknown IO ID 45"} 
[2026-09-05 22:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888856064001,"power":27310,"unknown_188":206,"unknown_79":47616,"ignition":54,"odometer":null,"unknown_45":8575627772494663680}} 
[2026-09-05 22:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":171985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:43:27] local.INFO: GPS data processed {"connection_id":171985,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:43:27] local.INFO: Acknowledgment sent {"connection_id":171985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:43:43] local.INFO: TCP Data received {"connection_id":173348,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:43:43] local.INFO: Processing buffer {"connection_id":173348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:43:43] local.INFO: IMEI packet received {"connection_id":173348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":173348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:43:49] local.INFO: TCP Data received {"connection_id":173348,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:43:49] local.INFO: Processing buffer {"connection_id":173348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:43:49] local.INFO: IMEI packet received {"connection_id":173348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":173348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:43:49] local.INFO: TCP Data received {"connection_id":173349,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:43:49] local.INFO: Processing buffer {"connection_id":173349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:43:49] local.INFO: IMEI packet received {"connection_id":173349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":173349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:43:49] local.INFO: TCP Data received {"connection_id":173348,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0728c6a40012d196500071ff1280040014526..."} 
[2026-09-05 22:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0728c6a40012d196500071ff1280040014526..."} 
[2026-09-05 22:43:49] local.INFO: Processing buffer {"connection_id":173348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0728c6a40012d196500071ff1280040014526..."} 
[2026-09-05 22:43:49] local.INFO: Packet analysis {"connection_id":173348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0728c"} 
[2026-09-05 22:43:49] local.INFO: Extracted packet for processing {"connection_id":173348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0728c"} 
[2026-09-05 22:43:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22: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-09-05 22:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888742144001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788628200000,"timestamp_ms":1788628200000,"timestamp_seconds":1788628200,"priority":1,"record_length":96,"hex_timestamp":"000001a0728c6a40"} 
[2026-09-05 22:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:43: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-09-05 22: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-09-05 22:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888742144001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888742144001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:43:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:43:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888742144001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":173348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:43:50] local.INFO: GPS data processed {"connection_id":173348,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:43:50] local.INFO: Acknowledgment sent {"connection_id":173348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:43:55] local.INFO: TCP Data received {"connection_id":173349,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:43:55] local.INFO: Processing buffer {"connection_id":173349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:43:55] local.INFO: IMEI packet received {"connection_id":173349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":173349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:43:55] local.INFO: TCP Data received {"connection_id":173349,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0728ed370012d76cac00601b7700002013831..."} 
[2026-09-05 22:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0728ed370012d76cac00601b7700002013831..."} 
[2026-09-05 22:43:55] local.INFO: Processing buffer {"connection_id":173349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0728ed370012d76cac00601b7700002013831..."} 
[2026-09-05 22:43:55] local.INFO: Packet analysis {"connection_id":173349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0728e"} 
[2026-09-05 22:43:55] local.INFO: Extracted packet for processing {"connection_id":173349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0728e"} 
[2026-09-05 22:43:55] local.INFO: GPS Element Parsed {"raw_longitude":762759872,"raw_latitude":100775792,"longitude_deg":76.2759872,"latitude_deg":10.0775792,"altitude":2,"angle":312,"satellites":49,"speed":56,"hex_longitude":"2d76cac0","hex_latitude":"0601b770","is_valid_coordinates":true} 
[2026-09-05 22:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888857856001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399980249758040064,"note":"Value kept but may cause issues"} 
[2026-09-05 22:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8568098316869285888,"note":"Value kept but may cause issues"} 
[2026-09-05 22:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788628358000,"timestamp_ms":1788628358000,"timestamp_seconds":1788628358,"priority":1,"record_length":96,"hex_timestamp":"000001a0728ed370"} 
[2026-09-05 22:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-05 22:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888857856001,"66":27321,"188":206,"79":47616,"24":56,"16":399980249758040064,"45":8568098316869285888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,79,24,16,45]} 
[2026-09-05 22:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888857856001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:43:55] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-05 22:43:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399980249758040064,"km_value":399980249758040.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8568098316869285888,"description":"Unknown IO ID 45"} 
[2026-09-05 22:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888857856001,"power":27321,"unknown_188":206,"unknown_79":47616,"ignition":56,"odometer":null,"unknown_45":8568098316869285888}} 
[2026-09-05 22:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":173349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:43:55] local.INFO: GPS data processed {"connection_id":173349,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:43:55] local.INFO: Acknowledgment sent {"connection_id":173349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:44:21] local.INFO: TCP Data received {"connection_id":173348,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0728c6a40012d196500071ff1280040014526..."} 
[2026-09-05 22:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0728c6a40012d196500071ff1280040014526..."} 
[2026-09-05 22:44:21] local.INFO: Processing buffer {"connection_id":173348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0728c6a40012d196500071ff1280040014526..."} 
[2026-09-05 22:44:21] local.INFO: Packet analysis {"connection_id":173348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0728c"} 
[2026-09-05 22:44:21] local.INFO: Extracted packet for processing {"connection_id":173348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0728c"} 
[2026-09-05 22:44:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888742144001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788628200000,"timestamp_ms":1788628200000,"timestamp_seconds":1788628200,"priority":1,"record_length":96,"hex_timestamp":"000001a0728c6a40"} 
[2026-09-05 22:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:44:21] 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-09-05 22:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888742144001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888742144001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:44:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:44:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888742144001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":173348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:44:21] local.INFO: GPS data processed {"connection_id":173348,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:44:21] local.INFO: Acknowledgment sent {"connection_id":173348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:44:27] local.INFO: TCP Data received {"connection_id":173349,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0728eeec8012d76b0400601cf080003013731..."} 
[2026-09-05 22:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0728eeec8012d76b0400601cf080003013731..."} 
[2026-09-05 22:44:27] local.INFO: Processing buffer {"connection_id":173349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0728eeec8012d76b0400601cf080003013731..."} 
[2026-09-05 22:44:27] local.INFO: Packet analysis {"connection_id":173349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0728e"} 
[2026-09-05 22:44:27] local.INFO: Extracted packet for processing {"connection_id":173349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0728e"} 
[2026-09-05 22:44:27] local.INFO: GPS Element Parsed {"raw_longitude":762753088,"raw_latitude":100781832,"longitude_deg":76.2753088,"latitude_deg":10.0781832,"altitude":3,"angle":311,"satellites":49,"speed":46,"hex_longitude":"2d76b040","hex_latitude":"0601cf08","is_valid_coordinates":true} 
[2026-09-05 22:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888859648001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399980687844704256,"note":"Value kept but may cause issues"} 
[2026-09-05 22:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8559865173802184704,"note":"Value kept but may cause issues"} 
[2026-09-05 22:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788628365000,"timestamp_ms":1788628365000,"timestamp_seconds":1788628365,"priority":1,"record_length":96,"hex_timestamp":"000001a0728eeec8"} 
[2026-09-05 22:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:44: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-09-05 22:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 22:44:27] 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-09-05 22:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888859648001,"66":27397,"188":206,"79":47616,"24":46,"16":399980687844704256,"45":8559865173802184704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,79,24,16,45]} 
[2026-09-05 22:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888859648001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:44:27] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-05 22:44:27] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399980687844704256,"km_value":399980687844704.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8559865173802184704,"description":"Unknown IO ID 45"} 
[2026-09-05 22:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888859648001,"power":27397,"unknown_188":206,"unknown_79":47616,"ignition":46,"odometer":null,"unknown_45":8559865173802184704}} 
[2026-09-05 22:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":173349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:44:27] local.INFO: GPS data processed {"connection_id":173349,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:44:27] local.INFO: Acknowledgment sent {"connection_id":173349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:44:43] local.INFO: TCP Data received {"connection_id":172236,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:44:43] local.INFO: Processing buffer {"connection_id":172236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:44:43] local.INFO: IMEI packet received {"connection_id":172236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":172236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:44:49] local.INFO: TCP Data received {"connection_id":172236,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:44:49] local.INFO: Processing buffer {"connection_id":172236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:44:49] local.INFO: IMEI packet received {"connection_id":172236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":172236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:44:50] local.INFO: TCP Data received {"connection_id":172236,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0728c6a40012d196500071ff1280040014526..."} 
[2026-09-05 22:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0728c6a40012d196500071ff1280040014526..."} 
[2026-09-05 22:44:50] local.INFO: Processing buffer {"connection_id":172236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0728c6a40012d196500071ff1280040014526..."} 
[2026-09-05 22:44:50] local.INFO: Packet analysis {"connection_id":172236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0728c"} 
[2026-09-05 22:44:50] local.INFO: Extracted packet for processing {"connection_id":172236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0728c"} 
[2026-09-05 22:44:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888742144001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788628200000,"timestamp_ms":1788628200000,"timestamp_seconds":1788628200,"priority":1,"record_length":96,"hex_timestamp":"000001a0728c6a40"} 
[2026-09-05 22:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:44:50] 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-09-05 22:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:44:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888742144001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888742144001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:44:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:44:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888742144001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":172236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:44:50] local.INFO: GPS data processed {"connection_id":172236,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:44:50] local.INFO: Acknowledgment sent {"connection_id":172236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:44:50] local.INFO: TCP Data received {"connection_id":174677,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:44:50] local.INFO: Processing buffer {"connection_id":174677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:44:50] local.INFO: IMEI packet received {"connection_id":174677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":174677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:44:54] local.INFO: TCP Data received {"connection_id":174677,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:44:54] local.INFO: Processing buffer {"connection_id":174677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:44:54] local.INFO: IMEI packet received {"connection_id":174677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":174677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:45:00] local.INFO: TCP Data received {"connection_id":174677,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:45:00] local.INFO: Processing buffer {"connection_id":174677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:45:00] local.INFO: IMEI packet received {"connection_id":174677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":174677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:45:01] local.INFO: TCP Data received {"connection_id":174677,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0728f11f0012d7693400601e8780003013631..."} 
[2026-09-05 22:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0728f11f0012d7693400601e8780003013631..."} 
[2026-09-05 22:45:01] local.INFO: Processing buffer {"connection_id":174677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0728f11f0012d7693400601e8780003013631..."} 
[2026-09-05 22:45:01] local.INFO: Packet analysis {"connection_id":174677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0728f"} 
[2026-09-05 22:45:01] local.INFO: Extracted packet for processing {"connection_id":174677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0728f"} 
[2026-09-05 22:45:01] local.INFO: GPS Element Parsed {"raw_longitude":762745664,"raw_latitude":100788344,"longitude_deg":76.2745664,"latitude_deg":10.0788344,"altitude":3,"angle":310,"satellites":49,"speed":42,"hex_longitude":"2d769340","hex_latitude":"0601e878","is_valid_coordinates":true} 
[2026-09-05 22:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888861440001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399981160291106816,"note":"Value kept but may cause issues"} 
[2026-09-05 22:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8552406086920898560,"note":"Value kept but may cause issues"} 
[2026-09-05 22:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788628374000,"timestamp_ms":1788628374000,"timestamp_seconds":1788628374,"priority":1,"record_length":96,"hex_timestamp":"000001a0728f11f0"} 
[2026-09-05 22:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-05 22:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888861440001,"66":27213,"188":206,"79":47616,"24":42,"16":399981160291106816,"45":8552406086920898560},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,79,24,16,45]} 
[2026-09-05 22:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888861440001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:45:01] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-05 22:45:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399981160291106816,"km_value":399981160291106.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8552406086920898560,"description":"Unknown IO ID 45"} 
[2026-09-05 22:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888861440001,"power":27213,"unknown_188":206,"unknown_79":47616,"ignition":42,"odometer":null,"unknown_45":8552406086920898560}} 
[2026-09-05 22:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":174677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:45:01] local.INFO: GPS data processed {"connection_id":174677,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:45:01] local.INFO: Acknowledgment sent {"connection_id":174677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:45:21] local.INFO: TCP Data received {"connection_id":172236,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0728c6a40012d196500071ff1280040014526..."} 
[2026-09-05 22:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0728c6a40012d196500071ff1280040014526..."} 
[2026-09-05 22:45:21] local.INFO: Processing buffer {"connection_id":172236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0728c6a40012d196500071ff1280040014526..."} 
[2026-09-05 22:45:21] local.INFO: Packet analysis {"connection_id":172236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0728c"} 
[2026-09-05 22:45:21] local.INFO: Extracted packet for processing {"connection_id":172236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0728c"} 
[2026-09-05 22:45:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888742144001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788628200000,"timestamp_ms":1788628200000,"timestamp_seconds":1788628200,"priority":1,"record_length":96,"hex_timestamp":"000001a0728c6a40"} 
[2026-09-05 22:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:45:21] 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-09-05 22:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:45:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888742144001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888742144001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:45:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:45:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888742144001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":172236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:45:21] local.INFO: GPS data processed {"connection_id":172236,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:45:21] local.INFO: Acknowledgment sent {"connection_id":172236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:45:26] local.INFO: TCP Data received {"connection_id":173350,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:45:26] local.INFO: Processing buffer {"connection_id":173350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:45:26] local.INFO: IMEI packet received {"connection_id":173350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 22:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":173350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:45:32] local.INFO: TCP Data received {"connection_id":174677,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072906d98012d75e48006027b90000201412f..."} 
[2026-09-05 22:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072906d98012d75e48006027b90000201412f..."} 
[2026-09-05 22:45:32] local.INFO: Processing buffer {"connection_id":174677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072906d98012d75e48006027b90000201412f..."} 
[2026-09-05 22:45:32] local.INFO: Packet analysis {"connection_id":174677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07290"} 
[2026-09-05 22:45:32] local.INFO: Extracted packet for processing {"connection_id":174677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07290"} 
[2026-09-05 22:45:32] local.INFO: GPS Element Parsed {"raw_longitude":762700928,"raw_latitude":100826000,"longitude_deg":76.2700928,"latitude_deg":10.0826,"altitude":2,"angle":321,"satellites":47,"speed":39,"hex_longitude":"2d75e480","hex_latitude":"06027b90","is_valid_coordinates":true} 
[2026-09-05 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-09-05 22:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888883968001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399984016444358656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8502022066099218432,"note":"Value kept but may cause issues"} 
[2026-09-05 22:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788628463000,"timestamp_ms":1788628463000,"timestamp_seconds":1788628463,"priority":1,"record_length":96,"hex_timestamp":"000001a072906d98"} 
[2026-09-05 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-09-05 22:45: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-09-05 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-05 22:45: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-09-05 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-09-05 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-09-05 22:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:45: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-09-05 22:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888883968001,"66":27245,"118":206,"79":47616,"24":39,"16":399984016444358656,"45":8502022066099218432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,79,24,16,45]} 
[2026-09-05 22:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888883968001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:45:32] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-05 22:45:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399984016444358656,"km_value":399984016444358.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8502022066099218432,"description":"Unknown IO ID 45"} 
[2026-09-05 22:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888883968001,"power":27245,"unknown_118":206,"unknown_79":47616,"ignition":39,"odometer":null,"unknown_45":8502022066099218432}} 
[2026-09-05 22:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":174677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:45:32] local.INFO: GPS data processed {"connection_id":174677,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:45:32] local.INFO: Acknowledgment sent {"connection_id":174677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:45:49] local.INFO: TCP Data received {"connection_id":174678,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:45:49] local.INFO: Processing buffer {"connection_id":174678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:45:49] local.INFO: IMEI packet received {"connection_id":174678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":174678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:45:50] local.INFO: TCP Data received {"connection_id":171986,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:45:50] local.INFO: Processing buffer {"connection_id":171986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:45:50] local.INFO: IMEI packet received {"connection_id":171986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":171986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:45:54] local.INFO: TCP Data received {"connection_id":174678,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:45:54] local.INFO: Processing buffer {"connection_id":174678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:45:54] local.INFO: IMEI packet received {"connection_id":174678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":174678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:45:54] local.INFO: TCP Data received {"connection_id":171986,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:45:54] local.INFO: Processing buffer {"connection_id":171986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:45:54] local.INFO: IMEI packet received {"connection_id":171986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":171986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:45:54] local.INFO: TCP Data received {"connection_id":174678,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a072910208012d196500071ff1280040014529..."} 
[2026-09-05 22:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072910208012d196500071ff1280040014529..."} 
[2026-09-05 22:45:54] local.INFO: Processing buffer {"connection_id":174678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072910208012d196500071ff1280040014529..."} 
[2026-09-05 22:45:54] local.INFO: Packet analysis {"connection_id":174678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07291"} 
[2026-09-05 22:45:54] local.INFO: Extracted packet for processing {"connection_id":174678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07291"} 
[2026-09-05 22:45:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888819200001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788628501000,"timestamp_ms":1788628501000,"timestamp_seconds":1788628501,"priority":1,"record_length":96,"hex_timestamp":"000001a072910208"} 
[2026-09-05 22:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:45:54] 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-09-05 22:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 22:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888819200001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888819200001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:45:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:45:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888819200001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":174678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:45:55] local.INFO: GPS data processed {"connection_id":174678,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:45:55] local.INFO: Acknowledgment sent {"connection_id":174678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:45:55] local.INFO: TCP Data received {"connection_id":171986,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0729094a8012d75cec006029af00003014b2c..."} 
[2026-09-05 22:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729094a8012d75cec006029af00003014b2c..."} 
[2026-09-05 22:45:55] local.INFO: Processing buffer {"connection_id":171986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729094a8012d75cec006029af00003014b2c..."} 
[2026-09-05 22:45:55] local.INFO: Packet analysis {"connection_id":171986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07290"} 
[2026-09-05 22:45:55] local.INFO: Extracted packet for processing {"connection_id":171986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07290"} 
[2026-09-05 22:45:55] local.INFO: GPS Element Parsed {"raw_longitude":762695360,"raw_latitude":100834032,"longitude_deg":76.269536,"latitude_deg":10.0834032,"altitude":3,"angle":331,"satellites":44,"speed":35,"hex_longitude":"2d75cec0","hex_latitude":"06029af0","is_valid_coordinates":true} 
[2026-09-05 22:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888886528001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399984488890761216,"note":"Value kept but may cause issues"} 
[2026-09-05 22:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8495055560427409408,"note":"Value kept but may cause issues"} 
[2026-09-05 22:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788628473000,"timestamp_ms":1788628473000,"timestamp_seconds":1788628473,"priority":1,"record_length":96,"hex_timestamp":"000001a0729094a8"} 
[2026-09-05 22:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-05 22:45:55] 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-09-05 22:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888886528001,"66":27365,"118":206,"79":47616,"24":35,"16":399984488890761216,"45":8495055560427409408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,79,24,16,45]} 
[2026-09-05 22:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888886528001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:45:55] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-05 22:45:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399984488890761216,"km_value":399984488890761.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8495055560427409408,"description":"Unknown IO ID 45"} 
[2026-09-05 22:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888886528001,"power":27365,"unknown_118":206,"unknown_79":47616,"ignition":35,"odometer":null,"unknown_45":8495055560427409408}} 
[2026-09-05 22:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":171986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:45:55] local.INFO: GPS data processed {"connection_id":171986,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:45:55] local.INFO: Acknowledgment sent {"connection_id":171986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:45:59] local.INFO: TCP Data received {"connection_id":174678,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a072910208012d196500071ff1280040014529..."} 
[2026-09-05 22:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072910208012d196500071ff1280040014529..."} 
[2026-09-05 22:45:59] local.INFO: Processing buffer {"connection_id":174678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072910208012d196500071ff1280040014529..."} 
[2026-09-05 22:45:59] local.INFO: Packet analysis {"connection_id":174678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07291"} 
[2026-09-05 22:45:59] local.INFO: Extracted packet for processing {"connection_id":174678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07291"} 
[2026-09-05 22:45:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888819200001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788628501000,"timestamp_ms":1788628501000,"timestamp_seconds":1788628501,"priority":1,"record_length":96,"hex_timestamp":"000001a072910208"} 
[2026-09-05 22:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:45:59] 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-09-05 22:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 22:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888819200001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888819200001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:45:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:45:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888819200001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":174678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:45:59] local.INFO: GPS data processed {"connection_id":174678,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:45:59] local.INFO: Acknowledgment sent {"connection_id":174678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:46:28] local.INFO: TCP Data received {"connection_id":171986,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07290c770012d75bd800602bc400004014f2b..."} 
[2026-09-05 22:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07290c770012d75bd800602bc400004014f2b..."} 
[2026-09-05 22:46:28] local.INFO: Processing buffer {"connection_id":171986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07290c770012d75bd800602bc400004014f2b..."} 
[2026-09-05 22:46:28] local.INFO: Packet analysis {"connection_id":171986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07290"} 
[2026-09-05 22:46:28] local.INFO: Extracted packet for processing {"connection_id":171986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07290"} 
[2026-09-05 22:46:28] local.INFO: GPS Element Parsed {"raw_longitude":762690944,"raw_latitude":100842560,"longitude_deg":76.2690944,"latitude_deg":10.084256,"altitude":4,"angle":335,"satellites":43,"speed":30,"hex_longitude":"2d75bd80","hex_latitude":"0602bc40","is_valid_coordinates":true} 
[2026-09-05 22:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888889088001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399984952747229184,"note":"Value kept but may cause issues"} 
[2026-09-05 22:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8488933479686008832,"note":"Value kept but may cause issues"} 
[2026-09-05 22:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788628486000,"timestamp_ms":1788628486000,"timestamp_seconds":1788628486,"priority":1,"record_length":96,"hex_timestamp":"000001a07290c770"} 
[2026-09-05 22:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-05 22:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":171986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":171986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":171986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888889088001,"66":27267,"118":206,"79":47616,"24":30,"16":399984952747229184,"45":8488933479686008832},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,79,24,16,45]} 
[2026-09-05 22:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888889088001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:46:28] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-05 22:46:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399984952747229184,"km_value":399984952747229.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8488933479686008832,"description":"Unknown IO ID 45"} 
[2026-09-05 22:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888889088001,"power":27267,"unknown_118":206,"unknown_79":47616,"ignition":30,"odometer":null,"unknown_45":8488933479686008832}} 
[2026-09-05 22:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":171986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:46:28] local.INFO: GPS data processed {"connection_id":171986,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:46:28] local.INFO: Acknowledgment sent {"connection_id":171986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:46:44] local.INFO: TCP Data received {"connection_id":173351,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:46:44] local.INFO: Processing buffer {"connection_id":173351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:46:44] local.INFO: IMEI packet received {"connection_id":173351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":173351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:46:49] local.INFO: TCP Data received {"connection_id":173351,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:46:49] local.INFO: Processing buffer {"connection_id":173351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:46:49] local.INFO: IMEI packet received {"connection_id":173351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":173351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:46:50] local.INFO: TCP Data received {"connection_id":173352,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:46:50] local.INFO: Processing buffer {"connection_id":173352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:46:50] local.INFO: IMEI packet received {"connection_id":173352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":173352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:46:50] local.INFO: TCP Data received {"connection_id":173351,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a072910208012d196500071ff1280040014529..."} 
[2026-09-05 22:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072910208012d196500071ff1280040014529..."} 
[2026-09-05 22:46:50] local.INFO: Processing buffer {"connection_id":173351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072910208012d196500071ff1280040014529..."} 
[2026-09-05 22:46:50] local.INFO: Packet analysis {"connection_id":173351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07291"} 
[2026-09-05 22:46:50] local.INFO: Extracted packet for processing {"connection_id":173351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07291"} 
[2026-09-05 22:46:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888819200001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788628501000,"timestamp_ms":1788628501000,"timestamp_seconds":1788628501,"priority":1,"record_length":96,"hex_timestamp":"000001a072910208"} 
[2026-09-05 22:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:46:50] 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-09-05 22:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 22:46:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:46:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888819200001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888819200001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:46:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:46:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888819200001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":173351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:46:50] local.INFO: GPS data processed {"connection_id":173351,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:46:50] local.INFO: Acknowledgment sent {"connection_id":173351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:46:53] local.INFO: TCP Data received {"connection_id":173352,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:46:53] local.INFO: Processing buffer {"connection_id":173352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:46:53] local.INFO: IMEI packet received {"connection_id":173352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":173352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:46:53] local.INFO: TCP Data received {"connection_id":173352,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07290f268012d75b1000602de18000501552b..."} 
[2026-09-05 22:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07290f268012d75b1000602de18000501552b..."} 
[2026-09-05 22:46:53] local.INFO: Processing buffer {"connection_id":173352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07290f268012d75b1000602de18000501552b..."} 
[2026-09-05 22:46:53] local.INFO: Packet analysis {"connection_id":173352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07290"} 
[2026-09-05 22:46:53] local.INFO: Extracted packet for processing {"connection_id":173352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07290"} 
[2026-09-05 22:46:53] local.INFO: GPS Element Parsed {"raw_longitude":762687744,"raw_latitude":100851224,"longitude_deg":76.2687744,"latitude_deg":10.0851224,"altitude":5,"angle":341,"satellites":43,"speed":36,"hex_longitude":"2d75b100","hex_latitude":"0602de18","is_valid_coordinates":true} 
[2026-09-05 22:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888892416001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399985399423827968,"note":"Value kept but may cause issues"} 
[2026-09-05 22:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8484078036339933184,"note":"Value kept but may cause issues"} 
[2026-09-05 22:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788628497000,"timestamp_ms":1788628497000,"timestamp_seconds":1788628497,"priority":1,"record_length":96,"hex_timestamp":"000001a07290f268"} 
[2026-09-05 22:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:46: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-09-05 22:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-05 22:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888892416001,"66":27332,"118":206,"79":47616,"24":36,"16":399985399423827968,"45":8484078036339933184},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,79,24,16,45]} 
[2026-09-05 22:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888892416001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:46:53] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-05 22:46:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399985399423827968,"km_value":399985399423827.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8484078036339933184,"description":"Unknown IO ID 45"} 
[2026-09-05 22:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888892416001,"power":27332,"unknown_118":206,"unknown_79":47616,"ignition":36,"odometer":null,"unknown_45":8484078036339933184}} 
[2026-09-05 22:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":173352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:46:53] local.INFO: GPS data processed {"connection_id":173352,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:46:53] local.INFO: Acknowledgment sent {"connection_id":173352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:47:21] local.INFO: TCP Data received {"connection_id":173351,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a072910208012d196500071ff1280040014529..."} 
[2026-09-05 22:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072910208012d196500071ff1280040014529..."} 
[2026-09-05 22:47:21] local.INFO: Processing buffer {"connection_id":173351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072910208012d196500071ff1280040014529..."} 
[2026-09-05 22:47:21] local.INFO: Packet analysis {"connection_id":173351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07291"} 
[2026-09-05 22:47:21] local.INFO: Extracted packet for processing {"connection_id":173351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07291"} 
[2026-09-05 22:47:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888819200001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788628501000,"timestamp_ms":1788628501000,"timestamp_seconds":1788628501,"priority":1,"record_length":96,"hex_timestamp":"000001a072910208"} 
[2026-09-05 22:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:47:21] 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-09-05 22:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 22:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888819200001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888819200001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:47:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:47:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888819200001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":173351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:47:21] local.INFO: GPS data processed {"connection_id":173351,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:47:21] local.INFO: Acknowledgment sent {"connection_id":173351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:47:24] local.INFO: TCP Data received {"connection_id":173352,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072911978012d75a6000602ff88000401572e..."} 
[2026-09-05 22:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072911978012d75a6000602ff88000401572e..."} 
[2026-09-05 22:47:24] local.INFO: Processing buffer {"connection_id":173352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072911978012d75a6000602ff88000401572e..."} 
[2026-09-05 22:47:24] local.INFO: Packet analysis {"connection_id":173352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07291"} 
[2026-09-05 22:47:24] local.INFO: Extracted packet for processing {"connection_id":173352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07291"} 
[2026-09-05 22:47:24] local.INFO: GPS Element Parsed {"raw_longitude":762684928,"raw_latitude":100859784,"longitude_deg":76.2684928,"latitude_deg":10.0859784,"altitude":4,"angle":343,"satellites":46,"speed":34,"hex_longitude":"2d75a600","hex_latitude":"0602ff88","is_valid_coordinates":true} 
[2026-09-05 22:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888895232001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399985837510492160,"note":"Value kept but may cause issues"} 
[2026-09-05 22:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8480559599133267968,"note":"Value kept but may cause issues"} 
[2026-09-05 22:47:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788628507000,"timestamp_ms":1788628507000,"timestamp_seconds":1788628507,"priority":1,"record_length":96,"hex_timestamp":"000001a072911978"} 
[2026-09-05 22:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:47:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-05 22:47:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:47:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888895232001,"66":27332,"118":206,"79":47616,"24":34,"16":399985837510492160,"45":8480559599133267968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,79,24,16,45]} 
[2026-09-05 22:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888895232001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:47:24] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-05 22:47:24] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399985837510492160,"km_value":399985837510492.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8480559599133267968,"description":"Unknown IO ID 45"} 
[2026-09-05 22:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888895232001,"power":27332,"unknown_118":206,"unknown_79":47616,"ignition":34,"odometer":null,"unknown_45":8480559599133267968}} 
[2026-09-05 22:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":173352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:47:24] local.INFO: GPS data processed {"connection_id":173352,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:47:24] local.INFO: Acknowledgment sent {"connection_id":173352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:47:44] local.INFO: TCP Data received {"connection_id":171988,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:47:44] local.INFO: Processing buffer {"connection_id":171988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:47:44] local.INFO: IMEI packet received {"connection_id":171988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":171988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:47:49] local.INFO: TCP Data received {"connection_id":171988,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:47:49] local.INFO: Processing buffer {"connection_id":171988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:47:49] local.INFO: IMEI packet received {"connection_id":171988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":171988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:47:49] local.INFO: TCP Data received {"connection_id":171989,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:47:49] local.INFO: Processing buffer {"connection_id":171989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:47:49] local.INFO: IMEI packet received {"connection_id":171989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":171989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:47:49] local.INFO: TCP Data received {"connection_id":171988,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a072910208012d196500071ff1280040014529..."} 
[2026-09-05 22:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072910208012d196500071ff1280040014529..."} 
[2026-09-05 22:47:49] local.INFO: Processing buffer {"connection_id":171988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072910208012d196500071ff1280040014529..."} 
[2026-09-05 22:47:49] local.INFO: Packet analysis {"connection_id":171988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07291"} 
[2026-09-05 22:47:49] local.INFO: Extracted packet for processing {"connection_id":171988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07291"} 
[2026-09-05 22:47:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888819200001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788628501000,"timestamp_ms":1788628501000,"timestamp_seconds":1788628501,"priority":1,"record_length":96,"hex_timestamp":"000001a072910208"} 
[2026-09-05 22:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:47:49] 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-09-05 22:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 22:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":171988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":171988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":171988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888819200001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888819200001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:47:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:47:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888819200001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":171988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:47:50] local.INFO: GPS data processed {"connection_id":171988,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:47:50] local.INFO: Acknowledgment sent {"connection_id":171988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:47:52] local.INFO: TCP Data received {"connection_id":171989,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:47:52] local.INFO: Processing buffer {"connection_id":171989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:47:52] local.INFO: IMEI packet received {"connection_id":171989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":171989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:47:55] local.INFO: TCP Data received {"connection_id":171989,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:47:55] local.INFO: Processing buffer {"connection_id":171989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:47:55] local.INFO: IMEI packet received {"connection_id":171989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":171989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:47:55] local.INFO: TCP Data received {"connection_id":171989,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072929078012d754a00060447a0000701542b..."} 
[2026-09-05 22:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072929078012d754a00060447a0000701542b..."} 
[2026-09-05 22:47:55] local.INFO: Processing buffer {"connection_id":171989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072929078012d754a00060447a0000701542b..."} 
[2026-09-05 22:47:55] local.INFO: Packet analysis {"connection_id":171989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07292"} 
[2026-09-05 22:47:55] local.INFO: Extracted packet for processing {"connection_id":171989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07292"} 
[2026-09-05 22:47:55] local.INFO: GPS Element Parsed {"raw_longitude":762661376,"raw_latitude":100943776,"longitude_deg":76.2661376,"latitude_deg":10.0943776,"altitude":7,"angle":340,"satellites":43,"speed":36,"hex_longitude":"2d754a00","hex_latitude":"060447a0","is_valid_coordinates":true} 
[2026-09-05 22:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888919808001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399990072348246016,"note":"Value kept but may cause issues"} 
[2026-09-05 22:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8454875007529801728,"note":"Value kept but may cause issues"} 
[2026-09-05 22:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788628603000,"timestamp_ms":1788628603000,"timestamp_seconds":1788628603,"priority":1,"record_length":96,"hex_timestamp":"000001a072929078"} 
[2026-09-05 22:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:47: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-09-05 22:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-05 22:47:55] 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-09-05 22:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888919808001,"66":27517,"196":206,"79":47616,"24":36,"16":399990072348246016,"45":8454875007529801728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-09-05 22:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888919808001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:47:55] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-05 22:47:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399990072348246016,"km_value":399990072348246.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8454875007529801728,"description":"Unknown IO ID 45"} 
[2026-09-05 22:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888919808001,"power":27517,"unknown_196":206,"unknown_79":47616,"ignition":36,"odometer":null,"unknown_45":8454875007529801728}} 
[2026-09-05 22:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":171989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:47:56] local.INFO: GPS data processed {"connection_id":171989,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:47:56] local.INFO: Acknowledgment sent {"connection_id":171989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:48:21] local.INFO: TCP Data received {"connection_id":171988,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a072910208012d196500071ff1280040014529..."} 
[2026-09-05 22:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072910208012d196500071ff1280040014529..."} 
[2026-09-05 22:48:21] local.INFO: Processing buffer {"connection_id":171988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072910208012d196500071ff1280040014529..."} 
[2026-09-05 22:48:21] local.INFO: Packet analysis {"connection_id":171988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07291"} 
[2026-09-05 22:48:21] local.INFO: Extracted packet for processing {"connection_id":171988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07291"} 
[2026-09-05 22:48:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888819200001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788628501000,"timestamp_ms":1788628501000,"timestamp_seconds":1788628501,"priority":1,"record_length":96,"hex_timestamp":"000001a072910208"} 
[2026-09-05 22:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:48:21] 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-09-05 22:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 22:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888819200001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888819200001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:48:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:48:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888819200001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":171988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:48:21] local.INFO: GPS data processed {"connection_id":171988,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:48:21] local.INFO: Acknowledgment sent {"connection_id":171988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:48:26] local.INFO: TCP Data received {"connection_id":171989,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07292abd0012d75444006045aa0000601612f..."} 
[2026-09-05 22:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07292abd0012d75444006045aa0000601612f..."} 
[2026-09-05 22:48:26] local.INFO: Processing buffer {"connection_id":171989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07292abd0012d75444006045aa0000601612f..."} 
[2026-09-05 22:48:26] local.INFO: Packet analysis {"connection_id":171989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07292"} 
[2026-09-05 22:48:26] local.INFO: Extracted packet for processing {"connection_id":171989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07292"} 
[2026-09-05 22:48:26] local.INFO: GPS Element Parsed {"raw_longitude":762659904,"raw_latitude":100948640,"longitude_deg":76.2659904,"latitude_deg":10.094864,"altitude":6,"angle":353,"satellites":47,"speed":20,"hex_longitude":"2d754440","hex_latitude":"06045aa0","is_valid_coordinates":true} 
[2026-09-05 22:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888922368001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399990317161381888,"note":"Value kept but may cause issues"} 
[2026-09-05 22:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8451567676555763712,"note":"Value kept but may cause issues"} 
[2026-09-05 22:48:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788628610000,"timestamp_ms":1788628610000,"timestamp_seconds":1788628610,"priority":1,"record_length":96,"hex_timestamp":"000001a07292abd0"} 
[2026-09-05 22:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 22:48:26] 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-09-05 22:48:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:48:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888922368001,"66":27397,"196":206,"79":47616,"24":20,"16":399990317161381888,"45":8451567676555763712},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-09-05 22:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888922368001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:48:26] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-05 22:48:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399990317161381888,"km_value":399990317161381.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8451567676555763712,"description":"Unknown IO ID 45"} 
[2026-09-05 22:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888922368001,"power":27397,"unknown_196":206,"unknown_79":47616,"ignition":20,"odometer":null,"unknown_45":8451567676555763712}} 
[2026-09-05 22:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":171989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:48:26] local.INFO: GPS data processed {"connection_id":171989,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:48:26] local.INFO: Acknowledgment sent {"connection_id":171989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:48:43] local.INFO: TCP Data received {"connection_id":171990,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:48:43] local.INFO: Processing buffer {"connection_id":171990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:48:43] local.INFO: IMEI packet received {"connection_id":171990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":171990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:48:49] local.INFO: TCP Data received {"connection_id":171990,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:48:49] local.INFO: Processing buffer {"connection_id":171990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:48:49] local.INFO: IMEI packet received {"connection_id":171990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":171990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:48:49] local.INFO: TCP Data received {"connection_id":174679,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:48:49] local.INFO: Processing buffer {"connection_id":174679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:48:49] local.INFO: IMEI packet received {"connection_id":174679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":174679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:48:49] local.INFO: TCP Data received {"connection_id":171990,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072910208012d196500071ff1280040014529..."} 
[2026-09-05 22:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072910208012d196500071ff1280040014529..."} 
[2026-09-05 22:48:49] local.INFO: Processing buffer {"connection_id":171990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072910208012d196500071ff1280040014529..."} 
[2026-09-05 22:48:49] local.INFO: Packet analysis {"connection_id":171990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07291"} 
[2026-09-05 22:48:49] local.INFO: Extracted packet for processing {"connection_id":171990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07291"} 
[2026-09-05 22:48:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888819200001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788628501000,"timestamp_ms":1788628501000,"timestamp_seconds":1788628501,"priority":1,"record_length":96,"hex_timestamp":"000001a072910208"} 
[2026-09-05 22:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:48:49] 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-09-05 22:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 22:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":171990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":171990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":171990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888819200001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888819200001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:48:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:48:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888819200001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":171990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:48:50] local.INFO: GPS data processed {"connection_id":171990,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:48:50] local.INFO: Acknowledgment sent {"connection_id":171990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:48:53] local.INFO: TCP Data received {"connection_id":174679,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:48:53] local.INFO: Processing buffer {"connection_id":174679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:48:53] local.INFO: IMEI packet received {"connection_id":174679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":174679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:48:54] local.INFO: TCP Data received {"connection_id":174679,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:48:54] local.INFO: Processing buffer {"connection_id":174679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:48:54] local.INFO: IMEI packet received {"connection_id":174679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":174679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:48:56] local.INFO: TCP Data received {"connection_id":174679,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07292c340012d75430006046590000601562e..."} 
[2026-09-05 22:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07292c340012d75430006046590000601562e..."} 
[2026-09-05 22:48:56] local.INFO: Processing buffer {"connection_id":174679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07292c340012d75430006046590000601562e..."} 
[2026-09-05 22:48:56] local.INFO: Packet analysis {"connection_id":174679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07292"} 
[2026-09-05 22:48:56] local.INFO: Extracted packet for processing {"connection_id":174679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07292"} 
[2026-09-05 22:48:56] local.INFO: GPS Element Parsed {"raw_longitude":762659584,"raw_latitude":100951440,"longitude_deg":76.2659584,"latitude_deg":10.095144,"altitude":6,"angle":342,"satellites":46,"speed":19,"hex_longitude":"2d754300","hex_latitude":"06046590","is_valid_coordinates":true} 
[2026-09-05 22:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888924160001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399990454600335360,"note":"Value kept but may cause issues"} 
[2026-09-05 22:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8449949195440922624,"note":"Value kept but may cause issues"} 
[2026-09-05 22:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788628616000,"timestamp_ms":1788628616000,"timestamp_seconds":1788628616,"priority":1,"record_length":96,"hex_timestamp":"000001a07292c340"} 
[2026-09-05 22:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-05 22:48:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:48:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888924160001,"66":27234,"196":206,"79":47616,"24":19,"16":399990454600335360,"45":8449949195440922624},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-09-05 22:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888924160001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:48:56] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-05 22:48:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399990454600335360,"km_value":399990454600335.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8449949195440922624,"description":"Unknown IO ID 45"} 
[2026-09-05 22:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888924160001,"power":27234,"unknown_196":206,"unknown_79":47616,"ignition":19,"odometer":null,"unknown_45":8449949195440922624}} 
[2026-09-05 22:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":174679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:48:56] local.INFO: GPS data processed {"connection_id":174679,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:48:56] local.INFO: Acknowledgment sent {"connection_id":174679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:49:00] local.INFO: TCP Data received {"connection_id":174679,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072930990012d75374006048710000401572f..."} 
[2026-09-05 22:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072930990012d75374006048710000401572f..."} 
[2026-09-05 22:49:00] local.INFO: Processing buffer {"connection_id":174679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072930990012d75374006048710000401572f..."} 
[2026-09-05 22:49:00] local.INFO: Packet analysis {"connection_id":174679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07293"} 
[2026-09-05 22:49:00] local.INFO: Extracted packet for processing {"connection_id":174679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07293"} 
[2026-09-05 22:49:00] local.INFO: GPS Element Parsed {"raw_longitude":762656576,"raw_latitude":100960016,"longitude_deg":76.2656576,"latitude_deg":10.0960016,"altitude":4,"angle":343,"satellites":47,"speed":16,"hex_longitude":"2d753740","hex_latitude":"06048710","is_valid_coordinates":true} 
[2026-09-05 22:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888925696001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399990896981966848,"note":"Value kept but may cause issues"} 
[2026-09-05 22:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8449597351720751104,"note":"Value kept but may cause issues"} 
[2026-09-05 22:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788628634000,"timestamp_ms":1788628634000,"timestamp_seconds":1788628634,"priority":1,"record_length":96,"hex_timestamp":"000001a072930990"} 
[2026-09-05 22:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-05 22:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888925696001,"66":27321,"196":206,"79":47616,"24":16,"16":399990896981966848,"45":8449597351720751104},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-09-05 22:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888925696001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:49:00] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-05 22:49:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399990896981966848,"km_value":399990896981966.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8449597351720751104,"description":"Unknown IO ID 45"} 
[2026-09-05 22:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888925696001,"power":27321,"unknown_196":206,"unknown_79":47616,"ignition":16,"odometer":null,"unknown_45":8449597351720751104}} 
[2026-09-05 22:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":174679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:49:00] local.INFO: GPS data processed {"connection_id":174679,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:49:00] local.INFO: Acknowledgment sent {"connection_id":174679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:49:20] local.INFO: TCP Data received {"connection_id":171990,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072910208012d196500071ff1280040014529..."} 
[2026-09-05 22:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072910208012d196500071ff1280040014529..."} 
[2026-09-05 22:49:20] local.INFO: Processing buffer {"connection_id":171990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072910208012d196500071ff1280040014529..."} 
[2026-09-05 22:49:20] local.INFO: Packet analysis {"connection_id":171990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07291"} 
[2026-09-05 22:49:20] local.INFO: Extracted packet for processing {"connection_id":171990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07291"} 
[2026-09-05 22:49:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888819200001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788628501000,"timestamp_ms":1788628501000,"timestamp_seconds":1788628501,"priority":1,"record_length":96,"hex_timestamp":"000001a072910208"} 
[2026-09-05 22:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 22:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:49:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":171990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":171990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":171990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888819200001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888819200001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:49:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:49:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888819200001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":171990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:49:21] local.INFO: GPS data processed {"connection_id":171990,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:49:21] local.INFO: Acknowledgment sent {"connection_id":171990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:49:31] local.INFO: TCP Data received {"connection_id":174679,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0729357b0012d752e400604a9400006015830..."} 
[2026-09-05 22:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729357b0012d752e400604a9400006015830..."} 
[2026-09-05 22:49:31] local.INFO: Processing buffer {"connection_id":174679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729357b0012d752e400604a9400006015830..."} 
[2026-09-05 22:49:31] local.INFO: Packet analysis {"connection_id":174679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07293"} 
[2026-09-05 22:49:31] local.INFO: Extracted packet for processing {"connection_id":174679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07293"} 
[2026-09-05 22:49:31] local.INFO: GPS Element Parsed {"raw_longitude":762654272,"raw_latitude":100968768,"longitude_deg":76.2654272,"latitude_deg":10.0968768,"altitude":6,"angle":344,"satellites":48,"speed":25,"hex_longitude":"2d752e40","hex_latitude":"0604a940","is_valid_coordinates":true} 
[2026-09-05 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-09-05 22:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888930304001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399991335068631040,"note":"Value kept but may cause issues"} 
[2026-09-05 22:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8446290020746596352,"note":"Value kept but may cause issues"} 
[2026-09-05 22:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788628654000,"timestamp_ms":1788628654000,"timestamp_seconds":1788628654,"priority":1,"record_length":96,"hex_timestamp":"000001a0729357b0"} 
[2026-09-05 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-09-05 22:49: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-09-05 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 22:49: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-09-05 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-09-05 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-09-05 22:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:49: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-09-05 22:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888930304001,"66":27397,"196":206,"79":47616,"24":25,"16":399991335068631040,"45":8446290020746596352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-09-05 22:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888930304001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:49:31] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-05 22:49:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399991335068631040,"km_value":399991335068631.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8446290020746596352,"description":"Unknown IO ID 45"} 
[2026-09-05 22:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888930304001,"power":27397,"unknown_196":206,"unknown_79":47616,"ignition":25,"odometer":null,"unknown_45":8446290020746596352}} 
[2026-09-05 22:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":174679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:49:31] local.INFO: GPS data processed {"connection_id":174679,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:49:31] local.INFO: Acknowledgment sent {"connection_id":174679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:49:43] local.INFO: TCP Data received {"connection_id":171991,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:49:43] local.INFO: Processing buffer {"connection_id":171991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:49:43] local.INFO: IMEI packet received {"connection_id":171991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":171991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:49:49] local.INFO: TCP Data received {"connection_id":171991,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:49:49] local.INFO: Processing buffer {"connection_id":171991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:49:49] local.INFO: IMEI packet received {"connection_id":171991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":171991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:49:49] local.INFO: TCP Data received {"connection_id":171991,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a072910208012d196500071ff1280040014529..."} 
[2026-09-05 22:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072910208012d196500071ff1280040014529..."} 
[2026-09-05 22:49:49] local.INFO: Processing buffer {"connection_id":171991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072910208012d196500071ff1280040014529..."} 
[2026-09-05 22:49:49] local.INFO: Packet analysis {"connection_id":171991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07291"} 
[2026-09-05 22:49:49] local.INFO: Extracted packet for processing {"connection_id":171991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07291"} 
[2026-09-05 22:49:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888819200001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788628501000,"timestamp_ms":1788628501000,"timestamp_seconds":1788628501,"priority":1,"record_length":96,"hex_timestamp":"000001a072910208"} 
[2026-09-05 22:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:49:49] 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-09-05 22:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 22:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":171991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":171991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":171991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888819200001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888819200001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:49:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:49:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888819200001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":171991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:49:50] local.INFO: GPS data processed {"connection_id":171991,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:49:50] local.INFO: Acknowledgment sent {"connection_id":171991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:49:54] local.INFO: TCP Data received {"connection_id":173354,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:49:54] local.INFO: Processing buffer {"connection_id":173354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:49:54] local.INFO: IMEI packet received {"connection_id":173354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":173354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:49:58] local.INFO: TCP Data received {"connection_id":173354,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:49:58] local.INFO: Processing buffer {"connection_id":173354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:49:58] local.INFO: IMEI packet received {"connection_id":173354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":173354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:49:59] local.INFO: TCP Data received {"connection_id":173354,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072938e60012d7523000604cca00006015430..."} 
[2026-09-05 22:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072938e60012d7523000604cca00006015430..."} 
[2026-09-05 22:49:59] local.INFO: Processing buffer {"connection_id":173354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072938e60012d7523000604cca00006015430..."} 
[2026-09-05 22:49:59] local.INFO: Packet analysis {"connection_id":173354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07293"} 
[2026-09-05 22:49:59] local.INFO: Extracted packet for processing {"connection_id":173354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07293"} 
[2026-09-05 22:49:59] local.INFO: GPS Element Parsed {"raw_longitude":762651392,"raw_latitude":100977824,"longitude_deg":76.2651392,"latitude_deg":10.0977824,"altitude":6,"angle":340,"satellites":48,"speed":27,"hex_longitude":"2d752300","hex_latitude":"0604cca0","is_valid_coordinates":true} 
[2026-09-05 22:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888935424001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399991798925099008,"note":"Value kept but may cause issues"} 
[2026-09-05 22:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8443756745958440960,"note":"Value kept but may cause issues"} 
[2026-09-05 22:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788628668000,"timestamp_ms":1788628668000,"timestamp_seconds":1788628668,"priority":1,"record_length":96,"hex_timestamp":"000001a072938e60"} 
[2026-09-05 22:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-05 22:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888935424001,"66":27484,"196":206,"79":47616,"24":27,"16":399991798925099008,"45":8443756745958440960},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-09-05 22:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888935424001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:49:59] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-05 22:49:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399991798925099008,"km_value":399991798925099.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8443756745958440960,"description":"Unknown IO ID 45"} 
[2026-09-05 22:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888935424001,"power":27484,"unknown_196":206,"unknown_79":47616,"ignition":27,"odometer":null,"unknown_45":8443756745958440960}} 
[2026-09-05 22:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":173354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:49:59] local.INFO: GPS data processed {"connection_id":173354,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:49:59] local.INFO: Acknowledgment sent {"connection_id":173354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:50:00] local.INFO: TCP Data received {"connection_id":173354,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07293c128012d7515800604ecb00006014f2f..."} 
[2026-09-05 22:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07293c128012d7515800604ecb00006014f2f..."} 
[2026-09-05 22:50:00] local.INFO: Processing buffer {"connection_id":173354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07293c128012d7515800604ecb00006014f2f..."} 
[2026-09-05 22:50:00] local.INFO: Packet analysis {"connection_id":173354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07293"} 
[2026-09-05 22:50:00] local.INFO: Extracted packet for processing {"connection_id":173354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07293"} 
[2026-09-05 22:50:00] local.INFO: GPS Element Parsed {"raw_longitude":762647936,"raw_latitude":100986032,"longitude_deg":76.2647936,"latitude_deg":10.0986032,"altitude":6,"angle":335,"satellites":47,"speed":26,"hex_longitude":"2d751580","hex_latitude":"0604ecb0","is_valid_coordinates":true} 
[2026-09-05 22:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888939008001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399992228421828608,"note":"Value kept but may cause issues"} 
[2026-09-05 22:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8440590152472764416,"note":"Value kept but may cause issues"} 
[2026-09-05 22:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788628681000,"timestamp_ms":1788628681000,"timestamp_seconds":1788628681,"priority":1,"record_length":96,"hex_timestamp":"000001a07293c128"} 
[2026-09-05 22:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 22:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888939008001,"66":27321,"196":206,"79":47616,"24":26,"16":399992228421828608,"45":8440590152472764416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-09-05 22:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888939008001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:50:00] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-05 22:50:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399992228421828608,"km_value":399992228421828.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8440590152472764416,"description":"Unknown IO ID 45"} 
[2026-09-05 22:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888939008001,"power":27321,"unknown_196":206,"unknown_79":47616,"ignition":26,"odometer":null,"unknown_45":8440590152472764416}} 
[2026-09-05 22:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":173354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:50:00] local.INFO: GPS data processed {"connection_id":173354,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:50:00] local.INFO: Acknowledgment sent {"connection_id":173354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:50:21] local.INFO: TCP Data received {"connection_id":171991,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a072910208012d196500071ff1280040014529..."} 
[2026-09-05 22:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072910208012d196500071ff1280040014529..."} 
[2026-09-05 22:50:21] local.INFO: Processing buffer {"connection_id":171991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072910208012d196500071ff1280040014529..."} 
[2026-09-05 22:50:21] local.INFO: Packet analysis {"connection_id":171991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07291"} 
[2026-09-05 22:50:21] local.INFO: Extracted packet for processing {"connection_id":171991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07291"} 
[2026-09-05 22:50:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888819200001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788628501000,"timestamp_ms":1788628501000,"timestamp_seconds":1788628501,"priority":1,"record_length":96,"hex_timestamp":"000001a072910208"} 
[2026-09-05 22:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:50:21] 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-09-05 22:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 22:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888819200001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888819200001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:50:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:50:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888819200001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":171991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:50:21] local.INFO: GPS data processed {"connection_id":171991,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:50:21] local.INFO: Acknowledgment sent {"connection_id":171991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:50:31] local.INFO: TCP Data received {"connection_id":173354,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07293fbc0012d75080006050f28000501542f..."} 
[2026-09-05 22:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07293fbc0012d75080006050f28000501542f..."} 
[2026-09-05 22:50:31] local.INFO: Processing buffer {"connection_id":173354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07293fbc0012d75080006050f28000501542f..."} 
[2026-09-05 22:50:31] local.INFO: Packet analysis {"connection_id":173354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07293"} 
[2026-09-05 22:50:31] local.INFO: Extracted packet for processing {"connection_id":173354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07293"} 
[2026-09-05 22:50:31] local.INFO: GPS Element Parsed {"raw_longitude":762644480,"raw_latitude":100994856,"longitude_deg":76.264448,"latitude_deg":10.0994856,"altitude":5,"angle":340,"satellites":47,"speed":22,"hex_longitude":"2d750800","hex_latitude":"06050f28","is_valid_coordinates":true} 
[2026-09-05 22: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-09-05 22:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888942336001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399992687983329280,"note":"Value kept but may cause issues"} 
[2026-09-05 22:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8436790240289271808,"note":"Value kept but may cause issues"} 
[2026-09-05 22:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788628696000,"timestamp_ms":1788628696000,"timestamp_seconds":1788628696,"priority":1,"record_length":96,"hex_timestamp":"000001a07293fbc0"} 
[2026-09-05 22:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:50: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-09-05 22:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 22:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22: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-09-05 22:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:50: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-09-05 22:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888942336001,"66":27463,"196":206,"79":47616,"24":22,"16":399992687983329280,"45":8436790240289271808},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-09-05 22:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888942336001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:50:31] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-05 22:50:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399992687983329280,"km_value":399992687983329.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8436790240289271808,"description":"Unknown IO ID 45"} 
[2026-09-05 22:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888942336001,"power":27463,"unknown_196":206,"unknown_79":47616,"ignition":22,"odometer":null,"unknown_45":8436790240289271808}} 
[2026-09-05 22:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":173354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:50:31] local.INFO: GPS data processed {"connection_id":173354,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:50:31] local.INFO: Acknowledgment sent {"connection_id":173354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:50:48] local.INFO: TCP Data received {"connection_id":171992,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171992,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:50:48] local.INFO: Processing buffer {"connection_id":171992,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:50:48] local.INFO: IMEI packet received {"connection_id":171992,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 22:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":171992,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:50:49] local.INFO: TCP Data received {"connection_id":172239,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:50:49] local.INFO: Processing buffer {"connection_id":172239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:50:49] local.INFO: IMEI packet received {"connection_id":172239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":172239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:50:54] local.INFO: TCP Data received {"connection_id":172239,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:50:54] local.INFO: Processing buffer {"connection_id":172239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:50:54] local.INFO: IMEI packet received {"connection_id":172239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":172239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:50:54] local.INFO: TCP Data received {"connection_id":174680,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:50:54] local.INFO: Processing buffer {"connection_id":174680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:50:54] local.INFO: IMEI packet received {"connection_id":174680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":174680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:50:55] local.INFO: TCP Data received {"connection_id":172239,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0729599d0012d196500071ff128004001452a..."} 
[2026-09-05 22:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729599d0012d196500071ff128004001452a..."} 
[2026-09-05 22:50:55] local.INFO: Processing buffer {"connection_id":172239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729599d0012d196500071ff128004001452a..."} 
[2026-09-05 22:50:55] local.INFO: Packet analysis {"connection_id":172239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07295"} 
[2026-09-05 22:50:55] local.INFO: Extracted packet for processing {"connection_id":172239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07295"} 
[2026-09-05 22:50:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888896256001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788628802000,"timestamp_ms":1788628802000,"timestamp_seconds":1788628802,"priority":1,"record_length":96,"hex_timestamp":"000001a0729599d0"} 
[2026-09-05 22:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:50:55] 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-09-05 22:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 22:50:55] 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-09-05 22:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888896256001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888896256001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:50:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:50:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888896256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":172239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:50:55] local.INFO: GPS data processed {"connection_id":172239,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:50:55] local.INFO: Acknowledgment sent {"connection_id":172239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:50:56] local.INFO: TCP Data received {"connection_id":174680,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:50:56] local.INFO: Processing buffer {"connection_id":174680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:50:56] local.INFO: IMEI packet received {"connection_id":174680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":174680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:50:57] local.INFO: TCP Data received {"connection_id":174680,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:50:57] local.INFO: Processing buffer {"connection_id":174680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:50:57] local.INFO: IMEI packet received {"connection_id":174680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":174680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:50:59] local.INFO: TCP Data received {"connection_id":172239,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0729599d0012d196500071ff128004001452a..."} 
[2026-09-05 22:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729599d0012d196500071ff128004001452a..."} 
[2026-09-05 22:50:59] local.INFO: Processing buffer {"connection_id":172239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729599d0012d196500071ff128004001452a..."} 
[2026-09-05 22:50:59] local.INFO: Packet analysis {"connection_id":172239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07295"} 
[2026-09-05 22:50:59] local.INFO: Extracted packet for processing {"connection_id":172239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07295"} 
[2026-09-05 22:50:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888896256001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788628802000,"timestamp_ms":1788628802000,"timestamp_seconds":1788628802,"priority":1,"record_length":96,"hex_timestamp":"000001a0729599d0"} 
[2026-09-05 22:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:50:59] 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-09-05 22:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 22:50:59] 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-09-05 22:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888896256001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888896256001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:50:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:50:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888896256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":172239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:50:59] local.INFO: GPS data processed {"connection_id":172239,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:50:59] local.INFO: Acknowledgment sent {"connection_id":172239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:51:00] local.INFO: TCP Data received {"connection_id":174680,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:51:00] local.INFO: Processing buffer {"connection_id":174680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:51:00] local.INFO: IMEI packet received {"connection_id":174680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":174680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:51:00] local.INFO: TCP Data received {"connection_id":174680,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07295c8b0012d74b50006060ba0000901312e..."} 
[2026-09-05 22:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07295c8b0012d74b50006060ba0000901312e..."} 
[2026-09-05 22:51:00] local.INFO: Processing buffer {"connection_id":174680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07295c8b0012d74b50006060ba0000901312e..."} 
[2026-09-05 22:51:00] local.INFO: Packet analysis {"connection_id":174680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07295"} 
[2026-09-05 22:51:00] local.INFO: Extracted packet for processing {"connection_id":174680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07295"} 
[2026-09-05 22:51:00] local.INFO: GPS Element Parsed {"raw_longitude":762623232,"raw_latitude":101059488,"longitude_deg":76.2623232,"latitude_deg":10.1059488,"altitude":9,"angle":305,"satellites":46,"speed":23,"hex_longitude":"2d74b500","hex_latitude":"06060ba0","is_valid_coordinates":true} 
[2026-09-05 22:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888975616001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399996098187362304,"note":"Value kept but may cause issues"} 
[2026-09-05 22:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8411105648682924032,"note":"Value kept but may cause issues"} 
[2026-09-05 22:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788628814000,"timestamp_ms":1788628814000,"timestamp_seconds":1788628814,"priority":1,"record_length":96,"hex_timestamp":"000001a07295c8b0"} 
[2026-09-05 22:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-05 22:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888975616001,"66":27245,"198":206,"79":47616,"24":23,"16":399996098187362304,"45":8411105648682924032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,79,24,16,45]} 
[2026-09-05 22:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888975616001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:51:00] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 22:51:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399996098187362304,"km_value":399996098187362.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8411105648682924032,"description":"Unknown IO ID 45"} 
[2026-09-05 22:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888975616001,"power":27245,"unknown_198":206,"unknown_79":47616,"ignition":23,"odometer":null,"unknown_45":8411105648682924032}} 
[2026-09-05 22:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":174680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:51:00] local.INFO: GPS data processed {"connection_id":174680,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:51:00] local.INFO: Acknowledgment sent {"connection_id":174680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:51:01] local.INFO: TCP Data received {"connection_id":174680,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07295d850012d74ae80060610b8000801412f..."} 
[2026-09-05 22:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07295d850012d74ae80060610b8000801412f..."} 
[2026-09-05 22:51:01] local.INFO: Processing buffer {"connection_id":174680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07295d850012d74ae80060610b8000801412f..."} 
[2026-09-05 22:51:01] local.INFO: Packet analysis {"connection_id":174680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07295"} 
[2026-09-05 22:51:01] local.INFO: Extracted packet for processing {"connection_id":174680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07295"} 
[2026-09-05 22:51:01] local.INFO: GPS Element Parsed {"raw_longitude":762621568,"raw_latitude":101060792,"longitude_deg":76.2621568,"latitude_deg":10.1060792,"altitude":8,"angle":321,"satellites":47,"speed":21,"hex_longitude":"2d74ae80","hex_latitude":"060610b8","is_valid_coordinates":true} 
[2026-09-05 22:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888976384001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399996201266577408,"note":"Value kept but may cause issues"} 
[2026-09-05 22:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8409627905055498240,"note":"Value kept but may cause issues"} 
[2026-09-05 22:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788628818000,"timestamp_ms":1788628818000,"timestamp_seconds":1788628818,"priority":1,"record_length":96,"hex_timestamp":"000001a07295d850"} 
[2026-09-05 22:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-05 22:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:51:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888976384001,"66":27245,"198":206,"79":47616,"24":21,"16":399996201266577408,"45":8409627905055498240},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,79,24,16,45]} 
[2026-09-05 22:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888976384001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:51:01] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-05 22:51:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399996201266577408,"km_value":399996201266577.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8409627905055498240,"description":"Unknown IO ID 45"} 
[2026-09-05 22:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888976384001,"power":27245,"unknown_198":206,"unknown_79":47616,"ignition":21,"odometer":null,"unknown_45":8409627905055498240}} 
[2026-09-05 22:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":174680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:51:01] local.INFO: GPS data processed {"connection_id":174680,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:51:01] local.INFO: Acknowledgment sent {"connection_id":174680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:51:18] local.INFO: TCP Data received {"connection_id":173355,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173355,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:51:18] local.INFO: Processing buffer {"connection_id":173355,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:51:18] local.INFO: IMEI packet received {"connection_id":173355,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 22:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":173355,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:51:32] local.INFO: TCP Data received {"connection_id":174680,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07295dc38012d74ad40060612800008014c30..."} 
[2026-09-05 22:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07295dc38012d74ad40060612800008014c30..."} 
[2026-09-05 22:51:32] local.INFO: Processing buffer {"connection_id":174680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07295dc38012d74ad40060612800008014c30..."} 
[2026-09-05 22:51:32] local.INFO: Packet analysis {"connection_id":174680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07295"} 
[2026-09-05 22:51:32] local.INFO: Extracted packet for processing {"connection_id":174680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07295"} 
[2026-09-05 22:51:32] local.INFO: GPS Element Parsed {"raw_longitude":762621248,"raw_latitude":101061248,"longitude_deg":76.2621248,"latitude_deg":10.1061248,"altitude":8,"angle":332,"satellites":48,"speed":22,"hex_longitude":"2d74ad40","hex_latitude":"06061280","is_valid_coordinates":true} 
[2026-09-05 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-09-05 22:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888977408001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399996227036381184,"note":"Value kept but may cause issues"} 
[2026-09-05 22:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8407798317707212800,"note":"Value kept but may cause issues"} 
[2026-09-05 22:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788628819000,"timestamp_ms":1788628819000,"timestamp_seconds":1788628819,"priority":1,"record_length":96,"hex_timestamp":"000001a07295dc38"} 
[2026-09-05 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-09-05 22:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-05 22:51:32] 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-09-05 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-09-05 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-09-05 22:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22: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-09-05 22:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888977408001,"66":27245,"199":206,"79":47616,"24":22,"16":399996227036381184,"45":8407798317707212800},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,79,24,16,45]} 
[2026-09-05 22:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888977408001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:51:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-05 22:51:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399996227036381184,"km_value":399996227036381.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8407798317707212800,"description":"Unknown IO ID 45"} 
[2026-09-05 22:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888977408001,"power":27245,"trip_odometer":0.206,"unknown_79":47616,"ignition":22,"odometer":null,"unknown_45":8407798317707212800}} 
[2026-09-05 22:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":174680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:51:32] local.INFO: GPS data processed {"connection_id":174680,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:51:32] local.INFO: Acknowledgment sent {"connection_id":174680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:51:44] local.INFO: TCP Data received {"connection_id":172240,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:51:44] local.INFO: Processing buffer {"connection_id":172240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:51:44] local.INFO: IMEI packet received {"connection_id":172240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":172240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:51:48] local.INFO: TCP Data received {"connection_id":172241,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:51:48] local.INFO: Processing buffer {"connection_id":172241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:51:48] local.INFO: IMEI packet received {"connection_id":172241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":172241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:51:49] local.INFO: TCP Data received {"connection_id":172240,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:51:49] local.INFO: Processing buffer {"connection_id":172240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:51:49] local.INFO: IMEI packet received {"connection_id":172240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":172240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:51:49] local.INFO: TCP Data received {"connection_id":172241,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:51:49] local.INFO: Processing buffer {"connection_id":172241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:51:49] local.INFO: IMEI packet received {"connection_id":172241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":172241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:51:49] local.INFO: TCP Data received {"connection_id":172240,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0729599d0012d196500071ff128004001452a..."} 
[2026-09-05 22:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729599d0012d196500071ff128004001452a..."} 
[2026-09-05 22:51:49] local.INFO: Processing buffer {"connection_id":172240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729599d0012d196500071ff128004001452a..."} 
[2026-09-05 22:51:49] local.INFO: Packet analysis {"connection_id":172240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07295"} 
[2026-09-05 22:51:49] local.INFO: Extracted packet for processing {"connection_id":172240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07295"} 
[2026-09-05 22:51:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22: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-09-05 22:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888896256001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788628802000,"timestamp_ms":1788628802000,"timestamp_seconds":1788628802,"priority":1,"record_length":96,"hex_timestamp":"000001a0729599d0"} 
[2026-09-05 22:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:51:49] 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-09-05 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 22:51: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-09-05 22: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-09-05 22:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888896256001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888896256001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:51:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:51:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888896256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":172240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:51:50] local.INFO: GPS data processed {"connection_id":172240,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:51:50] local.INFO: Acknowledgment sent {"connection_id":172240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:51:55] local.INFO: TCP Data received {"connection_id":172241,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:51:55] local.INFO: Processing buffer {"connection_id":172241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:51:55] local.INFO: IMEI packet received {"connection_id":172241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":172241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:51:55] local.INFO: TCP Data received {"connection_id":172241,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07295e408012d74abc0060616d00008015a32..."} 
[2026-09-05 22:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07295e408012d74abc0060616d00008015a32..."} 
[2026-09-05 22:51:55] local.INFO: Processing buffer {"connection_id":172241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07295e408012d74abc0060616d00008015a32..."} 
[2026-09-05 22:51:55] local.INFO: Packet analysis {"connection_id":172241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07295"} 
[2026-09-05 22:51:55] local.INFO: Extracted packet for processing {"connection_id":172241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07295"} 
[2026-09-05 22:51:55] local.INFO: GPS Element Parsed {"raw_longitude":762620864,"raw_latitude":101062352,"longitude_deg":76.2620864,"latitude_deg":10.1062352,"altitude":8,"angle":346,"satellites":50,"speed":24,"hex_longitude":"2d74abc0","hex_latitude":"060616d0","is_valid_coordinates":true} 
[2026-09-05 22:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888977664001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399996282870956032,"note":"Value kept but may cause issues"} 
[2026-09-05 22:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8407446473986441216,"note":"Value kept but may cause issues"} 
[2026-09-05 22:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788628821000,"timestamp_ms":1788628821000,"timestamp_seconds":1788628821,"priority":1,"record_length":96,"hex_timestamp":"000001a07295e408"} 
[2026-09-05 22:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:51: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-09-05 22:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-05 22:51:55] 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-09-05 22:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888977664001,"66":26810,"199":206,"79":47616,"24":24,"16":399996282870956032,"45":8407446473986441216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,79,24,16,45]} 
[2026-09-05 22:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888977664001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:51:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-05 22:51:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399996282870956032,"km_value":399996282870956.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8407446473986441216,"description":"Unknown IO ID 45"} 
[2026-09-05 22:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888977664001,"power":26810,"trip_odometer":0.206,"unknown_79":47616,"ignition":24,"odometer":null,"unknown_45":8407446473986441216}} 
[2026-09-05 22:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":172241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:51:55] local.INFO: GPS data processed {"connection_id":172241,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:51:55] local.INFO: Acknowledgment sent {"connection_id":172241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:52:21] local.INFO: TCP Data received {"connection_id":172240,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0729599d0012d196500071ff128004001452a..."} 
[2026-09-05 22:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729599d0012d196500071ff128004001452a..."} 
[2026-09-05 22:52:21] local.INFO: Processing buffer {"connection_id":172240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729599d0012d196500071ff128004001452a..."} 
[2026-09-05 22:52:21] local.INFO: Packet analysis {"connection_id":172240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07295"} 
[2026-09-05 22:52:21] local.INFO: Extracted packet for processing {"connection_id":172240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07295"} 
[2026-09-05 22:52:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22: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-09-05 22:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888896256001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788628802000,"timestamp_ms":1788628802000,"timestamp_seconds":1788628802,"priority":1,"record_length":96,"hex_timestamp":"000001a0729599d0"} 
[2026-09-05 22:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:52:21] 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-09-05 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 22:52:21] 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-09-05 22: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-09-05 22:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888896256001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888896256001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:52:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:52:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888896256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":172240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:52:21] local.INFO: GPS data processed {"connection_id":172240,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:52:21] local.INFO: Acknowledgment sent {"connection_id":172240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:52:27] local.INFO: TCP Data received {"connection_id":172241,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0729612e8012d74a24006063870000601572d..."} 
[2026-09-05 22:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729612e8012d74a24006063870000601572d..."} 
[2026-09-05 22:52:27] local.INFO: Processing buffer {"connection_id":172241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729612e8012d74a24006063870000601572d..."} 
[2026-09-05 22:52:27] local.INFO: Packet analysis {"connection_id":172241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07296"} 
[2026-09-05 22:52:27] local.INFO: Extracted packet for processing {"connection_id":172241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07296"} 
[2026-09-05 22:52:27] local.INFO: GPS Element Parsed {"raw_longitude":762618432,"raw_latitude":101070960,"longitude_deg":76.2618432,"latitude_deg":10.107096,"altitude":6,"angle":343,"satellites":45,"speed":36,"hex_longitude":"2d74a240","hex_latitude":"06063870","is_valid_coordinates":true} 
[2026-09-05 22:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888978176001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":399996716662652928,"note":"Value kept but may cause issues"} 
[2026-09-05 22:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8407024261521657856,"note":"Value kept but may cause issues"} 
[2026-09-05 22:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788628833000,"timestamp_ms":1788628833000,"timestamp_seconds":1788628833,"priority":1,"record_length":96,"hex_timestamp":"000001a0729612e8"} 
[2026-09-05 22:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-09-05 22:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2392,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888978176001,"66":27321,"199":206,"79":47616,"24":36,"16":399996716662652928,"45":8407024261521657856},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,79,24,16,45]} 
[2026-09-05 22:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888978176001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:52:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-05 22:52:27] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":399996716662652928,"km_value":399996716662652.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8407024261521657856,"description":"Unknown IO ID 45"} 
[2026-09-05 22:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888978176001,"power":27321,"trip_odometer":0.206,"unknown_79":47616,"ignition":36,"odometer":null,"unknown_45":8407024261521657856}} 
[2026-09-05 22:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":172241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:52:27] local.INFO: GPS data processed {"connection_id":172241,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:52:27] local.INFO: Acknowledgment sent {"connection_id":172241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:52:44] local.INFO: TCP Data received {"connection_id":174681,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:52:44] local.INFO: Processing buffer {"connection_id":174681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:52:44] local.INFO: IMEI packet received {"connection_id":174681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":174681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:52:49] local.INFO: TCP Data received {"connection_id":174681,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:52:49] local.INFO: Processing buffer {"connection_id":174681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:52:49] local.INFO: IMEI packet received {"connection_id":174681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":174681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:52:49] local.INFO: TCP Data received {"connection_id":171993,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:52:49] local.INFO: Processing buffer {"connection_id":171993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:52:49] local.INFO: IMEI packet received {"connection_id":171993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":171993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:52:50] local.INFO: TCP Data received {"connection_id":174681,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0729599d0012d196500071ff128004001452a..."} 
[2026-09-05 22:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729599d0012d196500071ff128004001452a..."} 
[2026-09-05 22:52:50] local.INFO: Processing buffer {"connection_id":174681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729599d0012d196500071ff128004001452a..."} 
[2026-09-05 22:52:50] local.INFO: Packet analysis {"connection_id":174681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07295"} 
[2026-09-05 22:52:50] local.INFO: Extracted packet for processing {"connection_id":174681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07295"} 
[2026-09-05 22:52:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888896256001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788628802000,"timestamp_ms":1788628802000,"timestamp_seconds":1788628802,"priority":1,"record_length":96,"hex_timestamp":"000001a0729599d0"} 
[2026-09-05 22:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 22:52:50] 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-09-05 22:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888896256001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888896256001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:52:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:52:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888896256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":174681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:52:50] local.INFO: GPS data processed {"connection_id":174681,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:52:50] local.INFO: Acknowledgment sent {"connection_id":174681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:52:55] local.INFO: TCP Data received {"connection_id":171993,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:52:55] local.INFO: Processing buffer {"connection_id":171993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:52:55] local.INFO: IMEI packet received {"connection_id":171993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":171993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:52:56] local.INFO: TCP Data received {"connection_id":171993,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072977e30012d741cc00607a020000601392d..."} 
[2026-09-05 22:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072977e30012d741cc00607a020000601392d..."} 
[2026-09-05 22:52:56] local.INFO: Processing buffer {"connection_id":171993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072977e30012d741cc00607a020000601392d..."} 
[2026-09-05 22:52:56] local.INFO: Packet analysis {"connection_id":171993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07297"} 
[2026-09-05 22:52:56] local.INFO: Extracted packet for processing {"connection_id":171993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07297"} 
[2026-09-05 22:52:56] local.INFO: GPS Element Parsed {"raw_longitude":762584256,"raw_latitude":101163040,"longitude_deg":76.2584256,"latitude_deg":10.116304,"altitude":6,"angle":313,"satellites":45,"speed":40,"hex_longitude":"2d741cc0","hex_latitude":"0607a020","is_valid_coordinates":true} 
[2026-09-05 22:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889002752001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400001531320991744,"note":"Value kept but may cause issues"} 
[2026-09-05 22:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8372613945642526720,"note":"Value kept but may cause issues"} 
[2026-09-05 22:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788628926000,"timestamp_ms":1788628926000,"timestamp_seconds":1788628926,"priority":1,"record_length":96,"hex_timestamp":"000001a072977e30"} 
[2026-09-05 22:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 22:52:56] 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-09-05 22:52:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":171993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":171993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":171993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889002752001,"66":27365,"129":206,"79":47616,"24":40,"16":400001531320991744,"45":8372613945642526720},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,79,24,16,45]} 
[2026-09-05 22:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889002752001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:52:56] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-05 22:52:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400001531320991744,"km_value":400001531320991.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8372613945642526720,"description":"Unknown IO ID 45"} 
[2026-09-05 22:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889002752001,"power":27365,"unknown_129":206,"unknown_79":47616,"ignition":40,"odometer":null,"unknown_45":8372613945642526720}} 
[2026-09-05 22:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":171993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:52:56] local.INFO: GPS data processed {"connection_id":171993,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:52:56] local.INFO: Acknowledgment sent {"connection_id":171993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:53:21] local.INFO: TCP Data received {"connection_id":174681,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0729599d0012d196500071ff128004001452a..."} 
[2026-09-05 22:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729599d0012d196500071ff128004001452a..."} 
[2026-09-05 22:53:21] local.INFO: Processing buffer {"connection_id":174681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729599d0012d196500071ff128004001452a..."} 
[2026-09-05 22:53:21] local.INFO: Packet analysis {"connection_id":174681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07295"} 
[2026-09-05 22:53:21] local.INFO: Extracted packet for processing {"connection_id":174681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07295"} 
[2026-09-05 22:53:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888896256001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788628802000,"timestamp_ms":1788628802000,"timestamp_seconds":1788628802,"priority":1,"record_length":96,"hex_timestamp":"000001a0729599d0"} 
[2026-09-05 22:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:53:21] 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-09-05 22:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 22:53:21] 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-09-05 22:53:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888896256001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888896256001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:53:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:53:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888896256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":174681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:53:21] local.INFO: GPS data processed {"connection_id":174681,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:53:21] local.INFO: Acknowledgment sent {"connection_id":174681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:53:27] local.INFO: TCP Data received {"connection_id":171993,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0729789e8012d7412800607a7b0000401272e..."} 
[2026-09-05 22:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729789e8012d7412800607a7b0000401272e..."} 
[2026-09-05 22:53:27] local.INFO: Processing buffer {"connection_id":171993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729789e8012d7412800607a7b0000401272e..."} 
[2026-09-05 22:53:27] local.INFO: Packet analysis {"connection_id":171993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07297"} 
[2026-09-05 22:53:27] local.INFO: Extracted packet for processing {"connection_id":171993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07297"} 
[2026-09-05 22:53:27] local.INFO: GPS Element Parsed {"raw_longitude":762581632,"raw_latitude":101164976,"longitude_deg":76.2581632,"latitude_deg":10.1164976,"altitude":4,"angle":295,"satellites":46,"speed":40,"hex_longitude":"2d741280","hex_latitude":"0607a7b0","is_valid_coordinates":true} 
[2026-09-05 22:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889005056001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400001685939814400,"note":"Value kept but may cause issues"} 
[2026-09-05 22:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8366773339877810176,"note":"Value kept but may cause issues"} 
[2026-09-05 22:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788628929000,"timestamp_ms":1788628929000,"timestamp_seconds":1788628929,"priority":1,"record_length":96,"hex_timestamp":"000001a0729789e8"} 
[2026-09-05 22:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-05 22:53: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-09-05 22:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":171993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":171993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":171993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889005056001,"66":27321,"129":206,"79":47616,"24":40,"16":400001685939814400,"45":8366773339877810176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,79,24,16,45]} 
[2026-09-05 22:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889005056001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:53:27] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-05 22:53:27] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400001685939814400,"km_value":400001685939814.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8366773339877810176,"description":"Unknown IO ID 45"} 
[2026-09-05 22:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889005056001,"power":27321,"unknown_129":206,"unknown_79":47616,"ignition":40,"odometer":null,"unknown_45":8366773339877810176}} 
[2026-09-05 22:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":171993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:53:27] local.INFO: GPS data processed {"connection_id":171993,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:53:27] local.INFO: Acknowledgment sent {"connection_id":171993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:53:43] local.INFO: TCP Data received {"connection_id":174683,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:53:43] local.INFO: Processing buffer {"connection_id":174683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:53:43] local.INFO: IMEI packet received {"connection_id":174683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":174683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:53:49] local.INFO: TCP Data received {"connection_id":174683,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:53:49] local.INFO: Processing buffer {"connection_id":174683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:53:49] local.INFO: IMEI packet received {"connection_id":174683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":174683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:53:49] local.INFO: TCP Data received {"connection_id":174683,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0729599d0012d196500071ff128004001452a..."} 
[2026-09-05 22:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729599d0012d196500071ff128004001452a..."} 
[2026-09-05 22:53:49] local.INFO: Processing buffer {"connection_id":174683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729599d0012d196500071ff128004001452a..."} 
[2026-09-05 22:53:49] local.INFO: Packet analysis {"connection_id":174683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07295"} 
[2026-09-05 22:53:49] local.INFO: Extracted packet for processing {"connection_id":174683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07295"} 
[2026-09-05 22:53:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888896256001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788628802000,"timestamp_ms":1788628802000,"timestamp_seconds":1788628802,"priority":1,"record_length":96,"hex_timestamp":"000001a0729599d0"} 
[2026-09-05 22:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:53:49] 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-09-05 22:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 22:53: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-09-05 22:53:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888896256001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888896256001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:53:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:53:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888896256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":174683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:53:50] local.INFO: GPS data processed {"connection_id":174683,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:53:50] local.INFO: Acknowledgment sent {"connection_id":174683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:53:51] local.INFO: TCP Data received {"connection_id":173356,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:53:51] local.INFO: Processing buffer {"connection_id":173356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:53:51] local.INFO: IMEI packet received {"connection_id":173356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":173356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:53:55] local.INFO: TCP Data received {"connection_id":173356,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:53:55] local.INFO: Processing buffer {"connection_id":173356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:53:55] local.INFO: IMEI packet received {"connection_id":173356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":173356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:54:00] local.INFO: TCP Data received {"connection_id":173356,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:54:00] local.INFO: Processing buffer {"connection_id":173356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:54:00] local.INFO: IMEI packet received {"connection_id":173356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":173356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:54:00] local.INFO: TCP Data received {"connection_id":173356,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07297a928012d73f5400607b448000301342d..."} 
[2026-09-05 22:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07297a928012d73f5400607b448000301342d..."} 
[2026-09-05 22:54:00] local.INFO: Processing buffer {"connection_id":173356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07297a928012d73f5400607b448000301342d..."} 
[2026-09-05 22:54:00] local.INFO: Packet analysis {"connection_id":173356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07297"} 
[2026-09-05 22:54:00] local.INFO: Extracted packet for processing {"connection_id":173356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07297"} 
[2026-09-05 22:54:00] local.INFO: GPS Element Parsed {"raw_longitude":762574144,"raw_latitude":101168200,"longitude_deg":76.2574144,"latitude_deg":10.11682,"altitude":3,"angle":308,"satellites":45,"speed":34,"hex_longitude":"2d73f540","hex_latitude":"0607b448","is_valid_coordinates":true} 
[2026-09-05 22:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889005824001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400002076781838336,"note":"Value kept but may cause issues"} 
[2026-09-05 22:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8363888221367021568,"note":"Value kept but may cause issues"} 
[2026-09-05 22:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788628937000,"timestamp_ms":1788628937000,"timestamp_seconds":1788628937,"priority":1,"record_length":96,"hex_timestamp":"000001a07297a928"} 
[2026-09-05 22:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 22:54: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-09-05 22:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889005824001,"66":27365,"129":206,"79":47616,"24":34,"16":400002076781838336,"45":8363888221367021568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,79,24,16,45]} 
[2026-09-05 22:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889005824001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:54:00] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-05 22:54:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400002076781838336,"km_value":400002076781838.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8363888221367021568,"description":"Unknown IO ID 45"} 
[2026-09-05 22:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889005824001,"power":27365,"unknown_129":206,"unknown_79":47616,"ignition":34,"odometer":null,"unknown_45":8363888221367021568}} 
[2026-09-05 22:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":173356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:54:00] local.INFO: GPS data processed {"connection_id":173356,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:54:00] local.INFO: Acknowledgment sent {"connection_id":173356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:54:04] local.INFO: TCP Data received {"connection_id":173356,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07297bcb0012d73e6c00607bf08000201272d..."} 
[2026-09-05 22:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07297bcb0012d73e6c00607bf08000201272d..."} 
[2026-09-05 22:54:04] local.INFO: Processing buffer {"connection_id":173356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07297bcb0012d73e6c00607bf08000201272d..."} 
[2026-09-05 22:54:04] local.INFO: Packet analysis {"connection_id":173356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07297"} 
[2026-09-05 22:54:04] local.INFO: Extracted packet for processing {"connection_id":173356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07297"} 
[2026-09-05 22:54:04] local.INFO: GPS Element Parsed {"raw_longitude":762570432,"raw_latitude":101170952,"longitude_deg":76.2570432,"latitude_deg":10.1170952,"altitude":2,"angle":295,"satellites":45,"speed":35,"hex_longitude":"2d73e6c0","hex_latitude":"0607bf08","is_valid_coordinates":true} 
[2026-09-05 22: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-09-05 22:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889007872001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400002300120137728,"note":"Value kept but may cause issues"} 
[2026-09-05 22:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8355655078299060224,"note":"Value kept but may cause issues"} 
[2026-09-05 22:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788628942000,"timestamp_ms":1788628942000,"timestamp_seconds":1788628942,"priority":1,"record_length":96,"hex_timestamp":"000001a07297bcb0"} 
[2026-09-05 22:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-05 22:54: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-09-05 22: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-09-05 22:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:54: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-09-05 22:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889007872001,"66":27332,"129":206,"79":47616,"24":35,"16":400002300120137728,"45":8355655078299060224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,79,24,16,45]} 
[2026-09-05 22:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889007872001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:54:04] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-05 22:54:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400002300120137728,"km_value":400002300120137.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8355655078299060224,"description":"Unknown IO ID 45"} 
[2026-09-05 22:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889007872001,"power":27332,"unknown_129":206,"unknown_79":47616,"ignition":35,"odometer":null,"unknown_45":8355655078299060224}} 
[2026-09-05 22:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":173356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:54:04] local.INFO: GPS data processed {"connection_id":173356,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:54:04] local.INFO: Acknowledgment sent {"connection_id":173356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:54:21] local.INFO: TCP Data received {"connection_id":174683,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0729599d0012d196500071ff128004001452a..."} 
[2026-09-05 22:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729599d0012d196500071ff128004001452a..."} 
[2026-09-05 22:54:21] local.INFO: Processing buffer {"connection_id":174683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729599d0012d196500071ff128004001452a..."} 
[2026-09-05 22:54:21] local.INFO: Packet analysis {"connection_id":174683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07295"} 
[2026-09-05 22:54:21] local.INFO: Extracted packet for processing {"connection_id":174683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07295"} 
[2026-09-05 22:54:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888896256001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788628802000,"timestamp_ms":1788628802000,"timestamp_seconds":1788628802,"priority":1,"record_length":96,"hex_timestamp":"000001a0729599d0"} 
[2026-09-05 22:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:54:21] 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-09-05 22:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 22:54:21] 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-09-05 22:54:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888896256001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888896256001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:54:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:54:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888896256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":174683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:54:21] local.INFO: GPS data processed {"connection_id":174683,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:54:21] local.INFO: Acknowledgment sent {"connection_id":174683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:54:43] local.INFO: TCP Data received {"connection_id":174684,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:54:43] local.INFO: Processing buffer {"connection_id":174684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:54:43] local.INFO: IMEI packet received {"connection_id":174684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":174684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:54:49] local.INFO: TCP Data received {"connection_id":174684,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:54:49] local.INFO: Processing buffer {"connection_id":174684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:54:49] local.INFO: IMEI packet received {"connection_id":174684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":174684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:54:49] local.INFO: TCP Data received {"connection_id":174685,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:54:49] local.INFO: Processing buffer {"connection_id":174685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:54:49] local.INFO: IMEI packet received {"connection_id":174685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":174685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:54:50] local.INFO: TCP Data received {"connection_id":174684,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0729599d0012d196500071ff128004001452a..."} 
[2026-09-05 22:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729599d0012d196500071ff128004001452a..."} 
[2026-09-05 22:54:50] local.INFO: Processing buffer {"connection_id":174684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729599d0012d196500071ff128004001452a..."} 
[2026-09-05 22:54:50] local.INFO: Packet analysis {"connection_id":174684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07295"} 
[2026-09-05 22:54:50] local.INFO: Extracted packet for processing {"connection_id":174684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07295"} 
[2026-09-05 22:54:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888896256001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788628802000,"timestamp_ms":1788628802000,"timestamp_seconds":1788628802,"priority":1,"record_length":96,"hex_timestamp":"000001a0729599d0"} 
[2026-09-05 22:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 22:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 22:54:50] 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-09-05 22:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888896256001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888896256001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:54:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:54:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888896256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":174684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:54:50] local.INFO: GPS data processed {"connection_id":174684,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:54:50] local.INFO: Acknowledgment sent {"connection_id":174684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:54:57] local.INFO: TCP Data received {"connection_id":174685,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:54:57] local.INFO: Processing buffer {"connection_id":174685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:54:57] local.INFO: IMEI packet received {"connection_id":174685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":174685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:54:58] local.INFO: TCP Data received {"connection_id":174685,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07298e590012d7389c006088460000701562f..."} 
[2026-09-05 22:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07298e590012d7389c006088460000701562f..."} 
[2026-09-05 22:54:58] local.INFO: Processing buffer {"connection_id":174685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07298e590012d7389c006088460000701562f..."} 
[2026-09-05 22:54:58] local.INFO: Packet analysis {"connection_id":174685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07298"} 
[2026-09-05 22:54:58] local.INFO: Extracted packet for processing {"connection_id":174685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07298"} 
[2026-09-05 22:54:58] local.INFO: GPS Element Parsed {"raw_longitude":762546624,"raw_latitude":101221472,"longitude_deg":76.2546624,"latitude_deg":10.1221472,"altitude":7,"angle":342,"satellites":47,"speed":23,"hex_longitude":"2d7389c0","hex_latitude":"06088460","is_valid_coordinates":true} 
[2026-09-05 22:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889025536001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400005087553912832,"note":"Value kept but may cause issues"} 
[2026-09-05 22:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8328914955522926592,"note":"Value kept but may cause issues"} 
[2026-09-05 22:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788629018000,"timestamp_ms":1788629018000,"timestamp_seconds":1788629018,"priority":1,"record_length":96,"hex_timestamp":"000001a07298e590"} 
[2026-09-05 22:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:54: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-09-05 22:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-05 22:54:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:54:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889025536001,"66":26778,"131":206,"79":47616,"24":23,"16":400005087553912832,"45":8328914955522926592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,79,24,16,45]} 
[2026-09-05 22:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889025536001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:54:58] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-05 22:54:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400005087553912832,"km_value":400005087553912.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8328914955522926592,"description":"Unknown IO ID 45"} 
[2026-09-05 22:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889025536001,"power":26778,"unknown_131":206,"unknown_79":47616,"ignition":23,"odometer":null,"unknown_45":8328914955522926592}} 
[2026-09-05 22:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":174685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:54:58] local.INFO: GPS data processed {"connection_id":174685,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:54:58] local.INFO: Acknowledgment sent {"connection_id":174685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:54:59] local.INFO: TCP Data received {"connection_id":174685,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0729900e8012d7383c0060893500006014530..."} 
[2026-09-05 22:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729900e8012d7383c0060893500006014530..."} 
[2026-09-05 22:54:59] local.INFO: Processing buffer {"connection_id":174685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729900e8012d7383c0060893500006014530..."} 
[2026-09-05 22:54:59] local.INFO: Packet analysis {"connection_id":174685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07299"} 
[2026-09-05 22:54:59] local.INFO: Extracted packet for processing {"connection_id":174685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07299"} 
[2026-09-05 22:54:59] local.INFO: GPS Element Parsed {"raw_longitude":762545088,"raw_latitude":101225296,"longitude_deg":76.2545088,"latitude_deg":10.1225296,"altitude":6,"angle":325,"satellites":48,"speed":21,"hex_longitude":"2d7383c0","hex_latitude":"06089350","is_valid_coordinates":true} 
[2026-09-05 22:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889028608001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400005285122408448,"note":"Value kept but may cause issues"} 
[2026-09-05 22:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8325396518316302336,"note":"Value kept but may cause issues"} 
[2026-09-05 22:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788629025000,"timestamp_ms":1788629025000,"timestamp_seconds":1788629025,"priority":1,"record_length":96,"hex_timestamp":"000001a0729900e8"} 
[2026-09-05 22:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-05 22:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2104,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889028608001,"66":27343,"131":206,"79":47616,"24":21,"16":400005285122408448,"45":8325396518316302336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,79,24,16,45]} 
[2026-09-05 22:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889028608001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:54:59] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-05 22:54:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400005285122408448,"km_value":400005285122408.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8325396518316302336,"description":"Unknown IO ID 45"} 
[2026-09-05 22:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889028608001,"power":27343,"unknown_131":206,"unknown_79":47616,"ignition":21,"odometer":null,"unknown_45":8325396518316302336}} 
[2026-09-05 22:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":174685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:54:59] local.INFO: GPS data processed {"connection_id":174685,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:54:59] local.INFO: Acknowledgment sent {"connection_id":174685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:55:21] local.INFO: TCP Data received {"connection_id":174684,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0729599d0012d196500071ff128004001452a..."} 
[2026-09-05 22:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729599d0012d196500071ff128004001452a..."} 
[2026-09-05 22:55:21] local.INFO: Processing buffer {"connection_id":174684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729599d0012d196500071ff128004001452a..."} 
[2026-09-05 22:55:21] local.INFO: Packet analysis {"connection_id":174684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07295"} 
[2026-09-05 22:55:21] local.INFO: Extracted packet for processing {"connection_id":174684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07295"} 
[2026-09-05 22:55:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22: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-09-05 22:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888896256001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788628802000,"timestamp_ms":1788628802000,"timestamp_seconds":1788628802,"priority":1,"record_length":96,"hex_timestamp":"000001a0729599d0"} 
[2026-09-05 22:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:55:21] 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-09-05 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 22:55:21] 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-09-05 22: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-09-05 22:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888896256001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888896256001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:55:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:55:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888896256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":174684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:55:21] local.INFO: GPS data processed {"connection_id":174684,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:55:21] local.INFO: Acknowledgment sent {"connection_id":174684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:55:30] local.INFO: TCP Data received {"connection_id":174685,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072993798012d736c400608ae28000601402c..."} 
[2026-09-05 22:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072993798012d736c400608ae28000601402c..."} 
[2026-09-05 22:55:30] local.INFO: Processing buffer {"connection_id":174685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072993798012d736c400608ae28000601402c..."} 
[2026-09-05 22:55:30] local.INFO: Packet analysis {"connection_id":174685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07299"} 
[2026-09-05 22:55:30] local.INFO: Extracted packet for processing {"connection_id":174685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07299"} 
[2026-09-05 22:55:30] local.INFO: GPS Element Parsed {"raw_longitude":762539072,"raw_latitude":101232168,"longitude_deg":76.2539072,"latitude_deg":10.1232168,"altitude":6,"angle":320,"satellites":44,"speed":31,"hex_longitude":"2d736c40","hex_latitude":"0608ae28","is_valid_coordinates":true} 
[2026-09-05 22:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889030400001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400005727504039936,"note":"Value kept but may cause issues"} 
[2026-09-05 22:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8323707668457017344,"note":"Value kept but may cause issues"} 
[2026-09-05 22:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788629039000,"timestamp_ms":1788629039000,"timestamp_seconds":1788629039,"priority":1,"record_length":96,"hex_timestamp":"000001a072993798"} 
[2026-09-05 22:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:55: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-09-05 22:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 22:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889030400001,"66":27082,"131":206,"79":47616,"24":31,"16":400005727504039936,"45":8323707668457017344},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,79,24,16,45]} 
[2026-09-05 22:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889030400001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:55:30] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-05 22:55:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400005727504039936,"km_value":400005727504039.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8323707668457017344,"description":"Unknown IO ID 45"} 
[2026-09-05 22:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889030400001,"power":27082,"unknown_131":206,"unknown_79":47616,"ignition":31,"odometer":null,"unknown_45":8323707668457017344}} 
[2026-09-05 22:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":174685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:55:30] local.INFO: GPS data processed {"connection_id":174685,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:55:30] local.INFO: Acknowledgment sent {"connection_id":174685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:55:49] local.INFO: TCP Data received {"connection_id":173357,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:55:49] local.INFO: Processing buffer {"connection_id":173357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:55:49] local.INFO: IMEI packet received {"connection_id":173357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":173357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:55:50] local.INFO: TCP Data received {"connection_id":173358,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:55:50] local.INFO: Processing buffer {"connection_id":173358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:55:50] local.INFO: IMEI packet received {"connection_id":173358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":173358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:55:54] local.INFO: TCP Data received {"connection_id":173357,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:55:54] local.INFO: Processing buffer {"connection_id":173357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:55:54] local.INFO: IMEI packet received {"connection_id":173357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":173357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:55:54] local.INFO: TCP Data received {"connection_id":173357,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0729a3198012d196500071ff1280040014528..."} 
[2026-09-05 22:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729a3198012d196500071ff1280040014528..."} 
[2026-09-05 22:55:54] local.INFO: Processing buffer {"connection_id":173357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729a3198012d196500071ff1280040014528..."} 
[2026-09-05 22:55:54] local.INFO: Packet analysis {"connection_id":173357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0729a"} 
[2026-09-05 22:55:54] local.INFO: Extracted packet for processing {"connection_id":173357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0729a"} 
[2026-09-05 22:55:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888973312001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788629103000,"timestamp_ms":1788629103000,"timestamp_seconds":1788629103,"priority":1,"record_length":96,"hex_timestamp":"000001a0729a3198"} 
[2026-09-05 22:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:55:54] 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-09-05 22:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:55:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888973312001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888973312001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:55:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:55:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888973312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":173357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:55:55] local.INFO: GPS data processed {"connection_id":173357,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:55:55] local.INFO: Acknowledgment sent {"connection_id":173357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:55:55] local.INFO: TCP Data received {"connection_id":173358,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:55:55] local.INFO: Processing buffer {"connection_id":173358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:55:55] local.INFO: IMEI packet received {"connection_id":173358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":173358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:55:56] local.INFO: TCP Data received {"connection_id":173358,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072994f08012d735f000608bc30000501332f..."} 
[2026-09-05 22:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072994f08012d735f000608bc30000501332f..."} 
[2026-09-05 22:55:56] local.INFO: Processing buffer {"connection_id":173358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072994f08012d735f000608bc30000501332f..."} 
[2026-09-05 22:55:56] local.INFO: Packet analysis {"connection_id":173358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07299"} 
[2026-09-05 22:55:56] local.INFO: Extracted packet for processing {"connection_id":173358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07299"} 
[2026-09-05 22:55:56] local.INFO: GPS Element Parsed {"raw_longitude":762535680,"raw_latitude":101235760,"longitude_deg":76.253568,"latitude_deg":10.123576,"altitude":5,"angle":307,"satellites":47,"speed":34,"hex_longitude":"2d735f00","hex_latitude":"0608bc30","is_valid_coordinates":true} 
[2026-09-05 22:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889033984001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400005963727241216,"note":"Value kept but may cause issues"} 
[2026-09-05 22:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8317093006506076160,"note":"Value kept but may cause issues"} 
[2026-09-05 22:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788629045000,"timestamp_ms":1788629045000,"timestamp_seconds":1788629045,"priority":1,"record_length":96,"hex_timestamp":"000001a072994f08"} 
[2026-09-05 22:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-05 22:55:56] 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-09-05 22:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889033984001,"66":27332,"131":206,"79":47616,"24":34,"16":400005963727241216,"45":8317093006506076160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,79,24,16,45]} 
[2026-09-05 22:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889033984001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:55:56] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-05 22:55:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400005963727241216,"km_value":400005963727241.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8317093006506076160,"description":"Unknown IO ID 45"} 
[2026-09-05 22:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889033984001,"power":27332,"unknown_131":206,"unknown_79":47616,"ignition":34,"odometer":null,"unknown_45":8317093006506076160}} 
[2026-09-05 22:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":173358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:55:56] local.INFO: GPS data processed {"connection_id":173358,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:55:56] local.INFO: Acknowledgment sent {"connection_id":173358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:55:59] local.INFO: TCP Data received {"connection_id":173357,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0729a3198012d196500071ff1280040014528..."} 
[2026-09-05 22:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729a3198012d196500071ff1280040014528..."} 
[2026-09-05 22:55:59] local.INFO: Processing buffer {"connection_id":173357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729a3198012d196500071ff1280040014528..."} 
[2026-09-05 22:55:59] local.INFO: Packet analysis {"connection_id":173357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0729a"} 
[2026-09-05 22:55:59] local.INFO: Extracted packet for processing {"connection_id":173357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0729a"} 
[2026-09-05 22:55:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888973312001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788629103000,"timestamp_ms":1788629103000,"timestamp_seconds":1788629103,"priority":1,"record_length":96,"hex_timestamp":"000001a0729a3198"} 
[2026-09-05 22:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:55:59] 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-09-05 22:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888973312001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888973312001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:55:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:55:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888973312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":173357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:55:59] local.INFO: GPS data processed {"connection_id":173357,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:55:59] local.INFO: Acknowledgment sent {"connection_id":173357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:56:27] local.INFO: TCP Data received {"connection_id":173358,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0729ad990012d721f400608a6780007010130..."} 
[2026-09-05 22:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729ad990012d721f400608a6780007010130..."} 
[2026-09-05 22:56:27] local.INFO: Processing buffer {"connection_id":173358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729ad990012d721f400608a6780007010130..."} 
[2026-09-05 22:56:27] local.INFO: Packet analysis {"connection_id":173358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0729a"} 
[2026-09-05 22:56:27] local.INFO: Extracted packet for processing {"connection_id":173358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0729a"} 
[2026-09-05 22:56:27] local.INFO: GPS Element Parsed {"raw_longitude":762453824,"raw_latitude":101230200,"longitude_deg":76.2453824,"latitude_deg":10.12302,"altitude":7,"angle":257,"satellites":48,"speed":13,"hex_longitude":"2d721f40","hex_latitude":"0608a678","is_valid_coordinates":true} 
[2026-09-05 22:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889058816001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400010052536107008,"note":"Value kept but may cause issues"} 
[2026-09-05 22:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8227583963912046592,"note":"Value kept but may cause issues"} 
[2026-09-05 22:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788629146000,"timestamp_ms":1788629146000,"timestamp_seconds":1788629146,"priority":1,"record_length":96,"hex_timestamp":"000001a0729ad990"} 
[2026-09-05 22:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:56: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-09-05 22:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-05 22:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889058816001,"66":27332,"147":206,"79":47616,"24":13,"16":400010052536107008,"45":8227583963912046592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-09-05 22:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889058816001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:56:27] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-09-05 22:56:27] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400010052536107008,"km_value":400010052536107.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8227583963912046592,"description":"Unknown IO ID 45"} 
[2026-09-05 22:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889058816001,"power":27332,"unknown_147":206,"unknown_79":47616,"ignition":13,"odometer":null,"unknown_45":8227583963912046592}} 
[2026-09-05 22:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":173358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:56:27] local.INFO: GPS data processed {"connection_id":173358,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:56:27] local.INFO: Acknowledgment sent {"connection_id":173358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:56:44] local.INFO: TCP Data received {"connection_id":171995,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:56:44] local.INFO: Processing buffer {"connection_id":171995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:56:44] local.INFO: IMEI packet received {"connection_id":171995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":171995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:56:49] local.INFO: TCP Data received {"connection_id":171995,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:56:49] local.INFO: Processing buffer {"connection_id":171995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:56:49] local.INFO: IMEI packet received {"connection_id":171995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":171995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:56:49] local.INFO: TCP Data received {"connection_id":171996,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:56:49] local.INFO: Processing buffer {"connection_id":171996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:56:49] local.INFO: IMEI packet received {"connection_id":171996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":171996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:56:50] local.INFO: TCP Data received {"connection_id":171995,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0729a3198012d196500071ff1280040014528..."} 
[2026-09-05 22:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729a3198012d196500071ff1280040014528..."} 
[2026-09-05 22:56:50] local.INFO: Processing buffer {"connection_id":171995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729a3198012d196500071ff1280040014528..."} 
[2026-09-05 22:56:50] local.INFO: Packet analysis {"connection_id":171995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0729a"} 
[2026-09-05 22:56:50] local.INFO: Extracted packet for processing {"connection_id":171995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0729a"} 
[2026-09-05 22:56:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888973312001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788629103000,"timestamp_ms":1788629103000,"timestamp_seconds":1788629103,"priority":1,"record_length":96,"hex_timestamp":"000001a0729a3198"} 
[2026-09-05 22:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:56:50] 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-09-05 22:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":171995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":171995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":171995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888973312001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888973312001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:56:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:56:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888973312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":171995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:56:50] local.INFO: GPS data processed {"connection_id":171995,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:56:50] local.INFO: Acknowledgment sent {"connection_id":171995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:56:54] local.INFO: TCP Data received {"connection_id":171995,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0729a3198012d196500071ff1280040014528..."} 
[2026-09-05 22:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729a3198012d196500071ff1280040014528..."} 
[2026-09-05 22:56:54] local.INFO: Processing buffer {"connection_id":171995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729a3198012d196500071ff1280040014528..."} 
[2026-09-05 22:56:54] local.INFO: Packet analysis {"connection_id":171995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0729a"} 
[2026-09-05 22:56:54] local.INFO: Extracted packet for processing {"connection_id":171995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0729a"} 
[2026-09-05 22:56:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888973312001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788629103000,"timestamp_ms":1788629103000,"timestamp_seconds":1788629103,"priority":1,"record_length":96,"hex_timestamp":"000001a0729a3198"} 
[2026-09-05 22:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:56:54] 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-09-05 22:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":171995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":171995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":171995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888973312001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888973312001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:56:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:56:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888973312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":171995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:56:54] local.INFO: GPS data processed {"connection_id":171995,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:56:54] local.INFO: Acknowledgment sent {"connection_id":171995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:56:55] local.INFO: TCP Data received {"connection_id":171996,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:56:55] local.INFO: Processing buffer {"connection_id":171996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:56:55] local.INFO: IMEI packet received {"connection_id":171996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":171996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:56:55] local.INFO: TCP Data received {"connection_id":171996,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0729add78012d721e400608a6680007011131..."} 
[2026-09-05 22:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729add78012d721e400608a6680007011131..."} 
[2026-09-05 22:56:55] local.INFO: Processing buffer {"connection_id":171996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729add78012d721e400608a6680007011131..."} 
[2026-09-05 22:56:55] local.INFO: Packet analysis {"connection_id":171996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0729a"} 
[2026-09-05 22:56:55] local.INFO: Extracted packet for processing {"connection_id":171996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0729a"} 
[2026-09-05 22:56:55] local.INFO: GPS Element Parsed {"raw_longitude":762453568,"raw_latitude":101230184,"longitude_deg":76.2453568,"latitude_deg":10.1230184,"altitude":7,"angle":273,"satellites":49,"speed":12,"hex_longitude":"2d721e40","hex_latitude":"0608a668","is_valid_coordinates":true} 
[2026-09-05 22:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889061376001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400010069715976192,"note":"Value kept but may cause issues"} 
[2026-09-05 22:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8223361839260923904,"note":"Value kept but may cause issues"} 
[2026-09-05 22:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788629147000,"timestamp_ms":1788629147000,"timestamp_seconds":1788629147,"priority":1,"record_length":96,"hex_timestamp":"000001a0729add78"} 
[2026-09-05 22:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-05 22:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889061376001,"66":27332,"147":206,"79":47616,"24":12,"16":400010069715976192,"45":8223361839260923904},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-09-05 22:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889061376001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:56:55] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-09-05 22:56:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400010069715976192,"km_value":400010069715976.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8223361839260923904,"description":"Unknown IO ID 45"} 
[2026-09-05 22:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889061376001,"power":27332,"unknown_147":206,"unknown_79":47616,"ignition":12,"odometer":null,"unknown_45":8223361839260923904}} 
[2026-09-05 22:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":171996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:56:55] local.INFO: GPS data processed {"connection_id":171996,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:56:55] local.INFO: Acknowledgment sent {"connection_id":171996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:57:25] local.INFO: TCP Data received {"connection_id":171995,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0729a3198012d196500071ff1280040014528..."} 
[2026-09-05 22:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729a3198012d196500071ff1280040014528..."} 
[2026-09-05 22:57:25] local.INFO: Processing buffer {"connection_id":171995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729a3198012d196500071ff1280040014528..."} 
[2026-09-05 22:57:25] local.INFO: Packet analysis {"connection_id":171995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0729a"} 
[2026-09-05 22:57:25] local.INFO: Extracted packet for processing {"connection_id":171995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0729a"} 
[2026-09-05 22:57:25] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888973312001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788629103000,"timestamp_ms":1788629103000,"timestamp_seconds":1788629103,"priority":1,"record_length":96,"hex_timestamp":"000001a0729a3198"} 
[2026-09-05 22:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:57:25] 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-09-05 22:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":171995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":171995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":171995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888973312001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888973312001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:57:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:57:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888973312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":171995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:57:25] local.INFO: GPS data processed {"connection_id":171995,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:57:25] local.INFO: Acknowledgment sent {"connection_id":171995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:57:26] local.INFO: TCP Data received {"connection_id":171996,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0729ae160012d721d000608a6d00007012d31..."} 
[2026-09-05 22:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729ae160012d721d000608a6d00007012d31..."} 
[2026-09-05 22:57:26] local.INFO: Processing buffer {"connection_id":171996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729ae160012d721d000608a6d00007012d31..."} 
[2026-09-05 22:57:26] local.INFO: Packet analysis {"connection_id":171996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0729a"} 
[2026-09-05 22:57:26] local.INFO: Extracted packet for processing {"connection_id":171996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0729a"} 
[2026-09-05 22:57:26] local.INFO: GPS Element Parsed {"raw_longitude":762453248,"raw_latitude":101230288,"longitude_deg":76.2453248,"latitude_deg":10.1230288,"altitude":7,"angle":301,"satellites":49,"speed":12,"hex_longitude":"2d721d00","hex_latitude":"0608a6d0","is_valid_coordinates":true} 
[2026-09-05 22:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889061632001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400010082600878080,"note":"Value kept but may cause issues"} 
[2026-09-05 22:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8223080364284209152,"note":"Value kept but may cause issues"} 
[2026-09-05 22:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788629148000,"timestamp_ms":1788629148000,"timestamp_seconds":1788629148,"priority":1,"record_length":96,"hex_timestamp":"000001a0729ae160"} 
[2026-09-05 22:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:57:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-05 22:57:26] 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-09-05 22:57:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:57:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889061632001,"66":27234,"147":206,"79":47616,"24":12,"16":400010082600878080,"45":8223080364284209152},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-09-05 22:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889061632001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:57:26] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-09-05 22:57:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400010082600878080,"km_value":400010082600878.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8223080364284209152,"description":"Unknown IO ID 45"} 
[2026-09-05 22:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889061632001,"power":27234,"unknown_147":206,"unknown_79":47616,"ignition":12,"odometer":null,"unknown_45":8223080364284209152}} 
[2026-09-05 22:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":171996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:57:26] local.INFO: GPS data processed {"connection_id":171996,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:57:26] local.INFO: Acknowledgment sent {"connection_id":171996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:57:42] local.INFO: TCP Data received {"connection_id":172244,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:57:42] local.INFO: Processing buffer {"connection_id":172244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:57:42] local.INFO: IMEI packet received {"connection_id":172244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 22:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":172244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:57:44] local.INFO: TCP Data received {"connection_id":172245,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:57:44] local.INFO: Processing buffer {"connection_id":172245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:57:44] local.INFO: IMEI packet received {"connection_id":172245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":172245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:57:49] local.INFO: TCP Data received {"connection_id":172245,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:57:49] local.INFO: Processing buffer {"connection_id":172245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:57:49] local.INFO: IMEI packet received {"connection_id":172245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":172245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:57:49] local.INFO: TCP Data received {"connection_id":172246,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:57:49] local.INFO: Processing buffer {"connection_id":172246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:57:49] local.INFO: IMEI packet received {"connection_id":172246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":172246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:57:49] local.INFO: TCP Data received {"connection_id":172245,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0729a3198012d196500071ff1280040014528..."} 
[2026-09-05 22:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729a3198012d196500071ff1280040014528..."} 
[2026-09-05 22:57:49] local.INFO: Processing buffer {"connection_id":172245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729a3198012d196500071ff1280040014528..."} 
[2026-09-05 22:57:49] local.INFO: Packet analysis {"connection_id":172245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0729a"} 
[2026-09-05 22:57:49] local.INFO: Extracted packet for processing {"connection_id":172245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0729a"} 
[2026-09-05 22:57:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888973312001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788629103000,"timestamp_ms":1788629103000,"timestamp_seconds":1788629103,"priority":1,"record_length":96,"hex_timestamp":"000001a0729a3198"} 
[2026-09-05 22:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:57:49] 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-09-05 22:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:57: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-09-05 22:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888973312001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888973312001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:57:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:57:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888973312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":172245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:57:50] local.INFO: GPS data processed {"connection_id":172245,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:57:50] local.INFO: Acknowledgment sent {"connection_id":172245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:57:53] local.INFO: TCP Data received {"connection_id":172246,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:57:53] local.INFO: Processing buffer {"connection_id":172246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:57:53] local.INFO: IMEI packet received {"connection_id":172246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":172246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:57:54] local.INFO: TCP Data received {"connection_id":172246,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:57:54] local.INFO: Processing buffer {"connection_id":172246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:57:54] local.INFO: IMEI packet received {"connection_id":172246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":172246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:57:55] local.INFO: TCP Data received {"connection_id":172246,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0729ae548012d721bc00608a7b80007014031..."} 
[2026-09-05 22:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729ae548012d721bc00608a7b80007014031..."} 
[2026-09-05 22:57:55] local.INFO: Processing buffer {"connection_id":172246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729ae548012d721bc00608a7b80007014031..."} 
[2026-09-05 22:57:55] local.INFO: Packet analysis {"connection_id":172246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0729a"} 
[2026-09-05 22:57:55] local.INFO: Extracted packet for processing {"connection_id":172246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0729a"} 
[2026-09-05 22:57:55] local.INFO: GPS Element Parsed {"raw_longitude":762452928,"raw_latitude":101230520,"longitude_deg":76.2452928,"latitude_deg":10.123052,"altitude":7,"angle":320,"satellites":49,"speed":14,"hex_longitude":"2d721bc0","hex_latitude":"0608a7b8","is_valid_coordinates":true} 
[2026-09-05 22:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889061888001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400010104075714560,"note":"Value kept but may cause issues"} 
[2026-09-05 22:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8222728520563347456,"note":"Value kept but may cause issues"} 
[2026-09-05 22:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788629149000,"timestamp_ms":1788629149000,"timestamp_seconds":1788629149,"priority":1,"record_length":96,"hex_timestamp":"000001a0729ae548"} 
[2026-09-05 22:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-05 22:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889061888001,"66":27234,"147":206,"79":47616,"24":14,"16":400010104075714560,"45":8222728520563347456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-09-05 22:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889061888001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:57:55] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-09-05 22:57:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400010104075714560,"km_value":400010104075714.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8222728520563347456,"description":"Unknown IO ID 45"} 
[2026-09-05 22:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889061888001,"power":27234,"unknown_147":206,"unknown_79":47616,"ignition":14,"odometer":null,"unknown_45":8222728520563347456}} 
[2026-09-05 22:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":172246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:57:55] local.INFO: GPS data processed {"connection_id":172246,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:57:55] local.INFO: Acknowledgment sent {"connection_id":172246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:58:17] local.INFO: TCP Data received {"connection_id":173359,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173359,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:58:17] local.INFO: Processing buffer {"connection_id":173359,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 22:58:17] local.INFO: IMEI packet received {"connection_id":173359,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 22:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":173359,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:58:21] local.INFO: TCP Data received {"connection_id":172245,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0729a3198012d196500071ff1280040014528..."} 
[2026-09-05 22:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729a3198012d196500071ff1280040014528..."} 
[2026-09-05 22:58:21] local.INFO: Processing buffer {"connection_id":172245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729a3198012d196500071ff1280040014528..."} 
[2026-09-05 22:58:21] local.INFO: Packet analysis {"connection_id":172245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0729a"} 
[2026-09-05 22:58:21] local.INFO: Extracted packet for processing {"connection_id":172245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0729a"} 
[2026-09-05 22:58:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888973312001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788629103000,"timestamp_ms":1788629103000,"timestamp_seconds":1788629103,"priority":1,"record_length":96,"hex_timestamp":"000001a0729a3198"} 
[2026-09-05 22:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:58:21] 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-09-05 22:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888973312001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888973312001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:58:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:58:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888973312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":172245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:58:21] local.INFO: GPS data processed {"connection_id":172245,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:58:21] local.INFO: Acknowledgment sent {"connection_id":172245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:58:29] local.INFO: TCP Data received {"connection_id":172246,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0729ae930012d721b400608a9080007015030..."} 
[2026-09-05 22:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729ae930012d721b400608a9080007015030..."} 
[2026-09-05 22:58:29] local.INFO: Processing buffer {"connection_id":172246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729ae930012d721b400608a9080007015030..."} 
[2026-09-05 22:58:29] local.INFO: Packet analysis {"connection_id":172246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0729a"} 
[2026-09-05 22:58:29] local.INFO: Extracted packet for processing {"connection_id":172246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0729a"} 
[2026-09-05 22:58:29] local.INFO: GPS Element Parsed {"raw_longitude":762452800,"raw_latitude":101230856,"longitude_deg":76.24528,"latitude_deg":10.1230856,"altitude":7,"angle":336,"satellites":48,"speed":16,"hex_longitude":"2d721b40","hex_latitude":"0608a908","is_valid_coordinates":true} 
[2026-09-05 22:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889062144001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400010121255583744,"note":"Value kept but may cause issues"} 
[2026-09-05 22:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8222376676842518528,"note":"Value kept but may cause issues"} 
[2026-09-05 22:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788629150000,"timestamp_ms":1788629150000,"timestamp_seconds":1788629150,"priority":1,"record_length":96,"hex_timestamp":"000001a0729ae930"} 
[2026-09-05 22:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-05 22:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889062144001,"66":26256,"147":206,"79":47616,"24":16,"16":400010121255583744,"45":8222376676842518528},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-09-05 22:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889062144001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:58:29] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-09-05 22:58:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400010121255583744,"km_value":400010121255583.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8222376676842518528,"description":"Unknown IO ID 45"} 
[2026-09-05 22:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889062144001,"power":26256,"unknown_147":206,"unknown_79":47616,"ignition":16,"odometer":null,"unknown_45":8222376676842518528}} 
[2026-09-05 22:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":172246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:58:29] local.INFO: GPS data processed {"connection_id":172246,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:58:29] local.INFO: Acknowledgment sent {"connection_id":172246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:58:43] local.INFO: TCP Data received {"connection_id":174686,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:58:43] local.INFO: Processing buffer {"connection_id":174686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:58:43] local.INFO: IMEI packet received {"connection_id":174686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":174686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:58:49] local.INFO: TCP Data received {"connection_id":174686,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:58:49] local.INFO: Processing buffer {"connection_id":174686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:58:49] local.INFO: IMEI packet received {"connection_id":174686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":174686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:58:49] local.INFO: TCP Data received {"connection_id":174686,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0729a3198012d196500071ff1280040014528..."} 
[2026-09-05 22:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729a3198012d196500071ff1280040014528..."} 
[2026-09-05 22:58:49] local.INFO: Processing buffer {"connection_id":174686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729a3198012d196500071ff1280040014528..."} 
[2026-09-05 22:58:49] local.INFO: Packet analysis {"connection_id":174686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0729a"} 
[2026-09-05 22:58:49] local.INFO: Extracted packet for processing {"connection_id":174686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0729a"} 
[2026-09-05 22:58:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888973312001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788629103000,"timestamp_ms":1788629103000,"timestamp_seconds":1788629103,"priority":1,"record_length":96,"hex_timestamp":"000001a0729a3198"} 
[2026-09-05 22:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:58:49] 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-09-05 22:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:58: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-09-05 22:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888973312001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888973312001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:58:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:58:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888973312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":174686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:58:50] local.INFO: GPS data processed {"connection_id":174686,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:58:50] local.INFO: Acknowledgment sent {"connection_id":174686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:58:55] local.INFO: TCP Data received {"connection_id":174687,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:58:55] local.INFO: Processing buffer {"connection_id":174687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:58:55] local.INFO: IMEI packet received {"connection_id":174687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":174687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:58:55] local.INFO: TCP Data received {"connection_id":174687,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:58:55] local.INFO: Processing buffer {"connection_id":174687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:58:55] local.INFO: IMEI packet received {"connection_id":174687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":174687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:58:56] local.INFO: TCP Data received {"connection_id":174687,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0729ca298012d71be40060977900004015431..."} 
[2026-09-05 22:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729ca298012d71be40060977900004015431..."} 
[2026-09-05 22:58:56] local.INFO: Processing buffer {"connection_id":174687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729ca298012d71be40060977900004015431..."} 
[2026-09-05 22:58:56] local.INFO: Packet analysis {"connection_id":174687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0729c"} 
[2026-09-05 22:58:56] local.INFO: Extracted packet for processing {"connection_id":174687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0729c"} 
[2026-09-05 22:58:56] local.INFO: GPS Element Parsed {"raw_longitude":762428992,"raw_latitude":101283728,"longitude_deg":76.2428992,"latitude_deg":10.1283728,"altitude":4,"angle":340,"satellites":49,"speed":37,"hex_longitude":"2d71be40","hex_latitude":"06097790","is_valid_coordinates":true} 
[2026-09-05 22:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889088000001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400012964523933696,"note":"Value kept but may cause issues"} 
[2026-09-05 22:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8199366097507766272,"note":"Value kept but may cause issues"} 
[2026-09-05 22:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788629263000,"timestamp_ms":1788629263000,"timestamp_seconds":1788629263,"priority":1,"record_length":96,"hex_timestamp":"000001a0729ca298"} 
[2026-09-05 22:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-05 22:58:56] 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-09-05 22:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889088000001,"66":27169,"92":206,"79":47616,"24":37,"16":400012964523933696,"45":8199366097507766272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,79,24,16,45]} 
[2026-09-05 22:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889088000001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:58:56] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-05 22:58:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400012964523933696,"km_value":400012964523933.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8199366097507766272,"description":"Unknown IO ID 45"} 
[2026-09-05 22:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889088000001,"power":27169,"unknown_92":206,"unknown_79":47616,"ignition":37,"odometer":null,"unknown_45":8199366097507766272}} 
[2026-09-05 22:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":174687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:58:56] local.INFO: GPS data processed {"connection_id":174687,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:58:56] local.INFO: Acknowledgment sent {"connection_id":174687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:59:00] local.INFO: TCP Data received {"connection_id":174687,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0729cc5c0012d71b240060998780004015530..."} 
[2026-09-05 22:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729cc5c0012d71b240060998780004015530..."} 
[2026-09-05 22:59:00] local.INFO: Processing buffer {"connection_id":174687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729cc5c0012d71b240060998780004015530..."} 
[2026-09-05 22:59:00] local.INFO: Packet analysis {"connection_id":174687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0729c"} 
[2026-09-05 22:59:00] local.INFO: Extracted packet for processing {"connection_id":174687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0729c"} 
[2026-09-05 22:59:00] local.INFO: GPS Element Parsed {"raw_longitude":762425920,"raw_latitude":101292152,"longitude_deg":76.242592,"latitude_deg":10.1292152,"altitude":4,"angle":341,"satellites":48,"speed":35,"hex_longitude":"2d71b240","hex_latitude":"06099878","is_valid_coordinates":true} 
[2026-09-05 22:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889091328001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400013398315630592,"note":"Value kept but may cause issues"} 
[2026-09-05 22:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8196058766533693440,"note":"Value kept but may cause issues"} 
[2026-09-05 22:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788629272000,"timestamp_ms":1788629272000,"timestamp_seconds":1788629272,"priority":1,"record_length":96,"hex_timestamp":"000001a0729cc5c0"} 
[2026-09-05 22:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-05 22:59:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889091328001,"66":27343,"92":206,"79":47616,"24":35,"16":400013398315630592,"45":8196058766533693440},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,79,24,16,45]} 
[2026-09-05 22:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889091328001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:59:00] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-05 22:59:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400013398315630592,"km_value":400013398315630.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8196058766533693440,"description":"Unknown IO ID 45"} 
[2026-09-05 22:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889091328001,"power":27343,"unknown_92":206,"unknown_79":47616,"ignition":35,"odometer":null,"unknown_45":8196058766533693440}} 
[2026-09-05 22:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":174687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:59:00] local.INFO: GPS data processed {"connection_id":174687,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:59:00] local.INFO: Acknowledgment sent {"connection_id":174687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:59:21] local.INFO: TCP Data received {"connection_id":174686,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0729a3198012d196500071ff1280040014528..."} 
[2026-09-05 22:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729a3198012d196500071ff1280040014528..."} 
[2026-09-05 22:59:21] local.INFO: Processing buffer {"connection_id":174686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729a3198012d196500071ff1280040014528..."} 
[2026-09-05 22:59:21] local.INFO: Packet analysis {"connection_id":174686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0729a"} 
[2026-09-05 22:59:21] local.INFO: Extracted packet for processing {"connection_id":174686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0729a"} 
[2026-09-05 22:59:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888973312001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788629103000,"timestamp_ms":1788629103000,"timestamp_seconds":1788629103,"priority":1,"record_length":96,"hex_timestamp":"000001a0729a3198"} 
[2026-09-05 22:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:59:21] 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-09-05 22:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888973312001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888973312001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:59:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:59:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888973312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":174686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:59:21] local.INFO: GPS data processed {"connection_id":174686,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:59:21] local.INFO: Acknowledgment sent {"connection_id":174686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:59:31] local.INFO: TCP Data received {"connection_id":174687,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0729cd178012d71afc00609a100000401612f..."} 
[2026-09-05 22:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729cd178012d71afc00609a100000401612f..."} 
[2026-09-05 22:59:31] local.INFO: Processing buffer {"connection_id":174687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729cd178012d71afc00609a100000401612f..."} 
[2026-09-05 22:59:31] local.INFO: Packet analysis {"connection_id":174687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0729c"} 
[2026-09-05 22:59:31] local.INFO: Extracted packet for processing {"connection_id":174687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0729c"} 
[2026-09-05 22:59:31] local.INFO: GPS Element Parsed {"raw_longitude":762425280,"raw_latitude":101294336,"longitude_deg":76.242528,"latitude_deg":10.1294336,"altitude":4,"angle":353,"satellites":47,"speed":23,"hex_longitude":"2d71afc0","hex_latitude":"0609a100","is_valid_coordinates":true} 
[2026-09-05 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-09-05 22:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889093632001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400013509984780288,"note":"Value kept but may cause issues"} 
[2026-09-05 22:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8192681066815322112,"note":"Value kept but may cause issues"} 
[2026-09-05 22:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788629275000,"timestamp_ms":1788629275000,"timestamp_seconds":1788629275,"priority":1,"record_length":96,"hex_timestamp":"000001a0729cd178"} 
[2026-09-05 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-09-05 22:59: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-09-05 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 22:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 22:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889093632001,"66":27321,"92":206,"79":47616,"24":23,"16":400013509984780288,"45":8192681066815322112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,79,24,16,45]} 
[2026-09-05 22:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889093632001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:59:31] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-05 22:59:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400013509984780288,"km_value":400013509984780.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8192681066815322112,"description":"Unknown IO ID 45"} 
[2026-09-05 22:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889093632001,"power":27321,"unknown_92":206,"unknown_79":47616,"ignition":23,"odometer":null,"unknown_45":8192681066815322112}} 
[2026-09-05 22:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":174687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:59:31] local.INFO: GPS data processed {"connection_id":174687,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:59:31] local.INFO: Acknowledgment sent {"connection_id":174687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:59:43] local.INFO: TCP Data received {"connection_id":173360,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:59:43] local.INFO: Processing buffer {"connection_id":173360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:59:43] local.INFO: IMEI packet received {"connection_id":173360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 22:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":173360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:59:50] local.INFO: TCP Data received {"connection_id":171997,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:59:50] local.INFO: Processing buffer {"connection_id":171997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:59:50] local.INFO: IMEI packet received {"connection_id":171997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 22:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":171997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 22:59:50] local.INFO: TCP Data received {"connection_id":171997,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:59:50] local.INFO: Processing buffer {"connection_id":171997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:59:50] local.INFO: IMEI packet received {"connection_id":171997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":171997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:59:53] local.INFO: TCP Data received {"connection_id":173360,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:59:53] local.INFO: Processing buffer {"connection_id":173360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:59:53] local.INFO: IMEI packet received {"connection_id":173360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":173360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:59:53] local.INFO: TCP Data received {"connection_id":173360,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:59:53] local.INFO: Processing buffer {"connection_id":173360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 22:59:53] local.INFO: IMEI packet received {"connection_id":173360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 22:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":173360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:59:54] local.INFO: TCP Data received {"connection_id":173360,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0729a3198012d196500071ff1280040014528..."} 
[2026-09-05 22:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729a3198012d196500071ff1280040014528..."} 
[2026-09-05 22:59:54] local.INFO: Processing buffer {"connection_id":173360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729a3198012d196500071ff1280040014528..."} 
[2026-09-05 22:59:54] local.INFO: Packet analysis {"connection_id":173360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0729a"} 
[2026-09-05 22:59:54] local.INFO: Extracted packet for processing {"connection_id":173360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0729a"} 
[2026-09-05 22:59:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888973312001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788629103000,"timestamp_ms":1788629103000,"timestamp_seconds":1788629103,"priority":1,"record_length":96,"hex_timestamp":"000001a0729a3198"} 
[2026-09-05 22:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:59:54] 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-09-05 22:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888973312001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888973312001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:59:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:59:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888973312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":173360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:59:54] local.INFO: GPS data processed {"connection_id":173360,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:59:54] local.INFO: Acknowledgment sent {"connection_id":173360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:59:55] local.INFO: TCP Data received {"connection_id":171997,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:59:55] local.INFO: Processing buffer {"connection_id":171997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 22:59:55] local.INFO: IMEI packet received {"connection_id":171997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 22:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":171997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 22:59:55] local.INFO: TCP Data received {"connection_id":171997,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0729cdd30012d71afc00609a6180005000730..."} 
[2026-09-05 22:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729cdd30012d71afc00609a6180005000730..."} 
[2026-09-05 22:59:55] local.INFO: Processing buffer {"connection_id":171997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729cdd30012d71afc00609a6180005000730..."} 
[2026-09-05 22:59:55] local.INFO: Packet analysis {"connection_id":171997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0729c"} 
[2026-09-05 22:59:55] local.INFO: Extracted packet for processing {"connection_id":171997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0729c"} 
[2026-09-05 22:59:55] local.INFO: GPS Element Parsed {"raw_longitude":762425280,"raw_latitude":101295640,"longitude_deg":76.242528,"latitude_deg":10.129564,"altitude":5,"angle":7,"satellites":48,"speed":11,"hex_longitude":"2d71afc0","hex_latitude":"0609a618","is_valid_coordinates":true} 
[2026-09-05 22:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889094400001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400013574409289728,"note":"Value kept but may cause issues"} 
[2026-09-05 22:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8191977379374104576,"note":"Value kept but may cause issues"} 
[2026-09-05 22:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788629278000,"timestamp_ms":1788629278000,"timestamp_seconds":1788629278,"priority":1,"record_length":96,"hex_timestamp":"000001a0729cdd30"} 
[2026-09-05 22:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 22:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 22:59:55] 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-09-05 22:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":171997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":171997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":171997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 22:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 22:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 22:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889094400001,"66":27213,"92":206,"79":47616,"24":11,"16":400013574409289728,"45":8191977379374104576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,79,24,16,45]} 
[2026-09-05 22:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 22:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 22:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889094400001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:59:55] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-05 22:59:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 22:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400013574409289728,"km_value":400013574409289.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8191977379374104576,"description":"Unknown IO ID 45"} 
[2026-09-05 22:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889094400001,"power":27213,"unknown_92":206,"unknown_79":47616,"ignition":11,"odometer":null,"unknown_45":8191977379374104576}} 
[2026-09-05 22:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":171997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:59:55] local.INFO: GPS data processed {"connection_id":171997,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:59:55] local.INFO: Acknowledgment sent {"connection_id":171997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 22:59:59] local.INFO: TCP Data received {"connection_id":173360,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0729a3198012d196500071ff1280040014528..."} 
[2026-09-05 22:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729a3198012d196500071ff1280040014528..."} 
[2026-09-05 22:59:59] local.INFO: Processing buffer {"connection_id":173360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729a3198012d196500071ff1280040014528..."} 
[2026-09-05 22:59:59] local.INFO: Packet analysis {"connection_id":173360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0729a"} 
[2026-09-05 22:59:59] local.INFO: Extracted packet for processing {"connection_id":173360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0729a"} 
[2026-09-05 22:59:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 22:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 22:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457888973312001,"note":"Value kept but may cause issues"} 
[2026-09-05 22:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 22:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 22:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 22:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788629103000,"timestamp_ms":1788629103000,"timestamp_seconds":1788629103,"priority":1,"record_length":96,"hex_timestamp":"000001a0729a3198"} 
[2026-09-05 22:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 22:59:59] 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-09-05 22:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 22:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 22:59:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 22:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 22:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 22:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 22:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 22:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 22:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 22:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 22:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457888973312001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 22:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 22:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 22:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457888973312001,"description":"Unknown IO ID 0"} 
[2026-09-05 22:59:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 22:59:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 22:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 22:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 22:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457888973312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 22:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":173360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 22:59:59] local.INFO: GPS data processed {"connection_id":173360,"processed":1,"errors":0,"total":1} 
[2026-09-05 22:59:59] local.INFO: Acknowledgment sent {"connection_id":173360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:00:26] local.INFO: TCP Data received {"connection_id":171997,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0729cecd0012d71b0400609aa90000501572d..."} 
[2026-09-05 23:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729cecd0012d71b0400609aa90000501572d..."} 
[2026-09-05 23:00:26] local.INFO: Processing buffer {"connection_id":171997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729cecd0012d71b0400609aa90000501572d..."} 
[2026-09-05 23:00:26] local.INFO: Packet analysis {"connection_id":171997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0729c"} 
[2026-09-05 23:00:26] local.INFO: Extracted packet for processing {"connection_id":171997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0729c"} 
[2026-09-05 23:00:26] local.INFO: GPS Element Parsed {"raw_longitude":762425408,"raw_latitude":101296784,"longitude_deg":76.2425408,"latitude_deg":10.1296784,"altitude":5,"angle":343,"satellites":45,"speed":13,"hex_longitude":"2d71b040","hex_latitude":"0609aa90","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889095168001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400013630243864576,"note":"Value kept but may cause issues"} 
[2026-09-05 23:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8191977379374438400,"note":"Value kept but may cause issues"} 
[2026-09-05 23:00:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788629282000,"timestamp_ms":1788629282000,"timestamp_seconds":1788629282,"priority":1,"record_length":96,"hex_timestamp":"000001a0729cecd0"} 
[2026-09-05 23:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:00:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-05 23:00:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23: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-09-05 23:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":171997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":171997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":171997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:00:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889095168001,"66":27267,"93":206,"79":47616,"24":13,"16":400013630243864576,"45":8191977379374438400},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,79,24,16,45]} 
[2026-09-05 23:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889095168001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:00:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-05 23:00:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 23:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400013630243864576,"km_value":400013630243864.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8191977379374438400,"description":"Unknown IO ID 45"} 
[2026-09-05 23:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889095168001,"power":27267,"unknown_93":206,"unknown_79":47616,"ignition":13,"odometer":null,"unknown_45":8191977379374438400}} 
[2026-09-05 23:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":171997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:00:26] local.INFO: GPS data processed {"connection_id":171997,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:00:26] local.INFO: Acknowledgment sent {"connection_id":171997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:00:49] local.INFO: TCP Data received {"connection_id":174688,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:00:49] local.INFO: Processing buffer {"connection_id":174688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:00:49] local.INFO: IMEI packet received {"connection_id":174688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":174688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:00:50] local.INFO: TCP Data received {"connection_id":172249,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:00:50] local.INFO: Processing buffer {"connection_id":172249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:00:50] local.INFO: IMEI packet received {"connection_id":172249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":172249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:00:54] local.INFO: TCP Data received {"connection_id":174688,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:00:54] local.INFO: Processing buffer {"connection_id":174688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:00:54] local.INFO: IMEI packet received {"connection_id":174688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":174688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:00:55] local.INFO: TCP Data received {"connection_id":172249,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:00:55] local.INFO: Processing buffer {"connection_id":172249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:00:55] local.INFO: IMEI packet received {"connection_id":172249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":172249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:00:55] local.INFO: TCP Data received {"connection_id":174688,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0729ec960012d196500071ff128004001452a..."} 
[2026-09-05 23:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729ec960012d196500071ff128004001452a..."} 
[2026-09-05 23:00:55] local.INFO: Processing buffer {"connection_id":174688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729ec960012d196500071ff128004001452a..."} 
[2026-09-05 23:00:55] local.INFO: Packet analysis {"connection_id":174688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0729e"} 
[2026-09-05 23:00:55] local.INFO: Extracted packet for processing {"connection_id":174688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0729e"} 
[2026-09-05 23:00:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889050368001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788629404000,"timestamp_ms":1788629404000,"timestamp_seconds":1788629404,"priority":1,"record_length":96,"hex_timestamp":"000001a0729ec960"} 
[2026-09-05 23:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:00:55] 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-09-05 23:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889050368001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889050368001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:00:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:00:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889050368001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":174688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:00:55] local.INFO: GPS data processed {"connection_id":174688,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:00:55] local.INFO: Acknowledgment sent {"connection_id":174688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:00:55] local.INFO: TCP Data received {"connection_id":172249,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0729d2768012d71a1000609cb080004014c30..."} 
[2026-09-05 23:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729d2768012d71a1000609cb080004014c30..."} 
[2026-09-05 23:00:55] local.INFO: Processing buffer {"connection_id":172249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729d2768012d71a1000609cb080004014c30..."} 
[2026-09-05 23:00:55] local.INFO: Packet analysis {"connection_id":172249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0729d"} 
[2026-09-05 23:00:55] local.INFO: Extracted packet for processing {"connection_id":172249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0729d"} 
[2026-09-05 23:00:55] local.INFO: GPS Element Parsed {"raw_longitude":762421504,"raw_latitude":101305096,"longitude_deg":76.2421504,"latitude_deg":10.1305096,"altitude":4,"angle":332,"satellites":48,"speed":23,"hex_longitude":"2d71a100","hex_latitude":"0609cb08","is_valid_coordinates":true} 
[2026-09-05 23:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889096192001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400014072625496064,"note":"Value kept but may cause issues"} 
[2026-09-05 23:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8192118116863086592,"note":"Value kept but may cause issues"} 
[2026-09-05 23:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788629297000,"timestamp_ms":1788629297000,"timestamp_seconds":1788629297,"priority":1,"record_length":96,"hex_timestamp":"000001a0729d2768"} 
[2026-09-05 23:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-05 23:00:55] 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-09-05 23:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889096192001,"66":27321,"93":206,"79":47616,"24":23,"16":400014072625496064,"45":8192118116863086592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,79,24,16,45]} 
[2026-09-05 23:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889096192001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:00:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-05 23:00:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 23:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400014072625496064,"km_value":400014072625496.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8192118116863086592,"description":"Unknown IO ID 45"} 
[2026-09-05 23:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889096192001,"power":27321,"unknown_93":206,"unknown_79":47616,"ignition":23,"odometer":null,"unknown_45":8192118116863086592}} 
[2026-09-05 23:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":172249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:00:55] local.INFO: GPS data processed {"connection_id":172249,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:00:55] local.INFO: Acknowledgment sent {"connection_id":172249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:00:59] local.INFO: TCP Data received {"connection_id":174688,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0729ec960012d196500071ff128004001452a..."} 
[2026-09-05 23:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729ec960012d196500071ff128004001452a..."} 
[2026-09-05 23:00:59] local.INFO: Processing buffer {"connection_id":174688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729ec960012d196500071ff128004001452a..."} 
[2026-09-05 23:00:59] local.INFO: Packet analysis {"connection_id":174688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0729e"} 
[2026-09-05 23:00:59] local.INFO: Extracted packet for processing {"connection_id":174688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0729e"} 
[2026-09-05 23:00:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889050368001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788629404000,"timestamp_ms":1788629404000,"timestamp_seconds":1788629404,"priority":1,"record_length":96,"hex_timestamp":"000001a0729ec960"} 
[2026-09-05 23:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:00:59] 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-09-05 23:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889050368001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889050368001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:00:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:00:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889050368001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":174688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:00:59] local.INFO: GPS data processed {"connection_id":174688,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:00:59] local.INFO: Acknowledgment sent {"connection_id":174688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:01:35] local.INFO: TCP Data received {"connection_id":172249,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0729f2338012d70ed00060b1e000005016730..."} 
[2026-09-05 23:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729f2338012d70ed00060b1e000005016730..."} 
[2026-09-05 23:01:35] local.INFO: Processing buffer {"connection_id":172249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729f2338012d70ed00060b1e000005016730..."} 
[2026-09-05 23:01:35] local.INFO: Packet analysis {"connection_id":172249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0729f"} 
[2026-09-05 23:01:35] local.INFO: Extracted packet for processing {"connection_id":172249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0729f"} 
[2026-09-05 23:01:35] local.INFO: GPS Element Parsed {"raw_longitude":762375424,"raw_latitude":101391872,"longitude_deg":76.2375424,"latitude_deg":10.1391872,"altitude":5,"angle":359,"satellites":48,"speed":30,"hex_longitude":"2d70ed00","hex_latitude":"060b1e00","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889132544001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400018835744227328,"note":"Value kept but may cause issues"} 
[2026-09-05 23:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8137652708893362176,"note":"Value kept but may cause issues"} 
[2026-09-05 23:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788629427000,"timestamp_ms":1788629427000,"timestamp_seconds":1788629427,"priority":1,"record_length":96,"hex_timestamp":"000001a0729f2338"} 
[2026-09-05 23:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:01: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-09-05 23: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":77,"data_length":795,"current_offset":136} 
[2026-09-05 23:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23: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-09-05 23:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889132544001,"66":27267,"71":206,"79":47616,"24":30,"16":400018835744227328,"45":8137652708893362176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,79,24,16,45]} 
[2026-09-05 23:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889132544001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:01:35] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-05 23:01:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-09-05 23:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400018835744227328,"km_value":400018835744227.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8137652708893362176,"description":"Unknown IO ID 45"} 
[2026-09-05 23:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889132544001,"power":27267,"unknown_71":206,"unknown_79":47616,"ignition":30,"odometer":null,"unknown_45":8137652708893362176}} 
[2026-09-05 23:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":172249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:01:35] local.INFO: GPS data processed {"connection_id":172249,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:01:35] local.INFO: Acknowledgment sent {"connection_id":172249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:01:44] local.INFO: TCP Data received {"connection_id":173361,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:01:44] local.INFO: Processing buffer {"connection_id":173361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:01:44] local.INFO: IMEI packet received {"connection_id":173361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":173361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:01:48] local.INFO: TCP Data received {"connection_id":172250,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:01:48] local.INFO: Processing buffer {"connection_id":172250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:01:48] local.INFO: IMEI packet received {"connection_id":172250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":172250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:01:49] local.INFO: TCP Data received {"connection_id":173361,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:01:49] local.INFO: Processing buffer {"connection_id":173361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:01:49] local.INFO: IMEI packet received {"connection_id":173361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":173361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:01:49] local.INFO: TCP Data received {"connection_id":172250,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:01:49] local.INFO: Processing buffer {"connection_id":172250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:01:49] local.INFO: IMEI packet received {"connection_id":172250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":172250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:01:50] local.INFO: TCP Data received {"connection_id":173361,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0729ec960012d196500071ff128004001452a..."} 
[2026-09-05 23:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729ec960012d196500071ff128004001452a..."} 
[2026-09-05 23:01:50] local.INFO: Processing buffer {"connection_id":173361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729ec960012d196500071ff128004001452a..."} 
[2026-09-05 23:01:50] local.INFO: Packet analysis {"connection_id":173361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0729e"} 
[2026-09-05 23:01:50] local.INFO: Extracted packet for processing {"connection_id":173361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0729e"} 
[2026-09-05 23:01:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889050368001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788629404000,"timestamp_ms":1788629404000,"timestamp_seconds":1788629404,"priority":1,"record_length":96,"hex_timestamp":"000001a0729ec960"} 
[2026-09-05 23:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:01:50] 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-09-05 23:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889050368001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889050368001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:01:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:01:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889050368001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:01:50] local.INFO: TCP Data received {"connection_id":172250,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:01:50] local.INFO: Processing buffer {"connection_id":172250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:01:50] local.INFO: IMEI packet received {"connection_id":172250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":172250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":173361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:01:50] local.INFO: GPS data processed {"connection_id":173361,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:01:50] local.INFO: Acknowledgment sent {"connection_id":173361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:01:50] local.INFO: TCP Data received {"connection_id":172250,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:01:50] local.INFO: Processing buffer {"connection_id":172250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:01:50] local.INFO: IMEI packet received {"connection_id":172250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":172250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:02:21] local.INFO: TCP Data received {"connection_id":173361,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0729ec960012d196500071ff128004001452a..."} 
[2026-09-05 23:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729ec960012d196500071ff128004001452a..."} 
[2026-09-05 23:02:21] local.INFO: Processing buffer {"connection_id":173361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729ec960012d196500071ff128004001452a..."} 
[2026-09-05 23:02:21] local.INFO: Packet analysis {"connection_id":173361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0729e"} 
[2026-09-05 23:02:21] local.INFO: Extracted packet for processing {"connection_id":173361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0729e"} 
[2026-09-05 23:02:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889050368001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788629404000,"timestamp_ms":1788629404000,"timestamp_seconds":1788629404,"priority":1,"record_length":96,"hex_timestamp":"000001a0729ec960"} 
[2026-09-05 23:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:02:21] 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-09-05 23:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889050368001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889050368001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:02:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:02:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889050368001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":173361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:02:21] local.INFO: GPS data processed {"connection_id":173361,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:02:21] local.INFO: Acknowledgment sent {"connection_id":173361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:02:43] local.INFO: TCP Data received {"connection_id":173363,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:02:43] local.INFO: Processing buffer {"connection_id":173363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:02:43] local.INFO: IMEI packet received {"connection_id":173363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":173363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:02:49] local.INFO: TCP Data received {"connection_id":173363,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:02:49] local.INFO: Processing buffer {"connection_id":173363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:02:49] local.INFO: IMEI packet received {"connection_id":173363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":173363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:02:50] local.INFO: TCP Data received {"connection_id":173363,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0729ec960012d196500071ff128004001452a..."} 
[2026-09-05 23:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729ec960012d196500071ff128004001452a..."} 
[2026-09-05 23:02:50] local.INFO: Processing buffer {"connection_id":173363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729ec960012d196500071ff128004001452a..."} 
[2026-09-05 23:02:50] local.INFO: Packet analysis {"connection_id":173363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0729e"} 
[2026-09-05 23:02:50] local.INFO: Extracted packet for processing {"connection_id":173363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0729e"} 
[2026-09-05 23:02:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889050368001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788629404000,"timestamp_ms":1788629404000,"timestamp_seconds":1788629404,"priority":1,"record_length":96,"hex_timestamp":"000001a0729ec960"} 
[2026-09-05 23:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:02:50] 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-09-05 23:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889050368001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889050368001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:02:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:02:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889050368001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":173363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:02:50] local.INFO: GPS data processed {"connection_id":173363,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:02:50] local.INFO: Acknowledgment sent {"connection_id":173363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:03:18] local.INFO: TCP Data received {"connection_id":174689,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:03:18] local.INFO: Processing buffer {"connection_id":174689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:03:18] local.INFO: IMEI packet received {"connection_id":174689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 23:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":174689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:03:21] local.INFO: TCP Data received {"connection_id":173363,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0729ec960012d196500071ff128004001452a..."} 
[2026-09-05 23:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729ec960012d196500071ff128004001452a..."} 
[2026-09-05 23:03:21] local.INFO: Processing buffer {"connection_id":173363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729ec960012d196500071ff128004001452a..."} 
[2026-09-05 23:03:21] local.INFO: Packet analysis {"connection_id":173363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0729e"} 
[2026-09-05 23:03:21] local.INFO: Extracted packet for processing {"connection_id":173363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0729e"} 
[2026-09-05 23:03:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889050368001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788629404000,"timestamp_ms":1788629404000,"timestamp_seconds":1788629404,"priority":1,"record_length":96,"hex_timestamp":"000001a0729ec960"} 
[2026-09-05 23:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:03:21] 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-09-05 23:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889050368001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889050368001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:03:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:03:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889050368001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":173363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:03:21] local.INFO: GPS data processed {"connection_id":173363,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:03:21] local.INFO: Acknowledgment sent {"connection_id":173363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:03:43] local.INFO: TCP Data received {"connection_id":171999,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:03:43] local.INFO: Processing buffer {"connection_id":171999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:03:43] local.INFO: IMEI packet received {"connection_id":171999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":171999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:03:49] local.INFO: TCP Data received {"connection_id":171999,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:03:49] local.INFO: Processing buffer {"connection_id":171999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:03:49] local.INFO: IMEI packet received {"connection_id":171999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":171999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:03:49] local.INFO: TCP Data received {"connection_id":171999,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0729ec960012d196500071ff128004001452a..."} 
[2026-09-05 23:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729ec960012d196500071ff128004001452a..."} 
[2026-09-05 23:03:49] local.INFO: Processing buffer {"connection_id":171999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729ec960012d196500071ff128004001452a..."} 
[2026-09-05 23:03:49] local.INFO: Packet analysis {"connection_id":171999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0729e"} 
[2026-09-05 23:03:49] local.INFO: Extracted packet for processing {"connection_id":171999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0729e"} 
[2026-09-05 23:03:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889050368001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788629404000,"timestamp_ms":1788629404000,"timestamp_seconds":1788629404,"priority":1,"record_length":96,"hex_timestamp":"000001a0729ec960"} 
[2026-09-05 23:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:03:49] 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-09-05 23:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23: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-09-05 23:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":171999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":171999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":171999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889050368001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889050368001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:03:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:03:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889050368001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":171999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:03:50] local.INFO: GPS data processed {"connection_id":171999,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:03:50] local.INFO: Acknowledgment sent {"connection_id":171999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:04:02] local.INFO: TCP Data received {"connection_id":172252,"ip":"85.217.149.45","data_length":8,"data_hex":"3030303030303030..."} 
[2026-09-05 23:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172252,"packet_length":8,"packet_hex":"3030303030303030..."} 
[2026-09-05 23:04:02] local.INFO: Processing buffer {"connection_id":172252,"buffer_length":8,"buffer_hex":"3030303030303030..."} 
[2026-09-05 23:04:21] local.INFO: TCP Data received {"connection_id":171999,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0729ec960012d196500071ff128004001452a..."} 
[2026-09-05 23:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":171999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729ec960012d196500071ff128004001452a..."} 
[2026-09-05 23:04:21] local.INFO: Processing buffer {"connection_id":171999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729ec960012d196500071ff128004001452a..."} 
[2026-09-05 23:04:21] local.INFO: Packet analysis {"connection_id":171999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0729e"} 
[2026-09-05 23:04:21] local.INFO: Extracted packet for processing {"connection_id":171999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0729e"} 
[2026-09-05 23:04:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889050368001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788629404000,"timestamp_ms":1788629404000,"timestamp_seconds":1788629404,"priority":1,"record_length":96,"hex_timestamp":"000001a0729ec960"} 
[2026-09-05 23:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:04:21] 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-09-05 23:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":171999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":171999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":171999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889050368001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889050368001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:04:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:04:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889050368001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":171999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:04:21] local.INFO: GPS data processed {"connection_id":171999,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:04:21] local.INFO: Acknowledgment sent {"connection_id":171999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:04:49] local.INFO: TCP Data received {"connection_id":174690,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:04:49] local.INFO: Processing buffer {"connection_id":174690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:04:49] local.INFO: IMEI packet received {"connection_id":174690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":174690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:04:54] local.INFO: TCP Data received {"connection_id":174690,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:04:54] local.INFO: Processing buffer {"connection_id":174690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:04:54] local.INFO: IMEI packet received {"connection_id":174690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":174690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:04:56] local.INFO: TCP Data received {"connection_id":174690,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0729ec960012d196500071ff128004001452a..."} 
[2026-09-05 23:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729ec960012d196500071ff128004001452a..."} 
[2026-09-05 23:04:56] local.INFO: Processing buffer {"connection_id":174690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729ec960012d196500071ff128004001452a..."} 
[2026-09-05 23:04:56] local.INFO: Packet analysis {"connection_id":174690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0729e"} 
[2026-09-05 23:04:56] local.INFO: Extracted packet for processing {"connection_id":174690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0729e"} 
[2026-09-05 23:04:56] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889050368001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788629404000,"timestamp_ms":1788629404000,"timestamp_seconds":1788629404,"priority":1,"record_length":96,"hex_timestamp":"000001a0729ec960"} 
[2026-09-05 23:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:04:56] 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-09-05 23:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:04:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889050368001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889050368001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:04:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:04:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889050368001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":174690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:04:56] local.INFO: GPS data processed {"connection_id":174690,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:04:56] local.INFO: Acknowledgment sent {"connection_id":174690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:05:00] local.INFO: TCP Data received {"connection_id":174690,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0729ec960012d196500071ff128004001452a..."} 
[2026-09-05 23:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0729ec960012d196500071ff128004001452a..."} 
[2026-09-05 23:05:00] local.INFO: Processing buffer {"connection_id":174690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0729ec960012d196500071ff128004001452a..."} 
[2026-09-05 23:05:00] local.INFO: Packet analysis {"connection_id":174690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0729e"} 
[2026-09-05 23:05:00] local.INFO: Extracted packet for processing {"connection_id":174690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0729e"} 
[2026-09-05 23:05:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889050368001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788629404000,"timestamp_ms":1788629404000,"timestamp_seconds":1788629404,"priority":1,"record_length":96,"hex_timestamp":"000001a0729ec960"} 
[2026-09-05 23:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:05:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:05:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889050368001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889050368001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:05:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:05:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889050368001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":174690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:05:00] local.INFO: GPS data processed {"connection_id":174690,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:05:00] local.INFO: Acknowledgment sent {"connection_id":174690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:05:43] local.INFO: TCP Data received {"connection_id":172253,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:05:43] local.INFO: Processing buffer {"connection_id":172253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:05:43] local.INFO: IMEI packet received {"connection_id":172253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":172253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:05:43] local.INFO: TCP Data received {"connection_id":172253,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:05:43] local.INFO: Processing buffer {"connection_id":172253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:05:43] local.INFO: IMEI packet received {"connection_id":172253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":172253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:05:49] local.INFO: TCP Data received {"connection_id":172253,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:05:49] local.INFO: Processing buffer {"connection_id":172253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:05:49] local.INFO: IMEI packet received {"connection_id":172253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":172253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:05:49] local.INFO: TCP Data received {"connection_id":172253,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a072a36128012d196500071ff1280040014528..."} 
[2026-09-05 23:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a36128012d196500071ff1280040014528..."} 
[2026-09-05 23:05:49] local.INFO: Processing buffer {"connection_id":172253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a36128012d196500071ff1280040014528..."} 
[2026-09-05 23:05:49] local.INFO: Packet analysis {"connection_id":172253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a3"} 
[2026-09-05 23:05:49] local.INFO: Extracted packet for processing {"connection_id":172253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a3"} 
[2026-09-05 23:05:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889127424001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788629705000,"timestamp_ms":1788629705000,"timestamp_seconds":1788629705,"priority":1,"record_length":96,"hex_timestamp":"000001a072a36128"} 
[2026-09-05 23:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889127424001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889127424001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:05:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:05:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889127424001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":172253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:05:49] local.INFO: GPS data processed {"connection_id":172253,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:05:49] local.INFO: Acknowledgment sent {"connection_id":172253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:06:20] local.INFO: TCP Data received {"connection_id":172253,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a072a36128012d196500071ff1280040014528..."} 
[2026-09-05 23:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a36128012d196500071ff1280040014528..."} 
[2026-09-05 23:06:20] local.INFO: Processing buffer {"connection_id":172253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a36128012d196500071ff1280040014528..."} 
[2026-09-05 23:06:20] local.INFO: Packet analysis {"connection_id":172253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a3"} 
[2026-09-05 23:06:20] local.INFO: Extracted packet for processing {"connection_id":172253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a3"} 
[2026-09-05 23:06:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889127424001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788629705000,"timestamp_ms":1788629705000,"timestamp_seconds":1788629705,"priority":1,"record_length":96,"hex_timestamp":"000001a072a36128"} 
[2026-09-05 23:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:06:20] 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-09-05 23:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:06:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889127424001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889127424001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:06:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:06:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889127424001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":172253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:06:21] local.INFO: GPS data processed {"connection_id":172253,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:06:21] local.INFO: Acknowledgment sent {"connection_id":172253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:06:44] local.INFO: TCP Data received {"connection_id":172001,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:06:44] local.INFO: Processing buffer {"connection_id":172001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:06:44] local.INFO: IMEI packet received {"connection_id":172001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":172001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:06:48] local.INFO: TCP Data received {"connection_id":172001,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:06:48] local.INFO: Processing buffer {"connection_id":172001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:06:48] local.INFO: IMEI packet received {"connection_id":172001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":172001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:06:49] local.INFO: TCP Data received {"connection_id":172001,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072a36128012d196500071ff1280040014528..."} 
[2026-09-05 23:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a36128012d196500071ff1280040014528..."} 
[2026-09-05 23:06:49] local.INFO: Processing buffer {"connection_id":172001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a36128012d196500071ff1280040014528..."} 
[2026-09-05 23:06:49] local.INFO: Packet analysis {"connection_id":172001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a3"} 
[2026-09-05 23:06:49] local.INFO: Extracted packet for processing {"connection_id":172001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a3"} 
[2026-09-05 23:06:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889127424001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788629705000,"timestamp_ms":1788629705000,"timestamp_seconds":1788629705,"priority":1,"record_length":96,"hex_timestamp":"000001a072a36128"} 
[2026-09-05 23:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889127424001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889127424001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:06:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:06:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889127424001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":172001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:06:49] local.INFO: GPS data processed {"connection_id":172001,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:06:49] local.INFO: Acknowledgment sent {"connection_id":172001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:06:55] local.INFO: TCP Data received {"connection_id":172002,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:06:55] local.INFO: Processing buffer {"connection_id":172002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:06:55] local.INFO: IMEI packet received {"connection_id":172002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":172002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:06:56] local.INFO: TCP Data received {"connection_id":172002,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072a3af48012d6ea240060cd5b8000301332f..."} 
[2026-09-05 23:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a3af48012d6ea240060cd5b8000301332f..."} 
[2026-09-05 23:06:56] local.INFO: Processing buffer {"connection_id":172002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a3af48012d6ea240060cd5b8000301332f..."} 
[2026-09-05 23:06:56] local.INFO: Packet analysis {"connection_id":172002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a3"} 
[2026-09-05 23:06:56] local.INFO: Extracted packet for processing {"connection_id":172002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a3"} 
[2026-09-05 23:06:56] local.INFO: GPS Element Parsed {"raw_longitude":762225216,"raw_latitude":101504440,"longitude_deg":76.2225216,"latitude_deg":10.150444,"altitude":3,"angle":307,"satellites":47,"speed":22,"hex_longitude":"2d6ea240","hex_latitude":"060cd5b8","is_valid_coordinates":true} 
[2026-09-05 23:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889209344001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400030037018935296,"note":"Value kept but may cause issues"} 
[2026-09-05 23:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7972567635081859072,"note":"Value kept but may cause issues"} 
[2026-09-05 23:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788629725000,"timestamp_ms":1788629725000,"timestamp_seconds":1788629725,"priority":1,"record_length":96,"hex_timestamp":"000001a072a3af48"} 
[2026-09-05 23:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:06:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-05 23:06:56] 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-09-05 23:06:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889209344001,"66":27376,"186":206,"79":46336,"24":22,"16":400030037018935296,"45":7972567635081859072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,79,24,16,45]} 
[2026-09-05 23:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889209344001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:06:56] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-05 23:06:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400030037018935296,"km_value":400030037018935.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":7972567635081859072,"description":"Unknown IO ID 45"} 
[2026-09-05 23:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889209344001,"power":27376,"unknown_186":206,"unknown_79":46336,"ignition":22,"odometer":null,"unknown_45":7972567635081859072}} 
[2026-09-05 23:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":172002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:06:56] local.INFO: GPS data processed {"connection_id":172002,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:06:56] local.INFO: Acknowledgment sent {"connection_id":172002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:07:20] local.INFO: TCP Data received {"connection_id":172001,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072a36128012d196500071ff1280040014528..."} 
[2026-09-05 23:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a36128012d196500071ff1280040014528..."} 
[2026-09-05 23:07:20] local.INFO: Processing buffer {"connection_id":172001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a36128012d196500071ff1280040014528..."} 
[2026-09-05 23:07:20] local.INFO: Packet analysis {"connection_id":172001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a3"} 
[2026-09-05 23:07:20] local.INFO: Extracted packet for processing {"connection_id":172001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a3"} 
[2026-09-05 23:07:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889127424001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788629705000,"timestamp_ms":1788629705000,"timestamp_seconds":1788629705,"priority":1,"record_length":96,"hex_timestamp":"000001a072a36128"} 
[2026-09-05 23:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:07:20] 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-09-05 23: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":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23: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-09-05 23:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889127424001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889127424001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:07:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:07:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889127424001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":172001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:07:20] local.INFO: GPS data processed {"connection_id":172001,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:07:20] local.INFO: Acknowledgment sent {"connection_id":172001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:07:27] local.INFO: TCP Data received {"connection_id":172002,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072a3bb00012d6e9c80060cda00000301202e..."} 
[2026-09-05 23:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a3bb00012d6e9c80060cda00000301202e..."} 
[2026-09-05 23:07:27] local.INFO: Processing buffer {"connection_id":172002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a3bb00012d6e9c80060cda00000301202e..."} 
[2026-09-05 23:07:27] local.INFO: Packet analysis {"connection_id":172002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a3"} 
[2026-09-05 23:07:27] local.INFO: Extracted packet for processing {"connection_id":172002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a3"} 
[2026-09-05 23:07:27] local.INFO: GPS Element Parsed {"raw_longitude":762223744,"raw_latitude":101505536,"longitude_deg":76.2223744,"latitude_deg":10.1505536,"altitude":3,"angle":288,"satellites":46,"speed":25,"hex_longitude":"2d6e9c80","hex_latitude":"060cda00","is_valid_coordinates":true} 
[2026-09-05 23:07: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-09-05 23:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889209600001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400030122918281216,"note":"Value kept but may cause issues"} 
[2026-09-05 23:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7972004685128513536,"note":"Value kept but may cause issues"} 
[2026-09-05 23:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788629728000,"timestamp_ms":1788629728000,"timestamp_seconds":1788629728,"priority":1,"record_length":96,"hex_timestamp":"000001a072a3bb00"} 
[2026-09-05 23:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:07: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":240,"data_length":795,"current_offset":136} 
[2026-09-05 23:07:27] 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-09-05 23:07: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-09-05 23:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889209600001,"66":27463,"186":206,"79":46336,"24":25,"16":400030122918281216,"45":7972004685128513536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,79,24,16,45]} 
[2026-09-05 23:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889209600001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:07:27] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-05 23:07:27] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400030122918281216,"km_value":400030122918281.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":7972004685128513536,"description":"Unknown IO ID 45"} 
[2026-09-05 23:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889209600001,"power":27463,"unknown_186":206,"unknown_79":46336,"ignition":25,"odometer":null,"unknown_45":7972004685128513536}} 
[2026-09-05 23:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":172002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:07:27] local.INFO: GPS data processed {"connection_id":172002,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:07:27] local.INFO: Acknowledgment sent {"connection_id":172002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:07:49] local.INFO: TCP Data received {"connection_id":174692,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:07:49] local.INFO: Processing buffer {"connection_id":174692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:07:49] local.INFO: IMEI packet received {"connection_id":174692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":174692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:07:49] local.INFO: TCP Data received {"connection_id":174693,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:07:49] local.INFO: Processing buffer {"connection_id":174693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:07:49] local.INFO: IMEI packet received {"connection_id":174693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":174693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:07:54] local.INFO: TCP Data received {"connection_id":174693,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:07:54] local.INFO: Processing buffer {"connection_id":174693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:07:54] local.INFO: IMEI packet received {"connection_id":174693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":174693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:07:54] local.INFO: TCP Data received {"connection_id":174692,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:07:54] local.INFO: Processing buffer {"connection_id":174692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:07:54] local.INFO: IMEI packet received {"connection_id":174692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":174692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:07:54] local.INFO: TCP Data received {"connection_id":174693,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072a4f380012d6deec0060cb6800001013e2a..."} 
[2026-09-05 23:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a4f380012d6deec0060cb6800001013e2a..."} 
[2026-09-05 23:07:54] local.INFO: Processing buffer {"connection_id":174693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a4f380012d6deec0060cb6800001013e2a..."} 
[2026-09-05 23:07:54] local.INFO: Packet analysis {"connection_id":174693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a4"} 
[2026-09-05 23:07:54] local.INFO: Extracted packet for processing {"connection_id":174693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a4"} 
[2026-09-05 23:07:54] local.INFO: GPS Element Parsed {"raw_longitude":762179264,"raw_latitude":101496448,"longitude_deg":76.2179264,"latitude_deg":10.1496448,"altitude":1,"angle":318,"satellites":42,"speed":22,"hex_longitude":"2d6deec0","hex_latitude":"060cb680","is_valid_coordinates":true} 
[2026-09-05 23:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889229312001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400032450790555648,"note":"Value kept but may cause issues"} 
[2026-09-05 23:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7923309514154762240,"note":"Value kept but may cause issues"} 
[2026-09-05 23:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788629808000,"timestamp_ms":1788629808000,"timestamp_seconds":1788629808,"priority":1,"record_length":96,"hex_timestamp":"000001a072a4f380"} 
[2026-09-05 23:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 23:07:54] 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-09-05 23:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889229312001,"66":27234,"184":206,"79":46336,"24":22,"16":400032450790555648,"45":7923309514154762240},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,79,24,16,45]} 
[2026-09-05 23:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889229312001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:07:54] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-05 23:07:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400032450790555648,"km_value":400032450790555.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":7923309514154762240,"description":"Unknown IO ID 45"} 
[2026-09-05 23:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889229312001,"power":27234,"unknown_184":206,"unknown_79":46336,"ignition":22,"odometer":null,"unknown_45":7923309514154762240}} 
[2026-09-05 23:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":174693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:07:54] local.INFO: GPS data processed {"connection_id":174693,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:07:54] local.INFO: Acknowledgment sent {"connection_id":174693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:07:54] local.INFO: TCP Data received {"connection_id":174692,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a072a36128012d196500071ff1280040014528..."} 
[2026-09-05 23:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a36128012d196500071ff1280040014528..."} 
[2026-09-05 23:07:54] local.INFO: Processing buffer {"connection_id":174692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a36128012d196500071ff1280040014528..."} 
[2026-09-05 23:07:54] local.INFO: Packet analysis {"connection_id":174692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a3"} 
[2026-09-05 23:07:54] local.INFO: Extracted packet for processing {"connection_id":174692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a3"} 
[2026-09-05 23:07:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889127424001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788629705000,"timestamp_ms":1788629705000,"timestamp_seconds":1788629705,"priority":1,"record_length":96,"hex_timestamp":"000001a072a36128"} 
[2026-09-05 23:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:07:54] 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-09-05 23:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889127424001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889127424001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:07:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:07:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889127424001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":174692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:07:55] local.INFO: GPS data processed {"connection_id":174692,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:07:55] local.INFO: Acknowledgment sent {"connection_id":174692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:07:59] local.INFO: TCP Data received {"connection_id":174692,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a072a36128012d196500071ff1280040014528..."} 
[2026-09-05 23:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a36128012d196500071ff1280040014528..."} 
[2026-09-05 23:07:59] local.INFO: Processing buffer {"connection_id":174692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a36128012d196500071ff1280040014528..."} 
[2026-09-05 23:07:59] local.INFO: Packet analysis {"connection_id":174692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a3"} 
[2026-09-05 23:07:59] local.INFO: Extracted packet for processing {"connection_id":174692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a3"} 
[2026-09-05 23:07:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889127424001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788629705000,"timestamp_ms":1788629705000,"timestamp_seconds":1788629705,"priority":1,"record_length":96,"hex_timestamp":"000001a072a36128"} 
[2026-09-05 23:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:07:59] 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-09-05 23:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889127424001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889127424001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:07:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:07:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889127424001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":174692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:07:59] local.INFO: GPS data processed {"connection_id":174692,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:07:59] local.INFO: Acknowledgment sent {"connection_id":174692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:08:27] local.INFO: TCP Data received {"connection_id":174693,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072a4f768012d6ded00060cb800000101302b..."} 
[2026-09-05 23:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a4f768012d6ded00060cb800000101302b..."} 
[2026-09-05 23:08:27] local.INFO: Processing buffer {"connection_id":174693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a4f768012d6ded00060cb800000101302b..."} 
[2026-09-05 23:08:27] local.INFO: Packet analysis {"connection_id":174693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a4"} 
[2026-09-05 23:08:27] local.INFO: Extracted packet for processing {"connection_id":174693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a4"} 
[2026-09-05 23:08:27] local.INFO: GPS Element Parsed {"raw_longitude":762178816,"raw_latitude":101496832,"longitude_deg":76.2178816,"latitude_deg":10.1496832,"altitude":1,"angle":304,"satellites":43,"speed":23,"hex_longitude":"2d6ded00","hex_latitude":"060cb800","is_valid_coordinates":true} 
[2026-09-05 23:08: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-09-05 23:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889230848001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400032480855326720,"note":"Value kept but may cause issues"} 
[2026-09-05 23:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7921479926806904832,"note":"Value kept but may cause issues"} 
[2026-09-05 23:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788629809000,"timestamp_ms":1788629809000,"timestamp_seconds":1788629809,"priority":1,"record_length":96,"hex_timestamp":"000001a072a4f768"} 
[2026-09-05 23:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:08: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":98,"data_length":795,"current_offset":136} 
[2026-09-05 23:08:27] 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-09-05 23:08: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-09-05 23:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889230848001,"66":27267,"184":206,"79":46336,"24":23,"16":400032480855326720,"45":7921479926806904832},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,79,24,16,45]} 
[2026-09-05 23:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889230848001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:08:27] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-05 23:08:27] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400032480855326720,"km_value":400032480855326.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":7921479926806904832,"description":"Unknown IO ID 45"} 
[2026-09-05 23:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889230848001,"power":27267,"unknown_184":206,"unknown_79":46336,"ignition":23,"odometer":null,"unknown_45":7921479926806904832}} 
[2026-09-05 23:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":174693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:08:27] local.INFO: GPS data processed {"connection_id":174693,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:08:27] local.INFO: Acknowledgment sent {"connection_id":174693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:08:44] local.INFO: TCP Data received {"connection_id":172255,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:08:44] local.INFO: Processing buffer {"connection_id":172255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:08:44] local.INFO: IMEI packet received {"connection_id":172255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":172255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:08:49] local.INFO: TCP Data received {"connection_id":172255,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:08:49] local.INFO: Processing buffer {"connection_id":172255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:08:49] local.INFO: IMEI packet received {"connection_id":172255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":172255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:08:49] local.INFO: TCP Data received {"connection_id":172003,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:08:49] local.INFO: Processing buffer {"connection_id":172003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:08:49] local.INFO: IMEI packet received {"connection_id":172003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":172003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:08:49] local.INFO: TCP Data received {"connection_id":172255,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a072a36128012d196500071ff1280040014528..."} 
[2026-09-05 23:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a36128012d196500071ff1280040014528..."} 
[2026-09-05 23:08:49] local.INFO: Processing buffer {"connection_id":172255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a36128012d196500071ff1280040014528..."} 
[2026-09-05 23:08:49] local.INFO: Packet analysis {"connection_id":172255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a3"} 
[2026-09-05 23:08:49] local.INFO: Extracted packet for processing {"connection_id":172255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a3"} 
[2026-09-05 23:08:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889127424001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788629705000,"timestamp_ms":1788629705000,"timestamp_seconds":1788629705,"priority":1,"record_length":96,"hex_timestamp":"000001a072a36128"} 
[2026-09-05 23:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889127424001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889127424001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:08:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:08:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889127424001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":172255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:08:50] local.INFO: GPS data processed {"connection_id":172255,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:08:50] local.INFO: Acknowledgment sent {"connection_id":172255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:08:52] local.INFO: TCP Data received {"connection_id":173368,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:08:52] local.INFO: Processing buffer {"connection_id":173368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:08:52] local.INFO: IMEI packet received {"connection_id":173368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 23:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":173368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:08:55] local.INFO: TCP Data received {"connection_id":172003,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:08:55] local.INFO: Processing buffer {"connection_id":172003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:08:55] local.INFO: IMEI packet received {"connection_id":172003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":172003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:08:56] local.INFO: TCP Data received {"connection_id":172003,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072a4fb50012d6deac0060cb920000101242b..."} 
[2026-09-05 23:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a4fb50012d6deac0060cb920000101242b..."} 
[2026-09-05 23:08:56] local.INFO: Processing buffer {"connection_id":172003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a4fb50012d6deac0060cb920000101242b..."} 
[2026-09-05 23:08:56] local.INFO: Packet analysis {"connection_id":172003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a4"} 
[2026-09-05 23:08:56] local.INFO: Extracted packet for processing {"connection_id":172003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a4"} 
[2026-09-05 23:08:56] local.INFO: GPS Element Parsed {"raw_longitude":762178240,"raw_latitude":101497120,"longitude_deg":76.217824,"latitude_deg":10.149712,"altitude":1,"angle":292,"satellites":43,"speed":24,"hex_longitude":"2d6deac0","hex_latitude":"060cb920","is_valid_coordinates":true} 
[2026-09-05 23:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889231104001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400032510920097792,"note":"Value kept but may cause issues"} 
[2026-09-05 23:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7920987345597759488,"note":"Value kept but may cause issues"} 
[2026-09-05 23:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788629810000,"timestamp_ms":1788629810000,"timestamp_seconds":1788629810,"priority":1,"record_length":96,"hex_timestamp":"000001a072a4fb50"} 
[2026-09-05 23:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-05 23:08:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:08:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889231104001,"66":27267,"83":206,"79":46336,"24":24,"16":400032510920097792,"45":7920987345597759488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,79,24,16,45]} 
[2026-09-05 23:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889231104001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:08:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-05 23:08:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400032510920097792,"km_value":400032510920097.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":7920987345597759488,"description":"Unknown IO ID 45"} 
[2026-09-05 23:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889231104001,"power":27267,"unknown_83":206,"unknown_79":46336,"ignition":24,"odometer":null,"unknown_45":7920987345597759488}} 
[2026-09-05 23:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":172003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:08:56] local.INFO: GPS data processed {"connection_id":172003,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:08:56] local.INFO: Acknowledgment sent {"connection_id":172003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:09:13] local.INFO: TCP Data received {"connection_id":174694,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:09:13] local.INFO: Processing buffer {"connection_id":174694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:09:13] local.INFO: IMEI packet received {"connection_id":174694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 23:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":174694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:09:21] local.INFO: TCP Data received {"connection_id":172255,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a072a36128012d196500071ff1280040014528..."} 
[2026-09-05 23:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a36128012d196500071ff1280040014528..."} 
[2026-09-05 23:09:21] local.INFO: Processing buffer {"connection_id":172255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a36128012d196500071ff1280040014528..."} 
[2026-09-05 23:09:21] local.INFO: Packet analysis {"connection_id":172255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a3"} 
[2026-09-05 23:09:21] local.INFO: Extracted packet for processing {"connection_id":172255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a3"} 
[2026-09-05 23:09:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889127424001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788629705000,"timestamp_ms":1788629705000,"timestamp_seconds":1788629705,"priority":1,"record_length":96,"hex_timestamp":"000001a072a36128"} 
[2026-09-05 23:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:09:21] 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-09-05 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889127424001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889127424001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:09:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:09:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889127424001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":172255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:09:21] local.INFO: GPS data processed {"connection_id":172255,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:09:21] local.INFO: Acknowledgment sent {"connection_id":172255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:09:27] local.INFO: TCP Data received {"connection_id":172003,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072a535e8012d6dc800060cc7080000011d2d..."} 
[2026-09-05 23:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a535e8012d6dc800060cc7080000011d2d..."} 
[2026-09-05 23:09:27] local.INFO: Processing buffer {"connection_id":172003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a535e8012d6dc800060cc7080000011d2d..."} 
[2026-09-05 23:09:27] local.INFO: Packet analysis {"connection_id":172003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a5"} 
[2026-09-05 23:09:27] local.INFO: Extracted packet for processing {"connection_id":172003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a5"} 
[2026-09-05 23:09:27] local.INFO: GPS Element Parsed {"raw_longitude":762169344,"raw_latitude":101500680,"longitude_deg":76.2169344,"latitude_deg":10.150068,"altitude":0,"angle":285,"satellites":45,"speed":8,"hex_longitude":"2d6dc800","hex_latitude":"060cc708","is_valid_coordinates":true} 
[2026-09-05 23:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889231360001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400032970481598464,"note":"Value kept but may cause issues"} 
[2026-09-05 23:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7920354026900234240,"note":"Value kept but may cause issues"} 
[2026-09-05 23:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788629825000,"timestamp_ms":1788629825000,"timestamp_seconds":1788629825,"priority":1,"record_length":96,"hex_timestamp":"000001a072a535e8"} 
[2026-09-05 23:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-05 23:09:27] 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-09-05 23:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889231360001,"66":27310,"83":206,"79":46336,"24":8,"16":400032970481598464,"45":7920354026900234240},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,79,24,16,45]} 
[2026-09-05 23:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889231360001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:09:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-05 23:09:27] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400032970481598464,"km_value":400032970481598.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":7920354026900234240,"description":"Unknown IO ID 45"} 
[2026-09-05 23:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889231360001,"power":27310,"unknown_83":206,"unknown_79":46336,"ignition":8,"odometer":null,"unknown_45":7920354026900234240}} 
[2026-09-05 23:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":172003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:09:27] local.INFO: GPS data processed {"connection_id":172003,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:09:27] local.INFO: Acknowledgment sent {"connection_id":172003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:09:44] local.INFO: TCP Data received {"connection_id":172256,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:09:44] local.INFO: Processing buffer {"connection_id":172256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:09:44] local.INFO: IMEI packet received {"connection_id":172256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":172256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:09:49] local.INFO: TCP Data received {"connection_id":172256,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:09:49] local.INFO: Processing buffer {"connection_id":172256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:09:49] local.INFO: IMEI packet received {"connection_id":172256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":172256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:09:49] local.INFO: TCP Data received {"connection_id":172256,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a072a36128012d196500071ff1280040014528..."} 
[2026-09-05 23:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a36128012d196500071ff1280040014528..."} 
[2026-09-05 23:09:49] local.INFO: Processing buffer {"connection_id":172256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a36128012d196500071ff1280040014528..."} 
[2026-09-05 23:09:49] local.INFO: Packet analysis {"connection_id":172256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a3"} 
[2026-09-05 23:09:49] local.INFO: Extracted packet for processing {"connection_id":172256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a3"} 
[2026-09-05 23:09:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889127424001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788629705000,"timestamp_ms":1788629705000,"timestamp_seconds":1788629705,"priority":1,"record_length":96,"hex_timestamp":"000001a072a36128"} 
[2026-09-05 23:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889127424001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889127424001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:09:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:09:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889127424001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":172256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:09:49] local.INFO: GPS data processed {"connection_id":172256,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:09:49] local.INFO: Acknowledgment sent {"connection_id":172256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:09:55] local.INFO: TCP Data received {"connection_id":174695,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:09:55] local.INFO: Processing buffer {"connection_id":174695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:09:55] local.INFO: IMEI packet received {"connection_id":174695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":174695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:09:55] local.INFO: TCP Data received {"connection_id":174695,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:09:55] local.INFO: Processing buffer {"connection_id":174695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:09:55] local.INFO: IMEI packet received {"connection_id":174695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":174695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:09:56] local.INFO: TCP Data received {"connection_id":174695,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072a6b8a0012d6d50c0060d5e400001014d2d..."} 
[2026-09-05 23:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a6b8a0012d6d50c0060d5e400001014d2d..."} 
[2026-09-05 23:09:56] local.INFO: Processing buffer {"connection_id":174695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a6b8a0012d6d50c0060d5e400001014d2d..."} 
[2026-09-05 23:09:56] local.INFO: Packet analysis {"connection_id":174695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a6"} 
[2026-09-05 23:09:56] local.INFO: Extracted packet for processing {"connection_id":174695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a6"} 
[2026-09-05 23:09:56] local.INFO: GPS Element Parsed {"raw_longitude":762138816,"raw_latitude":101539392,"longitude_deg":76.2138816,"latitude_deg":10.1539392,"altitude":1,"angle":333,"satellites":45,"speed":18,"hex_longitude":"2d6d50c0","hex_latitude":"060d5e40","is_valid_coordinates":true} 
[2026-09-05 23:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889256960001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400035611886485504,"note":"Value kept but may cause issues"} 
[2026-09-05 23:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7880384580216205312,"note":"Value kept but may cause issues"} 
[2026-09-05 23:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788629924000,"timestamp_ms":1788629924000,"timestamp_seconds":1788629924,"priority":1,"record_length":96,"hex_timestamp":"000001a072a6b8a0"} 
[2026-09-05 23:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 23:09:56] 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-09-05 23:09:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889256960001,"66":27310,"46":206,"79":46336,"24":18,"16":400035611886485504,"45":7880384580216205312},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,79,24,16,45]} 
[2026-09-05 23:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889256960001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:09:56] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-05 23:09:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400035611886485504,"km_value":400035611886485.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":7880384580216205312,"description":"Unknown IO ID 45"} 
[2026-09-05 23:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889256960001,"power":27310,"unknown_46":206,"unknown_79":46336,"ignition":18,"odometer":null,"unknown_45":7880384580216205312}} 
[2026-09-05 23:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":174695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:09:56] local.INFO: GPS data processed {"connection_id":174695,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:09:56] local.INFO: Acknowledgment sent {"connection_id":174695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:10:00] local.INFO: TCP Data received {"connection_id":174695,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072a6e780012d6d4a40060d6bf80000015d2e..."} 
[2026-09-05 23:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a6e780012d6d4a40060d6bf80000015d2e..."} 
[2026-09-05 23:10:00] local.INFO: Processing buffer {"connection_id":174695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a6e780012d6d4a40060d6bf80000015d2e..."} 
[2026-09-05 23:10:00] local.INFO: Packet analysis {"connection_id":174695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a6"} 
[2026-09-05 23:10:00] local.INFO: Extracted packet for processing {"connection_id":174695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a6"} 
[2026-09-05 23:10:00] local.INFO: GPS Element Parsed {"raw_longitude":762137152,"raw_latitude":101542904,"longitude_deg":76.2137152,"latitude_deg":10.1542904,"altitude":0,"angle":349,"satellites":46,"speed":10,"hex_longitude":"2d6d4a40","hex_latitude":"060d6bf8","is_valid_coordinates":true} 
[2026-09-05 23:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889260544001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400035805160013824,"note":"Value kept but may cause issues"} 
[2026-09-05 23:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7877006880497614848,"note":"Value kept but may cause issues"} 
[2026-09-05 23:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788629936000,"timestamp_ms":1788629936000,"timestamp_seconds":1788629936,"priority":1,"record_length":96,"hex_timestamp":"000001a072a6e780"} 
[2026-09-05 23:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-05 23:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889260544001,"66":27267,"46":206,"79":46336,"24":10,"16":400035805160013824,"45":7877006880497614848},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,79,24,16,45]} 
[2026-09-05 23:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889260544001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:10:00] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-05 23:10:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400035805160013824,"km_value":400035805160013.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7877006880497614848,"description":"Unknown IO ID 45"} 
[2026-09-05 23:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889260544001,"power":27267,"unknown_46":206,"unknown_79":46336,"ignition":10,"odometer":null,"unknown_45":7877006880497614848}} 
[2026-09-05 23:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":174695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:10:00] local.INFO: GPS data processed {"connection_id":174695,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:10:00] local.INFO: Acknowledgment sent {"connection_id":174695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:10:21] local.INFO: TCP Data received {"connection_id":172256,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a072a36128012d196500071ff1280040014528..."} 
[2026-09-05 23:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a36128012d196500071ff1280040014528..."} 
[2026-09-05 23:10:21] local.INFO: Processing buffer {"connection_id":172256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a36128012d196500071ff1280040014528..."} 
[2026-09-05 23:10:21] local.INFO: Packet analysis {"connection_id":172256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a3"} 
[2026-09-05 23:10:21] local.INFO: Extracted packet for processing {"connection_id":172256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a3"} 
[2026-09-05 23:10:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889127424001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788629705000,"timestamp_ms":1788629705000,"timestamp_seconds":1788629705,"priority":1,"record_length":96,"hex_timestamp":"000001a072a36128"} 
[2026-09-05 23:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:10:21] 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-09-05 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23: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-09-05 23:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889127424001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889127424001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:10:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:10:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889127424001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":172256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:10:21] local.INFO: GPS data processed {"connection_id":172256,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:10:21] local.INFO: Acknowledgment sent {"connection_id":172256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:10:31] local.INFO: TCP Data received {"connection_id":174695,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072a73988012d6d4540060d8398000001612e..."} 
[2026-09-05 23:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a73988012d6d4540060d8398000001612e..."} 
[2026-09-05 23:10:31] local.INFO: Processing buffer {"connection_id":174695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a73988012d6d4540060d8398000001612e..."} 
[2026-09-05 23:10:31] local.INFO: Packet analysis {"connection_id":174695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a7"} 
[2026-09-05 23:10:31] local.INFO: Extracted packet for processing {"connection_id":174695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a7"} 
[2026-09-05 23:10:31] local.INFO: GPS Element Parsed {"raw_longitude":762135872,"raw_latitude":101548952,"longitude_deg":76.2135872,"latitude_deg":10.1548952,"altitude":0,"angle":353,"satellites":46,"speed":17,"hex_longitude":"2d6d4540","hex_latitude":"060d8398","is_valid_coordinates":true} 
[2026-09-05 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-09-05 23:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889263616001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400036105807724544,"note":"Value kept but may cause issues"} 
[2026-09-05 23:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7875177293149894656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788629957000,"timestamp_ms":1788629957000,"timestamp_seconds":1788629957,"priority":1,"record_length":96,"hex_timestamp":"000001a072a73988"} 
[2026-09-05 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-09-05 23:10: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-09-05 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-05 23:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 23:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:10: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-09-05 23:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889263616001,"66":27332,"46":206,"79":46336,"24":17,"16":400036105807724544,"45":7875177293149894656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,79,24,16,45]} 
[2026-09-05 23:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889263616001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:10:31] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-05 23:10:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400036105807724544,"km_value":400036105807724.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7875177293149894656,"description":"Unknown IO ID 45"} 
[2026-09-05 23:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889263616001,"power":27332,"unknown_46":206,"unknown_79":46336,"ignition":17,"odometer":null,"unknown_45":7875177293149894656}} 
[2026-09-05 23:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":174695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:10:31] local.INFO: GPS data processed {"connection_id":174695,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:10:31] local.INFO: Acknowledgment sent {"connection_id":174695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:10:44] local.INFO: TCP Data received {"connection_id":172257,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:10:44] local.INFO: Processing buffer {"connection_id":172257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:10:44] local.INFO: IMEI packet received {"connection_id":172257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":172257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:10:44] local.INFO: TCP Data received {"connection_id":172257,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:10:44] local.INFO: Processing buffer {"connection_id":172257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:10:44] local.INFO: IMEI packet received {"connection_id":172257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":172257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:10:46] local.INFO: TCP Data received {"connection_id":173369,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:10:46] local.INFO: Processing buffer {"connection_id":173369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:10:46] local.INFO: IMEI packet received {"connection_id":173369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":173369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:10:49] local.INFO: TCP Data received {"connection_id":172257,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:10:49] local.INFO: Processing buffer {"connection_id":172257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:10:49] local.INFO: IMEI packet received {"connection_id":172257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":172257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:10:50] local.INFO: TCP Data received {"connection_id":172257,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a072a7f8f0012d196500071ff1280040014528..."} 
[2026-09-05 23:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a7f8f0012d196500071ff1280040014528..."} 
[2026-09-05 23:10:50] local.INFO: Processing buffer {"connection_id":172257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a7f8f0012d196500071ff1280040014528..."} 
[2026-09-05 23:10:50] local.INFO: Packet analysis {"connection_id":172257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a7"} 
[2026-09-05 23:10:50] local.INFO: Extracted packet for processing {"connection_id":172257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a7"} 
[2026-09-05 23:10:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889204480001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788630006000,"timestamp_ms":1788630006000,"timestamp_seconds":1788630006,"priority":1,"record_length":96,"hex_timestamp":"000001a072a7f8f0"} 
[2026-09-05 23:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:10:50] 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-09-05 23:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889204480001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889204480001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:10:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:10:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889204480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:10:50] local.INFO: TCP Data received {"connection_id":173369,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:10:50] local.INFO: Processing buffer {"connection_id":173369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:10:50] local.INFO: IMEI packet received {"connection_id":173369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":173369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":172257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:10:50] local.INFO: GPS data processed {"connection_id":172257,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:10:50] local.INFO: Acknowledgment sent {"connection_id":172257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:10:55] local.INFO: TCP Data received {"connection_id":173369,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:10:55] local.INFO: Processing buffer {"connection_id":173369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:10:55] local.INFO: IMEI packet received {"connection_id":173369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":173369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:10:56] local.INFO: TCP Data received {"connection_id":173369,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072a78b90012d6d4280060da2a00002015d2f..."} 
[2026-09-05 23:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a78b90012d6d4280060da2a00002015d2f..."} 
[2026-09-05 23:10:56] local.INFO: Processing buffer {"connection_id":173369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a78b90012d6d4280060da2a00002015d2f..."} 
[2026-09-05 23:10:56] local.INFO: Packet analysis {"connection_id":173369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a7"} 
[2026-09-05 23:10:56] local.INFO: Extracted packet for processing {"connection_id":173369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a7"} 
[2026-09-05 23:10:56] local.INFO: GPS Element Parsed {"raw_longitude":762135168,"raw_latitude":101556896,"longitude_deg":76.2135168,"latitude_deg":10.1556896,"altitude":2,"angle":349,"satellites":47,"speed":12,"hex_longitude":"2d6d4280","hex_latitude":"060da2a0","is_valid_coordinates":true} 
[2026-09-05 23:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889268992001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400036492354781184,"note":"Value kept but may cause issues"} 
[2026-09-05 23:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7873769918267889664,"note":"Value kept but may cause issues"} 
[2026-09-05 23:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788629978000,"timestamp_ms":1788629978000,"timestamp_seconds":1788629978,"priority":1,"record_length":96,"hex_timestamp":"000001a072a78b90"} 
[2026-09-05 23:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-05 23:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889268992001,"66":27343,"46":206,"79":46336,"24":12,"16":400036492354781184,"45":7873769918267889664},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,79,24,16,45]} 
[2026-09-05 23:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889268992001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:10:56] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-05 23:10:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400036492354781184,"km_value":400036492354781.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":7873769918267889664,"description":"Unknown IO ID 45"} 
[2026-09-05 23:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889268992001,"power":27343,"unknown_46":206,"unknown_79":46336,"ignition":12,"odometer":null,"unknown_45":7873769918267889664}} 
[2026-09-05 23:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":173369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:10:56] local.INFO: GPS data processed {"connection_id":173369,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:10:56] local.INFO: Acknowledgment sent {"connection_id":173369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:11:21] local.INFO: TCP Data received {"connection_id":172257,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a072a7f8f0012d196500071ff1280040014528..."} 
[2026-09-05 23:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a7f8f0012d196500071ff1280040014528..."} 
[2026-09-05 23:11:21] local.INFO: Processing buffer {"connection_id":172257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a7f8f0012d196500071ff1280040014528..."} 
[2026-09-05 23:11:21] local.INFO: Packet analysis {"connection_id":172257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a7"} 
[2026-09-05 23:11:21] local.INFO: Extracted packet for processing {"connection_id":172257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a7"} 
[2026-09-05 23:11:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889204480001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788630006000,"timestamp_ms":1788630006000,"timestamp_seconds":1788630006,"priority":1,"record_length":96,"hex_timestamp":"000001a072a7f8f0"} 
[2026-09-05 23:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:11:21] 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-09-05 23:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889204480001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889204480001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:11:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:11:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889204480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":172257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:11:21] local.INFO: GPS data processed {"connection_id":172257,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:11:21] local.INFO: Acknowledgment sent {"connection_id":172257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:11:27] local.INFO: TCP Data received {"connection_id":173369,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072a7b2a0012d6d4140060db3d0000200002f..."} 
[2026-09-05 23:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a7b2a0012d6d4140060db3d0000200002f..."} 
[2026-09-05 23:11:27] local.INFO: Processing buffer {"connection_id":173369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a7b2a0012d6d4140060db3d0000200002f..."} 
[2026-09-05 23:11:27] local.INFO: Packet analysis {"connection_id":173369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a7"} 
[2026-09-05 23:11:27] local.INFO: Extracted packet for processing {"connection_id":173369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a7"} 
[2026-09-05 23:11:27] local.INFO: GPS Element Parsed {"raw_longitude":762134848,"raw_latitude":101561296,"longitude_deg":76.2134848,"latitude_deg":10.1561296,"altitude":2,"angle":0,"satellites":47,"speed":15,"hex_longitude":"2d6d4140","hex_latitude":"060db3d0","is_valid_coordinates":true} 
[2026-09-05 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-09-05 23:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889274368001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400036707103145984,"note":"Value kept but may cause issues"} 
[2026-09-05 23:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7872995862083969024,"note":"Value kept but may cause issues"} 
[2026-09-05 23:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788629988000,"timestamp_ms":1788629988000,"timestamp_seconds":1788629988,"priority":1,"record_length":96,"hex_timestamp":"000001a072a7b2a0"} 
[2026-09-05 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-09-05 23:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 23:11:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 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-09-05 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-09-05 23:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889274368001,"66":27376,"46":206,"79":46336,"24":15,"16":400036707103145984,"45":7872995862083969024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,79,24,16,45]} 
[2026-09-05 23:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889274368001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:11:27] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-05 23:11:27] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400036707103145984,"km_value":400036707103146.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":7872995862083969024,"description":"Unknown IO ID 45"} 
[2026-09-05 23:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889274368001,"power":27376,"unknown_46":206,"unknown_79":46336,"ignition":15,"odometer":null,"unknown_45":7872995862083969024}} 
[2026-09-05 23:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":173369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:11:27] local.INFO: GPS data processed {"connection_id":173369,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:11:27] local.INFO: Acknowledgment sent {"connection_id":173369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:11:43] local.INFO: TCP Data received {"connection_id":174697,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:11:43] local.INFO: Processing buffer {"connection_id":174697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:11:43] local.INFO: IMEI packet received {"connection_id":174697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":174697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:11:49] local.INFO: TCP Data received {"connection_id":174697,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:11:49] local.INFO: Processing buffer {"connection_id":174697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:11:49] local.INFO: IMEI packet received {"connection_id":174697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":174697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:11:49] local.INFO: TCP Data received {"connection_id":174697,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a072a7f8f0012d196500071ff1280040014528..."} 
[2026-09-05 23:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a7f8f0012d196500071ff1280040014528..."} 
[2026-09-05 23:11:49] local.INFO: Processing buffer {"connection_id":174697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a7f8f0012d196500071ff1280040014528..."} 
[2026-09-05 23:11:49] local.INFO: Packet analysis {"connection_id":174697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a7"} 
[2026-09-05 23:11:49] local.INFO: Extracted packet for processing {"connection_id":174697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a7"} 
[2026-09-05 23:11:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889204480001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788630006000,"timestamp_ms":1788630006000,"timestamp_seconds":1788630006,"priority":1,"record_length":96,"hex_timestamp":"000001a072a7f8f0"} 
[2026-09-05 23:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:11:49] 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-09-05 23:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:11:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889204480001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889204480001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:11:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:11:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889204480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":174697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:11:50] local.INFO: GPS data processed {"connection_id":174697,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:11:50] local.INFO: Acknowledgment sent {"connection_id":174697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:11:50] local.INFO: TCP Data received {"connection_id":174698,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:11:50] local.INFO: Processing buffer {"connection_id":174698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:11:50] local.INFO: IMEI packet received {"connection_id":174698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":174698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:11:55] local.INFO: TCP Data received {"connection_id":174698,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:11:55] local.INFO: Processing buffer {"connection_id":174698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:11:55] local.INFO: IMEI packet received {"connection_id":174698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":174698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:11:55] local.INFO: TCP Data received {"connection_id":174698,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072a7d9b0012d6d4300060dc3e00001000d2d..."} 
[2026-09-05 23:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a7d9b0012d6d4300060dc3e00001000d2d..."} 
[2026-09-05 23:11:55] local.INFO: Processing buffer {"connection_id":174698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a7d9b0012d6d4300060dc3e00001000d2d..."} 
[2026-09-05 23:11:55] local.INFO: Packet analysis {"connection_id":174698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a7"} 
[2026-09-05 23:11:55] local.INFO: Extracted packet for processing {"connection_id":174698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a7"} 
[2026-09-05 23:11:55] local.INFO: GPS Element Parsed {"raw_longitude":762135296,"raw_latitude":101565408,"longitude_deg":76.2135296,"latitude_deg":10.1565408,"altitude":1,"angle":13,"satellites":45,"speed":12,"hex_longitude":"2d6d4300","hex_latitude":"060dc3e0","is_valid_coordinates":true} 
[2026-09-05 23:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889276928001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400036908966608896,"note":"Value kept but may cause issues"} 
[2026-09-05 23:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7872644018364207104,"note":"Value kept but may cause issues"} 
[2026-09-05 23:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788629998000,"timestamp_ms":1788629998000,"timestamp_seconds":1788629998,"priority":1,"record_length":96,"hex_timestamp":"000001a072a7d9b0"} 
[2026-09-05 23:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-05 23:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889276928001,"66":27267,"46":206,"79":46336,"24":12,"16":400036908966608896,"45":7872644018364207104},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,79,24,16,45]} 
[2026-09-05 23:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889276928001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:11:55] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-05 23:11:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400036908966608896,"km_value":400036908966608.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":7872644018364207104,"description":"Unknown IO ID 45"} 
[2026-09-05 23:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889276928001,"power":27267,"unknown_46":206,"unknown_79":46336,"ignition":12,"odometer":null,"unknown_45":7872644018364207104}} 
[2026-09-05 23:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":174698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:11:55] local.INFO: GPS data processed {"connection_id":174698,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:11:55] local.INFO: Acknowledgment sent {"connection_id":174698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:12:21] local.INFO: TCP Data received {"connection_id":174697,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a072a7f8f0012d196500071ff1280040014528..."} 
[2026-09-05 23:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a7f8f0012d196500071ff1280040014528..."} 
[2026-09-05 23:12:21] local.INFO: Processing buffer {"connection_id":174697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a7f8f0012d196500071ff1280040014528..."} 
[2026-09-05 23:12:21] local.INFO: Packet analysis {"connection_id":174697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a7"} 
[2026-09-05 23:12:21] local.INFO: Extracted packet for processing {"connection_id":174697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a7"} 
[2026-09-05 23:12:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889204480001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788630006000,"timestamp_ms":1788630006000,"timestamp_seconds":1788630006,"priority":1,"record_length":96,"hex_timestamp":"000001a072a7f8f0"} 
[2026-09-05 23:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:12:21] 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-09-05 23:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889204480001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889204480001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:12:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:12:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889204480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":174697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:12:21] local.INFO: GPS data processed {"connection_id":174697,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:12:21] local.INFO: Acknowledgment sent {"connection_id":174697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:12:26] local.INFO: TCP Data received {"connection_id":174698,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072a948e0012d6d63c0060e90b80002000328..."} 
[2026-09-05 23:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a948e0012d6d63c0060e90b80002000328..."} 
[2026-09-05 23:12:26] local.INFO: Processing buffer {"connection_id":174698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a948e0012d6d63c0060e90b80002000328..."} 
[2026-09-05 23:12:26] local.INFO: Packet analysis {"connection_id":174698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a9"} 
[2026-09-05 23:12:26] local.INFO: Extracted packet for processing {"connection_id":174698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a9"} 
[2026-09-05 23:12:26] local.INFO: GPS Element Parsed {"raw_longitude":762143680,"raw_latitude":101617848,"longitude_deg":76.214368,"latitude_deg":10.1617848,"altitude":2,"angle":3,"satellites":40,"speed":25,"hex_longitude":"2d6d63c0","hex_latitude":"060e90b8","is_valid_coordinates":true} 
[2026-09-05 23:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889301248001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7880947530190206976,"note":"Value kept but may cause issues"} 
[2026-09-05 23:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400039567551365120,"note":"Value kept but may cause issues"} 
[2026-09-05 23:12:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 23:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788630092000,"timestamp_ms":1788630092000,"timestamp_seconds":1788630092,"priority":1,"record_length":96,"hex_timestamp":"000001a072a948e0"} 
[2026-09-05 23:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 23:12:26] 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-09-05 23:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889301248001,"66":27376,"45":7880947530190206976,"79":46336,"24":25,"16":400039567551365120},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-09-05 23:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889301248001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":7880947530190206976,"description":"Unknown IO ID 45"} 
[2026-09-05 23:12:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400039567551365120,"km_value":400039567551365.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:12:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457889301248001,"power":27376,"unknown_45":7880947530190206976,"unknown_79":46336,"ignition":25,"odometer":null}} 
[2026-09-05 23:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":174698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:12:26] local.INFO: GPS data processed {"connection_id":174698,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:12:26] local.INFO: Acknowledgment sent {"connection_id":174698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:12:44] local.INFO: TCP Data received {"connection_id":172005,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:12:44] local.INFO: Processing buffer {"connection_id":172005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:12:44] local.INFO: IMEI packet received {"connection_id":172005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":172005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:12:49] local.INFO: TCP Data received {"connection_id":172005,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:12:49] local.INFO: Processing buffer {"connection_id":172005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:12:49] local.INFO: IMEI packet received {"connection_id":172005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":172005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:12:49] local.INFO: TCP Data received {"connection_id":172006,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:12:49] local.INFO: Processing buffer {"connection_id":172006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:12:49] local.INFO: IMEI packet received {"connection_id":172006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":172006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:12:50] local.INFO: TCP Data received {"connection_id":172005,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072a7f8f0012d196500071ff1280040014528..."} 
[2026-09-05 23:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a7f8f0012d196500071ff1280040014528..."} 
[2026-09-05 23:12:50] local.INFO: Processing buffer {"connection_id":172005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a7f8f0012d196500071ff1280040014528..."} 
[2026-09-05 23:12:50] local.INFO: Packet analysis {"connection_id":172005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a7"} 
[2026-09-05 23:12:50] local.INFO: Extracted packet for processing {"connection_id":172005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a7"} 
[2026-09-05 23:12:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889204480001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788630006000,"timestamp_ms":1788630006000,"timestamp_seconds":1788630006,"priority":1,"record_length":96,"hex_timestamp":"000001a072a7f8f0"} 
[2026-09-05 23:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:12:50] 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-09-05 23:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:12:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:12:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:12:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889204480001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889204480001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:12:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:12:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889204480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":172005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:12:50] local.INFO: GPS data processed {"connection_id":172005,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:12:50] local.INFO: Acknowledgment sent {"connection_id":172005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:12:50] local.INFO: TCP Data received {"connection_id":172006,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:12:50] local.INFO: Processing buffer {"connection_id":172006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:12:50] local.INFO: IMEI packet received {"connection_id":172006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":172006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:12:55] local.INFO: TCP Data received {"connection_id":172006,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:12:55] local.INFO: Processing buffer {"connection_id":172006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:12:55] local.INFO: IMEI packet received {"connection_id":172006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":172006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:12:55] local.INFO: TCP Data received {"connection_id":172006,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072a96c08012d6d63c0060ea2d00000015f2d..."} 
[2026-09-05 23:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a96c08012d6d63c0060ea2d00000015f2d..."} 
[2026-09-05 23:12:55] local.INFO: Processing buffer {"connection_id":172006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a96c08012d6d63c0060ea2d00000015f2d..."} 
[2026-09-05 23:12:55] local.INFO: Packet analysis {"connection_id":172006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a9"} 
[2026-09-05 23:12:55] local.INFO: Extracted packet for processing {"connection_id":172006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a9"} 
[2026-09-05 23:12:55] local.INFO: GPS Element Parsed {"raw_longitude":762143680,"raw_latitude":101622480,"longitude_deg":76.214368,"latitude_deg":10.162248,"altitude":0,"angle":351,"satellites":45,"speed":12,"hex_longitude":"2d6d63c0","hex_latitude":"060ea2d0","is_valid_coordinates":true} 
[2026-09-05 23:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889303552001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7882354905075202048,"note":"Value kept but may cause issues"} 
[2026-09-05 23:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400039795184631808,"note":"Value kept but may cause issues"} 
[2026-09-05 23:12:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-05 23:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788630101000,"timestamp_ms":1788630101000,"timestamp_seconds":1788630101,"priority":1,"record_length":96,"hex_timestamp":"000001a072a96c08"} 
[2026-09-05 23:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-05 23:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889303552001,"66":27267,"45":7882354905075202048,"79":46336,"24":12,"16":400039795184631808},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-09-05 23:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889303552001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":7882354905075202048,"description":"Unknown IO ID 45"} 
[2026-09-05 23:12:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400039795184631808,"km_value":400039795184631.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:12:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457889303552001,"power":27267,"unknown_45":7882354905075202048,"unknown_79":46336,"ignition":12,"odometer":null}} 
[2026-09-05 23:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":172006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:12:55] local.INFO: GPS data processed {"connection_id":172006,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:12:55] local.INFO: Acknowledgment sent {"connection_id":172006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:13:21] local.INFO: TCP Data received {"connection_id":172005,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072a7f8f0012d196500071ff1280040014528..."} 
[2026-09-05 23:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a7f8f0012d196500071ff1280040014528..."} 
[2026-09-05 23:13:21] local.INFO: Processing buffer {"connection_id":172005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a7f8f0012d196500071ff1280040014528..."} 
[2026-09-05 23:13:21] local.INFO: Packet analysis {"connection_id":172005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a7"} 
[2026-09-05 23:13:21] local.INFO: Extracted packet for processing {"connection_id":172005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a7"} 
[2026-09-05 23:13:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889204480001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788630006000,"timestamp_ms":1788630006000,"timestamp_seconds":1788630006,"priority":1,"record_length":96,"hex_timestamp":"000001a072a7f8f0"} 
[2026-09-05 23:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:13:21] 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-09-05 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23: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-09-05 23:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889204480001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889204480001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:13:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:13:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889204480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":172005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:13:21] local.INFO: GPS data processed {"connection_id":172005,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:13:21] local.INFO: Acknowledgment sent {"connection_id":172005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:13:26] local.INFO: TCP Data received {"connection_id":172006,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072a97f90012d6d6380060eaa60000100012b..."} 
[2026-09-05 23:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a97f90012d6d6380060eaa60000100012b..."} 
[2026-09-05 23:13:26] local.INFO: Processing buffer {"connection_id":172006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a97f90012d6d6380060eaa60000100012b..."} 
[2026-09-05 23:13:26] local.INFO: Packet analysis {"connection_id":172006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a9"} 
[2026-09-05 23:13:26] local.INFO: Extracted packet for processing {"connection_id":172006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a9"} 
[2026-09-05 23:13:26] local.INFO: GPS Element Parsed {"raw_longitude":762143616,"raw_latitude":101624416,"longitude_deg":76.2143616,"latitude_deg":10.1624416,"altitude":1,"angle":1,"satellites":43,"speed":17,"hex_longitude":"2d6d6380","hex_latitude":"060eaa60","is_valid_coordinates":true} 
[2026-09-05 23:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889305856001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400039889673912320,"note":"Value kept but may cause issues"} 
[2026-09-05 23:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7882354905076387840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:13:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788630106000,"timestamp_ms":1788630106000,"timestamp_seconds":1788630106,"priority":1,"record_length":96,"hex_timestamp":"000001a072a97f90"} 
[2026-09-05 23:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-05 23:13:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889305856001,"66":27517,"12":206,"79":46336,"24":17,"16":400039889673912320,"45":7882354905076387840},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-09-05 23:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889305856001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:13:26] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 23:13:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400039889673912320,"km_value":400039889673912.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":7882354905076387840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889305856001,"power":27517,"unknown_12":206,"unknown_79":46336,"ignition":17,"odometer":null,"unknown_45":7882354905076387840}} 
[2026-09-05 23:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":172006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:13:26] local.INFO: GPS data processed {"connection_id":172006,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:13:26] local.INFO: Acknowledgment sent {"connection_id":172006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:13:44] local.INFO: TCP Data received {"connection_id":172007,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:13:44] local.INFO: Processing buffer {"connection_id":172007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:13:44] local.INFO: IMEI packet received {"connection_id":172007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":172007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:13:49] local.INFO: TCP Data received {"connection_id":172007,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:13:49] local.INFO: Processing buffer {"connection_id":172007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:13:49] local.INFO: IMEI packet received {"connection_id":172007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":172007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:13:49] local.INFO: TCP Data received {"connection_id":172258,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:13:49] local.INFO: Processing buffer {"connection_id":172258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:13:49] local.INFO: IMEI packet received {"connection_id":172258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":172258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:13:52] local.INFO: TCP Data received {"connection_id":172007,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a072a7f8f0012d196500071ff1280040014528..."} 
[2026-09-05 23:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a7f8f0012d196500071ff1280040014528..."} 
[2026-09-05 23:13:52] local.INFO: Processing buffer {"connection_id":172007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a7f8f0012d196500071ff1280040014528..."} 
[2026-09-05 23:13:52] local.INFO: Packet analysis {"connection_id":172007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a7"} 
[2026-09-05 23:13:52] local.INFO: Extracted packet for processing {"connection_id":172007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a7"} 
[2026-09-05 23:13:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889204480001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788630006000,"timestamp_ms":1788630006000,"timestamp_seconds":1788630006,"priority":1,"record_length":96,"hex_timestamp":"000001a072a7f8f0"} 
[2026-09-05 23:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:13:52] 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-09-05 23:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23: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-09-05 23:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889204480001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889204480001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:13:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:13:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889204480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":172007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:13:52] local.INFO: GPS data processed {"connection_id":172007,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:13:52] local.INFO: Acknowledgment sent {"connection_id":172007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:13:54] local.INFO: TCP Data received {"connection_id":172258,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:13:54] local.INFO: Processing buffer {"connection_id":172258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:13:54] local.INFO: IMEI packet received {"connection_id":172258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":172258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:13:54] local.INFO: TCP Data received {"connection_id":172258,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072a99700012d6d6300060eb4b00001015d2b..."} 
[2026-09-05 23:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a99700012d6d6300060eb4b00001015d2b..."} 
[2026-09-05 23:13:54] local.INFO: Processing buffer {"connection_id":172258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a99700012d6d6300060eb4b00001015d2b..."} 
[2026-09-05 23:13:54] local.INFO: Packet analysis {"connection_id":172258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a9"} 
[2026-09-05 23:13:54] local.INFO: Extracted packet for processing {"connection_id":172258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a9"} 
[2026-09-05 23:13:54] local.INFO: GPS Element Parsed {"raw_longitude":762143488,"raw_latitude":101627056,"longitude_deg":76.2143488,"latitude_deg":10.1627056,"altitude":1,"angle":349,"satellites":43,"speed":14,"hex_longitude":"2d6d6300","hex_latitude":"060eb4b0","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889307136001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400040014227963904,"note":"Value kept but may cause issues"} 
[2026-09-05 23:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7882284536332705792,"note":"Value kept but may cause issues"} 
[2026-09-05 23:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788630112000,"timestamp_ms":1788630112000,"timestamp_seconds":1788630112,"priority":1,"record_length":96,"hex_timestamp":"000001a072a99700"} 
[2026-09-05 23:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-05 23:13:54] 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-09-05 23: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-09-05 23:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889307136001,"66":27213,"12":206,"79":46336,"24":14,"16":400040014227963904,"45":7882284536332705792},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-09-05 23:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889307136001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:13:54] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 23:13:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400040014227963904,"km_value":400040014227963.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":7882284536332705792,"description":"Unknown IO ID 45"} 
[2026-09-05 23:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889307136001,"power":27213,"unknown_12":206,"unknown_79":46336,"ignition":14,"odometer":null,"unknown_45":7882284536332705792}} 
[2026-09-05 23:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":172258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:13:54] local.INFO: GPS data processed {"connection_id":172258,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:13:54] local.INFO: Acknowledgment sent {"connection_id":172258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:14:23] local.INFO: TCP Data received {"connection_id":172007,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a072a7f8f0012d196500071ff1280040014528..."} 
[2026-09-05 23:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a7f8f0012d196500071ff1280040014528..."} 
[2026-09-05 23:14:23] local.INFO: Processing buffer {"connection_id":172007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a7f8f0012d196500071ff1280040014528..."} 
[2026-09-05 23:14:23] local.INFO: Packet analysis {"connection_id":172007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a7"} 
[2026-09-05 23:14:23] local.INFO: Extracted packet for processing {"connection_id":172007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a7"} 
[2026-09-05 23:14:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:14:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889204480001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788630006000,"timestamp_ms":1788630006000,"timestamp_seconds":1788630006,"priority":1,"record_length":96,"hex_timestamp":"000001a072a7f8f0"} 
[2026-09-05 23:14:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:14:23] 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-09-05 23:14:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:14:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:14:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:14:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:14:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889204480001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889204480001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:14:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:14:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889204480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":172007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:14:23] local.INFO: GPS data processed {"connection_id":172007,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:14:23] local.INFO: Acknowledgment sent {"connection_id":172007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:14:26] local.INFO: TCP Data received {"connection_id":172258,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072a99ed0012d6d6200060eb778000101512c..."} 
[2026-09-05 23:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a99ed0012d6d6200060eb778000101512c..."} 
[2026-09-05 23:14:26] local.INFO: Processing buffer {"connection_id":172258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a99ed0012d6d6200060eb778000101512c..."} 
[2026-09-05 23:14:26] local.INFO: Packet analysis {"connection_id":172258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a9"} 
[2026-09-05 23:14:26] local.INFO: Extracted packet for processing {"connection_id":172258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a9"} 
[2026-09-05 23:14:26] local.INFO: GPS Element Parsed {"raw_longitude":762143232,"raw_latitude":101627768,"longitude_deg":76.2143232,"latitude_deg":10.1627768,"altitude":1,"angle":337,"satellites":44,"speed":15,"hex_longitude":"2d6d6200","hex_latitude":"060eb778","is_valid_coordinates":true} 
[2026-09-05 23:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889308672001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400040052882669568,"note":"Value kept but may cause issues"} 
[2026-09-05 23:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7882143798845026304,"note":"Value kept but may cause issues"} 
[2026-09-05 23:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788630114000,"timestamp_ms":1788630114000,"timestamp_seconds":1788630114,"priority":1,"record_length":96,"hex_timestamp":"000001a072a99ed0"} 
[2026-09-05 23:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-05 23:14:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:14:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889308672001,"66":27213,"12":206,"79":46336,"24":15,"16":400040052882669568,"45":7882143798845026304},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-09-05 23:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889308672001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:14:26] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 23:14:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400040052882669568,"km_value":400040052882669.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":7882143798845026304,"description":"Unknown IO ID 45"} 
[2026-09-05 23:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889308672001,"power":27213,"unknown_12":206,"unknown_79":46336,"ignition":15,"odometer":null,"unknown_45":7882143798845026304}} 
[2026-09-05 23:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":172258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:14:26] local.INFO: GPS data processed {"connection_id":172258,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:14:26] local.INFO: Acknowledgment sent {"connection_id":172258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:14:43] local.INFO: TCP Data received {"connection_id":173372,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:14:43] local.INFO: Processing buffer {"connection_id":173372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:14:43] local.INFO: IMEI packet received {"connection_id":173372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":173372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:14:49] local.INFO: TCP Data received {"connection_id":173372,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:14:49] local.INFO: Processing buffer {"connection_id":173372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:14:49] local.INFO: IMEI packet received {"connection_id":173372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":173372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:14:49] local.INFO: TCP Data received {"connection_id":172008,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:14:49] local.INFO: Processing buffer {"connection_id":172008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:14:49] local.INFO: IMEI packet received {"connection_id":172008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":172008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:14:50] local.INFO: TCP Data received {"connection_id":173372,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072a7f8f0012d196500071ff1280040014528..."} 
[2026-09-05 23:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a7f8f0012d196500071ff1280040014528..."} 
[2026-09-05 23:14:50] local.INFO: Processing buffer {"connection_id":173372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a7f8f0012d196500071ff1280040014528..."} 
[2026-09-05 23:14:50] local.INFO: Packet analysis {"connection_id":173372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a7"} 
[2026-09-05 23:14:50] local.INFO: Extracted packet for processing {"connection_id":173372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a7"} 
[2026-09-05 23:14:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889204480001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788630006000,"timestamp_ms":1788630006000,"timestamp_seconds":1788630006,"priority":1,"record_length":96,"hex_timestamp":"000001a072a7f8f0"} 
[2026-09-05 23:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:14:50] 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-09-05 23:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889204480001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889204480001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:14:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:14:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889204480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":173372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:14:50] local.INFO: GPS data processed {"connection_id":173372,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:14:50] local.INFO: Acknowledgment sent {"connection_id":173372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:14:53] local.INFO: TCP Data received {"connection_id":172008,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:14:53] local.INFO: Processing buffer {"connection_id":172008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:14:53] local.INFO: IMEI packet received {"connection_id":172008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":172008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:14:54] local.INFO: TCP Data received {"connection_id":172008,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:14:54] local.INFO: Processing buffer {"connection_id":172008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:14:54] local.INFO: IMEI packet received {"connection_id":172008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":172008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:14:55] local.INFO: TCP Data received {"connection_id":172008,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072a9e520012d6d5640060ed828000201582b..."} 
[2026-09-05 23:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a9e520012d6d5640060ed828000201582b..."} 
[2026-09-05 23:14:55] local.INFO: Processing buffer {"connection_id":172008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a9e520012d6d5640060ed828000201582b..."} 
[2026-09-05 23:14:55] local.INFO: Packet analysis {"connection_id":172008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a9"} 
[2026-09-05 23:14:55] local.INFO: Extracted packet for processing {"connection_id":172008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a9"} 
[2026-09-05 23:14:55] local.INFO: GPS Element Parsed {"raw_longitude":762140224,"raw_latitude":101636136,"longitude_deg":76.2140224,"latitude_deg":10.1636136,"altitude":2,"angle":344,"satellites":43,"speed":23,"hex_longitude":"2d6d5640","hex_latitude":"060ed828","is_valid_coordinates":true} 
[2026-09-05 23:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889309184001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400040486674366464,"note":"Value kept but may cause issues"} 
[2026-09-05 23:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7881862323868497920,"note":"Value kept but may cause issues"} 
[2026-09-05 23:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788630132000,"timestamp_ms":1788630132000,"timestamp_seconds":1788630132,"priority":1,"record_length":96,"hex_timestamp":"000001a072a9e520"} 
[2026-09-05 23:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-05 23:14:55] 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-09-05 23:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889309184001,"66":27343,"12":206,"79":46336,"24":23,"16":400040486674366464,"45":7881862323868497920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-09-05 23:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889309184001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:14:55] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 23:14:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400040486674366464,"km_value":400040486674366.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":7881862323868497920,"description":"Unknown IO ID 45"} 
[2026-09-05 23:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889309184001,"power":27343,"unknown_12":206,"unknown_79":46336,"ignition":23,"odometer":null,"unknown_45":7881862323868497920}} 
[2026-09-05 23:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":172008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:14:55] local.INFO: GPS data processed {"connection_id":172008,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:14:55] local.INFO: Acknowledgment sent {"connection_id":172008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:15:02] local.INFO: TCP Data received {"connection_id":173371,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173371,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:15:02] local.INFO: Processing buffer {"connection_id":173371,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:15:02] local.INFO: IMEI packet received {"connection_id":173371,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 23:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":173371,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:15:14] local.INFO: TCP Data received {"connection_id":172009,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172009,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:15:14] local.INFO: Processing buffer {"connection_id":172009,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:15:14] local.INFO: IMEI packet received {"connection_id":172009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 23:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":172009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:15:21] local.INFO: TCP Data received {"connection_id":173372,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072a7f8f0012d196500071ff1280040014528..."} 
[2026-09-05 23:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072a7f8f0012d196500071ff1280040014528..."} 
[2026-09-05 23:15:21] local.INFO: Processing buffer {"connection_id":173372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072a7f8f0012d196500071ff1280040014528..."} 
[2026-09-05 23:15:21] local.INFO: Packet analysis {"connection_id":173372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072a7"} 
[2026-09-05 23:15:21] local.INFO: Extracted packet for processing {"connection_id":173372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072a7"} 
[2026-09-05 23:15:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889204480001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788630006000,"timestamp_ms":1788630006000,"timestamp_seconds":1788630006,"priority":1,"record_length":96,"hex_timestamp":"000001a072a7f8f0"} 
[2026-09-05 23:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:15:21] 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-09-05 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889204480001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889204480001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:15:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:15:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889204480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":173372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:15:21] local.INFO: GPS data processed {"connection_id":173372,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:15:21] local.INFO: Acknowledgment sent {"connection_id":173372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:15:26] local.INFO: TCP Data received {"connection_id":172008,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072aa3728012d6d5200060ee9c8000301592f..."} 
[2026-09-05 23:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072aa3728012d6d5200060ee9c8000301592f..."} 
[2026-09-05 23:15:26] local.INFO: Processing buffer {"connection_id":172008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072aa3728012d6d5200060ee9c8000301592f..."} 
[2026-09-05 23:15:26] local.INFO: Packet analysis {"connection_id":172008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072aa"} 
[2026-09-05 23:15:26] local.INFO: Extracted packet for processing {"connection_id":172008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072aa"} 
[2026-09-05 23:15:26] local.INFO: GPS Element Parsed {"raw_longitude":762139136,"raw_latitude":101640648,"longitude_deg":76.2139136,"latitude_deg":10.1640648,"altitude":3,"angle":345,"satellites":47,"speed":0,"hex_longitude":"2d6d5200","hex_latitude":"060ee9c8","is_valid_coordinates":true} 
[2026-09-05 23:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889313792001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400040710012665856,"note":"Value kept but may cause issues"} 
[2026-09-05 23:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7878554992894289920,"note":"Value kept but may cause issues"} 
[2026-09-05 23:15:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788630153000,"timestamp_ms":1788630153000,"timestamp_seconds":1788630153,"priority":1,"record_length":96,"hex_timestamp":"000001a072aa3728"} 
[2026-09-05 23:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:15:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 23:15:26] 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-09-05 23:15:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:15:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889313792001,"66":27169,"12":206,"79":46336,"24":0,"16":400040710012665856,"45":7878554992894289920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-09-05 23:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889313792001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:15:26] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 23:15:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400040710012665856,"km_value":400040710012665.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":7878554992894289920,"description":"Unknown IO ID 45"} 
[2026-09-05 23:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889313792001,"power":27169,"unknown_12":206,"unknown_79":46336,"ignition":0,"odometer":null,"unknown_45":7878554992894289920}} 
[2026-09-05 23:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":172008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:15:26] local.INFO: GPS data processed {"connection_id":172008,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:15:26] local.INFO: Acknowledgment sent {"connection_id":172008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:15:43] local.INFO: TCP Data received {"connection_id":174700,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:15:43] local.INFO: Processing buffer {"connection_id":174700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:15:43] local.INFO: IMEI packet received {"connection_id":174700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":174700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:15:44] local.INFO: TCP Data received {"connection_id":174700,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:15:44] local.INFO: Processing buffer {"connection_id":174700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:15:44] local.INFO: IMEI packet received {"connection_id":174700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":174700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:15:49] local.INFO: TCP Data received {"connection_id":174700,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:15:49] local.INFO: Processing buffer {"connection_id":174700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:15:49] local.INFO: IMEI packet received {"connection_id":174700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":174700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:15:50] local.INFO: TCP Data received {"connection_id":174700,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a072ac90b8012d196500071ff128004001452a..."} 
[2026-09-05 23:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ac90b8012d196500071ff128004001452a..."} 
[2026-09-05 23:15:50] local.INFO: Processing buffer {"connection_id":174700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ac90b8012d196500071ff128004001452a..."} 
[2026-09-05 23:15:50] local.INFO: Packet analysis {"connection_id":174700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ac"} 
[2026-09-05 23:15:50] local.INFO: Extracted packet for processing {"connection_id":174700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ac"} 
[2026-09-05 23:15:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889281536001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788630307000,"timestamp_ms":1788630307000,"timestamp_seconds":1788630307,"priority":1,"record_length":96,"hex_timestamp":"000001a072ac90b8"} 
[2026-09-05 23:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:15:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889281536001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889281536001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:15:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:15:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889281536001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":174700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:15:50] local.INFO: GPS data processed {"connection_id":174700,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:15:50] local.INFO: Acknowledgment sent {"connection_id":174700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:15:55] local.INFO: TCP Data received {"connection_id":172259,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:15:55] local.INFO: Processing buffer {"connection_id":172259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:15:55] local.INFO: IMEI packet received {"connection_id":172259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":172259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:15:55] local.INFO: TCP Data received {"connection_id":172259,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:15:55] local.INFO: Processing buffer {"connection_id":172259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:15:55] local.INFO: IMEI packet received {"connection_id":172259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":172259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:15:56] local.INFO: TCP Data received {"connection_id":172259,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072aa8930012d6d5200060ee9c8000301592c..."} 
[2026-09-05 23:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072aa8930012d6d5200060ee9c8000301592c..."} 
[2026-09-05 23:15:56] local.INFO: Processing buffer {"connection_id":172259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072aa8930012d6d5200060ee9c8000301592c..."} 
[2026-09-05 23:15:56] local.INFO: Packet analysis {"connection_id":172259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072aa"} 
[2026-09-05 23:15:56] local.INFO: Extracted packet for processing {"connection_id":172259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072aa"} 
[2026-09-05 23:15:56] local.INFO: GPS Element Parsed {"raw_longitude":762139136,"raw_latitude":101640648,"longitude_deg":76.2139136,"latitude_deg":10.1640648,"altitude":3,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d6d5200","hex_latitude":"060ee9c8","is_valid_coordinates":true} 
[2026-09-05 23:15: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-09-05 23:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889319168001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400040710012665856,"note":"Value kept but may cause issues"} 
[2026-09-05 23:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7877358724244424704,"note":"Value kept but may cause issues"} 
[2026-09-05 23:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788630174000,"timestamp_ms":1788630174000,"timestamp_seconds":1788630174,"priority":1,"record_length":96,"hex_timestamp":"000001a072aa8930"} 
[2026-09-05 23:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-05 23:15:56] 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-09-05 23:15: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-09-05 23:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889319168001,"66":27767,"12":206,"79":46336,"24":0,"16":400040710012665856,"45":7877358724244424704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-09-05 23:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889319168001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:15:56] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 23:15:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400040710012665856,"km_value":400040710012665.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":7877358724244424704,"description":"Unknown IO ID 45"} 
[2026-09-05 23:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889319168001,"power":27767,"unknown_12":206,"unknown_79":46336,"ignition":0,"odometer":null,"unknown_45":7877358724244424704}} 
[2026-09-05 23:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":172259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:15:56] local.INFO: GPS data processed {"connection_id":172259,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:15:56] local.INFO: Acknowledgment sent {"connection_id":172259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:15:59] local.INFO: TCP Data received {"connection_id":172259,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072aadb38012d6d5200060ee9c8000301592e..."} 
[2026-09-05 23:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072aadb38012d6d5200060ee9c8000301592e..."} 
[2026-09-05 23:15:59] local.INFO: Processing buffer {"connection_id":172259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072aadb38012d6d5200060ee9c8000301592e..."} 
[2026-09-05 23:15:59] local.INFO: Packet analysis {"connection_id":172259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072aa"} 
[2026-09-05 23:15:59] local.INFO: Extracted packet for processing {"connection_id":172259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072aa"} 
[2026-09-05 23:15:59] local.INFO: GPS Element Parsed {"raw_longitude":762139136,"raw_latitude":101640648,"longitude_deg":76.2139136,"latitude_deg":10.1640648,"altitude":3,"angle":345,"satellites":46,"speed":0,"hex_longitude":"2d6d5200","hex_latitude":"060ee9c8","is_valid_coordinates":true} 
[2026-09-05 23:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889324544001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400040710012665856,"note":"Value kept but may cause issues"} 
[2026-09-05 23:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7877358724244424704,"note":"Value kept but may cause issues"} 
[2026-09-05 23:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788630195000,"timestamp_ms":1788630195000,"timestamp_seconds":1788630195,"priority":1,"record_length":96,"hex_timestamp":"000001a072aadb38"} 
[2026-09-05 23:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 23:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889324544001,"66":27767,"12":206,"79":46336,"24":0,"16":400040710012665856,"45":7877358724244424704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-09-05 23:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889324544001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:15:59] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 23:15:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400040710012665856,"km_value":400040710012665.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7877358724244424704,"description":"Unknown IO ID 45"} 
[2026-09-05 23:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889324544001,"power":27767,"unknown_12":206,"unknown_79":46336,"ignition":0,"odometer":null,"unknown_45":7877358724244424704}} 
[2026-09-05 23:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":172259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:15:59] local.INFO: GPS data processed {"connection_id":172259,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:15:59] local.INFO: Acknowledgment sent {"connection_id":172259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:16:21] local.INFO: TCP Data received {"connection_id":174700,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a072ac90b8012d196500071ff128004001452a..."} 
[2026-09-05 23:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ac90b8012d196500071ff128004001452a..."} 
[2026-09-05 23:16:21] local.INFO: Processing buffer {"connection_id":174700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ac90b8012d196500071ff128004001452a..."} 
[2026-09-05 23:16:21] local.INFO: Packet analysis {"connection_id":174700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ac"} 
[2026-09-05 23:16:21] local.INFO: Extracted packet for processing {"connection_id":174700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ac"} 
[2026-09-05 23:16:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889281536001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788630307000,"timestamp_ms":1788630307000,"timestamp_seconds":1788630307,"priority":1,"record_length":96,"hex_timestamp":"000001a072ac90b8"} 
[2026-09-05 23:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:16:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889281536001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889281536001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:16:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:16:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889281536001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":174700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:16:21] local.INFO: GPS data processed {"connection_id":174700,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:16:21] local.INFO: Acknowledgment sent {"connection_id":174700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:16:31] local.INFO: TCP Data received {"connection_id":172259,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072ab2d40012d6d5200060ee9c8000301592c..."} 
[2026-09-05 23:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ab2d40012d6d5200060ee9c8000301592c..."} 
[2026-09-05 23:16:31] local.INFO: Processing buffer {"connection_id":172259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ab2d40012d6d5200060ee9c8000301592c..."} 
[2026-09-05 23:16:31] local.INFO: Packet analysis {"connection_id":172259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ab"} 
[2026-09-05 23:16:31] local.INFO: Extracted packet for processing {"connection_id":172259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ab"} 
[2026-09-05 23:16:31] local.INFO: GPS Element Parsed {"raw_longitude":762139136,"raw_latitude":101640648,"longitude_deg":76.2139136,"latitude_deg":10.1640648,"altitude":3,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d6d5200","hex_latitude":"060ee9c8","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889329920001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400040710012665856,"note":"Value kept but may cause issues"} 
[2026-09-05 23:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7877358724244424704,"note":"Value kept but may cause issues"} 
[2026-09-05 23:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788630216000,"timestamp_ms":1788630216000,"timestamp_seconds":1788630216,"priority":1,"record_length":96,"hex_timestamp":"000001a072ab2d40"} 
[2026-09-05 23:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 23:16: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-09-05 23: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-09-05 23:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:16: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-09-05 23:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889329920001,"66":27615,"12":206,"79":46336,"24":0,"16":400040710012665856,"45":7877358724244424704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-09-05 23:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889329920001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:16:31] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 23:16:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400040710012665856,"km_value":400040710012665.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7877358724244424704,"description":"Unknown IO ID 45"} 
[2026-09-05 23:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889329920001,"power":27615,"unknown_12":206,"unknown_79":46336,"ignition":0,"odometer":null,"unknown_45":7877358724244424704}} 
[2026-09-05 23:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":172259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:16:31] local.INFO: GPS data processed {"connection_id":172259,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:16:31] local.INFO: Acknowledgment sent {"connection_id":172259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:16:44] local.INFO: TCP Data received {"connection_id":174701,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:16:44] local.INFO: Processing buffer {"connection_id":174701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:16:44] local.INFO: IMEI packet received {"connection_id":174701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":174701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:16:49] local.INFO: TCP Data received {"connection_id":174701,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:16:49] local.INFO: Processing buffer {"connection_id":174701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:16:49] local.INFO: IMEI packet received {"connection_id":174701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":174701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:16:49] local.INFO: TCP Data received {"connection_id":174701,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a072ac90b8012d196500071ff128004001452a..."} 
[2026-09-05 23:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ac90b8012d196500071ff128004001452a..."} 
[2026-09-05 23:16:49] local.INFO: Processing buffer {"connection_id":174701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ac90b8012d196500071ff128004001452a..."} 
[2026-09-05 23:16:49] local.INFO: Packet analysis {"connection_id":174701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ac"} 
[2026-09-05 23:16:49] local.INFO: Extracted packet for processing {"connection_id":174701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ac"} 
[2026-09-05 23:16:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889281536001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788630307000,"timestamp_ms":1788630307000,"timestamp_seconds":1788630307,"priority":1,"record_length":96,"hex_timestamp":"000001a072ac90b8"} 
[2026-09-05 23:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889281536001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889281536001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:16:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:16:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889281536001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":174701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:16:49] local.INFO: GPS data processed {"connection_id":174701,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:16:49] local.INFO: Acknowledgment sent {"connection_id":174701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:16:50] local.INFO: TCP Data received {"connection_id":172010,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:16:50] local.INFO: Processing buffer {"connection_id":172010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:16:50] local.INFO: IMEI packet received {"connection_id":172010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":172010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:16:55] local.INFO: TCP Data received {"connection_id":172010,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:16:55] local.INFO: Processing buffer {"connection_id":172010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:16:55] local.INFO: IMEI packet received {"connection_id":172010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":172010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:16:55] local.INFO: TCP Data received {"connection_id":172010,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072ab6fa8012d6d5040060eed38000701482e..."} 
[2026-09-05 23:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ab6fa8012d6d5040060eed38000701482e..."} 
[2026-09-05 23:16:55] local.INFO: Processing buffer {"connection_id":172010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ab6fa8012d6d5040060eed38000701482e..."} 
[2026-09-05 23:16:55] local.INFO: Packet analysis {"connection_id":172010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ab"} 
[2026-09-05 23:16:55] local.INFO: Extracted packet for processing {"connection_id":172010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ab"} 
[2026-09-05 23:16:55] local.INFO: GPS Element Parsed {"raw_longitude":762138688,"raw_latitude":101641528,"longitude_deg":76.2138688,"latitude_deg":10.1641528,"altitude":7,"angle":328,"satellites":46,"speed":5,"hex_longitude":"2d6d5040","hex_latitude":"060eed38","is_valid_coordinates":true} 
[2026-09-05 23:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889335296001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400040761552273408,"note":"Value kept but may cause issues"} 
[2026-09-05 23:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7877358724244424704,"note":"Value kept but may cause issues"} 
[2026-09-05 23:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788630233000,"timestamp_ms":1788630233000,"timestamp_seconds":1788630233,"priority":1,"record_length":96,"hex_timestamp":"000001a072ab6fa8"} 
[2026-09-05 23:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-05 23:16:55] 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-09-05 23:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889335296001,"66":27789,"12":206,"79":46336,"24":5,"16":400040761552273408,"45":7877358724244424704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-09-05 23:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889335296001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:16:55] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 23:16:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400040761552273408,"km_value":400040761552273.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":7877358724244424704,"description":"Unknown IO ID 45"} 
[2026-09-05 23:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889335296001,"power":27789,"unknown_12":206,"unknown_79":46336,"ignition":5,"odometer":null,"unknown_45":7877358724244424704}} 
[2026-09-05 23:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":172010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:16:55] local.INFO: GPS data processed {"connection_id":172010,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:16:55] local.INFO: Acknowledgment sent {"connection_id":172010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:17:13] local.INFO: TCP Data received {"connection_id":173376,"ip":"85.217.149.44","data_length":8,"data_hex":"3030303030303030..."} 
[2026-09-05 23:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173376,"packet_length":8,"packet_hex":"3030303030303030..."} 
[2026-09-05 23:17:13] local.INFO: Processing buffer {"connection_id":173376,"buffer_length":8,"buffer_hex":"3030303030303030..."} 
[2026-09-05 23:17:21] local.INFO: TCP Data received {"connection_id":174701,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a072ac90b8012d196500071ff128004001452a..."} 
[2026-09-05 23:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ac90b8012d196500071ff128004001452a..."} 
[2026-09-05 23:17:21] local.INFO: Processing buffer {"connection_id":174701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ac90b8012d196500071ff128004001452a..."} 
[2026-09-05 23:17:21] local.INFO: Packet analysis {"connection_id":174701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ac"} 
[2026-09-05 23:17:21] local.INFO: Extracted packet for processing {"connection_id":174701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ac"} 
[2026-09-05 23:17:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889281536001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788630307000,"timestamp_ms":1788630307000,"timestamp_seconds":1788630307,"priority":1,"record_length":96,"hex_timestamp":"000001a072ac90b8"} 
[2026-09-05 23:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889281536001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889281536001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:17:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:17:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889281536001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":174701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:17:21] local.INFO: GPS data processed {"connection_id":174701,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:17:21] local.INFO: Acknowledgment sent {"connection_id":174701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:17:27] local.INFO: TCP Data received {"connection_id":172010,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072abc1b0012d6d4f80060eef80000701522b..."} 
[2026-09-05 23:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072abc1b0012d6d4f80060eef80000701522b..."} 
[2026-09-05 23:17:27] local.INFO: Processing buffer {"connection_id":172010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072abc1b0012d6d4f80060eef80000701522b..."} 
[2026-09-05 23:17:27] local.INFO: Packet analysis {"connection_id":172010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ab"} 
[2026-09-05 23:17:27] local.INFO: Extracted packet for processing {"connection_id":172010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ab"} 
[2026-09-05 23:17:27] local.INFO: GPS Element Parsed {"raw_longitude":762138496,"raw_latitude":101642112,"longitude_deg":76.2138496,"latitude_deg":10.1642112,"altitude":7,"angle":338,"satellites":43,"speed":0,"hex_longitude":"2d6d4f80","hex_latitude":"060eef80","is_valid_coordinates":true} 
[2026-09-05 23:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889339648001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400040791617044480,"note":"Value kept but may cause issues"} 
[2026-09-05 23:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7876866143035406336,"note":"Value kept but may cause issues"} 
[2026-09-05 23:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788630254000,"timestamp_ms":1788630254000,"timestamp_seconds":1788630254,"priority":1,"record_length":96,"hex_timestamp":"000001a072abc1b0"} 
[2026-09-05 23:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-05 23:17:27] 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-09-05 23:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889339648001,"66":27767,"12":206,"79":46336,"24":0,"16":400040791617044480,"45":7876866143035406336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-09-05 23:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889339648001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:17:27] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 23:17:27] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400040791617044480,"km_value":400040791617044.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":7876866143035406336,"description":"Unknown IO ID 45"} 
[2026-09-05 23:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889339648001,"power":27767,"unknown_12":206,"unknown_79":46336,"ignition":0,"odometer":null,"unknown_45":7876866143035406336}} 
[2026-09-05 23:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":172010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:17:27] local.INFO: GPS data processed {"connection_id":172010,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:17:27] local.INFO: Acknowledgment sent {"connection_id":172010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:17:44] local.INFO: TCP Data received {"connection_id":172260,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:17:44] local.INFO: Processing buffer {"connection_id":172260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:17:44] local.INFO: IMEI packet received {"connection_id":172260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":172260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:17:49] local.INFO: TCP Data received {"connection_id":172260,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:17:49] local.INFO: Processing buffer {"connection_id":172260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:17:49] local.INFO: IMEI packet received {"connection_id":172260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":172260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:17:49] local.INFO: TCP Data received {"connection_id":172260,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072ac90b8012d196500071ff128004001452a..."} 
[2026-09-05 23:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ac90b8012d196500071ff128004001452a..."} 
[2026-09-05 23:17:49] local.INFO: Processing buffer {"connection_id":172260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ac90b8012d196500071ff128004001452a..."} 
[2026-09-05 23:17:49] local.INFO: Packet analysis {"connection_id":172260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ac"} 
[2026-09-05 23:17:49] local.INFO: Extracted packet for processing {"connection_id":172260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ac"} 
[2026-09-05 23:17:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889281536001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788630307000,"timestamp_ms":1788630307000,"timestamp_seconds":1788630307,"priority":1,"record_length":96,"hex_timestamp":"000001a072ac90b8"} 
[2026-09-05 23:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:17:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:17: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-09-05 23:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889281536001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889281536001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:17:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:17:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889281536001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:17:49] local.INFO: TCP Data received {"connection_id":172011,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:17:49] local.INFO: Processing buffer {"connection_id":172011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:17:49] local.INFO: IMEI packet received {"connection_id":172011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":172011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":172260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:17:50] local.INFO: GPS data processed {"connection_id":172260,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:17:50] local.INFO: Acknowledgment sent {"connection_id":172260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:17:55] local.INFO: TCP Data received {"connection_id":172011,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:17:55] local.INFO: Processing buffer {"connection_id":172011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:17:55] local.INFO: IMEI packet received {"connection_id":172011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":172011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:17:56] local.INFO: TCP Data received {"connection_id":172011,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072ac13b8012d6d5000060ef2a8000901522c..."} 
[2026-09-05 23:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ac13b8012d6d5000060ef2a8000901522c..."} 
[2026-09-05 23:17:56] local.INFO: Processing buffer {"connection_id":172011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ac13b8012d6d5000060ef2a8000901522c..."} 
[2026-09-05 23:17:56] local.INFO: Packet analysis {"connection_id":172011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ac"} 
[2026-09-05 23:17:56] local.INFO: Extracted packet for processing {"connection_id":172011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ac"} 
[2026-09-05 23:17:56] local.INFO: GPS Element Parsed {"raw_longitude":762138624,"raw_latitude":101642920,"longitude_deg":76.2138624,"latitude_deg":10.164292,"altitude":9,"angle":338,"satellites":44,"speed":3,"hex_longitude":"2d6d5000","hex_latitude":"060ef2a8","is_valid_coordinates":true} 
[2026-09-05 23:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889345024001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400040834566717440,"note":"Value kept but may cause issues"} 
[2026-09-05 23:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7876655036803022848,"note":"Value kept but may cause issues"} 
[2026-09-05 23:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788630275000,"timestamp_ms":1788630275000,"timestamp_seconds":1788630275,"priority":1,"record_length":96,"hex_timestamp":"000001a072ac13b8"} 
[2026-09-05 23:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-05 23:17:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889345024001,"66":27745,"12":206,"79":46336,"24":3,"16":400040834566717440,"45":7876655036803022848},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-09-05 23:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889345024001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:17:56] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 23:17:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400040834566717440,"km_value":400040834566717.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":7876655036803022848,"description":"Unknown IO ID 45"} 
[2026-09-05 23:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889345024001,"power":27745,"unknown_12":206,"unknown_79":46336,"ignition":3,"odometer":null,"unknown_45":7876655036803022848}} 
[2026-09-05 23:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":172011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:17:56] local.INFO: GPS data processed {"connection_id":172011,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:17:56] local.INFO: Acknowledgment sent {"connection_id":172011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:18:21] local.INFO: TCP Data received {"connection_id":172260,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072ac90b8012d196500071ff128004001452a..."} 
[2026-09-05 23:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ac90b8012d196500071ff128004001452a..."} 
[2026-09-05 23:18:21] local.INFO: Processing buffer {"connection_id":172260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ac90b8012d196500071ff128004001452a..."} 
[2026-09-05 23:18:21] local.INFO: Packet analysis {"connection_id":172260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ac"} 
[2026-09-05 23:18:21] local.INFO: Extracted packet for processing {"connection_id":172260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ac"} 
[2026-09-05 23:18:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889281536001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788630307000,"timestamp_ms":1788630307000,"timestamp_seconds":1788630307,"priority":1,"record_length":96,"hex_timestamp":"000001a072ac90b8"} 
[2026-09-05 23:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889281536001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889281536001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:18:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:18:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889281536001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":172260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:18:21] local.INFO: GPS data processed {"connection_id":172260,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:18:21] local.INFO: Acknowledgment sent {"connection_id":172260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:18:27] local.INFO: TCP Data received {"connection_id":172011,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072ac65c0012d6d4f80060ef2a8000901522d..."} 
[2026-09-05 23:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ac65c0012d6d4f80060ef2a8000901522d..."} 
[2026-09-05 23:18:27] local.INFO: Processing buffer {"connection_id":172011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ac65c0012d6d4f80060ef2a8000901522d..."} 
[2026-09-05 23:18:27] local.INFO: Packet analysis {"connection_id":172011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ac"} 
[2026-09-05 23:18:27] local.INFO: Extracted packet for processing {"connection_id":172011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ac"} 
[2026-09-05 23:18:27] local.INFO: GPS Element Parsed {"raw_longitude":762138496,"raw_latitude":101642920,"longitude_deg":76.2138496,"latitude_deg":10.164292,"altitude":9,"angle":338,"satellites":45,"speed":0,"hex_longitude":"2d6d4f80","hex_latitude":"060ef2a8","is_valid_coordinates":true} 
[2026-09-05 23:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889350400001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400040838861684736,"note":"Value kept but may cause issues"} 
[2026-09-05 23:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7876795774291585024,"note":"Value kept but may cause issues"} 
[2026-09-05 23:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788630296000,"timestamp_ms":1788630296000,"timestamp_seconds":1788630296,"priority":1,"record_length":96,"hex_timestamp":"000001a072ac65c0"} 
[2026-09-05 23:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-05 23:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889350400001,"66":27539,"12":206,"79":46336,"24":0,"16":400040838861684736,"45":7876795774291585024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-09-05 23:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889350400001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:18:27] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 23:18:27] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400040838861684736,"km_value":400040838861684.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":7876795774291585024,"description":"Unknown IO ID 45"} 
[2026-09-05 23:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889350400001,"power":27539,"unknown_12":206,"unknown_79":46336,"ignition":0,"odometer":null,"unknown_45":7876795774291585024}} 
[2026-09-05 23:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":172011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:18:27] local.INFO: GPS data processed {"connection_id":172011,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:18:27] local.INFO: Acknowledgment sent {"connection_id":172011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:18:44] local.INFO: TCP Data received {"connection_id":172261,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:18:44] local.INFO: Processing buffer {"connection_id":172261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:18:44] local.INFO: IMEI packet received {"connection_id":172261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":172261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:18:49] local.INFO: TCP Data received {"connection_id":172261,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:18:49] local.INFO: Processing buffer {"connection_id":172261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:18:49] local.INFO: IMEI packet received {"connection_id":172261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":172261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:18:49] local.INFO: TCP Data received {"connection_id":172261,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a072ac90b8012d196500071ff128004001452a..."} 
[2026-09-05 23:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ac90b8012d196500071ff128004001452a..."} 
[2026-09-05 23:18:49] local.INFO: Processing buffer {"connection_id":172261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ac90b8012d196500071ff128004001452a..."} 
[2026-09-05 23:18:49] local.INFO: Packet analysis {"connection_id":172261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ac"} 
[2026-09-05 23:18:49] local.INFO: Extracted packet for processing {"connection_id":172261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ac"} 
[2026-09-05 23:18:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889281536001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788630307000,"timestamp_ms":1788630307000,"timestamp_seconds":1788630307,"priority":1,"record_length":96,"hex_timestamp":"000001a072ac90b8"} 
[2026-09-05 23:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:18: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-09-05 23:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889281536001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889281536001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:18:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:18:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889281536001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":172261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:18:50] local.INFO: GPS data processed {"connection_id":172261,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:18:50] local.INFO: Acknowledgment sent {"connection_id":172261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:18:51] local.INFO: TCP Data received {"connection_id":172013,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:18:51] local.INFO: Processing buffer {"connection_id":172013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:18:51] local.INFO: IMEI packet received {"connection_id":172013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":172013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:18:55] local.INFO: TCP Data received {"connection_id":172013,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:18:55] local.INFO: Processing buffer {"connection_id":172013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:18:55] local.INFO: IMEI packet received {"connection_id":172013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":172013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:18:56] local.INFO: TCP Data received {"connection_id":172013,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072acb7c8012d6d4f80060ef2a8000901522b..."} 
[2026-09-05 23:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072acb7c8012d6d4f80060ef2a8000901522b..."} 
[2026-09-05 23:18:56] local.INFO: Processing buffer {"connection_id":172013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072acb7c8012d6d4f80060ef2a8000901522b..."} 
[2026-09-05 23:18:56] local.INFO: Packet analysis {"connection_id":172013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ac"} 
[2026-09-05 23:18:56] local.INFO: Extracted packet for processing {"connection_id":172013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ac"} 
[2026-09-05 23:18:56] local.INFO: GPS Element Parsed {"raw_longitude":762138496,"raw_latitude":101642920,"longitude_deg":76.2138496,"latitude_deg":10.164292,"altitude":9,"angle":338,"satellites":43,"speed":0,"hex_longitude":"2d6d4f80","hex_latitude":"060ef2a8","is_valid_coordinates":true} 
[2026-09-05 23:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889355776001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400040838861684736,"note":"Value kept but may cause issues"} 
[2026-09-05 23:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7876655036803229696,"note":"Value kept but may cause issues"} 
[2026-09-05 23:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788630317000,"timestamp_ms":1788630317000,"timestamp_seconds":1788630317,"priority":1,"record_length":96,"hex_timestamp":"000001a072acb7c8"} 
[2026-09-05 23:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-05 23:18:56] 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-09-05 23:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889355776001,"66":27484,"12":206,"79":46336,"24":0,"16":400040838861684736,"45":7876655036803229696},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-09-05 23:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889355776001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:18:56] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 23:18:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400040838861684736,"km_value":400040838861684.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":7876655036803229696,"description":"Unknown IO ID 45"} 
[2026-09-05 23:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889355776001,"power":27484,"unknown_12":206,"unknown_79":46336,"ignition":0,"odometer":null,"unknown_45":7876655036803229696}} 
[2026-09-05 23:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":172013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:18:56] local.INFO: GPS data processed {"connection_id":172013,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:18:56] local.INFO: Acknowledgment sent {"connection_id":172013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:19:21] local.INFO: TCP Data received {"connection_id":172261,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a072ac90b8012d196500071ff128004001452a..."} 
[2026-09-05 23:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ac90b8012d196500071ff128004001452a..."} 
[2026-09-05 23:19:21] local.INFO: Processing buffer {"connection_id":172261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ac90b8012d196500071ff128004001452a..."} 
[2026-09-05 23:19:21] local.INFO: Packet analysis {"connection_id":172261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ac"} 
[2026-09-05 23:19:21] local.INFO: Extracted packet for processing {"connection_id":172261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ac"} 
[2026-09-05 23:19:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889281536001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788630307000,"timestamp_ms":1788630307000,"timestamp_seconds":1788630307,"priority":1,"record_length":96,"hex_timestamp":"000001a072ac90b8"} 
[2026-09-05 23:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889281536001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889281536001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:19:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:19:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889281536001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":172261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:19:21] local.INFO: GPS data processed {"connection_id":172261,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:19:21] local.INFO: Acknowledgment sent {"connection_id":172261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:19:27] local.INFO: TCP Data received {"connection_id":172013,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072ad09d0012d6d4dc0060ef570000801522d..."} 
[2026-09-05 23:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ad09d0012d6d4dc0060ef570000801522d..."} 
[2026-09-05 23:19:27] local.INFO: Processing buffer {"connection_id":172013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ad09d0012d6d4dc0060ef570000801522d..."} 
[2026-09-05 23:19:27] local.INFO: Packet analysis {"connection_id":172013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ad"} 
[2026-09-05 23:19:27] local.INFO: Extracted packet for processing {"connection_id":172013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ad"} 
[2026-09-05 23:19:27] local.INFO: GPS Element Parsed {"raw_longitude":762138048,"raw_latitude":101643632,"longitude_deg":76.2138048,"latitude_deg":10.1643632,"altitude":8,"angle":338,"satellites":45,"speed":4,"hex_longitude":"2d6d4dc0","hex_latitude":"060ef570","is_valid_coordinates":true} 
[2026-09-05 23:19: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-09-05 23:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889361152001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400040881811357696,"note":"Value kept but may cause issues"} 
[2026-09-05 23:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7876655036803229696,"note":"Value kept but may cause issues"} 
[2026-09-05 23:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788630338000,"timestamp_ms":1788630338000,"timestamp_seconds":1788630338,"priority":1,"record_length":96,"hex_timestamp":"000001a072ad09d0"} 
[2026-09-05 23:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-05 23:19:27] 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-09-05 23:19: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-09-05 23:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889361152001,"66":27376,"12":206,"79":46336,"24":4,"16":400040881811357696,"45":7876655036803229696},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-09-05 23:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889361152001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:19:27] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-05 23:19:27] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400040881811357696,"km_value":400040881811357.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":7876655036803229696,"description":"Unknown IO ID 45"} 
[2026-09-05 23:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889361152001,"power":27376,"unknown_12":206,"unknown_79":46336,"ignition":4,"odometer":null,"unknown_45":7876655036803229696}} 
[2026-09-05 23:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":172013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:19:27] local.INFO: GPS data processed {"connection_id":172013,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:19:27] local.INFO: Acknowledgment sent {"connection_id":172013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:19:43] local.INFO: TCP Data received {"connection_id":173377,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:19:43] local.INFO: Processing buffer {"connection_id":173377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:19:43] local.INFO: IMEI packet received {"connection_id":173377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":173377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:19:49] local.INFO: TCP Data received {"connection_id":173377,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:19:49] local.INFO: Processing buffer {"connection_id":173377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:19:49] local.INFO: IMEI packet received {"connection_id":173377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":173377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:19:49] local.INFO: TCP Data received {"connection_id":173378,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:19:49] local.INFO: Processing buffer {"connection_id":173378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:19:49] local.INFO: IMEI packet received {"connection_id":173378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":173378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:19:50] local.INFO: TCP Data received {"connection_id":173377,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a072ac90b8012d196500071ff128004001452a..."} 
[2026-09-05 23:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ac90b8012d196500071ff128004001452a..."} 
[2026-09-05 23:19:50] local.INFO: Processing buffer {"connection_id":173377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ac90b8012d196500071ff128004001452a..."} 
[2026-09-05 23:19:50] local.INFO: Packet analysis {"connection_id":173377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ac"} 
[2026-09-05 23:19:50] local.INFO: Extracted packet for processing {"connection_id":173377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ac"} 
[2026-09-05 23:19:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889281536001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788630307000,"timestamp_ms":1788630307000,"timestamp_seconds":1788630307,"priority":1,"record_length":96,"hex_timestamp":"000001a072ac90b8"} 
[2026-09-05 23:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889281536001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889281536001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:19:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:19:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889281536001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":173377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:19:50] local.INFO: GPS data processed {"connection_id":173377,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:19:50] local.INFO: Acknowledgment sent {"connection_id":173377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:19:55] local.INFO: TCP Data received {"connection_id":173378,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:19:55] local.INFO: Processing buffer {"connection_id":173378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:19:55] local.INFO: IMEI packet received {"connection_id":173378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":173378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:19:55] local.INFO: TCP Data received {"connection_id":173378,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072affbb8012d6d2580060f89b00004014c2d..."} 
[2026-09-05 23:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072affbb8012d6d2580060f89b00004014c2d..."} 
[2026-09-05 23:19:55] local.INFO: Processing buffer {"connection_id":173378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072affbb8012d6d2580060f89b00004014c2d..."} 
[2026-09-05 23:19:55] local.INFO: Packet analysis {"connection_id":173378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072af"} 
[2026-09-05 23:19:55] local.INFO: Extracted packet for processing {"connection_id":173378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072af"} 
[2026-09-05 23:19:55] local.INFO: GPS Element Parsed {"raw_longitude":762127744,"raw_latitude":101681584,"longitude_deg":76.2127744,"latitude_deg":10.1681584,"altitude":4,"angle":332,"satellites":45,"speed":21,"hex_longitude":"2d6d2580","hex_latitude":"060f89b0","is_valid_coordinates":true} 
[2026-09-05 23:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889415168001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400042831726510080,"note":"Value kept but may cause issues"} 
[2026-09-05 23:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7865888618953617408,"note":"Value kept but may cause issues"} 
[2026-09-05 23:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788630531000,"timestamp_ms":1788630531000,"timestamp_seconds":1788630531,"priority":1,"record_length":96,"hex_timestamp":"000001a072affbb8"} 
[2026-09-05 23:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-09-05 23:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889415168001,"66":27267,"11":206,"79":46336,"24":21,"16":400042831726510080,"45":7865888618953617408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,79,24,16,45]} 
[2026-09-05 23:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889415168001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:19:55] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 23:19:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400042831726510080,"km_value":400042831726510.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":7865888618953617408,"description":"Unknown IO ID 45"} 
[2026-09-05 23:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889415168001,"power":27267,"unknown_11":206,"unknown_79":46336,"ignition":21,"odometer":null,"unknown_45":7865888618953617408}} 
[2026-09-05 23:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":173378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:19:55] local.INFO: GPS data processed {"connection_id":173378,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:19:55] local.INFO: Acknowledgment sent {"connection_id":173378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:20:21] local.INFO: TCP Data received {"connection_id":173377,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a072ac90b8012d196500071ff128004001452a..."} 
[2026-09-05 23:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ac90b8012d196500071ff128004001452a..."} 
[2026-09-05 23:20:21] local.INFO: Processing buffer {"connection_id":173377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ac90b8012d196500071ff128004001452a..."} 
[2026-09-05 23:20:21] local.INFO: Packet analysis {"connection_id":173377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ac"} 
[2026-09-05 23:20:21] local.INFO: Extracted packet for processing {"connection_id":173377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ac"} 
[2026-09-05 23:20:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889281536001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788630307000,"timestamp_ms":1788630307000,"timestamp_seconds":1788630307,"priority":1,"record_length":96,"hex_timestamp":"000001a072ac90b8"} 
[2026-09-05 23:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889281536001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889281536001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:20:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:20:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889281536001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":173377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:20:21] local.INFO: GPS data processed {"connection_id":173377,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:20:21] local.INFO: Acknowledgment sent {"connection_id":173377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:20:29] local.INFO: TCP Data received {"connection_id":173378,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072b00388012d6d2400060f8e100004015b2c..."} 
[2026-09-05 23:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b00388012d6d2400060f8e100004015b2c..."} 
[2026-09-05 23:20:29] local.INFO: Processing buffer {"connection_id":173378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b00388012d6d2400060f8e100004015b2c..."} 
[2026-09-05 23:20:29] local.INFO: Packet analysis {"connection_id":173378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b0"} 
[2026-09-05 23:20:29] local.INFO: Extracted packet for processing {"connection_id":173378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b0"} 
[2026-09-05 23:20:29] local.INFO: GPS Element Parsed {"raw_longitude":762127360,"raw_latitude":101682704,"longitude_deg":76.212736,"latitude_deg":10.1682704,"altitude":4,"angle":347,"satellites":44,"speed":23,"hex_longitude":"2d6d2400","hex_latitude":"060f8e10","is_valid_coordinates":true} 
[2026-09-05 23:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889415936001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400042891856052224,"note":"Value kept but may cause issues"} 
[2026-09-05 23:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7864833087791280128,"note":"Value kept but may cause issues"} 
[2026-09-05 23:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788630533000,"timestamp_ms":1788630533000,"timestamp_seconds":1788630533,"priority":1,"record_length":96,"hex_timestamp":"000001a072b00388"} 
[2026-09-05 23:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:20:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-05 23:20:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:20:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889415936001,"66":27245,"11":206,"79":46336,"24":23,"16":400042891856052224,"45":7864833087791280128},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,79,24,16,45]} 
[2026-09-05 23:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889415936001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:20:29] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-05 23:20:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400042891856052224,"km_value":400042891856052.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7864833087791280128,"description":"Unknown IO ID 45"} 
[2026-09-05 23:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889415936001,"power":27245,"unknown_11":206,"unknown_79":46336,"ignition":23,"odometer":null,"unknown_45":7864833087791280128}} 
[2026-09-05 23:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":173378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:20:29] local.INFO: GPS data processed {"connection_id":173378,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:20:29] local.INFO: Acknowledgment sent {"connection_id":173378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:20:43] local.INFO: TCP Data received {"connection_id":172015,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:20:43] local.INFO: Processing buffer {"connection_id":172015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:20:43] local.INFO: IMEI packet received {"connection_id":172015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":172015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:20:49] local.INFO: TCP Data received {"connection_id":172015,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:20:49] local.INFO: Processing buffer {"connection_id":172015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:20:49] local.INFO: IMEI packet received {"connection_id":172015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":172015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:20:49] local.INFO: TCP Data received {"connection_id":172015,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:20:49] local.INFO: Processing buffer {"connection_id":172015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:20:49] local.INFO: IMEI packet received {"connection_id":172015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":172015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:20:54] local.INFO: TCP Data received {"connection_id":172015,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:20:54] local.INFO: Processing buffer {"connection_id":172015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:20:54] local.INFO: IMEI packet received {"connection_id":172015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":172015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:20:55] local.INFO: TCP Data received {"connection_id":172015,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072b12880012d196500071ff1280040014527..."} 
[2026-09-05 23:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b12880012d196500071ff1280040014527..."} 
[2026-09-05 23:20:55] local.INFO: Processing buffer {"connection_id":172015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b12880012d196500071ff1280040014527..."} 
[2026-09-05 23:20:55] local.INFO: Packet analysis {"connection_id":172015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b1"} 
[2026-09-05 23:20:55] local.INFO: Extracted packet for processing {"connection_id":172015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b1"} 
[2026-09-05 23:20:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889358592001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788630608000,"timestamp_ms":1788630608000,"timestamp_seconds":1788630608,"priority":1,"record_length":96,"hex_timestamp":"000001a072b12880"} 
[2026-09-05 23:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:20:55] 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-09-05 23:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889358592001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889358592001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:20:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:20:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889358592001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:20:55] local.INFO: TCP Data received {"connection_id":172263,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:20:55] local.INFO: Processing buffer {"connection_id":172263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:20:55] local.INFO: IMEI packet received {"connection_id":172263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":172263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":172015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:20:55] local.INFO: GPS data processed {"connection_id":172015,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:20:55] local.INFO: Acknowledgment sent {"connection_id":172015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:20:55] local.INFO: TCP Data received {"connection_id":172263,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:20:55] local.INFO: Processing buffer {"connection_id":172263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:20:55] local.INFO: IMEI packet received {"connection_id":172263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":172263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:20:57] local.INFO: TCP Data received {"connection_id":172014,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172014,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:20:57] local.INFO: Processing buffer {"connection_id":172014,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:20:57] local.INFO: IMEI packet received {"connection_id":172014,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 23:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":172014,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:21:00] local.INFO: TCP Data received {"connection_id":172263,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:21:00] local.INFO: Processing buffer {"connection_id":172263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:21:00] local.INFO: IMEI packet received {"connection_id":172263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":172263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:21:00] local.INFO: TCP Data received {"connection_id":172263,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072b10170012d6d0cc0061032e8000101672e..."} 
[2026-09-05 23:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b10170012d6d0cc0061032e8000101672e..."} 
[2026-09-05 23:21:00] local.INFO: Processing buffer {"connection_id":172263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b10170012d6d0cc0061032e8000101672e..."} 
[2026-09-05 23:21:00] local.INFO: Packet analysis {"connection_id":172263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b1"} 
[2026-09-05 23:21:00] local.INFO: Extracted packet for processing {"connection_id":172263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b1"} 
[2026-09-05 23:21:00] local.INFO: GPS Element Parsed {"raw_longitude":762121408,"raw_latitude":101724904,"longitude_deg":76.2121408,"latitude_deg":10.1724904,"altitude":1,"angle":359,"satellites":46,"speed":31,"hex_longitude":"2d6d0cc0","hex_latitude":"061032e8","is_valid_coordinates":true} 
[2026-09-05 23:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889431808001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400045017864863744,"note":"Value kept but may cause issues"} 
[2026-09-05 23:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7857303632174356480,"note":"Value kept but may cause issues"} 
[2026-09-05 23:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788630598000,"timestamp_ms":1788630598000,"timestamp_seconds":1788630598,"priority":1,"record_length":96,"hex_timestamp":"000001a072b10170"} 
[2026-09-05 23:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 23:21:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889431808001,"66":27343,"205":206,"79":46336,"24":31,"16":400045017864863744,"45":7857303632174356480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,79,24,16,45]} 
[2026-09-05 23:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889431808001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:21:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400045017864863744,"km_value":400045017864863.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7857303632174356480,"description":"Unknown IO ID 45"} 
[2026-09-05 23:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889431808001,"power":27343,"cell_id":206,"unknown_79":46336,"ignition":31,"odometer":null,"unknown_45":7857303632174356480}} 
[2026-09-05 23:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":172263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:21:00] local.INFO: GPS data processed {"connection_id":172263,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:21:00] local.INFO: Acknowledgment sent {"connection_id":172263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:21:01] local.INFO: TCP Data received {"connection_id":172263,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072b11110012d6d0bc006103dd80000015a2a..."} 
[2026-09-05 23:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b11110012d6d0bc006103dd80000015a2a..."} 
[2026-09-05 23:21:01] local.INFO: Processing buffer {"connection_id":172263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b11110012d6d0bc006103dd80000015a2a..."} 
[2026-09-05 23:21:01] local.INFO: Packet analysis {"connection_id":172263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b1"} 
[2026-09-05 23:21:01] local.INFO: Extracted packet for processing {"connection_id":172263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b1"} 
[2026-09-05 23:21:01] local.INFO: GPS Element Parsed {"raw_longitude":762121152,"raw_latitude":101727704,"longitude_deg":76.2121152,"latitude_deg":10.1727704,"altitude":0,"angle":346,"satellites":42,"speed":23,"hex_longitude":"2d6d0bc0","hex_latitude":"06103dd8","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889433088001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400045155303817216,"note":"Value kept but may cause issues"} 
[2026-09-05 23:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7857866582128781312,"note":"Value kept but may cause issues"} 
[2026-09-05 23:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788630602000,"timestamp_ms":1788630602000,"timestamp_seconds":1788630602,"priority":1,"record_length":96,"hex_timestamp":"000001a072b11110"} 
[2026-09-05 23:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 23:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23: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-09-05 23:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889433088001,"66":27300,"207":206,"79":46336,"24":23,"16":400045155303817216,"45":7857866582128781312},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-09-05 23:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889433088001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:21:01] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 23:21:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400045155303817216,"km_value":400045155303817.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7857866582128781312,"description":"Unknown IO ID 45"} 
[2026-09-05 23:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889433088001,"power":27300,"unknown_207":206,"unknown_79":46336,"ignition":23,"odometer":null,"unknown_45":7857866582128781312}} 
[2026-09-05 23:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":172263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:21:01] local.INFO: GPS data processed {"connection_id":172263,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:21:01] local.INFO: Acknowledgment sent {"connection_id":172263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:21:05] local.INFO: TCP Data received {"connection_id":172263,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072b147c0012d6d0440061062a80001015d2b..."} 
[2026-09-05 23:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b147c0012d6d0440061062a80001015d2b..."} 
[2026-09-05 23:21:05] local.INFO: Processing buffer {"connection_id":172263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b147c0012d6d0440061062a80001015d2b..."} 
[2026-09-05 23:21:05] local.INFO: Packet analysis {"connection_id":172263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b1"} 
[2026-09-05 23:21:05] local.INFO: Extracted packet for processing {"connection_id":172263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b1"} 
[2026-09-05 23:21:05] local.INFO: GPS Element Parsed {"raw_longitude":762119232,"raw_latitude":101737128,"longitude_deg":76.2119232,"latitude_deg":10.1737128,"altitude":1,"angle":349,"satellites":43,"speed":32,"hex_longitude":"2d6d0440","hex_latitude":"061062a8","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889434112001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400045619160285184,"note":"Value kept but may cause issues"} 
[2026-09-05 23:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7857585107152787456,"note":"Value kept but may cause issues"} 
[2026-09-05 23:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788630616000,"timestamp_ms":1788630616000,"timestamp_seconds":1788630616,"priority":1,"record_length":96,"hex_timestamp":"000001a072b147c0"} 
[2026-09-05 23:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-05 23:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23: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-09-05 23:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:21: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-09-05 23:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889434112001,"66":27365,"207":206,"79":46336,"24":32,"16":400045619160285184,"45":7857585107152787456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-09-05 23:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889434112001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:21:05] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 23:21:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400045619160285184,"km_value":400045619160285.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7857585107152787456,"description":"Unknown IO ID 45"} 
[2026-09-05 23:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889434112001,"power":27365,"unknown_207":206,"unknown_79":46336,"ignition":32,"odometer":null,"unknown_45":7857585107152787456}} 
[2026-09-05 23:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":172263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:21:05] local.INFO: GPS data processed {"connection_id":172263,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:21:05] local.INFO: Acknowledgment sent {"connection_id":172263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:21:26] local.INFO: TCP Data received {"connection_id":172015,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072b12880012d196500071ff1280040014527..."} 
[2026-09-05 23:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b12880012d196500071ff1280040014527..."} 
[2026-09-05 23:21:26] local.INFO: Processing buffer {"connection_id":172015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b12880012d196500071ff1280040014527..."} 
[2026-09-05 23:21:26] local.INFO: Packet analysis {"connection_id":172015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b1"} 
[2026-09-05 23:21:26] local.INFO: Extracted packet for processing {"connection_id":172015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b1"} 
[2026-09-05 23:21:26] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889358592001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788630608000,"timestamp_ms":1788630608000,"timestamp_seconds":1788630608,"priority":1,"record_length":96,"hex_timestamp":"000001a072b12880"} 
[2026-09-05 23:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:21:26] 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-09-05 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23: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-09-05 23:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889358592001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889358592001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:21:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:21:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889358592001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":172015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:21:26] local.INFO: GPS data processed {"connection_id":172015,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:21:26] local.INFO: Acknowledgment sent {"connection_id":172015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:21:44] local.INFO: TCP Data received {"connection_id":173379,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:21:44] local.INFO: Processing buffer {"connection_id":173379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:21:44] local.INFO: IMEI packet received {"connection_id":173379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":173379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:21:49] local.INFO: TCP Data received {"connection_id":173379,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:21:49] local.INFO: Processing buffer {"connection_id":173379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:21:49] local.INFO: IMEI packet received {"connection_id":173379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":173379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:21:50] local.INFO: TCP Data received {"connection_id":174702,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:21:50] local.INFO: Processing buffer {"connection_id":174702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:21:50] local.INFO: IMEI packet received {"connection_id":174702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":174702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:21:50] local.INFO: TCP Data received {"connection_id":173379,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a072b12880012d196500071ff1280040014527..."} 
[2026-09-05 23:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b12880012d196500071ff1280040014527..."} 
[2026-09-05 23:21:50] local.INFO: Processing buffer {"connection_id":173379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b12880012d196500071ff1280040014527..."} 
[2026-09-05 23:21:50] local.INFO: Packet analysis {"connection_id":173379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b1"} 
[2026-09-05 23:21:50] local.INFO: Extracted packet for processing {"connection_id":173379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b1"} 
[2026-09-05 23:21:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889358592001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788630608000,"timestamp_ms":1788630608000,"timestamp_seconds":1788630608,"priority":1,"record_length":96,"hex_timestamp":"000001a072b12880"} 
[2026-09-05 23:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:21:50] 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-09-05 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:21:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23: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-09-05 23:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889358592001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889358592001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:21:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:21:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889358592001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":173379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:21:50] local.INFO: GPS data processed {"connection_id":173379,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:21:50] local.INFO: Acknowledgment sent {"connection_id":173379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:21:54] local.INFO: TCP Data received {"connection_id":174702,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:21:54] local.INFO: Processing buffer {"connection_id":174702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:21:54] local.INFO: IMEI packet received {"connection_id":174702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":174702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:21:54] local.INFO: TCP Data received {"connection_id":174702,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072b15f30012d6d014006107510000100002b..."} 
[2026-09-05 23:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b15f30012d6d014006107510000100002b..."} 
[2026-09-05 23:21:54] local.INFO: Processing buffer {"connection_id":174702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b15f30012d6d014006107510000100002b..."} 
[2026-09-05 23:21:54] local.INFO: Packet analysis {"connection_id":174702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b1"} 
[2026-09-05 23:21:54] local.INFO: Extracted packet for processing {"connection_id":174702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b1"} 
[2026-09-05 23:21:54] local.INFO: GPS Element Parsed {"raw_longitude":762118464,"raw_latitude":101741840,"longitude_deg":76.2118464,"latitude_deg":10.174184,"altitude":1,"angle":0,"satellites":43,"speed":31,"hex_longitude":"2d6d0140","hex_latitude":"06107510","is_valid_coordinates":true} 
[2026-09-05 23:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889437696001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400045855383486464,"note":"Value kept but may cause issues"} 
[2026-09-05 23:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7855474044829870080,"note":"Value kept but may cause issues"} 
[2026-09-05 23:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788630622000,"timestamp_ms":1788630622000,"timestamp_seconds":1788630622,"priority":1,"record_length":96,"hex_timestamp":"000001a072b15f30"} 
[2026-09-05 23:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-05 23:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889437696001,"66":26658,"207":206,"79":46336,"24":31,"16":400045855383486464,"45":7855474044829870080},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-09-05 23:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889437696001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:21:54] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 23:21:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400045855383486464,"km_value":400045855383486.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":7855474044829870080,"description":"Unknown IO ID 45"} 
[2026-09-05 23:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889437696001,"power":26658,"unknown_207":206,"unknown_79":46336,"ignition":31,"odometer":null,"unknown_45":7855474044829870080}} 
[2026-09-05 23:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":174702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:21:54] local.INFO: GPS data processed {"connection_id":174702,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:21:54] local.INFO: Acknowledgment sent {"connection_id":174702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:21:55] local.INFO: TCP Data received {"connection_id":174702,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072b18e10012d6d02c006109a20000200012c..."} 
[2026-09-05 23:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b18e10012d6d02c006109a20000200012c..."} 
[2026-09-05 23:21:55] local.INFO: Processing buffer {"connection_id":174702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b18e10012d6d02c006109a20000200012c..."} 
[2026-09-05 23:21:55] local.INFO: Packet analysis {"connection_id":174702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b1"} 
[2026-09-05 23:21:55] local.INFO: Extracted packet for processing {"connection_id":174702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b1"} 
[2026-09-05 23:21:55] local.INFO: GPS Element Parsed {"raw_longitude":762118848,"raw_latitude":101751328,"longitude_deg":76.2118848,"latitude_deg":10.1751328,"altitude":2,"angle":1,"satellites":44,"speed":31,"hex_longitude":"2d6d02c0","hex_latitude":"06109a20","is_valid_coordinates":true} 
[2026-09-05 23:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889439232001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400046314944987136,"note":"Value kept but may cause issues"} 
[2026-09-05 23:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7854629619900944384,"note":"Value kept but may cause issues"} 
[2026-09-05 23:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788630634000,"timestamp_ms":1788630634000,"timestamp_seconds":1788630634,"priority":1,"record_length":96,"hex_timestamp":"000001a072b18e10"} 
[2026-09-05 23:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-05 23:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1024,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889439232001,"66":27365,"207":206,"79":46336,"24":31,"16":400046314944987136,"45":7854629619900944384},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-09-05 23:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889439232001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:21:55] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 23:21:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400046314944987136,"km_value":400046314944987.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":7854629619900944384,"description":"Unknown IO ID 45"} 
[2026-09-05 23:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889439232001,"power":27365,"unknown_207":206,"unknown_79":46336,"ignition":31,"odometer":null,"unknown_45":7854629619900944384}} 
[2026-09-05 23:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":174702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:21:55] local.INFO: GPS data processed {"connection_id":174702,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:21:55] local.INFO: Acknowledgment sent {"connection_id":174702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:22:21] local.INFO: TCP Data received {"connection_id":173379,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a072b12880012d196500071ff1280040014527..."} 
[2026-09-05 23:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b12880012d196500071ff1280040014527..."} 
[2026-09-05 23:22:21] local.INFO: Processing buffer {"connection_id":173379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b12880012d196500071ff1280040014527..."} 
[2026-09-05 23:22:21] local.INFO: Packet analysis {"connection_id":173379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b1"} 
[2026-09-05 23:22:21] local.INFO: Extracted packet for processing {"connection_id":173379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b1"} 
[2026-09-05 23:22:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889358592001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788630608000,"timestamp_ms":1788630608000,"timestamp_seconds":1788630608,"priority":1,"record_length":96,"hex_timestamp":"000001a072b12880"} 
[2026-09-05 23:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:22:21] 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-09-05 23:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:22:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889358592001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889358592001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:22:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:22:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889358592001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":173379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:22:21] local.INFO: GPS data processed {"connection_id":173379,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:22:21] local.INFO: Acknowledgment sent {"connection_id":173379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:22:29] local.INFO: TCP Data received {"connection_id":174702,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072b19db0012d6d01c00610a4c80001015d2e..."} 
[2026-09-05 23:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b19db0012d6d01c00610a4c80001015d2e..."} 
[2026-09-05 23:22:29] local.INFO: Processing buffer {"connection_id":174702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b19db0012d6d01c00610a4c80001015d2e..."} 
[2026-09-05 23:22:29] local.INFO: Packet analysis {"connection_id":174702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b1"} 
[2026-09-05 23:22:29] local.INFO: Extracted packet for processing {"connection_id":174702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b1"} 
[2026-09-05 23:22:29] local.INFO: GPS Element Parsed {"raw_longitude":762118592,"raw_latitude":101754056,"longitude_deg":76.2118592,"latitude_deg":10.1754056,"altitude":1,"angle":349,"satellites":46,"speed":22,"hex_longitude":"2d6d01c0","hex_latitude":"0610a4c8","is_valid_coordinates":true} 
[2026-09-05 23:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889442304001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400046448088973312,"note":"Value kept but may cause issues"} 
[2026-09-05 23:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7855051832368439296,"note":"Value kept but may cause issues"} 
[2026-09-05 23:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788630638000,"timestamp_ms":1788630638000,"timestamp_seconds":1788630638,"priority":1,"record_length":96,"hex_timestamp":"000001a072b19db0"} 
[2026-09-05 23:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-05 23:22:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":174702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":174702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":174702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889442304001,"66":27267,"207":206,"79":46336,"24":22,"16":400046448088973312,"45":7855051832368439296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-09-05 23:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889442304001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:22:29] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-05 23:22:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400046448088973312,"km_value":400046448088973.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7855051832368439296,"description":"Unknown IO ID 45"} 
[2026-09-05 23:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889442304001,"power":27267,"unknown_207":206,"unknown_79":46336,"ignition":22,"odometer":null,"unknown_45":7855051832368439296}} 
[2026-09-05 23:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":174702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:22:29] local.INFO: GPS data processed {"connection_id":174702,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:22:29] local.INFO: Acknowledgment sent {"connection_id":174702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:22:44] local.INFO: TCP Data received {"connection_id":172264,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:22:44] local.INFO: Processing buffer {"connection_id":172264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:22:44] local.INFO: IMEI packet received {"connection_id":172264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":172264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:22:49] local.INFO: TCP Data received {"connection_id":172264,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:22:49] local.INFO: Processing buffer {"connection_id":172264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:22:49] local.INFO: IMEI packet received {"connection_id":172264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":172264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:22:49] local.INFO: TCP Data received {"connection_id":172264,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a072b12880012d196500071ff1280040014527..."} 
[2026-09-05 23:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b12880012d196500071ff1280040014527..."} 
[2026-09-05 23:22:49] local.INFO: Processing buffer {"connection_id":172264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b12880012d196500071ff1280040014527..."} 
[2026-09-05 23:22:49] local.INFO: Packet analysis {"connection_id":172264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b1"} 
[2026-09-05 23:22:49] local.INFO: Extracted packet for processing {"connection_id":172264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b1"} 
[2026-09-05 23:22:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889358592001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788630608000,"timestamp_ms":1788630608000,"timestamp_seconds":1788630608,"priority":1,"record_length":96,"hex_timestamp":"000001a072b12880"} 
[2026-09-05 23:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:22:49] 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-09-05 23:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:22: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-09-05 23:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889358592001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889358592001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:22:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:22:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889358592001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":172264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:22:49] local.INFO: GPS data processed {"connection_id":172264,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:22:49] local.INFO: Acknowledgment sent {"connection_id":172264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:22:51] local.INFO: TCP Data received {"connection_id":173380,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:22:51] local.INFO: Processing buffer {"connection_id":173380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:22:51] local.INFO: IMEI packet received {"connection_id":173380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":173380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:22:52] local.INFO: TCP Data received {"connection_id":173380,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:22:52] local.INFO: Processing buffer {"connection_id":173380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:22:52] local.INFO: IMEI packet received {"connection_id":173380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":173380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:22:55] local.INFO: TCP Data received {"connection_id":173380,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:22:55] local.INFO: Processing buffer {"connection_id":173380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:22:55] local.INFO: IMEI packet received {"connection_id":173380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":173380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:22:56] local.INFO: TCP Data received {"connection_id":173380,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072b293c8012d6cc800061120e00000010b2a..."} 
[2026-09-05 23:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b293c8012d6cc800061120e00000010b2a..."} 
[2026-09-05 23:22:56] local.INFO: Processing buffer {"connection_id":173380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b293c8012d6cc800061120e00000010b2a..."} 
[2026-09-05 23:22:56] local.INFO: Packet analysis {"connection_id":173380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b2"} 
[2026-09-05 23:22:56] local.INFO: Extracted packet for processing {"connection_id":173380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b2"} 
[2026-09-05 23:22:56] local.INFO: GPS Element Parsed {"raw_longitude":762103808,"raw_latitude":101785824,"longitude_deg":76.2103808,"latitude_deg":10.1785824,"altitude":0,"angle":267,"satellites":42,"speed":18,"hex_longitude":"2d6cc800","hex_latitude":"061120e0","is_valid_coordinates":true} 
[2026-09-05 23:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889458176001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400048286334976000,"note":"Value kept but may cause issues"} 
[2026-09-05 23:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7841611402239309824,"note":"Value kept but may cause issues"} 
[2026-09-05 23:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788630701000,"timestamp_ms":1788630701000,"timestamp_seconds":1788630701,"priority":1,"record_length":96,"hex_timestamp":"000001a072b293c8"} 
[2026-09-05 23:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-05 23:22:56] 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-09-05 23:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889458176001,"66":27321,"193":206,"79":46336,"24":18,"16":400048286334976000,"45":7841611402239309824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,79,24,16,45]} 
[2026-09-05 23:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889458176001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:22:56] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-05 23:22:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400048286334976000,"km_value":400048286334976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":7841611402239309824,"description":"Unknown IO ID 45"} 
[2026-09-05 23:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889458176001,"power":27321,"unknown_193":206,"unknown_79":46336,"ignition":18,"odometer":null,"unknown_45":7841611402239309824}} 
[2026-09-05 23:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":173380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:22:56] local.INFO: GPS data processed {"connection_id":173380,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:22:56] local.INFO: Acknowledgment sent {"connection_id":173380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:22:58] local.INFO: TCP Data received {"connection_id":173380,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072b2d630012d6ca34006112010000101152b..."} 
[2026-09-05 23:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b2d630012d6ca34006112010000101152b..."} 
[2026-09-05 23:22:58] local.INFO: Processing buffer {"connection_id":173380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b2d630012d6ca34006112010000101152b..."} 
[2026-09-05 23:22:58] local.INFO: Packet analysis {"connection_id":173380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b2"} 
[2026-09-05 23:22:58] local.INFO: Extracted packet for processing {"connection_id":173380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b2"} 
[2026-09-05 23:22:58] local.INFO: GPS Element Parsed {"raw_longitude":762094400,"raw_latitude":101785616,"longitude_deg":76.20944,"latitude_deg":10.1785616,"altitude":1,"angle":277,"satellites":43,"speed":26,"hex_longitude":"2d6ca340","hex_latitude":"06112010","is_valid_coordinates":true} 
[2026-09-05 23:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889459456001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400048733011574784,"note":"Value kept but may cause issues"} 
[2026-09-05 23:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7838515177495519232,"note":"Value kept but may cause issues"} 
[2026-09-05 23:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788630718000,"timestamp_ms":1788630718000,"timestamp_seconds":1788630718,"priority":1,"record_length":96,"hex_timestamp":"000001a072b2d630"} 
[2026-09-05 23:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 23:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889459456001,"66":27267,"193":206,"79":46336,"24":26,"16":400048733011574784,"45":7838515177495519232},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,79,24,16,45]} 
[2026-09-05 23:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889459456001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:22:58] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-05 23:22:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400048733011574784,"km_value":400048733011574.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7838515177495519232,"description":"Unknown IO ID 45"} 
[2026-09-05 23:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889459456001,"power":27267,"unknown_193":206,"unknown_79":46336,"ignition":26,"odometer":null,"unknown_45":7838515177495519232}} 
[2026-09-05 23:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":173380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:22:58] local.INFO: GPS data processed {"connection_id":173380,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:22:58] local.INFO: Acknowledgment sent {"connection_id":173380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:23:21] local.INFO: TCP Data received {"connection_id":172264,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a072b12880012d196500071ff1280040014527..."} 
[2026-09-05 23:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b12880012d196500071ff1280040014527..."} 
[2026-09-05 23:23:21] local.INFO: Processing buffer {"connection_id":172264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b12880012d196500071ff1280040014527..."} 
[2026-09-05 23:23:21] local.INFO: Packet analysis {"connection_id":172264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b1"} 
[2026-09-05 23:23:21] local.INFO: Extracted packet for processing {"connection_id":172264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b1"} 
[2026-09-05 23:23:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889358592001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788630608000,"timestamp_ms":1788630608000,"timestamp_seconds":1788630608,"priority":1,"record_length":96,"hex_timestamp":"000001a072b12880"} 
[2026-09-05 23:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:23:21] 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-09-05 23:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889358592001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889358592001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:23:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:23:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889358592001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":172264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:23:21] local.INFO: GPS data processed {"connection_id":172264,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:23:21] local.INFO: Acknowledgment sent {"connection_id":172264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:23:29] local.INFO: TCP Data received {"connection_id":173380,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072b308f8012d6c7fc006112630000001182c..."} 
[2026-09-05 23:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b308f8012d6c7fc006112630000001182c..."} 
[2026-09-05 23:23:29] local.INFO: Processing buffer {"connection_id":173380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b308f8012d6c7fc006112630000001182c..."} 
[2026-09-05 23:23:29] local.INFO: Packet analysis {"connection_id":173380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b3"} 
[2026-09-05 23:23:29] local.INFO: Extracted packet for processing {"connection_id":173380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b3"} 
[2026-09-05 23:23:29] local.INFO: GPS Element Parsed {"raw_longitude":762085312,"raw_latitude":101787184,"longitude_deg":76.2085312,"latitude_deg":10.1787184,"altitude":0,"angle":280,"satellites":44,"speed":28,"hex_longitude":"2d6c7fc0","hex_latitude":"06112630","is_valid_coordinates":true} 
[2026-09-05 23:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889463808001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400049171098238976,"note":"Value kept but may cause issues"} 
[2026-09-05 23:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7828170972101349376,"note":"Value kept but may cause issues"} 
[2026-09-05 23:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788630731000,"timestamp_ms":1788630731000,"timestamp_seconds":1788630731,"priority":1,"record_length":96,"hex_timestamp":"000001a072b308f8"} 
[2026-09-05 23:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-05 23:23:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:23:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889463808001,"66":27321,"193":206,"79":46336,"24":28,"16":400049171098238976,"45":7828170972101349376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,79,24,16,45]} 
[2026-09-05 23:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889463808001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:23:29] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-05 23:23:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400049171098238976,"km_value":400049171098239.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7828170972101349376,"description":"Unknown IO ID 45"} 
[2026-09-05 23:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889463808001,"power":27321,"unknown_193":206,"unknown_79":46336,"ignition":28,"odometer":null,"unknown_45":7828170972101349376}} 
[2026-09-05 23:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":173380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:23:29] local.INFO: GPS data processed {"connection_id":173380,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:23:29] local.INFO: Acknowledgment sent {"connection_id":173380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:23:43] local.INFO: TCP Data received {"connection_id":174703,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:23:43] local.INFO: Processing buffer {"connection_id":174703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:23:43] local.INFO: IMEI packet received {"connection_id":174703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":174703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:23:49] local.INFO: TCP Data received {"connection_id":174703,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:23:49] local.INFO: Processing buffer {"connection_id":174703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:23:49] local.INFO: IMEI packet received {"connection_id":174703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":174703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:23:49] local.INFO: TCP Data received {"connection_id":174704,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:23:49] local.INFO: Processing buffer {"connection_id":174704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:23:49] local.INFO: IMEI packet received {"connection_id":174704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":174704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:23:51] local.INFO: TCP Data received {"connection_id":174703,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a072b12880012d196500071ff1280040014527..."} 
[2026-09-05 23:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b12880012d196500071ff1280040014527..."} 
[2026-09-05 23:23:51] local.INFO: Processing buffer {"connection_id":174703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b12880012d196500071ff1280040014527..."} 
[2026-09-05 23:23:51] local.INFO: Packet analysis {"connection_id":174703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b1"} 
[2026-09-05 23:23:51] local.INFO: Extracted packet for processing {"connection_id":174703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b1"} 
[2026-09-05 23:23:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889358592001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788630608000,"timestamp_ms":1788630608000,"timestamp_seconds":1788630608,"priority":1,"record_length":96,"hex_timestamp":"000001a072b12880"} 
[2026-09-05 23:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:23:51] 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-09-05 23:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889358592001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889358592001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:23:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:23:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889358592001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":174703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:23:52] local.INFO: GPS data processed {"connection_id":174703,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:23:52] local.INFO: Acknowledgment sent {"connection_id":174703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:23:55] local.INFO: TCP Data received {"connection_id":174704,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:23:55] local.INFO: Processing buffer {"connection_id":174704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:23:55] local.INFO: IMEI packet received {"connection_id":174704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":174704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:23:56] local.INFO: TCP Data received {"connection_id":174704,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072b32838012d6c6a0006112b580001012729..."} 
[2026-09-05 23:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b32838012d6c6a0006112b580001012729..."} 
[2026-09-05 23:23:56] local.INFO: Processing buffer {"connection_id":174704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b32838012d6c6a0006112b580001012729..."} 
[2026-09-05 23:23:56] local.INFO: Packet analysis {"connection_id":174704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b3"} 
[2026-09-05 23:23:56] local.INFO: Extracted packet for processing {"connection_id":174704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b3"} 
[2026-09-05 23:23:56] local.INFO: GPS Element Parsed {"raw_longitude":762079744,"raw_latitude":101788504,"longitude_deg":76.2079744,"latitude_deg":10.1788504,"altitude":1,"angle":295,"satellites":41,"speed":26,"hex_longitude":"2d6c6a00","hex_latitude":"06112b58","is_valid_coordinates":true} 
[2026-09-05 23:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889467136001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400049445976145920,"note":"Value kept but may cause issues"} 
[2026-09-05 23:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7818178610428522496,"note":"Value kept but may cause issues"} 
[2026-09-05 23:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788630739000,"timestamp_ms":1788630739000,"timestamp_seconds":1788630739,"priority":1,"record_length":96,"hex_timestamp":"000001a072b32838"} 
[2026-09-05 23:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 23:23:56] 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-09-05 23:23:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889467136001,"66":27234,"193":206,"79":46336,"24":26,"16":400049445976145920,"45":7818178610428522496},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,79,24,16,45]} 
[2026-09-05 23:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889467136001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:23:56] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-05 23:23:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400049445976145920,"km_value":400049445976145.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":7818178610428522496,"description":"Unknown IO ID 45"} 
[2026-09-05 23:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889467136001,"power":27234,"unknown_193":206,"unknown_79":46336,"ignition":26,"odometer":null,"unknown_45":7818178610428522496}} 
[2026-09-05 23:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":174704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:23:56] local.INFO: GPS data processed {"connection_id":174704,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:23:56] local.INFO: Acknowledgment sent {"connection_id":174704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:24:23] local.INFO: TCP Data received {"connection_id":174703,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a072b12880012d196500071ff1280040014527..."} 
[2026-09-05 23:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b12880012d196500071ff1280040014527..."} 
[2026-09-05 23:24:23] local.INFO: Processing buffer {"connection_id":174703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b12880012d196500071ff1280040014527..."} 
[2026-09-05 23:24:23] local.INFO: Packet analysis {"connection_id":174703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b1"} 
[2026-09-05 23:24:23] local.INFO: Extracted packet for processing {"connection_id":174703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b1"} 
[2026-09-05 23:24:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889358592001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788630608000,"timestamp_ms":1788630608000,"timestamp_seconds":1788630608,"priority":1,"record_length":96,"hex_timestamp":"000001a072b12880"} 
[2026-09-05 23:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:24:23] 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-09-05 23:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:24:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889358592001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889358592001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:24:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:24:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889358592001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":174703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:24:23] local.INFO: GPS data processed {"connection_id":174703,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:24:23] local.INFO: Acknowledgment sent {"connection_id":174703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:24:27] local.INFO: TCP Data received {"connection_id":174704,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072b33008012d6c65c006112e28000101342a..."} 
[2026-09-05 23:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b33008012d6c65c006112e28000101342a..."} 
[2026-09-05 23:24:27] local.INFO: Processing buffer {"connection_id":174704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b33008012d6c65c006112e28000101342a..."} 
[2026-09-05 23:24:27] local.INFO: Packet analysis {"connection_id":174704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b3"} 
[2026-09-05 23:24:27] local.INFO: Extracted packet for processing {"connection_id":174704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b3"} 
[2026-09-05 23:24:27] local.INFO: GPS Element Parsed {"raw_longitude":762078656,"raw_latitude":101789224,"longitude_deg":76.2078656,"latitude_deg":10.1789224,"altitude":1,"angle":308,"satellites":42,"speed":26,"hex_longitude":"2d6c65c0","hex_latitude":"06112e28","is_valid_coordinates":true} 
[2026-09-05 23:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889469184001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400049510400655360,"note":"Value kept but may cause issues"} 
[2026-09-05 23:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7812056529685403648,"note":"Value kept but may cause issues"} 
[2026-09-05 23:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788630741000,"timestamp_ms":1788630741000,"timestamp_seconds":1788630741,"priority":1,"record_length":96,"hex_timestamp":"000001a072b33008"} 
[2026-09-05 23:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-05 23:24:27] 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-09-05 23:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889469184001,"66":27267,"193":206,"79":46336,"24":26,"16":400049510400655360,"45":7812056529685403648},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,79,24,16,45]} 
[2026-09-05 23:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889469184001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:24:27] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-05 23:24:27] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-09-05 23:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400049510400655360,"km_value":400049510400655.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":7812056529685403648,"description":"Unknown IO ID 45"} 
[2026-09-05 23:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889469184001,"power":27267,"unknown_193":206,"unknown_79":46336,"ignition":26,"odometer":null,"unknown_45":7812056529685403648}} 
[2026-09-05 23:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":174704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:24:27] local.INFO: GPS data processed {"connection_id":174704,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:24:27] local.INFO: Acknowledgment sent {"connection_id":174704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:24:43] local.INFO: TCP Data received {"connection_id":172019,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:24:43] local.INFO: Processing buffer {"connection_id":172019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:24:43] local.INFO: IMEI packet received {"connection_id":172019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":172019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:24:48] local.INFO: TCP Data received {"connection_id":174705,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:24:48] local.INFO: Processing buffer {"connection_id":174705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:24:48] local.INFO: IMEI packet received {"connection_id":174705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":174705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:24:49] local.INFO: TCP Data received {"connection_id":172019,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:24:49] local.INFO: Processing buffer {"connection_id":172019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:24:49] local.INFO: IMEI packet received {"connection_id":172019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":172019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:24:49] local.INFO: TCP Data received {"connection_id":174705,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:24:49] local.INFO: Processing buffer {"connection_id":174705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:24:49] local.INFO: IMEI packet received {"connection_id":174705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":174705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:24:50] local.INFO: TCP Data received {"connection_id":172019,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a072b12880012d196500071ff1280040014527..."} 
[2026-09-05 23:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b12880012d196500071ff1280040014527..."} 
[2026-09-05 23:24:50] local.INFO: Processing buffer {"connection_id":172019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b12880012d196500071ff1280040014527..."} 
[2026-09-05 23:24:50] local.INFO: Packet analysis {"connection_id":172019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b1"} 
[2026-09-05 23:24:50] local.INFO: Extracted packet for processing {"connection_id":172019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b1"} 
[2026-09-05 23:24:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889358592001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788630608000,"timestamp_ms":1788630608000,"timestamp_seconds":1788630608,"priority":1,"record_length":96,"hex_timestamp":"000001a072b12880"} 
[2026-09-05 23:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:24:50] 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-09-05 23:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:24:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889358592001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889358592001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:24:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:24:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889358592001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":172019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:24:50] local.INFO: GPS data processed {"connection_id":172019,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:24:50] local.INFO: Acknowledgment sent {"connection_id":172019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:24:50] local.INFO: TCP Data received {"connection_id":174705,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:24:50] local.INFO: Processing buffer {"connection_id":174705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:24:50] local.INFO: IMEI packet received {"connection_id":174705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":174705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:24:50] local.INFO: TCP Data received {"connection_id":174705,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:24:50] local.INFO: Processing buffer {"connection_id":174705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:24:50] local.INFO: IMEI packet received {"connection_id":174705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":174705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:25:21] local.INFO: TCP Data received {"connection_id":172019,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a072b12880012d196500071ff1280040014527..."} 
[2026-09-05 23:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b12880012d196500071ff1280040014527..."} 
[2026-09-05 23:25:21] local.INFO: Processing buffer {"connection_id":172019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b12880012d196500071ff1280040014527..."} 
[2026-09-05 23:25:21] local.INFO: Packet analysis {"connection_id":172019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b1"} 
[2026-09-05 23:25:21] local.INFO: Extracted packet for processing {"connection_id":172019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b1"} 
[2026-09-05 23:25:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889358592001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788630608000,"timestamp_ms":1788630608000,"timestamp_seconds":1788630608,"priority":1,"record_length":96,"hex_timestamp":"000001a072b12880"} 
[2026-09-05 23:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:25:21] 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-09-05 23:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:25:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889358592001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889358592001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:25:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:25:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889358592001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":172019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:25:21] local.INFO: GPS data processed {"connection_id":172019,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:25:21] local.INFO: Acknowledgment sent {"connection_id":172019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:25:47] local.INFO: TCP Data received {"connection_id":174706,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:25:47] local.INFO: Processing buffer {"connection_id":174706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:25:47] local.INFO: IMEI packet received {"connection_id":174706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":174706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:25:48] local.INFO: TCP Data received {"connection_id":174706,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:25:48] local.INFO: Processing buffer {"connection_id":174706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:25:48] local.INFO: IMEI packet received {"connection_id":174706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":174706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:25:54] local.INFO: TCP Data received {"connection_id":174706,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:25:54] local.INFO: Processing buffer {"connection_id":174706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:25:54] local.INFO: IMEI packet received {"connection_id":174706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":174706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:25:54] local.INFO: TCP Data received {"connection_id":174706,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a072b5c048012d196500071ff128004001452b..."} 
[2026-09-05 23:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b5c048012d196500071ff128004001452b..."} 
[2026-09-05 23:25:54] local.INFO: Processing buffer {"connection_id":174706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b5c048012d196500071ff128004001452b..."} 
[2026-09-05 23:25:54] local.INFO: Packet analysis {"connection_id":174706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b5"} 
[2026-09-05 23:25:54] local.INFO: Extracted packet for processing {"connection_id":174706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b5"} 
[2026-09-05 23:25:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889435648001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788630909000,"timestamp_ms":1788630909000,"timestamp_seconds":1788630909,"priority":1,"record_length":96,"hex_timestamp":"000001a072b5c048"} 
[2026-09-05 23:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:25:54] 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-09-05 23:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889435648001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889435648001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:25:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:25:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889435648001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":174706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:25:55] local.INFO: GPS data processed {"connection_id":174706,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:25:55] local.INFO: Acknowledgment sent {"connection_id":174706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:26:16] local.INFO: TCP Data received {"connection_id":174708,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174708,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:26:16] local.INFO: Processing buffer {"connection_id":174708,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:26:16] local.INFO: IMEI packet received {"connection_id":174708,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 23:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":174708,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:26:26] local.INFO: TCP Data received {"connection_id":174706,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a072b5c048012d196500071ff128004001452b..."} 
[2026-09-05 23:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b5c048012d196500071ff128004001452b..."} 
[2026-09-05 23:26:26] local.INFO: Processing buffer {"connection_id":174706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b5c048012d196500071ff128004001452b..."} 
[2026-09-05 23:26:26] local.INFO: Packet analysis {"connection_id":174706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b5"} 
[2026-09-05 23:26:26] local.INFO: Extracted packet for processing {"connection_id":174706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b5"} 
[2026-09-05 23:26:26] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889435648001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788630909000,"timestamp_ms":1788630909000,"timestamp_seconds":1788630909,"priority":1,"record_length":96,"hex_timestamp":"000001a072b5c048"} 
[2026-09-05 23:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:26:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:26:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:26:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889435648001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889435648001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:26:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:26:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889435648001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":174706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:26:26] local.INFO: GPS data processed {"connection_id":174706,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:26:26] local.INFO: Acknowledgment sent {"connection_id":174706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:26:44] local.INFO: TCP Data received {"connection_id":172266,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:26:44] local.INFO: Processing buffer {"connection_id":172266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:26:44] local.INFO: IMEI packet received {"connection_id":172266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":172266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:26:49] local.INFO: TCP Data received {"connection_id":172266,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:26:49] local.INFO: Processing buffer {"connection_id":172266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:26:49] local.INFO: IMEI packet received {"connection_id":172266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":172266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:26:50] local.INFO: TCP Data received {"connection_id":172266,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a072b5c048012d196500071ff128004001452b..."} 
[2026-09-05 23:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b5c048012d196500071ff128004001452b..."} 
[2026-09-05 23:26:50] local.INFO: Processing buffer {"connection_id":172266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b5c048012d196500071ff128004001452b..."} 
[2026-09-05 23:26:50] local.INFO: Packet analysis {"connection_id":172266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b5"} 
[2026-09-05 23:26:50] local.INFO: Extracted packet for processing {"connection_id":172266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b5"} 
[2026-09-05 23:26:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889435648001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788630909000,"timestamp_ms":1788630909000,"timestamp_seconds":1788630909,"priority":1,"record_length":96,"hex_timestamp":"000001a072b5c048"} 
[2026-09-05 23:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:26:50] 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-09-05 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:26:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23: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-09-05 23:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889435648001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889435648001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:26:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:26:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889435648001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":172266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:26:50] local.INFO: GPS data processed {"connection_id":172266,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:26:50] local.INFO: Acknowledgment sent {"connection_id":172266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:27:21] local.INFO: TCP Data received {"connection_id":172266,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a072b5c048012d196500071ff128004001452b..."} 
[2026-09-05 23:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b5c048012d196500071ff128004001452b..."} 
[2026-09-05 23:27:21] local.INFO: Processing buffer {"connection_id":172266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b5c048012d196500071ff128004001452b..."} 
[2026-09-05 23:27:21] local.INFO: Packet analysis {"connection_id":172266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b5"} 
[2026-09-05 23:27:21] local.INFO: Extracted packet for processing {"connection_id":172266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b5"} 
[2026-09-05 23:27:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889435648001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788630909000,"timestamp_ms":1788630909000,"timestamp_seconds":1788630909,"priority":1,"record_length":96,"hex_timestamp":"000001a072b5c048"} 
[2026-09-05 23:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889435648001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889435648001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:27:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:27:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889435648001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":172266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:27:21] local.INFO: GPS data processed {"connection_id":172266,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:27:21] local.INFO: Acknowledgment sent {"connection_id":172266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:27:43] local.INFO: TCP Data received {"connection_id":174709,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:27:43] local.INFO: Processing buffer {"connection_id":174709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:27:43] local.INFO: IMEI packet received {"connection_id":174709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":174709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:27:49] local.INFO: TCP Data received {"connection_id":174709,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:27:49] local.INFO: Processing buffer {"connection_id":174709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:27:49] local.INFO: IMEI packet received {"connection_id":174709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":174709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:27:49] local.INFO: TCP Data received {"connection_id":174709,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072b5c048012d196500071ff128004001452b..."} 
[2026-09-05 23:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b5c048012d196500071ff128004001452b..."} 
[2026-09-05 23:27:49] local.INFO: Processing buffer {"connection_id":174709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b5c048012d196500071ff128004001452b..."} 
[2026-09-05 23:27:49] local.INFO: Packet analysis {"connection_id":174709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b5"} 
[2026-09-05 23:27:49] local.INFO: Extracted packet for processing {"connection_id":174709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b5"} 
[2026-09-05 23:27:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889435648001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788630909000,"timestamp_ms":1788630909000,"timestamp_seconds":1788630909,"priority":1,"record_length":96,"hex_timestamp":"000001a072b5c048"} 
[2026-09-05 23:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:27: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-09-05 23:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889435648001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889435648001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:27:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:27:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889435648001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:27:50] local.INFO: DEBUG: GPS processor result {"connection_id":174709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:27:50] local.INFO: GPS data processed {"connection_id":174709,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:27:50] local.INFO: Acknowledgment sent {"connection_id":174709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:28:21] local.INFO: TCP Data received {"connection_id":174709,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072b5c048012d196500071ff128004001452b..."} 
[2026-09-05 23:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b5c048012d196500071ff128004001452b..."} 
[2026-09-05 23:28:21] local.INFO: Processing buffer {"connection_id":174709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b5c048012d196500071ff128004001452b..."} 
[2026-09-05 23:28:21] local.INFO: Packet analysis {"connection_id":174709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b5"} 
[2026-09-05 23:28:21] local.INFO: Extracted packet for processing {"connection_id":174709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b5"} 
[2026-09-05 23:28:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889435648001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788630909000,"timestamp_ms":1788630909000,"timestamp_seconds":1788630909,"priority":1,"record_length":96,"hex_timestamp":"000001a072b5c048"} 
[2026-09-05 23:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23: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-09-05 23:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889435648001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889435648001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:28:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:28:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889435648001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":174709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:28:21] local.INFO: GPS data processed {"connection_id":174709,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:28:21] local.INFO: Acknowledgment sent {"connection_id":174709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:28:43] local.INFO: TCP Data received {"connection_id":174710,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:28:43] local.INFO: Processing buffer {"connection_id":174710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:28:43] local.INFO: IMEI packet received {"connection_id":174710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":174710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:28:49] local.INFO: TCP Data received {"connection_id":174710,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:28:49] local.INFO: Processing buffer {"connection_id":174710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:28:49] local.INFO: IMEI packet received {"connection_id":174710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":174710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:28:50] local.INFO: TCP Data received {"connection_id":174710,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072b5c048012d196500071ff128004001452b..."} 
[2026-09-05 23:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b5c048012d196500071ff128004001452b..."} 
[2026-09-05 23:28:50] local.INFO: Processing buffer {"connection_id":174710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b5c048012d196500071ff128004001452b..."} 
[2026-09-05 23:28:50] local.INFO: Packet analysis {"connection_id":174710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b5"} 
[2026-09-05 23:28:50] local.INFO: Extracted packet for processing {"connection_id":174710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b5"} 
[2026-09-05 23:28:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889435648001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788630909000,"timestamp_ms":1788630909000,"timestamp_seconds":1788630909,"priority":1,"record_length":96,"hex_timestamp":"000001a072b5c048"} 
[2026-09-05 23:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:28:50] 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-09-05 23:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:28:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889435648001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889435648001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:28:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:28:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889435648001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":174710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:28:50] local.INFO: GPS data processed {"connection_id":174710,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:28:50] local.INFO: Acknowledgment sent {"connection_id":174710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:29:21] local.INFO: TCP Data received {"connection_id":174710,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072b5c048012d196500071ff128004001452b..."} 
[2026-09-05 23:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b5c048012d196500071ff128004001452b..."} 
[2026-09-05 23:29:21] local.INFO: Processing buffer {"connection_id":174710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b5c048012d196500071ff128004001452b..."} 
[2026-09-05 23:29:21] local.INFO: Packet analysis {"connection_id":174710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b5"} 
[2026-09-05 23:29:21] local.INFO: Extracted packet for processing {"connection_id":174710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b5"} 
[2026-09-05 23:29:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889435648001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788630909000,"timestamp_ms":1788630909000,"timestamp_seconds":1788630909,"priority":1,"record_length":96,"hex_timestamp":"000001a072b5c048"} 
[2026-09-05 23:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889435648001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889435648001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:29:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:29:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889435648001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":174710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:29:21] local.INFO: GPS data processed {"connection_id":174710,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:29:21] local.INFO: Acknowledgment sent {"connection_id":174710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:29:49] local.INFO: TCP Data received {"connection_id":174711,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:29:49] local.INFO: Processing buffer {"connection_id":174711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:29:49] local.INFO: IMEI packet received {"connection_id":174711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":174711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:29:54] local.INFO: TCP Data received {"connection_id":174711,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:29:54] local.INFO: Processing buffer {"connection_id":174711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:29:54] local.INFO: IMEI packet received {"connection_id":174711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":174711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:29:55] local.INFO: TCP Data received {"connection_id":172267,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:29:55] local.INFO: Processing buffer {"connection_id":172267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:29:55] local.INFO: IMEI packet received {"connection_id":172267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":172267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:29:55] local.INFO: TCP Data received {"connection_id":174711,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a072b5c048012d196500071ff128004001452b..."} 
[2026-09-05 23:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b5c048012d196500071ff128004001452b..."} 
[2026-09-05 23:29:55] local.INFO: Processing buffer {"connection_id":174711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b5c048012d196500071ff128004001452b..."} 
[2026-09-05 23:29:55] local.INFO: Packet analysis {"connection_id":174711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b5"} 
[2026-09-05 23:29:55] local.INFO: Extracted packet for processing {"connection_id":174711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b5"} 
[2026-09-05 23:29:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889435648001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788630909000,"timestamp_ms":1788630909000,"timestamp_seconds":1788630909,"priority":1,"record_length":96,"hex_timestamp":"000001a072b5c048"} 
[2026-09-05 23:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:29:55] 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-09-05 23:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:29:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889435648001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889435648001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:29:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:29:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889435648001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":174711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:29:55] local.INFO: GPS data processed {"connection_id":174711,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:29:55] local.INFO: Acknowledgment sent {"connection_id":174711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:29:55] local.INFO: TCP Data received {"connection_id":172267,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072b723c0012d6b70400612e710000501622e..."} 
[2026-09-05 23:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b723c0012d6b70400612e710000501622e..."} 
[2026-09-05 23:29:55] local.INFO: Processing buffer {"connection_id":172267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b723c0012d6b70400612e710000501622e..."} 
[2026-09-05 23:29:55] local.INFO: Packet analysis {"connection_id":172267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b7"} 
[2026-09-05 23:29:55] local.INFO: Extracted packet for processing {"connection_id":172267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b7"} 
[2026-09-05 23:29:55] local.INFO: GPS Element Parsed {"raw_longitude":762015808,"raw_latitude":101902096,"longitude_deg":76.2015808,"latitude_deg":10.1902096,"altitude":5,"angle":354,"satellites":46,"speed":30,"hex_longitude":"2d6b7040","hex_latitude":"0612e710","is_valid_coordinates":true} 
[2026-09-05 23:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889532416001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400056549852053504,"note":"Value kept but may cause issues"} 
[2026-09-05 23:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7742602579208769536,"note":"Value kept but may cause issues"} 
[2026-09-05 23:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788631000000,"timestamp_ms":1788631000000,"timestamp_seconds":1788631000,"priority":1,"record_length":96,"hex_timestamp":"000001a072b723c0"} 
[2026-09-05 23:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-05 23:29:55] 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-09-05 23:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889532416001,"66":27267,"167":206,"79":20992,"24":30,"16":400056549852053504,"45":7742602579208769536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-09-05 23:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889532416001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:29:55] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-05 23:29:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400056549852053504,"km_value":400056549852053.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":7742602579208769536,"description":"Unknown IO ID 45"} 
[2026-09-05 23:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889532416001,"power":27267,"unknown_167":206,"unknown_79":20992,"ignition":30,"odometer":null,"unknown_45":7742602579208769536}} 
[2026-09-05 23:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":172267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:29:55] local.INFO: GPS data processed {"connection_id":172267,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:29:55] local.INFO: Acknowledgment sent {"connection_id":172267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:29:59] local.INFO: TCP Data received {"connection_id":174711,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a072b5c048012d196500071ff128004001452b..."} 
[2026-09-05 23:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b5c048012d196500071ff128004001452b..."} 
[2026-09-05 23:29:59] local.INFO: Processing buffer {"connection_id":174711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b5c048012d196500071ff128004001452b..."} 
[2026-09-05 23:29:59] local.INFO: Packet analysis {"connection_id":174711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b5"} 
[2026-09-05 23:29:59] local.INFO: Extracted packet for processing {"connection_id":174711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b5"} 
[2026-09-05 23:29:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889435648001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788630909000,"timestamp_ms":1788630909000,"timestamp_seconds":1788630909,"priority":1,"record_length":96,"hex_timestamp":"000001a072b5c048"} 
[2026-09-05 23:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:29:59] 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-09-05 23:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889435648001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889435648001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:29:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:29:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889435648001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":174711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:29:59] local.INFO: GPS data processed {"connection_id":174711,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:29:59] local.INFO: Acknowledgment sent {"connection_id":174711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:30:27] local.INFO: TCP Data received {"connection_id":172267,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072b74ad0012d6b6dc006130ab8000601622e..."} 
[2026-09-05 23:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b74ad0012d6b6dc006130ab8000601622e..."} 
[2026-09-05 23:30:27] local.INFO: Processing buffer {"connection_id":172267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b74ad0012d6b6dc006130ab8000601622e..."} 
[2026-09-05 23:30:27] local.INFO: Packet analysis {"connection_id":172267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b7"} 
[2026-09-05 23:30:27] local.INFO: Extracted packet for processing {"connection_id":172267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b7"} 
[2026-09-05 23:30:27] local.INFO: GPS Element Parsed {"raw_longitude":762015168,"raw_latitude":101911224,"longitude_deg":76.2015168,"latitude_deg":10.1911224,"altitude":6,"angle":354,"satellites":46,"speed":42,"hex_longitude":"2d6b6dc0","hex_latitude":"06130ab8","is_valid_coordinates":true} 
[2026-09-05 23:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889536000001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400056992233684992,"note":"Value kept but may cause issues"} 
[2026-09-05 23:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7741758154280996864,"note":"Value kept but may cause issues"} 
[2026-09-05 23:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788631010000,"timestamp_ms":1788631010000,"timestamp_seconds":1788631010,"priority":1,"record_length":96,"hex_timestamp":"000001a072b74ad0"} 
[2026-09-05 23:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-05 23:30:27] 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-09-05 23:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889536000001,"66":27332,"167":206,"79":20992,"24":42,"16":400056992233684992,"45":7741758154280996864},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-09-05 23:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889536000001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:30:27] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-05 23:30:27] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400056992233684992,"km_value":400056992233685.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":7741758154280996864,"description":"Unknown IO ID 45"} 
[2026-09-05 23:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889536000001,"power":27332,"unknown_167":206,"unknown_79":20992,"ignition":42,"odometer":null,"unknown_45":7741758154280996864}} 
[2026-09-05 23:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":172267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:30:27] local.INFO: GPS data processed {"connection_id":172267,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:30:27] local.INFO: Acknowledgment sent {"connection_id":172267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:30:44] local.INFO: TCP Data received {"connection_id":173383,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:30:44] local.INFO: Processing buffer {"connection_id":173383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:30:44] local.INFO: IMEI packet received {"connection_id":173383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":173383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:30:48] local.INFO: TCP Data received {"connection_id":173383,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:30:48] local.INFO: Processing buffer {"connection_id":173383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:30:48] local.INFO: IMEI packet received {"connection_id":173383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":173383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:30:48] local.INFO: TCP Data received {"connection_id":173383,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a072ba5810012d196500071ff1280040014528..."} 
[2026-09-05 23:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ba5810012d196500071ff1280040014528..."} 
[2026-09-05 23:30:48] local.INFO: Processing buffer {"connection_id":173383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ba5810012d196500071ff1280040014528..."} 
[2026-09-05 23:30:48] local.INFO: Packet analysis {"connection_id":173383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ba"} 
[2026-09-05 23:30:48] local.INFO: Extracted packet for processing {"connection_id":173383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ba"} 
[2026-09-05 23:30:48] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889512704001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788631210000,"timestamp_ms":1788631210000,"timestamp_seconds":1788631210,"priority":1,"record_length":96,"hex_timestamp":"000001a072ba5810"} 
[2026-09-05 23:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:30:48] 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-09-05 23:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 23:30:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:30:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":173383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":173383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":173383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889512704001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889512704001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:30:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:30:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889512704001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":173383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:30:49] local.INFO: GPS data processed {"connection_id":173383,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:30:49] local.INFO: Acknowledgment sent {"connection_id":173383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:30:49] local.INFO: TCP Data received {"connection_id":172268,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:30:49] local.INFO: Processing buffer {"connection_id":172268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:30:49] local.INFO: IMEI packet received {"connection_id":172268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":172268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:30:55] local.INFO: TCP Data received {"connection_id":172268,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:30:55] local.INFO: Processing buffer {"connection_id":172268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:30:55] local.INFO: IMEI packet received {"connection_id":172268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":172268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:30:56] local.INFO: TCP Data received {"connection_id":172268,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072b76df8012d6b684006133038000801612d..."} 
[2026-09-05 23:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072b76df8012d6b684006133038000801612d..."} 
[2026-09-05 23:30:56] local.INFO: Processing buffer {"connection_id":172268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072b76df8012d6b684006133038000801612d..."} 
[2026-09-05 23:30:56] local.INFO: Packet analysis {"connection_id":172268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072b7"} 
[2026-09-05 23:30:56] local.INFO: Extracted packet for processing {"connection_id":172268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072b7"} 
[2026-09-05 23:30:56] local.INFO: GPS Element Parsed {"raw_longitude":762013760,"raw_latitude":101920824,"longitude_deg":76.201376,"latitude_deg":10.1920824,"altitude":8,"angle":353,"satellites":45,"speed":42,"hex_longitude":"2d6b6840","hex_latitude":"06133038","is_valid_coordinates":true} 
[2026-09-05 23:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889538560001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400057464680087552,"note":"Value kept but may cause issues"} 
[2026-09-05 23:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7741054466841556992,"note":"Value kept but may cause issues"} 
[2026-09-05 23:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788631019000,"timestamp_ms":1788631019000,"timestamp_seconds":1788631019,"priority":1,"record_length":96,"hex_timestamp":"000001a072b76df8"} 
[2026-09-05 23:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-05 23:30:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:30:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889538560001,"66":27463,"167":206,"79":20992,"24":42,"16":400057464680087552,"45":7741054466841556992},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-09-05 23:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889538560001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:30:56] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-05 23:30:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400057464680087552,"km_value":400057464680087.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":7741054466841556992,"description":"Unknown IO ID 45"} 
[2026-09-05 23:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889538560001,"power":27463,"unknown_167":206,"unknown_79":20992,"ignition":42,"odometer":null,"unknown_45":7741054466841556992}} 
[2026-09-05 23:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":172268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:30:56] local.INFO: GPS data processed {"connection_id":172268,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:30:56] local.INFO: Acknowledgment sent {"connection_id":172268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:31:20] local.INFO: TCP Data received {"connection_id":173383,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a072ba5810012d196500071ff1280040014528..."} 
[2026-09-05 23:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ba5810012d196500071ff1280040014528..."} 
[2026-09-05 23:31:20] local.INFO: Processing buffer {"connection_id":173383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ba5810012d196500071ff1280040014528..."} 
[2026-09-05 23:31:20] local.INFO: Packet analysis {"connection_id":173383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ba"} 
[2026-09-05 23:31:20] local.INFO: Extracted packet for processing {"connection_id":173383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ba"} 
[2026-09-05 23:31:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889512704001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788631210000,"timestamp_ms":1788631210000,"timestamp_seconds":1788631210,"priority":1,"record_length":96,"hex_timestamp":"000001a072ba5810"} 
[2026-09-05 23:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:31:20] 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-09-05 23:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 23:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889512704001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889512704001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:31:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:31:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889512704001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":173383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:31:20] local.INFO: GPS data processed {"connection_id":173383,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:31:20] local.INFO: Acknowledgment sent {"connection_id":173383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:31:27] local.INFO: TCP Data received {"connection_id":172268,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072ba4488012d6b494006145a20000d01622d..."} 
[2026-09-05 23:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ba4488012d6b494006145a20000d01622d..."} 
[2026-09-05 23:31:27] local.INFO: Processing buffer {"connection_id":172268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ba4488012d6b494006145a20000d01622d..."} 
[2026-09-05 23:31:27] local.INFO: Packet analysis {"connection_id":172268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ba"} 
[2026-09-05 23:31:27] local.INFO: Extracted packet for processing {"connection_id":172268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ba"} 
[2026-09-05 23:31:27] local.INFO: GPS Element Parsed {"raw_longitude":762005824,"raw_latitude":101997088,"longitude_deg":76.2005824,"latitude_deg":10.1997088,"altitude":13,"angle":354,"satellites":45,"speed":23,"hex_longitude":"2d6b4940","hex_latitude":"06145a20","is_valid_coordinates":true} 
[2026-09-05 23:31: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-09-05 23:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889583360001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400061197006667776,"note":"Value kept but may cause issues"} 
[2026-09-05 23:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7731836161373988864,"note":"Value kept but may cause issues"} 
[2026-09-05 23:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788631205000,"timestamp_ms":1788631205000,"timestamp_seconds":1788631205,"priority":1,"record_length":96,"hex_timestamp":"000001a072ba4488"} 
[2026-09-05 23:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:31: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":240,"data_length":795,"current_offset":136} 
[2026-09-05 23:31:27] 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-09-05 23:31: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-09-05 23:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889583360001,"66":27180,"167":206,"79":20992,"24":23,"16":400061197006667776,"45":7731836161373988864},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-09-05 23:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889583360001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:31:27] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-05 23:31:27] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400061197006667776,"km_value":400061197006667.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":7731836161373988864,"description":"Unknown IO ID 45"} 
[2026-09-05 23:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889583360001,"power":27180,"unknown_167":206,"unknown_79":20992,"ignition":23,"odometer":null,"unknown_45":7731836161373988864}} 
[2026-09-05 23:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":172268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:31:27] local.INFO: GPS data processed {"connection_id":172268,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:31:27] local.INFO: Acknowledgment sent {"connection_id":172268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:31:43] local.INFO: TCP Data received {"connection_id":173384,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173384,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:31:43] local.INFO: Processing buffer {"connection_id":173384,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:31:43] local.INFO: IMEI packet received {"connection_id":173384,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 23:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":173384,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:31:44] local.INFO: TCP Data received {"connection_id":172025,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:31:44] local.INFO: Processing buffer {"connection_id":172025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:31:44] local.INFO: IMEI packet received {"connection_id":172025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":172025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:31:47] local.INFO: TCP Data received {"connection_id":173384,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173384,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:31:47] local.INFO: Processing buffer {"connection_id":173384,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:31:47] local.INFO: IMEI packet received {"connection_id":173384,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 23:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":173384,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:31:49] local.INFO: TCP Data received {"connection_id":172025,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:31:49] local.INFO: Processing buffer {"connection_id":172025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:31:49] local.INFO: IMEI packet received {"connection_id":172025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":172025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:31:49] local.INFO: TCP Data received {"connection_id":172025,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a072ba5810012d196500071ff1280040014528..."} 
[2026-09-05 23:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ba5810012d196500071ff1280040014528..."} 
[2026-09-05 23:31:49] local.INFO: Processing buffer {"connection_id":172025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ba5810012d196500071ff1280040014528..."} 
[2026-09-05 23:31:49] local.INFO: Packet analysis {"connection_id":172025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ba"} 
[2026-09-05 23:31:49] local.INFO: Extracted packet for processing {"connection_id":172025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ba"} 
[2026-09-05 23:31:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889512704001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788631210000,"timestamp_ms":1788631210000,"timestamp_seconds":1788631210,"priority":1,"record_length":96,"hex_timestamp":"000001a072ba5810"} 
[2026-09-05 23:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:31:49] 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-09-05 23:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 23:31: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-09-05 23:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889512704001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889512704001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:31:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:31:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889512704001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":172025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:31:50] local.INFO: GPS data processed {"connection_id":172025,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:31:50] local.INFO: Acknowledgment sent {"connection_id":172025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:31:51] local.INFO: TCP Data received {"connection_id":173384,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173384,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:31:51] local.INFO: Processing buffer {"connection_id":173384,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:31:51] local.INFO: IMEI packet received {"connection_id":173384,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-05 23:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":173384,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:31:54] local.INFO: TCP Data received {"connection_id":174712,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:31:54] local.INFO: Processing buffer {"connection_id":174712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:31:54] local.INFO: IMEI packet received {"connection_id":174712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":174712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:31:56] local.INFO: TCP Data received {"connection_id":174712,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:31:56] local.INFO: Processing buffer {"connection_id":174712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:31:56] local.INFO: IMEI packet received {"connection_id":174712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":174712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:31:57] local.INFO: TCP Data received {"connection_id":174712,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072ba86f0012d6b45c006147d40000a01642b..."} 
[2026-09-05 23:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ba86f0012d6b45c006147d40000a01642b..."} 
[2026-09-05 23:31:57] local.INFO: Processing buffer {"connection_id":174712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ba86f0012d6b45c006147d40000a01642b..."} 
[2026-09-05 23:31:57] local.INFO: Packet analysis {"connection_id":174712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ba"} 
[2026-09-05 23:31:57] local.INFO: Extracted packet for processing {"connection_id":174712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ba"} 
[2026-09-05 23:31:57] local.INFO: GPS Element Parsed {"raw_longitude":762004928,"raw_latitude":102006080,"longitude_deg":76.2004928,"latitude_deg":10.200608,"altitude":10,"angle":356,"satellites":43,"speed":18,"hex_longitude":"2d6b45c0","hex_latitude":"06147d40","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889588480001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400061635093331968,"note":"Value kept but may cause issues"} 
[2026-09-05 23:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7730780630213599232,"note":"Value kept but may cause issues"} 
[2026-09-05 23:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788631222000,"timestamp_ms":1788631222000,"timestamp_seconds":1788631222,"priority":1,"record_length":96,"hex_timestamp":"000001a072ba86f0"} 
[2026-09-05 23:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:31: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-09-05 23: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-05 23:31:57] 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-09-05 23: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-09-05 23:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889588480001,"66":27343,"167":206,"79":20992,"24":18,"16":400061635093331968,"45":7730780630213599232},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-09-05 23:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889588480001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:31:57] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-05 23:31:57] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400061635093331968,"km_value":400061635093331.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":7730780630213599232,"description":"Unknown IO ID 45"} 
[2026-09-05 23:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889588480001,"power":27343,"unknown_167":206,"unknown_79":20992,"ignition":18,"odometer":null,"unknown_45":7730780630213599232}} 
[2026-09-05 23:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":174712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:31:57] local.INFO: GPS data processed {"connection_id":174712,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:31:57] local.INFO: Acknowledgment sent {"connection_id":174712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:31:59] local.INFO: TCP Data received {"connection_id":174712,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072babda0012d6b43c00614a070000801622b..."} 
[2026-09-05 23:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072babda0012d6b43c00614a070000801622b..."} 
[2026-09-05 23:31:59] local.INFO: Processing buffer {"connection_id":174712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072babda0012d6b43c00614a070000801622b..."} 
[2026-09-05 23:31:59] local.INFO: Packet analysis {"connection_id":174712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ba"} 
[2026-09-05 23:31:59] local.INFO: Extracted packet for processing {"connection_id":174712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ba"} 
[2026-09-05 23:31:59] local.INFO: GPS Element Parsed {"raw_longitude":762004416,"raw_latitude":102015088,"longitude_deg":76.2004416,"latitude_deg":10.2015088,"altitude":8,"angle":354,"satellites":43,"speed":30,"hex_longitude":"2d6b43c0","hex_latitude":"0614a070","is_valid_coordinates":true} 
[2026-09-05 23:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889592832001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400062073179996160,"note":"Value kept but may cause issues"} 
[2026-09-05 23:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7729795467797413888,"note":"Value kept but may cause issues"} 
[2026-09-05 23:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788631236000,"timestamp_ms":1788631236000,"timestamp_seconds":1788631236,"priority":1,"record_length":96,"hex_timestamp":"000001a072babda0"} 
[2026-09-05 23:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 23:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889592832001,"66":27463,"167":206,"79":20992,"24":30,"16":400062073179996160,"45":7729795467797413888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-09-05 23:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889592832001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:31:59] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-05 23:31:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400062073179996160,"km_value":400062073179996.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7729795467797413888,"description":"Unknown IO ID 45"} 
[2026-09-05 23:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889592832001,"power":27463,"unknown_167":206,"unknown_79":20992,"ignition":30,"odometer":null,"unknown_45":7729795467797413888}} 
[2026-09-05 23:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":174712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:31:59] local.INFO: GPS data processed {"connection_id":174712,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:31:59] local.INFO: Acknowledgment sent {"connection_id":174712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:32:17] local.INFO: TCP Data received {"connection_id":173385,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173385,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:32:17] local.INFO: Processing buffer {"connection_id":173385,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:32:17] local.INFO: IMEI packet received {"connection_id":173385,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 23:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":173385,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:32:21] local.INFO: TCP Data received {"connection_id":172025,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a072ba5810012d196500071ff1280040014528..."} 
[2026-09-05 23:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ba5810012d196500071ff1280040014528..."} 
[2026-09-05 23:32:21] local.INFO: Processing buffer {"connection_id":172025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ba5810012d196500071ff1280040014528..."} 
[2026-09-05 23:32:21] local.INFO: Packet analysis {"connection_id":172025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ba"} 
[2026-09-05 23:32:21] local.INFO: Extracted packet for processing {"connection_id":172025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ba"} 
[2026-09-05 23:32:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889512704001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788631210000,"timestamp_ms":1788631210000,"timestamp_seconds":1788631210,"priority":1,"record_length":96,"hex_timestamp":"000001a072ba5810"} 
[2026-09-05 23:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:32:21] 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-09-05 23:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 23:32:21] 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-09-05 23:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889512704001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889512704001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:32:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:32:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889512704001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":172025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:32:21] local.INFO: GPS data processed {"connection_id":172025,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:32:21] local.INFO: Acknowledgment sent {"connection_id":172025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:32:31] local.INFO: TCP Data received {"connection_id":174712,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072baf068012d6b3e000614c4680006015e29..."} 
[2026-09-05 23:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072baf068012d6b3e000614c4680006015e29..."} 
[2026-09-05 23:32:31] local.INFO: Processing buffer {"connection_id":174712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072baf068012d6b3e000614c4680006015e29..."} 
[2026-09-05 23:32:31] local.INFO: Packet analysis {"connection_id":174712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ba"} 
[2026-09-05 23:32:31] local.INFO: Extracted packet for processing {"connection_id":174712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ba"} 
[2026-09-05 23:32:31] local.INFO: GPS Element Parsed {"raw_longitude":762002944,"raw_latitude":102024296,"longitude_deg":76.2002944,"latitude_deg":10.2024296,"altitude":6,"angle":350,"satellites":41,"speed":28,"hex_longitude":"2d6b3e00","hex_latitude":"0614c468","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889596416001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400062524151562240,"note":"Value kept but may cause issues"} 
[2026-09-05 23:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7729232517846298624,"note":"Value kept but may cause issues"} 
[2026-09-05 23:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788631249000,"timestamp_ms":1788631249000,"timestamp_seconds":1788631249,"priority":1,"record_length":96,"hex_timestamp":"000001a072baf068"} 
[2026-09-05 23:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-05 23:32: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-09-05 23: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-09-05 23:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889596416001,"66":27332,"167":206,"79":20992,"24":28,"16":400062524151562240,"45":7729232517846298624},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-09-05 23:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889596416001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:32:31] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-05 23:32:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400062524151562240,"km_value":400062524151562.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7729232517846298624,"description":"Unknown IO ID 45"} 
[2026-09-05 23:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889596416001,"power":27332,"unknown_167":206,"unknown_79":20992,"ignition":28,"odometer":null,"unknown_45":7729232517846298624}} 
[2026-09-05 23:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":174712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:32:31] local.INFO: GPS data processed {"connection_id":174712,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:32:31] local.INFO: Acknowledgment sent {"connection_id":174712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:32:43] local.INFO: TCP Data received {"connection_id":172026,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:32:43] local.INFO: Processing buffer {"connection_id":172026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:32:43] local.INFO: IMEI packet received {"connection_id":172026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":172026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:32:49] local.INFO: TCP Data received {"connection_id":172026,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:32:49] local.INFO: Processing buffer {"connection_id":172026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:32:49] local.INFO: IMEI packet received {"connection_id":172026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":172026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:32:50] local.INFO: TCP Data received {"connection_id":172027,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:32:50] local.INFO: Processing buffer {"connection_id":172027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:32:50] local.INFO: IMEI packet received {"connection_id":172027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":172027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:32:50] local.INFO: TCP Data received {"connection_id":172027,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:32:50] local.INFO: Processing buffer {"connection_id":172027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:32:50] local.INFO: IMEI packet received {"connection_id":172027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":172027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:32:52] local.INFO: TCP Data received {"connection_id":172026,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a072ba5810012d196500071ff1280040014528..."} 
[2026-09-05 23:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ba5810012d196500071ff1280040014528..."} 
[2026-09-05 23:32:52] local.INFO: Processing buffer {"connection_id":172026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ba5810012d196500071ff1280040014528..."} 
[2026-09-05 23:32:52] local.INFO: Packet analysis {"connection_id":172026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ba"} 
[2026-09-05 23:32:52] local.INFO: Extracted packet for processing {"connection_id":172026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ba"} 
[2026-09-05 23:32:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889512704001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788631210000,"timestamp_ms":1788631210000,"timestamp_seconds":1788631210,"priority":1,"record_length":96,"hex_timestamp":"000001a072ba5810"} 
[2026-09-05 23:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:32:52] 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-09-05 23:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 23:32:52] 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-09-05 23:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889512704001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889512704001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:32:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:32:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889512704001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":172026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:32:52] local.INFO: GPS data processed {"connection_id":172026,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:32:52] local.INFO: Acknowledgment sent {"connection_id":172026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:32:58] local.INFO: TCP Data received {"connection_id":172027,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:32:58] local.INFO: Processing buffer {"connection_id":172027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:32:58] local.INFO: IMEI packet received {"connection_id":172027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":172027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:32:59] local.INFO: TCP Data received {"connection_id":172027,"ip":"42.106.6.15","data_length":1348,"data_hex":"000000000000030f8e0a000001a072bb1f48012d6b39800614e910000701632c..."} 
[2026-09-05 23:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172027,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a072bb1f48012d6b39800614e910000701632c..."} 
[2026-09-05 23:32:59] local.INFO: Processing buffer {"connection_id":172027,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a072bb1f48012d6b39800614e910000701632c..."} 
[2026-09-05 23:32:59] local.INFO: Packet analysis {"connection_id":172027,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a072bb"} 
[2026-09-05 23:32:59] local.INFO: Extracted packet for processing {"connection_id":172027,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a072bb"} 
[2026-09-05 23:32:59] local.INFO: GPS Element Parsed {"raw_longitude":762001792,"raw_latitude":102033680,"longitude_deg":76.2001792,"latitude_deg":10.203368,"altitude":7,"angle":355,"satellites":44,"speed":23,"hex_longitude":"2d6b3980","hex_latitude":"0614e910","is_valid_coordinates":true} 
[2026-09-05 23:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889599744001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400062983713062912,"note":"Value kept but may cause issues"} 
[2026-09-05 23:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7727614036732569600,"note":"Value kept but may cause issues"} 
[2026-09-05 23:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788631261000,"timestamp_ms":1788631261000,"timestamp_seconds":1788631261,"priority":1,"record_length":96,"hex_timestamp":"000001a072bb1f48"} 
[2026-09-05 23:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-05 23:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:32:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889599744001,"66":27343,"167":206,"79":20992,"24":23,"16":400062983713062912,"45":7727614036732569600},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-09-05 23:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889599744001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:32:59] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-05 23:32:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400062983713062912,"km_value":400062983713062.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7727614036732569600,"description":"Unknown IO ID 45"} 
[2026-09-05 23:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889599744001,"power":27343,"unknown_167":206,"unknown_79":20992,"ignition":23,"odometer":null,"unknown_45":7727614036732569600}} 
[2026-09-05 23:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":172027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:32:59] local.INFO: GPS data processed {"connection_id":172027,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:32:59] local.INFO: Acknowledgment sent {"connection_id":172027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:32:59] local.INFO: Packet analysis {"connection_id":172027,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a072bb"} 
[2026-09-05 23:32:59] local.INFO: Incomplete packet, waiting for more data {"connection_id":172027,"needed":795,"available":553} 
[2026-09-05 23:33:01] local.INFO: TCP Data received {"connection_id":172027,"ip":"42.106.6.15","data_length":1037,"data_hex":"000000000001a072b9a460012d6b5040061416e0000b01632e000f0000000a00..."} 
[2026-09-05 23:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172027,"packet_length":1037,"packet_hex":"000000000001a072b9a460012d6b5040061416e0000b01632e000f0000000a00..."} 
[2026-09-05 23:33:01] local.INFO: Processing buffer {"connection_id":172027,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a072bb61b0012d6b37800614fbf8000801542b..."} 
[2026-09-05 23:33:01] local.INFO: Packet analysis {"connection_id":172027,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a072bb"} 
[2026-09-05 23:33:01] local.INFO: Extracted packet for processing {"connection_id":172027,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072bb"} 
[2026-09-05 23:33:01] local.INFO: GPS Element Parsed {"raw_longitude":762001280,"raw_latitude":102038520,"longitude_deg":76.200128,"latitude_deg":10.203852,"altitude":8,"angle":340,"satellites":43,"speed":8,"hex_longitude":"2d6b3780","hex_latitude":"0614fbf8","is_valid_coordinates":true} 
[2026-09-05 23:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889602816001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400063219936264192,"note":"Value kept but may cause issues"} 
[2026-09-05 23:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7726347399339773952,"note":"Value kept but may cause issues"} 
[2026-09-05 23:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788631278000,"timestamp_ms":1788631278000,"timestamp_seconds":1788631278,"priority":1,"record_length":96,"hex_timestamp":"000001a072bb61b0"} 
[2026-09-05 23:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 23:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:33:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889602816001,"66":27365,"167":206,"79":20992,"24":8,"16":400063219936264192,"45":7726347399339773952},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-09-05 23:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889602816001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:33:01] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-05 23:33:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400063219936264192,"km_value":400063219936264.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7726347399339773952,"description":"Unknown IO ID 45"} 
[2026-09-05 23:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889602816001,"power":27365,"unknown_167":206,"unknown_79":20992,"ignition":8,"odometer":null,"unknown_45":7726347399339773952}} 
[2026-09-05 23:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":172027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:33:01] local.INFO: GPS data processed {"connection_id":172027,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:33:01] local.INFO: Acknowledgment sent {"connection_id":172027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:33:01] local.INFO: Packet analysis {"connection_id":172027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072bb"} 
[2026-09-05 23:33:01] local.INFO: Extracted packet for processing {"connection_id":172027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072bb"} 
[2026-09-05 23:33:01] local.INFO: GPS Element Parsed {"raw_longitude":762001024,"raw_latitude":102038912,"longitude_deg":76.2001024,"latitude_deg":10.2038912,"altitude":8,"angle":324,"satellites":44,"speed":8,"hex_longitude":"2d6b3680","hex_latitude":"0614fd80","is_valid_coordinates":true} 
[2026-09-05 23:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889607168001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400063245706067968,"note":"Value kept but may cause issues"} 
[2026-09-05 23:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7725784449387591680,"note":"Value kept but may cause issues"} 
[2026-09-05 23:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788631280000,"timestamp_ms":1788631280000,"timestamp_seconds":1788631280,"priority":1,"record_length":96,"hex_timestamp":"000001a072bb6980"} 
[2026-09-05 23:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-05 23:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:33:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889607168001,"66":27267,"167":206,"79":20992,"24":8,"16":400063245706067968,"45":7725784449387591680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-09-05 23:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889607168001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:33:01] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-05 23:33:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400063245706067968,"km_value":400063245706067.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7725784449387591680,"description":"Unknown IO ID 45"} 
[2026-09-05 23:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889607168001,"power":27267,"unknown_167":206,"unknown_79":20992,"ignition":8,"odometer":null,"unknown_45":7725784449387591680}} 
[2026-09-05 23:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":172027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:33:01] local.INFO: GPS data processed {"connection_id":172027,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:33:01] local.INFO: Acknowledgment sent {"connection_id":172027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:33:23] local.INFO: TCP Data received {"connection_id":172026,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a072ba5810012d196500071ff1280040014528..."} 
[2026-09-05 23:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ba5810012d196500071ff1280040014528..."} 
[2026-09-05 23:33:23] local.INFO: Processing buffer {"connection_id":172026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ba5810012d196500071ff1280040014528..."} 
[2026-09-05 23:33:23] local.INFO: Packet analysis {"connection_id":172026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ba"} 
[2026-09-05 23:33:23] local.INFO: Extracted packet for processing {"connection_id":172026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ba"} 
[2026-09-05 23:33:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889512704001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788631210000,"timestamp_ms":1788631210000,"timestamp_seconds":1788631210,"priority":1,"record_length":96,"hex_timestamp":"000001a072ba5810"} 
[2026-09-05 23:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:33:23] 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-09-05 23:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 23:33:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889512704001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889512704001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:33:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:33:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889512704001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":172026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:33:23] local.INFO: GPS data processed {"connection_id":172026,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:33:23] local.INFO: Acknowledgment sent {"connection_id":172026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:33:33] local.INFO: TCP Data received {"connection_id":172027,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072bc9648012d6aeec0061651f0000d01542d..."} 
[2026-09-05 23:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072bc9648012d6aeec0061651f0000d01542d..."} 
[2026-09-05 23:33:33] local.INFO: Processing buffer {"connection_id":172027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072bc9648012d6aeec0061651f0000d01542d..."} 
[2026-09-05 23:33:33] local.INFO: Packet analysis {"connection_id":172027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072bc"} 
[2026-09-05 23:33:33] local.INFO: Extracted packet for processing {"connection_id":172027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072bc"} 
[2026-09-05 23:33:33] local.INFO: GPS Element Parsed {"raw_longitude":761982656,"raw_latitude":102126064,"longitude_deg":76.1982656,"latitude_deg":10.2126064,"altitude":13,"angle":340,"satellites":45,"speed":55,"hex_longitude":"2d6aeec0","hex_latitude":"061651f0","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889625600001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400067605097873408,"note":"Value kept but may cause issues"} 
[2026-09-05 23:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7708895950804940800,"note":"Value kept but may cause issues"} 
[2026-09-05 23:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788631357000,"timestamp_ms":1788631357000,"timestamp_seconds":1788631357,"priority":1,"record_length":96,"hex_timestamp":"000001a072bc9648"} 
[2026-09-05 23:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23: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-09-05 23: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":44,"data_length":795,"current_offset":136} 
[2026-09-05 23:33: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-09-05 23: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-09-05 23:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:33: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-09-05 23:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889625600001,"66":27321,"166":206,"79":20992,"24":55,"16":400067605097873408,"45":7708895950804940800},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,79,24,16,45]} 
[2026-09-05 23:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889625600001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:33:33] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-05 23:33:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400067605097873408,"km_value":400067605097873.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7708895950804940800,"description":"Unknown IO ID 45"} 
[2026-09-05 23:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889625600001,"power":27321,"unknown_166":206,"unknown_79":20992,"ignition":55,"odometer":null,"unknown_45":7708895950804940800}} 
[2026-09-05 23:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":172027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:33:33] local.INFO: GPS data processed {"connection_id":172027,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:33:33] local.INFO: Acknowledgment sent {"connection_id":172027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:33:43] local.INFO: TCP Data received {"connection_id":173387,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:33:43] local.INFO: Processing buffer {"connection_id":173387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:33:43] local.INFO: IMEI packet received {"connection_id":173387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":173387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:33:46] local.INFO: TCP Data received {"connection_id":174713,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:33:46] local.INFO: Processing buffer {"connection_id":174713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:33:46] local.INFO: IMEI packet received {"connection_id":174713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":174713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:33:49] local.INFO: TCP Data received {"connection_id":173387,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:33:49] local.INFO: Processing buffer {"connection_id":173387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:33:49] local.INFO: IMEI packet received {"connection_id":173387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":173387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:33:49] local.INFO: TCP Data received {"connection_id":173387,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a072ba5810012d196500071ff1280040014528..."} 
[2026-09-05 23:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ba5810012d196500071ff1280040014528..."} 
[2026-09-05 23:33:49] local.INFO: Processing buffer {"connection_id":173387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ba5810012d196500071ff1280040014528..."} 
[2026-09-05 23:33:49] local.INFO: Packet analysis {"connection_id":173387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ba"} 
[2026-09-05 23:33:49] local.INFO: Extracted packet for processing {"connection_id":173387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ba"} 
[2026-09-05 23:33:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889512704001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788631210000,"timestamp_ms":1788631210000,"timestamp_seconds":1788631210,"priority":1,"record_length":96,"hex_timestamp":"000001a072ba5810"} 
[2026-09-05 23:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:33:49] 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-09-05 23:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 23:33: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-09-05 23: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-09-05 23:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889512704001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889512704001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:33:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:33:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889512704001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":173387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:33:49] local.INFO: GPS data processed {"connection_id":173387,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:33:49] local.INFO: Acknowledgment sent {"connection_id":173387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:33:50] local.INFO: TCP Data received {"connection_id":174713,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:33:50] local.INFO: Processing buffer {"connection_id":174713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:33:50] local.INFO: IMEI packet received {"connection_id":174713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":174713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:33:54] local.INFO: TCP Data received {"connection_id":174713,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:33:54] local.INFO: Processing buffer {"connection_id":174713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:33:54] local.INFO: IMEI packet received {"connection_id":174713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":174713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:33:54] local.INFO: TCP Data received {"connection_id":174713,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072bcb1a0012d6ae200061676c0000c01542d..."} 
[2026-09-05 23:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072bcb1a0012d6ae200061676c0000c01542d..."} 
[2026-09-05 23:33:54] local.INFO: Processing buffer {"connection_id":174713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072bcb1a0012d6ae200061676c0000c01542d..."} 
[2026-09-05 23:33:54] local.INFO: Packet analysis {"connection_id":174713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072bc"} 
[2026-09-05 23:33:54] local.INFO: Extracted packet for processing {"connection_id":174713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072bc"} 
[2026-09-05 23:33:54] local.INFO: GPS Element Parsed {"raw_longitude":761979392,"raw_latitude":102135488,"longitude_deg":76.1979392,"latitude_deg":10.2135488,"altitude":12,"angle":340,"satellites":45,"speed":58,"hex_longitude":"2d6ae200","hex_latitude":"061676c0","is_valid_coordinates":true} 
[2026-09-05 23:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889627392001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400068086134210560,"note":"Value kept but may cause issues"} 
[2026-09-05 23:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7705307144854302720,"note":"Value kept but may cause issues"} 
[2026-09-05 23:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788631364000,"timestamp_ms":1788631364000,"timestamp_seconds":1788631364,"priority":1,"record_length":96,"hex_timestamp":"000001a072bcb1a0"} 
[2026-09-05 23:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:33: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-09-05 23:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 23:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889627392001,"66":27300,"166":206,"79":20992,"24":58,"16":400068086134210560,"45":7705307144854302720},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,79,24,16,45]} 
[2026-09-05 23:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889627392001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:33:54] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-05 23:33:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400068086134210560,"km_value":400068086134210.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":7705307144854302720,"description":"Unknown IO ID 45"} 
[2026-09-05 23:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889627392001,"power":27300,"unknown_166":206,"unknown_79":20992,"ignition":58,"odometer":null,"unknown_45":7705307144854302720}} 
[2026-09-05 23:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":174713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:33:54] local.INFO: GPS data processed {"connection_id":174713,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:33:54] local.INFO: Acknowledgment sent {"connection_id":174713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:34:20] local.INFO: TCP Data received {"connection_id":173387,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a072ba5810012d196500071ff1280040014528..."} 
[2026-09-05 23:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ba5810012d196500071ff1280040014528..."} 
[2026-09-05 23:34:20] local.INFO: Processing buffer {"connection_id":173387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ba5810012d196500071ff1280040014528..."} 
[2026-09-05 23:34:20] local.INFO: Packet analysis {"connection_id":173387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ba"} 
[2026-09-05 23:34:20] local.INFO: Extracted packet for processing {"connection_id":173387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ba"} 
[2026-09-05 23:34:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889512704001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788631210000,"timestamp_ms":1788631210000,"timestamp_seconds":1788631210,"priority":1,"record_length":96,"hex_timestamp":"000001a072ba5810"} 
[2026-09-05 23:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:34:20] 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-09-05 23:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 23:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889512704001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889512704001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:34:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:34:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889512704001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":173387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:34:21] local.INFO: GPS data processed {"connection_id":173387,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:34:21] local.INFO: Acknowledgment sent {"connection_id":173387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:34:26] local.INFO: TCP Data received {"connection_id":174713,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072bcc910012d6ad64006169868000b01542d..."} 
[2026-09-05 23:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072bcc910012d6ad64006169868000b01542d..."} 
[2026-09-05 23:34:26] local.INFO: Processing buffer {"connection_id":174713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072bcc910012d6ad64006169868000b01542d..."} 
[2026-09-05 23:34:26] local.INFO: Packet analysis {"connection_id":174713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072bc"} 
[2026-09-05 23:34:26] local.INFO: Extracted packet for processing {"connection_id":174713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072bc"} 
[2026-09-05 23:34:26] local.INFO: GPS Element Parsed {"raw_longitude":761976384,"raw_latitude":102144104,"longitude_deg":76.1976384,"latitude_deg":10.2144104,"altitude":11,"angle":340,"satellites":45,"speed":61,"hex_longitude":"2d6ad640","hex_latitude":"06169868","is_valid_coordinates":true} 
[2026-09-05 23:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889629184001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400068528515842048,"note":"Value kept but may cause issues"} 
[2026-09-05 23:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7701718338903654400,"note":"Value kept but may cause issues"} 
[2026-09-05 23:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788631370000,"timestamp_ms":1788631370000,"timestamp_seconds":1788631370,"priority":1,"record_length":96,"hex_timestamp":"000001a072bcc910"} 
[2026-09-05 23:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-05 23:34:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889629184001,"66":27289,"166":206,"79":20992,"24":61,"16":400068528515842048,"45":7701718338903654400},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,79,24,16,45]} 
[2026-09-05 23:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889629184001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:34:26] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-05 23:34:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400068528515842048,"km_value":400068528515842.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":7701718338903654400,"description":"Unknown IO ID 45"} 
[2026-09-05 23:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889629184001,"power":27289,"unknown_166":206,"unknown_79":20992,"ignition":61,"odometer":null,"unknown_45":7701718338903654400}} 
[2026-09-05 23:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":174713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:34:26] local.INFO: GPS data processed {"connection_id":174713,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:34:26] local.INFO: Acknowledgment sent {"connection_id":174713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:34:49] local.INFO: TCP Data received {"connection_id":173388,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:34:49] local.INFO: Processing buffer {"connection_id":173388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:34:49] local.INFO: IMEI packet received {"connection_id":173388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":173388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:34:49] local.INFO: TCP Data received {"connection_id":174714,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:34:49] local.INFO: Processing buffer {"connection_id":174714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:34:49] local.INFO: IMEI packet received {"connection_id":174714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":174714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:34:51] local.INFO: TCP Data received {"connection_id":174714,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:34:51] local.INFO: Processing buffer {"connection_id":174714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:34:51] local.INFO: IMEI packet received {"connection_id":174714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":174714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:34:54] local.INFO: TCP Data received {"connection_id":173388,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:34:54] local.INFO: Processing buffer {"connection_id":173388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:34:54] local.INFO: IMEI packet received {"connection_id":173388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":173388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:34:54] local.INFO: TCP Data received {"connection_id":173388,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072ba5810012d196500071ff1280040014528..."} 
[2026-09-05 23:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ba5810012d196500071ff1280040014528..."} 
[2026-09-05 23:34:54] local.INFO: Processing buffer {"connection_id":173388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ba5810012d196500071ff1280040014528..."} 
[2026-09-05 23:34:54] local.INFO: Packet analysis {"connection_id":173388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ba"} 
[2026-09-05 23:34:54] local.INFO: Extracted packet for processing {"connection_id":173388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ba"} 
[2026-09-05 23:34:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889512704001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788631210000,"timestamp_ms":1788631210000,"timestamp_seconds":1788631210,"priority":1,"record_length":96,"hex_timestamp":"000001a072ba5810"} 
[2026-09-05 23:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:34:54] 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-09-05 23:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 23:34:54] 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-09-05 23:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889512704001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889512704001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:34:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:34:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889512704001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:34:54] local.INFO: TCP Data received {"connection_id":174714,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:34:54] local.INFO: Processing buffer {"connection_id":174714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:34:54] local.INFO: IMEI packet received {"connection_id":174714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":174714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":173388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:34:54] local.INFO: GPS data processed {"connection_id":173388,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:34:54] local.INFO: Acknowledgment sent {"connection_id":173388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:34:55] local.INFO: TCP Data received {"connection_id":174714,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072bdda80012d6a8ec0061819800008015b2a..."} 
[2026-09-05 23:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072bdda80012d6a8ec0061819800008015b2a..."} 
[2026-09-05 23:34:55] local.INFO: Processing buffer {"connection_id":174714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072bdda80012d6a8ec0061819800008015b2a..."} 
[2026-09-05 23:34:55] local.INFO: Packet analysis {"connection_id":174714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072bd"} 
[2026-09-05 23:34:55] local.INFO: Extracted packet for processing {"connection_id":174714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072bd"} 
[2026-09-05 23:34:55] local.INFO: GPS Element Parsed {"raw_longitude":761958080,"raw_latitude":102242688,"longitude_deg":76.195808,"latitude_deg":10.2242688,"altitude":8,"angle":347,"satellites":42,"speed":37,"hex_longitude":"2d6a8ec0","hex_latitude":"06181980","is_valid_coordinates":true} 
[2026-09-05 23:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889647360001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400073433368494080,"note":"Value kept but may cause issues"} 
[2026-09-05 23:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7678848497071927296,"note":"Value kept but may cause issues"} 
[2026-09-05 23:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788631440000,"timestamp_ms":1788631440000,"timestamp_seconds":1788631440,"priority":1,"record_length":96,"hex_timestamp":"000001a072bdda80"} 
[2026-09-05 23:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-05 23:34:55] 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-09-05 23:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889647360001,"66":27365,"229":206,"79":20992,"24":37,"16":400073433368494080,"45":7678848497071927296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-09-05 23:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889647360001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:34:55] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 23:34:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400073433368494080,"km_value":400073433368494.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":7678848497071927296,"description":"Unknown IO ID 45"} 
[2026-09-05 23:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889647360001,"power":27365,"unknown_229":206,"unknown_79":20992,"ignition":37,"odometer":null,"unknown_45":7678848497071927296}} 
[2026-09-05 23:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":174714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:34:55] local.INFO: GPS data processed {"connection_id":174714,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:34:55] local.INFO: Acknowledgment sent {"connection_id":174714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:34:59] local.INFO: TCP Data received {"connection_id":173388,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072ba5810012d196500071ff1280040014528..."} 
[2026-09-05 23:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ba5810012d196500071ff1280040014528..."} 
[2026-09-05 23:34:59] local.INFO: Processing buffer {"connection_id":173388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ba5810012d196500071ff1280040014528..."} 
[2026-09-05 23:34:59] local.INFO: Packet analysis {"connection_id":173388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ba"} 
[2026-09-05 23:34:59] local.INFO: Extracted packet for processing {"connection_id":173388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ba"} 
[2026-09-05 23:34:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889512704001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788631210000,"timestamp_ms":1788631210000,"timestamp_seconds":1788631210,"priority":1,"record_length":96,"hex_timestamp":"000001a072ba5810"} 
[2026-09-05 23:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-05 23:34:59] 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-09-05 23:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889512704001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889512704001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:34:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:34:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889512704001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":173388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:34:59] local.INFO: GPS data processed {"connection_id":173388,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:34:59] local.INFO: Acknowledgment sent {"connection_id":173388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:35:26] local.INFO: TCP Data received {"connection_id":174714,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072bde638012d6a8d4006182388000701662b..."} 
[2026-09-05 23:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072bde638012d6a8d4006182388000701662b..."} 
[2026-09-05 23:35:26] local.INFO: Processing buffer {"connection_id":174714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072bde638012d6a8d4006182388000701662b..."} 
[2026-09-05 23:35:26] local.INFO: Packet analysis {"connection_id":174714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072bd"} 
[2026-09-05 23:35:26] local.INFO: Extracted packet for processing {"connection_id":174714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072bd"} 
[2026-09-05 23:35:26] local.INFO: GPS Element Parsed {"raw_longitude":761957696,"raw_latitude":102245256,"longitude_deg":76.1957696,"latitude_deg":10.2245256,"altitude":7,"angle":358,"satellites":43,"speed":33,"hex_longitude":"2d6a8d40","hex_latitude":"06182388","is_valid_coordinates":true} 
[2026-09-05 23:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889648640001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400073557922545664,"note":"Value kept but may cause issues"} 
[2026-09-05 23:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7678285547119935488,"note":"Value kept but may cause issues"} 
[2026-09-05 23:35:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788631443000,"timestamp_ms":1788631443000,"timestamp_seconds":1788631443,"priority":1,"record_length":96,"hex_timestamp":"000001a072bde638"} 
[2026-09-05 23:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-05 23:35:26] 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-09-05 23:35:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:35:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889648640001,"66":27300,"229":206,"79":20992,"24":33,"16":400073557922545664,"45":7678285547119935488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-09-05 23:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889648640001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:35:26] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 23:35:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400073557922545664,"km_value":400073557922545.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":7678285547119935488,"description":"Unknown IO ID 45"} 
[2026-09-05 23:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889648640001,"power":27300,"unknown_229":206,"unknown_79":20992,"ignition":33,"odometer":null,"unknown_45":7678285547119935488}} 
[2026-09-05 23:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":174714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:35:26] local.INFO: GPS data processed {"connection_id":174714,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:35:26] local.INFO: Acknowledgment sent {"connection_id":174714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:35:44] local.INFO: TCP Data received {"connection_id":173390,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:35:44] local.INFO: Processing buffer {"connection_id":173390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:35:44] local.INFO: IMEI packet received {"connection_id":173390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":173390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:35:49] local.INFO: TCP Data received {"connection_id":173390,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:35:49] local.INFO: Processing buffer {"connection_id":173390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:35:49] local.INFO: IMEI packet received {"connection_id":173390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":173390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:35:50] local.INFO: TCP Data received {"connection_id":173390,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a072beefd8012d196500071ff1280040014527..."} 
[2026-09-05 23:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072beefd8012d196500071ff1280040014527..."} 
[2026-09-05 23:35:50] local.INFO: Processing buffer {"connection_id":173390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072beefd8012d196500071ff1280040014527..."} 
[2026-09-05 23:35:50] local.INFO: Packet analysis {"connection_id":173390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072be"} 
[2026-09-05 23:35:50] local.INFO: Extracted packet for processing {"connection_id":173390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072be"} 
[2026-09-05 23:35:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889589760001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788631511000,"timestamp_ms":1788631511000,"timestamp_seconds":1788631511,"priority":1,"record_length":96,"hex_timestamp":"000001a072beefd8"} 
[2026-09-05 23:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23: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-09-05 23:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889589760001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889589760001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:35:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:35:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889589760001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":173390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:35:50] local.INFO: GPS data processed {"connection_id":173390,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:35:50] local.INFO: Acknowledgment sent {"connection_id":173390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:35:51] local.INFO: TCP Data received {"connection_id":172029,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:35:51] local.INFO: Processing buffer {"connection_id":172029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:35:51] local.INFO: IMEI packet received {"connection_id":172029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":172029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:35:55] local.INFO: TCP Data received {"connection_id":172029,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:35:55] local.INFO: Processing buffer {"connection_id":172029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:35:55] local.INFO: IMEI packet received {"connection_id":172029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":172029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:36:00] local.INFO: TCP Data received {"connection_id":172029,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:36:00] local.INFO: Processing buffer {"connection_id":172029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:36:00] local.INFO: IMEI packet received {"connection_id":172029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":172029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:36:00] local.INFO: TCP Data received {"connection_id":172029,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072be0d48012d6a8d80061847e8000701672a..."} 
[2026-09-05 23:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072be0d48012d6a8d80061847e8000701672a..."} 
[2026-09-05 23:36:00] local.INFO: Processing buffer {"connection_id":172029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072be0d48012d6a8d80061847e8000701672a..."} 
[2026-09-05 23:36:00] local.INFO: Packet analysis {"connection_id":172029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072be"} 
[2026-09-05 23:36:00] local.INFO: Extracted packet for processing {"connection_id":172029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072be"} 
[2026-09-05 23:36:00] local.INFO: GPS Element Parsed {"raw_longitude":761957760,"raw_latitude":102254568,"longitude_deg":76.195776,"latitude_deg":10.2254568,"altitude":7,"angle":359,"satellites":42,"speed":41,"hex_longitude":"2d6a8d80","hex_latitude":"061847e8","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889649408001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400074013189079040,"note":"Value kept but may cause issues"} 
[2026-09-05 23:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7677863334655526912,"note":"Value kept but may cause issues"} 
[2026-09-05 23:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788631453000,"timestamp_ms":1788631453000,"timestamp_seconds":1788631453,"priority":1,"record_length":96,"hex_timestamp":"000001a072be0d48"} 
[2026-09-05 23:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-05 23:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23: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-09-05 23:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889649408001,"66":27115,"229":206,"79":20992,"24":41,"16":400074013189079040,"45":7677863334655526912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-09-05 23:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889649408001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:36:00] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-05 23:36:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400074013189079040,"km_value":400074013189079.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7677863334655526912,"description":"Unknown IO ID 45"} 
[2026-09-05 23:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889649408001,"power":27115,"unknown_229":206,"unknown_79":20992,"ignition":41,"odometer":null,"unknown_45":7677863334655526912}} 
[2026-09-05 23:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":172029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:36:00] local.INFO: GPS data processed {"connection_id":172029,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:36:00] local.INFO: Acknowledgment sent {"connection_id":172029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:36:01] local.INFO: TCP Data received {"connection_id":172029,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072be3840012d6a8b4006186b00000701602c..."} 
[2026-09-05 23:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072be3840012d6a8b4006186b00000701602c..."} 
[2026-09-05 23:36:01] local.INFO: Processing buffer {"connection_id":172029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072be3840012d6a8b4006186b00000701602c..."} 
[2026-09-05 23:36:01] local.INFO: Packet analysis {"connection_id":172029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072be"} 
[2026-09-05 23:36:01] local.INFO: Extracted packet for processing {"connection_id":172029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072be"} 
[2026-09-05 23:36:01] local.INFO: GPS Element Parsed {"raw_longitude":761957184,"raw_latitude":102263552,"longitude_deg":76.1957184,"latitude_deg":10.2263552,"altitude":7,"angle":352,"satellites":44,"speed":24,"hex_longitude":"2d6a8b40","hex_latitude":"06186b00","is_valid_coordinates":true} 
[2026-09-05 23:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889651968001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400074446980775936,"note":"Value kept but may cause issues"} 
[2026-09-05 23:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7677933703402088448,"note":"Value kept but may cause issues"} 
[2026-09-05 23:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788631464000,"timestamp_ms":1788631464000,"timestamp_seconds":1788631464,"priority":1,"record_length":96,"hex_timestamp":"000001a072be3840"} 
[2026-09-05 23:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-09-05 23:36:01] 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-09-05 23:36:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889651968001,"66":27365,"181":206,"79":20992,"24":24,"16":400074446980775936,"45":7677933703402088448},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,79,24,16,45]} 
[2026-09-05 23:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889651968001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:36:01] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-05 23:36:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400074446980775936,"km_value":400074446980775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7677933703402088448,"description":"Unknown IO ID 45"} 
[2026-09-05 23:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889651968001,"power":27365,"unknown_181":206,"unknown_79":20992,"ignition":24,"odometer":null,"unknown_45":7677933703402088448}} 
[2026-09-05 23:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":172029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:36:01] local.INFO: GPS data processed {"connection_id":172029,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:36:01] local.INFO: Acknowledgment sent {"connection_id":172029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:36:21] local.INFO: TCP Data received {"connection_id":173390,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a072beefd8012d196500071ff1280040014527..."} 
[2026-09-05 23:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072beefd8012d196500071ff1280040014527..."} 
[2026-09-05 23:36:21] local.INFO: Processing buffer {"connection_id":173390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072beefd8012d196500071ff1280040014527..."} 
[2026-09-05 23:36:21] local.INFO: Packet analysis {"connection_id":173390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072be"} 
[2026-09-05 23:36:21] local.INFO: Extracted packet for processing {"connection_id":173390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072be"} 
[2026-09-05 23:36:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889589760001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788631511000,"timestamp_ms":1788631511000,"timestamp_seconds":1788631511,"priority":1,"record_length":96,"hex_timestamp":"000001a072beefd8"} 
[2026-09-05 23:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23: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-09-05 23:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889589760001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889589760001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:36:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:36:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889589760001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":173390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:36:21] local.INFO: GPS data processed {"connection_id":173390,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:36:21] local.INFO: Acknowledgment sent {"connection_id":173390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:36:33] local.INFO: TCP Data received {"connection_id":172029,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072be6b08012d6a860006188e980008015e2a..."} 
[2026-09-05 23:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072be6b08012d6a860006188e980008015e2a..."} 
[2026-09-05 23:36:33] local.INFO: Processing buffer {"connection_id":172029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072be6b08012d6a860006188e980008015e2a..."} 
[2026-09-05 23:36:33] local.INFO: Packet analysis {"connection_id":172029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072be"} 
[2026-09-05 23:36:33] local.INFO: Extracted packet for processing {"connection_id":172029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072be"} 
[2026-09-05 23:36:33] local.INFO: GPS Element Parsed {"raw_longitude":761955840,"raw_latitude":102272664,"longitude_deg":76.195584,"latitude_deg":10.2272664,"altitude":8,"angle":350,"satellites":42,"speed":33,"hex_longitude":"2d6a8600","hex_latitude":"06188e98","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889654784001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400074893657374720,"note":"Value kept but may cause issues"} 
[2026-09-05 23:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7677300384706789376,"note":"Value kept but may cause issues"} 
[2026-09-05 23:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788631477000,"timestamp_ms":1788631477000,"timestamp_seconds":1788631477,"priority":1,"record_length":96,"hex_timestamp":"000001a072be6b08"} 
[2026-09-05 23:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:36: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-09-05 23: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":229,"data_length":795,"current_offset":136} 
[2026-09-05 23:36: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-09-05 23: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-09-05 23:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:36: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-09-05 23:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889654784001,"66":27300,"181":206,"79":20992,"24":33,"16":400074893657374720,"45":7677300384706789376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,79,24,16,45]} 
[2026-09-05 23:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889654784001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:36:33] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-05 23:36:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400074893657374720,"km_value":400074893657374.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7677300384706789376,"description":"Unknown IO ID 45"} 
[2026-09-05 23:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889654784001,"power":27300,"unknown_181":206,"unknown_79":20992,"ignition":33,"odometer":null,"unknown_45":7677300384706789376}} 
[2026-09-05 23:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":172029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:36:33] local.INFO: GPS data processed {"connection_id":172029,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:36:33] local.INFO: Acknowledgment sent {"connection_id":172029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:36:43] local.INFO: TCP Data received {"connection_id":172030,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:36:43] local.INFO: Processing buffer {"connection_id":172030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:36:43] local.INFO: IMEI packet received {"connection_id":172030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":172030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:36:49] local.INFO: TCP Data received {"connection_id":172030,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:36:49] local.INFO: Processing buffer {"connection_id":172030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:36:49] local.INFO: IMEI packet received {"connection_id":172030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":172030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:36:49] local.INFO: TCP Data received {"connection_id":172030,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a072beefd8012d196500071ff1280040014527..."} 
[2026-09-05 23:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072beefd8012d196500071ff1280040014527..."} 
[2026-09-05 23:36:49] local.INFO: Processing buffer {"connection_id":172030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072beefd8012d196500071ff1280040014527..."} 
[2026-09-05 23:36:49] local.INFO: Packet analysis {"connection_id":172030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072be"} 
[2026-09-05 23:36:49] local.INFO: Extracted packet for processing {"connection_id":172030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072be"} 
[2026-09-05 23:36:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889589760001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788631511000,"timestamp_ms":1788631511000,"timestamp_seconds":1788631511,"priority":1,"record_length":96,"hex_timestamp":"000001a072beefd8"} 
[2026-09-05 23:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:36:49] 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-09-05 23:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:36:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889589760001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889589760001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:36:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:36:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889589760001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":172030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:36:49] local.INFO: GPS data processed {"connection_id":172030,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:36:49] local.INFO: Acknowledgment sent {"connection_id":172030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:36:50] local.INFO: TCP Data received {"connection_id":174715,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:36:50] local.INFO: Processing buffer {"connection_id":174715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:36:50] local.INFO: IMEI packet received {"connection_id":174715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":174715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:36:52] local.INFO: TCP Data received {"connection_id":174715,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:36:52] local.INFO: Processing buffer {"connection_id":174715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:36:52] local.INFO: IMEI packet received {"connection_id":174715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":174715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:36:53] local.INFO: TCP Data received {"connection_id":174715,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072be9218012d6a80800618b2480008016127..."} 
[2026-09-05 23:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072be9218012d6a80800618b2480008016127..."} 
[2026-09-05 23:36:53] local.INFO: Processing buffer {"connection_id":174715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072be9218012d6a80800618b2480008016127..."} 
[2026-09-05 23:36:53] local.INFO: Packet analysis {"connection_id":174715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072be"} 
[2026-09-05 23:36:53] local.INFO: Extracted packet for processing {"connection_id":174715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072be"} 
[2026-09-05 23:36:53] local.INFO: GPS Element Parsed {"raw_longitude":761954432,"raw_latitude":102281800,"longitude_deg":76.1954432,"latitude_deg":10.22818,"altitude":8,"angle":353,"satellites":39,"speed":38,"hex_longitude":"2d6a8080","hex_latitude":"0618b248","is_valid_coordinates":true} 
[2026-09-05 23:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889658112001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400075344628940800,"note":"Value kept but may cause issues"} 
[2026-09-05 23:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7675822641081391104,"note":"Value kept but may cause issues"} 
[2026-09-05 23:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788631487000,"timestamp_ms":1788631487000,"timestamp_seconds":1788631487,"priority":1,"record_length":96,"hex_timestamp":"000001a072be9218"} 
[2026-09-05 23:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-05 23:36: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-09-05 23:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889658112001,"66":27213,"181":206,"79":20992,"24":38,"16":400075344628940800,"45":7675822641081391104},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,79,24,16,45]} 
[2026-09-05 23:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889658112001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:36:53] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-05 23:36:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400075344628940800,"km_value":400075344628940.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":7675822641081391104,"description":"Unknown IO ID 45"} 
[2026-09-05 23:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889658112001,"power":27213,"unknown_181":206,"unknown_79":20992,"ignition":38,"odometer":null,"unknown_45":7675822641081391104}} 
[2026-09-05 23:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":174715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:36:53] local.INFO: GPS data processed {"connection_id":174715,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:36:53] local.INFO: Acknowledgment sent {"connection_id":174715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:37:18] local.INFO: TCP Data received {"connection_id":172270,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172270,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:37:18] local.INFO: Processing buffer {"connection_id":172270,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:37:18] local.INFO: IMEI packet received {"connection_id":172270,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 23:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":172270,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:37:20] local.INFO: TCP Data received {"connection_id":172030,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a072beefd8012d196500071ff1280040014527..."} 
[2026-09-05 23:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072beefd8012d196500071ff1280040014527..."} 
[2026-09-05 23:37:20] local.INFO: Processing buffer {"connection_id":172030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072beefd8012d196500071ff1280040014527..."} 
[2026-09-05 23:37:20] local.INFO: Packet analysis {"connection_id":172030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072be"} 
[2026-09-05 23:37:20] local.INFO: Extracted packet for processing {"connection_id":172030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072be"} 
[2026-09-05 23:37:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889589760001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788631511000,"timestamp_ms":1788631511000,"timestamp_seconds":1788631511,"priority":1,"record_length":96,"hex_timestamp":"000001a072beefd8"} 
[2026-09-05 23:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:37:20] 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-09-05 23:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889589760001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889589760001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:37:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:37:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889589760001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":172030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:37:21] local.INFO: GPS data processed {"connection_id":172030,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:37:21] local.INFO: Acknowledgment sent {"connection_id":172030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:37:25] local.INFO: TCP Data received {"connection_id":174715,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072beb540012d6a7d400618d6600007016428..."} 
[2026-09-05 23:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072beb540012d6a7d400618d6600007016428..."} 
[2026-09-05 23:37:25] local.INFO: Processing buffer {"connection_id":174715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072beb540012d6a7d400618d6600007016428..."} 
[2026-09-05 23:37:25] local.INFO: Packet analysis {"connection_id":174715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072be"} 
[2026-09-05 23:37:25] local.INFO: Extracted packet for processing {"connection_id":174715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072be"} 
[2026-09-05 23:37:25] local.INFO: GPS Element Parsed {"raw_longitude":761953600,"raw_latitude":102291040,"longitude_deg":76.19536,"latitude_deg":10.229104,"altitude":7,"angle":356,"satellites":40,"speed":44,"hex_longitude":"2d6a7d40","hex_latitude":"0618d660","is_valid_coordinates":true} 
[2026-09-05 23:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889660672001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400075791305539584,"note":"Value kept but may cause issues"} 
[2026-09-05 23:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7674274528711821312,"note":"Value kept but may cause issues"} 
[2026-09-05 23:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788631496000,"timestamp_ms":1788631496000,"timestamp_seconds":1788631496,"priority":1,"record_length":96,"hex_timestamp":"000001a072beb540"} 
[2026-09-05 23:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-05 23:37:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889660672001,"66":27463,"181":206,"79":20992,"24":44,"16":400075791305539584,"45":7674274528711821312},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,79,24,16,45]} 
[2026-09-05 23:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889660672001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:37:25] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-05 23:37:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400075791305539584,"km_value":400075791305539.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":7674274528711821312,"description":"Unknown IO ID 45"} 
[2026-09-05 23:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889660672001,"power":27463,"unknown_181":206,"unknown_79":20992,"ignition":44,"odometer":null,"unknown_45":7674274528711821312}} 
[2026-09-05 23:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":174715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:37:25] local.INFO: GPS data processed {"connection_id":174715,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:37:25] local.INFO: Acknowledgment sent {"connection_id":174715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:37:43] local.INFO: TCP Data received {"connection_id":172031,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:37:43] local.INFO: Processing buffer {"connection_id":172031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:37:43] local.INFO: IMEI packet received {"connection_id":172031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":172031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:37:48] local.INFO: TCP Data received {"connection_id":174716,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:37:48] local.INFO: Processing buffer {"connection_id":174716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:37:48] local.INFO: IMEI packet received {"connection_id":174716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":174716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:37:49] local.INFO: TCP Data received {"connection_id":172031,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:37:49] local.INFO: Processing buffer {"connection_id":172031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:37:49] local.INFO: IMEI packet received {"connection_id":172031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":172031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:37:49] local.INFO: TCP Data received {"connection_id":174716,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:37:49] local.INFO: Processing buffer {"connection_id":174716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:37:49] local.INFO: IMEI packet received {"connection_id":174716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":174716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:37:49] local.INFO: TCP Data received {"connection_id":172031,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072beefd8012d196500071ff1280040014527..."} 
[2026-09-05 23:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072beefd8012d196500071ff1280040014527..."} 
[2026-09-05 23:37:49] local.INFO: Processing buffer {"connection_id":172031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072beefd8012d196500071ff1280040014527..."} 
[2026-09-05 23:37:49] local.INFO: Packet analysis {"connection_id":172031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072be"} 
[2026-09-05 23:37:49] local.INFO: Extracted packet for processing {"connection_id":172031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072be"} 
[2026-09-05 23:37:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889589760001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788631511000,"timestamp_ms":1788631511000,"timestamp_seconds":1788631511,"priority":1,"record_length":96,"hex_timestamp":"000001a072beefd8"} 
[2026-09-05 23:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:37:49] 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-09-05 23:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889589760001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889589760001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:37:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:37:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889589760001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":172031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:37:49] local.INFO: GPS data processed {"connection_id":172031,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:37:49] local.INFO: Acknowledgment sent {"connection_id":172031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:37:55] local.INFO: TCP Data received {"connection_id":174716,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:37:55] local.INFO: Processing buffer {"connection_id":174716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:37:55] local.INFO: IMEI packet received {"connection_id":174716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":174716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:37:55] local.INFO: TCP Data received {"connection_id":174716,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072c06ac0012d6a1f00061a41b8000501531f..."} 
[2026-09-05 23:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c06ac0012d6a1f00061a41b8000501531f..."} 
[2026-09-05 23:37:55] local.INFO: Processing buffer {"connection_id":174716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c06ac0012d6a1f00061a41b8000501531f..."} 
[2026-09-05 23:37:55] local.INFO: Packet analysis {"connection_id":174716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c0"} 
[2026-09-05 23:37:55] local.INFO: Extracted packet for processing {"connection_id":174716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c0"} 
[2026-09-05 23:37:55] local.INFO: GPS Element Parsed {"raw_longitude":761929472,"raw_latitude":102384056,"longitude_deg":76.1929472,"latitude_deg":10.2384056,"altitude":5,"angle":339,"satellites":31,"speed":35,"hex_longitude":"2d6a1f00","hex_latitude":"061a41b8","is_valid_coordinates":true} 
[2026-09-05 23:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889689344001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400080477114859520,"note":"Value kept but may cause issues"} 
[2026-09-05 23:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7649997311994544128,"note":"Value kept but may cause issues"} 
[2026-09-05 23:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788631608000,"timestamp_ms":1788631608000,"timestamp_seconds":1788631608,"priority":1,"record_length":96,"hex_timestamp":"000001a072c06ac0"} 
[2026-09-05 23:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-05 23:37:55] 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-09-05 23:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889689344001,"66":27245,"126":206,"79":20992,"24":35,"16":400080477114859520,"45":7649997311994544128},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-09-05 23:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889689344001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:37:55] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-05 23:37:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400080477114859520,"km_value":400080477114859.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":7649997311994544128,"description":"Unknown IO ID 45"} 
[2026-09-05 23:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889689344001,"power":27245,"unknown_126":206,"unknown_79":20992,"ignition":35,"odometer":null,"unknown_45":7649997311994544128}} 
[2026-09-05 23:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":174716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:37:55] local.INFO: GPS data processed {"connection_id":174716,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:37:55] local.INFO: Acknowledgment sent {"connection_id":174716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:38:20] local.INFO: TCP Data received {"connection_id":172031,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072beefd8012d196500071ff1280040014527..."} 
[2026-09-05 23:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072beefd8012d196500071ff1280040014527..."} 
[2026-09-05 23:38:20] local.INFO: Processing buffer {"connection_id":172031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072beefd8012d196500071ff1280040014527..."} 
[2026-09-05 23:38:20] local.INFO: Packet analysis {"connection_id":172031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072be"} 
[2026-09-05 23:38:20] local.INFO: Extracted packet for processing {"connection_id":172031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072be"} 
[2026-09-05 23:38:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889589760001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788631511000,"timestamp_ms":1788631511000,"timestamp_seconds":1788631511,"priority":1,"record_length":96,"hex_timestamp":"000001a072beefd8"} 
[2026-09-05 23:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:38:20] 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-09-05 23:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23: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-09-05 23:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889589760001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889589760001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:38:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:38:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889589760001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":172031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:38:21] local.INFO: GPS data processed {"connection_id":172031,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:38:21] local.INFO: Acknowledgment sent {"connection_id":172031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:38:26] local.INFO: TCP Data received {"connection_id":174716,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072c08a00012d6a15c0061a5710000501451f..."} 
[2026-09-05 23:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c08a00012d6a15c0061a5710000501451f..."} 
[2026-09-05 23:38:26] local.INFO: Processing buffer {"connection_id":174716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c08a00012d6a15c0061a5710000501451f..."} 
[2026-09-05 23:38:26] local.INFO: Packet analysis {"connection_id":174716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c0"} 
[2026-09-05 23:38:26] local.INFO: Extracted packet for processing {"connection_id":174716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c0"} 
[2026-09-05 23:38:26] local.INFO: GPS Element Parsed {"raw_longitude":761927104,"raw_latitude":102389520,"longitude_deg":76.1927104,"latitude_deg":10.238952,"altitude":5,"angle":325,"satellites":31,"speed":26,"hex_longitude":"2d6a15c0","hex_latitude":"061a5710","is_valid_coordinates":true} 
[2026-09-05 23:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889691648001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400080769172635648,"note":"Value kept but may cause issues"} 
[2026-09-05 23:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7646830718508709888,"note":"Value kept but may cause issues"} 
[2026-09-05 23:38:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788631616000,"timestamp_ms":1788631616000,"timestamp_seconds":1788631616,"priority":1,"record_length":96,"hex_timestamp":"000001a072c08a00"} 
[2026-09-05 23:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-05 23:38:26] 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-09-05 23:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:38:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889691648001,"66":27213,"126":206,"79":20992,"24":26,"16":400080769172635648,"45":7646830718508709888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-09-05 23:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889691648001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:38:26] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-05 23:38:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400080769172635648,"km_value":400080769172635.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":7646830718508709888,"description":"Unknown IO ID 45"} 
[2026-09-05 23:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889691648001,"power":27213,"unknown_126":206,"unknown_79":20992,"ignition":26,"odometer":null,"unknown_45":7646830718508709888}} 
[2026-09-05 23:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":174716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:38:26] local.INFO: GPS data processed {"connection_id":174716,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:38:26] local.INFO: Acknowledgment sent {"connection_id":174716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:38:48] local.INFO: TCP Data received {"connection_id":173392,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:38:48] local.INFO: Processing buffer {"connection_id":173392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:38:48] local.INFO: IMEI packet received {"connection_id":173392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":173392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:38:49] local.INFO: TCP Data received {"connection_id":173391,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:38:49] local.INFO: Processing buffer {"connection_id":173391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:38:49] local.INFO: IMEI packet received {"connection_id":173391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":173391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:38:49] local.INFO: TCP Data received {"connection_id":173392,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:38:49] local.INFO: Processing buffer {"connection_id":173392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:38:49] local.INFO: IMEI packet received {"connection_id":173392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":173392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:38:54] local.INFO: TCP Data received {"connection_id":173391,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:38:54] local.INFO: Processing buffer {"connection_id":173391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:38:54] local.INFO: IMEI packet received {"connection_id":173391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":173391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:38:54] local.INFO: TCP Data received {"connection_id":173391,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a072beefd8012d196500071ff1280040014527..."} 
[2026-09-05 23:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072beefd8012d196500071ff1280040014527..."} 
[2026-09-05 23:38:54] local.INFO: Processing buffer {"connection_id":173391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072beefd8012d196500071ff1280040014527..."} 
[2026-09-05 23:38:54] local.INFO: Packet analysis {"connection_id":173391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072be"} 
[2026-09-05 23:38:54] local.INFO: Extracted packet for processing {"connection_id":173391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072be"} 
[2026-09-05 23:38:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889589760001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788631511000,"timestamp_ms":1788631511000,"timestamp_seconds":1788631511,"priority":1,"record_length":96,"hex_timestamp":"000001a072beefd8"} 
[2026-09-05 23:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:38:54] 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-09-05 23:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889589760001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889589760001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:38:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:38:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889589760001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":173391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:38:54] local.INFO: GPS data processed {"connection_id":173391,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:38:54] local.INFO: Acknowledgment sent {"connection_id":173391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:38:54] local.INFO: TCP Data received {"connection_id":173392,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:38:54] local.INFO: Processing buffer {"connection_id":173392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:38:54] local.INFO: IMEI packet received {"connection_id":173392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":173392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:38:55] local.INFO: TCP Data received {"connection_id":173392,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072c09d88012d6a0f00061a63200005015222..."} 
[2026-09-05 23:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c09d88012d6a0f00061a63200005015222..."} 
[2026-09-05 23:38:55] local.INFO: Processing buffer {"connection_id":173392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c09d88012d6a0f00061a63200005015222..."} 
[2026-09-05 23:38:55] local.INFO: Packet analysis {"connection_id":173392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c0"} 
[2026-09-05 23:38:55] local.INFO: Extracted packet for processing {"connection_id":173392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c0"} 
[2026-09-05 23:38:55] local.INFO: GPS Element Parsed {"raw_longitude":761925376,"raw_latitude":102392608,"longitude_deg":76.1925376,"latitude_deg":10.2392608,"altitude":5,"angle":338,"satellites":34,"speed":32,"hex_longitude":"2d6a0f00","hex_latitude":"061a6320","is_valid_coordinates":true} 
[2026-09-05 23:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889693696001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400080940971327488,"note":"Value kept but may cause issues"} 
[2026-09-05 23:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7644227074975535104,"note":"Value kept but may cause issues"} 
[2026-09-05 23:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788631621000,"timestamp_ms":1788631621000,"timestamp_seconds":1788631621,"priority":1,"record_length":96,"hex_timestamp":"000001a072c09d88"} 
[2026-09-05 23:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-05 23:38:55] 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-09-05 23:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889693696001,"66":27158,"126":206,"79":20992,"24":32,"16":400080940971327488,"45":7644227074975535104},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-09-05 23:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889693696001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:38:55] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-05 23:38:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400080940971327488,"km_value":400080940971327.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":7644227074975535104,"description":"Unknown IO ID 45"} 
[2026-09-05 23:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889693696001,"power":27158,"unknown_126":206,"unknown_79":20992,"ignition":32,"odometer":null,"unknown_45":7644227074975535104}} 
[2026-09-05 23:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":173392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:38:55] local.INFO: GPS data processed {"connection_id":173392,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:38:55] local.INFO: Acknowledgment sent {"connection_id":173392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:38:59] local.INFO: TCP Data received {"connection_id":173391,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a072beefd8012d196500071ff1280040014527..."} 
[2026-09-05 23:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072beefd8012d196500071ff1280040014527..."} 
[2026-09-05 23:38:59] local.INFO: Processing buffer {"connection_id":173391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072beefd8012d196500071ff1280040014527..."} 
[2026-09-05 23:38:59] local.INFO: Packet analysis {"connection_id":173391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072be"} 
[2026-09-05 23:38:59] local.INFO: Extracted packet for processing {"connection_id":173391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072be"} 
[2026-09-05 23:38:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889589760001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788631511000,"timestamp_ms":1788631511000,"timestamp_seconds":1788631511,"priority":1,"record_length":96,"hex_timestamp":"000001a072beefd8"} 
[2026-09-05 23:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:38:59] 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-09-05 23:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889589760001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889589760001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:38:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:38:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889589760001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":173391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:38:59] local.INFO: GPS data processed {"connection_id":173391,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:38:59] local.INFO: Acknowledgment sent {"connection_id":173391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:39:28] local.INFO: TCP Data received {"connection_id":173392,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072c0c0b0012d6a0280061a83d00006015322..."} 
[2026-09-05 23:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c0c0b0012d6a0280061a83d00006015322..."} 
[2026-09-05 23:39:28] local.INFO: Processing buffer {"connection_id":173392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c0c0b0012d6a0280061a83d00006015322..."} 
[2026-09-05 23:39:28] local.INFO: Packet analysis {"connection_id":173392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c0"} 
[2026-09-05 23:39:28] local.INFO: Extracted packet for processing {"connection_id":173392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c0"} 
[2026-09-05 23:39:28] local.INFO: GPS Element Parsed {"raw_longitude":761922176,"raw_latitude":102400976,"longitude_deg":76.1922176,"latitude_deg":10.2400976,"altitude":6,"angle":339,"satellites":34,"speed":44,"hex_longitude":"2d6a0280","hex_latitude":"061a83d0","is_valid_coordinates":true} 
[2026-09-05 23:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889694976001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400081374763024384,"note":"Value kept but may cause issues"} 
[2026-09-05 23:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7642327118883528704,"note":"Value kept but may cause issues"} 
[2026-09-05 23:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788631630000,"timestamp_ms":1788631630000,"timestamp_seconds":1788631630,"priority":1,"record_length":96,"hex_timestamp":"000001a072c0c0b0"} 
[2026-09-05 23:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-05 23:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889694976001,"66":27463,"126":206,"79":20992,"24":44,"16":400081374763024384,"45":7642327118883528704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-09-05 23:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889694976001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:39:28] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-05 23:39:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400081374763024384,"km_value":400081374763024.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7642327118883528704,"description":"Unknown IO ID 45"} 
[2026-09-05 23:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889694976001,"power":27463,"unknown_126":206,"unknown_79":20992,"ignition":44,"odometer":null,"unknown_45":7642327118883528704}} 
[2026-09-05 23:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":173392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:39:28] local.INFO: GPS data processed {"connection_id":173392,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:39:28] local.INFO: Acknowledgment sent {"connection_id":173392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:39:44] local.INFO: TCP Data received {"connection_id":172271,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:39:44] local.INFO: Processing buffer {"connection_id":172271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:39:44] local.INFO: IMEI packet received {"connection_id":172271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":172271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:39:49] local.INFO: TCP Data received {"connection_id":172271,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:39:49] local.INFO: Processing buffer {"connection_id":172271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:39:49] local.INFO: IMEI packet received {"connection_id":172271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":172271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:39:49] local.INFO: TCP Data received {"connection_id":173394,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:39:49] local.INFO: Processing buffer {"connection_id":173394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:39:49] local.INFO: IMEI packet received {"connection_id":173394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":173394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:39:49] local.INFO: TCP Data received {"connection_id":172271,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072beefd8012d196500071ff1280040014527..."} 
[2026-09-05 23:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072beefd8012d196500071ff1280040014527..."} 
[2026-09-05 23:39:49] local.INFO: Processing buffer {"connection_id":172271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072beefd8012d196500071ff1280040014527..."} 
[2026-09-05 23:39:49] local.INFO: Packet analysis {"connection_id":172271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072be"} 
[2026-09-05 23:39:49] local.INFO: Extracted packet for processing {"connection_id":172271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072be"} 
[2026-09-05 23:39:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889589760001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788631511000,"timestamp_ms":1788631511000,"timestamp_seconds":1788631511,"priority":1,"record_length":96,"hex_timestamp":"000001a072beefd8"} 
[2026-09-05 23:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:39:49] 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-09-05 23:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889589760001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889589760001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:39:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:39:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889589760001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":172271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:39:50] local.INFO: GPS data processed {"connection_id":172271,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:39:50] local.INFO: Acknowledgment sent {"connection_id":172271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:39:54] local.INFO: TCP Data received {"connection_id":173394,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:39:54] local.INFO: Processing buffer {"connection_id":173394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:39:54] local.INFO: IMEI packet received {"connection_id":173394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":173394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:39:55] local.INFO: TCP Data received {"connection_id":173394,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072c0dff0012d69f580061aa4a80007015121..."} 
[2026-09-05 23:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c0dff0012d69f580061aa4a80007015121..."} 
[2026-09-05 23:39:55] local.INFO: Processing buffer {"connection_id":173394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c0dff0012d69f580061aa4a80007015121..."} 
[2026-09-05 23:39:55] local.INFO: Packet analysis {"connection_id":173394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c0"} 
[2026-09-05 23:39:55] local.INFO: Extracted packet for processing {"connection_id":173394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c0"} 
[2026-09-05 23:39:55] local.INFO: GPS Element Parsed {"raw_longitude":761918848,"raw_latitude":102409384,"longitude_deg":76.1918848,"latitude_deg":10.2409384,"altitude":7,"angle":337,"satellites":33,"speed":45,"hex_longitude":"2d69f580","hex_latitude":"061aa4a8","is_valid_coordinates":true} 
[2026-09-05 23:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889697280001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400081808554721280,"note":"Value kept but may cause issues"} 
[2026-09-05 23:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7638808681676787712,"note":"Value kept but may cause issues"} 
[2026-09-05 23:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788631638000,"timestamp_ms":1788631638000,"timestamp_seconds":1788631638,"priority":1,"record_length":96,"hex_timestamp":"000001a072c0dff0"} 
[2026-09-05 23:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:39: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-09-05 23:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-05 23:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889697280001,"66":27104,"126":206,"79":20992,"24":45,"16":400081808554721280,"45":7638808681676787712},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-09-05 23:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889697280001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:39:55] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-05 23:39:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400081808554721280,"km_value":400081808554721.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":7638808681676787712,"description":"Unknown IO ID 45"} 
[2026-09-05 23:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889697280001,"power":27104,"unknown_126":206,"unknown_79":20992,"ignition":45,"odometer":null,"unknown_45":7638808681676787712}} 
[2026-09-05 23:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":173394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:39:55] local.INFO: GPS data processed {"connection_id":173394,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:39:55] local.INFO: Acknowledgment sent {"connection_id":173394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:40:21] local.INFO: TCP Data received {"connection_id":172271,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072beefd8012d196500071ff1280040014527..."} 
[2026-09-05 23:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072beefd8012d196500071ff1280040014527..."} 
[2026-09-05 23:40:21] local.INFO: Processing buffer {"connection_id":172271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072beefd8012d196500071ff1280040014527..."} 
[2026-09-05 23:40:21] local.INFO: Packet analysis {"connection_id":172271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072be"} 
[2026-09-05 23:40:21] local.INFO: Extracted packet for processing {"connection_id":172271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072be"} 
[2026-09-05 23:40:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889589760001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788631511000,"timestamp_ms":1788631511000,"timestamp_seconds":1788631511,"priority":1,"record_length":96,"hex_timestamp":"000001a072beefd8"} 
[2026-09-05 23:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889589760001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889589760001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:40:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:40:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889589760001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":172271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:40:21] local.INFO: GPS data processed {"connection_id":172271,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:40:21] local.INFO: Acknowledgment sent {"connection_id":172271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:40:26] local.INFO: TCP Data received {"connection_id":173394,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072c2ef48012d693440061c2c180004014b2b..."} 
[2026-09-05 23:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c2ef48012d693440061c2c180004014b2b..."} 
[2026-09-05 23:40:26] local.INFO: Processing buffer {"connection_id":173394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c2ef48012d693440061c2c180004014b2b..."} 
[2026-09-05 23:40:26] local.INFO: Packet analysis {"connection_id":173394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c2"} 
[2026-09-05 23:40:26] local.INFO: Extracted packet for processing {"connection_id":173394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c2"} 
[2026-09-05 23:40:26] local.INFO: GPS Element Parsed {"raw_longitude":761869376,"raw_latitude":102509592,"longitude_deg":76.1869376,"latitude_deg":10.2509592,"altitude":4,"angle":331,"satellites":43,"speed":51,"hex_longitude":"2d693440","hex_latitude":"061c2c18","is_valid_coordinates":true} 
[2026-09-05 23:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889732096001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400087228803448832,"note":"Value kept but may cause issues"} 
[2026-09-05 23:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7585398804871739392,"note":"Value kept but may cause issues"} 
[2026-09-05 23:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788631773000,"timestamp_ms":1788631773000,"timestamp_seconds":1788631773,"priority":1,"record_length":96,"hex_timestamp":"000001a072c2ef48"} 
[2026-09-05 23:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 23:40:26] 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-09-05 23:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889732096001,"66":27332,"86":206,"79":20992,"24":51,"16":400087228803448832,"45":7585398804871739392},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-09-05 23:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889732096001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:40:26] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-05 23:40:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400087228803448832,"km_value":400087228803448.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":7585398804871739392,"description":"Unknown IO ID 45"} 
[2026-09-05 23:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889732096001,"power":27332,"unknown_86":206,"unknown_79":20992,"ignition":51,"odometer":null,"unknown_45":7585398804871739392}} 
[2026-09-05 23:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":173394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:40:26] local.INFO: GPS data processed {"connection_id":173394,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:40:26] local.INFO: Acknowledgment sent {"connection_id":173394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:40:44] local.INFO: TCP Data received {"connection_id":172033,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:40:44] local.INFO: Processing buffer {"connection_id":172033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:40:44] local.INFO: IMEI packet received {"connection_id":172033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":172033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:40:49] local.INFO: TCP Data received {"connection_id":172033,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:40:49] local.INFO: Processing buffer {"connection_id":172033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:40:49] local.INFO: IMEI packet received {"connection_id":172033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":172033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:40:49] local.INFO: TCP Data received {"connection_id":172272,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:40:49] local.INFO: Processing buffer {"connection_id":172272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:40:49] local.INFO: IMEI packet received {"connection_id":172272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":172272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:40:49] local.INFO: TCP Data received {"connection_id":172033,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072beefd8012d196500071ff1280040014527..."} 
[2026-09-05 23:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072beefd8012d196500071ff1280040014527..."} 
[2026-09-05 23:40:49] local.INFO: Processing buffer {"connection_id":172033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072beefd8012d196500071ff1280040014527..."} 
[2026-09-05 23:40:49] local.INFO: Packet analysis {"connection_id":172033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072be"} 
[2026-09-05 23:40:49] local.INFO: Extracted packet for processing {"connection_id":172033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072be"} 
[2026-09-05 23:40:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889589760001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788631511000,"timestamp_ms":1788631511000,"timestamp_seconds":1788631511,"priority":1,"record_length":96,"hex_timestamp":"000001a072beefd8"} 
[2026-09-05 23:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:40:49] 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-09-05 23:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889589760001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889589760001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:40:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:40:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889589760001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":172033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:40:49] local.INFO: GPS data processed {"connection_id":172033,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:40:49] local.INFO: Acknowledgment sent {"connection_id":172033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:40:54] local.INFO: TCP Data received {"connection_id":172272,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:40:54] local.INFO: Processing buffer {"connection_id":172272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:40:54] local.INFO: IMEI packet received {"connection_id":172272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":172272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:40:54] local.INFO: TCP Data received {"connection_id":172272,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:40:54] local.INFO: Processing buffer {"connection_id":172272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:40:54] local.INFO: IMEI packet received {"connection_id":172272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":172272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:40:55] local.INFO: TCP Data received {"connection_id":172272,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072c30aa0012d692340061c4ba00005014c2c..."} 
[2026-09-05 23:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c30aa0012d692340061c4ba00005014c2c..."} 
[2026-09-05 23:40:55] local.INFO: Processing buffer {"connection_id":172272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c30aa0012d692340061c4ba00005014c2c..."} 
[2026-09-05 23:40:55] local.INFO: Packet analysis {"connection_id":172272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c3"} 
[2026-09-05 23:40:55] local.INFO: Extracted packet for processing {"connection_id":172272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c3"} 
[2026-09-05 23:40:55] local.INFO: GPS Element Parsed {"raw_longitude":761865024,"raw_latitude":102517664,"longitude_deg":76.1865024,"latitude_deg":10.2517664,"altitude":5,"angle":332,"satellites":44,"speed":52,"hex_longitude":"2d692340","hex_latitude":"061c4ba0","is_valid_coordinates":true} 
[2026-09-05 23:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889733888001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400087671185080320,"note":"Value kept but may cause issues"} 
[2026-09-05 23:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7580754467758020608,"note":"Value kept but may cause issues"} 
[2026-09-05 23:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788631780000,"timestamp_ms":1788631780000,"timestamp_seconds":1788631780,"priority":1,"record_length":96,"hex_timestamp":"000001a072c30aa0"} 
[2026-09-05 23:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:40: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-09-05 23:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-05 23:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889733888001,"66":27376,"86":206,"79":20992,"24":52,"16":400087671185080320,"45":7580754467758020608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-09-05 23:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889733888001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:40:55] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-05 23:40:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400087671185080320,"km_value":400087671185080.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":7580754467758020608,"description":"Unknown IO ID 45"} 
[2026-09-05 23:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889733888001,"power":27376,"unknown_86":206,"unknown_79":20992,"ignition":52,"odometer":null,"unknown_45":7580754467758020608}} 
[2026-09-05 23:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":172272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:40:55] local.INFO: GPS data processed {"connection_id":172272,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:40:55] local.INFO: Acknowledgment sent {"connection_id":172272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:41:00] local.INFO: TCP Data received {"connection_id":172272,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072c325f8012d691180061c6c400004014d2d..."} 
[2026-09-05 23:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c325f8012d691180061c6c400004014d2d..."} 
[2026-09-05 23:41:00] local.INFO: Processing buffer {"connection_id":172272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c325f8012d691180061c6c400004014d2d..."} 
[2026-09-05 23:41:00] local.INFO: Packet analysis {"connection_id":172272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c3"} 
[2026-09-05 23:41:00] local.INFO: Extracted packet for processing {"connection_id":172272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c3"} 
[2026-09-05 23:41:00] local.INFO: GPS Element Parsed {"raw_longitude":761860480,"raw_latitude":102526016,"longitude_deg":76.186048,"latitude_deg":10.2526016,"altitude":4,"angle":333,"satellites":45,"speed":54,"hex_longitude":"2d691180","hex_latitude":"061c6c40","is_valid_coordinates":true} 
[2026-09-05 23:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889735680001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400088130746580992,"note":"Value kept but may cause issues"} 
[2026-09-05 23:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7575969393156005888,"note":"Value kept but may cause issues"} 
[2026-09-05 23:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788631787000,"timestamp_ms":1788631787000,"timestamp_seconds":1788631787,"priority":1,"record_length":96,"hex_timestamp":"000001a072c325f8"} 
[2026-09-05 23:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-05 23:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889735680001,"66":27365,"86":206,"79":20992,"24":54,"16":400088130746580992,"45":7575969393156005888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-09-05 23:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889735680001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:41:00] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-05 23:41:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400088130746580992,"km_value":400088130746581.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7575969393156005888,"description":"Unknown IO ID 45"} 
[2026-09-05 23:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889735680001,"power":27365,"unknown_86":206,"unknown_79":20992,"ignition":54,"odometer":null,"unknown_45":7575969393156005888}} 
[2026-09-05 23:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":172272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:41:00] local.INFO: GPS data processed {"connection_id":172272,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:41:00] local.INFO: Acknowledgment sent {"connection_id":172272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:41:20] local.INFO: TCP Data received {"connection_id":172033,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072c387a0012d196500071ff1280040014529..."} 
[2026-09-05 23:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c387a0012d196500071ff1280040014529..."} 
[2026-09-05 23:41:20] local.INFO: Processing buffer {"connection_id":172033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c387a0012d196500071ff1280040014529..."} 
[2026-09-05 23:41:20] local.INFO: Packet analysis {"connection_id":172033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c3"} 
[2026-09-05 23:41:20] local.INFO: Extracted packet for processing {"connection_id":172033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c3"} 
[2026-09-05 23:41:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889666816001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788631812000,"timestamp_ms":1788631812000,"timestamp_seconds":1788631812,"priority":1,"record_length":96,"hex_timestamp":"000001a072c387a0"} 
[2026-09-05 23:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889666816001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889666816001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:41:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:41:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889666816001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":172033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:41:20] local.INFO: GPS data processed {"connection_id":172033,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:41:20] local.INFO: Acknowledgment sent {"connection_id":172033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:41:43] local.INFO: TCP Data received {"connection_id":173395,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:41:43] local.INFO: Processing buffer {"connection_id":173395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:41:43] local.INFO: IMEI packet received {"connection_id":173395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":173395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:41:49] local.INFO: TCP Data received {"connection_id":173395,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:41:49] local.INFO: Processing buffer {"connection_id":173395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:41:49] local.INFO: IMEI packet received {"connection_id":173395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":173395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:41:49] local.INFO: TCP Data received {"connection_id":173395,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072c387a0012d196500071ff1280040014529..."} 
[2026-09-05 23:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c387a0012d196500071ff1280040014529..."} 
[2026-09-05 23:41:49] local.INFO: Processing buffer {"connection_id":173395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c387a0012d196500071ff1280040014529..."} 
[2026-09-05 23:41:49] local.INFO: Packet analysis {"connection_id":173395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c3"} 
[2026-09-05 23:41:49] local.INFO: Extracted packet for processing {"connection_id":173395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c3"} 
[2026-09-05 23:41:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889666816001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788631812000,"timestamp_ms":1788631812000,"timestamp_seconds":1788631812,"priority":1,"record_length":96,"hex_timestamp":"000001a072c387a0"} 
[2026-09-05 23:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889666816001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889666816001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:41:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:41:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889666816001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":173395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:41:49] local.INFO: GPS data processed {"connection_id":173395,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:41:49] local.INFO: Acknowledgment sent {"connection_id":173395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:41:50] local.INFO: TCP Data received {"connection_id":172034,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:41:50] local.INFO: Processing buffer {"connection_id":172034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:41:50] local.INFO: IMEI packet received {"connection_id":172034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":172034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:41:55] local.INFO: TCP Data received {"connection_id":172034,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:41:55] local.INFO: Processing buffer {"connection_id":172034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:41:55] local.INFO: IMEI packet received {"connection_id":172034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":172034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:41:56] local.INFO: TCP Data received {"connection_id":172034,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:41:56] local.INFO: Processing buffer {"connection_id":172034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:41:56] local.INFO: IMEI packet received {"connection_id":172034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":172034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:41:57] local.INFO: TCP Data received {"connection_id":172034,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072c44320012d686c80061de128000501452a..."} 
[2026-09-05 23:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c44320012d686c80061de128000501452a..."} 
[2026-09-05 23:41:57] local.INFO: Processing buffer {"connection_id":172034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c44320012d686c80061de128000501452a..."} 
[2026-09-05 23:41:57] local.INFO: Packet analysis {"connection_id":172034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c4"} 
[2026-09-05 23:41:57] local.INFO: Extracted packet for processing {"connection_id":172034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c4"} 
[2026-09-05 23:41:57] local.INFO: GPS Element Parsed {"raw_longitude":761818240,"raw_latitude":102621480,"longitude_deg":76.181824,"latitude_deg":10.262148,"altitude":5,"angle":325,"satellites":42,"speed":59,"hex_longitude":"2d686c80","hex_latitude":"061de128","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889754624001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400093220282826752,"note":"Value kept but may cause issues"} 
[2026-09-05 23:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7530088971976845312,"note":"Value kept but may cause issues"} 
[2026-09-05 23:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788631860000,"timestamp_ms":1788631860000,"timestamp_seconds":1788631860,"priority":1,"record_length":96,"hex_timestamp":"000001a072c44320"} 
[2026-09-05 23:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23: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":240,"data_length":795,"current_offset":136} 
[2026-09-05 23:41:57] 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-09-05 23: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-09-05 23:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889754624001,"66":27365,"85":206,"79":20992,"24":59,"16":400093220282826752,"45":7530088971976845312},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-09-05 23:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889754624001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:41:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-05 23:41:57] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400093220282826752,"km_value":400093220282826.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":7530088971976845312,"description":"Unknown IO ID 45"} 
[2026-09-05 23:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889754624001,"power":27365,"unknown_85":206,"unknown_79":20992,"ignition":59,"odometer":null,"unknown_45":7530088971976845312}} 
[2026-09-05 23:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":172034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:41:57] local.INFO: GPS data processed {"connection_id":172034,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:41:57] local.INFO: Acknowledgment sent {"connection_id":172034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:42:01] local.INFO: TCP Data received {"connection_id":172034,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072c45a90012d685a40061dff080005014b2a..."} 
[2026-09-05 23:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c45a90012d685a40061dff080005014b2a..."} 
[2026-09-05 23:42:01] local.INFO: Processing buffer {"connection_id":172034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c45a90012d685a40061dff080005014b2a..."} 
[2026-09-05 23:42:01] local.INFO: Packet analysis {"connection_id":172034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c4"} 
[2026-09-05 23:42:01] local.INFO: Extracted packet for processing {"connection_id":172034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c4"} 
[2026-09-05 23:42:01] local.INFO: GPS Element Parsed {"raw_longitude":761813568,"raw_latitude":102629128,"longitude_deg":76.1813568,"latitude_deg":10.2629128,"altitude":5,"angle":331,"satellites":42,"speed":59,"hex_longitude":"2d685a40","hex_latitude":"061dff08","is_valid_coordinates":true} 
[2026-09-05 23:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889756160001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400093649779556352,"note":"Value kept but may cause issues"} 
[2026-09-05 23:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7524529841188710400,"note":"Value kept but may cause issues"} 
[2026-09-05 23:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788631866000,"timestamp_ms":1788631866000,"timestamp_seconds":1788631866,"priority":1,"record_length":96,"hex_timestamp":"000001a072c45a90"} 
[2026-09-05 23:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-05 23:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:42:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889756160001,"66":27365,"85":206,"79":20992,"24":59,"16":400093649779556352,"45":7524529841188710400},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-09-05 23:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889756160001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:42:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-05 23:42:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400093649779556352,"km_value":400093649779556.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7524529841188710400,"description":"Unknown IO ID 45"} 
[2026-09-05 23:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889756160001,"power":27365,"unknown_85":206,"unknown_79":20992,"ignition":59,"odometer":null,"unknown_45":7524529841188710400}} 
[2026-09-05 23:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":172034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:42:01] local.INFO: GPS data processed {"connection_id":172034,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:42:01] local.INFO: Acknowledgment sent {"connection_id":172034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:42:20] local.INFO: TCP Data received {"connection_id":173395,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072c387a0012d196500071ff1280040014529..."} 
[2026-09-05 23:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c387a0012d196500071ff1280040014529..."} 
[2026-09-05 23:42:20] local.INFO: Processing buffer {"connection_id":173395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c387a0012d196500071ff1280040014529..."} 
[2026-09-05 23:42:20] local.INFO: Packet analysis {"connection_id":173395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c3"} 
[2026-09-05 23:42:20] local.INFO: Extracted packet for processing {"connection_id":173395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c3"} 
[2026-09-05 23:42:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889666816001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788631812000,"timestamp_ms":1788631812000,"timestamp_seconds":1788631812,"priority":1,"record_length":96,"hex_timestamp":"000001a072c387a0"} 
[2026-09-05 23:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889666816001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889666816001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:42:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:42:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889666816001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":173395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:42:21] local.INFO: GPS data processed {"connection_id":173395,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:42:21] local.INFO: Acknowledgment sent {"connection_id":173395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:42:33] local.INFO: TCP Data received {"connection_id":172034,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072c47200012d684980061e1db80005014d2a..."} 
[2026-09-05 23:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c47200012d684980061e1db80005014d2a..."} 
[2026-09-05 23:42:33] local.INFO: Processing buffer {"connection_id":172034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c47200012d684980061e1db80005014d2a..."} 
[2026-09-05 23:42:33] local.INFO: Packet analysis {"connection_id":172034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c4"} 
[2026-09-05 23:42:33] local.INFO: Extracted packet for processing {"connection_id":172034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c4"} 
[2026-09-05 23:42:33] local.INFO: GPS Element Parsed {"raw_longitude":761809280,"raw_latitude":102636984,"longitude_deg":76.180928,"latitude_deg":10.2636984,"altitude":5,"angle":333,"satellites":42,"speed":59,"hex_longitude":"2d684980","hex_latitude":"061e1db8","is_valid_coordinates":true} 
[2026-09-05 23:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889757696001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400094083571253248,"note":"Value kept but may cause issues"} 
[2026-09-05 23:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7519392922865698816,"note":"Value kept but may cause issues"} 
[2026-09-05 23:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788631872000,"timestamp_ms":1788631872000,"timestamp_seconds":1788631872,"priority":1,"record_length":96,"hex_timestamp":"000001a072c47200"} 
[2026-09-05 23:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23: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-09-05 23:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-05 23: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-09-05 23:42:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:42: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-09-05 23:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889757696001,"66":27343,"85":206,"79":20992,"24":59,"16":400094083571253248,"45":7519392922865698816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-09-05 23:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889757696001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:42:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-05 23:42:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400094083571253248,"km_value":400094083571253.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7519392922865698816,"description":"Unknown IO ID 45"} 
[2026-09-05 23:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889757696001,"power":27343,"unknown_85":206,"unknown_79":20992,"ignition":59,"odometer":null,"unknown_45":7519392922865698816}} 
[2026-09-05 23:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":172034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:42:33] local.INFO: GPS data processed {"connection_id":172034,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:42:33] local.INFO: Acknowledgment sent {"connection_id":172034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:42:43] local.INFO: TCP Data received {"connection_id":172274,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:42:43] local.INFO: Processing buffer {"connection_id":172274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:42:43] local.INFO: IMEI packet received {"connection_id":172274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":172274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:42:49] local.INFO: TCP Data received {"connection_id":172274,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:42:49] local.INFO: Processing buffer {"connection_id":172274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:42:49] local.INFO: IMEI packet received {"connection_id":172274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":172274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:42:49] local.INFO: TCP Data received {"connection_id":172274,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a072c387a0012d196500071ff1280040014529..."} 
[2026-09-05 23:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c387a0012d196500071ff1280040014529..."} 
[2026-09-05 23:42:49] local.INFO: Processing buffer {"connection_id":172274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c387a0012d196500071ff1280040014529..."} 
[2026-09-05 23:42:49] local.INFO: Packet analysis {"connection_id":172274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c3"} 
[2026-09-05 23:42:49] local.INFO: Extracted packet for processing {"connection_id":172274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c3"} 
[2026-09-05 23:42:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889666816001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788631812000,"timestamp_ms":1788631812000,"timestamp_seconds":1788631812,"priority":1,"record_length":96,"hex_timestamp":"000001a072c387a0"} 
[2026-09-05 23:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23: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":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23: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-09-05 23:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889666816001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889666816001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:42:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:42:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889666816001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:42:49] local.INFO: TCP Data received {"connection_id":172035,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:42:49] local.INFO: Processing buffer {"connection_id":172035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:42:49] local.INFO: IMEI packet received {"connection_id":172035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":172035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":172274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:42:49] local.INFO: GPS data processed {"connection_id":172274,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:42:49] local.INFO: Acknowledgment sent {"connection_id":172274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:42:50] local.INFO: TCP Data received {"connection_id":172035,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:42:50] local.INFO: Processing buffer {"connection_id":172035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:42:50] local.INFO: IMEI packet received {"connection_id":172035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":172035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:42:54] local.INFO: TCP Data received {"connection_id":172035,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:42:54] local.INFO: Processing buffer {"connection_id":172035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:42:54] local.INFO: IMEI packet received {"connection_id":172035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":172035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:42:56] local.INFO: TCP Data received {"connection_id":172035,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072c48970012d683b00061e3d70000501502a..."} 
[2026-09-05 23:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c48970012d683b00061e3d70000501502a..."} 
[2026-09-05 23:42:56] local.INFO: Processing buffer {"connection_id":172035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c48970012d683b00061e3d70000501502a..."} 
[2026-09-05 23:42:56] local.INFO: Packet analysis {"connection_id":172035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c4"} 
[2026-09-05 23:42:56] local.INFO: Extracted packet for processing {"connection_id":172035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c4"} 
[2026-09-05 23:42:56] local.INFO: GPS Element Parsed {"raw_longitude":761805568,"raw_latitude":102645104,"longitude_deg":76.1805568,"latitude_deg":10.2645104,"altitude":5,"angle":336,"satellites":42,"speed":58,"hex_longitude":"2d683b00","hex_latitude":"061e3d70","is_valid_coordinates":true} 
[2026-09-05 23:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889759232001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400094517362950144,"note":"Value kept but may cause issues"} 
[2026-09-05 23:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7514678217007806464,"note":"Value kept but may cause issues"} 
[2026-09-05 23:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788631878000,"timestamp_ms":1788631878000,"timestamp_seconds":1788631878,"priority":1,"record_length":96,"hex_timestamp":"000001a072c48970"} 
[2026-09-05 23:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 23:42:56] 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-09-05 23:42:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889759232001,"66":27245,"92":206,"79":20992,"24":58,"16":400094517362950144,"45":7514678217007806464},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,79,24,16,45]} 
[2026-09-05 23:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889759232001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:42:56] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-05 23:42:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400094517362950144,"km_value":400094517362950.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":7514678217007806464,"description":"Unknown IO ID 45"} 
[2026-09-05 23:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889759232001,"power":27245,"unknown_92":206,"unknown_79":20992,"ignition":58,"odometer":null,"unknown_45":7514678217007806464}} 
[2026-09-05 23:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":172035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:42:56] local.INFO: GPS data processed {"connection_id":172035,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:42:56] local.INFO: Acknowledgment sent {"connection_id":172035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:42:58] local.INFO: TCP Data received {"connection_id":172035,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072c4a0e0012d682e00061e5db0000601512b..."} 
[2026-09-05 23:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c4a0e0012d682e00061e5db0000601512b..."} 
[2026-09-05 23:42:58] local.INFO: Processing buffer {"connection_id":172035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c4a0e0012d682e00061e5db0000601512b..."} 
[2026-09-05 23:42:58] local.INFO: Packet analysis {"connection_id":172035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c4"} 
[2026-09-05 23:42:58] local.INFO: Extracted packet for processing {"connection_id":172035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c4"} 
[2026-09-05 23:42:58] local.INFO: GPS Element Parsed {"raw_longitude":761802240,"raw_latitude":102653360,"longitude_deg":76.180224,"latitude_deg":10.265336,"altitude":6,"angle":337,"satellites":43,"speed":59,"hex_longitude":"2d682e00","hex_latitude":"061e5db0","is_valid_coordinates":true} 
[2026-09-05 23:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889760768001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400094946859679744,"note":"Value kept but may cause issues"} 
[2026-09-05 23:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7510596829847580672,"note":"Value kept but may cause issues"} 
[2026-09-05 23:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788631884000,"timestamp_ms":1788631884000,"timestamp_seconds":1788631884,"priority":1,"record_length":96,"hex_timestamp":"000001a072c4a0e0"} 
[2026-09-05 23:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:42:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-05 23:42:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:42:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889760768001,"66":27365,"92":206,"79":20992,"24":59,"16":400094946859679744,"45":7510596829847580672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,79,24,16,45]} 
[2026-09-05 23:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889760768001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:42:58] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-05 23:42:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400094946859679744,"km_value":400094946859679.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7510596829847580672,"description":"Unknown IO ID 45"} 
[2026-09-05 23:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889760768001,"power":27365,"unknown_92":206,"unknown_79":20992,"ignition":59,"odometer":null,"unknown_45":7510596829847580672}} 
[2026-09-05 23:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":172035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:42:58] local.INFO: GPS data processed {"connection_id":172035,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:42:58] local.INFO: Acknowledgment sent {"connection_id":172035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:43:12] local.INFO: TCP Data received {"connection_id":173396,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:43:12] local.INFO: Processing buffer {"connection_id":173396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:43:12] local.INFO: IMEI packet received {"connection_id":173396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 23:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":173396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:43:20] local.INFO: TCP Data received {"connection_id":172274,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a072c387a0012d196500071ff1280040014529..."} 
[2026-09-05 23:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c387a0012d196500071ff1280040014529..."} 
[2026-09-05 23:43:20] local.INFO: Processing buffer {"connection_id":172274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c387a0012d196500071ff1280040014529..."} 
[2026-09-05 23:43:20] local.INFO: Packet analysis {"connection_id":172274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c3"} 
[2026-09-05 23:43:20] local.INFO: Extracted packet for processing {"connection_id":172274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c3"} 
[2026-09-05 23:43:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889666816001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788631812000,"timestamp_ms":1788631812000,"timestamp_seconds":1788631812,"priority":1,"record_length":96,"hex_timestamp":"000001a072c387a0"} 
[2026-09-05 23:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23: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-09-05 23:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889666816001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889666816001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:43:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:43:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889666816001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":172274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:43:21] local.INFO: GPS data processed {"connection_id":172274,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:43:21] local.INFO: Acknowledgment sent {"connection_id":172274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:43:30] local.INFO: TCP Data received {"connection_id":172035,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072c4b850012d6820c0061e7df0000601522b..."} 
[2026-09-05 23:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c4b850012d6820c0061e7df0000601522b..."} 
[2026-09-05 23:43:30] local.INFO: Processing buffer {"connection_id":172035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c4b850012d6820c0061e7df0000601522b..."} 
[2026-09-05 23:43:30] local.INFO: Packet analysis {"connection_id":172035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c4"} 
[2026-09-05 23:43:30] local.INFO: Extracted packet for processing {"connection_id":172035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c4"} 
[2026-09-05 23:43:30] local.INFO: GPS Element Parsed {"raw_longitude":761798848,"raw_latitude":102661616,"longitude_deg":76.1798848,"latitude_deg":10.2661616,"altitude":6,"angle":338,"satellites":43,"speed":59,"hex_longitude":"2d6820c0","hex_latitude":"061e7df0","is_valid_coordinates":true} 
[2026-09-05 23:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889762304001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400095376356409344,"note":"Value kept but may cause issues"} 
[2026-09-05 23:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7506937655152455680,"note":"Value kept but may cause issues"} 
[2026-09-05 23:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788631890000,"timestamp_ms":1788631890000,"timestamp_seconds":1788631890,"priority":1,"record_length":96,"hex_timestamp":"000001a072c4b850"} 
[2026-09-05 23:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-05 23:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889762304001,"66":27245,"92":206,"79":20992,"24":59,"16":400095376356409344,"45":7506937655152455680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,79,24,16,45]} 
[2026-09-05 23:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889762304001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:43:30] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-05 23:43:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400095376356409344,"km_value":400095376356409.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":7506937655152455680,"description":"Unknown IO ID 45"} 
[2026-09-05 23:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889762304001,"power":27245,"unknown_92":206,"unknown_79":20992,"ignition":59,"odometer":null,"unknown_45":7506937655152455680}} 
[2026-09-05 23:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":172035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:43:30] local.INFO: GPS data processed {"connection_id":172035,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:43:30] local.INFO: Acknowledgment sent {"connection_id":172035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:43:49] local.INFO: TCP Data received {"connection_id":172275,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:43:49] local.INFO: Processing buffer {"connection_id":172275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:43:49] local.INFO: IMEI packet received {"connection_id":172275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":172275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:43:54] local.INFO: TCP Data received {"connection_id":172275,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:43:54] local.INFO: Processing buffer {"connection_id":172275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:43:54] local.INFO: IMEI packet received {"connection_id":172275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":172275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:43:54] local.INFO: TCP Data received {"connection_id":174718,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:43:54] local.INFO: Processing buffer {"connection_id":174718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:43:54] local.INFO: IMEI packet received {"connection_id":174718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":174718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:43:55] local.INFO: TCP Data received {"connection_id":172275,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072c387a0012d196500071ff1280040014529..."} 
[2026-09-05 23:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c387a0012d196500071ff1280040014529..."} 
[2026-09-05 23:43:55] local.INFO: Processing buffer {"connection_id":172275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c387a0012d196500071ff1280040014529..."} 
[2026-09-05 23:43:55] local.INFO: Packet analysis {"connection_id":172275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c3"} 
[2026-09-05 23:43:55] local.INFO: Extracted packet for processing {"connection_id":172275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c3"} 
[2026-09-05 23:43:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889666816001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788631812000,"timestamp_ms":1788631812000,"timestamp_seconds":1788631812,"priority":1,"record_length":96,"hex_timestamp":"000001a072c387a0"} 
[2026-09-05 23:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889666816001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889666816001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:43:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:43:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889666816001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":172275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:43:55] local.INFO: GPS data processed {"connection_id":172275,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:43:55] local.INFO: Acknowledgment sent {"connection_id":172275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:43:59] local.INFO: TCP Data received {"connection_id":172275,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072c387a0012d196500071ff1280040014529..."} 
[2026-09-05 23:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c387a0012d196500071ff1280040014529..."} 
[2026-09-05 23:43:59] local.INFO: Processing buffer {"connection_id":172275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c387a0012d196500071ff1280040014529..."} 
[2026-09-05 23:43:59] local.INFO: Packet analysis {"connection_id":172275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c3"} 
[2026-09-05 23:43:59] local.INFO: Extracted packet for processing {"connection_id":172275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c3"} 
[2026-09-05 23:43:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889666816001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788631812000,"timestamp_ms":1788631812000,"timestamp_seconds":1788631812,"priority":1,"record_length":96,"hex_timestamp":"000001a072c387a0"} 
[2026-09-05 23:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889666816001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889666816001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:43:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:43:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889666816001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":172275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:43:59] local.INFO: GPS data processed {"connection_id":172275,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:43:59] local.INFO: Acknowledgment sent {"connection_id":172275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:44:23] local.INFO: TCP Data received {"connection_id":174718,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:44:23] local.INFO: Processing buffer {"connection_id":174718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:44:23] local.INFO: IMEI packet received {"connection_id":174718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":174718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:44:28] local.INFO: TCP Data received {"connection_id":174718,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:44:28] local.INFO: Processing buffer {"connection_id":174718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:44:28] local.INFO: IMEI packet received {"connection_id":174718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":174718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:44:30] local.INFO: TCP Data received {"connection_id":174718,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:44:30] local.INFO: Processing buffer {"connection_id":174718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:44:30] local.INFO: IMEI packet received {"connection_id":174718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":174718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:44:44] local.INFO: TCP Data received {"connection_id":172036,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:44:44] local.INFO: Processing buffer {"connection_id":172036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:44:44] local.INFO: IMEI packet received {"connection_id":172036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":172036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:44:51] local.INFO: TCP Data received {"connection_id":172036,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:44:51] local.INFO: Processing buffer {"connection_id":172036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:44:51] local.INFO: IMEI packet received {"connection_id":172036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":172036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:44:52] local.INFO: TCP Data received {"connection_id":172036,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a072c387a0012d196500071ff1280040014529..."} 
[2026-09-05 23:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c387a0012d196500071ff1280040014529..."} 
[2026-09-05 23:44:52] local.INFO: Processing buffer {"connection_id":172036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c387a0012d196500071ff1280040014529..."} 
[2026-09-05 23:44:52] local.INFO: Packet analysis {"connection_id":172036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c3"} 
[2026-09-05 23:44:52] local.INFO: Extracted packet for processing {"connection_id":172036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c3"} 
[2026-09-05 23:44:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889666816001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788631812000,"timestamp_ms":1788631812000,"timestamp_seconds":1788631812,"priority":1,"record_length":96,"hex_timestamp":"000001a072c387a0"} 
[2026-09-05 23:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889666816001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889666816001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:44:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:44:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889666816001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":172036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:44:52] local.INFO: GPS data processed {"connection_id":172036,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:44:52] local.INFO: Acknowledgment sent {"connection_id":172036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:45:39] local.INFO: TCP Data received {"connection_id":173398,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:45:39] local.INFO: Processing buffer {"connection_id":173398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:45:39] local.INFO: IMEI packet received {"connection_id":173398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":173398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:45:44] local.INFO: TCP Data received {"connection_id":173398,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:45:44] local.INFO: Processing buffer {"connection_id":173398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:45:44] local.INFO: IMEI packet received {"connection_id":173398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":173398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:45:54] local.INFO: TCP Data received {"connection_id":173398,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a072c81f68012d196500071ff128004401452c..."} 
[2026-09-05 23:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c81f68012d196500071ff128004401452c..."} 
[2026-09-05 23:45:54] local.INFO: Processing buffer {"connection_id":173398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c81f68012d196500071ff128004401452c..."} 
[2026-09-05 23:45:54] local.INFO: Packet analysis {"connection_id":173398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c8"} 
[2026-09-05 23:45:54] local.INFO: Extracted packet for processing {"connection_id":173398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c8"} 
[2026-09-05 23:45:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889743872001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788632113000,"timestamp_ms":1788632113000,"timestamp_seconds":1788632113,"priority":1,"record_length":96,"hex_timestamp":"000001a072c81f68"} 
[2026-09-05 23:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:45:54] 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-09-05 23:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889743872001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889743872001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:45:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:45:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889743872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":173398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:45:54] local.INFO: GPS data processed {"connection_id":173398,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:45:54] local.INFO: Acknowledgment sent {"connection_id":173398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:46:43] local.INFO: TCP Data received {"connection_id":172277,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:46:43] local.INFO: Processing buffer {"connection_id":172277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:46:43] local.INFO: IMEI packet received {"connection_id":172277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":172277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:46:49] local.INFO: TCP Data received {"connection_id":172277,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:46:49] local.INFO: Processing buffer {"connection_id":172277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:46:49] local.INFO: IMEI packet received {"connection_id":172277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":172277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:46:49] local.INFO: TCP Data received {"connection_id":172277,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a072c81f68012d196500071ff128004401452c..."} 
[2026-09-05 23:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c81f68012d196500071ff128004401452c..."} 
[2026-09-05 23:46:49] local.INFO: Processing buffer {"connection_id":172277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c81f68012d196500071ff128004401452c..."} 
[2026-09-05 23:46:49] local.INFO: Packet analysis {"connection_id":172277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c8"} 
[2026-09-05 23:46:49] local.INFO: Extracted packet for processing {"connection_id":172277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c8"} 
[2026-09-05 23:46:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889743872001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788632113000,"timestamp_ms":1788632113000,"timestamp_seconds":1788632113,"priority":1,"record_length":96,"hex_timestamp":"000001a072c81f68"} 
[2026-09-05 23:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:46:49] 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-09-05 23:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889743872001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889743872001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:46:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:46:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889743872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":172277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:46:50] local.INFO: GPS data processed {"connection_id":172277,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:46:50] local.INFO: Acknowledgment sent {"connection_id":172277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:47:20] local.INFO: TCP Data received {"connection_id":172277,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a072c81f68012d196500071ff128004401452c..."} 
[2026-09-05 23:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c81f68012d196500071ff128004401452c..."} 
[2026-09-05 23:47:20] local.INFO: Processing buffer {"connection_id":172277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c81f68012d196500071ff128004401452c..."} 
[2026-09-05 23:47:20] local.INFO: Packet analysis {"connection_id":172277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c8"} 
[2026-09-05 23:47:20] local.INFO: Extracted packet for processing {"connection_id":172277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c8"} 
[2026-09-05 23:47:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889743872001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788632113000,"timestamp_ms":1788632113000,"timestamp_seconds":1788632113,"priority":1,"record_length":96,"hex_timestamp":"000001a072c81f68"} 
[2026-09-05 23:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:47:20] 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-09-05 23:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889743872001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889743872001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:47:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:47:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889743872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":172277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:47:20] local.INFO: GPS data processed {"connection_id":172277,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:47:20] local.INFO: Acknowledgment sent {"connection_id":172277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:47:49] local.INFO: TCP Data received {"connection_id":173400,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:47:49] local.INFO: Processing buffer {"connection_id":173400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:47:49] local.INFO: IMEI packet received {"connection_id":173400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":173400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:47:54] local.INFO: TCP Data received {"connection_id":173400,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:47:54] local.INFO: Processing buffer {"connection_id":173400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:47:54] local.INFO: IMEI packet received {"connection_id":173400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":173400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:47:54] local.INFO: TCP Data received {"connection_id":173400,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a072c81f68012d196500071ff128004401452c..."} 
[2026-09-05 23:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c81f68012d196500071ff128004401452c..."} 
[2026-09-05 23:47:54] local.INFO: Processing buffer {"connection_id":173400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c81f68012d196500071ff128004401452c..."} 
[2026-09-05 23:47:54] local.INFO: Packet analysis {"connection_id":173400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c8"} 
[2026-09-05 23:47:54] local.INFO: Extracted packet for processing {"connection_id":173400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c8"} 
[2026-09-05 23:47:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889743872001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788632113000,"timestamp_ms":1788632113000,"timestamp_seconds":1788632113,"priority":1,"record_length":96,"hex_timestamp":"000001a072c81f68"} 
[2026-09-05 23:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:47:54] 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-09-05 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:47:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23: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-09-05 23:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889743872001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889743872001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:47:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:47:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889743872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":173400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:47:54] local.INFO: GPS data processed {"connection_id":173400,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:47:54] local.INFO: Acknowledgment sent {"connection_id":173400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:47:59] local.INFO: TCP Data received {"connection_id":173400,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a072c81f68012d196500071ff128004401452c..."} 
[2026-09-05 23:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c81f68012d196500071ff128004401452c..."} 
[2026-09-05 23:47:59] local.INFO: Processing buffer {"connection_id":173400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c81f68012d196500071ff128004401452c..."} 
[2026-09-05 23:47:59] local.INFO: Packet analysis {"connection_id":173400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c8"} 
[2026-09-05 23:47:59] local.INFO: Extracted packet for processing {"connection_id":173400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c8"} 
[2026-09-05 23:47:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889743872001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788632113000,"timestamp_ms":1788632113000,"timestamp_seconds":1788632113,"priority":1,"record_length":96,"hex_timestamp":"000001a072c81f68"} 
[2026-09-05 23:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:47:59] 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-09-05 23:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889743872001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889743872001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:47:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:47:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889743872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":173400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:47:59] local.INFO: GPS data processed {"connection_id":173400,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:47:59] local.INFO: Acknowledgment sent {"connection_id":173400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:48:33] local.INFO: TCP Data received {"connection_id":172038,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:48:33] local.INFO: Processing buffer {"connection_id":172038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:48:33] local.INFO: IMEI packet received {"connection_id":172038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 23:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":172038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:48:44] local.INFO: TCP Data received {"connection_id":172039,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:48:44] local.INFO: Processing buffer {"connection_id":172039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:48:44] local.INFO: IMEI packet received {"connection_id":172039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":172039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:48:49] local.INFO: TCP Data received {"connection_id":172039,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:48:49] local.INFO: Processing buffer {"connection_id":172039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:48:49] local.INFO: IMEI packet received {"connection_id":172039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":172039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:48:49] local.INFO: TCP Data received {"connection_id":172039,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072c81f68012d196500071ff128004401452c..."} 
[2026-09-05 23:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c81f68012d196500071ff128004401452c..."} 
[2026-09-05 23:48:49] local.INFO: Processing buffer {"connection_id":172039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c81f68012d196500071ff128004401452c..."} 
[2026-09-05 23:48:49] local.INFO: Packet analysis {"connection_id":172039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c8"} 
[2026-09-05 23:48:49] local.INFO: Extracted packet for processing {"connection_id":172039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c8"} 
[2026-09-05 23:48:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889743872001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788632113000,"timestamp_ms":1788632113000,"timestamp_seconds":1788632113,"priority":1,"record_length":96,"hex_timestamp":"000001a072c81f68"} 
[2026-09-05 23:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:48:49] 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-09-05 23:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889743872001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889743872001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:48:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:48:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889743872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":172039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:48:49] local.INFO: GPS data processed {"connection_id":172039,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:48:49] local.INFO: Acknowledgment sent {"connection_id":172039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:48:54] local.INFO: TCP Data received {"connection_id":172039,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072c81f68012d196500071ff128004401452c..."} 
[2026-09-05 23:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c81f68012d196500071ff128004401452c..."} 
[2026-09-05 23:48:54] local.INFO: Processing buffer {"connection_id":172039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c81f68012d196500071ff128004401452c..."} 
[2026-09-05 23:48:54] local.INFO: Packet analysis {"connection_id":172039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c8"} 
[2026-09-05 23:48:54] local.INFO: Extracted packet for processing {"connection_id":172039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c8"} 
[2026-09-05 23:48:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889743872001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788632113000,"timestamp_ms":1788632113000,"timestamp_seconds":1788632113,"priority":1,"record_length":96,"hex_timestamp":"000001a072c81f68"} 
[2026-09-05 23:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:48:54] 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-09-05 23:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889743872001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889743872001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:48:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:48:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889743872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":172039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:48:54] local.INFO: GPS data processed {"connection_id":172039,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:48:54] local.INFO: Acknowledgment sent {"connection_id":172039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:49:12] local.INFO: TCP Data received {"connection_id":174721,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174721,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:49:12] local.INFO: Processing buffer {"connection_id":174721,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:49:12] local.INFO: IMEI packet received {"connection_id":174721,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 23:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":174721,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:49:25] local.INFO: TCP Data received {"connection_id":172039,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072c81f68012d196500071ff128004401452c..."} 
[2026-09-05 23:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c81f68012d196500071ff128004401452c..."} 
[2026-09-05 23:49:25] local.INFO: Processing buffer {"connection_id":172039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c81f68012d196500071ff128004401452c..."} 
[2026-09-05 23:49:25] local.INFO: Packet analysis {"connection_id":172039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c8"} 
[2026-09-05 23:49:25] local.INFO: Extracted packet for processing {"connection_id":172039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c8"} 
[2026-09-05 23:49:25] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889743872001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:49:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788632113000,"timestamp_ms":1788632113000,"timestamp_seconds":1788632113,"priority":1,"record_length":96,"hex_timestamp":"000001a072c81f68"} 
[2026-09-05 23:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:49:25] 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-09-05 23:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:49:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:49:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889743872001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889743872001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:49:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:49:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889743872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":172039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:49:25] local.INFO: GPS data processed {"connection_id":172039,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:49:25] local.INFO: Acknowledgment sent {"connection_id":172039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:49:29] local.INFO: TCP Data received {"connection_id":172279,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:49:29] local.INFO: Processing buffer {"connection_id":172279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:49:29] local.INFO: IMEI packet received {"connection_id":172279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":172279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:49:31] local.INFO: TCP Data received {"connection_id":172279,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072c9f810012d64170006235dc0000d01472c..."} 
[2026-09-05 23:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c9f810012d64170006235dc0000d01472c..."} 
[2026-09-05 23:49:31] local.INFO: Processing buffer {"connection_id":172279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c9f810012d64170006235dc0000d01472c..."} 
[2026-09-05 23:49:31] local.INFO: Packet analysis {"connection_id":172279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c9"} 
[2026-09-05 23:49:31] local.INFO: Extracted packet for processing {"connection_id":172279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c9"} 
[2026-09-05 23:49:31] local.INFO: GPS Element Parsed {"raw_longitude":761534208,"raw_latitude":102981056,"longitude_deg":76.1534208,"latitude_deg":10.2981056,"altitude":13,"angle":327,"satellites":44,"speed":49,"hex_longitude":"2d641700","hex_latitude":"06235dc0","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889850112001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400118285711966208,"note":"Value kept but may cause issues"} 
[2026-09-05 23:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7218073960385284096,"note":"Value kept but may cause issues"} 
[2026-09-05 23:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788632234000,"timestamp_ms":1788632234000,"timestamp_seconds":1788632234,"priority":1,"record_length":96,"hex_timestamp":"000001a072c9f810"} 
[2026-09-05 23:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:49: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-09-05 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-05 23:49: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-09-05 23: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-09-05 23:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:49: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-09-05 23:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889850112001,"66":27376,"252":206,"79":20992,"24":49,"16":400118285711966208,"45":7218073960385284096},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,79,24,16,45]} 
[2026-09-05 23:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889850112001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:49:31] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-09-05 23:49:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400118285711966208,"km_value":400118285711966.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7218073960385284096,"description":"Unknown IO ID 45"} 
[2026-09-05 23:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889850112001,"power":27376,"unknown_252":206,"unknown_79":20992,"ignition":49,"odometer":null,"unknown_45":7218073960385284096}} 
[2026-09-05 23:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":172279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:49:31] local.INFO: GPS data processed {"connection_id":172279,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:49:31] local.INFO: Acknowledgment sent {"connection_id":172279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:49:44] local.INFO: TCP Data received {"connection_id":174722,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:49:44] local.INFO: Processing buffer {"connection_id":174722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:49:44] local.INFO: IMEI packet received {"connection_id":174722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":174722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:49:49] local.INFO: TCP Data received {"connection_id":174722,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:49:49] local.INFO: Processing buffer {"connection_id":174722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:49:49] local.INFO: IMEI packet received {"connection_id":174722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":174722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:49:49] local.INFO: TCP Data received {"connection_id":174722,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072c81f68012d196500071ff128004401452c..."} 
[2026-09-05 23:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c81f68012d196500071ff128004401452c..."} 
[2026-09-05 23:49:49] local.INFO: Processing buffer {"connection_id":174722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c81f68012d196500071ff128004401452c..."} 
[2026-09-05 23:49:49] local.INFO: Packet analysis {"connection_id":174722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c8"} 
[2026-09-05 23:49:49] local.INFO: Extracted packet for processing {"connection_id":174722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c8"} 
[2026-09-05 23:49:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889743872001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788632113000,"timestamp_ms":1788632113000,"timestamp_seconds":1788632113,"priority":1,"record_length":96,"hex_timestamp":"000001a072c81f68"} 
[2026-09-05 23:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:49:49] 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-09-05 23:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889743872001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889743872001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:49:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:49:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889743872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:49:49] local.INFO: TCP Data received {"connection_id":172040,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:49:49] local.INFO: Processing buffer {"connection_id":172040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:49:49] local.INFO: IMEI packet received {"connection_id":172040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":172040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":174722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:49:50] local.INFO: GPS data processed {"connection_id":174722,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:49:50] local.INFO: Acknowledgment sent {"connection_id":174722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:49:54] local.INFO: TCP Data received {"connection_id":172040,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:49:54] local.INFO: Processing buffer {"connection_id":172040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:49:54] local.INFO: IMEI packet received {"connection_id":172040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":172040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:49:55] local.INFO: TCP Data received {"connection_id":172040,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072cb5b88012d63c2000624a5a0000701592c..."} 
[2026-09-05 23:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072cb5b88012d63c2000624a5a0000701592c..."} 
[2026-09-05 23:49:55] local.INFO: Processing buffer {"connection_id":172040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072cb5b88012d63c2000624a5a0000701592c..."} 
[2026-09-05 23:49:55] local.INFO: Packet analysis {"connection_id":172040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072cb"} 
[2026-09-05 23:49:55] local.INFO: Extracted packet for processing {"connection_id":172040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072cb"} 
[2026-09-05 23:49:55] local.INFO: GPS Element Parsed {"raw_longitude":761512448,"raw_latitude":103064992,"longitude_deg":76.1512448,"latitude_deg":10.3064992,"altitude":7,"angle":345,"satellites":44,"speed":18,"hex_longitude":"2d63c200","hex_latitude":"0624a5a0","is_valid_coordinates":true} 
[2026-09-05 23:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889871872001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400122503369850880,"note":"Value kept but may cause issues"} 
[2026-09-05 23:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7190559781432844288,"note":"Value kept but may cause issues"} 
[2026-09-05 23:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788632325000,"timestamp_ms":1788632325000,"timestamp_seconds":1788632325,"priority":1,"record_length":96,"hex_timestamp":"000001a072cb5b88"} 
[2026-09-05 23:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-05 23:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889871872001,"66":27365,"253":206,"79":20992,"24":18,"16":400122503369850880,"45":7190559781432844288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,79,24,16,45]} 
[2026-09-05 23:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889871872001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:49:55] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-09-05 23:49:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400122503369850880,"km_value":400122503369850.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":7190559781432844288,"description":"Unknown IO ID 45"} 
[2026-09-05 23:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889871872001,"power":27365,"unknown_253":206,"unknown_79":20992,"ignition":18,"odometer":null,"unknown_45":7190559781432844288}} 
[2026-09-05 23:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":172040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:49:55] local.INFO: GPS data processed {"connection_id":172040,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:49:55] local.INFO: Acknowledgment sent {"connection_id":172040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:50:20] local.INFO: TCP Data received {"connection_id":174722,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072c81f68012d196500071ff128004401452c..."} 
[2026-09-05 23:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c81f68012d196500071ff128004401452c..."} 
[2026-09-05 23:50:20] local.INFO: Processing buffer {"connection_id":174722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c81f68012d196500071ff128004401452c..."} 
[2026-09-05 23:50:20] local.INFO: Packet analysis {"connection_id":174722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c8"} 
[2026-09-05 23:50:20] local.INFO: Extracted packet for processing {"connection_id":174722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c8"} 
[2026-09-05 23:50:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889743872001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788632113000,"timestamp_ms":1788632113000,"timestamp_seconds":1788632113,"priority":1,"record_length":96,"hex_timestamp":"000001a072c81f68"} 
[2026-09-05 23:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:50:20] 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-09-05 23:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:50:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889743872001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889743872001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:50:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:50:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889743872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":174722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:50:20] local.INFO: GPS data processed {"connection_id":174722,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:50:20] local.INFO: Acknowledgment sent {"connection_id":174722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:50:25] local.INFO: TCP Data received {"connection_id":172040,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072cb9df0012d63bbc00624c810000701592b..."} 
[2026-09-05 23:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072cb9df0012d63bbc00624c810000701592b..."} 
[2026-09-05 23:50:25] local.INFO: Processing buffer {"connection_id":172040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072cb9df0012d63bbc00624c810000701592b..."} 
[2026-09-05 23:50:25] local.INFO: Packet analysis {"connection_id":172040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072cb"} 
[2026-09-05 23:50:25] local.INFO: Extracted packet for processing {"connection_id":172040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072cb"} 
[2026-09-05 23:50:25] local.INFO: GPS Element Parsed {"raw_longitude":761510848,"raw_latitude":103073808,"longitude_deg":76.1510848,"latitude_deg":10.3073808,"altitude":7,"angle":345,"satellites":43,"speed":25,"hex_longitude":"2d63bbc0","hex_latitude":"0624c810","is_valid_coordinates":true} 
[2026-09-05 23:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889875200001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400122937161547776,"note":"Value kept but may cause issues"} 
[2026-09-05 23:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7188307981621370880,"note":"Value kept but may cause issues"} 
[2026-09-05 23:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788632342000,"timestamp_ms":1788632342000,"timestamp_seconds":1788632342,"priority":1,"record_length":96,"hex_timestamp":"000001a072cb9df0"} 
[2026-09-05 23:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-05 23:50:25] 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-09-05 23:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889875200001,"66":27343,"51":206,"79":20992,"24":25,"16":400122937161547776,"45":7188307981621370880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,79,24,16,45]} 
[2026-09-05 23:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889875200001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:50:25] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-05 23:50:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400122937161547776,"km_value":400122937161547.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":7188307981621370880,"description":"Unknown IO ID 45"} 
[2026-09-05 23:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889875200001,"power":27343,"unknown_51":206,"unknown_79":20992,"ignition":25,"odometer":null,"unknown_45":7188307981621370880}} 
[2026-09-05 23:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":172040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:50:25] local.INFO: GPS data processed {"connection_id":172040,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:50:25] local.INFO: Acknowledgment sent {"connection_id":172040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:50:44] local.INFO: TCP Data received {"connection_id":174724,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:50:44] local.INFO: Processing buffer {"connection_id":174724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:50:44] local.INFO: IMEI packet received {"connection_id":174724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":174724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:50:49] local.INFO: TCP Data received {"connection_id":174724,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:50:49] local.INFO: Processing buffer {"connection_id":174724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:50:49] local.INFO: IMEI packet received {"connection_id":174724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":174724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:50:49] local.INFO: TCP Data received {"connection_id":172280,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:50:49] local.INFO: Processing buffer {"connection_id":172280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:50:49] local.INFO: IMEI packet received {"connection_id":172280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":172280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:50:49] local.INFO: TCP Data received {"connection_id":172280,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:50:49] local.INFO: Processing buffer {"connection_id":172280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:50:49] local.INFO: IMEI packet received {"connection_id":172280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":172280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:50:49] local.INFO: TCP Data received {"connection_id":174724,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a072c81f68012d196500071ff128004401452c..."} 
[2026-09-05 23:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072c81f68012d196500071ff128004401452c..."} 
[2026-09-05 23:50:49] local.INFO: Processing buffer {"connection_id":174724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072c81f68012d196500071ff128004401452c..."} 
[2026-09-05 23:50:49] local.INFO: Packet analysis {"connection_id":174724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072c8"} 
[2026-09-05 23:50:49] local.INFO: Extracted packet for processing {"connection_id":174724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072c8"} 
[2026-09-05 23:50:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889743872001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788632113000,"timestamp_ms":1788632113000,"timestamp_seconds":1788632113,"priority":1,"record_length":96,"hex_timestamp":"000001a072c81f68"} 
[2026-09-05 23:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:50:49] 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-09-05 23: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":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23: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-09-05 23:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889743872001,"66":2166,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889743872001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:50:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:50:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889743872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":174724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:50:49] local.INFO: GPS data processed {"connection_id":174724,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:50:49] local.INFO: Acknowledgment sent {"connection_id":174724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:50:50] local.INFO: TCP Data received {"connection_id":172280,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:50:50] local.INFO: Processing buffer {"connection_id":172280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:50:50] local.INFO: IMEI packet received {"connection_id":172280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":172280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:50:56] local.INFO: TCP Data received {"connection_id":172280,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:50:56] local.INFO: Processing buffer {"connection_id":172280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:50:56] local.INFO: IMEI packet received {"connection_id":172280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":172280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:50:56] local.INFO: TCP Data received {"connection_id":172280,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072cbd0b8012d63af800624ea90000701532e..."} 
[2026-09-05 23:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072cbd0b8012d63af800624ea90000701532e..."} 
[2026-09-05 23:50:56] local.INFO: Processing buffer {"connection_id":172280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072cbd0b8012d63af800624ea90000701532e..."} 
[2026-09-05 23:50:56] local.INFO: Packet analysis {"connection_id":172280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072cb"} 
[2026-09-05 23:50:56] local.INFO: Extracted packet for processing {"connection_id":172280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072cb"} 
[2026-09-05 23:50:56] local.INFO: GPS Element Parsed {"raw_longitude":761507712,"raw_latitude":103082640,"longitude_deg":76.1507712,"latitude_deg":10.308264,"altitude":7,"angle":339,"satellites":46,"speed":31,"hex_longitude":"2d63af80","hex_latitude":"0624ea90","is_valid_coordinates":true} 
[2026-09-05 23:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889879552001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400123392428081152,"note":"Value kept but may cause issues"} 
[2026-09-05 23:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7186548763019186176,"note":"Value kept but may cause issues"} 
[2026-09-05 23:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788632355000,"timestamp_ms":1788632355000,"timestamp_seconds":1788632355,"priority":1,"record_length":96,"hex_timestamp":"000001a072cbd0b8"} 
[2026-09-05 23:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 23:50:56] 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-09-05 23:50:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889879552001,"66":27321,"51":206,"79":20992,"24":31,"16":400123392428081152,"45":7186548763019186176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,79,24,16,45]} 
[2026-09-05 23:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889879552001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:50:56] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-05 23:50:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400123392428081152,"km_value":400123392428081.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":7186548763019186176,"description":"Unknown IO ID 45"} 
[2026-09-05 23:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889879552001,"power":27321,"unknown_51":206,"unknown_79":20992,"ignition":31,"odometer":null,"unknown_45":7186548763019186176}} 
[2026-09-05 23:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":172280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:50:56] local.INFO: GPS data processed {"connection_id":172280,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:50:56] local.INFO: Acknowledgment sent {"connection_id":172280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:51:20] local.INFO: TCP Data received {"connection_id":174724,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a072ccb730012d196500071ff128004401452a..."} 
[2026-09-05 23:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ccb730012d196500071ff128004401452a..."} 
[2026-09-05 23:51:21] local.INFO: Processing buffer {"connection_id":174724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ccb730012d196500071ff128004401452a..."} 
[2026-09-05 23:51:21] local.INFO: Packet analysis {"connection_id":174724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072cc"} 
[2026-09-05 23:51:21] local.INFO: Extracted packet for processing {"connection_id":174724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072cc"} 
[2026-09-05 23:51:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889820928001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788632414000,"timestamp_ms":1788632414000,"timestamp_seconds":1788632414,"priority":1,"record_length":96,"hex_timestamp":"000001a072ccb730"} 
[2026-09-05 23:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889820928001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889820928001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:51:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:51:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889820928001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":174724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:51:21] local.INFO: GPS data processed {"connection_id":174724,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:51:21] local.INFO: Acknowledgment sent {"connection_id":174724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:51:28] local.INFO: TCP Data received {"connection_id":172280,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072cbfbb0012d63a30006250c08000701542d..."} 
[2026-09-05 23:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072cbfbb0012d63a30006250c08000701542d..."} 
[2026-09-05 23:51:28] local.INFO: Processing buffer {"connection_id":172280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072cbfbb0012d63a30006250c08000701542d..."} 
[2026-09-05 23:51:28] local.INFO: Packet analysis {"connection_id":172280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072cb"} 
[2026-09-05 23:51:28] local.INFO: Extracted packet for processing {"connection_id":172280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072cb"} 
[2026-09-05 23:51:28] local.INFO: GPS Element Parsed {"raw_longitude":761504512,"raw_latitude":103091208,"longitude_deg":76.1504512,"latitude_deg":10.3091208,"altitude":7,"angle":340,"satellites":45,"speed":35,"hex_longitude":"2d63a300","hex_latitude":"06250c08","is_valid_coordinates":true} 
[2026-09-05 23:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889882880001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400123834809712640,"note":"Value kept but may cause issues"} 
[2026-09-05 23:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7183100694556741632,"note":"Value kept but may cause issues"} 
[2026-09-05 23:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788632366000,"timestamp_ms":1788632366000,"timestamp_seconds":1788632366,"priority":1,"record_length":96,"hex_timestamp":"000001a072cbfbb0"} 
[2026-09-05 23:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-05 23:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:51:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889882880001,"66":27115,"76":206,"79":20992,"24":35,"16":400123834809712640,"45":7183100694556741632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,79,24,16,45]} 
[2026-09-05 23:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889882880001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:51:28] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-05 23:51:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400123834809712640,"km_value":400123834809712.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7183100694556741632,"description":"Unknown IO ID 45"} 
[2026-09-05 23:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889882880001,"power":27115,"unknown_76":206,"unknown_79":20992,"ignition":35,"odometer":null,"unknown_45":7183100694556741632}} 
[2026-09-05 23:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":172280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:51:28] local.INFO: GPS data processed {"connection_id":172280,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:51:28] local.INFO: Acknowledgment sent {"connection_id":172280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:51:43] local.INFO: TCP Data received {"connection_id":174726,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:51:43] local.INFO: Processing buffer {"connection_id":174726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:51:43] local.INFO: IMEI packet received {"connection_id":174726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":174726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:51:49] local.INFO: TCP Data received {"connection_id":174726,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:51:49] local.INFO: Processing buffer {"connection_id":174726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:51:49] local.INFO: IMEI packet received {"connection_id":174726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":174726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:51:49] local.INFO: TCP Data received {"connection_id":172281,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:51:49] local.INFO: Processing buffer {"connection_id":172281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:51:49] local.INFO: IMEI packet received {"connection_id":172281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":172281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:51:50] local.INFO: TCP Data received {"connection_id":174726,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a072ccb730012d196500071ff128004401452a..."} 
[2026-09-05 23:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ccb730012d196500071ff128004401452a..."} 
[2026-09-05 23:51:50] local.INFO: Processing buffer {"connection_id":174726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ccb730012d196500071ff128004401452a..."} 
[2026-09-05 23:51:50] local.INFO: Packet analysis {"connection_id":174726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072cc"} 
[2026-09-05 23:51:50] local.INFO: Extracted packet for processing {"connection_id":174726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072cc"} 
[2026-09-05 23:51:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889820928001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788632414000,"timestamp_ms":1788632414000,"timestamp_seconds":1788632414,"priority":1,"record_length":96,"hex_timestamp":"000001a072ccb730"} 
[2026-09-05 23:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:51:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889820928001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889820928001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:51:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:51:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889820928001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":174726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:51:50] local.INFO: GPS data processed {"connection_id":174726,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:51:50] local.INFO: Acknowledgment sent {"connection_id":174726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:51:51] local.INFO: TCP Data received {"connection_id":172281,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:51:51] local.INFO: Processing buffer {"connection_id":172281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:51:51] local.INFO: IMEI packet received {"connection_id":172281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":172281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:51:54] local.INFO: TCP Data received {"connection_id":172281,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:51:54] local.INFO: Processing buffer {"connection_id":172281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:51:54] local.INFO: IMEI packet received {"connection_id":172281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":172281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:51:56] local.INFO: TCP Data received {"connection_id":172281,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072cd5b40012d63110006263a18000a015828..."} 
[2026-09-05 23:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072cd5b40012d63110006263a18000a015828..."} 
[2026-09-05 23:51:56] local.INFO: Processing buffer {"connection_id":172281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072cd5b40012d63110006263a18000a015828..."} 
[2026-09-05 23:51:56] local.INFO: Packet analysis {"connection_id":172281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072cd"} 
[2026-09-05 23:51:56] local.INFO: Extracted packet for processing {"connection_id":172281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072cd"} 
[2026-09-05 23:51:56] local.INFO: GPS Element Parsed {"raw_longitude":761467136,"raw_latitude":103168536,"longitude_deg":76.1467136,"latitude_deg":10.3168536,"altitude":10,"angle":344,"satellites":40,"speed":46,"hex_longitude":"2d631100","hex_latitude":"06263a18","is_valid_coordinates":true} 
[2026-09-05 23:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889906432001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400127545661456384,"note":"Value kept but may cause issues"} 
[2026-09-05 23:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7140809079325532160,"note":"Value kept but may cause issues"} 
[2026-09-05 23:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788632456000,"timestamp_ms":1788632456000,"timestamp_seconds":1788632456,"priority":1,"record_length":96,"hex_timestamp":"000001a072cd5b40"} 
[2026-09-05 23:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-05 23:51:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:51:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889906432001,"66":27310,"88":206,"79":20992,"24":46,"16":400127545661456384,"45":7140809079325532160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,79,24,16,45]} 
[2026-09-05 23:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889906432001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:51:56] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-05 23:51:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400127545661456384,"km_value":400127545661456.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":7140809079325532160,"description":"Unknown IO ID 45"} 
[2026-09-05 23:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889906432001,"power":27310,"unknown_88":206,"unknown_79":20992,"ignition":46,"odometer":null,"unknown_45":7140809079325532160}} 
[2026-09-05 23:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":172281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:51:56] local.INFO: GPS data processed {"connection_id":172281,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:51:56] local.INFO: Acknowledgment sent {"connection_id":172281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:52:21] local.INFO: TCP Data received {"connection_id":174726,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a072ccb730012d196500071ff128004401452a..."} 
[2026-09-05 23:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ccb730012d196500071ff128004401452a..."} 
[2026-09-05 23:52:21] local.INFO: Processing buffer {"connection_id":174726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ccb730012d196500071ff128004401452a..."} 
[2026-09-05 23:52:21] local.INFO: Packet analysis {"connection_id":174726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072cc"} 
[2026-09-05 23:52:21] local.INFO: Extracted packet for processing {"connection_id":174726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072cc"} 
[2026-09-05 23:52:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889820928001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788632414000,"timestamp_ms":1788632414000,"timestamp_seconds":1788632414,"priority":1,"record_length":96,"hex_timestamp":"000001a072ccb730"} 
[2026-09-05 23:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:52:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889820928001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889820928001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:52:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:52:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889820928001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":174726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:52:21] local.INFO: GPS data processed {"connection_id":174726,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:52:21] local.INFO: Acknowledgment sent {"connection_id":174726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:52:28] local.INFO: TCP Data received {"connection_id":172281,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072cd7a80012d63020006265da80009014e2e..."} 
[2026-09-05 23:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072cd7a80012d63020006265da80009014e2e..."} 
[2026-09-05 23:52:28] local.INFO: Processing buffer {"connection_id":172281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072cd7a80012d63020006265da80009014e2e..."} 
[2026-09-05 23:52:28] local.INFO: Packet analysis {"connection_id":172281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072cd"} 
[2026-09-05 23:52:28] local.INFO: Extracted packet for processing {"connection_id":172281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072cd"} 
[2026-09-05 23:52:28] local.INFO: GPS Element Parsed {"raw_longitude":761463296,"raw_latitude":103177640,"longitude_deg":76.1463296,"latitude_deg":10.317764,"altitude":9,"angle":334,"satellites":46,"speed":50,"hex_longitude":"2d630200","hex_latitude":"06265da8","is_valid_coordinates":true} 
[2026-09-05 23:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889908736001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400128026697793536,"note":"Value kept but may cause issues"} 
[2026-09-05 23:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7138486910770092032,"note":"Value kept but may cause issues"} 
[2026-09-05 23:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788632464000,"timestamp_ms":1788632464000,"timestamp_seconds":1788632464,"priority":1,"record_length":96,"hex_timestamp":"000001a072cd7a80"} 
[2026-09-05 23:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-05 23:52:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889908736001,"66":27376,"89":206,"79":20992,"24":50,"16":400128026697793536,"45":7138486910770092032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-09-05 23:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889908736001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:52:28] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-05 23:52:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400128026697793536,"km_value":400128026697793.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7138486910770092032,"description":"Unknown IO ID 45"} 
[2026-09-05 23:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889908736001,"power":27376,"unknown_89":206,"unknown_79":20992,"ignition":50,"odometer":null,"unknown_45":7138486910770092032}} 
[2026-09-05 23:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":172281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:52:28] local.INFO: GPS data processed {"connection_id":172281,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:52:28] local.INFO: Acknowledgment sent {"connection_id":172281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:52:49] local.INFO: TCP Data received {"connection_id":172041,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:52:49] local.INFO: Processing buffer {"connection_id":172041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:52:49] local.INFO: IMEI packet received {"connection_id":172041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":172041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:52:49] local.INFO: TCP Data received {"connection_id":172042,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:52:49] local.INFO: Processing buffer {"connection_id":172042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:52:49] local.INFO: IMEI packet received {"connection_id":172042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":172042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:52:54] local.INFO: TCP Data received {"connection_id":172041,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:52:54] local.INFO: Processing buffer {"connection_id":172041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:52:54] local.INFO: IMEI packet received {"connection_id":172041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":172041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:52:54] local.INFO: TCP Data received {"connection_id":172041,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072ccb730012d196500071ff128004401452a..."} 
[2026-09-05 23:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ccb730012d196500071ff128004401452a..."} 
[2026-09-05 23:52:54] local.INFO: Processing buffer {"connection_id":172041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ccb730012d196500071ff128004401452a..."} 
[2026-09-05 23:52:54] local.INFO: Packet analysis {"connection_id":172041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072cc"} 
[2026-09-05 23:52:54] local.INFO: Extracted packet for processing {"connection_id":172041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072cc"} 
[2026-09-05 23:52:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889820928001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788632414000,"timestamp_ms":1788632414000,"timestamp_seconds":1788632414,"priority":1,"record_length":96,"hex_timestamp":"000001a072ccb730"} 
[2026-09-05 23:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:52:54] 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-09-05 23:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889820928001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889820928001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:52:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:52:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889820928001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":172041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:52:54] local.INFO: GPS data processed {"connection_id":172041,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:52:54] local.INFO: Acknowledgment sent {"connection_id":172041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:52:54] local.INFO: TCP Data received {"connection_id":172042,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:52:54] local.INFO: Processing buffer {"connection_id":172042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:52:54] local.INFO: IMEI packet received {"connection_id":172042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":172042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:52:55] local.INFO: TCP Data received {"connection_id":172042,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072cd99c0012d62f240062681700007014f2c..."} 
[2026-09-05 23:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072cd99c0012d62f240062681700007014f2c..."} 
[2026-09-05 23:52:55] local.INFO: Processing buffer {"connection_id":172042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072cd99c0012d62f240062681700007014f2c..."} 
[2026-09-05 23:52:55] local.INFO: Packet analysis {"connection_id":172042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072cd"} 
[2026-09-05 23:52:55] local.INFO: Extracted packet for processing {"connection_id":172042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072cd"} 
[2026-09-05 23:52:55] local.INFO: GPS Element Parsed {"raw_longitude":761459264,"raw_latitude":103186800,"longitude_deg":76.1459264,"latitude_deg":10.31868,"altitude":7,"angle":335,"satellites":44,"speed":47,"hex_longitude":"2d62f240","hex_latitude":"06268170","is_valid_coordinates":true} 
[2026-09-05 23:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889910784001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400128507734130688,"note":"Value kept but may cause issues"} 
[2026-09-05 23:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7134264786121762816,"note":"Value kept but may cause issues"} 
[2026-09-05 23:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788632472000,"timestamp_ms":1788632472000,"timestamp_seconds":1788632472,"priority":1,"record_length":96,"hex_timestamp":"000001a072cd99c0"} 
[2026-09-05 23:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-05 23:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889910784001,"66":27332,"89":206,"79":20992,"24":47,"16":400128507734130688,"45":7134264786121762816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-09-05 23:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889910784001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:52:55] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-05 23:52:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400128507734130688,"km_value":400128507734130.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":7134264786121762816,"description":"Unknown IO ID 45"} 
[2026-09-05 23:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889910784001,"power":27332,"unknown_89":206,"unknown_79":20992,"ignition":47,"odometer":null,"unknown_45":7134264786121762816}} 
[2026-09-05 23:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":172042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:52:56] local.INFO: GPS data processed {"connection_id":172042,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:52:56] local.INFO: Acknowledgment sent {"connection_id":172042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:52:59] local.INFO: TCP Data received {"connection_id":172041,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072ccb730012d196500071ff128004401452a..."} 
[2026-09-05 23:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ccb730012d196500071ff128004401452a..."} 
[2026-09-05 23:52:59] local.INFO: Processing buffer {"connection_id":172041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ccb730012d196500071ff128004401452a..."} 
[2026-09-05 23:52:59] local.INFO: Packet analysis {"connection_id":172041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072cc"} 
[2026-09-05 23:52:59] local.INFO: Extracted packet for processing {"connection_id":172041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072cc"} 
[2026-09-05 23:52:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889820928001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788632414000,"timestamp_ms":1788632414000,"timestamp_seconds":1788632414,"priority":1,"record_length":96,"hex_timestamp":"000001a072ccb730"} 
[2026-09-05 23:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:52:59] 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-09-05 23:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889820928001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889820928001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:52:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:52:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889820928001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":172041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:52:59] local.INFO: GPS data processed {"connection_id":172041,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:52:59] local.INFO: Acknowledgment sent {"connection_id":172041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:53:27] local.INFO: TCP Data received {"connection_id":172042,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072cdbce8012d62e6000626a300000801562c..."} 
[2026-09-05 23:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072cdbce8012d62e6000626a300000801562c..."} 
[2026-09-05 23:53:27] local.INFO: Processing buffer {"connection_id":172042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072cdbce8012d62e6000626a300000801562c..."} 
[2026-09-05 23:53:27] local.INFO: Packet analysis {"connection_id":172042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072cd"} 
[2026-09-05 23:53:27] local.INFO: Extracted packet for processing {"connection_id":172042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072cd"} 
[2026-09-05 23:53:27] local.INFO: GPS Element Parsed {"raw_longitude":761456128,"raw_latitude":103195392,"longitude_deg":76.1456128,"latitude_deg":10.3195392,"altitude":8,"angle":342,"satellites":44,"speed":39,"hex_longitude":"2d62e600","hex_latitude":"0626a300","is_valid_coordinates":true} 
[2026-09-05 23:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889912832001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400128954410729472,"note":"Value kept but may cause issues"} 
[2026-09-05 23:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7129831555240914944,"note":"Value kept but may cause issues"} 
[2026-09-05 23:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788632481000,"timestamp_ms":1788632481000,"timestamp_seconds":1788632481,"priority":1,"record_length":96,"hex_timestamp":"000001a072cdbce8"} 
[2026-09-05 23:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:53: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-09-05 23:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-05 23:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889912832001,"66":27321,"89":206,"79":20992,"24":39,"16":400128954410729472,"45":7129831555240914944},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-09-05 23:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889912832001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:53:27] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-05 23:53:27] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400128954410729472,"km_value":400128954410729.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":7129831555240914944,"description":"Unknown IO ID 45"} 
[2026-09-05 23:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889912832001,"power":27321,"unknown_89":206,"unknown_79":20992,"ignition":39,"odometer":null,"unknown_45":7129831555240914944}} 
[2026-09-05 23:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":172042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:53:27] local.INFO: GPS data processed {"connection_id":172042,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:53:27] local.INFO: Acknowledgment sent {"connection_id":172042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:53:44] local.INFO: TCP Data received {"connection_id":172282,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:53:44] local.INFO: Processing buffer {"connection_id":172282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:53:44] local.INFO: IMEI packet received {"connection_id":172282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":172282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:53:49] local.INFO: TCP Data received {"connection_id":172282,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:53:49] local.INFO: Processing buffer {"connection_id":172282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:53:49] local.INFO: IMEI packet received {"connection_id":172282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":172282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:53:49] local.INFO: TCP Data received {"connection_id":172282,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a072ccb730012d196500071ff128004401452a..."} 
[2026-09-05 23:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ccb730012d196500071ff128004401452a..."} 
[2026-09-05 23:53:49] local.INFO: Processing buffer {"connection_id":172282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ccb730012d196500071ff128004401452a..."} 
[2026-09-05 23:53:49] local.INFO: Packet analysis {"connection_id":172282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072cc"} 
[2026-09-05 23:53:49] local.INFO: Extracted packet for processing {"connection_id":172282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072cc"} 
[2026-09-05 23:53:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889820928001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788632414000,"timestamp_ms":1788632414000,"timestamp_seconds":1788632414,"priority":1,"record_length":96,"hex_timestamp":"000001a072ccb730"} 
[2026-09-05 23:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:53:49] 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-09-05 23:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:53: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-09-05 23:53:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889820928001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889820928001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:53:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:53:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889820928001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":172282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:53:49] local.INFO: GPS data processed {"connection_id":172282,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:53:49] local.INFO: Acknowledgment sent {"connection_id":172282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:53:54] local.INFO: TCP Data received {"connection_id":173402,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:53:54] local.INFO: Processing buffer {"connection_id":173402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:53:54] local.INFO: IMEI packet received {"connection_id":173402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":173402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:53:55] local.INFO: TCP Data received {"connection_id":173402,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:53:55] local.INFO: Processing buffer {"connection_id":173402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:53:55] local.INFO: IMEI packet received {"connection_id":173402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":173402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:54:00] local.INFO: TCP Data received {"connection_id":173402,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:54:00] local.INFO: Processing buffer {"connection_id":173402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:54:00] local.INFO: IMEI packet received {"connection_id":173402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":173402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:54:01] local.INFO: TCP Data received {"connection_id":173402,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072cf2448012d627ec0062797e80005013e25..."} 
[2026-09-05 23:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072cf2448012d627ec0062797e80005013e25..."} 
[2026-09-05 23:54:01] local.INFO: Processing buffer {"connection_id":173402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072cf2448012d627ec0062797e80005013e25..."} 
[2026-09-05 23:54:01] local.INFO: Packet analysis {"connection_id":173402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072cf"} 
[2026-09-05 23:54:01] local.INFO: Extracted packet for processing {"connection_id":173402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072cf"} 
[2026-09-05 23:54:01] local.INFO: GPS Element Parsed {"raw_longitude":761429696,"raw_latitude":103258088,"longitude_deg":76.1429696,"latitude_deg":10.3258088,"altitude":5,"angle":318,"satellites":37,"speed":11,"hex_longitude":"2d627ec0","hex_latitude":"062797e8","is_valid_coordinates":true} 
[2026-09-05 23:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889938176001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400132351729860608,"note":"Value kept but may cause issues"} 
[2026-09-05 23:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7097743407914078208,"note":"Value kept but may cause issues"} 
[2026-09-05 23:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788632573000,"timestamp_ms":1788632573000,"timestamp_seconds":1788632573,"priority":1,"record_length":96,"hex_timestamp":"000001a072cf2448"} 
[2026-09-05 23:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-05 23:54:01] 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-09-05 23:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889938176001,"66":26245,"191":206,"79":20992,"24":11,"16":400132351729860608,"45":7097743407914078208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,79,24,16,45]} 
[2026-09-05 23:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889938176001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:54:01] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-05 23:54:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400132351729860608,"km_value":400132351729860.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7097743407914078208,"description":"Unknown IO ID 45"} 
[2026-09-05 23:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889938176001,"power":26245,"unknown_191":206,"unknown_79":20992,"ignition":11,"odometer":null,"unknown_45":7097743407914078208}} 
[2026-09-05 23:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":173402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:54:01] local.INFO: GPS data processed {"connection_id":173402,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:54:01] local.INFO: Acknowledgment sent {"connection_id":173402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:54:05] local.INFO: TCP Data received {"connection_id":173402,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072cf2830012d627e00062799180005015227..."} 
[2026-09-05 23:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072cf2830012d627e00062799180005015227..."} 
[2026-09-05 23:54:05] local.INFO: Processing buffer {"connection_id":173402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072cf2830012d627e00062799180005015227..."} 
[2026-09-05 23:54:05] local.INFO: Packet analysis {"connection_id":173402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072cf"} 
[2026-09-05 23:54:05] local.INFO: Extracted packet for processing {"connection_id":173402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072cf"} 
[2026-09-05 23:54:05] local.INFO: GPS Element Parsed {"raw_longitude":761429504,"raw_latitude":103258392,"longitude_deg":76.1429504,"latitude_deg":10.3258392,"altitude":5,"angle":338,"satellites":39,"speed":12,"hex_longitude":"2d627e00","hex_latitude":"06279918","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889938688001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400132368909729792,"note":"Value kept but may cause issues"} 
[2026-09-05 23:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7097321195449083904,"note":"Value kept but may cause issues"} 
[2026-09-05 23:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788632574000,"timestamp_ms":1788632574000,"timestamp_seconds":1788632574,"priority":1,"record_length":96,"hex_timestamp":"000001a072cf2830"} 
[2026-09-05 23:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23: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":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-05 23:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23: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-09-05 23:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:54: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-09-05 23:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889938688001,"66":27180,"191":206,"79":20992,"24":12,"16":400132368909729792,"45":7097321195449083904},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,79,24,16,45]} 
[2026-09-05 23:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889938688001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:54:05] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-05 23:54:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400132368909729792,"km_value":400132368909729.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7097321195449083904,"description":"Unknown IO ID 45"} 
[2026-09-05 23:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889938688001,"power":27180,"unknown_191":206,"unknown_79":20992,"ignition":12,"odometer":null,"unknown_45":7097321195449083904}} 
[2026-09-05 23:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":173402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:54:05] local.INFO: GPS data processed {"connection_id":173402,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:54:05] local.INFO: Acknowledgment sent {"connection_id":173402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:54:20] local.INFO: TCP Data received {"connection_id":172282,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a072ccb730012d196500071ff128004401452a..."} 
[2026-09-05 23:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ccb730012d196500071ff128004401452a..."} 
[2026-09-05 23:54:20] local.INFO: Processing buffer {"connection_id":172282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ccb730012d196500071ff128004401452a..."} 
[2026-09-05 23:54:20] local.INFO: Packet analysis {"connection_id":172282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072cc"} 
[2026-09-05 23:54:20] local.INFO: Extracted packet for processing {"connection_id":172282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072cc"} 
[2026-09-05 23:54:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889820928001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788632414000,"timestamp_ms":1788632414000,"timestamp_seconds":1788632414,"priority":1,"record_length":96,"hex_timestamp":"000001a072ccb730"} 
[2026-09-05 23:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:54:20] 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-09-05 23:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889820928001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889820928001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:54:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:54:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889820928001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":172282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:54:21] local.INFO: GPS data processed {"connection_id":172282,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:54:21] local.INFO: Acknowledgment sent {"connection_id":172282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:54:43] local.INFO: TCP Data received {"connection_id":172043,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172043,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:54:43] local.INFO: Processing buffer {"connection_id":172043,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:54:43] local.INFO: IMEI packet received {"connection_id":172043,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 23:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":172043,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:54:44] local.INFO: TCP Data received {"connection_id":174729,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:54:44] local.INFO: Processing buffer {"connection_id":174729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:54:44] local.INFO: IMEI packet received {"connection_id":174729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":174729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:54:49] local.INFO: TCP Data received {"connection_id":174729,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:54:49] local.INFO: Processing buffer {"connection_id":174729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:54:49] local.INFO: IMEI packet received {"connection_id":174729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":174729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:54:49] local.INFO: TCP Data received {"connection_id":172044,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:54:49] local.INFO: Processing buffer {"connection_id":172044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:54:49] local.INFO: IMEI packet received {"connection_id":172044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":172044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:54:49] local.INFO: TCP Data received {"connection_id":174729,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a072ccb730012d196500071ff128004401452a..."} 
[2026-09-05 23:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ccb730012d196500071ff128004401452a..."} 
[2026-09-05 23:54:49] local.INFO: Processing buffer {"connection_id":174729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ccb730012d196500071ff128004401452a..."} 
[2026-09-05 23:54:49] local.INFO: Packet analysis {"connection_id":174729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072cc"} 
[2026-09-05 23:54:49] local.INFO: Extracted packet for processing {"connection_id":174729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072cc"} 
[2026-09-05 23:54:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889820928001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788632414000,"timestamp_ms":1788632414000,"timestamp_seconds":1788632414,"priority":1,"record_length":96,"hex_timestamp":"000001a072ccb730"} 
[2026-09-05 23:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:54:49] 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-09-05 23:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:54: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-09-05 23:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889820928001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889820928001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:54:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:54:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889820928001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":174729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:54:49] local.INFO: GPS data processed {"connection_id":174729,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:54:49] local.INFO: Acknowledgment sent {"connection_id":174729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:54:54] local.INFO: TCP Data received {"connection_id":172044,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:54:54] local.INFO: Processing buffer {"connection_id":172044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:54:54] local.INFO: IMEI packet received {"connection_id":172044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":172044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:54:54] local.INFO: TCP Data received {"connection_id":172044,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072cf2c18012d627dc006279a70000401612a..."} 
[2026-09-05 23:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072cf2c18012d627dc006279a70000401612a..."} 
[2026-09-05 23:54:54] local.INFO: Processing buffer {"connection_id":172044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072cf2c18012d627dc006279a70000401612a..."} 
[2026-09-05 23:54:54] local.INFO: Packet analysis {"connection_id":172044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072cf"} 
[2026-09-05 23:54:54] local.INFO: Extracted packet for processing {"connection_id":172044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072cf"} 
[2026-09-05 23:54:54] local.INFO: GPS Element Parsed {"raw_longitude":761429440,"raw_latitude":103258736,"longitude_deg":76.142944,"latitude_deg":10.3258736,"altitude":4,"angle":353,"satellites":42,"speed":13,"hex_longitude":"2d627dc0","hex_latitude":"06279a70","is_valid_coordinates":true} 
[2026-09-05 23:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889938944001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400132386089598976,"note":"Value kept but may cause issues"} 
[2026-09-05 23:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7097110089216628736,"note":"Value kept but may cause issues"} 
[2026-09-05 23:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788632575000,"timestamp_ms":1788632575000,"timestamp_seconds":1788632575,"priority":1,"record_length":96,"hex_timestamp":"000001a072cf2c18"} 
[2026-09-05 23:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-05 23:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889938944001,"66":27180,"191":206,"79":20992,"24":13,"16":400132386089598976,"45":7097110089216628736},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,79,24,16,45]} 
[2026-09-05 23:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889938944001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:54:54] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-05 23:54:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400132386089598976,"km_value":400132386089599.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":7097110089216628736,"description":"Unknown IO ID 45"} 
[2026-09-05 23:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889938944001,"power":27180,"unknown_191":206,"unknown_79":20992,"ignition":13,"odometer":null,"unknown_45":7097110089216628736}} 
[2026-09-05 23:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":172044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:54:54] local.INFO: GPS data processed {"connection_id":172044,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:54:54] local.INFO: Acknowledgment sent {"connection_id":172044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:55:12] local.INFO: TCP Data received {"connection_id":172283,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:55:12] local.INFO: Processing buffer {"connection_id":172283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-05 23:55:12] local.INFO: IMEI packet received {"connection_id":172283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-05 23:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":172283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:55:21] local.INFO: TCP Data received {"connection_id":174729,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a072ccb730012d196500071ff128004401452a..."} 
[2026-09-05 23:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ccb730012d196500071ff128004401452a..."} 
[2026-09-05 23:55:21] local.INFO: Processing buffer {"connection_id":174729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ccb730012d196500071ff128004401452a..."} 
[2026-09-05 23:55:21] local.INFO: Packet analysis {"connection_id":174729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072cc"} 
[2026-09-05 23:55:21] local.INFO: Extracted packet for processing {"connection_id":174729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072cc"} 
[2026-09-05 23:55:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889820928001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788632414000,"timestamp_ms":1788632414000,"timestamp_seconds":1788632414,"priority":1,"record_length":96,"hex_timestamp":"000001a072ccb730"} 
[2026-09-05 23:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889820928001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889820928001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:55:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:55:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889820928001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":174729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:55:21] local.INFO: GPS data processed {"connection_id":174729,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:55:21] local.INFO: Acknowledgment sent {"connection_id":174729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:55:26] local.INFO: TCP Data received {"connection_id":172044,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072cf4b58012d627b000627aa100001015528..."} 
[2026-09-05 23:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072cf4b58012d627b000627aa100001015528..."} 
[2026-09-05 23:55:26] local.INFO: Processing buffer {"connection_id":172044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072cf4b58012d627b000627aa100001015528..."} 
[2026-09-05 23:55:26] local.INFO: Packet analysis {"connection_id":172044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072cf"} 
[2026-09-05 23:55:26] local.INFO: Extracted packet for processing {"connection_id":172044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072cf"} 
[2026-09-05 23:55:26] local.INFO: GPS Element Parsed {"raw_longitude":761428736,"raw_latitude":103262736,"longitude_deg":76.1428736,"latitude_deg":10.3262736,"altitude":1,"angle":341,"satellites":40,"speed":24,"hex_longitude":"2d627b00","hex_latitude":"0627aa10","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889939200001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400132583658094592,"note":"Value kept but may cause issues"} 
[2026-09-05 23:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7097039720472539136,"note":"Value kept but may cause issues"} 
[2026-09-05 23:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788632583000,"timestamp_ms":1788632583000,"timestamp_seconds":1788632583,"priority":1,"record_length":96,"hex_timestamp":"000001a072cf4b58"} 
[2026-09-05 23:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-05 23:55:26] 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-09-05 23: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-09-05 23:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:55:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889939200001,"66":27365,"191":206,"79":20992,"24":24,"16":400132583658094592,"45":7097039720472539136},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,79,24,16,45]} 
[2026-09-05 23:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889939200001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:55:26] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-05 23:55:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400132583658094592,"km_value":400132583658094.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":7097039720472539136,"description":"Unknown IO ID 45"} 
[2026-09-05 23:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889939200001,"power":27365,"unknown_191":206,"unknown_79":20992,"ignition":24,"odometer":null,"unknown_45":7097039720472539136}} 
[2026-09-05 23:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":172044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:55:26] local.INFO: GPS data processed {"connection_id":172044,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:55:26] local.INFO: Acknowledgment sent {"connection_id":172044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:55:43] local.INFO: TCP Data received {"connection_id":172284,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:55:43] local.INFO: Processing buffer {"connection_id":172284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:55:43] local.INFO: IMEI packet received {"connection_id":172284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":172284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:55:49] local.INFO: TCP Data received {"connection_id":172284,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:55:49] local.INFO: Processing buffer {"connection_id":172284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:55:49] local.INFO: IMEI packet received {"connection_id":172284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":172284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:55:49] local.INFO: TCP Data received {"connection_id":172285,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:55:49] local.INFO: Processing buffer {"connection_id":172285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:55:49] local.INFO: IMEI packet received {"connection_id":172285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":172285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:55:49] local.INFO: TCP Data received {"connection_id":172284,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a072ccb730012d196500071ff128004401452a..."} 
[2026-09-05 23:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ccb730012d196500071ff128004401452a..."} 
[2026-09-05 23:55:49] local.INFO: Processing buffer {"connection_id":172284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ccb730012d196500071ff128004401452a..."} 
[2026-09-05 23:55:49] local.INFO: Packet analysis {"connection_id":172284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072cc"} 
[2026-09-05 23:55:49] local.INFO: Extracted packet for processing {"connection_id":172284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072cc"} 
[2026-09-05 23:55:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889820928001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788632414000,"timestamp_ms":1788632414000,"timestamp_seconds":1788632414,"priority":1,"record_length":96,"hex_timestamp":"000001a072ccb730"} 
[2026-09-05 23:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:55:49] 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-09-05 23:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-05 23:55: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-09-05 23:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889820928001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889820928001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:55:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:55:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889820928001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":172284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:55:49] local.INFO: GPS data processed {"connection_id":172284,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:55:49] local.INFO: Acknowledgment sent {"connection_id":172284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:55:53] local.INFO: TCP Data received {"connection_id":172285,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:55:53] local.INFO: Processing buffer {"connection_id":172285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:55:53] local.INFO: IMEI packet received {"connection_id":172285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":172285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:55:54] local.INFO: TCP Data received {"connection_id":172285,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:55:54] local.INFO: Processing buffer {"connection_id":172285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:55:54] local.INFO: IMEI packet received {"connection_id":172285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":172285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:55:55] local.INFO: TCP Data received {"connection_id":172285,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072d104c0012d61db0006291a180009014d2e..."} 
[2026-09-05 23:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d104c0012d61db0006291a180009014d2e..."} 
[2026-09-05 23:55:55] local.INFO: Processing buffer {"connection_id":172285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d104c0012d61db0006291a180009014d2e..."} 
[2026-09-05 23:55:55] local.INFO: Packet analysis {"connection_id":172285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d1"} 
[2026-09-05 23:55:55] local.INFO: Extracted packet for processing {"connection_id":172285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d1"} 
[2026-09-05 23:55:55] local.INFO: GPS Element Parsed {"raw_longitude":761387776,"raw_latitude":103356952,"longitude_deg":76.1387776,"latitude_deg":10.3356952,"altitude":9,"angle":333,"satellites":46,"speed":57,"hex_longitude":"2d61db00","hex_latitude":"06291a18","is_valid_coordinates":true} 
[2026-09-05 23:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889968384001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400137561525190656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7056085111384070144,"note":"Value kept but may cause issues"} 
[2026-09-05 23:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788632696000,"timestamp_ms":1788632696000,"timestamp_seconds":1788632696,"priority":1,"record_length":96,"hex_timestamp":"000001a072d104c0"} 
[2026-09-05 23:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-05 23:55:55] 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-09-05 23:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889968384001,"66":26930,"90":206,"79":20992,"24":57,"16":400137561525190656,"45":7056085111384070144},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,79,24,16,45]} 
[2026-09-05 23:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889968384001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:55:55] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-05 23:55:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400137561525190656,"km_value":400137561525190.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":7056085111384070144,"description":"Unknown IO ID 45"} 
[2026-09-05 23:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889968384001,"power":26930,"unknown_90":206,"unknown_79":20992,"ignition":57,"odometer":null,"unknown_45":7056085111384070144}} 
[2026-09-05 23:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":172285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:55:55] local.INFO: GPS data processed {"connection_id":172285,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:55:55] local.INFO: Acknowledgment sent {"connection_id":172285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:55:59] local.INFO: TCP Data received {"connection_id":172285,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072d11c30012d61ccc006293a68000701512e..."} 
[2026-09-05 23:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d11c30012d61ccc006293a68000701512e..."} 
[2026-09-05 23:55:59] local.INFO: Processing buffer {"connection_id":172285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d11c30012d61ccc006293a68000701512e..."} 
[2026-09-05 23:55:59] local.INFO: Packet analysis {"connection_id":172285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d1"} 
[2026-09-05 23:55:59] local.INFO: Extracted packet for processing {"connection_id":172285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d1"} 
[2026-09-05 23:55:59] local.INFO: GPS Element Parsed {"raw_longitude":761384128,"raw_latitude":103365224,"longitude_deg":76.1384128,"latitude_deg":10.3365224,"altitude":7,"angle":337,"satellites":46,"speed":61,"hex_longitude":"2d61ccc0","hex_latitude":"06293a68","is_valid_coordinates":true} 
[2026-09-05 23:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889970176001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400137999611854848,"note":"Value kept but may cause issues"} 
[2026-09-05 23:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7051229668038023168,"note":"Value kept but may cause issues"} 
[2026-09-05 23:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788632702000,"timestamp_ms":1788632702000,"timestamp_seconds":1788632702,"priority":1,"record_length":96,"hex_timestamp":"000001a072d11c30"} 
[2026-09-05 23:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-09-05 23:55:59] 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-09-05 23:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889970176001,"66":27365,"90":206,"79":20992,"24":61,"16":400137999611854848,"45":7051229668038023168},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,79,24,16,45]} 
[2026-09-05 23:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889970176001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:55:59] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-05 23:55:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400137999611854848,"km_value":400137999611854.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7051229668038023168,"description":"Unknown IO ID 45"} 
[2026-09-05 23:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889970176001,"power":27365,"unknown_90":206,"unknown_79":20992,"ignition":61,"odometer":null,"unknown_45":7051229668038023168}} 
[2026-09-05 23:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":172285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:55:59] local.INFO: GPS data processed {"connection_id":172285,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:55:59] local.INFO: Acknowledgment sent {"connection_id":172285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:56:20] local.INFO: TCP Data received {"connection_id":172284,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a072d14b10012d196500071ff128004401452a..."} 
[2026-09-05 23:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d14b10012d196500071ff128004401452a..."} 
[2026-09-05 23:56:20] local.INFO: Processing buffer {"connection_id":172284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d14b10012d196500071ff128004401452a..."} 
[2026-09-05 23:56:20] local.INFO: Packet analysis {"connection_id":172284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d1"} 
[2026-09-05 23:56:20] local.INFO: Extracted packet for processing {"connection_id":172284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d1"} 
[2026-09-05 23:56:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889897984001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788632714000,"timestamp_ms":1788632714000,"timestamp_seconds":1788632714,"priority":1,"record_length":96,"hex_timestamp":"000001a072d14b10"} 
[2026-09-05 23:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889897984001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889897984001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:56:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:56:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889897984001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":172284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:56:21] local.INFO: GPS data processed {"connection_id":172284,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:56:21] local.INFO: Acknowledgment sent {"connection_id":172284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:56:30] local.INFO: TCP Data received {"connection_id":172285,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072d133a0012d61bf4006295bf0000601542e..."} 
[2026-09-05 23:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d133a0012d61bf4006295bf0000601542e..."} 
[2026-09-05 23:56:30] local.INFO: Processing buffer {"connection_id":172285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d133a0012d61bf4006295bf0000601542e..."} 
[2026-09-05 23:56:30] local.INFO: Packet analysis {"connection_id":172285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d1"} 
[2026-09-05 23:56:30] local.INFO: Extracted packet for processing {"connection_id":172285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d1"} 
[2026-09-05 23:56:30] local.INFO: GPS Element Parsed {"raw_longitude":761380672,"raw_latitude":103373808,"longitude_deg":76.1380672,"latitude_deg":10.3373808,"altitude":6,"angle":340,"satellites":46,"speed":61,"hex_longitude":"2d61bf40","hex_latitude":"06295bf0","is_valid_coordinates":true} 
[2026-09-05 23:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889971712001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400138446288453632,"note":"Value kept but may cause issues"} 
[2026-09-05 23:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7047218649622013952,"note":"Value kept but may cause issues"} 
[2026-09-05 23:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788632708000,"timestamp_ms":1788632708000,"timestamp_seconds":1788632708,"priority":1,"record_length":96,"hex_timestamp":"000001a072d133a0"} 
[2026-09-05 23:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-05 23:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:56:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889971712001,"66":27343,"90":206,"79":20992,"24":61,"16":400138446288453632,"45":7047218649622013952},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,79,24,16,45]} 
[2026-09-05 23:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889971712001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:56:30] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-05 23:56:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400138446288453632,"km_value":400138446288453.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":7047218649622013952,"description":"Unknown IO ID 45"} 
[2026-09-05 23:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889971712001,"power":27343,"unknown_90":206,"unknown_79":20992,"ignition":61,"odometer":null,"unknown_45":7047218649622013952}} 
[2026-09-05 23:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":172285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:56:30] local.INFO: GPS data processed {"connection_id":172285,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:56:30] local.INFO: Acknowledgment sent {"connection_id":172285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:56:49] local.INFO: TCP Data received {"connection_id":173404,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:56:49] local.INFO: Processing buffer {"connection_id":173404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:56:49] local.INFO: IMEI packet received {"connection_id":173404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":173404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:56:53] local.INFO: TCP Data received {"connection_id":173404,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:56:54] local.INFO: Processing buffer {"connection_id":173404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:56:54] local.INFO: IMEI packet received {"connection_id":173404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":173404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:56:54] local.INFO: TCP Data received {"connection_id":172045,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:56:54] local.INFO: Processing buffer {"connection_id":172045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:56:54] local.INFO: IMEI packet received {"connection_id":172045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":172045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:56:54] local.INFO: TCP Data received {"connection_id":173404,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a072d14b10012d196500071ff128004401452a..."} 
[2026-09-05 23:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d14b10012d196500071ff128004401452a..."} 
[2026-09-05 23:56:54] local.INFO: Processing buffer {"connection_id":173404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d14b10012d196500071ff128004401452a..."} 
[2026-09-05 23:56:54] local.INFO: Packet analysis {"connection_id":173404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d1"} 
[2026-09-05 23:56:54] local.INFO: Extracted packet for processing {"connection_id":173404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d1"} 
[2026-09-05 23:56:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889897984001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788632714000,"timestamp_ms":1788632714000,"timestamp_seconds":1788632714,"priority":1,"record_length":96,"hex_timestamp":"000001a072d14b10"} 
[2026-09-05 23:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889897984001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889897984001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:56:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:56:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889897984001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":173404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:56:54] local.INFO: GPS data processed {"connection_id":173404,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:56:54] local.INFO: Acknowledgment sent {"connection_id":173404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:56:55] local.INFO: TCP Data received {"connection_id":172045,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:56:55] local.INFO: Processing buffer {"connection_id":172045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:56:55] local.INFO: IMEI packet received {"connection_id":172045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":172045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:56:56] local.INFO: TCP Data received {"connection_id":172045,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072d14b10012d61b40006297e30000401562c..."} 
[2026-09-05 23:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d14b10012d61b40006297e30000401562c..."} 
[2026-09-05 23:56:56] local.INFO: Processing buffer {"connection_id":172045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d14b10012d61b40006297e30000401562c..."} 
[2026-09-05 23:56:56] local.INFO: Packet analysis {"connection_id":172045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d1"} 
[2026-09-05 23:56:56] local.INFO: Extracted packet for processing {"connection_id":172045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d1"} 
[2026-09-05 23:56:56] local.INFO: GPS Element Parsed {"raw_longitude":761377792,"raw_latitude":103382576,"longitude_deg":76.1377792,"latitude_deg":10.3382576,"altitude":4,"angle":342,"satellites":44,"speed":61,"hex_longitude":"2d61b400","hex_latitude":"06297e30","is_valid_coordinates":true} 
[2026-09-05 23:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889973248001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400138892965052416,"note":"Value kept but may cause issues"} 
[2026-09-05 23:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7043418737438617600,"note":"Value kept but may cause issues"} 
[2026-09-05 23:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788632714000,"timestamp_ms":1788632714000,"timestamp_seconds":1788632714,"priority":1,"record_length":96,"hex_timestamp":"000001a072d14b10"} 
[2026-09-05 23:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-05 23:56:56] 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-09-05 23:56:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889973248001,"66":27213,"90":206,"79":20992,"24":61,"16":400138892965052416,"45":7043418737438617600},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,79,24,16,45]} 
[2026-09-05 23:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889973248001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:56:56] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-05 23:56:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400138892965052416,"km_value":400138892965052.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":7043418737438617600,"description":"Unknown IO ID 45"} 
[2026-09-05 23:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889973248001,"power":27213,"unknown_90":206,"unknown_79":20992,"ignition":61,"odometer":null,"unknown_45":7043418737438617600}} 
[2026-09-05 23:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":172045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:56:56] local.INFO: GPS data processed {"connection_id":172045,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:56:56] local.INFO: Acknowledgment sent {"connection_id":172045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:56:59] local.INFO: TCP Data received {"connection_id":173404,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a072d14b10012d196500071ff128004401452a..."} 
[2026-09-05 23:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d14b10012d196500071ff128004401452a..."} 
[2026-09-05 23:56:59] local.INFO: Processing buffer {"connection_id":173404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d14b10012d196500071ff128004401452a..."} 
[2026-09-05 23:56:59] local.INFO: Packet analysis {"connection_id":173404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d1"} 
[2026-09-05 23:56:59] local.INFO: Extracted packet for processing {"connection_id":173404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d1"} 
[2026-09-05 23:56:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889897984001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788632714000,"timestamp_ms":1788632714000,"timestamp_seconds":1788632714,"priority":1,"record_length":96,"hex_timestamp":"000001a072d14b10"} 
[2026-09-05 23:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889897984001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889897984001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:56:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:56:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889897984001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":173404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:56:59] local.INFO: GPS data processed {"connection_id":173404,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:56:59] local.INFO: Acknowledgment sent {"connection_id":173404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:56:59] local.INFO: TCP Data received {"connection_id":172045,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072d16280012d61a9000629a008000401562d..."} 
[2026-09-05 23:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d16280012d61a9000629a008000401562d..."} 
[2026-09-05 23:56:59] local.INFO: Processing buffer {"connection_id":172045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d16280012d61a9000629a008000401562d..."} 
[2026-09-05 23:56:59] local.INFO: Packet analysis {"connection_id":172045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d1"} 
[2026-09-05 23:56:59] local.INFO: Extracted packet for processing {"connection_id":172045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d1"} 
[2026-09-05 23:56:59] local.INFO: GPS Element Parsed {"raw_longitude":761374976,"raw_latitude":103391240,"longitude_deg":76.1374976,"latitude_deg":10.339124,"altitude":4,"angle":342,"satellites":45,"speed":57,"hex_longitude":"2d61a900","hex_latitude":"0629a008","is_valid_coordinates":true} 
[2026-09-05 23:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889974784001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400139335346683904,"note":"Value kept but may cause issues"} 
[2026-09-05 23:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7040252143952867328,"note":"Value kept but may cause issues"} 
[2026-09-05 23:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788632720000,"timestamp_ms":1788632720000,"timestamp_seconds":1788632720,"priority":1,"record_length":96,"hex_timestamp":"000001a072d16280"} 
[2026-09-05 23:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-05 23:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889974784001,"66":27245,"90":206,"79":20992,"24":57,"16":400139335346683904,"45":7040252143952867328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,79,24,16,45]} 
[2026-09-05 23:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889974784001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:56:59] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-05 23:56:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400139335346683904,"km_value":400139335346683.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7040252143952867328,"description":"Unknown IO ID 45"} 
[2026-09-05 23:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889974784001,"power":27245,"unknown_90":206,"unknown_79":20992,"ignition":57,"odometer":null,"unknown_45":7040252143952867328}} 
[2026-09-05 23:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":172045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:56:59] local.INFO: GPS data processed {"connection_id":172045,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:56:59] local.INFO: Acknowledgment sent {"connection_id":172045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:57:32] local.INFO: TCP Data received {"connection_id":172045,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072d28b60012d60e0c0062b26d8000801492d..."} 
[2026-09-05 23:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d28b60012d60e0c0062b26d8000801492d..."} 
[2026-09-05 23:57:32] local.INFO: Processing buffer {"connection_id":172045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d28b60012d60e0c0062b26d8000801492d..."} 
[2026-09-05 23:57:32] local.INFO: Packet analysis {"connection_id":172045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d2"} 
[2026-09-05 23:57:32] local.INFO: Extracted packet for processing {"connection_id":172045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d2"} 
[2026-09-05 23:57:32] local.INFO: GPS Element Parsed {"raw_longitude":761323712,"raw_latitude":103491288,"longitude_deg":76.1323712,"latitude_deg":10.3491288,"altitude":8,"angle":329,"satellites":45,"speed":56,"hex_longitude":"2d60e0c0","hex_latitude":"062b26d8","is_valid_coordinates":true} 
[2026-09-05 23: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-09-05 23:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889993984001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400144781365215232,"note":"Value kept but may cause issues"} 
[2026-09-05 23:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6986842267147657216,"note":"Value kept but may cause issues"} 
[2026-09-05 23:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788632796000,"timestamp_ms":1788632796000,"timestamp_seconds":1788632796,"priority":1,"record_length":96,"hex_timestamp":"000001a072d28b60"} 
[2026-09-05 23:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:57: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-09-05 23:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-05 23:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23: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-09-05 23:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:57: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-09-05 23:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889993984001,"66":27245,"98":206,"79":20992,"24":56,"16":400144781365215232,"45":6986842267147657216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,79,24,16,45]} 
[2026-09-05 23:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889993984001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:57:32] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-05 23:57:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400144781365215232,"km_value":400144781365215.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6986842267147657216,"description":"Unknown IO ID 45"} 
[2026-09-05 23:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889993984001,"power":27245,"unknown_98":206,"unknown_79":20992,"ignition":56,"odometer":null,"unknown_45":6986842267147657216}} 
[2026-09-05 23:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":172045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:57:32] local.INFO: GPS data processed {"connection_id":172045,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:57:32] local.INFO: Acknowledgment sent {"connection_id":172045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:57:44] local.INFO: TCP Data received {"connection_id":172046,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:57:44] local.INFO: Processing buffer {"connection_id":172046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:57:44] local.INFO: IMEI packet received {"connection_id":172046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":172046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:57:49] local.INFO: TCP Data received {"connection_id":172046,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:57:49] local.INFO: Processing buffer {"connection_id":172046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:57:49] local.INFO: IMEI packet received {"connection_id":172046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":172046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:57:49] local.INFO: TCP Data received {"connection_id":172046,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a072d14b10012d196500071ff128004401452a..."} 
[2026-09-05 23:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d14b10012d196500071ff128004401452a..."} 
[2026-09-05 23:57:49] local.INFO: Processing buffer {"connection_id":172046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d14b10012d196500071ff128004401452a..."} 
[2026-09-05 23:57:49] local.INFO: Packet analysis {"connection_id":172046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d1"} 
[2026-09-05 23:57:49] local.INFO: Extracted packet for processing {"connection_id":172046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d1"} 
[2026-09-05 23:57:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889897984001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788632714000,"timestamp_ms":1788632714000,"timestamp_seconds":1788632714,"priority":1,"record_length":96,"hex_timestamp":"000001a072d14b10"} 
[2026-09-05 23:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889897984001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889897984001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:57:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:57:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889897984001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":172046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:57:49] local.INFO: GPS data processed {"connection_id":172046,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:57:49] local.INFO: Acknowledgment sent {"connection_id":172046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:57:50] local.INFO: TCP Data received {"connection_id":173405,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:57:50] local.INFO: Processing buffer {"connection_id":173405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:57:50] local.INFO: IMEI packet received {"connection_id":173405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":173405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:57:50] local.INFO: TCP Data received {"connection_id":173405,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:57:50] local.INFO: Processing buffer {"connection_id":173405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:57:50] local.INFO: IMEI packet received {"connection_id":173405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":173405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:57:54] local.INFO: TCP Data received {"connection_id":173405,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:57:54] local.INFO: Processing buffer {"connection_id":173405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:57:54] local.INFO: IMEI packet received {"connection_id":173405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":173405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:57:55] local.INFO: TCP Data received {"connection_id":173405,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072d2a6b8012d60d000062b4990000a01522e..."} 
[2026-09-05 23:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d2a6b8012d60d000062b4990000a01522e..."} 
[2026-09-05 23:57:55] local.INFO: Processing buffer {"connection_id":173405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d2a6b8012d60d000062b4990000a01522e..."} 
[2026-09-05 23:57:55] local.INFO: Packet analysis {"connection_id":173405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d2"} 
[2026-09-05 23:57:55] local.INFO: Extracted packet for processing {"connection_id":173405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d2"} 
[2026-09-05 23:57:55] local.INFO: GPS Element Parsed {"raw_longitude":761319424,"raw_latitude":103500176,"longitude_deg":76.1319424,"latitude_deg":10.3500176,"altitude":10,"angle":338,"satellites":46,"speed":56,"hex_longitude":"2d60d000","hex_latitude":"062b4990","is_valid_coordinates":true} 
[2026-09-05 23:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889995776001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400145258106585088,"note":"Value kept but may cause issues"} 
[2026-09-05 23:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6980790555150571520,"note":"Value kept but may cause issues"} 
[2026-09-05 23:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788632803000,"timestamp_ms":1788632803000,"timestamp_seconds":1788632803,"priority":1,"record_length":96,"hex_timestamp":"000001a072d2a6b8"} 
[2026-09-05 23:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-05 23:57:55] 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-09-05 23:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889995776001,"66":27267,"98":206,"79":20992,"24":56,"16":400145258106585088,"45":6980790555150571520},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,79,24,16,45]} 
[2026-09-05 23:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889995776001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:57:55] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-05 23:57:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400145258106585088,"km_value":400145258106585.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6980790555150571520,"description":"Unknown IO ID 45"} 
[2026-09-05 23:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889995776001,"power":27267,"unknown_98":206,"unknown_79":20992,"ignition":56,"odometer":null,"unknown_45":6980790555150571520}} 
[2026-09-05 23:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":173405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:57:55] local.INFO: GPS data processed {"connection_id":173405,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:57:55] local.INFO: Acknowledgment sent {"connection_id":173405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:57:55] local.INFO: TCP Data received {"connection_id":173405,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072d2c210012d60c4c0062b6e10000c015c2c..."} 
[2026-09-05 23:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d2c210012d60c4c0062b6e10000c015c2c..."} 
[2026-09-05 23:57:55] local.INFO: Processing buffer {"connection_id":173405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d2c210012d60c4c0062b6e10000c015c2c..."} 
[2026-09-05 23:57:55] local.INFO: Packet analysis {"connection_id":173405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d2"} 
[2026-09-05 23:57:55] local.INFO: Extracted packet for processing {"connection_id":173405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d2"} 
[2026-09-05 23:57:55] local.INFO: GPS Element Parsed {"raw_longitude":761316544,"raw_latitude":103509520,"longitude_deg":76.1316544,"latitude_deg":10.350952,"altitude":12,"angle":348,"satellites":44,"speed":56,"hex_longitude":"2d60c4c0","hex_latitude":"062b6e10","is_valid_coordinates":true} 
[2026-09-05 23:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889997568001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400145730552987648,"note":"Value kept but may cause issues"} 
[2026-09-05 23:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6976075849292943360,"note":"Value kept but may cause issues"} 
[2026-09-05 23:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788632810000,"timestamp_ms":1788632810000,"timestamp_seconds":1788632810,"priority":1,"record_length":96,"hex_timestamp":"000001a072d2c210"} 
[2026-09-05 23:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-05 23:57:55] 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-09-05 23:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889997568001,"66":27245,"98":206,"79":20992,"24":56,"16":400145730552987648,"45":6976075849292943360},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,79,24,16,45]} 
[2026-09-05 23:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889997568001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:57:55] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-05 23:57:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400145730552987648,"km_value":400145730552987.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6976075849292943360,"description":"Unknown IO ID 45"} 
[2026-09-05 23:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889997568001,"power":27245,"unknown_98":206,"unknown_79":20992,"ignition":56,"odometer":null,"unknown_45":6976075849292943360}} 
[2026-09-05 23:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":173405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:57:56] local.INFO: GPS data processed {"connection_id":173405,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:57:56] local.INFO: Acknowledgment sent {"connection_id":173405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:58:20] local.INFO: TCP Data received {"connection_id":172046,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a072d14b10012d196500071ff128004401452a..."} 
[2026-09-05 23:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d14b10012d196500071ff128004401452a..."} 
[2026-09-05 23:58:20] local.INFO: Processing buffer {"connection_id":172046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d14b10012d196500071ff128004401452a..."} 
[2026-09-05 23:58:20] local.INFO: Packet analysis {"connection_id":172046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d1"} 
[2026-09-05 23:58:20] local.INFO: Extracted packet for processing {"connection_id":172046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d1"} 
[2026-09-05 23:58:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889897984001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788632714000,"timestamp_ms":1788632714000,"timestamp_seconds":1788632714,"priority":1,"record_length":96,"hex_timestamp":"000001a072d14b10"} 
[2026-09-05 23:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:58:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889897984001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889897984001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:58:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:58:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889897984001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":172046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:58:20] local.INFO: GPS data processed {"connection_id":172046,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:58:20] local.INFO: Acknowledgment sent {"connection_id":172046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:58:28] local.INFO: TCP Data received {"connection_id":173405,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072d2dd68012d60bd00062b9428000c015c2d..."} 
[2026-09-05 23:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d2dd68012d60bd00062b9428000c015c2d..."} 
[2026-09-05 23:58:28] local.INFO: Processing buffer {"connection_id":173405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d2dd68012d60bd00062b9428000c015c2d..."} 
[2026-09-05 23:58:28] local.INFO: Packet analysis {"connection_id":173405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d2"} 
[2026-09-05 23:58:28] local.INFO: Extracted packet for processing {"connection_id":173405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d2"} 
[2026-09-05 23:58:28] local.INFO: GPS Element Parsed {"raw_longitude":761314560,"raw_latitude":103519272,"longitude_deg":76.131456,"latitude_deg":10.3519272,"altitude":12,"angle":348,"satellites":45,"speed":56,"hex_longitude":"2d60bd00","hex_latitude":"062b9428","is_valid_coordinates":true} 
[2026-09-05 23:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889999360001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400146215884292096,"note":"Value kept but may cause issues"} 
[2026-09-05 23:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6972909255807340544,"note":"Value kept but may cause issues"} 
[2026-09-05 23:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788632817000,"timestamp_ms":1788632817000,"timestamp_seconds":1788632817,"priority":1,"record_length":96,"hex_timestamp":"000001a072d2dd68"} 
[2026-09-05 23:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-05 23:58:28] 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-09-05 23:58:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889999360001,"66":27223,"97":206,"79":20992,"24":56,"16":400146215884292096,"45":6972909255807340544},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,79,24,16,45]} 
[2026-09-05 23:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889999360001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:58:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-05 23:58:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400146215884292096,"km_value":400146215884292.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6972909255807340544,"description":"Unknown IO ID 45"} 
[2026-09-05 23:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889999360001,"power":27223,"unknown_97":206,"unknown_79":20992,"ignition":56,"odometer":null,"unknown_45":6972909255807340544}} 
[2026-09-05 23:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":173405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:58:28] local.INFO: GPS data processed {"connection_id":173405,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:58:28] local.INFO: Acknowledgment sent {"connection_id":173405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:58:44] local.INFO: TCP Data received {"connection_id":172047,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:58:44] local.INFO: Processing buffer {"connection_id":172047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:58:44] local.INFO: IMEI packet received {"connection_id":172047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":172047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:58:49] local.INFO: TCP Data received {"connection_id":172047,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:58:49] local.INFO: Processing buffer {"connection_id":172047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:58:49] local.INFO: IMEI packet received {"connection_id":172047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":172047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:58:49] local.INFO: TCP Data received {"connection_id":172047,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a072d14b10012d196500071ff128004401452a..."} 
[2026-09-05 23:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d14b10012d196500071ff128004401452a..."} 
[2026-09-05 23:58:49] local.INFO: Processing buffer {"connection_id":172047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d14b10012d196500071ff128004401452a..."} 
[2026-09-05 23:58:49] local.INFO: Packet analysis {"connection_id":172047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d1"} 
[2026-09-05 23:58:49] local.INFO: Extracted packet for processing {"connection_id":172047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d1"} 
[2026-09-05 23:58:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889897984001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788632714000,"timestamp_ms":1788632714000,"timestamp_seconds":1788632714,"priority":1,"record_length":96,"hex_timestamp":"000001a072d14b10"} 
[2026-09-05 23:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889897984001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889897984001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:58:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:58:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889897984001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":172047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:58:49] local.INFO: GPS data processed {"connection_id":172047,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:58:49] local.INFO: Acknowledgment sent {"connection_id":172047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:58:49] local.INFO: TCP Data received {"connection_id":172048,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:58:49] local.INFO: Processing buffer {"connection_id":172048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:58:49] local.INFO: IMEI packet received {"connection_id":172048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":172048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:58:51] local.INFO: TCP Data received {"connection_id":172048,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:58:51] local.INFO: Processing buffer {"connection_id":172048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:58:51] local.INFO: IMEI packet received {"connection_id":172048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":172048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:58:54] local.INFO: TCP Data received {"connection_id":172048,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:58:54] local.INFO: Processing buffer {"connection_id":172048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:58:54] local.INFO: IMEI packet received {"connection_id":172048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":172048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:58:55] local.INFO: TCP Data received {"connection_id":172048,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072d2f8c0012d60b540062bb968000c015a2b..."} 
[2026-09-05 23:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d2f8c0012d60b540062bb968000c015a2b..."} 
[2026-09-05 23:58:55] local.INFO: Processing buffer {"connection_id":172048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d2f8c0012d60b540062bb968000c015a2b..."} 
[2026-09-05 23:58:55] local.INFO: Packet analysis {"connection_id":172048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d2"} 
[2026-09-05 23:58:55] local.INFO: Extracted packet for processing {"connection_id":172048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d2"} 
[2026-09-05 23:58:55] local.INFO: GPS Element Parsed {"raw_longitude":761312576,"raw_latitude":103528808,"longitude_deg":76.1312576,"latitude_deg":10.3528808,"altitude":12,"angle":346,"satellites":43,"speed":55,"hex_longitude":"2d60b540","hex_latitude":"062bb968","is_valid_coordinates":true} 
[2026-09-05 23:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890001152001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400146688330694656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6970727824740329472,"note":"Value kept but may cause issues"} 
[2026-09-05 23:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788632824000,"timestamp_ms":1788632824000,"timestamp_seconds":1788632824,"priority":1,"record_length":96,"hex_timestamp":"000001a072d2f8c0"} 
[2026-09-05 23:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-09-05 23:58:55] 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-09-05 23:58:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890001152001,"66":27245,"211":206,"79":20992,"24":55,"16":400146688330694656,"45":6970727824740329472},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,79,24,16,45]} 
[2026-09-05 23:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890001152001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:58:55] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-05 23:58:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400146688330694656,"km_value":400146688330694.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6970727824740329472,"description":"Unknown IO ID 45"} 
[2026-09-05 23:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890001152001,"power":27245,"unknown_211":206,"unknown_79":20992,"ignition":55,"odometer":null,"unknown_45":6970727824740329472}} 
[2026-09-05 23:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":172048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:58:55] local.INFO: GPS data processed {"connection_id":172048,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:58:55] local.INFO: Acknowledgment sent {"connection_id":172048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:58:59] local.INFO: TCP Data received {"connection_id":172048,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072d31418012d60acc0062bdfd8000a015c2d..."} 
[2026-09-05 23:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d31418012d60acc0062bdfd8000a015c2d..."} 
[2026-09-05 23:58:59] local.INFO: Processing buffer {"connection_id":172048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d31418012d60acc0062bdfd8000a015c2d..."} 
[2026-09-05 23:58:59] local.INFO: Packet analysis {"connection_id":172048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d3"} 
[2026-09-05 23:58:59] local.INFO: Extracted packet for processing {"connection_id":172048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d3"} 
[2026-09-05 23:58:59] local.INFO: GPS Element Parsed {"raw_longitude":761310400,"raw_latitude":103538648,"longitude_deg":76.13104,"latitude_deg":10.3538648,"altitude":10,"angle":348,"satellites":45,"speed":58,"hex_longitude":"2d60acc0","hex_latitude":"062bdfd8","is_valid_coordinates":true} 
[2026-09-05 23:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890002944001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400147173661999104,"note":"Value kept but may cause issues"} 
[2026-09-05 23:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6968546393673263104,"note":"Value kept but may cause issues"} 
[2026-09-05 23:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788632831000,"timestamp_ms":1788632831000,"timestamp_seconds":1788632831,"priority":1,"record_length":96,"hex_timestamp":"000001a072d31418"} 
[2026-09-05 23:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-05 23:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890002944001,"66":27245,"211":206,"79":20992,"24":58,"16":400147173661999104,"45":6968546393673263104},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,79,24,16,45]} 
[2026-09-05 23:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890002944001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:58:59] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-05 23:58:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400147173661999104,"km_value":400147173661999.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6968546393673263104,"description":"Unknown IO ID 45"} 
[2026-09-05 23:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890002944001,"power":27245,"unknown_211":206,"unknown_79":20992,"ignition":58,"odometer":null,"unknown_45":6968546393673263104}} 
[2026-09-05 23:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":172048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:58:59] local.INFO: GPS data processed {"connection_id":172048,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:58:59] local.INFO: Acknowledgment sent {"connection_id":172048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:59:20] local.INFO: TCP Data received {"connection_id":172047,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a072d14b10012d196500071ff128004401452a..."} 
[2026-09-05 23:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d14b10012d196500071ff128004401452a..."} 
[2026-09-05 23:59:20] local.INFO: Processing buffer {"connection_id":172047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d14b10012d196500071ff128004401452a..."} 
[2026-09-05 23:59:20] local.INFO: Packet analysis {"connection_id":172047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d1"} 
[2026-09-05 23:59:20] local.INFO: Extracted packet for processing {"connection_id":172047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d1"} 
[2026-09-05 23:59:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889897984001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788632714000,"timestamp_ms":1788632714000,"timestamp_seconds":1788632714,"priority":1,"record_length":96,"hex_timestamp":"000001a072d14b10"} 
[2026-09-05 23:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889897984001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889897984001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:59:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:59:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889897984001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":172047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:59:21] local.INFO: GPS data processed {"connection_id":172047,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:59:21] local.INFO: Acknowledgment sent {"connection_id":172047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:59:30] local.INFO: TCP Data received {"connection_id":172048,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072d45468012d5ffec0062d7a90000401512c..."} 
[2026-09-05 23:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d45468012d5ffec0062d7a90000401512c..."} 
[2026-09-05 23:59:30] local.INFO: Processing buffer {"connection_id":172048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d45468012d5ffec0062d7a90000401512c..."} 
[2026-09-05 23:59:30] local.INFO: Packet analysis {"connection_id":172048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d4"} 
[2026-09-05 23:59:30] local.INFO: Extracted packet for processing {"connection_id":172048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d4"} 
[2026-09-05 23:59:30] local.INFO: GPS Element Parsed {"raw_longitude":761265856,"raw_latitude":103643792,"longitude_deg":76.1265856,"latitude_deg":10.3643792,"altitude":4,"angle":337,"satellites":44,"speed":59,"hex_longitude":"2d5ffec0","hex_latitude":"062d7a90","is_valid_coordinates":true} 
[2026-09-05 23:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890024192001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400152705579876352,"note":"Value kept but may cause issues"} 
[2026-09-05 23:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6921117860124819456,"note":"Value kept but may cause issues"} 
[2026-09-05 23:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788632913000,"timestamp_ms":1788632913000,"timestamp_seconds":1788632913,"priority":1,"record_length":96,"hex_timestamp":"000001a072d45468"} 
[2026-09-05 23:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-05 23:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890024192001,"66":27332,"211":206,"79":20992,"24":59,"16":400152705579876352,"45":6921117860124819456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,79,24,16,45]} 
[2026-09-05 23:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890024192001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:59:30] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-05 23:59:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400152705579876352,"km_value":400152705579876.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6921117860124819456,"description":"Unknown IO ID 45"} 
[2026-09-05 23:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890024192001,"power":27332,"unknown_211":206,"unknown_79":20992,"ignition":59,"odometer":null,"unknown_45":6921117860124819456}} 
[2026-09-05 23:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":172048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:59:30] local.INFO: GPS data processed {"connection_id":172048,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:59:30] local.INFO: Acknowledgment sent {"connection_id":172048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:59:44] local.INFO: TCP Data received {"connection_id":173406,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:59:44] local.INFO: Processing buffer {"connection_id":173406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:59:44] local.INFO: IMEI packet received {"connection_id":173406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-05 23:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":173406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:59:49] local.INFO: TCP Data received {"connection_id":173406,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:59:49] local.INFO: Processing buffer {"connection_id":173406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-05 23:59:49] local.INFO: IMEI packet received {"connection_id":173406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-05 23:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":173406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:59:49] local.INFO: TCP Data received {"connection_id":172049,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:59:49] local.INFO: Processing buffer {"connection_id":172049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:59:49] local.INFO: IMEI packet received {"connection_id":172049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-05 23:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":172049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-05 23:59:49] local.INFO: TCP Data received {"connection_id":173406,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072d14b10012d196500071ff128004401452a..."} 
[2026-09-05 23:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d14b10012d196500071ff128004401452a..."} 
[2026-09-05 23:59:49] local.INFO: Processing buffer {"connection_id":173406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d14b10012d196500071ff128004401452a..."} 
[2026-09-05 23:59:49] local.INFO: Packet analysis {"connection_id":173406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d1"} 
[2026-09-05 23:59:49] local.INFO: Extracted packet for processing {"connection_id":173406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d1"} 
[2026-09-05 23:59:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-05 23:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889897984001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-05 23:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-05 23:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788632714000,"timestamp_ms":1788632714000,"timestamp_seconds":1788632714,"priority":1,"record_length":96,"hex_timestamp":"000001a072d14b10"} 
[2026-09-05 23:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-05 23:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-05 23:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-05 23:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-05 23:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-05 23:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-05 23:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889897984001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-05 23:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-05 23:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-05 23:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889897984001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:59:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-05 23:59:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-05 23:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-05 23:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889897984001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-05 23:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":173406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:59:49] local.INFO: GPS data processed {"connection_id":173406,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:59:49] local.INFO: Acknowledgment sent {"connection_id":173406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-05 23:59:53] local.INFO: TCP Data received {"connection_id":172049,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:59:53] local.INFO: Processing buffer {"connection_id":172049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-05 23:59:53] local.INFO: IMEI packet received {"connection_id":172049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-05 23:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":172049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-05 23:59:54] local.INFO: TCP Data received {"connection_id":172049,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072d46fc0012d5feec0062d9ee80006014f2c..."} 
[2026-09-05 23:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d46fc0012d5feec0062d9ee80006014f2c..."} 
[2026-09-05 23:59:54] local.INFO: Processing buffer {"connection_id":172049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d46fc0012d5feec0062d9ee80006014f2c..."} 
[2026-09-05 23:59:54] local.INFO: Packet analysis {"connection_id":172049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d4"} 
[2026-09-05 23:59:54] local.INFO: Extracted packet for processing {"connection_id":172049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d4"} 
[2026-09-05 23:59:54] local.INFO: GPS Element Parsed {"raw_longitude":761261760,"raw_latitude":103653096,"longitude_deg":76.126176,"latitude_deg":10.3653096,"altitude":6,"angle":335,"satellites":44,"speed":55,"hex_longitude":"2d5feec0","hex_latitude":"062d9ee8","is_valid_coordinates":true} 
[2026-09-05 23:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-05 23:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890025728001,"note":"Value kept but may cause issues"} 
[2026-09-05 23:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400153195206148096,"note":"Value kept but may cause issues"} 
[2026-09-05 23:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6917177210453004288,"note":"Value kept but may cause issues"} 
[2026-09-05 23:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-05 23:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788632920000,"timestamp_ms":1788632920000,"timestamp_seconds":1788632920,"priority":1,"record_length":96,"hex_timestamp":"000001a072d46fc0"} 
[2026-09-05 23:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-05 23:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-05 23:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-05 23:59:54] 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-09-05 23:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-05 23:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-05 23:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-05 23:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-05 23:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-05 23:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-05 23:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-05 23:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-05 23:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890025728001,"66":27343,"211":206,"79":20992,"24":55,"16":400153195206148096,"45":6917177210453004288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,79,24,16,45]} 
[2026-09-05 23:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-05 23:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-05 23:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890025728001,"description":"Unknown IO ID 0"} 
[2026-09-05 23:59:54] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-05 23:59:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-05 23:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400153195206148096,"km_value":400153195206148.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-05 23:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6917177210453004288,"description":"Unknown IO ID 45"} 
[2026-09-05 23:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890025728001,"power":27343,"unknown_211":206,"unknown_79":20992,"ignition":55,"odometer":null,"unknown_45":6917177210453004288}} 
[2026-09-05 23:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":172049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-05 23:59:54] local.INFO: GPS data processed {"connection_id":172049,"processed":1,"errors":0,"total":1} 
[2026-09-05 23:59:54] local.INFO: Acknowledgment sent {"connection_id":172049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
